From 3dd0584ee70f75d010dd5263b9b696f7d129d51a Mon Sep 17 00:00:00 2001 From: Daniil Gentili Date: Fri, 27 Dec 2019 18:25:37 +0100 Subject: [PATCH] Rename --- .../constructors/account.authorizationForm.md | 42 ++ .../constructors/account.authorizations.md | 38 ++ .../account.autoDownloadSettings.md | 40 ++ .../API_docs/constructors/account.password.md | 48 ++ .../account.passwordInputSettings.md | 42 ++ .../constructors/account.passwordSettings.md | 39 ++ .../constructors/account.privacyRules.md | 40 ++ .../constructors/account.sentEmailCode.md | 39 ++ docs/API_docs/constructors/account.takeout.md | 38 ++ docs/API_docs/constructors/account.themes.md | 39 ++ .../constructors/account.themesNotModified.md | 33 ++ .../constructors/account.tmpPassword.md | 39 ++ .../constructors/account.wallPapers.md | 39 ++ .../account.wallPapersNotModified.md | 33 ++ .../constructors/account.webAuthorizations.md | 39 ++ .../constructors/account_authorizationForm.md | 42 -- .../constructors/account_authorizations.md | 38 -- .../account_autoDownloadSettings.md | 40 -- .../API_docs/constructors/account_password.md | 48 -- .../account_passwordInputSettings.md | 42 -- .../constructors/account_passwordSettings.md | 39 -- .../constructors/account_privacyRules.md | 40 -- .../constructors/account_sentEmailCode.md | 39 -- docs/API_docs/constructors/account_takeout.md | 38 -- docs/API_docs/constructors/account_themes.md | 39 -- .../constructors/account_themesNotModified.md | 33 -- .../constructors/account_tmpPassword.md | 39 -- .../constructors/account_wallPapers.md | 39 -- .../account_wallPapersNotModified.md | 33 -- .../constructors/account_webAuthorizations.md | 39 -- .../constructors/auth.authorization.md | 39 ++ .../auth.authorizationSignUpRequired.md | 38 ++ .../constructors/auth.codeTypeCall.md | 33 ++ .../constructors/auth.codeTypeFlashCall.md | 33 ++ .../API_docs/constructors/auth.codeTypeSms.md | 33 ++ .../auth.exportedAuthorization.md | 39 ++ .../constructors/auth.passwordRecovery.md | 38 ++ docs/API_docs/constructors/auth.sentCode.md | 41 ++ .../constructors/auth.sentCodeTypeApp.md | 38 ++ .../constructors/auth.sentCodeTypeCall.md | 38 ++ .../auth.sentCodeTypeFlashCall.md | 38 ++ .../constructors/auth.sentCodeTypeSms.md | 38 ++ .../constructors/auth_authorization.md | 39 -- .../auth_authorizationSignUpRequired.md | 38 -- .../constructors/auth_codeTypeCall.md | 33 -- .../constructors/auth_codeTypeFlashCall.md | 33 -- .../API_docs/constructors/auth_codeTypeSms.md | 33 -- .../auth_exportedAuthorization.md | 39 -- .../constructors/auth_passwordRecovery.md | 38 -- docs/API_docs/constructors/auth_sentCode.md | 41 -- .../constructors/auth_sentCodeTypeApp.md | 38 -- .../constructors/auth_sentCodeTypeCall.md | 38 -- .../auth_sentCodeTypeFlashCall.md | 38 -- .../constructors/auth_sentCodeTypeSms.md | 38 -- .../constructors/channels.adminLogResults.md | 40 ++ .../channels.channelParticipant.md | 39 ++ .../channels.channelParticipants.md | 40 ++ ...channels.channelParticipantsNotModified.md | 33 ++ .../constructors/channels_adminLogResults.md | 40 -- .../channels_channelParticipant.md | 39 -- .../channels_channelParticipants.md | 40 -- ...channels_channelParticipantsNotModified.md | 33 -- .../API_docs/constructors/contacts.blocked.md | 39 ++ .../constructors/contacts.blockedSlice.md | 40 ++ .../constructors/contacts.contacts.md | 40 ++ .../contacts.contactsNotModified.md | 33 ++ docs/API_docs/constructors/contacts.found.md | 41 ++ .../constructors/contacts.importedContacts.md | 41 ++ .../constructors/contacts.resolvedPeer.md | 40 ++ .../constructors/contacts.topPeers.md | 40 ++ .../constructors/contacts.topPeersDisabled.md | 33 ++ .../contacts.topPeersNotModified.md | 33 ++ .../API_docs/constructors/contacts_blocked.md | 39 -- .../constructors/contacts_blockedSlice.md | 40 -- .../constructors/contacts_contacts.md | 40 -- .../contacts_contactsNotModified.md | 33 -- docs/API_docs/constructors/contacts_found.md | 41 -- .../constructors/contacts_importedContacts.md | 41 -- .../constructors/contacts_resolvedPeer.md | 40 -- .../constructors/contacts_topPeers.md | 40 -- .../constructors/contacts_topPeersDisabled.md | 33 -- .../contacts_topPeersNotModified.md | 33 -- docs/API_docs/constructors/help.appUpdate.md | 44 ++ .../constructors/help.configSimple.md | 40 ++ .../constructors/help.deepLinkInfo.md | 40 ++ .../constructors/help.deepLinkInfoEmpty.md | 33 ++ docs/API_docs/constructors/help.inviteText.md | 38 ++ .../API_docs/constructors/help.noAppUpdate.md | 33 ++ .../constructors/help.passportConfig.md | 39 ++ .../help.passportConfigNotModified.md | 33 ++ .../constructors/help.proxyDataEmpty.md | 38 ++ .../constructors/help.proxyDataPromo.md | 41 ++ .../constructors/help.recentMeUrls.md | 40 ++ docs/API_docs/constructors/help.support.md | 39 ++ .../API_docs/constructors/help.supportName.md | 38 ++ .../constructors/help.termsOfService.md | 42 ++ .../constructors/help.termsOfServiceUpdate.md | 39 ++ .../help.termsOfServiceUpdateEmpty.md | 38 ++ docs/API_docs/constructors/help.userInfo.md | 41 ++ .../constructors/help.userInfoEmpty.md | 33 ++ docs/API_docs/constructors/help_appUpdate.md | 44 -- .../constructors/help_configSimple.md | 40 -- .../constructors/help_deepLinkInfo.md | 40 -- .../constructors/help_deepLinkInfoEmpty.md | 33 -- docs/API_docs/constructors/help_inviteText.md | 38 -- .../API_docs/constructors/help_noAppUpdate.md | 33 -- .../constructors/help_passportConfig.md | 39 -- .../help_passportConfigNotModified.md | 33 -- .../constructors/help_proxyDataEmpty.md | 38 -- .../constructors/help_proxyDataPromo.md | 41 -- .../constructors/help_recentMeUrls.md | 40 -- docs/API_docs/constructors/help_support.md | 39 -- .../API_docs/constructors/help_supportName.md | 38 -- .../constructors/help_termsOfService.md | 42 -- .../constructors/help_termsOfServiceUpdate.md | 39 -- .../help_termsOfServiceUpdateEmpty.md | 38 -- docs/API_docs/constructors/help_userInfo.md | 41 -- .../constructors/help_userInfoEmpty.md | 33 -- docs/API_docs/constructors/index.md | 437 +++++++++++------- .../constructors/messages.affectedHistory.md | 40 ++ .../constructors/messages.affectedMessages.md | 39 ++ .../constructors/messages.allStickers.md | 39 ++ .../messages.allStickersNotModified.md | 33 ++ .../constructors/messages.archivedStickers.md | 39 ++ .../messages.botCallbackAnswer.md | 43 ++ .../constructors/messages.botResults.md | 44 ++ .../constructors/messages.channelMessages.md | 43 ++ .../constructors/messages.chatFull.md | 40 ++ docs/API_docs/constructors/messages.chats.md | 38 ++ .../constructors/messages.chatsSlice.md | 39 ++ .../constructors/messages.dhConfig.md | 41 ++ .../messages.dhConfigNotModified.md | 38 ++ .../API_docs/constructors/messages.dialogs.md | 41 ++ .../messages.dialogsNotModified.md | 38 ++ .../constructors/messages.dialogsSlice.md | 42 ++ .../constructors/messages.favedStickers.md | 40 ++ .../messages.favedStickersNotModified.md | 33 ++ .../constructors/messages.featuredStickers.md | 40 ++ .../messages.featuredStickersNotModified.md | 33 ++ .../constructors/messages.foundGifs.md | 39 ++ .../constructors/messages.foundStickerSets.md | 39 ++ .../messages.foundStickerSetsNotModified.md | 33 ++ .../constructors/messages.highScores.md | 39 ++ .../constructors/messages.messageEditData.md | 38 ++ .../constructors/messages.messages.md | 40 ++ .../messages.messagesNotModified.md | 38 ++ .../constructors/messages.messagesSlice.md | 43 ++ .../constructors/messages.peerDialogs.md | 42 ++ .../constructors/messages.recentStickers.md | 41 ++ .../messages.recentStickersNotModified.md | 33 ++ .../constructors/messages.savedGifs.md | 39 ++ .../messages.savedGifsNotModified.md | 33 ++ .../constructors/messages.searchCounter.md | 40 ++ .../messages.sentEncryptedFile.md | 39 ++ .../messages.sentEncryptedMessage.md | 38 ++ .../constructors/messages.stickerSet.md | 40 ++ ...messages.stickerSetInstallResultArchive.md | 38 ++ ...messages.stickerSetInstallResultSuccess.md | 33 ++ .../constructors/messages.stickers.md | 39 ++ .../messages.stickersNotModified.md | 33 ++ .../constructors/messages_affectedHistory.md | 40 -- .../constructors/messages_affectedMessages.md | 39 -- .../constructors/messages_allStickers.md | 39 -- .../messages_allStickersNotModified.md | 33 -- .../constructors/messages_archivedStickers.md | 39 -- .../messages_botCallbackAnswer.md | 43 -- .../constructors/messages_botResults.md | 44 -- .../constructors/messages_channelMessages.md | 43 -- .../constructors/messages_chatFull.md | 40 -- docs/API_docs/constructors/messages_chats.md | 38 -- .../constructors/messages_chatsSlice.md | 39 -- .../constructors/messages_dhConfig.md | 41 -- .../messages_dhConfigNotModified.md | 38 -- .../API_docs/constructors/messages_dialogs.md | 41 -- .../messages_dialogsNotModified.md | 38 -- .../constructors/messages_dialogsSlice.md | 42 -- .../constructors/messages_favedStickers.md | 40 -- .../messages_favedStickersNotModified.md | 33 -- .../constructors/messages_featuredStickers.md | 40 -- .../messages_featuredStickersNotModified.md | 33 -- .../constructors/messages_foundGifs.md | 39 -- .../constructors/messages_foundStickerSets.md | 39 -- .../messages_foundStickerSetsNotModified.md | 33 -- .../constructors/messages_highScores.md | 39 -- .../constructors/messages_messageEditData.md | 38 -- .../constructors/messages_messages.md | 40 -- .../messages_messagesNotModified.md | 38 -- .../constructors/messages_messagesSlice.md | 43 -- .../constructors/messages_peerDialogs.md | 42 -- .../constructors/messages_recentStickers.md | 41 -- .../messages_recentStickersNotModified.md | 33 -- .../constructors/messages_savedGifs.md | 39 -- .../messages_savedGifsNotModified.md | 33 -- .../constructors/messages_searchCounter.md | 40 -- .../messages_sentEncryptedFile.md | 39 -- .../messages_sentEncryptedMessage.md | 38 -- .../constructors/messages_stickerSet.md | 40 -- ...messages_stickerSetInstallResultArchive.md | 38 -- ...messages_stickerSetInstallResultSuccess.md | 33 -- .../constructors/messages_stickers.md | 39 -- .../messages_stickersNotModified.md | 33 -- .../constructors/payments.paymentForm.md | 48 ++ .../constructors/payments.paymentReceipt.md | 47 ++ .../constructors/payments.paymentResult.md | 38 ++ .../payments.paymentVerificationNeeded.md | 38 ++ .../constructors/payments.savedInfo.md | 39 ++ .../payments.validatedRequestedInfo.md | 39 ++ .../constructors/payments_paymentForm.md | 48 -- .../constructors/payments_paymentReceipt.md | 47 -- .../constructors/payments_paymentResult.md | 38 -- .../payments_paymentVerificationNeeded.md | 38 -- .../constructors/payments_savedInfo.md | 39 -- .../payments_validatedRequestedInfo.md | 39 -- docs/API_docs/constructors/phone.phoneCall.md | 39 ++ docs/API_docs/constructors/phone_phoneCall.md | 39 -- docs/API_docs/constructors/photos.photo.md | 39 ++ docs/API_docs/constructors/photos.photos.md | 39 ++ .../constructors/photos.photosSlice.md | 40 ++ docs/API_docs/constructors/photos_photo.md | 39 -- docs/API_docs/constructors/photos_photos.md | 39 -- .../constructors/photos_photosSlice.md | 40 -- docs/API_docs/constructors/storage.fileGif.md | 33 ++ .../API_docs/constructors/storage.fileJpeg.md | 33 ++ docs/API_docs/constructors/storage.fileMov.md | 33 ++ docs/API_docs/constructors/storage.fileMp3.md | 33 ++ docs/API_docs/constructors/storage.fileMp4.md | 33 ++ .../constructors/storage.filePartial.md | 33 ++ docs/API_docs/constructors/storage.filePdf.md | 33 ++ docs/API_docs/constructors/storage.filePng.md | 33 ++ .../constructors/storage.fileUnknown.md | 33 ++ .../API_docs/constructors/storage.fileWebp.md | 33 ++ docs/API_docs/constructors/storage_fileGif.md | 33 -- .../API_docs/constructors/storage_fileJpeg.md | 33 -- docs/API_docs/constructors/storage_fileMov.md | 33 -- docs/API_docs/constructors/storage_fileMp3.md | 33 -- docs/API_docs/constructors/storage_fileMp4.md | 33 -- .../constructors/storage_filePartial.md | 33 -- docs/API_docs/constructors/storage_filePdf.md | 33 -- docs/API_docs/constructors/storage_filePng.md | 33 -- .../constructors/storage_fileUnknown.md | 33 -- .../API_docs/constructors/storage_fileWebp.md | 33 -- .../constructors/updateNewStickerSet.md | 6 +- .../constructors/updates.channelDifference.md | 44 ++ .../updates.channelDifferenceEmpty.md | 40 ++ .../updates.channelDifferenceTooLong.md | 53 +++ .../constructors/updates.difference.md | 43 ++ .../constructors/updates.differenceEmpty.md | 39 ++ .../constructors/updates.differenceSlice.md | 43 ++ .../constructors/updates.differenceTooLong.md | 38 ++ docs/API_docs/constructors/updates.state.md | 42 ++ .../constructors/updates_channelDifference.md | 44 -- .../updates_channelDifferenceEmpty.md | 40 -- .../updates_channelDifferenceTooLong.md | 53 --- .../constructors/updates_difference.md | 43 -- .../constructors/updates_differenceEmpty.md | 39 -- .../constructors/updates_differenceSlice.md | 43 -- .../constructors/updates_differenceTooLong.md | 38 -- docs/API_docs/constructors/updates_state.md | 42 -- docs/API_docs/constructors/upload.cdnFile.md | 38 ++ .../upload.cdnFileReuploadNeeded.md | 38 ++ docs/API_docs/constructors/upload.file.md | 40 ++ .../constructors/upload.fileCdnRedirect.md | 42 ++ docs/API_docs/constructors/upload.webFile.md | 42 ++ docs/API_docs/constructors/upload_cdnFile.md | 38 -- .../upload_cdnFileReuploadNeeded.md | 38 -- docs/API_docs/constructors/upload_file.md | 40 -- .../constructors/upload_fileCdnRedirect.md | 42 -- docs/API_docs/constructors/upload_webFile.md | 42 -- .../methods/account.getAuthorizationForm.md | 6 +- .../methods/account.getAuthorizations.md | 6 +- .../account.getAutoDownloadSettings.md | 6 +- docs/API_docs/methods/account.getPassword.md | 6 +- .../methods/account.getPasswordSettings.md | 6 +- docs/API_docs/methods/account.getPrivacy.md | 6 +- docs/API_docs/methods/account.getThemes.md | 6 +- .../methods/account.getTmpPassword.md | 6 +- .../API_docs/methods/account.getWallPapers.md | 6 +- .../methods/account.getWebAuthorizations.md | 6 +- .../methods/account.initTakeoutSession.md | 6 +- .../methods/account.sendChangePhoneCode.md | 6 +- .../methods/account.sendConfirmPhoneCode.md | 6 +- .../methods/account.sendVerifyEmailCode.md | 6 +- .../methods/account.sendVerifyPhoneCode.md | 6 +- docs/API_docs/methods/account.setPrivacy.md | 6 +- docs/API_docs/methods/api_index.md | 232 +++++----- docs/API_docs/methods/auth.checkPassword.md | 6 +- .../methods/auth.exportAuthorization.md | 6 +- .../methods/auth.importAuthorization.md | 6 +- .../methods/auth.importBotAuthorization.md | 6 +- docs/API_docs/methods/auth.recoverPassword.md | 6 +- .../methods/auth.requestPasswordRecovery.md | 6 +- docs/API_docs/methods/auth.resendCode.md | 6 +- docs/API_docs/methods/auth.sendCode.md | 6 +- docs/API_docs/methods/auth.signIn.md | 6 +- docs/API_docs/methods/auth.signUp.md | 6 +- .../methods/channels.deleteMessages.md | 6 +- .../methods/channels.deleteUserHistory.md | 6 +- docs/API_docs/methods/channels.getAdminLog.md | 6 +- .../channels.getAdminedPublicChannels.md | 6 +- docs/API_docs/methods/channels.getChannels.md | 6 +- .../methods/channels.getFullChannel.md | 6 +- .../channels.getGroupsForDiscussion.md | 6 +- .../methods/channels.getLeftChannels.md | 6 +- docs/API_docs/methods/channels.getMessages.md | 6 +- .../methods/channels.getParticipant.md | 6 +- .../methods/channels.getParticipants.md | 6 +- docs/API_docs/methods/contacts.getBlocked.md | 6 +- docs/API_docs/methods/contacts.getContacts.md | 6 +- docs/API_docs/methods/contacts.getTopPeers.md | 6 +- .../methods/contacts.importContacts.md | 6 +- .../methods/contacts.resolveUsername.md | 6 +- docs/API_docs/methods/contacts.search.md | 6 +- docs/API_docs/methods/help.editUserInfo.md | 8 +- docs/API_docs/methods/help.getAppUpdate.md | 6 +- docs/API_docs/methods/help.getDeepLinkInfo.md | 6 +- docs/API_docs/methods/help.getInviteText.md | 6 +- .../methods/help.getPassportConfig.md | 6 +- docs/API_docs/methods/help.getProxyData.md | 6 +- docs/API_docs/methods/help.getRecentMeUrls.md | 6 +- docs/API_docs/methods/help.getSupport.md | 6 +- docs/API_docs/methods/help.getSupportName.md | 6 +- .../methods/help.getTermsOfServiceUpdate.md | 6 +- docs/API_docs/methods/help.getUserInfo.md | 6 +- .../methods/messages.deleteHistory.md | 6 +- .../methods/messages.deleteMessages.md | 6 +- docs/API_docs/methods/messages.getAllChats.md | 6 +- .../methods/messages.getAllStickers.md | 6 +- .../methods/messages.getArchivedStickers.md | 6 +- .../methods/messages.getBotCallbackAnswer.md | 6 +- docs/API_docs/methods/messages.getChats.md | 6 +- .../methods/messages.getCommonChats.md | 6 +- docs/API_docs/methods/messages.getDhConfig.md | 6 +- docs/API_docs/methods/messages.getDialogs.md | 6 +- .../methods/messages.getFavedStickers.md | 6 +- .../methods/messages.getFeaturedStickers.md | 6 +- docs/API_docs/methods/messages.getFullChat.md | 6 +- .../methods/messages.getGameHighScores.md | 6 +- docs/API_docs/methods/messages.getHistory.md | 6 +- .../methods/messages.getInlineBotResults.md | 6 +- .../messages.getInlineGameHighScores.md | 6 +- .../methods/messages.getMaskStickers.md | 6 +- .../methods/messages.getMessageEditData.md | 6 +- docs/API_docs/methods/messages.getMessages.md | 6 +- .../methods/messages.getPeerDialogs.md | 6 +- .../methods/messages.getPinnedDialogs.md | 6 +- .../methods/messages.getRecentLocations.md | 6 +- .../methods/messages.getRecentStickers.md | 6 +- .../API_docs/methods/messages.getSavedGifs.md | 6 +- .../methods/messages.getScheduledHistory.md | 6 +- .../methods/messages.getScheduledMessages.md | 6 +- .../methods/messages.getSearchCounters.md | 6 +- .../methods/messages.getStickerSet.md | 6 +- docs/API_docs/methods/messages.getStickers.md | 6 +- .../methods/messages.getUnreadMentions.md | 6 +- .../methods/messages.installStickerSet.md | 6 +- docs/API_docs/methods/messages.readHistory.md | 6 +- .../API_docs/methods/messages.readMentions.md | 6 +- .../methods/messages.readMessageContents.md | 6 +- docs/API_docs/methods/messages.search.md | 6 +- docs/API_docs/methods/messages.searchGifs.md | 6 +- .../API_docs/methods/messages.searchGlobal.md | 6 +- .../methods/messages.searchStickerSets.md | 6 +- .../methods/messages.sendEncrypted.md | 14 +- .../methods/messages.sendEncryptedFile.md | 14 +- .../methods/messages.sendEncryptedService.md | 14 +- .../methods/payments.getPaymentForm.md | 6 +- .../methods/payments.getPaymentReceipt.md | 6 +- .../API_docs/methods/payments.getSavedInfo.md | 6 +- .../methods/payments.sendPaymentForm.md | 6 +- .../methods/payments.validateRequestedInfo.md | 6 +- docs/API_docs/methods/phone.acceptCall.md | 6 +- docs/API_docs/methods/phone.confirmCall.md | 6 +- docs/API_docs/methods/phone.requestCall.md | 6 +- docs/API_docs/methods/photos.getUserPhotos.md | 6 +- .../methods/photos.uploadProfilePhoto.md | 6 +- .../methods/stickers.addStickerToSet.md | 6 +- .../methods/stickers.changeStickerPosition.md | 6 +- .../methods/stickers.createStickerSet.md | 6 +- .../methods/stickers.removeStickerFromSet.md | 6 +- .../methods/updates.getChannelDifference.md | 6 +- .../API_docs/methods/updates.getDifference.md | 6 +- docs/API_docs/methods/updates.getState.md | 6 +- docs/API_docs/methods/upload.getCdnFile.md | 6 +- docs/API_docs/methods/upload.getFile.md | 6 +- docs/API_docs/methods/upload.getWebFile.md | 6 +- docs/API_docs/types/AccountDaysTTL.md | 2 +- docs/API_docs/types/CdnConfig.md | 2 +- docs/API_docs/types/ChatInvite.md | 2 +- docs/API_docs/types/ChatOnlines.md | 2 +- docs/API_docs/types/Config.md | 2 +- docs/API_docs/types/ContactStatus.md | 2 +- docs/API_docs/types/DialogPeer.md | 2 +- docs/API_docs/types/Document.md | 4 +- .../API_docs/types/EmojiKeywordsDifference.md | 4 +- docs/API_docs/types/EmojiLanguage.md | 2 +- docs/API_docs/types/EmojiURL.md | 2 +- docs/API_docs/types/EncryptedChat.md | 4 +- docs/API_docs/types/EncryptedFile.md | 2 +- docs/API_docs/types/ExportedChatInvite.md | 2 +- docs/API_docs/types/ExportedMessageLink.md | 2 +- docs/API_docs/types/FileHash.md | 6 +- docs/API_docs/types/JSONValue.md | 2 +- docs/API_docs/types/LangPackDifference.md | 4 +- docs/API_docs/types/LangPackLanguage.md | 4 +- docs/API_docs/types/LangPackString.md | 2 +- docs/API_docs/types/MessageMedia.md | 4 +- docs/API_docs/types/MessageRange.md | 2 +- docs/API_docs/types/NearestDc.md | 2 +- docs/API_docs/types/PeerNotifySettings.md | 2 +- docs/API_docs/types/PeerSettings.md | 2 +- docs/API_docs/types/ReceivedNotifyMessage.md | 2 +- docs/API_docs/types/SavedContact.md | 2 +- docs/API_docs/types/SecureValue.md | 6 +- docs/API_docs/types/StatsURL.md | 2 +- docs/API_docs/types/StickerSetCovered.md | 2 +- docs/API_docs/types/Theme.md | 6 +- docs/API_docs/types/Updates.md | 92 ++-- docs/API_docs/types/UrlAuthResult.md | 4 +- docs/API_docs/types/User.md | 8 +- docs/API_docs/types/UserFull.md | 2 +- docs/API_docs/types/UserProfilePhoto.md | 2 +- docs/API_docs/types/WallPaper.md | 4 +- docs/API_docs/types/WebPage.md | 2 +- .../types/account.AuthorizationForm.md | 22 + docs/API_docs/types/account.Authorizations.md | 22 + .../types/account.AutoDownloadSettings.md | 22 + docs/API_docs/types/account.Password.md | 22 + .../types/account.PasswordInputSettings.md | 20 + .../types/account.PasswordSettings.md | 22 + docs/API_docs/types/account.PrivacyRules.md | 24 + docs/API_docs/types/account.SentEmailCode.md | 22 + docs/API_docs/types/account.Takeout.md | 22 + docs/API_docs/types/account.Themes.md | 24 + docs/API_docs/types/account.TmpPassword.md | 22 + docs/API_docs/types/account.WallPapers.md | 24 + .../types/account.WebAuthorizations.md | 22 + .../types/account_AuthorizationForm.md | 22 - docs/API_docs/types/account_Authorizations.md | 22 - .../types/account_AutoDownloadSettings.md | 22 - docs/API_docs/types/account_Password.md | 22 - .../types/account_PasswordInputSettings.md | 20 - .../types/account_PasswordSettings.md | 22 - docs/API_docs/types/account_PrivacyRules.md | 24 - docs/API_docs/types/account_SentEmailCode.md | 22 - docs/API_docs/types/account_Takeout.md | 22 - docs/API_docs/types/account_Themes.md | 24 - docs/API_docs/types/account_TmpPassword.md | 22 - docs/API_docs/types/account_WallPapers.md | 24 - .../types/account_WebAuthorizations.md | 22 - docs/API_docs/types/auth.Authorization.md | 34 ++ docs/API_docs/types/auth.CodeType.md | 24 + .../types/auth.ExportedAuthorization.md | 22 + docs/API_docs/types/auth.PasswordRecovery.md | 22 + docs/API_docs/types/auth.SentCode.md | 30 ++ docs/API_docs/types/auth.SentCodeType.md | 26 ++ docs/API_docs/types/auth_Authorization.md | 34 -- docs/API_docs/types/auth_CodeType.md | 24 - .../types/auth_ExportedAuthorization.md | 22 - docs/API_docs/types/auth_PasswordRecovery.md | 22 - docs/API_docs/types/auth_SentCode.md | 30 -- docs/API_docs/types/auth_SentCodeType.md | 26 -- .../types/channels.AdminLogResults.md | 22 + .../types/channels.ChannelParticipant.md | 22 + .../types/channels.ChannelParticipants.md | 24 + .../types/channels_AdminLogResults.md | 22 - .../types/channels_ChannelParticipant.md | 22 - .../types/channels_ChannelParticipants.md | 24 - docs/API_docs/types/contacts.Blocked.md | 24 + docs/API_docs/types/contacts.Contacts.md | 24 + docs/API_docs/types/contacts.Found.md | 22 + .../types/contacts.ImportedContacts.md | 22 + docs/API_docs/types/contacts.ResolvedPeer.md | 22 + docs/API_docs/types/contacts.TopPeers.md | 26 ++ docs/API_docs/types/contacts_Blocked.md | 24 - docs/API_docs/types/contacts_Contacts.md | 24 - docs/API_docs/types/contacts_Found.md | 22 - .../types/contacts_ImportedContacts.md | 22 - docs/API_docs/types/contacts_ResolvedPeer.md | 22 - docs/API_docs/types/contacts_TopPeers.md | 26 -- docs/API_docs/types/help.AppUpdate.md | 24 + docs/API_docs/types/help.ConfigSimple.md | 20 + docs/API_docs/types/help.DeepLinkInfo.md | 24 + docs/API_docs/types/help.InviteText.md | 22 + docs/API_docs/types/help.PassportConfig.md | 24 + docs/API_docs/types/help.ProxyData.md | 24 + docs/API_docs/types/help.RecentMeUrls.md | 22 + docs/API_docs/types/help.Support.md | 22 + docs/API_docs/types/help.SupportName.md | 22 + docs/API_docs/types/help.TermsOfService.md | 20 + .../types/help.TermsOfServiceUpdate.md | 24 + docs/API_docs/types/help.UserInfo.md | 26 ++ docs/API_docs/types/help_AppUpdate.md | 24 - docs/API_docs/types/help_ConfigSimple.md | 20 - docs/API_docs/types/help_DeepLinkInfo.md | 24 - docs/API_docs/types/help_InviteText.md | 22 - docs/API_docs/types/help_PassportConfig.md | 24 - docs/API_docs/types/help_ProxyData.md | 24 - docs/API_docs/types/help_RecentMeUrls.md | 22 - docs/API_docs/types/help_Support.md | 22 - docs/API_docs/types/help_SupportName.md | 22 - docs/API_docs/types/help_TermsOfService.md | 20 - .../types/help_TermsOfServiceUpdate.md | 24 - docs/API_docs/types/help_UserInfo.md | 26 -- docs/API_docs/types/index.md | 160 +++---- .../types/messages.AffectedHistory.md | 26 ++ .../types/messages.AffectedMessages.md | 28 ++ docs/API_docs/types/messages.AllStickers.md | 26 ++ .../types/messages.ArchivedStickers.md | 22 + .../types/messages.BotCallbackAnswer.md | 22 + docs/API_docs/types/messages.BotResults.md | 22 + docs/API_docs/types/messages.ChatFull.md | 24 + docs/API_docs/types/messages.Chats.md | 36 ++ docs/API_docs/types/messages.DhConfig.md | 24 + docs/API_docs/types/messages.Dialogs.md | 26 ++ docs/API_docs/types/messages.FavedStickers.md | 24 + .../types/messages.FeaturedStickers.md | 24 + docs/API_docs/types/messages.FoundGifs.md | 22 + .../types/messages.FoundStickerSets.md | 24 + docs/API_docs/types/messages.HighScores.md | 24 + .../types/messages.MessageEditData.md | 22 + docs/API_docs/types/messages.Messages.md | 44 ++ docs/API_docs/types/messages.PeerDialogs.md | 24 + .../API_docs/types/messages.RecentStickers.md | 24 + docs/API_docs/types/messages.SavedGifs.md | 24 + docs/API_docs/types/messages.SearchCounter.md | 22 + .../types/messages.SentEncryptedMessage.md | 28 ++ docs/API_docs/types/messages.StickerSet.md | 30 ++ .../types/messages.StickerSetInstallResult.md | 24 + docs/API_docs/types/messages.Stickers.md | 24 + .../types/messages_AffectedHistory.md | 26 -- .../types/messages_AffectedMessages.md | 28 -- docs/API_docs/types/messages_AllStickers.md | 26 -- .../types/messages_ArchivedStickers.md | 22 - .../types/messages_BotCallbackAnswer.md | 22 - docs/API_docs/types/messages_BotResults.md | 22 - docs/API_docs/types/messages_ChatFull.md | 24 - docs/API_docs/types/messages_Chats.md | 36 -- docs/API_docs/types/messages_DhConfig.md | 24 - docs/API_docs/types/messages_Dialogs.md | 26 -- docs/API_docs/types/messages_FavedStickers.md | 24 - .../types/messages_FeaturedStickers.md | 24 - docs/API_docs/types/messages_FoundGifs.md | 22 - .../types/messages_FoundStickerSets.md | 24 - docs/API_docs/types/messages_HighScores.md | 24 - .../types/messages_MessageEditData.md | 22 - docs/API_docs/types/messages_Messages.md | 44 -- docs/API_docs/types/messages_PeerDialogs.md | 24 - .../API_docs/types/messages_RecentStickers.md | 24 - docs/API_docs/types/messages_SavedGifs.md | 24 - docs/API_docs/types/messages_SearchCounter.md | 22 - .../types/messages_SentEncryptedMessage.md | 28 -- docs/API_docs/types/messages_StickerSet.md | 30 -- .../types/messages_StickerSetInstallResult.md | 24 - docs/API_docs/types/messages_Stickers.md | 24 - docs/API_docs/types/payments.PaymentForm.md | 22 + .../API_docs/types/payments.PaymentReceipt.md | 22 + docs/API_docs/types/payments.PaymentResult.md | 24 + docs/API_docs/types/payments.SavedInfo.md | 22 + .../types/payments.ValidatedRequestedInfo.md | 22 + docs/API_docs/types/payments_PaymentForm.md | 22 - .../API_docs/types/payments_PaymentReceipt.md | 22 - docs/API_docs/types/payments_PaymentResult.md | 24 - docs/API_docs/types/payments_SavedInfo.md | 22 - .../types/payments_ValidatedRequestedInfo.md | 22 - docs/API_docs/types/phone.PhoneCall.md | 26 ++ docs/API_docs/types/phone_PhoneCall.md | 26 -- docs/API_docs/types/photos.Photo.md | 22 + docs/API_docs/types/photos.Photos.md | 24 + docs/API_docs/types/photos_Photo.md | 22 - docs/API_docs/types/photos_Photos.md | 24 - docs/API_docs/types/storage.FileType.md | 38 ++ docs/API_docs/types/storage_FileType.md | 38 -- .../types/updates.ChannelDifference.md | 26 ++ docs/API_docs/types/updates.Difference.md | 28 ++ docs/API_docs/types/updates.State.md | 22 + .../types/updates_ChannelDifference.md | 26 -- docs/API_docs/types/updates_Difference.md | 28 -- docs/API_docs/types/updates_State.md | 22 - docs/API_docs/types/upload.CdnFile.md | 24 + docs/API_docs/types/upload.File.md | 24 + docs/API_docs/types/upload.WebFile.md | 22 + docs/API_docs/types/upload_CdnFile.md | 24 - docs/API_docs/types/upload_File.md | 24 - docs/API_docs/types/upload_WebFile.md | 22 - docs/MTProto_docs/types/DestroySessionRes.md | 2 +- docs/MTProto_docs/types/FutureSalts.md | 2 +- docs/MTProto_docs/types/HttpWait.md | 2 +- docs/MTProto_docs/types/Pong.md | 2 +- docs/MTProto_docs/types/ResPQ.md | 4 +- docs/MTProto_docs/types/RpcDropAnswer.md | 2 +- docs/MTProto_docs/types/Server_DH_Params.md | 2 +- .../types/Set_client_DH_params_answer.md | 2 +- old_docs/API_docs_v100/constructors/README.md | 430 ++++++++++------- .../constructors/account.authorizationForm.md | 42 ++ .../constructors/account.authorizations.md | 38 ++ .../account.autoDownloadSettings.md | 40 ++ .../constructors/account.password.md | 48 ++ .../account.passwordInputSettings.md | 42 ++ .../constructors/account.passwordSettings.md | 39 ++ .../constructors/account.privacyRules.md | 40 ++ .../constructors/account.sentEmailCode.md | 39 ++ .../constructors/account.takeout.md | 38 ++ .../constructors/account.tmpPassword.md | 39 ++ .../constructors/account.wallPapers.md | 39 ++ .../account.wallPapersNotModified.md | 33 ++ .../constructors/account.webAuthorizations.md | 39 ++ .../constructors/account_authorizationForm.md | 42 -- .../constructors/account_authorizations.md | 38 -- .../account_autoDownloadSettings.md | 40 -- .../constructors/account_password.md | 48 -- .../account_passwordInputSettings.md | 42 -- .../constructors/account_passwordSettings.md | 39 -- .../constructors/account_privacyRules.md | 40 -- .../constructors/account_sentEmailCode.md | 39 -- .../constructors/account_takeout.md | 38 -- .../constructors/account_tmpPassword.md | 39 -- .../constructors/account_wallPapers.md | 39 -- .../account_wallPapersNotModified.md | 33 -- .../constructors/account_webAuthorizations.md | 39 -- .../constructors/auth.authorization.md | 39 ++ .../constructors/auth.checkedPhone.md | 38 ++ .../constructors/auth.codeTypeCall.md | 33 ++ .../constructors/auth.codeTypeFlashCall.md | 33 ++ .../constructors/auth.codeTypeSms.md | 33 ++ .../auth.exportedAuthorization.md | 39 ++ .../constructors/auth.passwordRecovery.md | 38 ++ .../constructors/auth.sentCode.md | 43 ++ .../constructors/auth.sentCodeTypeApp.md | 38 ++ .../constructors/auth.sentCodeTypeCall.md | 38 ++ .../auth.sentCodeTypeFlashCall.md | 38 ++ .../constructors/auth.sentCodeTypeSms.md | 38 ++ .../constructors/auth_authorization.md | 39 -- .../constructors/auth_checkedPhone.md | 38 -- .../constructors/auth_codeTypeCall.md | 33 -- .../constructors/auth_codeTypeFlashCall.md | 33 -- .../constructors/auth_codeTypeSms.md | 33 -- .../auth_exportedAuthorization.md | 39 -- .../constructors/auth_passwordRecovery.md | 38 -- .../constructors/auth_sentCode.md | 43 -- .../constructors/auth_sentCodeTypeApp.md | 38 -- .../constructors/auth_sentCodeTypeCall.md | 38 -- .../auth_sentCodeTypeFlashCall.md | 38 -- .../constructors/auth_sentCodeTypeSms.md | 38 -- .../constructors/channels.adminLogResults.md | 40 ++ .../channels.channelParticipant.md | 39 ++ .../channels.channelParticipants.md | 40 ++ ...channels.channelParticipantsNotModified.md | 33 ++ .../constructors/channels_adminLogResults.md | 40 -- .../channels_channelParticipant.md | 39 -- .../channels_channelParticipants.md | 40 -- ...channels_channelParticipantsNotModified.md | 33 -- .../constructors/contacts.blocked.md | 39 ++ .../constructors/contacts.blockedSlice.md | 40 ++ .../constructors/contacts.contacts.md | 40 ++ .../contacts.contactsNotModified.md | 33 ++ .../constructors/contacts.found.md | 41 ++ .../constructors/contacts.importedContacts.md | 41 ++ .../constructors/contacts.link.md | 40 ++ .../constructors/contacts.resolvedPeer.md | 40 ++ .../constructors/contacts.topPeers.md | 40 ++ .../constructors/contacts.topPeersDisabled.md | 33 ++ .../contacts.topPeersNotModified.md | 33 ++ .../constructors/contacts_blocked.md | 39 -- .../constructors/contacts_blockedSlice.md | 40 -- .../constructors/contacts_contacts.md | 40 -- .../contacts_contactsNotModified.md | 33 -- .../constructors/contacts_found.md | 41 -- .../constructors/contacts_importedContacts.md | 41 -- .../constructors/contacts_link.md | 40 -- .../constructors/contacts_resolvedPeer.md | 40 -- .../constructors/contacts_topPeers.md | 40 -- .../constructors/contacts_topPeersDisabled.md | 33 -- .../contacts_topPeersNotModified.md | 33 -- .../constructors/help.appUpdate.md | 44 ++ .../constructors/help.configSimple.md | 40 ++ .../constructors/help.deepLinkInfo.md | 40 ++ .../constructors/help.deepLinkInfoEmpty.md | 33 ++ .../constructors/help.inviteText.md | 38 ++ .../constructors/help.noAppUpdate.md | 33 ++ .../constructors/help.passportConfig.md | 39 ++ .../help.passportConfigNotModified.md | 33 ++ .../constructors/help.proxyDataEmpty.md | 38 ++ .../constructors/help.proxyDataPromo.md | 41 ++ .../constructors/help.recentMeUrls.md | 40 ++ .../constructors/help.support.md | 39 ++ .../constructors/help.supportName.md | 38 ++ .../constructors/help.termsOfService.md | 42 ++ .../constructors/help.termsOfServiceUpdate.md | 39 ++ .../help.termsOfServiceUpdateEmpty.md | 38 ++ .../constructors/help.userInfo.md | 41 ++ .../constructors/help.userInfoEmpty.md | 33 ++ .../constructors/help_appUpdate.md | 44 -- .../constructors/help_configSimple.md | 40 -- .../constructors/help_deepLinkInfo.md | 40 -- .../constructors/help_deepLinkInfoEmpty.md | 33 -- .../constructors/help_inviteText.md | 38 -- .../constructors/help_noAppUpdate.md | 33 -- .../constructors/help_passportConfig.md | 39 -- .../help_passportConfigNotModified.md | 33 -- .../constructors/help_proxyDataEmpty.md | 38 -- .../constructors/help_proxyDataPromo.md | 41 -- .../constructors/help_recentMeUrls.md | 40 -- .../constructors/help_support.md | 39 -- .../constructors/help_supportName.md | 38 -- .../constructors/help_termsOfService.md | 42 -- .../constructors/help_termsOfServiceUpdate.md | 39 -- .../help_termsOfServiceUpdateEmpty.md | 38 -- .../constructors/help_userInfo.md | 41 -- .../constructors/help_userInfoEmpty.md | 33 -- .../constructors/messages.affectedHistory.md | 40 ++ .../constructors/messages.affectedMessages.md | 39 ++ .../constructors/messages.allStickers.md | 39 ++ .../messages.allStickersNotModified.md | 33 ++ .../constructors/messages.archivedStickers.md | 39 ++ .../messages.botCallbackAnswer.md | 43 ++ .../constructors/messages.botResults.md | 44 ++ .../constructors/messages.channelMessages.md | 43 ++ .../constructors/messages.chatFull.md | 40 ++ .../constructors/messages.chats.md | 38 ++ .../constructors/messages.chatsSlice.md | 39 ++ .../constructors/messages.dhConfig.md | 41 ++ .../messages.dhConfigNotModified.md | 38 ++ .../constructors/messages.dialogs.md | 41 ++ .../messages.dialogsNotModified.md | 38 ++ .../constructors/messages.dialogsSlice.md | 42 ++ .../constructors/messages.favedStickers.md | 40 ++ .../messages.favedStickersNotModified.md | 33 ++ .../constructors/messages.featuredStickers.md | 40 ++ .../messages.featuredStickersNotModified.md | 33 ++ .../constructors/messages.foundGifs.md | 39 ++ .../constructors/messages.foundStickerSets.md | 39 ++ .../messages.foundStickerSetsNotModified.md | 33 ++ .../constructors/messages.highScores.md | 39 ++ .../constructors/messages.messageEditData.md | 38 ++ .../constructors/messages.messages.md | 40 ++ .../messages.messagesNotModified.md | 38 ++ .../constructors/messages.messagesSlice.md | 43 ++ .../constructors/messages.peerDialogs.md | 42 ++ .../constructors/messages.recentStickers.md | 41 ++ .../messages.recentStickersNotModified.md | 33 ++ .../constructors/messages.savedGifs.md | 39 ++ .../messages.savedGifsNotModified.md | 33 ++ .../constructors/messages.searchCounter.md | 40 ++ .../messages.sentEncryptedFile.md | 39 ++ .../messages.sentEncryptedMessage.md | 38 ++ .../constructors/messages.stickerSet.md | 40 ++ ...messages.stickerSetInstallResultArchive.md | 38 ++ ...messages.stickerSetInstallResultSuccess.md | 33 ++ .../constructors/messages.stickers.md | 39 ++ .../messages.stickersNotModified.md | 33 ++ .../constructors/messages_affectedHistory.md | 40 -- .../constructors/messages_affectedMessages.md | 39 -- .../constructors/messages_allStickers.md | 39 -- .../messages_allStickersNotModified.md | 33 -- .../constructors/messages_archivedStickers.md | 39 -- .../messages_botCallbackAnswer.md | 43 -- .../constructors/messages_botResults.md | 44 -- .../constructors/messages_channelMessages.md | 43 -- .../constructors/messages_chatFull.md | 40 -- .../constructors/messages_chats.md | 38 -- .../constructors/messages_chatsSlice.md | 39 -- .../constructors/messages_dhConfig.md | 41 -- .../messages_dhConfigNotModified.md | 38 -- .../constructors/messages_dialogs.md | 41 -- .../messages_dialogsNotModified.md | 38 -- .../constructors/messages_dialogsSlice.md | 42 -- .../constructors/messages_favedStickers.md | 40 -- .../messages_favedStickersNotModified.md | 33 -- .../constructors/messages_featuredStickers.md | 40 -- .../messages_featuredStickersNotModified.md | 33 -- .../constructors/messages_foundGifs.md | 39 -- .../constructors/messages_foundStickerSets.md | 39 -- .../messages_foundStickerSetsNotModified.md | 33 -- .../constructors/messages_highScores.md | 39 -- .../constructors/messages_messageEditData.md | 38 -- .../constructors/messages_messages.md | 40 -- .../messages_messagesNotModified.md | 38 -- .../constructors/messages_messagesSlice.md | 43 -- .../constructors/messages_peerDialogs.md | 42 -- .../constructors/messages_recentStickers.md | 41 -- .../messages_recentStickersNotModified.md | 33 -- .../constructors/messages_savedGifs.md | 39 -- .../messages_savedGifsNotModified.md | 33 -- .../constructors/messages_searchCounter.md | 40 -- .../messages_sentEncryptedFile.md | 39 -- .../messages_sentEncryptedMessage.md | 38 -- .../constructors/messages_stickerSet.md | 40 -- ...messages_stickerSetInstallResultArchive.md | 38 -- ...messages_stickerSetInstallResultSuccess.md | 33 -- .../constructors/messages_stickers.md | 39 -- .../messages_stickersNotModified.md | 33 -- .../constructors/payments.paymentForm.md | 48 ++ .../constructors/payments.paymentReceipt.md | 47 ++ .../constructors/payments.paymentResult.md | 38 ++ .../payments.paymentVerficationNeeded.md | 38 ++ .../constructors/payments.savedInfo.md | 39 ++ .../payments.validatedRequestedInfo.md | 39 ++ .../constructors/payments_paymentForm.md | 48 -- .../constructors/payments_paymentReceipt.md | 47 -- .../constructors/payments_paymentResult.md | 38 -- .../payments_paymentVerficationNeeded.md | 38 -- .../constructors/payments_savedInfo.md | 39 -- .../payments_validatedRequestedInfo.md | 39 -- .../constructors/phone.phoneCall.md | 39 ++ .../constructors/phone_phoneCall.md | 39 -- .../constructors/photos.photo.md | 39 ++ .../constructors/photos.photos.md | 39 ++ .../constructors/photos.photosSlice.md | 40 ++ .../constructors/photos_photo.md | 39 -- .../constructors/photos_photos.md | 39 -- .../constructors/photos_photosSlice.md | 40 -- .../constructors/storage.fileGif.md | 33 ++ .../constructors/storage.fileJpeg.md | 33 ++ .../constructors/storage.fileMov.md | 33 ++ .../constructors/storage.fileMp3.md | 33 ++ .../constructors/storage.fileMp4.md | 33 ++ .../constructors/storage.filePartial.md | 33 ++ .../constructors/storage.filePdf.md | 33 ++ .../constructors/storage.filePng.md | 33 ++ .../constructors/storage.fileUnknown.md | 33 ++ .../constructors/storage.fileWebp.md | 33 ++ .../constructors/storage_fileGif.md | 33 -- .../constructors/storage_fileJpeg.md | 33 -- .../constructors/storage_fileMov.md | 33 -- .../constructors/storage_fileMp3.md | 33 -- .../constructors/storage_fileMp4.md | 33 -- .../constructors/storage_filePartial.md | 33 -- .../constructors/storage_filePdf.md | 33 -- .../constructors/storage_filePng.md | 33 -- .../constructors/storage_fileUnknown.md | 33 -- .../constructors/storage_fileWebp.md | 33 -- .../constructors/updateNewStickerSet.md | 6 +- .../constructors/updates.channelDifference.md | 44 ++ .../updates.channelDifferenceEmpty.md | 40 ++ .../updates.channelDifferenceTooLong.md | 53 +++ .../constructors/updates.difference.md | 43 ++ .../constructors/updates.differenceEmpty.md | 39 ++ .../constructors/updates.differenceSlice.md | 43 ++ .../constructors/updates.differenceTooLong.md | 38 ++ .../constructors/updates.state.md | 42 ++ .../constructors/updates_channelDifference.md | 44 -- .../updates_channelDifferenceEmpty.md | 40 -- .../updates_channelDifferenceTooLong.md | 53 --- .../constructors/updates_difference.md | 43 -- .../constructors/updates_differenceEmpty.md | 39 -- .../constructors/updates_differenceSlice.md | 43 -- .../constructors/updates_differenceTooLong.md | 38 -- .../constructors/updates_state.md | 42 -- .../constructors/upload.cdnFile.md | 38 ++ .../upload.cdnFileReuploadNeeded.md | 38 ++ .../API_docs_v100/constructors/upload.file.md | 40 ++ .../constructors/upload.fileCdnRedirect.md | 42 ++ .../constructors/upload.webFile.md | 42 ++ .../constructors/upload_cdnFile.md | 38 -- .../upload_cdnFileReuploadNeeded.md | 38 -- .../API_docs_v100/constructors/upload_file.md | 40 -- .../constructors/upload_fileCdnRedirect.md | 42 -- .../constructors/upload_webFile.md | 42 -- .../API_docs_v100/constructors/userFull.md | 6 +- .../methods/account.getAuthorizationForm.md | 6 +- .../methods/account.getAuthorizations.md | 6 +- .../account.getAutoDownloadSettings.md | 6 +- .../methods/account.getPassword.md | 6 +- .../methods/account.getPasswordSettings.md | 6 +- .../methods/account.getPrivacy.md | 6 +- .../methods/account.getTmpPassword.md | 6 +- .../methods/account.getWallPapers.md | 6 +- .../methods/account.getWebAuthorizations.md | 6 +- .../methods/account.initTakeoutSession.md | 6 +- .../methods/account.sendChangePhoneCode.md | 6 +- .../methods/account.sendConfirmPhoneCode.md | 6 +- .../methods/account.sendVerifyEmailCode.md | 6 +- .../methods/account.sendVerifyPhoneCode.md | 6 +- .../methods/account.setPrivacy.md | 6 +- old_docs/API_docs_v100/methods/api_README.md | 230 ++++----- .../methods/auth.checkPassword.md | 6 +- .../methods/auth.exportAuthorization.md | 6 +- .../methods/auth.importAuthorization.md | 6 +- .../methods/auth.importBotAuthorization.md | 6 +- .../methods/auth.recoverPassword.md | 6 +- .../methods/auth.requestPasswordRecovery.md | 6 +- .../API_docs_v100/methods/auth.resendCode.md | 6 +- .../API_docs_v100/methods/auth.sendCode.md | 6 +- old_docs/API_docs_v100/methods/auth.signIn.md | 6 +- old_docs/API_docs_v100/methods/auth.signUp.md | 6 +- .../methods/channels.deleteMessages.md | 6 +- .../methods/channels.deleteUserHistory.md | 6 +- .../methods/channels.getAdminLog.md | 6 +- .../channels.getAdminedPublicChannels.md | 6 +- .../channels.getBroadcastsForDiscussion.md | 6 +- .../methods/channels.getChannels.md | 6 +- .../methods/channels.getFullChannel.md | 6 +- .../channels.getGroupsForDiscussion.md | 6 +- .../methods/channels.getLeftChannels.md | 6 +- .../methods/channels.getMessages.md | 6 +- .../methods/channels.getParticipant.md | 6 +- .../methods/channels.getParticipants.md | 6 +- .../methods/contacts.deleteContact.md | 6 +- .../methods/contacts.getBlocked.md | 6 +- .../methods/contacts.getContacts.md | 6 +- .../methods/contacts.getTopPeers.md | 6 +- .../methods/contacts.importContacts.md | 6 +- .../methods/contacts.resolveUsername.md | 6 +- .../API_docs_v100/methods/contacts.search.md | 6 +- .../methods/help.editUserInfo.md | 8 +- .../methods/help.getAppUpdate.md | 6 +- .../methods/help.getDeepLinkInfo.md | 6 +- .../methods/help.getInviteText.md | 6 +- .../methods/help.getPassportConfig.md | 6 +- .../methods/help.getProxyData.md | 6 +- .../methods/help.getRecentMeUrls.md | 6 +- .../API_docs_v100/methods/help.getSupport.md | 6 +- .../methods/help.getSupportName.md | 6 +- .../methods/help.getTermsOfServiceUpdate.md | 6 +- .../API_docs_v100/methods/help.getUserInfo.md | 6 +- .../methods/messages.deleteHistory.md | 6 +- .../methods/messages.deleteMessages.md | 6 +- .../methods/messages.getAllChats.md | 6 +- .../methods/messages.getAllStickers.md | 6 +- .../methods/messages.getArchivedStickers.md | 6 +- .../methods/messages.getBotCallbackAnswer.md | 6 +- .../methods/messages.getChats.md | 6 +- .../methods/messages.getCommonChats.md | 6 +- .../methods/messages.getDhConfig.md | 6 +- .../methods/messages.getDialogs.md | 6 +- .../methods/messages.getFavedStickers.md | 6 +- .../methods/messages.getFeaturedStickers.md | 6 +- .../methods/messages.getFullChat.md | 6 +- .../methods/messages.getGameHighScores.md | 6 +- .../methods/messages.getHistory.md | 6 +- .../methods/messages.getInlineBotResults.md | 6 +- .../messages.getInlineGameHighScores.md | 6 +- .../methods/messages.getMaskStickers.md | 6 +- .../methods/messages.getMessageEditData.md | 6 +- .../methods/messages.getMessages.md | 6 +- .../methods/messages.getPeerDialogs.md | 6 +- .../methods/messages.getPinnedDialogs.md | 6 +- .../methods/messages.getRecentLocations.md | 6 +- .../methods/messages.getRecentStickers.md | 6 +- .../methods/messages.getSavedGifs.md | 6 +- .../methods/messages.getSearchCounters.md | 6 +- .../methods/messages.getStickerSet.md | 6 +- .../methods/messages.getStickers.md | 6 +- .../methods/messages.getUnreadMentions.md | 6 +- .../methods/messages.installStickerSet.md | 6 +- .../methods/messages.readHistory.md | 6 +- .../methods/messages.readMentions.md | 6 +- .../methods/messages.readMessageContents.md | 6 +- .../API_docs_v100/methods/messages.search.md | 6 +- .../methods/messages.searchGifs.md | 6 +- .../methods/messages.searchGlobal.md | 6 +- .../methods/messages.searchStickerSets.md | 6 +- .../methods/messages.sendEncrypted.md | 14 +- .../methods/messages.sendEncryptedFile.md | 14 +- .../methods/messages.sendEncryptedService.md | 14 +- .../methods/payments.getPaymentForm.md | 6 +- .../methods/payments.getPaymentReceipt.md | 6 +- .../methods/payments.getSavedInfo.md | 6 +- .../methods/payments.sendPaymentForm.md | 6 +- .../methods/payments.validateRequestedInfo.md | 6 +- .../API_docs_v100/methods/phone.acceptCall.md | 6 +- .../methods/phone.confirmCall.md | 6 +- .../methods/phone.requestCall.md | 6 +- .../methods/photos.getUserPhotos.md | 6 +- .../methods/photos.uploadProfilePhoto.md | 6 +- .../methods/stickers.addStickerToSet.md | 6 +- .../methods/stickers.changeStickerPosition.md | 6 +- .../methods/stickers.createStickerSet.md | 6 +- .../methods/stickers.removeStickerFromSet.md | 6 +- .../methods/updates.getChannelDifference.md | 6 +- .../methods/updates.getDifference.md | 6 +- .../API_docs_v100/methods/updates.getState.md | 6 +- .../methods/upload.getCdnFile.md | 6 +- .../API_docs_v100/methods/upload.getFile.md | 6 +- .../methods/upload.getWebFile.md | 6 +- .../API_docs_v100/types/AccountDaysTTL.md | 2 +- old_docs/API_docs_v100/types/CdnConfig.md | 2 +- old_docs/API_docs_v100/types/ChatInvite.md | 2 +- old_docs/API_docs_v100/types/ChatOnlines.md | 2 +- old_docs/API_docs_v100/types/Config.md | 2 +- old_docs/API_docs_v100/types/ContactStatus.md | 2 +- old_docs/API_docs_v100/types/DialogPeer.md | 2 +- old_docs/API_docs_v100/types/Document.md | 2 +- .../types/EmojiKeywordsDifference.md | 4 +- old_docs/API_docs_v100/types/EmojiLanguage.md | 2 +- old_docs/API_docs_v100/types/EmojiURL.md | 2 +- old_docs/API_docs_v100/types/EncryptedChat.md | 4 +- old_docs/API_docs_v100/types/EncryptedFile.md | 2 +- .../API_docs_v100/types/ExportedChatInvite.md | 2 +- .../types/ExportedMessageLink.md | 2 +- old_docs/API_docs_v100/types/FileHash.md | 6 +- old_docs/API_docs_v100/types/JSONValue.md | 2 +- .../API_docs_v100/types/LangPackDifference.md | 4 +- .../API_docs_v100/types/LangPackLanguage.md | 4 +- .../API_docs_v100/types/LangPackString.md | 2 +- old_docs/API_docs_v100/types/MessageMedia.md | 4 +- old_docs/API_docs_v100/types/MessageRange.md | 2 +- old_docs/API_docs_v100/types/NearestDc.md | 2 +- .../API_docs_v100/types/PeerNotifySettings.md | 2 +- old_docs/API_docs_v100/types/PeerSettings.md | 2 +- old_docs/API_docs_v100/types/README.md | 162 +++---- .../types/ReceivedNotifyMessage.md | 2 +- old_docs/API_docs_v100/types/SavedContact.md | 2 +- old_docs/API_docs_v100/types/SecureValue.md | 6 +- old_docs/API_docs_v100/types/StatsURL.md | 2 +- .../API_docs_v100/types/StickerSetCovered.md | 2 +- old_docs/API_docs_v100/types/Updates.md | 76 +-- old_docs/API_docs_v100/types/UrlAuthResult.md | 4 +- old_docs/API_docs_v100/types/User.md | 8 +- old_docs/API_docs_v100/types/UserFull.md | 2 +- .../API_docs_v100/types/UserProfilePhoto.md | 2 +- old_docs/API_docs_v100/types/WallPaper.md | 4 +- old_docs/API_docs_v100/types/WebPage.md | 2 +- .../types/account.AuthorizationForm.md | 22 + .../types/account.Authorizations.md | 22 + .../types/account.AutoDownloadSettings.md | 22 + .../API_docs_v100/types/account.Password.md | 22 + .../types/account.PasswordInputSettings.md | 20 + .../types/account.PasswordSettings.md | 22 + .../types/account.PrivacyRules.md | 24 + .../types/account.SentEmailCode.md | 22 + .../API_docs_v100/types/account.Takeout.md | 22 + .../types/account.TmpPassword.md | 22 + .../API_docs_v100/types/account.WallPapers.md | 24 + .../types/account.WebAuthorizations.md | 22 + .../types/account_AuthorizationForm.md | 22 - .../types/account_Authorizations.md | 22 - .../types/account_AutoDownloadSettings.md | 22 - .../API_docs_v100/types/account_Password.md | 22 - .../types/account_PasswordInputSettings.md | 20 - .../types/account_PasswordSettings.md | 22 - .../types/account_PrivacyRules.md | 24 - .../types/account_SentEmailCode.md | 22 - .../API_docs_v100/types/account_Takeout.md | 22 - .../types/account_TmpPassword.md | 22 - .../API_docs_v100/types/account_WallPapers.md | 24 - .../types/account_WebAuthorizations.md | 22 - .../API_docs_v100/types/auth.Authorization.md | 32 ++ .../API_docs_v100/types/auth.CheckedPhone.md | 20 + old_docs/API_docs_v100/types/auth.CodeType.md | 24 + .../types/auth.ExportedAuthorization.md | 22 + .../types/auth.PasswordRecovery.md | 22 + old_docs/API_docs_v100/types/auth.SentCode.md | 30 ++ .../API_docs_v100/types/auth.SentCodeType.md | 26 ++ .../API_docs_v100/types/auth_Authorization.md | 32 -- .../API_docs_v100/types/auth_CheckedPhone.md | 20 - old_docs/API_docs_v100/types/auth_CodeType.md | 24 - .../types/auth_ExportedAuthorization.md | 22 - .../types/auth_PasswordRecovery.md | 22 - old_docs/API_docs_v100/types/auth_SentCode.md | 30 -- .../API_docs_v100/types/auth_SentCodeType.md | 26 -- .../types/channels.AdminLogResults.md | 22 + .../types/channels.ChannelParticipant.md | 22 + .../types/channels.ChannelParticipants.md | 24 + .../types/channels_AdminLogResults.md | 22 - .../types/channels_ChannelParticipant.md | 22 - .../types/channels_ChannelParticipants.md | 24 - .../API_docs_v100/types/contacts.Blocked.md | 24 + .../API_docs_v100/types/contacts.Contacts.md | 24 + .../API_docs_v100/types/contacts.Found.md | 22 + .../types/contacts.ImportedContacts.md | 22 + old_docs/API_docs_v100/types/contacts.Link.md | 22 + .../types/contacts.ResolvedPeer.md | 22 + .../API_docs_v100/types/contacts.TopPeers.md | 26 ++ .../API_docs_v100/types/contacts_Blocked.md | 24 - .../API_docs_v100/types/contacts_Contacts.md | 24 - .../API_docs_v100/types/contacts_Found.md | 22 - .../types/contacts_ImportedContacts.md | 22 - old_docs/API_docs_v100/types/contacts_Link.md | 22 - .../types/contacts_ResolvedPeer.md | 22 - .../API_docs_v100/types/contacts_TopPeers.md | 26 -- .../API_docs_v100/types/help.AppUpdate.md | 24 + .../API_docs_v100/types/help.ConfigSimple.md | 20 + .../API_docs_v100/types/help.DeepLinkInfo.md | 24 + .../API_docs_v100/types/help.InviteText.md | 22 + .../types/help.PassportConfig.md | 24 + .../API_docs_v100/types/help.ProxyData.md | 24 + .../API_docs_v100/types/help.RecentMeUrls.md | 22 + old_docs/API_docs_v100/types/help.Support.md | 22 + .../API_docs_v100/types/help.SupportName.md | 22 + .../types/help.TermsOfService.md | 20 + .../types/help.TermsOfServiceUpdate.md | 24 + old_docs/API_docs_v100/types/help.UserInfo.md | 26 ++ .../API_docs_v100/types/help_AppUpdate.md | 24 - .../API_docs_v100/types/help_ConfigSimple.md | 20 - .../API_docs_v100/types/help_DeepLinkInfo.md | 24 - .../API_docs_v100/types/help_InviteText.md | 22 - .../types/help_PassportConfig.md | 24 - .../API_docs_v100/types/help_ProxyData.md | 24 - .../API_docs_v100/types/help_RecentMeUrls.md | 22 - old_docs/API_docs_v100/types/help_Support.md | 22 - .../API_docs_v100/types/help_SupportName.md | 22 - .../types/help_TermsOfService.md | 20 - .../types/help_TermsOfServiceUpdate.md | 24 - old_docs/API_docs_v100/types/help_UserInfo.md | 26 -- .../types/messages.AffectedHistory.md | 26 ++ .../types/messages.AffectedMessages.md | 28 ++ .../types/messages.AllStickers.md | 26 ++ .../types/messages.ArchivedStickers.md | 22 + .../types/messages.BotCallbackAnswer.md | 22 + .../types/messages.BotResults.md | 22 + .../API_docs_v100/types/messages.ChatFull.md | 24 + .../API_docs_v100/types/messages.Chats.md | 38 ++ .../API_docs_v100/types/messages.DhConfig.md | 24 + .../API_docs_v100/types/messages.Dialogs.md | 26 ++ .../types/messages.FavedStickers.md | 24 + .../types/messages.FeaturedStickers.md | 24 + .../API_docs_v100/types/messages.FoundGifs.md | 22 + .../types/messages.FoundStickerSets.md | 24 + .../types/messages.HighScores.md | 24 + .../types/messages.MessageEditData.md | 22 + .../API_docs_v100/types/messages.Messages.md | 40 ++ .../types/messages.PeerDialogs.md | 24 + .../types/messages.RecentStickers.md | 24 + .../API_docs_v100/types/messages.SavedGifs.md | 24 + .../types/messages.SearchCounter.md | 22 + .../types/messages.SentEncryptedMessage.md | 28 ++ .../types/messages.StickerSet.md | 30 ++ .../types/messages.StickerSetInstallResult.md | 24 + .../API_docs_v100/types/messages.Stickers.md | 24 + .../types/messages_AffectedHistory.md | 26 -- .../types/messages_AffectedMessages.md | 28 -- .../types/messages_AllStickers.md | 26 -- .../types/messages_ArchivedStickers.md | 22 - .../types/messages_BotCallbackAnswer.md | 22 - .../types/messages_BotResults.md | 22 - .../API_docs_v100/types/messages_ChatFull.md | 24 - .../API_docs_v100/types/messages_Chats.md | 38 -- .../API_docs_v100/types/messages_DhConfig.md | 24 - .../API_docs_v100/types/messages_Dialogs.md | 26 -- .../types/messages_FavedStickers.md | 24 - .../types/messages_FeaturedStickers.md | 24 - .../API_docs_v100/types/messages_FoundGifs.md | 22 - .../types/messages_FoundStickerSets.md | 24 - .../types/messages_HighScores.md | 24 - .../types/messages_MessageEditData.md | 22 - .../API_docs_v100/types/messages_Messages.md | 40 -- .../types/messages_PeerDialogs.md | 24 - .../types/messages_RecentStickers.md | 24 - .../API_docs_v100/types/messages_SavedGifs.md | 24 - .../types/messages_SearchCounter.md | 22 - .../types/messages_SentEncryptedMessage.md | 28 -- .../types/messages_StickerSet.md | 30 -- .../types/messages_StickerSetInstallResult.md | 24 - .../API_docs_v100/types/messages_Stickers.md | 24 - .../types/payments.PaymentForm.md | 22 + .../types/payments.PaymentReceipt.md | 22 + .../types/payments.PaymentResult.md | 24 + .../API_docs_v100/types/payments.SavedInfo.md | 22 + .../types/payments.ValidatedRequestedInfo.md | 22 + .../types/payments_PaymentForm.md | 22 - .../types/payments_PaymentReceipt.md | 22 - .../types/payments_PaymentResult.md | 24 - .../API_docs_v100/types/payments_SavedInfo.md | 22 - .../types/payments_ValidatedRequestedInfo.md | 22 - .../API_docs_v100/types/phone.PhoneCall.md | 26 ++ .../API_docs_v100/types/phone_PhoneCall.md | 26 -- old_docs/API_docs_v100/types/photos.Photo.md | 22 + old_docs/API_docs_v100/types/photos.Photos.md | 24 + old_docs/API_docs_v100/types/photos_Photo.md | 22 - old_docs/API_docs_v100/types/photos_Photos.md | 24 - .../API_docs_v100/types/storage.FileType.md | 38 ++ .../API_docs_v100/types/storage_FileType.md | 38 -- .../types/updates.ChannelDifference.md | 26 ++ .../API_docs_v100/types/updates.Difference.md | 28 ++ old_docs/API_docs_v100/types/updates.State.md | 22 + .../types/updates_ChannelDifference.md | 26 -- .../API_docs_v100/types/updates_Difference.md | 28 -- old_docs/API_docs_v100/types/updates_State.md | 22 - .../API_docs_v100/types/upload.CdnFile.md | 24 + old_docs/API_docs_v100/types/upload.File.md | 24 + .../API_docs_v100/types/upload.WebFile.md | 22 + .../API_docs_v100/types/upload_CdnFile.md | 24 - old_docs/API_docs_v100/types/upload_File.md | 24 - .../API_docs_v100/types/upload_WebFile.md | 22 - old_docs/API_docs_v102/constructors/README.md | 427 +++++++++++------ .../constructors/account.authorizationForm.md | 42 ++ .../constructors/account.authorizations.md | 38 ++ .../account.autoDownloadSettings.md | 40 ++ .../constructors/account.password.md | 48 ++ .../account.passwordInputSettings.md | 42 ++ .../constructors/account.passwordSettings.md | 39 ++ .../constructors/account.privacyRules.md | 40 ++ .../constructors/account.sentEmailCode.md | 39 ++ .../constructors/account.takeout.md | 38 ++ .../constructors/account.tmpPassword.md | 39 ++ .../constructors/account.wallPapers.md | 39 ++ .../account.wallPapersNotModified.md | 33 ++ .../constructors/account.webAuthorizations.md | 39 ++ .../constructors/account_authorizationForm.md | 42 -- .../constructors/account_authorizations.md | 38 -- .../account_autoDownloadSettings.md | 40 -- .../constructors/account_password.md | 48 -- .../account_passwordInputSettings.md | 42 -- .../constructors/account_passwordSettings.md | 39 -- .../constructors/account_privacyRules.md | 40 -- .../constructors/account_sentEmailCode.md | 39 -- .../constructors/account_takeout.md | 38 -- .../constructors/account_tmpPassword.md | 39 -- .../constructors/account_wallPapers.md | 39 -- .../account_wallPapersNotModified.md | 33 -- .../constructors/account_webAuthorizations.md | 39 -- .../constructors/auth.authorization.md | 39 ++ .../constructors/auth.checkedPhone.md | 38 ++ .../constructors/auth.codeTypeCall.md | 33 ++ .../constructors/auth.codeTypeFlashCall.md | 33 ++ .../constructors/auth.codeTypeSms.md | 33 ++ .../auth.exportedAuthorization.md | 39 ++ .../constructors/auth.passwordRecovery.md | 38 ++ .../constructors/auth.sentCode.md | 43 ++ .../constructors/auth.sentCodeTypeApp.md | 38 ++ .../constructors/auth.sentCodeTypeCall.md | 38 ++ .../auth.sentCodeTypeFlashCall.md | 38 ++ .../constructors/auth.sentCodeTypeSms.md | 38 ++ .../constructors/auth_authorization.md | 39 -- .../constructors/auth_checkedPhone.md | 38 -- .../constructors/auth_codeTypeCall.md | 33 -- .../constructors/auth_codeTypeFlashCall.md | 33 -- .../constructors/auth_codeTypeSms.md | 33 -- .../auth_exportedAuthorization.md | 39 -- .../constructors/auth_passwordRecovery.md | 38 -- .../constructors/auth_sentCode.md | 43 -- .../constructors/auth_sentCodeTypeApp.md | 38 -- .../constructors/auth_sentCodeTypeCall.md | 38 -- .../auth_sentCodeTypeFlashCall.md | 38 -- .../constructors/auth_sentCodeTypeSms.md | 38 -- .../constructors/channels.adminLogResults.md | 40 ++ .../channels.channelParticipant.md | 39 ++ .../channels.channelParticipants.md | 40 ++ ...channels.channelParticipantsNotModified.md | 33 ++ .../constructors/channels_adminLogResults.md | 40 -- .../channels_channelParticipant.md | 39 -- .../channels_channelParticipants.md | 40 -- ...channels_channelParticipantsNotModified.md | 33 -- .../constructors/contacts.blocked.md | 39 ++ .../constructors/contacts.blockedSlice.md | 40 ++ .../constructors/contacts.contacts.md | 40 ++ .../contacts.contactsNotModified.md | 33 ++ .../constructors/contacts.found.md | 41 ++ .../constructors/contacts.importedContacts.md | 41 ++ .../constructors/contacts.resolvedPeer.md | 40 ++ .../constructors/contacts.topPeers.md | 40 ++ .../constructors/contacts.topPeersDisabled.md | 33 ++ .../contacts.topPeersNotModified.md | 33 ++ .../constructors/contacts_blocked.md | 39 -- .../constructors/contacts_blockedSlice.md | 40 -- .../constructors/contacts_contacts.md | 40 -- .../contacts_contactsNotModified.md | 33 -- .../constructors/contacts_found.md | 41 -- .../constructors/contacts_importedContacts.md | 41 -- .../constructors/contacts_resolvedPeer.md | 40 -- .../constructors/contacts_topPeers.md | 40 -- .../constructors/contacts_topPeersDisabled.md | 33 -- .../contacts_topPeersNotModified.md | 33 -- .../constructors/help.appUpdate.md | 44 ++ .../constructors/help.configSimple.md | 40 ++ .../constructors/help.deepLinkInfo.md | 40 ++ .../constructors/help.deepLinkInfoEmpty.md | 33 ++ .../constructors/help.inviteText.md | 38 ++ .../constructors/help.noAppUpdate.md | 33 ++ .../constructors/help.passportConfig.md | 39 ++ .../help.passportConfigNotModified.md | 33 ++ .../constructors/help.proxyDataEmpty.md | 38 ++ .../constructors/help.proxyDataPromo.md | 41 ++ .../constructors/help.recentMeUrls.md | 40 ++ .../constructors/help.support.md | 39 ++ .../constructors/help.supportName.md | 38 ++ .../constructors/help.termsOfService.md | 42 ++ .../constructors/help.termsOfServiceUpdate.md | 39 ++ .../help.termsOfServiceUpdateEmpty.md | 38 ++ .../constructors/help.userInfo.md | 41 ++ .../constructors/help.userInfoEmpty.md | 33 ++ .../constructors/help_appUpdate.md | 44 -- .../constructors/help_configSimple.md | 40 -- .../constructors/help_deepLinkInfo.md | 40 -- .../constructors/help_deepLinkInfoEmpty.md | 33 -- .../constructors/help_inviteText.md | 38 -- .../constructors/help_noAppUpdate.md | 33 -- .../constructors/help_passportConfig.md | 39 -- .../help_passportConfigNotModified.md | 33 -- .../constructors/help_proxyDataEmpty.md | 38 -- .../constructors/help_proxyDataPromo.md | 41 -- .../constructors/help_recentMeUrls.md | 40 -- .../constructors/help_support.md | 39 -- .../constructors/help_supportName.md | 38 -- .../constructors/help_termsOfService.md | 42 -- .../constructors/help_termsOfServiceUpdate.md | 39 -- .../help_termsOfServiceUpdateEmpty.md | 38 -- .../constructors/help_userInfo.md | 41 -- .../constructors/help_userInfoEmpty.md | 33 -- .../constructors/messages.affectedHistory.md | 40 ++ .../constructors/messages.affectedMessages.md | 39 ++ .../constructors/messages.allStickers.md | 39 ++ .../messages.allStickersNotModified.md | 33 ++ .../constructors/messages.archivedStickers.md | 39 ++ .../messages.botCallbackAnswer.md | 43 ++ .../constructors/messages.botResults.md | 44 ++ .../constructors/messages.channelMessages.md | 43 ++ .../constructors/messages.chatFull.md | 40 ++ .../constructors/messages.chats.md | 38 ++ .../constructors/messages.chatsSlice.md | 39 ++ .../constructors/messages.dhConfig.md | 41 ++ .../messages.dhConfigNotModified.md | 38 ++ .../constructors/messages.dialogs.md | 41 ++ .../messages.dialogsNotModified.md | 38 ++ .../constructors/messages.dialogsSlice.md | 42 ++ .../constructors/messages.favedStickers.md | 40 ++ .../messages.favedStickersNotModified.md | 33 ++ .../constructors/messages.featuredStickers.md | 40 ++ .../messages.featuredStickersNotModified.md | 33 ++ .../constructors/messages.foundGifs.md | 39 ++ .../constructors/messages.foundStickerSets.md | 39 ++ .../messages.foundStickerSetsNotModified.md | 33 ++ .../constructors/messages.highScores.md | 39 ++ .../constructors/messages.messageEditData.md | 38 ++ .../constructors/messages.messages.md | 40 ++ .../messages.messagesNotModified.md | 38 ++ .../constructors/messages.messagesSlice.md | 43 ++ .../constructors/messages.peerDialogs.md | 42 ++ .../constructors/messages.recentStickers.md | 41 ++ .../messages.recentStickersNotModified.md | 33 ++ .../constructors/messages.savedGifs.md | 39 ++ .../messages.savedGifsNotModified.md | 33 ++ .../constructors/messages.searchCounter.md | 40 ++ .../messages.sentEncryptedFile.md | 39 ++ .../messages.sentEncryptedMessage.md | 38 ++ .../constructors/messages.stickerSet.md | 40 ++ ...messages.stickerSetInstallResultArchive.md | 38 ++ ...messages.stickerSetInstallResultSuccess.md | 33 ++ .../constructors/messages.stickers.md | 39 ++ .../messages.stickersNotModified.md | 33 ++ .../constructors/messages_affectedHistory.md | 40 -- .../constructors/messages_affectedMessages.md | 39 -- .../constructors/messages_allStickers.md | 39 -- .../messages_allStickersNotModified.md | 33 -- .../constructors/messages_archivedStickers.md | 39 -- .../messages_botCallbackAnswer.md | 43 -- .../constructors/messages_botResults.md | 44 -- .../constructors/messages_channelMessages.md | 43 -- .../constructors/messages_chatFull.md | 40 -- .../constructors/messages_chats.md | 38 -- .../constructors/messages_chatsSlice.md | 39 -- .../constructors/messages_dhConfig.md | 41 -- .../messages_dhConfigNotModified.md | 38 -- .../constructors/messages_dialogs.md | 41 -- .../messages_dialogsNotModified.md | 38 -- .../constructors/messages_dialogsSlice.md | 42 -- .../constructors/messages_favedStickers.md | 40 -- .../messages_favedStickersNotModified.md | 33 -- .../constructors/messages_featuredStickers.md | 40 -- .../messages_featuredStickersNotModified.md | 33 -- .../constructors/messages_foundGifs.md | 39 -- .../constructors/messages_foundStickerSets.md | 39 -- .../messages_foundStickerSetsNotModified.md | 33 -- .../constructors/messages_highScores.md | 39 -- .../constructors/messages_messageEditData.md | 38 -- .../constructors/messages_messages.md | 40 -- .../messages_messagesNotModified.md | 38 -- .../constructors/messages_messagesSlice.md | 43 -- .../constructors/messages_peerDialogs.md | 42 -- .../constructors/messages_recentStickers.md | 41 -- .../messages_recentStickersNotModified.md | 33 -- .../constructors/messages_savedGifs.md | 39 -- .../messages_savedGifsNotModified.md | 33 -- .../constructors/messages_searchCounter.md | 40 -- .../messages_sentEncryptedFile.md | 39 -- .../messages_sentEncryptedMessage.md | 38 -- .../constructors/messages_stickerSet.md | 40 -- ...messages_stickerSetInstallResultArchive.md | 38 -- ...messages_stickerSetInstallResultSuccess.md | 33 -- .../constructors/messages_stickers.md | 39 -- .../messages_stickersNotModified.md | 33 -- .../constructors/payments.paymentForm.md | 48 ++ .../constructors/payments.paymentReceipt.md | 47 ++ .../constructors/payments.paymentResult.md | 38 ++ .../payments.paymentVerficationNeeded.md | 38 ++ .../constructors/payments.savedInfo.md | 39 ++ .../payments.validatedRequestedInfo.md | 39 ++ .../constructors/payments_paymentForm.md | 48 -- .../constructors/payments_paymentReceipt.md | 47 -- .../constructors/payments_paymentResult.md | 38 -- .../payments_paymentVerficationNeeded.md | 38 -- .../constructors/payments_savedInfo.md | 39 -- .../payments_validatedRequestedInfo.md | 39 -- .../constructors/phone.phoneCall.md | 39 ++ .../constructors/phone_phoneCall.md | 39 -- .../constructors/photos.photo.md | 39 ++ .../constructors/photos.photos.md | 39 ++ .../constructors/photos.photosSlice.md | 40 ++ .../constructors/photos_photo.md | 39 -- .../constructors/photos_photos.md | 39 -- .../constructors/photos_photosSlice.md | 40 -- .../constructors/storage.fileGif.md | 33 ++ .../constructors/storage.fileJpeg.md | 33 ++ .../constructors/storage.fileMov.md | 33 ++ .../constructors/storage.fileMp3.md | 33 ++ .../constructors/storage.fileMp4.md | 33 ++ .../constructors/storage.filePartial.md | 33 ++ .../constructors/storage.filePdf.md | 33 ++ .../constructors/storage.filePng.md | 33 ++ .../constructors/storage.fileUnknown.md | 33 ++ .../constructors/storage.fileWebp.md | 33 ++ .../constructors/storage_fileGif.md | 33 -- .../constructors/storage_fileJpeg.md | 33 -- .../constructors/storage_fileMov.md | 33 -- .../constructors/storage_fileMp3.md | 33 -- .../constructors/storage_fileMp4.md | 33 -- .../constructors/storage_filePartial.md | 33 -- .../constructors/storage_filePdf.md | 33 -- .../constructors/storage_filePng.md | 33 -- .../constructors/storage_fileUnknown.md | 33 -- .../constructors/storage_fileWebp.md | 33 -- .../constructors/updateNewStickerSet.md | 6 +- .../constructors/updates.channelDifference.md | 44 ++ .../updates.channelDifferenceEmpty.md | 40 ++ .../updates.channelDifferenceTooLong.md | 53 +++ .../constructors/updates.difference.md | 43 ++ .../constructors/updates.differenceEmpty.md | 39 ++ .../constructors/updates.differenceSlice.md | 43 ++ .../constructors/updates.differenceTooLong.md | 38 ++ .../constructors/updates.state.md | 42 ++ .../constructors/updates_channelDifference.md | 44 -- .../updates_channelDifferenceEmpty.md | 40 -- .../updates_channelDifferenceTooLong.md | 53 --- .../constructors/updates_difference.md | 43 -- .../constructors/updates_differenceEmpty.md | 39 -- .../constructors/updates_differenceSlice.md | 43 -- .../constructors/updates_differenceTooLong.md | 38 -- .../constructors/updates_state.md | 42 -- .../constructors/upload.cdnFile.md | 38 ++ .../upload.cdnFileReuploadNeeded.md | 38 ++ .../API_docs_v102/constructors/upload.file.md | 40 ++ .../constructors/upload.fileCdnRedirect.md | 42 ++ .../constructors/upload.webFile.md | 42 ++ .../constructors/upload_cdnFile.md | 38 -- .../upload_cdnFileReuploadNeeded.md | 38 -- .../API_docs_v102/constructors/upload_file.md | 40 -- .../constructors/upload_fileCdnRedirect.md | 42 -- .../constructors/upload_webFile.md | 42 -- .../methods/account.getAuthorizationForm.md | 6 +- .../methods/account.getAuthorizations.md | 6 +- .../account.getAutoDownloadSettings.md | 6 +- .../methods/account.getPassword.md | 6 +- .../methods/account.getPasswordSettings.md | 6 +- .../methods/account.getPrivacy.md | 6 +- .../methods/account.getTmpPassword.md | 6 +- .../methods/account.getWallPapers.md | 6 +- .../methods/account.getWebAuthorizations.md | 6 +- .../methods/account.initTakeoutSession.md | 6 +- .../methods/account.sendChangePhoneCode.md | 6 +- .../methods/account.sendConfirmPhoneCode.md | 6 +- .../methods/account.sendVerifyEmailCode.md | 6 +- .../methods/account.sendVerifyPhoneCode.md | 6 +- .../methods/account.setPrivacy.md | 6 +- old_docs/API_docs_v102/methods/api_README.md | 226 ++++----- .../methods/auth.checkPassword.md | 6 +- .../methods/auth.exportAuthorization.md | 6 +- .../methods/auth.importAuthorization.md | 6 +- .../methods/auth.importBotAuthorization.md | 6 +- .../methods/auth.recoverPassword.md | 6 +- .../methods/auth.requestPasswordRecovery.md | 6 +- .../API_docs_v102/methods/auth.resendCode.md | 6 +- .../API_docs_v102/methods/auth.sendCode.md | 6 +- old_docs/API_docs_v102/methods/auth.signIn.md | 6 +- old_docs/API_docs_v102/methods/auth.signUp.md | 6 +- .../methods/channels.deleteMessages.md | 6 +- .../methods/channels.deleteUserHistory.md | 6 +- .../methods/channels.getAdminLog.md | 6 +- .../channels.getAdminedPublicChannels.md | 6 +- .../methods/channels.getChannels.md | 6 +- .../methods/channels.getFullChannel.md | 6 +- .../channels.getGroupsForDiscussion.md | 6 +- .../methods/channels.getLeftChannels.md | 6 +- .../methods/channels.getMessages.md | 6 +- .../methods/channels.getParticipant.md | 6 +- .../methods/channels.getParticipants.md | 6 +- .../methods/contacts.getBlocked.md | 6 +- .../methods/contacts.getContacts.md | 6 +- .../methods/contacts.getTopPeers.md | 6 +- .../methods/contacts.importContacts.md | 6 +- .../methods/contacts.resolveUsername.md | 6 +- .../API_docs_v102/methods/contacts.search.md | 6 +- .../methods/help.editUserInfo.md | 8 +- .../methods/help.getAppUpdate.md | 6 +- .../methods/help.getDeepLinkInfo.md | 6 +- .../methods/help.getInviteText.md | 6 +- .../methods/help.getPassportConfig.md | 6 +- .../methods/help.getProxyData.md | 6 +- .../methods/help.getRecentMeUrls.md | 6 +- .../API_docs_v102/methods/help.getSupport.md | 6 +- .../methods/help.getSupportName.md | 6 +- .../methods/help.getTermsOfServiceUpdate.md | 6 +- .../API_docs_v102/methods/help.getUserInfo.md | 6 +- .../methods/messages.deleteHistory.md | 6 +- .../methods/messages.deleteMessages.md | 6 +- .../methods/messages.getAllChats.md | 6 +- .../methods/messages.getAllStickers.md | 6 +- .../methods/messages.getArchivedStickers.md | 6 +- .../methods/messages.getBotCallbackAnswer.md | 6 +- .../methods/messages.getChats.md | 6 +- .../methods/messages.getCommonChats.md | 6 +- .../methods/messages.getDhConfig.md | 6 +- .../methods/messages.getDialogs.md | 6 +- .../methods/messages.getFavedStickers.md | 6 +- .../methods/messages.getFeaturedStickers.md | 6 +- .../methods/messages.getFullChat.md | 6 +- .../methods/messages.getGameHighScores.md | 6 +- .../methods/messages.getHistory.md | 6 +- .../methods/messages.getInlineBotResults.md | 6 +- .../messages.getInlineGameHighScores.md | 6 +- .../methods/messages.getMaskStickers.md | 6 +- .../methods/messages.getMessageEditData.md | 6 +- .../methods/messages.getMessages.md | 6 +- .../methods/messages.getPeerDialogs.md | 6 +- .../methods/messages.getPinnedDialogs.md | 6 +- .../methods/messages.getRecentLocations.md | 6 +- .../methods/messages.getRecentStickers.md | 6 +- .../methods/messages.getSavedGifs.md | 6 +- .../methods/messages.getSearchCounters.md | 6 +- .../methods/messages.getStickerSet.md | 6 +- .../methods/messages.getStickers.md | 6 +- .../methods/messages.getUnreadMentions.md | 6 +- .../methods/messages.installStickerSet.md | 6 +- .../methods/messages.readHistory.md | 6 +- .../methods/messages.readMentions.md | 6 +- .../methods/messages.readMessageContents.md | 6 +- .../API_docs_v102/methods/messages.search.md | 6 +- .../methods/messages.searchGifs.md | 6 +- .../methods/messages.searchGlobal.md | 6 +- .../methods/messages.searchStickerSets.md | 6 +- .../methods/messages.sendEncrypted.md | 14 +- .../methods/messages.sendEncryptedFile.md | 14 +- .../methods/messages.sendEncryptedService.md | 14 +- .../methods/payments.getPaymentForm.md | 6 +- .../methods/payments.getPaymentReceipt.md | 6 +- .../methods/payments.getSavedInfo.md | 6 +- .../methods/payments.sendPaymentForm.md | 6 +- .../methods/payments.validateRequestedInfo.md | 6 +- .../API_docs_v102/methods/phone.acceptCall.md | 6 +- .../methods/phone.confirmCall.md | 6 +- .../methods/phone.requestCall.md | 6 +- .../methods/photos.getUserPhotos.md | 6 +- .../methods/photos.uploadProfilePhoto.md | 6 +- .../methods/stickers.addStickerToSet.md | 6 +- .../methods/stickers.changeStickerPosition.md | 6 +- .../methods/stickers.createStickerSet.md | 6 +- .../methods/stickers.removeStickerFromSet.md | 6 +- .../methods/updates.getChannelDifference.md | 6 +- .../methods/updates.getDifference.md | 6 +- .../API_docs_v102/methods/updates.getState.md | 6 +- .../methods/upload.getCdnFile.md | 6 +- .../API_docs_v102/methods/upload.getFile.md | 6 +- .../methods/upload.getWebFile.md | 6 +- .../API_docs_v102/types/AccountDaysTTL.md | 2 +- old_docs/API_docs_v102/types/CdnConfig.md | 2 +- old_docs/API_docs_v102/types/ChatInvite.md | 2 +- old_docs/API_docs_v102/types/ChatOnlines.md | 2 +- old_docs/API_docs_v102/types/Config.md | 2 +- old_docs/API_docs_v102/types/ContactStatus.md | 2 +- old_docs/API_docs_v102/types/DialogPeer.md | 2 +- old_docs/API_docs_v102/types/Document.md | 2 +- .../types/EmojiKeywordsDifference.md | 4 +- old_docs/API_docs_v102/types/EmojiLanguage.md | 2 +- old_docs/API_docs_v102/types/EmojiURL.md | 2 +- old_docs/API_docs_v102/types/EncryptedChat.md | 4 +- old_docs/API_docs_v102/types/EncryptedFile.md | 2 +- .../API_docs_v102/types/ExportedChatInvite.md | 2 +- .../types/ExportedMessageLink.md | 2 +- old_docs/API_docs_v102/types/FileHash.md | 6 +- old_docs/API_docs_v102/types/JSONValue.md | 2 +- .../API_docs_v102/types/LangPackDifference.md | 4 +- .../API_docs_v102/types/LangPackLanguage.md | 4 +- .../API_docs_v102/types/LangPackString.md | 2 +- old_docs/API_docs_v102/types/MessageMedia.md | 4 +- old_docs/API_docs_v102/types/MessageRange.md | 2 +- old_docs/API_docs_v102/types/NearestDc.md | 2 +- .../API_docs_v102/types/PeerNotifySettings.md | 2 +- old_docs/API_docs_v102/types/PeerSettings.md | 2 +- old_docs/API_docs_v102/types/README.md | 160 +++---- .../types/ReceivedNotifyMessage.md | 2 +- old_docs/API_docs_v102/types/SavedContact.md | 2 +- old_docs/API_docs_v102/types/SecureValue.md | 6 +- old_docs/API_docs_v102/types/StatsURL.md | 2 +- .../API_docs_v102/types/StickerSetCovered.md | 2 +- old_docs/API_docs_v102/types/Updates.md | 86 ++-- old_docs/API_docs_v102/types/UrlAuthResult.md | 4 +- old_docs/API_docs_v102/types/User.md | 8 +- old_docs/API_docs_v102/types/UserFull.md | 2 +- .../API_docs_v102/types/UserProfilePhoto.md | 2 +- old_docs/API_docs_v102/types/WallPaper.md | 4 +- old_docs/API_docs_v102/types/WebPage.md | 2 +- .../types/account.AuthorizationForm.md | 22 + .../types/account.Authorizations.md | 22 + .../types/account.AutoDownloadSettings.md | 22 + .../API_docs_v102/types/account.Password.md | 22 + .../types/account.PasswordInputSettings.md | 20 + .../types/account.PasswordSettings.md | 22 + .../types/account.PrivacyRules.md | 24 + .../types/account.SentEmailCode.md | 22 + .../API_docs_v102/types/account.Takeout.md | 22 + .../types/account.TmpPassword.md | 22 + .../API_docs_v102/types/account.WallPapers.md | 24 + .../types/account.WebAuthorizations.md | 22 + .../types/account_AuthorizationForm.md | 22 - .../types/account_Authorizations.md | 22 - .../types/account_AutoDownloadSettings.md | 22 - .../API_docs_v102/types/account_Password.md | 22 - .../types/account_PasswordInputSettings.md | 20 - .../types/account_PasswordSettings.md | 22 - .../types/account_PrivacyRules.md | 24 - .../types/account_SentEmailCode.md | 22 - .../API_docs_v102/types/account_Takeout.md | 22 - .../types/account_TmpPassword.md | 22 - .../API_docs_v102/types/account_WallPapers.md | 24 - .../types/account_WebAuthorizations.md | 22 - .../API_docs_v102/types/auth.Authorization.md | 32 ++ .../API_docs_v102/types/auth.CheckedPhone.md | 20 + old_docs/API_docs_v102/types/auth.CodeType.md | 24 + .../types/auth.ExportedAuthorization.md | 22 + .../types/auth.PasswordRecovery.md | 22 + old_docs/API_docs_v102/types/auth.SentCode.md | 30 ++ .../API_docs_v102/types/auth.SentCodeType.md | 26 ++ .../API_docs_v102/types/auth_Authorization.md | 32 -- .../API_docs_v102/types/auth_CheckedPhone.md | 20 - old_docs/API_docs_v102/types/auth_CodeType.md | 24 - .../types/auth_ExportedAuthorization.md | 22 - .../types/auth_PasswordRecovery.md | 22 - old_docs/API_docs_v102/types/auth_SentCode.md | 30 -- .../API_docs_v102/types/auth_SentCodeType.md | 26 -- .../types/channels.AdminLogResults.md | 22 + .../types/channels.ChannelParticipant.md | 22 + .../types/channels.ChannelParticipants.md | 24 + .../types/channels_AdminLogResults.md | 22 - .../types/channels_ChannelParticipant.md | 22 - .../types/channels_ChannelParticipants.md | 24 - .../API_docs_v102/types/contacts.Blocked.md | 24 + .../API_docs_v102/types/contacts.Contacts.md | 24 + .../API_docs_v102/types/contacts.Found.md | 22 + .../types/contacts.ImportedContacts.md | 22 + .../types/contacts.ResolvedPeer.md | 22 + .../API_docs_v102/types/contacts.TopPeers.md | 26 ++ .../API_docs_v102/types/contacts_Blocked.md | 24 - .../API_docs_v102/types/contacts_Contacts.md | 24 - .../API_docs_v102/types/contacts_Found.md | 22 - .../types/contacts_ImportedContacts.md | 22 - .../types/contacts_ResolvedPeer.md | 22 - .../API_docs_v102/types/contacts_TopPeers.md | 26 -- .../API_docs_v102/types/help.AppUpdate.md | 24 + .../API_docs_v102/types/help.ConfigSimple.md | 20 + .../API_docs_v102/types/help.DeepLinkInfo.md | 24 + .../API_docs_v102/types/help.InviteText.md | 22 + .../types/help.PassportConfig.md | 24 + .../API_docs_v102/types/help.ProxyData.md | 24 + .../API_docs_v102/types/help.RecentMeUrls.md | 22 + old_docs/API_docs_v102/types/help.Support.md | 22 + .../API_docs_v102/types/help.SupportName.md | 22 + .../types/help.TermsOfService.md | 20 + .../types/help.TermsOfServiceUpdate.md | 24 + old_docs/API_docs_v102/types/help.UserInfo.md | 26 ++ .../API_docs_v102/types/help_AppUpdate.md | 24 - .../API_docs_v102/types/help_ConfigSimple.md | 20 - .../API_docs_v102/types/help_DeepLinkInfo.md | 24 - .../API_docs_v102/types/help_InviteText.md | 22 - .../types/help_PassportConfig.md | 24 - .../API_docs_v102/types/help_ProxyData.md | 24 - .../API_docs_v102/types/help_RecentMeUrls.md | 22 - old_docs/API_docs_v102/types/help_Support.md | 22 - .../API_docs_v102/types/help_SupportName.md | 22 - .../types/help_TermsOfService.md | 20 - .../types/help_TermsOfServiceUpdate.md | 24 - old_docs/API_docs_v102/types/help_UserInfo.md | 26 -- .../types/messages.AffectedHistory.md | 26 ++ .../types/messages.AffectedMessages.md | 28 ++ .../types/messages.AllStickers.md | 26 ++ .../types/messages.ArchivedStickers.md | 22 + .../types/messages.BotCallbackAnswer.md | 22 + .../types/messages.BotResults.md | 22 + .../API_docs_v102/types/messages.ChatFull.md | 24 + .../API_docs_v102/types/messages.Chats.md | 36 ++ .../API_docs_v102/types/messages.DhConfig.md | 24 + .../API_docs_v102/types/messages.Dialogs.md | 26 ++ .../types/messages.FavedStickers.md | 24 + .../types/messages.FeaturedStickers.md | 24 + .../API_docs_v102/types/messages.FoundGifs.md | 22 + .../types/messages.FoundStickerSets.md | 24 + .../types/messages.HighScores.md | 24 + .../types/messages.MessageEditData.md | 22 + .../API_docs_v102/types/messages.Messages.md | 40 ++ .../types/messages.PeerDialogs.md | 24 + .../types/messages.RecentStickers.md | 24 + .../API_docs_v102/types/messages.SavedGifs.md | 24 + .../types/messages.SearchCounter.md | 22 + .../types/messages.SentEncryptedMessage.md | 28 ++ .../types/messages.StickerSet.md | 30 ++ .../types/messages.StickerSetInstallResult.md | 24 + .../API_docs_v102/types/messages.Stickers.md | 24 + .../types/messages_AffectedHistory.md | 26 -- .../types/messages_AffectedMessages.md | 28 -- .../types/messages_AllStickers.md | 26 -- .../types/messages_ArchivedStickers.md | 22 - .../types/messages_BotCallbackAnswer.md | 22 - .../types/messages_BotResults.md | 22 - .../API_docs_v102/types/messages_ChatFull.md | 24 - .../API_docs_v102/types/messages_Chats.md | 36 -- .../API_docs_v102/types/messages_DhConfig.md | 24 - .../API_docs_v102/types/messages_Dialogs.md | 26 -- .../types/messages_FavedStickers.md | 24 - .../types/messages_FeaturedStickers.md | 24 - .../API_docs_v102/types/messages_FoundGifs.md | 22 - .../types/messages_FoundStickerSets.md | 24 - .../types/messages_HighScores.md | 24 - .../types/messages_MessageEditData.md | 22 - .../API_docs_v102/types/messages_Messages.md | 40 -- .../types/messages_PeerDialogs.md | 24 - .../types/messages_RecentStickers.md | 24 - .../API_docs_v102/types/messages_SavedGifs.md | 24 - .../types/messages_SearchCounter.md | 22 - .../types/messages_SentEncryptedMessage.md | 28 -- .../types/messages_StickerSet.md | 30 -- .../types/messages_StickerSetInstallResult.md | 24 - .../API_docs_v102/types/messages_Stickers.md | 24 - .../types/payments.PaymentForm.md | 22 + .../types/payments.PaymentReceipt.md | 22 + .../types/payments.PaymentResult.md | 24 + .../API_docs_v102/types/payments.SavedInfo.md | 22 + .../types/payments.ValidatedRequestedInfo.md | 22 + .../types/payments_PaymentForm.md | 22 - .../types/payments_PaymentReceipt.md | 22 - .../types/payments_PaymentResult.md | 24 - .../API_docs_v102/types/payments_SavedInfo.md | 22 - .../types/payments_ValidatedRequestedInfo.md | 22 - .../API_docs_v102/types/phone.PhoneCall.md | 26 ++ .../API_docs_v102/types/phone_PhoneCall.md | 26 -- old_docs/API_docs_v102/types/photos.Photo.md | 22 + old_docs/API_docs_v102/types/photos.Photos.md | 24 + old_docs/API_docs_v102/types/photos_Photo.md | 22 - old_docs/API_docs_v102/types/photos_Photos.md | 24 - .../API_docs_v102/types/storage.FileType.md | 38 ++ .../API_docs_v102/types/storage_FileType.md | 38 -- .../types/updates.ChannelDifference.md | 26 ++ .../API_docs_v102/types/updates.Difference.md | 28 ++ old_docs/API_docs_v102/types/updates.State.md | 22 + .../types/updates_ChannelDifference.md | 26 -- .../API_docs_v102/types/updates_Difference.md | 28 -- old_docs/API_docs_v102/types/updates_State.md | 22 - .../API_docs_v102/types/upload.CdnFile.md | 24 + old_docs/API_docs_v102/types/upload.File.md | 24 + .../API_docs_v102/types/upload.WebFile.md | 22 + .../API_docs_v102/types/upload_CdnFile.md | 24 - old_docs/API_docs_v102/types/upload_File.md | 24 - .../API_docs_v102/types/upload_WebFile.md | 22 - old_docs/API_docs_v103/constructors/README.md | 427 +++++++++++------ .../constructors/account.authorizationForm.md | 42 ++ .../constructors/account.authorizations.md | 38 ++ .../account.autoDownloadSettings.md | 40 ++ .../constructors/account.password.md | 48 ++ .../account.passwordInputSettings.md | 42 ++ .../constructors/account.passwordSettings.md | 39 ++ .../constructors/account.privacyRules.md | 40 ++ .../constructors/account.sentEmailCode.md | 39 ++ .../constructors/account.takeout.md | 38 ++ .../constructors/account.tmpPassword.md | 39 ++ .../constructors/account.wallPapers.md | 39 ++ .../account.wallPapersNotModified.md | 33 ++ .../constructors/account.webAuthorizations.md | 39 ++ .../constructors/account_authorizationForm.md | 42 -- .../constructors/account_authorizations.md | 38 -- .../account_autoDownloadSettings.md | 40 -- .../constructors/account_password.md | 48 -- .../account_passwordInputSettings.md | 42 -- .../constructors/account_passwordSettings.md | 39 -- .../constructors/account_privacyRules.md | 40 -- .../constructors/account_sentEmailCode.md | 39 -- .../constructors/account_takeout.md | 38 -- .../constructors/account_tmpPassword.md | 39 -- .../constructors/account_wallPapers.md | 39 -- .../account_wallPapersNotModified.md | 33 -- .../constructors/account_webAuthorizations.md | 39 -- .../constructors/auth.authorization.md | 39 ++ .../constructors/auth.checkedPhone.md | 38 ++ .../constructors/auth.codeTypeCall.md | 33 ++ .../constructors/auth.codeTypeFlashCall.md | 33 ++ .../constructors/auth.codeTypeSms.md | 33 ++ .../auth.exportedAuthorization.md | 39 ++ .../constructors/auth.passwordRecovery.md | 38 ++ .../constructors/auth.sentCode.md | 43 ++ .../constructors/auth.sentCodeTypeApp.md | 38 ++ .../constructors/auth.sentCodeTypeCall.md | 38 ++ .../auth.sentCodeTypeFlashCall.md | 38 ++ .../constructors/auth.sentCodeTypeSms.md | 38 ++ .../constructors/auth_authorization.md | 39 -- .../constructors/auth_checkedPhone.md | 38 -- .../constructors/auth_codeTypeCall.md | 33 -- .../constructors/auth_codeTypeFlashCall.md | 33 -- .../constructors/auth_codeTypeSms.md | 33 -- .../auth_exportedAuthorization.md | 39 -- .../constructors/auth_passwordRecovery.md | 38 -- .../constructors/auth_sentCode.md | 43 -- .../constructors/auth_sentCodeTypeApp.md | 38 -- .../constructors/auth_sentCodeTypeCall.md | 38 -- .../auth_sentCodeTypeFlashCall.md | 38 -- .../constructors/auth_sentCodeTypeSms.md | 38 -- .../constructors/channels.adminLogResults.md | 40 ++ .../channels.channelParticipant.md | 39 ++ .../channels.channelParticipants.md | 40 ++ ...channels.channelParticipantsNotModified.md | 33 ++ .../constructors/channels_adminLogResults.md | 40 -- .../channels_channelParticipant.md | 39 -- .../channels_channelParticipants.md | 40 -- ...channels_channelParticipantsNotModified.md | 33 -- .../constructors/contacts.blocked.md | 39 ++ .../constructors/contacts.blockedSlice.md | 40 ++ .../constructors/contacts.contacts.md | 40 ++ .../contacts.contactsNotModified.md | 33 ++ .../constructors/contacts.found.md | 41 ++ .../constructors/contacts.importedContacts.md | 41 ++ .../constructors/contacts.resolvedPeer.md | 40 ++ .../constructors/contacts.topPeers.md | 40 ++ .../constructors/contacts.topPeersDisabled.md | 33 ++ .../contacts.topPeersNotModified.md | 33 ++ .../constructors/contacts_blocked.md | 39 -- .../constructors/contacts_blockedSlice.md | 40 -- .../constructors/contacts_contacts.md | 40 -- .../contacts_contactsNotModified.md | 33 -- .../constructors/contacts_found.md | 41 -- .../constructors/contacts_importedContacts.md | 41 -- .../constructors/contacts_resolvedPeer.md | 40 -- .../constructors/contacts_topPeers.md | 40 -- .../constructors/contacts_topPeersDisabled.md | 33 -- .../contacts_topPeersNotModified.md | 33 -- .../constructors/help.appUpdate.md | 44 ++ .../constructors/help.configSimple.md | 40 ++ .../constructors/help.deepLinkInfo.md | 40 ++ .../constructors/help.deepLinkInfoEmpty.md | 33 ++ .../constructors/help.inviteText.md | 38 ++ .../constructors/help.noAppUpdate.md | 33 ++ .../constructors/help.passportConfig.md | 39 ++ .../help.passportConfigNotModified.md | 33 ++ .../constructors/help.proxyDataEmpty.md | 38 ++ .../constructors/help.proxyDataPromo.md | 41 ++ .../constructors/help.recentMeUrls.md | 40 ++ .../constructors/help.support.md | 39 ++ .../constructors/help.supportName.md | 38 ++ .../constructors/help.termsOfService.md | 42 ++ .../constructors/help.termsOfServiceUpdate.md | 39 ++ .../help.termsOfServiceUpdateEmpty.md | 38 ++ .../constructors/help.userInfo.md | 41 ++ .../constructors/help.userInfoEmpty.md | 33 ++ .../constructors/help_appUpdate.md | 44 -- .../constructors/help_configSimple.md | 40 -- .../constructors/help_deepLinkInfo.md | 40 -- .../constructors/help_deepLinkInfoEmpty.md | 33 -- .../constructors/help_inviteText.md | 38 -- .../constructors/help_noAppUpdate.md | 33 -- .../constructors/help_passportConfig.md | 39 -- .../help_passportConfigNotModified.md | 33 -- .../constructors/help_proxyDataEmpty.md | 38 -- .../constructors/help_proxyDataPromo.md | 41 -- .../constructors/help_recentMeUrls.md | 40 -- .../constructors/help_support.md | 39 -- .../constructors/help_supportName.md | 38 -- .../constructors/help_termsOfService.md | 42 -- .../constructors/help_termsOfServiceUpdate.md | 39 -- .../help_termsOfServiceUpdateEmpty.md | 38 -- .../constructors/help_userInfo.md | 41 -- .../constructors/help_userInfoEmpty.md | 33 -- .../constructors/messages.affectedHistory.md | 40 ++ .../constructors/messages.affectedMessages.md | 39 ++ .../constructors/messages.allStickers.md | 39 ++ .../messages.allStickersNotModified.md | 33 ++ .../constructors/messages.archivedStickers.md | 39 ++ .../messages.botCallbackAnswer.md | 43 ++ .../constructors/messages.botResults.md | 44 ++ .../constructors/messages.channelMessages.md | 43 ++ .../constructors/messages.chatFull.md | 40 ++ .../constructors/messages.chats.md | 38 ++ .../constructors/messages.chatsSlice.md | 39 ++ .../constructors/messages.dhConfig.md | 41 ++ .../messages.dhConfigNotModified.md | 38 ++ .../constructors/messages.dialogs.md | 41 ++ .../messages.dialogsNotModified.md | 38 ++ .../constructors/messages.dialogsSlice.md | 42 ++ .../constructors/messages.favedStickers.md | 40 ++ .../messages.favedStickersNotModified.md | 33 ++ .../constructors/messages.featuredStickers.md | 40 ++ .../messages.featuredStickersNotModified.md | 33 ++ .../constructors/messages.foundGifs.md | 39 ++ .../constructors/messages.foundStickerSets.md | 39 ++ .../messages.foundStickerSetsNotModified.md | 33 ++ .../constructors/messages.highScores.md | 39 ++ .../constructors/messages.messageEditData.md | 38 ++ .../constructors/messages.messages.md | 40 ++ .../messages.messagesNotModified.md | 38 ++ .../constructors/messages.messagesSlice.md | 43 ++ .../constructors/messages.peerDialogs.md | 42 ++ .../constructors/messages.recentStickers.md | 41 ++ .../messages.recentStickersNotModified.md | 33 ++ .../constructors/messages.savedGifs.md | 39 ++ .../messages.savedGifsNotModified.md | 33 ++ .../constructors/messages.searchCounter.md | 40 ++ .../messages.sentEncryptedFile.md | 39 ++ .../messages.sentEncryptedMessage.md | 38 ++ .../constructors/messages.stickerSet.md | 40 ++ ...messages.stickerSetInstallResultArchive.md | 38 ++ ...messages.stickerSetInstallResultSuccess.md | 33 ++ .../constructors/messages.stickers.md | 39 ++ .../messages.stickersNotModified.md | 33 ++ .../constructors/messages_affectedHistory.md | 40 -- .../constructors/messages_affectedMessages.md | 39 -- .../constructors/messages_allStickers.md | 39 -- .../messages_allStickersNotModified.md | 33 -- .../constructors/messages_archivedStickers.md | 39 -- .../messages_botCallbackAnswer.md | 43 -- .../constructors/messages_botResults.md | 44 -- .../constructors/messages_channelMessages.md | 43 -- .../constructors/messages_chatFull.md | 40 -- .../constructors/messages_chats.md | 38 -- .../constructors/messages_chatsSlice.md | 39 -- .../constructors/messages_dhConfig.md | 41 -- .../messages_dhConfigNotModified.md | 38 -- .../constructors/messages_dialogs.md | 41 -- .../messages_dialogsNotModified.md | 38 -- .../constructors/messages_dialogsSlice.md | 42 -- .../constructors/messages_favedStickers.md | 40 -- .../messages_favedStickersNotModified.md | 33 -- .../constructors/messages_featuredStickers.md | 40 -- .../messages_featuredStickersNotModified.md | 33 -- .../constructors/messages_foundGifs.md | 39 -- .../constructors/messages_foundStickerSets.md | 39 -- .../messages_foundStickerSetsNotModified.md | 33 -- .../constructors/messages_highScores.md | 39 -- .../constructors/messages_messageEditData.md | 38 -- .../constructors/messages_messages.md | 40 -- .../messages_messagesNotModified.md | 38 -- .../constructors/messages_messagesSlice.md | 43 -- .../constructors/messages_peerDialogs.md | 42 -- .../constructors/messages_recentStickers.md | 41 -- .../messages_recentStickersNotModified.md | 33 -- .../constructors/messages_savedGifs.md | 39 -- .../messages_savedGifsNotModified.md | 33 -- .../constructors/messages_searchCounter.md | 40 -- .../messages_sentEncryptedFile.md | 39 -- .../messages_sentEncryptedMessage.md | 38 -- .../constructors/messages_stickerSet.md | 40 -- ...messages_stickerSetInstallResultArchive.md | 38 -- ...messages_stickerSetInstallResultSuccess.md | 33 -- .../constructors/messages_stickers.md | 39 -- .../messages_stickersNotModified.md | 33 -- .../constructors/payments.paymentForm.md | 48 ++ .../constructors/payments.paymentReceipt.md | 47 ++ .../constructors/payments.paymentResult.md | 38 ++ .../payments.paymentVerficationNeeded.md | 38 ++ .../constructors/payments.savedInfo.md | 39 ++ .../payments.validatedRequestedInfo.md | 39 ++ .../constructors/payments_paymentForm.md | 48 -- .../constructors/payments_paymentReceipt.md | 47 -- .../constructors/payments_paymentResult.md | 38 -- .../payments_paymentVerficationNeeded.md | 38 -- .../constructors/payments_savedInfo.md | 39 -- .../payments_validatedRequestedInfo.md | 39 -- .../constructors/phone.phoneCall.md | 39 ++ .../constructors/phone_phoneCall.md | 39 -- .../constructors/photos.photo.md | 39 ++ .../constructors/photos.photos.md | 39 ++ .../constructors/photos.photosSlice.md | 40 ++ .../constructors/photos_photo.md | 39 -- .../constructors/photos_photos.md | 39 -- .../constructors/photos_photosSlice.md | 40 -- .../constructors/storage.fileGif.md | 33 ++ .../constructors/storage.fileJpeg.md | 33 ++ .../constructors/storage.fileMov.md | 33 ++ .../constructors/storage.fileMp3.md | 33 ++ .../constructors/storage.fileMp4.md | 33 ++ .../constructors/storage.filePartial.md | 33 ++ .../constructors/storage.filePdf.md | 33 ++ .../constructors/storage.filePng.md | 33 ++ .../constructors/storage.fileUnknown.md | 33 ++ .../constructors/storage.fileWebp.md | 33 ++ .../constructors/storage_fileGif.md | 33 -- .../constructors/storage_fileJpeg.md | 33 -- .../constructors/storage_fileMov.md | 33 -- .../constructors/storage_fileMp3.md | 33 -- .../constructors/storage_fileMp4.md | 33 -- .../constructors/storage_filePartial.md | 33 -- .../constructors/storage_filePdf.md | 33 -- .../constructors/storage_filePng.md | 33 -- .../constructors/storage_fileUnknown.md | 33 -- .../constructors/storage_fileWebp.md | 33 -- .../constructors/updateNewStickerSet.md | 6 +- .../constructors/updates.channelDifference.md | 44 ++ .../updates.channelDifferenceEmpty.md | 40 ++ .../updates.channelDifferenceTooLong.md | 53 +++ .../constructors/updates.difference.md | 43 ++ .../constructors/updates.differenceEmpty.md | 39 ++ .../constructors/updates.differenceSlice.md | 43 ++ .../constructors/updates.differenceTooLong.md | 38 ++ .../constructors/updates.state.md | 42 ++ .../constructors/updates_channelDifference.md | 44 -- .../updates_channelDifferenceEmpty.md | 40 -- .../updates_channelDifferenceTooLong.md | 53 --- .../constructors/updates_difference.md | 43 -- .../constructors/updates_differenceEmpty.md | 39 -- .../constructors/updates_differenceSlice.md | 43 -- .../constructors/updates_differenceTooLong.md | 38 -- .../constructors/updates_state.md | 42 -- .../constructors/upload.cdnFile.md | 38 ++ .../upload.cdnFileReuploadNeeded.md | 38 ++ .../API_docs_v103/constructors/upload.file.md | 40 ++ .../constructors/upload.fileCdnRedirect.md | 42 ++ .../constructors/upload.webFile.md | 42 ++ .../constructors/upload_cdnFile.md | 38 -- .../upload_cdnFileReuploadNeeded.md | 38 -- .../API_docs_v103/constructors/upload_file.md | 40 -- .../constructors/upload_fileCdnRedirect.md | 42 -- .../constructors/upload_webFile.md | 42 -- .../methods/account.getAuthorizationForm.md | 6 +- .../methods/account.getAuthorizations.md | 6 +- .../account.getAutoDownloadSettings.md | 6 +- .../methods/account.getPassword.md | 6 +- .../methods/account.getPasswordSettings.md | 6 +- .../methods/account.getPrivacy.md | 6 +- .../methods/account.getTmpPassword.md | 6 +- .../methods/account.getWallPapers.md | 6 +- .../methods/account.getWebAuthorizations.md | 6 +- .../methods/account.initTakeoutSession.md | 6 +- .../methods/account.sendChangePhoneCode.md | 6 +- .../methods/account.sendConfirmPhoneCode.md | 6 +- .../methods/account.sendVerifyEmailCode.md | 6 +- .../methods/account.sendVerifyPhoneCode.md | 6 +- .../methods/account.setPrivacy.md | 6 +- old_docs/API_docs_v103/methods/api_README.md | 226 ++++----- .../methods/auth.checkPassword.md | 6 +- .../methods/auth.exportAuthorization.md | 6 +- .../methods/auth.importAuthorization.md | 6 +- .../methods/auth.importBotAuthorization.md | 6 +- .../methods/auth.recoverPassword.md | 6 +- .../methods/auth.requestPasswordRecovery.md | 6 +- .../API_docs_v103/methods/auth.resendCode.md | 6 +- .../API_docs_v103/methods/auth.sendCode.md | 6 +- old_docs/API_docs_v103/methods/auth.signIn.md | 6 +- old_docs/API_docs_v103/methods/auth.signUp.md | 6 +- .../methods/channels.deleteMessages.md | 6 +- .../methods/channels.deleteUserHistory.md | 6 +- .../methods/channels.getAdminLog.md | 6 +- .../channels.getAdminedPublicChannels.md | 6 +- .../methods/channels.getChannels.md | 6 +- .../methods/channels.getFullChannel.md | 6 +- .../channels.getGroupsForDiscussion.md | 6 +- .../methods/channels.getLeftChannels.md | 6 +- .../methods/channels.getMessages.md | 6 +- .../methods/channels.getParticipant.md | 6 +- .../methods/channels.getParticipants.md | 6 +- .../methods/contacts.getBlocked.md | 6 +- .../methods/contacts.getContacts.md | 6 +- .../methods/contacts.getTopPeers.md | 6 +- .../methods/contacts.importContacts.md | 6 +- .../methods/contacts.resolveUsername.md | 6 +- .../API_docs_v103/methods/contacts.search.md | 6 +- .../methods/help.editUserInfo.md | 8 +- .../methods/help.getAppUpdate.md | 6 +- .../methods/help.getDeepLinkInfo.md | 6 +- .../methods/help.getInviteText.md | 6 +- .../methods/help.getPassportConfig.md | 6 +- .../methods/help.getProxyData.md | 6 +- .../methods/help.getRecentMeUrls.md | 6 +- .../API_docs_v103/methods/help.getSupport.md | 6 +- .../methods/help.getSupportName.md | 6 +- .../methods/help.getTermsOfServiceUpdate.md | 6 +- .../API_docs_v103/methods/help.getUserInfo.md | 6 +- .../methods/messages.deleteHistory.md | 6 +- .../methods/messages.deleteMessages.md | 6 +- .../methods/messages.getAllChats.md | 6 +- .../methods/messages.getAllStickers.md | 6 +- .../methods/messages.getArchivedStickers.md | 6 +- .../methods/messages.getBotCallbackAnswer.md | 6 +- .../methods/messages.getChats.md | 6 +- .../methods/messages.getCommonChats.md | 6 +- .../methods/messages.getDhConfig.md | 6 +- .../methods/messages.getDialogs.md | 6 +- .../methods/messages.getFavedStickers.md | 6 +- .../methods/messages.getFeaturedStickers.md | 6 +- .../methods/messages.getFullChat.md | 6 +- .../methods/messages.getGameHighScores.md | 6 +- .../methods/messages.getHistory.md | 6 +- .../methods/messages.getInlineBotResults.md | 6 +- .../messages.getInlineGameHighScores.md | 6 +- .../methods/messages.getMaskStickers.md | 6 +- .../methods/messages.getMessageEditData.md | 6 +- .../methods/messages.getMessages.md | 6 +- .../methods/messages.getPeerDialogs.md | 6 +- .../methods/messages.getPinnedDialogs.md | 6 +- .../methods/messages.getRecentLocations.md | 6 +- .../methods/messages.getRecentStickers.md | 6 +- .../methods/messages.getSavedGifs.md | 6 +- .../methods/messages.getSearchCounters.md | 6 +- .../methods/messages.getStickerSet.md | 6 +- .../methods/messages.getStickers.md | 6 +- .../methods/messages.getUnreadMentions.md | 6 +- .../methods/messages.installStickerSet.md | 6 +- .../methods/messages.readHistory.md | 6 +- .../methods/messages.readMentions.md | 6 +- .../methods/messages.readMessageContents.md | 6 +- .../API_docs_v103/methods/messages.search.md | 6 +- .../methods/messages.searchGifs.md | 6 +- .../methods/messages.searchGlobal.md | 6 +- .../methods/messages.searchStickerSets.md | 6 +- .../methods/messages.sendEncrypted.md | 14 +- .../methods/messages.sendEncryptedFile.md | 14 +- .../methods/messages.sendEncryptedService.md | 14 +- .../methods/payments.getPaymentForm.md | 6 +- .../methods/payments.getPaymentReceipt.md | 6 +- .../methods/payments.getSavedInfo.md | 6 +- .../methods/payments.sendPaymentForm.md | 6 +- .../methods/payments.validateRequestedInfo.md | 6 +- .../API_docs_v103/methods/phone.acceptCall.md | 6 +- .../methods/phone.confirmCall.md | 6 +- .../methods/phone.requestCall.md | 6 +- .../methods/photos.getUserPhotos.md | 6 +- .../methods/photos.uploadProfilePhoto.md | 6 +- .../methods/stickers.addStickerToSet.md | 6 +- .../methods/stickers.changeStickerPosition.md | 6 +- .../methods/stickers.createStickerSet.md | 6 +- .../methods/stickers.removeStickerFromSet.md | 6 +- .../methods/updates.getChannelDifference.md | 6 +- .../methods/updates.getDifference.md | 6 +- .../API_docs_v103/methods/updates.getState.md | 6 +- .../methods/upload.getCdnFile.md | 6 +- .../API_docs_v103/methods/upload.getFile.md | 6 +- .../methods/upload.getWebFile.md | 6 +- .../API_docs_v103/types/AccountDaysTTL.md | 2 +- old_docs/API_docs_v103/types/CdnConfig.md | 2 +- old_docs/API_docs_v103/types/ChatInvite.md | 2 +- old_docs/API_docs_v103/types/ChatOnlines.md | 2 +- old_docs/API_docs_v103/types/Config.md | 2 +- old_docs/API_docs_v103/types/ContactStatus.md | 2 +- old_docs/API_docs_v103/types/DialogPeer.md | 2 +- old_docs/API_docs_v103/types/Document.md | 2 +- .../types/EmojiKeywordsDifference.md | 4 +- old_docs/API_docs_v103/types/EmojiLanguage.md | 2 +- old_docs/API_docs_v103/types/EmojiURL.md | 2 +- old_docs/API_docs_v103/types/EncryptedChat.md | 4 +- old_docs/API_docs_v103/types/EncryptedFile.md | 2 +- .../API_docs_v103/types/ExportedChatInvite.md | 2 +- .../types/ExportedMessageLink.md | 2 +- old_docs/API_docs_v103/types/FileHash.md | 6 +- old_docs/API_docs_v103/types/JSONValue.md | 2 +- .../API_docs_v103/types/LangPackDifference.md | 4 +- .../API_docs_v103/types/LangPackLanguage.md | 4 +- .../API_docs_v103/types/LangPackString.md | 2 +- old_docs/API_docs_v103/types/MessageMedia.md | 4 +- old_docs/API_docs_v103/types/MessageRange.md | 2 +- old_docs/API_docs_v103/types/NearestDc.md | 2 +- .../API_docs_v103/types/PeerNotifySettings.md | 2 +- old_docs/API_docs_v103/types/PeerSettings.md | 2 +- old_docs/API_docs_v103/types/README.md | 160 +++---- .../types/ReceivedNotifyMessage.md | 2 +- old_docs/API_docs_v103/types/SavedContact.md | 2 +- old_docs/API_docs_v103/types/SecureValue.md | 6 +- old_docs/API_docs_v103/types/StatsURL.md | 2 +- .../API_docs_v103/types/StickerSetCovered.md | 2 +- old_docs/API_docs_v103/types/Updates.md | 86 ++-- old_docs/API_docs_v103/types/UrlAuthResult.md | 4 +- old_docs/API_docs_v103/types/User.md | 8 +- old_docs/API_docs_v103/types/UserFull.md | 2 +- .../API_docs_v103/types/UserProfilePhoto.md | 2 +- old_docs/API_docs_v103/types/WallPaper.md | 4 +- old_docs/API_docs_v103/types/WebPage.md | 2 +- .../types/account.AuthorizationForm.md | 22 + .../types/account.Authorizations.md | 22 + .../types/account.AutoDownloadSettings.md | 22 + .../API_docs_v103/types/account.Password.md | 22 + .../types/account.PasswordInputSettings.md | 20 + .../types/account.PasswordSettings.md | 22 + .../types/account.PrivacyRules.md | 24 + .../types/account.SentEmailCode.md | 22 + .../API_docs_v103/types/account.Takeout.md | 22 + .../types/account.TmpPassword.md | 22 + .../API_docs_v103/types/account.WallPapers.md | 24 + .../types/account.WebAuthorizations.md | 22 + .../types/account_AuthorizationForm.md | 22 - .../types/account_Authorizations.md | 22 - .../types/account_AutoDownloadSettings.md | 22 - .../API_docs_v103/types/account_Password.md | 22 - .../types/account_PasswordInputSettings.md | 20 - .../types/account_PasswordSettings.md | 22 - .../types/account_PrivacyRules.md | 24 - .../types/account_SentEmailCode.md | 22 - .../API_docs_v103/types/account_Takeout.md | 22 - .../types/account_TmpPassword.md | 22 - .../API_docs_v103/types/account_WallPapers.md | 24 - .../types/account_WebAuthorizations.md | 22 - .../API_docs_v103/types/auth.Authorization.md | 32 ++ .../API_docs_v103/types/auth.CheckedPhone.md | 20 + old_docs/API_docs_v103/types/auth.CodeType.md | 24 + .../types/auth.ExportedAuthorization.md | 22 + .../types/auth.PasswordRecovery.md | 22 + old_docs/API_docs_v103/types/auth.SentCode.md | 30 ++ .../API_docs_v103/types/auth.SentCodeType.md | 26 ++ .../API_docs_v103/types/auth_Authorization.md | 32 -- .../API_docs_v103/types/auth_CheckedPhone.md | 20 - old_docs/API_docs_v103/types/auth_CodeType.md | 24 - .../types/auth_ExportedAuthorization.md | 22 - .../types/auth_PasswordRecovery.md | 22 - old_docs/API_docs_v103/types/auth_SentCode.md | 30 -- .../API_docs_v103/types/auth_SentCodeType.md | 26 -- .../types/channels.AdminLogResults.md | 22 + .../types/channels.ChannelParticipant.md | 22 + .../types/channels.ChannelParticipants.md | 24 + .../types/channels_AdminLogResults.md | 22 - .../types/channels_ChannelParticipant.md | 22 - .../types/channels_ChannelParticipants.md | 24 - .../API_docs_v103/types/contacts.Blocked.md | 24 + .../API_docs_v103/types/contacts.Contacts.md | 24 + .../API_docs_v103/types/contacts.Found.md | 22 + .../types/contacts.ImportedContacts.md | 22 + .../types/contacts.ResolvedPeer.md | 22 + .../API_docs_v103/types/contacts.TopPeers.md | 26 ++ .../API_docs_v103/types/contacts_Blocked.md | 24 - .../API_docs_v103/types/contacts_Contacts.md | 24 - .../API_docs_v103/types/contacts_Found.md | 22 - .../types/contacts_ImportedContacts.md | 22 - .../types/contacts_ResolvedPeer.md | 22 - .../API_docs_v103/types/contacts_TopPeers.md | 26 -- .../API_docs_v103/types/help.AppUpdate.md | 24 + .../API_docs_v103/types/help.ConfigSimple.md | 20 + .../API_docs_v103/types/help.DeepLinkInfo.md | 24 + .../API_docs_v103/types/help.InviteText.md | 22 + .../types/help.PassportConfig.md | 24 + .../API_docs_v103/types/help.ProxyData.md | 24 + .../API_docs_v103/types/help.RecentMeUrls.md | 22 + old_docs/API_docs_v103/types/help.Support.md | 22 + .../API_docs_v103/types/help.SupportName.md | 22 + .../types/help.TermsOfService.md | 20 + .../types/help.TermsOfServiceUpdate.md | 24 + old_docs/API_docs_v103/types/help.UserInfo.md | 26 ++ .../API_docs_v103/types/help_AppUpdate.md | 24 - .../API_docs_v103/types/help_ConfigSimple.md | 20 - .../API_docs_v103/types/help_DeepLinkInfo.md | 24 - .../API_docs_v103/types/help_InviteText.md | 22 - .../types/help_PassportConfig.md | 24 - .../API_docs_v103/types/help_ProxyData.md | 24 - .../API_docs_v103/types/help_RecentMeUrls.md | 22 - old_docs/API_docs_v103/types/help_Support.md | 22 - .../API_docs_v103/types/help_SupportName.md | 22 - .../types/help_TermsOfService.md | 20 - .../types/help_TermsOfServiceUpdate.md | 24 - old_docs/API_docs_v103/types/help_UserInfo.md | 26 -- .../types/messages.AffectedHistory.md | 26 ++ .../types/messages.AffectedMessages.md | 28 ++ .../types/messages.AllStickers.md | 26 ++ .../types/messages.ArchivedStickers.md | 22 + .../types/messages.BotCallbackAnswer.md | 22 + .../types/messages.BotResults.md | 22 + .../API_docs_v103/types/messages.ChatFull.md | 24 + .../API_docs_v103/types/messages.Chats.md | 36 ++ .../API_docs_v103/types/messages.DhConfig.md | 24 + .../API_docs_v103/types/messages.Dialogs.md | 26 ++ .../types/messages.FavedStickers.md | 24 + .../types/messages.FeaturedStickers.md | 24 + .../API_docs_v103/types/messages.FoundGifs.md | 22 + .../types/messages.FoundStickerSets.md | 24 + .../types/messages.HighScores.md | 24 + .../types/messages.MessageEditData.md | 22 + .../API_docs_v103/types/messages.Messages.md | 40 ++ .../types/messages.PeerDialogs.md | 24 + .../types/messages.RecentStickers.md | 24 + .../API_docs_v103/types/messages.SavedGifs.md | 24 + .../types/messages.SearchCounter.md | 22 + .../types/messages.SentEncryptedMessage.md | 28 ++ .../types/messages.StickerSet.md | 30 ++ .../types/messages.StickerSetInstallResult.md | 24 + .../API_docs_v103/types/messages.Stickers.md | 24 + .../types/messages_AffectedHistory.md | 26 -- .../types/messages_AffectedMessages.md | 28 -- .../types/messages_AllStickers.md | 26 -- .../types/messages_ArchivedStickers.md | 22 - .../types/messages_BotCallbackAnswer.md | 22 - .../types/messages_BotResults.md | 22 - .../API_docs_v103/types/messages_ChatFull.md | 24 - .../API_docs_v103/types/messages_Chats.md | 36 -- .../API_docs_v103/types/messages_DhConfig.md | 24 - .../API_docs_v103/types/messages_Dialogs.md | 26 -- .../types/messages_FavedStickers.md | 24 - .../types/messages_FeaturedStickers.md | 24 - .../API_docs_v103/types/messages_FoundGifs.md | 22 - .../types/messages_FoundStickerSets.md | 24 - .../types/messages_HighScores.md | 24 - .../types/messages_MessageEditData.md | 22 - .../API_docs_v103/types/messages_Messages.md | 40 -- .../types/messages_PeerDialogs.md | 24 - .../types/messages_RecentStickers.md | 24 - .../API_docs_v103/types/messages_SavedGifs.md | 24 - .../types/messages_SearchCounter.md | 22 - .../types/messages_SentEncryptedMessage.md | 28 -- .../types/messages_StickerSet.md | 30 -- .../types/messages_StickerSetInstallResult.md | 24 - .../API_docs_v103/types/messages_Stickers.md | 24 - .../types/payments.PaymentForm.md | 22 + .../types/payments.PaymentReceipt.md | 22 + .../types/payments.PaymentResult.md | 24 + .../API_docs_v103/types/payments.SavedInfo.md | 22 + .../types/payments.ValidatedRequestedInfo.md | 22 + .../types/payments_PaymentForm.md | 22 - .../types/payments_PaymentReceipt.md | 22 - .../types/payments_PaymentResult.md | 24 - .../API_docs_v103/types/payments_SavedInfo.md | 22 - .../types/payments_ValidatedRequestedInfo.md | 22 - .../API_docs_v103/types/phone.PhoneCall.md | 26 ++ .../API_docs_v103/types/phone_PhoneCall.md | 26 -- old_docs/API_docs_v103/types/photos.Photo.md | 22 + old_docs/API_docs_v103/types/photos.Photos.md | 24 + old_docs/API_docs_v103/types/photos_Photo.md | 22 - old_docs/API_docs_v103/types/photos_Photos.md | 24 - .../API_docs_v103/types/storage.FileType.md | 38 ++ .../API_docs_v103/types/storage_FileType.md | 38 -- .../types/updates.ChannelDifference.md | 26 ++ .../API_docs_v103/types/updates.Difference.md | 28 ++ old_docs/API_docs_v103/types/updates.State.md | 22 + .../types/updates_ChannelDifference.md | 26 -- .../API_docs_v103/types/updates_Difference.md | 28 -- old_docs/API_docs_v103/types/updates_State.md | 22 - .../API_docs_v103/types/upload.CdnFile.md | 24 + old_docs/API_docs_v103/types/upload.File.md | 24 + .../API_docs_v103/types/upload.WebFile.md | 22 + .../API_docs_v103/types/upload_CdnFile.md | 24 - old_docs/API_docs_v103/types/upload_File.md | 24 - .../API_docs_v103/types/upload_WebFile.md | 22 - old_docs/API_docs_v104/constructors/README.md | 427 +++++++++++------ .../constructors/account.authorizationForm.md | 42 ++ .../constructors/account.authorizations.md | 38 ++ .../account.autoDownloadSettings.md | 40 ++ .../constructors/account.password.md | 48 ++ .../account.passwordInputSettings.md | 42 ++ .../constructors/account.passwordSettings.md | 39 ++ .../constructors/account.privacyRules.md | 40 ++ .../constructors/account.sentEmailCode.md | 39 ++ .../constructors/account.takeout.md | 38 ++ .../constructors/account.tmpPassword.md | 39 ++ .../constructors/account.wallPapers.md | 39 ++ .../account.wallPapersNotModified.md | 33 ++ .../constructors/account.webAuthorizations.md | 39 ++ .../constructors/account_authorizationForm.md | 42 -- .../constructors/account_authorizations.md | 38 -- .../account_autoDownloadSettings.md | 40 -- .../constructors/account_password.md | 48 -- .../account_passwordInputSettings.md | 42 -- .../constructors/account_passwordSettings.md | 39 -- .../constructors/account_privacyRules.md | 40 -- .../constructors/account_sentEmailCode.md | 39 -- .../constructors/account_takeout.md | 38 -- .../constructors/account_tmpPassword.md | 39 -- .../constructors/account_wallPapers.md | 39 -- .../account_wallPapersNotModified.md | 33 -- .../constructors/account_webAuthorizations.md | 39 -- .../constructors/auth.authorization.md | 39 ++ .../auth.authorizationSignUpRequired.md | 38 ++ .../constructors/auth.codeTypeCall.md | 33 ++ .../constructors/auth.codeTypeFlashCall.md | 33 ++ .../constructors/auth.codeTypeSms.md | 33 ++ .../auth.exportedAuthorization.md | 39 ++ .../constructors/auth.passwordRecovery.md | 38 ++ .../constructors/auth.sentCode.md | 41 ++ .../constructors/auth.sentCodeTypeApp.md | 38 ++ .../constructors/auth.sentCodeTypeCall.md | 38 ++ .../auth.sentCodeTypeFlashCall.md | 38 ++ .../constructors/auth.sentCodeTypeSms.md | 38 ++ .../constructors/auth_authorization.md | 39 -- .../auth_authorizationSignUpRequired.md | 38 -- .../constructors/auth_codeTypeCall.md | 33 -- .../constructors/auth_codeTypeFlashCall.md | 33 -- .../constructors/auth_codeTypeSms.md | 33 -- .../auth_exportedAuthorization.md | 39 -- .../constructors/auth_passwordRecovery.md | 38 -- .../constructors/auth_sentCode.md | 41 -- .../constructors/auth_sentCodeTypeApp.md | 38 -- .../constructors/auth_sentCodeTypeCall.md | 38 -- .../auth_sentCodeTypeFlashCall.md | 38 -- .../constructors/auth_sentCodeTypeSms.md | 38 -- .../constructors/channels.adminLogResults.md | 40 ++ .../channels.channelParticipant.md | 39 ++ .../channels.channelParticipants.md | 40 ++ ...channels.channelParticipantsNotModified.md | 33 ++ .../constructors/channels_adminLogResults.md | 40 -- .../channels_channelParticipant.md | 39 -- .../channels_channelParticipants.md | 40 -- ...channels_channelParticipantsNotModified.md | 33 -- .../constructors/contacts.blocked.md | 39 ++ .../constructors/contacts.blockedSlice.md | 40 ++ .../constructors/contacts.contacts.md | 40 ++ .../contacts.contactsNotModified.md | 33 ++ .../constructors/contacts.found.md | 41 ++ .../constructors/contacts.importedContacts.md | 41 ++ .../constructors/contacts.resolvedPeer.md | 40 ++ .../constructors/contacts.topPeers.md | 40 ++ .../constructors/contacts.topPeersDisabled.md | 33 ++ .../contacts.topPeersNotModified.md | 33 ++ .../constructors/contacts_blocked.md | 39 -- .../constructors/contacts_blockedSlice.md | 40 -- .../constructors/contacts_contacts.md | 40 -- .../contacts_contactsNotModified.md | 33 -- .../constructors/contacts_found.md | 41 -- .../constructors/contacts_importedContacts.md | 41 -- .../constructors/contacts_resolvedPeer.md | 40 -- .../constructors/contacts_topPeers.md | 40 -- .../constructors/contacts_topPeersDisabled.md | 33 -- .../contacts_topPeersNotModified.md | 33 -- .../constructors/help.appUpdate.md | 44 ++ .../constructors/help.configSimple.md | 40 ++ .../constructors/help.deepLinkInfo.md | 40 ++ .../constructors/help.deepLinkInfoEmpty.md | 33 ++ .../constructors/help.inviteText.md | 38 ++ .../constructors/help.noAppUpdate.md | 33 ++ .../constructors/help.passportConfig.md | 39 ++ .../help.passportConfigNotModified.md | 33 ++ .../constructors/help.proxyDataEmpty.md | 38 ++ .../constructors/help.proxyDataPromo.md | 41 ++ .../constructors/help.recentMeUrls.md | 40 ++ .../constructors/help.support.md | 39 ++ .../constructors/help.supportName.md | 38 ++ .../constructors/help.termsOfService.md | 42 ++ .../constructors/help.termsOfServiceUpdate.md | 39 ++ .../help.termsOfServiceUpdateEmpty.md | 38 ++ .../constructors/help.userInfo.md | 41 ++ .../constructors/help.userInfoEmpty.md | 33 ++ .../constructors/help_appUpdate.md | 44 -- .../constructors/help_configSimple.md | 40 -- .../constructors/help_deepLinkInfo.md | 40 -- .../constructors/help_deepLinkInfoEmpty.md | 33 -- .../constructors/help_inviteText.md | 38 -- .../constructors/help_noAppUpdate.md | 33 -- .../constructors/help_passportConfig.md | 39 -- .../help_passportConfigNotModified.md | 33 -- .../constructors/help_proxyDataEmpty.md | 38 -- .../constructors/help_proxyDataPromo.md | 41 -- .../constructors/help_recentMeUrls.md | 40 -- .../constructors/help_support.md | 39 -- .../constructors/help_supportName.md | 38 -- .../constructors/help_termsOfService.md | 42 -- .../constructors/help_termsOfServiceUpdate.md | 39 -- .../help_termsOfServiceUpdateEmpty.md | 38 -- .../constructors/help_userInfo.md | 41 -- .../constructors/help_userInfoEmpty.md | 33 -- .../constructors/messages.affectedHistory.md | 40 ++ .../constructors/messages.affectedMessages.md | 39 ++ .../constructors/messages.allStickers.md | 39 ++ .../messages.allStickersNotModified.md | 33 ++ .../constructors/messages.archivedStickers.md | 39 ++ .../messages.botCallbackAnswer.md | 43 ++ .../constructors/messages.botResults.md | 44 ++ .../constructors/messages.channelMessages.md | 43 ++ .../constructors/messages.chatFull.md | 40 ++ .../constructors/messages.chats.md | 38 ++ .../constructors/messages.chatsSlice.md | 39 ++ .../constructors/messages.dhConfig.md | 41 ++ .../messages.dhConfigNotModified.md | 38 ++ .../constructors/messages.dialogs.md | 41 ++ .../messages.dialogsNotModified.md | 38 ++ .../constructors/messages.dialogsSlice.md | 42 ++ .../constructors/messages.favedStickers.md | 40 ++ .../messages.favedStickersNotModified.md | 33 ++ .../constructors/messages.featuredStickers.md | 40 ++ .../messages.featuredStickersNotModified.md | 33 ++ .../constructors/messages.foundGifs.md | 39 ++ .../constructors/messages.foundStickerSets.md | 39 ++ .../messages.foundStickerSetsNotModified.md | 33 ++ .../constructors/messages.highScores.md | 39 ++ .../constructors/messages.messageEditData.md | 38 ++ .../constructors/messages.messages.md | 40 ++ .../messages.messagesNotModified.md | 38 ++ .../constructors/messages.messagesSlice.md | 43 ++ .../constructors/messages.peerDialogs.md | 42 ++ .../constructors/messages.recentStickers.md | 41 ++ .../messages.recentStickersNotModified.md | 33 ++ .../constructors/messages.savedGifs.md | 39 ++ .../messages.savedGifsNotModified.md | 33 ++ .../constructors/messages.searchCounter.md | 40 ++ .../messages.sentEncryptedFile.md | 39 ++ .../messages.sentEncryptedMessage.md | 38 ++ .../constructors/messages.stickerSet.md | 40 ++ ...messages.stickerSetInstallResultArchive.md | 38 ++ ...messages.stickerSetInstallResultSuccess.md | 33 ++ .../constructors/messages.stickers.md | 39 ++ .../messages.stickersNotModified.md | 33 ++ .../constructors/messages_affectedHistory.md | 40 -- .../constructors/messages_affectedMessages.md | 39 -- .../constructors/messages_allStickers.md | 39 -- .../messages_allStickersNotModified.md | 33 -- .../constructors/messages_archivedStickers.md | 39 -- .../messages_botCallbackAnswer.md | 43 -- .../constructors/messages_botResults.md | 44 -- .../constructors/messages_channelMessages.md | 43 -- .../constructors/messages_chatFull.md | 40 -- .../constructors/messages_chats.md | 38 -- .../constructors/messages_chatsSlice.md | 39 -- .../constructors/messages_dhConfig.md | 41 -- .../messages_dhConfigNotModified.md | 38 -- .../constructors/messages_dialogs.md | 41 -- .../messages_dialogsNotModified.md | 38 -- .../constructors/messages_dialogsSlice.md | 42 -- .../constructors/messages_favedStickers.md | 40 -- .../messages_favedStickersNotModified.md | 33 -- .../constructors/messages_featuredStickers.md | 40 -- .../messages_featuredStickersNotModified.md | 33 -- .../constructors/messages_foundGifs.md | 39 -- .../constructors/messages_foundStickerSets.md | 39 -- .../messages_foundStickerSetsNotModified.md | 33 -- .../constructors/messages_highScores.md | 39 -- .../constructors/messages_messageEditData.md | 38 -- .../constructors/messages_messages.md | 40 -- .../messages_messagesNotModified.md | 38 -- .../constructors/messages_messagesSlice.md | 43 -- .../constructors/messages_peerDialogs.md | 42 -- .../constructors/messages_recentStickers.md | 41 -- .../messages_recentStickersNotModified.md | 33 -- .../constructors/messages_savedGifs.md | 39 -- .../messages_savedGifsNotModified.md | 33 -- .../constructors/messages_searchCounter.md | 40 -- .../messages_sentEncryptedFile.md | 39 -- .../messages_sentEncryptedMessage.md | 38 -- .../constructors/messages_stickerSet.md | 40 -- ...messages_stickerSetInstallResultArchive.md | 38 -- ...messages_stickerSetInstallResultSuccess.md | 33 -- .../constructors/messages_stickers.md | 39 -- .../messages_stickersNotModified.md | 33 -- .../constructors/payments.paymentForm.md | 48 ++ .../constructors/payments.paymentReceipt.md | 47 ++ .../constructors/payments.paymentResult.md | 38 ++ .../payments.paymentVerificationNeeded.md | 38 ++ .../constructors/payments.savedInfo.md | 39 ++ .../payments.validatedRequestedInfo.md | 39 ++ .../constructors/payments_paymentForm.md | 48 -- .../constructors/payments_paymentReceipt.md | 47 -- .../constructors/payments_paymentResult.md | 38 -- .../payments_paymentVerificationNeeded.md | 38 -- .../constructors/payments_savedInfo.md | 39 -- .../payments_validatedRequestedInfo.md | 39 -- .../constructors/phone.phoneCall.md | 39 ++ .../constructors/phone_phoneCall.md | 39 -- .../constructors/photos.photo.md | 39 ++ .../constructors/photos.photos.md | 39 ++ .../constructors/photos.photosSlice.md | 40 ++ .../constructors/photos_photo.md | 39 -- .../constructors/photos_photos.md | 39 -- .../constructors/photos_photosSlice.md | 40 -- .../constructors/storage.fileGif.md | 33 ++ .../constructors/storage.fileJpeg.md | 33 ++ .../constructors/storage.fileMov.md | 33 ++ .../constructors/storage.fileMp3.md | 33 ++ .../constructors/storage.fileMp4.md | 33 ++ .../constructors/storage.filePartial.md | 33 ++ .../constructors/storage.filePdf.md | 33 ++ .../constructors/storage.filePng.md | 33 ++ .../constructors/storage.fileUnknown.md | 33 ++ .../constructors/storage.fileWebp.md | 33 ++ .../constructors/storage_fileGif.md | 33 -- .../constructors/storage_fileJpeg.md | 33 -- .../constructors/storage_fileMov.md | 33 -- .../constructors/storage_fileMp3.md | 33 -- .../constructors/storage_fileMp4.md | 33 -- .../constructors/storage_filePartial.md | 33 -- .../constructors/storage_filePdf.md | 33 -- .../constructors/storage_filePng.md | 33 -- .../constructors/storage_fileUnknown.md | 33 -- .../constructors/storage_fileWebp.md | 33 -- .../constructors/updateNewStickerSet.md | 6 +- .../constructors/updates.channelDifference.md | 44 ++ .../updates.channelDifferenceEmpty.md | 40 ++ .../updates.channelDifferenceTooLong.md | 53 +++ .../constructors/updates.difference.md | 43 ++ .../constructors/updates.differenceEmpty.md | 39 ++ .../constructors/updates.differenceSlice.md | 43 ++ .../constructors/updates.differenceTooLong.md | 38 ++ .../constructors/updates.state.md | 42 ++ .../constructors/updates_channelDifference.md | 44 -- .../updates_channelDifferenceEmpty.md | 40 -- .../updates_channelDifferenceTooLong.md | 53 --- .../constructors/updates_difference.md | 43 -- .../constructors/updates_differenceEmpty.md | 39 -- .../constructors/updates_differenceSlice.md | 43 -- .../constructors/updates_differenceTooLong.md | 38 -- .../constructors/updates_state.md | 42 -- .../constructors/upload.cdnFile.md | 38 ++ .../upload.cdnFileReuploadNeeded.md | 38 ++ .../API_docs_v104/constructors/upload.file.md | 40 ++ .../constructors/upload.fileCdnRedirect.md | 42 ++ .../constructors/upload.webFile.md | 42 ++ .../constructors/upload_cdnFile.md | 38 -- .../upload_cdnFileReuploadNeeded.md | 38 -- .../API_docs_v104/constructors/upload_file.md | 40 -- .../constructors/upload_fileCdnRedirect.md | 42 -- .../constructors/upload_webFile.md | 42 -- .../methods/account.getAuthorizationForm.md | 6 +- .../methods/account.getAuthorizations.md | 6 +- .../account.getAutoDownloadSettings.md | 6 +- .../methods/account.getPassword.md | 6 +- .../methods/account.getPasswordSettings.md | 6 +- .../methods/account.getPrivacy.md | 6 +- .../methods/account.getTmpPassword.md | 6 +- .../methods/account.getWallPapers.md | 6 +- .../methods/account.getWebAuthorizations.md | 6 +- .../methods/account.initTakeoutSession.md | 6 +- .../methods/account.sendChangePhoneCode.md | 6 +- .../methods/account.sendConfirmPhoneCode.md | 6 +- .../methods/account.sendVerifyEmailCode.md | 6 +- .../methods/account.sendVerifyPhoneCode.md | 6 +- .../methods/account.setPrivacy.md | 6 +- old_docs/API_docs_v104/methods/api_README.md | 226 ++++----- .../methods/auth.checkPassword.md | 6 +- .../methods/auth.exportAuthorization.md | 6 +- .../methods/auth.importAuthorization.md | 6 +- .../methods/auth.importBotAuthorization.md | 6 +- .../methods/auth.recoverPassword.md | 6 +- .../methods/auth.requestPasswordRecovery.md | 6 +- .../API_docs_v104/methods/auth.resendCode.md | 6 +- .../API_docs_v104/methods/auth.sendCode.md | 6 +- old_docs/API_docs_v104/methods/auth.signIn.md | 6 +- old_docs/API_docs_v104/methods/auth.signUp.md | 6 +- .../methods/channels.deleteMessages.md | 6 +- .../methods/channels.deleteUserHistory.md | 6 +- .../methods/channels.getAdminLog.md | 6 +- .../channels.getAdminedPublicChannels.md | 6 +- .../methods/channels.getChannels.md | 6 +- .../methods/channels.getFullChannel.md | 6 +- .../channels.getGroupsForDiscussion.md | 6 +- .../methods/channels.getLeftChannels.md | 6 +- .../methods/channels.getMessages.md | 6 +- .../methods/channels.getParticipant.md | 6 +- .../methods/channels.getParticipants.md | 6 +- .../methods/contacts.getBlocked.md | 6 +- .../methods/contacts.getContacts.md | 6 +- .../methods/contacts.getTopPeers.md | 6 +- .../methods/contacts.importContacts.md | 6 +- .../methods/contacts.resolveUsername.md | 6 +- .../API_docs_v104/methods/contacts.search.md | 6 +- .../methods/help.editUserInfo.md | 8 +- .../methods/help.getAppUpdate.md | 6 +- .../methods/help.getDeepLinkInfo.md | 6 +- .../methods/help.getInviteText.md | 6 +- .../methods/help.getPassportConfig.md | 6 +- .../methods/help.getProxyData.md | 6 +- .../methods/help.getRecentMeUrls.md | 6 +- .../API_docs_v104/methods/help.getSupport.md | 6 +- .../methods/help.getSupportName.md | 6 +- .../methods/help.getTermsOfServiceUpdate.md | 6 +- .../API_docs_v104/methods/help.getUserInfo.md | 6 +- .../methods/messages.deleteHistory.md | 6 +- .../methods/messages.deleteMessages.md | 6 +- .../methods/messages.getAllChats.md | 6 +- .../methods/messages.getAllStickers.md | 6 +- .../methods/messages.getArchivedStickers.md | 6 +- .../methods/messages.getBotCallbackAnswer.md | 6 +- .../methods/messages.getChats.md | 6 +- .../methods/messages.getCommonChats.md | 6 +- .../methods/messages.getDhConfig.md | 6 +- .../methods/messages.getDialogs.md | 6 +- .../methods/messages.getFavedStickers.md | 6 +- .../methods/messages.getFeaturedStickers.md | 6 +- .../methods/messages.getFullChat.md | 6 +- .../methods/messages.getGameHighScores.md | 6 +- .../methods/messages.getHistory.md | 6 +- .../methods/messages.getInlineBotResults.md | 6 +- .../messages.getInlineGameHighScores.md | 6 +- .../methods/messages.getMaskStickers.md | 6 +- .../methods/messages.getMessageEditData.md | 6 +- .../methods/messages.getMessages.md | 6 +- .../methods/messages.getPeerDialogs.md | 6 +- .../methods/messages.getPinnedDialogs.md | 6 +- .../methods/messages.getRecentLocations.md | 6 +- .../methods/messages.getRecentStickers.md | 6 +- .../methods/messages.getSavedGifs.md | 6 +- .../methods/messages.getSearchCounters.md | 6 +- .../methods/messages.getStickerSet.md | 6 +- .../methods/messages.getStickers.md | 6 +- .../methods/messages.getUnreadMentions.md | 6 +- .../methods/messages.installStickerSet.md | 6 +- .../methods/messages.readHistory.md | 6 +- .../methods/messages.readMentions.md | 6 +- .../methods/messages.readMessageContents.md | 6 +- .../API_docs_v104/methods/messages.search.md | 6 +- .../methods/messages.searchGifs.md | 6 +- .../methods/messages.searchGlobal.md | 6 +- .../methods/messages.searchStickerSets.md | 6 +- .../methods/messages.sendEncrypted.md | 14 +- .../methods/messages.sendEncryptedFile.md | 14 +- .../methods/messages.sendEncryptedService.md | 14 +- .../methods/payments.getPaymentForm.md | 6 +- .../methods/payments.getPaymentReceipt.md | 6 +- .../methods/payments.getSavedInfo.md | 6 +- .../methods/payments.sendPaymentForm.md | 6 +- .../methods/payments.validateRequestedInfo.md | 6 +- .../API_docs_v104/methods/phone.acceptCall.md | 6 +- .../methods/phone.confirmCall.md | 6 +- .../methods/phone.requestCall.md | 6 +- .../methods/photos.getUserPhotos.md | 6 +- .../methods/photos.uploadProfilePhoto.md | 6 +- .../methods/stickers.addStickerToSet.md | 6 +- .../methods/stickers.changeStickerPosition.md | 6 +- .../methods/stickers.createStickerSet.md | 6 +- .../methods/stickers.removeStickerFromSet.md | 6 +- .../methods/updates.getChannelDifference.md | 6 +- .../methods/updates.getDifference.md | 6 +- .../API_docs_v104/methods/updates.getState.md | 6 +- .../methods/upload.getCdnFile.md | 6 +- .../API_docs_v104/methods/upload.getFile.md | 6 +- .../methods/upload.getWebFile.md | 6 +- .../API_docs_v104/types/AccountDaysTTL.md | 2 +- old_docs/API_docs_v104/types/CdnConfig.md | 2 +- old_docs/API_docs_v104/types/ChatInvite.md | 2 +- old_docs/API_docs_v104/types/ChatOnlines.md | 2 +- old_docs/API_docs_v104/types/Config.md | 2 +- old_docs/API_docs_v104/types/ContactStatus.md | 2 +- old_docs/API_docs_v104/types/DialogPeer.md | 2 +- old_docs/API_docs_v104/types/Document.md | 2 +- .../types/EmojiKeywordsDifference.md | 4 +- old_docs/API_docs_v104/types/EmojiLanguage.md | 2 +- old_docs/API_docs_v104/types/EmojiURL.md | 2 +- old_docs/API_docs_v104/types/EncryptedChat.md | 4 +- old_docs/API_docs_v104/types/EncryptedFile.md | 2 +- .../API_docs_v104/types/ExportedChatInvite.md | 2 +- .../types/ExportedMessageLink.md | 2 +- old_docs/API_docs_v104/types/FileHash.md | 6 +- old_docs/API_docs_v104/types/JSONValue.md | 2 +- .../API_docs_v104/types/LangPackDifference.md | 4 +- .../API_docs_v104/types/LangPackLanguage.md | 4 +- .../API_docs_v104/types/LangPackString.md | 2 +- old_docs/API_docs_v104/types/MessageMedia.md | 4 +- old_docs/API_docs_v104/types/MessageRange.md | 2 +- old_docs/API_docs_v104/types/NearestDc.md | 2 +- .../API_docs_v104/types/PeerNotifySettings.md | 2 +- old_docs/API_docs_v104/types/PeerSettings.md | 2 +- old_docs/API_docs_v104/types/README.md | 158 +++---- .../types/ReceivedNotifyMessage.md | 2 +- old_docs/API_docs_v104/types/SavedContact.md | 2 +- old_docs/API_docs_v104/types/SecureValue.md | 6 +- old_docs/API_docs_v104/types/StatsURL.md | 2 +- .../API_docs_v104/types/StickerSetCovered.md | 2 +- old_docs/API_docs_v104/types/Updates.md | 88 ++-- old_docs/API_docs_v104/types/UrlAuthResult.md | 4 +- old_docs/API_docs_v104/types/User.md | 8 +- old_docs/API_docs_v104/types/UserFull.md | 2 +- .../API_docs_v104/types/UserProfilePhoto.md | 2 +- old_docs/API_docs_v104/types/WallPaper.md | 4 +- old_docs/API_docs_v104/types/WebPage.md | 2 +- .../types/account.AuthorizationForm.md | 22 + .../types/account.Authorizations.md | 22 + .../types/account.AutoDownloadSettings.md | 22 + .../API_docs_v104/types/account.Password.md | 22 + .../types/account.PasswordInputSettings.md | 20 + .../types/account.PasswordSettings.md | 22 + .../types/account.PrivacyRules.md | 24 + .../types/account.SentEmailCode.md | 22 + .../API_docs_v104/types/account.Takeout.md | 22 + .../types/account.TmpPassword.md | 22 + .../API_docs_v104/types/account.WallPapers.md | 24 + .../types/account.WebAuthorizations.md | 22 + .../types/account_AuthorizationForm.md | 22 - .../types/account_Authorizations.md | 22 - .../types/account_AutoDownloadSettings.md | 22 - .../API_docs_v104/types/account_Password.md | 22 - .../types/account_PasswordInputSettings.md | 20 - .../types/account_PasswordSettings.md | 22 - .../types/account_PrivacyRules.md | 24 - .../types/account_SentEmailCode.md | 22 - .../API_docs_v104/types/account_Takeout.md | 22 - .../types/account_TmpPassword.md | 22 - .../API_docs_v104/types/account_WallPapers.md | 24 - .../types/account_WebAuthorizations.md | 22 - .../API_docs_v104/types/auth.Authorization.md | 34 ++ old_docs/API_docs_v104/types/auth.CodeType.md | 24 + .../types/auth.ExportedAuthorization.md | 22 + .../types/auth.PasswordRecovery.md | 22 + old_docs/API_docs_v104/types/auth.SentCode.md | 30 ++ .../API_docs_v104/types/auth.SentCodeType.md | 26 ++ .../API_docs_v104/types/auth_Authorization.md | 34 -- old_docs/API_docs_v104/types/auth_CodeType.md | 24 - .../types/auth_ExportedAuthorization.md | 22 - .../types/auth_PasswordRecovery.md | 22 - old_docs/API_docs_v104/types/auth_SentCode.md | 30 -- .../API_docs_v104/types/auth_SentCodeType.md | 26 -- .../types/channels.AdminLogResults.md | 22 + .../types/channels.ChannelParticipant.md | 22 + .../types/channels.ChannelParticipants.md | 24 + .../types/channels_AdminLogResults.md | 22 - .../types/channels_ChannelParticipant.md | 22 - .../types/channels_ChannelParticipants.md | 24 - .../API_docs_v104/types/contacts.Blocked.md | 24 + .../API_docs_v104/types/contacts.Contacts.md | 24 + .../API_docs_v104/types/contacts.Found.md | 22 + .../types/contacts.ImportedContacts.md | 22 + .../types/contacts.ResolvedPeer.md | 22 + .../API_docs_v104/types/contacts.TopPeers.md | 26 ++ .../API_docs_v104/types/contacts_Blocked.md | 24 - .../API_docs_v104/types/contacts_Contacts.md | 24 - .../API_docs_v104/types/contacts_Found.md | 22 - .../types/contacts_ImportedContacts.md | 22 - .../types/contacts_ResolvedPeer.md | 22 - .../API_docs_v104/types/contacts_TopPeers.md | 26 -- .../API_docs_v104/types/help.AppUpdate.md | 24 + .../API_docs_v104/types/help.ConfigSimple.md | 20 + .../API_docs_v104/types/help.DeepLinkInfo.md | 24 + .../API_docs_v104/types/help.InviteText.md | 22 + .../types/help.PassportConfig.md | 24 + .../API_docs_v104/types/help.ProxyData.md | 24 + .../API_docs_v104/types/help.RecentMeUrls.md | 22 + old_docs/API_docs_v104/types/help.Support.md | 22 + .../API_docs_v104/types/help.SupportName.md | 22 + .../types/help.TermsOfService.md | 20 + .../types/help.TermsOfServiceUpdate.md | 24 + old_docs/API_docs_v104/types/help.UserInfo.md | 26 ++ .../API_docs_v104/types/help_AppUpdate.md | 24 - .../API_docs_v104/types/help_ConfigSimple.md | 20 - .../API_docs_v104/types/help_DeepLinkInfo.md | 24 - .../API_docs_v104/types/help_InviteText.md | 22 - .../types/help_PassportConfig.md | 24 - .../API_docs_v104/types/help_ProxyData.md | 24 - .../API_docs_v104/types/help_RecentMeUrls.md | 22 - old_docs/API_docs_v104/types/help_Support.md | 22 - .../API_docs_v104/types/help_SupportName.md | 22 - .../types/help_TermsOfService.md | 20 - .../types/help_TermsOfServiceUpdate.md | 24 - old_docs/API_docs_v104/types/help_UserInfo.md | 26 -- .../types/messages.AffectedHistory.md | 26 ++ .../types/messages.AffectedMessages.md | 28 ++ .../types/messages.AllStickers.md | 26 ++ .../types/messages.ArchivedStickers.md | 22 + .../types/messages.BotCallbackAnswer.md | 22 + .../types/messages.BotResults.md | 22 + .../API_docs_v104/types/messages.ChatFull.md | 24 + .../API_docs_v104/types/messages.Chats.md | 36 ++ .../API_docs_v104/types/messages.DhConfig.md | 24 + .../API_docs_v104/types/messages.Dialogs.md | 26 ++ .../types/messages.FavedStickers.md | 24 + .../types/messages.FeaturedStickers.md | 24 + .../API_docs_v104/types/messages.FoundGifs.md | 22 + .../types/messages.FoundStickerSets.md | 24 + .../types/messages.HighScores.md | 24 + .../types/messages.MessageEditData.md | 22 + .../API_docs_v104/types/messages.Messages.md | 40 ++ .../types/messages.PeerDialogs.md | 24 + .../types/messages.RecentStickers.md | 24 + .../API_docs_v104/types/messages.SavedGifs.md | 24 + .../types/messages.SearchCounter.md | 22 + .../types/messages.SentEncryptedMessage.md | 28 ++ .../types/messages.StickerSet.md | 30 ++ .../types/messages.StickerSetInstallResult.md | 24 + .../API_docs_v104/types/messages.Stickers.md | 24 + .../types/messages_AffectedHistory.md | 26 -- .../types/messages_AffectedMessages.md | 28 -- .../types/messages_AllStickers.md | 26 -- .../types/messages_ArchivedStickers.md | 22 - .../types/messages_BotCallbackAnswer.md | 22 - .../types/messages_BotResults.md | 22 - .../API_docs_v104/types/messages_ChatFull.md | 24 - .../API_docs_v104/types/messages_Chats.md | 36 -- .../API_docs_v104/types/messages_DhConfig.md | 24 - .../API_docs_v104/types/messages_Dialogs.md | 26 -- .../types/messages_FavedStickers.md | 24 - .../types/messages_FeaturedStickers.md | 24 - .../API_docs_v104/types/messages_FoundGifs.md | 22 - .../types/messages_FoundStickerSets.md | 24 - .../types/messages_HighScores.md | 24 - .../types/messages_MessageEditData.md | 22 - .../API_docs_v104/types/messages_Messages.md | 40 -- .../types/messages_PeerDialogs.md | 24 - .../types/messages_RecentStickers.md | 24 - .../API_docs_v104/types/messages_SavedGifs.md | 24 - .../types/messages_SearchCounter.md | 22 - .../types/messages_SentEncryptedMessage.md | 28 -- .../types/messages_StickerSet.md | 30 -- .../types/messages_StickerSetInstallResult.md | 24 - .../API_docs_v104/types/messages_Stickers.md | 24 - .../types/payments.PaymentForm.md | 22 + .../types/payments.PaymentReceipt.md | 22 + .../types/payments.PaymentResult.md | 24 + .../API_docs_v104/types/payments.SavedInfo.md | 22 + .../types/payments.ValidatedRequestedInfo.md | 22 + .../types/payments_PaymentForm.md | 22 - .../types/payments_PaymentReceipt.md | 22 - .../types/payments_PaymentResult.md | 24 - .../API_docs_v104/types/payments_SavedInfo.md | 22 - .../types/payments_ValidatedRequestedInfo.md | 22 - .../API_docs_v104/types/phone.PhoneCall.md | 26 ++ .../API_docs_v104/types/phone_PhoneCall.md | 26 -- old_docs/API_docs_v104/types/photos.Photo.md | 22 + old_docs/API_docs_v104/types/photos.Photos.md | 24 + old_docs/API_docs_v104/types/photos_Photo.md | 22 - old_docs/API_docs_v104/types/photos_Photos.md | 24 - .../API_docs_v104/types/storage.FileType.md | 38 ++ .../API_docs_v104/types/storage_FileType.md | 38 -- .../types/updates.ChannelDifference.md | 26 ++ .../API_docs_v104/types/updates.Difference.md | 28 ++ old_docs/API_docs_v104/types/updates.State.md | 22 + .../types/updates_ChannelDifference.md | 26 -- .../API_docs_v104/types/updates_Difference.md | 28 -- old_docs/API_docs_v104/types/updates_State.md | 22 - .../API_docs_v104/types/upload.CdnFile.md | 24 + old_docs/API_docs_v104/types/upload.File.md | 24 + .../API_docs_v104/types/upload.WebFile.md | 22 + .../API_docs_v104/types/upload_CdnFile.md | 24 - old_docs/API_docs_v104/types/upload_File.md | 24 - .../API_docs_v104/types/upload_WebFile.md | 22 - old_docs/API_docs_v105/constructors/README.md | 437 +++++++++++------- .../constructors/account.authorizationForm.md | 42 ++ .../constructors/account.authorizations.md | 38 ++ .../account.autoDownloadSettings.md | 40 ++ .../constructors/account.password.md | 48 ++ .../account.passwordInputSettings.md | 42 ++ .../constructors/account.passwordSettings.md | 39 ++ .../constructors/account.privacyRules.md | 40 ++ .../constructors/account.sentEmailCode.md | 39 ++ .../constructors/account.takeout.md | 38 ++ .../constructors/account.themes.md | 39 ++ .../constructors/account.themesNotModified.md | 33 ++ .../constructors/account.tmpPassword.md | 39 ++ .../constructors/account.wallPapers.md | 39 ++ .../account.wallPapersNotModified.md | 33 ++ .../constructors/account.webAuthorizations.md | 39 ++ .../constructors/account_authorizationForm.md | 42 -- .../constructors/account_authorizations.md | 38 -- .../account_autoDownloadSettings.md | 40 -- .../constructors/account_password.md | 48 -- .../account_passwordInputSettings.md | 42 -- .../constructors/account_passwordSettings.md | 39 -- .../constructors/account_privacyRules.md | 40 -- .../constructors/account_sentEmailCode.md | 39 -- .../constructors/account_takeout.md | 38 -- .../constructors/account_themes.md | 39 -- .../constructors/account_themesNotModified.md | 33 -- .../constructors/account_tmpPassword.md | 39 -- .../constructors/account_wallPapers.md | 39 -- .../account_wallPapersNotModified.md | 33 -- .../constructors/account_webAuthorizations.md | 39 -- .../constructors/auth.authorization.md | 39 ++ .../auth.authorizationSignUpRequired.md | 38 ++ .../constructors/auth.codeTypeCall.md | 33 ++ .../constructors/auth.codeTypeFlashCall.md | 33 ++ .../constructors/auth.codeTypeSms.md | 33 ++ .../auth.exportedAuthorization.md | 39 ++ .../constructors/auth.passwordRecovery.md | 38 ++ .../constructors/auth.sentCode.md | 41 ++ .../constructors/auth.sentCodeTypeApp.md | 38 ++ .../constructors/auth.sentCodeTypeCall.md | 38 ++ .../auth.sentCodeTypeFlashCall.md | 38 ++ .../constructors/auth.sentCodeTypeSms.md | 38 ++ .../constructors/auth_authorization.md | 39 -- .../auth_authorizationSignUpRequired.md | 38 -- .../constructors/auth_codeTypeCall.md | 33 -- .../constructors/auth_codeTypeFlashCall.md | 33 -- .../constructors/auth_codeTypeSms.md | 33 -- .../auth_exportedAuthorization.md | 39 -- .../constructors/auth_passwordRecovery.md | 38 -- .../constructors/auth_sentCode.md | 41 -- .../constructors/auth_sentCodeTypeApp.md | 38 -- .../constructors/auth_sentCodeTypeCall.md | 38 -- .../auth_sentCodeTypeFlashCall.md | 38 -- .../constructors/auth_sentCodeTypeSms.md | 38 -- .../constructors/channels.adminLogResults.md | 40 ++ .../channels.channelParticipant.md | 39 ++ .../channels.channelParticipants.md | 40 ++ ...channels.channelParticipantsNotModified.md | 33 ++ .../constructors/channels_adminLogResults.md | 40 -- .../channels_channelParticipant.md | 39 -- .../channels_channelParticipants.md | 40 -- ...channels_channelParticipantsNotModified.md | 33 -- .../constructors/contacts.blocked.md | 39 ++ .../constructors/contacts.blockedSlice.md | 40 ++ .../constructors/contacts.contacts.md | 40 ++ .../contacts.contactsNotModified.md | 33 ++ .../constructors/contacts.found.md | 41 ++ .../constructors/contacts.importedContacts.md | 41 ++ .../constructors/contacts.resolvedPeer.md | 40 ++ .../constructors/contacts.topPeers.md | 40 ++ .../constructors/contacts.topPeersDisabled.md | 33 ++ .../contacts.topPeersNotModified.md | 33 ++ .../constructors/contacts_blocked.md | 39 -- .../constructors/contacts_blockedSlice.md | 40 -- .../constructors/contacts_contacts.md | 40 -- .../contacts_contactsNotModified.md | 33 -- .../constructors/contacts_found.md | 41 -- .../constructors/contacts_importedContacts.md | 41 -- .../constructors/contacts_resolvedPeer.md | 40 -- .../constructors/contacts_topPeers.md | 40 -- .../constructors/contacts_topPeersDisabled.md | 33 -- .../contacts_topPeersNotModified.md | 33 -- .../constructors/help.appUpdate.md | 44 ++ .../constructors/help.configSimple.md | 40 ++ .../constructors/help.deepLinkInfo.md | 40 ++ .../constructors/help.deepLinkInfoEmpty.md | 33 ++ .../constructors/help.inviteText.md | 38 ++ .../constructors/help.noAppUpdate.md | 33 ++ .../constructors/help.passportConfig.md | 39 ++ .../help.passportConfigNotModified.md | 33 ++ .../constructors/help.proxyDataEmpty.md | 38 ++ .../constructors/help.proxyDataPromo.md | 41 ++ .../constructors/help.recentMeUrls.md | 40 ++ .../constructors/help.support.md | 39 ++ .../constructors/help.supportName.md | 38 ++ .../constructors/help.termsOfService.md | 42 ++ .../constructors/help.termsOfServiceUpdate.md | 39 ++ .../help.termsOfServiceUpdateEmpty.md | 38 ++ .../constructors/help.userInfo.md | 41 ++ .../constructors/help.userInfoEmpty.md | 33 ++ .../constructors/help_appUpdate.md | 44 -- .../constructors/help_configSimple.md | 40 -- .../constructors/help_deepLinkInfo.md | 40 -- .../constructors/help_deepLinkInfoEmpty.md | 33 -- .../constructors/help_inviteText.md | 38 -- .../constructors/help_noAppUpdate.md | 33 -- .../constructors/help_passportConfig.md | 39 -- .../help_passportConfigNotModified.md | 33 -- .../constructors/help_proxyDataEmpty.md | 38 -- .../constructors/help_proxyDataPromo.md | 41 -- .../constructors/help_recentMeUrls.md | 40 -- .../constructors/help_support.md | 39 -- .../constructors/help_supportName.md | 38 -- .../constructors/help_termsOfService.md | 42 -- .../constructors/help_termsOfServiceUpdate.md | 39 -- .../help_termsOfServiceUpdateEmpty.md | 38 -- .../constructors/help_userInfo.md | 41 -- .../constructors/help_userInfoEmpty.md | 33 -- .../constructors/messages.affectedHistory.md | 40 ++ .../constructors/messages.affectedMessages.md | 39 ++ .../constructors/messages.allStickers.md | 39 ++ .../messages.allStickersNotModified.md | 33 ++ .../constructors/messages.archivedStickers.md | 39 ++ .../messages.botCallbackAnswer.md | 43 ++ .../constructors/messages.botResults.md | 44 ++ .../constructors/messages.channelMessages.md | 43 ++ .../constructors/messages.chatFull.md | 40 ++ .../constructors/messages.chats.md | 38 ++ .../constructors/messages.chatsSlice.md | 39 ++ .../constructors/messages.dhConfig.md | 41 ++ .../messages.dhConfigNotModified.md | 38 ++ .../constructors/messages.dialogs.md | 41 ++ .../messages.dialogsNotModified.md | 38 ++ .../constructors/messages.dialogsSlice.md | 42 ++ .../constructors/messages.favedStickers.md | 40 ++ .../messages.favedStickersNotModified.md | 33 ++ .../constructors/messages.featuredStickers.md | 40 ++ .../messages.featuredStickersNotModified.md | 33 ++ .../constructors/messages.foundGifs.md | 39 ++ .../constructors/messages.foundStickerSets.md | 39 ++ .../messages.foundStickerSetsNotModified.md | 33 ++ .../constructors/messages.highScores.md | 39 ++ .../constructors/messages.messageEditData.md | 38 ++ .../constructors/messages.messages.md | 40 ++ .../messages.messagesNotModified.md | 38 ++ .../constructors/messages.messagesSlice.md | 43 ++ .../constructors/messages.peerDialogs.md | 42 ++ .../constructors/messages.recentStickers.md | 41 ++ .../messages.recentStickersNotModified.md | 33 ++ .../constructors/messages.savedGifs.md | 39 ++ .../messages.savedGifsNotModified.md | 33 ++ .../constructors/messages.searchCounter.md | 40 ++ .../messages.sentEncryptedFile.md | 39 ++ .../messages.sentEncryptedMessage.md | 38 ++ .../constructors/messages.stickerSet.md | 40 ++ ...messages.stickerSetInstallResultArchive.md | 38 ++ ...messages.stickerSetInstallResultSuccess.md | 33 ++ .../constructors/messages.stickers.md | 39 ++ .../messages.stickersNotModified.md | 33 ++ .../constructors/messages_affectedHistory.md | 40 -- .../constructors/messages_affectedMessages.md | 39 -- .../constructors/messages_allStickers.md | 39 -- .../messages_allStickersNotModified.md | 33 -- .../constructors/messages_archivedStickers.md | 39 -- .../messages_botCallbackAnswer.md | 43 -- .../constructors/messages_botResults.md | 44 -- .../constructors/messages_channelMessages.md | 43 -- .../constructors/messages_chatFull.md | 40 -- .../constructors/messages_chats.md | 38 -- .../constructors/messages_chatsSlice.md | 39 -- .../constructors/messages_dhConfig.md | 41 -- .../messages_dhConfigNotModified.md | 38 -- .../constructors/messages_dialogs.md | 41 -- .../messages_dialogsNotModified.md | 38 -- .../constructors/messages_dialogsSlice.md | 42 -- .../constructors/messages_favedStickers.md | 40 -- .../messages_favedStickersNotModified.md | 33 -- .../constructors/messages_featuredStickers.md | 40 -- .../messages_featuredStickersNotModified.md | 33 -- .../constructors/messages_foundGifs.md | 39 -- .../constructors/messages_foundStickerSets.md | 39 -- .../messages_foundStickerSetsNotModified.md | 33 -- .../constructors/messages_highScores.md | 39 -- .../constructors/messages_messageEditData.md | 38 -- .../constructors/messages_messages.md | 40 -- .../messages_messagesNotModified.md | 38 -- .../constructors/messages_messagesSlice.md | 43 -- .../constructors/messages_peerDialogs.md | 42 -- .../constructors/messages_recentStickers.md | 41 -- .../messages_recentStickersNotModified.md | 33 -- .../constructors/messages_savedGifs.md | 39 -- .../messages_savedGifsNotModified.md | 33 -- .../constructors/messages_searchCounter.md | 40 -- .../messages_sentEncryptedFile.md | 39 -- .../messages_sentEncryptedMessage.md | 38 -- .../constructors/messages_stickerSet.md | 40 -- ...messages_stickerSetInstallResultArchive.md | 38 -- ...messages_stickerSetInstallResultSuccess.md | 33 -- .../constructors/messages_stickers.md | 39 -- .../messages_stickersNotModified.md | 33 -- .../constructors/payments.paymentForm.md | 48 ++ .../constructors/payments.paymentReceipt.md | 47 ++ .../constructors/payments.paymentResult.md | 38 ++ .../payments.paymentVerificationNeeded.md | 38 ++ .../constructors/payments.savedInfo.md | 39 ++ .../payments.validatedRequestedInfo.md | 39 ++ .../constructors/payments_paymentForm.md | 48 -- .../constructors/payments_paymentReceipt.md | 47 -- .../constructors/payments_paymentResult.md | 38 -- .../payments_paymentVerificationNeeded.md | 38 -- .../constructors/payments_savedInfo.md | 39 -- .../payments_validatedRequestedInfo.md | 39 -- .../constructors/phone.phoneCall.md | 39 ++ .../constructors/phone_phoneCall.md | 39 -- .../constructors/photos.photo.md | 39 ++ .../constructors/photos.photos.md | 39 ++ .../constructors/photos.photosSlice.md | 40 ++ .../constructors/photos_photo.md | 39 -- .../constructors/photos_photos.md | 39 -- .../constructors/photos_photosSlice.md | 40 -- .../constructors/storage.fileGif.md | 33 ++ .../constructors/storage.fileJpeg.md | 33 ++ .../constructors/storage.fileMov.md | 33 ++ .../constructors/storage.fileMp3.md | 33 ++ .../constructors/storage.fileMp4.md | 33 ++ .../constructors/storage.filePartial.md | 33 ++ .../constructors/storage.filePdf.md | 33 ++ .../constructors/storage.filePng.md | 33 ++ .../constructors/storage.fileUnknown.md | 33 ++ .../constructors/storage.fileWebp.md | 33 ++ .../constructors/storage_fileGif.md | 33 -- .../constructors/storage_fileJpeg.md | 33 -- .../constructors/storage_fileMov.md | 33 -- .../constructors/storage_fileMp3.md | 33 -- .../constructors/storage_fileMp4.md | 33 -- .../constructors/storage_filePartial.md | 33 -- .../constructors/storage_filePdf.md | 33 -- .../constructors/storage_filePng.md | 33 -- .../constructors/storage_fileUnknown.md | 33 -- .../constructors/storage_fileWebp.md | 33 -- .../constructors/updateNewStickerSet.md | 6 +- .../constructors/updates.channelDifference.md | 44 ++ .../updates.channelDifferenceEmpty.md | 40 ++ .../updates.channelDifferenceTooLong.md | 53 +++ .../constructors/updates.difference.md | 43 ++ .../constructors/updates.differenceEmpty.md | 39 ++ .../constructors/updates.differenceSlice.md | 43 ++ .../constructors/updates.differenceTooLong.md | 38 ++ .../constructors/updates.state.md | 42 ++ .../constructors/updates_channelDifference.md | 44 -- .../updates_channelDifferenceEmpty.md | 40 -- .../updates_channelDifferenceTooLong.md | 53 --- .../constructors/updates_difference.md | 43 -- .../constructors/updates_differenceEmpty.md | 39 -- .../constructors/updates_differenceSlice.md | 43 -- .../constructors/updates_differenceTooLong.md | 38 -- .../constructors/updates_state.md | 42 -- .../constructors/upload.cdnFile.md | 38 ++ .../upload.cdnFileReuploadNeeded.md | 38 ++ .../API_docs_v105/constructors/upload.file.md | 40 ++ .../constructors/upload.fileCdnRedirect.md | 42 ++ .../constructors/upload.webFile.md | 42 ++ .../constructors/upload_cdnFile.md | 38 -- .../upload_cdnFileReuploadNeeded.md | 38 -- .../API_docs_v105/constructors/upload_file.md | 40 -- .../constructors/upload_fileCdnRedirect.md | 42 -- .../constructors/upload_webFile.md | 42 -- .../methods/account.getAuthorizationForm.md | 6 +- .../methods/account.getAuthorizations.md | 6 +- .../account.getAutoDownloadSettings.md | 6 +- .../methods/account.getPassword.md | 6 +- .../methods/account.getPasswordSettings.md | 6 +- .../methods/account.getPrivacy.md | 6 +- .../methods/account.getThemes.md | 6 +- .../methods/account.getTmpPassword.md | 6 +- .../methods/account.getWallPapers.md | 6 +- .../methods/account.getWebAuthorizations.md | 6 +- .../methods/account.initTakeoutSession.md | 6 +- .../methods/account.sendChangePhoneCode.md | 6 +- .../methods/account.sendConfirmPhoneCode.md | 6 +- .../methods/account.sendVerifyEmailCode.md | 6 +- .../methods/account.sendVerifyPhoneCode.md | 6 +- .../methods/account.setPrivacy.md | 6 +- old_docs/API_docs_v105/methods/api_README.md | 232 +++++----- .../methods/auth.checkPassword.md | 6 +- .../methods/auth.exportAuthorization.md | 6 +- .../methods/auth.importAuthorization.md | 6 +- .../methods/auth.importBotAuthorization.md | 6 +- .../methods/auth.recoverPassword.md | 6 +- .../methods/auth.requestPasswordRecovery.md | 6 +- .../API_docs_v105/methods/auth.resendCode.md | 6 +- .../API_docs_v105/methods/auth.sendCode.md | 6 +- old_docs/API_docs_v105/methods/auth.signIn.md | 6 +- old_docs/API_docs_v105/methods/auth.signUp.md | 6 +- .../methods/channels.deleteMessages.md | 6 +- .../methods/channels.deleteUserHistory.md | 6 +- .../methods/channels.getAdminLog.md | 6 +- .../channels.getAdminedPublicChannels.md | 6 +- .../methods/channels.getChannels.md | 6 +- .../methods/channels.getFullChannel.md | 6 +- .../channels.getGroupsForDiscussion.md | 6 +- .../methods/channels.getLeftChannels.md | 6 +- .../methods/channels.getMessages.md | 6 +- .../methods/channels.getParticipant.md | 6 +- .../methods/channels.getParticipants.md | 6 +- .../methods/contacts.getBlocked.md | 6 +- .../methods/contacts.getContacts.md | 6 +- .../methods/contacts.getTopPeers.md | 6 +- .../methods/contacts.importContacts.md | 6 +- .../methods/contacts.resolveUsername.md | 6 +- .../API_docs_v105/methods/contacts.search.md | 6 +- .../methods/help.editUserInfo.md | 8 +- .../methods/help.getAppUpdate.md | 6 +- .../methods/help.getDeepLinkInfo.md | 6 +- .../methods/help.getInviteText.md | 6 +- .../methods/help.getPassportConfig.md | 6 +- .../methods/help.getProxyData.md | 6 +- .../methods/help.getRecentMeUrls.md | 6 +- .../API_docs_v105/methods/help.getSupport.md | 6 +- .../methods/help.getSupportName.md | 6 +- .../methods/help.getTermsOfServiceUpdate.md | 6 +- .../API_docs_v105/methods/help.getUserInfo.md | 6 +- .../methods/messages.deleteHistory.md | 6 +- .../methods/messages.deleteMessages.md | 6 +- .../methods/messages.getAllChats.md | 6 +- .../methods/messages.getAllStickers.md | 6 +- .../methods/messages.getArchivedStickers.md | 6 +- .../methods/messages.getBotCallbackAnswer.md | 6 +- .../methods/messages.getChats.md | 6 +- .../methods/messages.getCommonChats.md | 6 +- .../methods/messages.getDhConfig.md | 6 +- .../methods/messages.getDialogs.md | 6 +- .../methods/messages.getFavedStickers.md | 6 +- .../methods/messages.getFeaturedStickers.md | 6 +- .../methods/messages.getFullChat.md | 6 +- .../methods/messages.getGameHighScores.md | 6 +- .../methods/messages.getHistory.md | 6 +- .../methods/messages.getInlineBotResults.md | 6 +- .../messages.getInlineGameHighScores.md | 6 +- .../methods/messages.getMaskStickers.md | 6 +- .../methods/messages.getMessageEditData.md | 6 +- .../methods/messages.getMessages.md | 6 +- .../methods/messages.getPeerDialogs.md | 6 +- .../methods/messages.getPinnedDialogs.md | 6 +- .../methods/messages.getRecentLocations.md | 6 +- .../methods/messages.getRecentStickers.md | 6 +- .../methods/messages.getSavedGifs.md | 6 +- .../methods/messages.getScheduledHistory.md | 6 +- .../methods/messages.getScheduledMessages.md | 6 +- .../methods/messages.getSearchCounters.md | 6 +- .../methods/messages.getStickerSet.md | 6 +- .../methods/messages.getStickers.md | 6 +- .../methods/messages.getUnreadMentions.md | 6 +- .../methods/messages.installStickerSet.md | 6 +- .../methods/messages.readHistory.md | 6 +- .../methods/messages.readMentions.md | 6 +- .../methods/messages.readMessageContents.md | 6 +- .../API_docs_v105/methods/messages.search.md | 6 +- .../methods/messages.searchGifs.md | 6 +- .../methods/messages.searchGlobal.md | 6 +- .../methods/messages.searchStickerSets.md | 6 +- .../methods/messages.sendEncrypted.md | 14 +- .../methods/messages.sendEncryptedFile.md | 14 +- .../methods/messages.sendEncryptedService.md | 14 +- .../methods/payments.getPaymentForm.md | 6 +- .../methods/payments.getPaymentReceipt.md | 6 +- .../methods/payments.getSavedInfo.md | 6 +- .../methods/payments.sendPaymentForm.md | 6 +- .../methods/payments.validateRequestedInfo.md | 6 +- .../API_docs_v105/methods/phone.acceptCall.md | 6 +- .../methods/phone.confirmCall.md | 6 +- .../methods/phone.requestCall.md | 6 +- .../methods/photos.getUserPhotos.md | 6 +- .../methods/photos.uploadProfilePhoto.md | 6 +- .../methods/stickers.addStickerToSet.md | 6 +- .../methods/stickers.changeStickerPosition.md | 6 +- .../methods/stickers.createStickerSet.md | 6 +- .../methods/stickers.removeStickerFromSet.md | 6 +- .../methods/updates.getChannelDifference.md | 6 +- .../methods/updates.getDifference.md | 6 +- .../API_docs_v105/methods/updates.getState.md | 6 +- .../methods/upload.getCdnFile.md | 6 +- .../API_docs_v105/methods/upload.getFile.md | 6 +- .../methods/upload.getWebFile.md | 6 +- .../API_docs_v105/types/AccountDaysTTL.md | 2 +- old_docs/API_docs_v105/types/CdnConfig.md | 2 +- old_docs/API_docs_v105/types/ChatInvite.md | 2 +- old_docs/API_docs_v105/types/ChatOnlines.md | 2 +- old_docs/API_docs_v105/types/Config.md | 2 +- old_docs/API_docs_v105/types/ContactStatus.md | 2 +- old_docs/API_docs_v105/types/DialogPeer.md | 2 +- old_docs/API_docs_v105/types/Document.md | 4 +- .../types/EmojiKeywordsDifference.md | 4 +- old_docs/API_docs_v105/types/EmojiLanguage.md | 2 +- old_docs/API_docs_v105/types/EmojiURL.md | 2 +- old_docs/API_docs_v105/types/EncryptedChat.md | 4 +- old_docs/API_docs_v105/types/EncryptedFile.md | 2 +- .../API_docs_v105/types/ExportedChatInvite.md | 2 +- .../types/ExportedMessageLink.md | 2 +- old_docs/API_docs_v105/types/FileHash.md | 6 +- old_docs/API_docs_v105/types/JSONValue.md | 2 +- .../API_docs_v105/types/LangPackDifference.md | 4 +- .../API_docs_v105/types/LangPackLanguage.md | 4 +- .../API_docs_v105/types/LangPackString.md | 2 +- old_docs/API_docs_v105/types/MessageMedia.md | 4 +- old_docs/API_docs_v105/types/MessageRange.md | 2 +- old_docs/API_docs_v105/types/NearestDc.md | 2 +- .../API_docs_v105/types/PeerNotifySettings.md | 2 +- old_docs/API_docs_v105/types/PeerSettings.md | 2 +- old_docs/API_docs_v105/types/README.md | 160 +++---- .../types/ReceivedNotifyMessage.md | 2 +- old_docs/API_docs_v105/types/SavedContact.md | 2 +- old_docs/API_docs_v105/types/SecureValue.md | 6 +- old_docs/API_docs_v105/types/StatsURL.md | 2 +- .../API_docs_v105/types/StickerSetCovered.md | 2 +- old_docs/API_docs_v105/types/Theme.md | 6 +- old_docs/API_docs_v105/types/Updates.md | 92 ++-- old_docs/API_docs_v105/types/UrlAuthResult.md | 4 +- old_docs/API_docs_v105/types/User.md | 8 +- old_docs/API_docs_v105/types/UserFull.md | 2 +- .../API_docs_v105/types/UserProfilePhoto.md | 2 +- old_docs/API_docs_v105/types/WallPaper.md | 4 +- old_docs/API_docs_v105/types/WebPage.md | 2 +- .../types/account.AuthorizationForm.md | 22 + .../types/account.Authorizations.md | 22 + .../types/account.AutoDownloadSettings.md | 22 + .../API_docs_v105/types/account.Password.md | 22 + .../types/account.PasswordInputSettings.md | 20 + .../types/account.PasswordSettings.md | 22 + .../types/account.PrivacyRules.md | 24 + .../types/account.SentEmailCode.md | 22 + .../API_docs_v105/types/account.Takeout.md | 22 + .../API_docs_v105/types/account.Themes.md | 24 + .../types/account.TmpPassword.md | 22 + .../API_docs_v105/types/account.WallPapers.md | 24 + .../types/account.WebAuthorizations.md | 22 + .../types/account_AuthorizationForm.md | 22 - .../types/account_Authorizations.md | 22 - .../types/account_AutoDownloadSettings.md | 22 - .../API_docs_v105/types/account_Password.md | 22 - .../types/account_PasswordInputSettings.md | 20 - .../types/account_PasswordSettings.md | 22 - .../types/account_PrivacyRules.md | 24 - .../types/account_SentEmailCode.md | 22 - .../API_docs_v105/types/account_Takeout.md | 22 - .../API_docs_v105/types/account_Themes.md | 24 - .../types/account_TmpPassword.md | 22 - .../API_docs_v105/types/account_WallPapers.md | 24 - .../types/account_WebAuthorizations.md | 22 - .../API_docs_v105/types/auth.Authorization.md | 34 ++ old_docs/API_docs_v105/types/auth.CodeType.md | 24 + .../types/auth.ExportedAuthorization.md | 22 + .../types/auth.PasswordRecovery.md | 22 + old_docs/API_docs_v105/types/auth.SentCode.md | 30 ++ .../API_docs_v105/types/auth.SentCodeType.md | 26 ++ .../API_docs_v105/types/auth_Authorization.md | 34 -- old_docs/API_docs_v105/types/auth_CodeType.md | 24 - .../types/auth_ExportedAuthorization.md | 22 - .../types/auth_PasswordRecovery.md | 22 - old_docs/API_docs_v105/types/auth_SentCode.md | 30 -- .../API_docs_v105/types/auth_SentCodeType.md | 26 -- .../types/channels.AdminLogResults.md | 22 + .../types/channels.ChannelParticipant.md | 22 + .../types/channels.ChannelParticipants.md | 24 + .../types/channels_AdminLogResults.md | 22 - .../types/channels_ChannelParticipant.md | 22 - .../types/channels_ChannelParticipants.md | 24 - .../API_docs_v105/types/contacts.Blocked.md | 24 + .../API_docs_v105/types/contacts.Contacts.md | 24 + .../API_docs_v105/types/contacts.Found.md | 22 + .../types/contacts.ImportedContacts.md | 22 + .../types/contacts.ResolvedPeer.md | 22 + .../API_docs_v105/types/contacts.TopPeers.md | 26 ++ .../API_docs_v105/types/contacts_Blocked.md | 24 - .../API_docs_v105/types/contacts_Contacts.md | 24 - .../API_docs_v105/types/contacts_Found.md | 22 - .../types/contacts_ImportedContacts.md | 22 - .../types/contacts_ResolvedPeer.md | 22 - .../API_docs_v105/types/contacts_TopPeers.md | 26 -- .../API_docs_v105/types/help.AppUpdate.md | 24 + .../API_docs_v105/types/help.ConfigSimple.md | 20 + .../API_docs_v105/types/help.DeepLinkInfo.md | 24 + .../API_docs_v105/types/help.InviteText.md | 22 + .../types/help.PassportConfig.md | 24 + .../API_docs_v105/types/help.ProxyData.md | 24 + .../API_docs_v105/types/help.RecentMeUrls.md | 22 + old_docs/API_docs_v105/types/help.Support.md | 22 + .../API_docs_v105/types/help.SupportName.md | 22 + .../types/help.TermsOfService.md | 20 + .../types/help.TermsOfServiceUpdate.md | 24 + old_docs/API_docs_v105/types/help.UserInfo.md | 26 ++ .../API_docs_v105/types/help_AppUpdate.md | 24 - .../API_docs_v105/types/help_ConfigSimple.md | 20 - .../API_docs_v105/types/help_DeepLinkInfo.md | 24 - .../API_docs_v105/types/help_InviteText.md | 22 - .../types/help_PassportConfig.md | 24 - .../API_docs_v105/types/help_ProxyData.md | 24 - .../API_docs_v105/types/help_RecentMeUrls.md | 22 - old_docs/API_docs_v105/types/help_Support.md | 22 - .../API_docs_v105/types/help_SupportName.md | 22 - .../types/help_TermsOfService.md | 20 - .../types/help_TermsOfServiceUpdate.md | 24 - old_docs/API_docs_v105/types/help_UserInfo.md | 26 -- .../types/messages.AffectedHistory.md | 26 ++ .../types/messages.AffectedMessages.md | 28 ++ .../types/messages.AllStickers.md | 26 ++ .../types/messages.ArchivedStickers.md | 22 + .../types/messages.BotCallbackAnswer.md | 22 + .../types/messages.BotResults.md | 22 + .../API_docs_v105/types/messages.ChatFull.md | 24 + .../API_docs_v105/types/messages.Chats.md | 36 ++ .../API_docs_v105/types/messages.DhConfig.md | 24 + .../API_docs_v105/types/messages.Dialogs.md | 26 ++ .../types/messages.FavedStickers.md | 24 + .../types/messages.FeaturedStickers.md | 24 + .../API_docs_v105/types/messages.FoundGifs.md | 22 + .../types/messages.FoundStickerSets.md | 24 + .../types/messages.HighScores.md | 24 + .../types/messages.MessageEditData.md | 22 + .../API_docs_v105/types/messages.Messages.md | 44 ++ .../types/messages.PeerDialogs.md | 24 + .../types/messages.RecentStickers.md | 24 + .../API_docs_v105/types/messages.SavedGifs.md | 24 + .../types/messages.SearchCounter.md | 22 + .../types/messages.SentEncryptedMessage.md | 28 ++ .../types/messages.StickerSet.md | 30 ++ .../types/messages.StickerSetInstallResult.md | 24 + .../API_docs_v105/types/messages.Stickers.md | 24 + .../types/messages_AffectedHistory.md | 26 -- .../types/messages_AffectedMessages.md | 28 -- .../types/messages_AllStickers.md | 26 -- .../types/messages_ArchivedStickers.md | 22 - .../types/messages_BotCallbackAnswer.md | 22 - .../types/messages_BotResults.md | 22 - .../API_docs_v105/types/messages_ChatFull.md | 24 - .../API_docs_v105/types/messages_Chats.md | 36 -- .../API_docs_v105/types/messages_DhConfig.md | 24 - .../API_docs_v105/types/messages_Dialogs.md | 26 -- .../types/messages_FavedStickers.md | 24 - .../types/messages_FeaturedStickers.md | 24 - .../API_docs_v105/types/messages_FoundGifs.md | 22 - .../types/messages_FoundStickerSets.md | 24 - .../types/messages_HighScores.md | 24 - .../types/messages_MessageEditData.md | 22 - .../API_docs_v105/types/messages_Messages.md | 44 -- .../types/messages_PeerDialogs.md | 24 - .../types/messages_RecentStickers.md | 24 - .../API_docs_v105/types/messages_SavedGifs.md | 24 - .../types/messages_SearchCounter.md | 22 - .../types/messages_SentEncryptedMessage.md | 28 -- .../types/messages_StickerSet.md | 30 -- .../types/messages_StickerSetInstallResult.md | 24 - .../API_docs_v105/types/messages_Stickers.md | 24 - .../types/payments.PaymentForm.md | 22 + .../types/payments.PaymentReceipt.md | 22 + .../types/payments.PaymentResult.md | 24 + .../API_docs_v105/types/payments.SavedInfo.md | 22 + .../types/payments.ValidatedRequestedInfo.md | 22 + .../types/payments_PaymentForm.md | 22 - .../types/payments_PaymentReceipt.md | 22 - .../types/payments_PaymentResult.md | 24 - .../API_docs_v105/types/payments_SavedInfo.md | 22 - .../types/payments_ValidatedRequestedInfo.md | 22 - .../API_docs_v105/types/phone.PhoneCall.md | 26 ++ .../API_docs_v105/types/phone_PhoneCall.md | 26 -- old_docs/API_docs_v105/types/photos.Photo.md | 22 + old_docs/API_docs_v105/types/photos.Photos.md | 24 + old_docs/API_docs_v105/types/photos_Photo.md | 22 - old_docs/API_docs_v105/types/photos_Photos.md | 24 - .../API_docs_v105/types/storage.FileType.md | 38 ++ .../API_docs_v105/types/storage_FileType.md | 38 -- .../types/updates.ChannelDifference.md | 26 ++ .../API_docs_v105/types/updates.Difference.md | 28 ++ old_docs/API_docs_v105/types/updates.State.md | 22 + .../types/updates_ChannelDifference.md | 26 -- .../API_docs_v105/types/updates_Difference.md | 28 -- old_docs/API_docs_v105/types/updates_State.md | 22 - .../API_docs_v105/types/upload.CdnFile.md | 24 + old_docs/API_docs_v105/types/upload.File.md | 24 + .../API_docs_v105/types/upload.WebFile.md | 22 + .../API_docs_v105/types/upload_CdnFile.md | 24 - old_docs/API_docs_v105/types/upload_File.md | 24 - .../API_docs_v105/types/upload_WebFile.md | 22 - old_docs/API_docs_v18/constructors/README.md | 176 ++++--- .../constructors/auth.authorization.md | 39 ++ .../constructors/auth.checkedPhone.md | 39 ++ .../auth.exportedAuthorization.md | 39 ++ .../constructors/auth.sentAppCode.md | 41 ++ .../constructors/auth.sentCode.md | 41 ++ .../constructors/auth_authorization.md | 39 -- .../constructors/auth_checkedPhone.md | 39 -- .../auth_exportedAuthorization.md | 39 -- .../constructors/auth_sentAppCode.md | 41 -- .../constructors/auth_sentCode.md | 41 -- .../constructors/contacts.blocked.md | 39 ++ .../constructors/contacts.blockedSlice.md | 40 ++ .../constructors/contacts.contacts.md | 39 ++ .../contacts.contactsNotModified.md | 33 ++ .../contacts.foreignLinkMutual.md | 33 ++ .../contacts.foreignLinkRequested.md | 38 ++ .../contacts.foreignLinkUnknown.md | 33 ++ .../constructors/contacts.found.md | 39 ++ .../constructors/contacts.importedContacts.md | 40 ++ .../constructors/contacts.link.md | 40 ++ .../constructors/contacts.myLinkContact.md | 33 ++ .../constructors/contacts.myLinkEmpty.md | 33 ++ .../constructors/contacts.myLinkRequested.md | 38 ++ .../constructors/contacts.suggested.md | 39 ++ .../constructors/contacts_blocked.md | 39 -- .../constructors/contacts_blockedSlice.md | 40 -- .../constructors/contacts_contacts.md | 39 -- .../contacts_contactsNotModified.md | 33 -- .../contacts_foreignLinkMutual.md | 33 -- .../contacts_foreignLinkRequested.md | 38 -- .../contacts_foreignLinkUnknown.md | 33 -- .../constructors/contacts_found.md | 39 -- .../constructors/contacts_importedContacts.md | 40 -- .../constructors/contacts_link.md | 40 -- .../constructors/contacts_myLinkContact.md | 33 -- .../constructors/contacts_myLinkEmpty.md | 33 -- .../constructors/contacts_myLinkRequested.md | 38 -- .../constructors/contacts_suggested.md | 39 -- .../constructors/help.appUpdate.md | 41 ++ .../constructors/help.inviteText.md | 38 ++ .../constructors/help.noAppUpdate.md | 33 ++ .../API_docs_v18/constructors/help.support.md | 39 ++ .../constructors/help_appUpdate.md | 41 -- .../constructors/help_inviteText.md | 38 -- .../constructors/help_noAppUpdate.md | 33 -- .../API_docs_v18/constructors/help_support.md | 39 -- .../constructors/messages.affectedHistory.md | 40 ++ .../constructors/messages.chatFull.md | 40 ++ .../constructors/messages.chats.md | 39 ++ .../constructors/messages.dhConfig.md | 41 ++ .../messages.dhConfigNotModified.md | 38 ++ .../constructors/messages.dialogs.md | 41 ++ .../constructors/messages.dialogsSlice.md | 42 ++ .../constructors/messages.messages.md | 40 ++ .../constructors/messages.messagesSlice.md | 41 ++ .../messages.sentEncryptedFile.md | 39 ++ .../messages.sentEncryptedMessage.md | 38 ++ .../constructors/messages.sentMessage.md | 41 ++ .../constructors/messages.sentMessageLink.md | 42 ++ .../constructors/messages.statedMessage.md | 42 ++ .../messages.statedMessageLink.md | 43 ++ .../constructors/messages.statedMessages.md | 42 ++ .../messages.statedMessagesLinks.md | 43 ++ .../constructors/messages_affectedHistory.md | 40 -- .../constructors/messages_chatFull.md | 40 -- .../constructors/messages_chats.md | 39 -- .../constructors/messages_dhConfig.md | 41 -- .../messages_dhConfigNotModified.md | 38 -- .../constructors/messages_dialogs.md | 41 -- .../constructors/messages_dialogsSlice.md | 42 -- .../constructors/messages_messages.md | 40 -- .../constructors/messages_messagesSlice.md | 41 -- .../messages_sentEncryptedFile.md | 39 -- .../messages_sentEncryptedMessage.md | 38 -- .../constructors/messages_sentMessage.md | 41 -- .../constructors/messages_sentMessageLink.md | 42 -- .../constructors/messages_statedMessage.md | 42 -- .../messages_statedMessageLink.md | 43 -- .../constructors/messages_statedMessages.md | 42 -- .../messages_statedMessagesLinks.md | 43 -- .../API_docs_v18/constructors/photos.photo.md | 39 ++ .../constructors/photos.photos.md | 39 ++ .../constructors/photos.photosSlice.md | 40 ++ .../API_docs_v18/constructors/photos_photo.md | 39 -- .../constructors/photos_photos.md | 39 -- .../constructors/photos_photosSlice.md | 40 -- .../constructors/storage.fileGif.md | 33 ++ .../constructors/storage.fileJpeg.md | 33 ++ .../constructors/storage.fileMov.md | 33 ++ .../constructors/storage.fileMp3.md | 33 ++ .../constructors/storage.fileMp4.md | 33 ++ .../constructors/storage.filePartial.md | 33 ++ .../constructors/storage.filePdf.md | 33 ++ .../constructors/storage.filePng.md | 33 ++ .../constructors/storage.fileUnknown.md | 33 ++ .../constructors/storage.fileWebp.md | 33 ++ .../constructors/storage_fileGif.md | 33 -- .../constructors/storage_fileJpeg.md | 33 -- .../constructors/storage_fileMov.md | 33 -- .../constructors/storage_fileMp3.md | 33 -- .../constructors/storage_fileMp4.md | 33 -- .../constructors/storage_filePartial.md | 33 -- .../constructors/storage_filePdf.md | 33 -- .../constructors/storage_filePng.md | 33 -- .../constructors/storage_fileUnknown.md | 33 -- .../constructors/storage_fileWebp.md | 33 -- .../constructors/updateContactLink.md | 8 +- .../constructors/updates.difference.md | 43 ++ .../constructors/updates.differenceEmpty.md | 39 ++ .../constructors/updates.differenceSlice.md | 43 ++ .../constructors/updates.state.md | 42 ++ .../constructors/updates_difference.md | 43 -- .../constructors/updates_differenceEmpty.md | 39 -- .../constructors/updates_differenceSlice.md | 43 -- .../constructors/updates_state.md | 42 -- .../API_docs_v18/constructors/upload.file.md | 40 ++ .../API_docs_v18/constructors/upload_file.md | 40 -- .../API_docs_v18/constructors/userFull.md | 6 +- old_docs/API_docs_v18/methods/api_README.md | 84 ++-- .../API_docs_v18/methods/auth.checkPhone.md | 6 +- .../methods/auth.exportAuthorization.md | 6 +- .../methods/auth.importAuthorization.md | 6 +- .../API_docs_v18/methods/auth.sendCode.md | 6 +- old_docs/API_docs_v18/methods/auth.signIn.md | 6 +- old_docs/API_docs_v18/methods/auth.signUp.md | 6 +- .../methods/contacts.deleteContact.md | 6 +- .../methods/contacts.getBlocked.md | 6 +- .../methods/contacts.getContacts.md | 6 +- .../methods/contacts.getSuggested.md | 6 +- .../methods/contacts.importContacts.md | 6 +- .../API_docs_v18/methods/contacts.search.md | 6 +- .../API_docs_v18/methods/help.getAppUpdate.md | 6 +- .../methods/help.getInviteText.md | 6 +- .../API_docs_v18/methods/help.getSupport.md | 6 +- .../methods/messages.addChatUser.md | 6 +- .../methods/messages.createChat.md | 6 +- .../methods/messages.deleteChatUser.md | 6 +- .../methods/messages.deleteHistory.md | 6 +- .../methods/messages.editChatPhoto.md | 6 +- .../methods/messages.editChatTitle.md | 6 +- .../methods/messages.forwardMessage.md | 6 +- .../methods/messages.forwardMessages.md | 6 +- .../API_docs_v18/methods/messages.getChats.md | 6 +- .../methods/messages.getDhConfig.md | 6 +- .../methods/messages.getDialogs.md | 6 +- .../methods/messages.getFullChat.md | 6 +- .../methods/messages.getHistory.md | 6 +- .../methods/messages.getMessages.md | 6 +- .../methods/messages.readHistory.md | 6 +- .../API_docs_v18/methods/messages.search.md | 6 +- .../methods/messages.sendBroadcast.md | 8 +- .../methods/messages.sendEncrypted.md | 14 +- .../methods/messages.sendEncryptedFile.md | 14 +- .../methods/messages.sendEncryptedService.md | 14 +- .../methods/messages.sendMedia.md | 6 +- .../methods/messages.sendMessage.md | 8 +- .../methods/photos.getUserPhotos.md | 6 +- .../methods/photos.uploadProfilePhoto.md | 6 +- .../methods/updates.getDifference.md | 6 +- .../API_docs_v18/methods/updates.getState.md | 6 +- .../API_docs_v18/methods/upload.getFile.md | 6 +- old_docs/API_docs_v18/types/Config.md | 2 +- old_docs/API_docs_v18/types/ContactStatus.md | 2 +- old_docs/API_docs_v18/types/EncryptedChat.md | 4 +- old_docs/API_docs_v18/types/NearestDc.md | 2 +- .../API_docs_v18/types/PeerNotifySettings.md | 2 +- old_docs/API_docs_v18/types/README.md | 62 +-- old_docs/API_docs_v18/types/User.md | 8 +- old_docs/API_docs_v18/types/UserFull.md | 2 +- .../API_docs_v18/types/UserProfilePhoto.md | 2 +- old_docs/API_docs_v18/types/WallPaper.md | 2 +- .../API_docs_v18/types/auth.Authorization.md | 26 ++ .../API_docs_v18/types/auth.CheckedPhone.md | 22 + .../types/auth.ExportedAuthorization.md | 22 + old_docs/API_docs_v18/types/auth.SentCode.md | 24 + .../API_docs_v18/types/auth_Authorization.md | 26 -- .../API_docs_v18/types/auth_CheckedPhone.md | 22 - .../types/auth_ExportedAuthorization.md | 22 - old_docs/API_docs_v18/types/auth_SentCode.md | 24 - .../API_docs_v18/types/contacts.Blocked.md | 24 + .../API_docs_v18/types/contacts.Contacts.md | 24 + .../types/contacts.ForeignLink.md | 24 + old_docs/API_docs_v18/types/contacts.Found.md | 22 + .../types/contacts.ImportedContacts.md | 22 + old_docs/API_docs_v18/types/contacts.Link.md | 22 + .../API_docs_v18/types/contacts.MyLink.md | 24 + .../API_docs_v18/types/contacts.Suggested.md | 22 + .../API_docs_v18/types/contacts_Blocked.md | 24 - .../API_docs_v18/types/contacts_Contacts.md | 24 - .../types/contacts_ForeignLink.md | 24 - old_docs/API_docs_v18/types/contacts_Found.md | 22 - .../types/contacts_ImportedContacts.md | 22 - old_docs/API_docs_v18/types/contacts_Link.md | 22 - .../API_docs_v18/types/contacts_MyLink.md | 24 - .../API_docs_v18/types/contacts_Suggested.md | 22 - old_docs/API_docs_v18/types/help.AppUpdate.md | 24 + .../API_docs_v18/types/help.InviteText.md | 22 + old_docs/API_docs_v18/types/help.Support.md | 22 + old_docs/API_docs_v18/types/help_AppUpdate.md | 24 - .../API_docs_v18/types/help_InviteText.md | 22 - old_docs/API_docs_v18/types/help_Support.md | 22 - .../types/messages.AffectedHistory.md | 24 + .../API_docs_v18/types/messages.ChatFull.md | 22 + old_docs/API_docs_v18/types/messages.Chats.md | 22 + .../API_docs_v18/types/messages.DhConfig.md | 24 + .../API_docs_v18/types/messages.Dialogs.md | 24 + .../API_docs_v18/types/messages.Messages.md | 28 ++ .../types/messages.SentEncryptedMessage.md | 28 ++ .../types/messages.SentMessage.md | 24 + .../types/messages.StatedMessage.md | 36 ++ .../types/messages.StatedMessages.md | 26 ++ .../types/messages_AffectedHistory.md | 24 - .../API_docs_v18/types/messages_ChatFull.md | 22 - old_docs/API_docs_v18/types/messages_Chats.md | 22 - .../API_docs_v18/types/messages_DhConfig.md | 24 - .../API_docs_v18/types/messages_Dialogs.md | 24 - .../API_docs_v18/types/messages_Messages.md | 28 -- .../types/messages_SentEncryptedMessage.md | 28 -- .../types/messages_SentMessage.md | 24 - .../types/messages_StatedMessage.md | 36 -- .../types/messages_StatedMessages.md | 26 -- old_docs/API_docs_v18/types/photos.Photo.md | 22 + old_docs/API_docs_v18/types/photos.Photos.md | 24 + old_docs/API_docs_v18/types/photos_Photo.md | 22 - old_docs/API_docs_v18/types/photos_Photos.md | 24 - .../API_docs_v18/types/storage.FileType.md | 38 ++ .../API_docs_v18/types/storage_FileType.md | 38 -- .../API_docs_v18/types/updates.Difference.md | 26 ++ old_docs/API_docs_v18/types/updates.State.md | 22 + .../API_docs_v18/types/updates_Difference.md | 26 -- old_docs/API_docs_v18/types/updates_State.md | 22 - old_docs/API_docs_v18/types/upload.File.md | 22 + old_docs/API_docs_v18/types/upload_File.md | 22 - old_docs/API_docs_v23/constructors/README.md | 195 +++++--- .../constructors/account.privacyRules.md | 39 ++ .../account.sentChangePhoneCode.md | 39 ++ .../constructors/account_privacyRules.md | 39 -- .../account_sentChangePhoneCode.md | 39 -- .../constructors/auth.authorization.md | 39 ++ .../constructors/auth.checkedPhone.md | 39 ++ .../auth.exportedAuthorization.md | 39 ++ .../constructors/auth.sentAppCode.md | 41 ++ .../constructors/auth.sentCode.md | 41 ++ .../constructors/auth_authorization.md | 39 -- .../constructors/auth_checkedPhone.md | 39 -- .../auth_exportedAuthorization.md | 39 -- .../constructors/auth_sentAppCode.md | 41 -- .../constructors/auth_sentCode.md | 41 -- .../constructors/contacts.blocked.md | 39 ++ .../constructors/contacts.blockedSlice.md | 40 ++ .../constructors/contacts.contacts.md | 39 ++ .../contacts.contactsNotModified.md | 33 ++ .../contacts.foreignLinkMutual.md | 33 ++ .../contacts.foreignLinkRequested.md | 38 ++ .../contacts.foreignLinkUnknown.md | 33 ++ .../constructors/contacts.found.md | 39 ++ .../constructors/contacts.importedContacts.md | 40 ++ .../constructors/contacts.link.md | 40 ++ .../constructors/contacts.myLinkContact.md | 33 ++ .../constructors/contacts.myLinkEmpty.md | 33 ++ .../constructors/contacts.myLinkRequested.md | 38 ++ .../constructors/contacts.suggested.md | 39 ++ .../constructors/contacts_blocked.md | 39 -- .../constructors/contacts_blockedSlice.md | 40 -- .../constructors/contacts_contacts.md | 39 -- .../contacts_contactsNotModified.md | 33 -- .../contacts_foreignLinkMutual.md | 33 -- .../contacts_foreignLinkRequested.md | 38 -- .../contacts_foreignLinkUnknown.md | 33 -- .../constructors/contacts_found.md | 39 -- .../constructors/contacts_importedContacts.md | 40 -- .../constructors/contacts_link.md | 40 -- .../constructors/contacts_myLinkContact.md | 33 -- .../constructors/contacts_myLinkEmpty.md | 33 -- .../constructors/contacts_myLinkRequested.md | 38 -- .../constructors/contacts_suggested.md | 39 -- .../constructors/help.appUpdate.md | 41 ++ .../constructors/help.inviteText.md | 38 ++ .../constructors/help.noAppUpdate.md | 33 ++ .../API_docs_v23/constructors/help.support.md | 39 ++ .../constructors/help_appUpdate.md | 41 -- .../constructors/help_inviteText.md | 38 -- .../constructors/help_noAppUpdate.md | 33 -- .../API_docs_v23/constructors/help_support.md | 39 -- .../constructors/messages.affectedHistory.md | 40 ++ .../constructors/messages.allStickers.md | 40 ++ .../messages.allStickersNotModified.md | 33 ++ .../constructors/messages.chatFull.md | 40 ++ .../constructors/messages.chats.md | 39 ++ .../constructors/messages.dhConfig.md | 41 ++ .../messages.dhConfigNotModified.md | 38 ++ .../constructors/messages.dialogs.md | 41 ++ .../constructors/messages.dialogsSlice.md | 42 ++ .../constructors/messages.messages.md | 40 ++ .../constructors/messages.messagesSlice.md | 41 ++ .../messages.sentEncryptedFile.md | 39 ++ .../messages.sentEncryptedMessage.md | 38 ++ .../constructors/messages.sentMessage.md | 41 ++ .../constructors/messages.sentMessageLink.md | 42 ++ .../constructors/messages.statedMessage.md | 42 ++ .../messages.statedMessageLink.md | 43 ++ .../constructors/messages.statedMessages.md | 42 ++ .../messages.statedMessagesLinks.md | 43 ++ .../constructors/messages.stickers.md | 39 ++ .../messages.stickersNotModified.md | 33 ++ .../constructors/messages_affectedHistory.md | 40 -- .../constructors/messages_allStickers.md | 40 -- .../messages_allStickersNotModified.md | 33 -- .../constructors/messages_chatFull.md | 40 -- .../constructors/messages_chats.md | 39 -- .../constructors/messages_dhConfig.md | 41 -- .../messages_dhConfigNotModified.md | 38 -- .../constructors/messages_dialogs.md | 41 -- .../constructors/messages_dialogsSlice.md | 42 -- .../constructors/messages_messages.md | 40 -- .../constructors/messages_messagesSlice.md | 41 -- .../messages_sentEncryptedFile.md | 39 -- .../messages_sentEncryptedMessage.md | 38 -- .../constructors/messages_sentMessage.md | 41 -- .../constructors/messages_sentMessageLink.md | 42 -- .../constructors/messages_statedMessage.md | 42 -- .../messages_statedMessageLink.md | 43 -- .../constructors/messages_statedMessages.md | 42 -- .../messages_statedMessagesLinks.md | 43 -- .../constructors/messages_stickers.md | 39 -- .../messages_stickersNotModified.md | 33 -- .../API_docs_v23/constructors/photos.photo.md | 39 ++ .../constructors/photos.photos.md | 39 ++ .../constructors/photos.photosSlice.md | 40 ++ .../API_docs_v23/constructors/photos_photo.md | 39 -- .../constructors/photos_photos.md | 39 -- .../constructors/photos_photosSlice.md | 40 -- .../constructors/storage.fileGif.md | 33 ++ .../constructors/storage.fileJpeg.md | 33 ++ .../constructors/storage.fileMov.md | 33 ++ .../constructors/storage.fileMp3.md | 33 ++ .../constructors/storage.fileMp4.md | 33 ++ .../constructors/storage.filePartial.md | 33 ++ .../constructors/storage.filePdf.md | 33 ++ .../constructors/storage.filePng.md | 33 ++ .../constructors/storage.fileUnknown.md | 33 ++ .../constructors/storage.fileWebp.md | 33 ++ .../constructors/storage_fileGif.md | 33 -- .../constructors/storage_fileJpeg.md | 33 -- .../constructors/storage_fileMov.md | 33 -- .../constructors/storage_fileMp3.md | 33 -- .../constructors/storage_fileMp4.md | 33 -- .../constructors/storage_filePartial.md | 33 -- .../constructors/storage_filePdf.md | 33 -- .../constructors/storage_filePng.md | 33 -- .../constructors/storage_fileUnknown.md | 33 -- .../constructors/storage_fileWebp.md | 33 -- .../constructors/updateContactLink.md | 8 +- .../constructors/updates.difference.md | 43 ++ .../constructors/updates.differenceEmpty.md | 39 ++ .../constructors/updates.differenceSlice.md | 43 ++ .../constructors/updates.state.md | 42 ++ .../constructors/updates_difference.md | 43 -- .../constructors/updates_differenceEmpty.md | 39 -- .../constructors/updates_differenceSlice.md | 43 -- .../constructors/updates_state.md | 42 -- .../API_docs_v23/constructors/upload.file.md | 40 ++ .../API_docs_v23/constructors/upload_file.md | 40 -- .../API_docs_v23/constructors/userFull.md | 6 +- .../methods/account.getPrivacy.md | 6 +- .../methods/account.sendChangePhoneCode.md | 6 +- .../methods/account.setPrivacy.md | 6 +- old_docs/API_docs_v23/methods/api_README.md | 94 ++-- .../API_docs_v23/methods/auth.checkPhone.md | 6 +- .../methods/auth.exportAuthorization.md | 6 +- .../methods/auth.importAuthorization.md | 6 +- .../API_docs_v23/methods/auth.sendCode.md | 6 +- old_docs/API_docs_v23/methods/auth.signIn.md | 6 +- old_docs/API_docs_v23/methods/auth.signUp.md | 6 +- .../methods/contacts.deleteContact.md | 6 +- .../methods/contacts.getBlocked.md | 6 +- .../methods/contacts.getContacts.md | 6 +- .../methods/contacts.getSuggested.md | 6 +- .../methods/contacts.importContacts.md | 6 +- .../API_docs_v23/methods/contacts.search.md | 6 +- .../API_docs_v23/methods/help.getAppUpdate.md | 6 +- .../methods/help.getInviteText.md | 6 +- .../API_docs_v23/methods/help.getSupport.md | 6 +- .../methods/messages.addChatUser.md | 6 +- .../methods/messages.createChat.md | 6 +- .../methods/messages.deleteChatUser.md | 6 +- .../methods/messages.deleteHistory.md | 6 +- .../methods/messages.editChatPhoto.md | 6 +- .../methods/messages.editChatTitle.md | 6 +- .../methods/messages.forwardMessage.md | 6 +- .../methods/messages.forwardMessages.md | 6 +- .../methods/messages.getAllStickers.md | 6 +- .../API_docs_v23/methods/messages.getChats.md | 6 +- .../methods/messages.getDhConfig.md | 6 +- .../methods/messages.getDialogs.md | 6 +- .../methods/messages.getFullChat.md | 6 +- .../methods/messages.getHistory.md | 6 +- .../methods/messages.getMessages.md | 6 +- .../methods/messages.getStickers.md | 6 +- .../methods/messages.readHistory.md | 6 +- .../API_docs_v23/methods/messages.search.md | 6 +- .../methods/messages.sendBroadcast.md | 8 +- .../methods/messages.sendEncrypted.md | 14 +- .../methods/messages.sendEncryptedFile.md | 14 +- .../methods/messages.sendEncryptedService.md | 14 +- .../methods/messages.sendMedia.md | 6 +- .../methods/messages.sendMessage.md | 8 +- .../methods/photos.getUserPhotos.md | 6 +- .../methods/photos.uploadProfilePhoto.md | 6 +- .../methods/updates.getDifference.md | 6 +- .../API_docs_v23/methods/updates.getState.md | 6 +- .../API_docs_v23/methods/upload.getFile.md | 6 +- old_docs/API_docs_v23/types/AccountDaysTTL.md | 2 +- old_docs/API_docs_v23/types/Config.md | 2 +- old_docs/API_docs_v23/types/ContactStatus.md | 2 +- old_docs/API_docs_v23/types/EncryptedChat.md | 4 +- old_docs/API_docs_v23/types/NearestDc.md | 2 +- .../API_docs_v23/types/PeerNotifySettings.md | 2 +- old_docs/API_docs_v23/types/README.md | 70 +-- old_docs/API_docs_v23/types/User.md | 12 +- old_docs/API_docs_v23/types/UserFull.md | 2 +- .../API_docs_v23/types/UserProfilePhoto.md | 2 +- old_docs/API_docs_v23/types/WallPaper.md | 2 +- .../types/account.PrivacyRules.md | 24 + .../types/account.SentChangePhoneCode.md | 22 + .../types/account_PrivacyRules.md | 24 - .../types/account_SentChangePhoneCode.md | 22 - .../API_docs_v23/types/auth.Authorization.md | 26 ++ .../API_docs_v23/types/auth.CheckedPhone.md | 22 + .../types/auth.ExportedAuthorization.md | 22 + old_docs/API_docs_v23/types/auth.SentCode.md | 24 + .../API_docs_v23/types/auth_Authorization.md | 26 -- .../API_docs_v23/types/auth_CheckedPhone.md | 22 - .../types/auth_ExportedAuthorization.md | 22 - old_docs/API_docs_v23/types/auth_SentCode.md | 24 - .../API_docs_v23/types/contacts.Blocked.md | 24 + .../API_docs_v23/types/contacts.Contacts.md | 24 + .../types/contacts.ForeignLink.md | 24 + old_docs/API_docs_v23/types/contacts.Found.md | 22 + .../types/contacts.ImportedContacts.md | 22 + old_docs/API_docs_v23/types/contacts.Link.md | 22 + .../API_docs_v23/types/contacts.MyLink.md | 24 + .../API_docs_v23/types/contacts.Suggested.md | 22 + .../API_docs_v23/types/contacts_Blocked.md | 24 - .../API_docs_v23/types/contacts_Contacts.md | 24 - .../types/contacts_ForeignLink.md | 24 - old_docs/API_docs_v23/types/contacts_Found.md | 22 - .../types/contacts_ImportedContacts.md | 22 - old_docs/API_docs_v23/types/contacts_Link.md | 22 - .../API_docs_v23/types/contacts_MyLink.md | 24 - .../API_docs_v23/types/contacts_Suggested.md | 22 - old_docs/API_docs_v23/types/help.AppUpdate.md | 24 + .../API_docs_v23/types/help.InviteText.md | 22 + old_docs/API_docs_v23/types/help.Support.md | 22 + old_docs/API_docs_v23/types/help_AppUpdate.md | 24 - .../API_docs_v23/types/help_InviteText.md | 22 - old_docs/API_docs_v23/types/help_Support.md | 22 - .../types/messages.AffectedHistory.md | 24 + .../types/messages.AllStickers.md | 24 + .../API_docs_v23/types/messages.ChatFull.md | 22 + old_docs/API_docs_v23/types/messages.Chats.md | 22 + .../API_docs_v23/types/messages.DhConfig.md | 24 + .../API_docs_v23/types/messages.Dialogs.md | 24 + .../API_docs_v23/types/messages.Messages.md | 28 ++ .../types/messages.SentEncryptedMessage.md | 28 ++ .../types/messages.SentMessage.md | 24 + .../types/messages.StatedMessage.md | 36 ++ .../types/messages.StatedMessages.md | 26 ++ .../API_docs_v23/types/messages.Stickers.md | 24 + .../types/messages_AffectedHistory.md | 24 - .../types/messages_AllStickers.md | 24 - .../API_docs_v23/types/messages_ChatFull.md | 22 - old_docs/API_docs_v23/types/messages_Chats.md | 22 - .../API_docs_v23/types/messages_DhConfig.md | 24 - .../API_docs_v23/types/messages_Dialogs.md | 24 - .../API_docs_v23/types/messages_Messages.md | 28 -- .../types/messages_SentEncryptedMessage.md | 28 -- .../types/messages_SentMessage.md | 24 - .../types/messages_StatedMessage.md | 36 -- .../types/messages_StatedMessages.md | 26 -- .../API_docs_v23/types/messages_Stickers.md | 24 - old_docs/API_docs_v23/types/photos.Photo.md | 22 + old_docs/API_docs_v23/types/photos.Photos.md | 24 + old_docs/API_docs_v23/types/photos_Photo.md | 22 - old_docs/API_docs_v23/types/photos_Photos.md | 24 - .../API_docs_v23/types/storage.FileType.md | 38 ++ .../API_docs_v23/types/storage_FileType.md | 38 -- .../API_docs_v23/types/updates.Difference.md | 26 ++ old_docs/API_docs_v23/types/updates.State.md | 22 + .../API_docs_v23/types/updates_Difference.md | 26 -- old_docs/API_docs_v23/types/updates_State.md | 22 - old_docs/API_docs_v23/types/upload.File.md | 22 + old_docs/API_docs_v23/types/upload_File.md | 22 - old_docs/API_docs_v25/constructors/README.md | 206 ++++++--- .../constructors/account.noPassword.md | 38 ++ .../constructors/account.password.md | 40 ++ .../constructors/account.privacyRules.md | 39 ++ .../account.sentChangePhoneCode.md | 39 ++ .../constructors/account_noPassword.md | 38 -- .../constructors/account_password.md | 40 -- .../constructors/account_privacyRules.md | 39 -- .../account_sentChangePhoneCode.md | 39 -- .../constructors/auth.authorization.md | 39 ++ .../constructors/auth.checkedPhone.md | 38 ++ .../auth.exportedAuthorization.md | 39 ++ .../constructors/auth.sentAppCode.md | 41 ++ .../constructors/auth.sentCode.md | 41 ++ .../constructors/auth_authorization.md | 39 -- .../constructors/auth_checkedPhone.md | 38 -- .../auth_exportedAuthorization.md | 39 -- .../constructors/auth_sentAppCode.md | 41 -- .../constructors/auth_sentCode.md | 41 -- .../constructors/contacts.blocked.md | 39 ++ .../constructors/contacts.blockedSlice.md | 40 ++ .../constructors/contacts.contacts.md | 39 ++ .../contacts.contactsNotModified.md | 33 ++ .../constructors/contacts.found.md | 39 ++ .../constructors/contacts.importedContacts.md | 40 ++ .../constructors/contacts.link.md | 40 ++ .../constructors/contacts.suggested.md | 39 ++ .../constructors/contacts_blocked.md | 39 -- .../constructors/contacts_blockedSlice.md | 40 -- .../constructors/contacts_contacts.md | 39 -- .../contacts_contactsNotModified.md | 33 -- .../constructors/contacts_found.md | 39 -- .../constructors/contacts_importedContacts.md | 40 -- .../constructors/contacts_link.md | 40 -- .../constructors/contacts_suggested.md | 39 -- .../constructors/geochats.located.md | 41 ++ .../constructors/geochats.messages.md | 40 ++ .../constructors/geochats.messagesSlice.md | 41 ++ .../constructors/geochats.statedMessage.md | 41 ++ .../constructors/geochats_located.md | 41 -- .../constructors/geochats_messages.md | 40 -- .../constructors/geochats_messagesSlice.md | 41 -- .../constructors/geochats_statedMessage.md | 41 -- .../constructors/help.appUpdate.md | 41 ++ .../constructors/help.inviteText.md | 38 ++ .../constructors/help.noAppUpdate.md | 33 ++ .../API_docs_v25/constructors/help.support.md | 39 ++ .../constructors/help_appUpdate.md | 41 -- .../constructors/help_inviteText.md | 38 -- .../constructors/help_noAppUpdate.md | 33 -- .../API_docs_v25/constructors/help_support.md | 39 -- .../constructors/messages.affectedHistory.md | 40 ++ .../constructors/messages.affectedMessages.md | 39 ++ .../constructors/messages.allStickers.md | 40 ++ .../messages.allStickersNotModified.md | 33 ++ .../constructors/messages.chatFull.md | 40 ++ .../constructors/messages.chats.md | 38 ++ .../constructors/messages.dhConfig.md | 41 ++ .../messages.dhConfigNotModified.md | 38 ++ .../constructors/messages.dialogs.md | 41 ++ .../constructors/messages.dialogsSlice.md | 42 ++ .../constructors/messages.messageEmpty.md | 33 ++ .../constructors/messages.messages.md | 40 ++ .../constructors/messages.messagesSlice.md | 41 ++ .../messages.sentEncryptedFile.md | 39 ++ .../messages.sentEncryptedMessage.md | 38 ++ .../constructors/messages.sentMessage.md | 41 ++ .../constructors/messages.sentMessageLink.md | 43 ++ .../constructors/messages.statedMessage.md | 42 ++ .../messages.statedMessageLink.md | 44 ++ .../constructors/messages.statedMessages.md | 42 ++ .../messages.statedMessagesLinks.md | 44 ++ .../constructors/messages.stickers.md | 39 ++ .../messages.stickersNotModified.md | 33 ++ .../constructors/messages_affectedHistory.md | 40 -- .../constructors/messages_affectedMessages.md | 39 -- .../constructors/messages_allStickers.md | 40 -- .../messages_allStickersNotModified.md | 33 -- .../constructors/messages_chatFull.md | 40 -- .../constructors/messages_chats.md | 38 -- .../constructors/messages_dhConfig.md | 41 -- .../messages_dhConfigNotModified.md | 38 -- .../constructors/messages_dialogs.md | 41 -- .../constructors/messages_dialogsSlice.md | 42 -- .../constructors/messages_messageEmpty.md | 33 -- .../constructors/messages_messages.md | 40 -- .../constructors/messages_messagesSlice.md | 41 -- .../messages_sentEncryptedFile.md | 39 -- .../messages_sentEncryptedMessage.md | 38 -- .../constructors/messages_sentMessage.md | 41 -- .../constructors/messages_sentMessageLink.md | 43 -- .../constructors/messages_statedMessage.md | 42 -- .../messages_statedMessageLink.md | 44 -- .../constructors/messages_statedMessages.md | 42 -- .../messages_statedMessagesLinks.md | 44 -- .../constructors/messages_stickers.md | 39 -- .../messages_stickersNotModified.md | 33 -- .../API_docs_v25/constructors/photos.photo.md | 39 ++ .../constructors/photos.photos.md | 39 ++ .../constructors/photos.photosSlice.md | 40 ++ .../API_docs_v25/constructors/photos_photo.md | 39 -- .../constructors/photos_photos.md | 39 -- .../constructors/photos_photosSlice.md | 40 -- .../constructors/storage.fileGif.md | 33 ++ .../constructors/storage.fileJpeg.md | 33 ++ .../constructors/storage.fileMov.md | 33 ++ .../constructors/storage.fileMp3.md | 33 ++ .../constructors/storage.fileMp4.md | 33 ++ .../constructors/storage.filePartial.md | 33 ++ .../constructors/storage.filePdf.md | 33 ++ .../constructors/storage.filePng.md | 33 ++ .../constructors/storage.fileUnknown.md | 33 ++ .../constructors/storage.fileWebp.md | 33 ++ .../constructors/storage_fileGif.md | 33 -- .../constructors/storage_fileJpeg.md | 33 -- .../constructors/storage_fileMov.md | 33 -- .../constructors/storage_fileMp3.md | 33 -- .../constructors/storage_fileMp4.md | 33 -- .../constructors/storage_filePartial.md | 33 -- .../constructors/storage_filePdf.md | 33 -- .../constructors/storage_filePng.md | 33 -- .../constructors/storage_fileUnknown.md | 33 -- .../constructors/storage_fileWebp.md | 33 -- .../constructors/updates.difference.md | 43 ++ .../constructors/updates.differenceEmpty.md | 39 ++ .../constructors/updates.differenceSlice.md | 43 ++ .../constructors/updates.state.md | 42 ++ .../constructors/updates_difference.md | 43 -- .../constructors/updates_differenceEmpty.md | 39 -- .../constructors/updates_differenceSlice.md | 43 -- .../constructors/updates_state.md | 42 -- .../API_docs_v25/constructors/upload.file.md | 40 ++ .../API_docs_v25/constructors/upload_file.md | 40 -- .../API_docs_v25/constructors/userFull.md | 6 +- .../methods/account.getPassword.md | 6 +- .../methods/account.getPrivacy.md | 6 +- .../methods/account.sendChangePhoneCode.md | 6 +- .../methods/account.setPrivacy.md | 6 +- old_docs/API_docs_v25/methods/api_README.md | 124 ++--- .../methods/auth.checkPassword.md | 6 +- .../API_docs_v25/methods/auth.checkPhone.md | 6 +- .../methods/auth.exportAuthorization.md | 6 +- .../methods/auth.importAuthorization.md | 6 +- .../API_docs_v25/methods/auth.sendCode.md | 6 +- old_docs/API_docs_v25/methods/auth.signIn.md | 6 +- old_docs/API_docs_v25/methods/auth.signUp.md | 6 +- .../methods/contacts.deleteContact.md | 6 +- .../methods/contacts.getBlocked.md | 6 +- .../methods/contacts.getContacts.md | 6 +- .../methods/contacts.getSuggested.md | 6 +- .../methods/contacts.importContacts.md | 6 +- .../API_docs_v25/methods/contacts.search.md | 6 +- .../API_docs_v25/methods/geochats.checkin.md | 6 +- .../methods/geochats.createGeoChat.md | 6 +- .../methods/geochats.editChatPhoto.md | 6 +- .../methods/geochats.editChatTitle.md | 6 +- .../methods/geochats.getFullChat.md | 6 +- .../methods/geochats.getHistory.md | 6 +- .../methods/geochats.getLocated.md | 6 +- .../methods/geochats.getRecents.md | 6 +- .../API_docs_v25/methods/geochats.search.md | 6 +- .../methods/geochats.sendMedia.md | 6 +- .../methods/geochats.sendMessage.md | 8 +- .../API_docs_v25/methods/help.getAppUpdate.md | 6 +- .../methods/help.getInviteText.md | 6 +- .../API_docs_v25/methods/help.getSupport.md | 6 +- .../methods/messages.addChatUser.md | 6 +- .../methods/messages.createChat.md | 6 +- .../methods/messages.deleteChatUser.md | 6 +- .../methods/messages.deleteHistory.md | 6 +- .../methods/messages.deleteMessages.md | 6 +- .../methods/messages.editChatPhoto.md | 6 +- .../methods/messages.editChatTitle.md | 6 +- .../methods/messages.forwardMessage.md | 6 +- .../methods/messages.forwardMessages.md | 6 +- .../methods/messages.getAllStickers.md | 6 +- .../API_docs_v25/methods/messages.getChats.md | 6 +- .../methods/messages.getDhConfig.md | 6 +- .../methods/messages.getDialogs.md | 6 +- .../methods/messages.getFullChat.md | 6 +- .../methods/messages.getHistory.md | 6 +- .../methods/messages.getMessages.md | 6 +- .../methods/messages.getStickers.md | 6 +- .../methods/messages.readHistory.md | 6 +- .../methods/messages.readMessageContents.md | 6 +- .../API_docs_v25/methods/messages.search.md | 6 +- .../methods/messages.sendBroadcast.md | 8 +- .../methods/messages.sendEncrypted.md | 14 +- .../methods/messages.sendEncryptedFile.md | 14 +- .../methods/messages.sendEncryptedService.md | 14 +- .../methods/messages.sendMedia.md | 6 +- .../methods/messages.sendMessage.md | 8 +- .../methods/photos.getUserPhotos.md | 6 +- .../methods/photos.uploadProfilePhoto.md | 6 +- .../methods/updates.getDifference.md | 6 +- .../API_docs_v25/methods/updates.getState.md | 6 +- .../API_docs_v25/methods/upload.getFile.md | 6 +- old_docs/API_docs_v25/types/AccountDaysTTL.md | 2 +- old_docs/API_docs_v25/types/Config.md | 2 +- old_docs/API_docs_v25/types/ContactStatus.md | 2 +- old_docs/API_docs_v25/types/EncryptedChat.md | 4 +- old_docs/API_docs_v25/types/NearestDc.md | 2 +- .../API_docs_v25/types/PeerNotifySettings.md | 2 +- old_docs/API_docs_v25/types/README.md | 78 ++-- old_docs/API_docs_v25/types/User.md | 12 +- old_docs/API_docs_v25/types/UserFull.md | 2 +- .../API_docs_v25/types/UserProfilePhoto.md | 2 +- old_docs/API_docs_v25/types/WallPaper.md | 2 +- .../API_docs_v25/types/account.Password.md | 24 + .../types/account.PrivacyRules.md | 24 + .../types/account.SentChangePhoneCode.md | 22 + .../API_docs_v25/types/account_Password.md | 24 - .../types/account_PrivacyRules.md | 24 - .../types/account_SentChangePhoneCode.md | 22 - .../API_docs_v25/types/auth.Authorization.md | 28 ++ .../API_docs_v25/types/auth.CheckedPhone.md | 22 + .../types/auth.ExportedAuthorization.md | 22 + old_docs/API_docs_v25/types/auth.SentCode.md | 24 + .../API_docs_v25/types/auth_Authorization.md | 28 -- .../API_docs_v25/types/auth_CheckedPhone.md | 22 - .../types/auth_ExportedAuthorization.md | 22 - old_docs/API_docs_v25/types/auth_SentCode.md | 24 - .../API_docs_v25/types/contacts.Blocked.md | 24 + .../API_docs_v25/types/contacts.Contacts.md | 24 + old_docs/API_docs_v25/types/contacts.Found.md | 22 + .../types/contacts.ImportedContacts.md | 22 + old_docs/API_docs_v25/types/contacts.Link.md | 22 + .../API_docs_v25/types/contacts.Suggested.md | 22 + .../API_docs_v25/types/contacts_Blocked.md | 24 - .../API_docs_v25/types/contacts_Contacts.md | 24 - old_docs/API_docs_v25/types/contacts_Found.md | 22 - .../types/contacts_ImportedContacts.md | 22 - old_docs/API_docs_v25/types/contacts_Link.md | 22 - .../API_docs_v25/types/contacts_Suggested.md | 22 - .../API_docs_v25/types/geochats.Located.md | 22 + .../API_docs_v25/types/geochats.Messages.md | 28 ++ .../types/geochats.StatedMessage.md | 32 ++ .../API_docs_v25/types/geochats_Located.md | 22 - .../API_docs_v25/types/geochats_Messages.md | 28 -- .../types/geochats_StatedMessage.md | 32 -- old_docs/API_docs_v25/types/help.AppUpdate.md | 24 + .../API_docs_v25/types/help.InviteText.md | 22 + old_docs/API_docs_v25/types/help.Support.md | 22 + old_docs/API_docs_v25/types/help_AppUpdate.md | 24 - .../API_docs_v25/types/help_InviteText.md | 22 - old_docs/API_docs_v25/types/help_Support.md | 22 - .../types/messages.AffectedHistory.md | 24 + .../types/messages.AffectedMessages.md | 24 + .../types/messages.AllStickers.md | 24 + .../API_docs_v25/types/messages.ChatFull.md | 24 + old_docs/API_docs_v25/types/messages.Chats.md | 22 + .../API_docs_v25/types/messages.DhConfig.md | 24 + .../API_docs_v25/types/messages.Dialogs.md | 24 + .../API_docs_v25/types/messages.Message.md | 20 + .../API_docs_v25/types/messages.Messages.md | 28 ++ .../types/messages.SentEncryptedMessage.md | 28 ++ .../types/messages.SentMessage.md | 24 + .../types/messages.StatedMessage.md | 36 ++ .../types/messages.StatedMessages.md | 26 ++ .../API_docs_v25/types/messages.Stickers.md | 24 + .../types/messages_AffectedHistory.md | 24 - .../types/messages_AffectedMessages.md | 24 - .../types/messages_AllStickers.md | 24 - .../API_docs_v25/types/messages_ChatFull.md | 24 - old_docs/API_docs_v25/types/messages_Chats.md | 22 - .../API_docs_v25/types/messages_DhConfig.md | 24 - .../API_docs_v25/types/messages_Dialogs.md | 24 - .../API_docs_v25/types/messages_Message.md | 20 - .../API_docs_v25/types/messages_Messages.md | 28 -- .../types/messages_SentEncryptedMessage.md | 28 -- .../types/messages_SentMessage.md | 24 - .../types/messages_StatedMessage.md | 36 -- .../types/messages_StatedMessages.md | 26 -- .../API_docs_v25/types/messages_Stickers.md | 24 - old_docs/API_docs_v25/types/photos.Photo.md | 22 + old_docs/API_docs_v25/types/photos.Photos.md | 24 + old_docs/API_docs_v25/types/photos_Photo.md | 22 - old_docs/API_docs_v25/types/photos_Photos.md | 24 - .../API_docs_v25/types/storage.FileType.md | 38 ++ .../API_docs_v25/types/storage_FileType.md | 38 -- .../API_docs_v25/types/updates.Difference.md | 26 ++ old_docs/API_docs_v25/types/updates.State.md | 22 + .../API_docs_v25/types/updates_Difference.md | 26 -- old_docs/API_docs_v25/types/updates_State.md | 22 - old_docs/API_docs_v25/types/upload.File.md | 22 + old_docs/API_docs_v25/types/upload_File.md | 22 - old_docs/API_docs_v27/constructors/README.md | 206 ++++++--- .../constructors/account.authorizations.md | 38 ++ .../constructors/account.noPassword.md | 39 ++ .../constructors/account.password.md | 42 ++ .../account.passwordInputSettings.md | 41 ++ .../constructors/account.passwordSettings.md | 38 ++ .../constructors/account.privacyRules.md | 39 ++ .../account.sentChangePhoneCode.md | 39 ++ .../constructors/account_authorizations.md | 38 -- .../constructors/account_noPassword.md | 39 -- .../constructors/account_password.md | 42 -- .../account_passwordInputSettings.md | 41 -- .../constructors/account_passwordSettings.md | 38 -- .../constructors/account_privacyRules.md | 39 -- .../account_sentChangePhoneCode.md | 39 -- .../constructors/auth.authorization.md | 39 ++ .../constructors/auth.checkedPhone.md | 38 ++ .../auth.exportedAuthorization.md | 39 ++ .../constructors/auth.passwordRecovery.md | 38 ++ .../constructors/auth.sentAppCode.md | 41 ++ .../constructors/auth.sentCode.md | 41 ++ .../constructors/auth_authorization.md | 39 -- .../constructors/auth_checkedPhone.md | 38 -- .../auth_exportedAuthorization.md | 39 -- .../constructors/auth_passwordRecovery.md | 38 -- .../constructors/auth_sentAppCode.md | 41 -- .../constructors/auth_sentCode.md | 41 -- .../constructors/contacts.blocked.md | 39 ++ .../constructors/contacts.blockedSlice.md | 40 ++ .../constructors/contacts.contacts.md | 39 ++ .../contacts.contactsNotModified.md | 33 ++ .../constructors/contacts.found.md | 39 ++ .../constructors/contacts.importedContacts.md | 40 ++ .../constructors/contacts.link.md | 40 ++ .../constructors/contacts.suggested.md | 39 ++ .../constructors/contacts_blocked.md | 39 -- .../constructors/contacts_blockedSlice.md | 40 -- .../constructors/contacts_contacts.md | 39 -- .../contacts_contactsNotModified.md | 33 -- .../constructors/contacts_found.md | 39 -- .../constructors/contacts_importedContacts.md | 40 -- .../constructors/contacts_link.md | 40 -- .../constructors/contacts_suggested.md | 39 -- .../constructors/geochats.located.md | 41 ++ .../constructors/geochats.messages.md | 40 ++ .../constructors/geochats.messagesSlice.md | 41 ++ .../constructors/geochats.statedMessage.md | 41 ++ .../constructors/geochats_located.md | 41 -- .../constructors/geochats_messages.md | 40 -- .../constructors/geochats_messagesSlice.md | 41 -- .../constructors/geochats_statedMessage.md | 41 -- .../constructors/help.appUpdate.md | 41 ++ .../constructors/help.inviteText.md | 38 ++ .../constructors/help.noAppUpdate.md | 33 ++ .../API_docs_v27/constructors/help.support.md | 39 ++ .../constructors/help_appUpdate.md | 41 -- .../constructors/help_inviteText.md | 38 -- .../constructors/help_noAppUpdate.md | 33 -- .../API_docs_v27/constructors/help_support.md | 39 -- .../constructors/messages.affectedHistory.md | 40 ++ .../constructors/messages.affectedMessages.md | 39 ++ .../constructors/messages.allStickers.md | 40 ++ .../messages.allStickersNotModified.md | 33 ++ .../constructors/messages.chatFull.md | 40 ++ .../constructors/messages.chats.md | 38 ++ .../constructors/messages.dhConfig.md | 41 ++ .../messages.dhConfigNotModified.md | 38 ++ .../constructors/messages.dialogs.md | 41 ++ .../constructors/messages.dialogsSlice.md | 42 ++ .../constructors/messages.messageEmpty.md | 33 ++ .../constructors/messages.messages.md | 40 ++ .../constructors/messages.messagesSlice.md | 41 ++ .../messages.sentEncryptedFile.md | 39 ++ .../messages.sentEncryptedMessage.md | 38 ++ .../constructors/messages.sentMessage.md | 42 ++ .../constructors/messages.sentMessageLink.md | 44 ++ .../constructors/messages.stickers.md | 39 ++ .../messages.stickersNotModified.md | 33 ++ .../constructors/messages_affectedHistory.md | 40 -- .../constructors/messages_affectedMessages.md | 39 -- .../constructors/messages_allStickers.md | 40 -- .../messages_allStickersNotModified.md | 33 -- .../constructors/messages_chatFull.md | 40 -- .../constructors/messages_chats.md | 38 -- .../constructors/messages_dhConfig.md | 41 -- .../messages_dhConfigNotModified.md | 38 -- .../constructors/messages_dialogs.md | 41 -- .../constructors/messages_dialogsSlice.md | 42 -- .../constructors/messages_messageEmpty.md | 33 -- .../constructors/messages_messages.md | 40 -- .../constructors/messages_messagesSlice.md | 41 -- .../messages_sentEncryptedFile.md | 39 -- .../messages_sentEncryptedMessage.md | 38 -- .../constructors/messages_sentMessage.md | 42 -- .../constructors/messages_sentMessageLink.md | 44 -- .../constructors/messages_stickers.md | 39 -- .../messages_stickersNotModified.md | 33 -- .../API_docs_v27/constructors/photos.photo.md | 39 ++ .../constructors/photos.photos.md | 39 ++ .../constructors/photos.photosSlice.md | 40 ++ .../API_docs_v27/constructors/photos_photo.md | 39 -- .../constructors/photos_photos.md | 39 -- .../constructors/photos_photosSlice.md | 40 -- .../constructors/storage.fileGif.md | 33 ++ .../constructors/storage.fileJpeg.md | 33 ++ .../constructors/storage.fileMov.md | 33 ++ .../constructors/storage.fileMp3.md | 33 ++ .../constructors/storage.fileMp4.md | 33 ++ .../constructors/storage.filePartial.md | 33 ++ .../constructors/storage.filePdf.md | 33 ++ .../constructors/storage.filePng.md | 33 ++ .../constructors/storage.fileUnknown.md | 33 ++ .../constructors/storage.fileWebp.md | 33 ++ .../constructors/storage_fileGif.md | 33 -- .../constructors/storage_fileJpeg.md | 33 -- .../constructors/storage_fileMov.md | 33 -- .../constructors/storage_fileMp3.md | 33 -- .../constructors/storage_fileMp4.md | 33 -- .../constructors/storage_filePartial.md | 33 -- .../constructors/storage_filePdf.md | 33 -- .../constructors/storage_filePng.md | 33 -- .../constructors/storage_fileUnknown.md | 33 -- .../constructors/storage_fileWebp.md | 33 -- .../constructors/updates.difference.md | 43 ++ .../constructors/updates.differenceEmpty.md | 39 ++ .../constructors/updates.differenceSlice.md | 43 ++ .../constructors/updates.state.md | 42 ++ .../constructors/updates_difference.md | 43 -- .../constructors/updates_differenceEmpty.md | 39 -- .../constructors/updates_differenceSlice.md | 43 -- .../constructors/updates_state.md | 42 -- .../API_docs_v27/constructors/upload.file.md | 40 ++ .../API_docs_v27/constructors/upload_file.md | 40 -- .../API_docs_v27/constructors/userFull.md | 6 +- .../methods/account.getAuthorizations.md | 6 +- .../methods/account.getPassword.md | 6 +- .../methods/account.getPasswordSettings.md | 6 +- .../methods/account.getPrivacy.md | 6 +- .../methods/account.sendChangePhoneCode.md | 6 +- .../methods/account.setPrivacy.md | 6 +- old_docs/API_docs_v27/methods/api_README.md | 114 ++--- .../methods/auth.checkPassword.md | 6 +- .../API_docs_v27/methods/auth.checkPhone.md | 6 +- .../methods/auth.exportAuthorization.md | 6 +- .../methods/auth.importAuthorization.md | 6 +- .../methods/auth.recoverPassword.md | 6 +- .../methods/auth.requestPasswordRecovery.md | 6 +- .../API_docs_v27/methods/auth.sendCode.md | 6 +- old_docs/API_docs_v27/methods/auth.signIn.md | 6 +- old_docs/API_docs_v27/methods/auth.signUp.md | 6 +- .../methods/contacts.deleteContact.md | 6 +- .../methods/contacts.getBlocked.md | 6 +- .../methods/contacts.getContacts.md | 6 +- .../methods/contacts.getSuggested.md | 6 +- .../methods/contacts.importContacts.md | 6 +- .../API_docs_v27/methods/contacts.search.md | 6 +- .../API_docs_v27/methods/geochats.checkin.md | 6 +- .../methods/geochats.createGeoChat.md | 6 +- .../methods/geochats.editChatPhoto.md | 6 +- .../methods/geochats.editChatTitle.md | 6 +- .../methods/geochats.getFullChat.md | 6 +- .../methods/geochats.getHistory.md | 6 +- .../methods/geochats.getLocated.md | 6 +- .../methods/geochats.getRecents.md | 6 +- .../API_docs_v27/methods/geochats.search.md | 6 +- .../methods/geochats.sendMedia.md | 6 +- .../methods/geochats.sendMessage.md | 8 +- .../API_docs_v27/methods/help.getAppUpdate.md | 6 +- .../methods/help.getInviteText.md | 6 +- .../API_docs_v27/methods/help.getSupport.md | 6 +- .../methods/messages.deleteHistory.md | 6 +- .../methods/messages.deleteMessages.md | 6 +- .../methods/messages.getAllStickers.md | 6 +- .../API_docs_v27/methods/messages.getChats.md | 6 +- .../methods/messages.getDhConfig.md | 6 +- .../methods/messages.getDialogs.md | 6 +- .../methods/messages.getFullChat.md | 6 +- .../methods/messages.getHistory.md | 6 +- .../methods/messages.getMessages.md | 6 +- .../methods/messages.getStickers.md | 6 +- .../methods/messages.readHistory.md | 6 +- .../methods/messages.readMessageContents.md | 6 +- .../API_docs_v27/methods/messages.search.md | 6 +- .../methods/messages.sendEncrypted.md | 14 +- .../methods/messages.sendEncryptedFile.md | 14 +- .../methods/messages.sendEncryptedService.md | 14 +- .../methods/messages.sendMessage.md | 8 +- .../methods/photos.getUserPhotos.md | 6 +- .../methods/photos.uploadProfilePhoto.md | 6 +- .../methods/updates.getDifference.md | 6 +- .../API_docs_v27/methods/updates.getState.md | 6 +- .../API_docs_v27/methods/upload.getFile.md | 6 +- old_docs/API_docs_v27/types/AccountDaysTTL.md | 2 +- old_docs/API_docs_v27/types/Config.md | 2 +- old_docs/API_docs_v27/types/ContactStatus.md | 2 +- old_docs/API_docs_v27/types/EncryptedChat.md | 4 +- old_docs/API_docs_v27/types/MessageMedia.md | 2 +- old_docs/API_docs_v27/types/NearestDc.md | 2 +- .../API_docs_v27/types/PeerNotifySettings.md | 2 +- old_docs/API_docs_v27/types/README.md | 82 ++-- old_docs/API_docs_v27/types/Updates.md | 18 +- old_docs/API_docs_v27/types/User.md | 12 +- old_docs/API_docs_v27/types/UserFull.md | 2 +- .../API_docs_v27/types/UserProfilePhoto.md | 2 +- old_docs/API_docs_v27/types/WallPaper.md | 2 +- .../types/account.Authorizations.md | 22 + .../API_docs_v27/types/account.Password.md | 24 + .../types/account.PasswordInputSettings.md | 20 + .../types/account.PasswordSettings.md | 22 + .../types/account.PrivacyRules.md | 24 + .../types/account.SentChangePhoneCode.md | 22 + .../types/account_Authorizations.md | 22 - .../API_docs_v27/types/account_Password.md | 24 - .../types/account_PasswordInputSettings.md | 20 - .../types/account_PasswordSettings.md | 22 - .../types/account_PrivacyRules.md | 24 - .../types/account_SentChangePhoneCode.md | 22 - .../API_docs_v27/types/auth.Authorization.md | 30 ++ .../API_docs_v27/types/auth.CheckedPhone.md | 22 + .../types/auth.ExportedAuthorization.md | 22 + .../types/auth.PasswordRecovery.md | 22 + old_docs/API_docs_v27/types/auth.SentCode.md | 24 + .../API_docs_v27/types/auth_Authorization.md | 30 -- .../API_docs_v27/types/auth_CheckedPhone.md | 22 - .../types/auth_ExportedAuthorization.md | 22 - .../types/auth_PasswordRecovery.md | 22 - old_docs/API_docs_v27/types/auth_SentCode.md | 24 - .../API_docs_v27/types/contacts.Blocked.md | 24 + .../API_docs_v27/types/contacts.Contacts.md | 24 + old_docs/API_docs_v27/types/contacts.Found.md | 22 + .../types/contacts.ImportedContacts.md | 22 + old_docs/API_docs_v27/types/contacts.Link.md | 22 + .../API_docs_v27/types/contacts.Suggested.md | 22 + .../API_docs_v27/types/contacts_Blocked.md | 24 - .../API_docs_v27/types/contacts_Contacts.md | 24 - old_docs/API_docs_v27/types/contacts_Found.md | 22 - .../types/contacts_ImportedContacts.md | 22 - old_docs/API_docs_v27/types/contacts_Link.md | 22 - .../API_docs_v27/types/contacts_Suggested.md | 22 - .../API_docs_v27/types/geochats.Located.md | 22 + .../API_docs_v27/types/geochats.Messages.md | 28 ++ .../types/geochats.StatedMessage.md | 32 ++ .../API_docs_v27/types/geochats_Located.md | 22 - .../API_docs_v27/types/geochats_Messages.md | 28 -- .../types/geochats_StatedMessage.md | 32 -- old_docs/API_docs_v27/types/help.AppUpdate.md | 24 + .../API_docs_v27/types/help.InviteText.md | 22 + old_docs/API_docs_v27/types/help.Support.md | 22 + old_docs/API_docs_v27/types/help_AppUpdate.md | 24 - .../API_docs_v27/types/help_InviteText.md | 22 - old_docs/API_docs_v27/types/help_Support.md | 22 - .../types/messages.AffectedHistory.md | 24 + .../types/messages.AffectedMessages.md | 24 + .../types/messages.AllStickers.md | 24 + .../API_docs_v27/types/messages.ChatFull.md | 24 + old_docs/API_docs_v27/types/messages.Chats.md | 22 + .../API_docs_v27/types/messages.DhConfig.md | 24 + .../API_docs_v27/types/messages.Dialogs.md | 24 + .../API_docs_v27/types/messages.Message.md | 20 + .../API_docs_v27/types/messages.Messages.md | 28 ++ .../types/messages.SentEncryptedMessage.md | 28 ++ .../types/messages.SentMessage.md | 24 + .../API_docs_v27/types/messages.Stickers.md | 24 + .../types/messages_AffectedHistory.md | 24 - .../types/messages_AffectedMessages.md | 24 - .../types/messages_AllStickers.md | 24 - .../API_docs_v27/types/messages_ChatFull.md | 24 - old_docs/API_docs_v27/types/messages_Chats.md | 22 - .../API_docs_v27/types/messages_DhConfig.md | 24 - .../API_docs_v27/types/messages_Dialogs.md | 24 - .../API_docs_v27/types/messages_Message.md | 20 - .../API_docs_v27/types/messages_Messages.md | 28 -- .../types/messages_SentEncryptedMessage.md | 28 -- .../types/messages_SentMessage.md | 24 - .../API_docs_v27/types/messages_Stickers.md | 24 - old_docs/API_docs_v27/types/photos.Photo.md | 22 + old_docs/API_docs_v27/types/photos.Photos.md | 24 + old_docs/API_docs_v27/types/photos_Photo.md | 22 - old_docs/API_docs_v27/types/photos_Photos.md | 24 - .../API_docs_v27/types/storage.FileType.md | 38 ++ .../API_docs_v27/types/storage_FileType.md | 38 -- .../API_docs_v27/types/updates.Difference.md | 26 ++ old_docs/API_docs_v27/types/updates.State.md | 22 + .../API_docs_v27/types/updates_Difference.md | 26 -- old_docs/API_docs_v27/types/updates_State.md | 22 - old_docs/API_docs_v27/types/upload.File.md | 22 + old_docs/API_docs_v27/types/upload_File.md | 22 - old_docs/API_docs_v33/constructors/README.md | 215 +++++---- .../constructors/account.authorizations.md | 38 ++ .../constructors/account.noPassword.md | 39 ++ .../constructors/account.password.md | 42 ++ .../account.passwordInputSettings.md | 41 ++ .../constructors/account.passwordSettings.md | 38 ++ .../constructors/account.privacyRules.md | 39 ++ .../account.sentChangePhoneCode.md | 39 ++ .../constructors/account_authorizations.md | 38 -- .../constructors/account_noPassword.md | 39 -- .../constructors/account_password.md | 42 -- .../account_passwordInputSettings.md | 41 -- .../constructors/account_passwordSettings.md | 38 -- .../constructors/account_privacyRules.md | 39 -- .../account_sentChangePhoneCode.md | 39 -- .../constructors/auth.authorization.md | 38 ++ .../constructors/auth.checkedPhone.md | 38 ++ .../auth.exportedAuthorization.md | 39 ++ .../constructors/auth.passwordRecovery.md | 38 ++ .../constructors/auth.sentAppCode.md | 41 ++ .../constructors/auth.sentCode.md | 41 ++ .../constructors/auth_authorization.md | 38 -- .../constructors/auth_checkedPhone.md | 38 -- .../auth_exportedAuthorization.md | 39 -- .../constructors/auth_passwordRecovery.md | 38 -- .../constructors/auth_sentAppCode.md | 41 -- .../constructors/auth_sentCode.md | 41 -- .../constructors/contacts.blocked.md | 39 ++ .../constructors/contacts.blockedSlice.md | 40 ++ .../constructors/contacts.contacts.md | 39 ++ .../contacts.contactsNotModified.md | 33 ++ .../constructors/contacts.found.md | 39 ++ .../constructors/contacts.importedContacts.md | 40 ++ .../constructors/contacts.link.md | 40 ++ .../constructors/contacts.suggested.md | 39 ++ .../constructors/contacts_blocked.md | 39 -- .../constructors/contacts_blockedSlice.md | 40 -- .../constructors/contacts_contacts.md | 39 -- .../contacts_contactsNotModified.md | 33 -- .../constructors/contacts_found.md | 39 -- .../constructors/contacts_importedContacts.md | 40 -- .../constructors/contacts_link.md | 40 -- .../constructors/contacts_suggested.md | 39 -- .../constructors/geochats.located.md | 41 ++ .../constructors/geochats.messages.md | 40 ++ .../constructors/geochats.messagesSlice.md | 41 ++ .../constructors/geochats.statedMessage.md | 41 ++ .../constructors/geochats_located.md | 41 -- .../constructors/geochats_messages.md | 40 -- .../constructors/geochats_messagesSlice.md | 41 -- .../constructors/geochats_statedMessage.md | 41 -- .../constructors/help.appChangelog.md | 38 ++ .../constructors/help.appChangelogEmpty.md | 33 ++ .../constructors/help.appUpdate.md | 41 ++ .../constructors/help.inviteText.md | 38 ++ .../constructors/help.noAppUpdate.md | 33 ++ .../API_docs_v33/constructors/help.support.md | 39 ++ .../constructors/help_appChangelog.md | 38 -- .../constructors/help_appChangelogEmpty.md | 33 -- .../constructors/help_appUpdate.md | 41 -- .../constructors/help_inviteText.md | 38 -- .../constructors/help_noAppUpdate.md | 33 -- .../API_docs_v33/constructors/help_support.md | 39 -- .../constructors/messages.affectedHistory.md | 40 ++ .../constructors/messages.affectedMessages.md | 39 ++ .../constructors/messages.allStickers.md | 39 ++ .../messages.allStickersNotModified.md | 33 ++ .../constructors/messages.chatFull.md | 40 ++ .../constructors/messages.chats.md | 38 ++ .../constructors/messages.dhConfig.md | 41 ++ .../messages.dhConfigNotModified.md | 38 ++ .../constructors/messages.dialogs.md | 41 ++ .../constructors/messages.dialogsSlice.md | 42 ++ .../constructors/messages.messageEmpty.md | 33 ++ .../constructors/messages.messages.md | 40 ++ .../constructors/messages.messagesSlice.md | 41 ++ .../messages.sentEncryptedFile.md | 39 ++ .../messages.sentEncryptedMessage.md | 38 ++ .../constructors/messages.sentMessage.md | 42 ++ .../constructors/messages.sentMessageLink.md | 44 ++ .../constructors/messages.stickerSet.md | 40 ++ .../constructors/messages.stickers.md | 39 ++ .../messages.stickersNotModified.md | 33 ++ .../constructors/messages_affectedHistory.md | 40 -- .../constructors/messages_affectedMessages.md | 39 -- .../constructors/messages_allStickers.md | 39 -- .../messages_allStickersNotModified.md | 33 -- .../constructors/messages_chatFull.md | 40 -- .../constructors/messages_chats.md | 38 -- .../constructors/messages_dhConfig.md | 41 -- .../messages_dhConfigNotModified.md | 38 -- .../constructors/messages_dialogs.md | 41 -- .../constructors/messages_dialogsSlice.md | 42 -- .../constructors/messages_messageEmpty.md | 33 -- .../constructors/messages_messages.md | 40 -- .../constructors/messages_messagesSlice.md | 41 -- .../messages_sentEncryptedFile.md | 39 -- .../messages_sentEncryptedMessage.md | 38 -- .../constructors/messages_sentMessage.md | 42 -- .../constructors/messages_sentMessageLink.md | 44 -- .../constructors/messages_stickerSet.md | 40 -- .../constructors/messages_stickers.md | 39 -- .../messages_stickersNotModified.md | 33 -- .../API_docs_v33/constructors/photos.photo.md | 39 ++ .../constructors/photos.photos.md | 39 ++ .../constructors/photos.photosSlice.md | 40 ++ .../API_docs_v33/constructors/photos_photo.md | 39 -- .../constructors/photos_photos.md | 39 -- .../constructors/photos_photosSlice.md | 40 -- .../constructors/storage.fileGif.md | 33 ++ .../constructors/storage.fileJpeg.md | 33 ++ .../constructors/storage.fileMov.md | 33 ++ .../constructors/storage.fileMp3.md | 33 ++ .../constructors/storage.fileMp4.md | 33 ++ .../constructors/storage.filePartial.md | 33 ++ .../constructors/storage.filePdf.md | 33 ++ .../constructors/storage.filePng.md | 33 ++ .../constructors/storage.fileUnknown.md | 33 ++ .../constructors/storage.fileWebp.md | 33 ++ .../constructors/storage_fileGif.md | 33 -- .../constructors/storage_fileJpeg.md | 33 -- .../constructors/storage_fileMov.md | 33 -- .../constructors/storage_fileMp3.md | 33 -- .../constructors/storage_fileMp4.md | 33 -- .../constructors/storage_filePartial.md | 33 -- .../constructors/storage_filePdf.md | 33 -- .../constructors/storage_filePng.md | 33 -- .../constructors/storage_fileUnknown.md | 33 -- .../constructors/storage_fileWebp.md | 33 -- .../constructors/updates.difference.md | 43 ++ .../constructors/updates.differenceEmpty.md | 39 ++ .../constructors/updates.differenceSlice.md | 43 ++ .../constructors/updates.state.md | 42 ++ .../constructors/updates_difference.md | 43 -- .../constructors/updates_differenceEmpty.md | 39 -- .../constructors/updates_differenceSlice.md | 43 -- .../constructors/updates_state.md | 42 -- .../API_docs_v33/constructors/upload.file.md | 40 ++ .../API_docs_v33/constructors/upload_file.md | 40 -- .../API_docs_v33/constructors/userFull.md | 6 +- .../methods/account.getAuthorizations.md | 6 +- .../methods/account.getPassword.md | 6 +- .../methods/account.getPasswordSettings.md | 6 +- .../methods/account.getPrivacy.md | 6 +- .../methods/account.sendChangePhoneCode.md | 6 +- .../methods/account.setPrivacy.md | 6 +- old_docs/API_docs_v33/methods/api_README.md | 120 ++--- .../methods/auth.checkPassword.md | 6 +- .../API_docs_v33/methods/auth.checkPhone.md | 6 +- .../methods/auth.exportAuthorization.md | 6 +- .../methods/auth.importAuthorization.md | 6 +- .../methods/auth.importBotAuthorization.md | 6 +- .../methods/auth.recoverPassword.md | 6 +- .../methods/auth.requestPasswordRecovery.md | 6 +- .../API_docs_v33/methods/auth.sendCode.md | 6 +- old_docs/API_docs_v33/methods/auth.signIn.md | 6 +- old_docs/API_docs_v33/methods/auth.signUp.md | 6 +- .../methods/contacts.deleteContact.md | 6 +- .../methods/contacts.getBlocked.md | 6 +- .../methods/contacts.getContacts.md | 6 +- .../methods/contacts.getSuggested.md | 6 +- .../methods/contacts.importContacts.md | 6 +- .../API_docs_v33/methods/contacts.search.md | 6 +- .../API_docs_v33/methods/geochats.checkin.md | 6 +- .../methods/geochats.createGeoChat.md | 6 +- .../methods/geochats.editChatPhoto.md | 6 +- .../methods/geochats.editChatTitle.md | 6 +- .../methods/geochats.getFullChat.md | 6 +- .../methods/geochats.getHistory.md | 6 +- .../methods/geochats.getLocated.md | 6 +- .../methods/geochats.getRecents.md | 6 +- .../API_docs_v33/methods/geochats.search.md | 6 +- .../methods/geochats.sendMedia.md | 6 +- .../methods/geochats.sendMessage.md | 8 +- .../methods/help.getAppChangelog.md | 6 +- .../API_docs_v33/methods/help.getAppUpdate.md | 6 +- .../methods/help.getInviteText.md | 6 +- .../API_docs_v33/methods/help.getSupport.md | 6 +- .../methods/messages.deleteHistory.md | 6 +- .../methods/messages.deleteMessages.md | 6 +- .../methods/messages.getAllStickers.md | 6 +- .../API_docs_v33/methods/messages.getChats.md | 6 +- .../methods/messages.getDhConfig.md | 6 +- .../methods/messages.getDialogs.md | 6 +- .../methods/messages.getFullChat.md | 6 +- .../methods/messages.getHistory.md | 6 +- .../methods/messages.getMessages.md | 6 +- .../methods/messages.getStickerSet.md | 6 +- .../methods/messages.getStickers.md | 6 +- .../methods/messages.readHistory.md | 6 +- .../methods/messages.readMessageContents.md | 6 +- .../API_docs_v33/methods/messages.search.md | 6 +- .../methods/messages.sendEncrypted.md | 14 +- .../methods/messages.sendEncryptedFile.md | 14 +- .../methods/messages.sendEncryptedService.md | 14 +- .../methods/messages.sendMessage.md | 8 +- .../methods/photos.getUserPhotos.md | 6 +- .../methods/photos.uploadProfilePhoto.md | 6 +- .../methods/updates.getDifference.md | 6 +- .../API_docs_v33/methods/updates.getState.md | 6 +- .../API_docs_v33/methods/upload.getFile.md | 6 +- old_docs/API_docs_v33/types/AccountDaysTTL.md | 2 +- old_docs/API_docs_v33/types/ChatInvite.md | 2 +- old_docs/API_docs_v33/types/Config.md | 2 +- old_docs/API_docs_v33/types/ContactStatus.md | 2 +- old_docs/API_docs_v33/types/EncryptedChat.md | 4 +- .../API_docs_v33/types/ExportedChatInvite.md | 2 +- old_docs/API_docs_v33/types/MessageMedia.md | 2 +- old_docs/API_docs_v33/types/NearestDc.md | 2 +- .../API_docs_v33/types/PeerNotifySettings.md | 2 +- old_docs/API_docs_v33/types/README.md | 86 ++-- .../types/ReceivedNotifyMessage.md | 2 +- old_docs/API_docs_v33/types/Updates.md | 22 +- old_docs/API_docs_v33/types/User.md | 12 +- old_docs/API_docs_v33/types/UserFull.md | 2 +- .../API_docs_v33/types/UserProfilePhoto.md | 2 +- old_docs/API_docs_v33/types/WallPaper.md | 2 +- .../types/account.Authorizations.md | 22 + .../API_docs_v33/types/account.Password.md | 24 + .../types/account.PasswordInputSettings.md | 20 + .../types/account.PasswordSettings.md | 22 + .../types/account.PrivacyRules.md | 24 + .../types/account.SentChangePhoneCode.md | 22 + .../types/account_Authorizations.md | 22 - .../API_docs_v33/types/account_Password.md | 24 - .../types/account_PasswordInputSettings.md | 20 - .../types/account_PasswordSettings.md | 22 - .../types/account_PrivacyRules.md | 24 - .../types/account_SentChangePhoneCode.md | 22 - .../API_docs_v33/types/auth.Authorization.md | 32 ++ .../API_docs_v33/types/auth.CheckedPhone.md | 22 + .../types/auth.ExportedAuthorization.md | 22 + .../types/auth.PasswordRecovery.md | 22 + old_docs/API_docs_v33/types/auth.SentCode.md | 24 + .../API_docs_v33/types/auth_Authorization.md | 32 -- .../API_docs_v33/types/auth_CheckedPhone.md | 22 - .../types/auth_ExportedAuthorization.md | 22 - .../types/auth_PasswordRecovery.md | 22 - old_docs/API_docs_v33/types/auth_SentCode.md | 24 - .../API_docs_v33/types/contacts.Blocked.md | 24 + .../API_docs_v33/types/contacts.Contacts.md | 24 + old_docs/API_docs_v33/types/contacts.Found.md | 22 + .../types/contacts.ImportedContacts.md | 22 + old_docs/API_docs_v33/types/contacts.Link.md | 22 + .../API_docs_v33/types/contacts.Suggested.md | 22 + .../API_docs_v33/types/contacts_Blocked.md | 24 - .../API_docs_v33/types/contacts_Contacts.md | 24 - old_docs/API_docs_v33/types/contacts_Found.md | 22 - .../types/contacts_ImportedContacts.md | 22 - old_docs/API_docs_v33/types/contacts_Link.md | 22 - .../API_docs_v33/types/contacts_Suggested.md | 22 - .../API_docs_v33/types/geochats.Located.md | 22 + .../API_docs_v33/types/geochats.Messages.md | 28 ++ .../types/geochats.StatedMessage.md | 32 ++ .../API_docs_v33/types/geochats_Located.md | 22 - .../API_docs_v33/types/geochats_Messages.md | 28 -- .../types/geochats_StatedMessage.md | 32 -- .../API_docs_v33/types/help.AppChangelog.md | 24 + old_docs/API_docs_v33/types/help.AppUpdate.md | 24 + .../API_docs_v33/types/help.InviteText.md | 22 + old_docs/API_docs_v33/types/help.Support.md | 22 + .../API_docs_v33/types/help_AppChangelog.md | 24 - old_docs/API_docs_v33/types/help_AppUpdate.md | 24 - .../API_docs_v33/types/help_InviteText.md | 22 - old_docs/API_docs_v33/types/help_Support.md | 22 - .../types/messages.AffectedHistory.md | 24 + .../types/messages.AffectedMessages.md | 24 + .../types/messages.AllStickers.md | 24 + .../API_docs_v33/types/messages.ChatFull.md | 24 + old_docs/API_docs_v33/types/messages.Chats.md | 22 + .../API_docs_v33/types/messages.DhConfig.md | 24 + .../API_docs_v33/types/messages.Dialogs.md | 24 + .../API_docs_v33/types/messages.Message.md | 20 + .../API_docs_v33/types/messages.Messages.md | 28 ++ .../types/messages.SentEncryptedMessage.md | 28 ++ .../types/messages.SentMessage.md | 24 + .../API_docs_v33/types/messages.StickerSet.md | 22 + .../API_docs_v33/types/messages.Stickers.md | 24 + .../types/messages_AffectedHistory.md | 24 - .../types/messages_AffectedMessages.md | 24 - .../types/messages_AllStickers.md | 24 - .../API_docs_v33/types/messages_ChatFull.md | 24 - old_docs/API_docs_v33/types/messages_Chats.md | 22 - .../API_docs_v33/types/messages_DhConfig.md | 24 - .../API_docs_v33/types/messages_Dialogs.md | 24 - .../API_docs_v33/types/messages_Message.md | 20 - .../API_docs_v33/types/messages_Messages.md | 28 -- .../types/messages_SentEncryptedMessage.md | 28 -- .../types/messages_SentMessage.md | 24 - .../API_docs_v33/types/messages_StickerSet.md | 22 - .../API_docs_v33/types/messages_Stickers.md | 24 - old_docs/API_docs_v33/types/photos.Photo.md | 22 + old_docs/API_docs_v33/types/photos.Photos.md | 24 + old_docs/API_docs_v33/types/photos_Photo.md | 22 - old_docs/API_docs_v33/types/photos_Photos.md | 24 - .../API_docs_v33/types/storage.FileType.md | 38 ++ .../API_docs_v33/types/storage_FileType.md | 38 -- .../API_docs_v33/types/updates.Difference.md | 26 ++ old_docs/API_docs_v33/types/updates.State.md | 22 + .../API_docs_v33/types/updates_Difference.md | 26 -- old_docs/API_docs_v33/types/updates_State.md | 22 - old_docs/API_docs_v33/types/upload.File.md | 22 + old_docs/API_docs_v33/types/upload_File.md | 22 - old_docs/API_docs_v38/constructors/README.md | 215 +++++---- .../constructors/account.authorizations.md | 38 ++ .../constructors/account.noPassword.md | 39 ++ .../constructors/account.password.md | 42 ++ .../account.passwordInputSettings.md | 41 ++ .../constructors/account.passwordSettings.md | 38 ++ .../constructors/account.privacyRules.md | 39 ++ .../account.sentChangePhoneCode.md | 39 ++ .../constructors/account_authorizations.md | 38 -- .../constructors/account_noPassword.md | 39 -- .../constructors/account_password.md | 42 -- .../account_passwordInputSettings.md | 41 -- .../constructors/account_passwordSettings.md | 38 -- .../constructors/account_privacyRules.md | 39 -- .../account_sentChangePhoneCode.md | 39 -- .../constructors/auth.authorization.md | 38 ++ .../constructors/auth.checkedPhone.md | 38 ++ .../auth.exportedAuthorization.md | 39 ++ .../constructors/auth.passwordRecovery.md | 38 ++ .../constructors/auth.sentAppCode.md | 41 ++ .../constructors/auth.sentCode.md | 41 ++ .../constructors/auth_authorization.md | 38 -- .../constructors/auth_checkedPhone.md | 38 -- .../auth_exportedAuthorization.md | 39 -- .../constructors/auth_passwordRecovery.md | 38 -- .../constructors/auth_sentAppCode.md | 41 -- .../constructors/auth_sentCode.md | 41 -- .../channels.channelParticipant.md | 39 ++ .../channels.channelParticipants.md | 40 ++ .../channels_channelParticipant.md | 39 -- .../channels_channelParticipants.md | 40 -- .../constructors/contacts.blocked.md | 39 ++ .../constructors/contacts.blockedSlice.md | 40 ++ .../constructors/contacts.contacts.md | 39 ++ .../contacts.contactsNotModified.md | 33 ++ .../constructors/contacts.found.md | 40 ++ .../constructors/contacts.importedContacts.md | 40 ++ .../constructors/contacts.link.md | 40 ++ .../constructors/contacts.resolvedPeer.md | 40 ++ .../constructors/contacts.suggested.md | 39 ++ .../constructors/contacts_blocked.md | 39 -- .../constructors/contacts_blockedSlice.md | 40 -- .../constructors/contacts_contacts.md | 39 -- .../contacts_contactsNotModified.md | 33 -- .../constructors/contacts_found.md | 40 -- .../constructors/contacts_importedContacts.md | 40 -- .../constructors/contacts_link.md | 40 -- .../constructors/contacts_resolvedPeer.md | 40 -- .../constructors/contacts_suggested.md | 39 -- .../constructors/help.appChangelog.md | 38 ++ .../constructors/help.appChangelogEmpty.md | 33 ++ .../constructors/help.appUpdate.md | 41 ++ .../constructors/help.inviteText.md | 38 ++ .../constructors/help.noAppUpdate.md | 33 ++ .../API_docs_v38/constructors/help.support.md | 39 ++ .../constructors/help_appChangelog.md | 38 -- .../constructors/help_appChangelogEmpty.md | 33 -- .../constructors/help_appUpdate.md | 41 -- .../constructors/help_inviteText.md | 38 -- .../constructors/help_noAppUpdate.md | 33 -- .../API_docs_v38/constructors/help_support.md | 39 -- .../constructors/messages.affectedHistory.md | 40 ++ .../constructors/messages.affectedMessages.md | 39 ++ .../constructors/messages.allStickers.md | 39 ++ .../messages.allStickersNotModified.md | 33 ++ .../constructors/messages.channelMessages.md | 43 ++ .../constructors/messages.chatFull.md | 40 ++ .../constructors/messages.chats.md | 38 ++ .../constructors/messages.dhConfig.md | 41 ++ .../messages.dhConfigNotModified.md | 38 ++ .../constructors/messages.dialogs.md | 41 ++ .../constructors/messages.dialogsSlice.md | 42 ++ .../constructors/messages.messages.md | 40 ++ .../constructors/messages.messagesSlice.md | 41 ++ .../messages.sentEncryptedFile.md | 39 ++ .../messages.sentEncryptedMessage.md | 38 ++ .../constructors/messages.stickerSet.md | 40 ++ .../constructors/messages.stickers.md | 39 ++ .../messages.stickersNotModified.md | 33 ++ .../constructors/messages_affectedHistory.md | 40 -- .../constructors/messages_affectedMessages.md | 39 -- .../constructors/messages_allStickers.md | 39 -- .../messages_allStickersNotModified.md | 33 -- .../constructors/messages_channelMessages.md | 43 -- .../constructors/messages_chatFull.md | 40 -- .../constructors/messages_chats.md | 38 -- .../constructors/messages_dhConfig.md | 41 -- .../messages_dhConfigNotModified.md | 38 -- .../constructors/messages_dialogs.md | 41 -- .../constructors/messages_dialogsSlice.md | 42 -- .../constructors/messages_messages.md | 40 -- .../constructors/messages_messagesSlice.md | 41 -- .../messages_sentEncryptedFile.md | 39 -- .../messages_sentEncryptedMessage.md | 38 -- .../constructors/messages_stickerSet.md | 40 -- .../constructors/messages_stickers.md | 39 -- .../messages_stickersNotModified.md | 33 -- .../API_docs_v38/constructors/photos.photo.md | 39 ++ .../constructors/photos.photos.md | 39 ++ .../constructors/photos.photosSlice.md | 40 ++ .../API_docs_v38/constructors/photos_photo.md | 39 -- .../constructors/photos_photos.md | 39 -- .../constructors/photos_photosSlice.md | 40 -- .../constructors/storage.fileGif.md | 33 ++ .../constructors/storage.fileJpeg.md | 33 ++ .../constructors/storage.fileMov.md | 33 ++ .../constructors/storage.fileMp3.md | 33 ++ .../constructors/storage.fileMp4.md | 33 ++ .../constructors/storage.filePartial.md | 33 ++ .../constructors/storage.filePdf.md | 33 ++ .../constructors/storage.filePng.md | 33 ++ .../constructors/storage.fileUnknown.md | 33 ++ .../constructors/storage.fileWebp.md | 33 ++ .../constructors/storage_fileGif.md | 33 -- .../constructors/storage_fileJpeg.md | 33 -- .../constructors/storage_fileMov.md | 33 -- .../constructors/storage_fileMp3.md | 33 -- .../constructors/storage_fileMp4.md | 33 -- .../constructors/storage_filePartial.md | 33 -- .../constructors/storage_filePdf.md | 33 -- .../constructors/storage_filePng.md | 33 -- .../constructors/storage_fileUnknown.md | 33 -- .../constructors/storage_fileWebp.md | 33 -- .../constructors/updates.channelDifference.md | 43 ++ .../updates.channelDifferenceEmpty.md | 39 ++ .../updates.channelDifferenceTooLong.md | 57 +++ .../constructors/updates.difference.md | 43 ++ .../constructors/updates.differenceEmpty.md | 39 ++ .../constructors/updates.differenceSlice.md | 43 ++ .../constructors/updates.state.md | 42 ++ .../constructors/updates_channelDifference.md | 43 -- .../updates_channelDifferenceEmpty.md | 39 -- .../updates_channelDifferenceTooLong.md | 57 --- .../constructors/updates_difference.md | 43 -- .../constructors/updates_differenceEmpty.md | 39 -- .../constructors/updates_differenceSlice.md | 43 -- .../constructors/updates_state.md | 42 -- .../API_docs_v38/constructors/upload.file.md | 40 ++ .../API_docs_v38/constructors/upload_file.md | 40 -- .../API_docs_v38/constructors/userFull.md | 6 +- .../methods/account.getAuthorizations.md | 6 +- .../methods/account.getPassword.md | 6 +- .../methods/account.getPasswordSettings.md | 6 +- .../methods/account.getPrivacy.md | 6 +- .../methods/account.sendChangePhoneCode.md | 6 +- .../methods/account.setPrivacy.md | 6 +- old_docs/API_docs_v38/methods/api_README.md | 118 ++--- .../methods/auth.checkPassword.md | 6 +- .../API_docs_v38/methods/auth.checkPhone.md | 6 +- .../methods/auth.exportAuthorization.md | 6 +- .../methods/auth.importAuthorization.md | 6 +- .../methods/auth.importBotAuthorization.md | 6 +- .../methods/auth.recoverPassword.md | 6 +- .../methods/auth.requestPasswordRecovery.md | 6 +- .../API_docs_v38/methods/auth.sendCode.md | 6 +- old_docs/API_docs_v38/methods/auth.signIn.md | 6 +- old_docs/API_docs_v38/methods/auth.signUp.md | 6 +- .../methods/channels.deleteMessages.md | 6 +- .../methods/channels.deleteUserHistory.md | 6 +- .../methods/channels.getChannels.md | 6 +- .../methods/channels.getDialogs.md | 6 +- .../methods/channels.getFullChannel.md | 6 +- .../methods/channels.getImportantHistory.md | 6 +- .../methods/channels.getMessages.md | 6 +- .../methods/channels.getParticipant.md | 6 +- .../methods/channels.getParticipants.md | 6 +- .../methods/contacts.deleteContact.md | 6 +- .../methods/contacts.getBlocked.md | 6 +- .../methods/contacts.getContacts.md | 6 +- .../methods/contacts.getSuggested.md | 6 +- .../methods/contacts.importContacts.md | 6 +- .../methods/contacts.resolveUsername.md | 6 +- .../API_docs_v38/methods/contacts.search.md | 6 +- .../methods/help.getAppChangelog.md | 6 +- .../API_docs_v38/methods/help.getAppUpdate.md | 6 +- .../methods/help.getInviteText.md | 6 +- .../API_docs_v38/methods/help.getSupport.md | 6 +- .../methods/messages.deleteHistory.md | 6 +- .../methods/messages.deleteMessages.md | 6 +- .../methods/messages.getAllStickers.md | 6 +- .../API_docs_v38/methods/messages.getChats.md | 6 +- .../methods/messages.getDhConfig.md | 6 +- .../methods/messages.getDialogs.md | 6 +- .../methods/messages.getFullChat.md | 6 +- .../methods/messages.getHistory.md | 6 +- .../methods/messages.getMessages.md | 6 +- .../methods/messages.getStickerSet.md | 6 +- .../methods/messages.getStickers.md | 6 +- .../methods/messages.readHistory.md | 6 +- .../methods/messages.readMessageContents.md | 6 +- .../API_docs_v38/methods/messages.search.md | 6 +- .../methods/messages.sendEncrypted.md | 14 +- .../methods/messages.sendEncryptedFile.md | 14 +- .../methods/messages.sendEncryptedService.md | 14 +- .../methods/photos.getUserPhotos.md | 6 +- .../methods/photos.uploadProfilePhoto.md | 6 +- .../methods/updates.getChannelDifference.md | 6 +- .../methods/updates.getDifference.md | 6 +- .../API_docs_v38/methods/updates.getState.md | 6 +- .../API_docs_v38/methods/upload.getFile.md | 6 +- old_docs/API_docs_v38/types/AccountDaysTTL.md | 2 +- old_docs/API_docs_v38/types/ChatInvite.md | 2 +- old_docs/API_docs_v38/types/Config.md | 2 +- old_docs/API_docs_v38/types/ContactStatus.md | 2 +- old_docs/API_docs_v38/types/EncryptedChat.md | 4 +- .../API_docs_v38/types/ExportedChatInvite.md | 4 +- old_docs/API_docs_v38/types/MessageMedia.md | 2 +- old_docs/API_docs_v38/types/NearestDc.md | 2 +- .../API_docs_v38/types/PeerNotifySettings.md | 2 +- old_docs/API_docs_v38/types/README.md | 84 ++-- .../types/ReceivedNotifyMessage.md | 2 +- old_docs/API_docs_v38/types/Updates.md | 42 +- old_docs/API_docs_v38/types/User.md | 10 +- old_docs/API_docs_v38/types/UserFull.md | 2 +- .../API_docs_v38/types/UserProfilePhoto.md | 2 +- old_docs/API_docs_v38/types/WallPaper.md | 2 +- .../types/account.Authorizations.md | 22 + .../API_docs_v38/types/account.Password.md | 24 + .../types/account.PasswordInputSettings.md | 20 + .../types/account.PasswordSettings.md | 22 + .../types/account.PrivacyRules.md | 24 + .../types/account.SentChangePhoneCode.md | 22 + .../types/account_Authorizations.md | 22 - .../API_docs_v38/types/account_Password.md | 24 - .../types/account_PasswordInputSettings.md | 20 - .../types/account_PasswordSettings.md | 22 - .../types/account_PrivacyRules.md | 24 - .../types/account_SentChangePhoneCode.md | 22 - .../API_docs_v38/types/auth.Authorization.md | 32 ++ .../API_docs_v38/types/auth.CheckedPhone.md | 22 + .../types/auth.ExportedAuthorization.md | 22 + .../types/auth.PasswordRecovery.md | 22 + old_docs/API_docs_v38/types/auth.SentCode.md | 24 + .../API_docs_v38/types/auth_Authorization.md | 32 -- .../API_docs_v38/types/auth_CheckedPhone.md | 22 - .../types/auth_ExportedAuthorization.md | 22 - .../types/auth_PasswordRecovery.md | 22 - old_docs/API_docs_v38/types/auth_SentCode.md | 24 - .../types/channels.ChannelParticipant.md | 22 + .../types/channels.ChannelParticipants.md | 22 + .../types/channels_ChannelParticipant.md | 22 - .../types/channels_ChannelParticipants.md | 22 - .../API_docs_v38/types/contacts.Blocked.md | 24 + .../API_docs_v38/types/contacts.Contacts.md | 24 + old_docs/API_docs_v38/types/contacts.Found.md | 22 + .../types/contacts.ImportedContacts.md | 22 + old_docs/API_docs_v38/types/contacts.Link.md | 22 + .../types/contacts.ResolvedPeer.md | 22 + .../API_docs_v38/types/contacts.Suggested.md | 22 + .../API_docs_v38/types/contacts_Blocked.md | 24 - .../API_docs_v38/types/contacts_Contacts.md | 24 - old_docs/API_docs_v38/types/contacts_Found.md | 22 - .../types/contacts_ImportedContacts.md | 22 - old_docs/API_docs_v38/types/contacts_Link.md | 22 - .../types/contacts_ResolvedPeer.md | 22 - .../API_docs_v38/types/contacts_Suggested.md | 22 - .../API_docs_v38/types/help.AppChangelog.md | 24 + old_docs/API_docs_v38/types/help.AppUpdate.md | 24 + .../API_docs_v38/types/help.InviteText.md | 22 + old_docs/API_docs_v38/types/help.Support.md | 22 + .../API_docs_v38/types/help_AppChangelog.md | 24 - old_docs/API_docs_v38/types/help_AppUpdate.md | 24 - .../API_docs_v38/types/help_InviteText.md | 22 - old_docs/API_docs_v38/types/help_Support.md | 22 - .../types/messages.AffectedHistory.md | 26 ++ .../types/messages.AffectedMessages.md | 26 ++ .../types/messages.AllStickers.md | 24 + .../API_docs_v38/types/messages.ChatFull.md | 24 + old_docs/API_docs_v38/types/messages.Chats.md | 24 + .../API_docs_v38/types/messages.DhConfig.md | 24 + .../API_docs_v38/types/messages.Dialogs.md | 26 ++ .../API_docs_v38/types/messages.Messages.md | 34 ++ .../types/messages.SentEncryptedMessage.md | 28 ++ .../API_docs_v38/types/messages.StickerSet.md | 22 + .../API_docs_v38/types/messages.Stickers.md | 24 + .../types/messages_AffectedHistory.md | 26 -- .../types/messages_AffectedMessages.md | 26 -- .../types/messages_AllStickers.md | 24 - .../API_docs_v38/types/messages_ChatFull.md | 24 - old_docs/API_docs_v38/types/messages_Chats.md | 24 - .../API_docs_v38/types/messages_DhConfig.md | 24 - .../API_docs_v38/types/messages_Dialogs.md | 26 -- .../API_docs_v38/types/messages_Messages.md | 34 -- .../types/messages_SentEncryptedMessage.md | 28 -- .../API_docs_v38/types/messages_StickerSet.md | 22 - .../API_docs_v38/types/messages_Stickers.md | 24 - old_docs/API_docs_v38/types/photos.Photo.md | 22 + old_docs/API_docs_v38/types/photos.Photos.md | 24 + old_docs/API_docs_v38/types/photos_Photo.md | 22 - old_docs/API_docs_v38/types/photos_Photos.md | 24 - .../API_docs_v38/types/storage.FileType.md | 38 ++ .../API_docs_v38/types/storage_FileType.md | 38 -- .../types/updates.ChannelDifference.md | 26 ++ .../API_docs_v38/types/updates.Difference.md | 26 ++ old_docs/API_docs_v38/types/updates.State.md | 22 + .../types/updates_ChannelDifference.md | 26 -- .../API_docs_v38/types/updates_Difference.md | 26 -- old_docs/API_docs_v38/types/updates_State.md | 22 - old_docs/API_docs_v38/types/upload.File.md | 22 + old_docs/API_docs_v38/types/upload_File.md | 22 - old_docs/API_docs_v40/constructors/README.md | 207 ++++++--- .../constructors/account.authorizations.md | 38 ++ .../constructors/account.noPassword.md | 39 ++ .../constructors/account.password.md | 42 ++ .../account.passwordInputSettings.md | 41 ++ .../constructors/account.passwordSettings.md | 38 ++ .../constructors/account.privacyRules.md | 39 ++ .../account.sentChangePhoneCode.md | 39 ++ .../constructors/account_authorizations.md | 38 -- .../constructors/account_noPassword.md | 39 -- .../constructors/account_password.md | 42 -- .../account_passwordInputSettings.md | 41 -- .../constructors/account_passwordSettings.md | 38 -- .../constructors/account_privacyRules.md | 39 -- .../account_sentChangePhoneCode.md | 39 -- .../constructors/auth.authorization.md | 38 ++ .../constructors/auth.checkedPhone.md | 38 ++ .../auth.exportedAuthorization.md | 39 ++ .../constructors/auth.passwordRecovery.md | 38 ++ .../constructors/auth.sentAppCode.md | 41 ++ .../constructors/auth.sentCode.md | 41 ++ .../constructors/auth_authorization.md | 38 -- .../constructors/auth_checkedPhone.md | 38 -- .../auth_exportedAuthorization.md | 39 -- .../constructors/auth_passwordRecovery.md | 38 -- .../constructors/auth_sentAppCode.md | 41 -- .../constructors/auth_sentCode.md | 41 -- .../constructors/contacts.blocked.md | 39 ++ .../constructors/contacts.blockedSlice.md | 40 ++ .../constructors/contacts.contacts.md | 39 ++ .../contacts.contactsNotModified.md | 33 ++ .../constructors/contacts.found.md | 39 ++ .../constructors/contacts.importedContacts.md | 40 ++ .../constructors/contacts.link.md | 40 ++ .../constructors/contacts.suggested.md | 39 ++ .../constructors/contacts_blocked.md | 39 -- .../constructors/contacts_blockedSlice.md | 40 -- .../constructors/contacts_contacts.md | 39 -- .../contacts_contactsNotModified.md | 33 -- .../constructors/contacts_found.md | 39 -- .../constructors/contacts_importedContacts.md | 40 -- .../constructors/contacts_link.md | 40 -- .../constructors/contacts_suggested.md | 39 -- .../constructors/help.appChangelog.md | 38 ++ .../constructors/help.appChangelogEmpty.md | 33 ++ .../constructors/help.appUpdate.md | 41 ++ .../constructors/help.inviteText.md | 38 ++ .../constructors/help.noAppUpdate.md | 33 ++ .../API_docs_v40/constructors/help.support.md | 39 ++ .../constructors/help_appChangelog.md | 38 -- .../constructors/help_appChangelogEmpty.md | 33 -- .../constructors/help_appUpdate.md | 41 -- .../constructors/help_inviteText.md | 38 -- .../constructors/help_noAppUpdate.md | 33 -- .../API_docs_v40/constructors/help_support.md | 39 -- .../constructors/messages.affectedHistory.md | 40 ++ .../constructors/messages.affectedMessages.md | 39 ++ .../constructors/messages.allStickers.md | 39 ++ .../messages.allStickersNotModified.md | 33 ++ .../constructors/messages.channelMessages.md | 43 ++ .../constructors/messages.chatFull.md | 40 ++ .../constructors/messages.chats.md | 38 ++ .../constructors/messages.dhConfig.md | 41 ++ .../messages.dhConfigNotModified.md | 38 ++ .../constructors/messages.dialogs.md | 41 ++ .../constructors/messages.dialogsSlice.md | 42 ++ .../constructors/messages.messages.md | 40 ++ .../constructors/messages.messagesSlice.md | 41 ++ .../messages.sentEncryptedFile.md | 39 ++ .../messages.sentEncryptedMessage.md | 38 ++ .../constructors/messages.stickerSet.md | 40 ++ .../constructors/messages.stickers.md | 39 ++ .../messages.stickersNotModified.md | 33 ++ .../constructors/messages_affectedHistory.md | 40 -- .../constructors/messages_affectedMessages.md | 39 -- .../constructors/messages_allStickers.md | 39 -- .../messages_allStickersNotModified.md | 33 -- .../constructors/messages_channelMessages.md | 43 -- .../constructors/messages_chatFull.md | 40 -- .../constructors/messages_chats.md | 38 -- .../constructors/messages_dhConfig.md | 41 -- .../messages_dhConfigNotModified.md | 38 -- .../constructors/messages_dialogs.md | 41 -- .../constructors/messages_dialogsSlice.md | 42 -- .../constructors/messages_messages.md | 40 -- .../constructors/messages_messagesSlice.md | 41 -- .../messages_sentEncryptedFile.md | 39 -- .../messages_sentEncryptedMessage.md | 38 -- .../constructors/messages_stickerSet.md | 40 -- .../constructors/messages_stickers.md | 39 -- .../messages_stickersNotModified.md | 33 -- .../API_docs_v40/constructors/photos.photo.md | 39 ++ .../constructors/photos.photos.md | 39 ++ .../constructors/photos.photosSlice.md | 40 ++ .../API_docs_v40/constructors/photos_photo.md | 39 -- .../constructors/photos_photos.md | 39 -- .../constructors/photos_photosSlice.md | 40 -- .../constructors/storage.fileGif.md | 33 ++ .../constructors/storage.fileJpeg.md | 33 ++ .../constructors/storage.fileMov.md | 33 ++ .../constructors/storage.fileMp3.md | 33 ++ .../constructors/storage.fileMp4.md | 33 ++ .../constructors/storage.filePartial.md | 33 ++ .../constructors/storage.filePdf.md | 33 ++ .../constructors/storage.filePng.md | 33 ++ .../constructors/storage.fileUnknown.md | 33 ++ .../constructors/storage.fileWebp.md | 33 ++ .../constructors/storage_fileGif.md | 33 -- .../constructors/storage_fileJpeg.md | 33 -- .../constructors/storage_fileMov.md | 33 -- .../constructors/storage_fileMp3.md | 33 -- .../constructors/storage_fileMp4.md | 33 -- .../constructors/storage_filePartial.md | 33 -- .../constructors/storage_filePdf.md | 33 -- .../constructors/storage_filePng.md | 33 -- .../constructors/storage_fileUnknown.md | 33 -- .../constructors/storage_fileWebp.md | 33 -- .../constructors/updates.channelDifference.md | 43 ++ .../updates.channelDifferenceEmpty.md | 39 ++ .../updates.channelDifferenceTooLong.md | 57 +++ .../constructors/updates.difference.md | 43 ++ .../constructors/updates.differenceEmpty.md | 39 ++ .../constructors/updates.differenceSlice.md | 43 ++ .../constructors/updates.state.md | 42 ++ .../constructors/updates_channelDifference.md | 43 -- .../updates_channelDifferenceEmpty.md | 39 -- .../updates_channelDifferenceTooLong.md | 57 --- .../constructors/updates_difference.md | 43 -- .../constructors/updates_differenceEmpty.md | 39 -- .../constructors/updates_differenceSlice.md | 43 -- .../constructors/updates_state.md | 42 -- .../API_docs_v40/constructors/upload.file.md | 40 ++ .../API_docs_v40/constructors/upload_file.md | 40 -- .../API_docs_v40/constructors/userFull.md | 6 +- .../methods/account.getAuthorizations.md | 6 +- .../methods/account.getPassword.md | 6 +- .../methods/account.getPasswordSettings.md | 6 +- .../methods/account.getPrivacy.md | 6 +- .../methods/account.sendChangePhoneCode.md | 6 +- .../methods/account.setPrivacy.md | 6 +- old_docs/API_docs_v40/methods/api_README.md | 104 ++--- .../methods/auth.checkPassword.md | 6 +- .../API_docs_v40/methods/auth.checkPhone.md | 6 +- .../methods/auth.exportAuthorization.md | 6 +- .../methods/auth.importAuthorization.md | 6 +- .../methods/auth.importBotAuthorization.md | 6 +- .../methods/auth.recoverPassword.md | 6 +- .../methods/auth.requestPasswordRecovery.md | 6 +- .../API_docs_v40/methods/auth.sendCode.md | 6 +- old_docs/API_docs_v40/methods/auth.signIn.md | 6 +- old_docs/API_docs_v40/methods/auth.signUp.md | 6 +- .../methods/contacts.deleteContact.md | 6 +- .../methods/contacts.getBlocked.md | 6 +- .../methods/contacts.getContacts.md | 6 +- .../methods/contacts.getSuggested.md | 6 +- .../methods/contacts.importContacts.md | 6 +- .../API_docs_v40/methods/contacts.search.md | 6 +- .../methods/help.getAppChangelog.md | 6 +- .../API_docs_v40/methods/help.getAppUpdate.md | 6 +- .../methods/help.getInviteText.md | 6 +- .../API_docs_v40/methods/help.getSupport.md | 6 +- .../methods/messages.deleteChannelMessages.md | 6 +- .../methods/messages.deleteHistory.md | 6 +- .../methods/messages.deleteMessages.md | 6 +- .../methods/messages.getAllStickers.md | 6 +- .../methods/messages.getChannelDialogs.md | 6 +- .../API_docs_v40/methods/messages.getChats.md | 6 +- .../methods/messages.getDhConfig.md | 6 +- .../methods/messages.getDialogs.md | 6 +- .../methods/messages.getFullChat.md | 6 +- .../methods/messages.getHistory.md | 6 +- .../methods/messages.getImportantHistory.md | 6 +- .../methods/messages.getMessages.md | 6 +- .../methods/messages.getStickerSet.md | 6 +- .../methods/messages.getStickers.md | 6 +- .../methods/messages.readHistory.md | 6 +- .../methods/messages.readMessageContents.md | 6 +- .../API_docs_v40/methods/messages.search.md | 6 +- .../methods/messages.sendEncrypted.md | 14 +- .../methods/messages.sendEncryptedFile.md | 14 +- .../methods/messages.sendEncryptedService.md | 14 +- .../methods/photos.getUserPhotos.md | 6 +- .../methods/photos.uploadProfilePhoto.md | 6 +- .../methods/updates.getChannelDifference.md | 6 +- .../methods/updates.getDifference.md | 6 +- .../API_docs_v40/methods/updates.getState.md | 6 +- .../API_docs_v40/methods/upload.getFile.md | 6 +- old_docs/API_docs_v40/types/AccountDaysTTL.md | 2 +- old_docs/API_docs_v40/types/ChatInvite.md | 2 +- old_docs/API_docs_v40/types/Config.md | 2 +- old_docs/API_docs_v40/types/ContactStatus.md | 2 +- old_docs/API_docs_v40/types/EncryptedChat.md | 4 +- .../API_docs_v40/types/ExportedChatInvite.md | 2 +- old_docs/API_docs_v40/types/MessageMedia.md | 2 +- old_docs/API_docs_v40/types/NearestDc.md | 2 +- .../API_docs_v40/types/PeerNotifySettings.md | 2 +- old_docs/API_docs_v40/types/README.md | 78 ++-- .../types/ReceivedNotifyMessage.md | 2 +- old_docs/API_docs_v40/types/Updates.md | 26 +- old_docs/API_docs_v40/types/User.md | 12 +- old_docs/API_docs_v40/types/UserFull.md | 2 +- .../API_docs_v40/types/UserProfilePhoto.md | 2 +- old_docs/API_docs_v40/types/WallPaper.md | 2 +- .../types/account.Authorizations.md | 22 + .../API_docs_v40/types/account.Password.md | 24 + .../types/account.PasswordInputSettings.md | 20 + .../types/account.PasswordSettings.md | 22 + .../types/account.PrivacyRules.md | 24 + .../types/account.SentChangePhoneCode.md | 22 + .../types/account_Authorizations.md | 22 - .../API_docs_v40/types/account_Password.md | 24 - .../types/account_PasswordInputSettings.md | 20 - .../types/account_PasswordSettings.md | 22 - .../types/account_PrivacyRules.md | 24 - .../types/account_SentChangePhoneCode.md | 22 - .../API_docs_v40/types/auth.Authorization.md | 32 ++ .../API_docs_v40/types/auth.CheckedPhone.md | 22 + .../types/auth.ExportedAuthorization.md | 22 + .../types/auth.PasswordRecovery.md | 22 + old_docs/API_docs_v40/types/auth.SentCode.md | 24 + .../API_docs_v40/types/auth_Authorization.md | 32 -- .../API_docs_v40/types/auth_CheckedPhone.md | 22 - .../types/auth_ExportedAuthorization.md | 22 - .../types/auth_PasswordRecovery.md | 22 - old_docs/API_docs_v40/types/auth_SentCode.md | 24 - .../API_docs_v40/types/contacts.Blocked.md | 24 + .../API_docs_v40/types/contacts.Contacts.md | 24 + old_docs/API_docs_v40/types/contacts.Found.md | 22 + .../types/contacts.ImportedContacts.md | 22 + old_docs/API_docs_v40/types/contacts.Link.md | 22 + .../API_docs_v40/types/contacts.Suggested.md | 22 + .../API_docs_v40/types/contacts_Blocked.md | 24 - .../API_docs_v40/types/contacts_Contacts.md | 24 - old_docs/API_docs_v40/types/contacts_Found.md | 22 - .../types/contacts_ImportedContacts.md | 22 - old_docs/API_docs_v40/types/contacts_Link.md | 22 - .../API_docs_v40/types/contacts_Suggested.md | 22 - .../API_docs_v40/types/help.AppChangelog.md | 24 + old_docs/API_docs_v40/types/help.AppUpdate.md | 24 + .../API_docs_v40/types/help.InviteText.md | 22 + old_docs/API_docs_v40/types/help.Support.md | 22 + .../API_docs_v40/types/help_AppChangelog.md | 24 - old_docs/API_docs_v40/types/help_AppUpdate.md | 24 - .../API_docs_v40/types/help_InviteText.md | 22 - old_docs/API_docs_v40/types/help_Support.md | 22 - .../types/messages.AffectedHistory.md | 24 + .../types/messages.AffectedMessages.md | 26 ++ .../types/messages.AllStickers.md | 24 + .../API_docs_v40/types/messages.ChatFull.md | 22 + old_docs/API_docs_v40/types/messages.Chats.md | 22 + .../API_docs_v40/types/messages.DhConfig.md | 24 + .../API_docs_v40/types/messages.Dialogs.md | 26 ++ .../API_docs_v40/types/messages.Messages.md | 32 ++ .../types/messages.SentEncryptedMessage.md | 28 ++ .../API_docs_v40/types/messages.StickerSet.md | 22 + .../API_docs_v40/types/messages.Stickers.md | 24 + .../types/messages_AffectedHistory.md | 24 - .../types/messages_AffectedMessages.md | 26 -- .../types/messages_AllStickers.md | 24 - .../API_docs_v40/types/messages_ChatFull.md | 22 - old_docs/API_docs_v40/types/messages_Chats.md | 22 - .../API_docs_v40/types/messages_DhConfig.md | 24 - .../API_docs_v40/types/messages_Dialogs.md | 26 -- .../API_docs_v40/types/messages_Messages.md | 32 -- .../types/messages_SentEncryptedMessage.md | 28 -- .../API_docs_v40/types/messages_StickerSet.md | 22 - .../API_docs_v40/types/messages_Stickers.md | 24 - old_docs/API_docs_v40/types/photos.Photo.md | 22 + old_docs/API_docs_v40/types/photos.Photos.md | 24 + old_docs/API_docs_v40/types/photos_Photo.md | 22 - old_docs/API_docs_v40/types/photos_Photos.md | 24 - .../API_docs_v40/types/storage.FileType.md | 38 ++ .../API_docs_v40/types/storage_FileType.md | 38 -- .../types/updates.ChannelDifference.md | 26 ++ .../API_docs_v40/types/updates.Difference.md | 26 ++ old_docs/API_docs_v40/types/updates.State.md | 22 + .../types/updates_ChannelDifference.md | 26 -- .../API_docs_v40/types/updates_Difference.md | 26 -- old_docs/API_docs_v40/types/updates_State.md | 22 - old_docs/API_docs_v40/types/upload.File.md | 22 + old_docs/API_docs_v40/types/upload_File.md | 22 - old_docs/API_docs_v41/constructors/README.md | 215 +++++---- .../constructors/account.authorizations.md | 38 ++ .../constructors/account.noPassword.md | 39 ++ .../constructors/account.password.md | 42 ++ .../account.passwordInputSettings.md | 41 ++ .../constructors/account.passwordSettings.md | 38 ++ .../constructors/account.privacyRules.md | 39 ++ .../account.sentChangePhoneCode.md | 39 ++ .../constructors/account_authorizations.md | 38 -- .../constructors/account_noPassword.md | 39 -- .../constructors/account_password.md | 42 -- .../account_passwordInputSettings.md | 41 -- .../constructors/account_passwordSettings.md | 38 -- .../constructors/account_privacyRules.md | 39 -- .../account_sentChangePhoneCode.md | 39 -- .../constructors/auth.authorization.md | 38 ++ .../constructors/auth.checkedPhone.md | 38 ++ .../auth.exportedAuthorization.md | 39 ++ .../constructors/auth.passwordRecovery.md | 38 ++ .../constructors/auth.sentAppCode.md | 41 ++ .../constructors/auth.sentCode.md | 41 ++ .../constructors/auth_authorization.md | 38 -- .../constructors/auth_checkedPhone.md | 38 -- .../auth_exportedAuthorization.md | 39 -- .../constructors/auth_passwordRecovery.md | 38 -- .../constructors/auth_sentAppCode.md | 41 -- .../constructors/auth_sentCode.md | 41 -- .../channels.channelParticipant.md | 39 ++ .../channels.channelParticipants.md | 40 ++ .../channels_channelParticipant.md | 39 -- .../channels_channelParticipants.md | 40 -- .../constructors/contacts.blocked.md | 39 ++ .../constructors/contacts.blockedSlice.md | 40 ++ .../constructors/contacts.contacts.md | 39 ++ .../contacts.contactsNotModified.md | 33 ++ .../constructors/contacts.found.md | 40 ++ .../constructors/contacts.importedContacts.md | 40 ++ .../constructors/contacts.link.md | 40 ++ .../constructors/contacts.resolvedPeer.md | 40 ++ .../constructors/contacts.suggested.md | 39 ++ .../constructors/contacts_blocked.md | 39 -- .../constructors/contacts_blockedSlice.md | 40 -- .../constructors/contacts_contacts.md | 39 -- .../contacts_contactsNotModified.md | 33 -- .../constructors/contacts_found.md | 40 -- .../constructors/contacts_importedContacts.md | 40 -- .../constructors/contacts_link.md | 40 -- .../constructors/contacts_resolvedPeer.md | 40 -- .../constructors/contacts_suggested.md | 39 -- .../constructors/help.appChangelog.md | 38 ++ .../constructors/help.appChangelogEmpty.md | 33 ++ .../constructors/help.appUpdate.md | 41 ++ .../constructors/help.inviteText.md | 38 ++ .../constructors/help.noAppUpdate.md | 33 ++ .../API_docs_v41/constructors/help.support.md | 39 ++ .../constructors/help_appChangelog.md | 38 -- .../constructors/help_appChangelogEmpty.md | 33 -- .../constructors/help_appUpdate.md | 41 -- .../constructors/help_inviteText.md | 38 -- .../constructors/help_noAppUpdate.md | 33 -- .../API_docs_v41/constructors/help_support.md | 39 -- .../constructors/messages.affectedHistory.md | 40 ++ .../constructors/messages.affectedMessages.md | 39 ++ .../constructors/messages.allStickers.md | 39 ++ .../messages.allStickersNotModified.md | 33 ++ .../constructors/messages.channelMessages.md | 43 ++ .../constructors/messages.chatFull.md | 40 ++ .../constructors/messages.chats.md | 38 ++ .../constructors/messages.dhConfig.md | 41 ++ .../messages.dhConfigNotModified.md | 38 ++ .../constructors/messages.dialogs.md | 41 ++ .../constructors/messages.dialogsSlice.md | 42 ++ .../constructors/messages.messages.md | 40 ++ .../constructors/messages.messagesSlice.md | 41 ++ .../messages.sentEncryptedFile.md | 39 ++ .../messages.sentEncryptedMessage.md | 38 ++ .../constructors/messages.stickerSet.md | 40 ++ .../constructors/messages.stickers.md | 39 ++ .../messages.stickersNotModified.md | 33 ++ .../constructors/messages_affectedHistory.md | 40 -- .../constructors/messages_affectedMessages.md | 39 -- .../constructors/messages_allStickers.md | 39 -- .../messages_allStickersNotModified.md | 33 -- .../constructors/messages_channelMessages.md | 43 -- .../constructors/messages_chatFull.md | 40 -- .../constructors/messages_chats.md | 38 -- .../constructors/messages_dhConfig.md | 41 -- .../messages_dhConfigNotModified.md | 38 -- .../constructors/messages_dialogs.md | 41 -- .../constructors/messages_dialogsSlice.md | 42 -- .../constructors/messages_messages.md | 40 -- .../constructors/messages_messagesSlice.md | 41 -- .../messages_sentEncryptedFile.md | 39 -- .../messages_sentEncryptedMessage.md | 38 -- .../constructors/messages_stickerSet.md | 40 -- .../constructors/messages_stickers.md | 39 -- .../messages_stickersNotModified.md | 33 -- .../API_docs_v41/constructors/photos.photo.md | 39 ++ .../constructors/photos.photos.md | 39 ++ .../constructors/photos.photosSlice.md | 40 ++ .../API_docs_v41/constructors/photos_photo.md | 39 -- .../constructors/photos_photos.md | 39 -- .../constructors/photos_photosSlice.md | 40 -- .../constructors/storage.fileGif.md | 33 ++ .../constructors/storage.fileJpeg.md | 33 ++ .../constructors/storage.fileMov.md | 33 ++ .../constructors/storage.fileMp3.md | 33 ++ .../constructors/storage.fileMp4.md | 33 ++ .../constructors/storage.filePartial.md | 33 ++ .../constructors/storage.filePdf.md | 33 ++ .../constructors/storage.filePng.md | 33 ++ .../constructors/storage.fileUnknown.md | 33 ++ .../constructors/storage.fileWebp.md | 33 ++ .../constructors/storage_fileGif.md | 33 -- .../constructors/storage_fileJpeg.md | 33 -- .../constructors/storage_fileMov.md | 33 -- .../constructors/storage_fileMp3.md | 33 -- .../constructors/storage_fileMp4.md | 33 -- .../constructors/storage_filePartial.md | 33 -- .../constructors/storage_filePdf.md | 33 -- .../constructors/storage_filePng.md | 33 -- .../constructors/storage_fileUnknown.md | 33 -- .../constructors/storage_fileWebp.md | 33 -- .../constructors/updates.channelDifference.md | 44 ++ .../updates.channelDifferenceEmpty.md | 40 ++ .../updates.channelDifferenceTooLong.md | 58 +++ .../constructors/updates.difference.md | 43 ++ .../constructors/updates.differenceEmpty.md | 39 ++ .../constructors/updates.differenceSlice.md | 43 ++ .../constructors/updates.state.md | 42 ++ .../constructors/updates_channelDifference.md | 44 -- .../updates_channelDifferenceEmpty.md | 40 -- .../updates_channelDifferenceTooLong.md | 58 --- .../constructors/updates_difference.md | 43 -- .../constructors/updates_differenceEmpty.md | 39 -- .../constructors/updates_differenceSlice.md | 43 -- .../constructors/updates_state.md | 42 -- .../API_docs_v41/constructors/upload.file.md | 40 ++ .../API_docs_v41/constructors/upload_file.md | 40 -- .../API_docs_v41/constructors/userFull.md | 6 +- .../methods/account.getAuthorizations.md | 6 +- .../methods/account.getPassword.md | 6 +- .../methods/account.getPasswordSettings.md | 6 +- .../methods/account.getPrivacy.md | 6 +- .../methods/account.sendChangePhoneCode.md | 6 +- .../methods/account.setPrivacy.md | 6 +- old_docs/API_docs_v41/methods/api_README.md | 120 ++--- .../methods/auth.checkPassword.md | 6 +- .../API_docs_v41/methods/auth.checkPhone.md | 6 +- .../methods/auth.exportAuthorization.md | 6 +- .../methods/auth.importAuthorization.md | 6 +- .../methods/auth.importBotAuthorization.md | 6 +- .../methods/auth.recoverPassword.md | 6 +- .../methods/auth.requestPasswordRecovery.md | 6 +- .../API_docs_v41/methods/auth.sendCode.md | 6 +- old_docs/API_docs_v41/methods/auth.signIn.md | 6 +- old_docs/API_docs_v41/methods/auth.signUp.md | 6 +- .../methods/channels.deleteMessages.md | 6 +- .../methods/channels.deleteUserHistory.md | 6 +- .../methods/channels.getChannels.md | 6 +- .../methods/channels.getDialogs.md | 6 +- .../methods/channels.getFullChannel.md | 6 +- .../methods/channels.getImportantHistory.md | 6 +- .../methods/channels.getMessages.md | 6 +- .../methods/channels.getParticipant.md | 6 +- .../methods/channels.getParticipants.md | 6 +- .../methods/contacts.deleteContact.md | 6 +- .../methods/contacts.getBlocked.md | 6 +- .../methods/contacts.getContacts.md | 6 +- .../methods/contacts.getSuggested.md | 6 +- .../methods/contacts.importContacts.md | 6 +- .../methods/contacts.resolveUsername.md | 6 +- .../API_docs_v41/methods/contacts.search.md | 6 +- .../methods/help.getAppChangelog.md | 6 +- .../API_docs_v41/methods/help.getAppUpdate.md | 6 +- .../methods/help.getInviteText.md | 6 +- .../API_docs_v41/methods/help.getSupport.md | 6 +- .../methods/messages.deleteHistory.md | 6 +- .../methods/messages.deleteMessages.md | 6 +- .../methods/messages.getAllStickers.md | 6 +- .../API_docs_v41/methods/messages.getChats.md | 6 +- .../methods/messages.getDhConfig.md | 6 +- .../methods/messages.getDialogs.md | 6 +- .../methods/messages.getFullChat.md | 6 +- .../methods/messages.getHistory.md | 6 +- .../methods/messages.getMessages.md | 6 +- .../methods/messages.getStickerSet.md | 6 +- .../methods/messages.getStickers.md | 6 +- .../methods/messages.readHistory.md | 6 +- .../methods/messages.readMessageContents.md | 6 +- .../API_docs_v41/methods/messages.search.md | 6 +- .../methods/messages.searchGlobal.md | 6 +- .../methods/messages.sendEncrypted.md | 14 +- .../methods/messages.sendEncryptedFile.md | 14 +- .../methods/messages.sendEncryptedService.md | 14 +- .../methods/photos.getUserPhotos.md | 6 +- .../methods/photos.uploadProfilePhoto.md | 6 +- .../methods/updates.getChannelDifference.md | 6 +- .../methods/updates.getDifference.md | 6 +- .../API_docs_v41/methods/updates.getState.md | 6 +- .../API_docs_v41/methods/upload.getFile.md | 6 +- old_docs/API_docs_v41/types/AccountDaysTTL.md | 2 +- old_docs/API_docs_v41/types/ChatInvite.md | 2 +- old_docs/API_docs_v41/types/Config.md | 2 +- old_docs/API_docs_v41/types/ContactStatus.md | 2 +- old_docs/API_docs_v41/types/EncryptedChat.md | 4 +- .../API_docs_v41/types/ExportedChatInvite.md | 4 +- old_docs/API_docs_v41/types/MessageMedia.md | 2 +- old_docs/API_docs_v41/types/NearestDc.md | 2 +- .../API_docs_v41/types/PeerNotifySettings.md | 2 +- old_docs/API_docs_v41/types/README.md | 84 ++-- .../types/ReceivedNotifyMessage.md | 2 +- old_docs/API_docs_v41/types/Updates.md | 48 +- old_docs/API_docs_v41/types/User.md | 10 +- old_docs/API_docs_v41/types/UserFull.md | 2 +- .../API_docs_v41/types/UserProfilePhoto.md | 2 +- old_docs/API_docs_v41/types/WallPaper.md | 2 +- .../types/account.Authorizations.md | 22 + .../API_docs_v41/types/account.Password.md | 24 + .../types/account.PasswordInputSettings.md | 20 + .../types/account.PasswordSettings.md | 22 + .../types/account.PrivacyRules.md | 24 + .../types/account.SentChangePhoneCode.md | 22 + .../types/account_Authorizations.md | 22 - .../API_docs_v41/types/account_Password.md | 24 - .../types/account_PasswordInputSettings.md | 20 - .../types/account_PasswordSettings.md | 22 - .../types/account_PrivacyRules.md | 24 - .../types/account_SentChangePhoneCode.md | 22 - .../API_docs_v41/types/auth.Authorization.md | 32 ++ .../API_docs_v41/types/auth.CheckedPhone.md | 22 + .../types/auth.ExportedAuthorization.md | 22 + .../types/auth.PasswordRecovery.md | 22 + old_docs/API_docs_v41/types/auth.SentCode.md | 24 + .../API_docs_v41/types/auth_Authorization.md | 32 -- .../API_docs_v41/types/auth_CheckedPhone.md | 22 - .../types/auth_ExportedAuthorization.md | 22 - .../types/auth_PasswordRecovery.md | 22 - old_docs/API_docs_v41/types/auth_SentCode.md | 24 - .../types/channels.ChannelParticipant.md | 22 + .../types/channels.ChannelParticipants.md | 22 + .../types/channels_ChannelParticipant.md | 22 - .../types/channels_ChannelParticipants.md | 22 - .../API_docs_v41/types/contacts.Blocked.md | 24 + .../API_docs_v41/types/contacts.Contacts.md | 24 + old_docs/API_docs_v41/types/contacts.Found.md | 22 + .../types/contacts.ImportedContacts.md | 22 + old_docs/API_docs_v41/types/contacts.Link.md | 22 + .../types/contacts.ResolvedPeer.md | 22 + .../API_docs_v41/types/contacts.Suggested.md | 22 + .../API_docs_v41/types/contacts_Blocked.md | 24 - .../API_docs_v41/types/contacts_Contacts.md | 24 - old_docs/API_docs_v41/types/contacts_Found.md | 22 - .../types/contacts_ImportedContacts.md | 22 - old_docs/API_docs_v41/types/contacts_Link.md | 22 - .../types/contacts_ResolvedPeer.md | 22 - .../API_docs_v41/types/contacts_Suggested.md | 22 - .../API_docs_v41/types/help.AppChangelog.md | 24 + old_docs/API_docs_v41/types/help.AppUpdate.md | 24 + .../API_docs_v41/types/help.InviteText.md | 22 + old_docs/API_docs_v41/types/help.Support.md | 22 + .../API_docs_v41/types/help_AppChangelog.md | 24 - old_docs/API_docs_v41/types/help_AppUpdate.md | 24 - .../API_docs_v41/types/help_InviteText.md | 22 - old_docs/API_docs_v41/types/help_Support.md | 22 - .../types/messages.AffectedHistory.md | 24 + .../types/messages.AffectedMessages.md | 28 ++ .../types/messages.AllStickers.md | 24 + .../API_docs_v41/types/messages.ChatFull.md | 24 + old_docs/API_docs_v41/types/messages.Chats.md | 24 + .../API_docs_v41/types/messages.DhConfig.md | 24 + .../API_docs_v41/types/messages.Dialogs.md | 26 ++ .../API_docs_v41/types/messages.Messages.md | 36 ++ .../types/messages.SentEncryptedMessage.md | 28 ++ .../API_docs_v41/types/messages.StickerSet.md | 22 + .../API_docs_v41/types/messages.Stickers.md | 24 + .../types/messages_AffectedHistory.md | 24 - .../types/messages_AffectedMessages.md | 28 -- .../types/messages_AllStickers.md | 24 - .../API_docs_v41/types/messages_ChatFull.md | 24 - old_docs/API_docs_v41/types/messages_Chats.md | 24 - .../API_docs_v41/types/messages_DhConfig.md | 24 - .../API_docs_v41/types/messages_Dialogs.md | 26 -- .../API_docs_v41/types/messages_Messages.md | 36 -- .../types/messages_SentEncryptedMessage.md | 28 -- .../API_docs_v41/types/messages_StickerSet.md | 22 - .../API_docs_v41/types/messages_Stickers.md | 24 - old_docs/API_docs_v41/types/photos.Photo.md | 22 + old_docs/API_docs_v41/types/photos.Photos.md | 24 + old_docs/API_docs_v41/types/photos_Photo.md | 22 - old_docs/API_docs_v41/types/photos_Photos.md | 24 - .../API_docs_v41/types/storage.FileType.md | 38 ++ .../API_docs_v41/types/storage_FileType.md | 38 -- .../types/updates.ChannelDifference.md | 26 ++ .../API_docs_v41/types/updates.Difference.md | 26 ++ old_docs/API_docs_v41/types/updates.State.md | 22 + .../types/updates_ChannelDifference.md | 26 -- .../API_docs_v41/types/updates_Difference.md | 26 -- old_docs/API_docs_v41/types/updates_State.md | 22 - old_docs/API_docs_v41/types/upload.File.md | 22 + old_docs/API_docs_v41/types/upload_File.md | 22 - old_docs/API_docs_v42/constructors/README.md | 215 +++++---- .../constructors/account.authorizations.md | 38 ++ .../constructors/account.noPassword.md | 39 ++ .../constructors/account.password.md | 42 ++ .../account.passwordInputSettings.md | 41 ++ .../constructors/account.passwordSettings.md | 38 ++ .../constructors/account.privacyRules.md | 39 ++ .../account.sentChangePhoneCode.md | 39 ++ .../constructors/account_authorizations.md | 38 -- .../constructors/account_noPassword.md | 39 -- .../constructors/account_password.md | 42 -- .../account_passwordInputSettings.md | 41 -- .../constructors/account_passwordSettings.md | 38 -- .../constructors/account_privacyRules.md | 39 -- .../account_sentChangePhoneCode.md | 39 -- .../constructors/auth.authorization.md | 38 ++ .../constructors/auth.checkedPhone.md | 38 ++ .../auth.exportedAuthorization.md | 39 ++ .../constructors/auth.passwordRecovery.md | 38 ++ .../constructors/auth.sentAppCode.md | 41 ++ .../constructors/auth.sentCode.md | 41 ++ .../constructors/auth_authorization.md | 38 -- .../constructors/auth_checkedPhone.md | 38 -- .../auth_exportedAuthorization.md | 39 -- .../constructors/auth_passwordRecovery.md | 38 -- .../constructors/auth_sentAppCode.md | 41 -- .../constructors/auth_sentCode.md | 41 -- .../channels.channelParticipant.md | 39 ++ .../channels.channelParticipants.md | 40 ++ .../channels_channelParticipant.md | 39 -- .../channels_channelParticipants.md | 40 -- .../constructors/contacts.blocked.md | 39 ++ .../constructors/contacts.blockedSlice.md | 40 ++ .../constructors/contacts.contacts.md | 39 ++ .../contacts.contactsNotModified.md | 33 ++ .../constructors/contacts.found.md | 40 ++ .../constructors/contacts.importedContacts.md | 40 ++ .../constructors/contacts.link.md | 40 ++ .../constructors/contacts.resolvedPeer.md | 40 ++ .../constructors/contacts.suggested.md | 39 ++ .../constructors/contacts_blocked.md | 39 -- .../constructors/contacts_blockedSlice.md | 40 -- .../constructors/contacts_contacts.md | 39 -- .../contacts_contactsNotModified.md | 33 -- .../constructors/contacts_found.md | 40 -- .../constructors/contacts_importedContacts.md | 40 -- .../constructors/contacts_link.md | 40 -- .../constructors/contacts_resolvedPeer.md | 40 -- .../constructors/contacts_suggested.md | 39 -- .../constructors/help.appChangelog.md | 38 ++ .../constructors/help.appChangelogEmpty.md | 33 ++ .../constructors/help.appUpdate.md | 41 ++ .../constructors/help.inviteText.md | 38 ++ .../constructors/help.noAppUpdate.md | 33 ++ .../API_docs_v42/constructors/help.support.md | 39 ++ .../constructors/help_appChangelog.md | 38 -- .../constructors/help_appChangelogEmpty.md | 33 -- .../constructors/help_appUpdate.md | 41 -- .../constructors/help_inviteText.md | 38 -- .../constructors/help_noAppUpdate.md | 33 -- .../API_docs_v42/constructors/help_support.md | 39 -- .../constructors/messages.affectedHistory.md | 40 ++ .../constructors/messages.affectedMessages.md | 39 ++ .../constructors/messages.allStickers.md | 39 ++ .../messages.allStickersNotModified.md | 33 ++ .../constructors/messages.channelMessages.md | 43 ++ .../constructors/messages.chatFull.md | 40 ++ .../constructors/messages.chats.md | 38 ++ .../constructors/messages.dhConfig.md | 41 ++ .../messages.dhConfigNotModified.md | 38 ++ .../constructors/messages.dialogs.md | 41 ++ .../constructors/messages.dialogsSlice.md | 42 ++ .../constructors/messages.messages.md | 40 ++ .../constructors/messages.messagesSlice.md | 41 ++ .../messages.sentEncryptedFile.md | 39 ++ .../messages.sentEncryptedMessage.md | 38 ++ .../constructors/messages.stickerSet.md | 40 ++ .../constructors/messages.stickers.md | 39 ++ .../messages.stickersNotModified.md | 33 ++ .../constructors/messages_affectedHistory.md | 40 -- .../constructors/messages_affectedMessages.md | 39 -- .../constructors/messages_allStickers.md | 39 -- .../messages_allStickersNotModified.md | 33 -- .../constructors/messages_channelMessages.md | 43 -- .../constructors/messages_chatFull.md | 40 -- .../constructors/messages_chats.md | 38 -- .../constructors/messages_dhConfig.md | 41 -- .../messages_dhConfigNotModified.md | 38 -- .../constructors/messages_dialogs.md | 41 -- .../constructors/messages_dialogsSlice.md | 42 -- .../constructors/messages_messages.md | 40 -- .../constructors/messages_messagesSlice.md | 41 -- .../messages_sentEncryptedFile.md | 39 -- .../messages_sentEncryptedMessage.md | 38 -- .../constructors/messages_stickerSet.md | 40 -- .../constructors/messages_stickers.md | 39 -- .../messages_stickersNotModified.md | 33 -- .../API_docs_v42/constructors/photos.photo.md | 39 ++ .../constructors/photos.photos.md | 39 ++ .../constructors/photos.photosSlice.md | 40 ++ .../API_docs_v42/constructors/photos_photo.md | 39 -- .../constructors/photos_photos.md | 39 -- .../constructors/photos_photosSlice.md | 40 -- .../constructors/storage.fileGif.md | 33 ++ .../constructors/storage.fileJpeg.md | 33 ++ .../constructors/storage.fileMov.md | 33 ++ .../constructors/storage.fileMp3.md | 33 ++ .../constructors/storage.fileMp4.md | 33 ++ .../constructors/storage.filePartial.md | 33 ++ .../constructors/storage.filePdf.md | 33 ++ .../constructors/storage.filePng.md | 33 ++ .../constructors/storage.fileUnknown.md | 33 ++ .../constructors/storage.fileWebp.md | 33 ++ .../constructors/storage_fileGif.md | 33 -- .../constructors/storage_fileJpeg.md | 33 -- .../constructors/storage_fileMov.md | 33 -- .../constructors/storage_fileMp3.md | 33 -- .../constructors/storage_fileMp4.md | 33 -- .../constructors/storage_filePartial.md | 33 -- .../constructors/storage_filePdf.md | 33 -- .../constructors/storage_filePng.md | 33 -- .../constructors/storage_fileUnknown.md | 33 -- .../constructors/storage_fileWebp.md | 33 -- .../constructors/updates.channelDifference.md | 44 ++ .../updates.channelDifferenceEmpty.md | 40 ++ .../updates.channelDifferenceTooLong.md | 58 +++ .../constructors/updates.difference.md | 43 ++ .../constructors/updates.differenceEmpty.md | 39 ++ .../constructors/updates.differenceSlice.md | 43 ++ .../constructors/updates.state.md | 42 ++ .../constructors/updates_channelDifference.md | 44 -- .../updates_channelDifferenceEmpty.md | 40 -- .../updates_channelDifferenceTooLong.md | 58 --- .../constructors/updates_difference.md | 43 -- .../constructors/updates_differenceEmpty.md | 39 -- .../constructors/updates_differenceSlice.md | 43 -- .../constructors/updates_state.md | 42 -- .../API_docs_v42/constructors/upload.file.md | 40 ++ .../API_docs_v42/constructors/upload_file.md | 40 -- .../API_docs_v42/constructors/userFull.md | 6 +- .../methods/account.getAuthorizations.md | 6 +- .../methods/account.getPassword.md | 6 +- .../methods/account.getPasswordSettings.md | 6 +- .../methods/account.getPrivacy.md | 6 +- .../methods/account.sendChangePhoneCode.md | 6 +- .../methods/account.setPrivacy.md | 6 +- old_docs/API_docs_v42/methods/api_README.md | 120 ++--- .../methods/auth.checkPassword.md | 6 +- .../API_docs_v42/methods/auth.checkPhone.md | 6 +- .../methods/auth.exportAuthorization.md | 6 +- .../methods/auth.importAuthorization.md | 6 +- .../methods/auth.importBotAuthorization.md | 6 +- .../methods/auth.recoverPassword.md | 6 +- .../methods/auth.requestPasswordRecovery.md | 6 +- .../API_docs_v42/methods/auth.sendCode.md | 6 +- old_docs/API_docs_v42/methods/auth.signIn.md | 6 +- old_docs/API_docs_v42/methods/auth.signUp.md | 6 +- .../methods/channels.deleteMessages.md | 6 +- .../methods/channels.deleteUserHistory.md | 6 +- .../methods/channels.getChannels.md | 6 +- .../methods/channels.getDialogs.md | 6 +- .../methods/channels.getFullChannel.md | 6 +- .../methods/channels.getImportantHistory.md | 6 +- .../methods/channels.getMessages.md | 6 +- .../methods/channels.getParticipant.md | 6 +- .../methods/channels.getParticipants.md | 6 +- .../methods/contacts.deleteContact.md | 6 +- .../methods/contacts.getBlocked.md | 6 +- .../methods/contacts.getContacts.md | 6 +- .../methods/contacts.getSuggested.md | 6 +- .../methods/contacts.importContacts.md | 6 +- .../methods/contacts.resolveUsername.md | 6 +- .../API_docs_v42/methods/contacts.search.md | 6 +- .../methods/help.getAppChangelog.md | 6 +- .../API_docs_v42/methods/help.getAppUpdate.md | 6 +- .../methods/help.getInviteText.md | 6 +- .../API_docs_v42/methods/help.getSupport.md | 6 +- .../methods/messages.deleteHistory.md | 6 +- .../methods/messages.deleteMessages.md | 6 +- .../methods/messages.getAllStickers.md | 6 +- .../API_docs_v42/methods/messages.getChats.md | 6 +- .../methods/messages.getDhConfig.md | 6 +- .../methods/messages.getDialogs.md | 6 +- .../methods/messages.getFullChat.md | 6 +- .../methods/messages.getHistory.md | 6 +- .../methods/messages.getMessages.md | 6 +- .../methods/messages.getStickerSet.md | 6 +- .../methods/messages.getStickers.md | 6 +- .../methods/messages.readHistory.md | 6 +- .../methods/messages.readMessageContents.md | 6 +- .../API_docs_v42/methods/messages.search.md | 6 +- .../methods/messages.searchGlobal.md | 6 +- .../methods/messages.sendEncrypted.md | 14 +- .../methods/messages.sendEncryptedFile.md | 14 +- .../methods/messages.sendEncryptedService.md | 14 +- .../methods/photos.getUserPhotos.md | 6 +- .../methods/photos.uploadProfilePhoto.md | 6 +- .../methods/updates.getChannelDifference.md | 6 +- .../methods/updates.getDifference.md | 6 +- .../API_docs_v42/methods/updates.getState.md | 6 +- .../API_docs_v42/methods/upload.getFile.md | 6 +- old_docs/API_docs_v42/types/AccountDaysTTL.md | 2 +- old_docs/API_docs_v42/types/ChatInvite.md | 2 +- old_docs/API_docs_v42/types/Config.md | 2 +- old_docs/API_docs_v42/types/ContactStatus.md | 2 +- old_docs/API_docs_v42/types/EncryptedChat.md | 4 +- .../API_docs_v42/types/ExportedChatInvite.md | 4 +- old_docs/API_docs_v42/types/MessageMedia.md | 2 +- old_docs/API_docs_v42/types/NearestDc.md | 2 +- .../API_docs_v42/types/PeerNotifySettings.md | 2 +- old_docs/API_docs_v42/types/README.md | 84 ++-- .../types/ReceivedNotifyMessage.md | 2 +- old_docs/API_docs_v42/types/Updates.md | 48 +- old_docs/API_docs_v42/types/User.md | 10 +- old_docs/API_docs_v42/types/UserFull.md | 2 +- .../API_docs_v42/types/UserProfilePhoto.md | 2 +- old_docs/API_docs_v42/types/WallPaper.md | 2 +- .../types/account.Authorizations.md | 22 + .../API_docs_v42/types/account.Password.md | 24 + .../types/account.PasswordInputSettings.md | 20 + .../types/account.PasswordSettings.md | 22 + .../types/account.PrivacyRules.md | 24 + .../types/account.SentChangePhoneCode.md | 22 + .../types/account_Authorizations.md | 22 - .../API_docs_v42/types/account_Password.md | 24 - .../types/account_PasswordInputSettings.md | 20 - .../types/account_PasswordSettings.md | 22 - .../types/account_PrivacyRules.md | 24 - .../types/account_SentChangePhoneCode.md | 22 - .../API_docs_v42/types/auth.Authorization.md | 32 ++ .../API_docs_v42/types/auth.CheckedPhone.md | 22 + .../types/auth.ExportedAuthorization.md | 22 + .../types/auth.PasswordRecovery.md | 22 + old_docs/API_docs_v42/types/auth.SentCode.md | 24 + .../API_docs_v42/types/auth_Authorization.md | 32 -- .../API_docs_v42/types/auth_CheckedPhone.md | 22 - .../types/auth_ExportedAuthorization.md | 22 - .../types/auth_PasswordRecovery.md | 22 - old_docs/API_docs_v42/types/auth_SentCode.md | 24 - .../types/channels.ChannelParticipant.md | 22 + .../types/channels.ChannelParticipants.md | 22 + .../types/channels_ChannelParticipant.md | 22 - .../types/channels_ChannelParticipants.md | 22 - .../API_docs_v42/types/contacts.Blocked.md | 24 + .../API_docs_v42/types/contacts.Contacts.md | 24 + old_docs/API_docs_v42/types/contacts.Found.md | 22 + .../types/contacts.ImportedContacts.md | 22 + old_docs/API_docs_v42/types/contacts.Link.md | 22 + .../types/contacts.ResolvedPeer.md | 22 + .../API_docs_v42/types/contacts.Suggested.md | 22 + .../API_docs_v42/types/contacts_Blocked.md | 24 - .../API_docs_v42/types/contacts_Contacts.md | 24 - old_docs/API_docs_v42/types/contacts_Found.md | 22 - .../types/contacts_ImportedContacts.md | 22 - old_docs/API_docs_v42/types/contacts_Link.md | 22 - .../types/contacts_ResolvedPeer.md | 22 - .../API_docs_v42/types/contacts_Suggested.md | 22 - .../API_docs_v42/types/help.AppChangelog.md | 24 + old_docs/API_docs_v42/types/help.AppUpdate.md | 24 + .../API_docs_v42/types/help.InviteText.md | 22 + old_docs/API_docs_v42/types/help.Support.md | 22 + .../API_docs_v42/types/help_AppChangelog.md | 24 - old_docs/API_docs_v42/types/help_AppUpdate.md | 24 - .../API_docs_v42/types/help_InviteText.md | 22 - old_docs/API_docs_v42/types/help_Support.md | 22 - .../types/messages.AffectedHistory.md | 24 + .../types/messages.AffectedMessages.md | 28 ++ .../types/messages.AllStickers.md | 24 + .../API_docs_v42/types/messages.ChatFull.md | 24 + old_docs/API_docs_v42/types/messages.Chats.md | 24 + .../API_docs_v42/types/messages.DhConfig.md | 24 + .../API_docs_v42/types/messages.Dialogs.md | 26 ++ .../API_docs_v42/types/messages.Messages.md | 36 ++ .../types/messages.SentEncryptedMessage.md | 28 ++ .../API_docs_v42/types/messages.StickerSet.md | 22 + .../API_docs_v42/types/messages.Stickers.md | 24 + .../types/messages_AffectedHistory.md | 24 - .../types/messages_AffectedMessages.md | 28 -- .../types/messages_AllStickers.md | 24 - .../API_docs_v42/types/messages_ChatFull.md | 24 - old_docs/API_docs_v42/types/messages_Chats.md | 24 - .../API_docs_v42/types/messages_DhConfig.md | 24 - .../API_docs_v42/types/messages_Dialogs.md | 26 -- .../API_docs_v42/types/messages_Messages.md | 36 -- .../types/messages_SentEncryptedMessage.md | 28 -- .../API_docs_v42/types/messages_StickerSet.md | 22 - .../API_docs_v42/types/messages_Stickers.md | 24 - old_docs/API_docs_v42/types/photos.Photo.md | 22 + old_docs/API_docs_v42/types/photos.Photos.md | 24 + old_docs/API_docs_v42/types/photos_Photo.md | 22 - old_docs/API_docs_v42/types/photos_Photos.md | 24 - .../API_docs_v42/types/storage.FileType.md | 38 ++ .../API_docs_v42/types/storage_FileType.md | 38 -- .../types/updates.ChannelDifference.md | 26 ++ .../API_docs_v42/types/updates.Difference.md | 26 ++ old_docs/API_docs_v42/types/updates.State.md | 22 + .../types/updates_ChannelDifference.md | 26 -- .../API_docs_v42/types/updates_Difference.md | 26 -- old_docs/API_docs_v42/types/updates_State.md | 22 - old_docs/API_docs_v42/types/upload.File.md | 22 + old_docs/API_docs_v42/types/upload_File.md | 22 - old_docs/API_docs_v44/constructors/README.md | 221 +++++---- .../constructors/account.authorizations.md | 38 ++ .../constructors/account.noPassword.md | 39 ++ .../constructors/account.password.md | 42 ++ .../account.passwordInputSettings.md | 41 ++ .../constructors/account.passwordSettings.md | 38 ++ .../constructors/account.privacyRules.md | 39 ++ .../account.sentChangePhoneCode.md | 39 ++ .../constructors/account_authorizations.md | 38 -- .../constructors/account_noPassword.md | 39 -- .../constructors/account_password.md | 42 -- .../account_passwordInputSettings.md | 41 -- .../constructors/account_passwordSettings.md | 38 -- .../constructors/account_privacyRules.md | 39 -- .../account_sentChangePhoneCode.md | 39 -- .../constructors/auth.authorization.md | 38 ++ .../constructors/auth.checkedPhone.md | 38 ++ .../auth.exportedAuthorization.md | 39 ++ .../constructors/auth.passwordRecovery.md | 38 ++ .../constructors/auth.sentAppCode.md | 41 ++ .../constructors/auth.sentCode.md | 41 ++ .../constructors/auth_authorization.md | 38 -- .../constructors/auth_checkedPhone.md | 38 -- .../auth_exportedAuthorization.md | 39 -- .../constructors/auth_passwordRecovery.md | 38 -- .../constructors/auth_sentAppCode.md | 41 -- .../constructors/auth_sentCode.md | 41 -- .../channels.channelParticipant.md | 39 ++ .../channels.channelParticipants.md | 40 ++ .../channels_channelParticipant.md | 39 -- .../channels_channelParticipants.md | 40 -- .../constructors/contacts.blocked.md | 39 ++ .../constructors/contacts.blockedSlice.md | 40 ++ .../constructors/contacts.contacts.md | 39 ++ .../contacts.contactsNotModified.md | 33 ++ .../constructors/contacts.found.md | 40 ++ .../constructors/contacts.importedContacts.md | 40 ++ .../constructors/contacts.link.md | 40 ++ .../constructors/contacts.resolvedPeer.md | 40 ++ .../constructors/contacts.suggested.md | 39 ++ .../constructors/contacts_blocked.md | 39 -- .../constructors/contacts_blockedSlice.md | 40 -- .../constructors/contacts_contacts.md | 39 -- .../contacts_contactsNotModified.md | 33 -- .../constructors/contacts_found.md | 40 -- .../constructors/contacts_importedContacts.md | 40 -- .../constructors/contacts_link.md | 40 -- .../constructors/contacts_resolvedPeer.md | 40 -- .../constructors/contacts_suggested.md | 39 -- .../constructors/help.appChangelog.md | 38 ++ .../constructors/help.appChangelogEmpty.md | 33 ++ .../constructors/help.appUpdate.md | 41 ++ .../constructors/help.inviteText.md | 38 ++ .../constructors/help.noAppUpdate.md | 33 ++ .../API_docs_v44/constructors/help.support.md | 39 ++ .../constructors/help.termsOfService.md | 38 ++ .../constructors/help_appChangelog.md | 38 -- .../constructors/help_appChangelogEmpty.md | 33 -- .../constructors/help_appUpdate.md | 41 -- .../constructors/help_inviteText.md | 38 -- .../constructors/help_noAppUpdate.md | 33 -- .../API_docs_v44/constructors/help_support.md | 39 -- .../constructors/help_termsOfService.md | 38 -- .../constructors/messages.affectedHistory.md | 40 ++ .../constructors/messages.affectedMessages.md | 39 ++ .../constructors/messages.allStickers.md | 39 ++ .../messages.allStickersNotModified.md | 33 ++ .../constructors/messages.channelMessages.md | 43 ++ .../constructors/messages.chatFull.md | 40 ++ .../constructors/messages.chats.md | 38 ++ .../constructors/messages.dhConfig.md | 41 ++ .../messages.dhConfigNotModified.md | 38 ++ .../constructors/messages.dialogs.md | 41 ++ .../constructors/messages.dialogsSlice.md | 42 ++ .../constructors/messages.foundGifs.md | 39 ++ .../constructors/messages.messages.md | 40 ++ .../constructors/messages.messagesSlice.md | 41 ++ .../messages.sentEncryptedFile.md | 39 ++ .../messages.sentEncryptedMessage.md | 38 ++ .../constructors/messages.stickerSet.md | 40 ++ .../constructors/messages.stickers.md | 39 ++ .../messages.stickersNotModified.md | 33 ++ .../constructors/messages_affectedHistory.md | 40 -- .../constructors/messages_affectedMessages.md | 39 -- .../constructors/messages_allStickers.md | 39 -- .../messages_allStickersNotModified.md | 33 -- .../constructors/messages_channelMessages.md | 43 -- .../constructors/messages_chatFull.md | 40 -- .../constructors/messages_chats.md | 38 -- .../constructors/messages_dhConfig.md | 41 -- .../messages_dhConfigNotModified.md | 38 -- .../constructors/messages_dialogs.md | 41 -- .../constructors/messages_dialogsSlice.md | 42 -- .../constructors/messages_foundGifs.md | 39 -- .../constructors/messages_messages.md | 40 -- .../constructors/messages_messagesSlice.md | 41 -- .../messages_sentEncryptedFile.md | 39 -- .../messages_sentEncryptedMessage.md | 38 -- .../constructors/messages_stickerSet.md | 40 -- .../constructors/messages_stickers.md | 39 -- .../messages_stickersNotModified.md | 33 -- .../API_docs_v44/constructors/photos.photo.md | 39 ++ .../constructors/photos.photos.md | 39 ++ .../constructors/photos.photosSlice.md | 40 ++ .../API_docs_v44/constructors/photos_photo.md | 39 -- .../constructors/photos_photos.md | 39 -- .../constructors/photos_photosSlice.md | 40 -- .../constructors/storage.fileGif.md | 33 ++ .../constructors/storage.fileJpeg.md | 33 ++ .../constructors/storage.fileMov.md | 33 ++ .../constructors/storage.fileMp3.md | 33 ++ .../constructors/storage.fileMp4.md | 33 ++ .../constructors/storage.filePartial.md | 33 ++ .../constructors/storage.filePdf.md | 33 ++ .../constructors/storage.filePng.md | 33 ++ .../constructors/storage.fileUnknown.md | 33 ++ .../constructors/storage.fileWebp.md | 33 ++ .../constructors/storage_fileGif.md | 33 -- .../constructors/storage_fileJpeg.md | 33 -- .../constructors/storage_fileMov.md | 33 -- .../constructors/storage_fileMp3.md | 33 -- .../constructors/storage_fileMp4.md | 33 -- .../constructors/storage_filePartial.md | 33 -- .../constructors/storage_filePdf.md | 33 -- .../constructors/storage_filePng.md | 33 -- .../constructors/storage_fileUnknown.md | 33 -- .../constructors/storage_fileWebp.md | 33 -- .../constructors/updateNewStickerSet.md | 6 +- .../constructors/updates.channelDifference.md | 44 ++ .../updates.channelDifferenceEmpty.md | 40 ++ .../updates.channelDifferenceTooLong.md | 58 +++ .../constructors/updates.difference.md | 43 ++ .../constructors/updates.differenceEmpty.md | 39 ++ .../constructors/updates.differenceSlice.md | 43 ++ .../constructors/updates.state.md | 42 ++ .../constructors/updates_channelDifference.md | 44 -- .../updates_channelDifferenceEmpty.md | 40 -- .../updates_channelDifferenceTooLong.md | 58 --- .../constructors/updates_difference.md | 43 -- .../constructors/updates_differenceEmpty.md | 39 -- .../constructors/updates_differenceSlice.md | 43 -- .../constructors/updates_state.md | 42 -- .../API_docs_v44/constructors/upload.file.md | 40 ++ .../API_docs_v44/constructors/upload_file.md | 40 -- .../API_docs_v44/constructors/userFull.md | 6 +- .../methods/account.getAuthorizations.md | 6 +- .../methods/account.getPassword.md | 6 +- .../methods/account.getPasswordSettings.md | 6 +- .../methods/account.getPrivacy.md | 6 +- .../methods/account.sendChangePhoneCode.md | 6 +- .../methods/account.setPrivacy.md | 6 +- old_docs/API_docs_v44/methods/api_README.md | 124 ++--- .../methods/auth.checkPassword.md | 6 +- .../API_docs_v44/methods/auth.checkPhone.md | 6 +- .../methods/auth.exportAuthorization.md | 6 +- .../methods/auth.importAuthorization.md | 6 +- .../methods/auth.importBotAuthorization.md | 6 +- .../methods/auth.recoverPassword.md | 6 +- .../methods/auth.requestPasswordRecovery.md | 6 +- .../API_docs_v44/methods/auth.sendCode.md | 6 +- old_docs/API_docs_v44/methods/auth.signIn.md | 6 +- old_docs/API_docs_v44/methods/auth.signUp.md | 6 +- .../methods/channels.deleteMessages.md | 6 +- .../methods/channels.deleteUserHistory.md | 6 +- .../methods/channels.getChannels.md | 6 +- .../methods/channels.getDialogs.md | 6 +- .../methods/channels.getFullChannel.md | 6 +- .../methods/channels.getImportantHistory.md | 6 +- .../methods/channels.getMessages.md | 6 +- .../methods/channels.getParticipant.md | 6 +- .../methods/channels.getParticipants.md | 6 +- .../methods/contacts.deleteContact.md | 6 +- .../methods/contacts.getBlocked.md | 6 +- .../methods/contacts.getContacts.md | 6 +- .../methods/contacts.getSuggested.md | 6 +- .../methods/contacts.importContacts.md | 6 +- .../methods/contacts.resolveUsername.md | 6 +- .../API_docs_v44/methods/contacts.search.md | 6 +- .../methods/help.getAppChangelog.md | 6 +- .../API_docs_v44/methods/help.getAppUpdate.md | 6 +- .../methods/help.getInviteText.md | 6 +- .../API_docs_v44/methods/help.getSupport.md | 6 +- .../methods/help.getTermsOfService.md | 6 +- .../methods/messages.deleteHistory.md | 6 +- .../methods/messages.deleteMessages.md | 6 +- .../methods/messages.getAllStickers.md | 6 +- .../API_docs_v44/methods/messages.getChats.md | 6 +- .../methods/messages.getDhConfig.md | 6 +- .../methods/messages.getDialogs.md | 6 +- .../methods/messages.getFullChat.md | 6 +- .../methods/messages.getHistory.md | 6 +- .../methods/messages.getMessages.md | 6 +- .../methods/messages.getStickerSet.md | 6 +- .../methods/messages.getStickers.md | 6 +- .../methods/messages.readHistory.md | 6 +- .../methods/messages.readMessageContents.md | 6 +- .../API_docs_v44/methods/messages.search.md | 6 +- .../methods/messages.searchGifs.md | 6 +- .../methods/messages.searchGlobal.md | 6 +- .../methods/messages.sendEncrypted.md | 14 +- .../methods/messages.sendEncryptedFile.md | 14 +- .../methods/messages.sendEncryptedService.md | 14 +- .../methods/photos.getUserPhotos.md | 6 +- .../methods/photos.uploadProfilePhoto.md | 6 +- .../methods/updates.getChannelDifference.md | 6 +- .../methods/updates.getDifference.md | 6 +- .../API_docs_v44/methods/updates.getState.md | 6 +- .../API_docs_v44/methods/upload.getFile.md | 6 +- old_docs/API_docs_v44/types/AccountDaysTTL.md | 2 +- old_docs/API_docs_v44/types/ChatInvite.md | 2 +- old_docs/API_docs_v44/types/Config.md | 2 +- old_docs/API_docs_v44/types/ContactStatus.md | 2 +- old_docs/API_docs_v44/types/Document.md | 2 +- old_docs/API_docs_v44/types/EncryptedChat.md | 4 +- .../API_docs_v44/types/ExportedChatInvite.md | 4 +- old_docs/API_docs_v44/types/MessageMedia.md | 2 +- old_docs/API_docs_v44/types/NearestDc.md | 2 +- .../API_docs_v44/types/PeerNotifySettings.md | 2 +- old_docs/API_docs_v44/types/README.md | 88 ++-- .../types/ReceivedNotifyMessage.md | 2 +- old_docs/API_docs_v44/types/Updates.md | 48 +- old_docs/API_docs_v44/types/User.md | 10 +- old_docs/API_docs_v44/types/UserFull.md | 2 +- .../API_docs_v44/types/UserProfilePhoto.md | 2 +- old_docs/API_docs_v44/types/WallPaper.md | 2 +- .../types/account.Authorizations.md | 22 + .../API_docs_v44/types/account.Password.md | 24 + .../types/account.PasswordInputSettings.md | 20 + .../types/account.PasswordSettings.md | 22 + .../types/account.PrivacyRules.md | 24 + .../types/account.SentChangePhoneCode.md | 22 + .../types/account_Authorizations.md | 22 - .../API_docs_v44/types/account_Password.md | 24 - .../types/account_PasswordInputSettings.md | 20 - .../types/account_PasswordSettings.md | 22 - .../types/account_PrivacyRules.md | 24 - .../types/account_SentChangePhoneCode.md | 22 - .../API_docs_v44/types/auth.Authorization.md | 32 ++ .../API_docs_v44/types/auth.CheckedPhone.md | 22 + .../types/auth.ExportedAuthorization.md | 22 + .../types/auth.PasswordRecovery.md | 22 + old_docs/API_docs_v44/types/auth.SentCode.md | 24 + .../API_docs_v44/types/auth_Authorization.md | 32 -- .../API_docs_v44/types/auth_CheckedPhone.md | 22 - .../types/auth_ExportedAuthorization.md | 22 - .../types/auth_PasswordRecovery.md | 22 - old_docs/API_docs_v44/types/auth_SentCode.md | 24 - .../types/channels.ChannelParticipant.md | 22 + .../types/channels.ChannelParticipants.md | 22 + .../types/channels_ChannelParticipant.md | 22 - .../types/channels_ChannelParticipants.md | 22 - .../API_docs_v44/types/contacts.Blocked.md | 24 + .../API_docs_v44/types/contacts.Contacts.md | 24 + old_docs/API_docs_v44/types/contacts.Found.md | 22 + .../types/contacts.ImportedContacts.md | 22 + old_docs/API_docs_v44/types/contacts.Link.md | 22 + .../types/contacts.ResolvedPeer.md | 22 + .../API_docs_v44/types/contacts.Suggested.md | 22 + .../API_docs_v44/types/contacts_Blocked.md | 24 - .../API_docs_v44/types/contacts_Contacts.md | 24 - old_docs/API_docs_v44/types/contacts_Found.md | 22 - .../types/contacts_ImportedContacts.md | 22 - old_docs/API_docs_v44/types/contacts_Link.md | 22 - .../types/contacts_ResolvedPeer.md | 22 - .../API_docs_v44/types/contacts_Suggested.md | 22 - .../API_docs_v44/types/help.AppChangelog.md | 24 + old_docs/API_docs_v44/types/help.AppUpdate.md | 24 + .../API_docs_v44/types/help.InviteText.md | 22 + old_docs/API_docs_v44/types/help.Support.md | 22 + .../API_docs_v44/types/help.TermsOfService.md | 22 + .../API_docs_v44/types/help_AppChangelog.md | 24 - old_docs/API_docs_v44/types/help_AppUpdate.md | 24 - .../API_docs_v44/types/help_InviteText.md | 22 - old_docs/API_docs_v44/types/help_Support.md | 22 - .../API_docs_v44/types/help_TermsOfService.md | 22 - .../types/messages.AffectedHistory.md | 24 + .../types/messages.AffectedMessages.md | 28 ++ .../types/messages.AllStickers.md | 24 + .../API_docs_v44/types/messages.ChatFull.md | 24 + old_docs/API_docs_v44/types/messages.Chats.md | 24 + .../API_docs_v44/types/messages.DhConfig.md | 24 + .../API_docs_v44/types/messages.Dialogs.md | 26 ++ .../API_docs_v44/types/messages.FoundGifs.md | 22 + .../API_docs_v44/types/messages.Messages.md | 36 ++ .../types/messages.SentEncryptedMessage.md | 28 ++ .../API_docs_v44/types/messages.StickerSet.md | 22 + .../API_docs_v44/types/messages.Stickers.md | 24 + .../types/messages_AffectedHistory.md | 24 - .../types/messages_AffectedMessages.md | 28 -- .../types/messages_AllStickers.md | 24 - .../API_docs_v44/types/messages_ChatFull.md | 24 - old_docs/API_docs_v44/types/messages_Chats.md | 24 - .../API_docs_v44/types/messages_DhConfig.md | 24 - .../API_docs_v44/types/messages_Dialogs.md | 26 -- .../API_docs_v44/types/messages_FoundGifs.md | 22 - .../API_docs_v44/types/messages_Messages.md | 36 -- .../types/messages_SentEncryptedMessage.md | 28 -- .../API_docs_v44/types/messages_StickerSet.md | 22 - .../API_docs_v44/types/messages_Stickers.md | 24 - old_docs/API_docs_v44/types/photos.Photo.md | 22 + old_docs/API_docs_v44/types/photos.Photos.md | 24 + old_docs/API_docs_v44/types/photos_Photo.md | 22 - old_docs/API_docs_v44/types/photos_Photos.md | 24 - .../API_docs_v44/types/storage.FileType.md | 38 ++ .../API_docs_v44/types/storage_FileType.md | 38 -- .../types/updates.ChannelDifference.md | 26 ++ .../API_docs_v44/types/updates.Difference.md | 26 ++ old_docs/API_docs_v44/types/updates.State.md | 22 + .../types/updates_ChannelDifference.md | 26 -- .../API_docs_v44/types/updates_Difference.md | 26 -- old_docs/API_docs_v44/types/updates_State.md | 22 - old_docs/API_docs_v44/types/upload.File.md | 22 + old_docs/API_docs_v44/types/upload_File.md | 22 - old_docs/API_docs_v45/constructors/README.md | 230 +++++---- .../constructors/account.authorizations.md | 38 ++ .../constructors/account.noPassword.md | 39 ++ .../constructors/account.password.md | 42 ++ .../account.passwordInputSettings.md | 41 ++ .../constructors/account.passwordSettings.md | 38 ++ .../constructors/account.privacyRules.md | 39 ++ .../account.sentChangePhoneCode.md | 39 ++ .../constructors/account_authorizations.md | 38 -- .../constructors/account_noPassword.md | 39 -- .../constructors/account_password.md | 42 -- .../account_passwordInputSettings.md | 41 -- .../constructors/account_passwordSettings.md | 38 -- .../constructors/account_privacyRules.md | 39 -- .../account_sentChangePhoneCode.md | 39 -- .../constructors/auth.authorization.md | 38 ++ .../constructors/auth.checkedPhone.md | 38 ++ .../auth.exportedAuthorization.md | 39 ++ .../constructors/auth.passwordRecovery.md | 38 ++ .../constructors/auth.sentAppCode.md | 41 ++ .../constructors/auth.sentCode.md | 41 ++ .../constructors/auth_authorization.md | 38 -- .../constructors/auth_checkedPhone.md | 38 -- .../auth_exportedAuthorization.md | 39 -- .../constructors/auth_passwordRecovery.md | 38 -- .../constructors/auth_sentAppCode.md | 41 -- .../constructors/auth_sentCode.md | 41 -- .../channels.channelParticipant.md | 39 ++ .../channels.channelParticipants.md | 40 ++ .../channels_channelParticipant.md | 39 -- .../channels_channelParticipants.md | 40 -- .../constructors/contacts.blocked.md | 39 ++ .../constructors/contacts.blockedSlice.md | 40 ++ .../constructors/contacts.contacts.md | 39 ++ .../contacts.contactsNotModified.md | 33 ++ .../constructors/contacts.found.md | 40 ++ .../constructors/contacts.importedContacts.md | 40 ++ .../constructors/contacts.link.md | 40 ++ .../constructors/contacts.resolvedPeer.md | 40 ++ .../constructors/contacts.suggested.md | 39 ++ .../constructors/contacts_blocked.md | 39 -- .../constructors/contacts_blockedSlice.md | 40 -- .../constructors/contacts_contacts.md | 39 -- .../contacts_contactsNotModified.md | 33 -- .../constructors/contacts_found.md | 40 -- .../constructors/contacts_importedContacts.md | 40 -- .../constructors/contacts_link.md | 40 -- .../constructors/contacts_resolvedPeer.md | 40 -- .../constructors/contacts_suggested.md | 39 -- .../constructors/help.appChangelog.md | 38 ++ .../constructors/help.appChangelogEmpty.md | 33 ++ .../constructors/help.appUpdate.md | 41 ++ .../constructors/help.inviteText.md | 38 ++ .../constructors/help.noAppUpdate.md | 33 ++ .../API_docs_v45/constructors/help.support.md | 39 ++ .../constructors/help.termsOfService.md | 38 ++ .../constructors/help_appChangelog.md | 38 -- .../constructors/help_appChangelogEmpty.md | 33 -- .../constructors/help_appUpdate.md | 41 -- .../constructors/help_inviteText.md | 38 -- .../constructors/help_noAppUpdate.md | 33 -- .../API_docs_v45/constructors/help_support.md | 39 -- .../constructors/help_termsOfService.md | 38 -- .../constructors/messages.affectedHistory.md | 40 ++ .../constructors/messages.affectedMessages.md | 39 ++ .../constructors/messages.allStickers.md | 39 ++ .../messages.allStickersNotModified.md | 33 ++ .../constructors/messages.botResults.md | 41 ++ .../constructors/messages.channelMessages.md | 43 ++ .../constructors/messages.chatFull.md | 40 ++ .../constructors/messages.chats.md | 38 ++ .../constructors/messages.dhConfig.md | 41 ++ .../messages.dhConfigNotModified.md | 38 ++ .../constructors/messages.dialogs.md | 41 ++ .../constructors/messages.dialogsSlice.md | 42 ++ .../constructors/messages.foundGifs.md | 39 ++ .../constructors/messages.messages.md | 40 ++ .../constructors/messages.messagesSlice.md | 41 ++ .../constructors/messages.savedGifs.md | 39 ++ .../messages.savedGifsNotModified.md | 33 ++ .../messages.sentEncryptedFile.md | 39 ++ .../messages.sentEncryptedMessage.md | 38 ++ .../constructors/messages.stickerSet.md | 40 ++ .../constructors/messages.stickers.md | 39 ++ .../messages.stickersNotModified.md | 33 ++ .../constructors/messages_affectedHistory.md | 40 -- .../constructors/messages_affectedMessages.md | 39 -- .../constructors/messages_allStickers.md | 39 -- .../messages_allStickersNotModified.md | 33 -- .../constructors/messages_botResults.md | 41 -- .../constructors/messages_channelMessages.md | 43 -- .../constructors/messages_chatFull.md | 40 -- .../constructors/messages_chats.md | 38 -- .../constructors/messages_dhConfig.md | 41 -- .../messages_dhConfigNotModified.md | 38 -- .../constructors/messages_dialogs.md | 41 -- .../constructors/messages_dialogsSlice.md | 42 -- .../constructors/messages_foundGifs.md | 39 -- .../constructors/messages_messages.md | 40 -- .../constructors/messages_messagesSlice.md | 41 -- .../constructors/messages_savedGifs.md | 39 -- .../messages_savedGifsNotModified.md | 33 -- .../messages_sentEncryptedFile.md | 39 -- .../messages_sentEncryptedMessage.md | 38 -- .../constructors/messages_stickerSet.md | 40 -- .../constructors/messages_stickers.md | 39 -- .../messages_stickersNotModified.md | 33 -- .../API_docs_v45/constructors/photos.photo.md | 39 ++ .../constructors/photos.photos.md | 39 ++ .../constructors/photos.photosSlice.md | 40 ++ .../API_docs_v45/constructors/photos_photo.md | 39 -- .../constructors/photos_photos.md | 39 -- .../constructors/photos_photosSlice.md | 40 -- .../constructors/storage.fileGif.md | 33 ++ .../constructors/storage.fileJpeg.md | 33 ++ .../constructors/storage.fileMov.md | 33 ++ .../constructors/storage.fileMp3.md | 33 ++ .../constructors/storage.fileMp4.md | 33 ++ .../constructors/storage.filePartial.md | 33 ++ .../constructors/storage.filePdf.md | 33 ++ .../constructors/storage.filePng.md | 33 ++ .../constructors/storage.fileUnknown.md | 33 ++ .../constructors/storage.fileWebp.md | 33 ++ .../constructors/storage_fileGif.md | 33 -- .../constructors/storage_fileJpeg.md | 33 -- .../constructors/storage_fileMov.md | 33 -- .../constructors/storage_fileMp3.md | 33 -- .../constructors/storage_fileMp4.md | 33 -- .../constructors/storage_filePartial.md | 33 -- .../constructors/storage_filePdf.md | 33 -- .../constructors/storage_filePng.md | 33 -- .../constructors/storage_fileUnknown.md | 33 -- .../constructors/storage_fileWebp.md | 33 -- .../constructors/updateNewStickerSet.md | 6 +- .../constructors/updates.channelDifference.md | 44 ++ .../updates.channelDifferenceEmpty.md | 40 ++ .../updates.channelDifferenceTooLong.md | 58 +++ .../constructors/updates.difference.md | 43 ++ .../constructors/updates.differenceEmpty.md | 39 ++ .../constructors/updates.differenceSlice.md | 43 ++ .../constructors/updates.state.md | 42 ++ .../constructors/updates_channelDifference.md | 44 -- .../updates_channelDifferenceEmpty.md | 40 -- .../updates_channelDifferenceTooLong.md | 58 --- .../constructors/updates_difference.md | 43 -- .../constructors/updates_differenceEmpty.md | 39 -- .../constructors/updates_differenceSlice.md | 43 -- .../constructors/updates_state.md | 42 -- .../API_docs_v45/constructors/upload.file.md | 40 ++ .../API_docs_v45/constructors/upload_file.md | 40 -- .../API_docs_v45/constructors/userFull.md | 6 +- .../methods/account.getAuthorizations.md | 6 +- .../methods/account.getPassword.md | 6 +- .../methods/account.getPasswordSettings.md | 6 +- .../methods/account.getPrivacy.md | 6 +- .../methods/account.sendChangePhoneCode.md | 6 +- .../methods/account.setPrivacy.md | 6 +- old_docs/API_docs_v45/methods/api_README.md | 128 ++--- .../methods/auth.checkPassword.md | 6 +- .../API_docs_v45/methods/auth.checkPhone.md | 6 +- .../methods/auth.exportAuthorization.md | 6 +- .../methods/auth.importAuthorization.md | 6 +- .../methods/auth.importBotAuthorization.md | 6 +- .../methods/auth.recoverPassword.md | 6 +- .../methods/auth.requestPasswordRecovery.md | 6 +- .../API_docs_v45/methods/auth.sendCode.md | 6 +- old_docs/API_docs_v45/methods/auth.signIn.md | 6 +- old_docs/API_docs_v45/methods/auth.signUp.md | 6 +- .../methods/channels.deleteMessages.md | 6 +- .../methods/channels.deleteUserHistory.md | 6 +- .../methods/channels.getChannels.md | 6 +- .../methods/channels.getDialogs.md | 6 +- .../methods/channels.getFullChannel.md | 6 +- .../methods/channels.getImportantHistory.md | 6 +- .../methods/channels.getMessages.md | 6 +- .../methods/channels.getParticipant.md | 6 +- .../methods/channels.getParticipants.md | 6 +- .../methods/contacts.deleteContact.md | 6 +- .../methods/contacts.getBlocked.md | 6 +- .../methods/contacts.getContacts.md | 6 +- .../methods/contacts.getSuggested.md | 6 +- .../methods/contacts.importContacts.md | 6 +- .../methods/contacts.resolveUsername.md | 6 +- .../API_docs_v45/methods/contacts.search.md | 6 +- .../methods/help.getAppChangelog.md | 6 +- .../API_docs_v45/methods/help.getAppUpdate.md | 6 +- .../methods/help.getInviteText.md | 6 +- .../API_docs_v45/methods/help.getSupport.md | 6 +- .../methods/help.getTermsOfService.md | 6 +- .../methods/messages.deleteHistory.md | 6 +- .../methods/messages.deleteMessages.md | 6 +- .../methods/messages.getAllStickers.md | 6 +- .../API_docs_v45/methods/messages.getChats.md | 6 +- .../methods/messages.getDhConfig.md | 6 +- .../methods/messages.getDialogs.md | 6 +- .../methods/messages.getFullChat.md | 6 +- .../methods/messages.getHistory.md | 6 +- .../methods/messages.getInlineBotResults.md | 6 +- .../methods/messages.getMessages.md | 6 +- .../methods/messages.getSavedGifs.md | 6 +- .../methods/messages.getStickerSet.md | 6 +- .../methods/messages.getStickers.md | 6 +- .../methods/messages.readHistory.md | 6 +- .../methods/messages.readMessageContents.md | 6 +- .../API_docs_v45/methods/messages.search.md | 6 +- .../methods/messages.searchGifs.md | 6 +- .../methods/messages.searchGlobal.md | 6 +- .../methods/messages.sendEncrypted.md | 14 +- .../methods/messages.sendEncryptedFile.md | 14 +- .../methods/messages.sendEncryptedService.md | 14 +- .../methods/photos.getUserPhotos.md | 6 +- .../methods/photos.uploadProfilePhoto.md | 6 +- .../methods/updates.getChannelDifference.md | 6 +- .../methods/updates.getDifference.md | 6 +- .../API_docs_v45/methods/updates.getState.md | 6 +- .../API_docs_v45/methods/upload.getFile.md | 6 +- old_docs/API_docs_v45/types/AccountDaysTTL.md | 2 +- old_docs/API_docs_v45/types/ChatInvite.md | 2 +- old_docs/API_docs_v45/types/Config.md | 2 +- old_docs/API_docs_v45/types/ContactStatus.md | 2 +- old_docs/API_docs_v45/types/Document.md | 2 +- old_docs/API_docs_v45/types/EncryptedChat.md | 4 +- .../API_docs_v45/types/ExportedChatInvite.md | 4 +- old_docs/API_docs_v45/types/MessageMedia.md | 2 +- old_docs/API_docs_v45/types/NearestDc.md | 2 +- .../API_docs_v45/types/PeerNotifySettings.md | 2 +- old_docs/API_docs_v45/types/README.md | 92 ++-- .../types/ReceivedNotifyMessage.md | 2 +- old_docs/API_docs_v45/types/Updates.md | 50 +- old_docs/API_docs_v45/types/User.md | 10 +- old_docs/API_docs_v45/types/UserFull.md | 2 +- .../API_docs_v45/types/UserProfilePhoto.md | 2 +- old_docs/API_docs_v45/types/WallPaper.md | 2 +- .../types/account.Authorizations.md | 22 + .../API_docs_v45/types/account.Password.md | 24 + .../types/account.PasswordInputSettings.md | 20 + .../types/account.PasswordSettings.md | 22 + .../types/account.PrivacyRules.md | 24 + .../types/account.SentChangePhoneCode.md | 22 + .../types/account_Authorizations.md | 22 - .../API_docs_v45/types/account_Password.md | 24 - .../types/account_PasswordInputSettings.md | 20 - .../types/account_PasswordSettings.md | 22 - .../types/account_PrivacyRules.md | 24 - .../types/account_SentChangePhoneCode.md | 22 - .../API_docs_v45/types/auth.Authorization.md | 32 ++ .../API_docs_v45/types/auth.CheckedPhone.md | 22 + .../types/auth.ExportedAuthorization.md | 22 + .../types/auth.PasswordRecovery.md | 22 + old_docs/API_docs_v45/types/auth.SentCode.md | 24 + .../API_docs_v45/types/auth_Authorization.md | 32 -- .../API_docs_v45/types/auth_CheckedPhone.md | 22 - .../types/auth_ExportedAuthorization.md | 22 - .../types/auth_PasswordRecovery.md | 22 - old_docs/API_docs_v45/types/auth_SentCode.md | 24 - .../types/channels.ChannelParticipant.md | 22 + .../types/channels.ChannelParticipants.md | 22 + .../types/channels_ChannelParticipant.md | 22 - .../types/channels_ChannelParticipants.md | 22 - .../API_docs_v45/types/contacts.Blocked.md | 24 + .../API_docs_v45/types/contacts.Contacts.md | 24 + old_docs/API_docs_v45/types/contacts.Found.md | 22 + .../types/contacts.ImportedContacts.md | 22 + old_docs/API_docs_v45/types/contacts.Link.md | 22 + .../types/contacts.ResolvedPeer.md | 22 + .../API_docs_v45/types/contacts.Suggested.md | 22 + .../API_docs_v45/types/contacts_Blocked.md | 24 - .../API_docs_v45/types/contacts_Contacts.md | 24 - old_docs/API_docs_v45/types/contacts_Found.md | 22 - .../types/contacts_ImportedContacts.md | 22 - old_docs/API_docs_v45/types/contacts_Link.md | 22 - .../types/contacts_ResolvedPeer.md | 22 - .../API_docs_v45/types/contacts_Suggested.md | 22 - .../API_docs_v45/types/help.AppChangelog.md | 24 + old_docs/API_docs_v45/types/help.AppUpdate.md | 24 + .../API_docs_v45/types/help.InviteText.md | 22 + old_docs/API_docs_v45/types/help.Support.md | 22 + .../API_docs_v45/types/help.TermsOfService.md | 22 + .../API_docs_v45/types/help_AppChangelog.md | 24 - old_docs/API_docs_v45/types/help_AppUpdate.md | 24 - .../API_docs_v45/types/help_InviteText.md | 22 - old_docs/API_docs_v45/types/help_Support.md | 22 - .../API_docs_v45/types/help_TermsOfService.md | 22 - .../types/messages.AffectedHistory.md | 24 + .../types/messages.AffectedMessages.md | 28 ++ .../types/messages.AllStickers.md | 24 + .../API_docs_v45/types/messages.BotResults.md | 22 + .../API_docs_v45/types/messages.ChatFull.md | 24 + old_docs/API_docs_v45/types/messages.Chats.md | 24 + .../API_docs_v45/types/messages.DhConfig.md | 24 + .../API_docs_v45/types/messages.Dialogs.md | 26 ++ .../API_docs_v45/types/messages.FoundGifs.md | 22 + .../API_docs_v45/types/messages.Messages.md | 36 ++ .../API_docs_v45/types/messages.SavedGifs.md | 24 + .../types/messages.SentEncryptedMessage.md | 28 ++ .../API_docs_v45/types/messages.StickerSet.md | 22 + .../API_docs_v45/types/messages.Stickers.md | 24 + .../types/messages_AffectedHistory.md | 24 - .../types/messages_AffectedMessages.md | 28 -- .../types/messages_AllStickers.md | 24 - .../API_docs_v45/types/messages_BotResults.md | 22 - .../API_docs_v45/types/messages_ChatFull.md | 24 - old_docs/API_docs_v45/types/messages_Chats.md | 24 - .../API_docs_v45/types/messages_DhConfig.md | 24 - .../API_docs_v45/types/messages_Dialogs.md | 26 -- .../API_docs_v45/types/messages_FoundGifs.md | 22 - .../API_docs_v45/types/messages_Messages.md | 36 -- .../API_docs_v45/types/messages_SavedGifs.md | 24 - .../types/messages_SentEncryptedMessage.md | 28 -- .../API_docs_v45/types/messages_StickerSet.md | 22 - .../API_docs_v45/types/messages_Stickers.md | 24 - old_docs/API_docs_v45/types/photos.Photo.md | 22 + old_docs/API_docs_v45/types/photos.Photos.md | 24 + old_docs/API_docs_v45/types/photos_Photo.md | 22 - old_docs/API_docs_v45/types/photos_Photos.md | 24 - .../API_docs_v45/types/storage.FileType.md | 38 ++ .../API_docs_v45/types/storage_FileType.md | 38 -- .../types/updates.ChannelDifference.md | 26 ++ .../API_docs_v45/types/updates.Difference.md | 26 ++ old_docs/API_docs_v45/types/updates.State.md | 22 + .../types/updates_ChannelDifference.md | 26 -- .../API_docs_v45/types/updates_Difference.md | 26 -- old_docs/API_docs_v45/types/updates_State.md | 22 - old_docs/API_docs_v45/types/upload.File.md | 22 + old_docs/API_docs_v45/types/upload_File.md | 22 - old_docs/API_docs_v46/constructors/README.md | 230 +++++---- .../constructors/account.authorizations.md | 38 ++ .../constructors/account.noPassword.md | 39 ++ .../constructors/account.password.md | 42 ++ .../account.passwordInputSettings.md | 41 ++ .../constructors/account.passwordSettings.md | 38 ++ .../constructors/account.privacyRules.md | 39 ++ .../account.sentChangePhoneCode.md | 39 ++ .../constructors/account_authorizations.md | 38 -- .../constructors/account_noPassword.md | 39 -- .../constructors/account_password.md | 42 -- .../account_passwordInputSettings.md | 41 -- .../constructors/account_passwordSettings.md | 38 -- .../constructors/account_privacyRules.md | 39 -- .../account_sentChangePhoneCode.md | 39 -- .../constructors/auth.authorization.md | 38 ++ .../constructors/auth.checkedPhone.md | 38 ++ .../auth.exportedAuthorization.md | 39 ++ .../constructors/auth.passwordRecovery.md | 38 ++ .../constructors/auth.sentAppCode.md | 41 ++ .../constructors/auth.sentCode.md | 41 ++ .../constructors/auth_authorization.md | 38 -- .../constructors/auth_checkedPhone.md | 38 -- .../auth_exportedAuthorization.md | 39 -- .../constructors/auth_passwordRecovery.md | 38 -- .../constructors/auth_sentAppCode.md | 41 -- .../constructors/auth_sentCode.md | 41 -- .../channels.channelParticipant.md | 39 ++ .../channels.channelParticipants.md | 40 ++ .../channels_channelParticipant.md | 39 -- .../channels_channelParticipants.md | 40 -- .../constructors/contacts.blocked.md | 39 ++ .../constructors/contacts.blockedSlice.md | 40 ++ .../constructors/contacts.contacts.md | 39 ++ .../contacts.contactsNotModified.md | 33 ++ .../constructors/contacts.found.md | 40 ++ .../constructors/contacts.importedContacts.md | 40 ++ .../constructors/contacts.link.md | 40 ++ .../constructors/contacts.resolvedPeer.md | 40 ++ .../constructors/contacts.suggested.md | 39 ++ .../constructors/contacts_blocked.md | 39 -- .../constructors/contacts_blockedSlice.md | 40 -- .../constructors/contacts_contacts.md | 39 -- .../contacts_contactsNotModified.md | 33 -- .../constructors/contacts_found.md | 40 -- .../constructors/contacts_importedContacts.md | 40 -- .../constructors/contacts_link.md | 40 -- .../constructors/contacts_resolvedPeer.md | 40 -- .../constructors/contacts_suggested.md | 39 -- .../constructors/help.appChangelog.md | 38 ++ .../constructors/help.appChangelogEmpty.md | 33 ++ .../constructors/help.appUpdate.md | 41 ++ .../constructors/help.inviteText.md | 38 ++ .../constructors/help.noAppUpdate.md | 33 ++ .../API_docs_v46/constructors/help.support.md | 39 ++ .../constructors/help.termsOfService.md | 38 ++ .../constructors/help_appChangelog.md | 38 -- .../constructors/help_appChangelogEmpty.md | 33 -- .../constructors/help_appUpdate.md | 41 -- .../constructors/help_inviteText.md | 38 -- .../constructors/help_noAppUpdate.md | 33 -- .../API_docs_v46/constructors/help_support.md | 39 -- .../constructors/help_termsOfService.md | 38 -- .../constructors/messages.affectedHistory.md | 40 ++ .../constructors/messages.affectedMessages.md | 39 ++ .../constructors/messages.allStickers.md | 39 ++ .../messages.allStickersNotModified.md | 33 ++ .../constructors/messages.botResults.md | 41 ++ .../constructors/messages.channelMessages.md | 43 ++ .../constructors/messages.chatFull.md | 40 ++ .../constructors/messages.chats.md | 38 ++ .../constructors/messages.dhConfig.md | 41 ++ .../messages.dhConfigNotModified.md | 38 ++ .../constructors/messages.dialogs.md | 41 ++ .../constructors/messages.dialogsSlice.md | 42 ++ .../constructors/messages.foundGifs.md | 39 ++ .../constructors/messages.messages.md | 40 ++ .../constructors/messages.messagesSlice.md | 41 ++ .../constructors/messages.savedGifs.md | 39 ++ .../messages.savedGifsNotModified.md | 33 ++ .../messages.sentEncryptedFile.md | 39 ++ .../messages.sentEncryptedMessage.md | 38 ++ .../constructors/messages.stickerSet.md | 40 ++ .../constructors/messages.stickers.md | 39 ++ .../messages.stickersNotModified.md | 33 ++ .../constructors/messages_affectedHistory.md | 40 -- .../constructors/messages_affectedMessages.md | 39 -- .../constructors/messages_allStickers.md | 39 -- .../messages_allStickersNotModified.md | 33 -- .../constructors/messages_botResults.md | 41 -- .../constructors/messages_channelMessages.md | 43 -- .../constructors/messages_chatFull.md | 40 -- .../constructors/messages_chats.md | 38 -- .../constructors/messages_dhConfig.md | 41 -- .../messages_dhConfigNotModified.md | 38 -- .../constructors/messages_dialogs.md | 41 -- .../constructors/messages_dialogsSlice.md | 42 -- .../constructors/messages_foundGifs.md | 39 -- .../constructors/messages_messages.md | 40 -- .../constructors/messages_messagesSlice.md | 41 -- .../constructors/messages_savedGifs.md | 39 -- .../messages_savedGifsNotModified.md | 33 -- .../messages_sentEncryptedFile.md | 39 -- .../messages_sentEncryptedMessage.md | 38 -- .../constructors/messages_stickerSet.md | 40 -- .../constructors/messages_stickers.md | 39 -- .../messages_stickersNotModified.md | 33 -- .../API_docs_v46/constructors/photos.photo.md | 39 ++ .../constructors/photos.photos.md | 39 ++ .../constructors/photos.photosSlice.md | 40 ++ .../API_docs_v46/constructors/photos_photo.md | 39 -- .../constructors/photos_photos.md | 39 -- .../constructors/photos_photosSlice.md | 40 -- .../constructors/storage.fileGif.md | 33 ++ .../constructors/storage.fileJpeg.md | 33 ++ .../constructors/storage.fileMov.md | 33 ++ .../constructors/storage.fileMp3.md | 33 ++ .../constructors/storage.fileMp4.md | 33 ++ .../constructors/storage.filePartial.md | 33 ++ .../constructors/storage.filePdf.md | 33 ++ .../constructors/storage.filePng.md | 33 ++ .../constructors/storage.fileUnknown.md | 33 ++ .../constructors/storage.fileWebp.md | 33 ++ .../constructors/storage_fileGif.md | 33 -- .../constructors/storage_fileJpeg.md | 33 -- .../constructors/storage_fileMov.md | 33 -- .../constructors/storage_fileMp3.md | 33 -- .../constructors/storage_fileMp4.md | 33 -- .../constructors/storage_filePartial.md | 33 -- .../constructors/storage_filePdf.md | 33 -- .../constructors/storage_filePng.md | 33 -- .../constructors/storage_fileUnknown.md | 33 -- .../constructors/storage_fileWebp.md | 33 -- .../constructors/updateNewStickerSet.md | 6 +- .../constructors/updates.channelDifference.md | 44 ++ .../updates.channelDifferenceEmpty.md | 40 ++ .../updates.channelDifferenceTooLong.md | 58 +++ .../constructors/updates.difference.md | 43 ++ .../constructors/updates.differenceEmpty.md | 39 ++ .../constructors/updates.differenceSlice.md | 43 ++ .../constructors/updates.state.md | 42 ++ .../constructors/updates_channelDifference.md | 44 -- .../updates_channelDifferenceEmpty.md | 40 -- .../updates_channelDifferenceTooLong.md | 58 --- .../constructors/updates_difference.md | 43 -- .../constructors/updates_differenceEmpty.md | 39 -- .../constructors/updates_differenceSlice.md | 43 -- .../constructors/updates_state.md | 42 -- .../API_docs_v46/constructors/upload.file.md | 40 ++ .../API_docs_v46/constructors/upload_file.md | 40 -- .../API_docs_v46/constructors/userFull.md | 6 +- .../methods/account.getAuthorizations.md | 6 +- .../methods/account.getPassword.md | 6 +- .../methods/account.getPasswordSettings.md | 6 +- .../methods/account.getPrivacy.md | 6 +- .../methods/account.sendChangePhoneCode.md | 6 +- .../methods/account.setPrivacy.md | 6 +- old_docs/API_docs_v46/methods/api_README.md | 128 ++--- .../methods/auth.checkPassword.md | 6 +- .../API_docs_v46/methods/auth.checkPhone.md | 6 +- .../methods/auth.exportAuthorization.md | 6 +- .../methods/auth.importAuthorization.md | 6 +- .../methods/auth.importBotAuthorization.md | 6 +- .../methods/auth.recoverPassword.md | 6 +- .../methods/auth.requestPasswordRecovery.md | 6 +- .../API_docs_v46/methods/auth.sendCode.md | 6 +- old_docs/API_docs_v46/methods/auth.signIn.md | 6 +- old_docs/API_docs_v46/methods/auth.signUp.md | 6 +- .../methods/channels.deleteMessages.md | 6 +- .../methods/channels.deleteUserHistory.md | 6 +- .../methods/channels.getChannels.md | 6 +- .../methods/channels.getDialogs.md | 6 +- .../methods/channels.getFullChannel.md | 6 +- .../methods/channels.getImportantHistory.md | 6 +- .../methods/channels.getMessages.md | 6 +- .../methods/channels.getParticipant.md | 6 +- .../methods/channels.getParticipants.md | 6 +- .../methods/contacts.deleteContact.md | 6 +- .../methods/contacts.getBlocked.md | 6 +- .../methods/contacts.getContacts.md | 6 +- .../methods/contacts.getSuggested.md | 6 +- .../methods/contacts.importContacts.md | 6 +- .../methods/contacts.resolveUsername.md | 6 +- .../API_docs_v46/methods/contacts.search.md | 6 +- .../methods/help.getAppChangelog.md | 6 +- .../API_docs_v46/methods/help.getAppUpdate.md | 6 +- .../methods/help.getInviteText.md | 6 +- .../API_docs_v46/methods/help.getSupport.md | 6 +- .../methods/help.getTermsOfService.md | 6 +- .../methods/messages.deleteHistory.md | 6 +- .../methods/messages.deleteMessages.md | 6 +- .../methods/messages.getAllStickers.md | 6 +- .../API_docs_v46/methods/messages.getChats.md | 6 +- .../methods/messages.getDhConfig.md | 6 +- .../methods/messages.getDialogs.md | 6 +- .../methods/messages.getFullChat.md | 6 +- .../methods/messages.getHistory.md | 6 +- .../methods/messages.getInlineBotResults.md | 6 +- .../methods/messages.getMessages.md | 6 +- .../methods/messages.getSavedGifs.md | 6 +- .../methods/messages.getStickerSet.md | 6 +- .../methods/messages.getStickers.md | 6 +- .../methods/messages.readHistory.md | 6 +- .../methods/messages.readMessageContents.md | 6 +- .../API_docs_v46/methods/messages.search.md | 6 +- .../methods/messages.searchGifs.md | 6 +- .../methods/messages.searchGlobal.md | 6 +- .../methods/messages.sendEncrypted.md | 14 +- .../methods/messages.sendEncryptedFile.md | 14 +- .../methods/messages.sendEncryptedService.md | 14 +- .../methods/photos.getUserPhotos.md | 6 +- .../methods/photos.uploadProfilePhoto.md | 6 +- .../methods/updates.getChannelDifference.md | 6 +- .../methods/updates.getDifference.md | 6 +- .../API_docs_v46/methods/updates.getState.md | 6 +- .../API_docs_v46/methods/upload.getFile.md | 6 +- old_docs/API_docs_v46/types/AccountDaysTTL.md | 2 +- old_docs/API_docs_v46/types/ChatInvite.md | 2 +- old_docs/API_docs_v46/types/Config.md | 2 +- old_docs/API_docs_v46/types/ContactStatus.md | 2 +- old_docs/API_docs_v46/types/Document.md | 2 +- old_docs/API_docs_v46/types/EncryptedChat.md | 4 +- .../API_docs_v46/types/ExportedChatInvite.md | 4 +- old_docs/API_docs_v46/types/MessageMedia.md | 2 +- old_docs/API_docs_v46/types/NearestDc.md | 2 +- .../API_docs_v46/types/PeerNotifySettings.md | 2 +- old_docs/API_docs_v46/types/README.md | 92 ++-- .../types/ReceivedNotifyMessage.md | 2 +- old_docs/API_docs_v46/types/Updates.md | 50 +- old_docs/API_docs_v46/types/User.md | 10 +- old_docs/API_docs_v46/types/UserFull.md | 2 +- .../API_docs_v46/types/UserProfilePhoto.md | 2 +- old_docs/API_docs_v46/types/WallPaper.md | 2 +- .../types/account.Authorizations.md | 22 + .../API_docs_v46/types/account.Password.md | 24 + .../types/account.PasswordInputSettings.md | 20 + .../types/account.PasswordSettings.md | 22 + .../types/account.PrivacyRules.md | 24 + .../types/account.SentChangePhoneCode.md | 22 + .../types/account_Authorizations.md | 22 - .../API_docs_v46/types/account_Password.md | 24 - .../types/account_PasswordInputSettings.md | 20 - .../types/account_PasswordSettings.md | 22 - .../types/account_PrivacyRules.md | 24 - .../types/account_SentChangePhoneCode.md | 22 - .../API_docs_v46/types/auth.Authorization.md | 32 ++ .../API_docs_v46/types/auth.CheckedPhone.md | 22 + .../types/auth.ExportedAuthorization.md | 22 + .../types/auth.PasswordRecovery.md | 22 + old_docs/API_docs_v46/types/auth.SentCode.md | 24 + .../API_docs_v46/types/auth_Authorization.md | 32 -- .../API_docs_v46/types/auth_CheckedPhone.md | 22 - .../types/auth_ExportedAuthorization.md | 22 - .../types/auth_PasswordRecovery.md | 22 - old_docs/API_docs_v46/types/auth_SentCode.md | 24 - .../types/channels.ChannelParticipant.md | 22 + .../types/channels.ChannelParticipants.md | 22 + .../types/channels_ChannelParticipant.md | 22 - .../types/channels_ChannelParticipants.md | 22 - .../API_docs_v46/types/contacts.Blocked.md | 24 + .../API_docs_v46/types/contacts.Contacts.md | 24 + old_docs/API_docs_v46/types/contacts.Found.md | 22 + .../types/contacts.ImportedContacts.md | 22 + old_docs/API_docs_v46/types/contacts.Link.md | 22 + .../types/contacts.ResolvedPeer.md | 22 + .../API_docs_v46/types/contacts.Suggested.md | 22 + .../API_docs_v46/types/contacts_Blocked.md | 24 - .../API_docs_v46/types/contacts_Contacts.md | 24 - old_docs/API_docs_v46/types/contacts_Found.md | 22 - .../types/contacts_ImportedContacts.md | 22 - old_docs/API_docs_v46/types/contacts_Link.md | 22 - .../types/contacts_ResolvedPeer.md | 22 - .../API_docs_v46/types/contacts_Suggested.md | 22 - .../API_docs_v46/types/help.AppChangelog.md | 24 + old_docs/API_docs_v46/types/help.AppUpdate.md | 24 + .../API_docs_v46/types/help.InviteText.md | 22 + old_docs/API_docs_v46/types/help.Support.md | 22 + .../API_docs_v46/types/help.TermsOfService.md | 22 + .../API_docs_v46/types/help_AppChangelog.md | 24 - old_docs/API_docs_v46/types/help_AppUpdate.md | 24 - .../API_docs_v46/types/help_InviteText.md | 22 - old_docs/API_docs_v46/types/help_Support.md | 22 - .../API_docs_v46/types/help_TermsOfService.md | 22 - .../types/messages.AffectedHistory.md | 24 + .../types/messages.AffectedMessages.md | 28 ++ .../types/messages.AllStickers.md | 24 + .../API_docs_v46/types/messages.BotResults.md | 22 + .../API_docs_v46/types/messages.ChatFull.md | 24 + old_docs/API_docs_v46/types/messages.Chats.md | 24 + .../API_docs_v46/types/messages.DhConfig.md | 24 + .../API_docs_v46/types/messages.Dialogs.md | 26 ++ .../API_docs_v46/types/messages.FoundGifs.md | 22 + .../API_docs_v46/types/messages.Messages.md | 36 ++ .../API_docs_v46/types/messages.SavedGifs.md | 24 + .../types/messages.SentEncryptedMessage.md | 28 ++ .../API_docs_v46/types/messages.StickerSet.md | 22 + .../API_docs_v46/types/messages.Stickers.md | 24 + .../types/messages_AffectedHistory.md | 24 - .../types/messages_AffectedMessages.md | 28 -- .../types/messages_AllStickers.md | 24 - .../API_docs_v46/types/messages_BotResults.md | 22 - .../API_docs_v46/types/messages_ChatFull.md | 24 - old_docs/API_docs_v46/types/messages_Chats.md | 24 - .../API_docs_v46/types/messages_DhConfig.md | 24 - .../API_docs_v46/types/messages_Dialogs.md | 26 -- .../API_docs_v46/types/messages_FoundGifs.md | 22 - .../API_docs_v46/types/messages_Messages.md | 36 -- .../API_docs_v46/types/messages_SavedGifs.md | 24 - .../types/messages_SentEncryptedMessage.md | 28 -- .../API_docs_v46/types/messages_StickerSet.md | 22 - .../API_docs_v46/types/messages_Stickers.md | 24 - old_docs/API_docs_v46/types/photos.Photo.md | 22 + old_docs/API_docs_v46/types/photos.Photos.md | 24 + old_docs/API_docs_v46/types/photos_Photo.md | 22 - old_docs/API_docs_v46/types/photos_Photos.md | 24 - .../API_docs_v46/types/storage.FileType.md | 38 ++ .../API_docs_v46/types/storage_FileType.md | 38 -- .../types/updates.ChannelDifference.md | 26 ++ .../API_docs_v46/types/updates.Difference.md | 26 ++ old_docs/API_docs_v46/types/updates.State.md | 22 + .../types/updates_ChannelDifference.md | 26 -- .../API_docs_v46/types/updates_Difference.md | 26 -- old_docs/API_docs_v46/types/updates_State.md | 22 - old_docs/API_docs_v46/types/upload.File.md | 22 + old_docs/API_docs_v46/types/upload_File.md | 22 - old_docs/API_docs_v51/constructors/README.md | 258 +++++++---- .../constructors/account.authorizations.md | 38 ++ .../constructors/account.noPassword.md | 39 ++ .../constructors/account.password.md | 42 ++ .../account.passwordInputSettings.md | 41 ++ .../constructors/account.passwordSettings.md | 38 ++ .../constructors/account.privacyRules.md | 39 ++ .../constructors/account_authorizations.md | 38 -- .../constructors/account_noPassword.md | 39 -- .../constructors/account_password.md | 42 -- .../account_passwordInputSettings.md | 41 -- .../constructors/account_passwordSettings.md | 38 -- .../constructors/account_privacyRules.md | 39 -- .../constructors/auth.authorization.md | 38 ++ .../constructors/auth.checkedPhone.md | 38 ++ .../constructors/auth.codeTypeCall.md | 33 ++ .../constructors/auth.codeTypeFlashCall.md | 33 ++ .../constructors/auth.codeTypeSms.md | 33 ++ .../auth.exportedAuthorization.md | 39 ++ .../constructors/auth.passwordRecovery.md | 38 ++ .../constructors/auth.sentCode.md | 42 ++ .../constructors/auth.sentCodeTypeApp.md | 38 ++ .../constructors/auth.sentCodeTypeCall.md | 38 ++ .../auth.sentCodeTypeFlashCall.md | 38 ++ .../constructors/auth.sentCodeTypeSms.md | 38 ++ .../constructors/auth_authorization.md | 38 -- .../constructors/auth_checkedPhone.md | 38 -- .../constructors/auth_codeTypeCall.md | 33 -- .../constructors/auth_codeTypeFlashCall.md | 33 -- .../constructors/auth_codeTypeSms.md | 33 -- .../auth_exportedAuthorization.md | 39 -- .../constructors/auth_passwordRecovery.md | 38 -- .../constructors/auth_sentCode.md | 42 -- .../constructors/auth_sentCodeTypeApp.md | 38 -- .../constructors/auth_sentCodeTypeCall.md | 38 -- .../auth_sentCodeTypeFlashCall.md | 38 -- .../constructors/auth_sentCodeTypeSms.md | 38 -- .../channels.channelParticipant.md | 39 ++ .../channels.channelParticipants.md | 40 ++ .../channels_channelParticipant.md | 39 -- .../channels_channelParticipants.md | 40 -- .../constructors/contacts.blocked.md | 39 ++ .../constructors/contacts.blockedSlice.md | 40 ++ .../constructors/contacts.contacts.md | 39 ++ .../contacts.contactsNotModified.md | 33 ++ .../constructors/contacts.found.md | 40 ++ .../constructors/contacts.importedContacts.md | 40 ++ .../constructors/contacts.link.md | 40 ++ .../constructors/contacts.resolvedPeer.md | 40 ++ .../constructors/contacts_blocked.md | 39 -- .../constructors/contacts_blockedSlice.md | 40 -- .../constructors/contacts_contacts.md | 39 -- .../contacts_contactsNotModified.md | 33 -- .../constructors/contacts_found.md | 40 -- .../constructors/contacts_importedContacts.md | 40 -- .../constructors/contacts_link.md | 40 -- .../constructors/contacts_resolvedPeer.md | 40 -- .../constructors/help.appChangelog.md | 38 ++ .../constructors/help.appChangelogEmpty.md | 33 ++ .../constructors/help.appUpdate.md | 41 ++ .../constructors/help.inviteText.md | 38 ++ .../constructors/help.noAppUpdate.md | 33 ++ .../API_docs_v51/constructors/help.support.md | 39 ++ .../constructors/help.termsOfService.md | 38 ++ .../constructors/help_appChangelog.md | 38 -- .../constructors/help_appChangelogEmpty.md | 33 -- .../constructors/help_appUpdate.md | 41 -- .../constructors/help_inviteText.md | 38 -- .../constructors/help_noAppUpdate.md | 33 -- .../API_docs_v51/constructors/help_support.md | 39 -- .../constructors/help_termsOfService.md | 38 -- .../constructors/messages.affectedHistory.md | 40 ++ .../constructors/messages.affectedMessages.md | 39 ++ .../constructors/messages.allStickers.md | 39 ++ .../messages.allStickersNotModified.md | 33 ++ .../messages.botCallbackAnswer.md | 39 ++ .../constructors/messages.botResults.md | 42 ++ .../constructors/messages.channelMessages.md | 43 ++ .../constructors/messages.chatFull.md | 40 ++ .../constructors/messages.chats.md | 38 ++ .../constructors/messages.dhConfig.md | 41 ++ .../messages.dhConfigNotModified.md | 38 ++ .../constructors/messages.dialogs.md | 41 ++ .../constructors/messages.dialogsSlice.md | 42 ++ .../constructors/messages.foundGifs.md | 39 ++ .../constructors/messages.messageEditData.md | 38 ++ .../constructors/messages.messages.md | 40 ++ .../constructors/messages.messagesSlice.md | 41 ++ .../constructors/messages.savedGifs.md | 39 ++ .../messages.savedGifsNotModified.md | 33 ++ .../messages.sentEncryptedFile.md | 39 ++ .../messages.sentEncryptedMessage.md | 38 ++ .../constructors/messages.stickerSet.md | 40 ++ .../constructors/messages.stickers.md | 39 ++ .../messages.stickersNotModified.md | 33 ++ .../constructors/messages_affectedHistory.md | 40 -- .../constructors/messages_affectedMessages.md | 39 -- .../constructors/messages_allStickers.md | 39 -- .../messages_allStickersNotModified.md | 33 -- .../messages_botCallbackAnswer.md | 39 -- .../constructors/messages_botResults.md | 42 -- .../constructors/messages_channelMessages.md | 43 -- .../constructors/messages_chatFull.md | 40 -- .../constructors/messages_chats.md | 38 -- .../constructors/messages_dhConfig.md | 41 -- .../messages_dhConfigNotModified.md | 38 -- .../constructors/messages_dialogs.md | 41 -- .../constructors/messages_dialogsSlice.md | 42 -- .../constructors/messages_foundGifs.md | 39 -- .../constructors/messages_messageEditData.md | 38 -- .../constructors/messages_messages.md | 40 -- .../constructors/messages_messagesSlice.md | 41 -- .../constructors/messages_savedGifs.md | 39 -- .../messages_savedGifsNotModified.md | 33 -- .../messages_sentEncryptedFile.md | 39 -- .../messages_sentEncryptedMessage.md | 38 -- .../constructors/messages_stickerSet.md | 40 -- .../constructors/messages_stickers.md | 39 -- .../messages_stickersNotModified.md | 33 -- .../API_docs_v51/constructors/photos.photo.md | 39 ++ .../constructors/photos.photos.md | 39 ++ .../constructors/photos.photosSlice.md | 40 ++ .../API_docs_v51/constructors/photos_photo.md | 39 -- .../constructors/photos_photos.md | 39 -- .../constructors/photos_photosSlice.md | 40 -- .../constructors/storage.fileGif.md | 33 ++ .../constructors/storage.fileJpeg.md | 33 ++ .../constructors/storage.fileMov.md | 33 ++ .../constructors/storage.fileMp3.md | 33 ++ .../constructors/storage.fileMp4.md | 33 ++ .../constructors/storage.filePartial.md | 33 ++ .../constructors/storage.filePdf.md | 33 ++ .../constructors/storage.filePng.md | 33 ++ .../constructors/storage.fileUnknown.md | 33 ++ .../constructors/storage.fileWebp.md | 33 ++ .../constructors/storage_fileGif.md | 33 -- .../constructors/storage_fileJpeg.md | 33 -- .../constructors/storage_fileMov.md | 33 -- .../constructors/storage_fileMp3.md | 33 -- .../constructors/storage_fileMp4.md | 33 -- .../constructors/storage_filePartial.md | 33 -- .../constructors/storage_filePdf.md | 33 -- .../constructors/storage_filePng.md | 33 -- .../constructors/storage_fileUnknown.md | 33 -- .../constructors/storage_fileWebp.md | 33 -- .../constructors/updateNewStickerSet.md | 6 +- .../constructors/updates.channelDifference.md | 44 ++ .../updates.channelDifferenceEmpty.md | 40 ++ .../updates.channelDifferenceTooLong.md | 58 +++ .../constructors/updates.difference.md | 43 ++ .../constructors/updates.differenceEmpty.md | 39 ++ .../constructors/updates.differenceSlice.md | 43 ++ .../constructors/updates.state.md | 42 ++ .../constructors/updates_channelDifference.md | 44 -- .../updates_channelDifferenceEmpty.md | 40 -- .../updates_channelDifferenceTooLong.md | 58 --- .../constructors/updates_difference.md | 43 -- .../constructors/updates_differenceEmpty.md | 39 -- .../constructors/updates_differenceSlice.md | 43 -- .../constructors/updates_state.md | 42 -- .../API_docs_v51/constructors/upload.file.md | 40 ++ .../API_docs_v51/constructors/upload_file.md | 40 -- .../API_docs_v51/constructors/userFull.md | 6 +- .../methods/account.getAuthorizations.md | 6 +- .../methods/account.getPassword.md | 6 +- .../methods/account.getPasswordSettings.md | 6 +- .../methods/account.getPrivacy.md | 6 +- .../methods/account.sendChangePhoneCode.md | 6 +- .../methods/account.setPrivacy.md | 6 +- old_docs/API_docs_v51/methods/api_README.md | 132 +++--- .../methods/auth.checkPassword.md | 6 +- .../API_docs_v51/methods/auth.checkPhone.md | 6 +- .../methods/auth.exportAuthorization.md | 6 +- .../methods/auth.importAuthorization.md | 6 +- .../methods/auth.importBotAuthorization.md | 6 +- .../methods/auth.recoverPassword.md | 6 +- .../methods/auth.requestPasswordRecovery.md | 6 +- .../API_docs_v51/methods/auth.resendCode.md | 6 +- .../API_docs_v51/methods/auth.sendCode.md | 6 +- old_docs/API_docs_v51/methods/auth.signIn.md | 6 +- old_docs/API_docs_v51/methods/auth.signUp.md | 6 +- .../methods/channels.deleteMessages.md | 6 +- .../methods/channels.deleteUserHistory.md | 6 +- .../methods/channels.getChannels.md | 6 +- .../methods/channels.getDialogs.md | 6 +- .../methods/channels.getFullChannel.md | 6 +- .../methods/channels.getImportantHistory.md | 6 +- .../methods/channels.getMessages.md | 6 +- .../methods/channels.getParticipant.md | 6 +- .../methods/channels.getParticipants.md | 6 +- .../methods/contacts.deleteContact.md | 6 +- .../methods/contacts.getBlocked.md | 6 +- .../methods/contacts.getContacts.md | 6 +- .../methods/contacts.importContacts.md | 6 +- .../methods/contacts.resolveUsername.md | 6 +- .../API_docs_v51/methods/contacts.search.md | 6 +- .../methods/help.getAppChangelog.md | 6 +- .../API_docs_v51/methods/help.getAppUpdate.md | 6 +- .../methods/help.getInviteText.md | 6 +- .../API_docs_v51/methods/help.getSupport.md | 6 +- .../methods/help.getTermsOfService.md | 6 +- .../methods/messages.deleteHistory.md | 6 +- .../methods/messages.deleteMessages.md | 6 +- .../methods/messages.getAllStickers.md | 6 +- .../methods/messages.getBotCallbackAnswer.md | 6 +- .../API_docs_v51/methods/messages.getChats.md | 6 +- .../methods/messages.getDhConfig.md | 6 +- .../methods/messages.getDialogs.md | 6 +- .../methods/messages.getFullChat.md | 6 +- .../methods/messages.getHistory.md | 6 +- .../methods/messages.getInlineBotResults.md | 6 +- .../methods/messages.getMessageEditData.md | 6 +- .../methods/messages.getMessages.md | 6 +- .../methods/messages.getSavedGifs.md | 6 +- .../methods/messages.getStickerSet.md | 6 +- .../methods/messages.getStickers.md | 6 +- .../methods/messages.readHistory.md | 6 +- .../methods/messages.readMessageContents.md | 6 +- .../API_docs_v51/methods/messages.search.md | 6 +- .../methods/messages.searchGifs.md | 6 +- .../methods/messages.searchGlobal.md | 6 +- .../methods/messages.sendEncrypted.md | 14 +- .../methods/messages.sendEncryptedFile.md | 14 +- .../methods/messages.sendEncryptedService.md | 14 +- .../methods/photos.getUserPhotos.md | 6 +- .../methods/photos.uploadProfilePhoto.md | 6 +- .../methods/updates.getChannelDifference.md | 6 +- .../methods/updates.getDifference.md | 6 +- .../API_docs_v51/methods/updates.getState.md | 6 +- .../API_docs_v51/methods/upload.getFile.md | 6 +- old_docs/API_docs_v51/types/AccountDaysTTL.md | 2 +- old_docs/API_docs_v51/types/ChatInvite.md | 2 +- old_docs/API_docs_v51/types/Config.md | 2 +- old_docs/API_docs_v51/types/ContactStatus.md | 2 +- old_docs/API_docs_v51/types/Document.md | 2 +- old_docs/API_docs_v51/types/EncryptedChat.md | 4 +- .../API_docs_v51/types/ExportedChatInvite.md | 4 +- .../API_docs_v51/types/ExportedMessageLink.md | 2 +- old_docs/API_docs_v51/types/MessageMedia.md | 2 +- old_docs/API_docs_v51/types/NearestDc.md | 2 +- .../API_docs_v51/types/PeerNotifySettings.md | 2 +- old_docs/API_docs_v51/types/PeerSettings.md | 2 +- old_docs/API_docs_v51/types/README.md | 96 ++-- .../types/ReceivedNotifyMessage.md | 2 +- old_docs/API_docs_v51/types/Updates.md | 58 +-- old_docs/API_docs_v51/types/User.md | 10 +- old_docs/API_docs_v51/types/UserFull.md | 2 +- .../API_docs_v51/types/UserProfilePhoto.md | 2 +- old_docs/API_docs_v51/types/WallPaper.md | 2 +- .../types/account.Authorizations.md | 22 + .../API_docs_v51/types/account.Password.md | 24 + .../types/account.PasswordInputSettings.md | 20 + .../types/account.PasswordSettings.md | 22 + .../types/account.PrivacyRules.md | 24 + .../types/account_Authorizations.md | 22 - .../API_docs_v51/types/account_Password.md | 24 - .../types/account_PasswordInputSettings.md | 20 - .../types/account_PasswordSettings.md | 22 - .../types/account_PrivacyRules.md | 24 - .../API_docs_v51/types/auth.Authorization.md | 32 ++ .../API_docs_v51/types/auth.CheckedPhone.md | 22 + old_docs/API_docs_v51/types/auth.CodeType.md | 24 + .../types/auth.ExportedAuthorization.md | 22 + .../types/auth.PasswordRecovery.md | 22 + old_docs/API_docs_v51/types/auth.SentCode.md | 26 ++ .../API_docs_v51/types/auth.SentCodeType.md | 26 ++ .../API_docs_v51/types/auth_Authorization.md | 32 -- .../API_docs_v51/types/auth_CheckedPhone.md | 22 - old_docs/API_docs_v51/types/auth_CodeType.md | 24 - .../types/auth_ExportedAuthorization.md | 22 - .../types/auth_PasswordRecovery.md | 22 - old_docs/API_docs_v51/types/auth_SentCode.md | 26 -- .../API_docs_v51/types/auth_SentCodeType.md | 26 -- .../types/channels.ChannelParticipant.md | 22 + .../types/channels.ChannelParticipants.md | 22 + .../types/channels_ChannelParticipant.md | 22 - .../types/channels_ChannelParticipants.md | 22 - .../API_docs_v51/types/contacts.Blocked.md | 24 + .../API_docs_v51/types/contacts.Contacts.md | 24 + old_docs/API_docs_v51/types/contacts.Found.md | 22 + .../types/contacts.ImportedContacts.md | 22 + old_docs/API_docs_v51/types/contacts.Link.md | 22 + .../types/contacts.ResolvedPeer.md | 22 + .../API_docs_v51/types/contacts_Blocked.md | 24 - .../API_docs_v51/types/contacts_Contacts.md | 24 - old_docs/API_docs_v51/types/contacts_Found.md | 22 - .../types/contacts_ImportedContacts.md | 22 - old_docs/API_docs_v51/types/contacts_Link.md | 22 - .../types/contacts_ResolvedPeer.md | 22 - .../API_docs_v51/types/help.AppChangelog.md | 24 + old_docs/API_docs_v51/types/help.AppUpdate.md | 24 + .../API_docs_v51/types/help.InviteText.md | 22 + old_docs/API_docs_v51/types/help.Support.md | 22 + .../API_docs_v51/types/help.TermsOfService.md | 22 + .../API_docs_v51/types/help_AppChangelog.md | 24 - old_docs/API_docs_v51/types/help_AppUpdate.md | 24 - .../API_docs_v51/types/help_InviteText.md | 22 - old_docs/API_docs_v51/types/help_Support.md | 22 - .../API_docs_v51/types/help_TermsOfService.md | 22 - .../types/messages.AffectedHistory.md | 24 + .../types/messages.AffectedMessages.md | 28 ++ .../types/messages.AllStickers.md | 24 + .../types/messages.BotCallbackAnswer.md | 22 + .../API_docs_v51/types/messages.BotResults.md | 22 + .../API_docs_v51/types/messages.ChatFull.md | 24 + old_docs/API_docs_v51/types/messages.Chats.md | 24 + .../API_docs_v51/types/messages.DhConfig.md | 24 + .../API_docs_v51/types/messages.Dialogs.md | 26 ++ .../API_docs_v51/types/messages.FoundGifs.md | 22 + .../types/messages.MessageEditData.md | 22 + .../API_docs_v51/types/messages.Messages.md | 36 ++ .../API_docs_v51/types/messages.SavedGifs.md | 24 + .../types/messages.SentEncryptedMessage.md | 28 ++ .../API_docs_v51/types/messages.StickerSet.md | 22 + .../API_docs_v51/types/messages.Stickers.md | 24 + .../types/messages_AffectedHistory.md | 24 - .../types/messages_AffectedMessages.md | 28 -- .../types/messages_AllStickers.md | 24 - .../types/messages_BotCallbackAnswer.md | 22 - .../API_docs_v51/types/messages_BotResults.md | 22 - .../API_docs_v51/types/messages_ChatFull.md | 24 - old_docs/API_docs_v51/types/messages_Chats.md | 24 - .../API_docs_v51/types/messages_DhConfig.md | 24 - .../API_docs_v51/types/messages_Dialogs.md | 26 -- .../API_docs_v51/types/messages_FoundGifs.md | 22 - .../types/messages_MessageEditData.md | 22 - .../API_docs_v51/types/messages_Messages.md | 36 -- .../API_docs_v51/types/messages_SavedGifs.md | 24 - .../types/messages_SentEncryptedMessage.md | 28 -- .../API_docs_v51/types/messages_StickerSet.md | 22 - .../API_docs_v51/types/messages_Stickers.md | 24 - old_docs/API_docs_v51/types/photos.Photo.md | 22 + old_docs/API_docs_v51/types/photos.Photos.md | 24 + old_docs/API_docs_v51/types/photos_Photo.md | 22 - old_docs/API_docs_v51/types/photos_Photos.md | 24 - .../API_docs_v51/types/storage.FileType.md | 38 ++ .../API_docs_v51/types/storage_FileType.md | 38 -- .../types/updates.ChannelDifference.md | 26 ++ .../API_docs_v51/types/updates.Difference.md | 26 ++ old_docs/API_docs_v51/types/updates.State.md | 22 + .../types/updates_ChannelDifference.md | 26 -- .../API_docs_v51/types/updates_Difference.md | 26 -- old_docs/API_docs_v51/types/updates_State.md | 22 - old_docs/API_docs_v51/types/upload.File.md | 22 + old_docs/API_docs_v51/types/upload_File.md | 22 - old_docs/API_docs_v53/constructors/README.md | 267 +++++++---- .../constructors/account.authorizations.md | 38 ++ .../constructors/account.noPassword.md | 39 ++ .../constructors/account.password.md | 42 ++ .../account.passwordInputSettings.md | 41 ++ .../constructors/account.passwordSettings.md | 38 ++ .../constructors/account.privacyRules.md | 39 ++ .../constructors/account_authorizations.md | 38 -- .../constructors/account_noPassword.md | 39 -- .../constructors/account_password.md | 42 -- .../account_passwordInputSettings.md | 41 -- .../constructors/account_passwordSettings.md | 38 -- .../constructors/account_privacyRules.md | 39 -- .../constructors/auth.authorization.md | 38 ++ .../constructors/auth.checkedPhone.md | 38 ++ .../constructors/auth.codeTypeCall.md | 33 ++ .../constructors/auth.codeTypeFlashCall.md | 33 ++ .../constructors/auth.codeTypeSms.md | 33 ++ .../auth.exportedAuthorization.md | 39 ++ .../constructors/auth.passwordRecovery.md | 38 ++ .../constructors/auth.sentCode.md | 42 ++ .../constructors/auth.sentCodeTypeApp.md | 38 ++ .../constructors/auth.sentCodeTypeCall.md | 38 ++ .../auth.sentCodeTypeFlashCall.md | 38 ++ .../constructors/auth.sentCodeTypeSms.md | 38 ++ .../constructors/auth_authorization.md | 38 -- .../constructors/auth_checkedPhone.md | 38 -- .../constructors/auth_codeTypeCall.md | 33 -- .../constructors/auth_codeTypeFlashCall.md | 33 -- .../constructors/auth_codeTypeSms.md | 33 -- .../auth_exportedAuthorization.md | 39 -- .../constructors/auth_passwordRecovery.md | 38 -- .../constructors/auth_sentCode.md | 42 -- .../constructors/auth_sentCodeTypeApp.md | 38 -- .../constructors/auth_sentCodeTypeCall.md | 38 -- .../auth_sentCodeTypeFlashCall.md | 38 -- .../constructors/auth_sentCodeTypeSms.md | 38 -- .../channels.channelParticipant.md | 39 ++ .../channels.channelParticipants.md | 40 ++ .../channels_channelParticipant.md | 39 -- .../channels_channelParticipants.md | 40 -- .../constructors/contacts.blocked.md | 39 ++ .../constructors/contacts.blockedSlice.md | 40 ++ .../constructors/contacts.contacts.md | 39 ++ .../contacts.contactsNotModified.md | 33 ++ .../constructors/contacts.found.md | 40 ++ .../constructors/contacts.importedContacts.md | 40 ++ .../constructors/contacts.link.md | 40 ++ .../constructors/contacts.resolvedPeer.md | 40 ++ .../constructors/contacts.topPeers.md | 40 ++ .../contacts.topPeersNotModified.md | 33 ++ .../constructors/contacts_blocked.md | 39 -- .../constructors/contacts_blockedSlice.md | 40 -- .../constructors/contacts_contacts.md | 39 -- .../contacts_contactsNotModified.md | 33 -- .../constructors/contacts_found.md | 40 -- .../constructors/contacts_importedContacts.md | 40 -- .../constructors/contacts_link.md | 40 -- .../constructors/contacts_resolvedPeer.md | 40 -- .../constructors/contacts_topPeers.md | 40 -- .../contacts_topPeersNotModified.md | 33 -- .../constructors/help.appChangelog.md | 38 ++ .../constructors/help.appChangelogEmpty.md | 33 ++ .../constructors/help.appUpdate.md | 41 ++ .../constructors/help.inviteText.md | 38 ++ .../constructors/help.noAppUpdate.md | 33 ++ .../API_docs_v53/constructors/help.support.md | 39 ++ .../constructors/help.termsOfService.md | 38 ++ .../constructors/help_appChangelog.md | 38 -- .../constructors/help_appChangelogEmpty.md | 33 -- .../constructors/help_appUpdate.md | 41 -- .../constructors/help_inviteText.md | 38 -- .../constructors/help_noAppUpdate.md | 33 -- .../API_docs_v53/constructors/help_support.md | 39 -- .../constructors/help_termsOfService.md | 38 -- .../constructors/messages.affectedHistory.md | 40 ++ .../constructors/messages.affectedMessages.md | 39 ++ .../constructors/messages.allStickers.md | 39 ++ .../messages.allStickersNotModified.md | 33 ++ .../messages.botCallbackAnswer.md | 39 ++ .../constructors/messages.botResults.md | 42 ++ .../constructors/messages.channelMessages.md | 42 ++ .../constructors/messages.chatFull.md | 40 ++ .../constructors/messages.chats.md | 38 ++ .../constructors/messages.dhConfig.md | 41 ++ .../messages.dhConfigNotModified.md | 38 ++ .../constructors/messages.dialogs.md | 41 ++ .../constructors/messages.dialogsSlice.md | 42 ++ .../constructors/messages.foundGifs.md | 39 ++ .../constructors/messages.messageEditData.md | 38 ++ .../constructors/messages.messages.md | 40 ++ .../constructors/messages.messagesSlice.md | 41 ++ .../constructors/messages.peerDialogs.md | 42 ++ .../constructors/messages.savedGifs.md | 39 ++ .../messages.savedGifsNotModified.md | 33 ++ .../messages.sentEncryptedFile.md | 39 ++ .../messages.sentEncryptedMessage.md | 38 ++ .../constructors/messages.stickerSet.md | 40 ++ .../constructors/messages.stickers.md | 39 ++ .../messages.stickersNotModified.md | 33 ++ .../constructors/messages_affectedHistory.md | 40 -- .../constructors/messages_affectedMessages.md | 39 -- .../constructors/messages_allStickers.md | 39 -- .../messages_allStickersNotModified.md | 33 -- .../messages_botCallbackAnswer.md | 39 -- .../constructors/messages_botResults.md | 42 -- .../constructors/messages_channelMessages.md | 42 -- .../constructors/messages_chatFull.md | 40 -- .../constructors/messages_chats.md | 38 -- .../constructors/messages_dhConfig.md | 41 -- .../messages_dhConfigNotModified.md | 38 -- .../constructors/messages_dialogs.md | 41 -- .../constructors/messages_dialogsSlice.md | 42 -- .../constructors/messages_foundGifs.md | 39 -- .../constructors/messages_messageEditData.md | 38 -- .../constructors/messages_messages.md | 40 -- .../constructors/messages_messagesSlice.md | 41 -- .../constructors/messages_peerDialogs.md | 42 -- .../constructors/messages_savedGifs.md | 39 -- .../messages_savedGifsNotModified.md | 33 -- .../messages_sentEncryptedFile.md | 39 -- .../messages_sentEncryptedMessage.md | 38 -- .../constructors/messages_stickerSet.md | 40 -- .../constructors/messages_stickers.md | 39 -- .../messages_stickersNotModified.md | 33 -- .../API_docs_v53/constructors/photos.photo.md | 39 ++ .../constructors/photos.photos.md | 39 ++ .../constructors/photos.photosSlice.md | 40 ++ .../API_docs_v53/constructors/photos_photo.md | 39 -- .../constructors/photos_photos.md | 39 -- .../constructors/photos_photosSlice.md | 40 -- .../constructors/storage.fileGif.md | 33 ++ .../constructors/storage.fileJpeg.md | 33 ++ .../constructors/storage.fileMov.md | 33 ++ .../constructors/storage.fileMp3.md | 33 ++ .../constructors/storage.fileMp4.md | 33 ++ .../constructors/storage.filePartial.md | 33 ++ .../constructors/storage.filePdf.md | 33 ++ .../constructors/storage.filePng.md | 33 ++ .../constructors/storage.fileUnknown.md | 33 ++ .../constructors/storage.fileWebp.md | 33 ++ .../constructors/storage_fileGif.md | 33 -- .../constructors/storage_fileJpeg.md | 33 -- .../constructors/storage_fileMov.md | 33 -- .../constructors/storage_fileMp3.md | 33 -- .../constructors/storage_fileMp4.md | 33 -- .../constructors/storage_filePartial.md | 33 -- .../constructors/storage_filePdf.md | 33 -- .../constructors/storage_filePng.md | 33 -- .../constructors/storage_fileUnknown.md | 33 -- .../constructors/storage_fileWebp.md | 33 -- .../constructors/updateNewStickerSet.md | 6 +- .../constructors/updates.channelDifference.md | 44 ++ .../updates.channelDifferenceEmpty.md | 40 ++ .../updates.channelDifferenceTooLong.md | 57 +++ .../constructors/updates.difference.md | 43 ++ .../constructors/updates.differenceEmpty.md | 39 ++ .../constructors/updates.differenceSlice.md | 43 ++ .../constructors/updates.state.md | 42 ++ .../constructors/updates_channelDifference.md | 44 -- .../updates_channelDifferenceEmpty.md | 40 -- .../updates_channelDifferenceTooLong.md | 57 --- .../constructors/updates_difference.md | 43 -- .../constructors/updates_differenceEmpty.md | 39 -- .../constructors/updates_differenceSlice.md | 43 -- .../constructors/updates_state.md | 42 -- .../API_docs_v53/constructors/upload.file.md | 40 ++ .../API_docs_v53/constructors/upload_file.md | 40 -- .../API_docs_v53/constructors/userFull.md | 6 +- .../methods/account.getAuthorizations.md | 6 +- .../methods/account.getPassword.md | 6 +- .../methods/account.getPasswordSettings.md | 6 +- .../methods/account.getPrivacy.md | 6 +- .../methods/account.sendChangePhoneCode.md | 6 +- .../methods/account.setPrivacy.md | 6 +- old_docs/API_docs_v53/methods/api_README.md | 132 +++--- .../methods/auth.checkPassword.md | 6 +- .../API_docs_v53/methods/auth.checkPhone.md | 6 +- .../methods/auth.exportAuthorization.md | 6 +- .../methods/auth.importAuthorization.md | 6 +- .../methods/auth.importBotAuthorization.md | 6 +- .../methods/auth.recoverPassword.md | 6 +- .../methods/auth.requestPasswordRecovery.md | 6 +- .../API_docs_v53/methods/auth.resendCode.md | 6 +- .../API_docs_v53/methods/auth.sendCode.md | 6 +- old_docs/API_docs_v53/methods/auth.signIn.md | 6 +- old_docs/API_docs_v53/methods/auth.signUp.md | 6 +- .../methods/channels.deleteMessages.md | 6 +- .../methods/channels.deleteUserHistory.md | 6 +- .../methods/channels.getChannels.md | 6 +- .../methods/channels.getFullChannel.md | 6 +- .../methods/channels.getMessages.md | 6 +- .../methods/channels.getParticipant.md | 6 +- .../methods/channels.getParticipants.md | 6 +- .../methods/contacts.deleteContact.md | 6 +- .../methods/contacts.getBlocked.md | 6 +- .../methods/contacts.getContacts.md | 6 +- .../methods/contacts.getTopPeers.md | 6 +- .../methods/contacts.importContacts.md | 6 +- .../methods/contacts.resolveUsername.md | 6 +- .../API_docs_v53/methods/contacts.search.md | 6 +- .../methods/help.getAppChangelog.md | 6 +- .../API_docs_v53/methods/help.getAppUpdate.md | 6 +- .../methods/help.getInviteText.md | 6 +- .../API_docs_v53/methods/help.getSupport.md | 6 +- .../methods/help.getTermsOfService.md | 6 +- .../methods/messages.deleteHistory.md | 6 +- .../methods/messages.deleteMessages.md | 6 +- .../methods/messages.getAllStickers.md | 6 +- .../methods/messages.getBotCallbackAnswer.md | 6 +- .../API_docs_v53/methods/messages.getChats.md | 6 +- .../methods/messages.getDhConfig.md | 6 +- .../methods/messages.getDialogs.md | 6 +- .../methods/messages.getFullChat.md | 6 +- .../methods/messages.getHistory.md | 6 +- .../methods/messages.getInlineBotResults.md | 6 +- .../methods/messages.getMessageEditData.md | 6 +- .../methods/messages.getMessages.md | 6 +- .../methods/messages.getPeerDialogs.md | 6 +- .../methods/messages.getSavedGifs.md | 6 +- .../methods/messages.getStickerSet.md | 6 +- .../methods/messages.getStickers.md | 6 +- .../methods/messages.readHistory.md | 6 +- .../methods/messages.readMessageContents.md | 6 +- .../API_docs_v53/methods/messages.search.md | 6 +- .../methods/messages.searchGifs.md | 6 +- .../methods/messages.searchGlobal.md | 6 +- .../methods/messages.sendEncrypted.md | 14 +- .../methods/messages.sendEncryptedFile.md | 14 +- .../methods/messages.sendEncryptedService.md | 14 +- .../methods/photos.getUserPhotos.md | 6 +- .../methods/photos.uploadProfilePhoto.md | 6 +- .../methods/updates.getChannelDifference.md | 6 +- .../methods/updates.getDifference.md | 6 +- .../API_docs_v53/methods/updates.getState.md | 6 +- .../API_docs_v53/methods/upload.getFile.md | 6 +- old_docs/API_docs_v53/types/AccountDaysTTL.md | 2 +- old_docs/API_docs_v53/types/ChatInvite.md | 2 +- old_docs/API_docs_v53/types/Config.md | 2 +- old_docs/API_docs_v53/types/ContactStatus.md | 2 +- old_docs/API_docs_v53/types/Document.md | 2 +- old_docs/API_docs_v53/types/EncryptedChat.md | 4 +- .../API_docs_v53/types/ExportedChatInvite.md | 4 +- .../API_docs_v53/types/ExportedMessageLink.md | 2 +- old_docs/API_docs_v53/types/MessageMedia.md | 2 +- old_docs/API_docs_v53/types/NearestDc.md | 2 +- .../API_docs_v53/types/PeerNotifySettings.md | 2 +- old_docs/API_docs_v53/types/PeerSettings.md | 2 +- old_docs/API_docs_v53/types/README.md | 100 ++-- .../types/ReceivedNotifyMessage.md | 2 +- old_docs/API_docs_v53/types/Updates.md | 58 +-- old_docs/API_docs_v53/types/User.md | 10 +- old_docs/API_docs_v53/types/UserFull.md | 2 +- .../API_docs_v53/types/UserProfilePhoto.md | 2 +- old_docs/API_docs_v53/types/WallPaper.md | 2 +- .../types/account.Authorizations.md | 22 + .../API_docs_v53/types/account.Password.md | 24 + .../types/account.PasswordInputSettings.md | 20 + .../types/account.PasswordSettings.md | 22 + .../types/account.PrivacyRules.md | 24 + .../types/account_Authorizations.md | 22 - .../API_docs_v53/types/account_Password.md | 24 - .../types/account_PasswordInputSettings.md | 20 - .../types/account_PasswordSettings.md | 22 - .../types/account_PrivacyRules.md | 24 - .../API_docs_v53/types/auth.Authorization.md | 32 ++ .../API_docs_v53/types/auth.CheckedPhone.md | 22 + old_docs/API_docs_v53/types/auth.CodeType.md | 24 + .../types/auth.ExportedAuthorization.md | 22 + .../types/auth.PasswordRecovery.md | 22 + old_docs/API_docs_v53/types/auth.SentCode.md | 26 ++ .../API_docs_v53/types/auth.SentCodeType.md | 26 ++ .../API_docs_v53/types/auth_Authorization.md | 32 -- .../API_docs_v53/types/auth_CheckedPhone.md | 22 - old_docs/API_docs_v53/types/auth_CodeType.md | 24 - .../types/auth_ExportedAuthorization.md | 22 - .../types/auth_PasswordRecovery.md | 22 - old_docs/API_docs_v53/types/auth_SentCode.md | 26 -- .../API_docs_v53/types/auth_SentCodeType.md | 26 -- .../types/channels.ChannelParticipant.md | 22 + .../types/channels.ChannelParticipants.md | 22 + .../types/channels_ChannelParticipant.md | 22 - .../types/channels_ChannelParticipants.md | 22 - .../API_docs_v53/types/contacts.Blocked.md | 24 + .../API_docs_v53/types/contacts.Contacts.md | 24 + old_docs/API_docs_v53/types/contacts.Found.md | 22 + .../types/contacts.ImportedContacts.md | 22 + old_docs/API_docs_v53/types/contacts.Link.md | 22 + .../types/contacts.ResolvedPeer.md | 22 + .../API_docs_v53/types/contacts.TopPeers.md | 24 + .../API_docs_v53/types/contacts_Blocked.md | 24 - .../API_docs_v53/types/contacts_Contacts.md | 24 - old_docs/API_docs_v53/types/contacts_Found.md | 22 - .../types/contacts_ImportedContacts.md | 22 - old_docs/API_docs_v53/types/contacts_Link.md | 22 - .../types/contacts_ResolvedPeer.md | 22 - .../API_docs_v53/types/contacts_TopPeers.md | 24 - .../API_docs_v53/types/help.AppChangelog.md | 24 + old_docs/API_docs_v53/types/help.AppUpdate.md | 24 + .../API_docs_v53/types/help.InviteText.md | 22 + old_docs/API_docs_v53/types/help.Support.md | 22 + .../API_docs_v53/types/help.TermsOfService.md | 22 + .../API_docs_v53/types/help_AppChangelog.md | 24 - old_docs/API_docs_v53/types/help_AppUpdate.md | 24 - .../API_docs_v53/types/help_InviteText.md | 22 - old_docs/API_docs_v53/types/help_Support.md | 22 - .../API_docs_v53/types/help_TermsOfService.md | 22 - .../types/messages.AffectedHistory.md | 24 + .../types/messages.AffectedMessages.md | 28 ++ .../types/messages.AllStickers.md | 24 + .../types/messages.BotCallbackAnswer.md | 22 + .../API_docs_v53/types/messages.BotResults.md | 22 + .../API_docs_v53/types/messages.ChatFull.md | 24 + old_docs/API_docs_v53/types/messages.Chats.md | 24 + .../API_docs_v53/types/messages.DhConfig.md | 24 + .../API_docs_v53/types/messages.Dialogs.md | 24 + .../API_docs_v53/types/messages.FoundGifs.md | 22 + .../types/messages.MessageEditData.md | 22 + .../API_docs_v53/types/messages.Messages.md | 34 ++ .../types/messages.PeerDialogs.md | 22 + .../API_docs_v53/types/messages.SavedGifs.md | 24 + .../types/messages.SentEncryptedMessage.md | 28 ++ .../API_docs_v53/types/messages.StickerSet.md | 22 + .../API_docs_v53/types/messages.Stickers.md | 24 + .../types/messages_AffectedHistory.md | 24 - .../types/messages_AffectedMessages.md | 28 -- .../types/messages_AllStickers.md | 24 - .../types/messages_BotCallbackAnswer.md | 22 - .../API_docs_v53/types/messages_BotResults.md | 22 - .../API_docs_v53/types/messages_ChatFull.md | 24 - old_docs/API_docs_v53/types/messages_Chats.md | 24 - .../API_docs_v53/types/messages_DhConfig.md | 24 - .../API_docs_v53/types/messages_Dialogs.md | 24 - .../API_docs_v53/types/messages_FoundGifs.md | 22 - .../types/messages_MessageEditData.md | 22 - .../API_docs_v53/types/messages_Messages.md | 34 -- .../types/messages_PeerDialogs.md | 22 - .../API_docs_v53/types/messages_SavedGifs.md | 24 - .../types/messages_SentEncryptedMessage.md | 28 -- .../API_docs_v53/types/messages_StickerSet.md | 22 - .../API_docs_v53/types/messages_Stickers.md | 24 - old_docs/API_docs_v53/types/photos.Photo.md | 22 + old_docs/API_docs_v53/types/photos.Photos.md | 24 + old_docs/API_docs_v53/types/photos_Photo.md | 22 - old_docs/API_docs_v53/types/photos_Photos.md | 24 - .../API_docs_v53/types/storage.FileType.md | 38 ++ .../API_docs_v53/types/storage_FileType.md | 38 -- .../types/updates.ChannelDifference.md | 26 ++ .../API_docs_v53/types/updates.Difference.md | 26 ++ old_docs/API_docs_v53/types/updates.State.md | 22 + .../types/updates_ChannelDifference.md | 26 -- .../API_docs_v53/types/updates_Difference.md | 26 -- old_docs/API_docs_v53/types/updates_State.md | 22 - old_docs/API_docs_v53/types/upload.File.md | 22 + old_docs/API_docs_v53/types/upload_File.md | 22 - old_docs/API_docs_v55/constructors/README.md | 288 +++++++----- .../constructors/account.authorizations.md | 38 ++ .../constructors/account.noPassword.md | 39 ++ .../constructors/account.password.md | 42 ++ .../account.passwordInputSettings.md | 41 ++ .../constructors/account.passwordSettings.md | 38 ++ .../constructors/account.privacyRules.md | 39 ++ .../constructors/account_authorizations.md | 38 -- .../constructors/account_noPassword.md | 39 -- .../constructors/account_password.md | 42 -- .../account_passwordInputSettings.md | 41 -- .../constructors/account_passwordSettings.md | 38 -- .../constructors/account_privacyRules.md | 39 -- .../constructors/auth.authorization.md | 39 ++ .../constructors/auth.checkedPhone.md | 38 ++ .../constructors/auth.codeTypeCall.md | 33 ++ .../constructors/auth.codeTypeFlashCall.md | 33 ++ .../constructors/auth.codeTypeSms.md | 33 ++ .../auth.exportedAuthorization.md | 39 ++ .../constructors/auth.passwordRecovery.md | 38 ++ .../constructors/auth.sentCode.md | 42 ++ .../constructors/auth.sentCodeTypeApp.md | 38 ++ .../constructors/auth.sentCodeTypeCall.md | 38 ++ .../auth.sentCodeTypeFlashCall.md | 38 ++ .../constructors/auth.sentCodeTypeSms.md | 38 ++ .../constructors/auth_authorization.md | 39 -- .../constructors/auth_checkedPhone.md | 38 -- .../constructors/auth_codeTypeCall.md | 33 -- .../constructors/auth_codeTypeFlashCall.md | 33 -- .../constructors/auth_codeTypeSms.md | 33 -- .../auth_exportedAuthorization.md | 39 -- .../constructors/auth_passwordRecovery.md | 38 -- .../constructors/auth_sentCode.md | 42 -- .../constructors/auth_sentCodeTypeApp.md | 38 -- .../constructors/auth_sentCodeTypeCall.md | 38 -- .../auth_sentCodeTypeFlashCall.md | 38 -- .../constructors/auth_sentCodeTypeSms.md | 38 -- .../channels.channelParticipant.md | 39 ++ .../channels.channelParticipants.md | 40 ++ .../channels_channelParticipant.md | 39 -- .../channels_channelParticipants.md | 40 -- .../constructors/contacts.blocked.md | 39 ++ .../constructors/contacts.blockedSlice.md | 40 ++ .../constructors/contacts.contacts.md | 39 ++ .../contacts.contactsNotModified.md | 33 ++ .../constructors/contacts.found.md | 40 ++ .../constructors/contacts.importedContacts.md | 40 ++ .../constructors/contacts.link.md | 40 ++ .../constructors/contacts.resolvedPeer.md | 40 ++ .../constructors/contacts.topPeers.md | 40 ++ .../contacts.topPeersNotModified.md | 33 ++ .../constructors/contacts_blocked.md | 39 -- .../constructors/contacts_blockedSlice.md | 40 -- .../constructors/contacts_contacts.md | 39 -- .../contacts_contactsNotModified.md | 33 -- .../constructors/contacts_found.md | 40 -- .../constructors/contacts_importedContacts.md | 40 -- .../constructors/contacts_link.md | 40 -- .../constructors/contacts_resolvedPeer.md | 40 -- .../constructors/contacts_topPeers.md | 40 -- .../contacts_topPeersNotModified.md | 33 -- .../constructors/help.appChangelog.md | 38 ++ .../constructors/help.appChangelogEmpty.md | 33 ++ .../constructors/help.appUpdate.md | 41 ++ .../constructors/help.inviteText.md | 38 ++ .../constructors/help.noAppUpdate.md | 33 ++ .../API_docs_v55/constructors/help.support.md | 39 ++ .../constructors/help.termsOfService.md | 38 ++ .../constructors/help_appChangelog.md | 38 -- .../constructors/help_appChangelogEmpty.md | 33 -- .../constructors/help_appUpdate.md | 41 -- .../constructors/help_inviteText.md | 38 -- .../constructors/help_noAppUpdate.md | 33 -- .../API_docs_v55/constructors/help_support.md | 39 -- .../constructors/help_termsOfService.md | 38 -- .../constructors/messages.affectedHistory.md | 40 ++ .../constructors/messages.affectedMessages.md | 39 ++ .../constructors/messages.allStickers.md | 39 ++ .../messages.allStickersNotModified.md | 33 ++ .../constructors/messages.archivedStickers.md | 39 ++ .../messages.botCallbackAnswer.md | 40 ++ .../constructors/messages.botResults.md | 42 ++ .../constructors/messages.channelMessages.md | 42 ++ .../constructors/messages.chatFull.md | 40 ++ .../constructors/messages.chats.md | 38 ++ .../constructors/messages.dhConfig.md | 41 ++ .../messages.dhConfigNotModified.md | 38 ++ .../constructors/messages.dialogs.md | 41 ++ .../constructors/messages.dialogsSlice.md | 42 ++ .../constructors/messages.featuredStickers.md | 40 ++ .../messages.featuredStickersNotModified.md | 33 ++ .../constructors/messages.foundGifs.md | 39 ++ .../constructors/messages.messageEditData.md | 38 ++ .../constructors/messages.messages.md | 40 ++ .../constructors/messages.messagesSlice.md | 41 ++ .../constructors/messages.peerDialogs.md | 42 ++ .../constructors/messages.recentStickers.md | 39 ++ .../messages.recentStickersNotModified.md | 33 ++ .../constructors/messages.savedGifs.md | 39 ++ .../messages.savedGifsNotModified.md | 33 ++ .../messages.sentEncryptedFile.md | 39 ++ .../messages.sentEncryptedMessage.md | 38 ++ .../constructors/messages.stickerSet.md | 40 ++ ...messages.stickerSetInstallResultArchive.md | 38 ++ ...messages.stickerSetInstallResultSuccess.md | 33 ++ .../constructors/messages.stickers.md | 39 ++ .../messages.stickersNotModified.md | 33 ++ .../constructors/messages_affectedHistory.md | 40 -- .../constructors/messages_affectedMessages.md | 39 -- .../constructors/messages_allStickers.md | 39 -- .../messages_allStickersNotModified.md | 33 -- .../constructors/messages_archivedStickers.md | 39 -- .../messages_botCallbackAnswer.md | 40 -- .../constructors/messages_botResults.md | 42 -- .../constructors/messages_channelMessages.md | 42 -- .../constructors/messages_chatFull.md | 40 -- .../constructors/messages_chats.md | 38 -- .../constructors/messages_dhConfig.md | 41 -- .../messages_dhConfigNotModified.md | 38 -- .../constructors/messages_dialogs.md | 41 -- .../constructors/messages_dialogsSlice.md | 42 -- .../constructors/messages_featuredStickers.md | 40 -- .../messages_featuredStickersNotModified.md | 33 -- .../constructors/messages_foundGifs.md | 39 -- .../constructors/messages_messageEditData.md | 38 -- .../constructors/messages_messages.md | 40 -- .../constructors/messages_messagesSlice.md | 41 -- .../constructors/messages_peerDialogs.md | 42 -- .../constructors/messages_recentStickers.md | 39 -- .../messages_recentStickersNotModified.md | 33 -- .../constructors/messages_savedGifs.md | 39 -- .../messages_savedGifsNotModified.md | 33 -- .../messages_sentEncryptedFile.md | 39 -- .../messages_sentEncryptedMessage.md | 38 -- .../constructors/messages_stickerSet.md | 40 -- ...messages_stickerSetInstallResultArchive.md | 38 -- ...messages_stickerSetInstallResultSuccess.md | 33 -- .../constructors/messages_stickers.md | 39 -- .../messages_stickersNotModified.md | 33 -- .../API_docs_v55/constructors/photos.photo.md | 39 ++ .../constructors/photos.photos.md | 39 ++ .../constructors/photos.photosSlice.md | 40 ++ .../API_docs_v55/constructors/photos_photo.md | 39 -- .../constructors/photos_photos.md | 39 -- .../constructors/photos_photosSlice.md | 40 -- .../constructors/storage.fileGif.md | 33 ++ .../constructors/storage.fileJpeg.md | 33 ++ .../constructors/storage.fileMov.md | 33 ++ .../constructors/storage.fileMp3.md | 33 ++ .../constructors/storage.fileMp4.md | 33 ++ .../constructors/storage.filePartial.md | 33 ++ .../constructors/storage.filePdf.md | 33 ++ .../constructors/storage.filePng.md | 33 ++ .../constructors/storage.fileUnknown.md | 33 ++ .../constructors/storage.fileWebp.md | 33 ++ .../constructors/storage_fileGif.md | 33 -- .../constructors/storage_fileJpeg.md | 33 -- .../constructors/storage_fileMov.md | 33 -- .../constructors/storage_fileMp3.md | 33 -- .../constructors/storage_fileMp4.md | 33 -- .../constructors/storage_filePartial.md | 33 -- .../constructors/storage_filePdf.md | 33 -- .../constructors/storage_filePng.md | 33 -- .../constructors/storage_fileUnknown.md | 33 -- .../constructors/storage_fileWebp.md | 33 -- .../constructors/updateNewStickerSet.md | 6 +- .../constructors/updates.channelDifference.md | 44 ++ .../updates.channelDifferenceEmpty.md | 40 ++ .../updates.channelDifferenceTooLong.md | 57 +++ .../constructors/updates.difference.md | 43 ++ .../constructors/updates.differenceEmpty.md | 39 ++ .../constructors/updates.differenceSlice.md | 43 ++ .../constructors/updates.state.md | 42 ++ .../constructors/updates_channelDifference.md | 44 -- .../updates_channelDifferenceEmpty.md | 40 -- .../updates_channelDifferenceTooLong.md | 57 --- .../constructors/updates_difference.md | 43 -- .../constructors/updates_differenceEmpty.md | 39 -- .../constructors/updates_differenceSlice.md | 43 -- .../constructors/updates_state.md | 42 -- .../API_docs_v55/constructors/upload.file.md | 40 ++ .../API_docs_v55/constructors/upload_file.md | 40 -- .../API_docs_v55/constructors/userFull.md | 6 +- .../methods/account.getAuthorizations.md | 6 +- .../methods/account.getPassword.md | 6 +- .../methods/account.getPasswordSettings.md | 6 +- .../methods/account.getPrivacy.md | 6 +- .../methods/account.sendChangePhoneCode.md | 6 +- .../methods/account.sendConfirmPhoneCode.md | 6 +- .../methods/account.setPrivacy.md | 6 +- old_docs/API_docs_v55/methods/api_README.md | 142 +++--- .../methods/auth.checkPassword.md | 6 +- .../API_docs_v55/methods/auth.checkPhone.md | 6 +- .../methods/auth.exportAuthorization.md | 6 +- .../methods/auth.importAuthorization.md | 6 +- .../methods/auth.importBotAuthorization.md | 6 +- .../methods/auth.recoverPassword.md | 6 +- .../methods/auth.requestPasswordRecovery.md | 6 +- .../API_docs_v55/methods/auth.resendCode.md | 6 +- .../API_docs_v55/methods/auth.sendCode.md | 6 +- old_docs/API_docs_v55/methods/auth.signIn.md | 6 +- old_docs/API_docs_v55/methods/auth.signUp.md | 6 +- .../methods/channels.deleteMessages.md | 6 +- .../methods/channels.deleteUserHistory.md | 6 +- .../methods/channels.getChannels.md | 6 +- .../methods/channels.getFullChannel.md | 6 +- .../methods/channels.getMessages.md | 6 +- .../methods/channels.getParticipant.md | 6 +- .../methods/channels.getParticipants.md | 6 +- .../methods/contacts.deleteContact.md | 6 +- .../methods/contacts.getBlocked.md | 6 +- .../methods/contacts.getContacts.md | 6 +- .../methods/contacts.getTopPeers.md | 6 +- .../methods/contacts.importContacts.md | 6 +- .../methods/contacts.resolveUsername.md | 6 +- .../API_docs_v55/methods/contacts.search.md | 6 +- .../methods/help.getAppChangelog.md | 6 +- .../API_docs_v55/methods/help.getAppUpdate.md | 6 +- .../methods/help.getInviteText.md | 6 +- .../API_docs_v55/methods/help.getSupport.md | 6 +- .../methods/help.getTermsOfService.md | 6 +- .../methods/messages.deleteHistory.md | 6 +- .../methods/messages.deleteMessages.md | 6 +- .../methods/messages.getAllStickers.md | 6 +- .../methods/messages.getArchivedStickers.md | 6 +- .../methods/messages.getBotCallbackAnswer.md | 6 +- .../API_docs_v55/methods/messages.getChats.md | 6 +- .../methods/messages.getDhConfig.md | 6 +- .../methods/messages.getDialogs.md | 6 +- .../methods/messages.getFeaturedStickers.md | 6 +- .../methods/messages.getFullChat.md | 6 +- .../methods/messages.getHistory.md | 6 +- .../methods/messages.getInlineBotResults.md | 6 +- .../methods/messages.getMessageEditData.md | 6 +- .../methods/messages.getMessages.md | 6 +- .../methods/messages.getPeerDialogs.md | 6 +- .../methods/messages.getRecentStickers.md | 6 +- .../methods/messages.getSavedGifs.md | 6 +- .../methods/messages.getStickerSet.md | 6 +- .../methods/messages.getStickers.md | 6 +- .../methods/messages.installStickerSet.md | 6 +- .../methods/messages.readHistory.md | 6 +- .../methods/messages.readMessageContents.md | 6 +- .../API_docs_v55/methods/messages.search.md | 6 +- .../methods/messages.searchGifs.md | 6 +- .../methods/messages.searchGlobal.md | 6 +- .../methods/messages.sendEncrypted.md | 14 +- .../methods/messages.sendEncryptedFile.md | 14 +- .../methods/messages.sendEncryptedService.md | 14 +- .../methods/photos.getUserPhotos.md | 6 +- .../methods/photos.uploadProfilePhoto.md | 6 +- .../methods/updates.getChannelDifference.md | 6 +- .../methods/updates.getDifference.md | 6 +- .../API_docs_v55/methods/updates.getState.md | 6 +- .../API_docs_v55/methods/upload.getFile.md | 6 +- old_docs/API_docs_v55/types/AccountDaysTTL.md | 2 +- old_docs/API_docs_v55/types/ChatInvite.md | 2 +- old_docs/API_docs_v55/types/Config.md | 2 +- old_docs/API_docs_v55/types/ContactStatus.md | 2 +- old_docs/API_docs_v55/types/Document.md | 2 +- old_docs/API_docs_v55/types/EncryptedChat.md | 4 +- .../API_docs_v55/types/ExportedChatInvite.md | 4 +- .../API_docs_v55/types/ExportedMessageLink.md | 2 +- old_docs/API_docs_v55/types/MessageMedia.md | 2 +- old_docs/API_docs_v55/types/NearestDc.md | 2 +- .../API_docs_v55/types/PeerNotifySettings.md | 2 +- old_docs/API_docs_v55/types/PeerSettings.md | 2 +- old_docs/API_docs_v55/types/README.md | 108 ++--- .../types/ReceivedNotifyMessage.md | 2 +- .../API_docs_v55/types/StickerSetCovered.md | 2 +- old_docs/API_docs_v55/types/Updates.md | 58 +-- old_docs/API_docs_v55/types/User.md | 10 +- old_docs/API_docs_v55/types/UserFull.md | 2 +- .../API_docs_v55/types/UserProfilePhoto.md | 2 +- old_docs/API_docs_v55/types/WallPaper.md | 2 +- .../types/account.Authorizations.md | 22 + .../API_docs_v55/types/account.Password.md | 24 + .../types/account.PasswordInputSettings.md | 20 + .../types/account.PasswordSettings.md | 22 + .../types/account.PrivacyRules.md | 24 + .../types/account_Authorizations.md | 22 - .../API_docs_v55/types/account_Password.md | 24 - .../types/account_PasswordInputSettings.md | 20 - .../types/account_PasswordSettings.md | 22 - .../types/account_PrivacyRules.md | 24 - .../API_docs_v55/types/auth.Authorization.md | 32 ++ .../API_docs_v55/types/auth.CheckedPhone.md | 22 + old_docs/API_docs_v55/types/auth.CodeType.md | 24 + .../types/auth.ExportedAuthorization.md | 22 + .../types/auth.PasswordRecovery.md | 22 + old_docs/API_docs_v55/types/auth.SentCode.md | 28 ++ .../API_docs_v55/types/auth.SentCodeType.md | 26 ++ .../API_docs_v55/types/auth_Authorization.md | 32 -- .../API_docs_v55/types/auth_CheckedPhone.md | 22 - old_docs/API_docs_v55/types/auth_CodeType.md | 24 - .../types/auth_ExportedAuthorization.md | 22 - .../types/auth_PasswordRecovery.md | 22 - old_docs/API_docs_v55/types/auth_SentCode.md | 28 -- .../API_docs_v55/types/auth_SentCodeType.md | 26 -- .../types/channels.ChannelParticipant.md | 22 + .../types/channels.ChannelParticipants.md | 22 + .../types/channels_ChannelParticipant.md | 22 - .../types/channels_ChannelParticipants.md | 22 - .../API_docs_v55/types/contacts.Blocked.md | 24 + .../API_docs_v55/types/contacts.Contacts.md | 24 + old_docs/API_docs_v55/types/contacts.Found.md | 22 + .../types/contacts.ImportedContacts.md | 22 + old_docs/API_docs_v55/types/contacts.Link.md | 22 + .../types/contacts.ResolvedPeer.md | 22 + .../API_docs_v55/types/contacts.TopPeers.md | 24 + .../API_docs_v55/types/contacts_Blocked.md | 24 - .../API_docs_v55/types/contacts_Contacts.md | 24 - old_docs/API_docs_v55/types/contacts_Found.md | 22 - .../types/contacts_ImportedContacts.md | 22 - old_docs/API_docs_v55/types/contacts_Link.md | 22 - .../types/contacts_ResolvedPeer.md | 22 - .../API_docs_v55/types/contacts_TopPeers.md | 24 - .../API_docs_v55/types/help.AppChangelog.md | 24 + old_docs/API_docs_v55/types/help.AppUpdate.md | 24 + .../API_docs_v55/types/help.InviteText.md | 22 + old_docs/API_docs_v55/types/help.Support.md | 22 + .../API_docs_v55/types/help.TermsOfService.md | 22 + .../API_docs_v55/types/help_AppChangelog.md | 24 - old_docs/API_docs_v55/types/help_AppUpdate.md | 24 - .../API_docs_v55/types/help_InviteText.md | 22 - old_docs/API_docs_v55/types/help_Support.md | 22 - .../API_docs_v55/types/help_TermsOfService.md | 22 - .../types/messages.AffectedHistory.md | 24 + .../types/messages.AffectedMessages.md | 28 ++ .../types/messages.AllStickers.md | 24 + .../types/messages.ArchivedStickers.md | 22 + .../types/messages.BotCallbackAnswer.md | 22 + .../API_docs_v55/types/messages.BotResults.md | 22 + .../API_docs_v55/types/messages.ChatFull.md | 24 + old_docs/API_docs_v55/types/messages.Chats.md | 24 + .../API_docs_v55/types/messages.DhConfig.md | 24 + .../API_docs_v55/types/messages.Dialogs.md | 24 + .../types/messages.FeaturedStickers.md | 24 + .../API_docs_v55/types/messages.FoundGifs.md | 22 + .../types/messages.MessageEditData.md | 22 + .../API_docs_v55/types/messages.Messages.md | 34 ++ .../types/messages.PeerDialogs.md | 22 + .../types/messages.RecentStickers.md | 24 + .../API_docs_v55/types/messages.SavedGifs.md | 24 + .../types/messages.SentEncryptedMessage.md | 28 ++ .../API_docs_v55/types/messages.StickerSet.md | 22 + .../types/messages.StickerSetInstallResult.md | 24 + .../API_docs_v55/types/messages.Stickers.md | 24 + .../types/messages_AffectedHistory.md | 24 - .../types/messages_AffectedMessages.md | 28 -- .../types/messages_AllStickers.md | 24 - .../types/messages_ArchivedStickers.md | 22 - .../types/messages_BotCallbackAnswer.md | 22 - .../API_docs_v55/types/messages_BotResults.md | 22 - .../API_docs_v55/types/messages_ChatFull.md | 24 - old_docs/API_docs_v55/types/messages_Chats.md | 24 - .../API_docs_v55/types/messages_DhConfig.md | 24 - .../API_docs_v55/types/messages_Dialogs.md | 24 - .../types/messages_FeaturedStickers.md | 24 - .../API_docs_v55/types/messages_FoundGifs.md | 22 - .../types/messages_MessageEditData.md | 22 - .../API_docs_v55/types/messages_Messages.md | 34 -- .../types/messages_PeerDialogs.md | 22 - .../types/messages_RecentStickers.md | 24 - .../API_docs_v55/types/messages_SavedGifs.md | 24 - .../types/messages_SentEncryptedMessage.md | 28 -- .../API_docs_v55/types/messages_StickerSet.md | 22 - .../types/messages_StickerSetInstallResult.md | 24 - .../API_docs_v55/types/messages_Stickers.md | 24 - old_docs/API_docs_v55/types/photos.Photo.md | 22 + old_docs/API_docs_v55/types/photos.Photos.md | 24 + old_docs/API_docs_v55/types/photos_Photo.md | 22 - old_docs/API_docs_v55/types/photos_Photos.md | 24 - .../API_docs_v55/types/storage.FileType.md | 38 ++ .../API_docs_v55/types/storage_FileType.md | 38 -- .../types/updates.ChannelDifference.md | 26 ++ .../API_docs_v55/types/updates.Difference.md | 26 ++ old_docs/API_docs_v55/types/updates.State.md | 22 + .../types/updates_ChannelDifference.md | 26 -- .../API_docs_v55/types/updates_Difference.md | 26 -- old_docs/API_docs_v55/types/updates_State.md | 22 - old_docs/API_docs_v55/types/upload.File.md | 22 + old_docs/API_docs_v55/types/upload_File.md | 22 - old_docs/API_docs_v57/constructors/README.md | 291 +++++++----- .../constructors/account.authorizations.md | 38 ++ .../constructors/account.noPassword.md | 39 ++ .../constructors/account.password.md | 42 ++ .../account.passwordInputSettings.md | 41 ++ .../constructors/account.passwordSettings.md | 38 ++ .../constructors/account.privacyRules.md | 39 ++ .../constructors/account_authorizations.md | 38 -- .../constructors/account_noPassword.md | 39 -- .../constructors/account_password.md | 42 -- .../account_passwordInputSettings.md | 41 -- .../constructors/account_passwordSettings.md | 38 -- .../constructors/account_privacyRules.md | 39 -- .../constructors/auth.authorization.md | 39 ++ .../constructors/auth.checkedPhone.md | 38 ++ .../constructors/auth.codeTypeCall.md | 33 ++ .../constructors/auth.codeTypeFlashCall.md | 33 ++ .../constructors/auth.codeTypeSms.md | 33 ++ .../auth.exportedAuthorization.md | 39 ++ .../constructors/auth.passwordRecovery.md | 38 ++ .../constructors/auth.sentCode.md | 42 ++ .../constructors/auth.sentCodeTypeApp.md | 38 ++ .../constructors/auth.sentCodeTypeCall.md | 38 ++ .../auth.sentCodeTypeFlashCall.md | 38 ++ .../constructors/auth.sentCodeTypeSms.md | 38 ++ .../constructors/auth_authorization.md | 39 -- .../constructors/auth_checkedPhone.md | 38 -- .../constructors/auth_codeTypeCall.md | 33 -- .../constructors/auth_codeTypeFlashCall.md | 33 -- .../constructors/auth_codeTypeSms.md | 33 -- .../auth_exportedAuthorization.md | 39 -- .../constructors/auth_passwordRecovery.md | 38 -- .../constructors/auth_sentCode.md | 42 -- .../constructors/auth_sentCodeTypeApp.md | 38 -- .../constructors/auth_sentCodeTypeCall.md | 38 -- .../auth_sentCodeTypeFlashCall.md | 38 -- .../constructors/auth_sentCodeTypeSms.md | 38 -- .../channels.channelParticipant.md | 39 ++ .../channels.channelParticipants.md | 40 ++ .../channels_channelParticipant.md | 39 -- .../channels_channelParticipants.md | 40 -- .../constructors/contacts.blocked.md | 39 ++ .../constructors/contacts.blockedSlice.md | 40 ++ .../constructors/contacts.contacts.md | 39 ++ .../contacts.contactsNotModified.md | 33 ++ .../constructors/contacts.found.md | 40 ++ .../constructors/contacts.importedContacts.md | 40 ++ .../constructors/contacts.link.md | 40 ++ .../constructors/contacts.resolvedPeer.md | 40 ++ .../constructors/contacts.topPeers.md | 40 ++ .../contacts.topPeersNotModified.md | 33 ++ .../constructors/contacts_blocked.md | 39 -- .../constructors/contacts_blockedSlice.md | 40 -- .../constructors/contacts_contacts.md | 39 -- .../contacts_contactsNotModified.md | 33 -- .../constructors/contacts_found.md | 40 -- .../constructors/contacts_importedContacts.md | 40 -- .../constructors/contacts_link.md | 40 -- .../constructors/contacts_resolvedPeer.md | 40 -- .../constructors/contacts_topPeers.md | 40 -- .../contacts_topPeersNotModified.md | 33 -- .../constructors/help.appChangelog.md | 38 ++ .../constructors/help.appChangelogEmpty.md | 33 ++ .../constructors/help.appUpdate.md | 41 ++ .../constructors/help.inviteText.md | 38 ++ .../constructors/help.noAppUpdate.md | 33 ++ .../API_docs_v57/constructors/help.support.md | 39 ++ .../constructors/help.termsOfService.md | 38 ++ .../constructors/help_appChangelog.md | 38 -- .../constructors/help_appChangelogEmpty.md | 33 -- .../constructors/help_appUpdate.md | 41 -- .../constructors/help_inviteText.md | 38 -- .../constructors/help_noAppUpdate.md | 33 -- .../API_docs_v57/constructors/help_support.md | 39 -- .../constructors/help_termsOfService.md | 38 -- .../constructors/messages.affectedHistory.md | 40 ++ .../constructors/messages.affectedMessages.md | 39 ++ .../constructors/messages.allStickers.md | 39 ++ .../messages.allStickersNotModified.md | 33 ++ .../constructors/messages.archivedStickers.md | 39 ++ .../messages.botCallbackAnswer.md | 41 ++ .../constructors/messages.botResults.md | 42 ++ .../constructors/messages.channelMessages.md | 42 ++ .../constructors/messages.chatFull.md | 40 ++ .../constructors/messages.chats.md | 38 ++ .../constructors/messages.dhConfig.md | 41 ++ .../messages.dhConfigNotModified.md | 38 ++ .../constructors/messages.dialogs.md | 41 ++ .../constructors/messages.dialogsSlice.md | 42 ++ .../constructors/messages.featuredStickers.md | 40 ++ .../messages.featuredStickersNotModified.md | 33 ++ .../constructors/messages.foundGifs.md | 39 ++ .../constructors/messages.highScores.md | 39 ++ .../constructors/messages.messageEditData.md | 38 ++ .../constructors/messages.messages.md | 40 ++ .../constructors/messages.messagesSlice.md | 41 ++ .../constructors/messages.peerDialogs.md | 42 ++ .../constructors/messages.recentStickers.md | 39 ++ .../messages.recentStickersNotModified.md | 33 ++ .../constructors/messages.savedGifs.md | 39 ++ .../messages.savedGifsNotModified.md | 33 ++ .../messages.sentEncryptedFile.md | 39 ++ .../messages.sentEncryptedMessage.md | 38 ++ .../constructors/messages.stickerSet.md | 40 ++ ...messages.stickerSetInstallResultArchive.md | 38 ++ ...messages.stickerSetInstallResultSuccess.md | 33 ++ .../constructors/messages.stickers.md | 39 ++ .../messages.stickersNotModified.md | 33 ++ .../constructors/messages_affectedHistory.md | 40 -- .../constructors/messages_affectedMessages.md | 39 -- .../constructors/messages_allStickers.md | 39 -- .../messages_allStickersNotModified.md | 33 -- .../constructors/messages_archivedStickers.md | 39 -- .../messages_botCallbackAnswer.md | 41 -- .../constructors/messages_botResults.md | 42 -- .../constructors/messages_channelMessages.md | 42 -- .../constructors/messages_chatFull.md | 40 -- .../constructors/messages_chats.md | 38 -- .../constructors/messages_dhConfig.md | 41 -- .../messages_dhConfigNotModified.md | 38 -- .../constructors/messages_dialogs.md | 41 -- .../constructors/messages_dialogsSlice.md | 42 -- .../constructors/messages_featuredStickers.md | 40 -- .../messages_featuredStickersNotModified.md | 33 -- .../constructors/messages_foundGifs.md | 39 -- .../constructors/messages_highScores.md | 39 -- .../constructors/messages_messageEditData.md | 38 -- .../constructors/messages_messages.md | 40 -- .../constructors/messages_messagesSlice.md | 41 -- .../constructors/messages_peerDialogs.md | 42 -- .../constructors/messages_recentStickers.md | 39 -- .../messages_recentStickersNotModified.md | 33 -- .../constructors/messages_savedGifs.md | 39 -- .../messages_savedGifsNotModified.md | 33 -- .../messages_sentEncryptedFile.md | 39 -- .../messages_sentEncryptedMessage.md | 38 -- .../constructors/messages_stickerSet.md | 40 -- ...messages_stickerSetInstallResultArchive.md | 38 -- ...messages_stickerSetInstallResultSuccess.md | 33 -- .../constructors/messages_stickers.md | 39 -- .../messages_stickersNotModified.md | 33 -- .../API_docs_v57/constructors/photos.photo.md | 39 ++ .../constructors/photos.photos.md | 39 ++ .../constructors/photos.photosSlice.md | 40 ++ .../API_docs_v57/constructors/photos_photo.md | 39 -- .../constructors/photos_photos.md | 39 -- .../constructors/photos_photosSlice.md | 40 -- .../constructors/storage.fileGif.md | 33 ++ .../constructors/storage.fileJpeg.md | 33 ++ .../constructors/storage.fileMov.md | 33 ++ .../constructors/storage.fileMp3.md | 33 ++ .../constructors/storage.fileMp4.md | 33 ++ .../constructors/storage.filePartial.md | 33 ++ .../constructors/storage.filePdf.md | 33 ++ .../constructors/storage.filePng.md | 33 ++ .../constructors/storage.fileUnknown.md | 33 ++ .../constructors/storage.fileWebp.md | 33 ++ .../constructors/storage_fileGif.md | 33 -- .../constructors/storage_fileJpeg.md | 33 -- .../constructors/storage_fileMov.md | 33 -- .../constructors/storage_fileMp3.md | 33 -- .../constructors/storage_fileMp4.md | 33 -- .../constructors/storage_filePartial.md | 33 -- .../constructors/storage_filePdf.md | 33 -- .../constructors/storage_filePng.md | 33 -- .../constructors/storage_fileUnknown.md | 33 -- .../constructors/storage_fileWebp.md | 33 -- .../constructors/updateNewStickerSet.md | 6 +- .../constructors/updates.channelDifference.md | 44 ++ .../updates.channelDifferenceEmpty.md | 40 ++ .../updates.channelDifferenceTooLong.md | 57 +++ .../constructors/updates.difference.md | 43 ++ .../constructors/updates.differenceEmpty.md | 39 ++ .../constructors/updates.differenceSlice.md | 43 ++ .../constructors/updates.state.md | 42 ++ .../constructors/updates_channelDifference.md | 44 -- .../updates_channelDifferenceEmpty.md | 40 -- .../updates_channelDifferenceTooLong.md | 57 --- .../constructors/updates_difference.md | 43 -- .../constructors/updates_differenceEmpty.md | 39 -- .../constructors/updates_differenceSlice.md | 43 -- .../constructors/updates_state.md | 42 -- .../API_docs_v57/constructors/upload.file.md | 40 ++ .../API_docs_v57/constructors/upload_file.md | 40 -- .../API_docs_v57/constructors/userFull.md | 6 +- .../methods/account.getAuthorizations.md | 6 +- .../methods/account.getPassword.md | 6 +- .../methods/account.getPasswordSettings.md | 6 +- .../methods/account.getPrivacy.md | 6 +- .../methods/account.sendChangePhoneCode.md | 6 +- .../methods/account.sendConfirmPhoneCode.md | 6 +- .../methods/account.setPrivacy.md | 6 +- old_docs/API_docs_v57/methods/api_README.md | 148 +++--- .../methods/auth.checkPassword.md | 6 +- .../API_docs_v57/methods/auth.checkPhone.md | 6 +- .../methods/auth.exportAuthorization.md | 6 +- .../methods/auth.importAuthorization.md | 6 +- .../methods/auth.importBotAuthorization.md | 6 +- .../methods/auth.recoverPassword.md | 6 +- .../methods/auth.requestPasswordRecovery.md | 6 +- .../API_docs_v57/methods/auth.resendCode.md | 6 +- .../API_docs_v57/methods/auth.sendCode.md | 6 +- old_docs/API_docs_v57/methods/auth.signIn.md | 6 +- old_docs/API_docs_v57/methods/auth.signUp.md | 6 +- .../methods/channels.deleteMessages.md | 6 +- .../methods/channels.deleteUserHistory.md | 6 +- .../channels.getAdminedPublicChannels.md | 6 +- .../methods/channels.getChannels.md | 6 +- .../methods/channels.getFullChannel.md | 6 +- .../methods/channels.getMessages.md | 6 +- .../methods/channels.getParticipant.md | 6 +- .../methods/channels.getParticipants.md | 6 +- .../methods/contacts.deleteContact.md | 6 +- .../methods/contacts.getBlocked.md | 6 +- .../methods/contacts.getContacts.md | 6 +- .../methods/contacts.getTopPeers.md | 6 +- .../methods/contacts.importContacts.md | 6 +- .../methods/contacts.resolveUsername.md | 6 +- .../API_docs_v57/methods/contacts.search.md | 6 +- .../methods/help.getAppChangelog.md | 6 +- .../API_docs_v57/methods/help.getAppUpdate.md | 6 +- .../methods/help.getInviteText.md | 6 +- .../API_docs_v57/methods/help.getSupport.md | 6 +- .../methods/help.getTermsOfService.md | 6 +- .../methods/messages.deleteHistory.md | 6 +- .../methods/messages.deleteMessages.md | 6 +- .../methods/messages.getAllStickers.md | 6 +- .../methods/messages.getArchivedStickers.md | 6 +- .../methods/messages.getBotCallbackAnswer.md | 6 +- .../API_docs_v57/methods/messages.getChats.md | 6 +- .../methods/messages.getDhConfig.md | 6 +- .../methods/messages.getDialogs.md | 6 +- .../methods/messages.getFeaturedStickers.md | 6 +- .../methods/messages.getFullChat.md | 6 +- .../methods/messages.getGameHighScores.md | 6 +- .../methods/messages.getHistory.md | 6 +- .../methods/messages.getInlineBotResults.md | 6 +- .../messages.getInlineGameHighScores.md | 6 +- .../methods/messages.getMaskStickers.md | 6 +- .../methods/messages.getMessageEditData.md | 6 +- .../methods/messages.getMessages.md | 6 +- .../methods/messages.getPeerDialogs.md | 6 +- .../methods/messages.getRecentStickers.md | 6 +- .../methods/messages.getSavedGifs.md | 6 +- .../methods/messages.getStickerSet.md | 6 +- .../methods/messages.installStickerSet.md | 6 +- .../methods/messages.readHistory.md | 6 +- .../methods/messages.readMessageContents.md | 6 +- .../API_docs_v57/methods/messages.search.md | 6 +- .../methods/messages.searchGifs.md | 6 +- .../methods/messages.searchGlobal.md | 6 +- .../methods/messages.sendEncrypted.md | 14 +- .../methods/messages.sendEncryptedFile.md | 14 +- .../methods/messages.sendEncryptedService.md | 14 +- .../methods/photos.getUserPhotos.md | 6 +- .../methods/photos.uploadProfilePhoto.md | 6 +- .../methods/updates.getChannelDifference.md | 6 +- .../methods/updates.getDifference.md | 6 +- .../API_docs_v57/methods/updates.getState.md | 6 +- .../API_docs_v57/methods/upload.getFile.md | 6 +- old_docs/API_docs_v57/types/AccountDaysTTL.md | 2 +- old_docs/API_docs_v57/types/ChatInvite.md | 2 +- old_docs/API_docs_v57/types/Config.md | 2 +- old_docs/API_docs_v57/types/ContactStatus.md | 2 +- old_docs/API_docs_v57/types/Document.md | 2 +- old_docs/API_docs_v57/types/EncryptedChat.md | 4 +- .../API_docs_v57/types/ExportedChatInvite.md | 4 +- .../API_docs_v57/types/ExportedMessageLink.md | 2 +- old_docs/API_docs_v57/types/MessageMedia.md | 2 +- old_docs/API_docs_v57/types/NearestDc.md | 2 +- .../API_docs_v57/types/PeerNotifySettings.md | 2 +- old_docs/API_docs_v57/types/PeerSettings.md | 2 +- old_docs/API_docs_v57/types/README.md | 110 ++--- .../types/ReceivedNotifyMessage.md | 2 +- .../API_docs_v57/types/StickerSetCovered.md | 2 +- old_docs/API_docs_v57/types/Updates.md | 58 +-- old_docs/API_docs_v57/types/User.md | 10 +- old_docs/API_docs_v57/types/UserFull.md | 2 +- .../API_docs_v57/types/UserProfilePhoto.md | 2 +- old_docs/API_docs_v57/types/WallPaper.md | 2 +- .../types/account.Authorizations.md | 22 + .../API_docs_v57/types/account.Password.md | 24 + .../types/account.PasswordInputSettings.md | 20 + .../types/account.PasswordSettings.md | 22 + .../types/account.PrivacyRules.md | 24 + .../types/account_Authorizations.md | 22 - .../API_docs_v57/types/account_Password.md | 24 - .../types/account_PasswordInputSettings.md | 20 - .../types/account_PasswordSettings.md | 22 - .../types/account_PrivacyRules.md | 24 - .../API_docs_v57/types/auth.Authorization.md | 32 ++ .../API_docs_v57/types/auth.CheckedPhone.md | 22 + old_docs/API_docs_v57/types/auth.CodeType.md | 24 + .../types/auth.ExportedAuthorization.md | 22 + .../types/auth.PasswordRecovery.md | 22 + old_docs/API_docs_v57/types/auth.SentCode.md | 28 ++ .../API_docs_v57/types/auth.SentCodeType.md | 26 ++ .../API_docs_v57/types/auth_Authorization.md | 32 -- .../API_docs_v57/types/auth_CheckedPhone.md | 22 - old_docs/API_docs_v57/types/auth_CodeType.md | 24 - .../types/auth_ExportedAuthorization.md | 22 - .../types/auth_PasswordRecovery.md | 22 - old_docs/API_docs_v57/types/auth_SentCode.md | 28 -- .../API_docs_v57/types/auth_SentCodeType.md | 26 -- .../types/channels.ChannelParticipant.md | 22 + .../types/channels.ChannelParticipants.md | 22 + .../types/channels_ChannelParticipant.md | 22 - .../types/channels_ChannelParticipants.md | 22 - .../API_docs_v57/types/contacts.Blocked.md | 24 + .../API_docs_v57/types/contacts.Contacts.md | 24 + old_docs/API_docs_v57/types/contacts.Found.md | 22 + .../types/contacts.ImportedContacts.md | 22 + old_docs/API_docs_v57/types/contacts.Link.md | 22 + .../types/contacts.ResolvedPeer.md | 22 + .../API_docs_v57/types/contacts.TopPeers.md | 24 + .../API_docs_v57/types/contacts_Blocked.md | 24 - .../API_docs_v57/types/contacts_Contacts.md | 24 - old_docs/API_docs_v57/types/contacts_Found.md | 22 - .../types/contacts_ImportedContacts.md | 22 - old_docs/API_docs_v57/types/contacts_Link.md | 22 - .../types/contacts_ResolvedPeer.md | 22 - .../API_docs_v57/types/contacts_TopPeers.md | 24 - .../API_docs_v57/types/help.AppChangelog.md | 24 + old_docs/API_docs_v57/types/help.AppUpdate.md | 24 + .../API_docs_v57/types/help.InviteText.md | 22 + old_docs/API_docs_v57/types/help.Support.md | 22 + .../API_docs_v57/types/help.TermsOfService.md | 22 + .../API_docs_v57/types/help_AppChangelog.md | 24 - old_docs/API_docs_v57/types/help_AppUpdate.md | 24 - .../API_docs_v57/types/help_InviteText.md | 22 - old_docs/API_docs_v57/types/help_Support.md | 22 - .../API_docs_v57/types/help_TermsOfService.md | 22 - .../types/messages.AffectedHistory.md | 24 + .../types/messages.AffectedMessages.md | 28 ++ .../types/messages.AllStickers.md | 26 ++ .../types/messages.ArchivedStickers.md | 22 + .../types/messages.BotCallbackAnswer.md | 22 + .../API_docs_v57/types/messages.BotResults.md | 22 + .../API_docs_v57/types/messages.ChatFull.md | 24 + old_docs/API_docs_v57/types/messages.Chats.md | 26 ++ .../API_docs_v57/types/messages.DhConfig.md | 24 + .../API_docs_v57/types/messages.Dialogs.md | 24 + .../types/messages.FeaturedStickers.md | 24 + .../API_docs_v57/types/messages.FoundGifs.md | 22 + .../API_docs_v57/types/messages.HighScores.md | 24 + .../types/messages.MessageEditData.md | 22 + .../API_docs_v57/types/messages.Messages.md | 34 ++ .../types/messages.PeerDialogs.md | 22 + .../types/messages.RecentStickers.md | 24 + .../API_docs_v57/types/messages.SavedGifs.md | 24 + .../types/messages.SentEncryptedMessage.md | 28 ++ .../API_docs_v57/types/messages.StickerSet.md | 22 + .../types/messages.StickerSetInstallResult.md | 24 + .../API_docs_v57/types/messages.Stickers.md | 22 + .../types/messages_AffectedHistory.md | 24 - .../types/messages_AffectedMessages.md | 28 -- .../types/messages_AllStickers.md | 26 -- .../types/messages_ArchivedStickers.md | 22 - .../types/messages_BotCallbackAnswer.md | 22 - .../API_docs_v57/types/messages_BotResults.md | 22 - .../API_docs_v57/types/messages_ChatFull.md | 24 - old_docs/API_docs_v57/types/messages_Chats.md | 26 -- .../API_docs_v57/types/messages_DhConfig.md | 24 - .../API_docs_v57/types/messages_Dialogs.md | 24 - .../types/messages_FeaturedStickers.md | 24 - .../API_docs_v57/types/messages_FoundGifs.md | 22 - .../API_docs_v57/types/messages_HighScores.md | 24 - .../types/messages_MessageEditData.md | 22 - .../API_docs_v57/types/messages_Messages.md | 34 -- .../types/messages_PeerDialogs.md | 22 - .../types/messages_RecentStickers.md | 24 - .../API_docs_v57/types/messages_SavedGifs.md | 24 - .../types/messages_SentEncryptedMessage.md | 28 -- .../API_docs_v57/types/messages_StickerSet.md | 22 - .../types/messages_StickerSetInstallResult.md | 24 - .../API_docs_v57/types/messages_Stickers.md | 22 - old_docs/API_docs_v57/types/photos.Photo.md | 22 + old_docs/API_docs_v57/types/photos.Photos.md | 24 + old_docs/API_docs_v57/types/photos_Photo.md | 22 - old_docs/API_docs_v57/types/photos_Photos.md | 24 - .../API_docs_v57/types/storage.FileType.md | 38 ++ .../API_docs_v57/types/storage_FileType.md | 38 -- .../types/updates.ChannelDifference.md | 26 ++ .../API_docs_v57/types/updates.Difference.md | 26 ++ old_docs/API_docs_v57/types/updates.State.md | 22 + .../types/updates_ChannelDifference.md | 26 -- .../API_docs_v57/types/updates_Difference.md | 26 -- old_docs/API_docs_v57/types/updates_State.md | 22 - old_docs/API_docs_v57/types/upload.File.md | 22 + old_docs/API_docs_v57/types/upload_File.md | 22 - old_docs/API_docs_v62/constructors/README.md | 305 +++++++----- .../constructors/account.authorizations.md | 38 ++ .../constructors/account.noPassword.md | 39 ++ .../constructors/account.password.md | 42 ++ .../account.passwordInputSettings.md | 41 ++ .../constructors/account.passwordSettings.md | 38 ++ .../constructors/account.privacyRules.md | 39 ++ .../constructors/account_authorizations.md | 38 -- .../constructors/account_noPassword.md | 39 -- .../constructors/account_password.md | 42 -- .../account_passwordInputSettings.md | 41 -- .../constructors/account_passwordSettings.md | 38 -- .../constructors/account_privacyRules.md | 39 -- .../constructors/auth.authorization.md | 39 ++ .../constructors/auth.checkedPhone.md | 38 ++ .../constructors/auth.codeTypeCall.md | 33 ++ .../constructors/auth.codeTypeFlashCall.md | 33 ++ .../constructors/auth.codeTypeSms.md | 33 ++ .../auth.exportedAuthorization.md | 39 ++ .../constructors/auth.passwordRecovery.md | 38 ++ .../constructors/auth.sentCode.md | 42 ++ .../constructors/auth.sentCodeTypeApp.md | 38 ++ .../constructors/auth.sentCodeTypeCall.md | 38 ++ .../auth.sentCodeTypeFlashCall.md | 38 ++ .../constructors/auth.sentCodeTypeSms.md | 38 ++ .../constructors/auth_authorization.md | 39 -- .../constructors/auth_checkedPhone.md | 38 -- .../constructors/auth_codeTypeCall.md | 33 -- .../constructors/auth_codeTypeFlashCall.md | 33 -- .../constructors/auth_codeTypeSms.md | 33 -- .../auth_exportedAuthorization.md | 39 -- .../constructors/auth_passwordRecovery.md | 38 -- .../constructors/auth_sentCode.md | 42 -- .../constructors/auth_sentCodeTypeApp.md | 38 -- .../constructors/auth_sentCodeTypeCall.md | 38 -- .../auth_sentCodeTypeFlashCall.md | 38 -- .../constructors/auth_sentCodeTypeSms.md | 38 -- .../channels.channelParticipant.md | 39 ++ .../channels.channelParticipants.md | 40 ++ .../channels_channelParticipant.md | 39 -- .../channels_channelParticipants.md | 40 -- .../constructors/contacts.blocked.md | 39 ++ .../constructors/contacts.blockedSlice.md | 40 ++ .../constructors/contacts.contacts.md | 39 ++ .../contacts.contactsNotModified.md | 33 ++ .../constructors/contacts.found.md | 40 ++ .../constructors/contacts.importedContacts.md | 40 ++ .../constructors/contacts.link.md | 40 ++ .../constructors/contacts.resolvedPeer.md | 40 ++ .../constructors/contacts.topPeers.md | 40 ++ .../contacts.topPeersNotModified.md | 33 ++ .../constructors/contacts_blocked.md | 39 -- .../constructors/contacts_blockedSlice.md | 40 -- .../constructors/contacts_contacts.md | 39 -- .../contacts_contactsNotModified.md | 33 -- .../constructors/contacts_found.md | 40 -- .../constructors/contacts_importedContacts.md | 40 -- .../constructors/contacts_link.md | 40 -- .../constructors/contacts_resolvedPeer.md | 40 -- .../constructors/contacts_topPeers.md | 40 -- .../contacts_topPeersNotModified.md | 33 -- .../constructors/help.appChangelog.md | 40 ++ .../constructors/help.appChangelogEmpty.md | 33 ++ .../constructors/help.appUpdate.md | 41 ++ .../constructors/help.inviteText.md | 38 ++ .../constructors/help.noAppUpdate.md | 33 ++ .../API_docs_v62/constructors/help.support.md | 39 ++ .../constructors/help.termsOfService.md | 38 ++ .../constructors/help_appChangelog.md | 40 -- .../constructors/help_appChangelogEmpty.md | 33 -- .../constructors/help_appUpdate.md | 41 -- .../constructors/help_inviteText.md | 38 -- .../constructors/help_noAppUpdate.md | 33 -- .../API_docs_v62/constructors/help_support.md | 39 -- .../constructors/help_termsOfService.md | 38 -- .../constructors/messages.affectedHistory.md | 40 ++ .../constructors/messages.affectedMessages.md | 39 ++ .../constructors/messages.allStickers.md | 39 ++ .../messages.allStickersNotModified.md | 33 ++ .../constructors/messages.archivedStickers.md | 39 ++ .../messages.botCallbackAnswer.md | 42 ++ .../constructors/messages.botResults.md | 43 ++ .../constructors/messages.channelMessages.md | 42 ++ .../constructors/messages.chatFull.md | 40 ++ .../constructors/messages.chats.md | 38 ++ .../constructors/messages.chatsSlice.md | 39 ++ .../constructors/messages.dhConfig.md | 41 ++ .../messages.dhConfigNotModified.md | 38 ++ .../constructors/messages.dialogs.md | 41 ++ .../constructors/messages.dialogsSlice.md | 42 ++ .../constructors/messages.featuredStickers.md | 40 ++ .../messages.featuredStickersNotModified.md | 33 ++ .../constructors/messages.foundGifs.md | 39 ++ .../constructors/messages.highScores.md | 39 ++ .../constructors/messages.messageEditData.md | 38 ++ .../constructors/messages.messages.md | 40 ++ .../constructors/messages.messagesSlice.md | 41 ++ .../constructors/messages.peerDialogs.md | 42 ++ .../constructors/messages.recentStickers.md | 39 ++ .../messages.recentStickersNotModified.md | 33 ++ .../constructors/messages.savedGifs.md | 39 ++ .../messages.savedGifsNotModified.md | 33 ++ .../messages.sentEncryptedFile.md | 39 ++ .../messages.sentEncryptedMessage.md | 38 ++ .../constructors/messages.stickerSet.md | 40 ++ ...messages.stickerSetInstallResultArchive.md | 38 ++ ...messages.stickerSetInstallResultSuccess.md | 33 ++ .../constructors/messages.stickers.md | 39 ++ .../messages.stickersNotModified.md | 33 ++ .../constructors/messages_affectedHistory.md | 40 -- .../constructors/messages_affectedMessages.md | 39 -- .../constructors/messages_allStickers.md | 39 -- .../messages_allStickersNotModified.md | 33 -- .../constructors/messages_archivedStickers.md | 39 -- .../messages_botCallbackAnswer.md | 42 -- .../constructors/messages_botResults.md | 43 -- .../constructors/messages_channelMessages.md | 42 -- .../constructors/messages_chatFull.md | 40 -- .../constructors/messages_chats.md | 38 -- .../constructors/messages_chatsSlice.md | 39 -- .../constructors/messages_dhConfig.md | 41 -- .../messages_dhConfigNotModified.md | 38 -- .../constructors/messages_dialogs.md | 41 -- .../constructors/messages_dialogsSlice.md | 42 -- .../constructors/messages_featuredStickers.md | 40 -- .../messages_featuredStickersNotModified.md | 33 -- .../constructors/messages_foundGifs.md | 39 -- .../constructors/messages_highScores.md | 39 -- .../constructors/messages_messageEditData.md | 38 -- .../constructors/messages_messages.md | 40 -- .../constructors/messages_messagesSlice.md | 41 -- .../constructors/messages_peerDialogs.md | 42 -- .../constructors/messages_recentStickers.md | 39 -- .../messages_recentStickersNotModified.md | 33 -- .../constructors/messages_savedGifs.md | 39 -- .../messages_savedGifsNotModified.md | 33 -- .../messages_sentEncryptedFile.md | 39 -- .../messages_sentEncryptedMessage.md | 38 -- .../constructors/messages_stickerSet.md | 40 -- ...messages_stickerSetInstallResultArchive.md | 38 -- ...messages_stickerSetInstallResultSuccess.md | 33 -- .../constructors/messages_stickers.md | 39 -- .../messages_stickersNotModified.md | 33 -- .../constructors/phone.phoneCall.md | 39 ++ .../constructors/phone_phoneCall.md | 39 -- .../API_docs_v62/constructors/photos.photo.md | 39 ++ .../constructors/photos.photos.md | 39 ++ .../constructors/photos.photosSlice.md | 40 ++ .../API_docs_v62/constructors/photos_photo.md | 39 -- .../constructors/photos_photos.md | 39 -- .../constructors/photos_photosSlice.md | 40 -- .../constructors/storage.fileGif.md | 33 ++ .../constructors/storage.fileJpeg.md | 33 ++ .../constructors/storage.fileMov.md | 33 ++ .../constructors/storage.fileMp3.md | 33 ++ .../constructors/storage.fileMp4.md | 33 ++ .../constructors/storage.filePartial.md | 33 ++ .../constructors/storage.filePdf.md | 33 ++ .../constructors/storage.filePng.md | 33 ++ .../constructors/storage.fileUnknown.md | 33 ++ .../constructors/storage.fileWebp.md | 33 ++ .../constructors/storage_fileGif.md | 33 -- .../constructors/storage_fileJpeg.md | 33 -- .../constructors/storage_fileMov.md | 33 -- .../constructors/storage_fileMp3.md | 33 -- .../constructors/storage_fileMp4.md | 33 -- .../constructors/storage_filePartial.md | 33 -- .../constructors/storage_filePdf.md | 33 -- .../constructors/storage_filePng.md | 33 -- .../constructors/storage_fileUnknown.md | 33 -- .../constructors/storage_fileWebp.md | 33 -- .../constructors/updateNewStickerSet.md | 6 +- .../constructors/updates.channelDifference.md | 44 ++ .../updates.channelDifferenceEmpty.md | 40 ++ .../updates.channelDifferenceTooLong.md | 57 +++ .../constructors/updates.difference.md | 43 ++ .../constructors/updates.differenceEmpty.md | 39 ++ .../constructors/updates.differenceSlice.md | 43 ++ .../constructors/updates.differenceTooLong.md | 38 ++ .../constructors/updates.state.md | 42 ++ .../constructors/updates_channelDifference.md | 44 -- .../updates_channelDifferenceEmpty.md | 40 -- .../updates_channelDifferenceTooLong.md | 57 --- .../constructors/updates_difference.md | 43 -- .../constructors/updates_differenceEmpty.md | 39 -- .../constructors/updates_differenceSlice.md | 43 -- .../constructors/updates_differenceTooLong.md | 38 -- .../constructors/updates_state.md | 42 -- .../API_docs_v62/constructors/upload.file.md | 40 ++ .../API_docs_v62/constructors/upload_file.md | 40 -- .../API_docs_v62/constructors/userFull.md | 6 +- .../methods/account.getAuthorizations.md | 6 +- .../methods/account.getPassword.md | 6 +- .../methods/account.getPasswordSettings.md | 6 +- .../methods/account.getPrivacy.md | 6 +- .../methods/account.sendChangePhoneCode.md | 6 +- .../methods/account.sendConfirmPhoneCode.md | 6 +- .../methods/account.setPrivacy.md | 6 +- old_docs/API_docs_v62/methods/api_README.md | 158 +++---- .../methods/auth.checkPassword.md | 6 +- .../API_docs_v62/methods/auth.checkPhone.md | 6 +- .../methods/auth.exportAuthorization.md | 6 +- .../methods/auth.importAuthorization.md | 6 +- .../methods/auth.importBotAuthorization.md | 6 +- .../methods/auth.recoverPassword.md | 6 +- .../methods/auth.requestPasswordRecovery.md | 6 +- .../API_docs_v62/methods/auth.resendCode.md | 6 +- .../API_docs_v62/methods/auth.sendCode.md | 6 +- old_docs/API_docs_v62/methods/auth.signIn.md | 6 +- old_docs/API_docs_v62/methods/auth.signUp.md | 6 +- .../methods/channels.deleteMessages.md | 6 +- .../methods/channels.deleteUserHistory.md | 6 +- .../channels.getAdminedPublicChannels.md | 6 +- .../methods/channels.getChannels.md | 6 +- .../methods/channels.getFullChannel.md | 6 +- .../methods/channels.getMessages.md | 6 +- .../methods/channels.getParticipant.md | 6 +- .../methods/channels.getParticipants.md | 6 +- .../methods/contacts.deleteContact.md | 6 +- .../methods/contacts.getBlocked.md | 6 +- .../methods/contacts.getContacts.md | 6 +- .../methods/contacts.getTopPeers.md | 6 +- .../methods/contacts.importContacts.md | 6 +- .../methods/contacts.resolveUsername.md | 6 +- .../API_docs_v62/methods/contacts.search.md | 6 +- .../methods/help.getAppChangelog.md | 6 +- .../API_docs_v62/methods/help.getAppUpdate.md | 6 +- .../methods/help.getInviteText.md | 6 +- .../API_docs_v62/methods/help.getSupport.md | 6 +- .../methods/help.getTermsOfService.md | 6 +- .../methods/messages.deleteHistory.md | 6 +- .../methods/messages.deleteMessages.md | 6 +- .../methods/messages.getAllChats.md | 6 +- .../methods/messages.getAllStickers.md | 6 +- .../methods/messages.getArchivedStickers.md | 6 +- .../methods/messages.getBotCallbackAnswer.md | 6 +- .../API_docs_v62/methods/messages.getChats.md | 6 +- .../methods/messages.getCommonChats.md | 6 +- .../methods/messages.getDhConfig.md | 6 +- .../methods/messages.getDialogs.md | 6 +- .../methods/messages.getFeaturedStickers.md | 6 +- .../methods/messages.getFullChat.md | 6 +- .../methods/messages.getGameHighScores.md | 6 +- .../methods/messages.getHistory.md | 6 +- .../methods/messages.getInlineBotResults.md | 6 +- .../messages.getInlineGameHighScores.md | 6 +- .../methods/messages.getMaskStickers.md | 6 +- .../methods/messages.getMessageEditData.md | 6 +- .../methods/messages.getMessages.md | 6 +- .../methods/messages.getPeerDialogs.md | 6 +- .../methods/messages.getPinnedDialogs.md | 6 +- .../methods/messages.getRecentStickers.md | 6 +- .../methods/messages.getSavedGifs.md | 6 +- .../methods/messages.getStickerSet.md | 6 +- .../methods/messages.installStickerSet.md | 6 +- .../methods/messages.readHistory.md | 6 +- .../methods/messages.readMessageContents.md | 6 +- .../API_docs_v62/methods/messages.search.md | 6 +- .../methods/messages.searchGifs.md | 6 +- .../methods/messages.searchGlobal.md | 6 +- .../methods/messages.sendEncrypted.md | 14 +- .../methods/messages.sendEncryptedFile.md | 14 +- .../methods/messages.sendEncryptedService.md | 14 +- .../API_docs_v62/methods/phone.acceptCall.md | 6 +- .../API_docs_v62/methods/phone.requestCall.md | 6 +- .../methods/photos.getUserPhotos.md | 6 +- .../methods/photos.uploadProfilePhoto.md | 6 +- .../methods/updates.getChannelDifference.md | 6 +- .../methods/updates.getDifference.md | 6 +- .../API_docs_v62/methods/updates.getState.md | 6 +- .../API_docs_v62/methods/upload.getFile.md | 6 +- old_docs/API_docs_v62/types/AccountDaysTTL.md | 2 +- old_docs/API_docs_v62/types/ChatInvite.md | 2 +- old_docs/API_docs_v62/types/Config.md | 2 +- old_docs/API_docs_v62/types/ContactStatus.md | 2 +- .../API_docs_v62/types/DestroyAuthKeyRes.md | 2 +- old_docs/API_docs_v62/types/Document.md | 2 +- old_docs/API_docs_v62/types/EncryptedChat.md | 4 +- .../API_docs_v62/types/ExportedChatInvite.md | 4 +- .../API_docs_v62/types/ExportedMessageLink.md | 2 +- old_docs/API_docs_v62/types/MessageMedia.md | 2 +- old_docs/API_docs_v62/types/NearestDc.md | 2 +- .../API_docs_v62/types/PeerNotifySettings.md | 2 +- old_docs/API_docs_v62/types/PeerSettings.md | 2 +- old_docs/API_docs_v62/types/README.md | 112 ++--- .../types/ReceivedNotifyMessage.md | 2 +- .../API_docs_v62/types/StickerSetCovered.md | 2 +- old_docs/API_docs_v62/types/Updates.md | 58 +-- old_docs/API_docs_v62/types/User.md | 10 +- old_docs/API_docs_v62/types/UserFull.md | 2 +- .../API_docs_v62/types/UserProfilePhoto.md | 2 +- old_docs/API_docs_v62/types/WallPaper.md | 2 +- old_docs/API_docs_v62/types/WebPage.md | 2 +- .../types/account.Authorizations.md | 22 + .../API_docs_v62/types/account.Password.md | 24 + .../types/account.PasswordInputSettings.md | 20 + .../types/account.PasswordSettings.md | 22 + .../types/account.PrivacyRules.md | 24 + .../types/account_Authorizations.md | 22 - .../API_docs_v62/types/account_Password.md | 24 - .../types/account_PasswordInputSettings.md | 20 - .../types/account_PasswordSettings.md | 22 - .../types/account_PrivacyRules.md | 24 - .../API_docs_v62/types/auth.Authorization.md | 32 ++ .../API_docs_v62/types/auth.CheckedPhone.md | 22 + old_docs/API_docs_v62/types/auth.CodeType.md | 24 + .../types/auth.ExportedAuthorization.md | 22 + .../types/auth.PasswordRecovery.md | 22 + old_docs/API_docs_v62/types/auth.SentCode.md | 28 ++ .../API_docs_v62/types/auth.SentCodeType.md | 26 ++ .../API_docs_v62/types/auth_Authorization.md | 32 -- .../API_docs_v62/types/auth_CheckedPhone.md | 22 - old_docs/API_docs_v62/types/auth_CodeType.md | 24 - .../types/auth_ExportedAuthorization.md | 22 - .../types/auth_PasswordRecovery.md | 22 - old_docs/API_docs_v62/types/auth_SentCode.md | 28 -- .../API_docs_v62/types/auth_SentCodeType.md | 26 -- .../types/channels.ChannelParticipant.md | 22 + .../types/channels.ChannelParticipants.md | 22 + .../types/channels_ChannelParticipant.md | 22 - .../types/channels_ChannelParticipants.md | 22 - .../API_docs_v62/types/contacts.Blocked.md | 24 + .../API_docs_v62/types/contacts.Contacts.md | 24 + old_docs/API_docs_v62/types/contacts.Found.md | 22 + .../types/contacts.ImportedContacts.md | 22 + old_docs/API_docs_v62/types/contacts.Link.md | 22 + .../types/contacts.ResolvedPeer.md | 22 + .../API_docs_v62/types/contacts.TopPeers.md | 24 + .../API_docs_v62/types/contacts_Blocked.md | 24 - .../API_docs_v62/types/contacts_Contacts.md | 24 - old_docs/API_docs_v62/types/contacts_Found.md | 22 - .../types/contacts_ImportedContacts.md | 22 - old_docs/API_docs_v62/types/contacts_Link.md | 22 - .../types/contacts_ResolvedPeer.md | 22 - .../API_docs_v62/types/contacts_TopPeers.md | 24 - .../API_docs_v62/types/help.AppChangelog.md | 24 + old_docs/API_docs_v62/types/help.AppUpdate.md | 24 + .../API_docs_v62/types/help.InviteText.md | 22 + old_docs/API_docs_v62/types/help.Support.md | 22 + .../API_docs_v62/types/help.TermsOfService.md | 22 + .../API_docs_v62/types/help_AppChangelog.md | 24 - old_docs/API_docs_v62/types/help_AppUpdate.md | 24 - .../API_docs_v62/types/help_InviteText.md | 22 - old_docs/API_docs_v62/types/help_Support.md | 22 - .../API_docs_v62/types/help_TermsOfService.md | 22 - .../types/messages.AffectedHistory.md | 24 + .../types/messages.AffectedMessages.md | 28 ++ .../types/messages.AllStickers.md | 26 ++ .../types/messages.ArchivedStickers.md | 22 + .../types/messages.BotCallbackAnswer.md | 22 + .../API_docs_v62/types/messages.BotResults.md | 22 + .../API_docs_v62/types/messages.ChatFull.md | 24 + old_docs/API_docs_v62/types/messages.Chats.md | 32 ++ .../API_docs_v62/types/messages.DhConfig.md | 24 + .../API_docs_v62/types/messages.Dialogs.md | 24 + .../types/messages.FeaturedStickers.md | 24 + .../API_docs_v62/types/messages.FoundGifs.md | 22 + .../API_docs_v62/types/messages.HighScores.md | 24 + .../types/messages.MessageEditData.md | 22 + .../API_docs_v62/types/messages.Messages.md | 34 ++ .../types/messages.PeerDialogs.md | 24 + .../types/messages.RecentStickers.md | 24 + .../API_docs_v62/types/messages.SavedGifs.md | 24 + .../types/messages.SentEncryptedMessage.md | 28 ++ .../API_docs_v62/types/messages.StickerSet.md | 22 + .../types/messages.StickerSetInstallResult.md | 24 + .../API_docs_v62/types/messages.Stickers.md | 22 + .../types/messages_AffectedHistory.md | 24 - .../types/messages_AffectedMessages.md | 28 -- .../types/messages_AllStickers.md | 26 -- .../types/messages_ArchivedStickers.md | 22 - .../types/messages_BotCallbackAnswer.md | 22 - .../API_docs_v62/types/messages_BotResults.md | 22 - .../API_docs_v62/types/messages_ChatFull.md | 24 - old_docs/API_docs_v62/types/messages_Chats.md | 32 -- .../API_docs_v62/types/messages_DhConfig.md | 24 - .../API_docs_v62/types/messages_Dialogs.md | 24 - .../types/messages_FeaturedStickers.md | 24 - .../API_docs_v62/types/messages_FoundGifs.md | 22 - .../API_docs_v62/types/messages_HighScores.md | 24 - .../types/messages_MessageEditData.md | 22 - .../API_docs_v62/types/messages_Messages.md | 34 -- .../types/messages_PeerDialogs.md | 24 - .../types/messages_RecentStickers.md | 24 - .../API_docs_v62/types/messages_SavedGifs.md | 24 - .../types/messages_SentEncryptedMessage.md | 28 -- .../API_docs_v62/types/messages_StickerSet.md | 22 - .../types/messages_StickerSetInstallResult.md | 24 - .../API_docs_v62/types/messages_Stickers.md | 22 - .../API_docs_v62/types/phone.PhoneCall.md | 24 + .../API_docs_v62/types/phone_PhoneCall.md | 24 - old_docs/API_docs_v62/types/photos.Photo.md | 22 + old_docs/API_docs_v62/types/photos.Photos.md | 24 + old_docs/API_docs_v62/types/photos_Photo.md | 22 - old_docs/API_docs_v62/types/photos_Photos.md | 24 - .../API_docs_v62/types/storage.FileType.md | 38 ++ .../API_docs_v62/types/storage_FileType.md | 38 -- .../types/updates.ChannelDifference.md | 26 ++ .../API_docs_v62/types/updates.Difference.md | 28 ++ old_docs/API_docs_v62/types/updates.State.md | 22 + .../types/updates_ChannelDifference.md | 26 -- .../API_docs_v62/types/updates_Difference.md | 28 -- old_docs/API_docs_v62/types/updates_State.md | 22 - old_docs/API_docs_v62/types/upload.File.md | 22 + old_docs/API_docs_v62/types/upload_File.md | 22 - old_docs/API_docs_v65/constructors/README.md | 322 ++++++++----- .../constructors/account.authorizations.md | 38 ++ .../constructors/account.noPassword.md | 39 ++ .../constructors/account.password.md | 42 ++ .../account.passwordInputSettings.md | 41 ++ .../constructors/account.passwordSettings.md | 38 ++ .../constructors/account.privacyRules.md | 39 ++ .../constructors/account.tmpPassword.md | 39 ++ .../constructors/account_authorizations.md | 38 -- .../constructors/account_noPassword.md | 39 -- .../constructors/account_password.md | 42 -- .../account_passwordInputSettings.md | 41 -- .../constructors/account_passwordSettings.md | 38 -- .../constructors/account_privacyRules.md | 39 -- .../constructors/account_tmpPassword.md | 39 -- .../constructors/auth.authorization.md | 39 ++ .../constructors/auth.checkedPhone.md | 38 ++ .../constructors/auth.codeTypeCall.md | 33 ++ .../constructors/auth.codeTypeFlashCall.md | 33 ++ .../constructors/auth.codeTypeSms.md | 33 ++ .../auth.exportedAuthorization.md | 39 ++ .../constructors/auth.passwordRecovery.md | 38 ++ .../constructors/auth.sentCode.md | 42 ++ .../constructors/auth.sentCodeTypeApp.md | 38 ++ .../constructors/auth.sentCodeTypeCall.md | 38 ++ .../auth.sentCodeTypeFlashCall.md | 38 ++ .../constructors/auth.sentCodeTypeSms.md | 38 ++ .../constructors/auth_authorization.md | 39 -- .../constructors/auth_checkedPhone.md | 38 -- .../constructors/auth_codeTypeCall.md | 33 -- .../constructors/auth_codeTypeFlashCall.md | 33 -- .../constructors/auth_codeTypeSms.md | 33 -- .../auth_exportedAuthorization.md | 39 -- .../constructors/auth_passwordRecovery.md | 38 -- .../constructors/auth_sentCode.md | 42 -- .../constructors/auth_sentCodeTypeApp.md | 38 -- .../constructors/auth_sentCodeTypeCall.md | 38 -- .../auth_sentCodeTypeFlashCall.md | 38 -- .../constructors/auth_sentCodeTypeSms.md | 38 -- .../channels.channelParticipant.md | 39 ++ .../channels.channelParticipants.md | 40 ++ .../channels_channelParticipant.md | 39 -- .../channels_channelParticipants.md | 40 -- .../constructors/contacts.blocked.md | 39 ++ .../constructors/contacts.blockedSlice.md | 40 ++ .../constructors/contacts.contacts.md | 39 ++ .../contacts.contactsNotModified.md | 33 ++ .../constructors/contacts.found.md | 40 ++ .../constructors/contacts.importedContacts.md | 40 ++ .../constructors/contacts.link.md | 40 ++ .../constructors/contacts.resolvedPeer.md | 40 ++ .../constructors/contacts.topPeers.md | 40 ++ .../contacts.topPeersNotModified.md | 33 ++ .../constructors/contacts_blocked.md | 39 -- .../constructors/contacts_blockedSlice.md | 40 -- .../constructors/contacts_contacts.md | 39 -- .../contacts_contactsNotModified.md | 33 -- .../constructors/contacts_found.md | 40 -- .../constructors/contacts_importedContacts.md | 40 -- .../constructors/contacts_link.md | 40 -- .../constructors/contacts_resolvedPeer.md | 40 -- .../constructors/contacts_topPeers.md | 40 -- .../contacts_topPeersNotModified.md | 33 -- .../constructors/help.appUpdate.md | 41 ++ .../constructors/help.inviteText.md | 38 ++ .../constructors/help.noAppUpdate.md | 33 ++ .../API_docs_v65/constructors/help.support.md | 39 ++ .../constructors/help.termsOfService.md | 38 ++ .../constructors/help_appUpdate.md | 41 -- .../constructors/help_inviteText.md | 38 -- .../constructors/help_noAppUpdate.md | 33 -- .../API_docs_v65/constructors/help_support.md | 39 -- .../constructors/help_termsOfService.md | 38 -- .../constructors/messages.affectedHistory.md | 40 ++ .../constructors/messages.affectedMessages.md | 39 ++ .../constructors/messages.allStickers.md | 39 ++ .../messages.allStickersNotModified.md | 33 ++ .../constructors/messages.archivedStickers.md | 39 ++ .../messages.botCallbackAnswer.md | 42 ++ .../constructors/messages.botResults.md | 43 ++ .../constructors/messages.channelMessages.md | 42 ++ .../constructors/messages.chatFull.md | 40 ++ .../constructors/messages.chats.md | 38 ++ .../constructors/messages.chatsSlice.md | 39 ++ .../constructors/messages.dhConfig.md | 41 ++ .../messages.dhConfigNotModified.md | 38 ++ .../constructors/messages.dialogs.md | 41 ++ .../constructors/messages.dialogsSlice.md | 42 ++ .../constructors/messages.featuredStickers.md | 40 ++ .../messages.featuredStickersNotModified.md | 33 ++ .../constructors/messages.foundGifs.md | 39 ++ .../constructors/messages.highScores.md | 39 ++ .../constructors/messages.messageEditData.md | 38 ++ .../constructors/messages.messages.md | 40 ++ .../constructors/messages.messagesSlice.md | 41 ++ .../constructors/messages.peerDialogs.md | 42 ++ .../constructors/messages.recentStickers.md | 39 ++ .../messages.recentStickersNotModified.md | 33 ++ .../constructors/messages.savedGifs.md | 39 ++ .../messages.savedGifsNotModified.md | 33 ++ .../messages.sentEncryptedFile.md | 39 ++ .../messages.sentEncryptedMessage.md | 38 ++ .../constructors/messages.stickerSet.md | 40 ++ ...messages.stickerSetInstallResultArchive.md | 38 ++ ...messages.stickerSetInstallResultSuccess.md | 33 ++ .../constructors/messages.stickers.md | 39 ++ .../messages.stickersNotModified.md | 33 ++ .../constructors/messages_affectedHistory.md | 40 -- .../constructors/messages_affectedMessages.md | 39 -- .../constructors/messages_allStickers.md | 39 -- .../messages_allStickersNotModified.md | 33 -- .../constructors/messages_archivedStickers.md | 39 -- .../messages_botCallbackAnswer.md | 42 -- .../constructors/messages_botResults.md | 43 -- .../constructors/messages_channelMessages.md | 42 -- .../constructors/messages_chatFull.md | 40 -- .../constructors/messages_chats.md | 38 -- .../constructors/messages_chatsSlice.md | 39 -- .../constructors/messages_dhConfig.md | 41 -- .../messages_dhConfigNotModified.md | 38 -- .../constructors/messages_dialogs.md | 41 -- .../constructors/messages_dialogsSlice.md | 42 -- .../constructors/messages_featuredStickers.md | 40 -- .../messages_featuredStickersNotModified.md | 33 -- .../constructors/messages_foundGifs.md | 39 -- .../constructors/messages_highScores.md | 39 -- .../constructors/messages_messageEditData.md | 38 -- .../constructors/messages_messages.md | 40 -- .../constructors/messages_messagesSlice.md | 41 -- .../constructors/messages_peerDialogs.md | 42 -- .../constructors/messages_recentStickers.md | 39 -- .../messages_recentStickersNotModified.md | 33 -- .../constructors/messages_savedGifs.md | 39 -- .../messages_savedGifsNotModified.md | 33 -- .../messages_sentEncryptedFile.md | 39 -- .../messages_sentEncryptedMessage.md | 38 -- .../constructors/messages_stickerSet.md | 40 -- ...messages_stickerSetInstallResultArchive.md | 38 -- ...messages_stickerSetInstallResultSuccess.md | 33 -- .../constructors/messages_stickers.md | 39 -- .../messages_stickersNotModified.md | 33 -- .../constructors/payments.paymentForm.md | 48 ++ .../constructors/payments.paymentReceipt.md | 47 ++ .../constructors/payments.paymentResult.md | 38 ++ .../payments.paymentVerficationNeeded.md | 38 ++ .../constructors/payments.savedInfo.md | 39 ++ .../payments.validatedRequestedInfo.md | 39 ++ .../constructors/payments_paymentForm.md | 48 -- .../constructors/payments_paymentReceipt.md | 47 -- .../constructors/payments_paymentResult.md | 38 -- .../payments_paymentVerficationNeeded.md | 38 -- .../constructors/payments_savedInfo.md | 39 -- .../payments_validatedRequestedInfo.md | 39 -- .../constructors/phone.phoneCall.md | 39 ++ .../constructors/phone_phoneCall.md | 39 -- .../API_docs_v65/constructors/photos.photo.md | 39 ++ .../constructors/photos.photos.md | 39 ++ .../constructors/photos.photosSlice.md | 40 ++ .../API_docs_v65/constructors/photos_photo.md | 39 -- .../constructors/photos_photos.md | 39 -- .../constructors/photos_photosSlice.md | 40 -- .../constructors/storage.fileGif.md | 33 ++ .../constructors/storage.fileJpeg.md | 33 ++ .../constructors/storage.fileMov.md | 33 ++ .../constructors/storage.fileMp3.md | 33 ++ .../constructors/storage.fileMp4.md | 33 ++ .../constructors/storage.filePartial.md | 33 ++ .../constructors/storage.filePdf.md | 33 ++ .../constructors/storage.filePng.md | 33 ++ .../constructors/storage.fileUnknown.md | 33 ++ .../constructors/storage.fileWebp.md | 33 ++ .../constructors/storage_fileGif.md | 33 -- .../constructors/storage_fileJpeg.md | 33 -- .../constructors/storage_fileMov.md | 33 -- .../constructors/storage_fileMp3.md | 33 -- .../constructors/storage_fileMp4.md | 33 -- .../constructors/storage_filePartial.md | 33 -- .../constructors/storage_filePdf.md | 33 -- .../constructors/storage_filePng.md | 33 -- .../constructors/storage_fileUnknown.md | 33 -- .../constructors/storage_fileWebp.md | 33 -- .../constructors/updateNewStickerSet.md | 6 +- .../constructors/updates.channelDifference.md | 44 ++ .../updates.channelDifferenceEmpty.md | 40 ++ .../updates.channelDifferenceTooLong.md | 57 +++ .../constructors/updates.difference.md | 43 ++ .../constructors/updates.differenceEmpty.md | 39 ++ .../constructors/updates.differenceSlice.md | 43 ++ .../constructors/updates.differenceTooLong.md | 38 ++ .../constructors/updates.state.md | 42 ++ .../constructors/updates_channelDifference.md | 44 -- .../updates_channelDifferenceEmpty.md | 40 -- .../updates_channelDifferenceTooLong.md | 57 --- .../constructors/updates_difference.md | 43 -- .../constructors/updates_differenceEmpty.md | 39 -- .../constructors/updates_differenceSlice.md | 43 -- .../constructors/updates_differenceTooLong.md | 38 -- .../constructors/updates_state.md | 42 -- .../API_docs_v65/constructors/upload.file.md | 40 ++ .../constructors/upload.webFile.md | 42 ++ .../API_docs_v65/constructors/upload_file.md | 40 -- .../constructors/upload_webFile.md | 42 -- .../API_docs_v65/constructors/userFull.md | 6 +- .../methods/account.getAuthorizations.md | 6 +- .../methods/account.getPassword.md | 6 +- .../methods/account.getPasswordSettings.md | 6 +- .../methods/account.getPrivacy.md | 6 +- .../methods/account.getTmpPassword.md | 6 +- .../methods/account.sendChangePhoneCode.md | 6 +- .../methods/account.sendConfirmPhoneCode.md | 6 +- .../methods/account.setPrivacy.md | 6 +- old_docs/API_docs_v65/methods/api_README.md | 172 +++---- .../methods/auth.checkPassword.md | 6 +- .../API_docs_v65/methods/auth.checkPhone.md | 6 +- .../methods/auth.exportAuthorization.md | 6 +- .../methods/auth.importAuthorization.md | 6 +- .../methods/auth.importBotAuthorization.md | 6 +- .../methods/auth.recoverPassword.md | 6 +- .../methods/auth.requestPasswordRecovery.md | 6 +- .../API_docs_v65/methods/auth.resendCode.md | 6 +- .../API_docs_v65/methods/auth.sendCode.md | 6 +- old_docs/API_docs_v65/methods/auth.signIn.md | 6 +- old_docs/API_docs_v65/methods/auth.signUp.md | 6 +- .../methods/channels.deleteMessages.md | 6 +- .../methods/channels.deleteUserHistory.md | 6 +- .../channels.getAdminedPublicChannels.md | 6 +- .../methods/channels.getChannels.md | 6 +- .../methods/channels.getFullChannel.md | 6 +- .../methods/channels.getMessages.md | 6 +- .../methods/channels.getParticipant.md | 6 +- .../methods/channels.getParticipants.md | 6 +- .../methods/contacts.deleteContact.md | 6 +- .../methods/contacts.getBlocked.md | 6 +- .../methods/contacts.getContacts.md | 6 +- .../methods/contacts.getTopPeers.md | 6 +- .../methods/contacts.importContacts.md | 6 +- .../methods/contacts.resolveUsername.md | 6 +- .../API_docs_v65/methods/contacts.search.md | 6 +- .../API_docs_v65/methods/help.getAppUpdate.md | 6 +- .../methods/help.getInviteText.md | 6 +- .../API_docs_v65/methods/help.getSupport.md | 6 +- .../methods/help.getTermsOfService.md | 6 +- .../methods/messages.deleteHistory.md | 6 +- .../methods/messages.deleteMessages.md | 6 +- .../methods/messages.getAllChats.md | 6 +- .../methods/messages.getAllStickers.md | 6 +- .../methods/messages.getArchivedStickers.md | 6 +- .../methods/messages.getBotCallbackAnswer.md | 6 +- .../API_docs_v65/methods/messages.getChats.md | 6 +- .../methods/messages.getCommonChats.md | 6 +- .../methods/messages.getDhConfig.md | 6 +- .../methods/messages.getDialogs.md | 6 +- .../methods/messages.getFeaturedStickers.md | 6 +- .../methods/messages.getFullChat.md | 6 +- .../methods/messages.getGameHighScores.md | 6 +- .../methods/messages.getHistory.md | 6 +- .../methods/messages.getInlineBotResults.md | 6 +- .../messages.getInlineGameHighScores.md | 6 +- .../methods/messages.getMaskStickers.md | 6 +- .../methods/messages.getMessageEditData.md | 6 +- .../methods/messages.getMessages.md | 6 +- .../methods/messages.getPeerDialogs.md | 6 +- .../methods/messages.getPinnedDialogs.md | 6 +- .../methods/messages.getRecentStickers.md | 6 +- .../methods/messages.getSavedGifs.md | 6 +- .../methods/messages.getStickerSet.md | 6 +- .../methods/messages.installStickerSet.md | 6 +- .../methods/messages.readHistory.md | 6 +- .../methods/messages.readMessageContents.md | 6 +- .../API_docs_v65/methods/messages.search.md | 6 +- .../methods/messages.searchGifs.md | 6 +- .../methods/messages.searchGlobal.md | 6 +- .../methods/messages.sendEncrypted.md | 14 +- .../methods/messages.sendEncryptedFile.md | 14 +- .../methods/messages.sendEncryptedService.md | 14 +- .../methods/payments.getPaymentForm.md | 6 +- .../methods/payments.getPaymentReceipt.md | 6 +- .../methods/payments.getSavedInfo.md | 6 +- .../methods/payments.sendPaymentForm.md | 6 +- .../methods/payments.validateRequestedInfo.md | 6 +- .../API_docs_v65/methods/phone.acceptCall.md | 6 +- .../API_docs_v65/methods/phone.confirmCall.md | 6 +- .../API_docs_v65/methods/phone.requestCall.md | 6 +- .../methods/photos.getUserPhotos.md | 6 +- .../methods/photos.uploadProfilePhoto.md | 6 +- .../methods/updates.getChannelDifference.md | 6 +- .../methods/updates.getDifference.md | 6 +- .../API_docs_v65/methods/updates.getState.md | 6 +- .../API_docs_v65/methods/upload.getFile.md | 6 +- .../API_docs_v65/methods/upload.getWebFile.md | 6 +- old_docs/API_docs_v65/types/AccountDaysTTL.md | 2 +- old_docs/API_docs_v65/types/ChatInvite.md | 2 +- old_docs/API_docs_v65/types/Config.md | 2 +- old_docs/API_docs_v65/types/ContactStatus.md | 2 +- .../API_docs_v65/types/DestroyAuthKeyRes.md | 2 +- .../API_docs_v65/types/DestroySessionRes.md | 2 +- old_docs/API_docs_v65/types/Document.md | 2 +- old_docs/API_docs_v65/types/EncryptedChat.md | 4 +- .../API_docs_v65/types/ExportedChatInvite.md | 4 +- .../API_docs_v65/types/ExportedMessageLink.md | 2 +- old_docs/API_docs_v65/types/FutureSalts.md | 2 +- old_docs/API_docs_v65/types/MessageMedia.md | 2 +- old_docs/API_docs_v65/types/NearestDc.md | 2 +- .../API_docs_v65/types/PeerNotifySettings.md | 2 +- old_docs/API_docs_v65/types/PeerSettings.md | 2 +- old_docs/API_docs_v65/types/Pong.md | 2 +- old_docs/API_docs_v65/types/README.md | 124 ++--- .../types/ReceivedNotifyMessage.md | 2 +- old_docs/API_docs_v65/types/ResPQ.md | 2 +- old_docs/API_docs_v65/types/RpcDropAnswer.md | 2 +- .../API_docs_v65/types/Server_DH_Params.md | 2 +- .../types/Set_client_DH_params_answer.md | 2 +- .../API_docs_v65/types/StickerSetCovered.md | 2 +- old_docs/API_docs_v65/types/Updates.md | 64 +-- old_docs/API_docs_v65/types/User.md | 10 +- old_docs/API_docs_v65/types/UserFull.md | 2 +- .../API_docs_v65/types/UserProfilePhoto.md | 2 +- old_docs/API_docs_v65/types/WallPaper.md | 2 +- old_docs/API_docs_v65/types/WebPage.md | 2 +- .../types/account.Authorizations.md | 22 + .../API_docs_v65/types/account.Password.md | 24 + .../types/account.PasswordInputSettings.md | 20 + .../types/account.PasswordSettings.md | 22 + .../types/account.PrivacyRules.md | 24 + .../API_docs_v65/types/account.TmpPassword.md | 22 + .../types/account_Authorizations.md | 22 - .../API_docs_v65/types/account_Password.md | 24 - .../types/account_PasswordInputSettings.md | 20 - .../types/account_PasswordSettings.md | 22 - .../types/account_PrivacyRules.md | 24 - .../API_docs_v65/types/account_TmpPassword.md | 22 - .../API_docs_v65/types/auth.Authorization.md | 32 ++ .../API_docs_v65/types/auth.CheckedPhone.md | 22 + old_docs/API_docs_v65/types/auth.CodeType.md | 24 + .../types/auth.ExportedAuthorization.md | 22 + .../types/auth.PasswordRecovery.md | 22 + old_docs/API_docs_v65/types/auth.SentCode.md | 28 ++ .../API_docs_v65/types/auth.SentCodeType.md | 26 ++ .../API_docs_v65/types/auth_Authorization.md | 32 -- .../API_docs_v65/types/auth_CheckedPhone.md | 22 - old_docs/API_docs_v65/types/auth_CodeType.md | 24 - .../types/auth_ExportedAuthorization.md | 22 - .../types/auth_PasswordRecovery.md | 22 - old_docs/API_docs_v65/types/auth_SentCode.md | 28 -- .../API_docs_v65/types/auth_SentCodeType.md | 26 -- .../types/channels.ChannelParticipant.md | 22 + .../types/channels.ChannelParticipants.md | 22 + .../types/channels_ChannelParticipant.md | 22 - .../types/channels_ChannelParticipants.md | 22 - .../API_docs_v65/types/contacts.Blocked.md | 24 + .../API_docs_v65/types/contacts.Contacts.md | 24 + old_docs/API_docs_v65/types/contacts.Found.md | 22 + .../types/contacts.ImportedContacts.md | 22 + old_docs/API_docs_v65/types/contacts.Link.md | 22 + .../types/contacts.ResolvedPeer.md | 22 + .../API_docs_v65/types/contacts.TopPeers.md | 24 + .../API_docs_v65/types/contacts_Blocked.md | 24 - .../API_docs_v65/types/contacts_Contacts.md | 24 - old_docs/API_docs_v65/types/contacts_Found.md | 22 - .../types/contacts_ImportedContacts.md | 22 - old_docs/API_docs_v65/types/contacts_Link.md | 22 - .../types/contacts_ResolvedPeer.md | 22 - .../API_docs_v65/types/contacts_TopPeers.md | 24 - old_docs/API_docs_v65/types/help.AppUpdate.md | 24 + .../API_docs_v65/types/help.InviteText.md | 22 + old_docs/API_docs_v65/types/help.Support.md | 22 + .../API_docs_v65/types/help.TermsOfService.md | 22 + old_docs/API_docs_v65/types/help_AppUpdate.md | 24 - .../API_docs_v65/types/help_InviteText.md | 22 - old_docs/API_docs_v65/types/help_Support.md | 22 - .../API_docs_v65/types/help_TermsOfService.md | 22 - .../types/messages.AffectedHistory.md | 24 + .../types/messages.AffectedMessages.md | 28 ++ .../types/messages.AllStickers.md | 26 ++ .../types/messages.ArchivedStickers.md | 22 + .../types/messages.BotCallbackAnswer.md | 22 + .../API_docs_v65/types/messages.BotResults.md | 22 + .../API_docs_v65/types/messages.ChatFull.md | 24 + old_docs/API_docs_v65/types/messages.Chats.md | 32 ++ .../API_docs_v65/types/messages.DhConfig.md | 24 + .../API_docs_v65/types/messages.Dialogs.md | 24 + .../types/messages.FeaturedStickers.md | 24 + .../API_docs_v65/types/messages.FoundGifs.md | 22 + .../API_docs_v65/types/messages.HighScores.md | 24 + .../types/messages.MessageEditData.md | 22 + .../API_docs_v65/types/messages.Messages.md | 34 ++ .../types/messages.PeerDialogs.md | 24 + .../types/messages.RecentStickers.md | 24 + .../API_docs_v65/types/messages.SavedGifs.md | 24 + .../types/messages.SentEncryptedMessage.md | 28 ++ .../API_docs_v65/types/messages.StickerSet.md | 22 + .../types/messages.StickerSetInstallResult.md | 24 + .../API_docs_v65/types/messages.Stickers.md | 22 + .../types/messages_AffectedHistory.md | 24 - .../types/messages_AffectedMessages.md | 28 -- .../types/messages_AllStickers.md | 26 -- .../types/messages_ArchivedStickers.md | 22 - .../types/messages_BotCallbackAnswer.md | 22 - .../API_docs_v65/types/messages_BotResults.md | 22 - .../API_docs_v65/types/messages_ChatFull.md | 24 - old_docs/API_docs_v65/types/messages_Chats.md | 32 -- .../API_docs_v65/types/messages_DhConfig.md | 24 - .../API_docs_v65/types/messages_Dialogs.md | 24 - .../types/messages_FeaturedStickers.md | 24 - .../API_docs_v65/types/messages_FoundGifs.md | 22 - .../API_docs_v65/types/messages_HighScores.md | 24 - .../types/messages_MessageEditData.md | 22 - .../API_docs_v65/types/messages_Messages.md | 34 -- .../types/messages_PeerDialogs.md | 24 - .../types/messages_RecentStickers.md | 24 - .../API_docs_v65/types/messages_SavedGifs.md | 24 - .../types/messages_SentEncryptedMessage.md | 28 -- .../API_docs_v65/types/messages_StickerSet.md | 22 - .../types/messages_StickerSetInstallResult.md | 24 - .../API_docs_v65/types/messages_Stickers.md | 22 - .../types/payments.PaymentForm.md | 22 + .../types/payments.PaymentReceipt.md | 22 + .../types/payments.PaymentResult.md | 24 + .../API_docs_v65/types/payments.SavedInfo.md | 22 + .../types/payments.ValidatedRequestedInfo.md | 22 + .../types/payments_PaymentForm.md | 22 - .../types/payments_PaymentReceipt.md | 22 - .../types/payments_PaymentResult.md | 24 - .../API_docs_v65/types/payments_SavedInfo.md | 22 - .../types/payments_ValidatedRequestedInfo.md | 22 - .../API_docs_v65/types/phone.PhoneCall.md | 26 ++ .../API_docs_v65/types/phone_PhoneCall.md | 26 -- old_docs/API_docs_v65/types/photos.Photo.md | 22 + old_docs/API_docs_v65/types/photos.Photos.md | 24 + old_docs/API_docs_v65/types/photos_Photo.md | 22 - old_docs/API_docs_v65/types/photos_Photos.md | 24 - .../API_docs_v65/types/storage.FileType.md | 38 ++ .../API_docs_v65/types/storage_FileType.md | 38 -- .../types/updates.ChannelDifference.md | 26 ++ .../API_docs_v65/types/updates.Difference.md | 28 ++ old_docs/API_docs_v65/types/updates.State.md | 22 + .../types/updates_ChannelDifference.md | 26 -- .../API_docs_v65/types/updates_Difference.md | 28 -- old_docs/API_docs_v65/types/updates_State.md | 22 - old_docs/API_docs_v65/types/upload.File.md | 22 + old_docs/API_docs_v65/types/upload.WebFile.md | 22 + old_docs/API_docs_v65/types/upload_File.md | 22 - old_docs/API_docs_v65/types/upload_WebFile.md | 22 - old_docs/API_docs_v66/constructors/README.md | 331 ++++++++----- .../constructors/account.authorizations.md | 38 ++ .../constructors/account.noPassword.md | 39 ++ .../constructors/account.password.md | 42 ++ .../account.passwordInputSettings.md | 41 ++ .../constructors/account.passwordSettings.md | 38 ++ .../constructors/account.privacyRules.md | 39 ++ .../constructors/account.tmpPassword.md | 39 ++ .../constructors/account_authorizations.md | 38 -- .../constructors/account_noPassword.md | 39 -- .../constructors/account_password.md | 42 -- .../account_passwordInputSettings.md | 41 -- .../constructors/account_passwordSettings.md | 38 -- .../constructors/account_privacyRules.md | 39 -- .../constructors/account_tmpPassword.md | 39 -- .../constructors/auth.authorization.md | 39 ++ .../constructors/auth.checkedPhone.md | 38 ++ .../constructors/auth.codeTypeCall.md | 33 ++ .../constructors/auth.codeTypeFlashCall.md | 33 ++ .../constructors/auth.codeTypeSms.md | 33 ++ .../auth.exportedAuthorization.md | 39 ++ .../constructors/auth.passwordRecovery.md | 38 ++ .../constructors/auth.sentCode.md | 42 ++ .../constructors/auth.sentCodeTypeApp.md | 38 ++ .../constructors/auth.sentCodeTypeCall.md | 38 ++ .../auth.sentCodeTypeFlashCall.md | 38 ++ .../constructors/auth.sentCodeTypeSms.md | 38 ++ .../constructors/auth_authorization.md | 39 -- .../constructors/auth_checkedPhone.md | 38 -- .../constructors/auth_codeTypeCall.md | 33 -- .../constructors/auth_codeTypeFlashCall.md | 33 -- .../constructors/auth_codeTypeSms.md | 33 -- .../auth_exportedAuthorization.md | 39 -- .../constructors/auth_passwordRecovery.md | 38 -- .../constructors/auth_sentCode.md | 42 -- .../constructors/auth_sentCodeTypeApp.md | 38 -- .../constructors/auth_sentCodeTypeCall.md | 38 -- .../auth_sentCodeTypeFlashCall.md | 38 -- .../constructors/auth_sentCodeTypeSms.md | 38 -- .../channels.channelParticipant.md | 39 ++ .../channels.channelParticipants.md | 40 ++ .../channels_channelParticipant.md | 39 -- .../channels_channelParticipants.md | 40 -- .../constructors/contacts.blocked.md | 39 ++ .../constructors/contacts.blockedSlice.md | 40 ++ .../constructors/contacts.contacts.md | 39 ++ .../contacts.contactsNotModified.md | 33 ++ .../constructors/contacts.found.md | 40 ++ .../constructors/contacts.importedContacts.md | 40 ++ .../constructors/contacts.link.md | 40 ++ .../constructors/contacts.resolvedPeer.md | 40 ++ .../constructors/contacts.topPeers.md | 40 ++ .../contacts.topPeersNotModified.md | 33 ++ .../constructors/contacts_blocked.md | 39 -- .../constructors/contacts_blockedSlice.md | 40 -- .../constructors/contacts_contacts.md | 39 -- .../contacts_contactsNotModified.md | 33 -- .../constructors/contacts_found.md | 40 -- .../constructors/contacts_importedContacts.md | 40 -- .../constructors/contacts_link.md | 40 -- .../constructors/contacts_resolvedPeer.md | 40 -- .../constructors/contacts_topPeers.md | 40 -- .../contacts_topPeersNotModified.md | 33 -- .../constructors/help.appUpdate.md | 41 ++ .../constructors/help.inviteText.md | 38 ++ .../constructors/help.noAppUpdate.md | 33 ++ .../API_docs_v66/constructors/help.support.md | 39 ++ .../constructors/help.termsOfService.md | 38 ++ .../constructors/help_appUpdate.md | 41 -- .../constructors/help_inviteText.md | 38 -- .../constructors/help_noAppUpdate.md | 33 -- .../API_docs_v66/constructors/help_support.md | 39 -- .../constructors/help_termsOfService.md | 38 -- .../constructors/messages.affectedHistory.md | 40 ++ .../constructors/messages.affectedMessages.md | 39 ++ .../constructors/messages.allStickers.md | 39 ++ .../messages.allStickersNotModified.md | 33 ++ .../constructors/messages.archivedStickers.md | 39 ++ .../messages.botCallbackAnswer.md | 42 ++ .../constructors/messages.botResults.md | 43 ++ .../constructors/messages.channelMessages.md | 42 ++ .../constructors/messages.chatFull.md | 40 ++ .../constructors/messages.chats.md | 38 ++ .../constructors/messages.chatsSlice.md | 39 ++ .../constructors/messages.dhConfig.md | 41 ++ .../messages.dhConfigNotModified.md | 38 ++ .../constructors/messages.dialogs.md | 41 ++ .../constructors/messages.dialogsSlice.md | 42 ++ .../constructors/messages.featuredStickers.md | 40 ++ .../messages.featuredStickersNotModified.md | 33 ++ .../constructors/messages.foundGifs.md | 39 ++ .../constructors/messages.highScores.md | 39 ++ .../constructors/messages.messageEditData.md | 38 ++ .../constructors/messages.messages.md | 40 ++ .../constructors/messages.messagesSlice.md | 41 ++ .../constructors/messages.peerDialogs.md | 42 ++ .../constructors/messages.recentStickers.md | 39 ++ .../messages.recentStickersNotModified.md | 33 ++ .../constructors/messages.savedGifs.md | 39 ++ .../messages.savedGifsNotModified.md | 33 ++ .../messages.sentEncryptedFile.md | 39 ++ .../messages.sentEncryptedMessage.md | 38 ++ .../constructors/messages.stickerSet.md | 40 ++ ...messages.stickerSetInstallResultArchive.md | 38 ++ ...messages.stickerSetInstallResultSuccess.md | 33 ++ .../constructors/messages.stickers.md | 39 ++ .../messages.stickersNotModified.md | 33 ++ .../constructors/messages_affectedHistory.md | 40 -- .../constructors/messages_affectedMessages.md | 39 -- .../constructors/messages_allStickers.md | 39 -- .../messages_allStickersNotModified.md | 33 -- .../constructors/messages_archivedStickers.md | 39 -- .../messages_botCallbackAnswer.md | 42 -- .../constructors/messages_botResults.md | 43 -- .../constructors/messages_channelMessages.md | 42 -- .../constructors/messages_chatFull.md | 40 -- .../constructors/messages_chats.md | 38 -- .../constructors/messages_chatsSlice.md | 39 -- .../constructors/messages_dhConfig.md | 41 -- .../messages_dhConfigNotModified.md | 38 -- .../constructors/messages_dialogs.md | 41 -- .../constructors/messages_dialogsSlice.md | 42 -- .../constructors/messages_featuredStickers.md | 40 -- .../messages_featuredStickersNotModified.md | 33 -- .../constructors/messages_foundGifs.md | 39 -- .../constructors/messages_highScores.md | 39 -- .../constructors/messages_messageEditData.md | 38 -- .../constructors/messages_messages.md | 40 -- .../constructors/messages_messagesSlice.md | 41 -- .../constructors/messages_peerDialogs.md | 42 -- .../constructors/messages_recentStickers.md | 39 -- .../messages_recentStickersNotModified.md | 33 -- .../constructors/messages_savedGifs.md | 39 -- .../messages_savedGifsNotModified.md | 33 -- .../messages_sentEncryptedFile.md | 39 -- .../messages_sentEncryptedMessage.md | 38 -- .../constructors/messages_stickerSet.md | 40 -- ...messages_stickerSetInstallResultArchive.md | 38 -- ...messages_stickerSetInstallResultSuccess.md | 33 -- .../constructors/messages_stickers.md | 39 -- .../messages_stickersNotModified.md | 33 -- .../constructors/payments.paymentForm.md | 48 ++ .../constructors/payments.paymentReceipt.md | 47 ++ .../constructors/payments.paymentResult.md | 38 ++ .../payments.paymentVerficationNeeded.md | 38 ++ .../constructors/payments.savedInfo.md | 39 ++ .../payments.validatedRequestedInfo.md | 39 ++ .../constructors/payments_paymentForm.md | 48 -- .../constructors/payments_paymentReceipt.md | 47 -- .../constructors/payments_paymentResult.md | 38 -- .../payments_paymentVerficationNeeded.md | 38 -- .../constructors/payments_savedInfo.md | 39 -- .../payments_validatedRequestedInfo.md | 39 -- .../constructors/phone.phoneCall.md | 39 ++ .../constructors/phone_phoneCall.md | 39 -- .../API_docs_v66/constructors/photos.photo.md | 39 ++ .../constructors/photos.photos.md | 39 ++ .../constructors/photos.photosSlice.md | 40 ++ .../API_docs_v66/constructors/photos_photo.md | 39 -- .../constructors/photos_photos.md | 39 -- .../constructors/photos_photosSlice.md | 40 -- .../constructors/storage.fileGif.md | 33 ++ .../constructors/storage.fileJpeg.md | 33 ++ .../constructors/storage.fileMov.md | 33 ++ .../constructors/storage.fileMp3.md | 33 ++ .../constructors/storage.fileMp4.md | 33 ++ .../constructors/storage.filePartial.md | 33 ++ .../constructors/storage.filePdf.md | 33 ++ .../constructors/storage.filePng.md | 33 ++ .../constructors/storage.fileUnknown.md | 33 ++ .../constructors/storage.fileWebp.md | 33 ++ .../constructors/storage_fileGif.md | 33 -- .../constructors/storage_fileJpeg.md | 33 -- .../constructors/storage_fileMov.md | 33 -- .../constructors/storage_fileMp3.md | 33 -- .../constructors/storage_fileMp4.md | 33 -- .../constructors/storage_filePartial.md | 33 -- .../constructors/storage_filePdf.md | 33 -- .../constructors/storage_filePng.md | 33 -- .../constructors/storage_fileUnknown.md | 33 -- .../constructors/storage_fileWebp.md | 33 -- .../constructors/updateNewStickerSet.md | 6 +- .../constructors/updates.channelDifference.md | 44 ++ .../updates.channelDifferenceEmpty.md | 40 ++ .../updates.channelDifferenceTooLong.md | 57 +++ .../constructors/updates.difference.md | 43 ++ .../constructors/updates.differenceEmpty.md | 39 ++ .../constructors/updates.differenceSlice.md | 43 ++ .../constructors/updates.differenceTooLong.md | 38 ++ .../constructors/updates.state.md | 42 ++ .../constructors/updates_channelDifference.md | 44 -- .../updates_channelDifferenceEmpty.md | 40 -- .../updates_channelDifferenceTooLong.md | 57 --- .../constructors/updates_difference.md | 43 -- .../constructors/updates_differenceEmpty.md | 39 -- .../constructors/updates_differenceSlice.md | 43 -- .../constructors/updates_differenceTooLong.md | 38 -- .../constructors/updates_state.md | 42 -- .../constructors/upload.cdnFile.md | 38 ++ .../upload.cdnFileReuploadNeeded.md | 38 ++ .../API_docs_v66/constructors/upload.file.md | 40 ++ .../constructors/upload.fileCdnRedirect.md | 41 ++ .../constructors/upload.webFile.md | 42 ++ .../constructors/upload_cdnFile.md | 38 -- .../upload_cdnFileReuploadNeeded.md | 38 -- .../API_docs_v66/constructors/upload_file.md | 40 -- .../constructors/upload_fileCdnRedirect.md | 41 -- .../constructors/upload_webFile.md | 42 -- .../API_docs_v66/constructors/userFull.md | 6 +- .../methods/account.getAuthorizations.md | 6 +- .../methods/account.getPassword.md | 6 +- .../methods/account.getPasswordSettings.md | 6 +- .../methods/account.getPrivacy.md | 6 +- .../methods/account.getTmpPassword.md | 6 +- .../methods/account.sendChangePhoneCode.md | 6 +- .../methods/account.sendConfirmPhoneCode.md | 6 +- .../methods/account.setPrivacy.md | 6 +- old_docs/API_docs_v66/methods/api_README.md | 174 +++---- .../methods/auth.checkPassword.md | 6 +- .../API_docs_v66/methods/auth.checkPhone.md | 6 +- .../methods/auth.exportAuthorization.md | 6 +- .../methods/auth.importAuthorization.md | 6 +- .../methods/auth.importBotAuthorization.md | 6 +- .../methods/auth.recoverPassword.md | 6 +- .../methods/auth.requestPasswordRecovery.md | 6 +- .../API_docs_v66/methods/auth.resendCode.md | 6 +- .../API_docs_v66/methods/auth.sendCode.md | 6 +- old_docs/API_docs_v66/methods/auth.signIn.md | 6 +- old_docs/API_docs_v66/methods/auth.signUp.md | 6 +- .../methods/channels.deleteMessages.md | 6 +- .../methods/channels.deleteUserHistory.md | 6 +- .../channels.getAdminedPublicChannels.md | 6 +- .../methods/channels.getChannels.md | 6 +- .../methods/channels.getFullChannel.md | 6 +- .../methods/channels.getMessages.md | 6 +- .../methods/channels.getParticipant.md | 6 +- .../methods/channels.getParticipants.md | 6 +- .../methods/contacts.deleteContact.md | 6 +- .../methods/contacts.getBlocked.md | 6 +- .../methods/contacts.getContacts.md | 6 +- .../methods/contacts.getTopPeers.md | 6 +- .../methods/contacts.importContacts.md | 6 +- .../methods/contacts.resolveUsername.md | 6 +- .../API_docs_v66/methods/contacts.search.md | 6 +- .../API_docs_v66/methods/help.getAppUpdate.md | 6 +- .../methods/help.getInviteText.md | 6 +- .../API_docs_v66/methods/help.getSupport.md | 6 +- .../methods/help.getTermsOfService.md | 6 +- .../methods/messages.deleteHistory.md | 6 +- .../methods/messages.deleteMessages.md | 6 +- .../methods/messages.getAllChats.md | 6 +- .../methods/messages.getAllStickers.md | 6 +- .../methods/messages.getArchivedStickers.md | 6 +- .../methods/messages.getBotCallbackAnswer.md | 6 +- .../API_docs_v66/methods/messages.getChats.md | 6 +- .../methods/messages.getCommonChats.md | 6 +- .../methods/messages.getDhConfig.md | 6 +- .../methods/messages.getDialogs.md | 6 +- .../methods/messages.getFeaturedStickers.md | 6 +- .../methods/messages.getFullChat.md | 6 +- .../methods/messages.getGameHighScores.md | 6 +- .../methods/messages.getHistory.md | 6 +- .../methods/messages.getInlineBotResults.md | 6 +- .../messages.getInlineGameHighScores.md | 6 +- .../methods/messages.getMaskStickers.md | 6 +- .../methods/messages.getMessageEditData.md | 6 +- .../methods/messages.getMessages.md | 6 +- .../methods/messages.getPeerDialogs.md | 6 +- .../methods/messages.getPinnedDialogs.md | 6 +- .../methods/messages.getRecentStickers.md | 6 +- .../methods/messages.getSavedGifs.md | 6 +- .../methods/messages.getStickerSet.md | 6 +- .../methods/messages.installStickerSet.md | 6 +- .../methods/messages.readHistory.md | 6 +- .../methods/messages.readMessageContents.md | 6 +- .../API_docs_v66/methods/messages.search.md | 6 +- .../methods/messages.searchGifs.md | 6 +- .../methods/messages.searchGlobal.md | 6 +- .../methods/messages.sendEncrypted.md | 14 +- .../methods/messages.sendEncryptedFile.md | 14 +- .../methods/messages.sendEncryptedService.md | 14 +- .../methods/payments.getPaymentForm.md | 6 +- .../methods/payments.getPaymentReceipt.md | 6 +- .../methods/payments.getSavedInfo.md | 6 +- .../methods/payments.sendPaymentForm.md | 6 +- .../methods/payments.validateRequestedInfo.md | 6 +- .../API_docs_v66/methods/phone.acceptCall.md | 6 +- .../API_docs_v66/methods/phone.confirmCall.md | 6 +- .../API_docs_v66/methods/phone.requestCall.md | 6 +- .../methods/photos.getUserPhotos.md | 6 +- .../methods/photos.uploadProfilePhoto.md | 6 +- .../methods/updates.getChannelDifference.md | 6 +- .../methods/updates.getDifference.md | 6 +- .../API_docs_v66/methods/updates.getState.md | 6 +- .../API_docs_v66/methods/upload.getCdnFile.md | 6 +- .../API_docs_v66/methods/upload.getFile.md | 6 +- .../API_docs_v66/methods/upload.getWebFile.md | 6 +- old_docs/API_docs_v66/types/AccountDaysTTL.md | 2 +- old_docs/API_docs_v66/types/CdnConfig.md | 2 +- old_docs/API_docs_v66/types/ChatInvite.md | 2 +- old_docs/API_docs_v66/types/Config.md | 2 +- old_docs/API_docs_v66/types/ContactStatus.md | 2 +- .../API_docs_v66/types/DestroyAuthKeyRes.md | 2 +- .../API_docs_v66/types/DestroySessionRes.md | 2 +- old_docs/API_docs_v66/types/Document.md | 2 +- old_docs/API_docs_v66/types/EncryptedChat.md | 4 +- .../API_docs_v66/types/ExportedChatInvite.md | 4 +- .../API_docs_v66/types/ExportedMessageLink.md | 2 +- old_docs/API_docs_v66/types/FutureSalts.md | 2 +- old_docs/API_docs_v66/types/MessageMedia.md | 2 +- old_docs/API_docs_v66/types/NearestDc.md | 2 +- .../API_docs_v66/types/PeerNotifySettings.md | 2 +- old_docs/API_docs_v66/types/PeerSettings.md | 2 +- old_docs/API_docs_v66/types/Pong.md | 2 +- old_docs/API_docs_v66/types/README.md | 126 ++--- .../types/ReceivedNotifyMessage.md | 2 +- old_docs/API_docs_v66/types/ResPQ.md | 2 +- old_docs/API_docs_v66/types/RpcDropAnswer.md | 2 +- .../API_docs_v66/types/Server_DH_Params.md | 2 +- .../types/Set_client_DH_params_answer.md | 2 +- .../API_docs_v66/types/StickerSetCovered.md | 2 +- old_docs/API_docs_v66/types/Updates.md | 64 +-- old_docs/API_docs_v66/types/User.md | 10 +- old_docs/API_docs_v66/types/UserFull.md | 2 +- .../API_docs_v66/types/UserProfilePhoto.md | 2 +- old_docs/API_docs_v66/types/WallPaper.md | 2 +- old_docs/API_docs_v66/types/WebPage.md | 2 +- .../types/account.Authorizations.md | 22 + .../API_docs_v66/types/account.Password.md | 24 + .../types/account.PasswordInputSettings.md | 20 + .../types/account.PasswordSettings.md | 22 + .../types/account.PrivacyRules.md | 24 + .../API_docs_v66/types/account.TmpPassword.md | 22 + .../types/account_Authorizations.md | 22 - .../API_docs_v66/types/account_Password.md | 24 - .../types/account_PasswordInputSettings.md | 20 - .../types/account_PasswordSettings.md | 22 - .../types/account_PrivacyRules.md | 24 - .../API_docs_v66/types/account_TmpPassword.md | 22 - .../API_docs_v66/types/auth.Authorization.md | 32 ++ .../API_docs_v66/types/auth.CheckedPhone.md | 22 + old_docs/API_docs_v66/types/auth.CodeType.md | 24 + .../types/auth.ExportedAuthorization.md | 22 + .../types/auth.PasswordRecovery.md | 22 + old_docs/API_docs_v66/types/auth.SentCode.md | 28 ++ .../API_docs_v66/types/auth.SentCodeType.md | 26 ++ .../API_docs_v66/types/auth_Authorization.md | 32 -- .../API_docs_v66/types/auth_CheckedPhone.md | 22 - old_docs/API_docs_v66/types/auth_CodeType.md | 24 - .../types/auth_ExportedAuthorization.md | 22 - .../types/auth_PasswordRecovery.md | 22 - old_docs/API_docs_v66/types/auth_SentCode.md | 28 -- .../API_docs_v66/types/auth_SentCodeType.md | 26 -- .../types/channels.ChannelParticipant.md | 22 + .../types/channels.ChannelParticipants.md | 22 + .../types/channels_ChannelParticipant.md | 22 - .../types/channels_ChannelParticipants.md | 22 - .../API_docs_v66/types/contacts.Blocked.md | 24 + .../API_docs_v66/types/contacts.Contacts.md | 24 + old_docs/API_docs_v66/types/contacts.Found.md | 22 + .../types/contacts.ImportedContacts.md | 22 + old_docs/API_docs_v66/types/contacts.Link.md | 22 + .../types/contacts.ResolvedPeer.md | 22 + .../API_docs_v66/types/contacts.TopPeers.md | 24 + .../API_docs_v66/types/contacts_Blocked.md | 24 - .../API_docs_v66/types/contacts_Contacts.md | 24 - old_docs/API_docs_v66/types/contacts_Found.md | 22 - .../types/contacts_ImportedContacts.md | 22 - old_docs/API_docs_v66/types/contacts_Link.md | 22 - .../types/contacts_ResolvedPeer.md | 22 - .../API_docs_v66/types/contacts_TopPeers.md | 24 - old_docs/API_docs_v66/types/help.AppUpdate.md | 24 + .../API_docs_v66/types/help.InviteText.md | 22 + old_docs/API_docs_v66/types/help.Support.md | 22 + .../API_docs_v66/types/help.TermsOfService.md | 22 + old_docs/API_docs_v66/types/help_AppUpdate.md | 24 - .../API_docs_v66/types/help_InviteText.md | 22 - old_docs/API_docs_v66/types/help_Support.md | 22 - .../API_docs_v66/types/help_TermsOfService.md | 22 - .../types/messages.AffectedHistory.md | 24 + .../types/messages.AffectedMessages.md | 28 ++ .../types/messages.AllStickers.md | 26 ++ .../types/messages.ArchivedStickers.md | 22 + .../types/messages.BotCallbackAnswer.md | 22 + .../API_docs_v66/types/messages.BotResults.md | 22 + .../API_docs_v66/types/messages.ChatFull.md | 24 + old_docs/API_docs_v66/types/messages.Chats.md | 32 ++ .../API_docs_v66/types/messages.DhConfig.md | 24 + .../API_docs_v66/types/messages.Dialogs.md | 24 + .../types/messages.FeaturedStickers.md | 24 + .../API_docs_v66/types/messages.FoundGifs.md | 22 + .../API_docs_v66/types/messages.HighScores.md | 24 + .../types/messages.MessageEditData.md | 22 + .../API_docs_v66/types/messages.Messages.md | 34 ++ .../types/messages.PeerDialogs.md | 24 + .../types/messages.RecentStickers.md | 24 + .../API_docs_v66/types/messages.SavedGifs.md | 24 + .../types/messages.SentEncryptedMessage.md | 28 ++ .../API_docs_v66/types/messages.StickerSet.md | 22 + .../types/messages.StickerSetInstallResult.md | 24 + .../API_docs_v66/types/messages.Stickers.md | 22 + .../types/messages_AffectedHistory.md | 24 - .../types/messages_AffectedMessages.md | 28 -- .../types/messages_AllStickers.md | 26 -- .../types/messages_ArchivedStickers.md | 22 - .../types/messages_BotCallbackAnswer.md | 22 - .../API_docs_v66/types/messages_BotResults.md | 22 - .../API_docs_v66/types/messages_ChatFull.md | 24 - old_docs/API_docs_v66/types/messages_Chats.md | 32 -- .../API_docs_v66/types/messages_DhConfig.md | 24 - .../API_docs_v66/types/messages_Dialogs.md | 24 - .../types/messages_FeaturedStickers.md | 24 - .../API_docs_v66/types/messages_FoundGifs.md | 22 - .../API_docs_v66/types/messages_HighScores.md | 24 - .../types/messages_MessageEditData.md | 22 - .../API_docs_v66/types/messages_Messages.md | 34 -- .../types/messages_PeerDialogs.md | 24 - .../types/messages_RecentStickers.md | 24 - .../API_docs_v66/types/messages_SavedGifs.md | 24 - .../types/messages_SentEncryptedMessage.md | 28 -- .../API_docs_v66/types/messages_StickerSet.md | 22 - .../types/messages_StickerSetInstallResult.md | 24 - .../API_docs_v66/types/messages_Stickers.md | 22 - .../types/payments.PaymentForm.md | 22 + .../types/payments.PaymentReceipt.md | 22 + .../types/payments.PaymentResult.md | 24 + .../API_docs_v66/types/payments.SavedInfo.md | 22 + .../types/payments.ValidatedRequestedInfo.md | 22 + .../types/payments_PaymentForm.md | 22 - .../types/payments_PaymentReceipt.md | 22 - .../types/payments_PaymentResult.md | 24 - .../API_docs_v66/types/payments_SavedInfo.md | 22 - .../types/payments_ValidatedRequestedInfo.md | 22 - .../API_docs_v66/types/phone.PhoneCall.md | 26 ++ .../API_docs_v66/types/phone_PhoneCall.md | 26 -- old_docs/API_docs_v66/types/photos.Photo.md | 22 + old_docs/API_docs_v66/types/photos.Photos.md | 24 + old_docs/API_docs_v66/types/photos_Photo.md | 22 - old_docs/API_docs_v66/types/photos_Photos.md | 24 - .../API_docs_v66/types/storage.FileType.md | 38 ++ .../API_docs_v66/types/storage_FileType.md | 38 -- .../types/updates.ChannelDifference.md | 26 ++ .../API_docs_v66/types/updates.Difference.md | 28 ++ old_docs/API_docs_v66/types/updates.State.md | 22 + .../types/updates_ChannelDifference.md | 26 -- .../API_docs_v66/types/updates_Difference.md | 28 -- old_docs/API_docs_v66/types/updates_State.md | 22 - old_docs/API_docs_v66/types/upload.CdnFile.md | 24 + old_docs/API_docs_v66/types/upload.File.md | 24 + old_docs/API_docs_v66/types/upload.WebFile.md | 22 + old_docs/API_docs_v66/types/upload_CdnFile.md | 24 - old_docs/API_docs_v66/types/upload_File.md | 24 - old_docs/API_docs_v66/types/upload_WebFile.md | 22 - old_docs/API_docs_v68/constructors/README.md | 337 +++++++++----- .../constructors/account.authorizations.md | 38 ++ .../constructors/account.noPassword.md | 39 ++ .../constructors/account.password.md | 42 ++ .../account.passwordInputSettings.md | 41 ++ .../constructors/account.passwordSettings.md | 38 ++ .../constructors/account.privacyRules.md | 39 ++ .../constructors/account.tmpPassword.md | 39 ++ .../constructors/account_authorizations.md | 38 -- .../constructors/account_noPassword.md | 39 -- .../constructors/account_password.md | 42 -- .../account_passwordInputSettings.md | 41 -- .../constructors/account_passwordSettings.md | 38 -- .../constructors/account_privacyRules.md | 39 -- .../constructors/account_tmpPassword.md | 39 -- .../constructors/auth.authorization.md | 39 ++ .../constructors/auth.checkedPhone.md | 38 ++ .../constructors/auth.codeTypeCall.md | 33 ++ .../constructors/auth.codeTypeFlashCall.md | 33 ++ .../constructors/auth.codeTypeSms.md | 33 ++ .../auth.exportedAuthorization.md | 39 ++ .../constructors/auth.passwordRecovery.md | 38 ++ .../constructors/auth.sentCode.md | 42 ++ .../constructors/auth.sentCodeTypeApp.md | 38 ++ .../constructors/auth.sentCodeTypeCall.md | 38 ++ .../auth.sentCodeTypeFlashCall.md | 38 ++ .../constructors/auth.sentCodeTypeSms.md | 38 ++ .../constructors/auth_authorization.md | 39 -- .../constructors/auth_checkedPhone.md | 38 -- .../constructors/auth_codeTypeCall.md | 33 -- .../constructors/auth_codeTypeFlashCall.md | 33 -- .../constructors/auth_codeTypeSms.md | 33 -- .../auth_exportedAuthorization.md | 39 -- .../constructors/auth_passwordRecovery.md | 38 -- .../constructors/auth_sentCode.md | 42 -- .../constructors/auth_sentCodeTypeApp.md | 38 -- .../constructors/auth_sentCodeTypeCall.md | 38 -- .../auth_sentCodeTypeFlashCall.md | 38 -- .../constructors/auth_sentCodeTypeSms.md | 38 -- .../constructors/channels.adminLogResults.md | 40 ++ .../channels.channelParticipant.md | 39 ++ .../channels.channelParticipants.md | 40 ++ .../constructors/channels_adminLogResults.md | 40 -- .../channels_channelParticipant.md | 39 -- .../channels_channelParticipants.md | 40 -- .../constructors/contacts.blocked.md | 39 ++ .../constructors/contacts.blockedSlice.md | 40 ++ .../constructors/contacts.contacts.md | 39 ++ .../contacts.contactsNotModified.md | 33 ++ .../constructors/contacts.found.md | 40 ++ .../constructors/contacts.importedContacts.md | 40 ++ .../constructors/contacts.link.md | 40 ++ .../constructors/contacts.resolvedPeer.md | 40 ++ .../constructors/contacts.topPeers.md | 40 ++ .../contacts.topPeersNotModified.md | 33 ++ .../constructors/contacts_blocked.md | 39 -- .../constructors/contacts_blockedSlice.md | 40 -- .../constructors/contacts_contacts.md | 39 -- .../contacts_contactsNotModified.md | 33 -- .../constructors/contacts_found.md | 40 -- .../constructors/contacts_importedContacts.md | 40 -- .../constructors/contacts_link.md | 40 -- .../constructors/contacts_resolvedPeer.md | 40 -- .../constructors/contacts_topPeers.md | 40 -- .../contacts_topPeersNotModified.md | 33 -- .../constructors/help.appUpdate.md | 41 ++ .../constructors/help.configSimple.md | 41 ++ .../constructors/help.inviteText.md | 38 ++ .../constructors/help.noAppUpdate.md | 33 ++ .../API_docs_v68/constructors/help.support.md | 39 ++ .../constructors/help.termsOfService.md | 38 ++ .../constructors/help_appUpdate.md | 41 -- .../constructors/help_configSimple.md | 41 -- .../constructors/help_inviteText.md | 38 -- .../constructors/help_noAppUpdate.md | 33 -- .../API_docs_v68/constructors/help_support.md | 39 -- .../constructors/help_termsOfService.md | 38 -- .../constructors/messages.affectedHistory.md | 40 ++ .../constructors/messages.affectedMessages.md | 39 ++ .../constructors/messages.allStickers.md | 39 ++ .../messages.allStickersNotModified.md | 33 ++ .../constructors/messages.archivedStickers.md | 39 ++ .../messages.botCallbackAnswer.md | 42 ++ .../constructors/messages.botResults.md | 43 ++ .../constructors/messages.channelMessages.md | 42 ++ .../constructors/messages.chatFull.md | 40 ++ .../constructors/messages.chats.md | 38 ++ .../constructors/messages.chatsSlice.md | 39 ++ .../constructors/messages.dhConfig.md | 41 ++ .../messages.dhConfigNotModified.md | 38 ++ .../constructors/messages.dialogs.md | 41 ++ .../constructors/messages.dialogsSlice.md | 42 ++ .../constructors/messages.featuredStickers.md | 40 ++ .../messages.featuredStickersNotModified.md | 33 ++ .../constructors/messages.foundGifs.md | 39 ++ .../constructors/messages.highScores.md | 39 ++ .../constructors/messages.messageEditData.md | 38 ++ .../constructors/messages.messages.md | 40 ++ .../constructors/messages.messagesSlice.md | 41 ++ .../constructors/messages.peerDialogs.md | 42 ++ .../constructors/messages.recentStickers.md | 39 ++ .../messages.recentStickersNotModified.md | 33 ++ .../constructors/messages.savedGifs.md | 39 ++ .../messages.savedGifsNotModified.md | 33 ++ .../messages.sentEncryptedFile.md | 39 ++ .../messages.sentEncryptedMessage.md | 38 ++ .../constructors/messages.stickerSet.md | 40 ++ ...messages.stickerSetInstallResultArchive.md | 38 ++ ...messages.stickerSetInstallResultSuccess.md | 33 ++ .../constructors/messages.stickers.md | 39 ++ .../messages.stickersNotModified.md | 33 ++ .../constructors/messages_affectedHistory.md | 40 -- .../constructors/messages_affectedMessages.md | 39 -- .../constructors/messages_allStickers.md | 39 -- .../messages_allStickersNotModified.md | 33 -- .../constructors/messages_archivedStickers.md | 39 -- .../messages_botCallbackAnswer.md | 42 -- .../constructors/messages_botResults.md | 43 -- .../constructors/messages_channelMessages.md | 42 -- .../constructors/messages_chatFull.md | 40 -- .../constructors/messages_chats.md | 38 -- .../constructors/messages_chatsSlice.md | 39 -- .../constructors/messages_dhConfig.md | 41 -- .../messages_dhConfigNotModified.md | 38 -- .../constructors/messages_dialogs.md | 41 -- .../constructors/messages_dialogsSlice.md | 42 -- .../constructors/messages_featuredStickers.md | 40 -- .../messages_featuredStickersNotModified.md | 33 -- .../constructors/messages_foundGifs.md | 39 -- .../constructors/messages_highScores.md | 39 -- .../constructors/messages_messageEditData.md | 38 -- .../constructors/messages_messages.md | 40 -- .../constructors/messages_messagesSlice.md | 41 -- .../constructors/messages_peerDialogs.md | 42 -- .../constructors/messages_recentStickers.md | 39 -- .../messages_recentStickersNotModified.md | 33 -- .../constructors/messages_savedGifs.md | 39 -- .../messages_savedGifsNotModified.md | 33 -- .../messages_sentEncryptedFile.md | 39 -- .../messages_sentEncryptedMessage.md | 38 -- .../constructors/messages_stickerSet.md | 40 -- ...messages_stickerSetInstallResultArchive.md | 38 -- ...messages_stickerSetInstallResultSuccess.md | 33 -- .../constructors/messages_stickers.md | 39 -- .../messages_stickersNotModified.md | 33 -- .../constructors/payments.paymentForm.md | 48 ++ .../constructors/payments.paymentReceipt.md | 47 ++ .../constructors/payments.paymentResult.md | 38 ++ .../payments.paymentVerficationNeeded.md | 38 ++ .../constructors/payments.savedInfo.md | 39 ++ .../payments.validatedRequestedInfo.md | 39 ++ .../constructors/payments_paymentForm.md | 48 -- .../constructors/payments_paymentReceipt.md | 47 -- .../constructors/payments_paymentResult.md | 38 -- .../payments_paymentVerficationNeeded.md | 38 -- .../constructors/payments_savedInfo.md | 39 -- .../payments_validatedRequestedInfo.md | 39 -- .../constructors/phone.phoneCall.md | 39 ++ .../constructors/phone_phoneCall.md | 39 -- .../API_docs_v68/constructors/photos.photo.md | 39 ++ .../constructors/photos.photos.md | 39 ++ .../constructors/photos.photosSlice.md | 40 ++ .../API_docs_v68/constructors/photos_photo.md | 39 -- .../constructors/photos_photos.md | 39 -- .../constructors/photos_photosSlice.md | 40 -- .../constructors/storage.fileGif.md | 33 ++ .../constructors/storage.fileJpeg.md | 33 ++ .../constructors/storage.fileMov.md | 33 ++ .../constructors/storage.fileMp3.md | 33 ++ .../constructors/storage.fileMp4.md | 33 ++ .../constructors/storage.filePartial.md | 33 ++ .../constructors/storage.filePdf.md | 33 ++ .../constructors/storage.filePng.md | 33 ++ .../constructors/storage.fileUnknown.md | 33 ++ .../constructors/storage.fileWebp.md | 33 ++ .../constructors/storage_fileGif.md | 33 -- .../constructors/storage_fileJpeg.md | 33 -- .../constructors/storage_fileMov.md | 33 -- .../constructors/storage_fileMp3.md | 33 -- .../constructors/storage_fileMp4.md | 33 -- .../constructors/storage_filePartial.md | 33 -- .../constructors/storage_filePdf.md | 33 -- .../constructors/storage_filePng.md | 33 -- .../constructors/storage_fileUnknown.md | 33 -- .../constructors/storage_fileWebp.md | 33 -- .../constructors/updateNewStickerSet.md | 6 +- .../constructors/updates.channelDifference.md | 44 ++ .../updates.channelDifferenceEmpty.md | 40 ++ .../updates.channelDifferenceTooLong.md | 57 +++ .../constructors/updates.difference.md | 43 ++ .../constructors/updates.differenceEmpty.md | 39 ++ .../constructors/updates.differenceSlice.md | 43 ++ .../constructors/updates.differenceTooLong.md | 38 ++ .../constructors/updates.state.md | 42 ++ .../constructors/updates_channelDifference.md | 44 -- .../updates_channelDifferenceEmpty.md | 40 -- .../updates_channelDifferenceTooLong.md | 57 --- .../constructors/updates_difference.md | 43 -- .../constructors/updates_differenceEmpty.md | 39 -- .../constructors/updates_differenceSlice.md | 43 -- .../constructors/updates_differenceTooLong.md | 38 -- .../constructors/updates_state.md | 42 -- .../constructors/upload.cdnFile.md | 38 ++ .../upload.cdnFileReuploadNeeded.md | 38 ++ .../API_docs_v68/constructors/upload.file.md | 40 ++ .../constructors/upload.fileCdnRedirect.md | 41 ++ .../constructors/upload.webFile.md | 42 ++ .../constructors/upload_cdnFile.md | 38 -- .../upload_cdnFileReuploadNeeded.md | 38 -- .../API_docs_v68/constructors/upload_file.md | 40 -- .../constructors/upload_fileCdnRedirect.md | 41 -- .../constructors/upload_webFile.md | 42 -- .../API_docs_v68/constructors/userFull.md | 6 +- .../methods/account.getAuthorizations.md | 6 +- .../methods/account.getPassword.md | 6 +- .../methods/account.getPasswordSettings.md | 6 +- .../methods/account.getPrivacy.md | 6 +- .../methods/account.getTmpPassword.md | 6 +- .../methods/account.sendChangePhoneCode.md | 6 +- .../methods/account.sendConfirmPhoneCode.md | 6 +- .../methods/account.setPrivacy.md | 6 +- old_docs/API_docs_v68/methods/api_README.md | 180 ++++---- .../methods/auth.checkPassword.md | 6 +- .../API_docs_v68/methods/auth.checkPhone.md | 6 +- .../methods/auth.exportAuthorization.md | 6 +- .../methods/auth.importAuthorization.md | 6 +- .../methods/auth.importBotAuthorization.md | 6 +- .../methods/auth.recoverPassword.md | 6 +- .../methods/auth.requestPasswordRecovery.md | 6 +- .../API_docs_v68/methods/auth.resendCode.md | 6 +- .../API_docs_v68/methods/auth.sendCode.md | 6 +- old_docs/API_docs_v68/methods/auth.signIn.md | 6 +- old_docs/API_docs_v68/methods/auth.signUp.md | 6 +- .../methods/channels.deleteMessages.md | 6 +- .../methods/channels.deleteUserHistory.md | 6 +- .../methods/channels.getAdminLog.md | 6 +- .../channels.getAdminedPublicChannels.md | 6 +- .../methods/channels.getChannels.md | 6 +- .../methods/channels.getFullChannel.md | 6 +- .../methods/channels.getMessages.md | 6 +- .../methods/channels.getParticipant.md | 6 +- .../methods/channels.getParticipants.md | 6 +- .../methods/contacts.deleteContact.md | 6 +- .../methods/contacts.getBlocked.md | 6 +- .../methods/contacts.getContacts.md | 6 +- .../methods/contacts.getTopPeers.md | 6 +- .../methods/contacts.importContacts.md | 6 +- .../methods/contacts.resolveUsername.md | 6 +- .../API_docs_v68/methods/contacts.search.md | 6 +- .../API_docs_v68/methods/help.getAppUpdate.md | 6 +- .../methods/help.getInviteText.md | 6 +- .../API_docs_v68/methods/help.getSupport.md | 6 +- .../methods/help.getTermsOfService.md | 6 +- .../methods/messages.deleteHistory.md | 6 +- .../methods/messages.deleteMessages.md | 6 +- .../methods/messages.getAllChats.md | 6 +- .../methods/messages.getAllStickers.md | 6 +- .../methods/messages.getArchivedStickers.md | 6 +- .../methods/messages.getBotCallbackAnswer.md | 6 +- .../API_docs_v68/methods/messages.getChats.md | 6 +- .../methods/messages.getCommonChats.md | 6 +- .../methods/messages.getDhConfig.md | 6 +- .../methods/messages.getDialogs.md | 6 +- .../methods/messages.getFeaturedStickers.md | 6 +- .../methods/messages.getFullChat.md | 6 +- .../methods/messages.getGameHighScores.md | 6 +- .../methods/messages.getHistory.md | 6 +- .../methods/messages.getInlineBotResults.md | 6 +- .../messages.getInlineGameHighScores.md | 6 +- .../methods/messages.getMaskStickers.md | 6 +- .../methods/messages.getMessageEditData.md | 6 +- .../methods/messages.getMessages.md | 6 +- .../methods/messages.getPeerDialogs.md | 6 +- .../methods/messages.getPinnedDialogs.md | 6 +- .../methods/messages.getRecentStickers.md | 6 +- .../methods/messages.getSavedGifs.md | 6 +- .../methods/messages.getStickerSet.md | 6 +- .../methods/messages.installStickerSet.md | 6 +- .../methods/messages.readHistory.md | 6 +- .../methods/messages.readMessageContents.md | 6 +- .../API_docs_v68/methods/messages.search.md | 6 +- .../methods/messages.searchGifs.md | 6 +- .../methods/messages.searchGlobal.md | 6 +- .../methods/messages.sendEncrypted.md | 14 +- .../methods/messages.sendEncryptedFile.md | 14 +- .../methods/messages.sendEncryptedService.md | 14 +- .../methods/payments.getPaymentForm.md | 6 +- .../methods/payments.getPaymentReceipt.md | 6 +- .../methods/payments.getSavedInfo.md | 6 +- .../methods/payments.sendPaymentForm.md | 6 +- .../methods/payments.validateRequestedInfo.md | 6 +- .../API_docs_v68/methods/phone.acceptCall.md | 6 +- .../API_docs_v68/methods/phone.confirmCall.md | 6 +- .../API_docs_v68/methods/phone.requestCall.md | 6 +- .../methods/photos.getUserPhotos.md | 6 +- .../methods/photos.uploadProfilePhoto.md | 6 +- .../methods/stickers.addStickerToSet.md | 6 +- .../methods/stickers.createStickerSet.md | 6 +- .../methods/updates.getChannelDifference.md | 6 +- .../methods/updates.getDifference.md | 6 +- .../API_docs_v68/methods/updates.getState.md | 6 +- .../API_docs_v68/methods/upload.getCdnFile.md | 6 +- .../API_docs_v68/methods/upload.getFile.md | 6 +- .../API_docs_v68/methods/upload.getWebFile.md | 6 +- old_docs/API_docs_v68/types/AccountDaysTTL.md | 2 +- old_docs/API_docs_v68/types/CdnConfig.md | 2 +- old_docs/API_docs_v68/types/ChatInvite.md | 2 +- old_docs/API_docs_v68/types/Config.md | 2 +- old_docs/API_docs_v68/types/ContactStatus.md | 2 +- .../API_docs_v68/types/DestroyAuthKeyRes.md | 2 +- .../API_docs_v68/types/DestroySessionRes.md | 2 +- old_docs/API_docs_v68/types/Document.md | 2 +- old_docs/API_docs_v68/types/EncryptedChat.md | 4 +- .../API_docs_v68/types/ExportedChatInvite.md | 4 +- .../API_docs_v68/types/ExportedMessageLink.md | 2 +- old_docs/API_docs_v68/types/FutureSalts.md | 2 +- .../API_docs_v68/types/LangPackDifference.md | 4 +- .../API_docs_v68/types/LangPackLanguage.md | 2 +- old_docs/API_docs_v68/types/LangPackString.md | 2 +- old_docs/API_docs_v68/types/MessageMedia.md | 4 +- old_docs/API_docs_v68/types/NearestDc.md | 2 +- .../API_docs_v68/types/PeerNotifySettings.md | 2 +- old_docs/API_docs_v68/types/PeerSettings.md | 2 +- old_docs/API_docs_v68/types/Pong.md | 2 +- old_docs/API_docs_v68/types/README.md | 130 +++--- .../types/ReceivedNotifyMessage.md | 2 +- old_docs/API_docs_v68/types/ResPQ.md | 2 +- old_docs/API_docs_v68/types/RpcDropAnswer.md | 2 +- .../API_docs_v68/types/Server_DH_Params.md | 2 +- .../types/Set_client_DH_params_answer.md | 2 +- .../API_docs_v68/types/StickerSetCovered.md | 2 +- old_docs/API_docs_v68/types/Updates.md | 64 +-- old_docs/API_docs_v68/types/User.md | 10 +- old_docs/API_docs_v68/types/UserFull.md | 2 +- .../API_docs_v68/types/UserProfilePhoto.md | 2 +- old_docs/API_docs_v68/types/WallPaper.md | 2 +- old_docs/API_docs_v68/types/WebPage.md | 2 +- .../types/account.Authorizations.md | 22 + .../API_docs_v68/types/account.Password.md | 24 + .../types/account.PasswordInputSettings.md | 20 + .../types/account.PasswordSettings.md | 22 + .../types/account.PrivacyRules.md | 24 + .../API_docs_v68/types/account.TmpPassword.md | 22 + .../types/account_Authorizations.md | 22 - .../API_docs_v68/types/account_Password.md | 24 - .../types/account_PasswordInputSettings.md | 20 - .../types/account_PasswordSettings.md | 22 - .../types/account_PrivacyRules.md | 24 - .../API_docs_v68/types/account_TmpPassword.md | 22 - .../API_docs_v68/types/auth.Authorization.md | 32 ++ .../API_docs_v68/types/auth.CheckedPhone.md | 22 + old_docs/API_docs_v68/types/auth.CodeType.md | 24 + .../types/auth.ExportedAuthorization.md | 22 + .../types/auth.PasswordRecovery.md | 22 + old_docs/API_docs_v68/types/auth.SentCode.md | 28 ++ .../API_docs_v68/types/auth.SentCodeType.md | 26 ++ .../API_docs_v68/types/auth_Authorization.md | 32 -- .../API_docs_v68/types/auth_CheckedPhone.md | 22 - old_docs/API_docs_v68/types/auth_CodeType.md | 24 - .../types/auth_ExportedAuthorization.md | 22 - .../types/auth_PasswordRecovery.md | 22 - old_docs/API_docs_v68/types/auth_SentCode.md | 28 -- .../API_docs_v68/types/auth_SentCodeType.md | 26 -- .../types/channels.AdminLogResults.md | 22 + .../types/channels.ChannelParticipant.md | 22 + .../types/channels.ChannelParticipants.md | 22 + .../types/channels_AdminLogResults.md | 22 - .../types/channels_ChannelParticipant.md | 22 - .../types/channels_ChannelParticipants.md | 22 - .../API_docs_v68/types/contacts.Blocked.md | 24 + .../API_docs_v68/types/contacts.Contacts.md | 24 + old_docs/API_docs_v68/types/contacts.Found.md | 22 + .../types/contacts.ImportedContacts.md | 22 + old_docs/API_docs_v68/types/contacts.Link.md | 22 + .../types/contacts.ResolvedPeer.md | 22 + .../API_docs_v68/types/contacts.TopPeers.md | 24 + .../API_docs_v68/types/contacts_Blocked.md | 24 - .../API_docs_v68/types/contacts_Contacts.md | 24 - old_docs/API_docs_v68/types/contacts_Found.md | 22 - .../types/contacts_ImportedContacts.md | 22 - old_docs/API_docs_v68/types/contacts_Link.md | 22 - .../types/contacts_ResolvedPeer.md | 22 - .../API_docs_v68/types/contacts_TopPeers.md | 24 - old_docs/API_docs_v68/types/help.AppUpdate.md | 24 + .../API_docs_v68/types/help.ConfigSimple.md | 20 + .../API_docs_v68/types/help.InviteText.md | 22 + old_docs/API_docs_v68/types/help.Support.md | 22 + .../API_docs_v68/types/help.TermsOfService.md | 22 + old_docs/API_docs_v68/types/help_AppUpdate.md | 24 - .../API_docs_v68/types/help_ConfigSimple.md | 20 - .../API_docs_v68/types/help_InviteText.md | 22 - old_docs/API_docs_v68/types/help_Support.md | 22 - .../API_docs_v68/types/help_TermsOfService.md | 22 - .../types/messages.AffectedHistory.md | 24 + .../types/messages.AffectedMessages.md | 28 ++ .../types/messages.AllStickers.md | 26 ++ .../types/messages.ArchivedStickers.md | 22 + .../types/messages.BotCallbackAnswer.md | 22 + .../API_docs_v68/types/messages.BotResults.md | 22 + .../API_docs_v68/types/messages.ChatFull.md | 24 + old_docs/API_docs_v68/types/messages.Chats.md | 32 ++ .../API_docs_v68/types/messages.DhConfig.md | 24 + .../API_docs_v68/types/messages.Dialogs.md | 24 + .../types/messages.FeaturedStickers.md | 24 + .../API_docs_v68/types/messages.FoundGifs.md | 22 + .../API_docs_v68/types/messages.HighScores.md | 24 + .../types/messages.MessageEditData.md | 22 + .../API_docs_v68/types/messages.Messages.md | 34 ++ .../types/messages.PeerDialogs.md | 24 + .../types/messages.RecentStickers.md | 24 + .../API_docs_v68/types/messages.SavedGifs.md | 24 + .../types/messages.SentEncryptedMessage.md | 28 ++ .../API_docs_v68/types/messages.StickerSet.md | 26 ++ .../types/messages.StickerSetInstallResult.md | 24 + .../API_docs_v68/types/messages.Stickers.md | 22 + .../types/messages_AffectedHistory.md | 24 - .../types/messages_AffectedMessages.md | 28 -- .../types/messages_AllStickers.md | 26 -- .../types/messages_ArchivedStickers.md | 22 - .../types/messages_BotCallbackAnswer.md | 22 - .../API_docs_v68/types/messages_BotResults.md | 22 - .../API_docs_v68/types/messages_ChatFull.md | 24 - old_docs/API_docs_v68/types/messages_Chats.md | 32 -- .../API_docs_v68/types/messages_DhConfig.md | 24 - .../API_docs_v68/types/messages_Dialogs.md | 24 - .../types/messages_FeaturedStickers.md | 24 - .../API_docs_v68/types/messages_FoundGifs.md | 22 - .../API_docs_v68/types/messages_HighScores.md | 24 - .../types/messages_MessageEditData.md | 22 - .../API_docs_v68/types/messages_Messages.md | 34 -- .../types/messages_PeerDialogs.md | 24 - .../types/messages_RecentStickers.md | 24 - .../API_docs_v68/types/messages_SavedGifs.md | 24 - .../types/messages_SentEncryptedMessage.md | 28 -- .../API_docs_v68/types/messages_StickerSet.md | 26 -- .../types/messages_StickerSetInstallResult.md | 24 - .../API_docs_v68/types/messages_Stickers.md | 22 - .../types/payments.PaymentForm.md | 22 + .../types/payments.PaymentReceipt.md | 22 + .../types/payments.PaymentResult.md | 24 + .../API_docs_v68/types/payments.SavedInfo.md | 22 + .../types/payments.ValidatedRequestedInfo.md | 22 + .../types/payments_PaymentForm.md | 22 - .../types/payments_PaymentReceipt.md | 22 - .../types/payments_PaymentResult.md | 24 - .../API_docs_v68/types/payments_SavedInfo.md | 22 - .../types/payments_ValidatedRequestedInfo.md | 22 - .../API_docs_v68/types/phone.PhoneCall.md | 26 ++ .../API_docs_v68/types/phone_PhoneCall.md | 26 -- old_docs/API_docs_v68/types/photos.Photo.md | 22 + old_docs/API_docs_v68/types/photos.Photos.md | 24 + old_docs/API_docs_v68/types/photos_Photo.md | 22 - old_docs/API_docs_v68/types/photos_Photos.md | 24 - .../API_docs_v68/types/storage.FileType.md | 38 ++ .../API_docs_v68/types/storage_FileType.md | 38 -- .../types/updates.ChannelDifference.md | 26 ++ .../API_docs_v68/types/updates.Difference.md | 28 ++ old_docs/API_docs_v68/types/updates.State.md | 22 + .../types/updates_ChannelDifference.md | 26 -- .../API_docs_v68/types/updates_Difference.md | 28 -- old_docs/API_docs_v68/types/updates_State.md | 22 - old_docs/API_docs_v68/types/upload.CdnFile.md | 24 + old_docs/API_docs_v68/types/upload.File.md | 24 + old_docs/API_docs_v68/types/upload.WebFile.md | 22 + old_docs/API_docs_v68/types/upload_CdnFile.md | 24 - old_docs/API_docs_v68/types/upload_File.md | 24 - old_docs/API_docs_v68/types/upload_WebFile.md | 22 - old_docs/API_docs_v70/constructors/README.md | 337 +++++++++----- .../constructors/account.authorizations.md | 38 ++ .../constructors/account.noPassword.md | 39 ++ .../constructors/account.password.md | 42 ++ .../account.passwordInputSettings.md | 41 ++ .../constructors/account.passwordSettings.md | 38 ++ .../constructors/account.privacyRules.md | 39 ++ .../constructors/account.tmpPassword.md | 39 ++ .../constructors/account_authorizations.md | 38 -- .../constructors/account_noPassword.md | 39 -- .../constructors/account_password.md | 42 -- .../account_passwordInputSettings.md | 41 -- .../constructors/account_passwordSettings.md | 38 -- .../constructors/account_privacyRules.md | 39 -- .../constructors/account_tmpPassword.md | 39 -- .../constructors/auth.authorization.md | 39 ++ .../constructors/auth.checkedPhone.md | 38 ++ .../constructors/auth.codeTypeCall.md | 33 ++ .../constructors/auth.codeTypeFlashCall.md | 33 ++ .../constructors/auth.codeTypeSms.md | 33 ++ .../auth.exportedAuthorization.md | 39 ++ .../constructors/auth.passwordRecovery.md | 38 ++ .../constructors/auth.sentCode.md | 42 ++ .../constructors/auth.sentCodeTypeApp.md | 38 ++ .../constructors/auth.sentCodeTypeCall.md | 38 ++ .../auth.sentCodeTypeFlashCall.md | 38 ++ .../constructors/auth.sentCodeTypeSms.md | 38 ++ .../constructors/auth_authorization.md | 39 -- .../constructors/auth_checkedPhone.md | 38 -- .../constructors/auth_codeTypeCall.md | 33 -- .../constructors/auth_codeTypeFlashCall.md | 33 -- .../constructors/auth_codeTypeSms.md | 33 -- .../auth_exportedAuthorization.md | 39 -- .../constructors/auth_passwordRecovery.md | 38 -- .../constructors/auth_sentCode.md | 42 -- .../constructors/auth_sentCodeTypeApp.md | 38 -- .../constructors/auth_sentCodeTypeCall.md | 38 -- .../auth_sentCodeTypeFlashCall.md | 38 -- .../constructors/auth_sentCodeTypeSms.md | 38 -- .../constructors/channels.adminLogResults.md | 40 ++ .../channels.channelParticipant.md | 39 ++ .../channels.channelParticipants.md | 40 ++ .../constructors/channels_adminLogResults.md | 40 -- .../channels_channelParticipant.md | 39 -- .../channels_channelParticipants.md | 40 -- .../constructors/contacts.blocked.md | 39 ++ .../constructors/contacts.blockedSlice.md | 40 ++ .../constructors/contacts.contacts.md | 39 ++ .../contacts.contactsNotModified.md | 33 ++ .../constructors/contacts.found.md | 40 ++ .../constructors/contacts.importedContacts.md | 41 ++ .../constructors/contacts.link.md | 40 ++ .../constructors/contacts.resolvedPeer.md | 40 ++ .../constructors/contacts.topPeers.md | 40 ++ .../contacts.topPeersNotModified.md | 33 ++ .../constructors/contacts_blocked.md | 39 -- .../constructors/contacts_blockedSlice.md | 40 -- .../constructors/contacts_contacts.md | 39 -- .../contacts_contactsNotModified.md | 33 -- .../constructors/contacts_found.md | 40 -- .../constructors/contacts_importedContacts.md | 41 -- .../constructors/contacts_link.md | 40 -- .../constructors/contacts_resolvedPeer.md | 40 -- .../constructors/contacts_topPeers.md | 40 -- .../contacts_topPeersNotModified.md | 33 -- .../constructors/help.appUpdate.md | 41 ++ .../constructors/help.configSimple.md | 41 ++ .../constructors/help.inviteText.md | 38 ++ .../constructors/help.noAppUpdate.md | 33 ++ .../API_docs_v70/constructors/help.support.md | 39 ++ .../constructors/help.termsOfService.md | 38 ++ .../constructors/help_appUpdate.md | 41 -- .../constructors/help_configSimple.md | 41 -- .../constructors/help_inviteText.md | 38 -- .../constructors/help_noAppUpdate.md | 33 -- .../API_docs_v70/constructors/help_support.md | 39 -- .../constructors/help_termsOfService.md | 38 -- .../constructors/messages.affectedHistory.md | 40 ++ .../constructors/messages.affectedMessages.md | 39 ++ .../constructors/messages.allStickers.md | 39 ++ .../messages.allStickersNotModified.md | 33 ++ .../constructors/messages.archivedStickers.md | 39 ++ .../messages.botCallbackAnswer.md | 42 ++ .../constructors/messages.botResults.md | 43 ++ .../constructors/messages.channelMessages.md | 42 ++ .../constructors/messages.chatFull.md | 40 ++ .../constructors/messages.chats.md | 38 ++ .../constructors/messages.chatsSlice.md | 39 ++ .../constructors/messages.dhConfig.md | 41 ++ .../messages.dhConfigNotModified.md | 38 ++ .../constructors/messages.dialogs.md | 41 ++ .../constructors/messages.dialogsSlice.md | 42 ++ .../constructors/messages.featuredStickers.md | 40 ++ .../messages.featuredStickersNotModified.md | 33 ++ .../constructors/messages.foundGifs.md | 39 ++ .../constructors/messages.highScores.md | 39 ++ .../constructors/messages.messageEditData.md | 38 ++ .../constructors/messages.messages.md | 40 ++ .../constructors/messages.messagesSlice.md | 41 ++ .../constructors/messages.peerDialogs.md | 42 ++ .../constructors/messages.recentStickers.md | 39 ++ .../messages.recentStickersNotModified.md | 33 ++ .../constructors/messages.savedGifs.md | 39 ++ .../messages.savedGifsNotModified.md | 33 ++ .../messages.sentEncryptedFile.md | 39 ++ .../messages.sentEncryptedMessage.md | 38 ++ .../constructors/messages.stickerSet.md | 40 ++ ...messages.stickerSetInstallResultArchive.md | 38 ++ ...messages.stickerSetInstallResultSuccess.md | 33 ++ .../constructors/messages.stickers.md | 39 ++ .../messages.stickersNotModified.md | 33 ++ .../constructors/messages_affectedHistory.md | 40 -- .../constructors/messages_affectedMessages.md | 39 -- .../constructors/messages_allStickers.md | 39 -- .../messages_allStickersNotModified.md | 33 -- .../constructors/messages_archivedStickers.md | 39 -- .../messages_botCallbackAnswer.md | 42 -- .../constructors/messages_botResults.md | 43 -- .../constructors/messages_channelMessages.md | 42 -- .../constructors/messages_chatFull.md | 40 -- .../constructors/messages_chats.md | 38 -- .../constructors/messages_chatsSlice.md | 39 -- .../constructors/messages_dhConfig.md | 41 -- .../messages_dhConfigNotModified.md | 38 -- .../constructors/messages_dialogs.md | 41 -- .../constructors/messages_dialogsSlice.md | 42 -- .../constructors/messages_featuredStickers.md | 40 -- .../messages_featuredStickersNotModified.md | 33 -- .../constructors/messages_foundGifs.md | 39 -- .../constructors/messages_highScores.md | 39 -- .../constructors/messages_messageEditData.md | 38 -- .../constructors/messages_messages.md | 40 -- .../constructors/messages_messagesSlice.md | 41 -- .../constructors/messages_peerDialogs.md | 42 -- .../constructors/messages_recentStickers.md | 39 -- .../messages_recentStickersNotModified.md | 33 -- .../constructors/messages_savedGifs.md | 39 -- .../messages_savedGifsNotModified.md | 33 -- .../messages_sentEncryptedFile.md | 39 -- .../messages_sentEncryptedMessage.md | 38 -- .../constructors/messages_stickerSet.md | 40 -- ...messages_stickerSetInstallResultArchive.md | 38 -- ...messages_stickerSetInstallResultSuccess.md | 33 -- .../constructors/messages_stickers.md | 39 -- .../messages_stickersNotModified.md | 33 -- .../constructors/payments.paymentForm.md | 48 ++ .../constructors/payments.paymentReceipt.md | 47 ++ .../constructors/payments.paymentResult.md | 38 ++ .../payments.paymentVerficationNeeded.md | 38 ++ .../constructors/payments.savedInfo.md | 39 ++ .../payments.validatedRequestedInfo.md | 39 ++ .../constructors/payments_paymentForm.md | 48 -- .../constructors/payments_paymentReceipt.md | 47 -- .../constructors/payments_paymentResult.md | 38 -- .../payments_paymentVerficationNeeded.md | 38 -- .../constructors/payments_savedInfo.md | 39 -- .../payments_validatedRequestedInfo.md | 39 -- .../constructors/phone.phoneCall.md | 39 ++ .../constructors/phone_phoneCall.md | 39 -- .../API_docs_v70/constructors/photos.photo.md | 39 ++ .../constructors/photos.photos.md | 39 ++ .../constructors/photos.photosSlice.md | 40 ++ .../API_docs_v70/constructors/photos_photo.md | 39 -- .../constructors/photos_photos.md | 39 -- .../constructors/photos_photosSlice.md | 40 -- .../constructors/storage.fileGif.md | 33 ++ .../constructors/storage.fileJpeg.md | 33 ++ .../constructors/storage.fileMov.md | 33 ++ .../constructors/storage.fileMp3.md | 33 ++ .../constructors/storage.fileMp4.md | 33 ++ .../constructors/storage.filePartial.md | 33 ++ .../constructors/storage.filePdf.md | 33 ++ .../constructors/storage.filePng.md | 33 ++ .../constructors/storage.fileUnknown.md | 33 ++ .../constructors/storage.fileWebp.md | 33 ++ .../constructors/storage_fileGif.md | 33 -- .../constructors/storage_fileJpeg.md | 33 -- .../constructors/storage_fileMov.md | 33 -- .../constructors/storage_fileMp3.md | 33 -- .../constructors/storage_fileMp4.md | 33 -- .../constructors/storage_filePartial.md | 33 -- .../constructors/storage_filePdf.md | 33 -- .../constructors/storage_filePng.md | 33 -- .../constructors/storage_fileUnknown.md | 33 -- .../constructors/storage_fileWebp.md | 33 -- .../constructors/updateNewStickerSet.md | 6 +- .../constructors/updates.channelDifference.md | 44 ++ .../updates.channelDifferenceEmpty.md | 40 ++ .../updates.channelDifferenceTooLong.md | 57 +++ .../constructors/updates.difference.md | 43 ++ .../constructors/updates.differenceEmpty.md | 39 ++ .../constructors/updates.differenceSlice.md | 43 ++ .../constructors/updates.differenceTooLong.md | 38 ++ .../constructors/updates.state.md | 42 ++ .../constructors/updates_channelDifference.md | 44 -- .../updates_channelDifferenceEmpty.md | 40 -- .../updates_channelDifferenceTooLong.md | 57 --- .../constructors/updates_difference.md | 43 -- .../constructors/updates_differenceEmpty.md | 39 -- .../constructors/updates_differenceSlice.md | 43 -- .../constructors/updates_differenceTooLong.md | 38 -- .../constructors/updates_state.md | 42 -- .../constructors/upload.cdnFile.md | 38 ++ .../upload.cdnFileReuploadNeeded.md | 38 ++ .../API_docs_v70/constructors/upload.file.md | 40 ++ .../constructors/upload.fileCdnRedirect.md | 42 ++ .../constructors/upload.webFile.md | 42 ++ .../constructors/upload_cdnFile.md | 38 -- .../upload_cdnFileReuploadNeeded.md | 38 -- .../API_docs_v70/constructors/upload_file.md | 40 -- .../constructors/upload_fileCdnRedirect.md | 42 -- .../constructors/upload_webFile.md | 42 -- .../API_docs_v70/constructors/userFull.md | 6 +- .../methods/account.getAuthorizations.md | 6 +- .../methods/account.getPassword.md | 6 +- .../methods/account.getPasswordSettings.md | 6 +- .../methods/account.getPrivacy.md | 6 +- .../methods/account.getTmpPassword.md | 6 +- .../methods/account.sendChangePhoneCode.md | 6 +- .../methods/account.sendConfirmPhoneCode.md | 6 +- .../methods/account.setPrivacy.md | 6 +- old_docs/API_docs_v70/methods/api_README.md | 184 ++++---- .../methods/auth.checkPassword.md | 6 +- .../API_docs_v70/methods/auth.checkPhone.md | 6 +- .../methods/auth.exportAuthorization.md | 6 +- .../methods/auth.importAuthorization.md | 6 +- .../methods/auth.importBotAuthorization.md | 6 +- .../methods/auth.recoverPassword.md | 6 +- .../methods/auth.requestPasswordRecovery.md | 6 +- .../API_docs_v70/methods/auth.resendCode.md | 6 +- .../API_docs_v70/methods/auth.sendCode.md | 6 +- old_docs/API_docs_v70/methods/auth.signIn.md | 6 +- old_docs/API_docs_v70/methods/auth.signUp.md | 6 +- .../methods/channels.deleteMessages.md | 6 +- .../methods/channels.deleteUserHistory.md | 6 +- .../methods/channels.getAdminLog.md | 6 +- .../channels.getAdminedPublicChannels.md | 6 +- .../methods/channels.getChannels.md | 6 +- .../methods/channels.getFullChannel.md | 6 +- .../methods/channels.getMessages.md | 6 +- .../methods/channels.getParticipant.md | 6 +- .../methods/channels.getParticipants.md | 6 +- .../methods/contacts.deleteContact.md | 6 +- .../methods/contacts.getBlocked.md | 6 +- .../methods/contacts.getContacts.md | 6 +- .../methods/contacts.getTopPeers.md | 6 +- .../methods/contacts.importContacts.md | 6 +- .../methods/contacts.resolveUsername.md | 6 +- .../API_docs_v70/methods/contacts.search.md | 6 +- .../API_docs_v70/methods/help.getAppUpdate.md | 6 +- .../methods/help.getInviteText.md | 6 +- .../API_docs_v70/methods/help.getSupport.md | 6 +- .../methods/help.getTermsOfService.md | 6 +- .../methods/messages.deleteHistory.md | 6 +- .../methods/messages.deleteMessages.md | 6 +- .../methods/messages.getAllChats.md | 6 +- .../methods/messages.getAllStickers.md | 6 +- .../methods/messages.getArchivedStickers.md | 6 +- .../methods/messages.getBotCallbackAnswer.md | 6 +- .../API_docs_v70/methods/messages.getChats.md | 6 +- .../methods/messages.getCommonChats.md | 6 +- .../methods/messages.getDhConfig.md | 6 +- .../methods/messages.getDialogs.md | 6 +- .../methods/messages.getFeaturedStickers.md | 6 +- .../methods/messages.getFullChat.md | 6 +- .../methods/messages.getGameHighScores.md | 6 +- .../methods/messages.getHistory.md | 6 +- .../methods/messages.getInlineBotResults.md | 6 +- .../messages.getInlineGameHighScores.md | 6 +- .../methods/messages.getMaskStickers.md | 6 +- .../methods/messages.getMessageEditData.md | 6 +- .../methods/messages.getMessages.md | 6 +- .../methods/messages.getPeerDialogs.md | 6 +- .../methods/messages.getPinnedDialogs.md | 6 +- .../methods/messages.getRecentStickers.md | 6 +- .../methods/messages.getSavedGifs.md | 6 +- .../methods/messages.getStickerSet.md | 6 +- .../methods/messages.installStickerSet.md | 6 +- .../methods/messages.readHistory.md | 6 +- .../methods/messages.readMessageContents.md | 6 +- .../API_docs_v70/methods/messages.search.md | 6 +- .../methods/messages.searchGifs.md | 6 +- .../methods/messages.searchGlobal.md | 6 +- .../methods/messages.sendEncrypted.md | 14 +- .../methods/messages.sendEncryptedFile.md | 14 +- .../methods/messages.sendEncryptedService.md | 14 +- .../methods/payments.getPaymentForm.md | 6 +- .../methods/payments.getPaymentReceipt.md | 6 +- .../methods/payments.getSavedInfo.md | 6 +- .../methods/payments.sendPaymentForm.md | 6 +- .../methods/payments.validateRequestedInfo.md | 6 +- .../API_docs_v70/methods/phone.acceptCall.md | 6 +- .../API_docs_v70/methods/phone.confirmCall.md | 6 +- .../API_docs_v70/methods/phone.requestCall.md | 6 +- .../methods/photos.getUserPhotos.md | 6 +- .../methods/photos.uploadProfilePhoto.md | 6 +- .../methods/stickers.addStickerToSet.md | 6 +- .../methods/stickers.changeStickerPosition.md | 6 +- .../methods/stickers.createStickerSet.md | 6 +- .../methods/stickers.removeStickerFromSet.md | 6 +- .../methods/updates.getChannelDifference.md | 6 +- .../methods/updates.getDifference.md | 6 +- .../API_docs_v70/methods/updates.getState.md | 6 +- .../API_docs_v70/methods/upload.getCdnFile.md | 6 +- .../API_docs_v70/methods/upload.getFile.md | 6 +- .../API_docs_v70/methods/upload.getWebFile.md | 6 +- old_docs/API_docs_v70/types/AccountDaysTTL.md | 2 +- old_docs/API_docs_v70/types/CdnConfig.md | 2 +- old_docs/API_docs_v70/types/CdnFileHash.md | 4 +- old_docs/API_docs_v70/types/ChatInvite.md | 2 +- old_docs/API_docs_v70/types/Config.md | 2 +- old_docs/API_docs_v70/types/ContactStatus.md | 2 +- .../API_docs_v70/types/DestroyAuthKeyRes.md | 2 +- .../API_docs_v70/types/DestroySessionRes.md | 2 +- old_docs/API_docs_v70/types/Document.md | 2 +- old_docs/API_docs_v70/types/EncryptedChat.md | 4 +- .../API_docs_v70/types/ExportedChatInvite.md | 4 +- .../API_docs_v70/types/ExportedMessageLink.md | 2 +- old_docs/API_docs_v70/types/FutureSalts.md | 2 +- .../API_docs_v70/types/LangPackDifference.md | 4 +- .../API_docs_v70/types/LangPackLanguage.md | 2 +- old_docs/API_docs_v70/types/LangPackString.md | 2 +- old_docs/API_docs_v70/types/MessageMedia.md | 4 +- old_docs/API_docs_v70/types/NearestDc.md | 2 +- .../API_docs_v70/types/PeerNotifySettings.md | 2 +- old_docs/API_docs_v70/types/PeerSettings.md | 2 +- old_docs/API_docs_v70/types/Pong.md | 2 +- old_docs/API_docs_v70/types/README.md | 130 +++--- .../types/ReceivedNotifyMessage.md | 2 +- old_docs/API_docs_v70/types/ResPQ.md | 2 +- old_docs/API_docs_v70/types/RpcDropAnswer.md | 2 +- .../API_docs_v70/types/Server_DH_Params.md | 2 +- .../types/Set_client_DH_params_answer.md | 2 +- .../API_docs_v70/types/StickerSetCovered.md | 2 +- old_docs/API_docs_v70/types/Updates.md | 66 +-- old_docs/API_docs_v70/types/User.md | 10 +- old_docs/API_docs_v70/types/UserFull.md | 2 +- .../API_docs_v70/types/UserProfilePhoto.md | 2 +- old_docs/API_docs_v70/types/WallPaper.md | 2 +- old_docs/API_docs_v70/types/WebPage.md | 2 +- .../types/account.Authorizations.md | 22 + .../API_docs_v70/types/account.Password.md | 24 + .../types/account.PasswordInputSettings.md | 20 + .../types/account.PasswordSettings.md | 22 + .../types/account.PrivacyRules.md | 24 + .../API_docs_v70/types/account.TmpPassword.md | 22 + .../types/account_Authorizations.md | 22 - .../API_docs_v70/types/account_Password.md | 24 - .../types/account_PasswordInputSettings.md | 20 - .../types/account_PasswordSettings.md | 22 - .../types/account_PrivacyRules.md | 24 - .../API_docs_v70/types/account_TmpPassword.md | 22 - .../API_docs_v70/types/auth.Authorization.md | 32 ++ .../API_docs_v70/types/auth.CheckedPhone.md | 22 + old_docs/API_docs_v70/types/auth.CodeType.md | 24 + .../types/auth.ExportedAuthorization.md | 22 + .../types/auth.PasswordRecovery.md | 22 + old_docs/API_docs_v70/types/auth.SentCode.md | 28 ++ .../API_docs_v70/types/auth.SentCodeType.md | 26 ++ .../API_docs_v70/types/auth_Authorization.md | 32 -- .../API_docs_v70/types/auth_CheckedPhone.md | 22 - old_docs/API_docs_v70/types/auth_CodeType.md | 24 - .../types/auth_ExportedAuthorization.md | 22 - .../types/auth_PasswordRecovery.md | 22 - old_docs/API_docs_v70/types/auth_SentCode.md | 28 -- .../API_docs_v70/types/auth_SentCodeType.md | 26 -- .../types/channels.AdminLogResults.md | 22 + .../types/channels.ChannelParticipant.md | 22 + .../types/channels.ChannelParticipants.md | 22 + .../types/channels_AdminLogResults.md | 22 - .../types/channels_ChannelParticipant.md | 22 - .../types/channels_ChannelParticipants.md | 22 - .../API_docs_v70/types/contacts.Blocked.md | 24 + .../API_docs_v70/types/contacts.Contacts.md | 24 + old_docs/API_docs_v70/types/contacts.Found.md | 22 + .../types/contacts.ImportedContacts.md | 22 + old_docs/API_docs_v70/types/contacts.Link.md | 22 + .../types/contacts.ResolvedPeer.md | 22 + .../API_docs_v70/types/contacts.TopPeers.md | 24 + .../API_docs_v70/types/contacts_Blocked.md | 24 - .../API_docs_v70/types/contacts_Contacts.md | 24 - old_docs/API_docs_v70/types/contacts_Found.md | 22 - .../types/contacts_ImportedContacts.md | 22 - old_docs/API_docs_v70/types/contacts_Link.md | 22 - .../types/contacts_ResolvedPeer.md | 22 - .../API_docs_v70/types/contacts_TopPeers.md | 24 - old_docs/API_docs_v70/types/help.AppUpdate.md | 24 + .../API_docs_v70/types/help.ConfigSimple.md | 20 + .../API_docs_v70/types/help.InviteText.md | 22 + old_docs/API_docs_v70/types/help.Support.md | 22 + .../API_docs_v70/types/help.TermsOfService.md | 22 + old_docs/API_docs_v70/types/help_AppUpdate.md | 24 - .../API_docs_v70/types/help_ConfigSimple.md | 20 - .../API_docs_v70/types/help_InviteText.md | 22 - old_docs/API_docs_v70/types/help_Support.md | 22 - .../API_docs_v70/types/help_TermsOfService.md | 22 - .../types/messages.AffectedHistory.md | 24 + .../types/messages.AffectedMessages.md | 28 ++ .../types/messages.AllStickers.md | 26 ++ .../types/messages.ArchivedStickers.md | 22 + .../types/messages.BotCallbackAnswer.md | 22 + .../API_docs_v70/types/messages.BotResults.md | 22 + .../API_docs_v70/types/messages.ChatFull.md | 24 + old_docs/API_docs_v70/types/messages.Chats.md | 32 ++ .../API_docs_v70/types/messages.DhConfig.md | 24 + .../API_docs_v70/types/messages.Dialogs.md | 24 + .../types/messages.FeaturedStickers.md | 24 + .../API_docs_v70/types/messages.FoundGifs.md | 22 + .../API_docs_v70/types/messages.HighScores.md | 24 + .../types/messages.MessageEditData.md | 22 + .../API_docs_v70/types/messages.Messages.md | 34 ++ .../types/messages.PeerDialogs.md | 24 + .../types/messages.RecentStickers.md | 24 + .../API_docs_v70/types/messages.SavedGifs.md | 24 + .../types/messages.SentEncryptedMessage.md | 28 ++ .../API_docs_v70/types/messages.StickerSet.md | 30 ++ .../types/messages.StickerSetInstallResult.md | 24 + .../API_docs_v70/types/messages.Stickers.md | 22 + .../types/messages_AffectedHistory.md | 24 - .../types/messages_AffectedMessages.md | 28 -- .../types/messages_AllStickers.md | 26 -- .../types/messages_ArchivedStickers.md | 22 - .../types/messages_BotCallbackAnswer.md | 22 - .../API_docs_v70/types/messages_BotResults.md | 22 - .../API_docs_v70/types/messages_ChatFull.md | 24 - old_docs/API_docs_v70/types/messages_Chats.md | 32 -- .../API_docs_v70/types/messages_DhConfig.md | 24 - .../API_docs_v70/types/messages_Dialogs.md | 24 - .../types/messages_FeaturedStickers.md | 24 - .../API_docs_v70/types/messages_FoundGifs.md | 22 - .../API_docs_v70/types/messages_HighScores.md | 24 - .../types/messages_MessageEditData.md | 22 - .../API_docs_v70/types/messages_Messages.md | 34 -- .../types/messages_PeerDialogs.md | 24 - .../types/messages_RecentStickers.md | 24 - .../API_docs_v70/types/messages_SavedGifs.md | 24 - .../types/messages_SentEncryptedMessage.md | 28 -- .../API_docs_v70/types/messages_StickerSet.md | 30 -- .../types/messages_StickerSetInstallResult.md | 24 - .../API_docs_v70/types/messages_Stickers.md | 22 - .../types/payments.PaymentForm.md | 22 + .../types/payments.PaymentReceipt.md | 22 + .../types/payments.PaymentResult.md | 24 + .../API_docs_v70/types/payments.SavedInfo.md | 22 + .../types/payments.ValidatedRequestedInfo.md | 22 + .../types/payments_PaymentForm.md | 22 - .../types/payments_PaymentReceipt.md | 22 - .../types/payments_PaymentResult.md | 24 - .../API_docs_v70/types/payments_SavedInfo.md | 22 - .../types/payments_ValidatedRequestedInfo.md | 22 - .../API_docs_v70/types/phone.PhoneCall.md | 26 ++ .../API_docs_v70/types/phone_PhoneCall.md | 26 -- old_docs/API_docs_v70/types/photos.Photo.md | 22 + old_docs/API_docs_v70/types/photos.Photos.md | 24 + old_docs/API_docs_v70/types/photos_Photo.md | 22 - old_docs/API_docs_v70/types/photos_Photos.md | 24 - .../API_docs_v70/types/storage.FileType.md | 38 ++ .../API_docs_v70/types/storage_FileType.md | 38 -- .../types/updates.ChannelDifference.md | 26 ++ .../API_docs_v70/types/updates.Difference.md | 28 ++ old_docs/API_docs_v70/types/updates.State.md | 22 + .../types/updates_ChannelDifference.md | 26 -- .../API_docs_v70/types/updates_Difference.md | 28 -- old_docs/API_docs_v70/types/updates_State.md | 22 - old_docs/API_docs_v70/types/upload.CdnFile.md | 24 + old_docs/API_docs_v70/types/upload.File.md | 24 + old_docs/API_docs_v70/types/upload.WebFile.md | 22 + old_docs/API_docs_v70/types/upload_CdnFile.md | 24 - old_docs/API_docs_v70/types/upload_File.md | 24 - old_docs/API_docs_v70/types/upload_WebFile.md | 22 - old_docs/API_docs_v71/constructors/README.md | 343 +++++++++----- .../constructors/account.authorizations.md | 38 ++ .../constructors/account.noPassword.md | 39 ++ .../constructors/account.password.md | 42 ++ .../account.passwordInputSettings.md | 41 ++ .../constructors/account.passwordSettings.md | 38 ++ .../constructors/account.privacyRules.md | 39 ++ .../constructors/account.tmpPassword.md | 39 ++ .../constructors/account_authorizations.md | 38 -- .../constructors/account_noPassword.md | 39 -- .../constructors/account_password.md | 42 -- .../account_passwordInputSettings.md | 41 -- .../constructors/account_passwordSettings.md | 38 -- .../constructors/account_privacyRules.md | 39 -- .../constructors/account_tmpPassword.md | 39 -- .../constructors/auth.authorization.md | 39 ++ .../constructors/auth.checkedPhone.md | 38 ++ .../constructors/auth.codeTypeCall.md | 33 ++ .../constructors/auth.codeTypeFlashCall.md | 33 ++ .../constructors/auth.codeTypeSms.md | 33 ++ .../auth.exportedAuthorization.md | 39 ++ .../constructors/auth.passwordRecovery.md | 38 ++ .../constructors/auth.sentCode.md | 42 ++ .../constructors/auth.sentCodeTypeApp.md | 38 ++ .../constructors/auth.sentCodeTypeCall.md | 38 ++ .../auth.sentCodeTypeFlashCall.md | 38 ++ .../constructors/auth.sentCodeTypeSms.md | 38 ++ .../constructors/auth_authorization.md | 39 -- .../constructors/auth_checkedPhone.md | 38 -- .../constructors/auth_codeTypeCall.md | 33 -- .../constructors/auth_codeTypeFlashCall.md | 33 -- .../constructors/auth_codeTypeSms.md | 33 -- .../auth_exportedAuthorization.md | 39 -- .../constructors/auth_passwordRecovery.md | 38 -- .../constructors/auth_sentCode.md | 42 -- .../constructors/auth_sentCodeTypeApp.md | 38 -- .../constructors/auth_sentCodeTypeCall.md | 38 -- .../auth_sentCodeTypeFlashCall.md | 38 -- .../constructors/auth_sentCodeTypeSms.md | 38 -- .../constructors/channels.adminLogResults.md | 40 ++ .../channels.channelParticipant.md | 39 ++ .../channels.channelParticipants.md | 40 ++ .../constructors/channels_adminLogResults.md | 40 -- .../channels_channelParticipant.md | 39 -- .../channels_channelParticipants.md | 40 -- .../constructors/contacts.blocked.md | 39 ++ .../constructors/contacts.blockedSlice.md | 40 ++ .../constructors/contacts.contacts.md | 40 ++ .../contacts.contactsNotModified.md | 33 ++ .../constructors/contacts.found.md | 40 ++ .../constructors/contacts.importedContacts.md | 41 ++ .../constructors/contacts.link.md | 40 ++ .../constructors/contacts.resolvedPeer.md | 40 ++ .../constructors/contacts.topPeers.md | 40 ++ .../contacts.topPeersNotModified.md | 33 ++ .../constructors/contacts_blocked.md | 39 -- .../constructors/contacts_blockedSlice.md | 40 -- .../constructors/contacts_contacts.md | 40 -- .../contacts_contactsNotModified.md | 33 -- .../constructors/contacts_found.md | 40 -- .../constructors/contacts_importedContacts.md | 41 -- .../constructors/contacts_link.md | 40 -- .../constructors/contacts_resolvedPeer.md | 40 -- .../constructors/contacts_topPeers.md | 40 -- .../contacts_topPeersNotModified.md | 33 -- .../constructors/help.appUpdate.md | 41 ++ .../constructors/help.configSimple.md | 41 ++ .../constructors/help.inviteText.md | 38 ++ .../constructors/help.noAppUpdate.md | 33 ++ .../API_docs_v71/constructors/help.support.md | 39 ++ .../constructors/help.termsOfService.md | 38 ++ .../constructors/help_appUpdate.md | 41 -- .../constructors/help_configSimple.md | 41 -- .../constructors/help_inviteText.md | 38 -- .../constructors/help_noAppUpdate.md | 33 -- .../API_docs_v71/constructors/help_support.md | 39 -- .../constructors/help_termsOfService.md | 38 -- .../constructors/messages.affectedHistory.md | 40 ++ .../constructors/messages.affectedMessages.md | 39 ++ .../constructors/messages.allStickers.md | 39 ++ .../messages.allStickersNotModified.md | 33 ++ .../constructors/messages.archivedStickers.md | 39 ++ .../messages.botCallbackAnswer.md | 42 ++ .../constructors/messages.botResults.md | 43 ++ .../constructors/messages.channelMessages.md | 42 ++ .../constructors/messages.chatFull.md | 40 ++ .../constructors/messages.chats.md | 38 ++ .../constructors/messages.chatsSlice.md | 39 ++ .../constructors/messages.dhConfig.md | 41 ++ .../messages.dhConfigNotModified.md | 38 ++ .../constructors/messages.dialogs.md | 41 ++ .../constructors/messages.dialogsSlice.md | 42 ++ .../constructors/messages.favedStickers.md | 40 ++ .../messages.favedStickersNotModified.md | 33 ++ .../constructors/messages.featuredStickers.md | 40 ++ .../messages.featuredStickersNotModified.md | 33 ++ .../constructors/messages.foundGifs.md | 39 ++ .../constructors/messages.highScores.md | 39 ++ .../constructors/messages.messageEditData.md | 38 ++ .../constructors/messages.messages.md | 40 ++ .../constructors/messages.messagesSlice.md | 41 ++ .../constructors/messages.peerDialogs.md | 42 ++ .../constructors/messages.recentStickers.md | 39 ++ .../messages.recentStickersNotModified.md | 33 ++ .../constructors/messages.savedGifs.md | 39 ++ .../messages.savedGifsNotModified.md | 33 ++ .../messages.sentEncryptedFile.md | 39 ++ .../messages.sentEncryptedMessage.md | 38 ++ .../constructors/messages.stickerSet.md | 40 ++ ...messages.stickerSetInstallResultArchive.md | 38 ++ ...messages.stickerSetInstallResultSuccess.md | 33 ++ .../constructors/messages.stickers.md | 39 ++ .../messages.stickersNotModified.md | 33 ++ .../constructors/messages_affectedHistory.md | 40 -- .../constructors/messages_affectedMessages.md | 39 -- .../constructors/messages_allStickers.md | 39 -- .../messages_allStickersNotModified.md | 33 -- .../constructors/messages_archivedStickers.md | 39 -- .../messages_botCallbackAnswer.md | 42 -- .../constructors/messages_botResults.md | 43 -- .../constructors/messages_channelMessages.md | 42 -- .../constructors/messages_chatFull.md | 40 -- .../constructors/messages_chats.md | 38 -- .../constructors/messages_chatsSlice.md | 39 -- .../constructors/messages_dhConfig.md | 41 -- .../messages_dhConfigNotModified.md | 38 -- .../constructors/messages_dialogs.md | 41 -- .../constructors/messages_dialogsSlice.md | 42 -- .../constructors/messages_favedStickers.md | 40 -- .../messages_favedStickersNotModified.md | 33 -- .../constructors/messages_featuredStickers.md | 40 -- .../messages_featuredStickersNotModified.md | 33 -- .../constructors/messages_foundGifs.md | 39 -- .../constructors/messages_highScores.md | 39 -- .../constructors/messages_messageEditData.md | 38 -- .../constructors/messages_messages.md | 40 -- .../constructors/messages_messagesSlice.md | 41 -- .../constructors/messages_peerDialogs.md | 42 -- .../constructors/messages_recentStickers.md | 39 -- .../messages_recentStickersNotModified.md | 33 -- .../constructors/messages_savedGifs.md | 39 -- .../messages_savedGifsNotModified.md | 33 -- .../messages_sentEncryptedFile.md | 39 -- .../messages_sentEncryptedMessage.md | 38 -- .../constructors/messages_stickerSet.md | 40 -- ...messages_stickerSetInstallResultArchive.md | 38 -- ...messages_stickerSetInstallResultSuccess.md | 33 -- .../constructors/messages_stickers.md | 39 -- .../messages_stickersNotModified.md | 33 -- .../constructors/payments.paymentForm.md | 48 ++ .../constructors/payments.paymentReceipt.md | 47 ++ .../constructors/payments.paymentResult.md | 38 ++ .../payments.paymentVerficationNeeded.md | 38 ++ .../constructors/payments.savedInfo.md | 39 ++ .../payments.validatedRequestedInfo.md | 39 ++ .../constructors/payments_paymentForm.md | 48 -- .../constructors/payments_paymentReceipt.md | 47 -- .../constructors/payments_paymentResult.md | 38 -- .../payments_paymentVerficationNeeded.md | 38 -- .../constructors/payments_savedInfo.md | 39 -- .../payments_validatedRequestedInfo.md | 39 -- .../constructors/phone.phoneCall.md | 39 ++ .../constructors/phone_phoneCall.md | 39 -- .../API_docs_v71/constructors/photos.photo.md | 39 ++ .../constructors/photos.photos.md | 39 ++ .../constructors/photos.photosSlice.md | 40 ++ .../API_docs_v71/constructors/photos_photo.md | 39 -- .../constructors/photos_photos.md | 39 -- .../constructors/photos_photosSlice.md | 40 -- .../constructors/storage.fileGif.md | 33 ++ .../constructors/storage.fileJpeg.md | 33 ++ .../constructors/storage.fileMov.md | 33 ++ .../constructors/storage.fileMp3.md | 33 ++ .../constructors/storage.fileMp4.md | 33 ++ .../constructors/storage.filePartial.md | 33 ++ .../constructors/storage.filePdf.md | 33 ++ .../constructors/storage.filePng.md | 33 ++ .../constructors/storage.fileUnknown.md | 33 ++ .../constructors/storage.fileWebp.md | 33 ++ .../constructors/storage_fileGif.md | 33 -- .../constructors/storage_fileJpeg.md | 33 -- .../constructors/storage_fileMov.md | 33 -- .../constructors/storage_fileMp3.md | 33 -- .../constructors/storage_fileMp4.md | 33 -- .../constructors/storage_filePartial.md | 33 -- .../constructors/storage_filePdf.md | 33 -- .../constructors/storage_filePng.md | 33 -- .../constructors/storage_fileUnknown.md | 33 -- .../constructors/storage_fileWebp.md | 33 -- .../constructors/updateNewStickerSet.md | 6 +- .../constructors/updates.channelDifference.md | 44 ++ .../updates.channelDifferenceEmpty.md | 40 ++ .../updates.channelDifferenceTooLong.md | 58 +++ .../constructors/updates.difference.md | 43 ++ .../constructors/updates.differenceEmpty.md | 39 ++ .../constructors/updates.differenceSlice.md | 43 ++ .../constructors/updates.differenceTooLong.md | 38 ++ .../constructors/updates.state.md | 42 ++ .../constructors/updates_channelDifference.md | 44 -- .../updates_channelDifferenceEmpty.md | 40 -- .../updates_channelDifferenceTooLong.md | 58 --- .../constructors/updates_difference.md | 43 -- .../constructors/updates_differenceEmpty.md | 39 -- .../constructors/updates_differenceSlice.md | 43 -- .../constructors/updates_differenceTooLong.md | 38 -- .../constructors/updates_state.md | 42 -- .../constructors/upload.cdnFile.md | 38 ++ .../upload.cdnFileReuploadNeeded.md | 38 ++ .../API_docs_v71/constructors/upload.file.md | 40 ++ .../constructors/upload.fileCdnRedirect.md | 42 ++ .../constructors/upload.webFile.md | 42 ++ .../constructors/upload_cdnFile.md | 38 -- .../upload_cdnFileReuploadNeeded.md | 38 -- .../API_docs_v71/constructors/upload_file.md | 40 -- .../constructors/upload_fileCdnRedirect.md | 42 -- .../constructors/upload_webFile.md | 42 -- .../API_docs_v71/constructors/userFull.md | 6 +- .../methods/account.getAuthorizations.md | 6 +- .../methods/account.getPassword.md | 6 +- .../methods/account.getPasswordSettings.md | 6 +- .../methods/account.getPrivacy.md | 6 +- .../methods/account.getTmpPassword.md | 6 +- .../methods/account.sendChangePhoneCode.md | 6 +- .../methods/account.sendConfirmPhoneCode.md | 6 +- .../methods/account.setPrivacy.md | 6 +- old_docs/API_docs_v71/methods/api_README.md | 188 ++++---- .../methods/auth.checkPassword.md | 6 +- .../API_docs_v71/methods/auth.checkPhone.md | 6 +- .../methods/auth.exportAuthorization.md | 6 +- .../methods/auth.importAuthorization.md | 6 +- .../methods/auth.importBotAuthorization.md | 6 +- .../methods/auth.recoverPassword.md | 6 +- .../methods/auth.requestPasswordRecovery.md | 6 +- .../API_docs_v71/methods/auth.resendCode.md | 6 +- .../API_docs_v71/methods/auth.sendCode.md | 6 +- old_docs/API_docs_v71/methods/auth.signIn.md | 6 +- old_docs/API_docs_v71/methods/auth.signUp.md | 6 +- .../methods/channels.deleteMessages.md | 6 +- .../methods/channels.deleteUserHistory.md | 6 +- .../methods/channels.getAdminLog.md | 6 +- .../channels.getAdminedPublicChannels.md | 6 +- .../methods/channels.getChannels.md | 6 +- .../methods/channels.getFullChannel.md | 6 +- .../methods/channels.getMessages.md | 6 +- .../methods/channels.getParticipant.md | 6 +- .../methods/channels.getParticipants.md | 6 +- .../methods/contacts.deleteContact.md | 6 +- .../methods/contacts.getBlocked.md | 6 +- .../methods/contacts.getContacts.md | 6 +- .../methods/contacts.getTopPeers.md | 6 +- .../methods/contacts.importContacts.md | 6 +- .../methods/contacts.resolveUsername.md | 6 +- .../API_docs_v71/methods/contacts.search.md | 6 +- .../API_docs_v71/methods/help.getAppUpdate.md | 6 +- .../methods/help.getInviteText.md | 6 +- .../API_docs_v71/methods/help.getSupport.md | 6 +- .../methods/help.getTermsOfService.md | 6 +- .../methods/messages.deleteHistory.md | 6 +- .../methods/messages.deleteMessages.md | 6 +- .../methods/messages.getAllChats.md | 6 +- .../methods/messages.getAllStickers.md | 6 +- .../methods/messages.getArchivedStickers.md | 6 +- .../methods/messages.getBotCallbackAnswer.md | 6 +- .../API_docs_v71/methods/messages.getChats.md | 6 +- .../methods/messages.getCommonChats.md | 6 +- .../methods/messages.getDhConfig.md | 6 +- .../methods/messages.getDialogs.md | 6 +- .../methods/messages.getFavedStickers.md | 6 +- .../methods/messages.getFeaturedStickers.md | 6 +- .../methods/messages.getFullChat.md | 6 +- .../methods/messages.getGameHighScores.md | 6 +- .../methods/messages.getHistory.md | 6 +- .../methods/messages.getInlineBotResults.md | 6 +- .../messages.getInlineGameHighScores.md | 6 +- .../methods/messages.getMaskStickers.md | 6 +- .../methods/messages.getMessageEditData.md | 6 +- .../methods/messages.getMessages.md | 6 +- .../methods/messages.getPeerDialogs.md | 6 +- .../methods/messages.getPinnedDialogs.md | 6 +- .../methods/messages.getRecentStickers.md | 6 +- .../methods/messages.getSavedGifs.md | 6 +- .../methods/messages.getStickerSet.md | 6 +- .../methods/messages.getUnreadMentions.md | 6 +- .../methods/messages.installStickerSet.md | 6 +- .../methods/messages.readHistory.md | 6 +- .../methods/messages.readMessageContents.md | 6 +- .../API_docs_v71/methods/messages.search.md | 6 +- .../methods/messages.searchGifs.md | 6 +- .../methods/messages.searchGlobal.md | 6 +- .../methods/messages.sendEncrypted.md | 14 +- .../methods/messages.sendEncryptedFile.md | 14 +- .../methods/messages.sendEncryptedService.md | 14 +- .../methods/payments.getPaymentForm.md | 6 +- .../methods/payments.getPaymentReceipt.md | 6 +- .../methods/payments.getSavedInfo.md | 6 +- .../methods/payments.sendPaymentForm.md | 6 +- .../methods/payments.validateRequestedInfo.md | 6 +- .../API_docs_v71/methods/phone.acceptCall.md | 6 +- .../API_docs_v71/methods/phone.confirmCall.md | 6 +- .../API_docs_v71/methods/phone.requestCall.md | 6 +- .../methods/photos.getUserPhotos.md | 6 +- .../methods/photos.uploadProfilePhoto.md | 6 +- .../methods/stickers.addStickerToSet.md | 6 +- .../methods/stickers.changeStickerPosition.md | 6 +- .../methods/stickers.createStickerSet.md | 6 +- .../methods/stickers.removeStickerFromSet.md | 6 +- .../methods/updates.getChannelDifference.md | 6 +- .../methods/updates.getDifference.md | 6 +- .../API_docs_v71/methods/updates.getState.md | 6 +- .../API_docs_v71/methods/upload.getCdnFile.md | 6 +- .../API_docs_v71/methods/upload.getFile.md | 6 +- .../API_docs_v71/methods/upload.getWebFile.md | 6 +- old_docs/API_docs_v71/types/AccountDaysTTL.md | 2 +- old_docs/API_docs_v71/types/CdnConfig.md | 2 +- old_docs/API_docs_v71/types/CdnFileHash.md | 4 +- old_docs/API_docs_v71/types/ChatInvite.md | 2 +- old_docs/API_docs_v71/types/Config.md | 2 +- old_docs/API_docs_v71/types/ContactStatus.md | 2 +- .../API_docs_v71/types/DestroyAuthKeyRes.md | 2 +- .../API_docs_v71/types/DestroySessionRes.md | 2 +- old_docs/API_docs_v71/types/Document.md | 2 +- old_docs/API_docs_v71/types/EncryptedChat.md | 4 +- .../API_docs_v71/types/ExportedChatInvite.md | 4 +- .../API_docs_v71/types/ExportedMessageLink.md | 2 +- old_docs/API_docs_v71/types/FutureSalts.md | 2 +- .../API_docs_v71/types/LangPackDifference.md | 4 +- .../API_docs_v71/types/LangPackLanguage.md | 2 +- old_docs/API_docs_v71/types/LangPackString.md | 2 +- old_docs/API_docs_v71/types/MessageMedia.md | 4 +- old_docs/API_docs_v71/types/NearestDc.md | 2 +- .../API_docs_v71/types/PeerNotifySettings.md | 2 +- old_docs/API_docs_v71/types/PeerSettings.md | 2 +- old_docs/API_docs_v71/types/Pong.md | 2 +- old_docs/API_docs_v71/types/README.md | 132 +++--- .../types/ReceivedNotifyMessage.md | 2 +- old_docs/API_docs_v71/types/ResPQ.md | 2 +- old_docs/API_docs_v71/types/RpcDropAnswer.md | 2 +- .../API_docs_v71/types/Server_DH_Params.md | 2 +- .../types/Set_client_DH_params_answer.md | 2 +- .../API_docs_v71/types/StickerSetCovered.md | 2 +- old_docs/API_docs_v71/types/Updates.md | 66 +-- old_docs/API_docs_v71/types/User.md | 10 +- old_docs/API_docs_v71/types/UserFull.md | 2 +- .../API_docs_v71/types/UserProfilePhoto.md | 2 +- old_docs/API_docs_v71/types/WallPaper.md | 2 +- old_docs/API_docs_v71/types/WebPage.md | 2 +- .../types/account.Authorizations.md | 22 + .../API_docs_v71/types/account.Password.md | 24 + .../types/account.PasswordInputSettings.md | 20 + .../types/account.PasswordSettings.md | 22 + .../types/account.PrivacyRules.md | 24 + .../API_docs_v71/types/account.TmpPassword.md | 22 + .../types/account_Authorizations.md | 22 - .../API_docs_v71/types/account_Password.md | 24 - .../types/account_PasswordInputSettings.md | 20 - .../types/account_PasswordSettings.md | 22 - .../types/account_PrivacyRules.md | 24 - .../API_docs_v71/types/account_TmpPassword.md | 22 - .../API_docs_v71/types/auth.Authorization.md | 32 ++ .../API_docs_v71/types/auth.CheckedPhone.md | 22 + old_docs/API_docs_v71/types/auth.CodeType.md | 24 + .../types/auth.ExportedAuthorization.md | 22 + .../types/auth.PasswordRecovery.md | 22 + old_docs/API_docs_v71/types/auth.SentCode.md | 28 ++ .../API_docs_v71/types/auth.SentCodeType.md | 26 ++ .../API_docs_v71/types/auth_Authorization.md | 32 -- .../API_docs_v71/types/auth_CheckedPhone.md | 22 - old_docs/API_docs_v71/types/auth_CodeType.md | 24 - .../types/auth_ExportedAuthorization.md | 22 - .../types/auth_PasswordRecovery.md | 22 - old_docs/API_docs_v71/types/auth_SentCode.md | 28 -- .../API_docs_v71/types/auth_SentCodeType.md | 26 -- .../types/channels.AdminLogResults.md | 22 + .../types/channels.ChannelParticipant.md | 22 + .../types/channels.ChannelParticipants.md | 22 + .../types/channels_AdminLogResults.md | 22 - .../types/channels_ChannelParticipant.md | 22 - .../types/channels_ChannelParticipants.md | 22 - .../API_docs_v71/types/contacts.Blocked.md | 24 + .../API_docs_v71/types/contacts.Contacts.md | 24 + old_docs/API_docs_v71/types/contacts.Found.md | 22 + .../types/contacts.ImportedContacts.md | 22 + old_docs/API_docs_v71/types/contacts.Link.md | 22 + .../types/contacts.ResolvedPeer.md | 22 + .../API_docs_v71/types/contacts.TopPeers.md | 24 + .../API_docs_v71/types/contacts_Blocked.md | 24 - .../API_docs_v71/types/contacts_Contacts.md | 24 - old_docs/API_docs_v71/types/contacts_Found.md | 22 - .../types/contacts_ImportedContacts.md | 22 - old_docs/API_docs_v71/types/contacts_Link.md | 22 - .../types/contacts_ResolvedPeer.md | 22 - .../API_docs_v71/types/contacts_TopPeers.md | 24 - old_docs/API_docs_v71/types/help.AppUpdate.md | 24 + .../API_docs_v71/types/help.ConfigSimple.md | 20 + .../API_docs_v71/types/help.InviteText.md | 22 + old_docs/API_docs_v71/types/help.Support.md | 22 + .../API_docs_v71/types/help.TermsOfService.md | 22 + old_docs/API_docs_v71/types/help_AppUpdate.md | 24 - .../API_docs_v71/types/help_ConfigSimple.md | 20 - .../API_docs_v71/types/help_InviteText.md | 22 - old_docs/API_docs_v71/types/help_Support.md | 22 - .../API_docs_v71/types/help_TermsOfService.md | 22 - .../types/messages.AffectedHistory.md | 24 + .../types/messages.AffectedMessages.md | 28 ++ .../types/messages.AllStickers.md | 26 ++ .../types/messages.ArchivedStickers.md | 22 + .../types/messages.BotCallbackAnswer.md | 22 + .../API_docs_v71/types/messages.BotResults.md | 22 + .../API_docs_v71/types/messages.ChatFull.md | 24 + old_docs/API_docs_v71/types/messages.Chats.md | 32 ++ .../API_docs_v71/types/messages.DhConfig.md | 24 + .../API_docs_v71/types/messages.Dialogs.md | 24 + .../types/messages.FavedStickers.md | 24 + .../types/messages.FeaturedStickers.md | 24 + .../API_docs_v71/types/messages.FoundGifs.md | 22 + .../API_docs_v71/types/messages.HighScores.md | 24 + .../types/messages.MessageEditData.md | 22 + .../API_docs_v71/types/messages.Messages.md | 36 ++ .../types/messages.PeerDialogs.md | 24 + .../types/messages.RecentStickers.md | 24 + .../API_docs_v71/types/messages.SavedGifs.md | 24 + .../types/messages.SentEncryptedMessage.md | 28 ++ .../API_docs_v71/types/messages.StickerSet.md | 30 ++ .../types/messages.StickerSetInstallResult.md | 24 + .../API_docs_v71/types/messages.Stickers.md | 22 + .../types/messages_AffectedHistory.md | 24 - .../types/messages_AffectedMessages.md | 28 -- .../types/messages_AllStickers.md | 26 -- .../types/messages_ArchivedStickers.md | 22 - .../types/messages_BotCallbackAnswer.md | 22 - .../API_docs_v71/types/messages_BotResults.md | 22 - .../API_docs_v71/types/messages_ChatFull.md | 24 - old_docs/API_docs_v71/types/messages_Chats.md | 32 -- .../API_docs_v71/types/messages_DhConfig.md | 24 - .../API_docs_v71/types/messages_Dialogs.md | 24 - .../types/messages_FavedStickers.md | 24 - .../types/messages_FeaturedStickers.md | 24 - .../API_docs_v71/types/messages_FoundGifs.md | 22 - .../API_docs_v71/types/messages_HighScores.md | 24 - .../types/messages_MessageEditData.md | 22 - .../API_docs_v71/types/messages_Messages.md | 36 -- .../types/messages_PeerDialogs.md | 24 - .../types/messages_RecentStickers.md | 24 - .../API_docs_v71/types/messages_SavedGifs.md | 24 - .../types/messages_SentEncryptedMessage.md | 28 -- .../API_docs_v71/types/messages_StickerSet.md | 30 -- .../types/messages_StickerSetInstallResult.md | 24 - .../API_docs_v71/types/messages_Stickers.md | 22 - .../types/payments.PaymentForm.md | 22 + .../types/payments.PaymentReceipt.md | 22 + .../types/payments.PaymentResult.md | 24 + .../API_docs_v71/types/payments.SavedInfo.md | 22 + .../types/payments.ValidatedRequestedInfo.md | 22 + .../types/payments_PaymentForm.md | 22 - .../types/payments_PaymentReceipt.md | 22 - .../types/payments_PaymentResult.md | 24 - .../API_docs_v71/types/payments_SavedInfo.md | 22 - .../types/payments_ValidatedRequestedInfo.md | 22 - .../API_docs_v71/types/phone.PhoneCall.md | 26 ++ .../API_docs_v71/types/phone_PhoneCall.md | 26 -- old_docs/API_docs_v71/types/photos.Photo.md | 22 + old_docs/API_docs_v71/types/photos.Photos.md | 24 + old_docs/API_docs_v71/types/photos_Photo.md | 22 - old_docs/API_docs_v71/types/photos_Photos.md | 24 - .../API_docs_v71/types/storage.FileType.md | 38 ++ .../API_docs_v71/types/storage_FileType.md | 38 -- .../types/updates.ChannelDifference.md | 26 ++ .../API_docs_v71/types/updates.Difference.md | 28 ++ old_docs/API_docs_v71/types/updates.State.md | 22 + .../types/updates_ChannelDifference.md | 26 -- .../API_docs_v71/types/updates_Difference.md | 28 -- old_docs/API_docs_v71/types/updates_State.md | 22 - old_docs/API_docs_v71/types/upload.CdnFile.md | 24 + old_docs/API_docs_v71/types/upload.File.md | 24 + old_docs/API_docs_v71/types/upload.WebFile.md | 22 + old_docs/API_docs_v71/types/upload_CdnFile.md | 24 - old_docs/API_docs_v71/types/upload_File.md | 24 - old_docs/API_docs_v71/types/upload_WebFile.md | 22 - old_docs/API_docs_v72/constructors/README.md | 349 +++++++++----- .../constructors/account.authorizations.md | 38 ++ .../constructors/account.noPassword.md | 39 ++ .../constructors/account.password.md | 42 ++ .../account.passwordInputSettings.md | 41 ++ .../constructors/account.passwordSettings.md | 38 ++ .../constructors/account.privacyRules.md | 39 ++ .../constructors/account.tmpPassword.md | 39 ++ .../constructors/account_authorizations.md | 38 -- .../constructors/account_noPassword.md | 39 -- .../constructors/account_password.md | 42 -- .../account_passwordInputSettings.md | 41 -- .../constructors/account_passwordSettings.md | 38 -- .../constructors/account_privacyRules.md | 39 -- .../constructors/account_tmpPassword.md | 39 -- .../constructors/auth.authorization.md | 39 ++ .../constructors/auth.checkedPhone.md | 38 ++ .../constructors/auth.codeTypeCall.md | 33 ++ .../constructors/auth.codeTypeFlashCall.md | 33 ++ .../constructors/auth.codeTypeSms.md | 33 ++ .../auth.exportedAuthorization.md | 39 ++ .../constructors/auth.passwordRecovery.md | 38 ++ .../constructors/auth.sentCode.md | 42 ++ .../constructors/auth.sentCodeTypeApp.md | 38 ++ .../constructors/auth.sentCodeTypeCall.md | 38 ++ .../auth.sentCodeTypeFlashCall.md | 38 ++ .../constructors/auth.sentCodeTypeSms.md | 38 ++ .../constructors/auth_authorization.md | 39 -- .../constructors/auth_checkedPhone.md | 38 -- .../constructors/auth_codeTypeCall.md | 33 -- .../constructors/auth_codeTypeFlashCall.md | 33 -- .../constructors/auth_codeTypeSms.md | 33 -- .../auth_exportedAuthorization.md | 39 -- .../constructors/auth_passwordRecovery.md | 38 -- .../constructors/auth_sentCode.md | 42 -- .../constructors/auth_sentCodeTypeApp.md | 38 -- .../constructors/auth_sentCodeTypeCall.md | 38 -- .../auth_sentCodeTypeFlashCall.md | 38 -- .../constructors/auth_sentCodeTypeSms.md | 38 -- .../constructors/channels.adminLogResults.md | 40 ++ .../channels.channelParticipant.md | 39 ++ .../channels.channelParticipants.md | 40 ++ ...channels.channelParticipantsNotModified.md | 33 ++ .../constructors/channels_adminLogResults.md | 40 -- .../channels_channelParticipant.md | 39 -- .../channels_channelParticipants.md | 40 -- ...channels_channelParticipantsNotModified.md | 33 -- .../constructors/contacts.blocked.md | 39 ++ .../constructors/contacts.blockedSlice.md | 40 ++ .../constructors/contacts.contacts.md | 40 ++ .../contacts.contactsNotModified.md | 33 ++ .../constructors/contacts.found.md | 40 ++ .../constructors/contacts.importedContacts.md | 41 ++ .../constructors/contacts.link.md | 40 ++ .../constructors/contacts.resolvedPeer.md | 40 ++ .../constructors/contacts.topPeers.md | 40 ++ .../contacts.topPeersNotModified.md | 33 ++ .../constructors/contacts_blocked.md | 39 -- .../constructors/contacts_blockedSlice.md | 40 -- .../constructors/contacts_contacts.md | 40 -- .../contacts_contactsNotModified.md | 33 -- .../constructors/contacts_found.md | 40 -- .../constructors/contacts_importedContacts.md | 41 -- .../constructors/contacts_link.md | 40 -- .../constructors/contacts_resolvedPeer.md | 40 -- .../constructors/contacts_topPeers.md | 40 -- .../contacts_topPeersNotModified.md | 33 -- .../constructors/help.appUpdate.md | 41 ++ .../constructors/help.configSimple.md | 41 ++ .../constructors/help.inviteText.md | 38 ++ .../constructors/help.noAppUpdate.md | 33 ++ .../constructors/help.recentMeUrls.md | 40 ++ .../API_docs_v72/constructors/help.support.md | 39 ++ .../constructors/help.termsOfService.md | 38 ++ .../constructors/help_appUpdate.md | 41 -- .../constructors/help_configSimple.md | 41 -- .../constructors/help_inviteText.md | 38 -- .../constructors/help_noAppUpdate.md | 33 -- .../constructors/help_recentMeUrls.md | 40 -- .../API_docs_v72/constructors/help_support.md | 39 -- .../constructors/help_termsOfService.md | 38 -- .../constructors/messages.affectedHistory.md | 40 ++ .../constructors/messages.affectedMessages.md | 39 ++ .../constructors/messages.allStickers.md | 39 ++ .../messages.allStickersNotModified.md | 33 ++ .../constructors/messages.archivedStickers.md | 39 ++ .../messages.botCallbackAnswer.md | 42 ++ .../constructors/messages.botResults.md | 44 ++ .../constructors/messages.channelMessages.md | 42 ++ .../constructors/messages.chatFull.md | 40 ++ .../constructors/messages.chats.md | 38 ++ .../constructors/messages.chatsSlice.md | 39 ++ .../constructors/messages.dhConfig.md | 41 ++ .../messages.dhConfigNotModified.md | 38 ++ .../constructors/messages.dialogs.md | 41 ++ .../constructors/messages.dialogsSlice.md | 42 ++ .../constructors/messages.favedStickers.md | 40 ++ .../messages.favedStickersNotModified.md | 33 ++ .../constructors/messages.featuredStickers.md | 40 ++ .../messages.featuredStickersNotModified.md | 33 ++ .../constructors/messages.foundGifs.md | 39 ++ .../constructors/messages.highScores.md | 39 ++ .../constructors/messages.messageEditData.md | 38 ++ .../constructors/messages.messages.md | 40 ++ .../constructors/messages.messagesSlice.md | 41 ++ .../constructors/messages.peerDialogs.md | 42 ++ .../constructors/messages.recentStickers.md | 39 ++ .../messages.recentStickersNotModified.md | 33 ++ .../constructors/messages.savedGifs.md | 39 ++ .../messages.savedGifsNotModified.md | 33 ++ .../messages.sentEncryptedFile.md | 39 ++ .../messages.sentEncryptedMessage.md | 38 ++ .../constructors/messages.stickerSet.md | 40 ++ ...messages.stickerSetInstallResultArchive.md | 38 ++ ...messages.stickerSetInstallResultSuccess.md | 33 ++ .../constructors/messages.stickers.md | 39 ++ .../messages.stickersNotModified.md | 33 ++ .../constructors/messages_affectedHistory.md | 40 -- .../constructors/messages_affectedMessages.md | 39 -- .../constructors/messages_allStickers.md | 39 -- .../messages_allStickersNotModified.md | 33 -- .../constructors/messages_archivedStickers.md | 39 -- .../messages_botCallbackAnswer.md | 42 -- .../constructors/messages_botResults.md | 44 -- .../constructors/messages_channelMessages.md | 42 -- .../constructors/messages_chatFull.md | 40 -- .../constructors/messages_chats.md | 38 -- .../constructors/messages_chatsSlice.md | 39 -- .../constructors/messages_dhConfig.md | 41 -- .../messages_dhConfigNotModified.md | 38 -- .../constructors/messages_dialogs.md | 41 -- .../constructors/messages_dialogsSlice.md | 42 -- .../constructors/messages_favedStickers.md | 40 -- .../messages_favedStickersNotModified.md | 33 -- .../constructors/messages_featuredStickers.md | 40 -- .../messages_featuredStickersNotModified.md | 33 -- .../constructors/messages_foundGifs.md | 39 -- .../constructors/messages_highScores.md | 39 -- .../constructors/messages_messageEditData.md | 38 -- .../constructors/messages_messages.md | 40 -- .../constructors/messages_messagesSlice.md | 41 -- .../constructors/messages_peerDialogs.md | 42 -- .../constructors/messages_recentStickers.md | 39 -- .../messages_recentStickersNotModified.md | 33 -- .../constructors/messages_savedGifs.md | 39 -- .../messages_savedGifsNotModified.md | 33 -- .../messages_sentEncryptedFile.md | 39 -- .../messages_sentEncryptedMessage.md | 38 -- .../constructors/messages_stickerSet.md | 40 -- ...messages_stickerSetInstallResultArchive.md | 38 -- ...messages_stickerSetInstallResultSuccess.md | 33 -- .../constructors/messages_stickers.md | 39 -- .../messages_stickersNotModified.md | 33 -- .../constructors/payments.paymentForm.md | 48 ++ .../constructors/payments.paymentReceipt.md | 47 ++ .../constructors/payments.paymentResult.md | 38 ++ .../payments.paymentVerficationNeeded.md | 38 ++ .../constructors/payments.savedInfo.md | 39 ++ .../payments.validatedRequestedInfo.md | 39 ++ .../constructors/payments_paymentForm.md | 48 -- .../constructors/payments_paymentReceipt.md | 47 -- .../constructors/payments_paymentResult.md | 38 -- .../payments_paymentVerficationNeeded.md | 38 -- .../constructors/payments_savedInfo.md | 39 -- .../payments_validatedRequestedInfo.md | 39 -- .../constructors/phone.phoneCall.md | 39 ++ .../constructors/phone_phoneCall.md | 39 -- .../API_docs_v72/constructors/photos.photo.md | 39 ++ .../constructors/photos.photos.md | 39 ++ .../constructors/photos.photosSlice.md | 40 ++ .../API_docs_v72/constructors/photos_photo.md | 39 -- .../constructors/photos_photos.md | 39 -- .../constructors/photos_photosSlice.md | 40 -- .../constructors/storage.fileGif.md | 33 ++ .../constructors/storage.fileJpeg.md | 33 ++ .../constructors/storage.fileMov.md | 33 ++ .../constructors/storage.fileMp3.md | 33 ++ .../constructors/storage.fileMp4.md | 33 ++ .../constructors/storage.filePartial.md | 33 ++ .../constructors/storage.filePdf.md | 33 ++ .../constructors/storage.filePng.md | 33 ++ .../constructors/storage.fileUnknown.md | 33 ++ .../constructors/storage.fileWebp.md | 33 ++ .../constructors/storage_fileGif.md | 33 -- .../constructors/storage_fileJpeg.md | 33 -- .../constructors/storage_fileMov.md | 33 -- .../constructors/storage_fileMp3.md | 33 -- .../constructors/storage_fileMp4.md | 33 -- .../constructors/storage_filePartial.md | 33 -- .../constructors/storage_filePdf.md | 33 -- .../constructors/storage_filePng.md | 33 -- .../constructors/storage_fileUnknown.md | 33 -- .../constructors/storage_fileWebp.md | 33 -- .../constructors/updateNewStickerSet.md | 6 +- .../constructors/updates.channelDifference.md | 44 ++ .../updates.channelDifferenceEmpty.md | 40 ++ .../updates.channelDifferenceTooLong.md | 58 +++ .../constructors/updates.difference.md | 43 ++ .../constructors/updates.differenceEmpty.md | 39 ++ .../constructors/updates.differenceSlice.md | 43 ++ .../constructors/updates.differenceTooLong.md | 38 ++ .../constructors/updates.state.md | 42 ++ .../constructors/updates_channelDifference.md | 44 -- .../updates_channelDifferenceEmpty.md | 40 -- .../updates_channelDifferenceTooLong.md | 58 --- .../constructors/updates_difference.md | 43 -- .../constructors/updates_differenceEmpty.md | 39 -- .../constructors/updates_differenceSlice.md | 43 -- .../constructors/updates_differenceTooLong.md | 38 -- .../constructors/updates_state.md | 42 -- .../constructors/upload.cdnFile.md | 38 ++ .../upload.cdnFileReuploadNeeded.md | 38 ++ .../API_docs_v72/constructors/upload.file.md | 40 ++ .../constructors/upload.fileCdnRedirect.md | 42 ++ .../constructors/upload.webFile.md | 42 ++ .../constructors/upload_cdnFile.md | 38 -- .../upload_cdnFileReuploadNeeded.md | 38 -- .../API_docs_v72/constructors/upload_file.md | 40 -- .../constructors/upload_fileCdnRedirect.md | 42 -- .../constructors/upload_webFile.md | 42 -- .../API_docs_v72/constructors/userFull.md | 6 +- .../methods/account.getAuthorizations.md | 6 +- .../methods/account.getPassword.md | 6 +- .../methods/account.getPasswordSettings.md | 6 +- .../methods/account.getPrivacy.md | 6 +- .../methods/account.getTmpPassword.md | 6 +- .../methods/account.sendChangePhoneCode.md | 6 +- .../methods/account.sendConfirmPhoneCode.md | 6 +- .../methods/account.setPrivacy.md | 6 +- old_docs/API_docs_v72/methods/api_README.md | 194 ++++---- .../methods/auth.checkPassword.md | 6 +- .../API_docs_v72/methods/auth.checkPhone.md | 6 +- .../methods/auth.exportAuthorization.md | 6 +- .../methods/auth.importAuthorization.md | 6 +- .../methods/auth.importBotAuthorization.md | 6 +- .../methods/auth.recoverPassword.md | 6 +- .../methods/auth.requestPasswordRecovery.md | 6 +- .../API_docs_v72/methods/auth.resendCode.md | 6 +- .../API_docs_v72/methods/auth.sendCode.md | 6 +- old_docs/API_docs_v72/methods/auth.signIn.md | 6 +- old_docs/API_docs_v72/methods/auth.signUp.md | 6 +- .../methods/channels.deleteMessages.md | 6 +- .../methods/channels.deleteUserHistory.md | 6 +- .../methods/channels.getAdminLog.md | 6 +- .../channels.getAdminedPublicChannels.md | 6 +- .../methods/channels.getChannels.md | 6 +- .../methods/channels.getFullChannel.md | 6 +- .../methods/channels.getMessages.md | 6 +- .../methods/channels.getParticipant.md | 6 +- .../methods/channels.getParticipants.md | 6 +- .../methods/contacts.deleteContact.md | 6 +- .../methods/contacts.getBlocked.md | 6 +- .../methods/contacts.getContacts.md | 6 +- .../methods/contacts.getTopPeers.md | 6 +- .../methods/contacts.importContacts.md | 6 +- .../methods/contacts.resolveUsername.md | 6 +- .../API_docs_v72/methods/contacts.search.md | 6 +- .../API_docs_v72/methods/help.getAppUpdate.md | 6 +- .../methods/help.getInviteText.md | 6 +- .../methods/help.getRecentMeUrls.md | 6 +- .../API_docs_v72/methods/help.getSupport.md | 6 +- .../methods/help.getTermsOfService.md | 6 +- .../methods/messages.deleteHistory.md | 6 +- .../methods/messages.deleteMessages.md | 6 +- .../methods/messages.getAllChats.md | 6 +- .../methods/messages.getAllStickers.md | 6 +- .../methods/messages.getArchivedStickers.md | 6 +- .../methods/messages.getBotCallbackAnswer.md | 6 +- .../API_docs_v72/methods/messages.getChats.md | 6 +- .../methods/messages.getCommonChats.md | 6 +- .../methods/messages.getDhConfig.md | 6 +- .../methods/messages.getDialogs.md | 6 +- .../methods/messages.getFavedStickers.md | 6 +- .../methods/messages.getFeaturedStickers.md | 6 +- .../methods/messages.getFullChat.md | 6 +- .../methods/messages.getGameHighScores.md | 6 +- .../methods/messages.getHistory.md | 6 +- .../methods/messages.getInlineBotResults.md | 6 +- .../messages.getInlineGameHighScores.md | 6 +- .../methods/messages.getMaskStickers.md | 6 +- .../methods/messages.getMessageEditData.md | 6 +- .../methods/messages.getMessages.md | 6 +- .../methods/messages.getPeerDialogs.md | 6 +- .../methods/messages.getPinnedDialogs.md | 6 +- .../methods/messages.getRecentLocations.md | 6 +- .../methods/messages.getRecentStickers.md | 6 +- .../methods/messages.getSavedGifs.md | 6 +- .../methods/messages.getStickerSet.md | 6 +- .../methods/messages.getUnreadMentions.md | 6 +- .../methods/messages.installStickerSet.md | 6 +- .../methods/messages.readHistory.md | 6 +- .../methods/messages.readMentions.md | 6 +- .../methods/messages.readMessageContents.md | 6 +- .../API_docs_v72/methods/messages.search.md | 6 +- .../methods/messages.searchGifs.md | 6 +- .../methods/messages.searchGlobal.md | 6 +- .../methods/messages.sendEncrypted.md | 14 +- .../methods/messages.sendEncryptedFile.md | 14 +- .../methods/messages.sendEncryptedService.md | 14 +- .../methods/payments.getPaymentForm.md | 6 +- .../methods/payments.getPaymentReceipt.md | 6 +- .../methods/payments.getSavedInfo.md | 6 +- .../methods/payments.sendPaymentForm.md | 6 +- .../methods/payments.validateRequestedInfo.md | 6 +- .../API_docs_v72/methods/phone.acceptCall.md | 6 +- .../API_docs_v72/methods/phone.confirmCall.md | 6 +- .../API_docs_v72/methods/phone.requestCall.md | 6 +- .../methods/photos.getUserPhotos.md | 6 +- .../methods/photos.uploadProfilePhoto.md | 6 +- .../methods/stickers.addStickerToSet.md | 6 +- .../methods/stickers.changeStickerPosition.md | 6 +- .../methods/stickers.createStickerSet.md | 6 +- .../methods/stickers.removeStickerFromSet.md | 6 +- .../methods/updates.getChannelDifference.md | 6 +- .../methods/updates.getDifference.md | 6 +- .../API_docs_v72/methods/updates.getState.md | 6 +- .../API_docs_v72/methods/upload.getCdnFile.md | 6 +- .../API_docs_v72/methods/upload.getFile.md | 6 +- .../API_docs_v72/methods/upload.getWebFile.md | 6 +- old_docs/API_docs_v72/types/AccountDaysTTL.md | 2 +- old_docs/API_docs_v72/types/CdnConfig.md | 2 +- old_docs/API_docs_v72/types/CdnFileHash.md | 4 +- old_docs/API_docs_v72/types/ChatInvite.md | 2 +- old_docs/API_docs_v72/types/Config.md | 2 +- old_docs/API_docs_v72/types/ContactStatus.md | 2 +- .../API_docs_v72/types/DestroyAuthKeyRes.md | 2 +- .../API_docs_v72/types/DestroySessionRes.md | 2 +- old_docs/API_docs_v72/types/Document.md | 2 +- old_docs/API_docs_v72/types/EncryptedChat.md | 4 +- .../API_docs_v72/types/ExportedChatInvite.md | 4 +- .../API_docs_v72/types/ExportedMessageLink.md | 2 +- old_docs/API_docs_v72/types/FutureSalts.md | 2 +- .../API_docs_v72/types/LangPackDifference.md | 4 +- .../API_docs_v72/types/LangPackLanguage.md | 2 +- old_docs/API_docs_v72/types/LangPackString.md | 2 +- old_docs/API_docs_v72/types/MessageMedia.md | 4 +- old_docs/API_docs_v72/types/NearestDc.md | 2 +- .../API_docs_v72/types/PeerNotifySettings.md | 2 +- old_docs/API_docs_v72/types/PeerSettings.md | 2 +- old_docs/API_docs_v72/types/Pong.md | 2 +- old_docs/API_docs_v72/types/README.md | 134 +++--- .../types/ReceivedNotifyMessage.md | 2 +- old_docs/API_docs_v72/types/ResPQ.md | 2 +- old_docs/API_docs_v72/types/RpcDropAnswer.md | 2 +- .../API_docs_v72/types/Server_DH_Params.md | 2 +- .../types/Set_client_DH_params_answer.md | 2 +- .../API_docs_v72/types/StickerSetCovered.md | 2 +- old_docs/API_docs_v72/types/Updates.md | 68 +-- old_docs/API_docs_v72/types/User.md | 10 +- old_docs/API_docs_v72/types/UserFull.md | 2 +- .../API_docs_v72/types/UserProfilePhoto.md | 2 +- old_docs/API_docs_v72/types/WallPaper.md | 2 +- old_docs/API_docs_v72/types/WebPage.md | 2 +- .../types/account.Authorizations.md | 22 + .../API_docs_v72/types/account.Password.md | 24 + .../types/account.PasswordInputSettings.md | 20 + .../types/account.PasswordSettings.md | 22 + .../types/account.PrivacyRules.md | 24 + .../API_docs_v72/types/account.TmpPassword.md | 22 + .../types/account_Authorizations.md | 22 - .../API_docs_v72/types/account_Password.md | 24 - .../types/account_PasswordInputSettings.md | 20 - .../types/account_PasswordSettings.md | 22 - .../types/account_PrivacyRules.md | 24 - .../API_docs_v72/types/account_TmpPassword.md | 22 - .../API_docs_v72/types/auth.Authorization.md | 32 ++ .../API_docs_v72/types/auth.CheckedPhone.md | 22 + old_docs/API_docs_v72/types/auth.CodeType.md | 24 + .../types/auth.ExportedAuthorization.md | 22 + .../types/auth.PasswordRecovery.md | 22 + old_docs/API_docs_v72/types/auth.SentCode.md | 28 ++ .../API_docs_v72/types/auth.SentCodeType.md | 26 ++ .../API_docs_v72/types/auth_Authorization.md | 32 -- .../API_docs_v72/types/auth_CheckedPhone.md | 22 - old_docs/API_docs_v72/types/auth_CodeType.md | 24 - .../types/auth_ExportedAuthorization.md | 22 - .../types/auth_PasswordRecovery.md | 22 - old_docs/API_docs_v72/types/auth_SentCode.md | 28 -- .../API_docs_v72/types/auth_SentCodeType.md | 26 -- .../types/channels.AdminLogResults.md | 22 + .../types/channels.ChannelParticipant.md | 22 + .../types/channels.ChannelParticipants.md | 24 + .../types/channels_AdminLogResults.md | 22 - .../types/channels_ChannelParticipant.md | 22 - .../types/channels_ChannelParticipants.md | 24 - .../API_docs_v72/types/contacts.Blocked.md | 24 + .../API_docs_v72/types/contacts.Contacts.md | 24 + old_docs/API_docs_v72/types/contacts.Found.md | 22 + .../types/contacts.ImportedContacts.md | 22 + old_docs/API_docs_v72/types/contacts.Link.md | 22 + .../types/contacts.ResolvedPeer.md | 22 + .../API_docs_v72/types/contacts.TopPeers.md | 24 + .../API_docs_v72/types/contacts_Blocked.md | 24 - .../API_docs_v72/types/contacts_Contacts.md | 24 - old_docs/API_docs_v72/types/contacts_Found.md | 22 - .../types/contacts_ImportedContacts.md | 22 - old_docs/API_docs_v72/types/contacts_Link.md | 22 - .../types/contacts_ResolvedPeer.md | 22 - .../API_docs_v72/types/contacts_TopPeers.md | 24 - old_docs/API_docs_v72/types/help.AppUpdate.md | 24 + .../API_docs_v72/types/help.ConfigSimple.md | 20 + .../API_docs_v72/types/help.InviteText.md | 22 + .../API_docs_v72/types/help.RecentMeUrls.md | 22 + old_docs/API_docs_v72/types/help.Support.md | 22 + .../API_docs_v72/types/help.TermsOfService.md | 22 + old_docs/API_docs_v72/types/help_AppUpdate.md | 24 - .../API_docs_v72/types/help_ConfigSimple.md | 20 - .../API_docs_v72/types/help_InviteText.md | 22 - .../API_docs_v72/types/help_RecentMeUrls.md | 22 - old_docs/API_docs_v72/types/help_Support.md | 22 - .../API_docs_v72/types/help_TermsOfService.md | 22 - .../types/messages.AffectedHistory.md | 26 ++ .../types/messages.AffectedMessages.md | 28 ++ .../types/messages.AllStickers.md | 26 ++ .../types/messages.ArchivedStickers.md | 22 + .../types/messages.BotCallbackAnswer.md | 22 + .../API_docs_v72/types/messages.BotResults.md | 22 + .../API_docs_v72/types/messages.ChatFull.md | 24 + old_docs/API_docs_v72/types/messages.Chats.md | 32 ++ .../API_docs_v72/types/messages.DhConfig.md | 24 + .../API_docs_v72/types/messages.Dialogs.md | 24 + .../types/messages.FavedStickers.md | 24 + .../types/messages.FeaturedStickers.md | 24 + .../API_docs_v72/types/messages.FoundGifs.md | 22 + .../API_docs_v72/types/messages.HighScores.md | 24 + .../types/messages.MessageEditData.md | 22 + .../API_docs_v72/types/messages.Messages.md | 38 ++ .../types/messages.PeerDialogs.md | 24 + .../types/messages.RecentStickers.md | 24 + .../API_docs_v72/types/messages.SavedGifs.md | 24 + .../types/messages.SentEncryptedMessage.md | 28 ++ .../API_docs_v72/types/messages.StickerSet.md | 30 ++ .../types/messages.StickerSetInstallResult.md | 24 + .../API_docs_v72/types/messages.Stickers.md | 22 + .../types/messages_AffectedHistory.md | 26 -- .../types/messages_AffectedMessages.md | 28 -- .../types/messages_AllStickers.md | 26 -- .../types/messages_ArchivedStickers.md | 22 - .../types/messages_BotCallbackAnswer.md | 22 - .../API_docs_v72/types/messages_BotResults.md | 22 - .../API_docs_v72/types/messages_ChatFull.md | 24 - old_docs/API_docs_v72/types/messages_Chats.md | 32 -- .../API_docs_v72/types/messages_DhConfig.md | 24 - .../API_docs_v72/types/messages_Dialogs.md | 24 - .../types/messages_FavedStickers.md | 24 - .../types/messages_FeaturedStickers.md | 24 - .../API_docs_v72/types/messages_FoundGifs.md | 22 - .../API_docs_v72/types/messages_HighScores.md | 24 - .../types/messages_MessageEditData.md | 22 - .../API_docs_v72/types/messages_Messages.md | 38 -- .../types/messages_PeerDialogs.md | 24 - .../types/messages_RecentStickers.md | 24 - .../API_docs_v72/types/messages_SavedGifs.md | 24 - .../types/messages_SentEncryptedMessage.md | 28 -- .../API_docs_v72/types/messages_StickerSet.md | 30 -- .../types/messages_StickerSetInstallResult.md | 24 - .../API_docs_v72/types/messages_Stickers.md | 22 - .../types/payments.PaymentForm.md | 22 + .../types/payments.PaymentReceipt.md | 22 + .../types/payments.PaymentResult.md | 24 + .../API_docs_v72/types/payments.SavedInfo.md | 22 + .../types/payments.ValidatedRequestedInfo.md | 22 + .../types/payments_PaymentForm.md | 22 - .../types/payments_PaymentReceipt.md | 22 - .../types/payments_PaymentResult.md | 24 - .../API_docs_v72/types/payments_SavedInfo.md | 22 - .../types/payments_ValidatedRequestedInfo.md | 22 - .../API_docs_v72/types/phone.PhoneCall.md | 26 ++ .../API_docs_v72/types/phone_PhoneCall.md | 26 -- old_docs/API_docs_v72/types/photos.Photo.md | 22 + old_docs/API_docs_v72/types/photos.Photos.md | 24 + old_docs/API_docs_v72/types/photos_Photo.md | 22 - old_docs/API_docs_v72/types/photos_Photos.md | 24 - .../API_docs_v72/types/storage.FileType.md | 38 ++ .../API_docs_v72/types/storage_FileType.md | 38 -- .../types/updates.ChannelDifference.md | 26 ++ .../API_docs_v72/types/updates.Difference.md | 28 ++ old_docs/API_docs_v72/types/updates.State.md | 22 + .../types/updates_ChannelDifference.md | 26 -- .../API_docs_v72/types/updates_Difference.md | 28 -- old_docs/API_docs_v72/types/updates_State.md | 22 - old_docs/API_docs_v72/types/upload.CdnFile.md | 24 + old_docs/API_docs_v72/types/upload.File.md | 24 + old_docs/API_docs_v72/types/upload.WebFile.md | 22 + old_docs/API_docs_v72/types/upload_CdnFile.md | 24 - old_docs/API_docs_v72/types/upload_File.md | 24 - old_docs/API_docs_v72/types/upload_WebFile.md | 22 - old_docs/API_docs_v73/constructors/README.md | 349 +++++++++----- .../constructors/account.authorizations.md | 38 ++ .../constructors/account.noPassword.md | 39 ++ .../constructors/account.password.md | 42 ++ .../account.passwordInputSettings.md | 41 ++ .../constructors/account.passwordSettings.md | 38 ++ .../constructors/account.privacyRules.md | 39 ++ .../constructors/account.tmpPassword.md | 39 ++ .../constructors/account_authorizations.md | 38 -- .../constructors/account_noPassword.md | 39 -- .../constructors/account_password.md | 42 -- .../account_passwordInputSettings.md | 41 -- .../constructors/account_passwordSettings.md | 38 -- .../constructors/account_privacyRules.md | 39 -- .../constructors/account_tmpPassword.md | 39 -- .../constructors/auth.authorization.md | 39 ++ .../constructors/auth.checkedPhone.md | 38 ++ .../constructors/auth.codeTypeCall.md | 33 ++ .../constructors/auth.codeTypeFlashCall.md | 33 ++ .../constructors/auth.codeTypeSms.md | 33 ++ .../auth.exportedAuthorization.md | 39 ++ .../constructors/auth.passwordRecovery.md | 38 ++ .../constructors/auth.sentCode.md | 42 ++ .../constructors/auth.sentCodeTypeApp.md | 38 ++ .../constructors/auth.sentCodeTypeCall.md | 38 ++ .../auth.sentCodeTypeFlashCall.md | 38 ++ .../constructors/auth.sentCodeTypeSms.md | 38 ++ .../constructors/auth_authorization.md | 39 -- .../constructors/auth_checkedPhone.md | 38 -- .../constructors/auth_codeTypeCall.md | 33 -- .../constructors/auth_codeTypeFlashCall.md | 33 -- .../constructors/auth_codeTypeSms.md | 33 -- .../auth_exportedAuthorization.md | 39 -- .../constructors/auth_passwordRecovery.md | 38 -- .../constructors/auth_sentCode.md | 42 -- .../constructors/auth_sentCodeTypeApp.md | 38 -- .../constructors/auth_sentCodeTypeCall.md | 38 -- .../auth_sentCodeTypeFlashCall.md | 38 -- .../constructors/auth_sentCodeTypeSms.md | 38 -- .../constructors/channels.adminLogResults.md | 40 ++ .../channels.channelParticipant.md | 39 ++ .../channels.channelParticipants.md | 40 ++ ...channels.channelParticipantsNotModified.md | 33 ++ .../constructors/channels_adminLogResults.md | 40 -- .../channels_channelParticipant.md | 39 -- .../channels_channelParticipants.md | 40 -- ...channels_channelParticipantsNotModified.md | 33 -- .../constructors/contacts.blocked.md | 39 ++ .../constructors/contacts.blockedSlice.md | 40 ++ .../constructors/contacts.contacts.md | 40 ++ .../contacts.contactsNotModified.md | 33 ++ .../constructors/contacts.found.md | 40 ++ .../constructors/contacts.importedContacts.md | 41 ++ .../constructors/contacts.link.md | 40 ++ .../constructors/contacts.resolvedPeer.md | 40 ++ .../constructors/contacts.topPeers.md | 40 ++ .../contacts.topPeersNotModified.md | 33 ++ .../constructors/contacts_blocked.md | 39 -- .../constructors/contacts_blockedSlice.md | 40 -- .../constructors/contacts_contacts.md | 40 -- .../contacts_contactsNotModified.md | 33 -- .../constructors/contacts_found.md | 40 -- .../constructors/contacts_importedContacts.md | 41 -- .../constructors/contacts_link.md | 40 -- .../constructors/contacts_resolvedPeer.md | 40 -- .../constructors/contacts_topPeers.md | 40 -- .../contacts_topPeersNotModified.md | 33 -- .../constructors/help.appUpdate.md | 41 ++ .../constructors/help.inviteText.md | 38 ++ .../constructors/help.noAppUpdate.md | 33 ++ .../constructors/help.recentMeUrls.md | 40 ++ .../API_docs_v73/constructors/help.support.md | 39 ++ .../constructors/help.termsOfService.md | 38 ++ .../constructors/help_appUpdate.md | 41 -- .../constructors/help_inviteText.md | 38 -- .../constructors/help_noAppUpdate.md | 33 -- .../constructors/help_recentMeUrls.md | 40 -- .../API_docs_v73/constructors/help_support.md | 39 -- .../constructors/help_termsOfService.md | 38 -- .../constructors/messages.affectedHistory.md | 40 ++ .../constructors/messages.affectedMessages.md | 39 ++ .../constructors/messages.allStickers.md | 39 ++ .../messages.allStickersNotModified.md | 33 ++ .../constructors/messages.archivedStickers.md | 39 ++ .../messages.botCallbackAnswer.md | 43 ++ .../constructors/messages.botResults.md | 44 ++ .../constructors/messages.channelMessages.md | 42 ++ .../constructors/messages.chatFull.md | 40 ++ .../constructors/messages.chats.md | 38 ++ .../constructors/messages.chatsSlice.md | 39 ++ .../constructors/messages.dhConfig.md | 41 ++ .../messages.dhConfigNotModified.md | 38 ++ .../constructors/messages.dialogs.md | 41 ++ .../constructors/messages.dialogsSlice.md | 42 ++ .../constructors/messages.favedStickers.md | 40 ++ .../messages.favedStickersNotModified.md | 33 ++ .../constructors/messages.featuredStickers.md | 40 ++ .../messages.featuredStickersNotModified.md | 33 ++ .../constructors/messages.foundGifs.md | 39 ++ .../constructors/messages.highScores.md | 39 ++ .../constructors/messages.messageEditData.md | 38 ++ .../constructors/messages.messages.md | 40 ++ .../messages.messagesNotModified.md | 38 ++ .../constructors/messages.messagesSlice.md | 41 ++ .../constructors/messages.peerDialogs.md | 42 ++ .../constructors/messages.recentStickers.md | 39 ++ .../messages.recentStickersNotModified.md | 33 ++ .../constructors/messages.savedGifs.md | 39 ++ .../messages.savedGifsNotModified.md | 33 ++ .../messages.sentEncryptedFile.md | 39 ++ .../messages.sentEncryptedMessage.md | 38 ++ .../constructors/messages.stickerSet.md | 40 ++ ...messages.stickerSetInstallResultArchive.md | 38 ++ ...messages.stickerSetInstallResultSuccess.md | 33 ++ .../constructors/messages.stickers.md | 39 ++ .../messages.stickersNotModified.md | 33 ++ .../constructors/messages_affectedHistory.md | 40 -- .../constructors/messages_affectedMessages.md | 39 -- .../constructors/messages_allStickers.md | 39 -- .../messages_allStickersNotModified.md | 33 -- .../constructors/messages_archivedStickers.md | 39 -- .../messages_botCallbackAnswer.md | 43 -- .../constructors/messages_botResults.md | 44 -- .../constructors/messages_channelMessages.md | 42 -- .../constructors/messages_chatFull.md | 40 -- .../constructors/messages_chats.md | 38 -- .../constructors/messages_chatsSlice.md | 39 -- .../constructors/messages_dhConfig.md | 41 -- .../messages_dhConfigNotModified.md | 38 -- .../constructors/messages_dialogs.md | 41 -- .../constructors/messages_dialogsSlice.md | 42 -- .../constructors/messages_favedStickers.md | 40 -- .../messages_favedStickersNotModified.md | 33 -- .../constructors/messages_featuredStickers.md | 40 -- .../messages_featuredStickersNotModified.md | 33 -- .../constructors/messages_foundGifs.md | 39 -- .../constructors/messages_highScores.md | 39 -- .../constructors/messages_messageEditData.md | 38 -- .../constructors/messages_messages.md | 40 -- .../messages_messagesNotModified.md | 38 -- .../constructors/messages_messagesSlice.md | 41 -- .../constructors/messages_peerDialogs.md | 42 -- .../constructors/messages_recentStickers.md | 39 -- .../messages_recentStickersNotModified.md | 33 -- .../constructors/messages_savedGifs.md | 39 -- .../messages_savedGifsNotModified.md | 33 -- .../messages_sentEncryptedFile.md | 39 -- .../messages_sentEncryptedMessage.md | 38 -- .../constructors/messages_stickerSet.md | 40 -- ...messages_stickerSetInstallResultArchive.md | 38 -- ...messages_stickerSetInstallResultSuccess.md | 33 -- .../constructors/messages_stickers.md | 39 -- .../messages_stickersNotModified.md | 33 -- .../constructors/payments.paymentForm.md | 48 ++ .../constructors/payments.paymentReceipt.md | 47 ++ .../constructors/payments.paymentResult.md | 38 ++ .../payments.paymentVerficationNeeded.md | 38 ++ .../constructors/payments.savedInfo.md | 39 ++ .../payments.validatedRequestedInfo.md | 39 ++ .../constructors/payments_paymentForm.md | 48 -- .../constructors/payments_paymentReceipt.md | 47 -- .../constructors/payments_paymentResult.md | 38 -- .../payments_paymentVerficationNeeded.md | 38 -- .../constructors/payments_savedInfo.md | 39 -- .../payments_validatedRequestedInfo.md | 39 -- .../constructors/phone.phoneCall.md | 39 ++ .../constructors/phone_phoneCall.md | 39 -- .../API_docs_v73/constructors/photos.photo.md | 39 ++ .../constructors/photos.photos.md | 39 ++ .../constructors/photos.photosSlice.md | 40 ++ .../API_docs_v73/constructors/photos_photo.md | 39 -- .../constructors/photos_photos.md | 39 -- .../constructors/photos_photosSlice.md | 40 -- .../constructors/storage.fileGif.md | 33 ++ .../constructors/storage.fileJpeg.md | 33 ++ .../constructors/storage.fileMov.md | 33 ++ .../constructors/storage.fileMp3.md | 33 ++ .../constructors/storage.fileMp4.md | 33 ++ .../constructors/storage.filePartial.md | 33 ++ .../constructors/storage.filePdf.md | 33 ++ .../constructors/storage.filePng.md | 33 ++ .../constructors/storage.fileUnknown.md | 33 ++ .../constructors/storage.fileWebp.md | 33 ++ .../constructors/storage_fileGif.md | 33 -- .../constructors/storage_fileJpeg.md | 33 -- .../constructors/storage_fileMov.md | 33 -- .../constructors/storage_fileMp3.md | 33 -- .../constructors/storage_fileMp4.md | 33 -- .../constructors/storage_filePartial.md | 33 -- .../constructors/storage_filePdf.md | 33 -- .../constructors/storage_filePng.md | 33 -- .../constructors/storage_fileUnknown.md | 33 -- .../constructors/storage_fileWebp.md | 33 -- .../constructors/updateNewStickerSet.md | 6 +- .../constructors/updates.channelDifference.md | 44 ++ .../updates.channelDifferenceEmpty.md | 40 ++ .../updates.channelDifferenceTooLong.md | 58 +++ .../constructors/updates.difference.md | 43 ++ .../constructors/updates.differenceEmpty.md | 39 ++ .../constructors/updates.differenceSlice.md | 43 ++ .../constructors/updates.differenceTooLong.md | 38 ++ .../constructors/updates.state.md | 42 ++ .../constructors/updates_channelDifference.md | 44 -- .../updates_channelDifferenceEmpty.md | 40 -- .../updates_channelDifferenceTooLong.md | 58 --- .../constructors/updates_difference.md | 43 -- .../constructors/updates_differenceEmpty.md | 39 -- .../constructors/updates_differenceSlice.md | 43 -- .../constructors/updates_differenceTooLong.md | 38 -- .../constructors/updates_state.md | 42 -- .../constructors/upload.cdnFile.md | 38 ++ .../upload.cdnFileReuploadNeeded.md | 38 ++ .../API_docs_v73/constructors/upload.file.md | 40 ++ .../constructors/upload.fileCdnRedirect.md | 42 ++ .../constructors/upload.webFile.md | 42 ++ .../constructors/upload_cdnFile.md | 38 -- .../upload_cdnFileReuploadNeeded.md | 38 -- .../API_docs_v73/constructors/upload_file.md | 40 -- .../constructors/upload_fileCdnRedirect.md | 42 -- .../constructors/upload_webFile.md | 42 -- .../API_docs_v73/constructors/userFull.md | 6 +- .../methods/account.getAuthorizations.md | 6 +- .../methods/account.getPassword.md | 6 +- .../methods/account.getPasswordSettings.md | 6 +- .../methods/account.getPrivacy.md | 6 +- .../methods/account.getTmpPassword.md | 6 +- .../methods/account.sendChangePhoneCode.md | 6 +- .../methods/account.sendConfirmPhoneCode.md | 6 +- .../methods/account.setPrivacy.md | 6 +- old_docs/API_docs_v73/methods/api_README.md | 194 ++++---- .../methods/auth.checkPassword.md | 6 +- .../API_docs_v73/methods/auth.checkPhone.md | 6 +- .../methods/auth.exportAuthorization.md | 6 +- .../methods/auth.importAuthorization.md | 6 +- .../methods/auth.importBotAuthorization.md | 6 +- .../methods/auth.recoverPassword.md | 6 +- .../methods/auth.requestPasswordRecovery.md | 6 +- .../API_docs_v73/methods/auth.resendCode.md | 6 +- .../API_docs_v73/methods/auth.sendCode.md | 6 +- old_docs/API_docs_v73/methods/auth.signIn.md | 6 +- old_docs/API_docs_v73/methods/auth.signUp.md | 6 +- .../methods/channels.deleteMessages.md | 6 +- .../methods/channels.deleteUserHistory.md | 6 +- .../methods/channels.getAdminLog.md | 6 +- .../channels.getAdminedPublicChannels.md | 6 +- .../methods/channels.getChannels.md | 6 +- .../methods/channels.getFullChannel.md | 6 +- .../methods/channels.getMessages.md | 6 +- .../methods/channels.getParticipant.md | 6 +- .../methods/channels.getParticipants.md | 6 +- .../methods/contacts.deleteContact.md | 6 +- .../methods/contacts.getBlocked.md | 6 +- .../methods/contacts.getContacts.md | 6 +- .../methods/contacts.getTopPeers.md | 6 +- .../methods/contacts.importContacts.md | 6 +- .../methods/contacts.resolveUsername.md | 6 +- .../API_docs_v73/methods/contacts.search.md | 6 +- .../API_docs_v73/methods/help.getAppUpdate.md | 6 +- .../methods/help.getInviteText.md | 6 +- .../methods/help.getRecentMeUrls.md | 6 +- .../API_docs_v73/methods/help.getSupport.md | 6 +- .../methods/help.getTermsOfService.md | 6 +- .../methods/messages.deleteHistory.md | 6 +- .../methods/messages.deleteMessages.md | 6 +- .../methods/messages.getAllChats.md | 6 +- .../methods/messages.getAllStickers.md | 6 +- .../methods/messages.getArchivedStickers.md | 6 +- .../methods/messages.getBotCallbackAnswer.md | 6 +- .../API_docs_v73/methods/messages.getChats.md | 6 +- .../methods/messages.getCommonChats.md | 6 +- .../methods/messages.getDhConfig.md | 6 +- .../methods/messages.getDialogs.md | 6 +- .../methods/messages.getFavedStickers.md | 6 +- .../methods/messages.getFeaturedStickers.md | 6 +- .../methods/messages.getFullChat.md | 6 +- .../methods/messages.getGameHighScores.md | 6 +- .../methods/messages.getHistory.md | 6 +- .../methods/messages.getInlineBotResults.md | 6 +- .../messages.getInlineGameHighScores.md | 6 +- .../methods/messages.getMaskStickers.md | 6 +- .../methods/messages.getMessageEditData.md | 6 +- .../methods/messages.getMessages.md | 6 +- .../methods/messages.getPeerDialogs.md | 6 +- .../methods/messages.getPinnedDialogs.md | 6 +- .../methods/messages.getRecentLocations.md | 6 +- .../methods/messages.getRecentStickers.md | 6 +- .../methods/messages.getSavedGifs.md | 6 +- .../methods/messages.getStickerSet.md | 6 +- .../methods/messages.getUnreadMentions.md | 6 +- .../methods/messages.installStickerSet.md | 6 +- .../methods/messages.readHistory.md | 6 +- .../methods/messages.readMentions.md | 6 +- .../methods/messages.readMessageContents.md | 6 +- .../API_docs_v73/methods/messages.search.md | 6 +- .../methods/messages.searchGifs.md | 6 +- .../methods/messages.searchGlobal.md | 6 +- .../methods/messages.sendEncrypted.md | 14 +- .../methods/messages.sendEncryptedFile.md | 14 +- .../methods/messages.sendEncryptedService.md | 14 +- .../methods/payments.getPaymentForm.md | 6 +- .../methods/payments.getPaymentReceipt.md | 6 +- .../methods/payments.getSavedInfo.md | 6 +- .../methods/payments.sendPaymentForm.md | 6 +- .../methods/payments.validateRequestedInfo.md | 6 +- .../API_docs_v73/methods/phone.acceptCall.md | 6 +- .../API_docs_v73/methods/phone.confirmCall.md | 6 +- .../API_docs_v73/methods/phone.requestCall.md | 6 +- .../methods/photos.getUserPhotos.md | 6 +- .../methods/photos.uploadProfilePhoto.md | 6 +- .../methods/stickers.addStickerToSet.md | 6 +- .../methods/stickers.changeStickerPosition.md | 6 +- .../methods/stickers.createStickerSet.md | 6 +- .../methods/stickers.removeStickerFromSet.md | 6 +- .../methods/updates.getChannelDifference.md | 6 +- .../methods/updates.getDifference.md | 6 +- .../API_docs_v73/methods/updates.getState.md | 6 +- .../API_docs_v73/methods/upload.getCdnFile.md | 6 +- .../API_docs_v73/methods/upload.getFile.md | 6 +- .../API_docs_v73/methods/upload.getWebFile.md | 6 +- old_docs/API_docs_v73/types/AccountDaysTTL.md | 2 +- old_docs/API_docs_v73/types/CdnConfig.md | 2 +- old_docs/API_docs_v73/types/CdnFileHash.md | 4 +- old_docs/API_docs_v73/types/ChatInvite.md | 2 +- old_docs/API_docs_v73/types/Config.md | 2 +- old_docs/API_docs_v73/types/ContactStatus.md | 2 +- old_docs/API_docs_v73/types/Document.md | 2 +- old_docs/API_docs_v73/types/EncryptedChat.md | 4 +- old_docs/API_docs_v73/types/EncryptedFile.md | 2 +- .../API_docs_v73/types/ExportedChatInvite.md | 4 +- .../API_docs_v73/types/ExportedMessageLink.md | 2 +- .../API_docs_v73/types/LangPackDifference.md | 4 +- .../API_docs_v73/types/LangPackLanguage.md | 2 +- old_docs/API_docs_v73/types/LangPackString.md | 2 +- old_docs/API_docs_v73/types/MessageMedia.md | 4 +- old_docs/API_docs_v73/types/NearestDc.md | 2 +- .../API_docs_v73/types/PeerNotifySettings.md | 2 +- old_docs/API_docs_v73/types/PeerSettings.md | 2 +- old_docs/API_docs_v73/types/README.md | 132 +++--- .../types/ReceivedNotifyMessage.md | 2 +- .../API_docs_v73/types/StickerSetCovered.md | 2 +- old_docs/API_docs_v73/types/Updates.md | 70 +-- old_docs/API_docs_v73/types/User.md | 10 +- old_docs/API_docs_v73/types/UserFull.md | 2 +- .../API_docs_v73/types/UserProfilePhoto.md | 2 +- old_docs/API_docs_v73/types/WallPaper.md | 2 +- old_docs/API_docs_v73/types/WebPage.md | 2 +- .../types/account.Authorizations.md | 22 + .../API_docs_v73/types/account.Password.md | 24 + .../types/account.PasswordInputSettings.md | 20 + .../types/account.PasswordSettings.md | 22 + .../types/account.PrivacyRules.md | 24 + .../API_docs_v73/types/account.TmpPassword.md | 22 + .../types/account_Authorizations.md | 22 - .../API_docs_v73/types/account_Password.md | 24 - .../types/account_PasswordInputSettings.md | 20 - .../types/account_PasswordSettings.md | 22 - .../types/account_PrivacyRules.md | 24 - .../API_docs_v73/types/account_TmpPassword.md | 22 - .../API_docs_v73/types/auth.Authorization.md | 32 ++ .../API_docs_v73/types/auth.CheckedPhone.md | 22 + old_docs/API_docs_v73/types/auth.CodeType.md | 24 + .../types/auth.ExportedAuthorization.md | 22 + .../types/auth.PasswordRecovery.md | 22 + old_docs/API_docs_v73/types/auth.SentCode.md | 28 ++ .../API_docs_v73/types/auth.SentCodeType.md | 26 ++ .../API_docs_v73/types/auth_Authorization.md | 32 -- .../API_docs_v73/types/auth_CheckedPhone.md | 22 - old_docs/API_docs_v73/types/auth_CodeType.md | 24 - .../types/auth_ExportedAuthorization.md | 22 - .../types/auth_PasswordRecovery.md | 22 - old_docs/API_docs_v73/types/auth_SentCode.md | 28 -- .../API_docs_v73/types/auth_SentCodeType.md | 26 -- .../types/channels.AdminLogResults.md | 22 + .../types/channels.ChannelParticipant.md | 22 + .../types/channels.ChannelParticipants.md | 24 + .../types/channels_AdminLogResults.md | 22 - .../types/channels_ChannelParticipant.md | 22 - .../types/channels_ChannelParticipants.md | 24 - .../API_docs_v73/types/contacts.Blocked.md | 24 + .../API_docs_v73/types/contacts.Contacts.md | 24 + old_docs/API_docs_v73/types/contacts.Found.md | 22 + .../types/contacts.ImportedContacts.md | 22 + old_docs/API_docs_v73/types/contacts.Link.md | 22 + .../types/contacts.ResolvedPeer.md | 22 + .../API_docs_v73/types/contacts.TopPeers.md | 24 + .../API_docs_v73/types/contacts_Blocked.md | 24 - .../API_docs_v73/types/contacts_Contacts.md | 24 - old_docs/API_docs_v73/types/contacts_Found.md | 22 - .../types/contacts_ImportedContacts.md | 22 - old_docs/API_docs_v73/types/contacts_Link.md | 22 - .../types/contacts_ResolvedPeer.md | 22 - .../API_docs_v73/types/contacts_TopPeers.md | 24 - old_docs/API_docs_v73/types/help.AppUpdate.md | 24 + .../API_docs_v73/types/help.InviteText.md | 22 + .../API_docs_v73/types/help.RecentMeUrls.md | 22 + old_docs/API_docs_v73/types/help.Support.md | 22 + .../API_docs_v73/types/help.TermsOfService.md | 22 + old_docs/API_docs_v73/types/help_AppUpdate.md | 24 - .../API_docs_v73/types/help_InviteText.md | 22 - .../API_docs_v73/types/help_RecentMeUrls.md | 22 - old_docs/API_docs_v73/types/help_Support.md | 22 - .../API_docs_v73/types/help_TermsOfService.md | 22 - .../types/messages.AffectedHistory.md | 26 ++ .../types/messages.AffectedMessages.md | 28 ++ .../types/messages.AllStickers.md | 26 ++ .../types/messages.ArchivedStickers.md | 22 + .../types/messages.BotCallbackAnswer.md | 22 + .../API_docs_v73/types/messages.BotResults.md | 22 + .../API_docs_v73/types/messages.ChatFull.md | 24 + old_docs/API_docs_v73/types/messages.Chats.md | 32 ++ .../API_docs_v73/types/messages.DhConfig.md | 24 + .../API_docs_v73/types/messages.Dialogs.md | 24 + .../types/messages.FavedStickers.md | 24 + .../types/messages.FeaturedStickers.md | 24 + .../API_docs_v73/types/messages.FoundGifs.md | 22 + .../API_docs_v73/types/messages.HighScores.md | 24 + .../types/messages.MessageEditData.md | 22 + .../API_docs_v73/types/messages.Messages.md | 40 ++ .../types/messages.PeerDialogs.md | 24 + .../types/messages.RecentStickers.md | 24 + .../API_docs_v73/types/messages.SavedGifs.md | 24 + .../types/messages.SentEncryptedMessage.md | 28 ++ .../API_docs_v73/types/messages.StickerSet.md | 30 ++ .../types/messages.StickerSetInstallResult.md | 24 + .../API_docs_v73/types/messages.Stickers.md | 22 + .../types/messages_AffectedHistory.md | 26 -- .../types/messages_AffectedMessages.md | 28 -- .../types/messages_AllStickers.md | 26 -- .../types/messages_ArchivedStickers.md | 22 - .../types/messages_BotCallbackAnswer.md | 22 - .../API_docs_v73/types/messages_BotResults.md | 22 - .../API_docs_v73/types/messages_ChatFull.md | 24 - old_docs/API_docs_v73/types/messages_Chats.md | 32 -- .../API_docs_v73/types/messages_DhConfig.md | 24 - .../API_docs_v73/types/messages_Dialogs.md | 24 - .../types/messages_FavedStickers.md | 24 - .../types/messages_FeaturedStickers.md | 24 - .../API_docs_v73/types/messages_FoundGifs.md | 22 - .../API_docs_v73/types/messages_HighScores.md | 24 - .../types/messages_MessageEditData.md | 22 - .../API_docs_v73/types/messages_Messages.md | 40 -- .../types/messages_PeerDialogs.md | 24 - .../types/messages_RecentStickers.md | 24 - .../API_docs_v73/types/messages_SavedGifs.md | 24 - .../types/messages_SentEncryptedMessage.md | 28 -- .../API_docs_v73/types/messages_StickerSet.md | 30 -- .../types/messages_StickerSetInstallResult.md | 24 - .../API_docs_v73/types/messages_Stickers.md | 22 - .../types/payments.PaymentForm.md | 22 + .../types/payments.PaymentReceipt.md | 22 + .../types/payments.PaymentResult.md | 24 + .../API_docs_v73/types/payments.SavedInfo.md | 22 + .../types/payments.ValidatedRequestedInfo.md | 22 + .../types/payments_PaymentForm.md | 22 - .../types/payments_PaymentReceipt.md | 22 - .../types/payments_PaymentResult.md | 24 - .../API_docs_v73/types/payments_SavedInfo.md | 22 - .../types/payments_ValidatedRequestedInfo.md | 22 - .../API_docs_v73/types/phone.PhoneCall.md | 26 ++ .../API_docs_v73/types/phone_PhoneCall.md | 26 -- old_docs/API_docs_v73/types/photos.Photo.md | 22 + old_docs/API_docs_v73/types/photos.Photos.md | 24 + old_docs/API_docs_v73/types/photos_Photo.md | 22 - old_docs/API_docs_v73/types/photos_Photos.md | 24 - .../API_docs_v73/types/storage.FileType.md | 38 ++ .../API_docs_v73/types/storage_FileType.md | 38 -- .../types/updates.ChannelDifference.md | 26 ++ .../API_docs_v73/types/updates.Difference.md | 28 ++ old_docs/API_docs_v73/types/updates.State.md | 22 + .../types/updates_ChannelDifference.md | 26 -- .../API_docs_v73/types/updates_Difference.md | 28 -- old_docs/API_docs_v73/types/updates_State.md | 22 - old_docs/API_docs_v73/types/upload.CdnFile.md | 24 + old_docs/API_docs_v73/types/upload.File.md | 24 + old_docs/API_docs_v73/types/upload.WebFile.md | 22 + old_docs/API_docs_v73/types/upload_CdnFile.md | 24 - old_docs/API_docs_v73/types/upload_File.md | 24 - old_docs/API_docs_v73/types/upload_WebFile.md | 22 - old_docs/API_docs_v75/constructors/README.md | 354 +++++++++----- .../constructors/account.authorizations.md | 38 ++ .../constructors/account.noPassword.md | 39 ++ .../constructors/account.password.md | 42 ++ .../account.passwordInputSettings.md | 41 ++ .../constructors/account.passwordSettings.md | 38 ++ .../constructors/account.privacyRules.md | 39 ++ .../constructors/account.tmpPassword.md | 39 ++ .../constructors/account.webAuthorizations.md | 39 ++ .../constructors/account_authorizations.md | 38 -- .../constructors/account_noPassword.md | 39 -- .../constructors/account_password.md | 42 -- .../account_passwordInputSettings.md | 41 -- .../constructors/account_passwordSettings.md | 38 -- .../constructors/account_privacyRules.md | 39 -- .../constructors/account_tmpPassword.md | 39 -- .../constructors/account_webAuthorizations.md | 39 -- .../constructors/auth.authorization.md | 39 ++ .../constructors/auth.checkedPhone.md | 38 ++ .../constructors/auth.codeTypeCall.md | 33 ++ .../constructors/auth.codeTypeFlashCall.md | 33 ++ .../constructors/auth.codeTypeSms.md | 33 ++ .../auth.exportedAuthorization.md | 39 ++ .../constructors/auth.passwordRecovery.md | 38 ++ .../constructors/auth.sentCode.md | 42 ++ .../constructors/auth.sentCodeTypeApp.md | 38 ++ .../constructors/auth.sentCodeTypeCall.md | 38 ++ .../auth.sentCodeTypeFlashCall.md | 38 ++ .../constructors/auth.sentCodeTypeSms.md | 38 ++ .../constructors/auth_authorization.md | 39 -- .../constructors/auth_checkedPhone.md | 38 -- .../constructors/auth_codeTypeCall.md | 33 -- .../constructors/auth_codeTypeFlashCall.md | 33 -- .../constructors/auth_codeTypeSms.md | 33 -- .../auth_exportedAuthorization.md | 39 -- .../constructors/auth_passwordRecovery.md | 38 -- .../constructors/auth_sentCode.md | 42 -- .../constructors/auth_sentCodeTypeApp.md | 38 -- .../constructors/auth_sentCodeTypeCall.md | 38 -- .../auth_sentCodeTypeFlashCall.md | 38 -- .../constructors/auth_sentCodeTypeSms.md | 38 -- .../constructors/channels.adminLogResults.md | 40 ++ .../channels.channelParticipant.md | 39 ++ .../channels.channelParticipants.md | 40 ++ ...channels.channelParticipantsNotModified.md | 33 ++ .../constructors/channels_adminLogResults.md | 40 -- .../channels_channelParticipant.md | 39 -- .../channels_channelParticipants.md | 40 -- ...channels_channelParticipantsNotModified.md | 33 -- .../constructors/contacts.blocked.md | 39 ++ .../constructors/contacts.blockedSlice.md | 40 ++ .../constructors/contacts.contacts.md | 40 ++ .../contacts.contactsNotModified.md | 33 ++ .../constructors/contacts.found.md | 41 ++ .../constructors/contacts.importedContacts.md | 41 ++ .../constructors/contacts.link.md | 40 ++ .../constructors/contacts.resolvedPeer.md | 40 ++ .../constructors/contacts.topPeers.md | 40 ++ .../contacts.topPeersNotModified.md | 33 ++ .../constructors/contacts_blocked.md | 39 -- .../constructors/contacts_blockedSlice.md | 40 -- .../constructors/contacts_contacts.md | 40 -- .../contacts_contactsNotModified.md | 33 -- .../constructors/contacts_found.md | 41 -- .../constructors/contacts_importedContacts.md | 41 -- .../constructors/contacts_link.md | 40 -- .../constructors/contacts_resolvedPeer.md | 40 -- .../constructors/contacts_topPeers.md | 40 -- .../contacts_topPeersNotModified.md | 33 -- .../constructors/help.appUpdate.md | 41 ++ .../constructors/help.inviteText.md | 38 ++ .../constructors/help.noAppUpdate.md | 33 ++ .../constructors/help.recentMeUrls.md | 40 ++ .../API_docs_v75/constructors/help.support.md | 39 ++ .../constructors/help.termsOfService.md | 38 ++ .../constructors/help_appUpdate.md | 41 -- .../constructors/help_inviteText.md | 38 -- .../constructors/help_noAppUpdate.md | 33 -- .../constructors/help_recentMeUrls.md | 40 -- .../API_docs_v75/constructors/help_support.md | 39 -- .../constructors/help_termsOfService.md | 38 -- .../constructors/messages.affectedHistory.md | 40 ++ .../constructors/messages.affectedMessages.md | 39 ++ .../constructors/messages.allStickers.md | 39 ++ .../messages.allStickersNotModified.md | 33 ++ .../constructors/messages.archivedStickers.md | 39 ++ .../messages.botCallbackAnswer.md | 43 ++ .../constructors/messages.botResults.md | 44 ++ .../constructors/messages.channelMessages.md | 42 ++ .../constructors/messages.chatFull.md | 40 ++ .../constructors/messages.chats.md | 38 ++ .../constructors/messages.chatsSlice.md | 39 ++ .../constructors/messages.dhConfig.md | 41 ++ .../messages.dhConfigNotModified.md | 38 ++ .../constructors/messages.dialogs.md | 41 ++ .../constructors/messages.dialogsSlice.md | 42 ++ .../constructors/messages.favedStickers.md | 40 ++ .../messages.favedStickersNotModified.md | 33 ++ .../constructors/messages.featuredStickers.md | 40 ++ .../messages.featuredStickersNotModified.md | 33 ++ .../constructors/messages.foundGifs.md | 39 ++ .../constructors/messages.highScores.md | 39 ++ .../constructors/messages.messageEditData.md | 38 ++ .../constructors/messages.messages.md | 40 ++ .../messages.messagesNotModified.md | 38 ++ .../constructors/messages.messagesSlice.md | 41 ++ .../constructors/messages.peerDialogs.md | 42 ++ .../constructors/messages.recentStickers.md | 39 ++ .../messages.recentStickersNotModified.md | 33 ++ .../constructors/messages.savedGifs.md | 39 ++ .../messages.savedGifsNotModified.md | 33 ++ .../messages.sentEncryptedFile.md | 39 ++ .../messages.sentEncryptedMessage.md | 38 ++ .../constructors/messages.stickerSet.md | 40 ++ ...messages.stickerSetInstallResultArchive.md | 38 ++ ...messages.stickerSetInstallResultSuccess.md | 33 ++ .../constructors/messages.stickers.md | 39 ++ .../messages.stickersNotModified.md | 33 ++ .../constructors/messages_affectedHistory.md | 40 -- .../constructors/messages_affectedMessages.md | 39 -- .../constructors/messages_allStickers.md | 39 -- .../messages_allStickersNotModified.md | 33 -- .../constructors/messages_archivedStickers.md | 39 -- .../messages_botCallbackAnswer.md | 43 -- .../constructors/messages_botResults.md | 44 -- .../constructors/messages_channelMessages.md | 42 -- .../constructors/messages_chatFull.md | 40 -- .../constructors/messages_chats.md | 38 -- .../constructors/messages_chatsSlice.md | 39 -- .../constructors/messages_dhConfig.md | 41 -- .../messages_dhConfigNotModified.md | 38 -- .../constructors/messages_dialogs.md | 41 -- .../constructors/messages_dialogsSlice.md | 42 -- .../constructors/messages_favedStickers.md | 40 -- .../messages_favedStickersNotModified.md | 33 -- .../constructors/messages_featuredStickers.md | 40 -- .../messages_featuredStickersNotModified.md | 33 -- .../constructors/messages_foundGifs.md | 39 -- .../constructors/messages_highScores.md | 39 -- .../constructors/messages_messageEditData.md | 38 -- .../constructors/messages_messages.md | 40 -- .../messages_messagesNotModified.md | 38 -- .../constructors/messages_messagesSlice.md | 41 -- .../constructors/messages_peerDialogs.md | 42 -- .../constructors/messages_recentStickers.md | 39 -- .../messages_recentStickersNotModified.md | 33 -- .../constructors/messages_savedGifs.md | 39 -- .../messages_savedGifsNotModified.md | 33 -- .../messages_sentEncryptedFile.md | 39 -- .../messages_sentEncryptedMessage.md | 38 -- .../constructors/messages_stickerSet.md | 40 -- ...messages_stickerSetInstallResultArchive.md | 38 -- ...messages_stickerSetInstallResultSuccess.md | 33 -- .../constructors/messages_stickers.md | 39 -- .../messages_stickersNotModified.md | 33 -- .../constructors/payments.paymentForm.md | 48 ++ .../constructors/payments.paymentReceipt.md | 47 ++ .../constructors/payments.paymentResult.md | 38 ++ .../payments.paymentVerficationNeeded.md | 38 ++ .../constructors/payments.savedInfo.md | 39 ++ .../payments.validatedRequestedInfo.md | 39 ++ .../constructors/payments_paymentForm.md | 48 -- .../constructors/payments_paymentReceipt.md | 47 -- .../constructors/payments_paymentResult.md | 38 -- .../payments_paymentVerficationNeeded.md | 38 -- .../constructors/payments_savedInfo.md | 39 -- .../payments_validatedRequestedInfo.md | 39 -- .../constructors/phone.phoneCall.md | 39 ++ .../constructors/phone_phoneCall.md | 39 -- .../API_docs_v75/constructors/photos.photo.md | 39 ++ .../constructors/photos.photos.md | 39 ++ .../constructors/photos.photosSlice.md | 40 ++ .../API_docs_v75/constructors/photos_photo.md | 39 -- .../constructors/photos_photos.md | 39 -- .../constructors/photos_photosSlice.md | 40 -- .../constructors/storage.fileGif.md | 33 ++ .../constructors/storage.fileJpeg.md | 33 ++ .../constructors/storage.fileMov.md | 33 ++ .../constructors/storage.fileMp3.md | 33 ++ .../constructors/storage.fileMp4.md | 33 ++ .../constructors/storage.filePartial.md | 33 ++ .../constructors/storage.filePdf.md | 33 ++ .../constructors/storage.filePng.md | 33 ++ .../constructors/storage.fileUnknown.md | 33 ++ .../constructors/storage.fileWebp.md | 33 ++ .../constructors/storage_fileGif.md | 33 -- .../constructors/storage_fileJpeg.md | 33 -- .../constructors/storage_fileMov.md | 33 -- .../constructors/storage_fileMp3.md | 33 -- .../constructors/storage_fileMp4.md | 33 -- .../constructors/storage_filePartial.md | 33 -- .../constructors/storage_filePdf.md | 33 -- .../constructors/storage_filePng.md | 33 -- .../constructors/storage_fileUnknown.md | 33 -- .../constructors/storage_fileWebp.md | 33 -- .../constructors/updateNewStickerSet.md | 6 +- .../constructors/updates.channelDifference.md | 44 ++ .../updates.channelDifferenceEmpty.md | 40 ++ .../updates.channelDifferenceTooLong.md | 58 +++ .../constructors/updates.difference.md | 43 ++ .../constructors/updates.differenceEmpty.md | 39 ++ .../constructors/updates.differenceSlice.md | 43 ++ .../constructors/updates.differenceTooLong.md | 38 ++ .../constructors/updates.state.md | 42 ++ .../constructors/updates_channelDifference.md | 44 -- .../updates_channelDifferenceEmpty.md | 40 -- .../updates_channelDifferenceTooLong.md | 58 --- .../constructors/updates_difference.md | 43 -- .../constructors/updates_differenceEmpty.md | 39 -- .../constructors/updates_differenceSlice.md | 43 -- .../constructors/updates_differenceTooLong.md | 38 -- .../constructors/updates_state.md | 42 -- .../constructors/upload.cdnFile.md | 38 ++ .../upload.cdnFileReuploadNeeded.md | 38 ++ .../API_docs_v75/constructors/upload.file.md | 40 ++ .../constructors/upload.fileCdnRedirect.md | 42 ++ .../constructors/upload.webFile.md | 42 ++ .../constructors/upload_cdnFile.md | 38 -- .../upload_cdnFileReuploadNeeded.md | 38 -- .../API_docs_v75/constructors/upload_file.md | 40 -- .../constructors/upload_fileCdnRedirect.md | 42 -- .../constructors/upload_webFile.md | 42 -- .../API_docs_v75/constructors/userFull.md | 6 +- .../methods/account.getAuthorizations.md | 6 +- .../methods/account.getPassword.md | 6 +- .../methods/account.getPasswordSettings.md | 6 +- .../methods/account.getPrivacy.md | 6 +- .../methods/account.getTmpPassword.md | 6 +- .../methods/account.getWebAuthorizations.md | 6 +- .../methods/account.sendChangePhoneCode.md | 6 +- .../methods/account.sendConfirmPhoneCode.md | 6 +- .../methods/account.setPrivacy.md | 6 +- old_docs/API_docs_v75/methods/api_README.md | 198 ++++---- .../methods/auth.checkPassword.md | 6 +- .../API_docs_v75/methods/auth.checkPhone.md | 6 +- .../methods/auth.exportAuthorization.md | 6 +- .../methods/auth.importAuthorization.md | 6 +- .../methods/auth.importBotAuthorization.md | 6 +- .../methods/auth.recoverPassword.md | 6 +- .../methods/auth.requestPasswordRecovery.md | 6 +- .../API_docs_v75/methods/auth.resendCode.md | 6 +- .../API_docs_v75/methods/auth.sendCode.md | 6 +- old_docs/API_docs_v75/methods/auth.signIn.md | 6 +- old_docs/API_docs_v75/methods/auth.signUp.md | 6 +- .../methods/channels.deleteMessages.md | 6 +- .../methods/channels.deleteUserHistory.md | 6 +- .../methods/channels.getAdminLog.md | 6 +- .../channels.getAdminedPublicChannels.md | 6 +- .../methods/channels.getChannels.md | 6 +- .../methods/channels.getFullChannel.md | 6 +- .../methods/channels.getMessages.md | 6 +- .../methods/channels.getParticipant.md | 6 +- .../methods/channels.getParticipants.md | 6 +- .../methods/contacts.deleteContact.md | 6 +- .../methods/contacts.getBlocked.md | 6 +- .../methods/contacts.getContacts.md | 6 +- .../methods/contacts.getTopPeers.md | 6 +- .../methods/contacts.importContacts.md | 6 +- .../methods/contacts.resolveUsername.md | 6 +- .../API_docs_v75/methods/contacts.search.md | 6 +- .../API_docs_v75/methods/help.getAppUpdate.md | 6 +- .../methods/help.getInviteText.md | 6 +- .../methods/help.getRecentMeUrls.md | 6 +- .../API_docs_v75/methods/help.getSupport.md | 6 +- .../methods/help.getTermsOfService.md | 6 +- .../methods/messages.deleteHistory.md | 6 +- .../methods/messages.deleteMessages.md | 6 +- .../methods/messages.getAllChats.md | 6 +- .../methods/messages.getAllStickers.md | 6 +- .../methods/messages.getArchivedStickers.md | 6 +- .../methods/messages.getBotCallbackAnswer.md | 6 +- .../API_docs_v75/methods/messages.getChats.md | 6 +- .../methods/messages.getCommonChats.md | 6 +- .../methods/messages.getDhConfig.md | 6 +- .../methods/messages.getDialogs.md | 6 +- .../methods/messages.getFavedStickers.md | 6 +- .../methods/messages.getFeaturedStickers.md | 6 +- .../methods/messages.getFullChat.md | 6 +- .../methods/messages.getGameHighScores.md | 6 +- .../methods/messages.getHistory.md | 6 +- .../methods/messages.getInlineBotResults.md | 6 +- .../messages.getInlineGameHighScores.md | 6 +- .../methods/messages.getMaskStickers.md | 6 +- .../methods/messages.getMessageEditData.md | 6 +- .../methods/messages.getMessages.md | 6 +- .../methods/messages.getPeerDialogs.md | 6 +- .../methods/messages.getPinnedDialogs.md | 6 +- .../methods/messages.getRecentLocations.md | 6 +- .../methods/messages.getRecentStickers.md | 6 +- .../methods/messages.getSavedGifs.md | 6 +- .../methods/messages.getStickerSet.md | 6 +- .../methods/messages.getStickers.md | 6 +- .../methods/messages.getUnreadMentions.md | 6 +- .../methods/messages.installStickerSet.md | 6 +- .../methods/messages.readHistory.md | 6 +- .../methods/messages.readMentions.md | 6 +- .../methods/messages.readMessageContents.md | 6 +- .../API_docs_v75/methods/messages.search.md | 6 +- .../methods/messages.searchGifs.md | 6 +- .../methods/messages.searchGlobal.md | 6 +- .../methods/messages.sendEncrypted.md | 14 +- .../methods/messages.sendEncryptedFile.md | 14 +- .../methods/messages.sendEncryptedService.md | 14 +- .../methods/payments.getPaymentForm.md | 6 +- .../methods/payments.getPaymentReceipt.md | 6 +- .../methods/payments.getSavedInfo.md | 6 +- .../methods/payments.sendPaymentForm.md | 6 +- .../methods/payments.validateRequestedInfo.md | 6 +- .../API_docs_v75/methods/phone.acceptCall.md | 6 +- .../API_docs_v75/methods/phone.confirmCall.md | 6 +- .../API_docs_v75/methods/phone.requestCall.md | 6 +- .../methods/photos.getUserPhotos.md | 6 +- .../methods/photos.uploadProfilePhoto.md | 6 +- .../methods/stickers.addStickerToSet.md | 6 +- .../methods/stickers.changeStickerPosition.md | 6 +- .../methods/stickers.createStickerSet.md | 6 +- .../methods/stickers.removeStickerFromSet.md | 6 +- .../methods/updates.getChannelDifference.md | 6 +- .../methods/updates.getDifference.md | 6 +- .../API_docs_v75/methods/updates.getState.md | 6 +- .../API_docs_v75/methods/upload.getCdnFile.md | 6 +- .../API_docs_v75/methods/upload.getFile.md | 6 +- .../API_docs_v75/methods/upload.getWebFile.md | 6 +- old_docs/API_docs_v75/types/AccountDaysTTL.md | 2 +- old_docs/API_docs_v75/types/CdnConfig.md | 2 +- old_docs/API_docs_v75/types/CdnFileHash.md | 4 +- old_docs/API_docs_v75/types/ChatInvite.md | 2 +- old_docs/API_docs_v75/types/Config.md | 2 +- old_docs/API_docs_v75/types/ContactStatus.md | 2 +- old_docs/API_docs_v75/types/Document.md | 2 +- old_docs/API_docs_v75/types/EncryptedChat.md | 4 +- old_docs/API_docs_v75/types/EncryptedFile.md | 2 +- .../API_docs_v75/types/ExportedChatInvite.md | 4 +- .../API_docs_v75/types/ExportedMessageLink.md | 2 +- .../API_docs_v75/types/LangPackDifference.md | 4 +- .../API_docs_v75/types/LangPackLanguage.md | 2 +- old_docs/API_docs_v75/types/LangPackString.md | 2 +- old_docs/API_docs_v75/types/MessageMedia.md | 4 +- old_docs/API_docs_v75/types/NearestDc.md | 2 +- .../API_docs_v75/types/PeerNotifySettings.md | 2 +- old_docs/API_docs_v75/types/PeerSettings.md | 2 +- old_docs/API_docs_v75/types/README.md | 134 +++--- .../types/ReceivedNotifyMessage.md | 2 +- .../API_docs_v75/types/StickerSetCovered.md | 2 +- old_docs/API_docs_v75/types/Updates.md | 68 +-- old_docs/API_docs_v75/types/User.md | 10 +- old_docs/API_docs_v75/types/UserFull.md | 2 +- .../API_docs_v75/types/UserProfilePhoto.md | 2 +- old_docs/API_docs_v75/types/WallPaper.md | 2 +- old_docs/API_docs_v75/types/WebPage.md | 2 +- .../types/account.Authorizations.md | 22 + .../API_docs_v75/types/account.Password.md | 24 + .../types/account.PasswordInputSettings.md | 20 + .../types/account.PasswordSettings.md | 22 + .../types/account.PrivacyRules.md | 24 + .../API_docs_v75/types/account.TmpPassword.md | 22 + .../types/account.WebAuthorizations.md | 22 + .../types/account_Authorizations.md | 22 - .../API_docs_v75/types/account_Password.md | 24 - .../types/account_PasswordInputSettings.md | 20 - .../types/account_PasswordSettings.md | 22 - .../types/account_PrivacyRules.md | 24 - .../API_docs_v75/types/account_TmpPassword.md | 22 - .../types/account_WebAuthorizations.md | 22 - .../API_docs_v75/types/auth.Authorization.md | 32 ++ .../API_docs_v75/types/auth.CheckedPhone.md | 22 + old_docs/API_docs_v75/types/auth.CodeType.md | 24 + .../types/auth.ExportedAuthorization.md | 22 + .../types/auth.PasswordRecovery.md | 22 + old_docs/API_docs_v75/types/auth.SentCode.md | 28 ++ .../API_docs_v75/types/auth.SentCodeType.md | 26 ++ .../API_docs_v75/types/auth_Authorization.md | 32 -- .../API_docs_v75/types/auth_CheckedPhone.md | 22 - old_docs/API_docs_v75/types/auth_CodeType.md | 24 - .../types/auth_ExportedAuthorization.md | 22 - .../types/auth_PasswordRecovery.md | 22 - old_docs/API_docs_v75/types/auth_SentCode.md | 28 -- .../API_docs_v75/types/auth_SentCodeType.md | 26 -- .../types/channels.AdminLogResults.md | 22 + .../types/channels.ChannelParticipant.md | 22 + .../types/channels.ChannelParticipants.md | 24 + .../types/channels_AdminLogResults.md | 22 - .../types/channels_ChannelParticipant.md | 22 - .../types/channels_ChannelParticipants.md | 24 - .../API_docs_v75/types/contacts.Blocked.md | 24 + .../API_docs_v75/types/contacts.Contacts.md | 24 + old_docs/API_docs_v75/types/contacts.Found.md | 22 + .../types/contacts.ImportedContacts.md | 22 + old_docs/API_docs_v75/types/contacts.Link.md | 22 + .../types/contacts.ResolvedPeer.md | 22 + .../API_docs_v75/types/contacts.TopPeers.md | 24 + .../API_docs_v75/types/contacts_Blocked.md | 24 - .../API_docs_v75/types/contacts_Contacts.md | 24 - old_docs/API_docs_v75/types/contacts_Found.md | 22 - .../types/contacts_ImportedContacts.md | 22 - old_docs/API_docs_v75/types/contacts_Link.md | 22 - .../types/contacts_ResolvedPeer.md | 22 - .../API_docs_v75/types/contacts_TopPeers.md | 24 - old_docs/API_docs_v75/types/help.AppUpdate.md | 24 + .../API_docs_v75/types/help.InviteText.md | 22 + .../API_docs_v75/types/help.RecentMeUrls.md | 22 + old_docs/API_docs_v75/types/help.Support.md | 22 + .../API_docs_v75/types/help.TermsOfService.md | 22 + old_docs/API_docs_v75/types/help_AppUpdate.md | 24 - .../API_docs_v75/types/help_InviteText.md | 22 - .../API_docs_v75/types/help_RecentMeUrls.md | 22 - old_docs/API_docs_v75/types/help_Support.md | 22 - .../API_docs_v75/types/help_TermsOfService.md | 22 - .../types/messages.AffectedHistory.md | 26 ++ .../types/messages.AffectedMessages.md | 28 ++ .../types/messages.AllStickers.md | 26 ++ .../types/messages.ArchivedStickers.md | 22 + .../types/messages.BotCallbackAnswer.md | 22 + .../API_docs_v75/types/messages.BotResults.md | 22 + .../API_docs_v75/types/messages.ChatFull.md | 24 + old_docs/API_docs_v75/types/messages.Chats.md | 32 ++ .../API_docs_v75/types/messages.DhConfig.md | 24 + .../API_docs_v75/types/messages.Dialogs.md | 24 + .../types/messages.FavedStickers.md | 24 + .../types/messages.FeaturedStickers.md | 24 + .../API_docs_v75/types/messages.FoundGifs.md | 22 + .../API_docs_v75/types/messages.HighScores.md | 24 + .../types/messages.MessageEditData.md | 22 + .../API_docs_v75/types/messages.Messages.md | 40 ++ .../types/messages.PeerDialogs.md | 24 + .../types/messages.RecentStickers.md | 24 + .../API_docs_v75/types/messages.SavedGifs.md | 24 + .../types/messages.SentEncryptedMessage.md | 28 ++ .../API_docs_v75/types/messages.StickerSet.md | 30 ++ .../types/messages.StickerSetInstallResult.md | 24 + .../API_docs_v75/types/messages.Stickers.md | 24 + .../types/messages_AffectedHistory.md | 26 -- .../types/messages_AffectedMessages.md | 28 -- .../types/messages_AllStickers.md | 26 -- .../types/messages_ArchivedStickers.md | 22 - .../types/messages_BotCallbackAnswer.md | 22 - .../API_docs_v75/types/messages_BotResults.md | 22 - .../API_docs_v75/types/messages_ChatFull.md | 24 - old_docs/API_docs_v75/types/messages_Chats.md | 32 -- .../API_docs_v75/types/messages_DhConfig.md | 24 - .../API_docs_v75/types/messages_Dialogs.md | 24 - .../types/messages_FavedStickers.md | 24 - .../types/messages_FeaturedStickers.md | 24 - .../API_docs_v75/types/messages_FoundGifs.md | 22 - .../API_docs_v75/types/messages_HighScores.md | 24 - .../types/messages_MessageEditData.md | 22 - .../API_docs_v75/types/messages_Messages.md | 40 -- .../types/messages_PeerDialogs.md | 24 - .../types/messages_RecentStickers.md | 24 - .../API_docs_v75/types/messages_SavedGifs.md | 24 - .../types/messages_SentEncryptedMessage.md | 28 -- .../API_docs_v75/types/messages_StickerSet.md | 30 -- .../types/messages_StickerSetInstallResult.md | 24 - .../API_docs_v75/types/messages_Stickers.md | 24 - .../types/payments.PaymentForm.md | 22 + .../types/payments.PaymentReceipt.md | 22 + .../types/payments.PaymentResult.md | 24 + .../API_docs_v75/types/payments.SavedInfo.md | 22 + .../types/payments.ValidatedRequestedInfo.md | 22 + .../types/payments_PaymentForm.md | 22 - .../types/payments_PaymentReceipt.md | 22 - .../types/payments_PaymentResult.md | 24 - .../API_docs_v75/types/payments_SavedInfo.md | 22 - .../types/payments_ValidatedRequestedInfo.md | 22 - .../API_docs_v75/types/phone.PhoneCall.md | 26 ++ .../API_docs_v75/types/phone_PhoneCall.md | 26 -- old_docs/API_docs_v75/types/photos.Photo.md | 22 + old_docs/API_docs_v75/types/photos.Photos.md | 24 + old_docs/API_docs_v75/types/photos_Photo.md | 22 - old_docs/API_docs_v75/types/photos_Photos.md | 24 - .../API_docs_v75/types/storage.FileType.md | 38 ++ .../API_docs_v75/types/storage_FileType.md | 38 -- .../types/updates.ChannelDifference.md | 26 ++ .../API_docs_v75/types/updates.Difference.md | 28 ++ old_docs/API_docs_v75/types/updates.State.md | 22 + .../types/updates_ChannelDifference.md | 26 -- .../API_docs_v75/types/updates_Difference.md | 28 -- old_docs/API_docs_v75/types/updates_State.md | 22 - old_docs/API_docs_v75/types/upload.CdnFile.md | 24 + old_docs/API_docs_v75/types/upload.File.md | 24 + old_docs/API_docs_v75/types/upload.WebFile.md | 22 + old_docs/API_docs_v75/types/upload_CdnFile.md | 24 - old_docs/API_docs_v75/types/upload_File.md | 24 - old_docs/API_docs_v75/types/upload_WebFile.md | 22 - old_docs/API_docs_v81/constructors/README.md | 396 ++++++++++------ .../constructors/account.authorizationForm.md | 43 ++ .../constructors/account.authorizations.md | 38 ++ .../constructors/account.noPassword.md | 41 ++ .../constructors/account.password.md | 45 ++ .../account.passwordInputSettings.md | 44 ++ .../constructors/account.passwordSettings.md | 41 ++ .../constructors/account.privacyRules.md | 39 ++ .../constructors/account.sentEmailCode.md | 39 ++ .../constructors/account.takeout.md | 38 ++ .../constructors/account.tmpPassword.md | 39 ++ .../constructors/account.webAuthorizations.md | 39 ++ .../constructors/account_authorizationForm.md | 43 -- .../constructors/account_authorizations.md | 38 -- .../constructors/account_noPassword.md | 41 -- .../constructors/account_password.md | 45 -- .../account_passwordInputSettings.md | 44 -- .../constructors/account_passwordSettings.md | 41 -- .../constructors/account_privacyRules.md | 39 -- .../constructors/account_sentEmailCode.md | 39 -- .../constructors/account_takeout.md | 38 -- .../constructors/account_tmpPassword.md | 39 -- .../constructors/account_webAuthorizations.md | 39 -- .../constructors/auth.authorization.md | 39 ++ .../constructors/auth.checkedPhone.md | 38 ++ .../constructors/auth.codeTypeCall.md | 33 ++ .../constructors/auth.codeTypeFlashCall.md | 33 ++ .../constructors/auth.codeTypeSms.md | 33 ++ .../auth.exportedAuthorization.md | 39 ++ .../constructors/auth.passwordRecovery.md | 38 ++ .../constructors/auth.sentCode.md | 43 ++ .../constructors/auth.sentCodeTypeApp.md | 38 ++ .../constructors/auth.sentCodeTypeCall.md | 38 ++ .../auth.sentCodeTypeFlashCall.md | 38 ++ .../constructors/auth.sentCodeTypeSms.md | 38 ++ .../constructors/auth_authorization.md | 39 -- .../constructors/auth_checkedPhone.md | 38 -- .../constructors/auth_codeTypeCall.md | 33 -- .../constructors/auth_codeTypeFlashCall.md | 33 -- .../constructors/auth_codeTypeSms.md | 33 -- .../auth_exportedAuthorization.md | 39 -- .../constructors/auth_passwordRecovery.md | 38 -- .../constructors/auth_sentCode.md | 43 -- .../constructors/auth_sentCodeTypeApp.md | 38 -- .../constructors/auth_sentCodeTypeCall.md | 38 -- .../auth_sentCodeTypeFlashCall.md | 38 -- .../constructors/auth_sentCodeTypeSms.md | 38 -- .../constructors/channels.adminLogResults.md | 40 ++ .../channels.channelParticipant.md | 39 ++ .../channels.channelParticipants.md | 40 ++ ...channels.channelParticipantsNotModified.md | 33 ++ .../constructors/channels_adminLogResults.md | 40 -- .../channels_channelParticipant.md | 39 -- .../channels_channelParticipants.md | 40 -- ...channels_channelParticipantsNotModified.md | 33 -- .../constructors/contacts.blocked.md | 39 ++ .../constructors/contacts.blockedSlice.md | 40 ++ .../constructors/contacts.contacts.md | 40 ++ .../contacts.contactsNotModified.md | 33 ++ .../constructors/contacts.found.md | 41 ++ .../constructors/contacts.importedContacts.md | 41 ++ .../constructors/contacts.link.md | 40 ++ .../constructors/contacts.resolvedPeer.md | 40 ++ .../constructors/contacts.topPeers.md | 40 ++ .../contacts.topPeersNotModified.md | 33 ++ .../constructors/contacts_blocked.md | 39 -- .../constructors/contacts_blockedSlice.md | 40 -- .../constructors/contacts_contacts.md | 40 -- .../contacts_contactsNotModified.md | 33 -- .../constructors/contacts_found.md | 41 -- .../constructors/contacts_importedContacts.md | 41 -- .../constructors/contacts_link.md | 40 -- .../constructors/contacts_resolvedPeer.md | 40 -- .../constructors/contacts_topPeers.md | 40 -- .../contacts_topPeersNotModified.md | 33 -- .../constructors/help.appUpdate.md | 41 ++ .../constructors/help.configSimple.md | 40 ++ .../constructors/help.deepLinkInfo.md | 40 ++ .../constructors/help.deepLinkInfoEmpty.md | 33 ++ .../constructors/help.inviteText.md | 38 ++ .../constructors/help.noAppUpdate.md | 33 ++ .../constructors/help.proxyDataEmpty.md | 38 ++ .../constructors/help.proxyDataPromo.md | 41 ++ .../constructors/help.recentMeUrls.md | 40 ++ .../API_docs_v81/constructors/help.support.md | 39 ++ .../constructors/help.termsOfService.md | 42 ++ .../constructors/help.termsOfServiceUpdate.md | 39 ++ .../help.termsOfServiceUpdateEmpty.md | 38 ++ .../constructors/help_appUpdate.md | 41 -- .../constructors/help_configSimple.md | 40 -- .../constructors/help_deepLinkInfo.md | 40 -- .../constructors/help_deepLinkInfoEmpty.md | 33 -- .../constructors/help_inviteText.md | 38 -- .../constructors/help_noAppUpdate.md | 33 -- .../constructors/help_proxyDataEmpty.md | 38 -- .../constructors/help_proxyDataPromo.md | 41 -- .../constructors/help_recentMeUrls.md | 40 -- .../API_docs_v81/constructors/help_support.md | 39 -- .../constructors/help_termsOfService.md | 42 -- .../constructors/help_termsOfServiceUpdate.md | 39 -- .../help_termsOfServiceUpdateEmpty.md | 38 -- .../constructors/messages.affectedHistory.md | 40 ++ .../constructors/messages.affectedMessages.md | 39 ++ .../constructors/messages.allStickers.md | 39 ++ .../messages.allStickersNotModified.md | 33 ++ .../constructors/messages.archivedStickers.md | 39 ++ .../messages.botCallbackAnswer.md | 43 ++ .../constructors/messages.botResults.md | 44 ++ .../constructors/messages.channelMessages.md | 42 ++ .../constructors/messages.chatFull.md | 40 ++ .../constructors/messages.chats.md | 38 ++ .../constructors/messages.chatsSlice.md | 39 ++ .../constructors/messages.dhConfig.md | 41 ++ .../messages.dhConfigNotModified.md | 38 ++ .../constructors/messages.dialogs.md | 41 ++ .../constructors/messages.dialogsSlice.md | 42 ++ .../constructors/messages.favedStickers.md | 40 ++ .../messages.favedStickersNotModified.md | 33 ++ .../constructors/messages.featuredStickers.md | 40 ++ .../messages.featuredStickersNotModified.md | 33 ++ .../constructors/messages.foundGifs.md | 39 ++ .../constructors/messages.foundStickerSets.md | 39 ++ .../messages.foundStickerSetsNotModified.md | 33 ++ .../constructors/messages.highScores.md | 39 ++ .../constructors/messages.messageEditData.md | 38 ++ .../constructors/messages.messages.md | 40 ++ .../messages.messagesNotModified.md | 38 ++ .../constructors/messages.messagesSlice.md | 41 ++ .../constructors/messages.peerDialogs.md | 42 ++ .../constructors/messages.recentStickers.md | 41 ++ .../messages.recentStickersNotModified.md | 33 ++ .../constructors/messages.savedGifs.md | 39 ++ .../messages.savedGifsNotModified.md | 33 ++ .../messages.sentEncryptedFile.md | 39 ++ .../messages.sentEncryptedMessage.md | 38 ++ .../constructors/messages.stickerSet.md | 40 ++ ...messages.stickerSetInstallResultArchive.md | 38 ++ ...messages.stickerSetInstallResultSuccess.md | 33 ++ .../constructors/messages.stickers.md | 39 ++ .../messages.stickersNotModified.md | 33 ++ .../constructors/messages_affectedHistory.md | 40 -- .../constructors/messages_affectedMessages.md | 39 -- .../constructors/messages_allStickers.md | 39 -- .../messages_allStickersNotModified.md | 33 -- .../constructors/messages_archivedStickers.md | 39 -- .../messages_botCallbackAnswer.md | 43 -- .../constructors/messages_botResults.md | 44 -- .../constructors/messages_channelMessages.md | 42 -- .../constructors/messages_chatFull.md | 40 -- .../constructors/messages_chats.md | 38 -- .../constructors/messages_chatsSlice.md | 39 -- .../constructors/messages_dhConfig.md | 41 -- .../messages_dhConfigNotModified.md | 38 -- .../constructors/messages_dialogs.md | 41 -- .../constructors/messages_dialogsSlice.md | 42 -- .../constructors/messages_favedStickers.md | 40 -- .../messages_favedStickersNotModified.md | 33 -- .../constructors/messages_featuredStickers.md | 40 -- .../messages_featuredStickersNotModified.md | 33 -- .../constructors/messages_foundGifs.md | 39 -- .../constructors/messages_foundStickerSets.md | 39 -- .../messages_foundStickerSetsNotModified.md | 33 -- .../constructors/messages_highScores.md | 39 -- .../constructors/messages_messageEditData.md | 38 -- .../constructors/messages_messages.md | 40 -- .../messages_messagesNotModified.md | 38 -- .../constructors/messages_messagesSlice.md | 41 -- .../constructors/messages_peerDialogs.md | 42 -- .../constructors/messages_recentStickers.md | 41 -- .../messages_recentStickersNotModified.md | 33 -- .../constructors/messages_savedGifs.md | 39 -- .../messages_savedGifsNotModified.md | 33 -- .../messages_sentEncryptedFile.md | 39 -- .../messages_sentEncryptedMessage.md | 38 -- .../constructors/messages_stickerSet.md | 40 -- ...messages_stickerSetInstallResultArchive.md | 38 -- ...messages_stickerSetInstallResultSuccess.md | 33 -- .../constructors/messages_stickers.md | 39 -- .../messages_stickersNotModified.md | 33 -- .../constructors/payments.paymentForm.md | 48 ++ .../constructors/payments.paymentReceipt.md | 47 ++ .../constructors/payments.paymentResult.md | 38 ++ .../payments.paymentVerficationNeeded.md | 38 ++ .../constructors/payments.savedInfo.md | 39 ++ .../payments.validatedRequestedInfo.md | 39 ++ .../constructors/payments_paymentForm.md | 48 -- .../constructors/payments_paymentReceipt.md | 47 -- .../constructors/payments_paymentResult.md | 38 -- .../payments_paymentVerficationNeeded.md | 38 -- .../constructors/payments_savedInfo.md | 39 -- .../payments_validatedRequestedInfo.md | 39 -- .../constructors/phone.phoneCall.md | 39 ++ .../constructors/phone_phoneCall.md | 39 -- .../API_docs_v81/constructors/photos.photo.md | 39 ++ .../constructors/photos.photos.md | 39 ++ .../constructors/photos.photosSlice.md | 40 ++ .../API_docs_v81/constructors/photos_photo.md | 39 -- .../constructors/photos_photos.md | 39 -- .../constructors/photos_photosSlice.md | 40 -- .../constructors/storage.fileGif.md | 33 ++ .../constructors/storage.fileJpeg.md | 33 ++ .../constructors/storage.fileMov.md | 33 ++ .../constructors/storage.fileMp3.md | 33 ++ .../constructors/storage.fileMp4.md | 33 ++ .../constructors/storage.filePartial.md | 33 ++ .../constructors/storage.filePdf.md | 33 ++ .../constructors/storage.filePng.md | 33 ++ .../constructors/storage.fileUnknown.md | 33 ++ .../constructors/storage.fileWebp.md | 33 ++ .../constructors/storage_fileGif.md | 33 -- .../constructors/storage_fileJpeg.md | 33 -- .../constructors/storage_fileMov.md | 33 -- .../constructors/storage_fileMp3.md | 33 -- .../constructors/storage_fileMp4.md | 33 -- .../constructors/storage_filePartial.md | 33 -- .../constructors/storage_filePdf.md | 33 -- .../constructors/storage_filePng.md | 33 -- .../constructors/storage_fileUnknown.md | 33 -- .../constructors/storage_fileWebp.md | 33 -- .../constructors/updateNewStickerSet.md | 6 +- .../constructors/updates.channelDifference.md | 44 ++ .../updates.channelDifferenceEmpty.md | 40 ++ .../updates.channelDifferenceTooLong.md | 58 +++ .../constructors/updates.difference.md | 43 ++ .../constructors/updates.differenceEmpty.md | 39 ++ .../constructors/updates.differenceSlice.md | 43 ++ .../constructors/updates.differenceTooLong.md | 38 ++ .../constructors/updates.state.md | 42 ++ .../constructors/updates_channelDifference.md | 44 -- .../updates_channelDifferenceEmpty.md | 40 -- .../updates_channelDifferenceTooLong.md | 58 --- .../constructors/updates_difference.md | 43 -- .../constructors/updates_differenceEmpty.md | 39 -- .../constructors/updates_differenceSlice.md | 43 -- .../constructors/updates_differenceTooLong.md | 38 -- .../constructors/updates_state.md | 42 -- .../constructors/upload.cdnFile.md | 38 ++ .../upload.cdnFileReuploadNeeded.md | 38 ++ .../API_docs_v81/constructors/upload.file.md | 40 ++ .../constructors/upload.fileCdnRedirect.md | 42 ++ .../constructors/upload.webFile.md | 42 ++ .../constructors/upload_cdnFile.md | 38 -- .../upload_cdnFileReuploadNeeded.md | 38 -- .../API_docs_v81/constructors/upload_file.md | 40 -- .../constructors/upload_fileCdnRedirect.md | 42 -- .../constructors/upload_webFile.md | 42 -- .../API_docs_v81/constructors/userFull.md | 6 +- .../methods/account.getAuthorizationForm.md | 6 +- .../methods/account.getAuthorizations.md | 6 +- .../methods/account.getPassword.md | 6 +- .../methods/account.getPasswordSettings.md | 6 +- .../methods/account.getPrivacy.md | 6 +- .../methods/account.getTmpPassword.md | 6 +- .../methods/account.getWebAuthorizations.md | 6 +- .../methods/account.initTakeoutSession.md | 6 +- .../methods/account.sendChangePhoneCode.md | 6 +- .../methods/account.sendConfirmPhoneCode.md | 6 +- .../methods/account.sendVerifyEmailCode.md | 6 +- .../methods/account.sendVerifyPhoneCode.md | 6 +- .../methods/account.setPrivacy.md | 6 +- old_docs/API_docs_v81/methods/api_README.md | 212 ++++----- .../methods/auth.checkPassword.md | 6 +- .../methods/auth.exportAuthorization.md | 6 +- .../methods/auth.importAuthorization.md | 6 +- .../methods/auth.importBotAuthorization.md | 6 +- .../methods/auth.recoverPassword.md | 6 +- .../methods/auth.requestPasswordRecovery.md | 6 +- .../API_docs_v81/methods/auth.resendCode.md | 6 +- .../API_docs_v81/methods/auth.sendCode.md | 6 +- old_docs/API_docs_v81/methods/auth.signIn.md | 6 +- old_docs/API_docs_v81/methods/auth.signUp.md | 6 +- .../methods/channels.deleteMessages.md | 6 +- .../methods/channels.deleteUserHistory.md | 6 +- .../methods/channels.getAdminLog.md | 6 +- .../channels.getAdminedPublicChannels.md | 6 +- .../methods/channels.getChannels.md | 6 +- .../methods/channels.getFullChannel.md | 6 +- .../methods/channels.getLeftChannels.md | 6 +- .../methods/channels.getMessages.md | 6 +- .../methods/channels.getParticipant.md | 6 +- .../methods/channels.getParticipants.md | 6 +- .../methods/contacts.deleteContact.md | 6 +- .../methods/contacts.getBlocked.md | 6 +- .../methods/contacts.getContacts.md | 6 +- .../methods/contacts.getTopPeers.md | 6 +- .../methods/contacts.importContacts.md | 6 +- .../methods/contacts.resolveUsername.md | 6 +- .../API_docs_v81/methods/contacts.search.md | 6 +- .../API_docs_v81/methods/help.getAppUpdate.md | 6 +- .../methods/help.getDeepLinkInfo.md | 6 +- .../methods/help.getInviteText.md | 6 +- .../API_docs_v81/methods/help.getProxyData.md | 6 +- .../methods/help.getRecentMeUrls.md | 6 +- .../API_docs_v81/methods/help.getSupport.md | 6 +- .../methods/help.getTermsOfServiceUpdate.md | 6 +- .../methods/messages.deleteHistory.md | 6 +- .../methods/messages.deleteMessages.md | 6 +- .../methods/messages.getAllChats.md | 6 +- .../methods/messages.getAllStickers.md | 6 +- .../methods/messages.getArchivedStickers.md | 6 +- .../methods/messages.getBotCallbackAnswer.md | 6 +- .../API_docs_v81/methods/messages.getChats.md | 6 +- .../methods/messages.getCommonChats.md | 6 +- .../methods/messages.getDhConfig.md | 6 +- .../methods/messages.getDialogs.md | 6 +- .../methods/messages.getFavedStickers.md | 6 +- .../methods/messages.getFeaturedStickers.md | 6 +- .../methods/messages.getFullChat.md | 6 +- .../methods/messages.getGameHighScores.md | 6 +- .../methods/messages.getHistory.md | 6 +- .../methods/messages.getInlineBotResults.md | 6 +- .../messages.getInlineGameHighScores.md | 6 +- .../methods/messages.getMaskStickers.md | 6 +- .../methods/messages.getMessageEditData.md | 6 +- .../methods/messages.getMessages.md | 6 +- .../methods/messages.getPeerDialogs.md | 6 +- .../methods/messages.getPinnedDialogs.md | 6 +- .../methods/messages.getRecentLocations.md | 6 +- .../methods/messages.getRecentStickers.md | 6 +- .../methods/messages.getSavedGifs.md | 6 +- .../methods/messages.getStickerSet.md | 6 +- .../methods/messages.getStickers.md | 6 +- .../methods/messages.getUnreadMentions.md | 6 +- .../methods/messages.installStickerSet.md | 6 +- .../methods/messages.readHistory.md | 6 +- .../methods/messages.readMentions.md | 6 +- .../methods/messages.readMessageContents.md | 6 +- .../API_docs_v81/methods/messages.search.md | 6 +- .../methods/messages.searchGifs.md | 6 +- .../methods/messages.searchGlobal.md | 6 +- .../methods/messages.searchStickerSets.md | 6 +- .../methods/messages.sendEncrypted.md | 14 +- .../methods/messages.sendEncryptedFile.md | 14 +- .../methods/messages.sendEncryptedService.md | 14 +- .../methods/payments.getPaymentForm.md | 6 +- .../methods/payments.getPaymentReceipt.md | 6 +- .../methods/payments.getSavedInfo.md | 6 +- .../methods/payments.sendPaymentForm.md | 6 +- .../methods/payments.validateRequestedInfo.md | 6 +- .../API_docs_v81/methods/phone.acceptCall.md | 6 +- .../API_docs_v81/methods/phone.confirmCall.md | 6 +- .../API_docs_v81/methods/phone.requestCall.md | 6 +- .../methods/photos.getUserPhotos.md | 6 +- .../methods/photos.uploadProfilePhoto.md | 6 +- .../methods/stickers.addStickerToSet.md | 6 +- .../methods/stickers.changeStickerPosition.md | 6 +- .../methods/stickers.createStickerSet.md | 6 +- .../methods/stickers.removeStickerFromSet.md | 6 +- .../methods/updates.getChannelDifference.md | 6 +- .../methods/updates.getDifference.md | 6 +- .../API_docs_v81/methods/updates.getState.md | 6 +- .../API_docs_v81/methods/upload.getCdnFile.md | 6 +- .../API_docs_v81/methods/upload.getFile.md | 6 +- .../API_docs_v81/methods/upload.getWebFile.md | 6 +- old_docs/API_docs_v81/types/AccountDaysTTL.md | 2 +- old_docs/API_docs_v81/types/CdnConfig.md | 2 +- old_docs/API_docs_v81/types/ChatInvite.md | 2 +- old_docs/API_docs_v81/types/Config.md | 2 +- old_docs/API_docs_v81/types/ContactStatus.md | 2 +- old_docs/API_docs_v81/types/Document.md | 2 +- old_docs/API_docs_v81/types/EncryptedChat.md | 4 +- old_docs/API_docs_v81/types/EncryptedFile.md | 2 +- .../API_docs_v81/types/ExportedChatInvite.md | 4 +- .../API_docs_v81/types/ExportedMessageLink.md | 2 +- old_docs/API_docs_v81/types/FileHash.md | 6 +- .../API_docs_v81/types/LangPackDifference.md | 4 +- .../API_docs_v81/types/LangPackLanguage.md | 2 +- old_docs/API_docs_v81/types/LangPackString.md | 2 +- old_docs/API_docs_v81/types/MessageMedia.md | 4 +- old_docs/API_docs_v81/types/MessageRange.md | 2 +- old_docs/API_docs_v81/types/NearestDc.md | 2 +- .../API_docs_v81/types/PeerNotifySettings.md | 2 +- old_docs/API_docs_v81/types/PeerSettings.md | 2 +- old_docs/API_docs_v81/types/README.md | 150 +++--- .../types/ReceivedNotifyMessage.md | 2 +- old_docs/API_docs_v81/types/SavedContact.md | 2 +- old_docs/API_docs_v81/types/SecureValue.md | 6 +- .../API_docs_v81/types/StickerSetCovered.md | 2 +- old_docs/API_docs_v81/types/Updates.md | 68 +-- old_docs/API_docs_v81/types/User.md | 10 +- old_docs/API_docs_v81/types/UserFull.md | 2 +- .../API_docs_v81/types/UserProfilePhoto.md | 2 +- old_docs/API_docs_v81/types/WallPaper.md | 2 +- old_docs/API_docs_v81/types/WebPage.md | 2 +- .../types/account.AuthorizationForm.md | 22 + .../types/account.Authorizations.md | 22 + .../API_docs_v81/types/account.Password.md | 24 + .../types/account.PasswordInputSettings.md | 20 + .../types/account.PasswordSettings.md | 22 + .../types/account.PrivacyRules.md | 24 + .../types/account.SentEmailCode.md | 22 + .../API_docs_v81/types/account.Takeout.md | 22 + .../API_docs_v81/types/account.TmpPassword.md | 22 + .../types/account.WebAuthorizations.md | 22 + .../types/account_AuthorizationForm.md | 22 - .../types/account_Authorizations.md | 22 - .../API_docs_v81/types/account_Password.md | 24 - .../types/account_PasswordInputSettings.md | 20 - .../types/account_PasswordSettings.md | 22 - .../types/account_PrivacyRules.md | 24 - .../types/account_SentEmailCode.md | 22 - .../API_docs_v81/types/account_Takeout.md | 22 - .../API_docs_v81/types/account_TmpPassword.md | 22 - .../types/account_WebAuthorizations.md | 22 - .../API_docs_v81/types/auth.Authorization.md | 32 ++ .../API_docs_v81/types/auth.CheckedPhone.md | 20 + old_docs/API_docs_v81/types/auth.CodeType.md | 24 + .../types/auth.ExportedAuthorization.md | 22 + .../types/auth.PasswordRecovery.md | 22 + old_docs/API_docs_v81/types/auth.SentCode.md | 30 ++ .../API_docs_v81/types/auth.SentCodeType.md | 26 ++ .../API_docs_v81/types/auth_Authorization.md | 32 -- .../API_docs_v81/types/auth_CheckedPhone.md | 20 - old_docs/API_docs_v81/types/auth_CodeType.md | 24 - .../types/auth_ExportedAuthorization.md | 22 - .../types/auth_PasswordRecovery.md | 22 - old_docs/API_docs_v81/types/auth_SentCode.md | 30 -- .../API_docs_v81/types/auth_SentCodeType.md | 26 -- .../types/channels.AdminLogResults.md | 22 + .../types/channels.ChannelParticipant.md | 22 + .../types/channels.ChannelParticipants.md | 24 + .../types/channels_AdminLogResults.md | 22 - .../types/channels_ChannelParticipant.md | 22 - .../types/channels_ChannelParticipants.md | 24 - .../API_docs_v81/types/contacts.Blocked.md | 24 + .../API_docs_v81/types/contacts.Contacts.md | 24 + old_docs/API_docs_v81/types/contacts.Found.md | 22 + .../types/contacts.ImportedContacts.md | 22 + old_docs/API_docs_v81/types/contacts.Link.md | 22 + .../types/contacts.ResolvedPeer.md | 22 + .../API_docs_v81/types/contacts.TopPeers.md | 24 + .../API_docs_v81/types/contacts_Blocked.md | 24 - .../API_docs_v81/types/contacts_Contacts.md | 24 - old_docs/API_docs_v81/types/contacts_Found.md | 22 - .../types/contacts_ImportedContacts.md | 22 - old_docs/API_docs_v81/types/contacts_Link.md | 22 - .../types/contacts_ResolvedPeer.md | 22 - .../API_docs_v81/types/contacts_TopPeers.md | 24 - old_docs/API_docs_v81/types/help.AppUpdate.md | 24 + .../API_docs_v81/types/help.ConfigSimple.md | 20 + .../API_docs_v81/types/help.DeepLinkInfo.md | 24 + .../API_docs_v81/types/help.InviteText.md | 22 + old_docs/API_docs_v81/types/help.ProxyData.md | 24 + .../API_docs_v81/types/help.RecentMeUrls.md | 22 + old_docs/API_docs_v81/types/help.Support.md | 22 + .../types/help.TermsOfServiceUpdate.md | 24 + .../types/help.wTermsOfService.md | 20 + old_docs/API_docs_v81/types/help_AppUpdate.md | 24 - .../API_docs_v81/types/help_ConfigSimple.md | 20 - .../API_docs_v81/types/help_DeepLinkInfo.md | 24 - .../API_docs_v81/types/help_InviteText.md | 22 - old_docs/API_docs_v81/types/help_ProxyData.md | 24 - .../API_docs_v81/types/help_RecentMeUrls.md | 22 - old_docs/API_docs_v81/types/help_Support.md | 22 - .../types/help_TermsOfServiceUpdate.md | 24 - .../types/help_wTermsOfService.md | 20 - .../types/messages.AffectedHistory.md | 26 ++ .../types/messages.AffectedMessages.md | 28 ++ .../types/messages.AllStickers.md | 26 ++ .../types/messages.ArchivedStickers.md | 22 + .../types/messages.BotCallbackAnswer.md | 22 + .../API_docs_v81/types/messages.BotResults.md | 22 + .../API_docs_v81/types/messages.ChatFull.md | 24 + old_docs/API_docs_v81/types/messages.Chats.md | 34 ++ .../API_docs_v81/types/messages.DhConfig.md | 24 + .../API_docs_v81/types/messages.Dialogs.md | 24 + .../types/messages.FavedStickers.md | 24 + .../types/messages.FeaturedStickers.md | 24 + .../API_docs_v81/types/messages.FoundGifs.md | 22 + .../types/messages.FoundStickerSets.md | 24 + .../API_docs_v81/types/messages.HighScores.md | 24 + .../types/messages.MessageEditData.md | 22 + .../API_docs_v81/types/messages.Messages.md | 40 ++ .../types/messages.PeerDialogs.md | 24 + .../types/messages.RecentStickers.md | 24 + .../API_docs_v81/types/messages.SavedGifs.md | 24 + .../types/messages.SentEncryptedMessage.md | 28 ++ .../API_docs_v81/types/messages.StickerSet.md | 30 ++ .../types/messages.StickerSetInstallResult.md | 24 + .../API_docs_v81/types/messages.Stickers.md | 24 + .../types/messages_AffectedHistory.md | 26 -- .../types/messages_AffectedMessages.md | 28 -- .../types/messages_AllStickers.md | 26 -- .../types/messages_ArchivedStickers.md | 22 - .../types/messages_BotCallbackAnswer.md | 22 - .../API_docs_v81/types/messages_BotResults.md | 22 - .../API_docs_v81/types/messages_ChatFull.md | 24 - old_docs/API_docs_v81/types/messages_Chats.md | 34 -- .../API_docs_v81/types/messages_DhConfig.md | 24 - .../API_docs_v81/types/messages_Dialogs.md | 24 - .../types/messages_FavedStickers.md | 24 - .../types/messages_FeaturedStickers.md | 24 - .../API_docs_v81/types/messages_FoundGifs.md | 22 - .../types/messages_FoundStickerSets.md | 24 - .../API_docs_v81/types/messages_HighScores.md | 24 - .../types/messages_MessageEditData.md | 22 - .../API_docs_v81/types/messages_Messages.md | 40 -- .../types/messages_PeerDialogs.md | 24 - .../types/messages_RecentStickers.md | 24 - .../API_docs_v81/types/messages_SavedGifs.md | 24 - .../types/messages_SentEncryptedMessage.md | 28 -- .../API_docs_v81/types/messages_StickerSet.md | 30 -- .../types/messages_StickerSetInstallResult.md | 24 - .../API_docs_v81/types/messages_Stickers.md | 24 - .../types/payments.PaymentForm.md | 22 + .../types/payments.PaymentReceipt.md | 22 + .../types/payments.PaymentResult.md | 24 + .../API_docs_v81/types/payments.SavedInfo.md | 22 + .../types/payments.ValidatedRequestedInfo.md | 22 + .../types/payments_PaymentForm.md | 22 - .../types/payments_PaymentReceipt.md | 22 - .../types/payments_PaymentResult.md | 24 - .../API_docs_v81/types/payments_SavedInfo.md | 22 - .../types/payments_ValidatedRequestedInfo.md | 22 - .../API_docs_v81/types/phone.PhoneCall.md | 26 ++ .../API_docs_v81/types/phone_PhoneCall.md | 26 -- old_docs/API_docs_v81/types/photos.Photo.md | 22 + old_docs/API_docs_v81/types/photos.Photos.md | 24 + old_docs/API_docs_v81/types/photos_Photo.md | 22 - old_docs/API_docs_v81/types/photos_Photos.md | 24 - .../API_docs_v81/types/storage.FileType.md | 38 ++ .../API_docs_v81/types/storage_FileType.md | 38 -- .../types/updates.ChannelDifference.md | 26 ++ .../API_docs_v81/types/updates.Difference.md | 28 ++ old_docs/API_docs_v81/types/updates.State.md | 22 + .../types/updates_ChannelDifference.md | 26 -- .../API_docs_v81/types/updates_Difference.md | 28 -- old_docs/API_docs_v81/types/updates_State.md | 22 - old_docs/API_docs_v81/types/upload.CdnFile.md | 24 + old_docs/API_docs_v81/types/upload.File.md | 24 + old_docs/API_docs_v81/types/upload.WebFile.md | 22 + old_docs/API_docs_v81/types/upload_CdnFile.md | 24 - old_docs/API_docs_v81/types/upload_File.md | 24 - old_docs/API_docs_v81/types/upload_WebFile.md | 22 - old_docs/API_docs_v82/constructors/README.md | 402 ++++++++++------ .../constructors/account.authorizationForm.md | 43 ++ .../constructors/account.authorizations.md | 38 ++ .../constructors/account.noPassword.md | 41 ++ .../constructors/account.password.md | 45 ++ .../account.passwordInputSettings.md | 44 ++ .../constructors/account.passwordSettings.md | 41 ++ .../constructors/account.privacyRules.md | 39 ++ .../constructors/account.sentEmailCode.md | 39 ++ .../constructors/account.takeout.md | 38 ++ .../constructors/account.tmpPassword.md | 39 ++ .../constructors/account.webAuthorizations.md | 39 ++ .../constructors/account_authorizationForm.md | 43 -- .../constructors/account_authorizations.md | 38 -- .../constructors/account_noPassword.md | 41 -- .../constructors/account_password.md | 45 -- .../account_passwordInputSettings.md | 44 -- .../constructors/account_passwordSettings.md | 41 -- .../constructors/account_privacyRules.md | 39 -- .../constructors/account_sentEmailCode.md | 39 -- .../constructors/account_takeout.md | 38 -- .../constructors/account_tmpPassword.md | 39 -- .../constructors/account_webAuthorizations.md | 39 -- .../constructors/auth.authorization.md | 39 ++ .../constructors/auth.checkedPhone.md | 38 ++ .../constructors/auth.codeTypeCall.md | 33 ++ .../constructors/auth.codeTypeFlashCall.md | 33 ++ .../constructors/auth.codeTypeSms.md | 33 ++ .../auth.exportedAuthorization.md | 39 ++ .../constructors/auth.passwordRecovery.md | 38 ++ .../constructors/auth.sentCode.md | 43 ++ .../constructors/auth.sentCodeTypeApp.md | 38 ++ .../constructors/auth.sentCodeTypeCall.md | 38 ++ .../auth.sentCodeTypeFlashCall.md | 38 ++ .../constructors/auth.sentCodeTypeSms.md | 38 ++ .../constructors/auth_authorization.md | 39 -- .../constructors/auth_checkedPhone.md | 38 -- .../constructors/auth_codeTypeCall.md | 33 -- .../constructors/auth_codeTypeFlashCall.md | 33 -- .../constructors/auth_codeTypeSms.md | 33 -- .../auth_exportedAuthorization.md | 39 -- .../constructors/auth_passwordRecovery.md | 38 -- .../constructors/auth_sentCode.md | 43 -- .../constructors/auth_sentCodeTypeApp.md | 38 -- .../constructors/auth_sentCodeTypeCall.md | 38 -- .../auth_sentCodeTypeFlashCall.md | 38 -- .../constructors/auth_sentCodeTypeSms.md | 38 -- .../constructors/channels.adminLogResults.md | 40 ++ .../channels.channelParticipant.md | 39 ++ .../channels.channelParticipants.md | 40 ++ ...channels.channelParticipantsNotModified.md | 33 ++ .../constructors/channels_adminLogResults.md | 40 -- .../channels_channelParticipant.md | 39 -- .../channels_channelParticipants.md | 40 -- ...channels_channelParticipantsNotModified.md | 33 -- .../constructors/contacts.blocked.md | 39 ++ .../constructors/contacts.blockedSlice.md | 40 ++ .../constructors/contacts.contacts.md | 40 ++ .../contacts.contactsNotModified.md | 33 ++ .../constructors/contacts.found.md | 41 ++ .../constructors/contacts.importedContacts.md | 41 ++ .../constructors/contacts.link.md | 40 ++ .../constructors/contacts.resolvedPeer.md | 40 ++ .../constructors/contacts.topPeers.md | 40 ++ .../constructors/contacts.topPeersDisabled.md | 33 ++ .../contacts.topPeersNotModified.md | 33 ++ .../constructors/contacts_blocked.md | 39 -- .../constructors/contacts_blockedSlice.md | 40 -- .../constructors/contacts_contacts.md | 40 -- .../contacts_contactsNotModified.md | 33 -- .../constructors/contacts_found.md | 41 -- .../constructors/contacts_importedContacts.md | 41 -- .../constructors/contacts_link.md | 40 -- .../constructors/contacts_resolvedPeer.md | 40 -- .../constructors/contacts_topPeers.md | 40 -- .../constructors/contacts_topPeersDisabled.md | 33 -- .../contacts_topPeersNotModified.md | 33 -- .../constructors/help.appUpdate.md | 41 ++ .../constructors/help.configSimple.md | 40 ++ .../constructors/help.deepLinkInfo.md | 40 ++ .../constructors/help.deepLinkInfoEmpty.md | 33 ++ .../constructors/help.inviteText.md | 38 ++ .../constructors/help.noAppUpdate.md | 33 ++ .../constructors/help.proxyDataEmpty.md | 38 ++ .../constructors/help.proxyDataPromo.md | 41 ++ .../constructors/help.recentMeUrls.md | 40 ++ .../API_docs_v82/constructors/help.support.md | 39 ++ .../constructors/help.termsOfService.md | 42 ++ .../constructors/help.termsOfServiceUpdate.md | 39 ++ .../help.termsOfServiceUpdateEmpty.md | 38 ++ .../constructors/help_appUpdate.md | 41 -- .../constructors/help_configSimple.md | 40 -- .../constructors/help_deepLinkInfo.md | 40 -- .../constructors/help_deepLinkInfoEmpty.md | 33 -- .../constructors/help_inviteText.md | 38 -- .../constructors/help_noAppUpdate.md | 33 -- .../constructors/help_proxyDataEmpty.md | 38 -- .../constructors/help_proxyDataPromo.md | 41 -- .../constructors/help_recentMeUrls.md | 40 -- .../API_docs_v82/constructors/help_support.md | 39 -- .../constructors/help_termsOfService.md | 42 -- .../constructors/help_termsOfServiceUpdate.md | 39 -- .../help_termsOfServiceUpdateEmpty.md | 38 -- .../constructors/messages.affectedHistory.md | 40 ++ .../constructors/messages.affectedMessages.md | 39 ++ .../constructors/messages.allStickers.md | 39 ++ .../messages.allStickersNotModified.md | 33 ++ .../constructors/messages.archivedStickers.md | 39 ++ .../messages.botCallbackAnswer.md | 43 ++ .../constructors/messages.botResults.md | 44 ++ .../constructors/messages.channelMessages.md | 42 ++ .../constructors/messages.chatFull.md | 40 ++ .../constructors/messages.chats.md | 38 ++ .../constructors/messages.chatsSlice.md | 39 ++ .../constructors/messages.dhConfig.md | 41 ++ .../messages.dhConfigNotModified.md | 38 ++ .../constructors/messages.dialogs.md | 41 ++ .../messages.dialogsNotModified.md | 38 ++ .../constructors/messages.dialogsSlice.md | 42 ++ .../constructors/messages.favedStickers.md | 40 ++ .../messages.favedStickersNotModified.md | 33 ++ .../constructors/messages.featuredStickers.md | 40 ++ .../messages.featuredStickersNotModified.md | 33 ++ .../constructors/messages.foundGifs.md | 39 ++ .../constructors/messages.foundStickerSets.md | 39 ++ .../messages.foundStickerSetsNotModified.md | 33 ++ .../constructors/messages.highScores.md | 39 ++ .../constructors/messages.messageEditData.md | 38 ++ .../constructors/messages.messages.md | 40 ++ .../messages.messagesNotModified.md | 38 ++ .../constructors/messages.messagesSlice.md | 41 ++ .../constructors/messages.peerDialogs.md | 42 ++ .../constructors/messages.recentStickers.md | 41 ++ .../messages.recentStickersNotModified.md | 33 ++ .../constructors/messages.savedGifs.md | 39 ++ .../messages.savedGifsNotModified.md | 33 ++ .../messages.sentEncryptedFile.md | 39 ++ .../messages.sentEncryptedMessage.md | 38 ++ .../constructors/messages.stickerSet.md | 40 ++ ...messages.stickerSetInstallResultArchive.md | 38 ++ ...messages.stickerSetInstallResultSuccess.md | 33 ++ .../constructors/messages.stickers.md | 39 ++ .../messages.stickersNotModified.md | 33 ++ .../constructors/messages_affectedHistory.md | 40 -- .../constructors/messages_affectedMessages.md | 39 -- .../constructors/messages_allStickers.md | 39 -- .../messages_allStickersNotModified.md | 33 -- .../constructors/messages_archivedStickers.md | 39 -- .../messages_botCallbackAnswer.md | 43 -- .../constructors/messages_botResults.md | 44 -- .../constructors/messages_channelMessages.md | 42 -- .../constructors/messages_chatFull.md | 40 -- .../constructors/messages_chats.md | 38 -- .../constructors/messages_chatsSlice.md | 39 -- .../constructors/messages_dhConfig.md | 41 -- .../messages_dhConfigNotModified.md | 38 -- .../constructors/messages_dialogs.md | 41 -- .../messages_dialogsNotModified.md | 38 -- .../constructors/messages_dialogsSlice.md | 42 -- .../constructors/messages_favedStickers.md | 40 -- .../messages_favedStickersNotModified.md | 33 -- .../constructors/messages_featuredStickers.md | 40 -- .../messages_featuredStickersNotModified.md | 33 -- .../constructors/messages_foundGifs.md | 39 -- .../constructors/messages_foundStickerSets.md | 39 -- .../messages_foundStickerSetsNotModified.md | 33 -- .../constructors/messages_highScores.md | 39 -- .../constructors/messages_messageEditData.md | 38 -- .../constructors/messages_messages.md | 40 -- .../messages_messagesNotModified.md | 38 -- .../constructors/messages_messagesSlice.md | 41 -- .../constructors/messages_peerDialogs.md | 42 -- .../constructors/messages_recentStickers.md | 41 -- .../messages_recentStickersNotModified.md | 33 -- .../constructors/messages_savedGifs.md | 39 -- .../messages_savedGifsNotModified.md | 33 -- .../messages_sentEncryptedFile.md | 39 -- .../messages_sentEncryptedMessage.md | 38 -- .../constructors/messages_stickerSet.md | 40 -- ...messages_stickerSetInstallResultArchive.md | 38 -- ...messages_stickerSetInstallResultSuccess.md | 33 -- .../constructors/messages_stickers.md | 39 -- .../messages_stickersNotModified.md | 33 -- .../constructors/payments.paymentForm.md | 48 ++ .../constructors/payments.paymentReceipt.md | 47 ++ .../constructors/payments.paymentResult.md | 38 ++ .../payments.paymentVerficationNeeded.md | 38 ++ .../constructors/payments.savedInfo.md | 39 ++ .../payments.validatedRequestedInfo.md | 39 ++ .../constructors/payments_paymentForm.md | 48 -- .../constructors/payments_paymentReceipt.md | 47 -- .../constructors/payments_paymentResult.md | 38 -- .../payments_paymentVerficationNeeded.md | 38 -- .../constructors/payments_savedInfo.md | 39 -- .../payments_validatedRequestedInfo.md | 39 -- .../constructors/phone.phoneCall.md | 39 ++ .../constructors/phone_phoneCall.md | 39 -- .../API_docs_v82/constructors/photos.photo.md | 39 ++ .../constructors/photos.photos.md | 39 ++ .../constructors/photos.photosSlice.md | 40 ++ .../API_docs_v82/constructors/photos_photo.md | 39 -- .../constructors/photos_photos.md | 39 -- .../constructors/photos_photosSlice.md | 40 -- .../constructors/storage.fileGif.md | 33 ++ .../constructors/storage.fileJpeg.md | 33 ++ .../constructors/storage.fileMov.md | 33 ++ .../constructors/storage.fileMp3.md | 33 ++ .../constructors/storage.fileMp4.md | 33 ++ .../constructors/storage.filePartial.md | 33 ++ .../constructors/storage.filePdf.md | 33 ++ .../constructors/storage.filePng.md | 33 ++ .../constructors/storage.fileUnknown.md | 33 ++ .../constructors/storage.fileWebp.md | 33 ++ .../constructors/storage_fileGif.md | 33 -- .../constructors/storage_fileJpeg.md | 33 -- .../constructors/storage_fileMov.md | 33 -- .../constructors/storage_fileMp3.md | 33 -- .../constructors/storage_fileMp4.md | 33 -- .../constructors/storage_filePartial.md | 33 -- .../constructors/storage_filePdf.md | 33 -- .../constructors/storage_filePng.md | 33 -- .../constructors/storage_fileUnknown.md | 33 -- .../constructors/storage_fileWebp.md | 33 -- .../constructors/updateNewStickerSet.md | 6 +- .../constructors/updates.channelDifference.md | 44 ++ .../updates.channelDifferenceEmpty.md | 40 ++ .../updates.channelDifferenceTooLong.md | 58 +++ .../constructors/updates.difference.md | 43 ++ .../constructors/updates.differenceEmpty.md | 39 ++ .../constructors/updates.differenceSlice.md | 43 ++ .../constructors/updates.differenceTooLong.md | 38 ++ .../constructors/updates.state.md | 42 ++ .../constructors/updates_channelDifference.md | 44 -- .../updates_channelDifferenceEmpty.md | 40 -- .../updates_channelDifferenceTooLong.md | 58 --- .../constructors/updates_difference.md | 43 -- .../constructors/updates_differenceEmpty.md | 39 -- .../constructors/updates_differenceSlice.md | 43 -- .../constructors/updates_differenceTooLong.md | 38 -- .../constructors/updates_state.md | 42 -- .../constructors/upload.cdnFile.md | 38 ++ .../upload.cdnFileReuploadNeeded.md | 38 ++ .../API_docs_v82/constructors/upload.file.md | 40 ++ .../constructors/upload.fileCdnRedirect.md | 42 ++ .../constructors/upload.webFile.md | 42 ++ .../constructors/upload_cdnFile.md | 38 -- .../upload_cdnFileReuploadNeeded.md | 38 -- .../API_docs_v82/constructors/upload_file.md | 40 -- .../constructors/upload_fileCdnRedirect.md | 42 -- .../constructors/upload_webFile.md | 42 -- .../API_docs_v82/constructors/userFull.md | 6 +- .../methods/account.getAuthorizationForm.md | 6 +- .../methods/account.getAuthorizations.md | 6 +- .../methods/account.getPassword.md | 6 +- .../methods/account.getPasswordSettings.md | 6 +- .../methods/account.getPrivacy.md | 6 +- .../methods/account.getTmpPassword.md | 6 +- .../methods/account.getWebAuthorizations.md | 6 +- .../methods/account.initTakeoutSession.md | 6 +- .../methods/account.sendChangePhoneCode.md | 6 +- .../methods/account.sendConfirmPhoneCode.md | 6 +- .../methods/account.sendVerifyEmailCode.md | 6 +- .../methods/account.sendVerifyPhoneCode.md | 6 +- .../methods/account.setPrivacy.md | 6 +- old_docs/API_docs_v82/methods/api_README.md | 212 ++++----- .../methods/auth.checkPassword.md | 6 +- .../methods/auth.exportAuthorization.md | 6 +- .../methods/auth.importAuthorization.md | 6 +- .../methods/auth.importBotAuthorization.md | 6 +- .../methods/auth.recoverPassword.md | 6 +- .../methods/auth.requestPasswordRecovery.md | 6 +- .../API_docs_v82/methods/auth.resendCode.md | 6 +- .../API_docs_v82/methods/auth.sendCode.md | 6 +- old_docs/API_docs_v82/methods/auth.signIn.md | 6 +- old_docs/API_docs_v82/methods/auth.signUp.md | 6 +- .../methods/channels.deleteMessages.md | 6 +- .../methods/channels.deleteUserHistory.md | 6 +- .../methods/channels.getAdminLog.md | 6 +- .../channels.getAdminedPublicChannels.md | 6 +- .../methods/channels.getChannels.md | 6 +- .../methods/channels.getFullChannel.md | 6 +- .../methods/channels.getLeftChannels.md | 6 +- .../methods/channels.getMessages.md | 6 +- .../methods/channels.getParticipant.md | 6 +- .../methods/channels.getParticipants.md | 6 +- .../methods/contacts.deleteContact.md | 6 +- .../methods/contacts.getBlocked.md | 6 +- .../methods/contacts.getContacts.md | 6 +- .../methods/contacts.getTopPeers.md | 6 +- .../methods/contacts.importContacts.md | 6 +- .../methods/contacts.resolveUsername.md | 6 +- .../API_docs_v82/methods/contacts.search.md | 6 +- .../API_docs_v82/methods/help.getAppUpdate.md | 6 +- .../methods/help.getDeepLinkInfo.md | 6 +- .../methods/help.getInviteText.md | 6 +- .../API_docs_v82/methods/help.getProxyData.md | 6 +- .../methods/help.getRecentMeUrls.md | 6 +- .../API_docs_v82/methods/help.getSupport.md | 6 +- .../methods/help.getTermsOfServiceUpdate.md | 6 +- .../methods/messages.deleteHistory.md | 6 +- .../methods/messages.deleteMessages.md | 6 +- .../methods/messages.getAllChats.md | 6 +- .../methods/messages.getAllStickers.md | 6 +- .../methods/messages.getArchivedStickers.md | 6 +- .../methods/messages.getBotCallbackAnswer.md | 6 +- .../API_docs_v82/methods/messages.getChats.md | 6 +- .../methods/messages.getCommonChats.md | 6 +- .../methods/messages.getDhConfig.md | 6 +- .../methods/messages.getDialogs.md | 6 +- .../methods/messages.getFavedStickers.md | 6 +- .../methods/messages.getFeaturedStickers.md | 6 +- .../methods/messages.getFullChat.md | 6 +- .../methods/messages.getGameHighScores.md | 6 +- .../methods/messages.getHistory.md | 6 +- .../methods/messages.getInlineBotResults.md | 6 +- .../messages.getInlineGameHighScores.md | 6 +- .../methods/messages.getMaskStickers.md | 6 +- .../methods/messages.getMessageEditData.md | 6 +- .../methods/messages.getMessages.md | 6 +- .../methods/messages.getPeerDialogs.md | 6 +- .../methods/messages.getPinnedDialogs.md | 6 +- .../methods/messages.getRecentLocations.md | 6 +- .../methods/messages.getRecentStickers.md | 6 +- .../methods/messages.getSavedGifs.md | 6 +- .../methods/messages.getStickerSet.md | 6 +- .../methods/messages.getStickers.md | 6 +- .../methods/messages.getUnreadMentions.md | 6 +- .../methods/messages.installStickerSet.md | 6 +- .../methods/messages.readHistory.md | 6 +- .../methods/messages.readMentions.md | 6 +- .../methods/messages.readMessageContents.md | 6 +- .../API_docs_v82/methods/messages.search.md | 6 +- .../methods/messages.searchGifs.md | 6 +- .../methods/messages.searchGlobal.md | 6 +- .../methods/messages.searchStickerSets.md | 6 +- .../methods/messages.sendEncrypted.md | 14 +- .../methods/messages.sendEncryptedFile.md | 14 +- .../methods/messages.sendEncryptedService.md | 14 +- .../methods/payments.getPaymentForm.md | 6 +- .../methods/payments.getPaymentReceipt.md | 6 +- .../methods/payments.getSavedInfo.md | 6 +- .../methods/payments.sendPaymentForm.md | 6 +- .../methods/payments.validateRequestedInfo.md | 6 +- .../API_docs_v82/methods/phone.acceptCall.md | 6 +- .../API_docs_v82/methods/phone.confirmCall.md | 6 +- .../API_docs_v82/methods/phone.requestCall.md | 6 +- .../methods/photos.getUserPhotos.md | 6 +- .../methods/photos.uploadProfilePhoto.md | 6 +- .../methods/stickers.addStickerToSet.md | 6 +- .../methods/stickers.changeStickerPosition.md | 6 +- .../methods/stickers.createStickerSet.md | 6 +- .../methods/stickers.removeStickerFromSet.md | 6 +- .../methods/updates.getChannelDifference.md | 6 +- .../methods/updates.getDifference.md | 6 +- .../API_docs_v82/methods/updates.getState.md | 6 +- .../API_docs_v82/methods/upload.getCdnFile.md | 6 +- .../API_docs_v82/methods/upload.getFile.md | 6 +- .../API_docs_v82/methods/upload.getWebFile.md | 6 +- old_docs/API_docs_v82/types/AccountDaysTTL.md | 2 +- old_docs/API_docs_v82/types/CdnConfig.md | 2 +- old_docs/API_docs_v82/types/ChatInvite.md | 2 +- old_docs/API_docs_v82/types/Config.md | 2 +- old_docs/API_docs_v82/types/ContactStatus.md | 2 +- old_docs/API_docs_v82/types/DialogPeer.md | 2 +- old_docs/API_docs_v82/types/Document.md | 2 +- old_docs/API_docs_v82/types/EncryptedChat.md | 4 +- old_docs/API_docs_v82/types/EncryptedFile.md | 2 +- .../API_docs_v82/types/ExportedChatInvite.md | 4 +- .../API_docs_v82/types/ExportedMessageLink.md | 2 +- old_docs/API_docs_v82/types/FileHash.md | 6 +- .../API_docs_v82/types/LangPackDifference.md | 4 +- .../API_docs_v82/types/LangPackLanguage.md | 2 +- old_docs/API_docs_v82/types/LangPackString.md | 2 +- old_docs/API_docs_v82/types/MessageMedia.md | 4 +- old_docs/API_docs_v82/types/MessageRange.md | 2 +- old_docs/API_docs_v82/types/NearestDc.md | 2 +- .../API_docs_v82/types/PeerNotifySettings.md | 2 +- old_docs/API_docs_v82/types/PeerSettings.md | 2 +- old_docs/API_docs_v82/types/README.md | 150 +++--- .../types/ReceivedNotifyMessage.md | 2 +- old_docs/API_docs_v82/types/SavedContact.md | 2 +- old_docs/API_docs_v82/types/SecureValue.md | 6 +- .../API_docs_v82/types/StickerSetCovered.md | 2 +- old_docs/API_docs_v82/types/Updates.md | 68 +-- old_docs/API_docs_v82/types/User.md | 10 +- old_docs/API_docs_v82/types/UserFull.md | 2 +- .../API_docs_v82/types/UserProfilePhoto.md | 2 +- old_docs/API_docs_v82/types/WallPaper.md | 2 +- old_docs/API_docs_v82/types/WebPage.md | 2 +- .../types/account.AuthorizationForm.md | 22 + .../types/account.Authorizations.md | 22 + .../API_docs_v82/types/account.Password.md | 24 + .../types/account.PasswordInputSettings.md | 20 + .../types/account.PasswordSettings.md | 22 + .../types/account.PrivacyRules.md | 24 + .../types/account.SentEmailCode.md | 22 + .../API_docs_v82/types/account.Takeout.md | 22 + .../API_docs_v82/types/account.TmpPassword.md | 22 + .../types/account.WebAuthorizations.md | 22 + .../types/account_AuthorizationForm.md | 22 - .../types/account_Authorizations.md | 22 - .../API_docs_v82/types/account_Password.md | 24 - .../types/account_PasswordInputSettings.md | 20 - .../types/account_PasswordSettings.md | 22 - .../types/account_PrivacyRules.md | 24 - .../types/account_SentEmailCode.md | 22 - .../API_docs_v82/types/account_Takeout.md | 22 - .../API_docs_v82/types/account_TmpPassword.md | 22 - .../types/account_WebAuthorizations.md | 22 - .../API_docs_v82/types/auth.Authorization.md | 32 ++ .../API_docs_v82/types/auth.CheckedPhone.md | 20 + old_docs/API_docs_v82/types/auth.CodeType.md | 24 + .../types/auth.ExportedAuthorization.md | 22 + .../types/auth.PasswordRecovery.md | 22 + old_docs/API_docs_v82/types/auth.SentCode.md | 30 ++ .../API_docs_v82/types/auth.SentCodeType.md | 26 ++ .../API_docs_v82/types/auth_Authorization.md | 32 -- .../API_docs_v82/types/auth_CheckedPhone.md | 20 - old_docs/API_docs_v82/types/auth_CodeType.md | 24 - .../types/auth_ExportedAuthorization.md | 22 - .../types/auth_PasswordRecovery.md | 22 - old_docs/API_docs_v82/types/auth_SentCode.md | 30 -- .../API_docs_v82/types/auth_SentCodeType.md | 26 -- .../types/channels.AdminLogResults.md | 22 + .../types/channels.ChannelParticipant.md | 22 + .../types/channels.ChannelParticipants.md | 24 + .../types/channels_AdminLogResults.md | 22 - .../types/channels_ChannelParticipant.md | 22 - .../types/channels_ChannelParticipants.md | 24 - .../API_docs_v82/types/contacts.Blocked.md | 24 + .../API_docs_v82/types/contacts.Contacts.md | 24 + old_docs/API_docs_v82/types/contacts.Found.md | 22 + .../types/contacts.ImportedContacts.md | 22 + old_docs/API_docs_v82/types/contacts.Link.md | 22 + .../types/contacts.ResolvedPeer.md | 22 + .../API_docs_v82/types/contacts.TopPeers.md | 26 ++ .../API_docs_v82/types/contacts_Blocked.md | 24 - .../API_docs_v82/types/contacts_Contacts.md | 24 - old_docs/API_docs_v82/types/contacts_Found.md | 22 - .../types/contacts_ImportedContacts.md | 22 - old_docs/API_docs_v82/types/contacts_Link.md | 22 - .../types/contacts_ResolvedPeer.md | 22 - .../API_docs_v82/types/contacts_TopPeers.md | 26 -- old_docs/API_docs_v82/types/help.AppUpdate.md | 24 + .../API_docs_v82/types/help.ConfigSimple.md | 20 + .../API_docs_v82/types/help.DeepLinkInfo.md | 24 + .../API_docs_v82/types/help.InviteText.md | 22 + old_docs/API_docs_v82/types/help.ProxyData.md | 24 + .../API_docs_v82/types/help.RecentMeUrls.md | 22 + old_docs/API_docs_v82/types/help.Support.md | 22 + .../API_docs_v82/types/help.TermsOfService.md | 20 + .../types/help.TermsOfServiceUpdate.md | 24 + old_docs/API_docs_v82/types/help_AppUpdate.md | 24 - .../API_docs_v82/types/help_ConfigSimple.md | 20 - .../API_docs_v82/types/help_DeepLinkInfo.md | 24 - .../API_docs_v82/types/help_InviteText.md | 22 - old_docs/API_docs_v82/types/help_ProxyData.md | 24 - .../API_docs_v82/types/help_RecentMeUrls.md | 22 - old_docs/API_docs_v82/types/help_Support.md | 22 - .../API_docs_v82/types/help_TermsOfService.md | 20 - .../types/help_TermsOfServiceUpdate.md | 24 - .../types/messages.AffectedHistory.md | 26 ++ .../types/messages.AffectedMessages.md | 28 ++ .../types/messages.AllStickers.md | 26 ++ .../types/messages.ArchivedStickers.md | 22 + .../types/messages.BotCallbackAnswer.md | 22 + .../API_docs_v82/types/messages.BotResults.md | 22 + .../API_docs_v82/types/messages.ChatFull.md | 24 + old_docs/API_docs_v82/types/messages.Chats.md | 34 ++ .../API_docs_v82/types/messages.DhConfig.md | 24 + .../API_docs_v82/types/messages.Dialogs.md | 26 ++ .../types/messages.FavedStickers.md | 24 + .../types/messages.FeaturedStickers.md | 24 + .../API_docs_v82/types/messages.FoundGifs.md | 22 + .../types/messages.FoundStickerSets.md | 24 + .../API_docs_v82/types/messages.HighScores.md | 24 + .../types/messages.MessageEditData.md | 22 + .../API_docs_v82/types/messages.Messages.md | 40 ++ .../types/messages.PeerDialogs.md | 24 + .../types/messages.RecentStickers.md | 24 + .../API_docs_v82/types/messages.SavedGifs.md | 24 + .../types/messages.SentEncryptedMessage.md | 28 ++ .../API_docs_v82/types/messages.StickerSet.md | 30 ++ .../types/messages.StickerSetInstallResult.md | 24 + .../API_docs_v82/types/messages.Stickers.md | 24 + .../types/messages_AffectedHistory.md | 26 -- .../types/messages_AffectedMessages.md | 28 -- .../types/messages_AllStickers.md | 26 -- .../types/messages_ArchivedStickers.md | 22 - .../types/messages_BotCallbackAnswer.md | 22 - .../API_docs_v82/types/messages_BotResults.md | 22 - .../API_docs_v82/types/messages_ChatFull.md | 24 - old_docs/API_docs_v82/types/messages_Chats.md | 34 -- .../API_docs_v82/types/messages_DhConfig.md | 24 - .../API_docs_v82/types/messages_Dialogs.md | 26 -- .../types/messages_FavedStickers.md | 24 - .../types/messages_FeaturedStickers.md | 24 - .../API_docs_v82/types/messages_FoundGifs.md | 22 - .../types/messages_FoundStickerSets.md | 24 - .../API_docs_v82/types/messages_HighScores.md | 24 - .../types/messages_MessageEditData.md | 22 - .../API_docs_v82/types/messages_Messages.md | 40 -- .../types/messages_PeerDialogs.md | 24 - .../types/messages_RecentStickers.md | 24 - .../API_docs_v82/types/messages_SavedGifs.md | 24 - .../types/messages_SentEncryptedMessage.md | 28 -- .../API_docs_v82/types/messages_StickerSet.md | 30 -- .../types/messages_StickerSetInstallResult.md | 24 - .../API_docs_v82/types/messages_Stickers.md | 24 - .../types/payments.PaymentForm.md | 22 + .../types/payments.PaymentReceipt.md | 22 + .../types/payments.PaymentResult.md | 24 + .../API_docs_v82/types/payments.SavedInfo.md | 22 + .../types/payments.ValidatedRequestedInfo.md | 22 + .../types/payments_PaymentForm.md | 22 - .../types/payments_PaymentReceipt.md | 22 - .../types/payments_PaymentResult.md | 24 - .../API_docs_v82/types/payments_SavedInfo.md | 22 - .../types/payments_ValidatedRequestedInfo.md | 22 - .../API_docs_v82/types/phone.PhoneCall.md | 26 ++ .../API_docs_v82/types/phone_PhoneCall.md | 26 -- old_docs/API_docs_v82/types/photos.Photo.md | 22 + old_docs/API_docs_v82/types/photos.Photos.md | 24 + old_docs/API_docs_v82/types/photos_Photo.md | 22 - old_docs/API_docs_v82/types/photos_Photos.md | 24 - .../API_docs_v82/types/storage.FileType.md | 38 ++ .../API_docs_v82/types/storage_FileType.md | 38 -- .../types/updates.ChannelDifference.md | 26 ++ .../API_docs_v82/types/updates.Difference.md | 28 ++ old_docs/API_docs_v82/types/updates.State.md | 22 + .../types/updates_ChannelDifference.md | 26 -- .../API_docs_v82/types/updates_Difference.md | 28 -- old_docs/API_docs_v82/types/updates_State.md | 22 - old_docs/API_docs_v82/types/upload.CdnFile.md | 24 + old_docs/API_docs_v82/types/upload.File.md | 24 + old_docs/API_docs_v82/types/upload.WebFile.md | 22 + old_docs/API_docs_v82/types/upload_CdnFile.md | 24 - old_docs/API_docs_v82/types/upload_File.md | 24 - old_docs/API_docs_v82/types/upload_WebFile.md | 22 - old_docs/API_docs_v86/constructors/README.md | 403 ++++++++++------ .../constructors/account.authorizationForm.md | 42 ++ .../constructors/account.authorizations.md | 38 ++ .../constructors/account.password.md | 48 ++ .../account.passwordInputSettings.md | 42 ++ .../constructors/account.passwordSettings.md | 39 ++ .../constructors/account.privacyRules.md | 39 ++ .../constructors/account.sentEmailCode.md | 39 ++ .../constructors/account.takeout.md | 38 ++ .../constructors/account.tmpPassword.md | 39 ++ .../constructors/account.webAuthorizations.md | 39 ++ .../constructors/account_authorizationForm.md | 42 -- .../constructors/account_authorizations.md | 38 -- .../constructors/account_password.md | 48 -- .../account_passwordInputSettings.md | 42 -- .../constructors/account_passwordSettings.md | 39 -- .../constructors/account_privacyRules.md | 39 -- .../constructors/account_sentEmailCode.md | 39 -- .../constructors/account_takeout.md | 38 -- .../constructors/account_tmpPassword.md | 39 -- .../constructors/account_webAuthorizations.md | 39 -- .../constructors/auth.authorization.md | 39 ++ .../constructors/auth.checkedPhone.md | 38 ++ .../constructors/auth.codeTypeCall.md | 33 ++ .../constructors/auth.codeTypeFlashCall.md | 33 ++ .../constructors/auth.codeTypeSms.md | 33 ++ .../auth.exportedAuthorization.md | 39 ++ .../constructors/auth.passwordRecovery.md | 38 ++ .../constructors/auth.sentCode.md | 43 ++ .../constructors/auth.sentCodeTypeApp.md | 38 ++ .../constructors/auth.sentCodeTypeCall.md | 38 ++ .../auth.sentCodeTypeFlashCall.md | 38 ++ .../constructors/auth.sentCodeTypeSms.md | 38 ++ .../constructors/auth_authorization.md | 39 -- .../constructors/auth_checkedPhone.md | 38 -- .../constructors/auth_codeTypeCall.md | 33 -- .../constructors/auth_codeTypeFlashCall.md | 33 -- .../constructors/auth_codeTypeSms.md | 33 -- .../auth_exportedAuthorization.md | 39 -- .../constructors/auth_passwordRecovery.md | 38 -- .../constructors/auth_sentCode.md | 43 -- .../constructors/auth_sentCodeTypeApp.md | 38 -- .../constructors/auth_sentCodeTypeCall.md | 38 -- .../auth_sentCodeTypeFlashCall.md | 38 -- .../constructors/auth_sentCodeTypeSms.md | 38 -- .../constructors/channels.adminLogResults.md | 40 ++ .../channels.channelParticipant.md | 39 ++ .../channels.channelParticipants.md | 40 ++ ...channels.channelParticipantsNotModified.md | 33 ++ .../constructors/channels_adminLogResults.md | 40 -- .../channels_channelParticipant.md | 39 -- .../channels_channelParticipants.md | 40 -- ...channels_channelParticipantsNotModified.md | 33 -- .../constructors/contacts.blocked.md | 39 ++ .../constructors/contacts.blockedSlice.md | 40 ++ .../constructors/contacts.contacts.md | 40 ++ .../contacts.contactsNotModified.md | 33 ++ .../constructors/contacts.found.md | 41 ++ .../constructors/contacts.importedContacts.md | 41 ++ .../constructors/contacts.link.md | 40 ++ .../constructors/contacts.resolvedPeer.md | 40 ++ .../constructors/contacts.topPeers.md | 40 ++ .../constructors/contacts.topPeersDisabled.md | 33 ++ .../contacts.topPeersNotModified.md | 33 ++ .../constructors/contacts_blocked.md | 39 -- .../constructors/contacts_blockedSlice.md | 40 -- .../constructors/contacts_contacts.md | 40 -- .../contacts_contactsNotModified.md | 33 -- .../constructors/contacts_found.md | 41 -- .../constructors/contacts_importedContacts.md | 41 -- .../constructors/contacts_link.md | 40 -- .../constructors/contacts_resolvedPeer.md | 40 -- .../constructors/contacts_topPeers.md | 40 -- .../constructors/contacts_topPeersDisabled.md | 33 -- .../contacts_topPeersNotModified.md | 33 -- .../constructors/help.appUpdate.md | 44 ++ .../constructors/help.configSimple.md | 40 ++ .../constructors/help.deepLinkInfo.md | 40 ++ .../constructors/help.deepLinkInfoEmpty.md | 33 ++ .../constructors/help.inviteText.md | 38 ++ .../constructors/help.noAppUpdate.md | 33 ++ .../constructors/help.passportConfig.md | 39 ++ .../help.passportConfigNotModified.md | 33 ++ .../constructors/help.proxyDataEmpty.md | 38 ++ .../constructors/help.proxyDataPromo.md | 41 ++ .../constructors/help.recentMeUrls.md | 40 ++ .../API_docs_v86/constructors/help.support.md | 39 ++ .../constructors/help.termsOfService.md | 42 ++ .../constructors/help.termsOfServiceUpdate.md | 39 ++ .../help.termsOfServiceUpdateEmpty.md | 38 ++ .../constructors/help_appUpdate.md | 44 -- .../constructors/help_configSimple.md | 40 -- .../constructors/help_deepLinkInfo.md | 40 -- .../constructors/help_deepLinkInfoEmpty.md | 33 -- .../constructors/help_inviteText.md | 38 -- .../constructors/help_noAppUpdate.md | 33 -- .../constructors/help_passportConfig.md | 39 -- .../help_passportConfigNotModified.md | 33 -- .../constructors/help_proxyDataEmpty.md | 38 -- .../constructors/help_proxyDataPromo.md | 41 -- .../constructors/help_recentMeUrls.md | 40 -- .../API_docs_v86/constructors/help_support.md | 39 -- .../constructors/help_termsOfService.md | 42 -- .../constructors/help_termsOfServiceUpdate.md | 39 -- .../help_termsOfServiceUpdateEmpty.md | 38 -- .../constructors/messages.affectedHistory.md | 40 ++ .../constructors/messages.affectedMessages.md | 39 ++ .../constructors/messages.allStickers.md | 39 ++ .../messages.allStickersNotModified.md | 33 ++ .../constructors/messages.archivedStickers.md | 39 ++ .../messages.botCallbackAnswer.md | 43 ++ .../constructors/messages.botResults.md | 44 ++ .../constructors/messages.channelMessages.md | 42 ++ .../constructors/messages.chatFull.md | 40 ++ .../constructors/messages.chats.md | 38 ++ .../constructors/messages.chatsSlice.md | 39 ++ .../constructors/messages.dhConfig.md | 41 ++ .../messages.dhConfigNotModified.md | 38 ++ .../constructors/messages.dialogs.md | 41 ++ .../messages.dialogsNotModified.md | 38 ++ .../constructors/messages.dialogsSlice.md | 42 ++ .../constructors/messages.favedStickers.md | 40 ++ .../messages.favedStickersNotModified.md | 33 ++ .../constructors/messages.featuredStickers.md | 40 ++ .../messages.featuredStickersNotModified.md | 33 ++ .../constructors/messages.foundGifs.md | 39 ++ .../constructors/messages.foundStickerSets.md | 39 ++ .../messages.foundStickerSetsNotModified.md | 33 ++ .../constructors/messages.highScores.md | 39 ++ .../constructors/messages.messageEditData.md | 38 ++ .../constructors/messages.messages.md | 40 ++ .../messages.messagesNotModified.md | 38 ++ .../constructors/messages.messagesSlice.md | 41 ++ .../constructors/messages.peerDialogs.md | 42 ++ .../constructors/messages.recentStickers.md | 41 ++ .../messages.recentStickersNotModified.md | 33 ++ .../constructors/messages.savedGifs.md | 39 ++ .../messages.savedGifsNotModified.md | 33 ++ .../messages.sentEncryptedFile.md | 39 ++ .../messages.sentEncryptedMessage.md | 38 ++ .../constructors/messages.stickerSet.md | 40 ++ ...messages.stickerSetInstallResultArchive.md | 38 ++ ...messages.stickerSetInstallResultSuccess.md | 33 ++ .../constructors/messages.stickers.md | 39 ++ .../messages.stickersNotModified.md | 33 ++ .../constructors/messages_affectedHistory.md | 40 -- .../constructors/messages_affectedMessages.md | 39 -- .../constructors/messages_allStickers.md | 39 -- .../messages_allStickersNotModified.md | 33 -- .../constructors/messages_archivedStickers.md | 39 -- .../messages_botCallbackAnswer.md | 43 -- .../constructors/messages_botResults.md | 44 -- .../constructors/messages_channelMessages.md | 42 -- .../constructors/messages_chatFull.md | 40 -- .../constructors/messages_chats.md | 38 -- .../constructors/messages_chatsSlice.md | 39 -- .../constructors/messages_dhConfig.md | 41 -- .../messages_dhConfigNotModified.md | 38 -- .../constructors/messages_dialogs.md | 41 -- .../messages_dialogsNotModified.md | 38 -- .../constructors/messages_dialogsSlice.md | 42 -- .../constructors/messages_favedStickers.md | 40 -- .../messages_favedStickersNotModified.md | 33 -- .../constructors/messages_featuredStickers.md | 40 -- .../messages_featuredStickersNotModified.md | 33 -- .../constructors/messages_foundGifs.md | 39 -- .../constructors/messages_foundStickerSets.md | 39 -- .../messages_foundStickerSetsNotModified.md | 33 -- .../constructors/messages_highScores.md | 39 -- .../constructors/messages_messageEditData.md | 38 -- .../constructors/messages_messages.md | 40 -- .../messages_messagesNotModified.md | 38 -- .../constructors/messages_messagesSlice.md | 41 -- .../constructors/messages_peerDialogs.md | 42 -- .../constructors/messages_recentStickers.md | 41 -- .../messages_recentStickersNotModified.md | 33 -- .../constructors/messages_savedGifs.md | 39 -- .../messages_savedGifsNotModified.md | 33 -- .../messages_sentEncryptedFile.md | 39 -- .../messages_sentEncryptedMessage.md | 38 -- .../constructors/messages_stickerSet.md | 40 -- ...messages_stickerSetInstallResultArchive.md | 38 -- ...messages_stickerSetInstallResultSuccess.md | 33 -- .../constructors/messages_stickers.md | 39 -- .../messages_stickersNotModified.md | 33 -- .../constructors/payments.paymentForm.md | 48 ++ .../constructors/payments.paymentReceipt.md | 47 ++ .../constructors/payments.paymentResult.md | 38 ++ .../payments.paymentVerficationNeeded.md | 38 ++ .../constructors/payments.savedInfo.md | 39 ++ .../payments.validatedRequestedInfo.md | 39 ++ .../constructors/payments_paymentForm.md | 48 -- .../constructors/payments_paymentReceipt.md | 47 -- .../constructors/payments_paymentResult.md | 38 -- .../payments_paymentVerficationNeeded.md | 38 -- .../constructors/payments_savedInfo.md | 39 -- .../payments_validatedRequestedInfo.md | 39 -- .../constructors/phone.phoneCall.md | 39 ++ .../constructors/phone_phoneCall.md | 39 -- .../API_docs_v86/constructors/photos.photo.md | 39 ++ .../constructors/photos.photos.md | 39 ++ .../constructors/photos.photosSlice.md | 40 ++ .../API_docs_v86/constructors/photos_photo.md | 39 -- .../constructors/photos_photos.md | 39 -- .../constructors/photos_photosSlice.md | 40 -- .../constructors/storage.fileGif.md | 33 ++ .../constructors/storage.fileJpeg.md | 33 ++ .../constructors/storage.fileMov.md | 33 ++ .../constructors/storage.fileMp3.md | 33 ++ .../constructors/storage.fileMp4.md | 33 ++ .../constructors/storage.filePartial.md | 33 ++ .../constructors/storage.filePdf.md | 33 ++ .../constructors/storage.filePng.md | 33 ++ .../constructors/storage.fileUnknown.md | 33 ++ .../constructors/storage.fileWebp.md | 33 ++ .../constructors/storage_fileGif.md | 33 -- .../constructors/storage_fileJpeg.md | 33 -- .../constructors/storage_fileMov.md | 33 -- .../constructors/storage_fileMp3.md | 33 -- .../constructors/storage_fileMp4.md | 33 -- .../constructors/storage_filePartial.md | 33 -- .../constructors/storage_filePdf.md | 33 -- .../constructors/storage_filePng.md | 33 -- .../constructors/storage_fileUnknown.md | 33 -- .../constructors/storage_fileWebp.md | 33 -- .../constructors/updateNewStickerSet.md | 6 +- .../constructors/updates.channelDifference.md | 44 ++ .../updates.channelDifferenceEmpty.md | 40 ++ .../updates.channelDifferenceTooLong.md | 58 +++ .../constructors/updates.difference.md | 43 ++ .../constructors/updates.differenceEmpty.md | 39 ++ .../constructors/updates.differenceSlice.md | 43 ++ .../constructors/updates.differenceTooLong.md | 38 ++ .../constructors/updates.state.md | 42 ++ .../constructors/updates_channelDifference.md | 44 -- .../updates_channelDifferenceEmpty.md | 40 -- .../updates_channelDifferenceTooLong.md | 58 --- .../constructors/updates_difference.md | 43 -- .../constructors/updates_differenceEmpty.md | 39 -- .../constructors/updates_differenceSlice.md | 43 -- .../constructors/updates_differenceTooLong.md | 38 -- .../constructors/updates_state.md | 42 -- .../constructors/upload.cdnFile.md | 38 ++ .../upload.cdnFileReuploadNeeded.md | 38 ++ .../API_docs_v86/constructors/upload.file.md | 40 ++ .../constructors/upload.fileCdnRedirect.md | 42 ++ .../constructors/upload.webFile.md | 42 ++ .../constructors/upload_cdnFile.md | 38 -- .../upload_cdnFileReuploadNeeded.md | 38 -- .../API_docs_v86/constructors/upload_file.md | 40 -- .../constructors/upload_fileCdnRedirect.md | 42 -- .../constructors/upload_webFile.md | 42 -- .../API_docs_v86/constructors/userFull.md | 6 +- .../methods/account.getAuthorizationForm.md | 6 +- .../methods/account.getAuthorizations.md | 6 +- .../methods/account.getPassword.md | 6 +- .../methods/account.getPasswordSettings.md | 6 +- .../methods/account.getPrivacy.md | 6 +- .../methods/account.getTmpPassword.md | 6 +- .../methods/account.getWebAuthorizations.md | 6 +- .../methods/account.initTakeoutSession.md | 6 +- .../methods/account.sendChangePhoneCode.md | 6 +- .../methods/account.sendConfirmPhoneCode.md | 6 +- .../methods/account.sendVerifyEmailCode.md | 6 +- .../methods/account.sendVerifyPhoneCode.md | 6 +- .../methods/account.setPrivacy.md | 6 +- old_docs/API_docs_v86/methods/api_README.md | 214 ++++----- .../methods/auth.checkPassword.md | 6 +- .../methods/auth.exportAuthorization.md | 6 +- .../methods/auth.importAuthorization.md | 6 +- .../methods/auth.importBotAuthorization.md | 6 +- .../methods/auth.recoverPassword.md | 6 +- .../methods/auth.requestPasswordRecovery.md | 6 +- .../API_docs_v86/methods/auth.resendCode.md | 6 +- .../API_docs_v86/methods/auth.sendCode.md | 6 +- old_docs/API_docs_v86/methods/auth.signIn.md | 6 +- old_docs/API_docs_v86/methods/auth.signUp.md | 6 +- .../methods/channels.deleteMessages.md | 6 +- .../methods/channels.deleteUserHistory.md | 6 +- .../methods/channels.getAdminLog.md | 6 +- .../channels.getAdminedPublicChannels.md | 6 +- .../methods/channels.getChannels.md | 6 +- .../methods/channels.getFullChannel.md | 6 +- .../methods/channels.getLeftChannels.md | 6 +- .../methods/channels.getMessages.md | 6 +- .../methods/channels.getParticipant.md | 6 +- .../methods/channels.getParticipants.md | 6 +- .../methods/contacts.deleteContact.md | 6 +- .../methods/contacts.getBlocked.md | 6 +- .../methods/contacts.getContacts.md | 6 +- .../methods/contacts.getTopPeers.md | 6 +- .../methods/contacts.importContacts.md | 6 +- .../methods/contacts.resolveUsername.md | 6 +- .../API_docs_v86/methods/contacts.search.md | 6 +- .../API_docs_v86/methods/help.getAppUpdate.md | 6 +- .../methods/help.getDeepLinkInfo.md | 6 +- .../methods/help.getInviteText.md | 6 +- .../methods/help.getPassportConfig.md | 6 +- .../API_docs_v86/methods/help.getProxyData.md | 6 +- .../methods/help.getRecentMeUrls.md | 6 +- .../API_docs_v86/methods/help.getSupport.md | 6 +- .../methods/help.getTermsOfServiceUpdate.md | 6 +- .../methods/messages.deleteHistory.md | 6 +- .../methods/messages.deleteMessages.md | 6 +- .../methods/messages.getAllChats.md | 6 +- .../methods/messages.getAllStickers.md | 6 +- .../methods/messages.getArchivedStickers.md | 6 +- .../methods/messages.getBotCallbackAnswer.md | 6 +- .../API_docs_v86/methods/messages.getChats.md | 6 +- .../methods/messages.getCommonChats.md | 6 +- .../methods/messages.getDhConfig.md | 6 +- .../methods/messages.getDialogs.md | 6 +- .../methods/messages.getFavedStickers.md | 6 +- .../methods/messages.getFeaturedStickers.md | 6 +- .../methods/messages.getFullChat.md | 6 +- .../methods/messages.getGameHighScores.md | 6 +- .../methods/messages.getHistory.md | 6 +- .../methods/messages.getInlineBotResults.md | 6 +- .../messages.getInlineGameHighScores.md | 6 +- .../methods/messages.getMaskStickers.md | 6 +- .../methods/messages.getMessageEditData.md | 6 +- .../methods/messages.getMessages.md | 6 +- .../methods/messages.getPeerDialogs.md | 6 +- .../methods/messages.getPinnedDialogs.md | 6 +- .../methods/messages.getRecentLocations.md | 6 +- .../methods/messages.getRecentStickers.md | 6 +- .../methods/messages.getSavedGifs.md | 6 +- .../methods/messages.getStickerSet.md | 6 +- .../methods/messages.getStickers.md | 6 +- .../methods/messages.getUnreadMentions.md | 6 +- .../methods/messages.installStickerSet.md | 6 +- .../methods/messages.readHistory.md | 6 +- .../methods/messages.readMentions.md | 6 +- .../methods/messages.readMessageContents.md | 6 +- .../API_docs_v86/methods/messages.search.md | 6 +- .../methods/messages.searchGifs.md | 6 +- .../methods/messages.searchGlobal.md | 6 +- .../methods/messages.searchStickerSets.md | 6 +- .../methods/messages.sendEncrypted.md | 14 +- .../methods/messages.sendEncryptedFile.md | 14 +- .../methods/messages.sendEncryptedService.md | 14 +- .../methods/payments.getPaymentForm.md | 6 +- .../methods/payments.getPaymentReceipt.md | 6 +- .../methods/payments.getSavedInfo.md | 6 +- .../methods/payments.sendPaymentForm.md | 6 +- .../methods/payments.validateRequestedInfo.md | 6 +- .../API_docs_v86/methods/phone.acceptCall.md | 6 +- .../API_docs_v86/methods/phone.confirmCall.md | 6 +- .../API_docs_v86/methods/phone.requestCall.md | 6 +- .../methods/photos.getUserPhotos.md | 6 +- .../methods/photos.uploadProfilePhoto.md | 6 +- .../methods/stickers.addStickerToSet.md | 6 +- .../methods/stickers.changeStickerPosition.md | 6 +- .../methods/stickers.createStickerSet.md | 6 +- .../methods/stickers.removeStickerFromSet.md | 6 +- .../methods/updates.getChannelDifference.md | 6 +- .../methods/updates.getDifference.md | 6 +- .../API_docs_v86/methods/updates.getState.md | 6 +- .../API_docs_v86/methods/upload.getCdnFile.md | 6 +- .../API_docs_v86/methods/upload.getFile.md | 6 +- .../API_docs_v86/methods/upload.getWebFile.md | 6 +- old_docs/API_docs_v86/types/AccountDaysTTL.md | 2 +- old_docs/API_docs_v86/types/CdnConfig.md | 2 +- old_docs/API_docs_v86/types/ChatInvite.md | 2 +- old_docs/API_docs_v86/types/Config.md | 2 +- old_docs/API_docs_v86/types/ContactStatus.md | 2 +- old_docs/API_docs_v86/types/DialogPeer.md | 2 +- old_docs/API_docs_v86/types/Document.md | 2 +- old_docs/API_docs_v86/types/EncryptedChat.md | 4 +- old_docs/API_docs_v86/types/EncryptedFile.md | 2 +- .../API_docs_v86/types/ExportedChatInvite.md | 4 +- .../API_docs_v86/types/ExportedMessageLink.md | 2 +- old_docs/API_docs_v86/types/FileHash.md | 6 +- .../API_docs_v86/types/LangPackDifference.md | 4 +- .../API_docs_v86/types/LangPackLanguage.md | 2 +- old_docs/API_docs_v86/types/LangPackString.md | 2 +- old_docs/API_docs_v86/types/MessageMedia.md | 4 +- old_docs/API_docs_v86/types/MessageRange.md | 2 +- old_docs/API_docs_v86/types/NearestDc.md | 2 +- .../API_docs_v86/types/PeerNotifySettings.md | 2 +- old_docs/API_docs_v86/types/PeerSettings.md | 2 +- old_docs/API_docs_v86/types/README.md | 152 +++--- .../types/ReceivedNotifyMessage.md | 2 +- old_docs/API_docs_v86/types/SavedContact.md | 2 +- old_docs/API_docs_v86/types/SecureValue.md | 6 +- .../API_docs_v86/types/StickerSetCovered.md | 2 +- old_docs/API_docs_v86/types/Updates.md | 68 +-- old_docs/API_docs_v86/types/User.md | 10 +- old_docs/API_docs_v86/types/UserFull.md | 2 +- .../API_docs_v86/types/UserProfilePhoto.md | 2 +- old_docs/API_docs_v86/types/WallPaper.md | 2 +- old_docs/API_docs_v86/types/WebPage.md | 2 +- .../types/account.AuthorizationForm.md | 22 + .../types/account.Authorizations.md | 22 + .../API_docs_v86/types/account.Password.md | 22 + .../types/account.PasswordInputSettings.md | 20 + .../types/account.PasswordSettings.md | 22 + .../types/account.PrivacyRules.md | 24 + .../types/account.SentEmailCode.md | 22 + .../API_docs_v86/types/account.Takeout.md | 22 + .../API_docs_v86/types/account.TmpPassword.md | 22 + .../types/account.WebAuthorizations.md | 22 + .../types/account_AuthorizationForm.md | 22 - .../types/account_Authorizations.md | 22 - .../API_docs_v86/types/account_Password.md | 22 - .../types/account_PasswordInputSettings.md | 20 - .../types/account_PasswordSettings.md | 22 - .../types/account_PrivacyRules.md | 24 - .../types/account_SentEmailCode.md | 22 - .../API_docs_v86/types/account_Takeout.md | 22 - .../API_docs_v86/types/account_TmpPassword.md | 22 - .../types/account_WebAuthorizations.md | 22 - .../API_docs_v86/types/auth.Authorization.md | 32 ++ .../API_docs_v86/types/auth.CheckedPhone.md | 20 + old_docs/API_docs_v86/types/auth.CodeType.md | 24 + .../types/auth.ExportedAuthorization.md | 22 + .../types/auth.PasswordRecovery.md | 22 + old_docs/API_docs_v86/types/auth.SentCode.md | 30 ++ .../API_docs_v86/types/auth.SentCodeType.md | 26 ++ .../API_docs_v86/types/auth_Authorization.md | 32 -- .../API_docs_v86/types/auth_CheckedPhone.md | 20 - old_docs/API_docs_v86/types/auth_CodeType.md | 24 - .../types/auth_ExportedAuthorization.md | 22 - .../types/auth_PasswordRecovery.md | 22 - old_docs/API_docs_v86/types/auth_SentCode.md | 30 -- .../API_docs_v86/types/auth_SentCodeType.md | 26 -- .../types/channels.AdminLogResults.md | 22 + .../types/channels.ChannelParticipant.md | 22 + .../types/channels.ChannelParticipants.md | 24 + .../types/channels_AdminLogResults.md | 22 - .../types/channels_ChannelParticipant.md | 22 - .../types/channels_ChannelParticipants.md | 24 - .../API_docs_v86/types/contacts.Blocked.md | 24 + .../API_docs_v86/types/contacts.Contacts.md | 24 + old_docs/API_docs_v86/types/contacts.Found.md | 22 + .../types/contacts.ImportedContacts.md | 22 + old_docs/API_docs_v86/types/contacts.Link.md | 22 + .../types/contacts.ResolvedPeer.md | 22 + .../API_docs_v86/types/contacts.TopPeers.md | 26 ++ .../API_docs_v86/types/contacts_Blocked.md | 24 - .../API_docs_v86/types/contacts_Contacts.md | 24 - old_docs/API_docs_v86/types/contacts_Found.md | 22 - .../types/contacts_ImportedContacts.md | 22 - old_docs/API_docs_v86/types/contacts_Link.md | 22 - .../types/contacts_ResolvedPeer.md | 22 - .../API_docs_v86/types/contacts_TopPeers.md | 26 -- old_docs/API_docs_v86/types/help.AppUpdate.md | 24 + .../API_docs_v86/types/help.ConfigSimple.md | 20 + .../API_docs_v86/types/help.DeepLinkInfo.md | 24 + .../API_docs_v86/types/help.InviteText.md | 22 + .../API_docs_v86/types/help.PassportConfig.md | 24 + old_docs/API_docs_v86/types/help.ProxyData.md | 24 + .../API_docs_v86/types/help.RecentMeUrls.md | 22 + old_docs/API_docs_v86/types/help.Support.md | 22 + .../API_docs_v86/types/help.TermsOfService.md | 20 + .../types/help.TermsOfServiceUpdate.md | 24 + old_docs/API_docs_v86/types/help_AppUpdate.md | 24 - .../API_docs_v86/types/help_ConfigSimple.md | 20 - .../API_docs_v86/types/help_DeepLinkInfo.md | 24 - .../API_docs_v86/types/help_InviteText.md | 22 - .../API_docs_v86/types/help_PassportConfig.md | 24 - old_docs/API_docs_v86/types/help_ProxyData.md | 24 - .../API_docs_v86/types/help_RecentMeUrls.md | 22 - old_docs/API_docs_v86/types/help_Support.md | 22 - .../API_docs_v86/types/help_TermsOfService.md | 20 - .../types/help_TermsOfServiceUpdate.md | 24 - .../types/messages.AffectedHistory.md | 26 ++ .../types/messages.AffectedMessages.md | 28 ++ .../types/messages.AllStickers.md | 26 ++ .../types/messages.ArchivedStickers.md | 22 + .../types/messages.BotCallbackAnswer.md | 22 + .../API_docs_v86/types/messages.BotResults.md | 22 + .../API_docs_v86/types/messages.ChatFull.md | 24 + old_docs/API_docs_v86/types/messages.Chats.md | 34 ++ .../API_docs_v86/types/messages.DhConfig.md | 24 + .../API_docs_v86/types/messages.Dialogs.md | 26 ++ .../types/messages.FavedStickers.md | 24 + .../types/messages.FeaturedStickers.md | 24 + .../API_docs_v86/types/messages.FoundGifs.md | 22 + .../types/messages.FoundStickerSets.md | 24 + .../API_docs_v86/types/messages.HighScores.md | 24 + .../types/messages.MessageEditData.md | 22 + .../API_docs_v86/types/messages.Messages.md | 40 ++ .../types/messages.PeerDialogs.md | 24 + .../types/messages.RecentStickers.md | 24 + .../API_docs_v86/types/messages.SavedGifs.md | 24 + .../types/messages.SentEncryptedMessage.md | 28 ++ .../API_docs_v86/types/messages.StickerSet.md | 30 ++ .../types/messages.StickerSetInstallResult.md | 24 + .../API_docs_v86/types/messages.Stickers.md | 24 + .../types/messages_AffectedHistory.md | 26 -- .../types/messages_AffectedMessages.md | 28 -- .../types/messages_AllStickers.md | 26 -- .../types/messages_ArchivedStickers.md | 22 - .../types/messages_BotCallbackAnswer.md | 22 - .../API_docs_v86/types/messages_BotResults.md | 22 - .../API_docs_v86/types/messages_ChatFull.md | 24 - old_docs/API_docs_v86/types/messages_Chats.md | 34 -- .../API_docs_v86/types/messages_DhConfig.md | 24 - .../API_docs_v86/types/messages_Dialogs.md | 26 -- .../types/messages_FavedStickers.md | 24 - .../types/messages_FeaturedStickers.md | 24 - .../API_docs_v86/types/messages_FoundGifs.md | 22 - .../types/messages_FoundStickerSets.md | 24 - .../API_docs_v86/types/messages_HighScores.md | 24 - .../types/messages_MessageEditData.md | 22 - .../API_docs_v86/types/messages_Messages.md | 40 -- .../types/messages_PeerDialogs.md | 24 - .../types/messages_RecentStickers.md | 24 - .../API_docs_v86/types/messages_SavedGifs.md | 24 - .../types/messages_SentEncryptedMessage.md | 28 -- .../API_docs_v86/types/messages_StickerSet.md | 30 -- .../types/messages_StickerSetInstallResult.md | 24 - .../API_docs_v86/types/messages_Stickers.md | 24 - .../types/payments.PaymentForm.md | 22 + .../types/payments.PaymentReceipt.md | 22 + .../types/payments.PaymentResult.md | 24 + .../API_docs_v86/types/payments.SavedInfo.md | 22 + .../types/payments.ValidatedRequestedInfo.md | 22 + .../types/payments_PaymentForm.md | 22 - .../types/payments_PaymentReceipt.md | 22 - .../types/payments_PaymentResult.md | 24 - .../API_docs_v86/types/payments_SavedInfo.md | 22 - .../types/payments_ValidatedRequestedInfo.md | 22 - .../API_docs_v86/types/phone.PhoneCall.md | 26 ++ .../API_docs_v86/types/phone_PhoneCall.md | 26 -- old_docs/API_docs_v86/types/photos.Photo.md | 22 + old_docs/API_docs_v86/types/photos.Photos.md | 24 + old_docs/API_docs_v86/types/photos_Photo.md | 22 - old_docs/API_docs_v86/types/photos_Photos.md | 24 - .../API_docs_v86/types/storage.FileType.md | 38 ++ .../API_docs_v86/types/storage_FileType.md | 38 -- .../types/updates.ChannelDifference.md | 26 ++ .../API_docs_v86/types/updates.Difference.md | 28 ++ old_docs/API_docs_v86/types/updates.State.md | 22 + .../types/updates_ChannelDifference.md | 26 -- .../API_docs_v86/types/updates_Difference.md | 28 -- old_docs/API_docs_v86/types/updates_State.md | 22 - old_docs/API_docs_v86/types/upload.CdnFile.md | 24 + old_docs/API_docs_v86/types/upload.File.md | 24 + old_docs/API_docs_v86/types/upload.WebFile.md | 22 + old_docs/API_docs_v86/types/upload_CdnFile.md | 24 - old_docs/API_docs_v86/types/upload_File.md | 24 - old_docs/API_docs_v86/types/upload_WebFile.md | 22 - old_docs/API_docs_v89/constructors/README.md | 412 +++++++++++------ .../constructors/account.authorizationForm.md | 42 ++ .../constructors/account.authorizations.md | 38 ++ .../constructors/account.password.md | 48 ++ .../account.passwordInputSettings.md | 42 ++ .../constructors/account.passwordSettings.md | 39 ++ .../constructors/account.privacyRules.md | 39 ++ .../constructors/account.sentEmailCode.md | 39 ++ .../constructors/account.takeout.md | 38 ++ .../constructors/account.tmpPassword.md | 39 ++ .../constructors/account.webAuthorizations.md | 39 ++ .../constructors/account_authorizationForm.md | 42 -- .../constructors/account_authorizations.md | 38 -- .../constructors/account_password.md | 48 -- .../account_passwordInputSettings.md | 42 -- .../constructors/account_passwordSettings.md | 39 -- .../constructors/account_privacyRules.md | 39 -- .../constructors/account_sentEmailCode.md | 39 -- .../constructors/account_takeout.md | 38 -- .../constructors/account_tmpPassword.md | 39 -- .../constructors/account_webAuthorizations.md | 39 -- .../constructors/auth.authorization.md | 39 ++ .../constructors/auth.checkedPhone.md | 38 ++ .../constructors/auth.codeTypeCall.md | 33 ++ .../constructors/auth.codeTypeFlashCall.md | 33 ++ .../constructors/auth.codeTypeSms.md | 33 ++ .../auth.exportedAuthorization.md | 39 ++ .../constructors/auth.passwordRecovery.md | 38 ++ .../constructors/auth.sentCode.md | 43 ++ .../constructors/auth.sentCodeTypeApp.md | 38 ++ .../constructors/auth.sentCodeTypeCall.md | 38 ++ .../auth.sentCodeTypeFlashCall.md | 38 ++ .../constructors/auth.sentCodeTypeSms.md | 38 ++ .../constructors/auth_authorization.md | 39 -- .../constructors/auth_checkedPhone.md | 38 -- .../constructors/auth_codeTypeCall.md | 33 -- .../constructors/auth_codeTypeFlashCall.md | 33 -- .../constructors/auth_codeTypeSms.md | 33 -- .../auth_exportedAuthorization.md | 39 -- .../constructors/auth_passwordRecovery.md | 38 -- .../constructors/auth_sentCode.md | 43 -- .../constructors/auth_sentCodeTypeApp.md | 38 -- .../constructors/auth_sentCodeTypeCall.md | 38 -- .../auth_sentCodeTypeFlashCall.md | 38 -- .../constructors/auth_sentCodeTypeSms.md | 38 -- .../constructors/channels.adminLogResults.md | 40 ++ .../channels.channelParticipant.md | 39 ++ .../channels.channelParticipants.md | 40 ++ ...channels.channelParticipantsNotModified.md | 33 ++ .../constructors/channels_adminLogResults.md | 40 -- .../channels_channelParticipant.md | 39 -- .../channels_channelParticipants.md | 40 -- ...channels_channelParticipantsNotModified.md | 33 -- .../constructors/contacts.blocked.md | 39 ++ .../constructors/contacts.blockedSlice.md | 40 ++ .../constructors/contacts.contacts.md | 40 ++ .../contacts.contactsNotModified.md | 33 ++ .../constructors/contacts.found.md | 41 ++ .../constructors/contacts.importedContacts.md | 41 ++ .../constructors/contacts.link.md | 40 ++ .../constructors/contacts.resolvedPeer.md | 40 ++ .../constructors/contacts.topPeers.md | 40 ++ .../constructors/contacts.topPeersDisabled.md | 33 ++ .../contacts.topPeersNotModified.md | 33 ++ .../constructors/contacts_blocked.md | 39 -- .../constructors/contacts_blockedSlice.md | 40 -- .../constructors/contacts_contacts.md | 40 -- .../contacts_contactsNotModified.md | 33 -- .../constructors/contacts_found.md | 41 -- .../constructors/contacts_importedContacts.md | 41 -- .../constructors/contacts_link.md | 40 -- .../constructors/contacts_resolvedPeer.md | 40 -- .../constructors/contacts_topPeers.md | 40 -- .../constructors/contacts_topPeersDisabled.md | 33 -- .../contacts_topPeersNotModified.md | 33 -- .../constructors/help.appUpdate.md | 44 ++ .../constructors/help.configSimple.md | 40 ++ .../constructors/help.deepLinkInfo.md | 40 ++ .../constructors/help.deepLinkInfoEmpty.md | 33 ++ .../constructors/help.inviteText.md | 38 ++ .../constructors/help.noAppUpdate.md | 33 ++ .../constructors/help.passportConfig.md | 39 ++ .../help.passportConfigNotModified.md | 33 ++ .../constructors/help.proxyDataEmpty.md | 38 ++ .../constructors/help.proxyDataPromo.md | 41 ++ .../constructors/help.recentMeUrls.md | 40 ++ .../API_docs_v89/constructors/help.support.md | 39 ++ .../constructors/help.supportName.md | 38 ++ .../constructors/help.termsOfService.md | 42 ++ .../constructors/help.termsOfServiceUpdate.md | 39 ++ .../help.termsOfServiceUpdateEmpty.md | 38 ++ .../constructors/help.userInfo.md | 41 ++ .../constructors/help.userInfoEmpty.md | 33 ++ .../constructors/help_appUpdate.md | 44 -- .../constructors/help_configSimple.md | 40 -- .../constructors/help_deepLinkInfo.md | 40 -- .../constructors/help_deepLinkInfoEmpty.md | 33 -- .../constructors/help_inviteText.md | 38 -- .../constructors/help_noAppUpdate.md | 33 -- .../constructors/help_passportConfig.md | 39 -- .../help_passportConfigNotModified.md | 33 -- .../constructors/help_proxyDataEmpty.md | 38 -- .../constructors/help_proxyDataPromo.md | 41 -- .../constructors/help_recentMeUrls.md | 40 -- .../API_docs_v89/constructors/help_support.md | 39 -- .../constructors/help_supportName.md | 38 -- .../constructors/help_termsOfService.md | 42 -- .../constructors/help_termsOfServiceUpdate.md | 39 -- .../help_termsOfServiceUpdateEmpty.md | 38 -- .../constructors/help_userInfo.md | 41 -- .../constructors/help_userInfoEmpty.md | 33 -- .../constructors/messages.affectedHistory.md | 40 ++ .../constructors/messages.affectedMessages.md | 39 ++ .../constructors/messages.allStickers.md | 39 ++ .../messages.allStickersNotModified.md | 33 ++ .../constructors/messages.archivedStickers.md | 39 ++ .../messages.botCallbackAnswer.md | 43 ++ .../constructors/messages.botResults.md | 44 ++ .../constructors/messages.channelMessages.md | 42 ++ .../constructors/messages.chatFull.md | 40 ++ .../constructors/messages.chats.md | 38 ++ .../constructors/messages.chatsSlice.md | 39 ++ .../constructors/messages.dhConfig.md | 41 ++ .../messages.dhConfigNotModified.md | 38 ++ .../constructors/messages.dialogs.md | 41 ++ .../messages.dialogsNotModified.md | 38 ++ .../constructors/messages.dialogsSlice.md | 42 ++ .../constructors/messages.favedStickers.md | 40 ++ .../messages.favedStickersNotModified.md | 33 ++ .../constructors/messages.featuredStickers.md | 40 ++ .../messages.featuredStickersNotModified.md | 33 ++ .../constructors/messages.foundGifs.md | 39 ++ .../constructors/messages.foundStickerSets.md | 39 ++ .../messages.foundStickerSetsNotModified.md | 33 ++ .../constructors/messages.highScores.md | 39 ++ .../constructors/messages.messageEditData.md | 38 ++ .../constructors/messages.messages.md | 40 ++ .../messages.messagesNotModified.md | 38 ++ .../constructors/messages.messagesSlice.md | 41 ++ .../constructors/messages.peerDialogs.md | 42 ++ .../constructors/messages.recentStickers.md | 41 ++ .../messages.recentStickersNotModified.md | 33 ++ .../constructors/messages.savedGifs.md | 39 ++ .../messages.savedGifsNotModified.md | 33 ++ .../messages.sentEncryptedFile.md | 39 ++ .../messages.sentEncryptedMessage.md | 38 ++ .../constructors/messages.stickerSet.md | 40 ++ ...messages.stickerSetInstallResultArchive.md | 38 ++ ...messages.stickerSetInstallResultSuccess.md | 33 ++ .../constructors/messages.stickers.md | 39 ++ .../messages.stickersNotModified.md | 33 ++ .../constructors/messages_affectedHistory.md | 40 -- .../constructors/messages_affectedMessages.md | 39 -- .../constructors/messages_allStickers.md | 39 -- .../messages_allStickersNotModified.md | 33 -- .../constructors/messages_archivedStickers.md | 39 -- .../messages_botCallbackAnswer.md | 43 -- .../constructors/messages_botResults.md | 44 -- .../constructors/messages_channelMessages.md | 42 -- .../constructors/messages_chatFull.md | 40 -- .../constructors/messages_chats.md | 38 -- .../constructors/messages_chatsSlice.md | 39 -- .../constructors/messages_dhConfig.md | 41 -- .../messages_dhConfigNotModified.md | 38 -- .../constructors/messages_dialogs.md | 41 -- .../messages_dialogsNotModified.md | 38 -- .../constructors/messages_dialogsSlice.md | 42 -- .../constructors/messages_favedStickers.md | 40 -- .../messages_favedStickersNotModified.md | 33 -- .../constructors/messages_featuredStickers.md | 40 -- .../messages_featuredStickersNotModified.md | 33 -- .../constructors/messages_foundGifs.md | 39 -- .../constructors/messages_foundStickerSets.md | 39 -- .../messages_foundStickerSetsNotModified.md | 33 -- .../constructors/messages_highScores.md | 39 -- .../constructors/messages_messageEditData.md | 38 -- .../constructors/messages_messages.md | 40 -- .../messages_messagesNotModified.md | 38 -- .../constructors/messages_messagesSlice.md | 41 -- .../constructors/messages_peerDialogs.md | 42 -- .../constructors/messages_recentStickers.md | 41 -- .../messages_recentStickersNotModified.md | 33 -- .../constructors/messages_savedGifs.md | 39 -- .../messages_savedGifsNotModified.md | 33 -- .../messages_sentEncryptedFile.md | 39 -- .../messages_sentEncryptedMessage.md | 38 -- .../constructors/messages_stickerSet.md | 40 -- ...messages_stickerSetInstallResultArchive.md | 38 -- ...messages_stickerSetInstallResultSuccess.md | 33 -- .../constructors/messages_stickers.md | 39 -- .../messages_stickersNotModified.md | 33 -- .../constructors/payments.paymentForm.md | 48 ++ .../constructors/payments.paymentReceipt.md | 47 ++ .../constructors/payments.paymentResult.md | 38 ++ .../payments.paymentVerficationNeeded.md | 38 ++ .../constructors/payments.savedInfo.md | 39 ++ .../payments.validatedRequestedInfo.md | 39 ++ .../constructors/payments_paymentForm.md | 48 -- .../constructors/payments_paymentReceipt.md | 47 -- .../constructors/payments_paymentResult.md | 38 -- .../payments_paymentVerficationNeeded.md | 38 -- .../constructors/payments_savedInfo.md | 39 -- .../payments_validatedRequestedInfo.md | 39 -- .../constructors/phone.phoneCall.md | 39 ++ .../constructors/phone_phoneCall.md | 39 -- .../API_docs_v89/constructors/photos.photo.md | 39 ++ .../constructors/photos.photos.md | 39 ++ .../constructors/photos.photosSlice.md | 40 ++ .../API_docs_v89/constructors/photos_photo.md | 39 -- .../constructors/photos_photos.md | 39 -- .../constructors/photos_photosSlice.md | 40 -- .../constructors/storage.fileGif.md | 33 ++ .../constructors/storage.fileJpeg.md | 33 ++ .../constructors/storage.fileMov.md | 33 ++ .../constructors/storage.fileMp3.md | 33 ++ .../constructors/storage.fileMp4.md | 33 ++ .../constructors/storage.filePartial.md | 33 ++ .../constructors/storage.filePdf.md | 33 ++ .../constructors/storage.filePng.md | 33 ++ .../constructors/storage.fileUnknown.md | 33 ++ .../constructors/storage.fileWebp.md | 33 ++ .../constructors/storage_fileGif.md | 33 -- .../constructors/storage_fileJpeg.md | 33 -- .../constructors/storage_fileMov.md | 33 -- .../constructors/storage_fileMp3.md | 33 -- .../constructors/storage_fileMp4.md | 33 -- .../constructors/storage_filePartial.md | 33 -- .../constructors/storage_filePdf.md | 33 -- .../constructors/storage_filePng.md | 33 -- .../constructors/storage_fileUnknown.md | 33 -- .../constructors/storage_fileWebp.md | 33 -- .../constructors/updateNewStickerSet.md | 6 +- .../constructors/updates.channelDifference.md | 44 ++ .../updates.channelDifferenceEmpty.md | 40 ++ .../updates.channelDifferenceTooLong.md | 58 +++ .../constructors/updates.difference.md | 43 ++ .../constructors/updates.differenceEmpty.md | 39 ++ .../constructors/updates.differenceSlice.md | 43 ++ .../constructors/updates.differenceTooLong.md | 38 ++ .../constructors/updates.state.md | 42 ++ .../constructors/updates_channelDifference.md | 44 -- .../updates_channelDifferenceEmpty.md | 40 -- .../updates_channelDifferenceTooLong.md | 58 --- .../constructors/updates_difference.md | 43 -- .../constructors/updates_differenceEmpty.md | 39 -- .../constructors/updates_differenceSlice.md | 43 -- .../constructors/updates_differenceTooLong.md | 38 -- .../constructors/updates_state.md | 42 -- .../constructors/upload.cdnFile.md | 38 ++ .../upload.cdnFileReuploadNeeded.md | 38 ++ .../API_docs_v89/constructors/upload.file.md | 40 ++ .../constructors/upload.fileCdnRedirect.md | 42 ++ .../constructors/upload.webFile.md | 42 ++ .../constructors/upload_cdnFile.md | 38 -- .../upload_cdnFileReuploadNeeded.md | 38 -- .../API_docs_v89/constructors/upload_file.md | 40 -- .../constructors/upload_fileCdnRedirect.md | 42 -- .../constructors/upload_webFile.md | 42 -- .../API_docs_v89/constructors/userFull.md | 6 +- .../methods/account.getAuthorizationForm.md | 6 +- .../methods/account.getAuthorizations.md | 6 +- .../methods/account.getPassword.md | 6 +- .../methods/account.getPasswordSettings.md | 6 +- .../methods/account.getPrivacy.md | 6 +- .../methods/account.getTmpPassword.md | 6 +- .../methods/account.getWebAuthorizations.md | 6 +- .../methods/account.initTakeoutSession.md | 6 +- .../methods/account.sendChangePhoneCode.md | 6 +- .../methods/account.sendConfirmPhoneCode.md | 6 +- .../methods/account.sendVerifyEmailCode.md | 6 +- .../methods/account.sendVerifyPhoneCode.md | 6 +- .../methods/account.setPrivacy.md | 6 +- old_docs/API_docs_v89/methods/api_README.md | 220 ++++----- .../methods/auth.checkPassword.md | 6 +- .../methods/auth.exportAuthorization.md | 6 +- .../methods/auth.importAuthorization.md | 6 +- .../methods/auth.importBotAuthorization.md | 6 +- .../methods/auth.recoverPassword.md | 6 +- .../methods/auth.requestPasswordRecovery.md | 6 +- .../API_docs_v89/methods/auth.resendCode.md | 6 +- .../API_docs_v89/methods/auth.sendCode.md | 6 +- old_docs/API_docs_v89/methods/auth.signIn.md | 6 +- old_docs/API_docs_v89/methods/auth.signUp.md | 6 +- .../methods/channels.deleteMessages.md | 6 +- .../methods/channels.deleteUserHistory.md | 6 +- .../methods/channels.getAdminLog.md | 6 +- .../channels.getAdminedPublicChannels.md | 6 +- .../methods/channels.getChannels.md | 6 +- .../methods/channels.getFullChannel.md | 6 +- .../methods/channels.getLeftChannels.md | 6 +- .../methods/channels.getMessages.md | 6 +- .../methods/channels.getParticipant.md | 6 +- .../methods/channels.getParticipants.md | 6 +- .../methods/contacts.deleteContact.md | 6 +- .../methods/contacts.getBlocked.md | 6 +- .../methods/contacts.getContacts.md | 6 +- .../methods/contacts.getTopPeers.md | 6 +- .../methods/contacts.importContacts.md | 6 +- .../methods/contacts.resolveUsername.md | 6 +- .../API_docs_v89/methods/contacts.search.md | 6 +- .../API_docs_v89/methods/help.editUserInfo.md | 8 +- .../API_docs_v89/methods/help.getAppUpdate.md | 6 +- .../methods/help.getDeepLinkInfo.md | 6 +- .../methods/help.getInviteText.md | 6 +- .../methods/help.getPassportConfig.md | 6 +- .../API_docs_v89/methods/help.getProxyData.md | 6 +- .../methods/help.getRecentMeUrls.md | 6 +- .../API_docs_v89/methods/help.getSupport.md | 6 +- .../methods/help.getSupportName.md | 6 +- .../methods/help.getTermsOfServiceUpdate.md | 6 +- .../API_docs_v89/methods/help.getUserInfo.md | 6 +- .../methods/messages.deleteHistory.md | 6 +- .../methods/messages.deleteMessages.md | 6 +- .../methods/messages.getAllChats.md | 6 +- .../methods/messages.getAllStickers.md | 6 +- .../methods/messages.getArchivedStickers.md | 6 +- .../methods/messages.getBotCallbackAnswer.md | 6 +- .../API_docs_v89/methods/messages.getChats.md | 6 +- .../methods/messages.getCommonChats.md | 6 +- .../methods/messages.getDhConfig.md | 6 +- .../methods/messages.getDialogs.md | 6 +- .../methods/messages.getFavedStickers.md | 6 +- .../methods/messages.getFeaturedStickers.md | 6 +- .../methods/messages.getFullChat.md | 6 +- .../methods/messages.getGameHighScores.md | 6 +- .../methods/messages.getHistory.md | 6 +- .../methods/messages.getInlineBotResults.md | 6 +- .../messages.getInlineGameHighScores.md | 6 +- .../methods/messages.getMaskStickers.md | 6 +- .../methods/messages.getMessageEditData.md | 6 +- .../methods/messages.getMessages.md | 6 +- .../methods/messages.getPeerDialogs.md | 6 +- .../methods/messages.getPinnedDialogs.md | 6 +- .../methods/messages.getRecentLocations.md | 6 +- .../methods/messages.getRecentStickers.md | 6 +- .../methods/messages.getSavedGifs.md | 6 +- .../methods/messages.getStickerSet.md | 6 +- .../methods/messages.getStickers.md | 6 +- .../methods/messages.getUnreadMentions.md | 6 +- .../methods/messages.installStickerSet.md | 6 +- .../methods/messages.readHistory.md | 6 +- .../methods/messages.readMentions.md | 6 +- .../methods/messages.readMessageContents.md | 6 +- .../API_docs_v89/methods/messages.search.md | 6 +- .../methods/messages.searchGifs.md | 6 +- .../methods/messages.searchGlobal.md | 6 +- .../methods/messages.searchStickerSets.md | 6 +- .../methods/messages.sendEncrypted.md | 14 +- .../methods/messages.sendEncryptedFile.md | 14 +- .../methods/messages.sendEncryptedService.md | 14 +- .../methods/payments.getPaymentForm.md | 6 +- .../methods/payments.getPaymentReceipt.md | 6 +- .../methods/payments.getSavedInfo.md | 6 +- .../methods/payments.sendPaymentForm.md | 6 +- .../methods/payments.validateRequestedInfo.md | 6 +- .../API_docs_v89/methods/phone.acceptCall.md | 6 +- .../API_docs_v89/methods/phone.confirmCall.md | 6 +- .../API_docs_v89/methods/phone.requestCall.md | 6 +- .../methods/photos.getUserPhotos.md | 6 +- .../methods/photos.uploadProfilePhoto.md | 6 +- .../methods/stickers.addStickerToSet.md | 6 +- .../methods/stickers.changeStickerPosition.md | 6 +- .../methods/stickers.createStickerSet.md | 6 +- .../methods/stickers.removeStickerFromSet.md | 6 +- .../methods/updates.getChannelDifference.md | 6 +- .../methods/updates.getDifference.md | 6 +- .../API_docs_v89/methods/updates.getState.md | 6 +- .../API_docs_v89/methods/upload.getCdnFile.md | 6 +- .../API_docs_v89/methods/upload.getFile.md | 6 +- .../API_docs_v89/methods/upload.getWebFile.md | 6 +- old_docs/API_docs_v89/types/AccountDaysTTL.md | 2 +- old_docs/API_docs_v89/types/CdnConfig.md | 2 +- old_docs/API_docs_v89/types/ChatInvite.md | 2 +- old_docs/API_docs_v89/types/Config.md | 2 +- old_docs/API_docs_v89/types/ContactStatus.md | 2 +- old_docs/API_docs_v89/types/DialogPeer.md | 2 +- old_docs/API_docs_v89/types/Document.md | 2 +- old_docs/API_docs_v89/types/EncryptedChat.md | 4 +- old_docs/API_docs_v89/types/EncryptedFile.md | 2 +- .../API_docs_v89/types/ExportedChatInvite.md | 4 +- .../API_docs_v89/types/ExportedMessageLink.md | 2 +- old_docs/API_docs_v89/types/FileHash.md | 6 +- .../API_docs_v89/types/LangPackDifference.md | 4 +- .../API_docs_v89/types/LangPackLanguage.md | 4 +- old_docs/API_docs_v89/types/LangPackString.md | 2 +- old_docs/API_docs_v89/types/MessageMedia.md | 4 +- old_docs/API_docs_v89/types/MessageRange.md | 2 +- old_docs/API_docs_v89/types/NearestDc.md | 2 +- .../API_docs_v89/types/PeerNotifySettings.md | 2 +- old_docs/API_docs_v89/types/PeerSettings.md | 2 +- old_docs/API_docs_v89/types/README.md | 156 +++---- .../types/ReceivedNotifyMessage.md | 2 +- old_docs/API_docs_v89/types/SavedContact.md | 2 +- old_docs/API_docs_v89/types/SecureValue.md | 6 +- .../API_docs_v89/types/StickerSetCovered.md | 2 +- old_docs/API_docs_v89/types/Updates.md | 70 +-- old_docs/API_docs_v89/types/User.md | 10 +- old_docs/API_docs_v89/types/UserFull.md | 2 +- .../API_docs_v89/types/UserProfilePhoto.md | 2 +- old_docs/API_docs_v89/types/WallPaper.md | 2 +- old_docs/API_docs_v89/types/WebPage.md | 2 +- .../types/account.AuthorizationForm.md | 22 + .../types/account.Authorizations.md | 22 + .../API_docs_v89/types/account.Password.md | 22 + .../types/account.PasswordInputSettings.md | 20 + .../types/account.PasswordSettings.md | 22 + .../types/account.PrivacyRules.md | 24 + .../types/account.SentEmailCode.md | 22 + .../API_docs_v89/types/account.Takeout.md | 22 + .../API_docs_v89/types/account.TmpPassword.md | 22 + .../types/account.WebAuthorizations.md | 22 + .../types/account_AuthorizationForm.md | 22 - .../types/account_Authorizations.md | 22 - .../API_docs_v89/types/account_Password.md | 22 - .../types/account_PasswordInputSettings.md | 20 - .../types/account_PasswordSettings.md | 22 - .../types/account_PrivacyRules.md | 24 - .../types/account_SentEmailCode.md | 22 - .../API_docs_v89/types/account_Takeout.md | 22 - .../API_docs_v89/types/account_TmpPassword.md | 22 - .../types/account_WebAuthorizations.md | 22 - .../API_docs_v89/types/auth.Authorization.md | 32 ++ .../API_docs_v89/types/auth.CheckedPhone.md | 20 + old_docs/API_docs_v89/types/auth.CodeType.md | 24 + .../types/auth.ExportedAuthorization.md | 22 + .../types/auth.PasswordRecovery.md | 22 + old_docs/API_docs_v89/types/auth.SentCode.md | 30 ++ .../API_docs_v89/types/auth.SentCodeType.md | 26 ++ .../API_docs_v89/types/auth_Authorization.md | 32 -- .../API_docs_v89/types/auth_CheckedPhone.md | 20 - old_docs/API_docs_v89/types/auth_CodeType.md | 24 - .../types/auth_ExportedAuthorization.md | 22 - .../types/auth_PasswordRecovery.md | 22 - old_docs/API_docs_v89/types/auth_SentCode.md | 30 -- .../API_docs_v89/types/auth_SentCodeType.md | 26 -- .../types/channels.AdminLogResults.md | 22 + .../types/channels.ChannelParticipant.md | 22 + .../types/channels.ChannelParticipants.md | 24 + .../types/channels_AdminLogResults.md | 22 - .../types/channels_ChannelParticipant.md | 22 - .../types/channels_ChannelParticipants.md | 24 - .../API_docs_v89/types/contacts.Blocked.md | 24 + .../API_docs_v89/types/contacts.Contacts.md | 24 + old_docs/API_docs_v89/types/contacts.Found.md | 22 + .../types/contacts.ImportedContacts.md | 22 + old_docs/API_docs_v89/types/contacts.Link.md | 22 + .../types/contacts.ResolvedPeer.md | 22 + .../API_docs_v89/types/contacts.TopPeers.md | 26 ++ .../API_docs_v89/types/contacts_Blocked.md | 24 - .../API_docs_v89/types/contacts_Contacts.md | 24 - old_docs/API_docs_v89/types/contacts_Found.md | 22 - .../types/contacts_ImportedContacts.md | 22 - old_docs/API_docs_v89/types/contacts_Link.md | 22 - .../types/contacts_ResolvedPeer.md | 22 - .../API_docs_v89/types/contacts_TopPeers.md | 26 -- old_docs/API_docs_v89/types/help.AppUpdate.md | 24 + .../API_docs_v89/types/help.ConfigSimple.md | 20 + .../API_docs_v89/types/help.DeepLinkInfo.md | 24 + .../API_docs_v89/types/help.InviteText.md | 22 + .../API_docs_v89/types/help.PassportConfig.md | 24 + old_docs/API_docs_v89/types/help.ProxyData.md | 24 + .../API_docs_v89/types/help.RecentMeUrls.md | 22 + old_docs/API_docs_v89/types/help.Support.md | 22 + .../API_docs_v89/types/help.SupportName.md | 22 + .../API_docs_v89/types/help.TermsOfService.md | 20 + .../types/help.TermsOfServiceUpdate.md | 24 + old_docs/API_docs_v89/types/help.UserInfo.md | 26 ++ old_docs/API_docs_v89/types/help_AppUpdate.md | 24 - .../API_docs_v89/types/help_ConfigSimple.md | 20 - .../API_docs_v89/types/help_DeepLinkInfo.md | 24 - .../API_docs_v89/types/help_InviteText.md | 22 - .../API_docs_v89/types/help_PassportConfig.md | 24 - old_docs/API_docs_v89/types/help_ProxyData.md | 24 - .../API_docs_v89/types/help_RecentMeUrls.md | 22 - old_docs/API_docs_v89/types/help_Support.md | 22 - .../API_docs_v89/types/help_SupportName.md | 22 - .../API_docs_v89/types/help_TermsOfService.md | 20 - .../types/help_TermsOfServiceUpdate.md | 24 - old_docs/API_docs_v89/types/help_UserInfo.md | 26 -- .../types/messages.AffectedHistory.md | 26 ++ .../types/messages.AffectedMessages.md | 28 ++ .../types/messages.AllStickers.md | 26 ++ .../types/messages.ArchivedStickers.md | 22 + .../types/messages.BotCallbackAnswer.md | 22 + .../API_docs_v89/types/messages.BotResults.md | 22 + .../API_docs_v89/types/messages.ChatFull.md | 24 + old_docs/API_docs_v89/types/messages.Chats.md | 34 ++ .../API_docs_v89/types/messages.DhConfig.md | 24 + .../API_docs_v89/types/messages.Dialogs.md | 26 ++ .../types/messages.FavedStickers.md | 24 + .../types/messages.FeaturedStickers.md | 24 + .../API_docs_v89/types/messages.FoundGifs.md | 22 + .../types/messages.FoundStickerSets.md | 24 + .../API_docs_v89/types/messages.HighScores.md | 24 + .../types/messages.MessageEditData.md | 22 + .../API_docs_v89/types/messages.Messages.md | 40 ++ .../types/messages.PeerDialogs.md | 24 + .../types/messages.RecentStickers.md | 24 + .../API_docs_v89/types/messages.SavedGifs.md | 24 + .../types/messages.SentEncryptedMessage.md | 28 ++ .../API_docs_v89/types/messages.StickerSet.md | 30 ++ .../types/messages.StickerSetInstallResult.md | 24 + .../API_docs_v89/types/messages.Stickers.md | 24 + .../types/messages_AffectedHistory.md | 26 -- .../types/messages_AffectedMessages.md | 28 -- .../types/messages_AllStickers.md | 26 -- .../types/messages_ArchivedStickers.md | 22 - .../types/messages_BotCallbackAnswer.md | 22 - .../API_docs_v89/types/messages_BotResults.md | 22 - .../API_docs_v89/types/messages_ChatFull.md | 24 - old_docs/API_docs_v89/types/messages_Chats.md | 34 -- .../API_docs_v89/types/messages_DhConfig.md | 24 - .../API_docs_v89/types/messages_Dialogs.md | 26 -- .../types/messages_FavedStickers.md | 24 - .../types/messages_FeaturedStickers.md | 24 - .../API_docs_v89/types/messages_FoundGifs.md | 22 - .../types/messages_FoundStickerSets.md | 24 - .../API_docs_v89/types/messages_HighScores.md | 24 - .../types/messages_MessageEditData.md | 22 - .../API_docs_v89/types/messages_Messages.md | 40 -- .../types/messages_PeerDialogs.md | 24 - .../types/messages_RecentStickers.md | 24 - .../API_docs_v89/types/messages_SavedGifs.md | 24 - .../types/messages_SentEncryptedMessage.md | 28 -- .../API_docs_v89/types/messages_StickerSet.md | 30 -- .../types/messages_StickerSetInstallResult.md | 24 - .../API_docs_v89/types/messages_Stickers.md | 24 - .../types/payments.PaymentForm.md | 22 + .../types/payments.PaymentReceipt.md | 22 + .../types/payments.PaymentResult.md | 24 + .../API_docs_v89/types/payments.SavedInfo.md | 22 + .../types/payments.ValidatedRequestedInfo.md | 22 + .../types/payments_PaymentForm.md | 22 - .../types/payments_PaymentReceipt.md | 22 - .../types/payments_PaymentResult.md | 24 - .../API_docs_v89/types/payments_SavedInfo.md | 22 - .../types/payments_ValidatedRequestedInfo.md | 22 - .../API_docs_v89/types/phone.PhoneCall.md | 26 ++ .../API_docs_v89/types/phone_PhoneCall.md | 26 -- old_docs/API_docs_v89/types/photos.Photo.md | 22 + old_docs/API_docs_v89/types/photos.Photos.md | 24 + old_docs/API_docs_v89/types/photos_Photo.md | 22 - old_docs/API_docs_v89/types/photos_Photos.md | 24 - .../API_docs_v89/types/storage.FileType.md | 38 ++ .../API_docs_v89/types/storage_FileType.md | 38 -- .../types/updates.ChannelDifference.md | 26 ++ .../API_docs_v89/types/updates.Difference.md | 28 ++ old_docs/API_docs_v89/types/updates.State.md | 22 + .../types/updates_ChannelDifference.md | 26 -- .../API_docs_v89/types/updates_Difference.md | 28 -- old_docs/API_docs_v89/types/updates_State.md | 22 - old_docs/API_docs_v89/types/upload.CdnFile.md | 24 + old_docs/API_docs_v89/types/upload.File.md | 24 + old_docs/API_docs_v89/types/upload.WebFile.md | 22 + old_docs/API_docs_v89/types/upload_CdnFile.md | 24 - old_docs/API_docs_v89/types/upload_File.md | 24 - old_docs/API_docs_v89/types/upload_WebFile.md | 22 - old_docs/API_docs_v91/constructors/README.md | 412 +++++++++++------ .../constructors/account.authorizationForm.md | 42 ++ .../constructors/account.authorizations.md | 38 ++ .../constructors/account.password.md | 48 ++ .../account.passwordInputSettings.md | 42 ++ .../constructors/account.passwordSettings.md | 39 ++ .../constructors/account.privacyRules.md | 39 ++ .../constructors/account.sentEmailCode.md | 39 ++ .../constructors/account.takeout.md | 38 ++ .../constructors/account.tmpPassword.md | 39 ++ .../constructors/account.webAuthorizations.md | 39 ++ .../constructors/account_authorizationForm.md | 42 -- .../constructors/account_authorizations.md | 38 -- .../constructors/account_password.md | 48 -- .../account_passwordInputSettings.md | 42 -- .../constructors/account_passwordSettings.md | 39 -- .../constructors/account_privacyRules.md | 39 -- .../constructors/account_sentEmailCode.md | 39 -- .../constructors/account_takeout.md | 38 -- .../constructors/account_tmpPassword.md | 39 -- .../constructors/account_webAuthorizations.md | 39 -- .../constructors/auth.authorization.md | 39 ++ .../constructors/auth.checkedPhone.md | 38 ++ .../constructors/auth.codeTypeCall.md | 33 ++ .../constructors/auth.codeTypeFlashCall.md | 33 ++ .../constructors/auth.codeTypeSms.md | 33 ++ .../auth.exportedAuthorization.md | 39 ++ .../constructors/auth.passwordRecovery.md | 38 ++ .../constructors/auth.sentCode.md | 43 ++ .../constructors/auth.sentCodeTypeApp.md | 38 ++ .../constructors/auth.sentCodeTypeCall.md | 38 ++ .../auth.sentCodeTypeFlashCall.md | 38 ++ .../constructors/auth.sentCodeTypeSms.md | 38 ++ .../constructors/auth_authorization.md | 39 -- .../constructors/auth_checkedPhone.md | 38 -- .../constructors/auth_codeTypeCall.md | 33 -- .../constructors/auth_codeTypeFlashCall.md | 33 -- .../constructors/auth_codeTypeSms.md | 33 -- .../auth_exportedAuthorization.md | 39 -- .../constructors/auth_passwordRecovery.md | 38 -- .../constructors/auth_sentCode.md | 43 -- .../constructors/auth_sentCodeTypeApp.md | 38 -- .../constructors/auth_sentCodeTypeCall.md | 38 -- .../auth_sentCodeTypeFlashCall.md | 38 -- .../constructors/auth_sentCodeTypeSms.md | 38 -- .../constructors/channels.adminLogResults.md | 40 ++ .../channels.channelParticipant.md | 39 ++ .../channels.channelParticipants.md | 40 ++ ...channels.channelParticipantsNotModified.md | 33 ++ .../constructors/channels_adminLogResults.md | 40 -- .../channels_channelParticipant.md | 39 -- .../channels_channelParticipants.md | 40 -- ...channels_channelParticipantsNotModified.md | 33 -- .../constructors/contacts.blocked.md | 39 ++ .../constructors/contacts.blockedSlice.md | 40 ++ .../constructors/contacts.contacts.md | 40 ++ .../contacts.contactsNotModified.md | 33 ++ .../constructors/contacts.found.md | 41 ++ .../constructors/contacts.importedContacts.md | 41 ++ .../constructors/contacts.link.md | 40 ++ .../constructors/contacts.resolvedPeer.md | 40 ++ .../constructors/contacts.topPeers.md | 40 ++ .../constructors/contacts.topPeersDisabled.md | 33 ++ .../contacts.topPeersNotModified.md | 33 ++ .../constructors/contacts_blocked.md | 39 -- .../constructors/contacts_blockedSlice.md | 40 -- .../constructors/contacts_contacts.md | 40 -- .../contacts_contactsNotModified.md | 33 -- .../constructors/contacts_found.md | 41 -- .../constructors/contacts_importedContacts.md | 41 -- .../constructors/contacts_link.md | 40 -- .../constructors/contacts_resolvedPeer.md | 40 -- .../constructors/contacts_topPeers.md | 40 -- .../constructors/contacts_topPeersDisabled.md | 33 -- .../contacts_topPeersNotModified.md | 33 -- .../constructors/help.appUpdate.md | 44 ++ .../constructors/help.configSimple.md | 40 ++ .../constructors/help.deepLinkInfo.md | 40 ++ .../constructors/help.deepLinkInfoEmpty.md | 33 ++ .../constructors/help.inviteText.md | 38 ++ .../constructors/help.noAppUpdate.md | 33 ++ .../constructors/help.passportConfig.md | 39 ++ .../help.passportConfigNotModified.md | 33 ++ .../constructors/help.proxyDataEmpty.md | 38 ++ .../constructors/help.proxyDataPromo.md | 41 ++ .../constructors/help.recentMeUrls.md | 40 ++ .../API_docs_v91/constructors/help.support.md | 39 ++ .../constructors/help.supportName.md | 38 ++ .../constructors/help.termsOfService.md | 42 ++ .../constructors/help.termsOfServiceUpdate.md | 39 ++ .../help.termsOfServiceUpdateEmpty.md | 38 ++ .../constructors/help.userInfo.md | 41 ++ .../constructors/help.userInfoEmpty.md | 33 ++ .../constructors/help_appUpdate.md | 44 -- .../constructors/help_configSimple.md | 40 -- .../constructors/help_deepLinkInfo.md | 40 -- .../constructors/help_deepLinkInfoEmpty.md | 33 -- .../constructors/help_inviteText.md | 38 -- .../constructors/help_noAppUpdate.md | 33 -- .../constructors/help_passportConfig.md | 39 -- .../help_passportConfigNotModified.md | 33 -- .../constructors/help_proxyDataEmpty.md | 38 -- .../constructors/help_proxyDataPromo.md | 41 -- .../constructors/help_recentMeUrls.md | 40 -- .../API_docs_v91/constructors/help_support.md | 39 -- .../constructors/help_supportName.md | 38 -- .../constructors/help_termsOfService.md | 42 -- .../constructors/help_termsOfServiceUpdate.md | 39 -- .../help_termsOfServiceUpdateEmpty.md | 38 -- .../constructors/help_userInfo.md | 41 -- .../constructors/help_userInfoEmpty.md | 33 -- .../constructors/messages.affectedHistory.md | 40 ++ .../constructors/messages.affectedMessages.md | 39 ++ .../constructors/messages.allStickers.md | 39 ++ .../messages.allStickersNotModified.md | 33 ++ .../constructors/messages.archivedStickers.md | 39 ++ .../messages.botCallbackAnswer.md | 43 ++ .../constructors/messages.botResults.md | 44 ++ .../constructors/messages.channelMessages.md | 43 ++ .../constructors/messages.chatFull.md | 40 ++ .../constructors/messages.chats.md | 38 ++ .../constructors/messages.chatsSlice.md | 39 ++ .../constructors/messages.dhConfig.md | 41 ++ .../messages.dhConfigNotModified.md | 38 ++ .../constructors/messages.dialogs.md | 41 ++ .../messages.dialogsNotModified.md | 38 ++ .../constructors/messages.dialogsSlice.md | 42 ++ .../constructors/messages.favedStickers.md | 40 ++ .../messages.favedStickersNotModified.md | 33 ++ .../constructors/messages.featuredStickers.md | 40 ++ .../messages.featuredStickersNotModified.md | 33 ++ .../constructors/messages.foundGifs.md | 39 ++ .../constructors/messages.foundStickerSets.md | 39 ++ .../messages.foundStickerSetsNotModified.md | 33 ++ .../constructors/messages.highScores.md | 39 ++ .../constructors/messages.messageEditData.md | 38 ++ .../constructors/messages.messages.md | 40 ++ .../messages.messagesNotModified.md | 38 ++ .../constructors/messages.messagesSlice.md | 41 ++ .../constructors/messages.peerDialogs.md | 42 ++ .../constructors/messages.recentStickers.md | 41 ++ .../messages.recentStickersNotModified.md | 33 ++ .../constructors/messages.savedGifs.md | 39 ++ .../messages.savedGifsNotModified.md | 33 ++ .../messages.sentEncryptedFile.md | 39 ++ .../messages.sentEncryptedMessage.md | 38 ++ .../constructors/messages.stickerSet.md | 40 ++ ...messages.stickerSetInstallResultArchive.md | 38 ++ ...messages.stickerSetInstallResultSuccess.md | 33 ++ .../constructors/messages.stickers.md | 39 ++ .../messages.stickersNotModified.md | 33 ++ .../constructors/messages_affectedHistory.md | 40 -- .../constructors/messages_affectedMessages.md | 39 -- .../constructors/messages_allStickers.md | 39 -- .../messages_allStickersNotModified.md | 33 -- .../constructors/messages_archivedStickers.md | 39 -- .../messages_botCallbackAnswer.md | 43 -- .../constructors/messages_botResults.md | 44 -- .../constructors/messages_channelMessages.md | 43 -- .../constructors/messages_chatFull.md | 40 -- .../constructors/messages_chats.md | 38 -- .../constructors/messages_chatsSlice.md | 39 -- .../constructors/messages_dhConfig.md | 41 -- .../messages_dhConfigNotModified.md | 38 -- .../constructors/messages_dialogs.md | 41 -- .../messages_dialogsNotModified.md | 38 -- .../constructors/messages_dialogsSlice.md | 42 -- .../constructors/messages_favedStickers.md | 40 -- .../messages_favedStickersNotModified.md | 33 -- .../constructors/messages_featuredStickers.md | 40 -- .../messages_featuredStickersNotModified.md | 33 -- .../constructors/messages_foundGifs.md | 39 -- .../constructors/messages_foundStickerSets.md | 39 -- .../messages_foundStickerSetsNotModified.md | 33 -- .../constructors/messages_highScores.md | 39 -- .../constructors/messages_messageEditData.md | 38 -- .../constructors/messages_messages.md | 40 -- .../messages_messagesNotModified.md | 38 -- .../constructors/messages_messagesSlice.md | 41 -- .../constructors/messages_peerDialogs.md | 42 -- .../constructors/messages_recentStickers.md | 41 -- .../messages_recentStickersNotModified.md | 33 -- .../constructors/messages_savedGifs.md | 39 -- .../messages_savedGifsNotModified.md | 33 -- .../messages_sentEncryptedFile.md | 39 -- .../messages_sentEncryptedMessage.md | 38 -- .../constructors/messages_stickerSet.md | 40 -- ...messages_stickerSetInstallResultArchive.md | 38 -- ...messages_stickerSetInstallResultSuccess.md | 33 -- .../constructors/messages_stickers.md | 39 -- .../messages_stickersNotModified.md | 33 -- .../constructors/payments.paymentForm.md | 48 ++ .../constructors/payments.paymentReceipt.md | 47 ++ .../constructors/payments.paymentResult.md | 38 ++ .../payments.paymentVerficationNeeded.md | 38 ++ .../constructors/payments.savedInfo.md | 39 ++ .../payments.validatedRequestedInfo.md | 39 ++ .../constructors/payments_paymentForm.md | 48 -- .../constructors/payments_paymentReceipt.md | 47 -- .../constructors/payments_paymentResult.md | 38 -- .../payments_paymentVerficationNeeded.md | 38 -- .../constructors/payments_savedInfo.md | 39 -- .../payments_validatedRequestedInfo.md | 39 -- .../constructors/phone.phoneCall.md | 39 ++ .../constructors/phone_phoneCall.md | 39 -- .../API_docs_v91/constructors/photos.photo.md | 39 ++ .../constructors/photos.photos.md | 39 ++ .../constructors/photos.photosSlice.md | 40 ++ .../API_docs_v91/constructors/photos_photo.md | 39 -- .../constructors/photos_photos.md | 39 -- .../constructors/photos_photosSlice.md | 40 -- .../constructors/storage.fileGif.md | 33 ++ .../constructors/storage.fileJpeg.md | 33 ++ .../constructors/storage.fileMov.md | 33 ++ .../constructors/storage.fileMp3.md | 33 ++ .../constructors/storage.fileMp4.md | 33 ++ .../constructors/storage.filePartial.md | 33 ++ .../constructors/storage.filePdf.md | 33 ++ .../constructors/storage.filePng.md | 33 ++ .../constructors/storage.fileUnknown.md | 33 ++ .../constructors/storage.fileWebp.md | 33 ++ .../constructors/storage_fileGif.md | 33 -- .../constructors/storage_fileJpeg.md | 33 -- .../constructors/storage_fileMov.md | 33 -- .../constructors/storage_fileMp3.md | 33 -- .../constructors/storage_fileMp4.md | 33 -- .../constructors/storage_filePartial.md | 33 -- .../constructors/storage_filePdf.md | 33 -- .../constructors/storage_filePng.md | 33 -- .../constructors/storage_fileUnknown.md | 33 -- .../constructors/storage_fileWebp.md | 33 -- .../constructors/updateNewStickerSet.md | 6 +- .../constructors/updates.channelDifference.md | 44 ++ .../updates.channelDifferenceEmpty.md | 40 ++ .../updates.channelDifferenceTooLong.md | 58 +++ .../constructors/updates.difference.md | 43 ++ .../constructors/updates.differenceEmpty.md | 39 ++ .../constructors/updates.differenceSlice.md | 43 ++ .../constructors/updates.differenceTooLong.md | 38 ++ .../constructors/updates.state.md | 42 ++ .../constructors/updates_channelDifference.md | 44 -- .../updates_channelDifferenceEmpty.md | 40 -- .../updates_channelDifferenceTooLong.md | 58 --- .../constructors/updates_difference.md | 43 -- .../constructors/updates_differenceEmpty.md | 39 -- .../constructors/updates_differenceSlice.md | 43 -- .../constructors/updates_differenceTooLong.md | 38 -- .../constructors/updates_state.md | 42 -- .../constructors/upload.cdnFile.md | 38 ++ .../upload.cdnFileReuploadNeeded.md | 38 ++ .../API_docs_v91/constructors/upload.file.md | 40 ++ .../constructors/upload.fileCdnRedirect.md | 42 ++ .../constructors/upload.webFile.md | 42 ++ .../constructors/upload_cdnFile.md | 38 -- .../upload_cdnFileReuploadNeeded.md | 38 -- .../API_docs_v91/constructors/upload_file.md | 40 -- .../constructors/upload_fileCdnRedirect.md | 42 -- .../constructors/upload_webFile.md | 42 -- .../API_docs_v91/constructors/userFull.md | 6 +- .../methods/account.getAuthorizationForm.md | 6 +- .../methods/account.getAuthorizations.md | 6 +- .../methods/account.getPassword.md | 6 +- .../methods/account.getPasswordSettings.md | 6 +- .../methods/account.getPrivacy.md | 6 +- .../methods/account.getTmpPassword.md | 6 +- .../methods/account.getWebAuthorizations.md | 6 +- .../methods/account.initTakeoutSession.md | 6 +- .../methods/account.sendChangePhoneCode.md | 6 +- .../methods/account.sendConfirmPhoneCode.md | 6 +- .../methods/account.sendVerifyEmailCode.md | 6 +- .../methods/account.sendVerifyPhoneCode.md | 6 +- .../methods/account.setPrivacy.md | 6 +- old_docs/API_docs_v91/methods/api_README.md | 220 ++++----- .../methods/auth.checkPassword.md | 6 +- .../methods/auth.exportAuthorization.md | 6 +- .../methods/auth.importAuthorization.md | 6 +- .../methods/auth.importBotAuthorization.md | 6 +- .../methods/auth.recoverPassword.md | 6 +- .../methods/auth.requestPasswordRecovery.md | 6 +- .../API_docs_v91/methods/auth.resendCode.md | 6 +- .../API_docs_v91/methods/auth.sendCode.md | 6 +- old_docs/API_docs_v91/methods/auth.signIn.md | 6 +- old_docs/API_docs_v91/methods/auth.signUp.md | 6 +- .../methods/channels.deleteMessages.md | 6 +- .../methods/channels.deleteUserHistory.md | 6 +- .../methods/channels.getAdminLog.md | 6 +- .../channels.getAdminedPublicChannels.md | 6 +- .../methods/channels.getChannels.md | 6 +- .../methods/channels.getFullChannel.md | 6 +- .../methods/channels.getLeftChannels.md | 6 +- .../methods/channels.getMessages.md | 6 +- .../methods/channels.getParticipant.md | 6 +- .../methods/channels.getParticipants.md | 6 +- .../methods/contacts.deleteContact.md | 6 +- .../methods/contacts.getBlocked.md | 6 +- .../methods/contacts.getContacts.md | 6 +- .../methods/contacts.getTopPeers.md | 6 +- .../methods/contacts.importContacts.md | 6 +- .../methods/contacts.resolveUsername.md | 6 +- .../API_docs_v91/methods/contacts.search.md | 6 +- .../API_docs_v91/methods/help.editUserInfo.md | 8 +- .../API_docs_v91/methods/help.getAppUpdate.md | 6 +- .../methods/help.getDeepLinkInfo.md | 6 +- .../methods/help.getInviteText.md | 6 +- .../methods/help.getPassportConfig.md | 6 +- .../API_docs_v91/methods/help.getProxyData.md | 6 +- .../methods/help.getRecentMeUrls.md | 6 +- .../API_docs_v91/methods/help.getSupport.md | 6 +- .../methods/help.getSupportName.md | 6 +- .../methods/help.getTermsOfServiceUpdate.md | 6 +- .../API_docs_v91/methods/help.getUserInfo.md | 6 +- .../methods/messages.deleteHistory.md | 6 +- .../methods/messages.deleteMessages.md | 6 +- .../methods/messages.getAllChats.md | 6 +- .../methods/messages.getAllStickers.md | 6 +- .../methods/messages.getArchivedStickers.md | 6 +- .../methods/messages.getBotCallbackAnswer.md | 6 +- .../API_docs_v91/methods/messages.getChats.md | 6 +- .../methods/messages.getCommonChats.md | 6 +- .../methods/messages.getDhConfig.md | 6 +- .../methods/messages.getDialogs.md | 6 +- .../methods/messages.getFavedStickers.md | 6 +- .../methods/messages.getFeaturedStickers.md | 6 +- .../methods/messages.getFullChat.md | 6 +- .../methods/messages.getGameHighScores.md | 6 +- .../methods/messages.getHistory.md | 6 +- .../methods/messages.getInlineBotResults.md | 6 +- .../messages.getInlineGameHighScores.md | 6 +- .../methods/messages.getMaskStickers.md | 6 +- .../methods/messages.getMessageEditData.md | 6 +- .../methods/messages.getMessages.md | 6 +- .../methods/messages.getPeerDialogs.md | 6 +- .../methods/messages.getPinnedDialogs.md | 6 +- .../methods/messages.getRecentLocations.md | 6 +- .../methods/messages.getRecentStickers.md | 6 +- .../methods/messages.getSavedGifs.md | 6 +- .../methods/messages.getStickerSet.md | 6 +- .../methods/messages.getStickers.md | 6 +- .../methods/messages.getUnreadMentions.md | 6 +- .../methods/messages.installStickerSet.md | 6 +- .../methods/messages.readHistory.md | 6 +- .../methods/messages.readMentions.md | 6 +- .../methods/messages.readMessageContents.md | 6 +- .../API_docs_v91/methods/messages.search.md | 6 +- .../methods/messages.searchGifs.md | 6 +- .../methods/messages.searchGlobal.md | 6 +- .../methods/messages.searchStickerSets.md | 6 +- .../methods/messages.sendEncrypted.md | 14 +- .../methods/messages.sendEncryptedFile.md | 14 +- .../methods/messages.sendEncryptedService.md | 14 +- .../methods/payments.getPaymentForm.md | 6 +- .../methods/payments.getPaymentReceipt.md | 6 +- .../methods/payments.getSavedInfo.md | 6 +- .../methods/payments.sendPaymentForm.md | 6 +- .../methods/payments.validateRequestedInfo.md | 6 +- .../API_docs_v91/methods/phone.acceptCall.md | 6 +- .../API_docs_v91/methods/phone.confirmCall.md | 6 +- .../API_docs_v91/methods/phone.requestCall.md | 6 +- .../methods/photos.getUserPhotos.md | 6 +- .../methods/photos.uploadProfilePhoto.md | 6 +- .../methods/stickers.addStickerToSet.md | 6 +- .../methods/stickers.changeStickerPosition.md | 6 +- .../methods/stickers.createStickerSet.md | 6 +- .../methods/stickers.removeStickerFromSet.md | 6 +- .../methods/updates.getChannelDifference.md | 6 +- .../methods/updates.getDifference.md | 6 +- .../API_docs_v91/methods/updates.getState.md | 6 +- .../API_docs_v91/methods/upload.getCdnFile.md | 6 +- .../API_docs_v91/methods/upload.getFile.md | 6 +- .../API_docs_v91/methods/upload.getWebFile.md | 6 +- old_docs/API_docs_v91/types/AccountDaysTTL.md | 2 +- old_docs/API_docs_v91/types/CdnConfig.md | 2 +- old_docs/API_docs_v91/types/ChatInvite.md | 2 +- old_docs/API_docs_v91/types/ChatOnlines.md | 2 +- old_docs/API_docs_v91/types/Config.md | 2 +- old_docs/API_docs_v91/types/ContactStatus.md | 2 +- old_docs/API_docs_v91/types/DialogPeer.md | 2 +- old_docs/API_docs_v91/types/Document.md | 2 +- old_docs/API_docs_v91/types/EncryptedChat.md | 4 +- old_docs/API_docs_v91/types/EncryptedFile.md | 2 +- .../API_docs_v91/types/ExportedChatInvite.md | 4 +- .../API_docs_v91/types/ExportedMessageLink.md | 2 +- old_docs/API_docs_v91/types/FileHash.md | 6 +- old_docs/API_docs_v91/types/JSONValue.md | 2 +- .../API_docs_v91/types/LangPackDifference.md | 4 +- .../API_docs_v91/types/LangPackLanguage.md | 4 +- old_docs/API_docs_v91/types/LangPackString.md | 2 +- old_docs/API_docs_v91/types/MessageMedia.md | 4 +- old_docs/API_docs_v91/types/MessageRange.md | 2 +- old_docs/API_docs_v91/types/NearestDc.md | 2 +- .../API_docs_v91/types/PeerNotifySettings.md | 2 +- old_docs/API_docs_v91/types/PeerSettings.md | 2 +- old_docs/API_docs_v91/types/README.md | 156 +++---- .../types/ReceivedNotifyMessage.md | 2 +- old_docs/API_docs_v91/types/SavedContact.md | 2 +- old_docs/API_docs_v91/types/SecureValue.md | 6 +- old_docs/API_docs_v91/types/StatsURL.md | 2 +- .../API_docs_v91/types/StickerSetCovered.md | 2 +- old_docs/API_docs_v91/types/Updates.md | 74 +-- old_docs/API_docs_v91/types/User.md | 8 +- old_docs/API_docs_v91/types/UserFull.md | 2 +- .../API_docs_v91/types/UserProfilePhoto.md | 2 +- old_docs/API_docs_v91/types/WallPaper.md | 2 +- old_docs/API_docs_v91/types/WebPage.md | 2 +- .../types/account.AuthorizationForm.md | 22 + .../types/account.Authorizations.md | 22 + .../API_docs_v91/types/account.Password.md | 22 + .../types/account.PasswordInputSettings.md | 20 + .../types/account.PasswordSettings.md | 22 + .../types/account.PrivacyRules.md | 24 + .../types/account.SentEmailCode.md | 22 + .../API_docs_v91/types/account.Takeout.md | 22 + .../API_docs_v91/types/account.TmpPassword.md | 22 + .../types/account.WebAuthorizations.md | 22 + .../types/account_AuthorizationForm.md | 22 - .../types/account_Authorizations.md | 22 - .../API_docs_v91/types/account_Password.md | 22 - .../types/account_PasswordInputSettings.md | 20 - .../types/account_PasswordSettings.md | 22 - .../types/account_PrivacyRules.md | 24 - .../types/account_SentEmailCode.md | 22 - .../API_docs_v91/types/account_Takeout.md | 22 - .../API_docs_v91/types/account_TmpPassword.md | 22 - .../types/account_WebAuthorizations.md | 22 - .../API_docs_v91/types/auth.Authorization.md | 32 ++ .../API_docs_v91/types/auth.CheckedPhone.md | 20 + old_docs/API_docs_v91/types/auth.CodeType.md | 24 + .../types/auth.ExportedAuthorization.md | 22 + .../types/auth.PasswordRecovery.md | 22 + old_docs/API_docs_v91/types/auth.SentCode.md | 30 ++ .../API_docs_v91/types/auth.SentCodeType.md | 26 ++ .../API_docs_v91/types/auth_Authorization.md | 32 -- .../API_docs_v91/types/auth_CheckedPhone.md | 20 - old_docs/API_docs_v91/types/auth_CodeType.md | 24 - .../types/auth_ExportedAuthorization.md | 22 - .../types/auth_PasswordRecovery.md | 22 - old_docs/API_docs_v91/types/auth_SentCode.md | 30 -- .../API_docs_v91/types/auth_SentCodeType.md | 26 -- .../types/channels.AdminLogResults.md | 22 + .../types/channels.ChannelParticipant.md | 22 + .../types/channels.ChannelParticipants.md | 24 + .../types/channels_AdminLogResults.md | 22 - .../types/channels_ChannelParticipant.md | 22 - .../types/channels_ChannelParticipants.md | 24 - .../API_docs_v91/types/contacts.Blocked.md | 24 + .../API_docs_v91/types/contacts.Contacts.md | 24 + old_docs/API_docs_v91/types/contacts.Found.md | 22 + .../types/contacts.ImportedContacts.md | 22 + old_docs/API_docs_v91/types/contacts.Link.md | 22 + .../types/contacts.ResolvedPeer.md | 22 + .../API_docs_v91/types/contacts.TopPeers.md | 26 ++ .../API_docs_v91/types/contacts_Blocked.md | 24 - .../API_docs_v91/types/contacts_Contacts.md | 24 - old_docs/API_docs_v91/types/contacts_Found.md | 22 - .../types/contacts_ImportedContacts.md | 22 - old_docs/API_docs_v91/types/contacts_Link.md | 22 - .../types/contacts_ResolvedPeer.md | 22 - .../API_docs_v91/types/contacts_TopPeers.md | 26 -- old_docs/API_docs_v91/types/help.AppUpdate.md | 24 + .../API_docs_v91/types/help.ConfigSimple.md | 20 + .../API_docs_v91/types/help.DeepLinkInfo.md | 24 + .../API_docs_v91/types/help.InviteText.md | 22 + .../API_docs_v91/types/help.PassportConfig.md | 24 + old_docs/API_docs_v91/types/help.ProxyData.md | 24 + .../API_docs_v91/types/help.RecentMeUrls.md | 22 + old_docs/API_docs_v91/types/help.Support.md | 22 + .../API_docs_v91/types/help.SupportName.md | 22 + .../API_docs_v91/types/help.TermsOfService.md | 20 + .../types/help.TermsOfServiceUpdate.md | 24 + old_docs/API_docs_v91/types/help.UserInfo.md | 26 ++ old_docs/API_docs_v91/types/help_AppUpdate.md | 24 - .../API_docs_v91/types/help_ConfigSimple.md | 20 - .../API_docs_v91/types/help_DeepLinkInfo.md | 24 - .../API_docs_v91/types/help_InviteText.md | 22 - .../API_docs_v91/types/help_PassportConfig.md | 24 - old_docs/API_docs_v91/types/help_ProxyData.md | 24 - .../API_docs_v91/types/help_RecentMeUrls.md | 22 - old_docs/API_docs_v91/types/help_Support.md | 22 - .../API_docs_v91/types/help_SupportName.md | 22 - .../API_docs_v91/types/help_TermsOfService.md | 20 - .../types/help_TermsOfServiceUpdate.md | 24 - old_docs/API_docs_v91/types/help_UserInfo.md | 26 -- .../types/messages.AffectedHistory.md | 26 ++ .../types/messages.AffectedMessages.md | 28 ++ .../types/messages.AllStickers.md | 26 ++ .../types/messages.ArchivedStickers.md | 22 + .../types/messages.BotCallbackAnswer.md | 22 + .../API_docs_v91/types/messages.BotResults.md | 22 + .../API_docs_v91/types/messages.ChatFull.md | 24 + old_docs/API_docs_v91/types/messages.Chats.md | 34 ++ .../API_docs_v91/types/messages.DhConfig.md | 24 + .../API_docs_v91/types/messages.Dialogs.md | 26 ++ .../types/messages.FavedStickers.md | 24 + .../types/messages.FeaturedStickers.md | 24 + .../API_docs_v91/types/messages.FoundGifs.md | 22 + .../types/messages.FoundStickerSets.md | 24 + .../API_docs_v91/types/messages.HighScores.md | 24 + .../types/messages.MessageEditData.md | 22 + .../API_docs_v91/types/messages.Messages.md | 40 ++ .../types/messages.PeerDialogs.md | 24 + .../types/messages.RecentStickers.md | 24 + .../API_docs_v91/types/messages.SavedGifs.md | 24 + .../types/messages.SentEncryptedMessage.md | 28 ++ .../API_docs_v91/types/messages.StickerSet.md | 30 ++ .../types/messages.StickerSetInstallResult.md | 24 + .../API_docs_v91/types/messages.Stickers.md | 24 + .../types/messages_AffectedHistory.md | 26 -- .../types/messages_AffectedMessages.md | 28 -- .../types/messages_AllStickers.md | 26 -- .../types/messages_ArchivedStickers.md | 22 - .../types/messages_BotCallbackAnswer.md | 22 - .../API_docs_v91/types/messages_BotResults.md | 22 - .../API_docs_v91/types/messages_ChatFull.md | 24 - old_docs/API_docs_v91/types/messages_Chats.md | 34 -- .../API_docs_v91/types/messages_DhConfig.md | 24 - .../API_docs_v91/types/messages_Dialogs.md | 26 -- .../types/messages_FavedStickers.md | 24 - .../types/messages_FeaturedStickers.md | 24 - .../API_docs_v91/types/messages_FoundGifs.md | 22 - .../types/messages_FoundStickerSets.md | 24 - .../API_docs_v91/types/messages_HighScores.md | 24 - .../types/messages_MessageEditData.md | 22 - .../API_docs_v91/types/messages_Messages.md | 40 -- .../types/messages_PeerDialogs.md | 24 - .../types/messages_RecentStickers.md | 24 - .../API_docs_v91/types/messages_SavedGifs.md | 24 - .../types/messages_SentEncryptedMessage.md | 28 -- .../API_docs_v91/types/messages_StickerSet.md | 30 -- .../types/messages_StickerSetInstallResult.md | 24 - .../API_docs_v91/types/messages_Stickers.md | 24 - .../types/payments.PaymentForm.md | 22 + .../types/payments.PaymentReceipt.md | 22 + .../types/payments.PaymentResult.md | 24 + .../API_docs_v91/types/payments.SavedInfo.md | 22 + .../types/payments.ValidatedRequestedInfo.md | 22 + .../types/payments_PaymentForm.md | 22 - .../types/payments_PaymentReceipt.md | 22 - .../types/payments_PaymentResult.md | 24 - .../API_docs_v91/types/payments_SavedInfo.md | 22 - .../types/payments_ValidatedRequestedInfo.md | 22 - .../API_docs_v91/types/phone.PhoneCall.md | 26 ++ .../API_docs_v91/types/phone_PhoneCall.md | 26 -- old_docs/API_docs_v91/types/photos.Photo.md | 22 + old_docs/API_docs_v91/types/photos.Photos.md | 24 + old_docs/API_docs_v91/types/photos_Photo.md | 22 - old_docs/API_docs_v91/types/photos_Photos.md | 24 - .../API_docs_v91/types/storage.FileType.md | 38 ++ .../API_docs_v91/types/storage_FileType.md | 38 -- .../types/updates.ChannelDifference.md | 26 ++ .../API_docs_v91/types/updates.Difference.md | 28 ++ old_docs/API_docs_v91/types/updates.State.md | 22 + .../types/updates_ChannelDifference.md | 26 -- .../API_docs_v91/types/updates_Difference.md | 28 -- old_docs/API_docs_v91/types/updates_State.md | 22 - old_docs/API_docs_v91/types/upload.CdnFile.md | 24 + old_docs/API_docs_v91/types/upload.File.md | 24 + old_docs/API_docs_v91/types/upload.WebFile.md | 22 + old_docs/API_docs_v91/types/upload_CdnFile.md | 24 - old_docs/API_docs_v91/types/upload_File.md | 24 - old_docs/API_docs_v91/types/upload_WebFile.md | 22 - old_docs/API_docs_v95/constructors/README.md | 422 +++++++++++------ .../constructors/account.authorizationForm.md | 42 ++ .../constructors/account.authorizations.md | 38 ++ .../constructors/account.password.md | 48 ++ .../account.passwordInputSettings.md | 42 ++ .../constructors/account.passwordSettings.md | 39 ++ .../constructors/account.privacyRules.md | 39 ++ .../constructors/account.sentEmailCode.md | 39 ++ .../constructors/account.takeout.md | 38 ++ .../constructors/account.tmpPassword.md | 39 ++ .../constructors/account.wallPapers.md | 39 ++ .../account.wallPapersNotModified.md | 33 ++ .../constructors/account.webAuthorizations.md | 39 ++ .../constructors/account_authorizationForm.md | 42 -- .../constructors/account_authorizations.md | 38 -- .../constructors/account_password.md | 48 -- .../account_passwordInputSettings.md | 42 -- .../constructors/account_passwordSettings.md | 39 -- .../constructors/account_privacyRules.md | 39 -- .../constructors/account_sentEmailCode.md | 39 -- .../constructors/account_takeout.md | 38 -- .../constructors/account_tmpPassword.md | 39 -- .../constructors/account_wallPapers.md | 39 -- .../account_wallPapersNotModified.md | 33 -- .../constructors/account_webAuthorizations.md | 39 -- .../constructors/auth.authorization.md | 39 ++ .../constructors/auth.checkedPhone.md | 38 ++ .../constructors/auth.codeTypeCall.md | 33 ++ .../constructors/auth.codeTypeFlashCall.md | 33 ++ .../constructors/auth.codeTypeSms.md | 33 ++ .../auth.exportedAuthorization.md | 39 ++ .../constructors/auth.passwordRecovery.md | 38 ++ .../constructors/auth.sentCode.md | 43 ++ .../constructors/auth.sentCodeTypeApp.md | 38 ++ .../constructors/auth.sentCodeTypeCall.md | 38 ++ .../auth.sentCodeTypeFlashCall.md | 38 ++ .../constructors/auth.sentCodeTypeSms.md | 38 ++ .../constructors/auth_authorization.md | 39 -- .../constructors/auth_checkedPhone.md | 38 -- .../constructors/auth_codeTypeCall.md | 33 -- .../constructors/auth_codeTypeFlashCall.md | 33 -- .../constructors/auth_codeTypeSms.md | 33 -- .../auth_exportedAuthorization.md | 39 -- .../constructors/auth_passwordRecovery.md | 38 -- .../constructors/auth_sentCode.md | 43 -- .../constructors/auth_sentCodeTypeApp.md | 38 -- .../constructors/auth_sentCodeTypeCall.md | 38 -- .../auth_sentCodeTypeFlashCall.md | 38 -- .../constructors/auth_sentCodeTypeSms.md | 38 -- .../constructors/channels.adminLogResults.md | 40 ++ .../channels.channelParticipant.md | 39 ++ .../channels.channelParticipants.md | 40 ++ ...channels.channelParticipantsNotModified.md | 33 ++ .../constructors/channels_adminLogResults.md | 40 -- .../channels_channelParticipant.md | 39 -- .../channels_channelParticipants.md | 40 -- ...channels_channelParticipantsNotModified.md | 33 -- .../constructors/contacts.blocked.md | 39 ++ .../constructors/contacts.blockedSlice.md | 40 ++ .../constructors/contacts.contacts.md | 40 ++ .../contacts.contactsNotModified.md | 33 ++ .../constructors/contacts.found.md | 41 ++ .../constructors/contacts.importedContacts.md | 41 ++ .../constructors/contacts.link.md | 40 ++ .../constructors/contacts.resolvedPeer.md | 40 ++ .../constructors/contacts.topPeers.md | 40 ++ .../constructors/contacts.topPeersDisabled.md | 33 ++ .../contacts.topPeersNotModified.md | 33 ++ .../constructors/contacts_blocked.md | 39 -- .../constructors/contacts_blockedSlice.md | 40 -- .../constructors/contacts_contacts.md | 40 -- .../contacts_contactsNotModified.md | 33 -- .../constructors/contacts_found.md | 41 -- .../constructors/contacts_importedContacts.md | 41 -- .../constructors/contacts_link.md | 40 -- .../constructors/contacts_resolvedPeer.md | 40 -- .../constructors/contacts_topPeers.md | 40 -- .../constructors/contacts_topPeersDisabled.md | 33 -- .../contacts_topPeersNotModified.md | 33 -- .../constructors/help.appUpdate.md | 44 ++ .../constructors/help.configSimple.md | 40 ++ .../constructors/help.deepLinkInfo.md | 40 ++ .../constructors/help.deepLinkInfoEmpty.md | 33 ++ .../constructors/help.inviteText.md | 38 ++ .../constructors/help.noAppUpdate.md | 33 ++ .../constructors/help.passportConfig.md | 39 ++ .../help.passportConfigNotModified.md | 33 ++ .../constructors/help.proxyDataEmpty.md | 38 ++ .../constructors/help.proxyDataPromo.md | 41 ++ .../constructors/help.recentMeUrls.md | 40 ++ .../API_docs_v95/constructors/help.support.md | 39 ++ .../constructors/help.supportName.md | 38 ++ .../constructors/help.termsOfService.md | 42 ++ .../constructors/help.termsOfServiceUpdate.md | 39 ++ .../help.termsOfServiceUpdateEmpty.md | 38 ++ .../constructors/help.userInfo.md | 41 ++ .../constructors/help.userInfoEmpty.md | 33 ++ .../constructors/help_appUpdate.md | 44 -- .../constructors/help_configSimple.md | 40 -- .../constructors/help_deepLinkInfo.md | 40 -- .../constructors/help_deepLinkInfoEmpty.md | 33 -- .../constructors/help_inviteText.md | 38 -- .../constructors/help_noAppUpdate.md | 33 -- .../constructors/help_passportConfig.md | 39 -- .../help_passportConfigNotModified.md | 33 -- .../constructors/help_proxyDataEmpty.md | 38 -- .../constructors/help_proxyDataPromo.md | 41 -- .../constructors/help_recentMeUrls.md | 40 -- .../API_docs_v95/constructors/help_support.md | 39 -- .../constructors/help_supportName.md | 38 -- .../constructors/help_termsOfService.md | 42 -- .../constructors/help_termsOfServiceUpdate.md | 39 -- .../help_termsOfServiceUpdateEmpty.md | 38 -- .../constructors/help_userInfo.md | 41 -- .../constructors/help_userInfoEmpty.md | 33 -- .../constructors/messages.affectedHistory.md | 40 ++ .../constructors/messages.affectedMessages.md | 39 ++ .../constructors/messages.allStickers.md | 39 ++ .../messages.allStickersNotModified.md | 33 ++ .../constructors/messages.archivedStickers.md | 39 ++ .../messages.botCallbackAnswer.md | 43 ++ .../constructors/messages.botResults.md | 44 ++ .../constructors/messages.channelMessages.md | 43 ++ .../constructors/messages.chatFull.md | 40 ++ .../constructors/messages.chats.md | 38 ++ .../constructors/messages.chatsSlice.md | 39 ++ .../constructors/messages.dhConfig.md | 41 ++ .../messages.dhConfigNotModified.md | 38 ++ .../constructors/messages.dialogs.md | 41 ++ .../messages.dialogsNotModified.md | 38 ++ .../constructors/messages.dialogsSlice.md | 42 ++ .../constructors/messages.favedStickers.md | 40 ++ .../messages.favedStickersNotModified.md | 33 ++ .../constructors/messages.featuredStickers.md | 40 ++ .../messages.featuredStickersNotModified.md | 33 ++ .../constructors/messages.foundGifs.md | 39 ++ .../constructors/messages.foundStickerSets.md | 39 ++ .../messages.foundStickerSetsNotModified.md | 33 ++ .../constructors/messages.highScores.md | 39 ++ .../constructors/messages.messageEditData.md | 38 ++ .../constructors/messages.messages.md | 40 ++ .../messages.messagesNotModified.md | 38 ++ .../constructors/messages.messagesSlice.md | 42 ++ .../constructors/messages.peerDialogs.md | 42 ++ .../constructors/messages.recentStickers.md | 41 ++ .../messages.recentStickersNotModified.md | 33 ++ .../constructors/messages.savedGifs.md | 39 ++ .../messages.savedGifsNotModified.md | 33 ++ .../messages.sentEncryptedFile.md | 39 ++ .../messages.sentEncryptedMessage.md | 38 ++ .../constructors/messages.stickerSet.md | 40 ++ ...messages.stickerSetInstallResultArchive.md | 38 ++ ...messages.stickerSetInstallResultSuccess.md | 33 ++ .../constructors/messages.stickers.md | 39 ++ .../messages.stickersNotModified.md | 33 ++ .../constructors/messages_affectedHistory.md | 40 -- .../constructors/messages_affectedMessages.md | 39 -- .../constructors/messages_allStickers.md | 39 -- .../messages_allStickersNotModified.md | 33 -- .../constructors/messages_archivedStickers.md | 39 -- .../messages_botCallbackAnswer.md | 43 -- .../constructors/messages_botResults.md | 44 -- .../constructors/messages_channelMessages.md | 43 -- .../constructors/messages_chatFull.md | 40 -- .../constructors/messages_chats.md | 38 -- .../constructors/messages_chatsSlice.md | 39 -- .../constructors/messages_dhConfig.md | 41 -- .../messages_dhConfigNotModified.md | 38 -- .../constructors/messages_dialogs.md | 41 -- .../messages_dialogsNotModified.md | 38 -- .../constructors/messages_dialogsSlice.md | 42 -- .../constructors/messages_favedStickers.md | 40 -- .../messages_favedStickersNotModified.md | 33 -- .../constructors/messages_featuredStickers.md | 40 -- .../messages_featuredStickersNotModified.md | 33 -- .../constructors/messages_foundGifs.md | 39 -- .../constructors/messages_foundStickerSets.md | 39 -- .../messages_foundStickerSetsNotModified.md | 33 -- .../constructors/messages_highScores.md | 39 -- .../constructors/messages_messageEditData.md | 38 -- .../constructors/messages_messages.md | 40 -- .../messages_messagesNotModified.md | 38 -- .../constructors/messages_messagesSlice.md | 42 -- .../constructors/messages_peerDialogs.md | 42 -- .../constructors/messages_recentStickers.md | 41 -- .../messages_recentStickersNotModified.md | 33 -- .../constructors/messages_savedGifs.md | 39 -- .../messages_savedGifsNotModified.md | 33 -- .../messages_sentEncryptedFile.md | 39 -- .../messages_sentEncryptedMessage.md | 38 -- .../constructors/messages_stickerSet.md | 40 -- ...messages_stickerSetInstallResultArchive.md | 38 -- ...messages_stickerSetInstallResultSuccess.md | 33 -- .../constructors/messages_stickers.md | 39 -- .../messages_stickersNotModified.md | 33 -- .../constructors/payments.paymentForm.md | 48 ++ .../constructors/payments.paymentReceipt.md | 47 ++ .../constructors/payments.paymentResult.md | 38 ++ .../payments.paymentVerficationNeeded.md | 38 ++ .../constructors/payments.savedInfo.md | 39 ++ .../payments.validatedRequestedInfo.md | 39 ++ .../constructors/payments_paymentForm.md | 48 -- .../constructors/payments_paymentReceipt.md | 47 -- .../constructors/payments_paymentResult.md | 38 -- .../payments_paymentVerficationNeeded.md | 38 -- .../constructors/payments_savedInfo.md | 39 -- .../payments_validatedRequestedInfo.md | 39 -- .../constructors/phone.phoneCall.md | 39 ++ .../constructors/phone_phoneCall.md | 39 -- .../API_docs_v95/constructors/photos.photo.md | 39 ++ .../constructors/photos.photos.md | 39 ++ .../constructors/photos.photosSlice.md | 40 ++ .../API_docs_v95/constructors/photos_photo.md | 39 -- .../constructors/photos_photos.md | 39 -- .../constructors/photos_photosSlice.md | 40 -- .../constructors/storage.fileGif.md | 33 ++ .../constructors/storage.fileJpeg.md | 33 ++ .../constructors/storage.fileMov.md | 33 ++ .../constructors/storage.fileMp3.md | 33 ++ .../constructors/storage.fileMp4.md | 33 ++ .../constructors/storage.filePartial.md | 33 ++ .../constructors/storage.filePdf.md | 33 ++ .../constructors/storage.filePng.md | 33 ++ .../constructors/storage.fileUnknown.md | 33 ++ .../constructors/storage.fileWebp.md | 33 ++ .../constructors/storage_fileGif.md | 33 -- .../constructors/storage_fileJpeg.md | 33 -- .../constructors/storage_fileMov.md | 33 -- .../constructors/storage_fileMp3.md | 33 -- .../constructors/storage_fileMp4.md | 33 -- .../constructors/storage_filePartial.md | 33 -- .../constructors/storage_filePdf.md | 33 -- .../constructors/storage_filePng.md | 33 -- .../constructors/storage_fileUnknown.md | 33 -- .../constructors/storage_fileWebp.md | 33 -- .../constructors/updateNewStickerSet.md | 6 +- .../constructors/updates.channelDifference.md | 44 ++ .../updates.channelDifferenceEmpty.md | 40 ++ .../updates.channelDifferenceTooLong.md | 58 +++ .../constructors/updates.difference.md | 43 ++ .../constructors/updates.differenceEmpty.md | 39 ++ .../constructors/updates.differenceSlice.md | 43 ++ .../constructors/updates.differenceTooLong.md | 38 ++ .../constructors/updates.state.md | 42 ++ .../constructors/updates_channelDifference.md | 44 -- .../updates_channelDifferenceEmpty.md | 40 -- .../updates_channelDifferenceTooLong.md | 58 --- .../constructors/updates_difference.md | 43 -- .../constructors/updates_differenceEmpty.md | 39 -- .../constructors/updates_differenceSlice.md | 43 -- .../constructors/updates_differenceTooLong.md | 38 -- .../constructors/updates_state.md | 42 -- .../constructors/upload.cdnFile.md | 38 ++ .../upload.cdnFileReuploadNeeded.md | 38 ++ .../API_docs_v95/constructors/upload.file.md | 40 ++ .../constructors/upload.fileCdnRedirect.md | 42 ++ .../constructors/upload.webFile.md | 42 ++ .../constructors/upload_cdnFile.md | 38 -- .../upload_cdnFileReuploadNeeded.md | 38 -- .../API_docs_v95/constructors/upload_file.md | 40 -- .../constructors/upload_fileCdnRedirect.md | 42 -- .../constructors/upload_webFile.md | 42 -- .../API_docs_v95/constructors/userFull.md | 6 +- .../methods/account.getAuthorizationForm.md | 6 +- .../methods/account.getAuthorizations.md | 6 +- .../methods/account.getPassword.md | 6 +- .../methods/account.getPasswordSettings.md | 6 +- .../methods/account.getPrivacy.md | 6 +- .../methods/account.getTmpPassword.md | 6 +- .../methods/account.getWallPapers.md | 6 +- .../methods/account.getWebAuthorizations.md | 6 +- .../methods/account.initTakeoutSession.md | 6 +- .../methods/account.sendChangePhoneCode.md | 6 +- .../methods/account.sendConfirmPhoneCode.md | 6 +- .../methods/account.sendVerifyEmailCode.md | 6 +- .../methods/account.sendVerifyPhoneCode.md | 6 +- .../methods/account.setPrivacy.md | 6 +- old_docs/API_docs_v95/methods/api_README.md | 222 ++++----- .../methods/auth.checkPassword.md | 6 +- .../methods/auth.exportAuthorization.md | 6 +- .../methods/auth.importAuthorization.md | 6 +- .../methods/auth.importBotAuthorization.md | 6 +- .../methods/auth.recoverPassword.md | 6 +- .../methods/auth.requestPasswordRecovery.md | 6 +- .../API_docs_v95/methods/auth.resendCode.md | 6 +- .../API_docs_v95/methods/auth.sendCode.md | 6 +- old_docs/API_docs_v95/methods/auth.signIn.md | 6 +- old_docs/API_docs_v95/methods/auth.signUp.md | 6 +- .../methods/channels.deleteMessages.md | 6 +- .../methods/channels.deleteUserHistory.md | 6 +- .../methods/channels.getAdminLog.md | 6 +- .../channels.getAdminedPublicChannels.md | 6 +- .../methods/channels.getChannels.md | 6 +- .../methods/channels.getFullChannel.md | 6 +- .../methods/channels.getLeftChannels.md | 6 +- .../methods/channels.getMessages.md | 6 +- .../methods/channels.getParticipant.md | 6 +- .../methods/channels.getParticipants.md | 6 +- .../methods/contacts.deleteContact.md | 6 +- .../methods/contacts.getBlocked.md | 6 +- .../methods/contacts.getContacts.md | 6 +- .../methods/contacts.getTopPeers.md | 6 +- .../methods/contacts.importContacts.md | 6 +- .../methods/contacts.resolveUsername.md | 6 +- .../API_docs_v95/methods/contacts.search.md | 6 +- .../API_docs_v95/methods/help.editUserInfo.md | 8 +- .../API_docs_v95/methods/help.getAppUpdate.md | 6 +- .../methods/help.getDeepLinkInfo.md | 6 +- .../methods/help.getInviteText.md | 6 +- .../methods/help.getPassportConfig.md | 6 +- .../API_docs_v95/methods/help.getProxyData.md | 6 +- .../methods/help.getRecentMeUrls.md | 6 +- .../API_docs_v95/methods/help.getSupport.md | 6 +- .../methods/help.getSupportName.md | 6 +- .../methods/help.getTermsOfServiceUpdate.md | 6 +- .../API_docs_v95/methods/help.getUserInfo.md | 6 +- .../methods/messages.deleteHistory.md | 6 +- .../methods/messages.deleteMessages.md | 6 +- .../methods/messages.getAllChats.md | 6 +- .../methods/messages.getAllStickers.md | 6 +- .../methods/messages.getArchivedStickers.md | 6 +- .../methods/messages.getBotCallbackAnswer.md | 6 +- .../API_docs_v95/methods/messages.getChats.md | 6 +- .../methods/messages.getCommonChats.md | 6 +- .../methods/messages.getDhConfig.md | 6 +- .../methods/messages.getDialogs.md | 6 +- .../methods/messages.getFavedStickers.md | 6 +- .../methods/messages.getFeaturedStickers.md | 6 +- .../methods/messages.getFullChat.md | 6 +- .../methods/messages.getGameHighScores.md | 6 +- .../methods/messages.getHistory.md | 6 +- .../methods/messages.getInlineBotResults.md | 6 +- .../messages.getInlineGameHighScores.md | 6 +- .../methods/messages.getMaskStickers.md | 6 +- .../methods/messages.getMessageEditData.md | 6 +- .../methods/messages.getMessages.md | 6 +- .../methods/messages.getPeerDialogs.md | 6 +- .../methods/messages.getPinnedDialogs.md | 6 +- .../methods/messages.getRecentLocations.md | 6 +- .../methods/messages.getRecentStickers.md | 6 +- .../methods/messages.getSavedGifs.md | 6 +- .../methods/messages.getStickerSet.md | 6 +- .../methods/messages.getStickers.md | 6 +- .../methods/messages.getUnreadMentions.md | 6 +- .../methods/messages.installStickerSet.md | 6 +- .../methods/messages.readHistory.md | 6 +- .../methods/messages.readMentions.md | 6 +- .../methods/messages.readMessageContents.md | 6 +- .../API_docs_v95/methods/messages.search.md | 6 +- .../methods/messages.searchGifs.md | 6 +- .../methods/messages.searchGlobal.md | 6 +- .../methods/messages.searchStickerSets.md | 6 +- .../methods/messages.sendEncrypted.md | 14 +- .../methods/messages.sendEncryptedFile.md | 14 +- .../methods/messages.sendEncryptedService.md | 14 +- .../methods/payments.getPaymentForm.md | 6 +- .../methods/payments.getPaymentReceipt.md | 6 +- .../methods/payments.getSavedInfo.md | 6 +- .../methods/payments.sendPaymentForm.md | 6 +- .../methods/payments.validateRequestedInfo.md | 6 +- .../API_docs_v95/methods/phone.acceptCall.md | 6 +- .../API_docs_v95/methods/phone.confirmCall.md | 6 +- .../API_docs_v95/methods/phone.requestCall.md | 6 +- .../methods/photos.getUserPhotos.md | 6 +- .../methods/photos.uploadProfilePhoto.md | 6 +- .../methods/stickers.addStickerToSet.md | 6 +- .../methods/stickers.changeStickerPosition.md | 6 +- .../methods/stickers.createStickerSet.md | 6 +- .../methods/stickers.removeStickerFromSet.md | 6 +- .../methods/updates.getChannelDifference.md | 6 +- .../methods/updates.getDifference.md | 6 +- .../API_docs_v95/methods/updates.getState.md | 6 +- .../API_docs_v95/methods/upload.getCdnFile.md | 6 +- .../API_docs_v95/methods/upload.getFile.md | 6 +- .../API_docs_v95/methods/upload.getWebFile.md | 6 +- old_docs/API_docs_v95/types/AccountDaysTTL.md | 2 +- old_docs/API_docs_v95/types/CdnConfig.md | 2 +- old_docs/API_docs_v95/types/ChatInvite.md | 2 +- old_docs/API_docs_v95/types/ChatOnlines.md | 2 +- old_docs/API_docs_v95/types/Config.md | 2 +- old_docs/API_docs_v95/types/ContactStatus.md | 2 +- old_docs/API_docs_v95/types/DialogPeer.md | 2 +- old_docs/API_docs_v95/types/Document.md | 2 +- old_docs/API_docs_v95/types/EncryptedChat.md | 4 +- old_docs/API_docs_v95/types/EncryptedFile.md | 2 +- .../API_docs_v95/types/ExportedChatInvite.md | 2 +- .../API_docs_v95/types/ExportedMessageLink.md | 2 +- old_docs/API_docs_v95/types/FileHash.md | 6 +- old_docs/API_docs_v95/types/JSONValue.md | 2 +- .../API_docs_v95/types/LangPackDifference.md | 4 +- .../API_docs_v95/types/LangPackLanguage.md | 4 +- old_docs/API_docs_v95/types/LangPackString.md | 2 +- old_docs/API_docs_v95/types/MessageMedia.md | 4 +- old_docs/API_docs_v95/types/MessageRange.md | 2 +- old_docs/API_docs_v95/types/NearestDc.md | 2 +- .../API_docs_v95/types/PeerNotifySettings.md | 2 +- old_docs/API_docs_v95/types/PeerSettings.md | 2 +- old_docs/API_docs_v95/types/README.md | 158 +++---- .../types/ReceivedNotifyMessage.md | 2 +- old_docs/API_docs_v95/types/SavedContact.md | 2 +- old_docs/API_docs_v95/types/SecureValue.md | 6 +- old_docs/API_docs_v95/types/StatsURL.md | 2 +- .../API_docs_v95/types/StickerSetCovered.md | 2 +- old_docs/API_docs_v95/types/Updates.md | 72 +-- old_docs/API_docs_v95/types/User.md | 8 +- old_docs/API_docs_v95/types/UserFull.md | 2 +- .../API_docs_v95/types/UserProfilePhoto.md | 2 +- old_docs/API_docs_v95/types/WallPaper.md | 4 +- old_docs/API_docs_v95/types/WebPage.md | 2 +- .../types/account.AuthorizationForm.md | 22 + .../types/account.Authorizations.md | 22 + .../API_docs_v95/types/account.Password.md | 22 + .../types/account.PasswordInputSettings.md | 20 + .../types/account.PasswordSettings.md | 22 + .../types/account.PrivacyRules.md | 24 + .../types/account.SentEmailCode.md | 22 + .../API_docs_v95/types/account.Takeout.md | 22 + .../API_docs_v95/types/account.TmpPassword.md | 22 + .../API_docs_v95/types/account.WallPapers.md | 24 + .../types/account.WebAuthorizations.md | 22 + .../types/account_AuthorizationForm.md | 22 - .../types/account_Authorizations.md | 22 - .../API_docs_v95/types/account_Password.md | 22 - .../types/account_PasswordInputSettings.md | 20 - .../types/account_PasswordSettings.md | 22 - .../types/account_PrivacyRules.md | 24 - .../types/account_SentEmailCode.md | 22 - .../API_docs_v95/types/account_Takeout.md | 22 - .../API_docs_v95/types/account_TmpPassword.md | 22 - .../API_docs_v95/types/account_WallPapers.md | 24 - .../types/account_WebAuthorizations.md | 22 - .../API_docs_v95/types/auth.Authorization.md | 32 ++ .../API_docs_v95/types/auth.CheckedPhone.md | 20 + old_docs/API_docs_v95/types/auth.CodeType.md | 24 + .../types/auth.ExportedAuthorization.md | 22 + .../types/auth.PasswordRecovery.md | 22 + old_docs/API_docs_v95/types/auth.SentCode.md | 30 ++ .../API_docs_v95/types/auth.SentCodeType.md | 26 ++ .../API_docs_v95/types/auth_Authorization.md | 32 -- .../API_docs_v95/types/auth_CheckedPhone.md | 20 - old_docs/API_docs_v95/types/auth_CodeType.md | 24 - .../types/auth_ExportedAuthorization.md | 22 - .../types/auth_PasswordRecovery.md | 22 - old_docs/API_docs_v95/types/auth_SentCode.md | 30 -- .../API_docs_v95/types/auth_SentCodeType.md | 26 -- .../types/channels.AdminLogResults.md | 22 + .../types/channels.ChannelParticipant.md | 22 + .../types/channels.ChannelParticipants.md | 24 + .../types/channels_AdminLogResults.md | 22 - .../types/channels_ChannelParticipant.md | 22 - .../types/channels_ChannelParticipants.md | 24 - .../API_docs_v95/types/contacts.Blocked.md | 24 + .../API_docs_v95/types/contacts.Contacts.md | 24 + old_docs/API_docs_v95/types/contacts.Found.md | 22 + .../types/contacts.ImportedContacts.md | 22 + old_docs/API_docs_v95/types/contacts.Link.md | 22 + .../types/contacts.ResolvedPeer.md | 22 + .../API_docs_v95/types/contacts.TopPeers.md | 26 ++ .../API_docs_v95/types/contacts_Blocked.md | 24 - .../API_docs_v95/types/contacts_Contacts.md | 24 - old_docs/API_docs_v95/types/contacts_Found.md | 22 - .../types/contacts_ImportedContacts.md | 22 - old_docs/API_docs_v95/types/contacts_Link.md | 22 - .../types/contacts_ResolvedPeer.md | 22 - .../API_docs_v95/types/contacts_TopPeers.md | 26 -- old_docs/API_docs_v95/types/help.AppUpdate.md | 24 + .../API_docs_v95/types/help.ConfigSimple.md | 20 + .../API_docs_v95/types/help.DeepLinkInfo.md | 24 + .../API_docs_v95/types/help.InviteText.md | 22 + .../API_docs_v95/types/help.PassportConfig.md | 24 + old_docs/API_docs_v95/types/help.ProxyData.md | 24 + .../API_docs_v95/types/help.RecentMeUrls.md | 22 + old_docs/API_docs_v95/types/help.Support.md | 22 + .../API_docs_v95/types/help.SupportName.md | 22 + .../API_docs_v95/types/help.TermsOfService.md | 20 + .../types/help.TermsOfServiceUpdate.md | 24 + old_docs/API_docs_v95/types/help.UserInfo.md | 26 ++ old_docs/API_docs_v95/types/help_AppUpdate.md | 24 - .../API_docs_v95/types/help_ConfigSimple.md | 20 - .../API_docs_v95/types/help_DeepLinkInfo.md | 24 - .../API_docs_v95/types/help_InviteText.md | 22 - .../API_docs_v95/types/help_PassportConfig.md | 24 - old_docs/API_docs_v95/types/help_ProxyData.md | 24 - .../API_docs_v95/types/help_RecentMeUrls.md | 22 - old_docs/API_docs_v95/types/help_Support.md | 22 - .../API_docs_v95/types/help_SupportName.md | 22 - .../API_docs_v95/types/help_TermsOfService.md | 20 - .../types/help_TermsOfServiceUpdate.md | 24 - old_docs/API_docs_v95/types/help_UserInfo.md | 26 -- .../types/messages.AffectedHistory.md | 26 ++ .../types/messages.AffectedMessages.md | 28 ++ .../types/messages.AllStickers.md | 26 ++ .../types/messages.ArchivedStickers.md | 22 + .../types/messages.BotCallbackAnswer.md | 22 + .../API_docs_v95/types/messages.BotResults.md | 22 + .../API_docs_v95/types/messages.ChatFull.md | 24 + old_docs/API_docs_v95/types/messages.Chats.md | 34 ++ .../API_docs_v95/types/messages.DhConfig.md | 24 + .../API_docs_v95/types/messages.Dialogs.md | 26 ++ .../types/messages.FavedStickers.md | 24 + .../types/messages.FeaturedStickers.md | 24 + .../API_docs_v95/types/messages.FoundGifs.md | 22 + .../types/messages.FoundStickerSets.md | 24 + .../API_docs_v95/types/messages.HighScores.md | 24 + .../types/messages.MessageEditData.md | 22 + .../API_docs_v95/types/messages.Messages.md | 40 ++ .../types/messages.PeerDialogs.md | 24 + .../types/messages.RecentStickers.md | 24 + .../API_docs_v95/types/messages.SavedGifs.md | 24 + .../types/messages.SentEncryptedMessage.md | 28 ++ .../API_docs_v95/types/messages.StickerSet.md | 30 ++ .../types/messages.StickerSetInstallResult.md | 24 + .../API_docs_v95/types/messages.Stickers.md | 24 + .../types/messages_AffectedHistory.md | 26 -- .../types/messages_AffectedMessages.md | 28 -- .../types/messages_AllStickers.md | 26 -- .../types/messages_ArchivedStickers.md | 22 - .../types/messages_BotCallbackAnswer.md | 22 - .../API_docs_v95/types/messages_BotResults.md | 22 - .../API_docs_v95/types/messages_ChatFull.md | 24 - old_docs/API_docs_v95/types/messages_Chats.md | 34 -- .../API_docs_v95/types/messages_DhConfig.md | 24 - .../API_docs_v95/types/messages_Dialogs.md | 26 -- .../types/messages_FavedStickers.md | 24 - .../types/messages_FeaturedStickers.md | 24 - .../API_docs_v95/types/messages_FoundGifs.md | 22 - .../types/messages_FoundStickerSets.md | 24 - .../API_docs_v95/types/messages_HighScores.md | 24 - .../types/messages_MessageEditData.md | 22 - .../API_docs_v95/types/messages_Messages.md | 40 -- .../types/messages_PeerDialogs.md | 24 - .../types/messages_RecentStickers.md | 24 - .../API_docs_v95/types/messages_SavedGifs.md | 24 - .../types/messages_SentEncryptedMessage.md | 28 -- .../API_docs_v95/types/messages_StickerSet.md | 30 -- .../types/messages_StickerSetInstallResult.md | 24 - .../API_docs_v95/types/messages_Stickers.md | 24 - .../types/payments.PaymentForm.md | 22 + .../types/payments.PaymentReceipt.md | 22 + .../types/payments.PaymentResult.md | 24 + .../API_docs_v95/types/payments.SavedInfo.md | 22 + .../types/payments.ValidatedRequestedInfo.md | 22 + .../types/payments_PaymentForm.md | 22 - .../types/payments_PaymentReceipt.md | 22 - .../types/payments_PaymentResult.md | 24 - .../API_docs_v95/types/payments_SavedInfo.md | 22 - .../types/payments_ValidatedRequestedInfo.md | 22 - .../API_docs_v95/types/phone.PhoneCall.md | 26 ++ .../API_docs_v95/types/phone_PhoneCall.md | 26 -- old_docs/API_docs_v95/types/photos.Photo.md | 22 + old_docs/API_docs_v95/types/photos.Photos.md | 24 + old_docs/API_docs_v95/types/photos_Photo.md | 22 - old_docs/API_docs_v95/types/photos_Photos.md | 24 - .../API_docs_v95/types/storage.FileType.md | 38 ++ .../API_docs_v95/types/storage_FileType.md | 38 -- .../types/updates.ChannelDifference.md | 26 ++ .../API_docs_v95/types/updates.Difference.md | 28 ++ old_docs/API_docs_v95/types/updates.State.md | 22 + .../types/updates_ChannelDifference.md | 26 -- .../API_docs_v95/types/updates_Difference.md | 28 -- old_docs/API_docs_v95/types/updates_State.md | 22 - old_docs/API_docs_v95/types/upload.CdnFile.md | 24 + old_docs/API_docs_v95/types/upload.File.md | 24 + old_docs/API_docs_v95/types/upload.WebFile.md | 22 + old_docs/API_docs_v95/types/upload_CdnFile.md | 24 - old_docs/API_docs_v95/types/upload_File.md | 24 - old_docs/API_docs_v95/types/upload_WebFile.md | 22 - old_docs/API_docs_v97/constructors/README.md | 427 +++++++++++------ .../constructors/account.authorizationForm.md | 42 ++ .../constructors/account.authorizations.md | 38 ++ .../account.autoDownloadSettings.md | 40 ++ .../constructors/account.password.md | 48 ++ .../account.passwordInputSettings.md | 42 ++ .../constructors/account.passwordSettings.md | 39 ++ .../constructors/account.privacyRules.md | 39 ++ .../constructors/account.sentEmailCode.md | 39 ++ .../constructors/account.takeout.md | 38 ++ .../constructors/account.tmpPassword.md | 39 ++ .../constructors/account.wallPapers.md | 39 ++ .../account.wallPapersNotModified.md | 33 ++ .../constructors/account.webAuthorizations.md | 39 ++ .../constructors/account_authorizationForm.md | 42 -- .../constructors/account_authorizations.md | 38 -- .../account_autoDownloadSettings.md | 40 -- .../constructors/account_password.md | 48 -- .../account_passwordInputSettings.md | 42 -- .../constructors/account_passwordSettings.md | 39 -- .../constructors/account_privacyRules.md | 39 -- .../constructors/account_sentEmailCode.md | 39 -- .../constructors/account_takeout.md | 38 -- .../constructors/account_tmpPassword.md | 39 -- .../constructors/account_wallPapers.md | 39 -- .../account_wallPapersNotModified.md | 33 -- .../constructors/account_webAuthorizations.md | 39 -- .../constructors/auth.authorization.md | 39 ++ .../constructors/auth.checkedPhone.md | 38 ++ .../constructors/auth.codeTypeCall.md | 33 ++ .../constructors/auth.codeTypeFlashCall.md | 33 ++ .../constructors/auth.codeTypeSms.md | 33 ++ .../auth.exportedAuthorization.md | 39 ++ .../constructors/auth.passwordRecovery.md | 38 ++ .../constructors/auth.sentCode.md | 43 ++ .../constructors/auth.sentCodeTypeApp.md | 38 ++ .../constructors/auth.sentCodeTypeCall.md | 38 ++ .../auth.sentCodeTypeFlashCall.md | 38 ++ .../constructors/auth.sentCodeTypeSms.md | 38 ++ .../constructors/auth_authorization.md | 39 -- .../constructors/auth_checkedPhone.md | 38 -- .../constructors/auth_codeTypeCall.md | 33 -- .../constructors/auth_codeTypeFlashCall.md | 33 -- .../constructors/auth_codeTypeSms.md | 33 -- .../auth_exportedAuthorization.md | 39 -- .../constructors/auth_passwordRecovery.md | 38 -- .../constructors/auth_sentCode.md | 43 -- .../constructors/auth_sentCodeTypeApp.md | 38 -- .../constructors/auth_sentCodeTypeCall.md | 38 -- .../auth_sentCodeTypeFlashCall.md | 38 -- .../constructors/auth_sentCodeTypeSms.md | 38 -- .../constructors/channels.adminLogResults.md | 40 ++ .../channels.channelParticipant.md | 39 ++ .../channels.channelParticipants.md | 40 ++ ...channels.channelParticipantsNotModified.md | 33 ++ .../constructors/channels_adminLogResults.md | 40 -- .../channels_channelParticipant.md | 39 -- .../channels_channelParticipants.md | 40 -- ...channels_channelParticipantsNotModified.md | 33 -- .../constructors/contacts.blocked.md | 39 ++ .../constructors/contacts.blockedSlice.md | 40 ++ .../constructors/contacts.contacts.md | 40 ++ .../contacts.contactsNotModified.md | 33 ++ .../constructors/contacts.found.md | 41 ++ .../constructors/contacts.importedContacts.md | 41 ++ .../constructors/contacts.link.md | 40 ++ .../constructors/contacts.resolvedPeer.md | 40 ++ .../constructors/contacts.topPeers.md | 40 ++ .../constructors/contacts.topPeersDisabled.md | 33 ++ .../contacts.topPeersNotModified.md | 33 ++ .../constructors/contacts_blocked.md | 39 -- .../constructors/contacts_blockedSlice.md | 40 -- .../constructors/contacts_contacts.md | 40 -- .../contacts_contactsNotModified.md | 33 -- .../constructors/contacts_found.md | 41 -- .../constructors/contacts_importedContacts.md | 41 -- .../constructors/contacts_link.md | 40 -- .../constructors/contacts_resolvedPeer.md | 40 -- .../constructors/contacts_topPeers.md | 40 -- .../constructors/contacts_topPeersDisabled.md | 33 -- .../contacts_topPeersNotModified.md | 33 -- .../constructors/help.appUpdate.md | 44 ++ .../constructors/help.configSimple.md | 40 ++ .../constructors/help.deepLinkInfo.md | 40 ++ .../constructors/help.deepLinkInfoEmpty.md | 33 ++ .../constructors/help.inviteText.md | 38 ++ .../constructors/help.noAppUpdate.md | 33 ++ .../constructors/help.passportConfig.md | 39 ++ .../help.passportConfigNotModified.md | 33 ++ .../constructors/help.proxyDataEmpty.md | 38 ++ .../constructors/help.proxyDataPromo.md | 41 ++ .../constructors/help.recentMeUrls.md | 40 ++ .../API_docs_v97/constructors/help.support.md | 39 ++ .../constructors/help.supportName.md | 38 ++ .../constructors/help.termsOfService.md | 42 ++ .../constructors/help.termsOfServiceUpdate.md | 39 ++ .../help.termsOfServiceUpdateEmpty.md | 38 ++ .../constructors/help.userInfo.md | 41 ++ .../constructors/help.userInfoEmpty.md | 33 ++ .../constructors/help_appUpdate.md | 44 -- .../constructors/help_configSimple.md | 40 -- .../constructors/help_deepLinkInfo.md | 40 -- .../constructors/help_deepLinkInfoEmpty.md | 33 -- .../constructors/help_inviteText.md | 38 -- .../constructors/help_noAppUpdate.md | 33 -- .../constructors/help_passportConfig.md | 39 -- .../help_passportConfigNotModified.md | 33 -- .../constructors/help_proxyDataEmpty.md | 38 -- .../constructors/help_proxyDataPromo.md | 41 -- .../constructors/help_recentMeUrls.md | 40 -- .../API_docs_v97/constructors/help_support.md | 39 -- .../constructors/help_supportName.md | 38 -- .../constructors/help_termsOfService.md | 42 -- .../constructors/help_termsOfServiceUpdate.md | 39 -- .../help_termsOfServiceUpdateEmpty.md | 38 -- .../constructors/help_userInfo.md | 41 -- .../constructors/help_userInfoEmpty.md | 33 -- .../constructors/messages.affectedHistory.md | 40 ++ .../constructors/messages.affectedMessages.md | 39 ++ .../constructors/messages.allStickers.md | 39 ++ .../messages.allStickersNotModified.md | 33 ++ .../constructors/messages.archivedStickers.md | 39 ++ .../messages.botCallbackAnswer.md | 43 ++ .../constructors/messages.botResults.md | 44 ++ .../constructors/messages.channelMessages.md | 43 ++ .../constructors/messages.chatFull.md | 40 ++ .../constructors/messages.chats.md | 38 ++ .../constructors/messages.chatsSlice.md | 39 ++ .../constructors/messages.dhConfig.md | 41 ++ .../messages.dhConfigNotModified.md | 38 ++ .../constructors/messages.dialogs.md | 41 ++ .../messages.dialogsNotModified.md | 38 ++ .../constructors/messages.dialogsSlice.md | 42 ++ .../constructors/messages.favedStickers.md | 40 ++ .../messages.favedStickersNotModified.md | 33 ++ .../constructors/messages.featuredStickers.md | 40 ++ .../messages.featuredStickersNotModified.md | 33 ++ .../constructors/messages.foundGifs.md | 39 ++ .../constructors/messages.foundStickerSets.md | 39 ++ .../messages.foundStickerSetsNotModified.md | 33 ++ .../constructors/messages.highScores.md | 39 ++ .../constructors/messages.messageEditData.md | 38 ++ .../constructors/messages.messages.md | 40 ++ .../messages.messagesNotModified.md | 38 ++ .../constructors/messages.messagesSlice.md | 42 ++ .../constructors/messages.peerDialogs.md | 42 ++ .../constructors/messages.recentStickers.md | 41 ++ .../messages.recentStickersNotModified.md | 33 ++ .../constructors/messages.savedGifs.md | 39 ++ .../messages.savedGifsNotModified.md | 33 ++ .../messages.sentEncryptedFile.md | 39 ++ .../messages.sentEncryptedMessage.md | 38 ++ .../constructors/messages.stickerSet.md | 40 ++ ...messages.stickerSetInstallResultArchive.md | 38 ++ ...messages.stickerSetInstallResultSuccess.md | 33 ++ .../constructors/messages.stickers.md | 39 ++ .../messages.stickersNotModified.md | 33 ++ .../constructors/messages_affectedHistory.md | 40 -- .../constructors/messages_affectedMessages.md | 39 -- .../constructors/messages_allStickers.md | 39 -- .../messages_allStickersNotModified.md | 33 -- .../constructors/messages_archivedStickers.md | 39 -- .../messages_botCallbackAnswer.md | 43 -- .../constructors/messages_botResults.md | 44 -- .../constructors/messages_channelMessages.md | 43 -- .../constructors/messages_chatFull.md | 40 -- .../constructors/messages_chats.md | 38 -- .../constructors/messages_chatsSlice.md | 39 -- .../constructors/messages_dhConfig.md | 41 -- .../messages_dhConfigNotModified.md | 38 -- .../constructors/messages_dialogs.md | 41 -- .../messages_dialogsNotModified.md | 38 -- .../constructors/messages_dialogsSlice.md | 42 -- .../constructors/messages_favedStickers.md | 40 -- .../messages_favedStickersNotModified.md | 33 -- .../constructors/messages_featuredStickers.md | 40 -- .../messages_featuredStickersNotModified.md | 33 -- .../constructors/messages_foundGifs.md | 39 -- .../constructors/messages_foundStickerSets.md | 39 -- .../messages_foundStickerSetsNotModified.md | 33 -- .../constructors/messages_highScores.md | 39 -- .../constructors/messages_messageEditData.md | 38 -- .../constructors/messages_messages.md | 40 -- .../messages_messagesNotModified.md | 38 -- .../constructors/messages_messagesSlice.md | 42 -- .../constructors/messages_peerDialogs.md | 42 -- .../constructors/messages_recentStickers.md | 41 -- .../messages_recentStickersNotModified.md | 33 -- .../constructors/messages_savedGifs.md | 39 -- .../messages_savedGifsNotModified.md | 33 -- .../messages_sentEncryptedFile.md | 39 -- .../messages_sentEncryptedMessage.md | 38 -- .../constructors/messages_stickerSet.md | 40 -- ...messages_stickerSetInstallResultArchive.md | 38 -- ...messages_stickerSetInstallResultSuccess.md | 33 -- .../constructors/messages_stickers.md | 39 -- .../messages_stickersNotModified.md | 33 -- .../constructors/payments.paymentForm.md | 48 ++ .../constructors/payments.paymentReceipt.md | 47 ++ .../constructors/payments.paymentResult.md | 38 ++ .../payments.paymentVerficationNeeded.md | 38 ++ .../constructors/payments.savedInfo.md | 39 ++ .../payments.validatedRequestedInfo.md | 39 ++ .../constructors/payments_paymentForm.md | 48 -- .../constructors/payments_paymentReceipt.md | 47 -- .../constructors/payments_paymentResult.md | 38 -- .../payments_paymentVerficationNeeded.md | 38 -- .../constructors/payments_savedInfo.md | 39 -- .../payments_validatedRequestedInfo.md | 39 -- .../constructors/phone.phoneCall.md | 39 ++ .../constructors/phone_phoneCall.md | 39 -- .../API_docs_v97/constructors/photos.photo.md | 39 ++ .../constructors/photos.photos.md | 39 ++ .../constructors/photos.photosSlice.md | 40 ++ .../API_docs_v97/constructors/photos_photo.md | 39 -- .../constructors/photos_photos.md | 39 -- .../constructors/photos_photosSlice.md | 40 -- .../constructors/storage.fileGif.md | 33 ++ .../constructors/storage.fileJpeg.md | 33 ++ .../constructors/storage.fileMov.md | 33 ++ .../constructors/storage.fileMp3.md | 33 ++ .../constructors/storage.fileMp4.md | 33 ++ .../constructors/storage.filePartial.md | 33 ++ .../constructors/storage.filePdf.md | 33 ++ .../constructors/storage.filePng.md | 33 ++ .../constructors/storage.fileUnknown.md | 33 ++ .../constructors/storage.fileWebp.md | 33 ++ .../constructors/storage_fileGif.md | 33 -- .../constructors/storage_fileJpeg.md | 33 -- .../constructors/storage_fileMov.md | 33 -- .../constructors/storage_fileMp3.md | 33 -- .../constructors/storage_fileMp4.md | 33 -- .../constructors/storage_filePartial.md | 33 -- .../constructors/storage_filePdf.md | 33 -- .../constructors/storage_filePng.md | 33 -- .../constructors/storage_fileUnknown.md | 33 -- .../constructors/storage_fileWebp.md | 33 -- .../constructors/updateNewStickerSet.md | 6 +- .../constructors/updates.channelDifference.md | 44 ++ .../updates.channelDifferenceEmpty.md | 40 ++ .../updates.channelDifferenceTooLong.md | 58 +++ .../constructors/updates.difference.md | 43 ++ .../constructors/updates.differenceEmpty.md | 39 ++ .../constructors/updates.differenceSlice.md | 43 ++ .../constructors/updates.differenceTooLong.md | 38 ++ .../constructors/updates.state.md | 42 ++ .../constructors/updates_channelDifference.md | 44 -- .../updates_channelDifferenceEmpty.md | 40 -- .../updates_channelDifferenceTooLong.md | 58 --- .../constructors/updates_difference.md | 43 -- .../constructors/updates_differenceEmpty.md | 39 -- .../constructors/updates_differenceSlice.md | 43 -- .../constructors/updates_differenceTooLong.md | 38 -- .../constructors/updates_state.md | 42 -- .../constructors/upload.cdnFile.md | 38 ++ .../upload.cdnFileReuploadNeeded.md | 38 ++ .../API_docs_v97/constructors/upload.file.md | 40 ++ .../constructors/upload.fileCdnRedirect.md | 42 ++ .../constructors/upload.webFile.md | 42 ++ .../constructors/upload_cdnFile.md | 38 -- .../upload_cdnFileReuploadNeeded.md | 38 -- .../API_docs_v97/constructors/upload_file.md | 40 -- .../constructors/upload_fileCdnRedirect.md | 42 -- .../constructors/upload_webFile.md | 42 -- .../API_docs_v97/constructors/userFull.md | 6 +- .../methods/account.getAuthorizationForm.md | 6 +- .../methods/account.getAuthorizations.md | 6 +- .../account.getAutoDownloadSettings.md | 6 +- .../methods/account.getPassword.md | 6 +- .../methods/account.getPasswordSettings.md | 6 +- .../methods/account.getPrivacy.md | 6 +- .../methods/account.getTmpPassword.md | 6 +- .../methods/account.getWallPapers.md | 6 +- .../methods/account.getWebAuthorizations.md | 6 +- .../methods/account.initTakeoutSession.md | 6 +- .../methods/account.sendChangePhoneCode.md | 6 +- .../methods/account.sendConfirmPhoneCode.md | 6 +- .../methods/account.sendVerifyEmailCode.md | 6 +- .../methods/account.sendVerifyPhoneCode.md | 6 +- .../methods/account.setPrivacy.md | 6 +- old_docs/API_docs_v97/methods/api_README.md | 224 ++++----- .../methods/auth.checkPassword.md | 6 +- .../methods/auth.exportAuthorization.md | 6 +- .../methods/auth.importAuthorization.md | 6 +- .../methods/auth.importBotAuthorization.md | 6 +- .../methods/auth.recoverPassword.md | 6 +- .../methods/auth.requestPasswordRecovery.md | 6 +- .../API_docs_v97/methods/auth.resendCode.md | 6 +- .../API_docs_v97/methods/auth.sendCode.md | 6 +- old_docs/API_docs_v97/methods/auth.signIn.md | 6 +- old_docs/API_docs_v97/methods/auth.signUp.md | 6 +- .../methods/channels.deleteMessages.md | 6 +- .../methods/channels.deleteUserHistory.md | 6 +- .../methods/channels.getAdminLog.md | 6 +- .../channels.getAdminedPublicChannels.md | 6 +- .../methods/channels.getChannels.md | 6 +- .../methods/channels.getFullChannel.md | 6 +- .../methods/channels.getLeftChannels.md | 6 +- .../methods/channels.getMessages.md | 6 +- .../methods/channels.getParticipant.md | 6 +- .../methods/channels.getParticipants.md | 6 +- .../methods/contacts.deleteContact.md | 6 +- .../methods/contacts.getBlocked.md | 6 +- .../methods/contacts.getContacts.md | 6 +- .../methods/contacts.getTopPeers.md | 6 +- .../methods/contacts.importContacts.md | 6 +- .../methods/contacts.resolveUsername.md | 6 +- .../API_docs_v97/methods/contacts.search.md | 6 +- .../API_docs_v97/methods/help.editUserInfo.md | 8 +- .../API_docs_v97/methods/help.getAppUpdate.md | 6 +- .../methods/help.getDeepLinkInfo.md | 6 +- .../methods/help.getInviteText.md | 6 +- .../methods/help.getPassportConfig.md | 6 +- .../API_docs_v97/methods/help.getProxyData.md | 6 +- .../methods/help.getRecentMeUrls.md | 6 +- .../API_docs_v97/methods/help.getSupport.md | 6 +- .../methods/help.getSupportName.md | 6 +- .../methods/help.getTermsOfServiceUpdate.md | 6 +- .../API_docs_v97/methods/help.getUserInfo.md | 6 +- .../methods/messages.deleteHistory.md | 6 +- .../methods/messages.deleteMessages.md | 6 +- .../methods/messages.getAllChats.md | 6 +- .../methods/messages.getAllStickers.md | 6 +- .../methods/messages.getArchivedStickers.md | 6 +- .../methods/messages.getBotCallbackAnswer.md | 6 +- .../API_docs_v97/methods/messages.getChats.md | 6 +- .../methods/messages.getCommonChats.md | 6 +- .../methods/messages.getDhConfig.md | 6 +- .../methods/messages.getDialogs.md | 6 +- .../methods/messages.getFavedStickers.md | 6 +- .../methods/messages.getFeaturedStickers.md | 6 +- .../methods/messages.getFullChat.md | 6 +- .../methods/messages.getGameHighScores.md | 6 +- .../methods/messages.getHistory.md | 6 +- .../methods/messages.getInlineBotResults.md | 6 +- .../messages.getInlineGameHighScores.md | 6 +- .../methods/messages.getMaskStickers.md | 6 +- .../methods/messages.getMessageEditData.md | 6 +- .../methods/messages.getMessages.md | 6 +- .../methods/messages.getPeerDialogs.md | 6 +- .../methods/messages.getPinnedDialogs.md | 6 +- .../methods/messages.getRecentLocations.md | 6 +- .../methods/messages.getRecentStickers.md | 6 +- .../methods/messages.getSavedGifs.md | 6 +- .../methods/messages.getStickerSet.md | 6 +- .../methods/messages.getStickers.md | 6 +- .../methods/messages.getUnreadMentions.md | 6 +- .../methods/messages.installStickerSet.md | 6 +- .../methods/messages.readHistory.md | 6 +- .../methods/messages.readMentions.md | 6 +- .../methods/messages.readMessageContents.md | 6 +- .../API_docs_v97/methods/messages.search.md | 6 +- .../methods/messages.searchGifs.md | 6 +- .../methods/messages.searchGlobal.md | 6 +- .../methods/messages.searchStickerSets.md | 6 +- .../methods/messages.sendEncrypted.md | 14 +- .../methods/messages.sendEncryptedFile.md | 14 +- .../methods/messages.sendEncryptedService.md | 14 +- .../methods/payments.getPaymentForm.md | 6 +- .../methods/payments.getPaymentReceipt.md | 6 +- .../methods/payments.getSavedInfo.md | 6 +- .../methods/payments.sendPaymentForm.md | 6 +- .../methods/payments.validateRequestedInfo.md | 6 +- .../API_docs_v97/methods/phone.acceptCall.md | 6 +- .../API_docs_v97/methods/phone.confirmCall.md | 6 +- .../API_docs_v97/methods/phone.requestCall.md | 6 +- .../methods/photos.getUserPhotos.md | 6 +- .../methods/photos.uploadProfilePhoto.md | 6 +- .../methods/stickers.addStickerToSet.md | 6 +- .../methods/stickers.changeStickerPosition.md | 6 +- .../methods/stickers.createStickerSet.md | 6 +- .../methods/stickers.removeStickerFromSet.md | 6 +- .../methods/updates.getChannelDifference.md | 6 +- .../methods/updates.getDifference.md | 6 +- .../API_docs_v97/methods/updates.getState.md | 6 +- .../API_docs_v97/methods/upload.getCdnFile.md | 6 +- .../API_docs_v97/methods/upload.getFile.md | 6 +- .../API_docs_v97/methods/upload.getWebFile.md | 6 +- old_docs/API_docs_v97/types/AccountDaysTTL.md | 2 +- old_docs/API_docs_v97/types/CdnConfig.md | 2 +- old_docs/API_docs_v97/types/ChatInvite.md | 2 +- old_docs/API_docs_v97/types/ChatOnlines.md | 2 +- old_docs/API_docs_v97/types/Config.md | 2 +- old_docs/API_docs_v97/types/ContactStatus.md | 2 +- old_docs/API_docs_v97/types/DialogPeer.md | 2 +- old_docs/API_docs_v97/types/Document.md | 2 +- .../types/EmojiKeywordsDifference.md | 4 +- old_docs/API_docs_v97/types/EmojiURL.md | 2 +- old_docs/API_docs_v97/types/EncryptedChat.md | 4 +- old_docs/API_docs_v97/types/EncryptedFile.md | 2 +- .../API_docs_v97/types/ExportedChatInvite.md | 2 +- .../API_docs_v97/types/ExportedMessageLink.md | 2 +- old_docs/API_docs_v97/types/FileHash.md | 6 +- old_docs/API_docs_v97/types/JSONValue.md | 2 +- .../API_docs_v97/types/LangPackDifference.md | 4 +- .../API_docs_v97/types/LangPackLanguage.md | 4 +- old_docs/API_docs_v97/types/LangPackString.md | 2 +- old_docs/API_docs_v97/types/MessageMedia.md | 4 +- old_docs/API_docs_v97/types/MessageRange.md | 2 +- old_docs/API_docs_v97/types/NearestDc.md | 2 +- .../API_docs_v97/types/PeerNotifySettings.md | 2 +- old_docs/API_docs_v97/types/PeerSettings.md | 2 +- old_docs/API_docs_v97/types/README.md | 160 +++---- .../types/ReceivedNotifyMessage.md | 2 +- old_docs/API_docs_v97/types/SavedContact.md | 2 +- old_docs/API_docs_v97/types/SecureValue.md | 6 +- old_docs/API_docs_v97/types/StatsURL.md | 2 +- .../API_docs_v97/types/StickerSetCovered.md | 2 +- old_docs/API_docs_v97/types/Updates.md | 72 +-- old_docs/API_docs_v97/types/User.md | 8 +- old_docs/API_docs_v97/types/UserFull.md | 2 +- .../API_docs_v97/types/UserProfilePhoto.md | 2 +- old_docs/API_docs_v97/types/WallPaper.md | 4 +- old_docs/API_docs_v97/types/WebPage.md | 2 +- .../types/account.AuthorizationForm.md | 22 + .../types/account.Authorizations.md | 22 + .../types/account.AutoDownloadSettings.md | 22 + .../API_docs_v97/types/account.Password.md | 22 + .../types/account.PasswordInputSettings.md | 20 + .../types/account.PasswordSettings.md | 22 + .../types/account.PrivacyRules.md | 24 + .../types/account.SentEmailCode.md | 22 + .../API_docs_v97/types/account.Takeout.md | 22 + .../API_docs_v97/types/account.TmpPassword.md | 22 + .../API_docs_v97/types/account.WallPapers.md | 24 + .../types/account.WebAuthorizations.md | 22 + .../types/account_AuthorizationForm.md | 22 - .../types/account_Authorizations.md | 22 - .../types/account_AutoDownloadSettings.md | 22 - .../API_docs_v97/types/account_Password.md | 22 - .../types/account_PasswordInputSettings.md | 20 - .../types/account_PasswordSettings.md | 22 - .../types/account_PrivacyRules.md | 24 - .../types/account_SentEmailCode.md | 22 - .../API_docs_v97/types/account_Takeout.md | 22 - .../API_docs_v97/types/account_TmpPassword.md | 22 - .../API_docs_v97/types/account_WallPapers.md | 24 - .../types/account_WebAuthorizations.md | 22 - .../API_docs_v97/types/auth.Authorization.md | 32 ++ .../API_docs_v97/types/auth.CheckedPhone.md | 20 + old_docs/API_docs_v97/types/auth.CodeType.md | 24 + .../types/auth.ExportedAuthorization.md | 22 + .../types/auth.PasswordRecovery.md | 22 + old_docs/API_docs_v97/types/auth.SentCode.md | 30 ++ .../API_docs_v97/types/auth.SentCodeType.md | 26 ++ .../API_docs_v97/types/auth_Authorization.md | 32 -- .../API_docs_v97/types/auth_CheckedPhone.md | 20 - old_docs/API_docs_v97/types/auth_CodeType.md | 24 - .../types/auth_ExportedAuthorization.md | 22 - .../types/auth_PasswordRecovery.md | 22 - old_docs/API_docs_v97/types/auth_SentCode.md | 30 -- .../API_docs_v97/types/auth_SentCodeType.md | 26 -- .../types/channels.AdminLogResults.md | 22 + .../types/channels.ChannelParticipant.md | 22 + .../types/channels.ChannelParticipants.md | 24 + .../types/channels_AdminLogResults.md | 22 - .../types/channels_ChannelParticipant.md | 22 - .../types/channels_ChannelParticipants.md | 24 - .../API_docs_v97/types/contacts.Blocked.md | 24 + .../API_docs_v97/types/contacts.Contacts.md | 24 + old_docs/API_docs_v97/types/contacts.Found.md | 22 + .../types/contacts.ImportedContacts.md | 22 + old_docs/API_docs_v97/types/contacts.Link.md | 22 + .../types/contacts.ResolvedPeer.md | 22 + .../API_docs_v97/types/contacts.TopPeers.md | 26 ++ .../API_docs_v97/types/contacts_Blocked.md | 24 - .../API_docs_v97/types/contacts_Contacts.md | 24 - old_docs/API_docs_v97/types/contacts_Found.md | 22 - .../types/contacts_ImportedContacts.md | 22 - old_docs/API_docs_v97/types/contacts_Link.md | 22 - .../types/contacts_ResolvedPeer.md | 22 - .../API_docs_v97/types/contacts_TopPeers.md | 26 -- old_docs/API_docs_v97/types/help.AppUpdate.md | 24 + .../API_docs_v97/types/help.ConfigSimple.md | 20 + .../API_docs_v97/types/help.DeepLinkInfo.md | 24 + .../API_docs_v97/types/help.InviteText.md | 22 + .../API_docs_v97/types/help.PassportConfig.md | 24 + old_docs/API_docs_v97/types/help.ProxyData.md | 24 + .../API_docs_v97/types/help.RecentMeUrls.md | 22 + old_docs/API_docs_v97/types/help.Support.md | 22 + .../API_docs_v97/types/help.SupportName.md | 22 + .../API_docs_v97/types/help.TermsOfService.md | 20 + .../types/help.TermsOfServiceUpdate.md | 24 + old_docs/API_docs_v97/types/help.UserInfo.md | 26 ++ old_docs/API_docs_v97/types/help_AppUpdate.md | 24 - .../API_docs_v97/types/help_ConfigSimple.md | 20 - .../API_docs_v97/types/help_DeepLinkInfo.md | 24 - .../API_docs_v97/types/help_InviteText.md | 22 - .../API_docs_v97/types/help_PassportConfig.md | 24 - old_docs/API_docs_v97/types/help_ProxyData.md | 24 - .../API_docs_v97/types/help_RecentMeUrls.md | 22 - old_docs/API_docs_v97/types/help_Support.md | 22 - .../API_docs_v97/types/help_SupportName.md | 22 - .../API_docs_v97/types/help_TermsOfService.md | 20 - .../types/help_TermsOfServiceUpdate.md | 24 - old_docs/API_docs_v97/types/help_UserInfo.md | 26 -- .../types/messages.AffectedHistory.md | 26 ++ .../types/messages.AffectedMessages.md | 28 ++ .../types/messages.AllStickers.md | 26 ++ .../types/messages.ArchivedStickers.md | 22 + .../types/messages.BotCallbackAnswer.md | 22 + .../API_docs_v97/types/messages.BotResults.md | 22 + .../API_docs_v97/types/messages.ChatFull.md | 24 + old_docs/API_docs_v97/types/messages.Chats.md | 34 ++ .../API_docs_v97/types/messages.DhConfig.md | 24 + .../API_docs_v97/types/messages.Dialogs.md | 26 ++ .../types/messages.FavedStickers.md | 24 + .../types/messages.FeaturedStickers.md | 24 + .../API_docs_v97/types/messages.FoundGifs.md | 22 + .../types/messages.FoundStickerSets.md | 24 + .../API_docs_v97/types/messages.HighScores.md | 24 + .../types/messages.MessageEditData.md | 22 + .../API_docs_v97/types/messages.Messages.md | 40 ++ .../types/messages.PeerDialogs.md | 24 + .../types/messages.RecentStickers.md | 24 + .../API_docs_v97/types/messages.SavedGifs.md | 24 + .../types/messages.SentEncryptedMessage.md | 28 ++ .../API_docs_v97/types/messages.StickerSet.md | 30 ++ .../types/messages.StickerSetInstallResult.md | 24 + .../API_docs_v97/types/messages.Stickers.md | 24 + .../types/messages_AffectedHistory.md | 26 -- .../types/messages_AffectedMessages.md | 28 -- .../types/messages_AllStickers.md | 26 -- .../types/messages_ArchivedStickers.md | 22 - .../types/messages_BotCallbackAnswer.md | 22 - .../API_docs_v97/types/messages_BotResults.md | 22 - .../API_docs_v97/types/messages_ChatFull.md | 24 - old_docs/API_docs_v97/types/messages_Chats.md | 34 -- .../API_docs_v97/types/messages_DhConfig.md | 24 - .../API_docs_v97/types/messages_Dialogs.md | 26 -- .../types/messages_FavedStickers.md | 24 - .../types/messages_FeaturedStickers.md | 24 - .../API_docs_v97/types/messages_FoundGifs.md | 22 - .../types/messages_FoundStickerSets.md | 24 - .../API_docs_v97/types/messages_HighScores.md | 24 - .../types/messages_MessageEditData.md | 22 - .../API_docs_v97/types/messages_Messages.md | 40 -- .../types/messages_PeerDialogs.md | 24 - .../types/messages_RecentStickers.md | 24 - .../API_docs_v97/types/messages_SavedGifs.md | 24 - .../types/messages_SentEncryptedMessage.md | 28 -- .../API_docs_v97/types/messages_StickerSet.md | 30 -- .../types/messages_StickerSetInstallResult.md | 24 - .../API_docs_v97/types/messages_Stickers.md | 24 - .../types/payments.PaymentForm.md | 22 + .../types/payments.PaymentReceipt.md | 22 + .../types/payments.PaymentResult.md | 24 + .../API_docs_v97/types/payments.SavedInfo.md | 22 + .../types/payments.ValidatedRequestedInfo.md | 22 + .../types/payments_PaymentForm.md | 22 - .../types/payments_PaymentReceipt.md | 22 - .../types/payments_PaymentResult.md | 24 - .../API_docs_v97/types/payments_SavedInfo.md | 22 - .../types/payments_ValidatedRequestedInfo.md | 22 - .../API_docs_v97/types/phone.PhoneCall.md | 26 ++ .../API_docs_v97/types/phone_PhoneCall.md | 26 -- old_docs/API_docs_v97/types/photos.Photo.md | 22 + old_docs/API_docs_v97/types/photos.Photos.md | 24 + old_docs/API_docs_v97/types/photos_Photo.md | 22 - old_docs/API_docs_v97/types/photos_Photos.md | 24 - .../API_docs_v97/types/storage.FileType.md | 38 ++ .../API_docs_v97/types/storage_FileType.md | 38 -- .../types/updates.ChannelDifference.md | 26 ++ .../API_docs_v97/types/updates.Difference.md | 28 ++ old_docs/API_docs_v97/types/updates.State.md | 22 + .../types/updates_ChannelDifference.md | 26 -- .../API_docs_v97/types/updates_Difference.md | 28 -- old_docs/API_docs_v97/types/updates_State.md | 22 - old_docs/API_docs_v97/types/upload.CdnFile.md | 24 + old_docs/API_docs_v97/types/upload.File.md | 24 + old_docs/API_docs_v97/types/upload.WebFile.md | 22 + old_docs/API_docs_v97/types/upload_CdnFile.md | 24 - old_docs/API_docs_v97/types/upload_File.md | 24 - old_docs/API_docs_v97/types/upload_WebFile.md | 22 - 16514 files changed, 226434 insertions(+), 223757 deletions(-) create mode 100644 docs/API_docs/constructors/account.authorizationForm.md create mode 100644 docs/API_docs/constructors/account.authorizations.md create mode 100644 docs/API_docs/constructors/account.autoDownloadSettings.md create mode 100644 docs/API_docs/constructors/account.password.md create mode 100644 docs/API_docs/constructors/account.passwordInputSettings.md create mode 100644 docs/API_docs/constructors/account.passwordSettings.md create mode 100644 docs/API_docs/constructors/account.privacyRules.md create mode 100644 docs/API_docs/constructors/account.sentEmailCode.md create mode 100644 docs/API_docs/constructors/account.takeout.md create mode 100644 docs/API_docs/constructors/account.themes.md create mode 100644 docs/API_docs/constructors/account.themesNotModified.md create mode 100644 docs/API_docs/constructors/account.tmpPassword.md create mode 100644 docs/API_docs/constructors/account.wallPapers.md create mode 100644 docs/API_docs/constructors/account.wallPapersNotModified.md create mode 100644 docs/API_docs/constructors/account.webAuthorizations.md delete mode 100644 docs/API_docs/constructors/account_authorizationForm.md delete mode 100644 docs/API_docs/constructors/account_authorizations.md delete mode 100644 docs/API_docs/constructors/account_autoDownloadSettings.md delete mode 100644 docs/API_docs/constructors/account_password.md delete mode 100644 docs/API_docs/constructors/account_passwordInputSettings.md delete mode 100644 docs/API_docs/constructors/account_passwordSettings.md delete mode 100644 docs/API_docs/constructors/account_privacyRules.md delete mode 100644 docs/API_docs/constructors/account_sentEmailCode.md delete mode 100644 docs/API_docs/constructors/account_takeout.md delete mode 100644 docs/API_docs/constructors/account_themes.md delete mode 100644 docs/API_docs/constructors/account_themesNotModified.md delete mode 100644 docs/API_docs/constructors/account_tmpPassword.md delete mode 100644 docs/API_docs/constructors/account_wallPapers.md delete mode 100644 docs/API_docs/constructors/account_wallPapersNotModified.md delete mode 100644 docs/API_docs/constructors/account_webAuthorizations.md create mode 100644 docs/API_docs/constructors/auth.authorization.md create mode 100644 docs/API_docs/constructors/auth.authorizationSignUpRequired.md create mode 100644 docs/API_docs/constructors/auth.codeTypeCall.md create mode 100644 docs/API_docs/constructors/auth.codeTypeFlashCall.md create mode 100644 docs/API_docs/constructors/auth.codeTypeSms.md create mode 100644 docs/API_docs/constructors/auth.exportedAuthorization.md create mode 100644 docs/API_docs/constructors/auth.passwordRecovery.md create mode 100644 docs/API_docs/constructors/auth.sentCode.md create mode 100644 docs/API_docs/constructors/auth.sentCodeTypeApp.md create mode 100644 docs/API_docs/constructors/auth.sentCodeTypeCall.md create mode 100644 docs/API_docs/constructors/auth.sentCodeTypeFlashCall.md create mode 100644 docs/API_docs/constructors/auth.sentCodeTypeSms.md delete mode 100644 docs/API_docs/constructors/auth_authorization.md delete mode 100644 docs/API_docs/constructors/auth_authorizationSignUpRequired.md delete mode 100644 docs/API_docs/constructors/auth_codeTypeCall.md delete mode 100644 docs/API_docs/constructors/auth_codeTypeFlashCall.md delete mode 100644 docs/API_docs/constructors/auth_codeTypeSms.md delete mode 100644 docs/API_docs/constructors/auth_exportedAuthorization.md delete mode 100644 docs/API_docs/constructors/auth_passwordRecovery.md delete mode 100644 docs/API_docs/constructors/auth_sentCode.md delete mode 100644 docs/API_docs/constructors/auth_sentCodeTypeApp.md delete mode 100644 docs/API_docs/constructors/auth_sentCodeTypeCall.md delete mode 100644 docs/API_docs/constructors/auth_sentCodeTypeFlashCall.md delete mode 100644 docs/API_docs/constructors/auth_sentCodeTypeSms.md create mode 100644 docs/API_docs/constructors/channels.adminLogResults.md create mode 100644 docs/API_docs/constructors/channels.channelParticipant.md create mode 100644 docs/API_docs/constructors/channels.channelParticipants.md create mode 100644 docs/API_docs/constructors/channels.channelParticipantsNotModified.md delete mode 100644 docs/API_docs/constructors/channels_adminLogResults.md delete mode 100644 docs/API_docs/constructors/channels_channelParticipant.md delete mode 100644 docs/API_docs/constructors/channels_channelParticipants.md delete mode 100644 docs/API_docs/constructors/channels_channelParticipantsNotModified.md create mode 100644 docs/API_docs/constructors/contacts.blocked.md create mode 100644 docs/API_docs/constructors/contacts.blockedSlice.md create mode 100644 docs/API_docs/constructors/contacts.contacts.md create mode 100644 docs/API_docs/constructors/contacts.contactsNotModified.md create mode 100644 docs/API_docs/constructors/contacts.found.md create mode 100644 docs/API_docs/constructors/contacts.importedContacts.md create mode 100644 docs/API_docs/constructors/contacts.resolvedPeer.md create mode 100644 docs/API_docs/constructors/contacts.topPeers.md create mode 100644 docs/API_docs/constructors/contacts.topPeersDisabled.md create mode 100644 docs/API_docs/constructors/contacts.topPeersNotModified.md delete mode 100644 docs/API_docs/constructors/contacts_blocked.md delete mode 100644 docs/API_docs/constructors/contacts_blockedSlice.md delete mode 100644 docs/API_docs/constructors/contacts_contacts.md delete mode 100644 docs/API_docs/constructors/contacts_contactsNotModified.md delete mode 100644 docs/API_docs/constructors/contacts_found.md delete mode 100644 docs/API_docs/constructors/contacts_importedContacts.md delete mode 100644 docs/API_docs/constructors/contacts_resolvedPeer.md delete mode 100644 docs/API_docs/constructors/contacts_topPeers.md delete mode 100644 docs/API_docs/constructors/contacts_topPeersDisabled.md delete mode 100644 docs/API_docs/constructors/contacts_topPeersNotModified.md create mode 100644 docs/API_docs/constructors/help.appUpdate.md create mode 100644 docs/API_docs/constructors/help.configSimple.md create mode 100644 docs/API_docs/constructors/help.deepLinkInfo.md create mode 100644 docs/API_docs/constructors/help.deepLinkInfoEmpty.md create mode 100644 docs/API_docs/constructors/help.inviteText.md create mode 100644 docs/API_docs/constructors/help.noAppUpdate.md create mode 100644 docs/API_docs/constructors/help.passportConfig.md create mode 100644 docs/API_docs/constructors/help.passportConfigNotModified.md create mode 100644 docs/API_docs/constructors/help.proxyDataEmpty.md create mode 100644 docs/API_docs/constructors/help.proxyDataPromo.md create mode 100644 docs/API_docs/constructors/help.recentMeUrls.md create mode 100644 docs/API_docs/constructors/help.support.md create mode 100644 docs/API_docs/constructors/help.supportName.md create mode 100644 docs/API_docs/constructors/help.termsOfService.md create mode 100644 docs/API_docs/constructors/help.termsOfServiceUpdate.md create mode 100644 docs/API_docs/constructors/help.termsOfServiceUpdateEmpty.md create mode 100644 docs/API_docs/constructors/help.userInfo.md create mode 100644 docs/API_docs/constructors/help.userInfoEmpty.md delete mode 100644 docs/API_docs/constructors/help_appUpdate.md delete mode 100644 docs/API_docs/constructors/help_configSimple.md delete mode 100644 docs/API_docs/constructors/help_deepLinkInfo.md delete mode 100644 docs/API_docs/constructors/help_deepLinkInfoEmpty.md delete mode 100644 docs/API_docs/constructors/help_inviteText.md delete mode 100644 docs/API_docs/constructors/help_noAppUpdate.md delete mode 100644 docs/API_docs/constructors/help_passportConfig.md delete mode 100644 docs/API_docs/constructors/help_passportConfigNotModified.md delete mode 100644 docs/API_docs/constructors/help_proxyDataEmpty.md delete mode 100644 docs/API_docs/constructors/help_proxyDataPromo.md delete mode 100644 docs/API_docs/constructors/help_recentMeUrls.md delete mode 100644 docs/API_docs/constructors/help_support.md delete mode 100644 docs/API_docs/constructors/help_supportName.md delete mode 100644 docs/API_docs/constructors/help_termsOfService.md delete mode 100644 docs/API_docs/constructors/help_termsOfServiceUpdate.md delete mode 100644 docs/API_docs/constructors/help_termsOfServiceUpdateEmpty.md delete mode 100644 docs/API_docs/constructors/help_userInfo.md delete mode 100644 docs/API_docs/constructors/help_userInfoEmpty.md create mode 100644 docs/API_docs/constructors/messages.affectedHistory.md create mode 100644 docs/API_docs/constructors/messages.affectedMessages.md create mode 100644 docs/API_docs/constructors/messages.allStickers.md create mode 100644 docs/API_docs/constructors/messages.allStickersNotModified.md create mode 100644 docs/API_docs/constructors/messages.archivedStickers.md create mode 100644 docs/API_docs/constructors/messages.botCallbackAnswer.md create mode 100644 docs/API_docs/constructors/messages.botResults.md create mode 100644 docs/API_docs/constructors/messages.channelMessages.md create mode 100644 docs/API_docs/constructors/messages.chatFull.md create mode 100644 docs/API_docs/constructors/messages.chats.md create mode 100644 docs/API_docs/constructors/messages.chatsSlice.md create mode 100644 docs/API_docs/constructors/messages.dhConfig.md create mode 100644 docs/API_docs/constructors/messages.dhConfigNotModified.md create mode 100644 docs/API_docs/constructors/messages.dialogs.md create mode 100644 docs/API_docs/constructors/messages.dialogsNotModified.md create mode 100644 docs/API_docs/constructors/messages.dialogsSlice.md create mode 100644 docs/API_docs/constructors/messages.favedStickers.md create mode 100644 docs/API_docs/constructors/messages.favedStickersNotModified.md create mode 100644 docs/API_docs/constructors/messages.featuredStickers.md create mode 100644 docs/API_docs/constructors/messages.featuredStickersNotModified.md create mode 100644 docs/API_docs/constructors/messages.foundGifs.md create mode 100644 docs/API_docs/constructors/messages.foundStickerSets.md create mode 100644 docs/API_docs/constructors/messages.foundStickerSetsNotModified.md create mode 100644 docs/API_docs/constructors/messages.highScores.md create mode 100644 docs/API_docs/constructors/messages.messageEditData.md create mode 100644 docs/API_docs/constructors/messages.messages.md create mode 100644 docs/API_docs/constructors/messages.messagesNotModified.md create mode 100644 docs/API_docs/constructors/messages.messagesSlice.md create mode 100644 docs/API_docs/constructors/messages.peerDialogs.md create mode 100644 docs/API_docs/constructors/messages.recentStickers.md create mode 100644 docs/API_docs/constructors/messages.recentStickersNotModified.md create mode 100644 docs/API_docs/constructors/messages.savedGifs.md create mode 100644 docs/API_docs/constructors/messages.savedGifsNotModified.md create mode 100644 docs/API_docs/constructors/messages.searchCounter.md create mode 100644 docs/API_docs/constructors/messages.sentEncryptedFile.md create mode 100644 docs/API_docs/constructors/messages.sentEncryptedMessage.md create mode 100644 docs/API_docs/constructors/messages.stickerSet.md create mode 100644 docs/API_docs/constructors/messages.stickerSetInstallResultArchive.md create mode 100644 docs/API_docs/constructors/messages.stickerSetInstallResultSuccess.md create mode 100644 docs/API_docs/constructors/messages.stickers.md create mode 100644 docs/API_docs/constructors/messages.stickersNotModified.md delete mode 100644 docs/API_docs/constructors/messages_affectedHistory.md delete mode 100644 docs/API_docs/constructors/messages_affectedMessages.md delete mode 100644 docs/API_docs/constructors/messages_allStickers.md delete mode 100644 docs/API_docs/constructors/messages_allStickersNotModified.md delete mode 100644 docs/API_docs/constructors/messages_archivedStickers.md delete mode 100644 docs/API_docs/constructors/messages_botCallbackAnswer.md delete mode 100644 docs/API_docs/constructors/messages_botResults.md delete mode 100644 docs/API_docs/constructors/messages_channelMessages.md delete mode 100644 docs/API_docs/constructors/messages_chatFull.md delete mode 100644 docs/API_docs/constructors/messages_chats.md delete mode 100644 docs/API_docs/constructors/messages_chatsSlice.md delete mode 100644 docs/API_docs/constructors/messages_dhConfig.md delete mode 100644 docs/API_docs/constructors/messages_dhConfigNotModified.md delete mode 100644 docs/API_docs/constructors/messages_dialogs.md delete mode 100644 docs/API_docs/constructors/messages_dialogsNotModified.md delete mode 100644 docs/API_docs/constructors/messages_dialogsSlice.md delete mode 100644 docs/API_docs/constructors/messages_favedStickers.md delete mode 100644 docs/API_docs/constructors/messages_favedStickersNotModified.md delete mode 100644 docs/API_docs/constructors/messages_featuredStickers.md delete mode 100644 docs/API_docs/constructors/messages_featuredStickersNotModified.md delete mode 100644 docs/API_docs/constructors/messages_foundGifs.md delete mode 100644 docs/API_docs/constructors/messages_foundStickerSets.md delete mode 100644 docs/API_docs/constructors/messages_foundStickerSetsNotModified.md delete mode 100644 docs/API_docs/constructors/messages_highScores.md delete mode 100644 docs/API_docs/constructors/messages_messageEditData.md delete mode 100644 docs/API_docs/constructors/messages_messages.md delete mode 100644 docs/API_docs/constructors/messages_messagesNotModified.md delete mode 100644 docs/API_docs/constructors/messages_messagesSlice.md delete mode 100644 docs/API_docs/constructors/messages_peerDialogs.md delete mode 100644 docs/API_docs/constructors/messages_recentStickers.md delete mode 100644 docs/API_docs/constructors/messages_recentStickersNotModified.md delete mode 100644 docs/API_docs/constructors/messages_savedGifs.md delete mode 100644 docs/API_docs/constructors/messages_savedGifsNotModified.md delete mode 100644 docs/API_docs/constructors/messages_searchCounter.md delete mode 100644 docs/API_docs/constructors/messages_sentEncryptedFile.md delete mode 100644 docs/API_docs/constructors/messages_sentEncryptedMessage.md delete mode 100644 docs/API_docs/constructors/messages_stickerSet.md delete mode 100644 docs/API_docs/constructors/messages_stickerSetInstallResultArchive.md delete mode 100644 docs/API_docs/constructors/messages_stickerSetInstallResultSuccess.md delete mode 100644 docs/API_docs/constructors/messages_stickers.md delete mode 100644 docs/API_docs/constructors/messages_stickersNotModified.md create mode 100644 docs/API_docs/constructors/payments.paymentForm.md create mode 100644 docs/API_docs/constructors/payments.paymentReceipt.md create mode 100644 docs/API_docs/constructors/payments.paymentResult.md create mode 100644 docs/API_docs/constructors/payments.paymentVerificationNeeded.md create mode 100644 docs/API_docs/constructors/payments.savedInfo.md create mode 100644 docs/API_docs/constructors/payments.validatedRequestedInfo.md delete mode 100644 docs/API_docs/constructors/payments_paymentForm.md delete mode 100644 docs/API_docs/constructors/payments_paymentReceipt.md delete mode 100644 docs/API_docs/constructors/payments_paymentResult.md delete mode 100644 docs/API_docs/constructors/payments_paymentVerificationNeeded.md delete mode 100644 docs/API_docs/constructors/payments_savedInfo.md delete mode 100644 docs/API_docs/constructors/payments_validatedRequestedInfo.md create mode 100644 docs/API_docs/constructors/phone.phoneCall.md delete mode 100644 docs/API_docs/constructors/phone_phoneCall.md create mode 100644 docs/API_docs/constructors/photos.photo.md create mode 100644 docs/API_docs/constructors/photos.photos.md create mode 100644 docs/API_docs/constructors/photos.photosSlice.md delete mode 100644 docs/API_docs/constructors/photos_photo.md delete mode 100644 docs/API_docs/constructors/photos_photos.md delete mode 100644 docs/API_docs/constructors/photos_photosSlice.md create mode 100644 docs/API_docs/constructors/storage.fileGif.md create mode 100644 docs/API_docs/constructors/storage.fileJpeg.md create mode 100644 docs/API_docs/constructors/storage.fileMov.md create mode 100644 docs/API_docs/constructors/storage.fileMp3.md create mode 100644 docs/API_docs/constructors/storage.fileMp4.md create mode 100644 docs/API_docs/constructors/storage.filePartial.md create mode 100644 docs/API_docs/constructors/storage.filePdf.md create mode 100644 docs/API_docs/constructors/storage.filePng.md create mode 100644 docs/API_docs/constructors/storage.fileUnknown.md create mode 100644 docs/API_docs/constructors/storage.fileWebp.md delete mode 100644 docs/API_docs/constructors/storage_fileGif.md delete mode 100644 docs/API_docs/constructors/storage_fileJpeg.md delete mode 100644 docs/API_docs/constructors/storage_fileMov.md delete mode 100644 docs/API_docs/constructors/storage_fileMp3.md delete mode 100644 docs/API_docs/constructors/storage_fileMp4.md delete mode 100644 docs/API_docs/constructors/storage_filePartial.md delete mode 100644 docs/API_docs/constructors/storage_filePdf.md delete mode 100644 docs/API_docs/constructors/storage_filePng.md delete mode 100644 docs/API_docs/constructors/storage_fileUnknown.md delete mode 100644 docs/API_docs/constructors/storage_fileWebp.md create mode 100644 docs/API_docs/constructors/updates.channelDifference.md create mode 100644 docs/API_docs/constructors/updates.channelDifferenceEmpty.md create mode 100644 docs/API_docs/constructors/updates.channelDifferenceTooLong.md create mode 100644 docs/API_docs/constructors/updates.difference.md create mode 100644 docs/API_docs/constructors/updates.differenceEmpty.md create mode 100644 docs/API_docs/constructors/updates.differenceSlice.md create mode 100644 docs/API_docs/constructors/updates.differenceTooLong.md create mode 100644 docs/API_docs/constructors/updates.state.md delete mode 100644 docs/API_docs/constructors/updates_channelDifference.md delete mode 100644 docs/API_docs/constructors/updates_channelDifferenceEmpty.md delete mode 100644 docs/API_docs/constructors/updates_channelDifferenceTooLong.md delete mode 100644 docs/API_docs/constructors/updates_difference.md delete mode 100644 docs/API_docs/constructors/updates_differenceEmpty.md delete mode 100644 docs/API_docs/constructors/updates_differenceSlice.md delete mode 100644 docs/API_docs/constructors/updates_differenceTooLong.md delete mode 100644 docs/API_docs/constructors/updates_state.md create mode 100644 docs/API_docs/constructors/upload.cdnFile.md create mode 100644 docs/API_docs/constructors/upload.cdnFileReuploadNeeded.md create mode 100644 docs/API_docs/constructors/upload.file.md create mode 100644 docs/API_docs/constructors/upload.fileCdnRedirect.md create mode 100644 docs/API_docs/constructors/upload.webFile.md delete mode 100644 docs/API_docs/constructors/upload_cdnFile.md delete mode 100644 docs/API_docs/constructors/upload_cdnFileReuploadNeeded.md delete mode 100644 docs/API_docs/constructors/upload_file.md delete mode 100644 docs/API_docs/constructors/upload_fileCdnRedirect.md delete mode 100644 docs/API_docs/constructors/upload_webFile.md create mode 100644 docs/API_docs/types/account.AuthorizationForm.md create mode 100644 docs/API_docs/types/account.Authorizations.md create mode 100644 docs/API_docs/types/account.AutoDownloadSettings.md create mode 100644 docs/API_docs/types/account.Password.md create mode 100644 docs/API_docs/types/account.PasswordInputSettings.md create mode 100644 docs/API_docs/types/account.PasswordSettings.md create mode 100644 docs/API_docs/types/account.PrivacyRules.md create mode 100644 docs/API_docs/types/account.SentEmailCode.md create mode 100644 docs/API_docs/types/account.Takeout.md create mode 100644 docs/API_docs/types/account.Themes.md create mode 100644 docs/API_docs/types/account.TmpPassword.md create mode 100644 docs/API_docs/types/account.WallPapers.md create mode 100644 docs/API_docs/types/account.WebAuthorizations.md delete mode 100644 docs/API_docs/types/account_AuthorizationForm.md delete mode 100644 docs/API_docs/types/account_Authorizations.md delete mode 100644 docs/API_docs/types/account_AutoDownloadSettings.md delete mode 100644 docs/API_docs/types/account_Password.md delete mode 100644 docs/API_docs/types/account_PasswordInputSettings.md delete mode 100644 docs/API_docs/types/account_PasswordSettings.md delete mode 100644 docs/API_docs/types/account_PrivacyRules.md delete mode 100644 docs/API_docs/types/account_SentEmailCode.md delete mode 100644 docs/API_docs/types/account_Takeout.md delete mode 100644 docs/API_docs/types/account_Themes.md delete mode 100644 docs/API_docs/types/account_TmpPassword.md delete mode 100644 docs/API_docs/types/account_WallPapers.md delete mode 100644 docs/API_docs/types/account_WebAuthorizations.md create mode 100644 docs/API_docs/types/auth.Authorization.md create mode 100644 docs/API_docs/types/auth.CodeType.md create mode 100644 docs/API_docs/types/auth.ExportedAuthorization.md create mode 100644 docs/API_docs/types/auth.PasswordRecovery.md create mode 100644 docs/API_docs/types/auth.SentCode.md create mode 100644 docs/API_docs/types/auth.SentCodeType.md delete mode 100644 docs/API_docs/types/auth_Authorization.md delete mode 100644 docs/API_docs/types/auth_CodeType.md delete mode 100644 docs/API_docs/types/auth_ExportedAuthorization.md delete mode 100644 docs/API_docs/types/auth_PasswordRecovery.md delete mode 100644 docs/API_docs/types/auth_SentCode.md delete mode 100644 docs/API_docs/types/auth_SentCodeType.md create mode 100644 docs/API_docs/types/channels.AdminLogResults.md create mode 100644 docs/API_docs/types/channels.ChannelParticipant.md create mode 100644 docs/API_docs/types/channels.ChannelParticipants.md delete mode 100644 docs/API_docs/types/channels_AdminLogResults.md delete mode 100644 docs/API_docs/types/channels_ChannelParticipant.md delete mode 100644 docs/API_docs/types/channels_ChannelParticipants.md create mode 100644 docs/API_docs/types/contacts.Blocked.md create mode 100644 docs/API_docs/types/contacts.Contacts.md create mode 100644 docs/API_docs/types/contacts.Found.md create mode 100644 docs/API_docs/types/contacts.ImportedContacts.md create mode 100644 docs/API_docs/types/contacts.ResolvedPeer.md create mode 100644 docs/API_docs/types/contacts.TopPeers.md delete mode 100644 docs/API_docs/types/contacts_Blocked.md delete mode 100644 docs/API_docs/types/contacts_Contacts.md delete mode 100644 docs/API_docs/types/contacts_Found.md delete mode 100644 docs/API_docs/types/contacts_ImportedContacts.md delete mode 100644 docs/API_docs/types/contacts_ResolvedPeer.md delete mode 100644 docs/API_docs/types/contacts_TopPeers.md create mode 100644 docs/API_docs/types/help.AppUpdate.md create mode 100644 docs/API_docs/types/help.ConfigSimple.md create mode 100644 docs/API_docs/types/help.DeepLinkInfo.md create mode 100644 docs/API_docs/types/help.InviteText.md create mode 100644 docs/API_docs/types/help.PassportConfig.md create mode 100644 docs/API_docs/types/help.ProxyData.md create mode 100644 docs/API_docs/types/help.RecentMeUrls.md create mode 100644 docs/API_docs/types/help.Support.md create mode 100644 docs/API_docs/types/help.SupportName.md create mode 100644 docs/API_docs/types/help.TermsOfService.md create mode 100644 docs/API_docs/types/help.TermsOfServiceUpdate.md create mode 100644 docs/API_docs/types/help.UserInfo.md delete mode 100644 docs/API_docs/types/help_AppUpdate.md delete mode 100644 docs/API_docs/types/help_ConfigSimple.md delete mode 100644 docs/API_docs/types/help_DeepLinkInfo.md delete mode 100644 docs/API_docs/types/help_InviteText.md delete mode 100644 docs/API_docs/types/help_PassportConfig.md delete mode 100644 docs/API_docs/types/help_ProxyData.md delete mode 100644 docs/API_docs/types/help_RecentMeUrls.md delete mode 100644 docs/API_docs/types/help_Support.md delete mode 100644 docs/API_docs/types/help_SupportName.md delete mode 100644 docs/API_docs/types/help_TermsOfService.md delete mode 100644 docs/API_docs/types/help_TermsOfServiceUpdate.md delete mode 100644 docs/API_docs/types/help_UserInfo.md create mode 100644 docs/API_docs/types/messages.AffectedHistory.md create mode 100644 docs/API_docs/types/messages.AffectedMessages.md create mode 100644 docs/API_docs/types/messages.AllStickers.md create mode 100644 docs/API_docs/types/messages.ArchivedStickers.md create mode 100644 docs/API_docs/types/messages.BotCallbackAnswer.md create mode 100644 docs/API_docs/types/messages.BotResults.md create mode 100644 docs/API_docs/types/messages.ChatFull.md create mode 100644 docs/API_docs/types/messages.Chats.md create mode 100644 docs/API_docs/types/messages.DhConfig.md create mode 100644 docs/API_docs/types/messages.Dialogs.md create mode 100644 docs/API_docs/types/messages.FavedStickers.md create mode 100644 docs/API_docs/types/messages.FeaturedStickers.md create mode 100644 docs/API_docs/types/messages.FoundGifs.md create mode 100644 docs/API_docs/types/messages.FoundStickerSets.md create mode 100644 docs/API_docs/types/messages.HighScores.md create mode 100644 docs/API_docs/types/messages.MessageEditData.md create mode 100644 docs/API_docs/types/messages.Messages.md create mode 100644 docs/API_docs/types/messages.PeerDialogs.md create mode 100644 docs/API_docs/types/messages.RecentStickers.md create mode 100644 docs/API_docs/types/messages.SavedGifs.md create mode 100644 docs/API_docs/types/messages.SearchCounter.md create mode 100644 docs/API_docs/types/messages.SentEncryptedMessage.md create mode 100644 docs/API_docs/types/messages.StickerSet.md create mode 100644 docs/API_docs/types/messages.StickerSetInstallResult.md create mode 100644 docs/API_docs/types/messages.Stickers.md delete mode 100644 docs/API_docs/types/messages_AffectedHistory.md delete mode 100644 docs/API_docs/types/messages_AffectedMessages.md delete mode 100644 docs/API_docs/types/messages_AllStickers.md delete mode 100644 docs/API_docs/types/messages_ArchivedStickers.md delete mode 100644 docs/API_docs/types/messages_BotCallbackAnswer.md delete mode 100644 docs/API_docs/types/messages_BotResults.md delete mode 100644 docs/API_docs/types/messages_ChatFull.md delete mode 100644 docs/API_docs/types/messages_Chats.md delete mode 100644 docs/API_docs/types/messages_DhConfig.md delete mode 100644 docs/API_docs/types/messages_Dialogs.md delete mode 100644 docs/API_docs/types/messages_FavedStickers.md delete mode 100644 docs/API_docs/types/messages_FeaturedStickers.md delete mode 100644 docs/API_docs/types/messages_FoundGifs.md delete mode 100644 docs/API_docs/types/messages_FoundStickerSets.md delete mode 100644 docs/API_docs/types/messages_HighScores.md delete mode 100644 docs/API_docs/types/messages_MessageEditData.md delete mode 100644 docs/API_docs/types/messages_Messages.md delete mode 100644 docs/API_docs/types/messages_PeerDialogs.md delete mode 100644 docs/API_docs/types/messages_RecentStickers.md delete mode 100644 docs/API_docs/types/messages_SavedGifs.md delete mode 100644 docs/API_docs/types/messages_SearchCounter.md delete mode 100644 docs/API_docs/types/messages_SentEncryptedMessage.md delete mode 100644 docs/API_docs/types/messages_StickerSet.md delete mode 100644 docs/API_docs/types/messages_StickerSetInstallResult.md delete mode 100644 docs/API_docs/types/messages_Stickers.md create mode 100644 docs/API_docs/types/payments.PaymentForm.md create mode 100644 docs/API_docs/types/payments.PaymentReceipt.md create mode 100644 docs/API_docs/types/payments.PaymentResult.md create mode 100644 docs/API_docs/types/payments.SavedInfo.md create mode 100644 docs/API_docs/types/payments.ValidatedRequestedInfo.md delete mode 100644 docs/API_docs/types/payments_PaymentForm.md delete mode 100644 docs/API_docs/types/payments_PaymentReceipt.md delete mode 100644 docs/API_docs/types/payments_PaymentResult.md delete mode 100644 docs/API_docs/types/payments_SavedInfo.md delete mode 100644 docs/API_docs/types/payments_ValidatedRequestedInfo.md create mode 100644 docs/API_docs/types/phone.PhoneCall.md delete mode 100644 docs/API_docs/types/phone_PhoneCall.md create mode 100644 docs/API_docs/types/photos.Photo.md create mode 100644 docs/API_docs/types/photos.Photos.md delete mode 100644 docs/API_docs/types/photos_Photo.md delete mode 100644 docs/API_docs/types/photos_Photos.md create mode 100644 docs/API_docs/types/storage.FileType.md delete mode 100644 docs/API_docs/types/storage_FileType.md create mode 100644 docs/API_docs/types/updates.ChannelDifference.md create mode 100644 docs/API_docs/types/updates.Difference.md create mode 100644 docs/API_docs/types/updates.State.md delete mode 100644 docs/API_docs/types/updates_ChannelDifference.md delete mode 100644 docs/API_docs/types/updates_Difference.md delete mode 100644 docs/API_docs/types/updates_State.md create mode 100644 docs/API_docs/types/upload.CdnFile.md create mode 100644 docs/API_docs/types/upload.File.md create mode 100644 docs/API_docs/types/upload.WebFile.md delete mode 100644 docs/API_docs/types/upload_CdnFile.md delete mode 100644 docs/API_docs/types/upload_File.md delete mode 100644 docs/API_docs/types/upload_WebFile.md create mode 100644 old_docs/API_docs_v100/constructors/account.authorizationForm.md create mode 100644 old_docs/API_docs_v100/constructors/account.authorizations.md create mode 100644 old_docs/API_docs_v100/constructors/account.autoDownloadSettings.md create mode 100644 old_docs/API_docs_v100/constructors/account.password.md create mode 100644 old_docs/API_docs_v100/constructors/account.passwordInputSettings.md create mode 100644 old_docs/API_docs_v100/constructors/account.passwordSettings.md create mode 100644 old_docs/API_docs_v100/constructors/account.privacyRules.md create mode 100644 old_docs/API_docs_v100/constructors/account.sentEmailCode.md create mode 100644 old_docs/API_docs_v100/constructors/account.takeout.md create mode 100644 old_docs/API_docs_v100/constructors/account.tmpPassword.md create mode 100644 old_docs/API_docs_v100/constructors/account.wallPapers.md create mode 100644 old_docs/API_docs_v100/constructors/account.wallPapersNotModified.md create mode 100644 old_docs/API_docs_v100/constructors/account.webAuthorizations.md delete mode 100644 old_docs/API_docs_v100/constructors/account_authorizationForm.md delete mode 100644 old_docs/API_docs_v100/constructors/account_authorizations.md delete mode 100644 old_docs/API_docs_v100/constructors/account_autoDownloadSettings.md delete mode 100644 old_docs/API_docs_v100/constructors/account_password.md delete mode 100644 old_docs/API_docs_v100/constructors/account_passwordInputSettings.md delete mode 100644 old_docs/API_docs_v100/constructors/account_passwordSettings.md delete mode 100644 old_docs/API_docs_v100/constructors/account_privacyRules.md delete mode 100644 old_docs/API_docs_v100/constructors/account_sentEmailCode.md delete mode 100644 old_docs/API_docs_v100/constructors/account_takeout.md delete mode 100644 old_docs/API_docs_v100/constructors/account_tmpPassword.md delete mode 100644 old_docs/API_docs_v100/constructors/account_wallPapers.md delete mode 100644 old_docs/API_docs_v100/constructors/account_wallPapersNotModified.md delete mode 100644 old_docs/API_docs_v100/constructors/account_webAuthorizations.md create mode 100644 old_docs/API_docs_v100/constructors/auth.authorization.md create mode 100644 old_docs/API_docs_v100/constructors/auth.checkedPhone.md create mode 100644 old_docs/API_docs_v100/constructors/auth.codeTypeCall.md create mode 100644 old_docs/API_docs_v100/constructors/auth.codeTypeFlashCall.md create mode 100644 old_docs/API_docs_v100/constructors/auth.codeTypeSms.md create mode 100644 old_docs/API_docs_v100/constructors/auth.exportedAuthorization.md create mode 100644 old_docs/API_docs_v100/constructors/auth.passwordRecovery.md create mode 100644 old_docs/API_docs_v100/constructors/auth.sentCode.md create mode 100644 old_docs/API_docs_v100/constructors/auth.sentCodeTypeApp.md create mode 100644 old_docs/API_docs_v100/constructors/auth.sentCodeTypeCall.md create mode 100644 old_docs/API_docs_v100/constructors/auth.sentCodeTypeFlashCall.md create mode 100644 old_docs/API_docs_v100/constructors/auth.sentCodeTypeSms.md delete mode 100644 old_docs/API_docs_v100/constructors/auth_authorization.md delete mode 100644 old_docs/API_docs_v100/constructors/auth_checkedPhone.md delete mode 100644 old_docs/API_docs_v100/constructors/auth_codeTypeCall.md delete mode 100644 old_docs/API_docs_v100/constructors/auth_codeTypeFlashCall.md delete mode 100644 old_docs/API_docs_v100/constructors/auth_codeTypeSms.md delete mode 100644 old_docs/API_docs_v100/constructors/auth_exportedAuthorization.md delete mode 100644 old_docs/API_docs_v100/constructors/auth_passwordRecovery.md delete mode 100644 old_docs/API_docs_v100/constructors/auth_sentCode.md delete mode 100644 old_docs/API_docs_v100/constructors/auth_sentCodeTypeApp.md delete mode 100644 old_docs/API_docs_v100/constructors/auth_sentCodeTypeCall.md delete mode 100644 old_docs/API_docs_v100/constructors/auth_sentCodeTypeFlashCall.md delete mode 100644 old_docs/API_docs_v100/constructors/auth_sentCodeTypeSms.md create mode 100644 old_docs/API_docs_v100/constructors/channels.adminLogResults.md create mode 100644 old_docs/API_docs_v100/constructors/channels.channelParticipant.md create mode 100644 old_docs/API_docs_v100/constructors/channels.channelParticipants.md create mode 100644 old_docs/API_docs_v100/constructors/channels.channelParticipantsNotModified.md delete mode 100644 old_docs/API_docs_v100/constructors/channels_adminLogResults.md delete mode 100644 old_docs/API_docs_v100/constructors/channels_channelParticipant.md delete mode 100644 old_docs/API_docs_v100/constructors/channels_channelParticipants.md delete mode 100644 old_docs/API_docs_v100/constructors/channels_channelParticipantsNotModified.md create mode 100644 old_docs/API_docs_v100/constructors/contacts.blocked.md create mode 100644 old_docs/API_docs_v100/constructors/contacts.blockedSlice.md create mode 100644 old_docs/API_docs_v100/constructors/contacts.contacts.md create mode 100644 old_docs/API_docs_v100/constructors/contacts.contactsNotModified.md create mode 100644 old_docs/API_docs_v100/constructors/contacts.found.md create mode 100644 old_docs/API_docs_v100/constructors/contacts.importedContacts.md create mode 100644 old_docs/API_docs_v100/constructors/contacts.link.md create mode 100644 old_docs/API_docs_v100/constructors/contacts.resolvedPeer.md create mode 100644 old_docs/API_docs_v100/constructors/contacts.topPeers.md create mode 100644 old_docs/API_docs_v100/constructors/contacts.topPeersDisabled.md create mode 100644 old_docs/API_docs_v100/constructors/contacts.topPeersNotModified.md delete mode 100644 old_docs/API_docs_v100/constructors/contacts_blocked.md delete mode 100644 old_docs/API_docs_v100/constructors/contacts_blockedSlice.md delete mode 100644 old_docs/API_docs_v100/constructors/contacts_contacts.md delete mode 100644 old_docs/API_docs_v100/constructors/contacts_contactsNotModified.md delete mode 100644 old_docs/API_docs_v100/constructors/contacts_found.md delete mode 100644 old_docs/API_docs_v100/constructors/contacts_importedContacts.md delete mode 100644 old_docs/API_docs_v100/constructors/contacts_link.md delete mode 100644 old_docs/API_docs_v100/constructors/contacts_resolvedPeer.md delete mode 100644 old_docs/API_docs_v100/constructors/contacts_topPeers.md delete mode 100644 old_docs/API_docs_v100/constructors/contacts_topPeersDisabled.md delete mode 100644 old_docs/API_docs_v100/constructors/contacts_topPeersNotModified.md create mode 100644 old_docs/API_docs_v100/constructors/help.appUpdate.md create mode 100644 old_docs/API_docs_v100/constructors/help.configSimple.md create mode 100644 old_docs/API_docs_v100/constructors/help.deepLinkInfo.md create mode 100644 old_docs/API_docs_v100/constructors/help.deepLinkInfoEmpty.md create mode 100644 old_docs/API_docs_v100/constructors/help.inviteText.md create mode 100644 old_docs/API_docs_v100/constructors/help.noAppUpdate.md create mode 100644 old_docs/API_docs_v100/constructors/help.passportConfig.md create mode 100644 old_docs/API_docs_v100/constructors/help.passportConfigNotModified.md create mode 100644 old_docs/API_docs_v100/constructors/help.proxyDataEmpty.md create mode 100644 old_docs/API_docs_v100/constructors/help.proxyDataPromo.md create mode 100644 old_docs/API_docs_v100/constructors/help.recentMeUrls.md create mode 100644 old_docs/API_docs_v100/constructors/help.support.md create mode 100644 old_docs/API_docs_v100/constructors/help.supportName.md create mode 100644 old_docs/API_docs_v100/constructors/help.termsOfService.md create mode 100644 old_docs/API_docs_v100/constructors/help.termsOfServiceUpdate.md create mode 100644 old_docs/API_docs_v100/constructors/help.termsOfServiceUpdateEmpty.md create mode 100644 old_docs/API_docs_v100/constructors/help.userInfo.md create mode 100644 old_docs/API_docs_v100/constructors/help.userInfoEmpty.md delete mode 100644 old_docs/API_docs_v100/constructors/help_appUpdate.md delete mode 100644 old_docs/API_docs_v100/constructors/help_configSimple.md delete mode 100644 old_docs/API_docs_v100/constructors/help_deepLinkInfo.md delete mode 100644 old_docs/API_docs_v100/constructors/help_deepLinkInfoEmpty.md delete mode 100644 old_docs/API_docs_v100/constructors/help_inviteText.md delete mode 100644 old_docs/API_docs_v100/constructors/help_noAppUpdate.md delete mode 100644 old_docs/API_docs_v100/constructors/help_passportConfig.md delete mode 100644 old_docs/API_docs_v100/constructors/help_passportConfigNotModified.md delete mode 100644 old_docs/API_docs_v100/constructors/help_proxyDataEmpty.md delete mode 100644 old_docs/API_docs_v100/constructors/help_proxyDataPromo.md delete mode 100644 old_docs/API_docs_v100/constructors/help_recentMeUrls.md delete mode 100644 old_docs/API_docs_v100/constructors/help_support.md delete mode 100644 old_docs/API_docs_v100/constructors/help_supportName.md delete mode 100644 old_docs/API_docs_v100/constructors/help_termsOfService.md delete mode 100644 old_docs/API_docs_v100/constructors/help_termsOfServiceUpdate.md delete mode 100644 old_docs/API_docs_v100/constructors/help_termsOfServiceUpdateEmpty.md delete mode 100644 old_docs/API_docs_v100/constructors/help_userInfo.md delete mode 100644 old_docs/API_docs_v100/constructors/help_userInfoEmpty.md create mode 100644 old_docs/API_docs_v100/constructors/messages.affectedHistory.md create mode 100644 old_docs/API_docs_v100/constructors/messages.affectedMessages.md create mode 100644 old_docs/API_docs_v100/constructors/messages.allStickers.md create mode 100644 old_docs/API_docs_v100/constructors/messages.allStickersNotModified.md create mode 100644 old_docs/API_docs_v100/constructors/messages.archivedStickers.md create mode 100644 old_docs/API_docs_v100/constructors/messages.botCallbackAnswer.md create mode 100644 old_docs/API_docs_v100/constructors/messages.botResults.md create mode 100644 old_docs/API_docs_v100/constructors/messages.channelMessages.md create mode 100644 old_docs/API_docs_v100/constructors/messages.chatFull.md create mode 100644 old_docs/API_docs_v100/constructors/messages.chats.md create mode 100644 old_docs/API_docs_v100/constructors/messages.chatsSlice.md create mode 100644 old_docs/API_docs_v100/constructors/messages.dhConfig.md create mode 100644 old_docs/API_docs_v100/constructors/messages.dhConfigNotModified.md create mode 100644 old_docs/API_docs_v100/constructors/messages.dialogs.md create mode 100644 old_docs/API_docs_v100/constructors/messages.dialogsNotModified.md create mode 100644 old_docs/API_docs_v100/constructors/messages.dialogsSlice.md create mode 100644 old_docs/API_docs_v100/constructors/messages.favedStickers.md create mode 100644 old_docs/API_docs_v100/constructors/messages.favedStickersNotModified.md create mode 100644 old_docs/API_docs_v100/constructors/messages.featuredStickers.md create mode 100644 old_docs/API_docs_v100/constructors/messages.featuredStickersNotModified.md create mode 100644 old_docs/API_docs_v100/constructors/messages.foundGifs.md create mode 100644 old_docs/API_docs_v100/constructors/messages.foundStickerSets.md create mode 100644 old_docs/API_docs_v100/constructors/messages.foundStickerSetsNotModified.md create mode 100644 old_docs/API_docs_v100/constructors/messages.highScores.md create mode 100644 old_docs/API_docs_v100/constructors/messages.messageEditData.md create mode 100644 old_docs/API_docs_v100/constructors/messages.messages.md create mode 100644 old_docs/API_docs_v100/constructors/messages.messagesNotModified.md create mode 100644 old_docs/API_docs_v100/constructors/messages.messagesSlice.md create mode 100644 old_docs/API_docs_v100/constructors/messages.peerDialogs.md create mode 100644 old_docs/API_docs_v100/constructors/messages.recentStickers.md create mode 100644 old_docs/API_docs_v100/constructors/messages.recentStickersNotModified.md create mode 100644 old_docs/API_docs_v100/constructors/messages.savedGifs.md create mode 100644 old_docs/API_docs_v100/constructors/messages.savedGifsNotModified.md create mode 100644 old_docs/API_docs_v100/constructors/messages.searchCounter.md create mode 100644 old_docs/API_docs_v100/constructors/messages.sentEncryptedFile.md create mode 100644 old_docs/API_docs_v100/constructors/messages.sentEncryptedMessage.md create mode 100644 old_docs/API_docs_v100/constructors/messages.stickerSet.md create mode 100644 old_docs/API_docs_v100/constructors/messages.stickerSetInstallResultArchive.md create mode 100644 old_docs/API_docs_v100/constructors/messages.stickerSetInstallResultSuccess.md create mode 100644 old_docs/API_docs_v100/constructors/messages.stickers.md create mode 100644 old_docs/API_docs_v100/constructors/messages.stickersNotModified.md delete mode 100644 old_docs/API_docs_v100/constructors/messages_affectedHistory.md delete mode 100644 old_docs/API_docs_v100/constructors/messages_affectedMessages.md delete mode 100644 old_docs/API_docs_v100/constructors/messages_allStickers.md delete mode 100644 old_docs/API_docs_v100/constructors/messages_allStickersNotModified.md delete mode 100644 old_docs/API_docs_v100/constructors/messages_archivedStickers.md delete mode 100644 old_docs/API_docs_v100/constructors/messages_botCallbackAnswer.md delete mode 100644 old_docs/API_docs_v100/constructors/messages_botResults.md delete mode 100644 old_docs/API_docs_v100/constructors/messages_channelMessages.md delete mode 100644 old_docs/API_docs_v100/constructors/messages_chatFull.md delete mode 100644 old_docs/API_docs_v100/constructors/messages_chats.md delete mode 100644 old_docs/API_docs_v100/constructors/messages_chatsSlice.md delete mode 100644 old_docs/API_docs_v100/constructors/messages_dhConfig.md delete mode 100644 old_docs/API_docs_v100/constructors/messages_dhConfigNotModified.md delete mode 100644 old_docs/API_docs_v100/constructors/messages_dialogs.md delete mode 100644 old_docs/API_docs_v100/constructors/messages_dialogsNotModified.md delete mode 100644 old_docs/API_docs_v100/constructors/messages_dialogsSlice.md delete mode 100644 old_docs/API_docs_v100/constructors/messages_favedStickers.md delete mode 100644 old_docs/API_docs_v100/constructors/messages_favedStickersNotModified.md delete mode 100644 old_docs/API_docs_v100/constructors/messages_featuredStickers.md delete mode 100644 old_docs/API_docs_v100/constructors/messages_featuredStickersNotModified.md delete mode 100644 old_docs/API_docs_v100/constructors/messages_foundGifs.md delete mode 100644 old_docs/API_docs_v100/constructors/messages_foundStickerSets.md delete mode 100644 old_docs/API_docs_v100/constructors/messages_foundStickerSetsNotModified.md delete mode 100644 old_docs/API_docs_v100/constructors/messages_highScores.md delete mode 100644 old_docs/API_docs_v100/constructors/messages_messageEditData.md delete mode 100644 old_docs/API_docs_v100/constructors/messages_messages.md delete mode 100644 old_docs/API_docs_v100/constructors/messages_messagesNotModified.md delete mode 100644 old_docs/API_docs_v100/constructors/messages_messagesSlice.md delete mode 100644 old_docs/API_docs_v100/constructors/messages_peerDialogs.md delete mode 100644 old_docs/API_docs_v100/constructors/messages_recentStickers.md delete mode 100644 old_docs/API_docs_v100/constructors/messages_recentStickersNotModified.md delete mode 100644 old_docs/API_docs_v100/constructors/messages_savedGifs.md delete mode 100644 old_docs/API_docs_v100/constructors/messages_savedGifsNotModified.md delete mode 100644 old_docs/API_docs_v100/constructors/messages_searchCounter.md delete mode 100644 old_docs/API_docs_v100/constructors/messages_sentEncryptedFile.md delete mode 100644 old_docs/API_docs_v100/constructors/messages_sentEncryptedMessage.md delete mode 100644 old_docs/API_docs_v100/constructors/messages_stickerSet.md delete mode 100644 old_docs/API_docs_v100/constructors/messages_stickerSetInstallResultArchive.md delete mode 100644 old_docs/API_docs_v100/constructors/messages_stickerSetInstallResultSuccess.md delete mode 100644 old_docs/API_docs_v100/constructors/messages_stickers.md delete mode 100644 old_docs/API_docs_v100/constructors/messages_stickersNotModified.md create mode 100644 old_docs/API_docs_v100/constructors/payments.paymentForm.md create mode 100644 old_docs/API_docs_v100/constructors/payments.paymentReceipt.md create mode 100644 old_docs/API_docs_v100/constructors/payments.paymentResult.md create mode 100644 old_docs/API_docs_v100/constructors/payments.paymentVerficationNeeded.md create mode 100644 old_docs/API_docs_v100/constructors/payments.savedInfo.md create mode 100644 old_docs/API_docs_v100/constructors/payments.validatedRequestedInfo.md delete mode 100644 old_docs/API_docs_v100/constructors/payments_paymentForm.md delete mode 100644 old_docs/API_docs_v100/constructors/payments_paymentReceipt.md delete mode 100644 old_docs/API_docs_v100/constructors/payments_paymentResult.md delete mode 100644 old_docs/API_docs_v100/constructors/payments_paymentVerficationNeeded.md delete mode 100644 old_docs/API_docs_v100/constructors/payments_savedInfo.md delete mode 100644 old_docs/API_docs_v100/constructors/payments_validatedRequestedInfo.md create mode 100644 old_docs/API_docs_v100/constructors/phone.phoneCall.md delete mode 100644 old_docs/API_docs_v100/constructors/phone_phoneCall.md create mode 100644 old_docs/API_docs_v100/constructors/photos.photo.md create mode 100644 old_docs/API_docs_v100/constructors/photos.photos.md create mode 100644 old_docs/API_docs_v100/constructors/photos.photosSlice.md delete mode 100644 old_docs/API_docs_v100/constructors/photos_photo.md delete mode 100644 old_docs/API_docs_v100/constructors/photos_photos.md delete mode 100644 old_docs/API_docs_v100/constructors/photos_photosSlice.md create mode 100644 old_docs/API_docs_v100/constructors/storage.fileGif.md create mode 100644 old_docs/API_docs_v100/constructors/storage.fileJpeg.md create mode 100644 old_docs/API_docs_v100/constructors/storage.fileMov.md create mode 100644 old_docs/API_docs_v100/constructors/storage.fileMp3.md create mode 100644 old_docs/API_docs_v100/constructors/storage.fileMp4.md create mode 100644 old_docs/API_docs_v100/constructors/storage.filePartial.md create mode 100644 old_docs/API_docs_v100/constructors/storage.filePdf.md create mode 100644 old_docs/API_docs_v100/constructors/storage.filePng.md create mode 100644 old_docs/API_docs_v100/constructors/storage.fileUnknown.md create mode 100644 old_docs/API_docs_v100/constructors/storage.fileWebp.md delete mode 100644 old_docs/API_docs_v100/constructors/storage_fileGif.md delete mode 100644 old_docs/API_docs_v100/constructors/storage_fileJpeg.md delete mode 100644 old_docs/API_docs_v100/constructors/storage_fileMov.md delete mode 100644 old_docs/API_docs_v100/constructors/storage_fileMp3.md delete mode 100644 old_docs/API_docs_v100/constructors/storage_fileMp4.md delete mode 100644 old_docs/API_docs_v100/constructors/storage_filePartial.md delete mode 100644 old_docs/API_docs_v100/constructors/storage_filePdf.md delete mode 100644 old_docs/API_docs_v100/constructors/storage_filePng.md delete mode 100644 old_docs/API_docs_v100/constructors/storage_fileUnknown.md delete mode 100644 old_docs/API_docs_v100/constructors/storage_fileWebp.md create mode 100644 old_docs/API_docs_v100/constructors/updates.channelDifference.md create mode 100644 old_docs/API_docs_v100/constructors/updates.channelDifferenceEmpty.md create mode 100644 old_docs/API_docs_v100/constructors/updates.channelDifferenceTooLong.md create mode 100644 old_docs/API_docs_v100/constructors/updates.difference.md create mode 100644 old_docs/API_docs_v100/constructors/updates.differenceEmpty.md create mode 100644 old_docs/API_docs_v100/constructors/updates.differenceSlice.md create mode 100644 old_docs/API_docs_v100/constructors/updates.differenceTooLong.md create mode 100644 old_docs/API_docs_v100/constructors/updates.state.md delete mode 100644 old_docs/API_docs_v100/constructors/updates_channelDifference.md delete mode 100644 old_docs/API_docs_v100/constructors/updates_channelDifferenceEmpty.md delete mode 100644 old_docs/API_docs_v100/constructors/updates_channelDifferenceTooLong.md delete mode 100644 old_docs/API_docs_v100/constructors/updates_difference.md delete mode 100644 old_docs/API_docs_v100/constructors/updates_differenceEmpty.md delete mode 100644 old_docs/API_docs_v100/constructors/updates_differenceSlice.md delete mode 100644 old_docs/API_docs_v100/constructors/updates_differenceTooLong.md delete mode 100644 old_docs/API_docs_v100/constructors/updates_state.md create mode 100644 old_docs/API_docs_v100/constructors/upload.cdnFile.md create mode 100644 old_docs/API_docs_v100/constructors/upload.cdnFileReuploadNeeded.md create mode 100644 old_docs/API_docs_v100/constructors/upload.file.md create mode 100644 old_docs/API_docs_v100/constructors/upload.fileCdnRedirect.md create mode 100644 old_docs/API_docs_v100/constructors/upload.webFile.md delete mode 100644 old_docs/API_docs_v100/constructors/upload_cdnFile.md delete mode 100644 old_docs/API_docs_v100/constructors/upload_cdnFileReuploadNeeded.md delete mode 100644 old_docs/API_docs_v100/constructors/upload_file.md delete mode 100644 old_docs/API_docs_v100/constructors/upload_fileCdnRedirect.md delete mode 100644 old_docs/API_docs_v100/constructors/upload_webFile.md create mode 100644 old_docs/API_docs_v100/types/account.AuthorizationForm.md create mode 100644 old_docs/API_docs_v100/types/account.Authorizations.md create mode 100644 old_docs/API_docs_v100/types/account.AutoDownloadSettings.md create mode 100644 old_docs/API_docs_v100/types/account.Password.md create mode 100644 old_docs/API_docs_v100/types/account.PasswordInputSettings.md create mode 100644 old_docs/API_docs_v100/types/account.PasswordSettings.md create mode 100644 old_docs/API_docs_v100/types/account.PrivacyRules.md create mode 100644 old_docs/API_docs_v100/types/account.SentEmailCode.md create mode 100644 old_docs/API_docs_v100/types/account.Takeout.md create mode 100644 old_docs/API_docs_v100/types/account.TmpPassword.md create mode 100644 old_docs/API_docs_v100/types/account.WallPapers.md create mode 100644 old_docs/API_docs_v100/types/account.WebAuthorizations.md delete mode 100644 old_docs/API_docs_v100/types/account_AuthorizationForm.md delete mode 100644 old_docs/API_docs_v100/types/account_Authorizations.md delete mode 100644 old_docs/API_docs_v100/types/account_AutoDownloadSettings.md delete mode 100644 old_docs/API_docs_v100/types/account_Password.md delete mode 100644 old_docs/API_docs_v100/types/account_PasswordInputSettings.md delete mode 100644 old_docs/API_docs_v100/types/account_PasswordSettings.md delete mode 100644 old_docs/API_docs_v100/types/account_PrivacyRules.md delete mode 100644 old_docs/API_docs_v100/types/account_SentEmailCode.md delete mode 100644 old_docs/API_docs_v100/types/account_Takeout.md delete mode 100644 old_docs/API_docs_v100/types/account_TmpPassword.md delete mode 100644 old_docs/API_docs_v100/types/account_WallPapers.md delete mode 100644 old_docs/API_docs_v100/types/account_WebAuthorizations.md create mode 100644 old_docs/API_docs_v100/types/auth.Authorization.md create mode 100644 old_docs/API_docs_v100/types/auth.CheckedPhone.md create mode 100644 old_docs/API_docs_v100/types/auth.CodeType.md create mode 100644 old_docs/API_docs_v100/types/auth.ExportedAuthorization.md create mode 100644 old_docs/API_docs_v100/types/auth.PasswordRecovery.md create mode 100644 old_docs/API_docs_v100/types/auth.SentCode.md create mode 100644 old_docs/API_docs_v100/types/auth.SentCodeType.md delete mode 100644 old_docs/API_docs_v100/types/auth_Authorization.md delete mode 100644 old_docs/API_docs_v100/types/auth_CheckedPhone.md delete mode 100644 old_docs/API_docs_v100/types/auth_CodeType.md delete mode 100644 old_docs/API_docs_v100/types/auth_ExportedAuthorization.md delete mode 100644 old_docs/API_docs_v100/types/auth_PasswordRecovery.md delete mode 100644 old_docs/API_docs_v100/types/auth_SentCode.md delete mode 100644 old_docs/API_docs_v100/types/auth_SentCodeType.md create mode 100644 old_docs/API_docs_v100/types/channels.AdminLogResults.md create mode 100644 old_docs/API_docs_v100/types/channels.ChannelParticipant.md create mode 100644 old_docs/API_docs_v100/types/channels.ChannelParticipants.md delete mode 100644 old_docs/API_docs_v100/types/channels_AdminLogResults.md delete mode 100644 old_docs/API_docs_v100/types/channels_ChannelParticipant.md delete mode 100644 old_docs/API_docs_v100/types/channels_ChannelParticipants.md create mode 100644 old_docs/API_docs_v100/types/contacts.Blocked.md create mode 100644 old_docs/API_docs_v100/types/contacts.Contacts.md create mode 100644 old_docs/API_docs_v100/types/contacts.Found.md create mode 100644 old_docs/API_docs_v100/types/contacts.ImportedContacts.md create mode 100644 old_docs/API_docs_v100/types/contacts.Link.md create mode 100644 old_docs/API_docs_v100/types/contacts.ResolvedPeer.md create mode 100644 old_docs/API_docs_v100/types/contacts.TopPeers.md delete mode 100644 old_docs/API_docs_v100/types/contacts_Blocked.md delete mode 100644 old_docs/API_docs_v100/types/contacts_Contacts.md delete mode 100644 old_docs/API_docs_v100/types/contacts_Found.md delete mode 100644 old_docs/API_docs_v100/types/contacts_ImportedContacts.md delete mode 100644 old_docs/API_docs_v100/types/contacts_Link.md delete mode 100644 old_docs/API_docs_v100/types/contacts_ResolvedPeer.md delete mode 100644 old_docs/API_docs_v100/types/contacts_TopPeers.md create mode 100644 old_docs/API_docs_v100/types/help.AppUpdate.md create mode 100644 old_docs/API_docs_v100/types/help.ConfigSimple.md create mode 100644 old_docs/API_docs_v100/types/help.DeepLinkInfo.md create mode 100644 old_docs/API_docs_v100/types/help.InviteText.md create mode 100644 old_docs/API_docs_v100/types/help.PassportConfig.md create mode 100644 old_docs/API_docs_v100/types/help.ProxyData.md create mode 100644 old_docs/API_docs_v100/types/help.RecentMeUrls.md create mode 100644 old_docs/API_docs_v100/types/help.Support.md create mode 100644 old_docs/API_docs_v100/types/help.SupportName.md create mode 100644 old_docs/API_docs_v100/types/help.TermsOfService.md create mode 100644 old_docs/API_docs_v100/types/help.TermsOfServiceUpdate.md create mode 100644 old_docs/API_docs_v100/types/help.UserInfo.md delete mode 100644 old_docs/API_docs_v100/types/help_AppUpdate.md delete mode 100644 old_docs/API_docs_v100/types/help_ConfigSimple.md delete mode 100644 old_docs/API_docs_v100/types/help_DeepLinkInfo.md delete mode 100644 old_docs/API_docs_v100/types/help_InviteText.md delete mode 100644 old_docs/API_docs_v100/types/help_PassportConfig.md delete mode 100644 old_docs/API_docs_v100/types/help_ProxyData.md delete mode 100644 old_docs/API_docs_v100/types/help_RecentMeUrls.md delete mode 100644 old_docs/API_docs_v100/types/help_Support.md delete mode 100644 old_docs/API_docs_v100/types/help_SupportName.md delete mode 100644 old_docs/API_docs_v100/types/help_TermsOfService.md delete mode 100644 old_docs/API_docs_v100/types/help_TermsOfServiceUpdate.md delete mode 100644 old_docs/API_docs_v100/types/help_UserInfo.md create mode 100644 old_docs/API_docs_v100/types/messages.AffectedHistory.md create mode 100644 old_docs/API_docs_v100/types/messages.AffectedMessages.md create mode 100644 old_docs/API_docs_v100/types/messages.AllStickers.md create mode 100644 old_docs/API_docs_v100/types/messages.ArchivedStickers.md create mode 100644 old_docs/API_docs_v100/types/messages.BotCallbackAnswer.md create mode 100644 old_docs/API_docs_v100/types/messages.BotResults.md create mode 100644 old_docs/API_docs_v100/types/messages.ChatFull.md create mode 100644 old_docs/API_docs_v100/types/messages.Chats.md create mode 100644 old_docs/API_docs_v100/types/messages.DhConfig.md create mode 100644 old_docs/API_docs_v100/types/messages.Dialogs.md create mode 100644 old_docs/API_docs_v100/types/messages.FavedStickers.md create mode 100644 old_docs/API_docs_v100/types/messages.FeaturedStickers.md create mode 100644 old_docs/API_docs_v100/types/messages.FoundGifs.md create mode 100644 old_docs/API_docs_v100/types/messages.FoundStickerSets.md create mode 100644 old_docs/API_docs_v100/types/messages.HighScores.md create mode 100644 old_docs/API_docs_v100/types/messages.MessageEditData.md create mode 100644 old_docs/API_docs_v100/types/messages.Messages.md create mode 100644 old_docs/API_docs_v100/types/messages.PeerDialogs.md create mode 100644 old_docs/API_docs_v100/types/messages.RecentStickers.md create mode 100644 old_docs/API_docs_v100/types/messages.SavedGifs.md create mode 100644 old_docs/API_docs_v100/types/messages.SearchCounter.md create mode 100644 old_docs/API_docs_v100/types/messages.SentEncryptedMessage.md create mode 100644 old_docs/API_docs_v100/types/messages.StickerSet.md create mode 100644 old_docs/API_docs_v100/types/messages.StickerSetInstallResult.md create mode 100644 old_docs/API_docs_v100/types/messages.Stickers.md delete mode 100644 old_docs/API_docs_v100/types/messages_AffectedHistory.md delete mode 100644 old_docs/API_docs_v100/types/messages_AffectedMessages.md delete mode 100644 old_docs/API_docs_v100/types/messages_AllStickers.md delete mode 100644 old_docs/API_docs_v100/types/messages_ArchivedStickers.md delete mode 100644 old_docs/API_docs_v100/types/messages_BotCallbackAnswer.md delete mode 100644 old_docs/API_docs_v100/types/messages_BotResults.md delete mode 100644 old_docs/API_docs_v100/types/messages_ChatFull.md delete mode 100644 old_docs/API_docs_v100/types/messages_Chats.md delete mode 100644 old_docs/API_docs_v100/types/messages_DhConfig.md delete mode 100644 old_docs/API_docs_v100/types/messages_Dialogs.md delete mode 100644 old_docs/API_docs_v100/types/messages_FavedStickers.md delete mode 100644 old_docs/API_docs_v100/types/messages_FeaturedStickers.md delete mode 100644 old_docs/API_docs_v100/types/messages_FoundGifs.md delete mode 100644 old_docs/API_docs_v100/types/messages_FoundStickerSets.md delete mode 100644 old_docs/API_docs_v100/types/messages_HighScores.md delete mode 100644 old_docs/API_docs_v100/types/messages_MessageEditData.md delete mode 100644 old_docs/API_docs_v100/types/messages_Messages.md delete mode 100644 old_docs/API_docs_v100/types/messages_PeerDialogs.md delete mode 100644 old_docs/API_docs_v100/types/messages_RecentStickers.md delete mode 100644 old_docs/API_docs_v100/types/messages_SavedGifs.md delete mode 100644 old_docs/API_docs_v100/types/messages_SearchCounter.md delete mode 100644 old_docs/API_docs_v100/types/messages_SentEncryptedMessage.md delete mode 100644 old_docs/API_docs_v100/types/messages_StickerSet.md delete mode 100644 old_docs/API_docs_v100/types/messages_StickerSetInstallResult.md delete mode 100644 old_docs/API_docs_v100/types/messages_Stickers.md create mode 100644 old_docs/API_docs_v100/types/payments.PaymentForm.md create mode 100644 old_docs/API_docs_v100/types/payments.PaymentReceipt.md create mode 100644 old_docs/API_docs_v100/types/payments.PaymentResult.md create mode 100644 old_docs/API_docs_v100/types/payments.SavedInfo.md create mode 100644 old_docs/API_docs_v100/types/payments.ValidatedRequestedInfo.md delete mode 100644 old_docs/API_docs_v100/types/payments_PaymentForm.md delete mode 100644 old_docs/API_docs_v100/types/payments_PaymentReceipt.md delete mode 100644 old_docs/API_docs_v100/types/payments_PaymentResult.md delete mode 100644 old_docs/API_docs_v100/types/payments_SavedInfo.md delete mode 100644 old_docs/API_docs_v100/types/payments_ValidatedRequestedInfo.md create mode 100644 old_docs/API_docs_v100/types/phone.PhoneCall.md delete mode 100644 old_docs/API_docs_v100/types/phone_PhoneCall.md create mode 100644 old_docs/API_docs_v100/types/photos.Photo.md create mode 100644 old_docs/API_docs_v100/types/photos.Photos.md delete mode 100644 old_docs/API_docs_v100/types/photos_Photo.md delete mode 100644 old_docs/API_docs_v100/types/photos_Photos.md create mode 100644 old_docs/API_docs_v100/types/storage.FileType.md delete mode 100644 old_docs/API_docs_v100/types/storage_FileType.md create mode 100644 old_docs/API_docs_v100/types/updates.ChannelDifference.md create mode 100644 old_docs/API_docs_v100/types/updates.Difference.md create mode 100644 old_docs/API_docs_v100/types/updates.State.md delete mode 100644 old_docs/API_docs_v100/types/updates_ChannelDifference.md delete mode 100644 old_docs/API_docs_v100/types/updates_Difference.md delete mode 100644 old_docs/API_docs_v100/types/updates_State.md create mode 100644 old_docs/API_docs_v100/types/upload.CdnFile.md create mode 100644 old_docs/API_docs_v100/types/upload.File.md create mode 100644 old_docs/API_docs_v100/types/upload.WebFile.md delete mode 100644 old_docs/API_docs_v100/types/upload_CdnFile.md delete mode 100644 old_docs/API_docs_v100/types/upload_File.md delete mode 100644 old_docs/API_docs_v100/types/upload_WebFile.md create mode 100644 old_docs/API_docs_v102/constructors/account.authorizationForm.md create mode 100644 old_docs/API_docs_v102/constructors/account.authorizations.md create mode 100644 old_docs/API_docs_v102/constructors/account.autoDownloadSettings.md create mode 100644 old_docs/API_docs_v102/constructors/account.password.md create mode 100644 old_docs/API_docs_v102/constructors/account.passwordInputSettings.md create mode 100644 old_docs/API_docs_v102/constructors/account.passwordSettings.md create mode 100644 old_docs/API_docs_v102/constructors/account.privacyRules.md create mode 100644 old_docs/API_docs_v102/constructors/account.sentEmailCode.md create mode 100644 old_docs/API_docs_v102/constructors/account.takeout.md create mode 100644 old_docs/API_docs_v102/constructors/account.tmpPassword.md create mode 100644 old_docs/API_docs_v102/constructors/account.wallPapers.md create mode 100644 old_docs/API_docs_v102/constructors/account.wallPapersNotModified.md create mode 100644 old_docs/API_docs_v102/constructors/account.webAuthorizations.md delete mode 100644 old_docs/API_docs_v102/constructors/account_authorizationForm.md delete mode 100644 old_docs/API_docs_v102/constructors/account_authorizations.md delete mode 100644 old_docs/API_docs_v102/constructors/account_autoDownloadSettings.md delete mode 100644 old_docs/API_docs_v102/constructors/account_password.md delete mode 100644 old_docs/API_docs_v102/constructors/account_passwordInputSettings.md delete mode 100644 old_docs/API_docs_v102/constructors/account_passwordSettings.md delete mode 100644 old_docs/API_docs_v102/constructors/account_privacyRules.md delete mode 100644 old_docs/API_docs_v102/constructors/account_sentEmailCode.md delete mode 100644 old_docs/API_docs_v102/constructors/account_takeout.md delete mode 100644 old_docs/API_docs_v102/constructors/account_tmpPassword.md delete mode 100644 old_docs/API_docs_v102/constructors/account_wallPapers.md delete mode 100644 old_docs/API_docs_v102/constructors/account_wallPapersNotModified.md delete mode 100644 old_docs/API_docs_v102/constructors/account_webAuthorizations.md create mode 100644 old_docs/API_docs_v102/constructors/auth.authorization.md create mode 100644 old_docs/API_docs_v102/constructors/auth.checkedPhone.md create mode 100644 old_docs/API_docs_v102/constructors/auth.codeTypeCall.md create mode 100644 old_docs/API_docs_v102/constructors/auth.codeTypeFlashCall.md create mode 100644 old_docs/API_docs_v102/constructors/auth.codeTypeSms.md create mode 100644 old_docs/API_docs_v102/constructors/auth.exportedAuthorization.md create mode 100644 old_docs/API_docs_v102/constructors/auth.passwordRecovery.md create mode 100644 old_docs/API_docs_v102/constructors/auth.sentCode.md create mode 100644 old_docs/API_docs_v102/constructors/auth.sentCodeTypeApp.md create mode 100644 old_docs/API_docs_v102/constructors/auth.sentCodeTypeCall.md create mode 100644 old_docs/API_docs_v102/constructors/auth.sentCodeTypeFlashCall.md create mode 100644 old_docs/API_docs_v102/constructors/auth.sentCodeTypeSms.md delete mode 100644 old_docs/API_docs_v102/constructors/auth_authorization.md delete mode 100644 old_docs/API_docs_v102/constructors/auth_checkedPhone.md delete mode 100644 old_docs/API_docs_v102/constructors/auth_codeTypeCall.md delete mode 100644 old_docs/API_docs_v102/constructors/auth_codeTypeFlashCall.md delete mode 100644 old_docs/API_docs_v102/constructors/auth_codeTypeSms.md delete mode 100644 old_docs/API_docs_v102/constructors/auth_exportedAuthorization.md delete mode 100644 old_docs/API_docs_v102/constructors/auth_passwordRecovery.md delete mode 100644 old_docs/API_docs_v102/constructors/auth_sentCode.md delete mode 100644 old_docs/API_docs_v102/constructors/auth_sentCodeTypeApp.md delete mode 100644 old_docs/API_docs_v102/constructors/auth_sentCodeTypeCall.md delete mode 100644 old_docs/API_docs_v102/constructors/auth_sentCodeTypeFlashCall.md delete mode 100644 old_docs/API_docs_v102/constructors/auth_sentCodeTypeSms.md create mode 100644 old_docs/API_docs_v102/constructors/channels.adminLogResults.md create mode 100644 old_docs/API_docs_v102/constructors/channels.channelParticipant.md create mode 100644 old_docs/API_docs_v102/constructors/channels.channelParticipants.md create mode 100644 old_docs/API_docs_v102/constructors/channels.channelParticipantsNotModified.md delete mode 100644 old_docs/API_docs_v102/constructors/channels_adminLogResults.md delete mode 100644 old_docs/API_docs_v102/constructors/channels_channelParticipant.md delete mode 100644 old_docs/API_docs_v102/constructors/channels_channelParticipants.md delete mode 100644 old_docs/API_docs_v102/constructors/channels_channelParticipantsNotModified.md create mode 100644 old_docs/API_docs_v102/constructors/contacts.blocked.md create mode 100644 old_docs/API_docs_v102/constructors/contacts.blockedSlice.md create mode 100644 old_docs/API_docs_v102/constructors/contacts.contacts.md create mode 100644 old_docs/API_docs_v102/constructors/contacts.contactsNotModified.md create mode 100644 old_docs/API_docs_v102/constructors/contacts.found.md create mode 100644 old_docs/API_docs_v102/constructors/contacts.importedContacts.md create mode 100644 old_docs/API_docs_v102/constructors/contacts.resolvedPeer.md create mode 100644 old_docs/API_docs_v102/constructors/contacts.topPeers.md create mode 100644 old_docs/API_docs_v102/constructors/contacts.topPeersDisabled.md create mode 100644 old_docs/API_docs_v102/constructors/contacts.topPeersNotModified.md delete mode 100644 old_docs/API_docs_v102/constructors/contacts_blocked.md delete mode 100644 old_docs/API_docs_v102/constructors/contacts_blockedSlice.md delete mode 100644 old_docs/API_docs_v102/constructors/contacts_contacts.md delete mode 100644 old_docs/API_docs_v102/constructors/contacts_contactsNotModified.md delete mode 100644 old_docs/API_docs_v102/constructors/contacts_found.md delete mode 100644 old_docs/API_docs_v102/constructors/contacts_importedContacts.md delete mode 100644 old_docs/API_docs_v102/constructors/contacts_resolvedPeer.md delete mode 100644 old_docs/API_docs_v102/constructors/contacts_topPeers.md delete mode 100644 old_docs/API_docs_v102/constructors/contacts_topPeersDisabled.md delete mode 100644 old_docs/API_docs_v102/constructors/contacts_topPeersNotModified.md create mode 100644 old_docs/API_docs_v102/constructors/help.appUpdate.md create mode 100644 old_docs/API_docs_v102/constructors/help.configSimple.md create mode 100644 old_docs/API_docs_v102/constructors/help.deepLinkInfo.md create mode 100644 old_docs/API_docs_v102/constructors/help.deepLinkInfoEmpty.md create mode 100644 old_docs/API_docs_v102/constructors/help.inviteText.md create mode 100644 old_docs/API_docs_v102/constructors/help.noAppUpdate.md create mode 100644 old_docs/API_docs_v102/constructors/help.passportConfig.md create mode 100644 old_docs/API_docs_v102/constructors/help.passportConfigNotModified.md create mode 100644 old_docs/API_docs_v102/constructors/help.proxyDataEmpty.md create mode 100644 old_docs/API_docs_v102/constructors/help.proxyDataPromo.md create mode 100644 old_docs/API_docs_v102/constructors/help.recentMeUrls.md create mode 100644 old_docs/API_docs_v102/constructors/help.support.md create mode 100644 old_docs/API_docs_v102/constructors/help.supportName.md create mode 100644 old_docs/API_docs_v102/constructors/help.termsOfService.md create mode 100644 old_docs/API_docs_v102/constructors/help.termsOfServiceUpdate.md create mode 100644 old_docs/API_docs_v102/constructors/help.termsOfServiceUpdateEmpty.md create mode 100644 old_docs/API_docs_v102/constructors/help.userInfo.md create mode 100644 old_docs/API_docs_v102/constructors/help.userInfoEmpty.md delete mode 100644 old_docs/API_docs_v102/constructors/help_appUpdate.md delete mode 100644 old_docs/API_docs_v102/constructors/help_configSimple.md delete mode 100644 old_docs/API_docs_v102/constructors/help_deepLinkInfo.md delete mode 100644 old_docs/API_docs_v102/constructors/help_deepLinkInfoEmpty.md delete mode 100644 old_docs/API_docs_v102/constructors/help_inviteText.md delete mode 100644 old_docs/API_docs_v102/constructors/help_noAppUpdate.md delete mode 100644 old_docs/API_docs_v102/constructors/help_passportConfig.md delete mode 100644 old_docs/API_docs_v102/constructors/help_passportConfigNotModified.md delete mode 100644 old_docs/API_docs_v102/constructors/help_proxyDataEmpty.md delete mode 100644 old_docs/API_docs_v102/constructors/help_proxyDataPromo.md delete mode 100644 old_docs/API_docs_v102/constructors/help_recentMeUrls.md delete mode 100644 old_docs/API_docs_v102/constructors/help_support.md delete mode 100644 old_docs/API_docs_v102/constructors/help_supportName.md delete mode 100644 old_docs/API_docs_v102/constructors/help_termsOfService.md delete mode 100644 old_docs/API_docs_v102/constructors/help_termsOfServiceUpdate.md delete mode 100644 old_docs/API_docs_v102/constructors/help_termsOfServiceUpdateEmpty.md delete mode 100644 old_docs/API_docs_v102/constructors/help_userInfo.md delete mode 100644 old_docs/API_docs_v102/constructors/help_userInfoEmpty.md create mode 100644 old_docs/API_docs_v102/constructors/messages.affectedHistory.md create mode 100644 old_docs/API_docs_v102/constructors/messages.affectedMessages.md create mode 100644 old_docs/API_docs_v102/constructors/messages.allStickers.md create mode 100644 old_docs/API_docs_v102/constructors/messages.allStickersNotModified.md create mode 100644 old_docs/API_docs_v102/constructors/messages.archivedStickers.md create mode 100644 old_docs/API_docs_v102/constructors/messages.botCallbackAnswer.md create mode 100644 old_docs/API_docs_v102/constructors/messages.botResults.md create mode 100644 old_docs/API_docs_v102/constructors/messages.channelMessages.md create mode 100644 old_docs/API_docs_v102/constructors/messages.chatFull.md create mode 100644 old_docs/API_docs_v102/constructors/messages.chats.md create mode 100644 old_docs/API_docs_v102/constructors/messages.chatsSlice.md create mode 100644 old_docs/API_docs_v102/constructors/messages.dhConfig.md create mode 100644 old_docs/API_docs_v102/constructors/messages.dhConfigNotModified.md create mode 100644 old_docs/API_docs_v102/constructors/messages.dialogs.md create mode 100644 old_docs/API_docs_v102/constructors/messages.dialogsNotModified.md create mode 100644 old_docs/API_docs_v102/constructors/messages.dialogsSlice.md create mode 100644 old_docs/API_docs_v102/constructors/messages.favedStickers.md create mode 100644 old_docs/API_docs_v102/constructors/messages.favedStickersNotModified.md create mode 100644 old_docs/API_docs_v102/constructors/messages.featuredStickers.md create mode 100644 old_docs/API_docs_v102/constructors/messages.featuredStickersNotModified.md create mode 100644 old_docs/API_docs_v102/constructors/messages.foundGifs.md create mode 100644 old_docs/API_docs_v102/constructors/messages.foundStickerSets.md create mode 100644 old_docs/API_docs_v102/constructors/messages.foundStickerSetsNotModified.md create mode 100644 old_docs/API_docs_v102/constructors/messages.highScores.md create mode 100644 old_docs/API_docs_v102/constructors/messages.messageEditData.md create mode 100644 old_docs/API_docs_v102/constructors/messages.messages.md create mode 100644 old_docs/API_docs_v102/constructors/messages.messagesNotModified.md create mode 100644 old_docs/API_docs_v102/constructors/messages.messagesSlice.md create mode 100644 old_docs/API_docs_v102/constructors/messages.peerDialogs.md create mode 100644 old_docs/API_docs_v102/constructors/messages.recentStickers.md create mode 100644 old_docs/API_docs_v102/constructors/messages.recentStickersNotModified.md create mode 100644 old_docs/API_docs_v102/constructors/messages.savedGifs.md create mode 100644 old_docs/API_docs_v102/constructors/messages.savedGifsNotModified.md create mode 100644 old_docs/API_docs_v102/constructors/messages.searchCounter.md create mode 100644 old_docs/API_docs_v102/constructors/messages.sentEncryptedFile.md create mode 100644 old_docs/API_docs_v102/constructors/messages.sentEncryptedMessage.md create mode 100644 old_docs/API_docs_v102/constructors/messages.stickerSet.md create mode 100644 old_docs/API_docs_v102/constructors/messages.stickerSetInstallResultArchive.md create mode 100644 old_docs/API_docs_v102/constructors/messages.stickerSetInstallResultSuccess.md create mode 100644 old_docs/API_docs_v102/constructors/messages.stickers.md create mode 100644 old_docs/API_docs_v102/constructors/messages.stickersNotModified.md delete mode 100644 old_docs/API_docs_v102/constructors/messages_affectedHistory.md delete mode 100644 old_docs/API_docs_v102/constructors/messages_affectedMessages.md delete mode 100644 old_docs/API_docs_v102/constructors/messages_allStickers.md delete mode 100644 old_docs/API_docs_v102/constructors/messages_allStickersNotModified.md delete mode 100644 old_docs/API_docs_v102/constructors/messages_archivedStickers.md delete mode 100644 old_docs/API_docs_v102/constructors/messages_botCallbackAnswer.md delete mode 100644 old_docs/API_docs_v102/constructors/messages_botResults.md delete mode 100644 old_docs/API_docs_v102/constructors/messages_channelMessages.md delete mode 100644 old_docs/API_docs_v102/constructors/messages_chatFull.md delete mode 100644 old_docs/API_docs_v102/constructors/messages_chats.md delete mode 100644 old_docs/API_docs_v102/constructors/messages_chatsSlice.md delete mode 100644 old_docs/API_docs_v102/constructors/messages_dhConfig.md delete mode 100644 old_docs/API_docs_v102/constructors/messages_dhConfigNotModified.md delete mode 100644 old_docs/API_docs_v102/constructors/messages_dialogs.md delete mode 100644 old_docs/API_docs_v102/constructors/messages_dialogsNotModified.md delete mode 100644 old_docs/API_docs_v102/constructors/messages_dialogsSlice.md delete mode 100644 old_docs/API_docs_v102/constructors/messages_favedStickers.md delete mode 100644 old_docs/API_docs_v102/constructors/messages_favedStickersNotModified.md delete mode 100644 old_docs/API_docs_v102/constructors/messages_featuredStickers.md delete mode 100644 old_docs/API_docs_v102/constructors/messages_featuredStickersNotModified.md delete mode 100644 old_docs/API_docs_v102/constructors/messages_foundGifs.md delete mode 100644 old_docs/API_docs_v102/constructors/messages_foundStickerSets.md delete mode 100644 old_docs/API_docs_v102/constructors/messages_foundStickerSetsNotModified.md delete mode 100644 old_docs/API_docs_v102/constructors/messages_highScores.md delete mode 100644 old_docs/API_docs_v102/constructors/messages_messageEditData.md delete mode 100644 old_docs/API_docs_v102/constructors/messages_messages.md delete mode 100644 old_docs/API_docs_v102/constructors/messages_messagesNotModified.md delete mode 100644 old_docs/API_docs_v102/constructors/messages_messagesSlice.md delete mode 100644 old_docs/API_docs_v102/constructors/messages_peerDialogs.md delete mode 100644 old_docs/API_docs_v102/constructors/messages_recentStickers.md delete mode 100644 old_docs/API_docs_v102/constructors/messages_recentStickersNotModified.md delete mode 100644 old_docs/API_docs_v102/constructors/messages_savedGifs.md delete mode 100644 old_docs/API_docs_v102/constructors/messages_savedGifsNotModified.md delete mode 100644 old_docs/API_docs_v102/constructors/messages_searchCounter.md delete mode 100644 old_docs/API_docs_v102/constructors/messages_sentEncryptedFile.md delete mode 100644 old_docs/API_docs_v102/constructors/messages_sentEncryptedMessage.md delete mode 100644 old_docs/API_docs_v102/constructors/messages_stickerSet.md delete mode 100644 old_docs/API_docs_v102/constructors/messages_stickerSetInstallResultArchive.md delete mode 100644 old_docs/API_docs_v102/constructors/messages_stickerSetInstallResultSuccess.md delete mode 100644 old_docs/API_docs_v102/constructors/messages_stickers.md delete mode 100644 old_docs/API_docs_v102/constructors/messages_stickersNotModified.md create mode 100644 old_docs/API_docs_v102/constructors/payments.paymentForm.md create mode 100644 old_docs/API_docs_v102/constructors/payments.paymentReceipt.md create mode 100644 old_docs/API_docs_v102/constructors/payments.paymentResult.md create mode 100644 old_docs/API_docs_v102/constructors/payments.paymentVerficationNeeded.md create mode 100644 old_docs/API_docs_v102/constructors/payments.savedInfo.md create mode 100644 old_docs/API_docs_v102/constructors/payments.validatedRequestedInfo.md delete mode 100644 old_docs/API_docs_v102/constructors/payments_paymentForm.md delete mode 100644 old_docs/API_docs_v102/constructors/payments_paymentReceipt.md delete mode 100644 old_docs/API_docs_v102/constructors/payments_paymentResult.md delete mode 100644 old_docs/API_docs_v102/constructors/payments_paymentVerficationNeeded.md delete mode 100644 old_docs/API_docs_v102/constructors/payments_savedInfo.md delete mode 100644 old_docs/API_docs_v102/constructors/payments_validatedRequestedInfo.md create mode 100644 old_docs/API_docs_v102/constructors/phone.phoneCall.md delete mode 100644 old_docs/API_docs_v102/constructors/phone_phoneCall.md create mode 100644 old_docs/API_docs_v102/constructors/photos.photo.md create mode 100644 old_docs/API_docs_v102/constructors/photos.photos.md create mode 100644 old_docs/API_docs_v102/constructors/photos.photosSlice.md delete mode 100644 old_docs/API_docs_v102/constructors/photos_photo.md delete mode 100644 old_docs/API_docs_v102/constructors/photos_photos.md delete mode 100644 old_docs/API_docs_v102/constructors/photos_photosSlice.md create mode 100644 old_docs/API_docs_v102/constructors/storage.fileGif.md create mode 100644 old_docs/API_docs_v102/constructors/storage.fileJpeg.md create mode 100644 old_docs/API_docs_v102/constructors/storage.fileMov.md create mode 100644 old_docs/API_docs_v102/constructors/storage.fileMp3.md create mode 100644 old_docs/API_docs_v102/constructors/storage.fileMp4.md create mode 100644 old_docs/API_docs_v102/constructors/storage.filePartial.md create mode 100644 old_docs/API_docs_v102/constructors/storage.filePdf.md create mode 100644 old_docs/API_docs_v102/constructors/storage.filePng.md create mode 100644 old_docs/API_docs_v102/constructors/storage.fileUnknown.md create mode 100644 old_docs/API_docs_v102/constructors/storage.fileWebp.md delete mode 100644 old_docs/API_docs_v102/constructors/storage_fileGif.md delete mode 100644 old_docs/API_docs_v102/constructors/storage_fileJpeg.md delete mode 100644 old_docs/API_docs_v102/constructors/storage_fileMov.md delete mode 100644 old_docs/API_docs_v102/constructors/storage_fileMp3.md delete mode 100644 old_docs/API_docs_v102/constructors/storage_fileMp4.md delete mode 100644 old_docs/API_docs_v102/constructors/storage_filePartial.md delete mode 100644 old_docs/API_docs_v102/constructors/storage_filePdf.md delete mode 100644 old_docs/API_docs_v102/constructors/storage_filePng.md delete mode 100644 old_docs/API_docs_v102/constructors/storage_fileUnknown.md delete mode 100644 old_docs/API_docs_v102/constructors/storage_fileWebp.md create mode 100644 old_docs/API_docs_v102/constructors/updates.channelDifference.md create mode 100644 old_docs/API_docs_v102/constructors/updates.channelDifferenceEmpty.md create mode 100644 old_docs/API_docs_v102/constructors/updates.channelDifferenceTooLong.md create mode 100644 old_docs/API_docs_v102/constructors/updates.difference.md create mode 100644 old_docs/API_docs_v102/constructors/updates.differenceEmpty.md create mode 100644 old_docs/API_docs_v102/constructors/updates.differenceSlice.md create mode 100644 old_docs/API_docs_v102/constructors/updates.differenceTooLong.md create mode 100644 old_docs/API_docs_v102/constructors/updates.state.md delete mode 100644 old_docs/API_docs_v102/constructors/updates_channelDifference.md delete mode 100644 old_docs/API_docs_v102/constructors/updates_channelDifferenceEmpty.md delete mode 100644 old_docs/API_docs_v102/constructors/updates_channelDifferenceTooLong.md delete mode 100644 old_docs/API_docs_v102/constructors/updates_difference.md delete mode 100644 old_docs/API_docs_v102/constructors/updates_differenceEmpty.md delete mode 100644 old_docs/API_docs_v102/constructors/updates_differenceSlice.md delete mode 100644 old_docs/API_docs_v102/constructors/updates_differenceTooLong.md delete mode 100644 old_docs/API_docs_v102/constructors/updates_state.md create mode 100644 old_docs/API_docs_v102/constructors/upload.cdnFile.md create mode 100644 old_docs/API_docs_v102/constructors/upload.cdnFileReuploadNeeded.md create mode 100644 old_docs/API_docs_v102/constructors/upload.file.md create mode 100644 old_docs/API_docs_v102/constructors/upload.fileCdnRedirect.md create mode 100644 old_docs/API_docs_v102/constructors/upload.webFile.md delete mode 100644 old_docs/API_docs_v102/constructors/upload_cdnFile.md delete mode 100644 old_docs/API_docs_v102/constructors/upload_cdnFileReuploadNeeded.md delete mode 100644 old_docs/API_docs_v102/constructors/upload_file.md delete mode 100644 old_docs/API_docs_v102/constructors/upload_fileCdnRedirect.md delete mode 100644 old_docs/API_docs_v102/constructors/upload_webFile.md create mode 100644 old_docs/API_docs_v102/types/account.AuthorizationForm.md create mode 100644 old_docs/API_docs_v102/types/account.Authorizations.md create mode 100644 old_docs/API_docs_v102/types/account.AutoDownloadSettings.md create mode 100644 old_docs/API_docs_v102/types/account.Password.md create mode 100644 old_docs/API_docs_v102/types/account.PasswordInputSettings.md create mode 100644 old_docs/API_docs_v102/types/account.PasswordSettings.md create mode 100644 old_docs/API_docs_v102/types/account.PrivacyRules.md create mode 100644 old_docs/API_docs_v102/types/account.SentEmailCode.md create mode 100644 old_docs/API_docs_v102/types/account.Takeout.md create mode 100644 old_docs/API_docs_v102/types/account.TmpPassword.md create mode 100644 old_docs/API_docs_v102/types/account.WallPapers.md create mode 100644 old_docs/API_docs_v102/types/account.WebAuthorizations.md delete mode 100644 old_docs/API_docs_v102/types/account_AuthorizationForm.md delete mode 100644 old_docs/API_docs_v102/types/account_Authorizations.md delete mode 100644 old_docs/API_docs_v102/types/account_AutoDownloadSettings.md delete mode 100644 old_docs/API_docs_v102/types/account_Password.md delete mode 100644 old_docs/API_docs_v102/types/account_PasswordInputSettings.md delete mode 100644 old_docs/API_docs_v102/types/account_PasswordSettings.md delete mode 100644 old_docs/API_docs_v102/types/account_PrivacyRules.md delete mode 100644 old_docs/API_docs_v102/types/account_SentEmailCode.md delete mode 100644 old_docs/API_docs_v102/types/account_Takeout.md delete mode 100644 old_docs/API_docs_v102/types/account_TmpPassword.md delete mode 100644 old_docs/API_docs_v102/types/account_WallPapers.md delete mode 100644 old_docs/API_docs_v102/types/account_WebAuthorizations.md create mode 100644 old_docs/API_docs_v102/types/auth.Authorization.md create mode 100644 old_docs/API_docs_v102/types/auth.CheckedPhone.md create mode 100644 old_docs/API_docs_v102/types/auth.CodeType.md create mode 100644 old_docs/API_docs_v102/types/auth.ExportedAuthorization.md create mode 100644 old_docs/API_docs_v102/types/auth.PasswordRecovery.md create mode 100644 old_docs/API_docs_v102/types/auth.SentCode.md create mode 100644 old_docs/API_docs_v102/types/auth.SentCodeType.md delete mode 100644 old_docs/API_docs_v102/types/auth_Authorization.md delete mode 100644 old_docs/API_docs_v102/types/auth_CheckedPhone.md delete mode 100644 old_docs/API_docs_v102/types/auth_CodeType.md delete mode 100644 old_docs/API_docs_v102/types/auth_ExportedAuthorization.md delete mode 100644 old_docs/API_docs_v102/types/auth_PasswordRecovery.md delete mode 100644 old_docs/API_docs_v102/types/auth_SentCode.md delete mode 100644 old_docs/API_docs_v102/types/auth_SentCodeType.md create mode 100644 old_docs/API_docs_v102/types/channels.AdminLogResults.md create mode 100644 old_docs/API_docs_v102/types/channels.ChannelParticipant.md create mode 100644 old_docs/API_docs_v102/types/channels.ChannelParticipants.md delete mode 100644 old_docs/API_docs_v102/types/channels_AdminLogResults.md delete mode 100644 old_docs/API_docs_v102/types/channels_ChannelParticipant.md delete mode 100644 old_docs/API_docs_v102/types/channels_ChannelParticipants.md create mode 100644 old_docs/API_docs_v102/types/contacts.Blocked.md create mode 100644 old_docs/API_docs_v102/types/contacts.Contacts.md create mode 100644 old_docs/API_docs_v102/types/contacts.Found.md create mode 100644 old_docs/API_docs_v102/types/contacts.ImportedContacts.md create mode 100644 old_docs/API_docs_v102/types/contacts.ResolvedPeer.md create mode 100644 old_docs/API_docs_v102/types/contacts.TopPeers.md delete mode 100644 old_docs/API_docs_v102/types/contacts_Blocked.md delete mode 100644 old_docs/API_docs_v102/types/contacts_Contacts.md delete mode 100644 old_docs/API_docs_v102/types/contacts_Found.md delete mode 100644 old_docs/API_docs_v102/types/contacts_ImportedContacts.md delete mode 100644 old_docs/API_docs_v102/types/contacts_ResolvedPeer.md delete mode 100644 old_docs/API_docs_v102/types/contacts_TopPeers.md create mode 100644 old_docs/API_docs_v102/types/help.AppUpdate.md create mode 100644 old_docs/API_docs_v102/types/help.ConfigSimple.md create mode 100644 old_docs/API_docs_v102/types/help.DeepLinkInfo.md create mode 100644 old_docs/API_docs_v102/types/help.InviteText.md create mode 100644 old_docs/API_docs_v102/types/help.PassportConfig.md create mode 100644 old_docs/API_docs_v102/types/help.ProxyData.md create mode 100644 old_docs/API_docs_v102/types/help.RecentMeUrls.md create mode 100644 old_docs/API_docs_v102/types/help.Support.md create mode 100644 old_docs/API_docs_v102/types/help.SupportName.md create mode 100644 old_docs/API_docs_v102/types/help.TermsOfService.md create mode 100644 old_docs/API_docs_v102/types/help.TermsOfServiceUpdate.md create mode 100644 old_docs/API_docs_v102/types/help.UserInfo.md delete mode 100644 old_docs/API_docs_v102/types/help_AppUpdate.md delete mode 100644 old_docs/API_docs_v102/types/help_ConfigSimple.md delete mode 100644 old_docs/API_docs_v102/types/help_DeepLinkInfo.md delete mode 100644 old_docs/API_docs_v102/types/help_InviteText.md delete mode 100644 old_docs/API_docs_v102/types/help_PassportConfig.md delete mode 100644 old_docs/API_docs_v102/types/help_ProxyData.md delete mode 100644 old_docs/API_docs_v102/types/help_RecentMeUrls.md delete mode 100644 old_docs/API_docs_v102/types/help_Support.md delete mode 100644 old_docs/API_docs_v102/types/help_SupportName.md delete mode 100644 old_docs/API_docs_v102/types/help_TermsOfService.md delete mode 100644 old_docs/API_docs_v102/types/help_TermsOfServiceUpdate.md delete mode 100644 old_docs/API_docs_v102/types/help_UserInfo.md create mode 100644 old_docs/API_docs_v102/types/messages.AffectedHistory.md create mode 100644 old_docs/API_docs_v102/types/messages.AffectedMessages.md create mode 100644 old_docs/API_docs_v102/types/messages.AllStickers.md create mode 100644 old_docs/API_docs_v102/types/messages.ArchivedStickers.md create mode 100644 old_docs/API_docs_v102/types/messages.BotCallbackAnswer.md create mode 100644 old_docs/API_docs_v102/types/messages.BotResults.md create mode 100644 old_docs/API_docs_v102/types/messages.ChatFull.md create mode 100644 old_docs/API_docs_v102/types/messages.Chats.md create mode 100644 old_docs/API_docs_v102/types/messages.DhConfig.md create mode 100644 old_docs/API_docs_v102/types/messages.Dialogs.md create mode 100644 old_docs/API_docs_v102/types/messages.FavedStickers.md create mode 100644 old_docs/API_docs_v102/types/messages.FeaturedStickers.md create mode 100644 old_docs/API_docs_v102/types/messages.FoundGifs.md create mode 100644 old_docs/API_docs_v102/types/messages.FoundStickerSets.md create mode 100644 old_docs/API_docs_v102/types/messages.HighScores.md create mode 100644 old_docs/API_docs_v102/types/messages.MessageEditData.md create mode 100644 old_docs/API_docs_v102/types/messages.Messages.md create mode 100644 old_docs/API_docs_v102/types/messages.PeerDialogs.md create mode 100644 old_docs/API_docs_v102/types/messages.RecentStickers.md create mode 100644 old_docs/API_docs_v102/types/messages.SavedGifs.md create mode 100644 old_docs/API_docs_v102/types/messages.SearchCounter.md create mode 100644 old_docs/API_docs_v102/types/messages.SentEncryptedMessage.md create mode 100644 old_docs/API_docs_v102/types/messages.StickerSet.md create mode 100644 old_docs/API_docs_v102/types/messages.StickerSetInstallResult.md create mode 100644 old_docs/API_docs_v102/types/messages.Stickers.md delete mode 100644 old_docs/API_docs_v102/types/messages_AffectedHistory.md delete mode 100644 old_docs/API_docs_v102/types/messages_AffectedMessages.md delete mode 100644 old_docs/API_docs_v102/types/messages_AllStickers.md delete mode 100644 old_docs/API_docs_v102/types/messages_ArchivedStickers.md delete mode 100644 old_docs/API_docs_v102/types/messages_BotCallbackAnswer.md delete mode 100644 old_docs/API_docs_v102/types/messages_BotResults.md delete mode 100644 old_docs/API_docs_v102/types/messages_ChatFull.md delete mode 100644 old_docs/API_docs_v102/types/messages_Chats.md delete mode 100644 old_docs/API_docs_v102/types/messages_DhConfig.md delete mode 100644 old_docs/API_docs_v102/types/messages_Dialogs.md delete mode 100644 old_docs/API_docs_v102/types/messages_FavedStickers.md delete mode 100644 old_docs/API_docs_v102/types/messages_FeaturedStickers.md delete mode 100644 old_docs/API_docs_v102/types/messages_FoundGifs.md delete mode 100644 old_docs/API_docs_v102/types/messages_FoundStickerSets.md delete mode 100644 old_docs/API_docs_v102/types/messages_HighScores.md delete mode 100644 old_docs/API_docs_v102/types/messages_MessageEditData.md delete mode 100644 old_docs/API_docs_v102/types/messages_Messages.md delete mode 100644 old_docs/API_docs_v102/types/messages_PeerDialogs.md delete mode 100644 old_docs/API_docs_v102/types/messages_RecentStickers.md delete mode 100644 old_docs/API_docs_v102/types/messages_SavedGifs.md delete mode 100644 old_docs/API_docs_v102/types/messages_SearchCounter.md delete mode 100644 old_docs/API_docs_v102/types/messages_SentEncryptedMessage.md delete mode 100644 old_docs/API_docs_v102/types/messages_StickerSet.md delete mode 100644 old_docs/API_docs_v102/types/messages_StickerSetInstallResult.md delete mode 100644 old_docs/API_docs_v102/types/messages_Stickers.md create mode 100644 old_docs/API_docs_v102/types/payments.PaymentForm.md create mode 100644 old_docs/API_docs_v102/types/payments.PaymentReceipt.md create mode 100644 old_docs/API_docs_v102/types/payments.PaymentResult.md create mode 100644 old_docs/API_docs_v102/types/payments.SavedInfo.md create mode 100644 old_docs/API_docs_v102/types/payments.ValidatedRequestedInfo.md delete mode 100644 old_docs/API_docs_v102/types/payments_PaymentForm.md delete mode 100644 old_docs/API_docs_v102/types/payments_PaymentReceipt.md delete mode 100644 old_docs/API_docs_v102/types/payments_PaymentResult.md delete mode 100644 old_docs/API_docs_v102/types/payments_SavedInfo.md delete mode 100644 old_docs/API_docs_v102/types/payments_ValidatedRequestedInfo.md create mode 100644 old_docs/API_docs_v102/types/phone.PhoneCall.md delete mode 100644 old_docs/API_docs_v102/types/phone_PhoneCall.md create mode 100644 old_docs/API_docs_v102/types/photos.Photo.md create mode 100644 old_docs/API_docs_v102/types/photos.Photos.md delete mode 100644 old_docs/API_docs_v102/types/photos_Photo.md delete mode 100644 old_docs/API_docs_v102/types/photos_Photos.md create mode 100644 old_docs/API_docs_v102/types/storage.FileType.md delete mode 100644 old_docs/API_docs_v102/types/storage_FileType.md create mode 100644 old_docs/API_docs_v102/types/updates.ChannelDifference.md create mode 100644 old_docs/API_docs_v102/types/updates.Difference.md create mode 100644 old_docs/API_docs_v102/types/updates.State.md delete mode 100644 old_docs/API_docs_v102/types/updates_ChannelDifference.md delete mode 100644 old_docs/API_docs_v102/types/updates_Difference.md delete mode 100644 old_docs/API_docs_v102/types/updates_State.md create mode 100644 old_docs/API_docs_v102/types/upload.CdnFile.md create mode 100644 old_docs/API_docs_v102/types/upload.File.md create mode 100644 old_docs/API_docs_v102/types/upload.WebFile.md delete mode 100644 old_docs/API_docs_v102/types/upload_CdnFile.md delete mode 100644 old_docs/API_docs_v102/types/upload_File.md delete mode 100644 old_docs/API_docs_v102/types/upload_WebFile.md create mode 100644 old_docs/API_docs_v103/constructors/account.authorizationForm.md create mode 100644 old_docs/API_docs_v103/constructors/account.authorizations.md create mode 100644 old_docs/API_docs_v103/constructors/account.autoDownloadSettings.md create mode 100644 old_docs/API_docs_v103/constructors/account.password.md create mode 100644 old_docs/API_docs_v103/constructors/account.passwordInputSettings.md create mode 100644 old_docs/API_docs_v103/constructors/account.passwordSettings.md create mode 100644 old_docs/API_docs_v103/constructors/account.privacyRules.md create mode 100644 old_docs/API_docs_v103/constructors/account.sentEmailCode.md create mode 100644 old_docs/API_docs_v103/constructors/account.takeout.md create mode 100644 old_docs/API_docs_v103/constructors/account.tmpPassword.md create mode 100644 old_docs/API_docs_v103/constructors/account.wallPapers.md create mode 100644 old_docs/API_docs_v103/constructors/account.wallPapersNotModified.md create mode 100644 old_docs/API_docs_v103/constructors/account.webAuthorizations.md delete mode 100644 old_docs/API_docs_v103/constructors/account_authorizationForm.md delete mode 100644 old_docs/API_docs_v103/constructors/account_authorizations.md delete mode 100644 old_docs/API_docs_v103/constructors/account_autoDownloadSettings.md delete mode 100644 old_docs/API_docs_v103/constructors/account_password.md delete mode 100644 old_docs/API_docs_v103/constructors/account_passwordInputSettings.md delete mode 100644 old_docs/API_docs_v103/constructors/account_passwordSettings.md delete mode 100644 old_docs/API_docs_v103/constructors/account_privacyRules.md delete mode 100644 old_docs/API_docs_v103/constructors/account_sentEmailCode.md delete mode 100644 old_docs/API_docs_v103/constructors/account_takeout.md delete mode 100644 old_docs/API_docs_v103/constructors/account_tmpPassword.md delete mode 100644 old_docs/API_docs_v103/constructors/account_wallPapers.md delete mode 100644 old_docs/API_docs_v103/constructors/account_wallPapersNotModified.md delete mode 100644 old_docs/API_docs_v103/constructors/account_webAuthorizations.md create mode 100644 old_docs/API_docs_v103/constructors/auth.authorization.md create mode 100644 old_docs/API_docs_v103/constructors/auth.checkedPhone.md create mode 100644 old_docs/API_docs_v103/constructors/auth.codeTypeCall.md create mode 100644 old_docs/API_docs_v103/constructors/auth.codeTypeFlashCall.md create mode 100644 old_docs/API_docs_v103/constructors/auth.codeTypeSms.md create mode 100644 old_docs/API_docs_v103/constructors/auth.exportedAuthorization.md create mode 100644 old_docs/API_docs_v103/constructors/auth.passwordRecovery.md create mode 100644 old_docs/API_docs_v103/constructors/auth.sentCode.md create mode 100644 old_docs/API_docs_v103/constructors/auth.sentCodeTypeApp.md create mode 100644 old_docs/API_docs_v103/constructors/auth.sentCodeTypeCall.md create mode 100644 old_docs/API_docs_v103/constructors/auth.sentCodeTypeFlashCall.md create mode 100644 old_docs/API_docs_v103/constructors/auth.sentCodeTypeSms.md delete mode 100644 old_docs/API_docs_v103/constructors/auth_authorization.md delete mode 100644 old_docs/API_docs_v103/constructors/auth_checkedPhone.md delete mode 100644 old_docs/API_docs_v103/constructors/auth_codeTypeCall.md delete mode 100644 old_docs/API_docs_v103/constructors/auth_codeTypeFlashCall.md delete mode 100644 old_docs/API_docs_v103/constructors/auth_codeTypeSms.md delete mode 100644 old_docs/API_docs_v103/constructors/auth_exportedAuthorization.md delete mode 100644 old_docs/API_docs_v103/constructors/auth_passwordRecovery.md delete mode 100644 old_docs/API_docs_v103/constructors/auth_sentCode.md delete mode 100644 old_docs/API_docs_v103/constructors/auth_sentCodeTypeApp.md delete mode 100644 old_docs/API_docs_v103/constructors/auth_sentCodeTypeCall.md delete mode 100644 old_docs/API_docs_v103/constructors/auth_sentCodeTypeFlashCall.md delete mode 100644 old_docs/API_docs_v103/constructors/auth_sentCodeTypeSms.md create mode 100644 old_docs/API_docs_v103/constructors/channels.adminLogResults.md create mode 100644 old_docs/API_docs_v103/constructors/channels.channelParticipant.md create mode 100644 old_docs/API_docs_v103/constructors/channels.channelParticipants.md create mode 100644 old_docs/API_docs_v103/constructors/channels.channelParticipantsNotModified.md delete mode 100644 old_docs/API_docs_v103/constructors/channels_adminLogResults.md delete mode 100644 old_docs/API_docs_v103/constructors/channels_channelParticipant.md delete mode 100644 old_docs/API_docs_v103/constructors/channels_channelParticipants.md delete mode 100644 old_docs/API_docs_v103/constructors/channels_channelParticipantsNotModified.md create mode 100644 old_docs/API_docs_v103/constructors/contacts.blocked.md create mode 100644 old_docs/API_docs_v103/constructors/contacts.blockedSlice.md create mode 100644 old_docs/API_docs_v103/constructors/contacts.contacts.md create mode 100644 old_docs/API_docs_v103/constructors/contacts.contactsNotModified.md create mode 100644 old_docs/API_docs_v103/constructors/contacts.found.md create mode 100644 old_docs/API_docs_v103/constructors/contacts.importedContacts.md create mode 100644 old_docs/API_docs_v103/constructors/contacts.resolvedPeer.md create mode 100644 old_docs/API_docs_v103/constructors/contacts.topPeers.md create mode 100644 old_docs/API_docs_v103/constructors/contacts.topPeersDisabled.md create mode 100644 old_docs/API_docs_v103/constructors/contacts.topPeersNotModified.md delete mode 100644 old_docs/API_docs_v103/constructors/contacts_blocked.md delete mode 100644 old_docs/API_docs_v103/constructors/contacts_blockedSlice.md delete mode 100644 old_docs/API_docs_v103/constructors/contacts_contacts.md delete mode 100644 old_docs/API_docs_v103/constructors/contacts_contactsNotModified.md delete mode 100644 old_docs/API_docs_v103/constructors/contacts_found.md delete mode 100644 old_docs/API_docs_v103/constructors/contacts_importedContacts.md delete mode 100644 old_docs/API_docs_v103/constructors/contacts_resolvedPeer.md delete mode 100644 old_docs/API_docs_v103/constructors/contacts_topPeers.md delete mode 100644 old_docs/API_docs_v103/constructors/contacts_topPeersDisabled.md delete mode 100644 old_docs/API_docs_v103/constructors/contacts_topPeersNotModified.md create mode 100644 old_docs/API_docs_v103/constructors/help.appUpdate.md create mode 100644 old_docs/API_docs_v103/constructors/help.configSimple.md create mode 100644 old_docs/API_docs_v103/constructors/help.deepLinkInfo.md create mode 100644 old_docs/API_docs_v103/constructors/help.deepLinkInfoEmpty.md create mode 100644 old_docs/API_docs_v103/constructors/help.inviteText.md create mode 100644 old_docs/API_docs_v103/constructors/help.noAppUpdate.md create mode 100644 old_docs/API_docs_v103/constructors/help.passportConfig.md create mode 100644 old_docs/API_docs_v103/constructors/help.passportConfigNotModified.md create mode 100644 old_docs/API_docs_v103/constructors/help.proxyDataEmpty.md create mode 100644 old_docs/API_docs_v103/constructors/help.proxyDataPromo.md create mode 100644 old_docs/API_docs_v103/constructors/help.recentMeUrls.md create mode 100644 old_docs/API_docs_v103/constructors/help.support.md create mode 100644 old_docs/API_docs_v103/constructors/help.supportName.md create mode 100644 old_docs/API_docs_v103/constructors/help.termsOfService.md create mode 100644 old_docs/API_docs_v103/constructors/help.termsOfServiceUpdate.md create mode 100644 old_docs/API_docs_v103/constructors/help.termsOfServiceUpdateEmpty.md create mode 100644 old_docs/API_docs_v103/constructors/help.userInfo.md create mode 100644 old_docs/API_docs_v103/constructors/help.userInfoEmpty.md delete mode 100644 old_docs/API_docs_v103/constructors/help_appUpdate.md delete mode 100644 old_docs/API_docs_v103/constructors/help_configSimple.md delete mode 100644 old_docs/API_docs_v103/constructors/help_deepLinkInfo.md delete mode 100644 old_docs/API_docs_v103/constructors/help_deepLinkInfoEmpty.md delete mode 100644 old_docs/API_docs_v103/constructors/help_inviteText.md delete mode 100644 old_docs/API_docs_v103/constructors/help_noAppUpdate.md delete mode 100644 old_docs/API_docs_v103/constructors/help_passportConfig.md delete mode 100644 old_docs/API_docs_v103/constructors/help_passportConfigNotModified.md delete mode 100644 old_docs/API_docs_v103/constructors/help_proxyDataEmpty.md delete mode 100644 old_docs/API_docs_v103/constructors/help_proxyDataPromo.md delete mode 100644 old_docs/API_docs_v103/constructors/help_recentMeUrls.md delete mode 100644 old_docs/API_docs_v103/constructors/help_support.md delete mode 100644 old_docs/API_docs_v103/constructors/help_supportName.md delete mode 100644 old_docs/API_docs_v103/constructors/help_termsOfService.md delete mode 100644 old_docs/API_docs_v103/constructors/help_termsOfServiceUpdate.md delete mode 100644 old_docs/API_docs_v103/constructors/help_termsOfServiceUpdateEmpty.md delete mode 100644 old_docs/API_docs_v103/constructors/help_userInfo.md delete mode 100644 old_docs/API_docs_v103/constructors/help_userInfoEmpty.md create mode 100644 old_docs/API_docs_v103/constructors/messages.affectedHistory.md create mode 100644 old_docs/API_docs_v103/constructors/messages.affectedMessages.md create mode 100644 old_docs/API_docs_v103/constructors/messages.allStickers.md create mode 100644 old_docs/API_docs_v103/constructors/messages.allStickersNotModified.md create mode 100644 old_docs/API_docs_v103/constructors/messages.archivedStickers.md create mode 100644 old_docs/API_docs_v103/constructors/messages.botCallbackAnswer.md create mode 100644 old_docs/API_docs_v103/constructors/messages.botResults.md create mode 100644 old_docs/API_docs_v103/constructors/messages.channelMessages.md create mode 100644 old_docs/API_docs_v103/constructors/messages.chatFull.md create mode 100644 old_docs/API_docs_v103/constructors/messages.chats.md create mode 100644 old_docs/API_docs_v103/constructors/messages.chatsSlice.md create mode 100644 old_docs/API_docs_v103/constructors/messages.dhConfig.md create mode 100644 old_docs/API_docs_v103/constructors/messages.dhConfigNotModified.md create mode 100644 old_docs/API_docs_v103/constructors/messages.dialogs.md create mode 100644 old_docs/API_docs_v103/constructors/messages.dialogsNotModified.md create mode 100644 old_docs/API_docs_v103/constructors/messages.dialogsSlice.md create mode 100644 old_docs/API_docs_v103/constructors/messages.favedStickers.md create mode 100644 old_docs/API_docs_v103/constructors/messages.favedStickersNotModified.md create mode 100644 old_docs/API_docs_v103/constructors/messages.featuredStickers.md create mode 100644 old_docs/API_docs_v103/constructors/messages.featuredStickersNotModified.md create mode 100644 old_docs/API_docs_v103/constructors/messages.foundGifs.md create mode 100644 old_docs/API_docs_v103/constructors/messages.foundStickerSets.md create mode 100644 old_docs/API_docs_v103/constructors/messages.foundStickerSetsNotModified.md create mode 100644 old_docs/API_docs_v103/constructors/messages.highScores.md create mode 100644 old_docs/API_docs_v103/constructors/messages.messageEditData.md create mode 100644 old_docs/API_docs_v103/constructors/messages.messages.md create mode 100644 old_docs/API_docs_v103/constructors/messages.messagesNotModified.md create mode 100644 old_docs/API_docs_v103/constructors/messages.messagesSlice.md create mode 100644 old_docs/API_docs_v103/constructors/messages.peerDialogs.md create mode 100644 old_docs/API_docs_v103/constructors/messages.recentStickers.md create mode 100644 old_docs/API_docs_v103/constructors/messages.recentStickersNotModified.md create mode 100644 old_docs/API_docs_v103/constructors/messages.savedGifs.md create mode 100644 old_docs/API_docs_v103/constructors/messages.savedGifsNotModified.md create mode 100644 old_docs/API_docs_v103/constructors/messages.searchCounter.md create mode 100644 old_docs/API_docs_v103/constructors/messages.sentEncryptedFile.md create mode 100644 old_docs/API_docs_v103/constructors/messages.sentEncryptedMessage.md create mode 100644 old_docs/API_docs_v103/constructors/messages.stickerSet.md create mode 100644 old_docs/API_docs_v103/constructors/messages.stickerSetInstallResultArchive.md create mode 100644 old_docs/API_docs_v103/constructors/messages.stickerSetInstallResultSuccess.md create mode 100644 old_docs/API_docs_v103/constructors/messages.stickers.md create mode 100644 old_docs/API_docs_v103/constructors/messages.stickersNotModified.md delete mode 100644 old_docs/API_docs_v103/constructors/messages_affectedHistory.md delete mode 100644 old_docs/API_docs_v103/constructors/messages_affectedMessages.md delete mode 100644 old_docs/API_docs_v103/constructors/messages_allStickers.md delete mode 100644 old_docs/API_docs_v103/constructors/messages_allStickersNotModified.md delete mode 100644 old_docs/API_docs_v103/constructors/messages_archivedStickers.md delete mode 100644 old_docs/API_docs_v103/constructors/messages_botCallbackAnswer.md delete mode 100644 old_docs/API_docs_v103/constructors/messages_botResults.md delete mode 100644 old_docs/API_docs_v103/constructors/messages_channelMessages.md delete mode 100644 old_docs/API_docs_v103/constructors/messages_chatFull.md delete mode 100644 old_docs/API_docs_v103/constructors/messages_chats.md delete mode 100644 old_docs/API_docs_v103/constructors/messages_chatsSlice.md delete mode 100644 old_docs/API_docs_v103/constructors/messages_dhConfig.md delete mode 100644 old_docs/API_docs_v103/constructors/messages_dhConfigNotModified.md delete mode 100644 old_docs/API_docs_v103/constructors/messages_dialogs.md delete mode 100644 old_docs/API_docs_v103/constructors/messages_dialogsNotModified.md delete mode 100644 old_docs/API_docs_v103/constructors/messages_dialogsSlice.md delete mode 100644 old_docs/API_docs_v103/constructors/messages_favedStickers.md delete mode 100644 old_docs/API_docs_v103/constructors/messages_favedStickersNotModified.md delete mode 100644 old_docs/API_docs_v103/constructors/messages_featuredStickers.md delete mode 100644 old_docs/API_docs_v103/constructors/messages_featuredStickersNotModified.md delete mode 100644 old_docs/API_docs_v103/constructors/messages_foundGifs.md delete mode 100644 old_docs/API_docs_v103/constructors/messages_foundStickerSets.md delete mode 100644 old_docs/API_docs_v103/constructors/messages_foundStickerSetsNotModified.md delete mode 100644 old_docs/API_docs_v103/constructors/messages_highScores.md delete mode 100644 old_docs/API_docs_v103/constructors/messages_messageEditData.md delete mode 100644 old_docs/API_docs_v103/constructors/messages_messages.md delete mode 100644 old_docs/API_docs_v103/constructors/messages_messagesNotModified.md delete mode 100644 old_docs/API_docs_v103/constructors/messages_messagesSlice.md delete mode 100644 old_docs/API_docs_v103/constructors/messages_peerDialogs.md delete mode 100644 old_docs/API_docs_v103/constructors/messages_recentStickers.md delete mode 100644 old_docs/API_docs_v103/constructors/messages_recentStickersNotModified.md delete mode 100644 old_docs/API_docs_v103/constructors/messages_savedGifs.md delete mode 100644 old_docs/API_docs_v103/constructors/messages_savedGifsNotModified.md delete mode 100644 old_docs/API_docs_v103/constructors/messages_searchCounter.md delete mode 100644 old_docs/API_docs_v103/constructors/messages_sentEncryptedFile.md delete mode 100644 old_docs/API_docs_v103/constructors/messages_sentEncryptedMessage.md delete mode 100644 old_docs/API_docs_v103/constructors/messages_stickerSet.md delete mode 100644 old_docs/API_docs_v103/constructors/messages_stickerSetInstallResultArchive.md delete mode 100644 old_docs/API_docs_v103/constructors/messages_stickerSetInstallResultSuccess.md delete mode 100644 old_docs/API_docs_v103/constructors/messages_stickers.md delete mode 100644 old_docs/API_docs_v103/constructors/messages_stickersNotModified.md create mode 100644 old_docs/API_docs_v103/constructors/payments.paymentForm.md create mode 100644 old_docs/API_docs_v103/constructors/payments.paymentReceipt.md create mode 100644 old_docs/API_docs_v103/constructors/payments.paymentResult.md create mode 100644 old_docs/API_docs_v103/constructors/payments.paymentVerficationNeeded.md create mode 100644 old_docs/API_docs_v103/constructors/payments.savedInfo.md create mode 100644 old_docs/API_docs_v103/constructors/payments.validatedRequestedInfo.md delete mode 100644 old_docs/API_docs_v103/constructors/payments_paymentForm.md delete mode 100644 old_docs/API_docs_v103/constructors/payments_paymentReceipt.md delete mode 100644 old_docs/API_docs_v103/constructors/payments_paymentResult.md delete mode 100644 old_docs/API_docs_v103/constructors/payments_paymentVerficationNeeded.md delete mode 100644 old_docs/API_docs_v103/constructors/payments_savedInfo.md delete mode 100644 old_docs/API_docs_v103/constructors/payments_validatedRequestedInfo.md create mode 100644 old_docs/API_docs_v103/constructors/phone.phoneCall.md delete mode 100644 old_docs/API_docs_v103/constructors/phone_phoneCall.md create mode 100644 old_docs/API_docs_v103/constructors/photos.photo.md create mode 100644 old_docs/API_docs_v103/constructors/photos.photos.md create mode 100644 old_docs/API_docs_v103/constructors/photos.photosSlice.md delete mode 100644 old_docs/API_docs_v103/constructors/photos_photo.md delete mode 100644 old_docs/API_docs_v103/constructors/photos_photos.md delete mode 100644 old_docs/API_docs_v103/constructors/photos_photosSlice.md create mode 100644 old_docs/API_docs_v103/constructors/storage.fileGif.md create mode 100644 old_docs/API_docs_v103/constructors/storage.fileJpeg.md create mode 100644 old_docs/API_docs_v103/constructors/storage.fileMov.md create mode 100644 old_docs/API_docs_v103/constructors/storage.fileMp3.md create mode 100644 old_docs/API_docs_v103/constructors/storage.fileMp4.md create mode 100644 old_docs/API_docs_v103/constructors/storage.filePartial.md create mode 100644 old_docs/API_docs_v103/constructors/storage.filePdf.md create mode 100644 old_docs/API_docs_v103/constructors/storage.filePng.md create mode 100644 old_docs/API_docs_v103/constructors/storage.fileUnknown.md create mode 100644 old_docs/API_docs_v103/constructors/storage.fileWebp.md delete mode 100644 old_docs/API_docs_v103/constructors/storage_fileGif.md delete mode 100644 old_docs/API_docs_v103/constructors/storage_fileJpeg.md delete mode 100644 old_docs/API_docs_v103/constructors/storage_fileMov.md delete mode 100644 old_docs/API_docs_v103/constructors/storage_fileMp3.md delete mode 100644 old_docs/API_docs_v103/constructors/storage_fileMp4.md delete mode 100644 old_docs/API_docs_v103/constructors/storage_filePartial.md delete mode 100644 old_docs/API_docs_v103/constructors/storage_filePdf.md delete mode 100644 old_docs/API_docs_v103/constructors/storage_filePng.md delete mode 100644 old_docs/API_docs_v103/constructors/storage_fileUnknown.md delete mode 100644 old_docs/API_docs_v103/constructors/storage_fileWebp.md create mode 100644 old_docs/API_docs_v103/constructors/updates.channelDifference.md create mode 100644 old_docs/API_docs_v103/constructors/updates.channelDifferenceEmpty.md create mode 100644 old_docs/API_docs_v103/constructors/updates.channelDifferenceTooLong.md create mode 100644 old_docs/API_docs_v103/constructors/updates.difference.md create mode 100644 old_docs/API_docs_v103/constructors/updates.differenceEmpty.md create mode 100644 old_docs/API_docs_v103/constructors/updates.differenceSlice.md create mode 100644 old_docs/API_docs_v103/constructors/updates.differenceTooLong.md create mode 100644 old_docs/API_docs_v103/constructors/updates.state.md delete mode 100644 old_docs/API_docs_v103/constructors/updates_channelDifference.md delete mode 100644 old_docs/API_docs_v103/constructors/updates_channelDifferenceEmpty.md delete mode 100644 old_docs/API_docs_v103/constructors/updates_channelDifferenceTooLong.md delete mode 100644 old_docs/API_docs_v103/constructors/updates_difference.md delete mode 100644 old_docs/API_docs_v103/constructors/updates_differenceEmpty.md delete mode 100644 old_docs/API_docs_v103/constructors/updates_differenceSlice.md delete mode 100644 old_docs/API_docs_v103/constructors/updates_differenceTooLong.md delete mode 100644 old_docs/API_docs_v103/constructors/updates_state.md create mode 100644 old_docs/API_docs_v103/constructors/upload.cdnFile.md create mode 100644 old_docs/API_docs_v103/constructors/upload.cdnFileReuploadNeeded.md create mode 100644 old_docs/API_docs_v103/constructors/upload.file.md create mode 100644 old_docs/API_docs_v103/constructors/upload.fileCdnRedirect.md create mode 100644 old_docs/API_docs_v103/constructors/upload.webFile.md delete mode 100644 old_docs/API_docs_v103/constructors/upload_cdnFile.md delete mode 100644 old_docs/API_docs_v103/constructors/upload_cdnFileReuploadNeeded.md delete mode 100644 old_docs/API_docs_v103/constructors/upload_file.md delete mode 100644 old_docs/API_docs_v103/constructors/upload_fileCdnRedirect.md delete mode 100644 old_docs/API_docs_v103/constructors/upload_webFile.md create mode 100644 old_docs/API_docs_v103/types/account.AuthorizationForm.md create mode 100644 old_docs/API_docs_v103/types/account.Authorizations.md create mode 100644 old_docs/API_docs_v103/types/account.AutoDownloadSettings.md create mode 100644 old_docs/API_docs_v103/types/account.Password.md create mode 100644 old_docs/API_docs_v103/types/account.PasswordInputSettings.md create mode 100644 old_docs/API_docs_v103/types/account.PasswordSettings.md create mode 100644 old_docs/API_docs_v103/types/account.PrivacyRules.md create mode 100644 old_docs/API_docs_v103/types/account.SentEmailCode.md create mode 100644 old_docs/API_docs_v103/types/account.Takeout.md create mode 100644 old_docs/API_docs_v103/types/account.TmpPassword.md create mode 100644 old_docs/API_docs_v103/types/account.WallPapers.md create mode 100644 old_docs/API_docs_v103/types/account.WebAuthorizations.md delete mode 100644 old_docs/API_docs_v103/types/account_AuthorizationForm.md delete mode 100644 old_docs/API_docs_v103/types/account_Authorizations.md delete mode 100644 old_docs/API_docs_v103/types/account_AutoDownloadSettings.md delete mode 100644 old_docs/API_docs_v103/types/account_Password.md delete mode 100644 old_docs/API_docs_v103/types/account_PasswordInputSettings.md delete mode 100644 old_docs/API_docs_v103/types/account_PasswordSettings.md delete mode 100644 old_docs/API_docs_v103/types/account_PrivacyRules.md delete mode 100644 old_docs/API_docs_v103/types/account_SentEmailCode.md delete mode 100644 old_docs/API_docs_v103/types/account_Takeout.md delete mode 100644 old_docs/API_docs_v103/types/account_TmpPassword.md delete mode 100644 old_docs/API_docs_v103/types/account_WallPapers.md delete mode 100644 old_docs/API_docs_v103/types/account_WebAuthorizations.md create mode 100644 old_docs/API_docs_v103/types/auth.Authorization.md create mode 100644 old_docs/API_docs_v103/types/auth.CheckedPhone.md create mode 100644 old_docs/API_docs_v103/types/auth.CodeType.md create mode 100644 old_docs/API_docs_v103/types/auth.ExportedAuthorization.md create mode 100644 old_docs/API_docs_v103/types/auth.PasswordRecovery.md create mode 100644 old_docs/API_docs_v103/types/auth.SentCode.md create mode 100644 old_docs/API_docs_v103/types/auth.SentCodeType.md delete mode 100644 old_docs/API_docs_v103/types/auth_Authorization.md delete mode 100644 old_docs/API_docs_v103/types/auth_CheckedPhone.md delete mode 100644 old_docs/API_docs_v103/types/auth_CodeType.md delete mode 100644 old_docs/API_docs_v103/types/auth_ExportedAuthorization.md delete mode 100644 old_docs/API_docs_v103/types/auth_PasswordRecovery.md delete mode 100644 old_docs/API_docs_v103/types/auth_SentCode.md delete mode 100644 old_docs/API_docs_v103/types/auth_SentCodeType.md create mode 100644 old_docs/API_docs_v103/types/channels.AdminLogResults.md create mode 100644 old_docs/API_docs_v103/types/channels.ChannelParticipant.md create mode 100644 old_docs/API_docs_v103/types/channels.ChannelParticipants.md delete mode 100644 old_docs/API_docs_v103/types/channels_AdminLogResults.md delete mode 100644 old_docs/API_docs_v103/types/channels_ChannelParticipant.md delete mode 100644 old_docs/API_docs_v103/types/channels_ChannelParticipants.md create mode 100644 old_docs/API_docs_v103/types/contacts.Blocked.md create mode 100644 old_docs/API_docs_v103/types/contacts.Contacts.md create mode 100644 old_docs/API_docs_v103/types/contacts.Found.md create mode 100644 old_docs/API_docs_v103/types/contacts.ImportedContacts.md create mode 100644 old_docs/API_docs_v103/types/contacts.ResolvedPeer.md create mode 100644 old_docs/API_docs_v103/types/contacts.TopPeers.md delete mode 100644 old_docs/API_docs_v103/types/contacts_Blocked.md delete mode 100644 old_docs/API_docs_v103/types/contacts_Contacts.md delete mode 100644 old_docs/API_docs_v103/types/contacts_Found.md delete mode 100644 old_docs/API_docs_v103/types/contacts_ImportedContacts.md delete mode 100644 old_docs/API_docs_v103/types/contacts_ResolvedPeer.md delete mode 100644 old_docs/API_docs_v103/types/contacts_TopPeers.md create mode 100644 old_docs/API_docs_v103/types/help.AppUpdate.md create mode 100644 old_docs/API_docs_v103/types/help.ConfigSimple.md create mode 100644 old_docs/API_docs_v103/types/help.DeepLinkInfo.md create mode 100644 old_docs/API_docs_v103/types/help.InviteText.md create mode 100644 old_docs/API_docs_v103/types/help.PassportConfig.md create mode 100644 old_docs/API_docs_v103/types/help.ProxyData.md create mode 100644 old_docs/API_docs_v103/types/help.RecentMeUrls.md create mode 100644 old_docs/API_docs_v103/types/help.Support.md create mode 100644 old_docs/API_docs_v103/types/help.SupportName.md create mode 100644 old_docs/API_docs_v103/types/help.TermsOfService.md create mode 100644 old_docs/API_docs_v103/types/help.TermsOfServiceUpdate.md create mode 100644 old_docs/API_docs_v103/types/help.UserInfo.md delete mode 100644 old_docs/API_docs_v103/types/help_AppUpdate.md delete mode 100644 old_docs/API_docs_v103/types/help_ConfigSimple.md delete mode 100644 old_docs/API_docs_v103/types/help_DeepLinkInfo.md delete mode 100644 old_docs/API_docs_v103/types/help_InviteText.md delete mode 100644 old_docs/API_docs_v103/types/help_PassportConfig.md delete mode 100644 old_docs/API_docs_v103/types/help_ProxyData.md delete mode 100644 old_docs/API_docs_v103/types/help_RecentMeUrls.md delete mode 100644 old_docs/API_docs_v103/types/help_Support.md delete mode 100644 old_docs/API_docs_v103/types/help_SupportName.md delete mode 100644 old_docs/API_docs_v103/types/help_TermsOfService.md delete mode 100644 old_docs/API_docs_v103/types/help_TermsOfServiceUpdate.md delete mode 100644 old_docs/API_docs_v103/types/help_UserInfo.md create mode 100644 old_docs/API_docs_v103/types/messages.AffectedHistory.md create mode 100644 old_docs/API_docs_v103/types/messages.AffectedMessages.md create mode 100644 old_docs/API_docs_v103/types/messages.AllStickers.md create mode 100644 old_docs/API_docs_v103/types/messages.ArchivedStickers.md create mode 100644 old_docs/API_docs_v103/types/messages.BotCallbackAnswer.md create mode 100644 old_docs/API_docs_v103/types/messages.BotResults.md create mode 100644 old_docs/API_docs_v103/types/messages.ChatFull.md create mode 100644 old_docs/API_docs_v103/types/messages.Chats.md create mode 100644 old_docs/API_docs_v103/types/messages.DhConfig.md create mode 100644 old_docs/API_docs_v103/types/messages.Dialogs.md create mode 100644 old_docs/API_docs_v103/types/messages.FavedStickers.md create mode 100644 old_docs/API_docs_v103/types/messages.FeaturedStickers.md create mode 100644 old_docs/API_docs_v103/types/messages.FoundGifs.md create mode 100644 old_docs/API_docs_v103/types/messages.FoundStickerSets.md create mode 100644 old_docs/API_docs_v103/types/messages.HighScores.md create mode 100644 old_docs/API_docs_v103/types/messages.MessageEditData.md create mode 100644 old_docs/API_docs_v103/types/messages.Messages.md create mode 100644 old_docs/API_docs_v103/types/messages.PeerDialogs.md create mode 100644 old_docs/API_docs_v103/types/messages.RecentStickers.md create mode 100644 old_docs/API_docs_v103/types/messages.SavedGifs.md create mode 100644 old_docs/API_docs_v103/types/messages.SearchCounter.md create mode 100644 old_docs/API_docs_v103/types/messages.SentEncryptedMessage.md create mode 100644 old_docs/API_docs_v103/types/messages.StickerSet.md create mode 100644 old_docs/API_docs_v103/types/messages.StickerSetInstallResult.md create mode 100644 old_docs/API_docs_v103/types/messages.Stickers.md delete mode 100644 old_docs/API_docs_v103/types/messages_AffectedHistory.md delete mode 100644 old_docs/API_docs_v103/types/messages_AffectedMessages.md delete mode 100644 old_docs/API_docs_v103/types/messages_AllStickers.md delete mode 100644 old_docs/API_docs_v103/types/messages_ArchivedStickers.md delete mode 100644 old_docs/API_docs_v103/types/messages_BotCallbackAnswer.md delete mode 100644 old_docs/API_docs_v103/types/messages_BotResults.md delete mode 100644 old_docs/API_docs_v103/types/messages_ChatFull.md delete mode 100644 old_docs/API_docs_v103/types/messages_Chats.md delete mode 100644 old_docs/API_docs_v103/types/messages_DhConfig.md delete mode 100644 old_docs/API_docs_v103/types/messages_Dialogs.md delete mode 100644 old_docs/API_docs_v103/types/messages_FavedStickers.md delete mode 100644 old_docs/API_docs_v103/types/messages_FeaturedStickers.md delete mode 100644 old_docs/API_docs_v103/types/messages_FoundGifs.md delete mode 100644 old_docs/API_docs_v103/types/messages_FoundStickerSets.md delete mode 100644 old_docs/API_docs_v103/types/messages_HighScores.md delete mode 100644 old_docs/API_docs_v103/types/messages_MessageEditData.md delete mode 100644 old_docs/API_docs_v103/types/messages_Messages.md delete mode 100644 old_docs/API_docs_v103/types/messages_PeerDialogs.md delete mode 100644 old_docs/API_docs_v103/types/messages_RecentStickers.md delete mode 100644 old_docs/API_docs_v103/types/messages_SavedGifs.md delete mode 100644 old_docs/API_docs_v103/types/messages_SearchCounter.md delete mode 100644 old_docs/API_docs_v103/types/messages_SentEncryptedMessage.md delete mode 100644 old_docs/API_docs_v103/types/messages_StickerSet.md delete mode 100644 old_docs/API_docs_v103/types/messages_StickerSetInstallResult.md delete mode 100644 old_docs/API_docs_v103/types/messages_Stickers.md create mode 100644 old_docs/API_docs_v103/types/payments.PaymentForm.md create mode 100644 old_docs/API_docs_v103/types/payments.PaymentReceipt.md create mode 100644 old_docs/API_docs_v103/types/payments.PaymentResult.md create mode 100644 old_docs/API_docs_v103/types/payments.SavedInfo.md create mode 100644 old_docs/API_docs_v103/types/payments.ValidatedRequestedInfo.md delete mode 100644 old_docs/API_docs_v103/types/payments_PaymentForm.md delete mode 100644 old_docs/API_docs_v103/types/payments_PaymentReceipt.md delete mode 100644 old_docs/API_docs_v103/types/payments_PaymentResult.md delete mode 100644 old_docs/API_docs_v103/types/payments_SavedInfo.md delete mode 100644 old_docs/API_docs_v103/types/payments_ValidatedRequestedInfo.md create mode 100644 old_docs/API_docs_v103/types/phone.PhoneCall.md delete mode 100644 old_docs/API_docs_v103/types/phone_PhoneCall.md create mode 100644 old_docs/API_docs_v103/types/photos.Photo.md create mode 100644 old_docs/API_docs_v103/types/photos.Photos.md delete mode 100644 old_docs/API_docs_v103/types/photos_Photo.md delete mode 100644 old_docs/API_docs_v103/types/photos_Photos.md create mode 100644 old_docs/API_docs_v103/types/storage.FileType.md delete mode 100644 old_docs/API_docs_v103/types/storage_FileType.md create mode 100644 old_docs/API_docs_v103/types/updates.ChannelDifference.md create mode 100644 old_docs/API_docs_v103/types/updates.Difference.md create mode 100644 old_docs/API_docs_v103/types/updates.State.md delete mode 100644 old_docs/API_docs_v103/types/updates_ChannelDifference.md delete mode 100644 old_docs/API_docs_v103/types/updates_Difference.md delete mode 100644 old_docs/API_docs_v103/types/updates_State.md create mode 100644 old_docs/API_docs_v103/types/upload.CdnFile.md create mode 100644 old_docs/API_docs_v103/types/upload.File.md create mode 100644 old_docs/API_docs_v103/types/upload.WebFile.md delete mode 100644 old_docs/API_docs_v103/types/upload_CdnFile.md delete mode 100644 old_docs/API_docs_v103/types/upload_File.md delete mode 100644 old_docs/API_docs_v103/types/upload_WebFile.md create mode 100644 old_docs/API_docs_v104/constructors/account.authorizationForm.md create mode 100644 old_docs/API_docs_v104/constructors/account.authorizations.md create mode 100644 old_docs/API_docs_v104/constructors/account.autoDownloadSettings.md create mode 100644 old_docs/API_docs_v104/constructors/account.password.md create mode 100644 old_docs/API_docs_v104/constructors/account.passwordInputSettings.md create mode 100644 old_docs/API_docs_v104/constructors/account.passwordSettings.md create mode 100644 old_docs/API_docs_v104/constructors/account.privacyRules.md create mode 100644 old_docs/API_docs_v104/constructors/account.sentEmailCode.md create mode 100644 old_docs/API_docs_v104/constructors/account.takeout.md create mode 100644 old_docs/API_docs_v104/constructors/account.tmpPassword.md create mode 100644 old_docs/API_docs_v104/constructors/account.wallPapers.md create mode 100644 old_docs/API_docs_v104/constructors/account.wallPapersNotModified.md create mode 100644 old_docs/API_docs_v104/constructors/account.webAuthorizations.md delete mode 100644 old_docs/API_docs_v104/constructors/account_authorizationForm.md delete mode 100644 old_docs/API_docs_v104/constructors/account_authorizations.md delete mode 100644 old_docs/API_docs_v104/constructors/account_autoDownloadSettings.md delete mode 100644 old_docs/API_docs_v104/constructors/account_password.md delete mode 100644 old_docs/API_docs_v104/constructors/account_passwordInputSettings.md delete mode 100644 old_docs/API_docs_v104/constructors/account_passwordSettings.md delete mode 100644 old_docs/API_docs_v104/constructors/account_privacyRules.md delete mode 100644 old_docs/API_docs_v104/constructors/account_sentEmailCode.md delete mode 100644 old_docs/API_docs_v104/constructors/account_takeout.md delete mode 100644 old_docs/API_docs_v104/constructors/account_tmpPassword.md delete mode 100644 old_docs/API_docs_v104/constructors/account_wallPapers.md delete mode 100644 old_docs/API_docs_v104/constructors/account_wallPapersNotModified.md delete mode 100644 old_docs/API_docs_v104/constructors/account_webAuthorizations.md create mode 100644 old_docs/API_docs_v104/constructors/auth.authorization.md create mode 100644 old_docs/API_docs_v104/constructors/auth.authorizationSignUpRequired.md create mode 100644 old_docs/API_docs_v104/constructors/auth.codeTypeCall.md create mode 100644 old_docs/API_docs_v104/constructors/auth.codeTypeFlashCall.md create mode 100644 old_docs/API_docs_v104/constructors/auth.codeTypeSms.md create mode 100644 old_docs/API_docs_v104/constructors/auth.exportedAuthorization.md create mode 100644 old_docs/API_docs_v104/constructors/auth.passwordRecovery.md create mode 100644 old_docs/API_docs_v104/constructors/auth.sentCode.md create mode 100644 old_docs/API_docs_v104/constructors/auth.sentCodeTypeApp.md create mode 100644 old_docs/API_docs_v104/constructors/auth.sentCodeTypeCall.md create mode 100644 old_docs/API_docs_v104/constructors/auth.sentCodeTypeFlashCall.md create mode 100644 old_docs/API_docs_v104/constructors/auth.sentCodeTypeSms.md delete mode 100644 old_docs/API_docs_v104/constructors/auth_authorization.md delete mode 100644 old_docs/API_docs_v104/constructors/auth_authorizationSignUpRequired.md delete mode 100644 old_docs/API_docs_v104/constructors/auth_codeTypeCall.md delete mode 100644 old_docs/API_docs_v104/constructors/auth_codeTypeFlashCall.md delete mode 100644 old_docs/API_docs_v104/constructors/auth_codeTypeSms.md delete mode 100644 old_docs/API_docs_v104/constructors/auth_exportedAuthorization.md delete mode 100644 old_docs/API_docs_v104/constructors/auth_passwordRecovery.md delete mode 100644 old_docs/API_docs_v104/constructors/auth_sentCode.md delete mode 100644 old_docs/API_docs_v104/constructors/auth_sentCodeTypeApp.md delete mode 100644 old_docs/API_docs_v104/constructors/auth_sentCodeTypeCall.md delete mode 100644 old_docs/API_docs_v104/constructors/auth_sentCodeTypeFlashCall.md delete mode 100644 old_docs/API_docs_v104/constructors/auth_sentCodeTypeSms.md create mode 100644 old_docs/API_docs_v104/constructors/channels.adminLogResults.md create mode 100644 old_docs/API_docs_v104/constructors/channels.channelParticipant.md create mode 100644 old_docs/API_docs_v104/constructors/channels.channelParticipants.md create mode 100644 old_docs/API_docs_v104/constructors/channels.channelParticipantsNotModified.md delete mode 100644 old_docs/API_docs_v104/constructors/channels_adminLogResults.md delete mode 100644 old_docs/API_docs_v104/constructors/channels_channelParticipant.md delete mode 100644 old_docs/API_docs_v104/constructors/channels_channelParticipants.md delete mode 100644 old_docs/API_docs_v104/constructors/channels_channelParticipantsNotModified.md create mode 100644 old_docs/API_docs_v104/constructors/contacts.blocked.md create mode 100644 old_docs/API_docs_v104/constructors/contacts.blockedSlice.md create mode 100644 old_docs/API_docs_v104/constructors/contacts.contacts.md create mode 100644 old_docs/API_docs_v104/constructors/contacts.contactsNotModified.md create mode 100644 old_docs/API_docs_v104/constructors/contacts.found.md create mode 100644 old_docs/API_docs_v104/constructors/contacts.importedContacts.md create mode 100644 old_docs/API_docs_v104/constructors/contacts.resolvedPeer.md create mode 100644 old_docs/API_docs_v104/constructors/contacts.topPeers.md create mode 100644 old_docs/API_docs_v104/constructors/contacts.topPeersDisabled.md create mode 100644 old_docs/API_docs_v104/constructors/contacts.topPeersNotModified.md delete mode 100644 old_docs/API_docs_v104/constructors/contacts_blocked.md delete mode 100644 old_docs/API_docs_v104/constructors/contacts_blockedSlice.md delete mode 100644 old_docs/API_docs_v104/constructors/contacts_contacts.md delete mode 100644 old_docs/API_docs_v104/constructors/contacts_contactsNotModified.md delete mode 100644 old_docs/API_docs_v104/constructors/contacts_found.md delete mode 100644 old_docs/API_docs_v104/constructors/contacts_importedContacts.md delete mode 100644 old_docs/API_docs_v104/constructors/contacts_resolvedPeer.md delete mode 100644 old_docs/API_docs_v104/constructors/contacts_topPeers.md delete mode 100644 old_docs/API_docs_v104/constructors/contacts_topPeersDisabled.md delete mode 100644 old_docs/API_docs_v104/constructors/contacts_topPeersNotModified.md create mode 100644 old_docs/API_docs_v104/constructors/help.appUpdate.md create mode 100644 old_docs/API_docs_v104/constructors/help.configSimple.md create mode 100644 old_docs/API_docs_v104/constructors/help.deepLinkInfo.md create mode 100644 old_docs/API_docs_v104/constructors/help.deepLinkInfoEmpty.md create mode 100644 old_docs/API_docs_v104/constructors/help.inviteText.md create mode 100644 old_docs/API_docs_v104/constructors/help.noAppUpdate.md create mode 100644 old_docs/API_docs_v104/constructors/help.passportConfig.md create mode 100644 old_docs/API_docs_v104/constructors/help.passportConfigNotModified.md create mode 100644 old_docs/API_docs_v104/constructors/help.proxyDataEmpty.md create mode 100644 old_docs/API_docs_v104/constructors/help.proxyDataPromo.md create mode 100644 old_docs/API_docs_v104/constructors/help.recentMeUrls.md create mode 100644 old_docs/API_docs_v104/constructors/help.support.md create mode 100644 old_docs/API_docs_v104/constructors/help.supportName.md create mode 100644 old_docs/API_docs_v104/constructors/help.termsOfService.md create mode 100644 old_docs/API_docs_v104/constructors/help.termsOfServiceUpdate.md create mode 100644 old_docs/API_docs_v104/constructors/help.termsOfServiceUpdateEmpty.md create mode 100644 old_docs/API_docs_v104/constructors/help.userInfo.md create mode 100644 old_docs/API_docs_v104/constructors/help.userInfoEmpty.md delete mode 100644 old_docs/API_docs_v104/constructors/help_appUpdate.md delete mode 100644 old_docs/API_docs_v104/constructors/help_configSimple.md delete mode 100644 old_docs/API_docs_v104/constructors/help_deepLinkInfo.md delete mode 100644 old_docs/API_docs_v104/constructors/help_deepLinkInfoEmpty.md delete mode 100644 old_docs/API_docs_v104/constructors/help_inviteText.md delete mode 100644 old_docs/API_docs_v104/constructors/help_noAppUpdate.md delete mode 100644 old_docs/API_docs_v104/constructors/help_passportConfig.md delete mode 100644 old_docs/API_docs_v104/constructors/help_passportConfigNotModified.md delete mode 100644 old_docs/API_docs_v104/constructors/help_proxyDataEmpty.md delete mode 100644 old_docs/API_docs_v104/constructors/help_proxyDataPromo.md delete mode 100644 old_docs/API_docs_v104/constructors/help_recentMeUrls.md delete mode 100644 old_docs/API_docs_v104/constructors/help_support.md delete mode 100644 old_docs/API_docs_v104/constructors/help_supportName.md delete mode 100644 old_docs/API_docs_v104/constructors/help_termsOfService.md delete mode 100644 old_docs/API_docs_v104/constructors/help_termsOfServiceUpdate.md delete mode 100644 old_docs/API_docs_v104/constructors/help_termsOfServiceUpdateEmpty.md delete mode 100644 old_docs/API_docs_v104/constructors/help_userInfo.md delete mode 100644 old_docs/API_docs_v104/constructors/help_userInfoEmpty.md create mode 100644 old_docs/API_docs_v104/constructors/messages.affectedHistory.md create mode 100644 old_docs/API_docs_v104/constructors/messages.affectedMessages.md create mode 100644 old_docs/API_docs_v104/constructors/messages.allStickers.md create mode 100644 old_docs/API_docs_v104/constructors/messages.allStickersNotModified.md create mode 100644 old_docs/API_docs_v104/constructors/messages.archivedStickers.md create mode 100644 old_docs/API_docs_v104/constructors/messages.botCallbackAnswer.md create mode 100644 old_docs/API_docs_v104/constructors/messages.botResults.md create mode 100644 old_docs/API_docs_v104/constructors/messages.channelMessages.md create mode 100644 old_docs/API_docs_v104/constructors/messages.chatFull.md create mode 100644 old_docs/API_docs_v104/constructors/messages.chats.md create mode 100644 old_docs/API_docs_v104/constructors/messages.chatsSlice.md create mode 100644 old_docs/API_docs_v104/constructors/messages.dhConfig.md create mode 100644 old_docs/API_docs_v104/constructors/messages.dhConfigNotModified.md create mode 100644 old_docs/API_docs_v104/constructors/messages.dialogs.md create mode 100644 old_docs/API_docs_v104/constructors/messages.dialogsNotModified.md create mode 100644 old_docs/API_docs_v104/constructors/messages.dialogsSlice.md create mode 100644 old_docs/API_docs_v104/constructors/messages.favedStickers.md create mode 100644 old_docs/API_docs_v104/constructors/messages.favedStickersNotModified.md create mode 100644 old_docs/API_docs_v104/constructors/messages.featuredStickers.md create mode 100644 old_docs/API_docs_v104/constructors/messages.featuredStickersNotModified.md create mode 100644 old_docs/API_docs_v104/constructors/messages.foundGifs.md create mode 100644 old_docs/API_docs_v104/constructors/messages.foundStickerSets.md create mode 100644 old_docs/API_docs_v104/constructors/messages.foundStickerSetsNotModified.md create mode 100644 old_docs/API_docs_v104/constructors/messages.highScores.md create mode 100644 old_docs/API_docs_v104/constructors/messages.messageEditData.md create mode 100644 old_docs/API_docs_v104/constructors/messages.messages.md create mode 100644 old_docs/API_docs_v104/constructors/messages.messagesNotModified.md create mode 100644 old_docs/API_docs_v104/constructors/messages.messagesSlice.md create mode 100644 old_docs/API_docs_v104/constructors/messages.peerDialogs.md create mode 100644 old_docs/API_docs_v104/constructors/messages.recentStickers.md create mode 100644 old_docs/API_docs_v104/constructors/messages.recentStickersNotModified.md create mode 100644 old_docs/API_docs_v104/constructors/messages.savedGifs.md create mode 100644 old_docs/API_docs_v104/constructors/messages.savedGifsNotModified.md create mode 100644 old_docs/API_docs_v104/constructors/messages.searchCounter.md create mode 100644 old_docs/API_docs_v104/constructors/messages.sentEncryptedFile.md create mode 100644 old_docs/API_docs_v104/constructors/messages.sentEncryptedMessage.md create mode 100644 old_docs/API_docs_v104/constructors/messages.stickerSet.md create mode 100644 old_docs/API_docs_v104/constructors/messages.stickerSetInstallResultArchive.md create mode 100644 old_docs/API_docs_v104/constructors/messages.stickerSetInstallResultSuccess.md create mode 100644 old_docs/API_docs_v104/constructors/messages.stickers.md create mode 100644 old_docs/API_docs_v104/constructors/messages.stickersNotModified.md delete mode 100644 old_docs/API_docs_v104/constructors/messages_affectedHistory.md delete mode 100644 old_docs/API_docs_v104/constructors/messages_affectedMessages.md delete mode 100644 old_docs/API_docs_v104/constructors/messages_allStickers.md delete mode 100644 old_docs/API_docs_v104/constructors/messages_allStickersNotModified.md delete mode 100644 old_docs/API_docs_v104/constructors/messages_archivedStickers.md delete mode 100644 old_docs/API_docs_v104/constructors/messages_botCallbackAnswer.md delete mode 100644 old_docs/API_docs_v104/constructors/messages_botResults.md delete mode 100644 old_docs/API_docs_v104/constructors/messages_channelMessages.md delete mode 100644 old_docs/API_docs_v104/constructors/messages_chatFull.md delete mode 100644 old_docs/API_docs_v104/constructors/messages_chats.md delete mode 100644 old_docs/API_docs_v104/constructors/messages_chatsSlice.md delete mode 100644 old_docs/API_docs_v104/constructors/messages_dhConfig.md delete mode 100644 old_docs/API_docs_v104/constructors/messages_dhConfigNotModified.md delete mode 100644 old_docs/API_docs_v104/constructors/messages_dialogs.md delete mode 100644 old_docs/API_docs_v104/constructors/messages_dialogsNotModified.md delete mode 100644 old_docs/API_docs_v104/constructors/messages_dialogsSlice.md delete mode 100644 old_docs/API_docs_v104/constructors/messages_favedStickers.md delete mode 100644 old_docs/API_docs_v104/constructors/messages_favedStickersNotModified.md delete mode 100644 old_docs/API_docs_v104/constructors/messages_featuredStickers.md delete mode 100644 old_docs/API_docs_v104/constructors/messages_featuredStickersNotModified.md delete mode 100644 old_docs/API_docs_v104/constructors/messages_foundGifs.md delete mode 100644 old_docs/API_docs_v104/constructors/messages_foundStickerSets.md delete mode 100644 old_docs/API_docs_v104/constructors/messages_foundStickerSetsNotModified.md delete mode 100644 old_docs/API_docs_v104/constructors/messages_highScores.md delete mode 100644 old_docs/API_docs_v104/constructors/messages_messageEditData.md delete mode 100644 old_docs/API_docs_v104/constructors/messages_messages.md delete mode 100644 old_docs/API_docs_v104/constructors/messages_messagesNotModified.md delete mode 100644 old_docs/API_docs_v104/constructors/messages_messagesSlice.md delete mode 100644 old_docs/API_docs_v104/constructors/messages_peerDialogs.md delete mode 100644 old_docs/API_docs_v104/constructors/messages_recentStickers.md delete mode 100644 old_docs/API_docs_v104/constructors/messages_recentStickersNotModified.md delete mode 100644 old_docs/API_docs_v104/constructors/messages_savedGifs.md delete mode 100644 old_docs/API_docs_v104/constructors/messages_savedGifsNotModified.md delete mode 100644 old_docs/API_docs_v104/constructors/messages_searchCounter.md delete mode 100644 old_docs/API_docs_v104/constructors/messages_sentEncryptedFile.md delete mode 100644 old_docs/API_docs_v104/constructors/messages_sentEncryptedMessage.md delete mode 100644 old_docs/API_docs_v104/constructors/messages_stickerSet.md delete mode 100644 old_docs/API_docs_v104/constructors/messages_stickerSetInstallResultArchive.md delete mode 100644 old_docs/API_docs_v104/constructors/messages_stickerSetInstallResultSuccess.md delete mode 100644 old_docs/API_docs_v104/constructors/messages_stickers.md delete mode 100644 old_docs/API_docs_v104/constructors/messages_stickersNotModified.md create mode 100644 old_docs/API_docs_v104/constructors/payments.paymentForm.md create mode 100644 old_docs/API_docs_v104/constructors/payments.paymentReceipt.md create mode 100644 old_docs/API_docs_v104/constructors/payments.paymentResult.md create mode 100644 old_docs/API_docs_v104/constructors/payments.paymentVerificationNeeded.md create mode 100644 old_docs/API_docs_v104/constructors/payments.savedInfo.md create mode 100644 old_docs/API_docs_v104/constructors/payments.validatedRequestedInfo.md delete mode 100644 old_docs/API_docs_v104/constructors/payments_paymentForm.md delete mode 100644 old_docs/API_docs_v104/constructors/payments_paymentReceipt.md delete mode 100644 old_docs/API_docs_v104/constructors/payments_paymentResult.md delete mode 100644 old_docs/API_docs_v104/constructors/payments_paymentVerificationNeeded.md delete mode 100644 old_docs/API_docs_v104/constructors/payments_savedInfo.md delete mode 100644 old_docs/API_docs_v104/constructors/payments_validatedRequestedInfo.md create mode 100644 old_docs/API_docs_v104/constructors/phone.phoneCall.md delete mode 100644 old_docs/API_docs_v104/constructors/phone_phoneCall.md create mode 100644 old_docs/API_docs_v104/constructors/photos.photo.md create mode 100644 old_docs/API_docs_v104/constructors/photos.photos.md create mode 100644 old_docs/API_docs_v104/constructors/photos.photosSlice.md delete mode 100644 old_docs/API_docs_v104/constructors/photos_photo.md delete mode 100644 old_docs/API_docs_v104/constructors/photos_photos.md delete mode 100644 old_docs/API_docs_v104/constructors/photos_photosSlice.md create mode 100644 old_docs/API_docs_v104/constructors/storage.fileGif.md create mode 100644 old_docs/API_docs_v104/constructors/storage.fileJpeg.md create mode 100644 old_docs/API_docs_v104/constructors/storage.fileMov.md create mode 100644 old_docs/API_docs_v104/constructors/storage.fileMp3.md create mode 100644 old_docs/API_docs_v104/constructors/storage.fileMp4.md create mode 100644 old_docs/API_docs_v104/constructors/storage.filePartial.md create mode 100644 old_docs/API_docs_v104/constructors/storage.filePdf.md create mode 100644 old_docs/API_docs_v104/constructors/storage.filePng.md create mode 100644 old_docs/API_docs_v104/constructors/storage.fileUnknown.md create mode 100644 old_docs/API_docs_v104/constructors/storage.fileWebp.md delete mode 100644 old_docs/API_docs_v104/constructors/storage_fileGif.md delete mode 100644 old_docs/API_docs_v104/constructors/storage_fileJpeg.md delete mode 100644 old_docs/API_docs_v104/constructors/storage_fileMov.md delete mode 100644 old_docs/API_docs_v104/constructors/storage_fileMp3.md delete mode 100644 old_docs/API_docs_v104/constructors/storage_fileMp4.md delete mode 100644 old_docs/API_docs_v104/constructors/storage_filePartial.md delete mode 100644 old_docs/API_docs_v104/constructors/storage_filePdf.md delete mode 100644 old_docs/API_docs_v104/constructors/storage_filePng.md delete mode 100644 old_docs/API_docs_v104/constructors/storage_fileUnknown.md delete mode 100644 old_docs/API_docs_v104/constructors/storage_fileWebp.md create mode 100644 old_docs/API_docs_v104/constructors/updates.channelDifference.md create mode 100644 old_docs/API_docs_v104/constructors/updates.channelDifferenceEmpty.md create mode 100644 old_docs/API_docs_v104/constructors/updates.channelDifferenceTooLong.md create mode 100644 old_docs/API_docs_v104/constructors/updates.difference.md create mode 100644 old_docs/API_docs_v104/constructors/updates.differenceEmpty.md create mode 100644 old_docs/API_docs_v104/constructors/updates.differenceSlice.md create mode 100644 old_docs/API_docs_v104/constructors/updates.differenceTooLong.md create mode 100644 old_docs/API_docs_v104/constructors/updates.state.md delete mode 100644 old_docs/API_docs_v104/constructors/updates_channelDifference.md delete mode 100644 old_docs/API_docs_v104/constructors/updates_channelDifferenceEmpty.md delete mode 100644 old_docs/API_docs_v104/constructors/updates_channelDifferenceTooLong.md delete mode 100644 old_docs/API_docs_v104/constructors/updates_difference.md delete mode 100644 old_docs/API_docs_v104/constructors/updates_differenceEmpty.md delete mode 100644 old_docs/API_docs_v104/constructors/updates_differenceSlice.md delete mode 100644 old_docs/API_docs_v104/constructors/updates_differenceTooLong.md delete mode 100644 old_docs/API_docs_v104/constructors/updates_state.md create mode 100644 old_docs/API_docs_v104/constructors/upload.cdnFile.md create mode 100644 old_docs/API_docs_v104/constructors/upload.cdnFileReuploadNeeded.md create mode 100644 old_docs/API_docs_v104/constructors/upload.file.md create mode 100644 old_docs/API_docs_v104/constructors/upload.fileCdnRedirect.md create mode 100644 old_docs/API_docs_v104/constructors/upload.webFile.md delete mode 100644 old_docs/API_docs_v104/constructors/upload_cdnFile.md delete mode 100644 old_docs/API_docs_v104/constructors/upload_cdnFileReuploadNeeded.md delete mode 100644 old_docs/API_docs_v104/constructors/upload_file.md delete mode 100644 old_docs/API_docs_v104/constructors/upload_fileCdnRedirect.md delete mode 100644 old_docs/API_docs_v104/constructors/upload_webFile.md create mode 100644 old_docs/API_docs_v104/types/account.AuthorizationForm.md create mode 100644 old_docs/API_docs_v104/types/account.Authorizations.md create mode 100644 old_docs/API_docs_v104/types/account.AutoDownloadSettings.md create mode 100644 old_docs/API_docs_v104/types/account.Password.md create mode 100644 old_docs/API_docs_v104/types/account.PasswordInputSettings.md create mode 100644 old_docs/API_docs_v104/types/account.PasswordSettings.md create mode 100644 old_docs/API_docs_v104/types/account.PrivacyRules.md create mode 100644 old_docs/API_docs_v104/types/account.SentEmailCode.md create mode 100644 old_docs/API_docs_v104/types/account.Takeout.md create mode 100644 old_docs/API_docs_v104/types/account.TmpPassword.md create mode 100644 old_docs/API_docs_v104/types/account.WallPapers.md create mode 100644 old_docs/API_docs_v104/types/account.WebAuthorizations.md delete mode 100644 old_docs/API_docs_v104/types/account_AuthorizationForm.md delete mode 100644 old_docs/API_docs_v104/types/account_Authorizations.md delete mode 100644 old_docs/API_docs_v104/types/account_AutoDownloadSettings.md delete mode 100644 old_docs/API_docs_v104/types/account_Password.md delete mode 100644 old_docs/API_docs_v104/types/account_PasswordInputSettings.md delete mode 100644 old_docs/API_docs_v104/types/account_PasswordSettings.md delete mode 100644 old_docs/API_docs_v104/types/account_PrivacyRules.md delete mode 100644 old_docs/API_docs_v104/types/account_SentEmailCode.md delete mode 100644 old_docs/API_docs_v104/types/account_Takeout.md delete mode 100644 old_docs/API_docs_v104/types/account_TmpPassword.md delete mode 100644 old_docs/API_docs_v104/types/account_WallPapers.md delete mode 100644 old_docs/API_docs_v104/types/account_WebAuthorizations.md create mode 100644 old_docs/API_docs_v104/types/auth.Authorization.md create mode 100644 old_docs/API_docs_v104/types/auth.CodeType.md create mode 100644 old_docs/API_docs_v104/types/auth.ExportedAuthorization.md create mode 100644 old_docs/API_docs_v104/types/auth.PasswordRecovery.md create mode 100644 old_docs/API_docs_v104/types/auth.SentCode.md create mode 100644 old_docs/API_docs_v104/types/auth.SentCodeType.md delete mode 100644 old_docs/API_docs_v104/types/auth_Authorization.md delete mode 100644 old_docs/API_docs_v104/types/auth_CodeType.md delete mode 100644 old_docs/API_docs_v104/types/auth_ExportedAuthorization.md delete mode 100644 old_docs/API_docs_v104/types/auth_PasswordRecovery.md delete mode 100644 old_docs/API_docs_v104/types/auth_SentCode.md delete mode 100644 old_docs/API_docs_v104/types/auth_SentCodeType.md create mode 100644 old_docs/API_docs_v104/types/channels.AdminLogResults.md create mode 100644 old_docs/API_docs_v104/types/channels.ChannelParticipant.md create mode 100644 old_docs/API_docs_v104/types/channels.ChannelParticipants.md delete mode 100644 old_docs/API_docs_v104/types/channels_AdminLogResults.md delete mode 100644 old_docs/API_docs_v104/types/channels_ChannelParticipant.md delete mode 100644 old_docs/API_docs_v104/types/channels_ChannelParticipants.md create mode 100644 old_docs/API_docs_v104/types/contacts.Blocked.md create mode 100644 old_docs/API_docs_v104/types/contacts.Contacts.md create mode 100644 old_docs/API_docs_v104/types/contacts.Found.md create mode 100644 old_docs/API_docs_v104/types/contacts.ImportedContacts.md create mode 100644 old_docs/API_docs_v104/types/contacts.ResolvedPeer.md create mode 100644 old_docs/API_docs_v104/types/contacts.TopPeers.md delete mode 100644 old_docs/API_docs_v104/types/contacts_Blocked.md delete mode 100644 old_docs/API_docs_v104/types/contacts_Contacts.md delete mode 100644 old_docs/API_docs_v104/types/contacts_Found.md delete mode 100644 old_docs/API_docs_v104/types/contacts_ImportedContacts.md delete mode 100644 old_docs/API_docs_v104/types/contacts_ResolvedPeer.md delete mode 100644 old_docs/API_docs_v104/types/contacts_TopPeers.md create mode 100644 old_docs/API_docs_v104/types/help.AppUpdate.md create mode 100644 old_docs/API_docs_v104/types/help.ConfigSimple.md create mode 100644 old_docs/API_docs_v104/types/help.DeepLinkInfo.md create mode 100644 old_docs/API_docs_v104/types/help.InviteText.md create mode 100644 old_docs/API_docs_v104/types/help.PassportConfig.md create mode 100644 old_docs/API_docs_v104/types/help.ProxyData.md create mode 100644 old_docs/API_docs_v104/types/help.RecentMeUrls.md create mode 100644 old_docs/API_docs_v104/types/help.Support.md create mode 100644 old_docs/API_docs_v104/types/help.SupportName.md create mode 100644 old_docs/API_docs_v104/types/help.TermsOfService.md create mode 100644 old_docs/API_docs_v104/types/help.TermsOfServiceUpdate.md create mode 100644 old_docs/API_docs_v104/types/help.UserInfo.md delete mode 100644 old_docs/API_docs_v104/types/help_AppUpdate.md delete mode 100644 old_docs/API_docs_v104/types/help_ConfigSimple.md delete mode 100644 old_docs/API_docs_v104/types/help_DeepLinkInfo.md delete mode 100644 old_docs/API_docs_v104/types/help_InviteText.md delete mode 100644 old_docs/API_docs_v104/types/help_PassportConfig.md delete mode 100644 old_docs/API_docs_v104/types/help_ProxyData.md delete mode 100644 old_docs/API_docs_v104/types/help_RecentMeUrls.md delete mode 100644 old_docs/API_docs_v104/types/help_Support.md delete mode 100644 old_docs/API_docs_v104/types/help_SupportName.md delete mode 100644 old_docs/API_docs_v104/types/help_TermsOfService.md delete mode 100644 old_docs/API_docs_v104/types/help_TermsOfServiceUpdate.md delete mode 100644 old_docs/API_docs_v104/types/help_UserInfo.md create mode 100644 old_docs/API_docs_v104/types/messages.AffectedHistory.md create mode 100644 old_docs/API_docs_v104/types/messages.AffectedMessages.md create mode 100644 old_docs/API_docs_v104/types/messages.AllStickers.md create mode 100644 old_docs/API_docs_v104/types/messages.ArchivedStickers.md create mode 100644 old_docs/API_docs_v104/types/messages.BotCallbackAnswer.md create mode 100644 old_docs/API_docs_v104/types/messages.BotResults.md create mode 100644 old_docs/API_docs_v104/types/messages.ChatFull.md create mode 100644 old_docs/API_docs_v104/types/messages.Chats.md create mode 100644 old_docs/API_docs_v104/types/messages.DhConfig.md create mode 100644 old_docs/API_docs_v104/types/messages.Dialogs.md create mode 100644 old_docs/API_docs_v104/types/messages.FavedStickers.md create mode 100644 old_docs/API_docs_v104/types/messages.FeaturedStickers.md create mode 100644 old_docs/API_docs_v104/types/messages.FoundGifs.md create mode 100644 old_docs/API_docs_v104/types/messages.FoundStickerSets.md create mode 100644 old_docs/API_docs_v104/types/messages.HighScores.md create mode 100644 old_docs/API_docs_v104/types/messages.MessageEditData.md create mode 100644 old_docs/API_docs_v104/types/messages.Messages.md create mode 100644 old_docs/API_docs_v104/types/messages.PeerDialogs.md create mode 100644 old_docs/API_docs_v104/types/messages.RecentStickers.md create mode 100644 old_docs/API_docs_v104/types/messages.SavedGifs.md create mode 100644 old_docs/API_docs_v104/types/messages.SearchCounter.md create mode 100644 old_docs/API_docs_v104/types/messages.SentEncryptedMessage.md create mode 100644 old_docs/API_docs_v104/types/messages.StickerSet.md create mode 100644 old_docs/API_docs_v104/types/messages.StickerSetInstallResult.md create mode 100644 old_docs/API_docs_v104/types/messages.Stickers.md delete mode 100644 old_docs/API_docs_v104/types/messages_AffectedHistory.md delete mode 100644 old_docs/API_docs_v104/types/messages_AffectedMessages.md delete mode 100644 old_docs/API_docs_v104/types/messages_AllStickers.md delete mode 100644 old_docs/API_docs_v104/types/messages_ArchivedStickers.md delete mode 100644 old_docs/API_docs_v104/types/messages_BotCallbackAnswer.md delete mode 100644 old_docs/API_docs_v104/types/messages_BotResults.md delete mode 100644 old_docs/API_docs_v104/types/messages_ChatFull.md delete mode 100644 old_docs/API_docs_v104/types/messages_Chats.md delete mode 100644 old_docs/API_docs_v104/types/messages_DhConfig.md delete mode 100644 old_docs/API_docs_v104/types/messages_Dialogs.md delete mode 100644 old_docs/API_docs_v104/types/messages_FavedStickers.md delete mode 100644 old_docs/API_docs_v104/types/messages_FeaturedStickers.md delete mode 100644 old_docs/API_docs_v104/types/messages_FoundGifs.md delete mode 100644 old_docs/API_docs_v104/types/messages_FoundStickerSets.md delete mode 100644 old_docs/API_docs_v104/types/messages_HighScores.md delete mode 100644 old_docs/API_docs_v104/types/messages_MessageEditData.md delete mode 100644 old_docs/API_docs_v104/types/messages_Messages.md delete mode 100644 old_docs/API_docs_v104/types/messages_PeerDialogs.md delete mode 100644 old_docs/API_docs_v104/types/messages_RecentStickers.md delete mode 100644 old_docs/API_docs_v104/types/messages_SavedGifs.md delete mode 100644 old_docs/API_docs_v104/types/messages_SearchCounter.md delete mode 100644 old_docs/API_docs_v104/types/messages_SentEncryptedMessage.md delete mode 100644 old_docs/API_docs_v104/types/messages_StickerSet.md delete mode 100644 old_docs/API_docs_v104/types/messages_StickerSetInstallResult.md delete mode 100644 old_docs/API_docs_v104/types/messages_Stickers.md create mode 100644 old_docs/API_docs_v104/types/payments.PaymentForm.md create mode 100644 old_docs/API_docs_v104/types/payments.PaymentReceipt.md create mode 100644 old_docs/API_docs_v104/types/payments.PaymentResult.md create mode 100644 old_docs/API_docs_v104/types/payments.SavedInfo.md create mode 100644 old_docs/API_docs_v104/types/payments.ValidatedRequestedInfo.md delete mode 100644 old_docs/API_docs_v104/types/payments_PaymentForm.md delete mode 100644 old_docs/API_docs_v104/types/payments_PaymentReceipt.md delete mode 100644 old_docs/API_docs_v104/types/payments_PaymentResult.md delete mode 100644 old_docs/API_docs_v104/types/payments_SavedInfo.md delete mode 100644 old_docs/API_docs_v104/types/payments_ValidatedRequestedInfo.md create mode 100644 old_docs/API_docs_v104/types/phone.PhoneCall.md delete mode 100644 old_docs/API_docs_v104/types/phone_PhoneCall.md create mode 100644 old_docs/API_docs_v104/types/photos.Photo.md create mode 100644 old_docs/API_docs_v104/types/photos.Photos.md delete mode 100644 old_docs/API_docs_v104/types/photos_Photo.md delete mode 100644 old_docs/API_docs_v104/types/photos_Photos.md create mode 100644 old_docs/API_docs_v104/types/storage.FileType.md delete mode 100644 old_docs/API_docs_v104/types/storage_FileType.md create mode 100644 old_docs/API_docs_v104/types/updates.ChannelDifference.md create mode 100644 old_docs/API_docs_v104/types/updates.Difference.md create mode 100644 old_docs/API_docs_v104/types/updates.State.md delete mode 100644 old_docs/API_docs_v104/types/updates_ChannelDifference.md delete mode 100644 old_docs/API_docs_v104/types/updates_Difference.md delete mode 100644 old_docs/API_docs_v104/types/updates_State.md create mode 100644 old_docs/API_docs_v104/types/upload.CdnFile.md create mode 100644 old_docs/API_docs_v104/types/upload.File.md create mode 100644 old_docs/API_docs_v104/types/upload.WebFile.md delete mode 100644 old_docs/API_docs_v104/types/upload_CdnFile.md delete mode 100644 old_docs/API_docs_v104/types/upload_File.md delete mode 100644 old_docs/API_docs_v104/types/upload_WebFile.md create mode 100644 old_docs/API_docs_v105/constructors/account.authorizationForm.md create mode 100644 old_docs/API_docs_v105/constructors/account.authorizations.md create mode 100644 old_docs/API_docs_v105/constructors/account.autoDownloadSettings.md create mode 100644 old_docs/API_docs_v105/constructors/account.password.md create mode 100644 old_docs/API_docs_v105/constructors/account.passwordInputSettings.md create mode 100644 old_docs/API_docs_v105/constructors/account.passwordSettings.md create mode 100644 old_docs/API_docs_v105/constructors/account.privacyRules.md create mode 100644 old_docs/API_docs_v105/constructors/account.sentEmailCode.md create mode 100644 old_docs/API_docs_v105/constructors/account.takeout.md create mode 100644 old_docs/API_docs_v105/constructors/account.themes.md create mode 100644 old_docs/API_docs_v105/constructors/account.themesNotModified.md create mode 100644 old_docs/API_docs_v105/constructors/account.tmpPassword.md create mode 100644 old_docs/API_docs_v105/constructors/account.wallPapers.md create mode 100644 old_docs/API_docs_v105/constructors/account.wallPapersNotModified.md create mode 100644 old_docs/API_docs_v105/constructors/account.webAuthorizations.md delete mode 100644 old_docs/API_docs_v105/constructors/account_authorizationForm.md delete mode 100644 old_docs/API_docs_v105/constructors/account_authorizations.md delete mode 100644 old_docs/API_docs_v105/constructors/account_autoDownloadSettings.md delete mode 100644 old_docs/API_docs_v105/constructors/account_password.md delete mode 100644 old_docs/API_docs_v105/constructors/account_passwordInputSettings.md delete mode 100644 old_docs/API_docs_v105/constructors/account_passwordSettings.md delete mode 100644 old_docs/API_docs_v105/constructors/account_privacyRules.md delete mode 100644 old_docs/API_docs_v105/constructors/account_sentEmailCode.md delete mode 100644 old_docs/API_docs_v105/constructors/account_takeout.md delete mode 100644 old_docs/API_docs_v105/constructors/account_themes.md delete mode 100644 old_docs/API_docs_v105/constructors/account_themesNotModified.md delete mode 100644 old_docs/API_docs_v105/constructors/account_tmpPassword.md delete mode 100644 old_docs/API_docs_v105/constructors/account_wallPapers.md delete mode 100644 old_docs/API_docs_v105/constructors/account_wallPapersNotModified.md delete mode 100644 old_docs/API_docs_v105/constructors/account_webAuthorizations.md create mode 100644 old_docs/API_docs_v105/constructors/auth.authorization.md create mode 100644 old_docs/API_docs_v105/constructors/auth.authorizationSignUpRequired.md create mode 100644 old_docs/API_docs_v105/constructors/auth.codeTypeCall.md create mode 100644 old_docs/API_docs_v105/constructors/auth.codeTypeFlashCall.md create mode 100644 old_docs/API_docs_v105/constructors/auth.codeTypeSms.md create mode 100644 old_docs/API_docs_v105/constructors/auth.exportedAuthorization.md create mode 100644 old_docs/API_docs_v105/constructors/auth.passwordRecovery.md create mode 100644 old_docs/API_docs_v105/constructors/auth.sentCode.md create mode 100644 old_docs/API_docs_v105/constructors/auth.sentCodeTypeApp.md create mode 100644 old_docs/API_docs_v105/constructors/auth.sentCodeTypeCall.md create mode 100644 old_docs/API_docs_v105/constructors/auth.sentCodeTypeFlashCall.md create mode 100644 old_docs/API_docs_v105/constructors/auth.sentCodeTypeSms.md delete mode 100644 old_docs/API_docs_v105/constructors/auth_authorization.md delete mode 100644 old_docs/API_docs_v105/constructors/auth_authorizationSignUpRequired.md delete mode 100644 old_docs/API_docs_v105/constructors/auth_codeTypeCall.md delete mode 100644 old_docs/API_docs_v105/constructors/auth_codeTypeFlashCall.md delete mode 100644 old_docs/API_docs_v105/constructors/auth_codeTypeSms.md delete mode 100644 old_docs/API_docs_v105/constructors/auth_exportedAuthorization.md delete mode 100644 old_docs/API_docs_v105/constructors/auth_passwordRecovery.md delete mode 100644 old_docs/API_docs_v105/constructors/auth_sentCode.md delete mode 100644 old_docs/API_docs_v105/constructors/auth_sentCodeTypeApp.md delete mode 100644 old_docs/API_docs_v105/constructors/auth_sentCodeTypeCall.md delete mode 100644 old_docs/API_docs_v105/constructors/auth_sentCodeTypeFlashCall.md delete mode 100644 old_docs/API_docs_v105/constructors/auth_sentCodeTypeSms.md create mode 100644 old_docs/API_docs_v105/constructors/channels.adminLogResults.md create mode 100644 old_docs/API_docs_v105/constructors/channels.channelParticipant.md create mode 100644 old_docs/API_docs_v105/constructors/channels.channelParticipants.md create mode 100644 old_docs/API_docs_v105/constructors/channels.channelParticipantsNotModified.md delete mode 100644 old_docs/API_docs_v105/constructors/channels_adminLogResults.md delete mode 100644 old_docs/API_docs_v105/constructors/channels_channelParticipant.md delete mode 100644 old_docs/API_docs_v105/constructors/channels_channelParticipants.md delete mode 100644 old_docs/API_docs_v105/constructors/channels_channelParticipantsNotModified.md create mode 100644 old_docs/API_docs_v105/constructors/contacts.blocked.md create mode 100644 old_docs/API_docs_v105/constructors/contacts.blockedSlice.md create mode 100644 old_docs/API_docs_v105/constructors/contacts.contacts.md create mode 100644 old_docs/API_docs_v105/constructors/contacts.contactsNotModified.md create mode 100644 old_docs/API_docs_v105/constructors/contacts.found.md create mode 100644 old_docs/API_docs_v105/constructors/contacts.importedContacts.md create mode 100644 old_docs/API_docs_v105/constructors/contacts.resolvedPeer.md create mode 100644 old_docs/API_docs_v105/constructors/contacts.topPeers.md create mode 100644 old_docs/API_docs_v105/constructors/contacts.topPeersDisabled.md create mode 100644 old_docs/API_docs_v105/constructors/contacts.topPeersNotModified.md delete mode 100644 old_docs/API_docs_v105/constructors/contacts_blocked.md delete mode 100644 old_docs/API_docs_v105/constructors/contacts_blockedSlice.md delete mode 100644 old_docs/API_docs_v105/constructors/contacts_contacts.md delete mode 100644 old_docs/API_docs_v105/constructors/contacts_contactsNotModified.md delete mode 100644 old_docs/API_docs_v105/constructors/contacts_found.md delete mode 100644 old_docs/API_docs_v105/constructors/contacts_importedContacts.md delete mode 100644 old_docs/API_docs_v105/constructors/contacts_resolvedPeer.md delete mode 100644 old_docs/API_docs_v105/constructors/contacts_topPeers.md delete mode 100644 old_docs/API_docs_v105/constructors/contacts_topPeersDisabled.md delete mode 100644 old_docs/API_docs_v105/constructors/contacts_topPeersNotModified.md create mode 100644 old_docs/API_docs_v105/constructors/help.appUpdate.md create mode 100644 old_docs/API_docs_v105/constructors/help.configSimple.md create mode 100644 old_docs/API_docs_v105/constructors/help.deepLinkInfo.md create mode 100644 old_docs/API_docs_v105/constructors/help.deepLinkInfoEmpty.md create mode 100644 old_docs/API_docs_v105/constructors/help.inviteText.md create mode 100644 old_docs/API_docs_v105/constructors/help.noAppUpdate.md create mode 100644 old_docs/API_docs_v105/constructors/help.passportConfig.md create mode 100644 old_docs/API_docs_v105/constructors/help.passportConfigNotModified.md create mode 100644 old_docs/API_docs_v105/constructors/help.proxyDataEmpty.md create mode 100644 old_docs/API_docs_v105/constructors/help.proxyDataPromo.md create mode 100644 old_docs/API_docs_v105/constructors/help.recentMeUrls.md create mode 100644 old_docs/API_docs_v105/constructors/help.support.md create mode 100644 old_docs/API_docs_v105/constructors/help.supportName.md create mode 100644 old_docs/API_docs_v105/constructors/help.termsOfService.md create mode 100644 old_docs/API_docs_v105/constructors/help.termsOfServiceUpdate.md create mode 100644 old_docs/API_docs_v105/constructors/help.termsOfServiceUpdateEmpty.md create mode 100644 old_docs/API_docs_v105/constructors/help.userInfo.md create mode 100644 old_docs/API_docs_v105/constructors/help.userInfoEmpty.md delete mode 100644 old_docs/API_docs_v105/constructors/help_appUpdate.md delete mode 100644 old_docs/API_docs_v105/constructors/help_configSimple.md delete mode 100644 old_docs/API_docs_v105/constructors/help_deepLinkInfo.md delete mode 100644 old_docs/API_docs_v105/constructors/help_deepLinkInfoEmpty.md delete mode 100644 old_docs/API_docs_v105/constructors/help_inviteText.md delete mode 100644 old_docs/API_docs_v105/constructors/help_noAppUpdate.md delete mode 100644 old_docs/API_docs_v105/constructors/help_passportConfig.md delete mode 100644 old_docs/API_docs_v105/constructors/help_passportConfigNotModified.md delete mode 100644 old_docs/API_docs_v105/constructors/help_proxyDataEmpty.md delete mode 100644 old_docs/API_docs_v105/constructors/help_proxyDataPromo.md delete mode 100644 old_docs/API_docs_v105/constructors/help_recentMeUrls.md delete mode 100644 old_docs/API_docs_v105/constructors/help_support.md delete mode 100644 old_docs/API_docs_v105/constructors/help_supportName.md delete mode 100644 old_docs/API_docs_v105/constructors/help_termsOfService.md delete mode 100644 old_docs/API_docs_v105/constructors/help_termsOfServiceUpdate.md delete mode 100644 old_docs/API_docs_v105/constructors/help_termsOfServiceUpdateEmpty.md delete mode 100644 old_docs/API_docs_v105/constructors/help_userInfo.md delete mode 100644 old_docs/API_docs_v105/constructors/help_userInfoEmpty.md create mode 100644 old_docs/API_docs_v105/constructors/messages.affectedHistory.md create mode 100644 old_docs/API_docs_v105/constructors/messages.affectedMessages.md create mode 100644 old_docs/API_docs_v105/constructors/messages.allStickers.md create mode 100644 old_docs/API_docs_v105/constructors/messages.allStickersNotModified.md create mode 100644 old_docs/API_docs_v105/constructors/messages.archivedStickers.md create mode 100644 old_docs/API_docs_v105/constructors/messages.botCallbackAnswer.md create mode 100644 old_docs/API_docs_v105/constructors/messages.botResults.md create mode 100644 old_docs/API_docs_v105/constructors/messages.channelMessages.md create mode 100644 old_docs/API_docs_v105/constructors/messages.chatFull.md create mode 100644 old_docs/API_docs_v105/constructors/messages.chats.md create mode 100644 old_docs/API_docs_v105/constructors/messages.chatsSlice.md create mode 100644 old_docs/API_docs_v105/constructors/messages.dhConfig.md create mode 100644 old_docs/API_docs_v105/constructors/messages.dhConfigNotModified.md create mode 100644 old_docs/API_docs_v105/constructors/messages.dialogs.md create mode 100644 old_docs/API_docs_v105/constructors/messages.dialogsNotModified.md create mode 100644 old_docs/API_docs_v105/constructors/messages.dialogsSlice.md create mode 100644 old_docs/API_docs_v105/constructors/messages.favedStickers.md create mode 100644 old_docs/API_docs_v105/constructors/messages.favedStickersNotModified.md create mode 100644 old_docs/API_docs_v105/constructors/messages.featuredStickers.md create mode 100644 old_docs/API_docs_v105/constructors/messages.featuredStickersNotModified.md create mode 100644 old_docs/API_docs_v105/constructors/messages.foundGifs.md create mode 100644 old_docs/API_docs_v105/constructors/messages.foundStickerSets.md create mode 100644 old_docs/API_docs_v105/constructors/messages.foundStickerSetsNotModified.md create mode 100644 old_docs/API_docs_v105/constructors/messages.highScores.md create mode 100644 old_docs/API_docs_v105/constructors/messages.messageEditData.md create mode 100644 old_docs/API_docs_v105/constructors/messages.messages.md create mode 100644 old_docs/API_docs_v105/constructors/messages.messagesNotModified.md create mode 100644 old_docs/API_docs_v105/constructors/messages.messagesSlice.md create mode 100644 old_docs/API_docs_v105/constructors/messages.peerDialogs.md create mode 100644 old_docs/API_docs_v105/constructors/messages.recentStickers.md create mode 100644 old_docs/API_docs_v105/constructors/messages.recentStickersNotModified.md create mode 100644 old_docs/API_docs_v105/constructors/messages.savedGifs.md create mode 100644 old_docs/API_docs_v105/constructors/messages.savedGifsNotModified.md create mode 100644 old_docs/API_docs_v105/constructors/messages.searchCounter.md create mode 100644 old_docs/API_docs_v105/constructors/messages.sentEncryptedFile.md create mode 100644 old_docs/API_docs_v105/constructors/messages.sentEncryptedMessage.md create mode 100644 old_docs/API_docs_v105/constructors/messages.stickerSet.md create mode 100644 old_docs/API_docs_v105/constructors/messages.stickerSetInstallResultArchive.md create mode 100644 old_docs/API_docs_v105/constructors/messages.stickerSetInstallResultSuccess.md create mode 100644 old_docs/API_docs_v105/constructors/messages.stickers.md create mode 100644 old_docs/API_docs_v105/constructors/messages.stickersNotModified.md delete mode 100644 old_docs/API_docs_v105/constructors/messages_affectedHistory.md delete mode 100644 old_docs/API_docs_v105/constructors/messages_affectedMessages.md delete mode 100644 old_docs/API_docs_v105/constructors/messages_allStickers.md delete mode 100644 old_docs/API_docs_v105/constructors/messages_allStickersNotModified.md delete mode 100644 old_docs/API_docs_v105/constructors/messages_archivedStickers.md delete mode 100644 old_docs/API_docs_v105/constructors/messages_botCallbackAnswer.md delete mode 100644 old_docs/API_docs_v105/constructors/messages_botResults.md delete mode 100644 old_docs/API_docs_v105/constructors/messages_channelMessages.md delete mode 100644 old_docs/API_docs_v105/constructors/messages_chatFull.md delete mode 100644 old_docs/API_docs_v105/constructors/messages_chats.md delete mode 100644 old_docs/API_docs_v105/constructors/messages_chatsSlice.md delete mode 100644 old_docs/API_docs_v105/constructors/messages_dhConfig.md delete mode 100644 old_docs/API_docs_v105/constructors/messages_dhConfigNotModified.md delete mode 100644 old_docs/API_docs_v105/constructors/messages_dialogs.md delete mode 100644 old_docs/API_docs_v105/constructors/messages_dialogsNotModified.md delete mode 100644 old_docs/API_docs_v105/constructors/messages_dialogsSlice.md delete mode 100644 old_docs/API_docs_v105/constructors/messages_favedStickers.md delete mode 100644 old_docs/API_docs_v105/constructors/messages_favedStickersNotModified.md delete mode 100644 old_docs/API_docs_v105/constructors/messages_featuredStickers.md delete mode 100644 old_docs/API_docs_v105/constructors/messages_featuredStickersNotModified.md delete mode 100644 old_docs/API_docs_v105/constructors/messages_foundGifs.md delete mode 100644 old_docs/API_docs_v105/constructors/messages_foundStickerSets.md delete mode 100644 old_docs/API_docs_v105/constructors/messages_foundStickerSetsNotModified.md delete mode 100644 old_docs/API_docs_v105/constructors/messages_highScores.md delete mode 100644 old_docs/API_docs_v105/constructors/messages_messageEditData.md delete mode 100644 old_docs/API_docs_v105/constructors/messages_messages.md delete mode 100644 old_docs/API_docs_v105/constructors/messages_messagesNotModified.md delete mode 100644 old_docs/API_docs_v105/constructors/messages_messagesSlice.md delete mode 100644 old_docs/API_docs_v105/constructors/messages_peerDialogs.md delete mode 100644 old_docs/API_docs_v105/constructors/messages_recentStickers.md delete mode 100644 old_docs/API_docs_v105/constructors/messages_recentStickersNotModified.md delete mode 100644 old_docs/API_docs_v105/constructors/messages_savedGifs.md delete mode 100644 old_docs/API_docs_v105/constructors/messages_savedGifsNotModified.md delete mode 100644 old_docs/API_docs_v105/constructors/messages_searchCounter.md delete mode 100644 old_docs/API_docs_v105/constructors/messages_sentEncryptedFile.md delete mode 100644 old_docs/API_docs_v105/constructors/messages_sentEncryptedMessage.md delete mode 100644 old_docs/API_docs_v105/constructors/messages_stickerSet.md delete mode 100644 old_docs/API_docs_v105/constructors/messages_stickerSetInstallResultArchive.md delete mode 100644 old_docs/API_docs_v105/constructors/messages_stickerSetInstallResultSuccess.md delete mode 100644 old_docs/API_docs_v105/constructors/messages_stickers.md delete mode 100644 old_docs/API_docs_v105/constructors/messages_stickersNotModified.md create mode 100644 old_docs/API_docs_v105/constructors/payments.paymentForm.md create mode 100644 old_docs/API_docs_v105/constructors/payments.paymentReceipt.md create mode 100644 old_docs/API_docs_v105/constructors/payments.paymentResult.md create mode 100644 old_docs/API_docs_v105/constructors/payments.paymentVerificationNeeded.md create mode 100644 old_docs/API_docs_v105/constructors/payments.savedInfo.md create mode 100644 old_docs/API_docs_v105/constructors/payments.validatedRequestedInfo.md delete mode 100644 old_docs/API_docs_v105/constructors/payments_paymentForm.md delete mode 100644 old_docs/API_docs_v105/constructors/payments_paymentReceipt.md delete mode 100644 old_docs/API_docs_v105/constructors/payments_paymentResult.md delete mode 100644 old_docs/API_docs_v105/constructors/payments_paymentVerificationNeeded.md delete mode 100644 old_docs/API_docs_v105/constructors/payments_savedInfo.md delete mode 100644 old_docs/API_docs_v105/constructors/payments_validatedRequestedInfo.md create mode 100644 old_docs/API_docs_v105/constructors/phone.phoneCall.md delete mode 100644 old_docs/API_docs_v105/constructors/phone_phoneCall.md create mode 100644 old_docs/API_docs_v105/constructors/photos.photo.md create mode 100644 old_docs/API_docs_v105/constructors/photos.photos.md create mode 100644 old_docs/API_docs_v105/constructors/photos.photosSlice.md delete mode 100644 old_docs/API_docs_v105/constructors/photos_photo.md delete mode 100644 old_docs/API_docs_v105/constructors/photos_photos.md delete mode 100644 old_docs/API_docs_v105/constructors/photos_photosSlice.md create mode 100644 old_docs/API_docs_v105/constructors/storage.fileGif.md create mode 100644 old_docs/API_docs_v105/constructors/storage.fileJpeg.md create mode 100644 old_docs/API_docs_v105/constructors/storage.fileMov.md create mode 100644 old_docs/API_docs_v105/constructors/storage.fileMp3.md create mode 100644 old_docs/API_docs_v105/constructors/storage.fileMp4.md create mode 100644 old_docs/API_docs_v105/constructors/storage.filePartial.md create mode 100644 old_docs/API_docs_v105/constructors/storage.filePdf.md create mode 100644 old_docs/API_docs_v105/constructors/storage.filePng.md create mode 100644 old_docs/API_docs_v105/constructors/storage.fileUnknown.md create mode 100644 old_docs/API_docs_v105/constructors/storage.fileWebp.md delete mode 100644 old_docs/API_docs_v105/constructors/storage_fileGif.md delete mode 100644 old_docs/API_docs_v105/constructors/storage_fileJpeg.md delete mode 100644 old_docs/API_docs_v105/constructors/storage_fileMov.md delete mode 100644 old_docs/API_docs_v105/constructors/storage_fileMp3.md delete mode 100644 old_docs/API_docs_v105/constructors/storage_fileMp4.md delete mode 100644 old_docs/API_docs_v105/constructors/storage_filePartial.md delete mode 100644 old_docs/API_docs_v105/constructors/storage_filePdf.md delete mode 100644 old_docs/API_docs_v105/constructors/storage_filePng.md delete mode 100644 old_docs/API_docs_v105/constructors/storage_fileUnknown.md delete mode 100644 old_docs/API_docs_v105/constructors/storage_fileWebp.md create mode 100644 old_docs/API_docs_v105/constructors/updates.channelDifference.md create mode 100644 old_docs/API_docs_v105/constructors/updates.channelDifferenceEmpty.md create mode 100644 old_docs/API_docs_v105/constructors/updates.channelDifferenceTooLong.md create mode 100644 old_docs/API_docs_v105/constructors/updates.difference.md create mode 100644 old_docs/API_docs_v105/constructors/updates.differenceEmpty.md create mode 100644 old_docs/API_docs_v105/constructors/updates.differenceSlice.md create mode 100644 old_docs/API_docs_v105/constructors/updates.differenceTooLong.md create mode 100644 old_docs/API_docs_v105/constructors/updates.state.md delete mode 100644 old_docs/API_docs_v105/constructors/updates_channelDifference.md delete mode 100644 old_docs/API_docs_v105/constructors/updates_channelDifferenceEmpty.md delete mode 100644 old_docs/API_docs_v105/constructors/updates_channelDifferenceTooLong.md delete mode 100644 old_docs/API_docs_v105/constructors/updates_difference.md delete mode 100644 old_docs/API_docs_v105/constructors/updates_differenceEmpty.md delete mode 100644 old_docs/API_docs_v105/constructors/updates_differenceSlice.md delete mode 100644 old_docs/API_docs_v105/constructors/updates_differenceTooLong.md delete mode 100644 old_docs/API_docs_v105/constructors/updates_state.md create mode 100644 old_docs/API_docs_v105/constructors/upload.cdnFile.md create mode 100644 old_docs/API_docs_v105/constructors/upload.cdnFileReuploadNeeded.md create mode 100644 old_docs/API_docs_v105/constructors/upload.file.md create mode 100644 old_docs/API_docs_v105/constructors/upload.fileCdnRedirect.md create mode 100644 old_docs/API_docs_v105/constructors/upload.webFile.md delete mode 100644 old_docs/API_docs_v105/constructors/upload_cdnFile.md delete mode 100644 old_docs/API_docs_v105/constructors/upload_cdnFileReuploadNeeded.md delete mode 100644 old_docs/API_docs_v105/constructors/upload_file.md delete mode 100644 old_docs/API_docs_v105/constructors/upload_fileCdnRedirect.md delete mode 100644 old_docs/API_docs_v105/constructors/upload_webFile.md create mode 100644 old_docs/API_docs_v105/types/account.AuthorizationForm.md create mode 100644 old_docs/API_docs_v105/types/account.Authorizations.md create mode 100644 old_docs/API_docs_v105/types/account.AutoDownloadSettings.md create mode 100644 old_docs/API_docs_v105/types/account.Password.md create mode 100644 old_docs/API_docs_v105/types/account.PasswordInputSettings.md create mode 100644 old_docs/API_docs_v105/types/account.PasswordSettings.md create mode 100644 old_docs/API_docs_v105/types/account.PrivacyRules.md create mode 100644 old_docs/API_docs_v105/types/account.SentEmailCode.md create mode 100644 old_docs/API_docs_v105/types/account.Takeout.md create mode 100644 old_docs/API_docs_v105/types/account.Themes.md create mode 100644 old_docs/API_docs_v105/types/account.TmpPassword.md create mode 100644 old_docs/API_docs_v105/types/account.WallPapers.md create mode 100644 old_docs/API_docs_v105/types/account.WebAuthorizations.md delete mode 100644 old_docs/API_docs_v105/types/account_AuthorizationForm.md delete mode 100644 old_docs/API_docs_v105/types/account_Authorizations.md delete mode 100644 old_docs/API_docs_v105/types/account_AutoDownloadSettings.md delete mode 100644 old_docs/API_docs_v105/types/account_Password.md delete mode 100644 old_docs/API_docs_v105/types/account_PasswordInputSettings.md delete mode 100644 old_docs/API_docs_v105/types/account_PasswordSettings.md delete mode 100644 old_docs/API_docs_v105/types/account_PrivacyRules.md delete mode 100644 old_docs/API_docs_v105/types/account_SentEmailCode.md delete mode 100644 old_docs/API_docs_v105/types/account_Takeout.md delete mode 100644 old_docs/API_docs_v105/types/account_Themes.md delete mode 100644 old_docs/API_docs_v105/types/account_TmpPassword.md delete mode 100644 old_docs/API_docs_v105/types/account_WallPapers.md delete mode 100644 old_docs/API_docs_v105/types/account_WebAuthorizations.md create mode 100644 old_docs/API_docs_v105/types/auth.Authorization.md create mode 100644 old_docs/API_docs_v105/types/auth.CodeType.md create mode 100644 old_docs/API_docs_v105/types/auth.ExportedAuthorization.md create mode 100644 old_docs/API_docs_v105/types/auth.PasswordRecovery.md create mode 100644 old_docs/API_docs_v105/types/auth.SentCode.md create mode 100644 old_docs/API_docs_v105/types/auth.SentCodeType.md delete mode 100644 old_docs/API_docs_v105/types/auth_Authorization.md delete mode 100644 old_docs/API_docs_v105/types/auth_CodeType.md delete mode 100644 old_docs/API_docs_v105/types/auth_ExportedAuthorization.md delete mode 100644 old_docs/API_docs_v105/types/auth_PasswordRecovery.md delete mode 100644 old_docs/API_docs_v105/types/auth_SentCode.md delete mode 100644 old_docs/API_docs_v105/types/auth_SentCodeType.md create mode 100644 old_docs/API_docs_v105/types/channels.AdminLogResults.md create mode 100644 old_docs/API_docs_v105/types/channels.ChannelParticipant.md create mode 100644 old_docs/API_docs_v105/types/channels.ChannelParticipants.md delete mode 100644 old_docs/API_docs_v105/types/channels_AdminLogResults.md delete mode 100644 old_docs/API_docs_v105/types/channels_ChannelParticipant.md delete mode 100644 old_docs/API_docs_v105/types/channels_ChannelParticipants.md create mode 100644 old_docs/API_docs_v105/types/contacts.Blocked.md create mode 100644 old_docs/API_docs_v105/types/contacts.Contacts.md create mode 100644 old_docs/API_docs_v105/types/contacts.Found.md create mode 100644 old_docs/API_docs_v105/types/contacts.ImportedContacts.md create mode 100644 old_docs/API_docs_v105/types/contacts.ResolvedPeer.md create mode 100644 old_docs/API_docs_v105/types/contacts.TopPeers.md delete mode 100644 old_docs/API_docs_v105/types/contacts_Blocked.md delete mode 100644 old_docs/API_docs_v105/types/contacts_Contacts.md delete mode 100644 old_docs/API_docs_v105/types/contacts_Found.md delete mode 100644 old_docs/API_docs_v105/types/contacts_ImportedContacts.md delete mode 100644 old_docs/API_docs_v105/types/contacts_ResolvedPeer.md delete mode 100644 old_docs/API_docs_v105/types/contacts_TopPeers.md create mode 100644 old_docs/API_docs_v105/types/help.AppUpdate.md create mode 100644 old_docs/API_docs_v105/types/help.ConfigSimple.md create mode 100644 old_docs/API_docs_v105/types/help.DeepLinkInfo.md create mode 100644 old_docs/API_docs_v105/types/help.InviteText.md create mode 100644 old_docs/API_docs_v105/types/help.PassportConfig.md create mode 100644 old_docs/API_docs_v105/types/help.ProxyData.md create mode 100644 old_docs/API_docs_v105/types/help.RecentMeUrls.md create mode 100644 old_docs/API_docs_v105/types/help.Support.md create mode 100644 old_docs/API_docs_v105/types/help.SupportName.md create mode 100644 old_docs/API_docs_v105/types/help.TermsOfService.md create mode 100644 old_docs/API_docs_v105/types/help.TermsOfServiceUpdate.md create mode 100644 old_docs/API_docs_v105/types/help.UserInfo.md delete mode 100644 old_docs/API_docs_v105/types/help_AppUpdate.md delete mode 100644 old_docs/API_docs_v105/types/help_ConfigSimple.md delete mode 100644 old_docs/API_docs_v105/types/help_DeepLinkInfo.md delete mode 100644 old_docs/API_docs_v105/types/help_InviteText.md delete mode 100644 old_docs/API_docs_v105/types/help_PassportConfig.md delete mode 100644 old_docs/API_docs_v105/types/help_ProxyData.md delete mode 100644 old_docs/API_docs_v105/types/help_RecentMeUrls.md delete mode 100644 old_docs/API_docs_v105/types/help_Support.md delete mode 100644 old_docs/API_docs_v105/types/help_SupportName.md delete mode 100644 old_docs/API_docs_v105/types/help_TermsOfService.md delete mode 100644 old_docs/API_docs_v105/types/help_TermsOfServiceUpdate.md delete mode 100644 old_docs/API_docs_v105/types/help_UserInfo.md create mode 100644 old_docs/API_docs_v105/types/messages.AffectedHistory.md create mode 100644 old_docs/API_docs_v105/types/messages.AffectedMessages.md create mode 100644 old_docs/API_docs_v105/types/messages.AllStickers.md create mode 100644 old_docs/API_docs_v105/types/messages.ArchivedStickers.md create mode 100644 old_docs/API_docs_v105/types/messages.BotCallbackAnswer.md create mode 100644 old_docs/API_docs_v105/types/messages.BotResults.md create mode 100644 old_docs/API_docs_v105/types/messages.ChatFull.md create mode 100644 old_docs/API_docs_v105/types/messages.Chats.md create mode 100644 old_docs/API_docs_v105/types/messages.DhConfig.md create mode 100644 old_docs/API_docs_v105/types/messages.Dialogs.md create mode 100644 old_docs/API_docs_v105/types/messages.FavedStickers.md create mode 100644 old_docs/API_docs_v105/types/messages.FeaturedStickers.md create mode 100644 old_docs/API_docs_v105/types/messages.FoundGifs.md create mode 100644 old_docs/API_docs_v105/types/messages.FoundStickerSets.md create mode 100644 old_docs/API_docs_v105/types/messages.HighScores.md create mode 100644 old_docs/API_docs_v105/types/messages.MessageEditData.md create mode 100644 old_docs/API_docs_v105/types/messages.Messages.md create mode 100644 old_docs/API_docs_v105/types/messages.PeerDialogs.md create mode 100644 old_docs/API_docs_v105/types/messages.RecentStickers.md create mode 100644 old_docs/API_docs_v105/types/messages.SavedGifs.md create mode 100644 old_docs/API_docs_v105/types/messages.SearchCounter.md create mode 100644 old_docs/API_docs_v105/types/messages.SentEncryptedMessage.md create mode 100644 old_docs/API_docs_v105/types/messages.StickerSet.md create mode 100644 old_docs/API_docs_v105/types/messages.StickerSetInstallResult.md create mode 100644 old_docs/API_docs_v105/types/messages.Stickers.md delete mode 100644 old_docs/API_docs_v105/types/messages_AffectedHistory.md delete mode 100644 old_docs/API_docs_v105/types/messages_AffectedMessages.md delete mode 100644 old_docs/API_docs_v105/types/messages_AllStickers.md delete mode 100644 old_docs/API_docs_v105/types/messages_ArchivedStickers.md delete mode 100644 old_docs/API_docs_v105/types/messages_BotCallbackAnswer.md delete mode 100644 old_docs/API_docs_v105/types/messages_BotResults.md delete mode 100644 old_docs/API_docs_v105/types/messages_ChatFull.md delete mode 100644 old_docs/API_docs_v105/types/messages_Chats.md delete mode 100644 old_docs/API_docs_v105/types/messages_DhConfig.md delete mode 100644 old_docs/API_docs_v105/types/messages_Dialogs.md delete mode 100644 old_docs/API_docs_v105/types/messages_FavedStickers.md delete mode 100644 old_docs/API_docs_v105/types/messages_FeaturedStickers.md delete mode 100644 old_docs/API_docs_v105/types/messages_FoundGifs.md delete mode 100644 old_docs/API_docs_v105/types/messages_FoundStickerSets.md delete mode 100644 old_docs/API_docs_v105/types/messages_HighScores.md delete mode 100644 old_docs/API_docs_v105/types/messages_MessageEditData.md delete mode 100644 old_docs/API_docs_v105/types/messages_Messages.md delete mode 100644 old_docs/API_docs_v105/types/messages_PeerDialogs.md delete mode 100644 old_docs/API_docs_v105/types/messages_RecentStickers.md delete mode 100644 old_docs/API_docs_v105/types/messages_SavedGifs.md delete mode 100644 old_docs/API_docs_v105/types/messages_SearchCounter.md delete mode 100644 old_docs/API_docs_v105/types/messages_SentEncryptedMessage.md delete mode 100644 old_docs/API_docs_v105/types/messages_StickerSet.md delete mode 100644 old_docs/API_docs_v105/types/messages_StickerSetInstallResult.md delete mode 100644 old_docs/API_docs_v105/types/messages_Stickers.md create mode 100644 old_docs/API_docs_v105/types/payments.PaymentForm.md create mode 100644 old_docs/API_docs_v105/types/payments.PaymentReceipt.md create mode 100644 old_docs/API_docs_v105/types/payments.PaymentResult.md create mode 100644 old_docs/API_docs_v105/types/payments.SavedInfo.md create mode 100644 old_docs/API_docs_v105/types/payments.ValidatedRequestedInfo.md delete mode 100644 old_docs/API_docs_v105/types/payments_PaymentForm.md delete mode 100644 old_docs/API_docs_v105/types/payments_PaymentReceipt.md delete mode 100644 old_docs/API_docs_v105/types/payments_PaymentResult.md delete mode 100644 old_docs/API_docs_v105/types/payments_SavedInfo.md delete mode 100644 old_docs/API_docs_v105/types/payments_ValidatedRequestedInfo.md create mode 100644 old_docs/API_docs_v105/types/phone.PhoneCall.md delete mode 100644 old_docs/API_docs_v105/types/phone_PhoneCall.md create mode 100644 old_docs/API_docs_v105/types/photos.Photo.md create mode 100644 old_docs/API_docs_v105/types/photos.Photos.md delete mode 100644 old_docs/API_docs_v105/types/photos_Photo.md delete mode 100644 old_docs/API_docs_v105/types/photos_Photos.md create mode 100644 old_docs/API_docs_v105/types/storage.FileType.md delete mode 100644 old_docs/API_docs_v105/types/storage_FileType.md create mode 100644 old_docs/API_docs_v105/types/updates.ChannelDifference.md create mode 100644 old_docs/API_docs_v105/types/updates.Difference.md create mode 100644 old_docs/API_docs_v105/types/updates.State.md delete mode 100644 old_docs/API_docs_v105/types/updates_ChannelDifference.md delete mode 100644 old_docs/API_docs_v105/types/updates_Difference.md delete mode 100644 old_docs/API_docs_v105/types/updates_State.md create mode 100644 old_docs/API_docs_v105/types/upload.CdnFile.md create mode 100644 old_docs/API_docs_v105/types/upload.File.md create mode 100644 old_docs/API_docs_v105/types/upload.WebFile.md delete mode 100644 old_docs/API_docs_v105/types/upload_CdnFile.md delete mode 100644 old_docs/API_docs_v105/types/upload_File.md delete mode 100644 old_docs/API_docs_v105/types/upload_WebFile.md create mode 100644 old_docs/API_docs_v18/constructors/auth.authorization.md create mode 100644 old_docs/API_docs_v18/constructors/auth.checkedPhone.md create mode 100644 old_docs/API_docs_v18/constructors/auth.exportedAuthorization.md create mode 100644 old_docs/API_docs_v18/constructors/auth.sentAppCode.md create mode 100644 old_docs/API_docs_v18/constructors/auth.sentCode.md delete mode 100644 old_docs/API_docs_v18/constructors/auth_authorization.md delete mode 100644 old_docs/API_docs_v18/constructors/auth_checkedPhone.md delete mode 100644 old_docs/API_docs_v18/constructors/auth_exportedAuthorization.md delete mode 100644 old_docs/API_docs_v18/constructors/auth_sentAppCode.md delete mode 100644 old_docs/API_docs_v18/constructors/auth_sentCode.md create mode 100644 old_docs/API_docs_v18/constructors/contacts.blocked.md create mode 100644 old_docs/API_docs_v18/constructors/contacts.blockedSlice.md create mode 100644 old_docs/API_docs_v18/constructors/contacts.contacts.md create mode 100644 old_docs/API_docs_v18/constructors/contacts.contactsNotModified.md create mode 100644 old_docs/API_docs_v18/constructors/contacts.foreignLinkMutual.md create mode 100644 old_docs/API_docs_v18/constructors/contacts.foreignLinkRequested.md create mode 100644 old_docs/API_docs_v18/constructors/contacts.foreignLinkUnknown.md create mode 100644 old_docs/API_docs_v18/constructors/contacts.found.md create mode 100644 old_docs/API_docs_v18/constructors/contacts.importedContacts.md create mode 100644 old_docs/API_docs_v18/constructors/contacts.link.md create mode 100644 old_docs/API_docs_v18/constructors/contacts.myLinkContact.md create mode 100644 old_docs/API_docs_v18/constructors/contacts.myLinkEmpty.md create mode 100644 old_docs/API_docs_v18/constructors/contacts.myLinkRequested.md create mode 100644 old_docs/API_docs_v18/constructors/contacts.suggested.md delete mode 100644 old_docs/API_docs_v18/constructors/contacts_blocked.md delete mode 100644 old_docs/API_docs_v18/constructors/contacts_blockedSlice.md delete mode 100644 old_docs/API_docs_v18/constructors/contacts_contacts.md delete mode 100644 old_docs/API_docs_v18/constructors/contacts_contactsNotModified.md delete mode 100644 old_docs/API_docs_v18/constructors/contacts_foreignLinkMutual.md delete mode 100644 old_docs/API_docs_v18/constructors/contacts_foreignLinkRequested.md delete mode 100644 old_docs/API_docs_v18/constructors/contacts_foreignLinkUnknown.md delete mode 100644 old_docs/API_docs_v18/constructors/contacts_found.md delete mode 100644 old_docs/API_docs_v18/constructors/contacts_importedContacts.md delete mode 100644 old_docs/API_docs_v18/constructors/contacts_link.md delete mode 100644 old_docs/API_docs_v18/constructors/contacts_myLinkContact.md delete mode 100644 old_docs/API_docs_v18/constructors/contacts_myLinkEmpty.md delete mode 100644 old_docs/API_docs_v18/constructors/contacts_myLinkRequested.md delete mode 100644 old_docs/API_docs_v18/constructors/contacts_suggested.md create mode 100644 old_docs/API_docs_v18/constructors/help.appUpdate.md create mode 100644 old_docs/API_docs_v18/constructors/help.inviteText.md create mode 100644 old_docs/API_docs_v18/constructors/help.noAppUpdate.md create mode 100644 old_docs/API_docs_v18/constructors/help.support.md delete mode 100644 old_docs/API_docs_v18/constructors/help_appUpdate.md delete mode 100644 old_docs/API_docs_v18/constructors/help_inviteText.md delete mode 100644 old_docs/API_docs_v18/constructors/help_noAppUpdate.md delete mode 100644 old_docs/API_docs_v18/constructors/help_support.md create mode 100644 old_docs/API_docs_v18/constructors/messages.affectedHistory.md create mode 100644 old_docs/API_docs_v18/constructors/messages.chatFull.md create mode 100644 old_docs/API_docs_v18/constructors/messages.chats.md create mode 100644 old_docs/API_docs_v18/constructors/messages.dhConfig.md create mode 100644 old_docs/API_docs_v18/constructors/messages.dhConfigNotModified.md create mode 100644 old_docs/API_docs_v18/constructors/messages.dialogs.md create mode 100644 old_docs/API_docs_v18/constructors/messages.dialogsSlice.md create mode 100644 old_docs/API_docs_v18/constructors/messages.messages.md create mode 100644 old_docs/API_docs_v18/constructors/messages.messagesSlice.md create mode 100644 old_docs/API_docs_v18/constructors/messages.sentEncryptedFile.md create mode 100644 old_docs/API_docs_v18/constructors/messages.sentEncryptedMessage.md create mode 100644 old_docs/API_docs_v18/constructors/messages.sentMessage.md create mode 100644 old_docs/API_docs_v18/constructors/messages.sentMessageLink.md create mode 100644 old_docs/API_docs_v18/constructors/messages.statedMessage.md create mode 100644 old_docs/API_docs_v18/constructors/messages.statedMessageLink.md create mode 100644 old_docs/API_docs_v18/constructors/messages.statedMessages.md create mode 100644 old_docs/API_docs_v18/constructors/messages.statedMessagesLinks.md delete mode 100644 old_docs/API_docs_v18/constructors/messages_affectedHistory.md delete mode 100644 old_docs/API_docs_v18/constructors/messages_chatFull.md delete mode 100644 old_docs/API_docs_v18/constructors/messages_chats.md delete mode 100644 old_docs/API_docs_v18/constructors/messages_dhConfig.md delete mode 100644 old_docs/API_docs_v18/constructors/messages_dhConfigNotModified.md delete mode 100644 old_docs/API_docs_v18/constructors/messages_dialogs.md delete mode 100644 old_docs/API_docs_v18/constructors/messages_dialogsSlice.md delete mode 100644 old_docs/API_docs_v18/constructors/messages_messages.md delete mode 100644 old_docs/API_docs_v18/constructors/messages_messagesSlice.md delete mode 100644 old_docs/API_docs_v18/constructors/messages_sentEncryptedFile.md delete mode 100644 old_docs/API_docs_v18/constructors/messages_sentEncryptedMessage.md delete mode 100644 old_docs/API_docs_v18/constructors/messages_sentMessage.md delete mode 100644 old_docs/API_docs_v18/constructors/messages_sentMessageLink.md delete mode 100644 old_docs/API_docs_v18/constructors/messages_statedMessage.md delete mode 100644 old_docs/API_docs_v18/constructors/messages_statedMessageLink.md delete mode 100644 old_docs/API_docs_v18/constructors/messages_statedMessages.md delete mode 100644 old_docs/API_docs_v18/constructors/messages_statedMessagesLinks.md create mode 100644 old_docs/API_docs_v18/constructors/photos.photo.md create mode 100644 old_docs/API_docs_v18/constructors/photos.photos.md create mode 100644 old_docs/API_docs_v18/constructors/photos.photosSlice.md delete mode 100644 old_docs/API_docs_v18/constructors/photos_photo.md delete mode 100644 old_docs/API_docs_v18/constructors/photos_photos.md delete mode 100644 old_docs/API_docs_v18/constructors/photos_photosSlice.md create mode 100644 old_docs/API_docs_v18/constructors/storage.fileGif.md create mode 100644 old_docs/API_docs_v18/constructors/storage.fileJpeg.md create mode 100644 old_docs/API_docs_v18/constructors/storage.fileMov.md create mode 100644 old_docs/API_docs_v18/constructors/storage.fileMp3.md create mode 100644 old_docs/API_docs_v18/constructors/storage.fileMp4.md create mode 100644 old_docs/API_docs_v18/constructors/storage.filePartial.md create mode 100644 old_docs/API_docs_v18/constructors/storage.filePdf.md create mode 100644 old_docs/API_docs_v18/constructors/storage.filePng.md create mode 100644 old_docs/API_docs_v18/constructors/storage.fileUnknown.md create mode 100644 old_docs/API_docs_v18/constructors/storage.fileWebp.md delete mode 100644 old_docs/API_docs_v18/constructors/storage_fileGif.md delete mode 100644 old_docs/API_docs_v18/constructors/storage_fileJpeg.md delete mode 100644 old_docs/API_docs_v18/constructors/storage_fileMov.md delete mode 100644 old_docs/API_docs_v18/constructors/storage_fileMp3.md delete mode 100644 old_docs/API_docs_v18/constructors/storage_fileMp4.md delete mode 100644 old_docs/API_docs_v18/constructors/storage_filePartial.md delete mode 100644 old_docs/API_docs_v18/constructors/storage_filePdf.md delete mode 100644 old_docs/API_docs_v18/constructors/storage_filePng.md delete mode 100644 old_docs/API_docs_v18/constructors/storage_fileUnknown.md delete mode 100644 old_docs/API_docs_v18/constructors/storage_fileWebp.md create mode 100644 old_docs/API_docs_v18/constructors/updates.difference.md create mode 100644 old_docs/API_docs_v18/constructors/updates.differenceEmpty.md create mode 100644 old_docs/API_docs_v18/constructors/updates.differenceSlice.md create mode 100644 old_docs/API_docs_v18/constructors/updates.state.md delete mode 100644 old_docs/API_docs_v18/constructors/updates_difference.md delete mode 100644 old_docs/API_docs_v18/constructors/updates_differenceEmpty.md delete mode 100644 old_docs/API_docs_v18/constructors/updates_differenceSlice.md delete mode 100644 old_docs/API_docs_v18/constructors/updates_state.md create mode 100644 old_docs/API_docs_v18/constructors/upload.file.md delete mode 100644 old_docs/API_docs_v18/constructors/upload_file.md create mode 100644 old_docs/API_docs_v18/types/auth.Authorization.md create mode 100644 old_docs/API_docs_v18/types/auth.CheckedPhone.md create mode 100644 old_docs/API_docs_v18/types/auth.ExportedAuthorization.md create mode 100644 old_docs/API_docs_v18/types/auth.SentCode.md delete mode 100644 old_docs/API_docs_v18/types/auth_Authorization.md delete mode 100644 old_docs/API_docs_v18/types/auth_CheckedPhone.md delete mode 100644 old_docs/API_docs_v18/types/auth_ExportedAuthorization.md delete mode 100644 old_docs/API_docs_v18/types/auth_SentCode.md create mode 100644 old_docs/API_docs_v18/types/contacts.Blocked.md create mode 100644 old_docs/API_docs_v18/types/contacts.Contacts.md create mode 100644 old_docs/API_docs_v18/types/contacts.ForeignLink.md create mode 100644 old_docs/API_docs_v18/types/contacts.Found.md create mode 100644 old_docs/API_docs_v18/types/contacts.ImportedContacts.md create mode 100644 old_docs/API_docs_v18/types/contacts.Link.md create mode 100644 old_docs/API_docs_v18/types/contacts.MyLink.md create mode 100644 old_docs/API_docs_v18/types/contacts.Suggested.md delete mode 100644 old_docs/API_docs_v18/types/contacts_Blocked.md delete mode 100644 old_docs/API_docs_v18/types/contacts_Contacts.md delete mode 100644 old_docs/API_docs_v18/types/contacts_ForeignLink.md delete mode 100644 old_docs/API_docs_v18/types/contacts_Found.md delete mode 100644 old_docs/API_docs_v18/types/contacts_ImportedContacts.md delete mode 100644 old_docs/API_docs_v18/types/contacts_Link.md delete mode 100644 old_docs/API_docs_v18/types/contacts_MyLink.md delete mode 100644 old_docs/API_docs_v18/types/contacts_Suggested.md create mode 100644 old_docs/API_docs_v18/types/help.AppUpdate.md create mode 100644 old_docs/API_docs_v18/types/help.InviteText.md create mode 100644 old_docs/API_docs_v18/types/help.Support.md delete mode 100644 old_docs/API_docs_v18/types/help_AppUpdate.md delete mode 100644 old_docs/API_docs_v18/types/help_InviteText.md delete mode 100644 old_docs/API_docs_v18/types/help_Support.md create mode 100644 old_docs/API_docs_v18/types/messages.AffectedHistory.md create mode 100644 old_docs/API_docs_v18/types/messages.ChatFull.md create mode 100644 old_docs/API_docs_v18/types/messages.Chats.md create mode 100644 old_docs/API_docs_v18/types/messages.DhConfig.md create mode 100644 old_docs/API_docs_v18/types/messages.Dialogs.md create mode 100644 old_docs/API_docs_v18/types/messages.Messages.md create mode 100644 old_docs/API_docs_v18/types/messages.SentEncryptedMessage.md create mode 100644 old_docs/API_docs_v18/types/messages.SentMessage.md create mode 100644 old_docs/API_docs_v18/types/messages.StatedMessage.md create mode 100644 old_docs/API_docs_v18/types/messages.StatedMessages.md delete mode 100644 old_docs/API_docs_v18/types/messages_AffectedHistory.md delete mode 100644 old_docs/API_docs_v18/types/messages_ChatFull.md delete mode 100644 old_docs/API_docs_v18/types/messages_Chats.md delete mode 100644 old_docs/API_docs_v18/types/messages_DhConfig.md delete mode 100644 old_docs/API_docs_v18/types/messages_Dialogs.md delete mode 100644 old_docs/API_docs_v18/types/messages_Messages.md delete mode 100644 old_docs/API_docs_v18/types/messages_SentEncryptedMessage.md delete mode 100644 old_docs/API_docs_v18/types/messages_SentMessage.md delete mode 100644 old_docs/API_docs_v18/types/messages_StatedMessage.md delete mode 100644 old_docs/API_docs_v18/types/messages_StatedMessages.md create mode 100644 old_docs/API_docs_v18/types/photos.Photo.md create mode 100644 old_docs/API_docs_v18/types/photos.Photos.md delete mode 100644 old_docs/API_docs_v18/types/photos_Photo.md delete mode 100644 old_docs/API_docs_v18/types/photos_Photos.md create mode 100644 old_docs/API_docs_v18/types/storage.FileType.md delete mode 100644 old_docs/API_docs_v18/types/storage_FileType.md create mode 100644 old_docs/API_docs_v18/types/updates.Difference.md create mode 100644 old_docs/API_docs_v18/types/updates.State.md delete mode 100644 old_docs/API_docs_v18/types/updates_Difference.md delete mode 100644 old_docs/API_docs_v18/types/updates_State.md create mode 100644 old_docs/API_docs_v18/types/upload.File.md delete mode 100644 old_docs/API_docs_v18/types/upload_File.md create mode 100644 old_docs/API_docs_v23/constructors/account.privacyRules.md create mode 100644 old_docs/API_docs_v23/constructors/account.sentChangePhoneCode.md delete mode 100644 old_docs/API_docs_v23/constructors/account_privacyRules.md delete mode 100644 old_docs/API_docs_v23/constructors/account_sentChangePhoneCode.md create mode 100644 old_docs/API_docs_v23/constructors/auth.authorization.md create mode 100644 old_docs/API_docs_v23/constructors/auth.checkedPhone.md create mode 100644 old_docs/API_docs_v23/constructors/auth.exportedAuthorization.md create mode 100644 old_docs/API_docs_v23/constructors/auth.sentAppCode.md create mode 100644 old_docs/API_docs_v23/constructors/auth.sentCode.md delete mode 100644 old_docs/API_docs_v23/constructors/auth_authorization.md delete mode 100644 old_docs/API_docs_v23/constructors/auth_checkedPhone.md delete mode 100644 old_docs/API_docs_v23/constructors/auth_exportedAuthorization.md delete mode 100644 old_docs/API_docs_v23/constructors/auth_sentAppCode.md delete mode 100644 old_docs/API_docs_v23/constructors/auth_sentCode.md create mode 100644 old_docs/API_docs_v23/constructors/contacts.blocked.md create mode 100644 old_docs/API_docs_v23/constructors/contacts.blockedSlice.md create mode 100644 old_docs/API_docs_v23/constructors/contacts.contacts.md create mode 100644 old_docs/API_docs_v23/constructors/contacts.contactsNotModified.md create mode 100644 old_docs/API_docs_v23/constructors/contacts.foreignLinkMutual.md create mode 100644 old_docs/API_docs_v23/constructors/contacts.foreignLinkRequested.md create mode 100644 old_docs/API_docs_v23/constructors/contacts.foreignLinkUnknown.md create mode 100644 old_docs/API_docs_v23/constructors/contacts.found.md create mode 100644 old_docs/API_docs_v23/constructors/contacts.importedContacts.md create mode 100644 old_docs/API_docs_v23/constructors/contacts.link.md create mode 100644 old_docs/API_docs_v23/constructors/contacts.myLinkContact.md create mode 100644 old_docs/API_docs_v23/constructors/contacts.myLinkEmpty.md create mode 100644 old_docs/API_docs_v23/constructors/contacts.myLinkRequested.md create mode 100644 old_docs/API_docs_v23/constructors/contacts.suggested.md delete mode 100644 old_docs/API_docs_v23/constructors/contacts_blocked.md delete mode 100644 old_docs/API_docs_v23/constructors/contacts_blockedSlice.md delete mode 100644 old_docs/API_docs_v23/constructors/contacts_contacts.md delete mode 100644 old_docs/API_docs_v23/constructors/contacts_contactsNotModified.md delete mode 100644 old_docs/API_docs_v23/constructors/contacts_foreignLinkMutual.md delete mode 100644 old_docs/API_docs_v23/constructors/contacts_foreignLinkRequested.md delete mode 100644 old_docs/API_docs_v23/constructors/contacts_foreignLinkUnknown.md delete mode 100644 old_docs/API_docs_v23/constructors/contacts_found.md delete mode 100644 old_docs/API_docs_v23/constructors/contacts_importedContacts.md delete mode 100644 old_docs/API_docs_v23/constructors/contacts_link.md delete mode 100644 old_docs/API_docs_v23/constructors/contacts_myLinkContact.md delete mode 100644 old_docs/API_docs_v23/constructors/contacts_myLinkEmpty.md delete mode 100644 old_docs/API_docs_v23/constructors/contacts_myLinkRequested.md delete mode 100644 old_docs/API_docs_v23/constructors/contacts_suggested.md create mode 100644 old_docs/API_docs_v23/constructors/help.appUpdate.md create mode 100644 old_docs/API_docs_v23/constructors/help.inviteText.md create mode 100644 old_docs/API_docs_v23/constructors/help.noAppUpdate.md create mode 100644 old_docs/API_docs_v23/constructors/help.support.md delete mode 100644 old_docs/API_docs_v23/constructors/help_appUpdate.md delete mode 100644 old_docs/API_docs_v23/constructors/help_inviteText.md delete mode 100644 old_docs/API_docs_v23/constructors/help_noAppUpdate.md delete mode 100644 old_docs/API_docs_v23/constructors/help_support.md create mode 100644 old_docs/API_docs_v23/constructors/messages.affectedHistory.md create mode 100644 old_docs/API_docs_v23/constructors/messages.allStickers.md create mode 100644 old_docs/API_docs_v23/constructors/messages.allStickersNotModified.md create mode 100644 old_docs/API_docs_v23/constructors/messages.chatFull.md create mode 100644 old_docs/API_docs_v23/constructors/messages.chats.md create mode 100644 old_docs/API_docs_v23/constructors/messages.dhConfig.md create mode 100644 old_docs/API_docs_v23/constructors/messages.dhConfigNotModified.md create mode 100644 old_docs/API_docs_v23/constructors/messages.dialogs.md create mode 100644 old_docs/API_docs_v23/constructors/messages.dialogsSlice.md create mode 100644 old_docs/API_docs_v23/constructors/messages.messages.md create mode 100644 old_docs/API_docs_v23/constructors/messages.messagesSlice.md create mode 100644 old_docs/API_docs_v23/constructors/messages.sentEncryptedFile.md create mode 100644 old_docs/API_docs_v23/constructors/messages.sentEncryptedMessage.md create mode 100644 old_docs/API_docs_v23/constructors/messages.sentMessage.md create mode 100644 old_docs/API_docs_v23/constructors/messages.sentMessageLink.md create mode 100644 old_docs/API_docs_v23/constructors/messages.statedMessage.md create mode 100644 old_docs/API_docs_v23/constructors/messages.statedMessageLink.md create mode 100644 old_docs/API_docs_v23/constructors/messages.statedMessages.md create mode 100644 old_docs/API_docs_v23/constructors/messages.statedMessagesLinks.md create mode 100644 old_docs/API_docs_v23/constructors/messages.stickers.md create mode 100644 old_docs/API_docs_v23/constructors/messages.stickersNotModified.md delete mode 100644 old_docs/API_docs_v23/constructors/messages_affectedHistory.md delete mode 100644 old_docs/API_docs_v23/constructors/messages_allStickers.md delete mode 100644 old_docs/API_docs_v23/constructors/messages_allStickersNotModified.md delete mode 100644 old_docs/API_docs_v23/constructors/messages_chatFull.md delete mode 100644 old_docs/API_docs_v23/constructors/messages_chats.md delete mode 100644 old_docs/API_docs_v23/constructors/messages_dhConfig.md delete mode 100644 old_docs/API_docs_v23/constructors/messages_dhConfigNotModified.md delete mode 100644 old_docs/API_docs_v23/constructors/messages_dialogs.md delete mode 100644 old_docs/API_docs_v23/constructors/messages_dialogsSlice.md delete mode 100644 old_docs/API_docs_v23/constructors/messages_messages.md delete mode 100644 old_docs/API_docs_v23/constructors/messages_messagesSlice.md delete mode 100644 old_docs/API_docs_v23/constructors/messages_sentEncryptedFile.md delete mode 100644 old_docs/API_docs_v23/constructors/messages_sentEncryptedMessage.md delete mode 100644 old_docs/API_docs_v23/constructors/messages_sentMessage.md delete mode 100644 old_docs/API_docs_v23/constructors/messages_sentMessageLink.md delete mode 100644 old_docs/API_docs_v23/constructors/messages_statedMessage.md delete mode 100644 old_docs/API_docs_v23/constructors/messages_statedMessageLink.md delete mode 100644 old_docs/API_docs_v23/constructors/messages_statedMessages.md delete mode 100644 old_docs/API_docs_v23/constructors/messages_statedMessagesLinks.md delete mode 100644 old_docs/API_docs_v23/constructors/messages_stickers.md delete mode 100644 old_docs/API_docs_v23/constructors/messages_stickersNotModified.md create mode 100644 old_docs/API_docs_v23/constructors/photos.photo.md create mode 100644 old_docs/API_docs_v23/constructors/photos.photos.md create mode 100644 old_docs/API_docs_v23/constructors/photos.photosSlice.md delete mode 100644 old_docs/API_docs_v23/constructors/photos_photo.md delete mode 100644 old_docs/API_docs_v23/constructors/photos_photos.md delete mode 100644 old_docs/API_docs_v23/constructors/photos_photosSlice.md create mode 100644 old_docs/API_docs_v23/constructors/storage.fileGif.md create mode 100644 old_docs/API_docs_v23/constructors/storage.fileJpeg.md create mode 100644 old_docs/API_docs_v23/constructors/storage.fileMov.md create mode 100644 old_docs/API_docs_v23/constructors/storage.fileMp3.md create mode 100644 old_docs/API_docs_v23/constructors/storage.fileMp4.md create mode 100644 old_docs/API_docs_v23/constructors/storage.filePartial.md create mode 100644 old_docs/API_docs_v23/constructors/storage.filePdf.md create mode 100644 old_docs/API_docs_v23/constructors/storage.filePng.md create mode 100644 old_docs/API_docs_v23/constructors/storage.fileUnknown.md create mode 100644 old_docs/API_docs_v23/constructors/storage.fileWebp.md delete mode 100644 old_docs/API_docs_v23/constructors/storage_fileGif.md delete mode 100644 old_docs/API_docs_v23/constructors/storage_fileJpeg.md delete mode 100644 old_docs/API_docs_v23/constructors/storage_fileMov.md delete mode 100644 old_docs/API_docs_v23/constructors/storage_fileMp3.md delete mode 100644 old_docs/API_docs_v23/constructors/storage_fileMp4.md delete mode 100644 old_docs/API_docs_v23/constructors/storage_filePartial.md delete mode 100644 old_docs/API_docs_v23/constructors/storage_filePdf.md delete mode 100644 old_docs/API_docs_v23/constructors/storage_filePng.md delete mode 100644 old_docs/API_docs_v23/constructors/storage_fileUnknown.md delete mode 100644 old_docs/API_docs_v23/constructors/storage_fileWebp.md create mode 100644 old_docs/API_docs_v23/constructors/updates.difference.md create mode 100644 old_docs/API_docs_v23/constructors/updates.differenceEmpty.md create mode 100644 old_docs/API_docs_v23/constructors/updates.differenceSlice.md create mode 100644 old_docs/API_docs_v23/constructors/updates.state.md delete mode 100644 old_docs/API_docs_v23/constructors/updates_difference.md delete mode 100644 old_docs/API_docs_v23/constructors/updates_differenceEmpty.md delete mode 100644 old_docs/API_docs_v23/constructors/updates_differenceSlice.md delete mode 100644 old_docs/API_docs_v23/constructors/updates_state.md create mode 100644 old_docs/API_docs_v23/constructors/upload.file.md delete mode 100644 old_docs/API_docs_v23/constructors/upload_file.md create mode 100644 old_docs/API_docs_v23/types/account.PrivacyRules.md create mode 100644 old_docs/API_docs_v23/types/account.SentChangePhoneCode.md delete mode 100644 old_docs/API_docs_v23/types/account_PrivacyRules.md delete mode 100644 old_docs/API_docs_v23/types/account_SentChangePhoneCode.md create mode 100644 old_docs/API_docs_v23/types/auth.Authorization.md create mode 100644 old_docs/API_docs_v23/types/auth.CheckedPhone.md create mode 100644 old_docs/API_docs_v23/types/auth.ExportedAuthorization.md create mode 100644 old_docs/API_docs_v23/types/auth.SentCode.md delete mode 100644 old_docs/API_docs_v23/types/auth_Authorization.md delete mode 100644 old_docs/API_docs_v23/types/auth_CheckedPhone.md delete mode 100644 old_docs/API_docs_v23/types/auth_ExportedAuthorization.md delete mode 100644 old_docs/API_docs_v23/types/auth_SentCode.md create mode 100644 old_docs/API_docs_v23/types/contacts.Blocked.md create mode 100644 old_docs/API_docs_v23/types/contacts.Contacts.md create mode 100644 old_docs/API_docs_v23/types/contacts.ForeignLink.md create mode 100644 old_docs/API_docs_v23/types/contacts.Found.md create mode 100644 old_docs/API_docs_v23/types/contacts.ImportedContacts.md create mode 100644 old_docs/API_docs_v23/types/contacts.Link.md create mode 100644 old_docs/API_docs_v23/types/contacts.MyLink.md create mode 100644 old_docs/API_docs_v23/types/contacts.Suggested.md delete mode 100644 old_docs/API_docs_v23/types/contacts_Blocked.md delete mode 100644 old_docs/API_docs_v23/types/contacts_Contacts.md delete mode 100644 old_docs/API_docs_v23/types/contacts_ForeignLink.md delete mode 100644 old_docs/API_docs_v23/types/contacts_Found.md delete mode 100644 old_docs/API_docs_v23/types/contacts_ImportedContacts.md delete mode 100644 old_docs/API_docs_v23/types/contacts_Link.md delete mode 100644 old_docs/API_docs_v23/types/contacts_MyLink.md delete mode 100644 old_docs/API_docs_v23/types/contacts_Suggested.md create mode 100644 old_docs/API_docs_v23/types/help.AppUpdate.md create mode 100644 old_docs/API_docs_v23/types/help.InviteText.md create mode 100644 old_docs/API_docs_v23/types/help.Support.md delete mode 100644 old_docs/API_docs_v23/types/help_AppUpdate.md delete mode 100644 old_docs/API_docs_v23/types/help_InviteText.md delete mode 100644 old_docs/API_docs_v23/types/help_Support.md create mode 100644 old_docs/API_docs_v23/types/messages.AffectedHistory.md create mode 100644 old_docs/API_docs_v23/types/messages.AllStickers.md create mode 100644 old_docs/API_docs_v23/types/messages.ChatFull.md create mode 100644 old_docs/API_docs_v23/types/messages.Chats.md create mode 100644 old_docs/API_docs_v23/types/messages.DhConfig.md create mode 100644 old_docs/API_docs_v23/types/messages.Dialogs.md create mode 100644 old_docs/API_docs_v23/types/messages.Messages.md create mode 100644 old_docs/API_docs_v23/types/messages.SentEncryptedMessage.md create mode 100644 old_docs/API_docs_v23/types/messages.SentMessage.md create mode 100644 old_docs/API_docs_v23/types/messages.StatedMessage.md create mode 100644 old_docs/API_docs_v23/types/messages.StatedMessages.md create mode 100644 old_docs/API_docs_v23/types/messages.Stickers.md delete mode 100644 old_docs/API_docs_v23/types/messages_AffectedHistory.md delete mode 100644 old_docs/API_docs_v23/types/messages_AllStickers.md delete mode 100644 old_docs/API_docs_v23/types/messages_ChatFull.md delete mode 100644 old_docs/API_docs_v23/types/messages_Chats.md delete mode 100644 old_docs/API_docs_v23/types/messages_DhConfig.md delete mode 100644 old_docs/API_docs_v23/types/messages_Dialogs.md delete mode 100644 old_docs/API_docs_v23/types/messages_Messages.md delete mode 100644 old_docs/API_docs_v23/types/messages_SentEncryptedMessage.md delete mode 100644 old_docs/API_docs_v23/types/messages_SentMessage.md delete mode 100644 old_docs/API_docs_v23/types/messages_StatedMessage.md delete mode 100644 old_docs/API_docs_v23/types/messages_StatedMessages.md delete mode 100644 old_docs/API_docs_v23/types/messages_Stickers.md create mode 100644 old_docs/API_docs_v23/types/photos.Photo.md create mode 100644 old_docs/API_docs_v23/types/photos.Photos.md delete mode 100644 old_docs/API_docs_v23/types/photos_Photo.md delete mode 100644 old_docs/API_docs_v23/types/photos_Photos.md create mode 100644 old_docs/API_docs_v23/types/storage.FileType.md delete mode 100644 old_docs/API_docs_v23/types/storage_FileType.md create mode 100644 old_docs/API_docs_v23/types/updates.Difference.md create mode 100644 old_docs/API_docs_v23/types/updates.State.md delete mode 100644 old_docs/API_docs_v23/types/updates_Difference.md delete mode 100644 old_docs/API_docs_v23/types/updates_State.md create mode 100644 old_docs/API_docs_v23/types/upload.File.md delete mode 100644 old_docs/API_docs_v23/types/upload_File.md create mode 100644 old_docs/API_docs_v25/constructors/account.noPassword.md create mode 100644 old_docs/API_docs_v25/constructors/account.password.md create mode 100644 old_docs/API_docs_v25/constructors/account.privacyRules.md create mode 100644 old_docs/API_docs_v25/constructors/account.sentChangePhoneCode.md delete mode 100644 old_docs/API_docs_v25/constructors/account_noPassword.md delete mode 100644 old_docs/API_docs_v25/constructors/account_password.md delete mode 100644 old_docs/API_docs_v25/constructors/account_privacyRules.md delete mode 100644 old_docs/API_docs_v25/constructors/account_sentChangePhoneCode.md create mode 100644 old_docs/API_docs_v25/constructors/auth.authorization.md create mode 100644 old_docs/API_docs_v25/constructors/auth.checkedPhone.md create mode 100644 old_docs/API_docs_v25/constructors/auth.exportedAuthorization.md create mode 100644 old_docs/API_docs_v25/constructors/auth.sentAppCode.md create mode 100644 old_docs/API_docs_v25/constructors/auth.sentCode.md delete mode 100644 old_docs/API_docs_v25/constructors/auth_authorization.md delete mode 100644 old_docs/API_docs_v25/constructors/auth_checkedPhone.md delete mode 100644 old_docs/API_docs_v25/constructors/auth_exportedAuthorization.md delete mode 100644 old_docs/API_docs_v25/constructors/auth_sentAppCode.md delete mode 100644 old_docs/API_docs_v25/constructors/auth_sentCode.md create mode 100644 old_docs/API_docs_v25/constructors/contacts.blocked.md create mode 100644 old_docs/API_docs_v25/constructors/contacts.blockedSlice.md create mode 100644 old_docs/API_docs_v25/constructors/contacts.contacts.md create mode 100644 old_docs/API_docs_v25/constructors/contacts.contactsNotModified.md create mode 100644 old_docs/API_docs_v25/constructors/contacts.found.md create mode 100644 old_docs/API_docs_v25/constructors/contacts.importedContacts.md create mode 100644 old_docs/API_docs_v25/constructors/contacts.link.md create mode 100644 old_docs/API_docs_v25/constructors/contacts.suggested.md delete mode 100644 old_docs/API_docs_v25/constructors/contacts_blocked.md delete mode 100644 old_docs/API_docs_v25/constructors/contacts_blockedSlice.md delete mode 100644 old_docs/API_docs_v25/constructors/contacts_contacts.md delete mode 100644 old_docs/API_docs_v25/constructors/contacts_contactsNotModified.md delete mode 100644 old_docs/API_docs_v25/constructors/contacts_found.md delete mode 100644 old_docs/API_docs_v25/constructors/contacts_importedContacts.md delete mode 100644 old_docs/API_docs_v25/constructors/contacts_link.md delete mode 100644 old_docs/API_docs_v25/constructors/contacts_suggested.md create mode 100644 old_docs/API_docs_v25/constructors/geochats.located.md create mode 100644 old_docs/API_docs_v25/constructors/geochats.messages.md create mode 100644 old_docs/API_docs_v25/constructors/geochats.messagesSlice.md create mode 100644 old_docs/API_docs_v25/constructors/geochats.statedMessage.md delete mode 100644 old_docs/API_docs_v25/constructors/geochats_located.md delete mode 100644 old_docs/API_docs_v25/constructors/geochats_messages.md delete mode 100644 old_docs/API_docs_v25/constructors/geochats_messagesSlice.md delete mode 100644 old_docs/API_docs_v25/constructors/geochats_statedMessage.md create mode 100644 old_docs/API_docs_v25/constructors/help.appUpdate.md create mode 100644 old_docs/API_docs_v25/constructors/help.inviteText.md create mode 100644 old_docs/API_docs_v25/constructors/help.noAppUpdate.md create mode 100644 old_docs/API_docs_v25/constructors/help.support.md delete mode 100644 old_docs/API_docs_v25/constructors/help_appUpdate.md delete mode 100644 old_docs/API_docs_v25/constructors/help_inviteText.md delete mode 100644 old_docs/API_docs_v25/constructors/help_noAppUpdate.md delete mode 100644 old_docs/API_docs_v25/constructors/help_support.md create mode 100644 old_docs/API_docs_v25/constructors/messages.affectedHistory.md create mode 100644 old_docs/API_docs_v25/constructors/messages.affectedMessages.md create mode 100644 old_docs/API_docs_v25/constructors/messages.allStickers.md create mode 100644 old_docs/API_docs_v25/constructors/messages.allStickersNotModified.md create mode 100644 old_docs/API_docs_v25/constructors/messages.chatFull.md create mode 100644 old_docs/API_docs_v25/constructors/messages.chats.md create mode 100644 old_docs/API_docs_v25/constructors/messages.dhConfig.md create mode 100644 old_docs/API_docs_v25/constructors/messages.dhConfigNotModified.md create mode 100644 old_docs/API_docs_v25/constructors/messages.dialogs.md create mode 100644 old_docs/API_docs_v25/constructors/messages.dialogsSlice.md create mode 100644 old_docs/API_docs_v25/constructors/messages.messageEmpty.md create mode 100644 old_docs/API_docs_v25/constructors/messages.messages.md create mode 100644 old_docs/API_docs_v25/constructors/messages.messagesSlice.md create mode 100644 old_docs/API_docs_v25/constructors/messages.sentEncryptedFile.md create mode 100644 old_docs/API_docs_v25/constructors/messages.sentEncryptedMessage.md create mode 100644 old_docs/API_docs_v25/constructors/messages.sentMessage.md create mode 100644 old_docs/API_docs_v25/constructors/messages.sentMessageLink.md create mode 100644 old_docs/API_docs_v25/constructors/messages.statedMessage.md create mode 100644 old_docs/API_docs_v25/constructors/messages.statedMessageLink.md create mode 100644 old_docs/API_docs_v25/constructors/messages.statedMessages.md create mode 100644 old_docs/API_docs_v25/constructors/messages.statedMessagesLinks.md create mode 100644 old_docs/API_docs_v25/constructors/messages.stickers.md create mode 100644 old_docs/API_docs_v25/constructors/messages.stickersNotModified.md delete mode 100644 old_docs/API_docs_v25/constructors/messages_affectedHistory.md delete mode 100644 old_docs/API_docs_v25/constructors/messages_affectedMessages.md delete mode 100644 old_docs/API_docs_v25/constructors/messages_allStickers.md delete mode 100644 old_docs/API_docs_v25/constructors/messages_allStickersNotModified.md delete mode 100644 old_docs/API_docs_v25/constructors/messages_chatFull.md delete mode 100644 old_docs/API_docs_v25/constructors/messages_chats.md delete mode 100644 old_docs/API_docs_v25/constructors/messages_dhConfig.md delete mode 100644 old_docs/API_docs_v25/constructors/messages_dhConfigNotModified.md delete mode 100644 old_docs/API_docs_v25/constructors/messages_dialogs.md delete mode 100644 old_docs/API_docs_v25/constructors/messages_dialogsSlice.md delete mode 100644 old_docs/API_docs_v25/constructors/messages_messageEmpty.md delete mode 100644 old_docs/API_docs_v25/constructors/messages_messages.md delete mode 100644 old_docs/API_docs_v25/constructors/messages_messagesSlice.md delete mode 100644 old_docs/API_docs_v25/constructors/messages_sentEncryptedFile.md delete mode 100644 old_docs/API_docs_v25/constructors/messages_sentEncryptedMessage.md delete mode 100644 old_docs/API_docs_v25/constructors/messages_sentMessage.md delete mode 100644 old_docs/API_docs_v25/constructors/messages_sentMessageLink.md delete mode 100644 old_docs/API_docs_v25/constructors/messages_statedMessage.md delete mode 100644 old_docs/API_docs_v25/constructors/messages_statedMessageLink.md delete mode 100644 old_docs/API_docs_v25/constructors/messages_statedMessages.md delete mode 100644 old_docs/API_docs_v25/constructors/messages_statedMessagesLinks.md delete mode 100644 old_docs/API_docs_v25/constructors/messages_stickers.md delete mode 100644 old_docs/API_docs_v25/constructors/messages_stickersNotModified.md create mode 100644 old_docs/API_docs_v25/constructors/photos.photo.md create mode 100644 old_docs/API_docs_v25/constructors/photos.photos.md create mode 100644 old_docs/API_docs_v25/constructors/photos.photosSlice.md delete mode 100644 old_docs/API_docs_v25/constructors/photos_photo.md delete mode 100644 old_docs/API_docs_v25/constructors/photos_photos.md delete mode 100644 old_docs/API_docs_v25/constructors/photos_photosSlice.md create mode 100644 old_docs/API_docs_v25/constructors/storage.fileGif.md create mode 100644 old_docs/API_docs_v25/constructors/storage.fileJpeg.md create mode 100644 old_docs/API_docs_v25/constructors/storage.fileMov.md create mode 100644 old_docs/API_docs_v25/constructors/storage.fileMp3.md create mode 100644 old_docs/API_docs_v25/constructors/storage.fileMp4.md create mode 100644 old_docs/API_docs_v25/constructors/storage.filePartial.md create mode 100644 old_docs/API_docs_v25/constructors/storage.filePdf.md create mode 100644 old_docs/API_docs_v25/constructors/storage.filePng.md create mode 100644 old_docs/API_docs_v25/constructors/storage.fileUnknown.md create mode 100644 old_docs/API_docs_v25/constructors/storage.fileWebp.md delete mode 100644 old_docs/API_docs_v25/constructors/storage_fileGif.md delete mode 100644 old_docs/API_docs_v25/constructors/storage_fileJpeg.md delete mode 100644 old_docs/API_docs_v25/constructors/storage_fileMov.md delete mode 100644 old_docs/API_docs_v25/constructors/storage_fileMp3.md delete mode 100644 old_docs/API_docs_v25/constructors/storage_fileMp4.md delete mode 100644 old_docs/API_docs_v25/constructors/storage_filePartial.md delete mode 100644 old_docs/API_docs_v25/constructors/storage_filePdf.md delete mode 100644 old_docs/API_docs_v25/constructors/storage_filePng.md delete mode 100644 old_docs/API_docs_v25/constructors/storage_fileUnknown.md delete mode 100644 old_docs/API_docs_v25/constructors/storage_fileWebp.md create mode 100644 old_docs/API_docs_v25/constructors/updates.difference.md create mode 100644 old_docs/API_docs_v25/constructors/updates.differenceEmpty.md create mode 100644 old_docs/API_docs_v25/constructors/updates.differenceSlice.md create mode 100644 old_docs/API_docs_v25/constructors/updates.state.md delete mode 100644 old_docs/API_docs_v25/constructors/updates_difference.md delete mode 100644 old_docs/API_docs_v25/constructors/updates_differenceEmpty.md delete mode 100644 old_docs/API_docs_v25/constructors/updates_differenceSlice.md delete mode 100644 old_docs/API_docs_v25/constructors/updates_state.md create mode 100644 old_docs/API_docs_v25/constructors/upload.file.md delete mode 100644 old_docs/API_docs_v25/constructors/upload_file.md create mode 100644 old_docs/API_docs_v25/types/account.Password.md create mode 100644 old_docs/API_docs_v25/types/account.PrivacyRules.md create mode 100644 old_docs/API_docs_v25/types/account.SentChangePhoneCode.md delete mode 100644 old_docs/API_docs_v25/types/account_Password.md delete mode 100644 old_docs/API_docs_v25/types/account_PrivacyRules.md delete mode 100644 old_docs/API_docs_v25/types/account_SentChangePhoneCode.md create mode 100644 old_docs/API_docs_v25/types/auth.Authorization.md create mode 100644 old_docs/API_docs_v25/types/auth.CheckedPhone.md create mode 100644 old_docs/API_docs_v25/types/auth.ExportedAuthorization.md create mode 100644 old_docs/API_docs_v25/types/auth.SentCode.md delete mode 100644 old_docs/API_docs_v25/types/auth_Authorization.md delete mode 100644 old_docs/API_docs_v25/types/auth_CheckedPhone.md delete mode 100644 old_docs/API_docs_v25/types/auth_ExportedAuthorization.md delete mode 100644 old_docs/API_docs_v25/types/auth_SentCode.md create mode 100644 old_docs/API_docs_v25/types/contacts.Blocked.md create mode 100644 old_docs/API_docs_v25/types/contacts.Contacts.md create mode 100644 old_docs/API_docs_v25/types/contacts.Found.md create mode 100644 old_docs/API_docs_v25/types/contacts.ImportedContacts.md create mode 100644 old_docs/API_docs_v25/types/contacts.Link.md create mode 100644 old_docs/API_docs_v25/types/contacts.Suggested.md delete mode 100644 old_docs/API_docs_v25/types/contacts_Blocked.md delete mode 100644 old_docs/API_docs_v25/types/contacts_Contacts.md delete mode 100644 old_docs/API_docs_v25/types/contacts_Found.md delete mode 100644 old_docs/API_docs_v25/types/contacts_ImportedContacts.md delete mode 100644 old_docs/API_docs_v25/types/contacts_Link.md delete mode 100644 old_docs/API_docs_v25/types/contacts_Suggested.md create mode 100644 old_docs/API_docs_v25/types/geochats.Located.md create mode 100644 old_docs/API_docs_v25/types/geochats.Messages.md create mode 100644 old_docs/API_docs_v25/types/geochats.StatedMessage.md delete mode 100644 old_docs/API_docs_v25/types/geochats_Located.md delete mode 100644 old_docs/API_docs_v25/types/geochats_Messages.md delete mode 100644 old_docs/API_docs_v25/types/geochats_StatedMessage.md create mode 100644 old_docs/API_docs_v25/types/help.AppUpdate.md create mode 100644 old_docs/API_docs_v25/types/help.InviteText.md create mode 100644 old_docs/API_docs_v25/types/help.Support.md delete mode 100644 old_docs/API_docs_v25/types/help_AppUpdate.md delete mode 100644 old_docs/API_docs_v25/types/help_InviteText.md delete mode 100644 old_docs/API_docs_v25/types/help_Support.md create mode 100644 old_docs/API_docs_v25/types/messages.AffectedHistory.md create mode 100644 old_docs/API_docs_v25/types/messages.AffectedMessages.md create mode 100644 old_docs/API_docs_v25/types/messages.AllStickers.md create mode 100644 old_docs/API_docs_v25/types/messages.ChatFull.md create mode 100644 old_docs/API_docs_v25/types/messages.Chats.md create mode 100644 old_docs/API_docs_v25/types/messages.DhConfig.md create mode 100644 old_docs/API_docs_v25/types/messages.Dialogs.md create mode 100644 old_docs/API_docs_v25/types/messages.Message.md create mode 100644 old_docs/API_docs_v25/types/messages.Messages.md create mode 100644 old_docs/API_docs_v25/types/messages.SentEncryptedMessage.md create mode 100644 old_docs/API_docs_v25/types/messages.SentMessage.md create mode 100644 old_docs/API_docs_v25/types/messages.StatedMessage.md create mode 100644 old_docs/API_docs_v25/types/messages.StatedMessages.md create mode 100644 old_docs/API_docs_v25/types/messages.Stickers.md delete mode 100644 old_docs/API_docs_v25/types/messages_AffectedHistory.md delete mode 100644 old_docs/API_docs_v25/types/messages_AffectedMessages.md delete mode 100644 old_docs/API_docs_v25/types/messages_AllStickers.md delete mode 100644 old_docs/API_docs_v25/types/messages_ChatFull.md delete mode 100644 old_docs/API_docs_v25/types/messages_Chats.md delete mode 100644 old_docs/API_docs_v25/types/messages_DhConfig.md delete mode 100644 old_docs/API_docs_v25/types/messages_Dialogs.md delete mode 100644 old_docs/API_docs_v25/types/messages_Message.md delete mode 100644 old_docs/API_docs_v25/types/messages_Messages.md delete mode 100644 old_docs/API_docs_v25/types/messages_SentEncryptedMessage.md delete mode 100644 old_docs/API_docs_v25/types/messages_SentMessage.md delete mode 100644 old_docs/API_docs_v25/types/messages_StatedMessage.md delete mode 100644 old_docs/API_docs_v25/types/messages_StatedMessages.md delete mode 100644 old_docs/API_docs_v25/types/messages_Stickers.md create mode 100644 old_docs/API_docs_v25/types/photos.Photo.md create mode 100644 old_docs/API_docs_v25/types/photos.Photos.md delete mode 100644 old_docs/API_docs_v25/types/photos_Photo.md delete mode 100644 old_docs/API_docs_v25/types/photos_Photos.md create mode 100644 old_docs/API_docs_v25/types/storage.FileType.md delete mode 100644 old_docs/API_docs_v25/types/storage_FileType.md create mode 100644 old_docs/API_docs_v25/types/updates.Difference.md create mode 100644 old_docs/API_docs_v25/types/updates.State.md delete mode 100644 old_docs/API_docs_v25/types/updates_Difference.md delete mode 100644 old_docs/API_docs_v25/types/updates_State.md create mode 100644 old_docs/API_docs_v25/types/upload.File.md delete mode 100644 old_docs/API_docs_v25/types/upload_File.md create mode 100644 old_docs/API_docs_v27/constructors/account.authorizations.md create mode 100644 old_docs/API_docs_v27/constructors/account.noPassword.md create mode 100644 old_docs/API_docs_v27/constructors/account.password.md create mode 100644 old_docs/API_docs_v27/constructors/account.passwordInputSettings.md create mode 100644 old_docs/API_docs_v27/constructors/account.passwordSettings.md create mode 100644 old_docs/API_docs_v27/constructors/account.privacyRules.md create mode 100644 old_docs/API_docs_v27/constructors/account.sentChangePhoneCode.md delete mode 100644 old_docs/API_docs_v27/constructors/account_authorizations.md delete mode 100644 old_docs/API_docs_v27/constructors/account_noPassword.md delete mode 100644 old_docs/API_docs_v27/constructors/account_password.md delete mode 100644 old_docs/API_docs_v27/constructors/account_passwordInputSettings.md delete mode 100644 old_docs/API_docs_v27/constructors/account_passwordSettings.md delete mode 100644 old_docs/API_docs_v27/constructors/account_privacyRules.md delete mode 100644 old_docs/API_docs_v27/constructors/account_sentChangePhoneCode.md create mode 100644 old_docs/API_docs_v27/constructors/auth.authorization.md create mode 100644 old_docs/API_docs_v27/constructors/auth.checkedPhone.md create mode 100644 old_docs/API_docs_v27/constructors/auth.exportedAuthorization.md create mode 100644 old_docs/API_docs_v27/constructors/auth.passwordRecovery.md create mode 100644 old_docs/API_docs_v27/constructors/auth.sentAppCode.md create mode 100644 old_docs/API_docs_v27/constructors/auth.sentCode.md delete mode 100644 old_docs/API_docs_v27/constructors/auth_authorization.md delete mode 100644 old_docs/API_docs_v27/constructors/auth_checkedPhone.md delete mode 100644 old_docs/API_docs_v27/constructors/auth_exportedAuthorization.md delete mode 100644 old_docs/API_docs_v27/constructors/auth_passwordRecovery.md delete mode 100644 old_docs/API_docs_v27/constructors/auth_sentAppCode.md delete mode 100644 old_docs/API_docs_v27/constructors/auth_sentCode.md create mode 100644 old_docs/API_docs_v27/constructors/contacts.blocked.md create mode 100644 old_docs/API_docs_v27/constructors/contacts.blockedSlice.md create mode 100644 old_docs/API_docs_v27/constructors/contacts.contacts.md create mode 100644 old_docs/API_docs_v27/constructors/contacts.contactsNotModified.md create mode 100644 old_docs/API_docs_v27/constructors/contacts.found.md create mode 100644 old_docs/API_docs_v27/constructors/contacts.importedContacts.md create mode 100644 old_docs/API_docs_v27/constructors/contacts.link.md create mode 100644 old_docs/API_docs_v27/constructors/contacts.suggested.md delete mode 100644 old_docs/API_docs_v27/constructors/contacts_blocked.md delete mode 100644 old_docs/API_docs_v27/constructors/contacts_blockedSlice.md delete mode 100644 old_docs/API_docs_v27/constructors/contacts_contacts.md delete mode 100644 old_docs/API_docs_v27/constructors/contacts_contactsNotModified.md delete mode 100644 old_docs/API_docs_v27/constructors/contacts_found.md delete mode 100644 old_docs/API_docs_v27/constructors/contacts_importedContacts.md delete mode 100644 old_docs/API_docs_v27/constructors/contacts_link.md delete mode 100644 old_docs/API_docs_v27/constructors/contacts_suggested.md create mode 100644 old_docs/API_docs_v27/constructors/geochats.located.md create mode 100644 old_docs/API_docs_v27/constructors/geochats.messages.md create mode 100644 old_docs/API_docs_v27/constructors/geochats.messagesSlice.md create mode 100644 old_docs/API_docs_v27/constructors/geochats.statedMessage.md delete mode 100644 old_docs/API_docs_v27/constructors/geochats_located.md delete mode 100644 old_docs/API_docs_v27/constructors/geochats_messages.md delete mode 100644 old_docs/API_docs_v27/constructors/geochats_messagesSlice.md delete mode 100644 old_docs/API_docs_v27/constructors/geochats_statedMessage.md create mode 100644 old_docs/API_docs_v27/constructors/help.appUpdate.md create mode 100644 old_docs/API_docs_v27/constructors/help.inviteText.md create mode 100644 old_docs/API_docs_v27/constructors/help.noAppUpdate.md create mode 100644 old_docs/API_docs_v27/constructors/help.support.md delete mode 100644 old_docs/API_docs_v27/constructors/help_appUpdate.md delete mode 100644 old_docs/API_docs_v27/constructors/help_inviteText.md delete mode 100644 old_docs/API_docs_v27/constructors/help_noAppUpdate.md delete mode 100644 old_docs/API_docs_v27/constructors/help_support.md create mode 100644 old_docs/API_docs_v27/constructors/messages.affectedHistory.md create mode 100644 old_docs/API_docs_v27/constructors/messages.affectedMessages.md create mode 100644 old_docs/API_docs_v27/constructors/messages.allStickers.md create mode 100644 old_docs/API_docs_v27/constructors/messages.allStickersNotModified.md create mode 100644 old_docs/API_docs_v27/constructors/messages.chatFull.md create mode 100644 old_docs/API_docs_v27/constructors/messages.chats.md create mode 100644 old_docs/API_docs_v27/constructors/messages.dhConfig.md create mode 100644 old_docs/API_docs_v27/constructors/messages.dhConfigNotModified.md create mode 100644 old_docs/API_docs_v27/constructors/messages.dialogs.md create mode 100644 old_docs/API_docs_v27/constructors/messages.dialogsSlice.md create mode 100644 old_docs/API_docs_v27/constructors/messages.messageEmpty.md create mode 100644 old_docs/API_docs_v27/constructors/messages.messages.md create mode 100644 old_docs/API_docs_v27/constructors/messages.messagesSlice.md create mode 100644 old_docs/API_docs_v27/constructors/messages.sentEncryptedFile.md create mode 100644 old_docs/API_docs_v27/constructors/messages.sentEncryptedMessage.md create mode 100644 old_docs/API_docs_v27/constructors/messages.sentMessage.md create mode 100644 old_docs/API_docs_v27/constructors/messages.sentMessageLink.md create mode 100644 old_docs/API_docs_v27/constructors/messages.stickers.md create mode 100644 old_docs/API_docs_v27/constructors/messages.stickersNotModified.md delete mode 100644 old_docs/API_docs_v27/constructors/messages_affectedHistory.md delete mode 100644 old_docs/API_docs_v27/constructors/messages_affectedMessages.md delete mode 100644 old_docs/API_docs_v27/constructors/messages_allStickers.md delete mode 100644 old_docs/API_docs_v27/constructors/messages_allStickersNotModified.md delete mode 100644 old_docs/API_docs_v27/constructors/messages_chatFull.md delete mode 100644 old_docs/API_docs_v27/constructors/messages_chats.md delete mode 100644 old_docs/API_docs_v27/constructors/messages_dhConfig.md delete mode 100644 old_docs/API_docs_v27/constructors/messages_dhConfigNotModified.md delete mode 100644 old_docs/API_docs_v27/constructors/messages_dialogs.md delete mode 100644 old_docs/API_docs_v27/constructors/messages_dialogsSlice.md delete mode 100644 old_docs/API_docs_v27/constructors/messages_messageEmpty.md delete mode 100644 old_docs/API_docs_v27/constructors/messages_messages.md delete mode 100644 old_docs/API_docs_v27/constructors/messages_messagesSlice.md delete mode 100644 old_docs/API_docs_v27/constructors/messages_sentEncryptedFile.md delete mode 100644 old_docs/API_docs_v27/constructors/messages_sentEncryptedMessage.md delete mode 100644 old_docs/API_docs_v27/constructors/messages_sentMessage.md delete mode 100644 old_docs/API_docs_v27/constructors/messages_sentMessageLink.md delete mode 100644 old_docs/API_docs_v27/constructors/messages_stickers.md delete mode 100644 old_docs/API_docs_v27/constructors/messages_stickersNotModified.md create mode 100644 old_docs/API_docs_v27/constructors/photos.photo.md create mode 100644 old_docs/API_docs_v27/constructors/photos.photos.md create mode 100644 old_docs/API_docs_v27/constructors/photos.photosSlice.md delete mode 100644 old_docs/API_docs_v27/constructors/photos_photo.md delete mode 100644 old_docs/API_docs_v27/constructors/photos_photos.md delete mode 100644 old_docs/API_docs_v27/constructors/photos_photosSlice.md create mode 100644 old_docs/API_docs_v27/constructors/storage.fileGif.md create mode 100644 old_docs/API_docs_v27/constructors/storage.fileJpeg.md create mode 100644 old_docs/API_docs_v27/constructors/storage.fileMov.md create mode 100644 old_docs/API_docs_v27/constructors/storage.fileMp3.md create mode 100644 old_docs/API_docs_v27/constructors/storage.fileMp4.md create mode 100644 old_docs/API_docs_v27/constructors/storage.filePartial.md create mode 100644 old_docs/API_docs_v27/constructors/storage.filePdf.md create mode 100644 old_docs/API_docs_v27/constructors/storage.filePng.md create mode 100644 old_docs/API_docs_v27/constructors/storage.fileUnknown.md create mode 100644 old_docs/API_docs_v27/constructors/storage.fileWebp.md delete mode 100644 old_docs/API_docs_v27/constructors/storage_fileGif.md delete mode 100644 old_docs/API_docs_v27/constructors/storage_fileJpeg.md delete mode 100644 old_docs/API_docs_v27/constructors/storage_fileMov.md delete mode 100644 old_docs/API_docs_v27/constructors/storage_fileMp3.md delete mode 100644 old_docs/API_docs_v27/constructors/storage_fileMp4.md delete mode 100644 old_docs/API_docs_v27/constructors/storage_filePartial.md delete mode 100644 old_docs/API_docs_v27/constructors/storage_filePdf.md delete mode 100644 old_docs/API_docs_v27/constructors/storage_filePng.md delete mode 100644 old_docs/API_docs_v27/constructors/storage_fileUnknown.md delete mode 100644 old_docs/API_docs_v27/constructors/storage_fileWebp.md create mode 100644 old_docs/API_docs_v27/constructors/updates.difference.md create mode 100644 old_docs/API_docs_v27/constructors/updates.differenceEmpty.md create mode 100644 old_docs/API_docs_v27/constructors/updates.differenceSlice.md create mode 100644 old_docs/API_docs_v27/constructors/updates.state.md delete mode 100644 old_docs/API_docs_v27/constructors/updates_difference.md delete mode 100644 old_docs/API_docs_v27/constructors/updates_differenceEmpty.md delete mode 100644 old_docs/API_docs_v27/constructors/updates_differenceSlice.md delete mode 100644 old_docs/API_docs_v27/constructors/updates_state.md create mode 100644 old_docs/API_docs_v27/constructors/upload.file.md delete mode 100644 old_docs/API_docs_v27/constructors/upload_file.md create mode 100644 old_docs/API_docs_v27/types/account.Authorizations.md create mode 100644 old_docs/API_docs_v27/types/account.Password.md create mode 100644 old_docs/API_docs_v27/types/account.PasswordInputSettings.md create mode 100644 old_docs/API_docs_v27/types/account.PasswordSettings.md create mode 100644 old_docs/API_docs_v27/types/account.PrivacyRules.md create mode 100644 old_docs/API_docs_v27/types/account.SentChangePhoneCode.md delete mode 100644 old_docs/API_docs_v27/types/account_Authorizations.md delete mode 100644 old_docs/API_docs_v27/types/account_Password.md delete mode 100644 old_docs/API_docs_v27/types/account_PasswordInputSettings.md delete mode 100644 old_docs/API_docs_v27/types/account_PasswordSettings.md delete mode 100644 old_docs/API_docs_v27/types/account_PrivacyRules.md delete mode 100644 old_docs/API_docs_v27/types/account_SentChangePhoneCode.md create mode 100644 old_docs/API_docs_v27/types/auth.Authorization.md create mode 100644 old_docs/API_docs_v27/types/auth.CheckedPhone.md create mode 100644 old_docs/API_docs_v27/types/auth.ExportedAuthorization.md create mode 100644 old_docs/API_docs_v27/types/auth.PasswordRecovery.md create mode 100644 old_docs/API_docs_v27/types/auth.SentCode.md delete mode 100644 old_docs/API_docs_v27/types/auth_Authorization.md delete mode 100644 old_docs/API_docs_v27/types/auth_CheckedPhone.md delete mode 100644 old_docs/API_docs_v27/types/auth_ExportedAuthorization.md delete mode 100644 old_docs/API_docs_v27/types/auth_PasswordRecovery.md delete mode 100644 old_docs/API_docs_v27/types/auth_SentCode.md create mode 100644 old_docs/API_docs_v27/types/contacts.Blocked.md create mode 100644 old_docs/API_docs_v27/types/contacts.Contacts.md create mode 100644 old_docs/API_docs_v27/types/contacts.Found.md create mode 100644 old_docs/API_docs_v27/types/contacts.ImportedContacts.md create mode 100644 old_docs/API_docs_v27/types/contacts.Link.md create mode 100644 old_docs/API_docs_v27/types/contacts.Suggested.md delete mode 100644 old_docs/API_docs_v27/types/contacts_Blocked.md delete mode 100644 old_docs/API_docs_v27/types/contacts_Contacts.md delete mode 100644 old_docs/API_docs_v27/types/contacts_Found.md delete mode 100644 old_docs/API_docs_v27/types/contacts_ImportedContacts.md delete mode 100644 old_docs/API_docs_v27/types/contacts_Link.md delete mode 100644 old_docs/API_docs_v27/types/contacts_Suggested.md create mode 100644 old_docs/API_docs_v27/types/geochats.Located.md create mode 100644 old_docs/API_docs_v27/types/geochats.Messages.md create mode 100644 old_docs/API_docs_v27/types/geochats.StatedMessage.md delete mode 100644 old_docs/API_docs_v27/types/geochats_Located.md delete mode 100644 old_docs/API_docs_v27/types/geochats_Messages.md delete mode 100644 old_docs/API_docs_v27/types/geochats_StatedMessage.md create mode 100644 old_docs/API_docs_v27/types/help.AppUpdate.md create mode 100644 old_docs/API_docs_v27/types/help.InviteText.md create mode 100644 old_docs/API_docs_v27/types/help.Support.md delete mode 100644 old_docs/API_docs_v27/types/help_AppUpdate.md delete mode 100644 old_docs/API_docs_v27/types/help_InviteText.md delete mode 100644 old_docs/API_docs_v27/types/help_Support.md create mode 100644 old_docs/API_docs_v27/types/messages.AffectedHistory.md create mode 100644 old_docs/API_docs_v27/types/messages.AffectedMessages.md create mode 100644 old_docs/API_docs_v27/types/messages.AllStickers.md create mode 100644 old_docs/API_docs_v27/types/messages.ChatFull.md create mode 100644 old_docs/API_docs_v27/types/messages.Chats.md create mode 100644 old_docs/API_docs_v27/types/messages.DhConfig.md create mode 100644 old_docs/API_docs_v27/types/messages.Dialogs.md create mode 100644 old_docs/API_docs_v27/types/messages.Message.md create mode 100644 old_docs/API_docs_v27/types/messages.Messages.md create mode 100644 old_docs/API_docs_v27/types/messages.SentEncryptedMessage.md create mode 100644 old_docs/API_docs_v27/types/messages.SentMessage.md create mode 100644 old_docs/API_docs_v27/types/messages.Stickers.md delete mode 100644 old_docs/API_docs_v27/types/messages_AffectedHistory.md delete mode 100644 old_docs/API_docs_v27/types/messages_AffectedMessages.md delete mode 100644 old_docs/API_docs_v27/types/messages_AllStickers.md delete mode 100644 old_docs/API_docs_v27/types/messages_ChatFull.md delete mode 100644 old_docs/API_docs_v27/types/messages_Chats.md delete mode 100644 old_docs/API_docs_v27/types/messages_DhConfig.md delete mode 100644 old_docs/API_docs_v27/types/messages_Dialogs.md delete mode 100644 old_docs/API_docs_v27/types/messages_Message.md delete mode 100644 old_docs/API_docs_v27/types/messages_Messages.md delete mode 100644 old_docs/API_docs_v27/types/messages_SentEncryptedMessage.md delete mode 100644 old_docs/API_docs_v27/types/messages_SentMessage.md delete mode 100644 old_docs/API_docs_v27/types/messages_Stickers.md create mode 100644 old_docs/API_docs_v27/types/photos.Photo.md create mode 100644 old_docs/API_docs_v27/types/photos.Photos.md delete mode 100644 old_docs/API_docs_v27/types/photos_Photo.md delete mode 100644 old_docs/API_docs_v27/types/photos_Photos.md create mode 100644 old_docs/API_docs_v27/types/storage.FileType.md delete mode 100644 old_docs/API_docs_v27/types/storage_FileType.md create mode 100644 old_docs/API_docs_v27/types/updates.Difference.md create mode 100644 old_docs/API_docs_v27/types/updates.State.md delete mode 100644 old_docs/API_docs_v27/types/updates_Difference.md delete mode 100644 old_docs/API_docs_v27/types/updates_State.md create mode 100644 old_docs/API_docs_v27/types/upload.File.md delete mode 100644 old_docs/API_docs_v27/types/upload_File.md create mode 100644 old_docs/API_docs_v33/constructors/account.authorizations.md create mode 100644 old_docs/API_docs_v33/constructors/account.noPassword.md create mode 100644 old_docs/API_docs_v33/constructors/account.password.md create mode 100644 old_docs/API_docs_v33/constructors/account.passwordInputSettings.md create mode 100644 old_docs/API_docs_v33/constructors/account.passwordSettings.md create mode 100644 old_docs/API_docs_v33/constructors/account.privacyRules.md create mode 100644 old_docs/API_docs_v33/constructors/account.sentChangePhoneCode.md delete mode 100644 old_docs/API_docs_v33/constructors/account_authorizations.md delete mode 100644 old_docs/API_docs_v33/constructors/account_noPassword.md delete mode 100644 old_docs/API_docs_v33/constructors/account_password.md delete mode 100644 old_docs/API_docs_v33/constructors/account_passwordInputSettings.md delete mode 100644 old_docs/API_docs_v33/constructors/account_passwordSettings.md delete mode 100644 old_docs/API_docs_v33/constructors/account_privacyRules.md delete mode 100644 old_docs/API_docs_v33/constructors/account_sentChangePhoneCode.md create mode 100644 old_docs/API_docs_v33/constructors/auth.authorization.md create mode 100644 old_docs/API_docs_v33/constructors/auth.checkedPhone.md create mode 100644 old_docs/API_docs_v33/constructors/auth.exportedAuthorization.md create mode 100644 old_docs/API_docs_v33/constructors/auth.passwordRecovery.md create mode 100644 old_docs/API_docs_v33/constructors/auth.sentAppCode.md create mode 100644 old_docs/API_docs_v33/constructors/auth.sentCode.md delete mode 100644 old_docs/API_docs_v33/constructors/auth_authorization.md delete mode 100644 old_docs/API_docs_v33/constructors/auth_checkedPhone.md delete mode 100644 old_docs/API_docs_v33/constructors/auth_exportedAuthorization.md delete mode 100644 old_docs/API_docs_v33/constructors/auth_passwordRecovery.md delete mode 100644 old_docs/API_docs_v33/constructors/auth_sentAppCode.md delete mode 100644 old_docs/API_docs_v33/constructors/auth_sentCode.md create mode 100644 old_docs/API_docs_v33/constructors/contacts.blocked.md create mode 100644 old_docs/API_docs_v33/constructors/contacts.blockedSlice.md create mode 100644 old_docs/API_docs_v33/constructors/contacts.contacts.md create mode 100644 old_docs/API_docs_v33/constructors/contacts.contactsNotModified.md create mode 100644 old_docs/API_docs_v33/constructors/contacts.found.md create mode 100644 old_docs/API_docs_v33/constructors/contacts.importedContacts.md create mode 100644 old_docs/API_docs_v33/constructors/contacts.link.md create mode 100644 old_docs/API_docs_v33/constructors/contacts.suggested.md delete mode 100644 old_docs/API_docs_v33/constructors/contacts_blocked.md delete mode 100644 old_docs/API_docs_v33/constructors/contacts_blockedSlice.md delete mode 100644 old_docs/API_docs_v33/constructors/contacts_contacts.md delete mode 100644 old_docs/API_docs_v33/constructors/contacts_contactsNotModified.md delete mode 100644 old_docs/API_docs_v33/constructors/contacts_found.md delete mode 100644 old_docs/API_docs_v33/constructors/contacts_importedContacts.md delete mode 100644 old_docs/API_docs_v33/constructors/contacts_link.md delete mode 100644 old_docs/API_docs_v33/constructors/contacts_suggested.md create mode 100644 old_docs/API_docs_v33/constructors/geochats.located.md create mode 100644 old_docs/API_docs_v33/constructors/geochats.messages.md create mode 100644 old_docs/API_docs_v33/constructors/geochats.messagesSlice.md create mode 100644 old_docs/API_docs_v33/constructors/geochats.statedMessage.md delete mode 100644 old_docs/API_docs_v33/constructors/geochats_located.md delete mode 100644 old_docs/API_docs_v33/constructors/geochats_messages.md delete mode 100644 old_docs/API_docs_v33/constructors/geochats_messagesSlice.md delete mode 100644 old_docs/API_docs_v33/constructors/geochats_statedMessage.md create mode 100644 old_docs/API_docs_v33/constructors/help.appChangelog.md create mode 100644 old_docs/API_docs_v33/constructors/help.appChangelogEmpty.md create mode 100644 old_docs/API_docs_v33/constructors/help.appUpdate.md create mode 100644 old_docs/API_docs_v33/constructors/help.inviteText.md create mode 100644 old_docs/API_docs_v33/constructors/help.noAppUpdate.md create mode 100644 old_docs/API_docs_v33/constructors/help.support.md delete mode 100644 old_docs/API_docs_v33/constructors/help_appChangelog.md delete mode 100644 old_docs/API_docs_v33/constructors/help_appChangelogEmpty.md delete mode 100644 old_docs/API_docs_v33/constructors/help_appUpdate.md delete mode 100644 old_docs/API_docs_v33/constructors/help_inviteText.md delete mode 100644 old_docs/API_docs_v33/constructors/help_noAppUpdate.md delete mode 100644 old_docs/API_docs_v33/constructors/help_support.md create mode 100644 old_docs/API_docs_v33/constructors/messages.affectedHistory.md create mode 100644 old_docs/API_docs_v33/constructors/messages.affectedMessages.md create mode 100644 old_docs/API_docs_v33/constructors/messages.allStickers.md create mode 100644 old_docs/API_docs_v33/constructors/messages.allStickersNotModified.md create mode 100644 old_docs/API_docs_v33/constructors/messages.chatFull.md create mode 100644 old_docs/API_docs_v33/constructors/messages.chats.md create mode 100644 old_docs/API_docs_v33/constructors/messages.dhConfig.md create mode 100644 old_docs/API_docs_v33/constructors/messages.dhConfigNotModified.md create mode 100644 old_docs/API_docs_v33/constructors/messages.dialogs.md create mode 100644 old_docs/API_docs_v33/constructors/messages.dialogsSlice.md create mode 100644 old_docs/API_docs_v33/constructors/messages.messageEmpty.md create mode 100644 old_docs/API_docs_v33/constructors/messages.messages.md create mode 100644 old_docs/API_docs_v33/constructors/messages.messagesSlice.md create mode 100644 old_docs/API_docs_v33/constructors/messages.sentEncryptedFile.md create mode 100644 old_docs/API_docs_v33/constructors/messages.sentEncryptedMessage.md create mode 100644 old_docs/API_docs_v33/constructors/messages.sentMessage.md create mode 100644 old_docs/API_docs_v33/constructors/messages.sentMessageLink.md create mode 100644 old_docs/API_docs_v33/constructors/messages.stickerSet.md create mode 100644 old_docs/API_docs_v33/constructors/messages.stickers.md create mode 100644 old_docs/API_docs_v33/constructors/messages.stickersNotModified.md delete mode 100644 old_docs/API_docs_v33/constructors/messages_affectedHistory.md delete mode 100644 old_docs/API_docs_v33/constructors/messages_affectedMessages.md delete mode 100644 old_docs/API_docs_v33/constructors/messages_allStickers.md delete mode 100644 old_docs/API_docs_v33/constructors/messages_allStickersNotModified.md delete mode 100644 old_docs/API_docs_v33/constructors/messages_chatFull.md delete mode 100644 old_docs/API_docs_v33/constructors/messages_chats.md delete mode 100644 old_docs/API_docs_v33/constructors/messages_dhConfig.md delete mode 100644 old_docs/API_docs_v33/constructors/messages_dhConfigNotModified.md delete mode 100644 old_docs/API_docs_v33/constructors/messages_dialogs.md delete mode 100644 old_docs/API_docs_v33/constructors/messages_dialogsSlice.md delete mode 100644 old_docs/API_docs_v33/constructors/messages_messageEmpty.md delete mode 100644 old_docs/API_docs_v33/constructors/messages_messages.md delete mode 100644 old_docs/API_docs_v33/constructors/messages_messagesSlice.md delete mode 100644 old_docs/API_docs_v33/constructors/messages_sentEncryptedFile.md delete mode 100644 old_docs/API_docs_v33/constructors/messages_sentEncryptedMessage.md delete mode 100644 old_docs/API_docs_v33/constructors/messages_sentMessage.md delete mode 100644 old_docs/API_docs_v33/constructors/messages_sentMessageLink.md delete mode 100644 old_docs/API_docs_v33/constructors/messages_stickerSet.md delete mode 100644 old_docs/API_docs_v33/constructors/messages_stickers.md delete mode 100644 old_docs/API_docs_v33/constructors/messages_stickersNotModified.md create mode 100644 old_docs/API_docs_v33/constructors/photos.photo.md create mode 100644 old_docs/API_docs_v33/constructors/photos.photos.md create mode 100644 old_docs/API_docs_v33/constructors/photos.photosSlice.md delete mode 100644 old_docs/API_docs_v33/constructors/photos_photo.md delete mode 100644 old_docs/API_docs_v33/constructors/photos_photos.md delete mode 100644 old_docs/API_docs_v33/constructors/photos_photosSlice.md create mode 100644 old_docs/API_docs_v33/constructors/storage.fileGif.md create mode 100644 old_docs/API_docs_v33/constructors/storage.fileJpeg.md create mode 100644 old_docs/API_docs_v33/constructors/storage.fileMov.md create mode 100644 old_docs/API_docs_v33/constructors/storage.fileMp3.md create mode 100644 old_docs/API_docs_v33/constructors/storage.fileMp4.md create mode 100644 old_docs/API_docs_v33/constructors/storage.filePartial.md create mode 100644 old_docs/API_docs_v33/constructors/storage.filePdf.md create mode 100644 old_docs/API_docs_v33/constructors/storage.filePng.md create mode 100644 old_docs/API_docs_v33/constructors/storage.fileUnknown.md create mode 100644 old_docs/API_docs_v33/constructors/storage.fileWebp.md delete mode 100644 old_docs/API_docs_v33/constructors/storage_fileGif.md delete mode 100644 old_docs/API_docs_v33/constructors/storage_fileJpeg.md delete mode 100644 old_docs/API_docs_v33/constructors/storage_fileMov.md delete mode 100644 old_docs/API_docs_v33/constructors/storage_fileMp3.md delete mode 100644 old_docs/API_docs_v33/constructors/storage_fileMp4.md delete mode 100644 old_docs/API_docs_v33/constructors/storage_filePartial.md delete mode 100644 old_docs/API_docs_v33/constructors/storage_filePdf.md delete mode 100644 old_docs/API_docs_v33/constructors/storage_filePng.md delete mode 100644 old_docs/API_docs_v33/constructors/storage_fileUnknown.md delete mode 100644 old_docs/API_docs_v33/constructors/storage_fileWebp.md create mode 100644 old_docs/API_docs_v33/constructors/updates.difference.md create mode 100644 old_docs/API_docs_v33/constructors/updates.differenceEmpty.md create mode 100644 old_docs/API_docs_v33/constructors/updates.differenceSlice.md create mode 100644 old_docs/API_docs_v33/constructors/updates.state.md delete mode 100644 old_docs/API_docs_v33/constructors/updates_difference.md delete mode 100644 old_docs/API_docs_v33/constructors/updates_differenceEmpty.md delete mode 100644 old_docs/API_docs_v33/constructors/updates_differenceSlice.md delete mode 100644 old_docs/API_docs_v33/constructors/updates_state.md create mode 100644 old_docs/API_docs_v33/constructors/upload.file.md delete mode 100644 old_docs/API_docs_v33/constructors/upload_file.md create mode 100644 old_docs/API_docs_v33/types/account.Authorizations.md create mode 100644 old_docs/API_docs_v33/types/account.Password.md create mode 100644 old_docs/API_docs_v33/types/account.PasswordInputSettings.md create mode 100644 old_docs/API_docs_v33/types/account.PasswordSettings.md create mode 100644 old_docs/API_docs_v33/types/account.PrivacyRules.md create mode 100644 old_docs/API_docs_v33/types/account.SentChangePhoneCode.md delete mode 100644 old_docs/API_docs_v33/types/account_Authorizations.md delete mode 100644 old_docs/API_docs_v33/types/account_Password.md delete mode 100644 old_docs/API_docs_v33/types/account_PasswordInputSettings.md delete mode 100644 old_docs/API_docs_v33/types/account_PasswordSettings.md delete mode 100644 old_docs/API_docs_v33/types/account_PrivacyRules.md delete mode 100644 old_docs/API_docs_v33/types/account_SentChangePhoneCode.md create mode 100644 old_docs/API_docs_v33/types/auth.Authorization.md create mode 100644 old_docs/API_docs_v33/types/auth.CheckedPhone.md create mode 100644 old_docs/API_docs_v33/types/auth.ExportedAuthorization.md create mode 100644 old_docs/API_docs_v33/types/auth.PasswordRecovery.md create mode 100644 old_docs/API_docs_v33/types/auth.SentCode.md delete mode 100644 old_docs/API_docs_v33/types/auth_Authorization.md delete mode 100644 old_docs/API_docs_v33/types/auth_CheckedPhone.md delete mode 100644 old_docs/API_docs_v33/types/auth_ExportedAuthorization.md delete mode 100644 old_docs/API_docs_v33/types/auth_PasswordRecovery.md delete mode 100644 old_docs/API_docs_v33/types/auth_SentCode.md create mode 100644 old_docs/API_docs_v33/types/contacts.Blocked.md create mode 100644 old_docs/API_docs_v33/types/contacts.Contacts.md create mode 100644 old_docs/API_docs_v33/types/contacts.Found.md create mode 100644 old_docs/API_docs_v33/types/contacts.ImportedContacts.md create mode 100644 old_docs/API_docs_v33/types/contacts.Link.md create mode 100644 old_docs/API_docs_v33/types/contacts.Suggested.md delete mode 100644 old_docs/API_docs_v33/types/contacts_Blocked.md delete mode 100644 old_docs/API_docs_v33/types/contacts_Contacts.md delete mode 100644 old_docs/API_docs_v33/types/contacts_Found.md delete mode 100644 old_docs/API_docs_v33/types/contacts_ImportedContacts.md delete mode 100644 old_docs/API_docs_v33/types/contacts_Link.md delete mode 100644 old_docs/API_docs_v33/types/contacts_Suggested.md create mode 100644 old_docs/API_docs_v33/types/geochats.Located.md create mode 100644 old_docs/API_docs_v33/types/geochats.Messages.md create mode 100644 old_docs/API_docs_v33/types/geochats.StatedMessage.md delete mode 100644 old_docs/API_docs_v33/types/geochats_Located.md delete mode 100644 old_docs/API_docs_v33/types/geochats_Messages.md delete mode 100644 old_docs/API_docs_v33/types/geochats_StatedMessage.md create mode 100644 old_docs/API_docs_v33/types/help.AppChangelog.md create mode 100644 old_docs/API_docs_v33/types/help.AppUpdate.md create mode 100644 old_docs/API_docs_v33/types/help.InviteText.md create mode 100644 old_docs/API_docs_v33/types/help.Support.md delete mode 100644 old_docs/API_docs_v33/types/help_AppChangelog.md delete mode 100644 old_docs/API_docs_v33/types/help_AppUpdate.md delete mode 100644 old_docs/API_docs_v33/types/help_InviteText.md delete mode 100644 old_docs/API_docs_v33/types/help_Support.md create mode 100644 old_docs/API_docs_v33/types/messages.AffectedHistory.md create mode 100644 old_docs/API_docs_v33/types/messages.AffectedMessages.md create mode 100644 old_docs/API_docs_v33/types/messages.AllStickers.md create mode 100644 old_docs/API_docs_v33/types/messages.ChatFull.md create mode 100644 old_docs/API_docs_v33/types/messages.Chats.md create mode 100644 old_docs/API_docs_v33/types/messages.DhConfig.md create mode 100644 old_docs/API_docs_v33/types/messages.Dialogs.md create mode 100644 old_docs/API_docs_v33/types/messages.Message.md create mode 100644 old_docs/API_docs_v33/types/messages.Messages.md create mode 100644 old_docs/API_docs_v33/types/messages.SentEncryptedMessage.md create mode 100644 old_docs/API_docs_v33/types/messages.SentMessage.md create mode 100644 old_docs/API_docs_v33/types/messages.StickerSet.md create mode 100644 old_docs/API_docs_v33/types/messages.Stickers.md delete mode 100644 old_docs/API_docs_v33/types/messages_AffectedHistory.md delete mode 100644 old_docs/API_docs_v33/types/messages_AffectedMessages.md delete mode 100644 old_docs/API_docs_v33/types/messages_AllStickers.md delete mode 100644 old_docs/API_docs_v33/types/messages_ChatFull.md delete mode 100644 old_docs/API_docs_v33/types/messages_Chats.md delete mode 100644 old_docs/API_docs_v33/types/messages_DhConfig.md delete mode 100644 old_docs/API_docs_v33/types/messages_Dialogs.md delete mode 100644 old_docs/API_docs_v33/types/messages_Message.md delete mode 100644 old_docs/API_docs_v33/types/messages_Messages.md delete mode 100644 old_docs/API_docs_v33/types/messages_SentEncryptedMessage.md delete mode 100644 old_docs/API_docs_v33/types/messages_SentMessage.md delete mode 100644 old_docs/API_docs_v33/types/messages_StickerSet.md delete mode 100644 old_docs/API_docs_v33/types/messages_Stickers.md create mode 100644 old_docs/API_docs_v33/types/photos.Photo.md create mode 100644 old_docs/API_docs_v33/types/photos.Photos.md delete mode 100644 old_docs/API_docs_v33/types/photos_Photo.md delete mode 100644 old_docs/API_docs_v33/types/photos_Photos.md create mode 100644 old_docs/API_docs_v33/types/storage.FileType.md delete mode 100644 old_docs/API_docs_v33/types/storage_FileType.md create mode 100644 old_docs/API_docs_v33/types/updates.Difference.md create mode 100644 old_docs/API_docs_v33/types/updates.State.md delete mode 100644 old_docs/API_docs_v33/types/updates_Difference.md delete mode 100644 old_docs/API_docs_v33/types/updates_State.md create mode 100644 old_docs/API_docs_v33/types/upload.File.md delete mode 100644 old_docs/API_docs_v33/types/upload_File.md create mode 100644 old_docs/API_docs_v38/constructors/account.authorizations.md create mode 100644 old_docs/API_docs_v38/constructors/account.noPassword.md create mode 100644 old_docs/API_docs_v38/constructors/account.password.md create mode 100644 old_docs/API_docs_v38/constructors/account.passwordInputSettings.md create mode 100644 old_docs/API_docs_v38/constructors/account.passwordSettings.md create mode 100644 old_docs/API_docs_v38/constructors/account.privacyRules.md create mode 100644 old_docs/API_docs_v38/constructors/account.sentChangePhoneCode.md delete mode 100644 old_docs/API_docs_v38/constructors/account_authorizations.md delete mode 100644 old_docs/API_docs_v38/constructors/account_noPassword.md delete mode 100644 old_docs/API_docs_v38/constructors/account_password.md delete mode 100644 old_docs/API_docs_v38/constructors/account_passwordInputSettings.md delete mode 100644 old_docs/API_docs_v38/constructors/account_passwordSettings.md delete mode 100644 old_docs/API_docs_v38/constructors/account_privacyRules.md delete mode 100644 old_docs/API_docs_v38/constructors/account_sentChangePhoneCode.md create mode 100644 old_docs/API_docs_v38/constructors/auth.authorization.md create mode 100644 old_docs/API_docs_v38/constructors/auth.checkedPhone.md create mode 100644 old_docs/API_docs_v38/constructors/auth.exportedAuthorization.md create mode 100644 old_docs/API_docs_v38/constructors/auth.passwordRecovery.md create mode 100644 old_docs/API_docs_v38/constructors/auth.sentAppCode.md create mode 100644 old_docs/API_docs_v38/constructors/auth.sentCode.md delete mode 100644 old_docs/API_docs_v38/constructors/auth_authorization.md delete mode 100644 old_docs/API_docs_v38/constructors/auth_checkedPhone.md delete mode 100644 old_docs/API_docs_v38/constructors/auth_exportedAuthorization.md delete mode 100644 old_docs/API_docs_v38/constructors/auth_passwordRecovery.md delete mode 100644 old_docs/API_docs_v38/constructors/auth_sentAppCode.md delete mode 100644 old_docs/API_docs_v38/constructors/auth_sentCode.md create mode 100644 old_docs/API_docs_v38/constructors/channels.channelParticipant.md create mode 100644 old_docs/API_docs_v38/constructors/channels.channelParticipants.md delete mode 100644 old_docs/API_docs_v38/constructors/channels_channelParticipant.md delete mode 100644 old_docs/API_docs_v38/constructors/channels_channelParticipants.md create mode 100644 old_docs/API_docs_v38/constructors/contacts.blocked.md create mode 100644 old_docs/API_docs_v38/constructors/contacts.blockedSlice.md create mode 100644 old_docs/API_docs_v38/constructors/contacts.contacts.md create mode 100644 old_docs/API_docs_v38/constructors/contacts.contactsNotModified.md create mode 100644 old_docs/API_docs_v38/constructors/contacts.found.md create mode 100644 old_docs/API_docs_v38/constructors/contacts.importedContacts.md create mode 100644 old_docs/API_docs_v38/constructors/contacts.link.md create mode 100644 old_docs/API_docs_v38/constructors/contacts.resolvedPeer.md create mode 100644 old_docs/API_docs_v38/constructors/contacts.suggested.md delete mode 100644 old_docs/API_docs_v38/constructors/contacts_blocked.md delete mode 100644 old_docs/API_docs_v38/constructors/contacts_blockedSlice.md delete mode 100644 old_docs/API_docs_v38/constructors/contacts_contacts.md delete mode 100644 old_docs/API_docs_v38/constructors/contacts_contactsNotModified.md delete mode 100644 old_docs/API_docs_v38/constructors/contacts_found.md delete mode 100644 old_docs/API_docs_v38/constructors/contacts_importedContacts.md delete mode 100644 old_docs/API_docs_v38/constructors/contacts_link.md delete mode 100644 old_docs/API_docs_v38/constructors/contacts_resolvedPeer.md delete mode 100644 old_docs/API_docs_v38/constructors/contacts_suggested.md create mode 100644 old_docs/API_docs_v38/constructors/help.appChangelog.md create mode 100644 old_docs/API_docs_v38/constructors/help.appChangelogEmpty.md create mode 100644 old_docs/API_docs_v38/constructors/help.appUpdate.md create mode 100644 old_docs/API_docs_v38/constructors/help.inviteText.md create mode 100644 old_docs/API_docs_v38/constructors/help.noAppUpdate.md create mode 100644 old_docs/API_docs_v38/constructors/help.support.md delete mode 100644 old_docs/API_docs_v38/constructors/help_appChangelog.md delete mode 100644 old_docs/API_docs_v38/constructors/help_appChangelogEmpty.md delete mode 100644 old_docs/API_docs_v38/constructors/help_appUpdate.md delete mode 100644 old_docs/API_docs_v38/constructors/help_inviteText.md delete mode 100644 old_docs/API_docs_v38/constructors/help_noAppUpdate.md delete mode 100644 old_docs/API_docs_v38/constructors/help_support.md create mode 100644 old_docs/API_docs_v38/constructors/messages.affectedHistory.md create mode 100644 old_docs/API_docs_v38/constructors/messages.affectedMessages.md create mode 100644 old_docs/API_docs_v38/constructors/messages.allStickers.md create mode 100644 old_docs/API_docs_v38/constructors/messages.allStickersNotModified.md create mode 100644 old_docs/API_docs_v38/constructors/messages.channelMessages.md create mode 100644 old_docs/API_docs_v38/constructors/messages.chatFull.md create mode 100644 old_docs/API_docs_v38/constructors/messages.chats.md create mode 100644 old_docs/API_docs_v38/constructors/messages.dhConfig.md create mode 100644 old_docs/API_docs_v38/constructors/messages.dhConfigNotModified.md create mode 100644 old_docs/API_docs_v38/constructors/messages.dialogs.md create mode 100644 old_docs/API_docs_v38/constructors/messages.dialogsSlice.md create mode 100644 old_docs/API_docs_v38/constructors/messages.messages.md create mode 100644 old_docs/API_docs_v38/constructors/messages.messagesSlice.md create mode 100644 old_docs/API_docs_v38/constructors/messages.sentEncryptedFile.md create mode 100644 old_docs/API_docs_v38/constructors/messages.sentEncryptedMessage.md create mode 100644 old_docs/API_docs_v38/constructors/messages.stickerSet.md create mode 100644 old_docs/API_docs_v38/constructors/messages.stickers.md create mode 100644 old_docs/API_docs_v38/constructors/messages.stickersNotModified.md delete mode 100644 old_docs/API_docs_v38/constructors/messages_affectedHistory.md delete mode 100644 old_docs/API_docs_v38/constructors/messages_affectedMessages.md delete mode 100644 old_docs/API_docs_v38/constructors/messages_allStickers.md delete mode 100644 old_docs/API_docs_v38/constructors/messages_allStickersNotModified.md delete mode 100644 old_docs/API_docs_v38/constructors/messages_channelMessages.md delete mode 100644 old_docs/API_docs_v38/constructors/messages_chatFull.md delete mode 100644 old_docs/API_docs_v38/constructors/messages_chats.md delete mode 100644 old_docs/API_docs_v38/constructors/messages_dhConfig.md delete mode 100644 old_docs/API_docs_v38/constructors/messages_dhConfigNotModified.md delete mode 100644 old_docs/API_docs_v38/constructors/messages_dialogs.md delete mode 100644 old_docs/API_docs_v38/constructors/messages_dialogsSlice.md delete mode 100644 old_docs/API_docs_v38/constructors/messages_messages.md delete mode 100644 old_docs/API_docs_v38/constructors/messages_messagesSlice.md delete mode 100644 old_docs/API_docs_v38/constructors/messages_sentEncryptedFile.md delete mode 100644 old_docs/API_docs_v38/constructors/messages_sentEncryptedMessage.md delete mode 100644 old_docs/API_docs_v38/constructors/messages_stickerSet.md delete mode 100644 old_docs/API_docs_v38/constructors/messages_stickers.md delete mode 100644 old_docs/API_docs_v38/constructors/messages_stickersNotModified.md create mode 100644 old_docs/API_docs_v38/constructors/photos.photo.md create mode 100644 old_docs/API_docs_v38/constructors/photos.photos.md create mode 100644 old_docs/API_docs_v38/constructors/photos.photosSlice.md delete mode 100644 old_docs/API_docs_v38/constructors/photos_photo.md delete mode 100644 old_docs/API_docs_v38/constructors/photos_photos.md delete mode 100644 old_docs/API_docs_v38/constructors/photos_photosSlice.md create mode 100644 old_docs/API_docs_v38/constructors/storage.fileGif.md create mode 100644 old_docs/API_docs_v38/constructors/storage.fileJpeg.md create mode 100644 old_docs/API_docs_v38/constructors/storage.fileMov.md create mode 100644 old_docs/API_docs_v38/constructors/storage.fileMp3.md create mode 100644 old_docs/API_docs_v38/constructors/storage.fileMp4.md create mode 100644 old_docs/API_docs_v38/constructors/storage.filePartial.md create mode 100644 old_docs/API_docs_v38/constructors/storage.filePdf.md create mode 100644 old_docs/API_docs_v38/constructors/storage.filePng.md create mode 100644 old_docs/API_docs_v38/constructors/storage.fileUnknown.md create mode 100644 old_docs/API_docs_v38/constructors/storage.fileWebp.md delete mode 100644 old_docs/API_docs_v38/constructors/storage_fileGif.md delete mode 100644 old_docs/API_docs_v38/constructors/storage_fileJpeg.md delete mode 100644 old_docs/API_docs_v38/constructors/storage_fileMov.md delete mode 100644 old_docs/API_docs_v38/constructors/storage_fileMp3.md delete mode 100644 old_docs/API_docs_v38/constructors/storage_fileMp4.md delete mode 100644 old_docs/API_docs_v38/constructors/storage_filePartial.md delete mode 100644 old_docs/API_docs_v38/constructors/storage_filePdf.md delete mode 100644 old_docs/API_docs_v38/constructors/storage_filePng.md delete mode 100644 old_docs/API_docs_v38/constructors/storage_fileUnknown.md delete mode 100644 old_docs/API_docs_v38/constructors/storage_fileWebp.md create mode 100644 old_docs/API_docs_v38/constructors/updates.channelDifference.md create mode 100644 old_docs/API_docs_v38/constructors/updates.channelDifferenceEmpty.md create mode 100644 old_docs/API_docs_v38/constructors/updates.channelDifferenceTooLong.md create mode 100644 old_docs/API_docs_v38/constructors/updates.difference.md create mode 100644 old_docs/API_docs_v38/constructors/updates.differenceEmpty.md create mode 100644 old_docs/API_docs_v38/constructors/updates.differenceSlice.md create mode 100644 old_docs/API_docs_v38/constructors/updates.state.md delete mode 100644 old_docs/API_docs_v38/constructors/updates_channelDifference.md delete mode 100644 old_docs/API_docs_v38/constructors/updates_channelDifferenceEmpty.md delete mode 100644 old_docs/API_docs_v38/constructors/updates_channelDifferenceTooLong.md delete mode 100644 old_docs/API_docs_v38/constructors/updates_difference.md delete mode 100644 old_docs/API_docs_v38/constructors/updates_differenceEmpty.md delete mode 100644 old_docs/API_docs_v38/constructors/updates_differenceSlice.md delete mode 100644 old_docs/API_docs_v38/constructors/updates_state.md create mode 100644 old_docs/API_docs_v38/constructors/upload.file.md delete mode 100644 old_docs/API_docs_v38/constructors/upload_file.md create mode 100644 old_docs/API_docs_v38/types/account.Authorizations.md create mode 100644 old_docs/API_docs_v38/types/account.Password.md create mode 100644 old_docs/API_docs_v38/types/account.PasswordInputSettings.md create mode 100644 old_docs/API_docs_v38/types/account.PasswordSettings.md create mode 100644 old_docs/API_docs_v38/types/account.PrivacyRules.md create mode 100644 old_docs/API_docs_v38/types/account.SentChangePhoneCode.md delete mode 100644 old_docs/API_docs_v38/types/account_Authorizations.md delete mode 100644 old_docs/API_docs_v38/types/account_Password.md delete mode 100644 old_docs/API_docs_v38/types/account_PasswordInputSettings.md delete mode 100644 old_docs/API_docs_v38/types/account_PasswordSettings.md delete mode 100644 old_docs/API_docs_v38/types/account_PrivacyRules.md delete mode 100644 old_docs/API_docs_v38/types/account_SentChangePhoneCode.md create mode 100644 old_docs/API_docs_v38/types/auth.Authorization.md create mode 100644 old_docs/API_docs_v38/types/auth.CheckedPhone.md create mode 100644 old_docs/API_docs_v38/types/auth.ExportedAuthorization.md create mode 100644 old_docs/API_docs_v38/types/auth.PasswordRecovery.md create mode 100644 old_docs/API_docs_v38/types/auth.SentCode.md delete mode 100644 old_docs/API_docs_v38/types/auth_Authorization.md delete mode 100644 old_docs/API_docs_v38/types/auth_CheckedPhone.md delete mode 100644 old_docs/API_docs_v38/types/auth_ExportedAuthorization.md delete mode 100644 old_docs/API_docs_v38/types/auth_PasswordRecovery.md delete mode 100644 old_docs/API_docs_v38/types/auth_SentCode.md create mode 100644 old_docs/API_docs_v38/types/channels.ChannelParticipant.md create mode 100644 old_docs/API_docs_v38/types/channels.ChannelParticipants.md delete mode 100644 old_docs/API_docs_v38/types/channels_ChannelParticipant.md delete mode 100644 old_docs/API_docs_v38/types/channels_ChannelParticipants.md create mode 100644 old_docs/API_docs_v38/types/contacts.Blocked.md create mode 100644 old_docs/API_docs_v38/types/contacts.Contacts.md create mode 100644 old_docs/API_docs_v38/types/contacts.Found.md create mode 100644 old_docs/API_docs_v38/types/contacts.ImportedContacts.md create mode 100644 old_docs/API_docs_v38/types/contacts.Link.md create mode 100644 old_docs/API_docs_v38/types/contacts.ResolvedPeer.md create mode 100644 old_docs/API_docs_v38/types/contacts.Suggested.md delete mode 100644 old_docs/API_docs_v38/types/contacts_Blocked.md delete mode 100644 old_docs/API_docs_v38/types/contacts_Contacts.md delete mode 100644 old_docs/API_docs_v38/types/contacts_Found.md delete mode 100644 old_docs/API_docs_v38/types/contacts_ImportedContacts.md delete mode 100644 old_docs/API_docs_v38/types/contacts_Link.md delete mode 100644 old_docs/API_docs_v38/types/contacts_ResolvedPeer.md delete mode 100644 old_docs/API_docs_v38/types/contacts_Suggested.md create mode 100644 old_docs/API_docs_v38/types/help.AppChangelog.md create mode 100644 old_docs/API_docs_v38/types/help.AppUpdate.md create mode 100644 old_docs/API_docs_v38/types/help.InviteText.md create mode 100644 old_docs/API_docs_v38/types/help.Support.md delete mode 100644 old_docs/API_docs_v38/types/help_AppChangelog.md delete mode 100644 old_docs/API_docs_v38/types/help_AppUpdate.md delete mode 100644 old_docs/API_docs_v38/types/help_InviteText.md delete mode 100644 old_docs/API_docs_v38/types/help_Support.md create mode 100644 old_docs/API_docs_v38/types/messages.AffectedHistory.md create mode 100644 old_docs/API_docs_v38/types/messages.AffectedMessages.md create mode 100644 old_docs/API_docs_v38/types/messages.AllStickers.md create mode 100644 old_docs/API_docs_v38/types/messages.ChatFull.md create mode 100644 old_docs/API_docs_v38/types/messages.Chats.md create mode 100644 old_docs/API_docs_v38/types/messages.DhConfig.md create mode 100644 old_docs/API_docs_v38/types/messages.Dialogs.md create mode 100644 old_docs/API_docs_v38/types/messages.Messages.md create mode 100644 old_docs/API_docs_v38/types/messages.SentEncryptedMessage.md create mode 100644 old_docs/API_docs_v38/types/messages.StickerSet.md create mode 100644 old_docs/API_docs_v38/types/messages.Stickers.md delete mode 100644 old_docs/API_docs_v38/types/messages_AffectedHistory.md delete mode 100644 old_docs/API_docs_v38/types/messages_AffectedMessages.md delete mode 100644 old_docs/API_docs_v38/types/messages_AllStickers.md delete mode 100644 old_docs/API_docs_v38/types/messages_ChatFull.md delete mode 100644 old_docs/API_docs_v38/types/messages_Chats.md delete mode 100644 old_docs/API_docs_v38/types/messages_DhConfig.md delete mode 100644 old_docs/API_docs_v38/types/messages_Dialogs.md delete mode 100644 old_docs/API_docs_v38/types/messages_Messages.md delete mode 100644 old_docs/API_docs_v38/types/messages_SentEncryptedMessage.md delete mode 100644 old_docs/API_docs_v38/types/messages_StickerSet.md delete mode 100644 old_docs/API_docs_v38/types/messages_Stickers.md create mode 100644 old_docs/API_docs_v38/types/photos.Photo.md create mode 100644 old_docs/API_docs_v38/types/photos.Photos.md delete mode 100644 old_docs/API_docs_v38/types/photos_Photo.md delete mode 100644 old_docs/API_docs_v38/types/photos_Photos.md create mode 100644 old_docs/API_docs_v38/types/storage.FileType.md delete mode 100644 old_docs/API_docs_v38/types/storage_FileType.md create mode 100644 old_docs/API_docs_v38/types/updates.ChannelDifference.md create mode 100644 old_docs/API_docs_v38/types/updates.Difference.md create mode 100644 old_docs/API_docs_v38/types/updates.State.md delete mode 100644 old_docs/API_docs_v38/types/updates_ChannelDifference.md delete mode 100644 old_docs/API_docs_v38/types/updates_Difference.md delete mode 100644 old_docs/API_docs_v38/types/updates_State.md create mode 100644 old_docs/API_docs_v38/types/upload.File.md delete mode 100644 old_docs/API_docs_v38/types/upload_File.md create mode 100644 old_docs/API_docs_v40/constructors/account.authorizations.md create mode 100644 old_docs/API_docs_v40/constructors/account.noPassword.md create mode 100644 old_docs/API_docs_v40/constructors/account.password.md create mode 100644 old_docs/API_docs_v40/constructors/account.passwordInputSettings.md create mode 100644 old_docs/API_docs_v40/constructors/account.passwordSettings.md create mode 100644 old_docs/API_docs_v40/constructors/account.privacyRules.md create mode 100644 old_docs/API_docs_v40/constructors/account.sentChangePhoneCode.md delete mode 100644 old_docs/API_docs_v40/constructors/account_authorizations.md delete mode 100644 old_docs/API_docs_v40/constructors/account_noPassword.md delete mode 100644 old_docs/API_docs_v40/constructors/account_password.md delete mode 100644 old_docs/API_docs_v40/constructors/account_passwordInputSettings.md delete mode 100644 old_docs/API_docs_v40/constructors/account_passwordSettings.md delete mode 100644 old_docs/API_docs_v40/constructors/account_privacyRules.md delete mode 100644 old_docs/API_docs_v40/constructors/account_sentChangePhoneCode.md create mode 100644 old_docs/API_docs_v40/constructors/auth.authorization.md create mode 100644 old_docs/API_docs_v40/constructors/auth.checkedPhone.md create mode 100644 old_docs/API_docs_v40/constructors/auth.exportedAuthorization.md create mode 100644 old_docs/API_docs_v40/constructors/auth.passwordRecovery.md create mode 100644 old_docs/API_docs_v40/constructors/auth.sentAppCode.md create mode 100644 old_docs/API_docs_v40/constructors/auth.sentCode.md delete mode 100644 old_docs/API_docs_v40/constructors/auth_authorization.md delete mode 100644 old_docs/API_docs_v40/constructors/auth_checkedPhone.md delete mode 100644 old_docs/API_docs_v40/constructors/auth_exportedAuthorization.md delete mode 100644 old_docs/API_docs_v40/constructors/auth_passwordRecovery.md delete mode 100644 old_docs/API_docs_v40/constructors/auth_sentAppCode.md delete mode 100644 old_docs/API_docs_v40/constructors/auth_sentCode.md create mode 100644 old_docs/API_docs_v40/constructors/contacts.blocked.md create mode 100644 old_docs/API_docs_v40/constructors/contacts.blockedSlice.md create mode 100644 old_docs/API_docs_v40/constructors/contacts.contacts.md create mode 100644 old_docs/API_docs_v40/constructors/contacts.contactsNotModified.md create mode 100644 old_docs/API_docs_v40/constructors/contacts.found.md create mode 100644 old_docs/API_docs_v40/constructors/contacts.importedContacts.md create mode 100644 old_docs/API_docs_v40/constructors/contacts.link.md create mode 100644 old_docs/API_docs_v40/constructors/contacts.suggested.md delete mode 100644 old_docs/API_docs_v40/constructors/contacts_blocked.md delete mode 100644 old_docs/API_docs_v40/constructors/contacts_blockedSlice.md delete mode 100644 old_docs/API_docs_v40/constructors/contacts_contacts.md delete mode 100644 old_docs/API_docs_v40/constructors/contacts_contactsNotModified.md delete mode 100644 old_docs/API_docs_v40/constructors/contacts_found.md delete mode 100644 old_docs/API_docs_v40/constructors/contacts_importedContacts.md delete mode 100644 old_docs/API_docs_v40/constructors/contacts_link.md delete mode 100644 old_docs/API_docs_v40/constructors/contacts_suggested.md create mode 100644 old_docs/API_docs_v40/constructors/help.appChangelog.md create mode 100644 old_docs/API_docs_v40/constructors/help.appChangelogEmpty.md create mode 100644 old_docs/API_docs_v40/constructors/help.appUpdate.md create mode 100644 old_docs/API_docs_v40/constructors/help.inviteText.md create mode 100644 old_docs/API_docs_v40/constructors/help.noAppUpdate.md create mode 100644 old_docs/API_docs_v40/constructors/help.support.md delete mode 100644 old_docs/API_docs_v40/constructors/help_appChangelog.md delete mode 100644 old_docs/API_docs_v40/constructors/help_appChangelogEmpty.md delete mode 100644 old_docs/API_docs_v40/constructors/help_appUpdate.md delete mode 100644 old_docs/API_docs_v40/constructors/help_inviteText.md delete mode 100644 old_docs/API_docs_v40/constructors/help_noAppUpdate.md delete mode 100644 old_docs/API_docs_v40/constructors/help_support.md create mode 100644 old_docs/API_docs_v40/constructors/messages.affectedHistory.md create mode 100644 old_docs/API_docs_v40/constructors/messages.affectedMessages.md create mode 100644 old_docs/API_docs_v40/constructors/messages.allStickers.md create mode 100644 old_docs/API_docs_v40/constructors/messages.allStickersNotModified.md create mode 100644 old_docs/API_docs_v40/constructors/messages.channelMessages.md create mode 100644 old_docs/API_docs_v40/constructors/messages.chatFull.md create mode 100644 old_docs/API_docs_v40/constructors/messages.chats.md create mode 100644 old_docs/API_docs_v40/constructors/messages.dhConfig.md create mode 100644 old_docs/API_docs_v40/constructors/messages.dhConfigNotModified.md create mode 100644 old_docs/API_docs_v40/constructors/messages.dialogs.md create mode 100644 old_docs/API_docs_v40/constructors/messages.dialogsSlice.md create mode 100644 old_docs/API_docs_v40/constructors/messages.messages.md create mode 100644 old_docs/API_docs_v40/constructors/messages.messagesSlice.md create mode 100644 old_docs/API_docs_v40/constructors/messages.sentEncryptedFile.md create mode 100644 old_docs/API_docs_v40/constructors/messages.sentEncryptedMessage.md create mode 100644 old_docs/API_docs_v40/constructors/messages.stickerSet.md create mode 100644 old_docs/API_docs_v40/constructors/messages.stickers.md create mode 100644 old_docs/API_docs_v40/constructors/messages.stickersNotModified.md delete mode 100644 old_docs/API_docs_v40/constructors/messages_affectedHistory.md delete mode 100644 old_docs/API_docs_v40/constructors/messages_affectedMessages.md delete mode 100644 old_docs/API_docs_v40/constructors/messages_allStickers.md delete mode 100644 old_docs/API_docs_v40/constructors/messages_allStickersNotModified.md delete mode 100644 old_docs/API_docs_v40/constructors/messages_channelMessages.md delete mode 100644 old_docs/API_docs_v40/constructors/messages_chatFull.md delete mode 100644 old_docs/API_docs_v40/constructors/messages_chats.md delete mode 100644 old_docs/API_docs_v40/constructors/messages_dhConfig.md delete mode 100644 old_docs/API_docs_v40/constructors/messages_dhConfigNotModified.md delete mode 100644 old_docs/API_docs_v40/constructors/messages_dialogs.md delete mode 100644 old_docs/API_docs_v40/constructors/messages_dialogsSlice.md delete mode 100644 old_docs/API_docs_v40/constructors/messages_messages.md delete mode 100644 old_docs/API_docs_v40/constructors/messages_messagesSlice.md delete mode 100644 old_docs/API_docs_v40/constructors/messages_sentEncryptedFile.md delete mode 100644 old_docs/API_docs_v40/constructors/messages_sentEncryptedMessage.md delete mode 100644 old_docs/API_docs_v40/constructors/messages_stickerSet.md delete mode 100644 old_docs/API_docs_v40/constructors/messages_stickers.md delete mode 100644 old_docs/API_docs_v40/constructors/messages_stickersNotModified.md create mode 100644 old_docs/API_docs_v40/constructors/photos.photo.md create mode 100644 old_docs/API_docs_v40/constructors/photos.photos.md create mode 100644 old_docs/API_docs_v40/constructors/photos.photosSlice.md delete mode 100644 old_docs/API_docs_v40/constructors/photos_photo.md delete mode 100644 old_docs/API_docs_v40/constructors/photos_photos.md delete mode 100644 old_docs/API_docs_v40/constructors/photos_photosSlice.md create mode 100644 old_docs/API_docs_v40/constructors/storage.fileGif.md create mode 100644 old_docs/API_docs_v40/constructors/storage.fileJpeg.md create mode 100644 old_docs/API_docs_v40/constructors/storage.fileMov.md create mode 100644 old_docs/API_docs_v40/constructors/storage.fileMp3.md create mode 100644 old_docs/API_docs_v40/constructors/storage.fileMp4.md create mode 100644 old_docs/API_docs_v40/constructors/storage.filePartial.md create mode 100644 old_docs/API_docs_v40/constructors/storage.filePdf.md create mode 100644 old_docs/API_docs_v40/constructors/storage.filePng.md create mode 100644 old_docs/API_docs_v40/constructors/storage.fileUnknown.md create mode 100644 old_docs/API_docs_v40/constructors/storage.fileWebp.md delete mode 100644 old_docs/API_docs_v40/constructors/storage_fileGif.md delete mode 100644 old_docs/API_docs_v40/constructors/storage_fileJpeg.md delete mode 100644 old_docs/API_docs_v40/constructors/storage_fileMov.md delete mode 100644 old_docs/API_docs_v40/constructors/storage_fileMp3.md delete mode 100644 old_docs/API_docs_v40/constructors/storage_fileMp4.md delete mode 100644 old_docs/API_docs_v40/constructors/storage_filePartial.md delete mode 100644 old_docs/API_docs_v40/constructors/storage_filePdf.md delete mode 100644 old_docs/API_docs_v40/constructors/storage_filePng.md delete mode 100644 old_docs/API_docs_v40/constructors/storage_fileUnknown.md delete mode 100644 old_docs/API_docs_v40/constructors/storage_fileWebp.md create mode 100644 old_docs/API_docs_v40/constructors/updates.channelDifference.md create mode 100644 old_docs/API_docs_v40/constructors/updates.channelDifferenceEmpty.md create mode 100644 old_docs/API_docs_v40/constructors/updates.channelDifferenceTooLong.md create mode 100644 old_docs/API_docs_v40/constructors/updates.difference.md create mode 100644 old_docs/API_docs_v40/constructors/updates.differenceEmpty.md create mode 100644 old_docs/API_docs_v40/constructors/updates.differenceSlice.md create mode 100644 old_docs/API_docs_v40/constructors/updates.state.md delete mode 100644 old_docs/API_docs_v40/constructors/updates_channelDifference.md delete mode 100644 old_docs/API_docs_v40/constructors/updates_channelDifferenceEmpty.md delete mode 100644 old_docs/API_docs_v40/constructors/updates_channelDifferenceTooLong.md delete mode 100644 old_docs/API_docs_v40/constructors/updates_difference.md delete mode 100644 old_docs/API_docs_v40/constructors/updates_differenceEmpty.md delete mode 100644 old_docs/API_docs_v40/constructors/updates_differenceSlice.md delete mode 100644 old_docs/API_docs_v40/constructors/updates_state.md create mode 100644 old_docs/API_docs_v40/constructors/upload.file.md delete mode 100644 old_docs/API_docs_v40/constructors/upload_file.md create mode 100644 old_docs/API_docs_v40/types/account.Authorizations.md create mode 100644 old_docs/API_docs_v40/types/account.Password.md create mode 100644 old_docs/API_docs_v40/types/account.PasswordInputSettings.md create mode 100644 old_docs/API_docs_v40/types/account.PasswordSettings.md create mode 100644 old_docs/API_docs_v40/types/account.PrivacyRules.md create mode 100644 old_docs/API_docs_v40/types/account.SentChangePhoneCode.md delete mode 100644 old_docs/API_docs_v40/types/account_Authorizations.md delete mode 100644 old_docs/API_docs_v40/types/account_Password.md delete mode 100644 old_docs/API_docs_v40/types/account_PasswordInputSettings.md delete mode 100644 old_docs/API_docs_v40/types/account_PasswordSettings.md delete mode 100644 old_docs/API_docs_v40/types/account_PrivacyRules.md delete mode 100644 old_docs/API_docs_v40/types/account_SentChangePhoneCode.md create mode 100644 old_docs/API_docs_v40/types/auth.Authorization.md create mode 100644 old_docs/API_docs_v40/types/auth.CheckedPhone.md create mode 100644 old_docs/API_docs_v40/types/auth.ExportedAuthorization.md create mode 100644 old_docs/API_docs_v40/types/auth.PasswordRecovery.md create mode 100644 old_docs/API_docs_v40/types/auth.SentCode.md delete mode 100644 old_docs/API_docs_v40/types/auth_Authorization.md delete mode 100644 old_docs/API_docs_v40/types/auth_CheckedPhone.md delete mode 100644 old_docs/API_docs_v40/types/auth_ExportedAuthorization.md delete mode 100644 old_docs/API_docs_v40/types/auth_PasswordRecovery.md delete mode 100644 old_docs/API_docs_v40/types/auth_SentCode.md create mode 100644 old_docs/API_docs_v40/types/contacts.Blocked.md create mode 100644 old_docs/API_docs_v40/types/contacts.Contacts.md create mode 100644 old_docs/API_docs_v40/types/contacts.Found.md create mode 100644 old_docs/API_docs_v40/types/contacts.ImportedContacts.md create mode 100644 old_docs/API_docs_v40/types/contacts.Link.md create mode 100644 old_docs/API_docs_v40/types/contacts.Suggested.md delete mode 100644 old_docs/API_docs_v40/types/contacts_Blocked.md delete mode 100644 old_docs/API_docs_v40/types/contacts_Contacts.md delete mode 100644 old_docs/API_docs_v40/types/contacts_Found.md delete mode 100644 old_docs/API_docs_v40/types/contacts_ImportedContacts.md delete mode 100644 old_docs/API_docs_v40/types/contacts_Link.md delete mode 100644 old_docs/API_docs_v40/types/contacts_Suggested.md create mode 100644 old_docs/API_docs_v40/types/help.AppChangelog.md create mode 100644 old_docs/API_docs_v40/types/help.AppUpdate.md create mode 100644 old_docs/API_docs_v40/types/help.InviteText.md create mode 100644 old_docs/API_docs_v40/types/help.Support.md delete mode 100644 old_docs/API_docs_v40/types/help_AppChangelog.md delete mode 100644 old_docs/API_docs_v40/types/help_AppUpdate.md delete mode 100644 old_docs/API_docs_v40/types/help_InviteText.md delete mode 100644 old_docs/API_docs_v40/types/help_Support.md create mode 100644 old_docs/API_docs_v40/types/messages.AffectedHistory.md create mode 100644 old_docs/API_docs_v40/types/messages.AffectedMessages.md create mode 100644 old_docs/API_docs_v40/types/messages.AllStickers.md create mode 100644 old_docs/API_docs_v40/types/messages.ChatFull.md create mode 100644 old_docs/API_docs_v40/types/messages.Chats.md create mode 100644 old_docs/API_docs_v40/types/messages.DhConfig.md create mode 100644 old_docs/API_docs_v40/types/messages.Dialogs.md create mode 100644 old_docs/API_docs_v40/types/messages.Messages.md create mode 100644 old_docs/API_docs_v40/types/messages.SentEncryptedMessage.md create mode 100644 old_docs/API_docs_v40/types/messages.StickerSet.md create mode 100644 old_docs/API_docs_v40/types/messages.Stickers.md delete mode 100644 old_docs/API_docs_v40/types/messages_AffectedHistory.md delete mode 100644 old_docs/API_docs_v40/types/messages_AffectedMessages.md delete mode 100644 old_docs/API_docs_v40/types/messages_AllStickers.md delete mode 100644 old_docs/API_docs_v40/types/messages_ChatFull.md delete mode 100644 old_docs/API_docs_v40/types/messages_Chats.md delete mode 100644 old_docs/API_docs_v40/types/messages_DhConfig.md delete mode 100644 old_docs/API_docs_v40/types/messages_Dialogs.md delete mode 100644 old_docs/API_docs_v40/types/messages_Messages.md delete mode 100644 old_docs/API_docs_v40/types/messages_SentEncryptedMessage.md delete mode 100644 old_docs/API_docs_v40/types/messages_StickerSet.md delete mode 100644 old_docs/API_docs_v40/types/messages_Stickers.md create mode 100644 old_docs/API_docs_v40/types/photos.Photo.md create mode 100644 old_docs/API_docs_v40/types/photos.Photos.md delete mode 100644 old_docs/API_docs_v40/types/photos_Photo.md delete mode 100644 old_docs/API_docs_v40/types/photos_Photos.md create mode 100644 old_docs/API_docs_v40/types/storage.FileType.md delete mode 100644 old_docs/API_docs_v40/types/storage_FileType.md create mode 100644 old_docs/API_docs_v40/types/updates.ChannelDifference.md create mode 100644 old_docs/API_docs_v40/types/updates.Difference.md create mode 100644 old_docs/API_docs_v40/types/updates.State.md delete mode 100644 old_docs/API_docs_v40/types/updates_ChannelDifference.md delete mode 100644 old_docs/API_docs_v40/types/updates_Difference.md delete mode 100644 old_docs/API_docs_v40/types/updates_State.md create mode 100644 old_docs/API_docs_v40/types/upload.File.md delete mode 100644 old_docs/API_docs_v40/types/upload_File.md create mode 100644 old_docs/API_docs_v41/constructors/account.authorizations.md create mode 100644 old_docs/API_docs_v41/constructors/account.noPassword.md create mode 100644 old_docs/API_docs_v41/constructors/account.password.md create mode 100644 old_docs/API_docs_v41/constructors/account.passwordInputSettings.md create mode 100644 old_docs/API_docs_v41/constructors/account.passwordSettings.md create mode 100644 old_docs/API_docs_v41/constructors/account.privacyRules.md create mode 100644 old_docs/API_docs_v41/constructors/account.sentChangePhoneCode.md delete mode 100644 old_docs/API_docs_v41/constructors/account_authorizations.md delete mode 100644 old_docs/API_docs_v41/constructors/account_noPassword.md delete mode 100644 old_docs/API_docs_v41/constructors/account_password.md delete mode 100644 old_docs/API_docs_v41/constructors/account_passwordInputSettings.md delete mode 100644 old_docs/API_docs_v41/constructors/account_passwordSettings.md delete mode 100644 old_docs/API_docs_v41/constructors/account_privacyRules.md delete mode 100644 old_docs/API_docs_v41/constructors/account_sentChangePhoneCode.md create mode 100644 old_docs/API_docs_v41/constructors/auth.authorization.md create mode 100644 old_docs/API_docs_v41/constructors/auth.checkedPhone.md create mode 100644 old_docs/API_docs_v41/constructors/auth.exportedAuthorization.md create mode 100644 old_docs/API_docs_v41/constructors/auth.passwordRecovery.md create mode 100644 old_docs/API_docs_v41/constructors/auth.sentAppCode.md create mode 100644 old_docs/API_docs_v41/constructors/auth.sentCode.md delete mode 100644 old_docs/API_docs_v41/constructors/auth_authorization.md delete mode 100644 old_docs/API_docs_v41/constructors/auth_checkedPhone.md delete mode 100644 old_docs/API_docs_v41/constructors/auth_exportedAuthorization.md delete mode 100644 old_docs/API_docs_v41/constructors/auth_passwordRecovery.md delete mode 100644 old_docs/API_docs_v41/constructors/auth_sentAppCode.md delete mode 100644 old_docs/API_docs_v41/constructors/auth_sentCode.md create mode 100644 old_docs/API_docs_v41/constructors/channels.channelParticipant.md create mode 100644 old_docs/API_docs_v41/constructors/channels.channelParticipants.md delete mode 100644 old_docs/API_docs_v41/constructors/channels_channelParticipant.md delete mode 100644 old_docs/API_docs_v41/constructors/channels_channelParticipants.md create mode 100644 old_docs/API_docs_v41/constructors/contacts.blocked.md create mode 100644 old_docs/API_docs_v41/constructors/contacts.blockedSlice.md create mode 100644 old_docs/API_docs_v41/constructors/contacts.contacts.md create mode 100644 old_docs/API_docs_v41/constructors/contacts.contactsNotModified.md create mode 100644 old_docs/API_docs_v41/constructors/contacts.found.md create mode 100644 old_docs/API_docs_v41/constructors/contacts.importedContacts.md create mode 100644 old_docs/API_docs_v41/constructors/contacts.link.md create mode 100644 old_docs/API_docs_v41/constructors/contacts.resolvedPeer.md create mode 100644 old_docs/API_docs_v41/constructors/contacts.suggested.md delete mode 100644 old_docs/API_docs_v41/constructors/contacts_blocked.md delete mode 100644 old_docs/API_docs_v41/constructors/contacts_blockedSlice.md delete mode 100644 old_docs/API_docs_v41/constructors/contacts_contacts.md delete mode 100644 old_docs/API_docs_v41/constructors/contacts_contactsNotModified.md delete mode 100644 old_docs/API_docs_v41/constructors/contacts_found.md delete mode 100644 old_docs/API_docs_v41/constructors/contacts_importedContacts.md delete mode 100644 old_docs/API_docs_v41/constructors/contacts_link.md delete mode 100644 old_docs/API_docs_v41/constructors/contacts_resolvedPeer.md delete mode 100644 old_docs/API_docs_v41/constructors/contacts_suggested.md create mode 100644 old_docs/API_docs_v41/constructors/help.appChangelog.md create mode 100644 old_docs/API_docs_v41/constructors/help.appChangelogEmpty.md create mode 100644 old_docs/API_docs_v41/constructors/help.appUpdate.md create mode 100644 old_docs/API_docs_v41/constructors/help.inviteText.md create mode 100644 old_docs/API_docs_v41/constructors/help.noAppUpdate.md create mode 100644 old_docs/API_docs_v41/constructors/help.support.md delete mode 100644 old_docs/API_docs_v41/constructors/help_appChangelog.md delete mode 100644 old_docs/API_docs_v41/constructors/help_appChangelogEmpty.md delete mode 100644 old_docs/API_docs_v41/constructors/help_appUpdate.md delete mode 100644 old_docs/API_docs_v41/constructors/help_inviteText.md delete mode 100644 old_docs/API_docs_v41/constructors/help_noAppUpdate.md delete mode 100644 old_docs/API_docs_v41/constructors/help_support.md create mode 100644 old_docs/API_docs_v41/constructors/messages.affectedHistory.md create mode 100644 old_docs/API_docs_v41/constructors/messages.affectedMessages.md create mode 100644 old_docs/API_docs_v41/constructors/messages.allStickers.md create mode 100644 old_docs/API_docs_v41/constructors/messages.allStickersNotModified.md create mode 100644 old_docs/API_docs_v41/constructors/messages.channelMessages.md create mode 100644 old_docs/API_docs_v41/constructors/messages.chatFull.md create mode 100644 old_docs/API_docs_v41/constructors/messages.chats.md create mode 100644 old_docs/API_docs_v41/constructors/messages.dhConfig.md create mode 100644 old_docs/API_docs_v41/constructors/messages.dhConfigNotModified.md create mode 100644 old_docs/API_docs_v41/constructors/messages.dialogs.md create mode 100644 old_docs/API_docs_v41/constructors/messages.dialogsSlice.md create mode 100644 old_docs/API_docs_v41/constructors/messages.messages.md create mode 100644 old_docs/API_docs_v41/constructors/messages.messagesSlice.md create mode 100644 old_docs/API_docs_v41/constructors/messages.sentEncryptedFile.md create mode 100644 old_docs/API_docs_v41/constructors/messages.sentEncryptedMessage.md create mode 100644 old_docs/API_docs_v41/constructors/messages.stickerSet.md create mode 100644 old_docs/API_docs_v41/constructors/messages.stickers.md create mode 100644 old_docs/API_docs_v41/constructors/messages.stickersNotModified.md delete mode 100644 old_docs/API_docs_v41/constructors/messages_affectedHistory.md delete mode 100644 old_docs/API_docs_v41/constructors/messages_affectedMessages.md delete mode 100644 old_docs/API_docs_v41/constructors/messages_allStickers.md delete mode 100644 old_docs/API_docs_v41/constructors/messages_allStickersNotModified.md delete mode 100644 old_docs/API_docs_v41/constructors/messages_channelMessages.md delete mode 100644 old_docs/API_docs_v41/constructors/messages_chatFull.md delete mode 100644 old_docs/API_docs_v41/constructors/messages_chats.md delete mode 100644 old_docs/API_docs_v41/constructors/messages_dhConfig.md delete mode 100644 old_docs/API_docs_v41/constructors/messages_dhConfigNotModified.md delete mode 100644 old_docs/API_docs_v41/constructors/messages_dialogs.md delete mode 100644 old_docs/API_docs_v41/constructors/messages_dialogsSlice.md delete mode 100644 old_docs/API_docs_v41/constructors/messages_messages.md delete mode 100644 old_docs/API_docs_v41/constructors/messages_messagesSlice.md delete mode 100644 old_docs/API_docs_v41/constructors/messages_sentEncryptedFile.md delete mode 100644 old_docs/API_docs_v41/constructors/messages_sentEncryptedMessage.md delete mode 100644 old_docs/API_docs_v41/constructors/messages_stickerSet.md delete mode 100644 old_docs/API_docs_v41/constructors/messages_stickers.md delete mode 100644 old_docs/API_docs_v41/constructors/messages_stickersNotModified.md create mode 100644 old_docs/API_docs_v41/constructors/photos.photo.md create mode 100644 old_docs/API_docs_v41/constructors/photos.photos.md create mode 100644 old_docs/API_docs_v41/constructors/photos.photosSlice.md delete mode 100644 old_docs/API_docs_v41/constructors/photos_photo.md delete mode 100644 old_docs/API_docs_v41/constructors/photos_photos.md delete mode 100644 old_docs/API_docs_v41/constructors/photos_photosSlice.md create mode 100644 old_docs/API_docs_v41/constructors/storage.fileGif.md create mode 100644 old_docs/API_docs_v41/constructors/storage.fileJpeg.md create mode 100644 old_docs/API_docs_v41/constructors/storage.fileMov.md create mode 100644 old_docs/API_docs_v41/constructors/storage.fileMp3.md create mode 100644 old_docs/API_docs_v41/constructors/storage.fileMp4.md create mode 100644 old_docs/API_docs_v41/constructors/storage.filePartial.md create mode 100644 old_docs/API_docs_v41/constructors/storage.filePdf.md create mode 100644 old_docs/API_docs_v41/constructors/storage.filePng.md create mode 100644 old_docs/API_docs_v41/constructors/storage.fileUnknown.md create mode 100644 old_docs/API_docs_v41/constructors/storage.fileWebp.md delete mode 100644 old_docs/API_docs_v41/constructors/storage_fileGif.md delete mode 100644 old_docs/API_docs_v41/constructors/storage_fileJpeg.md delete mode 100644 old_docs/API_docs_v41/constructors/storage_fileMov.md delete mode 100644 old_docs/API_docs_v41/constructors/storage_fileMp3.md delete mode 100644 old_docs/API_docs_v41/constructors/storage_fileMp4.md delete mode 100644 old_docs/API_docs_v41/constructors/storage_filePartial.md delete mode 100644 old_docs/API_docs_v41/constructors/storage_filePdf.md delete mode 100644 old_docs/API_docs_v41/constructors/storage_filePng.md delete mode 100644 old_docs/API_docs_v41/constructors/storage_fileUnknown.md delete mode 100644 old_docs/API_docs_v41/constructors/storage_fileWebp.md create mode 100644 old_docs/API_docs_v41/constructors/updates.channelDifference.md create mode 100644 old_docs/API_docs_v41/constructors/updates.channelDifferenceEmpty.md create mode 100644 old_docs/API_docs_v41/constructors/updates.channelDifferenceTooLong.md create mode 100644 old_docs/API_docs_v41/constructors/updates.difference.md create mode 100644 old_docs/API_docs_v41/constructors/updates.differenceEmpty.md create mode 100644 old_docs/API_docs_v41/constructors/updates.differenceSlice.md create mode 100644 old_docs/API_docs_v41/constructors/updates.state.md delete mode 100644 old_docs/API_docs_v41/constructors/updates_channelDifference.md delete mode 100644 old_docs/API_docs_v41/constructors/updates_channelDifferenceEmpty.md delete mode 100644 old_docs/API_docs_v41/constructors/updates_channelDifferenceTooLong.md delete mode 100644 old_docs/API_docs_v41/constructors/updates_difference.md delete mode 100644 old_docs/API_docs_v41/constructors/updates_differenceEmpty.md delete mode 100644 old_docs/API_docs_v41/constructors/updates_differenceSlice.md delete mode 100644 old_docs/API_docs_v41/constructors/updates_state.md create mode 100644 old_docs/API_docs_v41/constructors/upload.file.md delete mode 100644 old_docs/API_docs_v41/constructors/upload_file.md create mode 100644 old_docs/API_docs_v41/types/account.Authorizations.md create mode 100644 old_docs/API_docs_v41/types/account.Password.md create mode 100644 old_docs/API_docs_v41/types/account.PasswordInputSettings.md create mode 100644 old_docs/API_docs_v41/types/account.PasswordSettings.md create mode 100644 old_docs/API_docs_v41/types/account.PrivacyRules.md create mode 100644 old_docs/API_docs_v41/types/account.SentChangePhoneCode.md delete mode 100644 old_docs/API_docs_v41/types/account_Authorizations.md delete mode 100644 old_docs/API_docs_v41/types/account_Password.md delete mode 100644 old_docs/API_docs_v41/types/account_PasswordInputSettings.md delete mode 100644 old_docs/API_docs_v41/types/account_PasswordSettings.md delete mode 100644 old_docs/API_docs_v41/types/account_PrivacyRules.md delete mode 100644 old_docs/API_docs_v41/types/account_SentChangePhoneCode.md create mode 100644 old_docs/API_docs_v41/types/auth.Authorization.md create mode 100644 old_docs/API_docs_v41/types/auth.CheckedPhone.md create mode 100644 old_docs/API_docs_v41/types/auth.ExportedAuthorization.md create mode 100644 old_docs/API_docs_v41/types/auth.PasswordRecovery.md create mode 100644 old_docs/API_docs_v41/types/auth.SentCode.md delete mode 100644 old_docs/API_docs_v41/types/auth_Authorization.md delete mode 100644 old_docs/API_docs_v41/types/auth_CheckedPhone.md delete mode 100644 old_docs/API_docs_v41/types/auth_ExportedAuthorization.md delete mode 100644 old_docs/API_docs_v41/types/auth_PasswordRecovery.md delete mode 100644 old_docs/API_docs_v41/types/auth_SentCode.md create mode 100644 old_docs/API_docs_v41/types/channels.ChannelParticipant.md create mode 100644 old_docs/API_docs_v41/types/channels.ChannelParticipants.md delete mode 100644 old_docs/API_docs_v41/types/channels_ChannelParticipant.md delete mode 100644 old_docs/API_docs_v41/types/channels_ChannelParticipants.md create mode 100644 old_docs/API_docs_v41/types/contacts.Blocked.md create mode 100644 old_docs/API_docs_v41/types/contacts.Contacts.md create mode 100644 old_docs/API_docs_v41/types/contacts.Found.md create mode 100644 old_docs/API_docs_v41/types/contacts.ImportedContacts.md create mode 100644 old_docs/API_docs_v41/types/contacts.Link.md create mode 100644 old_docs/API_docs_v41/types/contacts.ResolvedPeer.md create mode 100644 old_docs/API_docs_v41/types/contacts.Suggested.md delete mode 100644 old_docs/API_docs_v41/types/contacts_Blocked.md delete mode 100644 old_docs/API_docs_v41/types/contacts_Contacts.md delete mode 100644 old_docs/API_docs_v41/types/contacts_Found.md delete mode 100644 old_docs/API_docs_v41/types/contacts_ImportedContacts.md delete mode 100644 old_docs/API_docs_v41/types/contacts_Link.md delete mode 100644 old_docs/API_docs_v41/types/contacts_ResolvedPeer.md delete mode 100644 old_docs/API_docs_v41/types/contacts_Suggested.md create mode 100644 old_docs/API_docs_v41/types/help.AppChangelog.md create mode 100644 old_docs/API_docs_v41/types/help.AppUpdate.md create mode 100644 old_docs/API_docs_v41/types/help.InviteText.md create mode 100644 old_docs/API_docs_v41/types/help.Support.md delete mode 100644 old_docs/API_docs_v41/types/help_AppChangelog.md delete mode 100644 old_docs/API_docs_v41/types/help_AppUpdate.md delete mode 100644 old_docs/API_docs_v41/types/help_InviteText.md delete mode 100644 old_docs/API_docs_v41/types/help_Support.md create mode 100644 old_docs/API_docs_v41/types/messages.AffectedHistory.md create mode 100644 old_docs/API_docs_v41/types/messages.AffectedMessages.md create mode 100644 old_docs/API_docs_v41/types/messages.AllStickers.md create mode 100644 old_docs/API_docs_v41/types/messages.ChatFull.md create mode 100644 old_docs/API_docs_v41/types/messages.Chats.md create mode 100644 old_docs/API_docs_v41/types/messages.DhConfig.md create mode 100644 old_docs/API_docs_v41/types/messages.Dialogs.md create mode 100644 old_docs/API_docs_v41/types/messages.Messages.md create mode 100644 old_docs/API_docs_v41/types/messages.SentEncryptedMessage.md create mode 100644 old_docs/API_docs_v41/types/messages.StickerSet.md create mode 100644 old_docs/API_docs_v41/types/messages.Stickers.md delete mode 100644 old_docs/API_docs_v41/types/messages_AffectedHistory.md delete mode 100644 old_docs/API_docs_v41/types/messages_AffectedMessages.md delete mode 100644 old_docs/API_docs_v41/types/messages_AllStickers.md delete mode 100644 old_docs/API_docs_v41/types/messages_ChatFull.md delete mode 100644 old_docs/API_docs_v41/types/messages_Chats.md delete mode 100644 old_docs/API_docs_v41/types/messages_DhConfig.md delete mode 100644 old_docs/API_docs_v41/types/messages_Dialogs.md delete mode 100644 old_docs/API_docs_v41/types/messages_Messages.md delete mode 100644 old_docs/API_docs_v41/types/messages_SentEncryptedMessage.md delete mode 100644 old_docs/API_docs_v41/types/messages_StickerSet.md delete mode 100644 old_docs/API_docs_v41/types/messages_Stickers.md create mode 100644 old_docs/API_docs_v41/types/photos.Photo.md create mode 100644 old_docs/API_docs_v41/types/photos.Photos.md delete mode 100644 old_docs/API_docs_v41/types/photos_Photo.md delete mode 100644 old_docs/API_docs_v41/types/photos_Photos.md create mode 100644 old_docs/API_docs_v41/types/storage.FileType.md delete mode 100644 old_docs/API_docs_v41/types/storage_FileType.md create mode 100644 old_docs/API_docs_v41/types/updates.ChannelDifference.md create mode 100644 old_docs/API_docs_v41/types/updates.Difference.md create mode 100644 old_docs/API_docs_v41/types/updates.State.md delete mode 100644 old_docs/API_docs_v41/types/updates_ChannelDifference.md delete mode 100644 old_docs/API_docs_v41/types/updates_Difference.md delete mode 100644 old_docs/API_docs_v41/types/updates_State.md create mode 100644 old_docs/API_docs_v41/types/upload.File.md delete mode 100644 old_docs/API_docs_v41/types/upload_File.md create mode 100644 old_docs/API_docs_v42/constructors/account.authorizations.md create mode 100644 old_docs/API_docs_v42/constructors/account.noPassword.md create mode 100644 old_docs/API_docs_v42/constructors/account.password.md create mode 100644 old_docs/API_docs_v42/constructors/account.passwordInputSettings.md create mode 100644 old_docs/API_docs_v42/constructors/account.passwordSettings.md create mode 100644 old_docs/API_docs_v42/constructors/account.privacyRules.md create mode 100644 old_docs/API_docs_v42/constructors/account.sentChangePhoneCode.md delete mode 100644 old_docs/API_docs_v42/constructors/account_authorizations.md delete mode 100644 old_docs/API_docs_v42/constructors/account_noPassword.md delete mode 100644 old_docs/API_docs_v42/constructors/account_password.md delete mode 100644 old_docs/API_docs_v42/constructors/account_passwordInputSettings.md delete mode 100644 old_docs/API_docs_v42/constructors/account_passwordSettings.md delete mode 100644 old_docs/API_docs_v42/constructors/account_privacyRules.md delete mode 100644 old_docs/API_docs_v42/constructors/account_sentChangePhoneCode.md create mode 100644 old_docs/API_docs_v42/constructors/auth.authorization.md create mode 100644 old_docs/API_docs_v42/constructors/auth.checkedPhone.md create mode 100644 old_docs/API_docs_v42/constructors/auth.exportedAuthorization.md create mode 100644 old_docs/API_docs_v42/constructors/auth.passwordRecovery.md create mode 100644 old_docs/API_docs_v42/constructors/auth.sentAppCode.md create mode 100644 old_docs/API_docs_v42/constructors/auth.sentCode.md delete mode 100644 old_docs/API_docs_v42/constructors/auth_authorization.md delete mode 100644 old_docs/API_docs_v42/constructors/auth_checkedPhone.md delete mode 100644 old_docs/API_docs_v42/constructors/auth_exportedAuthorization.md delete mode 100644 old_docs/API_docs_v42/constructors/auth_passwordRecovery.md delete mode 100644 old_docs/API_docs_v42/constructors/auth_sentAppCode.md delete mode 100644 old_docs/API_docs_v42/constructors/auth_sentCode.md create mode 100644 old_docs/API_docs_v42/constructors/channels.channelParticipant.md create mode 100644 old_docs/API_docs_v42/constructors/channels.channelParticipants.md delete mode 100644 old_docs/API_docs_v42/constructors/channels_channelParticipant.md delete mode 100644 old_docs/API_docs_v42/constructors/channels_channelParticipants.md create mode 100644 old_docs/API_docs_v42/constructors/contacts.blocked.md create mode 100644 old_docs/API_docs_v42/constructors/contacts.blockedSlice.md create mode 100644 old_docs/API_docs_v42/constructors/contacts.contacts.md create mode 100644 old_docs/API_docs_v42/constructors/contacts.contactsNotModified.md create mode 100644 old_docs/API_docs_v42/constructors/contacts.found.md create mode 100644 old_docs/API_docs_v42/constructors/contacts.importedContacts.md create mode 100644 old_docs/API_docs_v42/constructors/contacts.link.md create mode 100644 old_docs/API_docs_v42/constructors/contacts.resolvedPeer.md create mode 100644 old_docs/API_docs_v42/constructors/contacts.suggested.md delete mode 100644 old_docs/API_docs_v42/constructors/contacts_blocked.md delete mode 100644 old_docs/API_docs_v42/constructors/contacts_blockedSlice.md delete mode 100644 old_docs/API_docs_v42/constructors/contacts_contacts.md delete mode 100644 old_docs/API_docs_v42/constructors/contacts_contactsNotModified.md delete mode 100644 old_docs/API_docs_v42/constructors/contacts_found.md delete mode 100644 old_docs/API_docs_v42/constructors/contacts_importedContacts.md delete mode 100644 old_docs/API_docs_v42/constructors/contacts_link.md delete mode 100644 old_docs/API_docs_v42/constructors/contacts_resolvedPeer.md delete mode 100644 old_docs/API_docs_v42/constructors/contacts_suggested.md create mode 100644 old_docs/API_docs_v42/constructors/help.appChangelog.md create mode 100644 old_docs/API_docs_v42/constructors/help.appChangelogEmpty.md create mode 100644 old_docs/API_docs_v42/constructors/help.appUpdate.md create mode 100644 old_docs/API_docs_v42/constructors/help.inviteText.md create mode 100644 old_docs/API_docs_v42/constructors/help.noAppUpdate.md create mode 100644 old_docs/API_docs_v42/constructors/help.support.md delete mode 100644 old_docs/API_docs_v42/constructors/help_appChangelog.md delete mode 100644 old_docs/API_docs_v42/constructors/help_appChangelogEmpty.md delete mode 100644 old_docs/API_docs_v42/constructors/help_appUpdate.md delete mode 100644 old_docs/API_docs_v42/constructors/help_inviteText.md delete mode 100644 old_docs/API_docs_v42/constructors/help_noAppUpdate.md delete mode 100644 old_docs/API_docs_v42/constructors/help_support.md create mode 100644 old_docs/API_docs_v42/constructors/messages.affectedHistory.md create mode 100644 old_docs/API_docs_v42/constructors/messages.affectedMessages.md create mode 100644 old_docs/API_docs_v42/constructors/messages.allStickers.md create mode 100644 old_docs/API_docs_v42/constructors/messages.allStickersNotModified.md create mode 100644 old_docs/API_docs_v42/constructors/messages.channelMessages.md create mode 100644 old_docs/API_docs_v42/constructors/messages.chatFull.md create mode 100644 old_docs/API_docs_v42/constructors/messages.chats.md create mode 100644 old_docs/API_docs_v42/constructors/messages.dhConfig.md create mode 100644 old_docs/API_docs_v42/constructors/messages.dhConfigNotModified.md create mode 100644 old_docs/API_docs_v42/constructors/messages.dialogs.md create mode 100644 old_docs/API_docs_v42/constructors/messages.dialogsSlice.md create mode 100644 old_docs/API_docs_v42/constructors/messages.messages.md create mode 100644 old_docs/API_docs_v42/constructors/messages.messagesSlice.md create mode 100644 old_docs/API_docs_v42/constructors/messages.sentEncryptedFile.md create mode 100644 old_docs/API_docs_v42/constructors/messages.sentEncryptedMessage.md create mode 100644 old_docs/API_docs_v42/constructors/messages.stickerSet.md create mode 100644 old_docs/API_docs_v42/constructors/messages.stickers.md create mode 100644 old_docs/API_docs_v42/constructors/messages.stickersNotModified.md delete mode 100644 old_docs/API_docs_v42/constructors/messages_affectedHistory.md delete mode 100644 old_docs/API_docs_v42/constructors/messages_affectedMessages.md delete mode 100644 old_docs/API_docs_v42/constructors/messages_allStickers.md delete mode 100644 old_docs/API_docs_v42/constructors/messages_allStickersNotModified.md delete mode 100644 old_docs/API_docs_v42/constructors/messages_channelMessages.md delete mode 100644 old_docs/API_docs_v42/constructors/messages_chatFull.md delete mode 100644 old_docs/API_docs_v42/constructors/messages_chats.md delete mode 100644 old_docs/API_docs_v42/constructors/messages_dhConfig.md delete mode 100644 old_docs/API_docs_v42/constructors/messages_dhConfigNotModified.md delete mode 100644 old_docs/API_docs_v42/constructors/messages_dialogs.md delete mode 100644 old_docs/API_docs_v42/constructors/messages_dialogsSlice.md delete mode 100644 old_docs/API_docs_v42/constructors/messages_messages.md delete mode 100644 old_docs/API_docs_v42/constructors/messages_messagesSlice.md delete mode 100644 old_docs/API_docs_v42/constructors/messages_sentEncryptedFile.md delete mode 100644 old_docs/API_docs_v42/constructors/messages_sentEncryptedMessage.md delete mode 100644 old_docs/API_docs_v42/constructors/messages_stickerSet.md delete mode 100644 old_docs/API_docs_v42/constructors/messages_stickers.md delete mode 100644 old_docs/API_docs_v42/constructors/messages_stickersNotModified.md create mode 100644 old_docs/API_docs_v42/constructors/photos.photo.md create mode 100644 old_docs/API_docs_v42/constructors/photos.photos.md create mode 100644 old_docs/API_docs_v42/constructors/photos.photosSlice.md delete mode 100644 old_docs/API_docs_v42/constructors/photos_photo.md delete mode 100644 old_docs/API_docs_v42/constructors/photos_photos.md delete mode 100644 old_docs/API_docs_v42/constructors/photos_photosSlice.md create mode 100644 old_docs/API_docs_v42/constructors/storage.fileGif.md create mode 100644 old_docs/API_docs_v42/constructors/storage.fileJpeg.md create mode 100644 old_docs/API_docs_v42/constructors/storage.fileMov.md create mode 100644 old_docs/API_docs_v42/constructors/storage.fileMp3.md create mode 100644 old_docs/API_docs_v42/constructors/storage.fileMp4.md create mode 100644 old_docs/API_docs_v42/constructors/storage.filePartial.md create mode 100644 old_docs/API_docs_v42/constructors/storage.filePdf.md create mode 100644 old_docs/API_docs_v42/constructors/storage.filePng.md create mode 100644 old_docs/API_docs_v42/constructors/storage.fileUnknown.md create mode 100644 old_docs/API_docs_v42/constructors/storage.fileWebp.md delete mode 100644 old_docs/API_docs_v42/constructors/storage_fileGif.md delete mode 100644 old_docs/API_docs_v42/constructors/storage_fileJpeg.md delete mode 100644 old_docs/API_docs_v42/constructors/storage_fileMov.md delete mode 100644 old_docs/API_docs_v42/constructors/storage_fileMp3.md delete mode 100644 old_docs/API_docs_v42/constructors/storage_fileMp4.md delete mode 100644 old_docs/API_docs_v42/constructors/storage_filePartial.md delete mode 100644 old_docs/API_docs_v42/constructors/storage_filePdf.md delete mode 100644 old_docs/API_docs_v42/constructors/storage_filePng.md delete mode 100644 old_docs/API_docs_v42/constructors/storage_fileUnknown.md delete mode 100644 old_docs/API_docs_v42/constructors/storage_fileWebp.md create mode 100644 old_docs/API_docs_v42/constructors/updates.channelDifference.md create mode 100644 old_docs/API_docs_v42/constructors/updates.channelDifferenceEmpty.md create mode 100644 old_docs/API_docs_v42/constructors/updates.channelDifferenceTooLong.md create mode 100644 old_docs/API_docs_v42/constructors/updates.difference.md create mode 100644 old_docs/API_docs_v42/constructors/updates.differenceEmpty.md create mode 100644 old_docs/API_docs_v42/constructors/updates.differenceSlice.md create mode 100644 old_docs/API_docs_v42/constructors/updates.state.md delete mode 100644 old_docs/API_docs_v42/constructors/updates_channelDifference.md delete mode 100644 old_docs/API_docs_v42/constructors/updates_channelDifferenceEmpty.md delete mode 100644 old_docs/API_docs_v42/constructors/updates_channelDifferenceTooLong.md delete mode 100644 old_docs/API_docs_v42/constructors/updates_difference.md delete mode 100644 old_docs/API_docs_v42/constructors/updates_differenceEmpty.md delete mode 100644 old_docs/API_docs_v42/constructors/updates_differenceSlice.md delete mode 100644 old_docs/API_docs_v42/constructors/updates_state.md create mode 100644 old_docs/API_docs_v42/constructors/upload.file.md delete mode 100644 old_docs/API_docs_v42/constructors/upload_file.md create mode 100644 old_docs/API_docs_v42/types/account.Authorizations.md create mode 100644 old_docs/API_docs_v42/types/account.Password.md create mode 100644 old_docs/API_docs_v42/types/account.PasswordInputSettings.md create mode 100644 old_docs/API_docs_v42/types/account.PasswordSettings.md create mode 100644 old_docs/API_docs_v42/types/account.PrivacyRules.md create mode 100644 old_docs/API_docs_v42/types/account.SentChangePhoneCode.md delete mode 100644 old_docs/API_docs_v42/types/account_Authorizations.md delete mode 100644 old_docs/API_docs_v42/types/account_Password.md delete mode 100644 old_docs/API_docs_v42/types/account_PasswordInputSettings.md delete mode 100644 old_docs/API_docs_v42/types/account_PasswordSettings.md delete mode 100644 old_docs/API_docs_v42/types/account_PrivacyRules.md delete mode 100644 old_docs/API_docs_v42/types/account_SentChangePhoneCode.md create mode 100644 old_docs/API_docs_v42/types/auth.Authorization.md create mode 100644 old_docs/API_docs_v42/types/auth.CheckedPhone.md create mode 100644 old_docs/API_docs_v42/types/auth.ExportedAuthorization.md create mode 100644 old_docs/API_docs_v42/types/auth.PasswordRecovery.md create mode 100644 old_docs/API_docs_v42/types/auth.SentCode.md delete mode 100644 old_docs/API_docs_v42/types/auth_Authorization.md delete mode 100644 old_docs/API_docs_v42/types/auth_CheckedPhone.md delete mode 100644 old_docs/API_docs_v42/types/auth_ExportedAuthorization.md delete mode 100644 old_docs/API_docs_v42/types/auth_PasswordRecovery.md delete mode 100644 old_docs/API_docs_v42/types/auth_SentCode.md create mode 100644 old_docs/API_docs_v42/types/channels.ChannelParticipant.md create mode 100644 old_docs/API_docs_v42/types/channels.ChannelParticipants.md delete mode 100644 old_docs/API_docs_v42/types/channels_ChannelParticipant.md delete mode 100644 old_docs/API_docs_v42/types/channels_ChannelParticipants.md create mode 100644 old_docs/API_docs_v42/types/contacts.Blocked.md create mode 100644 old_docs/API_docs_v42/types/contacts.Contacts.md create mode 100644 old_docs/API_docs_v42/types/contacts.Found.md create mode 100644 old_docs/API_docs_v42/types/contacts.ImportedContacts.md create mode 100644 old_docs/API_docs_v42/types/contacts.Link.md create mode 100644 old_docs/API_docs_v42/types/contacts.ResolvedPeer.md create mode 100644 old_docs/API_docs_v42/types/contacts.Suggested.md delete mode 100644 old_docs/API_docs_v42/types/contacts_Blocked.md delete mode 100644 old_docs/API_docs_v42/types/contacts_Contacts.md delete mode 100644 old_docs/API_docs_v42/types/contacts_Found.md delete mode 100644 old_docs/API_docs_v42/types/contacts_ImportedContacts.md delete mode 100644 old_docs/API_docs_v42/types/contacts_Link.md delete mode 100644 old_docs/API_docs_v42/types/contacts_ResolvedPeer.md delete mode 100644 old_docs/API_docs_v42/types/contacts_Suggested.md create mode 100644 old_docs/API_docs_v42/types/help.AppChangelog.md create mode 100644 old_docs/API_docs_v42/types/help.AppUpdate.md create mode 100644 old_docs/API_docs_v42/types/help.InviteText.md create mode 100644 old_docs/API_docs_v42/types/help.Support.md delete mode 100644 old_docs/API_docs_v42/types/help_AppChangelog.md delete mode 100644 old_docs/API_docs_v42/types/help_AppUpdate.md delete mode 100644 old_docs/API_docs_v42/types/help_InviteText.md delete mode 100644 old_docs/API_docs_v42/types/help_Support.md create mode 100644 old_docs/API_docs_v42/types/messages.AffectedHistory.md create mode 100644 old_docs/API_docs_v42/types/messages.AffectedMessages.md create mode 100644 old_docs/API_docs_v42/types/messages.AllStickers.md create mode 100644 old_docs/API_docs_v42/types/messages.ChatFull.md create mode 100644 old_docs/API_docs_v42/types/messages.Chats.md create mode 100644 old_docs/API_docs_v42/types/messages.DhConfig.md create mode 100644 old_docs/API_docs_v42/types/messages.Dialogs.md create mode 100644 old_docs/API_docs_v42/types/messages.Messages.md create mode 100644 old_docs/API_docs_v42/types/messages.SentEncryptedMessage.md create mode 100644 old_docs/API_docs_v42/types/messages.StickerSet.md create mode 100644 old_docs/API_docs_v42/types/messages.Stickers.md delete mode 100644 old_docs/API_docs_v42/types/messages_AffectedHistory.md delete mode 100644 old_docs/API_docs_v42/types/messages_AffectedMessages.md delete mode 100644 old_docs/API_docs_v42/types/messages_AllStickers.md delete mode 100644 old_docs/API_docs_v42/types/messages_ChatFull.md delete mode 100644 old_docs/API_docs_v42/types/messages_Chats.md delete mode 100644 old_docs/API_docs_v42/types/messages_DhConfig.md delete mode 100644 old_docs/API_docs_v42/types/messages_Dialogs.md delete mode 100644 old_docs/API_docs_v42/types/messages_Messages.md delete mode 100644 old_docs/API_docs_v42/types/messages_SentEncryptedMessage.md delete mode 100644 old_docs/API_docs_v42/types/messages_StickerSet.md delete mode 100644 old_docs/API_docs_v42/types/messages_Stickers.md create mode 100644 old_docs/API_docs_v42/types/photos.Photo.md create mode 100644 old_docs/API_docs_v42/types/photos.Photos.md delete mode 100644 old_docs/API_docs_v42/types/photos_Photo.md delete mode 100644 old_docs/API_docs_v42/types/photos_Photos.md create mode 100644 old_docs/API_docs_v42/types/storage.FileType.md delete mode 100644 old_docs/API_docs_v42/types/storage_FileType.md create mode 100644 old_docs/API_docs_v42/types/updates.ChannelDifference.md create mode 100644 old_docs/API_docs_v42/types/updates.Difference.md create mode 100644 old_docs/API_docs_v42/types/updates.State.md delete mode 100644 old_docs/API_docs_v42/types/updates_ChannelDifference.md delete mode 100644 old_docs/API_docs_v42/types/updates_Difference.md delete mode 100644 old_docs/API_docs_v42/types/updates_State.md create mode 100644 old_docs/API_docs_v42/types/upload.File.md delete mode 100644 old_docs/API_docs_v42/types/upload_File.md create mode 100644 old_docs/API_docs_v44/constructors/account.authorizations.md create mode 100644 old_docs/API_docs_v44/constructors/account.noPassword.md create mode 100644 old_docs/API_docs_v44/constructors/account.password.md create mode 100644 old_docs/API_docs_v44/constructors/account.passwordInputSettings.md create mode 100644 old_docs/API_docs_v44/constructors/account.passwordSettings.md create mode 100644 old_docs/API_docs_v44/constructors/account.privacyRules.md create mode 100644 old_docs/API_docs_v44/constructors/account.sentChangePhoneCode.md delete mode 100644 old_docs/API_docs_v44/constructors/account_authorizations.md delete mode 100644 old_docs/API_docs_v44/constructors/account_noPassword.md delete mode 100644 old_docs/API_docs_v44/constructors/account_password.md delete mode 100644 old_docs/API_docs_v44/constructors/account_passwordInputSettings.md delete mode 100644 old_docs/API_docs_v44/constructors/account_passwordSettings.md delete mode 100644 old_docs/API_docs_v44/constructors/account_privacyRules.md delete mode 100644 old_docs/API_docs_v44/constructors/account_sentChangePhoneCode.md create mode 100644 old_docs/API_docs_v44/constructors/auth.authorization.md create mode 100644 old_docs/API_docs_v44/constructors/auth.checkedPhone.md create mode 100644 old_docs/API_docs_v44/constructors/auth.exportedAuthorization.md create mode 100644 old_docs/API_docs_v44/constructors/auth.passwordRecovery.md create mode 100644 old_docs/API_docs_v44/constructors/auth.sentAppCode.md create mode 100644 old_docs/API_docs_v44/constructors/auth.sentCode.md delete mode 100644 old_docs/API_docs_v44/constructors/auth_authorization.md delete mode 100644 old_docs/API_docs_v44/constructors/auth_checkedPhone.md delete mode 100644 old_docs/API_docs_v44/constructors/auth_exportedAuthorization.md delete mode 100644 old_docs/API_docs_v44/constructors/auth_passwordRecovery.md delete mode 100644 old_docs/API_docs_v44/constructors/auth_sentAppCode.md delete mode 100644 old_docs/API_docs_v44/constructors/auth_sentCode.md create mode 100644 old_docs/API_docs_v44/constructors/channels.channelParticipant.md create mode 100644 old_docs/API_docs_v44/constructors/channels.channelParticipants.md delete mode 100644 old_docs/API_docs_v44/constructors/channels_channelParticipant.md delete mode 100644 old_docs/API_docs_v44/constructors/channels_channelParticipants.md create mode 100644 old_docs/API_docs_v44/constructors/contacts.blocked.md create mode 100644 old_docs/API_docs_v44/constructors/contacts.blockedSlice.md create mode 100644 old_docs/API_docs_v44/constructors/contacts.contacts.md create mode 100644 old_docs/API_docs_v44/constructors/contacts.contactsNotModified.md create mode 100644 old_docs/API_docs_v44/constructors/contacts.found.md create mode 100644 old_docs/API_docs_v44/constructors/contacts.importedContacts.md create mode 100644 old_docs/API_docs_v44/constructors/contacts.link.md create mode 100644 old_docs/API_docs_v44/constructors/contacts.resolvedPeer.md create mode 100644 old_docs/API_docs_v44/constructors/contacts.suggested.md delete mode 100644 old_docs/API_docs_v44/constructors/contacts_blocked.md delete mode 100644 old_docs/API_docs_v44/constructors/contacts_blockedSlice.md delete mode 100644 old_docs/API_docs_v44/constructors/contacts_contacts.md delete mode 100644 old_docs/API_docs_v44/constructors/contacts_contactsNotModified.md delete mode 100644 old_docs/API_docs_v44/constructors/contacts_found.md delete mode 100644 old_docs/API_docs_v44/constructors/contacts_importedContacts.md delete mode 100644 old_docs/API_docs_v44/constructors/contacts_link.md delete mode 100644 old_docs/API_docs_v44/constructors/contacts_resolvedPeer.md delete mode 100644 old_docs/API_docs_v44/constructors/contacts_suggested.md create mode 100644 old_docs/API_docs_v44/constructors/help.appChangelog.md create mode 100644 old_docs/API_docs_v44/constructors/help.appChangelogEmpty.md create mode 100644 old_docs/API_docs_v44/constructors/help.appUpdate.md create mode 100644 old_docs/API_docs_v44/constructors/help.inviteText.md create mode 100644 old_docs/API_docs_v44/constructors/help.noAppUpdate.md create mode 100644 old_docs/API_docs_v44/constructors/help.support.md create mode 100644 old_docs/API_docs_v44/constructors/help.termsOfService.md delete mode 100644 old_docs/API_docs_v44/constructors/help_appChangelog.md delete mode 100644 old_docs/API_docs_v44/constructors/help_appChangelogEmpty.md delete mode 100644 old_docs/API_docs_v44/constructors/help_appUpdate.md delete mode 100644 old_docs/API_docs_v44/constructors/help_inviteText.md delete mode 100644 old_docs/API_docs_v44/constructors/help_noAppUpdate.md delete mode 100644 old_docs/API_docs_v44/constructors/help_support.md delete mode 100644 old_docs/API_docs_v44/constructors/help_termsOfService.md create mode 100644 old_docs/API_docs_v44/constructors/messages.affectedHistory.md create mode 100644 old_docs/API_docs_v44/constructors/messages.affectedMessages.md create mode 100644 old_docs/API_docs_v44/constructors/messages.allStickers.md create mode 100644 old_docs/API_docs_v44/constructors/messages.allStickersNotModified.md create mode 100644 old_docs/API_docs_v44/constructors/messages.channelMessages.md create mode 100644 old_docs/API_docs_v44/constructors/messages.chatFull.md create mode 100644 old_docs/API_docs_v44/constructors/messages.chats.md create mode 100644 old_docs/API_docs_v44/constructors/messages.dhConfig.md create mode 100644 old_docs/API_docs_v44/constructors/messages.dhConfigNotModified.md create mode 100644 old_docs/API_docs_v44/constructors/messages.dialogs.md create mode 100644 old_docs/API_docs_v44/constructors/messages.dialogsSlice.md create mode 100644 old_docs/API_docs_v44/constructors/messages.foundGifs.md create mode 100644 old_docs/API_docs_v44/constructors/messages.messages.md create mode 100644 old_docs/API_docs_v44/constructors/messages.messagesSlice.md create mode 100644 old_docs/API_docs_v44/constructors/messages.sentEncryptedFile.md create mode 100644 old_docs/API_docs_v44/constructors/messages.sentEncryptedMessage.md create mode 100644 old_docs/API_docs_v44/constructors/messages.stickerSet.md create mode 100644 old_docs/API_docs_v44/constructors/messages.stickers.md create mode 100644 old_docs/API_docs_v44/constructors/messages.stickersNotModified.md delete mode 100644 old_docs/API_docs_v44/constructors/messages_affectedHistory.md delete mode 100644 old_docs/API_docs_v44/constructors/messages_affectedMessages.md delete mode 100644 old_docs/API_docs_v44/constructors/messages_allStickers.md delete mode 100644 old_docs/API_docs_v44/constructors/messages_allStickersNotModified.md delete mode 100644 old_docs/API_docs_v44/constructors/messages_channelMessages.md delete mode 100644 old_docs/API_docs_v44/constructors/messages_chatFull.md delete mode 100644 old_docs/API_docs_v44/constructors/messages_chats.md delete mode 100644 old_docs/API_docs_v44/constructors/messages_dhConfig.md delete mode 100644 old_docs/API_docs_v44/constructors/messages_dhConfigNotModified.md delete mode 100644 old_docs/API_docs_v44/constructors/messages_dialogs.md delete mode 100644 old_docs/API_docs_v44/constructors/messages_dialogsSlice.md delete mode 100644 old_docs/API_docs_v44/constructors/messages_foundGifs.md delete mode 100644 old_docs/API_docs_v44/constructors/messages_messages.md delete mode 100644 old_docs/API_docs_v44/constructors/messages_messagesSlice.md delete mode 100644 old_docs/API_docs_v44/constructors/messages_sentEncryptedFile.md delete mode 100644 old_docs/API_docs_v44/constructors/messages_sentEncryptedMessage.md delete mode 100644 old_docs/API_docs_v44/constructors/messages_stickerSet.md delete mode 100644 old_docs/API_docs_v44/constructors/messages_stickers.md delete mode 100644 old_docs/API_docs_v44/constructors/messages_stickersNotModified.md create mode 100644 old_docs/API_docs_v44/constructors/photos.photo.md create mode 100644 old_docs/API_docs_v44/constructors/photos.photos.md create mode 100644 old_docs/API_docs_v44/constructors/photos.photosSlice.md delete mode 100644 old_docs/API_docs_v44/constructors/photos_photo.md delete mode 100644 old_docs/API_docs_v44/constructors/photos_photos.md delete mode 100644 old_docs/API_docs_v44/constructors/photos_photosSlice.md create mode 100644 old_docs/API_docs_v44/constructors/storage.fileGif.md create mode 100644 old_docs/API_docs_v44/constructors/storage.fileJpeg.md create mode 100644 old_docs/API_docs_v44/constructors/storage.fileMov.md create mode 100644 old_docs/API_docs_v44/constructors/storage.fileMp3.md create mode 100644 old_docs/API_docs_v44/constructors/storage.fileMp4.md create mode 100644 old_docs/API_docs_v44/constructors/storage.filePartial.md create mode 100644 old_docs/API_docs_v44/constructors/storage.filePdf.md create mode 100644 old_docs/API_docs_v44/constructors/storage.filePng.md create mode 100644 old_docs/API_docs_v44/constructors/storage.fileUnknown.md create mode 100644 old_docs/API_docs_v44/constructors/storage.fileWebp.md delete mode 100644 old_docs/API_docs_v44/constructors/storage_fileGif.md delete mode 100644 old_docs/API_docs_v44/constructors/storage_fileJpeg.md delete mode 100644 old_docs/API_docs_v44/constructors/storage_fileMov.md delete mode 100644 old_docs/API_docs_v44/constructors/storage_fileMp3.md delete mode 100644 old_docs/API_docs_v44/constructors/storage_fileMp4.md delete mode 100644 old_docs/API_docs_v44/constructors/storage_filePartial.md delete mode 100644 old_docs/API_docs_v44/constructors/storage_filePdf.md delete mode 100644 old_docs/API_docs_v44/constructors/storage_filePng.md delete mode 100644 old_docs/API_docs_v44/constructors/storage_fileUnknown.md delete mode 100644 old_docs/API_docs_v44/constructors/storage_fileWebp.md create mode 100644 old_docs/API_docs_v44/constructors/updates.channelDifference.md create mode 100644 old_docs/API_docs_v44/constructors/updates.channelDifferenceEmpty.md create mode 100644 old_docs/API_docs_v44/constructors/updates.channelDifferenceTooLong.md create mode 100644 old_docs/API_docs_v44/constructors/updates.difference.md create mode 100644 old_docs/API_docs_v44/constructors/updates.differenceEmpty.md create mode 100644 old_docs/API_docs_v44/constructors/updates.differenceSlice.md create mode 100644 old_docs/API_docs_v44/constructors/updates.state.md delete mode 100644 old_docs/API_docs_v44/constructors/updates_channelDifference.md delete mode 100644 old_docs/API_docs_v44/constructors/updates_channelDifferenceEmpty.md delete mode 100644 old_docs/API_docs_v44/constructors/updates_channelDifferenceTooLong.md delete mode 100644 old_docs/API_docs_v44/constructors/updates_difference.md delete mode 100644 old_docs/API_docs_v44/constructors/updates_differenceEmpty.md delete mode 100644 old_docs/API_docs_v44/constructors/updates_differenceSlice.md delete mode 100644 old_docs/API_docs_v44/constructors/updates_state.md create mode 100644 old_docs/API_docs_v44/constructors/upload.file.md delete mode 100644 old_docs/API_docs_v44/constructors/upload_file.md create mode 100644 old_docs/API_docs_v44/types/account.Authorizations.md create mode 100644 old_docs/API_docs_v44/types/account.Password.md create mode 100644 old_docs/API_docs_v44/types/account.PasswordInputSettings.md create mode 100644 old_docs/API_docs_v44/types/account.PasswordSettings.md create mode 100644 old_docs/API_docs_v44/types/account.PrivacyRules.md create mode 100644 old_docs/API_docs_v44/types/account.SentChangePhoneCode.md delete mode 100644 old_docs/API_docs_v44/types/account_Authorizations.md delete mode 100644 old_docs/API_docs_v44/types/account_Password.md delete mode 100644 old_docs/API_docs_v44/types/account_PasswordInputSettings.md delete mode 100644 old_docs/API_docs_v44/types/account_PasswordSettings.md delete mode 100644 old_docs/API_docs_v44/types/account_PrivacyRules.md delete mode 100644 old_docs/API_docs_v44/types/account_SentChangePhoneCode.md create mode 100644 old_docs/API_docs_v44/types/auth.Authorization.md create mode 100644 old_docs/API_docs_v44/types/auth.CheckedPhone.md create mode 100644 old_docs/API_docs_v44/types/auth.ExportedAuthorization.md create mode 100644 old_docs/API_docs_v44/types/auth.PasswordRecovery.md create mode 100644 old_docs/API_docs_v44/types/auth.SentCode.md delete mode 100644 old_docs/API_docs_v44/types/auth_Authorization.md delete mode 100644 old_docs/API_docs_v44/types/auth_CheckedPhone.md delete mode 100644 old_docs/API_docs_v44/types/auth_ExportedAuthorization.md delete mode 100644 old_docs/API_docs_v44/types/auth_PasswordRecovery.md delete mode 100644 old_docs/API_docs_v44/types/auth_SentCode.md create mode 100644 old_docs/API_docs_v44/types/channels.ChannelParticipant.md create mode 100644 old_docs/API_docs_v44/types/channels.ChannelParticipants.md delete mode 100644 old_docs/API_docs_v44/types/channels_ChannelParticipant.md delete mode 100644 old_docs/API_docs_v44/types/channels_ChannelParticipants.md create mode 100644 old_docs/API_docs_v44/types/contacts.Blocked.md create mode 100644 old_docs/API_docs_v44/types/contacts.Contacts.md create mode 100644 old_docs/API_docs_v44/types/contacts.Found.md create mode 100644 old_docs/API_docs_v44/types/contacts.ImportedContacts.md create mode 100644 old_docs/API_docs_v44/types/contacts.Link.md create mode 100644 old_docs/API_docs_v44/types/contacts.ResolvedPeer.md create mode 100644 old_docs/API_docs_v44/types/contacts.Suggested.md delete mode 100644 old_docs/API_docs_v44/types/contacts_Blocked.md delete mode 100644 old_docs/API_docs_v44/types/contacts_Contacts.md delete mode 100644 old_docs/API_docs_v44/types/contacts_Found.md delete mode 100644 old_docs/API_docs_v44/types/contacts_ImportedContacts.md delete mode 100644 old_docs/API_docs_v44/types/contacts_Link.md delete mode 100644 old_docs/API_docs_v44/types/contacts_ResolvedPeer.md delete mode 100644 old_docs/API_docs_v44/types/contacts_Suggested.md create mode 100644 old_docs/API_docs_v44/types/help.AppChangelog.md create mode 100644 old_docs/API_docs_v44/types/help.AppUpdate.md create mode 100644 old_docs/API_docs_v44/types/help.InviteText.md create mode 100644 old_docs/API_docs_v44/types/help.Support.md create mode 100644 old_docs/API_docs_v44/types/help.TermsOfService.md delete mode 100644 old_docs/API_docs_v44/types/help_AppChangelog.md delete mode 100644 old_docs/API_docs_v44/types/help_AppUpdate.md delete mode 100644 old_docs/API_docs_v44/types/help_InviteText.md delete mode 100644 old_docs/API_docs_v44/types/help_Support.md delete mode 100644 old_docs/API_docs_v44/types/help_TermsOfService.md create mode 100644 old_docs/API_docs_v44/types/messages.AffectedHistory.md create mode 100644 old_docs/API_docs_v44/types/messages.AffectedMessages.md create mode 100644 old_docs/API_docs_v44/types/messages.AllStickers.md create mode 100644 old_docs/API_docs_v44/types/messages.ChatFull.md create mode 100644 old_docs/API_docs_v44/types/messages.Chats.md create mode 100644 old_docs/API_docs_v44/types/messages.DhConfig.md create mode 100644 old_docs/API_docs_v44/types/messages.Dialogs.md create mode 100644 old_docs/API_docs_v44/types/messages.FoundGifs.md create mode 100644 old_docs/API_docs_v44/types/messages.Messages.md create mode 100644 old_docs/API_docs_v44/types/messages.SentEncryptedMessage.md create mode 100644 old_docs/API_docs_v44/types/messages.StickerSet.md create mode 100644 old_docs/API_docs_v44/types/messages.Stickers.md delete mode 100644 old_docs/API_docs_v44/types/messages_AffectedHistory.md delete mode 100644 old_docs/API_docs_v44/types/messages_AffectedMessages.md delete mode 100644 old_docs/API_docs_v44/types/messages_AllStickers.md delete mode 100644 old_docs/API_docs_v44/types/messages_ChatFull.md delete mode 100644 old_docs/API_docs_v44/types/messages_Chats.md delete mode 100644 old_docs/API_docs_v44/types/messages_DhConfig.md delete mode 100644 old_docs/API_docs_v44/types/messages_Dialogs.md delete mode 100644 old_docs/API_docs_v44/types/messages_FoundGifs.md delete mode 100644 old_docs/API_docs_v44/types/messages_Messages.md delete mode 100644 old_docs/API_docs_v44/types/messages_SentEncryptedMessage.md delete mode 100644 old_docs/API_docs_v44/types/messages_StickerSet.md delete mode 100644 old_docs/API_docs_v44/types/messages_Stickers.md create mode 100644 old_docs/API_docs_v44/types/photos.Photo.md create mode 100644 old_docs/API_docs_v44/types/photos.Photos.md delete mode 100644 old_docs/API_docs_v44/types/photos_Photo.md delete mode 100644 old_docs/API_docs_v44/types/photos_Photos.md create mode 100644 old_docs/API_docs_v44/types/storage.FileType.md delete mode 100644 old_docs/API_docs_v44/types/storage_FileType.md create mode 100644 old_docs/API_docs_v44/types/updates.ChannelDifference.md create mode 100644 old_docs/API_docs_v44/types/updates.Difference.md create mode 100644 old_docs/API_docs_v44/types/updates.State.md delete mode 100644 old_docs/API_docs_v44/types/updates_ChannelDifference.md delete mode 100644 old_docs/API_docs_v44/types/updates_Difference.md delete mode 100644 old_docs/API_docs_v44/types/updates_State.md create mode 100644 old_docs/API_docs_v44/types/upload.File.md delete mode 100644 old_docs/API_docs_v44/types/upload_File.md create mode 100644 old_docs/API_docs_v45/constructors/account.authorizations.md create mode 100644 old_docs/API_docs_v45/constructors/account.noPassword.md create mode 100644 old_docs/API_docs_v45/constructors/account.password.md create mode 100644 old_docs/API_docs_v45/constructors/account.passwordInputSettings.md create mode 100644 old_docs/API_docs_v45/constructors/account.passwordSettings.md create mode 100644 old_docs/API_docs_v45/constructors/account.privacyRules.md create mode 100644 old_docs/API_docs_v45/constructors/account.sentChangePhoneCode.md delete mode 100644 old_docs/API_docs_v45/constructors/account_authorizations.md delete mode 100644 old_docs/API_docs_v45/constructors/account_noPassword.md delete mode 100644 old_docs/API_docs_v45/constructors/account_password.md delete mode 100644 old_docs/API_docs_v45/constructors/account_passwordInputSettings.md delete mode 100644 old_docs/API_docs_v45/constructors/account_passwordSettings.md delete mode 100644 old_docs/API_docs_v45/constructors/account_privacyRules.md delete mode 100644 old_docs/API_docs_v45/constructors/account_sentChangePhoneCode.md create mode 100644 old_docs/API_docs_v45/constructors/auth.authorization.md create mode 100644 old_docs/API_docs_v45/constructors/auth.checkedPhone.md create mode 100644 old_docs/API_docs_v45/constructors/auth.exportedAuthorization.md create mode 100644 old_docs/API_docs_v45/constructors/auth.passwordRecovery.md create mode 100644 old_docs/API_docs_v45/constructors/auth.sentAppCode.md create mode 100644 old_docs/API_docs_v45/constructors/auth.sentCode.md delete mode 100644 old_docs/API_docs_v45/constructors/auth_authorization.md delete mode 100644 old_docs/API_docs_v45/constructors/auth_checkedPhone.md delete mode 100644 old_docs/API_docs_v45/constructors/auth_exportedAuthorization.md delete mode 100644 old_docs/API_docs_v45/constructors/auth_passwordRecovery.md delete mode 100644 old_docs/API_docs_v45/constructors/auth_sentAppCode.md delete mode 100644 old_docs/API_docs_v45/constructors/auth_sentCode.md create mode 100644 old_docs/API_docs_v45/constructors/channels.channelParticipant.md create mode 100644 old_docs/API_docs_v45/constructors/channels.channelParticipants.md delete mode 100644 old_docs/API_docs_v45/constructors/channels_channelParticipant.md delete mode 100644 old_docs/API_docs_v45/constructors/channels_channelParticipants.md create mode 100644 old_docs/API_docs_v45/constructors/contacts.blocked.md create mode 100644 old_docs/API_docs_v45/constructors/contacts.blockedSlice.md create mode 100644 old_docs/API_docs_v45/constructors/contacts.contacts.md create mode 100644 old_docs/API_docs_v45/constructors/contacts.contactsNotModified.md create mode 100644 old_docs/API_docs_v45/constructors/contacts.found.md create mode 100644 old_docs/API_docs_v45/constructors/contacts.importedContacts.md create mode 100644 old_docs/API_docs_v45/constructors/contacts.link.md create mode 100644 old_docs/API_docs_v45/constructors/contacts.resolvedPeer.md create mode 100644 old_docs/API_docs_v45/constructors/contacts.suggested.md delete mode 100644 old_docs/API_docs_v45/constructors/contacts_blocked.md delete mode 100644 old_docs/API_docs_v45/constructors/contacts_blockedSlice.md delete mode 100644 old_docs/API_docs_v45/constructors/contacts_contacts.md delete mode 100644 old_docs/API_docs_v45/constructors/contacts_contactsNotModified.md delete mode 100644 old_docs/API_docs_v45/constructors/contacts_found.md delete mode 100644 old_docs/API_docs_v45/constructors/contacts_importedContacts.md delete mode 100644 old_docs/API_docs_v45/constructors/contacts_link.md delete mode 100644 old_docs/API_docs_v45/constructors/contacts_resolvedPeer.md delete mode 100644 old_docs/API_docs_v45/constructors/contacts_suggested.md create mode 100644 old_docs/API_docs_v45/constructors/help.appChangelog.md create mode 100644 old_docs/API_docs_v45/constructors/help.appChangelogEmpty.md create mode 100644 old_docs/API_docs_v45/constructors/help.appUpdate.md create mode 100644 old_docs/API_docs_v45/constructors/help.inviteText.md create mode 100644 old_docs/API_docs_v45/constructors/help.noAppUpdate.md create mode 100644 old_docs/API_docs_v45/constructors/help.support.md create mode 100644 old_docs/API_docs_v45/constructors/help.termsOfService.md delete mode 100644 old_docs/API_docs_v45/constructors/help_appChangelog.md delete mode 100644 old_docs/API_docs_v45/constructors/help_appChangelogEmpty.md delete mode 100644 old_docs/API_docs_v45/constructors/help_appUpdate.md delete mode 100644 old_docs/API_docs_v45/constructors/help_inviteText.md delete mode 100644 old_docs/API_docs_v45/constructors/help_noAppUpdate.md delete mode 100644 old_docs/API_docs_v45/constructors/help_support.md delete mode 100644 old_docs/API_docs_v45/constructors/help_termsOfService.md create mode 100644 old_docs/API_docs_v45/constructors/messages.affectedHistory.md create mode 100644 old_docs/API_docs_v45/constructors/messages.affectedMessages.md create mode 100644 old_docs/API_docs_v45/constructors/messages.allStickers.md create mode 100644 old_docs/API_docs_v45/constructors/messages.allStickersNotModified.md create mode 100644 old_docs/API_docs_v45/constructors/messages.botResults.md create mode 100644 old_docs/API_docs_v45/constructors/messages.channelMessages.md create mode 100644 old_docs/API_docs_v45/constructors/messages.chatFull.md create mode 100644 old_docs/API_docs_v45/constructors/messages.chats.md create mode 100644 old_docs/API_docs_v45/constructors/messages.dhConfig.md create mode 100644 old_docs/API_docs_v45/constructors/messages.dhConfigNotModified.md create mode 100644 old_docs/API_docs_v45/constructors/messages.dialogs.md create mode 100644 old_docs/API_docs_v45/constructors/messages.dialogsSlice.md create mode 100644 old_docs/API_docs_v45/constructors/messages.foundGifs.md create mode 100644 old_docs/API_docs_v45/constructors/messages.messages.md create mode 100644 old_docs/API_docs_v45/constructors/messages.messagesSlice.md create mode 100644 old_docs/API_docs_v45/constructors/messages.savedGifs.md create mode 100644 old_docs/API_docs_v45/constructors/messages.savedGifsNotModified.md create mode 100644 old_docs/API_docs_v45/constructors/messages.sentEncryptedFile.md create mode 100644 old_docs/API_docs_v45/constructors/messages.sentEncryptedMessage.md create mode 100644 old_docs/API_docs_v45/constructors/messages.stickerSet.md create mode 100644 old_docs/API_docs_v45/constructors/messages.stickers.md create mode 100644 old_docs/API_docs_v45/constructors/messages.stickersNotModified.md delete mode 100644 old_docs/API_docs_v45/constructors/messages_affectedHistory.md delete mode 100644 old_docs/API_docs_v45/constructors/messages_affectedMessages.md delete mode 100644 old_docs/API_docs_v45/constructors/messages_allStickers.md delete mode 100644 old_docs/API_docs_v45/constructors/messages_allStickersNotModified.md delete mode 100644 old_docs/API_docs_v45/constructors/messages_botResults.md delete mode 100644 old_docs/API_docs_v45/constructors/messages_channelMessages.md delete mode 100644 old_docs/API_docs_v45/constructors/messages_chatFull.md delete mode 100644 old_docs/API_docs_v45/constructors/messages_chats.md delete mode 100644 old_docs/API_docs_v45/constructors/messages_dhConfig.md delete mode 100644 old_docs/API_docs_v45/constructors/messages_dhConfigNotModified.md delete mode 100644 old_docs/API_docs_v45/constructors/messages_dialogs.md delete mode 100644 old_docs/API_docs_v45/constructors/messages_dialogsSlice.md delete mode 100644 old_docs/API_docs_v45/constructors/messages_foundGifs.md delete mode 100644 old_docs/API_docs_v45/constructors/messages_messages.md delete mode 100644 old_docs/API_docs_v45/constructors/messages_messagesSlice.md delete mode 100644 old_docs/API_docs_v45/constructors/messages_savedGifs.md delete mode 100644 old_docs/API_docs_v45/constructors/messages_savedGifsNotModified.md delete mode 100644 old_docs/API_docs_v45/constructors/messages_sentEncryptedFile.md delete mode 100644 old_docs/API_docs_v45/constructors/messages_sentEncryptedMessage.md delete mode 100644 old_docs/API_docs_v45/constructors/messages_stickerSet.md delete mode 100644 old_docs/API_docs_v45/constructors/messages_stickers.md delete mode 100644 old_docs/API_docs_v45/constructors/messages_stickersNotModified.md create mode 100644 old_docs/API_docs_v45/constructors/photos.photo.md create mode 100644 old_docs/API_docs_v45/constructors/photos.photos.md create mode 100644 old_docs/API_docs_v45/constructors/photos.photosSlice.md delete mode 100644 old_docs/API_docs_v45/constructors/photos_photo.md delete mode 100644 old_docs/API_docs_v45/constructors/photos_photos.md delete mode 100644 old_docs/API_docs_v45/constructors/photos_photosSlice.md create mode 100644 old_docs/API_docs_v45/constructors/storage.fileGif.md create mode 100644 old_docs/API_docs_v45/constructors/storage.fileJpeg.md create mode 100644 old_docs/API_docs_v45/constructors/storage.fileMov.md create mode 100644 old_docs/API_docs_v45/constructors/storage.fileMp3.md create mode 100644 old_docs/API_docs_v45/constructors/storage.fileMp4.md create mode 100644 old_docs/API_docs_v45/constructors/storage.filePartial.md create mode 100644 old_docs/API_docs_v45/constructors/storage.filePdf.md create mode 100644 old_docs/API_docs_v45/constructors/storage.filePng.md create mode 100644 old_docs/API_docs_v45/constructors/storage.fileUnknown.md create mode 100644 old_docs/API_docs_v45/constructors/storage.fileWebp.md delete mode 100644 old_docs/API_docs_v45/constructors/storage_fileGif.md delete mode 100644 old_docs/API_docs_v45/constructors/storage_fileJpeg.md delete mode 100644 old_docs/API_docs_v45/constructors/storage_fileMov.md delete mode 100644 old_docs/API_docs_v45/constructors/storage_fileMp3.md delete mode 100644 old_docs/API_docs_v45/constructors/storage_fileMp4.md delete mode 100644 old_docs/API_docs_v45/constructors/storage_filePartial.md delete mode 100644 old_docs/API_docs_v45/constructors/storage_filePdf.md delete mode 100644 old_docs/API_docs_v45/constructors/storage_filePng.md delete mode 100644 old_docs/API_docs_v45/constructors/storage_fileUnknown.md delete mode 100644 old_docs/API_docs_v45/constructors/storage_fileWebp.md create mode 100644 old_docs/API_docs_v45/constructors/updates.channelDifference.md create mode 100644 old_docs/API_docs_v45/constructors/updates.channelDifferenceEmpty.md create mode 100644 old_docs/API_docs_v45/constructors/updates.channelDifferenceTooLong.md create mode 100644 old_docs/API_docs_v45/constructors/updates.difference.md create mode 100644 old_docs/API_docs_v45/constructors/updates.differenceEmpty.md create mode 100644 old_docs/API_docs_v45/constructors/updates.differenceSlice.md create mode 100644 old_docs/API_docs_v45/constructors/updates.state.md delete mode 100644 old_docs/API_docs_v45/constructors/updates_channelDifference.md delete mode 100644 old_docs/API_docs_v45/constructors/updates_channelDifferenceEmpty.md delete mode 100644 old_docs/API_docs_v45/constructors/updates_channelDifferenceTooLong.md delete mode 100644 old_docs/API_docs_v45/constructors/updates_difference.md delete mode 100644 old_docs/API_docs_v45/constructors/updates_differenceEmpty.md delete mode 100644 old_docs/API_docs_v45/constructors/updates_differenceSlice.md delete mode 100644 old_docs/API_docs_v45/constructors/updates_state.md create mode 100644 old_docs/API_docs_v45/constructors/upload.file.md delete mode 100644 old_docs/API_docs_v45/constructors/upload_file.md create mode 100644 old_docs/API_docs_v45/types/account.Authorizations.md create mode 100644 old_docs/API_docs_v45/types/account.Password.md create mode 100644 old_docs/API_docs_v45/types/account.PasswordInputSettings.md create mode 100644 old_docs/API_docs_v45/types/account.PasswordSettings.md create mode 100644 old_docs/API_docs_v45/types/account.PrivacyRules.md create mode 100644 old_docs/API_docs_v45/types/account.SentChangePhoneCode.md delete mode 100644 old_docs/API_docs_v45/types/account_Authorizations.md delete mode 100644 old_docs/API_docs_v45/types/account_Password.md delete mode 100644 old_docs/API_docs_v45/types/account_PasswordInputSettings.md delete mode 100644 old_docs/API_docs_v45/types/account_PasswordSettings.md delete mode 100644 old_docs/API_docs_v45/types/account_PrivacyRules.md delete mode 100644 old_docs/API_docs_v45/types/account_SentChangePhoneCode.md create mode 100644 old_docs/API_docs_v45/types/auth.Authorization.md create mode 100644 old_docs/API_docs_v45/types/auth.CheckedPhone.md create mode 100644 old_docs/API_docs_v45/types/auth.ExportedAuthorization.md create mode 100644 old_docs/API_docs_v45/types/auth.PasswordRecovery.md create mode 100644 old_docs/API_docs_v45/types/auth.SentCode.md delete mode 100644 old_docs/API_docs_v45/types/auth_Authorization.md delete mode 100644 old_docs/API_docs_v45/types/auth_CheckedPhone.md delete mode 100644 old_docs/API_docs_v45/types/auth_ExportedAuthorization.md delete mode 100644 old_docs/API_docs_v45/types/auth_PasswordRecovery.md delete mode 100644 old_docs/API_docs_v45/types/auth_SentCode.md create mode 100644 old_docs/API_docs_v45/types/channels.ChannelParticipant.md create mode 100644 old_docs/API_docs_v45/types/channels.ChannelParticipants.md delete mode 100644 old_docs/API_docs_v45/types/channels_ChannelParticipant.md delete mode 100644 old_docs/API_docs_v45/types/channels_ChannelParticipants.md create mode 100644 old_docs/API_docs_v45/types/contacts.Blocked.md create mode 100644 old_docs/API_docs_v45/types/contacts.Contacts.md create mode 100644 old_docs/API_docs_v45/types/contacts.Found.md create mode 100644 old_docs/API_docs_v45/types/contacts.ImportedContacts.md create mode 100644 old_docs/API_docs_v45/types/contacts.Link.md create mode 100644 old_docs/API_docs_v45/types/contacts.ResolvedPeer.md create mode 100644 old_docs/API_docs_v45/types/contacts.Suggested.md delete mode 100644 old_docs/API_docs_v45/types/contacts_Blocked.md delete mode 100644 old_docs/API_docs_v45/types/contacts_Contacts.md delete mode 100644 old_docs/API_docs_v45/types/contacts_Found.md delete mode 100644 old_docs/API_docs_v45/types/contacts_ImportedContacts.md delete mode 100644 old_docs/API_docs_v45/types/contacts_Link.md delete mode 100644 old_docs/API_docs_v45/types/contacts_ResolvedPeer.md delete mode 100644 old_docs/API_docs_v45/types/contacts_Suggested.md create mode 100644 old_docs/API_docs_v45/types/help.AppChangelog.md create mode 100644 old_docs/API_docs_v45/types/help.AppUpdate.md create mode 100644 old_docs/API_docs_v45/types/help.InviteText.md create mode 100644 old_docs/API_docs_v45/types/help.Support.md create mode 100644 old_docs/API_docs_v45/types/help.TermsOfService.md delete mode 100644 old_docs/API_docs_v45/types/help_AppChangelog.md delete mode 100644 old_docs/API_docs_v45/types/help_AppUpdate.md delete mode 100644 old_docs/API_docs_v45/types/help_InviteText.md delete mode 100644 old_docs/API_docs_v45/types/help_Support.md delete mode 100644 old_docs/API_docs_v45/types/help_TermsOfService.md create mode 100644 old_docs/API_docs_v45/types/messages.AffectedHistory.md create mode 100644 old_docs/API_docs_v45/types/messages.AffectedMessages.md create mode 100644 old_docs/API_docs_v45/types/messages.AllStickers.md create mode 100644 old_docs/API_docs_v45/types/messages.BotResults.md create mode 100644 old_docs/API_docs_v45/types/messages.ChatFull.md create mode 100644 old_docs/API_docs_v45/types/messages.Chats.md create mode 100644 old_docs/API_docs_v45/types/messages.DhConfig.md create mode 100644 old_docs/API_docs_v45/types/messages.Dialogs.md create mode 100644 old_docs/API_docs_v45/types/messages.FoundGifs.md create mode 100644 old_docs/API_docs_v45/types/messages.Messages.md create mode 100644 old_docs/API_docs_v45/types/messages.SavedGifs.md create mode 100644 old_docs/API_docs_v45/types/messages.SentEncryptedMessage.md create mode 100644 old_docs/API_docs_v45/types/messages.StickerSet.md create mode 100644 old_docs/API_docs_v45/types/messages.Stickers.md delete mode 100644 old_docs/API_docs_v45/types/messages_AffectedHistory.md delete mode 100644 old_docs/API_docs_v45/types/messages_AffectedMessages.md delete mode 100644 old_docs/API_docs_v45/types/messages_AllStickers.md delete mode 100644 old_docs/API_docs_v45/types/messages_BotResults.md delete mode 100644 old_docs/API_docs_v45/types/messages_ChatFull.md delete mode 100644 old_docs/API_docs_v45/types/messages_Chats.md delete mode 100644 old_docs/API_docs_v45/types/messages_DhConfig.md delete mode 100644 old_docs/API_docs_v45/types/messages_Dialogs.md delete mode 100644 old_docs/API_docs_v45/types/messages_FoundGifs.md delete mode 100644 old_docs/API_docs_v45/types/messages_Messages.md delete mode 100644 old_docs/API_docs_v45/types/messages_SavedGifs.md delete mode 100644 old_docs/API_docs_v45/types/messages_SentEncryptedMessage.md delete mode 100644 old_docs/API_docs_v45/types/messages_StickerSet.md delete mode 100644 old_docs/API_docs_v45/types/messages_Stickers.md create mode 100644 old_docs/API_docs_v45/types/photos.Photo.md create mode 100644 old_docs/API_docs_v45/types/photos.Photos.md delete mode 100644 old_docs/API_docs_v45/types/photos_Photo.md delete mode 100644 old_docs/API_docs_v45/types/photos_Photos.md create mode 100644 old_docs/API_docs_v45/types/storage.FileType.md delete mode 100644 old_docs/API_docs_v45/types/storage_FileType.md create mode 100644 old_docs/API_docs_v45/types/updates.ChannelDifference.md create mode 100644 old_docs/API_docs_v45/types/updates.Difference.md create mode 100644 old_docs/API_docs_v45/types/updates.State.md delete mode 100644 old_docs/API_docs_v45/types/updates_ChannelDifference.md delete mode 100644 old_docs/API_docs_v45/types/updates_Difference.md delete mode 100644 old_docs/API_docs_v45/types/updates_State.md create mode 100644 old_docs/API_docs_v45/types/upload.File.md delete mode 100644 old_docs/API_docs_v45/types/upload_File.md create mode 100644 old_docs/API_docs_v46/constructors/account.authorizations.md create mode 100644 old_docs/API_docs_v46/constructors/account.noPassword.md create mode 100644 old_docs/API_docs_v46/constructors/account.password.md create mode 100644 old_docs/API_docs_v46/constructors/account.passwordInputSettings.md create mode 100644 old_docs/API_docs_v46/constructors/account.passwordSettings.md create mode 100644 old_docs/API_docs_v46/constructors/account.privacyRules.md create mode 100644 old_docs/API_docs_v46/constructors/account.sentChangePhoneCode.md delete mode 100644 old_docs/API_docs_v46/constructors/account_authorizations.md delete mode 100644 old_docs/API_docs_v46/constructors/account_noPassword.md delete mode 100644 old_docs/API_docs_v46/constructors/account_password.md delete mode 100644 old_docs/API_docs_v46/constructors/account_passwordInputSettings.md delete mode 100644 old_docs/API_docs_v46/constructors/account_passwordSettings.md delete mode 100644 old_docs/API_docs_v46/constructors/account_privacyRules.md delete mode 100644 old_docs/API_docs_v46/constructors/account_sentChangePhoneCode.md create mode 100644 old_docs/API_docs_v46/constructors/auth.authorization.md create mode 100644 old_docs/API_docs_v46/constructors/auth.checkedPhone.md create mode 100644 old_docs/API_docs_v46/constructors/auth.exportedAuthorization.md create mode 100644 old_docs/API_docs_v46/constructors/auth.passwordRecovery.md create mode 100644 old_docs/API_docs_v46/constructors/auth.sentAppCode.md create mode 100644 old_docs/API_docs_v46/constructors/auth.sentCode.md delete mode 100644 old_docs/API_docs_v46/constructors/auth_authorization.md delete mode 100644 old_docs/API_docs_v46/constructors/auth_checkedPhone.md delete mode 100644 old_docs/API_docs_v46/constructors/auth_exportedAuthorization.md delete mode 100644 old_docs/API_docs_v46/constructors/auth_passwordRecovery.md delete mode 100644 old_docs/API_docs_v46/constructors/auth_sentAppCode.md delete mode 100644 old_docs/API_docs_v46/constructors/auth_sentCode.md create mode 100644 old_docs/API_docs_v46/constructors/channels.channelParticipant.md create mode 100644 old_docs/API_docs_v46/constructors/channels.channelParticipants.md delete mode 100644 old_docs/API_docs_v46/constructors/channels_channelParticipant.md delete mode 100644 old_docs/API_docs_v46/constructors/channels_channelParticipants.md create mode 100644 old_docs/API_docs_v46/constructors/contacts.blocked.md create mode 100644 old_docs/API_docs_v46/constructors/contacts.blockedSlice.md create mode 100644 old_docs/API_docs_v46/constructors/contacts.contacts.md create mode 100644 old_docs/API_docs_v46/constructors/contacts.contactsNotModified.md create mode 100644 old_docs/API_docs_v46/constructors/contacts.found.md create mode 100644 old_docs/API_docs_v46/constructors/contacts.importedContacts.md create mode 100644 old_docs/API_docs_v46/constructors/contacts.link.md create mode 100644 old_docs/API_docs_v46/constructors/contacts.resolvedPeer.md create mode 100644 old_docs/API_docs_v46/constructors/contacts.suggested.md delete mode 100644 old_docs/API_docs_v46/constructors/contacts_blocked.md delete mode 100644 old_docs/API_docs_v46/constructors/contacts_blockedSlice.md delete mode 100644 old_docs/API_docs_v46/constructors/contacts_contacts.md delete mode 100644 old_docs/API_docs_v46/constructors/contacts_contactsNotModified.md delete mode 100644 old_docs/API_docs_v46/constructors/contacts_found.md delete mode 100644 old_docs/API_docs_v46/constructors/contacts_importedContacts.md delete mode 100644 old_docs/API_docs_v46/constructors/contacts_link.md delete mode 100644 old_docs/API_docs_v46/constructors/contacts_resolvedPeer.md delete mode 100644 old_docs/API_docs_v46/constructors/contacts_suggested.md create mode 100644 old_docs/API_docs_v46/constructors/help.appChangelog.md create mode 100644 old_docs/API_docs_v46/constructors/help.appChangelogEmpty.md create mode 100644 old_docs/API_docs_v46/constructors/help.appUpdate.md create mode 100644 old_docs/API_docs_v46/constructors/help.inviteText.md create mode 100644 old_docs/API_docs_v46/constructors/help.noAppUpdate.md create mode 100644 old_docs/API_docs_v46/constructors/help.support.md create mode 100644 old_docs/API_docs_v46/constructors/help.termsOfService.md delete mode 100644 old_docs/API_docs_v46/constructors/help_appChangelog.md delete mode 100644 old_docs/API_docs_v46/constructors/help_appChangelogEmpty.md delete mode 100644 old_docs/API_docs_v46/constructors/help_appUpdate.md delete mode 100644 old_docs/API_docs_v46/constructors/help_inviteText.md delete mode 100644 old_docs/API_docs_v46/constructors/help_noAppUpdate.md delete mode 100644 old_docs/API_docs_v46/constructors/help_support.md delete mode 100644 old_docs/API_docs_v46/constructors/help_termsOfService.md create mode 100644 old_docs/API_docs_v46/constructors/messages.affectedHistory.md create mode 100644 old_docs/API_docs_v46/constructors/messages.affectedMessages.md create mode 100644 old_docs/API_docs_v46/constructors/messages.allStickers.md create mode 100644 old_docs/API_docs_v46/constructors/messages.allStickersNotModified.md create mode 100644 old_docs/API_docs_v46/constructors/messages.botResults.md create mode 100644 old_docs/API_docs_v46/constructors/messages.channelMessages.md create mode 100644 old_docs/API_docs_v46/constructors/messages.chatFull.md create mode 100644 old_docs/API_docs_v46/constructors/messages.chats.md create mode 100644 old_docs/API_docs_v46/constructors/messages.dhConfig.md create mode 100644 old_docs/API_docs_v46/constructors/messages.dhConfigNotModified.md create mode 100644 old_docs/API_docs_v46/constructors/messages.dialogs.md create mode 100644 old_docs/API_docs_v46/constructors/messages.dialogsSlice.md create mode 100644 old_docs/API_docs_v46/constructors/messages.foundGifs.md create mode 100644 old_docs/API_docs_v46/constructors/messages.messages.md create mode 100644 old_docs/API_docs_v46/constructors/messages.messagesSlice.md create mode 100644 old_docs/API_docs_v46/constructors/messages.savedGifs.md create mode 100644 old_docs/API_docs_v46/constructors/messages.savedGifsNotModified.md create mode 100644 old_docs/API_docs_v46/constructors/messages.sentEncryptedFile.md create mode 100644 old_docs/API_docs_v46/constructors/messages.sentEncryptedMessage.md create mode 100644 old_docs/API_docs_v46/constructors/messages.stickerSet.md create mode 100644 old_docs/API_docs_v46/constructors/messages.stickers.md create mode 100644 old_docs/API_docs_v46/constructors/messages.stickersNotModified.md delete mode 100644 old_docs/API_docs_v46/constructors/messages_affectedHistory.md delete mode 100644 old_docs/API_docs_v46/constructors/messages_affectedMessages.md delete mode 100644 old_docs/API_docs_v46/constructors/messages_allStickers.md delete mode 100644 old_docs/API_docs_v46/constructors/messages_allStickersNotModified.md delete mode 100644 old_docs/API_docs_v46/constructors/messages_botResults.md delete mode 100644 old_docs/API_docs_v46/constructors/messages_channelMessages.md delete mode 100644 old_docs/API_docs_v46/constructors/messages_chatFull.md delete mode 100644 old_docs/API_docs_v46/constructors/messages_chats.md delete mode 100644 old_docs/API_docs_v46/constructors/messages_dhConfig.md delete mode 100644 old_docs/API_docs_v46/constructors/messages_dhConfigNotModified.md delete mode 100644 old_docs/API_docs_v46/constructors/messages_dialogs.md delete mode 100644 old_docs/API_docs_v46/constructors/messages_dialogsSlice.md delete mode 100644 old_docs/API_docs_v46/constructors/messages_foundGifs.md delete mode 100644 old_docs/API_docs_v46/constructors/messages_messages.md delete mode 100644 old_docs/API_docs_v46/constructors/messages_messagesSlice.md delete mode 100644 old_docs/API_docs_v46/constructors/messages_savedGifs.md delete mode 100644 old_docs/API_docs_v46/constructors/messages_savedGifsNotModified.md delete mode 100644 old_docs/API_docs_v46/constructors/messages_sentEncryptedFile.md delete mode 100644 old_docs/API_docs_v46/constructors/messages_sentEncryptedMessage.md delete mode 100644 old_docs/API_docs_v46/constructors/messages_stickerSet.md delete mode 100644 old_docs/API_docs_v46/constructors/messages_stickers.md delete mode 100644 old_docs/API_docs_v46/constructors/messages_stickersNotModified.md create mode 100644 old_docs/API_docs_v46/constructors/photos.photo.md create mode 100644 old_docs/API_docs_v46/constructors/photos.photos.md create mode 100644 old_docs/API_docs_v46/constructors/photos.photosSlice.md delete mode 100644 old_docs/API_docs_v46/constructors/photos_photo.md delete mode 100644 old_docs/API_docs_v46/constructors/photos_photos.md delete mode 100644 old_docs/API_docs_v46/constructors/photos_photosSlice.md create mode 100644 old_docs/API_docs_v46/constructors/storage.fileGif.md create mode 100644 old_docs/API_docs_v46/constructors/storage.fileJpeg.md create mode 100644 old_docs/API_docs_v46/constructors/storage.fileMov.md create mode 100644 old_docs/API_docs_v46/constructors/storage.fileMp3.md create mode 100644 old_docs/API_docs_v46/constructors/storage.fileMp4.md create mode 100644 old_docs/API_docs_v46/constructors/storage.filePartial.md create mode 100644 old_docs/API_docs_v46/constructors/storage.filePdf.md create mode 100644 old_docs/API_docs_v46/constructors/storage.filePng.md create mode 100644 old_docs/API_docs_v46/constructors/storage.fileUnknown.md create mode 100644 old_docs/API_docs_v46/constructors/storage.fileWebp.md delete mode 100644 old_docs/API_docs_v46/constructors/storage_fileGif.md delete mode 100644 old_docs/API_docs_v46/constructors/storage_fileJpeg.md delete mode 100644 old_docs/API_docs_v46/constructors/storage_fileMov.md delete mode 100644 old_docs/API_docs_v46/constructors/storage_fileMp3.md delete mode 100644 old_docs/API_docs_v46/constructors/storage_fileMp4.md delete mode 100644 old_docs/API_docs_v46/constructors/storage_filePartial.md delete mode 100644 old_docs/API_docs_v46/constructors/storage_filePdf.md delete mode 100644 old_docs/API_docs_v46/constructors/storage_filePng.md delete mode 100644 old_docs/API_docs_v46/constructors/storage_fileUnknown.md delete mode 100644 old_docs/API_docs_v46/constructors/storage_fileWebp.md create mode 100644 old_docs/API_docs_v46/constructors/updates.channelDifference.md create mode 100644 old_docs/API_docs_v46/constructors/updates.channelDifferenceEmpty.md create mode 100644 old_docs/API_docs_v46/constructors/updates.channelDifferenceTooLong.md create mode 100644 old_docs/API_docs_v46/constructors/updates.difference.md create mode 100644 old_docs/API_docs_v46/constructors/updates.differenceEmpty.md create mode 100644 old_docs/API_docs_v46/constructors/updates.differenceSlice.md create mode 100644 old_docs/API_docs_v46/constructors/updates.state.md delete mode 100644 old_docs/API_docs_v46/constructors/updates_channelDifference.md delete mode 100644 old_docs/API_docs_v46/constructors/updates_channelDifferenceEmpty.md delete mode 100644 old_docs/API_docs_v46/constructors/updates_channelDifferenceTooLong.md delete mode 100644 old_docs/API_docs_v46/constructors/updates_difference.md delete mode 100644 old_docs/API_docs_v46/constructors/updates_differenceEmpty.md delete mode 100644 old_docs/API_docs_v46/constructors/updates_differenceSlice.md delete mode 100644 old_docs/API_docs_v46/constructors/updates_state.md create mode 100644 old_docs/API_docs_v46/constructors/upload.file.md delete mode 100644 old_docs/API_docs_v46/constructors/upload_file.md create mode 100644 old_docs/API_docs_v46/types/account.Authorizations.md create mode 100644 old_docs/API_docs_v46/types/account.Password.md create mode 100644 old_docs/API_docs_v46/types/account.PasswordInputSettings.md create mode 100644 old_docs/API_docs_v46/types/account.PasswordSettings.md create mode 100644 old_docs/API_docs_v46/types/account.PrivacyRules.md create mode 100644 old_docs/API_docs_v46/types/account.SentChangePhoneCode.md delete mode 100644 old_docs/API_docs_v46/types/account_Authorizations.md delete mode 100644 old_docs/API_docs_v46/types/account_Password.md delete mode 100644 old_docs/API_docs_v46/types/account_PasswordInputSettings.md delete mode 100644 old_docs/API_docs_v46/types/account_PasswordSettings.md delete mode 100644 old_docs/API_docs_v46/types/account_PrivacyRules.md delete mode 100644 old_docs/API_docs_v46/types/account_SentChangePhoneCode.md create mode 100644 old_docs/API_docs_v46/types/auth.Authorization.md create mode 100644 old_docs/API_docs_v46/types/auth.CheckedPhone.md create mode 100644 old_docs/API_docs_v46/types/auth.ExportedAuthorization.md create mode 100644 old_docs/API_docs_v46/types/auth.PasswordRecovery.md create mode 100644 old_docs/API_docs_v46/types/auth.SentCode.md delete mode 100644 old_docs/API_docs_v46/types/auth_Authorization.md delete mode 100644 old_docs/API_docs_v46/types/auth_CheckedPhone.md delete mode 100644 old_docs/API_docs_v46/types/auth_ExportedAuthorization.md delete mode 100644 old_docs/API_docs_v46/types/auth_PasswordRecovery.md delete mode 100644 old_docs/API_docs_v46/types/auth_SentCode.md create mode 100644 old_docs/API_docs_v46/types/channels.ChannelParticipant.md create mode 100644 old_docs/API_docs_v46/types/channels.ChannelParticipants.md delete mode 100644 old_docs/API_docs_v46/types/channels_ChannelParticipant.md delete mode 100644 old_docs/API_docs_v46/types/channels_ChannelParticipants.md create mode 100644 old_docs/API_docs_v46/types/contacts.Blocked.md create mode 100644 old_docs/API_docs_v46/types/contacts.Contacts.md create mode 100644 old_docs/API_docs_v46/types/contacts.Found.md create mode 100644 old_docs/API_docs_v46/types/contacts.ImportedContacts.md create mode 100644 old_docs/API_docs_v46/types/contacts.Link.md create mode 100644 old_docs/API_docs_v46/types/contacts.ResolvedPeer.md create mode 100644 old_docs/API_docs_v46/types/contacts.Suggested.md delete mode 100644 old_docs/API_docs_v46/types/contacts_Blocked.md delete mode 100644 old_docs/API_docs_v46/types/contacts_Contacts.md delete mode 100644 old_docs/API_docs_v46/types/contacts_Found.md delete mode 100644 old_docs/API_docs_v46/types/contacts_ImportedContacts.md delete mode 100644 old_docs/API_docs_v46/types/contacts_Link.md delete mode 100644 old_docs/API_docs_v46/types/contacts_ResolvedPeer.md delete mode 100644 old_docs/API_docs_v46/types/contacts_Suggested.md create mode 100644 old_docs/API_docs_v46/types/help.AppChangelog.md create mode 100644 old_docs/API_docs_v46/types/help.AppUpdate.md create mode 100644 old_docs/API_docs_v46/types/help.InviteText.md create mode 100644 old_docs/API_docs_v46/types/help.Support.md create mode 100644 old_docs/API_docs_v46/types/help.TermsOfService.md delete mode 100644 old_docs/API_docs_v46/types/help_AppChangelog.md delete mode 100644 old_docs/API_docs_v46/types/help_AppUpdate.md delete mode 100644 old_docs/API_docs_v46/types/help_InviteText.md delete mode 100644 old_docs/API_docs_v46/types/help_Support.md delete mode 100644 old_docs/API_docs_v46/types/help_TermsOfService.md create mode 100644 old_docs/API_docs_v46/types/messages.AffectedHistory.md create mode 100644 old_docs/API_docs_v46/types/messages.AffectedMessages.md create mode 100644 old_docs/API_docs_v46/types/messages.AllStickers.md create mode 100644 old_docs/API_docs_v46/types/messages.BotResults.md create mode 100644 old_docs/API_docs_v46/types/messages.ChatFull.md create mode 100644 old_docs/API_docs_v46/types/messages.Chats.md create mode 100644 old_docs/API_docs_v46/types/messages.DhConfig.md create mode 100644 old_docs/API_docs_v46/types/messages.Dialogs.md create mode 100644 old_docs/API_docs_v46/types/messages.FoundGifs.md create mode 100644 old_docs/API_docs_v46/types/messages.Messages.md create mode 100644 old_docs/API_docs_v46/types/messages.SavedGifs.md create mode 100644 old_docs/API_docs_v46/types/messages.SentEncryptedMessage.md create mode 100644 old_docs/API_docs_v46/types/messages.StickerSet.md create mode 100644 old_docs/API_docs_v46/types/messages.Stickers.md delete mode 100644 old_docs/API_docs_v46/types/messages_AffectedHistory.md delete mode 100644 old_docs/API_docs_v46/types/messages_AffectedMessages.md delete mode 100644 old_docs/API_docs_v46/types/messages_AllStickers.md delete mode 100644 old_docs/API_docs_v46/types/messages_BotResults.md delete mode 100644 old_docs/API_docs_v46/types/messages_ChatFull.md delete mode 100644 old_docs/API_docs_v46/types/messages_Chats.md delete mode 100644 old_docs/API_docs_v46/types/messages_DhConfig.md delete mode 100644 old_docs/API_docs_v46/types/messages_Dialogs.md delete mode 100644 old_docs/API_docs_v46/types/messages_FoundGifs.md delete mode 100644 old_docs/API_docs_v46/types/messages_Messages.md delete mode 100644 old_docs/API_docs_v46/types/messages_SavedGifs.md delete mode 100644 old_docs/API_docs_v46/types/messages_SentEncryptedMessage.md delete mode 100644 old_docs/API_docs_v46/types/messages_StickerSet.md delete mode 100644 old_docs/API_docs_v46/types/messages_Stickers.md create mode 100644 old_docs/API_docs_v46/types/photos.Photo.md create mode 100644 old_docs/API_docs_v46/types/photos.Photos.md delete mode 100644 old_docs/API_docs_v46/types/photos_Photo.md delete mode 100644 old_docs/API_docs_v46/types/photos_Photos.md create mode 100644 old_docs/API_docs_v46/types/storage.FileType.md delete mode 100644 old_docs/API_docs_v46/types/storage_FileType.md create mode 100644 old_docs/API_docs_v46/types/updates.ChannelDifference.md create mode 100644 old_docs/API_docs_v46/types/updates.Difference.md create mode 100644 old_docs/API_docs_v46/types/updates.State.md delete mode 100644 old_docs/API_docs_v46/types/updates_ChannelDifference.md delete mode 100644 old_docs/API_docs_v46/types/updates_Difference.md delete mode 100644 old_docs/API_docs_v46/types/updates_State.md create mode 100644 old_docs/API_docs_v46/types/upload.File.md delete mode 100644 old_docs/API_docs_v46/types/upload_File.md create mode 100644 old_docs/API_docs_v51/constructors/account.authorizations.md create mode 100644 old_docs/API_docs_v51/constructors/account.noPassword.md create mode 100644 old_docs/API_docs_v51/constructors/account.password.md create mode 100644 old_docs/API_docs_v51/constructors/account.passwordInputSettings.md create mode 100644 old_docs/API_docs_v51/constructors/account.passwordSettings.md create mode 100644 old_docs/API_docs_v51/constructors/account.privacyRules.md delete mode 100644 old_docs/API_docs_v51/constructors/account_authorizations.md delete mode 100644 old_docs/API_docs_v51/constructors/account_noPassword.md delete mode 100644 old_docs/API_docs_v51/constructors/account_password.md delete mode 100644 old_docs/API_docs_v51/constructors/account_passwordInputSettings.md delete mode 100644 old_docs/API_docs_v51/constructors/account_passwordSettings.md delete mode 100644 old_docs/API_docs_v51/constructors/account_privacyRules.md create mode 100644 old_docs/API_docs_v51/constructors/auth.authorization.md create mode 100644 old_docs/API_docs_v51/constructors/auth.checkedPhone.md create mode 100644 old_docs/API_docs_v51/constructors/auth.codeTypeCall.md create mode 100644 old_docs/API_docs_v51/constructors/auth.codeTypeFlashCall.md create mode 100644 old_docs/API_docs_v51/constructors/auth.codeTypeSms.md create mode 100644 old_docs/API_docs_v51/constructors/auth.exportedAuthorization.md create mode 100644 old_docs/API_docs_v51/constructors/auth.passwordRecovery.md create mode 100644 old_docs/API_docs_v51/constructors/auth.sentCode.md create mode 100644 old_docs/API_docs_v51/constructors/auth.sentCodeTypeApp.md create mode 100644 old_docs/API_docs_v51/constructors/auth.sentCodeTypeCall.md create mode 100644 old_docs/API_docs_v51/constructors/auth.sentCodeTypeFlashCall.md create mode 100644 old_docs/API_docs_v51/constructors/auth.sentCodeTypeSms.md delete mode 100644 old_docs/API_docs_v51/constructors/auth_authorization.md delete mode 100644 old_docs/API_docs_v51/constructors/auth_checkedPhone.md delete mode 100644 old_docs/API_docs_v51/constructors/auth_codeTypeCall.md delete mode 100644 old_docs/API_docs_v51/constructors/auth_codeTypeFlashCall.md delete mode 100644 old_docs/API_docs_v51/constructors/auth_codeTypeSms.md delete mode 100644 old_docs/API_docs_v51/constructors/auth_exportedAuthorization.md delete mode 100644 old_docs/API_docs_v51/constructors/auth_passwordRecovery.md delete mode 100644 old_docs/API_docs_v51/constructors/auth_sentCode.md delete mode 100644 old_docs/API_docs_v51/constructors/auth_sentCodeTypeApp.md delete mode 100644 old_docs/API_docs_v51/constructors/auth_sentCodeTypeCall.md delete mode 100644 old_docs/API_docs_v51/constructors/auth_sentCodeTypeFlashCall.md delete mode 100644 old_docs/API_docs_v51/constructors/auth_sentCodeTypeSms.md create mode 100644 old_docs/API_docs_v51/constructors/channels.channelParticipant.md create mode 100644 old_docs/API_docs_v51/constructors/channels.channelParticipants.md delete mode 100644 old_docs/API_docs_v51/constructors/channels_channelParticipant.md delete mode 100644 old_docs/API_docs_v51/constructors/channels_channelParticipants.md create mode 100644 old_docs/API_docs_v51/constructors/contacts.blocked.md create mode 100644 old_docs/API_docs_v51/constructors/contacts.blockedSlice.md create mode 100644 old_docs/API_docs_v51/constructors/contacts.contacts.md create mode 100644 old_docs/API_docs_v51/constructors/contacts.contactsNotModified.md create mode 100644 old_docs/API_docs_v51/constructors/contacts.found.md create mode 100644 old_docs/API_docs_v51/constructors/contacts.importedContacts.md create mode 100644 old_docs/API_docs_v51/constructors/contacts.link.md create mode 100644 old_docs/API_docs_v51/constructors/contacts.resolvedPeer.md delete mode 100644 old_docs/API_docs_v51/constructors/contacts_blocked.md delete mode 100644 old_docs/API_docs_v51/constructors/contacts_blockedSlice.md delete mode 100644 old_docs/API_docs_v51/constructors/contacts_contacts.md delete mode 100644 old_docs/API_docs_v51/constructors/contacts_contactsNotModified.md delete mode 100644 old_docs/API_docs_v51/constructors/contacts_found.md delete mode 100644 old_docs/API_docs_v51/constructors/contacts_importedContacts.md delete mode 100644 old_docs/API_docs_v51/constructors/contacts_link.md delete mode 100644 old_docs/API_docs_v51/constructors/contacts_resolvedPeer.md create mode 100644 old_docs/API_docs_v51/constructors/help.appChangelog.md create mode 100644 old_docs/API_docs_v51/constructors/help.appChangelogEmpty.md create mode 100644 old_docs/API_docs_v51/constructors/help.appUpdate.md create mode 100644 old_docs/API_docs_v51/constructors/help.inviteText.md create mode 100644 old_docs/API_docs_v51/constructors/help.noAppUpdate.md create mode 100644 old_docs/API_docs_v51/constructors/help.support.md create mode 100644 old_docs/API_docs_v51/constructors/help.termsOfService.md delete mode 100644 old_docs/API_docs_v51/constructors/help_appChangelog.md delete mode 100644 old_docs/API_docs_v51/constructors/help_appChangelogEmpty.md delete mode 100644 old_docs/API_docs_v51/constructors/help_appUpdate.md delete mode 100644 old_docs/API_docs_v51/constructors/help_inviteText.md delete mode 100644 old_docs/API_docs_v51/constructors/help_noAppUpdate.md delete mode 100644 old_docs/API_docs_v51/constructors/help_support.md delete mode 100644 old_docs/API_docs_v51/constructors/help_termsOfService.md create mode 100644 old_docs/API_docs_v51/constructors/messages.affectedHistory.md create mode 100644 old_docs/API_docs_v51/constructors/messages.affectedMessages.md create mode 100644 old_docs/API_docs_v51/constructors/messages.allStickers.md create mode 100644 old_docs/API_docs_v51/constructors/messages.allStickersNotModified.md create mode 100644 old_docs/API_docs_v51/constructors/messages.botCallbackAnswer.md create mode 100644 old_docs/API_docs_v51/constructors/messages.botResults.md create mode 100644 old_docs/API_docs_v51/constructors/messages.channelMessages.md create mode 100644 old_docs/API_docs_v51/constructors/messages.chatFull.md create mode 100644 old_docs/API_docs_v51/constructors/messages.chats.md create mode 100644 old_docs/API_docs_v51/constructors/messages.dhConfig.md create mode 100644 old_docs/API_docs_v51/constructors/messages.dhConfigNotModified.md create mode 100644 old_docs/API_docs_v51/constructors/messages.dialogs.md create mode 100644 old_docs/API_docs_v51/constructors/messages.dialogsSlice.md create mode 100644 old_docs/API_docs_v51/constructors/messages.foundGifs.md create mode 100644 old_docs/API_docs_v51/constructors/messages.messageEditData.md create mode 100644 old_docs/API_docs_v51/constructors/messages.messages.md create mode 100644 old_docs/API_docs_v51/constructors/messages.messagesSlice.md create mode 100644 old_docs/API_docs_v51/constructors/messages.savedGifs.md create mode 100644 old_docs/API_docs_v51/constructors/messages.savedGifsNotModified.md create mode 100644 old_docs/API_docs_v51/constructors/messages.sentEncryptedFile.md create mode 100644 old_docs/API_docs_v51/constructors/messages.sentEncryptedMessage.md create mode 100644 old_docs/API_docs_v51/constructors/messages.stickerSet.md create mode 100644 old_docs/API_docs_v51/constructors/messages.stickers.md create mode 100644 old_docs/API_docs_v51/constructors/messages.stickersNotModified.md delete mode 100644 old_docs/API_docs_v51/constructors/messages_affectedHistory.md delete mode 100644 old_docs/API_docs_v51/constructors/messages_affectedMessages.md delete mode 100644 old_docs/API_docs_v51/constructors/messages_allStickers.md delete mode 100644 old_docs/API_docs_v51/constructors/messages_allStickersNotModified.md delete mode 100644 old_docs/API_docs_v51/constructors/messages_botCallbackAnswer.md delete mode 100644 old_docs/API_docs_v51/constructors/messages_botResults.md delete mode 100644 old_docs/API_docs_v51/constructors/messages_channelMessages.md delete mode 100644 old_docs/API_docs_v51/constructors/messages_chatFull.md delete mode 100644 old_docs/API_docs_v51/constructors/messages_chats.md delete mode 100644 old_docs/API_docs_v51/constructors/messages_dhConfig.md delete mode 100644 old_docs/API_docs_v51/constructors/messages_dhConfigNotModified.md delete mode 100644 old_docs/API_docs_v51/constructors/messages_dialogs.md delete mode 100644 old_docs/API_docs_v51/constructors/messages_dialogsSlice.md delete mode 100644 old_docs/API_docs_v51/constructors/messages_foundGifs.md delete mode 100644 old_docs/API_docs_v51/constructors/messages_messageEditData.md delete mode 100644 old_docs/API_docs_v51/constructors/messages_messages.md delete mode 100644 old_docs/API_docs_v51/constructors/messages_messagesSlice.md delete mode 100644 old_docs/API_docs_v51/constructors/messages_savedGifs.md delete mode 100644 old_docs/API_docs_v51/constructors/messages_savedGifsNotModified.md delete mode 100644 old_docs/API_docs_v51/constructors/messages_sentEncryptedFile.md delete mode 100644 old_docs/API_docs_v51/constructors/messages_sentEncryptedMessage.md delete mode 100644 old_docs/API_docs_v51/constructors/messages_stickerSet.md delete mode 100644 old_docs/API_docs_v51/constructors/messages_stickers.md delete mode 100644 old_docs/API_docs_v51/constructors/messages_stickersNotModified.md create mode 100644 old_docs/API_docs_v51/constructors/photos.photo.md create mode 100644 old_docs/API_docs_v51/constructors/photos.photos.md create mode 100644 old_docs/API_docs_v51/constructors/photos.photosSlice.md delete mode 100644 old_docs/API_docs_v51/constructors/photos_photo.md delete mode 100644 old_docs/API_docs_v51/constructors/photos_photos.md delete mode 100644 old_docs/API_docs_v51/constructors/photos_photosSlice.md create mode 100644 old_docs/API_docs_v51/constructors/storage.fileGif.md create mode 100644 old_docs/API_docs_v51/constructors/storage.fileJpeg.md create mode 100644 old_docs/API_docs_v51/constructors/storage.fileMov.md create mode 100644 old_docs/API_docs_v51/constructors/storage.fileMp3.md create mode 100644 old_docs/API_docs_v51/constructors/storage.fileMp4.md create mode 100644 old_docs/API_docs_v51/constructors/storage.filePartial.md create mode 100644 old_docs/API_docs_v51/constructors/storage.filePdf.md create mode 100644 old_docs/API_docs_v51/constructors/storage.filePng.md create mode 100644 old_docs/API_docs_v51/constructors/storage.fileUnknown.md create mode 100644 old_docs/API_docs_v51/constructors/storage.fileWebp.md delete mode 100644 old_docs/API_docs_v51/constructors/storage_fileGif.md delete mode 100644 old_docs/API_docs_v51/constructors/storage_fileJpeg.md delete mode 100644 old_docs/API_docs_v51/constructors/storage_fileMov.md delete mode 100644 old_docs/API_docs_v51/constructors/storage_fileMp3.md delete mode 100644 old_docs/API_docs_v51/constructors/storage_fileMp4.md delete mode 100644 old_docs/API_docs_v51/constructors/storage_filePartial.md delete mode 100644 old_docs/API_docs_v51/constructors/storage_filePdf.md delete mode 100644 old_docs/API_docs_v51/constructors/storage_filePng.md delete mode 100644 old_docs/API_docs_v51/constructors/storage_fileUnknown.md delete mode 100644 old_docs/API_docs_v51/constructors/storage_fileWebp.md create mode 100644 old_docs/API_docs_v51/constructors/updates.channelDifference.md create mode 100644 old_docs/API_docs_v51/constructors/updates.channelDifferenceEmpty.md create mode 100644 old_docs/API_docs_v51/constructors/updates.channelDifferenceTooLong.md create mode 100644 old_docs/API_docs_v51/constructors/updates.difference.md create mode 100644 old_docs/API_docs_v51/constructors/updates.differenceEmpty.md create mode 100644 old_docs/API_docs_v51/constructors/updates.differenceSlice.md create mode 100644 old_docs/API_docs_v51/constructors/updates.state.md delete mode 100644 old_docs/API_docs_v51/constructors/updates_channelDifference.md delete mode 100644 old_docs/API_docs_v51/constructors/updates_channelDifferenceEmpty.md delete mode 100644 old_docs/API_docs_v51/constructors/updates_channelDifferenceTooLong.md delete mode 100644 old_docs/API_docs_v51/constructors/updates_difference.md delete mode 100644 old_docs/API_docs_v51/constructors/updates_differenceEmpty.md delete mode 100644 old_docs/API_docs_v51/constructors/updates_differenceSlice.md delete mode 100644 old_docs/API_docs_v51/constructors/updates_state.md create mode 100644 old_docs/API_docs_v51/constructors/upload.file.md delete mode 100644 old_docs/API_docs_v51/constructors/upload_file.md create mode 100644 old_docs/API_docs_v51/types/account.Authorizations.md create mode 100644 old_docs/API_docs_v51/types/account.Password.md create mode 100644 old_docs/API_docs_v51/types/account.PasswordInputSettings.md create mode 100644 old_docs/API_docs_v51/types/account.PasswordSettings.md create mode 100644 old_docs/API_docs_v51/types/account.PrivacyRules.md delete mode 100644 old_docs/API_docs_v51/types/account_Authorizations.md delete mode 100644 old_docs/API_docs_v51/types/account_Password.md delete mode 100644 old_docs/API_docs_v51/types/account_PasswordInputSettings.md delete mode 100644 old_docs/API_docs_v51/types/account_PasswordSettings.md delete mode 100644 old_docs/API_docs_v51/types/account_PrivacyRules.md create mode 100644 old_docs/API_docs_v51/types/auth.Authorization.md create mode 100644 old_docs/API_docs_v51/types/auth.CheckedPhone.md create mode 100644 old_docs/API_docs_v51/types/auth.CodeType.md create mode 100644 old_docs/API_docs_v51/types/auth.ExportedAuthorization.md create mode 100644 old_docs/API_docs_v51/types/auth.PasswordRecovery.md create mode 100644 old_docs/API_docs_v51/types/auth.SentCode.md create mode 100644 old_docs/API_docs_v51/types/auth.SentCodeType.md delete mode 100644 old_docs/API_docs_v51/types/auth_Authorization.md delete mode 100644 old_docs/API_docs_v51/types/auth_CheckedPhone.md delete mode 100644 old_docs/API_docs_v51/types/auth_CodeType.md delete mode 100644 old_docs/API_docs_v51/types/auth_ExportedAuthorization.md delete mode 100644 old_docs/API_docs_v51/types/auth_PasswordRecovery.md delete mode 100644 old_docs/API_docs_v51/types/auth_SentCode.md delete mode 100644 old_docs/API_docs_v51/types/auth_SentCodeType.md create mode 100644 old_docs/API_docs_v51/types/channels.ChannelParticipant.md create mode 100644 old_docs/API_docs_v51/types/channels.ChannelParticipants.md delete mode 100644 old_docs/API_docs_v51/types/channels_ChannelParticipant.md delete mode 100644 old_docs/API_docs_v51/types/channels_ChannelParticipants.md create mode 100644 old_docs/API_docs_v51/types/contacts.Blocked.md create mode 100644 old_docs/API_docs_v51/types/contacts.Contacts.md create mode 100644 old_docs/API_docs_v51/types/contacts.Found.md create mode 100644 old_docs/API_docs_v51/types/contacts.ImportedContacts.md create mode 100644 old_docs/API_docs_v51/types/contacts.Link.md create mode 100644 old_docs/API_docs_v51/types/contacts.ResolvedPeer.md delete mode 100644 old_docs/API_docs_v51/types/contacts_Blocked.md delete mode 100644 old_docs/API_docs_v51/types/contacts_Contacts.md delete mode 100644 old_docs/API_docs_v51/types/contacts_Found.md delete mode 100644 old_docs/API_docs_v51/types/contacts_ImportedContacts.md delete mode 100644 old_docs/API_docs_v51/types/contacts_Link.md delete mode 100644 old_docs/API_docs_v51/types/contacts_ResolvedPeer.md create mode 100644 old_docs/API_docs_v51/types/help.AppChangelog.md create mode 100644 old_docs/API_docs_v51/types/help.AppUpdate.md create mode 100644 old_docs/API_docs_v51/types/help.InviteText.md create mode 100644 old_docs/API_docs_v51/types/help.Support.md create mode 100644 old_docs/API_docs_v51/types/help.TermsOfService.md delete mode 100644 old_docs/API_docs_v51/types/help_AppChangelog.md delete mode 100644 old_docs/API_docs_v51/types/help_AppUpdate.md delete mode 100644 old_docs/API_docs_v51/types/help_InviteText.md delete mode 100644 old_docs/API_docs_v51/types/help_Support.md delete mode 100644 old_docs/API_docs_v51/types/help_TermsOfService.md create mode 100644 old_docs/API_docs_v51/types/messages.AffectedHistory.md create mode 100644 old_docs/API_docs_v51/types/messages.AffectedMessages.md create mode 100644 old_docs/API_docs_v51/types/messages.AllStickers.md create mode 100644 old_docs/API_docs_v51/types/messages.BotCallbackAnswer.md create mode 100644 old_docs/API_docs_v51/types/messages.BotResults.md create mode 100644 old_docs/API_docs_v51/types/messages.ChatFull.md create mode 100644 old_docs/API_docs_v51/types/messages.Chats.md create mode 100644 old_docs/API_docs_v51/types/messages.DhConfig.md create mode 100644 old_docs/API_docs_v51/types/messages.Dialogs.md create mode 100644 old_docs/API_docs_v51/types/messages.FoundGifs.md create mode 100644 old_docs/API_docs_v51/types/messages.MessageEditData.md create mode 100644 old_docs/API_docs_v51/types/messages.Messages.md create mode 100644 old_docs/API_docs_v51/types/messages.SavedGifs.md create mode 100644 old_docs/API_docs_v51/types/messages.SentEncryptedMessage.md create mode 100644 old_docs/API_docs_v51/types/messages.StickerSet.md create mode 100644 old_docs/API_docs_v51/types/messages.Stickers.md delete mode 100644 old_docs/API_docs_v51/types/messages_AffectedHistory.md delete mode 100644 old_docs/API_docs_v51/types/messages_AffectedMessages.md delete mode 100644 old_docs/API_docs_v51/types/messages_AllStickers.md delete mode 100644 old_docs/API_docs_v51/types/messages_BotCallbackAnswer.md delete mode 100644 old_docs/API_docs_v51/types/messages_BotResults.md delete mode 100644 old_docs/API_docs_v51/types/messages_ChatFull.md delete mode 100644 old_docs/API_docs_v51/types/messages_Chats.md delete mode 100644 old_docs/API_docs_v51/types/messages_DhConfig.md delete mode 100644 old_docs/API_docs_v51/types/messages_Dialogs.md delete mode 100644 old_docs/API_docs_v51/types/messages_FoundGifs.md delete mode 100644 old_docs/API_docs_v51/types/messages_MessageEditData.md delete mode 100644 old_docs/API_docs_v51/types/messages_Messages.md delete mode 100644 old_docs/API_docs_v51/types/messages_SavedGifs.md delete mode 100644 old_docs/API_docs_v51/types/messages_SentEncryptedMessage.md delete mode 100644 old_docs/API_docs_v51/types/messages_StickerSet.md delete mode 100644 old_docs/API_docs_v51/types/messages_Stickers.md create mode 100644 old_docs/API_docs_v51/types/photos.Photo.md create mode 100644 old_docs/API_docs_v51/types/photos.Photos.md delete mode 100644 old_docs/API_docs_v51/types/photos_Photo.md delete mode 100644 old_docs/API_docs_v51/types/photos_Photos.md create mode 100644 old_docs/API_docs_v51/types/storage.FileType.md delete mode 100644 old_docs/API_docs_v51/types/storage_FileType.md create mode 100644 old_docs/API_docs_v51/types/updates.ChannelDifference.md create mode 100644 old_docs/API_docs_v51/types/updates.Difference.md create mode 100644 old_docs/API_docs_v51/types/updates.State.md delete mode 100644 old_docs/API_docs_v51/types/updates_ChannelDifference.md delete mode 100644 old_docs/API_docs_v51/types/updates_Difference.md delete mode 100644 old_docs/API_docs_v51/types/updates_State.md create mode 100644 old_docs/API_docs_v51/types/upload.File.md delete mode 100644 old_docs/API_docs_v51/types/upload_File.md create mode 100644 old_docs/API_docs_v53/constructors/account.authorizations.md create mode 100644 old_docs/API_docs_v53/constructors/account.noPassword.md create mode 100644 old_docs/API_docs_v53/constructors/account.password.md create mode 100644 old_docs/API_docs_v53/constructors/account.passwordInputSettings.md create mode 100644 old_docs/API_docs_v53/constructors/account.passwordSettings.md create mode 100644 old_docs/API_docs_v53/constructors/account.privacyRules.md delete mode 100644 old_docs/API_docs_v53/constructors/account_authorizations.md delete mode 100644 old_docs/API_docs_v53/constructors/account_noPassword.md delete mode 100644 old_docs/API_docs_v53/constructors/account_password.md delete mode 100644 old_docs/API_docs_v53/constructors/account_passwordInputSettings.md delete mode 100644 old_docs/API_docs_v53/constructors/account_passwordSettings.md delete mode 100644 old_docs/API_docs_v53/constructors/account_privacyRules.md create mode 100644 old_docs/API_docs_v53/constructors/auth.authorization.md create mode 100644 old_docs/API_docs_v53/constructors/auth.checkedPhone.md create mode 100644 old_docs/API_docs_v53/constructors/auth.codeTypeCall.md create mode 100644 old_docs/API_docs_v53/constructors/auth.codeTypeFlashCall.md create mode 100644 old_docs/API_docs_v53/constructors/auth.codeTypeSms.md create mode 100644 old_docs/API_docs_v53/constructors/auth.exportedAuthorization.md create mode 100644 old_docs/API_docs_v53/constructors/auth.passwordRecovery.md create mode 100644 old_docs/API_docs_v53/constructors/auth.sentCode.md create mode 100644 old_docs/API_docs_v53/constructors/auth.sentCodeTypeApp.md create mode 100644 old_docs/API_docs_v53/constructors/auth.sentCodeTypeCall.md create mode 100644 old_docs/API_docs_v53/constructors/auth.sentCodeTypeFlashCall.md create mode 100644 old_docs/API_docs_v53/constructors/auth.sentCodeTypeSms.md delete mode 100644 old_docs/API_docs_v53/constructors/auth_authorization.md delete mode 100644 old_docs/API_docs_v53/constructors/auth_checkedPhone.md delete mode 100644 old_docs/API_docs_v53/constructors/auth_codeTypeCall.md delete mode 100644 old_docs/API_docs_v53/constructors/auth_codeTypeFlashCall.md delete mode 100644 old_docs/API_docs_v53/constructors/auth_codeTypeSms.md delete mode 100644 old_docs/API_docs_v53/constructors/auth_exportedAuthorization.md delete mode 100644 old_docs/API_docs_v53/constructors/auth_passwordRecovery.md delete mode 100644 old_docs/API_docs_v53/constructors/auth_sentCode.md delete mode 100644 old_docs/API_docs_v53/constructors/auth_sentCodeTypeApp.md delete mode 100644 old_docs/API_docs_v53/constructors/auth_sentCodeTypeCall.md delete mode 100644 old_docs/API_docs_v53/constructors/auth_sentCodeTypeFlashCall.md delete mode 100644 old_docs/API_docs_v53/constructors/auth_sentCodeTypeSms.md create mode 100644 old_docs/API_docs_v53/constructors/channels.channelParticipant.md create mode 100644 old_docs/API_docs_v53/constructors/channels.channelParticipants.md delete mode 100644 old_docs/API_docs_v53/constructors/channels_channelParticipant.md delete mode 100644 old_docs/API_docs_v53/constructors/channels_channelParticipants.md create mode 100644 old_docs/API_docs_v53/constructors/contacts.blocked.md create mode 100644 old_docs/API_docs_v53/constructors/contacts.blockedSlice.md create mode 100644 old_docs/API_docs_v53/constructors/contacts.contacts.md create mode 100644 old_docs/API_docs_v53/constructors/contacts.contactsNotModified.md create mode 100644 old_docs/API_docs_v53/constructors/contacts.found.md create mode 100644 old_docs/API_docs_v53/constructors/contacts.importedContacts.md create mode 100644 old_docs/API_docs_v53/constructors/contacts.link.md create mode 100644 old_docs/API_docs_v53/constructors/contacts.resolvedPeer.md create mode 100644 old_docs/API_docs_v53/constructors/contacts.topPeers.md create mode 100644 old_docs/API_docs_v53/constructors/contacts.topPeersNotModified.md delete mode 100644 old_docs/API_docs_v53/constructors/contacts_blocked.md delete mode 100644 old_docs/API_docs_v53/constructors/contacts_blockedSlice.md delete mode 100644 old_docs/API_docs_v53/constructors/contacts_contacts.md delete mode 100644 old_docs/API_docs_v53/constructors/contacts_contactsNotModified.md delete mode 100644 old_docs/API_docs_v53/constructors/contacts_found.md delete mode 100644 old_docs/API_docs_v53/constructors/contacts_importedContacts.md delete mode 100644 old_docs/API_docs_v53/constructors/contacts_link.md delete mode 100644 old_docs/API_docs_v53/constructors/contacts_resolvedPeer.md delete mode 100644 old_docs/API_docs_v53/constructors/contacts_topPeers.md delete mode 100644 old_docs/API_docs_v53/constructors/contacts_topPeersNotModified.md create mode 100644 old_docs/API_docs_v53/constructors/help.appChangelog.md create mode 100644 old_docs/API_docs_v53/constructors/help.appChangelogEmpty.md create mode 100644 old_docs/API_docs_v53/constructors/help.appUpdate.md create mode 100644 old_docs/API_docs_v53/constructors/help.inviteText.md create mode 100644 old_docs/API_docs_v53/constructors/help.noAppUpdate.md create mode 100644 old_docs/API_docs_v53/constructors/help.support.md create mode 100644 old_docs/API_docs_v53/constructors/help.termsOfService.md delete mode 100644 old_docs/API_docs_v53/constructors/help_appChangelog.md delete mode 100644 old_docs/API_docs_v53/constructors/help_appChangelogEmpty.md delete mode 100644 old_docs/API_docs_v53/constructors/help_appUpdate.md delete mode 100644 old_docs/API_docs_v53/constructors/help_inviteText.md delete mode 100644 old_docs/API_docs_v53/constructors/help_noAppUpdate.md delete mode 100644 old_docs/API_docs_v53/constructors/help_support.md delete mode 100644 old_docs/API_docs_v53/constructors/help_termsOfService.md create mode 100644 old_docs/API_docs_v53/constructors/messages.affectedHistory.md create mode 100644 old_docs/API_docs_v53/constructors/messages.affectedMessages.md create mode 100644 old_docs/API_docs_v53/constructors/messages.allStickers.md create mode 100644 old_docs/API_docs_v53/constructors/messages.allStickersNotModified.md create mode 100644 old_docs/API_docs_v53/constructors/messages.botCallbackAnswer.md create mode 100644 old_docs/API_docs_v53/constructors/messages.botResults.md create mode 100644 old_docs/API_docs_v53/constructors/messages.channelMessages.md create mode 100644 old_docs/API_docs_v53/constructors/messages.chatFull.md create mode 100644 old_docs/API_docs_v53/constructors/messages.chats.md create mode 100644 old_docs/API_docs_v53/constructors/messages.dhConfig.md create mode 100644 old_docs/API_docs_v53/constructors/messages.dhConfigNotModified.md create mode 100644 old_docs/API_docs_v53/constructors/messages.dialogs.md create mode 100644 old_docs/API_docs_v53/constructors/messages.dialogsSlice.md create mode 100644 old_docs/API_docs_v53/constructors/messages.foundGifs.md create mode 100644 old_docs/API_docs_v53/constructors/messages.messageEditData.md create mode 100644 old_docs/API_docs_v53/constructors/messages.messages.md create mode 100644 old_docs/API_docs_v53/constructors/messages.messagesSlice.md create mode 100644 old_docs/API_docs_v53/constructors/messages.peerDialogs.md create mode 100644 old_docs/API_docs_v53/constructors/messages.savedGifs.md create mode 100644 old_docs/API_docs_v53/constructors/messages.savedGifsNotModified.md create mode 100644 old_docs/API_docs_v53/constructors/messages.sentEncryptedFile.md create mode 100644 old_docs/API_docs_v53/constructors/messages.sentEncryptedMessage.md create mode 100644 old_docs/API_docs_v53/constructors/messages.stickerSet.md create mode 100644 old_docs/API_docs_v53/constructors/messages.stickers.md create mode 100644 old_docs/API_docs_v53/constructors/messages.stickersNotModified.md delete mode 100644 old_docs/API_docs_v53/constructors/messages_affectedHistory.md delete mode 100644 old_docs/API_docs_v53/constructors/messages_affectedMessages.md delete mode 100644 old_docs/API_docs_v53/constructors/messages_allStickers.md delete mode 100644 old_docs/API_docs_v53/constructors/messages_allStickersNotModified.md delete mode 100644 old_docs/API_docs_v53/constructors/messages_botCallbackAnswer.md delete mode 100644 old_docs/API_docs_v53/constructors/messages_botResults.md delete mode 100644 old_docs/API_docs_v53/constructors/messages_channelMessages.md delete mode 100644 old_docs/API_docs_v53/constructors/messages_chatFull.md delete mode 100644 old_docs/API_docs_v53/constructors/messages_chats.md delete mode 100644 old_docs/API_docs_v53/constructors/messages_dhConfig.md delete mode 100644 old_docs/API_docs_v53/constructors/messages_dhConfigNotModified.md delete mode 100644 old_docs/API_docs_v53/constructors/messages_dialogs.md delete mode 100644 old_docs/API_docs_v53/constructors/messages_dialogsSlice.md delete mode 100644 old_docs/API_docs_v53/constructors/messages_foundGifs.md delete mode 100644 old_docs/API_docs_v53/constructors/messages_messageEditData.md delete mode 100644 old_docs/API_docs_v53/constructors/messages_messages.md delete mode 100644 old_docs/API_docs_v53/constructors/messages_messagesSlice.md delete mode 100644 old_docs/API_docs_v53/constructors/messages_peerDialogs.md delete mode 100644 old_docs/API_docs_v53/constructors/messages_savedGifs.md delete mode 100644 old_docs/API_docs_v53/constructors/messages_savedGifsNotModified.md delete mode 100644 old_docs/API_docs_v53/constructors/messages_sentEncryptedFile.md delete mode 100644 old_docs/API_docs_v53/constructors/messages_sentEncryptedMessage.md delete mode 100644 old_docs/API_docs_v53/constructors/messages_stickerSet.md delete mode 100644 old_docs/API_docs_v53/constructors/messages_stickers.md delete mode 100644 old_docs/API_docs_v53/constructors/messages_stickersNotModified.md create mode 100644 old_docs/API_docs_v53/constructors/photos.photo.md create mode 100644 old_docs/API_docs_v53/constructors/photos.photos.md create mode 100644 old_docs/API_docs_v53/constructors/photos.photosSlice.md delete mode 100644 old_docs/API_docs_v53/constructors/photos_photo.md delete mode 100644 old_docs/API_docs_v53/constructors/photos_photos.md delete mode 100644 old_docs/API_docs_v53/constructors/photos_photosSlice.md create mode 100644 old_docs/API_docs_v53/constructors/storage.fileGif.md create mode 100644 old_docs/API_docs_v53/constructors/storage.fileJpeg.md create mode 100644 old_docs/API_docs_v53/constructors/storage.fileMov.md create mode 100644 old_docs/API_docs_v53/constructors/storage.fileMp3.md create mode 100644 old_docs/API_docs_v53/constructors/storage.fileMp4.md create mode 100644 old_docs/API_docs_v53/constructors/storage.filePartial.md create mode 100644 old_docs/API_docs_v53/constructors/storage.filePdf.md create mode 100644 old_docs/API_docs_v53/constructors/storage.filePng.md create mode 100644 old_docs/API_docs_v53/constructors/storage.fileUnknown.md create mode 100644 old_docs/API_docs_v53/constructors/storage.fileWebp.md delete mode 100644 old_docs/API_docs_v53/constructors/storage_fileGif.md delete mode 100644 old_docs/API_docs_v53/constructors/storage_fileJpeg.md delete mode 100644 old_docs/API_docs_v53/constructors/storage_fileMov.md delete mode 100644 old_docs/API_docs_v53/constructors/storage_fileMp3.md delete mode 100644 old_docs/API_docs_v53/constructors/storage_fileMp4.md delete mode 100644 old_docs/API_docs_v53/constructors/storage_filePartial.md delete mode 100644 old_docs/API_docs_v53/constructors/storage_filePdf.md delete mode 100644 old_docs/API_docs_v53/constructors/storage_filePng.md delete mode 100644 old_docs/API_docs_v53/constructors/storage_fileUnknown.md delete mode 100644 old_docs/API_docs_v53/constructors/storage_fileWebp.md create mode 100644 old_docs/API_docs_v53/constructors/updates.channelDifference.md create mode 100644 old_docs/API_docs_v53/constructors/updates.channelDifferenceEmpty.md create mode 100644 old_docs/API_docs_v53/constructors/updates.channelDifferenceTooLong.md create mode 100644 old_docs/API_docs_v53/constructors/updates.difference.md create mode 100644 old_docs/API_docs_v53/constructors/updates.differenceEmpty.md create mode 100644 old_docs/API_docs_v53/constructors/updates.differenceSlice.md create mode 100644 old_docs/API_docs_v53/constructors/updates.state.md delete mode 100644 old_docs/API_docs_v53/constructors/updates_channelDifference.md delete mode 100644 old_docs/API_docs_v53/constructors/updates_channelDifferenceEmpty.md delete mode 100644 old_docs/API_docs_v53/constructors/updates_channelDifferenceTooLong.md delete mode 100644 old_docs/API_docs_v53/constructors/updates_difference.md delete mode 100644 old_docs/API_docs_v53/constructors/updates_differenceEmpty.md delete mode 100644 old_docs/API_docs_v53/constructors/updates_differenceSlice.md delete mode 100644 old_docs/API_docs_v53/constructors/updates_state.md create mode 100644 old_docs/API_docs_v53/constructors/upload.file.md delete mode 100644 old_docs/API_docs_v53/constructors/upload_file.md create mode 100644 old_docs/API_docs_v53/types/account.Authorizations.md create mode 100644 old_docs/API_docs_v53/types/account.Password.md create mode 100644 old_docs/API_docs_v53/types/account.PasswordInputSettings.md create mode 100644 old_docs/API_docs_v53/types/account.PasswordSettings.md create mode 100644 old_docs/API_docs_v53/types/account.PrivacyRules.md delete mode 100644 old_docs/API_docs_v53/types/account_Authorizations.md delete mode 100644 old_docs/API_docs_v53/types/account_Password.md delete mode 100644 old_docs/API_docs_v53/types/account_PasswordInputSettings.md delete mode 100644 old_docs/API_docs_v53/types/account_PasswordSettings.md delete mode 100644 old_docs/API_docs_v53/types/account_PrivacyRules.md create mode 100644 old_docs/API_docs_v53/types/auth.Authorization.md create mode 100644 old_docs/API_docs_v53/types/auth.CheckedPhone.md create mode 100644 old_docs/API_docs_v53/types/auth.CodeType.md create mode 100644 old_docs/API_docs_v53/types/auth.ExportedAuthorization.md create mode 100644 old_docs/API_docs_v53/types/auth.PasswordRecovery.md create mode 100644 old_docs/API_docs_v53/types/auth.SentCode.md create mode 100644 old_docs/API_docs_v53/types/auth.SentCodeType.md delete mode 100644 old_docs/API_docs_v53/types/auth_Authorization.md delete mode 100644 old_docs/API_docs_v53/types/auth_CheckedPhone.md delete mode 100644 old_docs/API_docs_v53/types/auth_CodeType.md delete mode 100644 old_docs/API_docs_v53/types/auth_ExportedAuthorization.md delete mode 100644 old_docs/API_docs_v53/types/auth_PasswordRecovery.md delete mode 100644 old_docs/API_docs_v53/types/auth_SentCode.md delete mode 100644 old_docs/API_docs_v53/types/auth_SentCodeType.md create mode 100644 old_docs/API_docs_v53/types/channels.ChannelParticipant.md create mode 100644 old_docs/API_docs_v53/types/channels.ChannelParticipants.md delete mode 100644 old_docs/API_docs_v53/types/channels_ChannelParticipant.md delete mode 100644 old_docs/API_docs_v53/types/channels_ChannelParticipants.md create mode 100644 old_docs/API_docs_v53/types/contacts.Blocked.md create mode 100644 old_docs/API_docs_v53/types/contacts.Contacts.md create mode 100644 old_docs/API_docs_v53/types/contacts.Found.md create mode 100644 old_docs/API_docs_v53/types/contacts.ImportedContacts.md create mode 100644 old_docs/API_docs_v53/types/contacts.Link.md create mode 100644 old_docs/API_docs_v53/types/contacts.ResolvedPeer.md create mode 100644 old_docs/API_docs_v53/types/contacts.TopPeers.md delete mode 100644 old_docs/API_docs_v53/types/contacts_Blocked.md delete mode 100644 old_docs/API_docs_v53/types/contacts_Contacts.md delete mode 100644 old_docs/API_docs_v53/types/contacts_Found.md delete mode 100644 old_docs/API_docs_v53/types/contacts_ImportedContacts.md delete mode 100644 old_docs/API_docs_v53/types/contacts_Link.md delete mode 100644 old_docs/API_docs_v53/types/contacts_ResolvedPeer.md delete mode 100644 old_docs/API_docs_v53/types/contacts_TopPeers.md create mode 100644 old_docs/API_docs_v53/types/help.AppChangelog.md create mode 100644 old_docs/API_docs_v53/types/help.AppUpdate.md create mode 100644 old_docs/API_docs_v53/types/help.InviteText.md create mode 100644 old_docs/API_docs_v53/types/help.Support.md create mode 100644 old_docs/API_docs_v53/types/help.TermsOfService.md delete mode 100644 old_docs/API_docs_v53/types/help_AppChangelog.md delete mode 100644 old_docs/API_docs_v53/types/help_AppUpdate.md delete mode 100644 old_docs/API_docs_v53/types/help_InviteText.md delete mode 100644 old_docs/API_docs_v53/types/help_Support.md delete mode 100644 old_docs/API_docs_v53/types/help_TermsOfService.md create mode 100644 old_docs/API_docs_v53/types/messages.AffectedHistory.md create mode 100644 old_docs/API_docs_v53/types/messages.AffectedMessages.md create mode 100644 old_docs/API_docs_v53/types/messages.AllStickers.md create mode 100644 old_docs/API_docs_v53/types/messages.BotCallbackAnswer.md create mode 100644 old_docs/API_docs_v53/types/messages.BotResults.md create mode 100644 old_docs/API_docs_v53/types/messages.ChatFull.md create mode 100644 old_docs/API_docs_v53/types/messages.Chats.md create mode 100644 old_docs/API_docs_v53/types/messages.DhConfig.md create mode 100644 old_docs/API_docs_v53/types/messages.Dialogs.md create mode 100644 old_docs/API_docs_v53/types/messages.FoundGifs.md create mode 100644 old_docs/API_docs_v53/types/messages.MessageEditData.md create mode 100644 old_docs/API_docs_v53/types/messages.Messages.md create mode 100644 old_docs/API_docs_v53/types/messages.PeerDialogs.md create mode 100644 old_docs/API_docs_v53/types/messages.SavedGifs.md create mode 100644 old_docs/API_docs_v53/types/messages.SentEncryptedMessage.md create mode 100644 old_docs/API_docs_v53/types/messages.StickerSet.md create mode 100644 old_docs/API_docs_v53/types/messages.Stickers.md delete mode 100644 old_docs/API_docs_v53/types/messages_AffectedHistory.md delete mode 100644 old_docs/API_docs_v53/types/messages_AffectedMessages.md delete mode 100644 old_docs/API_docs_v53/types/messages_AllStickers.md delete mode 100644 old_docs/API_docs_v53/types/messages_BotCallbackAnswer.md delete mode 100644 old_docs/API_docs_v53/types/messages_BotResults.md delete mode 100644 old_docs/API_docs_v53/types/messages_ChatFull.md delete mode 100644 old_docs/API_docs_v53/types/messages_Chats.md delete mode 100644 old_docs/API_docs_v53/types/messages_DhConfig.md delete mode 100644 old_docs/API_docs_v53/types/messages_Dialogs.md delete mode 100644 old_docs/API_docs_v53/types/messages_FoundGifs.md delete mode 100644 old_docs/API_docs_v53/types/messages_MessageEditData.md delete mode 100644 old_docs/API_docs_v53/types/messages_Messages.md delete mode 100644 old_docs/API_docs_v53/types/messages_PeerDialogs.md delete mode 100644 old_docs/API_docs_v53/types/messages_SavedGifs.md delete mode 100644 old_docs/API_docs_v53/types/messages_SentEncryptedMessage.md delete mode 100644 old_docs/API_docs_v53/types/messages_StickerSet.md delete mode 100644 old_docs/API_docs_v53/types/messages_Stickers.md create mode 100644 old_docs/API_docs_v53/types/photos.Photo.md create mode 100644 old_docs/API_docs_v53/types/photos.Photos.md delete mode 100644 old_docs/API_docs_v53/types/photos_Photo.md delete mode 100644 old_docs/API_docs_v53/types/photos_Photos.md create mode 100644 old_docs/API_docs_v53/types/storage.FileType.md delete mode 100644 old_docs/API_docs_v53/types/storage_FileType.md create mode 100644 old_docs/API_docs_v53/types/updates.ChannelDifference.md create mode 100644 old_docs/API_docs_v53/types/updates.Difference.md create mode 100644 old_docs/API_docs_v53/types/updates.State.md delete mode 100644 old_docs/API_docs_v53/types/updates_ChannelDifference.md delete mode 100644 old_docs/API_docs_v53/types/updates_Difference.md delete mode 100644 old_docs/API_docs_v53/types/updates_State.md create mode 100644 old_docs/API_docs_v53/types/upload.File.md delete mode 100644 old_docs/API_docs_v53/types/upload_File.md create mode 100644 old_docs/API_docs_v55/constructors/account.authorizations.md create mode 100644 old_docs/API_docs_v55/constructors/account.noPassword.md create mode 100644 old_docs/API_docs_v55/constructors/account.password.md create mode 100644 old_docs/API_docs_v55/constructors/account.passwordInputSettings.md create mode 100644 old_docs/API_docs_v55/constructors/account.passwordSettings.md create mode 100644 old_docs/API_docs_v55/constructors/account.privacyRules.md delete mode 100644 old_docs/API_docs_v55/constructors/account_authorizations.md delete mode 100644 old_docs/API_docs_v55/constructors/account_noPassword.md delete mode 100644 old_docs/API_docs_v55/constructors/account_password.md delete mode 100644 old_docs/API_docs_v55/constructors/account_passwordInputSettings.md delete mode 100644 old_docs/API_docs_v55/constructors/account_passwordSettings.md delete mode 100644 old_docs/API_docs_v55/constructors/account_privacyRules.md create mode 100644 old_docs/API_docs_v55/constructors/auth.authorization.md create mode 100644 old_docs/API_docs_v55/constructors/auth.checkedPhone.md create mode 100644 old_docs/API_docs_v55/constructors/auth.codeTypeCall.md create mode 100644 old_docs/API_docs_v55/constructors/auth.codeTypeFlashCall.md create mode 100644 old_docs/API_docs_v55/constructors/auth.codeTypeSms.md create mode 100644 old_docs/API_docs_v55/constructors/auth.exportedAuthorization.md create mode 100644 old_docs/API_docs_v55/constructors/auth.passwordRecovery.md create mode 100644 old_docs/API_docs_v55/constructors/auth.sentCode.md create mode 100644 old_docs/API_docs_v55/constructors/auth.sentCodeTypeApp.md create mode 100644 old_docs/API_docs_v55/constructors/auth.sentCodeTypeCall.md create mode 100644 old_docs/API_docs_v55/constructors/auth.sentCodeTypeFlashCall.md create mode 100644 old_docs/API_docs_v55/constructors/auth.sentCodeTypeSms.md delete mode 100644 old_docs/API_docs_v55/constructors/auth_authorization.md delete mode 100644 old_docs/API_docs_v55/constructors/auth_checkedPhone.md delete mode 100644 old_docs/API_docs_v55/constructors/auth_codeTypeCall.md delete mode 100644 old_docs/API_docs_v55/constructors/auth_codeTypeFlashCall.md delete mode 100644 old_docs/API_docs_v55/constructors/auth_codeTypeSms.md delete mode 100644 old_docs/API_docs_v55/constructors/auth_exportedAuthorization.md delete mode 100644 old_docs/API_docs_v55/constructors/auth_passwordRecovery.md delete mode 100644 old_docs/API_docs_v55/constructors/auth_sentCode.md delete mode 100644 old_docs/API_docs_v55/constructors/auth_sentCodeTypeApp.md delete mode 100644 old_docs/API_docs_v55/constructors/auth_sentCodeTypeCall.md delete mode 100644 old_docs/API_docs_v55/constructors/auth_sentCodeTypeFlashCall.md delete mode 100644 old_docs/API_docs_v55/constructors/auth_sentCodeTypeSms.md create mode 100644 old_docs/API_docs_v55/constructors/channels.channelParticipant.md create mode 100644 old_docs/API_docs_v55/constructors/channels.channelParticipants.md delete mode 100644 old_docs/API_docs_v55/constructors/channels_channelParticipant.md delete mode 100644 old_docs/API_docs_v55/constructors/channels_channelParticipants.md create mode 100644 old_docs/API_docs_v55/constructors/contacts.blocked.md create mode 100644 old_docs/API_docs_v55/constructors/contacts.blockedSlice.md create mode 100644 old_docs/API_docs_v55/constructors/contacts.contacts.md create mode 100644 old_docs/API_docs_v55/constructors/contacts.contactsNotModified.md create mode 100644 old_docs/API_docs_v55/constructors/contacts.found.md create mode 100644 old_docs/API_docs_v55/constructors/contacts.importedContacts.md create mode 100644 old_docs/API_docs_v55/constructors/contacts.link.md create mode 100644 old_docs/API_docs_v55/constructors/contacts.resolvedPeer.md create mode 100644 old_docs/API_docs_v55/constructors/contacts.topPeers.md create mode 100644 old_docs/API_docs_v55/constructors/contacts.topPeersNotModified.md delete mode 100644 old_docs/API_docs_v55/constructors/contacts_blocked.md delete mode 100644 old_docs/API_docs_v55/constructors/contacts_blockedSlice.md delete mode 100644 old_docs/API_docs_v55/constructors/contacts_contacts.md delete mode 100644 old_docs/API_docs_v55/constructors/contacts_contactsNotModified.md delete mode 100644 old_docs/API_docs_v55/constructors/contacts_found.md delete mode 100644 old_docs/API_docs_v55/constructors/contacts_importedContacts.md delete mode 100644 old_docs/API_docs_v55/constructors/contacts_link.md delete mode 100644 old_docs/API_docs_v55/constructors/contacts_resolvedPeer.md delete mode 100644 old_docs/API_docs_v55/constructors/contacts_topPeers.md delete mode 100644 old_docs/API_docs_v55/constructors/contacts_topPeersNotModified.md create mode 100644 old_docs/API_docs_v55/constructors/help.appChangelog.md create mode 100644 old_docs/API_docs_v55/constructors/help.appChangelogEmpty.md create mode 100644 old_docs/API_docs_v55/constructors/help.appUpdate.md create mode 100644 old_docs/API_docs_v55/constructors/help.inviteText.md create mode 100644 old_docs/API_docs_v55/constructors/help.noAppUpdate.md create mode 100644 old_docs/API_docs_v55/constructors/help.support.md create mode 100644 old_docs/API_docs_v55/constructors/help.termsOfService.md delete mode 100644 old_docs/API_docs_v55/constructors/help_appChangelog.md delete mode 100644 old_docs/API_docs_v55/constructors/help_appChangelogEmpty.md delete mode 100644 old_docs/API_docs_v55/constructors/help_appUpdate.md delete mode 100644 old_docs/API_docs_v55/constructors/help_inviteText.md delete mode 100644 old_docs/API_docs_v55/constructors/help_noAppUpdate.md delete mode 100644 old_docs/API_docs_v55/constructors/help_support.md delete mode 100644 old_docs/API_docs_v55/constructors/help_termsOfService.md create mode 100644 old_docs/API_docs_v55/constructors/messages.affectedHistory.md create mode 100644 old_docs/API_docs_v55/constructors/messages.affectedMessages.md create mode 100644 old_docs/API_docs_v55/constructors/messages.allStickers.md create mode 100644 old_docs/API_docs_v55/constructors/messages.allStickersNotModified.md create mode 100644 old_docs/API_docs_v55/constructors/messages.archivedStickers.md create mode 100644 old_docs/API_docs_v55/constructors/messages.botCallbackAnswer.md create mode 100644 old_docs/API_docs_v55/constructors/messages.botResults.md create mode 100644 old_docs/API_docs_v55/constructors/messages.channelMessages.md create mode 100644 old_docs/API_docs_v55/constructors/messages.chatFull.md create mode 100644 old_docs/API_docs_v55/constructors/messages.chats.md create mode 100644 old_docs/API_docs_v55/constructors/messages.dhConfig.md create mode 100644 old_docs/API_docs_v55/constructors/messages.dhConfigNotModified.md create mode 100644 old_docs/API_docs_v55/constructors/messages.dialogs.md create mode 100644 old_docs/API_docs_v55/constructors/messages.dialogsSlice.md create mode 100644 old_docs/API_docs_v55/constructors/messages.featuredStickers.md create mode 100644 old_docs/API_docs_v55/constructors/messages.featuredStickersNotModified.md create mode 100644 old_docs/API_docs_v55/constructors/messages.foundGifs.md create mode 100644 old_docs/API_docs_v55/constructors/messages.messageEditData.md create mode 100644 old_docs/API_docs_v55/constructors/messages.messages.md create mode 100644 old_docs/API_docs_v55/constructors/messages.messagesSlice.md create mode 100644 old_docs/API_docs_v55/constructors/messages.peerDialogs.md create mode 100644 old_docs/API_docs_v55/constructors/messages.recentStickers.md create mode 100644 old_docs/API_docs_v55/constructors/messages.recentStickersNotModified.md create mode 100644 old_docs/API_docs_v55/constructors/messages.savedGifs.md create mode 100644 old_docs/API_docs_v55/constructors/messages.savedGifsNotModified.md create mode 100644 old_docs/API_docs_v55/constructors/messages.sentEncryptedFile.md create mode 100644 old_docs/API_docs_v55/constructors/messages.sentEncryptedMessage.md create mode 100644 old_docs/API_docs_v55/constructors/messages.stickerSet.md create mode 100644 old_docs/API_docs_v55/constructors/messages.stickerSetInstallResultArchive.md create mode 100644 old_docs/API_docs_v55/constructors/messages.stickerSetInstallResultSuccess.md create mode 100644 old_docs/API_docs_v55/constructors/messages.stickers.md create mode 100644 old_docs/API_docs_v55/constructors/messages.stickersNotModified.md delete mode 100644 old_docs/API_docs_v55/constructors/messages_affectedHistory.md delete mode 100644 old_docs/API_docs_v55/constructors/messages_affectedMessages.md delete mode 100644 old_docs/API_docs_v55/constructors/messages_allStickers.md delete mode 100644 old_docs/API_docs_v55/constructors/messages_allStickersNotModified.md delete mode 100644 old_docs/API_docs_v55/constructors/messages_archivedStickers.md delete mode 100644 old_docs/API_docs_v55/constructors/messages_botCallbackAnswer.md delete mode 100644 old_docs/API_docs_v55/constructors/messages_botResults.md delete mode 100644 old_docs/API_docs_v55/constructors/messages_channelMessages.md delete mode 100644 old_docs/API_docs_v55/constructors/messages_chatFull.md delete mode 100644 old_docs/API_docs_v55/constructors/messages_chats.md delete mode 100644 old_docs/API_docs_v55/constructors/messages_dhConfig.md delete mode 100644 old_docs/API_docs_v55/constructors/messages_dhConfigNotModified.md delete mode 100644 old_docs/API_docs_v55/constructors/messages_dialogs.md delete mode 100644 old_docs/API_docs_v55/constructors/messages_dialogsSlice.md delete mode 100644 old_docs/API_docs_v55/constructors/messages_featuredStickers.md delete mode 100644 old_docs/API_docs_v55/constructors/messages_featuredStickersNotModified.md delete mode 100644 old_docs/API_docs_v55/constructors/messages_foundGifs.md delete mode 100644 old_docs/API_docs_v55/constructors/messages_messageEditData.md delete mode 100644 old_docs/API_docs_v55/constructors/messages_messages.md delete mode 100644 old_docs/API_docs_v55/constructors/messages_messagesSlice.md delete mode 100644 old_docs/API_docs_v55/constructors/messages_peerDialogs.md delete mode 100644 old_docs/API_docs_v55/constructors/messages_recentStickers.md delete mode 100644 old_docs/API_docs_v55/constructors/messages_recentStickersNotModified.md delete mode 100644 old_docs/API_docs_v55/constructors/messages_savedGifs.md delete mode 100644 old_docs/API_docs_v55/constructors/messages_savedGifsNotModified.md delete mode 100644 old_docs/API_docs_v55/constructors/messages_sentEncryptedFile.md delete mode 100644 old_docs/API_docs_v55/constructors/messages_sentEncryptedMessage.md delete mode 100644 old_docs/API_docs_v55/constructors/messages_stickerSet.md delete mode 100644 old_docs/API_docs_v55/constructors/messages_stickerSetInstallResultArchive.md delete mode 100644 old_docs/API_docs_v55/constructors/messages_stickerSetInstallResultSuccess.md delete mode 100644 old_docs/API_docs_v55/constructors/messages_stickers.md delete mode 100644 old_docs/API_docs_v55/constructors/messages_stickersNotModified.md create mode 100644 old_docs/API_docs_v55/constructors/photos.photo.md create mode 100644 old_docs/API_docs_v55/constructors/photos.photos.md create mode 100644 old_docs/API_docs_v55/constructors/photos.photosSlice.md delete mode 100644 old_docs/API_docs_v55/constructors/photos_photo.md delete mode 100644 old_docs/API_docs_v55/constructors/photos_photos.md delete mode 100644 old_docs/API_docs_v55/constructors/photos_photosSlice.md create mode 100644 old_docs/API_docs_v55/constructors/storage.fileGif.md create mode 100644 old_docs/API_docs_v55/constructors/storage.fileJpeg.md create mode 100644 old_docs/API_docs_v55/constructors/storage.fileMov.md create mode 100644 old_docs/API_docs_v55/constructors/storage.fileMp3.md create mode 100644 old_docs/API_docs_v55/constructors/storage.fileMp4.md create mode 100644 old_docs/API_docs_v55/constructors/storage.filePartial.md create mode 100644 old_docs/API_docs_v55/constructors/storage.filePdf.md create mode 100644 old_docs/API_docs_v55/constructors/storage.filePng.md create mode 100644 old_docs/API_docs_v55/constructors/storage.fileUnknown.md create mode 100644 old_docs/API_docs_v55/constructors/storage.fileWebp.md delete mode 100644 old_docs/API_docs_v55/constructors/storage_fileGif.md delete mode 100644 old_docs/API_docs_v55/constructors/storage_fileJpeg.md delete mode 100644 old_docs/API_docs_v55/constructors/storage_fileMov.md delete mode 100644 old_docs/API_docs_v55/constructors/storage_fileMp3.md delete mode 100644 old_docs/API_docs_v55/constructors/storage_fileMp4.md delete mode 100644 old_docs/API_docs_v55/constructors/storage_filePartial.md delete mode 100644 old_docs/API_docs_v55/constructors/storage_filePdf.md delete mode 100644 old_docs/API_docs_v55/constructors/storage_filePng.md delete mode 100644 old_docs/API_docs_v55/constructors/storage_fileUnknown.md delete mode 100644 old_docs/API_docs_v55/constructors/storage_fileWebp.md create mode 100644 old_docs/API_docs_v55/constructors/updates.channelDifference.md create mode 100644 old_docs/API_docs_v55/constructors/updates.channelDifferenceEmpty.md create mode 100644 old_docs/API_docs_v55/constructors/updates.channelDifferenceTooLong.md create mode 100644 old_docs/API_docs_v55/constructors/updates.difference.md create mode 100644 old_docs/API_docs_v55/constructors/updates.differenceEmpty.md create mode 100644 old_docs/API_docs_v55/constructors/updates.differenceSlice.md create mode 100644 old_docs/API_docs_v55/constructors/updates.state.md delete mode 100644 old_docs/API_docs_v55/constructors/updates_channelDifference.md delete mode 100644 old_docs/API_docs_v55/constructors/updates_channelDifferenceEmpty.md delete mode 100644 old_docs/API_docs_v55/constructors/updates_channelDifferenceTooLong.md delete mode 100644 old_docs/API_docs_v55/constructors/updates_difference.md delete mode 100644 old_docs/API_docs_v55/constructors/updates_differenceEmpty.md delete mode 100644 old_docs/API_docs_v55/constructors/updates_differenceSlice.md delete mode 100644 old_docs/API_docs_v55/constructors/updates_state.md create mode 100644 old_docs/API_docs_v55/constructors/upload.file.md delete mode 100644 old_docs/API_docs_v55/constructors/upload_file.md create mode 100644 old_docs/API_docs_v55/types/account.Authorizations.md create mode 100644 old_docs/API_docs_v55/types/account.Password.md create mode 100644 old_docs/API_docs_v55/types/account.PasswordInputSettings.md create mode 100644 old_docs/API_docs_v55/types/account.PasswordSettings.md create mode 100644 old_docs/API_docs_v55/types/account.PrivacyRules.md delete mode 100644 old_docs/API_docs_v55/types/account_Authorizations.md delete mode 100644 old_docs/API_docs_v55/types/account_Password.md delete mode 100644 old_docs/API_docs_v55/types/account_PasswordInputSettings.md delete mode 100644 old_docs/API_docs_v55/types/account_PasswordSettings.md delete mode 100644 old_docs/API_docs_v55/types/account_PrivacyRules.md create mode 100644 old_docs/API_docs_v55/types/auth.Authorization.md create mode 100644 old_docs/API_docs_v55/types/auth.CheckedPhone.md create mode 100644 old_docs/API_docs_v55/types/auth.CodeType.md create mode 100644 old_docs/API_docs_v55/types/auth.ExportedAuthorization.md create mode 100644 old_docs/API_docs_v55/types/auth.PasswordRecovery.md create mode 100644 old_docs/API_docs_v55/types/auth.SentCode.md create mode 100644 old_docs/API_docs_v55/types/auth.SentCodeType.md delete mode 100644 old_docs/API_docs_v55/types/auth_Authorization.md delete mode 100644 old_docs/API_docs_v55/types/auth_CheckedPhone.md delete mode 100644 old_docs/API_docs_v55/types/auth_CodeType.md delete mode 100644 old_docs/API_docs_v55/types/auth_ExportedAuthorization.md delete mode 100644 old_docs/API_docs_v55/types/auth_PasswordRecovery.md delete mode 100644 old_docs/API_docs_v55/types/auth_SentCode.md delete mode 100644 old_docs/API_docs_v55/types/auth_SentCodeType.md create mode 100644 old_docs/API_docs_v55/types/channels.ChannelParticipant.md create mode 100644 old_docs/API_docs_v55/types/channels.ChannelParticipants.md delete mode 100644 old_docs/API_docs_v55/types/channels_ChannelParticipant.md delete mode 100644 old_docs/API_docs_v55/types/channels_ChannelParticipants.md create mode 100644 old_docs/API_docs_v55/types/contacts.Blocked.md create mode 100644 old_docs/API_docs_v55/types/contacts.Contacts.md create mode 100644 old_docs/API_docs_v55/types/contacts.Found.md create mode 100644 old_docs/API_docs_v55/types/contacts.ImportedContacts.md create mode 100644 old_docs/API_docs_v55/types/contacts.Link.md create mode 100644 old_docs/API_docs_v55/types/contacts.ResolvedPeer.md create mode 100644 old_docs/API_docs_v55/types/contacts.TopPeers.md delete mode 100644 old_docs/API_docs_v55/types/contacts_Blocked.md delete mode 100644 old_docs/API_docs_v55/types/contacts_Contacts.md delete mode 100644 old_docs/API_docs_v55/types/contacts_Found.md delete mode 100644 old_docs/API_docs_v55/types/contacts_ImportedContacts.md delete mode 100644 old_docs/API_docs_v55/types/contacts_Link.md delete mode 100644 old_docs/API_docs_v55/types/contacts_ResolvedPeer.md delete mode 100644 old_docs/API_docs_v55/types/contacts_TopPeers.md create mode 100644 old_docs/API_docs_v55/types/help.AppChangelog.md create mode 100644 old_docs/API_docs_v55/types/help.AppUpdate.md create mode 100644 old_docs/API_docs_v55/types/help.InviteText.md create mode 100644 old_docs/API_docs_v55/types/help.Support.md create mode 100644 old_docs/API_docs_v55/types/help.TermsOfService.md delete mode 100644 old_docs/API_docs_v55/types/help_AppChangelog.md delete mode 100644 old_docs/API_docs_v55/types/help_AppUpdate.md delete mode 100644 old_docs/API_docs_v55/types/help_InviteText.md delete mode 100644 old_docs/API_docs_v55/types/help_Support.md delete mode 100644 old_docs/API_docs_v55/types/help_TermsOfService.md create mode 100644 old_docs/API_docs_v55/types/messages.AffectedHistory.md create mode 100644 old_docs/API_docs_v55/types/messages.AffectedMessages.md create mode 100644 old_docs/API_docs_v55/types/messages.AllStickers.md create mode 100644 old_docs/API_docs_v55/types/messages.ArchivedStickers.md create mode 100644 old_docs/API_docs_v55/types/messages.BotCallbackAnswer.md create mode 100644 old_docs/API_docs_v55/types/messages.BotResults.md create mode 100644 old_docs/API_docs_v55/types/messages.ChatFull.md create mode 100644 old_docs/API_docs_v55/types/messages.Chats.md create mode 100644 old_docs/API_docs_v55/types/messages.DhConfig.md create mode 100644 old_docs/API_docs_v55/types/messages.Dialogs.md create mode 100644 old_docs/API_docs_v55/types/messages.FeaturedStickers.md create mode 100644 old_docs/API_docs_v55/types/messages.FoundGifs.md create mode 100644 old_docs/API_docs_v55/types/messages.MessageEditData.md create mode 100644 old_docs/API_docs_v55/types/messages.Messages.md create mode 100644 old_docs/API_docs_v55/types/messages.PeerDialogs.md create mode 100644 old_docs/API_docs_v55/types/messages.RecentStickers.md create mode 100644 old_docs/API_docs_v55/types/messages.SavedGifs.md create mode 100644 old_docs/API_docs_v55/types/messages.SentEncryptedMessage.md create mode 100644 old_docs/API_docs_v55/types/messages.StickerSet.md create mode 100644 old_docs/API_docs_v55/types/messages.StickerSetInstallResult.md create mode 100644 old_docs/API_docs_v55/types/messages.Stickers.md delete mode 100644 old_docs/API_docs_v55/types/messages_AffectedHistory.md delete mode 100644 old_docs/API_docs_v55/types/messages_AffectedMessages.md delete mode 100644 old_docs/API_docs_v55/types/messages_AllStickers.md delete mode 100644 old_docs/API_docs_v55/types/messages_ArchivedStickers.md delete mode 100644 old_docs/API_docs_v55/types/messages_BotCallbackAnswer.md delete mode 100644 old_docs/API_docs_v55/types/messages_BotResults.md delete mode 100644 old_docs/API_docs_v55/types/messages_ChatFull.md delete mode 100644 old_docs/API_docs_v55/types/messages_Chats.md delete mode 100644 old_docs/API_docs_v55/types/messages_DhConfig.md delete mode 100644 old_docs/API_docs_v55/types/messages_Dialogs.md delete mode 100644 old_docs/API_docs_v55/types/messages_FeaturedStickers.md delete mode 100644 old_docs/API_docs_v55/types/messages_FoundGifs.md delete mode 100644 old_docs/API_docs_v55/types/messages_MessageEditData.md delete mode 100644 old_docs/API_docs_v55/types/messages_Messages.md delete mode 100644 old_docs/API_docs_v55/types/messages_PeerDialogs.md delete mode 100644 old_docs/API_docs_v55/types/messages_RecentStickers.md delete mode 100644 old_docs/API_docs_v55/types/messages_SavedGifs.md delete mode 100644 old_docs/API_docs_v55/types/messages_SentEncryptedMessage.md delete mode 100644 old_docs/API_docs_v55/types/messages_StickerSet.md delete mode 100644 old_docs/API_docs_v55/types/messages_StickerSetInstallResult.md delete mode 100644 old_docs/API_docs_v55/types/messages_Stickers.md create mode 100644 old_docs/API_docs_v55/types/photos.Photo.md create mode 100644 old_docs/API_docs_v55/types/photos.Photos.md delete mode 100644 old_docs/API_docs_v55/types/photos_Photo.md delete mode 100644 old_docs/API_docs_v55/types/photos_Photos.md create mode 100644 old_docs/API_docs_v55/types/storage.FileType.md delete mode 100644 old_docs/API_docs_v55/types/storage_FileType.md create mode 100644 old_docs/API_docs_v55/types/updates.ChannelDifference.md create mode 100644 old_docs/API_docs_v55/types/updates.Difference.md create mode 100644 old_docs/API_docs_v55/types/updates.State.md delete mode 100644 old_docs/API_docs_v55/types/updates_ChannelDifference.md delete mode 100644 old_docs/API_docs_v55/types/updates_Difference.md delete mode 100644 old_docs/API_docs_v55/types/updates_State.md create mode 100644 old_docs/API_docs_v55/types/upload.File.md delete mode 100644 old_docs/API_docs_v55/types/upload_File.md create mode 100644 old_docs/API_docs_v57/constructors/account.authorizations.md create mode 100644 old_docs/API_docs_v57/constructors/account.noPassword.md create mode 100644 old_docs/API_docs_v57/constructors/account.password.md create mode 100644 old_docs/API_docs_v57/constructors/account.passwordInputSettings.md create mode 100644 old_docs/API_docs_v57/constructors/account.passwordSettings.md create mode 100644 old_docs/API_docs_v57/constructors/account.privacyRules.md delete mode 100644 old_docs/API_docs_v57/constructors/account_authorizations.md delete mode 100644 old_docs/API_docs_v57/constructors/account_noPassword.md delete mode 100644 old_docs/API_docs_v57/constructors/account_password.md delete mode 100644 old_docs/API_docs_v57/constructors/account_passwordInputSettings.md delete mode 100644 old_docs/API_docs_v57/constructors/account_passwordSettings.md delete mode 100644 old_docs/API_docs_v57/constructors/account_privacyRules.md create mode 100644 old_docs/API_docs_v57/constructors/auth.authorization.md create mode 100644 old_docs/API_docs_v57/constructors/auth.checkedPhone.md create mode 100644 old_docs/API_docs_v57/constructors/auth.codeTypeCall.md create mode 100644 old_docs/API_docs_v57/constructors/auth.codeTypeFlashCall.md create mode 100644 old_docs/API_docs_v57/constructors/auth.codeTypeSms.md create mode 100644 old_docs/API_docs_v57/constructors/auth.exportedAuthorization.md create mode 100644 old_docs/API_docs_v57/constructors/auth.passwordRecovery.md create mode 100644 old_docs/API_docs_v57/constructors/auth.sentCode.md create mode 100644 old_docs/API_docs_v57/constructors/auth.sentCodeTypeApp.md create mode 100644 old_docs/API_docs_v57/constructors/auth.sentCodeTypeCall.md create mode 100644 old_docs/API_docs_v57/constructors/auth.sentCodeTypeFlashCall.md create mode 100644 old_docs/API_docs_v57/constructors/auth.sentCodeTypeSms.md delete mode 100644 old_docs/API_docs_v57/constructors/auth_authorization.md delete mode 100644 old_docs/API_docs_v57/constructors/auth_checkedPhone.md delete mode 100644 old_docs/API_docs_v57/constructors/auth_codeTypeCall.md delete mode 100644 old_docs/API_docs_v57/constructors/auth_codeTypeFlashCall.md delete mode 100644 old_docs/API_docs_v57/constructors/auth_codeTypeSms.md delete mode 100644 old_docs/API_docs_v57/constructors/auth_exportedAuthorization.md delete mode 100644 old_docs/API_docs_v57/constructors/auth_passwordRecovery.md delete mode 100644 old_docs/API_docs_v57/constructors/auth_sentCode.md delete mode 100644 old_docs/API_docs_v57/constructors/auth_sentCodeTypeApp.md delete mode 100644 old_docs/API_docs_v57/constructors/auth_sentCodeTypeCall.md delete mode 100644 old_docs/API_docs_v57/constructors/auth_sentCodeTypeFlashCall.md delete mode 100644 old_docs/API_docs_v57/constructors/auth_sentCodeTypeSms.md create mode 100644 old_docs/API_docs_v57/constructors/channels.channelParticipant.md create mode 100644 old_docs/API_docs_v57/constructors/channels.channelParticipants.md delete mode 100644 old_docs/API_docs_v57/constructors/channels_channelParticipant.md delete mode 100644 old_docs/API_docs_v57/constructors/channels_channelParticipants.md create mode 100644 old_docs/API_docs_v57/constructors/contacts.blocked.md create mode 100644 old_docs/API_docs_v57/constructors/contacts.blockedSlice.md create mode 100644 old_docs/API_docs_v57/constructors/contacts.contacts.md create mode 100644 old_docs/API_docs_v57/constructors/contacts.contactsNotModified.md create mode 100644 old_docs/API_docs_v57/constructors/contacts.found.md create mode 100644 old_docs/API_docs_v57/constructors/contacts.importedContacts.md create mode 100644 old_docs/API_docs_v57/constructors/contacts.link.md create mode 100644 old_docs/API_docs_v57/constructors/contacts.resolvedPeer.md create mode 100644 old_docs/API_docs_v57/constructors/contacts.topPeers.md create mode 100644 old_docs/API_docs_v57/constructors/contacts.topPeersNotModified.md delete mode 100644 old_docs/API_docs_v57/constructors/contacts_blocked.md delete mode 100644 old_docs/API_docs_v57/constructors/contacts_blockedSlice.md delete mode 100644 old_docs/API_docs_v57/constructors/contacts_contacts.md delete mode 100644 old_docs/API_docs_v57/constructors/contacts_contactsNotModified.md delete mode 100644 old_docs/API_docs_v57/constructors/contacts_found.md delete mode 100644 old_docs/API_docs_v57/constructors/contacts_importedContacts.md delete mode 100644 old_docs/API_docs_v57/constructors/contacts_link.md delete mode 100644 old_docs/API_docs_v57/constructors/contacts_resolvedPeer.md delete mode 100644 old_docs/API_docs_v57/constructors/contacts_topPeers.md delete mode 100644 old_docs/API_docs_v57/constructors/contacts_topPeersNotModified.md create mode 100644 old_docs/API_docs_v57/constructors/help.appChangelog.md create mode 100644 old_docs/API_docs_v57/constructors/help.appChangelogEmpty.md create mode 100644 old_docs/API_docs_v57/constructors/help.appUpdate.md create mode 100644 old_docs/API_docs_v57/constructors/help.inviteText.md create mode 100644 old_docs/API_docs_v57/constructors/help.noAppUpdate.md create mode 100644 old_docs/API_docs_v57/constructors/help.support.md create mode 100644 old_docs/API_docs_v57/constructors/help.termsOfService.md delete mode 100644 old_docs/API_docs_v57/constructors/help_appChangelog.md delete mode 100644 old_docs/API_docs_v57/constructors/help_appChangelogEmpty.md delete mode 100644 old_docs/API_docs_v57/constructors/help_appUpdate.md delete mode 100644 old_docs/API_docs_v57/constructors/help_inviteText.md delete mode 100644 old_docs/API_docs_v57/constructors/help_noAppUpdate.md delete mode 100644 old_docs/API_docs_v57/constructors/help_support.md delete mode 100644 old_docs/API_docs_v57/constructors/help_termsOfService.md create mode 100644 old_docs/API_docs_v57/constructors/messages.affectedHistory.md create mode 100644 old_docs/API_docs_v57/constructors/messages.affectedMessages.md create mode 100644 old_docs/API_docs_v57/constructors/messages.allStickers.md create mode 100644 old_docs/API_docs_v57/constructors/messages.allStickersNotModified.md create mode 100644 old_docs/API_docs_v57/constructors/messages.archivedStickers.md create mode 100644 old_docs/API_docs_v57/constructors/messages.botCallbackAnswer.md create mode 100644 old_docs/API_docs_v57/constructors/messages.botResults.md create mode 100644 old_docs/API_docs_v57/constructors/messages.channelMessages.md create mode 100644 old_docs/API_docs_v57/constructors/messages.chatFull.md create mode 100644 old_docs/API_docs_v57/constructors/messages.chats.md create mode 100644 old_docs/API_docs_v57/constructors/messages.dhConfig.md create mode 100644 old_docs/API_docs_v57/constructors/messages.dhConfigNotModified.md create mode 100644 old_docs/API_docs_v57/constructors/messages.dialogs.md create mode 100644 old_docs/API_docs_v57/constructors/messages.dialogsSlice.md create mode 100644 old_docs/API_docs_v57/constructors/messages.featuredStickers.md create mode 100644 old_docs/API_docs_v57/constructors/messages.featuredStickersNotModified.md create mode 100644 old_docs/API_docs_v57/constructors/messages.foundGifs.md create mode 100644 old_docs/API_docs_v57/constructors/messages.highScores.md create mode 100644 old_docs/API_docs_v57/constructors/messages.messageEditData.md create mode 100644 old_docs/API_docs_v57/constructors/messages.messages.md create mode 100644 old_docs/API_docs_v57/constructors/messages.messagesSlice.md create mode 100644 old_docs/API_docs_v57/constructors/messages.peerDialogs.md create mode 100644 old_docs/API_docs_v57/constructors/messages.recentStickers.md create mode 100644 old_docs/API_docs_v57/constructors/messages.recentStickersNotModified.md create mode 100644 old_docs/API_docs_v57/constructors/messages.savedGifs.md create mode 100644 old_docs/API_docs_v57/constructors/messages.savedGifsNotModified.md create mode 100644 old_docs/API_docs_v57/constructors/messages.sentEncryptedFile.md create mode 100644 old_docs/API_docs_v57/constructors/messages.sentEncryptedMessage.md create mode 100644 old_docs/API_docs_v57/constructors/messages.stickerSet.md create mode 100644 old_docs/API_docs_v57/constructors/messages.stickerSetInstallResultArchive.md create mode 100644 old_docs/API_docs_v57/constructors/messages.stickerSetInstallResultSuccess.md create mode 100644 old_docs/API_docs_v57/constructors/messages.stickers.md create mode 100644 old_docs/API_docs_v57/constructors/messages.stickersNotModified.md delete mode 100644 old_docs/API_docs_v57/constructors/messages_affectedHistory.md delete mode 100644 old_docs/API_docs_v57/constructors/messages_affectedMessages.md delete mode 100644 old_docs/API_docs_v57/constructors/messages_allStickers.md delete mode 100644 old_docs/API_docs_v57/constructors/messages_allStickersNotModified.md delete mode 100644 old_docs/API_docs_v57/constructors/messages_archivedStickers.md delete mode 100644 old_docs/API_docs_v57/constructors/messages_botCallbackAnswer.md delete mode 100644 old_docs/API_docs_v57/constructors/messages_botResults.md delete mode 100644 old_docs/API_docs_v57/constructors/messages_channelMessages.md delete mode 100644 old_docs/API_docs_v57/constructors/messages_chatFull.md delete mode 100644 old_docs/API_docs_v57/constructors/messages_chats.md delete mode 100644 old_docs/API_docs_v57/constructors/messages_dhConfig.md delete mode 100644 old_docs/API_docs_v57/constructors/messages_dhConfigNotModified.md delete mode 100644 old_docs/API_docs_v57/constructors/messages_dialogs.md delete mode 100644 old_docs/API_docs_v57/constructors/messages_dialogsSlice.md delete mode 100644 old_docs/API_docs_v57/constructors/messages_featuredStickers.md delete mode 100644 old_docs/API_docs_v57/constructors/messages_featuredStickersNotModified.md delete mode 100644 old_docs/API_docs_v57/constructors/messages_foundGifs.md delete mode 100644 old_docs/API_docs_v57/constructors/messages_highScores.md delete mode 100644 old_docs/API_docs_v57/constructors/messages_messageEditData.md delete mode 100644 old_docs/API_docs_v57/constructors/messages_messages.md delete mode 100644 old_docs/API_docs_v57/constructors/messages_messagesSlice.md delete mode 100644 old_docs/API_docs_v57/constructors/messages_peerDialogs.md delete mode 100644 old_docs/API_docs_v57/constructors/messages_recentStickers.md delete mode 100644 old_docs/API_docs_v57/constructors/messages_recentStickersNotModified.md delete mode 100644 old_docs/API_docs_v57/constructors/messages_savedGifs.md delete mode 100644 old_docs/API_docs_v57/constructors/messages_savedGifsNotModified.md delete mode 100644 old_docs/API_docs_v57/constructors/messages_sentEncryptedFile.md delete mode 100644 old_docs/API_docs_v57/constructors/messages_sentEncryptedMessage.md delete mode 100644 old_docs/API_docs_v57/constructors/messages_stickerSet.md delete mode 100644 old_docs/API_docs_v57/constructors/messages_stickerSetInstallResultArchive.md delete mode 100644 old_docs/API_docs_v57/constructors/messages_stickerSetInstallResultSuccess.md delete mode 100644 old_docs/API_docs_v57/constructors/messages_stickers.md delete mode 100644 old_docs/API_docs_v57/constructors/messages_stickersNotModified.md create mode 100644 old_docs/API_docs_v57/constructors/photos.photo.md create mode 100644 old_docs/API_docs_v57/constructors/photos.photos.md create mode 100644 old_docs/API_docs_v57/constructors/photos.photosSlice.md delete mode 100644 old_docs/API_docs_v57/constructors/photos_photo.md delete mode 100644 old_docs/API_docs_v57/constructors/photos_photos.md delete mode 100644 old_docs/API_docs_v57/constructors/photos_photosSlice.md create mode 100644 old_docs/API_docs_v57/constructors/storage.fileGif.md create mode 100644 old_docs/API_docs_v57/constructors/storage.fileJpeg.md create mode 100644 old_docs/API_docs_v57/constructors/storage.fileMov.md create mode 100644 old_docs/API_docs_v57/constructors/storage.fileMp3.md create mode 100644 old_docs/API_docs_v57/constructors/storage.fileMp4.md create mode 100644 old_docs/API_docs_v57/constructors/storage.filePartial.md create mode 100644 old_docs/API_docs_v57/constructors/storage.filePdf.md create mode 100644 old_docs/API_docs_v57/constructors/storage.filePng.md create mode 100644 old_docs/API_docs_v57/constructors/storage.fileUnknown.md create mode 100644 old_docs/API_docs_v57/constructors/storage.fileWebp.md delete mode 100644 old_docs/API_docs_v57/constructors/storage_fileGif.md delete mode 100644 old_docs/API_docs_v57/constructors/storage_fileJpeg.md delete mode 100644 old_docs/API_docs_v57/constructors/storage_fileMov.md delete mode 100644 old_docs/API_docs_v57/constructors/storage_fileMp3.md delete mode 100644 old_docs/API_docs_v57/constructors/storage_fileMp4.md delete mode 100644 old_docs/API_docs_v57/constructors/storage_filePartial.md delete mode 100644 old_docs/API_docs_v57/constructors/storage_filePdf.md delete mode 100644 old_docs/API_docs_v57/constructors/storage_filePng.md delete mode 100644 old_docs/API_docs_v57/constructors/storage_fileUnknown.md delete mode 100644 old_docs/API_docs_v57/constructors/storage_fileWebp.md create mode 100644 old_docs/API_docs_v57/constructors/updates.channelDifference.md create mode 100644 old_docs/API_docs_v57/constructors/updates.channelDifferenceEmpty.md create mode 100644 old_docs/API_docs_v57/constructors/updates.channelDifferenceTooLong.md create mode 100644 old_docs/API_docs_v57/constructors/updates.difference.md create mode 100644 old_docs/API_docs_v57/constructors/updates.differenceEmpty.md create mode 100644 old_docs/API_docs_v57/constructors/updates.differenceSlice.md create mode 100644 old_docs/API_docs_v57/constructors/updates.state.md delete mode 100644 old_docs/API_docs_v57/constructors/updates_channelDifference.md delete mode 100644 old_docs/API_docs_v57/constructors/updates_channelDifferenceEmpty.md delete mode 100644 old_docs/API_docs_v57/constructors/updates_channelDifferenceTooLong.md delete mode 100644 old_docs/API_docs_v57/constructors/updates_difference.md delete mode 100644 old_docs/API_docs_v57/constructors/updates_differenceEmpty.md delete mode 100644 old_docs/API_docs_v57/constructors/updates_differenceSlice.md delete mode 100644 old_docs/API_docs_v57/constructors/updates_state.md create mode 100644 old_docs/API_docs_v57/constructors/upload.file.md delete mode 100644 old_docs/API_docs_v57/constructors/upload_file.md create mode 100644 old_docs/API_docs_v57/types/account.Authorizations.md create mode 100644 old_docs/API_docs_v57/types/account.Password.md create mode 100644 old_docs/API_docs_v57/types/account.PasswordInputSettings.md create mode 100644 old_docs/API_docs_v57/types/account.PasswordSettings.md create mode 100644 old_docs/API_docs_v57/types/account.PrivacyRules.md delete mode 100644 old_docs/API_docs_v57/types/account_Authorizations.md delete mode 100644 old_docs/API_docs_v57/types/account_Password.md delete mode 100644 old_docs/API_docs_v57/types/account_PasswordInputSettings.md delete mode 100644 old_docs/API_docs_v57/types/account_PasswordSettings.md delete mode 100644 old_docs/API_docs_v57/types/account_PrivacyRules.md create mode 100644 old_docs/API_docs_v57/types/auth.Authorization.md create mode 100644 old_docs/API_docs_v57/types/auth.CheckedPhone.md create mode 100644 old_docs/API_docs_v57/types/auth.CodeType.md create mode 100644 old_docs/API_docs_v57/types/auth.ExportedAuthorization.md create mode 100644 old_docs/API_docs_v57/types/auth.PasswordRecovery.md create mode 100644 old_docs/API_docs_v57/types/auth.SentCode.md create mode 100644 old_docs/API_docs_v57/types/auth.SentCodeType.md delete mode 100644 old_docs/API_docs_v57/types/auth_Authorization.md delete mode 100644 old_docs/API_docs_v57/types/auth_CheckedPhone.md delete mode 100644 old_docs/API_docs_v57/types/auth_CodeType.md delete mode 100644 old_docs/API_docs_v57/types/auth_ExportedAuthorization.md delete mode 100644 old_docs/API_docs_v57/types/auth_PasswordRecovery.md delete mode 100644 old_docs/API_docs_v57/types/auth_SentCode.md delete mode 100644 old_docs/API_docs_v57/types/auth_SentCodeType.md create mode 100644 old_docs/API_docs_v57/types/channels.ChannelParticipant.md create mode 100644 old_docs/API_docs_v57/types/channels.ChannelParticipants.md delete mode 100644 old_docs/API_docs_v57/types/channels_ChannelParticipant.md delete mode 100644 old_docs/API_docs_v57/types/channels_ChannelParticipants.md create mode 100644 old_docs/API_docs_v57/types/contacts.Blocked.md create mode 100644 old_docs/API_docs_v57/types/contacts.Contacts.md create mode 100644 old_docs/API_docs_v57/types/contacts.Found.md create mode 100644 old_docs/API_docs_v57/types/contacts.ImportedContacts.md create mode 100644 old_docs/API_docs_v57/types/contacts.Link.md create mode 100644 old_docs/API_docs_v57/types/contacts.ResolvedPeer.md create mode 100644 old_docs/API_docs_v57/types/contacts.TopPeers.md delete mode 100644 old_docs/API_docs_v57/types/contacts_Blocked.md delete mode 100644 old_docs/API_docs_v57/types/contacts_Contacts.md delete mode 100644 old_docs/API_docs_v57/types/contacts_Found.md delete mode 100644 old_docs/API_docs_v57/types/contacts_ImportedContacts.md delete mode 100644 old_docs/API_docs_v57/types/contacts_Link.md delete mode 100644 old_docs/API_docs_v57/types/contacts_ResolvedPeer.md delete mode 100644 old_docs/API_docs_v57/types/contacts_TopPeers.md create mode 100644 old_docs/API_docs_v57/types/help.AppChangelog.md create mode 100644 old_docs/API_docs_v57/types/help.AppUpdate.md create mode 100644 old_docs/API_docs_v57/types/help.InviteText.md create mode 100644 old_docs/API_docs_v57/types/help.Support.md create mode 100644 old_docs/API_docs_v57/types/help.TermsOfService.md delete mode 100644 old_docs/API_docs_v57/types/help_AppChangelog.md delete mode 100644 old_docs/API_docs_v57/types/help_AppUpdate.md delete mode 100644 old_docs/API_docs_v57/types/help_InviteText.md delete mode 100644 old_docs/API_docs_v57/types/help_Support.md delete mode 100644 old_docs/API_docs_v57/types/help_TermsOfService.md create mode 100644 old_docs/API_docs_v57/types/messages.AffectedHistory.md create mode 100644 old_docs/API_docs_v57/types/messages.AffectedMessages.md create mode 100644 old_docs/API_docs_v57/types/messages.AllStickers.md create mode 100644 old_docs/API_docs_v57/types/messages.ArchivedStickers.md create mode 100644 old_docs/API_docs_v57/types/messages.BotCallbackAnswer.md create mode 100644 old_docs/API_docs_v57/types/messages.BotResults.md create mode 100644 old_docs/API_docs_v57/types/messages.ChatFull.md create mode 100644 old_docs/API_docs_v57/types/messages.Chats.md create mode 100644 old_docs/API_docs_v57/types/messages.DhConfig.md create mode 100644 old_docs/API_docs_v57/types/messages.Dialogs.md create mode 100644 old_docs/API_docs_v57/types/messages.FeaturedStickers.md create mode 100644 old_docs/API_docs_v57/types/messages.FoundGifs.md create mode 100644 old_docs/API_docs_v57/types/messages.HighScores.md create mode 100644 old_docs/API_docs_v57/types/messages.MessageEditData.md create mode 100644 old_docs/API_docs_v57/types/messages.Messages.md create mode 100644 old_docs/API_docs_v57/types/messages.PeerDialogs.md create mode 100644 old_docs/API_docs_v57/types/messages.RecentStickers.md create mode 100644 old_docs/API_docs_v57/types/messages.SavedGifs.md create mode 100644 old_docs/API_docs_v57/types/messages.SentEncryptedMessage.md create mode 100644 old_docs/API_docs_v57/types/messages.StickerSet.md create mode 100644 old_docs/API_docs_v57/types/messages.StickerSetInstallResult.md create mode 100644 old_docs/API_docs_v57/types/messages.Stickers.md delete mode 100644 old_docs/API_docs_v57/types/messages_AffectedHistory.md delete mode 100644 old_docs/API_docs_v57/types/messages_AffectedMessages.md delete mode 100644 old_docs/API_docs_v57/types/messages_AllStickers.md delete mode 100644 old_docs/API_docs_v57/types/messages_ArchivedStickers.md delete mode 100644 old_docs/API_docs_v57/types/messages_BotCallbackAnswer.md delete mode 100644 old_docs/API_docs_v57/types/messages_BotResults.md delete mode 100644 old_docs/API_docs_v57/types/messages_ChatFull.md delete mode 100644 old_docs/API_docs_v57/types/messages_Chats.md delete mode 100644 old_docs/API_docs_v57/types/messages_DhConfig.md delete mode 100644 old_docs/API_docs_v57/types/messages_Dialogs.md delete mode 100644 old_docs/API_docs_v57/types/messages_FeaturedStickers.md delete mode 100644 old_docs/API_docs_v57/types/messages_FoundGifs.md delete mode 100644 old_docs/API_docs_v57/types/messages_HighScores.md delete mode 100644 old_docs/API_docs_v57/types/messages_MessageEditData.md delete mode 100644 old_docs/API_docs_v57/types/messages_Messages.md delete mode 100644 old_docs/API_docs_v57/types/messages_PeerDialogs.md delete mode 100644 old_docs/API_docs_v57/types/messages_RecentStickers.md delete mode 100644 old_docs/API_docs_v57/types/messages_SavedGifs.md delete mode 100644 old_docs/API_docs_v57/types/messages_SentEncryptedMessage.md delete mode 100644 old_docs/API_docs_v57/types/messages_StickerSet.md delete mode 100644 old_docs/API_docs_v57/types/messages_StickerSetInstallResult.md delete mode 100644 old_docs/API_docs_v57/types/messages_Stickers.md create mode 100644 old_docs/API_docs_v57/types/photos.Photo.md create mode 100644 old_docs/API_docs_v57/types/photos.Photos.md delete mode 100644 old_docs/API_docs_v57/types/photos_Photo.md delete mode 100644 old_docs/API_docs_v57/types/photos_Photos.md create mode 100644 old_docs/API_docs_v57/types/storage.FileType.md delete mode 100644 old_docs/API_docs_v57/types/storage_FileType.md create mode 100644 old_docs/API_docs_v57/types/updates.ChannelDifference.md create mode 100644 old_docs/API_docs_v57/types/updates.Difference.md create mode 100644 old_docs/API_docs_v57/types/updates.State.md delete mode 100644 old_docs/API_docs_v57/types/updates_ChannelDifference.md delete mode 100644 old_docs/API_docs_v57/types/updates_Difference.md delete mode 100644 old_docs/API_docs_v57/types/updates_State.md create mode 100644 old_docs/API_docs_v57/types/upload.File.md delete mode 100644 old_docs/API_docs_v57/types/upload_File.md create mode 100644 old_docs/API_docs_v62/constructors/account.authorizations.md create mode 100644 old_docs/API_docs_v62/constructors/account.noPassword.md create mode 100644 old_docs/API_docs_v62/constructors/account.password.md create mode 100644 old_docs/API_docs_v62/constructors/account.passwordInputSettings.md create mode 100644 old_docs/API_docs_v62/constructors/account.passwordSettings.md create mode 100644 old_docs/API_docs_v62/constructors/account.privacyRules.md delete mode 100644 old_docs/API_docs_v62/constructors/account_authorizations.md delete mode 100644 old_docs/API_docs_v62/constructors/account_noPassword.md delete mode 100644 old_docs/API_docs_v62/constructors/account_password.md delete mode 100644 old_docs/API_docs_v62/constructors/account_passwordInputSettings.md delete mode 100644 old_docs/API_docs_v62/constructors/account_passwordSettings.md delete mode 100644 old_docs/API_docs_v62/constructors/account_privacyRules.md create mode 100644 old_docs/API_docs_v62/constructors/auth.authorization.md create mode 100644 old_docs/API_docs_v62/constructors/auth.checkedPhone.md create mode 100644 old_docs/API_docs_v62/constructors/auth.codeTypeCall.md create mode 100644 old_docs/API_docs_v62/constructors/auth.codeTypeFlashCall.md create mode 100644 old_docs/API_docs_v62/constructors/auth.codeTypeSms.md create mode 100644 old_docs/API_docs_v62/constructors/auth.exportedAuthorization.md create mode 100644 old_docs/API_docs_v62/constructors/auth.passwordRecovery.md create mode 100644 old_docs/API_docs_v62/constructors/auth.sentCode.md create mode 100644 old_docs/API_docs_v62/constructors/auth.sentCodeTypeApp.md create mode 100644 old_docs/API_docs_v62/constructors/auth.sentCodeTypeCall.md create mode 100644 old_docs/API_docs_v62/constructors/auth.sentCodeTypeFlashCall.md create mode 100644 old_docs/API_docs_v62/constructors/auth.sentCodeTypeSms.md delete mode 100644 old_docs/API_docs_v62/constructors/auth_authorization.md delete mode 100644 old_docs/API_docs_v62/constructors/auth_checkedPhone.md delete mode 100644 old_docs/API_docs_v62/constructors/auth_codeTypeCall.md delete mode 100644 old_docs/API_docs_v62/constructors/auth_codeTypeFlashCall.md delete mode 100644 old_docs/API_docs_v62/constructors/auth_codeTypeSms.md delete mode 100644 old_docs/API_docs_v62/constructors/auth_exportedAuthorization.md delete mode 100644 old_docs/API_docs_v62/constructors/auth_passwordRecovery.md delete mode 100644 old_docs/API_docs_v62/constructors/auth_sentCode.md delete mode 100644 old_docs/API_docs_v62/constructors/auth_sentCodeTypeApp.md delete mode 100644 old_docs/API_docs_v62/constructors/auth_sentCodeTypeCall.md delete mode 100644 old_docs/API_docs_v62/constructors/auth_sentCodeTypeFlashCall.md delete mode 100644 old_docs/API_docs_v62/constructors/auth_sentCodeTypeSms.md create mode 100644 old_docs/API_docs_v62/constructors/channels.channelParticipant.md create mode 100644 old_docs/API_docs_v62/constructors/channels.channelParticipants.md delete mode 100644 old_docs/API_docs_v62/constructors/channels_channelParticipant.md delete mode 100644 old_docs/API_docs_v62/constructors/channels_channelParticipants.md create mode 100644 old_docs/API_docs_v62/constructors/contacts.blocked.md create mode 100644 old_docs/API_docs_v62/constructors/contacts.blockedSlice.md create mode 100644 old_docs/API_docs_v62/constructors/contacts.contacts.md create mode 100644 old_docs/API_docs_v62/constructors/contacts.contactsNotModified.md create mode 100644 old_docs/API_docs_v62/constructors/contacts.found.md create mode 100644 old_docs/API_docs_v62/constructors/contacts.importedContacts.md create mode 100644 old_docs/API_docs_v62/constructors/contacts.link.md create mode 100644 old_docs/API_docs_v62/constructors/contacts.resolvedPeer.md create mode 100644 old_docs/API_docs_v62/constructors/contacts.topPeers.md create mode 100644 old_docs/API_docs_v62/constructors/contacts.topPeersNotModified.md delete mode 100644 old_docs/API_docs_v62/constructors/contacts_blocked.md delete mode 100644 old_docs/API_docs_v62/constructors/contacts_blockedSlice.md delete mode 100644 old_docs/API_docs_v62/constructors/contacts_contacts.md delete mode 100644 old_docs/API_docs_v62/constructors/contacts_contactsNotModified.md delete mode 100644 old_docs/API_docs_v62/constructors/contacts_found.md delete mode 100644 old_docs/API_docs_v62/constructors/contacts_importedContacts.md delete mode 100644 old_docs/API_docs_v62/constructors/contacts_link.md delete mode 100644 old_docs/API_docs_v62/constructors/contacts_resolvedPeer.md delete mode 100644 old_docs/API_docs_v62/constructors/contacts_topPeers.md delete mode 100644 old_docs/API_docs_v62/constructors/contacts_topPeersNotModified.md create mode 100644 old_docs/API_docs_v62/constructors/help.appChangelog.md create mode 100644 old_docs/API_docs_v62/constructors/help.appChangelogEmpty.md create mode 100644 old_docs/API_docs_v62/constructors/help.appUpdate.md create mode 100644 old_docs/API_docs_v62/constructors/help.inviteText.md create mode 100644 old_docs/API_docs_v62/constructors/help.noAppUpdate.md create mode 100644 old_docs/API_docs_v62/constructors/help.support.md create mode 100644 old_docs/API_docs_v62/constructors/help.termsOfService.md delete mode 100644 old_docs/API_docs_v62/constructors/help_appChangelog.md delete mode 100644 old_docs/API_docs_v62/constructors/help_appChangelogEmpty.md delete mode 100644 old_docs/API_docs_v62/constructors/help_appUpdate.md delete mode 100644 old_docs/API_docs_v62/constructors/help_inviteText.md delete mode 100644 old_docs/API_docs_v62/constructors/help_noAppUpdate.md delete mode 100644 old_docs/API_docs_v62/constructors/help_support.md delete mode 100644 old_docs/API_docs_v62/constructors/help_termsOfService.md create mode 100644 old_docs/API_docs_v62/constructors/messages.affectedHistory.md create mode 100644 old_docs/API_docs_v62/constructors/messages.affectedMessages.md create mode 100644 old_docs/API_docs_v62/constructors/messages.allStickers.md create mode 100644 old_docs/API_docs_v62/constructors/messages.allStickersNotModified.md create mode 100644 old_docs/API_docs_v62/constructors/messages.archivedStickers.md create mode 100644 old_docs/API_docs_v62/constructors/messages.botCallbackAnswer.md create mode 100644 old_docs/API_docs_v62/constructors/messages.botResults.md create mode 100644 old_docs/API_docs_v62/constructors/messages.channelMessages.md create mode 100644 old_docs/API_docs_v62/constructors/messages.chatFull.md create mode 100644 old_docs/API_docs_v62/constructors/messages.chats.md create mode 100644 old_docs/API_docs_v62/constructors/messages.chatsSlice.md create mode 100644 old_docs/API_docs_v62/constructors/messages.dhConfig.md create mode 100644 old_docs/API_docs_v62/constructors/messages.dhConfigNotModified.md create mode 100644 old_docs/API_docs_v62/constructors/messages.dialogs.md create mode 100644 old_docs/API_docs_v62/constructors/messages.dialogsSlice.md create mode 100644 old_docs/API_docs_v62/constructors/messages.featuredStickers.md create mode 100644 old_docs/API_docs_v62/constructors/messages.featuredStickersNotModified.md create mode 100644 old_docs/API_docs_v62/constructors/messages.foundGifs.md create mode 100644 old_docs/API_docs_v62/constructors/messages.highScores.md create mode 100644 old_docs/API_docs_v62/constructors/messages.messageEditData.md create mode 100644 old_docs/API_docs_v62/constructors/messages.messages.md create mode 100644 old_docs/API_docs_v62/constructors/messages.messagesSlice.md create mode 100644 old_docs/API_docs_v62/constructors/messages.peerDialogs.md create mode 100644 old_docs/API_docs_v62/constructors/messages.recentStickers.md create mode 100644 old_docs/API_docs_v62/constructors/messages.recentStickersNotModified.md create mode 100644 old_docs/API_docs_v62/constructors/messages.savedGifs.md create mode 100644 old_docs/API_docs_v62/constructors/messages.savedGifsNotModified.md create mode 100644 old_docs/API_docs_v62/constructors/messages.sentEncryptedFile.md create mode 100644 old_docs/API_docs_v62/constructors/messages.sentEncryptedMessage.md create mode 100644 old_docs/API_docs_v62/constructors/messages.stickerSet.md create mode 100644 old_docs/API_docs_v62/constructors/messages.stickerSetInstallResultArchive.md create mode 100644 old_docs/API_docs_v62/constructors/messages.stickerSetInstallResultSuccess.md create mode 100644 old_docs/API_docs_v62/constructors/messages.stickers.md create mode 100644 old_docs/API_docs_v62/constructors/messages.stickersNotModified.md delete mode 100644 old_docs/API_docs_v62/constructors/messages_affectedHistory.md delete mode 100644 old_docs/API_docs_v62/constructors/messages_affectedMessages.md delete mode 100644 old_docs/API_docs_v62/constructors/messages_allStickers.md delete mode 100644 old_docs/API_docs_v62/constructors/messages_allStickersNotModified.md delete mode 100644 old_docs/API_docs_v62/constructors/messages_archivedStickers.md delete mode 100644 old_docs/API_docs_v62/constructors/messages_botCallbackAnswer.md delete mode 100644 old_docs/API_docs_v62/constructors/messages_botResults.md delete mode 100644 old_docs/API_docs_v62/constructors/messages_channelMessages.md delete mode 100644 old_docs/API_docs_v62/constructors/messages_chatFull.md delete mode 100644 old_docs/API_docs_v62/constructors/messages_chats.md delete mode 100644 old_docs/API_docs_v62/constructors/messages_chatsSlice.md delete mode 100644 old_docs/API_docs_v62/constructors/messages_dhConfig.md delete mode 100644 old_docs/API_docs_v62/constructors/messages_dhConfigNotModified.md delete mode 100644 old_docs/API_docs_v62/constructors/messages_dialogs.md delete mode 100644 old_docs/API_docs_v62/constructors/messages_dialogsSlice.md delete mode 100644 old_docs/API_docs_v62/constructors/messages_featuredStickers.md delete mode 100644 old_docs/API_docs_v62/constructors/messages_featuredStickersNotModified.md delete mode 100644 old_docs/API_docs_v62/constructors/messages_foundGifs.md delete mode 100644 old_docs/API_docs_v62/constructors/messages_highScores.md delete mode 100644 old_docs/API_docs_v62/constructors/messages_messageEditData.md delete mode 100644 old_docs/API_docs_v62/constructors/messages_messages.md delete mode 100644 old_docs/API_docs_v62/constructors/messages_messagesSlice.md delete mode 100644 old_docs/API_docs_v62/constructors/messages_peerDialogs.md delete mode 100644 old_docs/API_docs_v62/constructors/messages_recentStickers.md delete mode 100644 old_docs/API_docs_v62/constructors/messages_recentStickersNotModified.md delete mode 100644 old_docs/API_docs_v62/constructors/messages_savedGifs.md delete mode 100644 old_docs/API_docs_v62/constructors/messages_savedGifsNotModified.md delete mode 100644 old_docs/API_docs_v62/constructors/messages_sentEncryptedFile.md delete mode 100644 old_docs/API_docs_v62/constructors/messages_sentEncryptedMessage.md delete mode 100644 old_docs/API_docs_v62/constructors/messages_stickerSet.md delete mode 100644 old_docs/API_docs_v62/constructors/messages_stickerSetInstallResultArchive.md delete mode 100644 old_docs/API_docs_v62/constructors/messages_stickerSetInstallResultSuccess.md delete mode 100644 old_docs/API_docs_v62/constructors/messages_stickers.md delete mode 100644 old_docs/API_docs_v62/constructors/messages_stickersNotModified.md create mode 100644 old_docs/API_docs_v62/constructors/phone.phoneCall.md delete mode 100644 old_docs/API_docs_v62/constructors/phone_phoneCall.md create mode 100644 old_docs/API_docs_v62/constructors/photos.photo.md create mode 100644 old_docs/API_docs_v62/constructors/photos.photos.md create mode 100644 old_docs/API_docs_v62/constructors/photos.photosSlice.md delete mode 100644 old_docs/API_docs_v62/constructors/photos_photo.md delete mode 100644 old_docs/API_docs_v62/constructors/photos_photos.md delete mode 100644 old_docs/API_docs_v62/constructors/photos_photosSlice.md create mode 100644 old_docs/API_docs_v62/constructors/storage.fileGif.md create mode 100644 old_docs/API_docs_v62/constructors/storage.fileJpeg.md create mode 100644 old_docs/API_docs_v62/constructors/storage.fileMov.md create mode 100644 old_docs/API_docs_v62/constructors/storage.fileMp3.md create mode 100644 old_docs/API_docs_v62/constructors/storage.fileMp4.md create mode 100644 old_docs/API_docs_v62/constructors/storage.filePartial.md create mode 100644 old_docs/API_docs_v62/constructors/storage.filePdf.md create mode 100644 old_docs/API_docs_v62/constructors/storage.filePng.md create mode 100644 old_docs/API_docs_v62/constructors/storage.fileUnknown.md create mode 100644 old_docs/API_docs_v62/constructors/storage.fileWebp.md delete mode 100644 old_docs/API_docs_v62/constructors/storage_fileGif.md delete mode 100644 old_docs/API_docs_v62/constructors/storage_fileJpeg.md delete mode 100644 old_docs/API_docs_v62/constructors/storage_fileMov.md delete mode 100644 old_docs/API_docs_v62/constructors/storage_fileMp3.md delete mode 100644 old_docs/API_docs_v62/constructors/storage_fileMp4.md delete mode 100644 old_docs/API_docs_v62/constructors/storage_filePartial.md delete mode 100644 old_docs/API_docs_v62/constructors/storage_filePdf.md delete mode 100644 old_docs/API_docs_v62/constructors/storage_filePng.md delete mode 100644 old_docs/API_docs_v62/constructors/storage_fileUnknown.md delete mode 100644 old_docs/API_docs_v62/constructors/storage_fileWebp.md create mode 100644 old_docs/API_docs_v62/constructors/updates.channelDifference.md create mode 100644 old_docs/API_docs_v62/constructors/updates.channelDifferenceEmpty.md create mode 100644 old_docs/API_docs_v62/constructors/updates.channelDifferenceTooLong.md create mode 100644 old_docs/API_docs_v62/constructors/updates.difference.md create mode 100644 old_docs/API_docs_v62/constructors/updates.differenceEmpty.md create mode 100644 old_docs/API_docs_v62/constructors/updates.differenceSlice.md create mode 100644 old_docs/API_docs_v62/constructors/updates.differenceTooLong.md create mode 100644 old_docs/API_docs_v62/constructors/updates.state.md delete mode 100644 old_docs/API_docs_v62/constructors/updates_channelDifference.md delete mode 100644 old_docs/API_docs_v62/constructors/updates_channelDifferenceEmpty.md delete mode 100644 old_docs/API_docs_v62/constructors/updates_channelDifferenceTooLong.md delete mode 100644 old_docs/API_docs_v62/constructors/updates_difference.md delete mode 100644 old_docs/API_docs_v62/constructors/updates_differenceEmpty.md delete mode 100644 old_docs/API_docs_v62/constructors/updates_differenceSlice.md delete mode 100644 old_docs/API_docs_v62/constructors/updates_differenceTooLong.md delete mode 100644 old_docs/API_docs_v62/constructors/updates_state.md create mode 100644 old_docs/API_docs_v62/constructors/upload.file.md delete mode 100644 old_docs/API_docs_v62/constructors/upload_file.md create mode 100644 old_docs/API_docs_v62/types/account.Authorizations.md create mode 100644 old_docs/API_docs_v62/types/account.Password.md create mode 100644 old_docs/API_docs_v62/types/account.PasswordInputSettings.md create mode 100644 old_docs/API_docs_v62/types/account.PasswordSettings.md create mode 100644 old_docs/API_docs_v62/types/account.PrivacyRules.md delete mode 100644 old_docs/API_docs_v62/types/account_Authorizations.md delete mode 100644 old_docs/API_docs_v62/types/account_Password.md delete mode 100644 old_docs/API_docs_v62/types/account_PasswordInputSettings.md delete mode 100644 old_docs/API_docs_v62/types/account_PasswordSettings.md delete mode 100644 old_docs/API_docs_v62/types/account_PrivacyRules.md create mode 100644 old_docs/API_docs_v62/types/auth.Authorization.md create mode 100644 old_docs/API_docs_v62/types/auth.CheckedPhone.md create mode 100644 old_docs/API_docs_v62/types/auth.CodeType.md create mode 100644 old_docs/API_docs_v62/types/auth.ExportedAuthorization.md create mode 100644 old_docs/API_docs_v62/types/auth.PasswordRecovery.md create mode 100644 old_docs/API_docs_v62/types/auth.SentCode.md create mode 100644 old_docs/API_docs_v62/types/auth.SentCodeType.md delete mode 100644 old_docs/API_docs_v62/types/auth_Authorization.md delete mode 100644 old_docs/API_docs_v62/types/auth_CheckedPhone.md delete mode 100644 old_docs/API_docs_v62/types/auth_CodeType.md delete mode 100644 old_docs/API_docs_v62/types/auth_ExportedAuthorization.md delete mode 100644 old_docs/API_docs_v62/types/auth_PasswordRecovery.md delete mode 100644 old_docs/API_docs_v62/types/auth_SentCode.md delete mode 100644 old_docs/API_docs_v62/types/auth_SentCodeType.md create mode 100644 old_docs/API_docs_v62/types/channels.ChannelParticipant.md create mode 100644 old_docs/API_docs_v62/types/channels.ChannelParticipants.md delete mode 100644 old_docs/API_docs_v62/types/channels_ChannelParticipant.md delete mode 100644 old_docs/API_docs_v62/types/channels_ChannelParticipants.md create mode 100644 old_docs/API_docs_v62/types/contacts.Blocked.md create mode 100644 old_docs/API_docs_v62/types/contacts.Contacts.md create mode 100644 old_docs/API_docs_v62/types/contacts.Found.md create mode 100644 old_docs/API_docs_v62/types/contacts.ImportedContacts.md create mode 100644 old_docs/API_docs_v62/types/contacts.Link.md create mode 100644 old_docs/API_docs_v62/types/contacts.ResolvedPeer.md create mode 100644 old_docs/API_docs_v62/types/contacts.TopPeers.md delete mode 100644 old_docs/API_docs_v62/types/contacts_Blocked.md delete mode 100644 old_docs/API_docs_v62/types/contacts_Contacts.md delete mode 100644 old_docs/API_docs_v62/types/contacts_Found.md delete mode 100644 old_docs/API_docs_v62/types/contacts_ImportedContacts.md delete mode 100644 old_docs/API_docs_v62/types/contacts_Link.md delete mode 100644 old_docs/API_docs_v62/types/contacts_ResolvedPeer.md delete mode 100644 old_docs/API_docs_v62/types/contacts_TopPeers.md create mode 100644 old_docs/API_docs_v62/types/help.AppChangelog.md create mode 100644 old_docs/API_docs_v62/types/help.AppUpdate.md create mode 100644 old_docs/API_docs_v62/types/help.InviteText.md create mode 100644 old_docs/API_docs_v62/types/help.Support.md create mode 100644 old_docs/API_docs_v62/types/help.TermsOfService.md delete mode 100644 old_docs/API_docs_v62/types/help_AppChangelog.md delete mode 100644 old_docs/API_docs_v62/types/help_AppUpdate.md delete mode 100644 old_docs/API_docs_v62/types/help_InviteText.md delete mode 100644 old_docs/API_docs_v62/types/help_Support.md delete mode 100644 old_docs/API_docs_v62/types/help_TermsOfService.md create mode 100644 old_docs/API_docs_v62/types/messages.AffectedHistory.md create mode 100644 old_docs/API_docs_v62/types/messages.AffectedMessages.md create mode 100644 old_docs/API_docs_v62/types/messages.AllStickers.md create mode 100644 old_docs/API_docs_v62/types/messages.ArchivedStickers.md create mode 100644 old_docs/API_docs_v62/types/messages.BotCallbackAnswer.md create mode 100644 old_docs/API_docs_v62/types/messages.BotResults.md create mode 100644 old_docs/API_docs_v62/types/messages.ChatFull.md create mode 100644 old_docs/API_docs_v62/types/messages.Chats.md create mode 100644 old_docs/API_docs_v62/types/messages.DhConfig.md create mode 100644 old_docs/API_docs_v62/types/messages.Dialogs.md create mode 100644 old_docs/API_docs_v62/types/messages.FeaturedStickers.md create mode 100644 old_docs/API_docs_v62/types/messages.FoundGifs.md create mode 100644 old_docs/API_docs_v62/types/messages.HighScores.md create mode 100644 old_docs/API_docs_v62/types/messages.MessageEditData.md create mode 100644 old_docs/API_docs_v62/types/messages.Messages.md create mode 100644 old_docs/API_docs_v62/types/messages.PeerDialogs.md create mode 100644 old_docs/API_docs_v62/types/messages.RecentStickers.md create mode 100644 old_docs/API_docs_v62/types/messages.SavedGifs.md create mode 100644 old_docs/API_docs_v62/types/messages.SentEncryptedMessage.md create mode 100644 old_docs/API_docs_v62/types/messages.StickerSet.md create mode 100644 old_docs/API_docs_v62/types/messages.StickerSetInstallResult.md create mode 100644 old_docs/API_docs_v62/types/messages.Stickers.md delete mode 100644 old_docs/API_docs_v62/types/messages_AffectedHistory.md delete mode 100644 old_docs/API_docs_v62/types/messages_AffectedMessages.md delete mode 100644 old_docs/API_docs_v62/types/messages_AllStickers.md delete mode 100644 old_docs/API_docs_v62/types/messages_ArchivedStickers.md delete mode 100644 old_docs/API_docs_v62/types/messages_BotCallbackAnswer.md delete mode 100644 old_docs/API_docs_v62/types/messages_BotResults.md delete mode 100644 old_docs/API_docs_v62/types/messages_ChatFull.md delete mode 100644 old_docs/API_docs_v62/types/messages_Chats.md delete mode 100644 old_docs/API_docs_v62/types/messages_DhConfig.md delete mode 100644 old_docs/API_docs_v62/types/messages_Dialogs.md delete mode 100644 old_docs/API_docs_v62/types/messages_FeaturedStickers.md delete mode 100644 old_docs/API_docs_v62/types/messages_FoundGifs.md delete mode 100644 old_docs/API_docs_v62/types/messages_HighScores.md delete mode 100644 old_docs/API_docs_v62/types/messages_MessageEditData.md delete mode 100644 old_docs/API_docs_v62/types/messages_Messages.md delete mode 100644 old_docs/API_docs_v62/types/messages_PeerDialogs.md delete mode 100644 old_docs/API_docs_v62/types/messages_RecentStickers.md delete mode 100644 old_docs/API_docs_v62/types/messages_SavedGifs.md delete mode 100644 old_docs/API_docs_v62/types/messages_SentEncryptedMessage.md delete mode 100644 old_docs/API_docs_v62/types/messages_StickerSet.md delete mode 100644 old_docs/API_docs_v62/types/messages_StickerSetInstallResult.md delete mode 100644 old_docs/API_docs_v62/types/messages_Stickers.md create mode 100644 old_docs/API_docs_v62/types/phone.PhoneCall.md delete mode 100644 old_docs/API_docs_v62/types/phone_PhoneCall.md create mode 100644 old_docs/API_docs_v62/types/photos.Photo.md create mode 100644 old_docs/API_docs_v62/types/photos.Photos.md delete mode 100644 old_docs/API_docs_v62/types/photos_Photo.md delete mode 100644 old_docs/API_docs_v62/types/photos_Photos.md create mode 100644 old_docs/API_docs_v62/types/storage.FileType.md delete mode 100644 old_docs/API_docs_v62/types/storage_FileType.md create mode 100644 old_docs/API_docs_v62/types/updates.ChannelDifference.md create mode 100644 old_docs/API_docs_v62/types/updates.Difference.md create mode 100644 old_docs/API_docs_v62/types/updates.State.md delete mode 100644 old_docs/API_docs_v62/types/updates_ChannelDifference.md delete mode 100644 old_docs/API_docs_v62/types/updates_Difference.md delete mode 100644 old_docs/API_docs_v62/types/updates_State.md create mode 100644 old_docs/API_docs_v62/types/upload.File.md delete mode 100644 old_docs/API_docs_v62/types/upload_File.md create mode 100644 old_docs/API_docs_v65/constructors/account.authorizations.md create mode 100644 old_docs/API_docs_v65/constructors/account.noPassword.md create mode 100644 old_docs/API_docs_v65/constructors/account.password.md create mode 100644 old_docs/API_docs_v65/constructors/account.passwordInputSettings.md create mode 100644 old_docs/API_docs_v65/constructors/account.passwordSettings.md create mode 100644 old_docs/API_docs_v65/constructors/account.privacyRules.md create mode 100644 old_docs/API_docs_v65/constructors/account.tmpPassword.md delete mode 100644 old_docs/API_docs_v65/constructors/account_authorizations.md delete mode 100644 old_docs/API_docs_v65/constructors/account_noPassword.md delete mode 100644 old_docs/API_docs_v65/constructors/account_password.md delete mode 100644 old_docs/API_docs_v65/constructors/account_passwordInputSettings.md delete mode 100644 old_docs/API_docs_v65/constructors/account_passwordSettings.md delete mode 100644 old_docs/API_docs_v65/constructors/account_privacyRules.md delete mode 100644 old_docs/API_docs_v65/constructors/account_tmpPassword.md create mode 100644 old_docs/API_docs_v65/constructors/auth.authorization.md create mode 100644 old_docs/API_docs_v65/constructors/auth.checkedPhone.md create mode 100644 old_docs/API_docs_v65/constructors/auth.codeTypeCall.md create mode 100644 old_docs/API_docs_v65/constructors/auth.codeTypeFlashCall.md create mode 100644 old_docs/API_docs_v65/constructors/auth.codeTypeSms.md create mode 100644 old_docs/API_docs_v65/constructors/auth.exportedAuthorization.md create mode 100644 old_docs/API_docs_v65/constructors/auth.passwordRecovery.md create mode 100644 old_docs/API_docs_v65/constructors/auth.sentCode.md create mode 100644 old_docs/API_docs_v65/constructors/auth.sentCodeTypeApp.md create mode 100644 old_docs/API_docs_v65/constructors/auth.sentCodeTypeCall.md create mode 100644 old_docs/API_docs_v65/constructors/auth.sentCodeTypeFlashCall.md create mode 100644 old_docs/API_docs_v65/constructors/auth.sentCodeTypeSms.md delete mode 100644 old_docs/API_docs_v65/constructors/auth_authorization.md delete mode 100644 old_docs/API_docs_v65/constructors/auth_checkedPhone.md delete mode 100644 old_docs/API_docs_v65/constructors/auth_codeTypeCall.md delete mode 100644 old_docs/API_docs_v65/constructors/auth_codeTypeFlashCall.md delete mode 100644 old_docs/API_docs_v65/constructors/auth_codeTypeSms.md delete mode 100644 old_docs/API_docs_v65/constructors/auth_exportedAuthorization.md delete mode 100644 old_docs/API_docs_v65/constructors/auth_passwordRecovery.md delete mode 100644 old_docs/API_docs_v65/constructors/auth_sentCode.md delete mode 100644 old_docs/API_docs_v65/constructors/auth_sentCodeTypeApp.md delete mode 100644 old_docs/API_docs_v65/constructors/auth_sentCodeTypeCall.md delete mode 100644 old_docs/API_docs_v65/constructors/auth_sentCodeTypeFlashCall.md delete mode 100644 old_docs/API_docs_v65/constructors/auth_sentCodeTypeSms.md create mode 100644 old_docs/API_docs_v65/constructors/channels.channelParticipant.md create mode 100644 old_docs/API_docs_v65/constructors/channels.channelParticipants.md delete mode 100644 old_docs/API_docs_v65/constructors/channels_channelParticipant.md delete mode 100644 old_docs/API_docs_v65/constructors/channels_channelParticipants.md create mode 100644 old_docs/API_docs_v65/constructors/contacts.blocked.md create mode 100644 old_docs/API_docs_v65/constructors/contacts.blockedSlice.md create mode 100644 old_docs/API_docs_v65/constructors/contacts.contacts.md create mode 100644 old_docs/API_docs_v65/constructors/contacts.contactsNotModified.md create mode 100644 old_docs/API_docs_v65/constructors/contacts.found.md create mode 100644 old_docs/API_docs_v65/constructors/contacts.importedContacts.md create mode 100644 old_docs/API_docs_v65/constructors/contacts.link.md create mode 100644 old_docs/API_docs_v65/constructors/contacts.resolvedPeer.md create mode 100644 old_docs/API_docs_v65/constructors/contacts.topPeers.md create mode 100644 old_docs/API_docs_v65/constructors/contacts.topPeersNotModified.md delete mode 100644 old_docs/API_docs_v65/constructors/contacts_blocked.md delete mode 100644 old_docs/API_docs_v65/constructors/contacts_blockedSlice.md delete mode 100644 old_docs/API_docs_v65/constructors/contacts_contacts.md delete mode 100644 old_docs/API_docs_v65/constructors/contacts_contactsNotModified.md delete mode 100644 old_docs/API_docs_v65/constructors/contacts_found.md delete mode 100644 old_docs/API_docs_v65/constructors/contacts_importedContacts.md delete mode 100644 old_docs/API_docs_v65/constructors/contacts_link.md delete mode 100644 old_docs/API_docs_v65/constructors/contacts_resolvedPeer.md delete mode 100644 old_docs/API_docs_v65/constructors/contacts_topPeers.md delete mode 100644 old_docs/API_docs_v65/constructors/contacts_topPeersNotModified.md create mode 100644 old_docs/API_docs_v65/constructors/help.appUpdate.md create mode 100644 old_docs/API_docs_v65/constructors/help.inviteText.md create mode 100644 old_docs/API_docs_v65/constructors/help.noAppUpdate.md create mode 100644 old_docs/API_docs_v65/constructors/help.support.md create mode 100644 old_docs/API_docs_v65/constructors/help.termsOfService.md delete mode 100644 old_docs/API_docs_v65/constructors/help_appUpdate.md delete mode 100644 old_docs/API_docs_v65/constructors/help_inviteText.md delete mode 100644 old_docs/API_docs_v65/constructors/help_noAppUpdate.md delete mode 100644 old_docs/API_docs_v65/constructors/help_support.md delete mode 100644 old_docs/API_docs_v65/constructors/help_termsOfService.md create mode 100644 old_docs/API_docs_v65/constructors/messages.affectedHistory.md create mode 100644 old_docs/API_docs_v65/constructors/messages.affectedMessages.md create mode 100644 old_docs/API_docs_v65/constructors/messages.allStickers.md create mode 100644 old_docs/API_docs_v65/constructors/messages.allStickersNotModified.md create mode 100644 old_docs/API_docs_v65/constructors/messages.archivedStickers.md create mode 100644 old_docs/API_docs_v65/constructors/messages.botCallbackAnswer.md create mode 100644 old_docs/API_docs_v65/constructors/messages.botResults.md create mode 100644 old_docs/API_docs_v65/constructors/messages.channelMessages.md create mode 100644 old_docs/API_docs_v65/constructors/messages.chatFull.md create mode 100644 old_docs/API_docs_v65/constructors/messages.chats.md create mode 100644 old_docs/API_docs_v65/constructors/messages.chatsSlice.md create mode 100644 old_docs/API_docs_v65/constructors/messages.dhConfig.md create mode 100644 old_docs/API_docs_v65/constructors/messages.dhConfigNotModified.md create mode 100644 old_docs/API_docs_v65/constructors/messages.dialogs.md create mode 100644 old_docs/API_docs_v65/constructors/messages.dialogsSlice.md create mode 100644 old_docs/API_docs_v65/constructors/messages.featuredStickers.md create mode 100644 old_docs/API_docs_v65/constructors/messages.featuredStickersNotModified.md create mode 100644 old_docs/API_docs_v65/constructors/messages.foundGifs.md create mode 100644 old_docs/API_docs_v65/constructors/messages.highScores.md create mode 100644 old_docs/API_docs_v65/constructors/messages.messageEditData.md create mode 100644 old_docs/API_docs_v65/constructors/messages.messages.md create mode 100644 old_docs/API_docs_v65/constructors/messages.messagesSlice.md create mode 100644 old_docs/API_docs_v65/constructors/messages.peerDialogs.md create mode 100644 old_docs/API_docs_v65/constructors/messages.recentStickers.md create mode 100644 old_docs/API_docs_v65/constructors/messages.recentStickersNotModified.md create mode 100644 old_docs/API_docs_v65/constructors/messages.savedGifs.md create mode 100644 old_docs/API_docs_v65/constructors/messages.savedGifsNotModified.md create mode 100644 old_docs/API_docs_v65/constructors/messages.sentEncryptedFile.md create mode 100644 old_docs/API_docs_v65/constructors/messages.sentEncryptedMessage.md create mode 100644 old_docs/API_docs_v65/constructors/messages.stickerSet.md create mode 100644 old_docs/API_docs_v65/constructors/messages.stickerSetInstallResultArchive.md create mode 100644 old_docs/API_docs_v65/constructors/messages.stickerSetInstallResultSuccess.md create mode 100644 old_docs/API_docs_v65/constructors/messages.stickers.md create mode 100644 old_docs/API_docs_v65/constructors/messages.stickersNotModified.md delete mode 100644 old_docs/API_docs_v65/constructors/messages_affectedHistory.md delete mode 100644 old_docs/API_docs_v65/constructors/messages_affectedMessages.md delete mode 100644 old_docs/API_docs_v65/constructors/messages_allStickers.md delete mode 100644 old_docs/API_docs_v65/constructors/messages_allStickersNotModified.md delete mode 100644 old_docs/API_docs_v65/constructors/messages_archivedStickers.md delete mode 100644 old_docs/API_docs_v65/constructors/messages_botCallbackAnswer.md delete mode 100644 old_docs/API_docs_v65/constructors/messages_botResults.md delete mode 100644 old_docs/API_docs_v65/constructors/messages_channelMessages.md delete mode 100644 old_docs/API_docs_v65/constructors/messages_chatFull.md delete mode 100644 old_docs/API_docs_v65/constructors/messages_chats.md delete mode 100644 old_docs/API_docs_v65/constructors/messages_chatsSlice.md delete mode 100644 old_docs/API_docs_v65/constructors/messages_dhConfig.md delete mode 100644 old_docs/API_docs_v65/constructors/messages_dhConfigNotModified.md delete mode 100644 old_docs/API_docs_v65/constructors/messages_dialogs.md delete mode 100644 old_docs/API_docs_v65/constructors/messages_dialogsSlice.md delete mode 100644 old_docs/API_docs_v65/constructors/messages_featuredStickers.md delete mode 100644 old_docs/API_docs_v65/constructors/messages_featuredStickersNotModified.md delete mode 100644 old_docs/API_docs_v65/constructors/messages_foundGifs.md delete mode 100644 old_docs/API_docs_v65/constructors/messages_highScores.md delete mode 100644 old_docs/API_docs_v65/constructors/messages_messageEditData.md delete mode 100644 old_docs/API_docs_v65/constructors/messages_messages.md delete mode 100644 old_docs/API_docs_v65/constructors/messages_messagesSlice.md delete mode 100644 old_docs/API_docs_v65/constructors/messages_peerDialogs.md delete mode 100644 old_docs/API_docs_v65/constructors/messages_recentStickers.md delete mode 100644 old_docs/API_docs_v65/constructors/messages_recentStickersNotModified.md delete mode 100644 old_docs/API_docs_v65/constructors/messages_savedGifs.md delete mode 100644 old_docs/API_docs_v65/constructors/messages_savedGifsNotModified.md delete mode 100644 old_docs/API_docs_v65/constructors/messages_sentEncryptedFile.md delete mode 100644 old_docs/API_docs_v65/constructors/messages_sentEncryptedMessage.md delete mode 100644 old_docs/API_docs_v65/constructors/messages_stickerSet.md delete mode 100644 old_docs/API_docs_v65/constructors/messages_stickerSetInstallResultArchive.md delete mode 100644 old_docs/API_docs_v65/constructors/messages_stickerSetInstallResultSuccess.md delete mode 100644 old_docs/API_docs_v65/constructors/messages_stickers.md delete mode 100644 old_docs/API_docs_v65/constructors/messages_stickersNotModified.md create mode 100644 old_docs/API_docs_v65/constructors/payments.paymentForm.md create mode 100644 old_docs/API_docs_v65/constructors/payments.paymentReceipt.md create mode 100644 old_docs/API_docs_v65/constructors/payments.paymentResult.md create mode 100644 old_docs/API_docs_v65/constructors/payments.paymentVerficationNeeded.md create mode 100644 old_docs/API_docs_v65/constructors/payments.savedInfo.md create mode 100644 old_docs/API_docs_v65/constructors/payments.validatedRequestedInfo.md delete mode 100644 old_docs/API_docs_v65/constructors/payments_paymentForm.md delete mode 100644 old_docs/API_docs_v65/constructors/payments_paymentReceipt.md delete mode 100644 old_docs/API_docs_v65/constructors/payments_paymentResult.md delete mode 100644 old_docs/API_docs_v65/constructors/payments_paymentVerficationNeeded.md delete mode 100644 old_docs/API_docs_v65/constructors/payments_savedInfo.md delete mode 100644 old_docs/API_docs_v65/constructors/payments_validatedRequestedInfo.md create mode 100644 old_docs/API_docs_v65/constructors/phone.phoneCall.md delete mode 100644 old_docs/API_docs_v65/constructors/phone_phoneCall.md create mode 100644 old_docs/API_docs_v65/constructors/photos.photo.md create mode 100644 old_docs/API_docs_v65/constructors/photos.photos.md create mode 100644 old_docs/API_docs_v65/constructors/photos.photosSlice.md delete mode 100644 old_docs/API_docs_v65/constructors/photos_photo.md delete mode 100644 old_docs/API_docs_v65/constructors/photos_photos.md delete mode 100644 old_docs/API_docs_v65/constructors/photos_photosSlice.md create mode 100644 old_docs/API_docs_v65/constructors/storage.fileGif.md create mode 100644 old_docs/API_docs_v65/constructors/storage.fileJpeg.md create mode 100644 old_docs/API_docs_v65/constructors/storage.fileMov.md create mode 100644 old_docs/API_docs_v65/constructors/storage.fileMp3.md create mode 100644 old_docs/API_docs_v65/constructors/storage.fileMp4.md create mode 100644 old_docs/API_docs_v65/constructors/storage.filePartial.md create mode 100644 old_docs/API_docs_v65/constructors/storage.filePdf.md create mode 100644 old_docs/API_docs_v65/constructors/storage.filePng.md create mode 100644 old_docs/API_docs_v65/constructors/storage.fileUnknown.md create mode 100644 old_docs/API_docs_v65/constructors/storage.fileWebp.md delete mode 100644 old_docs/API_docs_v65/constructors/storage_fileGif.md delete mode 100644 old_docs/API_docs_v65/constructors/storage_fileJpeg.md delete mode 100644 old_docs/API_docs_v65/constructors/storage_fileMov.md delete mode 100644 old_docs/API_docs_v65/constructors/storage_fileMp3.md delete mode 100644 old_docs/API_docs_v65/constructors/storage_fileMp4.md delete mode 100644 old_docs/API_docs_v65/constructors/storage_filePartial.md delete mode 100644 old_docs/API_docs_v65/constructors/storage_filePdf.md delete mode 100644 old_docs/API_docs_v65/constructors/storage_filePng.md delete mode 100644 old_docs/API_docs_v65/constructors/storage_fileUnknown.md delete mode 100644 old_docs/API_docs_v65/constructors/storage_fileWebp.md create mode 100644 old_docs/API_docs_v65/constructors/updates.channelDifference.md create mode 100644 old_docs/API_docs_v65/constructors/updates.channelDifferenceEmpty.md create mode 100644 old_docs/API_docs_v65/constructors/updates.channelDifferenceTooLong.md create mode 100644 old_docs/API_docs_v65/constructors/updates.difference.md create mode 100644 old_docs/API_docs_v65/constructors/updates.differenceEmpty.md create mode 100644 old_docs/API_docs_v65/constructors/updates.differenceSlice.md create mode 100644 old_docs/API_docs_v65/constructors/updates.differenceTooLong.md create mode 100644 old_docs/API_docs_v65/constructors/updates.state.md delete mode 100644 old_docs/API_docs_v65/constructors/updates_channelDifference.md delete mode 100644 old_docs/API_docs_v65/constructors/updates_channelDifferenceEmpty.md delete mode 100644 old_docs/API_docs_v65/constructors/updates_channelDifferenceTooLong.md delete mode 100644 old_docs/API_docs_v65/constructors/updates_difference.md delete mode 100644 old_docs/API_docs_v65/constructors/updates_differenceEmpty.md delete mode 100644 old_docs/API_docs_v65/constructors/updates_differenceSlice.md delete mode 100644 old_docs/API_docs_v65/constructors/updates_differenceTooLong.md delete mode 100644 old_docs/API_docs_v65/constructors/updates_state.md create mode 100644 old_docs/API_docs_v65/constructors/upload.file.md create mode 100644 old_docs/API_docs_v65/constructors/upload.webFile.md delete mode 100644 old_docs/API_docs_v65/constructors/upload_file.md delete mode 100644 old_docs/API_docs_v65/constructors/upload_webFile.md create mode 100644 old_docs/API_docs_v65/types/account.Authorizations.md create mode 100644 old_docs/API_docs_v65/types/account.Password.md create mode 100644 old_docs/API_docs_v65/types/account.PasswordInputSettings.md create mode 100644 old_docs/API_docs_v65/types/account.PasswordSettings.md create mode 100644 old_docs/API_docs_v65/types/account.PrivacyRules.md create mode 100644 old_docs/API_docs_v65/types/account.TmpPassword.md delete mode 100644 old_docs/API_docs_v65/types/account_Authorizations.md delete mode 100644 old_docs/API_docs_v65/types/account_Password.md delete mode 100644 old_docs/API_docs_v65/types/account_PasswordInputSettings.md delete mode 100644 old_docs/API_docs_v65/types/account_PasswordSettings.md delete mode 100644 old_docs/API_docs_v65/types/account_PrivacyRules.md delete mode 100644 old_docs/API_docs_v65/types/account_TmpPassword.md create mode 100644 old_docs/API_docs_v65/types/auth.Authorization.md create mode 100644 old_docs/API_docs_v65/types/auth.CheckedPhone.md create mode 100644 old_docs/API_docs_v65/types/auth.CodeType.md create mode 100644 old_docs/API_docs_v65/types/auth.ExportedAuthorization.md create mode 100644 old_docs/API_docs_v65/types/auth.PasswordRecovery.md create mode 100644 old_docs/API_docs_v65/types/auth.SentCode.md create mode 100644 old_docs/API_docs_v65/types/auth.SentCodeType.md delete mode 100644 old_docs/API_docs_v65/types/auth_Authorization.md delete mode 100644 old_docs/API_docs_v65/types/auth_CheckedPhone.md delete mode 100644 old_docs/API_docs_v65/types/auth_CodeType.md delete mode 100644 old_docs/API_docs_v65/types/auth_ExportedAuthorization.md delete mode 100644 old_docs/API_docs_v65/types/auth_PasswordRecovery.md delete mode 100644 old_docs/API_docs_v65/types/auth_SentCode.md delete mode 100644 old_docs/API_docs_v65/types/auth_SentCodeType.md create mode 100644 old_docs/API_docs_v65/types/channels.ChannelParticipant.md create mode 100644 old_docs/API_docs_v65/types/channels.ChannelParticipants.md delete mode 100644 old_docs/API_docs_v65/types/channels_ChannelParticipant.md delete mode 100644 old_docs/API_docs_v65/types/channels_ChannelParticipants.md create mode 100644 old_docs/API_docs_v65/types/contacts.Blocked.md create mode 100644 old_docs/API_docs_v65/types/contacts.Contacts.md create mode 100644 old_docs/API_docs_v65/types/contacts.Found.md create mode 100644 old_docs/API_docs_v65/types/contacts.ImportedContacts.md create mode 100644 old_docs/API_docs_v65/types/contacts.Link.md create mode 100644 old_docs/API_docs_v65/types/contacts.ResolvedPeer.md create mode 100644 old_docs/API_docs_v65/types/contacts.TopPeers.md delete mode 100644 old_docs/API_docs_v65/types/contacts_Blocked.md delete mode 100644 old_docs/API_docs_v65/types/contacts_Contacts.md delete mode 100644 old_docs/API_docs_v65/types/contacts_Found.md delete mode 100644 old_docs/API_docs_v65/types/contacts_ImportedContacts.md delete mode 100644 old_docs/API_docs_v65/types/contacts_Link.md delete mode 100644 old_docs/API_docs_v65/types/contacts_ResolvedPeer.md delete mode 100644 old_docs/API_docs_v65/types/contacts_TopPeers.md create mode 100644 old_docs/API_docs_v65/types/help.AppUpdate.md create mode 100644 old_docs/API_docs_v65/types/help.InviteText.md create mode 100644 old_docs/API_docs_v65/types/help.Support.md create mode 100644 old_docs/API_docs_v65/types/help.TermsOfService.md delete mode 100644 old_docs/API_docs_v65/types/help_AppUpdate.md delete mode 100644 old_docs/API_docs_v65/types/help_InviteText.md delete mode 100644 old_docs/API_docs_v65/types/help_Support.md delete mode 100644 old_docs/API_docs_v65/types/help_TermsOfService.md create mode 100644 old_docs/API_docs_v65/types/messages.AffectedHistory.md create mode 100644 old_docs/API_docs_v65/types/messages.AffectedMessages.md create mode 100644 old_docs/API_docs_v65/types/messages.AllStickers.md create mode 100644 old_docs/API_docs_v65/types/messages.ArchivedStickers.md create mode 100644 old_docs/API_docs_v65/types/messages.BotCallbackAnswer.md create mode 100644 old_docs/API_docs_v65/types/messages.BotResults.md create mode 100644 old_docs/API_docs_v65/types/messages.ChatFull.md create mode 100644 old_docs/API_docs_v65/types/messages.Chats.md create mode 100644 old_docs/API_docs_v65/types/messages.DhConfig.md create mode 100644 old_docs/API_docs_v65/types/messages.Dialogs.md create mode 100644 old_docs/API_docs_v65/types/messages.FeaturedStickers.md create mode 100644 old_docs/API_docs_v65/types/messages.FoundGifs.md create mode 100644 old_docs/API_docs_v65/types/messages.HighScores.md create mode 100644 old_docs/API_docs_v65/types/messages.MessageEditData.md create mode 100644 old_docs/API_docs_v65/types/messages.Messages.md create mode 100644 old_docs/API_docs_v65/types/messages.PeerDialogs.md create mode 100644 old_docs/API_docs_v65/types/messages.RecentStickers.md create mode 100644 old_docs/API_docs_v65/types/messages.SavedGifs.md create mode 100644 old_docs/API_docs_v65/types/messages.SentEncryptedMessage.md create mode 100644 old_docs/API_docs_v65/types/messages.StickerSet.md create mode 100644 old_docs/API_docs_v65/types/messages.StickerSetInstallResult.md create mode 100644 old_docs/API_docs_v65/types/messages.Stickers.md delete mode 100644 old_docs/API_docs_v65/types/messages_AffectedHistory.md delete mode 100644 old_docs/API_docs_v65/types/messages_AffectedMessages.md delete mode 100644 old_docs/API_docs_v65/types/messages_AllStickers.md delete mode 100644 old_docs/API_docs_v65/types/messages_ArchivedStickers.md delete mode 100644 old_docs/API_docs_v65/types/messages_BotCallbackAnswer.md delete mode 100644 old_docs/API_docs_v65/types/messages_BotResults.md delete mode 100644 old_docs/API_docs_v65/types/messages_ChatFull.md delete mode 100644 old_docs/API_docs_v65/types/messages_Chats.md delete mode 100644 old_docs/API_docs_v65/types/messages_DhConfig.md delete mode 100644 old_docs/API_docs_v65/types/messages_Dialogs.md delete mode 100644 old_docs/API_docs_v65/types/messages_FeaturedStickers.md delete mode 100644 old_docs/API_docs_v65/types/messages_FoundGifs.md delete mode 100644 old_docs/API_docs_v65/types/messages_HighScores.md delete mode 100644 old_docs/API_docs_v65/types/messages_MessageEditData.md delete mode 100644 old_docs/API_docs_v65/types/messages_Messages.md delete mode 100644 old_docs/API_docs_v65/types/messages_PeerDialogs.md delete mode 100644 old_docs/API_docs_v65/types/messages_RecentStickers.md delete mode 100644 old_docs/API_docs_v65/types/messages_SavedGifs.md delete mode 100644 old_docs/API_docs_v65/types/messages_SentEncryptedMessage.md delete mode 100644 old_docs/API_docs_v65/types/messages_StickerSet.md delete mode 100644 old_docs/API_docs_v65/types/messages_StickerSetInstallResult.md delete mode 100644 old_docs/API_docs_v65/types/messages_Stickers.md create mode 100644 old_docs/API_docs_v65/types/payments.PaymentForm.md create mode 100644 old_docs/API_docs_v65/types/payments.PaymentReceipt.md create mode 100644 old_docs/API_docs_v65/types/payments.PaymentResult.md create mode 100644 old_docs/API_docs_v65/types/payments.SavedInfo.md create mode 100644 old_docs/API_docs_v65/types/payments.ValidatedRequestedInfo.md delete mode 100644 old_docs/API_docs_v65/types/payments_PaymentForm.md delete mode 100644 old_docs/API_docs_v65/types/payments_PaymentReceipt.md delete mode 100644 old_docs/API_docs_v65/types/payments_PaymentResult.md delete mode 100644 old_docs/API_docs_v65/types/payments_SavedInfo.md delete mode 100644 old_docs/API_docs_v65/types/payments_ValidatedRequestedInfo.md create mode 100644 old_docs/API_docs_v65/types/phone.PhoneCall.md delete mode 100644 old_docs/API_docs_v65/types/phone_PhoneCall.md create mode 100644 old_docs/API_docs_v65/types/photos.Photo.md create mode 100644 old_docs/API_docs_v65/types/photos.Photos.md delete mode 100644 old_docs/API_docs_v65/types/photos_Photo.md delete mode 100644 old_docs/API_docs_v65/types/photos_Photos.md create mode 100644 old_docs/API_docs_v65/types/storage.FileType.md delete mode 100644 old_docs/API_docs_v65/types/storage_FileType.md create mode 100644 old_docs/API_docs_v65/types/updates.ChannelDifference.md create mode 100644 old_docs/API_docs_v65/types/updates.Difference.md create mode 100644 old_docs/API_docs_v65/types/updates.State.md delete mode 100644 old_docs/API_docs_v65/types/updates_ChannelDifference.md delete mode 100644 old_docs/API_docs_v65/types/updates_Difference.md delete mode 100644 old_docs/API_docs_v65/types/updates_State.md create mode 100644 old_docs/API_docs_v65/types/upload.File.md create mode 100644 old_docs/API_docs_v65/types/upload.WebFile.md delete mode 100644 old_docs/API_docs_v65/types/upload_File.md delete mode 100644 old_docs/API_docs_v65/types/upload_WebFile.md create mode 100644 old_docs/API_docs_v66/constructors/account.authorizations.md create mode 100644 old_docs/API_docs_v66/constructors/account.noPassword.md create mode 100644 old_docs/API_docs_v66/constructors/account.password.md create mode 100644 old_docs/API_docs_v66/constructors/account.passwordInputSettings.md create mode 100644 old_docs/API_docs_v66/constructors/account.passwordSettings.md create mode 100644 old_docs/API_docs_v66/constructors/account.privacyRules.md create mode 100644 old_docs/API_docs_v66/constructors/account.tmpPassword.md delete mode 100644 old_docs/API_docs_v66/constructors/account_authorizations.md delete mode 100644 old_docs/API_docs_v66/constructors/account_noPassword.md delete mode 100644 old_docs/API_docs_v66/constructors/account_password.md delete mode 100644 old_docs/API_docs_v66/constructors/account_passwordInputSettings.md delete mode 100644 old_docs/API_docs_v66/constructors/account_passwordSettings.md delete mode 100644 old_docs/API_docs_v66/constructors/account_privacyRules.md delete mode 100644 old_docs/API_docs_v66/constructors/account_tmpPassword.md create mode 100644 old_docs/API_docs_v66/constructors/auth.authorization.md create mode 100644 old_docs/API_docs_v66/constructors/auth.checkedPhone.md create mode 100644 old_docs/API_docs_v66/constructors/auth.codeTypeCall.md create mode 100644 old_docs/API_docs_v66/constructors/auth.codeTypeFlashCall.md create mode 100644 old_docs/API_docs_v66/constructors/auth.codeTypeSms.md create mode 100644 old_docs/API_docs_v66/constructors/auth.exportedAuthorization.md create mode 100644 old_docs/API_docs_v66/constructors/auth.passwordRecovery.md create mode 100644 old_docs/API_docs_v66/constructors/auth.sentCode.md create mode 100644 old_docs/API_docs_v66/constructors/auth.sentCodeTypeApp.md create mode 100644 old_docs/API_docs_v66/constructors/auth.sentCodeTypeCall.md create mode 100644 old_docs/API_docs_v66/constructors/auth.sentCodeTypeFlashCall.md create mode 100644 old_docs/API_docs_v66/constructors/auth.sentCodeTypeSms.md delete mode 100644 old_docs/API_docs_v66/constructors/auth_authorization.md delete mode 100644 old_docs/API_docs_v66/constructors/auth_checkedPhone.md delete mode 100644 old_docs/API_docs_v66/constructors/auth_codeTypeCall.md delete mode 100644 old_docs/API_docs_v66/constructors/auth_codeTypeFlashCall.md delete mode 100644 old_docs/API_docs_v66/constructors/auth_codeTypeSms.md delete mode 100644 old_docs/API_docs_v66/constructors/auth_exportedAuthorization.md delete mode 100644 old_docs/API_docs_v66/constructors/auth_passwordRecovery.md delete mode 100644 old_docs/API_docs_v66/constructors/auth_sentCode.md delete mode 100644 old_docs/API_docs_v66/constructors/auth_sentCodeTypeApp.md delete mode 100644 old_docs/API_docs_v66/constructors/auth_sentCodeTypeCall.md delete mode 100644 old_docs/API_docs_v66/constructors/auth_sentCodeTypeFlashCall.md delete mode 100644 old_docs/API_docs_v66/constructors/auth_sentCodeTypeSms.md create mode 100644 old_docs/API_docs_v66/constructors/channels.channelParticipant.md create mode 100644 old_docs/API_docs_v66/constructors/channels.channelParticipants.md delete mode 100644 old_docs/API_docs_v66/constructors/channels_channelParticipant.md delete mode 100644 old_docs/API_docs_v66/constructors/channels_channelParticipants.md create mode 100644 old_docs/API_docs_v66/constructors/contacts.blocked.md create mode 100644 old_docs/API_docs_v66/constructors/contacts.blockedSlice.md create mode 100644 old_docs/API_docs_v66/constructors/contacts.contacts.md create mode 100644 old_docs/API_docs_v66/constructors/contacts.contactsNotModified.md create mode 100644 old_docs/API_docs_v66/constructors/contacts.found.md create mode 100644 old_docs/API_docs_v66/constructors/contacts.importedContacts.md create mode 100644 old_docs/API_docs_v66/constructors/contacts.link.md create mode 100644 old_docs/API_docs_v66/constructors/contacts.resolvedPeer.md create mode 100644 old_docs/API_docs_v66/constructors/contacts.topPeers.md create mode 100644 old_docs/API_docs_v66/constructors/contacts.topPeersNotModified.md delete mode 100644 old_docs/API_docs_v66/constructors/contacts_blocked.md delete mode 100644 old_docs/API_docs_v66/constructors/contacts_blockedSlice.md delete mode 100644 old_docs/API_docs_v66/constructors/contacts_contacts.md delete mode 100644 old_docs/API_docs_v66/constructors/contacts_contactsNotModified.md delete mode 100644 old_docs/API_docs_v66/constructors/contacts_found.md delete mode 100644 old_docs/API_docs_v66/constructors/contacts_importedContacts.md delete mode 100644 old_docs/API_docs_v66/constructors/contacts_link.md delete mode 100644 old_docs/API_docs_v66/constructors/contacts_resolvedPeer.md delete mode 100644 old_docs/API_docs_v66/constructors/contacts_topPeers.md delete mode 100644 old_docs/API_docs_v66/constructors/contacts_topPeersNotModified.md create mode 100644 old_docs/API_docs_v66/constructors/help.appUpdate.md create mode 100644 old_docs/API_docs_v66/constructors/help.inviteText.md create mode 100644 old_docs/API_docs_v66/constructors/help.noAppUpdate.md create mode 100644 old_docs/API_docs_v66/constructors/help.support.md create mode 100644 old_docs/API_docs_v66/constructors/help.termsOfService.md delete mode 100644 old_docs/API_docs_v66/constructors/help_appUpdate.md delete mode 100644 old_docs/API_docs_v66/constructors/help_inviteText.md delete mode 100644 old_docs/API_docs_v66/constructors/help_noAppUpdate.md delete mode 100644 old_docs/API_docs_v66/constructors/help_support.md delete mode 100644 old_docs/API_docs_v66/constructors/help_termsOfService.md create mode 100644 old_docs/API_docs_v66/constructors/messages.affectedHistory.md create mode 100644 old_docs/API_docs_v66/constructors/messages.affectedMessages.md create mode 100644 old_docs/API_docs_v66/constructors/messages.allStickers.md create mode 100644 old_docs/API_docs_v66/constructors/messages.allStickersNotModified.md create mode 100644 old_docs/API_docs_v66/constructors/messages.archivedStickers.md create mode 100644 old_docs/API_docs_v66/constructors/messages.botCallbackAnswer.md create mode 100644 old_docs/API_docs_v66/constructors/messages.botResults.md create mode 100644 old_docs/API_docs_v66/constructors/messages.channelMessages.md create mode 100644 old_docs/API_docs_v66/constructors/messages.chatFull.md create mode 100644 old_docs/API_docs_v66/constructors/messages.chats.md create mode 100644 old_docs/API_docs_v66/constructors/messages.chatsSlice.md create mode 100644 old_docs/API_docs_v66/constructors/messages.dhConfig.md create mode 100644 old_docs/API_docs_v66/constructors/messages.dhConfigNotModified.md create mode 100644 old_docs/API_docs_v66/constructors/messages.dialogs.md create mode 100644 old_docs/API_docs_v66/constructors/messages.dialogsSlice.md create mode 100644 old_docs/API_docs_v66/constructors/messages.featuredStickers.md create mode 100644 old_docs/API_docs_v66/constructors/messages.featuredStickersNotModified.md create mode 100644 old_docs/API_docs_v66/constructors/messages.foundGifs.md create mode 100644 old_docs/API_docs_v66/constructors/messages.highScores.md create mode 100644 old_docs/API_docs_v66/constructors/messages.messageEditData.md create mode 100644 old_docs/API_docs_v66/constructors/messages.messages.md create mode 100644 old_docs/API_docs_v66/constructors/messages.messagesSlice.md create mode 100644 old_docs/API_docs_v66/constructors/messages.peerDialogs.md create mode 100644 old_docs/API_docs_v66/constructors/messages.recentStickers.md create mode 100644 old_docs/API_docs_v66/constructors/messages.recentStickersNotModified.md create mode 100644 old_docs/API_docs_v66/constructors/messages.savedGifs.md create mode 100644 old_docs/API_docs_v66/constructors/messages.savedGifsNotModified.md create mode 100644 old_docs/API_docs_v66/constructors/messages.sentEncryptedFile.md create mode 100644 old_docs/API_docs_v66/constructors/messages.sentEncryptedMessage.md create mode 100644 old_docs/API_docs_v66/constructors/messages.stickerSet.md create mode 100644 old_docs/API_docs_v66/constructors/messages.stickerSetInstallResultArchive.md create mode 100644 old_docs/API_docs_v66/constructors/messages.stickerSetInstallResultSuccess.md create mode 100644 old_docs/API_docs_v66/constructors/messages.stickers.md create mode 100644 old_docs/API_docs_v66/constructors/messages.stickersNotModified.md delete mode 100644 old_docs/API_docs_v66/constructors/messages_affectedHistory.md delete mode 100644 old_docs/API_docs_v66/constructors/messages_affectedMessages.md delete mode 100644 old_docs/API_docs_v66/constructors/messages_allStickers.md delete mode 100644 old_docs/API_docs_v66/constructors/messages_allStickersNotModified.md delete mode 100644 old_docs/API_docs_v66/constructors/messages_archivedStickers.md delete mode 100644 old_docs/API_docs_v66/constructors/messages_botCallbackAnswer.md delete mode 100644 old_docs/API_docs_v66/constructors/messages_botResults.md delete mode 100644 old_docs/API_docs_v66/constructors/messages_channelMessages.md delete mode 100644 old_docs/API_docs_v66/constructors/messages_chatFull.md delete mode 100644 old_docs/API_docs_v66/constructors/messages_chats.md delete mode 100644 old_docs/API_docs_v66/constructors/messages_chatsSlice.md delete mode 100644 old_docs/API_docs_v66/constructors/messages_dhConfig.md delete mode 100644 old_docs/API_docs_v66/constructors/messages_dhConfigNotModified.md delete mode 100644 old_docs/API_docs_v66/constructors/messages_dialogs.md delete mode 100644 old_docs/API_docs_v66/constructors/messages_dialogsSlice.md delete mode 100644 old_docs/API_docs_v66/constructors/messages_featuredStickers.md delete mode 100644 old_docs/API_docs_v66/constructors/messages_featuredStickersNotModified.md delete mode 100644 old_docs/API_docs_v66/constructors/messages_foundGifs.md delete mode 100644 old_docs/API_docs_v66/constructors/messages_highScores.md delete mode 100644 old_docs/API_docs_v66/constructors/messages_messageEditData.md delete mode 100644 old_docs/API_docs_v66/constructors/messages_messages.md delete mode 100644 old_docs/API_docs_v66/constructors/messages_messagesSlice.md delete mode 100644 old_docs/API_docs_v66/constructors/messages_peerDialogs.md delete mode 100644 old_docs/API_docs_v66/constructors/messages_recentStickers.md delete mode 100644 old_docs/API_docs_v66/constructors/messages_recentStickersNotModified.md delete mode 100644 old_docs/API_docs_v66/constructors/messages_savedGifs.md delete mode 100644 old_docs/API_docs_v66/constructors/messages_savedGifsNotModified.md delete mode 100644 old_docs/API_docs_v66/constructors/messages_sentEncryptedFile.md delete mode 100644 old_docs/API_docs_v66/constructors/messages_sentEncryptedMessage.md delete mode 100644 old_docs/API_docs_v66/constructors/messages_stickerSet.md delete mode 100644 old_docs/API_docs_v66/constructors/messages_stickerSetInstallResultArchive.md delete mode 100644 old_docs/API_docs_v66/constructors/messages_stickerSetInstallResultSuccess.md delete mode 100644 old_docs/API_docs_v66/constructors/messages_stickers.md delete mode 100644 old_docs/API_docs_v66/constructors/messages_stickersNotModified.md create mode 100644 old_docs/API_docs_v66/constructors/payments.paymentForm.md create mode 100644 old_docs/API_docs_v66/constructors/payments.paymentReceipt.md create mode 100644 old_docs/API_docs_v66/constructors/payments.paymentResult.md create mode 100644 old_docs/API_docs_v66/constructors/payments.paymentVerficationNeeded.md create mode 100644 old_docs/API_docs_v66/constructors/payments.savedInfo.md create mode 100644 old_docs/API_docs_v66/constructors/payments.validatedRequestedInfo.md delete mode 100644 old_docs/API_docs_v66/constructors/payments_paymentForm.md delete mode 100644 old_docs/API_docs_v66/constructors/payments_paymentReceipt.md delete mode 100644 old_docs/API_docs_v66/constructors/payments_paymentResult.md delete mode 100644 old_docs/API_docs_v66/constructors/payments_paymentVerficationNeeded.md delete mode 100644 old_docs/API_docs_v66/constructors/payments_savedInfo.md delete mode 100644 old_docs/API_docs_v66/constructors/payments_validatedRequestedInfo.md create mode 100644 old_docs/API_docs_v66/constructors/phone.phoneCall.md delete mode 100644 old_docs/API_docs_v66/constructors/phone_phoneCall.md create mode 100644 old_docs/API_docs_v66/constructors/photos.photo.md create mode 100644 old_docs/API_docs_v66/constructors/photos.photos.md create mode 100644 old_docs/API_docs_v66/constructors/photos.photosSlice.md delete mode 100644 old_docs/API_docs_v66/constructors/photos_photo.md delete mode 100644 old_docs/API_docs_v66/constructors/photos_photos.md delete mode 100644 old_docs/API_docs_v66/constructors/photos_photosSlice.md create mode 100644 old_docs/API_docs_v66/constructors/storage.fileGif.md create mode 100644 old_docs/API_docs_v66/constructors/storage.fileJpeg.md create mode 100644 old_docs/API_docs_v66/constructors/storage.fileMov.md create mode 100644 old_docs/API_docs_v66/constructors/storage.fileMp3.md create mode 100644 old_docs/API_docs_v66/constructors/storage.fileMp4.md create mode 100644 old_docs/API_docs_v66/constructors/storage.filePartial.md create mode 100644 old_docs/API_docs_v66/constructors/storage.filePdf.md create mode 100644 old_docs/API_docs_v66/constructors/storage.filePng.md create mode 100644 old_docs/API_docs_v66/constructors/storage.fileUnknown.md create mode 100644 old_docs/API_docs_v66/constructors/storage.fileWebp.md delete mode 100644 old_docs/API_docs_v66/constructors/storage_fileGif.md delete mode 100644 old_docs/API_docs_v66/constructors/storage_fileJpeg.md delete mode 100644 old_docs/API_docs_v66/constructors/storage_fileMov.md delete mode 100644 old_docs/API_docs_v66/constructors/storage_fileMp3.md delete mode 100644 old_docs/API_docs_v66/constructors/storage_fileMp4.md delete mode 100644 old_docs/API_docs_v66/constructors/storage_filePartial.md delete mode 100644 old_docs/API_docs_v66/constructors/storage_filePdf.md delete mode 100644 old_docs/API_docs_v66/constructors/storage_filePng.md delete mode 100644 old_docs/API_docs_v66/constructors/storage_fileUnknown.md delete mode 100644 old_docs/API_docs_v66/constructors/storage_fileWebp.md create mode 100644 old_docs/API_docs_v66/constructors/updates.channelDifference.md create mode 100644 old_docs/API_docs_v66/constructors/updates.channelDifferenceEmpty.md create mode 100644 old_docs/API_docs_v66/constructors/updates.channelDifferenceTooLong.md create mode 100644 old_docs/API_docs_v66/constructors/updates.difference.md create mode 100644 old_docs/API_docs_v66/constructors/updates.differenceEmpty.md create mode 100644 old_docs/API_docs_v66/constructors/updates.differenceSlice.md create mode 100644 old_docs/API_docs_v66/constructors/updates.differenceTooLong.md create mode 100644 old_docs/API_docs_v66/constructors/updates.state.md delete mode 100644 old_docs/API_docs_v66/constructors/updates_channelDifference.md delete mode 100644 old_docs/API_docs_v66/constructors/updates_channelDifferenceEmpty.md delete mode 100644 old_docs/API_docs_v66/constructors/updates_channelDifferenceTooLong.md delete mode 100644 old_docs/API_docs_v66/constructors/updates_difference.md delete mode 100644 old_docs/API_docs_v66/constructors/updates_differenceEmpty.md delete mode 100644 old_docs/API_docs_v66/constructors/updates_differenceSlice.md delete mode 100644 old_docs/API_docs_v66/constructors/updates_differenceTooLong.md delete mode 100644 old_docs/API_docs_v66/constructors/updates_state.md create mode 100644 old_docs/API_docs_v66/constructors/upload.cdnFile.md create mode 100644 old_docs/API_docs_v66/constructors/upload.cdnFileReuploadNeeded.md create mode 100644 old_docs/API_docs_v66/constructors/upload.file.md create mode 100644 old_docs/API_docs_v66/constructors/upload.fileCdnRedirect.md create mode 100644 old_docs/API_docs_v66/constructors/upload.webFile.md delete mode 100644 old_docs/API_docs_v66/constructors/upload_cdnFile.md delete mode 100644 old_docs/API_docs_v66/constructors/upload_cdnFileReuploadNeeded.md delete mode 100644 old_docs/API_docs_v66/constructors/upload_file.md delete mode 100644 old_docs/API_docs_v66/constructors/upload_fileCdnRedirect.md delete mode 100644 old_docs/API_docs_v66/constructors/upload_webFile.md create mode 100644 old_docs/API_docs_v66/types/account.Authorizations.md create mode 100644 old_docs/API_docs_v66/types/account.Password.md create mode 100644 old_docs/API_docs_v66/types/account.PasswordInputSettings.md create mode 100644 old_docs/API_docs_v66/types/account.PasswordSettings.md create mode 100644 old_docs/API_docs_v66/types/account.PrivacyRules.md create mode 100644 old_docs/API_docs_v66/types/account.TmpPassword.md delete mode 100644 old_docs/API_docs_v66/types/account_Authorizations.md delete mode 100644 old_docs/API_docs_v66/types/account_Password.md delete mode 100644 old_docs/API_docs_v66/types/account_PasswordInputSettings.md delete mode 100644 old_docs/API_docs_v66/types/account_PasswordSettings.md delete mode 100644 old_docs/API_docs_v66/types/account_PrivacyRules.md delete mode 100644 old_docs/API_docs_v66/types/account_TmpPassword.md create mode 100644 old_docs/API_docs_v66/types/auth.Authorization.md create mode 100644 old_docs/API_docs_v66/types/auth.CheckedPhone.md create mode 100644 old_docs/API_docs_v66/types/auth.CodeType.md create mode 100644 old_docs/API_docs_v66/types/auth.ExportedAuthorization.md create mode 100644 old_docs/API_docs_v66/types/auth.PasswordRecovery.md create mode 100644 old_docs/API_docs_v66/types/auth.SentCode.md create mode 100644 old_docs/API_docs_v66/types/auth.SentCodeType.md delete mode 100644 old_docs/API_docs_v66/types/auth_Authorization.md delete mode 100644 old_docs/API_docs_v66/types/auth_CheckedPhone.md delete mode 100644 old_docs/API_docs_v66/types/auth_CodeType.md delete mode 100644 old_docs/API_docs_v66/types/auth_ExportedAuthorization.md delete mode 100644 old_docs/API_docs_v66/types/auth_PasswordRecovery.md delete mode 100644 old_docs/API_docs_v66/types/auth_SentCode.md delete mode 100644 old_docs/API_docs_v66/types/auth_SentCodeType.md create mode 100644 old_docs/API_docs_v66/types/channels.ChannelParticipant.md create mode 100644 old_docs/API_docs_v66/types/channels.ChannelParticipants.md delete mode 100644 old_docs/API_docs_v66/types/channels_ChannelParticipant.md delete mode 100644 old_docs/API_docs_v66/types/channels_ChannelParticipants.md create mode 100644 old_docs/API_docs_v66/types/contacts.Blocked.md create mode 100644 old_docs/API_docs_v66/types/contacts.Contacts.md create mode 100644 old_docs/API_docs_v66/types/contacts.Found.md create mode 100644 old_docs/API_docs_v66/types/contacts.ImportedContacts.md create mode 100644 old_docs/API_docs_v66/types/contacts.Link.md create mode 100644 old_docs/API_docs_v66/types/contacts.ResolvedPeer.md create mode 100644 old_docs/API_docs_v66/types/contacts.TopPeers.md delete mode 100644 old_docs/API_docs_v66/types/contacts_Blocked.md delete mode 100644 old_docs/API_docs_v66/types/contacts_Contacts.md delete mode 100644 old_docs/API_docs_v66/types/contacts_Found.md delete mode 100644 old_docs/API_docs_v66/types/contacts_ImportedContacts.md delete mode 100644 old_docs/API_docs_v66/types/contacts_Link.md delete mode 100644 old_docs/API_docs_v66/types/contacts_ResolvedPeer.md delete mode 100644 old_docs/API_docs_v66/types/contacts_TopPeers.md create mode 100644 old_docs/API_docs_v66/types/help.AppUpdate.md create mode 100644 old_docs/API_docs_v66/types/help.InviteText.md create mode 100644 old_docs/API_docs_v66/types/help.Support.md create mode 100644 old_docs/API_docs_v66/types/help.TermsOfService.md delete mode 100644 old_docs/API_docs_v66/types/help_AppUpdate.md delete mode 100644 old_docs/API_docs_v66/types/help_InviteText.md delete mode 100644 old_docs/API_docs_v66/types/help_Support.md delete mode 100644 old_docs/API_docs_v66/types/help_TermsOfService.md create mode 100644 old_docs/API_docs_v66/types/messages.AffectedHistory.md create mode 100644 old_docs/API_docs_v66/types/messages.AffectedMessages.md create mode 100644 old_docs/API_docs_v66/types/messages.AllStickers.md create mode 100644 old_docs/API_docs_v66/types/messages.ArchivedStickers.md create mode 100644 old_docs/API_docs_v66/types/messages.BotCallbackAnswer.md create mode 100644 old_docs/API_docs_v66/types/messages.BotResults.md create mode 100644 old_docs/API_docs_v66/types/messages.ChatFull.md create mode 100644 old_docs/API_docs_v66/types/messages.Chats.md create mode 100644 old_docs/API_docs_v66/types/messages.DhConfig.md create mode 100644 old_docs/API_docs_v66/types/messages.Dialogs.md create mode 100644 old_docs/API_docs_v66/types/messages.FeaturedStickers.md create mode 100644 old_docs/API_docs_v66/types/messages.FoundGifs.md create mode 100644 old_docs/API_docs_v66/types/messages.HighScores.md create mode 100644 old_docs/API_docs_v66/types/messages.MessageEditData.md create mode 100644 old_docs/API_docs_v66/types/messages.Messages.md create mode 100644 old_docs/API_docs_v66/types/messages.PeerDialogs.md create mode 100644 old_docs/API_docs_v66/types/messages.RecentStickers.md create mode 100644 old_docs/API_docs_v66/types/messages.SavedGifs.md create mode 100644 old_docs/API_docs_v66/types/messages.SentEncryptedMessage.md create mode 100644 old_docs/API_docs_v66/types/messages.StickerSet.md create mode 100644 old_docs/API_docs_v66/types/messages.StickerSetInstallResult.md create mode 100644 old_docs/API_docs_v66/types/messages.Stickers.md delete mode 100644 old_docs/API_docs_v66/types/messages_AffectedHistory.md delete mode 100644 old_docs/API_docs_v66/types/messages_AffectedMessages.md delete mode 100644 old_docs/API_docs_v66/types/messages_AllStickers.md delete mode 100644 old_docs/API_docs_v66/types/messages_ArchivedStickers.md delete mode 100644 old_docs/API_docs_v66/types/messages_BotCallbackAnswer.md delete mode 100644 old_docs/API_docs_v66/types/messages_BotResults.md delete mode 100644 old_docs/API_docs_v66/types/messages_ChatFull.md delete mode 100644 old_docs/API_docs_v66/types/messages_Chats.md delete mode 100644 old_docs/API_docs_v66/types/messages_DhConfig.md delete mode 100644 old_docs/API_docs_v66/types/messages_Dialogs.md delete mode 100644 old_docs/API_docs_v66/types/messages_FeaturedStickers.md delete mode 100644 old_docs/API_docs_v66/types/messages_FoundGifs.md delete mode 100644 old_docs/API_docs_v66/types/messages_HighScores.md delete mode 100644 old_docs/API_docs_v66/types/messages_MessageEditData.md delete mode 100644 old_docs/API_docs_v66/types/messages_Messages.md delete mode 100644 old_docs/API_docs_v66/types/messages_PeerDialogs.md delete mode 100644 old_docs/API_docs_v66/types/messages_RecentStickers.md delete mode 100644 old_docs/API_docs_v66/types/messages_SavedGifs.md delete mode 100644 old_docs/API_docs_v66/types/messages_SentEncryptedMessage.md delete mode 100644 old_docs/API_docs_v66/types/messages_StickerSet.md delete mode 100644 old_docs/API_docs_v66/types/messages_StickerSetInstallResult.md delete mode 100644 old_docs/API_docs_v66/types/messages_Stickers.md create mode 100644 old_docs/API_docs_v66/types/payments.PaymentForm.md create mode 100644 old_docs/API_docs_v66/types/payments.PaymentReceipt.md create mode 100644 old_docs/API_docs_v66/types/payments.PaymentResult.md create mode 100644 old_docs/API_docs_v66/types/payments.SavedInfo.md create mode 100644 old_docs/API_docs_v66/types/payments.ValidatedRequestedInfo.md delete mode 100644 old_docs/API_docs_v66/types/payments_PaymentForm.md delete mode 100644 old_docs/API_docs_v66/types/payments_PaymentReceipt.md delete mode 100644 old_docs/API_docs_v66/types/payments_PaymentResult.md delete mode 100644 old_docs/API_docs_v66/types/payments_SavedInfo.md delete mode 100644 old_docs/API_docs_v66/types/payments_ValidatedRequestedInfo.md create mode 100644 old_docs/API_docs_v66/types/phone.PhoneCall.md delete mode 100644 old_docs/API_docs_v66/types/phone_PhoneCall.md create mode 100644 old_docs/API_docs_v66/types/photos.Photo.md create mode 100644 old_docs/API_docs_v66/types/photos.Photos.md delete mode 100644 old_docs/API_docs_v66/types/photos_Photo.md delete mode 100644 old_docs/API_docs_v66/types/photos_Photos.md create mode 100644 old_docs/API_docs_v66/types/storage.FileType.md delete mode 100644 old_docs/API_docs_v66/types/storage_FileType.md create mode 100644 old_docs/API_docs_v66/types/updates.ChannelDifference.md create mode 100644 old_docs/API_docs_v66/types/updates.Difference.md create mode 100644 old_docs/API_docs_v66/types/updates.State.md delete mode 100644 old_docs/API_docs_v66/types/updates_ChannelDifference.md delete mode 100644 old_docs/API_docs_v66/types/updates_Difference.md delete mode 100644 old_docs/API_docs_v66/types/updates_State.md create mode 100644 old_docs/API_docs_v66/types/upload.CdnFile.md create mode 100644 old_docs/API_docs_v66/types/upload.File.md create mode 100644 old_docs/API_docs_v66/types/upload.WebFile.md delete mode 100644 old_docs/API_docs_v66/types/upload_CdnFile.md delete mode 100644 old_docs/API_docs_v66/types/upload_File.md delete mode 100644 old_docs/API_docs_v66/types/upload_WebFile.md create mode 100644 old_docs/API_docs_v68/constructors/account.authorizations.md create mode 100644 old_docs/API_docs_v68/constructors/account.noPassword.md create mode 100644 old_docs/API_docs_v68/constructors/account.password.md create mode 100644 old_docs/API_docs_v68/constructors/account.passwordInputSettings.md create mode 100644 old_docs/API_docs_v68/constructors/account.passwordSettings.md create mode 100644 old_docs/API_docs_v68/constructors/account.privacyRules.md create mode 100644 old_docs/API_docs_v68/constructors/account.tmpPassword.md delete mode 100644 old_docs/API_docs_v68/constructors/account_authorizations.md delete mode 100644 old_docs/API_docs_v68/constructors/account_noPassword.md delete mode 100644 old_docs/API_docs_v68/constructors/account_password.md delete mode 100644 old_docs/API_docs_v68/constructors/account_passwordInputSettings.md delete mode 100644 old_docs/API_docs_v68/constructors/account_passwordSettings.md delete mode 100644 old_docs/API_docs_v68/constructors/account_privacyRules.md delete mode 100644 old_docs/API_docs_v68/constructors/account_tmpPassword.md create mode 100644 old_docs/API_docs_v68/constructors/auth.authorization.md create mode 100644 old_docs/API_docs_v68/constructors/auth.checkedPhone.md create mode 100644 old_docs/API_docs_v68/constructors/auth.codeTypeCall.md create mode 100644 old_docs/API_docs_v68/constructors/auth.codeTypeFlashCall.md create mode 100644 old_docs/API_docs_v68/constructors/auth.codeTypeSms.md create mode 100644 old_docs/API_docs_v68/constructors/auth.exportedAuthorization.md create mode 100644 old_docs/API_docs_v68/constructors/auth.passwordRecovery.md create mode 100644 old_docs/API_docs_v68/constructors/auth.sentCode.md create mode 100644 old_docs/API_docs_v68/constructors/auth.sentCodeTypeApp.md create mode 100644 old_docs/API_docs_v68/constructors/auth.sentCodeTypeCall.md create mode 100644 old_docs/API_docs_v68/constructors/auth.sentCodeTypeFlashCall.md create mode 100644 old_docs/API_docs_v68/constructors/auth.sentCodeTypeSms.md delete mode 100644 old_docs/API_docs_v68/constructors/auth_authorization.md delete mode 100644 old_docs/API_docs_v68/constructors/auth_checkedPhone.md delete mode 100644 old_docs/API_docs_v68/constructors/auth_codeTypeCall.md delete mode 100644 old_docs/API_docs_v68/constructors/auth_codeTypeFlashCall.md delete mode 100644 old_docs/API_docs_v68/constructors/auth_codeTypeSms.md delete mode 100644 old_docs/API_docs_v68/constructors/auth_exportedAuthorization.md delete mode 100644 old_docs/API_docs_v68/constructors/auth_passwordRecovery.md delete mode 100644 old_docs/API_docs_v68/constructors/auth_sentCode.md delete mode 100644 old_docs/API_docs_v68/constructors/auth_sentCodeTypeApp.md delete mode 100644 old_docs/API_docs_v68/constructors/auth_sentCodeTypeCall.md delete mode 100644 old_docs/API_docs_v68/constructors/auth_sentCodeTypeFlashCall.md delete mode 100644 old_docs/API_docs_v68/constructors/auth_sentCodeTypeSms.md create mode 100644 old_docs/API_docs_v68/constructors/channels.adminLogResults.md create mode 100644 old_docs/API_docs_v68/constructors/channels.channelParticipant.md create mode 100644 old_docs/API_docs_v68/constructors/channels.channelParticipants.md delete mode 100644 old_docs/API_docs_v68/constructors/channels_adminLogResults.md delete mode 100644 old_docs/API_docs_v68/constructors/channels_channelParticipant.md delete mode 100644 old_docs/API_docs_v68/constructors/channels_channelParticipants.md create mode 100644 old_docs/API_docs_v68/constructors/contacts.blocked.md create mode 100644 old_docs/API_docs_v68/constructors/contacts.blockedSlice.md create mode 100644 old_docs/API_docs_v68/constructors/contacts.contacts.md create mode 100644 old_docs/API_docs_v68/constructors/contacts.contactsNotModified.md create mode 100644 old_docs/API_docs_v68/constructors/contacts.found.md create mode 100644 old_docs/API_docs_v68/constructors/contacts.importedContacts.md create mode 100644 old_docs/API_docs_v68/constructors/contacts.link.md create mode 100644 old_docs/API_docs_v68/constructors/contacts.resolvedPeer.md create mode 100644 old_docs/API_docs_v68/constructors/contacts.topPeers.md create mode 100644 old_docs/API_docs_v68/constructors/contacts.topPeersNotModified.md delete mode 100644 old_docs/API_docs_v68/constructors/contacts_blocked.md delete mode 100644 old_docs/API_docs_v68/constructors/contacts_blockedSlice.md delete mode 100644 old_docs/API_docs_v68/constructors/contacts_contacts.md delete mode 100644 old_docs/API_docs_v68/constructors/contacts_contactsNotModified.md delete mode 100644 old_docs/API_docs_v68/constructors/contacts_found.md delete mode 100644 old_docs/API_docs_v68/constructors/contacts_importedContacts.md delete mode 100644 old_docs/API_docs_v68/constructors/contacts_link.md delete mode 100644 old_docs/API_docs_v68/constructors/contacts_resolvedPeer.md delete mode 100644 old_docs/API_docs_v68/constructors/contacts_topPeers.md delete mode 100644 old_docs/API_docs_v68/constructors/contacts_topPeersNotModified.md create mode 100644 old_docs/API_docs_v68/constructors/help.appUpdate.md create mode 100644 old_docs/API_docs_v68/constructors/help.configSimple.md create mode 100644 old_docs/API_docs_v68/constructors/help.inviteText.md create mode 100644 old_docs/API_docs_v68/constructors/help.noAppUpdate.md create mode 100644 old_docs/API_docs_v68/constructors/help.support.md create mode 100644 old_docs/API_docs_v68/constructors/help.termsOfService.md delete mode 100644 old_docs/API_docs_v68/constructors/help_appUpdate.md delete mode 100644 old_docs/API_docs_v68/constructors/help_configSimple.md delete mode 100644 old_docs/API_docs_v68/constructors/help_inviteText.md delete mode 100644 old_docs/API_docs_v68/constructors/help_noAppUpdate.md delete mode 100644 old_docs/API_docs_v68/constructors/help_support.md delete mode 100644 old_docs/API_docs_v68/constructors/help_termsOfService.md create mode 100644 old_docs/API_docs_v68/constructors/messages.affectedHistory.md create mode 100644 old_docs/API_docs_v68/constructors/messages.affectedMessages.md create mode 100644 old_docs/API_docs_v68/constructors/messages.allStickers.md create mode 100644 old_docs/API_docs_v68/constructors/messages.allStickersNotModified.md create mode 100644 old_docs/API_docs_v68/constructors/messages.archivedStickers.md create mode 100644 old_docs/API_docs_v68/constructors/messages.botCallbackAnswer.md create mode 100644 old_docs/API_docs_v68/constructors/messages.botResults.md create mode 100644 old_docs/API_docs_v68/constructors/messages.channelMessages.md create mode 100644 old_docs/API_docs_v68/constructors/messages.chatFull.md create mode 100644 old_docs/API_docs_v68/constructors/messages.chats.md create mode 100644 old_docs/API_docs_v68/constructors/messages.chatsSlice.md create mode 100644 old_docs/API_docs_v68/constructors/messages.dhConfig.md create mode 100644 old_docs/API_docs_v68/constructors/messages.dhConfigNotModified.md create mode 100644 old_docs/API_docs_v68/constructors/messages.dialogs.md create mode 100644 old_docs/API_docs_v68/constructors/messages.dialogsSlice.md create mode 100644 old_docs/API_docs_v68/constructors/messages.featuredStickers.md create mode 100644 old_docs/API_docs_v68/constructors/messages.featuredStickersNotModified.md create mode 100644 old_docs/API_docs_v68/constructors/messages.foundGifs.md create mode 100644 old_docs/API_docs_v68/constructors/messages.highScores.md create mode 100644 old_docs/API_docs_v68/constructors/messages.messageEditData.md create mode 100644 old_docs/API_docs_v68/constructors/messages.messages.md create mode 100644 old_docs/API_docs_v68/constructors/messages.messagesSlice.md create mode 100644 old_docs/API_docs_v68/constructors/messages.peerDialogs.md create mode 100644 old_docs/API_docs_v68/constructors/messages.recentStickers.md create mode 100644 old_docs/API_docs_v68/constructors/messages.recentStickersNotModified.md create mode 100644 old_docs/API_docs_v68/constructors/messages.savedGifs.md create mode 100644 old_docs/API_docs_v68/constructors/messages.savedGifsNotModified.md create mode 100644 old_docs/API_docs_v68/constructors/messages.sentEncryptedFile.md create mode 100644 old_docs/API_docs_v68/constructors/messages.sentEncryptedMessage.md create mode 100644 old_docs/API_docs_v68/constructors/messages.stickerSet.md create mode 100644 old_docs/API_docs_v68/constructors/messages.stickerSetInstallResultArchive.md create mode 100644 old_docs/API_docs_v68/constructors/messages.stickerSetInstallResultSuccess.md create mode 100644 old_docs/API_docs_v68/constructors/messages.stickers.md create mode 100644 old_docs/API_docs_v68/constructors/messages.stickersNotModified.md delete mode 100644 old_docs/API_docs_v68/constructors/messages_affectedHistory.md delete mode 100644 old_docs/API_docs_v68/constructors/messages_affectedMessages.md delete mode 100644 old_docs/API_docs_v68/constructors/messages_allStickers.md delete mode 100644 old_docs/API_docs_v68/constructors/messages_allStickersNotModified.md delete mode 100644 old_docs/API_docs_v68/constructors/messages_archivedStickers.md delete mode 100644 old_docs/API_docs_v68/constructors/messages_botCallbackAnswer.md delete mode 100644 old_docs/API_docs_v68/constructors/messages_botResults.md delete mode 100644 old_docs/API_docs_v68/constructors/messages_channelMessages.md delete mode 100644 old_docs/API_docs_v68/constructors/messages_chatFull.md delete mode 100644 old_docs/API_docs_v68/constructors/messages_chats.md delete mode 100644 old_docs/API_docs_v68/constructors/messages_chatsSlice.md delete mode 100644 old_docs/API_docs_v68/constructors/messages_dhConfig.md delete mode 100644 old_docs/API_docs_v68/constructors/messages_dhConfigNotModified.md delete mode 100644 old_docs/API_docs_v68/constructors/messages_dialogs.md delete mode 100644 old_docs/API_docs_v68/constructors/messages_dialogsSlice.md delete mode 100644 old_docs/API_docs_v68/constructors/messages_featuredStickers.md delete mode 100644 old_docs/API_docs_v68/constructors/messages_featuredStickersNotModified.md delete mode 100644 old_docs/API_docs_v68/constructors/messages_foundGifs.md delete mode 100644 old_docs/API_docs_v68/constructors/messages_highScores.md delete mode 100644 old_docs/API_docs_v68/constructors/messages_messageEditData.md delete mode 100644 old_docs/API_docs_v68/constructors/messages_messages.md delete mode 100644 old_docs/API_docs_v68/constructors/messages_messagesSlice.md delete mode 100644 old_docs/API_docs_v68/constructors/messages_peerDialogs.md delete mode 100644 old_docs/API_docs_v68/constructors/messages_recentStickers.md delete mode 100644 old_docs/API_docs_v68/constructors/messages_recentStickersNotModified.md delete mode 100644 old_docs/API_docs_v68/constructors/messages_savedGifs.md delete mode 100644 old_docs/API_docs_v68/constructors/messages_savedGifsNotModified.md delete mode 100644 old_docs/API_docs_v68/constructors/messages_sentEncryptedFile.md delete mode 100644 old_docs/API_docs_v68/constructors/messages_sentEncryptedMessage.md delete mode 100644 old_docs/API_docs_v68/constructors/messages_stickerSet.md delete mode 100644 old_docs/API_docs_v68/constructors/messages_stickerSetInstallResultArchive.md delete mode 100644 old_docs/API_docs_v68/constructors/messages_stickerSetInstallResultSuccess.md delete mode 100644 old_docs/API_docs_v68/constructors/messages_stickers.md delete mode 100644 old_docs/API_docs_v68/constructors/messages_stickersNotModified.md create mode 100644 old_docs/API_docs_v68/constructors/payments.paymentForm.md create mode 100644 old_docs/API_docs_v68/constructors/payments.paymentReceipt.md create mode 100644 old_docs/API_docs_v68/constructors/payments.paymentResult.md create mode 100644 old_docs/API_docs_v68/constructors/payments.paymentVerficationNeeded.md create mode 100644 old_docs/API_docs_v68/constructors/payments.savedInfo.md create mode 100644 old_docs/API_docs_v68/constructors/payments.validatedRequestedInfo.md delete mode 100644 old_docs/API_docs_v68/constructors/payments_paymentForm.md delete mode 100644 old_docs/API_docs_v68/constructors/payments_paymentReceipt.md delete mode 100644 old_docs/API_docs_v68/constructors/payments_paymentResult.md delete mode 100644 old_docs/API_docs_v68/constructors/payments_paymentVerficationNeeded.md delete mode 100644 old_docs/API_docs_v68/constructors/payments_savedInfo.md delete mode 100644 old_docs/API_docs_v68/constructors/payments_validatedRequestedInfo.md create mode 100644 old_docs/API_docs_v68/constructors/phone.phoneCall.md delete mode 100644 old_docs/API_docs_v68/constructors/phone_phoneCall.md create mode 100644 old_docs/API_docs_v68/constructors/photos.photo.md create mode 100644 old_docs/API_docs_v68/constructors/photos.photos.md create mode 100644 old_docs/API_docs_v68/constructors/photos.photosSlice.md delete mode 100644 old_docs/API_docs_v68/constructors/photos_photo.md delete mode 100644 old_docs/API_docs_v68/constructors/photos_photos.md delete mode 100644 old_docs/API_docs_v68/constructors/photos_photosSlice.md create mode 100644 old_docs/API_docs_v68/constructors/storage.fileGif.md create mode 100644 old_docs/API_docs_v68/constructors/storage.fileJpeg.md create mode 100644 old_docs/API_docs_v68/constructors/storage.fileMov.md create mode 100644 old_docs/API_docs_v68/constructors/storage.fileMp3.md create mode 100644 old_docs/API_docs_v68/constructors/storage.fileMp4.md create mode 100644 old_docs/API_docs_v68/constructors/storage.filePartial.md create mode 100644 old_docs/API_docs_v68/constructors/storage.filePdf.md create mode 100644 old_docs/API_docs_v68/constructors/storage.filePng.md create mode 100644 old_docs/API_docs_v68/constructors/storage.fileUnknown.md create mode 100644 old_docs/API_docs_v68/constructors/storage.fileWebp.md delete mode 100644 old_docs/API_docs_v68/constructors/storage_fileGif.md delete mode 100644 old_docs/API_docs_v68/constructors/storage_fileJpeg.md delete mode 100644 old_docs/API_docs_v68/constructors/storage_fileMov.md delete mode 100644 old_docs/API_docs_v68/constructors/storage_fileMp3.md delete mode 100644 old_docs/API_docs_v68/constructors/storage_fileMp4.md delete mode 100644 old_docs/API_docs_v68/constructors/storage_filePartial.md delete mode 100644 old_docs/API_docs_v68/constructors/storage_filePdf.md delete mode 100644 old_docs/API_docs_v68/constructors/storage_filePng.md delete mode 100644 old_docs/API_docs_v68/constructors/storage_fileUnknown.md delete mode 100644 old_docs/API_docs_v68/constructors/storage_fileWebp.md create mode 100644 old_docs/API_docs_v68/constructors/updates.channelDifference.md create mode 100644 old_docs/API_docs_v68/constructors/updates.channelDifferenceEmpty.md create mode 100644 old_docs/API_docs_v68/constructors/updates.channelDifferenceTooLong.md create mode 100644 old_docs/API_docs_v68/constructors/updates.difference.md create mode 100644 old_docs/API_docs_v68/constructors/updates.differenceEmpty.md create mode 100644 old_docs/API_docs_v68/constructors/updates.differenceSlice.md create mode 100644 old_docs/API_docs_v68/constructors/updates.differenceTooLong.md create mode 100644 old_docs/API_docs_v68/constructors/updates.state.md delete mode 100644 old_docs/API_docs_v68/constructors/updates_channelDifference.md delete mode 100644 old_docs/API_docs_v68/constructors/updates_channelDifferenceEmpty.md delete mode 100644 old_docs/API_docs_v68/constructors/updates_channelDifferenceTooLong.md delete mode 100644 old_docs/API_docs_v68/constructors/updates_difference.md delete mode 100644 old_docs/API_docs_v68/constructors/updates_differenceEmpty.md delete mode 100644 old_docs/API_docs_v68/constructors/updates_differenceSlice.md delete mode 100644 old_docs/API_docs_v68/constructors/updates_differenceTooLong.md delete mode 100644 old_docs/API_docs_v68/constructors/updates_state.md create mode 100644 old_docs/API_docs_v68/constructors/upload.cdnFile.md create mode 100644 old_docs/API_docs_v68/constructors/upload.cdnFileReuploadNeeded.md create mode 100644 old_docs/API_docs_v68/constructors/upload.file.md create mode 100644 old_docs/API_docs_v68/constructors/upload.fileCdnRedirect.md create mode 100644 old_docs/API_docs_v68/constructors/upload.webFile.md delete mode 100644 old_docs/API_docs_v68/constructors/upload_cdnFile.md delete mode 100644 old_docs/API_docs_v68/constructors/upload_cdnFileReuploadNeeded.md delete mode 100644 old_docs/API_docs_v68/constructors/upload_file.md delete mode 100644 old_docs/API_docs_v68/constructors/upload_fileCdnRedirect.md delete mode 100644 old_docs/API_docs_v68/constructors/upload_webFile.md create mode 100644 old_docs/API_docs_v68/types/account.Authorizations.md create mode 100644 old_docs/API_docs_v68/types/account.Password.md create mode 100644 old_docs/API_docs_v68/types/account.PasswordInputSettings.md create mode 100644 old_docs/API_docs_v68/types/account.PasswordSettings.md create mode 100644 old_docs/API_docs_v68/types/account.PrivacyRules.md create mode 100644 old_docs/API_docs_v68/types/account.TmpPassword.md delete mode 100644 old_docs/API_docs_v68/types/account_Authorizations.md delete mode 100644 old_docs/API_docs_v68/types/account_Password.md delete mode 100644 old_docs/API_docs_v68/types/account_PasswordInputSettings.md delete mode 100644 old_docs/API_docs_v68/types/account_PasswordSettings.md delete mode 100644 old_docs/API_docs_v68/types/account_PrivacyRules.md delete mode 100644 old_docs/API_docs_v68/types/account_TmpPassword.md create mode 100644 old_docs/API_docs_v68/types/auth.Authorization.md create mode 100644 old_docs/API_docs_v68/types/auth.CheckedPhone.md create mode 100644 old_docs/API_docs_v68/types/auth.CodeType.md create mode 100644 old_docs/API_docs_v68/types/auth.ExportedAuthorization.md create mode 100644 old_docs/API_docs_v68/types/auth.PasswordRecovery.md create mode 100644 old_docs/API_docs_v68/types/auth.SentCode.md create mode 100644 old_docs/API_docs_v68/types/auth.SentCodeType.md delete mode 100644 old_docs/API_docs_v68/types/auth_Authorization.md delete mode 100644 old_docs/API_docs_v68/types/auth_CheckedPhone.md delete mode 100644 old_docs/API_docs_v68/types/auth_CodeType.md delete mode 100644 old_docs/API_docs_v68/types/auth_ExportedAuthorization.md delete mode 100644 old_docs/API_docs_v68/types/auth_PasswordRecovery.md delete mode 100644 old_docs/API_docs_v68/types/auth_SentCode.md delete mode 100644 old_docs/API_docs_v68/types/auth_SentCodeType.md create mode 100644 old_docs/API_docs_v68/types/channels.AdminLogResults.md create mode 100644 old_docs/API_docs_v68/types/channels.ChannelParticipant.md create mode 100644 old_docs/API_docs_v68/types/channels.ChannelParticipants.md delete mode 100644 old_docs/API_docs_v68/types/channels_AdminLogResults.md delete mode 100644 old_docs/API_docs_v68/types/channels_ChannelParticipant.md delete mode 100644 old_docs/API_docs_v68/types/channels_ChannelParticipants.md create mode 100644 old_docs/API_docs_v68/types/contacts.Blocked.md create mode 100644 old_docs/API_docs_v68/types/contacts.Contacts.md create mode 100644 old_docs/API_docs_v68/types/contacts.Found.md create mode 100644 old_docs/API_docs_v68/types/contacts.ImportedContacts.md create mode 100644 old_docs/API_docs_v68/types/contacts.Link.md create mode 100644 old_docs/API_docs_v68/types/contacts.ResolvedPeer.md create mode 100644 old_docs/API_docs_v68/types/contacts.TopPeers.md delete mode 100644 old_docs/API_docs_v68/types/contacts_Blocked.md delete mode 100644 old_docs/API_docs_v68/types/contacts_Contacts.md delete mode 100644 old_docs/API_docs_v68/types/contacts_Found.md delete mode 100644 old_docs/API_docs_v68/types/contacts_ImportedContacts.md delete mode 100644 old_docs/API_docs_v68/types/contacts_Link.md delete mode 100644 old_docs/API_docs_v68/types/contacts_ResolvedPeer.md delete mode 100644 old_docs/API_docs_v68/types/contacts_TopPeers.md create mode 100644 old_docs/API_docs_v68/types/help.AppUpdate.md create mode 100644 old_docs/API_docs_v68/types/help.ConfigSimple.md create mode 100644 old_docs/API_docs_v68/types/help.InviteText.md create mode 100644 old_docs/API_docs_v68/types/help.Support.md create mode 100644 old_docs/API_docs_v68/types/help.TermsOfService.md delete mode 100644 old_docs/API_docs_v68/types/help_AppUpdate.md delete mode 100644 old_docs/API_docs_v68/types/help_ConfigSimple.md delete mode 100644 old_docs/API_docs_v68/types/help_InviteText.md delete mode 100644 old_docs/API_docs_v68/types/help_Support.md delete mode 100644 old_docs/API_docs_v68/types/help_TermsOfService.md create mode 100644 old_docs/API_docs_v68/types/messages.AffectedHistory.md create mode 100644 old_docs/API_docs_v68/types/messages.AffectedMessages.md create mode 100644 old_docs/API_docs_v68/types/messages.AllStickers.md create mode 100644 old_docs/API_docs_v68/types/messages.ArchivedStickers.md create mode 100644 old_docs/API_docs_v68/types/messages.BotCallbackAnswer.md create mode 100644 old_docs/API_docs_v68/types/messages.BotResults.md create mode 100644 old_docs/API_docs_v68/types/messages.ChatFull.md create mode 100644 old_docs/API_docs_v68/types/messages.Chats.md create mode 100644 old_docs/API_docs_v68/types/messages.DhConfig.md create mode 100644 old_docs/API_docs_v68/types/messages.Dialogs.md create mode 100644 old_docs/API_docs_v68/types/messages.FeaturedStickers.md create mode 100644 old_docs/API_docs_v68/types/messages.FoundGifs.md create mode 100644 old_docs/API_docs_v68/types/messages.HighScores.md create mode 100644 old_docs/API_docs_v68/types/messages.MessageEditData.md create mode 100644 old_docs/API_docs_v68/types/messages.Messages.md create mode 100644 old_docs/API_docs_v68/types/messages.PeerDialogs.md create mode 100644 old_docs/API_docs_v68/types/messages.RecentStickers.md create mode 100644 old_docs/API_docs_v68/types/messages.SavedGifs.md create mode 100644 old_docs/API_docs_v68/types/messages.SentEncryptedMessage.md create mode 100644 old_docs/API_docs_v68/types/messages.StickerSet.md create mode 100644 old_docs/API_docs_v68/types/messages.StickerSetInstallResult.md create mode 100644 old_docs/API_docs_v68/types/messages.Stickers.md delete mode 100644 old_docs/API_docs_v68/types/messages_AffectedHistory.md delete mode 100644 old_docs/API_docs_v68/types/messages_AffectedMessages.md delete mode 100644 old_docs/API_docs_v68/types/messages_AllStickers.md delete mode 100644 old_docs/API_docs_v68/types/messages_ArchivedStickers.md delete mode 100644 old_docs/API_docs_v68/types/messages_BotCallbackAnswer.md delete mode 100644 old_docs/API_docs_v68/types/messages_BotResults.md delete mode 100644 old_docs/API_docs_v68/types/messages_ChatFull.md delete mode 100644 old_docs/API_docs_v68/types/messages_Chats.md delete mode 100644 old_docs/API_docs_v68/types/messages_DhConfig.md delete mode 100644 old_docs/API_docs_v68/types/messages_Dialogs.md delete mode 100644 old_docs/API_docs_v68/types/messages_FeaturedStickers.md delete mode 100644 old_docs/API_docs_v68/types/messages_FoundGifs.md delete mode 100644 old_docs/API_docs_v68/types/messages_HighScores.md delete mode 100644 old_docs/API_docs_v68/types/messages_MessageEditData.md delete mode 100644 old_docs/API_docs_v68/types/messages_Messages.md delete mode 100644 old_docs/API_docs_v68/types/messages_PeerDialogs.md delete mode 100644 old_docs/API_docs_v68/types/messages_RecentStickers.md delete mode 100644 old_docs/API_docs_v68/types/messages_SavedGifs.md delete mode 100644 old_docs/API_docs_v68/types/messages_SentEncryptedMessage.md delete mode 100644 old_docs/API_docs_v68/types/messages_StickerSet.md delete mode 100644 old_docs/API_docs_v68/types/messages_StickerSetInstallResult.md delete mode 100644 old_docs/API_docs_v68/types/messages_Stickers.md create mode 100644 old_docs/API_docs_v68/types/payments.PaymentForm.md create mode 100644 old_docs/API_docs_v68/types/payments.PaymentReceipt.md create mode 100644 old_docs/API_docs_v68/types/payments.PaymentResult.md create mode 100644 old_docs/API_docs_v68/types/payments.SavedInfo.md create mode 100644 old_docs/API_docs_v68/types/payments.ValidatedRequestedInfo.md delete mode 100644 old_docs/API_docs_v68/types/payments_PaymentForm.md delete mode 100644 old_docs/API_docs_v68/types/payments_PaymentReceipt.md delete mode 100644 old_docs/API_docs_v68/types/payments_PaymentResult.md delete mode 100644 old_docs/API_docs_v68/types/payments_SavedInfo.md delete mode 100644 old_docs/API_docs_v68/types/payments_ValidatedRequestedInfo.md create mode 100644 old_docs/API_docs_v68/types/phone.PhoneCall.md delete mode 100644 old_docs/API_docs_v68/types/phone_PhoneCall.md create mode 100644 old_docs/API_docs_v68/types/photos.Photo.md create mode 100644 old_docs/API_docs_v68/types/photos.Photos.md delete mode 100644 old_docs/API_docs_v68/types/photos_Photo.md delete mode 100644 old_docs/API_docs_v68/types/photos_Photos.md create mode 100644 old_docs/API_docs_v68/types/storage.FileType.md delete mode 100644 old_docs/API_docs_v68/types/storage_FileType.md create mode 100644 old_docs/API_docs_v68/types/updates.ChannelDifference.md create mode 100644 old_docs/API_docs_v68/types/updates.Difference.md create mode 100644 old_docs/API_docs_v68/types/updates.State.md delete mode 100644 old_docs/API_docs_v68/types/updates_ChannelDifference.md delete mode 100644 old_docs/API_docs_v68/types/updates_Difference.md delete mode 100644 old_docs/API_docs_v68/types/updates_State.md create mode 100644 old_docs/API_docs_v68/types/upload.CdnFile.md create mode 100644 old_docs/API_docs_v68/types/upload.File.md create mode 100644 old_docs/API_docs_v68/types/upload.WebFile.md delete mode 100644 old_docs/API_docs_v68/types/upload_CdnFile.md delete mode 100644 old_docs/API_docs_v68/types/upload_File.md delete mode 100644 old_docs/API_docs_v68/types/upload_WebFile.md create mode 100644 old_docs/API_docs_v70/constructors/account.authorizations.md create mode 100644 old_docs/API_docs_v70/constructors/account.noPassword.md create mode 100644 old_docs/API_docs_v70/constructors/account.password.md create mode 100644 old_docs/API_docs_v70/constructors/account.passwordInputSettings.md create mode 100644 old_docs/API_docs_v70/constructors/account.passwordSettings.md create mode 100644 old_docs/API_docs_v70/constructors/account.privacyRules.md create mode 100644 old_docs/API_docs_v70/constructors/account.tmpPassword.md delete mode 100644 old_docs/API_docs_v70/constructors/account_authorizations.md delete mode 100644 old_docs/API_docs_v70/constructors/account_noPassword.md delete mode 100644 old_docs/API_docs_v70/constructors/account_password.md delete mode 100644 old_docs/API_docs_v70/constructors/account_passwordInputSettings.md delete mode 100644 old_docs/API_docs_v70/constructors/account_passwordSettings.md delete mode 100644 old_docs/API_docs_v70/constructors/account_privacyRules.md delete mode 100644 old_docs/API_docs_v70/constructors/account_tmpPassword.md create mode 100644 old_docs/API_docs_v70/constructors/auth.authorization.md create mode 100644 old_docs/API_docs_v70/constructors/auth.checkedPhone.md create mode 100644 old_docs/API_docs_v70/constructors/auth.codeTypeCall.md create mode 100644 old_docs/API_docs_v70/constructors/auth.codeTypeFlashCall.md create mode 100644 old_docs/API_docs_v70/constructors/auth.codeTypeSms.md create mode 100644 old_docs/API_docs_v70/constructors/auth.exportedAuthorization.md create mode 100644 old_docs/API_docs_v70/constructors/auth.passwordRecovery.md create mode 100644 old_docs/API_docs_v70/constructors/auth.sentCode.md create mode 100644 old_docs/API_docs_v70/constructors/auth.sentCodeTypeApp.md create mode 100644 old_docs/API_docs_v70/constructors/auth.sentCodeTypeCall.md create mode 100644 old_docs/API_docs_v70/constructors/auth.sentCodeTypeFlashCall.md create mode 100644 old_docs/API_docs_v70/constructors/auth.sentCodeTypeSms.md delete mode 100644 old_docs/API_docs_v70/constructors/auth_authorization.md delete mode 100644 old_docs/API_docs_v70/constructors/auth_checkedPhone.md delete mode 100644 old_docs/API_docs_v70/constructors/auth_codeTypeCall.md delete mode 100644 old_docs/API_docs_v70/constructors/auth_codeTypeFlashCall.md delete mode 100644 old_docs/API_docs_v70/constructors/auth_codeTypeSms.md delete mode 100644 old_docs/API_docs_v70/constructors/auth_exportedAuthorization.md delete mode 100644 old_docs/API_docs_v70/constructors/auth_passwordRecovery.md delete mode 100644 old_docs/API_docs_v70/constructors/auth_sentCode.md delete mode 100644 old_docs/API_docs_v70/constructors/auth_sentCodeTypeApp.md delete mode 100644 old_docs/API_docs_v70/constructors/auth_sentCodeTypeCall.md delete mode 100644 old_docs/API_docs_v70/constructors/auth_sentCodeTypeFlashCall.md delete mode 100644 old_docs/API_docs_v70/constructors/auth_sentCodeTypeSms.md create mode 100644 old_docs/API_docs_v70/constructors/channels.adminLogResults.md create mode 100644 old_docs/API_docs_v70/constructors/channels.channelParticipant.md create mode 100644 old_docs/API_docs_v70/constructors/channels.channelParticipants.md delete mode 100644 old_docs/API_docs_v70/constructors/channels_adminLogResults.md delete mode 100644 old_docs/API_docs_v70/constructors/channels_channelParticipant.md delete mode 100644 old_docs/API_docs_v70/constructors/channels_channelParticipants.md create mode 100644 old_docs/API_docs_v70/constructors/contacts.blocked.md create mode 100644 old_docs/API_docs_v70/constructors/contacts.blockedSlice.md create mode 100644 old_docs/API_docs_v70/constructors/contacts.contacts.md create mode 100644 old_docs/API_docs_v70/constructors/contacts.contactsNotModified.md create mode 100644 old_docs/API_docs_v70/constructors/contacts.found.md create mode 100644 old_docs/API_docs_v70/constructors/contacts.importedContacts.md create mode 100644 old_docs/API_docs_v70/constructors/contacts.link.md create mode 100644 old_docs/API_docs_v70/constructors/contacts.resolvedPeer.md create mode 100644 old_docs/API_docs_v70/constructors/contacts.topPeers.md create mode 100644 old_docs/API_docs_v70/constructors/contacts.topPeersNotModified.md delete mode 100644 old_docs/API_docs_v70/constructors/contacts_blocked.md delete mode 100644 old_docs/API_docs_v70/constructors/contacts_blockedSlice.md delete mode 100644 old_docs/API_docs_v70/constructors/contacts_contacts.md delete mode 100644 old_docs/API_docs_v70/constructors/contacts_contactsNotModified.md delete mode 100644 old_docs/API_docs_v70/constructors/contacts_found.md delete mode 100644 old_docs/API_docs_v70/constructors/contacts_importedContacts.md delete mode 100644 old_docs/API_docs_v70/constructors/contacts_link.md delete mode 100644 old_docs/API_docs_v70/constructors/contacts_resolvedPeer.md delete mode 100644 old_docs/API_docs_v70/constructors/contacts_topPeers.md delete mode 100644 old_docs/API_docs_v70/constructors/contacts_topPeersNotModified.md create mode 100644 old_docs/API_docs_v70/constructors/help.appUpdate.md create mode 100644 old_docs/API_docs_v70/constructors/help.configSimple.md create mode 100644 old_docs/API_docs_v70/constructors/help.inviteText.md create mode 100644 old_docs/API_docs_v70/constructors/help.noAppUpdate.md create mode 100644 old_docs/API_docs_v70/constructors/help.support.md create mode 100644 old_docs/API_docs_v70/constructors/help.termsOfService.md delete mode 100644 old_docs/API_docs_v70/constructors/help_appUpdate.md delete mode 100644 old_docs/API_docs_v70/constructors/help_configSimple.md delete mode 100644 old_docs/API_docs_v70/constructors/help_inviteText.md delete mode 100644 old_docs/API_docs_v70/constructors/help_noAppUpdate.md delete mode 100644 old_docs/API_docs_v70/constructors/help_support.md delete mode 100644 old_docs/API_docs_v70/constructors/help_termsOfService.md create mode 100644 old_docs/API_docs_v70/constructors/messages.affectedHistory.md create mode 100644 old_docs/API_docs_v70/constructors/messages.affectedMessages.md create mode 100644 old_docs/API_docs_v70/constructors/messages.allStickers.md create mode 100644 old_docs/API_docs_v70/constructors/messages.allStickersNotModified.md create mode 100644 old_docs/API_docs_v70/constructors/messages.archivedStickers.md create mode 100644 old_docs/API_docs_v70/constructors/messages.botCallbackAnswer.md create mode 100644 old_docs/API_docs_v70/constructors/messages.botResults.md create mode 100644 old_docs/API_docs_v70/constructors/messages.channelMessages.md create mode 100644 old_docs/API_docs_v70/constructors/messages.chatFull.md create mode 100644 old_docs/API_docs_v70/constructors/messages.chats.md create mode 100644 old_docs/API_docs_v70/constructors/messages.chatsSlice.md create mode 100644 old_docs/API_docs_v70/constructors/messages.dhConfig.md create mode 100644 old_docs/API_docs_v70/constructors/messages.dhConfigNotModified.md create mode 100644 old_docs/API_docs_v70/constructors/messages.dialogs.md create mode 100644 old_docs/API_docs_v70/constructors/messages.dialogsSlice.md create mode 100644 old_docs/API_docs_v70/constructors/messages.featuredStickers.md create mode 100644 old_docs/API_docs_v70/constructors/messages.featuredStickersNotModified.md create mode 100644 old_docs/API_docs_v70/constructors/messages.foundGifs.md create mode 100644 old_docs/API_docs_v70/constructors/messages.highScores.md create mode 100644 old_docs/API_docs_v70/constructors/messages.messageEditData.md create mode 100644 old_docs/API_docs_v70/constructors/messages.messages.md create mode 100644 old_docs/API_docs_v70/constructors/messages.messagesSlice.md create mode 100644 old_docs/API_docs_v70/constructors/messages.peerDialogs.md create mode 100644 old_docs/API_docs_v70/constructors/messages.recentStickers.md create mode 100644 old_docs/API_docs_v70/constructors/messages.recentStickersNotModified.md create mode 100644 old_docs/API_docs_v70/constructors/messages.savedGifs.md create mode 100644 old_docs/API_docs_v70/constructors/messages.savedGifsNotModified.md create mode 100644 old_docs/API_docs_v70/constructors/messages.sentEncryptedFile.md create mode 100644 old_docs/API_docs_v70/constructors/messages.sentEncryptedMessage.md create mode 100644 old_docs/API_docs_v70/constructors/messages.stickerSet.md create mode 100644 old_docs/API_docs_v70/constructors/messages.stickerSetInstallResultArchive.md create mode 100644 old_docs/API_docs_v70/constructors/messages.stickerSetInstallResultSuccess.md create mode 100644 old_docs/API_docs_v70/constructors/messages.stickers.md create mode 100644 old_docs/API_docs_v70/constructors/messages.stickersNotModified.md delete mode 100644 old_docs/API_docs_v70/constructors/messages_affectedHistory.md delete mode 100644 old_docs/API_docs_v70/constructors/messages_affectedMessages.md delete mode 100644 old_docs/API_docs_v70/constructors/messages_allStickers.md delete mode 100644 old_docs/API_docs_v70/constructors/messages_allStickersNotModified.md delete mode 100644 old_docs/API_docs_v70/constructors/messages_archivedStickers.md delete mode 100644 old_docs/API_docs_v70/constructors/messages_botCallbackAnswer.md delete mode 100644 old_docs/API_docs_v70/constructors/messages_botResults.md delete mode 100644 old_docs/API_docs_v70/constructors/messages_channelMessages.md delete mode 100644 old_docs/API_docs_v70/constructors/messages_chatFull.md delete mode 100644 old_docs/API_docs_v70/constructors/messages_chats.md delete mode 100644 old_docs/API_docs_v70/constructors/messages_chatsSlice.md delete mode 100644 old_docs/API_docs_v70/constructors/messages_dhConfig.md delete mode 100644 old_docs/API_docs_v70/constructors/messages_dhConfigNotModified.md delete mode 100644 old_docs/API_docs_v70/constructors/messages_dialogs.md delete mode 100644 old_docs/API_docs_v70/constructors/messages_dialogsSlice.md delete mode 100644 old_docs/API_docs_v70/constructors/messages_featuredStickers.md delete mode 100644 old_docs/API_docs_v70/constructors/messages_featuredStickersNotModified.md delete mode 100644 old_docs/API_docs_v70/constructors/messages_foundGifs.md delete mode 100644 old_docs/API_docs_v70/constructors/messages_highScores.md delete mode 100644 old_docs/API_docs_v70/constructors/messages_messageEditData.md delete mode 100644 old_docs/API_docs_v70/constructors/messages_messages.md delete mode 100644 old_docs/API_docs_v70/constructors/messages_messagesSlice.md delete mode 100644 old_docs/API_docs_v70/constructors/messages_peerDialogs.md delete mode 100644 old_docs/API_docs_v70/constructors/messages_recentStickers.md delete mode 100644 old_docs/API_docs_v70/constructors/messages_recentStickersNotModified.md delete mode 100644 old_docs/API_docs_v70/constructors/messages_savedGifs.md delete mode 100644 old_docs/API_docs_v70/constructors/messages_savedGifsNotModified.md delete mode 100644 old_docs/API_docs_v70/constructors/messages_sentEncryptedFile.md delete mode 100644 old_docs/API_docs_v70/constructors/messages_sentEncryptedMessage.md delete mode 100644 old_docs/API_docs_v70/constructors/messages_stickerSet.md delete mode 100644 old_docs/API_docs_v70/constructors/messages_stickerSetInstallResultArchive.md delete mode 100644 old_docs/API_docs_v70/constructors/messages_stickerSetInstallResultSuccess.md delete mode 100644 old_docs/API_docs_v70/constructors/messages_stickers.md delete mode 100644 old_docs/API_docs_v70/constructors/messages_stickersNotModified.md create mode 100644 old_docs/API_docs_v70/constructors/payments.paymentForm.md create mode 100644 old_docs/API_docs_v70/constructors/payments.paymentReceipt.md create mode 100644 old_docs/API_docs_v70/constructors/payments.paymentResult.md create mode 100644 old_docs/API_docs_v70/constructors/payments.paymentVerficationNeeded.md create mode 100644 old_docs/API_docs_v70/constructors/payments.savedInfo.md create mode 100644 old_docs/API_docs_v70/constructors/payments.validatedRequestedInfo.md delete mode 100644 old_docs/API_docs_v70/constructors/payments_paymentForm.md delete mode 100644 old_docs/API_docs_v70/constructors/payments_paymentReceipt.md delete mode 100644 old_docs/API_docs_v70/constructors/payments_paymentResult.md delete mode 100644 old_docs/API_docs_v70/constructors/payments_paymentVerficationNeeded.md delete mode 100644 old_docs/API_docs_v70/constructors/payments_savedInfo.md delete mode 100644 old_docs/API_docs_v70/constructors/payments_validatedRequestedInfo.md create mode 100644 old_docs/API_docs_v70/constructors/phone.phoneCall.md delete mode 100644 old_docs/API_docs_v70/constructors/phone_phoneCall.md create mode 100644 old_docs/API_docs_v70/constructors/photos.photo.md create mode 100644 old_docs/API_docs_v70/constructors/photos.photos.md create mode 100644 old_docs/API_docs_v70/constructors/photos.photosSlice.md delete mode 100644 old_docs/API_docs_v70/constructors/photos_photo.md delete mode 100644 old_docs/API_docs_v70/constructors/photos_photos.md delete mode 100644 old_docs/API_docs_v70/constructors/photos_photosSlice.md create mode 100644 old_docs/API_docs_v70/constructors/storage.fileGif.md create mode 100644 old_docs/API_docs_v70/constructors/storage.fileJpeg.md create mode 100644 old_docs/API_docs_v70/constructors/storage.fileMov.md create mode 100644 old_docs/API_docs_v70/constructors/storage.fileMp3.md create mode 100644 old_docs/API_docs_v70/constructors/storage.fileMp4.md create mode 100644 old_docs/API_docs_v70/constructors/storage.filePartial.md create mode 100644 old_docs/API_docs_v70/constructors/storage.filePdf.md create mode 100644 old_docs/API_docs_v70/constructors/storage.filePng.md create mode 100644 old_docs/API_docs_v70/constructors/storage.fileUnknown.md create mode 100644 old_docs/API_docs_v70/constructors/storage.fileWebp.md delete mode 100644 old_docs/API_docs_v70/constructors/storage_fileGif.md delete mode 100644 old_docs/API_docs_v70/constructors/storage_fileJpeg.md delete mode 100644 old_docs/API_docs_v70/constructors/storage_fileMov.md delete mode 100644 old_docs/API_docs_v70/constructors/storage_fileMp3.md delete mode 100644 old_docs/API_docs_v70/constructors/storage_fileMp4.md delete mode 100644 old_docs/API_docs_v70/constructors/storage_filePartial.md delete mode 100644 old_docs/API_docs_v70/constructors/storage_filePdf.md delete mode 100644 old_docs/API_docs_v70/constructors/storage_filePng.md delete mode 100644 old_docs/API_docs_v70/constructors/storage_fileUnknown.md delete mode 100644 old_docs/API_docs_v70/constructors/storage_fileWebp.md create mode 100644 old_docs/API_docs_v70/constructors/updates.channelDifference.md create mode 100644 old_docs/API_docs_v70/constructors/updates.channelDifferenceEmpty.md create mode 100644 old_docs/API_docs_v70/constructors/updates.channelDifferenceTooLong.md create mode 100644 old_docs/API_docs_v70/constructors/updates.difference.md create mode 100644 old_docs/API_docs_v70/constructors/updates.differenceEmpty.md create mode 100644 old_docs/API_docs_v70/constructors/updates.differenceSlice.md create mode 100644 old_docs/API_docs_v70/constructors/updates.differenceTooLong.md create mode 100644 old_docs/API_docs_v70/constructors/updates.state.md delete mode 100644 old_docs/API_docs_v70/constructors/updates_channelDifference.md delete mode 100644 old_docs/API_docs_v70/constructors/updates_channelDifferenceEmpty.md delete mode 100644 old_docs/API_docs_v70/constructors/updates_channelDifferenceTooLong.md delete mode 100644 old_docs/API_docs_v70/constructors/updates_difference.md delete mode 100644 old_docs/API_docs_v70/constructors/updates_differenceEmpty.md delete mode 100644 old_docs/API_docs_v70/constructors/updates_differenceSlice.md delete mode 100644 old_docs/API_docs_v70/constructors/updates_differenceTooLong.md delete mode 100644 old_docs/API_docs_v70/constructors/updates_state.md create mode 100644 old_docs/API_docs_v70/constructors/upload.cdnFile.md create mode 100644 old_docs/API_docs_v70/constructors/upload.cdnFileReuploadNeeded.md create mode 100644 old_docs/API_docs_v70/constructors/upload.file.md create mode 100644 old_docs/API_docs_v70/constructors/upload.fileCdnRedirect.md create mode 100644 old_docs/API_docs_v70/constructors/upload.webFile.md delete mode 100644 old_docs/API_docs_v70/constructors/upload_cdnFile.md delete mode 100644 old_docs/API_docs_v70/constructors/upload_cdnFileReuploadNeeded.md delete mode 100644 old_docs/API_docs_v70/constructors/upload_file.md delete mode 100644 old_docs/API_docs_v70/constructors/upload_fileCdnRedirect.md delete mode 100644 old_docs/API_docs_v70/constructors/upload_webFile.md create mode 100644 old_docs/API_docs_v70/types/account.Authorizations.md create mode 100644 old_docs/API_docs_v70/types/account.Password.md create mode 100644 old_docs/API_docs_v70/types/account.PasswordInputSettings.md create mode 100644 old_docs/API_docs_v70/types/account.PasswordSettings.md create mode 100644 old_docs/API_docs_v70/types/account.PrivacyRules.md create mode 100644 old_docs/API_docs_v70/types/account.TmpPassword.md delete mode 100644 old_docs/API_docs_v70/types/account_Authorizations.md delete mode 100644 old_docs/API_docs_v70/types/account_Password.md delete mode 100644 old_docs/API_docs_v70/types/account_PasswordInputSettings.md delete mode 100644 old_docs/API_docs_v70/types/account_PasswordSettings.md delete mode 100644 old_docs/API_docs_v70/types/account_PrivacyRules.md delete mode 100644 old_docs/API_docs_v70/types/account_TmpPassword.md create mode 100644 old_docs/API_docs_v70/types/auth.Authorization.md create mode 100644 old_docs/API_docs_v70/types/auth.CheckedPhone.md create mode 100644 old_docs/API_docs_v70/types/auth.CodeType.md create mode 100644 old_docs/API_docs_v70/types/auth.ExportedAuthorization.md create mode 100644 old_docs/API_docs_v70/types/auth.PasswordRecovery.md create mode 100644 old_docs/API_docs_v70/types/auth.SentCode.md create mode 100644 old_docs/API_docs_v70/types/auth.SentCodeType.md delete mode 100644 old_docs/API_docs_v70/types/auth_Authorization.md delete mode 100644 old_docs/API_docs_v70/types/auth_CheckedPhone.md delete mode 100644 old_docs/API_docs_v70/types/auth_CodeType.md delete mode 100644 old_docs/API_docs_v70/types/auth_ExportedAuthorization.md delete mode 100644 old_docs/API_docs_v70/types/auth_PasswordRecovery.md delete mode 100644 old_docs/API_docs_v70/types/auth_SentCode.md delete mode 100644 old_docs/API_docs_v70/types/auth_SentCodeType.md create mode 100644 old_docs/API_docs_v70/types/channels.AdminLogResults.md create mode 100644 old_docs/API_docs_v70/types/channels.ChannelParticipant.md create mode 100644 old_docs/API_docs_v70/types/channels.ChannelParticipants.md delete mode 100644 old_docs/API_docs_v70/types/channels_AdminLogResults.md delete mode 100644 old_docs/API_docs_v70/types/channels_ChannelParticipant.md delete mode 100644 old_docs/API_docs_v70/types/channels_ChannelParticipants.md create mode 100644 old_docs/API_docs_v70/types/contacts.Blocked.md create mode 100644 old_docs/API_docs_v70/types/contacts.Contacts.md create mode 100644 old_docs/API_docs_v70/types/contacts.Found.md create mode 100644 old_docs/API_docs_v70/types/contacts.ImportedContacts.md create mode 100644 old_docs/API_docs_v70/types/contacts.Link.md create mode 100644 old_docs/API_docs_v70/types/contacts.ResolvedPeer.md create mode 100644 old_docs/API_docs_v70/types/contacts.TopPeers.md delete mode 100644 old_docs/API_docs_v70/types/contacts_Blocked.md delete mode 100644 old_docs/API_docs_v70/types/contacts_Contacts.md delete mode 100644 old_docs/API_docs_v70/types/contacts_Found.md delete mode 100644 old_docs/API_docs_v70/types/contacts_ImportedContacts.md delete mode 100644 old_docs/API_docs_v70/types/contacts_Link.md delete mode 100644 old_docs/API_docs_v70/types/contacts_ResolvedPeer.md delete mode 100644 old_docs/API_docs_v70/types/contacts_TopPeers.md create mode 100644 old_docs/API_docs_v70/types/help.AppUpdate.md create mode 100644 old_docs/API_docs_v70/types/help.ConfigSimple.md create mode 100644 old_docs/API_docs_v70/types/help.InviteText.md create mode 100644 old_docs/API_docs_v70/types/help.Support.md create mode 100644 old_docs/API_docs_v70/types/help.TermsOfService.md delete mode 100644 old_docs/API_docs_v70/types/help_AppUpdate.md delete mode 100644 old_docs/API_docs_v70/types/help_ConfigSimple.md delete mode 100644 old_docs/API_docs_v70/types/help_InviteText.md delete mode 100644 old_docs/API_docs_v70/types/help_Support.md delete mode 100644 old_docs/API_docs_v70/types/help_TermsOfService.md create mode 100644 old_docs/API_docs_v70/types/messages.AffectedHistory.md create mode 100644 old_docs/API_docs_v70/types/messages.AffectedMessages.md create mode 100644 old_docs/API_docs_v70/types/messages.AllStickers.md create mode 100644 old_docs/API_docs_v70/types/messages.ArchivedStickers.md create mode 100644 old_docs/API_docs_v70/types/messages.BotCallbackAnswer.md create mode 100644 old_docs/API_docs_v70/types/messages.BotResults.md create mode 100644 old_docs/API_docs_v70/types/messages.ChatFull.md create mode 100644 old_docs/API_docs_v70/types/messages.Chats.md create mode 100644 old_docs/API_docs_v70/types/messages.DhConfig.md create mode 100644 old_docs/API_docs_v70/types/messages.Dialogs.md create mode 100644 old_docs/API_docs_v70/types/messages.FeaturedStickers.md create mode 100644 old_docs/API_docs_v70/types/messages.FoundGifs.md create mode 100644 old_docs/API_docs_v70/types/messages.HighScores.md create mode 100644 old_docs/API_docs_v70/types/messages.MessageEditData.md create mode 100644 old_docs/API_docs_v70/types/messages.Messages.md create mode 100644 old_docs/API_docs_v70/types/messages.PeerDialogs.md create mode 100644 old_docs/API_docs_v70/types/messages.RecentStickers.md create mode 100644 old_docs/API_docs_v70/types/messages.SavedGifs.md create mode 100644 old_docs/API_docs_v70/types/messages.SentEncryptedMessage.md create mode 100644 old_docs/API_docs_v70/types/messages.StickerSet.md create mode 100644 old_docs/API_docs_v70/types/messages.StickerSetInstallResult.md create mode 100644 old_docs/API_docs_v70/types/messages.Stickers.md delete mode 100644 old_docs/API_docs_v70/types/messages_AffectedHistory.md delete mode 100644 old_docs/API_docs_v70/types/messages_AffectedMessages.md delete mode 100644 old_docs/API_docs_v70/types/messages_AllStickers.md delete mode 100644 old_docs/API_docs_v70/types/messages_ArchivedStickers.md delete mode 100644 old_docs/API_docs_v70/types/messages_BotCallbackAnswer.md delete mode 100644 old_docs/API_docs_v70/types/messages_BotResults.md delete mode 100644 old_docs/API_docs_v70/types/messages_ChatFull.md delete mode 100644 old_docs/API_docs_v70/types/messages_Chats.md delete mode 100644 old_docs/API_docs_v70/types/messages_DhConfig.md delete mode 100644 old_docs/API_docs_v70/types/messages_Dialogs.md delete mode 100644 old_docs/API_docs_v70/types/messages_FeaturedStickers.md delete mode 100644 old_docs/API_docs_v70/types/messages_FoundGifs.md delete mode 100644 old_docs/API_docs_v70/types/messages_HighScores.md delete mode 100644 old_docs/API_docs_v70/types/messages_MessageEditData.md delete mode 100644 old_docs/API_docs_v70/types/messages_Messages.md delete mode 100644 old_docs/API_docs_v70/types/messages_PeerDialogs.md delete mode 100644 old_docs/API_docs_v70/types/messages_RecentStickers.md delete mode 100644 old_docs/API_docs_v70/types/messages_SavedGifs.md delete mode 100644 old_docs/API_docs_v70/types/messages_SentEncryptedMessage.md delete mode 100644 old_docs/API_docs_v70/types/messages_StickerSet.md delete mode 100644 old_docs/API_docs_v70/types/messages_StickerSetInstallResult.md delete mode 100644 old_docs/API_docs_v70/types/messages_Stickers.md create mode 100644 old_docs/API_docs_v70/types/payments.PaymentForm.md create mode 100644 old_docs/API_docs_v70/types/payments.PaymentReceipt.md create mode 100644 old_docs/API_docs_v70/types/payments.PaymentResult.md create mode 100644 old_docs/API_docs_v70/types/payments.SavedInfo.md create mode 100644 old_docs/API_docs_v70/types/payments.ValidatedRequestedInfo.md delete mode 100644 old_docs/API_docs_v70/types/payments_PaymentForm.md delete mode 100644 old_docs/API_docs_v70/types/payments_PaymentReceipt.md delete mode 100644 old_docs/API_docs_v70/types/payments_PaymentResult.md delete mode 100644 old_docs/API_docs_v70/types/payments_SavedInfo.md delete mode 100644 old_docs/API_docs_v70/types/payments_ValidatedRequestedInfo.md create mode 100644 old_docs/API_docs_v70/types/phone.PhoneCall.md delete mode 100644 old_docs/API_docs_v70/types/phone_PhoneCall.md create mode 100644 old_docs/API_docs_v70/types/photos.Photo.md create mode 100644 old_docs/API_docs_v70/types/photos.Photos.md delete mode 100644 old_docs/API_docs_v70/types/photos_Photo.md delete mode 100644 old_docs/API_docs_v70/types/photos_Photos.md create mode 100644 old_docs/API_docs_v70/types/storage.FileType.md delete mode 100644 old_docs/API_docs_v70/types/storage_FileType.md create mode 100644 old_docs/API_docs_v70/types/updates.ChannelDifference.md create mode 100644 old_docs/API_docs_v70/types/updates.Difference.md create mode 100644 old_docs/API_docs_v70/types/updates.State.md delete mode 100644 old_docs/API_docs_v70/types/updates_ChannelDifference.md delete mode 100644 old_docs/API_docs_v70/types/updates_Difference.md delete mode 100644 old_docs/API_docs_v70/types/updates_State.md create mode 100644 old_docs/API_docs_v70/types/upload.CdnFile.md create mode 100644 old_docs/API_docs_v70/types/upload.File.md create mode 100644 old_docs/API_docs_v70/types/upload.WebFile.md delete mode 100644 old_docs/API_docs_v70/types/upload_CdnFile.md delete mode 100644 old_docs/API_docs_v70/types/upload_File.md delete mode 100644 old_docs/API_docs_v70/types/upload_WebFile.md create mode 100644 old_docs/API_docs_v71/constructors/account.authorizations.md create mode 100644 old_docs/API_docs_v71/constructors/account.noPassword.md create mode 100644 old_docs/API_docs_v71/constructors/account.password.md create mode 100644 old_docs/API_docs_v71/constructors/account.passwordInputSettings.md create mode 100644 old_docs/API_docs_v71/constructors/account.passwordSettings.md create mode 100644 old_docs/API_docs_v71/constructors/account.privacyRules.md create mode 100644 old_docs/API_docs_v71/constructors/account.tmpPassword.md delete mode 100644 old_docs/API_docs_v71/constructors/account_authorizations.md delete mode 100644 old_docs/API_docs_v71/constructors/account_noPassword.md delete mode 100644 old_docs/API_docs_v71/constructors/account_password.md delete mode 100644 old_docs/API_docs_v71/constructors/account_passwordInputSettings.md delete mode 100644 old_docs/API_docs_v71/constructors/account_passwordSettings.md delete mode 100644 old_docs/API_docs_v71/constructors/account_privacyRules.md delete mode 100644 old_docs/API_docs_v71/constructors/account_tmpPassword.md create mode 100644 old_docs/API_docs_v71/constructors/auth.authorization.md create mode 100644 old_docs/API_docs_v71/constructors/auth.checkedPhone.md create mode 100644 old_docs/API_docs_v71/constructors/auth.codeTypeCall.md create mode 100644 old_docs/API_docs_v71/constructors/auth.codeTypeFlashCall.md create mode 100644 old_docs/API_docs_v71/constructors/auth.codeTypeSms.md create mode 100644 old_docs/API_docs_v71/constructors/auth.exportedAuthorization.md create mode 100644 old_docs/API_docs_v71/constructors/auth.passwordRecovery.md create mode 100644 old_docs/API_docs_v71/constructors/auth.sentCode.md create mode 100644 old_docs/API_docs_v71/constructors/auth.sentCodeTypeApp.md create mode 100644 old_docs/API_docs_v71/constructors/auth.sentCodeTypeCall.md create mode 100644 old_docs/API_docs_v71/constructors/auth.sentCodeTypeFlashCall.md create mode 100644 old_docs/API_docs_v71/constructors/auth.sentCodeTypeSms.md delete mode 100644 old_docs/API_docs_v71/constructors/auth_authorization.md delete mode 100644 old_docs/API_docs_v71/constructors/auth_checkedPhone.md delete mode 100644 old_docs/API_docs_v71/constructors/auth_codeTypeCall.md delete mode 100644 old_docs/API_docs_v71/constructors/auth_codeTypeFlashCall.md delete mode 100644 old_docs/API_docs_v71/constructors/auth_codeTypeSms.md delete mode 100644 old_docs/API_docs_v71/constructors/auth_exportedAuthorization.md delete mode 100644 old_docs/API_docs_v71/constructors/auth_passwordRecovery.md delete mode 100644 old_docs/API_docs_v71/constructors/auth_sentCode.md delete mode 100644 old_docs/API_docs_v71/constructors/auth_sentCodeTypeApp.md delete mode 100644 old_docs/API_docs_v71/constructors/auth_sentCodeTypeCall.md delete mode 100644 old_docs/API_docs_v71/constructors/auth_sentCodeTypeFlashCall.md delete mode 100644 old_docs/API_docs_v71/constructors/auth_sentCodeTypeSms.md create mode 100644 old_docs/API_docs_v71/constructors/channels.adminLogResults.md create mode 100644 old_docs/API_docs_v71/constructors/channels.channelParticipant.md create mode 100644 old_docs/API_docs_v71/constructors/channels.channelParticipants.md delete mode 100644 old_docs/API_docs_v71/constructors/channels_adminLogResults.md delete mode 100644 old_docs/API_docs_v71/constructors/channels_channelParticipant.md delete mode 100644 old_docs/API_docs_v71/constructors/channels_channelParticipants.md create mode 100644 old_docs/API_docs_v71/constructors/contacts.blocked.md create mode 100644 old_docs/API_docs_v71/constructors/contacts.blockedSlice.md create mode 100644 old_docs/API_docs_v71/constructors/contacts.contacts.md create mode 100644 old_docs/API_docs_v71/constructors/contacts.contactsNotModified.md create mode 100644 old_docs/API_docs_v71/constructors/contacts.found.md create mode 100644 old_docs/API_docs_v71/constructors/contacts.importedContacts.md create mode 100644 old_docs/API_docs_v71/constructors/contacts.link.md create mode 100644 old_docs/API_docs_v71/constructors/contacts.resolvedPeer.md create mode 100644 old_docs/API_docs_v71/constructors/contacts.topPeers.md create mode 100644 old_docs/API_docs_v71/constructors/contacts.topPeersNotModified.md delete mode 100644 old_docs/API_docs_v71/constructors/contacts_blocked.md delete mode 100644 old_docs/API_docs_v71/constructors/contacts_blockedSlice.md delete mode 100644 old_docs/API_docs_v71/constructors/contacts_contacts.md delete mode 100644 old_docs/API_docs_v71/constructors/contacts_contactsNotModified.md delete mode 100644 old_docs/API_docs_v71/constructors/contacts_found.md delete mode 100644 old_docs/API_docs_v71/constructors/contacts_importedContacts.md delete mode 100644 old_docs/API_docs_v71/constructors/contacts_link.md delete mode 100644 old_docs/API_docs_v71/constructors/contacts_resolvedPeer.md delete mode 100644 old_docs/API_docs_v71/constructors/contacts_topPeers.md delete mode 100644 old_docs/API_docs_v71/constructors/contacts_topPeersNotModified.md create mode 100644 old_docs/API_docs_v71/constructors/help.appUpdate.md create mode 100644 old_docs/API_docs_v71/constructors/help.configSimple.md create mode 100644 old_docs/API_docs_v71/constructors/help.inviteText.md create mode 100644 old_docs/API_docs_v71/constructors/help.noAppUpdate.md create mode 100644 old_docs/API_docs_v71/constructors/help.support.md create mode 100644 old_docs/API_docs_v71/constructors/help.termsOfService.md delete mode 100644 old_docs/API_docs_v71/constructors/help_appUpdate.md delete mode 100644 old_docs/API_docs_v71/constructors/help_configSimple.md delete mode 100644 old_docs/API_docs_v71/constructors/help_inviteText.md delete mode 100644 old_docs/API_docs_v71/constructors/help_noAppUpdate.md delete mode 100644 old_docs/API_docs_v71/constructors/help_support.md delete mode 100644 old_docs/API_docs_v71/constructors/help_termsOfService.md create mode 100644 old_docs/API_docs_v71/constructors/messages.affectedHistory.md create mode 100644 old_docs/API_docs_v71/constructors/messages.affectedMessages.md create mode 100644 old_docs/API_docs_v71/constructors/messages.allStickers.md create mode 100644 old_docs/API_docs_v71/constructors/messages.allStickersNotModified.md create mode 100644 old_docs/API_docs_v71/constructors/messages.archivedStickers.md create mode 100644 old_docs/API_docs_v71/constructors/messages.botCallbackAnswer.md create mode 100644 old_docs/API_docs_v71/constructors/messages.botResults.md create mode 100644 old_docs/API_docs_v71/constructors/messages.channelMessages.md create mode 100644 old_docs/API_docs_v71/constructors/messages.chatFull.md create mode 100644 old_docs/API_docs_v71/constructors/messages.chats.md create mode 100644 old_docs/API_docs_v71/constructors/messages.chatsSlice.md create mode 100644 old_docs/API_docs_v71/constructors/messages.dhConfig.md create mode 100644 old_docs/API_docs_v71/constructors/messages.dhConfigNotModified.md create mode 100644 old_docs/API_docs_v71/constructors/messages.dialogs.md create mode 100644 old_docs/API_docs_v71/constructors/messages.dialogsSlice.md create mode 100644 old_docs/API_docs_v71/constructors/messages.favedStickers.md create mode 100644 old_docs/API_docs_v71/constructors/messages.favedStickersNotModified.md create mode 100644 old_docs/API_docs_v71/constructors/messages.featuredStickers.md create mode 100644 old_docs/API_docs_v71/constructors/messages.featuredStickersNotModified.md create mode 100644 old_docs/API_docs_v71/constructors/messages.foundGifs.md create mode 100644 old_docs/API_docs_v71/constructors/messages.highScores.md create mode 100644 old_docs/API_docs_v71/constructors/messages.messageEditData.md create mode 100644 old_docs/API_docs_v71/constructors/messages.messages.md create mode 100644 old_docs/API_docs_v71/constructors/messages.messagesSlice.md create mode 100644 old_docs/API_docs_v71/constructors/messages.peerDialogs.md create mode 100644 old_docs/API_docs_v71/constructors/messages.recentStickers.md create mode 100644 old_docs/API_docs_v71/constructors/messages.recentStickersNotModified.md create mode 100644 old_docs/API_docs_v71/constructors/messages.savedGifs.md create mode 100644 old_docs/API_docs_v71/constructors/messages.savedGifsNotModified.md create mode 100644 old_docs/API_docs_v71/constructors/messages.sentEncryptedFile.md create mode 100644 old_docs/API_docs_v71/constructors/messages.sentEncryptedMessage.md create mode 100644 old_docs/API_docs_v71/constructors/messages.stickerSet.md create mode 100644 old_docs/API_docs_v71/constructors/messages.stickerSetInstallResultArchive.md create mode 100644 old_docs/API_docs_v71/constructors/messages.stickerSetInstallResultSuccess.md create mode 100644 old_docs/API_docs_v71/constructors/messages.stickers.md create mode 100644 old_docs/API_docs_v71/constructors/messages.stickersNotModified.md delete mode 100644 old_docs/API_docs_v71/constructors/messages_affectedHistory.md delete mode 100644 old_docs/API_docs_v71/constructors/messages_affectedMessages.md delete mode 100644 old_docs/API_docs_v71/constructors/messages_allStickers.md delete mode 100644 old_docs/API_docs_v71/constructors/messages_allStickersNotModified.md delete mode 100644 old_docs/API_docs_v71/constructors/messages_archivedStickers.md delete mode 100644 old_docs/API_docs_v71/constructors/messages_botCallbackAnswer.md delete mode 100644 old_docs/API_docs_v71/constructors/messages_botResults.md delete mode 100644 old_docs/API_docs_v71/constructors/messages_channelMessages.md delete mode 100644 old_docs/API_docs_v71/constructors/messages_chatFull.md delete mode 100644 old_docs/API_docs_v71/constructors/messages_chats.md delete mode 100644 old_docs/API_docs_v71/constructors/messages_chatsSlice.md delete mode 100644 old_docs/API_docs_v71/constructors/messages_dhConfig.md delete mode 100644 old_docs/API_docs_v71/constructors/messages_dhConfigNotModified.md delete mode 100644 old_docs/API_docs_v71/constructors/messages_dialogs.md delete mode 100644 old_docs/API_docs_v71/constructors/messages_dialogsSlice.md delete mode 100644 old_docs/API_docs_v71/constructors/messages_favedStickers.md delete mode 100644 old_docs/API_docs_v71/constructors/messages_favedStickersNotModified.md delete mode 100644 old_docs/API_docs_v71/constructors/messages_featuredStickers.md delete mode 100644 old_docs/API_docs_v71/constructors/messages_featuredStickersNotModified.md delete mode 100644 old_docs/API_docs_v71/constructors/messages_foundGifs.md delete mode 100644 old_docs/API_docs_v71/constructors/messages_highScores.md delete mode 100644 old_docs/API_docs_v71/constructors/messages_messageEditData.md delete mode 100644 old_docs/API_docs_v71/constructors/messages_messages.md delete mode 100644 old_docs/API_docs_v71/constructors/messages_messagesSlice.md delete mode 100644 old_docs/API_docs_v71/constructors/messages_peerDialogs.md delete mode 100644 old_docs/API_docs_v71/constructors/messages_recentStickers.md delete mode 100644 old_docs/API_docs_v71/constructors/messages_recentStickersNotModified.md delete mode 100644 old_docs/API_docs_v71/constructors/messages_savedGifs.md delete mode 100644 old_docs/API_docs_v71/constructors/messages_savedGifsNotModified.md delete mode 100644 old_docs/API_docs_v71/constructors/messages_sentEncryptedFile.md delete mode 100644 old_docs/API_docs_v71/constructors/messages_sentEncryptedMessage.md delete mode 100644 old_docs/API_docs_v71/constructors/messages_stickerSet.md delete mode 100644 old_docs/API_docs_v71/constructors/messages_stickerSetInstallResultArchive.md delete mode 100644 old_docs/API_docs_v71/constructors/messages_stickerSetInstallResultSuccess.md delete mode 100644 old_docs/API_docs_v71/constructors/messages_stickers.md delete mode 100644 old_docs/API_docs_v71/constructors/messages_stickersNotModified.md create mode 100644 old_docs/API_docs_v71/constructors/payments.paymentForm.md create mode 100644 old_docs/API_docs_v71/constructors/payments.paymentReceipt.md create mode 100644 old_docs/API_docs_v71/constructors/payments.paymentResult.md create mode 100644 old_docs/API_docs_v71/constructors/payments.paymentVerficationNeeded.md create mode 100644 old_docs/API_docs_v71/constructors/payments.savedInfo.md create mode 100644 old_docs/API_docs_v71/constructors/payments.validatedRequestedInfo.md delete mode 100644 old_docs/API_docs_v71/constructors/payments_paymentForm.md delete mode 100644 old_docs/API_docs_v71/constructors/payments_paymentReceipt.md delete mode 100644 old_docs/API_docs_v71/constructors/payments_paymentResult.md delete mode 100644 old_docs/API_docs_v71/constructors/payments_paymentVerficationNeeded.md delete mode 100644 old_docs/API_docs_v71/constructors/payments_savedInfo.md delete mode 100644 old_docs/API_docs_v71/constructors/payments_validatedRequestedInfo.md create mode 100644 old_docs/API_docs_v71/constructors/phone.phoneCall.md delete mode 100644 old_docs/API_docs_v71/constructors/phone_phoneCall.md create mode 100644 old_docs/API_docs_v71/constructors/photos.photo.md create mode 100644 old_docs/API_docs_v71/constructors/photos.photos.md create mode 100644 old_docs/API_docs_v71/constructors/photos.photosSlice.md delete mode 100644 old_docs/API_docs_v71/constructors/photos_photo.md delete mode 100644 old_docs/API_docs_v71/constructors/photos_photos.md delete mode 100644 old_docs/API_docs_v71/constructors/photos_photosSlice.md create mode 100644 old_docs/API_docs_v71/constructors/storage.fileGif.md create mode 100644 old_docs/API_docs_v71/constructors/storage.fileJpeg.md create mode 100644 old_docs/API_docs_v71/constructors/storage.fileMov.md create mode 100644 old_docs/API_docs_v71/constructors/storage.fileMp3.md create mode 100644 old_docs/API_docs_v71/constructors/storage.fileMp4.md create mode 100644 old_docs/API_docs_v71/constructors/storage.filePartial.md create mode 100644 old_docs/API_docs_v71/constructors/storage.filePdf.md create mode 100644 old_docs/API_docs_v71/constructors/storage.filePng.md create mode 100644 old_docs/API_docs_v71/constructors/storage.fileUnknown.md create mode 100644 old_docs/API_docs_v71/constructors/storage.fileWebp.md delete mode 100644 old_docs/API_docs_v71/constructors/storage_fileGif.md delete mode 100644 old_docs/API_docs_v71/constructors/storage_fileJpeg.md delete mode 100644 old_docs/API_docs_v71/constructors/storage_fileMov.md delete mode 100644 old_docs/API_docs_v71/constructors/storage_fileMp3.md delete mode 100644 old_docs/API_docs_v71/constructors/storage_fileMp4.md delete mode 100644 old_docs/API_docs_v71/constructors/storage_filePartial.md delete mode 100644 old_docs/API_docs_v71/constructors/storage_filePdf.md delete mode 100644 old_docs/API_docs_v71/constructors/storage_filePng.md delete mode 100644 old_docs/API_docs_v71/constructors/storage_fileUnknown.md delete mode 100644 old_docs/API_docs_v71/constructors/storage_fileWebp.md create mode 100644 old_docs/API_docs_v71/constructors/updates.channelDifference.md create mode 100644 old_docs/API_docs_v71/constructors/updates.channelDifferenceEmpty.md create mode 100644 old_docs/API_docs_v71/constructors/updates.channelDifferenceTooLong.md create mode 100644 old_docs/API_docs_v71/constructors/updates.difference.md create mode 100644 old_docs/API_docs_v71/constructors/updates.differenceEmpty.md create mode 100644 old_docs/API_docs_v71/constructors/updates.differenceSlice.md create mode 100644 old_docs/API_docs_v71/constructors/updates.differenceTooLong.md create mode 100644 old_docs/API_docs_v71/constructors/updates.state.md delete mode 100644 old_docs/API_docs_v71/constructors/updates_channelDifference.md delete mode 100644 old_docs/API_docs_v71/constructors/updates_channelDifferenceEmpty.md delete mode 100644 old_docs/API_docs_v71/constructors/updates_channelDifferenceTooLong.md delete mode 100644 old_docs/API_docs_v71/constructors/updates_difference.md delete mode 100644 old_docs/API_docs_v71/constructors/updates_differenceEmpty.md delete mode 100644 old_docs/API_docs_v71/constructors/updates_differenceSlice.md delete mode 100644 old_docs/API_docs_v71/constructors/updates_differenceTooLong.md delete mode 100644 old_docs/API_docs_v71/constructors/updates_state.md create mode 100644 old_docs/API_docs_v71/constructors/upload.cdnFile.md create mode 100644 old_docs/API_docs_v71/constructors/upload.cdnFileReuploadNeeded.md create mode 100644 old_docs/API_docs_v71/constructors/upload.file.md create mode 100644 old_docs/API_docs_v71/constructors/upload.fileCdnRedirect.md create mode 100644 old_docs/API_docs_v71/constructors/upload.webFile.md delete mode 100644 old_docs/API_docs_v71/constructors/upload_cdnFile.md delete mode 100644 old_docs/API_docs_v71/constructors/upload_cdnFileReuploadNeeded.md delete mode 100644 old_docs/API_docs_v71/constructors/upload_file.md delete mode 100644 old_docs/API_docs_v71/constructors/upload_fileCdnRedirect.md delete mode 100644 old_docs/API_docs_v71/constructors/upload_webFile.md create mode 100644 old_docs/API_docs_v71/types/account.Authorizations.md create mode 100644 old_docs/API_docs_v71/types/account.Password.md create mode 100644 old_docs/API_docs_v71/types/account.PasswordInputSettings.md create mode 100644 old_docs/API_docs_v71/types/account.PasswordSettings.md create mode 100644 old_docs/API_docs_v71/types/account.PrivacyRules.md create mode 100644 old_docs/API_docs_v71/types/account.TmpPassword.md delete mode 100644 old_docs/API_docs_v71/types/account_Authorizations.md delete mode 100644 old_docs/API_docs_v71/types/account_Password.md delete mode 100644 old_docs/API_docs_v71/types/account_PasswordInputSettings.md delete mode 100644 old_docs/API_docs_v71/types/account_PasswordSettings.md delete mode 100644 old_docs/API_docs_v71/types/account_PrivacyRules.md delete mode 100644 old_docs/API_docs_v71/types/account_TmpPassword.md create mode 100644 old_docs/API_docs_v71/types/auth.Authorization.md create mode 100644 old_docs/API_docs_v71/types/auth.CheckedPhone.md create mode 100644 old_docs/API_docs_v71/types/auth.CodeType.md create mode 100644 old_docs/API_docs_v71/types/auth.ExportedAuthorization.md create mode 100644 old_docs/API_docs_v71/types/auth.PasswordRecovery.md create mode 100644 old_docs/API_docs_v71/types/auth.SentCode.md create mode 100644 old_docs/API_docs_v71/types/auth.SentCodeType.md delete mode 100644 old_docs/API_docs_v71/types/auth_Authorization.md delete mode 100644 old_docs/API_docs_v71/types/auth_CheckedPhone.md delete mode 100644 old_docs/API_docs_v71/types/auth_CodeType.md delete mode 100644 old_docs/API_docs_v71/types/auth_ExportedAuthorization.md delete mode 100644 old_docs/API_docs_v71/types/auth_PasswordRecovery.md delete mode 100644 old_docs/API_docs_v71/types/auth_SentCode.md delete mode 100644 old_docs/API_docs_v71/types/auth_SentCodeType.md create mode 100644 old_docs/API_docs_v71/types/channels.AdminLogResults.md create mode 100644 old_docs/API_docs_v71/types/channels.ChannelParticipant.md create mode 100644 old_docs/API_docs_v71/types/channels.ChannelParticipants.md delete mode 100644 old_docs/API_docs_v71/types/channels_AdminLogResults.md delete mode 100644 old_docs/API_docs_v71/types/channels_ChannelParticipant.md delete mode 100644 old_docs/API_docs_v71/types/channels_ChannelParticipants.md create mode 100644 old_docs/API_docs_v71/types/contacts.Blocked.md create mode 100644 old_docs/API_docs_v71/types/contacts.Contacts.md create mode 100644 old_docs/API_docs_v71/types/contacts.Found.md create mode 100644 old_docs/API_docs_v71/types/contacts.ImportedContacts.md create mode 100644 old_docs/API_docs_v71/types/contacts.Link.md create mode 100644 old_docs/API_docs_v71/types/contacts.ResolvedPeer.md create mode 100644 old_docs/API_docs_v71/types/contacts.TopPeers.md delete mode 100644 old_docs/API_docs_v71/types/contacts_Blocked.md delete mode 100644 old_docs/API_docs_v71/types/contacts_Contacts.md delete mode 100644 old_docs/API_docs_v71/types/contacts_Found.md delete mode 100644 old_docs/API_docs_v71/types/contacts_ImportedContacts.md delete mode 100644 old_docs/API_docs_v71/types/contacts_Link.md delete mode 100644 old_docs/API_docs_v71/types/contacts_ResolvedPeer.md delete mode 100644 old_docs/API_docs_v71/types/contacts_TopPeers.md create mode 100644 old_docs/API_docs_v71/types/help.AppUpdate.md create mode 100644 old_docs/API_docs_v71/types/help.ConfigSimple.md create mode 100644 old_docs/API_docs_v71/types/help.InviteText.md create mode 100644 old_docs/API_docs_v71/types/help.Support.md create mode 100644 old_docs/API_docs_v71/types/help.TermsOfService.md delete mode 100644 old_docs/API_docs_v71/types/help_AppUpdate.md delete mode 100644 old_docs/API_docs_v71/types/help_ConfigSimple.md delete mode 100644 old_docs/API_docs_v71/types/help_InviteText.md delete mode 100644 old_docs/API_docs_v71/types/help_Support.md delete mode 100644 old_docs/API_docs_v71/types/help_TermsOfService.md create mode 100644 old_docs/API_docs_v71/types/messages.AffectedHistory.md create mode 100644 old_docs/API_docs_v71/types/messages.AffectedMessages.md create mode 100644 old_docs/API_docs_v71/types/messages.AllStickers.md create mode 100644 old_docs/API_docs_v71/types/messages.ArchivedStickers.md create mode 100644 old_docs/API_docs_v71/types/messages.BotCallbackAnswer.md create mode 100644 old_docs/API_docs_v71/types/messages.BotResults.md create mode 100644 old_docs/API_docs_v71/types/messages.ChatFull.md create mode 100644 old_docs/API_docs_v71/types/messages.Chats.md create mode 100644 old_docs/API_docs_v71/types/messages.DhConfig.md create mode 100644 old_docs/API_docs_v71/types/messages.Dialogs.md create mode 100644 old_docs/API_docs_v71/types/messages.FavedStickers.md create mode 100644 old_docs/API_docs_v71/types/messages.FeaturedStickers.md create mode 100644 old_docs/API_docs_v71/types/messages.FoundGifs.md create mode 100644 old_docs/API_docs_v71/types/messages.HighScores.md create mode 100644 old_docs/API_docs_v71/types/messages.MessageEditData.md create mode 100644 old_docs/API_docs_v71/types/messages.Messages.md create mode 100644 old_docs/API_docs_v71/types/messages.PeerDialogs.md create mode 100644 old_docs/API_docs_v71/types/messages.RecentStickers.md create mode 100644 old_docs/API_docs_v71/types/messages.SavedGifs.md create mode 100644 old_docs/API_docs_v71/types/messages.SentEncryptedMessage.md create mode 100644 old_docs/API_docs_v71/types/messages.StickerSet.md create mode 100644 old_docs/API_docs_v71/types/messages.StickerSetInstallResult.md create mode 100644 old_docs/API_docs_v71/types/messages.Stickers.md delete mode 100644 old_docs/API_docs_v71/types/messages_AffectedHistory.md delete mode 100644 old_docs/API_docs_v71/types/messages_AffectedMessages.md delete mode 100644 old_docs/API_docs_v71/types/messages_AllStickers.md delete mode 100644 old_docs/API_docs_v71/types/messages_ArchivedStickers.md delete mode 100644 old_docs/API_docs_v71/types/messages_BotCallbackAnswer.md delete mode 100644 old_docs/API_docs_v71/types/messages_BotResults.md delete mode 100644 old_docs/API_docs_v71/types/messages_ChatFull.md delete mode 100644 old_docs/API_docs_v71/types/messages_Chats.md delete mode 100644 old_docs/API_docs_v71/types/messages_DhConfig.md delete mode 100644 old_docs/API_docs_v71/types/messages_Dialogs.md delete mode 100644 old_docs/API_docs_v71/types/messages_FavedStickers.md delete mode 100644 old_docs/API_docs_v71/types/messages_FeaturedStickers.md delete mode 100644 old_docs/API_docs_v71/types/messages_FoundGifs.md delete mode 100644 old_docs/API_docs_v71/types/messages_HighScores.md delete mode 100644 old_docs/API_docs_v71/types/messages_MessageEditData.md delete mode 100644 old_docs/API_docs_v71/types/messages_Messages.md delete mode 100644 old_docs/API_docs_v71/types/messages_PeerDialogs.md delete mode 100644 old_docs/API_docs_v71/types/messages_RecentStickers.md delete mode 100644 old_docs/API_docs_v71/types/messages_SavedGifs.md delete mode 100644 old_docs/API_docs_v71/types/messages_SentEncryptedMessage.md delete mode 100644 old_docs/API_docs_v71/types/messages_StickerSet.md delete mode 100644 old_docs/API_docs_v71/types/messages_StickerSetInstallResult.md delete mode 100644 old_docs/API_docs_v71/types/messages_Stickers.md create mode 100644 old_docs/API_docs_v71/types/payments.PaymentForm.md create mode 100644 old_docs/API_docs_v71/types/payments.PaymentReceipt.md create mode 100644 old_docs/API_docs_v71/types/payments.PaymentResult.md create mode 100644 old_docs/API_docs_v71/types/payments.SavedInfo.md create mode 100644 old_docs/API_docs_v71/types/payments.ValidatedRequestedInfo.md delete mode 100644 old_docs/API_docs_v71/types/payments_PaymentForm.md delete mode 100644 old_docs/API_docs_v71/types/payments_PaymentReceipt.md delete mode 100644 old_docs/API_docs_v71/types/payments_PaymentResult.md delete mode 100644 old_docs/API_docs_v71/types/payments_SavedInfo.md delete mode 100644 old_docs/API_docs_v71/types/payments_ValidatedRequestedInfo.md create mode 100644 old_docs/API_docs_v71/types/phone.PhoneCall.md delete mode 100644 old_docs/API_docs_v71/types/phone_PhoneCall.md create mode 100644 old_docs/API_docs_v71/types/photos.Photo.md create mode 100644 old_docs/API_docs_v71/types/photos.Photos.md delete mode 100644 old_docs/API_docs_v71/types/photos_Photo.md delete mode 100644 old_docs/API_docs_v71/types/photos_Photos.md create mode 100644 old_docs/API_docs_v71/types/storage.FileType.md delete mode 100644 old_docs/API_docs_v71/types/storage_FileType.md create mode 100644 old_docs/API_docs_v71/types/updates.ChannelDifference.md create mode 100644 old_docs/API_docs_v71/types/updates.Difference.md create mode 100644 old_docs/API_docs_v71/types/updates.State.md delete mode 100644 old_docs/API_docs_v71/types/updates_ChannelDifference.md delete mode 100644 old_docs/API_docs_v71/types/updates_Difference.md delete mode 100644 old_docs/API_docs_v71/types/updates_State.md create mode 100644 old_docs/API_docs_v71/types/upload.CdnFile.md create mode 100644 old_docs/API_docs_v71/types/upload.File.md create mode 100644 old_docs/API_docs_v71/types/upload.WebFile.md delete mode 100644 old_docs/API_docs_v71/types/upload_CdnFile.md delete mode 100644 old_docs/API_docs_v71/types/upload_File.md delete mode 100644 old_docs/API_docs_v71/types/upload_WebFile.md create mode 100644 old_docs/API_docs_v72/constructors/account.authorizations.md create mode 100644 old_docs/API_docs_v72/constructors/account.noPassword.md create mode 100644 old_docs/API_docs_v72/constructors/account.password.md create mode 100644 old_docs/API_docs_v72/constructors/account.passwordInputSettings.md create mode 100644 old_docs/API_docs_v72/constructors/account.passwordSettings.md create mode 100644 old_docs/API_docs_v72/constructors/account.privacyRules.md create mode 100644 old_docs/API_docs_v72/constructors/account.tmpPassword.md delete mode 100644 old_docs/API_docs_v72/constructors/account_authorizations.md delete mode 100644 old_docs/API_docs_v72/constructors/account_noPassword.md delete mode 100644 old_docs/API_docs_v72/constructors/account_password.md delete mode 100644 old_docs/API_docs_v72/constructors/account_passwordInputSettings.md delete mode 100644 old_docs/API_docs_v72/constructors/account_passwordSettings.md delete mode 100644 old_docs/API_docs_v72/constructors/account_privacyRules.md delete mode 100644 old_docs/API_docs_v72/constructors/account_tmpPassword.md create mode 100644 old_docs/API_docs_v72/constructors/auth.authorization.md create mode 100644 old_docs/API_docs_v72/constructors/auth.checkedPhone.md create mode 100644 old_docs/API_docs_v72/constructors/auth.codeTypeCall.md create mode 100644 old_docs/API_docs_v72/constructors/auth.codeTypeFlashCall.md create mode 100644 old_docs/API_docs_v72/constructors/auth.codeTypeSms.md create mode 100644 old_docs/API_docs_v72/constructors/auth.exportedAuthorization.md create mode 100644 old_docs/API_docs_v72/constructors/auth.passwordRecovery.md create mode 100644 old_docs/API_docs_v72/constructors/auth.sentCode.md create mode 100644 old_docs/API_docs_v72/constructors/auth.sentCodeTypeApp.md create mode 100644 old_docs/API_docs_v72/constructors/auth.sentCodeTypeCall.md create mode 100644 old_docs/API_docs_v72/constructors/auth.sentCodeTypeFlashCall.md create mode 100644 old_docs/API_docs_v72/constructors/auth.sentCodeTypeSms.md delete mode 100644 old_docs/API_docs_v72/constructors/auth_authorization.md delete mode 100644 old_docs/API_docs_v72/constructors/auth_checkedPhone.md delete mode 100644 old_docs/API_docs_v72/constructors/auth_codeTypeCall.md delete mode 100644 old_docs/API_docs_v72/constructors/auth_codeTypeFlashCall.md delete mode 100644 old_docs/API_docs_v72/constructors/auth_codeTypeSms.md delete mode 100644 old_docs/API_docs_v72/constructors/auth_exportedAuthorization.md delete mode 100644 old_docs/API_docs_v72/constructors/auth_passwordRecovery.md delete mode 100644 old_docs/API_docs_v72/constructors/auth_sentCode.md delete mode 100644 old_docs/API_docs_v72/constructors/auth_sentCodeTypeApp.md delete mode 100644 old_docs/API_docs_v72/constructors/auth_sentCodeTypeCall.md delete mode 100644 old_docs/API_docs_v72/constructors/auth_sentCodeTypeFlashCall.md delete mode 100644 old_docs/API_docs_v72/constructors/auth_sentCodeTypeSms.md create mode 100644 old_docs/API_docs_v72/constructors/channels.adminLogResults.md create mode 100644 old_docs/API_docs_v72/constructors/channels.channelParticipant.md create mode 100644 old_docs/API_docs_v72/constructors/channels.channelParticipants.md create mode 100644 old_docs/API_docs_v72/constructors/channels.channelParticipantsNotModified.md delete mode 100644 old_docs/API_docs_v72/constructors/channels_adminLogResults.md delete mode 100644 old_docs/API_docs_v72/constructors/channels_channelParticipant.md delete mode 100644 old_docs/API_docs_v72/constructors/channels_channelParticipants.md delete mode 100644 old_docs/API_docs_v72/constructors/channels_channelParticipantsNotModified.md create mode 100644 old_docs/API_docs_v72/constructors/contacts.blocked.md create mode 100644 old_docs/API_docs_v72/constructors/contacts.blockedSlice.md create mode 100644 old_docs/API_docs_v72/constructors/contacts.contacts.md create mode 100644 old_docs/API_docs_v72/constructors/contacts.contactsNotModified.md create mode 100644 old_docs/API_docs_v72/constructors/contacts.found.md create mode 100644 old_docs/API_docs_v72/constructors/contacts.importedContacts.md create mode 100644 old_docs/API_docs_v72/constructors/contacts.link.md create mode 100644 old_docs/API_docs_v72/constructors/contacts.resolvedPeer.md create mode 100644 old_docs/API_docs_v72/constructors/contacts.topPeers.md create mode 100644 old_docs/API_docs_v72/constructors/contacts.topPeersNotModified.md delete mode 100644 old_docs/API_docs_v72/constructors/contacts_blocked.md delete mode 100644 old_docs/API_docs_v72/constructors/contacts_blockedSlice.md delete mode 100644 old_docs/API_docs_v72/constructors/contacts_contacts.md delete mode 100644 old_docs/API_docs_v72/constructors/contacts_contactsNotModified.md delete mode 100644 old_docs/API_docs_v72/constructors/contacts_found.md delete mode 100644 old_docs/API_docs_v72/constructors/contacts_importedContacts.md delete mode 100644 old_docs/API_docs_v72/constructors/contacts_link.md delete mode 100644 old_docs/API_docs_v72/constructors/contacts_resolvedPeer.md delete mode 100644 old_docs/API_docs_v72/constructors/contacts_topPeers.md delete mode 100644 old_docs/API_docs_v72/constructors/contacts_topPeersNotModified.md create mode 100644 old_docs/API_docs_v72/constructors/help.appUpdate.md create mode 100644 old_docs/API_docs_v72/constructors/help.configSimple.md create mode 100644 old_docs/API_docs_v72/constructors/help.inviteText.md create mode 100644 old_docs/API_docs_v72/constructors/help.noAppUpdate.md create mode 100644 old_docs/API_docs_v72/constructors/help.recentMeUrls.md create mode 100644 old_docs/API_docs_v72/constructors/help.support.md create mode 100644 old_docs/API_docs_v72/constructors/help.termsOfService.md delete mode 100644 old_docs/API_docs_v72/constructors/help_appUpdate.md delete mode 100644 old_docs/API_docs_v72/constructors/help_configSimple.md delete mode 100644 old_docs/API_docs_v72/constructors/help_inviteText.md delete mode 100644 old_docs/API_docs_v72/constructors/help_noAppUpdate.md delete mode 100644 old_docs/API_docs_v72/constructors/help_recentMeUrls.md delete mode 100644 old_docs/API_docs_v72/constructors/help_support.md delete mode 100644 old_docs/API_docs_v72/constructors/help_termsOfService.md create mode 100644 old_docs/API_docs_v72/constructors/messages.affectedHistory.md create mode 100644 old_docs/API_docs_v72/constructors/messages.affectedMessages.md create mode 100644 old_docs/API_docs_v72/constructors/messages.allStickers.md create mode 100644 old_docs/API_docs_v72/constructors/messages.allStickersNotModified.md create mode 100644 old_docs/API_docs_v72/constructors/messages.archivedStickers.md create mode 100644 old_docs/API_docs_v72/constructors/messages.botCallbackAnswer.md create mode 100644 old_docs/API_docs_v72/constructors/messages.botResults.md create mode 100644 old_docs/API_docs_v72/constructors/messages.channelMessages.md create mode 100644 old_docs/API_docs_v72/constructors/messages.chatFull.md create mode 100644 old_docs/API_docs_v72/constructors/messages.chats.md create mode 100644 old_docs/API_docs_v72/constructors/messages.chatsSlice.md create mode 100644 old_docs/API_docs_v72/constructors/messages.dhConfig.md create mode 100644 old_docs/API_docs_v72/constructors/messages.dhConfigNotModified.md create mode 100644 old_docs/API_docs_v72/constructors/messages.dialogs.md create mode 100644 old_docs/API_docs_v72/constructors/messages.dialogsSlice.md create mode 100644 old_docs/API_docs_v72/constructors/messages.favedStickers.md create mode 100644 old_docs/API_docs_v72/constructors/messages.favedStickersNotModified.md create mode 100644 old_docs/API_docs_v72/constructors/messages.featuredStickers.md create mode 100644 old_docs/API_docs_v72/constructors/messages.featuredStickersNotModified.md create mode 100644 old_docs/API_docs_v72/constructors/messages.foundGifs.md create mode 100644 old_docs/API_docs_v72/constructors/messages.highScores.md create mode 100644 old_docs/API_docs_v72/constructors/messages.messageEditData.md create mode 100644 old_docs/API_docs_v72/constructors/messages.messages.md create mode 100644 old_docs/API_docs_v72/constructors/messages.messagesSlice.md create mode 100644 old_docs/API_docs_v72/constructors/messages.peerDialogs.md create mode 100644 old_docs/API_docs_v72/constructors/messages.recentStickers.md create mode 100644 old_docs/API_docs_v72/constructors/messages.recentStickersNotModified.md create mode 100644 old_docs/API_docs_v72/constructors/messages.savedGifs.md create mode 100644 old_docs/API_docs_v72/constructors/messages.savedGifsNotModified.md create mode 100644 old_docs/API_docs_v72/constructors/messages.sentEncryptedFile.md create mode 100644 old_docs/API_docs_v72/constructors/messages.sentEncryptedMessage.md create mode 100644 old_docs/API_docs_v72/constructors/messages.stickerSet.md create mode 100644 old_docs/API_docs_v72/constructors/messages.stickerSetInstallResultArchive.md create mode 100644 old_docs/API_docs_v72/constructors/messages.stickerSetInstallResultSuccess.md create mode 100644 old_docs/API_docs_v72/constructors/messages.stickers.md create mode 100644 old_docs/API_docs_v72/constructors/messages.stickersNotModified.md delete mode 100644 old_docs/API_docs_v72/constructors/messages_affectedHistory.md delete mode 100644 old_docs/API_docs_v72/constructors/messages_affectedMessages.md delete mode 100644 old_docs/API_docs_v72/constructors/messages_allStickers.md delete mode 100644 old_docs/API_docs_v72/constructors/messages_allStickersNotModified.md delete mode 100644 old_docs/API_docs_v72/constructors/messages_archivedStickers.md delete mode 100644 old_docs/API_docs_v72/constructors/messages_botCallbackAnswer.md delete mode 100644 old_docs/API_docs_v72/constructors/messages_botResults.md delete mode 100644 old_docs/API_docs_v72/constructors/messages_channelMessages.md delete mode 100644 old_docs/API_docs_v72/constructors/messages_chatFull.md delete mode 100644 old_docs/API_docs_v72/constructors/messages_chats.md delete mode 100644 old_docs/API_docs_v72/constructors/messages_chatsSlice.md delete mode 100644 old_docs/API_docs_v72/constructors/messages_dhConfig.md delete mode 100644 old_docs/API_docs_v72/constructors/messages_dhConfigNotModified.md delete mode 100644 old_docs/API_docs_v72/constructors/messages_dialogs.md delete mode 100644 old_docs/API_docs_v72/constructors/messages_dialogsSlice.md delete mode 100644 old_docs/API_docs_v72/constructors/messages_favedStickers.md delete mode 100644 old_docs/API_docs_v72/constructors/messages_favedStickersNotModified.md delete mode 100644 old_docs/API_docs_v72/constructors/messages_featuredStickers.md delete mode 100644 old_docs/API_docs_v72/constructors/messages_featuredStickersNotModified.md delete mode 100644 old_docs/API_docs_v72/constructors/messages_foundGifs.md delete mode 100644 old_docs/API_docs_v72/constructors/messages_highScores.md delete mode 100644 old_docs/API_docs_v72/constructors/messages_messageEditData.md delete mode 100644 old_docs/API_docs_v72/constructors/messages_messages.md delete mode 100644 old_docs/API_docs_v72/constructors/messages_messagesSlice.md delete mode 100644 old_docs/API_docs_v72/constructors/messages_peerDialogs.md delete mode 100644 old_docs/API_docs_v72/constructors/messages_recentStickers.md delete mode 100644 old_docs/API_docs_v72/constructors/messages_recentStickersNotModified.md delete mode 100644 old_docs/API_docs_v72/constructors/messages_savedGifs.md delete mode 100644 old_docs/API_docs_v72/constructors/messages_savedGifsNotModified.md delete mode 100644 old_docs/API_docs_v72/constructors/messages_sentEncryptedFile.md delete mode 100644 old_docs/API_docs_v72/constructors/messages_sentEncryptedMessage.md delete mode 100644 old_docs/API_docs_v72/constructors/messages_stickerSet.md delete mode 100644 old_docs/API_docs_v72/constructors/messages_stickerSetInstallResultArchive.md delete mode 100644 old_docs/API_docs_v72/constructors/messages_stickerSetInstallResultSuccess.md delete mode 100644 old_docs/API_docs_v72/constructors/messages_stickers.md delete mode 100644 old_docs/API_docs_v72/constructors/messages_stickersNotModified.md create mode 100644 old_docs/API_docs_v72/constructors/payments.paymentForm.md create mode 100644 old_docs/API_docs_v72/constructors/payments.paymentReceipt.md create mode 100644 old_docs/API_docs_v72/constructors/payments.paymentResult.md create mode 100644 old_docs/API_docs_v72/constructors/payments.paymentVerficationNeeded.md create mode 100644 old_docs/API_docs_v72/constructors/payments.savedInfo.md create mode 100644 old_docs/API_docs_v72/constructors/payments.validatedRequestedInfo.md delete mode 100644 old_docs/API_docs_v72/constructors/payments_paymentForm.md delete mode 100644 old_docs/API_docs_v72/constructors/payments_paymentReceipt.md delete mode 100644 old_docs/API_docs_v72/constructors/payments_paymentResult.md delete mode 100644 old_docs/API_docs_v72/constructors/payments_paymentVerficationNeeded.md delete mode 100644 old_docs/API_docs_v72/constructors/payments_savedInfo.md delete mode 100644 old_docs/API_docs_v72/constructors/payments_validatedRequestedInfo.md create mode 100644 old_docs/API_docs_v72/constructors/phone.phoneCall.md delete mode 100644 old_docs/API_docs_v72/constructors/phone_phoneCall.md create mode 100644 old_docs/API_docs_v72/constructors/photos.photo.md create mode 100644 old_docs/API_docs_v72/constructors/photos.photos.md create mode 100644 old_docs/API_docs_v72/constructors/photos.photosSlice.md delete mode 100644 old_docs/API_docs_v72/constructors/photos_photo.md delete mode 100644 old_docs/API_docs_v72/constructors/photos_photos.md delete mode 100644 old_docs/API_docs_v72/constructors/photos_photosSlice.md create mode 100644 old_docs/API_docs_v72/constructors/storage.fileGif.md create mode 100644 old_docs/API_docs_v72/constructors/storage.fileJpeg.md create mode 100644 old_docs/API_docs_v72/constructors/storage.fileMov.md create mode 100644 old_docs/API_docs_v72/constructors/storage.fileMp3.md create mode 100644 old_docs/API_docs_v72/constructors/storage.fileMp4.md create mode 100644 old_docs/API_docs_v72/constructors/storage.filePartial.md create mode 100644 old_docs/API_docs_v72/constructors/storage.filePdf.md create mode 100644 old_docs/API_docs_v72/constructors/storage.filePng.md create mode 100644 old_docs/API_docs_v72/constructors/storage.fileUnknown.md create mode 100644 old_docs/API_docs_v72/constructors/storage.fileWebp.md delete mode 100644 old_docs/API_docs_v72/constructors/storage_fileGif.md delete mode 100644 old_docs/API_docs_v72/constructors/storage_fileJpeg.md delete mode 100644 old_docs/API_docs_v72/constructors/storage_fileMov.md delete mode 100644 old_docs/API_docs_v72/constructors/storage_fileMp3.md delete mode 100644 old_docs/API_docs_v72/constructors/storage_fileMp4.md delete mode 100644 old_docs/API_docs_v72/constructors/storage_filePartial.md delete mode 100644 old_docs/API_docs_v72/constructors/storage_filePdf.md delete mode 100644 old_docs/API_docs_v72/constructors/storage_filePng.md delete mode 100644 old_docs/API_docs_v72/constructors/storage_fileUnknown.md delete mode 100644 old_docs/API_docs_v72/constructors/storage_fileWebp.md create mode 100644 old_docs/API_docs_v72/constructors/updates.channelDifference.md create mode 100644 old_docs/API_docs_v72/constructors/updates.channelDifferenceEmpty.md create mode 100644 old_docs/API_docs_v72/constructors/updates.channelDifferenceTooLong.md create mode 100644 old_docs/API_docs_v72/constructors/updates.difference.md create mode 100644 old_docs/API_docs_v72/constructors/updates.differenceEmpty.md create mode 100644 old_docs/API_docs_v72/constructors/updates.differenceSlice.md create mode 100644 old_docs/API_docs_v72/constructors/updates.differenceTooLong.md create mode 100644 old_docs/API_docs_v72/constructors/updates.state.md delete mode 100644 old_docs/API_docs_v72/constructors/updates_channelDifference.md delete mode 100644 old_docs/API_docs_v72/constructors/updates_channelDifferenceEmpty.md delete mode 100644 old_docs/API_docs_v72/constructors/updates_channelDifferenceTooLong.md delete mode 100644 old_docs/API_docs_v72/constructors/updates_difference.md delete mode 100644 old_docs/API_docs_v72/constructors/updates_differenceEmpty.md delete mode 100644 old_docs/API_docs_v72/constructors/updates_differenceSlice.md delete mode 100644 old_docs/API_docs_v72/constructors/updates_differenceTooLong.md delete mode 100644 old_docs/API_docs_v72/constructors/updates_state.md create mode 100644 old_docs/API_docs_v72/constructors/upload.cdnFile.md create mode 100644 old_docs/API_docs_v72/constructors/upload.cdnFileReuploadNeeded.md create mode 100644 old_docs/API_docs_v72/constructors/upload.file.md create mode 100644 old_docs/API_docs_v72/constructors/upload.fileCdnRedirect.md create mode 100644 old_docs/API_docs_v72/constructors/upload.webFile.md delete mode 100644 old_docs/API_docs_v72/constructors/upload_cdnFile.md delete mode 100644 old_docs/API_docs_v72/constructors/upload_cdnFileReuploadNeeded.md delete mode 100644 old_docs/API_docs_v72/constructors/upload_file.md delete mode 100644 old_docs/API_docs_v72/constructors/upload_fileCdnRedirect.md delete mode 100644 old_docs/API_docs_v72/constructors/upload_webFile.md create mode 100644 old_docs/API_docs_v72/types/account.Authorizations.md create mode 100644 old_docs/API_docs_v72/types/account.Password.md create mode 100644 old_docs/API_docs_v72/types/account.PasswordInputSettings.md create mode 100644 old_docs/API_docs_v72/types/account.PasswordSettings.md create mode 100644 old_docs/API_docs_v72/types/account.PrivacyRules.md create mode 100644 old_docs/API_docs_v72/types/account.TmpPassword.md delete mode 100644 old_docs/API_docs_v72/types/account_Authorizations.md delete mode 100644 old_docs/API_docs_v72/types/account_Password.md delete mode 100644 old_docs/API_docs_v72/types/account_PasswordInputSettings.md delete mode 100644 old_docs/API_docs_v72/types/account_PasswordSettings.md delete mode 100644 old_docs/API_docs_v72/types/account_PrivacyRules.md delete mode 100644 old_docs/API_docs_v72/types/account_TmpPassword.md create mode 100644 old_docs/API_docs_v72/types/auth.Authorization.md create mode 100644 old_docs/API_docs_v72/types/auth.CheckedPhone.md create mode 100644 old_docs/API_docs_v72/types/auth.CodeType.md create mode 100644 old_docs/API_docs_v72/types/auth.ExportedAuthorization.md create mode 100644 old_docs/API_docs_v72/types/auth.PasswordRecovery.md create mode 100644 old_docs/API_docs_v72/types/auth.SentCode.md create mode 100644 old_docs/API_docs_v72/types/auth.SentCodeType.md delete mode 100644 old_docs/API_docs_v72/types/auth_Authorization.md delete mode 100644 old_docs/API_docs_v72/types/auth_CheckedPhone.md delete mode 100644 old_docs/API_docs_v72/types/auth_CodeType.md delete mode 100644 old_docs/API_docs_v72/types/auth_ExportedAuthorization.md delete mode 100644 old_docs/API_docs_v72/types/auth_PasswordRecovery.md delete mode 100644 old_docs/API_docs_v72/types/auth_SentCode.md delete mode 100644 old_docs/API_docs_v72/types/auth_SentCodeType.md create mode 100644 old_docs/API_docs_v72/types/channels.AdminLogResults.md create mode 100644 old_docs/API_docs_v72/types/channels.ChannelParticipant.md create mode 100644 old_docs/API_docs_v72/types/channels.ChannelParticipants.md delete mode 100644 old_docs/API_docs_v72/types/channels_AdminLogResults.md delete mode 100644 old_docs/API_docs_v72/types/channels_ChannelParticipant.md delete mode 100644 old_docs/API_docs_v72/types/channels_ChannelParticipants.md create mode 100644 old_docs/API_docs_v72/types/contacts.Blocked.md create mode 100644 old_docs/API_docs_v72/types/contacts.Contacts.md create mode 100644 old_docs/API_docs_v72/types/contacts.Found.md create mode 100644 old_docs/API_docs_v72/types/contacts.ImportedContacts.md create mode 100644 old_docs/API_docs_v72/types/contacts.Link.md create mode 100644 old_docs/API_docs_v72/types/contacts.ResolvedPeer.md create mode 100644 old_docs/API_docs_v72/types/contacts.TopPeers.md delete mode 100644 old_docs/API_docs_v72/types/contacts_Blocked.md delete mode 100644 old_docs/API_docs_v72/types/contacts_Contacts.md delete mode 100644 old_docs/API_docs_v72/types/contacts_Found.md delete mode 100644 old_docs/API_docs_v72/types/contacts_ImportedContacts.md delete mode 100644 old_docs/API_docs_v72/types/contacts_Link.md delete mode 100644 old_docs/API_docs_v72/types/contacts_ResolvedPeer.md delete mode 100644 old_docs/API_docs_v72/types/contacts_TopPeers.md create mode 100644 old_docs/API_docs_v72/types/help.AppUpdate.md create mode 100644 old_docs/API_docs_v72/types/help.ConfigSimple.md create mode 100644 old_docs/API_docs_v72/types/help.InviteText.md create mode 100644 old_docs/API_docs_v72/types/help.RecentMeUrls.md create mode 100644 old_docs/API_docs_v72/types/help.Support.md create mode 100644 old_docs/API_docs_v72/types/help.TermsOfService.md delete mode 100644 old_docs/API_docs_v72/types/help_AppUpdate.md delete mode 100644 old_docs/API_docs_v72/types/help_ConfigSimple.md delete mode 100644 old_docs/API_docs_v72/types/help_InviteText.md delete mode 100644 old_docs/API_docs_v72/types/help_RecentMeUrls.md delete mode 100644 old_docs/API_docs_v72/types/help_Support.md delete mode 100644 old_docs/API_docs_v72/types/help_TermsOfService.md create mode 100644 old_docs/API_docs_v72/types/messages.AffectedHistory.md create mode 100644 old_docs/API_docs_v72/types/messages.AffectedMessages.md create mode 100644 old_docs/API_docs_v72/types/messages.AllStickers.md create mode 100644 old_docs/API_docs_v72/types/messages.ArchivedStickers.md create mode 100644 old_docs/API_docs_v72/types/messages.BotCallbackAnswer.md create mode 100644 old_docs/API_docs_v72/types/messages.BotResults.md create mode 100644 old_docs/API_docs_v72/types/messages.ChatFull.md create mode 100644 old_docs/API_docs_v72/types/messages.Chats.md create mode 100644 old_docs/API_docs_v72/types/messages.DhConfig.md create mode 100644 old_docs/API_docs_v72/types/messages.Dialogs.md create mode 100644 old_docs/API_docs_v72/types/messages.FavedStickers.md create mode 100644 old_docs/API_docs_v72/types/messages.FeaturedStickers.md create mode 100644 old_docs/API_docs_v72/types/messages.FoundGifs.md create mode 100644 old_docs/API_docs_v72/types/messages.HighScores.md create mode 100644 old_docs/API_docs_v72/types/messages.MessageEditData.md create mode 100644 old_docs/API_docs_v72/types/messages.Messages.md create mode 100644 old_docs/API_docs_v72/types/messages.PeerDialogs.md create mode 100644 old_docs/API_docs_v72/types/messages.RecentStickers.md create mode 100644 old_docs/API_docs_v72/types/messages.SavedGifs.md create mode 100644 old_docs/API_docs_v72/types/messages.SentEncryptedMessage.md create mode 100644 old_docs/API_docs_v72/types/messages.StickerSet.md create mode 100644 old_docs/API_docs_v72/types/messages.StickerSetInstallResult.md create mode 100644 old_docs/API_docs_v72/types/messages.Stickers.md delete mode 100644 old_docs/API_docs_v72/types/messages_AffectedHistory.md delete mode 100644 old_docs/API_docs_v72/types/messages_AffectedMessages.md delete mode 100644 old_docs/API_docs_v72/types/messages_AllStickers.md delete mode 100644 old_docs/API_docs_v72/types/messages_ArchivedStickers.md delete mode 100644 old_docs/API_docs_v72/types/messages_BotCallbackAnswer.md delete mode 100644 old_docs/API_docs_v72/types/messages_BotResults.md delete mode 100644 old_docs/API_docs_v72/types/messages_ChatFull.md delete mode 100644 old_docs/API_docs_v72/types/messages_Chats.md delete mode 100644 old_docs/API_docs_v72/types/messages_DhConfig.md delete mode 100644 old_docs/API_docs_v72/types/messages_Dialogs.md delete mode 100644 old_docs/API_docs_v72/types/messages_FavedStickers.md delete mode 100644 old_docs/API_docs_v72/types/messages_FeaturedStickers.md delete mode 100644 old_docs/API_docs_v72/types/messages_FoundGifs.md delete mode 100644 old_docs/API_docs_v72/types/messages_HighScores.md delete mode 100644 old_docs/API_docs_v72/types/messages_MessageEditData.md delete mode 100644 old_docs/API_docs_v72/types/messages_Messages.md delete mode 100644 old_docs/API_docs_v72/types/messages_PeerDialogs.md delete mode 100644 old_docs/API_docs_v72/types/messages_RecentStickers.md delete mode 100644 old_docs/API_docs_v72/types/messages_SavedGifs.md delete mode 100644 old_docs/API_docs_v72/types/messages_SentEncryptedMessage.md delete mode 100644 old_docs/API_docs_v72/types/messages_StickerSet.md delete mode 100644 old_docs/API_docs_v72/types/messages_StickerSetInstallResult.md delete mode 100644 old_docs/API_docs_v72/types/messages_Stickers.md create mode 100644 old_docs/API_docs_v72/types/payments.PaymentForm.md create mode 100644 old_docs/API_docs_v72/types/payments.PaymentReceipt.md create mode 100644 old_docs/API_docs_v72/types/payments.PaymentResult.md create mode 100644 old_docs/API_docs_v72/types/payments.SavedInfo.md create mode 100644 old_docs/API_docs_v72/types/payments.ValidatedRequestedInfo.md delete mode 100644 old_docs/API_docs_v72/types/payments_PaymentForm.md delete mode 100644 old_docs/API_docs_v72/types/payments_PaymentReceipt.md delete mode 100644 old_docs/API_docs_v72/types/payments_PaymentResult.md delete mode 100644 old_docs/API_docs_v72/types/payments_SavedInfo.md delete mode 100644 old_docs/API_docs_v72/types/payments_ValidatedRequestedInfo.md create mode 100644 old_docs/API_docs_v72/types/phone.PhoneCall.md delete mode 100644 old_docs/API_docs_v72/types/phone_PhoneCall.md create mode 100644 old_docs/API_docs_v72/types/photos.Photo.md create mode 100644 old_docs/API_docs_v72/types/photos.Photos.md delete mode 100644 old_docs/API_docs_v72/types/photos_Photo.md delete mode 100644 old_docs/API_docs_v72/types/photos_Photos.md create mode 100644 old_docs/API_docs_v72/types/storage.FileType.md delete mode 100644 old_docs/API_docs_v72/types/storage_FileType.md create mode 100644 old_docs/API_docs_v72/types/updates.ChannelDifference.md create mode 100644 old_docs/API_docs_v72/types/updates.Difference.md create mode 100644 old_docs/API_docs_v72/types/updates.State.md delete mode 100644 old_docs/API_docs_v72/types/updates_ChannelDifference.md delete mode 100644 old_docs/API_docs_v72/types/updates_Difference.md delete mode 100644 old_docs/API_docs_v72/types/updates_State.md create mode 100644 old_docs/API_docs_v72/types/upload.CdnFile.md create mode 100644 old_docs/API_docs_v72/types/upload.File.md create mode 100644 old_docs/API_docs_v72/types/upload.WebFile.md delete mode 100644 old_docs/API_docs_v72/types/upload_CdnFile.md delete mode 100644 old_docs/API_docs_v72/types/upload_File.md delete mode 100644 old_docs/API_docs_v72/types/upload_WebFile.md create mode 100644 old_docs/API_docs_v73/constructors/account.authorizations.md create mode 100644 old_docs/API_docs_v73/constructors/account.noPassword.md create mode 100644 old_docs/API_docs_v73/constructors/account.password.md create mode 100644 old_docs/API_docs_v73/constructors/account.passwordInputSettings.md create mode 100644 old_docs/API_docs_v73/constructors/account.passwordSettings.md create mode 100644 old_docs/API_docs_v73/constructors/account.privacyRules.md create mode 100644 old_docs/API_docs_v73/constructors/account.tmpPassword.md delete mode 100644 old_docs/API_docs_v73/constructors/account_authorizations.md delete mode 100644 old_docs/API_docs_v73/constructors/account_noPassword.md delete mode 100644 old_docs/API_docs_v73/constructors/account_password.md delete mode 100644 old_docs/API_docs_v73/constructors/account_passwordInputSettings.md delete mode 100644 old_docs/API_docs_v73/constructors/account_passwordSettings.md delete mode 100644 old_docs/API_docs_v73/constructors/account_privacyRules.md delete mode 100644 old_docs/API_docs_v73/constructors/account_tmpPassword.md create mode 100644 old_docs/API_docs_v73/constructors/auth.authorization.md create mode 100644 old_docs/API_docs_v73/constructors/auth.checkedPhone.md create mode 100644 old_docs/API_docs_v73/constructors/auth.codeTypeCall.md create mode 100644 old_docs/API_docs_v73/constructors/auth.codeTypeFlashCall.md create mode 100644 old_docs/API_docs_v73/constructors/auth.codeTypeSms.md create mode 100644 old_docs/API_docs_v73/constructors/auth.exportedAuthorization.md create mode 100644 old_docs/API_docs_v73/constructors/auth.passwordRecovery.md create mode 100644 old_docs/API_docs_v73/constructors/auth.sentCode.md create mode 100644 old_docs/API_docs_v73/constructors/auth.sentCodeTypeApp.md create mode 100644 old_docs/API_docs_v73/constructors/auth.sentCodeTypeCall.md create mode 100644 old_docs/API_docs_v73/constructors/auth.sentCodeTypeFlashCall.md create mode 100644 old_docs/API_docs_v73/constructors/auth.sentCodeTypeSms.md delete mode 100644 old_docs/API_docs_v73/constructors/auth_authorization.md delete mode 100644 old_docs/API_docs_v73/constructors/auth_checkedPhone.md delete mode 100644 old_docs/API_docs_v73/constructors/auth_codeTypeCall.md delete mode 100644 old_docs/API_docs_v73/constructors/auth_codeTypeFlashCall.md delete mode 100644 old_docs/API_docs_v73/constructors/auth_codeTypeSms.md delete mode 100644 old_docs/API_docs_v73/constructors/auth_exportedAuthorization.md delete mode 100644 old_docs/API_docs_v73/constructors/auth_passwordRecovery.md delete mode 100644 old_docs/API_docs_v73/constructors/auth_sentCode.md delete mode 100644 old_docs/API_docs_v73/constructors/auth_sentCodeTypeApp.md delete mode 100644 old_docs/API_docs_v73/constructors/auth_sentCodeTypeCall.md delete mode 100644 old_docs/API_docs_v73/constructors/auth_sentCodeTypeFlashCall.md delete mode 100644 old_docs/API_docs_v73/constructors/auth_sentCodeTypeSms.md create mode 100644 old_docs/API_docs_v73/constructors/channels.adminLogResults.md create mode 100644 old_docs/API_docs_v73/constructors/channels.channelParticipant.md create mode 100644 old_docs/API_docs_v73/constructors/channels.channelParticipants.md create mode 100644 old_docs/API_docs_v73/constructors/channels.channelParticipantsNotModified.md delete mode 100644 old_docs/API_docs_v73/constructors/channels_adminLogResults.md delete mode 100644 old_docs/API_docs_v73/constructors/channels_channelParticipant.md delete mode 100644 old_docs/API_docs_v73/constructors/channels_channelParticipants.md delete mode 100644 old_docs/API_docs_v73/constructors/channels_channelParticipantsNotModified.md create mode 100644 old_docs/API_docs_v73/constructors/contacts.blocked.md create mode 100644 old_docs/API_docs_v73/constructors/contacts.blockedSlice.md create mode 100644 old_docs/API_docs_v73/constructors/contacts.contacts.md create mode 100644 old_docs/API_docs_v73/constructors/contacts.contactsNotModified.md create mode 100644 old_docs/API_docs_v73/constructors/contacts.found.md create mode 100644 old_docs/API_docs_v73/constructors/contacts.importedContacts.md create mode 100644 old_docs/API_docs_v73/constructors/contacts.link.md create mode 100644 old_docs/API_docs_v73/constructors/contacts.resolvedPeer.md create mode 100644 old_docs/API_docs_v73/constructors/contacts.topPeers.md create mode 100644 old_docs/API_docs_v73/constructors/contacts.topPeersNotModified.md delete mode 100644 old_docs/API_docs_v73/constructors/contacts_blocked.md delete mode 100644 old_docs/API_docs_v73/constructors/contacts_blockedSlice.md delete mode 100644 old_docs/API_docs_v73/constructors/contacts_contacts.md delete mode 100644 old_docs/API_docs_v73/constructors/contacts_contactsNotModified.md delete mode 100644 old_docs/API_docs_v73/constructors/contacts_found.md delete mode 100644 old_docs/API_docs_v73/constructors/contacts_importedContacts.md delete mode 100644 old_docs/API_docs_v73/constructors/contacts_link.md delete mode 100644 old_docs/API_docs_v73/constructors/contacts_resolvedPeer.md delete mode 100644 old_docs/API_docs_v73/constructors/contacts_topPeers.md delete mode 100644 old_docs/API_docs_v73/constructors/contacts_topPeersNotModified.md create mode 100644 old_docs/API_docs_v73/constructors/help.appUpdate.md create mode 100644 old_docs/API_docs_v73/constructors/help.inviteText.md create mode 100644 old_docs/API_docs_v73/constructors/help.noAppUpdate.md create mode 100644 old_docs/API_docs_v73/constructors/help.recentMeUrls.md create mode 100644 old_docs/API_docs_v73/constructors/help.support.md create mode 100644 old_docs/API_docs_v73/constructors/help.termsOfService.md delete mode 100644 old_docs/API_docs_v73/constructors/help_appUpdate.md delete mode 100644 old_docs/API_docs_v73/constructors/help_inviteText.md delete mode 100644 old_docs/API_docs_v73/constructors/help_noAppUpdate.md delete mode 100644 old_docs/API_docs_v73/constructors/help_recentMeUrls.md delete mode 100644 old_docs/API_docs_v73/constructors/help_support.md delete mode 100644 old_docs/API_docs_v73/constructors/help_termsOfService.md create mode 100644 old_docs/API_docs_v73/constructors/messages.affectedHistory.md create mode 100644 old_docs/API_docs_v73/constructors/messages.affectedMessages.md create mode 100644 old_docs/API_docs_v73/constructors/messages.allStickers.md create mode 100644 old_docs/API_docs_v73/constructors/messages.allStickersNotModified.md create mode 100644 old_docs/API_docs_v73/constructors/messages.archivedStickers.md create mode 100644 old_docs/API_docs_v73/constructors/messages.botCallbackAnswer.md create mode 100644 old_docs/API_docs_v73/constructors/messages.botResults.md create mode 100644 old_docs/API_docs_v73/constructors/messages.channelMessages.md create mode 100644 old_docs/API_docs_v73/constructors/messages.chatFull.md create mode 100644 old_docs/API_docs_v73/constructors/messages.chats.md create mode 100644 old_docs/API_docs_v73/constructors/messages.chatsSlice.md create mode 100644 old_docs/API_docs_v73/constructors/messages.dhConfig.md create mode 100644 old_docs/API_docs_v73/constructors/messages.dhConfigNotModified.md create mode 100644 old_docs/API_docs_v73/constructors/messages.dialogs.md create mode 100644 old_docs/API_docs_v73/constructors/messages.dialogsSlice.md create mode 100644 old_docs/API_docs_v73/constructors/messages.favedStickers.md create mode 100644 old_docs/API_docs_v73/constructors/messages.favedStickersNotModified.md create mode 100644 old_docs/API_docs_v73/constructors/messages.featuredStickers.md create mode 100644 old_docs/API_docs_v73/constructors/messages.featuredStickersNotModified.md create mode 100644 old_docs/API_docs_v73/constructors/messages.foundGifs.md create mode 100644 old_docs/API_docs_v73/constructors/messages.highScores.md create mode 100644 old_docs/API_docs_v73/constructors/messages.messageEditData.md create mode 100644 old_docs/API_docs_v73/constructors/messages.messages.md create mode 100644 old_docs/API_docs_v73/constructors/messages.messagesNotModified.md create mode 100644 old_docs/API_docs_v73/constructors/messages.messagesSlice.md create mode 100644 old_docs/API_docs_v73/constructors/messages.peerDialogs.md create mode 100644 old_docs/API_docs_v73/constructors/messages.recentStickers.md create mode 100644 old_docs/API_docs_v73/constructors/messages.recentStickersNotModified.md create mode 100644 old_docs/API_docs_v73/constructors/messages.savedGifs.md create mode 100644 old_docs/API_docs_v73/constructors/messages.savedGifsNotModified.md create mode 100644 old_docs/API_docs_v73/constructors/messages.sentEncryptedFile.md create mode 100644 old_docs/API_docs_v73/constructors/messages.sentEncryptedMessage.md create mode 100644 old_docs/API_docs_v73/constructors/messages.stickerSet.md create mode 100644 old_docs/API_docs_v73/constructors/messages.stickerSetInstallResultArchive.md create mode 100644 old_docs/API_docs_v73/constructors/messages.stickerSetInstallResultSuccess.md create mode 100644 old_docs/API_docs_v73/constructors/messages.stickers.md create mode 100644 old_docs/API_docs_v73/constructors/messages.stickersNotModified.md delete mode 100644 old_docs/API_docs_v73/constructors/messages_affectedHistory.md delete mode 100644 old_docs/API_docs_v73/constructors/messages_affectedMessages.md delete mode 100644 old_docs/API_docs_v73/constructors/messages_allStickers.md delete mode 100644 old_docs/API_docs_v73/constructors/messages_allStickersNotModified.md delete mode 100644 old_docs/API_docs_v73/constructors/messages_archivedStickers.md delete mode 100644 old_docs/API_docs_v73/constructors/messages_botCallbackAnswer.md delete mode 100644 old_docs/API_docs_v73/constructors/messages_botResults.md delete mode 100644 old_docs/API_docs_v73/constructors/messages_channelMessages.md delete mode 100644 old_docs/API_docs_v73/constructors/messages_chatFull.md delete mode 100644 old_docs/API_docs_v73/constructors/messages_chats.md delete mode 100644 old_docs/API_docs_v73/constructors/messages_chatsSlice.md delete mode 100644 old_docs/API_docs_v73/constructors/messages_dhConfig.md delete mode 100644 old_docs/API_docs_v73/constructors/messages_dhConfigNotModified.md delete mode 100644 old_docs/API_docs_v73/constructors/messages_dialogs.md delete mode 100644 old_docs/API_docs_v73/constructors/messages_dialogsSlice.md delete mode 100644 old_docs/API_docs_v73/constructors/messages_favedStickers.md delete mode 100644 old_docs/API_docs_v73/constructors/messages_favedStickersNotModified.md delete mode 100644 old_docs/API_docs_v73/constructors/messages_featuredStickers.md delete mode 100644 old_docs/API_docs_v73/constructors/messages_featuredStickersNotModified.md delete mode 100644 old_docs/API_docs_v73/constructors/messages_foundGifs.md delete mode 100644 old_docs/API_docs_v73/constructors/messages_highScores.md delete mode 100644 old_docs/API_docs_v73/constructors/messages_messageEditData.md delete mode 100644 old_docs/API_docs_v73/constructors/messages_messages.md delete mode 100644 old_docs/API_docs_v73/constructors/messages_messagesNotModified.md delete mode 100644 old_docs/API_docs_v73/constructors/messages_messagesSlice.md delete mode 100644 old_docs/API_docs_v73/constructors/messages_peerDialogs.md delete mode 100644 old_docs/API_docs_v73/constructors/messages_recentStickers.md delete mode 100644 old_docs/API_docs_v73/constructors/messages_recentStickersNotModified.md delete mode 100644 old_docs/API_docs_v73/constructors/messages_savedGifs.md delete mode 100644 old_docs/API_docs_v73/constructors/messages_savedGifsNotModified.md delete mode 100644 old_docs/API_docs_v73/constructors/messages_sentEncryptedFile.md delete mode 100644 old_docs/API_docs_v73/constructors/messages_sentEncryptedMessage.md delete mode 100644 old_docs/API_docs_v73/constructors/messages_stickerSet.md delete mode 100644 old_docs/API_docs_v73/constructors/messages_stickerSetInstallResultArchive.md delete mode 100644 old_docs/API_docs_v73/constructors/messages_stickerSetInstallResultSuccess.md delete mode 100644 old_docs/API_docs_v73/constructors/messages_stickers.md delete mode 100644 old_docs/API_docs_v73/constructors/messages_stickersNotModified.md create mode 100644 old_docs/API_docs_v73/constructors/payments.paymentForm.md create mode 100644 old_docs/API_docs_v73/constructors/payments.paymentReceipt.md create mode 100644 old_docs/API_docs_v73/constructors/payments.paymentResult.md create mode 100644 old_docs/API_docs_v73/constructors/payments.paymentVerficationNeeded.md create mode 100644 old_docs/API_docs_v73/constructors/payments.savedInfo.md create mode 100644 old_docs/API_docs_v73/constructors/payments.validatedRequestedInfo.md delete mode 100644 old_docs/API_docs_v73/constructors/payments_paymentForm.md delete mode 100644 old_docs/API_docs_v73/constructors/payments_paymentReceipt.md delete mode 100644 old_docs/API_docs_v73/constructors/payments_paymentResult.md delete mode 100644 old_docs/API_docs_v73/constructors/payments_paymentVerficationNeeded.md delete mode 100644 old_docs/API_docs_v73/constructors/payments_savedInfo.md delete mode 100644 old_docs/API_docs_v73/constructors/payments_validatedRequestedInfo.md create mode 100644 old_docs/API_docs_v73/constructors/phone.phoneCall.md delete mode 100644 old_docs/API_docs_v73/constructors/phone_phoneCall.md create mode 100644 old_docs/API_docs_v73/constructors/photos.photo.md create mode 100644 old_docs/API_docs_v73/constructors/photos.photos.md create mode 100644 old_docs/API_docs_v73/constructors/photos.photosSlice.md delete mode 100644 old_docs/API_docs_v73/constructors/photos_photo.md delete mode 100644 old_docs/API_docs_v73/constructors/photos_photos.md delete mode 100644 old_docs/API_docs_v73/constructors/photos_photosSlice.md create mode 100644 old_docs/API_docs_v73/constructors/storage.fileGif.md create mode 100644 old_docs/API_docs_v73/constructors/storage.fileJpeg.md create mode 100644 old_docs/API_docs_v73/constructors/storage.fileMov.md create mode 100644 old_docs/API_docs_v73/constructors/storage.fileMp3.md create mode 100644 old_docs/API_docs_v73/constructors/storage.fileMp4.md create mode 100644 old_docs/API_docs_v73/constructors/storage.filePartial.md create mode 100644 old_docs/API_docs_v73/constructors/storage.filePdf.md create mode 100644 old_docs/API_docs_v73/constructors/storage.filePng.md create mode 100644 old_docs/API_docs_v73/constructors/storage.fileUnknown.md create mode 100644 old_docs/API_docs_v73/constructors/storage.fileWebp.md delete mode 100644 old_docs/API_docs_v73/constructors/storage_fileGif.md delete mode 100644 old_docs/API_docs_v73/constructors/storage_fileJpeg.md delete mode 100644 old_docs/API_docs_v73/constructors/storage_fileMov.md delete mode 100644 old_docs/API_docs_v73/constructors/storage_fileMp3.md delete mode 100644 old_docs/API_docs_v73/constructors/storage_fileMp4.md delete mode 100644 old_docs/API_docs_v73/constructors/storage_filePartial.md delete mode 100644 old_docs/API_docs_v73/constructors/storage_filePdf.md delete mode 100644 old_docs/API_docs_v73/constructors/storage_filePng.md delete mode 100644 old_docs/API_docs_v73/constructors/storage_fileUnknown.md delete mode 100644 old_docs/API_docs_v73/constructors/storage_fileWebp.md create mode 100644 old_docs/API_docs_v73/constructors/updates.channelDifference.md create mode 100644 old_docs/API_docs_v73/constructors/updates.channelDifferenceEmpty.md create mode 100644 old_docs/API_docs_v73/constructors/updates.channelDifferenceTooLong.md create mode 100644 old_docs/API_docs_v73/constructors/updates.difference.md create mode 100644 old_docs/API_docs_v73/constructors/updates.differenceEmpty.md create mode 100644 old_docs/API_docs_v73/constructors/updates.differenceSlice.md create mode 100644 old_docs/API_docs_v73/constructors/updates.differenceTooLong.md create mode 100644 old_docs/API_docs_v73/constructors/updates.state.md delete mode 100644 old_docs/API_docs_v73/constructors/updates_channelDifference.md delete mode 100644 old_docs/API_docs_v73/constructors/updates_channelDifferenceEmpty.md delete mode 100644 old_docs/API_docs_v73/constructors/updates_channelDifferenceTooLong.md delete mode 100644 old_docs/API_docs_v73/constructors/updates_difference.md delete mode 100644 old_docs/API_docs_v73/constructors/updates_differenceEmpty.md delete mode 100644 old_docs/API_docs_v73/constructors/updates_differenceSlice.md delete mode 100644 old_docs/API_docs_v73/constructors/updates_differenceTooLong.md delete mode 100644 old_docs/API_docs_v73/constructors/updates_state.md create mode 100644 old_docs/API_docs_v73/constructors/upload.cdnFile.md create mode 100644 old_docs/API_docs_v73/constructors/upload.cdnFileReuploadNeeded.md create mode 100644 old_docs/API_docs_v73/constructors/upload.file.md create mode 100644 old_docs/API_docs_v73/constructors/upload.fileCdnRedirect.md create mode 100644 old_docs/API_docs_v73/constructors/upload.webFile.md delete mode 100644 old_docs/API_docs_v73/constructors/upload_cdnFile.md delete mode 100644 old_docs/API_docs_v73/constructors/upload_cdnFileReuploadNeeded.md delete mode 100644 old_docs/API_docs_v73/constructors/upload_file.md delete mode 100644 old_docs/API_docs_v73/constructors/upload_fileCdnRedirect.md delete mode 100644 old_docs/API_docs_v73/constructors/upload_webFile.md create mode 100644 old_docs/API_docs_v73/types/account.Authorizations.md create mode 100644 old_docs/API_docs_v73/types/account.Password.md create mode 100644 old_docs/API_docs_v73/types/account.PasswordInputSettings.md create mode 100644 old_docs/API_docs_v73/types/account.PasswordSettings.md create mode 100644 old_docs/API_docs_v73/types/account.PrivacyRules.md create mode 100644 old_docs/API_docs_v73/types/account.TmpPassword.md delete mode 100644 old_docs/API_docs_v73/types/account_Authorizations.md delete mode 100644 old_docs/API_docs_v73/types/account_Password.md delete mode 100644 old_docs/API_docs_v73/types/account_PasswordInputSettings.md delete mode 100644 old_docs/API_docs_v73/types/account_PasswordSettings.md delete mode 100644 old_docs/API_docs_v73/types/account_PrivacyRules.md delete mode 100644 old_docs/API_docs_v73/types/account_TmpPassword.md create mode 100644 old_docs/API_docs_v73/types/auth.Authorization.md create mode 100644 old_docs/API_docs_v73/types/auth.CheckedPhone.md create mode 100644 old_docs/API_docs_v73/types/auth.CodeType.md create mode 100644 old_docs/API_docs_v73/types/auth.ExportedAuthorization.md create mode 100644 old_docs/API_docs_v73/types/auth.PasswordRecovery.md create mode 100644 old_docs/API_docs_v73/types/auth.SentCode.md create mode 100644 old_docs/API_docs_v73/types/auth.SentCodeType.md delete mode 100644 old_docs/API_docs_v73/types/auth_Authorization.md delete mode 100644 old_docs/API_docs_v73/types/auth_CheckedPhone.md delete mode 100644 old_docs/API_docs_v73/types/auth_CodeType.md delete mode 100644 old_docs/API_docs_v73/types/auth_ExportedAuthorization.md delete mode 100644 old_docs/API_docs_v73/types/auth_PasswordRecovery.md delete mode 100644 old_docs/API_docs_v73/types/auth_SentCode.md delete mode 100644 old_docs/API_docs_v73/types/auth_SentCodeType.md create mode 100644 old_docs/API_docs_v73/types/channels.AdminLogResults.md create mode 100644 old_docs/API_docs_v73/types/channels.ChannelParticipant.md create mode 100644 old_docs/API_docs_v73/types/channels.ChannelParticipants.md delete mode 100644 old_docs/API_docs_v73/types/channels_AdminLogResults.md delete mode 100644 old_docs/API_docs_v73/types/channels_ChannelParticipant.md delete mode 100644 old_docs/API_docs_v73/types/channels_ChannelParticipants.md create mode 100644 old_docs/API_docs_v73/types/contacts.Blocked.md create mode 100644 old_docs/API_docs_v73/types/contacts.Contacts.md create mode 100644 old_docs/API_docs_v73/types/contacts.Found.md create mode 100644 old_docs/API_docs_v73/types/contacts.ImportedContacts.md create mode 100644 old_docs/API_docs_v73/types/contacts.Link.md create mode 100644 old_docs/API_docs_v73/types/contacts.ResolvedPeer.md create mode 100644 old_docs/API_docs_v73/types/contacts.TopPeers.md delete mode 100644 old_docs/API_docs_v73/types/contacts_Blocked.md delete mode 100644 old_docs/API_docs_v73/types/contacts_Contacts.md delete mode 100644 old_docs/API_docs_v73/types/contacts_Found.md delete mode 100644 old_docs/API_docs_v73/types/contacts_ImportedContacts.md delete mode 100644 old_docs/API_docs_v73/types/contacts_Link.md delete mode 100644 old_docs/API_docs_v73/types/contacts_ResolvedPeer.md delete mode 100644 old_docs/API_docs_v73/types/contacts_TopPeers.md create mode 100644 old_docs/API_docs_v73/types/help.AppUpdate.md create mode 100644 old_docs/API_docs_v73/types/help.InviteText.md create mode 100644 old_docs/API_docs_v73/types/help.RecentMeUrls.md create mode 100644 old_docs/API_docs_v73/types/help.Support.md create mode 100644 old_docs/API_docs_v73/types/help.TermsOfService.md delete mode 100644 old_docs/API_docs_v73/types/help_AppUpdate.md delete mode 100644 old_docs/API_docs_v73/types/help_InviteText.md delete mode 100644 old_docs/API_docs_v73/types/help_RecentMeUrls.md delete mode 100644 old_docs/API_docs_v73/types/help_Support.md delete mode 100644 old_docs/API_docs_v73/types/help_TermsOfService.md create mode 100644 old_docs/API_docs_v73/types/messages.AffectedHistory.md create mode 100644 old_docs/API_docs_v73/types/messages.AffectedMessages.md create mode 100644 old_docs/API_docs_v73/types/messages.AllStickers.md create mode 100644 old_docs/API_docs_v73/types/messages.ArchivedStickers.md create mode 100644 old_docs/API_docs_v73/types/messages.BotCallbackAnswer.md create mode 100644 old_docs/API_docs_v73/types/messages.BotResults.md create mode 100644 old_docs/API_docs_v73/types/messages.ChatFull.md create mode 100644 old_docs/API_docs_v73/types/messages.Chats.md create mode 100644 old_docs/API_docs_v73/types/messages.DhConfig.md create mode 100644 old_docs/API_docs_v73/types/messages.Dialogs.md create mode 100644 old_docs/API_docs_v73/types/messages.FavedStickers.md create mode 100644 old_docs/API_docs_v73/types/messages.FeaturedStickers.md create mode 100644 old_docs/API_docs_v73/types/messages.FoundGifs.md create mode 100644 old_docs/API_docs_v73/types/messages.HighScores.md create mode 100644 old_docs/API_docs_v73/types/messages.MessageEditData.md create mode 100644 old_docs/API_docs_v73/types/messages.Messages.md create mode 100644 old_docs/API_docs_v73/types/messages.PeerDialogs.md create mode 100644 old_docs/API_docs_v73/types/messages.RecentStickers.md create mode 100644 old_docs/API_docs_v73/types/messages.SavedGifs.md create mode 100644 old_docs/API_docs_v73/types/messages.SentEncryptedMessage.md create mode 100644 old_docs/API_docs_v73/types/messages.StickerSet.md create mode 100644 old_docs/API_docs_v73/types/messages.StickerSetInstallResult.md create mode 100644 old_docs/API_docs_v73/types/messages.Stickers.md delete mode 100644 old_docs/API_docs_v73/types/messages_AffectedHistory.md delete mode 100644 old_docs/API_docs_v73/types/messages_AffectedMessages.md delete mode 100644 old_docs/API_docs_v73/types/messages_AllStickers.md delete mode 100644 old_docs/API_docs_v73/types/messages_ArchivedStickers.md delete mode 100644 old_docs/API_docs_v73/types/messages_BotCallbackAnswer.md delete mode 100644 old_docs/API_docs_v73/types/messages_BotResults.md delete mode 100644 old_docs/API_docs_v73/types/messages_ChatFull.md delete mode 100644 old_docs/API_docs_v73/types/messages_Chats.md delete mode 100644 old_docs/API_docs_v73/types/messages_DhConfig.md delete mode 100644 old_docs/API_docs_v73/types/messages_Dialogs.md delete mode 100644 old_docs/API_docs_v73/types/messages_FavedStickers.md delete mode 100644 old_docs/API_docs_v73/types/messages_FeaturedStickers.md delete mode 100644 old_docs/API_docs_v73/types/messages_FoundGifs.md delete mode 100644 old_docs/API_docs_v73/types/messages_HighScores.md delete mode 100644 old_docs/API_docs_v73/types/messages_MessageEditData.md delete mode 100644 old_docs/API_docs_v73/types/messages_Messages.md delete mode 100644 old_docs/API_docs_v73/types/messages_PeerDialogs.md delete mode 100644 old_docs/API_docs_v73/types/messages_RecentStickers.md delete mode 100644 old_docs/API_docs_v73/types/messages_SavedGifs.md delete mode 100644 old_docs/API_docs_v73/types/messages_SentEncryptedMessage.md delete mode 100644 old_docs/API_docs_v73/types/messages_StickerSet.md delete mode 100644 old_docs/API_docs_v73/types/messages_StickerSetInstallResult.md delete mode 100644 old_docs/API_docs_v73/types/messages_Stickers.md create mode 100644 old_docs/API_docs_v73/types/payments.PaymentForm.md create mode 100644 old_docs/API_docs_v73/types/payments.PaymentReceipt.md create mode 100644 old_docs/API_docs_v73/types/payments.PaymentResult.md create mode 100644 old_docs/API_docs_v73/types/payments.SavedInfo.md create mode 100644 old_docs/API_docs_v73/types/payments.ValidatedRequestedInfo.md delete mode 100644 old_docs/API_docs_v73/types/payments_PaymentForm.md delete mode 100644 old_docs/API_docs_v73/types/payments_PaymentReceipt.md delete mode 100644 old_docs/API_docs_v73/types/payments_PaymentResult.md delete mode 100644 old_docs/API_docs_v73/types/payments_SavedInfo.md delete mode 100644 old_docs/API_docs_v73/types/payments_ValidatedRequestedInfo.md create mode 100644 old_docs/API_docs_v73/types/phone.PhoneCall.md delete mode 100644 old_docs/API_docs_v73/types/phone_PhoneCall.md create mode 100644 old_docs/API_docs_v73/types/photos.Photo.md create mode 100644 old_docs/API_docs_v73/types/photos.Photos.md delete mode 100644 old_docs/API_docs_v73/types/photos_Photo.md delete mode 100644 old_docs/API_docs_v73/types/photos_Photos.md create mode 100644 old_docs/API_docs_v73/types/storage.FileType.md delete mode 100644 old_docs/API_docs_v73/types/storage_FileType.md create mode 100644 old_docs/API_docs_v73/types/updates.ChannelDifference.md create mode 100644 old_docs/API_docs_v73/types/updates.Difference.md create mode 100644 old_docs/API_docs_v73/types/updates.State.md delete mode 100644 old_docs/API_docs_v73/types/updates_ChannelDifference.md delete mode 100644 old_docs/API_docs_v73/types/updates_Difference.md delete mode 100644 old_docs/API_docs_v73/types/updates_State.md create mode 100644 old_docs/API_docs_v73/types/upload.CdnFile.md create mode 100644 old_docs/API_docs_v73/types/upload.File.md create mode 100644 old_docs/API_docs_v73/types/upload.WebFile.md delete mode 100644 old_docs/API_docs_v73/types/upload_CdnFile.md delete mode 100644 old_docs/API_docs_v73/types/upload_File.md delete mode 100644 old_docs/API_docs_v73/types/upload_WebFile.md create mode 100644 old_docs/API_docs_v75/constructors/account.authorizations.md create mode 100644 old_docs/API_docs_v75/constructors/account.noPassword.md create mode 100644 old_docs/API_docs_v75/constructors/account.password.md create mode 100644 old_docs/API_docs_v75/constructors/account.passwordInputSettings.md create mode 100644 old_docs/API_docs_v75/constructors/account.passwordSettings.md create mode 100644 old_docs/API_docs_v75/constructors/account.privacyRules.md create mode 100644 old_docs/API_docs_v75/constructors/account.tmpPassword.md create mode 100644 old_docs/API_docs_v75/constructors/account.webAuthorizations.md delete mode 100644 old_docs/API_docs_v75/constructors/account_authorizations.md delete mode 100644 old_docs/API_docs_v75/constructors/account_noPassword.md delete mode 100644 old_docs/API_docs_v75/constructors/account_password.md delete mode 100644 old_docs/API_docs_v75/constructors/account_passwordInputSettings.md delete mode 100644 old_docs/API_docs_v75/constructors/account_passwordSettings.md delete mode 100644 old_docs/API_docs_v75/constructors/account_privacyRules.md delete mode 100644 old_docs/API_docs_v75/constructors/account_tmpPassword.md delete mode 100644 old_docs/API_docs_v75/constructors/account_webAuthorizations.md create mode 100644 old_docs/API_docs_v75/constructors/auth.authorization.md create mode 100644 old_docs/API_docs_v75/constructors/auth.checkedPhone.md create mode 100644 old_docs/API_docs_v75/constructors/auth.codeTypeCall.md create mode 100644 old_docs/API_docs_v75/constructors/auth.codeTypeFlashCall.md create mode 100644 old_docs/API_docs_v75/constructors/auth.codeTypeSms.md create mode 100644 old_docs/API_docs_v75/constructors/auth.exportedAuthorization.md create mode 100644 old_docs/API_docs_v75/constructors/auth.passwordRecovery.md create mode 100644 old_docs/API_docs_v75/constructors/auth.sentCode.md create mode 100644 old_docs/API_docs_v75/constructors/auth.sentCodeTypeApp.md create mode 100644 old_docs/API_docs_v75/constructors/auth.sentCodeTypeCall.md create mode 100644 old_docs/API_docs_v75/constructors/auth.sentCodeTypeFlashCall.md create mode 100644 old_docs/API_docs_v75/constructors/auth.sentCodeTypeSms.md delete mode 100644 old_docs/API_docs_v75/constructors/auth_authorization.md delete mode 100644 old_docs/API_docs_v75/constructors/auth_checkedPhone.md delete mode 100644 old_docs/API_docs_v75/constructors/auth_codeTypeCall.md delete mode 100644 old_docs/API_docs_v75/constructors/auth_codeTypeFlashCall.md delete mode 100644 old_docs/API_docs_v75/constructors/auth_codeTypeSms.md delete mode 100644 old_docs/API_docs_v75/constructors/auth_exportedAuthorization.md delete mode 100644 old_docs/API_docs_v75/constructors/auth_passwordRecovery.md delete mode 100644 old_docs/API_docs_v75/constructors/auth_sentCode.md delete mode 100644 old_docs/API_docs_v75/constructors/auth_sentCodeTypeApp.md delete mode 100644 old_docs/API_docs_v75/constructors/auth_sentCodeTypeCall.md delete mode 100644 old_docs/API_docs_v75/constructors/auth_sentCodeTypeFlashCall.md delete mode 100644 old_docs/API_docs_v75/constructors/auth_sentCodeTypeSms.md create mode 100644 old_docs/API_docs_v75/constructors/channels.adminLogResults.md create mode 100644 old_docs/API_docs_v75/constructors/channels.channelParticipant.md create mode 100644 old_docs/API_docs_v75/constructors/channels.channelParticipants.md create mode 100644 old_docs/API_docs_v75/constructors/channels.channelParticipantsNotModified.md delete mode 100644 old_docs/API_docs_v75/constructors/channels_adminLogResults.md delete mode 100644 old_docs/API_docs_v75/constructors/channels_channelParticipant.md delete mode 100644 old_docs/API_docs_v75/constructors/channels_channelParticipants.md delete mode 100644 old_docs/API_docs_v75/constructors/channels_channelParticipantsNotModified.md create mode 100644 old_docs/API_docs_v75/constructors/contacts.blocked.md create mode 100644 old_docs/API_docs_v75/constructors/contacts.blockedSlice.md create mode 100644 old_docs/API_docs_v75/constructors/contacts.contacts.md create mode 100644 old_docs/API_docs_v75/constructors/contacts.contactsNotModified.md create mode 100644 old_docs/API_docs_v75/constructors/contacts.found.md create mode 100644 old_docs/API_docs_v75/constructors/contacts.importedContacts.md create mode 100644 old_docs/API_docs_v75/constructors/contacts.link.md create mode 100644 old_docs/API_docs_v75/constructors/contacts.resolvedPeer.md create mode 100644 old_docs/API_docs_v75/constructors/contacts.topPeers.md create mode 100644 old_docs/API_docs_v75/constructors/contacts.topPeersNotModified.md delete mode 100644 old_docs/API_docs_v75/constructors/contacts_blocked.md delete mode 100644 old_docs/API_docs_v75/constructors/contacts_blockedSlice.md delete mode 100644 old_docs/API_docs_v75/constructors/contacts_contacts.md delete mode 100644 old_docs/API_docs_v75/constructors/contacts_contactsNotModified.md delete mode 100644 old_docs/API_docs_v75/constructors/contacts_found.md delete mode 100644 old_docs/API_docs_v75/constructors/contacts_importedContacts.md delete mode 100644 old_docs/API_docs_v75/constructors/contacts_link.md delete mode 100644 old_docs/API_docs_v75/constructors/contacts_resolvedPeer.md delete mode 100644 old_docs/API_docs_v75/constructors/contacts_topPeers.md delete mode 100644 old_docs/API_docs_v75/constructors/contacts_topPeersNotModified.md create mode 100644 old_docs/API_docs_v75/constructors/help.appUpdate.md create mode 100644 old_docs/API_docs_v75/constructors/help.inviteText.md create mode 100644 old_docs/API_docs_v75/constructors/help.noAppUpdate.md create mode 100644 old_docs/API_docs_v75/constructors/help.recentMeUrls.md create mode 100644 old_docs/API_docs_v75/constructors/help.support.md create mode 100644 old_docs/API_docs_v75/constructors/help.termsOfService.md delete mode 100644 old_docs/API_docs_v75/constructors/help_appUpdate.md delete mode 100644 old_docs/API_docs_v75/constructors/help_inviteText.md delete mode 100644 old_docs/API_docs_v75/constructors/help_noAppUpdate.md delete mode 100644 old_docs/API_docs_v75/constructors/help_recentMeUrls.md delete mode 100644 old_docs/API_docs_v75/constructors/help_support.md delete mode 100644 old_docs/API_docs_v75/constructors/help_termsOfService.md create mode 100644 old_docs/API_docs_v75/constructors/messages.affectedHistory.md create mode 100644 old_docs/API_docs_v75/constructors/messages.affectedMessages.md create mode 100644 old_docs/API_docs_v75/constructors/messages.allStickers.md create mode 100644 old_docs/API_docs_v75/constructors/messages.allStickersNotModified.md create mode 100644 old_docs/API_docs_v75/constructors/messages.archivedStickers.md create mode 100644 old_docs/API_docs_v75/constructors/messages.botCallbackAnswer.md create mode 100644 old_docs/API_docs_v75/constructors/messages.botResults.md create mode 100644 old_docs/API_docs_v75/constructors/messages.channelMessages.md create mode 100644 old_docs/API_docs_v75/constructors/messages.chatFull.md create mode 100644 old_docs/API_docs_v75/constructors/messages.chats.md create mode 100644 old_docs/API_docs_v75/constructors/messages.chatsSlice.md create mode 100644 old_docs/API_docs_v75/constructors/messages.dhConfig.md create mode 100644 old_docs/API_docs_v75/constructors/messages.dhConfigNotModified.md create mode 100644 old_docs/API_docs_v75/constructors/messages.dialogs.md create mode 100644 old_docs/API_docs_v75/constructors/messages.dialogsSlice.md create mode 100644 old_docs/API_docs_v75/constructors/messages.favedStickers.md create mode 100644 old_docs/API_docs_v75/constructors/messages.favedStickersNotModified.md create mode 100644 old_docs/API_docs_v75/constructors/messages.featuredStickers.md create mode 100644 old_docs/API_docs_v75/constructors/messages.featuredStickersNotModified.md create mode 100644 old_docs/API_docs_v75/constructors/messages.foundGifs.md create mode 100644 old_docs/API_docs_v75/constructors/messages.highScores.md create mode 100644 old_docs/API_docs_v75/constructors/messages.messageEditData.md create mode 100644 old_docs/API_docs_v75/constructors/messages.messages.md create mode 100644 old_docs/API_docs_v75/constructors/messages.messagesNotModified.md create mode 100644 old_docs/API_docs_v75/constructors/messages.messagesSlice.md create mode 100644 old_docs/API_docs_v75/constructors/messages.peerDialogs.md create mode 100644 old_docs/API_docs_v75/constructors/messages.recentStickers.md create mode 100644 old_docs/API_docs_v75/constructors/messages.recentStickersNotModified.md create mode 100644 old_docs/API_docs_v75/constructors/messages.savedGifs.md create mode 100644 old_docs/API_docs_v75/constructors/messages.savedGifsNotModified.md create mode 100644 old_docs/API_docs_v75/constructors/messages.sentEncryptedFile.md create mode 100644 old_docs/API_docs_v75/constructors/messages.sentEncryptedMessage.md create mode 100644 old_docs/API_docs_v75/constructors/messages.stickerSet.md create mode 100644 old_docs/API_docs_v75/constructors/messages.stickerSetInstallResultArchive.md create mode 100644 old_docs/API_docs_v75/constructors/messages.stickerSetInstallResultSuccess.md create mode 100644 old_docs/API_docs_v75/constructors/messages.stickers.md create mode 100644 old_docs/API_docs_v75/constructors/messages.stickersNotModified.md delete mode 100644 old_docs/API_docs_v75/constructors/messages_affectedHistory.md delete mode 100644 old_docs/API_docs_v75/constructors/messages_affectedMessages.md delete mode 100644 old_docs/API_docs_v75/constructors/messages_allStickers.md delete mode 100644 old_docs/API_docs_v75/constructors/messages_allStickersNotModified.md delete mode 100644 old_docs/API_docs_v75/constructors/messages_archivedStickers.md delete mode 100644 old_docs/API_docs_v75/constructors/messages_botCallbackAnswer.md delete mode 100644 old_docs/API_docs_v75/constructors/messages_botResults.md delete mode 100644 old_docs/API_docs_v75/constructors/messages_channelMessages.md delete mode 100644 old_docs/API_docs_v75/constructors/messages_chatFull.md delete mode 100644 old_docs/API_docs_v75/constructors/messages_chats.md delete mode 100644 old_docs/API_docs_v75/constructors/messages_chatsSlice.md delete mode 100644 old_docs/API_docs_v75/constructors/messages_dhConfig.md delete mode 100644 old_docs/API_docs_v75/constructors/messages_dhConfigNotModified.md delete mode 100644 old_docs/API_docs_v75/constructors/messages_dialogs.md delete mode 100644 old_docs/API_docs_v75/constructors/messages_dialogsSlice.md delete mode 100644 old_docs/API_docs_v75/constructors/messages_favedStickers.md delete mode 100644 old_docs/API_docs_v75/constructors/messages_favedStickersNotModified.md delete mode 100644 old_docs/API_docs_v75/constructors/messages_featuredStickers.md delete mode 100644 old_docs/API_docs_v75/constructors/messages_featuredStickersNotModified.md delete mode 100644 old_docs/API_docs_v75/constructors/messages_foundGifs.md delete mode 100644 old_docs/API_docs_v75/constructors/messages_highScores.md delete mode 100644 old_docs/API_docs_v75/constructors/messages_messageEditData.md delete mode 100644 old_docs/API_docs_v75/constructors/messages_messages.md delete mode 100644 old_docs/API_docs_v75/constructors/messages_messagesNotModified.md delete mode 100644 old_docs/API_docs_v75/constructors/messages_messagesSlice.md delete mode 100644 old_docs/API_docs_v75/constructors/messages_peerDialogs.md delete mode 100644 old_docs/API_docs_v75/constructors/messages_recentStickers.md delete mode 100644 old_docs/API_docs_v75/constructors/messages_recentStickersNotModified.md delete mode 100644 old_docs/API_docs_v75/constructors/messages_savedGifs.md delete mode 100644 old_docs/API_docs_v75/constructors/messages_savedGifsNotModified.md delete mode 100644 old_docs/API_docs_v75/constructors/messages_sentEncryptedFile.md delete mode 100644 old_docs/API_docs_v75/constructors/messages_sentEncryptedMessage.md delete mode 100644 old_docs/API_docs_v75/constructors/messages_stickerSet.md delete mode 100644 old_docs/API_docs_v75/constructors/messages_stickerSetInstallResultArchive.md delete mode 100644 old_docs/API_docs_v75/constructors/messages_stickerSetInstallResultSuccess.md delete mode 100644 old_docs/API_docs_v75/constructors/messages_stickers.md delete mode 100644 old_docs/API_docs_v75/constructors/messages_stickersNotModified.md create mode 100644 old_docs/API_docs_v75/constructors/payments.paymentForm.md create mode 100644 old_docs/API_docs_v75/constructors/payments.paymentReceipt.md create mode 100644 old_docs/API_docs_v75/constructors/payments.paymentResult.md create mode 100644 old_docs/API_docs_v75/constructors/payments.paymentVerficationNeeded.md create mode 100644 old_docs/API_docs_v75/constructors/payments.savedInfo.md create mode 100644 old_docs/API_docs_v75/constructors/payments.validatedRequestedInfo.md delete mode 100644 old_docs/API_docs_v75/constructors/payments_paymentForm.md delete mode 100644 old_docs/API_docs_v75/constructors/payments_paymentReceipt.md delete mode 100644 old_docs/API_docs_v75/constructors/payments_paymentResult.md delete mode 100644 old_docs/API_docs_v75/constructors/payments_paymentVerficationNeeded.md delete mode 100644 old_docs/API_docs_v75/constructors/payments_savedInfo.md delete mode 100644 old_docs/API_docs_v75/constructors/payments_validatedRequestedInfo.md create mode 100644 old_docs/API_docs_v75/constructors/phone.phoneCall.md delete mode 100644 old_docs/API_docs_v75/constructors/phone_phoneCall.md create mode 100644 old_docs/API_docs_v75/constructors/photos.photo.md create mode 100644 old_docs/API_docs_v75/constructors/photos.photos.md create mode 100644 old_docs/API_docs_v75/constructors/photos.photosSlice.md delete mode 100644 old_docs/API_docs_v75/constructors/photos_photo.md delete mode 100644 old_docs/API_docs_v75/constructors/photos_photos.md delete mode 100644 old_docs/API_docs_v75/constructors/photos_photosSlice.md create mode 100644 old_docs/API_docs_v75/constructors/storage.fileGif.md create mode 100644 old_docs/API_docs_v75/constructors/storage.fileJpeg.md create mode 100644 old_docs/API_docs_v75/constructors/storage.fileMov.md create mode 100644 old_docs/API_docs_v75/constructors/storage.fileMp3.md create mode 100644 old_docs/API_docs_v75/constructors/storage.fileMp4.md create mode 100644 old_docs/API_docs_v75/constructors/storage.filePartial.md create mode 100644 old_docs/API_docs_v75/constructors/storage.filePdf.md create mode 100644 old_docs/API_docs_v75/constructors/storage.filePng.md create mode 100644 old_docs/API_docs_v75/constructors/storage.fileUnknown.md create mode 100644 old_docs/API_docs_v75/constructors/storage.fileWebp.md delete mode 100644 old_docs/API_docs_v75/constructors/storage_fileGif.md delete mode 100644 old_docs/API_docs_v75/constructors/storage_fileJpeg.md delete mode 100644 old_docs/API_docs_v75/constructors/storage_fileMov.md delete mode 100644 old_docs/API_docs_v75/constructors/storage_fileMp3.md delete mode 100644 old_docs/API_docs_v75/constructors/storage_fileMp4.md delete mode 100644 old_docs/API_docs_v75/constructors/storage_filePartial.md delete mode 100644 old_docs/API_docs_v75/constructors/storage_filePdf.md delete mode 100644 old_docs/API_docs_v75/constructors/storage_filePng.md delete mode 100644 old_docs/API_docs_v75/constructors/storage_fileUnknown.md delete mode 100644 old_docs/API_docs_v75/constructors/storage_fileWebp.md create mode 100644 old_docs/API_docs_v75/constructors/updates.channelDifference.md create mode 100644 old_docs/API_docs_v75/constructors/updates.channelDifferenceEmpty.md create mode 100644 old_docs/API_docs_v75/constructors/updates.channelDifferenceTooLong.md create mode 100644 old_docs/API_docs_v75/constructors/updates.difference.md create mode 100644 old_docs/API_docs_v75/constructors/updates.differenceEmpty.md create mode 100644 old_docs/API_docs_v75/constructors/updates.differenceSlice.md create mode 100644 old_docs/API_docs_v75/constructors/updates.differenceTooLong.md create mode 100644 old_docs/API_docs_v75/constructors/updates.state.md delete mode 100644 old_docs/API_docs_v75/constructors/updates_channelDifference.md delete mode 100644 old_docs/API_docs_v75/constructors/updates_channelDifferenceEmpty.md delete mode 100644 old_docs/API_docs_v75/constructors/updates_channelDifferenceTooLong.md delete mode 100644 old_docs/API_docs_v75/constructors/updates_difference.md delete mode 100644 old_docs/API_docs_v75/constructors/updates_differenceEmpty.md delete mode 100644 old_docs/API_docs_v75/constructors/updates_differenceSlice.md delete mode 100644 old_docs/API_docs_v75/constructors/updates_differenceTooLong.md delete mode 100644 old_docs/API_docs_v75/constructors/updates_state.md create mode 100644 old_docs/API_docs_v75/constructors/upload.cdnFile.md create mode 100644 old_docs/API_docs_v75/constructors/upload.cdnFileReuploadNeeded.md create mode 100644 old_docs/API_docs_v75/constructors/upload.file.md create mode 100644 old_docs/API_docs_v75/constructors/upload.fileCdnRedirect.md create mode 100644 old_docs/API_docs_v75/constructors/upload.webFile.md delete mode 100644 old_docs/API_docs_v75/constructors/upload_cdnFile.md delete mode 100644 old_docs/API_docs_v75/constructors/upload_cdnFileReuploadNeeded.md delete mode 100644 old_docs/API_docs_v75/constructors/upload_file.md delete mode 100644 old_docs/API_docs_v75/constructors/upload_fileCdnRedirect.md delete mode 100644 old_docs/API_docs_v75/constructors/upload_webFile.md create mode 100644 old_docs/API_docs_v75/types/account.Authorizations.md create mode 100644 old_docs/API_docs_v75/types/account.Password.md create mode 100644 old_docs/API_docs_v75/types/account.PasswordInputSettings.md create mode 100644 old_docs/API_docs_v75/types/account.PasswordSettings.md create mode 100644 old_docs/API_docs_v75/types/account.PrivacyRules.md create mode 100644 old_docs/API_docs_v75/types/account.TmpPassword.md create mode 100644 old_docs/API_docs_v75/types/account.WebAuthorizations.md delete mode 100644 old_docs/API_docs_v75/types/account_Authorizations.md delete mode 100644 old_docs/API_docs_v75/types/account_Password.md delete mode 100644 old_docs/API_docs_v75/types/account_PasswordInputSettings.md delete mode 100644 old_docs/API_docs_v75/types/account_PasswordSettings.md delete mode 100644 old_docs/API_docs_v75/types/account_PrivacyRules.md delete mode 100644 old_docs/API_docs_v75/types/account_TmpPassword.md delete mode 100644 old_docs/API_docs_v75/types/account_WebAuthorizations.md create mode 100644 old_docs/API_docs_v75/types/auth.Authorization.md create mode 100644 old_docs/API_docs_v75/types/auth.CheckedPhone.md create mode 100644 old_docs/API_docs_v75/types/auth.CodeType.md create mode 100644 old_docs/API_docs_v75/types/auth.ExportedAuthorization.md create mode 100644 old_docs/API_docs_v75/types/auth.PasswordRecovery.md create mode 100644 old_docs/API_docs_v75/types/auth.SentCode.md create mode 100644 old_docs/API_docs_v75/types/auth.SentCodeType.md delete mode 100644 old_docs/API_docs_v75/types/auth_Authorization.md delete mode 100644 old_docs/API_docs_v75/types/auth_CheckedPhone.md delete mode 100644 old_docs/API_docs_v75/types/auth_CodeType.md delete mode 100644 old_docs/API_docs_v75/types/auth_ExportedAuthorization.md delete mode 100644 old_docs/API_docs_v75/types/auth_PasswordRecovery.md delete mode 100644 old_docs/API_docs_v75/types/auth_SentCode.md delete mode 100644 old_docs/API_docs_v75/types/auth_SentCodeType.md create mode 100644 old_docs/API_docs_v75/types/channels.AdminLogResults.md create mode 100644 old_docs/API_docs_v75/types/channels.ChannelParticipant.md create mode 100644 old_docs/API_docs_v75/types/channels.ChannelParticipants.md delete mode 100644 old_docs/API_docs_v75/types/channels_AdminLogResults.md delete mode 100644 old_docs/API_docs_v75/types/channels_ChannelParticipant.md delete mode 100644 old_docs/API_docs_v75/types/channels_ChannelParticipants.md create mode 100644 old_docs/API_docs_v75/types/contacts.Blocked.md create mode 100644 old_docs/API_docs_v75/types/contacts.Contacts.md create mode 100644 old_docs/API_docs_v75/types/contacts.Found.md create mode 100644 old_docs/API_docs_v75/types/contacts.ImportedContacts.md create mode 100644 old_docs/API_docs_v75/types/contacts.Link.md create mode 100644 old_docs/API_docs_v75/types/contacts.ResolvedPeer.md create mode 100644 old_docs/API_docs_v75/types/contacts.TopPeers.md delete mode 100644 old_docs/API_docs_v75/types/contacts_Blocked.md delete mode 100644 old_docs/API_docs_v75/types/contacts_Contacts.md delete mode 100644 old_docs/API_docs_v75/types/contacts_Found.md delete mode 100644 old_docs/API_docs_v75/types/contacts_ImportedContacts.md delete mode 100644 old_docs/API_docs_v75/types/contacts_Link.md delete mode 100644 old_docs/API_docs_v75/types/contacts_ResolvedPeer.md delete mode 100644 old_docs/API_docs_v75/types/contacts_TopPeers.md create mode 100644 old_docs/API_docs_v75/types/help.AppUpdate.md create mode 100644 old_docs/API_docs_v75/types/help.InviteText.md create mode 100644 old_docs/API_docs_v75/types/help.RecentMeUrls.md create mode 100644 old_docs/API_docs_v75/types/help.Support.md create mode 100644 old_docs/API_docs_v75/types/help.TermsOfService.md delete mode 100644 old_docs/API_docs_v75/types/help_AppUpdate.md delete mode 100644 old_docs/API_docs_v75/types/help_InviteText.md delete mode 100644 old_docs/API_docs_v75/types/help_RecentMeUrls.md delete mode 100644 old_docs/API_docs_v75/types/help_Support.md delete mode 100644 old_docs/API_docs_v75/types/help_TermsOfService.md create mode 100644 old_docs/API_docs_v75/types/messages.AffectedHistory.md create mode 100644 old_docs/API_docs_v75/types/messages.AffectedMessages.md create mode 100644 old_docs/API_docs_v75/types/messages.AllStickers.md create mode 100644 old_docs/API_docs_v75/types/messages.ArchivedStickers.md create mode 100644 old_docs/API_docs_v75/types/messages.BotCallbackAnswer.md create mode 100644 old_docs/API_docs_v75/types/messages.BotResults.md create mode 100644 old_docs/API_docs_v75/types/messages.ChatFull.md create mode 100644 old_docs/API_docs_v75/types/messages.Chats.md create mode 100644 old_docs/API_docs_v75/types/messages.DhConfig.md create mode 100644 old_docs/API_docs_v75/types/messages.Dialogs.md create mode 100644 old_docs/API_docs_v75/types/messages.FavedStickers.md create mode 100644 old_docs/API_docs_v75/types/messages.FeaturedStickers.md create mode 100644 old_docs/API_docs_v75/types/messages.FoundGifs.md create mode 100644 old_docs/API_docs_v75/types/messages.HighScores.md create mode 100644 old_docs/API_docs_v75/types/messages.MessageEditData.md create mode 100644 old_docs/API_docs_v75/types/messages.Messages.md create mode 100644 old_docs/API_docs_v75/types/messages.PeerDialogs.md create mode 100644 old_docs/API_docs_v75/types/messages.RecentStickers.md create mode 100644 old_docs/API_docs_v75/types/messages.SavedGifs.md create mode 100644 old_docs/API_docs_v75/types/messages.SentEncryptedMessage.md create mode 100644 old_docs/API_docs_v75/types/messages.StickerSet.md create mode 100644 old_docs/API_docs_v75/types/messages.StickerSetInstallResult.md create mode 100644 old_docs/API_docs_v75/types/messages.Stickers.md delete mode 100644 old_docs/API_docs_v75/types/messages_AffectedHistory.md delete mode 100644 old_docs/API_docs_v75/types/messages_AffectedMessages.md delete mode 100644 old_docs/API_docs_v75/types/messages_AllStickers.md delete mode 100644 old_docs/API_docs_v75/types/messages_ArchivedStickers.md delete mode 100644 old_docs/API_docs_v75/types/messages_BotCallbackAnswer.md delete mode 100644 old_docs/API_docs_v75/types/messages_BotResults.md delete mode 100644 old_docs/API_docs_v75/types/messages_ChatFull.md delete mode 100644 old_docs/API_docs_v75/types/messages_Chats.md delete mode 100644 old_docs/API_docs_v75/types/messages_DhConfig.md delete mode 100644 old_docs/API_docs_v75/types/messages_Dialogs.md delete mode 100644 old_docs/API_docs_v75/types/messages_FavedStickers.md delete mode 100644 old_docs/API_docs_v75/types/messages_FeaturedStickers.md delete mode 100644 old_docs/API_docs_v75/types/messages_FoundGifs.md delete mode 100644 old_docs/API_docs_v75/types/messages_HighScores.md delete mode 100644 old_docs/API_docs_v75/types/messages_MessageEditData.md delete mode 100644 old_docs/API_docs_v75/types/messages_Messages.md delete mode 100644 old_docs/API_docs_v75/types/messages_PeerDialogs.md delete mode 100644 old_docs/API_docs_v75/types/messages_RecentStickers.md delete mode 100644 old_docs/API_docs_v75/types/messages_SavedGifs.md delete mode 100644 old_docs/API_docs_v75/types/messages_SentEncryptedMessage.md delete mode 100644 old_docs/API_docs_v75/types/messages_StickerSet.md delete mode 100644 old_docs/API_docs_v75/types/messages_StickerSetInstallResult.md delete mode 100644 old_docs/API_docs_v75/types/messages_Stickers.md create mode 100644 old_docs/API_docs_v75/types/payments.PaymentForm.md create mode 100644 old_docs/API_docs_v75/types/payments.PaymentReceipt.md create mode 100644 old_docs/API_docs_v75/types/payments.PaymentResult.md create mode 100644 old_docs/API_docs_v75/types/payments.SavedInfo.md create mode 100644 old_docs/API_docs_v75/types/payments.ValidatedRequestedInfo.md delete mode 100644 old_docs/API_docs_v75/types/payments_PaymentForm.md delete mode 100644 old_docs/API_docs_v75/types/payments_PaymentReceipt.md delete mode 100644 old_docs/API_docs_v75/types/payments_PaymentResult.md delete mode 100644 old_docs/API_docs_v75/types/payments_SavedInfo.md delete mode 100644 old_docs/API_docs_v75/types/payments_ValidatedRequestedInfo.md create mode 100644 old_docs/API_docs_v75/types/phone.PhoneCall.md delete mode 100644 old_docs/API_docs_v75/types/phone_PhoneCall.md create mode 100644 old_docs/API_docs_v75/types/photos.Photo.md create mode 100644 old_docs/API_docs_v75/types/photos.Photos.md delete mode 100644 old_docs/API_docs_v75/types/photos_Photo.md delete mode 100644 old_docs/API_docs_v75/types/photos_Photos.md create mode 100644 old_docs/API_docs_v75/types/storage.FileType.md delete mode 100644 old_docs/API_docs_v75/types/storage_FileType.md create mode 100644 old_docs/API_docs_v75/types/updates.ChannelDifference.md create mode 100644 old_docs/API_docs_v75/types/updates.Difference.md create mode 100644 old_docs/API_docs_v75/types/updates.State.md delete mode 100644 old_docs/API_docs_v75/types/updates_ChannelDifference.md delete mode 100644 old_docs/API_docs_v75/types/updates_Difference.md delete mode 100644 old_docs/API_docs_v75/types/updates_State.md create mode 100644 old_docs/API_docs_v75/types/upload.CdnFile.md create mode 100644 old_docs/API_docs_v75/types/upload.File.md create mode 100644 old_docs/API_docs_v75/types/upload.WebFile.md delete mode 100644 old_docs/API_docs_v75/types/upload_CdnFile.md delete mode 100644 old_docs/API_docs_v75/types/upload_File.md delete mode 100644 old_docs/API_docs_v75/types/upload_WebFile.md create mode 100644 old_docs/API_docs_v81/constructors/account.authorizationForm.md create mode 100644 old_docs/API_docs_v81/constructors/account.authorizations.md create mode 100644 old_docs/API_docs_v81/constructors/account.noPassword.md create mode 100644 old_docs/API_docs_v81/constructors/account.password.md create mode 100644 old_docs/API_docs_v81/constructors/account.passwordInputSettings.md create mode 100644 old_docs/API_docs_v81/constructors/account.passwordSettings.md create mode 100644 old_docs/API_docs_v81/constructors/account.privacyRules.md create mode 100644 old_docs/API_docs_v81/constructors/account.sentEmailCode.md create mode 100644 old_docs/API_docs_v81/constructors/account.takeout.md create mode 100644 old_docs/API_docs_v81/constructors/account.tmpPassword.md create mode 100644 old_docs/API_docs_v81/constructors/account.webAuthorizations.md delete mode 100644 old_docs/API_docs_v81/constructors/account_authorizationForm.md delete mode 100644 old_docs/API_docs_v81/constructors/account_authorizations.md delete mode 100644 old_docs/API_docs_v81/constructors/account_noPassword.md delete mode 100644 old_docs/API_docs_v81/constructors/account_password.md delete mode 100644 old_docs/API_docs_v81/constructors/account_passwordInputSettings.md delete mode 100644 old_docs/API_docs_v81/constructors/account_passwordSettings.md delete mode 100644 old_docs/API_docs_v81/constructors/account_privacyRules.md delete mode 100644 old_docs/API_docs_v81/constructors/account_sentEmailCode.md delete mode 100644 old_docs/API_docs_v81/constructors/account_takeout.md delete mode 100644 old_docs/API_docs_v81/constructors/account_tmpPassword.md delete mode 100644 old_docs/API_docs_v81/constructors/account_webAuthorizations.md create mode 100644 old_docs/API_docs_v81/constructors/auth.authorization.md create mode 100644 old_docs/API_docs_v81/constructors/auth.checkedPhone.md create mode 100644 old_docs/API_docs_v81/constructors/auth.codeTypeCall.md create mode 100644 old_docs/API_docs_v81/constructors/auth.codeTypeFlashCall.md create mode 100644 old_docs/API_docs_v81/constructors/auth.codeTypeSms.md create mode 100644 old_docs/API_docs_v81/constructors/auth.exportedAuthorization.md create mode 100644 old_docs/API_docs_v81/constructors/auth.passwordRecovery.md create mode 100644 old_docs/API_docs_v81/constructors/auth.sentCode.md create mode 100644 old_docs/API_docs_v81/constructors/auth.sentCodeTypeApp.md create mode 100644 old_docs/API_docs_v81/constructors/auth.sentCodeTypeCall.md create mode 100644 old_docs/API_docs_v81/constructors/auth.sentCodeTypeFlashCall.md create mode 100644 old_docs/API_docs_v81/constructors/auth.sentCodeTypeSms.md delete mode 100644 old_docs/API_docs_v81/constructors/auth_authorization.md delete mode 100644 old_docs/API_docs_v81/constructors/auth_checkedPhone.md delete mode 100644 old_docs/API_docs_v81/constructors/auth_codeTypeCall.md delete mode 100644 old_docs/API_docs_v81/constructors/auth_codeTypeFlashCall.md delete mode 100644 old_docs/API_docs_v81/constructors/auth_codeTypeSms.md delete mode 100644 old_docs/API_docs_v81/constructors/auth_exportedAuthorization.md delete mode 100644 old_docs/API_docs_v81/constructors/auth_passwordRecovery.md delete mode 100644 old_docs/API_docs_v81/constructors/auth_sentCode.md delete mode 100644 old_docs/API_docs_v81/constructors/auth_sentCodeTypeApp.md delete mode 100644 old_docs/API_docs_v81/constructors/auth_sentCodeTypeCall.md delete mode 100644 old_docs/API_docs_v81/constructors/auth_sentCodeTypeFlashCall.md delete mode 100644 old_docs/API_docs_v81/constructors/auth_sentCodeTypeSms.md create mode 100644 old_docs/API_docs_v81/constructors/channels.adminLogResults.md create mode 100644 old_docs/API_docs_v81/constructors/channels.channelParticipant.md create mode 100644 old_docs/API_docs_v81/constructors/channels.channelParticipants.md create mode 100644 old_docs/API_docs_v81/constructors/channels.channelParticipantsNotModified.md delete mode 100644 old_docs/API_docs_v81/constructors/channels_adminLogResults.md delete mode 100644 old_docs/API_docs_v81/constructors/channels_channelParticipant.md delete mode 100644 old_docs/API_docs_v81/constructors/channels_channelParticipants.md delete mode 100644 old_docs/API_docs_v81/constructors/channels_channelParticipantsNotModified.md create mode 100644 old_docs/API_docs_v81/constructors/contacts.blocked.md create mode 100644 old_docs/API_docs_v81/constructors/contacts.blockedSlice.md create mode 100644 old_docs/API_docs_v81/constructors/contacts.contacts.md create mode 100644 old_docs/API_docs_v81/constructors/contacts.contactsNotModified.md create mode 100644 old_docs/API_docs_v81/constructors/contacts.found.md create mode 100644 old_docs/API_docs_v81/constructors/contacts.importedContacts.md create mode 100644 old_docs/API_docs_v81/constructors/contacts.link.md create mode 100644 old_docs/API_docs_v81/constructors/contacts.resolvedPeer.md create mode 100644 old_docs/API_docs_v81/constructors/contacts.topPeers.md create mode 100644 old_docs/API_docs_v81/constructors/contacts.topPeersNotModified.md delete mode 100644 old_docs/API_docs_v81/constructors/contacts_blocked.md delete mode 100644 old_docs/API_docs_v81/constructors/contacts_blockedSlice.md delete mode 100644 old_docs/API_docs_v81/constructors/contacts_contacts.md delete mode 100644 old_docs/API_docs_v81/constructors/contacts_contactsNotModified.md delete mode 100644 old_docs/API_docs_v81/constructors/contacts_found.md delete mode 100644 old_docs/API_docs_v81/constructors/contacts_importedContacts.md delete mode 100644 old_docs/API_docs_v81/constructors/contacts_link.md delete mode 100644 old_docs/API_docs_v81/constructors/contacts_resolvedPeer.md delete mode 100644 old_docs/API_docs_v81/constructors/contacts_topPeers.md delete mode 100644 old_docs/API_docs_v81/constructors/contacts_topPeersNotModified.md create mode 100644 old_docs/API_docs_v81/constructors/help.appUpdate.md create mode 100644 old_docs/API_docs_v81/constructors/help.configSimple.md create mode 100644 old_docs/API_docs_v81/constructors/help.deepLinkInfo.md create mode 100644 old_docs/API_docs_v81/constructors/help.deepLinkInfoEmpty.md create mode 100644 old_docs/API_docs_v81/constructors/help.inviteText.md create mode 100644 old_docs/API_docs_v81/constructors/help.noAppUpdate.md create mode 100644 old_docs/API_docs_v81/constructors/help.proxyDataEmpty.md create mode 100644 old_docs/API_docs_v81/constructors/help.proxyDataPromo.md create mode 100644 old_docs/API_docs_v81/constructors/help.recentMeUrls.md create mode 100644 old_docs/API_docs_v81/constructors/help.support.md create mode 100644 old_docs/API_docs_v81/constructors/help.termsOfService.md create mode 100644 old_docs/API_docs_v81/constructors/help.termsOfServiceUpdate.md create mode 100644 old_docs/API_docs_v81/constructors/help.termsOfServiceUpdateEmpty.md delete mode 100644 old_docs/API_docs_v81/constructors/help_appUpdate.md delete mode 100644 old_docs/API_docs_v81/constructors/help_configSimple.md delete mode 100644 old_docs/API_docs_v81/constructors/help_deepLinkInfo.md delete mode 100644 old_docs/API_docs_v81/constructors/help_deepLinkInfoEmpty.md delete mode 100644 old_docs/API_docs_v81/constructors/help_inviteText.md delete mode 100644 old_docs/API_docs_v81/constructors/help_noAppUpdate.md delete mode 100644 old_docs/API_docs_v81/constructors/help_proxyDataEmpty.md delete mode 100644 old_docs/API_docs_v81/constructors/help_proxyDataPromo.md delete mode 100644 old_docs/API_docs_v81/constructors/help_recentMeUrls.md delete mode 100644 old_docs/API_docs_v81/constructors/help_support.md delete mode 100644 old_docs/API_docs_v81/constructors/help_termsOfService.md delete mode 100644 old_docs/API_docs_v81/constructors/help_termsOfServiceUpdate.md delete mode 100644 old_docs/API_docs_v81/constructors/help_termsOfServiceUpdateEmpty.md create mode 100644 old_docs/API_docs_v81/constructors/messages.affectedHistory.md create mode 100644 old_docs/API_docs_v81/constructors/messages.affectedMessages.md create mode 100644 old_docs/API_docs_v81/constructors/messages.allStickers.md create mode 100644 old_docs/API_docs_v81/constructors/messages.allStickersNotModified.md create mode 100644 old_docs/API_docs_v81/constructors/messages.archivedStickers.md create mode 100644 old_docs/API_docs_v81/constructors/messages.botCallbackAnswer.md create mode 100644 old_docs/API_docs_v81/constructors/messages.botResults.md create mode 100644 old_docs/API_docs_v81/constructors/messages.channelMessages.md create mode 100644 old_docs/API_docs_v81/constructors/messages.chatFull.md create mode 100644 old_docs/API_docs_v81/constructors/messages.chats.md create mode 100644 old_docs/API_docs_v81/constructors/messages.chatsSlice.md create mode 100644 old_docs/API_docs_v81/constructors/messages.dhConfig.md create mode 100644 old_docs/API_docs_v81/constructors/messages.dhConfigNotModified.md create mode 100644 old_docs/API_docs_v81/constructors/messages.dialogs.md create mode 100644 old_docs/API_docs_v81/constructors/messages.dialogsSlice.md create mode 100644 old_docs/API_docs_v81/constructors/messages.favedStickers.md create mode 100644 old_docs/API_docs_v81/constructors/messages.favedStickersNotModified.md create mode 100644 old_docs/API_docs_v81/constructors/messages.featuredStickers.md create mode 100644 old_docs/API_docs_v81/constructors/messages.featuredStickersNotModified.md create mode 100644 old_docs/API_docs_v81/constructors/messages.foundGifs.md create mode 100644 old_docs/API_docs_v81/constructors/messages.foundStickerSets.md create mode 100644 old_docs/API_docs_v81/constructors/messages.foundStickerSetsNotModified.md create mode 100644 old_docs/API_docs_v81/constructors/messages.highScores.md create mode 100644 old_docs/API_docs_v81/constructors/messages.messageEditData.md create mode 100644 old_docs/API_docs_v81/constructors/messages.messages.md create mode 100644 old_docs/API_docs_v81/constructors/messages.messagesNotModified.md create mode 100644 old_docs/API_docs_v81/constructors/messages.messagesSlice.md create mode 100644 old_docs/API_docs_v81/constructors/messages.peerDialogs.md create mode 100644 old_docs/API_docs_v81/constructors/messages.recentStickers.md create mode 100644 old_docs/API_docs_v81/constructors/messages.recentStickersNotModified.md create mode 100644 old_docs/API_docs_v81/constructors/messages.savedGifs.md create mode 100644 old_docs/API_docs_v81/constructors/messages.savedGifsNotModified.md create mode 100644 old_docs/API_docs_v81/constructors/messages.sentEncryptedFile.md create mode 100644 old_docs/API_docs_v81/constructors/messages.sentEncryptedMessage.md create mode 100644 old_docs/API_docs_v81/constructors/messages.stickerSet.md create mode 100644 old_docs/API_docs_v81/constructors/messages.stickerSetInstallResultArchive.md create mode 100644 old_docs/API_docs_v81/constructors/messages.stickerSetInstallResultSuccess.md create mode 100644 old_docs/API_docs_v81/constructors/messages.stickers.md create mode 100644 old_docs/API_docs_v81/constructors/messages.stickersNotModified.md delete mode 100644 old_docs/API_docs_v81/constructors/messages_affectedHistory.md delete mode 100644 old_docs/API_docs_v81/constructors/messages_affectedMessages.md delete mode 100644 old_docs/API_docs_v81/constructors/messages_allStickers.md delete mode 100644 old_docs/API_docs_v81/constructors/messages_allStickersNotModified.md delete mode 100644 old_docs/API_docs_v81/constructors/messages_archivedStickers.md delete mode 100644 old_docs/API_docs_v81/constructors/messages_botCallbackAnswer.md delete mode 100644 old_docs/API_docs_v81/constructors/messages_botResults.md delete mode 100644 old_docs/API_docs_v81/constructors/messages_channelMessages.md delete mode 100644 old_docs/API_docs_v81/constructors/messages_chatFull.md delete mode 100644 old_docs/API_docs_v81/constructors/messages_chats.md delete mode 100644 old_docs/API_docs_v81/constructors/messages_chatsSlice.md delete mode 100644 old_docs/API_docs_v81/constructors/messages_dhConfig.md delete mode 100644 old_docs/API_docs_v81/constructors/messages_dhConfigNotModified.md delete mode 100644 old_docs/API_docs_v81/constructors/messages_dialogs.md delete mode 100644 old_docs/API_docs_v81/constructors/messages_dialogsSlice.md delete mode 100644 old_docs/API_docs_v81/constructors/messages_favedStickers.md delete mode 100644 old_docs/API_docs_v81/constructors/messages_favedStickersNotModified.md delete mode 100644 old_docs/API_docs_v81/constructors/messages_featuredStickers.md delete mode 100644 old_docs/API_docs_v81/constructors/messages_featuredStickersNotModified.md delete mode 100644 old_docs/API_docs_v81/constructors/messages_foundGifs.md delete mode 100644 old_docs/API_docs_v81/constructors/messages_foundStickerSets.md delete mode 100644 old_docs/API_docs_v81/constructors/messages_foundStickerSetsNotModified.md delete mode 100644 old_docs/API_docs_v81/constructors/messages_highScores.md delete mode 100644 old_docs/API_docs_v81/constructors/messages_messageEditData.md delete mode 100644 old_docs/API_docs_v81/constructors/messages_messages.md delete mode 100644 old_docs/API_docs_v81/constructors/messages_messagesNotModified.md delete mode 100644 old_docs/API_docs_v81/constructors/messages_messagesSlice.md delete mode 100644 old_docs/API_docs_v81/constructors/messages_peerDialogs.md delete mode 100644 old_docs/API_docs_v81/constructors/messages_recentStickers.md delete mode 100644 old_docs/API_docs_v81/constructors/messages_recentStickersNotModified.md delete mode 100644 old_docs/API_docs_v81/constructors/messages_savedGifs.md delete mode 100644 old_docs/API_docs_v81/constructors/messages_savedGifsNotModified.md delete mode 100644 old_docs/API_docs_v81/constructors/messages_sentEncryptedFile.md delete mode 100644 old_docs/API_docs_v81/constructors/messages_sentEncryptedMessage.md delete mode 100644 old_docs/API_docs_v81/constructors/messages_stickerSet.md delete mode 100644 old_docs/API_docs_v81/constructors/messages_stickerSetInstallResultArchive.md delete mode 100644 old_docs/API_docs_v81/constructors/messages_stickerSetInstallResultSuccess.md delete mode 100644 old_docs/API_docs_v81/constructors/messages_stickers.md delete mode 100644 old_docs/API_docs_v81/constructors/messages_stickersNotModified.md create mode 100644 old_docs/API_docs_v81/constructors/payments.paymentForm.md create mode 100644 old_docs/API_docs_v81/constructors/payments.paymentReceipt.md create mode 100644 old_docs/API_docs_v81/constructors/payments.paymentResult.md create mode 100644 old_docs/API_docs_v81/constructors/payments.paymentVerficationNeeded.md create mode 100644 old_docs/API_docs_v81/constructors/payments.savedInfo.md create mode 100644 old_docs/API_docs_v81/constructors/payments.validatedRequestedInfo.md delete mode 100644 old_docs/API_docs_v81/constructors/payments_paymentForm.md delete mode 100644 old_docs/API_docs_v81/constructors/payments_paymentReceipt.md delete mode 100644 old_docs/API_docs_v81/constructors/payments_paymentResult.md delete mode 100644 old_docs/API_docs_v81/constructors/payments_paymentVerficationNeeded.md delete mode 100644 old_docs/API_docs_v81/constructors/payments_savedInfo.md delete mode 100644 old_docs/API_docs_v81/constructors/payments_validatedRequestedInfo.md create mode 100644 old_docs/API_docs_v81/constructors/phone.phoneCall.md delete mode 100644 old_docs/API_docs_v81/constructors/phone_phoneCall.md create mode 100644 old_docs/API_docs_v81/constructors/photos.photo.md create mode 100644 old_docs/API_docs_v81/constructors/photos.photos.md create mode 100644 old_docs/API_docs_v81/constructors/photos.photosSlice.md delete mode 100644 old_docs/API_docs_v81/constructors/photos_photo.md delete mode 100644 old_docs/API_docs_v81/constructors/photos_photos.md delete mode 100644 old_docs/API_docs_v81/constructors/photos_photosSlice.md create mode 100644 old_docs/API_docs_v81/constructors/storage.fileGif.md create mode 100644 old_docs/API_docs_v81/constructors/storage.fileJpeg.md create mode 100644 old_docs/API_docs_v81/constructors/storage.fileMov.md create mode 100644 old_docs/API_docs_v81/constructors/storage.fileMp3.md create mode 100644 old_docs/API_docs_v81/constructors/storage.fileMp4.md create mode 100644 old_docs/API_docs_v81/constructors/storage.filePartial.md create mode 100644 old_docs/API_docs_v81/constructors/storage.filePdf.md create mode 100644 old_docs/API_docs_v81/constructors/storage.filePng.md create mode 100644 old_docs/API_docs_v81/constructors/storage.fileUnknown.md create mode 100644 old_docs/API_docs_v81/constructors/storage.fileWebp.md delete mode 100644 old_docs/API_docs_v81/constructors/storage_fileGif.md delete mode 100644 old_docs/API_docs_v81/constructors/storage_fileJpeg.md delete mode 100644 old_docs/API_docs_v81/constructors/storage_fileMov.md delete mode 100644 old_docs/API_docs_v81/constructors/storage_fileMp3.md delete mode 100644 old_docs/API_docs_v81/constructors/storage_fileMp4.md delete mode 100644 old_docs/API_docs_v81/constructors/storage_filePartial.md delete mode 100644 old_docs/API_docs_v81/constructors/storage_filePdf.md delete mode 100644 old_docs/API_docs_v81/constructors/storage_filePng.md delete mode 100644 old_docs/API_docs_v81/constructors/storage_fileUnknown.md delete mode 100644 old_docs/API_docs_v81/constructors/storage_fileWebp.md create mode 100644 old_docs/API_docs_v81/constructors/updates.channelDifference.md create mode 100644 old_docs/API_docs_v81/constructors/updates.channelDifferenceEmpty.md create mode 100644 old_docs/API_docs_v81/constructors/updates.channelDifferenceTooLong.md create mode 100644 old_docs/API_docs_v81/constructors/updates.difference.md create mode 100644 old_docs/API_docs_v81/constructors/updates.differenceEmpty.md create mode 100644 old_docs/API_docs_v81/constructors/updates.differenceSlice.md create mode 100644 old_docs/API_docs_v81/constructors/updates.differenceTooLong.md create mode 100644 old_docs/API_docs_v81/constructors/updates.state.md delete mode 100644 old_docs/API_docs_v81/constructors/updates_channelDifference.md delete mode 100644 old_docs/API_docs_v81/constructors/updates_channelDifferenceEmpty.md delete mode 100644 old_docs/API_docs_v81/constructors/updates_channelDifferenceTooLong.md delete mode 100644 old_docs/API_docs_v81/constructors/updates_difference.md delete mode 100644 old_docs/API_docs_v81/constructors/updates_differenceEmpty.md delete mode 100644 old_docs/API_docs_v81/constructors/updates_differenceSlice.md delete mode 100644 old_docs/API_docs_v81/constructors/updates_differenceTooLong.md delete mode 100644 old_docs/API_docs_v81/constructors/updates_state.md create mode 100644 old_docs/API_docs_v81/constructors/upload.cdnFile.md create mode 100644 old_docs/API_docs_v81/constructors/upload.cdnFileReuploadNeeded.md create mode 100644 old_docs/API_docs_v81/constructors/upload.file.md create mode 100644 old_docs/API_docs_v81/constructors/upload.fileCdnRedirect.md create mode 100644 old_docs/API_docs_v81/constructors/upload.webFile.md delete mode 100644 old_docs/API_docs_v81/constructors/upload_cdnFile.md delete mode 100644 old_docs/API_docs_v81/constructors/upload_cdnFileReuploadNeeded.md delete mode 100644 old_docs/API_docs_v81/constructors/upload_file.md delete mode 100644 old_docs/API_docs_v81/constructors/upload_fileCdnRedirect.md delete mode 100644 old_docs/API_docs_v81/constructors/upload_webFile.md create mode 100644 old_docs/API_docs_v81/types/account.AuthorizationForm.md create mode 100644 old_docs/API_docs_v81/types/account.Authorizations.md create mode 100644 old_docs/API_docs_v81/types/account.Password.md create mode 100644 old_docs/API_docs_v81/types/account.PasswordInputSettings.md create mode 100644 old_docs/API_docs_v81/types/account.PasswordSettings.md create mode 100644 old_docs/API_docs_v81/types/account.PrivacyRules.md create mode 100644 old_docs/API_docs_v81/types/account.SentEmailCode.md create mode 100644 old_docs/API_docs_v81/types/account.Takeout.md create mode 100644 old_docs/API_docs_v81/types/account.TmpPassword.md create mode 100644 old_docs/API_docs_v81/types/account.WebAuthorizations.md delete mode 100644 old_docs/API_docs_v81/types/account_AuthorizationForm.md delete mode 100644 old_docs/API_docs_v81/types/account_Authorizations.md delete mode 100644 old_docs/API_docs_v81/types/account_Password.md delete mode 100644 old_docs/API_docs_v81/types/account_PasswordInputSettings.md delete mode 100644 old_docs/API_docs_v81/types/account_PasswordSettings.md delete mode 100644 old_docs/API_docs_v81/types/account_PrivacyRules.md delete mode 100644 old_docs/API_docs_v81/types/account_SentEmailCode.md delete mode 100644 old_docs/API_docs_v81/types/account_Takeout.md delete mode 100644 old_docs/API_docs_v81/types/account_TmpPassword.md delete mode 100644 old_docs/API_docs_v81/types/account_WebAuthorizations.md create mode 100644 old_docs/API_docs_v81/types/auth.Authorization.md create mode 100644 old_docs/API_docs_v81/types/auth.CheckedPhone.md create mode 100644 old_docs/API_docs_v81/types/auth.CodeType.md create mode 100644 old_docs/API_docs_v81/types/auth.ExportedAuthorization.md create mode 100644 old_docs/API_docs_v81/types/auth.PasswordRecovery.md create mode 100644 old_docs/API_docs_v81/types/auth.SentCode.md create mode 100644 old_docs/API_docs_v81/types/auth.SentCodeType.md delete mode 100644 old_docs/API_docs_v81/types/auth_Authorization.md delete mode 100644 old_docs/API_docs_v81/types/auth_CheckedPhone.md delete mode 100644 old_docs/API_docs_v81/types/auth_CodeType.md delete mode 100644 old_docs/API_docs_v81/types/auth_ExportedAuthorization.md delete mode 100644 old_docs/API_docs_v81/types/auth_PasswordRecovery.md delete mode 100644 old_docs/API_docs_v81/types/auth_SentCode.md delete mode 100644 old_docs/API_docs_v81/types/auth_SentCodeType.md create mode 100644 old_docs/API_docs_v81/types/channels.AdminLogResults.md create mode 100644 old_docs/API_docs_v81/types/channels.ChannelParticipant.md create mode 100644 old_docs/API_docs_v81/types/channels.ChannelParticipants.md delete mode 100644 old_docs/API_docs_v81/types/channels_AdminLogResults.md delete mode 100644 old_docs/API_docs_v81/types/channels_ChannelParticipant.md delete mode 100644 old_docs/API_docs_v81/types/channels_ChannelParticipants.md create mode 100644 old_docs/API_docs_v81/types/contacts.Blocked.md create mode 100644 old_docs/API_docs_v81/types/contacts.Contacts.md create mode 100644 old_docs/API_docs_v81/types/contacts.Found.md create mode 100644 old_docs/API_docs_v81/types/contacts.ImportedContacts.md create mode 100644 old_docs/API_docs_v81/types/contacts.Link.md create mode 100644 old_docs/API_docs_v81/types/contacts.ResolvedPeer.md create mode 100644 old_docs/API_docs_v81/types/contacts.TopPeers.md delete mode 100644 old_docs/API_docs_v81/types/contacts_Blocked.md delete mode 100644 old_docs/API_docs_v81/types/contacts_Contacts.md delete mode 100644 old_docs/API_docs_v81/types/contacts_Found.md delete mode 100644 old_docs/API_docs_v81/types/contacts_ImportedContacts.md delete mode 100644 old_docs/API_docs_v81/types/contacts_Link.md delete mode 100644 old_docs/API_docs_v81/types/contacts_ResolvedPeer.md delete mode 100644 old_docs/API_docs_v81/types/contacts_TopPeers.md create mode 100644 old_docs/API_docs_v81/types/help.AppUpdate.md create mode 100644 old_docs/API_docs_v81/types/help.ConfigSimple.md create mode 100644 old_docs/API_docs_v81/types/help.DeepLinkInfo.md create mode 100644 old_docs/API_docs_v81/types/help.InviteText.md create mode 100644 old_docs/API_docs_v81/types/help.ProxyData.md create mode 100644 old_docs/API_docs_v81/types/help.RecentMeUrls.md create mode 100644 old_docs/API_docs_v81/types/help.Support.md create mode 100644 old_docs/API_docs_v81/types/help.TermsOfServiceUpdate.md create mode 100644 old_docs/API_docs_v81/types/help.wTermsOfService.md delete mode 100644 old_docs/API_docs_v81/types/help_AppUpdate.md delete mode 100644 old_docs/API_docs_v81/types/help_ConfigSimple.md delete mode 100644 old_docs/API_docs_v81/types/help_DeepLinkInfo.md delete mode 100644 old_docs/API_docs_v81/types/help_InviteText.md delete mode 100644 old_docs/API_docs_v81/types/help_ProxyData.md delete mode 100644 old_docs/API_docs_v81/types/help_RecentMeUrls.md delete mode 100644 old_docs/API_docs_v81/types/help_Support.md delete mode 100644 old_docs/API_docs_v81/types/help_TermsOfServiceUpdate.md delete mode 100644 old_docs/API_docs_v81/types/help_wTermsOfService.md create mode 100644 old_docs/API_docs_v81/types/messages.AffectedHistory.md create mode 100644 old_docs/API_docs_v81/types/messages.AffectedMessages.md create mode 100644 old_docs/API_docs_v81/types/messages.AllStickers.md create mode 100644 old_docs/API_docs_v81/types/messages.ArchivedStickers.md create mode 100644 old_docs/API_docs_v81/types/messages.BotCallbackAnswer.md create mode 100644 old_docs/API_docs_v81/types/messages.BotResults.md create mode 100644 old_docs/API_docs_v81/types/messages.ChatFull.md create mode 100644 old_docs/API_docs_v81/types/messages.Chats.md create mode 100644 old_docs/API_docs_v81/types/messages.DhConfig.md create mode 100644 old_docs/API_docs_v81/types/messages.Dialogs.md create mode 100644 old_docs/API_docs_v81/types/messages.FavedStickers.md create mode 100644 old_docs/API_docs_v81/types/messages.FeaturedStickers.md create mode 100644 old_docs/API_docs_v81/types/messages.FoundGifs.md create mode 100644 old_docs/API_docs_v81/types/messages.FoundStickerSets.md create mode 100644 old_docs/API_docs_v81/types/messages.HighScores.md create mode 100644 old_docs/API_docs_v81/types/messages.MessageEditData.md create mode 100644 old_docs/API_docs_v81/types/messages.Messages.md create mode 100644 old_docs/API_docs_v81/types/messages.PeerDialogs.md create mode 100644 old_docs/API_docs_v81/types/messages.RecentStickers.md create mode 100644 old_docs/API_docs_v81/types/messages.SavedGifs.md create mode 100644 old_docs/API_docs_v81/types/messages.SentEncryptedMessage.md create mode 100644 old_docs/API_docs_v81/types/messages.StickerSet.md create mode 100644 old_docs/API_docs_v81/types/messages.StickerSetInstallResult.md create mode 100644 old_docs/API_docs_v81/types/messages.Stickers.md delete mode 100644 old_docs/API_docs_v81/types/messages_AffectedHistory.md delete mode 100644 old_docs/API_docs_v81/types/messages_AffectedMessages.md delete mode 100644 old_docs/API_docs_v81/types/messages_AllStickers.md delete mode 100644 old_docs/API_docs_v81/types/messages_ArchivedStickers.md delete mode 100644 old_docs/API_docs_v81/types/messages_BotCallbackAnswer.md delete mode 100644 old_docs/API_docs_v81/types/messages_BotResults.md delete mode 100644 old_docs/API_docs_v81/types/messages_ChatFull.md delete mode 100644 old_docs/API_docs_v81/types/messages_Chats.md delete mode 100644 old_docs/API_docs_v81/types/messages_DhConfig.md delete mode 100644 old_docs/API_docs_v81/types/messages_Dialogs.md delete mode 100644 old_docs/API_docs_v81/types/messages_FavedStickers.md delete mode 100644 old_docs/API_docs_v81/types/messages_FeaturedStickers.md delete mode 100644 old_docs/API_docs_v81/types/messages_FoundGifs.md delete mode 100644 old_docs/API_docs_v81/types/messages_FoundStickerSets.md delete mode 100644 old_docs/API_docs_v81/types/messages_HighScores.md delete mode 100644 old_docs/API_docs_v81/types/messages_MessageEditData.md delete mode 100644 old_docs/API_docs_v81/types/messages_Messages.md delete mode 100644 old_docs/API_docs_v81/types/messages_PeerDialogs.md delete mode 100644 old_docs/API_docs_v81/types/messages_RecentStickers.md delete mode 100644 old_docs/API_docs_v81/types/messages_SavedGifs.md delete mode 100644 old_docs/API_docs_v81/types/messages_SentEncryptedMessage.md delete mode 100644 old_docs/API_docs_v81/types/messages_StickerSet.md delete mode 100644 old_docs/API_docs_v81/types/messages_StickerSetInstallResult.md delete mode 100644 old_docs/API_docs_v81/types/messages_Stickers.md create mode 100644 old_docs/API_docs_v81/types/payments.PaymentForm.md create mode 100644 old_docs/API_docs_v81/types/payments.PaymentReceipt.md create mode 100644 old_docs/API_docs_v81/types/payments.PaymentResult.md create mode 100644 old_docs/API_docs_v81/types/payments.SavedInfo.md create mode 100644 old_docs/API_docs_v81/types/payments.ValidatedRequestedInfo.md delete mode 100644 old_docs/API_docs_v81/types/payments_PaymentForm.md delete mode 100644 old_docs/API_docs_v81/types/payments_PaymentReceipt.md delete mode 100644 old_docs/API_docs_v81/types/payments_PaymentResult.md delete mode 100644 old_docs/API_docs_v81/types/payments_SavedInfo.md delete mode 100644 old_docs/API_docs_v81/types/payments_ValidatedRequestedInfo.md create mode 100644 old_docs/API_docs_v81/types/phone.PhoneCall.md delete mode 100644 old_docs/API_docs_v81/types/phone_PhoneCall.md create mode 100644 old_docs/API_docs_v81/types/photos.Photo.md create mode 100644 old_docs/API_docs_v81/types/photos.Photos.md delete mode 100644 old_docs/API_docs_v81/types/photos_Photo.md delete mode 100644 old_docs/API_docs_v81/types/photos_Photos.md create mode 100644 old_docs/API_docs_v81/types/storage.FileType.md delete mode 100644 old_docs/API_docs_v81/types/storage_FileType.md create mode 100644 old_docs/API_docs_v81/types/updates.ChannelDifference.md create mode 100644 old_docs/API_docs_v81/types/updates.Difference.md create mode 100644 old_docs/API_docs_v81/types/updates.State.md delete mode 100644 old_docs/API_docs_v81/types/updates_ChannelDifference.md delete mode 100644 old_docs/API_docs_v81/types/updates_Difference.md delete mode 100644 old_docs/API_docs_v81/types/updates_State.md create mode 100644 old_docs/API_docs_v81/types/upload.CdnFile.md create mode 100644 old_docs/API_docs_v81/types/upload.File.md create mode 100644 old_docs/API_docs_v81/types/upload.WebFile.md delete mode 100644 old_docs/API_docs_v81/types/upload_CdnFile.md delete mode 100644 old_docs/API_docs_v81/types/upload_File.md delete mode 100644 old_docs/API_docs_v81/types/upload_WebFile.md create mode 100644 old_docs/API_docs_v82/constructors/account.authorizationForm.md create mode 100644 old_docs/API_docs_v82/constructors/account.authorizations.md create mode 100644 old_docs/API_docs_v82/constructors/account.noPassword.md create mode 100644 old_docs/API_docs_v82/constructors/account.password.md create mode 100644 old_docs/API_docs_v82/constructors/account.passwordInputSettings.md create mode 100644 old_docs/API_docs_v82/constructors/account.passwordSettings.md create mode 100644 old_docs/API_docs_v82/constructors/account.privacyRules.md create mode 100644 old_docs/API_docs_v82/constructors/account.sentEmailCode.md create mode 100644 old_docs/API_docs_v82/constructors/account.takeout.md create mode 100644 old_docs/API_docs_v82/constructors/account.tmpPassword.md create mode 100644 old_docs/API_docs_v82/constructors/account.webAuthorizations.md delete mode 100644 old_docs/API_docs_v82/constructors/account_authorizationForm.md delete mode 100644 old_docs/API_docs_v82/constructors/account_authorizations.md delete mode 100644 old_docs/API_docs_v82/constructors/account_noPassword.md delete mode 100644 old_docs/API_docs_v82/constructors/account_password.md delete mode 100644 old_docs/API_docs_v82/constructors/account_passwordInputSettings.md delete mode 100644 old_docs/API_docs_v82/constructors/account_passwordSettings.md delete mode 100644 old_docs/API_docs_v82/constructors/account_privacyRules.md delete mode 100644 old_docs/API_docs_v82/constructors/account_sentEmailCode.md delete mode 100644 old_docs/API_docs_v82/constructors/account_takeout.md delete mode 100644 old_docs/API_docs_v82/constructors/account_tmpPassword.md delete mode 100644 old_docs/API_docs_v82/constructors/account_webAuthorizations.md create mode 100644 old_docs/API_docs_v82/constructors/auth.authorization.md create mode 100644 old_docs/API_docs_v82/constructors/auth.checkedPhone.md create mode 100644 old_docs/API_docs_v82/constructors/auth.codeTypeCall.md create mode 100644 old_docs/API_docs_v82/constructors/auth.codeTypeFlashCall.md create mode 100644 old_docs/API_docs_v82/constructors/auth.codeTypeSms.md create mode 100644 old_docs/API_docs_v82/constructors/auth.exportedAuthorization.md create mode 100644 old_docs/API_docs_v82/constructors/auth.passwordRecovery.md create mode 100644 old_docs/API_docs_v82/constructors/auth.sentCode.md create mode 100644 old_docs/API_docs_v82/constructors/auth.sentCodeTypeApp.md create mode 100644 old_docs/API_docs_v82/constructors/auth.sentCodeTypeCall.md create mode 100644 old_docs/API_docs_v82/constructors/auth.sentCodeTypeFlashCall.md create mode 100644 old_docs/API_docs_v82/constructors/auth.sentCodeTypeSms.md delete mode 100644 old_docs/API_docs_v82/constructors/auth_authorization.md delete mode 100644 old_docs/API_docs_v82/constructors/auth_checkedPhone.md delete mode 100644 old_docs/API_docs_v82/constructors/auth_codeTypeCall.md delete mode 100644 old_docs/API_docs_v82/constructors/auth_codeTypeFlashCall.md delete mode 100644 old_docs/API_docs_v82/constructors/auth_codeTypeSms.md delete mode 100644 old_docs/API_docs_v82/constructors/auth_exportedAuthorization.md delete mode 100644 old_docs/API_docs_v82/constructors/auth_passwordRecovery.md delete mode 100644 old_docs/API_docs_v82/constructors/auth_sentCode.md delete mode 100644 old_docs/API_docs_v82/constructors/auth_sentCodeTypeApp.md delete mode 100644 old_docs/API_docs_v82/constructors/auth_sentCodeTypeCall.md delete mode 100644 old_docs/API_docs_v82/constructors/auth_sentCodeTypeFlashCall.md delete mode 100644 old_docs/API_docs_v82/constructors/auth_sentCodeTypeSms.md create mode 100644 old_docs/API_docs_v82/constructors/channels.adminLogResults.md create mode 100644 old_docs/API_docs_v82/constructors/channels.channelParticipant.md create mode 100644 old_docs/API_docs_v82/constructors/channels.channelParticipants.md create mode 100644 old_docs/API_docs_v82/constructors/channels.channelParticipantsNotModified.md delete mode 100644 old_docs/API_docs_v82/constructors/channels_adminLogResults.md delete mode 100644 old_docs/API_docs_v82/constructors/channels_channelParticipant.md delete mode 100644 old_docs/API_docs_v82/constructors/channels_channelParticipants.md delete mode 100644 old_docs/API_docs_v82/constructors/channels_channelParticipantsNotModified.md create mode 100644 old_docs/API_docs_v82/constructors/contacts.blocked.md create mode 100644 old_docs/API_docs_v82/constructors/contacts.blockedSlice.md create mode 100644 old_docs/API_docs_v82/constructors/contacts.contacts.md create mode 100644 old_docs/API_docs_v82/constructors/contacts.contactsNotModified.md create mode 100644 old_docs/API_docs_v82/constructors/contacts.found.md create mode 100644 old_docs/API_docs_v82/constructors/contacts.importedContacts.md create mode 100644 old_docs/API_docs_v82/constructors/contacts.link.md create mode 100644 old_docs/API_docs_v82/constructors/contacts.resolvedPeer.md create mode 100644 old_docs/API_docs_v82/constructors/contacts.topPeers.md create mode 100644 old_docs/API_docs_v82/constructors/contacts.topPeersDisabled.md create mode 100644 old_docs/API_docs_v82/constructors/contacts.topPeersNotModified.md delete mode 100644 old_docs/API_docs_v82/constructors/contacts_blocked.md delete mode 100644 old_docs/API_docs_v82/constructors/contacts_blockedSlice.md delete mode 100644 old_docs/API_docs_v82/constructors/contacts_contacts.md delete mode 100644 old_docs/API_docs_v82/constructors/contacts_contactsNotModified.md delete mode 100644 old_docs/API_docs_v82/constructors/contacts_found.md delete mode 100644 old_docs/API_docs_v82/constructors/contacts_importedContacts.md delete mode 100644 old_docs/API_docs_v82/constructors/contacts_link.md delete mode 100644 old_docs/API_docs_v82/constructors/contacts_resolvedPeer.md delete mode 100644 old_docs/API_docs_v82/constructors/contacts_topPeers.md delete mode 100644 old_docs/API_docs_v82/constructors/contacts_topPeersDisabled.md delete mode 100644 old_docs/API_docs_v82/constructors/contacts_topPeersNotModified.md create mode 100644 old_docs/API_docs_v82/constructors/help.appUpdate.md create mode 100644 old_docs/API_docs_v82/constructors/help.configSimple.md create mode 100644 old_docs/API_docs_v82/constructors/help.deepLinkInfo.md create mode 100644 old_docs/API_docs_v82/constructors/help.deepLinkInfoEmpty.md create mode 100644 old_docs/API_docs_v82/constructors/help.inviteText.md create mode 100644 old_docs/API_docs_v82/constructors/help.noAppUpdate.md create mode 100644 old_docs/API_docs_v82/constructors/help.proxyDataEmpty.md create mode 100644 old_docs/API_docs_v82/constructors/help.proxyDataPromo.md create mode 100644 old_docs/API_docs_v82/constructors/help.recentMeUrls.md create mode 100644 old_docs/API_docs_v82/constructors/help.support.md create mode 100644 old_docs/API_docs_v82/constructors/help.termsOfService.md create mode 100644 old_docs/API_docs_v82/constructors/help.termsOfServiceUpdate.md create mode 100644 old_docs/API_docs_v82/constructors/help.termsOfServiceUpdateEmpty.md delete mode 100644 old_docs/API_docs_v82/constructors/help_appUpdate.md delete mode 100644 old_docs/API_docs_v82/constructors/help_configSimple.md delete mode 100644 old_docs/API_docs_v82/constructors/help_deepLinkInfo.md delete mode 100644 old_docs/API_docs_v82/constructors/help_deepLinkInfoEmpty.md delete mode 100644 old_docs/API_docs_v82/constructors/help_inviteText.md delete mode 100644 old_docs/API_docs_v82/constructors/help_noAppUpdate.md delete mode 100644 old_docs/API_docs_v82/constructors/help_proxyDataEmpty.md delete mode 100644 old_docs/API_docs_v82/constructors/help_proxyDataPromo.md delete mode 100644 old_docs/API_docs_v82/constructors/help_recentMeUrls.md delete mode 100644 old_docs/API_docs_v82/constructors/help_support.md delete mode 100644 old_docs/API_docs_v82/constructors/help_termsOfService.md delete mode 100644 old_docs/API_docs_v82/constructors/help_termsOfServiceUpdate.md delete mode 100644 old_docs/API_docs_v82/constructors/help_termsOfServiceUpdateEmpty.md create mode 100644 old_docs/API_docs_v82/constructors/messages.affectedHistory.md create mode 100644 old_docs/API_docs_v82/constructors/messages.affectedMessages.md create mode 100644 old_docs/API_docs_v82/constructors/messages.allStickers.md create mode 100644 old_docs/API_docs_v82/constructors/messages.allStickersNotModified.md create mode 100644 old_docs/API_docs_v82/constructors/messages.archivedStickers.md create mode 100644 old_docs/API_docs_v82/constructors/messages.botCallbackAnswer.md create mode 100644 old_docs/API_docs_v82/constructors/messages.botResults.md create mode 100644 old_docs/API_docs_v82/constructors/messages.channelMessages.md create mode 100644 old_docs/API_docs_v82/constructors/messages.chatFull.md create mode 100644 old_docs/API_docs_v82/constructors/messages.chats.md create mode 100644 old_docs/API_docs_v82/constructors/messages.chatsSlice.md create mode 100644 old_docs/API_docs_v82/constructors/messages.dhConfig.md create mode 100644 old_docs/API_docs_v82/constructors/messages.dhConfigNotModified.md create mode 100644 old_docs/API_docs_v82/constructors/messages.dialogs.md create mode 100644 old_docs/API_docs_v82/constructors/messages.dialogsNotModified.md create mode 100644 old_docs/API_docs_v82/constructors/messages.dialogsSlice.md create mode 100644 old_docs/API_docs_v82/constructors/messages.favedStickers.md create mode 100644 old_docs/API_docs_v82/constructors/messages.favedStickersNotModified.md create mode 100644 old_docs/API_docs_v82/constructors/messages.featuredStickers.md create mode 100644 old_docs/API_docs_v82/constructors/messages.featuredStickersNotModified.md create mode 100644 old_docs/API_docs_v82/constructors/messages.foundGifs.md create mode 100644 old_docs/API_docs_v82/constructors/messages.foundStickerSets.md create mode 100644 old_docs/API_docs_v82/constructors/messages.foundStickerSetsNotModified.md create mode 100644 old_docs/API_docs_v82/constructors/messages.highScores.md create mode 100644 old_docs/API_docs_v82/constructors/messages.messageEditData.md create mode 100644 old_docs/API_docs_v82/constructors/messages.messages.md create mode 100644 old_docs/API_docs_v82/constructors/messages.messagesNotModified.md create mode 100644 old_docs/API_docs_v82/constructors/messages.messagesSlice.md create mode 100644 old_docs/API_docs_v82/constructors/messages.peerDialogs.md create mode 100644 old_docs/API_docs_v82/constructors/messages.recentStickers.md create mode 100644 old_docs/API_docs_v82/constructors/messages.recentStickersNotModified.md create mode 100644 old_docs/API_docs_v82/constructors/messages.savedGifs.md create mode 100644 old_docs/API_docs_v82/constructors/messages.savedGifsNotModified.md create mode 100644 old_docs/API_docs_v82/constructors/messages.sentEncryptedFile.md create mode 100644 old_docs/API_docs_v82/constructors/messages.sentEncryptedMessage.md create mode 100644 old_docs/API_docs_v82/constructors/messages.stickerSet.md create mode 100644 old_docs/API_docs_v82/constructors/messages.stickerSetInstallResultArchive.md create mode 100644 old_docs/API_docs_v82/constructors/messages.stickerSetInstallResultSuccess.md create mode 100644 old_docs/API_docs_v82/constructors/messages.stickers.md create mode 100644 old_docs/API_docs_v82/constructors/messages.stickersNotModified.md delete mode 100644 old_docs/API_docs_v82/constructors/messages_affectedHistory.md delete mode 100644 old_docs/API_docs_v82/constructors/messages_affectedMessages.md delete mode 100644 old_docs/API_docs_v82/constructors/messages_allStickers.md delete mode 100644 old_docs/API_docs_v82/constructors/messages_allStickersNotModified.md delete mode 100644 old_docs/API_docs_v82/constructors/messages_archivedStickers.md delete mode 100644 old_docs/API_docs_v82/constructors/messages_botCallbackAnswer.md delete mode 100644 old_docs/API_docs_v82/constructors/messages_botResults.md delete mode 100644 old_docs/API_docs_v82/constructors/messages_channelMessages.md delete mode 100644 old_docs/API_docs_v82/constructors/messages_chatFull.md delete mode 100644 old_docs/API_docs_v82/constructors/messages_chats.md delete mode 100644 old_docs/API_docs_v82/constructors/messages_chatsSlice.md delete mode 100644 old_docs/API_docs_v82/constructors/messages_dhConfig.md delete mode 100644 old_docs/API_docs_v82/constructors/messages_dhConfigNotModified.md delete mode 100644 old_docs/API_docs_v82/constructors/messages_dialogs.md delete mode 100644 old_docs/API_docs_v82/constructors/messages_dialogsNotModified.md delete mode 100644 old_docs/API_docs_v82/constructors/messages_dialogsSlice.md delete mode 100644 old_docs/API_docs_v82/constructors/messages_favedStickers.md delete mode 100644 old_docs/API_docs_v82/constructors/messages_favedStickersNotModified.md delete mode 100644 old_docs/API_docs_v82/constructors/messages_featuredStickers.md delete mode 100644 old_docs/API_docs_v82/constructors/messages_featuredStickersNotModified.md delete mode 100644 old_docs/API_docs_v82/constructors/messages_foundGifs.md delete mode 100644 old_docs/API_docs_v82/constructors/messages_foundStickerSets.md delete mode 100644 old_docs/API_docs_v82/constructors/messages_foundStickerSetsNotModified.md delete mode 100644 old_docs/API_docs_v82/constructors/messages_highScores.md delete mode 100644 old_docs/API_docs_v82/constructors/messages_messageEditData.md delete mode 100644 old_docs/API_docs_v82/constructors/messages_messages.md delete mode 100644 old_docs/API_docs_v82/constructors/messages_messagesNotModified.md delete mode 100644 old_docs/API_docs_v82/constructors/messages_messagesSlice.md delete mode 100644 old_docs/API_docs_v82/constructors/messages_peerDialogs.md delete mode 100644 old_docs/API_docs_v82/constructors/messages_recentStickers.md delete mode 100644 old_docs/API_docs_v82/constructors/messages_recentStickersNotModified.md delete mode 100644 old_docs/API_docs_v82/constructors/messages_savedGifs.md delete mode 100644 old_docs/API_docs_v82/constructors/messages_savedGifsNotModified.md delete mode 100644 old_docs/API_docs_v82/constructors/messages_sentEncryptedFile.md delete mode 100644 old_docs/API_docs_v82/constructors/messages_sentEncryptedMessage.md delete mode 100644 old_docs/API_docs_v82/constructors/messages_stickerSet.md delete mode 100644 old_docs/API_docs_v82/constructors/messages_stickerSetInstallResultArchive.md delete mode 100644 old_docs/API_docs_v82/constructors/messages_stickerSetInstallResultSuccess.md delete mode 100644 old_docs/API_docs_v82/constructors/messages_stickers.md delete mode 100644 old_docs/API_docs_v82/constructors/messages_stickersNotModified.md create mode 100644 old_docs/API_docs_v82/constructors/payments.paymentForm.md create mode 100644 old_docs/API_docs_v82/constructors/payments.paymentReceipt.md create mode 100644 old_docs/API_docs_v82/constructors/payments.paymentResult.md create mode 100644 old_docs/API_docs_v82/constructors/payments.paymentVerficationNeeded.md create mode 100644 old_docs/API_docs_v82/constructors/payments.savedInfo.md create mode 100644 old_docs/API_docs_v82/constructors/payments.validatedRequestedInfo.md delete mode 100644 old_docs/API_docs_v82/constructors/payments_paymentForm.md delete mode 100644 old_docs/API_docs_v82/constructors/payments_paymentReceipt.md delete mode 100644 old_docs/API_docs_v82/constructors/payments_paymentResult.md delete mode 100644 old_docs/API_docs_v82/constructors/payments_paymentVerficationNeeded.md delete mode 100644 old_docs/API_docs_v82/constructors/payments_savedInfo.md delete mode 100644 old_docs/API_docs_v82/constructors/payments_validatedRequestedInfo.md create mode 100644 old_docs/API_docs_v82/constructors/phone.phoneCall.md delete mode 100644 old_docs/API_docs_v82/constructors/phone_phoneCall.md create mode 100644 old_docs/API_docs_v82/constructors/photos.photo.md create mode 100644 old_docs/API_docs_v82/constructors/photos.photos.md create mode 100644 old_docs/API_docs_v82/constructors/photos.photosSlice.md delete mode 100644 old_docs/API_docs_v82/constructors/photos_photo.md delete mode 100644 old_docs/API_docs_v82/constructors/photos_photos.md delete mode 100644 old_docs/API_docs_v82/constructors/photos_photosSlice.md create mode 100644 old_docs/API_docs_v82/constructors/storage.fileGif.md create mode 100644 old_docs/API_docs_v82/constructors/storage.fileJpeg.md create mode 100644 old_docs/API_docs_v82/constructors/storage.fileMov.md create mode 100644 old_docs/API_docs_v82/constructors/storage.fileMp3.md create mode 100644 old_docs/API_docs_v82/constructors/storage.fileMp4.md create mode 100644 old_docs/API_docs_v82/constructors/storage.filePartial.md create mode 100644 old_docs/API_docs_v82/constructors/storage.filePdf.md create mode 100644 old_docs/API_docs_v82/constructors/storage.filePng.md create mode 100644 old_docs/API_docs_v82/constructors/storage.fileUnknown.md create mode 100644 old_docs/API_docs_v82/constructors/storage.fileWebp.md delete mode 100644 old_docs/API_docs_v82/constructors/storage_fileGif.md delete mode 100644 old_docs/API_docs_v82/constructors/storage_fileJpeg.md delete mode 100644 old_docs/API_docs_v82/constructors/storage_fileMov.md delete mode 100644 old_docs/API_docs_v82/constructors/storage_fileMp3.md delete mode 100644 old_docs/API_docs_v82/constructors/storage_fileMp4.md delete mode 100644 old_docs/API_docs_v82/constructors/storage_filePartial.md delete mode 100644 old_docs/API_docs_v82/constructors/storage_filePdf.md delete mode 100644 old_docs/API_docs_v82/constructors/storage_filePng.md delete mode 100644 old_docs/API_docs_v82/constructors/storage_fileUnknown.md delete mode 100644 old_docs/API_docs_v82/constructors/storage_fileWebp.md create mode 100644 old_docs/API_docs_v82/constructors/updates.channelDifference.md create mode 100644 old_docs/API_docs_v82/constructors/updates.channelDifferenceEmpty.md create mode 100644 old_docs/API_docs_v82/constructors/updates.channelDifferenceTooLong.md create mode 100644 old_docs/API_docs_v82/constructors/updates.difference.md create mode 100644 old_docs/API_docs_v82/constructors/updates.differenceEmpty.md create mode 100644 old_docs/API_docs_v82/constructors/updates.differenceSlice.md create mode 100644 old_docs/API_docs_v82/constructors/updates.differenceTooLong.md create mode 100644 old_docs/API_docs_v82/constructors/updates.state.md delete mode 100644 old_docs/API_docs_v82/constructors/updates_channelDifference.md delete mode 100644 old_docs/API_docs_v82/constructors/updates_channelDifferenceEmpty.md delete mode 100644 old_docs/API_docs_v82/constructors/updates_channelDifferenceTooLong.md delete mode 100644 old_docs/API_docs_v82/constructors/updates_difference.md delete mode 100644 old_docs/API_docs_v82/constructors/updates_differenceEmpty.md delete mode 100644 old_docs/API_docs_v82/constructors/updates_differenceSlice.md delete mode 100644 old_docs/API_docs_v82/constructors/updates_differenceTooLong.md delete mode 100644 old_docs/API_docs_v82/constructors/updates_state.md create mode 100644 old_docs/API_docs_v82/constructors/upload.cdnFile.md create mode 100644 old_docs/API_docs_v82/constructors/upload.cdnFileReuploadNeeded.md create mode 100644 old_docs/API_docs_v82/constructors/upload.file.md create mode 100644 old_docs/API_docs_v82/constructors/upload.fileCdnRedirect.md create mode 100644 old_docs/API_docs_v82/constructors/upload.webFile.md delete mode 100644 old_docs/API_docs_v82/constructors/upload_cdnFile.md delete mode 100644 old_docs/API_docs_v82/constructors/upload_cdnFileReuploadNeeded.md delete mode 100644 old_docs/API_docs_v82/constructors/upload_file.md delete mode 100644 old_docs/API_docs_v82/constructors/upload_fileCdnRedirect.md delete mode 100644 old_docs/API_docs_v82/constructors/upload_webFile.md create mode 100644 old_docs/API_docs_v82/types/account.AuthorizationForm.md create mode 100644 old_docs/API_docs_v82/types/account.Authorizations.md create mode 100644 old_docs/API_docs_v82/types/account.Password.md create mode 100644 old_docs/API_docs_v82/types/account.PasswordInputSettings.md create mode 100644 old_docs/API_docs_v82/types/account.PasswordSettings.md create mode 100644 old_docs/API_docs_v82/types/account.PrivacyRules.md create mode 100644 old_docs/API_docs_v82/types/account.SentEmailCode.md create mode 100644 old_docs/API_docs_v82/types/account.Takeout.md create mode 100644 old_docs/API_docs_v82/types/account.TmpPassword.md create mode 100644 old_docs/API_docs_v82/types/account.WebAuthorizations.md delete mode 100644 old_docs/API_docs_v82/types/account_AuthorizationForm.md delete mode 100644 old_docs/API_docs_v82/types/account_Authorizations.md delete mode 100644 old_docs/API_docs_v82/types/account_Password.md delete mode 100644 old_docs/API_docs_v82/types/account_PasswordInputSettings.md delete mode 100644 old_docs/API_docs_v82/types/account_PasswordSettings.md delete mode 100644 old_docs/API_docs_v82/types/account_PrivacyRules.md delete mode 100644 old_docs/API_docs_v82/types/account_SentEmailCode.md delete mode 100644 old_docs/API_docs_v82/types/account_Takeout.md delete mode 100644 old_docs/API_docs_v82/types/account_TmpPassword.md delete mode 100644 old_docs/API_docs_v82/types/account_WebAuthorizations.md create mode 100644 old_docs/API_docs_v82/types/auth.Authorization.md create mode 100644 old_docs/API_docs_v82/types/auth.CheckedPhone.md create mode 100644 old_docs/API_docs_v82/types/auth.CodeType.md create mode 100644 old_docs/API_docs_v82/types/auth.ExportedAuthorization.md create mode 100644 old_docs/API_docs_v82/types/auth.PasswordRecovery.md create mode 100644 old_docs/API_docs_v82/types/auth.SentCode.md create mode 100644 old_docs/API_docs_v82/types/auth.SentCodeType.md delete mode 100644 old_docs/API_docs_v82/types/auth_Authorization.md delete mode 100644 old_docs/API_docs_v82/types/auth_CheckedPhone.md delete mode 100644 old_docs/API_docs_v82/types/auth_CodeType.md delete mode 100644 old_docs/API_docs_v82/types/auth_ExportedAuthorization.md delete mode 100644 old_docs/API_docs_v82/types/auth_PasswordRecovery.md delete mode 100644 old_docs/API_docs_v82/types/auth_SentCode.md delete mode 100644 old_docs/API_docs_v82/types/auth_SentCodeType.md create mode 100644 old_docs/API_docs_v82/types/channels.AdminLogResults.md create mode 100644 old_docs/API_docs_v82/types/channels.ChannelParticipant.md create mode 100644 old_docs/API_docs_v82/types/channels.ChannelParticipants.md delete mode 100644 old_docs/API_docs_v82/types/channels_AdminLogResults.md delete mode 100644 old_docs/API_docs_v82/types/channels_ChannelParticipant.md delete mode 100644 old_docs/API_docs_v82/types/channels_ChannelParticipants.md create mode 100644 old_docs/API_docs_v82/types/contacts.Blocked.md create mode 100644 old_docs/API_docs_v82/types/contacts.Contacts.md create mode 100644 old_docs/API_docs_v82/types/contacts.Found.md create mode 100644 old_docs/API_docs_v82/types/contacts.ImportedContacts.md create mode 100644 old_docs/API_docs_v82/types/contacts.Link.md create mode 100644 old_docs/API_docs_v82/types/contacts.ResolvedPeer.md create mode 100644 old_docs/API_docs_v82/types/contacts.TopPeers.md delete mode 100644 old_docs/API_docs_v82/types/contacts_Blocked.md delete mode 100644 old_docs/API_docs_v82/types/contacts_Contacts.md delete mode 100644 old_docs/API_docs_v82/types/contacts_Found.md delete mode 100644 old_docs/API_docs_v82/types/contacts_ImportedContacts.md delete mode 100644 old_docs/API_docs_v82/types/contacts_Link.md delete mode 100644 old_docs/API_docs_v82/types/contacts_ResolvedPeer.md delete mode 100644 old_docs/API_docs_v82/types/contacts_TopPeers.md create mode 100644 old_docs/API_docs_v82/types/help.AppUpdate.md create mode 100644 old_docs/API_docs_v82/types/help.ConfigSimple.md create mode 100644 old_docs/API_docs_v82/types/help.DeepLinkInfo.md create mode 100644 old_docs/API_docs_v82/types/help.InviteText.md create mode 100644 old_docs/API_docs_v82/types/help.ProxyData.md create mode 100644 old_docs/API_docs_v82/types/help.RecentMeUrls.md create mode 100644 old_docs/API_docs_v82/types/help.Support.md create mode 100644 old_docs/API_docs_v82/types/help.TermsOfService.md create mode 100644 old_docs/API_docs_v82/types/help.TermsOfServiceUpdate.md delete mode 100644 old_docs/API_docs_v82/types/help_AppUpdate.md delete mode 100644 old_docs/API_docs_v82/types/help_ConfigSimple.md delete mode 100644 old_docs/API_docs_v82/types/help_DeepLinkInfo.md delete mode 100644 old_docs/API_docs_v82/types/help_InviteText.md delete mode 100644 old_docs/API_docs_v82/types/help_ProxyData.md delete mode 100644 old_docs/API_docs_v82/types/help_RecentMeUrls.md delete mode 100644 old_docs/API_docs_v82/types/help_Support.md delete mode 100644 old_docs/API_docs_v82/types/help_TermsOfService.md delete mode 100644 old_docs/API_docs_v82/types/help_TermsOfServiceUpdate.md create mode 100644 old_docs/API_docs_v82/types/messages.AffectedHistory.md create mode 100644 old_docs/API_docs_v82/types/messages.AffectedMessages.md create mode 100644 old_docs/API_docs_v82/types/messages.AllStickers.md create mode 100644 old_docs/API_docs_v82/types/messages.ArchivedStickers.md create mode 100644 old_docs/API_docs_v82/types/messages.BotCallbackAnswer.md create mode 100644 old_docs/API_docs_v82/types/messages.BotResults.md create mode 100644 old_docs/API_docs_v82/types/messages.ChatFull.md create mode 100644 old_docs/API_docs_v82/types/messages.Chats.md create mode 100644 old_docs/API_docs_v82/types/messages.DhConfig.md create mode 100644 old_docs/API_docs_v82/types/messages.Dialogs.md create mode 100644 old_docs/API_docs_v82/types/messages.FavedStickers.md create mode 100644 old_docs/API_docs_v82/types/messages.FeaturedStickers.md create mode 100644 old_docs/API_docs_v82/types/messages.FoundGifs.md create mode 100644 old_docs/API_docs_v82/types/messages.FoundStickerSets.md create mode 100644 old_docs/API_docs_v82/types/messages.HighScores.md create mode 100644 old_docs/API_docs_v82/types/messages.MessageEditData.md create mode 100644 old_docs/API_docs_v82/types/messages.Messages.md create mode 100644 old_docs/API_docs_v82/types/messages.PeerDialogs.md create mode 100644 old_docs/API_docs_v82/types/messages.RecentStickers.md create mode 100644 old_docs/API_docs_v82/types/messages.SavedGifs.md create mode 100644 old_docs/API_docs_v82/types/messages.SentEncryptedMessage.md create mode 100644 old_docs/API_docs_v82/types/messages.StickerSet.md create mode 100644 old_docs/API_docs_v82/types/messages.StickerSetInstallResult.md create mode 100644 old_docs/API_docs_v82/types/messages.Stickers.md delete mode 100644 old_docs/API_docs_v82/types/messages_AffectedHistory.md delete mode 100644 old_docs/API_docs_v82/types/messages_AffectedMessages.md delete mode 100644 old_docs/API_docs_v82/types/messages_AllStickers.md delete mode 100644 old_docs/API_docs_v82/types/messages_ArchivedStickers.md delete mode 100644 old_docs/API_docs_v82/types/messages_BotCallbackAnswer.md delete mode 100644 old_docs/API_docs_v82/types/messages_BotResults.md delete mode 100644 old_docs/API_docs_v82/types/messages_ChatFull.md delete mode 100644 old_docs/API_docs_v82/types/messages_Chats.md delete mode 100644 old_docs/API_docs_v82/types/messages_DhConfig.md delete mode 100644 old_docs/API_docs_v82/types/messages_Dialogs.md delete mode 100644 old_docs/API_docs_v82/types/messages_FavedStickers.md delete mode 100644 old_docs/API_docs_v82/types/messages_FeaturedStickers.md delete mode 100644 old_docs/API_docs_v82/types/messages_FoundGifs.md delete mode 100644 old_docs/API_docs_v82/types/messages_FoundStickerSets.md delete mode 100644 old_docs/API_docs_v82/types/messages_HighScores.md delete mode 100644 old_docs/API_docs_v82/types/messages_MessageEditData.md delete mode 100644 old_docs/API_docs_v82/types/messages_Messages.md delete mode 100644 old_docs/API_docs_v82/types/messages_PeerDialogs.md delete mode 100644 old_docs/API_docs_v82/types/messages_RecentStickers.md delete mode 100644 old_docs/API_docs_v82/types/messages_SavedGifs.md delete mode 100644 old_docs/API_docs_v82/types/messages_SentEncryptedMessage.md delete mode 100644 old_docs/API_docs_v82/types/messages_StickerSet.md delete mode 100644 old_docs/API_docs_v82/types/messages_StickerSetInstallResult.md delete mode 100644 old_docs/API_docs_v82/types/messages_Stickers.md create mode 100644 old_docs/API_docs_v82/types/payments.PaymentForm.md create mode 100644 old_docs/API_docs_v82/types/payments.PaymentReceipt.md create mode 100644 old_docs/API_docs_v82/types/payments.PaymentResult.md create mode 100644 old_docs/API_docs_v82/types/payments.SavedInfo.md create mode 100644 old_docs/API_docs_v82/types/payments.ValidatedRequestedInfo.md delete mode 100644 old_docs/API_docs_v82/types/payments_PaymentForm.md delete mode 100644 old_docs/API_docs_v82/types/payments_PaymentReceipt.md delete mode 100644 old_docs/API_docs_v82/types/payments_PaymentResult.md delete mode 100644 old_docs/API_docs_v82/types/payments_SavedInfo.md delete mode 100644 old_docs/API_docs_v82/types/payments_ValidatedRequestedInfo.md create mode 100644 old_docs/API_docs_v82/types/phone.PhoneCall.md delete mode 100644 old_docs/API_docs_v82/types/phone_PhoneCall.md create mode 100644 old_docs/API_docs_v82/types/photos.Photo.md create mode 100644 old_docs/API_docs_v82/types/photos.Photos.md delete mode 100644 old_docs/API_docs_v82/types/photos_Photo.md delete mode 100644 old_docs/API_docs_v82/types/photos_Photos.md create mode 100644 old_docs/API_docs_v82/types/storage.FileType.md delete mode 100644 old_docs/API_docs_v82/types/storage_FileType.md create mode 100644 old_docs/API_docs_v82/types/updates.ChannelDifference.md create mode 100644 old_docs/API_docs_v82/types/updates.Difference.md create mode 100644 old_docs/API_docs_v82/types/updates.State.md delete mode 100644 old_docs/API_docs_v82/types/updates_ChannelDifference.md delete mode 100644 old_docs/API_docs_v82/types/updates_Difference.md delete mode 100644 old_docs/API_docs_v82/types/updates_State.md create mode 100644 old_docs/API_docs_v82/types/upload.CdnFile.md create mode 100644 old_docs/API_docs_v82/types/upload.File.md create mode 100644 old_docs/API_docs_v82/types/upload.WebFile.md delete mode 100644 old_docs/API_docs_v82/types/upload_CdnFile.md delete mode 100644 old_docs/API_docs_v82/types/upload_File.md delete mode 100644 old_docs/API_docs_v82/types/upload_WebFile.md create mode 100644 old_docs/API_docs_v86/constructors/account.authorizationForm.md create mode 100644 old_docs/API_docs_v86/constructors/account.authorizations.md create mode 100644 old_docs/API_docs_v86/constructors/account.password.md create mode 100644 old_docs/API_docs_v86/constructors/account.passwordInputSettings.md create mode 100644 old_docs/API_docs_v86/constructors/account.passwordSettings.md create mode 100644 old_docs/API_docs_v86/constructors/account.privacyRules.md create mode 100644 old_docs/API_docs_v86/constructors/account.sentEmailCode.md create mode 100644 old_docs/API_docs_v86/constructors/account.takeout.md create mode 100644 old_docs/API_docs_v86/constructors/account.tmpPassword.md create mode 100644 old_docs/API_docs_v86/constructors/account.webAuthorizations.md delete mode 100644 old_docs/API_docs_v86/constructors/account_authorizationForm.md delete mode 100644 old_docs/API_docs_v86/constructors/account_authorizations.md delete mode 100644 old_docs/API_docs_v86/constructors/account_password.md delete mode 100644 old_docs/API_docs_v86/constructors/account_passwordInputSettings.md delete mode 100644 old_docs/API_docs_v86/constructors/account_passwordSettings.md delete mode 100644 old_docs/API_docs_v86/constructors/account_privacyRules.md delete mode 100644 old_docs/API_docs_v86/constructors/account_sentEmailCode.md delete mode 100644 old_docs/API_docs_v86/constructors/account_takeout.md delete mode 100644 old_docs/API_docs_v86/constructors/account_tmpPassword.md delete mode 100644 old_docs/API_docs_v86/constructors/account_webAuthorizations.md create mode 100644 old_docs/API_docs_v86/constructors/auth.authorization.md create mode 100644 old_docs/API_docs_v86/constructors/auth.checkedPhone.md create mode 100644 old_docs/API_docs_v86/constructors/auth.codeTypeCall.md create mode 100644 old_docs/API_docs_v86/constructors/auth.codeTypeFlashCall.md create mode 100644 old_docs/API_docs_v86/constructors/auth.codeTypeSms.md create mode 100644 old_docs/API_docs_v86/constructors/auth.exportedAuthorization.md create mode 100644 old_docs/API_docs_v86/constructors/auth.passwordRecovery.md create mode 100644 old_docs/API_docs_v86/constructors/auth.sentCode.md create mode 100644 old_docs/API_docs_v86/constructors/auth.sentCodeTypeApp.md create mode 100644 old_docs/API_docs_v86/constructors/auth.sentCodeTypeCall.md create mode 100644 old_docs/API_docs_v86/constructors/auth.sentCodeTypeFlashCall.md create mode 100644 old_docs/API_docs_v86/constructors/auth.sentCodeTypeSms.md delete mode 100644 old_docs/API_docs_v86/constructors/auth_authorization.md delete mode 100644 old_docs/API_docs_v86/constructors/auth_checkedPhone.md delete mode 100644 old_docs/API_docs_v86/constructors/auth_codeTypeCall.md delete mode 100644 old_docs/API_docs_v86/constructors/auth_codeTypeFlashCall.md delete mode 100644 old_docs/API_docs_v86/constructors/auth_codeTypeSms.md delete mode 100644 old_docs/API_docs_v86/constructors/auth_exportedAuthorization.md delete mode 100644 old_docs/API_docs_v86/constructors/auth_passwordRecovery.md delete mode 100644 old_docs/API_docs_v86/constructors/auth_sentCode.md delete mode 100644 old_docs/API_docs_v86/constructors/auth_sentCodeTypeApp.md delete mode 100644 old_docs/API_docs_v86/constructors/auth_sentCodeTypeCall.md delete mode 100644 old_docs/API_docs_v86/constructors/auth_sentCodeTypeFlashCall.md delete mode 100644 old_docs/API_docs_v86/constructors/auth_sentCodeTypeSms.md create mode 100644 old_docs/API_docs_v86/constructors/channels.adminLogResults.md create mode 100644 old_docs/API_docs_v86/constructors/channels.channelParticipant.md create mode 100644 old_docs/API_docs_v86/constructors/channels.channelParticipants.md create mode 100644 old_docs/API_docs_v86/constructors/channels.channelParticipantsNotModified.md delete mode 100644 old_docs/API_docs_v86/constructors/channels_adminLogResults.md delete mode 100644 old_docs/API_docs_v86/constructors/channels_channelParticipant.md delete mode 100644 old_docs/API_docs_v86/constructors/channels_channelParticipants.md delete mode 100644 old_docs/API_docs_v86/constructors/channels_channelParticipantsNotModified.md create mode 100644 old_docs/API_docs_v86/constructors/contacts.blocked.md create mode 100644 old_docs/API_docs_v86/constructors/contacts.blockedSlice.md create mode 100644 old_docs/API_docs_v86/constructors/contacts.contacts.md create mode 100644 old_docs/API_docs_v86/constructors/contacts.contactsNotModified.md create mode 100644 old_docs/API_docs_v86/constructors/contacts.found.md create mode 100644 old_docs/API_docs_v86/constructors/contacts.importedContacts.md create mode 100644 old_docs/API_docs_v86/constructors/contacts.link.md create mode 100644 old_docs/API_docs_v86/constructors/contacts.resolvedPeer.md create mode 100644 old_docs/API_docs_v86/constructors/contacts.topPeers.md create mode 100644 old_docs/API_docs_v86/constructors/contacts.topPeersDisabled.md create mode 100644 old_docs/API_docs_v86/constructors/contacts.topPeersNotModified.md delete mode 100644 old_docs/API_docs_v86/constructors/contacts_blocked.md delete mode 100644 old_docs/API_docs_v86/constructors/contacts_blockedSlice.md delete mode 100644 old_docs/API_docs_v86/constructors/contacts_contacts.md delete mode 100644 old_docs/API_docs_v86/constructors/contacts_contactsNotModified.md delete mode 100644 old_docs/API_docs_v86/constructors/contacts_found.md delete mode 100644 old_docs/API_docs_v86/constructors/contacts_importedContacts.md delete mode 100644 old_docs/API_docs_v86/constructors/contacts_link.md delete mode 100644 old_docs/API_docs_v86/constructors/contacts_resolvedPeer.md delete mode 100644 old_docs/API_docs_v86/constructors/contacts_topPeers.md delete mode 100644 old_docs/API_docs_v86/constructors/contacts_topPeersDisabled.md delete mode 100644 old_docs/API_docs_v86/constructors/contacts_topPeersNotModified.md create mode 100644 old_docs/API_docs_v86/constructors/help.appUpdate.md create mode 100644 old_docs/API_docs_v86/constructors/help.configSimple.md create mode 100644 old_docs/API_docs_v86/constructors/help.deepLinkInfo.md create mode 100644 old_docs/API_docs_v86/constructors/help.deepLinkInfoEmpty.md create mode 100644 old_docs/API_docs_v86/constructors/help.inviteText.md create mode 100644 old_docs/API_docs_v86/constructors/help.noAppUpdate.md create mode 100644 old_docs/API_docs_v86/constructors/help.passportConfig.md create mode 100644 old_docs/API_docs_v86/constructors/help.passportConfigNotModified.md create mode 100644 old_docs/API_docs_v86/constructors/help.proxyDataEmpty.md create mode 100644 old_docs/API_docs_v86/constructors/help.proxyDataPromo.md create mode 100644 old_docs/API_docs_v86/constructors/help.recentMeUrls.md create mode 100644 old_docs/API_docs_v86/constructors/help.support.md create mode 100644 old_docs/API_docs_v86/constructors/help.termsOfService.md create mode 100644 old_docs/API_docs_v86/constructors/help.termsOfServiceUpdate.md create mode 100644 old_docs/API_docs_v86/constructors/help.termsOfServiceUpdateEmpty.md delete mode 100644 old_docs/API_docs_v86/constructors/help_appUpdate.md delete mode 100644 old_docs/API_docs_v86/constructors/help_configSimple.md delete mode 100644 old_docs/API_docs_v86/constructors/help_deepLinkInfo.md delete mode 100644 old_docs/API_docs_v86/constructors/help_deepLinkInfoEmpty.md delete mode 100644 old_docs/API_docs_v86/constructors/help_inviteText.md delete mode 100644 old_docs/API_docs_v86/constructors/help_noAppUpdate.md delete mode 100644 old_docs/API_docs_v86/constructors/help_passportConfig.md delete mode 100644 old_docs/API_docs_v86/constructors/help_passportConfigNotModified.md delete mode 100644 old_docs/API_docs_v86/constructors/help_proxyDataEmpty.md delete mode 100644 old_docs/API_docs_v86/constructors/help_proxyDataPromo.md delete mode 100644 old_docs/API_docs_v86/constructors/help_recentMeUrls.md delete mode 100644 old_docs/API_docs_v86/constructors/help_support.md delete mode 100644 old_docs/API_docs_v86/constructors/help_termsOfService.md delete mode 100644 old_docs/API_docs_v86/constructors/help_termsOfServiceUpdate.md delete mode 100644 old_docs/API_docs_v86/constructors/help_termsOfServiceUpdateEmpty.md create mode 100644 old_docs/API_docs_v86/constructors/messages.affectedHistory.md create mode 100644 old_docs/API_docs_v86/constructors/messages.affectedMessages.md create mode 100644 old_docs/API_docs_v86/constructors/messages.allStickers.md create mode 100644 old_docs/API_docs_v86/constructors/messages.allStickersNotModified.md create mode 100644 old_docs/API_docs_v86/constructors/messages.archivedStickers.md create mode 100644 old_docs/API_docs_v86/constructors/messages.botCallbackAnswer.md create mode 100644 old_docs/API_docs_v86/constructors/messages.botResults.md create mode 100644 old_docs/API_docs_v86/constructors/messages.channelMessages.md create mode 100644 old_docs/API_docs_v86/constructors/messages.chatFull.md create mode 100644 old_docs/API_docs_v86/constructors/messages.chats.md create mode 100644 old_docs/API_docs_v86/constructors/messages.chatsSlice.md create mode 100644 old_docs/API_docs_v86/constructors/messages.dhConfig.md create mode 100644 old_docs/API_docs_v86/constructors/messages.dhConfigNotModified.md create mode 100644 old_docs/API_docs_v86/constructors/messages.dialogs.md create mode 100644 old_docs/API_docs_v86/constructors/messages.dialogsNotModified.md create mode 100644 old_docs/API_docs_v86/constructors/messages.dialogsSlice.md create mode 100644 old_docs/API_docs_v86/constructors/messages.favedStickers.md create mode 100644 old_docs/API_docs_v86/constructors/messages.favedStickersNotModified.md create mode 100644 old_docs/API_docs_v86/constructors/messages.featuredStickers.md create mode 100644 old_docs/API_docs_v86/constructors/messages.featuredStickersNotModified.md create mode 100644 old_docs/API_docs_v86/constructors/messages.foundGifs.md create mode 100644 old_docs/API_docs_v86/constructors/messages.foundStickerSets.md create mode 100644 old_docs/API_docs_v86/constructors/messages.foundStickerSetsNotModified.md create mode 100644 old_docs/API_docs_v86/constructors/messages.highScores.md create mode 100644 old_docs/API_docs_v86/constructors/messages.messageEditData.md create mode 100644 old_docs/API_docs_v86/constructors/messages.messages.md create mode 100644 old_docs/API_docs_v86/constructors/messages.messagesNotModified.md create mode 100644 old_docs/API_docs_v86/constructors/messages.messagesSlice.md create mode 100644 old_docs/API_docs_v86/constructors/messages.peerDialogs.md create mode 100644 old_docs/API_docs_v86/constructors/messages.recentStickers.md create mode 100644 old_docs/API_docs_v86/constructors/messages.recentStickersNotModified.md create mode 100644 old_docs/API_docs_v86/constructors/messages.savedGifs.md create mode 100644 old_docs/API_docs_v86/constructors/messages.savedGifsNotModified.md create mode 100644 old_docs/API_docs_v86/constructors/messages.sentEncryptedFile.md create mode 100644 old_docs/API_docs_v86/constructors/messages.sentEncryptedMessage.md create mode 100644 old_docs/API_docs_v86/constructors/messages.stickerSet.md create mode 100644 old_docs/API_docs_v86/constructors/messages.stickerSetInstallResultArchive.md create mode 100644 old_docs/API_docs_v86/constructors/messages.stickerSetInstallResultSuccess.md create mode 100644 old_docs/API_docs_v86/constructors/messages.stickers.md create mode 100644 old_docs/API_docs_v86/constructors/messages.stickersNotModified.md delete mode 100644 old_docs/API_docs_v86/constructors/messages_affectedHistory.md delete mode 100644 old_docs/API_docs_v86/constructors/messages_affectedMessages.md delete mode 100644 old_docs/API_docs_v86/constructors/messages_allStickers.md delete mode 100644 old_docs/API_docs_v86/constructors/messages_allStickersNotModified.md delete mode 100644 old_docs/API_docs_v86/constructors/messages_archivedStickers.md delete mode 100644 old_docs/API_docs_v86/constructors/messages_botCallbackAnswer.md delete mode 100644 old_docs/API_docs_v86/constructors/messages_botResults.md delete mode 100644 old_docs/API_docs_v86/constructors/messages_channelMessages.md delete mode 100644 old_docs/API_docs_v86/constructors/messages_chatFull.md delete mode 100644 old_docs/API_docs_v86/constructors/messages_chats.md delete mode 100644 old_docs/API_docs_v86/constructors/messages_chatsSlice.md delete mode 100644 old_docs/API_docs_v86/constructors/messages_dhConfig.md delete mode 100644 old_docs/API_docs_v86/constructors/messages_dhConfigNotModified.md delete mode 100644 old_docs/API_docs_v86/constructors/messages_dialogs.md delete mode 100644 old_docs/API_docs_v86/constructors/messages_dialogsNotModified.md delete mode 100644 old_docs/API_docs_v86/constructors/messages_dialogsSlice.md delete mode 100644 old_docs/API_docs_v86/constructors/messages_favedStickers.md delete mode 100644 old_docs/API_docs_v86/constructors/messages_favedStickersNotModified.md delete mode 100644 old_docs/API_docs_v86/constructors/messages_featuredStickers.md delete mode 100644 old_docs/API_docs_v86/constructors/messages_featuredStickersNotModified.md delete mode 100644 old_docs/API_docs_v86/constructors/messages_foundGifs.md delete mode 100644 old_docs/API_docs_v86/constructors/messages_foundStickerSets.md delete mode 100644 old_docs/API_docs_v86/constructors/messages_foundStickerSetsNotModified.md delete mode 100644 old_docs/API_docs_v86/constructors/messages_highScores.md delete mode 100644 old_docs/API_docs_v86/constructors/messages_messageEditData.md delete mode 100644 old_docs/API_docs_v86/constructors/messages_messages.md delete mode 100644 old_docs/API_docs_v86/constructors/messages_messagesNotModified.md delete mode 100644 old_docs/API_docs_v86/constructors/messages_messagesSlice.md delete mode 100644 old_docs/API_docs_v86/constructors/messages_peerDialogs.md delete mode 100644 old_docs/API_docs_v86/constructors/messages_recentStickers.md delete mode 100644 old_docs/API_docs_v86/constructors/messages_recentStickersNotModified.md delete mode 100644 old_docs/API_docs_v86/constructors/messages_savedGifs.md delete mode 100644 old_docs/API_docs_v86/constructors/messages_savedGifsNotModified.md delete mode 100644 old_docs/API_docs_v86/constructors/messages_sentEncryptedFile.md delete mode 100644 old_docs/API_docs_v86/constructors/messages_sentEncryptedMessage.md delete mode 100644 old_docs/API_docs_v86/constructors/messages_stickerSet.md delete mode 100644 old_docs/API_docs_v86/constructors/messages_stickerSetInstallResultArchive.md delete mode 100644 old_docs/API_docs_v86/constructors/messages_stickerSetInstallResultSuccess.md delete mode 100644 old_docs/API_docs_v86/constructors/messages_stickers.md delete mode 100644 old_docs/API_docs_v86/constructors/messages_stickersNotModified.md create mode 100644 old_docs/API_docs_v86/constructors/payments.paymentForm.md create mode 100644 old_docs/API_docs_v86/constructors/payments.paymentReceipt.md create mode 100644 old_docs/API_docs_v86/constructors/payments.paymentResult.md create mode 100644 old_docs/API_docs_v86/constructors/payments.paymentVerficationNeeded.md create mode 100644 old_docs/API_docs_v86/constructors/payments.savedInfo.md create mode 100644 old_docs/API_docs_v86/constructors/payments.validatedRequestedInfo.md delete mode 100644 old_docs/API_docs_v86/constructors/payments_paymentForm.md delete mode 100644 old_docs/API_docs_v86/constructors/payments_paymentReceipt.md delete mode 100644 old_docs/API_docs_v86/constructors/payments_paymentResult.md delete mode 100644 old_docs/API_docs_v86/constructors/payments_paymentVerficationNeeded.md delete mode 100644 old_docs/API_docs_v86/constructors/payments_savedInfo.md delete mode 100644 old_docs/API_docs_v86/constructors/payments_validatedRequestedInfo.md create mode 100644 old_docs/API_docs_v86/constructors/phone.phoneCall.md delete mode 100644 old_docs/API_docs_v86/constructors/phone_phoneCall.md create mode 100644 old_docs/API_docs_v86/constructors/photos.photo.md create mode 100644 old_docs/API_docs_v86/constructors/photos.photos.md create mode 100644 old_docs/API_docs_v86/constructors/photos.photosSlice.md delete mode 100644 old_docs/API_docs_v86/constructors/photos_photo.md delete mode 100644 old_docs/API_docs_v86/constructors/photos_photos.md delete mode 100644 old_docs/API_docs_v86/constructors/photos_photosSlice.md create mode 100644 old_docs/API_docs_v86/constructors/storage.fileGif.md create mode 100644 old_docs/API_docs_v86/constructors/storage.fileJpeg.md create mode 100644 old_docs/API_docs_v86/constructors/storage.fileMov.md create mode 100644 old_docs/API_docs_v86/constructors/storage.fileMp3.md create mode 100644 old_docs/API_docs_v86/constructors/storage.fileMp4.md create mode 100644 old_docs/API_docs_v86/constructors/storage.filePartial.md create mode 100644 old_docs/API_docs_v86/constructors/storage.filePdf.md create mode 100644 old_docs/API_docs_v86/constructors/storage.filePng.md create mode 100644 old_docs/API_docs_v86/constructors/storage.fileUnknown.md create mode 100644 old_docs/API_docs_v86/constructors/storage.fileWebp.md delete mode 100644 old_docs/API_docs_v86/constructors/storage_fileGif.md delete mode 100644 old_docs/API_docs_v86/constructors/storage_fileJpeg.md delete mode 100644 old_docs/API_docs_v86/constructors/storage_fileMov.md delete mode 100644 old_docs/API_docs_v86/constructors/storage_fileMp3.md delete mode 100644 old_docs/API_docs_v86/constructors/storage_fileMp4.md delete mode 100644 old_docs/API_docs_v86/constructors/storage_filePartial.md delete mode 100644 old_docs/API_docs_v86/constructors/storage_filePdf.md delete mode 100644 old_docs/API_docs_v86/constructors/storage_filePng.md delete mode 100644 old_docs/API_docs_v86/constructors/storage_fileUnknown.md delete mode 100644 old_docs/API_docs_v86/constructors/storage_fileWebp.md create mode 100644 old_docs/API_docs_v86/constructors/updates.channelDifference.md create mode 100644 old_docs/API_docs_v86/constructors/updates.channelDifferenceEmpty.md create mode 100644 old_docs/API_docs_v86/constructors/updates.channelDifferenceTooLong.md create mode 100644 old_docs/API_docs_v86/constructors/updates.difference.md create mode 100644 old_docs/API_docs_v86/constructors/updates.differenceEmpty.md create mode 100644 old_docs/API_docs_v86/constructors/updates.differenceSlice.md create mode 100644 old_docs/API_docs_v86/constructors/updates.differenceTooLong.md create mode 100644 old_docs/API_docs_v86/constructors/updates.state.md delete mode 100644 old_docs/API_docs_v86/constructors/updates_channelDifference.md delete mode 100644 old_docs/API_docs_v86/constructors/updates_channelDifferenceEmpty.md delete mode 100644 old_docs/API_docs_v86/constructors/updates_channelDifferenceTooLong.md delete mode 100644 old_docs/API_docs_v86/constructors/updates_difference.md delete mode 100644 old_docs/API_docs_v86/constructors/updates_differenceEmpty.md delete mode 100644 old_docs/API_docs_v86/constructors/updates_differenceSlice.md delete mode 100644 old_docs/API_docs_v86/constructors/updates_differenceTooLong.md delete mode 100644 old_docs/API_docs_v86/constructors/updates_state.md create mode 100644 old_docs/API_docs_v86/constructors/upload.cdnFile.md create mode 100644 old_docs/API_docs_v86/constructors/upload.cdnFileReuploadNeeded.md create mode 100644 old_docs/API_docs_v86/constructors/upload.file.md create mode 100644 old_docs/API_docs_v86/constructors/upload.fileCdnRedirect.md create mode 100644 old_docs/API_docs_v86/constructors/upload.webFile.md delete mode 100644 old_docs/API_docs_v86/constructors/upload_cdnFile.md delete mode 100644 old_docs/API_docs_v86/constructors/upload_cdnFileReuploadNeeded.md delete mode 100644 old_docs/API_docs_v86/constructors/upload_file.md delete mode 100644 old_docs/API_docs_v86/constructors/upload_fileCdnRedirect.md delete mode 100644 old_docs/API_docs_v86/constructors/upload_webFile.md create mode 100644 old_docs/API_docs_v86/types/account.AuthorizationForm.md create mode 100644 old_docs/API_docs_v86/types/account.Authorizations.md create mode 100644 old_docs/API_docs_v86/types/account.Password.md create mode 100644 old_docs/API_docs_v86/types/account.PasswordInputSettings.md create mode 100644 old_docs/API_docs_v86/types/account.PasswordSettings.md create mode 100644 old_docs/API_docs_v86/types/account.PrivacyRules.md create mode 100644 old_docs/API_docs_v86/types/account.SentEmailCode.md create mode 100644 old_docs/API_docs_v86/types/account.Takeout.md create mode 100644 old_docs/API_docs_v86/types/account.TmpPassword.md create mode 100644 old_docs/API_docs_v86/types/account.WebAuthorizations.md delete mode 100644 old_docs/API_docs_v86/types/account_AuthorizationForm.md delete mode 100644 old_docs/API_docs_v86/types/account_Authorizations.md delete mode 100644 old_docs/API_docs_v86/types/account_Password.md delete mode 100644 old_docs/API_docs_v86/types/account_PasswordInputSettings.md delete mode 100644 old_docs/API_docs_v86/types/account_PasswordSettings.md delete mode 100644 old_docs/API_docs_v86/types/account_PrivacyRules.md delete mode 100644 old_docs/API_docs_v86/types/account_SentEmailCode.md delete mode 100644 old_docs/API_docs_v86/types/account_Takeout.md delete mode 100644 old_docs/API_docs_v86/types/account_TmpPassword.md delete mode 100644 old_docs/API_docs_v86/types/account_WebAuthorizations.md create mode 100644 old_docs/API_docs_v86/types/auth.Authorization.md create mode 100644 old_docs/API_docs_v86/types/auth.CheckedPhone.md create mode 100644 old_docs/API_docs_v86/types/auth.CodeType.md create mode 100644 old_docs/API_docs_v86/types/auth.ExportedAuthorization.md create mode 100644 old_docs/API_docs_v86/types/auth.PasswordRecovery.md create mode 100644 old_docs/API_docs_v86/types/auth.SentCode.md create mode 100644 old_docs/API_docs_v86/types/auth.SentCodeType.md delete mode 100644 old_docs/API_docs_v86/types/auth_Authorization.md delete mode 100644 old_docs/API_docs_v86/types/auth_CheckedPhone.md delete mode 100644 old_docs/API_docs_v86/types/auth_CodeType.md delete mode 100644 old_docs/API_docs_v86/types/auth_ExportedAuthorization.md delete mode 100644 old_docs/API_docs_v86/types/auth_PasswordRecovery.md delete mode 100644 old_docs/API_docs_v86/types/auth_SentCode.md delete mode 100644 old_docs/API_docs_v86/types/auth_SentCodeType.md create mode 100644 old_docs/API_docs_v86/types/channels.AdminLogResults.md create mode 100644 old_docs/API_docs_v86/types/channels.ChannelParticipant.md create mode 100644 old_docs/API_docs_v86/types/channels.ChannelParticipants.md delete mode 100644 old_docs/API_docs_v86/types/channels_AdminLogResults.md delete mode 100644 old_docs/API_docs_v86/types/channels_ChannelParticipant.md delete mode 100644 old_docs/API_docs_v86/types/channels_ChannelParticipants.md create mode 100644 old_docs/API_docs_v86/types/contacts.Blocked.md create mode 100644 old_docs/API_docs_v86/types/contacts.Contacts.md create mode 100644 old_docs/API_docs_v86/types/contacts.Found.md create mode 100644 old_docs/API_docs_v86/types/contacts.ImportedContacts.md create mode 100644 old_docs/API_docs_v86/types/contacts.Link.md create mode 100644 old_docs/API_docs_v86/types/contacts.ResolvedPeer.md create mode 100644 old_docs/API_docs_v86/types/contacts.TopPeers.md delete mode 100644 old_docs/API_docs_v86/types/contacts_Blocked.md delete mode 100644 old_docs/API_docs_v86/types/contacts_Contacts.md delete mode 100644 old_docs/API_docs_v86/types/contacts_Found.md delete mode 100644 old_docs/API_docs_v86/types/contacts_ImportedContacts.md delete mode 100644 old_docs/API_docs_v86/types/contacts_Link.md delete mode 100644 old_docs/API_docs_v86/types/contacts_ResolvedPeer.md delete mode 100644 old_docs/API_docs_v86/types/contacts_TopPeers.md create mode 100644 old_docs/API_docs_v86/types/help.AppUpdate.md create mode 100644 old_docs/API_docs_v86/types/help.ConfigSimple.md create mode 100644 old_docs/API_docs_v86/types/help.DeepLinkInfo.md create mode 100644 old_docs/API_docs_v86/types/help.InviteText.md create mode 100644 old_docs/API_docs_v86/types/help.PassportConfig.md create mode 100644 old_docs/API_docs_v86/types/help.ProxyData.md create mode 100644 old_docs/API_docs_v86/types/help.RecentMeUrls.md create mode 100644 old_docs/API_docs_v86/types/help.Support.md create mode 100644 old_docs/API_docs_v86/types/help.TermsOfService.md create mode 100644 old_docs/API_docs_v86/types/help.TermsOfServiceUpdate.md delete mode 100644 old_docs/API_docs_v86/types/help_AppUpdate.md delete mode 100644 old_docs/API_docs_v86/types/help_ConfigSimple.md delete mode 100644 old_docs/API_docs_v86/types/help_DeepLinkInfo.md delete mode 100644 old_docs/API_docs_v86/types/help_InviteText.md delete mode 100644 old_docs/API_docs_v86/types/help_PassportConfig.md delete mode 100644 old_docs/API_docs_v86/types/help_ProxyData.md delete mode 100644 old_docs/API_docs_v86/types/help_RecentMeUrls.md delete mode 100644 old_docs/API_docs_v86/types/help_Support.md delete mode 100644 old_docs/API_docs_v86/types/help_TermsOfService.md delete mode 100644 old_docs/API_docs_v86/types/help_TermsOfServiceUpdate.md create mode 100644 old_docs/API_docs_v86/types/messages.AffectedHistory.md create mode 100644 old_docs/API_docs_v86/types/messages.AffectedMessages.md create mode 100644 old_docs/API_docs_v86/types/messages.AllStickers.md create mode 100644 old_docs/API_docs_v86/types/messages.ArchivedStickers.md create mode 100644 old_docs/API_docs_v86/types/messages.BotCallbackAnswer.md create mode 100644 old_docs/API_docs_v86/types/messages.BotResults.md create mode 100644 old_docs/API_docs_v86/types/messages.ChatFull.md create mode 100644 old_docs/API_docs_v86/types/messages.Chats.md create mode 100644 old_docs/API_docs_v86/types/messages.DhConfig.md create mode 100644 old_docs/API_docs_v86/types/messages.Dialogs.md create mode 100644 old_docs/API_docs_v86/types/messages.FavedStickers.md create mode 100644 old_docs/API_docs_v86/types/messages.FeaturedStickers.md create mode 100644 old_docs/API_docs_v86/types/messages.FoundGifs.md create mode 100644 old_docs/API_docs_v86/types/messages.FoundStickerSets.md create mode 100644 old_docs/API_docs_v86/types/messages.HighScores.md create mode 100644 old_docs/API_docs_v86/types/messages.MessageEditData.md create mode 100644 old_docs/API_docs_v86/types/messages.Messages.md create mode 100644 old_docs/API_docs_v86/types/messages.PeerDialogs.md create mode 100644 old_docs/API_docs_v86/types/messages.RecentStickers.md create mode 100644 old_docs/API_docs_v86/types/messages.SavedGifs.md create mode 100644 old_docs/API_docs_v86/types/messages.SentEncryptedMessage.md create mode 100644 old_docs/API_docs_v86/types/messages.StickerSet.md create mode 100644 old_docs/API_docs_v86/types/messages.StickerSetInstallResult.md create mode 100644 old_docs/API_docs_v86/types/messages.Stickers.md delete mode 100644 old_docs/API_docs_v86/types/messages_AffectedHistory.md delete mode 100644 old_docs/API_docs_v86/types/messages_AffectedMessages.md delete mode 100644 old_docs/API_docs_v86/types/messages_AllStickers.md delete mode 100644 old_docs/API_docs_v86/types/messages_ArchivedStickers.md delete mode 100644 old_docs/API_docs_v86/types/messages_BotCallbackAnswer.md delete mode 100644 old_docs/API_docs_v86/types/messages_BotResults.md delete mode 100644 old_docs/API_docs_v86/types/messages_ChatFull.md delete mode 100644 old_docs/API_docs_v86/types/messages_Chats.md delete mode 100644 old_docs/API_docs_v86/types/messages_DhConfig.md delete mode 100644 old_docs/API_docs_v86/types/messages_Dialogs.md delete mode 100644 old_docs/API_docs_v86/types/messages_FavedStickers.md delete mode 100644 old_docs/API_docs_v86/types/messages_FeaturedStickers.md delete mode 100644 old_docs/API_docs_v86/types/messages_FoundGifs.md delete mode 100644 old_docs/API_docs_v86/types/messages_FoundStickerSets.md delete mode 100644 old_docs/API_docs_v86/types/messages_HighScores.md delete mode 100644 old_docs/API_docs_v86/types/messages_MessageEditData.md delete mode 100644 old_docs/API_docs_v86/types/messages_Messages.md delete mode 100644 old_docs/API_docs_v86/types/messages_PeerDialogs.md delete mode 100644 old_docs/API_docs_v86/types/messages_RecentStickers.md delete mode 100644 old_docs/API_docs_v86/types/messages_SavedGifs.md delete mode 100644 old_docs/API_docs_v86/types/messages_SentEncryptedMessage.md delete mode 100644 old_docs/API_docs_v86/types/messages_StickerSet.md delete mode 100644 old_docs/API_docs_v86/types/messages_StickerSetInstallResult.md delete mode 100644 old_docs/API_docs_v86/types/messages_Stickers.md create mode 100644 old_docs/API_docs_v86/types/payments.PaymentForm.md create mode 100644 old_docs/API_docs_v86/types/payments.PaymentReceipt.md create mode 100644 old_docs/API_docs_v86/types/payments.PaymentResult.md create mode 100644 old_docs/API_docs_v86/types/payments.SavedInfo.md create mode 100644 old_docs/API_docs_v86/types/payments.ValidatedRequestedInfo.md delete mode 100644 old_docs/API_docs_v86/types/payments_PaymentForm.md delete mode 100644 old_docs/API_docs_v86/types/payments_PaymentReceipt.md delete mode 100644 old_docs/API_docs_v86/types/payments_PaymentResult.md delete mode 100644 old_docs/API_docs_v86/types/payments_SavedInfo.md delete mode 100644 old_docs/API_docs_v86/types/payments_ValidatedRequestedInfo.md create mode 100644 old_docs/API_docs_v86/types/phone.PhoneCall.md delete mode 100644 old_docs/API_docs_v86/types/phone_PhoneCall.md create mode 100644 old_docs/API_docs_v86/types/photos.Photo.md create mode 100644 old_docs/API_docs_v86/types/photos.Photos.md delete mode 100644 old_docs/API_docs_v86/types/photos_Photo.md delete mode 100644 old_docs/API_docs_v86/types/photos_Photos.md create mode 100644 old_docs/API_docs_v86/types/storage.FileType.md delete mode 100644 old_docs/API_docs_v86/types/storage_FileType.md create mode 100644 old_docs/API_docs_v86/types/updates.ChannelDifference.md create mode 100644 old_docs/API_docs_v86/types/updates.Difference.md create mode 100644 old_docs/API_docs_v86/types/updates.State.md delete mode 100644 old_docs/API_docs_v86/types/updates_ChannelDifference.md delete mode 100644 old_docs/API_docs_v86/types/updates_Difference.md delete mode 100644 old_docs/API_docs_v86/types/updates_State.md create mode 100644 old_docs/API_docs_v86/types/upload.CdnFile.md create mode 100644 old_docs/API_docs_v86/types/upload.File.md create mode 100644 old_docs/API_docs_v86/types/upload.WebFile.md delete mode 100644 old_docs/API_docs_v86/types/upload_CdnFile.md delete mode 100644 old_docs/API_docs_v86/types/upload_File.md delete mode 100644 old_docs/API_docs_v86/types/upload_WebFile.md create mode 100644 old_docs/API_docs_v89/constructors/account.authorizationForm.md create mode 100644 old_docs/API_docs_v89/constructors/account.authorizations.md create mode 100644 old_docs/API_docs_v89/constructors/account.password.md create mode 100644 old_docs/API_docs_v89/constructors/account.passwordInputSettings.md create mode 100644 old_docs/API_docs_v89/constructors/account.passwordSettings.md create mode 100644 old_docs/API_docs_v89/constructors/account.privacyRules.md create mode 100644 old_docs/API_docs_v89/constructors/account.sentEmailCode.md create mode 100644 old_docs/API_docs_v89/constructors/account.takeout.md create mode 100644 old_docs/API_docs_v89/constructors/account.tmpPassword.md create mode 100644 old_docs/API_docs_v89/constructors/account.webAuthorizations.md delete mode 100644 old_docs/API_docs_v89/constructors/account_authorizationForm.md delete mode 100644 old_docs/API_docs_v89/constructors/account_authorizations.md delete mode 100644 old_docs/API_docs_v89/constructors/account_password.md delete mode 100644 old_docs/API_docs_v89/constructors/account_passwordInputSettings.md delete mode 100644 old_docs/API_docs_v89/constructors/account_passwordSettings.md delete mode 100644 old_docs/API_docs_v89/constructors/account_privacyRules.md delete mode 100644 old_docs/API_docs_v89/constructors/account_sentEmailCode.md delete mode 100644 old_docs/API_docs_v89/constructors/account_takeout.md delete mode 100644 old_docs/API_docs_v89/constructors/account_tmpPassword.md delete mode 100644 old_docs/API_docs_v89/constructors/account_webAuthorizations.md create mode 100644 old_docs/API_docs_v89/constructors/auth.authorization.md create mode 100644 old_docs/API_docs_v89/constructors/auth.checkedPhone.md create mode 100644 old_docs/API_docs_v89/constructors/auth.codeTypeCall.md create mode 100644 old_docs/API_docs_v89/constructors/auth.codeTypeFlashCall.md create mode 100644 old_docs/API_docs_v89/constructors/auth.codeTypeSms.md create mode 100644 old_docs/API_docs_v89/constructors/auth.exportedAuthorization.md create mode 100644 old_docs/API_docs_v89/constructors/auth.passwordRecovery.md create mode 100644 old_docs/API_docs_v89/constructors/auth.sentCode.md create mode 100644 old_docs/API_docs_v89/constructors/auth.sentCodeTypeApp.md create mode 100644 old_docs/API_docs_v89/constructors/auth.sentCodeTypeCall.md create mode 100644 old_docs/API_docs_v89/constructors/auth.sentCodeTypeFlashCall.md create mode 100644 old_docs/API_docs_v89/constructors/auth.sentCodeTypeSms.md delete mode 100644 old_docs/API_docs_v89/constructors/auth_authorization.md delete mode 100644 old_docs/API_docs_v89/constructors/auth_checkedPhone.md delete mode 100644 old_docs/API_docs_v89/constructors/auth_codeTypeCall.md delete mode 100644 old_docs/API_docs_v89/constructors/auth_codeTypeFlashCall.md delete mode 100644 old_docs/API_docs_v89/constructors/auth_codeTypeSms.md delete mode 100644 old_docs/API_docs_v89/constructors/auth_exportedAuthorization.md delete mode 100644 old_docs/API_docs_v89/constructors/auth_passwordRecovery.md delete mode 100644 old_docs/API_docs_v89/constructors/auth_sentCode.md delete mode 100644 old_docs/API_docs_v89/constructors/auth_sentCodeTypeApp.md delete mode 100644 old_docs/API_docs_v89/constructors/auth_sentCodeTypeCall.md delete mode 100644 old_docs/API_docs_v89/constructors/auth_sentCodeTypeFlashCall.md delete mode 100644 old_docs/API_docs_v89/constructors/auth_sentCodeTypeSms.md create mode 100644 old_docs/API_docs_v89/constructors/channels.adminLogResults.md create mode 100644 old_docs/API_docs_v89/constructors/channels.channelParticipant.md create mode 100644 old_docs/API_docs_v89/constructors/channels.channelParticipants.md create mode 100644 old_docs/API_docs_v89/constructors/channels.channelParticipantsNotModified.md delete mode 100644 old_docs/API_docs_v89/constructors/channels_adminLogResults.md delete mode 100644 old_docs/API_docs_v89/constructors/channels_channelParticipant.md delete mode 100644 old_docs/API_docs_v89/constructors/channels_channelParticipants.md delete mode 100644 old_docs/API_docs_v89/constructors/channels_channelParticipantsNotModified.md create mode 100644 old_docs/API_docs_v89/constructors/contacts.blocked.md create mode 100644 old_docs/API_docs_v89/constructors/contacts.blockedSlice.md create mode 100644 old_docs/API_docs_v89/constructors/contacts.contacts.md create mode 100644 old_docs/API_docs_v89/constructors/contacts.contactsNotModified.md create mode 100644 old_docs/API_docs_v89/constructors/contacts.found.md create mode 100644 old_docs/API_docs_v89/constructors/contacts.importedContacts.md create mode 100644 old_docs/API_docs_v89/constructors/contacts.link.md create mode 100644 old_docs/API_docs_v89/constructors/contacts.resolvedPeer.md create mode 100644 old_docs/API_docs_v89/constructors/contacts.topPeers.md create mode 100644 old_docs/API_docs_v89/constructors/contacts.topPeersDisabled.md create mode 100644 old_docs/API_docs_v89/constructors/contacts.topPeersNotModified.md delete mode 100644 old_docs/API_docs_v89/constructors/contacts_blocked.md delete mode 100644 old_docs/API_docs_v89/constructors/contacts_blockedSlice.md delete mode 100644 old_docs/API_docs_v89/constructors/contacts_contacts.md delete mode 100644 old_docs/API_docs_v89/constructors/contacts_contactsNotModified.md delete mode 100644 old_docs/API_docs_v89/constructors/contacts_found.md delete mode 100644 old_docs/API_docs_v89/constructors/contacts_importedContacts.md delete mode 100644 old_docs/API_docs_v89/constructors/contacts_link.md delete mode 100644 old_docs/API_docs_v89/constructors/contacts_resolvedPeer.md delete mode 100644 old_docs/API_docs_v89/constructors/contacts_topPeers.md delete mode 100644 old_docs/API_docs_v89/constructors/contacts_topPeersDisabled.md delete mode 100644 old_docs/API_docs_v89/constructors/contacts_topPeersNotModified.md create mode 100644 old_docs/API_docs_v89/constructors/help.appUpdate.md create mode 100644 old_docs/API_docs_v89/constructors/help.configSimple.md create mode 100644 old_docs/API_docs_v89/constructors/help.deepLinkInfo.md create mode 100644 old_docs/API_docs_v89/constructors/help.deepLinkInfoEmpty.md create mode 100644 old_docs/API_docs_v89/constructors/help.inviteText.md create mode 100644 old_docs/API_docs_v89/constructors/help.noAppUpdate.md create mode 100644 old_docs/API_docs_v89/constructors/help.passportConfig.md create mode 100644 old_docs/API_docs_v89/constructors/help.passportConfigNotModified.md create mode 100644 old_docs/API_docs_v89/constructors/help.proxyDataEmpty.md create mode 100644 old_docs/API_docs_v89/constructors/help.proxyDataPromo.md create mode 100644 old_docs/API_docs_v89/constructors/help.recentMeUrls.md create mode 100644 old_docs/API_docs_v89/constructors/help.support.md create mode 100644 old_docs/API_docs_v89/constructors/help.supportName.md create mode 100644 old_docs/API_docs_v89/constructors/help.termsOfService.md create mode 100644 old_docs/API_docs_v89/constructors/help.termsOfServiceUpdate.md create mode 100644 old_docs/API_docs_v89/constructors/help.termsOfServiceUpdateEmpty.md create mode 100644 old_docs/API_docs_v89/constructors/help.userInfo.md create mode 100644 old_docs/API_docs_v89/constructors/help.userInfoEmpty.md delete mode 100644 old_docs/API_docs_v89/constructors/help_appUpdate.md delete mode 100644 old_docs/API_docs_v89/constructors/help_configSimple.md delete mode 100644 old_docs/API_docs_v89/constructors/help_deepLinkInfo.md delete mode 100644 old_docs/API_docs_v89/constructors/help_deepLinkInfoEmpty.md delete mode 100644 old_docs/API_docs_v89/constructors/help_inviteText.md delete mode 100644 old_docs/API_docs_v89/constructors/help_noAppUpdate.md delete mode 100644 old_docs/API_docs_v89/constructors/help_passportConfig.md delete mode 100644 old_docs/API_docs_v89/constructors/help_passportConfigNotModified.md delete mode 100644 old_docs/API_docs_v89/constructors/help_proxyDataEmpty.md delete mode 100644 old_docs/API_docs_v89/constructors/help_proxyDataPromo.md delete mode 100644 old_docs/API_docs_v89/constructors/help_recentMeUrls.md delete mode 100644 old_docs/API_docs_v89/constructors/help_support.md delete mode 100644 old_docs/API_docs_v89/constructors/help_supportName.md delete mode 100644 old_docs/API_docs_v89/constructors/help_termsOfService.md delete mode 100644 old_docs/API_docs_v89/constructors/help_termsOfServiceUpdate.md delete mode 100644 old_docs/API_docs_v89/constructors/help_termsOfServiceUpdateEmpty.md delete mode 100644 old_docs/API_docs_v89/constructors/help_userInfo.md delete mode 100644 old_docs/API_docs_v89/constructors/help_userInfoEmpty.md create mode 100644 old_docs/API_docs_v89/constructors/messages.affectedHistory.md create mode 100644 old_docs/API_docs_v89/constructors/messages.affectedMessages.md create mode 100644 old_docs/API_docs_v89/constructors/messages.allStickers.md create mode 100644 old_docs/API_docs_v89/constructors/messages.allStickersNotModified.md create mode 100644 old_docs/API_docs_v89/constructors/messages.archivedStickers.md create mode 100644 old_docs/API_docs_v89/constructors/messages.botCallbackAnswer.md create mode 100644 old_docs/API_docs_v89/constructors/messages.botResults.md create mode 100644 old_docs/API_docs_v89/constructors/messages.channelMessages.md create mode 100644 old_docs/API_docs_v89/constructors/messages.chatFull.md create mode 100644 old_docs/API_docs_v89/constructors/messages.chats.md create mode 100644 old_docs/API_docs_v89/constructors/messages.chatsSlice.md create mode 100644 old_docs/API_docs_v89/constructors/messages.dhConfig.md create mode 100644 old_docs/API_docs_v89/constructors/messages.dhConfigNotModified.md create mode 100644 old_docs/API_docs_v89/constructors/messages.dialogs.md create mode 100644 old_docs/API_docs_v89/constructors/messages.dialogsNotModified.md create mode 100644 old_docs/API_docs_v89/constructors/messages.dialogsSlice.md create mode 100644 old_docs/API_docs_v89/constructors/messages.favedStickers.md create mode 100644 old_docs/API_docs_v89/constructors/messages.favedStickersNotModified.md create mode 100644 old_docs/API_docs_v89/constructors/messages.featuredStickers.md create mode 100644 old_docs/API_docs_v89/constructors/messages.featuredStickersNotModified.md create mode 100644 old_docs/API_docs_v89/constructors/messages.foundGifs.md create mode 100644 old_docs/API_docs_v89/constructors/messages.foundStickerSets.md create mode 100644 old_docs/API_docs_v89/constructors/messages.foundStickerSetsNotModified.md create mode 100644 old_docs/API_docs_v89/constructors/messages.highScores.md create mode 100644 old_docs/API_docs_v89/constructors/messages.messageEditData.md create mode 100644 old_docs/API_docs_v89/constructors/messages.messages.md create mode 100644 old_docs/API_docs_v89/constructors/messages.messagesNotModified.md create mode 100644 old_docs/API_docs_v89/constructors/messages.messagesSlice.md create mode 100644 old_docs/API_docs_v89/constructors/messages.peerDialogs.md create mode 100644 old_docs/API_docs_v89/constructors/messages.recentStickers.md create mode 100644 old_docs/API_docs_v89/constructors/messages.recentStickersNotModified.md create mode 100644 old_docs/API_docs_v89/constructors/messages.savedGifs.md create mode 100644 old_docs/API_docs_v89/constructors/messages.savedGifsNotModified.md create mode 100644 old_docs/API_docs_v89/constructors/messages.sentEncryptedFile.md create mode 100644 old_docs/API_docs_v89/constructors/messages.sentEncryptedMessage.md create mode 100644 old_docs/API_docs_v89/constructors/messages.stickerSet.md create mode 100644 old_docs/API_docs_v89/constructors/messages.stickerSetInstallResultArchive.md create mode 100644 old_docs/API_docs_v89/constructors/messages.stickerSetInstallResultSuccess.md create mode 100644 old_docs/API_docs_v89/constructors/messages.stickers.md create mode 100644 old_docs/API_docs_v89/constructors/messages.stickersNotModified.md delete mode 100644 old_docs/API_docs_v89/constructors/messages_affectedHistory.md delete mode 100644 old_docs/API_docs_v89/constructors/messages_affectedMessages.md delete mode 100644 old_docs/API_docs_v89/constructors/messages_allStickers.md delete mode 100644 old_docs/API_docs_v89/constructors/messages_allStickersNotModified.md delete mode 100644 old_docs/API_docs_v89/constructors/messages_archivedStickers.md delete mode 100644 old_docs/API_docs_v89/constructors/messages_botCallbackAnswer.md delete mode 100644 old_docs/API_docs_v89/constructors/messages_botResults.md delete mode 100644 old_docs/API_docs_v89/constructors/messages_channelMessages.md delete mode 100644 old_docs/API_docs_v89/constructors/messages_chatFull.md delete mode 100644 old_docs/API_docs_v89/constructors/messages_chats.md delete mode 100644 old_docs/API_docs_v89/constructors/messages_chatsSlice.md delete mode 100644 old_docs/API_docs_v89/constructors/messages_dhConfig.md delete mode 100644 old_docs/API_docs_v89/constructors/messages_dhConfigNotModified.md delete mode 100644 old_docs/API_docs_v89/constructors/messages_dialogs.md delete mode 100644 old_docs/API_docs_v89/constructors/messages_dialogsNotModified.md delete mode 100644 old_docs/API_docs_v89/constructors/messages_dialogsSlice.md delete mode 100644 old_docs/API_docs_v89/constructors/messages_favedStickers.md delete mode 100644 old_docs/API_docs_v89/constructors/messages_favedStickersNotModified.md delete mode 100644 old_docs/API_docs_v89/constructors/messages_featuredStickers.md delete mode 100644 old_docs/API_docs_v89/constructors/messages_featuredStickersNotModified.md delete mode 100644 old_docs/API_docs_v89/constructors/messages_foundGifs.md delete mode 100644 old_docs/API_docs_v89/constructors/messages_foundStickerSets.md delete mode 100644 old_docs/API_docs_v89/constructors/messages_foundStickerSetsNotModified.md delete mode 100644 old_docs/API_docs_v89/constructors/messages_highScores.md delete mode 100644 old_docs/API_docs_v89/constructors/messages_messageEditData.md delete mode 100644 old_docs/API_docs_v89/constructors/messages_messages.md delete mode 100644 old_docs/API_docs_v89/constructors/messages_messagesNotModified.md delete mode 100644 old_docs/API_docs_v89/constructors/messages_messagesSlice.md delete mode 100644 old_docs/API_docs_v89/constructors/messages_peerDialogs.md delete mode 100644 old_docs/API_docs_v89/constructors/messages_recentStickers.md delete mode 100644 old_docs/API_docs_v89/constructors/messages_recentStickersNotModified.md delete mode 100644 old_docs/API_docs_v89/constructors/messages_savedGifs.md delete mode 100644 old_docs/API_docs_v89/constructors/messages_savedGifsNotModified.md delete mode 100644 old_docs/API_docs_v89/constructors/messages_sentEncryptedFile.md delete mode 100644 old_docs/API_docs_v89/constructors/messages_sentEncryptedMessage.md delete mode 100644 old_docs/API_docs_v89/constructors/messages_stickerSet.md delete mode 100644 old_docs/API_docs_v89/constructors/messages_stickerSetInstallResultArchive.md delete mode 100644 old_docs/API_docs_v89/constructors/messages_stickerSetInstallResultSuccess.md delete mode 100644 old_docs/API_docs_v89/constructors/messages_stickers.md delete mode 100644 old_docs/API_docs_v89/constructors/messages_stickersNotModified.md create mode 100644 old_docs/API_docs_v89/constructors/payments.paymentForm.md create mode 100644 old_docs/API_docs_v89/constructors/payments.paymentReceipt.md create mode 100644 old_docs/API_docs_v89/constructors/payments.paymentResult.md create mode 100644 old_docs/API_docs_v89/constructors/payments.paymentVerficationNeeded.md create mode 100644 old_docs/API_docs_v89/constructors/payments.savedInfo.md create mode 100644 old_docs/API_docs_v89/constructors/payments.validatedRequestedInfo.md delete mode 100644 old_docs/API_docs_v89/constructors/payments_paymentForm.md delete mode 100644 old_docs/API_docs_v89/constructors/payments_paymentReceipt.md delete mode 100644 old_docs/API_docs_v89/constructors/payments_paymentResult.md delete mode 100644 old_docs/API_docs_v89/constructors/payments_paymentVerficationNeeded.md delete mode 100644 old_docs/API_docs_v89/constructors/payments_savedInfo.md delete mode 100644 old_docs/API_docs_v89/constructors/payments_validatedRequestedInfo.md create mode 100644 old_docs/API_docs_v89/constructors/phone.phoneCall.md delete mode 100644 old_docs/API_docs_v89/constructors/phone_phoneCall.md create mode 100644 old_docs/API_docs_v89/constructors/photos.photo.md create mode 100644 old_docs/API_docs_v89/constructors/photos.photos.md create mode 100644 old_docs/API_docs_v89/constructors/photos.photosSlice.md delete mode 100644 old_docs/API_docs_v89/constructors/photos_photo.md delete mode 100644 old_docs/API_docs_v89/constructors/photos_photos.md delete mode 100644 old_docs/API_docs_v89/constructors/photos_photosSlice.md create mode 100644 old_docs/API_docs_v89/constructors/storage.fileGif.md create mode 100644 old_docs/API_docs_v89/constructors/storage.fileJpeg.md create mode 100644 old_docs/API_docs_v89/constructors/storage.fileMov.md create mode 100644 old_docs/API_docs_v89/constructors/storage.fileMp3.md create mode 100644 old_docs/API_docs_v89/constructors/storage.fileMp4.md create mode 100644 old_docs/API_docs_v89/constructors/storage.filePartial.md create mode 100644 old_docs/API_docs_v89/constructors/storage.filePdf.md create mode 100644 old_docs/API_docs_v89/constructors/storage.filePng.md create mode 100644 old_docs/API_docs_v89/constructors/storage.fileUnknown.md create mode 100644 old_docs/API_docs_v89/constructors/storage.fileWebp.md delete mode 100644 old_docs/API_docs_v89/constructors/storage_fileGif.md delete mode 100644 old_docs/API_docs_v89/constructors/storage_fileJpeg.md delete mode 100644 old_docs/API_docs_v89/constructors/storage_fileMov.md delete mode 100644 old_docs/API_docs_v89/constructors/storage_fileMp3.md delete mode 100644 old_docs/API_docs_v89/constructors/storage_fileMp4.md delete mode 100644 old_docs/API_docs_v89/constructors/storage_filePartial.md delete mode 100644 old_docs/API_docs_v89/constructors/storage_filePdf.md delete mode 100644 old_docs/API_docs_v89/constructors/storage_filePng.md delete mode 100644 old_docs/API_docs_v89/constructors/storage_fileUnknown.md delete mode 100644 old_docs/API_docs_v89/constructors/storage_fileWebp.md create mode 100644 old_docs/API_docs_v89/constructors/updates.channelDifference.md create mode 100644 old_docs/API_docs_v89/constructors/updates.channelDifferenceEmpty.md create mode 100644 old_docs/API_docs_v89/constructors/updates.channelDifferenceTooLong.md create mode 100644 old_docs/API_docs_v89/constructors/updates.difference.md create mode 100644 old_docs/API_docs_v89/constructors/updates.differenceEmpty.md create mode 100644 old_docs/API_docs_v89/constructors/updates.differenceSlice.md create mode 100644 old_docs/API_docs_v89/constructors/updates.differenceTooLong.md create mode 100644 old_docs/API_docs_v89/constructors/updates.state.md delete mode 100644 old_docs/API_docs_v89/constructors/updates_channelDifference.md delete mode 100644 old_docs/API_docs_v89/constructors/updates_channelDifferenceEmpty.md delete mode 100644 old_docs/API_docs_v89/constructors/updates_channelDifferenceTooLong.md delete mode 100644 old_docs/API_docs_v89/constructors/updates_difference.md delete mode 100644 old_docs/API_docs_v89/constructors/updates_differenceEmpty.md delete mode 100644 old_docs/API_docs_v89/constructors/updates_differenceSlice.md delete mode 100644 old_docs/API_docs_v89/constructors/updates_differenceTooLong.md delete mode 100644 old_docs/API_docs_v89/constructors/updates_state.md create mode 100644 old_docs/API_docs_v89/constructors/upload.cdnFile.md create mode 100644 old_docs/API_docs_v89/constructors/upload.cdnFileReuploadNeeded.md create mode 100644 old_docs/API_docs_v89/constructors/upload.file.md create mode 100644 old_docs/API_docs_v89/constructors/upload.fileCdnRedirect.md create mode 100644 old_docs/API_docs_v89/constructors/upload.webFile.md delete mode 100644 old_docs/API_docs_v89/constructors/upload_cdnFile.md delete mode 100644 old_docs/API_docs_v89/constructors/upload_cdnFileReuploadNeeded.md delete mode 100644 old_docs/API_docs_v89/constructors/upload_file.md delete mode 100644 old_docs/API_docs_v89/constructors/upload_fileCdnRedirect.md delete mode 100644 old_docs/API_docs_v89/constructors/upload_webFile.md create mode 100644 old_docs/API_docs_v89/types/account.AuthorizationForm.md create mode 100644 old_docs/API_docs_v89/types/account.Authorizations.md create mode 100644 old_docs/API_docs_v89/types/account.Password.md create mode 100644 old_docs/API_docs_v89/types/account.PasswordInputSettings.md create mode 100644 old_docs/API_docs_v89/types/account.PasswordSettings.md create mode 100644 old_docs/API_docs_v89/types/account.PrivacyRules.md create mode 100644 old_docs/API_docs_v89/types/account.SentEmailCode.md create mode 100644 old_docs/API_docs_v89/types/account.Takeout.md create mode 100644 old_docs/API_docs_v89/types/account.TmpPassword.md create mode 100644 old_docs/API_docs_v89/types/account.WebAuthorizations.md delete mode 100644 old_docs/API_docs_v89/types/account_AuthorizationForm.md delete mode 100644 old_docs/API_docs_v89/types/account_Authorizations.md delete mode 100644 old_docs/API_docs_v89/types/account_Password.md delete mode 100644 old_docs/API_docs_v89/types/account_PasswordInputSettings.md delete mode 100644 old_docs/API_docs_v89/types/account_PasswordSettings.md delete mode 100644 old_docs/API_docs_v89/types/account_PrivacyRules.md delete mode 100644 old_docs/API_docs_v89/types/account_SentEmailCode.md delete mode 100644 old_docs/API_docs_v89/types/account_Takeout.md delete mode 100644 old_docs/API_docs_v89/types/account_TmpPassword.md delete mode 100644 old_docs/API_docs_v89/types/account_WebAuthorizations.md create mode 100644 old_docs/API_docs_v89/types/auth.Authorization.md create mode 100644 old_docs/API_docs_v89/types/auth.CheckedPhone.md create mode 100644 old_docs/API_docs_v89/types/auth.CodeType.md create mode 100644 old_docs/API_docs_v89/types/auth.ExportedAuthorization.md create mode 100644 old_docs/API_docs_v89/types/auth.PasswordRecovery.md create mode 100644 old_docs/API_docs_v89/types/auth.SentCode.md create mode 100644 old_docs/API_docs_v89/types/auth.SentCodeType.md delete mode 100644 old_docs/API_docs_v89/types/auth_Authorization.md delete mode 100644 old_docs/API_docs_v89/types/auth_CheckedPhone.md delete mode 100644 old_docs/API_docs_v89/types/auth_CodeType.md delete mode 100644 old_docs/API_docs_v89/types/auth_ExportedAuthorization.md delete mode 100644 old_docs/API_docs_v89/types/auth_PasswordRecovery.md delete mode 100644 old_docs/API_docs_v89/types/auth_SentCode.md delete mode 100644 old_docs/API_docs_v89/types/auth_SentCodeType.md create mode 100644 old_docs/API_docs_v89/types/channels.AdminLogResults.md create mode 100644 old_docs/API_docs_v89/types/channels.ChannelParticipant.md create mode 100644 old_docs/API_docs_v89/types/channels.ChannelParticipants.md delete mode 100644 old_docs/API_docs_v89/types/channels_AdminLogResults.md delete mode 100644 old_docs/API_docs_v89/types/channels_ChannelParticipant.md delete mode 100644 old_docs/API_docs_v89/types/channels_ChannelParticipants.md create mode 100644 old_docs/API_docs_v89/types/contacts.Blocked.md create mode 100644 old_docs/API_docs_v89/types/contacts.Contacts.md create mode 100644 old_docs/API_docs_v89/types/contacts.Found.md create mode 100644 old_docs/API_docs_v89/types/contacts.ImportedContacts.md create mode 100644 old_docs/API_docs_v89/types/contacts.Link.md create mode 100644 old_docs/API_docs_v89/types/contacts.ResolvedPeer.md create mode 100644 old_docs/API_docs_v89/types/contacts.TopPeers.md delete mode 100644 old_docs/API_docs_v89/types/contacts_Blocked.md delete mode 100644 old_docs/API_docs_v89/types/contacts_Contacts.md delete mode 100644 old_docs/API_docs_v89/types/contacts_Found.md delete mode 100644 old_docs/API_docs_v89/types/contacts_ImportedContacts.md delete mode 100644 old_docs/API_docs_v89/types/contacts_Link.md delete mode 100644 old_docs/API_docs_v89/types/contacts_ResolvedPeer.md delete mode 100644 old_docs/API_docs_v89/types/contacts_TopPeers.md create mode 100644 old_docs/API_docs_v89/types/help.AppUpdate.md create mode 100644 old_docs/API_docs_v89/types/help.ConfigSimple.md create mode 100644 old_docs/API_docs_v89/types/help.DeepLinkInfo.md create mode 100644 old_docs/API_docs_v89/types/help.InviteText.md create mode 100644 old_docs/API_docs_v89/types/help.PassportConfig.md create mode 100644 old_docs/API_docs_v89/types/help.ProxyData.md create mode 100644 old_docs/API_docs_v89/types/help.RecentMeUrls.md create mode 100644 old_docs/API_docs_v89/types/help.Support.md create mode 100644 old_docs/API_docs_v89/types/help.SupportName.md create mode 100644 old_docs/API_docs_v89/types/help.TermsOfService.md create mode 100644 old_docs/API_docs_v89/types/help.TermsOfServiceUpdate.md create mode 100644 old_docs/API_docs_v89/types/help.UserInfo.md delete mode 100644 old_docs/API_docs_v89/types/help_AppUpdate.md delete mode 100644 old_docs/API_docs_v89/types/help_ConfigSimple.md delete mode 100644 old_docs/API_docs_v89/types/help_DeepLinkInfo.md delete mode 100644 old_docs/API_docs_v89/types/help_InviteText.md delete mode 100644 old_docs/API_docs_v89/types/help_PassportConfig.md delete mode 100644 old_docs/API_docs_v89/types/help_ProxyData.md delete mode 100644 old_docs/API_docs_v89/types/help_RecentMeUrls.md delete mode 100644 old_docs/API_docs_v89/types/help_Support.md delete mode 100644 old_docs/API_docs_v89/types/help_SupportName.md delete mode 100644 old_docs/API_docs_v89/types/help_TermsOfService.md delete mode 100644 old_docs/API_docs_v89/types/help_TermsOfServiceUpdate.md delete mode 100644 old_docs/API_docs_v89/types/help_UserInfo.md create mode 100644 old_docs/API_docs_v89/types/messages.AffectedHistory.md create mode 100644 old_docs/API_docs_v89/types/messages.AffectedMessages.md create mode 100644 old_docs/API_docs_v89/types/messages.AllStickers.md create mode 100644 old_docs/API_docs_v89/types/messages.ArchivedStickers.md create mode 100644 old_docs/API_docs_v89/types/messages.BotCallbackAnswer.md create mode 100644 old_docs/API_docs_v89/types/messages.BotResults.md create mode 100644 old_docs/API_docs_v89/types/messages.ChatFull.md create mode 100644 old_docs/API_docs_v89/types/messages.Chats.md create mode 100644 old_docs/API_docs_v89/types/messages.DhConfig.md create mode 100644 old_docs/API_docs_v89/types/messages.Dialogs.md create mode 100644 old_docs/API_docs_v89/types/messages.FavedStickers.md create mode 100644 old_docs/API_docs_v89/types/messages.FeaturedStickers.md create mode 100644 old_docs/API_docs_v89/types/messages.FoundGifs.md create mode 100644 old_docs/API_docs_v89/types/messages.FoundStickerSets.md create mode 100644 old_docs/API_docs_v89/types/messages.HighScores.md create mode 100644 old_docs/API_docs_v89/types/messages.MessageEditData.md create mode 100644 old_docs/API_docs_v89/types/messages.Messages.md create mode 100644 old_docs/API_docs_v89/types/messages.PeerDialogs.md create mode 100644 old_docs/API_docs_v89/types/messages.RecentStickers.md create mode 100644 old_docs/API_docs_v89/types/messages.SavedGifs.md create mode 100644 old_docs/API_docs_v89/types/messages.SentEncryptedMessage.md create mode 100644 old_docs/API_docs_v89/types/messages.StickerSet.md create mode 100644 old_docs/API_docs_v89/types/messages.StickerSetInstallResult.md create mode 100644 old_docs/API_docs_v89/types/messages.Stickers.md delete mode 100644 old_docs/API_docs_v89/types/messages_AffectedHistory.md delete mode 100644 old_docs/API_docs_v89/types/messages_AffectedMessages.md delete mode 100644 old_docs/API_docs_v89/types/messages_AllStickers.md delete mode 100644 old_docs/API_docs_v89/types/messages_ArchivedStickers.md delete mode 100644 old_docs/API_docs_v89/types/messages_BotCallbackAnswer.md delete mode 100644 old_docs/API_docs_v89/types/messages_BotResults.md delete mode 100644 old_docs/API_docs_v89/types/messages_ChatFull.md delete mode 100644 old_docs/API_docs_v89/types/messages_Chats.md delete mode 100644 old_docs/API_docs_v89/types/messages_DhConfig.md delete mode 100644 old_docs/API_docs_v89/types/messages_Dialogs.md delete mode 100644 old_docs/API_docs_v89/types/messages_FavedStickers.md delete mode 100644 old_docs/API_docs_v89/types/messages_FeaturedStickers.md delete mode 100644 old_docs/API_docs_v89/types/messages_FoundGifs.md delete mode 100644 old_docs/API_docs_v89/types/messages_FoundStickerSets.md delete mode 100644 old_docs/API_docs_v89/types/messages_HighScores.md delete mode 100644 old_docs/API_docs_v89/types/messages_MessageEditData.md delete mode 100644 old_docs/API_docs_v89/types/messages_Messages.md delete mode 100644 old_docs/API_docs_v89/types/messages_PeerDialogs.md delete mode 100644 old_docs/API_docs_v89/types/messages_RecentStickers.md delete mode 100644 old_docs/API_docs_v89/types/messages_SavedGifs.md delete mode 100644 old_docs/API_docs_v89/types/messages_SentEncryptedMessage.md delete mode 100644 old_docs/API_docs_v89/types/messages_StickerSet.md delete mode 100644 old_docs/API_docs_v89/types/messages_StickerSetInstallResult.md delete mode 100644 old_docs/API_docs_v89/types/messages_Stickers.md create mode 100644 old_docs/API_docs_v89/types/payments.PaymentForm.md create mode 100644 old_docs/API_docs_v89/types/payments.PaymentReceipt.md create mode 100644 old_docs/API_docs_v89/types/payments.PaymentResult.md create mode 100644 old_docs/API_docs_v89/types/payments.SavedInfo.md create mode 100644 old_docs/API_docs_v89/types/payments.ValidatedRequestedInfo.md delete mode 100644 old_docs/API_docs_v89/types/payments_PaymentForm.md delete mode 100644 old_docs/API_docs_v89/types/payments_PaymentReceipt.md delete mode 100644 old_docs/API_docs_v89/types/payments_PaymentResult.md delete mode 100644 old_docs/API_docs_v89/types/payments_SavedInfo.md delete mode 100644 old_docs/API_docs_v89/types/payments_ValidatedRequestedInfo.md create mode 100644 old_docs/API_docs_v89/types/phone.PhoneCall.md delete mode 100644 old_docs/API_docs_v89/types/phone_PhoneCall.md create mode 100644 old_docs/API_docs_v89/types/photos.Photo.md create mode 100644 old_docs/API_docs_v89/types/photos.Photos.md delete mode 100644 old_docs/API_docs_v89/types/photos_Photo.md delete mode 100644 old_docs/API_docs_v89/types/photos_Photos.md create mode 100644 old_docs/API_docs_v89/types/storage.FileType.md delete mode 100644 old_docs/API_docs_v89/types/storage_FileType.md create mode 100644 old_docs/API_docs_v89/types/updates.ChannelDifference.md create mode 100644 old_docs/API_docs_v89/types/updates.Difference.md create mode 100644 old_docs/API_docs_v89/types/updates.State.md delete mode 100644 old_docs/API_docs_v89/types/updates_ChannelDifference.md delete mode 100644 old_docs/API_docs_v89/types/updates_Difference.md delete mode 100644 old_docs/API_docs_v89/types/updates_State.md create mode 100644 old_docs/API_docs_v89/types/upload.CdnFile.md create mode 100644 old_docs/API_docs_v89/types/upload.File.md create mode 100644 old_docs/API_docs_v89/types/upload.WebFile.md delete mode 100644 old_docs/API_docs_v89/types/upload_CdnFile.md delete mode 100644 old_docs/API_docs_v89/types/upload_File.md delete mode 100644 old_docs/API_docs_v89/types/upload_WebFile.md create mode 100644 old_docs/API_docs_v91/constructors/account.authorizationForm.md create mode 100644 old_docs/API_docs_v91/constructors/account.authorizations.md create mode 100644 old_docs/API_docs_v91/constructors/account.password.md create mode 100644 old_docs/API_docs_v91/constructors/account.passwordInputSettings.md create mode 100644 old_docs/API_docs_v91/constructors/account.passwordSettings.md create mode 100644 old_docs/API_docs_v91/constructors/account.privacyRules.md create mode 100644 old_docs/API_docs_v91/constructors/account.sentEmailCode.md create mode 100644 old_docs/API_docs_v91/constructors/account.takeout.md create mode 100644 old_docs/API_docs_v91/constructors/account.tmpPassword.md create mode 100644 old_docs/API_docs_v91/constructors/account.webAuthorizations.md delete mode 100644 old_docs/API_docs_v91/constructors/account_authorizationForm.md delete mode 100644 old_docs/API_docs_v91/constructors/account_authorizations.md delete mode 100644 old_docs/API_docs_v91/constructors/account_password.md delete mode 100644 old_docs/API_docs_v91/constructors/account_passwordInputSettings.md delete mode 100644 old_docs/API_docs_v91/constructors/account_passwordSettings.md delete mode 100644 old_docs/API_docs_v91/constructors/account_privacyRules.md delete mode 100644 old_docs/API_docs_v91/constructors/account_sentEmailCode.md delete mode 100644 old_docs/API_docs_v91/constructors/account_takeout.md delete mode 100644 old_docs/API_docs_v91/constructors/account_tmpPassword.md delete mode 100644 old_docs/API_docs_v91/constructors/account_webAuthorizations.md create mode 100644 old_docs/API_docs_v91/constructors/auth.authorization.md create mode 100644 old_docs/API_docs_v91/constructors/auth.checkedPhone.md create mode 100644 old_docs/API_docs_v91/constructors/auth.codeTypeCall.md create mode 100644 old_docs/API_docs_v91/constructors/auth.codeTypeFlashCall.md create mode 100644 old_docs/API_docs_v91/constructors/auth.codeTypeSms.md create mode 100644 old_docs/API_docs_v91/constructors/auth.exportedAuthorization.md create mode 100644 old_docs/API_docs_v91/constructors/auth.passwordRecovery.md create mode 100644 old_docs/API_docs_v91/constructors/auth.sentCode.md create mode 100644 old_docs/API_docs_v91/constructors/auth.sentCodeTypeApp.md create mode 100644 old_docs/API_docs_v91/constructors/auth.sentCodeTypeCall.md create mode 100644 old_docs/API_docs_v91/constructors/auth.sentCodeTypeFlashCall.md create mode 100644 old_docs/API_docs_v91/constructors/auth.sentCodeTypeSms.md delete mode 100644 old_docs/API_docs_v91/constructors/auth_authorization.md delete mode 100644 old_docs/API_docs_v91/constructors/auth_checkedPhone.md delete mode 100644 old_docs/API_docs_v91/constructors/auth_codeTypeCall.md delete mode 100644 old_docs/API_docs_v91/constructors/auth_codeTypeFlashCall.md delete mode 100644 old_docs/API_docs_v91/constructors/auth_codeTypeSms.md delete mode 100644 old_docs/API_docs_v91/constructors/auth_exportedAuthorization.md delete mode 100644 old_docs/API_docs_v91/constructors/auth_passwordRecovery.md delete mode 100644 old_docs/API_docs_v91/constructors/auth_sentCode.md delete mode 100644 old_docs/API_docs_v91/constructors/auth_sentCodeTypeApp.md delete mode 100644 old_docs/API_docs_v91/constructors/auth_sentCodeTypeCall.md delete mode 100644 old_docs/API_docs_v91/constructors/auth_sentCodeTypeFlashCall.md delete mode 100644 old_docs/API_docs_v91/constructors/auth_sentCodeTypeSms.md create mode 100644 old_docs/API_docs_v91/constructors/channels.adminLogResults.md create mode 100644 old_docs/API_docs_v91/constructors/channels.channelParticipant.md create mode 100644 old_docs/API_docs_v91/constructors/channels.channelParticipants.md create mode 100644 old_docs/API_docs_v91/constructors/channels.channelParticipantsNotModified.md delete mode 100644 old_docs/API_docs_v91/constructors/channels_adminLogResults.md delete mode 100644 old_docs/API_docs_v91/constructors/channels_channelParticipant.md delete mode 100644 old_docs/API_docs_v91/constructors/channels_channelParticipants.md delete mode 100644 old_docs/API_docs_v91/constructors/channels_channelParticipantsNotModified.md create mode 100644 old_docs/API_docs_v91/constructors/contacts.blocked.md create mode 100644 old_docs/API_docs_v91/constructors/contacts.blockedSlice.md create mode 100644 old_docs/API_docs_v91/constructors/contacts.contacts.md create mode 100644 old_docs/API_docs_v91/constructors/contacts.contactsNotModified.md create mode 100644 old_docs/API_docs_v91/constructors/contacts.found.md create mode 100644 old_docs/API_docs_v91/constructors/contacts.importedContacts.md create mode 100644 old_docs/API_docs_v91/constructors/contacts.link.md create mode 100644 old_docs/API_docs_v91/constructors/contacts.resolvedPeer.md create mode 100644 old_docs/API_docs_v91/constructors/contacts.topPeers.md create mode 100644 old_docs/API_docs_v91/constructors/contacts.topPeersDisabled.md create mode 100644 old_docs/API_docs_v91/constructors/contacts.topPeersNotModified.md delete mode 100644 old_docs/API_docs_v91/constructors/contacts_blocked.md delete mode 100644 old_docs/API_docs_v91/constructors/contacts_blockedSlice.md delete mode 100644 old_docs/API_docs_v91/constructors/contacts_contacts.md delete mode 100644 old_docs/API_docs_v91/constructors/contacts_contactsNotModified.md delete mode 100644 old_docs/API_docs_v91/constructors/contacts_found.md delete mode 100644 old_docs/API_docs_v91/constructors/contacts_importedContacts.md delete mode 100644 old_docs/API_docs_v91/constructors/contacts_link.md delete mode 100644 old_docs/API_docs_v91/constructors/contacts_resolvedPeer.md delete mode 100644 old_docs/API_docs_v91/constructors/contacts_topPeers.md delete mode 100644 old_docs/API_docs_v91/constructors/contacts_topPeersDisabled.md delete mode 100644 old_docs/API_docs_v91/constructors/contacts_topPeersNotModified.md create mode 100644 old_docs/API_docs_v91/constructors/help.appUpdate.md create mode 100644 old_docs/API_docs_v91/constructors/help.configSimple.md create mode 100644 old_docs/API_docs_v91/constructors/help.deepLinkInfo.md create mode 100644 old_docs/API_docs_v91/constructors/help.deepLinkInfoEmpty.md create mode 100644 old_docs/API_docs_v91/constructors/help.inviteText.md create mode 100644 old_docs/API_docs_v91/constructors/help.noAppUpdate.md create mode 100644 old_docs/API_docs_v91/constructors/help.passportConfig.md create mode 100644 old_docs/API_docs_v91/constructors/help.passportConfigNotModified.md create mode 100644 old_docs/API_docs_v91/constructors/help.proxyDataEmpty.md create mode 100644 old_docs/API_docs_v91/constructors/help.proxyDataPromo.md create mode 100644 old_docs/API_docs_v91/constructors/help.recentMeUrls.md create mode 100644 old_docs/API_docs_v91/constructors/help.support.md create mode 100644 old_docs/API_docs_v91/constructors/help.supportName.md create mode 100644 old_docs/API_docs_v91/constructors/help.termsOfService.md create mode 100644 old_docs/API_docs_v91/constructors/help.termsOfServiceUpdate.md create mode 100644 old_docs/API_docs_v91/constructors/help.termsOfServiceUpdateEmpty.md create mode 100644 old_docs/API_docs_v91/constructors/help.userInfo.md create mode 100644 old_docs/API_docs_v91/constructors/help.userInfoEmpty.md delete mode 100644 old_docs/API_docs_v91/constructors/help_appUpdate.md delete mode 100644 old_docs/API_docs_v91/constructors/help_configSimple.md delete mode 100644 old_docs/API_docs_v91/constructors/help_deepLinkInfo.md delete mode 100644 old_docs/API_docs_v91/constructors/help_deepLinkInfoEmpty.md delete mode 100644 old_docs/API_docs_v91/constructors/help_inviteText.md delete mode 100644 old_docs/API_docs_v91/constructors/help_noAppUpdate.md delete mode 100644 old_docs/API_docs_v91/constructors/help_passportConfig.md delete mode 100644 old_docs/API_docs_v91/constructors/help_passportConfigNotModified.md delete mode 100644 old_docs/API_docs_v91/constructors/help_proxyDataEmpty.md delete mode 100644 old_docs/API_docs_v91/constructors/help_proxyDataPromo.md delete mode 100644 old_docs/API_docs_v91/constructors/help_recentMeUrls.md delete mode 100644 old_docs/API_docs_v91/constructors/help_support.md delete mode 100644 old_docs/API_docs_v91/constructors/help_supportName.md delete mode 100644 old_docs/API_docs_v91/constructors/help_termsOfService.md delete mode 100644 old_docs/API_docs_v91/constructors/help_termsOfServiceUpdate.md delete mode 100644 old_docs/API_docs_v91/constructors/help_termsOfServiceUpdateEmpty.md delete mode 100644 old_docs/API_docs_v91/constructors/help_userInfo.md delete mode 100644 old_docs/API_docs_v91/constructors/help_userInfoEmpty.md create mode 100644 old_docs/API_docs_v91/constructors/messages.affectedHistory.md create mode 100644 old_docs/API_docs_v91/constructors/messages.affectedMessages.md create mode 100644 old_docs/API_docs_v91/constructors/messages.allStickers.md create mode 100644 old_docs/API_docs_v91/constructors/messages.allStickersNotModified.md create mode 100644 old_docs/API_docs_v91/constructors/messages.archivedStickers.md create mode 100644 old_docs/API_docs_v91/constructors/messages.botCallbackAnswer.md create mode 100644 old_docs/API_docs_v91/constructors/messages.botResults.md create mode 100644 old_docs/API_docs_v91/constructors/messages.channelMessages.md create mode 100644 old_docs/API_docs_v91/constructors/messages.chatFull.md create mode 100644 old_docs/API_docs_v91/constructors/messages.chats.md create mode 100644 old_docs/API_docs_v91/constructors/messages.chatsSlice.md create mode 100644 old_docs/API_docs_v91/constructors/messages.dhConfig.md create mode 100644 old_docs/API_docs_v91/constructors/messages.dhConfigNotModified.md create mode 100644 old_docs/API_docs_v91/constructors/messages.dialogs.md create mode 100644 old_docs/API_docs_v91/constructors/messages.dialogsNotModified.md create mode 100644 old_docs/API_docs_v91/constructors/messages.dialogsSlice.md create mode 100644 old_docs/API_docs_v91/constructors/messages.favedStickers.md create mode 100644 old_docs/API_docs_v91/constructors/messages.favedStickersNotModified.md create mode 100644 old_docs/API_docs_v91/constructors/messages.featuredStickers.md create mode 100644 old_docs/API_docs_v91/constructors/messages.featuredStickersNotModified.md create mode 100644 old_docs/API_docs_v91/constructors/messages.foundGifs.md create mode 100644 old_docs/API_docs_v91/constructors/messages.foundStickerSets.md create mode 100644 old_docs/API_docs_v91/constructors/messages.foundStickerSetsNotModified.md create mode 100644 old_docs/API_docs_v91/constructors/messages.highScores.md create mode 100644 old_docs/API_docs_v91/constructors/messages.messageEditData.md create mode 100644 old_docs/API_docs_v91/constructors/messages.messages.md create mode 100644 old_docs/API_docs_v91/constructors/messages.messagesNotModified.md create mode 100644 old_docs/API_docs_v91/constructors/messages.messagesSlice.md create mode 100644 old_docs/API_docs_v91/constructors/messages.peerDialogs.md create mode 100644 old_docs/API_docs_v91/constructors/messages.recentStickers.md create mode 100644 old_docs/API_docs_v91/constructors/messages.recentStickersNotModified.md create mode 100644 old_docs/API_docs_v91/constructors/messages.savedGifs.md create mode 100644 old_docs/API_docs_v91/constructors/messages.savedGifsNotModified.md create mode 100644 old_docs/API_docs_v91/constructors/messages.sentEncryptedFile.md create mode 100644 old_docs/API_docs_v91/constructors/messages.sentEncryptedMessage.md create mode 100644 old_docs/API_docs_v91/constructors/messages.stickerSet.md create mode 100644 old_docs/API_docs_v91/constructors/messages.stickerSetInstallResultArchive.md create mode 100644 old_docs/API_docs_v91/constructors/messages.stickerSetInstallResultSuccess.md create mode 100644 old_docs/API_docs_v91/constructors/messages.stickers.md create mode 100644 old_docs/API_docs_v91/constructors/messages.stickersNotModified.md delete mode 100644 old_docs/API_docs_v91/constructors/messages_affectedHistory.md delete mode 100644 old_docs/API_docs_v91/constructors/messages_affectedMessages.md delete mode 100644 old_docs/API_docs_v91/constructors/messages_allStickers.md delete mode 100644 old_docs/API_docs_v91/constructors/messages_allStickersNotModified.md delete mode 100644 old_docs/API_docs_v91/constructors/messages_archivedStickers.md delete mode 100644 old_docs/API_docs_v91/constructors/messages_botCallbackAnswer.md delete mode 100644 old_docs/API_docs_v91/constructors/messages_botResults.md delete mode 100644 old_docs/API_docs_v91/constructors/messages_channelMessages.md delete mode 100644 old_docs/API_docs_v91/constructors/messages_chatFull.md delete mode 100644 old_docs/API_docs_v91/constructors/messages_chats.md delete mode 100644 old_docs/API_docs_v91/constructors/messages_chatsSlice.md delete mode 100644 old_docs/API_docs_v91/constructors/messages_dhConfig.md delete mode 100644 old_docs/API_docs_v91/constructors/messages_dhConfigNotModified.md delete mode 100644 old_docs/API_docs_v91/constructors/messages_dialogs.md delete mode 100644 old_docs/API_docs_v91/constructors/messages_dialogsNotModified.md delete mode 100644 old_docs/API_docs_v91/constructors/messages_dialogsSlice.md delete mode 100644 old_docs/API_docs_v91/constructors/messages_favedStickers.md delete mode 100644 old_docs/API_docs_v91/constructors/messages_favedStickersNotModified.md delete mode 100644 old_docs/API_docs_v91/constructors/messages_featuredStickers.md delete mode 100644 old_docs/API_docs_v91/constructors/messages_featuredStickersNotModified.md delete mode 100644 old_docs/API_docs_v91/constructors/messages_foundGifs.md delete mode 100644 old_docs/API_docs_v91/constructors/messages_foundStickerSets.md delete mode 100644 old_docs/API_docs_v91/constructors/messages_foundStickerSetsNotModified.md delete mode 100644 old_docs/API_docs_v91/constructors/messages_highScores.md delete mode 100644 old_docs/API_docs_v91/constructors/messages_messageEditData.md delete mode 100644 old_docs/API_docs_v91/constructors/messages_messages.md delete mode 100644 old_docs/API_docs_v91/constructors/messages_messagesNotModified.md delete mode 100644 old_docs/API_docs_v91/constructors/messages_messagesSlice.md delete mode 100644 old_docs/API_docs_v91/constructors/messages_peerDialogs.md delete mode 100644 old_docs/API_docs_v91/constructors/messages_recentStickers.md delete mode 100644 old_docs/API_docs_v91/constructors/messages_recentStickersNotModified.md delete mode 100644 old_docs/API_docs_v91/constructors/messages_savedGifs.md delete mode 100644 old_docs/API_docs_v91/constructors/messages_savedGifsNotModified.md delete mode 100644 old_docs/API_docs_v91/constructors/messages_sentEncryptedFile.md delete mode 100644 old_docs/API_docs_v91/constructors/messages_sentEncryptedMessage.md delete mode 100644 old_docs/API_docs_v91/constructors/messages_stickerSet.md delete mode 100644 old_docs/API_docs_v91/constructors/messages_stickerSetInstallResultArchive.md delete mode 100644 old_docs/API_docs_v91/constructors/messages_stickerSetInstallResultSuccess.md delete mode 100644 old_docs/API_docs_v91/constructors/messages_stickers.md delete mode 100644 old_docs/API_docs_v91/constructors/messages_stickersNotModified.md create mode 100644 old_docs/API_docs_v91/constructors/payments.paymentForm.md create mode 100644 old_docs/API_docs_v91/constructors/payments.paymentReceipt.md create mode 100644 old_docs/API_docs_v91/constructors/payments.paymentResult.md create mode 100644 old_docs/API_docs_v91/constructors/payments.paymentVerficationNeeded.md create mode 100644 old_docs/API_docs_v91/constructors/payments.savedInfo.md create mode 100644 old_docs/API_docs_v91/constructors/payments.validatedRequestedInfo.md delete mode 100644 old_docs/API_docs_v91/constructors/payments_paymentForm.md delete mode 100644 old_docs/API_docs_v91/constructors/payments_paymentReceipt.md delete mode 100644 old_docs/API_docs_v91/constructors/payments_paymentResult.md delete mode 100644 old_docs/API_docs_v91/constructors/payments_paymentVerficationNeeded.md delete mode 100644 old_docs/API_docs_v91/constructors/payments_savedInfo.md delete mode 100644 old_docs/API_docs_v91/constructors/payments_validatedRequestedInfo.md create mode 100644 old_docs/API_docs_v91/constructors/phone.phoneCall.md delete mode 100644 old_docs/API_docs_v91/constructors/phone_phoneCall.md create mode 100644 old_docs/API_docs_v91/constructors/photos.photo.md create mode 100644 old_docs/API_docs_v91/constructors/photos.photos.md create mode 100644 old_docs/API_docs_v91/constructors/photos.photosSlice.md delete mode 100644 old_docs/API_docs_v91/constructors/photos_photo.md delete mode 100644 old_docs/API_docs_v91/constructors/photos_photos.md delete mode 100644 old_docs/API_docs_v91/constructors/photos_photosSlice.md create mode 100644 old_docs/API_docs_v91/constructors/storage.fileGif.md create mode 100644 old_docs/API_docs_v91/constructors/storage.fileJpeg.md create mode 100644 old_docs/API_docs_v91/constructors/storage.fileMov.md create mode 100644 old_docs/API_docs_v91/constructors/storage.fileMp3.md create mode 100644 old_docs/API_docs_v91/constructors/storage.fileMp4.md create mode 100644 old_docs/API_docs_v91/constructors/storage.filePartial.md create mode 100644 old_docs/API_docs_v91/constructors/storage.filePdf.md create mode 100644 old_docs/API_docs_v91/constructors/storage.filePng.md create mode 100644 old_docs/API_docs_v91/constructors/storage.fileUnknown.md create mode 100644 old_docs/API_docs_v91/constructors/storage.fileWebp.md delete mode 100644 old_docs/API_docs_v91/constructors/storage_fileGif.md delete mode 100644 old_docs/API_docs_v91/constructors/storage_fileJpeg.md delete mode 100644 old_docs/API_docs_v91/constructors/storage_fileMov.md delete mode 100644 old_docs/API_docs_v91/constructors/storage_fileMp3.md delete mode 100644 old_docs/API_docs_v91/constructors/storage_fileMp4.md delete mode 100644 old_docs/API_docs_v91/constructors/storage_filePartial.md delete mode 100644 old_docs/API_docs_v91/constructors/storage_filePdf.md delete mode 100644 old_docs/API_docs_v91/constructors/storage_filePng.md delete mode 100644 old_docs/API_docs_v91/constructors/storage_fileUnknown.md delete mode 100644 old_docs/API_docs_v91/constructors/storage_fileWebp.md create mode 100644 old_docs/API_docs_v91/constructors/updates.channelDifference.md create mode 100644 old_docs/API_docs_v91/constructors/updates.channelDifferenceEmpty.md create mode 100644 old_docs/API_docs_v91/constructors/updates.channelDifferenceTooLong.md create mode 100644 old_docs/API_docs_v91/constructors/updates.difference.md create mode 100644 old_docs/API_docs_v91/constructors/updates.differenceEmpty.md create mode 100644 old_docs/API_docs_v91/constructors/updates.differenceSlice.md create mode 100644 old_docs/API_docs_v91/constructors/updates.differenceTooLong.md create mode 100644 old_docs/API_docs_v91/constructors/updates.state.md delete mode 100644 old_docs/API_docs_v91/constructors/updates_channelDifference.md delete mode 100644 old_docs/API_docs_v91/constructors/updates_channelDifferenceEmpty.md delete mode 100644 old_docs/API_docs_v91/constructors/updates_channelDifferenceTooLong.md delete mode 100644 old_docs/API_docs_v91/constructors/updates_difference.md delete mode 100644 old_docs/API_docs_v91/constructors/updates_differenceEmpty.md delete mode 100644 old_docs/API_docs_v91/constructors/updates_differenceSlice.md delete mode 100644 old_docs/API_docs_v91/constructors/updates_differenceTooLong.md delete mode 100644 old_docs/API_docs_v91/constructors/updates_state.md create mode 100644 old_docs/API_docs_v91/constructors/upload.cdnFile.md create mode 100644 old_docs/API_docs_v91/constructors/upload.cdnFileReuploadNeeded.md create mode 100644 old_docs/API_docs_v91/constructors/upload.file.md create mode 100644 old_docs/API_docs_v91/constructors/upload.fileCdnRedirect.md create mode 100644 old_docs/API_docs_v91/constructors/upload.webFile.md delete mode 100644 old_docs/API_docs_v91/constructors/upload_cdnFile.md delete mode 100644 old_docs/API_docs_v91/constructors/upload_cdnFileReuploadNeeded.md delete mode 100644 old_docs/API_docs_v91/constructors/upload_file.md delete mode 100644 old_docs/API_docs_v91/constructors/upload_fileCdnRedirect.md delete mode 100644 old_docs/API_docs_v91/constructors/upload_webFile.md create mode 100644 old_docs/API_docs_v91/types/account.AuthorizationForm.md create mode 100644 old_docs/API_docs_v91/types/account.Authorizations.md create mode 100644 old_docs/API_docs_v91/types/account.Password.md create mode 100644 old_docs/API_docs_v91/types/account.PasswordInputSettings.md create mode 100644 old_docs/API_docs_v91/types/account.PasswordSettings.md create mode 100644 old_docs/API_docs_v91/types/account.PrivacyRules.md create mode 100644 old_docs/API_docs_v91/types/account.SentEmailCode.md create mode 100644 old_docs/API_docs_v91/types/account.Takeout.md create mode 100644 old_docs/API_docs_v91/types/account.TmpPassword.md create mode 100644 old_docs/API_docs_v91/types/account.WebAuthorizations.md delete mode 100644 old_docs/API_docs_v91/types/account_AuthorizationForm.md delete mode 100644 old_docs/API_docs_v91/types/account_Authorizations.md delete mode 100644 old_docs/API_docs_v91/types/account_Password.md delete mode 100644 old_docs/API_docs_v91/types/account_PasswordInputSettings.md delete mode 100644 old_docs/API_docs_v91/types/account_PasswordSettings.md delete mode 100644 old_docs/API_docs_v91/types/account_PrivacyRules.md delete mode 100644 old_docs/API_docs_v91/types/account_SentEmailCode.md delete mode 100644 old_docs/API_docs_v91/types/account_Takeout.md delete mode 100644 old_docs/API_docs_v91/types/account_TmpPassword.md delete mode 100644 old_docs/API_docs_v91/types/account_WebAuthorizations.md create mode 100644 old_docs/API_docs_v91/types/auth.Authorization.md create mode 100644 old_docs/API_docs_v91/types/auth.CheckedPhone.md create mode 100644 old_docs/API_docs_v91/types/auth.CodeType.md create mode 100644 old_docs/API_docs_v91/types/auth.ExportedAuthorization.md create mode 100644 old_docs/API_docs_v91/types/auth.PasswordRecovery.md create mode 100644 old_docs/API_docs_v91/types/auth.SentCode.md create mode 100644 old_docs/API_docs_v91/types/auth.SentCodeType.md delete mode 100644 old_docs/API_docs_v91/types/auth_Authorization.md delete mode 100644 old_docs/API_docs_v91/types/auth_CheckedPhone.md delete mode 100644 old_docs/API_docs_v91/types/auth_CodeType.md delete mode 100644 old_docs/API_docs_v91/types/auth_ExportedAuthorization.md delete mode 100644 old_docs/API_docs_v91/types/auth_PasswordRecovery.md delete mode 100644 old_docs/API_docs_v91/types/auth_SentCode.md delete mode 100644 old_docs/API_docs_v91/types/auth_SentCodeType.md create mode 100644 old_docs/API_docs_v91/types/channels.AdminLogResults.md create mode 100644 old_docs/API_docs_v91/types/channels.ChannelParticipant.md create mode 100644 old_docs/API_docs_v91/types/channels.ChannelParticipants.md delete mode 100644 old_docs/API_docs_v91/types/channels_AdminLogResults.md delete mode 100644 old_docs/API_docs_v91/types/channels_ChannelParticipant.md delete mode 100644 old_docs/API_docs_v91/types/channels_ChannelParticipants.md create mode 100644 old_docs/API_docs_v91/types/contacts.Blocked.md create mode 100644 old_docs/API_docs_v91/types/contacts.Contacts.md create mode 100644 old_docs/API_docs_v91/types/contacts.Found.md create mode 100644 old_docs/API_docs_v91/types/contacts.ImportedContacts.md create mode 100644 old_docs/API_docs_v91/types/contacts.Link.md create mode 100644 old_docs/API_docs_v91/types/contacts.ResolvedPeer.md create mode 100644 old_docs/API_docs_v91/types/contacts.TopPeers.md delete mode 100644 old_docs/API_docs_v91/types/contacts_Blocked.md delete mode 100644 old_docs/API_docs_v91/types/contacts_Contacts.md delete mode 100644 old_docs/API_docs_v91/types/contacts_Found.md delete mode 100644 old_docs/API_docs_v91/types/contacts_ImportedContacts.md delete mode 100644 old_docs/API_docs_v91/types/contacts_Link.md delete mode 100644 old_docs/API_docs_v91/types/contacts_ResolvedPeer.md delete mode 100644 old_docs/API_docs_v91/types/contacts_TopPeers.md create mode 100644 old_docs/API_docs_v91/types/help.AppUpdate.md create mode 100644 old_docs/API_docs_v91/types/help.ConfigSimple.md create mode 100644 old_docs/API_docs_v91/types/help.DeepLinkInfo.md create mode 100644 old_docs/API_docs_v91/types/help.InviteText.md create mode 100644 old_docs/API_docs_v91/types/help.PassportConfig.md create mode 100644 old_docs/API_docs_v91/types/help.ProxyData.md create mode 100644 old_docs/API_docs_v91/types/help.RecentMeUrls.md create mode 100644 old_docs/API_docs_v91/types/help.Support.md create mode 100644 old_docs/API_docs_v91/types/help.SupportName.md create mode 100644 old_docs/API_docs_v91/types/help.TermsOfService.md create mode 100644 old_docs/API_docs_v91/types/help.TermsOfServiceUpdate.md create mode 100644 old_docs/API_docs_v91/types/help.UserInfo.md delete mode 100644 old_docs/API_docs_v91/types/help_AppUpdate.md delete mode 100644 old_docs/API_docs_v91/types/help_ConfigSimple.md delete mode 100644 old_docs/API_docs_v91/types/help_DeepLinkInfo.md delete mode 100644 old_docs/API_docs_v91/types/help_InviteText.md delete mode 100644 old_docs/API_docs_v91/types/help_PassportConfig.md delete mode 100644 old_docs/API_docs_v91/types/help_ProxyData.md delete mode 100644 old_docs/API_docs_v91/types/help_RecentMeUrls.md delete mode 100644 old_docs/API_docs_v91/types/help_Support.md delete mode 100644 old_docs/API_docs_v91/types/help_SupportName.md delete mode 100644 old_docs/API_docs_v91/types/help_TermsOfService.md delete mode 100644 old_docs/API_docs_v91/types/help_TermsOfServiceUpdate.md delete mode 100644 old_docs/API_docs_v91/types/help_UserInfo.md create mode 100644 old_docs/API_docs_v91/types/messages.AffectedHistory.md create mode 100644 old_docs/API_docs_v91/types/messages.AffectedMessages.md create mode 100644 old_docs/API_docs_v91/types/messages.AllStickers.md create mode 100644 old_docs/API_docs_v91/types/messages.ArchivedStickers.md create mode 100644 old_docs/API_docs_v91/types/messages.BotCallbackAnswer.md create mode 100644 old_docs/API_docs_v91/types/messages.BotResults.md create mode 100644 old_docs/API_docs_v91/types/messages.ChatFull.md create mode 100644 old_docs/API_docs_v91/types/messages.Chats.md create mode 100644 old_docs/API_docs_v91/types/messages.DhConfig.md create mode 100644 old_docs/API_docs_v91/types/messages.Dialogs.md create mode 100644 old_docs/API_docs_v91/types/messages.FavedStickers.md create mode 100644 old_docs/API_docs_v91/types/messages.FeaturedStickers.md create mode 100644 old_docs/API_docs_v91/types/messages.FoundGifs.md create mode 100644 old_docs/API_docs_v91/types/messages.FoundStickerSets.md create mode 100644 old_docs/API_docs_v91/types/messages.HighScores.md create mode 100644 old_docs/API_docs_v91/types/messages.MessageEditData.md create mode 100644 old_docs/API_docs_v91/types/messages.Messages.md create mode 100644 old_docs/API_docs_v91/types/messages.PeerDialogs.md create mode 100644 old_docs/API_docs_v91/types/messages.RecentStickers.md create mode 100644 old_docs/API_docs_v91/types/messages.SavedGifs.md create mode 100644 old_docs/API_docs_v91/types/messages.SentEncryptedMessage.md create mode 100644 old_docs/API_docs_v91/types/messages.StickerSet.md create mode 100644 old_docs/API_docs_v91/types/messages.StickerSetInstallResult.md create mode 100644 old_docs/API_docs_v91/types/messages.Stickers.md delete mode 100644 old_docs/API_docs_v91/types/messages_AffectedHistory.md delete mode 100644 old_docs/API_docs_v91/types/messages_AffectedMessages.md delete mode 100644 old_docs/API_docs_v91/types/messages_AllStickers.md delete mode 100644 old_docs/API_docs_v91/types/messages_ArchivedStickers.md delete mode 100644 old_docs/API_docs_v91/types/messages_BotCallbackAnswer.md delete mode 100644 old_docs/API_docs_v91/types/messages_BotResults.md delete mode 100644 old_docs/API_docs_v91/types/messages_ChatFull.md delete mode 100644 old_docs/API_docs_v91/types/messages_Chats.md delete mode 100644 old_docs/API_docs_v91/types/messages_DhConfig.md delete mode 100644 old_docs/API_docs_v91/types/messages_Dialogs.md delete mode 100644 old_docs/API_docs_v91/types/messages_FavedStickers.md delete mode 100644 old_docs/API_docs_v91/types/messages_FeaturedStickers.md delete mode 100644 old_docs/API_docs_v91/types/messages_FoundGifs.md delete mode 100644 old_docs/API_docs_v91/types/messages_FoundStickerSets.md delete mode 100644 old_docs/API_docs_v91/types/messages_HighScores.md delete mode 100644 old_docs/API_docs_v91/types/messages_MessageEditData.md delete mode 100644 old_docs/API_docs_v91/types/messages_Messages.md delete mode 100644 old_docs/API_docs_v91/types/messages_PeerDialogs.md delete mode 100644 old_docs/API_docs_v91/types/messages_RecentStickers.md delete mode 100644 old_docs/API_docs_v91/types/messages_SavedGifs.md delete mode 100644 old_docs/API_docs_v91/types/messages_SentEncryptedMessage.md delete mode 100644 old_docs/API_docs_v91/types/messages_StickerSet.md delete mode 100644 old_docs/API_docs_v91/types/messages_StickerSetInstallResult.md delete mode 100644 old_docs/API_docs_v91/types/messages_Stickers.md create mode 100644 old_docs/API_docs_v91/types/payments.PaymentForm.md create mode 100644 old_docs/API_docs_v91/types/payments.PaymentReceipt.md create mode 100644 old_docs/API_docs_v91/types/payments.PaymentResult.md create mode 100644 old_docs/API_docs_v91/types/payments.SavedInfo.md create mode 100644 old_docs/API_docs_v91/types/payments.ValidatedRequestedInfo.md delete mode 100644 old_docs/API_docs_v91/types/payments_PaymentForm.md delete mode 100644 old_docs/API_docs_v91/types/payments_PaymentReceipt.md delete mode 100644 old_docs/API_docs_v91/types/payments_PaymentResult.md delete mode 100644 old_docs/API_docs_v91/types/payments_SavedInfo.md delete mode 100644 old_docs/API_docs_v91/types/payments_ValidatedRequestedInfo.md create mode 100644 old_docs/API_docs_v91/types/phone.PhoneCall.md delete mode 100644 old_docs/API_docs_v91/types/phone_PhoneCall.md create mode 100644 old_docs/API_docs_v91/types/photos.Photo.md create mode 100644 old_docs/API_docs_v91/types/photos.Photos.md delete mode 100644 old_docs/API_docs_v91/types/photos_Photo.md delete mode 100644 old_docs/API_docs_v91/types/photos_Photos.md create mode 100644 old_docs/API_docs_v91/types/storage.FileType.md delete mode 100644 old_docs/API_docs_v91/types/storage_FileType.md create mode 100644 old_docs/API_docs_v91/types/updates.ChannelDifference.md create mode 100644 old_docs/API_docs_v91/types/updates.Difference.md create mode 100644 old_docs/API_docs_v91/types/updates.State.md delete mode 100644 old_docs/API_docs_v91/types/updates_ChannelDifference.md delete mode 100644 old_docs/API_docs_v91/types/updates_Difference.md delete mode 100644 old_docs/API_docs_v91/types/updates_State.md create mode 100644 old_docs/API_docs_v91/types/upload.CdnFile.md create mode 100644 old_docs/API_docs_v91/types/upload.File.md create mode 100644 old_docs/API_docs_v91/types/upload.WebFile.md delete mode 100644 old_docs/API_docs_v91/types/upload_CdnFile.md delete mode 100644 old_docs/API_docs_v91/types/upload_File.md delete mode 100644 old_docs/API_docs_v91/types/upload_WebFile.md create mode 100644 old_docs/API_docs_v95/constructors/account.authorizationForm.md create mode 100644 old_docs/API_docs_v95/constructors/account.authorizations.md create mode 100644 old_docs/API_docs_v95/constructors/account.password.md create mode 100644 old_docs/API_docs_v95/constructors/account.passwordInputSettings.md create mode 100644 old_docs/API_docs_v95/constructors/account.passwordSettings.md create mode 100644 old_docs/API_docs_v95/constructors/account.privacyRules.md create mode 100644 old_docs/API_docs_v95/constructors/account.sentEmailCode.md create mode 100644 old_docs/API_docs_v95/constructors/account.takeout.md create mode 100644 old_docs/API_docs_v95/constructors/account.tmpPassword.md create mode 100644 old_docs/API_docs_v95/constructors/account.wallPapers.md create mode 100644 old_docs/API_docs_v95/constructors/account.wallPapersNotModified.md create mode 100644 old_docs/API_docs_v95/constructors/account.webAuthorizations.md delete mode 100644 old_docs/API_docs_v95/constructors/account_authorizationForm.md delete mode 100644 old_docs/API_docs_v95/constructors/account_authorizations.md delete mode 100644 old_docs/API_docs_v95/constructors/account_password.md delete mode 100644 old_docs/API_docs_v95/constructors/account_passwordInputSettings.md delete mode 100644 old_docs/API_docs_v95/constructors/account_passwordSettings.md delete mode 100644 old_docs/API_docs_v95/constructors/account_privacyRules.md delete mode 100644 old_docs/API_docs_v95/constructors/account_sentEmailCode.md delete mode 100644 old_docs/API_docs_v95/constructors/account_takeout.md delete mode 100644 old_docs/API_docs_v95/constructors/account_tmpPassword.md delete mode 100644 old_docs/API_docs_v95/constructors/account_wallPapers.md delete mode 100644 old_docs/API_docs_v95/constructors/account_wallPapersNotModified.md delete mode 100644 old_docs/API_docs_v95/constructors/account_webAuthorizations.md create mode 100644 old_docs/API_docs_v95/constructors/auth.authorization.md create mode 100644 old_docs/API_docs_v95/constructors/auth.checkedPhone.md create mode 100644 old_docs/API_docs_v95/constructors/auth.codeTypeCall.md create mode 100644 old_docs/API_docs_v95/constructors/auth.codeTypeFlashCall.md create mode 100644 old_docs/API_docs_v95/constructors/auth.codeTypeSms.md create mode 100644 old_docs/API_docs_v95/constructors/auth.exportedAuthorization.md create mode 100644 old_docs/API_docs_v95/constructors/auth.passwordRecovery.md create mode 100644 old_docs/API_docs_v95/constructors/auth.sentCode.md create mode 100644 old_docs/API_docs_v95/constructors/auth.sentCodeTypeApp.md create mode 100644 old_docs/API_docs_v95/constructors/auth.sentCodeTypeCall.md create mode 100644 old_docs/API_docs_v95/constructors/auth.sentCodeTypeFlashCall.md create mode 100644 old_docs/API_docs_v95/constructors/auth.sentCodeTypeSms.md delete mode 100644 old_docs/API_docs_v95/constructors/auth_authorization.md delete mode 100644 old_docs/API_docs_v95/constructors/auth_checkedPhone.md delete mode 100644 old_docs/API_docs_v95/constructors/auth_codeTypeCall.md delete mode 100644 old_docs/API_docs_v95/constructors/auth_codeTypeFlashCall.md delete mode 100644 old_docs/API_docs_v95/constructors/auth_codeTypeSms.md delete mode 100644 old_docs/API_docs_v95/constructors/auth_exportedAuthorization.md delete mode 100644 old_docs/API_docs_v95/constructors/auth_passwordRecovery.md delete mode 100644 old_docs/API_docs_v95/constructors/auth_sentCode.md delete mode 100644 old_docs/API_docs_v95/constructors/auth_sentCodeTypeApp.md delete mode 100644 old_docs/API_docs_v95/constructors/auth_sentCodeTypeCall.md delete mode 100644 old_docs/API_docs_v95/constructors/auth_sentCodeTypeFlashCall.md delete mode 100644 old_docs/API_docs_v95/constructors/auth_sentCodeTypeSms.md create mode 100644 old_docs/API_docs_v95/constructors/channels.adminLogResults.md create mode 100644 old_docs/API_docs_v95/constructors/channels.channelParticipant.md create mode 100644 old_docs/API_docs_v95/constructors/channels.channelParticipants.md create mode 100644 old_docs/API_docs_v95/constructors/channels.channelParticipantsNotModified.md delete mode 100644 old_docs/API_docs_v95/constructors/channels_adminLogResults.md delete mode 100644 old_docs/API_docs_v95/constructors/channels_channelParticipant.md delete mode 100644 old_docs/API_docs_v95/constructors/channels_channelParticipants.md delete mode 100644 old_docs/API_docs_v95/constructors/channels_channelParticipantsNotModified.md create mode 100644 old_docs/API_docs_v95/constructors/contacts.blocked.md create mode 100644 old_docs/API_docs_v95/constructors/contacts.blockedSlice.md create mode 100644 old_docs/API_docs_v95/constructors/contacts.contacts.md create mode 100644 old_docs/API_docs_v95/constructors/contacts.contactsNotModified.md create mode 100644 old_docs/API_docs_v95/constructors/contacts.found.md create mode 100644 old_docs/API_docs_v95/constructors/contacts.importedContacts.md create mode 100644 old_docs/API_docs_v95/constructors/contacts.link.md create mode 100644 old_docs/API_docs_v95/constructors/contacts.resolvedPeer.md create mode 100644 old_docs/API_docs_v95/constructors/contacts.topPeers.md create mode 100644 old_docs/API_docs_v95/constructors/contacts.topPeersDisabled.md create mode 100644 old_docs/API_docs_v95/constructors/contacts.topPeersNotModified.md delete mode 100644 old_docs/API_docs_v95/constructors/contacts_blocked.md delete mode 100644 old_docs/API_docs_v95/constructors/contacts_blockedSlice.md delete mode 100644 old_docs/API_docs_v95/constructors/contacts_contacts.md delete mode 100644 old_docs/API_docs_v95/constructors/contacts_contactsNotModified.md delete mode 100644 old_docs/API_docs_v95/constructors/contacts_found.md delete mode 100644 old_docs/API_docs_v95/constructors/contacts_importedContacts.md delete mode 100644 old_docs/API_docs_v95/constructors/contacts_link.md delete mode 100644 old_docs/API_docs_v95/constructors/contacts_resolvedPeer.md delete mode 100644 old_docs/API_docs_v95/constructors/contacts_topPeers.md delete mode 100644 old_docs/API_docs_v95/constructors/contacts_topPeersDisabled.md delete mode 100644 old_docs/API_docs_v95/constructors/contacts_topPeersNotModified.md create mode 100644 old_docs/API_docs_v95/constructors/help.appUpdate.md create mode 100644 old_docs/API_docs_v95/constructors/help.configSimple.md create mode 100644 old_docs/API_docs_v95/constructors/help.deepLinkInfo.md create mode 100644 old_docs/API_docs_v95/constructors/help.deepLinkInfoEmpty.md create mode 100644 old_docs/API_docs_v95/constructors/help.inviteText.md create mode 100644 old_docs/API_docs_v95/constructors/help.noAppUpdate.md create mode 100644 old_docs/API_docs_v95/constructors/help.passportConfig.md create mode 100644 old_docs/API_docs_v95/constructors/help.passportConfigNotModified.md create mode 100644 old_docs/API_docs_v95/constructors/help.proxyDataEmpty.md create mode 100644 old_docs/API_docs_v95/constructors/help.proxyDataPromo.md create mode 100644 old_docs/API_docs_v95/constructors/help.recentMeUrls.md create mode 100644 old_docs/API_docs_v95/constructors/help.support.md create mode 100644 old_docs/API_docs_v95/constructors/help.supportName.md create mode 100644 old_docs/API_docs_v95/constructors/help.termsOfService.md create mode 100644 old_docs/API_docs_v95/constructors/help.termsOfServiceUpdate.md create mode 100644 old_docs/API_docs_v95/constructors/help.termsOfServiceUpdateEmpty.md create mode 100644 old_docs/API_docs_v95/constructors/help.userInfo.md create mode 100644 old_docs/API_docs_v95/constructors/help.userInfoEmpty.md delete mode 100644 old_docs/API_docs_v95/constructors/help_appUpdate.md delete mode 100644 old_docs/API_docs_v95/constructors/help_configSimple.md delete mode 100644 old_docs/API_docs_v95/constructors/help_deepLinkInfo.md delete mode 100644 old_docs/API_docs_v95/constructors/help_deepLinkInfoEmpty.md delete mode 100644 old_docs/API_docs_v95/constructors/help_inviteText.md delete mode 100644 old_docs/API_docs_v95/constructors/help_noAppUpdate.md delete mode 100644 old_docs/API_docs_v95/constructors/help_passportConfig.md delete mode 100644 old_docs/API_docs_v95/constructors/help_passportConfigNotModified.md delete mode 100644 old_docs/API_docs_v95/constructors/help_proxyDataEmpty.md delete mode 100644 old_docs/API_docs_v95/constructors/help_proxyDataPromo.md delete mode 100644 old_docs/API_docs_v95/constructors/help_recentMeUrls.md delete mode 100644 old_docs/API_docs_v95/constructors/help_support.md delete mode 100644 old_docs/API_docs_v95/constructors/help_supportName.md delete mode 100644 old_docs/API_docs_v95/constructors/help_termsOfService.md delete mode 100644 old_docs/API_docs_v95/constructors/help_termsOfServiceUpdate.md delete mode 100644 old_docs/API_docs_v95/constructors/help_termsOfServiceUpdateEmpty.md delete mode 100644 old_docs/API_docs_v95/constructors/help_userInfo.md delete mode 100644 old_docs/API_docs_v95/constructors/help_userInfoEmpty.md create mode 100644 old_docs/API_docs_v95/constructors/messages.affectedHistory.md create mode 100644 old_docs/API_docs_v95/constructors/messages.affectedMessages.md create mode 100644 old_docs/API_docs_v95/constructors/messages.allStickers.md create mode 100644 old_docs/API_docs_v95/constructors/messages.allStickersNotModified.md create mode 100644 old_docs/API_docs_v95/constructors/messages.archivedStickers.md create mode 100644 old_docs/API_docs_v95/constructors/messages.botCallbackAnswer.md create mode 100644 old_docs/API_docs_v95/constructors/messages.botResults.md create mode 100644 old_docs/API_docs_v95/constructors/messages.channelMessages.md create mode 100644 old_docs/API_docs_v95/constructors/messages.chatFull.md create mode 100644 old_docs/API_docs_v95/constructors/messages.chats.md create mode 100644 old_docs/API_docs_v95/constructors/messages.chatsSlice.md create mode 100644 old_docs/API_docs_v95/constructors/messages.dhConfig.md create mode 100644 old_docs/API_docs_v95/constructors/messages.dhConfigNotModified.md create mode 100644 old_docs/API_docs_v95/constructors/messages.dialogs.md create mode 100644 old_docs/API_docs_v95/constructors/messages.dialogsNotModified.md create mode 100644 old_docs/API_docs_v95/constructors/messages.dialogsSlice.md create mode 100644 old_docs/API_docs_v95/constructors/messages.favedStickers.md create mode 100644 old_docs/API_docs_v95/constructors/messages.favedStickersNotModified.md create mode 100644 old_docs/API_docs_v95/constructors/messages.featuredStickers.md create mode 100644 old_docs/API_docs_v95/constructors/messages.featuredStickersNotModified.md create mode 100644 old_docs/API_docs_v95/constructors/messages.foundGifs.md create mode 100644 old_docs/API_docs_v95/constructors/messages.foundStickerSets.md create mode 100644 old_docs/API_docs_v95/constructors/messages.foundStickerSetsNotModified.md create mode 100644 old_docs/API_docs_v95/constructors/messages.highScores.md create mode 100644 old_docs/API_docs_v95/constructors/messages.messageEditData.md create mode 100644 old_docs/API_docs_v95/constructors/messages.messages.md create mode 100644 old_docs/API_docs_v95/constructors/messages.messagesNotModified.md create mode 100644 old_docs/API_docs_v95/constructors/messages.messagesSlice.md create mode 100644 old_docs/API_docs_v95/constructors/messages.peerDialogs.md create mode 100644 old_docs/API_docs_v95/constructors/messages.recentStickers.md create mode 100644 old_docs/API_docs_v95/constructors/messages.recentStickersNotModified.md create mode 100644 old_docs/API_docs_v95/constructors/messages.savedGifs.md create mode 100644 old_docs/API_docs_v95/constructors/messages.savedGifsNotModified.md create mode 100644 old_docs/API_docs_v95/constructors/messages.sentEncryptedFile.md create mode 100644 old_docs/API_docs_v95/constructors/messages.sentEncryptedMessage.md create mode 100644 old_docs/API_docs_v95/constructors/messages.stickerSet.md create mode 100644 old_docs/API_docs_v95/constructors/messages.stickerSetInstallResultArchive.md create mode 100644 old_docs/API_docs_v95/constructors/messages.stickerSetInstallResultSuccess.md create mode 100644 old_docs/API_docs_v95/constructors/messages.stickers.md create mode 100644 old_docs/API_docs_v95/constructors/messages.stickersNotModified.md delete mode 100644 old_docs/API_docs_v95/constructors/messages_affectedHistory.md delete mode 100644 old_docs/API_docs_v95/constructors/messages_affectedMessages.md delete mode 100644 old_docs/API_docs_v95/constructors/messages_allStickers.md delete mode 100644 old_docs/API_docs_v95/constructors/messages_allStickersNotModified.md delete mode 100644 old_docs/API_docs_v95/constructors/messages_archivedStickers.md delete mode 100644 old_docs/API_docs_v95/constructors/messages_botCallbackAnswer.md delete mode 100644 old_docs/API_docs_v95/constructors/messages_botResults.md delete mode 100644 old_docs/API_docs_v95/constructors/messages_channelMessages.md delete mode 100644 old_docs/API_docs_v95/constructors/messages_chatFull.md delete mode 100644 old_docs/API_docs_v95/constructors/messages_chats.md delete mode 100644 old_docs/API_docs_v95/constructors/messages_chatsSlice.md delete mode 100644 old_docs/API_docs_v95/constructors/messages_dhConfig.md delete mode 100644 old_docs/API_docs_v95/constructors/messages_dhConfigNotModified.md delete mode 100644 old_docs/API_docs_v95/constructors/messages_dialogs.md delete mode 100644 old_docs/API_docs_v95/constructors/messages_dialogsNotModified.md delete mode 100644 old_docs/API_docs_v95/constructors/messages_dialogsSlice.md delete mode 100644 old_docs/API_docs_v95/constructors/messages_favedStickers.md delete mode 100644 old_docs/API_docs_v95/constructors/messages_favedStickersNotModified.md delete mode 100644 old_docs/API_docs_v95/constructors/messages_featuredStickers.md delete mode 100644 old_docs/API_docs_v95/constructors/messages_featuredStickersNotModified.md delete mode 100644 old_docs/API_docs_v95/constructors/messages_foundGifs.md delete mode 100644 old_docs/API_docs_v95/constructors/messages_foundStickerSets.md delete mode 100644 old_docs/API_docs_v95/constructors/messages_foundStickerSetsNotModified.md delete mode 100644 old_docs/API_docs_v95/constructors/messages_highScores.md delete mode 100644 old_docs/API_docs_v95/constructors/messages_messageEditData.md delete mode 100644 old_docs/API_docs_v95/constructors/messages_messages.md delete mode 100644 old_docs/API_docs_v95/constructors/messages_messagesNotModified.md delete mode 100644 old_docs/API_docs_v95/constructors/messages_messagesSlice.md delete mode 100644 old_docs/API_docs_v95/constructors/messages_peerDialogs.md delete mode 100644 old_docs/API_docs_v95/constructors/messages_recentStickers.md delete mode 100644 old_docs/API_docs_v95/constructors/messages_recentStickersNotModified.md delete mode 100644 old_docs/API_docs_v95/constructors/messages_savedGifs.md delete mode 100644 old_docs/API_docs_v95/constructors/messages_savedGifsNotModified.md delete mode 100644 old_docs/API_docs_v95/constructors/messages_sentEncryptedFile.md delete mode 100644 old_docs/API_docs_v95/constructors/messages_sentEncryptedMessage.md delete mode 100644 old_docs/API_docs_v95/constructors/messages_stickerSet.md delete mode 100644 old_docs/API_docs_v95/constructors/messages_stickerSetInstallResultArchive.md delete mode 100644 old_docs/API_docs_v95/constructors/messages_stickerSetInstallResultSuccess.md delete mode 100644 old_docs/API_docs_v95/constructors/messages_stickers.md delete mode 100644 old_docs/API_docs_v95/constructors/messages_stickersNotModified.md create mode 100644 old_docs/API_docs_v95/constructors/payments.paymentForm.md create mode 100644 old_docs/API_docs_v95/constructors/payments.paymentReceipt.md create mode 100644 old_docs/API_docs_v95/constructors/payments.paymentResult.md create mode 100644 old_docs/API_docs_v95/constructors/payments.paymentVerficationNeeded.md create mode 100644 old_docs/API_docs_v95/constructors/payments.savedInfo.md create mode 100644 old_docs/API_docs_v95/constructors/payments.validatedRequestedInfo.md delete mode 100644 old_docs/API_docs_v95/constructors/payments_paymentForm.md delete mode 100644 old_docs/API_docs_v95/constructors/payments_paymentReceipt.md delete mode 100644 old_docs/API_docs_v95/constructors/payments_paymentResult.md delete mode 100644 old_docs/API_docs_v95/constructors/payments_paymentVerficationNeeded.md delete mode 100644 old_docs/API_docs_v95/constructors/payments_savedInfo.md delete mode 100644 old_docs/API_docs_v95/constructors/payments_validatedRequestedInfo.md create mode 100644 old_docs/API_docs_v95/constructors/phone.phoneCall.md delete mode 100644 old_docs/API_docs_v95/constructors/phone_phoneCall.md create mode 100644 old_docs/API_docs_v95/constructors/photos.photo.md create mode 100644 old_docs/API_docs_v95/constructors/photos.photos.md create mode 100644 old_docs/API_docs_v95/constructors/photos.photosSlice.md delete mode 100644 old_docs/API_docs_v95/constructors/photos_photo.md delete mode 100644 old_docs/API_docs_v95/constructors/photos_photos.md delete mode 100644 old_docs/API_docs_v95/constructors/photos_photosSlice.md create mode 100644 old_docs/API_docs_v95/constructors/storage.fileGif.md create mode 100644 old_docs/API_docs_v95/constructors/storage.fileJpeg.md create mode 100644 old_docs/API_docs_v95/constructors/storage.fileMov.md create mode 100644 old_docs/API_docs_v95/constructors/storage.fileMp3.md create mode 100644 old_docs/API_docs_v95/constructors/storage.fileMp4.md create mode 100644 old_docs/API_docs_v95/constructors/storage.filePartial.md create mode 100644 old_docs/API_docs_v95/constructors/storage.filePdf.md create mode 100644 old_docs/API_docs_v95/constructors/storage.filePng.md create mode 100644 old_docs/API_docs_v95/constructors/storage.fileUnknown.md create mode 100644 old_docs/API_docs_v95/constructors/storage.fileWebp.md delete mode 100644 old_docs/API_docs_v95/constructors/storage_fileGif.md delete mode 100644 old_docs/API_docs_v95/constructors/storage_fileJpeg.md delete mode 100644 old_docs/API_docs_v95/constructors/storage_fileMov.md delete mode 100644 old_docs/API_docs_v95/constructors/storage_fileMp3.md delete mode 100644 old_docs/API_docs_v95/constructors/storage_fileMp4.md delete mode 100644 old_docs/API_docs_v95/constructors/storage_filePartial.md delete mode 100644 old_docs/API_docs_v95/constructors/storage_filePdf.md delete mode 100644 old_docs/API_docs_v95/constructors/storage_filePng.md delete mode 100644 old_docs/API_docs_v95/constructors/storage_fileUnknown.md delete mode 100644 old_docs/API_docs_v95/constructors/storage_fileWebp.md create mode 100644 old_docs/API_docs_v95/constructors/updates.channelDifference.md create mode 100644 old_docs/API_docs_v95/constructors/updates.channelDifferenceEmpty.md create mode 100644 old_docs/API_docs_v95/constructors/updates.channelDifferenceTooLong.md create mode 100644 old_docs/API_docs_v95/constructors/updates.difference.md create mode 100644 old_docs/API_docs_v95/constructors/updates.differenceEmpty.md create mode 100644 old_docs/API_docs_v95/constructors/updates.differenceSlice.md create mode 100644 old_docs/API_docs_v95/constructors/updates.differenceTooLong.md create mode 100644 old_docs/API_docs_v95/constructors/updates.state.md delete mode 100644 old_docs/API_docs_v95/constructors/updates_channelDifference.md delete mode 100644 old_docs/API_docs_v95/constructors/updates_channelDifferenceEmpty.md delete mode 100644 old_docs/API_docs_v95/constructors/updates_channelDifferenceTooLong.md delete mode 100644 old_docs/API_docs_v95/constructors/updates_difference.md delete mode 100644 old_docs/API_docs_v95/constructors/updates_differenceEmpty.md delete mode 100644 old_docs/API_docs_v95/constructors/updates_differenceSlice.md delete mode 100644 old_docs/API_docs_v95/constructors/updates_differenceTooLong.md delete mode 100644 old_docs/API_docs_v95/constructors/updates_state.md create mode 100644 old_docs/API_docs_v95/constructors/upload.cdnFile.md create mode 100644 old_docs/API_docs_v95/constructors/upload.cdnFileReuploadNeeded.md create mode 100644 old_docs/API_docs_v95/constructors/upload.file.md create mode 100644 old_docs/API_docs_v95/constructors/upload.fileCdnRedirect.md create mode 100644 old_docs/API_docs_v95/constructors/upload.webFile.md delete mode 100644 old_docs/API_docs_v95/constructors/upload_cdnFile.md delete mode 100644 old_docs/API_docs_v95/constructors/upload_cdnFileReuploadNeeded.md delete mode 100644 old_docs/API_docs_v95/constructors/upload_file.md delete mode 100644 old_docs/API_docs_v95/constructors/upload_fileCdnRedirect.md delete mode 100644 old_docs/API_docs_v95/constructors/upload_webFile.md create mode 100644 old_docs/API_docs_v95/types/account.AuthorizationForm.md create mode 100644 old_docs/API_docs_v95/types/account.Authorizations.md create mode 100644 old_docs/API_docs_v95/types/account.Password.md create mode 100644 old_docs/API_docs_v95/types/account.PasswordInputSettings.md create mode 100644 old_docs/API_docs_v95/types/account.PasswordSettings.md create mode 100644 old_docs/API_docs_v95/types/account.PrivacyRules.md create mode 100644 old_docs/API_docs_v95/types/account.SentEmailCode.md create mode 100644 old_docs/API_docs_v95/types/account.Takeout.md create mode 100644 old_docs/API_docs_v95/types/account.TmpPassword.md create mode 100644 old_docs/API_docs_v95/types/account.WallPapers.md create mode 100644 old_docs/API_docs_v95/types/account.WebAuthorizations.md delete mode 100644 old_docs/API_docs_v95/types/account_AuthorizationForm.md delete mode 100644 old_docs/API_docs_v95/types/account_Authorizations.md delete mode 100644 old_docs/API_docs_v95/types/account_Password.md delete mode 100644 old_docs/API_docs_v95/types/account_PasswordInputSettings.md delete mode 100644 old_docs/API_docs_v95/types/account_PasswordSettings.md delete mode 100644 old_docs/API_docs_v95/types/account_PrivacyRules.md delete mode 100644 old_docs/API_docs_v95/types/account_SentEmailCode.md delete mode 100644 old_docs/API_docs_v95/types/account_Takeout.md delete mode 100644 old_docs/API_docs_v95/types/account_TmpPassword.md delete mode 100644 old_docs/API_docs_v95/types/account_WallPapers.md delete mode 100644 old_docs/API_docs_v95/types/account_WebAuthorizations.md create mode 100644 old_docs/API_docs_v95/types/auth.Authorization.md create mode 100644 old_docs/API_docs_v95/types/auth.CheckedPhone.md create mode 100644 old_docs/API_docs_v95/types/auth.CodeType.md create mode 100644 old_docs/API_docs_v95/types/auth.ExportedAuthorization.md create mode 100644 old_docs/API_docs_v95/types/auth.PasswordRecovery.md create mode 100644 old_docs/API_docs_v95/types/auth.SentCode.md create mode 100644 old_docs/API_docs_v95/types/auth.SentCodeType.md delete mode 100644 old_docs/API_docs_v95/types/auth_Authorization.md delete mode 100644 old_docs/API_docs_v95/types/auth_CheckedPhone.md delete mode 100644 old_docs/API_docs_v95/types/auth_CodeType.md delete mode 100644 old_docs/API_docs_v95/types/auth_ExportedAuthorization.md delete mode 100644 old_docs/API_docs_v95/types/auth_PasswordRecovery.md delete mode 100644 old_docs/API_docs_v95/types/auth_SentCode.md delete mode 100644 old_docs/API_docs_v95/types/auth_SentCodeType.md create mode 100644 old_docs/API_docs_v95/types/channels.AdminLogResults.md create mode 100644 old_docs/API_docs_v95/types/channels.ChannelParticipant.md create mode 100644 old_docs/API_docs_v95/types/channels.ChannelParticipants.md delete mode 100644 old_docs/API_docs_v95/types/channels_AdminLogResults.md delete mode 100644 old_docs/API_docs_v95/types/channels_ChannelParticipant.md delete mode 100644 old_docs/API_docs_v95/types/channels_ChannelParticipants.md create mode 100644 old_docs/API_docs_v95/types/contacts.Blocked.md create mode 100644 old_docs/API_docs_v95/types/contacts.Contacts.md create mode 100644 old_docs/API_docs_v95/types/contacts.Found.md create mode 100644 old_docs/API_docs_v95/types/contacts.ImportedContacts.md create mode 100644 old_docs/API_docs_v95/types/contacts.Link.md create mode 100644 old_docs/API_docs_v95/types/contacts.ResolvedPeer.md create mode 100644 old_docs/API_docs_v95/types/contacts.TopPeers.md delete mode 100644 old_docs/API_docs_v95/types/contacts_Blocked.md delete mode 100644 old_docs/API_docs_v95/types/contacts_Contacts.md delete mode 100644 old_docs/API_docs_v95/types/contacts_Found.md delete mode 100644 old_docs/API_docs_v95/types/contacts_ImportedContacts.md delete mode 100644 old_docs/API_docs_v95/types/contacts_Link.md delete mode 100644 old_docs/API_docs_v95/types/contacts_ResolvedPeer.md delete mode 100644 old_docs/API_docs_v95/types/contacts_TopPeers.md create mode 100644 old_docs/API_docs_v95/types/help.AppUpdate.md create mode 100644 old_docs/API_docs_v95/types/help.ConfigSimple.md create mode 100644 old_docs/API_docs_v95/types/help.DeepLinkInfo.md create mode 100644 old_docs/API_docs_v95/types/help.InviteText.md create mode 100644 old_docs/API_docs_v95/types/help.PassportConfig.md create mode 100644 old_docs/API_docs_v95/types/help.ProxyData.md create mode 100644 old_docs/API_docs_v95/types/help.RecentMeUrls.md create mode 100644 old_docs/API_docs_v95/types/help.Support.md create mode 100644 old_docs/API_docs_v95/types/help.SupportName.md create mode 100644 old_docs/API_docs_v95/types/help.TermsOfService.md create mode 100644 old_docs/API_docs_v95/types/help.TermsOfServiceUpdate.md create mode 100644 old_docs/API_docs_v95/types/help.UserInfo.md delete mode 100644 old_docs/API_docs_v95/types/help_AppUpdate.md delete mode 100644 old_docs/API_docs_v95/types/help_ConfigSimple.md delete mode 100644 old_docs/API_docs_v95/types/help_DeepLinkInfo.md delete mode 100644 old_docs/API_docs_v95/types/help_InviteText.md delete mode 100644 old_docs/API_docs_v95/types/help_PassportConfig.md delete mode 100644 old_docs/API_docs_v95/types/help_ProxyData.md delete mode 100644 old_docs/API_docs_v95/types/help_RecentMeUrls.md delete mode 100644 old_docs/API_docs_v95/types/help_Support.md delete mode 100644 old_docs/API_docs_v95/types/help_SupportName.md delete mode 100644 old_docs/API_docs_v95/types/help_TermsOfService.md delete mode 100644 old_docs/API_docs_v95/types/help_TermsOfServiceUpdate.md delete mode 100644 old_docs/API_docs_v95/types/help_UserInfo.md create mode 100644 old_docs/API_docs_v95/types/messages.AffectedHistory.md create mode 100644 old_docs/API_docs_v95/types/messages.AffectedMessages.md create mode 100644 old_docs/API_docs_v95/types/messages.AllStickers.md create mode 100644 old_docs/API_docs_v95/types/messages.ArchivedStickers.md create mode 100644 old_docs/API_docs_v95/types/messages.BotCallbackAnswer.md create mode 100644 old_docs/API_docs_v95/types/messages.BotResults.md create mode 100644 old_docs/API_docs_v95/types/messages.ChatFull.md create mode 100644 old_docs/API_docs_v95/types/messages.Chats.md create mode 100644 old_docs/API_docs_v95/types/messages.DhConfig.md create mode 100644 old_docs/API_docs_v95/types/messages.Dialogs.md create mode 100644 old_docs/API_docs_v95/types/messages.FavedStickers.md create mode 100644 old_docs/API_docs_v95/types/messages.FeaturedStickers.md create mode 100644 old_docs/API_docs_v95/types/messages.FoundGifs.md create mode 100644 old_docs/API_docs_v95/types/messages.FoundStickerSets.md create mode 100644 old_docs/API_docs_v95/types/messages.HighScores.md create mode 100644 old_docs/API_docs_v95/types/messages.MessageEditData.md create mode 100644 old_docs/API_docs_v95/types/messages.Messages.md create mode 100644 old_docs/API_docs_v95/types/messages.PeerDialogs.md create mode 100644 old_docs/API_docs_v95/types/messages.RecentStickers.md create mode 100644 old_docs/API_docs_v95/types/messages.SavedGifs.md create mode 100644 old_docs/API_docs_v95/types/messages.SentEncryptedMessage.md create mode 100644 old_docs/API_docs_v95/types/messages.StickerSet.md create mode 100644 old_docs/API_docs_v95/types/messages.StickerSetInstallResult.md create mode 100644 old_docs/API_docs_v95/types/messages.Stickers.md delete mode 100644 old_docs/API_docs_v95/types/messages_AffectedHistory.md delete mode 100644 old_docs/API_docs_v95/types/messages_AffectedMessages.md delete mode 100644 old_docs/API_docs_v95/types/messages_AllStickers.md delete mode 100644 old_docs/API_docs_v95/types/messages_ArchivedStickers.md delete mode 100644 old_docs/API_docs_v95/types/messages_BotCallbackAnswer.md delete mode 100644 old_docs/API_docs_v95/types/messages_BotResults.md delete mode 100644 old_docs/API_docs_v95/types/messages_ChatFull.md delete mode 100644 old_docs/API_docs_v95/types/messages_Chats.md delete mode 100644 old_docs/API_docs_v95/types/messages_DhConfig.md delete mode 100644 old_docs/API_docs_v95/types/messages_Dialogs.md delete mode 100644 old_docs/API_docs_v95/types/messages_FavedStickers.md delete mode 100644 old_docs/API_docs_v95/types/messages_FeaturedStickers.md delete mode 100644 old_docs/API_docs_v95/types/messages_FoundGifs.md delete mode 100644 old_docs/API_docs_v95/types/messages_FoundStickerSets.md delete mode 100644 old_docs/API_docs_v95/types/messages_HighScores.md delete mode 100644 old_docs/API_docs_v95/types/messages_MessageEditData.md delete mode 100644 old_docs/API_docs_v95/types/messages_Messages.md delete mode 100644 old_docs/API_docs_v95/types/messages_PeerDialogs.md delete mode 100644 old_docs/API_docs_v95/types/messages_RecentStickers.md delete mode 100644 old_docs/API_docs_v95/types/messages_SavedGifs.md delete mode 100644 old_docs/API_docs_v95/types/messages_SentEncryptedMessage.md delete mode 100644 old_docs/API_docs_v95/types/messages_StickerSet.md delete mode 100644 old_docs/API_docs_v95/types/messages_StickerSetInstallResult.md delete mode 100644 old_docs/API_docs_v95/types/messages_Stickers.md create mode 100644 old_docs/API_docs_v95/types/payments.PaymentForm.md create mode 100644 old_docs/API_docs_v95/types/payments.PaymentReceipt.md create mode 100644 old_docs/API_docs_v95/types/payments.PaymentResult.md create mode 100644 old_docs/API_docs_v95/types/payments.SavedInfo.md create mode 100644 old_docs/API_docs_v95/types/payments.ValidatedRequestedInfo.md delete mode 100644 old_docs/API_docs_v95/types/payments_PaymentForm.md delete mode 100644 old_docs/API_docs_v95/types/payments_PaymentReceipt.md delete mode 100644 old_docs/API_docs_v95/types/payments_PaymentResult.md delete mode 100644 old_docs/API_docs_v95/types/payments_SavedInfo.md delete mode 100644 old_docs/API_docs_v95/types/payments_ValidatedRequestedInfo.md create mode 100644 old_docs/API_docs_v95/types/phone.PhoneCall.md delete mode 100644 old_docs/API_docs_v95/types/phone_PhoneCall.md create mode 100644 old_docs/API_docs_v95/types/photos.Photo.md create mode 100644 old_docs/API_docs_v95/types/photos.Photos.md delete mode 100644 old_docs/API_docs_v95/types/photos_Photo.md delete mode 100644 old_docs/API_docs_v95/types/photos_Photos.md create mode 100644 old_docs/API_docs_v95/types/storage.FileType.md delete mode 100644 old_docs/API_docs_v95/types/storage_FileType.md create mode 100644 old_docs/API_docs_v95/types/updates.ChannelDifference.md create mode 100644 old_docs/API_docs_v95/types/updates.Difference.md create mode 100644 old_docs/API_docs_v95/types/updates.State.md delete mode 100644 old_docs/API_docs_v95/types/updates_ChannelDifference.md delete mode 100644 old_docs/API_docs_v95/types/updates_Difference.md delete mode 100644 old_docs/API_docs_v95/types/updates_State.md create mode 100644 old_docs/API_docs_v95/types/upload.CdnFile.md create mode 100644 old_docs/API_docs_v95/types/upload.File.md create mode 100644 old_docs/API_docs_v95/types/upload.WebFile.md delete mode 100644 old_docs/API_docs_v95/types/upload_CdnFile.md delete mode 100644 old_docs/API_docs_v95/types/upload_File.md delete mode 100644 old_docs/API_docs_v95/types/upload_WebFile.md create mode 100644 old_docs/API_docs_v97/constructors/account.authorizationForm.md create mode 100644 old_docs/API_docs_v97/constructors/account.authorizations.md create mode 100644 old_docs/API_docs_v97/constructors/account.autoDownloadSettings.md create mode 100644 old_docs/API_docs_v97/constructors/account.password.md create mode 100644 old_docs/API_docs_v97/constructors/account.passwordInputSettings.md create mode 100644 old_docs/API_docs_v97/constructors/account.passwordSettings.md create mode 100644 old_docs/API_docs_v97/constructors/account.privacyRules.md create mode 100644 old_docs/API_docs_v97/constructors/account.sentEmailCode.md create mode 100644 old_docs/API_docs_v97/constructors/account.takeout.md create mode 100644 old_docs/API_docs_v97/constructors/account.tmpPassword.md create mode 100644 old_docs/API_docs_v97/constructors/account.wallPapers.md create mode 100644 old_docs/API_docs_v97/constructors/account.wallPapersNotModified.md create mode 100644 old_docs/API_docs_v97/constructors/account.webAuthorizations.md delete mode 100644 old_docs/API_docs_v97/constructors/account_authorizationForm.md delete mode 100644 old_docs/API_docs_v97/constructors/account_authorizations.md delete mode 100644 old_docs/API_docs_v97/constructors/account_autoDownloadSettings.md delete mode 100644 old_docs/API_docs_v97/constructors/account_password.md delete mode 100644 old_docs/API_docs_v97/constructors/account_passwordInputSettings.md delete mode 100644 old_docs/API_docs_v97/constructors/account_passwordSettings.md delete mode 100644 old_docs/API_docs_v97/constructors/account_privacyRules.md delete mode 100644 old_docs/API_docs_v97/constructors/account_sentEmailCode.md delete mode 100644 old_docs/API_docs_v97/constructors/account_takeout.md delete mode 100644 old_docs/API_docs_v97/constructors/account_tmpPassword.md delete mode 100644 old_docs/API_docs_v97/constructors/account_wallPapers.md delete mode 100644 old_docs/API_docs_v97/constructors/account_wallPapersNotModified.md delete mode 100644 old_docs/API_docs_v97/constructors/account_webAuthorizations.md create mode 100644 old_docs/API_docs_v97/constructors/auth.authorization.md create mode 100644 old_docs/API_docs_v97/constructors/auth.checkedPhone.md create mode 100644 old_docs/API_docs_v97/constructors/auth.codeTypeCall.md create mode 100644 old_docs/API_docs_v97/constructors/auth.codeTypeFlashCall.md create mode 100644 old_docs/API_docs_v97/constructors/auth.codeTypeSms.md create mode 100644 old_docs/API_docs_v97/constructors/auth.exportedAuthorization.md create mode 100644 old_docs/API_docs_v97/constructors/auth.passwordRecovery.md create mode 100644 old_docs/API_docs_v97/constructors/auth.sentCode.md create mode 100644 old_docs/API_docs_v97/constructors/auth.sentCodeTypeApp.md create mode 100644 old_docs/API_docs_v97/constructors/auth.sentCodeTypeCall.md create mode 100644 old_docs/API_docs_v97/constructors/auth.sentCodeTypeFlashCall.md create mode 100644 old_docs/API_docs_v97/constructors/auth.sentCodeTypeSms.md delete mode 100644 old_docs/API_docs_v97/constructors/auth_authorization.md delete mode 100644 old_docs/API_docs_v97/constructors/auth_checkedPhone.md delete mode 100644 old_docs/API_docs_v97/constructors/auth_codeTypeCall.md delete mode 100644 old_docs/API_docs_v97/constructors/auth_codeTypeFlashCall.md delete mode 100644 old_docs/API_docs_v97/constructors/auth_codeTypeSms.md delete mode 100644 old_docs/API_docs_v97/constructors/auth_exportedAuthorization.md delete mode 100644 old_docs/API_docs_v97/constructors/auth_passwordRecovery.md delete mode 100644 old_docs/API_docs_v97/constructors/auth_sentCode.md delete mode 100644 old_docs/API_docs_v97/constructors/auth_sentCodeTypeApp.md delete mode 100644 old_docs/API_docs_v97/constructors/auth_sentCodeTypeCall.md delete mode 100644 old_docs/API_docs_v97/constructors/auth_sentCodeTypeFlashCall.md delete mode 100644 old_docs/API_docs_v97/constructors/auth_sentCodeTypeSms.md create mode 100644 old_docs/API_docs_v97/constructors/channels.adminLogResults.md create mode 100644 old_docs/API_docs_v97/constructors/channels.channelParticipant.md create mode 100644 old_docs/API_docs_v97/constructors/channels.channelParticipants.md create mode 100644 old_docs/API_docs_v97/constructors/channels.channelParticipantsNotModified.md delete mode 100644 old_docs/API_docs_v97/constructors/channels_adminLogResults.md delete mode 100644 old_docs/API_docs_v97/constructors/channels_channelParticipant.md delete mode 100644 old_docs/API_docs_v97/constructors/channels_channelParticipants.md delete mode 100644 old_docs/API_docs_v97/constructors/channels_channelParticipantsNotModified.md create mode 100644 old_docs/API_docs_v97/constructors/contacts.blocked.md create mode 100644 old_docs/API_docs_v97/constructors/contacts.blockedSlice.md create mode 100644 old_docs/API_docs_v97/constructors/contacts.contacts.md create mode 100644 old_docs/API_docs_v97/constructors/contacts.contactsNotModified.md create mode 100644 old_docs/API_docs_v97/constructors/contacts.found.md create mode 100644 old_docs/API_docs_v97/constructors/contacts.importedContacts.md create mode 100644 old_docs/API_docs_v97/constructors/contacts.link.md create mode 100644 old_docs/API_docs_v97/constructors/contacts.resolvedPeer.md create mode 100644 old_docs/API_docs_v97/constructors/contacts.topPeers.md create mode 100644 old_docs/API_docs_v97/constructors/contacts.topPeersDisabled.md create mode 100644 old_docs/API_docs_v97/constructors/contacts.topPeersNotModified.md delete mode 100644 old_docs/API_docs_v97/constructors/contacts_blocked.md delete mode 100644 old_docs/API_docs_v97/constructors/contacts_blockedSlice.md delete mode 100644 old_docs/API_docs_v97/constructors/contacts_contacts.md delete mode 100644 old_docs/API_docs_v97/constructors/contacts_contactsNotModified.md delete mode 100644 old_docs/API_docs_v97/constructors/contacts_found.md delete mode 100644 old_docs/API_docs_v97/constructors/contacts_importedContacts.md delete mode 100644 old_docs/API_docs_v97/constructors/contacts_link.md delete mode 100644 old_docs/API_docs_v97/constructors/contacts_resolvedPeer.md delete mode 100644 old_docs/API_docs_v97/constructors/contacts_topPeers.md delete mode 100644 old_docs/API_docs_v97/constructors/contacts_topPeersDisabled.md delete mode 100644 old_docs/API_docs_v97/constructors/contacts_topPeersNotModified.md create mode 100644 old_docs/API_docs_v97/constructors/help.appUpdate.md create mode 100644 old_docs/API_docs_v97/constructors/help.configSimple.md create mode 100644 old_docs/API_docs_v97/constructors/help.deepLinkInfo.md create mode 100644 old_docs/API_docs_v97/constructors/help.deepLinkInfoEmpty.md create mode 100644 old_docs/API_docs_v97/constructors/help.inviteText.md create mode 100644 old_docs/API_docs_v97/constructors/help.noAppUpdate.md create mode 100644 old_docs/API_docs_v97/constructors/help.passportConfig.md create mode 100644 old_docs/API_docs_v97/constructors/help.passportConfigNotModified.md create mode 100644 old_docs/API_docs_v97/constructors/help.proxyDataEmpty.md create mode 100644 old_docs/API_docs_v97/constructors/help.proxyDataPromo.md create mode 100644 old_docs/API_docs_v97/constructors/help.recentMeUrls.md create mode 100644 old_docs/API_docs_v97/constructors/help.support.md create mode 100644 old_docs/API_docs_v97/constructors/help.supportName.md create mode 100644 old_docs/API_docs_v97/constructors/help.termsOfService.md create mode 100644 old_docs/API_docs_v97/constructors/help.termsOfServiceUpdate.md create mode 100644 old_docs/API_docs_v97/constructors/help.termsOfServiceUpdateEmpty.md create mode 100644 old_docs/API_docs_v97/constructors/help.userInfo.md create mode 100644 old_docs/API_docs_v97/constructors/help.userInfoEmpty.md delete mode 100644 old_docs/API_docs_v97/constructors/help_appUpdate.md delete mode 100644 old_docs/API_docs_v97/constructors/help_configSimple.md delete mode 100644 old_docs/API_docs_v97/constructors/help_deepLinkInfo.md delete mode 100644 old_docs/API_docs_v97/constructors/help_deepLinkInfoEmpty.md delete mode 100644 old_docs/API_docs_v97/constructors/help_inviteText.md delete mode 100644 old_docs/API_docs_v97/constructors/help_noAppUpdate.md delete mode 100644 old_docs/API_docs_v97/constructors/help_passportConfig.md delete mode 100644 old_docs/API_docs_v97/constructors/help_passportConfigNotModified.md delete mode 100644 old_docs/API_docs_v97/constructors/help_proxyDataEmpty.md delete mode 100644 old_docs/API_docs_v97/constructors/help_proxyDataPromo.md delete mode 100644 old_docs/API_docs_v97/constructors/help_recentMeUrls.md delete mode 100644 old_docs/API_docs_v97/constructors/help_support.md delete mode 100644 old_docs/API_docs_v97/constructors/help_supportName.md delete mode 100644 old_docs/API_docs_v97/constructors/help_termsOfService.md delete mode 100644 old_docs/API_docs_v97/constructors/help_termsOfServiceUpdate.md delete mode 100644 old_docs/API_docs_v97/constructors/help_termsOfServiceUpdateEmpty.md delete mode 100644 old_docs/API_docs_v97/constructors/help_userInfo.md delete mode 100644 old_docs/API_docs_v97/constructors/help_userInfoEmpty.md create mode 100644 old_docs/API_docs_v97/constructors/messages.affectedHistory.md create mode 100644 old_docs/API_docs_v97/constructors/messages.affectedMessages.md create mode 100644 old_docs/API_docs_v97/constructors/messages.allStickers.md create mode 100644 old_docs/API_docs_v97/constructors/messages.allStickersNotModified.md create mode 100644 old_docs/API_docs_v97/constructors/messages.archivedStickers.md create mode 100644 old_docs/API_docs_v97/constructors/messages.botCallbackAnswer.md create mode 100644 old_docs/API_docs_v97/constructors/messages.botResults.md create mode 100644 old_docs/API_docs_v97/constructors/messages.channelMessages.md create mode 100644 old_docs/API_docs_v97/constructors/messages.chatFull.md create mode 100644 old_docs/API_docs_v97/constructors/messages.chats.md create mode 100644 old_docs/API_docs_v97/constructors/messages.chatsSlice.md create mode 100644 old_docs/API_docs_v97/constructors/messages.dhConfig.md create mode 100644 old_docs/API_docs_v97/constructors/messages.dhConfigNotModified.md create mode 100644 old_docs/API_docs_v97/constructors/messages.dialogs.md create mode 100644 old_docs/API_docs_v97/constructors/messages.dialogsNotModified.md create mode 100644 old_docs/API_docs_v97/constructors/messages.dialogsSlice.md create mode 100644 old_docs/API_docs_v97/constructors/messages.favedStickers.md create mode 100644 old_docs/API_docs_v97/constructors/messages.favedStickersNotModified.md create mode 100644 old_docs/API_docs_v97/constructors/messages.featuredStickers.md create mode 100644 old_docs/API_docs_v97/constructors/messages.featuredStickersNotModified.md create mode 100644 old_docs/API_docs_v97/constructors/messages.foundGifs.md create mode 100644 old_docs/API_docs_v97/constructors/messages.foundStickerSets.md create mode 100644 old_docs/API_docs_v97/constructors/messages.foundStickerSetsNotModified.md create mode 100644 old_docs/API_docs_v97/constructors/messages.highScores.md create mode 100644 old_docs/API_docs_v97/constructors/messages.messageEditData.md create mode 100644 old_docs/API_docs_v97/constructors/messages.messages.md create mode 100644 old_docs/API_docs_v97/constructors/messages.messagesNotModified.md create mode 100644 old_docs/API_docs_v97/constructors/messages.messagesSlice.md create mode 100644 old_docs/API_docs_v97/constructors/messages.peerDialogs.md create mode 100644 old_docs/API_docs_v97/constructors/messages.recentStickers.md create mode 100644 old_docs/API_docs_v97/constructors/messages.recentStickersNotModified.md create mode 100644 old_docs/API_docs_v97/constructors/messages.savedGifs.md create mode 100644 old_docs/API_docs_v97/constructors/messages.savedGifsNotModified.md create mode 100644 old_docs/API_docs_v97/constructors/messages.sentEncryptedFile.md create mode 100644 old_docs/API_docs_v97/constructors/messages.sentEncryptedMessage.md create mode 100644 old_docs/API_docs_v97/constructors/messages.stickerSet.md create mode 100644 old_docs/API_docs_v97/constructors/messages.stickerSetInstallResultArchive.md create mode 100644 old_docs/API_docs_v97/constructors/messages.stickerSetInstallResultSuccess.md create mode 100644 old_docs/API_docs_v97/constructors/messages.stickers.md create mode 100644 old_docs/API_docs_v97/constructors/messages.stickersNotModified.md delete mode 100644 old_docs/API_docs_v97/constructors/messages_affectedHistory.md delete mode 100644 old_docs/API_docs_v97/constructors/messages_affectedMessages.md delete mode 100644 old_docs/API_docs_v97/constructors/messages_allStickers.md delete mode 100644 old_docs/API_docs_v97/constructors/messages_allStickersNotModified.md delete mode 100644 old_docs/API_docs_v97/constructors/messages_archivedStickers.md delete mode 100644 old_docs/API_docs_v97/constructors/messages_botCallbackAnswer.md delete mode 100644 old_docs/API_docs_v97/constructors/messages_botResults.md delete mode 100644 old_docs/API_docs_v97/constructors/messages_channelMessages.md delete mode 100644 old_docs/API_docs_v97/constructors/messages_chatFull.md delete mode 100644 old_docs/API_docs_v97/constructors/messages_chats.md delete mode 100644 old_docs/API_docs_v97/constructors/messages_chatsSlice.md delete mode 100644 old_docs/API_docs_v97/constructors/messages_dhConfig.md delete mode 100644 old_docs/API_docs_v97/constructors/messages_dhConfigNotModified.md delete mode 100644 old_docs/API_docs_v97/constructors/messages_dialogs.md delete mode 100644 old_docs/API_docs_v97/constructors/messages_dialogsNotModified.md delete mode 100644 old_docs/API_docs_v97/constructors/messages_dialogsSlice.md delete mode 100644 old_docs/API_docs_v97/constructors/messages_favedStickers.md delete mode 100644 old_docs/API_docs_v97/constructors/messages_favedStickersNotModified.md delete mode 100644 old_docs/API_docs_v97/constructors/messages_featuredStickers.md delete mode 100644 old_docs/API_docs_v97/constructors/messages_featuredStickersNotModified.md delete mode 100644 old_docs/API_docs_v97/constructors/messages_foundGifs.md delete mode 100644 old_docs/API_docs_v97/constructors/messages_foundStickerSets.md delete mode 100644 old_docs/API_docs_v97/constructors/messages_foundStickerSetsNotModified.md delete mode 100644 old_docs/API_docs_v97/constructors/messages_highScores.md delete mode 100644 old_docs/API_docs_v97/constructors/messages_messageEditData.md delete mode 100644 old_docs/API_docs_v97/constructors/messages_messages.md delete mode 100644 old_docs/API_docs_v97/constructors/messages_messagesNotModified.md delete mode 100644 old_docs/API_docs_v97/constructors/messages_messagesSlice.md delete mode 100644 old_docs/API_docs_v97/constructors/messages_peerDialogs.md delete mode 100644 old_docs/API_docs_v97/constructors/messages_recentStickers.md delete mode 100644 old_docs/API_docs_v97/constructors/messages_recentStickersNotModified.md delete mode 100644 old_docs/API_docs_v97/constructors/messages_savedGifs.md delete mode 100644 old_docs/API_docs_v97/constructors/messages_savedGifsNotModified.md delete mode 100644 old_docs/API_docs_v97/constructors/messages_sentEncryptedFile.md delete mode 100644 old_docs/API_docs_v97/constructors/messages_sentEncryptedMessage.md delete mode 100644 old_docs/API_docs_v97/constructors/messages_stickerSet.md delete mode 100644 old_docs/API_docs_v97/constructors/messages_stickerSetInstallResultArchive.md delete mode 100644 old_docs/API_docs_v97/constructors/messages_stickerSetInstallResultSuccess.md delete mode 100644 old_docs/API_docs_v97/constructors/messages_stickers.md delete mode 100644 old_docs/API_docs_v97/constructors/messages_stickersNotModified.md create mode 100644 old_docs/API_docs_v97/constructors/payments.paymentForm.md create mode 100644 old_docs/API_docs_v97/constructors/payments.paymentReceipt.md create mode 100644 old_docs/API_docs_v97/constructors/payments.paymentResult.md create mode 100644 old_docs/API_docs_v97/constructors/payments.paymentVerficationNeeded.md create mode 100644 old_docs/API_docs_v97/constructors/payments.savedInfo.md create mode 100644 old_docs/API_docs_v97/constructors/payments.validatedRequestedInfo.md delete mode 100644 old_docs/API_docs_v97/constructors/payments_paymentForm.md delete mode 100644 old_docs/API_docs_v97/constructors/payments_paymentReceipt.md delete mode 100644 old_docs/API_docs_v97/constructors/payments_paymentResult.md delete mode 100644 old_docs/API_docs_v97/constructors/payments_paymentVerficationNeeded.md delete mode 100644 old_docs/API_docs_v97/constructors/payments_savedInfo.md delete mode 100644 old_docs/API_docs_v97/constructors/payments_validatedRequestedInfo.md create mode 100644 old_docs/API_docs_v97/constructors/phone.phoneCall.md delete mode 100644 old_docs/API_docs_v97/constructors/phone_phoneCall.md create mode 100644 old_docs/API_docs_v97/constructors/photos.photo.md create mode 100644 old_docs/API_docs_v97/constructors/photos.photos.md create mode 100644 old_docs/API_docs_v97/constructors/photos.photosSlice.md delete mode 100644 old_docs/API_docs_v97/constructors/photos_photo.md delete mode 100644 old_docs/API_docs_v97/constructors/photos_photos.md delete mode 100644 old_docs/API_docs_v97/constructors/photos_photosSlice.md create mode 100644 old_docs/API_docs_v97/constructors/storage.fileGif.md create mode 100644 old_docs/API_docs_v97/constructors/storage.fileJpeg.md create mode 100644 old_docs/API_docs_v97/constructors/storage.fileMov.md create mode 100644 old_docs/API_docs_v97/constructors/storage.fileMp3.md create mode 100644 old_docs/API_docs_v97/constructors/storage.fileMp4.md create mode 100644 old_docs/API_docs_v97/constructors/storage.filePartial.md create mode 100644 old_docs/API_docs_v97/constructors/storage.filePdf.md create mode 100644 old_docs/API_docs_v97/constructors/storage.filePng.md create mode 100644 old_docs/API_docs_v97/constructors/storage.fileUnknown.md create mode 100644 old_docs/API_docs_v97/constructors/storage.fileWebp.md delete mode 100644 old_docs/API_docs_v97/constructors/storage_fileGif.md delete mode 100644 old_docs/API_docs_v97/constructors/storage_fileJpeg.md delete mode 100644 old_docs/API_docs_v97/constructors/storage_fileMov.md delete mode 100644 old_docs/API_docs_v97/constructors/storage_fileMp3.md delete mode 100644 old_docs/API_docs_v97/constructors/storage_fileMp4.md delete mode 100644 old_docs/API_docs_v97/constructors/storage_filePartial.md delete mode 100644 old_docs/API_docs_v97/constructors/storage_filePdf.md delete mode 100644 old_docs/API_docs_v97/constructors/storage_filePng.md delete mode 100644 old_docs/API_docs_v97/constructors/storage_fileUnknown.md delete mode 100644 old_docs/API_docs_v97/constructors/storage_fileWebp.md create mode 100644 old_docs/API_docs_v97/constructors/updates.channelDifference.md create mode 100644 old_docs/API_docs_v97/constructors/updates.channelDifferenceEmpty.md create mode 100644 old_docs/API_docs_v97/constructors/updates.channelDifferenceTooLong.md create mode 100644 old_docs/API_docs_v97/constructors/updates.difference.md create mode 100644 old_docs/API_docs_v97/constructors/updates.differenceEmpty.md create mode 100644 old_docs/API_docs_v97/constructors/updates.differenceSlice.md create mode 100644 old_docs/API_docs_v97/constructors/updates.differenceTooLong.md create mode 100644 old_docs/API_docs_v97/constructors/updates.state.md delete mode 100644 old_docs/API_docs_v97/constructors/updates_channelDifference.md delete mode 100644 old_docs/API_docs_v97/constructors/updates_channelDifferenceEmpty.md delete mode 100644 old_docs/API_docs_v97/constructors/updates_channelDifferenceTooLong.md delete mode 100644 old_docs/API_docs_v97/constructors/updates_difference.md delete mode 100644 old_docs/API_docs_v97/constructors/updates_differenceEmpty.md delete mode 100644 old_docs/API_docs_v97/constructors/updates_differenceSlice.md delete mode 100644 old_docs/API_docs_v97/constructors/updates_differenceTooLong.md delete mode 100644 old_docs/API_docs_v97/constructors/updates_state.md create mode 100644 old_docs/API_docs_v97/constructors/upload.cdnFile.md create mode 100644 old_docs/API_docs_v97/constructors/upload.cdnFileReuploadNeeded.md create mode 100644 old_docs/API_docs_v97/constructors/upload.file.md create mode 100644 old_docs/API_docs_v97/constructors/upload.fileCdnRedirect.md create mode 100644 old_docs/API_docs_v97/constructors/upload.webFile.md delete mode 100644 old_docs/API_docs_v97/constructors/upload_cdnFile.md delete mode 100644 old_docs/API_docs_v97/constructors/upload_cdnFileReuploadNeeded.md delete mode 100644 old_docs/API_docs_v97/constructors/upload_file.md delete mode 100644 old_docs/API_docs_v97/constructors/upload_fileCdnRedirect.md delete mode 100644 old_docs/API_docs_v97/constructors/upload_webFile.md create mode 100644 old_docs/API_docs_v97/types/account.AuthorizationForm.md create mode 100644 old_docs/API_docs_v97/types/account.Authorizations.md create mode 100644 old_docs/API_docs_v97/types/account.AutoDownloadSettings.md create mode 100644 old_docs/API_docs_v97/types/account.Password.md create mode 100644 old_docs/API_docs_v97/types/account.PasswordInputSettings.md create mode 100644 old_docs/API_docs_v97/types/account.PasswordSettings.md create mode 100644 old_docs/API_docs_v97/types/account.PrivacyRules.md create mode 100644 old_docs/API_docs_v97/types/account.SentEmailCode.md create mode 100644 old_docs/API_docs_v97/types/account.Takeout.md create mode 100644 old_docs/API_docs_v97/types/account.TmpPassword.md create mode 100644 old_docs/API_docs_v97/types/account.WallPapers.md create mode 100644 old_docs/API_docs_v97/types/account.WebAuthorizations.md delete mode 100644 old_docs/API_docs_v97/types/account_AuthorizationForm.md delete mode 100644 old_docs/API_docs_v97/types/account_Authorizations.md delete mode 100644 old_docs/API_docs_v97/types/account_AutoDownloadSettings.md delete mode 100644 old_docs/API_docs_v97/types/account_Password.md delete mode 100644 old_docs/API_docs_v97/types/account_PasswordInputSettings.md delete mode 100644 old_docs/API_docs_v97/types/account_PasswordSettings.md delete mode 100644 old_docs/API_docs_v97/types/account_PrivacyRules.md delete mode 100644 old_docs/API_docs_v97/types/account_SentEmailCode.md delete mode 100644 old_docs/API_docs_v97/types/account_Takeout.md delete mode 100644 old_docs/API_docs_v97/types/account_TmpPassword.md delete mode 100644 old_docs/API_docs_v97/types/account_WallPapers.md delete mode 100644 old_docs/API_docs_v97/types/account_WebAuthorizations.md create mode 100644 old_docs/API_docs_v97/types/auth.Authorization.md create mode 100644 old_docs/API_docs_v97/types/auth.CheckedPhone.md create mode 100644 old_docs/API_docs_v97/types/auth.CodeType.md create mode 100644 old_docs/API_docs_v97/types/auth.ExportedAuthorization.md create mode 100644 old_docs/API_docs_v97/types/auth.PasswordRecovery.md create mode 100644 old_docs/API_docs_v97/types/auth.SentCode.md create mode 100644 old_docs/API_docs_v97/types/auth.SentCodeType.md delete mode 100644 old_docs/API_docs_v97/types/auth_Authorization.md delete mode 100644 old_docs/API_docs_v97/types/auth_CheckedPhone.md delete mode 100644 old_docs/API_docs_v97/types/auth_CodeType.md delete mode 100644 old_docs/API_docs_v97/types/auth_ExportedAuthorization.md delete mode 100644 old_docs/API_docs_v97/types/auth_PasswordRecovery.md delete mode 100644 old_docs/API_docs_v97/types/auth_SentCode.md delete mode 100644 old_docs/API_docs_v97/types/auth_SentCodeType.md create mode 100644 old_docs/API_docs_v97/types/channels.AdminLogResults.md create mode 100644 old_docs/API_docs_v97/types/channels.ChannelParticipant.md create mode 100644 old_docs/API_docs_v97/types/channels.ChannelParticipants.md delete mode 100644 old_docs/API_docs_v97/types/channels_AdminLogResults.md delete mode 100644 old_docs/API_docs_v97/types/channels_ChannelParticipant.md delete mode 100644 old_docs/API_docs_v97/types/channels_ChannelParticipants.md create mode 100644 old_docs/API_docs_v97/types/contacts.Blocked.md create mode 100644 old_docs/API_docs_v97/types/contacts.Contacts.md create mode 100644 old_docs/API_docs_v97/types/contacts.Found.md create mode 100644 old_docs/API_docs_v97/types/contacts.ImportedContacts.md create mode 100644 old_docs/API_docs_v97/types/contacts.Link.md create mode 100644 old_docs/API_docs_v97/types/contacts.ResolvedPeer.md create mode 100644 old_docs/API_docs_v97/types/contacts.TopPeers.md delete mode 100644 old_docs/API_docs_v97/types/contacts_Blocked.md delete mode 100644 old_docs/API_docs_v97/types/contacts_Contacts.md delete mode 100644 old_docs/API_docs_v97/types/contacts_Found.md delete mode 100644 old_docs/API_docs_v97/types/contacts_ImportedContacts.md delete mode 100644 old_docs/API_docs_v97/types/contacts_Link.md delete mode 100644 old_docs/API_docs_v97/types/contacts_ResolvedPeer.md delete mode 100644 old_docs/API_docs_v97/types/contacts_TopPeers.md create mode 100644 old_docs/API_docs_v97/types/help.AppUpdate.md create mode 100644 old_docs/API_docs_v97/types/help.ConfigSimple.md create mode 100644 old_docs/API_docs_v97/types/help.DeepLinkInfo.md create mode 100644 old_docs/API_docs_v97/types/help.InviteText.md create mode 100644 old_docs/API_docs_v97/types/help.PassportConfig.md create mode 100644 old_docs/API_docs_v97/types/help.ProxyData.md create mode 100644 old_docs/API_docs_v97/types/help.RecentMeUrls.md create mode 100644 old_docs/API_docs_v97/types/help.Support.md create mode 100644 old_docs/API_docs_v97/types/help.SupportName.md create mode 100644 old_docs/API_docs_v97/types/help.TermsOfService.md create mode 100644 old_docs/API_docs_v97/types/help.TermsOfServiceUpdate.md create mode 100644 old_docs/API_docs_v97/types/help.UserInfo.md delete mode 100644 old_docs/API_docs_v97/types/help_AppUpdate.md delete mode 100644 old_docs/API_docs_v97/types/help_ConfigSimple.md delete mode 100644 old_docs/API_docs_v97/types/help_DeepLinkInfo.md delete mode 100644 old_docs/API_docs_v97/types/help_InviteText.md delete mode 100644 old_docs/API_docs_v97/types/help_PassportConfig.md delete mode 100644 old_docs/API_docs_v97/types/help_ProxyData.md delete mode 100644 old_docs/API_docs_v97/types/help_RecentMeUrls.md delete mode 100644 old_docs/API_docs_v97/types/help_Support.md delete mode 100644 old_docs/API_docs_v97/types/help_SupportName.md delete mode 100644 old_docs/API_docs_v97/types/help_TermsOfService.md delete mode 100644 old_docs/API_docs_v97/types/help_TermsOfServiceUpdate.md delete mode 100644 old_docs/API_docs_v97/types/help_UserInfo.md create mode 100644 old_docs/API_docs_v97/types/messages.AffectedHistory.md create mode 100644 old_docs/API_docs_v97/types/messages.AffectedMessages.md create mode 100644 old_docs/API_docs_v97/types/messages.AllStickers.md create mode 100644 old_docs/API_docs_v97/types/messages.ArchivedStickers.md create mode 100644 old_docs/API_docs_v97/types/messages.BotCallbackAnswer.md create mode 100644 old_docs/API_docs_v97/types/messages.BotResults.md create mode 100644 old_docs/API_docs_v97/types/messages.ChatFull.md create mode 100644 old_docs/API_docs_v97/types/messages.Chats.md create mode 100644 old_docs/API_docs_v97/types/messages.DhConfig.md create mode 100644 old_docs/API_docs_v97/types/messages.Dialogs.md create mode 100644 old_docs/API_docs_v97/types/messages.FavedStickers.md create mode 100644 old_docs/API_docs_v97/types/messages.FeaturedStickers.md create mode 100644 old_docs/API_docs_v97/types/messages.FoundGifs.md create mode 100644 old_docs/API_docs_v97/types/messages.FoundStickerSets.md create mode 100644 old_docs/API_docs_v97/types/messages.HighScores.md create mode 100644 old_docs/API_docs_v97/types/messages.MessageEditData.md create mode 100644 old_docs/API_docs_v97/types/messages.Messages.md create mode 100644 old_docs/API_docs_v97/types/messages.PeerDialogs.md create mode 100644 old_docs/API_docs_v97/types/messages.RecentStickers.md create mode 100644 old_docs/API_docs_v97/types/messages.SavedGifs.md create mode 100644 old_docs/API_docs_v97/types/messages.SentEncryptedMessage.md create mode 100644 old_docs/API_docs_v97/types/messages.StickerSet.md create mode 100644 old_docs/API_docs_v97/types/messages.StickerSetInstallResult.md create mode 100644 old_docs/API_docs_v97/types/messages.Stickers.md delete mode 100644 old_docs/API_docs_v97/types/messages_AffectedHistory.md delete mode 100644 old_docs/API_docs_v97/types/messages_AffectedMessages.md delete mode 100644 old_docs/API_docs_v97/types/messages_AllStickers.md delete mode 100644 old_docs/API_docs_v97/types/messages_ArchivedStickers.md delete mode 100644 old_docs/API_docs_v97/types/messages_BotCallbackAnswer.md delete mode 100644 old_docs/API_docs_v97/types/messages_BotResults.md delete mode 100644 old_docs/API_docs_v97/types/messages_ChatFull.md delete mode 100644 old_docs/API_docs_v97/types/messages_Chats.md delete mode 100644 old_docs/API_docs_v97/types/messages_DhConfig.md delete mode 100644 old_docs/API_docs_v97/types/messages_Dialogs.md delete mode 100644 old_docs/API_docs_v97/types/messages_FavedStickers.md delete mode 100644 old_docs/API_docs_v97/types/messages_FeaturedStickers.md delete mode 100644 old_docs/API_docs_v97/types/messages_FoundGifs.md delete mode 100644 old_docs/API_docs_v97/types/messages_FoundStickerSets.md delete mode 100644 old_docs/API_docs_v97/types/messages_HighScores.md delete mode 100644 old_docs/API_docs_v97/types/messages_MessageEditData.md delete mode 100644 old_docs/API_docs_v97/types/messages_Messages.md delete mode 100644 old_docs/API_docs_v97/types/messages_PeerDialogs.md delete mode 100644 old_docs/API_docs_v97/types/messages_RecentStickers.md delete mode 100644 old_docs/API_docs_v97/types/messages_SavedGifs.md delete mode 100644 old_docs/API_docs_v97/types/messages_SentEncryptedMessage.md delete mode 100644 old_docs/API_docs_v97/types/messages_StickerSet.md delete mode 100644 old_docs/API_docs_v97/types/messages_StickerSetInstallResult.md delete mode 100644 old_docs/API_docs_v97/types/messages_Stickers.md create mode 100644 old_docs/API_docs_v97/types/payments.PaymentForm.md create mode 100644 old_docs/API_docs_v97/types/payments.PaymentReceipt.md create mode 100644 old_docs/API_docs_v97/types/payments.PaymentResult.md create mode 100644 old_docs/API_docs_v97/types/payments.SavedInfo.md create mode 100644 old_docs/API_docs_v97/types/payments.ValidatedRequestedInfo.md delete mode 100644 old_docs/API_docs_v97/types/payments_PaymentForm.md delete mode 100644 old_docs/API_docs_v97/types/payments_PaymentReceipt.md delete mode 100644 old_docs/API_docs_v97/types/payments_PaymentResult.md delete mode 100644 old_docs/API_docs_v97/types/payments_SavedInfo.md delete mode 100644 old_docs/API_docs_v97/types/payments_ValidatedRequestedInfo.md create mode 100644 old_docs/API_docs_v97/types/phone.PhoneCall.md delete mode 100644 old_docs/API_docs_v97/types/phone_PhoneCall.md create mode 100644 old_docs/API_docs_v97/types/photos.Photo.md create mode 100644 old_docs/API_docs_v97/types/photos.Photos.md delete mode 100644 old_docs/API_docs_v97/types/photos_Photo.md delete mode 100644 old_docs/API_docs_v97/types/photos_Photos.md create mode 100644 old_docs/API_docs_v97/types/storage.FileType.md delete mode 100644 old_docs/API_docs_v97/types/storage_FileType.md create mode 100644 old_docs/API_docs_v97/types/updates.ChannelDifference.md create mode 100644 old_docs/API_docs_v97/types/updates.Difference.md create mode 100644 old_docs/API_docs_v97/types/updates.State.md delete mode 100644 old_docs/API_docs_v97/types/updates_ChannelDifference.md delete mode 100644 old_docs/API_docs_v97/types/updates_Difference.md delete mode 100644 old_docs/API_docs_v97/types/updates_State.md create mode 100644 old_docs/API_docs_v97/types/upload.CdnFile.md create mode 100644 old_docs/API_docs_v97/types/upload.File.md create mode 100644 old_docs/API_docs_v97/types/upload.WebFile.md delete mode 100644 old_docs/API_docs_v97/types/upload_CdnFile.md delete mode 100644 old_docs/API_docs_v97/types/upload_File.md delete mode 100644 old_docs/API_docs_v97/types/upload_WebFile.md diff --git a/docs/API_docs/constructors/account.authorizationForm.md b/docs/API_docs/constructors/account.authorizationForm.md new file mode 100644 index 00000000..175276bf --- /dev/null +++ b/docs/API_docs/constructors/account.authorizationForm.md @@ -0,0 +1,42 @@ +--- +title: account.authorizationForm +description: [Telegram Passport](https://core.telegram.org/passport) authorization form +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.authorizationForm +[Back to constructors index](index.md) + + + +[Telegram Passport](https://core.telegram.org/passport) authorization form + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|required\_types|Array of [SecureRequiredType](../types/SecureRequiredType.md) | Yes|Required types| +|values|Array of [SecureValue](../types/SecureValue.md) | Yes|Values| +|errors|Array of [SecureValueError](../types/SecureValueError.md) | Yes|Errors| +|users|Array of [User](../types/User.md) | Yes|Users| +|privacy\_policy\_url|[string](../types/string.md) | Optional|URL of the service's privacy policy| + + + +### Type: [account.AuthorizationForm](../types/account.AuthorizationForm.md) + + +### Example: + +```php +$account.authorizationForm = ['_' => 'account.authorizationForm', 'required_types' => [SecureRequiredType, SecureRequiredType], 'values' => [SecureValue, SecureValue], 'errors' => [SecureValueError, SecureValueError], 'users' => [User, User], 'privacy_policy_url' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +account.authorizationForm={_='account.authorizationForm', required_types={SecureRequiredType}, values={SecureValue}, errors={SecureValueError}, users={User}, privacy_policy_url='string'} + +``` + + diff --git a/docs/API_docs/constructors/account.authorizations.md b/docs/API_docs/constructors/account.authorizations.md new file mode 100644 index 00000000..53c961f0 --- /dev/null +++ b/docs/API_docs/constructors/account.authorizations.md @@ -0,0 +1,38 @@ +--- +title: account.authorizations +description: Logged-in sessions +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.authorizations +[Back to constructors index](index.md) + + + +Logged-in sessions + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|authorizations|Array of [Authorization](../types/Authorization.md) | Yes|Authorizations| + + + +### Type: [account.Authorizations](../types/account.Authorizations.md) + + +### Example: + +```php +$account.authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization, Authorization]]; +``` + + +Or, if you're into Lua: + +```lua +account.authorizations={_='account.authorizations', authorizations={Authorization}} + +``` + + diff --git a/docs/API_docs/constructors/account.autoDownloadSettings.md b/docs/API_docs/constructors/account.autoDownloadSettings.md new file mode 100644 index 00000000..fa06f6a6 --- /dev/null +++ b/docs/API_docs/constructors/account.autoDownloadSettings.md @@ -0,0 +1,40 @@ +--- +title: account.autoDownloadSettings +description: Media autodownload settings +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.autoDownloadSettings +[Back to constructors index](index.md) + + + +Media autodownload settings + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|low|[AutoDownloadSettings](../types/AutoDownloadSettings.md) | Yes|Low data usage preset| +|medium|[AutoDownloadSettings](../types/AutoDownloadSettings.md) | Yes|Medium data usage preset| +|high|[AutoDownloadSettings](../types/AutoDownloadSettings.md) | Yes|High data usage preset| + + + +### Type: [account.AutoDownloadSettings](../types/account.AutoDownloadSettings.md) + + +### Example: + +```php +$account.autoDownloadSettings = ['_' => 'account.autoDownloadSettings', 'low' => AutoDownloadSettings, 'medium' => AutoDownloadSettings, 'high' => AutoDownloadSettings]; +``` + + +Or, if you're into Lua: + +```lua +account.autoDownloadSettings={_='account.autoDownloadSettings', low=AutoDownloadSettings, medium=AutoDownloadSettings, high=AutoDownloadSettings} + +``` + + diff --git a/docs/API_docs/constructors/account.password.md b/docs/API_docs/constructors/account.password.md new file mode 100644 index 00000000..b6ad79db --- /dev/null +++ b/docs/API_docs/constructors/account.password.md @@ -0,0 +1,48 @@ +--- +title: account.password +description: Configuration for two-factor authorization +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.password +[Back to constructors index](index.md) + + + +Configuration for two-factor authorization + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|has\_recovery|[Bool](../types/Bool.md) | Optional|Whether the user has a recovery method configured| +|has\_secure\_values|[Bool](../types/Bool.md) | Optional|Whether telegram [passport](https://core.telegram.org/passport) is enabled| +|has\_password|[Bool](../types/Bool.md) | Optional|Whether the user has a password| +|current\_algo|[PasswordKdfAlgo](../types/PasswordKdfAlgo.md) | Optional|The [KDF algorithm for SRP two-factor authentication](https://core.telegram.org/api/srp) of the current password| +|srp\_B|[bytes](../types/bytes.md) | Optional|Srp B param for [SRP authorization](https://core.telegram.org/api/srp)| +|srp\_id|[long](../types/long.md) | Optional|Srp ID param for [SRP authorization](https://core.telegram.org/api/srp)| +|hint|[string](../types/string.md) | Optional|Text hint for the password| +|email\_unconfirmed\_pattern|[string](../types/string.md) | Optional|A [password recovery email](https://core.telegram.org/api/srp#email-verification) with the specified [pattern](https://core.telegram.org/api/pattern) is still awaiting verification| +|new\_algo|[PasswordKdfAlgo](../types/PasswordKdfAlgo.md) | Yes|The [KDF algorithm for SRP two-factor authentication](https://core.telegram.org/api/srp) to use when creating new passwords| +|new\_secure\_algo|[SecurePasswordKdfAlgo](../types/SecurePasswordKdfAlgo.md) | Yes|The KDF algorithm for telegram [passport](https://core.telegram.org/passport)| +|secure\_random|[bytes](../types/bytes.md) | Yes|Secure random string| + + + +### Type: [account.Password](../types/account.Password.md) + + +### Example: + +```php +$account.password = ['_' => 'account.password', 'has_recovery' => Bool, 'has_secure_values' => Bool, 'has_password' => Bool, 'current_algo' => PasswordKdfAlgo, 'srp_B' => 'bytes', 'srp_id' => long, 'hint' => 'string', 'email_unconfirmed_pattern' => 'string', 'new_algo' => PasswordKdfAlgo, 'new_secure_algo' => SecurePasswordKdfAlgo, 'secure_random' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +account.password={_='account.password', has_recovery=Bool, has_secure_values=Bool, has_password=Bool, current_algo=PasswordKdfAlgo, srp_B='bytes', srp_id=long, hint='string', email_unconfirmed_pattern='string', new_algo=PasswordKdfAlgo, new_secure_algo=SecurePasswordKdfAlgo, secure_random='bytes'} + +``` + + diff --git a/docs/API_docs/constructors/account.passwordInputSettings.md b/docs/API_docs/constructors/account.passwordInputSettings.md new file mode 100644 index 00000000..f55837c8 --- /dev/null +++ b/docs/API_docs/constructors/account.passwordInputSettings.md @@ -0,0 +1,42 @@ +--- +title: account.passwordInputSettings +description: Settings for setting up a new password +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.passwordInputSettings +[Back to constructors index](index.md) + + + +Settings for setting up a new password + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|new\_algo|[PasswordKdfAlgo](../types/PasswordKdfAlgo.md) | Optional|The [SRP algorithm](https://core.telegram.org/api/srp) to use| +|new\_password\_hash|[bytes](../types/bytes.md) | Optional|The [computed password hash](https://core.telegram.org/api/srp)| +|hint|[string](../types/string.md) | Optional|Text hint for the password| +|email|[string](../types/string.md) | Optional|Password recovery email| +|new\_secure\_settings|[SecureSecretSettings](../types/SecureSecretSettings.md) | Optional|Telegram [passport](https://core.telegram.org/passport) settings| + + + +### Type: [account.PasswordInputSettings](../types/account.PasswordInputSettings.md) + + +### Example: + +```php +$account.passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_algo' => PasswordKdfAlgo, 'new_password_hash' => 'bytes', 'hint' => 'string', 'email' => 'string', 'new_secure_settings' => SecureSecretSettings]; +``` + + +Or, if you're into Lua: + +```lua +account.passwordInputSettings={_='account.passwordInputSettings', new_algo=PasswordKdfAlgo, new_password_hash='bytes', hint='string', email='string', new_secure_settings=SecureSecretSettings} + +``` + + diff --git a/docs/API_docs/constructors/account.passwordSettings.md b/docs/API_docs/constructors/account.passwordSettings.md new file mode 100644 index 00000000..ab81079e --- /dev/null +++ b/docs/API_docs/constructors/account.passwordSettings.md @@ -0,0 +1,39 @@ +--- +title: account.passwordSettings +description: Private info associated to the password info (recovery email, telegram [passport](https://core.telegram.org/passport) info & so on) +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.passwordSettings +[Back to constructors index](index.md) + + + +Private info associated to the password info (recovery email, telegram [passport](https://core.telegram.org/passport) info & so on) + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|email|[string](../types/string.md) | Optional|[2FA Recovery email](https://core.telegram.org/api/srp#email-verification)| +|secure\_settings|[SecureSecretSettings](../types/SecureSecretSettings.md) | Optional|Telegram [passport](https://core.telegram.org/passport) settings| + + + +### Type: [account.PasswordSettings](../types/account.PasswordSettings.md) + + +### Example: + +```php +$account.passwordSettings = ['_' => 'account.passwordSettings', 'email' => 'string', 'secure_settings' => SecureSecretSettings]; +``` + + +Or, if you're into Lua: + +```lua +account.passwordSettings={_='account.passwordSettings', email='string', secure_settings=SecureSecretSettings} + +``` + + diff --git a/docs/API_docs/constructors/account.privacyRules.md b/docs/API_docs/constructors/account.privacyRules.md new file mode 100644 index 00000000..6f83247a --- /dev/null +++ b/docs/API_docs/constructors/account.privacyRules.md @@ -0,0 +1,40 @@ +--- +title: account.privacyRules +description: Privacy rules +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.privacyRules +[Back to constructors index](index.md) + + + +Privacy rules + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|rules|Array of [PrivacyRule](../types/PrivacyRule.md) | Yes|Rules| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats allowed?| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [account.PrivacyRules](../types/account.PrivacyRules.md) + + +### Example: + +```php +$account.privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule, PrivacyRule], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +account.privacyRules={_='account.privacyRules', rules={PrivacyRule}, chats={Chat}, users={User}} + +``` + + diff --git a/docs/API_docs/constructors/account.sentEmailCode.md b/docs/API_docs/constructors/account.sentEmailCode.md new file mode 100644 index 00000000..c4c30275 --- /dev/null +++ b/docs/API_docs/constructors/account.sentEmailCode.md @@ -0,0 +1,39 @@ +--- +title: account.sentEmailCode +description: The sent email code +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.sentEmailCode +[Back to constructors index](index.md) + + + +The sent email code + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|email\_pattern|[string](../types/string.md) | Yes|The email (to which the code was sent) must match this [pattern](https://core.telegram.org/api/pattern)| +|length|[int](../types/int.md) | Yes|The length of the verification code| + + + +### Type: [account.SentEmailCode](../types/account.SentEmailCode.md) + + +### Example: + +```php +$account.sentEmailCode = ['_' => 'account.sentEmailCode', 'email_pattern' => 'string', 'length' => int]; +``` + + +Or, if you're into Lua: + +```lua +account.sentEmailCode={_='account.sentEmailCode', email_pattern='string', length=int} + +``` + + diff --git a/docs/API_docs/constructors/account.takeout.md b/docs/API_docs/constructors/account.takeout.md new file mode 100644 index 00000000..1aca6c70 --- /dev/null +++ b/docs/API_docs/constructors/account.takeout.md @@ -0,0 +1,38 @@ +--- +title: account.takeout +description: Takout info +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.takeout +[Back to constructors index](index.md) + + + +Takout info + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|id|[long](../types/long.md) | Yes|Takeout ID| + + + +### Type: [account.Takeout](../types/account.Takeout.md) + + +### Example: + +```php +$account.takeout = ['_' => 'account.takeout', 'id' => long]; +``` + + +Or, if you're into Lua: + +```lua +account.takeout={_='account.takeout', id=long} + +``` + + diff --git a/docs/API_docs/constructors/account.themes.md b/docs/API_docs/constructors/account.themes.md new file mode 100644 index 00000000..2cf6af8d --- /dev/null +++ b/docs/API_docs/constructors/account.themes.md @@ -0,0 +1,39 @@ +--- +title: account.themes +description: Installed themes +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.themes +[Back to constructors index](index.md) + + + +Installed themes + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|themes|Array of [Theme](../types/Theme.md) | Yes|Themes| + + + +### Type: [account.Themes](../types/account.Themes.md) + + +### Example: + +```php +$account.themes = ['_' => 'account.themes', 'hash' => int, 'themes' => [Theme, Theme]]; +``` + + +Or, if you're into Lua: + +```lua +account.themes={_='account.themes', hash=int, themes={Theme}} + +``` + + diff --git a/docs/API_docs/constructors/account.themesNotModified.md b/docs/API_docs/constructors/account.themesNotModified.md new file mode 100644 index 00000000..eb929ac4 --- /dev/null +++ b/docs/API_docs/constructors/account.themesNotModified.md @@ -0,0 +1,33 @@ +--- +title: account.themesNotModified +description: No new themes were installed +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.themesNotModified +[Back to constructors index](index.md) + + + +No new themes were installed + + + + +### Type: [account.Themes](../types/account.Themes.md) + + +### Example: + +```php +$account.themesNotModified = ['_' => 'account.themesNotModified']; +``` + + +Or, if you're into Lua: + +```lua +account.themesNotModified={_='account.themesNotModified'} + +``` + + diff --git a/docs/API_docs/constructors/account.tmpPassword.md b/docs/API_docs/constructors/account.tmpPassword.md new file mode 100644 index 00000000..996548c4 --- /dev/null +++ b/docs/API_docs/constructors/account.tmpPassword.md @@ -0,0 +1,39 @@ +--- +title: account.tmpPassword +description: Temporary payment password +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.tmpPassword +[Back to constructors index](index.md) + + + +Temporary payment password + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|tmp\_password|[bytes](../types/bytes.md) | Yes|Temporary password| +|valid\_until|[int](../types/int.md) | Yes|Validity period| + + + +### Type: [account.TmpPassword](../types/account.TmpPassword.md) + + +### Example: + +```php +$account.tmpPassword = ['_' => 'account.tmpPassword', 'tmp_password' => 'bytes', 'valid_until' => int]; +``` + + +Or, if you're into Lua: + +```lua +account.tmpPassword={_='account.tmpPassword', tmp_password='bytes', valid_until=int} + +``` + + diff --git a/docs/API_docs/constructors/account.wallPapers.md b/docs/API_docs/constructors/account.wallPapers.md new file mode 100644 index 00000000..c73f9dd3 --- /dev/null +++ b/docs/API_docs/constructors/account.wallPapers.md @@ -0,0 +1,39 @@ +--- +title: account.wallPapers +description: Installed wallpapers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.wallPapers +[Back to constructors index](index.md) + + + +Installed wallpapers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|wallpapers|Array of [WallPaper](../types/WallPaper.md) | Yes|Wallpapers| + + + +### Type: [account.WallPapers](../types/account.WallPapers.md) + + +### Example: + +```php +$account.wallPapers = ['_' => 'account.wallPapers', 'hash' => int, 'wallpapers' => [WallPaper, WallPaper]]; +``` + + +Or, if you're into Lua: + +```lua +account.wallPapers={_='account.wallPapers', hash=int, wallpapers={WallPaper}} + +``` + + diff --git a/docs/API_docs/constructors/account.wallPapersNotModified.md b/docs/API_docs/constructors/account.wallPapersNotModified.md new file mode 100644 index 00000000..209233d7 --- /dev/null +++ b/docs/API_docs/constructors/account.wallPapersNotModified.md @@ -0,0 +1,33 @@ +--- +title: account.wallPapersNotModified +description: No new wallpapers were found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.wallPapersNotModified +[Back to constructors index](index.md) + + + +No new wallpapers were found + + + + +### Type: [account.WallPapers](../types/account.WallPapers.md) + + +### Example: + +```php +$account.wallPapersNotModified = ['_' => 'account.wallPapersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +account.wallPapersNotModified={_='account.wallPapersNotModified'} + +``` + + diff --git a/docs/API_docs/constructors/account.webAuthorizations.md b/docs/API_docs/constructors/account.webAuthorizations.md new file mode 100644 index 00000000..bb5d0211 --- /dev/null +++ b/docs/API_docs/constructors/account.webAuthorizations.md @@ -0,0 +1,39 @@ +--- +title: account.webAuthorizations +description: Web authorizations +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.webAuthorizations +[Back to constructors index](index.md) + + + +Web authorizations + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|authorizations|Array of [WebAuthorization](../types/WebAuthorization.md) | Yes|Authorizations| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [account.WebAuthorizations](../types/account.WebAuthorizations.md) + + +### Example: + +```php +$account.webAuthorizations = ['_' => 'account.webAuthorizations', 'authorizations' => [WebAuthorization, WebAuthorization], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +account.webAuthorizations={_='account.webAuthorizations', authorizations={WebAuthorization}, users={User}} + +``` + + diff --git a/docs/API_docs/constructors/account_authorizationForm.md b/docs/API_docs/constructors/account_authorizationForm.md deleted file mode 100644 index aaeff19b..00000000 --- a/docs/API_docs/constructors/account_authorizationForm.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: account.authorizationForm -description: [Telegram Passport](https://core.telegram.org/passport) authorization form -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.authorizationForm -[Back to constructors index](index.md) - - - -[Telegram Passport](https://core.telegram.org/passport) authorization form - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|required\_types|Array of [SecureRequiredType](../types/SecureRequiredType.md) | Yes|Required types| -|values|Array of [SecureValue](../types/SecureValue.md) | Yes|Values| -|errors|Array of [SecureValueError](../types/SecureValueError.md) | Yes|Errors| -|users|Array of [User](../types/User.md) | Yes|Users| -|privacy\_policy\_url|[string](../types/string.md) | Optional|URL of the service's privacy policy| - - - -### Type: [account\_AuthorizationForm](../types/account_AuthorizationForm.md) - - -### Example: - -```php -$account_authorizationForm = ['_' => 'account.authorizationForm', 'required_types' => [SecureRequiredType, SecureRequiredType], 'values' => [SecureValue, SecureValue], 'errors' => [SecureValueError, SecureValueError], 'users' => [User, User], 'privacy_policy_url' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -account_authorizationForm={_='account.authorizationForm', required_types={SecureRequiredType}, values={SecureValue}, errors={SecureValueError}, users={User}, privacy_policy_url='string'} - -``` - - diff --git a/docs/API_docs/constructors/account_authorizations.md b/docs/API_docs/constructors/account_authorizations.md deleted file mode 100644 index aeae48f3..00000000 --- a/docs/API_docs/constructors/account_authorizations.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: account.authorizations -description: Logged-in sessions -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.authorizations -[Back to constructors index](index.md) - - - -Logged-in sessions - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|authorizations|Array of [Authorization](../types/Authorization.md) | Yes|Authorizations| - - - -### Type: [account\_Authorizations](../types/account_Authorizations.md) - - -### Example: - -```php -$account_authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization, Authorization]]; -``` - - -Or, if you're into Lua: - -```lua -account_authorizations={_='account.authorizations', authorizations={Authorization}} - -``` - - diff --git a/docs/API_docs/constructors/account_autoDownloadSettings.md b/docs/API_docs/constructors/account_autoDownloadSettings.md deleted file mode 100644 index f490d303..00000000 --- a/docs/API_docs/constructors/account_autoDownloadSettings.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: account.autoDownloadSettings -description: Media autodownload settings -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.autoDownloadSettings -[Back to constructors index](index.md) - - - -Media autodownload settings - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|low|[AutoDownloadSettings](../types/AutoDownloadSettings.md) | Yes|Low data usage preset| -|medium|[AutoDownloadSettings](../types/AutoDownloadSettings.md) | Yes|Medium data usage preset| -|high|[AutoDownloadSettings](../types/AutoDownloadSettings.md) | Yes|High data usage preset| - - - -### Type: [account\_AutoDownloadSettings](../types/account_AutoDownloadSettings.md) - - -### Example: - -```php -$account_autoDownloadSettings = ['_' => 'account.autoDownloadSettings', 'low' => AutoDownloadSettings, 'medium' => AutoDownloadSettings, 'high' => AutoDownloadSettings]; -``` - - -Or, if you're into Lua: - -```lua -account_autoDownloadSettings={_='account.autoDownloadSettings', low=AutoDownloadSettings, medium=AutoDownloadSettings, high=AutoDownloadSettings} - -``` - - diff --git a/docs/API_docs/constructors/account_password.md b/docs/API_docs/constructors/account_password.md deleted file mode 100644 index 0f2eaafb..00000000 --- a/docs/API_docs/constructors/account_password.md +++ /dev/null @@ -1,48 +0,0 @@ ---- -title: account.password -description: Configuration for two-factor authorization -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.password -[Back to constructors index](index.md) - - - -Configuration for two-factor authorization - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|has\_recovery|[Bool](../types/Bool.md) | Optional|Whether the user has a recovery method configured| -|has\_secure\_values|[Bool](../types/Bool.md) | Optional|Whether telegram [passport](https://core.telegram.org/passport) is enabled| -|has\_password|[Bool](../types/Bool.md) | Optional|Whether the user has a password| -|current\_algo|[PasswordKdfAlgo](../types/PasswordKdfAlgo.md) | Optional|The [KDF algorithm for SRP two-factor authentication](https://core.telegram.org/api/srp) of the current password| -|srp\_B|[bytes](../types/bytes.md) | Optional|Srp B param for [SRP authorization](https://core.telegram.org/api/srp)| -|srp\_id|[long](../types/long.md) | Optional|Srp ID param for [SRP authorization](https://core.telegram.org/api/srp)| -|hint|[string](../types/string.md) | Optional|Text hint for the password| -|email\_unconfirmed\_pattern|[string](../types/string.md) | Optional|A [password recovery email](https://core.telegram.org/api/srp#email-verification) with the specified [pattern](https://core.telegram.org/api/pattern) is still awaiting verification| -|new\_algo|[PasswordKdfAlgo](../types/PasswordKdfAlgo.md) | Yes|The [KDF algorithm for SRP two-factor authentication](https://core.telegram.org/api/srp) to use when creating new passwords| -|new\_secure\_algo|[SecurePasswordKdfAlgo](../types/SecurePasswordKdfAlgo.md) | Yes|The KDF algorithm for telegram [passport](https://core.telegram.org/passport)| -|secure\_random|[bytes](../types/bytes.md) | Yes|Secure random string| - - - -### Type: [account\_Password](../types/account_Password.md) - - -### Example: - -```php -$account_password = ['_' => 'account.password', 'has_recovery' => Bool, 'has_secure_values' => Bool, 'has_password' => Bool, 'current_algo' => PasswordKdfAlgo, 'srp_B' => 'bytes', 'srp_id' => long, 'hint' => 'string', 'email_unconfirmed_pattern' => 'string', 'new_algo' => PasswordKdfAlgo, 'new_secure_algo' => SecurePasswordKdfAlgo, 'secure_random' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -account_password={_='account.password', has_recovery=Bool, has_secure_values=Bool, has_password=Bool, current_algo=PasswordKdfAlgo, srp_B='bytes', srp_id=long, hint='string', email_unconfirmed_pattern='string', new_algo=PasswordKdfAlgo, new_secure_algo=SecurePasswordKdfAlgo, secure_random='bytes'} - -``` - - diff --git a/docs/API_docs/constructors/account_passwordInputSettings.md b/docs/API_docs/constructors/account_passwordInputSettings.md deleted file mode 100644 index a4800a7c..00000000 --- a/docs/API_docs/constructors/account_passwordInputSettings.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: account.passwordInputSettings -description: Settings for setting up a new password -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.passwordInputSettings -[Back to constructors index](index.md) - - - -Settings for setting up a new password - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|new\_algo|[PasswordKdfAlgo](../types/PasswordKdfAlgo.md) | Optional|The [SRP algorithm](https://core.telegram.org/api/srp) to use| -|new\_password\_hash|[bytes](../types/bytes.md) | Optional|The [computed password hash](https://core.telegram.org/api/srp)| -|hint|[string](../types/string.md) | Optional|Text hint for the password| -|email|[string](../types/string.md) | Optional|Password recovery email| -|new\_secure\_settings|[SecureSecretSettings](../types/SecureSecretSettings.md) | Optional|Telegram [passport](https://core.telegram.org/passport) settings| - - - -### Type: [account\_PasswordInputSettings](../types/account_PasswordInputSettings.md) - - -### Example: - -```php -$account_passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_algo' => PasswordKdfAlgo, 'new_password_hash' => 'bytes', 'hint' => 'string', 'email' => 'string', 'new_secure_settings' => SecureSecretSettings]; -``` - - -Or, if you're into Lua: - -```lua -account_passwordInputSettings={_='account.passwordInputSettings', new_algo=PasswordKdfAlgo, new_password_hash='bytes', hint='string', email='string', new_secure_settings=SecureSecretSettings} - -``` - - diff --git a/docs/API_docs/constructors/account_passwordSettings.md b/docs/API_docs/constructors/account_passwordSettings.md deleted file mode 100644 index 16eaf433..00000000 --- a/docs/API_docs/constructors/account_passwordSettings.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: account.passwordSettings -description: Private info associated to the password info (recovery email, telegram [passport](https://core.telegram.org/passport) info & so on) -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.passwordSettings -[Back to constructors index](index.md) - - - -Private info associated to the password info (recovery email, telegram [passport](https://core.telegram.org/passport) info & so on) - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|email|[string](../types/string.md) | Optional|[2FA Recovery email](https://core.telegram.org/api/srp#email-verification)| -|secure\_settings|[SecureSecretSettings](../types/SecureSecretSettings.md) | Optional|Telegram [passport](https://core.telegram.org/passport) settings| - - - -### Type: [account\_PasswordSettings](../types/account_PasswordSettings.md) - - -### Example: - -```php -$account_passwordSettings = ['_' => 'account.passwordSettings', 'email' => 'string', 'secure_settings' => SecureSecretSettings]; -``` - - -Or, if you're into Lua: - -```lua -account_passwordSettings={_='account.passwordSettings', email='string', secure_settings=SecureSecretSettings} - -``` - - diff --git a/docs/API_docs/constructors/account_privacyRules.md b/docs/API_docs/constructors/account_privacyRules.md deleted file mode 100644 index 5fd928b9..00000000 --- a/docs/API_docs/constructors/account_privacyRules.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: account.privacyRules -description: Privacy rules -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.privacyRules -[Back to constructors index](index.md) - - - -Privacy rules - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|rules|Array of [PrivacyRule](../types/PrivacyRule.md) | Yes|Rules| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats allowed?| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [account\_PrivacyRules](../types/account_PrivacyRules.md) - - -### Example: - -```php -$account_privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule, PrivacyRule], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -account_privacyRules={_='account.privacyRules', rules={PrivacyRule}, chats={Chat}, users={User}} - -``` - - diff --git a/docs/API_docs/constructors/account_sentEmailCode.md b/docs/API_docs/constructors/account_sentEmailCode.md deleted file mode 100644 index 684fb4b5..00000000 --- a/docs/API_docs/constructors/account_sentEmailCode.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: account.sentEmailCode -description: The sent email code -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.sentEmailCode -[Back to constructors index](index.md) - - - -The sent email code - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|email\_pattern|[string](../types/string.md) | Yes|The email (to which the code was sent) must match this [pattern](https://core.telegram.org/api/pattern)| -|length|[int](../types/int.md) | Yes|The length of the verification code| - - - -### Type: [account\_SentEmailCode](../types/account_SentEmailCode.md) - - -### Example: - -```php -$account_sentEmailCode = ['_' => 'account.sentEmailCode', 'email_pattern' => 'string', 'length' => int]; -``` - - -Or, if you're into Lua: - -```lua -account_sentEmailCode={_='account.sentEmailCode', email_pattern='string', length=int} - -``` - - diff --git a/docs/API_docs/constructors/account_takeout.md b/docs/API_docs/constructors/account_takeout.md deleted file mode 100644 index 09af93ca..00000000 --- a/docs/API_docs/constructors/account_takeout.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: account.takeout -description: Takout info -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.takeout -[Back to constructors index](index.md) - - - -Takout info - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|id|[long](../types/long.md) | Yes|Takeout ID| - - - -### Type: [account\_Takeout](../types/account_Takeout.md) - - -### Example: - -```php -$account_takeout = ['_' => 'account.takeout', 'id' => long]; -``` - - -Or, if you're into Lua: - -```lua -account_takeout={_='account.takeout', id=long} - -``` - - diff --git a/docs/API_docs/constructors/account_themes.md b/docs/API_docs/constructors/account_themes.md deleted file mode 100644 index 4a5fc747..00000000 --- a/docs/API_docs/constructors/account_themes.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: account.themes -description: Installed themes -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.themes -[Back to constructors index](index.md) - - - -Installed themes - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|themes|Array of [Theme](../types/Theme.md) | Yes|Themes| - - - -### Type: [account\_Themes](../types/account_Themes.md) - - -### Example: - -```php -$account_themes = ['_' => 'account.themes', 'hash' => int, 'themes' => [Theme, Theme]]; -``` - - -Or, if you're into Lua: - -```lua -account_themes={_='account.themes', hash=int, themes={Theme}} - -``` - - diff --git a/docs/API_docs/constructors/account_themesNotModified.md b/docs/API_docs/constructors/account_themesNotModified.md deleted file mode 100644 index acfc01dc..00000000 --- a/docs/API_docs/constructors/account_themesNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: account.themesNotModified -description: No new themes were installed -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.themesNotModified -[Back to constructors index](index.md) - - - -No new themes were installed - - - - -### Type: [account\_Themes](../types/account_Themes.md) - - -### Example: - -```php -$account_themesNotModified = ['_' => 'account.themesNotModified']; -``` - - -Or, if you're into Lua: - -```lua -account_themesNotModified={_='account.themesNotModified'} - -``` - - diff --git a/docs/API_docs/constructors/account_tmpPassword.md b/docs/API_docs/constructors/account_tmpPassword.md deleted file mode 100644 index 68832780..00000000 --- a/docs/API_docs/constructors/account_tmpPassword.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: account.tmpPassword -description: Temporary payment password -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.tmpPassword -[Back to constructors index](index.md) - - - -Temporary payment password - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|tmp\_password|[bytes](../types/bytes.md) | Yes|Temporary password| -|valid\_until|[int](../types/int.md) | Yes|Validity period| - - - -### Type: [account\_TmpPassword](../types/account_TmpPassword.md) - - -### Example: - -```php -$account_tmpPassword = ['_' => 'account.tmpPassword', 'tmp_password' => 'bytes', 'valid_until' => int]; -``` - - -Or, if you're into Lua: - -```lua -account_tmpPassword={_='account.tmpPassword', tmp_password='bytes', valid_until=int} - -``` - - diff --git a/docs/API_docs/constructors/account_wallPapers.md b/docs/API_docs/constructors/account_wallPapers.md deleted file mode 100644 index 6239c29c..00000000 --- a/docs/API_docs/constructors/account_wallPapers.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: account.wallPapers -description: Installed wallpapers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.wallPapers -[Back to constructors index](index.md) - - - -Installed wallpapers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|wallpapers|Array of [WallPaper](../types/WallPaper.md) | Yes|Wallpapers| - - - -### Type: [account\_WallPapers](../types/account_WallPapers.md) - - -### Example: - -```php -$account_wallPapers = ['_' => 'account.wallPapers', 'hash' => int, 'wallpapers' => [WallPaper, WallPaper]]; -``` - - -Or, if you're into Lua: - -```lua -account_wallPapers={_='account.wallPapers', hash=int, wallpapers={WallPaper}} - -``` - - diff --git a/docs/API_docs/constructors/account_wallPapersNotModified.md b/docs/API_docs/constructors/account_wallPapersNotModified.md deleted file mode 100644 index acb28796..00000000 --- a/docs/API_docs/constructors/account_wallPapersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: account.wallPapersNotModified -description: No new wallpapers were found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.wallPapersNotModified -[Back to constructors index](index.md) - - - -No new wallpapers were found - - - - -### Type: [account\_WallPapers](../types/account_WallPapers.md) - - -### Example: - -```php -$account_wallPapersNotModified = ['_' => 'account.wallPapersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -account_wallPapersNotModified={_='account.wallPapersNotModified'} - -``` - - diff --git a/docs/API_docs/constructors/account_webAuthorizations.md b/docs/API_docs/constructors/account_webAuthorizations.md deleted file mode 100644 index ae402006..00000000 --- a/docs/API_docs/constructors/account_webAuthorizations.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: account.webAuthorizations -description: Web authorizations -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.webAuthorizations -[Back to constructors index](index.md) - - - -Web authorizations - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|authorizations|Array of [WebAuthorization](../types/WebAuthorization.md) | Yes|Authorizations| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [account\_WebAuthorizations](../types/account_WebAuthorizations.md) - - -### Example: - -```php -$account_webAuthorizations = ['_' => 'account.webAuthorizations', 'authorizations' => [WebAuthorization, WebAuthorization], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -account_webAuthorizations={_='account.webAuthorizations', authorizations={WebAuthorization}, users={User}} - -``` - - diff --git a/docs/API_docs/constructors/auth.authorization.md b/docs/API_docs/constructors/auth.authorization.md new file mode 100644 index 00000000..2a84bb12 --- /dev/null +++ b/docs/API_docs/constructors/auth.authorization.md @@ -0,0 +1,39 @@ +--- +title: auth.authorization +description: Contains user authorization info. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.authorization +[Back to constructors index](index.md) + + + +Contains user authorization info. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|tmp\_sessions|[int](../types/int.md) | Optional|Temporary [passport](https://core.telegram.org/passport) sessions| +|user|[User](../types/User.md) | Optional|Info on authorized user| + + + +### Type: [auth.Authorization](../types/auth.Authorization.md) + + +### Example: + +```php +$auth.authorization = ['_' => 'auth.authorization', 'tmp_sessions' => int, 'user' => User]; +``` + + +Or, if you're into Lua: + +```lua +auth.authorization={_='auth.authorization', tmp_sessions=int, user=User} + +``` + + diff --git a/docs/API_docs/constructors/auth.authorizationSignUpRequired.md b/docs/API_docs/constructors/auth.authorizationSignUpRequired.md new file mode 100644 index 00000000..477c7705 --- /dev/null +++ b/docs/API_docs/constructors/auth.authorizationSignUpRequired.md @@ -0,0 +1,38 @@ +--- +title: auth.authorizationSignUpRequired +description: An account with this phone number doesn't exist on telegram: the user has to [enter basic information and sign up](https://core.telegram.org/api/auth) +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.authorizationSignUpRequired +[Back to constructors index](index.md) + + + +An account with this phone number doesn't exist on telegram: the user has to [enter basic information and sign up](https://core.telegram.org/api/auth) + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|terms\_of\_service|[help.TermsOfService](../constructors/help.TermsOfService.md) | Optional|Telegram's terms of service: the user must read and accept the terms of service before signing up to telegram| + + + +### Type: [auth.Authorization](../types/auth.Authorization.md) + + +### Example: + +```php +$auth.authorizationSignUpRequired = ['_' => 'auth.authorizationSignUpRequired', 'terms_of_service' => help.TermsOfService]; +``` + + +Or, if you're into Lua: + +```lua +auth.authorizationSignUpRequired={_='auth.authorizationSignUpRequired', terms_of_service=help.TermsOfService} + +``` + + diff --git a/docs/API_docs/constructors/auth.codeTypeCall.md b/docs/API_docs/constructors/auth.codeTypeCall.md new file mode 100644 index 00000000..4b4a1cdc --- /dev/null +++ b/docs/API_docs/constructors/auth.codeTypeCall.md @@ -0,0 +1,33 @@ +--- +title: auth.codeTypeCall +description: Type of verification code that will be sent next if you call the resendCode method: SMS code +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.codeTypeCall +[Back to constructors index](index.md) + + + +Type of verification code that will be sent next if you call the resendCode method: SMS code + + + + +### Type: [auth.CodeType](../types/auth.CodeType.md) + + +### Example: + +```php +$auth.codeTypeCall = ['_' => 'auth.codeTypeCall']; +``` + + +Or, if you're into Lua: + +```lua +auth.codeTypeCall={_='auth.codeTypeCall'} + +``` + + diff --git a/docs/API_docs/constructors/auth.codeTypeFlashCall.md b/docs/API_docs/constructors/auth.codeTypeFlashCall.md new file mode 100644 index 00000000..ef97e034 --- /dev/null +++ b/docs/API_docs/constructors/auth.codeTypeFlashCall.md @@ -0,0 +1,33 @@ +--- +title: auth.codeTypeFlashCall +description: Type of verification code that will be sent next if you call the resendCode method: SMS code +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.codeTypeFlashCall +[Back to constructors index](index.md) + + + +Type of verification code that will be sent next if you call the resendCode method: SMS code + + + + +### Type: [auth.CodeType](../types/auth.CodeType.md) + + +### Example: + +```php +$auth.codeTypeFlashCall = ['_' => 'auth.codeTypeFlashCall']; +``` + + +Or, if you're into Lua: + +```lua +auth.codeTypeFlashCall={_='auth.codeTypeFlashCall'} + +``` + + diff --git a/docs/API_docs/constructors/auth.codeTypeSms.md b/docs/API_docs/constructors/auth.codeTypeSms.md new file mode 100644 index 00000000..bab9a5a4 --- /dev/null +++ b/docs/API_docs/constructors/auth.codeTypeSms.md @@ -0,0 +1,33 @@ +--- +title: auth.codeTypeSms +description: Type of verification code that will be sent next if you call the resendCode method: SMS code +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.codeTypeSms +[Back to constructors index](index.md) + + + +Type of verification code that will be sent next if you call the resendCode method: SMS code + + + + +### Type: [auth.CodeType](../types/auth.CodeType.md) + + +### Example: + +```php +$auth.codeTypeSms = ['_' => 'auth.codeTypeSms']; +``` + + +Or, if you're into Lua: + +```lua +auth.codeTypeSms={_='auth.codeTypeSms'} + +``` + + diff --git a/docs/API_docs/constructors/auth.exportedAuthorization.md b/docs/API_docs/constructors/auth.exportedAuthorization.md new file mode 100644 index 00000000..2a4a9896 --- /dev/null +++ b/docs/API_docs/constructors/auth.exportedAuthorization.md @@ -0,0 +1,39 @@ +--- +title: auth.exportedAuthorization +description: Data for copying of authorization between data centres. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.exportedAuthorization +[Back to constructors index](index.md) + + + +Data for copying of authorization between data centres. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|id|[int](../types/int.md) | Yes|Current user identifier| +|bytes|[bytes](../types/bytes.md) | Yes|Authorizes key| + + + +### Type: [auth.ExportedAuthorization](../types/auth.ExportedAuthorization.md) + + +### Example: + +```php +$auth.exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +auth.exportedAuthorization={_='auth.exportedAuthorization', id=int, bytes='bytes'} + +``` + + diff --git a/docs/API_docs/constructors/auth.passwordRecovery.md b/docs/API_docs/constructors/auth.passwordRecovery.md new file mode 100644 index 00000000..61de922d --- /dev/null +++ b/docs/API_docs/constructors/auth.passwordRecovery.md @@ -0,0 +1,38 @@ +--- +title: auth.passwordRecovery +description: Recovery info of a [2FA password](https://core.telegram.org/api/srp), only for accounts with a [recovery email configured](https://core.telegram.org/api/srp#email-verification). +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.passwordRecovery +[Back to constructors index](index.md) + + + +Recovery info of a [2FA password](https://core.telegram.org/api/srp), only for accounts with a [recovery email configured](https://core.telegram.org/api/srp#email-verification). + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|email\_pattern|[string](../types/string.md) | Yes|The email to which the recovery code was sent must match this [pattern](https://core.telegram.org/api/pattern).| + + + +### Type: [auth.PasswordRecovery](../types/auth.PasswordRecovery.md) + + +### Example: + +```php +$auth.passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +auth.passwordRecovery={_='auth.passwordRecovery', email_pattern='string'} + +``` + + diff --git a/docs/API_docs/constructors/auth.sentCode.md b/docs/API_docs/constructors/auth.sentCode.md new file mode 100644 index 00000000..134e2d0a --- /dev/null +++ b/docs/API_docs/constructors/auth.sentCode.md @@ -0,0 +1,41 @@ +--- +title: auth.sentCode +description: Contains info about a sent verification code. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentCode +[Back to constructors index](index.md) + + + +Contains info about a sent verification code. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|type|[auth.SentCodeType](../constructors/auth.SentCodeType.md) | Yes|Phone code type| +|phone\_code\_hash|[string](../types/string.md) | Yes|Phone code hash, to be stored and later re-used with [auth.signIn](../methods/auth.signIn.md)| +|next\_type|[auth.CodeType](../constructors/auth.CodeType.md) | Optional|Phone code type that will be sent next, if the phone code is not received within `timeout` seconds: to send it use [auth.resendCode](../methods/auth.resendCode.md)| +|timeout|[int](../types/int.md) | Optional|Timeout for reception of the phone code| + + + +### Type: [auth.SentCode](../types/auth.SentCode.md) + + +### Example: + +```php +$auth.sentCode = ['_' => 'auth.sentCode', 'type' => auth.SentCodeType, 'phone_code_hash' => 'string', 'next_type' => auth.CodeType, 'timeout' => int]; +``` + + +Or, if you're into Lua: + +```lua +auth.sentCode={_='auth.sentCode', type=auth.SentCodeType, phone_code_hash='string', next_type=auth.CodeType, timeout=int} + +``` + + diff --git a/docs/API_docs/constructors/auth.sentCodeTypeApp.md b/docs/API_docs/constructors/auth.sentCodeTypeApp.md new file mode 100644 index 00000000..5f2d4aa3 --- /dev/null +++ b/docs/API_docs/constructors/auth.sentCodeTypeApp.md @@ -0,0 +1,38 @@ +--- +title: auth.sentCodeTypeApp +description: The code was sent through the telegram app +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentCodeTypeApp +[Back to constructors index](index.md) + + + +The code was sent through the telegram app + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|length|[int](../types/int.md) | Yes|Length of the code in bytes| + + + +### Type: [auth.SentCodeType](../types/auth.SentCodeType.md) + + +### Example: + +```php +$auth.sentCodeTypeApp = ['_' => 'auth.sentCodeTypeApp', 'length' => int]; +``` + + +Or, if you're into Lua: + +```lua +auth.sentCodeTypeApp={_='auth.sentCodeTypeApp', length=int} + +``` + + diff --git a/docs/API_docs/constructors/auth.sentCodeTypeCall.md b/docs/API_docs/constructors/auth.sentCodeTypeCall.md new file mode 100644 index 00000000..9843b3df --- /dev/null +++ b/docs/API_docs/constructors/auth.sentCodeTypeCall.md @@ -0,0 +1,38 @@ +--- +title: auth.sentCodeTypeCall +description: The code will be sent via a phone call: a synthesized voice will tell the user which verification code to input. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentCodeTypeCall +[Back to constructors index](index.md) + + + +The code will be sent via a phone call: a synthesized voice will tell the user which verification code to input. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|length|[int](../types/int.md) | Yes|Length of the verification code| + + + +### Type: [auth.SentCodeType](../types/auth.SentCodeType.md) + + +### Example: + +```php +$auth.sentCodeTypeCall = ['_' => 'auth.sentCodeTypeCall', 'length' => int]; +``` + + +Or, if you're into Lua: + +```lua +auth.sentCodeTypeCall={_='auth.sentCodeTypeCall', length=int} + +``` + + diff --git a/docs/API_docs/constructors/auth.sentCodeTypeFlashCall.md b/docs/API_docs/constructors/auth.sentCodeTypeFlashCall.md new file mode 100644 index 00000000..0d24751d --- /dev/null +++ b/docs/API_docs/constructors/auth.sentCodeTypeFlashCall.md @@ -0,0 +1,38 @@ +--- +title: auth.sentCodeTypeFlashCall +description: The code will be sent via a flash phone call, that will be closed immediately. The phone code will then be the phone number itself, just make sure that the phone number matches the specified pattern. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentCodeTypeFlashCall +[Back to constructors index](index.md) + + + +The code will be sent via a flash phone call, that will be closed immediately. The phone code will then be the phone number itself, just make sure that the phone number matches the specified pattern. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pattern|[string](../types/string.md) | Yes|[pattern](https://core.telegram.org/api/pattern) to match| + + + +### Type: [auth.SentCodeType](../types/auth.SentCodeType.md) + + +### Example: + +```php +$auth.sentCodeTypeFlashCall = ['_' => 'auth.sentCodeTypeFlashCall', 'pattern' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +auth.sentCodeTypeFlashCall={_='auth.sentCodeTypeFlashCall', pattern='string'} + +``` + + diff --git a/docs/API_docs/constructors/auth.sentCodeTypeSms.md b/docs/API_docs/constructors/auth.sentCodeTypeSms.md new file mode 100644 index 00000000..d8ecb75e --- /dev/null +++ b/docs/API_docs/constructors/auth.sentCodeTypeSms.md @@ -0,0 +1,38 @@ +--- +title: auth.sentCodeTypeSms +description: The code was sent via SMS +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentCodeTypeSms +[Back to constructors index](index.md) + + + +The code was sent via SMS + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|length|[int](../types/int.md) | Yes|Length of the code in bytes| + + + +### Type: [auth.SentCodeType](../types/auth.SentCodeType.md) + + +### Example: + +```php +$auth.sentCodeTypeSms = ['_' => 'auth.sentCodeTypeSms', 'length' => int]; +``` + + +Or, if you're into Lua: + +```lua +auth.sentCodeTypeSms={_='auth.sentCodeTypeSms', length=int} + +``` + + diff --git a/docs/API_docs/constructors/auth_authorization.md b/docs/API_docs/constructors/auth_authorization.md deleted file mode 100644 index cb72811d..00000000 --- a/docs/API_docs/constructors/auth_authorization.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: auth.authorization -description: Contains user authorization info. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.authorization -[Back to constructors index](index.md) - - - -Contains user authorization info. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|tmp\_sessions|[int](../types/int.md) | Optional|Temporary [passport](https://core.telegram.org/passport) sessions| -|user|[User](../types/User.md) | Optional|Info on authorized user| - - - -### Type: [auth\_Authorization](../types/auth_Authorization.md) - - -### Example: - -```php -$auth_authorization = ['_' => 'auth.authorization', 'tmp_sessions' => int, 'user' => User]; -``` - - -Or, if you're into Lua: - -```lua -auth_authorization={_='auth.authorization', tmp_sessions=int, user=User} - -``` - - diff --git a/docs/API_docs/constructors/auth_authorizationSignUpRequired.md b/docs/API_docs/constructors/auth_authorizationSignUpRequired.md deleted file mode 100644 index 049680f3..00000000 --- a/docs/API_docs/constructors/auth_authorizationSignUpRequired.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.authorizationSignUpRequired -description: An account with this phone number doesn't exist on telegram: the user has to [enter basic information and sign up](https://core.telegram.org/api/auth) -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.authorizationSignUpRequired -[Back to constructors index](index.md) - - - -An account with this phone number doesn't exist on telegram: the user has to [enter basic information and sign up](https://core.telegram.org/api/auth) - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|terms\_of\_service|[help\_TermsOfService](../types/help_TermsOfService.md) | Optional|Telegram's terms of service: the user must read and accept the terms of service before signing up to telegram| - - - -### Type: [auth\_Authorization](../types/auth_Authorization.md) - - -### Example: - -```php -$auth_authorizationSignUpRequired = ['_' => 'auth.authorizationSignUpRequired', 'terms_of_service' => help_TermsOfService]; -``` - - -Or, if you're into Lua: - -```lua -auth_authorizationSignUpRequired={_='auth.authorizationSignUpRequired', terms_of_service=help_TermsOfService} - -``` - - diff --git a/docs/API_docs/constructors/auth_codeTypeCall.md b/docs/API_docs/constructors/auth_codeTypeCall.md deleted file mode 100644 index 3e957c2a..00000000 --- a/docs/API_docs/constructors/auth_codeTypeCall.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: auth.codeTypeCall -description: Type of verification code that will be sent next if you call the resendCode method: SMS code -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.codeTypeCall -[Back to constructors index](index.md) - - - -Type of verification code that will be sent next if you call the resendCode method: SMS code - - - - -### Type: [auth\_CodeType](../types/auth_CodeType.md) - - -### Example: - -```php -$auth_codeTypeCall = ['_' => 'auth.codeTypeCall']; -``` - - -Or, if you're into Lua: - -```lua -auth_codeTypeCall={_='auth.codeTypeCall'} - -``` - - diff --git a/docs/API_docs/constructors/auth_codeTypeFlashCall.md b/docs/API_docs/constructors/auth_codeTypeFlashCall.md deleted file mode 100644 index 981b2461..00000000 --- a/docs/API_docs/constructors/auth_codeTypeFlashCall.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: auth.codeTypeFlashCall -description: Type of verification code that will be sent next if you call the resendCode method: SMS code -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.codeTypeFlashCall -[Back to constructors index](index.md) - - - -Type of verification code that will be sent next if you call the resendCode method: SMS code - - - - -### Type: [auth\_CodeType](../types/auth_CodeType.md) - - -### Example: - -```php -$auth_codeTypeFlashCall = ['_' => 'auth.codeTypeFlashCall']; -``` - - -Or, if you're into Lua: - -```lua -auth_codeTypeFlashCall={_='auth.codeTypeFlashCall'} - -``` - - diff --git a/docs/API_docs/constructors/auth_codeTypeSms.md b/docs/API_docs/constructors/auth_codeTypeSms.md deleted file mode 100644 index 16eb5d0d..00000000 --- a/docs/API_docs/constructors/auth_codeTypeSms.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: auth.codeTypeSms -description: Type of verification code that will be sent next if you call the resendCode method: SMS code -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.codeTypeSms -[Back to constructors index](index.md) - - - -Type of verification code that will be sent next if you call the resendCode method: SMS code - - - - -### Type: [auth\_CodeType](../types/auth_CodeType.md) - - -### Example: - -```php -$auth_codeTypeSms = ['_' => 'auth.codeTypeSms']; -``` - - -Or, if you're into Lua: - -```lua -auth_codeTypeSms={_='auth.codeTypeSms'} - -``` - - diff --git a/docs/API_docs/constructors/auth_exportedAuthorization.md b/docs/API_docs/constructors/auth_exportedAuthorization.md deleted file mode 100644 index 8d18916e..00000000 --- a/docs/API_docs/constructors/auth_exportedAuthorization.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: auth.exportedAuthorization -description: Data for copying of authorization between data centres. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.exportedAuthorization -[Back to constructors index](index.md) - - - -Data for copying of authorization between data centres. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|id|[int](../types/int.md) | Yes|Current user identifier| -|bytes|[bytes](../types/bytes.md) | Yes|Authorizes key| - - - -### Type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) - - -### Example: - -```php -$auth_exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -auth_exportedAuthorization={_='auth.exportedAuthorization', id=int, bytes='bytes'} - -``` - - diff --git a/docs/API_docs/constructors/auth_passwordRecovery.md b/docs/API_docs/constructors/auth_passwordRecovery.md deleted file mode 100644 index c40f375e..00000000 --- a/docs/API_docs/constructors/auth_passwordRecovery.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.passwordRecovery -description: Recovery info of a [2FA password](https://core.telegram.org/api/srp), only for accounts with a [recovery email configured](https://core.telegram.org/api/srp#email-verification). -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.passwordRecovery -[Back to constructors index](index.md) - - - -Recovery info of a [2FA password](https://core.telegram.org/api/srp), only for accounts with a [recovery email configured](https://core.telegram.org/api/srp#email-verification). - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|email\_pattern|[string](../types/string.md) | Yes|The email to which the recovery code was sent must match this [pattern](https://core.telegram.org/api/pattern).| - - - -### Type: [auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) - - -### Example: - -```php -$auth_passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -auth_passwordRecovery={_='auth.passwordRecovery', email_pattern='string'} - -``` - - diff --git a/docs/API_docs/constructors/auth_sentCode.md b/docs/API_docs/constructors/auth_sentCode.md deleted file mode 100644 index d2b726e1..00000000 --- a/docs/API_docs/constructors/auth_sentCode.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: auth.sentCode -description: Contains info about a sent verification code. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentCode -[Back to constructors index](index.md) - - - -Contains info about a sent verification code. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|type|[auth\_SentCodeType](../types/auth_SentCodeType.md) | Yes|Phone code type| -|phone\_code\_hash|[string](../types/string.md) | Yes|Phone code hash, to be stored and later re-used with [auth.signIn](../methods/auth.signIn.md)| -|next\_type|[auth\_CodeType](../types/auth_CodeType.md) | Optional|Phone code type that will be sent next, if the phone code is not received within `timeout` seconds: to send it use [auth.resendCode](../methods/auth.resendCode.md)| -|timeout|[int](../types/int.md) | Optional|Timeout for reception of the phone code| - - - -### Type: [auth\_SentCode](../types/auth_SentCode.md) - - -### Example: - -```php -$auth_sentCode = ['_' => 'auth.sentCode', 'type' => auth_SentCodeType, 'phone_code_hash' => 'string', 'next_type' => auth_CodeType, 'timeout' => int]; -``` - - -Or, if you're into Lua: - -```lua -auth_sentCode={_='auth.sentCode', type=auth_SentCodeType, phone_code_hash='string', next_type=auth_CodeType, timeout=int} - -``` - - diff --git a/docs/API_docs/constructors/auth_sentCodeTypeApp.md b/docs/API_docs/constructors/auth_sentCodeTypeApp.md deleted file mode 100644 index 6b7ad824..00000000 --- a/docs/API_docs/constructors/auth_sentCodeTypeApp.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.sentCodeTypeApp -description: The code was sent through the telegram app -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentCodeTypeApp -[Back to constructors index](index.md) - - - -The code was sent through the telegram app - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|length|[int](../types/int.md) | Yes|Length of the code in bytes| - - - -### Type: [auth\_SentCodeType](../types/auth_SentCodeType.md) - - -### Example: - -```php -$auth_sentCodeTypeApp = ['_' => 'auth.sentCodeTypeApp', 'length' => int]; -``` - - -Or, if you're into Lua: - -```lua -auth_sentCodeTypeApp={_='auth.sentCodeTypeApp', length=int} - -``` - - diff --git a/docs/API_docs/constructors/auth_sentCodeTypeCall.md b/docs/API_docs/constructors/auth_sentCodeTypeCall.md deleted file mode 100644 index bf025aa5..00000000 --- a/docs/API_docs/constructors/auth_sentCodeTypeCall.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.sentCodeTypeCall -description: The code will be sent via a phone call: a synthesized voice will tell the user which verification code to input. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentCodeTypeCall -[Back to constructors index](index.md) - - - -The code will be sent via a phone call: a synthesized voice will tell the user which verification code to input. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|length|[int](../types/int.md) | Yes|Length of the verification code| - - - -### Type: [auth\_SentCodeType](../types/auth_SentCodeType.md) - - -### Example: - -```php -$auth_sentCodeTypeCall = ['_' => 'auth.sentCodeTypeCall', 'length' => int]; -``` - - -Or, if you're into Lua: - -```lua -auth_sentCodeTypeCall={_='auth.sentCodeTypeCall', length=int} - -``` - - diff --git a/docs/API_docs/constructors/auth_sentCodeTypeFlashCall.md b/docs/API_docs/constructors/auth_sentCodeTypeFlashCall.md deleted file mode 100644 index efe64ce7..00000000 --- a/docs/API_docs/constructors/auth_sentCodeTypeFlashCall.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.sentCodeTypeFlashCall -description: The code will be sent via a flash phone call, that will be closed immediately. The phone code will then be the phone number itself, just make sure that the phone number matches the specified pattern. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentCodeTypeFlashCall -[Back to constructors index](index.md) - - - -The code will be sent via a flash phone call, that will be closed immediately. The phone code will then be the phone number itself, just make sure that the phone number matches the specified pattern. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pattern|[string](../types/string.md) | Yes|[pattern](https://core.telegram.org/api/pattern) to match| - - - -### Type: [auth\_SentCodeType](../types/auth_SentCodeType.md) - - -### Example: - -```php -$auth_sentCodeTypeFlashCall = ['_' => 'auth.sentCodeTypeFlashCall', 'pattern' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -auth_sentCodeTypeFlashCall={_='auth.sentCodeTypeFlashCall', pattern='string'} - -``` - - diff --git a/docs/API_docs/constructors/auth_sentCodeTypeSms.md b/docs/API_docs/constructors/auth_sentCodeTypeSms.md deleted file mode 100644 index 8e27dac9..00000000 --- a/docs/API_docs/constructors/auth_sentCodeTypeSms.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.sentCodeTypeSms -description: The code was sent via SMS -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentCodeTypeSms -[Back to constructors index](index.md) - - - -The code was sent via SMS - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|length|[int](../types/int.md) | Yes|Length of the code in bytes| - - - -### Type: [auth\_SentCodeType](../types/auth_SentCodeType.md) - - -### Example: - -```php -$auth_sentCodeTypeSms = ['_' => 'auth.sentCodeTypeSms', 'length' => int]; -``` - - -Or, if you're into Lua: - -```lua -auth_sentCodeTypeSms={_='auth.sentCodeTypeSms', length=int} - -``` - - diff --git a/docs/API_docs/constructors/channels.adminLogResults.md b/docs/API_docs/constructors/channels.adminLogResults.md new file mode 100644 index 00000000..fc4e234a --- /dev/null +++ b/docs/API_docs/constructors/channels.adminLogResults.md @@ -0,0 +1,40 @@ +--- +title: channels.adminLogResults +description: Admin log events +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: channels.adminLogResults +[Back to constructors index](index.md) + + + +Admin log events + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|events|Array of [ChannelAdminLogEvent](../types/ChannelAdminLogEvent.md) | Yes|Events| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [channels.AdminLogResults](../types/channels.AdminLogResults.md) + + +### Example: + +```php +$channels.adminLogResults = ['_' => 'channels.adminLogResults', 'events' => [ChannelAdminLogEvent, ChannelAdminLogEvent], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +channels.adminLogResults={_='channels.adminLogResults', events={ChannelAdminLogEvent}, chats={Chat}, users={User}} + +``` + + diff --git a/docs/API_docs/constructors/channels.channelParticipant.md b/docs/API_docs/constructors/channels.channelParticipant.md new file mode 100644 index 00000000..0f09777f --- /dev/null +++ b/docs/API_docs/constructors/channels.channelParticipant.md @@ -0,0 +1,39 @@ +--- +title: channels.channelParticipant +description: Represents a channel participant +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: channels.channelParticipant +[Back to constructors index](index.md) + + + +Represents a channel participant + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|participant|[ChannelParticipant](../types/ChannelParticipant.md) | Yes|The channel participant| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [channels.ChannelParticipant](../types/channels.ChannelParticipant.md) + + +### Example: + +```php +$channels.channelParticipant = ['_' => 'channels.channelParticipant', 'participant' => ChannelParticipant, 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +channels.channelParticipant={_='channels.channelParticipant', participant=ChannelParticipant, users={User}} + +``` + + diff --git a/docs/API_docs/constructors/channels.channelParticipants.md b/docs/API_docs/constructors/channels.channelParticipants.md new file mode 100644 index 00000000..6ee1a8b3 --- /dev/null +++ b/docs/API_docs/constructors/channels.channelParticipants.md @@ -0,0 +1,40 @@ +--- +title: channels.channelParticipants +description: Represents multiple channel participants +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: channels.channelParticipants +[Back to constructors index](index.md) + + + +Represents multiple channel participants + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of participants that correspond to the given query| +|participants|Array of [ChannelParticipant](../types/ChannelParticipant.md) | Yes|Participants| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [channels.ChannelParticipants](../types/channels.ChannelParticipants.md) + + +### Example: + +```php +$channels.channelParticipants = ['_' => 'channels.channelParticipants', 'count' => int, 'participants' => [ChannelParticipant, ChannelParticipant], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +channels.channelParticipants={_='channels.channelParticipants', count=int, participants={ChannelParticipant}, users={User}} + +``` + + diff --git a/docs/API_docs/constructors/channels.channelParticipantsNotModified.md b/docs/API_docs/constructors/channels.channelParticipantsNotModified.md new file mode 100644 index 00000000..37ece73a --- /dev/null +++ b/docs/API_docs/constructors/channels.channelParticipantsNotModified.md @@ -0,0 +1,33 @@ +--- +title: channels.channelParticipantsNotModified +description: No new participant info could be found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: channels.channelParticipantsNotModified +[Back to constructors index](index.md) + + + +No new participant info could be found + + + + +### Type: [channels.ChannelParticipants](../types/channels.ChannelParticipants.md) + + +### Example: + +```php +$channels.channelParticipantsNotModified = ['_' => 'channels.channelParticipantsNotModified']; +``` + + +Or, if you're into Lua: + +```lua +channels.channelParticipantsNotModified={_='channels.channelParticipantsNotModified'} + +``` + + diff --git a/docs/API_docs/constructors/channels_adminLogResults.md b/docs/API_docs/constructors/channels_adminLogResults.md deleted file mode 100644 index 9061212a..00000000 --- a/docs/API_docs/constructors/channels_adminLogResults.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: channels.adminLogResults -description: Admin log events -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: channels.adminLogResults -[Back to constructors index](index.md) - - - -Admin log events - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|events|Array of [ChannelAdminLogEvent](../types/ChannelAdminLogEvent.md) | Yes|Events| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [channels\_AdminLogResults](../types/channels_AdminLogResults.md) - - -### Example: - -```php -$channels_adminLogResults = ['_' => 'channels.adminLogResults', 'events' => [ChannelAdminLogEvent, ChannelAdminLogEvent], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -channels_adminLogResults={_='channels.adminLogResults', events={ChannelAdminLogEvent}, chats={Chat}, users={User}} - -``` - - diff --git a/docs/API_docs/constructors/channels_channelParticipant.md b/docs/API_docs/constructors/channels_channelParticipant.md deleted file mode 100644 index 15fe46a4..00000000 --- a/docs/API_docs/constructors/channels_channelParticipant.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: channels.channelParticipant -description: Represents a channel participant -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: channels.channelParticipant -[Back to constructors index](index.md) - - - -Represents a channel participant - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|participant|[ChannelParticipant](../types/ChannelParticipant.md) | Yes|The channel participant| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [channels\_ChannelParticipant](../types/channels_ChannelParticipant.md) - - -### Example: - -```php -$channels_channelParticipant = ['_' => 'channels.channelParticipant', 'participant' => ChannelParticipant, 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -channels_channelParticipant={_='channels.channelParticipant', participant=ChannelParticipant, users={User}} - -``` - - diff --git a/docs/API_docs/constructors/channels_channelParticipants.md b/docs/API_docs/constructors/channels_channelParticipants.md deleted file mode 100644 index 1848a04f..00000000 --- a/docs/API_docs/constructors/channels_channelParticipants.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: channels.channelParticipants -description: Represents multiple channel participants -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: channels.channelParticipants -[Back to constructors index](index.md) - - - -Represents multiple channel participants - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of participants that correspond to the given query| -|participants|Array of [ChannelParticipant](../types/ChannelParticipant.md) | Yes|Participants| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [channels\_ChannelParticipants](../types/channels_ChannelParticipants.md) - - -### Example: - -```php -$channels_channelParticipants = ['_' => 'channels.channelParticipants', 'count' => int, 'participants' => [ChannelParticipant, ChannelParticipant], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -channels_channelParticipants={_='channels.channelParticipants', count=int, participants={ChannelParticipant}, users={User}} - -``` - - diff --git a/docs/API_docs/constructors/channels_channelParticipantsNotModified.md b/docs/API_docs/constructors/channels_channelParticipantsNotModified.md deleted file mode 100644 index 800048f7..00000000 --- a/docs/API_docs/constructors/channels_channelParticipantsNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: channels.channelParticipantsNotModified -description: No new participant info could be found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: channels.channelParticipantsNotModified -[Back to constructors index](index.md) - - - -No new participant info could be found - - - - -### Type: [channels\_ChannelParticipants](../types/channels_ChannelParticipants.md) - - -### Example: - -```php -$channels_channelParticipantsNotModified = ['_' => 'channels.channelParticipantsNotModified']; -``` - - -Or, if you're into Lua: - -```lua -channels_channelParticipantsNotModified={_='channels.channelParticipantsNotModified'} - -``` - - diff --git a/docs/API_docs/constructors/contacts.blocked.md b/docs/API_docs/constructors/contacts.blocked.md new file mode 100644 index 00000000..d2b3f680 --- /dev/null +++ b/docs/API_docs/constructors/contacts.blocked.md @@ -0,0 +1,39 @@ +--- +title: contacts.blocked +description: Full list of blocked users. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.blocked +[Back to constructors index](index.md) + + + +Full list of blocked users. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Blocked](../types/contacts.Blocked.md) + + +### Example: + +```php +$contacts.blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.blocked={_='contacts.blocked', blocked={ContactBlocked}, users={User}} + +``` + + diff --git a/docs/API_docs/constructors/contacts.blockedSlice.md b/docs/API_docs/constructors/contacts.blockedSlice.md new file mode 100644 index 00000000..92d19c72 --- /dev/null +++ b/docs/API_docs/constructors/contacts.blockedSlice.md @@ -0,0 +1,40 @@ +--- +title: contacts.blockedSlice +description: Incomplete list of blocked users. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.blockedSlice +[Back to constructors index](index.md) + + + +Incomplete list of blocked users. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of elements in the list| +|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Blocked](../types/contacts.Blocked.md) + + +### Example: + +```php +$contacts.blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.blockedSlice={_='contacts.blockedSlice', count=int, blocked={ContactBlocked}, users={User}} + +``` + + diff --git a/docs/API_docs/constructors/contacts.contacts.md b/docs/API_docs/constructors/contacts.contacts.md new file mode 100644 index 00000000..c3251e5d --- /dev/null +++ b/docs/API_docs/constructors/contacts.contacts.md @@ -0,0 +1,40 @@ +--- +title: contacts.contacts +description: The current user's contact list and info on users. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.contacts +[Back to constructors index](index.md) + + + +The current user's contact list and info on users. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|contacts|Array of [Contact](../types/Contact.md) | Yes|Contacts| +|saved\_count|[int](../types/int.md) | Yes|Number of contacts that were saved successfully| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Contacts](../types/contacts.Contacts.md) + + +### Example: + +```php +$contacts.contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact, Contact], 'saved_count' => int, 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.contacts={_='contacts.contacts', contacts={Contact}, saved_count=int, users={User}} + +``` + + diff --git a/docs/API_docs/constructors/contacts.contactsNotModified.md b/docs/API_docs/constructors/contacts.contactsNotModified.md new file mode 100644 index 00000000..e2149396 --- /dev/null +++ b/docs/API_docs/constructors/contacts.contactsNotModified.md @@ -0,0 +1,33 @@ +--- +title: contacts.contactsNotModified +description: Contact list on the server is the same as the list on the client. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.contactsNotModified +[Back to constructors index](index.md) + + + +Contact list on the server is the same as the list on the client. + + + + +### Type: [contacts.Contacts](../types/contacts.Contacts.md) + + +### Example: + +```php +$contacts.contactsNotModified = ['_' => 'contacts.contactsNotModified']; +``` + + +Or, if you're into Lua: + +```lua +contacts.contactsNotModified={_='contacts.contactsNotModified'} + +``` + + diff --git a/docs/API_docs/constructors/contacts.found.md b/docs/API_docs/constructors/contacts.found.md new file mode 100644 index 00000000..65df2f8d --- /dev/null +++ b/docs/API_docs/constructors/contacts.found.md @@ -0,0 +1,41 @@ +--- +title: contacts.found +description: Users found by name substring and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.found +[Back to constructors index](index.md) + + + +Users found by name substring and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|my\_results|Array of [Peer](../types/Peer.md) | Yes|My results| +|results|Array of [Peer](../types/Peer.md) | Yes|Results| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Found](../types/contacts.Found.md) + + +### Example: + +```php +$contacts.found = ['_' => 'contacts.found', 'my_results' => [Peer, Peer], 'results' => [Peer, Peer], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.found={_='contacts.found', my_results={Peer}, results={Peer}, chats={Chat}, users={User}} + +``` + + diff --git a/docs/API_docs/constructors/contacts.importedContacts.md b/docs/API_docs/constructors/contacts.importedContacts.md new file mode 100644 index 00000000..20075931 --- /dev/null +++ b/docs/API_docs/constructors/contacts.importedContacts.md @@ -0,0 +1,41 @@ +--- +title: contacts.importedContacts +description: Info on succesfully imported contacts. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.importedContacts +[Back to constructors index](index.md) + + + +Info on succesfully imported contacts. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|imported|Array of [ImportedContact](../types/ImportedContact.md) | Yes|Imported| +|popular\_invites|Array of [PopularContact](../types/PopularContact.md) | Yes|Popular invites| +|retry\_contacts|Array of [long](../types/long.md) | Yes|Retry importing contacts whose client IDs appear here| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.ImportedContacts](../types/contacts.ImportedContacts.md) + + +### Example: + +```php +$contacts.importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact, ImportedContact], 'popular_invites' => [PopularContact, PopularContact], 'retry_contacts' => [long, long], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.importedContacts={_='contacts.importedContacts', imported={ImportedContact}, popular_invites={PopularContact}, retry_contacts={long}, users={User}} + +``` + + diff --git a/docs/API_docs/constructors/contacts.resolvedPeer.md b/docs/API_docs/constructors/contacts.resolvedPeer.md new file mode 100644 index 00000000..35d88481 --- /dev/null +++ b/docs/API_docs/constructors/contacts.resolvedPeer.md @@ -0,0 +1,40 @@ +--- +title: contacts.resolvedPeer +description: Resolved peer +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.resolvedPeer +[Back to constructors index](index.md) + + + +Resolved peer + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|peer|[Peer](../types/Peer.md) | Yes|The peer| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.ResolvedPeer](../types/contacts.ResolvedPeer.md) + + +### Example: + +```php +$contacts.resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.resolvedPeer={_='contacts.resolvedPeer', peer=Peer, chats={Chat}, users={User}} + +``` + + diff --git a/docs/API_docs/constructors/contacts.topPeers.md b/docs/API_docs/constructors/contacts.topPeers.md new file mode 100644 index 00000000..19d9c712 --- /dev/null +++ b/docs/API_docs/constructors/contacts.topPeers.md @@ -0,0 +1,40 @@ +--- +title: contacts.topPeers +description: Top peers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.topPeers +[Back to constructors index](index.md) + + + +Top peers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|categories|Array of [TopPeerCategoryPeers](../types/TopPeerCategoryPeers.md) | Yes|Categories| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.TopPeers](../types/contacts.TopPeers.md) + + +### Example: + +```php +$contacts.topPeers = ['_' => 'contacts.topPeers', 'categories' => [TopPeerCategoryPeers, TopPeerCategoryPeers], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.topPeers={_='contacts.topPeers', categories={TopPeerCategoryPeers}, chats={Chat}, users={User}} + +``` + + diff --git a/docs/API_docs/constructors/contacts.topPeersDisabled.md b/docs/API_docs/constructors/contacts.topPeersDisabled.md new file mode 100644 index 00000000..a0e2c50b --- /dev/null +++ b/docs/API_docs/constructors/contacts.topPeersDisabled.md @@ -0,0 +1,33 @@ +--- +title: contacts.topPeersDisabled +description: Top peers disabled +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.topPeersDisabled +[Back to constructors index](index.md) + + + +Top peers disabled + + + + +### Type: [contacts.TopPeers](../types/contacts.TopPeers.md) + + +### Example: + +```php +$contacts.topPeersDisabled = ['_' => 'contacts.topPeersDisabled']; +``` + + +Or, if you're into Lua: + +```lua +contacts.topPeersDisabled={_='contacts.topPeersDisabled'} + +``` + + diff --git a/docs/API_docs/constructors/contacts.topPeersNotModified.md b/docs/API_docs/constructors/contacts.topPeersNotModified.md new file mode 100644 index 00000000..77c5eb4d --- /dev/null +++ b/docs/API_docs/constructors/contacts.topPeersNotModified.md @@ -0,0 +1,33 @@ +--- +title: contacts.topPeersNotModified +description: Top peer info hasn't changed +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.topPeersNotModified +[Back to constructors index](index.md) + + + +Top peer info hasn't changed + + + + +### Type: [contacts.TopPeers](../types/contacts.TopPeers.md) + + +### Example: + +```php +$contacts.topPeersNotModified = ['_' => 'contacts.topPeersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +contacts.topPeersNotModified={_='contacts.topPeersNotModified'} + +``` + + diff --git a/docs/API_docs/constructors/contacts_blocked.md b/docs/API_docs/constructors/contacts_blocked.md deleted file mode 100644 index 20e33002..00000000 --- a/docs/API_docs/constructors/contacts_blocked.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: contacts.blocked -description: Full list of blocked users. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.blocked -[Back to constructors index](index.md) - - - -Full list of blocked users. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Blocked](../types/contacts_Blocked.md) - - -### Example: - -```php -$contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_blocked={_='contacts.blocked', blocked={ContactBlocked}, users={User}} - -``` - - diff --git a/docs/API_docs/constructors/contacts_blockedSlice.md b/docs/API_docs/constructors/contacts_blockedSlice.md deleted file mode 100644 index fcab9a28..00000000 --- a/docs/API_docs/constructors/contacts_blockedSlice.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.blockedSlice -description: Incomplete list of blocked users. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.blockedSlice -[Back to constructors index](index.md) - - - -Incomplete list of blocked users. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of elements in the list| -|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Blocked](../types/contacts_Blocked.md) - - -### Example: - -```php -$contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_blockedSlice={_='contacts.blockedSlice', count=int, blocked={ContactBlocked}, users={User}} - -``` - - diff --git a/docs/API_docs/constructors/contacts_contacts.md b/docs/API_docs/constructors/contacts_contacts.md deleted file mode 100644 index 0e6f0dd3..00000000 --- a/docs/API_docs/constructors/contacts_contacts.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.contacts -description: The current user's contact list and info on users. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.contacts -[Back to constructors index](index.md) - - - -The current user's contact list and info on users. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|contacts|Array of [Contact](../types/Contact.md) | Yes|Contacts| -|saved\_count|[int](../types/int.md) | Yes|Number of contacts that were saved successfully| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Contacts](../types/contacts_Contacts.md) - - -### Example: - -```php -$contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact, Contact], 'saved_count' => int, 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_contacts={_='contacts.contacts', contacts={Contact}, saved_count=int, users={User}} - -``` - - diff --git a/docs/API_docs/constructors/contacts_contactsNotModified.md b/docs/API_docs/constructors/contacts_contactsNotModified.md deleted file mode 100644 index 17e76ac3..00000000 --- a/docs/API_docs/constructors/contacts_contactsNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: contacts.contactsNotModified -description: Contact list on the server is the same as the list on the client. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.contactsNotModified -[Back to constructors index](index.md) - - - -Contact list on the server is the same as the list on the client. - - - - -### Type: [contacts\_Contacts](../types/contacts_Contacts.md) - - -### Example: - -```php -$contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified']; -``` - - -Or, if you're into Lua: - -```lua -contacts_contactsNotModified={_='contacts.contactsNotModified'} - -``` - - diff --git a/docs/API_docs/constructors/contacts_found.md b/docs/API_docs/constructors/contacts_found.md deleted file mode 100644 index 76b9aa0c..00000000 --- a/docs/API_docs/constructors/contacts_found.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: contacts.found -description: Users found by name substring and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.found -[Back to constructors index](index.md) - - - -Users found by name substring and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|my\_results|Array of [Peer](../types/Peer.md) | Yes|My results| -|results|Array of [Peer](../types/Peer.md) | Yes|Results| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Found](../types/contacts_Found.md) - - -### Example: - -```php -$contacts_found = ['_' => 'contacts.found', 'my_results' => [Peer, Peer], 'results' => [Peer, Peer], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_found={_='contacts.found', my_results={Peer}, results={Peer}, chats={Chat}, users={User}} - -``` - - diff --git a/docs/API_docs/constructors/contacts_importedContacts.md b/docs/API_docs/constructors/contacts_importedContacts.md deleted file mode 100644 index e534754b..00000000 --- a/docs/API_docs/constructors/contacts_importedContacts.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: contacts.importedContacts -description: Info on succesfully imported contacts. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.importedContacts -[Back to constructors index](index.md) - - - -Info on succesfully imported contacts. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|imported|Array of [ImportedContact](../types/ImportedContact.md) | Yes|Imported| -|popular\_invites|Array of [PopularContact](../types/PopularContact.md) | Yes|Popular invites| -|retry\_contacts|Array of [long](../types/long.md) | Yes|Retry importing contacts whose client IDs appear here| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) - - -### Example: - -```php -$contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact, ImportedContact], 'popular_invites' => [PopularContact, PopularContact], 'retry_contacts' => [long, long], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_importedContacts={_='contacts.importedContacts', imported={ImportedContact}, popular_invites={PopularContact}, retry_contacts={long}, users={User}} - -``` - - diff --git a/docs/API_docs/constructors/contacts_resolvedPeer.md b/docs/API_docs/constructors/contacts_resolvedPeer.md deleted file mode 100644 index aae3c7af..00000000 --- a/docs/API_docs/constructors/contacts_resolvedPeer.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.resolvedPeer -description: Resolved peer -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.resolvedPeer -[Back to constructors index](index.md) - - - -Resolved peer - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|peer|[Peer](../types/Peer.md) | Yes|The peer| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_ResolvedPeer](../types/contacts_ResolvedPeer.md) - - -### Example: - -```php -$contacts_resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_resolvedPeer={_='contacts.resolvedPeer', peer=Peer, chats={Chat}, users={User}} - -``` - - diff --git a/docs/API_docs/constructors/contacts_topPeers.md b/docs/API_docs/constructors/contacts_topPeers.md deleted file mode 100644 index 77bc07d3..00000000 --- a/docs/API_docs/constructors/contacts_topPeers.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.topPeers -description: Top peers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.topPeers -[Back to constructors index](index.md) - - - -Top peers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|categories|Array of [TopPeerCategoryPeers](../types/TopPeerCategoryPeers.md) | Yes|Categories| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_TopPeers](../types/contacts_TopPeers.md) - - -### Example: - -```php -$contacts_topPeers = ['_' => 'contacts.topPeers', 'categories' => [TopPeerCategoryPeers, TopPeerCategoryPeers], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_topPeers={_='contacts.topPeers', categories={TopPeerCategoryPeers}, chats={Chat}, users={User}} - -``` - - diff --git a/docs/API_docs/constructors/contacts_topPeersDisabled.md b/docs/API_docs/constructors/contacts_topPeersDisabled.md deleted file mode 100644 index e359a76d..00000000 --- a/docs/API_docs/constructors/contacts_topPeersDisabled.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: contacts.topPeersDisabled -description: Top peers disabled -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.topPeersDisabled -[Back to constructors index](index.md) - - - -Top peers disabled - - - - -### Type: [contacts\_TopPeers](../types/contacts_TopPeers.md) - - -### Example: - -```php -$contacts_topPeersDisabled = ['_' => 'contacts.topPeersDisabled']; -``` - - -Or, if you're into Lua: - -```lua -contacts_topPeersDisabled={_='contacts.topPeersDisabled'} - -``` - - diff --git a/docs/API_docs/constructors/contacts_topPeersNotModified.md b/docs/API_docs/constructors/contacts_topPeersNotModified.md deleted file mode 100644 index 43eae59d..00000000 --- a/docs/API_docs/constructors/contacts_topPeersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: contacts.topPeersNotModified -description: Top peer info hasn't changed -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.topPeersNotModified -[Back to constructors index](index.md) - - - -Top peer info hasn't changed - - - - -### Type: [contacts\_TopPeers](../types/contacts_TopPeers.md) - - -### Example: - -```php -$contacts_topPeersNotModified = ['_' => 'contacts.topPeersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -contacts_topPeersNotModified={_='contacts.topPeersNotModified'} - -``` - - diff --git a/docs/API_docs/constructors/help.appUpdate.md b/docs/API_docs/constructors/help.appUpdate.md new file mode 100644 index 00000000..ba83f72b --- /dev/null +++ b/docs/API_docs/constructors/help.appUpdate.md @@ -0,0 +1,44 @@ +--- +title: help.appUpdate +description: An update is available for the application. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.appUpdate +[Back to constructors index](index.md) + + + +An update is available for the application. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|can\_not\_skip|[Bool](../types/Bool.md) | Optional|Unskippable, the new info must be shown to the user (with a popup or something else)| +|id|[int](../types/int.md) | Yes|Update ID| +|version|[string](../types/string.md) | Yes|New version name| +|text|[string](../types/string.md) | Yes|Text description of the update| +|entities|Array of [MessageEntity](../types/MessageEntity.md) | Yes|Entities| +|document|[Document](../types/Document.md) | Optional|Attached document| +|url|[string](../types/string.md) | Optional|Application download URL| + + + +### Type: [help.AppUpdate](../types/help.AppUpdate.md) + + +### Example: + +```php +$help.appUpdate = ['_' => 'help.appUpdate', 'can_not_skip' => Bool, 'id' => int, 'version' => 'string', 'text' => 'string', 'entities' => [MessageEntity, MessageEntity], 'document' => Document, 'url' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +help.appUpdate={_='help.appUpdate', can_not_skip=Bool, id=int, version='string', text='string', entities={MessageEntity}, document=Document, url='string'} + +``` + + diff --git a/docs/API_docs/constructors/help.configSimple.md b/docs/API_docs/constructors/help.configSimple.md new file mode 100644 index 00000000..4070e1ce --- /dev/null +++ b/docs/API_docs/constructors/help.configSimple.md @@ -0,0 +1,40 @@ +--- +title: help.configSimple +description: Config simple +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.configSimple +[Back to constructors index](index.md) + + + +Config simple + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Date| +|expires|[int](../types/int.md) | Yes|Expires| +|rules|Array of [AccessPointRule](../types/AccessPointRule.md) | Yes|Rules| + + + +### Type: [help.ConfigSimple](../types/help.ConfigSimple.md) + + +### Example: + +```php +$help.configSimple = ['_' => 'help.configSimple', 'date' => int, 'expires' => int, 'rules' => [AccessPointRule, AccessPointRule]]; +``` + + +Or, if you're into Lua: + +```lua +help.configSimple={_='help.configSimple', date=int, expires=int, rules={AccessPointRule}} + +``` + + diff --git a/docs/API_docs/constructors/help.deepLinkInfo.md b/docs/API_docs/constructors/help.deepLinkInfo.md new file mode 100644 index 00000000..78f70af0 --- /dev/null +++ b/docs/API_docs/constructors/help.deepLinkInfo.md @@ -0,0 +1,40 @@ +--- +title: help.deepLinkInfo +description: Deep linking info +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.deepLinkInfo +[Back to constructors index](index.md) + + + +Deep linking info + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|update\_app|[Bool](../types/Bool.md) | Optional|An update of the app is required to parse this link| +|message|[string](../types/string.md) | Yes|Message to show to the user| +|entities|Array of [MessageEntity](../types/MessageEntity.md) | Optional|Entities| + + + +### Type: [help.DeepLinkInfo](../types/help.DeepLinkInfo.md) + + +### Example: + +```php +$help.deepLinkInfo = ['_' => 'help.deepLinkInfo', 'update_app' => Bool, 'message' => 'string', 'entities' => [MessageEntity, MessageEntity]]; +``` + + +Or, if you're into Lua: + +```lua +help.deepLinkInfo={_='help.deepLinkInfo', update_app=Bool, message='string', entities={MessageEntity}} + +``` + + diff --git a/docs/API_docs/constructors/help.deepLinkInfoEmpty.md b/docs/API_docs/constructors/help.deepLinkInfoEmpty.md new file mode 100644 index 00000000..dc99166c --- /dev/null +++ b/docs/API_docs/constructors/help.deepLinkInfoEmpty.md @@ -0,0 +1,33 @@ +--- +title: help.deepLinkInfoEmpty +description: Deep link info empty +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.deepLinkInfoEmpty +[Back to constructors index](index.md) + + + +Deep link info empty + + + + +### Type: [help.DeepLinkInfo](../types/help.DeepLinkInfo.md) + + +### Example: + +```php +$help.deepLinkInfoEmpty = ['_' => 'help.deepLinkInfoEmpty']; +``` + + +Or, if you're into Lua: + +```lua +help.deepLinkInfoEmpty={_='help.deepLinkInfoEmpty'} + +``` + + diff --git a/docs/API_docs/constructors/help.inviteText.md b/docs/API_docs/constructors/help.inviteText.md new file mode 100644 index 00000000..6a6261c1 --- /dev/null +++ b/docs/API_docs/constructors/help.inviteText.md @@ -0,0 +1,38 @@ +--- +title: help.inviteText +description: Text of a text message with an invitation to install application. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.inviteText +[Back to constructors index](index.md) + + + +Text of a text message with an invitation to install application. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|message|[string](../types/string.md) | Yes|Text of a message| + + + +### Type: [help.InviteText](../types/help.InviteText.md) + + +### Example: + +```php +$help.inviteText = ['_' => 'help.inviteText', 'message' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +help.inviteText={_='help.inviteText', message='string'} + +``` + + diff --git a/docs/API_docs/constructors/help.noAppUpdate.md b/docs/API_docs/constructors/help.noAppUpdate.md new file mode 100644 index 00000000..1b69ac9a --- /dev/null +++ b/docs/API_docs/constructors/help.noAppUpdate.md @@ -0,0 +1,33 @@ +--- +title: help.noAppUpdate +description: No updates are available for the application. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.noAppUpdate +[Back to constructors index](index.md) + + + +No updates are available for the application. + + + + +### Type: [help.AppUpdate](../types/help.AppUpdate.md) + + +### Example: + +```php +$help.noAppUpdate = ['_' => 'help.noAppUpdate']; +``` + + +Or, if you're into Lua: + +```lua +help.noAppUpdate={_='help.noAppUpdate'} + +``` + + diff --git a/docs/API_docs/constructors/help.passportConfig.md b/docs/API_docs/constructors/help.passportConfig.md new file mode 100644 index 00000000..b418b611 --- /dev/null +++ b/docs/API_docs/constructors/help.passportConfig.md @@ -0,0 +1,39 @@ +--- +title: help.passportConfig +description: Telegram [passport](https://core.telegram.org/passport) configuration +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.passportConfig +[Back to constructors index](index.md) + + + +Telegram [passport](https://core.telegram.org/passport) configuration + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|countries\_langs|[DataJSON](../types/DataJSON.md) | Yes|Localization| + + + +### Type: [help.PassportConfig](../types/help.PassportConfig.md) + + +### Example: + +```php +$help.passportConfig = ['_' => 'help.passportConfig', 'hash' => int, 'countries_langs' => DataJSON]; +``` + + +Or, if you're into Lua: + +```lua +help.passportConfig={_='help.passportConfig', hash=int, countries_langs=DataJSON} + +``` + + diff --git a/docs/API_docs/constructors/help.passportConfigNotModified.md b/docs/API_docs/constructors/help.passportConfigNotModified.md new file mode 100644 index 00000000..d48cc55b --- /dev/null +++ b/docs/API_docs/constructors/help.passportConfigNotModified.md @@ -0,0 +1,33 @@ +--- +title: help.passportConfigNotModified +description: Password configuration not modified +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.passportConfigNotModified +[Back to constructors index](index.md) + + + +Password configuration not modified + + + + +### Type: [help.PassportConfig](../types/help.PassportConfig.md) + + +### Example: + +```php +$help.passportConfigNotModified = ['_' => 'help.passportConfigNotModified']; +``` + + +Or, if you're into Lua: + +```lua +help.passportConfigNotModified={_='help.passportConfigNotModified'} + +``` + + diff --git a/docs/API_docs/constructors/help.proxyDataEmpty.md b/docs/API_docs/constructors/help.proxyDataEmpty.md new file mode 100644 index 00000000..66fd63ac --- /dev/null +++ b/docs/API_docs/constructors/help.proxyDataEmpty.md @@ -0,0 +1,38 @@ +--- +title: help.proxyDataEmpty +description: No proxy was used to connect to tg (or none was provided to [initConnection](../methods/initConnection.md), or the used proxy doesn't have a promotion channel associated to it) +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.proxyDataEmpty +[Back to constructors index](index.md) + + + +No proxy was used to connect to tg (or none was provided to [initConnection](../methods/initConnection.md), or the used proxy doesn't have a promotion channel associated to it) + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|expires|[int](../types/int.md) | Yes|Expiration date of proxy info, will have to be refetched in `expires` seconds| + + + +### Type: [help.ProxyData](../types/help.ProxyData.md) + + +### Example: + +```php +$help.proxyDataEmpty = ['_' => 'help.proxyDataEmpty', 'expires' => int]; +``` + + +Or, if you're into Lua: + +```lua +help.proxyDataEmpty={_='help.proxyDataEmpty', expires=int} + +``` + + diff --git a/docs/API_docs/constructors/help.proxyDataPromo.md b/docs/API_docs/constructors/help.proxyDataPromo.md new file mode 100644 index 00000000..eb32aabd --- /dev/null +++ b/docs/API_docs/constructors/help.proxyDataPromo.md @@ -0,0 +1,41 @@ +--- +title: help.proxyDataPromo +description: Promotion channel associated to a certain MTProxy +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.proxyDataPromo +[Back to constructors index](index.md) + + + +Promotion channel associated to a certain MTProxy + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|expires|[int](../types/int.md) | Yes|Expiration date of proxy info, will have to be refetched in `expires` seconds| +|peer|[Peer](../types/Peer.md) | Yes|The promoted channel| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [help.ProxyData](../types/help.ProxyData.md) + + +### Example: + +```php +$help.proxyDataPromo = ['_' => 'help.proxyDataPromo', 'expires' => int, 'peer' => Peer, 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +help.proxyDataPromo={_='help.proxyDataPromo', expires=int, peer=Peer, chats={Chat}, users={User}} + +``` + + diff --git a/docs/API_docs/constructors/help.recentMeUrls.md b/docs/API_docs/constructors/help.recentMeUrls.md new file mode 100644 index 00000000..711407b7 --- /dev/null +++ b/docs/API_docs/constructors/help.recentMeUrls.md @@ -0,0 +1,40 @@ +--- +title: help.recentMeUrls +description: Recent t.me URLs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.recentMeUrls +[Back to constructors index](index.md) + + + +Recent t.me URLs + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|urls|Array of [RecentMeUrl](../types/RecentMeUrl.md) | Yes|URLs| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [help.RecentMeUrls](../types/help.RecentMeUrls.md) + + +### Example: + +```php +$help.recentMeUrls = ['_' => 'help.recentMeUrls', 'urls' => [RecentMeUrl, RecentMeUrl], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +help.recentMeUrls={_='help.recentMeUrls', urls={RecentMeUrl}, chats={Chat}, users={User}} + +``` + + diff --git a/docs/API_docs/constructors/help.support.md b/docs/API_docs/constructors/help.support.md new file mode 100644 index 00000000..4d4f85fb --- /dev/null +++ b/docs/API_docs/constructors/help.support.md @@ -0,0 +1,39 @@ +--- +title: help.support +description: Info on support user. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.support +[Back to constructors index](index.md) + + + +Info on support user. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_number|[string](../types/string.md) | Yes|Phone number| +|user|[User](../types/User.md) | Optional|User| + + + +### Type: [help.Support](../types/help.Support.md) + + +### Example: + +```php +$help.support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => User]; +``` + + +Or, if you're into Lua: + +```lua +help.support={_='help.support', phone_number='string', user=User} + +``` + + diff --git a/docs/API_docs/constructors/help.supportName.md b/docs/API_docs/constructors/help.supportName.md new file mode 100644 index 00000000..3d66c8d9 --- /dev/null +++ b/docs/API_docs/constructors/help.supportName.md @@ -0,0 +1,38 @@ +--- +title: help.supportName +description: Localized name for telegram support +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.supportName +[Back to constructors index](index.md) + + + +Localized name for telegram support + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|name|[string](../types/string.md) | Yes|Localized name| + + + +### Type: [help.SupportName](../types/help.SupportName.md) + + +### Example: + +```php +$help.supportName = ['_' => 'help.supportName', 'name' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +help.supportName={_='help.supportName', name='string'} + +``` + + diff --git a/docs/API_docs/constructors/help.termsOfService.md b/docs/API_docs/constructors/help.termsOfService.md new file mode 100644 index 00000000..61ffb70a --- /dev/null +++ b/docs/API_docs/constructors/help.termsOfService.md @@ -0,0 +1,42 @@ +--- +title: help.termsOfService +description: Info about the latest telegram Terms Of Service +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.termsOfService +[Back to constructors index](index.md) + + + +Info about the latest telegram Terms Of Service + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|popup|[Bool](../types/Bool.md) | Optional|Whether a prompt must be showed to the user, in order to accept the new terms.| +|id|[DataJSON](../types/DataJSON.md) | Yes|ID of the new terms| +|text|[string](../types/string.md) | Yes|Text of the new terms| +|entities|Array of [MessageEntity](../types/MessageEntity.md) | Yes|Entities| +|min\_age\_confirm|[int](../types/int.md) | Optional|Minimum age required to sign up to telegram, the user must confirm that they is older than the minimum age.| + + + +### Type: [help.TermsOfService](../types/help.TermsOfService.md) + + +### Example: + +```php +$help.termsOfService = ['_' => 'help.termsOfService', 'popup' => Bool, 'id' => DataJSON, 'text' => 'string', 'entities' => [MessageEntity, MessageEntity], 'min_age_confirm' => int]; +``` + + +Or, if you're into Lua: + +```lua +help.termsOfService={_='help.termsOfService', popup=Bool, id=DataJSON, text='string', entities={MessageEntity}, min_age_confirm=int} + +``` + + diff --git a/docs/API_docs/constructors/help.termsOfServiceUpdate.md b/docs/API_docs/constructors/help.termsOfServiceUpdate.md new file mode 100644 index 00000000..058a3655 --- /dev/null +++ b/docs/API_docs/constructors/help.termsOfServiceUpdate.md @@ -0,0 +1,39 @@ +--- +title: help.termsOfServiceUpdate +description: Info about an update of telegram's terms of service. If the terms of service are declined, then the [account.deleteAccount](../methods/account.deleteAccount.md) method should be called with the reason "Decline ToS update" +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.termsOfServiceUpdate +[Back to constructors index](index.md) + + + +Info about an update of telegram's terms of service. If the terms of service are declined, then the [account.deleteAccount](../methods/account.deleteAccount.md) method should be called with the reason "Decline ToS update" + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|expires|[int](../types/int.md) | Yes|New TOS updates will have to be queried using [help.getTermsOfServiceUpdate](../methods/help.getTermsOfServiceUpdate.md) in `expires` seconds| +|terms\_of\_service|[help.TermsOfService](../constructors/help.TermsOfService.md) | Yes|New terms of service| + + + +### Type: [help.TermsOfServiceUpdate](../types/help.TermsOfServiceUpdate.md) + + +### Example: + +```php +$help.termsOfServiceUpdate = ['_' => 'help.termsOfServiceUpdate', 'expires' => int, 'terms_of_service' => help.TermsOfService]; +``` + + +Or, if you're into Lua: + +```lua +help.termsOfServiceUpdate={_='help.termsOfServiceUpdate', expires=int, terms_of_service=help.TermsOfService} + +``` + + diff --git a/docs/API_docs/constructors/help.termsOfServiceUpdateEmpty.md b/docs/API_docs/constructors/help.termsOfServiceUpdateEmpty.md new file mode 100644 index 00000000..8213a41e --- /dev/null +++ b/docs/API_docs/constructors/help.termsOfServiceUpdateEmpty.md @@ -0,0 +1,38 @@ +--- +title: help.termsOfServiceUpdateEmpty +description: No changes were made to telegram's terms of service +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.termsOfServiceUpdateEmpty +[Back to constructors index](index.md) + + + +No changes were made to telegram's terms of service + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|expires|[int](../types/int.md) | Yes|New TOS updates will have to be queried using [help.getTermsOfServiceUpdate](../methods/help.getTermsOfServiceUpdate.md) in `expires` seconds| + + + +### Type: [help.TermsOfServiceUpdate](../types/help.TermsOfServiceUpdate.md) + + +### Example: + +```php +$help.termsOfServiceUpdateEmpty = ['_' => 'help.termsOfServiceUpdateEmpty', 'expires' => int]; +``` + + +Or, if you're into Lua: + +```lua +help.termsOfServiceUpdateEmpty={_='help.termsOfServiceUpdateEmpty', expires=int} + +``` + + diff --git a/docs/API_docs/constructors/help.userInfo.md b/docs/API_docs/constructors/help.userInfo.md new file mode 100644 index 00000000..172df165 --- /dev/null +++ b/docs/API_docs/constructors/help.userInfo.md @@ -0,0 +1,41 @@ +--- +title: help.userInfo +description: Internal use +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.userInfo +[Back to constructors index](index.md) + + + +Internal use + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|message|[string](../types/string.md) | Yes|Info| +|entities|Array of [MessageEntity](../types/MessageEntity.md) | Yes|Entities| +|author|[string](../types/string.md) | Yes|Author| +|date|[int](../types/int.md) | Yes|Date| + + + +### Type: [help.UserInfo](../types/help.UserInfo.md) + + +### Example: + +```php +$help.userInfo = ['_' => 'help.userInfo', 'message' => 'string', 'entities' => [MessageEntity, MessageEntity], 'author' => 'string', 'date' => int]; +``` + + +Or, if you're into Lua: + +```lua +help.userInfo={_='help.userInfo', message='string', entities={MessageEntity}, author='string', date=int} + +``` + + diff --git a/docs/API_docs/constructors/help.userInfoEmpty.md b/docs/API_docs/constructors/help.userInfoEmpty.md new file mode 100644 index 00000000..c284d602 --- /dev/null +++ b/docs/API_docs/constructors/help.userInfoEmpty.md @@ -0,0 +1,33 @@ +--- +title: help.userInfoEmpty +description: Internal use +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.userInfoEmpty +[Back to constructors index](index.md) + + + +Internal use + + + + +### Type: [help.UserInfo](../types/help.UserInfo.md) + + +### Example: + +```php +$help.userInfoEmpty = ['_' => 'help.userInfoEmpty']; +``` + + +Or, if you're into Lua: + +```lua +help.userInfoEmpty={_='help.userInfoEmpty'} + +``` + + diff --git a/docs/API_docs/constructors/help_appUpdate.md b/docs/API_docs/constructors/help_appUpdate.md deleted file mode 100644 index 5075764d..00000000 --- a/docs/API_docs/constructors/help_appUpdate.md +++ /dev/null @@ -1,44 +0,0 @@ ---- -title: help.appUpdate -description: An update is available for the application. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.appUpdate -[Back to constructors index](index.md) - - - -An update is available for the application. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|can\_not\_skip|[Bool](../types/Bool.md) | Optional|Unskippable, the new info must be shown to the user (with a popup or something else)| -|id|[int](../types/int.md) | Yes|Update ID| -|version|[string](../types/string.md) | Yes|New version name| -|text|[string](../types/string.md) | Yes|Text description of the update| -|entities|Array of [MessageEntity](../types/MessageEntity.md) | Yes|Entities| -|document|[Document](../types/Document.md) | Optional|Attached document| -|url|[string](../types/string.md) | Optional|Application download URL| - - - -### Type: [help\_AppUpdate](../types/help_AppUpdate.md) - - -### Example: - -```php -$help_appUpdate = ['_' => 'help.appUpdate', 'can_not_skip' => Bool, 'id' => int, 'version' => 'string', 'text' => 'string', 'entities' => [MessageEntity, MessageEntity], 'document' => Document, 'url' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -help_appUpdate={_='help.appUpdate', can_not_skip=Bool, id=int, version='string', text='string', entities={MessageEntity}, document=Document, url='string'} - -``` - - diff --git a/docs/API_docs/constructors/help_configSimple.md b/docs/API_docs/constructors/help_configSimple.md deleted file mode 100644 index 8c07ec9b..00000000 --- a/docs/API_docs/constructors/help_configSimple.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: help.configSimple -description: Config simple -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.configSimple -[Back to constructors index](index.md) - - - -Config simple - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Date| -|expires|[int](../types/int.md) | Yes|Expires| -|rules|Array of [AccessPointRule](../types/AccessPointRule.md) | Yes|Rules| - - - -### Type: [help\_ConfigSimple](../types/help_ConfigSimple.md) - - -### Example: - -```php -$help_configSimple = ['_' => 'help.configSimple', 'date' => int, 'expires' => int, 'rules' => [AccessPointRule, AccessPointRule]]; -``` - - -Or, if you're into Lua: - -```lua -help_configSimple={_='help.configSimple', date=int, expires=int, rules={AccessPointRule}} - -``` - - diff --git a/docs/API_docs/constructors/help_deepLinkInfo.md b/docs/API_docs/constructors/help_deepLinkInfo.md deleted file mode 100644 index bcc24ecd..00000000 --- a/docs/API_docs/constructors/help_deepLinkInfo.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: help.deepLinkInfo -description: Deep linking info -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.deepLinkInfo -[Back to constructors index](index.md) - - - -Deep linking info - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|update\_app|[Bool](../types/Bool.md) | Optional|An update of the app is required to parse this link| -|message|[string](../types/string.md) | Yes|Message to show to the user| -|entities|Array of [MessageEntity](../types/MessageEntity.md) | Optional|Entities| - - - -### Type: [help\_DeepLinkInfo](../types/help_DeepLinkInfo.md) - - -### Example: - -```php -$help_deepLinkInfo = ['_' => 'help.deepLinkInfo', 'update_app' => Bool, 'message' => 'string', 'entities' => [MessageEntity, MessageEntity]]; -``` - - -Or, if you're into Lua: - -```lua -help_deepLinkInfo={_='help.deepLinkInfo', update_app=Bool, message='string', entities={MessageEntity}} - -``` - - diff --git a/docs/API_docs/constructors/help_deepLinkInfoEmpty.md b/docs/API_docs/constructors/help_deepLinkInfoEmpty.md deleted file mode 100644 index ab876dd5..00000000 --- a/docs/API_docs/constructors/help_deepLinkInfoEmpty.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: help.deepLinkInfoEmpty -description: Deep link info empty -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.deepLinkInfoEmpty -[Back to constructors index](index.md) - - - -Deep link info empty - - - - -### Type: [help\_DeepLinkInfo](../types/help_DeepLinkInfo.md) - - -### Example: - -```php -$help_deepLinkInfoEmpty = ['_' => 'help.deepLinkInfoEmpty']; -``` - - -Or, if you're into Lua: - -```lua -help_deepLinkInfoEmpty={_='help.deepLinkInfoEmpty'} - -``` - - diff --git a/docs/API_docs/constructors/help_inviteText.md b/docs/API_docs/constructors/help_inviteText.md deleted file mode 100644 index b8317ce3..00000000 --- a/docs/API_docs/constructors/help_inviteText.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: help.inviteText -description: Text of a text message with an invitation to install application. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.inviteText -[Back to constructors index](index.md) - - - -Text of a text message with an invitation to install application. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|message|[string](../types/string.md) | Yes|Text of a message| - - - -### Type: [help\_InviteText](../types/help_InviteText.md) - - -### Example: - -```php -$help_inviteText = ['_' => 'help.inviteText', 'message' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -help_inviteText={_='help.inviteText', message='string'} - -``` - - diff --git a/docs/API_docs/constructors/help_noAppUpdate.md b/docs/API_docs/constructors/help_noAppUpdate.md deleted file mode 100644 index 51505e52..00000000 --- a/docs/API_docs/constructors/help_noAppUpdate.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: help.noAppUpdate -description: No updates are available for the application. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.noAppUpdate -[Back to constructors index](index.md) - - - -No updates are available for the application. - - - - -### Type: [help\_AppUpdate](../types/help_AppUpdate.md) - - -### Example: - -```php -$help_noAppUpdate = ['_' => 'help.noAppUpdate']; -``` - - -Or, if you're into Lua: - -```lua -help_noAppUpdate={_='help.noAppUpdate'} - -``` - - diff --git a/docs/API_docs/constructors/help_passportConfig.md b/docs/API_docs/constructors/help_passportConfig.md deleted file mode 100644 index 9722c925..00000000 --- a/docs/API_docs/constructors/help_passportConfig.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: help.passportConfig -description: Telegram [passport](https://core.telegram.org/passport) configuration -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.passportConfig -[Back to constructors index](index.md) - - - -Telegram [passport](https://core.telegram.org/passport) configuration - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|countries\_langs|[DataJSON](../types/DataJSON.md) | Yes|Localization| - - - -### Type: [help\_PassportConfig](../types/help_PassportConfig.md) - - -### Example: - -```php -$help_passportConfig = ['_' => 'help.passportConfig', 'hash' => int, 'countries_langs' => DataJSON]; -``` - - -Or, if you're into Lua: - -```lua -help_passportConfig={_='help.passportConfig', hash=int, countries_langs=DataJSON} - -``` - - diff --git a/docs/API_docs/constructors/help_passportConfigNotModified.md b/docs/API_docs/constructors/help_passportConfigNotModified.md deleted file mode 100644 index af7769aa..00000000 --- a/docs/API_docs/constructors/help_passportConfigNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: help.passportConfigNotModified -description: Password configuration not modified -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.passportConfigNotModified -[Back to constructors index](index.md) - - - -Password configuration not modified - - - - -### Type: [help\_PassportConfig](../types/help_PassportConfig.md) - - -### Example: - -```php -$help_passportConfigNotModified = ['_' => 'help.passportConfigNotModified']; -``` - - -Or, if you're into Lua: - -```lua -help_passportConfigNotModified={_='help.passportConfigNotModified'} - -``` - - diff --git a/docs/API_docs/constructors/help_proxyDataEmpty.md b/docs/API_docs/constructors/help_proxyDataEmpty.md deleted file mode 100644 index 96efddd3..00000000 --- a/docs/API_docs/constructors/help_proxyDataEmpty.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: help.proxyDataEmpty -description: No proxy was used to connect to tg (or none was provided to [initConnection](../methods/initConnection.md), or the used proxy doesn't have a promotion channel associated to it) -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.proxyDataEmpty -[Back to constructors index](index.md) - - - -No proxy was used to connect to tg (or none was provided to [initConnection](../methods/initConnection.md), or the used proxy doesn't have a promotion channel associated to it) - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|expires|[int](../types/int.md) | Yes|Expiration date of proxy info, will have to be refetched in `expires` seconds| - - - -### Type: [help\_ProxyData](../types/help_ProxyData.md) - - -### Example: - -```php -$help_proxyDataEmpty = ['_' => 'help.proxyDataEmpty', 'expires' => int]; -``` - - -Or, if you're into Lua: - -```lua -help_proxyDataEmpty={_='help.proxyDataEmpty', expires=int} - -``` - - diff --git a/docs/API_docs/constructors/help_proxyDataPromo.md b/docs/API_docs/constructors/help_proxyDataPromo.md deleted file mode 100644 index 54ca7edb..00000000 --- a/docs/API_docs/constructors/help_proxyDataPromo.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: help.proxyDataPromo -description: Promotion channel associated to a certain MTProxy -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.proxyDataPromo -[Back to constructors index](index.md) - - - -Promotion channel associated to a certain MTProxy - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|expires|[int](../types/int.md) | Yes|Expiration date of proxy info, will have to be refetched in `expires` seconds| -|peer|[Peer](../types/Peer.md) | Yes|The promoted channel| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [help\_ProxyData](../types/help_ProxyData.md) - - -### Example: - -```php -$help_proxyDataPromo = ['_' => 'help.proxyDataPromo', 'expires' => int, 'peer' => Peer, 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -help_proxyDataPromo={_='help.proxyDataPromo', expires=int, peer=Peer, chats={Chat}, users={User}} - -``` - - diff --git a/docs/API_docs/constructors/help_recentMeUrls.md b/docs/API_docs/constructors/help_recentMeUrls.md deleted file mode 100644 index 7bf592ef..00000000 --- a/docs/API_docs/constructors/help_recentMeUrls.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: help.recentMeUrls -description: Recent t.me URLs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.recentMeUrls -[Back to constructors index](index.md) - - - -Recent t.me URLs - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|urls|Array of [RecentMeUrl](../types/RecentMeUrl.md) | Yes|URLs| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [help\_RecentMeUrls](../types/help_RecentMeUrls.md) - - -### Example: - -```php -$help_recentMeUrls = ['_' => 'help.recentMeUrls', 'urls' => [RecentMeUrl, RecentMeUrl], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -help_recentMeUrls={_='help.recentMeUrls', urls={RecentMeUrl}, chats={Chat}, users={User}} - -``` - - diff --git a/docs/API_docs/constructors/help_support.md b/docs/API_docs/constructors/help_support.md deleted file mode 100644 index 148f7f42..00000000 --- a/docs/API_docs/constructors/help_support.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: help.support -description: Info on support user. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.support -[Back to constructors index](index.md) - - - -Info on support user. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_number|[string](../types/string.md) | Yes|Phone number| -|user|[User](../types/User.md) | Optional|User| - - - -### Type: [help\_Support](../types/help_Support.md) - - -### Example: - -```php -$help_support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => User]; -``` - - -Or, if you're into Lua: - -```lua -help_support={_='help.support', phone_number='string', user=User} - -``` - - diff --git a/docs/API_docs/constructors/help_supportName.md b/docs/API_docs/constructors/help_supportName.md deleted file mode 100644 index b4bc77d4..00000000 --- a/docs/API_docs/constructors/help_supportName.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: help.supportName -description: Localized name for telegram support -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.supportName -[Back to constructors index](index.md) - - - -Localized name for telegram support - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|name|[string](../types/string.md) | Yes|Localized name| - - - -### Type: [help\_SupportName](../types/help_SupportName.md) - - -### Example: - -```php -$help_supportName = ['_' => 'help.supportName', 'name' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -help_supportName={_='help.supportName', name='string'} - -``` - - diff --git a/docs/API_docs/constructors/help_termsOfService.md b/docs/API_docs/constructors/help_termsOfService.md deleted file mode 100644 index f9d496e5..00000000 --- a/docs/API_docs/constructors/help_termsOfService.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: help.termsOfService -description: Info about the latest telegram Terms Of Service -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.termsOfService -[Back to constructors index](index.md) - - - -Info about the latest telegram Terms Of Service - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|popup|[Bool](../types/Bool.md) | Optional|Whether a prompt must be showed to the user, in order to accept the new terms.| -|id|[DataJSON](../types/DataJSON.md) | Yes|ID of the new terms| -|text|[string](../types/string.md) | Yes|Text of the new terms| -|entities|Array of [MessageEntity](../types/MessageEntity.md) | Yes|Entities| -|min\_age\_confirm|[int](../types/int.md) | Optional|Minimum age required to sign up to telegram, the user must confirm that they is older than the minimum age.| - - - -### Type: [help\_TermsOfService](../types/help_TermsOfService.md) - - -### Example: - -```php -$help_termsOfService = ['_' => 'help.termsOfService', 'popup' => Bool, 'id' => DataJSON, 'text' => 'string', 'entities' => [MessageEntity, MessageEntity], 'min_age_confirm' => int]; -``` - - -Or, if you're into Lua: - -```lua -help_termsOfService={_='help.termsOfService', popup=Bool, id=DataJSON, text='string', entities={MessageEntity}, min_age_confirm=int} - -``` - - diff --git a/docs/API_docs/constructors/help_termsOfServiceUpdate.md b/docs/API_docs/constructors/help_termsOfServiceUpdate.md deleted file mode 100644 index c9e80319..00000000 --- a/docs/API_docs/constructors/help_termsOfServiceUpdate.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: help.termsOfServiceUpdate -description: Info about an update of telegram's terms of service. If the terms of service are declined, then the [account.deleteAccount](../methods/account.deleteAccount.md) method should be called with the reason "Decline ToS update" -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.termsOfServiceUpdate -[Back to constructors index](index.md) - - - -Info about an update of telegram's terms of service. If the terms of service are declined, then the [account.deleteAccount](../methods/account.deleteAccount.md) method should be called with the reason "Decline ToS update" - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|expires|[int](../types/int.md) | Yes|New TOS updates will have to be queried using [help.getTermsOfServiceUpdate](../methods/help.getTermsOfServiceUpdate.md) in `expires` seconds| -|terms\_of\_service|[help\_TermsOfService](../types/help_TermsOfService.md) | Yes|New terms of service| - - - -### Type: [help\_TermsOfServiceUpdate](../types/help_TermsOfServiceUpdate.md) - - -### Example: - -```php -$help_termsOfServiceUpdate = ['_' => 'help.termsOfServiceUpdate', 'expires' => int, 'terms_of_service' => help_TermsOfService]; -``` - - -Or, if you're into Lua: - -```lua -help_termsOfServiceUpdate={_='help.termsOfServiceUpdate', expires=int, terms_of_service=help_TermsOfService} - -``` - - diff --git a/docs/API_docs/constructors/help_termsOfServiceUpdateEmpty.md b/docs/API_docs/constructors/help_termsOfServiceUpdateEmpty.md deleted file mode 100644 index d4d753fc..00000000 --- a/docs/API_docs/constructors/help_termsOfServiceUpdateEmpty.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: help.termsOfServiceUpdateEmpty -description: No changes were made to telegram's terms of service -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.termsOfServiceUpdateEmpty -[Back to constructors index](index.md) - - - -No changes were made to telegram's terms of service - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|expires|[int](../types/int.md) | Yes|New TOS updates will have to be queried using [help.getTermsOfServiceUpdate](../methods/help.getTermsOfServiceUpdate.md) in `expires` seconds| - - - -### Type: [help\_TermsOfServiceUpdate](../types/help_TermsOfServiceUpdate.md) - - -### Example: - -```php -$help_termsOfServiceUpdateEmpty = ['_' => 'help.termsOfServiceUpdateEmpty', 'expires' => int]; -``` - - -Or, if you're into Lua: - -```lua -help_termsOfServiceUpdateEmpty={_='help.termsOfServiceUpdateEmpty', expires=int} - -``` - - diff --git a/docs/API_docs/constructors/help_userInfo.md b/docs/API_docs/constructors/help_userInfo.md deleted file mode 100644 index a444124b..00000000 --- a/docs/API_docs/constructors/help_userInfo.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: help.userInfo -description: Internal use -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.userInfo -[Back to constructors index](index.md) - - - -Internal use - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|message|[string](../types/string.md) | Yes|Info| -|entities|Array of [MessageEntity](../types/MessageEntity.md) | Yes|Entities| -|author|[string](../types/string.md) | Yes|Author| -|date|[int](../types/int.md) | Yes|Date| - - - -### Type: [help\_UserInfo](../types/help_UserInfo.md) - - -### Example: - -```php -$help_userInfo = ['_' => 'help.userInfo', 'message' => 'string', 'entities' => [MessageEntity, MessageEntity], 'author' => 'string', 'date' => int]; -``` - - -Or, if you're into Lua: - -```lua -help_userInfo={_='help.userInfo', message='string', entities={MessageEntity}, author='string', date=int} - -``` - - diff --git a/docs/API_docs/constructors/help_userInfoEmpty.md b/docs/API_docs/constructors/help_userInfoEmpty.md deleted file mode 100644 index 66690c62..00000000 --- a/docs/API_docs/constructors/help_userInfoEmpty.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: help.userInfoEmpty -description: Internal use -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.userInfoEmpty -[Back to constructors index](index.md) - - - -Internal use - - - - -### Type: [help\_UserInfo](../types/help_UserInfo.md) - - -### Example: - -```php -$help_userInfoEmpty = ['_' => 'help.userInfoEmpty']; -``` - - -Or, if you're into Lua: - -```lua -help_userInfoEmpty={_='help.userInfoEmpty'} - -``` - - diff --git a/docs/API_docs/constructors/index.md b/docs/API_docs/constructors/index.md index e37ec8ce..08cf9f6b 100644 --- a/docs/API_docs/constructors/index.md +++ b/docs/API_docs/constructors/index.md @@ -9,64 +9,89 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ***

[$accessPointRule](../constructors/accessPointRule.md) = \['phone_prefix_rules' => [string](../types/string.md), 'dc_id' => [int](../types/int.md), 'ips' => \[[IpPort](../types/IpPort.md)\], \]; +*** +

[$account.authorizationForm](../constructors/account.authorizationForm.md) = \['required_types' => \[[SecureRequiredType](../types/SecureRequiredType.md)\], 'values' => \[[SecureValue](../types/SecureValue.md)\], 'errors' => \[[SecureValueError](../types/SecureValueError.md)\], 'users' => \[[User](../types/User.md)\], 'privacy_policy_url' => [string](../types/string.md), \]; + +*** +

[$account.authorizations](../constructors/account.authorizations.md) = \['authorizations' => \[[Authorization](../types/Authorization.md)\], \]; + +*** +

[$account.autoDownloadSettings](../constructors/account.autoDownloadSettings.md) = \['low' => [AutoDownloadSettings](../types/AutoDownloadSettings.md), 'medium' => [AutoDownloadSettings](../types/AutoDownloadSettings.md), 'high' => [AutoDownloadSettings](../types/AutoDownloadSettings.md), \]; + +*** +

[$account.password](../constructors/account.password.md) = \['has_recovery' => [Bool](../types/Bool.md), 'has_secure_values' => [Bool](../types/Bool.md), 'has_password' => [Bool](../types/Bool.md), 'current_algo' => [PasswordKdfAlgo](../types/PasswordKdfAlgo.md), 'srp_B' => [bytes](../types/bytes.md), 'srp_id' => [long](../types/long.md), 'hint' => [string](../types/string.md), 'email_unconfirmed_pattern' => [string](../types/string.md), 'new_algo' => [PasswordKdfAlgo](../types/PasswordKdfAlgo.md), 'new_secure_algo' => [SecurePasswordKdfAlgo](../types/SecurePasswordKdfAlgo.md), 'secure_random' => [bytes](../types/bytes.md), \]; + +*** +

[$account.passwordInputSettings](../constructors/account.passwordInputSettings.md) = \['new_algo' => [PasswordKdfAlgo](../types/PasswordKdfAlgo.md), 'new_password_hash' => [bytes](../types/bytes.md), 'hint' => [string](../types/string.md), 'email' => [string](../types/string.md), 'new_secure_settings' => [SecureSecretSettings](../types/SecureSecretSettings.md), \]; + +*** +

[$account.passwordSettings](../constructors/account.passwordSettings.md) = \['email' => [string](../types/string.md), 'secure_settings' => [SecureSecretSettings](../types/SecureSecretSettings.md), \]; + +*** +

[$account.privacyRules](../constructors/account.privacyRules.md) = \['rules' => \[[PrivacyRule](../types/PrivacyRule.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +*** +

[$account.sentEmailCode](../constructors/account.sentEmailCode.md) = \['email_pattern' => [string](../types/string.md), 'length' => [int](../types/int.md), \]; + +*** +

[$account.takeout](../constructors/account.takeout.md) = \['id' => [long](../types/long.md), \]; + +*** +

[$account.themes](../constructors/account.themes.md) = \['hash' => [int](../types/int.md), 'themes' => \[[Theme](../types/Theme.md)\], \]; + +*** +

[$account.themesNotModified](../constructors/account.themesNotModified.md) = \[\]; + +*** +

[$account.tmpPassword](../constructors/account.tmpPassword.md) = \['tmp_password' => [bytes](../types/bytes.md), 'valid_until' => [int](../types/int.md), \]; + +*** +

[$account.wallPapers](../constructors/account.wallPapers.md) = \['hash' => [int](../types/int.md), 'wallpapers' => \[[WallPaper](../types/WallPaper.md)\], \]; + +*** +

[$account.wallPapersNotModified](../constructors/account.wallPapersNotModified.md) = \[\]; + +*** +

[$account.webAuthorizations](../constructors/account.webAuthorizations.md) = \['authorizations' => \[[WebAuthorization](../types/WebAuthorization.md)\], 'users' => \[[User](../types/User.md)\], \]; + ***

[$accountDaysTTL](../constructors/accountDaysTTL.md) = \['days' => [int](../types/int.md), \]; *** -

[$account\_authorizationForm](../constructors/account_authorizationForm.md) = \['required_types' => \[[SecureRequiredType](../types/SecureRequiredType.md)\], 'values' => \[[SecureValue](../types/SecureValue.md)\], 'errors' => \[[SecureValueError](../types/SecureValueError.md)\], 'users' => \[[User](../types/User.md)\], 'privacy_policy_url' => [string](../types/string.md), \]; - -[$account\_authorizations](../constructors/account_authorizations.md) = \['authorizations' => \[[Authorization](../types/Authorization.md)\], \]; - -[$account\_autoDownloadSettings](../constructors/account_autoDownloadSettings.md) = \['low' => [AutoDownloadSettings](../types/AutoDownloadSettings.md), 'medium' => [AutoDownloadSettings](../types/AutoDownloadSettings.md), 'high' => [AutoDownloadSettings](../types/AutoDownloadSettings.md), \]; - -[$account\_password](../constructors/account_password.md) = \['has_recovery' => [Bool](../types/Bool.md), 'has_secure_values' => [Bool](../types/Bool.md), 'has_password' => [Bool](../types/Bool.md), 'current_algo' => [PasswordKdfAlgo](../types/PasswordKdfAlgo.md), 'srp_B' => [bytes](../types/bytes.md), 'srp_id' => [long](../types/long.md), 'hint' => [string](../types/string.md), 'email_unconfirmed_pattern' => [string](../types/string.md), 'new_algo' => [PasswordKdfAlgo](../types/PasswordKdfAlgo.md), 'new_secure_algo' => [SecurePasswordKdfAlgo](../types/SecurePasswordKdfAlgo.md), 'secure_random' => [bytes](../types/bytes.md), \]; - -[$account\_passwordInputSettings](../constructors/account_passwordInputSettings.md) = \['new_algo' => [PasswordKdfAlgo](../types/PasswordKdfAlgo.md), 'new_password_hash' => [bytes](../types/bytes.md), 'hint' => [string](../types/string.md), 'email' => [string](../types/string.md), 'new_secure_settings' => [SecureSecretSettings](../types/SecureSecretSettings.md), \]; - -[$account\_passwordSettings](../constructors/account_passwordSettings.md) = \['email' => [string](../types/string.md), 'secure_settings' => [SecureSecretSettings](../types/SecureSecretSettings.md), \]; - -[$account\_privacyRules](../constructors/account_privacyRules.md) = \['rules' => \[[PrivacyRule](../types/PrivacyRule.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; - -[$account\_sentEmailCode](../constructors/account_sentEmailCode.md) = \['email_pattern' => [string](../types/string.md), 'length' => [int](../types/int.md), \]; - -[$account\_takeout](../constructors/account_takeout.md) = \['id' => [long](../types/long.md), \]; - -[$account\_themes](../constructors/account_themes.md) = \['hash' => [int](../types/int.md), 'themes' => \[[Theme](../types/Theme.md)\], \]; - -[$account\_themesNotModified](../constructors/account_themesNotModified.md) = \[\]; - -[$account\_tmpPassword](../constructors/account_tmpPassword.md) = \['tmp_password' => [bytes](../types/bytes.md), 'valid_until' => [int](../types/int.md), \]; - -[$account\_wallPapers](../constructors/account_wallPapers.md) = \['hash' => [int](../types/int.md), 'wallpapers' => \[[WallPaper](../types/WallPaper.md)\], \]; - -[$account\_wallPapersNotModified](../constructors/account_wallPapersNotModified.md) = \[\]; - -[$account\_webAuthorizations](../constructors/account_webAuthorizations.md) = \['authorizations' => \[[WebAuthorization](../types/WebAuthorization.md)\], 'users' => \[[User](../types/User.md)\], \]; +

[$auth.authorization](../constructors/auth.authorization.md) = \['tmp_sessions' => [int](../types/int.md), 'user' => [User](../types/User.md), \]; *** -

[$auth\_authorization](../constructors/auth_authorization.md) = \['tmp_sessions' => [int](../types/int.md), 'user' => [User](../types/User.md), \]; +

[$auth.authorizationSignUpRequired](../constructors/auth.authorizationSignUpRequired.md) = \['terms_of_service' => [help.TermsOfService](../types/help.TermsOfService.md), \]; -[$auth\_authorizationSignUpRequired](../constructors/auth_authorizationSignUpRequired.md) = \['terms_of_service' => [help.TermsOfService](../types/help.TermsOfService.md), \]; +*** +

[$auth.codeTypeCall](../constructors/auth.codeTypeCall.md) = \[\]; -[$auth\_codeTypeCall](../constructors/auth_codeTypeCall.md) = \[\]; +*** +

[$auth.codeTypeFlashCall](../constructors/auth.codeTypeFlashCall.md) = \[\]; -[$auth\_codeTypeFlashCall](../constructors/auth_codeTypeFlashCall.md) = \[\]; +*** +

[$auth.codeTypeSms](../constructors/auth.codeTypeSms.md) = \[\]; -[$auth\_codeTypeSms](../constructors/auth_codeTypeSms.md) = \[\]; +*** +

[$auth.exportedAuthorization](../constructors/auth.exportedAuthorization.md) = \['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; -[$auth\_exportedAuthorization](../constructors/auth_exportedAuthorization.md) = \['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; +*** +

[$auth.passwordRecovery](../constructors/auth.passwordRecovery.md) = \['email_pattern' => [string](../types/string.md), \]; -[$auth\_passwordRecovery](../constructors/auth_passwordRecovery.md) = \['email_pattern' => [string](../types/string.md), \]; +*** +

[$auth.sentCode](../constructors/auth.sentCode.md) = \['type' => [auth.SentCodeType](../types/auth.SentCodeType.md), 'phone_code_hash' => [string](../types/string.md), 'next_type' => [auth.CodeType](../types/auth.CodeType.md), 'timeout' => [int](../types/int.md), \]; -[$auth\_sentCode](../constructors/auth_sentCode.md) = \['type' => [auth.SentCodeType](../types/auth.SentCodeType.md), 'phone_code_hash' => [string](../types/string.md), 'next_type' => [auth.CodeType](../types/auth.CodeType.md), 'timeout' => [int](../types/int.md), \]; +*** +

[$auth.sentCodeTypeApp](../constructors/auth.sentCodeTypeApp.md) = \['length' => [int](../types/int.md), \]; -[$auth\_sentCodeTypeApp](../constructors/auth_sentCodeTypeApp.md) = \['length' => [int](../types/int.md), \]; +*** +

[$auth.sentCodeTypeCall](../constructors/auth.sentCodeTypeCall.md) = \['length' => [int](../types/int.md), \]; -[$auth\_sentCodeTypeCall](../constructors/auth_sentCodeTypeCall.md) = \['length' => [int](../types/int.md), \]; +*** +

[$auth.sentCodeTypeFlashCall](../constructors/auth.sentCodeTypeFlashCall.md) = \['pattern' => [string](../types/string.md), \]; -[$auth\_sentCodeTypeFlashCall](../constructors/auth_sentCodeTypeFlashCall.md) = \['pattern' => [string](../types/string.md), \]; - -[$auth\_sentCodeTypeSms](../constructors/auth_sentCodeTypeSms.md) = \['length' => [int](../types/int.md), \]; +*** +

[$auth.sentCodeTypeSms](../constructors/auth.sentCodeTypeSms.md) = \['length' => [int](../types/int.md), \]; ***

[$authorization](../constructors/authorization.md) = \['current' => [Bool](../types/Bool.md), 'official_app' => [Bool](../types/Bool.md), 'password_pending' => [Bool](../types/Bool.md), 'hash' => [long](../types/long.md), 'device_model' => [string](../types/string.md), 'platform' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'api_id' => [int](../types/int.md), 'app_name' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'date_created' => [int](../types/int.md), 'date_active' => [int](../types/int.md), 'ip' => [string](../types/string.md), 'country' => [string](../types/string.md), 'region' => [string](../types/string.md), \]; @@ -240,13 +265,16 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$channelParticipantsSearch](../constructors/channelParticipantsSearch.md) = \['q' => [string](../types/string.md), \]; *** -

[$channels\_adminLogResults](../constructors/channels_adminLogResults.md) = \['events' => \[[ChannelAdminLogEvent](../types/ChannelAdminLogEvent.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +

[$channels.adminLogResults](../constructors/channels.adminLogResults.md) = \['events' => \[[ChannelAdminLogEvent](../types/ChannelAdminLogEvent.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$channels\_channelParticipant](../constructors/channels_channelParticipant.md) = \['participant' => [ChannelParticipant](../types/ChannelParticipant.md), 'users' => \[[User](../types/User.md)\], \]; +*** +

[$channels.channelParticipant](../constructors/channels.channelParticipant.md) = \['participant' => [ChannelParticipant](../types/ChannelParticipant.md), 'users' => \[[User](../types/User.md)\], \]; -[$channels\_channelParticipants](../constructors/channels_channelParticipants.md) = \['count' => [int](../types/int.md), 'participants' => \[[ChannelParticipant](../types/ChannelParticipant.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$channels.channelParticipants](../constructors/channels.channelParticipants.md) = \['count' => [int](../types/int.md), 'participants' => \[[ChannelParticipant](../types/ChannelParticipant.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$channels\_channelParticipantsNotModified](../constructors/channels_channelParticipantsNotModified.md) = \[\]; +*** +

[$channels.channelParticipantsNotModified](../constructors/channels.channelParticipantsNotModified.md) = \[\]; ***

[$chat](../constructors/chat.md) = \['creator' => [Bool](../types/Bool.md), 'kicked' => [Bool](../types/Bool.md), 'left' => [Bool](../types/Bool.md), 'deactivated' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'title' => [string](../types/string.md), 'photo' => [ChatPhoto](../types/ChatPhoto.md), 'participants_count' => [int](../types/int.md), 'date' => [int](../types/int.md), 'version' => [int](../types/int.md), 'migrated_to' => [InputChannel](../types/InputChannel.md), 'admin_rights' => [ChatAdminRights](../types/ChatAdminRights.md), 'default_banned_rights' => [ChatBannedRights](../types/ChatBannedRights.md), \]; @@ -318,25 +346,34 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$contactStatus](../constructors/contactStatus.md) = \['user_id' => [int](../types/int.md), 'status' => [UserStatus](../types/UserStatus.md), \]; *** -

[$contacts\_blocked](../constructors/contacts_blocked.md) = \['blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; +

[$contacts.blocked](../constructors/contacts.blocked.md) = \['blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_blockedSlice](../constructors/contacts_blockedSlice.md) = \['count' => [int](../types/int.md), 'blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.blockedSlice](../constructors/contacts.blockedSlice.md) = \['count' => [int](../types/int.md), 'blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_contacts](../constructors/contacts_contacts.md) = \['contacts' => \[[Contact](../types/Contact.md)\], 'saved_count' => [int](../types/int.md), 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.contacts](../constructors/contacts.contacts.md) = \['contacts' => \[[Contact](../types/Contact.md)\], 'saved_count' => [int](../types/int.md), 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_contactsNotModified](../constructors/contacts_contactsNotModified.md) = \[\]; +*** +

[$contacts.contactsNotModified](../constructors/contacts.contactsNotModified.md) = \[\]; -[$contacts\_found](../constructors/contacts_found.md) = \['my_results' => \[[Peer](../types/Peer.md)\], 'results' => \[[Peer](../types/Peer.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.found](../constructors/contacts.found.md) = \['my_results' => \[[Peer](../types/Peer.md)\], 'results' => \[[Peer](../types/Peer.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_importedContacts](../constructors/contacts_importedContacts.md) = \['imported' => \[[ImportedContact](../types/ImportedContact.md)\], 'popular_invites' => \[[PopularContact](../types/PopularContact.md)\], 'retry_contacts' => \[[long](../types/long.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.importedContacts](../constructors/contacts.importedContacts.md) = \['imported' => \[[ImportedContact](../types/ImportedContact.md)\], 'popular_invites' => \[[PopularContact](../types/PopularContact.md)\], 'retry_contacts' => \[[long](../types/long.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_resolvedPeer](../constructors/contacts_resolvedPeer.md) = \['peer' => [Peer](../types/Peer.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.resolvedPeer](../constructors/contacts.resolvedPeer.md) = \['peer' => [Peer](../types/Peer.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_topPeers](../constructors/contacts_topPeers.md) = \['categories' => \[[TopPeerCategoryPeers](../types/TopPeerCategoryPeers.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.topPeers](../constructors/contacts.topPeers.md) = \['categories' => \[[TopPeerCategoryPeers](../types/TopPeerCategoryPeers.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_topPeersDisabled](../constructors/contacts_topPeersDisabled.md) = \[\]; +*** +

[$contacts.topPeersDisabled](../constructors/contacts.topPeersDisabled.md) = \[\]; -[$contacts\_topPeersNotModified](../constructors/contacts_topPeersNotModified.md) = \[\]; +*** +

[$contacts.topPeersNotModified](../constructors/contacts.topPeersNotModified.md) = \[\]; ***

[$dataJSON](../constructors/dataJSON.md) = \['data' => [string](../types/string.md), \]; @@ -552,41 +589,58 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$geoPointEmpty](../constructors/geoPointEmpty.md) = \[\]; *** -

[$help\_appUpdate](../constructors/help_appUpdate.md) = \['can_not_skip' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'version' => [string](../types/string.md), 'text' => [string](../types/string.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], 'document' => [Document](../types/Document.md), 'url' => [string](../types/string.md), \]; +

[$help.appUpdate](../constructors/help.appUpdate.md) = \['can_not_skip' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'version' => [string](../types/string.md), 'text' => [string](../types/string.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], 'document' => [Document](../types/Document.md), 'url' => [string](../types/string.md), \]; -[$help\_configSimple](../constructors/help_configSimple.md) = \['date' => [int](../types/int.md), 'expires' => [int](../types/int.md), 'rules' => \[[AccessPointRule](../types/AccessPointRule.md)\], \]; +*** +

[$help.configSimple](../constructors/help.configSimple.md) = \['date' => [int](../types/int.md), 'expires' => [int](../types/int.md), 'rules' => \[[AccessPointRule](../types/AccessPointRule.md)\], \]; -[$help\_deepLinkInfo](../constructors/help_deepLinkInfo.md) = \['update_app' => [Bool](../types/Bool.md), 'message' => [string](../types/string.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], \]; +*** +

[$help.deepLinkInfo](../constructors/help.deepLinkInfo.md) = \['update_app' => [Bool](../types/Bool.md), 'message' => [string](../types/string.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], \]; -[$help\_deepLinkInfoEmpty](../constructors/help_deepLinkInfoEmpty.md) = \[\]; +*** +

[$help.deepLinkInfoEmpty](../constructors/help.deepLinkInfoEmpty.md) = \[\]; -[$help\_inviteText](../constructors/help_inviteText.md) = \['message' => [string](../types/string.md), \]; +*** +

[$help.inviteText](../constructors/help.inviteText.md) = \['message' => [string](../types/string.md), \]; -[$help\_noAppUpdate](../constructors/help_noAppUpdate.md) = \[\]; +*** +

[$help.noAppUpdate](../constructors/help.noAppUpdate.md) = \[\]; -[$help\_passportConfig](../constructors/help_passportConfig.md) = \['hash' => [int](../types/int.md), 'countries_langs' => [DataJSON](../types/DataJSON.md), \]; +*** +

[$help.passportConfig](../constructors/help.passportConfig.md) = \['hash' => [int](../types/int.md), 'countries_langs' => [DataJSON](../types/DataJSON.md), \]; -[$help\_passportConfigNotModified](../constructors/help_passportConfigNotModified.md) = \[\]; +*** +

[$help.passportConfigNotModified](../constructors/help.passportConfigNotModified.md) = \[\]; -[$help\_proxyDataEmpty](../constructors/help_proxyDataEmpty.md) = \['expires' => [int](../types/int.md), \]; +*** +

[$help.proxyDataEmpty](../constructors/help.proxyDataEmpty.md) = \['expires' => [int](../types/int.md), \]; -[$help\_proxyDataPromo](../constructors/help_proxyDataPromo.md) = \['expires' => [int](../types/int.md), 'peer' => [Peer](../types/Peer.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$help.proxyDataPromo](../constructors/help.proxyDataPromo.md) = \['expires' => [int](../types/int.md), 'peer' => [Peer](../types/Peer.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$help\_recentMeUrls](../constructors/help_recentMeUrls.md) = \['urls' => \[[RecentMeUrl](../types/RecentMeUrl.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$help.recentMeUrls](../constructors/help.recentMeUrls.md) = \['urls' => \[[RecentMeUrl](../types/RecentMeUrl.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$help\_support](../constructors/help_support.md) = \['phone_number' => [string](../types/string.md), 'user' => [User](../types/User.md), \]; +*** +

[$help.support](../constructors/help.support.md) = \['phone_number' => [string](../types/string.md), 'user' => [User](../types/User.md), \]; -[$help\_supportName](../constructors/help_supportName.md) = \['name' => [string](../types/string.md), \]; +*** +

[$help.supportName](../constructors/help.supportName.md) = \['name' => [string](../types/string.md), \]; -[$help\_termsOfService](../constructors/help_termsOfService.md) = \['popup' => [Bool](../types/Bool.md), 'id' => [DataJSON](../types/DataJSON.md), 'text' => [string](../types/string.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], 'min_age_confirm' => [int](../types/int.md), \]; +*** +

[$help.termsOfService](../constructors/help.termsOfService.md) = \['popup' => [Bool](../types/Bool.md), 'id' => [DataJSON](../types/DataJSON.md), 'text' => [string](../types/string.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], 'min_age_confirm' => [int](../types/int.md), \]; -[$help\_termsOfServiceUpdate](../constructors/help_termsOfServiceUpdate.md) = \['expires' => [int](../types/int.md), 'terms_of_service' => [help.TermsOfService](../types/help.TermsOfService.md), \]; +*** +

[$help.termsOfServiceUpdate](../constructors/help.termsOfServiceUpdate.md) = \['expires' => [int](../types/int.md), 'terms_of_service' => [help.TermsOfService](../types/help.TermsOfService.md), \]; -[$help\_termsOfServiceUpdateEmpty](../constructors/help_termsOfServiceUpdateEmpty.md) = \['expires' => [int](../types/int.md), \]; +*** +

[$help.termsOfServiceUpdateEmpty](../constructors/help.termsOfServiceUpdateEmpty.md) = \['expires' => [int](../types/int.md), \]; -[$help\_userInfo](../constructors/help_userInfo.md) = \['message' => [string](../types/string.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], 'author' => [string](../types/string.md), 'date' => [int](../types/int.md), \]; +*** +

[$help.userInfo](../constructors/help.userInfo.md) = \['message' => [string](../types/string.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], 'author' => [string](../types/string.md), 'date' => [int](../types/int.md), \]; -[$help\_userInfoEmpty](../constructors/help_userInfoEmpty.md) = \[\]; +*** +

[$help.userInfoEmpty](../constructors/help.userInfoEmpty.md) = \[\]; ***

[$highScore](../constructors/highScore.md) = \['pos' => [int](../types/int.md), 'user_id' => [int](../types/int.md), 'score' => [int](../types/int.md), \]; @@ -1288,87 +1342,127 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$messageService](../constructors/messageService.md) = \['out' => [Bool](../types/Bool.md), 'mentioned' => [Bool](../types/Bool.md), 'media_unread' => [Bool](../types/Bool.md), 'silent' => [Bool](../types/Bool.md), 'post' => [Bool](../types/Bool.md), 'legacy' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'from_id' => [int](../types/int.md), 'to_id' => [Peer](../types/Peer.md), 'reply_to_msg_id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'action' => [MessageAction](../types/MessageAction.md), \]; *** -

[$messages\_affectedHistory](../constructors/messages_affectedHistory.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), 'offset' => [int](../types/int.md), \]; +

[$messages.affectedHistory](../constructors/messages.affectedHistory.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), 'offset' => [int](../types/int.md), \]; -[$messages\_affectedMessages](../constructors/messages_affectedMessages.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; +*** +

[$messages.affectedMessages](../constructors/messages.affectedMessages.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; -[$messages\_allStickers](../constructors/messages_allStickers.md) = \['hash' => [int](../types/int.md), 'sets' => \[[StickerSet](../types/StickerSet.md)\], \]; +*** +

[$messages.allStickers](../constructors/messages.allStickers.md) = \['hash' => [int](../types/int.md), 'sets' => \[[StickerSet](../types/StickerSet.md)\], \]; -[$messages\_allStickersNotModified](../constructors/messages_allStickersNotModified.md) = \[\]; +*** +

[$messages.allStickersNotModified](../constructors/messages.allStickersNotModified.md) = \[\]; -[$messages\_archivedStickers](../constructors/messages_archivedStickers.md) = \['count' => [int](../types/int.md), 'sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], \]; +*** +

[$messages.archivedStickers](../constructors/messages.archivedStickers.md) = \['count' => [int](../types/int.md), 'sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], \]; -[$messages\_botCallbackAnswer](../constructors/messages_botCallbackAnswer.md) = \['alert' => [Bool](../types/Bool.md), 'has_url' => [Bool](../types/Bool.md), 'native_ui' => [Bool](../types/Bool.md), 'message' => [string](../types/string.md), 'url' => [string](../types/string.md), 'cache_time' => [int](../types/int.md), \]; +*** +

[$messages.botCallbackAnswer](../constructors/messages.botCallbackAnswer.md) = \['alert' => [Bool](../types/Bool.md), 'has_url' => [Bool](../types/Bool.md), 'native_ui' => [Bool](../types/Bool.md), 'message' => [string](../types/string.md), 'url' => [string](../types/string.md), 'cache_time' => [int](../types/int.md), \]; -[$messages\_botResults](../constructors/messages_botResults.md) = \['gallery' => [Bool](../types/Bool.md), 'query_id' => [long](../types/long.md), 'next_offset' => [string](../types/string.md), 'switch_pm' => [InlineBotSwitchPM](../types/InlineBotSwitchPM.md), 'results' => \[[BotInlineResult](../types/BotInlineResult.md)\], 'cache_time' => [int](../types/int.md), 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.botResults](../constructors/messages.botResults.md) = \['gallery' => [Bool](../types/Bool.md), 'query_id' => [long](../types/long.md), 'next_offset' => [string](../types/string.md), 'switch_pm' => [InlineBotSwitchPM](../types/InlineBotSwitchPM.md), 'results' => \[[BotInlineResult](../types/BotInlineResult.md)\], 'cache_time' => [int](../types/int.md), 'users' => \[[User](../types/User.md)\], \]; -[$messages\_channelMessages](../constructors/messages_channelMessages.md) = \['inexact' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.channelMessages](../constructors/messages.channelMessages.md) = \['inexact' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_chatFull](../constructors/messages_chatFull.md) = \['full_chat' => [ChatFull](../types/ChatFull.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.chatFull](../constructors/messages.chatFull.md) = \['full_chat' => [ChatFull](../types/ChatFull.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_chats](../constructors/messages_chats.md) = \['chats' => \[[Chat](../types/Chat.md)\], \]; +*** +

[$messages.chats](../constructors/messages.chats.md) = \['chats' => \[[Chat](../types/Chat.md)\], \]; -[$messages\_chatsSlice](../constructors/messages_chatsSlice.md) = \['count' => [int](../types/int.md), 'chats' => \[[Chat](../types/Chat.md)\], \]; +*** +

[$messages.chatsSlice](../constructors/messages.chatsSlice.md) = \['count' => [int](../types/int.md), 'chats' => \[[Chat](../types/Chat.md)\], \]; -[$messages\_dhConfig](../constructors/messages_dhConfig.md) = \['g' => [int](../types/int.md), 'p' => [bytes](../types/bytes.md), 'version' => [int](../types/int.md), 'random' => [bytes](../types/bytes.md), \]; +*** +

[$messages.dhConfig](../constructors/messages.dhConfig.md) = \['g' => [int](../types/int.md), 'p' => [bytes](../types/bytes.md), 'version' => [int](../types/int.md), 'random' => [bytes](../types/bytes.md), \]; -[$messages\_dhConfigNotModified](../constructors/messages_dhConfigNotModified.md) = \['random' => [bytes](../types/bytes.md), \]; +*** +

[$messages.dhConfigNotModified](../constructors/messages.dhConfigNotModified.md) = \['random' => [bytes](../types/bytes.md), \]; -[$messages\_dialogs](../constructors/messages_dialogs.md) = \['dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.dialogs](../constructors/messages.dialogs.md) = \['dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_dialogsNotModified](../constructors/messages_dialogsNotModified.md) = \['count' => [int](../types/int.md), \]; +*** +

[$messages.dialogsNotModified](../constructors/messages.dialogsNotModified.md) = \['count' => [int](../types/int.md), \]; -[$messages\_dialogsSlice](../constructors/messages_dialogsSlice.md) = \['count' => [int](../types/int.md), 'dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.dialogsSlice](../constructors/messages.dialogsSlice.md) = \['count' => [int](../types/int.md), 'dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_favedStickers](../constructors/messages_favedStickers.md) = \['hash' => [int](../types/int.md), 'packs' => \[[StickerPack](../types/StickerPack.md)\], 'stickers' => \[[Document](../types/Document.md)\], \]; +*** +

[$messages.favedStickers](../constructors/messages.favedStickers.md) = \['hash' => [int](../types/int.md), 'packs' => \[[StickerPack](../types/StickerPack.md)\], 'stickers' => \[[Document](../types/Document.md)\], \]; -[$messages\_favedStickersNotModified](../constructors/messages_favedStickersNotModified.md) = \[\]; +*** +

[$messages.favedStickersNotModified](../constructors/messages.favedStickersNotModified.md) = \[\]; -[$messages\_featuredStickers](../constructors/messages_featuredStickers.md) = \['hash' => [int](../types/int.md), 'sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], 'unread' => \[[long](../types/long.md)\], \]; +*** +

[$messages.featuredStickers](../constructors/messages.featuredStickers.md) = \['hash' => [int](../types/int.md), 'sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], 'unread' => \[[long](../types/long.md)\], \]; -[$messages\_featuredStickersNotModified](../constructors/messages_featuredStickersNotModified.md) = \[\]; +*** +

[$messages.featuredStickersNotModified](../constructors/messages.featuredStickersNotModified.md) = \[\]; -[$messages\_foundGifs](../constructors/messages_foundGifs.md) = \['next_offset' => [int](../types/int.md), 'results' => \[[FoundGif](../types/FoundGif.md)\], \]; +*** +

[$messages.foundGifs](../constructors/messages.foundGifs.md) = \['next_offset' => [int](../types/int.md), 'results' => \[[FoundGif](../types/FoundGif.md)\], \]; -[$messages\_foundStickerSets](../constructors/messages_foundStickerSets.md) = \['hash' => [int](../types/int.md), 'sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], \]; +*** +

[$messages.foundStickerSets](../constructors/messages.foundStickerSets.md) = \['hash' => [int](../types/int.md), 'sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], \]; -[$messages\_foundStickerSetsNotModified](../constructors/messages_foundStickerSetsNotModified.md) = \[\]; +*** +

[$messages.foundStickerSetsNotModified](../constructors/messages.foundStickerSetsNotModified.md) = \[\]; -[$messages\_highScores](../constructors/messages_highScores.md) = \['scores' => \[[HighScore](../types/HighScore.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.highScores](../constructors/messages.highScores.md) = \['scores' => \[[HighScore](../types/HighScore.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_messageEditData](../constructors/messages_messageEditData.md) = \['caption' => [Bool](../types/Bool.md), \]; +*** +

[$messages.messageEditData](../constructors/messages.messageEditData.md) = \['caption' => [Bool](../types/Bool.md), \]; -[$messages\_messages](../constructors/messages_messages.md) = \['messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.messages](../constructors/messages.messages.md) = \['messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_messagesNotModified](../constructors/messages_messagesNotModified.md) = \['count' => [int](../types/int.md), \]; +*** +

[$messages.messagesNotModified](../constructors/messages.messagesNotModified.md) = \['count' => [int](../types/int.md), \]; -[$messages\_messagesSlice](../constructors/messages_messagesSlice.md) = \['inexact' => [Bool](../types/Bool.md), 'count' => [int](../types/int.md), 'next_rate' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.messagesSlice](../constructors/messages.messagesSlice.md) = \['inexact' => [Bool](../types/Bool.md), 'count' => [int](../types/int.md), 'next_rate' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_peerDialogs](../constructors/messages_peerDialogs.md) = \['dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'state' => [updates.State](../types/updates.State.md), \]; +*** +

[$messages.peerDialogs](../constructors/messages.peerDialogs.md) = \['dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'state' => [updates.State](../types/updates.State.md), \]; -[$messages\_recentStickers](../constructors/messages_recentStickers.md) = \['hash' => [int](../types/int.md), 'packs' => \[[StickerPack](../types/StickerPack.md)\], 'stickers' => \[[Document](../types/Document.md)\], 'dates' => \[[int](../types/int.md)\], \]; +*** +

[$messages.recentStickers](../constructors/messages.recentStickers.md) = \['hash' => [int](../types/int.md), 'packs' => \[[StickerPack](../types/StickerPack.md)\], 'stickers' => \[[Document](../types/Document.md)\], 'dates' => \[[int](../types/int.md)\], \]; -[$messages\_recentStickersNotModified](../constructors/messages_recentStickersNotModified.md) = \[\]; +*** +

[$messages.recentStickersNotModified](../constructors/messages.recentStickersNotModified.md) = \[\]; -[$messages\_savedGifs](../constructors/messages_savedGifs.md) = \['hash' => [int](../types/int.md), 'gifs' => \[[Document](../types/Document.md)\], \]; +*** +

[$messages.savedGifs](../constructors/messages.savedGifs.md) = \['hash' => [int](../types/int.md), 'gifs' => \[[Document](../types/Document.md)\], \]; -[$messages\_savedGifsNotModified](../constructors/messages_savedGifsNotModified.md) = \[\]; +*** +

[$messages.savedGifsNotModified](../constructors/messages.savedGifsNotModified.md) = \[\]; -[$messages\_searchCounter](../constructors/messages_searchCounter.md) = \['inexact' => [Bool](../types/Bool.md), 'filter' => [MessagesFilter](../types/MessagesFilter.md), 'count' => [int](../types/int.md), \]; +*** +

[$messages.searchCounter](../constructors/messages.searchCounter.md) = \['inexact' => [Bool](../types/Bool.md), 'filter' => [MessagesFilter](../types/MessagesFilter.md), 'count' => [int](../types/int.md), \]; -[$messages\_sentEncryptedFile](../constructors/messages_sentEncryptedFile.md) = \['date' => [int](../types/int.md), 'file' => [EncryptedFile](../types/EncryptedFile.md), \]; +*** +

[$messages.sentEncryptedFile](../constructors/messages.sentEncryptedFile.md) = \['date' => [int](../types/int.md), 'file' => [EncryptedFile](../types/EncryptedFile.md), \]; -[$messages\_sentEncryptedMessage](../constructors/messages_sentEncryptedMessage.md) = \['date' => [int](../types/int.md), \]; +*** +

[$messages.sentEncryptedMessage](../constructors/messages.sentEncryptedMessage.md) = \['date' => [int](../types/int.md), \]; -[$messages\_stickerSet](../constructors/messages_stickerSet.md) = \['set' => [StickerSet](../types/StickerSet.md), 'packs' => \[[StickerPack](../types/StickerPack.md)\], 'documents' => \[[Document](../types/Document.md)\], \]; +*** +

[$messages.stickerSet](../constructors/messages.stickerSet.md) = \['set' => [StickerSet](../types/StickerSet.md), 'packs' => \[[StickerPack](../types/StickerPack.md)\], 'documents' => \[[Document](../types/Document.md)\], \]; -[$messages\_stickerSetInstallResultArchive](../constructors/messages_stickerSetInstallResultArchive.md) = \['sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], \]; +*** +

[$messages.stickerSetInstallResultArchive](../constructors/messages.stickerSetInstallResultArchive.md) = \['sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], \]; -[$messages\_stickerSetInstallResultSuccess](../constructors/messages_stickerSetInstallResultSuccess.md) = \[\]; +*** +

[$messages.stickerSetInstallResultSuccess](../constructors/messages.stickerSetInstallResultSuccess.md) = \[\]; -[$messages\_stickers](../constructors/messages_stickers.md) = \['hash' => [int](../types/int.md), 'stickers' => \[[Document](../types/Document.md)\], \]; +*** +

[$messages.stickers](../constructors/messages.stickers.md) = \['hash' => [int](../types/int.md), 'stickers' => \[[Document](../types/Document.md)\], \]; -[$messages\_stickersNotModified](../constructors/messages_stickersNotModified.md) = \[\]; +*** +

[$messages.stickersNotModified](../constructors/messages.stickersNotModified.md) = \[\]; ***

[$nearestDc](../constructors/nearestDc.md) = \['country' => [string](../types/string.md), 'this_dc' => [int](../types/int.md), 'nearest_dc' => [int](../types/int.md), \]; @@ -1518,17 +1612,22 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$paymentSavedCredentialsCard](../constructors/paymentSavedCredentialsCard.md) = \['id' => [string](../types/string.md), 'title' => [string](../types/string.md), \]; *** -

[$payments\_paymentForm](../constructors/payments_paymentForm.md) = \['can_save_credentials' => [Bool](../types/Bool.md), 'password_missing' => [Bool](../types/Bool.md), 'bot_id' => [int](../types/int.md), 'invoice' => [Invoice](../types/Invoice.md), 'provider_id' => [int](../types/int.md), 'url' => [string](../types/string.md), 'native_provider' => [string](../types/string.md), 'native_params' => [DataJSON](../types/DataJSON.md), 'saved_info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), 'saved_credentials' => [PaymentSavedCredentials](../types/PaymentSavedCredentials.md), 'users' => \[[User](../types/User.md)\], \]; +

[$payments.paymentForm](../constructors/payments.paymentForm.md) = \['can_save_credentials' => [Bool](../types/Bool.md), 'password_missing' => [Bool](../types/Bool.md), 'bot_id' => [int](../types/int.md), 'invoice' => [Invoice](../types/Invoice.md), 'provider_id' => [int](../types/int.md), 'url' => [string](../types/string.md), 'native_provider' => [string](../types/string.md), 'native_params' => [DataJSON](../types/DataJSON.md), 'saved_info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), 'saved_credentials' => [PaymentSavedCredentials](../types/PaymentSavedCredentials.md), 'users' => \[[User](../types/User.md)\], \]; -[$payments\_paymentReceipt](../constructors/payments_paymentReceipt.md) = \['date' => [int](../types/int.md), 'bot_id' => [int](../types/int.md), 'invoice' => [Invoice](../types/Invoice.md), 'provider_id' => [int](../types/int.md), 'info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), 'shipping' => [ShippingOption](../types/ShippingOption.md), 'currency' => [string](../types/string.md), 'total_amount' => [long](../types/long.md), 'credentials_title' => [string](../types/string.md), 'users' => \[[User](../types/User.md)\], \]; +*** +

[$payments.paymentReceipt](../constructors/payments.paymentReceipt.md) = \['date' => [int](../types/int.md), 'bot_id' => [int](../types/int.md), 'invoice' => [Invoice](../types/Invoice.md), 'provider_id' => [int](../types/int.md), 'info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), 'shipping' => [ShippingOption](../types/ShippingOption.md), 'currency' => [string](../types/string.md), 'total_amount' => [long](../types/long.md), 'credentials_title' => [string](../types/string.md), 'users' => \[[User](../types/User.md)\], \]; -[$payments\_paymentResult](../constructors/payments_paymentResult.md) = \['updates' => [Updates](../types/Updates.md), \]; +*** +

[$payments.paymentResult](../constructors/payments.paymentResult.md) = \['updates' => [Updates](../types/Updates.md), \]; -[$payments\_paymentVerificationNeeded](../constructors/payments_paymentVerificationNeeded.md) = \['url' => [string](../types/string.md), \]; +*** +

[$payments.paymentVerificationNeeded](../constructors/payments.paymentVerificationNeeded.md) = \['url' => [string](../types/string.md), \]; -[$payments\_savedInfo](../constructors/payments_savedInfo.md) = \['has_saved_credentials' => [Bool](../types/Bool.md), 'saved_info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), \]; +*** +

[$payments.savedInfo](../constructors/payments.savedInfo.md) = \['has_saved_credentials' => [Bool](../types/Bool.md), 'saved_info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), \]; -[$payments\_validatedRequestedInfo](../constructors/payments_validatedRequestedInfo.md) = \['id' => [string](../types/string.md), 'shipping_options' => \[[ShippingOption](../types/ShippingOption.md)\], \]; +*** +

[$payments.validatedRequestedInfo](../constructors/payments.validatedRequestedInfo.md) = \['id' => [string](../types/string.md), 'shipping_options' => \[[ShippingOption](../types/ShippingOption.md)\], \]; ***

[$peerChannel](../constructors/peerChannel.md) = \['channel_id' => [int](../types/int.md), \]; @@ -1548,6 +1647,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ***

[$peerUser](../constructors/peerUser.md) = \['user_id' => [int](../types/int.md), \]; +*** +

[$phone.phoneCall](../constructors/phone.phoneCall.md) = \['phone_call' => [PhoneCall](../types/PhoneCall.md), 'users' => \[[User](../types/User.md)\], \]; + ***

[$phoneCall](../constructors/phoneCall.md) = \['p2p_allowed' => [Bool](../types/Bool.md), 'id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'date' => [int](../types/int.md), 'admin_id' => [int](../types/int.md), 'participant_id' => [int](../types/int.md), 'g_a_or_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), 'connections' => \[[PhoneConnection](../types/PhoneConnection.md)\], 'start_date' => [int](../types/int.md), \]; @@ -1584,9 +1686,6 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ***

[$phoneConnection](../constructors/phoneConnection.md) = \['id' => [long](../types/long.md), 'ip' => [string](../types/string.md), 'ipv6' => [string](../types/string.md), 'port' => [int](../types/int.md), 'peer_tag' => [bytes](../types/bytes.md), \]; -*** -

[$phone\_phoneCall](../constructors/phone_phoneCall.md) = \['phone_call' => [PhoneCall](../types/PhoneCall.md), 'users' => \[[User](../types/User.md)\], \]; - ***

[$photo](../constructors/photo.md) = \['has_stickers' => [Bool](../types/Bool.md), 'id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'file_reference' => [bytes](../types/bytes.md), 'date' => [int](../types/int.md), 'sizes' => \[[PhotoSize](../types/PhotoSize.md)\], 'dc_id' => [int](../types/int.md), \]; @@ -1606,11 +1705,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$photoStrippedSize](../constructors/photoStrippedSize.md) = \['type' => [string](../types/string.md), 'bytes' => [bytes](../types/bytes.md), \]; *** -

[$photos\_photo](../constructors/photos_photo.md) = \['photo' => [Photo](../types/Photo.md), 'users' => \[[User](../types/User.md)\], \]; +

[$photos.photo](../constructors/photos.photo.md) = \['photo' => [Photo](../types/Photo.md), 'users' => \[[User](../types/User.md)\], \]; -[$photos\_photos](../constructors/photos_photos.md) = \['photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$photos.photos](../constructors/photos.photos.md) = \['photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$photos\_photosSlice](../constructors/photos_photosSlice.md) = \['count' => [int](../types/int.md), 'photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$photos.photosSlice](../constructors/photos.photosSlice.md) = \['count' => [int](../types/int.md), 'photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; ***

[$poll](../constructors/poll.md) = \['id' => [long](../types/long.md), 'closed' => [Bool](../types/Bool.md), 'question' => [string](../types/string.md), 'answers' => \[[PollAnswer](../types/PollAnswer.md)\], \]; @@ -1883,25 +1984,34 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$stickerSetMultiCovered](../constructors/stickerSetMultiCovered.md) = \['set' => [StickerSet](../types/StickerSet.md), 'covers' => \[[Document](../types/Document.md)\], \]; *** -

[$storage\_fileGif](../constructors/storage_fileGif.md) = \[\]; +

[$storage.fileGif](../constructors/storage.fileGif.md) = \[\]; -[$storage\_fileJpeg](../constructors/storage_fileJpeg.md) = \[\]; +*** +

[$storage.fileJpeg](../constructors/storage.fileJpeg.md) = \[\]; -[$storage\_fileMov](../constructors/storage_fileMov.md) = \[\]; +*** +

[$storage.fileMov](../constructors/storage.fileMov.md) = \[\]; -[$storage\_fileMp3](../constructors/storage_fileMp3.md) = \[\]; +*** +

[$storage.fileMp3](../constructors/storage.fileMp3.md) = \[\]; -[$storage\_fileMp4](../constructors/storage_fileMp4.md) = \[\]; +*** +

[$storage.fileMp4](../constructors/storage.fileMp4.md) = \[\]; -[$storage\_filePartial](../constructors/storage_filePartial.md) = \[\]; +*** +

[$storage.filePartial](../constructors/storage.filePartial.md) = \[\]; -[$storage\_filePdf](../constructors/storage_filePdf.md) = \[\]; +*** +

[$storage.filePdf](../constructors/storage.filePdf.md) = \[\]; -[$storage\_filePng](../constructors/storage_filePng.md) = \[\]; +*** +

[$storage.filePng](../constructors/storage.filePng.md) = \[\]; -[$storage\_fileUnknown](../constructors/storage_fileUnknown.md) = \[\]; +*** +

[$storage.fileUnknown](../constructors/storage.fileUnknown.md) = \[\]; -[$storage\_fileWebp](../constructors/storage_fileWebp.md) = \[\]; +*** +

[$storage.fileWebp](../constructors/storage.fileWebp.md) = \[\]; ***

[$textAnchor](../constructors/textAnchor.md) = \['text' => [RichText](../types/RichText.md), 'name' => [string](../types/string.md), \]; @@ -2227,6 +2337,30 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ***

[$updates](../constructors/updates.md) = \['updates' => \[[Update](../types/Update.md)\], 'users' => \[[User](../types/User.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'date' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; +*** +

[$updates.channelDifference](../constructors/updates.channelDifference.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), 'new_messages' => \[[Message](../types/Message.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +*** +

[$updates.channelDifferenceEmpty](../constructors/updates.channelDifferenceEmpty.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), \]; + +*** +

[$updates.channelDifferenceTooLong](../constructors/updates.channelDifferenceTooLong.md) = \['final' => [Bool](../types/Bool.md), 'timeout' => [int](../types/int.md), 'dialog' => [Dialog](../types/Dialog.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +*** +

[$updates.difference](../constructors/updates.difference.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'state' => [updates.State](../types/updates.State.md), \]; + +*** +

[$updates.differenceEmpty](../constructors/updates.differenceEmpty.md) = \['date' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; + +*** +

[$updates.differenceSlice](../constructors/updates.differenceSlice.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'intermediate_state' => [updates.State](../types/updates.State.md), \]; + +*** +

[$updates.differenceTooLong](../constructors/updates.differenceTooLong.md) = \['pts' => [int](../types/int.md), \]; + +*** +

[$updates.state](../constructors/updates.state.md) = \['pts' => [int](../types/int.md), 'qts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'seq' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), \]; + ***

[$updatesCombined](../constructors/updatesCombined.md) = \['updates' => \[[Update](../types/Update.md)\], 'users' => \[[User](../types/User.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'date' => [int](../types/int.md), 'seq_start' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; @@ -2234,32 +2368,19 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$updatesTooLong](../constructors/updatesTooLong.md) = \[\]; *** -

[$updates\_channelDifference](../constructors/updates_channelDifference.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), 'new_messages' => \[[Message](../types/Message.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; - -[$updates\_channelDifferenceEmpty](../constructors/updates_channelDifferenceEmpty.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), \]; - -[$updates\_channelDifferenceTooLong](../constructors/updates_channelDifferenceTooLong.md) = \['final' => [Bool](../types/Bool.md), 'timeout' => [int](../types/int.md), 'dialog' => [Dialog](../types/Dialog.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; - -[$updates\_difference](../constructors/updates_difference.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'state' => [updates.State](../types/updates.State.md), \]; - -[$updates\_differenceEmpty](../constructors/updates_differenceEmpty.md) = \['date' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; - -[$updates\_differenceSlice](../constructors/updates_differenceSlice.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'intermediate_state' => [updates.State](../types/updates.State.md), \]; - -[$updates\_differenceTooLong](../constructors/updates_differenceTooLong.md) = \['pts' => [int](../types/int.md), \]; - -[$updates\_state](../constructors/updates_state.md) = \['pts' => [int](../types/int.md), 'qts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'seq' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), \]; +

[$upload.cdnFile](../constructors/upload.cdnFile.md) = \['bytes' => [bytes](../types/bytes.md), \]; *** -

[$upload\_cdnFile](../constructors/upload_cdnFile.md) = \['bytes' => [bytes](../types/bytes.md), \]; +

[$upload.cdnFileReuploadNeeded](../constructors/upload.cdnFileReuploadNeeded.md) = \['request_token' => [bytes](../types/bytes.md), \]; -[$upload\_cdnFileReuploadNeeded](../constructors/upload_cdnFileReuploadNeeded.md) = \['request_token' => [bytes](../types/bytes.md), \]; +*** +

[$upload.file](../constructors/upload.file.md) = \['type' => [storage.FileType](../types/storage.FileType.md), 'mtime' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; -[$upload\_file](../constructors/upload_file.md) = \['type' => [storage.FileType](../types/storage.FileType.md), 'mtime' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; +*** +

[$upload.fileCdnRedirect](../constructors/upload.fileCdnRedirect.md) = \['dc_id' => [int](../types/int.md), 'file_token' => [bytes](../types/bytes.md), 'encryption_key' => [bytes](../types/bytes.md), 'encryption_iv' => [bytes](../types/bytes.md), 'file_hashes' => \[[FileHash](../types/FileHash.md)\], \]; -[$upload\_fileCdnRedirect](../constructors/upload_fileCdnRedirect.md) = \['dc_id' => [int](../types/int.md), 'file_token' => [bytes](../types/bytes.md), 'encryption_key' => [bytes](../types/bytes.md), 'encryption_iv' => [bytes](../types/bytes.md), 'file_hashes' => \[[FileHash](../types/FileHash.md)\], \]; - -[$upload\_webFile](../constructors/upload_webFile.md) = \['size' => [int](../types/int.md), 'mime_type' => [string](../types/string.md), 'file_type' => [storage.FileType](../types/storage.FileType.md), 'mtime' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; +*** +

[$upload.webFile](../constructors/upload.webFile.md) = \['size' => [int](../types/int.md), 'mime_type' => [string](../types/string.md), 'file_type' => [storage.FileType](../types/storage.FileType.md), 'mtime' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; ***

[$urlAuthResultAccepted](../constructors/urlAuthResultAccepted.md) = \['url' => [string](../types/string.md), \]; diff --git a/docs/API_docs/constructors/messages.affectedHistory.md b/docs/API_docs/constructors/messages.affectedHistory.md new file mode 100644 index 00000000..5fc8acec --- /dev/null +++ b/docs/API_docs/constructors/messages.affectedHistory.md @@ -0,0 +1,40 @@ +--- +title: messages.affectedHistory +description: Affected part of communication history with the user or in a chat. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.affectedHistory +[Back to constructors index](index.md) + + + +Affected part of communication history with the user or in a chat. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| +|pts\_count|[int](../types/int.md) | Yes|Number of affected events| +|offset|[int](../types/int.md) | Yes|If a parameter contains positive value, it is necessary to repeat the method call using the given value; during the proceeding of all the history the value itself shall gradually decrease| + + + +### Type: [messages.AffectedHistory](../types/messages.AffectedHistory.md) + + +### Example: + +```php +$messages.affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.affectedHistory={_='messages.affectedHistory', pts=int, pts_count=int, offset=int} + +``` + + diff --git a/docs/API_docs/constructors/messages.affectedMessages.md b/docs/API_docs/constructors/messages.affectedMessages.md new file mode 100644 index 00000000..a0e60bdf --- /dev/null +++ b/docs/API_docs/constructors/messages.affectedMessages.md @@ -0,0 +1,39 @@ +--- +title: messages.affectedMessages +description: Events affected by operation +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.affectedMessages +[Back to constructors index](index.md) + + + +Events affected by operation + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|[Event count after generation](https://core.telegram.org/api/updates)| +|pts\_count|[int](../types/int.md) | Yes|[Number of events that were generated](https://core.telegram.org/api/updates)| + + + +### Type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) + + +### Example: + +```php +$messages.affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.affectedMessages={_='messages.affectedMessages', pts=int, pts_count=int} + +``` + + diff --git a/docs/API_docs/constructors/messages.allStickers.md b/docs/API_docs/constructors/messages.allStickers.md new file mode 100644 index 00000000..5f13bfde --- /dev/null +++ b/docs/API_docs/constructors/messages.allStickers.md @@ -0,0 +1,39 @@ +--- +title: messages.allStickers +description: Info about all installed stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.allStickers +[Back to constructors index](index.md) + + + +Info about all installed stickers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|sets|Array of [StickerSet](../types/StickerSet.md) | Yes|Sets| + + + +### Type: [messages.AllStickers](../types/messages.AllStickers.md) + + +### Example: + +```php +$messages.allStickers = ['_' => 'messages.allStickers', 'hash' => int, 'sets' => [StickerSet, StickerSet]]; +``` + + +Or, if you're into Lua: + +```lua +messages.allStickers={_='messages.allStickers', hash=int, sets={StickerSet}} + +``` + + diff --git a/docs/API_docs/constructors/messages.allStickersNotModified.md b/docs/API_docs/constructors/messages.allStickersNotModified.md new file mode 100644 index 00000000..d3db088b --- /dev/null +++ b/docs/API_docs/constructors/messages.allStickersNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.allStickersNotModified +description: Info about all installed stickers hasn't changed +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.allStickersNotModified +[Back to constructors index](index.md) + + + +Info about all installed stickers hasn't changed + + + + +### Type: [messages.AllStickers](../types/messages.AllStickers.md) + + +### Example: + +```php +$messages.allStickersNotModified = ['_' => 'messages.allStickersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.allStickersNotModified={_='messages.allStickersNotModified'} + +``` + + diff --git a/docs/API_docs/constructors/messages.archivedStickers.md b/docs/API_docs/constructors/messages.archivedStickers.md new file mode 100644 index 00000000..6ad9927c --- /dev/null +++ b/docs/API_docs/constructors/messages.archivedStickers.md @@ -0,0 +1,39 @@ +--- +title: messages.archivedStickers +description: Archived stickersets +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.archivedStickers +[Back to constructors index](index.md) + + + +Archived stickersets + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Number of archived stickers| +|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| + + + +### Type: [messages.ArchivedStickers](../types/messages.ArchivedStickers.md) + + +### Example: + +```php +$messages.archivedStickers = ['_' => 'messages.archivedStickers', 'count' => int, 'sets' => [StickerSetCovered, StickerSetCovered]]; +``` + + +Or, if you're into Lua: + +```lua +messages.archivedStickers={_='messages.archivedStickers', count=int, sets={StickerSetCovered}} + +``` + + diff --git a/docs/API_docs/constructors/messages.botCallbackAnswer.md b/docs/API_docs/constructors/messages.botCallbackAnswer.md new file mode 100644 index 00000000..08bfeba5 --- /dev/null +++ b/docs/API_docs/constructors/messages.botCallbackAnswer.md @@ -0,0 +1,43 @@ +--- +title: messages.botCallbackAnswer +description: Callback answer sent by the bot in response to a button press +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.botCallbackAnswer +[Back to constructors index](index.md) + + + +Callback answer sent by the bot in response to a button press + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|alert|[Bool](../types/Bool.md) | Optional|Whether an alert should be shown to the user instead of a toast notification| +|has\_url|[Bool](../types/Bool.md) | Optional|Whether an URL is present| +|native\_ui|[Bool](../types/Bool.md) | Optional|Whether to show games in WebView or in native UI.| +|message|[string](../types/string.md) | Optional|Alert to show| +|url|[string](../types/string.md) | Optional|URL to open| +|cache\_time|[int](../types/int.md) | Yes|For how long should this answer be cached| + + + +### Type: [messages.BotCallbackAnswer](../types/messages.BotCallbackAnswer.md) + + +### Example: + +```php +$messages.botCallbackAnswer = ['_' => 'messages.botCallbackAnswer', 'alert' => Bool, 'has_url' => Bool, 'native_ui' => Bool, 'message' => 'string', 'url' => 'string', 'cache_time' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.botCallbackAnswer={_='messages.botCallbackAnswer', alert=Bool, has_url=Bool, native_ui=Bool, message='string', url='string', cache_time=int} + +``` + + diff --git a/docs/API_docs/constructors/messages.botResults.md b/docs/API_docs/constructors/messages.botResults.md new file mode 100644 index 00000000..7b6dcfba --- /dev/null +++ b/docs/API_docs/constructors/messages.botResults.md @@ -0,0 +1,44 @@ +--- +title: messages.botResults +description: Result of a query to an inline bot +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.botResults +[Back to constructors index](index.md) + + + +Result of a query to an inline bot + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|gallery|[Bool](../types/Bool.md) | Optional|Whether the result is a picture gallery| +|query\_id|[long](../types/long.md) | Yes|Query ID| +|next\_offset|[string](../types/string.md) | Optional|The next offset to use when navigating through results| +|switch\_pm|[InlineBotSwitchPM](../types/InlineBotSwitchPM.md) | Optional|Whether the bot requested the user to message him in private| +|results|Array of [BotInlineResult](../types/BotInlineResult.md) | Yes|Results| +|cache\_time|[int](../types/int.md) | Yes|Caching validity of the results| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.BotResults](../types/messages.BotResults.md) + + +### Example: + +```php +$messages.botResults = ['_' => 'messages.botResults', 'gallery' => Bool, 'query_id' => long, 'next_offset' => 'string', 'switch_pm' => InlineBotSwitchPM, 'results' => [BotInlineResult, BotInlineResult], 'cache_time' => int, 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.botResults={_='messages.botResults', gallery=Bool, query_id=long, next_offset='string', switch_pm=InlineBotSwitchPM, results={BotInlineResult}, cache_time=int, users={User}} + +``` + + diff --git a/docs/API_docs/constructors/messages.channelMessages.md b/docs/API_docs/constructors/messages.channelMessages.md new file mode 100644 index 00000000..8a8ca98a --- /dev/null +++ b/docs/API_docs/constructors/messages.channelMessages.md @@ -0,0 +1,43 @@ +--- +title: messages.channelMessages +description: Channel messages +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.channelMessages +[Back to constructors index](index.md) + + + +Channel messages + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|inexact|[Bool](../types/Bool.md) | Optional|If set, returned results may be inexact| +|pts|[int](../types/int.md) | Yes|[Event count after generation](https://core.telegram.org/api/updates)| +|count|[int](../types/int.md) | Yes|Total number of results were found server-side (may not be all included here)| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Messages](../types/messages.Messages.md) + + +### Example: + +```php +$messages.channelMessages = ['_' => 'messages.channelMessages', 'inexact' => Bool, 'pts' => int, 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.channelMessages={_='messages.channelMessages', inexact=Bool, pts=int, count=int, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/docs/API_docs/constructors/messages.chatFull.md b/docs/API_docs/constructors/messages.chatFull.md new file mode 100644 index 00000000..3906cc54 --- /dev/null +++ b/docs/API_docs/constructors/messages.chatFull.md @@ -0,0 +1,40 @@ +--- +title: messages.chatFull +description: Extended info on chat and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.chatFull +[Back to constructors index](index.md) + + + +Extended info on chat and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|full\_chat|[ChatFull](../types/ChatFull.md) | Yes|Extended info on a chat| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.ChatFull](../types/messages.ChatFull.md) + + +### Example: + +```php +$messages.chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.chatFull={_='messages.chatFull', full_chat=ChatFull, chats={Chat}, users={User}} + +``` + + diff --git a/docs/API_docs/constructors/messages.chats.md b/docs/API_docs/constructors/messages.chats.md new file mode 100644 index 00000000..9ede9ff2 --- /dev/null +++ b/docs/API_docs/constructors/messages.chats.md @@ -0,0 +1,38 @@ +--- +title: messages.chats +description: List of chats with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.chats +[Back to constructors index](index.md) + + + +List of chats with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| + + + +### Type: [messages.Chats](../types/messages.Chats.md) + + +### Example: + +```php +$messages.chats = ['_' => 'messages.chats', 'chats' => [Chat, Chat]]; +``` + + +Or, if you're into Lua: + +```lua +messages.chats={_='messages.chats', chats={Chat}} + +``` + + diff --git a/docs/API_docs/constructors/messages.chatsSlice.md b/docs/API_docs/constructors/messages.chatsSlice.md new file mode 100644 index 00000000..efd153e0 --- /dev/null +++ b/docs/API_docs/constructors/messages.chatsSlice.md @@ -0,0 +1,39 @@ +--- +title: messages.chatsSlice +description: Partial list of chats, more would have to be fetched with [pagination](https://core.telegram.org/api/offsets) +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.chatsSlice +[Back to constructors index](index.md) + + + +Partial list of chats, more would have to be fetched with [pagination](https://core.telegram.org/api/offsets) + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of results that were found server-side (not all are included in `chats`)| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| + + + +### Type: [messages.Chats](../types/messages.Chats.md) + + +### Example: + +```php +$messages.chatsSlice = ['_' => 'messages.chatsSlice', 'count' => int, 'chats' => [Chat, Chat]]; +``` + + +Or, if you're into Lua: + +```lua +messages.chatsSlice={_='messages.chatsSlice', count=int, chats={Chat}} + +``` + + diff --git a/docs/API_docs/constructors/messages.dhConfig.md b/docs/API_docs/constructors/messages.dhConfig.md new file mode 100644 index 00000000..58344f64 --- /dev/null +++ b/docs/API_docs/constructors/messages.dhConfig.md @@ -0,0 +1,41 @@ +--- +title: messages.dhConfig +description: New set of configuring parameters. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dhConfig +[Back to constructors index](index.md) + + + +New set of configuring parameters. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|g|[int](../types/int.md) | Yes|New value **prime**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| +|p|[bytes](../types/bytes.md) | Yes|New value **primitive root**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| +|version|[int](../types/int.md) | Yes|Vestion of set of parameters| +|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| + + + +### Type: [messages.DhConfig](../types/messages.DhConfig.md) + + +### Example: + +```php +$messages.dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'version' => int, 'random' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +messages.dhConfig={_='messages.dhConfig', g=int, p='bytes', version=int, random='bytes'} + +``` + + diff --git a/docs/API_docs/constructors/messages.dhConfigNotModified.md b/docs/API_docs/constructors/messages.dhConfigNotModified.md new file mode 100644 index 00000000..a9a95389 --- /dev/null +++ b/docs/API_docs/constructors/messages.dhConfigNotModified.md @@ -0,0 +1,38 @@ +--- +title: messages.dhConfigNotModified +description: Configuring parameters did not change. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dhConfigNotModified +[Back to constructors index](index.md) + + + +Configuring parameters did not change. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| + + + +### Type: [messages.DhConfig](../types/messages.DhConfig.md) + + +### Example: + +```php +$messages.dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +messages.dhConfigNotModified={_='messages.dhConfigNotModified', random='bytes'} + +``` + + diff --git a/docs/API_docs/constructors/messages.dialogs.md b/docs/API_docs/constructors/messages.dialogs.md new file mode 100644 index 00000000..a72eabce --- /dev/null +++ b/docs/API_docs/constructors/messages.dialogs.md @@ -0,0 +1,41 @@ +--- +title: messages.dialogs +description: Full list of chats with messages and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dialogs +[Back to constructors index](index.md) + + + +Full list of chats with messages and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Dialogs](../types/messages.Dialogs.md) + + +### Example: + +```php +$messages.dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.dialogs={_='messages.dialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/docs/API_docs/constructors/messages.dialogsNotModified.md b/docs/API_docs/constructors/messages.dialogsNotModified.md new file mode 100644 index 00000000..b4615516 --- /dev/null +++ b/docs/API_docs/constructors/messages.dialogsNotModified.md @@ -0,0 +1,38 @@ +--- +title: messages.dialogsNotModified +description: Dialogs haven't changed +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dialogsNotModified +[Back to constructors index](index.md) + + + +Dialogs haven't changed + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Number of dialogs found server-side by the query| + + + +### Type: [messages.Dialogs](../types/messages.Dialogs.md) + + +### Example: + +```php +$messages.dialogsNotModified = ['_' => 'messages.dialogsNotModified', 'count' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.dialogsNotModified={_='messages.dialogsNotModified', count=int} + +``` + + diff --git a/docs/API_docs/constructors/messages.dialogsSlice.md b/docs/API_docs/constructors/messages.dialogsSlice.md new file mode 100644 index 00000000..26227d2c --- /dev/null +++ b/docs/API_docs/constructors/messages.dialogsSlice.md @@ -0,0 +1,42 @@ +--- +title: messages.dialogsSlice +description: Incomplete list of dialogs with messages and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dialogsSlice +[Back to constructors index](index.md) + + + +Incomplete list of dialogs with messages and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of dialogs| +|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Dialogs](../types/messages.Dialogs.md) + + +### Example: + +```php +$messages.dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.dialogsSlice={_='messages.dialogsSlice', count=int, dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/docs/API_docs/constructors/messages.favedStickers.md b/docs/API_docs/constructors/messages.favedStickers.md new file mode 100644 index 00000000..a5cfb7c9 --- /dev/null +++ b/docs/API_docs/constructors/messages.favedStickers.md @@ -0,0 +1,40 @@ +--- +title: messages.favedStickers +description: Favorited stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.favedStickers +[Back to constructors index](index.md) + + + +Favorited stickers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|packs|Array of [StickerPack](../types/StickerPack.md) | Yes|Packs| +|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| + + + +### Type: [messages.FavedStickers](../types/messages.FavedStickers.md) + + +### Example: + +```php +$messages.favedStickers = ['_' => 'messages.favedStickers', 'hash' => int, 'packs' => [StickerPack, StickerPack], 'stickers' => [Document, Document]]; +``` + + +Or, if you're into Lua: + +```lua +messages.favedStickers={_='messages.favedStickers', hash=int, packs={StickerPack}, stickers={Document}} + +``` + + diff --git a/docs/API_docs/constructors/messages.favedStickersNotModified.md b/docs/API_docs/constructors/messages.favedStickersNotModified.md new file mode 100644 index 00000000..8723659e --- /dev/null +++ b/docs/API_docs/constructors/messages.favedStickersNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.favedStickersNotModified +description: No new favorited stickers were found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.favedStickersNotModified +[Back to constructors index](index.md) + + + +No new favorited stickers were found + + + + +### Type: [messages.FavedStickers](../types/messages.FavedStickers.md) + + +### Example: + +```php +$messages.favedStickersNotModified = ['_' => 'messages.favedStickersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.favedStickersNotModified={_='messages.favedStickersNotModified'} + +``` + + diff --git a/docs/API_docs/constructors/messages.featuredStickers.md b/docs/API_docs/constructors/messages.featuredStickers.md new file mode 100644 index 00000000..344376ea --- /dev/null +++ b/docs/API_docs/constructors/messages.featuredStickers.md @@ -0,0 +1,40 @@ +--- +title: messages.featuredStickers +description: Featured stickersets +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.featuredStickers +[Back to constructors index](index.md) + + + +Featured stickersets + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| +|unread|Array of [long](../types/long.md) | Yes|Unread| + + + +### Type: [messages.FeaturedStickers](../types/messages.FeaturedStickers.md) + + +### Example: + +```php +$messages.featuredStickers = ['_' => 'messages.featuredStickers', 'hash' => int, 'sets' => [StickerSetCovered, StickerSetCovered], 'unread' => [long, long]]; +``` + + +Or, if you're into Lua: + +```lua +messages.featuredStickers={_='messages.featuredStickers', hash=int, sets={StickerSetCovered}, unread={long}} + +``` + + diff --git a/docs/API_docs/constructors/messages.featuredStickersNotModified.md b/docs/API_docs/constructors/messages.featuredStickersNotModified.md new file mode 100644 index 00000000..0fe9b4d5 --- /dev/null +++ b/docs/API_docs/constructors/messages.featuredStickersNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.featuredStickersNotModified +description: Featured stickers haven't changed +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.featuredStickersNotModified +[Back to constructors index](index.md) + + + +Featured stickers haven't changed + + + + +### Type: [messages.FeaturedStickers](../types/messages.FeaturedStickers.md) + + +### Example: + +```php +$messages.featuredStickersNotModified = ['_' => 'messages.featuredStickersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.featuredStickersNotModified={_='messages.featuredStickersNotModified'} + +``` + + diff --git a/docs/API_docs/constructors/messages.foundGifs.md b/docs/API_docs/constructors/messages.foundGifs.md new file mode 100644 index 00000000..c75e36f9 --- /dev/null +++ b/docs/API_docs/constructors/messages.foundGifs.md @@ -0,0 +1,39 @@ +--- +title: messages.foundGifs +description: Found GIFs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.foundGifs +[Back to constructors index](index.md) + + + +Found GIFs + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|next\_offset|[int](../types/int.md) | Yes|Next offset to use when trying to [load more results](../methods/messages.searchGifs.md)| +|results|Array of [FoundGif](../types/FoundGif.md) | Yes|Results| + + + +### Type: [messages.FoundGifs](../types/messages.FoundGifs.md) + + +### Example: + +```php +$messages.foundGifs = ['_' => 'messages.foundGifs', 'next_offset' => int, 'results' => [FoundGif, FoundGif]]; +``` + + +Or, if you're into Lua: + +```lua +messages.foundGifs={_='messages.foundGifs', next_offset=int, results={FoundGif}} + +``` + + diff --git a/docs/API_docs/constructors/messages.foundStickerSets.md b/docs/API_docs/constructors/messages.foundStickerSets.md new file mode 100644 index 00000000..efc5201e --- /dev/null +++ b/docs/API_docs/constructors/messages.foundStickerSets.md @@ -0,0 +1,39 @@ +--- +title: messages.foundStickerSets +description: Found stickersets +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.foundStickerSets +[Back to constructors index](index.md) + + + +Found stickersets + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| + + + +### Type: [messages.FoundStickerSets](../types/messages.FoundStickerSets.md) + + +### Example: + +```php +$messages.foundStickerSets = ['_' => 'messages.foundStickerSets', 'hash' => int, 'sets' => [StickerSetCovered, StickerSetCovered]]; +``` + + +Or, if you're into Lua: + +```lua +messages.foundStickerSets={_='messages.foundStickerSets', hash=int, sets={StickerSetCovered}} + +``` + + diff --git a/docs/API_docs/constructors/messages.foundStickerSetsNotModified.md b/docs/API_docs/constructors/messages.foundStickerSetsNotModified.md new file mode 100644 index 00000000..2902501a --- /dev/null +++ b/docs/API_docs/constructors/messages.foundStickerSetsNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.foundStickerSetsNotModified +description: No further results were found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.foundStickerSetsNotModified +[Back to constructors index](index.md) + + + +No further results were found + + + + +### Type: [messages.FoundStickerSets](../types/messages.FoundStickerSets.md) + + +### Example: + +```php +$messages.foundStickerSetsNotModified = ['_' => 'messages.foundStickerSetsNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.foundStickerSetsNotModified={_='messages.foundStickerSetsNotModified'} + +``` + + diff --git a/docs/API_docs/constructors/messages.highScores.md b/docs/API_docs/constructors/messages.highScores.md new file mode 100644 index 00000000..d7d25826 --- /dev/null +++ b/docs/API_docs/constructors/messages.highScores.md @@ -0,0 +1,39 @@ +--- +title: messages.highScores +description: Highscores in a game +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.highScores +[Back to constructors index](index.md) + + + +Highscores in a game + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|scores|Array of [HighScore](../types/HighScore.md) | Yes|Scores| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.HighScores](../types/messages.HighScores.md) + + +### Example: + +```php +$messages.highScores = ['_' => 'messages.highScores', 'scores' => [HighScore, HighScore], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.highScores={_='messages.highScores', scores={HighScore}, users={User}} + +``` + + diff --git a/docs/API_docs/constructors/messages.messageEditData.md b/docs/API_docs/constructors/messages.messageEditData.md new file mode 100644 index 00000000..578b53d9 --- /dev/null +++ b/docs/API_docs/constructors/messages.messageEditData.md @@ -0,0 +1,38 @@ +--- +title: messages.messageEditData +description: Message edit data for media +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.messageEditData +[Back to constructors index](index.md) + + + +Message edit data for media + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|caption|[Bool](../types/Bool.md) | Optional|Media caption, if the specified media's caption can be edited| + + + +### Type: [messages.MessageEditData](../types/messages.MessageEditData.md) + + +### Example: + +```php +$messages.messageEditData = ['_' => 'messages.messageEditData', 'caption' => Bool]; +``` + + +Or, if you're into Lua: + +```lua +messages.messageEditData={_='messages.messageEditData', caption=Bool} + +``` + + diff --git a/docs/API_docs/constructors/messages.messages.md b/docs/API_docs/constructors/messages.messages.md new file mode 100644 index 00000000..3af71dca --- /dev/null +++ b/docs/API_docs/constructors/messages.messages.md @@ -0,0 +1,40 @@ +--- +title: messages.messages +description: Full list of messages with auxilary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.messages +[Back to constructors index](index.md) + + + +Full list of messages with auxilary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Messages](../types/messages.Messages.md) + + +### Example: + +```php +$messages.messages = ['_' => 'messages.messages', 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.messages={_='messages.messages', messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/docs/API_docs/constructors/messages.messagesNotModified.md b/docs/API_docs/constructors/messages.messagesNotModified.md new file mode 100644 index 00000000..c4cb60ed --- /dev/null +++ b/docs/API_docs/constructors/messages.messagesNotModified.md @@ -0,0 +1,38 @@ +--- +title: messages.messagesNotModified +description: No new messages matching the query were found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.messagesNotModified +[Back to constructors index](index.md) + + + +No new messages matching the query were found + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Number of results found server-side by the given query| + + + +### Type: [messages.Messages](../types/messages.Messages.md) + + +### Example: + +```php +$messages.messagesNotModified = ['_' => 'messages.messagesNotModified', 'count' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.messagesNotModified={_='messages.messagesNotModified', count=int} + +``` + + diff --git a/docs/API_docs/constructors/messages.messagesSlice.md b/docs/API_docs/constructors/messages.messagesSlice.md new file mode 100644 index 00000000..ed85347c --- /dev/null +++ b/docs/API_docs/constructors/messages.messagesSlice.md @@ -0,0 +1,43 @@ +--- +title: messages.messagesSlice +description: Incomplete list of messages and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.messagesSlice +[Back to constructors index](index.md) + + + +Incomplete list of messages and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|inexact|[Bool](../types/Bool.md) | Optional|If set, indicates that the results may be inexact| +|count|[int](../types/int.md) | Yes|Total number of messages in the list| +|next\_rate|[int](../types/int.md) | Optional|Rate to use in the `offset_rate` parameter in the next call to [messages.searchGlobal](../methods/messages.searchGlobal.md)| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Messages](../types/messages.Messages.md) + + +### Example: + +```php +$messages.messagesSlice = ['_' => 'messages.messagesSlice', 'inexact' => Bool, 'count' => int, 'next_rate' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.messagesSlice={_='messages.messagesSlice', inexact=Bool, count=int, next_rate=int, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/docs/API_docs/constructors/messages.peerDialogs.md b/docs/API_docs/constructors/messages.peerDialogs.md new file mode 100644 index 00000000..39cb71f8 --- /dev/null +++ b/docs/API_docs/constructors/messages.peerDialogs.md @@ -0,0 +1,42 @@ +--- +title: messages.peerDialogs +description: Dialog info of multiple peers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.peerDialogs +[Back to constructors index](index.md) + + + +Dialog info of multiple peers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| +|state|[updates.State](../constructors/updates.State.md) | Yes|Current [update state of dialog](https://core.telegram.org/api/updates)| + + + +### Type: [messages.PeerDialogs](../types/messages.PeerDialogs.md) + + +### Example: + +```php +$messages.peerDialogs = ['_' => 'messages.peerDialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates.State]; +``` + + +Or, if you're into Lua: + +```lua +messages.peerDialogs={_='messages.peerDialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}, state=updates.State} + +``` + + diff --git a/docs/API_docs/constructors/messages.recentStickers.md b/docs/API_docs/constructors/messages.recentStickers.md new file mode 100644 index 00000000..33e6c1ad --- /dev/null +++ b/docs/API_docs/constructors/messages.recentStickers.md @@ -0,0 +1,41 @@ +--- +title: messages.recentStickers +description: Recently used stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.recentStickers +[Back to constructors index](index.md) + + + +Recently used stickers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|packs|Array of [StickerPack](../types/StickerPack.md) | Yes|Packs| +|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| +|dates|Array of [int](../types/int.md) | Yes|Dates| + + + +### Type: [messages.RecentStickers](../types/messages.RecentStickers.md) + + +### Example: + +```php +$messages.recentStickers = ['_' => 'messages.recentStickers', 'hash' => int, 'packs' => [StickerPack, StickerPack], 'stickers' => [Document, Document], 'dates' => [int, int]]; +``` + + +Or, if you're into Lua: + +```lua +messages.recentStickers={_='messages.recentStickers', hash=int, packs={StickerPack}, stickers={Document}, dates={int}} + +``` + + diff --git a/docs/API_docs/constructors/messages.recentStickersNotModified.md b/docs/API_docs/constructors/messages.recentStickersNotModified.md new file mode 100644 index 00000000..1c3bbf5c --- /dev/null +++ b/docs/API_docs/constructors/messages.recentStickersNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.recentStickersNotModified +description: No new recent sticker was found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.recentStickersNotModified +[Back to constructors index](index.md) + + + +No new recent sticker was found + + + + +### Type: [messages.RecentStickers](../types/messages.RecentStickers.md) + + +### Example: + +```php +$messages.recentStickersNotModified = ['_' => 'messages.recentStickersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.recentStickersNotModified={_='messages.recentStickersNotModified'} + +``` + + diff --git a/docs/API_docs/constructors/messages.savedGifs.md b/docs/API_docs/constructors/messages.savedGifs.md new file mode 100644 index 00000000..c82929a3 --- /dev/null +++ b/docs/API_docs/constructors/messages.savedGifs.md @@ -0,0 +1,39 @@ +--- +title: messages.savedGifs +description: Saved gifs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.savedGifs +[Back to constructors index](index.md) + + + +Saved gifs + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|gifs|Array of [Document](../types/Document.md) | Yes|Gifs| + + + +### Type: [messages.SavedGifs](../types/messages.SavedGifs.md) + + +### Example: + +```php +$messages.savedGifs = ['_' => 'messages.savedGifs', 'hash' => int, 'gifs' => [Document, Document]]; +``` + + +Or, if you're into Lua: + +```lua +messages.savedGifs={_='messages.savedGifs', hash=int, gifs={Document}} + +``` + + diff --git a/docs/API_docs/constructors/messages.savedGifsNotModified.md b/docs/API_docs/constructors/messages.savedGifsNotModified.md new file mode 100644 index 00000000..0fbccacc --- /dev/null +++ b/docs/API_docs/constructors/messages.savedGifsNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.savedGifsNotModified +description: No new saved gifs were found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.savedGifsNotModified +[Back to constructors index](index.md) + + + +No new saved gifs were found + + + + +### Type: [messages.SavedGifs](../types/messages.SavedGifs.md) + + +### Example: + +```php +$messages.savedGifsNotModified = ['_' => 'messages.savedGifsNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.savedGifsNotModified={_='messages.savedGifsNotModified'} + +``` + + diff --git a/docs/API_docs/constructors/messages.searchCounter.md b/docs/API_docs/constructors/messages.searchCounter.md new file mode 100644 index 00000000..601edd6c --- /dev/null +++ b/docs/API_docs/constructors/messages.searchCounter.md @@ -0,0 +1,40 @@ +--- +title: messages.searchCounter +description: Indicates how many results would be found by a [messages.search](../methods/messages.search.md) call with the same parameters +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.searchCounter +[Back to constructors index](index.md) + + + +Indicates how many results would be found by a [messages.search](../methods/messages.search.md) call with the same parameters + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|inexact|[Bool](../types/Bool.md) | Optional|If set, the results may be inexact| +|filter|[MessagesFilter](../types/MessagesFilter.md) | Yes|Provided message filter| +|count|[int](../types/int.md) | Yes|Number of results that were found server-side| + + + +### Type: [messages.SearchCounter](../types/messages.SearchCounter.md) + + +### Example: + +```php +$messages.searchCounter = ['_' => 'messages.searchCounter', 'inexact' => Bool, 'filter' => MessagesFilter, 'count' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.searchCounter={_='messages.searchCounter', inexact=Bool, filter=MessagesFilter, count=int} + +``` + + diff --git a/docs/API_docs/constructors/messages.sentEncryptedFile.md b/docs/API_docs/constructors/messages.sentEncryptedFile.md new file mode 100644 index 00000000..1f0e43c6 --- /dev/null +++ b/docs/API_docs/constructors/messages.sentEncryptedFile.md @@ -0,0 +1,39 @@ +--- +title: messages.sentEncryptedFile +description: Message with a file enclosure sent to a protected chat +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.sentEncryptedFile +[Back to constructors index](index.md) + + + +Message with a file enclosure sent to a protected chat + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Sending date| +|file|[EncryptedFile](../types/EncryptedFile.md) | Optional|Attached file| + + + +### Type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) + + +### Example: + +```php +$messages.sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile]; +``` + + +Or, if you're into Lua: + +```lua +messages.sentEncryptedFile={_='messages.sentEncryptedFile', date=int, file=EncryptedFile} + +``` + + diff --git a/docs/API_docs/constructors/messages.sentEncryptedMessage.md b/docs/API_docs/constructors/messages.sentEncryptedMessage.md new file mode 100644 index 00000000..3d5eb40c --- /dev/null +++ b/docs/API_docs/constructors/messages.sentEncryptedMessage.md @@ -0,0 +1,38 @@ +--- +title: messages.sentEncryptedMessage +description: Message without file attachemts sent to an encrypted file. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.sentEncryptedMessage +[Back to constructors index](index.md) + + + +Message without file attachemts sent to an encrypted file. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Date of sending| + + + +### Type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) + + +### Example: + +```php +$messages.sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.sentEncryptedMessage={_='messages.sentEncryptedMessage', date=int} + +``` + + diff --git a/docs/API_docs/constructors/messages.stickerSet.md b/docs/API_docs/constructors/messages.stickerSet.md new file mode 100644 index 00000000..fbc154d0 --- /dev/null +++ b/docs/API_docs/constructors/messages.stickerSet.md @@ -0,0 +1,40 @@ +--- +title: messages.stickerSet +description: Stickerset and stickers inside it +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickerSet +[Back to constructors index](index.md) + + + +Stickerset and stickers inside it + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|set|[StickerSet](../types/StickerSet.md) | Yes|The stickerset| +|packs|Array of [StickerPack](../types/StickerPack.md) | Yes|Packs| +|documents|Array of [Document](../types/Document.md) | Yes|Documents| + + + +### Type: [messages.StickerSet](../types/messages.StickerSet.md) + + +### Example: + +```php +$messages.stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'packs' => [StickerPack, StickerPack], 'documents' => [Document, Document]]; +``` + + +Or, if you're into Lua: + +```lua +messages.stickerSet={_='messages.stickerSet', set=StickerSet, packs={StickerPack}, documents={Document}} + +``` + + diff --git a/docs/API_docs/constructors/messages.stickerSetInstallResultArchive.md b/docs/API_docs/constructors/messages.stickerSetInstallResultArchive.md new file mode 100644 index 00000000..fefe2270 --- /dev/null +++ b/docs/API_docs/constructors/messages.stickerSetInstallResultArchive.md @@ -0,0 +1,38 @@ +--- +title: messages.stickerSetInstallResultArchive +description: The stickerset was installed, but since there are too many stickersets some were archived +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickerSetInstallResultArchive +[Back to constructors index](index.md) + + + +The stickerset was installed, but since there are too many stickersets some were archived + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| + + + +### Type: [messages.StickerSetInstallResult](../types/messages.StickerSetInstallResult.md) + + +### Example: + +```php +$messages.stickerSetInstallResultArchive = ['_' => 'messages.stickerSetInstallResultArchive', 'sets' => [StickerSetCovered, StickerSetCovered]]; +``` + + +Or, if you're into Lua: + +```lua +messages.stickerSetInstallResultArchive={_='messages.stickerSetInstallResultArchive', sets={StickerSetCovered}} + +``` + + diff --git a/docs/API_docs/constructors/messages.stickerSetInstallResultSuccess.md b/docs/API_docs/constructors/messages.stickerSetInstallResultSuccess.md new file mode 100644 index 00000000..bbe8b961 --- /dev/null +++ b/docs/API_docs/constructors/messages.stickerSetInstallResultSuccess.md @@ -0,0 +1,33 @@ +--- +title: messages.stickerSetInstallResultSuccess +description: The stickerset was installed successfully +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickerSetInstallResultSuccess +[Back to constructors index](index.md) + + + +The stickerset was installed successfully + + + + +### Type: [messages.StickerSetInstallResult](../types/messages.StickerSetInstallResult.md) + + +### Example: + +```php +$messages.stickerSetInstallResultSuccess = ['_' => 'messages.stickerSetInstallResultSuccess']; +``` + + +Or, if you're into Lua: + +```lua +messages.stickerSetInstallResultSuccess={_='messages.stickerSetInstallResultSuccess'} + +``` + + diff --git a/docs/API_docs/constructors/messages.stickers.md b/docs/API_docs/constructors/messages.stickers.md new file mode 100644 index 00000000..49ffea6a --- /dev/null +++ b/docs/API_docs/constructors/messages.stickers.md @@ -0,0 +1,39 @@ +--- +title: messages.stickers +description: Found stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickers +[Back to constructors index](index.md) + + + +Found stickers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| + + + +### Type: [messages.Stickers](../types/messages.Stickers.md) + + +### Example: + +```php +$messages.stickers = ['_' => 'messages.stickers', 'hash' => int, 'stickers' => [Document, Document]]; +``` + + +Or, if you're into Lua: + +```lua +messages.stickers={_='messages.stickers', hash=int, stickers={Document}} + +``` + + diff --git a/docs/API_docs/constructors/messages.stickersNotModified.md b/docs/API_docs/constructors/messages.stickersNotModified.md new file mode 100644 index 00000000..e8c7766c --- /dev/null +++ b/docs/API_docs/constructors/messages.stickersNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.stickersNotModified +description: No new stickers were found for the given query +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickersNotModified +[Back to constructors index](index.md) + + + +No new stickers were found for the given query + + + + +### Type: [messages.Stickers](../types/messages.Stickers.md) + + +### Example: + +```php +$messages.stickersNotModified = ['_' => 'messages.stickersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.stickersNotModified={_='messages.stickersNotModified'} + +``` + + diff --git a/docs/API_docs/constructors/messages_affectedHistory.md b/docs/API_docs/constructors/messages_affectedHistory.md deleted file mode 100644 index 449a7e3f..00000000 --- a/docs/API_docs/constructors/messages_affectedHistory.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.affectedHistory -description: Affected part of communication history with the user or in a chat. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.affectedHistory -[Back to constructors index](index.md) - - - -Affected part of communication history with the user or in a chat. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| -|pts\_count|[int](../types/int.md) | Yes|Number of affected events| -|offset|[int](../types/int.md) | Yes|If a parameter contains positive value, it is necessary to repeat the method call using the given value; during the proceeding of all the history the value itself shall gradually decrease| - - - -### Type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) - - -### Example: - -```php -$messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_affectedHistory={_='messages.affectedHistory', pts=int, pts_count=int, offset=int} - -``` - - diff --git a/docs/API_docs/constructors/messages_affectedMessages.md b/docs/API_docs/constructors/messages_affectedMessages.md deleted file mode 100644 index 86760581..00000000 --- a/docs/API_docs/constructors/messages_affectedMessages.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.affectedMessages -description: Events affected by operation -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.affectedMessages -[Back to constructors index](index.md) - - - -Events affected by operation - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|[Event count after generation](https://core.telegram.org/api/updates)| -|pts\_count|[int](../types/int.md) | Yes|[Number of events that were generated](https://core.telegram.org/api/updates)| - - - -### Type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) - - -### Example: - -```php -$messages_affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_affectedMessages={_='messages.affectedMessages', pts=int, pts_count=int} - -``` - - diff --git a/docs/API_docs/constructors/messages_allStickers.md b/docs/API_docs/constructors/messages_allStickers.md deleted file mode 100644 index 2e64f46e..00000000 --- a/docs/API_docs/constructors/messages_allStickers.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.allStickers -description: Info about all installed stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.allStickers -[Back to constructors index](index.md) - - - -Info about all installed stickers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|sets|Array of [StickerSet](../types/StickerSet.md) | Yes|Sets| - - - -### Type: [messages\_AllStickers](../types/messages_AllStickers.md) - - -### Example: - -```php -$messages_allStickers = ['_' => 'messages.allStickers', 'hash' => int, 'sets' => [StickerSet, StickerSet]]; -``` - - -Or, if you're into Lua: - -```lua -messages_allStickers={_='messages.allStickers', hash=int, sets={StickerSet}} - -``` - - diff --git a/docs/API_docs/constructors/messages_allStickersNotModified.md b/docs/API_docs/constructors/messages_allStickersNotModified.md deleted file mode 100644 index c4da85ab..00000000 --- a/docs/API_docs/constructors/messages_allStickersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.allStickersNotModified -description: Info about all installed stickers hasn't changed -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.allStickersNotModified -[Back to constructors index](index.md) - - - -Info about all installed stickers hasn't changed - - - - -### Type: [messages\_AllStickers](../types/messages_AllStickers.md) - - -### Example: - -```php -$messages_allStickersNotModified = ['_' => 'messages.allStickersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_allStickersNotModified={_='messages.allStickersNotModified'} - -``` - - diff --git a/docs/API_docs/constructors/messages_archivedStickers.md b/docs/API_docs/constructors/messages_archivedStickers.md deleted file mode 100644 index 6b28c885..00000000 --- a/docs/API_docs/constructors/messages_archivedStickers.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.archivedStickers -description: Archived stickersets -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.archivedStickers -[Back to constructors index](index.md) - - - -Archived stickersets - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Number of archived stickers| -|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| - - - -### Type: [messages\_ArchivedStickers](../types/messages_ArchivedStickers.md) - - -### Example: - -```php -$messages_archivedStickers = ['_' => 'messages.archivedStickers', 'count' => int, 'sets' => [StickerSetCovered, StickerSetCovered]]; -``` - - -Or, if you're into Lua: - -```lua -messages_archivedStickers={_='messages.archivedStickers', count=int, sets={StickerSetCovered}} - -``` - - diff --git a/docs/API_docs/constructors/messages_botCallbackAnswer.md b/docs/API_docs/constructors/messages_botCallbackAnswer.md deleted file mode 100644 index e56f4b56..00000000 --- a/docs/API_docs/constructors/messages_botCallbackAnswer.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: messages.botCallbackAnswer -description: Callback answer sent by the bot in response to a button press -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.botCallbackAnswer -[Back to constructors index](index.md) - - - -Callback answer sent by the bot in response to a button press - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|alert|[Bool](../types/Bool.md) | Optional|Whether an alert should be shown to the user instead of a toast notification| -|has\_url|[Bool](../types/Bool.md) | Optional|Whether an URL is present| -|native\_ui|[Bool](../types/Bool.md) | Optional|Whether to show games in WebView or in native UI.| -|message|[string](../types/string.md) | Optional|Alert to show| -|url|[string](../types/string.md) | Optional|URL to open| -|cache\_time|[int](../types/int.md) | Yes|For how long should this answer be cached| - - - -### Type: [messages\_BotCallbackAnswer](../types/messages_BotCallbackAnswer.md) - - -### Example: - -```php -$messages_botCallbackAnswer = ['_' => 'messages.botCallbackAnswer', 'alert' => Bool, 'has_url' => Bool, 'native_ui' => Bool, 'message' => 'string', 'url' => 'string', 'cache_time' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_botCallbackAnswer={_='messages.botCallbackAnswer', alert=Bool, has_url=Bool, native_ui=Bool, message='string', url='string', cache_time=int} - -``` - - diff --git a/docs/API_docs/constructors/messages_botResults.md b/docs/API_docs/constructors/messages_botResults.md deleted file mode 100644 index 19b9edf6..00000000 --- a/docs/API_docs/constructors/messages_botResults.md +++ /dev/null @@ -1,44 +0,0 @@ ---- -title: messages.botResults -description: Result of a query to an inline bot -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.botResults -[Back to constructors index](index.md) - - - -Result of a query to an inline bot - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|gallery|[Bool](../types/Bool.md) | Optional|Whether the result is a picture gallery| -|query\_id|[long](../types/long.md) | Yes|Query ID| -|next\_offset|[string](../types/string.md) | Optional|The next offset to use when navigating through results| -|switch\_pm|[InlineBotSwitchPM](../types/InlineBotSwitchPM.md) | Optional|Whether the bot requested the user to message him in private| -|results|Array of [BotInlineResult](../types/BotInlineResult.md) | Yes|Results| -|cache\_time|[int](../types/int.md) | Yes|Caching validity of the results| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_BotResults](../types/messages_BotResults.md) - - -### Example: - -```php -$messages_botResults = ['_' => 'messages.botResults', 'gallery' => Bool, 'query_id' => long, 'next_offset' => 'string', 'switch_pm' => InlineBotSwitchPM, 'results' => [BotInlineResult, BotInlineResult], 'cache_time' => int, 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_botResults={_='messages.botResults', gallery=Bool, query_id=long, next_offset='string', switch_pm=InlineBotSwitchPM, results={BotInlineResult}, cache_time=int, users={User}} - -``` - - diff --git a/docs/API_docs/constructors/messages_channelMessages.md b/docs/API_docs/constructors/messages_channelMessages.md deleted file mode 100644 index 4cf24743..00000000 --- a/docs/API_docs/constructors/messages_channelMessages.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: messages.channelMessages -description: Channel messages -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.channelMessages -[Back to constructors index](index.md) - - - -Channel messages - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|inexact|[Bool](../types/Bool.md) | Optional|If set, returned results may be inexact| -|pts|[int](../types/int.md) | Yes|[Event count after generation](https://core.telegram.org/api/updates)| -|count|[int](../types/int.md) | Yes|Total number of results were found server-side (may not be all included here)| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Messages](../types/messages_Messages.md) - - -### Example: - -```php -$messages_channelMessages = ['_' => 'messages.channelMessages', 'inexact' => Bool, 'pts' => int, 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_channelMessages={_='messages.channelMessages', inexact=Bool, pts=int, count=int, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/docs/API_docs/constructors/messages_chatFull.md b/docs/API_docs/constructors/messages_chatFull.md deleted file mode 100644 index 02f1acdf..00000000 --- a/docs/API_docs/constructors/messages_chatFull.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.chatFull -description: Extended info on chat and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.chatFull -[Back to constructors index](index.md) - - - -Extended info on chat and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|full\_chat|[ChatFull](../types/ChatFull.md) | Yes|Extended info on a chat| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_ChatFull](../types/messages_ChatFull.md) - - -### Example: - -```php -$messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_chatFull={_='messages.chatFull', full_chat=ChatFull, chats={Chat}, users={User}} - -``` - - diff --git a/docs/API_docs/constructors/messages_chats.md b/docs/API_docs/constructors/messages_chats.md deleted file mode 100644 index ef3690a9..00000000 --- a/docs/API_docs/constructors/messages_chats.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.chats -description: List of chats with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.chats -[Back to constructors index](index.md) - - - -List of chats with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| - - - -### Type: [messages\_Chats](../types/messages_Chats.md) - - -### Example: - -```php -$messages_chats = ['_' => 'messages.chats', 'chats' => [Chat, Chat]]; -``` - - -Or, if you're into Lua: - -```lua -messages_chats={_='messages.chats', chats={Chat}} - -``` - - diff --git a/docs/API_docs/constructors/messages_chatsSlice.md b/docs/API_docs/constructors/messages_chatsSlice.md deleted file mode 100644 index f19c4357..00000000 --- a/docs/API_docs/constructors/messages_chatsSlice.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.chatsSlice -description: Partial list of chats, more would have to be fetched with [pagination](https://core.telegram.org/api/offsets) -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.chatsSlice -[Back to constructors index](index.md) - - - -Partial list of chats, more would have to be fetched with [pagination](https://core.telegram.org/api/offsets) - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of results that were found server-side (not all are included in `chats`)| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| - - - -### Type: [messages\_Chats](../types/messages_Chats.md) - - -### Example: - -```php -$messages_chatsSlice = ['_' => 'messages.chatsSlice', 'count' => int, 'chats' => [Chat, Chat]]; -``` - - -Or, if you're into Lua: - -```lua -messages_chatsSlice={_='messages.chatsSlice', count=int, chats={Chat}} - -``` - - diff --git a/docs/API_docs/constructors/messages_dhConfig.md b/docs/API_docs/constructors/messages_dhConfig.md deleted file mode 100644 index 42c2feb1..00000000 --- a/docs/API_docs/constructors/messages_dhConfig.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: messages.dhConfig -description: New set of configuring parameters. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dhConfig -[Back to constructors index](index.md) - - - -New set of configuring parameters. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|g|[int](../types/int.md) | Yes|New value **prime**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| -|p|[bytes](../types/bytes.md) | Yes|New value **primitive root**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| -|version|[int](../types/int.md) | Yes|Vestion of set of parameters| -|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| - - - -### Type: [messages\_DhConfig](../types/messages_DhConfig.md) - - -### Example: - -```php -$messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'version' => int, 'random' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -messages_dhConfig={_='messages.dhConfig', g=int, p='bytes', version=int, random='bytes'} - -``` - - diff --git a/docs/API_docs/constructors/messages_dhConfigNotModified.md b/docs/API_docs/constructors/messages_dhConfigNotModified.md deleted file mode 100644 index 5bf64230..00000000 --- a/docs/API_docs/constructors/messages_dhConfigNotModified.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.dhConfigNotModified -description: Configuring parameters did not change. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dhConfigNotModified -[Back to constructors index](index.md) - - - -Configuring parameters did not change. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| - - - -### Type: [messages\_DhConfig](../types/messages_DhConfig.md) - - -### Example: - -```php -$messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -messages_dhConfigNotModified={_='messages.dhConfigNotModified', random='bytes'} - -``` - - diff --git a/docs/API_docs/constructors/messages_dialogs.md b/docs/API_docs/constructors/messages_dialogs.md deleted file mode 100644 index e6a431b4..00000000 --- a/docs/API_docs/constructors/messages_dialogs.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: messages.dialogs -description: Full list of chats with messages and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dialogs -[Back to constructors index](index.md) - - - -Full list of chats with messages and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Dialogs](../types/messages_Dialogs.md) - - -### Example: - -```php -$messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_dialogs={_='messages.dialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/docs/API_docs/constructors/messages_dialogsNotModified.md b/docs/API_docs/constructors/messages_dialogsNotModified.md deleted file mode 100644 index 16a32b2e..00000000 --- a/docs/API_docs/constructors/messages_dialogsNotModified.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.dialogsNotModified -description: Dialogs haven't changed -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dialogsNotModified -[Back to constructors index](index.md) - - - -Dialogs haven't changed - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Number of dialogs found server-side by the query| - - - -### Type: [messages\_Dialogs](../types/messages_Dialogs.md) - - -### Example: - -```php -$messages_dialogsNotModified = ['_' => 'messages.dialogsNotModified', 'count' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_dialogsNotModified={_='messages.dialogsNotModified', count=int} - -``` - - diff --git a/docs/API_docs/constructors/messages_dialogsSlice.md b/docs/API_docs/constructors/messages_dialogsSlice.md deleted file mode 100644 index f183b9a8..00000000 --- a/docs/API_docs/constructors/messages_dialogsSlice.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: messages.dialogsSlice -description: Incomplete list of dialogs with messages and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dialogsSlice -[Back to constructors index](index.md) - - - -Incomplete list of dialogs with messages and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of dialogs| -|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Dialogs](../types/messages_Dialogs.md) - - -### Example: - -```php -$messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_dialogsSlice={_='messages.dialogsSlice', count=int, dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/docs/API_docs/constructors/messages_favedStickers.md b/docs/API_docs/constructors/messages_favedStickers.md deleted file mode 100644 index 72d79df2..00000000 --- a/docs/API_docs/constructors/messages_favedStickers.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.favedStickers -description: Favorited stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.favedStickers -[Back to constructors index](index.md) - - - -Favorited stickers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|packs|Array of [StickerPack](../types/StickerPack.md) | Yes|Packs| -|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| - - - -### Type: [messages\_FavedStickers](../types/messages_FavedStickers.md) - - -### Example: - -```php -$messages_favedStickers = ['_' => 'messages.favedStickers', 'hash' => int, 'packs' => [StickerPack, StickerPack], 'stickers' => [Document, Document]]; -``` - - -Or, if you're into Lua: - -```lua -messages_favedStickers={_='messages.favedStickers', hash=int, packs={StickerPack}, stickers={Document}} - -``` - - diff --git a/docs/API_docs/constructors/messages_favedStickersNotModified.md b/docs/API_docs/constructors/messages_favedStickersNotModified.md deleted file mode 100644 index a47c08e8..00000000 --- a/docs/API_docs/constructors/messages_favedStickersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.favedStickersNotModified -description: No new favorited stickers were found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.favedStickersNotModified -[Back to constructors index](index.md) - - - -No new favorited stickers were found - - - - -### Type: [messages\_FavedStickers](../types/messages_FavedStickers.md) - - -### Example: - -```php -$messages_favedStickersNotModified = ['_' => 'messages.favedStickersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_favedStickersNotModified={_='messages.favedStickersNotModified'} - -``` - - diff --git a/docs/API_docs/constructors/messages_featuredStickers.md b/docs/API_docs/constructors/messages_featuredStickers.md deleted file mode 100644 index 8ef1046e..00000000 --- a/docs/API_docs/constructors/messages_featuredStickers.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.featuredStickers -description: Featured stickersets -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.featuredStickers -[Back to constructors index](index.md) - - - -Featured stickersets - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| -|unread|Array of [long](../types/long.md) | Yes|Unread| - - - -### Type: [messages\_FeaturedStickers](../types/messages_FeaturedStickers.md) - - -### Example: - -```php -$messages_featuredStickers = ['_' => 'messages.featuredStickers', 'hash' => int, 'sets' => [StickerSetCovered, StickerSetCovered], 'unread' => [long, long]]; -``` - - -Or, if you're into Lua: - -```lua -messages_featuredStickers={_='messages.featuredStickers', hash=int, sets={StickerSetCovered}, unread={long}} - -``` - - diff --git a/docs/API_docs/constructors/messages_featuredStickersNotModified.md b/docs/API_docs/constructors/messages_featuredStickersNotModified.md deleted file mode 100644 index de01131b..00000000 --- a/docs/API_docs/constructors/messages_featuredStickersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.featuredStickersNotModified -description: Featured stickers haven't changed -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.featuredStickersNotModified -[Back to constructors index](index.md) - - - -Featured stickers haven't changed - - - - -### Type: [messages\_FeaturedStickers](../types/messages_FeaturedStickers.md) - - -### Example: - -```php -$messages_featuredStickersNotModified = ['_' => 'messages.featuredStickersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_featuredStickersNotModified={_='messages.featuredStickersNotModified'} - -``` - - diff --git a/docs/API_docs/constructors/messages_foundGifs.md b/docs/API_docs/constructors/messages_foundGifs.md deleted file mode 100644 index eb3603ca..00000000 --- a/docs/API_docs/constructors/messages_foundGifs.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.foundGifs -description: Found GIFs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.foundGifs -[Back to constructors index](index.md) - - - -Found GIFs - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|next\_offset|[int](../types/int.md) | Yes|Next offset to use when trying to [load more results](../methods/messages.searchGifs.md)| -|results|Array of [FoundGif](../types/FoundGif.md) | Yes|Results| - - - -### Type: [messages\_FoundGifs](../types/messages_FoundGifs.md) - - -### Example: - -```php -$messages_foundGifs = ['_' => 'messages.foundGifs', 'next_offset' => int, 'results' => [FoundGif, FoundGif]]; -``` - - -Or, if you're into Lua: - -```lua -messages_foundGifs={_='messages.foundGifs', next_offset=int, results={FoundGif}} - -``` - - diff --git a/docs/API_docs/constructors/messages_foundStickerSets.md b/docs/API_docs/constructors/messages_foundStickerSets.md deleted file mode 100644 index 356177e1..00000000 --- a/docs/API_docs/constructors/messages_foundStickerSets.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.foundStickerSets -description: Found stickersets -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.foundStickerSets -[Back to constructors index](index.md) - - - -Found stickersets - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| - - - -### Type: [messages\_FoundStickerSets](../types/messages_FoundStickerSets.md) - - -### Example: - -```php -$messages_foundStickerSets = ['_' => 'messages.foundStickerSets', 'hash' => int, 'sets' => [StickerSetCovered, StickerSetCovered]]; -``` - - -Or, if you're into Lua: - -```lua -messages_foundStickerSets={_='messages.foundStickerSets', hash=int, sets={StickerSetCovered}} - -``` - - diff --git a/docs/API_docs/constructors/messages_foundStickerSetsNotModified.md b/docs/API_docs/constructors/messages_foundStickerSetsNotModified.md deleted file mode 100644 index c1f39490..00000000 --- a/docs/API_docs/constructors/messages_foundStickerSetsNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.foundStickerSetsNotModified -description: No further results were found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.foundStickerSetsNotModified -[Back to constructors index](index.md) - - - -No further results were found - - - - -### Type: [messages\_FoundStickerSets](../types/messages_FoundStickerSets.md) - - -### Example: - -```php -$messages_foundStickerSetsNotModified = ['_' => 'messages.foundStickerSetsNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_foundStickerSetsNotModified={_='messages.foundStickerSetsNotModified'} - -``` - - diff --git a/docs/API_docs/constructors/messages_highScores.md b/docs/API_docs/constructors/messages_highScores.md deleted file mode 100644 index d6fc5210..00000000 --- a/docs/API_docs/constructors/messages_highScores.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.highScores -description: Highscores in a game -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.highScores -[Back to constructors index](index.md) - - - -Highscores in a game - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|scores|Array of [HighScore](../types/HighScore.md) | Yes|Scores| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_HighScores](../types/messages_HighScores.md) - - -### Example: - -```php -$messages_highScores = ['_' => 'messages.highScores', 'scores' => [HighScore, HighScore], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_highScores={_='messages.highScores', scores={HighScore}, users={User}} - -``` - - diff --git a/docs/API_docs/constructors/messages_messageEditData.md b/docs/API_docs/constructors/messages_messageEditData.md deleted file mode 100644 index 76aefca5..00000000 --- a/docs/API_docs/constructors/messages_messageEditData.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.messageEditData -description: Message edit data for media -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.messageEditData -[Back to constructors index](index.md) - - - -Message edit data for media - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|caption|[Bool](../types/Bool.md) | Optional|Media caption, if the specified media's caption can be edited| - - - -### Type: [messages\_MessageEditData](../types/messages_MessageEditData.md) - - -### Example: - -```php -$messages_messageEditData = ['_' => 'messages.messageEditData', 'caption' => Bool]; -``` - - -Or, if you're into Lua: - -```lua -messages_messageEditData={_='messages.messageEditData', caption=Bool} - -``` - - diff --git a/docs/API_docs/constructors/messages_messages.md b/docs/API_docs/constructors/messages_messages.md deleted file mode 100644 index 3e369e1a..00000000 --- a/docs/API_docs/constructors/messages_messages.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.messages -description: Full list of messages with auxilary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.messages -[Back to constructors index](index.md) - - - -Full list of messages with auxilary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Messages](../types/messages_Messages.md) - - -### Example: - -```php -$messages_messages = ['_' => 'messages.messages', 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_messages={_='messages.messages', messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/docs/API_docs/constructors/messages_messagesNotModified.md b/docs/API_docs/constructors/messages_messagesNotModified.md deleted file mode 100644 index 2e9c4ad9..00000000 --- a/docs/API_docs/constructors/messages_messagesNotModified.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.messagesNotModified -description: No new messages matching the query were found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.messagesNotModified -[Back to constructors index](index.md) - - - -No new messages matching the query were found - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Number of results found server-side by the given query| - - - -### Type: [messages\_Messages](../types/messages_Messages.md) - - -### Example: - -```php -$messages_messagesNotModified = ['_' => 'messages.messagesNotModified', 'count' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_messagesNotModified={_='messages.messagesNotModified', count=int} - -``` - - diff --git a/docs/API_docs/constructors/messages_messagesSlice.md b/docs/API_docs/constructors/messages_messagesSlice.md deleted file mode 100644 index 788f301a..00000000 --- a/docs/API_docs/constructors/messages_messagesSlice.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: messages.messagesSlice -description: Incomplete list of messages and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.messagesSlice -[Back to constructors index](index.md) - - - -Incomplete list of messages and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|inexact|[Bool](../types/Bool.md) | Optional|If set, indicates that the results may be inexact| -|count|[int](../types/int.md) | Yes|Total number of messages in the list| -|next\_rate|[int](../types/int.md) | Optional|Rate to use in the `offset_rate` parameter in the next call to [messages.searchGlobal](../methods/messages.searchGlobal.md)| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Messages](../types/messages_Messages.md) - - -### Example: - -```php -$messages_messagesSlice = ['_' => 'messages.messagesSlice', 'inexact' => Bool, 'count' => int, 'next_rate' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_messagesSlice={_='messages.messagesSlice', inexact=Bool, count=int, next_rate=int, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/docs/API_docs/constructors/messages_peerDialogs.md b/docs/API_docs/constructors/messages_peerDialogs.md deleted file mode 100644 index 29b4b842..00000000 --- a/docs/API_docs/constructors/messages_peerDialogs.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: messages.peerDialogs -description: Dialog info of multiple peers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.peerDialogs -[Back to constructors index](index.md) - - - -Dialog info of multiple peers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| -|state|[updates\_State](../types/updates_State.md) | Yes|Current [update state of dialog](https://core.telegram.org/api/updates)| - - - -### Type: [messages\_PeerDialogs](../types/messages_PeerDialogs.md) - - -### Example: - -```php -$messages_peerDialogs = ['_' => 'messages.peerDialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates_State]; -``` - - -Or, if you're into Lua: - -```lua -messages_peerDialogs={_='messages.peerDialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}, state=updates_State} - -``` - - diff --git a/docs/API_docs/constructors/messages_recentStickers.md b/docs/API_docs/constructors/messages_recentStickers.md deleted file mode 100644 index 47d5cffd..00000000 --- a/docs/API_docs/constructors/messages_recentStickers.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: messages.recentStickers -description: Recently used stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.recentStickers -[Back to constructors index](index.md) - - - -Recently used stickers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|packs|Array of [StickerPack](../types/StickerPack.md) | Yes|Packs| -|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| -|dates|Array of [int](../types/int.md) | Yes|Dates| - - - -### Type: [messages\_RecentStickers](../types/messages_RecentStickers.md) - - -### Example: - -```php -$messages_recentStickers = ['_' => 'messages.recentStickers', 'hash' => int, 'packs' => [StickerPack, StickerPack], 'stickers' => [Document, Document], 'dates' => [int, int]]; -``` - - -Or, if you're into Lua: - -```lua -messages_recentStickers={_='messages.recentStickers', hash=int, packs={StickerPack}, stickers={Document}, dates={int}} - -``` - - diff --git a/docs/API_docs/constructors/messages_recentStickersNotModified.md b/docs/API_docs/constructors/messages_recentStickersNotModified.md deleted file mode 100644 index 3e81dceb..00000000 --- a/docs/API_docs/constructors/messages_recentStickersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.recentStickersNotModified -description: No new recent sticker was found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.recentStickersNotModified -[Back to constructors index](index.md) - - - -No new recent sticker was found - - - - -### Type: [messages\_RecentStickers](../types/messages_RecentStickers.md) - - -### Example: - -```php -$messages_recentStickersNotModified = ['_' => 'messages.recentStickersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_recentStickersNotModified={_='messages.recentStickersNotModified'} - -``` - - diff --git a/docs/API_docs/constructors/messages_savedGifs.md b/docs/API_docs/constructors/messages_savedGifs.md deleted file mode 100644 index ed3e8ea3..00000000 --- a/docs/API_docs/constructors/messages_savedGifs.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.savedGifs -description: Saved gifs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.savedGifs -[Back to constructors index](index.md) - - - -Saved gifs - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|gifs|Array of [Document](../types/Document.md) | Yes|Gifs| - - - -### Type: [messages\_SavedGifs](../types/messages_SavedGifs.md) - - -### Example: - -```php -$messages_savedGifs = ['_' => 'messages.savedGifs', 'hash' => int, 'gifs' => [Document, Document]]; -``` - - -Or, if you're into Lua: - -```lua -messages_savedGifs={_='messages.savedGifs', hash=int, gifs={Document}} - -``` - - diff --git a/docs/API_docs/constructors/messages_savedGifsNotModified.md b/docs/API_docs/constructors/messages_savedGifsNotModified.md deleted file mode 100644 index 0f843a0c..00000000 --- a/docs/API_docs/constructors/messages_savedGifsNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.savedGifsNotModified -description: No new saved gifs were found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.savedGifsNotModified -[Back to constructors index](index.md) - - - -No new saved gifs were found - - - - -### Type: [messages\_SavedGifs](../types/messages_SavedGifs.md) - - -### Example: - -```php -$messages_savedGifsNotModified = ['_' => 'messages.savedGifsNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_savedGifsNotModified={_='messages.savedGifsNotModified'} - -``` - - diff --git a/docs/API_docs/constructors/messages_searchCounter.md b/docs/API_docs/constructors/messages_searchCounter.md deleted file mode 100644 index 7ca4102e..00000000 --- a/docs/API_docs/constructors/messages_searchCounter.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.searchCounter -description: Indicates how many results would be found by a [messages.search](../methods/messages.search.md) call with the same parameters -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.searchCounter -[Back to constructors index](index.md) - - - -Indicates how many results would be found by a [messages.search](../methods/messages.search.md) call with the same parameters - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|inexact|[Bool](../types/Bool.md) | Optional|If set, the results may be inexact| -|filter|[MessagesFilter](../types/MessagesFilter.md) | Yes|Provided message filter| -|count|[int](../types/int.md) | Yes|Number of results that were found server-side| - - - -### Type: [messages\_SearchCounter](../types/messages_SearchCounter.md) - - -### Example: - -```php -$messages_searchCounter = ['_' => 'messages.searchCounter', 'inexact' => Bool, 'filter' => MessagesFilter, 'count' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_searchCounter={_='messages.searchCounter', inexact=Bool, filter=MessagesFilter, count=int} - -``` - - diff --git a/docs/API_docs/constructors/messages_sentEncryptedFile.md b/docs/API_docs/constructors/messages_sentEncryptedFile.md deleted file mode 100644 index fdc2a11e..00000000 --- a/docs/API_docs/constructors/messages_sentEncryptedFile.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.sentEncryptedFile -description: Message with a file enclosure sent to a protected chat -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.sentEncryptedFile -[Back to constructors index](index.md) - - - -Message with a file enclosure sent to a protected chat - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Sending date| -|file|[EncryptedFile](../types/EncryptedFile.md) | Optional|Attached file| - - - -### Type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) - - -### Example: - -```php -$messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile]; -``` - - -Or, if you're into Lua: - -```lua -messages_sentEncryptedFile={_='messages.sentEncryptedFile', date=int, file=EncryptedFile} - -``` - - diff --git a/docs/API_docs/constructors/messages_sentEncryptedMessage.md b/docs/API_docs/constructors/messages_sentEncryptedMessage.md deleted file mode 100644 index 36b2bbff..00000000 --- a/docs/API_docs/constructors/messages_sentEncryptedMessage.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.sentEncryptedMessage -description: Message without file attachemts sent to an encrypted file. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.sentEncryptedMessage -[Back to constructors index](index.md) - - - -Message without file attachemts sent to an encrypted file. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Date of sending| - - - -### Type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) - - -### Example: - -```php -$messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_sentEncryptedMessage={_='messages.sentEncryptedMessage', date=int} - -``` - - diff --git a/docs/API_docs/constructors/messages_stickerSet.md b/docs/API_docs/constructors/messages_stickerSet.md deleted file mode 100644 index 127191de..00000000 --- a/docs/API_docs/constructors/messages_stickerSet.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.stickerSet -description: Stickerset and stickers inside it -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickerSet -[Back to constructors index](index.md) - - - -Stickerset and stickers inside it - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|set|[StickerSet](../types/StickerSet.md) | Yes|The stickerset| -|packs|Array of [StickerPack](../types/StickerPack.md) | Yes|Packs| -|documents|Array of [Document](../types/Document.md) | Yes|Documents| - - - -### Type: [messages\_StickerSet](../types/messages_StickerSet.md) - - -### Example: - -```php -$messages_stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'packs' => [StickerPack, StickerPack], 'documents' => [Document, Document]]; -``` - - -Or, if you're into Lua: - -```lua -messages_stickerSet={_='messages.stickerSet', set=StickerSet, packs={StickerPack}, documents={Document}} - -``` - - diff --git a/docs/API_docs/constructors/messages_stickerSetInstallResultArchive.md b/docs/API_docs/constructors/messages_stickerSetInstallResultArchive.md deleted file mode 100644 index 8a5f4d5d..00000000 --- a/docs/API_docs/constructors/messages_stickerSetInstallResultArchive.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.stickerSetInstallResultArchive -description: The stickerset was installed, but since there are too many stickersets some were archived -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickerSetInstallResultArchive -[Back to constructors index](index.md) - - - -The stickerset was installed, but since there are too many stickersets some were archived - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| - - - -### Type: [messages\_StickerSetInstallResult](../types/messages_StickerSetInstallResult.md) - - -### Example: - -```php -$messages_stickerSetInstallResultArchive = ['_' => 'messages.stickerSetInstallResultArchive', 'sets' => [StickerSetCovered, StickerSetCovered]]; -``` - - -Or, if you're into Lua: - -```lua -messages_stickerSetInstallResultArchive={_='messages.stickerSetInstallResultArchive', sets={StickerSetCovered}} - -``` - - diff --git a/docs/API_docs/constructors/messages_stickerSetInstallResultSuccess.md b/docs/API_docs/constructors/messages_stickerSetInstallResultSuccess.md deleted file mode 100644 index 1d33b89f..00000000 --- a/docs/API_docs/constructors/messages_stickerSetInstallResultSuccess.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.stickerSetInstallResultSuccess -description: The stickerset was installed successfully -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickerSetInstallResultSuccess -[Back to constructors index](index.md) - - - -The stickerset was installed successfully - - - - -### Type: [messages\_StickerSetInstallResult](../types/messages_StickerSetInstallResult.md) - - -### Example: - -```php -$messages_stickerSetInstallResultSuccess = ['_' => 'messages.stickerSetInstallResultSuccess']; -``` - - -Or, if you're into Lua: - -```lua -messages_stickerSetInstallResultSuccess={_='messages.stickerSetInstallResultSuccess'} - -``` - - diff --git a/docs/API_docs/constructors/messages_stickers.md b/docs/API_docs/constructors/messages_stickers.md deleted file mode 100644 index c321996b..00000000 --- a/docs/API_docs/constructors/messages_stickers.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.stickers -description: Found stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickers -[Back to constructors index](index.md) - - - -Found stickers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| - - - -### Type: [messages\_Stickers](../types/messages_Stickers.md) - - -### Example: - -```php -$messages_stickers = ['_' => 'messages.stickers', 'hash' => int, 'stickers' => [Document, Document]]; -``` - - -Or, if you're into Lua: - -```lua -messages_stickers={_='messages.stickers', hash=int, stickers={Document}} - -``` - - diff --git a/docs/API_docs/constructors/messages_stickersNotModified.md b/docs/API_docs/constructors/messages_stickersNotModified.md deleted file mode 100644 index 3d434a79..00000000 --- a/docs/API_docs/constructors/messages_stickersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.stickersNotModified -description: No new stickers were found for the given query -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickersNotModified -[Back to constructors index](index.md) - - - -No new stickers were found for the given query - - - - -### Type: [messages\_Stickers](../types/messages_Stickers.md) - - -### Example: - -```php -$messages_stickersNotModified = ['_' => 'messages.stickersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_stickersNotModified={_='messages.stickersNotModified'} - -``` - - diff --git a/docs/API_docs/constructors/payments.paymentForm.md b/docs/API_docs/constructors/payments.paymentForm.md new file mode 100644 index 00000000..90e0f39d --- /dev/null +++ b/docs/API_docs/constructors/payments.paymentForm.md @@ -0,0 +1,48 @@ +--- +title: payments.paymentForm +description: Payment form +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: payments.paymentForm +[Back to constructors index](index.md) + + + +Payment form + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|can\_save\_credentials|[Bool](../types/Bool.md) | Optional|Whether the user can choose to save credentials.| +|password\_missing|[Bool](../types/Bool.md) | Optional|Indicates that the user can save payment credentials, but only after setting up a [2FA password](https://core.telegram.org/api/srp) (currently the account doesn't have a [2FA password](https://core.telegram.org/api/srp))| +|bot\_id|[int](../types/int.md) | Yes|Bot ID| +|invoice|[Invoice](../types/Invoice.md) | Yes|Invoice| +|provider\_id|[int](../types/int.md) | Yes|Payment provider ID.| +|url|[string](../types/string.md) | Yes|Payment form URL| +|native\_provider|[string](../types/string.md) | Optional|Payment provider name.
One of the following:
\- `stripe`| +|native\_params|[DataJSON](../types/DataJSON.md) | Optional|Contains information about the payment provider, if available, to support it natively without the need for opening the URL.
A JSON object that can contain the following fields:

\- `publishable_key`: Stripe API publishable key
\- `apple_pay_merchant_id`: Apple Pay merchant ID
\- `android_pay_public_key`: Android Pay public key
\- `android_pay_bgcolor`: Android Pay form background color
\- `android_pay_inverse`: Whether to use the dark theme in the Android Pay form
\- `need_country`: True, if the user country must be provided,
\- `need_zip`: True, if the user ZIP/postal code must be provided,
\- `need_cardholder_name`: True, if the cardholder name must be provided
| +|saved\_info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Optional|Saved server-side order information| +|saved\_credentials|[PaymentSavedCredentials](../types/PaymentSavedCredentials.md) | Optional|Contains information about saved card credentials| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [payments.PaymentForm](../types/payments.PaymentForm.md) + + +### Example: + +```php +$payments.paymentForm = ['_' => 'payments.paymentForm', 'can_save_credentials' => Bool, 'password_missing' => Bool, 'bot_id' => int, 'invoice' => Invoice, 'provider_id' => int, 'url' => 'string', 'native_provider' => 'string', 'native_params' => DataJSON, 'saved_info' => PaymentRequestedInfo, 'saved_credentials' => PaymentSavedCredentials, 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +payments.paymentForm={_='payments.paymentForm', can_save_credentials=Bool, password_missing=Bool, bot_id=int, invoice=Invoice, provider_id=int, url='string', native_provider='string', native_params=DataJSON, saved_info=PaymentRequestedInfo, saved_credentials=PaymentSavedCredentials, users={User}} + +``` + + diff --git a/docs/API_docs/constructors/payments.paymentReceipt.md b/docs/API_docs/constructors/payments.paymentReceipt.md new file mode 100644 index 00000000..5a0cc190 --- /dev/null +++ b/docs/API_docs/constructors/payments.paymentReceipt.md @@ -0,0 +1,47 @@ +--- +title: payments.paymentReceipt +description: Receipt +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: payments.paymentReceipt +[Back to constructors index](index.md) + + + +Receipt + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Date of generation| +|bot\_id|[int](../types/int.md) | Yes|Bot ID| +|invoice|[Invoice](../types/Invoice.md) | Yes|Invoice| +|provider\_id|[int](../types/int.md) | Yes|Provider ID| +|info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Optional|Info| +|shipping|[ShippingOption](../types/ShippingOption.md) | Optional|Selected shipping option| +|currency|[string](../types/string.md) | Yes|Three-letter ISO 4217 [currency](https://core.telegram.org/bots/payments#supported-currencies) code| +|total\_amount|[long](../types/long.md) | Yes|Total amount in the smallest units of the currency (integer, not float/double). For example, for a price of `US$ 1.45` pass `amount = 145`. See the exp parameter in [currencies.json](https://core.telegram.org/bots/payments/currencies.json), it shows the number of digits past the decimal point for each currency (2 for the majority of currencies).| +|credentials\_title|[string](../types/string.md) | Yes|Payment credential name| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [payments.PaymentReceipt](../types/payments.PaymentReceipt.md) + + +### Example: + +```php +$payments.paymentReceipt = ['_' => 'payments.paymentReceipt', 'date' => int, 'bot_id' => int, 'invoice' => Invoice, 'provider_id' => int, 'info' => PaymentRequestedInfo, 'shipping' => ShippingOption, 'currency' => 'string', 'total_amount' => long, 'credentials_title' => 'string', 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +payments.paymentReceipt={_='payments.paymentReceipt', date=int, bot_id=int, invoice=Invoice, provider_id=int, info=PaymentRequestedInfo, shipping=ShippingOption, currency='string', total_amount=long, credentials_title='string', users={User}} + +``` + + diff --git a/docs/API_docs/constructors/payments.paymentResult.md b/docs/API_docs/constructors/payments.paymentResult.md new file mode 100644 index 00000000..df32fd91 --- /dev/null +++ b/docs/API_docs/constructors/payments.paymentResult.md @@ -0,0 +1,38 @@ +--- +title: payments.paymentResult +description: Payment result +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: payments.paymentResult +[Back to constructors index](index.md) + + + +Payment result + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|updates|[Updates](../types/Updates.md) | Yes|Info about the payment| + + + +### Type: [payments.PaymentResult](../types/payments.PaymentResult.md) + + +### Example: + +```php +$payments.paymentResult = ['_' => 'payments.paymentResult', 'updates' => Updates]; +``` + + +Or, if you're into Lua: + +```lua +payments.paymentResult={_='payments.paymentResult', updates=Updates} + +``` + + diff --git a/docs/API_docs/constructors/payments.paymentVerificationNeeded.md b/docs/API_docs/constructors/payments.paymentVerificationNeeded.md new file mode 100644 index 00000000..780620e1 --- /dev/null +++ b/docs/API_docs/constructors/payments.paymentVerificationNeeded.md @@ -0,0 +1,38 @@ +--- +title: payments.paymentVerificationNeeded +description: Payment was not successful, additional verification is needed +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: payments.paymentVerificationNeeded +[Back to constructors index](index.md) + + + +Payment was not successful, additional verification is needed + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|url|[string](../types/string.md) | Yes|URL for additional payment credentials verification| + + + +### Type: [payments.PaymentResult](../types/payments.PaymentResult.md) + + +### Example: + +```php +$payments.paymentVerificationNeeded = ['_' => 'payments.paymentVerificationNeeded', 'url' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +payments.paymentVerificationNeeded={_='payments.paymentVerificationNeeded', url='string'} + +``` + + diff --git a/docs/API_docs/constructors/payments.savedInfo.md b/docs/API_docs/constructors/payments.savedInfo.md new file mode 100644 index 00000000..a005a842 --- /dev/null +++ b/docs/API_docs/constructors/payments.savedInfo.md @@ -0,0 +1,39 @@ +--- +title: payments.savedInfo +description: Saved server-side order information +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: payments.savedInfo +[Back to constructors index](index.md) + + + +Saved server-side order information + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|has\_saved\_credentials|[Bool](../types/Bool.md) | Optional|Whether the user has some saved payment credentials| +|saved\_info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Optional|Saved server-side order information| + + + +### Type: [payments.SavedInfo](../types/payments.SavedInfo.md) + + +### Example: + +```php +$payments.savedInfo = ['_' => 'payments.savedInfo', 'has_saved_credentials' => Bool, 'saved_info' => PaymentRequestedInfo]; +``` + + +Or, if you're into Lua: + +```lua +payments.savedInfo={_='payments.savedInfo', has_saved_credentials=Bool, saved_info=PaymentRequestedInfo} + +``` + + diff --git a/docs/API_docs/constructors/payments.validatedRequestedInfo.md b/docs/API_docs/constructors/payments.validatedRequestedInfo.md new file mode 100644 index 00000000..4789b28d --- /dev/null +++ b/docs/API_docs/constructors/payments.validatedRequestedInfo.md @@ -0,0 +1,39 @@ +--- +title: payments.validatedRequestedInfo +description: Validated user-provided info +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: payments.validatedRequestedInfo +[Back to constructors index](index.md) + + + +Validated user-provided info + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|id|[string](../types/string.md) | Optional|ID| +|shipping\_options|Array of [ShippingOption](../types/ShippingOption.md) | Optional|Shipping options| + + + +### Type: [payments.ValidatedRequestedInfo](../types/payments.ValidatedRequestedInfo.md) + + +### Example: + +```php +$payments.validatedRequestedInfo = ['_' => 'payments.validatedRequestedInfo', 'id' => 'string', 'shipping_options' => [ShippingOption, ShippingOption]]; +``` + + +Or, if you're into Lua: + +```lua +payments.validatedRequestedInfo={_='payments.validatedRequestedInfo', id='string', shipping_options={ShippingOption}} + +``` + + diff --git a/docs/API_docs/constructors/payments_paymentForm.md b/docs/API_docs/constructors/payments_paymentForm.md deleted file mode 100644 index 88848527..00000000 --- a/docs/API_docs/constructors/payments_paymentForm.md +++ /dev/null @@ -1,48 +0,0 @@ ---- -title: payments.paymentForm -description: Payment form -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: payments.paymentForm -[Back to constructors index](index.md) - - - -Payment form - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|can\_save\_credentials|[Bool](../types/Bool.md) | Optional|Whether the user can choose to save credentials.| -|password\_missing|[Bool](../types/Bool.md) | Optional|Indicates that the user can save payment credentials, but only after setting up a [2FA password](https://core.telegram.org/api/srp) (currently the account doesn't have a [2FA password](https://core.telegram.org/api/srp))| -|bot\_id|[int](../types/int.md) | Yes|Bot ID| -|invoice|[Invoice](../types/Invoice.md) | Yes|Invoice| -|provider\_id|[int](../types/int.md) | Yes|Payment provider ID.| -|url|[string](../types/string.md) | Yes|Payment form URL| -|native\_provider|[string](../types/string.md) | Optional|Payment provider name.
One of the following:
\- `stripe`| -|native\_params|[DataJSON](../types/DataJSON.md) | Optional|Contains information about the payment provider, if available, to support it natively without the need for opening the URL.
A JSON object that can contain the following fields:

\- `publishable_key`: Stripe API publishable key
\- `apple_pay_merchant_id`: Apple Pay merchant ID
\- `android_pay_public_key`: Android Pay public key
\- `android_pay_bgcolor`: Android Pay form background color
\- `android_pay_inverse`: Whether to use the dark theme in the Android Pay form
\- `need_country`: True, if the user country must be provided,
\- `need_zip`: True, if the user ZIP/postal code must be provided,
\- `need_cardholder_name`: True, if the cardholder name must be provided
| -|saved\_info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Optional|Saved server-side order information| -|saved\_credentials|[PaymentSavedCredentials](../types/PaymentSavedCredentials.md) | Optional|Contains information about saved card credentials| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [payments\_PaymentForm](../types/payments_PaymentForm.md) - - -### Example: - -```php -$payments_paymentForm = ['_' => 'payments.paymentForm', 'can_save_credentials' => Bool, 'password_missing' => Bool, 'bot_id' => int, 'invoice' => Invoice, 'provider_id' => int, 'url' => 'string', 'native_provider' => 'string', 'native_params' => DataJSON, 'saved_info' => PaymentRequestedInfo, 'saved_credentials' => PaymentSavedCredentials, 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -payments_paymentForm={_='payments.paymentForm', can_save_credentials=Bool, password_missing=Bool, bot_id=int, invoice=Invoice, provider_id=int, url='string', native_provider='string', native_params=DataJSON, saved_info=PaymentRequestedInfo, saved_credentials=PaymentSavedCredentials, users={User}} - -``` - - diff --git a/docs/API_docs/constructors/payments_paymentReceipt.md b/docs/API_docs/constructors/payments_paymentReceipt.md deleted file mode 100644 index 411e9dee..00000000 --- a/docs/API_docs/constructors/payments_paymentReceipt.md +++ /dev/null @@ -1,47 +0,0 @@ ---- -title: payments.paymentReceipt -description: Receipt -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: payments.paymentReceipt -[Back to constructors index](index.md) - - - -Receipt - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Date of generation| -|bot\_id|[int](../types/int.md) | Yes|Bot ID| -|invoice|[Invoice](../types/Invoice.md) | Yes|Invoice| -|provider\_id|[int](../types/int.md) | Yes|Provider ID| -|info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Optional|Info| -|shipping|[ShippingOption](../types/ShippingOption.md) | Optional|Selected shipping option| -|currency|[string](../types/string.md) | Yes|Three-letter ISO 4217 [currency](https://core.telegram.org/bots/payments#supported-currencies) code| -|total\_amount|[long](../types/long.md) | Yes|Total amount in the smallest units of the currency (integer, not float/double). For example, for a price of `US$ 1.45` pass `amount = 145`. See the exp parameter in [currencies.json](https://core.telegram.org/bots/payments/currencies.json), it shows the number of digits past the decimal point for each currency (2 for the majority of currencies).| -|credentials\_title|[string](../types/string.md) | Yes|Payment credential name| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [payments\_PaymentReceipt](../types/payments_PaymentReceipt.md) - - -### Example: - -```php -$payments_paymentReceipt = ['_' => 'payments.paymentReceipt', 'date' => int, 'bot_id' => int, 'invoice' => Invoice, 'provider_id' => int, 'info' => PaymentRequestedInfo, 'shipping' => ShippingOption, 'currency' => 'string', 'total_amount' => long, 'credentials_title' => 'string', 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -payments_paymentReceipt={_='payments.paymentReceipt', date=int, bot_id=int, invoice=Invoice, provider_id=int, info=PaymentRequestedInfo, shipping=ShippingOption, currency='string', total_amount=long, credentials_title='string', users={User}} - -``` - - diff --git a/docs/API_docs/constructors/payments_paymentResult.md b/docs/API_docs/constructors/payments_paymentResult.md deleted file mode 100644 index 12af1d36..00000000 --- a/docs/API_docs/constructors/payments_paymentResult.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: payments.paymentResult -description: Payment result -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: payments.paymentResult -[Back to constructors index](index.md) - - - -Payment result - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|updates|[Updates](../types/Updates.md) | Yes|Info about the payment| - - - -### Type: [payments\_PaymentResult](../types/payments_PaymentResult.md) - - -### Example: - -```php -$payments_paymentResult = ['_' => 'payments.paymentResult', 'updates' => Updates]; -``` - - -Or, if you're into Lua: - -```lua -payments_paymentResult={_='payments.paymentResult', updates=Updates} - -``` - - diff --git a/docs/API_docs/constructors/payments_paymentVerificationNeeded.md b/docs/API_docs/constructors/payments_paymentVerificationNeeded.md deleted file mode 100644 index 6781cc56..00000000 --- a/docs/API_docs/constructors/payments_paymentVerificationNeeded.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: payments.paymentVerificationNeeded -description: Payment was not successful, additional verification is needed -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: payments.paymentVerificationNeeded -[Back to constructors index](index.md) - - - -Payment was not successful, additional verification is needed - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|url|[string](../types/string.md) | Yes|URL for additional payment credentials verification| - - - -### Type: [payments\_PaymentResult](../types/payments_PaymentResult.md) - - -### Example: - -```php -$payments_paymentVerificationNeeded = ['_' => 'payments.paymentVerificationNeeded', 'url' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -payments_paymentVerificationNeeded={_='payments.paymentVerificationNeeded', url='string'} - -``` - - diff --git a/docs/API_docs/constructors/payments_savedInfo.md b/docs/API_docs/constructors/payments_savedInfo.md deleted file mode 100644 index 19d3aee5..00000000 --- a/docs/API_docs/constructors/payments_savedInfo.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: payments.savedInfo -description: Saved server-side order information -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: payments.savedInfo -[Back to constructors index](index.md) - - - -Saved server-side order information - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|has\_saved\_credentials|[Bool](../types/Bool.md) | Optional|Whether the user has some saved payment credentials| -|saved\_info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Optional|Saved server-side order information| - - - -### Type: [payments\_SavedInfo](../types/payments_SavedInfo.md) - - -### Example: - -```php -$payments_savedInfo = ['_' => 'payments.savedInfo', 'has_saved_credentials' => Bool, 'saved_info' => PaymentRequestedInfo]; -``` - - -Or, if you're into Lua: - -```lua -payments_savedInfo={_='payments.savedInfo', has_saved_credentials=Bool, saved_info=PaymentRequestedInfo} - -``` - - diff --git a/docs/API_docs/constructors/payments_validatedRequestedInfo.md b/docs/API_docs/constructors/payments_validatedRequestedInfo.md deleted file mode 100644 index a07c7d06..00000000 --- a/docs/API_docs/constructors/payments_validatedRequestedInfo.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: payments.validatedRequestedInfo -description: Validated user-provided info -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: payments.validatedRequestedInfo -[Back to constructors index](index.md) - - - -Validated user-provided info - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|id|[string](../types/string.md) | Optional|ID| -|shipping\_options|Array of [ShippingOption](../types/ShippingOption.md) | Optional|Shipping options| - - - -### Type: [payments\_ValidatedRequestedInfo](../types/payments_ValidatedRequestedInfo.md) - - -### Example: - -```php -$payments_validatedRequestedInfo = ['_' => 'payments.validatedRequestedInfo', 'id' => 'string', 'shipping_options' => [ShippingOption, ShippingOption]]; -``` - - -Or, if you're into Lua: - -```lua -payments_validatedRequestedInfo={_='payments.validatedRequestedInfo', id='string', shipping_options={ShippingOption}} - -``` - - diff --git a/docs/API_docs/constructors/phone.phoneCall.md b/docs/API_docs/constructors/phone.phoneCall.md new file mode 100644 index 00000000..8c1d26d4 --- /dev/null +++ b/docs/API_docs/constructors/phone.phoneCall.md @@ -0,0 +1,39 @@ +--- +title: phone.phoneCall +description: A VoIP phone call +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: phone.phoneCall +[Back to constructors index](index.md) + + + +A VoIP phone call + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_call|[PhoneCall](../types/PhoneCall.md) | Optional|The VoIP phone call| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [phone.PhoneCall](../types/phone.PhoneCall.md) + + +### Example: + +```php +$phone.phoneCall = ['_' => 'phone.phoneCall', 'phone_call' => PhoneCall, 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +phone.phoneCall={_='phone.phoneCall', phone_call=PhoneCall, users={User}} + +``` + + diff --git a/docs/API_docs/constructors/phone_phoneCall.md b/docs/API_docs/constructors/phone_phoneCall.md deleted file mode 100644 index 94314567..00000000 --- a/docs/API_docs/constructors/phone_phoneCall.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: phone.phoneCall -description: A VoIP phone call -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: phone.phoneCall -[Back to constructors index](index.md) - - - -A VoIP phone call - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_call|[PhoneCall](../types/PhoneCall.md) | Optional|The VoIP phone call| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [phone\_PhoneCall](../types/phone_PhoneCall.md) - - -### Example: - -```php -$phone_phoneCall = ['_' => 'phone.phoneCall', 'phone_call' => PhoneCall, 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -phone_phoneCall={_='phone.phoneCall', phone_call=PhoneCall, users={User}} - -``` - - diff --git a/docs/API_docs/constructors/photos.photo.md b/docs/API_docs/constructors/photos.photo.md new file mode 100644 index 00000000..43d3efc7 --- /dev/null +++ b/docs/API_docs/constructors/photos.photo.md @@ -0,0 +1,39 @@ +--- +title: photos.photo +description: Photo with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: photos.photo +[Back to constructors index](index.md) + + + +Photo with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|photo|[Photo](../types/Photo.md) | Optional|Photo| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [photos.Photo](../types/photos.Photo.md) + + +### Example: + +```php +$photos.photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +photos.photo={_='photos.photo', photo=Photo, users={User}} + +``` + + diff --git a/docs/API_docs/constructors/photos.photos.md b/docs/API_docs/constructors/photos.photos.md new file mode 100644 index 00000000..901a9693 --- /dev/null +++ b/docs/API_docs/constructors/photos.photos.md @@ -0,0 +1,39 @@ +--- +title: photos.photos +description: Full list of photos with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: photos.photos +[Back to constructors index](index.md) + + + +Full list of photos with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [photos.Photos](../types/photos.Photos.md) + + +### Example: + +```php +$photos.photos = ['_' => 'photos.photos', 'photos' => [Photo, Photo], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +photos.photos={_='photos.photos', photos={Photo}, users={User}} + +``` + + diff --git a/docs/API_docs/constructors/photos.photosSlice.md b/docs/API_docs/constructors/photos.photosSlice.md new file mode 100644 index 00000000..2cca3546 --- /dev/null +++ b/docs/API_docs/constructors/photos.photosSlice.md @@ -0,0 +1,40 @@ +--- +title: photos.photosSlice +description: Incomplete list of photos with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: photos.photosSlice +[Back to constructors index](index.md) + + + +Incomplete list of photos with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of photos| +|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [photos.Photos](../types/photos.Photos.md) + + +### Example: + +```php +$photos.photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo, Photo], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +photos.photosSlice={_='photos.photosSlice', count=int, photos={Photo}, users={User}} + +``` + + diff --git a/docs/API_docs/constructors/photos_photo.md b/docs/API_docs/constructors/photos_photo.md deleted file mode 100644 index d5ad61d9..00000000 --- a/docs/API_docs/constructors/photos_photo.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: photos.photo -description: Photo with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: photos.photo -[Back to constructors index](index.md) - - - -Photo with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|photo|[Photo](../types/Photo.md) | Optional|Photo| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [photos\_Photo](../types/photos_Photo.md) - - -### Example: - -```php -$photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -photos_photo={_='photos.photo', photo=Photo, users={User}} - -``` - - diff --git a/docs/API_docs/constructors/photos_photos.md b/docs/API_docs/constructors/photos_photos.md deleted file mode 100644 index 6ae5d048..00000000 --- a/docs/API_docs/constructors/photos_photos.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: photos.photos -description: Full list of photos with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: photos.photos -[Back to constructors index](index.md) - - - -Full list of photos with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [photos\_Photos](../types/photos_Photos.md) - - -### Example: - -```php -$photos_photos = ['_' => 'photos.photos', 'photos' => [Photo, Photo], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -photos_photos={_='photos.photos', photos={Photo}, users={User}} - -``` - - diff --git a/docs/API_docs/constructors/photos_photosSlice.md b/docs/API_docs/constructors/photos_photosSlice.md deleted file mode 100644 index 5c465c21..00000000 --- a/docs/API_docs/constructors/photos_photosSlice.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: photos.photosSlice -description: Incomplete list of photos with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: photos.photosSlice -[Back to constructors index](index.md) - - - -Incomplete list of photos with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of photos| -|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [photos\_Photos](../types/photos_Photos.md) - - -### Example: - -```php -$photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo, Photo], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -photos_photosSlice={_='photos.photosSlice', count=int, photos={Photo}, users={User}} - -``` - - diff --git a/docs/API_docs/constructors/storage.fileGif.md b/docs/API_docs/constructors/storage.fileGif.md new file mode 100644 index 00000000..8193bd25 --- /dev/null +++ b/docs/API_docs/constructors/storage.fileGif.md @@ -0,0 +1,33 @@ +--- +title: storage.fileGif +description: GIF image. MIME type: `image/gif`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileGif +[Back to constructors index](index.md) + + + +GIF image. MIME type: `image/gif`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileGif = ['_' => 'storage.fileGif']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileGif={_='storage.fileGif'} + +``` + + diff --git a/docs/API_docs/constructors/storage.fileJpeg.md b/docs/API_docs/constructors/storage.fileJpeg.md new file mode 100644 index 00000000..7f125963 --- /dev/null +++ b/docs/API_docs/constructors/storage.fileJpeg.md @@ -0,0 +1,33 @@ +--- +title: storage.fileJpeg +description: JPEG image. MIME type: `image/jpeg`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileJpeg +[Back to constructors index](index.md) + + + +JPEG image. MIME type: `image/jpeg`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileJpeg = ['_' => 'storage.fileJpeg']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileJpeg={_='storage.fileJpeg'} + +``` + + diff --git a/docs/API_docs/constructors/storage.fileMov.md b/docs/API_docs/constructors/storage.fileMov.md new file mode 100644 index 00000000..cb3742e0 --- /dev/null +++ b/docs/API_docs/constructors/storage.fileMov.md @@ -0,0 +1,33 @@ +--- +title: storage.fileMov +description: Quicktime video. MIME type: `video/quicktime`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileMov +[Back to constructors index](index.md) + + + +Quicktime video. MIME type: `video/quicktime`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileMov = ['_' => 'storage.fileMov']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileMov={_='storage.fileMov'} + +``` + + diff --git a/docs/API_docs/constructors/storage.fileMp3.md b/docs/API_docs/constructors/storage.fileMp3.md new file mode 100644 index 00000000..617f2d39 --- /dev/null +++ b/docs/API_docs/constructors/storage.fileMp3.md @@ -0,0 +1,33 @@ +--- +title: storage.fileMp3 +description: Mp3 audio. MIME type: `audio/mpeg`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileMp3 +[Back to constructors index](index.md) + + + +Mp3 audio. MIME type: `audio/mpeg`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileMp3 = ['_' => 'storage.fileMp3']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileMp3={_='storage.fileMp3'} + +``` + + diff --git a/docs/API_docs/constructors/storage.fileMp4.md b/docs/API_docs/constructors/storage.fileMp4.md new file mode 100644 index 00000000..37038176 --- /dev/null +++ b/docs/API_docs/constructors/storage.fileMp4.md @@ -0,0 +1,33 @@ +--- +title: storage.fileMp4 +description: MPEG-4 video. MIME type: `video/mp4`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileMp4 +[Back to constructors index](index.md) + + + +MPEG-4 video. MIME type: `video/mp4`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileMp4 = ['_' => 'storage.fileMp4']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileMp4={_='storage.fileMp4'} + +``` + + diff --git a/docs/API_docs/constructors/storage.filePartial.md b/docs/API_docs/constructors/storage.filePartial.md new file mode 100644 index 00000000..98779e71 --- /dev/null +++ b/docs/API_docs/constructors/storage.filePartial.md @@ -0,0 +1,33 @@ +--- +title: storage.filePartial +description: Part of a bigger file. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.filePartial +[Back to constructors index](index.md) + + + +Part of a bigger file. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.filePartial = ['_' => 'storage.filePartial']; +``` + + +Or, if you're into Lua: + +```lua +storage.filePartial={_='storage.filePartial'} + +``` + + diff --git a/docs/API_docs/constructors/storage.filePdf.md b/docs/API_docs/constructors/storage.filePdf.md new file mode 100644 index 00000000..136c0614 --- /dev/null +++ b/docs/API_docs/constructors/storage.filePdf.md @@ -0,0 +1,33 @@ +--- +title: storage.filePdf +description: PDF document image. MIME type: `application/pdf`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.filePdf +[Back to constructors index](index.md) + + + +PDF document image. MIME type: `application/pdf`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.filePdf = ['_' => 'storage.filePdf']; +``` + + +Or, if you're into Lua: + +```lua +storage.filePdf={_='storage.filePdf'} + +``` + + diff --git a/docs/API_docs/constructors/storage.filePng.md b/docs/API_docs/constructors/storage.filePng.md new file mode 100644 index 00000000..db01ce0e --- /dev/null +++ b/docs/API_docs/constructors/storage.filePng.md @@ -0,0 +1,33 @@ +--- +title: storage.filePng +description: PNG image. MIME type: `image/png`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.filePng +[Back to constructors index](index.md) + + + +PNG image. MIME type: `image/png`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.filePng = ['_' => 'storage.filePng']; +``` + + +Or, if you're into Lua: + +```lua +storage.filePng={_='storage.filePng'} + +``` + + diff --git a/docs/API_docs/constructors/storage.fileUnknown.md b/docs/API_docs/constructors/storage.fileUnknown.md new file mode 100644 index 00000000..26f0a5ae --- /dev/null +++ b/docs/API_docs/constructors/storage.fileUnknown.md @@ -0,0 +1,33 @@ +--- +title: storage.fileUnknown +description: Unknown type. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileUnknown +[Back to constructors index](index.md) + + + +Unknown type. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileUnknown = ['_' => 'storage.fileUnknown']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileUnknown={_='storage.fileUnknown'} + +``` + + diff --git a/docs/API_docs/constructors/storage.fileWebp.md b/docs/API_docs/constructors/storage.fileWebp.md new file mode 100644 index 00000000..63c9ded1 --- /dev/null +++ b/docs/API_docs/constructors/storage.fileWebp.md @@ -0,0 +1,33 @@ +--- +title: storage.fileWebp +description: WEBP image. MIME type: `image/webp`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileWebp +[Back to constructors index](index.md) + + + +WEBP image. MIME type: `image/webp`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileWebp = ['_' => 'storage.fileWebp']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileWebp={_='storage.fileWebp'} + +``` + + diff --git a/docs/API_docs/constructors/storage_fileGif.md b/docs/API_docs/constructors/storage_fileGif.md deleted file mode 100644 index 218c7491..00000000 --- a/docs/API_docs/constructors/storage_fileGif.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileGif -description: GIF image. MIME type: `image/gif`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileGif -[Back to constructors index](index.md) - - - -GIF image. MIME type: `image/gif`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileGif = ['_' => 'storage.fileGif']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileGif={_='storage.fileGif'} - -``` - - diff --git a/docs/API_docs/constructors/storage_fileJpeg.md b/docs/API_docs/constructors/storage_fileJpeg.md deleted file mode 100644 index 925531cd..00000000 --- a/docs/API_docs/constructors/storage_fileJpeg.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileJpeg -description: JPEG image. MIME type: `image/jpeg`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileJpeg -[Back to constructors index](index.md) - - - -JPEG image. MIME type: `image/jpeg`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileJpeg = ['_' => 'storage.fileJpeg']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileJpeg={_='storage.fileJpeg'} - -``` - - diff --git a/docs/API_docs/constructors/storage_fileMov.md b/docs/API_docs/constructors/storage_fileMov.md deleted file mode 100644 index eaf2a6ff..00000000 --- a/docs/API_docs/constructors/storage_fileMov.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileMov -description: Quicktime video. MIME type: `video/quicktime`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileMov -[Back to constructors index](index.md) - - - -Quicktime video. MIME type: `video/quicktime`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileMov = ['_' => 'storage.fileMov']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileMov={_='storage.fileMov'} - -``` - - diff --git a/docs/API_docs/constructors/storage_fileMp3.md b/docs/API_docs/constructors/storage_fileMp3.md deleted file mode 100644 index 9afcefbb..00000000 --- a/docs/API_docs/constructors/storage_fileMp3.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileMp3 -description: Mp3 audio. MIME type: `audio/mpeg`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileMp3 -[Back to constructors index](index.md) - - - -Mp3 audio. MIME type: `audio/mpeg`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileMp3 = ['_' => 'storage.fileMp3']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileMp3={_='storage.fileMp3'} - -``` - - diff --git a/docs/API_docs/constructors/storage_fileMp4.md b/docs/API_docs/constructors/storage_fileMp4.md deleted file mode 100644 index cdc0e783..00000000 --- a/docs/API_docs/constructors/storage_fileMp4.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileMp4 -description: MPEG-4 video. MIME type: `video/mp4`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileMp4 -[Back to constructors index](index.md) - - - -MPEG-4 video. MIME type: `video/mp4`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileMp4 = ['_' => 'storage.fileMp4']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileMp4={_='storage.fileMp4'} - -``` - - diff --git a/docs/API_docs/constructors/storage_filePartial.md b/docs/API_docs/constructors/storage_filePartial.md deleted file mode 100644 index 9bfadf63..00000000 --- a/docs/API_docs/constructors/storage_filePartial.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.filePartial -description: Part of a bigger file. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.filePartial -[Back to constructors index](index.md) - - - -Part of a bigger file. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_filePartial = ['_' => 'storage.filePartial']; -``` - - -Or, if you're into Lua: - -```lua -storage_filePartial={_='storage.filePartial'} - -``` - - diff --git a/docs/API_docs/constructors/storage_filePdf.md b/docs/API_docs/constructors/storage_filePdf.md deleted file mode 100644 index efb022cc..00000000 --- a/docs/API_docs/constructors/storage_filePdf.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.filePdf -description: PDF document image. MIME type: `application/pdf`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.filePdf -[Back to constructors index](index.md) - - - -PDF document image. MIME type: `application/pdf`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_filePdf = ['_' => 'storage.filePdf']; -``` - - -Or, if you're into Lua: - -```lua -storage_filePdf={_='storage.filePdf'} - -``` - - diff --git a/docs/API_docs/constructors/storage_filePng.md b/docs/API_docs/constructors/storage_filePng.md deleted file mode 100644 index 412759e4..00000000 --- a/docs/API_docs/constructors/storage_filePng.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.filePng -description: PNG image. MIME type: `image/png`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.filePng -[Back to constructors index](index.md) - - - -PNG image. MIME type: `image/png`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_filePng = ['_' => 'storage.filePng']; -``` - - -Or, if you're into Lua: - -```lua -storage_filePng={_='storage.filePng'} - -``` - - diff --git a/docs/API_docs/constructors/storage_fileUnknown.md b/docs/API_docs/constructors/storage_fileUnknown.md deleted file mode 100644 index ed33dd5e..00000000 --- a/docs/API_docs/constructors/storage_fileUnknown.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileUnknown -description: Unknown type. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileUnknown -[Back to constructors index](index.md) - - - -Unknown type. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileUnknown = ['_' => 'storage.fileUnknown']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileUnknown={_='storage.fileUnknown'} - -``` - - diff --git a/docs/API_docs/constructors/storage_fileWebp.md b/docs/API_docs/constructors/storage_fileWebp.md deleted file mode 100644 index 04dcad74..00000000 --- a/docs/API_docs/constructors/storage_fileWebp.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileWebp -description: WEBP image. MIME type: `image/webp`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileWebp -[Back to constructors index](index.md) - - - -WEBP image. MIME type: `image/webp`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileWebp = ['_' => 'storage.fileWebp']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileWebp={_='storage.fileWebp'} - -``` - - diff --git a/docs/API_docs/constructors/updateNewStickerSet.md b/docs/API_docs/constructors/updateNewStickerSet.md index 8a99a363..c32c41ff 100644 --- a/docs/API_docs/constructors/updateNewStickerSet.md +++ b/docs/API_docs/constructors/updateNewStickerSet.md @@ -14,7 +14,7 @@ A new stickerset was installed | Name | Type | Required | Description | |----------|---------------|----------|-------------| -|stickerset|[messages\_StickerSet](../types/messages_StickerSet.md) | Yes|The installed stickerset| +|stickerset|[messages.StickerSet](../constructors/messages.StickerSet.md) | Yes|The installed stickerset| @@ -24,14 +24,14 @@ A new stickerset was installed ### Example: ```php -$updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages_StickerSet]; +$updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages.StickerSet]; ``` Or, if you're into Lua: ```lua -updateNewStickerSet={_='updateNewStickerSet', stickerset=messages_StickerSet} +updateNewStickerSet={_='updateNewStickerSet', stickerset=messages.StickerSet} ``` diff --git a/docs/API_docs/constructors/updates.channelDifference.md b/docs/API_docs/constructors/updates.channelDifference.md new file mode 100644 index 00000000..5a13791c --- /dev/null +++ b/docs/API_docs/constructors/updates.channelDifference.md @@ -0,0 +1,44 @@ +--- +title: updates.channelDifference +description: The new updates +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.channelDifference +[Back to constructors index](index.md) + + + +The new updates + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates to be fetched using getDifference, starting from the provided `pts`| +|pts|[int](../types/int.md) | Yes|The [PTS](https://core.telegram.org/api/updates) from which to start getting updates the next time| +|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| +|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| +|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [updates.ChannelDifference](../types/updates.ChannelDifference.md) + + +### Example: + +```php +$updates.channelDifference = ['_' => 'updates.channelDifference', 'final' => Bool, 'pts' => int, 'timeout' => int, 'new_messages' => [Message, Message], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +updates.channelDifference={_='updates.channelDifference', final=Bool, pts=int, timeout=int, new_messages={Message}, other_updates={Update}, chats={Chat}, users={User}} + +``` + + diff --git a/docs/API_docs/constructors/updates.channelDifferenceEmpty.md b/docs/API_docs/constructors/updates.channelDifferenceEmpty.md new file mode 100644 index 00000000..8ce43da4 --- /dev/null +++ b/docs/API_docs/constructors/updates.channelDifferenceEmpty.md @@ -0,0 +1,40 @@ +--- +title: updates.channelDifferenceEmpty +description: There are no new updates +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.channelDifferenceEmpty +[Back to constructors index](index.md) + + + +There are no new updates + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates that must be fetched (always false)| +|pts|[int](../types/int.md) | Yes|The latest [PTS](https://core.telegram.org/api/updates)| +|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| + + + +### Type: [updates.ChannelDifference](../types/updates.ChannelDifference.md) + + +### Example: + +```php +$updates.channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'final' => Bool, 'pts' => int, 'timeout' => int]; +``` + + +Or, if you're into Lua: + +```lua +updates.channelDifferenceEmpty={_='updates.channelDifferenceEmpty', final=Bool, pts=int, timeout=int} + +``` + + diff --git a/docs/API_docs/constructors/updates.channelDifferenceTooLong.md b/docs/API_docs/constructors/updates.channelDifferenceTooLong.md new file mode 100644 index 00000000..10fb21ed --- /dev/null +++ b/docs/API_docs/constructors/updates.channelDifferenceTooLong.md @@ -0,0 +1,53 @@ +--- +title: updates.channelDifferenceTooLong +description: The provided `pts + limit < remote pts`. Simply, there are too many updates to be fetched (more than `limit`), the client has to resolve the update gap in one of the following ways: + +1. Delete all known messages in the chat, begin from scratch by refetching all messages manually with [getHistory](../methods/messages.getHistory.md). It is easy to implement, but suddenly disappearing messages looks awful for the user. +2. Save all messages loaded in the memory until application restart, but delete all messages from database. Messages left in the memory must be lazily updated using calls to [getHistory](../methods/messages.getHistory.md). It looks much smoothly for the user, he will need to redownload messages only after client restart. Unsynchronized messages left in the memory shouldn't be saved to database, results of [getHistory](../methods/messages.getHistory.md) and [getMessages](../methods/messages.getMessages.md) must be used to update state of deleted and edited messages left in the memory. +3. Save all messages loaded in the memory and stored in the database without saving that some messages form continuous ranges. Messages in the database will be excluded from results of getChatHistory and searchChatMessages after application restart and will be available only through getMessage. Every message should still be checked using getHistory. It has more disadvantages over 2) than advantages. +4. Save all messages with saving all data about continuous message ranges. Messages from the database may be used as results of getChatHistory and (if implemented continuous ranges support for searching shared media) searchChatMessages. The messages should still be lazily checked using getHistory, but they are still available offline. It is the best way for gaps support, but it is pretty hard to implement correctly. It should be also noted that some messages like live location messages shouldn't be deleted. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.channelDifferenceTooLong +[Back to constructors index](index.md) + + + +The provided `pts + limit < remote pts`. Simply, there are too many updates to be fetched (more than `limit`), the client has to resolve the update gap in one of the following ways: + +1. Delete all known messages in the chat, begin from scratch by refetching all messages manually with [getHistory](../methods/messages.getHistory.md). It is easy to implement, but suddenly disappearing messages looks awful for the user. +2. Save all messages loaded in the memory until application restart, but delete all messages from database. Messages left in the memory must be lazily updated using calls to [getHistory](../methods/messages.getHistory.md). It looks much smoothly for the user, he will need to redownload messages only after client restart. Unsynchronized messages left in the memory shouldn't be saved to database, results of [getHistory](../methods/messages.getHistory.md) and [getMessages](../methods/messages.getMessages.md) must be used to update state of deleted and edited messages left in the memory. +3. Save all messages loaded in the memory and stored in the database without saving that some messages form continuous ranges. Messages in the database will be excluded from results of getChatHistory and searchChatMessages after application restart and will be available only through getMessage. Every message should still be checked using getHistory. It has more disadvantages over 2) than advantages. +4. Save all messages with saving all data about continuous message ranges. Messages from the database may be used as results of getChatHistory and (if implemented continuous ranges support for searching shared media) searchChatMessages. The messages should still be lazily checked using getHistory, but they are still available offline. It is the best way for gaps support, but it is pretty hard to implement correctly. It should be also noted that some messages like live location messages shouldn't be deleted. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates that must be fetched (always false)| +|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| +|dialog|[Dialog](../types/Dialog.md) | Yes|Dialog containing the latest [PTS](https://core.telegram.org/api/updates) that can be used to reset the channel state| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [updates.ChannelDifference](../types/updates.ChannelDifference.md) + + +### Example: + +```php +$updates.channelDifferenceTooLong = ['_' => 'updates.channelDifferenceTooLong', 'final' => Bool, 'timeout' => int, 'dialog' => Dialog, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +updates.channelDifferenceTooLong={_='updates.channelDifferenceTooLong', final=Bool, timeout=int, dialog=Dialog, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/docs/API_docs/constructors/updates.difference.md b/docs/API_docs/constructors/updates.difference.md new file mode 100644 index 00000000..82541b51 --- /dev/null +++ b/docs/API_docs/constructors/updates.difference.md @@ -0,0 +1,43 @@ +--- +title: updates.difference +description: Full list of occurred events. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.difference +[Back to constructors index](index.md) + + + +Full list of occurred events. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| +|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| +|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| +|state|[updates.State](../constructors/updates.State.md) | Yes|Current state| + + + +### Type: [updates.Difference](../types/updates.Difference.md) + + +### Example: + +```php +$updates.difference = ['_' => 'updates.difference', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates.State]; +``` + + +Or, if you're into Lua: + +```lua +updates.difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates.State} + +``` + + diff --git a/docs/API_docs/constructors/updates.differenceEmpty.md b/docs/API_docs/constructors/updates.differenceEmpty.md new file mode 100644 index 00000000..a9dc3bd0 --- /dev/null +++ b/docs/API_docs/constructors/updates.differenceEmpty.md @@ -0,0 +1,39 @@ +--- +title: updates.differenceEmpty +description: No events. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.differenceEmpty +[Back to constructors index](index.md) + + + +No events. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Current date| +|seq|[int](../types/int.md) | Yes|Number of sent updates| + + + +### Type: [updates.Difference](../types/updates.Difference.md) + + +### Example: + +```php +$updates.differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int]; +``` + + +Or, if you're into Lua: + +```lua +updates.differenceEmpty={_='updates.differenceEmpty', date=int, seq=int} + +``` + + diff --git a/docs/API_docs/constructors/updates.differenceSlice.md b/docs/API_docs/constructors/updates.differenceSlice.md new file mode 100644 index 00000000..9daf7a75 --- /dev/null +++ b/docs/API_docs/constructors/updates.differenceSlice.md @@ -0,0 +1,43 @@ +--- +title: updates.differenceSlice +description: Incomplete list of occurred events. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.differenceSlice +[Back to constructors index](index.md) + + + +Incomplete list of occurred events. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| +|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| +|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| +|intermediate\_state|[updates.State](../constructors/updates.State.md) | Yes|Intermediary state| + + + +### Type: [updates.Difference](../types/updates.Difference.md) + + +### Example: + +```php +$updates.differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'intermediate_state' => updates.State]; +``` + + +Or, if you're into Lua: + +```lua +updates.differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates.State} + +``` + + diff --git a/docs/API_docs/constructors/updates.differenceTooLong.md b/docs/API_docs/constructors/updates.differenceTooLong.md new file mode 100644 index 00000000..ef2e7e4d --- /dev/null +++ b/docs/API_docs/constructors/updates.differenceTooLong.md @@ -0,0 +1,38 @@ +--- +title: updates.differenceTooLong +description: The difference is [too long](https://core.telegram.org/api/updates#recovering-gaps), and the specified state must be used to refetch updates. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.differenceTooLong +[Back to constructors index](index.md) + + + +The difference is [too long](https://core.telegram.org/api/updates#recovering-gaps), and the specified state must be used to refetch updates. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|The new state to use.| + + + +### Type: [updates.Difference](../types/updates.Difference.md) + + +### Example: + +```php +$updates.differenceTooLong = ['_' => 'updates.differenceTooLong', 'pts' => int]; +``` + + +Or, if you're into Lua: + +```lua +updates.differenceTooLong={_='updates.differenceTooLong', pts=int} + +``` + + diff --git a/docs/API_docs/constructors/updates.state.md b/docs/API_docs/constructors/updates.state.md new file mode 100644 index 00000000..abe9ddbb --- /dev/null +++ b/docs/API_docs/constructors/updates.state.md @@ -0,0 +1,42 @@ +--- +title: updates.state +description: Updates state. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.state +[Back to constructors index](index.md) + + + +Updates state. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| +|qts|[int](../types/int.md) | Yes|Position in a sequence of updates in secret chats. For further detailes refer to article [secret chats](https://core.telegram.org/api/end-to-end)
Parameter was added in [eigth layer](https://core.telegram.org/api/layers#layer-8).| +|date|[int](../types/int.md) | Yes|Date of condition| +|seq|[int](../types/int.md) | Yes|Number of sent updates| +|unread\_count|[int](../types/int.md) | Yes|Number of unread messages| + + + +### Type: [updates.State](../types/updates.State.md) + + +### Example: + +```php +$updates.state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int]; +``` + + +Or, if you're into Lua: + +```lua +updates.state={_='updates.state', pts=int, qts=int, date=int, seq=int, unread_count=int} + +``` + + diff --git a/docs/API_docs/constructors/updates_channelDifference.md b/docs/API_docs/constructors/updates_channelDifference.md deleted file mode 100644 index 1b50fbf3..00000000 --- a/docs/API_docs/constructors/updates_channelDifference.md +++ /dev/null @@ -1,44 +0,0 @@ ---- -title: updates.channelDifference -description: The new updates -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.channelDifference -[Back to constructors index](index.md) - - - -The new updates - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates to be fetched using getDifference, starting from the provided `pts`| -|pts|[int](../types/int.md) | Yes|The [PTS](https://core.telegram.org/api/updates) from which to start getting updates the next time| -|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| -|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| -|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) - - -### Example: - -```php -$updates_channelDifference = ['_' => 'updates.channelDifference', 'final' => Bool, 'pts' => int, 'timeout' => int, 'new_messages' => [Message, Message], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -updates_channelDifference={_='updates.channelDifference', final=Bool, pts=int, timeout=int, new_messages={Message}, other_updates={Update}, chats={Chat}, users={User}} - -``` - - diff --git a/docs/API_docs/constructors/updates_channelDifferenceEmpty.md b/docs/API_docs/constructors/updates_channelDifferenceEmpty.md deleted file mode 100644 index 713137aa..00000000 --- a/docs/API_docs/constructors/updates_channelDifferenceEmpty.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: updates.channelDifferenceEmpty -description: There are no new updates -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.channelDifferenceEmpty -[Back to constructors index](index.md) - - - -There are no new updates - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates that must be fetched (always false)| -|pts|[int](../types/int.md) | Yes|The latest [PTS](https://core.telegram.org/api/updates)| -|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| - - - -### Type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) - - -### Example: - -```php -$updates_channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'final' => Bool, 'pts' => int, 'timeout' => int]; -``` - - -Or, if you're into Lua: - -```lua -updates_channelDifferenceEmpty={_='updates.channelDifferenceEmpty', final=Bool, pts=int, timeout=int} - -``` - - diff --git a/docs/API_docs/constructors/updates_channelDifferenceTooLong.md b/docs/API_docs/constructors/updates_channelDifferenceTooLong.md deleted file mode 100644 index 5719c340..00000000 --- a/docs/API_docs/constructors/updates_channelDifferenceTooLong.md +++ /dev/null @@ -1,53 +0,0 @@ ---- -title: updates.channelDifferenceTooLong -description: The provided `pts + limit < remote pts`. Simply, there are too many updates to be fetched (more than `limit`), the client has to resolve the update gap in one of the following ways: - -1. Delete all known messages in the chat, begin from scratch by refetching all messages manually with [getHistory](../methods/messages.getHistory.md). It is easy to implement, but suddenly disappearing messages looks awful for the user. -2. Save all messages loaded in the memory until application restart, but delete all messages from database. Messages left in the memory must be lazily updated using calls to [getHistory](../methods/messages.getHistory.md). It looks much smoothly for the user, he will need to redownload messages only after client restart. Unsynchronized messages left in the memory shouldn't be saved to database, results of [getHistory](../methods/messages.getHistory.md) and [getMessages](../methods/messages.getMessages.md) must be used to update state of deleted and edited messages left in the memory. -3. Save all messages loaded in the memory and stored in the database without saving that some messages form continuous ranges. Messages in the database will be excluded from results of getChatHistory and searchChatMessages after application restart and will be available only through getMessage. Every message should still be checked using getHistory. It has more disadvantages over 2) than advantages. -4. Save all messages with saving all data about continuous message ranges. Messages from the database may be used as results of getChatHistory and (if implemented continuous ranges support for searching shared media) searchChatMessages. The messages should still be lazily checked using getHistory, but they are still available offline. It is the best way for gaps support, but it is pretty hard to implement correctly. It should be also noted that some messages like live location messages shouldn't be deleted. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.channelDifferenceTooLong -[Back to constructors index](index.md) - - - -The provided `pts + limit < remote pts`. Simply, there are too many updates to be fetched (more than `limit`), the client has to resolve the update gap in one of the following ways: - -1. Delete all known messages in the chat, begin from scratch by refetching all messages manually with [getHistory](../methods/messages.getHistory.md). It is easy to implement, but suddenly disappearing messages looks awful for the user. -2. Save all messages loaded in the memory until application restart, but delete all messages from database. Messages left in the memory must be lazily updated using calls to [getHistory](../methods/messages.getHistory.md). It looks much smoothly for the user, he will need to redownload messages only after client restart. Unsynchronized messages left in the memory shouldn't be saved to database, results of [getHistory](../methods/messages.getHistory.md) and [getMessages](../methods/messages.getMessages.md) must be used to update state of deleted and edited messages left in the memory. -3. Save all messages loaded in the memory and stored in the database without saving that some messages form continuous ranges. Messages in the database will be excluded from results of getChatHistory and searchChatMessages after application restart and will be available only through getMessage. Every message should still be checked using getHistory. It has more disadvantages over 2) than advantages. -4. Save all messages with saving all data about continuous message ranges. Messages from the database may be used as results of getChatHistory and (if implemented continuous ranges support for searching shared media) searchChatMessages. The messages should still be lazily checked using getHistory, but they are still available offline. It is the best way for gaps support, but it is pretty hard to implement correctly. It should be also noted that some messages like live location messages shouldn't be deleted. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates that must be fetched (always false)| -|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| -|dialog|[Dialog](../types/Dialog.md) | Yes|Dialog containing the latest [PTS](https://core.telegram.org/api/updates) that can be used to reset the channel state| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) - - -### Example: - -```php -$updates_channelDifferenceTooLong = ['_' => 'updates.channelDifferenceTooLong', 'final' => Bool, 'timeout' => int, 'dialog' => Dialog, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -updates_channelDifferenceTooLong={_='updates.channelDifferenceTooLong', final=Bool, timeout=int, dialog=Dialog, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/docs/API_docs/constructors/updates_difference.md b/docs/API_docs/constructors/updates_difference.md deleted file mode 100644 index 71ac7d4c..00000000 --- a/docs/API_docs/constructors/updates_difference.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: updates.difference -description: Full list of occurred events. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.difference -[Back to constructors index](index.md) - - - -Full list of occurred events. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| -|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| -|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| -|state|[updates\_State](../types/updates_State.md) | Yes|Current state| - - - -### Type: [updates\_Difference](../types/updates_Difference.md) - - -### Example: - -```php -$updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates_State]; -``` - - -Or, if you're into Lua: - -```lua -updates_difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates_State} - -``` - - diff --git a/docs/API_docs/constructors/updates_differenceEmpty.md b/docs/API_docs/constructors/updates_differenceEmpty.md deleted file mode 100644 index c3c95c5a..00000000 --- a/docs/API_docs/constructors/updates_differenceEmpty.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: updates.differenceEmpty -description: No events. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.differenceEmpty -[Back to constructors index](index.md) - - - -No events. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Current date| -|seq|[int](../types/int.md) | Yes|Number of sent updates| - - - -### Type: [updates\_Difference](../types/updates_Difference.md) - - -### Example: - -```php -$updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int]; -``` - - -Or, if you're into Lua: - -```lua -updates_differenceEmpty={_='updates.differenceEmpty', date=int, seq=int} - -``` - - diff --git a/docs/API_docs/constructors/updates_differenceSlice.md b/docs/API_docs/constructors/updates_differenceSlice.md deleted file mode 100644 index 8b12a369..00000000 --- a/docs/API_docs/constructors/updates_differenceSlice.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: updates.differenceSlice -description: Incomplete list of occurred events. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.differenceSlice -[Back to constructors index](index.md) - - - -Incomplete list of occurred events. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| -|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| -|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| -|intermediate\_state|[updates\_State](../types/updates_State.md) | Yes|Intermediary state| - - - -### Type: [updates\_Difference](../types/updates_Difference.md) - - -### Example: - -```php -$updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'intermediate_state' => updates_State]; -``` - - -Or, if you're into Lua: - -```lua -updates_differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates_State} - -``` - - diff --git a/docs/API_docs/constructors/updates_differenceTooLong.md b/docs/API_docs/constructors/updates_differenceTooLong.md deleted file mode 100644 index 1fbdfa01..00000000 --- a/docs/API_docs/constructors/updates_differenceTooLong.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: updates.differenceTooLong -description: The difference is [too long](https://core.telegram.org/api/updates#recovering-gaps), and the specified state must be used to refetch updates. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.differenceTooLong -[Back to constructors index](index.md) - - - -The difference is [too long](https://core.telegram.org/api/updates#recovering-gaps), and the specified state must be used to refetch updates. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|The new state to use.| - - - -### Type: [updates\_Difference](../types/updates_Difference.md) - - -### Example: - -```php -$updates_differenceTooLong = ['_' => 'updates.differenceTooLong', 'pts' => int]; -``` - - -Or, if you're into Lua: - -```lua -updates_differenceTooLong={_='updates.differenceTooLong', pts=int} - -``` - - diff --git a/docs/API_docs/constructors/updates_state.md b/docs/API_docs/constructors/updates_state.md deleted file mode 100644 index ef3698e2..00000000 --- a/docs/API_docs/constructors/updates_state.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: updates.state -description: Updates state. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.state -[Back to constructors index](index.md) - - - -Updates state. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| -|qts|[int](../types/int.md) | Yes|Position in a sequence of updates in secret chats. For further detailes refer to article [secret chats](https://core.telegram.org/api/end-to-end)
Parameter was added in [eigth layer](https://core.telegram.org/api/layers#layer-8).| -|date|[int](../types/int.md) | Yes|Date of condition| -|seq|[int](../types/int.md) | Yes|Number of sent updates| -|unread\_count|[int](../types/int.md) | Yes|Number of unread messages| - - - -### Type: [updates\_State](../types/updates_State.md) - - -### Example: - -```php -$updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int]; -``` - - -Or, if you're into Lua: - -```lua -updates_state={_='updates.state', pts=int, qts=int, date=int, seq=int, unread_count=int} - -``` - - diff --git a/docs/API_docs/constructors/upload.cdnFile.md b/docs/API_docs/constructors/upload.cdnFile.md new file mode 100644 index 00000000..d6d75513 --- /dev/null +++ b/docs/API_docs/constructors/upload.cdnFile.md @@ -0,0 +1,38 @@ +--- +title: upload.cdnFile +description: Represent a chunk of a [CDN](https://core.telegram.org/cdn) file. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: upload.cdnFile +[Back to constructors index](index.md) + + + +Represent a chunk of a [CDN](https://core.telegram.org/cdn) file. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|bytes|[bytes](../types/bytes.md) | Yes|The data| + + + +### Type: [upload.CdnFile](../types/upload.CdnFile.md) + + +### Example: + +```php +$upload.cdnFile = ['_' => 'upload.cdnFile', 'bytes' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +upload.cdnFile={_='upload.cdnFile', bytes='bytes'} + +``` + + diff --git a/docs/API_docs/constructors/upload.cdnFileReuploadNeeded.md b/docs/API_docs/constructors/upload.cdnFileReuploadNeeded.md new file mode 100644 index 00000000..7c461a87 --- /dev/null +++ b/docs/API_docs/constructors/upload.cdnFileReuploadNeeded.md @@ -0,0 +1,38 @@ +--- +title: upload.cdnFileReuploadNeeded +description: The file was cleared from the temporary RAM cache of the [CDN](https://core.telegram.org/cdn) and has to be reuploaded. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: upload.cdnFileReuploadNeeded +[Back to constructors index](index.md) + + + +The file was cleared from the temporary RAM cache of the [CDN](https://core.telegram.org/cdn) and has to be reuploaded. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|request\_token|[bytes](../types/bytes.md) | Yes|Request token (see [CDN](https://core.telegram.org/cdn))| + + + +### Type: [upload.CdnFile](../types/upload.CdnFile.md) + + +### Example: + +```php +$upload.cdnFileReuploadNeeded = ['_' => 'upload.cdnFileReuploadNeeded', 'request_token' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +upload.cdnFileReuploadNeeded={_='upload.cdnFileReuploadNeeded', request_token='bytes'} + +``` + + diff --git a/docs/API_docs/constructors/upload.file.md b/docs/API_docs/constructors/upload.file.md new file mode 100644 index 00000000..145a4c24 --- /dev/null +++ b/docs/API_docs/constructors/upload.file.md @@ -0,0 +1,40 @@ +--- +title: upload.file +description: File content. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: upload.file +[Back to constructors index](index.md) + + + +File content. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|type|[storage.FileType](../constructors/storage.FileType.md) | Yes|File type| +|mtime|[int](../types/int.md) | Yes|Modification type| +|bytes|[bytes](../types/bytes.md) | Yes|Binary data, file content| + + + +### Type: [upload.File](../types/upload.File.md) + + +### Example: + +```php +$upload.file = ['_' => 'upload.file', 'type' => storage.FileType, 'mtime' => int, 'bytes' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +upload.file={_='upload.file', type=storage.FileType, mtime=int, bytes='bytes'} + +``` + + diff --git a/docs/API_docs/constructors/upload.fileCdnRedirect.md b/docs/API_docs/constructors/upload.fileCdnRedirect.md new file mode 100644 index 00000000..dc56e919 --- /dev/null +++ b/docs/API_docs/constructors/upload.fileCdnRedirect.md @@ -0,0 +1,42 @@ +--- +title: upload.fileCdnRedirect +description: The file must be downloaded from a [CDN DC](https://core.telegram.org/cdn). +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: upload.fileCdnRedirect +[Back to constructors index](index.md) + + + +The file must be downloaded from a [CDN DC](https://core.telegram.org/cdn). + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|dc\_id|[int](../types/int.md) | Yes|[CDN DC](https://core.telegram.org/cdn) ID| +|file\_token|[bytes](../types/bytes.md) | Yes|File token (see [CDN files](https://core.telegram.org/cdn)| +|encryption\_key|[bytes](../types/bytes.md) | Yes|Encryption key (see [CDN files](https://core.telegram.org/cdn)| +|encryption\_iv|[bytes](../types/bytes.md) | Yes|Encryption IV (see [CDN files](https://core.telegram.org/cdn)| +|file\_hashes|Array of [FileHash](../types/FileHash.md) | Yes|File hashes| + + + +### Type: [upload.File](../types/upload.File.md) + + +### Example: + +```php +$upload.fileCdnRedirect = ['_' => 'upload.fileCdnRedirect', 'dc_id' => int, 'file_token' => 'bytes', 'encryption_key' => 'bytes', 'encryption_iv' => 'bytes', 'file_hashes' => [FileHash, FileHash]]; +``` + + +Or, if you're into Lua: + +```lua +upload.fileCdnRedirect={_='upload.fileCdnRedirect', dc_id=int, file_token='bytes', encryption_key='bytes', encryption_iv='bytes', file_hashes={FileHash}} + +``` + + diff --git a/docs/API_docs/constructors/upload.webFile.md b/docs/API_docs/constructors/upload.webFile.md new file mode 100644 index 00000000..a93ea94f --- /dev/null +++ b/docs/API_docs/constructors/upload.webFile.md @@ -0,0 +1,42 @@ +--- +title: upload.webFile +description: Represents a chunk of an [HTTP webfile](https://core.telegram.org/api/files) downloaded through telegram's secure MTProto servers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: upload.webFile +[Back to constructors index](index.md) + + + +Represents a chunk of an [HTTP webfile](https://core.telegram.org/api/files) downloaded through telegram's secure MTProto servers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|size|[int](../types/int.md) | Yes|File size| +|mime\_type|[string](../types/string.md) | Yes|Mime type| +|file\_type|[storage.FileType](../constructors/storage.FileType.md) | Yes|File type| +|mtime|[int](../types/int.md) | Yes|Modified time| +|bytes|[bytes](../types/bytes.md) | Yes|Data| + + + +### Type: [upload.WebFile](../types/upload.WebFile.md) + + +### Example: + +```php +$upload.webFile = ['_' => 'upload.webFile', 'size' => int, 'mime_type' => 'string', 'file_type' => storage.FileType, 'mtime' => int, 'bytes' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +upload.webFile={_='upload.webFile', size=int, mime_type='string', file_type=storage.FileType, mtime=int, bytes='bytes'} + +``` + + diff --git a/docs/API_docs/constructors/upload_cdnFile.md b/docs/API_docs/constructors/upload_cdnFile.md deleted file mode 100644 index 019b8742..00000000 --- a/docs/API_docs/constructors/upload_cdnFile.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: upload.cdnFile -description: Represent a chunk of a [CDN](https://core.telegram.org/cdn) file. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: upload.cdnFile -[Back to constructors index](index.md) - - - -Represent a chunk of a [CDN](https://core.telegram.org/cdn) file. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|bytes|[bytes](../types/bytes.md) | Yes|The data| - - - -### Type: [upload\_CdnFile](../types/upload_CdnFile.md) - - -### Example: - -```php -$upload_cdnFile = ['_' => 'upload.cdnFile', 'bytes' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -upload_cdnFile={_='upload.cdnFile', bytes='bytes'} - -``` - - diff --git a/docs/API_docs/constructors/upload_cdnFileReuploadNeeded.md b/docs/API_docs/constructors/upload_cdnFileReuploadNeeded.md deleted file mode 100644 index 6588a596..00000000 --- a/docs/API_docs/constructors/upload_cdnFileReuploadNeeded.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: upload.cdnFileReuploadNeeded -description: The file was cleared from the temporary RAM cache of the [CDN](https://core.telegram.org/cdn) and has to be reuploaded. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: upload.cdnFileReuploadNeeded -[Back to constructors index](index.md) - - - -The file was cleared from the temporary RAM cache of the [CDN](https://core.telegram.org/cdn) and has to be reuploaded. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|request\_token|[bytes](../types/bytes.md) | Yes|Request token (see [CDN](https://core.telegram.org/cdn))| - - - -### Type: [upload\_CdnFile](../types/upload_CdnFile.md) - - -### Example: - -```php -$upload_cdnFileReuploadNeeded = ['_' => 'upload.cdnFileReuploadNeeded', 'request_token' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -upload_cdnFileReuploadNeeded={_='upload.cdnFileReuploadNeeded', request_token='bytes'} - -``` - - diff --git a/docs/API_docs/constructors/upload_file.md b/docs/API_docs/constructors/upload_file.md deleted file mode 100644 index 1e07d9fb..00000000 --- a/docs/API_docs/constructors/upload_file.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: upload.file -description: File content. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: upload.file -[Back to constructors index](index.md) - - - -File content. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|type|[storage\_FileType](../types/storage_FileType.md) | Yes|File type| -|mtime|[int](../types/int.md) | Yes|Modification type| -|bytes|[bytes](../types/bytes.md) | Yes|Binary data, file content| - - - -### Type: [upload\_File](../types/upload_File.md) - - -### Example: - -```php -$upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int, 'bytes' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -upload_file={_='upload.file', type=storage_FileType, mtime=int, bytes='bytes'} - -``` - - diff --git a/docs/API_docs/constructors/upload_fileCdnRedirect.md b/docs/API_docs/constructors/upload_fileCdnRedirect.md deleted file mode 100644 index de504dc3..00000000 --- a/docs/API_docs/constructors/upload_fileCdnRedirect.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: upload.fileCdnRedirect -description: The file must be downloaded from a [CDN DC](https://core.telegram.org/cdn). -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: upload.fileCdnRedirect -[Back to constructors index](index.md) - - - -The file must be downloaded from a [CDN DC](https://core.telegram.org/cdn). - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|dc\_id|[int](../types/int.md) | Yes|[CDN DC](https://core.telegram.org/cdn) ID| -|file\_token|[bytes](../types/bytes.md) | Yes|File token (see [CDN files](https://core.telegram.org/cdn)| -|encryption\_key|[bytes](../types/bytes.md) | Yes|Encryption key (see [CDN files](https://core.telegram.org/cdn)| -|encryption\_iv|[bytes](../types/bytes.md) | Yes|Encryption IV (see [CDN files](https://core.telegram.org/cdn)| -|file\_hashes|Array of [FileHash](../types/FileHash.md) | Yes|File hashes| - - - -### Type: [upload\_File](../types/upload_File.md) - - -### Example: - -```php -$upload_fileCdnRedirect = ['_' => 'upload.fileCdnRedirect', 'dc_id' => int, 'file_token' => 'bytes', 'encryption_key' => 'bytes', 'encryption_iv' => 'bytes', 'file_hashes' => [FileHash, FileHash]]; -``` - - -Or, if you're into Lua: - -```lua -upload_fileCdnRedirect={_='upload.fileCdnRedirect', dc_id=int, file_token='bytes', encryption_key='bytes', encryption_iv='bytes', file_hashes={FileHash}} - -``` - - diff --git a/docs/API_docs/constructors/upload_webFile.md b/docs/API_docs/constructors/upload_webFile.md deleted file mode 100644 index ee8053b1..00000000 --- a/docs/API_docs/constructors/upload_webFile.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: upload.webFile -description: Represents a chunk of an [HTTP webfile](https://core.telegram.org/api/files) downloaded through telegram's secure MTProto servers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: upload.webFile -[Back to constructors index](index.md) - - - -Represents a chunk of an [HTTP webfile](https://core.telegram.org/api/files) downloaded through telegram's secure MTProto servers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|size|[int](../types/int.md) | Yes|File size| -|mime\_type|[string](../types/string.md) | Yes|Mime type| -|file\_type|[storage\_FileType](../types/storage_FileType.md) | Yes|File type| -|mtime|[int](../types/int.md) | Yes|Modified time| -|bytes|[bytes](../types/bytes.md) | Yes|Data| - - - -### Type: [upload\_WebFile](../types/upload_WebFile.md) - - -### Example: - -```php -$upload_webFile = ['_' => 'upload.webFile', 'size' => int, 'mime_type' => 'string', 'file_type' => storage_FileType, 'mtime' => int, 'bytes' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -upload_webFile={_='upload.webFile', size=int, mime_type='string', file_type=storage_FileType, mtime=int, bytes='bytes'} - -``` - - diff --git a/docs/API_docs/methods/account.getAuthorizationForm.md b/docs/API_docs/methods/account.getAuthorizationForm.md index 298951cb..b0d52e07 100644 --- a/docs/API_docs/methods/account.getAuthorizationForm.md +++ b/docs/API_docs/methods/account.getAuthorizationForm.md @@ -18,7 +18,7 @@ Returns a Telegram Passport authorization form for sharing data with a service |public\_key|[string](../types/string.md) | Service's public key | Yes| -### Return type: [account\_AuthorizationForm](../types/account_AuthorizationForm.md) +### Return type: [account.AuthorizationForm](../types/account.AuthorizationForm.md) ### Can bots use this method: **NO** @@ -35,12 +35,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_AuthorizationForm = $MadelineProto->account->getAuthorizationForm(['bot_id' => int, 'scope' => 'string', 'public_key' => 'string', ]); +$account.AuthorizationForm = $MadelineProto->account->getAuthorizationForm(['bot_id' => int, 'scope' => 'string', 'public_key' => 'string', ]); ``` Or, if you're into Lua: ```lua -account_AuthorizationForm = account.getAuthorizationForm({bot_id=int, scope='string', public_key='string', }) +account.AuthorizationForm = account.getAuthorizationForm({bot_id=int, scope='string', public_key='string', }) ``` diff --git a/docs/API_docs/methods/account.getAuthorizations.md b/docs/API_docs/methods/account.getAuthorizations.md index f69c130a..fad3a7ae 100644 --- a/docs/API_docs/methods/account.getAuthorizations.md +++ b/docs/API_docs/methods/account.getAuthorizations.md @@ -11,7 +11,7 @@ Get logged-in sessions -### Return type: [account\_Authorizations](../types/account_Authorizations.md) +### Return type: [account.Authorizations](../types/account.Authorizations.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_Authorizations = $MadelineProto->account->getAuthorizations(); +$account.Authorizations = $MadelineProto->account->getAuthorizations(); ``` Or, if you're into Lua: ```lua -account_Authorizations = account.getAuthorizations({}) +account.Authorizations = account.getAuthorizations({}) ``` diff --git a/docs/API_docs/methods/account.getAutoDownloadSettings.md b/docs/API_docs/methods/account.getAutoDownloadSettings.md index 5ad7db87..4f036f08 100644 --- a/docs/API_docs/methods/account.getAutoDownloadSettings.md +++ b/docs/API_docs/methods/account.getAutoDownloadSettings.md @@ -11,7 +11,7 @@ Get media autodownload settings -### Return type: [account\_AutoDownloadSettings](../types/account_AutoDownloadSettings.md) +### Return type: [account.AutoDownloadSettings](../types/account.AutoDownloadSettings.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_AutoDownloadSettings = $MadelineProto->account->getAutoDownloadSettings(); +$account.AutoDownloadSettings = $MadelineProto->account->getAutoDownloadSettings(); ``` Or, if you're into Lua: ```lua -account_AutoDownloadSettings = account.getAutoDownloadSettings({}) +account.AutoDownloadSettings = account.getAutoDownloadSettings({}) ``` diff --git a/docs/API_docs/methods/account.getPassword.md b/docs/API_docs/methods/account.getPassword.md index eed4aee3..621271b6 100644 --- a/docs/API_docs/methods/account.getPassword.md +++ b/docs/API_docs/methods/account.getPassword.md @@ -11,7 +11,7 @@ Obtain configuration for two-factor authorization with password -### Return type: [account\_Password](../types/account_Password.md) +### Return type: [account.Password](../types/account.Password.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_Password = $MadelineProto->account->getPassword(); +$account.Password = $MadelineProto->account->getPassword(); ``` Or, if you're into Lua: ```lua -account_Password = account.getPassword({}) +account.Password = account.getPassword({}) ``` diff --git a/docs/API_docs/methods/account.getPasswordSettings.md b/docs/API_docs/methods/account.getPasswordSettings.md index a7a47b1a..2b8607b9 100644 --- a/docs/API_docs/methods/account.getPasswordSettings.md +++ b/docs/API_docs/methods/account.getPasswordSettings.md @@ -16,7 +16,7 @@ You cannot use this method directly; use $MadelineProto->update_2fa($params), in |password|[InputCheckPasswordSRP](../types/InputCheckPasswordSRP.md) | You cannot use this method directly; use $MadelineProto->update_2fa($params), instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [account\_PasswordSettings](../types/account_PasswordSettings.md) +### Return type: [account.PasswordSettings](../types/account.PasswordSettings.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_PasswordSettings = $MadelineProto->account->getPasswordSettings(['password' => InputCheckPasswordSRP, ]); +$account.PasswordSettings = $MadelineProto->account->getPasswordSettings(['password' => InputCheckPasswordSRP, ]); ``` Or, if you're into Lua: ```lua -account_PasswordSettings = account.getPasswordSettings({password=InputCheckPasswordSRP, }) +account.PasswordSettings = account.getPasswordSettings({password=InputCheckPasswordSRP, }) ``` ### Errors diff --git a/docs/API_docs/methods/account.getPrivacy.md b/docs/API_docs/methods/account.getPrivacy.md index 6a240129..e20c292c 100644 --- a/docs/API_docs/methods/account.getPrivacy.md +++ b/docs/API_docs/methods/account.getPrivacy.md @@ -16,7 +16,7 @@ Get privacy settings of current account |key|[InputPrivacyKey](../types/InputPrivacyKey.md) | Peer category whose privacy settings should be fetched | Yes| -### Return type: [account\_PrivacyRules](../types/account_PrivacyRules.md) +### Return type: [account.PrivacyRules](../types/account.PrivacyRules.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_PrivacyRules = $MadelineProto->account->getPrivacy(['key' => InputPrivacyKey, ]); +$account.PrivacyRules = $MadelineProto->account->getPrivacy(['key' => InputPrivacyKey, ]); ``` Or, if you're into Lua: ```lua -account_PrivacyRules = account.getPrivacy({key=InputPrivacyKey, }) +account.PrivacyRules = account.getPrivacy({key=InputPrivacyKey, }) ``` ### Errors diff --git a/docs/API_docs/methods/account.getThemes.md b/docs/API_docs/methods/account.getThemes.md index 6bf00987..0749c66f 100644 --- a/docs/API_docs/methods/account.getThemes.md +++ b/docs/API_docs/methods/account.getThemes.md @@ -17,7 +17,7 @@ Get installed themes |hash|Array of [int](../types/int.md) | Hash for pagination | Optional| -### Return type: [account\_Themes](../types/account_Themes.md) +### Return type: [account.Themes](../types/account.Themes.md) ### Can bots use this method: **YES** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_Themes = $MadelineProto->account->getThemes(['format' => 'string', 'hash' => [int, int], ]); +$account.Themes = $MadelineProto->account->getThemes(['format' => 'string', 'hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -account_Themes = account.getThemes({format='string', hash={int}, }) +account.Themes = account.getThemes({format='string', hash={int}, }) ``` diff --git a/docs/API_docs/methods/account.getTmpPassword.md b/docs/API_docs/methods/account.getTmpPassword.md index 76729595..2328df1e 100644 --- a/docs/API_docs/methods/account.getTmpPassword.md +++ b/docs/API_docs/methods/account.getTmpPassword.md @@ -17,7 +17,7 @@ Get temporary payment password |period|[int](../types/int.md) | Time during which the temporary password will be valid, in seconds; should be between 60 and 86400 | Yes| -### Return type: [account\_TmpPassword](../types/account_TmpPassword.md) +### Return type: [account.TmpPassword](../types/account.TmpPassword.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_TmpPassword = $MadelineProto->account->getTmpPassword(['password' => InputCheckPasswordSRP, 'period' => int, ]); +$account.TmpPassword = $MadelineProto->account->getTmpPassword(['password' => InputCheckPasswordSRP, 'period' => int, ]); ``` Or, if you're into Lua: ```lua -account_TmpPassword = account.getTmpPassword({password=InputCheckPasswordSRP, period=int, }) +account.TmpPassword = account.getTmpPassword({password=InputCheckPasswordSRP, period=int, }) ``` ### Errors diff --git a/docs/API_docs/methods/account.getWallPapers.md b/docs/API_docs/methods/account.getWallPapers.md index 75c97ae2..aeb95929 100644 --- a/docs/API_docs/methods/account.getWallPapers.md +++ b/docs/API_docs/methods/account.getWallPapers.md @@ -16,7 +16,7 @@ Returns a list of available wallpapers. |hash|Array of [int](../types/int.md) | IDs of previously fetched wallpapers | Optional| -### Return type: [account\_WallPapers](../types/account_WallPapers.md) +### Return type: [account.WallPapers](../types/account.WallPapers.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_WallPapers = $MadelineProto->account->getWallPapers(['hash' => [int, int], ]); +$account.WallPapers = $MadelineProto->account->getWallPapers(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -account_WallPapers = account.getWallPapers({hash={int}, }) +account.WallPapers = account.getWallPapers({hash={int}, }) ``` diff --git a/docs/API_docs/methods/account.getWebAuthorizations.md b/docs/API_docs/methods/account.getWebAuthorizations.md index 1a43f138..b97fe978 100644 --- a/docs/API_docs/methods/account.getWebAuthorizations.md +++ b/docs/API_docs/methods/account.getWebAuthorizations.md @@ -11,7 +11,7 @@ Get web [login widget](https://core.telegram.org/widgets/login) authorizations -### Return type: [account\_WebAuthorizations](../types/account_WebAuthorizations.md) +### Return type: [account.WebAuthorizations](../types/account.WebAuthorizations.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_WebAuthorizations = $MadelineProto->account->getWebAuthorizations(); +$account.WebAuthorizations = $MadelineProto->account->getWebAuthorizations(); ``` Or, if you're into Lua: ```lua -account_WebAuthorizations = account.getWebAuthorizations({}) +account.WebAuthorizations = account.getWebAuthorizations({}) ``` diff --git a/docs/API_docs/methods/account.initTakeoutSession.md b/docs/API_docs/methods/account.initTakeoutSession.md index 01b3ae0f..3b8774b8 100644 --- a/docs/API_docs/methods/account.initTakeoutSession.md +++ b/docs/API_docs/methods/account.initTakeoutSession.md @@ -22,7 +22,7 @@ Intialize account takeout session |file\_max\_size|[int](../types/int.md) | Maximum size of files to export | Optional| -### Return type: [account\_Takeout](../types/account_Takeout.md) +### Return type: [account.Takeout](../types/account.Takeout.md) ### Can bots use this method: **NO** @@ -39,12 +39,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_Takeout = $MadelineProto->account->initTakeoutSession(['contacts' => Bool, 'message_users' => Bool, 'message_chats' => Bool, 'message_megagroups' => Bool, 'message_channels' => Bool, 'files' => Bool, 'file_max_size' => int, ]); +$account.Takeout = $MadelineProto->account->initTakeoutSession(['contacts' => Bool, 'message_users' => Bool, 'message_chats' => Bool, 'message_megagroups' => Bool, 'message_channels' => Bool, 'files' => Bool, 'file_max_size' => int, ]); ``` Or, if you're into Lua: ```lua -account_Takeout = account.initTakeoutSession({contacts=Bool, message_users=Bool, message_chats=Bool, message_megagroups=Bool, message_channels=Bool, files=Bool, file_max_size=int, }) +account.Takeout = account.initTakeoutSession({contacts=Bool, message_users=Bool, message_chats=Bool, message_megagroups=Bool, message_channels=Bool, files=Bool, file_max_size=int, }) ``` diff --git a/docs/API_docs/methods/account.sendChangePhoneCode.md b/docs/API_docs/methods/account.sendChangePhoneCode.md index 1efd192e..469a602d 100644 --- a/docs/API_docs/methods/account.sendChangePhoneCode.md +++ b/docs/API_docs/methods/account.sendChangePhoneCode.md @@ -17,7 +17,7 @@ Verify a new phone number to associate to the current account |settings|[CodeSettings](../types/CodeSettings.md) | Phone code settings | Yes| -### Return type: [auth\_SentCode](../types/auth_SentCode.md) +### Return type: [auth.SentCode](../types/auth.SentCode.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_SentCode = $MadelineProto->account->sendChangePhoneCode(['phone_number' => 'string', 'settings' => CodeSettings, ]); +$auth.SentCode = $MadelineProto->account->sendChangePhoneCode(['phone_number' => 'string', 'settings' => CodeSettings, ]); ``` Or, if you're into Lua: ```lua -auth_SentCode = account.sendChangePhoneCode({phone_number='string', settings=CodeSettings, }) +auth.SentCode = account.sendChangePhoneCode({phone_number='string', settings=CodeSettings, }) ``` ### Errors diff --git a/docs/API_docs/methods/account.sendConfirmPhoneCode.md b/docs/API_docs/methods/account.sendConfirmPhoneCode.md index bd8cf87e..1927681f 100644 --- a/docs/API_docs/methods/account.sendConfirmPhoneCode.md +++ b/docs/API_docs/methods/account.sendConfirmPhoneCode.md @@ -17,7 +17,7 @@ Send confirmation code to cancel account deletion, for more info [click here »] |settings|[CodeSettings](../types/CodeSettings.md) | Phone code settings | Yes| -### Return type: [auth\_SentCode](../types/auth_SentCode.md) +### Return type: [auth.SentCode](../types/auth.SentCode.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_SentCode = $MadelineProto->account->sendConfirmPhoneCode(['hash' => 'string', 'settings' => CodeSettings, ]); +$auth.SentCode = $MadelineProto->account->sendConfirmPhoneCode(['hash' => 'string', 'settings' => CodeSettings, ]); ``` Or, if you're into Lua: ```lua -auth_SentCode = account.sendConfirmPhoneCode({hash='string', settings=CodeSettings, }) +auth.SentCode = account.sendConfirmPhoneCode({hash='string', settings=CodeSettings, }) ``` ### Errors diff --git a/docs/API_docs/methods/account.sendVerifyEmailCode.md b/docs/API_docs/methods/account.sendVerifyEmailCode.md index 54b1fc3f..a4768852 100644 --- a/docs/API_docs/methods/account.sendVerifyEmailCode.md +++ b/docs/API_docs/methods/account.sendVerifyEmailCode.md @@ -16,7 +16,7 @@ Send the verification email code for telegram [passport](https://core.telegram.o |email|[string](../types/string.md) | The email where to send the code | Yes| -### Return type: [account\_SentEmailCode](../types/account_SentEmailCode.md) +### Return type: [account.SentEmailCode](../types/account.SentEmailCode.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_SentEmailCode = $MadelineProto->account->sendVerifyEmailCode(['email' => 'string', ]); +$account.SentEmailCode = $MadelineProto->account->sendVerifyEmailCode(['email' => 'string', ]); ``` Or, if you're into Lua: ```lua -account_SentEmailCode = account.sendVerifyEmailCode({email='string', }) +account.SentEmailCode = account.sendVerifyEmailCode({email='string', }) ``` diff --git a/docs/API_docs/methods/account.sendVerifyPhoneCode.md b/docs/API_docs/methods/account.sendVerifyPhoneCode.md index 0b058240..3ff2fae7 100644 --- a/docs/API_docs/methods/account.sendVerifyPhoneCode.md +++ b/docs/API_docs/methods/account.sendVerifyPhoneCode.md @@ -17,7 +17,7 @@ Send the verification phone code for telegram [passport](https://core.telegram.o |settings|[CodeSettings](../types/CodeSettings.md) | Phone code settings | Yes| -### Return type: [auth\_SentCode](../types/auth_SentCode.md) +### Return type: [auth.SentCode](../types/auth.SentCode.md) ### Can bots use this method: **NO** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_SentCode = $MadelineProto->account->sendVerifyPhoneCode(['phone_number' => 'string', 'settings' => CodeSettings, ]); +$auth.SentCode = $MadelineProto->account->sendVerifyPhoneCode(['phone_number' => 'string', 'settings' => CodeSettings, ]); ``` Or, if you're into Lua: ```lua -auth_SentCode = account.sendVerifyPhoneCode({phone_number='string', settings=CodeSettings, }) +auth.SentCode = account.sendVerifyPhoneCode({phone_number='string', settings=CodeSettings, }) ``` diff --git a/docs/API_docs/methods/account.setPrivacy.md b/docs/API_docs/methods/account.setPrivacy.md index 7c4cfba7..096d373e 100644 --- a/docs/API_docs/methods/account.setPrivacy.md +++ b/docs/API_docs/methods/account.setPrivacy.md @@ -17,7 +17,7 @@ Change privacy settings of current account |rules|Array of [InputPrivacyRule](../types/InputPrivacyRule.md) | Privacy settings | Yes| -### Return type: [account\_PrivacyRules](../types/account_PrivacyRules.md) +### Return type: [account.PrivacyRules](../types/account.PrivacyRules.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_PrivacyRules = $MadelineProto->account->setPrivacy(['key' => InputPrivacyKey, 'rules' => [InputPrivacyRule, InputPrivacyRule], ]); +$account.PrivacyRules = $MadelineProto->account->setPrivacy(['key' => InputPrivacyKey, 'rules' => [InputPrivacyRule, InputPrivacyRule], ]); ``` Or, if you're into Lua: ```lua -account_PrivacyRules = account.setPrivacy({key=InputPrivacyKey, rules={InputPrivacyRule}, }) +account.PrivacyRules = account.setPrivacy({key=InputPrivacyKey, rules={InputPrivacyRule}, }) ``` ### Errors diff --git a/docs/API_docs/methods/api_index.md b/docs/API_docs/methods/api_index.md index 165f0bc4..41b7ce61 100644 --- a/docs/API_docs/methods/api_index.md +++ b/docs/API_docs/methods/api_index.md @@ -84,15 +84,15 @@ $MadelineProto->[account->getAllSecureValues](account.getAllSecureValues.md)(\[\ ***

-$MadelineProto->[account->getAuthorizationForm](account.getAuthorizationForm.md)(\['bot_id' => [int](../types/int.md), 'scope' => [string](../types/string.md), 'public_key' => [string](../types/string.md), \]) === [$account\_AuthorizationForm](../types/account_AuthorizationForm.md) +$MadelineProto->[account->getAuthorizationForm](account.getAuthorizationForm.md)(\['bot_id' => [int](../types/int.md), 'scope' => [string](../types/string.md), 'public_key' => [string](../types/string.md), \]) === [$account.AuthorizationForm](../types/account.AuthorizationForm.md) ***

-$MadelineProto->[account->getAuthorizations](account.getAuthorizations.md)(\[\]) === [$account\_Authorizations](../types/account_Authorizations.md) +$MadelineProto->[account->getAuthorizations](account.getAuthorizations.md)(\[\]) === [$account.Authorizations](../types/account.Authorizations.md) ***

-$MadelineProto->[account->getAutoDownloadSettings](account.getAutoDownloadSettings.md)(\[\]) === [$account\_AutoDownloadSettings](../types/account_AutoDownloadSettings.md) +$MadelineProto->[account->getAutoDownloadSettings](account.getAutoDownloadSettings.md)(\[\]) === [$account.AutoDownloadSettings](../types/account.AutoDownloadSettings.md) ***

@@ -108,15 +108,15 @@ $MadelineProto->[account->getNotifySettings](account.getNotifySettings.md)(\['pe ***

-$MadelineProto->[account->getPassword](account.getPassword.md)(\[\]) === [$account\_Password](../types/account_Password.md) +$MadelineProto->[account->getPassword](account.getPassword.md)(\[\]) === [$account.Password](../types/account.Password.md) ***

-$MadelineProto->[account->getPasswordSettings](account.getPasswordSettings.md)(\['password' => [InputCheckPasswordSRP](../types/InputCheckPasswordSRP.md), \]) === [$account\_PasswordSettings](../types/account_PasswordSettings.md) +$MadelineProto->[account->getPasswordSettings](account.getPasswordSettings.md)(\['password' => [InputCheckPasswordSRP](../types/InputCheckPasswordSRP.md), \]) === [$account.PasswordSettings](../types/account.PasswordSettings.md) ***

-$MadelineProto->[account->getPrivacy](account.getPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), \]) === [$account\_PrivacyRules](../types/account_PrivacyRules.md) +$MadelineProto->[account->getPrivacy](account.getPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), \]) === [$account.PrivacyRules](../types/account.PrivacyRules.md) ***

@@ -128,11 +128,11 @@ $MadelineProto->[account->getTheme](account.getTheme.md)(\['format' => [string]( ***

-$MadelineProto->[account->getThemes](account.getThemes.md)(\['format' => [string](../types/string.md), 'hash' => [int](../types/int.md), \]) === [$account\_Themes](../types/account_Themes.md) +$MadelineProto->[account->getThemes](account.getThemes.md)(\['format' => [string](../types/string.md), 'hash' => [int](../types/int.md), \]) === [$account.Themes](../types/account.Themes.md) ***

-$MadelineProto->[account->getTmpPassword](account.getTmpPassword.md)(\['password' => [InputCheckPasswordSRP](../types/InputCheckPasswordSRP.md), 'period' => [int](../types/int.md), \]) === [$account\_TmpPassword](../types/account_TmpPassword.md) +$MadelineProto->[account->getTmpPassword](account.getTmpPassword.md)(\['password' => [InputCheckPasswordSRP](../types/InputCheckPasswordSRP.md), 'period' => [int](../types/int.md), \]) === [$account.TmpPassword](../types/account.TmpPassword.md) ***

@@ -140,15 +140,15 @@ $MadelineProto->[account->getWallPaper](account.getWallPaper.md)(\['wallpaper' = ***

-$MadelineProto->[account->getWallPapers](account.getWallPapers.md)(\['hash' => [int](../types/int.md), \]) === [$account\_WallPapers](../types/account_WallPapers.md) +$MadelineProto->[account->getWallPapers](account.getWallPapers.md)(\['hash' => [int](../types/int.md), \]) === [$account.WallPapers](../types/account.WallPapers.md) ***

-$MadelineProto->[account->getWebAuthorizations](account.getWebAuthorizations.md)(\[\]) === [$account\_WebAuthorizations](../types/account_WebAuthorizations.md) +$MadelineProto->[account->getWebAuthorizations](account.getWebAuthorizations.md)(\[\]) === [$account.WebAuthorizations](../types/account.WebAuthorizations.md) ***

-$MadelineProto->[account->initTakeoutSession](account.initTakeoutSession.md)(\['contacts' => [Bool](../types/Bool.md), 'message_users' => [Bool](../types/Bool.md), 'message_chats' => [Bool](../types/Bool.md), 'message_megagroups' => [Bool](../types/Bool.md), 'message_channels' => [Bool](../types/Bool.md), 'files' => [Bool](../types/Bool.md), 'file_max_size' => [int](../types/int.md), \]) === [$account\_Takeout](../types/account_Takeout.md) +$MadelineProto->[account->initTakeoutSession](account.initTakeoutSession.md)(\['contacts' => [Bool](../types/Bool.md), 'message_users' => [Bool](../types/Bool.md), 'message_chats' => [Bool](../types/Bool.md), 'message_megagroups' => [Bool](../types/Bool.md), 'message_channels' => [Bool](../types/Bool.md), 'files' => [Bool](../types/Bool.md), 'file_max_size' => [int](../types/int.md), \]) === [$account.Takeout](../types/account.Takeout.md) ***

@@ -208,19 +208,19 @@ $MadelineProto->[account->saveWallPaper](account.saveWallPaper.md)(\['wallpaper' ***

-$MadelineProto->[account->sendChangePhoneCode](account.sendChangePhoneCode.md)(\['phone_number' => [string](../types/string.md), 'settings' => [CodeSettings](../types/CodeSettings.md), \]) === [$auth\_SentCode](../types/auth_SentCode.md) +$MadelineProto->[account->sendChangePhoneCode](account.sendChangePhoneCode.md)(\['phone_number' => [string](../types/string.md), 'settings' => [CodeSettings](../types/CodeSettings.md), \]) === [$auth.SentCode](../types/auth.SentCode.md) ***

-$MadelineProto->[account->sendConfirmPhoneCode](account.sendConfirmPhoneCode.md)(\['hash' => [string](../types/string.md), 'settings' => [CodeSettings](../types/CodeSettings.md), \]) === [$auth\_SentCode](../types/auth_SentCode.md) +$MadelineProto->[account->sendConfirmPhoneCode](account.sendConfirmPhoneCode.md)(\['hash' => [string](../types/string.md), 'settings' => [CodeSettings](../types/CodeSettings.md), \]) === [$auth.SentCode](../types/auth.SentCode.md) ***

-$MadelineProto->[account->sendVerifyEmailCode](account.sendVerifyEmailCode.md)(\['email' => [string](../types/string.md), \]) === [$account\_SentEmailCode](../types/account_SentEmailCode.md) +$MadelineProto->[account->sendVerifyEmailCode](account.sendVerifyEmailCode.md)(\['email' => [string](../types/string.md), \]) === [$account.SentEmailCode](../types/account.SentEmailCode.md) ***

-$MadelineProto->[account->sendVerifyPhoneCode](account.sendVerifyPhoneCode.md)(\['phone_number' => [string](../types/string.md), 'settings' => [CodeSettings](../types/CodeSettings.md), \]) === [$auth\_SentCode](../types/auth_SentCode.md) +$MadelineProto->[account->sendVerifyPhoneCode](account.sendVerifyPhoneCode.md)(\['phone_number' => [string](../types/string.md), 'settings' => [CodeSettings](../types/CodeSettings.md), \]) === [$auth.SentCode](../types/auth.SentCode.md) ***

@@ -232,7 +232,7 @@ $MadelineProto->[account->setContactSignUpNotification](account.setContactSignUp ***

-$MadelineProto->[account->setPrivacy](account.setPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), 'rules' => \[[InputPrivacyRule](../types/InputPrivacyRule.md)\], \]) === [$account\_PrivacyRules](../types/account_PrivacyRules.md) +$MadelineProto->[account->setPrivacy](account.setPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), 'rules' => \[[InputPrivacyRule](../types/InputPrivacyRule.md)\], \]) === [$account.PrivacyRules](../types/account.PrivacyRules.md) ***

@@ -292,7 +292,7 @@ $MadelineProto->[auth->cancelCode](auth.cancelCode.md)(\['phone_number' => [stri ***

-$MadelineProto->[auth->checkPassword](auth.checkPassword.md)(\['password' => [InputCheckPasswordSRP](../types/InputCheckPasswordSRP.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->checkPassword](auth.checkPassword.md)(\['password' => [InputCheckPasswordSRP](../types/InputCheckPasswordSRP.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

@@ -300,15 +300,15 @@ $MadelineProto->[auth->dropTempAuthKeys](auth.dropTempAuthKeys.md)(\['except_aut ***

-$MadelineProto->[auth->exportAuthorization](auth.exportAuthorization.md)(\['dc_id' => [int](../types/int.md), \]) === [$auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) +$MadelineProto->[auth->exportAuthorization](auth.exportAuthorization.md)(\['dc_id' => [int](../types/int.md), \]) === [$auth.ExportedAuthorization](../types/auth.ExportedAuthorization.md) ***

-$MadelineProto->[auth->importAuthorization](auth.importAuthorization.md)(\['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->importAuthorization](auth.importAuthorization.md)(\['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

-$MadelineProto->[auth->importBotAuthorization](auth.importBotAuthorization.md)(\['api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), 'bot_auth_token' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->importBotAuthorization](auth.importBotAuthorization.md)(\['api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), 'bot_auth_token' => [string](../types/string.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

@@ -316,15 +316,15 @@ $MadelineProto->[auth->logOut](auth.logOut.md)(\[\]) === [$Bool](../types/Bool.m ***

-$MadelineProto->[auth->recoverPassword](auth.recoverPassword.md)(\['code' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->recoverPassword](auth.recoverPassword.md)(\['code' => [string](../types/string.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

-$MadelineProto->[auth->requestPasswordRecovery](auth.requestPasswordRecovery.md)(\[\]) === [$auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) +$MadelineProto->[auth->requestPasswordRecovery](auth.requestPasswordRecovery.md)(\[\]) === [$auth.PasswordRecovery](../types/auth.PasswordRecovery.md) ***

-$MadelineProto->[auth->resendCode](auth.resendCode.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), \]) === [$auth\_SentCode](../types/auth_SentCode.md) +$MadelineProto->[auth->resendCode](auth.resendCode.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), \]) === [$auth.SentCode](../types/auth.SentCode.md) ***

@@ -332,15 +332,15 @@ $MadelineProto->[auth->resetAuthorizations](auth.resetAuthorizations.md)(\[\]) = ***

-$MadelineProto->[auth->sendCode](auth.sendCode.md)(\['phone_number' => [string](../types/string.md), 'api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), 'settings' => [CodeSettings](../types/CodeSettings.md), \]) === [$auth\_SentCode](../types/auth_SentCode.md) +$MadelineProto->[auth->sendCode](auth.sendCode.md)(\['phone_number' => [string](../types/string.md), 'api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), 'settings' => [CodeSettings](../types/CodeSettings.md), \]) === [$auth.SentCode](../types/auth.SentCode.md) ***

-$MadelineProto->[auth->signIn](auth.signIn.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->signIn](auth.signIn.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

-$MadelineProto->[auth->signUp](auth.signUp.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->signUp](auth.signUp.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

@@ -368,11 +368,11 @@ $MadelineProto->[channels->deleteHistory](channels.deleteHistory.md)(\['channel' ***

-$MadelineProto->[channels->deleteMessages](channels.deleteMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) +$MadelineProto->[channels->deleteMessages](channels.deleteMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages.AffectedMessages](../types/messages.AffectedMessages.md) ***

-$MadelineProto->[channels->deleteUserHistory](channels.deleteUserHistory.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages\_AffectedHistory](../types/messages_AffectedHistory.md) +$MadelineProto->[channels->deleteUserHistory](channels.deleteUserHistory.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages.AffectedHistory](../types/messages.AffectedHistory.md) ***

@@ -404,39 +404,39 @@ $MadelineProto->[channels->exportMessageLink](channels.exportMessageLink.md)(\[' ***

-$MadelineProto->[channels->getAdminLog](channels.getAdminLog.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'q' => [string](../types/string.md), 'events_filter' => [ChannelAdminLogEventsFilter](../types/ChannelAdminLogEventsFilter.md), 'admins' => \[[InputUser](../types/InputUser.md)\], 'max_id' => [long](../types/long.md), 'min_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$channels\_AdminLogResults](../types/channels_AdminLogResults.md) +$MadelineProto->[channels->getAdminLog](channels.getAdminLog.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'q' => [string](../types/string.md), 'events_filter' => [ChannelAdminLogEventsFilter](../types/ChannelAdminLogEventsFilter.md), 'admins' => \[[InputUser](../types/InputUser.md)\], 'max_id' => [long](../types/long.md), 'min_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$channels.AdminLogResults](../types/channels.AdminLogResults.md) ***

-$MadelineProto->[channels->getAdminedPublicChannels](channels.getAdminedPublicChannels.md)(\['by_location' => [Bool](../types/Bool.md), 'check_limit' => [Bool](../types/Bool.md), \]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[channels->getAdminedPublicChannels](channels.getAdminedPublicChannels.md)(\['by_location' => [Bool](../types/Bool.md), 'check_limit' => [Bool](../types/Bool.md), \]) === [$messages.Chats](../types/messages.Chats.md) ***

-$MadelineProto->[channels->getChannels](channels.getChannels.md)(\['id' => \[[InputChannel](../types/InputChannel.md)\], \]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[channels->getChannels](channels.getChannels.md)(\['id' => \[[InputChannel](../types/InputChannel.md)\], \]) === [$messages.Chats](../types/messages.Chats.md) ***

-$MadelineProto->[channels->getFullChannel](channels.getFullChannel.md)(\['channel' => [InputChannel](../types/InputChannel.md), \]) === [$messages\_ChatFull](../types/messages_ChatFull.md) +$MadelineProto->[channels->getFullChannel](channels.getFullChannel.md)(\['channel' => [InputChannel](../types/InputChannel.md), \]) === [$messages.ChatFull](../types/messages.ChatFull.md) ***

-$MadelineProto->[channels->getGroupsForDiscussion](channels.getGroupsForDiscussion.md)(\[\]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[channels->getGroupsForDiscussion](channels.getGroupsForDiscussion.md)(\[\]) === [$messages.Chats](../types/messages.Chats.md) ***

-$MadelineProto->[channels->getLeftChannels](channels.getLeftChannels.md)(\['offset' => [int](../types/int.md), \]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[channels->getLeftChannels](channels.getLeftChannels.md)(\['offset' => [int](../types/int.md), \]) === [$messages.Chats](../types/messages.Chats.md) ***

-$MadelineProto->[channels->getMessages](channels.getMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[InputMessage](../types/InputMessage.md)\], \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[channels->getMessages](channels.getMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[InputMessage](../types/InputMessage.md)\], \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[channels->getParticipant](channels.getParticipant.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$channels\_ChannelParticipant](../types/channels_ChannelParticipant.md) +$MadelineProto->[channels->getParticipant](channels.getParticipant.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$channels.ChannelParticipant](../types/channels.ChannelParticipant.md) ***

-$MadelineProto->[channels->getParticipants](channels.getParticipants.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$channels\_ChannelParticipants](../types/channels_ChannelParticipants.md) +$MadelineProto->[channels->getParticipants](channels.getParticipants.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$channels.ChannelParticipants](../types/channels.ChannelParticipants.md) ***

@@ -508,7 +508,7 @@ $MadelineProto->[contacts->deleteContacts](contacts.deleteContacts.md)(\['id' => ***

-$MadelineProto->[contacts->getBlocked](contacts.getBlocked.md)(\['offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$contacts\_Blocked](../types/contacts_Blocked.md) +$MadelineProto->[contacts->getBlocked](contacts.getBlocked.md)(\['offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$contacts.Blocked](../types/contacts.Blocked.md) ***

@@ -516,7 +516,7 @@ $MadelineProto->[contacts->getContactIDs](contacts.getContactIDs.md)(\['hash' => ***

-$MadelineProto->[contacts->getContacts](contacts.getContacts.md)(\['hash' => [int](../types/int.md), \]) === [$contacts\_Contacts](../types/contacts_Contacts.md) +$MadelineProto->[contacts->getContacts](contacts.getContacts.md)(\['hash' => [int](../types/int.md), \]) === [$contacts.Contacts](../types/contacts.Contacts.md) ***

@@ -532,11 +532,11 @@ $MadelineProto->[contacts->getStatuses](contacts.getStatuses.md)(\[\]) === [$Vec ***

-$MadelineProto->[contacts->getTopPeers](contacts.getTopPeers.md)(\['correspondents' => [Bool](../types/Bool.md), 'bots_pm' => [Bool](../types/Bool.md), 'bots_inline' => [Bool](../types/Bool.md), 'phone_calls' => [Bool](../types/Bool.md), 'forward_users' => [Bool](../types/Bool.md), 'forward_chats' => [Bool](../types/Bool.md), 'groups' => [Bool](../types/Bool.md), 'channels' => [Bool](../types/Bool.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$contacts\_TopPeers](../types/contacts_TopPeers.md) +$MadelineProto->[contacts->getTopPeers](contacts.getTopPeers.md)(\['correspondents' => [Bool](../types/Bool.md), 'bots_pm' => [Bool](../types/Bool.md), 'bots_inline' => [Bool](../types/Bool.md), 'phone_calls' => [Bool](../types/Bool.md), 'forward_users' => [Bool](../types/Bool.md), 'forward_chats' => [Bool](../types/Bool.md), 'groups' => [Bool](../types/Bool.md), 'channels' => [Bool](../types/Bool.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$contacts.TopPeers](../types/contacts.TopPeers.md) ***

-$MadelineProto->[contacts->importContacts](contacts.importContacts.md)(\['contacts' => \[[InputContact](../types/InputContact.md)\], \]) === [$contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) +$MadelineProto->[contacts->importContacts](contacts.importContacts.md)(\['contacts' => \[[InputContact](../types/InputContact.md)\], \]) === [$contacts.ImportedContacts](../types/contacts.ImportedContacts.md) ***

@@ -548,11 +548,11 @@ $MadelineProto->[contacts->resetTopPeerRating](contacts.resetTopPeerRating.md)(\ ***

-$MadelineProto->[contacts->resolveUsername](contacts.resolveUsername.md)(\['username' => [string](../types/string.md), \]) === [$contacts\_ResolvedPeer](../types/contacts_ResolvedPeer.md) +$MadelineProto->[contacts->resolveUsername](contacts.resolveUsername.md)(\['username' => [string](../types/string.md), \]) === [$contacts.ResolvedPeer](../types/contacts.ResolvedPeer.md) ***

-$MadelineProto->[contacts->search](contacts.search.md)(\['q' => [string](../types/string.md), 'limit' => [int](../types/int.md), \]) === [$contacts\_Found](../types/contacts_Found.md) +$MadelineProto->[contacts->search](contacts.search.md)(\['q' => [string](../types/string.md), 'limit' => [int](../types/int.md), \]) === [$contacts.Found](../types/contacts.Found.md) ***

@@ -576,7 +576,7 @@ $MadelineProto->[help->acceptTermsOfService](help.acceptTermsOfService.md)(\['id ***

-$MadelineProto->[help->editUserInfo](help.editUserInfo.md)(\['user_id' => [InputUser](../types/InputUser.md), 'message' => [string](../types/string.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], \]) === [$help\_UserInfo](../types/help_UserInfo.md) +$MadelineProto->[help->editUserInfo](help.editUserInfo.md)(\['user_id' => [InputUser](../types/InputUser.md), 'message' => [string](../types/string.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], \]) === [$help.UserInfo](../types/help.UserInfo.md) ***

@@ -588,7 +588,7 @@ $MadelineProto->[help->getAppConfig](help.getAppConfig.md)(\[\]) === [$JSONValue ***

-$MadelineProto->[help->getAppUpdate](help.getAppUpdate.md)(\['source' => [string](../types/string.md), \]) === [$help\_AppUpdate](../types/help_AppUpdate.md) +$MadelineProto->[help->getAppUpdate](help.getAppUpdate.md)(\['source' => [string](../types/string.md), \]) === [$help.AppUpdate](../types/help.AppUpdate.md) ***

@@ -600,11 +600,11 @@ $MadelineProto->[help->getConfig](help.getConfig.md)(\[\]) === [$Config](../type ***

-$MadelineProto->[help->getDeepLinkInfo](help.getDeepLinkInfo.md)(\['path' => [string](../types/string.md), \]) === [$help\_DeepLinkInfo](../types/help_DeepLinkInfo.md) +$MadelineProto->[help->getDeepLinkInfo](help.getDeepLinkInfo.md)(\['path' => [string](../types/string.md), \]) === [$help.DeepLinkInfo](../types/help.DeepLinkInfo.md) ***

-$MadelineProto->[help->getInviteText](help.getInviteText.md)(\[\]) === [$help\_InviteText](../types/help_InviteText.md) +$MadelineProto->[help->getInviteText](help.getInviteText.md)(\[\]) === [$help.InviteText](../types/help.InviteText.md) ***

@@ -612,31 +612,31 @@ $MadelineProto->[help->getNearestDc](help.getNearestDc.md)(\[\]) === [$NearestDc ***

-$MadelineProto->[help->getPassportConfig](help.getPassportConfig.md)(\['hash' => [int](../types/int.md), \]) === [$help\_PassportConfig](../types/help_PassportConfig.md) +$MadelineProto->[help->getPassportConfig](help.getPassportConfig.md)(\['hash' => [int](../types/int.md), \]) === [$help.PassportConfig](../types/help.PassportConfig.md) ***

-$MadelineProto->[help->getProxyData](help.getProxyData.md)(\[\]) === [$help\_ProxyData](../types/help_ProxyData.md) +$MadelineProto->[help->getProxyData](help.getProxyData.md)(\[\]) === [$help.ProxyData](../types/help.ProxyData.md) ***

-$MadelineProto->[help->getRecentMeUrls](help.getRecentMeUrls.md)(\['referer' => [string](../types/string.md), \]) === [$help\_RecentMeUrls](../types/help_RecentMeUrls.md) +$MadelineProto->[help->getRecentMeUrls](help.getRecentMeUrls.md)(\['referer' => [string](../types/string.md), \]) === [$help.RecentMeUrls](../types/help.RecentMeUrls.md) ***

-$MadelineProto->[help->getSupport](help.getSupport.md)(\[\]) === [$help\_Support](../types/help_Support.md) +$MadelineProto->[help->getSupport](help.getSupport.md)(\[\]) === [$help.Support](../types/help.Support.md) ***

-$MadelineProto->[help->getSupportName](help.getSupportName.md)(\[\]) === [$help\_SupportName](../types/help_SupportName.md) +$MadelineProto->[help->getSupportName](help.getSupportName.md)(\[\]) === [$help.SupportName](../types/help.SupportName.md) ***

-$MadelineProto->[help->getTermsOfServiceUpdate](help.getTermsOfServiceUpdate.md)(\[\]) === [$help\_TermsOfServiceUpdate](../types/help_TermsOfServiceUpdate.md) +$MadelineProto->[help->getTermsOfServiceUpdate](help.getTermsOfServiceUpdate.md)(\[\]) === [$help.TermsOfServiceUpdate](../types/help.TermsOfServiceUpdate.md) ***

-$MadelineProto->[help->getUserInfo](help.getUserInfo.md)(\['user_id' => [InputUser](../types/InputUser.md), \]) === [$help\_UserInfo](../types/help_UserInfo.md) +$MadelineProto->[help->getUserInfo](help.getUserInfo.md)(\['user_id' => [InputUser](../types/InputUser.md), \]) === [$help.UserInfo](../types/help.UserInfo.md) ***

@@ -728,11 +728,11 @@ $MadelineProto->[messages->deleteChatUser](messages.deleteChatUser.md)(\['chat_i ***

-$MadelineProto->[messages->deleteHistory](messages.deleteHistory.md)(\['just_clear' => [Bool](../types/Bool.md), 'revoke' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), \]) === [$messages\_AffectedHistory](../types/messages_AffectedHistory.md) +$MadelineProto->[messages->deleteHistory](messages.deleteHistory.md)(\['just_clear' => [Bool](../types/Bool.md), 'revoke' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), \]) === [$messages.AffectedHistory](../types/messages.AffectedHistory.md) ***

-$MadelineProto->[messages->deleteMessages](messages.deleteMessages.md)(\['revoke' => [Bool](../types/Bool.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) +$MadelineProto->[messages->deleteMessages](messages.deleteMessages.md)(\['revoke' => [Bool](../types/Bool.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages.AffectedMessages](../types/messages.AffectedMessages.md) ***

@@ -784,7 +784,7 @@ $MadelineProto->[messages->forwardMessages](messages.forwardMessages.md)(\['sile ***

-$MadelineProto->[messages->getAllChats](messages.getAllChats.md)(\['except_ids' => \[[int](../types/int.md)\], \]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[messages->getAllChats](messages.getAllChats.md)(\['except_ids' => \[[int](../types/int.md)\], \]) === [$messages.Chats](../types/messages.Chats.md) ***

@@ -792,11 +792,11 @@ $MadelineProto->[messages->getAllDrafts](messages.getAllDrafts.md)(\[\]) === [$U ***

-$MadelineProto->[messages->getAllStickers](messages.getAllStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages\_AllStickers](../types/messages_AllStickers.md) +$MadelineProto->[messages->getAllStickers](messages.getAllStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages.AllStickers](../types/messages.AllStickers.md) ***

-$MadelineProto->[messages->getArchivedStickers](messages.getArchivedStickers.md)(\['masks' => [Bool](../types/Bool.md), 'offset_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$messages\_ArchivedStickers](../types/messages_ArchivedStickers.md) +$MadelineProto->[messages->getArchivedStickers](messages.getArchivedStickers.md)(\['masks' => [Bool](../types/Bool.md), 'offset_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$messages.ArchivedStickers](../types/messages.ArchivedStickers.md) ***

@@ -804,19 +804,19 @@ $MadelineProto->[messages->getAttachedStickers](messages.getAttachedStickers.md) ***

-$MadelineProto->[messages->getBotCallbackAnswer](messages.getBotCallbackAnswer.md)(\['game' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'msg_id' => [int](../types/int.md), 'data' => [bytes](../types/bytes.md), \]) === [$messages\_BotCallbackAnswer](../types/messages_BotCallbackAnswer.md) +$MadelineProto->[messages->getBotCallbackAnswer](messages.getBotCallbackAnswer.md)(\['game' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'msg_id' => [int](../types/int.md), 'data' => [bytes](../types/bytes.md), \]) === [$messages.BotCallbackAnswer](../types/messages.BotCallbackAnswer.md) ***

-$MadelineProto->[messages->getChats](messages.getChats.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[messages->getChats](messages.getChats.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages.Chats](../types/messages.Chats.md) ***

-$MadelineProto->[messages->getCommonChats](messages.getCommonChats.md)(\['user_id' => [InputUser](../types/InputUser.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[messages->getCommonChats](messages.getCommonChats.md)(\['user_id' => [InputUser](../types/InputUser.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages.Chats](../types/messages.Chats.md) ***

-$MadelineProto->[messages->getDhConfig](messages.getDhConfig.md)(\['version' => [int](../types/int.md), 'random_length' => [int](../types/int.md), \]) === [$messages\_DhConfig](../types/messages_DhConfig.md) +$MadelineProto->[messages->getDhConfig](messages.getDhConfig.md)(\['version' => [int](../types/int.md), 'random_length' => [int](../types/int.md), \]) === [$messages.DhConfig](../types/messages.DhConfig.md) ***

@@ -824,7 +824,7 @@ $MadelineProto->[messages->getDialogUnreadMarks](messages.getDialogUnreadMarks.m ***

-$MadelineProto->[messages->getDialogs](messages.getDialogs.md)(\['exclude_pinned' => [Bool](../types/Bool.md), 'folder_id' => [int](../types/int.md), 'offset_date' => [int](../types/int.md), 'offset_id' => [int](../types/int.md), 'offset_peer' => [InputPeer](../types/InputPeer.md), 'limit' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$messages\_Dialogs](../types/messages_Dialogs.md) +$MadelineProto->[messages->getDialogs](messages.getDialogs.md)(\['exclude_pinned' => [Bool](../types/Bool.md), 'folder_id' => [int](../types/int.md), 'offset_date' => [int](../types/int.md), 'offset_id' => [int](../types/int.md), 'offset_peer' => [InputPeer](../types/InputPeer.md), 'limit' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$messages.Dialogs](../types/messages.Dialogs.md) ***

@@ -848,43 +848,43 @@ $MadelineProto->[messages->getEmojiURL](messages.getEmojiURL.md)(\['lang_code' = ***

-$MadelineProto->[messages->getFavedStickers](messages.getFavedStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages\_FavedStickers](../types/messages_FavedStickers.md) +$MadelineProto->[messages->getFavedStickers](messages.getFavedStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages.FavedStickers](../types/messages.FavedStickers.md) ***

-$MadelineProto->[messages->getFeaturedStickers](messages.getFeaturedStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages\_FeaturedStickers](../types/messages_FeaturedStickers.md) +$MadelineProto->[messages->getFeaturedStickers](messages.getFeaturedStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages.FeaturedStickers](../types/messages.FeaturedStickers.md) ***

-$MadelineProto->[messages->getFullChat](messages.getFullChat.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), \]) === [$messages\_ChatFull](../types/messages_ChatFull.md) +$MadelineProto->[messages->getFullChat](messages.getFullChat.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), \]) === [$messages.ChatFull](../types/messages.ChatFull.md) ***

-$MadelineProto->[messages->getGameHighScores](messages.getGameHighScores.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages\_HighScores](../types/messages_HighScores.md) +$MadelineProto->[messages->getGameHighScores](messages.getGameHighScores.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages.HighScores](../types/messages.HighScores.md) ***

-$MadelineProto->[messages->getHistory](messages.getHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'offset_date' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->getHistory](messages.getHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'offset_date' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[messages->getInlineBotResults](messages.getInlineBotResults.md)(\['bot' => [InputUser](../types/InputUser.md), 'peer' => [InputPeer](../types/InputPeer.md), 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'query' => [string](../types/string.md), 'offset' => [string](../types/string.md), \]) === [$messages\_BotResults](../types/messages_BotResults.md) +$MadelineProto->[messages->getInlineBotResults](messages.getInlineBotResults.md)(\['bot' => [InputUser](../types/InputUser.md), 'peer' => [InputPeer](../types/InputPeer.md), 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'query' => [string](../types/string.md), 'offset' => [string](../types/string.md), \]) === [$messages.BotResults](../types/messages.BotResults.md) ***

-$MadelineProto->[messages->getInlineGameHighScores](messages.getInlineGameHighScores.md)(\['id' => [InputBotInlineMessageID](../types/InputBotInlineMessageID.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages\_HighScores](../types/messages_HighScores.md) +$MadelineProto->[messages->getInlineGameHighScores](messages.getInlineGameHighScores.md)(\['id' => [InputBotInlineMessageID](../types/InputBotInlineMessageID.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages.HighScores](../types/messages.HighScores.md) ***

-$MadelineProto->[messages->getMaskStickers](messages.getMaskStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages\_AllStickers](../types/messages_AllStickers.md) +$MadelineProto->[messages->getMaskStickers](messages.getMaskStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages.AllStickers](../types/messages.AllStickers.md) ***

-$MadelineProto->[messages->getMessageEditData](messages.getMessageEditData.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), \]) === [$messages\_MessageEditData](../types/messages_MessageEditData.md) +$MadelineProto->[messages->getMessageEditData](messages.getMessageEditData.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), \]) === [$messages.MessageEditData](../types/messages.MessageEditData.md) ***

-$MadelineProto->[messages->getMessages](messages.getMessages.md)(\['id' => \[[InputMessage](../types/InputMessage.md)\], \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->getMessages](messages.getMessages.md)(\['id' => \[[InputMessage](../types/InputMessage.md)\], \]) === [$messages.Messages](../types/messages.Messages.md) ***

@@ -896,7 +896,7 @@ $MadelineProto->[messages->getOnlines](messages.getOnlines.md)(\['peer' => [Inpu ***

-$MadelineProto->[messages->getPeerDialogs](messages.getPeerDialogs.md)(\['peers' => \[[InputDialogPeer](../types/InputDialogPeer.md)\], \]) === [$messages\_PeerDialogs](../types/messages_PeerDialogs.md) +$MadelineProto->[messages->getPeerDialogs](messages.getPeerDialogs.md)(\['peers' => \[[InputDialogPeer](../types/InputDialogPeer.md)\], \]) === [$messages.PeerDialogs](../types/messages.PeerDialogs.md) ***

@@ -904,7 +904,7 @@ $MadelineProto->[messages->getPeerSettings](messages.getPeerSettings.md)(\['peer ***

-$MadelineProto->[messages->getPinnedDialogs](messages.getPinnedDialogs.md)(\['folder_id' => [int](../types/int.md), \]) === [$messages\_PeerDialogs](../types/messages_PeerDialogs.md) +$MadelineProto->[messages->getPinnedDialogs](messages.getPinnedDialogs.md)(\['folder_id' => [int](../types/int.md), \]) === [$messages.PeerDialogs](../types/messages.PeerDialogs.md) ***

@@ -912,27 +912,27 @@ $MadelineProto->[messages->getPollResults](messages.getPollResults.md)(\['peer' ***

-$MadelineProto->[messages->getRecentLocations](messages.getRecentLocations.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'limit' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->getRecentLocations](messages.getRecentLocations.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'limit' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[messages->getRecentStickers](messages.getRecentStickers.md)(\['attached' => [Bool](../types/Bool.md), 'hash' => [int](../types/int.md), \]) === [$messages\_RecentStickers](../types/messages_RecentStickers.md) +$MadelineProto->[messages->getRecentStickers](messages.getRecentStickers.md)(\['attached' => [Bool](../types/Bool.md), 'hash' => [int](../types/int.md), \]) === [$messages.RecentStickers](../types/messages.RecentStickers.md) ***

-$MadelineProto->[messages->getSavedGifs](messages.getSavedGifs.md)(\['hash' => [int](../types/int.md), \]) === [$messages\_SavedGifs](../types/messages_SavedGifs.md) +$MadelineProto->[messages->getSavedGifs](messages.getSavedGifs.md)(\['hash' => [int](../types/int.md), \]) === [$messages.SavedGifs](../types/messages.SavedGifs.md) ***

-$MadelineProto->[messages->getScheduledHistory](messages.getScheduledHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'hash' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->getScheduledHistory](messages.getScheduledHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'hash' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[messages->getScheduledMessages](messages.getScheduledMessages.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->getScheduledMessages](messages.getScheduledMessages.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[messages->getSearchCounters](messages.getSearchCounters.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'filters' => \[[MessagesFilter](../types/MessagesFilter.md)\], \]) === [$Vector\_of\_messages\_SearchCounter](../types/messages_SearchCounter.md) +$MadelineProto->[messages->getSearchCounters](messages.getSearchCounters.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'filters' => \[[MessagesFilter](../types/MessagesFilter.md)\], \]) === [$Vector\_of\_messages.SearchCounter](../types/messages.SearchCounter.md) ***

@@ -944,15 +944,15 @@ $MadelineProto->[messages->getStatsURL](messages.getStatsURL.md)(\['dark' => [Bo ***

-$MadelineProto->[messages->getStickerSet](messages.getStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), \]) === [$messages\_StickerSet](../types/messages_StickerSet.md) +$MadelineProto->[messages->getStickerSet](messages.getStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), \]) === [$messages.StickerSet](../types/messages.StickerSet.md) ***

-$MadelineProto->[messages->getStickers](messages.getStickers.md)(\['emoticon' => [string](../types/string.md), 'hash' => [int](../types/int.md), \]) === [$messages\_Stickers](../types/messages_Stickers.md) +$MadelineProto->[messages->getStickers](messages.getStickers.md)(\['emoticon' => [string](../types/string.md), 'hash' => [int](../types/int.md), \]) === [$messages.Stickers](../types/messages.Stickers.md) ***

-$MadelineProto->[messages->getUnreadMentions](messages.getUnreadMentions.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->getUnreadMentions](messages.getUnreadMentions.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

@@ -972,7 +972,7 @@ $MadelineProto->[messages->importChatInvite](messages.importChatInvite.md)(\['ha ***

-$MadelineProto->[messages->installStickerSet](messages.installStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), 'archived' => [Bool](../types/Bool.md), \]) === [$messages\_StickerSetInstallResult](../types/messages_StickerSetInstallResult.md) +$MadelineProto->[messages->installStickerSet](messages.installStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), 'archived' => [Bool](../types/Bool.md), \]) === [$messages.StickerSetInstallResult](../types/messages.StickerSetInstallResult.md) ***

@@ -992,15 +992,15 @@ $MadelineProto->[messages->readFeaturedStickers](messages.readFeaturedStickers.m ***

-$MadelineProto->[messages->readHistory](messages.readHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), \]) === [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) +$MadelineProto->[messages->readHistory](messages.readHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), \]) === [$messages.AffectedMessages](../types/messages.AffectedMessages.md) ***

-$MadelineProto->[messages->readMentions](messages.readMentions.md)(\['peer' => [InputPeer](../types/InputPeer.md), \]) === [$messages\_AffectedHistory](../types/messages_AffectedHistory.md) +$MadelineProto->[messages->readMentions](messages.readMentions.md)(\['peer' => [InputPeer](../types/InputPeer.md), \]) === [$messages.AffectedHistory](../types/messages.AffectedHistory.md) ***

-$MadelineProto->[messages->readMessageContents](messages.readMessageContents.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) +$MadelineProto->[messages->readMessageContents](messages.readMessageContents.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages.AffectedMessages](../types/messages.AffectedMessages.md) ***

@@ -1052,31 +1052,31 @@ $MadelineProto->[messages->saveRecentSticker](messages.saveRecentSticker.md)(\[' ***

-$MadelineProto->[messages->search](messages.search.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'q' => [string](../types/string.md), 'from_id' => [InputUser](../types/InputUser.md), 'filter' => [MessagesFilter](../types/MessagesFilter.md), 'min_date' => [int](../types/int.md), 'max_date' => [int](../types/int.md), 'offset_id' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->search](messages.search.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'q' => [string](../types/string.md), 'from_id' => [InputUser](../types/InputUser.md), 'filter' => [MessagesFilter](../types/MessagesFilter.md), 'min_date' => [int](../types/int.md), 'max_date' => [int](../types/int.md), 'offset_id' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[messages->searchGifs](messages.searchGifs.md)(\['q' => [string](../types/string.md), 'offset' => [int](../types/int.md), \]) === [$messages\_FoundGifs](../types/messages_FoundGifs.md) +$MadelineProto->[messages->searchGifs](messages.searchGifs.md)(\['q' => [string](../types/string.md), 'offset' => [int](../types/int.md), \]) === [$messages.FoundGifs](../types/messages.FoundGifs.md) ***

-$MadelineProto->[messages->searchGlobal](messages.searchGlobal.md)(\['folder_id' => [int](../types/int.md), 'q' => [string](../types/string.md), 'offset_rate' => [int](../types/int.md), 'offset_peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->searchGlobal](messages.searchGlobal.md)(\['folder_id' => [int](../types/int.md), 'q' => [string](../types/string.md), 'offset_rate' => [int](../types/int.md), 'offset_peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[messages->searchStickerSets](messages.searchStickerSets.md)(\['exclude_featured' => [Bool](../types/Bool.md), 'q' => [string](../types/string.md), 'hash' => [int](../types/int.md), \]) === [$messages\_FoundStickerSets](../types/messages_FoundStickerSets.md) +$MadelineProto->[messages->searchStickerSets](messages.searchStickerSets.md)(\['exclude_featured' => [Bool](../types/Bool.md), 'q' => [string](../types/string.md), 'hash' => [int](../types/int.md), \]) === [$messages.FoundStickerSets](../types/messages.FoundStickerSets.md) ***

-$MadelineProto->[messages->sendEncrypted](messages.sendEncrypted.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'message' => [DecryptedMessage](../types/DecryptedMessage.md), \]) === [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +$MadelineProto->[messages->sendEncrypted](messages.sendEncrypted.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), \]) === [$messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ***

-$MadelineProto->[messages->sendEncryptedFile](messages.sendEncryptedFile.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'message' => [DecryptedMessage](../types/DecryptedMessage.md), 'file' => [InputEncryptedFile](../types/InputEncryptedFile.md), \]) === [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +$MadelineProto->[messages->sendEncryptedFile](messages.sendEncryptedFile.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), 'file' => [InputEncryptedFile](../types/InputEncryptedFile.md), \]) === [$messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ***

-$MadelineProto->[messages->sendEncryptedService](messages.sendEncryptedService.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'message' => [DecryptedMessage](../types/DecryptedMessage.md), \]) === [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +$MadelineProto->[messages->sendEncryptedService](messages.sendEncryptedService.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), \]) === [$messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ***

@@ -1168,31 +1168,31 @@ $MadelineProto->[payments->clearSavedInfo](payments.clearSavedInfo.md)(\['creden ***

-$MadelineProto->[payments->getPaymentForm](payments.getPaymentForm.md)(\['msg_id' => [int](../types/int.md), \]) === [$payments\_PaymentForm](../types/payments_PaymentForm.md) +$MadelineProto->[payments->getPaymentForm](payments.getPaymentForm.md)(\['msg_id' => [int](../types/int.md), \]) === [$payments.PaymentForm](../types/payments.PaymentForm.md) ***

-$MadelineProto->[payments->getPaymentReceipt](payments.getPaymentReceipt.md)(\['msg_id' => [int](../types/int.md), \]) === [$payments\_PaymentReceipt](../types/payments_PaymentReceipt.md) +$MadelineProto->[payments->getPaymentReceipt](payments.getPaymentReceipt.md)(\['msg_id' => [int](../types/int.md), \]) === [$payments.PaymentReceipt](../types/payments.PaymentReceipt.md) ***

-$MadelineProto->[payments->getSavedInfo](payments.getSavedInfo.md)(\[\]) === [$payments\_SavedInfo](../types/payments_SavedInfo.md) +$MadelineProto->[payments->getSavedInfo](payments.getSavedInfo.md)(\[\]) === [$payments.SavedInfo](../types/payments.SavedInfo.md) ***

-$MadelineProto->[payments->sendPaymentForm](payments.sendPaymentForm.md)(\['msg_id' => [int](../types/int.md), 'requested_info_id' => [string](../types/string.md), 'shipping_option_id' => [string](../types/string.md), 'credentials' => [InputPaymentCredentials](../types/InputPaymentCredentials.md), \]) === [$payments\_PaymentResult](../types/payments_PaymentResult.md) +$MadelineProto->[payments->sendPaymentForm](payments.sendPaymentForm.md)(\['msg_id' => [int](../types/int.md), 'requested_info_id' => [string](../types/string.md), 'shipping_option_id' => [string](../types/string.md), 'credentials' => [InputPaymentCredentials](../types/InputPaymentCredentials.md), \]) === [$payments.PaymentResult](../types/payments.PaymentResult.md) ***

-$MadelineProto->[payments->validateRequestedInfo](payments.validateRequestedInfo.md)(\['save' => [Bool](../types/Bool.md), 'msg_id' => [int](../types/int.md), 'info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), \]) === [$payments\_ValidatedRequestedInfo](../types/payments_ValidatedRequestedInfo.md) +$MadelineProto->[payments->validateRequestedInfo](payments.validateRequestedInfo.md)(\['save' => [Bool](../types/Bool.md), 'msg_id' => [int](../types/int.md), 'info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), \]) === [$payments.ValidatedRequestedInfo](../types/payments.ValidatedRequestedInfo.md) ***

-$MadelineProto->[phone->acceptCall](phone.acceptCall.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'g_b' => [bytes](../types/bytes.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone\_PhoneCall](../types/phone_PhoneCall.md) +$MadelineProto->[phone->acceptCall](phone.acceptCall.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'g_b' => [bytes](../types/bytes.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone.PhoneCall](../types/phone.PhoneCall.md) ***

-$MadelineProto->[phone->confirmCall](phone.confirmCall.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'g_a' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone\_PhoneCall](../types/phone_PhoneCall.md) +$MadelineProto->[phone->confirmCall](phone.confirmCall.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'g_a' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone.PhoneCall](../types/phone.PhoneCall.md) ***

@@ -1208,7 +1208,7 @@ $MadelineProto->[phone->receivedCall](phone.receivedCall.md)(\['peer' => [InputP ***

-$MadelineProto->[phone->requestCall](phone.requestCall.md)(\['video' => [Bool](../types/Bool.md), 'user_id' => [InputUser](../types/InputUser.md), 'g_a_hash' => [bytes](../types/bytes.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone\_PhoneCall](../types/phone_PhoneCall.md) +$MadelineProto->[phone->requestCall](phone.requestCall.md)(\['video' => [Bool](../types/Bool.md), 'user_id' => [InputUser](../types/InputUser.md), 'g_a_hash' => [bytes](../types/bytes.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone.PhoneCall](../types/phone.PhoneCall.md) ***

@@ -1224,7 +1224,7 @@ $MadelineProto->[photos->deletePhotos](photos.deletePhotos.md)(\['id' => \[[Inpu ***

-$MadelineProto->[photos->getUserPhotos](photos.getUserPhotos.md)(\['user_id' => [InputUser](../types/InputUser.md), 'offset' => [int](../types/int.md), 'max_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$photos\_Photos](../types/photos_Photos.md) +$MadelineProto->[photos->getUserPhotos](photos.getUserPhotos.md)(\['user_id' => [InputUser](../types/InputUser.md), 'offset' => [int](../types/int.md), 'max_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$photos.Photos](../types/photos.Photos.md) ***

@@ -1232,39 +1232,39 @@ $MadelineProto->[photos->updateProfilePhoto](photos.updateProfilePhoto.md)(\['id ***

-$MadelineProto->[photos->uploadProfilePhoto](photos.uploadProfilePhoto.md)(\['file' => [InputFile](../types/InputFile.md), \]) === [$photos\_Photo](../types/photos_Photo.md) +$MadelineProto->[photos->uploadProfilePhoto](photos.uploadProfilePhoto.md)(\['file' => [InputFile](../types/InputFile.md), \]) === [$photos.Photo](../types/photos.Photo.md) ***

-$MadelineProto->[stickers->addStickerToSet](stickers.addStickerToSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), 'sticker' => [InputStickerSetItem](../types/InputStickerSetItem.md), \]) === [$messages\_StickerSet](../types/messages_StickerSet.md) +$MadelineProto->[stickers->addStickerToSet](stickers.addStickerToSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), 'sticker' => [InputStickerSetItem](../types/InputStickerSetItem.md), \]) === [$messages.StickerSet](../types/messages.StickerSet.md) ***

-$MadelineProto->[stickers->changeStickerPosition](stickers.changeStickerPosition.md)(\['sticker' => [InputDocument](../types/InputDocument.md), 'position' => [int](../types/int.md), \]) === [$messages\_StickerSet](../types/messages_StickerSet.md) +$MadelineProto->[stickers->changeStickerPosition](stickers.changeStickerPosition.md)(\['sticker' => [InputDocument](../types/InputDocument.md), 'position' => [int](../types/int.md), \]) === [$messages.StickerSet](../types/messages.StickerSet.md) ***

-$MadelineProto->[stickers->createStickerSet](stickers.createStickerSet.md)(\['masks' => [Bool](../types/Bool.md), 'user_id' => [InputUser](../types/InputUser.md), 'title' => [string](../types/string.md), 'short_name' => [string](../types/string.md), 'stickers' => \[[InputStickerSetItem](../types/InputStickerSetItem.md)\], \]) === [$messages\_StickerSet](../types/messages_StickerSet.md) +$MadelineProto->[stickers->createStickerSet](stickers.createStickerSet.md)(\['masks' => [Bool](../types/Bool.md), 'user_id' => [InputUser](../types/InputUser.md), 'title' => [string](../types/string.md), 'short_name' => [string](../types/string.md), 'stickers' => \[[InputStickerSetItem](../types/InputStickerSetItem.md)\], \]) === [$messages.StickerSet](../types/messages.StickerSet.md) ***

-$MadelineProto->[stickers->removeStickerFromSet](stickers.removeStickerFromSet.md)(\['sticker' => [InputDocument](../types/InputDocument.md), \]) === [$messages\_StickerSet](../types/messages_StickerSet.md) +$MadelineProto->[stickers->removeStickerFromSet](stickers.removeStickerFromSet.md)(\['sticker' => [InputDocument](../types/InputDocument.md), \]) === [$messages.StickerSet](../types/messages.StickerSet.md) ***

-$MadelineProto->[updates->getChannelDifference](updates.getChannelDifference.md)(\['force' => [Bool](../types/Bool.md), 'channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$updates\_ChannelDifference](../types/updates_ChannelDifference.md) +$MadelineProto->[updates->getChannelDifference](updates.getChannelDifference.md)(\['force' => [Bool](../types/Bool.md), 'channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$updates.ChannelDifference](../types/updates.ChannelDifference.md) ***

-$MadelineProto->[updates->getDifference](updates.getDifference.md)(\['pts' => [int](../types/int.md), 'pts_total_limit' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) === [$updates\_Difference](../types/updates_Difference.md) +$MadelineProto->[updates->getDifference](updates.getDifference.md)(\['pts' => [int](../types/int.md), 'pts_total_limit' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) === [$updates.Difference](../types/updates.Difference.md) ***

-$MadelineProto->[updates->getState](updates.getState.md)(\[\]) === [$updates\_State](../types/updates_State.md) +$MadelineProto->[updates->getState](updates.getState.md)(\[\]) === [$updates.State](../types/updates.State.md) ***

-$MadelineProto->[upload->getCdnFile](upload.getCdnFile.md)(\['file_token' => [bytes](../types/bytes.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_CdnFile](../types/upload_CdnFile.md) +$MadelineProto->[upload->getCdnFile](upload.getCdnFile.md)(\['file_token' => [bytes](../types/bytes.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload.CdnFile](../types/upload.CdnFile.md) ***

@@ -1272,7 +1272,7 @@ $MadelineProto->[upload->getCdnFileHashes](upload.getCdnFileHashes.md)(\['file_t ***

-$MadelineProto->[upload->getFile](upload.getFile.md)(\['precise' => [Bool](../types/Bool.md), 'location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_File](../types/upload_File.md) +$MadelineProto->[upload->getFile](upload.getFile.md)(\['precise' => [Bool](../types/Bool.md), 'location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload.File](../types/upload.File.md) ***

@@ -1280,7 +1280,7 @@ $MadelineProto->[upload->getFileHashes](upload.getFileHashes.md)(\['location' => ***

-$MadelineProto->[upload->getWebFile](upload.getWebFile.md)(\['location' => [InputWebFileLocation](../types/InputWebFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_WebFile](../types/upload_WebFile.md) +$MadelineProto->[upload->getWebFile](upload.getWebFile.md)(\['location' => [InputWebFileLocation](../types/InputWebFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload.WebFile](../types/upload.WebFile.md) ***

diff --git a/docs/API_docs/methods/auth.checkPassword.md b/docs/API_docs/methods/auth.checkPassword.md index ad2a88a2..510e6c03 100644 --- a/docs/API_docs/methods/auth.checkPassword.md +++ b/docs/API_docs/methods/auth.checkPassword.md @@ -16,7 +16,7 @@ You cannot use this method directly, use the complete_2fa_login method instead ( |password|[InputCheckPasswordSRP](../types/InputCheckPasswordSRP.md) | You cannot use this method directly, use the complete_2fa_login method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->checkPassword(['password' => InputCheckPasswordSRP, ]); +$auth.Authorization = $MadelineProto->auth->checkPassword(['password' => InputCheckPasswordSRP, ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.checkPassword({password=InputCheckPasswordSRP, }) +auth.Authorization = auth.checkPassword({password=InputCheckPasswordSRP, }) ``` ### Errors diff --git a/docs/API_docs/methods/auth.exportAuthorization.md b/docs/API_docs/methods/auth.exportAuthorization.md index 72063a2b..41a1f87d 100644 --- a/docs/API_docs/methods/auth.exportAuthorization.md +++ b/docs/API_docs/methods/auth.exportAuthorization.md @@ -16,7 +16,7 @@ You cannot use this method directly, use $MadelineProto->exportAuthorization() i |dc\_id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| -### Return type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) +### Return type: [auth.ExportedAuthorization](../types/auth.ExportedAuthorization.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_ExportedAuthorization = $MadelineProto->auth->exportAuthorization(['dc_id' => int, ]); +$auth.ExportedAuthorization = $MadelineProto->auth->exportAuthorization(['dc_id' => int, ]); ``` Or, if you're into Lua: ```lua -auth_ExportedAuthorization = auth.exportAuthorization({dc_id=int, }) +auth.ExportedAuthorization = auth.exportAuthorization({dc_id=int, }) ``` ### Errors diff --git a/docs/API_docs/methods/auth.importAuthorization.md b/docs/API_docs/methods/auth.importAuthorization.md index d9c13751..5257e0b0 100644 --- a/docs/API_docs/methods/auth.importAuthorization.md +++ b/docs/API_docs/methods/auth.importAuthorization.md @@ -17,7 +17,7 @@ You cannot use this method directly, use $MadelineProto->importAuthorization($au |bytes|[bytes](../types/bytes.md) | You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => 'bytes', ]); +$auth.Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.importAuthorization({id=int, bytes='bytes', }) +auth.Authorization = auth.importAuthorization({id=int, bytes='bytes', }) ``` ### Errors diff --git a/docs/API_docs/methods/auth.importBotAuthorization.md b/docs/API_docs/methods/auth.importBotAuthorization.md index 3161d6be..a4ea8027 100644 --- a/docs/API_docs/methods/auth.importBotAuthorization.md +++ b/docs/API_docs/methods/auth.importBotAuthorization.md @@ -18,7 +18,7 @@ You cannot use this method directly, use the botLogin method instead (see https: |bot\_auth\_token|[string](../types/string.md) | You cannot use this method directly, use the botLogin method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **YES** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->importBotAuthorization(['api_id' => int, 'api_hash' => 'string', 'bot_auth_token' => 'string', ]); +$auth.Authorization = $MadelineProto->auth->importBotAuthorization(['api_id' => int, 'api_hash' => 'string', 'bot_auth_token' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.importBotAuthorization({api_id=int, api_hash='string', bot_auth_token='string', }) +auth.Authorization = auth.importBotAuthorization({api_id=int, api_hash='string', bot_auth_token='string', }) ``` ### Errors diff --git a/docs/API_docs/methods/auth.recoverPassword.md b/docs/API_docs/methods/auth.recoverPassword.md index f7cbf4a4..2e78444b 100644 --- a/docs/API_docs/methods/auth.recoverPassword.md +++ b/docs/API_docs/methods/auth.recoverPassword.md @@ -16,7 +16,7 @@ Reset the [2FA password](https://core.telegram.org/api/srp) using the recovery c |code|[string](../types/string.md) | Code received via email | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->recoverPassword(['code' => 'string', ]); +$auth.Authorization = $MadelineProto->auth->recoverPassword(['code' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.recoverPassword({code='string', }) +auth.Authorization = auth.recoverPassword({code='string', }) ``` ### Errors diff --git a/docs/API_docs/methods/auth.requestPasswordRecovery.md b/docs/API_docs/methods/auth.requestPasswordRecovery.md index 5cd77936..ff1ecc02 100644 --- a/docs/API_docs/methods/auth.requestPasswordRecovery.md +++ b/docs/API_docs/methods/auth.requestPasswordRecovery.md @@ -11,7 +11,7 @@ Request recovery code of a [2FA password](https://core.telegram.org/api/srp), on -### Return type: [auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) +### Return type: [auth.PasswordRecovery](../types/auth.PasswordRecovery.md) ### Can bots use this method: **NO** @@ -28,13 +28,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_PasswordRecovery = $MadelineProto->auth->requestPasswordRecovery(); +$auth.PasswordRecovery = $MadelineProto->auth->requestPasswordRecovery(); ``` Or, if you're into Lua: ```lua -auth_PasswordRecovery = auth.requestPasswordRecovery({}) +auth.PasswordRecovery = auth.requestPasswordRecovery({}) ``` ### Errors diff --git a/docs/API_docs/methods/auth.resendCode.md b/docs/API_docs/methods/auth.resendCode.md index a395a91b..f59f1b7b 100644 --- a/docs/API_docs/methods/auth.resendCode.md +++ b/docs/API_docs/methods/auth.resendCode.md @@ -17,7 +17,7 @@ Resend the login code via another medium, the phone code type is determined by t |phone\_code\_hash|[string](../types/string.md) | The phone code hash obtained from [auth.sendCode](../methods/auth.sendCode.md) | Yes| -### Return type: [auth\_SentCode](../types/auth_SentCode.md) +### Return type: [auth.SentCode](../types/auth.SentCode.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_SentCode = $MadelineProto->auth->resendCode(['phone_number' => 'string', 'phone_code_hash' => 'string', ]); +$auth.SentCode = $MadelineProto->auth->resendCode(['phone_number' => 'string', 'phone_code_hash' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_SentCode = auth.resendCode({phone_number='string', phone_code_hash='string', }) +auth.SentCode = auth.resendCode({phone_number='string', phone_code_hash='string', }) ``` ### Errors diff --git a/docs/API_docs/methods/auth.sendCode.md b/docs/API_docs/methods/auth.sendCode.md index be14f1bf..cb94998f 100644 --- a/docs/API_docs/methods/auth.sendCode.md +++ b/docs/API_docs/methods/auth.sendCode.md @@ -19,7 +19,7 @@ You cannot use this method directly, use the phoneLogin method instead (see http |settings|[CodeSettings](../types/CodeSettings.md) | You cannot use this method directly, use the phoneLogin method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_SentCode](../types/auth_SentCode.md) +### Return type: [auth.SentCode](../types/auth.SentCode.md) ### Can bots use this method: **NO** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_SentCode = $MadelineProto->auth->sendCode(['phone_number' => 'string', 'api_id' => int, 'api_hash' => 'string', 'settings' => CodeSettings, ]); +$auth.SentCode = $MadelineProto->auth->sendCode(['phone_number' => 'string', 'api_id' => int, 'api_hash' => 'string', 'settings' => CodeSettings, ]); ``` Or, if you're into Lua: ```lua -auth_SentCode = auth.sendCode({phone_number='string', api_id=int, api_hash='string', settings=CodeSettings, }) +auth.SentCode = auth.sendCode({phone_number='string', api_id=int, api_hash='string', settings=CodeSettings, }) ``` ### Errors diff --git a/docs/API_docs/methods/auth.signIn.md b/docs/API_docs/methods/auth.signIn.md index 54812a2e..95b14f32 100644 --- a/docs/API_docs/methods/auth.signIn.md +++ b/docs/API_docs/methods/auth.signIn.md @@ -18,7 +18,7 @@ You cannot use this method directly, use the completePhoneLogin method instead ( |phone\_code|[string](../types/string.md) | You cannot use this method directly, use the completePhoneLogin method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->signIn(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', ]); +$auth.Authorization = $MadelineProto->auth->signIn(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.signIn({phone_number='string', phone_code_hash='string', phone_code='string', }) +auth.Authorization = auth.signIn({phone_number='string', phone_code_hash='string', phone_code='string', }) ``` ### Errors diff --git a/docs/API_docs/methods/auth.signUp.md b/docs/API_docs/methods/auth.signUp.md index 4d327eb6..d024c14b 100644 --- a/docs/API_docs/methods/auth.signUp.md +++ b/docs/API_docs/methods/auth.signUp.md @@ -19,7 +19,7 @@ You cannot use this method directly, use the completeSignup method instead (see |last\_name|[string](../types/string.md) | You cannot use this method directly, use the completeSignup method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **NO** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->signUp(['phone_number' => 'string', 'phone_code_hash' => 'string', 'first_name' => 'string', 'last_name' => 'string', ]); +$auth.Authorization = $MadelineProto->auth->signUp(['phone_number' => 'string', 'phone_code_hash' => 'string', 'first_name' => 'string', 'last_name' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.signUp({phone_number='string', phone_code_hash='string', first_name='string', last_name='string', }) +auth.Authorization = auth.signUp({phone_number='string', phone_code_hash='string', first_name='string', last_name='string', }) ``` ### Errors diff --git a/docs/API_docs/methods/channels.deleteMessages.md b/docs/API_docs/methods/channels.deleteMessages.md index 10a439fb..8583e560 100644 --- a/docs/API_docs/methods/channels.deleteMessages.md +++ b/docs/API_docs/methods/channels.deleteMessages.md @@ -17,7 +17,7 @@ Delete messages in a [channel/supergroup](https://core.telegram.org/api/channel) |id|Array of [int](../types/int.md) | The IDs of messages to delete | Yes| -### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) +### Return type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedMessages = $MadelineProto->channels->deleteMessages(['channel' => InputChannel, 'id' => [int, int], ]); +$messages.AffectedMessages = $MadelineProto->channels->deleteMessages(['channel' => InputChannel, 'id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AffectedMessages = channels.deleteMessages({channel=InputChannel, id={int}, }) +messages.AffectedMessages = channels.deleteMessages({channel=InputChannel, id={int}, }) ``` ### Errors diff --git a/docs/API_docs/methods/channels.deleteUserHistory.md b/docs/API_docs/methods/channels.deleteUserHistory.md index 9b8b159f..6ccaf7dd 100644 --- a/docs/API_docs/methods/channels.deleteUserHistory.md +++ b/docs/API_docs/methods/channels.deleteUserHistory.md @@ -17,7 +17,7 @@ Delete all messages sent by a certain user in a [supergroup](https://core.telegr |user\_id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | User whose messages should be deleted | Optional| -### Return type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) +### Return type: [messages.AffectedHistory](../types/messages.AffectedHistory.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedHistory = $MadelineProto->channels->deleteUserHistory(['channel' => InputChannel, 'user_id' => InputUser, ]); +$messages.AffectedHistory = $MadelineProto->channels->deleteUserHistory(['channel' => InputChannel, 'user_id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -messages_AffectedHistory = channels.deleteUserHistory({channel=InputChannel, user_id=InputUser, }) +messages.AffectedHistory = channels.deleteUserHistory({channel=InputChannel, user_id=InputUser, }) ``` ### Errors diff --git a/docs/API_docs/methods/channels.getAdminLog.md b/docs/API_docs/methods/channels.getAdminLog.md index e149f653..3b550a73 100644 --- a/docs/API_docs/methods/channels.getAdminLog.md +++ b/docs/API_docs/methods/channels.getAdminLog.md @@ -22,7 +22,7 @@ Get the admin log of a [channel/supergroup](https://core.telegram.org/api/channe |limit|[int](../types/int.md) | Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets) | Yes| -### Return type: [channels\_AdminLogResults](../types/channels_AdminLogResults.md) +### Return type: [channels.AdminLogResults](../types/channels.AdminLogResults.md) ### Can bots use this method: **NO** @@ -39,13 +39,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$channels_AdminLogResults = $MadelineProto->channels->getAdminLog(['channel' => InputChannel, 'q' => 'string', 'events_filter' => ChannelAdminLogEventsFilter, 'admins' => [InputUser, InputUser], 'max_id' => long, 'min_id' => long, 'limit' => int, ]); +$channels.AdminLogResults = $MadelineProto->channels->getAdminLog(['channel' => InputChannel, 'q' => 'string', 'events_filter' => ChannelAdminLogEventsFilter, 'admins' => [InputUser, InputUser], 'max_id' => long, 'min_id' => long, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -channels_AdminLogResults = channels.getAdminLog({channel=InputChannel, q='string', events_filter=ChannelAdminLogEventsFilter, admins={InputUser}, max_id=long, min_id=long, limit=int, }) +channels.AdminLogResults = channels.getAdminLog({channel=InputChannel, q='string', events_filter=ChannelAdminLogEventsFilter, admins={InputUser}, max_id=long, min_id=long, limit=int, }) ``` ### Errors diff --git a/docs/API_docs/methods/channels.getAdminedPublicChannels.md b/docs/API_docs/methods/channels.getAdminedPublicChannels.md index 1b358432..de834403 100644 --- a/docs/API_docs/methods/channels.getAdminedPublicChannels.md +++ b/docs/API_docs/methods/channels.getAdminedPublicChannels.md @@ -17,7 +17,7 @@ Get [channels/supergroups/geogroups](https://core.telegram.org/api/channel) we'r |check\_limit|[Bool](../types/Bool.md) | If set and the user has reached the limit of owned public [channels/supergroups/geogroups](https://core.telegram.org/api/channel), instead of returning the channel list one of the specified [errors](#possible-errors) will be returned.
Useful to check if a new public channel can indeed be created, even before asking the user to enter a channel username to use in [channels.checkUsername](../methods/channels.checkUsername.md)/[channels.updateUsername](../methods/channels.updateUsername.md). | Optional| -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **NO** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->channels->getAdminedPublicChannels(['by_location' => Bool, 'check_limit' => Bool, ]); +$messages.Chats = $MadelineProto->channels->getAdminedPublicChannels(['by_location' => Bool, 'check_limit' => Bool, ]); ``` Or, if you're into Lua: ```lua -messages_Chats = channels.getAdminedPublicChannels({by_location=Bool, check_limit=Bool, }) +messages.Chats = channels.getAdminedPublicChannels({by_location=Bool, check_limit=Bool, }) ``` diff --git a/docs/API_docs/methods/channels.getChannels.md b/docs/API_docs/methods/channels.getChannels.md index 368c96ce..ed9cf4a7 100644 --- a/docs/API_docs/methods/channels.getChannels.md +++ b/docs/API_docs/methods/channels.getChannels.md @@ -16,7 +16,7 @@ Get info about [channels/supergroups](https://core.telegram.org/api/channel) |id|Array of [Username, chat ID, Update, Message or InputChannel](../types/InputChannel.md) | The channel/supergroup MTProto IDs | Yes| -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->channels->getChannels(['id' => [InputChannel, InputChannel], ]); +$messages.Chats = $MadelineProto->channels->getChannels(['id' => [InputChannel, InputChannel], ]); ``` Or, if you're into Lua: ```lua -messages_Chats = channels.getChannels({id={InputChannel}, }) +messages.Chats = channels.getChannels({id={InputChannel}, }) ``` ### Errors diff --git a/docs/API_docs/methods/channels.getFullChannel.md b/docs/API_docs/methods/channels.getFullChannel.md index 08dc21bb..1369e0a0 100644 --- a/docs/API_docs/methods/channels.getFullChannel.md +++ b/docs/API_docs/methods/channels.getFullChannel.md @@ -16,7 +16,7 @@ You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo me |channel|[Username, chat ID, Update, Message or InputChannel](../types/InputChannel.md) | You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo methods instead (see https://docs.madelineproto.xyz for more info) | Optional| -### Return type: [messages\_ChatFull](../types/messages_ChatFull.md) +### Return type: [messages.ChatFull](../types/messages.ChatFull.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_ChatFull = $MadelineProto->channels->getFullChannel(['channel' => InputChannel, ]); +$messages.ChatFull = $MadelineProto->channels->getFullChannel(['channel' => InputChannel, ]); ``` Or, if you're into Lua: ```lua -messages_ChatFull = channels.getFullChannel({channel=InputChannel, }) +messages.ChatFull = channels.getFullChannel({channel=InputChannel, }) ``` ### Errors diff --git a/docs/API_docs/methods/channels.getGroupsForDiscussion.md b/docs/API_docs/methods/channels.getGroupsForDiscussion.md index 810f9aa8..0e97f199 100644 --- a/docs/API_docs/methods/channels.getGroupsForDiscussion.md +++ b/docs/API_docs/methods/channels.getGroupsForDiscussion.md @@ -11,7 +11,7 @@ Get all groups that can be used as [discussion groups](https://telegram.org/blog -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->channels->getGroupsForDiscussion(); +$messages.Chats = $MadelineProto->channels->getGroupsForDiscussion(); ``` Or, if you're into Lua: ```lua -messages_Chats = channels.getGroupsForDiscussion({}) +messages.Chats = channels.getGroupsForDiscussion({}) ``` diff --git a/docs/API_docs/methods/channels.getLeftChannels.md b/docs/API_docs/methods/channels.getLeftChannels.md index a5bcda2c..5a132204 100644 --- a/docs/API_docs/methods/channels.getLeftChannels.md +++ b/docs/API_docs/methods/channels.getLeftChannels.md @@ -16,7 +16,7 @@ Get a list of [channels/supergroups](https://core.telegram.org/api/channel) we l |offset|[int](../types/int.md) | Offset for [pagination](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->channels->getLeftChannels(['offset' => int, ]); +$messages.Chats = $MadelineProto->channels->getLeftChannels(['offset' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Chats = channels.getLeftChannels({offset=int, }) +messages.Chats = channels.getLeftChannels({offset=int, }) ``` ### Errors diff --git a/docs/API_docs/methods/channels.getMessages.md b/docs/API_docs/methods/channels.getMessages.md index 428734e3..708e404a 100644 --- a/docs/API_docs/methods/channels.getMessages.md +++ b/docs/API_docs/methods/channels.getMessages.md @@ -17,7 +17,7 @@ Get [channel/supergroup](https://core.telegram.org/api/channel) messages |id|Array of [Message ID or InputMessage](../types/InputMessage.md) | The message IDs | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->channels->getMessages(['channel' => InputChannel, 'id' => [InputMessage, InputMessage], ]); +$messages.Messages = $MadelineProto->channels->getMessages(['channel' => InputChannel, 'id' => [InputMessage, InputMessage], ]); ``` Or, if you're into Lua: ```lua -messages_Messages = channels.getMessages({channel=InputChannel, id={InputMessage}, }) +messages.Messages = channels.getMessages({channel=InputChannel, id={InputMessage}, }) ``` ### Errors diff --git a/docs/API_docs/methods/channels.getParticipant.md b/docs/API_docs/methods/channels.getParticipant.md index aa2ce655..cf6a7771 100644 --- a/docs/API_docs/methods/channels.getParticipant.md +++ b/docs/API_docs/methods/channels.getParticipant.md @@ -17,7 +17,7 @@ Get info about a [channel/supergroup](https://core.telegram.org/api/channel) par |user\_id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | ID of participant to get info about | Optional| -### Return type: [channels\_ChannelParticipant](../types/channels_ChannelParticipant.md) +### Return type: [channels.ChannelParticipant](../types/channels.ChannelParticipant.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$channels_ChannelParticipant = $MadelineProto->channels->getParticipant(['channel' => InputChannel, 'user_id' => InputUser, ]); +$channels.ChannelParticipant = $MadelineProto->channels->getParticipant(['channel' => InputChannel, 'user_id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -channels_ChannelParticipant = channels.getParticipant({channel=InputChannel, user_id=InputUser, }) +channels.ChannelParticipant = channels.getParticipant({channel=InputChannel, user_id=InputUser, }) ``` ### Errors diff --git a/docs/API_docs/methods/channels.getParticipants.md b/docs/API_docs/methods/channels.getParticipants.md index dd7e0087..c6b15b63 100644 --- a/docs/API_docs/methods/channels.getParticipants.md +++ b/docs/API_docs/methods/channels.getParticipants.md @@ -20,7 +20,7 @@ Get the participants of a channel |hash|Array of [int](../types/int.md) | IDs of previously fetched participants | Optional| -### Return type: [channels\_ChannelParticipants](../types/channels_ChannelParticipants.md) +### Return type: [channels.ChannelParticipants](../types/channels.ChannelParticipants.md) ### Can bots use this method: **YES** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$channels_ChannelParticipants = $MadelineProto->channels->getParticipants(['channel' => InputChannel, 'filter' => ChannelParticipantsFilter, 'offset' => int, 'limit' => int, 'hash' => [int, int], ]); +$channels.ChannelParticipants = $MadelineProto->channels->getParticipants(['channel' => InputChannel, 'filter' => ChannelParticipantsFilter, 'offset' => int, 'limit' => int, 'hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -channels_ChannelParticipants = channels.getParticipants({channel=InputChannel, filter=ChannelParticipantsFilter, offset=int, limit=int, hash={int}, }) +channels.ChannelParticipants = channels.getParticipants({channel=InputChannel, filter=ChannelParticipantsFilter, offset=int, limit=int, hash={int}, }) ``` ### Errors diff --git a/docs/API_docs/methods/contacts.getBlocked.md b/docs/API_docs/methods/contacts.getBlocked.md index 92f2f331..6ac1c343 100644 --- a/docs/API_docs/methods/contacts.getBlocked.md +++ b/docs/API_docs/methods/contacts.getBlocked.md @@ -17,7 +17,7 @@ Returns the list of blocked users. |limit|[int](../types/int.md) | The number of list elements to be returned | Yes| -### Return type: [contacts\_Blocked](../types/contacts_Blocked.md) +### Return type: [contacts.Blocked](../types/contacts.Blocked.md) ### Can bots use this method: **NO** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Blocked = $MadelineProto->contacts->getBlocked(['offset' => int, 'limit' => int, ]); +$contacts.Blocked = $MadelineProto->contacts->getBlocked(['offset' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -contacts_Blocked = contacts.getBlocked({offset=int, limit=int, }) +contacts.Blocked = contacts.getBlocked({offset=int, limit=int, }) ``` diff --git a/docs/API_docs/methods/contacts.getContacts.md b/docs/API_docs/methods/contacts.getContacts.md index c67e6240..609549b0 100644 --- a/docs/API_docs/methods/contacts.getContacts.md +++ b/docs/API_docs/methods/contacts.getContacts.md @@ -16,7 +16,7 @@ Returns the current user's contact list. |hash|Array of [int](../types/int.md) | User IDs of previously cached contacts | Optional| -### Return type: [contacts\_Contacts](../types/contacts_Contacts.md) +### Return type: [contacts.Contacts](../types/contacts.Contacts.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Contacts = $MadelineProto->contacts->getContacts(['hash' => [int, int], ]); +$contacts.Contacts = $MadelineProto->contacts->getContacts(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -contacts_Contacts = contacts.getContacts({hash={int}, }) +contacts.Contacts = contacts.getContacts({hash={int}, }) ``` diff --git a/docs/API_docs/methods/contacts.getTopPeers.md b/docs/API_docs/methods/contacts.getTopPeers.md index 8cb7f245..9957dd2c 100644 --- a/docs/API_docs/methods/contacts.getTopPeers.md +++ b/docs/API_docs/methods/contacts.getTopPeers.md @@ -26,7 +26,7 @@ Get most used peers |hash|Array of [int](../types/int.md) | Peer IDs of previously cached peers | Optional| -### Return type: [contacts\_TopPeers](../types/contacts_TopPeers.md) +### Return type: [contacts.TopPeers](../types/contacts.TopPeers.md) ### Can bots use this method: **NO** @@ -43,13 +43,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_TopPeers = $MadelineProto->contacts->getTopPeers(['correspondents' => Bool, 'bots_pm' => Bool, 'bots_inline' => Bool, 'phone_calls' => Bool, 'forward_users' => Bool, 'forward_chats' => Bool, 'groups' => Bool, 'channels' => Bool, 'offset' => int, 'limit' => int, 'hash' => [int, int], ]); +$contacts.TopPeers = $MadelineProto->contacts->getTopPeers(['correspondents' => Bool, 'bots_pm' => Bool, 'bots_inline' => Bool, 'phone_calls' => Bool, 'forward_users' => Bool, 'forward_chats' => Bool, 'groups' => Bool, 'channels' => Bool, 'offset' => int, 'limit' => int, 'hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -contacts_TopPeers = contacts.getTopPeers({correspondents=Bool, bots_pm=Bool, bots_inline=Bool, phone_calls=Bool, forward_users=Bool, forward_chats=Bool, groups=Bool, channels=Bool, offset=int, limit=int, hash={int}, }) +contacts.TopPeers = contacts.getTopPeers({correspondents=Bool, bots_pm=Bool, bots_inline=Bool, phone_calls=Bool, forward_users=Bool, forward_chats=Bool, groups=Bool, channels=Bool, offset=int, limit=int, hash={int}, }) ``` ### Errors diff --git a/docs/API_docs/methods/contacts.importContacts.md b/docs/API_docs/methods/contacts.importContacts.md index 7c795780..dbb9b7fa 100644 --- a/docs/API_docs/methods/contacts.importContacts.md +++ b/docs/API_docs/methods/contacts.importContacts.md @@ -16,7 +16,7 @@ Imports contacts: saves a full list on the server, adds already registered conta |contacts|Array of [InputContact](../types/InputContact.md) | The numbers to import | Yes| -### Return type: [contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) +### Return type: [contacts.ImportedContacts](../types/contacts.ImportedContacts.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_ImportedContacts = $MadelineProto->contacts->importContacts(['contacts' => [InputContact, InputContact], ]); +$contacts.ImportedContacts = $MadelineProto->contacts->importContacts(['contacts' => [InputContact, InputContact], ]); ``` Or, if you're into Lua: ```lua -contacts_ImportedContacts = contacts.importContacts({contacts={InputContact}, }) +contacts.ImportedContacts = contacts.importContacts({contacts={InputContact}, }) ``` diff --git a/docs/API_docs/methods/contacts.resolveUsername.md b/docs/API_docs/methods/contacts.resolveUsername.md index 05e3d854..46f1eb50 100644 --- a/docs/API_docs/methods/contacts.resolveUsername.md +++ b/docs/API_docs/methods/contacts.resolveUsername.md @@ -16,7 +16,7 @@ You cannot use this method directly, use the resolveUsername, getPwrChat, getInf |username|[string](../types/string.md) | You cannot use this method directly, use the resolveUsername, getPwrChat, getInfo, getFullInfo methods instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [contacts\_ResolvedPeer](../types/contacts_ResolvedPeer.md) +### Return type: [contacts.ResolvedPeer](../types/contacts.ResolvedPeer.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_ResolvedPeer = $MadelineProto->contacts->resolveUsername(['username' => 'string', ]); +$contacts.ResolvedPeer = $MadelineProto->contacts->resolveUsername(['username' => 'string', ]); ``` Or, if you're into Lua: ```lua -contacts_ResolvedPeer = contacts.resolveUsername({username='string', }) +contacts.ResolvedPeer = contacts.resolveUsername({username='string', }) ``` ### Errors diff --git a/docs/API_docs/methods/contacts.search.md b/docs/API_docs/methods/contacts.search.md index 2f39d6f1..ec04c7f9 100644 --- a/docs/API_docs/methods/contacts.search.md +++ b/docs/API_docs/methods/contacts.search.md @@ -17,7 +17,7 @@ Returns users found by username substring. |limit|[int](../types/int.md) | Maximum number of users to be returned | Yes| -### Return type: [contacts\_Found](../types/contacts_Found.md) +### Return type: [contacts.Found](../types/contacts.Found.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Found = $MadelineProto->contacts->search(['q' => 'string', 'limit' => int, ]); +$contacts.Found = $MadelineProto->contacts->search(['q' => 'string', 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -contacts_Found = contacts.search({q='string', limit=int, }) +contacts.Found = contacts.search({q='string', limit=int, }) ``` ### Errors diff --git a/docs/API_docs/methods/help.editUserInfo.md b/docs/API_docs/methods/help.editUserInfo.md index 7d49e820..0dd21b80 100644 --- a/docs/API_docs/methods/help.editUserInfo.md +++ b/docs/API_docs/methods/help.editUserInfo.md @@ -19,7 +19,7 @@ Internal use |parse\_mode| [string](../types/string.md) | Whether to parse HTML or Markdown markup in the message| Optional | -### Return type: [help\_UserInfo](../types/help_UserInfo.md) +### Return type: [help.UserInfo](../types/help.UserInfo.md) ### Can bots use this method: **NO** @@ -36,19 +36,19 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_UserInfo = $MadelineProto->help->editUserInfo(['user_id' => InputUser, 'message' => 'string', 'entities' => [MessageEntity, MessageEntity], 'parse_mode' => 'string', ]); +$help.UserInfo = $MadelineProto->help->editUserInfo(['user_id' => InputUser, 'message' => 'string', 'entities' => [MessageEntity, MessageEntity], 'parse_mode' => 'string', ]); ``` Or, if you're into Lua: ```lua -help_UserInfo = help.editUserInfo({user_id=InputUser, message='string', entities={MessageEntity}, parseMode='string', }) +help.UserInfo = help.editUserInfo({user_id=InputUser, message='string', entities={MessageEntity}, parseMode='string', }) ``` ## Return value -If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [help\_UserInfo](../types/help_UserInfo.md) will be returned instead. +If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [help.UserInfo](../types/help.UserInfo.md) will be returned instead. diff --git a/docs/API_docs/methods/help.getAppUpdate.md b/docs/API_docs/methods/help.getAppUpdate.md index e744d727..2a81fa8f 100644 --- a/docs/API_docs/methods/help.getAppUpdate.md +++ b/docs/API_docs/methods/help.getAppUpdate.md @@ -16,7 +16,7 @@ Returns information on update availability for the current application. |source|[string](../types/string.md) | Source | Yes| -### Return type: [help\_AppUpdate](../types/help_AppUpdate.md) +### Return type: [help.AppUpdate](../types/help.AppUpdate.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_AppUpdate = $MadelineProto->help->getAppUpdate(['source' => 'string', ]); +$help.AppUpdate = $MadelineProto->help->getAppUpdate(['source' => 'string', ]); ``` Or, if you're into Lua: ```lua -help_AppUpdate = help.getAppUpdate({source='string', }) +help.AppUpdate = help.getAppUpdate({source='string', }) ``` diff --git a/docs/API_docs/methods/help.getDeepLinkInfo.md b/docs/API_docs/methods/help.getDeepLinkInfo.md index e3269bbc..e6e7d6b8 100644 --- a/docs/API_docs/methods/help.getDeepLinkInfo.md +++ b/docs/API_docs/methods/help.getDeepLinkInfo.md @@ -16,7 +16,7 @@ Get info about a `t.me` link |path|[string](../types/string.md) | Path in `t.me/path` | Yes| -### Return type: [help\_DeepLinkInfo](../types/help_DeepLinkInfo.md) +### Return type: [help.DeepLinkInfo](../types/help.DeepLinkInfo.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_DeepLinkInfo = $MadelineProto->help->getDeepLinkInfo(['path' => 'string', ]); +$help.DeepLinkInfo = $MadelineProto->help->getDeepLinkInfo(['path' => 'string', ]); ``` Or, if you're into Lua: ```lua -help_DeepLinkInfo = help.getDeepLinkInfo({path='string', }) +help.DeepLinkInfo = help.getDeepLinkInfo({path='string', }) ``` diff --git a/docs/API_docs/methods/help.getInviteText.md b/docs/API_docs/methods/help.getInviteText.md index 6fd67362..0d427974 100644 --- a/docs/API_docs/methods/help.getInviteText.md +++ b/docs/API_docs/methods/help.getInviteText.md @@ -11,7 +11,7 @@ Returns text of a text message with an invitation. -### Return type: [help\_InviteText](../types/help_InviteText.md) +### Return type: [help.InviteText](../types/help.InviteText.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_InviteText = $MadelineProto->help->getInviteText(); +$help.InviteText = $MadelineProto->help->getInviteText(); ``` Or, if you're into Lua: ```lua -help_InviteText = help.getInviteText({}) +help.InviteText = help.getInviteText({}) ``` diff --git a/docs/API_docs/methods/help.getPassportConfig.md b/docs/API_docs/methods/help.getPassportConfig.md index 3710737d..f71e67b2 100644 --- a/docs/API_docs/methods/help.getPassportConfig.md +++ b/docs/API_docs/methods/help.getPassportConfig.md @@ -16,7 +16,7 @@ Get [passport](https://core.telegram.org/passport) configuration |hash|Array of [int](../types/int.md) | Hash | Optional| -### Return type: [help\_PassportConfig](../types/help_PassportConfig.md) +### Return type: [help.PassportConfig](../types/help.PassportConfig.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_PassportConfig = $MadelineProto->help->getPassportConfig(['hash' => [int, int], ]); +$help.PassportConfig = $MadelineProto->help->getPassportConfig(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -help_PassportConfig = help.getPassportConfig({hash={int}, }) +help.PassportConfig = help.getPassportConfig({hash={int}, }) ``` diff --git a/docs/API_docs/methods/help.getProxyData.md b/docs/API_docs/methods/help.getProxyData.md index bbaf4c53..9a0aaa9a 100644 --- a/docs/API_docs/methods/help.getProxyData.md +++ b/docs/API_docs/methods/help.getProxyData.md @@ -11,7 +11,7 @@ Get promotion info of the currently-used MTProxy -### Return type: [help\_ProxyData](../types/help_ProxyData.md) +### Return type: [help.ProxyData](../types/help.ProxyData.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_ProxyData = $MadelineProto->help->getProxyData(); +$help.ProxyData = $MadelineProto->help->getProxyData(); ``` Or, if you're into Lua: ```lua -help_ProxyData = help.getProxyData({}) +help.ProxyData = help.getProxyData({}) ``` diff --git a/docs/API_docs/methods/help.getRecentMeUrls.md b/docs/API_docs/methods/help.getRecentMeUrls.md index 38cc44c8..a5ab9e06 100644 --- a/docs/API_docs/methods/help.getRecentMeUrls.md +++ b/docs/API_docs/methods/help.getRecentMeUrls.md @@ -16,7 +16,7 @@ Get recently used `t.me` links |referer|[string](../types/string.md) | Referer | Yes| -### Return type: [help\_RecentMeUrls](../types/help_RecentMeUrls.md) +### Return type: [help.RecentMeUrls](../types/help.RecentMeUrls.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_RecentMeUrls = $MadelineProto->help->getRecentMeUrls(['referer' => 'string', ]); +$help.RecentMeUrls = $MadelineProto->help->getRecentMeUrls(['referer' => 'string', ]); ``` Or, if you're into Lua: ```lua -help_RecentMeUrls = help.getRecentMeUrls({referer='string', }) +help.RecentMeUrls = help.getRecentMeUrls({referer='string', }) ``` diff --git a/docs/API_docs/methods/help.getSupport.md b/docs/API_docs/methods/help.getSupport.md index 7a577892..8a8df916 100644 --- a/docs/API_docs/methods/help.getSupport.md +++ b/docs/API_docs/methods/help.getSupport.md @@ -11,7 +11,7 @@ Returns the support user for the 'ask a question' feature. -### Return type: [help\_Support](../types/help_Support.md) +### Return type: [help.Support](../types/help.Support.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_Support = $MadelineProto->help->getSupport(); +$help.Support = $MadelineProto->help->getSupport(); ``` Or, if you're into Lua: ```lua -help_Support = help.getSupport({}) +help.Support = help.getSupport({}) ``` diff --git a/docs/API_docs/methods/help.getSupportName.md b/docs/API_docs/methods/help.getSupportName.md index d2b1c93c..fbf9ef52 100644 --- a/docs/API_docs/methods/help.getSupportName.md +++ b/docs/API_docs/methods/help.getSupportName.md @@ -11,7 +11,7 @@ Get localized name of the telegram support user -### Return type: [help\_SupportName](../types/help_SupportName.md) +### Return type: [help.SupportName](../types/help.SupportName.md) ### Can bots use this method: **NO** @@ -28,13 +28,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_SupportName = $MadelineProto->help->getSupportName(); +$help.SupportName = $MadelineProto->help->getSupportName(); ``` Or, if you're into Lua: ```lua -help_SupportName = help.getSupportName({}) +help.SupportName = help.getSupportName({}) ``` ### Errors diff --git a/docs/API_docs/methods/help.getTermsOfServiceUpdate.md b/docs/API_docs/methods/help.getTermsOfServiceUpdate.md index 7a8ebd65..636a054b 100644 --- a/docs/API_docs/methods/help.getTermsOfServiceUpdate.md +++ b/docs/API_docs/methods/help.getTermsOfServiceUpdate.md @@ -11,7 +11,7 @@ Look for updates of telegram's terms of service -### Return type: [help\_TermsOfServiceUpdate](../types/help_TermsOfServiceUpdate.md) +### Return type: [help.TermsOfServiceUpdate](../types/help.TermsOfServiceUpdate.md) ### Can bots use this method: **NO** @@ -28,13 +28,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_TermsOfServiceUpdate = $MadelineProto->help->getTermsOfServiceUpdate(); +$help.TermsOfServiceUpdate = $MadelineProto->help->getTermsOfServiceUpdate(); ``` Or, if you're into Lua: ```lua -help_TermsOfServiceUpdate = help.getTermsOfServiceUpdate({}) +help.TermsOfServiceUpdate = help.getTermsOfServiceUpdate({}) ``` ### Errors diff --git a/docs/API_docs/methods/help.getUserInfo.md b/docs/API_docs/methods/help.getUserInfo.md index 353429d6..27b65cf7 100644 --- a/docs/API_docs/methods/help.getUserInfo.md +++ b/docs/API_docs/methods/help.getUserInfo.md @@ -16,7 +16,7 @@ Internal use |user\_id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | User ID | Optional| -### Return type: [help\_UserInfo](../types/help_UserInfo.md) +### Return type: [help.UserInfo](../types/help.UserInfo.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_UserInfo = $MadelineProto->help->getUserInfo(['user_id' => InputUser, ]); +$help.UserInfo = $MadelineProto->help->getUserInfo(['user_id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -help_UserInfo = help.getUserInfo({user_id=InputUser, }) +help.UserInfo = help.getUserInfo({user_id=InputUser, }) ``` ### Errors diff --git a/docs/API_docs/methods/messages.deleteHistory.md b/docs/API_docs/methods/messages.deleteHistory.md index 53ebf056..1d7be654 100644 --- a/docs/API_docs/methods/messages.deleteHistory.md +++ b/docs/API_docs/methods/messages.deleteHistory.md @@ -19,7 +19,7 @@ Deletes communication history. |max\_id|[int](../types/int.md) | Maximum ID of message to delete | Yes| -### Return type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) +### Return type: [messages.AffectedHistory](../types/messages.AffectedHistory.md) ### Can bots use this method: **NO** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedHistory = $MadelineProto->messages->deleteHistory(['just_clear' => Bool, 'revoke' => Bool, 'peer' => InputPeer, 'max_id' => int, ]); +$messages.AffectedHistory = $MadelineProto->messages->deleteHistory(['just_clear' => Bool, 'revoke' => Bool, 'peer' => InputPeer, 'max_id' => int, ]); ``` Or, if you're into Lua: ```lua -messages_AffectedHistory = messages.deleteHistory({just_clear=Bool, revoke=Bool, peer=InputPeer, max_id=int, }) +messages.AffectedHistory = messages.deleteHistory({just_clear=Bool, revoke=Bool, peer=InputPeer, max_id=int, }) ``` ### Errors diff --git a/docs/API_docs/methods/messages.deleteMessages.md b/docs/API_docs/methods/messages.deleteMessages.md index ade04cae..ade96e60 100644 --- a/docs/API_docs/methods/messages.deleteMessages.md +++ b/docs/API_docs/methods/messages.deleteMessages.md @@ -17,7 +17,7 @@ Deletes messages by their identifiers. |id|Array of [int](../types/int.md) | IDs of messages to delete, use channels->deleteMessages for supergroups | Yes| -### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) +### Return type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedMessages = $MadelineProto->messages->deleteMessages(['revoke' => Bool, 'id' => [int, int], ]); +$messages.AffectedMessages = $MadelineProto->messages->deleteMessages(['revoke' => Bool, 'id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AffectedMessages = messages.deleteMessages({revoke=Bool, id={int}, }) +messages.AffectedMessages = messages.deleteMessages({revoke=Bool, id={int}, }) ``` ### Errors diff --git a/docs/API_docs/methods/messages.getAllChats.md b/docs/API_docs/methods/messages.getAllChats.md index cdcc5430..97cc4817 100644 --- a/docs/API_docs/methods/messages.getAllChats.md +++ b/docs/API_docs/methods/messages.getAllChats.md @@ -16,7 +16,7 @@ Get all chats, channels and supergroups |except\_ids|Array of [int](../types/int.md) | Do not fetch these chats (MTProto id) | Yes| -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->messages->getAllChats(['except_ids' => [int, int], ]); +$messages.Chats = $MadelineProto->messages->getAllChats(['except_ids' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Chats = messages.getAllChats({except_ids={int}, }) +messages.Chats = messages.getAllChats({except_ids={int}, }) ``` ### Errors diff --git a/docs/API_docs/methods/messages.getAllStickers.md b/docs/API_docs/methods/messages.getAllStickers.md index 329b70be..0f0de7f1 100644 --- a/docs/API_docs/methods/messages.getAllStickers.md +++ b/docs/API_docs/methods/messages.getAllStickers.md @@ -16,7 +16,7 @@ Get all installed stickers |hash|Array of [int](../types/int.md) | The hash parameter of the previous result of this method | Optional| -### Return type: [messages\_AllStickers](../types/messages_AllStickers.md) +### Return type: [messages.AllStickers](../types/messages.AllStickers.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AllStickers = $MadelineProto->messages->getAllStickers(['hash' => [int, int], ]); +$messages.AllStickers = $MadelineProto->messages->getAllStickers(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AllStickers = messages.getAllStickers({hash={int}, }) +messages.AllStickers = messages.getAllStickers({hash={int}, }) ``` diff --git a/docs/API_docs/methods/messages.getArchivedStickers.md b/docs/API_docs/methods/messages.getArchivedStickers.md index d3abe9fc..c108376e 100644 --- a/docs/API_docs/methods/messages.getArchivedStickers.md +++ b/docs/API_docs/methods/messages.getArchivedStickers.md @@ -18,7 +18,7 @@ Get all archived stickers |limit|[int](../types/int.md) | Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_ArchivedStickers](../types/messages_ArchivedStickers.md) +### Return type: [messages.ArchivedStickers](../types/messages.ArchivedStickers.md) ### Can bots use this method: **NO** @@ -35,12 +35,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_ArchivedStickers = $MadelineProto->messages->getArchivedStickers(['masks' => Bool, 'offset_id' => long, 'limit' => int, ]); +$messages.ArchivedStickers = $MadelineProto->messages->getArchivedStickers(['masks' => Bool, 'offset_id' => long, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -messages_ArchivedStickers = messages.getArchivedStickers({masks=Bool, offset_id=long, limit=int, }) +messages.ArchivedStickers = messages.getArchivedStickers({masks=Bool, offset_id=long, limit=int, }) ``` diff --git a/docs/API_docs/methods/messages.getBotCallbackAnswer.md b/docs/API_docs/methods/messages.getBotCallbackAnswer.md index 015fc46b..10072386 100644 --- a/docs/API_docs/methods/messages.getBotCallbackAnswer.md +++ b/docs/API_docs/methods/messages.getBotCallbackAnswer.md @@ -19,7 +19,7 @@ Press an inline callback button and get a callback answer from the bot |data|[bytes](../types/bytes.md) | Callback data | Optional| -### Return type: [messages\_BotCallbackAnswer](../types/messages_BotCallbackAnswer.md) +### Return type: [messages.BotCallbackAnswer](../types/messages.BotCallbackAnswer.md) ### Can bots use this method: **NO** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_BotCallbackAnswer = $MadelineProto->messages->getBotCallbackAnswer(['game' => Bool, 'peer' => InputPeer, 'msg_id' => int, 'data' => 'bytes', ]); +$messages.BotCallbackAnswer = $MadelineProto->messages->getBotCallbackAnswer(['game' => Bool, 'peer' => InputPeer, 'msg_id' => int, 'data' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -messages_BotCallbackAnswer = messages.getBotCallbackAnswer({game=Bool, peer=InputPeer, msg_id=int, data='bytes', }) +messages.BotCallbackAnswer = messages.getBotCallbackAnswer({game=Bool, peer=InputPeer, msg_id=int, data='bytes', }) ``` ### Errors diff --git a/docs/API_docs/methods/messages.getChats.md b/docs/API_docs/methods/messages.getChats.md index c34b0488..146341f5 100644 --- a/docs/API_docs/methods/messages.getChats.md +++ b/docs/API_docs/methods/messages.getChats.md @@ -16,7 +16,7 @@ Returns chat basic info on their IDs. |id|Array of [int](../types/int.md) | The MTProto IDs of chats to fetch info about | Yes| -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->messages->getChats(['id' => [int, int], ]); +$messages.Chats = $MadelineProto->messages->getChats(['id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Chats = messages.getChats({id={int}, }) +messages.Chats = messages.getChats({id={int}, }) ``` ### Errors diff --git a/docs/API_docs/methods/messages.getCommonChats.md b/docs/API_docs/methods/messages.getCommonChats.md index fc7b2363..56a3ec01 100644 --- a/docs/API_docs/methods/messages.getCommonChats.md +++ b/docs/API_docs/methods/messages.getCommonChats.md @@ -18,7 +18,7 @@ Get chats in common with a user |limit|[int](../types/int.md) | Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->messages->getCommonChats(['user_id' => InputUser, 'max_id' => int, 'limit' => int, ]); +$messages.Chats = $MadelineProto->messages->getCommonChats(['user_id' => InputUser, 'max_id' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Chats = messages.getCommonChats({user_id=InputUser, max_id=int, limit=int, }) +messages.Chats = messages.getCommonChats({user_id=InputUser, max_id=int, limit=int, }) ``` ### Errors diff --git a/docs/API_docs/methods/messages.getDhConfig.md b/docs/API_docs/methods/messages.getDhConfig.md index 88ea4ab3..7b9da566 100644 --- a/docs/API_docs/methods/messages.getDhConfig.md +++ b/docs/API_docs/methods/messages.getDhConfig.md @@ -17,7 +17,7 @@ You cannot use this method directly, instead use $MadelineProto->getDhConfig(); |random\_length|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->getDhConfig(); | Yes| -### Return type: [messages\_DhConfig](../types/messages_DhConfig.md) +### Return type: [messages.DhConfig](../types/messages.DhConfig.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_DhConfig = $MadelineProto->messages->getDhConfig(['version' => int, 'random_length' => int, ]); +$messages.DhConfig = $MadelineProto->messages->getDhConfig(['version' => int, 'random_length' => int, ]); ``` Or, if you're into Lua: ```lua -messages_DhConfig = messages.getDhConfig({version=int, random_length=int, }) +messages.DhConfig = messages.getDhConfig({version=int, random_length=int, }) ``` ### Errors diff --git a/docs/API_docs/methods/messages.getDialogs.md b/docs/API_docs/methods/messages.getDialogs.md index 4fce7d43..8f0e7f1a 100644 --- a/docs/API_docs/methods/messages.getDialogs.md +++ b/docs/API_docs/methods/messages.getDialogs.md @@ -22,7 +22,7 @@ Returns the current user dialog list. |hash|Array of [int](../types/int.md) | IDs of previously fetched dialogs | Optional| -### Return type: [messages\_Dialogs](../types/messages_Dialogs.md) +### Return type: [messages.Dialogs](../types/messages.Dialogs.md) ### Can bots use this method: **NO** @@ -39,13 +39,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Dialogs = $MadelineProto->messages->getDialogs(['exclude_pinned' => Bool, 'folder_id' => int, 'offset_date' => int, 'offset_id' => int, 'offset_peer' => InputPeer, 'limit' => int, 'hash' => [int, int], ]); +$messages.Dialogs = $MadelineProto->messages->getDialogs(['exclude_pinned' => Bool, 'folder_id' => int, 'offset_date' => int, 'offset_id' => int, 'offset_peer' => InputPeer, 'limit' => int, 'hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Dialogs = messages.getDialogs({exclude_pinned=Bool, folder_id=int, offset_date=int, offset_id=int, offset_peer=InputPeer, limit=int, hash={int}, }) +messages.Dialogs = messages.getDialogs({exclude_pinned=Bool, folder_id=int, offset_date=int, offset_id=int, offset_peer=InputPeer, limit=int, hash={int}, }) ``` ### Errors diff --git a/docs/API_docs/methods/messages.getFavedStickers.md b/docs/API_docs/methods/messages.getFavedStickers.md index 3ba077ef..19f64e43 100644 --- a/docs/API_docs/methods/messages.getFavedStickers.md +++ b/docs/API_docs/methods/messages.getFavedStickers.md @@ -16,7 +16,7 @@ Get faved stickers |hash|Array of [int](../types/int.md) | the hash parameter of the previous result of this method | Optional| -### Return type: [messages\_FavedStickers](../types/messages_FavedStickers.md) +### Return type: [messages.FavedStickers](../types/messages.FavedStickers.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_FavedStickers = $MadelineProto->messages->getFavedStickers(['hash' => [int, int], ]); +$messages.FavedStickers = $MadelineProto->messages->getFavedStickers(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_FavedStickers = messages.getFavedStickers({hash={int}, }) +messages.FavedStickers = messages.getFavedStickers({hash={int}, }) ``` diff --git a/docs/API_docs/methods/messages.getFeaturedStickers.md b/docs/API_docs/methods/messages.getFeaturedStickers.md index 8f2634c3..2d65d626 100644 --- a/docs/API_docs/methods/messages.getFeaturedStickers.md +++ b/docs/API_docs/methods/messages.getFeaturedStickers.md @@ -16,7 +16,7 @@ Get featured stickers |hash|Array of [int](../types/int.md) | the hash parameter of the previous result of this method | Optional| -### Return type: [messages\_FeaturedStickers](../types/messages_FeaturedStickers.md) +### Return type: [messages.FeaturedStickers](../types/messages.FeaturedStickers.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_FeaturedStickers = $MadelineProto->messages->getFeaturedStickers(['hash' => [int, int], ]); +$messages.FeaturedStickers = $MadelineProto->messages->getFeaturedStickers(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_FeaturedStickers = messages.getFeaturedStickers({hash={int}, }) +messages.FeaturedStickers = messages.getFeaturedStickers({hash={int}, }) ``` diff --git a/docs/API_docs/methods/messages.getFullChat.md b/docs/API_docs/methods/messages.getFullChat.md index abf23e21..de543651 100644 --- a/docs/API_docs/methods/messages.getFullChat.md +++ b/docs/API_docs/methods/messages.getFullChat.md @@ -16,7 +16,7 @@ You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo me |chat\_id|[Username, chat ID, Update, Message or InputPeer](../types/InputPeer.md) | You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo methods instead (see https://docs.madelineproto.xyz for more info) | Optional| -### Return type: [messages\_ChatFull](../types/messages_ChatFull.md) +### Return type: [messages.ChatFull](../types/messages.ChatFull.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_ChatFull = $MadelineProto->messages->getFullChat(['chat_id' => InputPeer, ]); +$messages.ChatFull = $MadelineProto->messages->getFullChat(['chat_id' => InputPeer, ]); ``` Or, if you're into Lua: ```lua -messages_ChatFull = messages.getFullChat({chat_id=InputPeer, }) +messages.ChatFull = messages.getFullChat({chat_id=InputPeer, }) ``` ### Errors diff --git a/docs/API_docs/methods/messages.getGameHighScores.md b/docs/API_docs/methods/messages.getGameHighScores.md index 0ee9d754..6e4dacb2 100644 --- a/docs/API_docs/methods/messages.getGameHighScores.md +++ b/docs/API_docs/methods/messages.getGameHighScores.md @@ -18,7 +18,7 @@ Get highscores of a game |user\_id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | Get high scores made by a certain user | Optional| -### Return type: [messages\_HighScores](../types/messages_HighScores.md) +### Return type: [messages.HighScores](../types/messages.HighScores.md) ### Can bots use this method: **YES** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_HighScores = $MadelineProto->messages->getGameHighScores(['peer' => InputPeer, 'id' => int, 'user_id' => InputUser, ]); +$messages.HighScores = $MadelineProto->messages->getGameHighScores(['peer' => InputPeer, 'id' => int, 'user_id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -messages_HighScores = messages.getGameHighScores({peer=InputPeer, id=int, user_id=InputUser, }) +messages.HighScores = messages.getGameHighScores({peer=InputPeer, id=int, user_id=InputUser, }) ``` ### Errors diff --git a/docs/API_docs/methods/messages.getHistory.md b/docs/API_docs/methods/messages.getHistory.md index 9a3d5f8c..c7bd9850 100644 --- a/docs/API_docs/methods/messages.getHistory.md +++ b/docs/API_docs/methods/messages.getHistory.md @@ -23,7 +23,7 @@ Gets back the conversation history with one interlocutor / within a chat |hash|Array of [int](../types/int.md) | IDs of messages you already fetched | Optional| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **NO** @@ -40,13 +40,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->getHistory(['peer' => InputPeer, 'offset_id' => int, 'offset_date' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, 'hash' => [int, int], ]); +$messages.Messages = $MadelineProto->messages->getHistory(['peer' => InputPeer, 'offset_id' => int, 'offset_date' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, 'hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.getHistory({peer=InputPeer, offset_id=int, offset_date=int, add_offset=int, limit=int, max_id=int, min_id=int, hash={int}, }) +messages.Messages = messages.getHistory({peer=InputPeer, offset_id=int, offset_date=int, add_offset=int, limit=int, max_id=int, min_id=int, hash={int}, }) ``` ### Errors diff --git a/docs/API_docs/methods/messages.getInlineBotResults.md b/docs/API_docs/methods/messages.getInlineBotResults.md index ac251797..8a397236 100644 --- a/docs/API_docs/methods/messages.getInlineBotResults.md +++ b/docs/API_docs/methods/messages.getInlineBotResults.md @@ -20,7 +20,7 @@ Query an inline bot |offset|[string](../types/string.md) | The offset within the results, will be passed directly as-is to the bot. | Yes| -### Return type: [messages\_BotResults](../types/messages_BotResults.md) +### Return type: [messages.BotResults](../types/messages.BotResults.md) ### Can bots use this method: **NO** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_BotResults = $MadelineProto->messages->getInlineBotResults(['bot' => InputUser, 'peer' => InputPeer, 'geo_point' => InputGeoPoint, 'query' => 'string', 'offset' => 'string', ]); +$messages.BotResults = $MadelineProto->messages->getInlineBotResults(['bot' => InputUser, 'peer' => InputPeer, 'geo_point' => InputGeoPoint, 'query' => 'string', 'offset' => 'string', ]); ``` Or, if you're into Lua: ```lua -messages_BotResults = messages.getInlineBotResults({bot=InputUser, peer=InputPeer, geo_point=InputGeoPoint, query='string', offset='string', }) +messages.BotResults = messages.getInlineBotResults({bot=InputUser, peer=InputPeer, geo_point=InputGeoPoint, query='string', offset='string', }) ``` ### Errors diff --git a/docs/API_docs/methods/messages.getInlineGameHighScores.md b/docs/API_docs/methods/messages.getInlineGameHighScores.md index 0d02b426..dbcb2cf6 100644 --- a/docs/API_docs/methods/messages.getInlineGameHighScores.md +++ b/docs/API_docs/methods/messages.getInlineGameHighScores.md @@ -17,7 +17,7 @@ Get highscores of a game sent using an inline bot |user\_id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | Get high scores of a certain user | Optional| -### Return type: [messages\_HighScores](../types/messages_HighScores.md) +### Return type: [messages.HighScores](../types/messages.HighScores.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_HighScores = $MadelineProto->messages->getInlineGameHighScores(['id' => InputBotInlineMessageID, 'user_id' => InputUser, ]); +$messages.HighScores = $MadelineProto->messages->getInlineGameHighScores(['id' => InputBotInlineMessageID, 'user_id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -messages_HighScores = messages.getInlineGameHighScores({id=InputBotInlineMessageID, user_id=InputUser, }) +messages.HighScores = messages.getInlineGameHighScores({id=InputBotInlineMessageID, user_id=InputUser, }) ``` ### Errors diff --git a/docs/API_docs/methods/messages.getMaskStickers.md b/docs/API_docs/methods/messages.getMaskStickers.md index a09834e1..093645f6 100644 --- a/docs/API_docs/methods/messages.getMaskStickers.md +++ b/docs/API_docs/methods/messages.getMaskStickers.md @@ -16,7 +16,7 @@ Get installed mask stickers |hash|Array of [int](../types/int.md) | the hash parameter of the previous result of this method | Optional| -### Return type: [messages\_AllStickers](../types/messages_AllStickers.md) +### Return type: [messages.AllStickers](../types/messages.AllStickers.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AllStickers = $MadelineProto->messages->getMaskStickers(['hash' => [int, int], ]); +$messages.AllStickers = $MadelineProto->messages->getMaskStickers(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AllStickers = messages.getMaskStickers({hash={int}, }) +messages.AllStickers = messages.getMaskStickers({hash={int}, }) ``` diff --git a/docs/API_docs/methods/messages.getMessageEditData.md b/docs/API_docs/methods/messages.getMessageEditData.md index 1a083f08..7fd32e82 100644 --- a/docs/API_docs/methods/messages.getMessageEditData.md +++ b/docs/API_docs/methods/messages.getMessageEditData.md @@ -17,7 +17,7 @@ Find out if a media message's caption can be edited |id|[int](../types/int.md) | ID of message | Yes| -### Return type: [messages\_MessageEditData](../types/messages_MessageEditData.md) +### Return type: [messages.MessageEditData](../types/messages.MessageEditData.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_MessageEditData = $MadelineProto->messages->getMessageEditData(['peer' => InputPeer, 'id' => int, ]); +$messages.MessageEditData = $MadelineProto->messages->getMessageEditData(['peer' => InputPeer, 'id' => int, ]); ``` Or, if you're into Lua: ```lua -messages_MessageEditData = messages.getMessageEditData({peer=InputPeer, id=int, }) +messages.MessageEditData = messages.getMessageEditData({peer=InputPeer, id=int, }) ``` ### Errors diff --git a/docs/API_docs/methods/messages.getMessages.md b/docs/API_docs/methods/messages.getMessages.md index eb5ef6a6..0aed788d 100644 --- a/docs/API_docs/methods/messages.getMessages.md +++ b/docs/API_docs/methods/messages.getMessages.md @@ -16,7 +16,7 @@ Returns the list of messages by their IDs. |id|Array of [Message ID or InputMessage](../types/InputMessage.md) | The IDs of messages to fetch (only for users and normal groups) | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **YES** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->getMessages(['id' => [InputMessage, InputMessage], ]); +$messages.Messages = $MadelineProto->messages->getMessages(['id' => [InputMessage, InputMessage], ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.getMessages({id={InputMessage}, }) +messages.Messages = messages.getMessages({id={InputMessage}, }) ``` diff --git a/docs/API_docs/methods/messages.getPeerDialogs.md b/docs/API_docs/methods/messages.getPeerDialogs.md index 2ab5d661..1ec67e6a 100644 --- a/docs/API_docs/methods/messages.getPeerDialogs.md +++ b/docs/API_docs/methods/messages.getPeerDialogs.md @@ -16,7 +16,7 @@ Get dialog info of specified peers |peers|Array of [Username, chat ID, Update, Message or InputDialogPeer](../types/InputDialogPeer.md) | The peers | Yes| -### Return type: [messages\_PeerDialogs](../types/messages_PeerDialogs.md) +### Return type: [messages.PeerDialogs](../types/messages.PeerDialogs.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_PeerDialogs = $MadelineProto->messages->getPeerDialogs(['peers' => [InputDialogPeer, InputDialogPeer], ]); +$messages.PeerDialogs = $MadelineProto->messages->getPeerDialogs(['peers' => [InputDialogPeer, InputDialogPeer], ]); ``` Or, if you're into Lua: ```lua -messages_PeerDialogs = messages.getPeerDialogs({peers={InputDialogPeer}, }) +messages.PeerDialogs = messages.getPeerDialogs({peers={InputDialogPeer}, }) ``` ### Errors diff --git a/docs/API_docs/methods/messages.getPinnedDialogs.md b/docs/API_docs/methods/messages.getPinnedDialogs.md index 7fbfecd0..9b776f2a 100644 --- a/docs/API_docs/methods/messages.getPinnedDialogs.md +++ b/docs/API_docs/methods/messages.getPinnedDialogs.md @@ -16,7 +16,7 @@ Get pinned dialogs |folder\_id|[int](../types/int.md) | Folder ID | Yes| -### Return type: [messages\_PeerDialogs](../types/messages_PeerDialogs.md) +### Return type: [messages.PeerDialogs](../types/messages.PeerDialogs.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_PeerDialogs = $MadelineProto->messages->getPinnedDialogs(['folder_id' => int, ]); +$messages.PeerDialogs = $MadelineProto->messages->getPinnedDialogs(['folder_id' => int, ]); ``` Or, if you're into Lua: ```lua -messages_PeerDialogs = messages.getPinnedDialogs({folder_id=int, }) +messages.PeerDialogs = messages.getPinnedDialogs({folder_id=int, }) ``` ### Errors diff --git a/docs/API_docs/methods/messages.getRecentLocations.md b/docs/API_docs/methods/messages.getRecentLocations.md index 40ec1285..4efeb49c 100644 --- a/docs/API_docs/methods/messages.getRecentLocations.md +++ b/docs/API_docs/methods/messages.getRecentLocations.md @@ -18,7 +18,7 @@ Get live location history of a certain user |hash|Array of [int](../types/int.md) | IDs of locations you already fetched | Optional| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **NO** @@ -35,12 +35,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->getRecentLocations(['peer' => InputPeer, 'limit' => int, 'hash' => [int, int], ]); +$messages.Messages = $MadelineProto->messages->getRecentLocations(['peer' => InputPeer, 'limit' => int, 'hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.getRecentLocations({peer=InputPeer, limit=int, hash={int}, }) +messages.Messages = messages.getRecentLocations({peer=InputPeer, limit=int, hash={int}, }) ``` diff --git a/docs/API_docs/methods/messages.getRecentStickers.md b/docs/API_docs/methods/messages.getRecentStickers.md index 28a70889..39cef16a 100644 --- a/docs/API_docs/methods/messages.getRecentStickers.md +++ b/docs/API_docs/methods/messages.getRecentStickers.md @@ -17,7 +17,7 @@ Get recent stickers |hash|Array of [int](../types/int.md) | IDs the hash parameter of the previous result of this method | Optional| -### Return type: [messages\_RecentStickers](../types/messages_RecentStickers.md) +### Return type: [messages.RecentStickers](../types/messages.RecentStickers.md) ### Can bots use this method: **NO** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_RecentStickers = $MadelineProto->messages->getRecentStickers(['attached' => Bool, 'hash' => [int, int], ]); +$messages.RecentStickers = $MadelineProto->messages->getRecentStickers(['attached' => Bool, 'hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_RecentStickers = messages.getRecentStickers({attached=Bool, hash={int}, }) +messages.RecentStickers = messages.getRecentStickers({attached=Bool, hash={int}, }) ``` diff --git a/docs/API_docs/methods/messages.getSavedGifs.md b/docs/API_docs/methods/messages.getSavedGifs.md index 1df7f37c..8b31f7b8 100644 --- a/docs/API_docs/methods/messages.getSavedGifs.md +++ b/docs/API_docs/methods/messages.getSavedGifs.md @@ -16,7 +16,7 @@ Get saved GIFs |hash|Array of [int](../types/int.md) | the hash parameter of the previous result of this method | Optional| -### Return type: [messages\_SavedGifs](../types/messages_SavedGifs.md) +### Return type: [messages.SavedGifs](../types/messages.SavedGifs.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_SavedGifs = $MadelineProto->messages->getSavedGifs(['hash' => [int, int], ]); +$messages.SavedGifs = $MadelineProto->messages->getSavedGifs(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_SavedGifs = messages.getSavedGifs({hash={int}, }) +messages.SavedGifs = messages.getSavedGifs({hash={int}, }) ``` diff --git a/docs/API_docs/methods/messages.getScheduledHistory.md b/docs/API_docs/methods/messages.getScheduledHistory.md index 861d3c8f..1c908a62 100644 --- a/docs/API_docs/methods/messages.getScheduledHistory.md +++ b/docs/API_docs/methods/messages.getScheduledHistory.md @@ -17,7 +17,7 @@ Get scheduled messages |hash|Array of [int](../types/int.md) | Hash | Optional| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->getScheduledHistory(['peer' => InputPeer, 'hash' => [int, int], ]); +$messages.Messages = $MadelineProto->messages->getScheduledHistory(['peer' => InputPeer, 'hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.getScheduledHistory({peer=InputPeer, hash={int}, }) +messages.Messages = messages.getScheduledHistory({peer=InputPeer, hash={int}, }) ``` ### Errors diff --git a/docs/API_docs/methods/messages.getScheduledMessages.md b/docs/API_docs/methods/messages.getScheduledMessages.md index bb4bf48c..d0034b53 100644 --- a/docs/API_docs/methods/messages.getScheduledMessages.md +++ b/docs/API_docs/methods/messages.getScheduledMessages.md @@ -17,7 +17,7 @@ Get scheduled messages |id|Array of [int](../types/int.md) | ID | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **YES** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->getScheduledMessages(['peer' => InputPeer, 'id' => [int, int], ]); +$messages.Messages = $MadelineProto->messages->getScheduledMessages(['peer' => InputPeer, 'id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.getScheduledMessages({peer=InputPeer, id={int}, }) +messages.Messages = messages.getScheduledMessages({peer=InputPeer, id={int}, }) ``` diff --git a/docs/API_docs/methods/messages.getSearchCounters.md b/docs/API_docs/methods/messages.getSearchCounters.md index 7a3ff374..3fb15962 100644 --- a/docs/API_docs/methods/messages.getSearchCounters.md +++ b/docs/API_docs/methods/messages.getSearchCounters.md @@ -17,7 +17,7 @@ Get the number of results that would be found by a [messages.search](../methods/ |filters|Array of [MessagesFilter](../types/MessagesFilter.md) | Filters | Yes| -### Return type: [Vector\_of\_messages\_SearchCounter](../types/messages_SearchCounter.md) +### Return type: [Vector\_of\_messages.SearchCounter](../types/messages.SearchCounter.md) ### Can bots use this method: **NO** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$Vector_of_messages_SearchCounter = $MadelineProto->messages->getSearchCounters(['peer' => InputPeer, 'filters' => [MessagesFilter, MessagesFilter], ]); +$Vector_of_messages.SearchCounter = $MadelineProto->messages->getSearchCounters(['peer' => InputPeer, 'filters' => [MessagesFilter, MessagesFilter], ]); ``` Or, if you're into Lua: ```lua -Vector_of_messages_SearchCounter = messages.getSearchCounters({peer=InputPeer, filters={MessagesFilter}, }) +Vector_of_messages.SearchCounter = messages.getSearchCounters({peer=InputPeer, filters={MessagesFilter}, }) ``` diff --git a/docs/API_docs/methods/messages.getStickerSet.md b/docs/API_docs/methods/messages.getStickerSet.md index 45fca60f..f11887ee 100644 --- a/docs/API_docs/methods/messages.getStickerSet.md +++ b/docs/API_docs/methods/messages.getStickerSet.md @@ -16,7 +16,7 @@ Get info about a stickerset |stickerset|[InputStickerSet](../types/InputStickerSet.md) | Stickerset | Optional| -### Return type: [messages\_StickerSet](../types/messages_StickerSet.md) +### Return type: [messages.StickerSet](../types/messages.StickerSet.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StickerSet = $MadelineProto->messages->getStickerSet(['stickerset' => InputStickerSet, ]); +$messages.StickerSet = $MadelineProto->messages->getStickerSet(['stickerset' => InputStickerSet, ]); ``` Or, if you're into Lua: ```lua -messages_StickerSet = messages.getStickerSet({stickerset=InputStickerSet, }) +messages.StickerSet = messages.getStickerSet({stickerset=InputStickerSet, }) ``` ### Errors diff --git a/docs/API_docs/methods/messages.getStickers.md b/docs/API_docs/methods/messages.getStickers.md index 4f8b7598..ff99fbd2 100644 --- a/docs/API_docs/methods/messages.getStickers.md +++ b/docs/API_docs/methods/messages.getStickers.md @@ -17,7 +17,7 @@ Get stickers by emoji |hash|Array of [int](../types/int.md) | the hash parameter of the previous result of this method | Optional| -### Return type: [messages\_Stickers](../types/messages_Stickers.md) +### Return type: [messages.Stickers](../types/messages.Stickers.md) ### Can bots use this method: **NO** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Stickers = $MadelineProto->messages->getStickers(['emoticon' => 'string', 'hash' => [int, int], ]); +$messages.Stickers = $MadelineProto->messages->getStickers(['emoticon' => 'string', 'hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Stickers = messages.getStickers({emoticon='string', hash={int}, }) +messages.Stickers = messages.getStickers({emoticon='string', hash={int}, }) ``` diff --git a/docs/API_docs/methods/messages.getUnreadMentions.md b/docs/API_docs/methods/messages.getUnreadMentions.md index 33bba261..679ed841 100644 --- a/docs/API_docs/methods/messages.getUnreadMentions.md +++ b/docs/API_docs/methods/messages.getUnreadMentions.md @@ -21,7 +21,7 @@ Get unread messages where we were mentioned |min\_id|[int](../types/int.md) | Minimum message ID to return, [see pagination](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **NO** @@ -38,13 +38,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->getUnreadMentions(['peer' => InputPeer, 'offset_id' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); +$messages.Messages = $MadelineProto->messages->getUnreadMentions(['peer' => InputPeer, 'offset_id' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.getUnreadMentions({peer=InputPeer, offset_id=int, add_offset=int, limit=int, max_id=int, min_id=int, }) +messages.Messages = messages.getUnreadMentions({peer=InputPeer, offset_id=int, add_offset=int, limit=int, max_id=int, min_id=int, }) ``` ### Errors diff --git a/docs/API_docs/methods/messages.installStickerSet.md b/docs/API_docs/methods/messages.installStickerSet.md index 1a95ca0b..83ce2121 100644 --- a/docs/API_docs/methods/messages.installStickerSet.md +++ b/docs/API_docs/methods/messages.installStickerSet.md @@ -17,7 +17,7 @@ Install a stickerset |archived|[Bool](../types/Bool.md) | Whether to archive stickerset | Yes| -### Return type: [messages\_StickerSetInstallResult](../types/messages_StickerSetInstallResult.md) +### Return type: [messages.StickerSetInstallResult](../types/messages.StickerSetInstallResult.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StickerSetInstallResult = $MadelineProto->messages->installStickerSet(['stickerset' => InputStickerSet, 'archived' => Bool, ]); +$messages.StickerSetInstallResult = $MadelineProto->messages->installStickerSet(['stickerset' => InputStickerSet, 'archived' => Bool, ]); ``` Or, if you're into Lua: ```lua -messages_StickerSetInstallResult = messages.installStickerSet({stickerset=InputStickerSet, archived=Bool, }) +messages.StickerSetInstallResult = messages.installStickerSet({stickerset=InputStickerSet, archived=Bool, }) ``` ### Errors diff --git a/docs/API_docs/methods/messages.readHistory.md b/docs/API_docs/methods/messages.readHistory.md index 39753375..52030c68 100644 --- a/docs/API_docs/methods/messages.readHistory.md +++ b/docs/API_docs/methods/messages.readHistory.md @@ -17,7 +17,7 @@ Marks message history as read. |max\_id|[int](../types/int.md) | If a positive value is passed, only messages with identifiers less or equal than the given one will be read | Yes| -### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) +### Return type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedMessages = $MadelineProto->messages->readHistory(['peer' => InputPeer, 'max_id' => int, ]); +$messages.AffectedMessages = $MadelineProto->messages->readHistory(['peer' => InputPeer, 'max_id' => int, ]); ``` Or, if you're into Lua: ```lua -messages_AffectedMessages = messages.readHistory({peer=InputPeer, max_id=int, }) +messages.AffectedMessages = messages.readHistory({peer=InputPeer, max_id=int, }) ``` ### Errors diff --git a/docs/API_docs/methods/messages.readMentions.md b/docs/API_docs/methods/messages.readMentions.md index 9b73851d..c8c94f00 100644 --- a/docs/API_docs/methods/messages.readMentions.md +++ b/docs/API_docs/methods/messages.readMentions.md @@ -16,7 +16,7 @@ Mark mentions as read |peer|[Username, chat ID, Update, Message or InputPeer](../types/InputPeer.md) | Dialog | Optional| -### Return type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) +### Return type: [messages.AffectedHistory](../types/messages.AffectedHistory.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedHistory = $MadelineProto->messages->readMentions(['peer' => InputPeer, ]); +$messages.AffectedHistory = $MadelineProto->messages->readMentions(['peer' => InputPeer, ]); ``` Or, if you're into Lua: ```lua -messages_AffectedHistory = messages.readMentions({peer=InputPeer, }) +messages.AffectedHistory = messages.readMentions({peer=InputPeer, }) ``` diff --git a/docs/API_docs/methods/messages.readMessageContents.md b/docs/API_docs/methods/messages.readMessageContents.md index c479cafe..9798e661 100644 --- a/docs/API_docs/methods/messages.readMessageContents.md +++ b/docs/API_docs/methods/messages.readMessageContents.md @@ -16,7 +16,7 @@ Notifies the sender about the recipient having listened a voice message or watch |id|Array of [int](../types/int.md) | The messages to mark as read (only users and normal chats, not supergroups) | Yes| -### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) +### Return type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedMessages = $MadelineProto->messages->readMessageContents(['id' => [int, int], ]); +$messages.AffectedMessages = $MadelineProto->messages->readMessageContents(['id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AffectedMessages = messages.readMessageContents({id={int}, }) +messages.AffectedMessages = messages.readMessageContents({id={int}, }) ``` diff --git a/docs/API_docs/methods/messages.search.md b/docs/API_docs/methods/messages.search.md index 75c21af0..b8125fb6 100644 --- a/docs/API_docs/methods/messages.search.md +++ b/docs/API_docs/methods/messages.search.md @@ -27,7 +27,7 @@ Gets back found messages |hash|Array of [int](../types/int.md) | The IDs of messages you already fetched | Optional| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **NO** @@ -44,13 +44,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->search(['peer' => InputPeer, 'q' => 'string', 'from_id' => InputUser, 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset_id' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, 'hash' => [int, int], ]); +$messages.Messages = $MadelineProto->messages->search(['peer' => InputPeer, 'q' => 'string', 'from_id' => InputUser, 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset_id' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, 'hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.search({peer=InputPeer, q='string', from_id=InputUser, filter=MessagesFilter, min_date=int, max_date=int, offset_id=int, add_offset=int, limit=int, max_id=int, min_id=int, hash={int}, }) +messages.Messages = messages.search({peer=InputPeer, q='string', from_id=InputUser, filter=MessagesFilter, min_date=int, max_date=int, offset_id=int, add_offset=int, limit=int, max_id=int, min_id=int, hash={int}, }) ``` ### Errors diff --git a/docs/API_docs/methods/messages.searchGifs.md b/docs/API_docs/methods/messages.searchGifs.md index 851371d7..193a0cd4 100644 --- a/docs/API_docs/methods/messages.searchGifs.md +++ b/docs/API_docs/methods/messages.searchGifs.md @@ -17,7 +17,7 @@ Search for GIFs |offset|[int](../types/int.md) | Offset for [pagination »](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_FoundGifs](../types/messages_FoundGifs.md) +### Return type: [messages.FoundGifs](../types/messages.FoundGifs.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_FoundGifs = $MadelineProto->messages->searchGifs(['q' => 'string', 'offset' => int, ]); +$messages.FoundGifs = $MadelineProto->messages->searchGifs(['q' => 'string', 'offset' => int, ]); ``` Or, if you're into Lua: ```lua -messages_FoundGifs = messages.searchGifs({q='string', offset=int, }) +messages.FoundGifs = messages.searchGifs({q='string', offset=int, }) ``` ### Errors diff --git a/docs/API_docs/methods/messages.searchGlobal.md b/docs/API_docs/methods/messages.searchGlobal.md index 7d2bb854..4e285576 100644 --- a/docs/API_docs/methods/messages.searchGlobal.md +++ b/docs/API_docs/methods/messages.searchGlobal.md @@ -21,7 +21,7 @@ Search for messages and peers globally |limit|[int](../types/int.md) | [Offsets for pagination, for more info click here](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **NO** @@ -38,13 +38,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->searchGlobal(['folder_id' => int, 'q' => 'string', 'offset_rate' => int, 'offset_peer' => InputPeer, 'offset_id' => int, 'limit' => int, ]); +$messages.Messages = $MadelineProto->messages->searchGlobal(['folder_id' => int, 'q' => 'string', 'offset_rate' => int, 'offset_peer' => InputPeer, 'offset_id' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.searchGlobal({folder_id=int, q='string', offset_rate=int, offset_peer=InputPeer, offset_id=int, limit=int, }) +messages.Messages = messages.searchGlobal({folder_id=int, q='string', offset_rate=int, offset_peer=InputPeer, offset_id=int, limit=int, }) ``` ### Errors diff --git a/docs/API_docs/methods/messages.searchStickerSets.md b/docs/API_docs/methods/messages.searchStickerSets.md index 1759fbc0..a8924f3d 100644 --- a/docs/API_docs/methods/messages.searchStickerSets.md +++ b/docs/API_docs/methods/messages.searchStickerSets.md @@ -18,7 +18,7 @@ Search for stickersets |hash|Array of [int](../types/int.md) | The IDs of stickersets you already fetched | Optional| -### Return type: [messages\_FoundStickerSets](../types/messages_FoundStickerSets.md) +### Return type: [messages.FoundStickerSets](../types/messages.FoundStickerSets.md) ### Can bots use this method: **NO** @@ -35,12 +35,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_FoundStickerSets = $MadelineProto->messages->searchStickerSets(['exclude_featured' => Bool, 'q' => 'string', 'hash' => [int, int], ]); +$messages.FoundStickerSets = $MadelineProto->messages->searchStickerSets(['exclude_featured' => Bool, 'q' => 'string', 'hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_FoundStickerSets = messages.searchStickerSets({exclude_featured=Bool, q='string', hash={int}, }) +messages.FoundStickerSets = messages.searchStickerSets({exclude_featured=Bool, q='string', hash={int}, }) ``` diff --git a/docs/API_docs/methods/messages.sendEncrypted.md b/docs/API_docs/methods/messages.sendEncrypted.md index 47b5ef29..6a68b563 100644 --- a/docs/API_docs/methods/messages.sendEncrypted.md +++ b/docs/API_docs/methods/messages.sendEncrypted.md @@ -14,10 +14,10 @@ Sends a text message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|message|[DecryptedMessage](../types/DecryptedMessage.md) | The message to send | Yes| +|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key that was created during chat initialization | Yes| -### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ### Can bots use this method: **NO** @@ -34,21 +34,15 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncrypted(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); +$messages.SentEncryptedMessage = $MadelineProto->messages->sendEncrypted(['peer' => InputEncryptedChat, 'data' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -messages_SentEncryptedMessage = messages.sendEncrypted({peer=InputEncryptedChat, message=DecryptedMessage, }) +messages.SentEncryptedMessage = messages.sendEncrypted({peer=InputEncryptedChat, data='bytes', }) ``` - -## Return value - -If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) will be returned instead. - - ### Errors | Code | Type | Description | diff --git a/docs/API_docs/methods/messages.sendEncryptedFile.md b/docs/API_docs/methods/messages.sendEncryptedFile.md index 4e0f7b7f..87185ba4 100644 --- a/docs/API_docs/methods/messages.sendEncryptedFile.md +++ b/docs/API_docs/methods/messages.sendEncryptedFile.md @@ -14,11 +14,11 @@ Sends a message with a file attachment to a secret chat | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|message|[DecryptedMessage](../types/DecryptedMessage.md) | The message with the file | Yes| +|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| |file|[File path or InputEncryptedFile](../types/InputEncryptedFile.md) | File attachment for the secret chat | Optional| -### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ### Can bots use this method: **NO** @@ -35,21 +35,15 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedFile(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, 'file' => InputEncryptedFile, ]); +$messages.SentEncryptedMessage = $MadelineProto->messages->sendEncryptedFile(['peer' => InputEncryptedChat, 'data' => 'bytes', 'file' => InputEncryptedFile, ]); ``` Or, if you're into Lua: ```lua -messages_SentEncryptedMessage = messages.sendEncryptedFile({peer=InputEncryptedChat, message=DecryptedMessage, file=InputEncryptedFile, }) +messages.SentEncryptedMessage = messages.sendEncryptedFile({peer=InputEncryptedChat, data='bytes', file=InputEncryptedFile, }) ``` - -## Return value - -If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) will be returned instead. - - ### Errors | Code | Type | Description | diff --git a/docs/API_docs/methods/messages.sendEncryptedService.md b/docs/API_docs/methods/messages.sendEncryptedService.md index 86925ae3..38171272 100644 --- a/docs/API_docs/methods/messages.sendEncryptedService.md +++ b/docs/API_docs/methods/messages.sendEncryptedService.md @@ -14,10 +14,10 @@ Sends a service message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|message|[DecryptedMessage](../types/DecryptedMessage.md) | The service message | Yes| +|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| -### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ### Can bots use this method: **NO** @@ -34,21 +34,15 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedService(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); +$messages.SentEncryptedMessage = $MadelineProto->messages->sendEncryptedService(['peer' => InputEncryptedChat, 'data' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -messages_SentEncryptedMessage = messages.sendEncryptedService({peer=InputEncryptedChat, message=DecryptedMessage, }) +messages.SentEncryptedMessage = messages.sendEncryptedService({peer=InputEncryptedChat, data='bytes', }) ``` - -## Return value - -If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) will be returned instead. - - ### Errors | Code | Type | Description | diff --git a/docs/API_docs/methods/payments.getPaymentForm.md b/docs/API_docs/methods/payments.getPaymentForm.md index 3a171a05..da173f14 100644 --- a/docs/API_docs/methods/payments.getPaymentForm.md +++ b/docs/API_docs/methods/payments.getPaymentForm.md @@ -16,7 +16,7 @@ Get a payment form |msg\_id|[int](../types/int.md) | Message ID of payment form | Yes| -### Return type: [payments\_PaymentForm](../types/payments_PaymentForm.md) +### Return type: [payments.PaymentForm](../types/payments.PaymentForm.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$payments_PaymentForm = $MadelineProto->payments->getPaymentForm(['msg_id' => int, ]); +$payments.PaymentForm = $MadelineProto->payments->getPaymentForm(['msg_id' => int, ]); ``` Or, if you're into Lua: ```lua -payments_PaymentForm = payments.getPaymentForm({msg_id=int, }) +payments.PaymentForm = payments.getPaymentForm({msg_id=int, }) ``` ### Errors diff --git a/docs/API_docs/methods/payments.getPaymentReceipt.md b/docs/API_docs/methods/payments.getPaymentReceipt.md index 46d2267c..16e41367 100644 --- a/docs/API_docs/methods/payments.getPaymentReceipt.md +++ b/docs/API_docs/methods/payments.getPaymentReceipt.md @@ -16,7 +16,7 @@ Get payment receipt |msg\_id|[int](../types/int.md) | Message ID of receipt | Yes| -### Return type: [payments\_PaymentReceipt](../types/payments_PaymentReceipt.md) +### Return type: [payments.PaymentReceipt](../types/payments.PaymentReceipt.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$payments_PaymentReceipt = $MadelineProto->payments->getPaymentReceipt(['msg_id' => int, ]); +$payments.PaymentReceipt = $MadelineProto->payments->getPaymentReceipt(['msg_id' => int, ]); ``` Or, if you're into Lua: ```lua -payments_PaymentReceipt = payments.getPaymentReceipt({msg_id=int, }) +payments.PaymentReceipt = payments.getPaymentReceipt({msg_id=int, }) ``` ### Errors diff --git a/docs/API_docs/methods/payments.getSavedInfo.md b/docs/API_docs/methods/payments.getSavedInfo.md index dc9c9b98..fe2c16ec 100644 --- a/docs/API_docs/methods/payments.getSavedInfo.md +++ b/docs/API_docs/methods/payments.getSavedInfo.md @@ -11,7 +11,7 @@ Get saved payment information -### Return type: [payments\_SavedInfo](../types/payments_SavedInfo.md) +### Return type: [payments.SavedInfo](../types/payments.SavedInfo.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$payments_SavedInfo = $MadelineProto->payments->getSavedInfo(); +$payments.SavedInfo = $MadelineProto->payments->getSavedInfo(); ``` Or, if you're into Lua: ```lua -payments_SavedInfo = payments.getSavedInfo({}) +payments.SavedInfo = payments.getSavedInfo({}) ``` diff --git a/docs/API_docs/methods/payments.sendPaymentForm.md b/docs/API_docs/methods/payments.sendPaymentForm.md index 8c478b92..de154e7f 100644 --- a/docs/API_docs/methods/payments.sendPaymentForm.md +++ b/docs/API_docs/methods/payments.sendPaymentForm.md @@ -19,7 +19,7 @@ Send compiled payment form |credentials|[InputPaymentCredentials](../types/InputPaymentCredentials.md) | Payment credentials | Yes| -### Return type: [payments\_PaymentResult](../types/payments_PaymentResult.md) +### Return type: [payments.PaymentResult](../types/payments.PaymentResult.md) ### Can bots use this method: **NO** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$payments_PaymentResult = $MadelineProto->payments->sendPaymentForm(['msg_id' => int, 'requested_info_id' => 'string', 'shipping_option_id' => 'string', 'credentials' => InputPaymentCredentials, ]); +$payments.PaymentResult = $MadelineProto->payments->sendPaymentForm(['msg_id' => int, 'requested_info_id' => 'string', 'shipping_option_id' => 'string', 'credentials' => InputPaymentCredentials, ]); ``` Or, if you're into Lua: ```lua -payments_PaymentResult = payments.sendPaymentForm({msg_id=int, requested_info_id='string', shipping_option_id='string', credentials=InputPaymentCredentials, }) +payments.PaymentResult = payments.sendPaymentForm({msg_id=int, requested_info_id='string', shipping_option_id='string', credentials=InputPaymentCredentials, }) ``` ### Errors diff --git a/docs/API_docs/methods/payments.validateRequestedInfo.md b/docs/API_docs/methods/payments.validateRequestedInfo.md index d6364a02..ce22cfe8 100644 --- a/docs/API_docs/methods/payments.validateRequestedInfo.md +++ b/docs/API_docs/methods/payments.validateRequestedInfo.md @@ -18,7 +18,7 @@ Submit requested order information for validation |info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Requested order information | Yes| -### Return type: [payments\_ValidatedRequestedInfo](../types/payments_ValidatedRequestedInfo.md) +### Return type: [payments.ValidatedRequestedInfo](../types/payments.ValidatedRequestedInfo.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$payments_ValidatedRequestedInfo = $MadelineProto->payments->validateRequestedInfo(['save' => Bool, 'msg_id' => int, 'info' => PaymentRequestedInfo, ]); +$payments.ValidatedRequestedInfo = $MadelineProto->payments->validateRequestedInfo(['save' => Bool, 'msg_id' => int, 'info' => PaymentRequestedInfo, ]); ``` Or, if you're into Lua: ```lua -payments_ValidatedRequestedInfo = payments.validateRequestedInfo({save=Bool, msg_id=int, info=PaymentRequestedInfo, }) +payments.ValidatedRequestedInfo = payments.validateRequestedInfo({save=Bool, msg_id=int, info=PaymentRequestedInfo, }) ``` ### Errors diff --git a/docs/API_docs/methods/phone.acceptCall.md b/docs/API_docs/methods/phone.acceptCall.md index f5c58f01..6b9185aa 100644 --- a/docs/API_docs/methods/phone.acceptCall.md +++ b/docs/API_docs/methods/phone.acceptCall.md @@ -18,7 +18,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz#calls fo |protocol|[PhoneCallProtocol](../types/PhoneCallProtocol.md) | You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls | Yes| -### Return type: [phone\_PhoneCall](../types/phone_PhoneCall.md) +### Return type: [phone.PhoneCall](../types/phone.PhoneCall.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$phone_PhoneCall = $MadelineProto->phone->acceptCall(['peer' => InputPhoneCall, 'g_b' => 'bytes', 'protocol' => PhoneCallProtocol, ]); +$phone.PhoneCall = $MadelineProto->phone->acceptCall(['peer' => InputPhoneCall, 'g_b' => 'bytes', 'protocol' => PhoneCallProtocol, ]); ``` Or, if you're into Lua: ```lua -phone_PhoneCall = phone.acceptCall({peer=InputPhoneCall, g_b='bytes', protocol=PhoneCallProtocol, }) +phone.PhoneCall = phone.acceptCall({peer=InputPhoneCall, g_b='bytes', protocol=PhoneCallProtocol, }) ``` ### Errors diff --git a/docs/API_docs/methods/phone.confirmCall.md b/docs/API_docs/methods/phone.confirmCall.md index 468307cc..a52d1f9c 100644 --- a/docs/API_docs/methods/phone.confirmCall.md +++ b/docs/API_docs/methods/phone.confirmCall.md @@ -19,7 +19,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz#calls fo |protocol|[PhoneCallProtocol](../types/PhoneCallProtocol.md) | You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls | Yes| -### Return type: [phone\_PhoneCall](../types/phone_PhoneCall.md) +### Return type: [phone.PhoneCall](../types/phone.PhoneCall.md) ### Can bots use this method: **NO** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$phone_PhoneCall = $MadelineProto->phone->confirmCall(['peer' => InputPhoneCall, 'g_a' => 'bytes', 'key_fingerprint' => long, 'protocol' => PhoneCallProtocol, ]); +$phone.PhoneCall = $MadelineProto->phone->confirmCall(['peer' => InputPhoneCall, 'g_a' => 'bytes', 'key_fingerprint' => long, 'protocol' => PhoneCallProtocol, ]); ``` Or, if you're into Lua: ```lua -phone_PhoneCall = phone.confirmCall({peer=InputPhoneCall, g_a='bytes', key_fingerprint=long, protocol=PhoneCallProtocol, }) +phone.PhoneCall = phone.confirmCall({peer=InputPhoneCall, g_a='bytes', key_fingerprint=long, protocol=PhoneCallProtocol, }) ``` ### Errors diff --git a/docs/API_docs/methods/phone.requestCall.md b/docs/API_docs/methods/phone.requestCall.md index e3894214..608f562f 100644 --- a/docs/API_docs/methods/phone.requestCall.md +++ b/docs/API_docs/methods/phone.requestCall.md @@ -19,7 +19,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz#calls fo |protocol|[PhoneCallProtocol](../types/PhoneCallProtocol.md) | You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls | Yes| -### Return type: [phone\_PhoneCall](../types/phone_PhoneCall.md) +### Return type: [phone.PhoneCall](../types/phone.PhoneCall.md) ### Can bots use this method: **NO** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$phone_PhoneCall = $MadelineProto->phone->requestCall(['video' => Bool, 'user_id' => InputUser, 'g_a_hash' => 'bytes', 'protocol' => PhoneCallProtocol, ]); +$phone.PhoneCall = $MadelineProto->phone->requestCall(['video' => Bool, 'user_id' => InputUser, 'g_a_hash' => 'bytes', 'protocol' => PhoneCallProtocol, ]); ``` Or, if you're into Lua: ```lua -phone_PhoneCall = phone.requestCall({video=Bool, user_id=InputUser, g_a_hash='bytes', protocol=PhoneCallProtocol, }) +phone.PhoneCall = phone.requestCall({video=Bool, user_id=InputUser, g_a_hash='bytes', protocol=PhoneCallProtocol, }) ``` ### Errors diff --git a/docs/API_docs/methods/photos.getUserPhotos.md b/docs/API_docs/methods/photos.getUserPhotos.md index a1dec2ed..1f8d5c64 100644 --- a/docs/API_docs/methods/photos.getUserPhotos.md +++ b/docs/API_docs/methods/photos.getUserPhotos.md @@ -19,7 +19,7 @@ Returns the list of user photos. |limit|[int](../types/int.md) | Number of list elements to be returned | Yes| -### Return type: [photos\_Photos](../types/photos_Photos.md) +### Return type: [photos.Photos](../types/photos.Photos.md) ### Can bots use this method: **YES** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$photos_Photos = $MadelineProto->photos->getUserPhotos(['user_id' => InputUser, 'offset' => int, 'max_id' => long, 'limit' => int, ]); +$photos.Photos = $MadelineProto->photos->getUserPhotos(['user_id' => InputUser, 'offset' => int, 'max_id' => long, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -photos_Photos = photos.getUserPhotos({user_id=InputUser, offset=int, max_id=long, limit=int, }) +photos.Photos = photos.getUserPhotos({user_id=InputUser, offset=int, max_id=long, limit=int, }) ``` ### Errors diff --git a/docs/API_docs/methods/photos.uploadProfilePhoto.md b/docs/API_docs/methods/photos.uploadProfilePhoto.md index b6a01ee7..4de76a24 100644 --- a/docs/API_docs/methods/photos.uploadProfilePhoto.md +++ b/docs/API_docs/methods/photos.uploadProfilePhoto.md @@ -16,7 +16,7 @@ Updates current user profile photo. |file|[File path or InputFile](../types/InputFile.md) | File saved in parts by means of [upload.saveFilePart](../methods/upload.saveFilePart.md) method | Yes| -### Return type: [photos\_Photo](../types/photos_Photo.md) +### Return type: [photos.Photo](../types/photos.Photo.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$photos_Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, ]); +$photos.Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, ]); ``` Or, if you're into Lua: ```lua -photos_Photo = photos.uploadProfilePhoto({file=InputFile, }) +photos.Photo = photos.uploadProfilePhoto({file=InputFile, }) ``` ### Errors diff --git a/docs/API_docs/methods/stickers.addStickerToSet.md b/docs/API_docs/methods/stickers.addStickerToSet.md index 727d3f27..e8392355 100644 --- a/docs/API_docs/methods/stickers.addStickerToSet.md +++ b/docs/API_docs/methods/stickers.addStickerToSet.md @@ -17,7 +17,7 @@ Add a sticker to a stickerset, bots only. The sticker set must have been created |sticker|[InputStickerSetItem](../types/InputStickerSetItem.md) | The sticker | Yes| -### Return type: [messages\_StickerSet](../types/messages_StickerSet.md) +### Return type: [messages.StickerSet](../types/messages.StickerSet.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StickerSet = $MadelineProto->stickers->addStickerToSet(['stickerset' => InputStickerSet, 'sticker' => InputStickerSetItem, ]); +$messages.StickerSet = $MadelineProto->stickers->addStickerToSet(['stickerset' => InputStickerSet, 'sticker' => InputStickerSetItem, ]); ``` Or, if you're into Lua: ```lua -messages_StickerSet = stickers.addStickerToSet({stickerset=InputStickerSet, sticker=InputStickerSetItem, }) +messages.StickerSet = stickers.addStickerToSet({stickerset=InputStickerSet, sticker=InputStickerSetItem, }) ``` ### Errors diff --git a/docs/API_docs/methods/stickers.changeStickerPosition.md b/docs/API_docs/methods/stickers.changeStickerPosition.md index ed390f21..e1d8ab5e 100644 --- a/docs/API_docs/methods/stickers.changeStickerPosition.md +++ b/docs/API_docs/methods/stickers.changeStickerPosition.md @@ -17,7 +17,7 @@ Changes the absolute position of a sticker in the set to which it belongs; for b |position|[int](../types/int.md) | The new position of the sticker, zero-based | Yes| -### Return type: [messages\_StickerSet](../types/messages_StickerSet.md) +### Return type: [messages.StickerSet](../types/messages.StickerSet.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StickerSet = $MadelineProto->stickers->changeStickerPosition(['sticker' => InputDocument, 'position' => int, ]); +$messages.StickerSet = $MadelineProto->stickers->changeStickerPosition(['sticker' => InputDocument, 'position' => int, ]); ``` Or, if you're into Lua: ```lua -messages_StickerSet = stickers.changeStickerPosition({sticker=InputDocument, position=int, }) +messages.StickerSet = stickers.changeStickerPosition({sticker=InputDocument, position=int, }) ``` ### Errors diff --git a/docs/API_docs/methods/stickers.createStickerSet.md b/docs/API_docs/methods/stickers.createStickerSet.md index 5a6ef396..7eeeb48f 100644 --- a/docs/API_docs/methods/stickers.createStickerSet.md +++ b/docs/API_docs/methods/stickers.createStickerSet.md @@ -20,7 +20,7 @@ Create a stickerset, bots only. |stickers|Array of [InputStickerSetItem](../types/InputStickerSetItem.md) | The stickers to add | Yes| -### Return type: [messages\_StickerSet](../types/messages_StickerSet.md) +### Return type: [messages.StickerSet](../types/messages.StickerSet.md) ### Can bots use this method: **YES** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StickerSet = $MadelineProto->stickers->createStickerSet(['masks' => Bool, 'user_id' => InputUser, 'title' => 'string', 'short_name' => 'string', 'stickers' => [InputStickerSetItem, InputStickerSetItem], ]); +$messages.StickerSet = $MadelineProto->stickers->createStickerSet(['masks' => Bool, 'user_id' => InputUser, 'title' => 'string', 'short_name' => 'string', 'stickers' => [InputStickerSetItem, InputStickerSetItem], ]); ``` Or, if you're into Lua: ```lua -messages_StickerSet = stickers.createStickerSet({masks=Bool, user_id=InputUser, title='string', short_name='string', stickers={InputStickerSetItem}, }) +messages.StickerSet = stickers.createStickerSet({masks=Bool, user_id=InputUser, title='string', short_name='string', stickers={InputStickerSetItem}, }) ``` ### Errors diff --git a/docs/API_docs/methods/stickers.removeStickerFromSet.md b/docs/API_docs/methods/stickers.removeStickerFromSet.md index 33f677b3..aa4927ca 100644 --- a/docs/API_docs/methods/stickers.removeStickerFromSet.md +++ b/docs/API_docs/methods/stickers.removeStickerFromSet.md @@ -16,7 +16,7 @@ Remove a sticker from the set where it belongs, bots only. The sticker set must |sticker|[MessageMedia, Update, Message or InputDocument](../types/InputDocument.md) | The sticker to remove | Optional| -### Return type: [messages\_StickerSet](../types/messages_StickerSet.md) +### Return type: [messages.StickerSet](../types/messages.StickerSet.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StickerSet = $MadelineProto->stickers->removeStickerFromSet(['sticker' => InputDocument, ]); +$messages.StickerSet = $MadelineProto->stickers->removeStickerFromSet(['sticker' => InputDocument, ]); ``` Or, if you're into Lua: ```lua -messages_StickerSet = stickers.removeStickerFromSet({sticker=InputDocument, }) +messages.StickerSet = stickers.removeStickerFromSet({sticker=InputDocument, }) ``` ### Errors diff --git a/docs/API_docs/methods/updates.getChannelDifference.md b/docs/API_docs/methods/updates.getChannelDifference.md index 5675cd33..08df3395 100644 --- a/docs/API_docs/methods/updates.getChannelDifference.md +++ b/docs/API_docs/methods/updates.getChannelDifference.md @@ -20,7 +20,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz for more |limit|[int](../types/int.md) | You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates | Yes| -### Return type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) +### Return type: [updates.ChannelDifference](../types/updates.ChannelDifference.md) ### Can bots use this method: **YES** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$updates_ChannelDifference = $MadelineProto->updates->getChannelDifference(['force' => Bool, 'channel' => InputChannel, 'filter' => ChannelMessagesFilter, 'pts' => int, 'limit' => int, ]); +$updates.ChannelDifference = $MadelineProto->updates->getChannelDifference(['force' => Bool, 'channel' => InputChannel, 'filter' => ChannelMessagesFilter, 'pts' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -updates_ChannelDifference = updates.getChannelDifference({force=Bool, channel=InputChannel, filter=ChannelMessagesFilter, pts=int, limit=int, }) +updates.ChannelDifference = updates.getChannelDifference({force=Bool, channel=InputChannel, filter=ChannelMessagesFilter, pts=int, limit=int, }) ``` ### Errors diff --git a/docs/API_docs/methods/updates.getDifference.md b/docs/API_docs/methods/updates.getDifference.md index bcfac4e2..b3796a10 100644 --- a/docs/API_docs/methods/updates.getDifference.md +++ b/docs/API_docs/methods/updates.getDifference.md @@ -19,7 +19,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz for more |qts|[int](../types/int.md) | You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates | Yes| -### Return type: [updates\_Difference](../types/updates_Difference.md) +### Return type: [updates.Difference](../types/updates.Difference.md) ### Can bots use this method: **YES** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$updates_Difference = $MadelineProto->updates->getDifference(['pts' => int, 'pts_total_limit' => int, 'date' => int, 'qts' => int, ]); +$updates.Difference = $MadelineProto->updates->getDifference(['pts' => int, 'pts_total_limit' => int, 'date' => int, 'qts' => int, ]); ``` Or, if you're into Lua: ```lua -updates_Difference = updates.getDifference({pts=int, pts_total_limit=int, date=int, qts=int, }) +updates.Difference = updates.getDifference({pts=int, pts_total_limit=int, date=int, qts=int, }) ``` ### Errors diff --git a/docs/API_docs/methods/updates.getState.md b/docs/API_docs/methods/updates.getState.md index c591408a..9a7d2f34 100644 --- a/docs/API_docs/methods/updates.getState.md +++ b/docs/API_docs/methods/updates.getState.md @@ -11,7 +11,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz for more -### Return type: [updates\_State](../types/updates_State.md) +### Return type: [updates.State](../types/updates.State.md) ### Can bots use this method: **YES** @@ -28,13 +28,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$updates_State = $MadelineProto->updates->getState(); +$updates.State = $MadelineProto->updates->getState(); ``` Or, if you're into Lua: ```lua -updates_State = updates.getState({}) +updates.State = updates.getState({}) ``` ### Errors diff --git a/docs/API_docs/methods/upload.getCdnFile.md b/docs/API_docs/methods/upload.getCdnFile.md index a3c928b2..67b2e84e 100644 --- a/docs/API_docs/methods/upload.getCdnFile.md +++ b/docs/API_docs/methods/upload.getCdnFile.md @@ -18,7 +18,7 @@ You cannot use this method directly, use the upload, downloadToStream, downloadT |limit|[int](../types/int.md) | You cannot use this method directly, use the upload, downloadToStream, downloadToFile, downloadToDir methods instead; see https://docs.madelineproto.xyz for more info | Yes| -### Return type: [upload\_CdnFile](../types/upload_CdnFile.md) +### Return type: [upload.CdnFile](../types/upload.CdnFile.md) ### Can bots use this method: **NO** @@ -35,12 +35,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$upload_CdnFile = $MadelineProto->upload->getCdnFile(['file_token' => 'bytes', 'offset' => int, 'limit' => int, ]); +$upload.CdnFile = $MadelineProto->upload->getCdnFile(['file_token' => 'bytes', 'offset' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -upload_CdnFile = upload.getCdnFile({file_token='bytes', offset=int, limit=int, }) +upload.CdnFile = upload.getCdnFile({file_token='bytes', offset=int, limit=int, }) ``` diff --git a/docs/API_docs/methods/upload.getFile.md b/docs/API_docs/methods/upload.getFile.md index a160e7f8..9789c3dd 100644 --- a/docs/API_docs/methods/upload.getFile.md +++ b/docs/API_docs/methods/upload.getFile.md @@ -19,7 +19,7 @@ You cannot use this method directly, use the upload, downloadToStream, downloadT |limit|[int](../types/int.md) | You cannot use this method directly, use the upload, downloadToStream, downloadToFile, downloadToDir methods instead; see https://docs.madelineproto.xyz for more info | Yes| -### Return type: [upload\_File](../types/upload_File.md) +### Return type: [upload.File](../types/upload.File.md) ### Can bots use this method: **YES** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$upload_File = $MadelineProto->upload->getFile(['precise' => Bool, 'location' => InputFileLocation, 'offset' => int, 'limit' => int, ]); +$upload.File = $MadelineProto->upload->getFile(['precise' => Bool, 'location' => InputFileLocation, 'offset' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -upload_File = upload.getFile({precise=Bool, location=InputFileLocation, offset=int, limit=int, }) +upload.File = upload.getFile({precise=Bool, location=InputFileLocation, offset=int, limit=int, }) ``` ### Errors diff --git a/docs/API_docs/methods/upload.getWebFile.md b/docs/API_docs/methods/upload.getWebFile.md index 32f6b322..60f1b8c1 100644 --- a/docs/API_docs/methods/upload.getWebFile.md +++ b/docs/API_docs/methods/upload.getWebFile.md @@ -18,7 +18,7 @@ Returns content of an HTTP file or a part, by proxying the request through teleg |limit|[int](../types/int.md) | Number of bytes to be returned | Yes| -### Return type: [upload\_WebFile](../types/upload_WebFile.md) +### Return type: [upload.WebFile](../types/upload.WebFile.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$upload_WebFile = $MadelineProto->upload->getWebFile(['location' => InputWebFileLocation, 'offset' => int, 'limit' => int, ]); +$upload.WebFile = $MadelineProto->upload->getWebFile(['location' => InputWebFileLocation, 'offset' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -upload_WebFile = upload.getWebFile({location=InputWebFileLocation, offset=int, limit=int, }) +upload.WebFile = upload.getWebFile({location=InputWebFileLocation, offset=int, limit=int, }) ``` ### Errors diff --git a/docs/API_docs/types/AccountDaysTTL.md b/docs/API_docs/types/AccountDaysTTL.md index 12a10190..f3494aac 100644 --- a/docs/API_docs/types/AccountDaysTTL.md +++ b/docs/API_docs/types/AccountDaysTTL.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->account->getAccountTTL](../methods/account_getAccountTTL.md) +[$MadelineProto->account->getAccountTTL](../methods/account.getAccountTTL.md) diff --git a/docs/API_docs/types/CdnConfig.md b/docs/API_docs/types/CdnConfig.md index fbfe01c3..0b0fb5be 100644 --- a/docs/API_docs/types/CdnConfig.md +++ b/docs/API_docs/types/CdnConfig.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->help->getCdnConfig](../methods/help_getCdnConfig.md) +[$MadelineProto->help->getCdnConfig](../methods/help.getCdnConfig.md) diff --git a/docs/API_docs/types/ChatInvite.md b/docs/API_docs/types/ChatInvite.md index 5022a2f0..9fafabb4 100644 --- a/docs/API_docs/types/ChatInvite.md +++ b/docs/API_docs/types/ChatInvite.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->checkChatInvite](../methods/messages_checkChatInvite.md) +[$MadelineProto->messages->checkChatInvite](../methods/messages.checkChatInvite.md) diff --git a/docs/API_docs/types/ChatOnlines.md b/docs/API_docs/types/ChatOnlines.md index 5faf4a6e..e5646dd6 100644 --- a/docs/API_docs/types/ChatOnlines.md +++ b/docs/API_docs/types/ChatOnlines.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getOnlines](../methods/messages_getOnlines.md) +[$MadelineProto->messages->getOnlines](../methods/messages.getOnlines.md) diff --git a/docs/API_docs/types/Config.md b/docs/API_docs/types/Config.md index 0f7fbe70..3a23b7b7 100644 --- a/docs/API_docs/types/Config.md +++ b/docs/API_docs/types/Config.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->help->getConfig](../methods/help_getConfig.md) +[$MadelineProto->help->getConfig](../methods/help.getConfig.md) diff --git a/docs/API_docs/types/ContactStatus.md b/docs/API_docs/types/ContactStatus.md index c5f5d658..30aee6e2 100644 --- a/docs/API_docs/types/ContactStatus.md +++ b/docs/API_docs/types/ContactStatus.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->contacts->getStatuses](../methods/contacts_getStatuses.md) +[$MadelineProto->contacts->getStatuses](../methods/contacts.getStatuses.md) diff --git a/docs/API_docs/types/DialogPeer.md b/docs/API_docs/types/DialogPeer.md index 1f86eb1c..18b145b0 100644 --- a/docs/API_docs/types/DialogPeer.md +++ b/docs/API_docs/types/DialogPeer.md @@ -42,7 +42,7 @@ A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDia ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getDialogUnreadMarks](../methods/messages_getDialogUnreadMarks.md) +[$MadelineProto->messages->getDialogUnreadMarks](../methods/messages.getDialogUnreadMarks.md) diff --git a/docs/API_docs/types/Document.md b/docs/API_docs/types/Document.md index bd178164..8f0843ad 100644 --- a/docs/API_docs/types/Document.md +++ b/docs/API_docs/types/Document.md @@ -18,9 +18,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->account->uploadTheme](../methods/account_uploadTheme.md) +[$MadelineProto->account->uploadTheme](../methods/account.uploadTheme.md) -[$MadelineProto->messages->getDocumentByHash](../methods/messages_getDocumentByHash.md) +[$MadelineProto->messages->getDocumentByHash](../methods/messages.getDocumentByHash.md) diff --git a/docs/API_docs/types/EmojiKeywordsDifference.md b/docs/API_docs/types/EmojiKeywordsDifference.md index 8dc7d309..1282c000 100644 --- a/docs/API_docs/types/EmojiKeywordsDifference.md +++ b/docs/API_docs/types/EmojiKeywordsDifference.md @@ -16,9 +16,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getEmojiKeywords](../methods/messages_getEmojiKeywords.md) +[$MadelineProto->messages->getEmojiKeywords](../methods/messages.getEmojiKeywords.md) -[$MadelineProto->messages->getEmojiKeywordsDifference](../methods/messages_getEmojiKeywordsDifference.md) +[$MadelineProto->messages->getEmojiKeywordsDifference](../methods/messages.getEmojiKeywordsDifference.md) diff --git a/docs/API_docs/types/EmojiLanguage.md b/docs/API_docs/types/EmojiLanguage.md index 1d5f1214..5ff98ac3 100644 --- a/docs/API_docs/types/EmojiLanguage.md +++ b/docs/API_docs/types/EmojiLanguage.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getEmojiKeywordsLanguages](../methods/messages_getEmojiKeywordsLanguages.md) +[$MadelineProto->messages->getEmojiKeywordsLanguages](../methods/messages.getEmojiKeywordsLanguages.md) diff --git a/docs/API_docs/types/EmojiURL.md b/docs/API_docs/types/EmojiURL.md index f9c636d0..c2fc469d 100644 --- a/docs/API_docs/types/EmojiURL.md +++ b/docs/API_docs/types/EmojiURL.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getEmojiURL](../methods/messages_getEmojiURL.md) +[$MadelineProto->messages->getEmojiURL](../methods/messages.getEmojiURL.md) diff --git a/docs/API_docs/types/EncryptedChat.md b/docs/API_docs/types/EncryptedChat.md index fd2277f6..19cf52b0 100644 --- a/docs/API_docs/types/EncryptedChat.md +++ b/docs/API_docs/types/EncryptedChat.md @@ -24,9 +24,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->requestEncryption](../methods/messages_requestEncryption.md) +[$MadelineProto->messages->requestEncryption](../methods/messages.requestEncryption.md) -[$MadelineProto->messages->acceptEncryption](../methods/messages_acceptEncryption.md) +[$MadelineProto->messages->acceptEncryption](../methods/messages.acceptEncryption.md) diff --git a/docs/API_docs/types/EncryptedFile.md b/docs/API_docs/types/EncryptedFile.md index a26d40bb..8ecf8e9d 100644 --- a/docs/API_docs/types/EncryptedFile.md +++ b/docs/API_docs/types/EncryptedFile.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->uploadEncryptedFile](../methods/messages_uploadEncryptedFile.md) +[$MadelineProto->messages->uploadEncryptedFile](../methods/messages.uploadEncryptedFile.md) diff --git a/docs/API_docs/types/ExportedChatInvite.md b/docs/API_docs/types/ExportedChatInvite.md index 16a273d1..f5a43739 100644 --- a/docs/API_docs/types/ExportedChatInvite.md +++ b/docs/API_docs/types/ExportedChatInvite.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->exportChatInvite](../methods/messages_exportChatInvite.md) +[$MadelineProto->messages->exportChatInvite](../methods/messages.exportChatInvite.md) diff --git a/docs/API_docs/types/ExportedMessageLink.md b/docs/API_docs/types/ExportedMessageLink.md index eb2400f6..948e9c90 100644 --- a/docs/API_docs/types/ExportedMessageLink.md +++ b/docs/API_docs/types/ExportedMessageLink.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->channels->exportMessageLink](../methods/channels_exportMessageLink.md) +[$MadelineProto->channels->exportMessageLink](../methods/channels.exportMessageLink.md) diff --git a/docs/API_docs/types/FileHash.md b/docs/API_docs/types/FileHash.md index 3201d7e0..a908fb9b 100644 --- a/docs/API_docs/types/FileHash.md +++ b/docs/API_docs/types/FileHash.md @@ -16,11 +16,11 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->upload->reuploadCdnFile](../methods/upload_reuploadCdnFile.md) +[$MadelineProto->upload->reuploadCdnFile](../methods/upload.reuploadCdnFile.md) -[$MadelineProto->upload->getCdnFileHashes](../methods/upload_getCdnFileHashes.md) +[$MadelineProto->upload->getCdnFileHashes](../methods/upload.getCdnFileHashes.md) -[$MadelineProto->upload->getFileHashes](../methods/upload_getFileHashes.md) +[$MadelineProto->upload->getFileHashes](../methods/upload.getFileHashes.md) diff --git a/docs/API_docs/types/JSONValue.md b/docs/API_docs/types/JSONValue.md index eed45486..83527ab0 100644 --- a/docs/API_docs/types/JSONValue.md +++ b/docs/API_docs/types/JSONValue.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->help->getAppConfig](../methods/help_getAppConfig.md) +[$MadelineProto->help->getAppConfig](../methods/help.getAppConfig.md) diff --git a/docs/API_docs/types/LangPackDifference.md b/docs/API_docs/types/LangPackDifference.md index fd9f41f2..e04125b8 100644 --- a/docs/API_docs/types/LangPackDifference.md +++ b/docs/API_docs/types/LangPackDifference.md @@ -16,9 +16,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->langpack->getLangPack](../methods/langpack_getLangPack.md) +[$MadelineProto->langpack->getLangPack](../methods/langpack.getLangPack.md) -[$MadelineProto->langpack->getDifference](../methods/langpack_getDifference.md) +[$MadelineProto->langpack->getDifference](../methods/langpack.getDifference.md) diff --git a/docs/API_docs/types/LangPackLanguage.md b/docs/API_docs/types/LangPackLanguage.md index f6559af9..74c7172d 100644 --- a/docs/API_docs/types/LangPackLanguage.md +++ b/docs/API_docs/types/LangPackLanguage.md @@ -16,9 +16,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->langpack->getLanguages](../methods/langpack_getLanguages.md) +[$MadelineProto->langpack->getLanguages](../methods/langpack.getLanguages.md) -[$MadelineProto->langpack->getLanguage](../methods/langpack_getLanguage.md) +[$MadelineProto->langpack->getLanguage](../methods/langpack.getLanguage.md) diff --git a/docs/API_docs/types/LangPackString.md b/docs/API_docs/types/LangPackString.md index f1a43dd9..15f9dc3d 100644 --- a/docs/API_docs/types/LangPackString.md +++ b/docs/API_docs/types/LangPackString.md @@ -20,7 +20,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->langpack->getStrings](../methods/langpack_getStrings.md) +[$MadelineProto->langpack->getStrings](../methods/langpack.getStrings.md) diff --git a/docs/API_docs/types/MessageMedia.md b/docs/API_docs/types/MessageMedia.md index 51aa795e..36602552 100644 --- a/docs/API_docs/types/MessageMedia.md +++ b/docs/API_docs/types/MessageMedia.md @@ -38,9 +38,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getWebPagePreview](../methods/messages_getWebPagePreview.md) +[$MadelineProto->messages->getWebPagePreview](../methods/messages.getWebPagePreview.md) -[$MadelineProto->messages->uploadMedia](../methods/messages_uploadMedia.md) +[$MadelineProto->messages->uploadMedia](../methods/messages.uploadMedia.md) diff --git a/docs/API_docs/types/MessageRange.md b/docs/API_docs/types/MessageRange.md index c93011aa..ffd65e90 100644 --- a/docs/API_docs/types/MessageRange.md +++ b/docs/API_docs/types/MessageRange.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getSplitRanges](../methods/messages_getSplitRanges.md) +[$MadelineProto->messages->getSplitRanges](../methods/messages.getSplitRanges.md) diff --git a/docs/API_docs/types/NearestDc.md b/docs/API_docs/types/NearestDc.md index 31f24377..296a4dff 100644 --- a/docs/API_docs/types/NearestDc.md +++ b/docs/API_docs/types/NearestDc.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->help->getNearestDc](../methods/help_getNearestDc.md) +[$MadelineProto->help->getNearestDc](../methods/help.getNearestDc.md) diff --git a/docs/API_docs/types/PeerNotifySettings.md b/docs/API_docs/types/PeerNotifySettings.md index ecb483c5..d3b4833c 100644 --- a/docs/API_docs/types/PeerNotifySettings.md +++ b/docs/API_docs/types/PeerNotifySettings.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->account->getNotifySettings](../methods/account_getNotifySettings.md) +[$MadelineProto->account->getNotifySettings](../methods/account.getNotifySettings.md) diff --git a/docs/API_docs/types/PeerSettings.md b/docs/API_docs/types/PeerSettings.md index 60ac3765..31ef7e38 100644 --- a/docs/API_docs/types/PeerSettings.md +++ b/docs/API_docs/types/PeerSettings.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getPeerSettings](../methods/messages_getPeerSettings.md) +[$MadelineProto->messages->getPeerSettings](../methods/messages.getPeerSettings.md) diff --git a/docs/API_docs/types/ReceivedNotifyMessage.md b/docs/API_docs/types/ReceivedNotifyMessage.md index c7fc3b8c..416aa275 100644 --- a/docs/API_docs/types/ReceivedNotifyMessage.md +++ b/docs/API_docs/types/ReceivedNotifyMessage.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->receivedMessages](../methods/messages_receivedMessages.md) +[$MadelineProto->messages->receivedMessages](../methods/messages.receivedMessages.md) diff --git a/docs/API_docs/types/SavedContact.md b/docs/API_docs/types/SavedContact.md index c337f3eb..73a91ba6 100644 --- a/docs/API_docs/types/SavedContact.md +++ b/docs/API_docs/types/SavedContact.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->contacts->getSaved](../methods/contacts_getSaved.md) +[$MadelineProto->contacts->getSaved](../methods/contacts.getSaved.md) diff --git a/docs/API_docs/types/SecureValue.md b/docs/API_docs/types/SecureValue.md index 8490f399..2ab18f68 100644 --- a/docs/API_docs/types/SecureValue.md +++ b/docs/API_docs/types/SecureValue.md @@ -16,11 +16,11 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->account->getAllSecureValues](../methods/account_getAllSecureValues.md) +[$MadelineProto->account->getAllSecureValues](../methods/account.getAllSecureValues.md) -[$MadelineProto->account->getSecureValue](../methods/account_getSecureValue.md) +[$MadelineProto->account->getSecureValue](../methods/account.getSecureValue.md) -[$MadelineProto->account->saveSecureValue](../methods/account_saveSecureValue.md) +[$MadelineProto->account->saveSecureValue](../methods/account.saveSecureValue.md) diff --git a/docs/API_docs/types/StatsURL.md b/docs/API_docs/types/StatsURL.md index 1a2695cd..8704eed7 100644 --- a/docs/API_docs/types/StatsURL.md +++ b/docs/API_docs/types/StatsURL.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getStatsURL](../methods/messages_getStatsURL.md) +[$MadelineProto->messages->getStatsURL](../methods/messages.getStatsURL.md) diff --git a/docs/API_docs/types/StickerSetCovered.md b/docs/API_docs/types/StickerSetCovered.md index ffd1da1f..f57cd117 100644 --- a/docs/API_docs/types/StickerSetCovered.md +++ b/docs/API_docs/types/StickerSetCovered.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getAttachedStickers](../methods/messages_getAttachedStickers.md) +[$MadelineProto->messages->getAttachedStickers](../methods/messages.getAttachedStickers.md) diff --git a/docs/API_docs/types/Theme.md b/docs/API_docs/types/Theme.md index cc01d55e..6fee4443 100644 --- a/docs/API_docs/types/Theme.md +++ b/docs/API_docs/types/Theme.md @@ -18,11 +18,11 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->account->createTheme](../methods/account_createTheme.md) +[$MadelineProto->account->createTheme](../methods/account.createTheme.md) -[$MadelineProto->account->updateTheme](../methods/account_updateTheme.md) +[$MadelineProto->account->updateTheme](../methods/account.updateTheme.md) -[$MadelineProto->account->getTheme](../methods/account_getTheme.md) +[$MadelineProto->account->getTheme](../methods/account.getTheme.md) diff --git a/docs/API_docs/types/Updates.md b/docs/API_docs/types/Updates.md index 5b202d83..b856ba58 100644 --- a/docs/API_docs/types/Updates.md +++ b/docs/API_docs/types/Updates.md @@ -28,97 +28,97 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->account->getNotifyExceptions](../methods/account_getNotifyExceptions.md) +[$MadelineProto->account->getNotifyExceptions](../methods/account.getNotifyExceptions.md) -[$MadelineProto->contacts->deleteContacts](../methods/contacts_deleteContacts.md) +[$MadelineProto->contacts->deleteContacts](../methods/contacts.deleteContacts.md) -[$MadelineProto->contacts->addContact](../methods/contacts_addContact.md) +[$MadelineProto->contacts->addContact](../methods/contacts.addContact.md) -[$MadelineProto->contacts->acceptContact](../methods/contacts_acceptContact.md) +[$MadelineProto->contacts->acceptContact](../methods/contacts.acceptContact.md) -[$MadelineProto->contacts->getLocated](../methods/contacts_getLocated.md) +[$MadelineProto->contacts->getLocated](../methods/contacts.getLocated.md) -[$MadelineProto->messages->sendMessage](../methods/messages_sendMessage.md) +[$MadelineProto->messages->sendMessage](../methods/messages.sendMessage.md) -[$MadelineProto->messages->sendMedia](../methods/messages_sendMedia.md) +[$MadelineProto->messages->sendMedia](../methods/messages.sendMedia.md) -[$MadelineProto->messages->forwardMessages](../methods/messages_forwardMessages.md) +[$MadelineProto->messages->forwardMessages](../methods/messages.forwardMessages.md) -[$MadelineProto->messages->editChatTitle](../methods/messages_editChatTitle.md) +[$MadelineProto->messages->editChatTitle](../methods/messages.editChatTitle.md) -[$MadelineProto->messages->editChatPhoto](../methods/messages_editChatPhoto.md) +[$MadelineProto->messages->editChatPhoto](../methods/messages.editChatPhoto.md) -[$MadelineProto->messages->addChatUser](../methods/messages_addChatUser.md) +[$MadelineProto->messages->addChatUser](../methods/messages.addChatUser.md) -[$MadelineProto->messages->deleteChatUser](../methods/messages_deleteChatUser.md) +[$MadelineProto->messages->deleteChatUser](../methods/messages.deleteChatUser.md) -[$MadelineProto->messages->createChat](../methods/messages_createChat.md) +[$MadelineProto->messages->createChat](../methods/messages.createChat.md) -[$MadelineProto->messages->importChatInvite](../methods/messages_importChatInvite.md) +[$MadelineProto->messages->importChatInvite](../methods/messages.importChatInvite.md) -[$MadelineProto->messages->startBot](../methods/messages_startBot.md) +[$MadelineProto->messages->startBot](../methods/messages.startBot.md) -[$MadelineProto->messages->migrateChat](../methods/messages_migrateChat.md) +[$MadelineProto->messages->migrateChat](../methods/messages.migrateChat.md) -[$MadelineProto->messages->sendInlineBotResult](../methods/messages_sendInlineBotResult.md) +[$MadelineProto->messages->sendInlineBotResult](../methods/messages.sendInlineBotResult.md) -[$MadelineProto->messages->editMessage](../methods/messages_editMessage.md) +[$MadelineProto->messages->editMessage](../methods/messages.editMessage.md) -[$MadelineProto->messages->getAllDrafts](../methods/messages_getAllDrafts.md) +[$MadelineProto->messages->getAllDrafts](../methods/messages.getAllDrafts.md) -[$MadelineProto->messages->setGameScore](../methods/messages_setGameScore.md) +[$MadelineProto->messages->setGameScore](../methods/messages.setGameScore.md) -[$MadelineProto->messages->sendScreenshotNotification](../methods/messages_sendScreenshotNotification.md) +[$MadelineProto->messages->sendScreenshotNotification](../methods/messages.sendScreenshotNotification.md) -[$MadelineProto->messages->sendMultiMedia](../methods/messages_sendMultiMedia.md) +[$MadelineProto->messages->sendMultiMedia](../methods/messages.sendMultiMedia.md) -[$MadelineProto->messages->updatePinnedMessage](../methods/messages_updatePinnedMessage.md) +[$MadelineProto->messages->updatePinnedMessage](../methods/messages.updatePinnedMessage.md) -[$MadelineProto->messages->sendVote](../methods/messages_sendVote.md) +[$MadelineProto->messages->sendVote](../methods/messages.sendVote.md) -[$MadelineProto->messages->getPollResults](../methods/messages_getPollResults.md) +[$MadelineProto->messages->getPollResults](../methods/messages.getPollResults.md) -[$MadelineProto->messages->editChatDefaultBannedRights](../methods/messages_editChatDefaultBannedRights.md) +[$MadelineProto->messages->editChatDefaultBannedRights](../methods/messages.editChatDefaultBannedRights.md) -[$MadelineProto->messages->sendScheduledMessages](../methods/messages_sendScheduledMessages.md) +[$MadelineProto->messages->sendScheduledMessages](../methods/messages.sendScheduledMessages.md) -[$MadelineProto->messages->deleteScheduledMessages](../methods/messages_deleteScheduledMessages.md) +[$MadelineProto->messages->deleteScheduledMessages](../methods/messages.deleteScheduledMessages.md) -[$MadelineProto->help->getAppChangelog](../methods/help_getAppChangelog.md) +[$MadelineProto->help->getAppChangelog](../methods/help.getAppChangelog.md) -[$MadelineProto->channels->createChannel](../methods/channels_createChannel.md) +[$MadelineProto->channels->createChannel](../methods/channels.createChannel.md) -[$MadelineProto->channels->editAdmin](../methods/channels_editAdmin.md) +[$MadelineProto->channels->editAdmin](../methods/channels.editAdmin.md) -[$MadelineProto->channels->editTitle](../methods/channels_editTitle.md) +[$MadelineProto->channels->editTitle](../methods/channels.editTitle.md) -[$MadelineProto->channels->editPhoto](../methods/channels_editPhoto.md) +[$MadelineProto->channels->editPhoto](../methods/channels.editPhoto.md) -[$MadelineProto->channels->joinChannel](../methods/channels_joinChannel.md) +[$MadelineProto->channels->joinChannel](../methods/channels.joinChannel.md) -[$MadelineProto->channels->leaveChannel](../methods/channels_leaveChannel.md) +[$MadelineProto->channels->leaveChannel](../methods/channels.leaveChannel.md) -[$MadelineProto->channels->inviteToChannel](../methods/channels_inviteToChannel.md) +[$MadelineProto->channels->inviteToChannel](../methods/channels.inviteToChannel.md) -[$MadelineProto->channels->deleteChannel](../methods/channels_deleteChannel.md) +[$MadelineProto->channels->deleteChannel](../methods/channels.deleteChannel.md) -[$MadelineProto->channels->toggleSignatures](../methods/channels_toggleSignatures.md) +[$MadelineProto->channels->toggleSignatures](../methods/channels.toggleSignatures.md) -[$MadelineProto->channels->editBanned](../methods/channels_editBanned.md) +[$MadelineProto->channels->editBanned](../methods/channels.editBanned.md) -[$MadelineProto->channels->togglePreHistoryHidden](../methods/channels_togglePreHistoryHidden.md) +[$MadelineProto->channels->togglePreHistoryHidden](../methods/channels.togglePreHistoryHidden.md) -[$MadelineProto->channels->editCreator](../methods/channels_editCreator.md) +[$MadelineProto->channels->editCreator](../methods/channels.editCreator.md) -[$MadelineProto->channels->toggleSlowMode](../methods/channels_toggleSlowMode.md) +[$MadelineProto->channels->toggleSlowMode](../methods/channels.toggleSlowMode.md) -[$MadelineProto->phone->discardCall](../methods/phone_discardCall.md) +[$MadelineProto->phone->discardCall](../methods/phone.discardCall.md) -[$MadelineProto->phone->setCallRating](../methods/phone_setCallRating.md) +[$MadelineProto->phone->setCallRating](../methods/phone.setCallRating.md) -[$MadelineProto->folders->editPeerFolders](../methods/folders_editPeerFolders.md) +[$MadelineProto->folders->editPeerFolders](../methods/folders.editPeerFolders.md) -[$MadelineProto->folders->deleteFolder](../methods/folders_deleteFolder.md) +[$MadelineProto->folders->deleteFolder](../methods/folders.deleteFolder.md) diff --git a/docs/API_docs/types/UrlAuthResult.md b/docs/API_docs/types/UrlAuthResult.md index de129235..9533c912 100644 --- a/docs/API_docs/types/UrlAuthResult.md +++ b/docs/API_docs/types/UrlAuthResult.md @@ -20,9 +20,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->requestUrlAuth](../methods/messages_requestUrlAuth.md) +[$MadelineProto->messages->requestUrlAuth](../methods/messages.requestUrlAuth.md) -[$MadelineProto->messages->acceptUrlAuth](../methods/messages_acceptUrlAuth.md) +[$MadelineProto->messages->acceptUrlAuth](../methods/messages.acceptUrlAuth.md) diff --git a/docs/API_docs/types/User.md b/docs/API_docs/types/User.md index 49c9af72..0d20e320 100644 --- a/docs/API_docs/types/User.md +++ b/docs/API_docs/types/User.md @@ -42,13 +42,13 @@ A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDia ### Methods that return an object of this type (methods): -[$MadelineProto->account->updateProfile](../methods/account_updateProfile.md) +[$MadelineProto->account->updateProfile](../methods/account.updateProfile.md) -[$MadelineProto->account->updateUsername](../methods/account_updateUsername.md) +[$MadelineProto->account->updateUsername](../methods/account.updateUsername.md) -[$MadelineProto->account->changePhone](../methods/account_changePhone.md) +[$MadelineProto->account->changePhone](../methods/account.changePhone.md) -[$MadelineProto->users->getUsers](../methods/users_getUsers.md) +[$MadelineProto->users->getUsers](../methods/users.getUsers.md) diff --git a/docs/API_docs/types/UserFull.md b/docs/API_docs/types/UserFull.md index 79ad30bb..ac50052f 100644 --- a/docs/API_docs/types/UserFull.md +++ b/docs/API_docs/types/UserFull.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->users->getFullUser](../methods/users_getFullUser.md) +[$MadelineProto->users->getFullUser](../methods/users.getFullUser.md) diff --git a/docs/API_docs/types/UserProfilePhoto.md b/docs/API_docs/types/UserProfilePhoto.md index e5243a2e..e81e92fd 100644 --- a/docs/API_docs/types/UserProfilePhoto.md +++ b/docs/API_docs/types/UserProfilePhoto.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->photos->updateProfilePhoto](../methods/photos_updateProfilePhoto.md) +[$MadelineProto->photos->updateProfilePhoto](../methods/photos.updateProfilePhoto.md) diff --git a/docs/API_docs/types/WallPaper.md b/docs/API_docs/types/WallPaper.md index ccaafe2f..89033d7e 100644 --- a/docs/API_docs/types/WallPaper.md +++ b/docs/API_docs/types/WallPaper.md @@ -16,9 +16,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->account->getWallPaper](../methods/account_getWallPaper.md) +[$MadelineProto->account->getWallPaper](../methods/account.getWallPaper.md) -[$MadelineProto->account->uploadWallPaper](../methods/account_uploadWallPaper.md) +[$MadelineProto->account->uploadWallPaper](../methods/account.uploadWallPaper.md) diff --git a/docs/API_docs/types/WebPage.md b/docs/API_docs/types/WebPage.md index a3df791f..f6b61c5e 100644 --- a/docs/API_docs/types/WebPage.md +++ b/docs/API_docs/types/WebPage.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getWebPage](../methods/messages_getWebPage.md) +[$MadelineProto->messages->getWebPage](../methods/messages.getWebPage.md) diff --git a/docs/API_docs/types/account.AuthorizationForm.md b/docs/API_docs/types/account.AuthorizationForm.md new file mode 100644 index 00000000..860ff40f --- /dev/null +++ b/docs/API_docs/types/account.AuthorizationForm.md @@ -0,0 +1,22 @@ +--- +title: account.AuthorizationForm +description: constructors and methods of type account.AuthorizationForm +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.AuthorizationForm +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.authorizationForm](../constructors/account.authorizationForm.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getAuthorizationForm](../methods/account.getAuthorizationForm.md) + + + diff --git a/docs/API_docs/types/account.Authorizations.md b/docs/API_docs/types/account.Authorizations.md new file mode 100644 index 00000000..f9112038 --- /dev/null +++ b/docs/API_docs/types/account.Authorizations.md @@ -0,0 +1,22 @@ +--- +title: account.Authorizations +description: constructors and methods of type account.Authorizations +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.Authorizations +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.authorizations](../constructors/account.authorizations.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getAuthorizations](../methods/account.getAuthorizations.md) + + + diff --git a/docs/API_docs/types/account.AutoDownloadSettings.md b/docs/API_docs/types/account.AutoDownloadSettings.md new file mode 100644 index 00000000..e2ee0f6c --- /dev/null +++ b/docs/API_docs/types/account.AutoDownloadSettings.md @@ -0,0 +1,22 @@ +--- +title: account.AutoDownloadSettings +description: constructors and methods of type account.AutoDownloadSettings +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.AutoDownloadSettings +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.autoDownloadSettings](../constructors/account.autoDownloadSettings.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getAutoDownloadSettings](../methods/account.getAutoDownloadSettings.md) + + + diff --git a/docs/API_docs/types/account.Password.md b/docs/API_docs/types/account.Password.md new file mode 100644 index 00000000..190704a3 --- /dev/null +++ b/docs/API_docs/types/account.Password.md @@ -0,0 +1,22 @@ +--- +title: account.Password +description: constructors and methods of type account.Password +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.Password +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.password](../constructors/account.password.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getPassword](../methods/account.getPassword.md) + + + diff --git a/docs/API_docs/types/account.PasswordInputSettings.md b/docs/API_docs/types/account.PasswordInputSettings.md new file mode 100644 index 00000000..72e11fdc --- /dev/null +++ b/docs/API_docs/types/account.PasswordInputSettings.md @@ -0,0 +1,20 @@ +--- +title: account.PasswordInputSettings +description: constructors and methods of type account.PasswordInputSettings +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.PasswordInputSettings +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.passwordInputSettings](../constructors/account.passwordInputSettings.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/API_docs/types/account.PasswordSettings.md b/docs/API_docs/types/account.PasswordSettings.md new file mode 100644 index 00000000..47016832 --- /dev/null +++ b/docs/API_docs/types/account.PasswordSettings.md @@ -0,0 +1,22 @@ +--- +title: account.PasswordSettings +description: constructors and methods of type account.PasswordSettings +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.PasswordSettings +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.passwordSettings](../constructors/account.passwordSettings.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getPasswordSettings](../methods/account.getPasswordSettings.md) + + + diff --git a/docs/API_docs/types/account.PrivacyRules.md b/docs/API_docs/types/account.PrivacyRules.md new file mode 100644 index 00000000..738651ad --- /dev/null +++ b/docs/API_docs/types/account.PrivacyRules.md @@ -0,0 +1,24 @@ +--- +title: account.PrivacyRules +description: constructors and methods of type account.PrivacyRules +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.PrivacyRules +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.privacyRules](../constructors/account.privacyRules.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getPrivacy](../methods/account.getPrivacy.md) + +[$MadelineProto->account->setPrivacy](../methods/account.setPrivacy.md) + + + diff --git a/docs/API_docs/types/account.SentEmailCode.md b/docs/API_docs/types/account.SentEmailCode.md new file mode 100644 index 00000000..6adcd649 --- /dev/null +++ b/docs/API_docs/types/account.SentEmailCode.md @@ -0,0 +1,22 @@ +--- +title: account.SentEmailCode +description: constructors and methods of type account.SentEmailCode +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.SentEmailCode +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.sentEmailCode](../constructors/account.sentEmailCode.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->sendVerifyEmailCode](../methods/account.sendVerifyEmailCode.md) + + + diff --git a/docs/API_docs/types/account.Takeout.md b/docs/API_docs/types/account.Takeout.md new file mode 100644 index 00000000..96998ce4 --- /dev/null +++ b/docs/API_docs/types/account.Takeout.md @@ -0,0 +1,22 @@ +--- +title: account.Takeout +description: constructors and methods of type account.Takeout +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.Takeout +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.takeout](../constructors/account.takeout.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->initTakeoutSession](../methods/account.initTakeoutSession.md) + + + diff --git a/docs/API_docs/types/account.Themes.md b/docs/API_docs/types/account.Themes.md new file mode 100644 index 00000000..520f0d2e --- /dev/null +++ b/docs/API_docs/types/account.Themes.md @@ -0,0 +1,24 @@ +--- +title: account.Themes +description: constructors and methods of type account.Themes +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.Themes +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.themesNotModified](../constructors/account.themesNotModified.md) + +[account.themes](../constructors/account.themes.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getThemes](../methods/account.getThemes.md) + + + diff --git a/docs/API_docs/types/account.TmpPassword.md b/docs/API_docs/types/account.TmpPassword.md new file mode 100644 index 00000000..2116c6c0 --- /dev/null +++ b/docs/API_docs/types/account.TmpPassword.md @@ -0,0 +1,22 @@ +--- +title: account.TmpPassword +description: constructors and methods of type account.TmpPassword +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.TmpPassword +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.tmpPassword](../constructors/account.tmpPassword.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getTmpPassword](../methods/account.getTmpPassword.md) + + + diff --git a/docs/API_docs/types/account.WallPapers.md b/docs/API_docs/types/account.WallPapers.md new file mode 100644 index 00000000..13d11d26 --- /dev/null +++ b/docs/API_docs/types/account.WallPapers.md @@ -0,0 +1,24 @@ +--- +title: account.WallPapers +description: constructors and methods of type account.WallPapers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.WallPapers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.wallPapersNotModified](../constructors/account.wallPapersNotModified.md) + +[account.wallPapers](../constructors/account.wallPapers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getWallPapers](../methods/account.getWallPapers.md) + + + diff --git a/docs/API_docs/types/account.WebAuthorizations.md b/docs/API_docs/types/account.WebAuthorizations.md new file mode 100644 index 00000000..931633ef --- /dev/null +++ b/docs/API_docs/types/account.WebAuthorizations.md @@ -0,0 +1,22 @@ +--- +title: account.WebAuthorizations +description: constructors and methods of type account.WebAuthorizations +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.WebAuthorizations +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.webAuthorizations](../constructors/account.webAuthorizations.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getWebAuthorizations](../methods/account.getWebAuthorizations.md) + + + diff --git a/docs/API_docs/types/account_AuthorizationForm.md b/docs/API_docs/types/account_AuthorizationForm.md deleted file mode 100644 index 5eec2b92..00000000 --- a/docs/API_docs/types/account_AuthorizationForm.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_AuthorizationForm -description: constructors and methods of type account_AuthorizationForm -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_AuthorizationForm -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_authorizationForm](../constructors/account_authorizationForm.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getAuthorizationForm](../methods/account_getAuthorizationForm.md) - - - diff --git a/docs/API_docs/types/account_Authorizations.md b/docs/API_docs/types/account_Authorizations.md deleted file mode 100644 index 4709ddb5..00000000 --- a/docs/API_docs/types/account_Authorizations.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_Authorizations -description: constructors and methods of type account_Authorizations -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_Authorizations -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_authorizations](../constructors/account_authorizations.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getAuthorizations](../methods/account_getAuthorizations.md) - - - diff --git a/docs/API_docs/types/account_AutoDownloadSettings.md b/docs/API_docs/types/account_AutoDownloadSettings.md deleted file mode 100644 index 6df664df..00000000 --- a/docs/API_docs/types/account_AutoDownloadSettings.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_AutoDownloadSettings -description: constructors and methods of type account_AutoDownloadSettings -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_AutoDownloadSettings -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_autoDownloadSettings](../constructors/account_autoDownloadSettings.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getAutoDownloadSettings](../methods/account_getAutoDownloadSettings.md) - - - diff --git a/docs/API_docs/types/account_Password.md b/docs/API_docs/types/account_Password.md deleted file mode 100644 index f3b6e065..00000000 --- a/docs/API_docs/types/account_Password.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_Password -description: constructors and methods of type account_Password -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_Password -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_password](../constructors/account_password.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getPassword](../methods/account_getPassword.md) - - - diff --git a/docs/API_docs/types/account_PasswordInputSettings.md b/docs/API_docs/types/account_PasswordInputSettings.md deleted file mode 100644 index a6455eb8..00000000 --- a/docs/API_docs/types/account_PasswordInputSettings.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: account_PasswordInputSettings -description: constructors and methods of type account_PasswordInputSettings -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_PasswordInputSettings -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_passwordInputSettings](../constructors/account_passwordInputSettings.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/docs/API_docs/types/account_PasswordSettings.md b/docs/API_docs/types/account_PasswordSettings.md deleted file mode 100644 index 687eb217..00000000 --- a/docs/API_docs/types/account_PasswordSettings.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_PasswordSettings -description: constructors and methods of type account_PasswordSettings -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_PasswordSettings -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_passwordSettings](../constructors/account_passwordSettings.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getPasswordSettings](../methods/account_getPasswordSettings.md) - - - diff --git a/docs/API_docs/types/account_PrivacyRules.md b/docs/API_docs/types/account_PrivacyRules.md deleted file mode 100644 index 40b00077..00000000 --- a/docs/API_docs/types/account_PrivacyRules.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: account_PrivacyRules -description: constructors and methods of type account_PrivacyRules -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_PrivacyRules -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_privacyRules](../constructors/account_privacyRules.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getPrivacy](../methods/account_getPrivacy.md) - -[$MadelineProto->account->setPrivacy](../methods/account_setPrivacy.md) - - - diff --git a/docs/API_docs/types/account_SentEmailCode.md b/docs/API_docs/types/account_SentEmailCode.md deleted file mode 100644 index 4aa38335..00000000 --- a/docs/API_docs/types/account_SentEmailCode.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_SentEmailCode -description: constructors and methods of type account_SentEmailCode -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_SentEmailCode -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_sentEmailCode](../constructors/account_sentEmailCode.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->sendVerifyEmailCode](../methods/account_sendVerifyEmailCode.md) - - - diff --git a/docs/API_docs/types/account_Takeout.md b/docs/API_docs/types/account_Takeout.md deleted file mode 100644 index 26960f88..00000000 --- a/docs/API_docs/types/account_Takeout.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_Takeout -description: constructors and methods of type account_Takeout -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_Takeout -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_takeout](../constructors/account_takeout.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->initTakeoutSession](../methods/account_initTakeoutSession.md) - - - diff --git a/docs/API_docs/types/account_Themes.md b/docs/API_docs/types/account_Themes.md deleted file mode 100644 index ccc16af1..00000000 --- a/docs/API_docs/types/account_Themes.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: account_Themes -description: constructors and methods of type account_Themes -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_Themes -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_themesNotModified](../constructors/account_themesNotModified.md) - -[account\_themes](../constructors/account_themes.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getThemes](../methods/account_getThemes.md) - - - diff --git a/docs/API_docs/types/account_TmpPassword.md b/docs/API_docs/types/account_TmpPassword.md deleted file mode 100644 index d7557921..00000000 --- a/docs/API_docs/types/account_TmpPassword.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_TmpPassword -description: constructors and methods of type account_TmpPassword -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_TmpPassword -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_tmpPassword](../constructors/account_tmpPassword.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getTmpPassword](../methods/account_getTmpPassword.md) - - - diff --git a/docs/API_docs/types/account_WallPapers.md b/docs/API_docs/types/account_WallPapers.md deleted file mode 100644 index 6a082a9a..00000000 --- a/docs/API_docs/types/account_WallPapers.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: account_WallPapers -description: constructors and methods of type account_WallPapers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_WallPapers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_wallPapersNotModified](../constructors/account_wallPapersNotModified.md) - -[account\_wallPapers](../constructors/account_wallPapers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getWallPapers](../methods/account_getWallPapers.md) - - - diff --git a/docs/API_docs/types/account_WebAuthorizations.md b/docs/API_docs/types/account_WebAuthorizations.md deleted file mode 100644 index 1202632b..00000000 --- a/docs/API_docs/types/account_WebAuthorizations.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_WebAuthorizations -description: constructors and methods of type account_WebAuthorizations -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_WebAuthorizations -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_webAuthorizations](../constructors/account_webAuthorizations.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getWebAuthorizations](../methods/account_getWebAuthorizations.md) - - - diff --git a/docs/API_docs/types/auth.Authorization.md b/docs/API_docs/types/auth.Authorization.md new file mode 100644 index 00000000..3f769a1f --- /dev/null +++ b/docs/API_docs/types/auth.Authorization.md @@ -0,0 +1,34 @@ +--- +title: auth.Authorization +description: constructors and methods of type auth.Authorization +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.Authorization +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.authorization](../constructors/auth.authorization.md) + +[auth.authorizationSignUpRequired](../constructors/auth.authorizationSignUpRequired.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->signUp](../methods/auth.signUp.md) + +[$MadelineProto->auth->signIn](../methods/auth.signIn.md) + +[$MadelineProto->auth->importAuthorization](../methods/auth.importAuthorization.md) + +[$MadelineProto->auth->importBotAuthorization](../methods/auth.importBotAuthorization.md) + +[$MadelineProto->auth->checkPassword](../methods/auth.checkPassword.md) + +[$MadelineProto->auth->recoverPassword](../methods/auth.recoverPassword.md) + + + diff --git a/docs/API_docs/types/auth.CodeType.md b/docs/API_docs/types/auth.CodeType.md new file mode 100644 index 00000000..8d2b308d --- /dev/null +++ b/docs/API_docs/types/auth.CodeType.md @@ -0,0 +1,24 @@ +--- +title: auth.CodeType +description: constructors and methods of type auth.CodeType +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.CodeType +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.codeTypeSms](../constructors/auth.codeTypeSms.md) + +[auth.codeTypeCall](../constructors/auth.codeTypeCall.md) + +[auth.codeTypeFlashCall](../constructors/auth.codeTypeFlashCall.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/API_docs/types/auth.ExportedAuthorization.md b/docs/API_docs/types/auth.ExportedAuthorization.md new file mode 100644 index 00000000..ccb38d60 --- /dev/null +++ b/docs/API_docs/types/auth.ExportedAuthorization.md @@ -0,0 +1,22 @@ +--- +title: auth.ExportedAuthorization +description: constructors and methods of type auth.ExportedAuthorization +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.ExportedAuthorization +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.exportedAuthorization](../constructors/auth.exportedAuthorization.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->exportAuthorization](../methods/auth.exportAuthorization.md) + + + diff --git a/docs/API_docs/types/auth.PasswordRecovery.md b/docs/API_docs/types/auth.PasswordRecovery.md new file mode 100644 index 00000000..c1c18992 --- /dev/null +++ b/docs/API_docs/types/auth.PasswordRecovery.md @@ -0,0 +1,22 @@ +--- +title: auth.PasswordRecovery +description: constructors and methods of type auth.PasswordRecovery +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.PasswordRecovery +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.passwordRecovery](../constructors/auth.passwordRecovery.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->requestPasswordRecovery](../methods/auth.requestPasswordRecovery.md) + + + diff --git a/docs/API_docs/types/auth.SentCode.md b/docs/API_docs/types/auth.SentCode.md new file mode 100644 index 00000000..4950edeb --- /dev/null +++ b/docs/API_docs/types/auth.SentCode.md @@ -0,0 +1,30 @@ +--- +title: auth.SentCode +description: constructors and methods of type auth.SentCode +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.SentCode +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.sentCode](../constructors/auth.sentCode.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->sendCode](../methods/auth.sendCode.md) + +[$MadelineProto->auth->resendCode](../methods/auth.resendCode.md) + +[$MadelineProto->account->sendChangePhoneCode](../methods/account.sendChangePhoneCode.md) + +[$MadelineProto->account->sendConfirmPhoneCode](../methods/account.sendConfirmPhoneCode.md) + +[$MadelineProto->account->sendVerifyPhoneCode](../methods/account.sendVerifyPhoneCode.md) + + + diff --git a/docs/API_docs/types/auth.SentCodeType.md b/docs/API_docs/types/auth.SentCodeType.md new file mode 100644 index 00000000..7c7c534e --- /dev/null +++ b/docs/API_docs/types/auth.SentCodeType.md @@ -0,0 +1,26 @@ +--- +title: auth.SentCodeType +description: constructors and methods of type auth.SentCodeType +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.SentCodeType +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.sentCodeTypeApp](../constructors/auth.sentCodeTypeApp.md) + +[auth.sentCodeTypeSms](../constructors/auth.sentCodeTypeSms.md) + +[auth.sentCodeTypeCall](../constructors/auth.sentCodeTypeCall.md) + +[auth.sentCodeTypeFlashCall](../constructors/auth.sentCodeTypeFlashCall.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/API_docs/types/auth_Authorization.md b/docs/API_docs/types/auth_Authorization.md deleted file mode 100644 index 0fc0d545..00000000 --- a/docs/API_docs/types/auth_Authorization.md +++ /dev/null @@ -1,34 +0,0 @@ ---- -title: auth_Authorization -description: constructors and methods of type auth_Authorization -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_Authorization -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_authorization](../constructors/auth_authorization.md) - -[auth\_authorizationSignUpRequired](../constructors/auth_authorizationSignUpRequired.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->signUp](../methods/auth_signUp.md) - -[$MadelineProto->auth->signIn](../methods/auth_signIn.md) - -[$MadelineProto->auth->importAuthorization](../methods/auth_importAuthorization.md) - -[$MadelineProto->auth->importBotAuthorization](../methods/auth_importBotAuthorization.md) - -[$MadelineProto->auth->checkPassword](../methods/auth_checkPassword.md) - -[$MadelineProto->auth->recoverPassword](../methods/auth_recoverPassword.md) - - - diff --git a/docs/API_docs/types/auth_CodeType.md b/docs/API_docs/types/auth_CodeType.md deleted file mode 100644 index 3cd9a7b7..00000000 --- a/docs/API_docs/types/auth_CodeType.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: auth_CodeType -description: constructors and methods of type auth_CodeType -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_CodeType -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_codeTypeSms](../constructors/auth_codeTypeSms.md) - -[auth\_codeTypeCall](../constructors/auth_codeTypeCall.md) - -[auth\_codeTypeFlashCall](../constructors/auth_codeTypeFlashCall.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/docs/API_docs/types/auth_ExportedAuthorization.md b/docs/API_docs/types/auth_ExportedAuthorization.md deleted file mode 100644 index 69e5c42e..00000000 --- a/docs/API_docs/types/auth_ExportedAuthorization.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: auth_ExportedAuthorization -description: constructors and methods of type auth_ExportedAuthorization -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_ExportedAuthorization -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_exportedAuthorization](../constructors/auth_exportedAuthorization.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->exportAuthorization](../methods/auth_exportAuthorization.md) - - - diff --git a/docs/API_docs/types/auth_PasswordRecovery.md b/docs/API_docs/types/auth_PasswordRecovery.md deleted file mode 100644 index 4962bf42..00000000 --- a/docs/API_docs/types/auth_PasswordRecovery.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: auth_PasswordRecovery -description: constructors and methods of type auth_PasswordRecovery -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_PasswordRecovery -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_passwordRecovery](../constructors/auth_passwordRecovery.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->requestPasswordRecovery](../methods/auth_requestPasswordRecovery.md) - - - diff --git a/docs/API_docs/types/auth_SentCode.md b/docs/API_docs/types/auth_SentCode.md deleted file mode 100644 index 140d956c..00000000 --- a/docs/API_docs/types/auth_SentCode.md +++ /dev/null @@ -1,30 +0,0 @@ ---- -title: auth_SentCode -description: constructors and methods of type auth_SentCode -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_SentCode -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_sentCode](../constructors/auth_sentCode.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->sendCode](../methods/auth_sendCode.md) - -[$MadelineProto->auth->resendCode](../methods/auth_resendCode.md) - -[$MadelineProto->account->sendChangePhoneCode](../methods/account_sendChangePhoneCode.md) - -[$MadelineProto->account->sendConfirmPhoneCode](../methods/account_sendConfirmPhoneCode.md) - -[$MadelineProto->account->sendVerifyPhoneCode](../methods/account_sendVerifyPhoneCode.md) - - - diff --git a/docs/API_docs/types/auth_SentCodeType.md b/docs/API_docs/types/auth_SentCodeType.md deleted file mode 100644 index 8dfcb93b..00000000 --- a/docs/API_docs/types/auth_SentCodeType.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: auth_SentCodeType -description: constructors and methods of type auth_SentCodeType -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_SentCodeType -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_sentCodeTypeApp](../constructors/auth_sentCodeTypeApp.md) - -[auth\_sentCodeTypeSms](../constructors/auth_sentCodeTypeSms.md) - -[auth\_sentCodeTypeCall](../constructors/auth_sentCodeTypeCall.md) - -[auth\_sentCodeTypeFlashCall](../constructors/auth_sentCodeTypeFlashCall.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/docs/API_docs/types/channels.AdminLogResults.md b/docs/API_docs/types/channels.AdminLogResults.md new file mode 100644 index 00000000..7855a4fd --- /dev/null +++ b/docs/API_docs/types/channels.AdminLogResults.md @@ -0,0 +1,22 @@ +--- +title: channels.AdminLogResults +description: constructors and methods of type channels.AdminLogResults +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: channels.AdminLogResults +[Back to types index](index.md) + + + +### Possible values (constructors): + +[channels.adminLogResults](../constructors/channels.adminLogResults.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->channels->getAdminLog](../methods/channels.getAdminLog.md) + + + diff --git a/docs/API_docs/types/channels.ChannelParticipant.md b/docs/API_docs/types/channels.ChannelParticipant.md new file mode 100644 index 00000000..8dc7f7e6 --- /dev/null +++ b/docs/API_docs/types/channels.ChannelParticipant.md @@ -0,0 +1,22 @@ +--- +title: channels.ChannelParticipant +description: constructors and methods of type channels.ChannelParticipant +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: channels.ChannelParticipant +[Back to types index](index.md) + + + +### Possible values (constructors): + +[channels.channelParticipant](../constructors/channels.channelParticipant.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->channels->getParticipant](../methods/channels.getParticipant.md) + + + diff --git a/docs/API_docs/types/channels.ChannelParticipants.md b/docs/API_docs/types/channels.ChannelParticipants.md new file mode 100644 index 00000000..d448e007 --- /dev/null +++ b/docs/API_docs/types/channels.ChannelParticipants.md @@ -0,0 +1,24 @@ +--- +title: channels.ChannelParticipants +description: constructors and methods of type channels.ChannelParticipants +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: channels.ChannelParticipants +[Back to types index](index.md) + + + +### Possible values (constructors): + +[channels.channelParticipants](../constructors/channels.channelParticipants.md) + +[channels.channelParticipantsNotModified](../constructors/channels.channelParticipantsNotModified.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->channels->getParticipants](../methods/channels.getParticipants.md) + + + diff --git a/docs/API_docs/types/channels_AdminLogResults.md b/docs/API_docs/types/channels_AdminLogResults.md deleted file mode 100644 index 4e9b5544..00000000 --- a/docs/API_docs/types/channels_AdminLogResults.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: channels_AdminLogResults -description: constructors and methods of type channels_AdminLogResults -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: channels\_AdminLogResults -[Back to types index](index.md) - - - -### Possible values (constructors): - -[channels\_adminLogResults](../constructors/channels_adminLogResults.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->channels->getAdminLog](../methods/channels_getAdminLog.md) - - - diff --git a/docs/API_docs/types/channels_ChannelParticipant.md b/docs/API_docs/types/channels_ChannelParticipant.md deleted file mode 100644 index 3d4667c3..00000000 --- a/docs/API_docs/types/channels_ChannelParticipant.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: channels_ChannelParticipant -description: constructors and methods of type channels_ChannelParticipant -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: channels\_ChannelParticipant -[Back to types index](index.md) - - - -### Possible values (constructors): - -[channels\_channelParticipant](../constructors/channels_channelParticipant.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->channels->getParticipant](../methods/channels_getParticipant.md) - - - diff --git a/docs/API_docs/types/channels_ChannelParticipants.md b/docs/API_docs/types/channels_ChannelParticipants.md deleted file mode 100644 index 80a41dd9..00000000 --- a/docs/API_docs/types/channels_ChannelParticipants.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: channels_ChannelParticipants -description: constructors and methods of type channels_ChannelParticipants -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: channels\_ChannelParticipants -[Back to types index](index.md) - - - -### Possible values (constructors): - -[channels\_channelParticipants](../constructors/channels_channelParticipants.md) - -[channels\_channelParticipantsNotModified](../constructors/channels_channelParticipantsNotModified.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->channels->getParticipants](../methods/channels_getParticipants.md) - - - diff --git a/docs/API_docs/types/contacts.Blocked.md b/docs/API_docs/types/contacts.Blocked.md new file mode 100644 index 00000000..cb2af80f --- /dev/null +++ b/docs/API_docs/types/contacts.Blocked.md @@ -0,0 +1,24 @@ +--- +title: contacts.Blocked +description: constructors and methods of type contacts.Blocked +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Blocked +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.blocked](../constructors/contacts.blocked.md) + +[contacts.blockedSlice](../constructors/contacts.blockedSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getBlocked](../methods/contacts.getBlocked.md) + + + diff --git a/docs/API_docs/types/contacts.Contacts.md b/docs/API_docs/types/contacts.Contacts.md new file mode 100644 index 00000000..5f695d8e --- /dev/null +++ b/docs/API_docs/types/contacts.Contacts.md @@ -0,0 +1,24 @@ +--- +title: contacts.Contacts +description: constructors and methods of type contacts.Contacts +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Contacts +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.contactsNotModified](../constructors/contacts.contactsNotModified.md) + +[contacts.contacts](../constructors/contacts.contacts.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getContacts](../methods/contacts.getContacts.md) + + + diff --git a/docs/API_docs/types/contacts.Found.md b/docs/API_docs/types/contacts.Found.md new file mode 100644 index 00000000..7df98927 --- /dev/null +++ b/docs/API_docs/types/contacts.Found.md @@ -0,0 +1,22 @@ +--- +title: contacts.Found +description: constructors and methods of type contacts.Found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Found +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.found](../constructors/contacts.found.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->search](../methods/contacts.search.md) + + + diff --git a/docs/API_docs/types/contacts.ImportedContacts.md b/docs/API_docs/types/contacts.ImportedContacts.md new file mode 100644 index 00000000..16795bab --- /dev/null +++ b/docs/API_docs/types/contacts.ImportedContacts.md @@ -0,0 +1,22 @@ +--- +title: contacts.ImportedContacts +description: constructors and methods of type contacts.ImportedContacts +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.ImportedContacts +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.importedContacts](../constructors/contacts.importedContacts.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->importContacts](../methods/contacts.importContacts.md) + + + diff --git a/docs/API_docs/types/contacts.ResolvedPeer.md b/docs/API_docs/types/contacts.ResolvedPeer.md new file mode 100644 index 00000000..13630d54 --- /dev/null +++ b/docs/API_docs/types/contacts.ResolvedPeer.md @@ -0,0 +1,22 @@ +--- +title: contacts.ResolvedPeer +description: constructors and methods of type contacts.ResolvedPeer +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.ResolvedPeer +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.resolvedPeer](../constructors/contacts.resolvedPeer.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->resolveUsername](../methods/contacts.resolveUsername.md) + + + diff --git a/docs/API_docs/types/contacts.TopPeers.md b/docs/API_docs/types/contacts.TopPeers.md new file mode 100644 index 00000000..563e63aa --- /dev/null +++ b/docs/API_docs/types/contacts.TopPeers.md @@ -0,0 +1,26 @@ +--- +title: contacts.TopPeers +description: constructors and methods of type contacts.TopPeers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.TopPeers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.topPeersNotModified](../constructors/contacts.topPeersNotModified.md) + +[contacts.topPeers](../constructors/contacts.topPeers.md) + +[contacts.topPeersDisabled](../constructors/contacts.topPeersDisabled.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getTopPeers](../methods/contacts.getTopPeers.md) + + + diff --git a/docs/API_docs/types/contacts_Blocked.md b/docs/API_docs/types/contacts_Blocked.md deleted file mode 100644 index 3e1f02eb..00000000 --- a/docs/API_docs/types/contacts_Blocked.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: contacts_Blocked -description: constructors and methods of type contacts_Blocked -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Blocked -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_blocked](../constructors/contacts_blocked.md) - -[contacts\_blockedSlice](../constructors/contacts_blockedSlice.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->getBlocked](../methods/contacts_getBlocked.md) - - - diff --git a/docs/API_docs/types/contacts_Contacts.md b/docs/API_docs/types/contacts_Contacts.md deleted file mode 100644 index 5d6c9506..00000000 --- a/docs/API_docs/types/contacts_Contacts.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: contacts_Contacts -description: constructors and methods of type contacts_Contacts -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Contacts -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_contactsNotModified](../constructors/contacts_contactsNotModified.md) - -[contacts\_contacts](../constructors/contacts_contacts.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->getContacts](../methods/contacts_getContacts.md) - - - diff --git a/docs/API_docs/types/contacts_Found.md b/docs/API_docs/types/contacts_Found.md deleted file mode 100644 index 806101cf..00000000 --- a/docs/API_docs/types/contacts_Found.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_Found -description: constructors and methods of type contacts_Found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Found -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_found](../constructors/contacts_found.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->search](../methods/contacts_search.md) - - - diff --git a/docs/API_docs/types/contacts_ImportedContacts.md b/docs/API_docs/types/contacts_ImportedContacts.md deleted file mode 100644 index faf7e615..00000000 --- a/docs/API_docs/types/contacts_ImportedContacts.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_ImportedContacts -description: constructors and methods of type contacts_ImportedContacts -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_ImportedContacts -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_importedContacts](../constructors/contacts_importedContacts.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->importContacts](../methods/contacts_importContacts.md) - - - diff --git a/docs/API_docs/types/contacts_ResolvedPeer.md b/docs/API_docs/types/contacts_ResolvedPeer.md deleted file mode 100644 index cf107f7c..00000000 --- a/docs/API_docs/types/contacts_ResolvedPeer.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_ResolvedPeer -description: constructors and methods of type contacts_ResolvedPeer -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_ResolvedPeer -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_resolvedPeer](../constructors/contacts_resolvedPeer.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->resolveUsername](../methods/contacts_resolveUsername.md) - - - diff --git a/docs/API_docs/types/contacts_TopPeers.md b/docs/API_docs/types/contacts_TopPeers.md deleted file mode 100644 index dc8ee478..00000000 --- a/docs/API_docs/types/contacts_TopPeers.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: contacts_TopPeers -description: constructors and methods of type contacts_TopPeers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_TopPeers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_topPeersNotModified](../constructors/contacts_topPeersNotModified.md) - -[contacts\_topPeers](../constructors/contacts_topPeers.md) - -[contacts\_topPeersDisabled](../constructors/contacts_topPeersDisabled.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->getTopPeers](../methods/contacts_getTopPeers.md) - - - diff --git a/docs/API_docs/types/help.AppUpdate.md b/docs/API_docs/types/help.AppUpdate.md new file mode 100644 index 00000000..285ec2b7 --- /dev/null +++ b/docs/API_docs/types/help.AppUpdate.md @@ -0,0 +1,24 @@ +--- +title: help.AppUpdate +description: constructors and methods of type help.AppUpdate +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.AppUpdate +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.appUpdate](../constructors/help.appUpdate.md) + +[help.noAppUpdate](../constructors/help.noAppUpdate.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getAppUpdate](../methods/help.getAppUpdate.md) + + + diff --git a/docs/API_docs/types/help.ConfigSimple.md b/docs/API_docs/types/help.ConfigSimple.md new file mode 100644 index 00000000..92d9e15f --- /dev/null +++ b/docs/API_docs/types/help.ConfigSimple.md @@ -0,0 +1,20 @@ +--- +title: help.ConfigSimple +description: constructors and methods of type help.ConfigSimple +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.ConfigSimple +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.configSimple](../constructors/help.configSimple.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/API_docs/types/help.DeepLinkInfo.md b/docs/API_docs/types/help.DeepLinkInfo.md new file mode 100644 index 00000000..356af1c4 --- /dev/null +++ b/docs/API_docs/types/help.DeepLinkInfo.md @@ -0,0 +1,24 @@ +--- +title: help.DeepLinkInfo +description: constructors and methods of type help.DeepLinkInfo +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.DeepLinkInfo +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.deepLinkInfoEmpty](../constructors/help.deepLinkInfoEmpty.md) + +[help.deepLinkInfo](../constructors/help.deepLinkInfo.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getDeepLinkInfo](../methods/help.getDeepLinkInfo.md) + + + diff --git a/docs/API_docs/types/help.InviteText.md b/docs/API_docs/types/help.InviteText.md new file mode 100644 index 00000000..43293f46 --- /dev/null +++ b/docs/API_docs/types/help.InviteText.md @@ -0,0 +1,22 @@ +--- +title: help.InviteText +description: constructors and methods of type help.InviteText +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.InviteText +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.inviteText](../constructors/help.inviteText.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getInviteText](../methods/help.getInviteText.md) + + + diff --git a/docs/API_docs/types/help.PassportConfig.md b/docs/API_docs/types/help.PassportConfig.md new file mode 100644 index 00000000..15eb12cc --- /dev/null +++ b/docs/API_docs/types/help.PassportConfig.md @@ -0,0 +1,24 @@ +--- +title: help.PassportConfig +description: constructors and methods of type help.PassportConfig +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.PassportConfig +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.passportConfigNotModified](../constructors/help.passportConfigNotModified.md) + +[help.passportConfig](../constructors/help.passportConfig.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getPassportConfig](../methods/help.getPassportConfig.md) + + + diff --git a/docs/API_docs/types/help.ProxyData.md b/docs/API_docs/types/help.ProxyData.md new file mode 100644 index 00000000..e45b4211 --- /dev/null +++ b/docs/API_docs/types/help.ProxyData.md @@ -0,0 +1,24 @@ +--- +title: help.ProxyData +description: constructors and methods of type help.ProxyData +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.ProxyData +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.proxyDataEmpty](../constructors/help.proxyDataEmpty.md) + +[help.proxyDataPromo](../constructors/help.proxyDataPromo.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getProxyData](../methods/help.getProxyData.md) + + + diff --git a/docs/API_docs/types/help.RecentMeUrls.md b/docs/API_docs/types/help.RecentMeUrls.md new file mode 100644 index 00000000..6b7ee2c1 --- /dev/null +++ b/docs/API_docs/types/help.RecentMeUrls.md @@ -0,0 +1,22 @@ +--- +title: help.RecentMeUrls +description: constructors and methods of type help.RecentMeUrls +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.RecentMeUrls +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.recentMeUrls](../constructors/help.recentMeUrls.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getRecentMeUrls](../methods/help.getRecentMeUrls.md) + + + diff --git a/docs/API_docs/types/help.Support.md b/docs/API_docs/types/help.Support.md new file mode 100644 index 00000000..42c20483 --- /dev/null +++ b/docs/API_docs/types/help.Support.md @@ -0,0 +1,22 @@ +--- +title: help.Support +description: constructors and methods of type help.Support +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.Support +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.support](../constructors/help.support.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getSupport](../methods/help.getSupport.md) + + + diff --git a/docs/API_docs/types/help.SupportName.md b/docs/API_docs/types/help.SupportName.md new file mode 100644 index 00000000..7f68199a --- /dev/null +++ b/docs/API_docs/types/help.SupportName.md @@ -0,0 +1,22 @@ +--- +title: help.SupportName +description: constructors and methods of type help.SupportName +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.SupportName +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.supportName](../constructors/help.supportName.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getSupportName](../methods/help.getSupportName.md) + + + diff --git a/docs/API_docs/types/help.TermsOfService.md b/docs/API_docs/types/help.TermsOfService.md new file mode 100644 index 00000000..d4d091e1 --- /dev/null +++ b/docs/API_docs/types/help.TermsOfService.md @@ -0,0 +1,20 @@ +--- +title: help.TermsOfService +description: constructors and methods of type help.TermsOfService +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.TermsOfService +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.termsOfService](../constructors/help.termsOfService.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/API_docs/types/help.TermsOfServiceUpdate.md b/docs/API_docs/types/help.TermsOfServiceUpdate.md new file mode 100644 index 00000000..e27b3c71 --- /dev/null +++ b/docs/API_docs/types/help.TermsOfServiceUpdate.md @@ -0,0 +1,24 @@ +--- +title: help.TermsOfServiceUpdate +description: constructors and methods of type help.TermsOfServiceUpdate +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.TermsOfServiceUpdate +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.termsOfServiceUpdateEmpty](../constructors/help.termsOfServiceUpdateEmpty.md) + +[help.termsOfServiceUpdate](../constructors/help.termsOfServiceUpdate.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getTermsOfServiceUpdate](../methods/help.getTermsOfServiceUpdate.md) + + + diff --git a/docs/API_docs/types/help.UserInfo.md b/docs/API_docs/types/help.UserInfo.md new file mode 100644 index 00000000..9d91ee40 --- /dev/null +++ b/docs/API_docs/types/help.UserInfo.md @@ -0,0 +1,26 @@ +--- +title: help.UserInfo +description: constructors and methods of type help.UserInfo +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.UserInfo +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.userInfoEmpty](../constructors/help.userInfoEmpty.md) + +[help.userInfo](../constructors/help.userInfo.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getUserInfo](../methods/help.getUserInfo.md) + +[$MadelineProto->help->editUserInfo](../methods/help.editUserInfo.md) + + + diff --git a/docs/API_docs/types/help_AppUpdate.md b/docs/API_docs/types/help_AppUpdate.md deleted file mode 100644 index 1f296a70..00000000 --- a/docs/API_docs/types/help_AppUpdate.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: help_AppUpdate -description: constructors and methods of type help_AppUpdate -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_AppUpdate -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_appUpdate](../constructors/help_appUpdate.md) - -[help\_noAppUpdate](../constructors/help_noAppUpdate.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getAppUpdate](../methods/help_getAppUpdate.md) - - - diff --git a/docs/API_docs/types/help_ConfigSimple.md b/docs/API_docs/types/help_ConfigSimple.md deleted file mode 100644 index 81678d74..00000000 --- a/docs/API_docs/types/help_ConfigSimple.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: help_ConfigSimple -description: constructors and methods of type help_ConfigSimple -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_ConfigSimple -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_configSimple](../constructors/help_configSimple.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/docs/API_docs/types/help_DeepLinkInfo.md b/docs/API_docs/types/help_DeepLinkInfo.md deleted file mode 100644 index 776e8e09..00000000 --- a/docs/API_docs/types/help_DeepLinkInfo.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: help_DeepLinkInfo -description: constructors and methods of type help_DeepLinkInfo -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_DeepLinkInfo -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_deepLinkInfoEmpty](../constructors/help_deepLinkInfoEmpty.md) - -[help\_deepLinkInfo](../constructors/help_deepLinkInfo.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getDeepLinkInfo](../methods/help_getDeepLinkInfo.md) - - - diff --git a/docs/API_docs/types/help_InviteText.md b/docs/API_docs/types/help_InviteText.md deleted file mode 100644 index 018d35bf..00000000 --- a/docs/API_docs/types/help_InviteText.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: help_InviteText -description: constructors and methods of type help_InviteText -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_InviteText -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_inviteText](../constructors/help_inviteText.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getInviteText](../methods/help_getInviteText.md) - - - diff --git a/docs/API_docs/types/help_PassportConfig.md b/docs/API_docs/types/help_PassportConfig.md deleted file mode 100644 index e03abab7..00000000 --- a/docs/API_docs/types/help_PassportConfig.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: help_PassportConfig -description: constructors and methods of type help_PassportConfig -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_PassportConfig -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_passportConfigNotModified](../constructors/help_passportConfigNotModified.md) - -[help\_passportConfig](../constructors/help_passportConfig.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getPassportConfig](../methods/help_getPassportConfig.md) - - - diff --git a/docs/API_docs/types/help_ProxyData.md b/docs/API_docs/types/help_ProxyData.md deleted file mode 100644 index 1bc6839e..00000000 --- a/docs/API_docs/types/help_ProxyData.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: help_ProxyData -description: constructors and methods of type help_ProxyData -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_ProxyData -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_proxyDataEmpty](../constructors/help_proxyDataEmpty.md) - -[help\_proxyDataPromo](../constructors/help_proxyDataPromo.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getProxyData](../methods/help_getProxyData.md) - - - diff --git a/docs/API_docs/types/help_RecentMeUrls.md b/docs/API_docs/types/help_RecentMeUrls.md deleted file mode 100644 index 691af1c3..00000000 --- a/docs/API_docs/types/help_RecentMeUrls.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: help_RecentMeUrls -description: constructors and methods of type help_RecentMeUrls -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_RecentMeUrls -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_recentMeUrls](../constructors/help_recentMeUrls.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getRecentMeUrls](../methods/help_getRecentMeUrls.md) - - - diff --git a/docs/API_docs/types/help_Support.md b/docs/API_docs/types/help_Support.md deleted file mode 100644 index 26de447b..00000000 --- a/docs/API_docs/types/help_Support.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: help_Support -description: constructors and methods of type help_Support -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_Support -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_support](../constructors/help_support.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getSupport](../methods/help_getSupport.md) - - - diff --git a/docs/API_docs/types/help_SupportName.md b/docs/API_docs/types/help_SupportName.md deleted file mode 100644 index e89309a2..00000000 --- a/docs/API_docs/types/help_SupportName.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: help_SupportName -description: constructors and methods of type help_SupportName -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_SupportName -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_supportName](../constructors/help_supportName.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getSupportName](../methods/help_getSupportName.md) - - - diff --git a/docs/API_docs/types/help_TermsOfService.md b/docs/API_docs/types/help_TermsOfService.md deleted file mode 100644 index 24f8eb68..00000000 --- a/docs/API_docs/types/help_TermsOfService.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: help_TermsOfService -description: constructors and methods of type help_TermsOfService -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_TermsOfService -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_termsOfService](../constructors/help_termsOfService.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/docs/API_docs/types/help_TermsOfServiceUpdate.md b/docs/API_docs/types/help_TermsOfServiceUpdate.md deleted file mode 100644 index 0e4f1ef2..00000000 --- a/docs/API_docs/types/help_TermsOfServiceUpdate.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: help_TermsOfServiceUpdate -description: constructors and methods of type help_TermsOfServiceUpdate -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_TermsOfServiceUpdate -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_termsOfServiceUpdateEmpty](../constructors/help_termsOfServiceUpdateEmpty.md) - -[help\_termsOfServiceUpdate](../constructors/help_termsOfServiceUpdate.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getTermsOfServiceUpdate](../methods/help_getTermsOfServiceUpdate.md) - - - diff --git a/docs/API_docs/types/help_UserInfo.md b/docs/API_docs/types/help_UserInfo.md deleted file mode 100644 index 87ca4327..00000000 --- a/docs/API_docs/types/help_UserInfo.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: help_UserInfo -description: constructors and methods of type help_UserInfo -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_UserInfo -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_userInfoEmpty](../constructors/help_userInfoEmpty.md) - -[help\_userInfo](../constructors/help_userInfo.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getUserInfo](../methods/help_getUserInfo.md) - -[$MadelineProto->help->editUserInfo](../methods/help_editUserInfo.md) - - - diff --git a/docs/API_docs/types/index.md b/docs/API_docs/types/index.md index 2746f2db..5c1d5fec 100644 --- a/docs/API_docs/types/index.md +++ b/docs/API_docs/types/index.md @@ -399,167 +399,167 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png [X](X.md) -[account\_AuthorizationForm](account_AuthorizationForm.md) +[account.AuthorizationForm](account.AuthorizationForm.md) -[account\_Authorizations](account_Authorizations.md) +[account.Authorizations](account.Authorizations.md) -[account\_AutoDownloadSettings](account_AutoDownloadSettings.md) +[account.AutoDownloadSettings](account.AutoDownloadSettings.md) -[account\_Password](account_Password.md) +[account.Password](account.Password.md) -[account\_PasswordInputSettings](account_PasswordInputSettings.md) +[account.PasswordInputSettings](account.PasswordInputSettings.md) -[account\_PasswordSettings](account_PasswordSettings.md) +[account.PasswordSettings](account.PasswordSettings.md) -[account\_PrivacyRules](account_PrivacyRules.md) +[account.PrivacyRules](account.PrivacyRules.md) -[account\_SentEmailCode](account_SentEmailCode.md) +[account.SentEmailCode](account.SentEmailCode.md) -[account\_Takeout](account_Takeout.md) +[account.Takeout](account.Takeout.md) -[account\_Themes](account_Themes.md) +[account.Themes](account.Themes.md) -[account\_TmpPassword](account_TmpPassword.md) +[account.TmpPassword](account.TmpPassword.md) -[account\_WallPapers](account_WallPapers.md) +[account.WallPapers](account.WallPapers.md) -[account\_WebAuthorizations](account_WebAuthorizations.md) +[account.WebAuthorizations](account.WebAuthorizations.md) -[auth\_Authorization](auth_Authorization.md) +[auth.Authorization](auth.Authorization.md) -[auth\_CodeType](auth_CodeType.md) +[auth.CodeType](auth.CodeType.md) -[auth\_ExportedAuthorization](auth_ExportedAuthorization.md) +[auth.ExportedAuthorization](auth.ExportedAuthorization.md) -[auth\_PasswordRecovery](auth_PasswordRecovery.md) +[auth.PasswordRecovery](auth.PasswordRecovery.md) -[auth\_SentCode](auth_SentCode.md) +[auth.SentCode](auth.SentCode.md) -[auth\_SentCodeType](auth_SentCodeType.md) +[auth.SentCodeType](auth.SentCodeType.md) -[channels\_AdminLogResults](channels_AdminLogResults.md) +[channels.AdminLogResults](channels.AdminLogResults.md) -[channels\_ChannelParticipant](channels_ChannelParticipant.md) +[channels.ChannelParticipant](channels.ChannelParticipant.md) -[channels\_ChannelParticipants](channels_ChannelParticipants.md) +[channels.ChannelParticipants](channels.ChannelParticipants.md) -[contacts\_Blocked](contacts_Blocked.md) +[contacts.Blocked](contacts.Blocked.md) -[contacts\_Contacts](contacts_Contacts.md) +[contacts.Contacts](contacts.Contacts.md) -[contacts\_Found](contacts_Found.md) +[contacts.Found](contacts.Found.md) -[contacts\_ImportedContacts](contacts_ImportedContacts.md) +[contacts.ImportedContacts](contacts.ImportedContacts.md) -[contacts\_ResolvedPeer](contacts_ResolvedPeer.md) +[contacts.ResolvedPeer](contacts.ResolvedPeer.md) -[contacts\_TopPeers](contacts_TopPeers.md) +[contacts.TopPeers](contacts.TopPeers.md) -[help\_AppUpdate](help_AppUpdate.md) +[help.AppUpdate](help.AppUpdate.md) -[help\_ConfigSimple](help_ConfigSimple.md) +[help.ConfigSimple](help.ConfigSimple.md) -[help\_DeepLinkInfo](help_DeepLinkInfo.md) +[help.DeepLinkInfo](help.DeepLinkInfo.md) -[help\_InviteText](help_InviteText.md) +[help.InviteText](help.InviteText.md) -[help\_PassportConfig](help_PassportConfig.md) +[help.PassportConfig](help.PassportConfig.md) -[help\_ProxyData](help_ProxyData.md) +[help.ProxyData](help.ProxyData.md) -[help\_RecentMeUrls](help_RecentMeUrls.md) +[help.RecentMeUrls](help.RecentMeUrls.md) -[help\_Support](help_Support.md) +[help.Support](help.Support.md) -[help\_SupportName](help_SupportName.md) +[help.SupportName](help.SupportName.md) -[help\_TermsOfService](help_TermsOfService.md) +[help.TermsOfService](help.TermsOfService.md) -[help\_TermsOfServiceUpdate](help_TermsOfServiceUpdate.md) +[help.TermsOfServiceUpdate](help.TermsOfServiceUpdate.md) -[help\_UserInfo](help_UserInfo.md) +[help.UserInfo](help.UserInfo.md) [int](int.md) [long](long.md) -[messages\_AffectedHistory](messages_AffectedHistory.md) +[messages.AffectedHistory](messages.AffectedHistory.md) -[messages\_AffectedMessages](messages_AffectedMessages.md) +[messages.AffectedMessages](messages.AffectedMessages.md) -[messages\_AllStickers](messages_AllStickers.md) +[messages.AllStickers](messages.AllStickers.md) -[messages\_ArchivedStickers](messages_ArchivedStickers.md) +[messages.ArchivedStickers](messages.ArchivedStickers.md) -[messages\_BotCallbackAnswer](messages_BotCallbackAnswer.md) +[messages.BotCallbackAnswer](messages.BotCallbackAnswer.md) -[messages\_BotResults](messages_BotResults.md) +[messages.BotResults](messages.BotResults.md) -[messages\_ChatFull](messages_ChatFull.md) +[messages.ChatFull](messages.ChatFull.md) -[messages\_Chats](messages_Chats.md) +[messages.Chats](messages.Chats.md) -[messages\_DhConfig](messages_DhConfig.md) +[messages.DhConfig](messages.DhConfig.md) -[messages\_Dialogs](messages_Dialogs.md) +[messages.Dialogs](messages.Dialogs.md) -[messages\_FavedStickers](messages_FavedStickers.md) +[messages.FavedStickers](messages.FavedStickers.md) -[messages\_FeaturedStickers](messages_FeaturedStickers.md) +[messages.FeaturedStickers](messages.FeaturedStickers.md) -[messages\_FoundGifs](messages_FoundGifs.md) +[messages.FoundGifs](messages.FoundGifs.md) -[messages\_FoundStickerSets](messages_FoundStickerSets.md) +[messages.FoundStickerSets](messages.FoundStickerSets.md) -[messages\_HighScores](messages_HighScores.md) +[messages.HighScores](messages.HighScores.md) -[messages\_MessageEditData](messages_MessageEditData.md) +[messages.MessageEditData](messages.MessageEditData.md) -[messages\_Messages](messages_Messages.md) +[messages.Messages](messages.Messages.md) -[messages\_PeerDialogs](messages_PeerDialogs.md) +[messages.PeerDialogs](messages.PeerDialogs.md) -[messages\_RecentStickers](messages_RecentStickers.md) +[messages.RecentStickers](messages.RecentStickers.md) -[messages\_SavedGifs](messages_SavedGifs.md) +[messages.SavedGifs](messages.SavedGifs.md) -[messages\_SearchCounter](messages_SearchCounter.md) +[messages.SearchCounter](messages.SearchCounter.md) -[messages\_SentEncryptedMessage](messages_SentEncryptedMessage.md) +[messages.SentEncryptedMessage](messages.SentEncryptedMessage.md) -[messages\_StickerSet](messages_StickerSet.md) +[messages.StickerSet](messages.StickerSet.md) -[messages\_StickerSetInstallResult](messages_StickerSetInstallResult.md) +[messages.StickerSetInstallResult](messages.StickerSetInstallResult.md) -[messages\_Stickers](messages_Stickers.md) +[messages.Stickers](messages.Stickers.md) -[payments\_PaymentForm](payments_PaymentForm.md) +[payments.PaymentForm](payments.PaymentForm.md) -[payments\_PaymentReceipt](payments_PaymentReceipt.md) +[payments.PaymentReceipt](payments.PaymentReceipt.md) -[payments\_PaymentResult](payments_PaymentResult.md) +[payments.PaymentResult](payments.PaymentResult.md) -[payments\_SavedInfo](payments_SavedInfo.md) +[payments.SavedInfo](payments.SavedInfo.md) -[payments\_ValidatedRequestedInfo](payments_ValidatedRequestedInfo.md) +[payments.ValidatedRequestedInfo](payments.ValidatedRequestedInfo.md) -[phone\_PhoneCall](phone_PhoneCall.md) +[phone.PhoneCall](phone.PhoneCall.md) -[photos\_Photo](photos_Photo.md) +[photos.Photo](photos.Photo.md) -[photos\_Photos](photos_Photos.md) +[photos.Photos](photos.Photos.md) -[storage\_FileType](storage_FileType.md) +[storage.FileType](storage.FileType.md) -[updates\_ChannelDifference](updates_ChannelDifference.md) +[updates.ChannelDifference](updates.ChannelDifference.md) -[updates\_Difference](updates_Difference.md) +[updates.Difference](updates.Difference.md) -[updates\_State](updates_State.md) +[updates.State](updates.State.md) -[upload\_CdnFile](upload_CdnFile.md) +[upload.CdnFile](upload.CdnFile.md) -[upload\_File](upload_File.md) +[upload.File](upload.File.md) -[upload\_WebFile](upload_WebFile.md) +[upload.WebFile](upload.WebFile.md) diff --git a/docs/API_docs/types/messages.AffectedHistory.md b/docs/API_docs/types/messages.AffectedHistory.md new file mode 100644 index 00000000..8a1e850a --- /dev/null +++ b/docs/API_docs/types/messages.AffectedHistory.md @@ -0,0 +1,26 @@ +--- +title: messages.AffectedHistory +description: constructors and methods of type messages.AffectedHistory +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.AffectedHistory +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.affectedHistory](../constructors/messages.affectedHistory.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->deleteHistory](../methods/messages.deleteHistory.md) + +[$MadelineProto->messages->readMentions](../methods/messages.readMentions.md) + +[$MadelineProto->channels->deleteUserHistory](../methods/channels.deleteUserHistory.md) + + + diff --git a/docs/API_docs/types/messages.AffectedMessages.md b/docs/API_docs/types/messages.AffectedMessages.md new file mode 100644 index 00000000..a9159de3 --- /dev/null +++ b/docs/API_docs/types/messages.AffectedMessages.md @@ -0,0 +1,28 @@ +--- +title: messages.AffectedMessages +description: constructors and methods of type messages.AffectedMessages +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.AffectedMessages +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.affectedMessages](../constructors/messages.affectedMessages.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->readHistory](../methods/messages.readHistory.md) + +[$MadelineProto->messages->deleteMessages](../methods/messages.deleteMessages.md) + +[$MadelineProto->messages->readMessageContents](../methods/messages.readMessageContents.md) + +[$MadelineProto->channels->deleteMessages](../methods/channels.deleteMessages.md) + + + diff --git a/docs/API_docs/types/messages.AllStickers.md b/docs/API_docs/types/messages.AllStickers.md new file mode 100644 index 00000000..fd8565de --- /dev/null +++ b/docs/API_docs/types/messages.AllStickers.md @@ -0,0 +1,26 @@ +--- +title: messages.AllStickers +description: constructors and methods of type messages.AllStickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.AllStickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.allStickersNotModified](../constructors/messages.allStickersNotModified.md) + +[messages.allStickers](../constructors/messages.allStickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getAllStickers](../methods/messages.getAllStickers.md) + +[$MadelineProto->messages->getMaskStickers](../methods/messages.getMaskStickers.md) + + + diff --git a/docs/API_docs/types/messages.ArchivedStickers.md b/docs/API_docs/types/messages.ArchivedStickers.md new file mode 100644 index 00000000..3e017c5d --- /dev/null +++ b/docs/API_docs/types/messages.ArchivedStickers.md @@ -0,0 +1,22 @@ +--- +title: messages.ArchivedStickers +description: constructors and methods of type messages.ArchivedStickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.ArchivedStickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.archivedStickers](../constructors/messages.archivedStickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getArchivedStickers](../methods/messages.getArchivedStickers.md) + + + diff --git a/docs/API_docs/types/messages.BotCallbackAnswer.md b/docs/API_docs/types/messages.BotCallbackAnswer.md new file mode 100644 index 00000000..ef30fbfb --- /dev/null +++ b/docs/API_docs/types/messages.BotCallbackAnswer.md @@ -0,0 +1,22 @@ +--- +title: messages.BotCallbackAnswer +description: constructors and methods of type messages.BotCallbackAnswer +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.BotCallbackAnswer +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.botCallbackAnswer](../constructors/messages.botCallbackAnswer.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getBotCallbackAnswer](../methods/messages.getBotCallbackAnswer.md) + + + diff --git a/docs/API_docs/types/messages.BotResults.md b/docs/API_docs/types/messages.BotResults.md new file mode 100644 index 00000000..76ee2b99 --- /dev/null +++ b/docs/API_docs/types/messages.BotResults.md @@ -0,0 +1,22 @@ +--- +title: messages.BotResults +description: constructors and methods of type messages.BotResults +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.BotResults +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.botResults](../constructors/messages.botResults.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getInlineBotResults](../methods/messages.getInlineBotResults.md) + + + diff --git a/docs/API_docs/types/messages.ChatFull.md b/docs/API_docs/types/messages.ChatFull.md new file mode 100644 index 00000000..3ad38748 --- /dev/null +++ b/docs/API_docs/types/messages.ChatFull.md @@ -0,0 +1,24 @@ +--- +title: messages.ChatFull +description: constructors and methods of type messages.ChatFull +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.ChatFull +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.chatFull](../constructors/messages.chatFull.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getFullChat](../methods/messages.getFullChat.md) + +[$MadelineProto->channels->getFullChannel](../methods/channels.getFullChannel.md) + + + diff --git a/docs/API_docs/types/messages.Chats.md b/docs/API_docs/types/messages.Chats.md new file mode 100644 index 00000000..60180618 --- /dev/null +++ b/docs/API_docs/types/messages.Chats.md @@ -0,0 +1,36 @@ +--- +title: messages.Chats +description: constructors and methods of type messages.Chats +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Chats +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.chats](../constructors/messages.chats.md) + +[messages.chatsSlice](../constructors/messages.chatsSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getChats](../methods/messages.getChats.md) + +[$MadelineProto->messages->getCommonChats](../methods/messages.getCommonChats.md) + +[$MadelineProto->messages->getAllChats](../methods/messages.getAllChats.md) + +[$MadelineProto->channels->getChannels](../methods/channels.getChannels.md) + +[$MadelineProto->channels->getAdminedPublicChannels](../methods/channels.getAdminedPublicChannels.md) + +[$MadelineProto->channels->getLeftChannels](../methods/channels.getLeftChannels.md) + +[$MadelineProto->channels->getGroupsForDiscussion](../methods/channels.getGroupsForDiscussion.md) + + + diff --git a/docs/API_docs/types/messages.DhConfig.md b/docs/API_docs/types/messages.DhConfig.md new file mode 100644 index 00000000..77188ab7 --- /dev/null +++ b/docs/API_docs/types/messages.DhConfig.md @@ -0,0 +1,24 @@ +--- +title: messages.DhConfig +description: constructors and methods of type messages.DhConfig +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.DhConfig +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.dhConfigNotModified](../constructors/messages.dhConfigNotModified.md) + +[messages.dhConfig](../constructors/messages.dhConfig.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getDhConfig](../methods/messages.getDhConfig.md) + + + diff --git a/docs/API_docs/types/messages.Dialogs.md b/docs/API_docs/types/messages.Dialogs.md new file mode 100644 index 00000000..e14885b1 --- /dev/null +++ b/docs/API_docs/types/messages.Dialogs.md @@ -0,0 +1,26 @@ +--- +title: messages.Dialogs +description: constructors and methods of type messages.Dialogs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Dialogs +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.dialogs](../constructors/messages.dialogs.md) + +[messages.dialogsSlice](../constructors/messages.dialogsSlice.md) + +[messages.dialogsNotModified](../constructors/messages.dialogsNotModified.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getDialogs](../methods/messages.getDialogs.md) + + + diff --git a/docs/API_docs/types/messages.FavedStickers.md b/docs/API_docs/types/messages.FavedStickers.md new file mode 100644 index 00000000..3edc863b --- /dev/null +++ b/docs/API_docs/types/messages.FavedStickers.md @@ -0,0 +1,24 @@ +--- +title: messages.FavedStickers +description: constructors and methods of type messages.FavedStickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.FavedStickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.favedStickersNotModified](../constructors/messages.favedStickersNotModified.md) + +[messages.favedStickers](../constructors/messages.favedStickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getFavedStickers](../methods/messages.getFavedStickers.md) + + + diff --git a/docs/API_docs/types/messages.FeaturedStickers.md b/docs/API_docs/types/messages.FeaturedStickers.md new file mode 100644 index 00000000..06ed87bb --- /dev/null +++ b/docs/API_docs/types/messages.FeaturedStickers.md @@ -0,0 +1,24 @@ +--- +title: messages.FeaturedStickers +description: constructors and methods of type messages.FeaturedStickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.FeaturedStickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.featuredStickersNotModified](../constructors/messages.featuredStickersNotModified.md) + +[messages.featuredStickers](../constructors/messages.featuredStickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getFeaturedStickers](../methods/messages.getFeaturedStickers.md) + + + diff --git a/docs/API_docs/types/messages.FoundGifs.md b/docs/API_docs/types/messages.FoundGifs.md new file mode 100644 index 00000000..b5176a5d --- /dev/null +++ b/docs/API_docs/types/messages.FoundGifs.md @@ -0,0 +1,22 @@ +--- +title: messages.FoundGifs +description: constructors and methods of type messages.FoundGifs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.FoundGifs +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.foundGifs](../constructors/messages.foundGifs.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->searchGifs](../methods/messages.searchGifs.md) + + + diff --git a/docs/API_docs/types/messages.FoundStickerSets.md b/docs/API_docs/types/messages.FoundStickerSets.md new file mode 100644 index 00000000..eb6eb284 --- /dev/null +++ b/docs/API_docs/types/messages.FoundStickerSets.md @@ -0,0 +1,24 @@ +--- +title: messages.FoundStickerSets +description: constructors and methods of type messages.FoundStickerSets +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.FoundStickerSets +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.foundStickerSetsNotModified](../constructors/messages.foundStickerSetsNotModified.md) + +[messages.foundStickerSets](../constructors/messages.foundStickerSets.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->searchStickerSets](../methods/messages.searchStickerSets.md) + + + diff --git a/docs/API_docs/types/messages.HighScores.md b/docs/API_docs/types/messages.HighScores.md new file mode 100644 index 00000000..eae9db66 --- /dev/null +++ b/docs/API_docs/types/messages.HighScores.md @@ -0,0 +1,24 @@ +--- +title: messages.HighScores +description: constructors and methods of type messages.HighScores +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.HighScores +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.highScores](../constructors/messages.highScores.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getGameHighScores](../methods/messages.getGameHighScores.md) + +[$MadelineProto->messages->getInlineGameHighScores](../methods/messages.getInlineGameHighScores.md) + + + diff --git a/docs/API_docs/types/messages.MessageEditData.md b/docs/API_docs/types/messages.MessageEditData.md new file mode 100644 index 00000000..feb572f1 --- /dev/null +++ b/docs/API_docs/types/messages.MessageEditData.md @@ -0,0 +1,22 @@ +--- +title: messages.MessageEditData +description: constructors and methods of type messages.MessageEditData +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.MessageEditData +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.messageEditData](../constructors/messages.messageEditData.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getMessageEditData](../methods/messages.getMessageEditData.md) + + + diff --git a/docs/API_docs/types/messages.Messages.md b/docs/API_docs/types/messages.Messages.md new file mode 100644 index 00000000..cc39e9af --- /dev/null +++ b/docs/API_docs/types/messages.Messages.md @@ -0,0 +1,44 @@ +--- +title: messages.Messages +description: constructors and methods of type messages.Messages +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Messages +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.messages](../constructors/messages.messages.md) + +[messages.messagesSlice](../constructors/messages.messagesSlice.md) + +[messages.channelMessages](../constructors/messages.channelMessages.md) + +[messages.messagesNotModified](../constructors/messages.messagesNotModified.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getMessages](../methods/messages.getMessages.md) + +[$MadelineProto->messages->getHistory](../methods/messages.getHistory.md) + +[$MadelineProto->messages->search](../methods/messages.search.md) + +[$MadelineProto->messages->searchGlobal](../methods/messages.searchGlobal.md) + +[$MadelineProto->messages->getUnreadMentions](../methods/messages.getUnreadMentions.md) + +[$MadelineProto->messages->getRecentLocations](../methods/messages.getRecentLocations.md) + +[$MadelineProto->messages->getScheduledHistory](../methods/messages.getScheduledHistory.md) + +[$MadelineProto->messages->getScheduledMessages](../methods/messages.getScheduledMessages.md) + +[$MadelineProto->channels->getMessages](../methods/channels.getMessages.md) + + + diff --git a/docs/API_docs/types/messages.PeerDialogs.md b/docs/API_docs/types/messages.PeerDialogs.md new file mode 100644 index 00000000..9a1ceaf0 --- /dev/null +++ b/docs/API_docs/types/messages.PeerDialogs.md @@ -0,0 +1,24 @@ +--- +title: messages.PeerDialogs +description: constructors and methods of type messages.PeerDialogs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.PeerDialogs +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.peerDialogs](../constructors/messages.peerDialogs.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getPeerDialogs](../methods/messages.getPeerDialogs.md) + +[$MadelineProto->messages->getPinnedDialogs](../methods/messages.getPinnedDialogs.md) + + + diff --git a/docs/API_docs/types/messages.RecentStickers.md b/docs/API_docs/types/messages.RecentStickers.md new file mode 100644 index 00000000..e5c49b92 --- /dev/null +++ b/docs/API_docs/types/messages.RecentStickers.md @@ -0,0 +1,24 @@ +--- +title: messages.RecentStickers +description: constructors and methods of type messages.RecentStickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.RecentStickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.recentStickersNotModified](../constructors/messages.recentStickersNotModified.md) + +[messages.recentStickers](../constructors/messages.recentStickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getRecentStickers](../methods/messages.getRecentStickers.md) + + + diff --git a/docs/API_docs/types/messages.SavedGifs.md b/docs/API_docs/types/messages.SavedGifs.md new file mode 100644 index 00000000..99844c98 --- /dev/null +++ b/docs/API_docs/types/messages.SavedGifs.md @@ -0,0 +1,24 @@ +--- +title: messages.SavedGifs +description: constructors and methods of type messages.SavedGifs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.SavedGifs +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.savedGifsNotModified](../constructors/messages.savedGifsNotModified.md) + +[messages.savedGifs](../constructors/messages.savedGifs.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getSavedGifs](../methods/messages.getSavedGifs.md) + + + diff --git a/docs/API_docs/types/messages.SearchCounter.md b/docs/API_docs/types/messages.SearchCounter.md new file mode 100644 index 00000000..d2194858 --- /dev/null +++ b/docs/API_docs/types/messages.SearchCounter.md @@ -0,0 +1,22 @@ +--- +title: messages.SearchCounter +description: constructors and methods of type messages.SearchCounter +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.SearchCounter +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.searchCounter](../constructors/messages.searchCounter.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getSearchCounters](../methods/messages.getSearchCounters.md) + + + diff --git a/docs/API_docs/types/messages.SentEncryptedMessage.md b/docs/API_docs/types/messages.SentEncryptedMessage.md new file mode 100644 index 00000000..b6d05b1f --- /dev/null +++ b/docs/API_docs/types/messages.SentEncryptedMessage.md @@ -0,0 +1,28 @@ +--- +title: messages.SentEncryptedMessage +description: constructors and methods of type messages.SentEncryptedMessage +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.SentEncryptedMessage +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.sentEncryptedMessage](../constructors/messages.sentEncryptedMessage.md) + +[messages.sentEncryptedFile](../constructors/messages.sentEncryptedFile.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->sendEncrypted](../methods/messages.sendEncrypted.md) + +[$MadelineProto->messages->sendEncryptedFile](../methods/messages.sendEncryptedFile.md) + +[$MadelineProto->messages->sendEncryptedService](../methods/messages.sendEncryptedService.md) + + + diff --git a/docs/API_docs/types/messages.StickerSet.md b/docs/API_docs/types/messages.StickerSet.md new file mode 100644 index 00000000..e173fe45 --- /dev/null +++ b/docs/API_docs/types/messages.StickerSet.md @@ -0,0 +1,30 @@ +--- +title: messages.StickerSet +description: constructors and methods of type messages.StickerSet +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.StickerSet +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.stickerSet](../constructors/messages.stickerSet.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getStickerSet](../methods/messages.getStickerSet.md) + +[$MadelineProto->stickers->createStickerSet](../methods/stickers.createStickerSet.md) + +[$MadelineProto->stickers->removeStickerFromSet](../methods/stickers.removeStickerFromSet.md) + +[$MadelineProto->stickers->changeStickerPosition](../methods/stickers.changeStickerPosition.md) + +[$MadelineProto->stickers->addStickerToSet](../methods/stickers.addStickerToSet.md) + + + diff --git a/docs/API_docs/types/messages.StickerSetInstallResult.md b/docs/API_docs/types/messages.StickerSetInstallResult.md new file mode 100644 index 00000000..9e09c293 --- /dev/null +++ b/docs/API_docs/types/messages.StickerSetInstallResult.md @@ -0,0 +1,24 @@ +--- +title: messages.StickerSetInstallResult +description: constructors and methods of type messages.StickerSetInstallResult +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.StickerSetInstallResult +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.stickerSetInstallResultSuccess](../constructors/messages.stickerSetInstallResultSuccess.md) + +[messages.stickerSetInstallResultArchive](../constructors/messages.stickerSetInstallResultArchive.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->installStickerSet](../methods/messages.installStickerSet.md) + + + diff --git a/docs/API_docs/types/messages.Stickers.md b/docs/API_docs/types/messages.Stickers.md new file mode 100644 index 00000000..43bddf06 --- /dev/null +++ b/docs/API_docs/types/messages.Stickers.md @@ -0,0 +1,24 @@ +--- +title: messages.Stickers +description: constructors and methods of type messages.Stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Stickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.stickersNotModified](../constructors/messages.stickersNotModified.md) + +[messages.stickers](../constructors/messages.stickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getStickers](../methods/messages.getStickers.md) + + + diff --git a/docs/API_docs/types/messages_AffectedHistory.md b/docs/API_docs/types/messages_AffectedHistory.md deleted file mode 100644 index 9eef04c0..00000000 --- a/docs/API_docs/types/messages_AffectedHistory.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: messages_AffectedHistory -description: constructors and methods of type messages_AffectedHistory -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_AffectedHistory -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_affectedHistory](../constructors/messages_affectedHistory.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->deleteHistory](../methods/messages_deleteHistory.md) - -[$MadelineProto->messages->readMentions](../methods/messages_readMentions.md) - -[$MadelineProto->channels->deleteUserHistory](../methods/channels_deleteUserHistory.md) - - - diff --git a/docs/API_docs/types/messages_AffectedMessages.md b/docs/API_docs/types/messages_AffectedMessages.md deleted file mode 100644 index dcbea721..00000000 --- a/docs/API_docs/types/messages_AffectedMessages.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: messages_AffectedMessages -description: constructors and methods of type messages_AffectedMessages -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_AffectedMessages -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_affectedMessages](../constructors/messages_affectedMessages.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->readHistory](../methods/messages_readHistory.md) - -[$MadelineProto->messages->deleteMessages](../methods/messages_deleteMessages.md) - -[$MadelineProto->messages->readMessageContents](../methods/messages_readMessageContents.md) - -[$MadelineProto->channels->deleteMessages](../methods/channels_deleteMessages.md) - - - diff --git a/docs/API_docs/types/messages_AllStickers.md b/docs/API_docs/types/messages_AllStickers.md deleted file mode 100644 index b6a322e0..00000000 --- a/docs/API_docs/types/messages_AllStickers.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: messages_AllStickers -description: constructors and methods of type messages_AllStickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_AllStickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_allStickersNotModified](../constructors/messages_allStickersNotModified.md) - -[messages\_allStickers](../constructors/messages_allStickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getAllStickers](../methods/messages_getAllStickers.md) - -[$MadelineProto->messages->getMaskStickers](../methods/messages_getMaskStickers.md) - - - diff --git a/docs/API_docs/types/messages_ArchivedStickers.md b/docs/API_docs/types/messages_ArchivedStickers.md deleted file mode 100644 index c569675e..00000000 --- a/docs/API_docs/types/messages_ArchivedStickers.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_ArchivedStickers -description: constructors and methods of type messages_ArchivedStickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_ArchivedStickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_archivedStickers](../constructors/messages_archivedStickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getArchivedStickers](../methods/messages_getArchivedStickers.md) - - - diff --git a/docs/API_docs/types/messages_BotCallbackAnswer.md b/docs/API_docs/types/messages_BotCallbackAnswer.md deleted file mode 100644 index f8d424d0..00000000 --- a/docs/API_docs/types/messages_BotCallbackAnswer.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_BotCallbackAnswer -description: constructors and methods of type messages_BotCallbackAnswer -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_BotCallbackAnswer -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_botCallbackAnswer](../constructors/messages_botCallbackAnswer.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getBotCallbackAnswer](../methods/messages_getBotCallbackAnswer.md) - - - diff --git a/docs/API_docs/types/messages_BotResults.md b/docs/API_docs/types/messages_BotResults.md deleted file mode 100644 index c346c5bd..00000000 --- a/docs/API_docs/types/messages_BotResults.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_BotResults -description: constructors and methods of type messages_BotResults -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_BotResults -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_botResults](../constructors/messages_botResults.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getInlineBotResults](../methods/messages_getInlineBotResults.md) - - - diff --git a/docs/API_docs/types/messages_ChatFull.md b/docs/API_docs/types/messages_ChatFull.md deleted file mode 100644 index e4add41e..00000000 --- a/docs/API_docs/types/messages_ChatFull.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_ChatFull -description: constructors and methods of type messages_ChatFull -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_ChatFull -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_chatFull](../constructors/messages_chatFull.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getFullChat](../methods/messages_getFullChat.md) - -[$MadelineProto->channels->getFullChannel](../methods/channels_getFullChannel.md) - - - diff --git a/docs/API_docs/types/messages_Chats.md b/docs/API_docs/types/messages_Chats.md deleted file mode 100644 index 38ecd651..00000000 --- a/docs/API_docs/types/messages_Chats.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -title: messages_Chats -description: constructors and methods of type messages_Chats -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Chats -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_chats](../constructors/messages_chats.md) - -[messages\_chatsSlice](../constructors/messages_chatsSlice.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getChats](../methods/messages_getChats.md) - -[$MadelineProto->messages->getCommonChats](../methods/messages_getCommonChats.md) - -[$MadelineProto->messages->getAllChats](../methods/messages_getAllChats.md) - -[$MadelineProto->channels->getChannels](../methods/channels_getChannels.md) - -[$MadelineProto->channels->getAdminedPublicChannels](../methods/channels_getAdminedPublicChannels.md) - -[$MadelineProto->channels->getLeftChannels](../methods/channels_getLeftChannels.md) - -[$MadelineProto->channels->getGroupsForDiscussion](../methods/channels_getGroupsForDiscussion.md) - - - diff --git a/docs/API_docs/types/messages_DhConfig.md b/docs/API_docs/types/messages_DhConfig.md deleted file mode 100644 index ce237411..00000000 --- a/docs/API_docs/types/messages_DhConfig.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_DhConfig -description: constructors and methods of type messages_DhConfig -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_DhConfig -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_dhConfigNotModified](../constructors/messages_dhConfigNotModified.md) - -[messages\_dhConfig](../constructors/messages_dhConfig.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getDhConfig](../methods/messages_getDhConfig.md) - - - diff --git a/docs/API_docs/types/messages_Dialogs.md b/docs/API_docs/types/messages_Dialogs.md deleted file mode 100644 index 86d5eb72..00000000 --- a/docs/API_docs/types/messages_Dialogs.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: messages_Dialogs -description: constructors and methods of type messages_Dialogs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Dialogs -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_dialogs](../constructors/messages_dialogs.md) - -[messages\_dialogsSlice](../constructors/messages_dialogsSlice.md) - -[messages\_dialogsNotModified](../constructors/messages_dialogsNotModified.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getDialogs](../methods/messages_getDialogs.md) - - - diff --git a/docs/API_docs/types/messages_FavedStickers.md b/docs/API_docs/types/messages_FavedStickers.md deleted file mode 100644 index 6fa1f221..00000000 --- a/docs/API_docs/types/messages_FavedStickers.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_FavedStickers -description: constructors and methods of type messages_FavedStickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_FavedStickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_favedStickersNotModified](../constructors/messages_favedStickersNotModified.md) - -[messages\_favedStickers](../constructors/messages_favedStickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getFavedStickers](../methods/messages_getFavedStickers.md) - - - diff --git a/docs/API_docs/types/messages_FeaturedStickers.md b/docs/API_docs/types/messages_FeaturedStickers.md deleted file mode 100644 index 9b4c5002..00000000 --- a/docs/API_docs/types/messages_FeaturedStickers.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_FeaturedStickers -description: constructors and methods of type messages_FeaturedStickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_FeaturedStickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_featuredStickersNotModified](../constructors/messages_featuredStickersNotModified.md) - -[messages\_featuredStickers](../constructors/messages_featuredStickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getFeaturedStickers](../methods/messages_getFeaturedStickers.md) - - - diff --git a/docs/API_docs/types/messages_FoundGifs.md b/docs/API_docs/types/messages_FoundGifs.md deleted file mode 100644 index 9dd088ba..00000000 --- a/docs/API_docs/types/messages_FoundGifs.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_FoundGifs -description: constructors and methods of type messages_FoundGifs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_FoundGifs -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_foundGifs](../constructors/messages_foundGifs.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->searchGifs](../methods/messages_searchGifs.md) - - - diff --git a/docs/API_docs/types/messages_FoundStickerSets.md b/docs/API_docs/types/messages_FoundStickerSets.md deleted file mode 100644 index 9045b0d7..00000000 --- a/docs/API_docs/types/messages_FoundStickerSets.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_FoundStickerSets -description: constructors and methods of type messages_FoundStickerSets -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_FoundStickerSets -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_foundStickerSetsNotModified](../constructors/messages_foundStickerSetsNotModified.md) - -[messages\_foundStickerSets](../constructors/messages_foundStickerSets.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->searchStickerSets](../methods/messages_searchStickerSets.md) - - - diff --git a/docs/API_docs/types/messages_HighScores.md b/docs/API_docs/types/messages_HighScores.md deleted file mode 100644 index 9660e255..00000000 --- a/docs/API_docs/types/messages_HighScores.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_HighScores -description: constructors and methods of type messages_HighScores -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_HighScores -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_highScores](../constructors/messages_highScores.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getGameHighScores](../methods/messages_getGameHighScores.md) - -[$MadelineProto->messages->getInlineGameHighScores](../methods/messages_getInlineGameHighScores.md) - - - diff --git a/docs/API_docs/types/messages_MessageEditData.md b/docs/API_docs/types/messages_MessageEditData.md deleted file mode 100644 index ed3c507a..00000000 --- a/docs/API_docs/types/messages_MessageEditData.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_MessageEditData -description: constructors and methods of type messages_MessageEditData -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_MessageEditData -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_messageEditData](../constructors/messages_messageEditData.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getMessageEditData](../methods/messages_getMessageEditData.md) - - - diff --git a/docs/API_docs/types/messages_Messages.md b/docs/API_docs/types/messages_Messages.md deleted file mode 100644 index d68962d8..00000000 --- a/docs/API_docs/types/messages_Messages.md +++ /dev/null @@ -1,44 +0,0 @@ ---- -title: messages_Messages -description: constructors and methods of type messages_Messages -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Messages -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_messages](../constructors/messages_messages.md) - -[messages\_messagesSlice](../constructors/messages_messagesSlice.md) - -[messages\_channelMessages](../constructors/messages_channelMessages.md) - -[messages\_messagesNotModified](../constructors/messages_messagesNotModified.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getMessages](../methods/messages_getMessages.md) - -[$MadelineProto->messages->getHistory](../methods/messages_getHistory.md) - -[$MadelineProto->messages->search](../methods/messages_search.md) - -[$MadelineProto->messages->searchGlobal](../methods/messages_searchGlobal.md) - -[$MadelineProto->messages->getUnreadMentions](../methods/messages_getUnreadMentions.md) - -[$MadelineProto->messages->getRecentLocations](../methods/messages_getRecentLocations.md) - -[$MadelineProto->messages->getScheduledHistory](../methods/messages_getScheduledHistory.md) - -[$MadelineProto->messages->getScheduledMessages](../methods/messages_getScheduledMessages.md) - -[$MadelineProto->channels->getMessages](../methods/channels_getMessages.md) - - - diff --git a/docs/API_docs/types/messages_PeerDialogs.md b/docs/API_docs/types/messages_PeerDialogs.md deleted file mode 100644 index 2477931f..00000000 --- a/docs/API_docs/types/messages_PeerDialogs.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_PeerDialogs -description: constructors and methods of type messages_PeerDialogs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_PeerDialogs -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_peerDialogs](../constructors/messages_peerDialogs.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getPeerDialogs](../methods/messages_getPeerDialogs.md) - -[$MadelineProto->messages->getPinnedDialogs](../methods/messages_getPinnedDialogs.md) - - - diff --git a/docs/API_docs/types/messages_RecentStickers.md b/docs/API_docs/types/messages_RecentStickers.md deleted file mode 100644 index 2c9db779..00000000 --- a/docs/API_docs/types/messages_RecentStickers.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_RecentStickers -description: constructors and methods of type messages_RecentStickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_RecentStickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_recentStickersNotModified](../constructors/messages_recentStickersNotModified.md) - -[messages\_recentStickers](../constructors/messages_recentStickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getRecentStickers](../methods/messages_getRecentStickers.md) - - - diff --git a/docs/API_docs/types/messages_SavedGifs.md b/docs/API_docs/types/messages_SavedGifs.md deleted file mode 100644 index ffb000aa..00000000 --- a/docs/API_docs/types/messages_SavedGifs.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_SavedGifs -description: constructors and methods of type messages_SavedGifs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_SavedGifs -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_savedGifsNotModified](../constructors/messages_savedGifsNotModified.md) - -[messages\_savedGifs](../constructors/messages_savedGifs.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getSavedGifs](../methods/messages_getSavedGifs.md) - - - diff --git a/docs/API_docs/types/messages_SearchCounter.md b/docs/API_docs/types/messages_SearchCounter.md deleted file mode 100644 index 1ce67b2a..00000000 --- a/docs/API_docs/types/messages_SearchCounter.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_SearchCounter -description: constructors and methods of type messages_SearchCounter -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_SearchCounter -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_searchCounter](../constructors/messages_searchCounter.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getSearchCounters](../methods/messages_getSearchCounters.md) - - - diff --git a/docs/API_docs/types/messages_SentEncryptedMessage.md b/docs/API_docs/types/messages_SentEncryptedMessage.md deleted file mode 100644 index 9f7ab935..00000000 --- a/docs/API_docs/types/messages_SentEncryptedMessage.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: messages_SentEncryptedMessage -description: constructors and methods of type messages_SentEncryptedMessage -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_SentEncryptedMessage -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_sentEncryptedMessage](../constructors/messages_sentEncryptedMessage.md) - -[messages\_sentEncryptedFile](../constructors/messages_sentEncryptedFile.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->sendEncrypted](../methods/messages_sendEncrypted.md) - -[$MadelineProto->messages->sendEncryptedFile](../methods/messages_sendEncryptedFile.md) - -[$MadelineProto->messages->sendEncryptedService](../methods/messages_sendEncryptedService.md) - - - diff --git a/docs/API_docs/types/messages_StickerSet.md b/docs/API_docs/types/messages_StickerSet.md deleted file mode 100644 index 98e34dd2..00000000 --- a/docs/API_docs/types/messages_StickerSet.md +++ /dev/null @@ -1,30 +0,0 @@ ---- -title: messages_StickerSet -description: constructors and methods of type messages_StickerSet -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_StickerSet -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_stickerSet](../constructors/messages_stickerSet.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getStickerSet](../methods/messages_getStickerSet.md) - -[$MadelineProto->stickers->createStickerSet](../methods/stickers_createStickerSet.md) - -[$MadelineProto->stickers->removeStickerFromSet](../methods/stickers_removeStickerFromSet.md) - -[$MadelineProto->stickers->changeStickerPosition](../methods/stickers_changeStickerPosition.md) - -[$MadelineProto->stickers->addStickerToSet](../methods/stickers_addStickerToSet.md) - - - diff --git a/docs/API_docs/types/messages_StickerSetInstallResult.md b/docs/API_docs/types/messages_StickerSetInstallResult.md deleted file mode 100644 index bb62ec11..00000000 --- a/docs/API_docs/types/messages_StickerSetInstallResult.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_StickerSetInstallResult -description: constructors and methods of type messages_StickerSetInstallResult -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_StickerSetInstallResult -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_stickerSetInstallResultSuccess](../constructors/messages_stickerSetInstallResultSuccess.md) - -[messages\_stickerSetInstallResultArchive](../constructors/messages_stickerSetInstallResultArchive.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->installStickerSet](../methods/messages_installStickerSet.md) - - - diff --git a/docs/API_docs/types/messages_Stickers.md b/docs/API_docs/types/messages_Stickers.md deleted file mode 100644 index cf53f57b..00000000 --- a/docs/API_docs/types/messages_Stickers.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_Stickers -description: constructors and methods of type messages_Stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Stickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_stickersNotModified](../constructors/messages_stickersNotModified.md) - -[messages\_stickers](../constructors/messages_stickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getStickers](../methods/messages_getStickers.md) - - - diff --git a/docs/API_docs/types/payments.PaymentForm.md b/docs/API_docs/types/payments.PaymentForm.md new file mode 100644 index 00000000..985c1957 --- /dev/null +++ b/docs/API_docs/types/payments.PaymentForm.md @@ -0,0 +1,22 @@ +--- +title: payments.PaymentForm +description: constructors and methods of type payments.PaymentForm +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: payments.PaymentForm +[Back to types index](index.md) + + + +### Possible values (constructors): + +[payments.paymentForm](../constructors/payments.paymentForm.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->payments->getPaymentForm](../methods/payments.getPaymentForm.md) + + + diff --git a/docs/API_docs/types/payments.PaymentReceipt.md b/docs/API_docs/types/payments.PaymentReceipt.md new file mode 100644 index 00000000..45cebd47 --- /dev/null +++ b/docs/API_docs/types/payments.PaymentReceipt.md @@ -0,0 +1,22 @@ +--- +title: payments.PaymentReceipt +description: constructors and methods of type payments.PaymentReceipt +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: payments.PaymentReceipt +[Back to types index](index.md) + + + +### Possible values (constructors): + +[payments.paymentReceipt](../constructors/payments.paymentReceipt.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->payments->getPaymentReceipt](../methods/payments.getPaymentReceipt.md) + + + diff --git a/docs/API_docs/types/payments.PaymentResult.md b/docs/API_docs/types/payments.PaymentResult.md new file mode 100644 index 00000000..4f48c512 --- /dev/null +++ b/docs/API_docs/types/payments.PaymentResult.md @@ -0,0 +1,24 @@ +--- +title: payments.PaymentResult +description: constructors and methods of type payments.PaymentResult +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: payments.PaymentResult +[Back to types index](index.md) + + + +### Possible values (constructors): + +[payments.paymentResult](../constructors/payments.paymentResult.md) + +[payments.paymentVerificationNeeded](../constructors/payments.paymentVerificationNeeded.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->payments->sendPaymentForm](../methods/payments.sendPaymentForm.md) + + + diff --git a/docs/API_docs/types/payments.SavedInfo.md b/docs/API_docs/types/payments.SavedInfo.md new file mode 100644 index 00000000..cf7be16c --- /dev/null +++ b/docs/API_docs/types/payments.SavedInfo.md @@ -0,0 +1,22 @@ +--- +title: payments.SavedInfo +description: constructors and methods of type payments.SavedInfo +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: payments.SavedInfo +[Back to types index](index.md) + + + +### Possible values (constructors): + +[payments.savedInfo](../constructors/payments.savedInfo.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->payments->getSavedInfo](../methods/payments.getSavedInfo.md) + + + diff --git a/docs/API_docs/types/payments.ValidatedRequestedInfo.md b/docs/API_docs/types/payments.ValidatedRequestedInfo.md new file mode 100644 index 00000000..653a5064 --- /dev/null +++ b/docs/API_docs/types/payments.ValidatedRequestedInfo.md @@ -0,0 +1,22 @@ +--- +title: payments.ValidatedRequestedInfo +description: constructors and methods of type payments.ValidatedRequestedInfo +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: payments.ValidatedRequestedInfo +[Back to types index](index.md) + + + +### Possible values (constructors): + +[payments.validatedRequestedInfo](../constructors/payments.validatedRequestedInfo.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->payments->validateRequestedInfo](../methods/payments.validateRequestedInfo.md) + + + diff --git a/docs/API_docs/types/payments_PaymentForm.md b/docs/API_docs/types/payments_PaymentForm.md deleted file mode 100644 index 4662586d..00000000 --- a/docs/API_docs/types/payments_PaymentForm.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: payments_PaymentForm -description: constructors and methods of type payments_PaymentForm -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: payments\_PaymentForm -[Back to types index](index.md) - - - -### Possible values (constructors): - -[payments\_paymentForm](../constructors/payments_paymentForm.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->payments->getPaymentForm](../methods/payments_getPaymentForm.md) - - - diff --git a/docs/API_docs/types/payments_PaymentReceipt.md b/docs/API_docs/types/payments_PaymentReceipt.md deleted file mode 100644 index b4770d2a..00000000 --- a/docs/API_docs/types/payments_PaymentReceipt.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: payments_PaymentReceipt -description: constructors and methods of type payments_PaymentReceipt -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: payments\_PaymentReceipt -[Back to types index](index.md) - - - -### Possible values (constructors): - -[payments\_paymentReceipt](../constructors/payments_paymentReceipt.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->payments->getPaymentReceipt](../methods/payments_getPaymentReceipt.md) - - - diff --git a/docs/API_docs/types/payments_PaymentResult.md b/docs/API_docs/types/payments_PaymentResult.md deleted file mode 100644 index d956ca9a..00000000 --- a/docs/API_docs/types/payments_PaymentResult.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: payments_PaymentResult -description: constructors and methods of type payments_PaymentResult -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: payments\_PaymentResult -[Back to types index](index.md) - - - -### Possible values (constructors): - -[payments\_paymentResult](../constructors/payments_paymentResult.md) - -[payments\_paymentVerificationNeeded](../constructors/payments_paymentVerificationNeeded.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->payments->sendPaymentForm](../methods/payments_sendPaymentForm.md) - - - diff --git a/docs/API_docs/types/payments_SavedInfo.md b/docs/API_docs/types/payments_SavedInfo.md deleted file mode 100644 index c8f7b9e3..00000000 --- a/docs/API_docs/types/payments_SavedInfo.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: payments_SavedInfo -description: constructors and methods of type payments_SavedInfo -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: payments\_SavedInfo -[Back to types index](index.md) - - - -### Possible values (constructors): - -[payments\_savedInfo](../constructors/payments_savedInfo.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->payments->getSavedInfo](../methods/payments_getSavedInfo.md) - - - diff --git a/docs/API_docs/types/payments_ValidatedRequestedInfo.md b/docs/API_docs/types/payments_ValidatedRequestedInfo.md deleted file mode 100644 index ff6c4e39..00000000 --- a/docs/API_docs/types/payments_ValidatedRequestedInfo.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: payments_ValidatedRequestedInfo -description: constructors and methods of type payments_ValidatedRequestedInfo -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: payments\_ValidatedRequestedInfo -[Back to types index](index.md) - - - -### Possible values (constructors): - -[payments\_validatedRequestedInfo](../constructors/payments_validatedRequestedInfo.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->payments->validateRequestedInfo](../methods/payments_validateRequestedInfo.md) - - - diff --git a/docs/API_docs/types/phone.PhoneCall.md b/docs/API_docs/types/phone.PhoneCall.md new file mode 100644 index 00000000..db0708e9 --- /dev/null +++ b/docs/API_docs/types/phone.PhoneCall.md @@ -0,0 +1,26 @@ +--- +title: phone.PhoneCall +description: constructors and methods of type phone.PhoneCall +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: phone.PhoneCall +[Back to types index](index.md) + + + +### Possible values (constructors): + +[phone.phoneCall](../constructors/phone.phoneCall.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->phone->requestCall](../methods/phone.requestCall.md) + +[$MadelineProto->phone->acceptCall](../methods/phone.acceptCall.md) + +[$MadelineProto->phone->confirmCall](../methods/phone.confirmCall.md) + + + diff --git a/docs/API_docs/types/phone_PhoneCall.md b/docs/API_docs/types/phone_PhoneCall.md deleted file mode 100644 index 0a49d482..00000000 --- a/docs/API_docs/types/phone_PhoneCall.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: phone_PhoneCall -description: constructors and methods of type phone_PhoneCall -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: phone\_PhoneCall -[Back to types index](index.md) - - - -### Possible values (constructors): - -[phone\_phoneCall](../constructors/phone_phoneCall.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->phone->requestCall](../methods/phone_requestCall.md) - -[$MadelineProto->phone->acceptCall](../methods/phone_acceptCall.md) - -[$MadelineProto->phone->confirmCall](../methods/phone_confirmCall.md) - - - diff --git a/docs/API_docs/types/photos.Photo.md b/docs/API_docs/types/photos.Photo.md new file mode 100644 index 00000000..d60f203c --- /dev/null +++ b/docs/API_docs/types/photos.Photo.md @@ -0,0 +1,22 @@ +--- +title: photos.Photo +description: constructors and methods of type photos.Photo +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: photos.Photo +[Back to types index](index.md) + + + +### Possible values (constructors): + +[photos.photo](../constructors/photos.photo.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->photos->uploadProfilePhoto](../methods/photos.uploadProfilePhoto.md) + + + diff --git a/docs/API_docs/types/photos.Photos.md b/docs/API_docs/types/photos.Photos.md new file mode 100644 index 00000000..fff0e296 --- /dev/null +++ b/docs/API_docs/types/photos.Photos.md @@ -0,0 +1,24 @@ +--- +title: photos.Photos +description: constructors and methods of type photos.Photos +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: photos.Photos +[Back to types index](index.md) + + + +### Possible values (constructors): + +[photos.photos](../constructors/photos.photos.md) + +[photos.photosSlice](../constructors/photos.photosSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->photos->getUserPhotos](../methods/photos.getUserPhotos.md) + + + diff --git a/docs/API_docs/types/photos_Photo.md b/docs/API_docs/types/photos_Photo.md deleted file mode 100644 index d11bbdef..00000000 --- a/docs/API_docs/types/photos_Photo.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: photos_Photo -description: constructors and methods of type photos_Photo -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: photos\_Photo -[Back to types index](index.md) - - - -### Possible values (constructors): - -[photos\_photo](../constructors/photos_photo.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->photos->uploadProfilePhoto](../methods/photos_uploadProfilePhoto.md) - - - diff --git a/docs/API_docs/types/photos_Photos.md b/docs/API_docs/types/photos_Photos.md deleted file mode 100644 index 9875ad70..00000000 --- a/docs/API_docs/types/photos_Photos.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: photos_Photos -description: constructors and methods of type photos_Photos -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: photos\_Photos -[Back to types index](index.md) - - - -### Possible values (constructors): - -[photos\_photos](../constructors/photos_photos.md) - -[photos\_photosSlice](../constructors/photos_photosSlice.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->photos->getUserPhotos](../methods/photos_getUserPhotos.md) - - - diff --git a/docs/API_docs/types/storage.FileType.md b/docs/API_docs/types/storage.FileType.md new file mode 100644 index 00000000..32f1bb72 --- /dev/null +++ b/docs/API_docs/types/storage.FileType.md @@ -0,0 +1,38 @@ +--- +title: storage.FileType +description: constructors and methods of type storage.FileType +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: storage.FileType +[Back to types index](index.md) + + + +### Possible values (constructors): + +[storage.fileUnknown](../constructors/storage.fileUnknown.md) + +[storage.filePartial](../constructors/storage.filePartial.md) + +[storage.fileJpeg](../constructors/storage.fileJpeg.md) + +[storage.fileGif](../constructors/storage.fileGif.md) + +[storage.filePng](../constructors/storage.filePng.md) + +[storage.filePdf](../constructors/storage.filePdf.md) + +[storage.fileMp3](../constructors/storage.fileMp3.md) + +[storage.fileMov](../constructors/storage.fileMov.md) + +[storage.fileMp4](../constructors/storage.fileMp4.md) + +[storage.fileWebp](../constructors/storage.fileWebp.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/API_docs/types/storage_FileType.md b/docs/API_docs/types/storage_FileType.md deleted file mode 100644 index 22118805..00000000 --- a/docs/API_docs/types/storage_FileType.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: storage_FileType -description: constructors and methods of type storage_FileType -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: storage\_FileType -[Back to types index](index.md) - - - -### Possible values (constructors): - -[storage\_fileUnknown](../constructors/storage_fileUnknown.md) - -[storage\_filePartial](../constructors/storage_filePartial.md) - -[storage\_fileJpeg](../constructors/storage_fileJpeg.md) - -[storage\_fileGif](../constructors/storage_fileGif.md) - -[storage\_filePng](../constructors/storage_filePng.md) - -[storage\_filePdf](../constructors/storage_filePdf.md) - -[storage\_fileMp3](../constructors/storage_fileMp3.md) - -[storage\_fileMov](../constructors/storage_fileMov.md) - -[storage\_fileMp4](../constructors/storage_fileMp4.md) - -[storage\_fileWebp](../constructors/storage_fileWebp.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/docs/API_docs/types/updates.ChannelDifference.md b/docs/API_docs/types/updates.ChannelDifference.md new file mode 100644 index 00000000..ac889a1e --- /dev/null +++ b/docs/API_docs/types/updates.ChannelDifference.md @@ -0,0 +1,26 @@ +--- +title: updates.ChannelDifference +description: constructors and methods of type updates.ChannelDifference +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: updates.ChannelDifference +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updates.channelDifferenceEmpty](../constructors/updates.channelDifferenceEmpty.md) + +[updates.channelDifferenceTooLong](../constructors/updates.channelDifferenceTooLong.md) + +[updates.channelDifference](../constructors/updates.channelDifference.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->updates->getChannelDifference](../methods/updates.getChannelDifference.md) + + + diff --git a/docs/API_docs/types/updates.Difference.md b/docs/API_docs/types/updates.Difference.md new file mode 100644 index 00000000..0c1a1b6e --- /dev/null +++ b/docs/API_docs/types/updates.Difference.md @@ -0,0 +1,28 @@ +--- +title: updates.Difference +description: constructors and methods of type updates.Difference +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: updates.Difference +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updates.differenceEmpty](../constructors/updates.differenceEmpty.md) + +[updates.difference](../constructors/updates.difference.md) + +[updates.differenceSlice](../constructors/updates.differenceSlice.md) + +[updates.differenceTooLong](../constructors/updates.differenceTooLong.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->updates->getDifference](../methods/updates.getDifference.md) + + + diff --git a/docs/API_docs/types/updates.State.md b/docs/API_docs/types/updates.State.md new file mode 100644 index 00000000..49bbb7fd --- /dev/null +++ b/docs/API_docs/types/updates.State.md @@ -0,0 +1,22 @@ +--- +title: updates.State +description: constructors and methods of type updates.State +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: updates.State +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updates.state](../constructors/updates.state.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->updates->getState](../methods/updates.getState.md) + + + diff --git a/docs/API_docs/types/updates_ChannelDifference.md b/docs/API_docs/types/updates_ChannelDifference.md deleted file mode 100644 index dc988692..00000000 --- a/docs/API_docs/types/updates_ChannelDifference.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: updates_ChannelDifference -description: constructors and methods of type updates_ChannelDifference -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: updates\_ChannelDifference -[Back to types index](index.md) - - - -### Possible values (constructors): - -[updates\_channelDifferenceEmpty](../constructors/updates_channelDifferenceEmpty.md) - -[updates\_channelDifferenceTooLong](../constructors/updates_channelDifferenceTooLong.md) - -[updates\_channelDifference](../constructors/updates_channelDifference.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->updates->getChannelDifference](../methods/updates_getChannelDifference.md) - - - diff --git a/docs/API_docs/types/updates_Difference.md b/docs/API_docs/types/updates_Difference.md deleted file mode 100644 index 50bb098e..00000000 --- a/docs/API_docs/types/updates_Difference.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: updates_Difference -description: constructors and methods of type updates_Difference -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: updates\_Difference -[Back to types index](index.md) - - - -### Possible values (constructors): - -[updates\_differenceEmpty](../constructors/updates_differenceEmpty.md) - -[updates\_difference](../constructors/updates_difference.md) - -[updates\_differenceSlice](../constructors/updates_differenceSlice.md) - -[updates\_differenceTooLong](../constructors/updates_differenceTooLong.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->updates->getDifference](../methods/updates_getDifference.md) - - - diff --git a/docs/API_docs/types/updates_State.md b/docs/API_docs/types/updates_State.md deleted file mode 100644 index 7a441145..00000000 --- a/docs/API_docs/types/updates_State.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: updates_State -description: constructors and methods of type updates_State -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: updates\_State -[Back to types index](index.md) - - - -### Possible values (constructors): - -[updates\_state](../constructors/updates_state.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->updates->getState](../methods/updates_getState.md) - - - diff --git a/docs/API_docs/types/upload.CdnFile.md b/docs/API_docs/types/upload.CdnFile.md new file mode 100644 index 00000000..396c4bf4 --- /dev/null +++ b/docs/API_docs/types/upload.CdnFile.md @@ -0,0 +1,24 @@ +--- +title: upload.CdnFile +description: constructors and methods of type upload.CdnFile +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: upload.CdnFile +[Back to types index](index.md) + + + +### Possible values (constructors): + +[upload.cdnFileReuploadNeeded](../constructors/upload.cdnFileReuploadNeeded.md) + +[upload.cdnFile](../constructors/upload.cdnFile.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->upload->getCdnFile](../methods/upload.getCdnFile.md) + + + diff --git a/docs/API_docs/types/upload.File.md b/docs/API_docs/types/upload.File.md new file mode 100644 index 00000000..6963341b --- /dev/null +++ b/docs/API_docs/types/upload.File.md @@ -0,0 +1,24 @@ +--- +title: upload.File +description: constructors and methods of type upload.File +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: upload.File +[Back to types index](index.md) + + + +### Possible values (constructors): + +[upload.file](../constructors/upload.file.md) + +[upload.fileCdnRedirect](../constructors/upload.fileCdnRedirect.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->upload->getFile](../methods/upload.getFile.md) + + + diff --git a/docs/API_docs/types/upload.WebFile.md b/docs/API_docs/types/upload.WebFile.md new file mode 100644 index 00000000..e834457b --- /dev/null +++ b/docs/API_docs/types/upload.WebFile.md @@ -0,0 +1,22 @@ +--- +title: upload.WebFile +description: constructors and methods of type upload.WebFile +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: upload.WebFile +[Back to types index](index.md) + + + +### Possible values (constructors): + +[upload.webFile](../constructors/upload.webFile.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->upload->getWebFile](../methods/upload.getWebFile.md) + + + diff --git a/docs/API_docs/types/upload_CdnFile.md b/docs/API_docs/types/upload_CdnFile.md deleted file mode 100644 index 51ae2e68..00000000 --- a/docs/API_docs/types/upload_CdnFile.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: upload_CdnFile -description: constructors and methods of type upload_CdnFile -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: upload\_CdnFile -[Back to types index](index.md) - - - -### Possible values (constructors): - -[upload\_cdnFileReuploadNeeded](../constructors/upload_cdnFileReuploadNeeded.md) - -[upload\_cdnFile](../constructors/upload_cdnFile.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->upload->getCdnFile](../methods/upload_getCdnFile.md) - - - diff --git a/docs/API_docs/types/upload_File.md b/docs/API_docs/types/upload_File.md deleted file mode 100644 index 00e0f9cb..00000000 --- a/docs/API_docs/types/upload_File.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: upload_File -description: constructors and methods of type upload_File -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: upload\_File -[Back to types index](index.md) - - - -### Possible values (constructors): - -[upload\_file](../constructors/upload_file.md) - -[upload\_fileCdnRedirect](../constructors/upload_fileCdnRedirect.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->upload->getFile](../methods/upload_getFile.md) - - - diff --git a/docs/API_docs/types/upload_WebFile.md b/docs/API_docs/types/upload_WebFile.md deleted file mode 100644 index 9a86264f..00000000 --- a/docs/API_docs/types/upload_WebFile.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: upload_WebFile -description: constructors and methods of type upload_WebFile -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: upload\_WebFile -[Back to types index](index.md) - - - -### Possible values (constructors): - -[upload\_webFile](../constructors/upload_webFile.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->upload->getWebFile](../methods/upload_getWebFile.md) - - - diff --git a/docs/MTProto_docs/types/DestroySessionRes.md b/docs/MTProto_docs/types/DestroySessionRes.md index dbc73cdf..dc5d2bc3 100644 --- a/docs/MTProto_docs/types/DestroySessionRes.md +++ b/docs/MTProto_docs/types/DestroySessionRes.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->destroy->session](../methods/destroy_session.md) +[$MadelineProto->destroy\_session](../methods/destroy_session.md) diff --git a/docs/MTProto_docs/types/FutureSalts.md b/docs/MTProto_docs/types/FutureSalts.md index 5cb9f9e1..3a10b4a2 100644 --- a/docs/MTProto_docs/types/FutureSalts.md +++ b/docs/MTProto_docs/types/FutureSalts.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->get->future->salts](../methods/get_future_salts.md) +[$MadelineProto->get\_future\_salts](../methods/get_future_salts.md) diff --git a/docs/MTProto_docs/types/HttpWait.md b/docs/MTProto_docs/types/HttpWait.md index 2c0dbc22..bbe42358 100644 --- a/docs/MTProto_docs/types/HttpWait.md +++ b/docs/MTProto_docs/types/HttpWait.md @@ -14,7 +14,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->http->wait](../methods/http_wait.md) +[$MadelineProto->http\_wait](../methods/http_wait.md) diff --git a/docs/MTProto_docs/types/Pong.md b/docs/MTProto_docs/types/Pong.md index 7658af03..aa25a60e 100644 --- a/docs/MTProto_docs/types/Pong.md +++ b/docs/MTProto_docs/types/Pong.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png [$MadelineProto->ping](../methods/ping.md) -[$MadelineProto->ping->delay->disconnect](../methods/ping_delay_disconnect.md) +[$MadelineProto->ping\_delay\_disconnect](../methods/ping_delay_disconnect.md) diff --git a/docs/MTProto_docs/types/ResPQ.md b/docs/MTProto_docs/types/ResPQ.md index 3bfb74a3..d0c03cf0 100644 --- a/docs/MTProto_docs/types/ResPQ.md +++ b/docs/MTProto_docs/types/ResPQ.md @@ -16,9 +16,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->req->pq](../methods/req_pq.md) +[$MadelineProto->req\_pq](../methods/req_pq.md) -[$MadelineProto->req->pq->multi](../methods/req_pq_multi.md) +[$MadelineProto->req\_pq\_multi](../methods/req_pq_multi.md) diff --git a/docs/MTProto_docs/types/RpcDropAnswer.md b/docs/MTProto_docs/types/RpcDropAnswer.md index 4fb1ced7..05586b65 100644 --- a/docs/MTProto_docs/types/RpcDropAnswer.md +++ b/docs/MTProto_docs/types/RpcDropAnswer.md @@ -20,7 +20,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->rpc->drop->answer](../methods/rpc_drop_answer.md) +[$MadelineProto->rpc\_drop\_answer](../methods/rpc_drop_answer.md) diff --git a/docs/MTProto_docs/types/Server_DH_Params.md b/docs/MTProto_docs/types/Server_DH_Params.md index e007d828..40530f7e 100644 --- a/docs/MTProto_docs/types/Server_DH_Params.md +++ b/docs/MTProto_docs/types/Server_DH_Params.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->req->DH->params](../methods/req_DH_params.md) +[$MadelineProto->req\_DH\_params](../methods/req_DH_params.md) diff --git a/docs/MTProto_docs/types/Set_client_DH_params_answer.md b/docs/MTProto_docs/types/Set_client_DH_params_answer.md index f316e712..523432b7 100644 --- a/docs/MTProto_docs/types/Set_client_DH_params_answer.md +++ b/docs/MTProto_docs/types/Set_client_DH_params_answer.md @@ -20,7 +20,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->set->client->DH->params](../methods/set_client_DH_params.md) +[$MadelineProto->set\_client\_DH\_params](../methods/set_client_DH_params.md) diff --git a/old_docs/API_docs_v100/constructors/README.md b/old_docs/API_docs_v100/constructors/README.md index b825352c..32f8eee9 100644 --- a/old_docs/API_docs_v100/constructors/README.md +++ b/old_docs/API_docs_v100/constructors/README.md @@ -9,60 +9,83 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ***

[$accessPointRule](../constructors/accessPointRule.md) = \['phone_prefix_rules' => [string](../types/string.md), 'dc_id' => [int](../types/int.md), 'ips' => \[[IpPort](../types/IpPort.md)\], \]; +*** +

[$account.authorizationForm](../constructors/account.authorizationForm.md) = \['required_types' => \[[SecureRequiredType](../types/SecureRequiredType.md)\], 'values' => \[[SecureValue](../types/SecureValue.md)\], 'errors' => \[[SecureValueError](../types/SecureValueError.md)\], 'users' => \[[User](../types/User.md)\], 'privacy_policy_url' => [string](../types/string.md), \]; + +*** +

[$account.authorizations](../constructors/account.authorizations.md) = \['authorizations' => \[[Authorization](../types/Authorization.md)\], \]; + +*** +

[$account.autoDownloadSettings](../constructors/account.autoDownloadSettings.md) = \['low' => [AutoDownloadSettings](../types/AutoDownloadSettings.md), 'medium' => [AutoDownloadSettings](../types/AutoDownloadSettings.md), 'high' => [AutoDownloadSettings](../types/AutoDownloadSettings.md), \]; + +*** +

[$account.password](../constructors/account.password.md) = \['has_recovery' => [Bool](../types/Bool.md), 'has_secure_values' => [Bool](../types/Bool.md), 'has_password' => [Bool](../types/Bool.md), 'current_algo' => [PasswordKdfAlgo](../types/PasswordKdfAlgo.md), 'srp_B' => [bytes](../types/bytes.md), 'srp_id' => [long](../types/long.md), 'hint' => [string](../types/string.md), 'email_unconfirmed_pattern' => [string](../types/string.md), 'new_algo' => [PasswordKdfAlgo](../types/PasswordKdfAlgo.md), 'new_secure_algo' => [SecurePasswordKdfAlgo](../types/SecurePasswordKdfAlgo.md), 'secure_random' => [bytes](../types/bytes.md), \]; + +*** +

[$account.passwordInputSettings](../constructors/account.passwordInputSettings.md) = \['new_algo' => [PasswordKdfAlgo](../types/PasswordKdfAlgo.md), 'new_password_hash' => [bytes](../types/bytes.md), 'hint' => [string](../types/string.md), 'email' => [string](../types/string.md), 'new_secure_settings' => [SecureSecretSettings](../types/SecureSecretSettings.md), \]; + +*** +

[$account.passwordSettings](../constructors/account.passwordSettings.md) = \['email' => [string](../types/string.md), 'secure_settings' => [SecureSecretSettings](../types/SecureSecretSettings.md), \]; + +*** +

[$account.privacyRules](../constructors/account.privacyRules.md) = \['rules' => \[[PrivacyRule](../types/PrivacyRule.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +*** +

[$account.sentEmailCode](../constructors/account.sentEmailCode.md) = \['email_pattern' => [string](../types/string.md), 'length' => [int](../types/int.md), \]; + +*** +

[$account.takeout](../constructors/account.takeout.md) = \['id' => [long](../types/long.md), \]; + +*** +

[$account.tmpPassword](../constructors/account.tmpPassword.md) = \['tmp_password' => [bytes](../types/bytes.md), 'valid_until' => [int](../types/int.md), \]; + +*** +

[$account.wallPapers](../constructors/account.wallPapers.md) = \['hash' => [int](../types/int.md), 'wallpapers' => \[[WallPaper](../types/WallPaper.md)\], \]; + +*** +

[$account.wallPapersNotModified](../constructors/account.wallPapersNotModified.md) = \[\]; + +*** +

[$account.webAuthorizations](../constructors/account.webAuthorizations.md) = \['authorizations' => \[[WebAuthorization](../types/WebAuthorization.md)\], 'users' => \[[User](../types/User.md)\], \]; + ***

[$accountDaysTTL](../constructors/accountDaysTTL.md) = \['days' => [int](../types/int.md), \]; *** -

[$account\_authorizationForm](../constructors/account_authorizationForm.md) = \['required_types' => \[[SecureRequiredType](../types/SecureRequiredType.md)\], 'values' => \[[SecureValue](../types/SecureValue.md)\], 'errors' => \[[SecureValueError](../types/SecureValueError.md)\], 'users' => \[[User](../types/User.md)\], 'privacy_policy_url' => [string](../types/string.md), \]; - -[$account\_authorizations](../constructors/account_authorizations.md) = \['authorizations' => \[[Authorization](../types/Authorization.md)\], \]; - -[$account\_autoDownloadSettings](../constructors/account_autoDownloadSettings.md) = \['low' => [AutoDownloadSettings](../types/AutoDownloadSettings.md), 'medium' => [AutoDownloadSettings](../types/AutoDownloadSettings.md), 'high' => [AutoDownloadSettings](../types/AutoDownloadSettings.md), \]; - -[$account\_password](../constructors/account_password.md) = \['has_recovery' => [Bool](../types/Bool.md), 'has_secure_values' => [Bool](../types/Bool.md), 'has_password' => [Bool](../types/Bool.md), 'current_algo' => [PasswordKdfAlgo](../types/PasswordKdfAlgo.md), 'srp_B' => [bytes](../types/bytes.md), 'srp_id' => [long](../types/long.md), 'hint' => [string](../types/string.md), 'email_unconfirmed_pattern' => [string](../types/string.md), 'new_algo' => [PasswordKdfAlgo](../types/PasswordKdfAlgo.md), 'new_secure_algo' => [SecurePasswordKdfAlgo](../types/SecurePasswordKdfAlgo.md), 'secure_random' => [bytes](../types/bytes.md), \]; - -[$account\_passwordInputSettings](../constructors/account_passwordInputSettings.md) = \['new_algo' => [PasswordKdfAlgo](../types/PasswordKdfAlgo.md), 'new_password_hash' => [bytes](../types/bytes.md), 'hint' => [string](../types/string.md), 'email' => [string](../types/string.md), 'new_secure_settings' => [SecureSecretSettings](../types/SecureSecretSettings.md), \]; - -[$account\_passwordSettings](../constructors/account_passwordSettings.md) = \['email' => [string](../types/string.md), 'secure_settings' => [SecureSecretSettings](../types/SecureSecretSettings.md), \]; - -[$account\_privacyRules](../constructors/account_privacyRules.md) = \['rules' => \[[PrivacyRule](../types/PrivacyRule.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; - -[$account\_sentEmailCode](../constructors/account_sentEmailCode.md) = \['email_pattern' => [string](../types/string.md), 'length' => [int](../types/int.md), \]; - -[$account\_takeout](../constructors/account_takeout.md) = \['id' => [long](../types/long.md), \]; - -[$account\_tmpPassword](../constructors/account_tmpPassword.md) = \['tmp_password' => [bytes](../types/bytes.md), 'valid_until' => [int](../types/int.md), \]; - -[$account\_wallPapers](../constructors/account_wallPapers.md) = \['hash' => [int](../types/int.md), 'wallpapers' => \[[WallPaper](../types/WallPaper.md)\], \]; - -[$account\_wallPapersNotModified](../constructors/account_wallPapersNotModified.md) = \[\]; - -[$account\_webAuthorizations](../constructors/account_webAuthorizations.md) = \['authorizations' => \[[WebAuthorization](../types/WebAuthorization.md)\], 'users' => \[[User](../types/User.md)\], \]; +

[$auth.authorization](../constructors/auth.authorization.md) = \['tmp_sessions' => [int](../types/int.md), 'user' => [User](../types/User.md), \]; *** -

[$auth\_authorization](../constructors/auth_authorization.md) = \['tmp_sessions' => [int](../types/int.md), 'user' => [User](../types/User.md), \]; +

[$auth.checkedPhone](../constructors/auth.checkedPhone.md) = \['phone_registered' => [Bool](../types/Bool.md), \]; -[$auth\_checkedPhone](../constructors/auth_checkedPhone.md) = \['phone_registered' => [Bool](../types/Bool.md), \]; +*** +

[$auth.codeTypeCall](../constructors/auth.codeTypeCall.md) = \[\]; -[$auth\_codeTypeCall](../constructors/auth_codeTypeCall.md) = \[\]; +*** +

[$auth.codeTypeFlashCall](../constructors/auth.codeTypeFlashCall.md) = \[\]; -[$auth\_codeTypeFlashCall](../constructors/auth_codeTypeFlashCall.md) = \[\]; +*** +

[$auth.codeTypeSms](../constructors/auth.codeTypeSms.md) = \[\]; -[$auth\_codeTypeSms](../constructors/auth_codeTypeSms.md) = \[\]; +*** +

[$auth.exportedAuthorization](../constructors/auth.exportedAuthorization.md) = \['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; -[$auth\_exportedAuthorization](../constructors/auth_exportedAuthorization.md) = \['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; +*** +

[$auth.passwordRecovery](../constructors/auth.passwordRecovery.md) = \['email_pattern' => [string](../types/string.md), \]; -[$auth\_passwordRecovery](../constructors/auth_passwordRecovery.md) = \['email_pattern' => [string](../types/string.md), \]; +*** +

[$auth.sentCode](../constructors/auth.sentCode.md) = \['phone_registered' => [Bool](../types/Bool.md), 'type' => [auth.SentCodeType](../types/auth.SentCodeType.md), 'phone_code_hash' => [string](../types/string.md), 'next_type' => [auth.CodeType](../types/auth.CodeType.md), 'timeout' => [int](../types/int.md), 'terms_of_service' => [help.TermsOfService](../types/help.TermsOfService.md), \]; -[$auth\_sentCode](../constructors/auth_sentCode.md) = \['phone_registered' => [Bool](../types/Bool.md), 'type' => [auth.SentCodeType](../types/auth.SentCodeType.md), 'phone_code_hash' => [string](../types/string.md), 'next_type' => [auth.CodeType](../types/auth.CodeType.md), 'timeout' => [int](../types/int.md), 'terms_of_service' => [help.TermsOfService](../types/help.TermsOfService.md), \]; +*** +

[$auth.sentCodeTypeApp](../constructors/auth.sentCodeTypeApp.md) = \['length' => [int](../types/int.md), \]; -[$auth\_sentCodeTypeApp](../constructors/auth_sentCodeTypeApp.md) = \['length' => [int](../types/int.md), \]; +*** +

[$auth.sentCodeTypeCall](../constructors/auth.sentCodeTypeCall.md) = \['length' => [int](../types/int.md), \]; -[$auth\_sentCodeTypeCall](../constructors/auth_sentCodeTypeCall.md) = \['length' => [int](../types/int.md), \]; +*** +

[$auth.sentCodeTypeFlashCall](../constructors/auth.sentCodeTypeFlashCall.md) = \['pattern' => [string](../types/string.md), \]; -[$auth\_sentCodeTypeFlashCall](../constructors/auth_sentCodeTypeFlashCall.md) = \['pattern' => [string](../types/string.md), \]; - -[$auth\_sentCodeTypeSms](../constructors/auth_sentCodeTypeSms.md) = \['length' => [int](../types/int.md), \]; +*** +

[$auth.sentCodeTypeSms](../constructors/auth.sentCodeTypeSms.md) = \['length' => [int](../types/int.md), \]; ***

[$authorization](../constructors/authorization.md) = \['current' => [Bool](../types/Bool.md), 'official_app' => [Bool](../types/Bool.md), 'password_pending' => [Bool](../types/Bool.md), 'hash' => [long](../types/long.md), 'device_model' => [string](../types/string.md), 'platform' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'api_id' => [int](../types/int.md), 'app_name' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'date_created' => [int](../types/int.md), 'date_active' => [int](../types/int.md), 'ip' => [string](../types/string.md), 'country' => [string](../types/string.md), 'region' => [string](../types/string.md), \]; @@ -224,13 +247,16 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$channelParticipantsSearch](../constructors/channelParticipantsSearch.md) = \['q' => [string](../types/string.md), \]; *** -

[$channels\_adminLogResults](../constructors/channels_adminLogResults.md) = \['events' => \[[ChannelAdminLogEvent](../types/ChannelAdminLogEvent.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +

[$channels.adminLogResults](../constructors/channels.adminLogResults.md) = \['events' => \[[ChannelAdminLogEvent](../types/ChannelAdminLogEvent.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$channels\_channelParticipant](../constructors/channels_channelParticipant.md) = \['participant' => [ChannelParticipant](../types/ChannelParticipant.md), 'users' => \[[User](../types/User.md)\], \]; +*** +

[$channels.channelParticipant](../constructors/channels.channelParticipant.md) = \['participant' => [ChannelParticipant](../types/ChannelParticipant.md), 'users' => \[[User](../types/User.md)\], \]; -[$channels\_channelParticipants](../constructors/channels_channelParticipants.md) = \['count' => [int](../types/int.md), 'participants' => \[[ChannelParticipant](../types/ChannelParticipant.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$channels.channelParticipants](../constructors/channels.channelParticipants.md) = \['count' => [int](../types/int.md), 'participants' => \[[ChannelParticipant](../types/ChannelParticipant.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$channels\_channelParticipantsNotModified](../constructors/channels_channelParticipantsNotModified.md) = \[\]; +*** +

[$channels.channelParticipantsNotModified](../constructors/channels.channelParticipantsNotModified.md) = \[\]; ***

[$chat](../constructors/chat.md) = \['creator' => [Bool](../types/Bool.md), 'kicked' => [Bool](../types/Bool.md), 'left' => [Bool](../types/Bool.md), 'deactivated' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'title' => [string](../types/string.md), 'photo' => [ChatPhoto](../types/ChatPhoto.md), 'participants_count' => [int](../types/int.md), 'date' => [int](../types/int.md), 'version' => [int](../types/int.md), 'migrated_to' => [InputChannel](../types/InputChannel.md), 'admin_rights' => [ChatAdminRights](../types/ChatAdminRights.md), 'default_banned_rights' => [ChatBannedRights](../types/ChatBannedRights.md), \]; @@ -311,27 +337,37 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$contactStatus](../constructors/contactStatus.md) = \['user_id' => [int](../types/int.md), 'status' => [UserStatus](../types/UserStatus.md), \]; *** -

[$contacts\_blocked](../constructors/contacts_blocked.md) = \['blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; +

[$contacts.blocked](../constructors/contacts.blocked.md) = \['blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_blockedSlice](../constructors/contacts_blockedSlice.md) = \['count' => [int](../types/int.md), 'blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.blockedSlice](../constructors/contacts.blockedSlice.md) = \['count' => [int](../types/int.md), 'blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_contacts](../constructors/contacts_contacts.md) = \['contacts' => \[[Contact](../types/Contact.md)\], 'saved_count' => [int](../types/int.md), 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.contacts](../constructors/contacts.contacts.md) = \['contacts' => \[[Contact](../types/Contact.md)\], 'saved_count' => [int](../types/int.md), 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_contactsNotModified](../constructors/contacts_contactsNotModified.md) = \[\]; +*** +

[$contacts.contactsNotModified](../constructors/contacts.contactsNotModified.md) = \[\]; -[$contacts\_found](../constructors/contacts_found.md) = \['my_results' => \[[Peer](../types/Peer.md)\], 'results' => \[[Peer](../types/Peer.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.found](../constructors/contacts.found.md) = \['my_results' => \[[Peer](../types/Peer.md)\], 'results' => \[[Peer](../types/Peer.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_importedContacts](../constructors/contacts_importedContacts.md) = \['imported' => \[[ImportedContact](../types/ImportedContact.md)\], 'popular_invites' => \[[PopularContact](../types/PopularContact.md)\], 'retry_contacts' => \[[long](../types/long.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.importedContacts](../constructors/contacts.importedContacts.md) = \['imported' => \[[ImportedContact](../types/ImportedContact.md)\], 'popular_invites' => \[[PopularContact](../types/PopularContact.md)\], 'retry_contacts' => \[[long](../types/long.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_link](../constructors/contacts_link.md) = \['my_link' => [ContactLink](../types/ContactLink.md), 'foreign_link' => [ContactLink](../types/ContactLink.md), 'user' => [User](../types/User.md), \]; +*** +

[$contacts.link](../constructors/contacts.link.md) = \['my_link' => [ContactLink](../types/ContactLink.md), 'foreign_link' => [ContactLink](../types/ContactLink.md), 'user' => [User](../types/User.md), \]; -[$contacts\_resolvedPeer](../constructors/contacts_resolvedPeer.md) = \['peer' => [Peer](../types/Peer.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.resolvedPeer](../constructors/contacts.resolvedPeer.md) = \['peer' => [Peer](../types/Peer.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_topPeers](../constructors/contacts_topPeers.md) = \['categories' => \[[TopPeerCategoryPeers](../types/TopPeerCategoryPeers.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.topPeers](../constructors/contacts.topPeers.md) = \['categories' => \[[TopPeerCategoryPeers](../types/TopPeerCategoryPeers.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_topPeersDisabled](../constructors/contacts_topPeersDisabled.md) = \[\]; +*** +

[$contacts.topPeersDisabled](../constructors/contacts.topPeersDisabled.md) = \[\]; -[$contacts\_topPeersNotModified](../constructors/contacts_topPeersNotModified.md) = \[\]; +*** +

[$contacts.topPeersNotModified](../constructors/contacts.topPeersNotModified.md) = \[\]; ***

[$dataJSON](../constructors/dataJSON.md) = \['data' => [string](../types/string.md), \]; @@ -460,41 +496,58 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$geoPointEmpty](../constructors/geoPointEmpty.md) = \[\]; *** -

[$help\_appUpdate](../constructors/help_appUpdate.md) = \['popup' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'version' => [string](../types/string.md), 'text' => [string](../types/string.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], 'document' => [Document](../types/Document.md), 'url' => [string](../types/string.md), \]; +

[$help.appUpdate](../constructors/help.appUpdate.md) = \['popup' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'version' => [string](../types/string.md), 'text' => [string](../types/string.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], 'document' => [Document](../types/Document.md), 'url' => [string](../types/string.md), \]; -[$help\_configSimple](../constructors/help_configSimple.md) = \['date' => [int](../types/int.md), 'expires' => [int](../types/int.md), 'rules' => \[[AccessPointRule](../types/AccessPointRule.md)\], \]; +*** +

[$help.configSimple](../constructors/help.configSimple.md) = \['date' => [int](../types/int.md), 'expires' => [int](../types/int.md), 'rules' => \[[AccessPointRule](../types/AccessPointRule.md)\], \]; -[$help\_deepLinkInfo](../constructors/help_deepLinkInfo.md) = \['update_app' => [Bool](../types/Bool.md), 'message' => [string](../types/string.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], \]; +*** +

[$help.deepLinkInfo](../constructors/help.deepLinkInfo.md) = \['update_app' => [Bool](../types/Bool.md), 'message' => [string](../types/string.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], \]; -[$help\_deepLinkInfoEmpty](../constructors/help_deepLinkInfoEmpty.md) = \[\]; +*** +

[$help.deepLinkInfoEmpty](../constructors/help.deepLinkInfoEmpty.md) = \[\]; -[$help\_inviteText](../constructors/help_inviteText.md) = \['message' => [string](../types/string.md), \]; +*** +

[$help.inviteText](../constructors/help.inviteText.md) = \['message' => [string](../types/string.md), \]; -[$help\_noAppUpdate](../constructors/help_noAppUpdate.md) = \[\]; +*** +

[$help.noAppUpdate](../constructors/help.noAppUpdate.md) = \[\]; -[$help\_passportConfig](../constructors/help_passportConfig.md) = \['hash' => [int](../types/int.md), 'countries_langs' => [DataJSON](../types/DataJSON.md), \]; +*** +

[$help.passportConfig](../constructors/help.passportConfig.md) = \['hash' => [int](../types/int.md), 'countries_langs' => [DataJSON](../types/DataJSON.md), \]; -[$help\_passportConfigNotModified](../constructors/help_passportConfigNotModified.md) = \[\]; +*** +

[$help.passportConfigNotModified](../constructors/help.passportConfigNotModified.md) = \[\]; -[$help\_proxyDataEmpty](../constructors/help_proxyDataEmpty.md) = \['expires' => [int](../types/int.md), \]; +*** +

[$help.proxyDataEmpty](../constructors/help.proxyDataEmpty.md) = \['expires' => [int](../types/int.md), \]; -[$help\_proxyDataPromo](../constructors/help_proxyDataPromo.md) = \['expires' => [int](../types/int.md), 'peer' => [Peer](../types/Peer.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$help.proxyDataPromo](../constructors/help.proxyDataPromo.md) = \['expires' => [int](../types/int.md), 'peer' => [Peer](../types/Peer.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$help\_recentMeUrls](../constructors/help_recentMeUrls.md) = \['urls' => \[[RecentMeUrl](../types/RecentMeUrl.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$help.recentMeUrls](../constructors/help.recentMeUrls.md) = \['urls' => \[[RecentMeUrl](../types/RecentMeUrl.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$help\_support](../constructors/help_support.md) = \['phone_number' => [string](../types/string.md), 'user' => [User](../types/User.md), \]; +*** +

[$help.support](../constructors/help.support.md) = \['phone_number' => [string](../types/string.md), 'user' => [User](../types/User.md), \]; -[$help\_supportName](../constructors/help_supportName.md) = \['name' => [string](../types/string.md), \]; +*** +

[$help.supportName](../constructors/help.supportName.md) = \['name' => [string](../types/string.md), \]; -[$help\_termsOfService](../constructors/help_termsOfService.md) = \['popup' => [Bool](../types/Bool.md), 'id' => [DataJSON](../types/DataJSON.md), 'text' => [string](../types/string.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], 'min_age_confirm' => [int](../types/int.md), \]; +*** +

[$help.termsOfService](../constructors/help.termsOfService.md) = \['popup' => [Bool](../types/Bool.md), 'id' => [DataJSON](../types/DataJSON.md), 'text' => [string](../types/string.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], 'min_age_confirm' => [int](../types/int.md), \]; -[$help\_termsOfServiceUpdate](../constructors/help_termsOfServiceUpdate.md) = \['expires' => [int](../types/int.md), 'terms_of_service' => [help.TermsOfService](../types/help.TermsOfService.md), \]; +*** +

[$help.termsOfServiceUpdate](../constructors/help.termsOfServiceUpdate.md) = \['expires' => [int](../types/int.md), 'terms_of_service' => [help.TermsOfService](../types/help.TermsOfService.md), \]; -[$help\_termsOfServiceUpdateEmpty](../constructors/help_termsOfServiceUpdateEmpty.md) = \['expires' => [int](../types/int.md), \]; +*** +

[$help.termsOfServiceUpdateEmpty](../constructors/help.termsOfServiceUpdateEmpty.md) = \['expires' => [int](../types/int.md), \]; -[$help\_userInfo](../constructors/help_userInfo.md) = \['message' => [string](../types/string.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], 'author' => [string](../types/string.md), 'date' => [int](../types/int.md), \]; +*** +

[$help.userInfo](../constructors/help.userInfo.md) = \['message' => [string](../types/string.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], 'author' => [string](../types/string.md), 'date' => [int](../types/int.md), \]; -[$help\_userInfoEmpty](../constructors/help_userInfoEmpty.md) = \[\]; +*** +

[$help.userInfoEmpty](../constructors/help.userInfoEmpty.md) = \[\]; ***

[$highScore](../constructors/highScore.md) = \['pos' => [int](../types/int.md), 'user_id' => [int](../types/int.md), 'score' => [int](../types/int.md), \]; @@ -1172,87 +1225,127 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$messageService](../constructors/messageService.md) = \['out' => [Bool](../types/Bool.md), 'mentioned' => [Bool](../types/Bool.md), 'media_unread' => [Bool](../types/Bool.md), 'silent' => [Bool](../types/Bool.md), 'post' => [Bool](../types/Bool.md), 'legacy' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'from_id' => [int](../types/int.md), 'to_id' => [Peer](../types/Peer.md), 'reply_to_msg_id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'action' => [MessageAction](../types/MessageAction.md), \]; *** -

[$messages\_affectedHistory](../constructors/messages_affectedHistory.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), 'offset' => [int](../types/int.md), \]; +

[$messages.affectedHistory](../constructors/messages.affectedHistory.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), 'offset' => [int](../types/int.md), \]; -[$messages\_affectedMessages](../constructors/messages_affectedMessages.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; +*** +

[$messages.affectedMessages](../constructors/messages.affectedMessages.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; -[$messages\_allStickers](../constructors/messages_allStickers.md) = \['hash' => [int](../types/int.md), 'sets' => \[[StickerSet](../types/StickerSet.md)\], \]; +*** +

[$messages.allStickers](../constructors/messages.allStickers.md) = \['hash' => [int](../types/int.md), 'sets' => \[[StickerSet](../types/StickerSet.md)\], \]; -[$messages\_allStickersNotModified](../constructors/messages_allStickersNotModified.md) = \[\]; +*** +

[$messages.allStickersNotModified](../constructors/messages.allStickersNotModified.md) = \[\]; -[$messages\_archivedStickers](../constructors/messages_archivedStickers.md) = \['count' => [int](../types/int.md), 'sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], \]; +*** +

[$messages.archivedStickers](../constructors/messages.archivedStickers.md) = \['count' => [int](../types/int.md), 'sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], \]; -[$messages\_botCallbackAnswer](../constructors/messages_botCallbackAnswer.md) = \['alert' => [Bool](../types/Bool.md), 'has_url' => [Bool](../types/Bool.md), 'native_ui' => [Bool](../types/Bool.md), 'message' => [string](../types/string.md), 'url' => [string](../types/string.md), 'cache_time' => [int](../types/int.md), \]; +*** +

[$messages.botCallbackAnswer](../constructors/messages.botCallbackAnswer.md) = \['alert' => [Bool](../types/Bool.md), 'has_url' => [Bool](../types/Bool.md), 'native_ui' => [Bool](../types/Bool.md), 'message' => [string](../types/string.md), 'url' => [string](../types/string.md), 'cache_time' => [int](../types/int.md), \]; -[$messages\_botResults](../constructors/messages_botResults.md) = \['gallery' => [Bool](../types/Bool.md), 'query_id' => [long](../types/long.md), 'next_offset' => [string](../types/string.md), 'switch_pm' => [InlineBotSwitchPM](../types/InlineBotSwitchPM.md), 'results' => \[[BotInlineResult](../types/BotInlineResult.md)\], 'cache_time' => [int](../types/int.md), 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.botResults](../constructors/messages.botResults.md) = \['gallery' => [Bool](../types/Bool.md), 'query_id' => [long](../types/long.md), 'next_offset' => [string](../types/string.md), 'switch_pm' => [InlineBotSwitchPM](../types/InlineBotSwitchPM.md), 'results' => \[[BotInlineResult](../types/BotInlineResult.md)\], 'cache_time' => [int](../types/int.md), 'users' => \[[User](../types/User.md)\], \]; -[$messages\_channelMessages](../constructors/messages_channelMessages.md) = \['inexact' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.channelMessages](../constructors/messages.channelMessages.md) = \['inexact' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_chatFull](../constructors/messages_chatFull.md) = \['full_chat' => [ChatFull](../types/ChatFull.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.chatFull](../constructors/messages.chatFull.md) = \['full_chat' => [ChatFull](../types/ChatFull.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_chats](../constructors/messages_chats.md) = \['chats' => \[[Chat](../types/Chat.md)\], \]; +*** +

[$messages.chats](../constructors/messages.chats.md) = \['chats' => \[[Chat](../types/Chat.md)\], \]; -[$messages\_chatsSlice](../constructors/messages_chatsSlice.md) = \['count' => [int](../types/int.md), 'chats' => \[[Chat](../types/Chat.md)\], \]; +*** +

[$messages.chatsSlice](../constructors/messages.chatsSlice.md) = \['count' => [int](../types/int.md), 'chats' => \[[Chat](../types/Chat.md)\], \]; -[$messages\_dhConfig](../constructors/messages_dhConfig.md) = \['g' => [int](../types/int.md), 'p' => [bytes](../types/bytes.md), 'version' => [int](../types/int.md), 'random' => [bytes](../types/bytes.md), \]; +*** +

[$messages.dhConfig](../constructors/messages.dhConfig.md) = \['g' => [int](../types/int.md), 'p' => [bytes](../types/bytes.md), 'version' => [int](../types/int.md), 'random' => [bytes](../types/bytes.md), \]; -[$messages\_dhConfigNotModified](../constructors/messages_dhConfigNotModified.md) = \['random' => [bytes](../types/bytes.md), \]; +*** +

[$messages.dhConfigNotModified](../constructors/messages.dhConfigNotModified.md) = \['random' => [bytes](../types/bytes.md), \]; -[$messages\_dialogs](../constructors/messages_dialogs.md) = \['dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.dialogs](../constructors/messages.dialogs.md) = \['dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_dialogsNotModified](../constructors/messages_dialogsNotModified.md) = \['count' => [int](../types/int.md), \]; +*** +

[$messages.dialogsNotModified](../constructors/messages.dialogsNotModified.md) = \['count' => [int](../types/int.md), \]; -[$messages\_dialogsSlice](../constructors/messages_dialogsSlice.md) = \['count' => [int](../types/int.md), 'dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.dialogsSlice](../constructors/messages.dialogsSlice.md) = \['count' => [int](../types/int.md), 'dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_favedStickers](../constructors/messages_favedStickers.md) = \['hash' => [int](../types/int.md), 'packs' => \[[StickerPack](../types/StickerPack.md)\], 'stickers' => \[[Document](../types/Document.md)\], \]; +*** +

[$messages.favedStickers](../constructors/messages.favedStickers.md) = \['hash' => [int](../types/int.md), 'packs' => \[[StickerPack](../types/StickerPack.md)\], 'stickers' => \[[Document](../types/Document.md)\], \]; -[$messages\_favedStickersNotModified](../constructors/messages_favedStickersNotModified.md) = \[\]; +*** +

[$messages.favedStickersNotModified](../constructors/messages.favedStickersNotModified.md) = \[\]; -[$messages\_featuredStickers](../constructors/messages_featuredStickers.md) = \['hash' => [int](../types/int.md), 'sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], 'unread' => \[[long](../types/long.md)\], \]; +*** +

[$messages.featuredStickers](../constructors/messages.featuredStickers.md) = \['hash' => [int](../types/int.md), 'sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], 'unread' => \[[long](../types/long.md)\], \]; -[$messages\_featuredStickersNotModified](../constructors/messages_featuredStickersNotModified.md) = \[\]; +*** +

[$messages.featuredStickersNotModified](../constructors/messages.featuredStickersNotModified.md) = \[\]; -[$messages\_foundGifs](../constructors/messages_foundGifs.md) = \['next_offset' => [int](../types/int.md), 'results' => \[[FoundGif](../types/FoundGif.md)\], \]; +*** +

[$messages.foundGifs](../constructors/messages.foundGifs.md) = \['next_offset' => [int](../types/int.md), 'results' => \[[FoundGif](../types/FoundGif.md)\], \]; -[$messages\_foundStickerSets](../constructors/messages_foundStickerSets.md) = \['hash' => [int](../types/int.md), 'sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], \]; +*** +

[$messages.foundStickerSets](../constructors/messages.foundStickerSets.md) = \['hash' => [int](../types/int.md), 'sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], \]; -[$messages\_foundStickerSetsNotModified](../constructors/messages_foundStickerSetsNotModified.md) = \[\]; +*** +

[$messages.foundStickerSetsNotModified](../constructors/messages.foundStickerSetsNotModified.md) = \[\]; -[$messages\_highScores](../constructors/messages_highScores.md) = \['scores' => \[[HighScore](../types/HighScore.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.highScores](../constructors/messages.highScores.md) = \['scores' => \[[HighScore](../types/HighScore.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_messageEditData](../constructors/messages_messageEditData.md) = \['caption' => [Bool](../types/Bool.md), \]; +*** +

[$messages.messageEditData](../constructors/messages.messageEditData.md) = \['caption' => [Bool](../types/Bool.md), \]; -[$messages\_messages](../constructors/messages_messages.md) = \['messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.messages](../constructors/messages.messages.md) = \['messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_messagesNotModified](../constructors/messages_messagesNotModified.md) = \['count' => [int](../types/int.md), \]; +*** +

[$messages.messagesNotModified](../constructors/messages.messagesNotModified.md) = \['count' => [int](../types/int.md), \]; -[$messages\_messagesSlice](../constructors/messages_messagesSlice.md) = \['inexact' => [Bool](../types/Bool.md), 'count' => [int](../types/int.md), 'next_rate' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.messagesSlice](../constructors/messages.messagesSlice.md) = \['inexact' => [Bool](../types/Bool.md), 'count' => [int](../types/int.md), 'next_rate' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_peerDialogs](../constructors/messages_peerDialogs.md) = \['dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'state' => [updates.State](../types/updates.State.md), \]; +*** +

[$messages.peerDialogs](../constructors/messages.peerDialogs.md) = \['dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'state' => [updates.State](../types/updates.State.md), \]; -[$messages\_recentStickers](../constructors/messages_recentStickers.md) = \['hash' => [int](../types/int.md), 'packs' => \[[StickerPack](../types/StickerPack.md)\], 'stickers' => \[[Document](../types/Document.md)\], 'dates' => \[[int](../types/int.md)\], \]; +*** +

[$messages.recentStickers](../constructors/messages.recentStickers.md) = \['hash' => [int](../types/int.md), 'packs' => \[[StickerPack](../types/StickerPack.md)\], 'stickers' => \[[Document](../types/Document.md)\], 'dates' => \[[int](../types/int.md)\], \]; -[$messages\_recentStickersNotModified](../constructors/messages_recentStickersNotModified.md) = \[\]; +*** +

[$messages.recentStickersNotModified](../constructors/messages.recentStickersNotModified.md) = \[\]; -[$messages\_savedGifs](../constructors/messages_savedGifs.md) = \['hash' => [int](../types/int.md), 'gifs' => \[[Document](../types/Document.md)\], \]; +*** +

[$messages.savedGifs](../constructors/messages.savedGifs.md) = \['hash' => [int](../types/int.md), 'gifs' => \[[Document](../types/Document.md)\], \]; -[$messages\_savedGifsNotModified](../constructors/messages_savedGifsNotModified.md) = \[\]; +*** +

[$messages.savedGifsNotModified](../constructors/messages.savedGifsNotModified.md) = \[\]; -[$messages\_searchCounter](../constructors/messages_searchCounter.md) = \['inexact' => [Bool](../types/Bool.md), 'filter' => [MessagesFilter](../types/MessagesFilter.md), 'count' => [int](../types/int.md), \]; +*** +

[$messages.searchCounter](../constructors/messages.searchCounter.md) = \['inexact' => [Bool](../types/Bool.md), 'filter' => [MessagesFilter](../types/MessagesFilter.md), 'count' => [int](../types/int.md), \]; -[$messages\_sentEncryptedFile](../constructors/messages_sentEncryptedFile.md) = \['date' => [int](../types/int.md), 'file' => [EncryptedFile](../types/EncryptedFile.md), \]; +*** +

[$messages.sentEncryptedFile](../constructors/messages.sentEncryptedFile.md) = \['date' => [int](../types/int.md), 'file' => [EncryptedFile](../types/EncryptedFile.md), \]; -[$messages\_sentEncryptedMessage](../constructors/messages_sentEncryptedMessage.md) = \['date' => [int](../types/int.md), \]; +*** +

[$messages.sentEncryptedMessage](../constructors/messages.sentEncryptedMessage.md) = \['date' => [int](../types/int.md), \]; -[$messages\_stickerSet](../constructors/messages_stickerSet.md) = \['set' => [StickerSet](../types/StickerSet.md), 'packs' => \[[StickerPack](../types/StickerPack.md)\], 'documents' => \[[Document](../types/Document.md)\], \]; +*** +

[$messages.stickerSet](../constructors/messages.stickerSet.md) = \['set' => [StickerSet](../types/StickerSet.md), 'packs' => \[[StickerPack](../types/StickerPack.md)\], 'documents' => \[[Document](../types/Document.md)\], \]; -[$messages\_stickerSetInstallResultArchive](../constructors/messages_stickerSetInstallResultArchive.md) = \['sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], \]; +*** +

[$messages.stickerSetInstallResultArchive](../constructors/messages.stickerSetInstallResultArchive.md) = \['sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], \]; -[$messages\_stickerSetInstallResultSuccess](../constructors/messages_stickerSetInstallResultSuccess.md) = \[\]; +*** +

[$messages.stickerSetInstallResultSuccess](../constructors/messages.stickerSetInstallResultSuccess.md) = \[\]; -[$messages\_stickers](../constructors/messages_stickers.md) = \['hash' => [int](../types/int.md), 'stickers' => \[[Document](../types/Document.md)\], \]; +*** +

[$messages.stickers](../constructors/messages.stickers.md) = \['hash' => [int](../types/int.md), 'stickers' => \[[Document](../types/Document.md)\], \]; -[$messages\_stickersNotModified](../constructors/messages_stickersNotModified.md) = \[\]; +*** +

[$messages.stickersNotModified](../constructors/messages.stickersNotModified.md) = \[\]; ***

[$nearestDc](../constructors/nearestDc.md) = \['country' => [string](../types/string.md), 'this_dc' => [int](../types/int.md), 'nearest_dc' => [int](../types/int.md), \]; @@ -1402,17 +1495,22 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$paymentSavedCredentialsCard](../constructors/paymentSavedCredentialsCard.md) = \['id' => [string](../types/string.md), 'title' => [string](../types/string.md), \]; *** -

[$payments\_paymentForm](../constructors/payments_paymentForm.md) = \['can_save_credentials' => [Bool](../types/Bool.md), 'password_missing' => [Bool](../types/Bool.md), 'bot_id' => [int](../types/int.md), 'invoice' => [Invoice](../types/Invoice.md), 'provider_id' => [int](../types/int.md), 'url' => [string](../types/string.md), 'native_provider' => [string](../types/string.md), 'native_params' => [DataJSON](../types/DataJSON.md), 'saved_info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), 'saved_credentials' => [PaymentSavedCredentials](../types/PaymentSavedCredentials.md), 'users' => \[[User](../types/User.md)\], \]; +

[$payments.paymentForm](../constructors/payments.paymentForm.md) = \['can_save_credentials' => [Bool](../types/Bool.md), 'password_missing' => [Bool](../types/Bool.md), 'bot_id' => [int](../types/int.md), 'invoice' => [Invoice](../types/Invoice.md), 'provider_id' => [int](../types/int.md), 'url' => [string](../types/string.md), 'native_provider' => [string](../types/string.md), 'native_params' => [DataJSON](../types/DataJSON.md), 'saved_info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), 'saved_credentials' => [PaymentSavedCredentials](../types/PaymentSavedCredentials.md), 'users' => \[[User](../types/User.md)\], \]; -[$payments\_paymentReceipt](../constructors/payments_paymentReceipt.md) = \['date' => [int](../types/int.md), 'bot_id' => [int](../types/int.md), 'invoice' => [Invoice](../types/Invoice.md), 'provider_id' => [int](../types/int.md), 'info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), 'shipping' => [ShippingOption](../types/ShippingOption.md), 'currency' => [string](../types/string.md), 'total_amount' => [long](../types/long.md), 'credentials_title' => [string](../types/string.md), 'users' => \[[User](../types/User.md)\], \]; +*** +

[$payments.paymentReceipt](../constructors/payments.paymentReceipt.md) = \['date' => [int](../types/int.md), 'bot_id' => [int](../types/int.md), 'invoice' => [Invoice](../types/Invoice.md), 'provider_id' => [int](../types/int.md), 'info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), 'shipping' => [ShippingOption](../types/ShippingOption.md), 'currency' => [string](../types/string.md), 'total_amount' => [long](../types/long.md), 'credentials_title' => [string](../types/string.md), 'users' => \[[User](../types/User.md)\], \]; -[$payments\_paymentResult](../constructors/payments_paymentResult.md) = \['updates' => [Updates](../types/Updates.md), \]; +*** +

[$payments.paymentResult](../constructors/payments.paymentResult.md) = \['updates' => [Updates](../types/Updates.md), \]; -[$payments\_paymentVerficationNeeded](../constructors/payments_paymentVerficationNeeded.md) = \['url' => [string](../types/string.md), \]; +*** +

[$payments.paymentVerficationNeeded](../constructors/payments.paymentVerficationNeeded.md) = \['url' => [string](../types/string.md), \]; -[$payments\_savedInfo](../constructors/payments_savedInfo.md) = \['has_saved_credentials' => [Bool](../types/Bool.md), 'saved_info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), \]; +*** +

[$payments.savedInfo](../constructors/payments.savedInfo.md) = \['has_saved_credentials' => [Bool](../types/Bool.md), 'saved_info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), \]; -[$payments\_validatedRequestedInfo](../constructors/payments_validatedRequestedInfo.md) = \['id' => [string](../types/string.md), 'shipping_options' => \[[ShippingOption](../types/ShippingOption.md)\], \]; +*** +

[$payments.validatedRequestedInfo](../constructors/payments.validatedRequestedInfo.md) = \['id' => [string](../types/string.md), 'shipping_options' => \[[ShippingOption](../types/ShippingOption.md)\], \]; ***

[$peerChannel](../constructors/peerChannel.md) = \['channel_id' => [int](../types/int.md), \]; @@ -1429,6 +1527,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ***

[$peerUser](../constructors/peerUser.md) = \['user_id' => [int](../types/int.md), \]; +*** +

[$phone.phoneCall](../constructors/phone.phoneCall.md) = \['phone_call' => [PhoneCall](../types/PhoneCall.md), 'users' => \[[User](../types/User.md)\], \]; + ***

[$phoneCall](../constructors/phoneCall.md) = \['p2p_allowed' => [Bool](../types/Bool.md), 'id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'date' => [int](../types/int.md), 'admin_id' => [int](../types/int.md), 'participant_id' => [int](../types/int.md), 'g_a_or_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), 'connections' => \[[PhoneConnection](../types/PhoneConnection.md)\], 'start_date' => [int](../types/int.md), \]; @@ -1465,9 +1566,6 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ***

[$phoneConnection](../constructors/phoneConnection.md) = \['id' => [long](../types/long.md), 'ip' => [string](../types/string.md), 'ipv6' => [string](../types/string.md), 'port' => [int](../types/int.md), 'peer_tag' => [bytes](../types/bytes.md), \]; -*** -

[$phone\_phoneCall](../constructors/phone_phoneCall.md) = \['phone_call' => [PhoneCall](../types/PhoneCall.md), 'users' => \[[User](../types/User.md)\], \]; - ***

[$photo](../constructors/photo.md) = \['has_stickers' => [Bool](../types/Bool.md), 'id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'file_reference' => [bytes](../types/bytes.md), 'date' => [int](../types/int.md), 'sizes' => \[[PhotoSize](../types/PhotoSize.md)\], 'dc_id' => [int](../types/int.md), \]; @@ -1487,11 +1585,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$photoStrippedSize](../constructors/photoStrippedSize.md) = \['type' => [string](../types/string.md), 'bytes' => [bytes](../types/bytes.md), \]; *** -

[$photos\_photo](../constructors/photos_photo.md) = \['photo' => [Photo](../types/Photo.md), 'users' => \[[User](../types/User.md)\], \]; +

[$photos.photo](../constructors/photos.photo.md) = \['photo' => [Photo](../types/Photo.md), 'users' => \[[User](../types/User.md)\], \]; -[$photos\_photos](../constructors/photos_photos.md) = \['photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$photos.photos](../constructors/photos.photos.md) = \['photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$photos\_photosSlice](../constructors/photos_photosSlice.md) = \['count' => [int](../types/int.md), 'photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$photos.photosSlice](../constructors/photos.photosSlice.md) = \['count' => [int](../types/int.md), 'photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; ***

[$poll](../constructors/poll.md) = \['id' => [long](../types/long.md), 'closed' => [Bool](../types/Bool.md), 'question' => [string](../types/string.md), 'answers' => \[[PollAnswer](../types/PollAnswer.md)\], \]; @@ -1755,25 +1855,34 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$stickerSetMultiCovered](../constructors/stickerSetMultiCovered.md) = \['set' => [StickerSet](../types/StickerSet.md), 'covers' => \[[Document](../types/Document.md)\], \]; *** -

[$storage\_fileGif](../constructors/storage_fileGif.md) = \[\]; +

[$storage.fileGif](../constructors/storage.fileGif.md) = \[\]; -[$storage\_fileJpeg](../constructors/storage_fileJpeg.md) = \[\]; +*** +

[$storage.fileJpeg](../constructors/storage.fileJpeg.md) = \[\]; -[$storage\_fileMov](../constructors/storage_fileMov.md) = \[\]; +*** +

[$storage.fileMov](../constructors/storage.fileMov.md) = \[\]; -[$storage\_fileMp3](../constructors/storage_fileMp3.md) = \[\]; +*** +

[$storage.fileMp3](../constructors/storage.fileMp3.md) = \[\]; -[$storage\_fileMp4](../constructors/storage_fileMp4.md) = \[\]; +*** +

[$storage.fileMp4](../constructors/storage.fileMp4.md) = \[\]; -[$storage\_filePartial](../constructors/storage_filePartial.md) = \[\]; +*** +

[$storage.filePartial](../constructors/storage.filePartial.md) = \[\]; -[$storage\_filePdf](../constructors/storage_filePdf.md) = \[\]; +*** +

[$storage.filePdf](../constructors/storage.filePdf.md) = \[\]; -[$storage\_filePng](../constructors/storage_filePng.md) = \[\]; +*** +

[$storage.filePng](../constructors/storage.filePng.md) = \[\]; -[$storage\_fileUnknown](../constructors/storage_fileUnknown.md) = \[\]; +*** +

[$storage.fileUnknown](../constructors/storage.fileUnknown.md) = \[\]; -[$storage\_fileWebp](../constructors/storage_fileWebp.md) = \[\]; +*** +

[$storage.fileWebp](../constructors/storage.fileWebp.md) = \[\]; ***

[$textAnchor](../constructors/textAnchor.md) = \['text' => [RichText](../types/RichText.md), 'name' => [string](../types/string.md), \]; @@ -2081,6 +2190,30 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ***

[$updates](../constructors/updates.md) = \['updates' => \[[Update](../types/Update.md)\], 'users' => \[[User](../types/User.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'date' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; +*** +

[$updates.channelDifference](../constructors/updates.channelDifference.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), 'new_messages' => \[[Message](../types/Message.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +*** +

[$updates.channelDifferenceEmpty](../constructors/updates.channelDifferenceEmpty.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), \]; + +*** +

[$updates.channelDifferenceTooLong](../constructors/updates.channelDifferenceTooLong.md) = \['final' => [Bool](../types/Bool.md), 'timeout' => [int](../types/int.md), 'dialog' => [Dialog](../types/Dialog.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +*** +

[$updates.difference](../constructors/updates.difference.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'state' => [updates.State](../types/updates.State.md), \]; + +*** +

[$updates.differenceEmpty](../constructors/updates.differenceEmpty.md) = \['date' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; + +*** +

[$updates.differenceSlice](../constructors/updates.differenceSlice.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'intermediate_state' => [updates.State](../types/updates.State.md), \]; + +*** +

[$updates.differenceTooLong](../constructors/updates.differenceTooLong.md) = \['pts' => [int](../types/int.md), \]; + +*** +

[$updates.state](../constructors/updates.state.md) = \['pts' => [int](../types/int.md), 'qts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'seq' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), \]; + ***

[$updatesCombined](../constructors/updatesCombined.md) = \['updates' => \[[Update](../types/Update.md)\], 'users' => \[[User](../types/User.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'date' => [int](../types/int.md), 'seq_start' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; @@ -2088,32 +2221,19 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$updatesTooLong](../constructors/updatesTooLong.md) = \[\]; *** -

[$updates\_channelDifference](../constructors/updates_channelDifference.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), 'new_messages' => \[[Message](../types/Message.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; - -[$updates\_channelDifferenceEmpty](../constructors/updates_channelDifferenceEmpty.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), \]; - -[$updates\_channelDifferenceTooLong](../constructors/updates_channelDifferenceTooLong.md) = \['final' => [Bool](../types/Bool.md), 'timeout' => [int](../types/int.md), 'dialog' => [Dialog](../types/Dialog.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; - -[$updates\_difference](../constructors/updates_difference.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'state' => [updates.State](../types/updates.State.md), \]; - -[$updates\_differenceEmpty](../constructors/updates_differenceEmpty.md) = \['date' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; - -[$updates\_differenceSlice](../constructors/updates_differenceSlice.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'intermediate_state' => [updates.State](../types/updates.State.md), \]; - -[$updates\_differenceTooLong](../constructors/updates_differenceTooLong.md) = \['pts' => [int](../types/int.md), \]; - -[$updates\_state](../constructors/updates_state.md) = \['pts' => [int](../types/int.md), 'qts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'seq' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), \]; +

[$upload.cdnFile](../constructors/upload.cdnFile.md) = \['bytes' => [bytes](../types/bytes.md), \]; *** -

[$upload\_cdnFile](../constructors/upload_cdnFile.md) = \['bytes' => [bytes](../types/bytes.md), \]; +

[$upload.cdnFileReuploadNeeded](../constructors/upload.cdnFileReuploadNeeded.md) = \['request_token' => [bytes](../types/bytes.md), \]; -[$upload\_cdnFileReuploadNeeded](../constructors/upload_cdnFileReuploadNeeded.md) = \['request_token' => [bytes](../types/bytes.md), \]; +*** +

[$upload.file](../constructors/upload.file.md) = \['type' => [storage.FileType](../types/storage.FileType.md), 'mtime' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; -[$upload\_file](../constructors/upload_file.md) = \['type' => [storage.FileType](../types/storage.FileType.md), 'mtime' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; +*** +

[$upload.fileCdnRedirect](../constructors/upload.fileCdnRedirect.md) = \['dc_id' => [int](../types/int.md), 'file_token' => [bytes](../types/bytes.md), 'encryption_key' => [bytes](../types/bytes.md), 'encryption_iv' => [bytes](../types/bytes.md), 'file_hashes' => \[[FileHash](../types/FileHash.md)\], \]; -[$upload\_fileCdnRedirect](../constructors/upload_fileCdnRedirect.md) = \['dc_id' => [int](../types/int.md), 'file_token' => [bytes](../types/bytes.md), 'encryption_key' => [bytes](../types/bytes.md), 'encryption_iv' => [bytes](../types/bytes.md), 'file_hashes' => \[[FileHash](../types/FileHash.md)\], \]; - -[$upload\_webFile](../constructors/upload_webFile.md) = \['size' => [int](../types/int.md), 'mime_type' => [string](../types/string.md), 'file_type' => [storage.FileType](../types/storage.FileType.md), 'mtime' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; +*** +

[$upload.webFile](../constructors/upload.webFile.md) = \['size' => [int](../types/int.md), 'mime_type' => [string](../types/string.md), 'file_type' => [storage.FileType](../types/storage.FileType.md), 'mtime' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; ***

[$urlAuthResultAccepted](../constructors/urlAuthResultAccepted.md) = \['url' => [string](../types/string.md), \]; diff --git a/old_docs/API_docs_v100/constructors/account.authorizationForm.md b/old_docs/API_docs_v100/constructors/account.authorizationForm.md new file mode 100644 index 00000000..175276bf --- /dev/null +++ b/old_docs/API_docs_v100/constructors/account.authorizationForm.md @@ -0,0 +1,42 @@ +--- +title: account.authorizationForm +description: [Telegram Passport](https://core.telegram.org/passport) authorization form +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.authorizationForm +[Back to constructors index](index.md) + + + +[Telegram Passport](https://core.telegram.org/passport) authorization form + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|required\_types|Array of [SecureRequiredType](../types/SecureRequiredType.md) | Yes|Required types| +|values|Array of [SecureValue](../types/SecureValue.md) | Yes|Values| +|errors|Array of [SecureValueError](../types/SecureValueError.md) | Yes|Errors| +|users|Array of [User](../types/User.md) | Yes|Users| +|privacy\_policy\_url|[string](../types/string.md) | Optional|URL of the service's privacy policy| + + + +### Type: [account.AuthorizationForm](../types/account.AuthorizationForm.md) + + +### Example: + +```php +$account.authorizationForm = ['_' => 'account.authorizationForm', 'required_types' => [SecureRequiredType, SecureRequiredType], 'values' => [SecureValue, SecureValue], 'errors' => [SecureValueError, SecureValueError], 'users' => [User, User], 'privacy_policy_url' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +account.authorizationForm={_='account.authorizationForm', required_types={SecureRequiredType}, values={SecureValue}, errors={SecureValueError}, users={User}, privacy_policy_url='string'} + +``` + + diff --git a/old_docs/API_docs_v100/constructors/account.authorizations.md b/old_docs/API_docs_v100/constructors/account.authorizations.md new file mode 100644 index 00000000..53c961f0 --- /dev/null +++ b/old_docs/API_docs_v100/constructors/account.authorizations.md @@ -0,0 +1,38 @@ +--- +title: account.authorizations +description: Logged-in sessions +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.authorizations +[Back to constructors index](index.md) + + + +Logged-in sessions + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|authorizations|Array of [Authorization](../types/Authorization.md) | Yes|Authorizations| + + + +### Type: [account.Authorizations](../types/account.Authorizations.md) + + +### Example: + +```php +$account.authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization, Authorization]]; +``` + + +Or, if you're into Lua: + +```lua +account.authorizations={_='account.authorizations', authorizations={Authorization}} + +``` + + diff --git a/old_docs/API_docs_v100/constructors/account.autoDownloadSettings.md b/old_docs/API_docs_v100/constructors/account.autoDownloadSettings.md new file mode 100644 index 00000000..fa06f6a6 --- /dev/null +++ b/old_docs/API_docs_v100/constructors/account.autoDownloadSettings.md @@ -0,0 +1,40 @@ +--- +title: account.autoDownloadSettings +description: Media autodownload settings +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.autoDownloadSettings +[Back to constructors index](index.md) + + + +Media autodownload settings + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|low|[AutoDownloadSettings](../types/AutoDownloadSettings.md) | Yes|Low data usage preset| +|medium|[AutoDownloadSettings](../types/AutoDownloadSettings.md) | Yes|Medium data usage preset| +|high|[AutoDownloadSettings](../types/AutoDownloadSettings.md) | Yes|High data usage preset| + + + +### Type: [account.AutoDownloadSettings](../types/account.AutoDownloadSettings.md) + + +### Example: + +```php +$account.autoDownloadSettings = ['_' => 'account.autoDownloadSettings', 'low' => AutoDownloadSettings, 'medium' => AutoDownloadSettings, 'high' => AutoDownloadSettings]; +``` + + +Or, if you're into Lua: + +```lua +account.autoDownloadSettings={_='account.autoDownloadSettings', low=AutoDownloadSettings, medium=AutoDownloadSettings, high=AutoDownloadSettings} + +``` + + diff --git a/old_docs/API_docs_v100/constructors/account.password.md b/old_docs/API_docs_v100/constructors/account.password.md new file mode 100644 index 00000000..b6ad79db --- /dev/null +++ b/old_docs/API_docs_v100/constructors/account.password.md @@ -0,0 +1,48 @@ +--- +title: account.password +description: Configuration for two-factor authorization +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.password +[Back to constructors index](index.md) + + + +Configuration for two-factor authorization + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|has\_recovery|[Bool](../types/Bool.md) | Optional|Whether the user has a recovery method configured| +|has\_secure\_values|[Bool](../types/Bool.md) | Optional|Whether telegram [passport](https://core.telegram.org/passport) is enabled| +|has\_password|[Bool](../types/Bool.md) | Optional|Whether the user has a password| +|current\_algo|[PasswordKdfAlgo](../types/PasswordKdfAlgo.md) | Optional|The [KDF algorithm for SRP two-factor authentication](https://core.telegram.org/api/srp) of the current password| +|srp\_B|[bytes](../types/bytes.md) | Optional|Srp B param for [SRP authorization](https://core.telegram.org/api/srp)| +|srp\_id|[long](../types/long.md) | Optional|Srp ID param for [SRP authorization](https://core.telegram.org/api/srp)| +|hint|[string](../types/string.md) | Optional|Text hint for the password| +|email\_unconfirmed\_pattern|[string](../types/string.md) | Optional|A [password recovery email](https://core.telegram.org/api/srp#email-verification) with the specified [pattern](https://core.telegram.org/api/pattern) is still awaiting verification| +|new\_algo|[PasswordKdfAlgo](../types/PasswordKdfAlgo.md) | Yes|The [KDF algorithm for SRP two-factor authentication](https://core.telegram.org/api/srp) to use when creating new passwords| +|new\_secure\_algo|[SecurePasswordKdfAlgo](../types/SecurePasswordKdfAlgo.md) | Yes|The KDF algorithm for telegram [passport](https://core.telegram.org/passport)| +|secure\_random|[bytes](../types/bytes.md) | Yes|Secure random string| + + + +### Type: [account.Password](../types/account.Password.md) + + +### Example: + +```php +$account.password = ['_' => 'account.password', 'has_recovery' => Bool, 'has_secure_values' => Bool, 'has_password' => Bool, 'current_algo' => PasswordKdfAlgo, 'srp_B' => 'bytes', 'srp_id' => long, 'hint' => 'string', 'email_unconfirmed_pattern' => 'string', 'new_algo' => PasswordKdfAlgo, 'new_secure_algo' => SecurePasswordKdfAlgo, 'secure_random' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +account.password={_='account.password', has_recovery=Bool, has_secure_values=Bool, has_password=Bool, current_algo=PasswordKdfAlgo, srp_B='bytes', srp_id=long, hint='string', email_unconfirmed_pattern='string', new_algo=PasswordKdfAlgo, new_secure_algo=SecurePasswordKdfAlgo, secure_random='bytes'} + +``` + + diff --git a/old_docs/API_docs_v100/constructors/account.passwordInputSettings.md b/old_docs/API_docs_v100/constructors/account.passwordInputSettings.md new file mode 100644 index 00000000..f55837c8 --- /dev/null +++ b/old_docs/API_docs_v100/constructors/account.passwordInputSettings.md @@ -0,0 +1,42 @@ +--- +title: account.passwordInputSettings +description: Settings for setting up a new password +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.passwordInputSettings +[Back to constructors index](index.md) + + + +Settings for setting up a new password + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|new\_algo|[PasswordKdfAlgo](../types/PasswordKdfAlgo.md) | Optional|The [SRP algorithm](https://core.telegram.org/api/srp) to use| +|new\_password\_hash|[bytes](../types/bytes.md) | Optional|The [computed password hash](https://core.telegram.org/api/srp)| +|hint|[string](../types/string.md) | Optional|Text hint for the password| +|email|[string](../types/string.md) | Optional|Password recovery email| +|new\_secure\_settings|[SecureSecretSettings](../types/SecureSecretSettings.md) | Optional|Telegram [passport](https://core.telegram.org/passport) settings| + + + +### Type: [account.PasswordInputSettings](../types/account.PasswordInputSettings.md) + + +### Example: + +```php +$account.passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_algo' => PasswordKdfAlgo, 'new_password_hash' => 'bytes', 'hint' => 'string', 'email' => 'string', 'new_secure_settings' => SecureSecretSettings]; +``` + + +Or, if you're into Lua: + +```lua +account.passwordInputSettings={_='account.passwordInputSettings', new_algo=PasswordKdfAlgo, new_password_hash='bytes', hint='string', email='string', new_secure_settings=SecureSecretSettings} + +``` + + diff --git a/old_docs/API_docs_v100/constructors/account.passwordSettings.md b/old_docs/API_docs_v100/constructors/account.passwordSettings.md new file mode 100644 index 00000000..ab81079e --- /dev/null +++ b/old_docs/API_docs_v100/constructors/account.passwordSettings.md @@ -0,0 +1,39 @@ +--- +title: account.passwordSettings +description: Private info associated to the password info (recovery email, telegram [passport](https://core.telegram.org/passport) info & so on) +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.passwordSettings +[Back to constructors index](index.md) + + + +Private info associated to the password info (recovery email, telegram [passport](https://core.telegram.org/passport) info & so on) + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|email|[string](../types/string.md) | Optional|[2FA Recovery email](https://core.telegram.org/api/srp#email-verification)| +|secure\_settings|[SecureSecretSettings](../types/SecureSecretSettings.md) | Optional|Telegram [passport](https://core.telegram.org/passport) settings| + + + +### Type: [account.PasswordSettings](../types/account.PasswordSettings.md) + + +### Example: + +```php +$account.passwordSettings = ['_' => 'account.passwordSettings', 'email' => 'string', 'secure_settings' => SecureSecretSettings]; +``` + + +Or, if you're into Lua: + +```lua +account.passwordSettings={_='account.passwordSettings', email='string', secure_settings=SecureSecretSettings} + +``` + + diff --git a/old_docs/API_docs_v100/constructors/account.privacyRules.md b/old_docs/API_docs_v100/constructors/account.privacyRules.md new file mode 100644 index 00000000..6f83247a --- /dev/null +++ b/old_docs/API_docs_v100/constructors/account.privacyRules.md @@ -0,0 +1,40 @@ +--- +title: account.privacyRules +description: Privacy rules +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.privacyRules +[Back to constructors index](index.md) + + + +Privacy rules + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|rules|Array of [PrivacyRule](../types/PrivacyRule.md) | Yes|Rules| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats allowed?| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [account.PrivacyRules](../types/account.PrivacyRules.md) + + +### Example: + +```php +$account.privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule, PrivacyRule], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +account.privacyRules={_='account.privacyRules', rules={PrivacyRule}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v100/constructors/account.sentEmailCode.md b/old_docs/API_docs_v100/constructors/account.sentEmailCode.md new file mode 100644 index 00000000..c4c30275 --- /dev/null +++ b/old_docs/API_docs_v100/constructors/account.sentEmailCode.md @@ -0,0 +1,39 @@ +--- +title: account.sentEmailCode +description: The sent email code +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.sentEmailCode +[Back to constructors index](index.md) + + + +The sent email code + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|email\_pattern|[string](../types/string.md) | Yes|The email (to which the code was sent) must match this [pattern](https://core.telegram.org/api/pattern)| +|length|[int](../types/int.md) | Yes|The length of the verification code| + + + +### Type: [account.SentEmailCode](../types/account.SentEmailCode.md) + + +### Example: + +```php +$account.sentEmailCode = ['_' => 'account.sentEmailCode', 'email_pattern' => 'string', 'length' => int]; +``` + + +Or, if you're into Lua: + +```lua +account.sentEmailCode={_='account.sentEmailCode', email_pattern='string', length=int} + +``` + + diff --git a/old_docs/API_docs_v100/constructors/account.takeout.md b/old_docs/API_docs_v100/constructors/account.takeout.md new file mode 100644 index 00000000..1aca6c70 --- /dev/null +++ b/old_docs/API_docs_v100/constructors/account.takeout.md @@ -0,0 +1,38 @@ +--- +title: account.takeout +description: Takout info +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.takeout +[Back to constructors index](index.md) + + + +Takout info + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|id|[long](../types/long.md) | Yes|Takeout ID| + + + +### Type: [account.Takeout](../types/account.Takeout.md) + + +### Example: + +```php +$account.takeout = ['_' => 'account.takeout', 'id' => long]; +``` + + +Or, if you're into Lua: + +```lua +account.takeout={_='account.takeout', id=long} + +``` + + diff --git a/old_docs/API_docs_v100/constructors/account.tmpPassword.md b/old_docs/API_docs_v100/constructors/account.tmpPassword.md new file mode 100644 index 00000000..996548c4 --- /dev/null +++ b/old_docs/API_docs_v100/constructors/account.tmpPassword.md @@ -0,0 +1,39 @@ +--- +title: account.tmpPassword +description: Temporary payment password +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.tmpPassword +[Back to constructors index](index.md) + + + +Temporary payment password + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|tmp\_password|[bytes](../types/bytes.md) | Yes|Temporary password| +|valid\_until|[int](../types/int.md) | Yes|Validity period| + + + +### Type: [account.TmpPassword](../types/account.TmpPassword.md) + + +### Example: + +```php +$account.tmpPassword = ['_' => 'account.tmpPassword', 'tmp_password' => 'bytes', 'valid_until' => int]; +``` + + +Or, if you're into Lua: + +```lua +account.tmpPassword={_='account.tmpPassword', tmp_password='bytes', valid_until=int} + +``` + + diff --git a/old_docs/API_docs_v100/constructors/account.wallPapers.md b/old_docs/API_docs_v100/constructors/account.wallPapers.md new file mode 100644 index 00000000..c73f9dd3 --- /dev/null +++ b/old_docs/API_docs_v100/constructors/account.wallPapers.md @@ -0,0 +1,39 @@ +--- +title: account.wallPapers +description: Installed wallpapers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.wallPapers +[Back to constructors index](index.md) + + + +Installed wallpapers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|wallpapers|Array of [WallPaper](../types/WallPaper.md) | Yes|Wallpapers| + + + +### Type: [account.WallPapers](../types/account.WallPapers.md) + + +### Example: + +```php +$account.wallPapers = ['_' => 'account.wallPapers', 'hash' => int, 'wallpapers' => [WallPaper, WallPaper]]; +``` + + +Or, if you're into Lua: + +```lua +account.wallPapers={_='account.wallPapers', hash=int, wallpapers={WallPaper}} + +``` + + diff --git a/old_docs/API_docs_v100/constructors/account.wallPapersNotModified.md b/old_docs/API_docs_v100/constructors/account.wallPapersNotModified.md new file mode 100644 index 00000000..209233d7 --- /dev/null +++ b/old_docs/API_docs_v100/constructors/account.wallPapersNotModified.md @@ -0,0 +1,33 @@ +--- +title: account.wallPapersNotModified +description: No new wallpapers were found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.wallPapersNotModified +[Back to constructors index](index.md) + + + +No new wallpapers were found + + + + +### Type: [account.WallPapers](../types/account.WallPapers.md) + + +### Example: + +```php +$account.wallPapersNotModified = ['_' => 'account.wallPapersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +account.wallPapersNotModified={_='account.wallPapersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v100/constructors/account.webAuthorizations.md b/old_docs/API_docs_v100/constructors/account.webAuthorizations.md new file mode 100644 index 00000000..bb5d0211 --- /dev/null +++ b/old_docs/API_docs_v100/constructors/account.webAuthorizations.md @@ -0,0 +1,39 @@ +--- +title: account.webAuthorizations +description: Web authorizations +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.webAuthorizations +[Back to constructors index](index.md) + + + +Web authorizations + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|authorizations|Array of [WebAuthorization](../types/WebAuthorization.md) | Yes|Authorizations| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [account.WebAuthorizations](../types/account.WebAuthorizations.md) + + +### Example: + +```php +$account.webAuthorizations = ['_' => 'account.webAuthorizations', 'authorizations' => [WebAuthorization, WebAuthorization], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +account.webAuthorizations={_='account.webAuthorizations', authorizations={WebAuthorization}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v100/constructors/account_authorizationForm.md b/old_docs/API_docs_v100/constructors/account_authorizationForm.md deleted file mode 100644 index aaeff19b..00000000 --- a/old_docs/API_docs_v100/constructors/account_authorizationForm.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: account.authorizationForm -description: [Telegram Passport](https://core.telegram.org/passport) authorization form -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.authorizationForm -[Back to constructors index](index.md) - - - -[Telegram Passport](https://core.telegram.org/passport) authorization form - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|required\_types|Array of [SecureRequiredType](../types/SecureRequiredType.md) | Yes|Required types| -|values|Array of [SecureValue](../types/SecureValue.md) | Yes|Values| -|errors|Array of [SecureValueError](../types/SecureValueError.md) | Yes|Errors| -|users|Array of [User](../types/User.md) | Yes|Users| -|privacy\_policy\_url|[string](../types/string.md) | Optional|URL of the service's privacy policy| - - - -### Type: [account\_AuthorizationForm](../types/account_AuthorizationForm.md) - - -### Example: - -```php -$account_authorizationForm = ['_' => 'account.authorizationForm', 'required_types' => [SecureRequiredType, SecureRequiredType], 'values' => [SecureValue, SecureValue], 'errors' => [SecureValueError, SecureValueError], 'users' => [User, User], 'privacy_policy_url' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -account_authorizationForm={_='account.authorizationForm', required_types={SecureRequiredType}, values={SecureValue}, errors={SecureValueError}, users={User}, privacy_policy_url='string'} - -``` - - diff --git a/old_docs/API_docs_v100/constructors/account_authorizations.md b/old_docs/API_docs_v100/constructors/account_authorizations.md deleted file mode 100644 index aeae48f3..00000000 --- a/old_docs/API_docs_v100/constructors/account_authorizations.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: account.authorizations -description: Logged-in sessions -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.authorizations -[Back to constructors index](index.md) - - - -Logged-in sessions - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|authorizations|Array of [Authorization](../types/Authorization.md) | Yes|Authorizations| - - - -### Type: [account\_Authorizations](../types/account_Authorizations.md) - - -### Example: - -```php -$account_authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization, Authorization]]; -``` - - -Or, if you're into Lua: - -```lua -account_authorizations={_='account.authorizations', authorizations={Authorization}} - -``` - - diff --git a/old_docs/API_docs_v100/constructors/account_autoDownloadSettings.md b/old_docs/API_docs_v100/constructors/account_autoDownloadSettings.md deleted file mode 100644 index f490d303..00000000 --- a/old_docs/API_docs_v100/constructors/account_autoDownloadSettings.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: account.autoDownloadSettings -description: Media autodownload settings -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.autoDownloadSettings -[Back to constructors index](index.md) - - - -Media autodownload settings - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|low|[AutoDownloadSettings](../types/AutoDownloadSettings.md) | Yes|Low data usage preset| -|medium|[AutoDownloadSettings](../types/AutoDownloadSettings.md) | Yes|Medium data usage preset| -|high|[AutoDownloadSettings](../types/AutoDownloadSettings.md) | Yes|High data usage preset| - - - -### Type: [account\_AutoDownloadSettings](../types/account_AutoDownloadSettings.md) - - -### Example: - -```php -$account_autoDownloadSettings = ['_' => 'account.autoDownloadSettings', 'low' => AutoDownloadSettings, 'medium' => AutoDownloadSettings, 'high' => AutoDownloadSettings]; -``` - - -Or, if you're into Lua: - -```lua -account_autoDownloadSettings={_='account.autoDownloadSettings', low=AutoDownloadSettings, medium=AutoDownloadSettings, high=AutoDownloadSettings} - -``` - - diff --git a/old_docs/API_docs_v100/constructors/account_password.md b/old_docs/API_docs_v100/constructors/account_password.md deleted file mode 100644 index 0f2eaafb..00000000 --- a/old_docs/API_docs_v100/constructors/account_password.md +++ /dev/null @@ -1,48 +0,0 @@ ---- -title: account.password -description: Configuration for two-factor authorization -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.password -[Back to constructors index](index.md) - - - -Configuration for two-factor authorization - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|has\_recovery|[Bool](../types/Bool.md) | Optional|Whether the user has a recovery method configured| -|has\_secure\_values|[Bool](../types/Bool.md) | Optional|Whether telegram [passport](https://core.telegram.org/passport) is enabled| -|has\_password|[Bool](../types/Bool.md) | Optional|Whether the user has a password| -|current\_algo|[PasswordKdfAlgo](../types/PasswordKdfAlgo.md) | Optional|The [KDF algorithm for SRP two-factor authentication](https://core.telegram.org/api/srp) of the current password| -|srp\_B|[bytes](../types/bytes.md) | Optional|Srp B param for [SRP authorization](https://core.telegram.org/api/srp)| -|srp\_id|[long](../types/long.md) | Optional|Srp ID param for [SRP authorization](https://core.telegram.org/api/srp)| -|hint|[string](../types/string.md) | Optional|Text hint for the password| -|email\_unconfirmed\_pattern|[string](../types/string.md) | Optional|A [password recovery email](https://core.telegram.org/api/srp#email-verification) with the specified [pattern](https://core.telegram.org/api/pattern) is still awaiting verification| -|new\_algo|[PasswordKdfAlgo](../types/PasswordKdfAlgo.md) | Yes|The [KDF algorithm for SRP two-factor authentication](https://core.telegram.org/api/srp) to use when creating new passwords| -|new\_secure\_algo|[SecurePasswordKdfAlgo](../types/SecurePasswordKdfAlgo.md) | Yes|The KDF algorithm for telegram [passport](https://core.telegram.org/passport)| -|secure\_random|[bytes](../types/bytes.md) | Yes|Secure random string| - - - -### Type: [account\_Password](../types/account_Password.md) - - -### Example: - -```php -$account_password = ['_' => 'account.password', 'has_recovery' => Bool, 'has_secure_values' => Bool, 'has_password' => Bool, 'current_algo' => PasswordKdfAlgo, 'srp_B' => 'bytes', 'srp_id' => long, 'hint' => 'string', 'email_unconfirmed_pattern' => 'string', 'new_algo' => PasswordKdfAlgo, 'new_secure_algo' => SecurePasswordKdfAlgo, 'secure_random' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -account_password={_='account.password', has_recovery=Bool, has_secure_values=Bool, has_password=Bool, current_algo=PasswordKdfAlgo, srp_B='bytes', srp_id=long, hint='string', email_unconfirmed_pattern='string', new_algo=PasswordKdfAlgo, new_secure_algo=SecurePasswordKdfAlgo, secure_random='bytes'} - -``` - - diff --git a/old_docs/API_docs_v100/constructors/account_passwordInputSettings.md b/old_docs/API_docs_v100/constructors/account_passwordInputSettings.md deleted file mode 100644 index a4800a7c..00000000 --- a/old_docs/API_docs_v100/constructors/account_passwordInputSettings.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: account.passwordInputSettings -description: Settings for setting up a new password -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.passwordInputSettings -[Back to constructors index](index.md) - - - -Settings for setting up a new password - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|new\_algo|[PasswordKdfAlgo](../types/PasswordKdfAlgo.md) | Optional|The [SRP algorithm](https://core.telegram.org/api/srp) to use| -|new\_password\_hash|[bytes](../types/bytes.md) | Optional|The [computed password hash](https://core.telegram.org/api/srp)| -|hint|[string](../types/string.md) | Optional|Text hint for the password| -|email|[string](../types/string.md) | Optional|Password recovery email| -|new\_secure\_settings|[SecureSecretSettings](../types/SecureSecretSettings.md) | Optional|Telegram [passport](https://core.telegram.org/passport) settings| - - - -### Type: [account\_PasswordInputSettings](../types/account_PasswordInputSettings.md) - - -### Example: - -```php -$account_passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_algo' => PasswordKdfAlgo, 'new_password_hash' => 'bytes', 'hint' => 'string', 'email' => 'string', 'new_secure_settings' => SecureSecretSettings]; -``` - - -Or, if you're into Lua: - -```lua -account_passwordInputSettings={_='account.passwordInputSettings', new_algo=PasswordKdfAlgo, new_password_hash='bytes', hint='string', email='string', new_secure_settings=SecureSecretSettings} - -``` - - diff --git a/old_docs/API_docs_v100/constructors/account_passwordSettings.md b/old_docs/API_docs_v100/constructors/account_passwordSettings.md deleted file mode 100644 index 16eaf433..00000000 --- a/old_docs/API_docs_v100/constructors/account_passwordSettings.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: account.passwordSettings -description: Private info associated to the password info (recovery email, telegram [passport](https://core.telegram.org/passport) info & so on) -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.passwordSettings -[Back to constructors index](index.md) - - - -Private info associated to the password info (recovery email, telegram [passport](https://core.telegram.org/passport) info & so on) - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|email|[string](../types/string.md) | Optional|[2FA Recovery email](https://core.telegram.org/api/srp#email-verification)| -|secure\_settings|[SecureSecretSettings](../types/SecureSecretSettings.md) | Optional|Telegram [passport](https://core.telegram.org/passport) settings| - - - -### Type: [account\_PasswordSettings](../types/account_PasswordSettings.md) - - -### Example: - -```php -$account_passwordSettings = ['_' => 'account.passwordSettings', 'email' => 'string', 'secure_settings' => SecureSecretSettings]; -``` - - -Or, if you're into Lua: - -```lua -account_passwordSettings={_='account.passwordSettings', email='string', secure_settings=SecureSecretSettings} - -``` - - diff --git a/old_docs/API_docs_v100/constructors/account_privacyRules.md b/old_docs/API_docs_v100/constructors/account_privacyRules.md deleted file mode 100644 index 5fd928b9..00000000 --- a/old_docs/API_docs_v100/constructors/account_privacyRules.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: account.privacyRules -description: Privacy rules -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.privacyRules -[Back to constructors index](index.md) - - - -Privacy rules - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|rules|Array of [PrivacyRule](../types/PrivacyRule.md) | Yes|Rules| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats allowed?| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [account\_PrivacyRules](../types/account_PrivacyRules.md) - - -### Example: - -```php -$account_privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule, PrivacyRule], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -account_privacyRules={_='account.privacyRules', rules={PrivacyRule}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v100/constructors/account_sentEmailCode.md b/old_docs/API_docs_v100/constructors/account_sentEmailCode.md deleted file mode 100644 index 684fb4b5..00000000 --- a/old_docs/API_docs_v100/constructors/account_sentEmailCode.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: account.sentEmailCode -description: The sent email code -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.sentEmailCode -[Back to constructors index](index.md) - - - -The sent email code - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|email\_pattern|[string](../types/string.md) | Yes|The email (to which the code was sent) must match this [pattern](https://core.telegram.org/api/pattern)| -|length|[int](../types/int.md) | Yes|The length of the verification code| - - - -### Type: [account\_SentEmailCode](../types/account_SentEmailCode.md) - - -### Example: - -```php -$account_sentEmailCode = ['_' => 'account.sentEmailCode', 'email_pattern' => 'string', 'length' => int]; -``` - - -Or, if you're into Lua: - -```lua -account_sentEmailCode={_='account.sentEmailCode', email_pattern='string', length=int} - -``` - - diff --git a/old_docs/API_docs_v100/constructors/account_takeout.md b/old_docs/API_docs_v100/constructors/account_takeout.md deleted file mode 100644 index 09af93ca..00000000 --- a/old_docs/API_docs_v100/constructors/account_takeout.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: account.takeout -description: Takout info -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.takeout -[Back to constructors index](index.md) - - - -Takout info - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|id|[long](../types/long.md) | Yes|Takeout ID| - - - -### Type: [account\_Takeout](../types/account_Takeout.md) - - -### Example: - -```php -$account_takeout = ['_' => 'account.takeout', 'id' => long]; -``` - - -Or, if you're into Lua: - -```lua -account_takeout={_='account.takeout', id=long} - -``` - - diff --git a/old_docs/API_docs_v100/constructors/account_tmpPassword.md b/old_docs/API_docs_v100/constructors/account_tmpPassword.md deleted file mode 100644 index 68832780..00000000 --- a/old_docs/API_docs_v100/constructors/account_tmpPassword.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: account.tmpPassword -description: Temporary payment password -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.tmpPassword -[Back to constructors index](index.md) - - - -Temporary payment password - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|tmp\_password|[bytes](../types/bytes.md) | Yes|Temporary password| -|valid\_until|[int](../types/int.md) | Yes|Validity period| - - - -### Type: [account\_TmpPassword](../types/account_TmpPassword.md) - - -### Example: - -```php -$account_tmpPassword = ['_' => 'account.tmpPassword', 'tmp_password' => 'bytes', 'valid_until' => int]; -``` - - -Or, if you're into Lua: - -```lua -account_tmpPassword={_='account.tmpPassword', tmp_password='bytes', valid_until=int} - -``` - - diff --git a/old_docs/API_docs_v100/constructors/account_wallPapers.md b/old_docs/API_docs_v100/constructors/account_wallPapers.md deleted file mode 100644 index 6239c29c..00000000 --- a/old_docs/API_docs_v100/constructors/account_wallPapers.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: account.wallPapers -description: Installed wallpapers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.wallPapers -[Back to constructors index](index.md) - - - -Installed wallpapers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|wallpapers|Array of [WallPaper](../types/WallPaper.md) | Yes|Wallpapers| - - - -### Type: [account\_WallPapers](../types/account_WallPapers.md) - - -### Example: - -```php -$account_wallPapers = ['_' => 'account.wallPapers', 'hash' => int, 'wallpapers' => [WallPaper, WallPaper]]; -``` - - -Or, if you're into Lua: - -```lua -account_wallPapers={_='account.wallPapers', hash=int, wallpapers={WallPaper}} - -``` - - diff --git a/old_docs/API_docs_v100/constructors/account_wallPapersNotModified.md b/old_docs/API_docs_v100/constructors/account_wallPapersNotModified.md deleted file mode 100644 index acb28796..00000000 --- a/old_docs/API_docs_v100/constructors/account_wallPapersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: account.wallPapersNotModified -description: No new wallpapers were found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.wallPapersNotModified -[Back to constructors index](index.md) - - - -No new wallpapers were found - - - - -### Type: [account\_WallPapers](../types/account_WallPapers.md) - - -### Example: - -```php -$account_wallPapersNotModified = ['_' => 'account.wallPapersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -account_wallPapersNotModified={_='account.wallPapersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v100/constructors/account_webAuthorizations.md b/old_docs/API_docs_v100/constructors/account_webAuthorizations.md deleted file mode 100644 index ae402006..00000000 --- a/old_docs/API_docs_v100/constructors/account_webAuthorizations.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: account.webAuthorizations -description: Web authorizations -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.webAuthorizations -[Back to constructors index](index.md) - - - -Web authorizations - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|authorizations|Array of [WebAuthorization](../types/WebAuthorization.md) | Yes|Authorizations| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [account\_WebAuthorizations](../types/account_WebAuthorizations.md) - - -### Example: - -```php -$account_webAuthorizations = ['_' => 'account.webAuthorizations', 'authorizations' => [WebAuthorization, WebAuthorization], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -account_webAuthorizations={_='account.webAuthorizations', authorizations={WebAuthorization}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v100/constructors/auth.authorization.md b/old_docs/API_docs_v100/constructors/auth.authorization.md new file mode 100644 index 00000000..2a84bb12 --- /dev/null +++ b/old_docs/API_docs_v100/constructors/auth.authorization.md @@ -0,0 +1,39 @@ +--- +title: auth.authorization +description: Contains user authorization info. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.authorization +[Back to constructors index](index.md) + + + +Contains user authorization info. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|tmp\_sessions|[int](../types/int.md) | Optional|Temporary [passport](https://core.telegram.org/passport) sessions| +|user|[User](../types/User.md) | Optional|Info on authorized user| + + + +### Type: [auth.Authorization](../types/auth.Authorization.md) + + +### Example: + +```php +$auth.authorization = ['_' => 'auth.authorization', 'tmp_sessions' => int, 'user' => User]; +``` + + +Or, if you're into Lua: + +```lua +auth.authorization={_='auth.authorization', tmp_sessions=int, user=User} + +``` + + diff --git a/old_docs/API_docs_v100/constructors/auth.checkedPhone.md b/old_docs/API_docs_v100/constructors/auth.checkedPhone.md new file mode 100644 index 00000000..23e84cf9 --- /dev/null +++ b/old_docs/API_docs_v100/constructors/auth.checkedPhone.md @@ -0,0 +1,38 @@ +--- +title: auth.checkedPhone +description: Checked phone +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.checkedPhone +[Back to constructors index](index.md) + + + +Checked phone + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_registered|[Bool](../types/Bool.md) | Yes|Phone registered?| + + + +### Type: [auth.CheckedPhone](../types/auth.CheckedPhone.md) + + +### Example: + +```php +$auth.checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool]; +``` + + +Or, if you're into Lua: + +```lua +auth.checkedPhone={_='auth.checkedPhone', phone_registered=Bool} + +``` + + diff --git a/old_docs/API_docs_v100/constructors/auth.codeTypeCall.md b/old_docs/API_docs_v100/constructors/auth.codeTypeCall.md new file mode 100644 index 00000000..4b4a1cdc --- /dev/null +++ b/old_docs/API_docs_v100/constructors/auth.codeTypeCall.md @@ -0,0 +1,33 @@ +--- +title: auth.codeTypeCall +description: Type of verification code that will be sent next if you call the resendCode method: SMS code +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.codeTypeCall +[Back to constructors index](index.md) + + + +Type of verification code that will be sent next if you call the resendCode method: SMS code + + + + +### Type: [auth.CodeType](../types/auth.CodeType.md) + + +### Example: + +```php +$auth.codeTypeCall = ['_' => 'auth.codeTypeCall']; +``` + + +Or, if you're into Lua: + +```lua +auth.codeTypeCall={_='auth.codeTypeCall'} + +``` + + diff --git a/old_docs/API_docs_v100/constructors/auth.codeTypeFlashCall.md b/old_docs/API_docs_v100/constructors/auth.codeTypeFlashCall.md new file mode 100644 index 00000000..ef97e034 --- /dev/null +++ b/old_docs/API_docs_v100/constructors/auth.codeTypeFlashCall.md @@ -0,0 +1,33 @@ +--- +title: auth.codeTypeFlashCall +description: Type of verification code that will be sent next if you call the resendCode method: SMS code +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.codeTypeFlashCall +[Back to constructors index](index.md) + + + +Type of verification code that will be sent next if you call the resendCode method: SMS code + + + + +### Type: [auth.CodeType](../types/auth.CodeType.md) + + +### Example: + +```php +$auth.codeTypeFlashCall = ['_' => 'auth.codeTypeFlashCall']; +``` + + +Or, if you're into Lua: + +```lua +auth.codeTypeFlashCall={_='auth.codeTypeFlashCall'} + +``` + + diff --git a/old_docs/API_docs_v100/constructors/auth.codeTypeSms.md b/old_docs/API_docs_v100/constructors/auth.codeTypeSms.md new file mode 100644 index 00000000..bab9a5a4 --- /dev/null +++ b/old_docs/API_docs_v100/constructors/auth.codeTypeSms.md @@ -0,0 +1,33 @@ +--- +title: auth.codeTypeSms +description: Type of verification code that will be sent next if you call the resendCode method: SMS code +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.codeTypeSms +[Back to constructors index](index.md) + + + +Type of verification code that will be sent next if you call the resendCode method: SMS code + + + + +### Type: [auth.CodeType](../types/auth.CodeType.md) + + +### Example: + +```php +$auth.codeTypeSms = ['_' => 'auth.codeTypeSms']; +``` + + +Or, if you're into Lua: + +```lua +auth.codeTypeSms={_='auth.codeTypeSms'} + +``` + + diff --git a/old_docs/API_docs_v100/constructors/auth.exportedAuthorization.md b/old_docs/API_docs_v100/constructors/auth.exportedAuthorization.md new file mode 100644 index 00000000..2a4a9896 --- /dev/null +++ b/old_docs/API_docs_v100/constructors/auth.exportedAuthorization.md @@ -0,0 +1,39 @@ +--- +title: auth.exportedAuthorization +description: Data for copying of authorization between data centres. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.exportedAuthorization +[Back to constructors index](index.md) + + + +Data for copying of authorization between data centres. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|id|[int](../types/int.md) | Yes|Current user identifier| +|bytes|[bytes](../types/bytes.md) | Yes|Authorizes key| + + + +### Type: [auth.ExportedAuthorization](../types/auth.ExportedAuthorization.md) + + +### Example: + +```php +$auth.exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +auth.exportedAuthorization={_='auth.exportedAuthorization', id=int, bytes='bytes'} + +``` + + diff --git a/old_docs/API_docs_v100/constructors/auth.passwordRecovery.md b/old_docs/API_docs_v100/constructors/auth.passwordRecovery.md new file mode 100644 index 00000000..61de922d --- /dev/null +++ b/old_docs/API_docs_v100/constructors/auth.passwordRecovery.md @@ -0,0 +1,38 @@ +--- +title: auth.passwordRecovery +description: Recovery info of a [2FA password](https://core.telegram.org/api/srp), only for accounts with a [recovery email configured](https://core.telegram.org/api/srp#email-verification). +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.passwordRecovery +[Back to constructors index](index.md) + + + +Recovery info of a [2FA password](https://core.telegram.org/api/srp), only for accounts with a [recovery email configured](https://core.telegram.org/api/srp#email-verification). + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|email\_pattern|[string](../types/string.md) | Yes|The email to which the recovery code was sent must match this [pattern](https://core.telegram.org/api/pattern).| + + + +### Type: [auth.PasswordRecovery](../types/auth.PasswordRecovery.md) + + +### Example: + +```php +$auth.passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +auth.passwordRecovery={_='auth.passwordRecovery', email_pattern='string'} + +``` + + diff --git a/old_docs/API_docs_v100/constructors/auth.sentCode.md b/old_docs/API_docs_v100/constructors/auth.sentCode.md new file mode 100644 index 00000000..bfdaea05 --- /dev/null +++ b/old_docs/API_docs_v100/constructors/auth.sentCode.md @@ -0,0 +1,43 @@ +--- +title: auth.sentCode +description: Contains info about a sent verification code. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentCode +[Back to constructors index](index.md) + + + +Contains info about a sent verification code. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_registered|[Bool](../types/Bool.md) | Optional|Phone registered?| +|type|[auth.SentCodeType](../constructors/auth.SentCodeType.md) | Yes|Phone code type| +|phone\_code\_hash|[string](../types/string.md) | Yes|Phone code hash, to be stored and later re-used with [auth.signIn](../methods/auth.signIn.md)| +|next\_type|[auth.CodeType](../constructors/auth.CodeType.md) | Optional|Phone code type that will be sent next, if the phone code is not received within `timeout` seconds: to send it use [auth.resendCode](../methods/auth.resendCode.md)| +|timeout|[int](../types/int.md) | Optional|Timeout for reception of the phone code| +|terms\_of\_service|[help.TermsOfService](../constructors/help.TermsOfService.md) | Optional|Terms of service| + + + +### Type: [auth.SentCode](../types/auth.SentCode.md) + + +### Example: + +```php +$auth.sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'type' => auth.SentCodeType, 'phone_code_hash' => 'string', 'next_type' => auth.CodeType, 'timeout' => int, 'terms_of_service' => help.TermsOfService]; +``` + + +Or, if you're into Lua: + +```lua +auth.sentCode={_='auth.sentCode', phone_registered=Bool, type=auth.SentCodeType, phone_code_hash='string', next_type=auth.CodeType, timeout=int, terms_of_service=help.TermsOfService} + +``` + + diff --git a/old_docs/API_docs_v100/constructors/auth.sentCodeTypeApp.md b/old_docs/API_docs_v100/constructors/auth.sentCodeTypeApp.md new file mode 100644 index 00000000..5f2d4aa3 --- /dev/null +++ b/old_docs/API_docs_v100/constructors/auth.sentCodeTypeApp.md @@ -0,0 +1,38 @@ +--- +title: auth.sentCodeTypeApp +description: The code was sent through the telegram app +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentCodeTypeApp +[Back to constructors index](index.md) + + + +The code was sent through the telegram app + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|length|[int](../types/int.md) | Yes|Length of the code in bytes| + + + +### Type: [auth.SentCodeType](../types/auth.SentCodeType.md) + + +### Example: + +```php +$auth.sentCodeTypeApp = ['_' => 'auth.sentCodeTypeApp', 'length' => int]; +``` + + +Or, if you're into Lua: + +```lua +auth.sentCodeTypeApp={_='auth.sentCodeTypeApp', length=int} + +``` + + diff --git a/old_docs/API_docs_v100/constructors/auth.sentCodeTypeCall.md b/old_docs/API_docs_v100/constructors/auth.sentCodeTypeCall.md new file mode 100644 index 00000000..9843b3df --- /dev/null +++ b/old_docs/API_docs_v100/constructors/auth.sentCodeTypeCall.md @@ -0,0 +1,38 @@ +--- +title: auth.sentCodeTypeCall +description: The code will be sent via a phone call: a synthesized voice will tell the user which verification code to input. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentCodeTypeCall +[Back to constructors index](index.md) + + + +The code will be sent via a phone call: a synthesized voice will tell the user which verification code to input. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|length|[int](../types/int.md) | Yes|Length of the verification code| + + + +### Type: [auth.SentCodeType](../types/auth.SentCodeType.md) + + +### Example: + +```php +$auth.sentCodeTypeCall = ['_' => 'auth.sentCodeTypeCall', 'length' => int]; +``` + + +Or, if you're into Lua: + +```lua +auth.sentCodeTypeCall={_='auth.sentCodeTypeCall', length=int} + +``` + + diff --git a/old_docs/API_docs_v100/constructors/auth.sentCodeTypeFlashCall.md b/old_docs/API_docs_v100/constructors/auth.sentCodeTypeFlashCall.md new file mode 100644 index 00000000..0d24751d --- /dev/null +++ b/old_docs/API_docs_v100/constructors/auth.sentCodeTypeFlashCall.md @@ -0,0 +1,38 @@ +--- +title: auth.sentCodeTypeFlashCall +description: The code will be sent via a flash phone call, that will be closed immediately. The phone code will then be the phone number itself, just make sure that the phone number matches the specified pattern. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentCodeTypeFlashCall +[Back to constructors index](index.md) + + + +The code will be sent via a flash phone call, that will be closed immediately. The phone code will then be the phone number itself, just make sure that the phone number matches the specified pattern. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pattern|[string](../types/string.md) | Yes|[pattern](https://core.telegram.org/api/pattern) to match| + + + +### Type: [auth.SentCodeType](../types/auth.SentCodeType.md) + + +### Example: + +```php +$auth.sentCodeTypeFlashCall = ['_' => 'auth.sentCodeTypeFlashCall', 'pattern' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +auth.sentCodeTypeFlashCall={_='auth.sentCodeTypeFlashCall', pattern='string'} + +``` + + diff --git a/old_docs/API_docs_v100/constructors/auth.sentCodeTypeSms.md b/old_docs/API_docs_v100/constructors/auth.sentCodeTypeSms.md new file mode 100644 index 00000000..d8ecb75e --- /dev/null +++ b/old_docs/API_docs_v100/constructors/auth.sentCodeTypeSms.md @@ -0,0 +1,38 @@ +--- +title: auth.sentCodeTypeSms +description: The code was sent via SMS +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentCodeTypeSms +[Back to constructors index](index.md) + + + +The code was sent via SMS + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|length|[int](../types/int.md) | Yes|Length of the code in bytes| + + + +### Type: [auth.SentCodeType](../types/auth.SentCodeType.md) + + +### Example: + +```php +$auth.sentCodeTypeSms = ['_' => 'auth.sentCodeTypeSms', 'length' => int]; +``` + + +Or, if you're into Lua: + +```lua +auth.sentCodeTypeSms={_='auth.sentCodeTypeSms', length=int} + +``` + + diff --git a/old_docs/API_docs_v100/constructors/auth_authorization.md b/old_docs/API_docs_v100/constructors/auth_authorization.md deleted file mode 100644 index cb72811d..00000000 --- a/old_docs/API_docs_v100/constructors/auth_authorization.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: auth.authorization -description: Contains user authorization info. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.authorization -[Back to constructors index](index.md) - - - -Contains user authorization info. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|tmp\_sessions|[int](../types/int.md) | Optional|Temporary [passport](https://core.telegram.org/passport) sessions| -|user|[User](../types/User.md) | Optional|Info on authorized user| - - - -### Type: [auth\_Authorization](../types/auth_Authorization.md) - - -### Example: - -```php -$auth_authorization = ['_' => 'auth.authorization', 'tmp_sessions' => int, 'user' => User]; -``` - - -Or, if you're into Lua: - -```lua -auth_authorization={_='auth.authorization', tmp_sessions=int, user=User} - -``` - - diff --git a/old_docs/API_docs_v100/constructors/auth_checkedPhone.md b/old_docs/API_docs_v100/constructors/auth_checkedPhone.md deleted file mode 100644 index c77becf6..00000000 --- a/old_docs/API_docs_v100/constructors/auth_checkedPhone.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.checkedPhone -description: Checked phone -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.checkedPhone -[Back to constructors index](index.md) - - - -Checked phone - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_registered|[Bool](../types/Bool.md) | Yes|Phone registered?| - - - -### Type: [auth\_CheckedPhone](../types/auth_CheckedPhone.md) - - -### Example: - -```php -$auth_checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool]; -``` - - -Or, if you're into Lua: - -```lua -auth_checkedPhone={_='auth.checkedPhone', phone_registered=Bool} - -``` - - diff --git a/old_docs/API_docs_v100/constructors/auth_codeTypeCall.md b/old_docs/API_docs_v100/constructors/auth_codeTypeCall.md deleted file mode 100644 index 3e957c2a..00000000 --- a/old_docs/API_docs_v100/constructors/auth_codeTypeCall.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: auth.codeTypeCall -description: Type of verification code that will be sent next if you call the resendCode method: SMS code -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.codeTypeCall -[Back to constructors index](index.md) - - - -Type of verification code that will be sent next if you call the resendCode method: SMS code - - - - -### Type: [auth\_CodeType](../types/auth_CodeType.md) - - -### Example: - -```php -$auth_codeTypeCall = ['_' => 'auth.codeTypeCall']; -``` - - -Or, if you're into Lua: - -```lua -auth_codeTypeCall={_='auth.codeTypeCall'} - -``` - - diff --git a/old_docs/API_docs_v100/constructors/auth_codeTypeFlashCall.md b/old_docs/API_docs_v100/constructors/auth_codeTypeFlashCall.md deleted file mode 100644 index 981b2461..00000000 --- a/old_docs/API_docs_v100/constructors/auth_codeTypeFlashCall.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: auth.codeTypeFlashCall -description: Type of verification code that will be sent next if you call the resendCode method: SMS code -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.codeTypeFlashCall -[Back to constructors index](index.md) - - - -Type of verification code that will be sent next if you call the resendCode method: SMS code - - - - -### Type: [auth\_CodeType](../types/auth_CodeType.md) - - -### Example: - -```php -$auth_codeTypeFlashCall = ['_' => 'auth.codeTypeFlashCall']; -``` - - -Or, if you're into Lua: - -```lua -auth_codeTypeFlashCall={_='auth.codeTypeFlashCall'} - -``` - - diff --git a/old_docs/API_docs_v100/constructors/auth_codeTypeSms.md b/old_docs/API_docs_v100/constructors/auth_codeTypeSms.md deleted file mode 100644 index 16eb5d0d..00000000 --- a/old_docs/API_docs_v100/constructors/auth_codeTypeSms.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: auth.codeTypeSms -description: Type of verification code that will be sent next if you call the resendCode method: SMS code -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.codeTypeSms -[Back to constructors index](index.md) - - - -Type of verification code that will be sent next if you call the resendCode method: SMS code - - - - -### Type: [auth\_CodeType](../types/auth_CodeType.md) - - -### Example: - -```php -$auth_codeTypeSms = ['_' => 'auth.codeTypeSms']; -``` - - -Or, if you're into Lua: - -```lua -auth_codeTypeSms={_='auth.codeTypeSms'} - -``` - - diff --git a/old_docs/API_docs_v100/constructors/auth_exportedAuthorization.md b/old_docs/API_docs_v100/constructors/auth_exportedAuthorization.md deleted file mode 100644 index 8d18916e..00000000 --- a/old_docs/API_docs_v100/constructors/auth_exportedAuthorization.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: auth.exportedAuthorization -description: Data for copying of authorization between data centres. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.exportedAuthorization -[Back to constructors index](index.md) - - - -Data for copying of authorization between data centres. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|id|[int](../types/int.md) | Yes|Current user identifier| -|bytes|[bytes](../types/bytes.md) | Yes|Authorizes key| - - - -### Type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) - - -### Example: - -```php -$auth_exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -auth_exportedAuthorization={_='auth.exportedAuthorization', id=int, bytes='bytes'} - -``` - - diff --git a/old_docs/API_docs_v100/constructors/auth_passwordRecovery.md b/old_docs/API_docs_v100/constructors/auth_passwordRecovery.md deleted file mode 100644 index c40f375e..00000000 --- a/old_docs/API_docs_v100/constructors/auth_passwordRecovery.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.passwordRecovery -description: Recovery info of a [2FA password](https://core.telegram.org/api/srp), only for accounts with a [recovery email configured](https://core.telegram.org/api/srp#email-verification). -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.passwordRecovery -[Back to constructors index](index.md) - - - -Recovery info of a [2FA password](https://core.telegram.org/api/srp), only for accounts with a [recovery email configured](https://core.telegram.org/api/srp#email-verification). - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|email\_pattern|[string](../types/string.md) | Yes|The email to which the recovery code was sent must match this [pattern](https://core.telegram.org/api/pattern).| - - - -### Type: [auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) - - -### Example: - -```php -$auth_passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -auth_passwordRecovery={_='auth.passwordRecovery', email_pattern='string'} - -``` - - diff --git a/old_docs/API_docs_v100/constructors/auth_sentCode.md b/old_docs/API_docs_v100/constructors/auth_sentCode.md deleted file mode 100644 index f34f844a..00000000 --- a/old_docs/API_docs_v100/constructors/auth_sentCode.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: auth.sentCode -description: Contains info about a sent verification code. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentCode -[Back to constructors index](index.md) - - - -Contains info about a sent verification code. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_registered|[Bool](../types/Bool.md) | Optional|Phone registered?| -|type|[auth\_SentCodeType](../types/auth_SentCodeType.md) | Yes|Phone code type| -|phone\_code\_hash|[string](../types/string.md) | Yes|Phone code hash, to be stored and later re-used with [auth.signIn](../methods/auth.signIn.md)| -|next\_type|[auth\_CodeType](../types/auth_CodeType.md) | Optional|Phone code type that will be sent next, if the phone code is not received within `timeout` seconds: to send it use [auth.resendCode](../methods/auth.resendCode.md)| -|timeout|[int](../types/int.md) | Optional|Timeout for reception of the phone code| -|terms\_of\_service|[help\_TermsOfService](../types/help_TermsOfService.md) | Optional|Terms of service| - - - -### Type: [auth\_SentCode](../types/auth_SentCode.md) - - -### Example: - -```php -$auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'type' => auth_SentCodeType, 'phone_code_hash' => 'string', 'next_type' => auth_CodeType, 'timeout' => int, 'terms_of_service' => help_TermsOfService]; -``` - - -Or, if you're into Lua: - -```lua -auth_sentCode={_='auth.sentCode', phone_registered=Bool, type=auth_SentCodeType, phone_code_hash='string', next_type=auth_CodeType, timeout=int, terms_of_service=help_TermsOfService} - -``` - - diff --git a/old_docs/API_docs_v100/constructors/auth_sentCodeTypeApp.md b/old_docs/API_docs_v100/constructors/auth_sentCodeTypeApp.md deleted file mode 100644 index 6b7ad824..00000000 --- a/old_docs/API_docs_v100/constructors/auth_sentCodeTypeApp.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.sentCodeTypeApp -description: The code was sent through the telegram app -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentCodeTypeApp -[Back to constructors index](index.md) - - - -The code was sent through the telegram app - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|length|[int](../types/int.md) | Yes|Length of the code in bytes| - - - -### Type: [auth\_SentCodeType](../types/auth_SentCodeType.md) - - -### Example: - -```php -$auth_sentCodeTypeApp = ['_' => 'auth.sentCodeTypeApp', 'length' => int]; -``` - - -Or, if you're into Lua: - -```lua -auth_sentCodeTypeApp={_='auth.sentCodeTypeApp', length=int} - -``` - - diff --git a/old_docs/API_docs_v100/constructors/auth_sentCodeTypeCall.md b/old_docs/API_docs_v100/constructors/auth_sentCodeTypeCall.md deleted file mode 100644 index bf025aa5..00000000 --- a/old_docs/API_docs_v100/constructors/auth_sentCodeTypeCall.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.sentCodeTypeCall -description: The code will be sent via a phone call: a synthesized voice will tell the user which verification code to input. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentCodeTypeCall -[Back to constructors index](index.md) - - - -The code will be sent via a phone call: a synthesized voice will tell the user which verification code to input. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|length|[int](../types/int.md) | Yes|Length of the verification code| - - - -### Type: [auth\_SentCodeType](../types/auth_SentCodeType.md) - - -### Example: - -```php -$auth_sentCodeTypeCall = ['_' => 'auth.sentCodeTypeCall', 'length' => int]; -``` - - -Or, if you're into Lua: - -```lua -auth_sentCodeTypeCall={_='auth.sentCodeTypeCall', length=int} - -``` - - diff --git a/old_docs/API_docs_v100/constructors/auth_sentCodeTypeFlashCall.md b/old_docs/API_docs_v100/constructors/auth_sentCodeTypeFlashCall.md deleted file mode 100644 index efe64ce7..00000000 --- a/old_docs/API_docs_v100/constructors/auth_sentCodeTypeFlashCall.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.sentCodeTypeFlashCall -description: The code will be sent via a flash phone call, that will be closed immediately. The phone code will then be the phone number itself, just make sure that the phone number matches the specified pattern. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentCodeTypeFlashCall -[Back to constructors index](index.md) - - - -The code will be sent via a flash phone call, that will be closed immediately. The phone code will then be the phone number itself, just make sure that the phone number matches the specified pattern. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pattern|[string](../types/string.md) | Yes|[pattern](https://core.telegram.org/api/pattern) to match| - - - -### Type: [auth\_SentCodeType](../types/auth_SentCodeType.md) - - -### Example: - -```php -$auth_sentCodeTypeFlashCall = ['_' => 'auth.sentCodeTypeFlashCall', 'pattern' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -auth_sentCodeTypeFlashCall={_='auth.sentCodeTypeFlashCall', pattern='string'} - -``` - - diff --git a/old_docs/API_docs_v100/constructors/auth_sentCodeTypeSms.md b/old_docs/API_docs_v100/constructors/auth_sentCodeTypeSms.md deleted file mode 100644 index 8e27dac9..00000000 --- a/old_docs/API_docs_v100/constructors/auth_sentCodeTypeSms.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.sentCodeTypeSms -description: The code was sent via SMS -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentCodeTypeSms -[Back to constructors index](index.md) - - - -The code was sent via SMS - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|length|[int](../types/int.md) | Yes|Length of the code in bytes| - - - -### Type: [auth\_SentCodeType](../types/auth_SentCodeType.md) - - -### Example: - -```php -$auth_sentCodeTypeSms = ['_' => 'auth.sentCodeTypeSms', 'length' => int]; -``` - - -Or, if you're into Lua: - -```lua -auth_sentCodeTypeSms={_='auth.sentCodeTypeSms', length=int} - -``` - - diff --git a/old_docs/API_docs_v100/constructors/channels.adminLogResults.md b/old_docs/API_docs_v100/constructors/channels.adminLogResults.md new file mode 100644 index 00000000..fc4e234a --- /dev/null +++ b/old_docs/API_docs_v100/constructors/channels.adminLogResults.md @@ -0,0 +1,40 @@ +--- +title: channels.adminLogResults +description: Admin log events +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: channels.adminLogResults +[Back to constructors index](index.md) + + + +Admin log events + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|events|Array of [ChannelAdminLogEvent](../types/ChannelAdminLogEvent.md) | Yes|Events| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [channels.AdminLogResults](../types/channels.AdminLogResults.md) + + +### Example: + +```php +$channels.adminLogResults = ['_' => 'channels.adminLogResults', 'events' => [ChannelAdminLogEvent, ChannelAdminLogEvent], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +channels.adminLogResults={_='channels.adminLogResults', events={ChannelAdminLogEvent}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v100/constructors/channels.channelParticipant.md b/old_docs/API_docs_v100/constructors/channels.channelParticipant.md new file mode 100644 index 00000000..0f09777f --- /dev/null +++ b/old_docs/API_docs_v100/constructors/channels.channelParticipant.md @@ -0,0 +1,39 @@ +--- +title: channels.channelParticipant +description: Represents a channel participant +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: channels.channelParticipant +[Back to constructors index](index.md) + + + +Represents a channel participant + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|participant|[ChannelParticipant](../types/ChannelParticipant.md) | Yes|The channel participant| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [channels.ChannelParticipant](../types/channels.ChannelParticipant.md) + + +### Example: + +```php +$channels.channelParticipant = ['_' => 'channels.channelParticipant', 'participant' => ChannelParticipant, 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +channels.channelParticipant={_='channels.channelParticipant', participant=ChannelParticipant, users={User}} + +``` + + diff --git a/old_docs/API_docs_v100/constructors/channels.channelParticipants.md b/old_docs/API_docs_v100/constructors/channels.channelParticipants.md new file mode 100644 index 00000000..6ee1a8b3 --- /dev/null +++ b/old_docs/API_docs_v100/constructors/channels.channelParticipants.md @@ -0,0 +1,40 @@ +--- +title: channels.channelParticipants +description: Represents multiple channel participants +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: channels.channelParticipants +[Back to constructors index](index.md) + + + +Represents multiple channel participants + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of participants that correspond to the given query| +|participants|Array of [ChannelParticipant](../types/ChannelParticipant.md) | Yes|Participants| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [channels.ChannelParticipants](../types/channels.ChannelParticipants.md) + + +### Example: + +```php +$channels.channelParticipants = ['_' => 'channels.channelParticipants', 'count' => int, 'participants' => [ChannelParticipant, ChannelParticipant], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +channels.channelParticipants={_='channels.channelParticipants', count=int, participants={ChannelParticipant}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v100/constructors/channels.channelParticipantsNotModified.md b/old_docs/API_docs_v100/constructors/channels.channelParticipantsNotModified.md new file mode 100644 index 00000000..37ece73a --- /dev/null +++ b/old_docs/API_docs_v100/constructors/channels.channelParticipantsNotModified.md @@ -0,0 +1,33 @@ +--- +title: channels.channelParticipantsNotModified +description: No new participant info could be found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: channels.channelParticipantsNotModified +[Back to constructors index](index.md) + + + +No new participant info could be found + + + + +### Type: [channels.ChannelParticipants](../types/channels.ChannelParticipants.md) + + +### Example: + +```php +$channels.channelParticipantsNotModified = ['_' => 'channels.channelParticipantsNotModified']; +``` + + +Or, if you're into Lua: + +```lua +channels.channelParticipantsNotModified={_='channels.channelParticipantsNotModified'} + +``` + + diff --git a/old_docs/API_docs_v100/constructors/channels_adminLogResults.md b/old_docs/API_docs_v100/constructors/channels_adminLogResults.md deleted file mode 100644 index 9061212a..00000000 --- a/old_docs/API_docs_v100/constructors/channels_adminLogResults.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: channels.adminLogResults -description: Admin log events -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: channels.adminLogResults -[Back to constructors index](index.md) - - - -Admin log events - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|events|Array of [ChannelAdminLogEvent](../types/ChannelAdminLogEvent.md) | Yes|Events| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [channels\_AdminLogResults](../types/channels_AdminLogResults.md) - - -### Example: - -```php -$channels_adminLogResults = ['_' => 'channels.adminLogResults', 'events' => [ChannelAdminLogEvent, ChannelAdminLogEvent], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -channels_adminLogResults={_='channels.adminLogResults', events={ChannelAdminLogEvent}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v100/constructors/channels_channelParticipant.md b/old_docs/API_docs_v100/constructors/channels_channelParticipant.md deleted file mode 100644 index 15fe46a4..00000000 --- a/old_docs/API_docs_v100/constructors/channels_channelParticipant.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: channels.channelParticipant -description: Represents a channel participant -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: channels.channelParticipant -[Back to constructors index](index.md) - - - -Represents a channel participant - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|participant|[ChannelParticipant](../types/ChannelParticipant.md) | Yes|The channel participant| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [channels\_ChannelParticipant](../types/channels_ChannelParticipant.md) - - -### Example: - -```php -$channels_channelParticipant = ['_' => 'channels.channelParticipant', 'participant' => ChannelParticipant, 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -channels_channelParticipant={_='channels.channelParticipant', participant=ChannelParticipant, users={User}} - -``` - - diff --git a/old_docs/API_docs_v100/constructors/channels_channelParticipants.md b/old_docs/API_docs_v100/constructors/channels_channelParticipants.md deleted file mode 100644 index 1848a04f..00000000 --- a/old_docs/API_docs_v100/constructors/channels_channelParticipants.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: channels.channelParticipants -description: Represents multiple channel participants -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: channels.channelParticipants -[Back to constructors index](index.md) - - - -Represents multiple channel participants - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of participants that correspond to the given query| -|participants|Array of [ChannelParticipant](../types/ChannelParticipant.md) | Yes|Participants| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [channels\_ChannelParticipants](../types/channels_ChannelParticipants.md) - - -### Example: - -```php -$channels_channelParticipants = ['_' => 'channels.channelParticipants', 'count' => int, 'participants' => [ChannelParticipant, ChannelParticipant], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -channels_channelParticipants={_='channels.channelParticipants', count=int, participants={ChannelParticipant}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v100/constructors/channels_channelParticipantsNotModified.md b/old_docs/API_docs_v100/constructors/channels_channelParticipantsNotModified.md deleted file mode 100644 index 800048f7..00000000 --- a/old_docs/API_docs_v100/constructors/channels_channelParticipantsNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: channels.channelParticipantsNotModified -description: No new participant info could be found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: channels.channelParticipantsNotModified -[Back to constructors index](index.md) - - - -No new participant info could be found - - - - -### Type: [channels\_ChannelParticipants](../types/channels_ChannelParticipants.md) - - -### Example: - -```php -$channels_channelParticipantsNotModified = ['_' => 'channels.channelParticipantsNotModified']; -``` - - -Or, if you're into Lua: - -```lua -channels_channelParticipantsNotModified={_='channels.channelParticipantsNotModified'} - -``` - - diff --git a/old_docs/API_docs_v100/constructors/contacts.blocked.md b/old_docs/API_docs_v100/constructors/contacts.blocked.md new file mode 100644 index 00000000..d2b3f680 --- /dev/null +++ b/old_docs/API_docs_v100/constructors/contacts.blocked.md @@ -0,0 +1,39 @@ +--- +title: contacts.blocked +description: Full list of blocked users. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.blocked +[Back to constructors index](index.md) + + + +Full list of blocked users. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Blocked](../types/contacts.Blocked.md) + + +### Example: + +```php +$contacts.blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.blocked={_='contacts.blocked', blocked={ContactBlocked}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v100/constructors/contacts.blockedSlice.md b/old_docs/API_docs_v100/constructors/contacts.blockedSlice.md new file mode 100644 index 00000000..92d19c72 --- /dev/null +++ b/old_docs/API_docs_v100/constructors/contacts.blockedSlice.md @@ -0,0 +1,40 @@ +--- +title: contacts.blockedSlice +description: Incomplete list of blocked users. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.blockedSlice +[Back to constructors index](index.md) + + + +Incomplete list of blocked users. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of elements in the list| +|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Blocked](../types/contacts.Blocked.md) + + +### Example: + +```php +$contacts.blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.blockedSlice={_='contacts.blockedSlice', count=int, blocked={ContactBlocked}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v100/constructors/contacts.contacts.md b/old_docs/API_docs_v100/constructors/contacts.contacts.md new file mode 100644 index 00000000..c3251e5d --- /dev/null +++ b/old_docs/API_docs_v100/constructors/contacts.contacts.md @@ -0,0 +1,40 @@ +--- +title: contacts.contacts +description: The current user's contact list and info on users. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.contacts +[Back to constructors index](index.md) + + + +The current user's contact list and info on users. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|contacts|Array of [Contact](../types/Contact.md) | Yes|Contacts| +|saved\_count|[int](../types/int.md) | Yes|Number of contacts that were saved successfully| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Contacts](../types/contacts.Contacts.md) + + +### Example: + +```php +$contacts.contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact, Contact], 'saved_count' => int, 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.contacts={_='contacts.contacts', contacts={Contact}, saved_count=int, users={User}} + +``` + + diff --git a/old_docs/API_docs_v100/constructors/contacts.contactsNotModified.md b/old_docs/API_docs_v100/constructors/contacts.contactsNotModified.md new file mode 100644 index 00000000..e2149396 --- /dev/null +++ b/old_docs/API_docs_v100/constructors/contacts.contactsNotModified.md @@ -0,0 +1,33 @@ +--- +title: contacts.contactsNotModified +description: Contact list on the server is the same as the list on the client. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.contactsNotModified +[Back to constructors index](index.md) + + + +Contact list on the server is the same as the list on the client. + + + + +### Type: [contacts.Contacts](../types/contacts.Contacts.md) + + +### Example: + +```php +$contacts.contactsNotModified = ['_' => 'contacts.contactsNotModified']; +``` + + +Or, if you're into Lua: + +```lua +contacts.contactsNotModified={_='contacts.contactsNotModified'} + +``` + + diff --git a/old_docs/API_docs_v100/constructors/contacts.found.md b/old_docs/API_docs_v100/constructors/contacts.found.md new file mode 100644 index 00000000..65df2f8d --- /dev/null +++ b/old_docs/API_docs_v100/constructors/contacts.found.md @@ -0,0 +1,41 @@ +--- +title: contacts.found +description: Users found by name substring and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.found +[Back to constructors index](index.md) + + + +Users found by name substring and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|my\_results|Array of [Peer](../types/Peer.md) | Yes|My results| +|results|Array of [Peer](../types/Peer.md) | Yes|Results| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Found](../types/contacts.Found.md) + + +### Example: + +```php +$contacts.found = ['_' => 'contacts.found', 'my_results' => [Peer, Peer], 'results' => [Peer, Peer], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.found={_='contacts.found', my_results={Peer}, results={Peer}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v100/constructors/contacts.importedContacts.md b/old_docs/API_docs_v100/constructors/contacts.importedContacts.md new file mode 100644 index 00000000..20075931 --- /dev/null +++ b/old_docs/API_docs_v100/constructors/contacts.importedContacts.md @@ -0,0 +1,41 @@ +--- +title: contacts.importedContacts +description: Info on succesfully imported contacts. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.importedContacts +[Back to constructors index](index.md) + + + +Info on succesfully imported contacts. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|imported|Array of [ImportedContact](../types/ImportedContact.md) | Yes|Imported| +|popular\_invites|Array of [PopularContact](../types/PopularContact.md) | Yes|Popular invites| +|retry\_contacts|Array of [long](../types/long.md) | Yes|Retry importing contacts whose client IDs appear here| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.ImportedContacts](../types/contacts.ImportedContacts.md) + + +### Example: + +```php +$contacts.importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact, ImportedContact], 'popular_invites' => [PopularContact, PopularContact], 'retry_contacts' => [long, long], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.importedContacts={_='contacts.importedContacts', imported={ImportedContact}, popular_invites={PopularContact}, retry_contacts={long}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v100/constructors/contacts.link.md b/old_docs/API_docs_v100/constructors/contacts.link.md new file mode 100644 index 00000000..ab150a0d --- /dev/null +++ b/old_docs/API_docs_v100/constructors/contacts.link.md @@ -0,0 +1,40 @@ +--- +title: contacts.link +description: Link +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.link +[Back to constructors index](index.md) + + + +Link + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|my\_link|[ContactLink](../types/ContactLink.md) | Yes|My link| +|foreign\_link|[ContactLink](../types/ContactLink.md) | Yes|Foreign link| +|user|[User](../types/User.md) | Optional|User| + + + +### Type: [contacts.Link](../types/contacts.Link.md) + + +### Example: + +```php +$contacts.link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User]; +``` + + +Or, if you're into Lua: + +```lua +contacts.link={_='contacts.link', my_link=ContactLink, foreign_link=ContactLink, user=User} + +``` + + diff --git a/old_docs/API_docs_v100/constructors/contacts.resolvedPeer.md b/old_docs/API_docs_v100/constructors/contacts.resolvedPeer.md new file mode 100644 index 00000000..35d88481 --- /dev/null +++ b/old_docs/API_docs_v100/constructors/contacts.resolvedPeer.md @@ -0,0 +1,40 @@ +--- +title: contacts.resolvedPeer +description: Resolved peer +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.resolvedPeer +[Back to constructors index](index.md) + + + +Resolved peer + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|peer|[Peer](../types/Peer.md) | Yes|The peer| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.ResolvedPeer](../types/contacts.ResolvedPeer.md) + + +### Example: + +```php +$contacts.resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.resolvedPeer={_='contacts.resolvedPeer', peer=Peer, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v100/constructors/contacts.topPeers.md b/old_docs/API_docs_v100/constructors/contacts.topPeers.md new file mode 100644 index 00000000..19d9c712 --- /dev/null +++ b/old_docs/API_docs_v100/constructors/contacts.topPeers.md @@ -0,0 +1,40 @@ +--- +title: contacts.topPeers +description: Top peers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.topPeers +[Back to constructors index](index.md) + + + +Top peers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|categories|Array of [TopPeerCategoryPeers](../types/TopPeerCategoryPeers.md) | Yes|Categories| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.TopPeers](../types/contacts.TopPeers.md) + + +### Example: + +```php +$contacts.topPeers = ['_' => 'contacts.topPeers', 'categories' => [TopPeerCategoryPeers, TopPeerCategoryPeers], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.topPeers={_='contacts.topPeers', categories={TopPeerCategoryPeers}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v100/constructors/contacts.topPeersDisabled.md b/old_docs/API_docs_v100/constructors/contacts.topPeersDisabled.md new file mode 100644 index 00000000..a0e2c50b --- /dev/null +++ b/old_docs/API_docs_v100/constructors/contacts.topPeersDisabled.md @@ -0,0 +1,33 @@ +--- +title: contacts.topPeersDisabled +description: Top peers disabled +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.topPeersDisabled +[Back to constructors index](index.md) + + + +Top peers disabled + + + + +### Type: [contacts.TopPeers](../types/contacts.TopPeers.md) + + +### Example: + +```php +$contacts.topPeersDisabled = ['_' => 'contacts.topPeersDisabled']; +``` + + +Or, if you're into Lua: + +```lua +contacts.topPeersDisabled={_='contacts.topPeersDisabled'} + +``` + + diff --git a/old_docs/API_docs_v100/constructors/contacts.topPeersNotModified.md b/old_docs/API_docs_v100/constructors/contacts.topPeersNotModified.md new file mode 100644 index 00000000..77c5eb4d --- /dev/null +++ b/old_docs/API_docs_v100/constructors/contacts.topPeersNotModified.md @@ -0,0 +1,33 @@ +--- +title: contacts.topPeersNotModified +description: Top peer info hasn't changed +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.topPeersNotModified +[Back to constructors index](index.md) + + + +Top peer info hasn't changed + + + + +### Type: [contacts.TopPeers](../types/contacts.TopPeers.md) + + +### Example: + +```php +$contacts.topPeersNotModified = ['_' => 'contacts.topPeersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +contacts.topPeersNotModified={_='contacts.topPeersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v100/constructors/contacts_blocked.md b/old_docs/API_docs_v100/constructors/contacts_blocked.md deleted file mode 100644 index 20e33002..00000000 --- a/old_docs/API_docs_v100/constructors/contacts_blocked.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: contacts.blocked -description: Full list of blocked users. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.blocked -[Back to constructors index](index.md) - - - -Full list of blocked users. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Blocked](../types/contacts_Blocked.md) - - -### Example: - -```php -$contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_blocked={_='contacts.blocked', blocked={ContactBlocked}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v100/constructors/contacts_blockedSlice.md b/old_docs/API_docs_v100/constructors/contacts_blockedSlice.md deleted file mode 100644 index fcab9a28..00000000 --- a/old_docs/API_docs_v100/constructors/contacts_blockedSlice.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.blockedSlice -description: Incomplete list of blocked users. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.blockedSlice -[Back to constructors index](index.md) - - - -Incomplete list of blocked users. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of elements in the list| -|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Blocked](../types/contacts_Blocked.md) - - -### Example: - -```php -$contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_blockedSlice={_='contacts.blockedSlice', count=int, blocked={ContactBlocked}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v100/constructors/contacts_contacts.md b/old_docs/API_docs_v100/constructors/contacts_contacts.md deleted file mode 100644 index 0e6f0dd3..00000000 --- a/old_docs/API_docs_v100/constructors/contacts_contacts.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.contacts -description: The current user's contact list and info on users. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.contacts -[Back to constructors index](index.md) - - - -The current user's contact list and info on users. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|contacts|Array of [Contact](../types/Contact.md) | Yes|Contacts| -|saved\_count|[int](../types/int.md) | Yes|Number of contacts that were saved successfully| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Contacts](../types/contacts_Contacts.md) - - -### Example: - -```php -$contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact, Contact], 'saved_count' => int, 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_contacts={_='contacts.contacts', contacts={Contact}, saved_count=int, users={User}} - -``` - - diff --git a/old_docs/API_docs_v100/constructors/contacts_contactsNotModified.md b/old_docs/API_docs_v100/constructors/contacts_contactsNotModified.md deleted file mode 100644 index 17e76ac3..00000000 --- a/old_docs/API_docs_v100/constructors/contacts_contactsNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: contacts.contactsNotModified -description: Contact list on the server is the same as the list on the client. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.contactsNotModified -[Back to constructors index](index.md) - - - -Contact list on the server is the same as the list on the client. - - - - -### Type: [contacts\_Contacts](../types/contacts_Contacts.md) - - -### Example: - -```php -$contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified']; -``` - - -Or, if you're into Lua: - -```lua -contacts_contactsNotModified={_='contacts.contactsNotModified'} - -``` - - diff --git a/old_docs/API_docs_v100/constructors/contacts_found.md b/old_docs/API_docs_v100/constructors/contacts_found.md deleted file mode 100644 index 76b9aa0c..00000000 --- a/old_docs/API_docs_v100/constructors/contacts_found.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: contacts.found -description: Users found by name substring and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.found -[Back to constructors index](index.md) - - - -Users found by name substring and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|my\_results|Array of [Peer](../types/Peer.md) | Yes|My results| -|results|Array of [Peer](../types/Peer.md) | Yes|Results| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Found](../types/contacts_Found.md) - - -### Example: - -```php -$contacts_found = ['_' => 'contacts.found', 'my_results' => [Peer, Peer], 'results' => [Peer, Peer], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_found={_='contacts.found', my_results={Peer}, results={Peer}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v100/constructors/contacts_importedContacts.md b/old_docs/API_docs_v100/constructors/contacts_importedContacts.md deleted file mode 100644 index e534754b..00000000 --- a/old_docs/API_docs_v100/constructors/contacts_importedContacts.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: contacts.importedContacts -description: Info on succesfully imported contacts. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.importedContacts -[Back to constructors index](index.md) - - - -Info on succesfully imported contacts. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|imported|Array of [ImportedContact](../types/ImportedContact.md) | Yes|Imported| -|popular\_invites|Array of [PopularContact](../types/PopularContact.md) | Yes|Popular invites| -|retry\_contacts|Array of [long](../types/long.md) | Yes|Retry importing contacts whose client IDs appear here| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) - - -### Example: - -```php -$contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact, ImportedContact], 'popular_invites' => [PopularContact, PopularContact], 'retry_contacts' => [long, long], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_importedContacts={_='contacts.importedContacts', imported={ImportedContact}, popular_invites={PopularContact}, retry_contacts={long}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v100/constructors/contacts_link.md b/old_docs/API_docs_v100/constructors/contacts_link.md deleted file mode 100644 index cfc566c7..00000000 --- a/old_docs/API_docs_v100/constructors/contacts_link.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.link -description: Link -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.link -[Back to constructors index](index.md) - - - -Link - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|my\_link|[ContactLink](../types/ContactLink.md) | Yes|My link| -|foreign\_link|[ContactLink](../types/ContactLink.md) | Yes|Foreign link| -|user|[User](../types/User.md) | Optional|User| - - - -### Type: [contacts\_Link](../types/contacts_Link.md) - - -### Example: - -```php -$contacts_link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User]; -``` - - -Or, if you're into Lua: - -```lua -contacts_link={_='contacts.link', my_link=ContactLink, foreign_link=ContactLink, user=User} - -``` - - diff --git a/old_docs/API_docs_v100/constructors/contacts_resolvedPeer.md b/old_docs/API_docs_v100/constructors/contacts_resolvedPeer.md deleted file mode 100644 index aae3c7af..00000000 --- a/old_docs/API_docs_v100/constructors/contacts_resolvedPeer.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.resolvedPeer -description: Resolved peer -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.resolvedPeer -[Back to constructors index](index.md) - - - -Resolved peer - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|peer|[Peer](../types/Peer.md) | Yes|The peer| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_ResolvedPeer](../types/contacts_ResolvedPeer.md) - - -### Example: - -```php -$contacts_resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_resolvedPeer={_='contacts.resolvedPeer', peer=Peer, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v100/constructors/contacts_topPeers.md b/old_docs/API_docs_v100/constructors/contacts_topPeers.md deleted file mode 100644 index 77bc07d3..00000000 --- a/old_docs/API_docs_v100/constructors/contacts_topPeers.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.topPeers -description: Top peers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.topPeers -[Back to constructors index](index.md) - - - -Top peers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|categories|Array of [TopPeerCategoryPeers](../types/TopPeerCategoryPeers.md) | Yes|Categories| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_TopPeers](../types/contacts_TopPeers.md) - - -### Example: - -```php -$contacts_topPeers = ['_' => 'contacts.topPeers', 'categories' => [TopPeerCategoryPeers, TopPeerCategoryPeers], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_topPeers={_='contacts.topPeers', categories={TopPeerCategoryPeers}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v100/constructors/contacts_topPeersDisabled.md b/old_docs/API_docs_v100/constructors/contacts_topPeersDisabled.md deleted file mode 100644 index e359a76d..00000000 --- a/old_docs/API_docs_v100/constructors/contacts_topPeersDisabled.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: contacts.topPeersDisabled -description: Top peers disabled -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.topPeersDisabled -[Back to constructors index](index.md) - - - -Top peers disabled - - - - -### Type: [contacts\_TopPeers](../types/contacts_TopPeers.md) - - -### Example: - -```php -$contacts_topPeersDisabled = ['_' => 'contacts.topPeersDisabled']; -``` - - -Or, if you're into Lua: - -```lua -contacts_topPeersDisabled={_='contacts.topPeersDisabled'} - -``` - - diff --git a/old_docs/API_docs_v100/constructors/contacts_topPeersNotModified.md b/old_docs/API_docs_v100/constructors/contacts_topPeersNotModified.md deleted file mode 100644 index 43eae59d..00000000 --- a/old_docs/API_docs_v100/constructors/contacts_topPeersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: contacts.topPeersNotModified -description: Top peer info hasn't changed -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.topPeersNotModified -[Back to constructors index](index.md) - - - -Top peer info hasn't changed - - - - -### Type: [contacts\_TopPeers](../types/contacts_TopPeers.md) - - -### Example: - -```php -$contacts_topPeersNotModified = ['_' => 'contacts.topPeersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -contacts_topPeersNotModified={_='contacts.topPeersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v100/constructors/help.appUpdate.md b/old_docs/API_docs_v100/constructors/help.appUpdate.md new file mode 100644 index 00000000..90b41636 --- /dev/null +++ b/old_docs/API_docs_v100/constructors/help.appUpdate.md @@ -0,0 +1,44 @@ +--- +title: help.appUpdate +description: An update is available for the application. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.appUpdate +[Back to constructors index](index.md) + + + +An update is available for the application. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|popup|[Bool](../types/Bool.md) | Optional|Popup?| +|id|[int](../types/int.md) | Yes|Update ID| +|version|[string](../types/string.md) | Yes|New version name| +|text|[string](../types/string.md) | Yes|Text description of the update| +|entities|Array of [MessageEntity](../types/MessageEntity.md) | Yes|Entities| +|document|[Document](../types/Document.md) | Optional|Attached document| +|url|[string](../types/string.md) | Optional|Application download URL| + + + +### Type: [help.AppUpdate](../types/help.AppUpdate.md) + + +### Example: + +```php +$help.appUpdate = ['_' => 'help.appUpdate', 'popup' => Bool, 'id' => int, 'version' => 'string', 'text' => 'string', 'entities' => [MessageEntity, MessageEntity], 'document' => Document, 'url' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +help.appUpdate={_='help.appUpdate', popup=Bool, id=int, version='string', text='string', entities={MessageEntity}, document=Document, url='string'} + +``` + + diff --git a/old_docs/API_docs_v100/constructors/help.configSimple.md b/old_docs/API_docs_v100/constructors/help.configSimple.md new file mode 100644 index 00000000..4070e1ce --- /dev/null +++ b/old_docs/API_docs_v100/constructors/help.configSimple.md @@ -0,0 +1,40 @@ +--- +title: help.configSimple +description: Config simple +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.configSimple +[Back to constructors index](index.md) + + + +Config simple + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Date| +|expires|[int](../types/int.md) | Yes|Expires| +|rules|Array of [AccessPointRule](../types/AccessPointRule.md) | Yes|Rules| + + + +### Type: [help.ConfigSimple](../types/help.ConfigSimple.md) + + +### Example: + +```php +$help.configSimple = ['_' => 'help.configSimple', 'date' => int, 'expires' => int, 'rules' => [AccessPointRule, AccessPointRule]]; +``` + + +Or, if you're into Lua: + +```lua +help.configSimple={_='help.configSimple', date=int, expires=int, rules={AccessPointRule}} + +``` + + diff --git a/old_docs/API_docs_v100/constructors/help.deepLinkInfo.md b/old_docs/API_docs_v100/constructors/help.deepLinkInfo.md new file mode 100644 index 00000000..78f70af0 --- /dev/null +++ b/old_docs/API_docs_v100/constructors/help.deepLinkInfo.md @@ -0,0 +1,40 @@ +--- +title: help.deepLinkInfo +description: Deep linking info +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.deepLinkInfo +[Back to constructors index](index.md) + + + +Deep linking info + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|update\_app|[Bool](../types/Bool.md) | Optional|An update of the app is required to parse this link| +|message|[string](../types/string.md) | Yes|Message to show to the user| +|entities|Array of [MessageEntity](../types/MessageEntity.md) | Optional|Entities| + + + +### Type: [help.DeepLinkInfo](../types/help.DeepLinkInfo.md) + + +### Example: + +```php +$help.deepLinkInfo = ['_' => 'help.deepLinkInfo', 'update_app' => Bool, 'message' => 'string', 'entities' => [MessageEntity, MessageEntity]]; +``` + + +Or, if you're into Lua: + +```lua +help.deepLinkInfo={_='help.deepLinkInfo', update_app=Bool, message='string', entities={MessageEntity}} + +``` + + diff --git a/old_docs/API_docs_v100/constructors/help.deepLinkInfoEmpty.md b/old_docs/API_docs_v100/constructors/help.deepLinkInfoEmpty.md new file mode 100644 index 00000000..dc99166c --- /dev/null +++ b/old_docs/API_docs_v100/constructors/help.deepLinkInfoEmpty.md @@ -0,0 +1,33 @@ +--- +title: help.deepLinkInfoEmpty +description: Deep link info empty +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.deepLinkInfoEmpty +[Back to constructors index](index.md) + + + +Deep link info empty + + + + +### Type: [help.DeepLinkInfo](../types/help.DeepLinkInfo.md) + + +### Example: + +```php +$help.deepLinkInfoEmpty = ['_' => 'help.deepLinkInfoEmpty']; +``` + + +Or, if you're into Lua: + +```lua +help.deepLinkInfoEmpty={_='help.deepLinkInfoEmpty'} + +``` + + diff --git a/old_docs/API_docs_v100/constructors/help.inviteText.md b/old_docs/API_docs_v100/constructors/help.inviteText.md new file mode 100644 index 00000000..6a6261c1 --- /dev/null +++ b/old_docs/API_docs_v100/constructors/help.inviteText.md @@ -0,0 +1,38 @@ +--- +title: help.inviteText +description: Text of a text message with an invitation to install application. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.inviteText +[Back to constructors index](index.md) + + + +Text of a text message with an invitation to install application. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|message|[string](../types/string.md) | Yes|Text of a message| + + + +### Type: [help.InviteText](../types/help.InviteText.md) + + +### Example: + +```php +$help.inviteText = ['_' => 'help.inviteText', 'message' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +help.inviteText={_='help.inviteText', message='string'} + +``` + + diff --git a/old_docs/API_docs_v100/constructors/help.noAppUpdate.md b/old_docs/API_docs_v100/constructors/help.noAppUpdate.md new file mode 100644 index 00000000..1b69ac9a --- /dev/null +++ b/old_docs/API_docs_v100/constructors/help.noAppUpdate.md @@ -0,0 +1,33 @@ +--- +title: help.noAppUpdate +description: No updates are available for the application. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.noAppUpdate +[Back to constructors index](index.md) + + + +No updates are available for the application. + + + + +### Type: [help.AppUpdate](../types/help.AppUpdate.md) + + +### Example: + +```php +$help.noAppUpdate = ['_' => 'help.noAppUpdate']; +``` + + +Or, if you're into Lua: + +```lua +help.noAppUpdate={_='help.noAppUpdate'} + +``` + + diff --git a/old_docs/API_docs_v100/constructors/help.passportConfig.md b/old_docs/API_docs_v100/constructors/help.passportConfig.md new file mode 100644 index 00000000..b418b611 --- /dev/null +++ b/old_docs/API_docs_v100/constructors/help.passportConfig.md @@ -0,0 +1,39 @@ +--- +title: help.passportConfig +description: Telegram [passport](https://core.telegram.org/passport) configuration +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.passportConfig +[Back to constructors index](index.md) + + + +Telegram [passport](https://core.telegram.org/passport) configuration + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|countries\_langs|[DataJSON](../types/DataJSON.md) | Yes|Localization| + + + +### Type: [help.PassportConfig](../types/help.PassportConfig.md) + + +### Example: + +```php +$help.passportConfig = ['_' => 'help.passportConfig', 'hash' => int, 'countries_langs' => DataJSON]; +``` + + +Or, if you're into Lua: + +```lua +help.passportConfig={_='help.passportConfig', hash=int, countries_langs=DataJSON} + +``` + + diff --git a/old_docs/API_docs_v100/constructors/help.passportConfigNotModified.md b/old_docs/API_docs_v100/constructors/help.passportConfigNotModified.md new file mode 100644 index 00000000..d48cc55b --- /dev/null +++ b/old_docs/API_docs_v100/constructors/help.passportConfigNotModified.md @@ -0,0 +1,33 @@ +--- +title: help.passportConfigNotModified +description: Password configuration not modified +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.passportConfigNotModified +[Back to constructors index](index.md) + + + +Password configuration not modified + + + + +### Type: [help.PassportConfig](../types/help.PassportConfig.md) + + +### Example: + +```php +$help.passportConfigNotModified = ['_' => 'help.passportConfigNotModified']; +``` + + +Or, if you're into Lua: + +```lua +help.passportConfigNotModified={_='help.passportConfigNotModified'} + +``` + + diff --git a/old_docs/API_docs_v100/constructors/help.proxyDataEmpty.md b/old_docs/API_docs_v100/constructors/help.proxyDataEmpty.md new file mode 100644 index 00000000..66fd63ac --- /dev/null +++ b/old_docs/API_docs_v100/constructors/help.proxyDataEmpty.md @@ -0,0 +1,38 @@ +--- +title: help.proxyDataEmpty +description: No proxy was used to connect to tg (or none was provided to [initConnection](../methods/initConnection.md), or the used proxy doesn't have a promotion channel associated to it) +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.proxyDataEmpty +[Back to constructors index](index.md) + + + +No proxy was used to connect to tg (or none was provided to [initConnection](../methods/initConnection.md), or the used proxy doesn't have a promotion channel associated to it) + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|expires|[int](../types/int.md) | Yes|Expiration date of proxy info, will have to be refetched in `expires` seconds| + + + +### Type: [help.ProxyData](../types/help.ProxyData.md) + + +### Example: + +```php +$help.proxyDataEmpty = ['_' => 'help.proxyDataEmpty', 'expires' => int]; +``` + + +Or, if you're into Lua: + +```lua +help.proxyDataEmpty={_='help.proxyDataEmpty', expires=int} + +``` + + diff --git a/old_docs/API_docs_v100/constructors/help.proxyDataPromo.md b/old_docs/API_docs_v100/constructors/help.proxyDataPromo.md new file mode 100644 index 00000000..eb32aabd --- /dev/null +++ b/old_docs/API_docs_v100/constructors/help.proxyDataPromo.md @@ -0,0 +1,41 @@ +--- +title: help.proxyDataPromo +description: Promotion channel associated to a certain MTProxy +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.proxyDataPromo +[Back to constructors index](index.md) + + + +Promotion channel associated to a certain MTProxy + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|expires|[int](../types/int.md) | Yes|Expiration date of proxy info, will have to be refetched in `expires` seconds| +|peer|[Peer](../types/Peer.md) | Yes|The promoted channel| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [help.ProxyData](../types/help.ProxyData.md) + + +### Example: + +```php +$help.proxyDataPromo = ['_' => 'help.proxyDataPromo', 'expires' => int, 'peer' => Peer, 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +help.proxyDataPromo={_='help.proxyDataPromo', expires=int, peer=Peer, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v100/constructors/help.recentMeUrls.md b/old_docs/API_docs_v100/constructors/help.recentMeUrls.md new file mode 100644 index 00000000..711407b7 --- /dev/null +++ b/old_docs/API_docs_v100/constructors/help.recentMeUrls.md @@ -0,0 +1,40 @@ +--- +title: help.recentMeUrls +description: Recent t.me URLs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.recentMeUrls +[Back to constructors index](index.md) + + + +Recent t.me URLs + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|urls|Array of [RecentMeUrl](../types/RecentMeUrl.md) | Yes|URLs| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [help.RecentMeUrls](../types/help.RecentMeUrls.md) + + +### Example: + +```php +$help.recentMeUrls = ['_' => 'help.recentMeUrls', 'urls' => [RecentMeUrl, RecentMeUrl], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +help.recentMeUrls={_='help.recentMeUrls', urls={RecentMeUrl}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v100/constructors/help.support.md b/old_docs/API_docs_v100/constructors/help.support.md new file mode 100644 index 00000000..4d4f85fb --- /dev/null +++ b/old_docs/API_docs_v100/constructors/help.support.md @@ -0,0 +1,39 @@ +--- +title: help.support +description: Info on support user. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.support +[Back to constructors index](index.md) + + + +Info on support user. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_number|[string](../types/string.md) | Yes|Phone number| +|user|[User](../types/User.md) | Optional|User| + + + +### Type: [help.Support](../types/help.Support.md) + + +### Example: + +```php +$help.support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => User]; +``` + + +Or, if you're into Lua: + +```lua +help.support={_='help.support', phone_number='string', user=User} + +``` + + diff --git a/old_docs/API_docs_v100/constructors/help.supportName.md b/old_docs/API_docs_v100/constructors/help.supportName.md new file mode 100644 index 00000000..3d66c8d9 --- /dev/null +++ b/old_docs/API_docs_v100/constructors/help.supportName.md @@ -0,0 +1,38 @@ +--- +title: help.supportName +description: Localized name for telegram support +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.supportName +[Back to constructors index](index.md) + + + +Localized name for telegram support + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|name|[string](../types/string.md) | Yes|Localized name| + + + +### Type: [help.SupportName](../types/help.SupportName.md) + + +### Example: + +```php +$help.supportName = ['_' => 'help.supportName', 'name' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +help.supportName={_='help.supportName', name='string'} + +``` + + diff --git a/old_docs/API_docs_v100/constructors/help.termsOfService.md b/old_docs/API_docs_v100/constructors/help.termsOfService.md new file mode 100644 index 00000000..61ffb70a --- /dev/null +++ b/old_docs/API_docs_v100/constructors/help.termsOfService.md @@ -0,0 +1,42 @@ +--- +title: help.termsOfService +description: Info about the latest telegram Terms Of Service +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.termsOfService +[Back to constructors index](index.md) + + + +Info about the latest telegram Terms Of Service + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|popup|[Bool](../types/Bool.md) | Optional|Whether a prompt must be showed to the user, in order to accept the new terms.| +|id|[DataJSON](../types/DataJSON.md) | Yes|ID of the new terms| +|text|[string](../types/string.md) | Yes|Text of the new terms| +|entities|Array of [MessageEntity](../types/MessageEntity.md) | Yes|Entities| +|min\_age\_confirm|[int](../types/int.md) | Optional|Minimum age required to sign up to telegram, the user must confirm that they is older than the minimum age.| + + + +### Type: [help.TermsOfService](../types/help.TermsOfService.md) + + +### Example: + +```php +$help.termsOfService = ['_' => 'help.termsOfService', 'popup' => Bool, 'id' => DataJSON, 'text' => 'string', 'entities' => [MessageEntity, MessageEntity], 'min_age_confirm' => int]; +``` + + +Or, if you're into Lua: + +```lua +help.termsOfService={_='help.termsOfService', popup=Bool, id=DataJSON, text='string', entities={MessageEntity}, min_age_confirm=int} + +``` + + diff --git a/old_docs/API_docs_v100/constructors/help.termsOfServiceUpdate.md b/old_docs/API_docs_v100/constructors/help.termsOfServiceUpdate.md new file mode 100644 index 00000000..058a3655 --- /dev/null +++ b/old_docs/API_docs_v100/constructors/help.termsOfServiceUpdate.md @@ -0,0 +1,39 @@ +--- +title: help.termsOfServiceUpdate +description: Info about an update of telegram's terms of service. If the terms of service are declined, then the [account.deleteAccount](../methods/account.deleteAccount.md) method should be called with the reason "Decline ToS update" +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.termsOfServiceUpdate +[Back to constructors index](index.md) + + + +Info about an update of telegram's terms of service. If the terms of service are declined, then the [account.deleteAccount](../methods/account.deleteAccount.md) method should be called with the reason "Decline ToS update" + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|expires|[int](../types/int.md) | Yes|New TOS updates will have to be queried using [help.getTermsOfServiceUpdate](../methods/help.getTermsOfServiceUpdate.md) in `expires` seconds| +|terms\_of\_service|[help.TermsOfService](../constructors/help.TermsOfService.md) | Yes|New terms of service| + + + +### Type: [help.TermsOfServiceUpdate](../types/help.TermsOfServiceUpdate.md) + + +### Example: + +```php +$help.termsOfServiceUpdate = ['_' => 'help.termsOfServiceUpdate', 'expires' => int, 'terms_of_service' => help.TermsOfService]; +``` + + +Or, if you're into Lua: + +```lua +help.termsOfServiceUpdate={_='help.termsOfServiceUpdate', expires=int, terms_of_service=help.TermsOfService} + +``` + + diff --git a/old_docs/API_docs_v100/constructors/help.termsOfServiceUpdateEmpty.md b/old_docs/API_docs_v100/constructors/help.termsOfServiceUpdateEmpty.md new file mode 100644 index 00000000..8213a41e --- /dev/null +++ b/old_docs/API_docs_v100/constructors/help.termsOfServiceUpdateEmpty.md @@ -0,0 +1,38 @@ +--- +title: help.termsOfServiceUpdateEmpty +description: No changes were made to telegram's terms of service +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.termsOfServiceUpdateEmpty +[Back to constructors index](index.md) + + + +No changes were made to telegram's terms of service + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|expires|[int](../types/int.md) | Yes|New TOS updates will have to be queried using [help.getTermsOfServiceUpdate](../methods/help.getTermsOfServiceUpdate.md) in `expires` seconds| + + + +### Type: [help.TermsOfServiceUpdate](../types/help.TermsOfServiceUpdate.md) + + +### Example: + +```php +$help.termsOfServiceUpdateEmpty = ['_' => 'help.termsOfServiceUpdateEmpty', 'expires' => int]; +``` + + +Or, if you're into Lua: + +```lua +help.termsOfServiceUpdateEmpty={_='help.termsOfServiceUpdateEmpty', expires=int} + +``` + + diff --git a/old_docs/API_docs_v100/constructors/help.userInfo.md b/old_docs/API_docs_v100/constructors/help.userInfo.md new file mode 100644 index 00000000..172df165 --- /dev/null +++ b/old_docs/API_docs_v100/constructors/help.userInfo.md @@ -0,0 +1,41 @@ +--- +title: help.userInfo +description: Internal use +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.userInfo +[Back to constructors index](index.md) + + + +Internal use + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|message|[string](../types/string.md) | Yes|Info| +|entities|Array of [MessageEntity](../types/MessageEntity.md) | Yes|Entities| +|author|[string](../types/string.md) | Yes|Author| +|date|[int](../types/int.md) | Yes|Date| + + + +### Type: [help.UserInfo](../types/help.UserInfo.md) + + +### Example: + +```php +$help.userInfo = ['_' => 'help.userInfo', 'message' => 'string', 'entities' => [MessageEntity, MessageEntity], 'author' => 'string', 'date' => int]; +``` + + +Or, if you're into Lua: + +```lua +help.userInfo={_='help.userInfo', message='string', entities={MessageEntity}, author='string', date=int} + +``` + + diff --git a/old_docs/API_docs_v100/constructors/help.userInfoEmpty.md b/old_docs/API_docs_v100/constructors/help.userInfoEmpty.md new file mode 100644 index 00000000..c284d602 --- /dev/null +++ b/old_docs/API_docs_v100/constructors/help.userInfoEmpty.md @@ -0,0 +1,33 @@ +--- +title: help.userInfoEmpty +description: Internal use +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.userInfoEmpty +[Back to constructors index](index.md) + + + +Internal use + + + + +### Type: [help.UserInfo](../types/help.UserInfo.md) + + +### Example: + +```php +$help.userInfoEmpty = ['_' => 'help.userInfoEmpty']; +``` + + +Or, if you're into Lua: + +```lua +help.userInfoEmpty={_='help.userInfoEmpty'} + +``` + + diff --git a/old_docs/API_docs_v100/constructors/help_appUpdate.md b/old_docs/API_docs_v100/constructors/help_appUpdate.md deleted file mode 100644 index 67960b34..00000000 --- a/old_docs/API_docs_v100/constructors/help_appUpdate.md +++ /dev/null @@ -1,44 +0,0 @@ ---- -title: help.appUpdate -description: An update is available for the application. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.appUpdate -[Back to constructors index](index.md) - - - -An update is available for the application. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|popup|[Bool](../types/Bool.md) | Optional|Popup?| -|id|[int](../types/int.md) | Yes|Update ID| -|version|[string](../types/string.md) | Yes|New version name| -|text|[string](../types/string.md) | Yes|Text description of the update| -|entities|Array of [MessageEntity](../types/MessageEntity.md) | Yes|Entities| -|document|[Document](../types/Document.md) | Optional|Attached document| -|url|[string](../types/string.md) | Optional|Application download URL| - - - -### Type: [help\_AppUpdate](../types/help_AppUpdate.md) - - -### Example: - -```php -$help_appUpdate = ['_' => 'help.appUpdate', 'popup' => Bool, 'id' => int, 'version' => 'string', 'text' => 'string', 'entities' => [MessageEntity, MessageEntity], 'document' => Document, 'url' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -help_appUpdate={_='help.appUpdate', popup=Bool, id=int, version='string', text='string', entities={MessageEntity}, document=Document, url='string'} - -``` - - diff --git a/old_docs/API_docs_v100/constructors/help_configSimple.md b/old_docs/API_docs_v100/constructors/help_configSimple.md deleted file mode 100644 index 8c07ec9b..00000000 --- a/old_docs/API_docs_v100/constructors/help_configSimple.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: help.configSimple -description: Config simple -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.configSimple -[Back to constructors index](index.md) - - - -Config simple - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Date| -|expires|[int](../types/int.md) | Yes|Expires| -|rules|Array of [AccessPointRule](../types/AccessPointRule.md) | Yes|Rules| - - - -### Type: [help\_ConfigSimple](../types/help_ConfigSimple.md) - - -### Example: - -```php -$help_configSimple = ['_' => 'help.configSimple', 'date' => int, 'expires' => int, 'rules' => [AccessPointRule, AccessPointRule]]; -``` - - -Or, if you're into Lua: - -```lua -help_configSimple={_='help.configSimple', date=int, expires=int, rules={AccessPointRule}} - -``` - - diff --git a/old_docs/API_docs_v100/constructors/help_deepLinkInfo.md b/old_docs/API_docs_v100/constructors/help_deepLinkInfo.md deleted file mode 100644 index bcc24ecd..00000000 --- a/old_docs/API_docs_v100/constructors/help_deepLinkInfo.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: help.deepLinkInfo -description: Deep linking info -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.deepLinkInfo -[Back to constructors index](index.md) - - - -Deep linking info - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|update\_app|[Bool](../types/Bool.md) | Optional|An update of the app is required to parse this link| -|message|[string](../types/string.md) | Yes|Message to show to the user| -|entities|Array of [MessageEntity](../types/MessageEntity.md) | Optional|Entities| - - - -### Type: [help\_DeepLinkInfo](../types/help_DeepLinkInfo.md) - - -### Example: - -```php -$help_deepLinkInfo = ['_' => 'help.deepLinkInfo', 'update_app' => Bool, 'message' => 'string', 'entities' => [MessageEntity, MessageEntity]]; -``` - - -Or, if you're into Lua: - -```lua -help_deepLinkInfo={_='help.deepLinkInfo', update_app=Bool, message='string', entities={MessageEntity}} - -``` - - diff --git a/old_docs/API_docs_v100/constructors/help_deepLinkInfoEmpty.md b/old_docs/API_docs_v100/constructors/help_deepLinkInfoEmpty.md deleted file mode 100644 index ab876dd5..00000000 --- a/old_docs/API_docs_v100/constructors/help_deepLinkInfoEmpty.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: help.deepLinkInfoEmpty -description: Deep link info empty -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.deepLinkInfoEmpty -[Back to constructors index](index.md) - - - -Deep link info empty - - - - -### Type: [help\_DeepLinkInfo](../types/help_DeepLinkInfo.md) - - -### Example: - -```php -$help_deepLinkInfoEmpty = ['_' => 'help.deepLinkInfoEmpty']; -``` - - -Or, if you're into Lua: - -```lua -help_deepLinkInfoEmpty={_='help.deepLinkInfoEmpty'} - -``` - - diff --git a/old_docs/API_docs_v100/constructors/help_inviteText.md b/old_docs/API_docs_v100/constructors/help_inviteText.md deleted file mode 100644 index b8317ce3..00000000 --- a/old_docs/API_docs_v100/constructors/help_inviteText.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: help.inviteText -description: Text of a text message with an invitation to install application. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.inviteText -[Back to constructors index](index.md) - - - -Text of a text message with an invitation to install application. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|message|[string](../types/string.md) | Yes|Text of a message| - - - -### Type: [help\_InviteText](../types/help_InviteText.md) - - -### Example: - -```php -$help_inviteText = ['_' => 'help.inviteText', 'message' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -help_inviteText={_='help.inviteText', message='string'} - -``` - - diff --git a/old_docs/API_docs_v100/constructors/help_noAppUpdate.md b/old_docs/API_docs_v100/constructors/help_noAppUpdate.md deleted file mode 100644 index 51505e52..00000000 --- a/old_docs/API_docs_v100/constructors/help_noAppUpdate.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: help.noAppUpdate -description: No updates are available for the application. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.noAppUpdate -[Back to constructors index](index.md) - - - -No updates are available for the application. - - - - -### Type: [help\_AppUpdate](../types/help_AppUpdate.md) - - -### Example: - -```php -$help_noAppUpdate = ['_' => 'help.noAppUpdate']; -``` - - -Or, if you're into Lua: - -```lua -help_noAppUpdate={_='help.noAppUpdate'} - -``` - - diff --git a/old_docs/API_docs_v100/constructors/help_passportConfig.md b/old_docs/API_docs_v100/constructors/help_passportConfig.md deleted file mode 100644 index 9722c925..00000000 --- a/old_docs/API_docs_v100/constructors/help_passportConfig.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: help.passportConfig -description: Telegram [passport](https://core.telegram.org/passport) configuration -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.passportConfig -[Back to constructors index](index.md) - - - -Telegram [passport](https://core.telegram.org/passport) configuration - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|countries\_langs|[DataJSON](../types/DataJSON.md) | Yes|Localization| - - - -### Type: [help\_PassportConfig](../types/help_PassportConfig.md) - - -### Example: - -```php -$help_passportConfig = ['_' => 'help.passportConfig', 'hash' => int, 'countries_langs' => DataJSON]; -``` - - -Or, if you're into Lua: - -```lua -help_passportConfig={_='help.passportConfig', hash=int, countries_langs=DataJSON} - -``` - - diff --git a/old_docs/API_docs_v100/constructors/help_passportConfigNotModified.md b/old_docs/API_docs_v100/constructors/help_passportConfigNotModified.md deleted file mode 100644 index af7769aa..00000000 --- a/old_docs/API_docs_v100/constructors/help_passportConfigNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: help.passportConfigNotModified -description: Password configuration not modified -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.passportConfigNotModified -[Back to constructors index](index.md) - - - -Password configuration not modified - - - - -### Type: [help\_PassportConfig](../types/help_PassportConfig.md) - - -### Example: - -```php -$help_passportConfigNotModified = ['_' => 'help.passportConfigNotModified']; -``` - - -Or, if you're into Lua: - -```lua -help_passportConfigNotModified={_='help.passportConfigNotModified'} - -``` - - diff --git a/old_docs/API_docs_v100/constructors/help_proxyDataEmpty.md b/old_docs/API_docs_v100/constructors/help_proxyDataEmpty.md deleted file mode 100644 index 96efddd3..00000000 --- a/old_docs/API_docs_v100/constructors/help_proxyDataEmpty.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: help.proxyDataEmpty -description: No proxy was used to connect to tg (or none was provided to [initConnection](../methods/initConnection.md), or the used proxy doesn't have a promotion channel associated to it) -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.proxyDataEmpty -[Back to constructors index](index.md) - - - -No proxy was used to connect to tg (or none was provided to [initConnection](../methods/initConnection.md), or the used proxy doesn't have a promotion channel associated to it) - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|expires|[int](../types/int.md) | Yes|Expiration date of proxy info, will have to be refetched in `expires` seconds| - - - -### Type: [help\_ProxyData](../types/help_ProxyData.md) - - -### Example: - -```php -$help_proxyDataEmpty = ['_' => 'help.proxyDataEmpty', 'expires' => int]; -``` - - -Or, if you're into Lua: - -```lua -help_proxyDataEmpty={_='help.proxyDataEmpty', expires=int} - -``` - - diff --git a/old_docs/API_docs_v100/constructors/help_proxyDataPromo.md b/old_docs/API_docs_v100/constructors/help_proxyDataPromo.md deleted file mode 100644 index 54ca7edb..00000000 --- a/old_docs/API_docs_v100/constructors/help_proxyDataPromo.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: help.proxyDataPromo -description: Promotion channel associated to a certain MTProxy -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.proxyDataPromo -[Back to constructors index](index.md) - - - -Promotion channel associated to a certain MTProxy - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|expires|[int](../types/int.md) | Yes|Expiration date of proxy info, will have to be refetched in `expires` seconds| -|peer|[Peer](../types/Peer.md) | Yes|The promoted channel| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [help\_ProxyData](../types/help_ProxyData.md) - - -### Example: - -```php -$help_proxyDataPromo = ['_' => 'help.proxyDataPromo', 'expires' => int, 'peer' => Peer, 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -help_proxyDataPromo={_='help.proxyDataPromo', expires=int, peer=Peer, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v100/constructors/help_recentMeUrls.md b/old_docs/API_docs_v100/constructors/help_recentMeUrls.md deleted file mode 100644 index 7bf592ef..00000000 --- a/old_docs/API_docs_v100/constructors/help_recentMeUrls.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: help.recentMeUrls -description: Recent t.me URLs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.recentMeUrls -[Back to constructors index](index.md) - - - -Recent t.me URLs - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|urls|Array of [RecentMeUrl](../types/RecentMeUrl.md) | Yes|URLs| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [help\_RecentMeUrls](../types/help_RecentMeUrls.md) - - -### Example: - -```php -$help_recentMeUrls = ['_' => 'help.recentMeUrls', 'urls' => [RecentMeUrl, RecentMeUrl], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -help_recentMeUrls={_='help.recentMeUrls', urls={RecentMeUrl}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v100/constructors/help_support.md b/old_docs/API_docs_v100/constructors/help_support.md deleted file mode 100644 index 148f7f42..00000000 --- a/old_docs/API_docs_v100/constructors/help_support.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: help.support -description: Info on support user. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.support -[Back to constructors index](index.md) - - - -Info on support user. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_number|[string](../types/string.md) | Yes|Phone number| -|user|[User](../types/User.md) | Optional|User| - - - -### Type: [help\_Support](../types/help_Support.md) - - -### Example: - -```php -$help_support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => User]; -``` - - -Or, if you're into Lua: - -```lua -help_support={_='help.support', phone_number='string', user=User} - -``` - - diff --git a/old_docs/API_docs_v100/constructors/help_supportName.md b/old_docs/API_docs_v100/constructors/help_supportName.md deleted file mode 100644 index b4bc77d4..00000000 --- a/old_docs/API_docs_v100/constructors/help_supportName.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: help.supportName -description: Localized name for telegram support -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.supportName -[Back to constructors index](index.md) - - - -Localized name for telegram support - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|name|[string](../types/string.md) | Yes|Localized name| - - - -### Type: [help\_SupportName](../types/help_SupportName.md) - - -### Example: - -```php -$help_supportName = ['_' => 'help.supportName', 'name' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -help_supportName={_='help.supportName', name='string'} - -``` - - diff --git a/old_docs/API_docs_v100/constructors/help_termsOfService.md b/old_docs/API_docs_v100/constructors/help_termsOfService.md deleted file mode 100644 index f9d496e5..00000000 --- a/old_docs/API_docs_v100/constructors/help_termsOfService.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: help.termsOfService -description: Info about the latest telegram Terms Of Service -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.termsOfService -[Back to constructors index](index.md) - - - -Info about the latest telegram Terms Of Service - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|popup|[Bool](../types/Bool.md) | Optional|Whether a prompt must be showed to the user, in order to accept the new terms.| -|id|[DataJSON](../types/DataJSON.md) | Yes|ID of the new terms| -|text|[string](../types/string.md) | Yes|Text of the new terms| -|entities|Array of [MessageEntity](../types/MessageEntity.md) | Yes|Entities| -|min\_age\_confirm|[int](../types/int.md) | Optional|Minimum age required to sign up to telegram, the user must confirm that they is older than the minimum age.| - - - -### Type: [help\_TermsOfService](../types/help_TermsOfService.md) - - -### Example: - -```php -$help_termsOfService = ['_' => 'help.termsOfService', 'popup' => Bool, 'id' => DataJSON, 'text' => 'string', 'entities' => [MessageEntity, MessageEntity], 'min_age_confirm' => int]; -``` - - -Or, if you're into Lua: - -```lua -help_termsOfService={_='help.termsOfService', popup=Bool, id=DataJSON, text='string', entities={MessageEntity}, min_age_confirm=int} - -``` - - diff --git a/old_docs/API_docs_v100/constructors/help_termsOfServiceUpdate.md b/old_docs/API_docs_v100/constructors/help_termsOfServiceUpdate.md deleted file mode 100644 index c9e80319..00000000 --- a/old_docs/API_docs_v100/constructors/help_termsOfServiceUpdate.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: help.termsOfServiceUpdate -description: Info about an update of telegram's terms of service. If the terms of service are declined, then the [account.deleteAccount](../methods/account.deleteAccount.md) method should be called with the reason "Decline ToS update" -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.termsOfServiceUpdate -[Back to constructors index](index.md) - - - -Info about an update of telegram's terms of service. If the terms of service are declined, then the [account.deleteAccount](../methods/account.deleteAccount.md) method should be called with the reason "Decline ToS update" - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|expires|[int](../types/int.md) | Yes|New TOS updates will have to be queried using [help.getTermsOfServiceUpdate](../methods/help.getTermsOfServiceUpdate.md) in `expires` seconds| -|terms\_of\_service|[help\_TermsOfService](../types/help_TermsOfService.md) | Yes|New terms of service| - - - -### Type: [help\_TermsOfServiceUpdate](../types/help_TermsOfServiceUpdate.md) - - -### Example: - -```php -$help_termsOfServiceUpdate = ['_' => 'help.termsOfServiceUpdate', 'expires' => int, 'terms_of_service' => help_TermsOfService]; -``` - - -Or, if you're into Lua: - -```lua -help_termsOfServiceUpdate={_='help.termsOfServiceUpdate', expires=int, terms_of_service=help_TermsOfService} - -``` - - diff --git a/old_docs/API_docs_v100/constructors/help_termsOfServiceUpdateEmpty.md b/old_docs/API_docs_v100/constructors/help_termsOfServiceUpdateEmpty.md deleted file mode 100644 index d4d753fc..00000000 --- a/old_docs/API_docs_v100/constructors/help_termsOfServiceUpdateEmpty.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: help.termsOfServiceUpdateEmpty -description: No changes were made to telegram's terms of service -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.termsOfServiceUpdateEmpty -[Back to constructors index](index.md) - - - -No changes were made to telegram's terms of service - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|expires|[int](../types/int.md) | Yes|New TOS updates will have to be queried using [help.getTermsOfServiceUpdate](../methods/help.getTermsOfServiceUpdate.md) in `expires` seconds| - - - -### Type: [help\_TermsOfServiceUpdate](../types/help_TermsOfServiceUpdate.md) - - -### Example: - -```php -$help_termsOfServiceUpdateEmpty = ['_' => 'help.termsOfServiceUpdateEmpty', 'expires' => int]; -``` - - -Or, if you're into Lua: - -```lua -help_termsOfServiceUpdateEmpty={_='help.termsOfServiceUpdateEmpty', expires=int} - -``` - - diff --git a/old_docs/API_docs_v100/constructors/help_userInfo.md b/old_docs/API_docs_v100/constructors/help_userInfo.md deleted file mode 100644 index a444124b..00000000 --- a/old_docs/API_docs_v100/constructors/help_userInfo.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: help.userInfo -description: Internal use -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.userInfo -[Back to constructors index](index.md) - - - -Internal use - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|message|[string](../types/string.md) | Yes|Info| -|entities|Array of [MessageEntity](../types/MessageEntity.md) | Yes|Entities| -|author|[string](../types/string.md) | Yes|Author| -|date|[int](../types/int.md) | Yes|Date| - - - -### Type: [help\_UserInfo](../types/help_UserInfo.md) - - -### Example: - -```php -$help_userInfo = ['_' => 'help.userInfo', 'message' => 'string', 'entities' => [MessageEntity, MessageEntity], 'author' => 'string', 'date' => int]; -``` - - -Or, if you're into Lua: - -```lua -help_userInfo={_='help.userInfo', message='string', entities={MessageEntity}, author='string', date=int} - -``` - - diff --git a/old_docs/API_docs_v100/constructors/help_userInfoEmpty.md b/old_docs/API_docs_v100/constructors/help_userInfoEmpty.md deleted file mode 100644 index 66690c62..00000000 --- a/old_docs/API_docs_v100/constructors/help_userInfoEmpty.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: help.userInfoEmpty -description: Internal use -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.userInfoEmpty -[Back to constructors index](index.md) - - - -Internal use - - - - -### Type: [help\_UserInfo](../types/help_UserInfo.md) - - -### Example: - -```php -$help_userInfoEmpty = ['_' => 'help.userInfoEmpty']; -``` - - -Or, if you're into Lua: - -```lua -help_userInfoEmpty={_='help.userInfoEmpty'} - -``` - - diff --git a/old_docs/API_docs_v100/constructors/messages.affectedHistory.md b/old_docs/API_docs_v100/constructors/messages.affectedHistory.md new file mode 100644 index 00000000..5fc8acec --- /dev/null +++ b/old_docs/API_docs_v100/constructors/messages.affectedHistory.md @@ -0,0 +1,40 @@ +--- +title: messages.affectedHistory +description: Affected part of communication history with the user or in a chat. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.affectedHistory +[Back to constructors index](index.md) + + + +Affected part of communication history with the user or in a chat. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| +|pts\_count|[int](../types/int.md) | Yes|Number of affected events| +|offset|[int](../types/int.md) | Yes|If a parameter contains positive value, it is necessary to repeat the method call using the given value; during the proceeding of all the history the value itself shall gradually decrease| + + + +### Type: [messages.AffectedHistory](../types/messages.AffectedHistory.md) + + +### Example: + +```php +$messages.affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.affectedHistory={_='messages.affectedHistory', pts=int, pts_count=int, offset=int} + +``` + + diff --git a/old_docs/API_docs_v100/constructors/messages.affectedMessages.md b/old_docs/API_docs_v100/constructors/messages.affectedMessages.md new file mode 100644 index 00000000..a0e60bdf --- /dev/null +++ b/old_docs/API_docs_v100/constructors/messages.affectedMessages.md @@ -0,0 +1,39 @@ +--- +title: messages.affectedMessages +description: Events affected by operation +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.affectedMessages +[Back to constructors index](index.md) + + + +Events affected by operation + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|[Event count after generation](https://core.telegram.org/api/updates)| +|pts\_count|[int](../types/int.md) | Yes|[Number of events that were generated](https://core.telegram.org/api/updates)| + + + +### Type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) + + +### Example: + +```php +$messages.affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.affectedMessages={_='messages.affectedMessages', pts=int, pts_count=int} + +``` + + diff --git a/old_docs/API_docs_v100/constructors/messages.allStickers.md b/old_docs/API_docs_v100/constructors/messages.allStickers.md new file mode 100644 index 00000000..5f13bfde --- /dev/null +++ b/old_docs/API_docs_v100/constructors/messages.allStickers.md @@ -0,0 +1,39 @@ +--- +title: messages.allStickers +description: Info about all installed stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.allStickers +[Back to constructors index](index.md) + + + +Info about all installed stickers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|sets|Array of [StickerSet](../types/StickerSet.md) | Yes|Sets| + + + +### Type: [messages.AllStickers](../types/messages.AllStickers.md) + + +### Example: + +```php +$messages.allStickers = ['_' => 'messages.allStickers', 'hash' => int, 'sets' => [StickerSet, StickerSet]]; +``` + + +Or, if you're into Lua: + +```lua +messages.allStickers={_='messages.allStickers', hash=int, sets={StickerSet}} + +``` + + diff --git a/old_docs/API_docs_v100/constructors/messages.allStickersNotModified.md b/old_docs/API_docs_v100/constructors/messages.allStickersNotModified.md new file mode 100644 index 00000000..d3db088b --- /dev/null +++ b/old_docs/API_docs_v100/constructors/messages.allStickersNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.allStickersNotModified +description: Info about all installed stickers hasn't changed +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.allStickersNotModified +[Back to constructors index](index.md) + + + +Info about all installed stickers hasn't changed + + + + +### Type: [messages.AllStickers](../types/messages.AllStickers.md) + + +### Example: + +```php +$messages.allStickersNotModified = ['_' => 'messages.allStickersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.allStickersNotModified={_='messages.allStickersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v100/constructors/messages.archivedStickers.md b/old_docs/API_docs_v100/constructors/messages.archivedStickers.md new file mode 100644 index 00000000..6ad9927c --- /dev/null +++ b/old_docs/API_docs_v100/constructors/messages.archivedStickers.md @@ -0,0 +1,39 @@ +--- +title: messages.archivedStickers +description: Archived stickersets +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.archivedStickers +[Back to constructors index](index.md) + + + +Archived stickersets + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Number of archived stickers| +|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| + + + +### Type: [messages.ArchivedStickers](../types/messages.ArchivedStickers.md) + + +### Example: + +```php +$messages.archivedStickers = ['_' => 'messages.archivedStickers', 'count' => int, 'sets' => [StickerSetCovered, StickerSetCovered]]; +``` + + +Or, if you're into Lua: + +```lua +messages.archivedStickers={_='messages.archivedStickers', count=int, sets={StickerSetCovered}} + +``` + + diff --git a/old_docs/API_docs_v100/constructors/messages.botCallbackAnswer.md b/old_docs/API_docs_v100/constructors/messages.botCallbackAnswer.md new file mode 100644 index 00000000..08bfeba5 --- /dev/null +++ b/old_docs/API_docs_v100/constructors/messages.botCallbackAnswer.md @@ -0,0 +1,43 @@ +--- +title: messages.botCallbackAnswer +description: Callback answer sent by the bot in response to a button press +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.botCallbackAnswer +[Back to constructors index](index.md) + + + +Callback answer sent by the bot in response to a button press + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|alert|[Bool](../types/Bool.md) | Optional|Whether an alert should be shown to the user instead of a toast notification| +|has\_url|[Bool](../types/Bool.md) | Optional|Whether an URL is present| +|native\_ui|[Bool](../types/Bool.md) | Optional|Whether to show games in WebView or in native UI.| +|message|[string](../types/string.md) | Optional|Alert to show| +|url|[string](../types/string.md) | Optional|URL to open| +|cache\_time|[int](../types/int.md) | Yes|For how long should this answer be cached| + + + +### Type: [messages.BotCallbackAnswer](../types/messages.BotCallbackAnswer.md) + + +### Example: + +```php +$messages.botCallbackAnswer = ['_' => 'messages.botCallbackAnswer', 'alert' => Bool, 'has_url' => Bool, 'native_ui' => Bool, 'message' => 'string', 'url' => 'string', 'cache_time' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.botCallbackAnswer={_='messages.botCallbackAnswer', alert=Bool, has_url=Bool, native_ui=Bool, message='string', url='string', cache_time=int} + +``` + + diff --git a/old_docs/API_docs_v100/constructors/messages.botResults.md b/old_docs/API_docs_v100/constructors/messages.botResults.md new file mode 100644 index 00000000..7b6dcfba --- /dev/null +++ b/old_docs/API_docs_v100/constructors/messages.botResults.md @@ -0,0 +1,44 @@ +--- +title: messages.botResults +description: Result of a query to an inline bot +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.botResults +[Back to constructors index](index.md) + + + +Result of a query to an inline bot + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|gallery|[Bool](../types/Bool.md) | Optional|Whether the result is a picture gallery| +|query\_id|[long](../types/long.md) | Yes|Query ID| +|next\_offset|[string](../types/string.md) | Optional|The next offset to use when navigating through results| +|switch\_pm|[InlineBotSwitchPM](../types/InlineBotSwitchPM.md) | Optional|Whether the bot requested the user to message him in private| +|results|Array of [BotInlineResult](../types/BotInlineResult.md) | Yes|Results| +|cache\_time|[int](../types/int.md) | Yes|Caching validity of the results| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.BotResults](../types/messages.BotResults.md) + + +### Example: + +```php +$messages.botResults = ['_' => 'messages.botResults', 'gallery' => Bool, 'query_id' => long, 'next_offset' => 'string', 'switch_pm' => InlineBotSwitchPM, 'results' => [BotInlineResult, BotInlineResult], 'cache_time' => int, 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.botResults={_='messages.botResults', gallery=Bool, query_id=long, next_offset='string', switch_pm=InlineBotSwitchPM, results={BotInlineResult}, cache_time=int, users={User}} + +``` + + diff --git a/old_docs/API_docs_v100/constructors/messages.channelMessages.md b/old_docs/API_docs_v100/constructors/messages.channelMessages.md new file mode 100644 index 00000000..8a8ca98a --- /dev/null +++ b/old_docs/API_docs_v100/constructors/messages.channelMessages.md @@ -0,0 +1,43 @@ +--- +title: messages.channelMessages +description: Channel messages +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.channelMessages +[Back to constructors index](index.md) + + + +Channel messages + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|inexact|[Bool](../types/Bool.md) | Optional|If set, returned results may be inexact| +|pts|[int](../types/int.md) | Yes|[Event count after generation](https://core.telegram.org/api/updates)| +|count|[int](../types/int.md) | Yes|Total number of results were found server-side (may not be all included here)| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Messages](../types/messages.Messages.md) + + +### Example: + +```php +$messages.channelMessages = ['_' => 'messages.channelMessages', 'inexact' => Bool, 'pts' => int, 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.channelMessages={_='messages.channelMessages', inexact=Bool, pts=int, count=int, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v100/constructors/messages.chatFull.md b/old_docs/API_docs_v100/constructors/messages.chatFull.md new file mode 100644 index 00000000..3906cc54 --- /dev/null +++ b/old_docs/API_docs_v100/constructors/messages.chatFull.md @@ -0,0 +1,40 @@ +--- +title: messages.chatFull +description: Extended info on chat and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.chatFull +[Back to constructors index](index.md) + + + +Extended info on chat and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|full\_chat|[ChatFull](../types/ChatFull.md) | Yes|Extended info on a chat| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.ChatFull](../types/messages.ChatFull.md) + + +### Example: + +```php +$messages.chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.chatFull={_='messages.chatFull', full_chat=ChatFull, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v100/constructors/messages.chats.md b/old_docs/API_docs_v100/constructors/messages.chats.md new file mode 100644 index 00000000..9ede9ff2 --- /dev/null +++ b/old_docs/API_docs_v100/constructors/messages.chats.md @@ -0,0 +1,38 @@ +--- +title: messages.chats +description: List of chats with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.chats +[Back to constructors index](index.md) + + + +List of chats with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| + + + +### Type: [messages.Chats](../types/messages.Chats.md) + + +### Example: + +```php +$messages.chats = ['_' => 'messages.chats', 'chats' => [Chat, Chat]]; +``` + + +Or, if you're into Lua: + +```lua +messages.chats={_='messages.chats', chats={Chat}} + +``` + + diff --git a/old_docs/API_docs_v100/constructors/messages.chatsSlice.md b/old_docs/API_docs_v100/constructors/messages.chatsSlice.md new file mode 100644 index 00000000..efd153e0 --- /dev/null +++ b/old_docs/API_docs_v100/constructors/messages.chatsSlice.md @@ -0,0 +1,39 @@ +--- +title: messages.chatsSlice +description: Partial list of chats, more would have to be fetched with [pagination](https://core.telegram.org/api/offsets) +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.chatsSlice +[Back to constructors index](index.md) + + + +Partial list of chats, more would have to be fetched with [pagination](https://core.telegram.org/api/offsets) + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of results that were found server-side (not all are included in `chats`)| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| + + + +### Type: [messages.Chats](../types/messages.Chats.md) + + +### Example: + +```php +$messages.chatsSlice = ['_' => 'messages.chatsSlice', 'count' => int, 'chats' => [Chat, Chat]]; +``` + + +Or, if you're into Lua: + +```lua +messages.chatsSlice={_='messages.chatsSlice', count=int, chats={Chat}} + +``` + + diff --git a/old_docs/API_docs_v100/constructors/messages.dhConfig.md b/old_docs/API_docs_v100/constructors/messages.dhConfig.md new file mode 100644 index 00000000..58344f64 --- /dev/null +++ b/old_docs/API_docs_v100/constructors/messages.dhConfig.md @@ -0,0 +1,41 @@ +--- +title: messages.dhConfig +description: New set of configuring parameters. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dhConfig +[Back to constructors index](index.md) + + + +New set of configuring parameters. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|g|[int](../types/int.md) | Yes|New value **prime**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| +|p|[bytes](../types/bytes.md) | Yes|New value **primitive root**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| +|version|[int](../types/int.md) | Yes|Vestion of set of parameters| +|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| + + + +### Type: [messages.DhConfig](../types/messages.DhConfig.md) + + +### Example: + +```php +$messages.dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'version' => int, 'random' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +messages.dhConfig={_='messages.dhConfig', g=int, p='bytes', version=int, random='bytes'} + +``` + + diff --git a/old_docs/API_docs_v100/constructors/messages.dhConfigNotModified.md b/old_docs/API_docs_v100/constructors/messages.dhConfigNotModified.md new file mode 100644 index 00000000..a9a95389 --- /dev/null +++ b/old_docs/API_docs_v100/constructors/messages.dhConfigNotModified.md @@ -0,0 +1,38 @@ +--- +title: messages.dhConfigNotModified +description: Configuring parameters did not change. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dhConfigNotModified +[Back to constructors index](index.md) + + + +Configuring parameters did not change. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| + + + +### Type: [messages.DhConfig](../types/messages.DhConfig.md) + + +### Example: + +```php +$messages.dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +messages.dhConfigNotModified={_='messages.dhConfigNotModified', random='bytes'} + +``` + + diff --git a/old_docs/API_docs_v100/constructors/messages.dialogs.md b/old_docs/API_docs_v100/constructors/messages.dialogs.md new file mode 100644 index 00000000..a72eabce --- /dev/null +++ b/old_docs/API_docs_v100/constructors/messages.dialogs.md @@ -0,0 +1,41 @@ +--- +title: messages.dialogs +description: Full list of chats with messages and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dialogs +[Back to constructors index](index.md) + + + +Full list of chats with messages and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Dialogs](../types/messages.Dialogs.md) + + +### Example: + +```php +$messages.dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.dialogs={_='messages.dialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v100/constructors/messages.dialogsNotModified.md b/old_docs/API_docs_v100/constructors/messages.dialogsNotModified.md new file mode 100644 index 00000000..b4615516 --- /dev/null +++ b/old_docs/API_docs_v100/constructors/messages.dialogsNotModified.md @@ -0,0 +1,38 @@ +--- +title: messages.dialogsNotModified +description: Dialogs haven't changed +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dialogsNotModified +[Back to constructors index](index.md) + + + +Dialogs haven't changed + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Number of dialogs found server-side by the query| + + + +### Type: [messages.Dialogs](../types/messages.Dialogs.md) + + +### Example: + +```php +$messages.dialogsNotModified = ['_' => 'messages.dialogsNotModified', 'count' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.dialogsNotModified={_='messages.dialogsNotModified', count=int} + +``` + + diff --git a/old_docs/API_docs_v100/constructors/messages.dialogsSlice.md b/old_docs/API_docs_v100/constructors/messages.dialogsSlice.md new file mode 100644 index 00000000..26227d2c --- /dev/null +++ b/old_docs/API_docs_v100/constructors/messages.dialogsSlice.md @@ -0,0 +1,42 @@ +--- +title: messages.dialogsSlice +description: Incomplete list of dialogs with messages and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dialogsSlice +[Back to constructors index](index.md) + + + +Incomplete list of dialogs with messages and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of dialogs| +|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Dialogs](../types/messages.Dialogs.md) + + +### Example: + +```php +$messages.dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.dialogsSlice={_='messages.dialogsSlice', count=int, dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v100/constructors/messages.favedStickers.md b/old_docs/API_docs_v100/constructors/messages.favedStickers.md new file mode 100644 index 00000000..a5cfb7c9 --- /dev/null +++ b/old_docs/API_docs_v100/constructors/messages.favedStickers.md @@ -0,0 +1,40 @@ +--- +title: messages.favedStickers +description: Favorited stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.favedStickers +[Back to constructors index](index.md) + + + +Favorited stickers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|packs|Array of [StickerPack](../types/StickerPack.md) | Yes|Packs| +|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| + + + +### Type: [messages.FavedStickers](../types/messages.FavedStickers.md) + + +### Example: + +```php +$messages.favedStickers = ['_' => 'messages.favedStickers', 'hash' => int, 'packs' => [StickerPack, StickerPack], 'stickers' => [Document, Document]]; +``` + + +Or, if you're into Lua: + +```lua +messages.favedStickers={_='messages.favedStickers', hash=int, packs={StickerPack}, stickers={Document}} + +``` + + diff --git a/old_docs/API_docs_v100/constructors/messages.favedStickersNotModified.md b/old_docs/API_docs_v100/constructors/messages.favedStickersNotModified.md new file mode 100644 index 00000000..8723659e --- /dev/null +++ b/old_docs/API_docs_v100/constructors/messages.favedStickersNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.favedStickersNotModified +description: No new favorited stickers were found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.favedStickersNotModified +[Back to constructors index](index.md) + + + +No new favorited stickers were found + + + + +### Type: [messages.FavedStickers](../types/messages.FavedStickers.md) + + +### Example: + +```php +$messages.favedStickersNotModified = ['_' => 'messages.favedStickersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.favedStickersNotModified={_='messages.favedStickersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v100/constructors/messages.featuredStickers.md b/old_docs/API_docs_v100/constructors/messages.featuredStickers.md new file mode 100644 index 00000000..344376ea --- /dev/null +++ b/old_docs/API_docs_v100/constructors/messages.featuredStickers.md @@ -0,0 +1,40 @@ +--- +title: messages.featuredStickers +description: Featured stickersets +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.featuredStickers +[Back to constructors index](index.md) + + + +Featured stickersets + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| +|unread|Array of [long](../types/long.md) | Yes|Unread| + + + +### Type: [messages.FeaturedStickers](../types/messages.FeaturedStickers.md) + + +### Example: + +```php +$messages.featuredStickers = ['_' => 'messages.featuredStickers', 'hash' => int, 'sets' => [StickerSetCovered, StickerSetCovered], 'unread' => [long, long]]; +``` + + +Or, if you're into Lua: + +```lua +messages.featuredStickers={_='messages.featuredStickers', hash=int, sets={StickerSetCovered}, unread={long}} + +``` + + diff --git a/old_docs/API_docs_v100/constructors/messages.featuredStickersNotModified.md b/old_docs/API_docs_v100/constructors/messages.featuredStickersNotModified.md new file mode 100644 index 00000000..0fe9b4d5 --- /dev/null +++ b/old_docs/API_docs_v100/constructors/messages.featuredStickersNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.featuredStickersNotModified +description: Featured stickers haven't changed +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.featuredStickersNotModified +[Back to constructors index](index.md) + + + +Featured stickers haven't changed + + + + +### Type: [messages.FeaturedStickers](../types/messages.FeaturedStickers.md) + + +### Example: + +```php +$messages.featuredStickersNotModified = ['_' => 'messages.featuredStickersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.featuredStickersNotModified={_='messages.featuredStickersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v100/constructors/messages.foundGifs.md b/old_docs/API_docs_v100/constructors/messages.foundGifs.md new file mode 100644 index 00000000..c75e36f9 --- /dev/null +++ b/old_docs/API_docs_v100/constructors/messages.foundGifs.md @@ -0,0 +1,39 @@ +--- +title: messages.foundGifs +description: Found GIFs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.foundGifs +[Back to constructors index](index.md) + + + +Found GIFs + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|next\_offset|[int](../types/int.md) | Yes|Next offset to use when trying to [load more results](../methods/messages.searchGifs.md)| +|results|Array of [FoundGif](../types/FoundGif.md) | Yes|Results| + + + +### Type: [messages.FoundGifs](../types/messages.FoundGifs.md) + + +### Example: + +```php +$messages.foundGifs = ['_' => 'messages.foundGifs', 'next_offset' => int, 'results' => [FoundGif, FoundGif]]; +``` + + +Or, if you're into Lua: + +```lua +messages.foundGifs={_='messages.foundGifs', next_offset=int, results={FoundGif}} + +``` + + diff --git a/old_docs/API_docs_v100/constructors/messages.foundStickerSets.md b/old_docs/API_docs_v100/constructors/messages.foundStickerSets.md new file mode 100644 index 00000000..efc5201e --- /dev/null +++ b/old_docs/API_docs_v100/constructors/messages.foundStickerSets.md @@ -0,0 +1,39 @@ +--- +title: messages.foundStickerSets +description: Found stickersets +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.foundStickerSets +[Back to constructors index](index.md) + + + +Found stickersets + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| + + + +### Type: [messages.FoundStickerSets](../types/messages.FoundStickerSets.md) + + +### Example: + +```php +$messages.foundStickerSets = ['_' => 'messages.foundStickerSets', 'hash' => int, 'sets' => [StickerSetCovered, StickerSetCovered]]; +``` + + +Or, if you're into Lua: + +```lua +messages.foundStickerSets={_='messages.foundStickerSets', hash=int, sets={StickerSetCovered}} + +``` + + diff --git a/old_docs/API_docs_v100/constructors/messages.foundStickerSetsNotModified.md b/old_docs/API_docs_v100/constructors/messages.foundStickerSetsNotModified.md new file mode 100644 index 00000000..2902501a --- /dev/null +++ b/old_docs/API_docs_v100/constructors/messages.foundStickerSetsNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.foundStickerSetsNotModified +description: No further results were found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.foundStickerSetsNotModified +[Back to constructors index](index.md) + + + +No further results were found + + + + +### Type: [messages.FoundStickerSets](../types/messages.FoundStickerSets.md) + + +### Example: + +```php +$messages.foundStickerSetsNotModified = ['_' => 'messages.foundStickerSetsNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.foundStickerSetsNotModified={_='messages.foundStickerSetsNotModified'} + +``` + + diff --git a/old_docs/API_docs_v100/constructors/messages.highScores.md b/old_docs/API_docs_v100/constructors/messages.highScores.md new file mode 100644 index 00000000..d7d25826 --- /dev/null +++ b/old_docs/API_docs_v100/constructors/messages.highScores.md @@ -0,0 +1,39 @@ +--- +title: messages.highScores +description: Highscores in a game +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.highScores +[Back to constructors index](index.md) + + + +Highscores in a game + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|scores|Array of [HighScore](../types/HighScore.md) | Yes|Scores| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.HighScores](../types/messages.HighScores.md) + + +### Example: + +```php +$messages.highScores = ['_' => 'messages.highScores', 'scores' => [HighScore, HighScore], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.highScores={_='messages.highScores', scores={HighScore}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v100/constructors/messages.messageEditData.md b/old_docs/API_docs_v100/constructors/messages.messageEditData.md new file mode 100644 index 00000000..578b53d9 --- /dev/null +++ b/old_docs/API_docs_v100/constructors/messages.messageEditData.md @@ -0,0 +1,38 @@ +--- +title: messages.messageEditData +description: Message edit data for media +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.messageEditData +[Back to constructors index](index.md) + + + +Message edit data for media + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|caption|[Bool](../types/Bool.md) | Optional|Media caption, if the specified media's caption can be edited| + + + +### Type: [messages.MessageEditData](../types/messages.MessageEditData.md) + + +### Example: + +```php +$messages.messageEditData = ['_' => 'messages.messageEditData', 'caption' => Bool]; +``` + + +Or, if you're into Lua: + +```lua +messages.messageEditData={_='messages.messageEditData', caption=Bool} + +``` + + diff --git a/old_docs/API_docs_v100/constructors/messages.messages.md b/old_docs/API_docs_v100/constructors/messages.messages.md new file mode 100644 index 00000000..3af71dca --- /dev/null +++ b/old_docs/API_docs_v100/constructors/messages.messages.md @@ -0,0 +1,40 @@ +--- +title: messages.messages +description: Full list of messages with auxilary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.messages +[Back to constructors index](index.md) + + + +Full list of messages with auxilary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Messages](../types/messages.Messages.md) + + +### Example: + +```php +$messages.messages = ['_' => 'messages.messages', 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.messages={_='messages.messages', messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v100/constructors/messages.messagesNotModified.md b/old_docs/API_docs_v100/constructors/messages.messagesNotModified.md new file mode 100644 index 00000000..c4cb60ed --- /dev/null +++ b/old_docs/API_docs_v100/constructors/messages.messagesNotModified.md @@ -0,0 +1,38 @@ +--- +title: messages.messagesNotModified +description: No new messages matching the query were found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.messagesNotModified +[Back to constructors index](index.md) + + + +No new messages matching the query were found + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Number of results found server-side by the given query| + + + +### Type: [messages.Messages](../types/messages.Messages.md) + + +### Example: + +```php +$messages.messagesNotModified = ['_' => 'messages.messagesNotModified', 'count' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.messagesNotModified={_='messages.messagesNotModified', count=int} + +``` + + diff --git a/old_docs/API_docs_v100/constructors/messages.messagesSlice.md b/old_docs/API_docs_v100/constructors/messages.messagesSlice.md new file mode 100644 index 00000000..ed85347c --- /dev/null +++ b/old_docs/API_docs_v100/constructors/messages.messagesSlice.md @@ -0,0 +1,43 @@ +--- +title: messages.messagesSlice +description: Incomplete list of messages and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.messagesSlice +[Back to constructors index](index.md) + + + +Incomplete list of messages and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|inexact|[Bool](../types/Bool.md) | Optional|If set, indicates that the results may be inexact| +|count|[int](../types/int.md) | Yes|Total number of messages in the list| +|next\_rate|[int](../types/int.md) | Optional|Rate to use in the `offset_rate` parameter in the next call to [messages.searchGlobal](../methods/messages.searchGlobal.md)| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Messages](../types/messages.Messages.md) + + +### Example: + +```php +$messages.messagesSlice = ['_' => 'messages.messagesSlice', 'inexact' => Bool, 'count' => int, 'next_rate' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.messagesSlice={_='messages.messagesSlice', inexact=Bool, count=int, next_rate=int, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v100/constructors/messages.peerDialogs.md b/old_docs/API_docs_v100/constructors/messages.peerDialogs.md new file mode 100644 index 00000000..39cb71f8 --- /dev/null +++ b/old_docs/API_docs_v100/constructors/messages.peerDialogs.md @@ -0,0 +1,42 @@ +--- +title: messages.peerDialogs +description: Dialog info of multiple peers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.peerDialogs +[Back to constructors index](index.md) + + + +Dialog info of multiple peers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| +|state|[updates.State](../constructors/updates.State.md) | Yes|Current [update state of dialog](https://core.telegram.org/api/updates)| + + + +### Type: [messages.PeerDialogs](../types/messages.PeerDialogs.md) + + +### Example: + +```php +$messages.peerDialogs = ['_' => 'messages.peerDialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates.State]; +``` + + +Or, if you're into Lua: + +```lua +messages.peerDialogs={_='messages.peerDialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}, state=updates.State} + +``` + + diff --git a/old_docs/API_docs_v100/constructors/messages.recentStickers.md b/old_docs/API_docs_v100/constructors/messages.recentStickers.md new file mode 100644 index 00000000..33e6c1ad --- /dev/null +++ b/old_docs/API_docs_v100/constructors/messages.recentStickers.md @@ -0,0 +1,41 @@ +--- +title: messages.recentStickers +description: Recently used stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.recentStickers +[Back to constructors index](index.md) + + + +Recently used stickers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|packs|Array of [StickerPack](../types/StickerPack.md) | Yes|Packs| +|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| +|dates|Array of [int](../types/int.md) | Yes|Dates| + + + +### Type: [messages.RecentStickers](../types/messages.RecentStickers.md) + + +### Example: + +```php +$messages.recentStickers = ['_' => 'messages.recentStickers', 'hash' => int, 'packs' => [StickerPack, StickerPack], 'stickers' => [Document, Document], 'dates' => [int, int]]; +``` + + +Or, if you're into Lua: + +```lua +messages.recentStickers={_='messages.recentStickers', hash=int, packs={StickerPack}, stickers={Document}, dates={int}} + +``` + + diff --git a/old_docs/API_docs_v100/constructors/messages.recentStickersNotModified.md b/old_docs/API_docs_v100/constructors/messages.recentStickersNotModified.md new file mode 100644 index 00000000..1c3bbf5c --- /dev/null +++ b/old_docs/API_docs_v100/constructors/messages.recentStickersNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.recentStickersNotModified +description: No new recent sticker was found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.recentStickersNotModified +[Back to constructors index](index.md) + + + +No new recent sticker was found + + + + +### Type: [messages.RecentStickers](../types/messages.RecentStickers.md) + + +### Example: + +```php +$messages.recentStickersNotModified = ['_' => 'messages.recentStickersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.recentStickersNotModified={_='messages.recentStickersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v100/constructors/messages.savedGifs.md b/old_docs/API_docs_v100/constructors/messages.savedGifs.md new file mode 100644 index 00000000..c82929a3 --- /dev/null +++ b/old_docs/API_docs_v100/constructors/messages.savedGifs.md @@ -0,0 +1,39 @@ +--- +title: messages.savedGifs +description: Saved gifs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.savedGifs +[Back to constructors index](index.md) + + + +Saved gifs + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|gifs|Array of [Document](../types/Document.md) | Yes|Gifs| + + + +### Type: [messages.SavedGifs](../types/messages.SavedGifs.md) + + +### Example: + +```php +$messages.savedGifs = ['_' => 'messages.savedGifs', 'hash' => int, 'gifs' => [Document, Document]]; +``` + + +Or, if you're into Lua: + +```lua +messages.savedGifs={_='messages.savedGifs', hash=int, gifs={Document}} + +``` + + diff --git a/old_docs/API_docs_v100/constructors/messages.savedGifsNotModified.md b/old_docs/API_docs_v100/constructors/messages.savedGifsNotModified.md new file mode 100644 index 00000000..0fbccacc --- /dev/null +++ b/old_docs/API_docs_v100/constructors/messages.savedGifsNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.savedGifsNotModified +description: No new saved gifs were found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.savedGifsNotModified +[Back to constructors index](index.md) + + + +No new saved gifs were found + + + + +### Type: [messages.SavedGifs](../types/messages.SavedGifs.md) + + +### Example: + +```php +$messages.savedGifsNotModified = ['_' => 'messages.savedGifsNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.savedGifsNotModified={_='messages.savedGifsNotModified'} + +``` + + diff --git a/old_docs/API_docs_v100/constructors/messages.searchCounter.md b/old_docs/API_docs_v100/constructors/messages.searchCounter.md new file mode 100644 index 00000000..601edd6c --- /dev/null +++ b/old_docs/API_docs_v100/constructors/messages.searchCounter.md @@ -0,0 +1,40 @@ +--- +title: messages.searchCounter +description: Indicates how many results would be found by a [messages.search](../methods/messages.search.md) call with the same parameters +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.searchCounter +[Back to constructors index](index.md) + + + +Indicates how many results would be found by a [messages.search](../methods/messages.search.md) call with the same parameters + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|inexact|[Bool](../types/Bool.md) | Optional|If set, the results may be inexact| +|filter|[MessagesFilter](../types/MessagesFilter.md) | Yes|Provided message filter| +|count|[int](../types/int.md) | Yes|Number of results that were found server-side| + + + +### Type: [messages.SearchCounter](../types/messages.SearchCounter.md) + + +### Example: + +```php +$messages.searchCounter = ['_' => 'messages.searchCounter', 'inexact' => Bool, 'filter' => MessagesFilter, 'count' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.searchCounter={_='messages.searchCounter', inexact=Bool, filter=MessagesFilter, count=int} + +``` + + diff --git a/old_docs/API_docs_v100/constructors/messages.sentEncryptedFile.md b/old_docs/API_docs_v100/constructors/messages.sentEncryptedFile.md new file mode 100644 index 00000000..1f0e43c6 --- /dev/null +++ b/old_docs/API_docs_v100/constructors/messages.sentEncryptedFile.md @@ -0,0 +1,39 @@ +--- +title: messages.sentEncryptedFile +description: Message with a file enclosure sent to a protected chat +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.sentEncryptedFile +[Back to constructors index](index.md) + + + +Message with a file enclosure sent to a protected chat + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Sending date| +|file|[EncryptedFile](../types/EncryptedFile.md) | Optional|Attached file| + + + +### Type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) + + +### Example: + +```php +$messages.sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile]; +``` + + +Or, if you're into Lua: + +```lua +messages.sentEncryptedFile={_='messages.sentEncryptedFile', date=int, file=EncryptedFile} + +``` + + diff --git a/old_docs/API_docs_v100/constructors/messages.sentEncryptedMessage.md b/old_docs/API_docs_v100/constructors/messages.sentEncryptedMessage.md new file mode 100644 index 00000000..3d5eb40c --- /dev/null +++ b/old_docs/API_docs_v100/constructors/messages.sentEncryptedMessage.md @@ -0,0 +1,38 @@ +--- +title: messages.sentEncryptedMessage +description: Message without file attachemts sent to an encrypted file. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.sentEncryptedMessage +[Back to constructors index](index.md) + + + +Message without file attachemts sent to an encrypted file. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Date of sending| + + + +### Type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) + + +### Example: + +```php +$messages.sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.sentEncryptedMessage={_='messages.sentEncryptedMessage', date=int} + +``` + + diff --git a/old_docs/API_docs_v100/constructors/messages.stickerSet.md b/old_docs/API_docs_v100/constructors/messages.stickerSet.md new file mode 100644 index 00000000..fbc154d0 --- /dev/null +++ b/old_docs/API_docs_v100/constructors/messages.stickerSet.md @@ -0,0 +1,40 @@ +--- +title: messages.stickerSet +description: Stickerset and stickers inside it +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickerSet +[Back to constructors index](index.md) + + + +Stickerset and stickers inside it + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|set|[StickerSet](../types/StickerSet.md) | Yes|The stickerset| +|packs|Array of [StickerPack](../types/StickerPack.md) | Yes|Packs| +|documents|Array of [Document](../types/Document.md) | Yes|Documents| + + + +### Type: [messages.StickerSet](../types/messages.StickerSet.md) + + +### Example: + +```php +$messages.stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'packs' => [StickerPack, StickerPack], 'documents' => [Document, Document]]; +``` + + +Or, if you're into Lua: + +```lua +messages.stickerSet={_='messages.stickerSet', set=StickerSet, packs={StickerPack}, documents={Document}} + +``` + + diff --git a/old_docs/API_docs_v100/constructors/messages.stickerSetInstallResultArchive.md b/old_docs/API_docs_v100/constructors/messages.stickerSetInstallResultArchive.md new file mode 100644 index 00000000..fefe2270 --- /dev/null +++ b/old_docs/API_docs_v100/constructors/messages.stickerSetInstallResultArchive.md @@ -0,0 +1,38 @@ +--- +title: messages.stickerSetInstallResultArchive +description: The stickerset was installed, but since there are too many stickersets some were archived +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickerSetInstallResultArchive +[Back to constructors index](index.md) + + + +The stickerset was installed, but since there are too many stickersets some were archived + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| + + + +### Type: [messages.StickerSetInstallResult](../types/messages.StickerSetInstallResult.md) + + +### Example: + +```php +$messages.stickerSetInstallResultArchive = ['_' => 'messages.stickerSetInstallResultArchive', 'sets' => [StickerSetCovered, StickerSetCovered]]; +``` + + +Or, if you're into Lua: + +```lua +messages.stickerSetInstallResultArchive={_='messages.stickerSetInstallResultArchive', sets={StickerSetCovered}} + +``` + + diff --git a/old_docs/API_docs_v100/constructors/messages.stickerSetInstallResultSuccess.md b/old_docs/API_docs_v100/constructors/messages.stickerSetInstallResultSuccess.md new file mode 100644 index 00000000..bbe8b961 --- /dev/null +++ b/old_docs/API_docs_v100/constructors/messages.stickerSetInstallResultSuccess.md @@ -0,0 +1,33 @@ +--- +title: messages.stickerSetInstallResultSuccess +description: The stickerset was installed successfully +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickerSetInstallResultSuccess +[Back to constructors index](index.md) + + + +The stickerset was installed successfully + + + + +### Type: [messages.StickerSetInstallResult](../types/messages.StickerSetInstallResult.md) + + +### Example: + +```php +$messages.stickerSetInstallResultSuccess = ['_' => 'messages.stickerSetInstallResultSuccess']; +``` + + +Or, if you're into Lua: + +```lua +messages.stickerSetInstallResultSuccess={_='messages.stickerSetInstallResultSuccess'} + +``` + + diff --git a/old_docs/API_docs_v100/constructors/messages.stickers.md b/old_docs/API_docs_v100/constructors/messages.stickers.md new file mode 100644 index 00000000..49ffea6a --- /dev/null +++ b/old_docs/API_docs_v100/constructors/messages.stickers.md @@ -0,0 +1,39 @@ +--- +title: messages.stickers +description: Found stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickers +[Back to constructors index](index.md) + + + +Found stickers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| + + + +### Type: [messages.Stickers](../types/messages.Stickers.md) + + +### Example: + +```php +$messages.stickers = ['_' => 'messages.stickers', 'hash' => int, 'stickers' => [Document, Document]]; +``` + + +Or, if you're into Lua: + +```lua +messages.stickers={_='messages.stickers', hash=int, stickers={Document}} + +``` + + diff --git a/old_docs/API_docs_v100/constructors/messages.stickersNotModified.md b/old_docs/API_docs_v100/constructors/messages.stickersNotModified.md new file mode 100644 index 00000000..e8c7766c --- /dev/null +++ b/old_docs/API_docs_v100/constructors/messages.stickersNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.stickersNotModified +description: No new stickers were found for the given query +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickersNotModified +[Back to constructors index](index.md) + + + +No new stickers were found for the given query + + + + +### Type: [messages.Stickers](../types/messages.Stickers.md) + + +### Example: + +```php +$messages.stickersNotModified = ['_' => 'messages.stickersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.stickersNotModified={_='messages.stickersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v100/constructors/messages_affectedHistory.md b/old_docs/API_docs_v100/constructors/messages_affectedHistory.md deleted file mode 100644 index 449a7e3f..00000000 --- a/old_docs/API_docs_v100/constructors/messages_affectedHistory.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.affectedHistory -description: Affected part of communication history with the user or in a chat. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.affectedHistory -[Back to constructors index](index.md) - - - -Affected part of communication history with the user or in a chat. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| -|pts\_count|[int](../types/int.md) | Yes|Number of affected events| -|offset|[int](../types/int.md) | Yes|If a parameter contains positive value, it is necessary to repeat the method call using the given value; during the proceeding of all the history the value itself shall gradually decrease| - - - -### Type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) - - -### Example: - -```php -$messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_affectedHistory={_='messages.affectedHistory', pts=int, pts_count=int, offset=int} - -``` - - diff --git a/old_docs/API_docs_v100/constructors/messages_affectedMessages.md b/old_docs/API_docs_v100/constructors/messages_affectedMessages.md deleted file mode 100644 index 86760581..00000000 --- a/old_docs/API_docs_v100/constructors/messages_affectedMessages.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.affectedMessages -description: Events affected by operation -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.affectedMessages -[Back to constructors index](index.md) - - - -Events affected by operation - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|[Event count after generation](https://core.telegram.org/api/updates)| -|pts\_count|[int](../types/int.md) | Yes|[Number of events that were generated](https://core.telegram.org/api/updates)| - - - -### Type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) - - -### Example: - -```php -$messages_affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_affectedMessages={_='messages.affectedMessages', pts=int, pts_count=int} - -``` - - diff --git a/old_docs/API_docs_v100/constructors/messages_allStickers.md b/old_docs/API_docs_v100/constructors/messages_allStickers.md deleted file mode 100644 index 2e64f46e..00000000 --- a/old_docs/API_docs_v100/constructors/messages_allStickers.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.allStickers -description: Info about all installed stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.allStickers -[Back to constructors index](index.md) - - - -Info about all installed stickers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|sets|Array of [StickerSet](../types/StickerSet.md) | Yes|Sets| - - - -### Type: [messages\_AllStickers](../types/messages_AllStickers.md) - - -### Example: - -```php -$messages_allStickers = ['_' => 'messages.allStickers', 'hash' => int, 'sets' => [StickerSet, StickerSet]]; -``` - - -Or, if you're into Lua: - -```lua -messages_allStickers={_='messages.allStickers', hash=int, sets={StickerSet}} - -``` - - diff --git a/old_docs/API_docs_v100/constructors/messages_allStickersNotModified.md b/old_docs/API_docs_v100/constructors/messages_allStickersNotModified.md deleted file mode 100644 index c4da85ab..00000000 --- a/old_docs/API_docs_v100/constructors/messages_allStickersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.allStickersNotModified -description: Info about all installed stickers hasn't changed -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.allStickersNotModified -[Back to constructors index](index.md) - - - -Info about all installed stickers hasn't changed - - - - -### Type: [messages\_AllStickers](../types/messages_AllStickers.md) - - -### Example: - -```php -$messages_allStickersNotModified = ['_' => 'messages.allStickersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_allStickersNotModified={_='messages.allStickersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v100/constructors/messages_archivedStickers.md b/old_docs/API_docs_v100/constructors/messages_archivedStickers.md deleted file mode 100644 index 6b28c885..00000000 --- a/old_docs/API_docs_v100/constructors/messages_archivedStickers.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.archivedStickers -description: Archived stickersets -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.archivedStickers -[Back to constructors index](index.md) - - - -Archived stickersets - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Number of archived stickers| -|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| - - - -### Type: [messages\_ArchivedStickers](../types/messages_ArchivedStickers.md) - - -### Example: - -```php -$messages_archivedStickers = ['_' => 'messages.archivedStickers', 'count' => int, 'sets' => [StickerSetCovered, StickerSetCovered]]; -``` - - -Or, if you're into Lua: - -```lua -messages_archivedStickers={_='messages.archivedStickers', count=int, sets={StickerSetCovered}} - -``` - - diff --git a/old_docs/API_docs_v100/constructors/messages_botCallbackAnswer.md b/old_docs/API_docs_v100/constructors/messages_botCallbackAnswer.md deleted file mode 100644 index e56f4b56..00000000 --- a/old_docs/API_docs_v100/constructors/messages_botCallbackAnswer.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: messages.botCallbackAnswer -description: Callback answer sent by the bot in response to a button press -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.botCallbackAnswer -[Back to constructors index](index.md) - - - -Callback answer sent by the bot in response to a button press - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|alert|[Bool](../types/Bool.md) | Optional|Whether an alert should be shown to the user instead of a toast notification| -|has\_url|[Bool](../types/Bool.md) | Optional|Whether an URL is present| -|native\_ui|[Bool](../types/Bool.md) | Optional|Whether to show games in WebView or in native UI.| -|message|[string](../types/string.md) | Optional|Alert to show| -|url|[string](../types/string.md) | Optional|URL to open| -|cache\_time|[int](../types/int.md) | Yes|For how long should this answer be cached| - - - -### Type: [messages\_BotCallbackAnswer](../types/messages_BotCallbackAnswer.md) - - -### Example: - -```php -$messages_botCallbackAnswer = ['_' => 'messages.botCallbackAnswer', 'alert' => Bool, 'has_url' => Bool, 'native_ui' => Bool, 'message' => 'string', 'url' => 'string', 'cache_time' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_botCallbackAnswer={_='messages.botCallbackAnswer', alert=Bool, has_url=Bool, native_ui=Bool, message='string', url='string', cache_time=int} - -``` - - diff --git a/old_docs/API_docs_v100/constructors/messages_botResults.md b/old_docs/API_docs_v100/constructors/messages_botResults.md deleted file mode 100644 index 19b9edf6..00000000 --- a/old_docs/API_docs_v100/constructors/messages_botResults.md +++ /dev/null @@ -1,44 +0,0 @@ ---- -title: messages.botResults -description: Result of a query to an inline bot -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.botResults -[Back to constructors index](index.md) - - - -Result of a query to an inline bot - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|gallery|[Bool](../types/Bool.md) | Optional|Whether the result is a picture gallery| -|query\_id|[long](../types/long.md) | Yes|Query ID| -|next\_offset|[string](../types/string.md) | Optional|The next offset to use when navigating through results| -|switch\_pm|[InlineBotSwitchPM](../types/InlineBotSwitchPM.md) | Optional|Whether the bot requested the user to message him in private| -|results|Array of [BotInlineResult](../types/BotInlineResult.md) | Yes|Results| -|cache\_time|[int](../types/int.md) | Yes|Caching validity of the results| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_BotResults](../types/messages_BotResults.md) - - -### Example: - -```php -$messages_botResults = ['_' => 'messages.botResults', 'gallery' => Bool, 'query_id' => long, 'next_offset' => 'string', 'switch_pm' => InlineBotSwitchPM, 'results' => [BotInlineResult, BotInlineResult], 'cache_time' => int, 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_botResults={_='messages.botResults', gallery=Bool, query_id=long, next_offset='string', switch_pm=InlineBotSwitchPM, results={BotInlineResult}, cache_time=int, users={User}} - -``` - - diff --git a/old_docs/API_docs_v100/constructors/messages_channelMessages.md b/old_docs/API_docs_v100/constructors/messages_channelMessages.md deleted file mode 100644 index 4cf24743..00000000 --- a/old_docs/API_docs_v100/constructors/messages_channelMessages.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: messages.channelMessages -description: Channel messages -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.channelMessages -[Back to constructors index](index.md) - - - -Channel messages - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|inexact|[Bool](../types/Bool.md) | Optional|If set, returned results may be inexact| -|pts|[int](../types/int.md) | Yes|[Event count after generation](https://core.telegram.org/api/updates)| -|count|[int](../types/int.md) | Yes|Total number of results were found server-side (may not be all included here)| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Messages](../types/messages_Messages.md) - - -### Example: - -```php -$messages_channelMessages = ['_' => 'messages.channelMessages', 'inexact' => Bool, 'pts' => int, 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_channelMessages={_='messages.channelMessages', inexact=Bool, pts=int, count=int, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v100/constructors/messages_chatFull.md b/old_docs/API_docs_v100/constructors/messages_chatFull.md deleted file mode 100644 index 02f1acdf..00000000 --- a/old_docs/API_docs_v100/constructors/messages_chatFull.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.chatFull -description: Extended info on chat and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.chatFull -[Back to constructors index](index.md) - - - -Extended info on chat and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|full\_chat|[ChatFull](../types/ChatFull.md) | Yes|Extended info on a chat| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_ChatFull](../types/messages_ChatFull.md) - - -### Example: - -```php -$messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_chatFull={_='messages.chatFull', full_chat=ChatFull, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v100/constructors/messages_chats.md b/old_docs/API_docs_v100/constructors/messages_chats.md deleted file mode 100644 index ef3690a9..00000000 --- a/old_docs/API_docs_v100/constructors/messages_chats.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.chats -description: List of chats with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.chats -[Back to constructors index](index.md) - - - -List of chats with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| - - - -### Type: [messages\_Chats](../types/messages_Chats.md) - - -### Example: - -```php -$messages_chats = ['_' => 'messages.chats', 'chats' => [Chat, Chat]]; -``` - - -Or, if you're into Lua: - -```lua -messages_chats={_='messages.chats', chats={Chat}} - -``` - - diff --git a/old_docs/API_docs_v100/constructors/messages_chatsSlice.md b/old_docs/API_docs_v100/constructors/messages_chatsSlice.md deleted file mode 100644 index f19c4357..00000000 --- a/old_docs/API_docs_v100/constructors/messages_chatsSlice.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.chatsSlice -description: Partial list of chats, more would have to be fetched with [pagination](https://core.telegram.org/api/offsets) -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.chatsSlice -[Back to constructors index](index.md) - - - -Partial list of chats, more would have to be fetched with [pagination](https://core.telegram.org/api/offsets) - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of results that were found server-side (not all are included in `chats`)| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| - - - -### Type: [messages\_Chats](../types/messages_Chats.md) - - -### Example: - -```php -$messages_chatsSlice = ['_' => 'messages.chatsSlice', 'count' => int, 'chats' => [Chat, Chat]]; -``` - - -Or, if you're into Lua: - -```lua -messages_chatsSlice={_='messages.chatsSlice', count=int, chats={Chat}} - -``` - - diff --git a/old_docs/API_docs_v100/constructors/messages_dhConfig.md b/old_docs/API_docs_v100/constructors/messages_dhConfig.md deleted file mode 100644 index 42c2feb1..00000000 --- a/old_docs/API_docs_v100/constructors/messages_dhConfig.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: messages.dhConfig -description: New set of configuring parameters. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dhConfig -[Back to constructors index](index.md) - - - -New set of configuring parameters. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|g|[int](../types/int.md) | Yes|New value **prime**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| -|p|[bytes](../types/bytes.md) | Yes|New value **primitive root**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| -|version|[int](../types/int.md) | Yes|Vestion of set of parameters| -|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| - - - -### Type: [messages\_DhConfig](../types/messages_DhConfig.md) - - -### Example: - -```php -$messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'version' => int, 'random' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -messages_dhConfig={_='messages.dhConfig', g=int, p='bytes', version=int, random='bytes'} - -``` - - diff --git a/old_docs/API_docs_v100/constructors/messages_dhConfigNotModified.md b/old_docs/API_docs_v100/constructors/messages_dhConfigNotModified.md deleted file mode 100644 index 5bf64230..00000000 --- a/old_docs/API_docs_v100/constructors/messages_dhConfigNotModified.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.dhConfigNotModified -description: Configuring parameters did not change. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dhConfigNotModified -[Back to constructors index](index.md) - - - -Configuring parameters did not change. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| - - - -### Type: [messages\_DhConfig](../types/messages_DhConfig.md) - - -### Example: - -```php -$messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -messages_dhConfigNotModified={_='messages.dhConfigNotModified', random='bytes'} - -``` - - diff --git a/old_docs/API_docs_v100/constructors/messages_dialogs.md b/old_docs/API_docs_v100/constructors/messages_dialogs.md deleted file mode 100644 index e6a431b4..00000000 --- a/old_docs/API_docs_v100/constructors/messages_dialogs.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: messages.dialogs -description: Full list of chats with messages and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dialogs -[Back to constructors index](index.md) - - - -Full list of chats with messages and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Dialogs](../types/messages_Dialogs.md) - - -### Example: - -```php -$messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_dialogs={_='messages.dialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v100/constructors/messages_dialogsNotModified.md b/old_docs/API_docs_v100/constructors/messages_dialogsNotModified.md deleted file mode 100644 index 16a32b2e..00000000 --- a/old_docs/API_docs_v100/constructors/messages_dialogsNotModified.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.dialogsNotModified -description: Dialogs haven't changed -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dialogsNotModified -[Back to constructors index](index.md) - - - -Dialogs haven't changed - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Number of dialogs found server-side by the query| - - - -### Type: [messages\_Dialogs](../types/messages_Dialogs.md) - - -### Example: - -```php -$messages_dialogsNotModified = ['_' => 'messages.dialogsNotModified', 'count' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_dialogsNotModified={_='messages.dialogsNotModified', count=int} - -``` - - diff --git a/old_docs/API_docs_v100/constructors/messages_dialogsSlice.md b/old_docs/API_docs_v100/constructors/messages_dialogsSlice.md deleted file mode 100644 index f183b9a8..00000000 --- a/old_docs/API_docs_v100/constructors/messages_dialogsSlice.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: messages.dialogsSlice -description: Incomplete list of dialogs with messages and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dialogsSlice -[Back to constructors index](index.md) - - - -Incomplete list of dialogs with messages and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of dialogs| -|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Dialogs](../types/messages_Dialogs.md) - - -### Example: - -```php -$messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_dialogsSlice={_='messages.dialogsSlice', count=int, dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v100/constructors/messages_favedStickers.md b/old_docs/API_docs_v100/constructors/messages_favedStickers.md deleted file mode 100644 index 72d79df2..00000000 --- a/old_docs/API_docs_v100/constructors/messages_favedStickers.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.favedStickers -description: Favorited stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.favedStickers -[Back to constructors index](index.md) - - - -Favorited stickers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|packs|Array of [StickerPack](../types/StickerPack.md) | Yes|Packs| -|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| - - - -### Type: [messages\_FavedStickers](../types/messages_FavedStickers.md) - - -### Example: - -```php -$messages_favedStickers = ['_' => 'messages.favedStickers', 'hash' => int, 'packs' => [StickerPack, StickerPack], 'stickers' => [Document, Document]]; -``` - - -Or, if you're into Lua: - -```lua -messages_favedStickers={_='messages.favedStickers', hash=int, packs={StickerPack}, stickers={Document}} - -``` - - diff --git a/old_docs/API_docs_v100/constructors/messages_favedStickersNotModified.md b/old_docs/API_docs_v100/constructors/messages_favedStickersNotModified.md deleted file mode 100644 index a47c08e8..00000000 --- a/old_docs/API_docs_v100/constructors/messages_favedStickersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.favedStickersNotModified -description: No new favorited stickers were found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.favedStickersNotModified -[Back to constructors index](index.md) - - - -No new favorited stickers were found - - - - -### Type: [messages\_FavedStickers](../types/messages_FavedStickers.md) - - -### Example: - -```php -$messages_favedStickersNotModified = ['_' => 'messages.favedStickersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_favedStickersNotModified={_='messages.favedStickersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v100/constructors/messages_featuredStickers.md b/old_docs/API_docs_v100/constructors/messages_featuredStickers.md deleted file mode 100644 index 8ef1046e..00000000 --- a/old_docs/API_docs_v100/constructors/messages_featuredStickers.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.featuredStickers -description: Featured stickersets -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.featuredStickers -[Back to constructors index](index.md) - - - -Featured stickersets - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| -|unread|Array of [long](../types/long.md) | Yes|Unread| - - - -### Type: [messages\_FeaturedStickers](../types/messages_FeaturedStickers.md) - - -### Example: - -```php -$messages_featuredStickers = ['_' => 'messages.featuredStickers', 'hash' => int, 'sets' => [StickerSetCovered, StickerSetCovered], 'unread' => [long, long]]; -``` - - -Or, if you're into Lua: - -```lua -messages_featuredStickers={_='messages.featuredStickers', hash=int, sets={StickerSetCovered}, unread={long}} - -``` - - diff --git a/old_docs/API_docs_v100/constructors/messages_featuredStickersNotModified.md b/old_docs/API_docs_v100/constructors/messages_featuredStickersNotModified.md deleted file mode 100644 index de01131b..00000000 --- a/old_docs/API_docs_v100/constructors/messages_featuredStickersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.featuredStickersNotModified -description: Featured stickers haven't changed -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.featuredStickersNotModified -[Back to constructors index](index.md) - - - -Featured stickers haven't changed - - - - -### Type: [messages\_FeaturedStickers](../types/messages_FeaturedStickers.md) - - -### Example: - -```php -$messages_featuredStickersNotModified = ['_' => 'messages.featuredStickersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_featuredStickersNotModified={_='messages.featuredStickersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v100/constructors/messages_foundGifs.md b/old_docs/API_docs_v100/constructors/messages_foundGifs.md deleted file mode 100644 index eb3603ca..00000000 --- a/old_docs/API_docs_v100/constructors/messages_foundGifs.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.foundGifs -description: Found GIFs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.foundGifs -[Back to constructors index](index.md) - - - -Found GIFs - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|next\_offset|[int](../types/int.md) | Yes|Next offset to use when trying to [load more results](../methods/messages.searchGifs.md)| -|results|Array of [FoundGif](../types/FoundGif.md) | Yes|Results| - - - -### Type: [messages\_FoundGifs](../types/messages_FoundGifs.md) - - -### Example: - -```php -$messages_foundGifs = ['_' => 'messages.foundGifs', 'next_offset' => int, 'results' => [FoundGif, FoundGif]]; -``` - - -Or, if you're into Lua: - -```lua -messages_foundGifs={_='messages.foundGifs', next_offset=int, results={FoundGif}} - -``` - - diff --git a/old_docs/API_docs_v100/constructors/messages_foundStickerSets.md b/old_docs/API_docs_v100/constructors/messages_foundStickerSets.md deleted file mode 100644 index 356177e1..00000000 --- a/old_docs/API_docs_v100/constructors/messages_foundStickerSets.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.foundStickerSets -description: Found stickersets -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.foundStickerSets -[Back to constructors index](index.md) - - - -Found stickersets - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| - - - -### Type: [messages\_FoundStickerSets](../types/messages_FoundStickerSets.md) - - -### Example: - -```php -$messages_foundStickerSets = ['_' => 'messages.foundStickerSets', 'hash' => int, 'sets' => [StickerSetCovered, StickerSetCovered]]; -``` - - -Or, if you're into Lua: - -```lua -messages_foundStickerSets={_='messages.foundStickerSets', hash=int, sets={StickerSetCovered}} - -``` - - diff --git a/old_docs/API_docs_v100/constructors/messages_foundStickerSetsNotModified.md b/old_docs/API_docs_v100/constructors/messages_foundStickerSetsNotModified.md deleted file mode 100644 index c1f39490..00000000 --- a/old_docs/API_docs_v100/constructors/messages_foundStickerSetsNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.foundStickerSetsNotModified -description: No further results were found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.foundStickerSetsNotModified -[Back to constructors index](index.md) - - - -No further results were found - - - - -### Type: [messages\_FoundStickerSets](../types/messages_FoundStickerSets.md) - - -### Example: - -```php -$messages_foundStickerSetsNotModified = ['_' => 'messages.foundStickerSetsNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_foundStickerSetsNotModified={_='messages.foundStickerSetsNotModified'} - -``` - - diff --git a/old_docs/API_docs_v100/constructors/messages_highScores.md b/old_docs/API_docs_v100/constructors/messages_highScores.md deleted file mode 100644 index d6fc5210..00000000 --- a/old_docs/API_docs_v100/constructors/messages_highScores.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.highScores -description: Highscores in a game -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.highScores -[Back to constructors index](index.md) - - - -Highscores in a game - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|scores|Array of [HighScore](../types/HighScore.md) | Yes|Scores| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_HighScores](../types/messages_HighScores.md) - - -### Example: - -```php -$messages_highScores = ['_' => 'messages.highScores', 'scores' => [HighScore, HighScore], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_highScores={_='messages.highScores', scores={HighScore}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v100/constructors/messages_messageEditData.md b/old_docs/API_docs_v100/constructors/messages_messageEditData.md deleted file mode 100644 index 76aefca5..00000000 --- a/old_docs/API_docs_v100/constructors/messages_messageEditData.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.messageEditData -description: Message edit data for media -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.messageEditData -[Back to constructors index](index.md) - - - -Message edit data for media - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|caption|[Bool](../types/Bool.md) | Optional|Media caption, if the specified media's caption can be edited| - - - -### Type: [messages\_MessageEditData](../types/messages_MessageEditData.md) - - -### Example: - -```php -$messages_messageEditData = ['_' => 'messages.messageEditData', 'caption' => Bool]; -``` - - -Or, if you're into Lua: - -```lua -messages_messageEditData={_='messages.messageEditData', caption=Bool} - -``` - - diff --git a/old_docs/API_docs_v100/constructors/messages_messages.md b/old_docs/API_docs_v100/constructors/messages_messages.md deleted file mode 100644 index 3e369e1a..00000000 --- a/old_docs/API_docs_v100/constructors/messages_messages.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.messages -description: Full list of messages with auxilary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.messages -[Back to constructors index](index.md) - - - -Full list of messages with auxilary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Messages](../types/messages_Messages.md) - - -### Example: - -```php -$messages_messages = ['_' => 'messages.messages', 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_messages={_='messages.messages', messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v100/constructors/messages_messagesNotModified.md b/old_docs/API_docs_v100/constructors/messages_messagesNotModified.md deleted file mode 100644 index 2e9c4ad9..00000000 --- a/old_docs/API_docs_v100/constructors/messages_messagesNotModified.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.messagesNotModified -description: No new messages matching the query were found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.messagesNotModified -[Back to constructors index](index.md) - - - -No new messages matching the query were found - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Number of results found server-side by the given query| - - - -### Type: [messages\_Messages](../types/messages_Messages.md) - - -### Example: - -```php -$messages_messagesNotModified = ['_' => 'messages.messagesNotModified', 'count' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_messagesNotModified={_='messages.messagesNotModified', count=int} - -``` - - diff --git a/old_docs/API_docs_v100/constructors/messages_messagesSlice.md b/old_docs/API_docs_v100/constructors/messages_messagesSlice.md deleted file mode 100644 index 788f301a..00000000 --- a/old_docs/API_docs_v100/constructors/messages_messagesSlice.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: messages.messagesSlice -description: Incomplete list of messages and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.messagesSlice -[Back to constructors index](index.md) - - - -Incomplete list of messages and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|inexact|[Bool](../types/Bool.md) | Optional|If set, indicates that the results may be inexact| -|count|[int](../types/int.md) | Yes|Total number of messages in the list| -|next\_rate|[int](../types/int.md) | Optional|Rate to use in the `offset_rate` parameter in the next call to [messages.searchGlobal](../methods/messages.searchGlobal.md)| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Messages](../types/messages_Messages.md) - - -### Example: - -```php -$messages_messagesSlice = ['_' => 'messages.messagesSlice', 'inexact' => Bool, 'count' => int, 'next_rate' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_messagesSlice={_='messages.messagesSlice', inexact=Bool, count=int, next_rate=int, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v100/constructors/messages_peerDialogs.md b/old_docs/API_docs_v100/constructors/messages_peerDialogs.md deleted file mode 100644 index 29b4b842..00000000 --- a/old_docs/API_docs_v100/constructors/messages_peerDialogs.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: messages.peerDialogs -description: Dialog info of multiple peers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.peerDialogs -[Back to constructors index](index.md) - - - -Dialog info of multiple peers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| -|state|[updates\_State](../types/updates_State.md) | Yes|Current [update state of dialog](https://core.telegram.org/api/updates)| - - - -### Type: [messages\_PeerDialogs](../types/messages_PeerDialogs.md) - - -### Example: - -```php -$messages_peerDialogs = ['_' => 'messages.peerDialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates_State]; -``` - - -Or, if you're into Lua: - -```lua -messages_peerDialogs={_='messages.peerDialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}, state=updates_State} - -``` - - diff --git a/old_docs/API_docs_v100/constructors/messages_recentStickers.md b/old_docs/API_docs_v100/constructors/messages_recentStickers.md deleted file mode 100644 index 47d5cffd..00000000 --- a/old_docs/API_docs_v100/constructors/messages_recentStickers.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: messages.recentStickers -description: Recently used stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.recentStickers -[Back to constructors index](index.md) - - - -Recently used stickers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|packs|Array of [StickerPack](../types/StickerPack.md) | Yes|Packs| -|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| -|dates|Array of [int](../types/int.md) | Yes|Dates| - - - -### Type: [messages\_RecentStickers](../types/messages_RecentStickers.md) - - -### Example: - -```php -$messages_recentStickers = ['_' => 'messages.recentStickers', 'hash' => int, 'packs' => [StickerPack, StickerPack], 'stickers' => [Document, Document], 'dates' => [int, int]]; -``` - - -Or, if you're into Lua: - -```lua -messages_recentStickers={_='messages.recentStickers', hash=int, packs={StickerPack}, stickers={Document}, dates={int}} - -``` - - diff --git a/old_docs/API_docs_v100/constructors/messages_recentStickersNotModified.md b/old_docs/API_docs_v100/constructors/messages_recentStickersNotModified.md deleted file mode 100644 index 3e81dceb..00000000 --- a/old_docs/API_docs_v100/constructors/messages_recentStickersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.recentStickersNotModified -description: No new recent sticker was found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.recentStickersNotModified -[Back to constructors index](index.md) - - - -No new recent sticker was found - - - - -### Type: [messages\_RecentStickers](../types/messages_RecentStickers.md) - - -### Example: - -```php -$messages_recentStickersNotModified = ['_' => 'messages.recentStickersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_recentStickersNotModified={_='messages.recentStickersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v100/constructors/messages_savedGifs.md b/old_docs/API_docs_v100/constructors/messages_savedGifs.md deleted file mode 100644 index ed3e8ea3..00000000 --- a/old_docs/API_docs_v100/constructors/messages_savedGifs.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.savedGifs -description: Saved gifs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.savedGifs -[Back to constructors index](index.md) - - - -Saved gifs - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|gifs|Array of [Document](../types/Document.md) | Yes|Gifs| - - - -### Type: [messages\_SavedGifs](../types/messages_SavedGifs.md) - - -### Example: - -```php -$messages_savedGifs = ['_' => 'messages.savedGifs', 'hash' => int, 'gifs' => [Document, Document]]; -``` - - -Or, if you're into Lua: - -```lua -messages_savedGifs={_='messages.savedGifs', hash=int, gifs={Document}} - -``` - - diff --git a/old_docs/API_docs_v100/constructors/messages_savedGifsNotModified.md b/old_docs/API_docs_v100/constructors/messages_savedGifsNotModified.md deleted file mode 100644 index 0f843a0c..00000000 --- a/old_docs/API_docs_v100/constructors/messages_savedGifsNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.savedGifsNotModified -description: No new saved gifs were found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.savedGifsNotModified -[Back to constructors index](index.md) - - - -No new saved gifs were found - - - - -### Type: [messages\_SavedGifs](../types/messages_SavedGifs.md) - - -### Example: - -```php -$messages_savedGifsNotModified = ['_' => 'messages.savedGifsNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_savedGifsNotModified={_='messages.savedGifsNotModified'} - -``` - - diff --git a/old_docs/API_docs_v100/constructors/messages_searchCounter.md b/old_docs/API_docs_v100/constructors/messages_searchCounter.md deleted file mode 100644 index 7ca4102e..00000000 --- a/old_docs/API_docs_v100/constructors/messages_searchCounter.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.searchCounter -description: Indicates how many results would be found by a [messages.search](../methods/messages.search.md) call with the same parameters -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.searchCounter -[Back to constructors index](index.md) - - - -Indicates how many results would be found by a [messages.search](../methods/messages.search.md) call with the same parameters - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|inexact|[Bool](../types/Bool.md) | Optional|If set, the results may be inexact| -|filter|[MessagesFilter](../types/MessagesFilter.md) | Yes|Provided message filter| -|count|[int](../types/int.md) | Yes|Number of results that were found server-side| - - - -### Type: [messages\_SearchCounter](../types/messages_SearchCounter.md) - - -### Example: - -```php -$messages_searchCounter = ['_' => 'messages.searchCounter', 'inexact' => Bool, 'filter' => MessagesFilter, 'count' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_searchCounter={_='messages.searchCounter', inexact=Bool, filter=MessagesFilter, count=int} - -``` - - diff --git a/old_docs/API_docs_v100/constructors/messages_sentEncryptedFile.md b/old_docs/API_docs_v100/constructors/messages_sentEncryptedFile.md deleted file mode 100644 index fdc2a11e..00000000 --- a/old_docs/API_docs_v100/constructors/messages_sentEncryptedFile.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.sentEncryptedFile -description: Message with a file enclosure sent to a protected chat -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.sentEncryptedFile -[Back to constructors index](index.md) - - - -Message with a file enclosure sent to a protected chat - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Sending date| -|file|[EncryptedFile](../types/EncryptedFile.md) | Optional|Attached file| - - - -### Type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) - - -### Example: - -```php -$messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile]; -``` - - -Or, if you're into Lua: - -```lua -messages_sentEncryptedFile={_='messages.sentEncryptedFile', date=int, file=EncryptedFile} - -``` - - diff --git a/old_docs/API_docs_v100/constructors/messages_sentEncryptedMessage.md b/old_docs/API_docs_v100/constructors/messages_sentEncryptedMessage.md deleted file mode 100644 index 36b2bbff..00000000 --- a/old_docs/API_docs_v100/constructors/messages_sentEncryptedMessage.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.sentEncryptedMessage -description: Message without file attachemts sent to an encrypted file. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.sentEncryptedMessage -[Back to constructors index](index.md) - - - -Message without file attachemts sent to an encrypted file. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Date of sending| - - - -### Type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) - - -### Example: - -```php -$messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_sentEncryptedMessage={_='messages.sentEncryptedMessage', date=int} - -``` - - diff --git a/old_docs/API_docs_v100/constructors/messages_stickerSet.md b/old_docs/API_docs_v100/constructors/messages_stickerSet.md deleted file mode 100644 index 127191de..00000000 --- a/old_docs/API_docs_v100/constructors/messages_stickerSet.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.stickerSet -description: Stickerset and stickers inside it -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickerSet -[Back to constructors index](index.md) - - - -Stickerset and stickers inside it - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|set|[StickerSet](../types/StickerSet.md) | Yes|The stickerset| -|packs|Array of [StickerPack](../types/StickerPack.md) | Yes|Packs| -|documents|Array of [Document](../types/Document.md) | Yes|Documents| - - - -### Type: [messages\_StickerSet](../types/messages_StickerSet.md) - - -### Example: - -```php -$messages_stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'packs' => [StickerPack, StickerPack], 'documents' => [Document, Document]]; -``` - - -Or, if you're into Lua: - -```lua -messages_stickerSet={_='messages.stickerSet', set=StickerSet, packs={StickerPack}, documents={Document}} - -``` - - diff --git a/old_docs/API_docs_v100/constructors/messages_stickerSetInstallResultArchive.md b/old_docs/API_docs_v100/constructors/messages_stickerSetInstallResultArchive.md deleted file mode 100644 index 8a5f4d5d..00000000 --- a/old_docs/API_docs_v100/constructors/messages_stickerSetInstallResultArchive.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.stickerSetInstallResultArchive -description: The stickerset was installed, but since there are too many stickersets some were archived -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickerSetInstallResultArchive -[Back to constructors index](index.md) - - - -The stickerset was installed, but since there are too many stickersets some were archived - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| - - - -### Type: [messages\_StickerSetInstallResult](../types/messages_StickerSetInstallResult.md) - - -### Example: - -```php -$messages_stickerSetInstallResultArchive = ['_' => 'messages.stickerSetInstallResultArchive', 'sets' => [StickerSetCovered, StickerSetCovered]]; -``` - - -Or, if you're into Lua: - -```lua -messages_stickerSetInstallResultArchive={_='messages.stickerSetInstallResultArchive', sets={StickerSetCovered}} - -``` - - diff --git a/old_docs/API_docs_v100/constructors/messages_stickerSetInstallResultSuccess.md b/old_docs/API_docs_v100/constructors/messages_stickerSetInstallResultSuccess.md deleted file mode 100644 index 1d33b89f..00000000 --- a/old_docs/API_docs_v100/constructors/messages_stickerSetInstallResultSuccess.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.stickerSetInstallResultSuccess -description: The stickerset was installed successfully -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickerSetInstallResultSuccess -[Back to constructors index](index.md) - - - -The stickerset was installed successfully - - - - -### Type: [messages\_StickerSetInstallResult](../types/messages_StickerSetInstallResult.md) - - -### Example: - -```php -$messages_stickerSetInstallResultSuccess = ['_' => 'messages.stickerSetInstallResultSuccess']; -``` - - -Or, if you're into Lua: - -```lua -messages_stickerSetInstallResultSuccess={_='messages.stickerSetInstallResultSuccess'} - -``` - - diff --git a/old_docs/API_docs_v100/constructors/messages_stickers.md b/old_docs/API_docs_v100/constructors/messages_stickers.md deleted file mode 100644 index c321996b..00000000 --- a/old_docs/API_docs_v100/constructors/messages_stickers.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.stickers -description: Found stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickers -[Back to constructors index](index.md) - - - -Found stickers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| - - - -### Type: [messages\_Stickers](../types/messages_Stickers.md) - - -### Example: - -```php -$messages_stickers = ['_' => 'messages.stickers', 'hash' => int, 'stickers' => [Document, Document]]; -``` - - -Or, if you're into Lua: - -```lua -messages_stickers={_='messages.stickers', hash=int, stickers={Document}} - -``` - - diff --git a/old_docs/API_docs_v100/constructors/messages_stickersNotModified.md b/old_docs/API_docs_v100/constructors/messages_stickersNotModified.md deleted file mode 100644 index 3d434a79..00000000 --- a/old_docs/API_docs_v100/constructors/messages_stickersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.stickersNotModified -description: No new stickers were found for the given query -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickersNotModified -[Back to constructors index](index.md) - - - -No new stickers were found for the given query - - - - -### Type: [messages\_Stickers](../types/messages_Stickers.md) - - -### Example: - -```php -$messages_stickersNotModified = ['_' => 'messages.stickersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_stickersNotModified={_='messages.stickersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v100/constructors/payments.paymentForm.md b/old_docs/API_docs_v100/constructors/payments.paymentForm.md new file mode 100644 index 00000000..90e0f39d --- /dev/null +++ b/old_docs/API_docs_v100/constructors/payments.paymentForm.md @@ -0,0 +1,48 @@ +--- +title: payments.paymentForm +description: Payment form +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: payments.paymentForm +[Back to constructors index](index.md) + + + +Payment form + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|can\_save\_credentials|[Bool](../types/Bool.md) | Optional|Whether the user can choose to save credentials.| +|password\_missing|[Bool](../types/Bool.md) | Optional|Indicates that the user can save payment credentials, but only after setting up a [2FA password](https://core.telegram.org/api/srp) (currently the account doesn't have a [2FA password](https://core.telegram.org/api/srp))| +|bot\_id|[int](../types/int.md) | Yes|Bot ID| +|invoice|[Invoice](../types/Invoice.md) | Yes|Invoice| +|provider\_id|[int](../types/int.md) | Yes|Payment provider ID.| +|url|[string](../types/string.md) | Yes|Payment form URL| +|native\_provider|[string](../types/string.md) | Optional|Payment provider name.
One of the following:
\- `stripe`| +|native\_params|[DataJSON](../types/DataJSON.md) | Optional|Contains information about the payment provider, if available, to support it natively without the need for opening the URL.
A JSON object that can contain the following fields:

\- `publishable_key`: Stripe API publishable key
\- `apple_pay_merchant_id`: Apple Pay merchant ID
\- `android_pay_public_key`: Android Pay public key
\- `android_pay_bgcolor`: Android Pay form background color
\- `android_pay_inverse`: Whether to use the dark theme in the Android Pay form
\- `need_country`: True, if the user country must be provided,
\- `need_zip`: True, if the user ZIP/postal code must be provided,
\- `need_cardholder_name`: True, if the cardholder name must be provided
| +|saved\_info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Optional|Saved server-side order information| +|saved\_credentials|[PaymentSavedCredentials](../types/PaymentSavedCredentials.md) | Optional|Contains information about saved card credentials| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [payments.PaymentForm](../types/payments.PaymentForm.md) + + +### Example: + +```php +$payments.paymentForm = ['_' => 'payments.paymentForm', 'can_save_credentials' => Bool, 'password_missing' => Bool, 'bot_id' => int, 'invoice' => Invoice, 'provider_id' => int, 'url' => 'string', 'native_provider' => 'string', 'native_params' => DataJSON, 'saved_info' => PaymentRequestedInfo, 'saved_credentials' => PaymentSavedCredentials, 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +payments.paymentForm={_='payments.paymentForm', can_save_credentials=Bool, password_missing=Bool, bot_id=int, invoice=Invoice, provider_id=int, url='string', native_provider='string', native_params=DataJSON, saved_info=PaymentRequestedInfo, saved_credentials=PaymentSavedCredentials, users={User}} + +``` + + diff --git a/old_docs/API_docs_v100/constructors/payments.paymentReceipt.md b/old_docs/API_docs_v100/constructors/payments.paymentReceipt.md new file mode 100644 index 00000000..5a0cc190 --- /dev/null +++ b/old_docs/API_docs_v100/constructors/payments.paymentReceipt.md @@ -0,0 +1,47 @@ +--- +title: payments.paymentReceipt +description: Receipt +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: payments.paymentReceipt +[Back to constructors index](index.md) + + + +Receipt + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Date of generation| +|bot\_id|[int](../types/int.md) | Yes|Bot ID| +|invoice|[Invoice](../types/Invoice.md) | Yes|Invoice| +|provider\_id|[int](../types/int.md) | Yes|Provider ID| +|info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Optional|Info| +|shipping|[ShippingOption](../types/ShippingOption.md) | Optional|Selected shipping option| +|currency|[string](../types/string.md) | Yes|Three-letter ISO 4217 [currency](https://core.telegram.org/bots/payments#supported-currencies) code| +|total\_amount|[long](../types/long.md) | Yes|Total amount in the smallest units of the currency (integer, not float/double). For example, for a price of `US$ 1.45` pass `amount = 145`. See the exp parameter in [currencies.json](https://core.telegram.org/bots/payments/currencies.json), it shows the number of digits past the decimal point for each currency (2 for the majority of currencies).| +|credentials\_title|[string](../types/string.md) | Yes|Payment credential name| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [payments.PaymentReceipt](../types/payments.PaymentReceipt.md) + + +### Example: + +```php +$payments.paymentReceipt = ['_' => 'payments.paymentReceipt', 'date' => int, 'bot_id' => int, 'invoice' => Invoice, 'provider_id' => int, 'info' => PaymentRequestedInfo, 'shipping' => ShippingOption, 'currency' => 'string', 'total_amount' => long, 'credentials_title' => 'string', 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +payments.paymentReceipt={_='payments.paymentReceipt', date=int, bot_id=int, invoice=Invoice, provider_id=int, info=PaymentRequestedInfo, shipping=ShippingOption, currency='string', total_amount=long, credentials_title='string', users={User}} + +``` + + diff --git a/old_docs/API_docs_v100/constructors/payments.paymentResult.md b/old_docs/API_docs_v100/constructors/payments.paymentResult.md new file mode 100644 index 00000000..df32fd91 --- /dev/null +++ b/old_docs/API_docs_v100/constructors/payments.paymentResult.md @@ -0,0 +1,38 @@ +--- +title: payments.paymentResult +description: Payment result +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: payments.paymentResult +[Back to constructors index](index.md) + + + +Payment result + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|updates|[Updates](../types/Updates.md) | Yes|Info about the payment| + + + +### Type: [payments.PaymentResult](../types/payments.PaymentResult.md) + + +### Example: + +```php +$payments.paymentResult = ['_' => 'payments.paymentResult', 'updates' => Updates]; +``` + + +Or, if you're into Lua: + +```lua +payments.paymentResult={_='payments.paymentResult', updates=Updates} + +``` + + diff --git a/old_docs/API_docs_v100/constructors/payments.paymentVerficationNeeded.md b/old_docs/API_docs_v100/constructors/payments.paymentVerficationNeeded.md new file mode 100644 index 00000000..3f459215 --- /dev/null +++ b/old_docs/API_docs_v100/constructors/payments.paymentVerficationNeeded.md @@ -0,0 +1,38 @@ +--- +title: payments.paymentVerficationNeeded +description: Payment verfication needed +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: payments.paymentVerficationNeeded +[Back to constructors index](index.md) + + + +Payment verfication needed + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|url|[string](../types/string.md) | Yes|URL| + + + +### Type: [payments.PaymentResult](../types/payments.PaymentResult.md) + + +### Example: + +```php +$payments.paymentVerficationNeeded = ['_' => 'payments.paymentVerficationNeeded', 'url' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +payments.paymentVerficationNeeded={_='payments.paymentVerficationNeeded', url='string'} + +``` + + diff --git a/old_docs/API_docs_v100/constructors/payments.savedInfo.md b/old_docs/API_docs_v100/constructors/payments.savedInfo.md new file mode 100644 index 00000000..a005a842 --- /dev/null +++ b/old_docs/API_docs_v100/constructors/payments.savedInfo.md @@ -0,0 +1,39 @@ +--- +title: payments.savedInfo +description: Saved server-side order information +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: payments.savedInfo +[Back to constructors index](index.md) + + + +Saved server-side order information + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|has\_saved\_credentials|[Bool](../types/Bool.md) | Optional|Whether the user has some saved payment credentials| +|saved\_info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Optional|Saved server-side order information| + + + +### Type: [payments.SavedInfo](../types/payments.SavedInfo.md) + + +### Example: + +```php +$payments.savedInfo = ['_' => 'payments.savedInfo', 'has_saved_credentials' => Bool, 'saved_info' => PaymentRequestedInfo]; +``` + + +Or, if you're into Lua: + +```lua +payments.savedInfo={_='payments.savedInfo', has_saved_credentials=Bool, saved_info=PaymentRequestedInfo} + +``` + + diff --git a/old_docs/API_docs_v100/constructors/payments.validatedRequestedInfo.md b/old_docs/API_docs_v100/constructors/payments.validatedRequestedInfo.md new file mode 100644 index 00000000..4789b28d --- /dev/null +++ b/old_docs/API_docs_v100/constructors/payments.validatedRequestedInfo.md @@ -0,0 +1,39 @@ +--- +title: payments.validatedRequestedInfo +description: Validated user-provided info +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: payments.validatedRequestedInfo +[Back to constructors index](index.md) + + + +Validated user-provided info + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|id|[string](../types/string.md) | Optional|ID| +|shipping\_options|Array of [ShippingOption](../types/ShippingOption.md) | Optional|Shipping options| + + + +### Type: [payments.ValidatedRequestedInfo](../types/payments.ValidatedRequestedInfo.md) + + +### Example: + +```php +$payments.validatedRequestedInfo = ['_' => 'payments.validatedRequestedInfo', 'id' => 'string', 'shipping_options' => [ShippingOption, ShippingOption]]; +``` + + +Or, if you're into Lua: + +```lua +payments.validatedRequestedInfo={_='payments.validatedRequestedInfo', id='string', shipping_options={ShippingOption}} + +``` + + diff --git a/old_docs/API_docs_v100/constructors/payments_paymentForm.md b/old_docs/API_docs_v100/constructors/payments_paymentForm.md deleted file mode 100644 index 88848527..00000000 --- a/old_docs/API_docs_v100/constructors/payments_paymentForm.md +++ /dev/null @@ -1,48 +0,0 @@ ---- -title: payments.paymentForm -description: Payment form -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: payments.paymentForm -[Back to constructors index](index.md) - - - -Payment form - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|can\_save\_credentials|[Bool](../types/Bool.md) | Optional|Whether the user can choose to save credentials.| -|password\_missing|[Bool](../types/Bool.md) | Optional|Indicates that the user can save payment credentials, but only after setting up a [2FA password](https://core.telegram.org/api/srp) (currently the account doesn't have a [2FA password](https://core.telegram.org/api/srp))| -|bot\_id|[int](../types/int.md) | Yes|Bot ID| -|invoice|[Invoice](../types/Invoice.md) | Yes|Invoice| -|provider\_id|[int](../types/int.md) | Yes|Payment provider ID.| -|url|[string](../types/string.md) | Yes|Payment form URL| -|native\_provider|[string](../types/string.md) | Optional|Payment provider name.
One of the following:
\- `stripe`| -|native\_params|[DataJSON](../types/DataJSON.md) | Optional|Contains information about the payment provider, if available, to support it natively without the need for opening the URL.
A JSON object that can contain the following fields:

\- `publishable_key`: Stripe API publishable key
\- `apple_pay_merchant_id`: Apple Pay merchant ID
\- `android_pay_public_key`: Android Pay public key
\- `android_pay_bgcolor`: Android Pay form background color
\- `android_pay_inverse`: Whether to use the dark theme in the Android Pay form
\- `need_country`: True, if the user country must be provided,
\- `need_zip`: True, if the user ZIP/postal code must be provided,
\- `need_cardholder_name`: True, if the cardholder name must be provided
| -|saved\_info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Optional|Saved server-side order information| -|saved\_credentials|[PaymentSavedCredentials](../types/PaymentSavedCredentials.md) | Optional|Contains information about saved card credentials| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [payments\_PaymentForm](../types/payments_PaymentForm.md) - - -### Example: - -```php -$payments_paymentForm = ['_' => 'payments.paymentForm', 'can_save_credentials' => Bool, 'password_missing' => Bool, 'bot_id' => int, 'invoice' => Invoice, 'provider_id' => int, 'url' => 'string', 'native_provider' => 'string', 'native_params' => DataJSON, 'saved_info' => PaymentRequestedInfo, 'saved_credentials' => PaymentSavedCredentials, 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -payments_paymentForm={_='payments.paymentForm', can_save_credentials=Bool, password_missing=Bool, bot_id=int, invoice=Invoice, provider_id=int, url='string', native_provider='string', native_params=DataJSON, saved_info=PaymentRequestedInfo, saved_credentials=PaymentSavedCredentials, users={User}} - -``` - - diff --git a/old_docs/API_docs_v100/constructors/payments_paymentReceipt.md b/old_docs/API_docs_v100/constructors/payments_paymentReceipt.md deleted file mode 100644 index 411e9dee..00000000 --- a/old_docs/API_docs_v100/constructors/payments_paymentReceipt.md +++ /dev/null @@ -1,47 +0,0 @@ ---- -title: payments.paymentReceipt -description: Receipt -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: payments.paymentReceipt -[Back to constructors index](index.md) - - - -Receipt - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Date of generation| -|bot\_id|[int](../types/int.md) | Yes|Bot ID| -|invoice|[Invoice](../types/Invoice.md) | Yes|Invoice| -|provider\_id|[int](../types/int.md) | Yes|Provider ID| -|info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Optional|Info| -|shipping|[ShippingOption](../types/ShippingOption.md) | Optional|Selected shipping option| -|currency|[string](../types/string.md) | Yes|Three-letter ISO 4217 [currency](https://core.telegram.org/bots/payments#supported-currencies) code| -|total\_amount|[long](../types/long.md) | Yes|Total amount in the smallest units of the currency (integer, not float/double). For example, for a price of `US$ 1.45` pass `amount = 145`. See the exp parameter in [currencies.json](https://core.telegram.org/bots/payments/currencies.json), it shows the number of digits past the decimal point for each currency (2 for the majority of currencies).| -|credentials\_title|[string](../types/string.md) | Yes|Payment credential name| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [payments\_PaymentReceipt](../types/payments_PaymentReceipt.md) - - -### Example: - -```php -$payments_paymentReceipt = ['_' => 'payments.paymentReceipt', 'date' => int, 'bot_id' => int, 'invoice' => Invoice, 'provider_id' => int, 'info' => PaymentRequestedInfo, 'shipping' => ShippingOption, 'currency' => 'string', 'total_amount' => long, 'credentials_title' => 'string', 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -payments_paymentReceipt={_='payments.paymentReceipt', date=int, bot_id=int, invoice=Invoice, provider_id=int, info=PaymentRequestedInfo, shipping=ShippingOption, currency='string', total_amount=long, credentials_title='string', users={User}} - -``` - - diff --git a/old_docs/API_docs_v100/constructors/payments_paymentResult.md b/old_docs/API_docs_v100/constructors/payments_paymentResult.md deleted file mode 100644 index 12af1d36..00000000 --- a/old_docs/API_docs_v100/constructors/payments_paymentResult.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: payments.paymentResult -description: Payment result -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: payments.paymentResult -[Back to constructors index](index.md) - - - -Payment result - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|updates|[Updates](../types/Updates.md) | Yes|Info about the payment| - - - -### Type: [payments\_PaymentResult](../types/payments_PaymentResult.md) - - -### Example: - -```php -$payments_paymentResult = ['_' => 'payments.paymentResult', 'updates' => Updates]; -``` - - -Or, if you're into Lua: - -```lua -payments_paymentResult={_='payments.paymentResult', updates=Updates} - -``` - - diff --git a/old_docs/API_docs_v100/constructors/payments_paymentVerficationNeeded.md b/old_docs/API_docs_v100/constructors/payments_paymentVerficationNeeded.md deleted file mode 100644 index 70ca205d..00000000 --- a/old_docs/API_docs_v100/constructors/payments_paymentVerficationNeeded.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: payments.paymentVerficationNeeded -description: Payment verfication needed -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: payments.paymentVerficationNeeded -[Back to constructors index](index.md) - - - -Payment verfication needed - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|url|[string](../types/string.md) | Yes|URL| - - - -### Type: [payments\_PaymentResult](../types/payments_PaymentResult.md) - - -### Example: - -```php -$payments_paymentVerficationNeeded = ['_' => 'payments.paymentVerficationNeeded', 'url' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -payments_paymentVerficationNeeded={_='payments.paymentVerficationNeeded', url='string'} - -``` - - diff --git a/old_docs/API_docs_v100/constructors/payments_savedInfo.md b/old_docs/API_docs_v100/constructors/payments_savedInfo.md deleted file mode 100644 index 19d3aee5..00000000 --- a/old_docs/API_docs_v100/constructors/payments_savedInfo.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: payments.savedInfo -description: Saved server-side order information -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: payments.savedInfo -[Back to constructors index](index.md) - - - -Saved server-side order information - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|has\_saved\_credentials|[Bool](../types/Bool.md) | Optional|Whether the user has some saved payment credentials| -|saved\_info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Optional|Saved server-side order information| - - - -### Type: [payments\_SavedInfo](../types/payments_SavedInfo.md) - - -### Example: - -```php -$payments_savedInfo = ['_' => 'payments.savedInfo', 'has_saved_credentials' => Bool, 'saved_info' => PaymentRequestedInfo]; -``` - - -Or, if you're into Lua: - -```lua -payments_savedInfo={_='payments.savedInfo', has_saved_credentials=Bool, saved_info=PaymentRequestedInfo} - -``` - - diff --git a/old_docs/API_docs_v100/constructors/payments_validatedRequestedInfo.md b/old_docs/API_docs_v100/constructors/payments_validatedRequestedInfo.md deleted file mode 100644 index a07c7d06..00000000 --- a/old_docs/API_docs_v100/constructors/payments_validatedRequestedInfo.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: payments.validatedRequestedInfo -description: Validated user-provided info -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: payments.validatedRequestedInfo -[Back to constructors index](index.md) - - - -Validated user-provided info - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|id|[string](../types/string.md) | Optional|ID| -|shipping\_options|Array of [ShippingOption](../types/ShippingOption.md) | Optional|Shipping options| - - - -### Type: [payments\_ValidatedRequestedInfo](../types/payments_ValidatedRequestedInfo.md) - - -### Example: - -```php -$payments_validatedRequestedInfo = ['_' => 'payments.validatedRequestedInfo', 'id' => 'string', 'shipping_options' => [ShippingOption, ShippingOption]]; -``` - - -Or, if you're into Lua: - -```lua -payments_validatedRequestedInfo={_='payments.validatedRequestedInfo', id='string', shipping_options={ShippingOption}} - -``` - - diff --git a/old_docs/API_docs_v100/constructors/phone.phoneCall.md b/old_docs/API_docs_v100/constructors/phone.phoneCall.md new file mode 100644 index 00000000..8c1d26d4 --- /dev/null +++ b/old_docs/API_docs_v100/constructors/phone.phoneCall.md @@ -0,0 +1,39 @@ +--- +title: phone.phoneCall +description: A VoIP phone call +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: phone.phoneCall +[Back to constructors index](index.md) + + + +A VoIP phone call + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_call|[PhoneCall](../types/PhoneCall.md) | Optional|The VoIP phone call| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [phone.PhoneCall](../types/phone.PhoneCall.md) + + +### Example: + +```php +$phone.phoneCall = ['_' => 'phone.phoneCall', 'phone_call' => PhoneCall, 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +phone.phoneCall={_='phone.phoneCall', phone_call=PhoneCall, users={User}} + +``` + + diff --git a/old_docs/API_docs_v100/constructors/phone_phoneCall.md b/old_docs/API_docs_v100/constructors/phone_phoneCall.md deleted file mode 100644 index 94314567..00000000 --- a/old_docs/API_docs_v100/constructors/phone_phoneCall.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: phone.phoneCall -description: A VoIP phone call -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: phone.phoneCall -[Back to constructors index](index.md) - - - -A VoIP phone call - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_call|[PhoneCall](../types/PhoneCall.md) | Optional|The VoIP phone call| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [phone\_PhoneCall](../types/phone_PhoneCall.md) - - -### Example: - -```php -$phone_phoneCall = ['_' => 'phone.phoneCall', 'phone_call' => PhoneCall, 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -phone_phoneCall={_='phone.phoneCall', phone_call=PhoneCall, users={User}} - -``` - - diff --git a/old_docs/API_docs_v100/constructors/photos.photo.md b/old_docs/API_docs_v100/constructors/photos.photo.md new file mode 100644 index 00000000..43d3efc7 --- /dev/null +++ b/old_docs/API_docs_v100/constructors/photos.photo.md @@ -0,0 +1,39 @@ +--- +title: photos.photo +description: Photo with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: photos.photo +[Back to constructors index](index.md) + + + +Photo with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|photo|[Photo](../types/Photo.md) | Optional|Photo| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [photos.Photo](../types/photos.Photo.md) + + +### Example: + +```php +$photos.photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +photos.photo={_='photos.photo', photo=Photo, users={User}} + +``` + + diff --git a/old_docs/API_docs_v100/constructors/photos.photos.md b/old_docs/API_docs_v100/constructors/photos.photos.md new file mode 100644 index 00000000..901a9693 --- /dev/null +++ b/old_docs/API_docs_v100/constructors/photos.photos.md @@ -0,0 +1,39 @@ +--- +title: photos.photos +description: Full list of photos with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: photos.photos +[Back to constructors index](index.md) + + + +Full list of photos with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [photos.Photos](../types/photos.Photos.md) + + +### Example: + +```php +$photos.photos = ['_' => 'photos.photos', 'photos' => [Photo, Photo], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +photos.photos={_='photos.photos', photos={Photo}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v100/constructors/photos.photosSlice.md b/old_docs/API_docs_v100/constructors/photos.photosSlice.md new file mode 100644 index 00000000..2cca3546 --- /dev/null +++ b/old_docs/API_docs_v100/constructors/photos.photosSlice.md @@ -0,0 +1,40 @@ +--- +title: photos.photosSlice +description: Incomplete list of photos with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: photos.photosSlice +[Back to constructors index](index.md) + + + +Incomplete list of photos with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of photos| +|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [photos.Photos](../types/photos.Photos.md) + + +### Example: + +```php +$photos.photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo, Photo], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +photos.photosSlice={_='photos.photosSlice', count=int, photos={Photo}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v100/constructors/photos_photo.md b/old_docs/API_docs_v100/constructors/photos_photo.md deleted file mode 100644 index d5ad61d9..00000000 --- a/old_docs/API_docs_v100/constructors/photos_photo.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: photos.photo -description: Photo with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: photos.photo -[Back to constructors index](index.md) - - - -Photo with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|photo|[Photo](../types/Photo.md) | Optional|Photo| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [photos\_Photo](../types/photos_Photo.md) - - -### Example: - -```php -$photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -photos_photo={_='photos.photo', photo=Photo, users={User}} - -``` - - diff --git a/old_docs/API_docs_v100/constructors/photos_photos.md b/old_docs/API_docs_v100/constructors/photos_photos.md deleted file mode 100644 index 6ae5d048..00000000 --- a/old_docs/API_docs_v100/constructors/photos_photos.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: photos.photos -description: Full list of photos with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: photos.photos -[Back to constructors index](index.md) - - - -Full list of photos with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [photos\_Photos](../types/photos_Photos.md) - - -### Example: - -```php -$photos_photos = ['_' => 'photos.photos', 'photos' => [Photo, Photo], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -photos_photos={_='photos.photos', photos={Photo}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v100/constructors/photos_photosSlice.md b/old_docs/API_docs_v100/constructors/photos_photosSlice.md deleted file mode 100644 index 5c465c21..00000000 --- a/old_docs/API_docs_v100/constructors/photos_photosSlice.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: photos.photosSlice -description: Incomplete list of photos with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: photos.photosSlice -[Back to constructors index](index.md) - - - -Incomplete list of photos with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of photos| -|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [photos\_Photos](../types/photos_Photos.md) - - -### Example: - -```php -$photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo, Photo], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -photos_photosSlice={_='photos.photosSlice', count=int, photos={Photo}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v100/constructors/storage.fileGif.md b/old_docs/API_docs_v100/constructors/storage.fileGif.md new file mode 100644 index 00000000..8193bd25 --- /dev/null +++ b/old_docs/API_docs_v100/constructors/storage.fileGif.md @@ -0,0 +1,33 @@ +--- +title: storage.fileGif +description: GIF image. MIME type: `image/gif`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileGif +[Back to constructors index](index.md) + + + +GIF image. MIME type: `image/gif`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileGif = ['_' => 'storage.fileGif']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileGif={_='storage.fileGif'} + +``` + + diff --git a/old_docs/API_docs_v100/constructors/storage.fileJpeg.md b/old_docs/API_docs_v100/constructors/storage.fileJpeg.md new file mode 100644 index 00000000..7f125963 --- /dev/null +++ b/old_docs/API_docs_v100/constructors/storage.fileJpeg.md @@ -0,0 +1,33 @@ +--- +title: storage.fileJpeg +description: JPEG image. MIME type: `image/jpeg`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileJpeg +[Back to constructors index](index.md) + + + +JPEG image. MIME type: `image/jpeg`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileJpeg = ['_' => 'storage.fileJpeg']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileJpeg={_='storage.fileJpeg'} + +``` + + diff --git a/old_docs/API_docs_v100/constructors/storage.fileMov.md b/old_docs/API_docs_v100/constructors/storage.fileMov.md new file mode 100644 index 00000000..cb3742e0 --- /dev/null +++ b/old_docs/API_docs_v100/constructors/storage.fileMov.md @@ -0,0 +1,33 @@ +--- +title: storage.fileMov +description: Quicktime video. MIME type: `video/quicktime`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileMov +[Back to constructors index](index.md) + + + +Quicktime video. MIME type: `video/quicktime`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileMov = ['_' => 'storage.fileMov']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileMov={_='storage.fileMov'} + +``` + + diff --git a/old_docs/API_docs_v100/constructors/storage.fileMp3.md b/old_docs/API_docs_v100/constructors/storage.fileMp3.md new file mode 100644 index 00000000..617f2d39 --- /dev/null +++ b/old_docs/API_docs_v100/constructors/storage.fileMp3.md @@ -0,0 +1,33 @@ +--- +title: storage.fileMp3 +description: Mp3 audio. MIME type: `audio/mpeg`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileMp3 +[Back to constructors index](index.md) + + + +Mp3 audio. MIME type: `audio/mpeg`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileMp3 = ['_' => 'storage.fileMp3']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileMp3={_='storage.fileMp3'} + +``` + + diff --git a/old_docs/API_docs_v100/constructors/storage.fileMp4.md b/old_docs/API_docs_v100/constructors/storage.fileMp4.md new file mode 100644 index 00000000..37038176 --- /dev/null +++ b/old_docs/API_docs_v100/constructors/storage.fileMp4.md @@ -0,0 +1,33 @@ +--- +title: storage.fileMp4 +description: MPEG-4 video. MIME type: `video/mp4`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileMp4 +[Back to constructors index](index.md) + + + +MPEG-4 video. MIME type: `video/mp4`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileMp4 = ['_' => 'storage.fileMp4']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileMp4={_='storage.fileMp4'} + +``` + + diff --git a/old_docs/API_docs_v100/constructors/storage.filePartial.md b/old_docs/API_docs_v100/constructors/storage.filePartial.md new file mode 100644 index 00000000..98779e71 --- /dev/null +++ b/old_docs/API_docs_v100/constructors/storage.filePartial.md @@ -0,0 +1,33 @@ +--- +title: storage.filePartial +description: Part of a bigger file. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.filePartial +[Back to constructors index](index.md) + + + +Part of a bigger file. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.filePartial = ['_' => 'storage.filePartial']; +``` + + +Or, if you're into Lua: + +```lua +storage.filePartial={_='storage.filePartial'} + +``` + + diff --git a/old_docs/API_docs_v100/constructors/storage.filePdf.md b/old_docs/API_docs_v100/constructors/storage.filePdf.md new file mode 100644 index 00000000..136c0614 --- /dev/null +++ b/old_docs/API_docs_v100/constructors/storage.filePdf.md @@ -0,0 +1,33 @@ +--- +title: storage.filePdf +description: PDF document image. MIME type: `application/pdf`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.filePdf +[Back to constructors index](index.md) + + + +PDF document image. MIME type: `application/pdf`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.filePdf = ['_' => 'storage.filePdf']; +``` + + +Or, if you're into Lua: + +```lua +storage.filePdf={_='storage.filePdf'} + +``` + + diff --git a/old_docs/API_docs_v100/constructors/storage.filePng.md b/old_docs/API_docs_v100/constructors/storage.filePng.md new file mode 100644 index 00000000..db01ce0e --- /dev/null +++ b/old_docs/API_docs_v100/constructors/storage.filePng.md @@ -0,0 +1,33 @@ +--- +title: storage.filePng +description: PNG image. MIME type: `image/png`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.filePng +[Back to constructors index](index.md) + + + +PNG image. MIME type: `image/png`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.filePng = ['_' => 'storage.filePng']; +``` + + +Or, if you're into Lua: + +```lua +storage.filePng={_='storage.filePng'} + +``` + + diff --git a/old_docs/API_docs_v100/constructors/storage.fileUnknown.md b/old_docs/API_docs_v100/constructors/storage.fileUnknown.md new file mode 100644 index 00000000..26f0a5ae --- /dev/null +++ b/old_docs/API_docs_v100/constructors/storage.fileUnknown.md @@ -0,0 +1,33 @@ +--- +title: storage.fileUnknown +description: Unknown type. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileUnknown +[Back to constructors index](index.md) + + + +Unknown type. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileUnknown = ['_' => 'storage.fileUnknown']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileUnknown={_='storage.fileUnknown'} + +``` + + diff --git a/old_docs/API_docs_v100/constructors/storage.fileWebp.md b/old_docs/API_docs_v100/constructors/storage.fileWebp.md new file mode 100644 index 00000000..63c9ded1 --- /dev/null +++ b/old_docs/API_docs_v100/constructors/storage.fileWebp.md @@ -0,0 +1,33 @@ +--- +title: storage.fileWebp +description: WEBP image. MIME type: `image/webp`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileWebp +[Back to constructors index](index.md) + + + +WEBP image. MIME type: `image/webp`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileWebp = ['_' => 'storage.fileWebp']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileWebp={_='storage.fileWebp'} + +``` + + diff --git a/old_docs/API_docs_v100/constructors/storage_fileGif.md b/old_docs/API_docs_v100/constructors/storage_fileGif.md deleted file mode 100644 index 218c7491..00000000 --- a/old_docs/API_docs_v100/constructors/storage_fileGif.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileGif -description: GIF image. MIME type: `image/gif`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileGif -[Back to constructors index](index.md) - - - -GIF image. MIME type: `image/gif`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileGif = ['_' => 'storage.fileGif']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileGif={_='storage.fileGif'} - -``` - - diff --git a/old_docs/API_docs_v100/constructors/storage_fileJpeg.md b/old_docs/API_docs_v100/constructors/storage_fileJpeg.md deleted file mode 100644 index 925531cd..00000000 --- a/old_docs/API_docs_v100/constructors/storage_fileJpeg.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileJpeg -description: JPEG image. MIME type: `image/jpeg`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileJpeg -[Back to constructors index](index.md) - - - -JPEG image. MIME type: `image/jpeg`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileJpeg = ['_' => 'storage.fileJpeg']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileJpeg={_='storage.fileJpeg'} - -``` - - diff --git a/old_docs/API_docs_v100/constructors/storage_fileMov.md b/old_docs/API_docs_v100/constructors/storage_fileMov.md deleted file mode 100644 index eaf2a6ff..00000000 --- a/old_docs/API_docs_v100/constructors/storage_fileMov.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileMov -description: Quicktime video. MIME type: `video/quicktime`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileMov -[Back to constructors index](index.md) - - - -Quicktime video. MIME type: `video/quicktime`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileMov = ['_' => 'storage.fileMov']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileMov={_='storage.fileMov'} - -``` - - diff --git a/old_docs/API_docs_v100/constructors/storage_fileMp3.md b/old_docs/API_docs_v100/constructors/storage_fileMp3.md deleted file mode 100644 index 9afcefbb..00000000 --- a/old_docs/API_docs_v100/constructors/storage_fileMp3.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileMp3 -description: Mp3 audio. MIME type: `audio/mpeg`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileMp3 -[Back to constructors index](index.md) - - - -Mp3 audio. MIME type: `audio/mpeg`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileMp3 = ['_' => 'storage.fileMp3']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileMp3={_='storage.fileMp3'} - -``` - - diff --git a/old_docs/API_docs_v100/constructors/storage_fileMp4.md b/old_docs/API_docs_v100/constructors/storage_fileMp4.md deleted file mode 100644 index cdc0e783..00000000 --- a/old_docs/API_docs_v100/constructors/storage_fileMp4.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileMp4 -description: MPEG-4 video. MIME type: `video/mp4`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileMp4 -[Back to constructors index](index.md) - - - -MPEG-4 video. MIME type: `video/mp4`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileMp4 = ['_' => 'storage.fileMp4']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileMp4={_='storage.fileMp4'} - -``` - - diff --git a/old_docs/API_docs_v100/constructors/storage_filePartial.md b/old_docs/API_docs_v100/constructors/storage_filePartial.md deleted file mode 100644 index 9bfadf63..00000000 --- a/old_docs/API_docs_v100/constructors/storage_filePartial.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.filePartial -description: Part of a bigger file. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.filePartial -[Back to constructors index](index.md) - - - -Part of a bigger file. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_filePartial = ['_' => 'storage.filePartial']; -``` - - -Or, if you're into Lua: - -```lua -storage_filePartial={_='storage.filePartial'} - -``` - - diff --git a/old_docs/API_docs_v100/constructors/storage_filePdf.md b/old_docs/API_docs_v100/constructors/storage_filePdf.md deleted file mode 100644 index efb022cc..00000000 --- a/old_docs/API_docs_v100/constructors/storage_filePdf.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.filePdf -description: PDF document image. MIME type: `application/pdf`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.filePdf -[Back to constructors index](index.md) - - - -PDF document image. MIME type: `application/pdf`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_filePdf = ['_' => 'storage.filePdf']; -``` - - -Or, if you're into Lua: - -```lua -storage_filePdf={_='storage.filePdf'} - -``` - - diff --git a/old_docs/API_docs_v100/constructors/storage_filePng.md b/old_docs/API_docs_v100/constructors/storage_filePng.md deleted file mode 100644 index 412759e4..00000000 --- a/old_docs/API_docs_v100/constructors/storage_filePng.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.filePng -description: PNG image. MIME type: `image/png`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.filePng -[Back to constructors index](index.md) - - - -PNG image. MIME type: `image/png`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_filePng = ['_' => 'storage.filePng']; -``` - - -Or, if you're into Lua: - -```lua -storage_filePng={_='storage.filePng'} - -``` - - diff --git a/old_docs/API_docs_v100/constructors/storage_fileUnknown.md b/old_docs/API_docs_v100/constructors/storage_fileUnknown.md deleted file mode 100644 index ed33dd5e..00000000 --- a/old_docs/API_docs_v100/constructors/storage_fileUnknown.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileUnknown -description: Unknown type. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileUnknown -[Back to constructors index](index.md) - - - -Unknown type. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileUnknown = ['_' => 'storage.fileUnknown']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileUnknown={_='storage.fileUnknown'} - -``` - - diff --git a/old_docs/API_docs_v100/constructors/storage_fileWebp.md b/old_docs/API_docs_v100/constructors/storage_fileWebp.md deleted file mode 100644 index 04dcad74..00000000 --- a/old_docs/API_docs_v100/constructors/storage_fileWebp.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileWebp -description: WEBP image. MIME type: `image/webp`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileWebp -[Back to constructors index](index.md) - - - -WEBP image. MIME type: `image/webp`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileWebp = ['_' => 'storage.fileWebp']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileWebp={_='storage.fileWebp'} - -``` - - diff --git a/old_docs/API_docs_v100/constructors/updateNewStickerSet.md b/old_docs/API_docs_v100/constructors/updateNewStickerSet.md index 8a99a363..c32c41ff 100644 --- a/old_docs/API_docs_v100/constructors/updateNewStickerSet.md +++ b/old_docs/API_docs_v100/constructors/updateNewStickerSet.md @@ -14,7 +14,7 @@ A new stickerset was installed | Name | Type | Required | Description | |----------|---------------|----------|-------------| -|stickerset|[messages\_StickerSet](../types/messages_StickerSet.md) | Yes|The installed stickerset| +|stickerset|[messages.StickerSet](../constructors/messages.StickerSet.md) | Yes|The installed stickerset| @@ -24,14 +24,14 @@ A new stickerset was installed ### Example: ```php -$updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages_StickerSet]; +$updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages.StickerSet]; ``` Or, if you're into Lua: ```lua -updateNewStickerSet={_='updateNewStickerSet', stickerset=messages_StickerSet} +updateNewStickerSet={_='updateNewStickerSet', stickerset=messages.StickerSet} ``` diff --git a/old_docs/API_docs_v100/constructors/updates.channelDifference.md b/old_docs/API_docs_v100/constructors/updates.channelDifference.md new file mode 100644 index 00000000..5a13791c --- /dev/null +++ b/old_docs/API_docs_v100/constructors/updates.channelDifference.md @@ -0,0 +1,44 @@ +--- +title: updates.channelDifference +description: The new updates +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.channelDifference +[Back to constructors index](index.md) + + + +The new updates + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates to be fetched using getDifference, starting from the provided `pts`| +|pts|[int](../types/int.md) | Yes|The [PTS](https://core.telegram.org/api/updates) from which to start getting updates the next time| +|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| +|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| +|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [updates.ChannelDifference](../types/updates.ChannelDifference.md) + + +### Example: + +```php +$updates.channelDifference = ['_' => 'updates.channelDifference', 'final' => Bool, 'pts' => int, 'timeout' => int, 'new_messages' => [Message, Message], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +updates.channelDifference={_='updates.channelDifference', final=Bool, pts=int, timeout=int, new_messages={Message}, other_updates={Update}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v100/constructors/updates.channelDifferenceEmpty.md b/old_docs/API_docs_v100/constructors/updates.channelDifferenceEmpty.md new file mode 100644 index 00000000..8ce43da4 --- /dev/null +++ b/old_docs/API_docs_v100/constructors/updates.channelDifferenceEmpty.md @@ -0,0 +1,40 @@ +--- +title: updates.channelDifferenceEmpty +description: There are no new updates +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.channelDifferenceEmpty +[Back to constructors index](index.md) + + + +There are no new updates + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates that must be fetched (always false)| +|pts|[int](../types/int.md) | Yes|The latest [PTS](https://core.telegram.org/api/updates)| +|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| + + + +### Type: [updates.ChannelDifference](../types/updates.ChannelDifference.md) + + +### Example: + +```php +$updates.channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'final' => Bool, 'pts' => int, 'timeout' => int]; +``` + + +Or, if you're into Lua: + +```lua +updates.channelDifferenceEmpty={_='updates.channelDifferenceEmpty', final=Bool, pts=int, timeout=int} + +``` + + diff --git a/old_docs/API_docs_v100/constructors/updates.channelDifferenceTooLong.md b/old_docs/API_docs_v100/constructors/updates.channelDifferenceTooLong.md new file mode 100644 index 00000000..10fb21ed --- /dev/null +++ b/old_docs/API_docs_v100/constructors/updates.channelDifferenceTooLong.md @@ -0,0 +1,53 @@ +--- +title: updates.channelDifferenceTooLong +description: The provided `pts + limit < remote pts`. Simply, there are too many updates to be fetched (more than `limit`), the client has to resolve the update gap in one of the following ways: + +1. Delete all known messages in the chat, begin from scratch by refetching all messages manually with [getHistory](../methods/messages.getHistory.md). It is easy to implement, but suddenly disappearing messages looks awful for the user. +2. Save all messages loaded in the memory until application restart, but delete all messages from database. Messages left in the memory must be lazily updated using calls to [getHistory](../methods/messages.getHistory.md). It looks much smoothly for the user, he will need to redownload messages only after client restart. Unsynchronized messages left in the memory shouldn't be saved to database, results of [getHistory](../methods/messages.getHistory.md) and [getMessages](../methods/messages.getMessages.md) must be used to update state of deleted and edited messages left in the memory. +3. Save all messages loaded in the memory and stored in the database without saving that some messages form continuous ranges. Messages in the database will be excluded from results of getChatHistory and searchChatMessages after application restart and will be available only through getMessage. Every message should still be checked using getHistory. It has more disadvantages over 2) than advantages. +4. Save all messages with saving all data about continuous message ranges. Messages from the database may be used as results of getChatHistory and (if implemented continuous ranges support for searching shared media) searchChatMessages. The messages should still be lazily checked using getHistory, but they are still available offline. It is the best way for gaps support, but it is pretty hard to implement correctly. It should be also noted that some messages like live location messages shouldn't be deleted. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.channelDifferenceTooLong +[Back to constructors index](index.md) + + + +The provided `pts + limit < remote pts`. Simply, there are too many updates to be fetched (more than `limit`), the client has to resolve the update gap in one of the following ways: + +1. Delete all known messages in the chat, begin from scratch by refetching all messages manually with [getHistory](../methods/messages.getHistory.md). It is easy to implement, but suddenly disappearing messages looks awful for the user. +2. Save all messages loaded in the memory until application restart, but delete all messages from database. Messages left in the memory must be lazily updated using calls to [getHistory](../methods/messages.getHistory.md). It looks much smoothly for the user, he will need to redownload messages only after client restart. Unsynchronized messages left in the memory shouldn't be saved to database, results of [getHistory](../methods/messages.getHistory.md) and [getMessages](../methods/messages.getMessages.md) must be used to update state of deleted and edited messages left in the memory. +3. Save all messages loaded in the memory and stored in the database without saving that some messages form continuous ranges. Messages in the database will be excluded from results of getChatHistory and searchChatMessages after application restart and will be available only through getMessage. Every message should still be checked using getHistory. It has more disadvantages over 2) than advantages. +4. Save all messages with saving all data about continuous message ranges. Messages from the database may be used as results of getChatHistory and (if implemented continuous ranges support for searching shared media) searchChatMessages. The messages should still be lazily checked using getHistory, but they are still available offline. It is the best way for gaps support, but it is pretty hard to implement correctly. It should be also noted that some messages like live location messages shouldn't be deleted. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates that must be fetched (always false)| +|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| +|dialog|[Dialog](../types/Dialog.md) | Yes|Dialog containing the latest [PTS](https://core.telegram.org/api/updates) that can be used to reset the channel state| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [updates.ChannelDifference](../types/updates.ChannelDifference.md) + + +### Example: + +```php +$updates.channelDifferenceTooLong = ['_' => 'updates.channelDifferenceTooLong', 'final' => Bool, 'timeout' => int, 'dialog' => Dialog, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +updates.channelDifferenceTooLong={_='updates.channelDifferenceTooLong', final=Bool, timeout=int, dialog=Dialog, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v100/constructors/updates.difference.md b/old_docs/API_docs_v100/constructors/updates.difference.md new file mode 100644 index 00000000..82541b51 --- /dev/null +++ b/old_docs/API_docs_v100/constructors/updates.difference.md @@ -0,0 +1,43 @@ +--- +title: updates.difference +description: Full list of occurred events. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.difference +[Back to constructors index](index.md) + + + +Full list of occurred events. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| +|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| +|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| +|state|[updates.State](../constructors/updates.State.md) | Yes|Current state| + + + +### Type: [updates.Difference](../types/updates.Difference.md) + + +### Example: + +```php +$updates.difference = ['_' => 'updates.difference', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates.State]; +``` + + +Or, if you're into Lua: + +```lua +updates.difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates.State} + +``` + + diff --git a/old_docs/API_docs_v100/constructors/updates.differenceEmpty.md b/old_docs/API_docs_v100/constructors/updates.differenceEmpty.md new file mode 100644 index 00000000..a9dc3bd0 --- /dev/null +++ b/old_docs/API_docs_v100/constructors/updates.differenceEmpty.md @@ -0,0 +1,39 @@ +--- +title: updates.differenceEmpty +description: No events. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.differenceEmpty +[Back to constructors index](index.md) + + + +No events. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Current date| +|seq|[int](../types/int.md) | Yes|Number of sent updates| + + + +### Type: [updates.Difference](../types/updates.Difference.md) + + +### Example: + +```php +$updates.differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int]; +``` + + +Or, if you're into Lua: + +```lua +updates.differenceEmpty={_='updates.differenceEmpty', date=int, seq=int} + +``` + + diff --git a/old_docs/API_docs_v100/constructors/updates.differenceSlice.md b/old_docs/API_docs_v100/constructors/updates.differenceSlice.md new file mode 100644 index 00000000..9daf7a75 --- /dev/null +++ b/old_docs/API_docs_v100/constructors/updates.differenceSlice.md @@ -0,0 +1,43 @@ +--- +title: updates.differenceSlice +description: Incomplete list of occurred events. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.differenceSlice +[Back to constructors index](index.md) + + + +Incomplete list of occurred events. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| +|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| +|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| +|intermediate\_state|[updates.State](../constructors/updates.State.md) | Yes|Intermediary state| + + + +### Type: [updates.Difference](../types/updates.Difference.md) + + +### Example: + +```php +$updates.differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'intermediate_state' => updates.State]; +``` + + +Or, if you're into Lua: + +```lua +updates.differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates.State} + +``` + + diff --git a/old_docs/API_docs_v100/constructors/updates.differenceTooLong.md b/old_docs/API_docs_v100/constructors/updates.differenceTooLong.md new file mode 100644 index 00000000..ef2e7e4d --- /dev/null +++ b/old_docs/API_docs_v100/constructors/updates.differenceTooLong.md @@ -0,0 +1,38 @@ +--- +title: updates.differenceTooLong +description: The difference is [too long](https://core.telegram.org/api/updates#recovering-gaps), and the specified state must be used to refetch updates. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.differenceTooLong +[Back to constructors index](index.md) + + + +The difference is [too long](https://core.telegram.org/api/updates#recovering-gaps), and the specified state must be used to refetch updates. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|The new state to use.| + + + +### Type: [updates.Difference](../types/updates.Difference.md) + + +### Example: + +```php +$updates.differenceTooLong = ['_' => 'updates.differenceTooLong', 'pts' => int]; +``` + + +Or, if you're into Lua: + +```lua +updates.differenceTooLong={_='updates.differenceTooLong', pts=int} + +``` + + diff --git a/old_docs/API_docs_v100/constructors/updates.state.md b/old_docs/API_docs_v100/constructors/updates.state.md new file mode 100644 index 00000000..abe9ddbb --- /dev/null +++ b/old_docs/API_docs_v100/constructors/updates.state.md @@ -0,0 +1,42 @@ +--- +title: updates.state +description: Updates state. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.state +[Back to constructors index](index.md) + + + +Updates state. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| +|qts|[int](../types/int.md) | Yes|Position in a sequence of updates in secret chats. For further detailes refer to article [secret chats](https://core.telegram.org/api/end-to-end)
Parameter was added in [eigth layer](https://core.telegram.org/api/layers#layer-8).| +|date|[int](../types/int.md) | Yes|Date of condition| +|seq|[int](../types/int.md) | Yes|Number of sent updates| +|unread\_count|[int](../types/int.md) | Yes|Number of unread messages| + + + +### Type: [updates.State](../types/updates.State.md) + + +### Example: + +```php +$updates.state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int]; +``` + + +Or, if you're into Lua: + +```lua +updates.state={_='updates.state', pts=int, qts=int, date=int, seq=int, unread_count=int} + +``` + + diff --git a/old_docs/API_docs_v100/constructors/updates_channelDifference.md b/old_docs/API_docs_v100/constructors/updates_channelDifference.md deleted file mode 100644 index 1b50fbf3..00000000 --- a/old_docs/API_docs_v100/constructors/updates_channelDifference.md +++ /dev/null @@ -1,44 +0,0 @@ ---- -title: updates.channelDifference -description: The new updates -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.channelDifference -[Back to constructors index](index.md) - - - -The new updates - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates to be fetched using getDifference, starting from the provided `pts`| -|pts|[int](../types/int.md) | Yes|The [PTS](https://core.telegram.org/api/updates) from which to start getting updates the next time| -|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| -|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| -|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) - - -### Example: - -```php -$updates_channelDifference = ['_' => 'updates.channelDifference', 'final' => Bool, 'pts' => int, 'timeout' => int, 'new_messages' => [Message, Message], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -updates_channelDifference={_='updates.channelDifference', final=Bool, pts=int, timeout=int, new_messages={Message}, other_updates={Update}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v100/constructors/updates_channelDifferenceEmpty.md b/old_docs/API_docs_v100/constructors/updates_channelDifferenceEmpty.md deleted file mode 100644 index 713137aa..00000000 --- a/old_docs/API_docs_v100/constructors/updates_channelDifferenceEmpty.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: updates.channelDifferenceEmpty -description: There are no new updates -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.channelDifferenceEmpty -[Back to constructors index](index.md) - - - -There are no new updates - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates that must be fetched (always false)| -|pts|[int](../types/int.md) | Yes|The latest [PTS](https://core.telegram.org/api/updates)| -|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| - - - -### Type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) - - -### Example: - -```php -$updates_channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'final' => Bool, 'pts' => int, 'timeout' => int]; -``` - - -Or, if you're into Lua: - -```lua -updates_channelDifferenceEmpty={_='updates.channelDifferenceEmpty', final=Bool, pts=int, timeout=int} - -``` - - diff --git a/old_docs/API_docs_v100/constructors/updates_channelDifferenceTooLong.md b/old_docs/API_docs_v100/constructors/updates_channelDifferenceTooLong.md deleted file mode 100644 index 5719c340..00000000 --- a/old_docs/API_docs_v100/constructors/updates_channelDifferenceTooLong.md +++ /dev/null @@ -1,53 +0,0 @@ ---- -title: updates.channelDifferenceTooLong -description: The provided `pts + limit < remote pts`. Simply, there are too many updates to be fetched (more than `limit`), the client has to resolve the update gap in one of the following ways: - -1. Delete all known messages in the chat, begin from scratch by refetching all messages manually with [getHistory](../methods/messages.getHistory.md). It is easy to implement, but suddenly disappearing messages looks awful for the user. -2. Save all messages loaded in the memory until application restart, but delete all messages from database. Messages left in the memory must be lazily updated using calls to [getHistory](../methods/messages.getHistory.md). It looks much smoothly for the user, he will need to redownload messages only after client restart. Unsynchronized messages left in the memory shouldn't be saved to database, results of [getHistory](../methods/messages.getHistory.md) and [getMessages](../methods/messages.getMessages.md) must be used to update state of deleted and edited messages left in the memory. -3. Save all messages loaded in the memory and stored in the database without saving that some messages form continuous ranges. Messages in the database will be excluded from results of getChatHistory and searchChatMessages after application restart and will be available only through getMessage. Every message should still be checked using getHistory. It has more disadvantages over 2) than advantages. -4. Save all messages with saving all data about continuous message ranges. Messages from the database may be used as results of getChatHistory and (if implemented continuous ranges support for searching shared media) searchChatMessages. The messages should still be lazily checked using getHistory, but they are still available offline. It is the best way for gaps support, but it is pretty hard to implement correctly. It should be also noted that some messages like live location messages shouldn't be deleted. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.channelDifferenceTooLong -[Back to constructors index](index.md) - - - -The provided `pts + limit < remote pts`. Simply, there are too many updates to be fetched (more than `limit`), the client has to resolve the update gap in one of the following ways: - -1. Delete all known messages in the chat, begin from scratch by refetching all messages manually with [getHistory](../methods/messages.getHistory.md). It is easy to implement, but suddenly disappearing messages looks awful for the user. -2. Save all messages loaded in the memory until application restart, but delete all messages from database. Messages left in the memory must be lazily updated using calls to [getHistory](../methods/messages.getHistory.md). It looks much smoothly for the user, he will need to redownload messages only after client restart. Unsynchronized messages left in the memory shouldn't be saved to database, results of [getHistory](../methods/messages.getHistory.md) and [getMessages](../methods/messages.getMessages.md) must be used to update state of deleted and edited messages left in the memory. -3. Save all messages loaded in the memory and stored in the database without saving that some messages form continuous ranges. Messages in the database will be excluded from results of getChatHistory and searchChatMessages after application restart and will be available only through getMessage. Every message should still be checked using getHistory. It has more disadvantages over 2) than advantages. -4. Save all messages with saving all data about continuous message ranges. Messages from the database may be used as results of getChatHistory and (if implemented continuous ranges support for searching shared media) searchChatMessages. The messages should still be lazily checked using getHistory, but they are still available offline. It is the best way for gaps support, but it is pretty hard to implement correctly. It should be also noted that some messages like live location messages shouldn't be deleted. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates that must be fetched (always false)| -|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| -|dialog|[Dialog](../types/Dialog.md) | Yes|Dialog containing the latest [PTS](https://core.telegram.org/api/updates) that can be used to reset the channel state| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) - - -### Example: - -```php -$updates_channelDifferenceTooLong = ['_' => 'updates.channelDifferenceTooLong', 'final' => Bool, 'timeout' => int, 'dialog' => Dialog, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -updates_channelDifferenceTooLong={_='updates.channelDifferenceTooLong', final=Bool, timeout=int, dialog=Dialog, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v100/constructors/updates_difference.md b/old_docs/API_docs_v100/constructors/updates_difference.md deleted file mode 100644 index 71ac7d4c..00000000 --- a/old_docs/API_docs_v100/constructors/updates_difference.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: updates.difference -description: Full list of occurred events. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.difference -[Back to constructors index](index.md) - - - -Full list of occurred events. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| -|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| -|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| -|state|[updates\_State](../types/updates_State.md) | Yes|Current state| - - - -### Type: [updates\_Difference](../types/updates_Difference.md) - - -### Example: - -```php -$updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates_State]; -``` - - -Or, if you're into Lua: - -```lua -updates_difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates_State} - -``` - - diff --git a/old_docs/API_docs_v100/constructors/updates_differenceEmpty.md b/old_docs/API_docs_v100/constructors/updates_differenceEmpty.md deleted file mode 100644 index c3c95c5a..00000000 --- a/old_docs/API_docs_v100/constructors/updates_differenceEmpty.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: updates.differenceEmpty -description: No events. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.differenceEmpty -[Back to constructors index](index.md) - - - -No events. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Current date| -|seq|[int](../types/int.md) | Yes|Number of sent updates| - - - -### Type: [updates\_Difference](../types/updates_Difference.md) - - -### Example: - -```php -$updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int]; -``` - - -Or, if you're into Lua: - -```lua -updates_differenceEmpty={_='updates.differenceEmpty', date=int, seq=int} - -``` - - diff --git a/old_docs/API_docs_v100/constructors/updates_differenceSlice.md b/old_docs/API_docs_v100/constructors/updates_differenceSlice.md deleted file mode 100644 index 8b12a369..00000000 --- a/old_docs/API_docs_v100/constructors/updates_differenceSlice.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: updates.differenceSlice -description: Incomplete list of occurred events. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.differenceSlice -[Back to constructors index](index.md) - - - -Incomplete list of occurred events. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| -|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| -|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| -|intermediate\_state|[updates\_State](../types/updates_State.md) | Yes|Intermediary state| - - - -### Type: [updates\_Difference](../types/updates_Difference.md) - - -### Example: - -```php -$updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'intermediate_state' => updates_State]; -``` - - -Or, if you're into Lua: - -```lua -updates_differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates_State} - -``` - - diff --git a/old_docs/API_docs_v100/constructors/updates_differenceTooLong.md b/old_docs/API_docs_v100/constructors/updates_differenceTooLong.md deleted file mode 100644 index 1fbdfa01..00000000 --- a/old_docs/API_docs_v100/constructors/updates_differenceTooLong.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: updates.differenceTooLong -description: The difference is [too long](https://core.telegram.org/api/updates#recovering-gaps), and the specified state must be used to refetch updates. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.differenceTooLong -[Back to constructors index](index.md) - - - -The difference is [too long](https://core.telegram.org/api/updates#recovering-gaps), and the specified state must be used to refetch updates. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|The new state to use.| - - - -### Type: [updates\_Difference](../types/updates_Difference.md) - - -### Example: - -```php -$updates_differenceTooLong = ['_' => 'updates.differenceTooLong', 'pts' => int]; -``` - - -Or, if you're into Lua: - -```lua -updates_differenceTooLong={_='updates.differenceTooLong', pts=int} - -``` - - diff --git a/old_docs/API_docs_v100/constructors/updates_state.md b/old_docs/API_docs_v100/constructors/updates_state.md deleted file mode 100644 index ef3698e2..00000000 --- a/old_docs/API_docs_v100/constructors/updates_state.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: updates.state -description: Updates state. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.state -[Back to constructors index](index.md) - - - -Updates state. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| -|qts|[int](../types/int.md) | Yes|Position in a sequence of updates in secret chats. For further detailes refer to article [secret chats](https://core.telegram.org/api/end-to-end)
Parameter was added in [eigth layer](https://core.telegram.org/api/layers#layer-8).| -|date|[int](../types/int.md) | Yes|Date of condition| -|seq|[int](../types/int.md) | Yes|Number of sent updates| -|unread\_count|[int](../types/int.md) | Yes|Number of unread messages| - - - -### Type: [updates\_State](../types/updates_State.md) - - -### Example: - -```php -$updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int]; -``` - - -Or, if you're into Lua: - -```lua -updates_state={_='updates.state', pts=int, qts=int, date=int, seq=int, unread_count=int} - -``` - - diff --git a/old_docs/API_docs_v100/constructors/upload.cdnFile.md b/old_docs/API_docs_v100/constructors/upload.cdnFile.md new file mode 100644 index 00000000..d6d75513 --- /dev/null +++ b/old_docs/API_docs_v100/constructors/upload.cdnFile.md @@ -0,0 +1,38 @@ +--- +title: upload.cdnFile +description: Represent a chunk of a [CDN](https://core.telegram.org/cdn) file. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: upload.cdnFile +[Back to constructors index](index.md) + + + +Represent a chunk of a [CDN](https://core.telegram.org/cdn) file. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|bytes|[bytes](../types/bytes.md) | Yes|The data| + + + +### Type: [upload.CdnFile](../types/upload.CdnFile.md) + + +### Example: + +```php +$upload.cdnFile = ['_' => 'upload.cdnFile', 'bytes' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +upload.cdnFile={_='upload.cdnFile', bytes='bytes'} + +``` + + diff --git a/old_docs/API_docs_v100/constructors/upload.cdnFileReuploadNeeded.md b/old_docs/API_docs_v100/constructors/upload.cdnFileReuploadNeeded.md new file mode 100644 index 00000000..7c461a87 --- /dev/null +++ b/old_docs/API_docs_v100/constructors/upload.cdnFileReuploadNeeded.md @@ -0,0 +1,38 @@ +--- +title: upload.cdnFileReuploadNeeded +description: The file was cleared from the temporary RAM cache of the [CDN](https://core.telegram.org/cdn) and has to be reuploaded. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: upload.cdnFileReuploadNeeded +[Back to constructors index](index.md) + + + +The file was cleared from the temporary RAM cache of the [CDN](https://core.telegram.org/cdn) and has to be reuploaded. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|request\_token|[bytes](../types/bytes.md) | Yes|Request token (see [CDN](https://core.telegram.org/cdn))| + + + +### Type: [upload.CdnFile](../types/upload.CdnFile.md) + + +### Example: + +```php +$upload.cdnFileReuploadNeeded = ['_' => 'upload.cdnFileReuploadNeeded', 'request_token' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +upload.cdnFileReuploadNeeded={_='upload.cdnFileReuploadNeeded', request_token='bytes'} + +``` + + diff --git a/old_docs/API_docs_v100/constructors/upload.file.md b/old_docs/API_docs_v100/constructors/upload.file.md new file mode 100644 index 00000000..145a4c24 --- /dev/null +++ b/old_docs/API_docs_v100/constructors/upload.file.md @@ -0,0 +1,40 @@ +--- +title: upload.file +description: File content. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: upload.file +[Back to constructors index](index.md) + + + +File content. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|type|[storage.FileType](../constructors/storage.FileType.md) | Yes|File type| +|mtime|[int](../types/int.md) | Yes|Modification type| +|bytes|[bytes](../types/bytes.md) | Yes|Binary data, file content| + + + +### Type: [upload.File](../types/upload.File.md) + + +### Example: + +```php +$upload.file = ['_' => 'upload.file', 'type' => storage.FileType, 'mtime' => int, 'bytes' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +upload.file={_='upload.file', type=storage.FileType, mtime=int, bytes='bytes'} + +``` + + diff --git a/old_docs/API_docs_v100/constructors/upload.fileCdnRedirect.md b/old_docs/API_docs_v100/constructors/upload.fileCdnRedirect.md new file mode 100644 index 00000000..dc56e919 --- /dev/null +++ b/old_docs/API_docs_v100/constructors/upload.fileCdnRedirect.md @@ -0,0 +1,42 @@ +--- +title: upload.fileCdnRedirect +description: The file must be downloaded from a [CDN DC](https://core.telegram.org/cdn). +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: upload.fileCdnRedirect +[Back to constructors index](index.md) + + + +The file must be downloaded from a [CDN DC](https://core.telegram.org/cdn). + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|dc\_id|[int](../types/int.md) | Yes|[CDN DC](https://core.telegram.org/cdn) ID| +|file\_token|[bytes](../types/bytes.md) | Yes|File token (see [CDN files](https://core.telegram.org/cdn)| +|encryption\_key|[bytes](../types/bytes.md) | Yes|Encryption key (see [CDN files](https://core.telegram.org/cdn)| +|encryption\_iv|[bytes](../types/bytes.md) | Yes|Encryption IV (see [CDN files](https://core.telegram.org/cdn)| +|file\_hashes|Array of [FileHash](../types/FileHash.md) | Yes|File hashes| + + + +### Type: [upload.File](../types/upload.File.md) + + +### Example: + +```php +$upload.fileCdnRedirect = ['_' => 'upload.fileCdnRedirect', 'dc_id' => int, 'file_token' => 'bytes', 'encryption_key' => 'bytes', 'encryption_iv' => 'bytes', 'file_hashes' => [FileHash, FileHash]]; +``` + + +Or, if you're into Lua: + +```lua +upload.fileCdnRedirect={_='upload.fileCdnRedirect', dc_id=int, file_token='bytes', encryption_key='bytes', encryption_iv='bytes', file_hashes={FileHash}} + +``` + + diff --git a/old_docs/API_docs_v100/constructors/upload.webFile.md b/old_docs/API_docs_v100/constructors/upload.webFile.md new file mode 100644 index 00000000..a93ea94f --- /dev/null +++ b/old_docs/API_docs_v100/constructors/upload.webFile.md @@ -0,0 +1,42 @@ +--- +title: upload.webFile +description: Represents a chunk of an [HTTP webfile](https://core.telegram.org/api/files) downloaded through telegram's secure MTProto servers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: upload.webFile +[Back to constructors index](index.md) + + + +Represents a chunk of an [HTTP webfile](https://core.telegram.org/api/files) downloaded through telegram's secure MTProto servers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|size|[int](../types/int.md) | Yes|File size| +|mime\_type|[string](../types/string.md) | Yes|Mime type| +|file\_type|[storage.FileType](../constructors/storage.FileType.md) | Yes|File type| +|mtime|[int](../types/int.md) | Yes|Modified time| +|bytes|[bytes](../types/bytes.md) | Yes|Data| + + + +### Type: [upload.WebFile](../types/upload.WebFile.md) + + +### Example: + +```php +$upload.webFile = ['_' => 'upload.webFile', 'size' => int, 'mime_type' => 'string', 'file_type' => storage.FileType, 'mtime' => int, 'bytes' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +upload.webFile={_='upload.webFile', size=int, mime_type='string', file_type=storage.FileType, mtime=int, bytes='bytes'} + +``` + + diff --git a/old_docs/API_docs_v100/constructors/upload_cdnFile.md b/old_docs/API_docs_v100/constructors/upload_cdnFile.md deleted file mode 100644 index 019b8742..00000000 --- a/old_docs/API_docs_v100/constructors/upload_cdnFile.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: upload.cdnFile -description: Represent a chunk of a [CDN](https://core.telegram.org/cdn) file. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: upload.cdnFile -[Back to constructors index](index.md) - - - -Represent a chunk of a [CDN](https://core.telegram.org/cdn) file. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|bytes|[bytes](../types/bytes.md) | Yes|The data| - - - -### Type: [upload\_CdnFile](../types/upload_CdnFile.md) - - -### Example: - -```php -$upload_cdnFile = ['_' => 'upload.cdnFile', 'bytes' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -upload_cdnFile={_='upload.cdnFile', bytes='bytes'} - -``` - - diff --git a/old_docs/API_docs_v100/constructors/upload_cdnFileReuploadNeeded.md b/old_docs/API_docs_v100/constructors/upload_cdnFileReuploadNeeded.md deleted file mode 100644 index 6588a596..00000000 --- a/old_docs/API_docs_v100/constructors/upload_cdnFileReuploadNeeded.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: upload.cdnFileReuploadNeeded -description: The file was cleared from the temporary RAM cache of the [CDN](https://core.telegram.org/cdn) and has to be reuploaded. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: upload.cdnFileReuploadNeeded -[Back to constructors index](index.md) - - - -The file was cleared from the temporary RAM cache of the [CDN](https://core.telegram.org/cdn) and has to be reuploaded. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|request\_token|[bytes](../types/bytes.md) | Yes|Request token (see [CDN](https://core.telegram.org/cdn))| - - - -### Type: [upload\_CdnFile](../types/upload_CdnFile.md) - - -### Example: - -```php -$upload_cdnFileReuploadNeeded = ['_' => 'upload.cdnFileReuploadNeeded', 'request_token' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -upload_cdnFileReuploadNeeded={_='upload.cdnFileReuploadNeeded', request_token='bytes'} - -``` - - diff --git a/old_docs/API_docs_v100/constructors/upload_file.md b/old_docs/API_docs_v100/constructors/upload_file.md deleted file mode 100644 index 1e07d9fb..00000000 --- a/old_docs/API_docs_v100/constructors/upload_file.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: upload.file -description: File content. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: upload.file -[Back to constructors index](index.md) - - - -File content. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|type|[storage\_FileType](../types/storage_FileType.md) | Yes|File type| -|mtime|[int](../types/int.md) | Yes|Modification type| -|bytes|[bytes](../types/bytes.md) | Yes|Binary data, file content| - - - -### Type: [upload\_File](../types/upload_File.md) - - -### Example: - -```php -$upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int, 'bytes' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -upload_file={_='upload.file', type=storage_FileType, mtime=int, bytes='bytes'} - -``` - - diff --git a/old_docs/API_docs_v100/constructors/upload_fileCdnRedirect.md b/old_docs/API_docs_v100/constructors/upload_fileCdnRedirect.md deleted file mode 100644 index de504dc3..00000000 --- a/old_docs/API_docs_v100/constructors/upload_fileCdnRedirect.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: upload.fileCdnRedirect -description: The file must be downloaded from a [CDN DC](https://core.telegram.org/cdn). -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: upload.fileCdnRedirect -[Back to constructors index](index.md) - - - -The file must be downloaded from a [CDN DC](https://core.telegram.org/cdn). - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|dc\_id|[int](../types/int.md) | Yes|[CDN DC](https://core.telegram.org/cdn) ID| -|file\_token|[bytes](../types/bytes.md) | Yes|File token (see [CDN files](https://core.telegram.org/cdn)| -|encryption\_key|[bytes](../types/bytes.md) | Yes|Encryption key (see [CDN files](https://core.telegram.org/cdn)| -|encryption\_iv|[bytes](../types/bytes.md) | Yes|Encryption IV (see [CDN files](https://core.telegram.org/cdn)| -|file\_hashes|Array of [FileHash](../types/FileHash.md) | Yes|File hashes| - - - -### Type: [upload\_File](../types/upload_File.md) - - -### Example: - -```php -$upload_fileCdnRedirect = ['_' => 'upload.fileCdnRedirect', 'dc_id' => int, 'file_token' => 'bytes', 'encryption_key' => 'bytes', 'encryption_iv' => 'bytes', 'file_hashes' => [FileHash, FileHash]]; -``` - - -Or, if you're into Lua: - -```lua -upload_fileCdnRedirect={_='upload.fileCdnRedirect', dc_id=int, file_token='bytes', encryption_key='bytes', encryption_iv='bytes', file_hashes={FileHash}} - -``` - - diff --git a/old_docs/API_docs_v100/constructors/upload_webFile.md b/old_docs/API_docs_v100/constructors/upload_webFile.md deleted file mode 100644 index ee8053b1..00000000 --- a/old_docs/API_docs_v100/constructors/upload_webFile.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: upload.webFile -description: Represents a chunk of an [HTTP webfile](https://core.telegram.org/api/files) downloaded through telegram's secure MTProto servers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: upload.webFile -[Back to constructors index](index.md) - - - -Represents a chunk of an [HTTP webfile](https://core.telegram.org/api/files) downloaded through telegram's secure MTProto servers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|size|[int](../types/int.md) | Yes|File size| -|mime\_type|[string](../types/string.md) | Yes|Mime type| -|file\_type|[storage\_FileType](../types/storage_FileType.md) | Yes|File type| -|mtime|[int](../types/int.md) | Yes|Modified time| -|bytes|[bytes](../types/bytes.md) | Yes|Data| - - - -### Type: [upload\_WebFile](../types/upload_WebFile.md) - - -### Example: - -```php -$upload_webFile = ['_' => 'upload.webFile', 'size' => int, 'mime_type' => 'string', 'file_type' => storage_FileType, 'mtime' => int, 'bytes' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -upload_webFile={_='upload.webFile', size=int, mime_type='string', file_type=storage_FileType, mtime=int, bytes='bytes'} - -``` - - diff --git a/old_docs/API_docs_v100/constructors/userFull.md b/old_docs/API_docs_v100/constructors/userFull.md index 41695bd4..a9e97ee7 100644 --- a/old_docs/API_docs_v100/constructors/userFull.md +++ b/old_docs/API_docs_v100/constructors/userFull.md @@ -20,7 +20,7 @@ Extended user info |can\_pin\_message|[Bool](../types/Bool.md) | Optional|Whether you can pin messages in the chat with this user, you can do this only for a chat with yourself| |user|[User](../types/User.md) | Optional|Remaining user info| |about|[string](../types/string.md) | Optional|Bio of the user| -|link|[contacts\_Link](../types/contacts_Link.md) | Yes|Link| +|link|[contacts.Link](../constructors/contacts.Link.md) | Yes|Link| |profile\_photo|[Photo](../types/Photo.md) | Optional|Profile photo| |notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Yes|Notification settings| |bot\_info|[BotInfo](../types/BotInfo.md) | Optional|For bots, info about the bot (bot commands, etc)| @@ -36,14 +36,14 @@ Extended user info ### Example: ```php -$userFull = ['_' => 'userFull', 'blocked' => Bool, 'phone_calls_available' => Bool, 'phone_calls_private' => Bool, 'can_pin_message' => Bool, 'user' => User, 'about' => 'string', 'link' => contacts_Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'bot_info' => BotInfo, 'pinned_msg_id' => int, 'common_chats_count' => int, 'folder_id' => int]; +$userFull = ['_' => 'userFull', 'blocked' => Bool, 'phone_calls_available' => Bool, 'phone_calls_private' => Bool, 'can_pin_message' => Bool, 'user' => User, 'about' => 'string', 'link' => contacts.Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'bot_info' => BotInfo, 'pinned_msg_id' => int, 'common_chats_count' => int, 'folder_id' => int]; ``` Or, if you're into Lua: ```lua -userFull={_='userFull', blocked=Bool, phone_calls_available=Bool, phone_calls_private=Bool, can_pin_message=Bool, user=User, about='string', link=contacts_Link, profile_photo=Photo, notify_settings=PeerNotifySettings, bot_info=BotInfo, pinned_msg_id=int, common_chats_count=int, folder_id=int} +userFull={_='userFull', blocked=Bool, phone_calls_available=Bool, phone_calls_private=Bool, can_pin_message=Bool, user=User, about='string', link=contacts.Link, profile_photo=Photo, notify_settings=PeerNotifySettings, bot_info=BotInfo, pinned_msg_id=int, common_chats_count=int, folder_id=int} ``` diff --git a/old_docs/API_docs_v100/methods/account.getAuthorizationForm.md b/old_docs/API_docs_v100/methods/account.getAuthorizationForm.md index 298951cb..b0d52e07 100644 --- a/old_docs/API_docs_v100/methods/account.getAuthorizationForm.md +++ b/old_docs/API_docs_v100/methods/account.getAuthorizationForm.md @@ -18,7 +18,7 @@ Returns a Telegram Passport authorization form for sharing data with a service |public\_key|[string](../types/string.md) | Service's public key | Yes| -### Return type: [account\_AuthorizationForm](../types/account_AuthorizationForm.md) +### Return type: [account.AuthorizationForm](../types/account.AuthorizationForm.md) ### Can bots use this method: **NO** @@ -35,12 +35,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_AuthorizationForm = $MadelineProto->account->getAuthorizationForm(['bot_id' => int, 'scope' => 'string', 'public_key' => 'string', ]); +$account.AuthorizationForm = $MadelineProto->account->getAuthorizationForm(['bot_id' => int, 'scope' => 'string', 'public_key' => 'string', ]); ``` Or, if you're into Lua: ```lua -account_AuthorizationForm = account.getAuthorizationForm({bot_id=int, scope='string', public_key='string', }) +account.AuthorizationForm = account.getAuthorizationForm({bot_id=int, scope='string', public_key='string', }) ``` diff --git a/old_docs/API_docs_v100/methods/account.getAuthorizations.md b/old_docs/API_docs_v100/methods/account.getAuthorizations.md index f69c130a..fad3a7ae 100644 --- a/old_docs/API_docs_v100/methods/account.getAuthorizations.md +++ b/old_docs/API_docs_v100/methods/account.getAuthorizations.md @@ -11,7 +11,7 @@ Get logged-in sessions -### Return type: [account\_Authorizations](../types/account_Authorizations.md) +### Return type: [account.Authorizations](../types/account.Authorizations.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_Authorizations = $MadelineProto->account->getAuthorizations(); +$account.Authorizations = $MadelineProto->account->getAuthorizations(); ``` Or, if you're into Lua: ```lua -account_Authorizations = account.getAuthorizations({}) +account.Authorizations = account.getAuthorizations({}) ``` diff --git a/old_docs/API_docs_v100/methods/account.getAutoDownloadSettings.md b/old_docs/API_docs_v100/methods/account.getAutoDownloadSettings.md index 5ad7db87..4f036f08 100644 --- a/old_docs/API_docs_v100/methods/account.getAutoDownloadSettings.md +++ b/old_docs/API_docs_v100/methods/account.getAutoDownloadSettings.md @@ -11,7 +11,7 @@ Get media autodownload settings -### Return type: [account\_AutoDownloadSettings](../types/account_AutoDownloadSettings.md) +### Return type: [account.AutoDownloadSettings](../types/account.AutoDownloadSettings.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_AutoDownloadSettings = $MadelineProto->account->getAutoDownloadSettings(); +$account.AutoDownloadSettings = $MadelineProto->account->getAutoDownloadSettings(); ``` Or, if you're into Lua: ```lua -account_AutoDownloadSettings = account.getAutoDownloadSettings({}) +account.AutoDownloadSettings = account.getAutoDownloadSettings({}) ``` diff --git a/old_docs/API_docs_v100/methods/account.getPassword.md b/old_docs/API_docs_v100/methods/account.getPassword.md index eed4aee3..621271b6 100644 --- a/old_docs/API_docs_v100/methods/account.getPassword.md +++ b/old_docs/API_docs_v100/methods/account.getPassword.md @@ -11,7 +11,7 @@ Obtain configuration for two-factor authorization with password -### Return type: [account\_Password](../types/account_Password.md) +### Return type: [account.Password](../types/account.Password.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_Password = $MadelineProto->account->getPassword(); +$account.Password = $MadelineProto->account->getPassword(); ``` Or, if you're into Lua: ```lua -account_Password = account.getPassword({}) +account.Password = account.getPassword({}) ``` diff --git a/old_docs/API_docs_v100/methods/account.getPasswordSettings.md b/old_docs/API_docs_v100/methods/account.getPasswordSettings.md index a7a47b1a..2b8607b9 100644 --- a/old_docs/API_docs_v100/methods/account.getPasswordSettings.md +++ b/old_docs/API_docs_v100/methods/account.getPasswordSettings.md @@ -16,7 +16,7 @@ You cannot use this method directly; use $MadelineProto->update_2fa($params), in |password|[InputCheckPasswordSRP](../types/InputCheckPasswordSRP.md) | You cannot use this method directly; use $MadelineProto->update_2fa($params), instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [account\_PasswordSettings](../types/account_PasswordSettings.md) +### Return type: [account.PasswordSettings](../types/account.PasswordSettings.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_PasswordSettings = $MadelineProto->account->getPasswordSettings(['password' => InputCheckPasswordSRP, ]); +$account.PasswordSettings = $MadelineProto->account->getPasswordSettings(['password' => InputCheckPasswordSRP, ]); ``` Or, if you're into Lua: ```lua -account_PasswordSettings = account.getPasswordSettings({password=InputCheckPasswordSRP, }) +account.PasswordSettings = account.getPasswordSettings({password=InputCheckPasswordSRP, }) ``` ### Errors diff --git a/old_docs/API_docs_v100/methods/account.getPrivacy.md b/old_docs/API_docs_v100/methods/account.getPrivacy.md index 6a240129..e20c292c 100644 --- a/old_docs/API_docs_v100/methods/account.getPrivacy.md +++ b/old_docs/API_docs_v100/methods/account.getPrivacy.md @@ -16,7 +16,7 @@ Get privacy settings of current account |key|[InputPrivacyKey](../types/InputPrivacyKey.md) | Peer category whose privacy settings should be fetched | Yes| -### Return type: [account\_PrivacyRules](../types/account_PrivacyRules.md) +### Return type: [account.PrivacyRules](../types/account.PrivacyRules.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_PrivacyRules = $MadelineProto->account->getPrivacy(['key' => InputPrivacyKey, ]); +$account.PrivacyRules = $MadelineProto->account->getPrivacy(['key' => InputPrivacyKey, ]); ``` Or, if you're into Lua: ```lua -account_PrivacyRules = account.getPrivacy({key=InputPrivacyKey, }) +account.PrivacyRules = account.getPrivacy({key=InputPrivacyKey, }) ``` ### Errors diff --git a/old_docs/API_docs_v100/methods/account.getTmpPassword.md b/old_docs/API_docs_v100/methods/account.getTmpPassword.md index 76729595..2328df1e 100644 --- a/old_docs/API_docs_v100/methods/account.getTmpPassword.md +++ b/old_docs/API_docs_v100/methods/account.getTmpPassword.md @@ -17,7 +17,7 @@ Get temporary payment password |period|[int](../types/int.md) | Time during which the temporary password will be valid, in seconds; should be between 60 and 86400 | Yes| -### Return type: [account\_TmpPassword](../types/account_TmpPassword.md) +### Return type: [account.TmpPassword](../types/account.TmpPassword.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_TmpPassword = $MadelineProto->account->getTmpPassword(['password' => InputCheckPasswordSRP, 'period' => int, ]); +$account.TmpPassword = $MadelineProto->account->getTmpPassword(['password' => InputCheckPasswordSRP, 'period' => int, ]); ``` Or, if you're into Lua: ```lua -account_TmpPassword = account.getTmpPassword({password=InputCheckPasswordSRP, period=int, }) +account.TmpPassword = account.getTmpPassword({password=InputCheckPasswordSRP, period=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v100/methods/account.getWallPapers.md b/old_docs/API_docs_v100/methods/account.getWallPapers.md index 75c97ae2..aeb95929 100644 --- a/old_docs/API_docs_v100/methods/account.getWallPapers.md +++ b/old_docs/API_docs_v100/methods/account.getWallPapers.md @@ -16,7 +16,7 @@ Returns a list of available wallpapers. |hash|Array of [int](../types/int.md) | IDs of previously fetched wallpapers | Optional| -### Return type: [account\_WallPapers](../types/account_WallPapers.md) +### Return type: [account.WallPapers](../types/account.WallPapers.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_WallPapers = $MadelineProto->account->getWallPapers(['hash' => [int, int], ]); +$account.WallPapers = $MadelineProto->account->getWallPapers(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -account_WallPapers = account.getWallPapers({hash={int}, }) +account.WallPapers = account.getWallPapers({hash={int}, }) ``` diff --git a/old_docs/API_docs_v100/methods/account.getWebAuthorizations.md b/old_docs/API_docs_v100/methods/account.getWebAuthorizations.md index 1a43f138..b97fe978 100644 --- a/old_docs/API_docs_v100/methods/account.getWebAuthorizations.md +++ b/old_docs/API_docs_v100/methods/account.getWebAuthorizations.md @@ -11,7 +11,7 @@ Get web [login widget](https://core.telegram.org/widgets/login) authorizations -### Return type: [account\_WebAuthorizations](../types/account_WebAuthorizations.md) +### Return type: [account.WebAuthorizations](../types/account.WebAuthorizations.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_WebAuthorizations = $MadelineProto->account->getWebAuthorizations(); +$account.WebAuthorizations = $MadelineProto->account->getWebAuthorizations(); ``` Or, if you're into Lua: ```lua -account_WebAuthorizations = account.getWebAuthorizations({}) +account.WebAuthorizations = account.getWebAuthorizations({}) ``` diff --git a/old_docs/API_docs_v100/methods/account.initTakeoutSession.md b/old_docs/API_docs_v100/methods/account.initTakeoutSession.md index 01b3ae0f..3b8774b8 100644 --- a/old_docs/API_docs_v100/methods/account.initTakeoutSession.md +++ b/old_docs/API_docs_v100/methods/account.initTakeoutSession.md @@ -22,7 +22,7 @@ Intialize account takeout session |file\_max\_size|[int](../types/int.md) | Maximum size of files to export | Optional| -### Return type: [account\_Takeout](../types/account_Takeout.md) +### Return type: [account.Takeout](../types/account.Takeout.md) ### Can bots use this method: **NO** @@ -39,12 +39,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_Takeout = $MadelineProto->account->initTakeoutSession(['contacts' => Bool, 'message_users' => Bool, 'message_chats' => Bool, 'message_megagroups' => Bool, 'message_channels' => Bool, 'files' => Bool, 'file_max_size' => int, ]); +$account.Takeout = $MadelineProto->account->initTakeoutSession(['contacts' => Bool, 'message_users' => Bool, 'message_chats' => Bool, 'message_megagroups' => Bool, 'message_channels' => Bool, 'files' => Bool, 'file_max_size' => int, ]); ``` Or, if you're into Lua: ```lua -account_Takeout = account.initTakeoutSession({contacts=Bool, message_users=Bool, message_chats=Bool, message_megagroups=Bool, message_channels=Bool, files=Bool, file_max_size=int, }) +account.Takeout = account.initTakeoutSession({contacts=Bool, message_users=Bool, message_chats=Bool, message_megagroups=Bool, message_channels=Bool, files=Bool, file_max_size=int, }) ``` diff --git a/old_docs/API_docs_v100/methods/account.sendChangePhoneCode.md b/old_docs/API_docs_v100/methods/account.sendChangePhoneCode.md index 1efd192e..469a602d 100644 --- a/old_docs/API_docs_v100/methods/account.sendChangePhoneCode.md +++ b/old_docs/API_docs_v100/methods/account.sendChangePhoneCode.md @@ -17,7 +17,7 @@ Verify a new phone number to associate to the current account |settings|[CodeSettings](../types/CodeSettings.md) | Phone code settings | Yes| -### Return type: [auth\_SentCode](../types/auth_SentCode.md) +### Return type: [auth.SentCode](../types/auth.SentCode.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_SentCode = $MadelineProto->account->sendChangePhoneCode(['phone_number' => 'string', 'settings' => CodeSettings, ]); +$auth.SentCode = $MadelineProto->account->sendChangePhoneCode(['phone_number' => 'string', 'settings' => CodeSettings, ]); ``` Or, if you're into Lua: ```lua -auth_SentCode = account.sendChangePhoneCode({phone_number='string', settings=CodeSettings, }) +auth.SentCode = account.sendChangePhoneCode({phone_number='string', settings=CodeSettings, }) ``` ### Errors diff --git a/old_docs/API_docs_v100/methods/account.sendConfirmPhoneCode.md b/old_docs/API_docs_v100/methods/account.sendConfirmPhoneCode.md index bd8cf87e..1927681f 100644 --- a/old_docs/API_docs_v100/methods/account.sendConfirmPhoneCode.md +++ b/old_docs/API_docs_v100/methods/account.sendConfirmPhoneCode.md @@ -17,7 +17,7 @@ Send confirmation code to cancel account deletion, for more info [click here »] |settings|[CodeSettings](../types/CodeSettings.md) | Phone code settings | Yes| -### Return type: [auth\_SentCode](../types/auth_SentCode.md) +### Return type: [auth.SentCode](../types/auth.SentCode.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_SentCode = $MadelineProto->account->sendConfirmPhoneCode(['hash' => 'string', 'settings' => CodeSettings, ]); +$auth.SentCode = $MadelineProto->account->sendConfirmPhoneCode(['hash' => 'string', 'settings' => CodeSettings, ]); ``` Or, if you're into Lua: ```lua -auth_SentCode = account.sendConfirmPhoneCode({hash='string', settings=CodeSettings, }) +auth.SentCode = account.sendConfirmPhoneCode({hash='string', settings=CodeSettings, }) ``` ### Errors diff --git a/old_docs/API_docs_v100/methods/account.sendVerifyEmailCode.md b/old_docs/API_docs_v100/methods/account.sendVerifyEmailCode.md index 54b1fc3f..a4768852 100644 --- a/old_docs/API_docs_v100/methods/account.sendVerifyEmailCode.md +++ b/old_docs/API_docs_v100/methods/account.sendVerifyEmailCode.md @@ -16,7 +16,7 @@ Send the verification email code for telegram [passport](https://core.telegram.o |email|[string](../types/string.md) | The email where to send the code | Yes| -### Return type: [account\_SentEmailCode](../types/account_SentEmailCode.md) +### Return type: [account.SentEmailCode](../types/account.SentEmailCode.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_SentEmailCode = $MadelineProto->account->sendVerifyEmailCode(['email' => 'string', ]); +$account.SentEmailCode = $MadelineProto->account->sendVerifyEmailCode(['email' => 'string', ]); ``` Or, if you're into Lua: ```lua -account_SentEmailCode = account.sendVerifyEmailCode({email='string', }) +account.SentEmailCode = account.sendVerifyEmailCode({email='string', }) ``` diff --git a/old_docs/API_docs_v100/methods/account.sendVerifyPhoneCode.md b/old_docs/API_docs_v100/methods/account.sendVerifyPhoneCode.md index 0b058240..3ff2fae7 100644 --- a/old_docs/API_docs_v100/methods/account.sendVerifyPhoneCode.md +++ b/old_docs/API_docs_v100/methods/account.sendVerifyPhoneCode.md @@ -17,7 +17,7 @@ Send the verification phone code for telegram [passport](https://core.telegram.o |settings|[CodeSettings](../types/CodeSettings.md) | Phone code settings | Yes| -### Return type: [auth\_SentCode](../types/auth_SentCode.md) +### Return type: [auth.SentCode](../types/auth.SentCode.md) ### Can bots use this method: **NO** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_SentCode = $MadelineProto->account->sendVerifyPhoneCode(['phone_number' => 'string', 'settings' => CodeSettings, ]); +$auth.SentCode = $MadelineProto->account->sendVerifyPhoneCode(['phone_number' => 'string', 'settings' => CodeSettings, ]); ``` Or, if you're into Lua: ```lua -auth_SentCode = account.sendVerifyPhoneCode({phone_number='string', settings=CodeSettings, }) +auth.SentCode = account.sendVerifyPhoneCode({phone_number='string', settings=CodeSettings, }) ``` diff --git a/old_docs/API_docs_v100/methods/account.setPrivacy.md b/old_docs/API_docs_v100/methods/account.setPrivacy.md index 7c4cfba7..096d373e 100644 --- a/old_docs/API_docs_v100/methods/account.setPrivacy.md +++ b/old_docs/API_docs_v100/methods/account.setPrivacy.md @@ -17,7 +17,7 @@ Change privacy settings of current account |rules|Array of [InputPrivacyRule](../types/InputPrivacyRule.md) | Privacy settings | Yes| -### Return type: [account\_PrivacyRules](../types/account_PrivacyRules.md) +### Return type: [account.PrivacyRules](../types/account.PrivacyRules.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_PrivacyRules = $MadelineProto->account->setPrivacy(['key' => InputPrivacyKey, 'rules' => [InputPrivacyRule, InputPrivacyRule], ]); +$account.PrivacyRules = $MadelineProto->account->setPrivacy(['key' => InputPrivacyKey, 'rules' => [InputPrivacyRule, InputPrivacyRule], ]); ``` Or, if you're into Lua: ```lua -account_PrivacyRules = account.setPrivacy({key=InputPrivacyKey, rules={InputPrivacyRule}, }) +account.PrivacyRules = account.setPrivacy({key=InputPrivacyKey, rules={InputPrivacyRule}, }) ``` ### Errors diff --git a/old_docs/API_docs_v100/methods/api_README.md b/old_docs/API_docs_v100/methods/api_README.md index 55e90145..04729987 100644 --- a/old_docs/API_docs_v100/methods/api_README.md +++ b/old_docs/API_docs_v100/methods/api_README.md @@ -80,15 +80,15 @@ $MadelineProto->[account->getAllSecureValues](account.getAllSecureValues.md)(\[\ ***

-$MadelineProto->[account->getAuthorizationForm](account.getAuthorizationForm.md)(\['bot_id' => [int](../types/int.md), 'scope' => [string](../types/string.md), 'public_key' => [string](../types/string.md), \]) === [$account\_AuthorizationForm](../types/account_AuthorizationForm.md) +$MadelineProto->[account->getAuthorizationForm](account.getAuthorizationForm.md)(\['bot_id' => [int](../types/int.md), 'scope' => [string](../types/string.md), 'public_key' => [string](../types/string.md), \]) === [$account.AuthorizationForm](../types/account.AuthorizationForm.md) ***

-$MadelineProto->[account->getAuthorizations](account.getAuthorizations.md)(\[\]) === [$account\_Authorizations](../types/account_Authorizations.md) +$MadelineProto->[account->getAuthorizations](account.getAuthorizations.md)(\[\]) === [$account.Authorizations](../types/account.Authorizations.md) ***

-$MadelineProto->[account->getAutoDownloadSettings](account.getAutoDownloadSettings.md)(\[\]) === [$account\_AutoDownloadSettings](../types/account_AutoDownloadSettings.md) +$MadelineProto->[account->getAutoDownloadSettings](account.getAutoDownloadSettings.md)(\[\]) === [$account.AutoDownloadSettings](../types/account.AutoDownloadSettings.md) ***

@@ -104,15 +104,15 @@ $MadelineProto->[account->getNotifySettings](account.getNotifySettings.md)(\['pe ***

-$MadelineProto->[account->getPassword](account.getPassword.md)(\[\]) === [$account\_Password](../types/account_Password.md) +$MadelineProto->[account->getPassword](account.getPassword.md)(\[\]) === [$account.Password](../types/account.Password.md) ***

-$MadelineProto->[account->getPasswordSettings](account.getPasswordSettings.md)(\['password' => [InputCheckPasswordSRP](../types/InputCheckPasswordSRP.md), \]) === [$account\_PasswordSettings](../types/account_PasswordSettings.md) +$MadelineProto->[account->getPasswordSettings](account.getPasswordSettings.md)(\['password' => [InputCheckPasswordSRP](../types/InputCheckPasswordSRP.md), \]) === [$account.PasswordSettings](../types/account.PasswordSettings.md) ***

-$MadelineProto->[account->getPrivacy](account.getPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), \]) === [$account\_PrivacyRules](../types/account_PrivacyRules.md) +$MadelineProto->[account->getPrivacy](account.getPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), \]) === [$account.PrivacyRules](../types/account.PrivacyRules.md) ***

@@ -120,7 +120,7 @@ $MadelineProto->[account->getSecureValue](account.getSecureValue.md)(\['types' = ***

-$MadelineProto->[account->getTmpPassword](account.getTmpPassword.md)(\['password' => [InputCheckPasswordSRP](../types/InputCheckPasswordSRP.md), 'period' => [int](../types/int.md), \]) === [$account\_TmpPassword](../types/account_TmpPassword.md) +$MadelineProto->[account->getTmpPassword](account.getTmpPassword.md)(\['password' => [InputCheckPasswordSRP](../types/InputCheckPasswordSRP.md), 'period' => [int](../types/int.md), \]) === [$account.TmpPassword](../types/account.TmpPassword.md) ***

@@ -128,15 +128,15 @@ $MadelineProto->[account->getWallPaper](account.getWallPaper.md)(\['wallpaper' = ***

-$MadelineProto->[account->getWallPapers](account.getWallPapers.md)(\['hash' => [int](../types/int.md), \]) === [$account\_WallPapers](../types/account_WallPapers.md) +$MadelineProto->[account->getWallPapers](account.getWallPapers.md)(\['hash' => [int](../types/int.md), \]) === [$account.WallPapers](../types/account.WallPapers.md) ***

-$MadelineProto->[account->getWebAuthorizations](account.getWebAuthorizations.md)(\[\]) === [$account\_WebAuthorizations](../types/account_WebAuthorizations.md) +$MadelineProto->[account->getWebAuthorizations](account.getWebAuthorizations.md)(\[\]) === [$account.WebAuthorizations](../types/account.WebAuthorizations.md) ***

-$MadelineProto->[account->initTakeoutSession](account.initTakeoutSession.md)(\['contacts' => [Bool](../types/Bool.md), 'message_users' => [Bool](../types/Bool.md), 'message_chats' => [Bool](../types/Bool.md), 'message_megagroups' => [Bool](../types/Bool.md), 'message_channels' => [Bool](../types/Bool.md), 'files' => [Bool](../types/Bool.md), 'file_max_size' => [int](../types/int.md), \]) === [$account\_Takeout](../types/account_Takeout.md) +$MadelineProto->[account->initTakeoutSession](account.initTakeoutSession.md)(\['contacts' => [Bool](../types/Bool.md), 'message_users' => [Bool](../types/Bool.md), 'message_chats' => [Bool](../types/Bool.md), 'message_megagroups' => [Bool](../types/Bool.md), 'message_channels' => [Bool](../types/Bool.md), 'files' => [Bool](../types/Bool.md), 'file_max_size' => [int](../types/int.md), \]) === [$account.Takeout](../types/account.Takeout.md) ***

@@ -188,19 +188,19 @@ $MadelineProto->[account->saveWallPaper](account.saveWallPaper.md)(\['wallpaper' ***

-$MadelineProto->[account->sendChangePhoneCode](account.sendChangePhoneCode.md)(\['phone_number' => [string](../types/string.md), 'settings' => [CodeSettings](../types/CodeSettings.md), \]) === [$auth\_SentCode](../types/auth_SentCode.md) +$MadelineProto->[account->sendChangePhoneCode](account.sendChangePhoneCode.md)(\['phone_number' => [string](../types/string.md), 'settings' => [CodeSettings](../types/CodeSettings.md), \]) === [$auth.SentCode](../types/auth.SentCode.md) ***

-$MadelineProto->[account->sendConfirmPhoneCode](account.sendConfirmPhoneCode.md)(\['hash' => [string](../types/string.md), 'settings' => [CodeSettings](../types/CodeSettings.md), \]) === [$auth\_SentCode](../types/auth_SentCode.md) +$MadelineProto->[account->sendConfirmPhoneCode](account.sendConfirmPhoneCode.md)(\['hash' => [string](../types/string.md), 'settings' => [CodeSettings](../types/CodeSettings.md), \]) === [$auth.SentCode](../types/auth.SentCode.md) ***

-$MadelineProto->[account->sendVerifyEmailCode](account.sendVerifyEmailCode.md)(\['email' => [string](../types/string.md), \]) === [$account\_SentEmailCode](../types/account_SentEmailCode.md) +$MadelineProto->[account->sendVerifyEmailCode](account.sendVerifyEmailCode.md)(\['email' => [string](../types/string.md), \]) === [$account.SentEmailCode](../types/account.SentEmailCode.md) ***

-$MadelineProto->[account->sendVerifyPhoneCode](account.sendVerifyPhoneCode.md)(\['phone_number' => [string](../types/string.md), 'settings' => [CodeSettings](../types/CodeSettings.md), \]) === [$auth\_SentCode](../types/auth_SentCode.md) +$MadelineProto->[account->sendVerifyPhoneCode](account.sendVerifyPhoneCode.md)(\['phone_number' => [string](../types/string.md), 'settings' => [CodeSettings](../types/CodeSettings.md), \]) === [$auth.SentCode](../types/auth.SentCode.md) ***

@@ -212,7 +212,7 @@ $MadelineProto->[account->setContactSignUpNotification](account.setContactSignUp ***

-$MadelineProto->[account->setPrivacy](account.setPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), 'rules' => \[[InputPrivacyRule](../types/InputPrivacyRule.md)\], \]) === [$account\_PrivacyRules](../types/account_PrivacyRules.md) +$MadelineProto->[account->setPrivacy](account.setPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), 'rules' => \[[InputPrivacyRule](../types/InputPrivacyRule.md)\], \]) === [$account.PrivacyRules](../types/account.PrivacyRules.md) ***

@@ -264,7 +264,7 @@ $MadelineProto->[auth->cancelCode](auth.cancelCode.md)(\['phone_number' => [stri ***

-$MadelineProto->[auth->checkPassword](auth.checkPassword.md)(\['password' => [InputCheckPasswordSRP](../types/InputCheckPasswordSRP.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->checkPassword](auth.checkPassword.md)(\['password' => [InputCheckPasswordSRP](../types/InputCheckPasswordSRP.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

@@ -272,15 +272,15 @@ $MadelineProto->[auth->dropTempAuthKeys](auth.dropTempAuthKeys.md)(\['except_aut ***

-$MadelineProto->[auth->exportAuthorization](auth.exportAuthorization.md)(\['dc_id' => [int](../types/int.md), \]) === [$auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) +$MadelineProto->[auth->exportAuthorization](auth.exportAuthorization.md)(\['dc_id' => [int](../types/int.md), \]) === [$auth.ExportedAuthorization](../types/auth.ExportedAuthorization.md) ***

-$MadelineProto->[auth->importAuthorization](auth.importAuthorization.md)(\['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->importAuthorization](auth.importAuthorization.md)(\['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

-$MadelineProto->[auth->importBotAuthorization](auth.importBotAuthorization.md)(\['api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), 'bot_auth_token' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->importBotAuthorization](auth.importBotAuthorization.md)(\['api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), 'bot_auth_token' => [string](../types/string.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

@@ -288,15 +288,15 @@ $MadelineProto->[auth->logOut](auth.logOut.md)(\[\]) === [$Bool](../types/Bool.m ***

-$MadelineProto->[auth->recoverPassword](auth.recoverPassword.md)(\['code' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->recoverPassword](auth.recoverPassword.md)(\['code' => [string](../types/string.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

-$MadelineProto->[auth->requestPasswordRecovery](auth.requestPasswordRecovery.md)(\[\]) === [$auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) +$MadelineProto->[auth->requestPasswordRecovery](auth.requestPasswordRecovery.md)(\[\]) === [$auth.PasswordRecovery](../types/auth.PasswordRecovery.md) ***

-$MadelineProto->[auth->resendCode](auth.resendCode.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), \]) === [$auth\_SentCode](../types/auth_SentCode.md) +$MadelineProto->[auth->resendCode](auth.resendCode.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), \]) === [$auth.SentCode](../types/auth.SentCode.md) ***

@@ -304,15 +304,15 @@ $MadelineProto->[auth->resetAuthorizations](auth.resetAuthorizations.md)(\[\]) = ***

-$MadelineProto->[auth->sendCode](auth.sendCode.md)(\['phone_number' => [string](../types/string.md), 'api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), 'settings' => [CodeSettings](../types/CodeSettings.md), \]) === [$auth\_SentCode](../types/auth_SentCode.md) +$MadelineProto->[auth->sendCode](auth.sendCode.md)(\['phone_number' => [string](../types/string.md), 'api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), 'settings' => [CodeSettings](../types/CodeSettings.md), \]) === [$auth.SentCode](../types/auth.SentCode.md) ***

-$MadelineProto->[auth->signIn](auth.signIn.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->signIn](auth.signIn.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

-$MadelineProto->[auth->signUp](auth.signUp.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->signUp](auth.signUp.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

@@ -340,11 +340,11 @@ $MadelineProto->[channels->deleteHistory](channels.deleteHistory.md)(\['channel' ***

-$MadelineProto->[channels->deleteMessages](channels.deleteMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) +$MadelineProto->[channels->deleteMessages](channels.deleteMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages.AffectedMessages](../types/messages.AffectedMessages.md) ***

-$MadelineProto->[channels->deleteUserHistory](channels.deleteUserHistory.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages\_AffectedHistory](../types/messages_AffectedHistory.md) +$MadelineProto->[channels->deleteUserHistory](channels.deleteUserHistory.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages.AffectedHistory](../types/messages.AffectedHistory.md) ***

@@ -368,43 +368,43 @@ $MadelineProto->[channels->exportMessageLink](channels.exportMessageLink.md)(\[' ***

-$MadelineProto->[channels->getAdminLog](channels.getAdminLog.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'q' => [string](../types/string.md), 'events_filter' => [ChannelAdminLogEventsFilter](../types/ChannelAdminLogEventsFilter.md), 'admins' => \[[InputUser](../types/InputUser.md)\], 'max_id' => [long](../types/long.md), 'min_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$channels\_AdminLogResults](../types/channels_AdminLogResults.md) +$MadelineProto->[channels->getAdminLog](channels.getAdminLog.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'q' => [string](../types/string.md), 'events_filter' => [ChannelAdminLogEventsFilter](../types/ChannelAdminLogEventsFilter.md), 'admins' => \[[InputUser](../types/InputUser.md)\], 'max_id' => [long](../types/long.md), 'min_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$channels.AdminLogResults](../types/channels.AdminLogResults.md) ***

-$MadelineProto->[channels->getAdminedPublicChannels](channels.getAdminedPublicChannels.md)(\[\]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[channels->getAdminedPublicChannels](channels.getAdminedPublicChannels.md)(\[\]) === [$messages.Chats](../types/messages.Chats.md) ***

-$MadelineProto->[channels->getBroadcastsForDiscussion](channels.getBroadcastsForDiscussion.md)(\[\]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[channels->getBroadcastsForDiscussion](channels.getBroadcastsForDiscussion.md)(\[\]) === [$messages.Chats](../types/messages.Chats.md) ***

-$MadelineProto->[channels->getChannels](channels.getChannels.md)(\['id' => \[[InputChannel](../types/InputChannel.md)\], \]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[channels->getChannels](channels.getChannels.md)(\['id' => \[[InputChannel](../types/InputChannel.md)\], \]) === [$messages.Chats](../types/messages.Chats.md) ***

-$MadelineProto->[channels->getFullChannel](channels.getFullChannel.md)(\['channel' => [InputChannel](../types/InputChannel.md), \]) === [$messages\_ChatFull](../types/messages_ChatFull.md) +$MadelineProto->[channels->getFullChannel](channels.getFullChannel.md)(\['channel' => [InputChannel](../types/InputChannel.md), \]) === [$messages.ChatFull](../types/messages.ChatFull.md) ***

-$MadelineProto->[channels->getGroupsForDiscussion](channels.getGroupsForDiscussion.md)(\[\]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[channels->getGroupsForDiscussion](channels.getGroupsForDiscussion.md)(\[\]) === [$messages.Chats](../types/messages.Chats.md) ***

-$MadelineProto->[channels->getLeftChannels](channels.getLeftChannels.md)(\['offset' => [int](../types/int.md), \]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[channels->getLeftChannels](channels.getLeftChannels.md)(\['offset' => [int](../types/int.md), \]) === [$messages.Chats](../types/messages.Chats.md) ***

-$MadelineProto->[channels->getMessages](channels.getMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[InputMessage](../types/InputMessage.md)\], \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[channels->getMessages](channels.getMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[InputMessage](../types/InputMessage.md)\], \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[channels->getParticipant](channels.getParticipant.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$channels\_ChannelParticipant](../types/channels_ChannelParticipant.md) +$MadelineProto->[channels->getParticipant](channels.getParticipant.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$channels.ChannelParticipant](../types/channels.ChannelParticipant.md) ***

-$MadelineProto->[channels->getParticipants](channels.getParticipants.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$channels\_ChannelParticipants](../types/channels_ChannelParticipants.md) +$MadelineProto->[channels->getParticipants](channels.getParticipants.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$channels.ChannelParticipants](../types/channels.ChannelParticipants.md) ***

@@ -460,7 +460,7 @@ $MadelineProto->[contacts->deleteByPhones](contacts.deleteByPhones.md)(\['phones ***

-$MadelineProto->[contacts->deleteContact](contacts.deleteContact.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$contacts\_Link](../types/contacts_Link.md) +$MadelineProto->[contacts->deleteContact](contacts.deleteContact.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$contacts.Link](../types/contacts.Link.md) ***

@@ -468,7 +468,7 @@ $MadelineProto->[contacts->deleteContacts](contacts.deleteContacts.md)(\['id' => ***

-$MadelineProto->[contacts->getBlocked](contacts.getBlocked.md)(\['offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$contacts\_Blocked](../types/contacts_Blocked.md) +$MadelineProto->[contacts->getBlocked](contacts.getBlocked.md)(\['offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$contacts.Blocked](../types/contacts.Blocked.md) ***

@@ -476,7 +476,7 @@ $MadelineProto->[contacts->getContactIDs](contacts.getContactIDs.md)(\['hash' => ***

-$MadelineProto->[contacts->getContacts](contacts.getContacts.md)(\['hash' => [int](../types/int.md), \]) === [$contacts\_Contacts](../types/contacts_Contacts.md) +$MadelineProto->[contacts->getContacts](contacts.getContacts.md)(\['hash' => [int](../types/int.md), \]) === [$contacts.Contacts](../types/contacts.Contacts.md) ***

@@ -488,11 +488,11 @@ $MadelineProto->[contacts->getStatuses](contacts.getStatuses.md)(\[\]) === [$Vec ***

-$MadelineProto->[contacts->getTopPeers](contacts.getTopPeers.md)(\['correspondents' => [Bool](../types/Bool.md), 'bots_pm' => [Bool](../types/Bool.md), 'bots_inline' => [Bool](../types/Bool.md), 'phone_calls' => [Bool](../types/Bool.md), 'forward_users' => [Bool](../types/Bool.md), 'forward_chats' => [Bool](../types/Bool.md), 'groups' => [Bool](../types/Bool.md), 'channels' => [Bool](../types/Bool.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$contacts\_TopPeers](../types/contacts_TopPeers.md) +$MadelineProto->[contacts->getTopPeers](contacts.getTopPeers.md)(\['correspondents' => [Bool](../types/Bool.md), 'bots_pm' => [Bool](../types/Bool.md), 'bots_inline' => [Bool](../types/Bool.md), 'phone_calls' => [Bool](../types/Bool.md), 'forward_users' => [Bool](../types/Bool.md), 'forward_chats' => [Bool](../types/Bool.md), 'groups' => [Bool](../types/Bool.md), 'channels' => [Bool](../types/Bool.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$contacts.TopPeers](../types/contacts.TopPeers.md) ***

-$MadelineProto->[contacts->importContacts](contacts.importContacts.md)(\['contacts' => \[[InputContact](../types/InputContact.md)\], \]) === [$contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) +$MadelineProto->[contacts->importContacts](contacts.importContacts.md)(\['contacts' => \[[InputContact](../types/InputContact.md)\], \]) === [$contacts.ImportedContacts](../types/contacts.ImportedContacts.md) ***

@@ -504,11 +504,11 @@ $MadelineProto->[contacts->resetTopPeerRating](contacts.resetTopPeerRating.md)(\ ***

-$MadelineProto->[contacts->resolveUsername](contacts.resolveUsername.md)(\['username' => [string](../types/string.md), \]) === [$contacts\_ResolvedPeer](../types/contacts_ResolvedPeer.md) +$MadelineProto->[contacts->resolveUsername](contacts.resolveUsername.md)(\['username' => [string](../types/string.md), \]) === [$contacts.ResolvedPeer](../types/contacts.ResolvedPeer.md) ***

-$MadelineProto->[contacts->search](contacts.search.md)(\['q' => [string](../types/string.md), 'limit' => [int](../types/int.md), \]) === [$contacts\_Found](../types/contacts_Found.md) +$MadelineProto->[contacts->search](contacts.search.md)(\['q' => [string](../types/string.md), 'limit' => [int](../types/int.md), \]) === [$contacts.Found](../types/contacts.Found.md) ***

@@ -532,7 +532,7 @@ $MadelineProto->[help->acceptTermsOfService](help.acceptTermsOfService.md)(\['id ***

-$MadelineProto->[help->editUserInfo](help.editUserInfo.md)(\['user_id' => [InputUser](../types/InputUser.md), 'message' => [string](../types/string.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], \]) === [$help\_UserInfo](../types/help_UserInfo.md) +$MadelineProto->[help->editUserInfo](help.editUserInfo.md)(\['user_id' => [InputUser](../types/InputUser.md), 'message' => [string](../types/string.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], \]) === [$help.UserInfo](../types/help.UserInfo.md) ***

@@ -544,7 +544,7 @@ $MadelineProto->[help->getAppConfig](help.getAppConfig.md)(\[\]) === [$JSONValue ***

-$MadelineProto->[help->getAppUpdate](help.getAppUpdate.md)(\['source' => [string](../types/string.md), \]) === [$help\_AppUpdate](../types/help_AppUpdate.md) +$MadelineProto->[help->getAppUpdate](help.getAppUpdate.md)(\['source' => [string](../types/string.md), \]) === [$help.AppUpdate](../types/help.AppUpdate.md) ***

@@ -556,11 +556,11 @@ $MadelineProto->[help->getConfig](help.getConfig.md)(\[\]) === [$Config](../type ***

-$MadelineProto->[help->getDeepLinkInfo](help.getDeepLinkInfo.md)(\['path' => [string](../types/string.md), \]) === [$help\_DeepLinkInfo](../types/help_DeepLinkInfo.md) +$MadelineProto->[help->getDeepLinkInfo](help.getDeepLinkInfo.md)(\['path' => [string](../types/string.md), \]) === [$help.DeepLinkInfo](../types/help.DeepLinkInfo.md) ***

-$MadelineProto->[help->getInviteText](help.getInviteText.md)(\[\]) === [$help\_InviteText](../types/help_InviteText.md) +$MadelineProto->[help->getInviteText](help.getInviteText.md)(\[\]) === [$help.InviteText](../types/help.InviteText.md) ***

@@ -568,31 +568,31 @@ $MadelineProto->[help->getNearestDc](help.getNearestDc.md)(\[\]) === [$NearestDc ***

-$MadelineProto->[help->getPassportConfig](help.getPassportConfig.md)(\['hash' => [int](../types/int.md), \]) === [$help\_PassportConfig](../types/help_PassportConfig.md) +$MadelineProto->[help->getPassportConfig](help.getPassportConfig.md)(\['hash' => [int](../types/int.md), \]) === [$help.PassportConfig](../types/help.PassportConfig.md) ***

-$MadelineProto->[help->getProxyData](help.getProxyData.md)(\[\]) === [$help\_ProxyData](../types/help_ProxyData.md) +$MadelineProto->[help->getProxyData](help.getProxyData.md)(\[\]) === [$help.ProxyData](../types/help.ProxyData.md) ***

-$MadelineProto->[help->getRecentMeUrls](help.getRecentMeUrls.md)(\['referer' => [string](../types/string.md), \]) === [$help\_RecentMeUrls](../types/help_RecentMeUrls.md) +$MadelineProto->[help->getRecentMeUrls](help.getRecentMeUrls.md)(\['referer' => [string](../types/string.md), \]) === [$help.RecentMeUrls](../types/help.RecentMeUrls.md) ***

-$MadelineProto->[help->getSupport](help.getSupport.md)(\[\]) === [$help\_Support](../types/help_Support.md) +$MadelineProto->[help->getSupport](help.getSupport.md)(\[\]) === [$help.Support](../types/help.Support.md) ***

-$MadelineProto->[help->getSupportName](help.getSupportName.md)(\[\]) === [$help\_SupportName](../types/help_SupportName.md) +$MadelineProto->[help->getSupportName](help.getSupportName.md)(\[\]) === [$help.SupportName](../types/help.SupportName.md) ***

-$MadelineProto->[help->getTermsOfServiceUpdate](help.getTermsOfServiceUpdate.md)(\[\]) === [$help\_TermsOfServiceUpdate](../types/help_TermsOfServiceUpdate.md) +$MadelineProto->[help->getTermsOfServiceUpdate](help.getTermsOfServiceUpdate.md)(\[\]) === [$help.TermsOfServiceUpdate](../types/help.TermsOfServiceUpdate.md) ***

-$MadelineProto->[help->getUserInfo](help.getUserInfo.md)(\['user_id' => [InputUser](../types/InputUser.md), \]) === [$help\_UserInfo](../types/help_UserInfo.md) +$MadelineProto->[help->getUserInfo](help.getUserInfo.md)(\['user_id' => [InputUser](../types/InputUser.md), \]) === [$help.UserInfo](../types/help.UserInfo.md) ***

@@ -684,11 +684,11 @@ $MadelineProto->[messages->deleteChatUser](messages.deleteChatUser.md)(\['chat_i ***

-$MadelineProto->[messages->deleteHistory](messages.deleteHistory.md)(\['just_clear' => [Bool](../types/Bool.md), 'revoke' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), \]) === [$messages\_AffectedHistory](../types/messages_AffectedHistory.md) +$MadelineProto->[messages->deleteHistory](messages.deleteHistory.md)(\['just_clear' => [Bool](../types/Bool.md), 'revoke' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), \]) === [$messages.AffectedHistory](../types/messages.AffectedHistory.md) ***

-$MadelineProto->[messages->deleteMessages](messages.deleteMessages.md)(\['revoke' => [Bool](../types/Bool.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) +$MadelineProto->[messages->deleteMessages](messages.deleteMessages.md)(\['revoke' => [Bool](../types/Bool.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages.AffectedMessages](../types/messages.AffectedMessages.md) ***

@@ -736,7 +736,7 @@ $MadelineProto->[messages->forwardMessages](messages.forwardMessages.md)(\['sile ***

-$MadelineProto->[messages->getAllChats](messages.getAllChats.md)(\['except_ids' => \[[int](../types/int.md)\], \]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[messages->getAllChats](messages.getAllChats.md)(\['except_ids' => \[[int](../types/int.md)\], \]) === [$messages.Chats](../types/messages.Chats.md) ***

@@ -744,11 +744,11 @@ $MadelineProto->[messages->getAllDrafts](messages.getAllDrafts.md)(\[\]) === [$U ***

-$MadelineProto->[messages->getAllStickers](messages.getAllStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages\_AllStickers](../types/messages_AllStickers.md) +$MadelineProto->[messages->getAllStickers](messages.getAllStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages.AllStickers](../types/messages.AllStickers.md) ***

-$MadelineProto->[messages->getArchivedStickers](messages.getArchivedStickers.md)(\['masks' => [Bool](../types/Bool.md), 'offset_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$messages\_ArchivedStickers](../types/messages_ArchivedStickers.md) +$MadelineProto->[messages->getArchivedStickers](messages.getArchivedStickers.md)(\['masks' => [Bool](../types/Bool.md), 'offset_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$messages.ArchivedStickers](../types/messages.ArchivedStickers.md) ***

@@ -756,19 +756,19 @@ $MadelineProto->[messages->getAttachedStickers](messages.getAttachedStickers.md) ***

-$MadelineProto->[messages->getBotCallbackAnswer](messages.getBotCallbackAnswer.md)(\['game' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'msg_id' => [int](../types/int.md), 'data' => [bytes](../types/bytes.md), \]) === [$messages\_BotCallbackAnswer](../types/messages_BotCallbackAnswer.md) +$MadelineProto->[messages->getBotCallbackAnswer](messages.getBotCallbackAnswer.md)(\['game' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'msg_id' => [int](../types/int.md), 'data' => [bytes](../types/bytes.md), \]) === [$messages.BotCallbackAnswer](../types/messages.BotCallbackAnswer.md) ***

-$MadelineProto->[messages->getChats](messages.getChats.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[messages->getChats](messages.getChats.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages.Chats](../types/messages.Chats.md) ***

-$MadelineProto->[messages->getCommonChats](messages.getCommonChats.md)(\['user_id' => [InputUser](../types/InputUser.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[messages->getCommonChats](messages.getCommonChats.md)(\['user_id' => [InputUser](../types/InputUser.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages.Chats](../types/messages.Chats.md) ***

-$MadelineProto->[messages->getDhConfig](messages.getDhConfig.md)(\['version' => [int](../types/int.md), 'random_length' => [int](../types/int.md), \]) === [$messages\_DhConfig](../types/messages_DhConfig.md) +$MadelineProto->[messages->getDhConfig](messages.getDhConfig.md)(\['version' => [int](../types/int.md), 'random_length' => [int](../types/int.md), \]) === [$messages.DhConfig](../types/messages.DhConfig.md) ***

@@ -776,7 +776,7 @@ $MadelineProto->[messages->getDialogUnreadMarks](messages.getDialogUnreadMarks.m ***

-$MadelineProto->[messages->getDialogs](messages.getDialogs.md)(\['exclude_pinned' => [Bool](../types/Bool.md), 'folder_id' => [int](../types/int.md), 'offset_date' => [int](../types/int.md), 'offset_id' => [int](../types/int.md), 'offset_peer' => [InputPeer](../types/InputPeer.md), 'limit' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$messages\_Dialogs](../types/messages_Dialogs.md) +$MadelineProto->[messages->getDialogs](messages.getDialogs.md)(\['exclude_pinned' => [Bool](../types/Bool.md), 'folder_id' => [int](../types/int.md), 'offset_date' => [int](../types/int.md), 'offset_id' => [int](../types/int.md), 'offset_peer' => [InputPeer](../types/InputPeer.md), 'limit' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$messages.Dialogs](../types/messages.Dialogs.md) ***

@@ -800,43 +800,43 @@ $MadelineProto->[messages->getEmojiURL](messages.getEmojiURL.md)(\['lang_code' = ***

-$MadelineProto->[messages->getFavedStickers](messages.getFavedStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages\_FavedStickers](../types/messages_FavedStickers.md) +$MadelineProto->[messages->getFavedStickers](messages.getFavedStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages.FavedStickers](../types/messages.FavedStickers.md) ***

-$MadelineProto->[messages->getFeaturedStickers](messages.getFeaturedStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages\_FeaturedStickers](../types/messages_FeaturedStickers.md) +$MadelineProto->[messages->getFeaturedStickers](messages.getFeaturedStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages.FeaturedStickers](../types/messages.FeaturedStickers.md) ***

-$MadelineProto->[messages->getFullChat](messages.getFullChat.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), \]) === [$messages\_ChatFull](../types/messages_ChatFull.md) +$MadelineProto->[messages->getFullChat](messages.getFullChat.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), \]) === [$messages.ChatFull](../types/messages.ChatFull.md) ***

-$MadelineProto->[messages->getGameHighScores](messages.getGameHighScores.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages\_HighScores](../types/messages_HighScores.md) +$MadelineProto->[messages->getGameHighScores](messages.getGameHighScores.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages.HighScores](../types/messages.HighScores.md) ***

-$MadelineProto->[messages->getHistory](messages.getHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'offset_date' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->getHistory](messages.getHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'offset_date' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[messages->getInlineBotResults](messages.getInlineBotResults.md)(\['bot' => [InputUser](../types/InputUser.md), 'peer' => [InputPeer](../types/InputPeer.md), 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'query' => [string](../types/string.md), 'offset' => [string](../types/string.md), \]) === [$messages\_BotResults](../types/messages_BotResults.md) +$MadelineProto->[messages->getInlineBotResults](messages.getInlineBotResults.md)(\['bot' => [InputUser](../types/InputUser.md), 'peer' => [InputPeer](../types/InputPeer.md), 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'query' => [string](../types/string.md), 'offset' => [string](../types/string.md), \]) === [$messages.BotResults](../types/messages.BotResults.md) ***

-$MadelineProto->[messages->getInlineGameHighScores](messages.getInlineGameHighScores.md)(\['id' => [InputBotInlineMessageID](../types/InputBotInlineMessageID.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages\_HighScores](../types/messages_HighScores.md) +$MadelineProto->[messages->getInlineGameHighScores](messages.getInlineGameHighScores.md)(\['id' => [InputBotInlineMessageID](../types/InputBotInlineMessageID.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages.HighScores](../types/messages.HighScores.md) ***

-$MadelineProto->[messages->getMaskStickers](messages.getMaskStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages\_AllStickers](../types/messages_AllStickers.md) +$MadelineProto->[messages->getMaskStickers](messages.getMaskStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages.AllStickers](../types/messages.AllStickers.md) ***

-$MadelineProto->[messages->getMessageEditData](messages.getMessageEditData.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), \]) === [$messages\_MessageEditData](../types/messages_MessageEditData.md) +$MadelineProto->[messages->getMessageEditData](messages.getMessageEditData.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), \]) === [$messages.MessageEditData](../types/messages.MessageEditData.md) ***

-$MadelineProto->[messages->getMessages](messages.getMessages.md)(\['id' => \[[InputMessage](../types/InputMessage.md)\], \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->getMessages](messages.getMessages.md)(\['id' => \[[InputMessage](../types/InputMessage.md)\], \]) === [$messages.Messages](../types/messages.Messages.md) ***

@@ -848,7 +848,7 @@ $MadelineProto->[messages->getOnlines](messages.getOnlines.md)(\['peer' => [Inpu ***

-$MadelineProto->[messages->getPeerDialogs](messages.getPeerDialogs.md)(\['peers' => \[[InputDialogPeer](../types/InputDialogPeer.md)\], \]) === [$messages\_PeerDialogs](../types/messages_PeerDialogs.md) +$MadelineProto->[messages->getPeerDialogs](messages.getPeerDialogs.md)(\['peers' => \[[InputDialogPeer](../types/InputDialogPeer.md)\], \]) === [$messages.PeerDialogs](../types/messages.PeerDialogs.md) ***

@@ -856,7 +856,7 @@ $MadelineProto->[messages->getPeerSettings](messages.getPeerSettings.md)(\['peer ***

-$MadelineProto->[messages->getPinnedDialogs](messages.getPinnedDialogs.md)(\['folder_id' => [int](../types/int.md), \]) === [$messages\_PeerDialogs](../types/messages_PeerDialogs.md) +$MadelineProto->[messages->getPinnedDialogs](messages.getPinnedDialogs.md)(\['folder_id' => [int](../types/int.md), \]) === [$messages.PeerDialogs](../types/messages.PeerDialogs.md) ***

@@ -864,19 +864,19 @@ $MadelineProto->[messages->getPollResults](messages.getPollResults.md)(\['peer' ***

-$MadelineProto->[messages->getRecentLocations](messages.getRecentLocations.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'limit' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->getRecentLocations](messages.getRecentLocations.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'limit' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[messages->getRecentStickers](messages.getRecentStickers.md)(\['attached' => [Bool](../types/Bool.md), 'hash' => [int](../types/int.md), \]) === [$messages\_RecentStickers](../types/messages_RecentStickers.md) +$MadelineProto->[messages->getRecentStickers](messages.getRecentStickers.md)(\['attached' => [Bool](../types/Bool.md), 'hash' => [int](../types/int.md), \]) === [$messages.RecentStickers](../types/messages.RecentStickers.md) ***

-$MadelineProto->[messages->getSavedGifs](messages.getSavedGifs.md)(\['hash' => [int](../types/int.md), \]) === [$messages\_SavedGifs](../types/messages_SavedGifs.md) +$MadelineProto->[messages->getSavedGifs](messages.getSavedGifs.md)(\['hash' => [int](../types/int.md), \]) === [$messages.SavedGifs](../types/messages.SavedGifs.md) ***

-$MadelineProto->[messages->getSearchCounters](messages.getSearchCounters.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'filters' => \[[MessagesFilter](../types/MessagesFilter.md)\], \]) === [$Vector\_of\_messages\_SearchCounter](../types/messages_SearchCounter.md) +$MadelineProto->[messages->getSearchCounters](messages.getSearchCounters.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'filters' => \[[MessagesFilter](../types/MessagesFilter.md)\], \]) === [$Vector\_of\_messages.SearchCounter](../types/messages.SearchCounter.md) ***

@@ -888,15 +888,15 @@ $MadelineProto->[messages->getStatsURL](messages.getStatsURL.md)(\['dark' => [Bo ***

-$MadelineProto->[messages->getStickerSet](messages.getStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), \]) === [$messages\_StickerSet](../types/messages_StickerSet.md) +$MadelineProto->[messages->getStickerSet](messages.getStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), \]) === [$messages.StickerSet](../types/messages.StickerSet.md) ***

-$MadelineProto->[messages->getStickers](messages.getStickers.md)(\['emoticon' => [string](../types/string.md), 'hash' => [int](../types/int.md), \]) === [$messages\_Stickers](../types/messages_Stickers.md) +$MadelineProto->[messages->getStickers](messages.getStickers.md)(\['emoticon' => [string](../types/string.md), 'hash' => [int](../types/int.md), \]) === [$messages.Stickers](../types/messages.Stickers.md) ***

-$MadelineProto->[messages->getUnreadMentions](messages.getUnreadMentions.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->getUnreadMentions](messages.getUnreadMentions.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

@@ -916,7 +916,7 @@ $MadelineProto->[messages->importChatInvite](messages.importChatInvite.md)(\['ha ***

-$MadelineProto->[messages->installStickerSet](messages.installStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), 'archived' => [Bool](../types/Bool.md), \]) === [$messages\_StickerSetInstallResult](../types/messages_StickerSetInstallResult.md) +$MadelineProto->[messages->installStickerSet](messages.installStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), 'archived' => [Bool](../types/Bool.md), \]) === [$messages.StickerSetInstallResult](../types/messages.StickerSetInstallResult.md) ***

@@ -936,15 +936,15 @@ $MadelineProto->[messages->readFeaturedStickers](messages.readFeaturedStickers.m ***

-$MadelineProto->[messages->readHistory](messages.readHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), \]) === [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) +$MadelineProto->[messages->readHistory](messages.readHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), \]) === [$messages.AffectedMessages](../types/messages.AffectedMessages.md) ***

-$MadelineProto->[messages->readMentions](messages.readMentions.md)(\['peer' => [InputPeer](../types/InputPeer.md), \]) === [$messages\_AffectedHistory](../types/messages_AffectedHistory.md) +$MadelineProto->[messages->readMentions](messages.readMentions.md)(\['peer' => [InputPeer](../types/InputPeer.md), \]) === [$messages.AffectedHistory](../types/messages.AffectedHistory.md) ***

-$MadelineProto->[messages->readMessageContents](messages.readMessageContents.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) +$MadelineProto->[messages->readMessageContents](messages.readMessageContents.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages.AffectedMessages](../types/messages.AffectedMessages.md) ***

@@ -996,31 +996,31 @@ $MadelineProto->[messages->saveRecentSticker](messages.saveRecentSticker.md)(\[' ***

-$MadelineProto->[messages->search](messages.search.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'q' => [string](../types/string.md), 'from_id' => [InputUser](../types/InputUser.md), 'filter' => [MessagesFilter](../types/MessagesFilter.md), 'min_date' => [int](../types/int.md), 'max_date' => [int](../types/int.md), 'offset_id' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->search](messages.search.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'q' => [string](../types/string.md), 'from_id' => [InputUser](../types/InputUser.md), 'filter' => [MessagesFilter](../types/MessagesFilter.md), 'min_date' => [int](../types/int.md), 'max_date' => [int](../types/int.md), 'offset_id' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[messages->searchGifs](messages.searchGifs.md)(\['q' => [string](../types/string.md), 'offset' => [int](../types/int.md), \]) === [$messages\_FoundGifs](../types/messages_FoundGifs.md) +$MadelineProto->[messages->searchGifs](messages.searchGifs.md)(\['q' => [string](../types/string.md), 'offset' => [int](../types/int.md), \]) === [$messages.FoundGifs](../types/messages.FoundGifs.md) ***

-$MadelineProto->[messages->searchGlobal](messages.searchGlobal.md)(\['q' => [string](../types/string.md), 'offset_rate' => [int](../types/int.md), 'offset_peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->searchGlobal](messages.searchGlobal.md)(\['q' => [string](../types/string.md), 'offset_rate' => [int](../types/int.md), 'offset_peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[messages->searchStickerSets](messages.searchStickerSets.md)(\['exclude_featured' => [Bool](../types/Bool.md), 'q' => [string](../types/string.md), 'hash' => [int](../types/int.md), \]) === [$messages\_FoundStickerSets](../types/messages_FoundStickerSets.md) +$MadelineProto->[messages->searchStickerSets](messages.searchStickerSets.md)(\['exclude_featured' => [Bool](../types/Bool.md), 'q' => [string](../types/string.md), 'hash' => [int](../types/int.md), \]) === [$messages.FoundStickerSets](../types/messages.FoundStickerSets.md) ***

-$MadelineProto->[messages->sendEncrypted](messages.sendEncrypted.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'message' => [DecryptedMessage](../types/DecryptedMessage.md), \]) === [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +$MadelineProto->[messages->sendEncrypted](messages.sendEncrypted.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), \]) === [$messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ***

-$MadelineProto->[messages->sendEncryptedFile](messages.sendEncryptedFile.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'message' => [DecryptedMessage](../types/DecryptedMessage.md), 'file' => [InputEncryptedFile](../types/InputEncryptedFile.md), \]) === [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +$MadelineProto->[messages->sendEncryptedFile](messages.sendEncryptedFile.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), 'file' => [InputEncryptedFile](../types/InputEncryptedFile.md), \]) === [$messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ***

-$MadelineProto->[messages->sendEncryptedService](messages.sendEncryptedService.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'message' => [DecryptedMessage](../types/DecryptedMessage.md), \]) === [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +$MadelineProto->[messages->sendEncryptedService](messages.sendEncryptedService.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), \]) === [$messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ***

@@ -1108,31 +1108,31 @@ $MadelineProto->[payments->clearSavedInfo](payments.clearSavedInfo.md)(\['creden ***

-$MadelineProto->[payments->getPaymentForm](payments.getPaymentForm.md)(\['msg_id' => [int](../types/int.md), \]) === [$payments\_PaymentForm](../types/payments_PaymentForm.md) +$MadelineProto->[payments->getPaymentForm](payments.getPaymentForm.md)(\['msg_id' => [int](../types/int.md), \]) === [$payments.PaymentForm](../types/payments.PaymentForm.md) ***

-$MadelineProto->[payments->getPaymentReceipt](payments.getPaymentReceipt.md)(\['msg_id' => [int](../types/int.md), \]) === [$payments\_PaymentReceipt](../types/payments_PaymentReceipt.md) +$MadelineProto->[payments->getPaymentReceipt](payments.getPaymentReceipt.md)(\['msg_id' => [int](../types/int.md), \]) === [$payments.PaymentReceipt](../types/payments.PaymentReceipt.md) ***

-$MadelineProto->[payments->getSavedInfo](payments.getSavedInfo.md)(\[\]) === [$payments\_SavedInfo](../types/payments_SavedInfo.md) +$MadelineProto->[payments->getSavedInfo](payments.getSavedInfo.md)(\[\]) === [$payments.SavedInfo](../types/payments.SavedInfo.md) ***

-$MadelineProto->[payments->sendPaymentForm](payments.sendPaymentForm.md)(\['msg_id' => [int](../types/int.md), 'requested_info_id' => [string](../types/string.md), 'shipping_option_id' => [string](../types/string.md), 'credentials' => [InputPaymentCredentials](../types/InputPaymentCredentials.md), \]) === [$payments\_PaymentResult](../types/payments_PaymentResult.md) +$MadelineProto->[payments->sendPaymentForm](payments.sendPaymentForm.md)(\['msg_id' => [int](../types/int.md), 'requested_info_id' => [string](../types/string.md), 'shipping_option_id' => [string](../types/string.md), 'credentials' => [InputPaymentCredentials](../types/InputPaymentCredentials.md), \]) === [$payments.PaymentResult](../types/payments.PaymentResult.md) ***

-$MadelineProto->[payments->validateRequestedInfo](payments.validateRequestedInfo.md)(\['save' => [Bool](../types/Bool.md), 'msg_id' => [int](../types/int.md), 'info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), \]) === [$payments\_ValidatedRequestedInfo](../types/payments_ValidatedRequestedInfo.md) +$MadelineProto->[payments->validateRequestedInfo](payments.validateRequestedInfo.md)(\['save' => [Bool](../types/Bool.md), 'msg_id' => [int](../types/int.md), 'info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), \]) === [$payments.ValidatedRequestedInfo](../types/payments.ValidatedRequestedInfo.md) ***

-$MadelineProto->[phone->acceptCall](phone.acceptCall.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'g_b' => [bytes](../types/bytes.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone\_PhoneCall](../types/phone_PhoneCall.md) +$MadelineProto->[phone->acceptCall](phone.acceptCall.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'g_b' => [bytes](../types/bytes.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone.PhoneCall](../types/phone.PhoneCall.md) ***

-$MadelineProto->[phone->confirmCall](phone.confirmCall.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'g_a' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone\_PhoneCall](../types/phone_PhoneCall.md) +$MadelineProto->[phone->confirmCall](phone.confirmCall.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'g_a' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone.PhoneCall](../types/phone.PhoneCall.md) ***

@@ -1148,7 +1148,7 @@ $MadelineProto->[phone->receivedCall](phone.receivedCall.md)(\['peer' => [InputP ***

-$MadelineProto->[phone->requestCall](phone.requestCall.md)(\['video' => [Bool](../types/Bool.md), 'user_id' => [InputUser](../types/InputUser.md), 'g_a_hash' => [bytes](../types/bytes.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone\_PhoneCall](../types/phone_PhoneCall.md) +$MadelineProto->[phone->requestCall](phone.requestCall.md)(\['video' => [Bool](../types/Bool.md), 'user_id' => [InputUser](../types/InputUser.md), 'g_a_hash' => [bytes](../types/bytes.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone.PhoneCall](../types/phone.PhoneCall.md) ***

@@ -1164,7 +1164,7 @@ $MadelineProto->[photos->deletePhotos](photos.deletePhotos.md)(\['id' => \[[Inpu ***

-$MadelineProto->[photos->getUserPhotos](photos.getUserPhotos.md)(\['user_id' => [InputUser](../types/InputUser.md), 'offset' => [int](../types/int.md), 'max_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$photos\_Photos](../types/photos_Photos.md) +$MadelineProto->[photos->getUserPhotos](photos.getUserPhotos.md)(\['user_id' => [InputUser](../types/InputUser.md), 'offset' => [int](../types/int.md), 'max_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$photos.Photos](../types/photos.Photos.md) ***

@@ -1172,39 +1172,39 @@ $MadelineProto->[photos->updateProfilePhoto](photos.updateProfilePhoto.md)(\['id ***

-$MadelineProto->[photos->uploadProfilePhoto](photos.uploadProfilePhoto.md)(\['file' => [InputFile](../types/InputFile.md), \]) === [$photos\_Photo](../types/photos_Photo.md) +$MadelineProto->[photos->uploadProfilePhoto](photos.uploadProfilePhoto.md)(\['file' => [InputFile](../types/InputFile.md), \]) === [$photos.Photo](../types/photos.Photo.md) ***

-$MadelineProto->[stickers->addStickerToSet](stickers.addStickerToSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), 'sticker' => [InputStickerSetItem](../types/InputStickerSetItem.md), \]) === [$messages\_StickerSet](../types/messages_StickerSet.md) +$MadelineProto->[stickers->addStickerToSet](stickers.addStickerToSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), 'sticker' => [InputStickerSetItem](../types/InputStickerSetItem.md), \]) === [$messages.StickerSet](../types/messages.StickerSet.md) ***

-$MadelineProto->[stickers->changeStickerPosition](stickers.changeStickerPosition.md)(\['sticker' => [InputDocument](../types/InputDocument.md), 'position' => [int](../types/int.md), \]) === [$messages\_StickerSet](../types/messages_StickerSet.md) +$MadelineProto->[stickers->changeStickerPosition](stickers.changeStickerPosition.md)(\['sticker' => [InputDocument](../types/InputDocument.md), 'position' => [int](../types/int.md), \]) === [$messages.StickerSet](../types/messages.StickerSet.md) ***

-$MadelineProto->[stickers->createStickerSet](stickers.createStickerSet.md)(\['masks' => [Bool](../types/Bool.md), 'user_id' => [InputUser](../types/InputUser.md), 'title' => [string](../types/string.md), 'short_name' => [string](../types/string.md), 'stickers' => \[[InputStickerSetItem](../types/InputStickerSetItem.md)\], \]) === [$messages\_StickerSet](../types/messages_StickerSet.md) +$MadelineProto->[stickers->createStickerSet](stickers.createStickerSet.md)(\['masks' => [Bool](../types/Bool.md), 'user_id' => [InputUser](../types/InputUser.md), 'title' => [string](../types/string.md), 'short_name' => [string](../types/string.md), 'stickers' => \[[InputStickerSetItem](../types/InputStickerSetItem.md)\], \]) === [$messages.StickerSet](../types/messages.StickerSet.md) ***

-$MadelineProto->[stickers->removeStickerFromSet](stickers.removeStickerFromSet.md)(\['sticker' => [InputDocument](../types/InputDocument.md), \]) === [$messages\_StickerSet](../types/messages_StickerSet.md) +$MadelineProto->[stickers->removeStickerFromSet](stickers.removeStickerFromSet.md)(\['sticker' => [InputDocument](../types/InputDocument.md), \]) === [$messages.StickerSet](../types/messages.StickerSet.md) ***

-$MadelineProto->[updates->getChannelDifference](updates.getChannelDifference.md)(\['force' => [Bool](../types/Bool.md), 'channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$updates\_ChannelDifference](../types/updates_ChannelDifference.md) +$MadelineProto->[updates->getChannelDifference](updates.getChannelDifference.md)(\['force' => [Bool](../types/Bool.md), 'channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$updates.ChannelDifference](../types/updates.ChannelDifference.md) ***

-$MadelineProto->[updates->getDifference](updates.getDifference.md)(\['pts' => [int](../types/int.md), 'pts_total_limit' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) === [$updates\_Difference](../types/updates_Difference.md) +$MadelineProto->[updates->getDifference](updates.getDifference.md)(\['pts' => [int](../types/int.md), 'pts_total_limit' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) === [$updates.Difference](../types/updates.Difference.md) ***

-$MadelineProto->[updates->getState](updates.getState.md)(\[\]) === [$updates\_State](../types/updates_State.md) +$MadelineProto->[updates->getState](updates.getState.md)(\[\]) === [$updates.State](../types/updates.State.md) ***

-$MadelineProto->[upload->getCdnFile](upload.getCdnFile.md)(\['file_token' => [bytes](../types/bytes.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_CdnFile](../types/upload_CdnFile.md) +$MadelineProto->[upload->getCdnFile](upload.getCdnFile.md)(\['file_token' => [bytes](../types/bytes.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload.CdnFile](../types/upload.CdnFile.md) ***

@@ -1212,7 +1212,7 @@ $MadelineProto->[upload->getCdnFileHashes](upload.getCdnFileHashes.md)(\['file_t ***

-$MadelineProto->[upload->getFile](upload.getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_File](../types/upload_File.md) +$MadelineProto->[upload->getFile](upload.getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload.File](../types/upload.File.md) ***

@@ -1220,7 +1220,7 @@ $MadelineProto->[upload->getFileHashes](upload.getFileHashes.md)(\['location' => ***

-$MadelineProto->[upload->getWebFile](upload.getWebFile.md)(\['location' => [InputWebFileLocation](../types/InputWebFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_WebFile](../types/upload_WebFile.md) +$MadelineProto->[upload->getWebFile](upload.getWebFile.md)(\['location' => [InputWebFileLocation](../types/InputWebFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload.WebFile](../types/upload.WebFile.md) ***

diff --git a/old_docs/API_docs_v100/methods/auth.checkPassword.md b/old_docs/API_docs_v100/methods/auth.checkPassword.md index ad2a88a2..510e6c03 100644 --- a/old_docs/API_docs_v100/methods/auth.checkPassword.md +++ b/old_docs/API_docs_v100/methods/auth.checkPassword.md @@ -16,7 +16,7 @@ You cannot use this method directly, use the complete_2fa_login method instead ( |password|[InputCheckPasswordSRP](../types/InputCheckPasswordSRP.md) | You cannot use this method directly, use the complete_2fa_login method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->checkPassword(['password' => InputCheckPasswordSRP, ]); +$auth.Authorization = $MadelineProto->auth->checkPassword(['password' => InputCheckPasswordSRP, ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.checkPassword({password=InputCheckPasswordSRP, }) +auth.Authorization = auth.checkPassword({password=InputCheckPasswordSRP, }) ``` ### Errors diff --git a/old_docs/API_docs_v100/methods/auth.exportAuthorization.md b/old_docs/API_docs_v100/methods/auth.exportAuthorization.md index 72063a2b..41a1f87d 100644 --- a/old_docs/API_docs_v100/methods/auth.exportAuthorization.md +++ b/old_docs/API_docs_v100/methods/auth.exportAuthorization.md @@ -16,7 +16,7 @@ You cannot use this method directly, use $MadelineProto->exportAuthorization() i |dc\_id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| -### Return type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) +### Return type: [auth.ExportedAuthorization](../types/auth.ExportedAuthorization.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_ExportedAuthorization = $MadelineProto->auth->exportAuthorization(['dc_id' => int, ]); +$auth.ExportedAuthorization = $MadelineProto->auth->exportAuthorization(['dc_id' => int, ]); ``` Or, if you're into Lua: ```lua -auth_ExportedAuthorization = auth.exportAuthorization({dc_id=int, }) +auth.ExportedAuthorization = auth.exportAuthorization({dc_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v100/methods/auth.importAuthorization.md b/old_docs/API_docs_v100/methods/auth.importAuthorization.md index d9c13751..5257e0b0 100644 --- a/old_docs/API_docs_v100/methods/auth.importAuthorization.md +++ b/old_docs/API_docs_v100/methods/auth.importAuthorization.md @@ -17,7 +17,7 @@ You cannot use this method directly, use $MadelineProto->importAuthorization($au |bytes|[bytes](../types/bytes.md) | You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => 'bytes', ]); +$auth.Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.importAuthorization({id=int, bytes='bytes', }) +auth.Authorization = auth.importAuthorization({id=int, bytes='bytes', }) ``` ### Errors diff --git a/old_docs/API_docs_v100/methods/auth.importBotAuthorization.md b/old_docs/API_docs_v100/methods/auth.importBotAuthorization.md index 3161d6be..a4ea8027 100644 --- a/old_docs/API_docs_v100/methods/auth.importBotAuthorization.md +++ b/old_docs/API_docs_v100/methods/auth.importBotAuthorization.md @@ -18,7 +18,7 @@ You cannot use this method directly, use the botLogin method instead (see https: |bot\_auth\_token|[string](../types/string.md) | You cannot use this method directly, use the botLogin method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **YES** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->importBotAuthorization(['api_id' => int, 'api_hash' => 'string', 'bot_auth_token' => 'string', ]); +$auth.Authorization = $MadelineProto->auth->importBotAuthorization(['api_id' => int, 'api_hash' => 'string', 'bot_auth_token' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.importBotAuthorization({api_id=int, api_hash='string', bot_auth_token='string', }) +auth.Authorization = auth.importBotAuthorization({api_id=int, api_hash='string', bot_auth_token='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v100/methods/auth.recoverPassword.md b/old_docs/API_docs_v100/methods/auth.recoverPassword.md index f7cbf4a4..2e78444b 100644 --- a/old_docs/API_docs_v100/methods/auth.recoverPassword.md +++ b/old_docs/API_docs_v100/methods/auth.recoverPassword.md @@ -16,7 +16,7 @@ Reset the [2FA password](https://core.telegram.org/api/srp) using the recovery c |code|[string](../types/string.md) | Code received via email | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->recoverPassword(['code' => 'string', ]); +$auth.Authorization = $MadelineProto->auth->recoverPassword(['code' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.recoverPassword({code='string', }) +auth.Authorization = auth.recoverPassword({code='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v100/methods/auth.requestPasswordRecovery.md b/old_docs/API_docs_v100/methods/auth.requestPasswordRecovery.md index 5cd77936..ff1ecc02 100644 --- a/old_docs/API_docs_v100/methods/auth.requestPasswordRecovery.md +++ b/old_docs/API_docs_v100/methods/auth.requestPasswordRecovery.md @@ -11,7 +11,7 @@ Request recovery code of a [2FA password](https://core.telegram.org/api/srp), on -### Return type: [auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) +### Return type: [auth.PasswordRecovery](../types/auth.PasswordRecovery.md) ### Can bots use this method: **NO** @@ -28,13 +28,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_PasswordRecovery = $MadelineProto->auth->requestPasswordRecovery(); +$auth.PasswordRecovery = $MadelineProto->auth->requestPasswordRecovery(); ``` Or, if you're into Lua: ```lua -auth_PasswordRecovery = auth.requestPasswordRecovery({}) +auth.PasswordRecovery = auth.requestPasswordRecovery({}) ``` ### Errors diff --git a/old_docs/API_docs_v100/methods/auth.resendCode.md b/old_docs/API_docs_v100/methods/auth.resendCode.md index a395a91b..f59f1b7b 100644 --- a/old_docs/API_docs_v100/methods/auth.resendCode.md +++ b/old_docs/API_docs_v100/methods/auth.resendCode.md @@ -17,7 +17,7 @@ Resend the login code via another medium, the phone code type is determined by t |phone\_code\_hash|[string](../types/string.md) | The phone code hash obtained from [auth.sendCode](../methods/auth.sendCode.md) | Yes| -### Return type: [auth\_SentCode](../types/auth_SentCode.md) +### Return type: [auth.SentCode](../types/auth.SentCode.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_SentCode = $MadelineProto->auth->resendCode(['phone_number' => 'string', 'phone_code_hash' => 'string', ]); +$auth.SentCode = $MadelineProto->auth->resendCode(['phone_number' => 'string', 'phone_code_hash' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_SentCode = auth.resendCode({phone_number='string', phone_code_hash='string', }) +auth.SentCode = auth.resendCode({phone_number='string', phone_code_hash='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v100/methods/auth.sendCode.md b/old_docs/API_docs_v100/methods/auth.sendCode.md index be14f1bf..cb94998f 100644 --- a/old_docs/API_docs_v100/methods/auth.sendCode.md +++ b/old_docs/API_docs_v100/methods/auth.sendCode.md @@ -19,7 +19,7 @@ You cannot use this method directly, use the phoneLogin method instead (see http |settings|[CodeSettings](../types/CodeSettings.md) | You cannot use this method directly, use the phoneLogin method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_SentCode](../types/auth_SentCode.md) +### Return type: [auth.SentCode](../types/auth.SentCode.md) ### Can bots use this method: **NO** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_SentCode = $MadelineProto->auth->sendCode(['phone_number' => 'string', 'api_id' => int, 'api_hash' => 'string', 'settings' => CodeSettings, ]); +$auth.SentCode = $MadelineProto->auth->sendCode(['phone_number' => 'string', 'api_id' => int, 'api_hash' => 'string', 'settings' => CodeSettings, ]); ``` Or, if you're into Lua: ```lua -auth_SentCode = auth.sendCode({phone_number='string', api_id=int, api_hash='string', settings=CodeSettings, }) +auth.SentCode = auth.sendCode({phone_number='string', api_id=int, api_hash='string', settings=CodeSettings, }) ``` ### Errors diff --git a/old_docs/API_docs_v100/methods/auth.signIn.md b/old_docs/API_docs_v100/methods/auth.signIn.md index 54812a2e..95b14f32 100644 --- a/old_docs/API_docs_v100/methods/auth.signIn.md +++ b/old_docs/API_docs_v100/methods/auth.signIn.md @@ -18,7 +18,7 @@ You cannot use this method directly, use the completePhoneLogin method instead ( |phone\_code|[string](../types/string.md) | You cannot use this method directly, use the completePhoneLogin method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->signIn(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', ]); +$auth.Authorization = $MadelineProto->auth->signIn(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.signIn({phone_number='string', phone_code_hash='string', phone_code='string', }) +auth.Authorization = auth.signIn({phone_number='string', phone_code_hash='string', phone_code='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v100/methods/auth.signUp.md b/old_docs/API_docs_v100/methods/auth.signUp.md index 2aca2bfa..fdb5d628 100644 --- a/old_docs/API_docs_v100/methods/auth.signUp.md +++ b/old_docs/API_docs_v100/methods/auth.signUp.md @@ -20,7 +20,7 @@ You cannot use this method directly, use the completeSignup method instead (see |last\_name|[string](../types/string.md) | You cannot use this method directly, use the completeSignup method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **NO** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->signUp(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', 'first_name' => 'string', 'last_name' => 'string', ]); +$auth.Authorization = $MadelineProto->auth->signUp(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', 'first_name' => 'string', 'last_name' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.signUp({phone_number='string', phone_code_hash='string', phone_code='string', first_name='string', last_name='string', }) +auth.Authorization = auth.signUp({phone_number='string', phone_code_hash='string', phone_code='string', first_name='string', last_name='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v100/methods/channels.deleteMessages.md b/old_docs/API_docs_v100/methods/channels.deleteMessages.md index 10a439fb..8583e560 100644 --- a/old_docs/API_docs_v100/methods/channels.deleteMessages.md +++ b/old_docs/API_docs_v100/methods/channels.deleteMessages.md @@ -17,7 +17,7 @@ Delete messages in a [channel/supergroup](https://core.telegram.org/api/channel) |id|Array of [int](../types/int.md) | The IDs of messages to delete | Yes| -### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) +### Return type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedMessages = $MadelineProto->channels->deleteMessages(['channel' => InputChannel, 'id' => [int, int], ]); +$messages.AffectedMessages = $MadelineProto->channels->deleteMessages(['channel' => InputChannel, 'id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AffectedMessages = channels.deleteMessages({channel=InputChannel, id={int}, }) +messages.AffectedMessages = channels.deleteMessages({channel=InputChannel, id={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v100/methods/channels.deleteUserHistory.md b/old_docs/API_docs_v100/methods/channels.deleteUserHistory.md index 9b8b159f..6ccaf7dd 100644 --- a/old_docs/API_docs_v100/methods/channels.deleteUserHistory.md +++ b/old_docs/API_docs_v100/methods/channels.deleteUserHistory.md @@ -17,7 +17,7 @@ Delete all messages sent by a certain user in a [supergroup](https://core.telegr |user\_id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | User whose messages should be deleted | Optional| -### Return type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) +### Return type: [messages.AffectedHistory](../types/messages.AffectedHistory.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedHistory = $MadelineProto->channels->deleteUserHistory(['channel' => InputChannel, 'user_id' => InputUser, ]); +$messages.AffectedHistory = $MadelineProto->channels->deleteUserHistory(['channel' => InputChannel, 'user_id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -messages_AffectedHistory = channels.deleteUserHistory({channel=InputChannel, user_id=InputUser, }) +messages.AffectedHistory = channels.deleteUserHistory({channel=InputChannel, user_id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v100/methods/channels.getAdminLog.md b/old_docs/API_docs_v100/methods/channels.getAdminLog.md index e149f653..3b550a73 100644 --- a/old_docs/API_docs_v100/methods/channels.getAdminLog.md +++ b/old_docs/API_docs_v100/methods/channels.getAdminLog.md @@ -22,7 +22,7 @@ Get the admin log of a [channel/supergroup](https://core.telegram.org/api/channe |limit|[int](../types/int.md) | Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets) | Yes| -### Return type: [channels\_AdminLogResults](../types/channels_AdminLogResults.md) +### Return type: [channels.AdminLogResults](../types/channels.AdminLogResults.md) ### Can bots use this method: **NO** @@ -39,13 +39,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$channels_AdminLogResults = $MadelineProto->channels->getAdminLog(['channel' => InputChannel, 'q' => 'string', 'events_filter' => ChannelAdminLogEventsFilter, 'admins' => [InputUser, InputUser], 'max_id' => long, 'min_id' => long, 'limit' => int, ]); +$channels.AdminLogResults = $MadelineProto->channels->getAdminLog(['channel' => InputChannel, 'q' => 'string', 'events_filter' => ChannelAdminLogEventsFilter, 'admins' => [InputUser, InputUser], 'max_id' => long, 'min_id' => long, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -channels_AdminLogResults = channels.getAdminLog({channel=InputChannel, q='string', events_filter=ChannelAdminLogEventsFilter, admins={InputUser}, max_id=long, min_id=long, limit=int, }) +channels.AdminLogResults = channels.getAdminLog({channel=InputChannel, q='string', events_filter=ChannelAdminLogEventsFilter, admins={InputUser}, max_id=long, min_id=long, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v100/methods/channels.getAdminedPublicChannels.md b/old_docs/API_docs_v100/methods/channels.getAdminedPublicChannels.md index 55a686ca..eb277404 100644 --- a/old_docs/API_docs_v100/methods/channels.getAdminedPublicChannels.md +++ b/old_docs/API_docs_v100/methods/channels.getAdminedPublicChannels.md @@ -11,7 +11,7 @@ Get [channels/supergroups/geogroups](https://core.telegram.org/api/channel) we'r -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->channels->getAdminedPublicChannels(); +$messages.Chats = $MadelineProto->channels->getAdminedPublicChannels(); ``` Or, if you're into Lua: ```lua -messages_Chats = channels.getAdminedPublicChannels({}) +messages.Chats = channels.getAdminedPublicChannels({}) ``` diff --git a/old_docs/API_docs_v100/methods/channels.getBroadcastsForDiscussion.md b/old_docs/API_docs_v100/methods/channels.getBroadcastsForDiscussion.md index aa11cbaa..421a3677 100644 --- a/old_docs/API_docs_v100/methods/channels.getBroadcastsForDiscussion.md +++ b/old_docs/API_docs_v100/methods/channels.getBroadcastsForDiscussion.md @@ -11,7 +11,7 @@ Get channels for discussion -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **YES** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->channels->getBroadcastsForDiscussion(); +$messages.Chats = $MadelineProto->channels->getBroadcastsForDiscussion(); ``` Or, if you're into Lua: ```lua -messages_Chats = channels.getBroadcastsForDiscussion({}) +messages.Chats = channels.getBroadcastsForDiscussion({}) ``` diff --git a/old_docs/API_docs_v100/methods/channels.getChannels.md b/old_docs/API_docs_v100/methods/channels.getChannels.md index 368c96ce..ed9cf4a7 100644 --- a/old_docs/API_docs_v100/methods/channels.getChannels.md +++ b/old_docs/API_docs_v100/methods/channels.getChannels.md @@ -16,7 +16,7 @@ Get info about [channels/supergroups](https://core.telegram.org/api/channel) |id|Array of [Username, chat ID, Update, Message or InputChannel](../types/InputChannel.md) | The channel/supergroup MTProto IDs | Yes| -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->channels->getChannels(['id' => [InputChannel, InputChannel], ]); +$messages.Chats = $MadelineProto->channels->getChannels(['id' => [InputChannel, InputChannel], ]); ``` Or, if you're into Lua: ```lua -messages_Chats = channels.getChannels({id={InputChannel}, }) +messages.Chats = channels.getChannels({id={InputChannel}, }) ``` ### Errors diff --git a/old_docs/API_docs_v100/methods/channels.getFullChannel.md b/old_docs/API_docs_v100/methods/channels.getFullChannel.md index 08dc21bb..1369e0a0 100644 --- a/old_docs/API_docs_v100/methods/channels.getFullChannel.md +++ b/old_docs/API_docs_v100/methods/channels.getFullChannel.md @@ -16,7 +16,7 @@ You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo me |channel|[Username, chat ID, Update, Message or InputChannel](../types/InputChannel.md) | You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo methods instead (see https://docs.madelineproto.xyz for more info) | Optional| -### Return type: [messages\_ChatFull](../types/messages_ChatFull.md) +### Return type: [messages.ChatFull](../types/messages.ChatFull.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_ChatFull = $MadelineProto->channels->getFullChannel(['channel' => InputChannel, ]); +$messages.ChatFull = $MadelineProto->channels->getFullChannel(['channel' => InputChannel, ]); ``` Or, if you're into Lua: ```lua -messages_ChatFull = channels.getFullChannel({channel=InputChannel, }) +messages.ChatFull = channels.getFullChannel({channel=InputChannel, }) ``` ### Errors diff --git a/old_docs/API_docs_v100/methods/channels.getGroupsForDiscussion.md b/old_docs/API_docs_v100/methods/channels.getGroupsForDiscussion.md index 810f9aa8..0e97f199 100644 --- a/old_docs/API_docs_v100/methods/channels.getGroupsForDiscussion.md +++ b/old_docs/API_docs_v100/methods/channels.getGroupsForDiscussion.md @@ -11,7 +11,7 @@ Get all groups that can be used as [discussion groups](https://telegram.org/blog -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->channels->getGroupsForDiscussion(); +$messages.Chats = $MadelineProto->channels->getGroupsForDiscussion(); ``` Or, if you're into Lua: ```lua -messages_Chats = channels.getGroupsForDiscussion({}) +messages.Chats = channels.getGroupsForDiscussion({}) ``` diff --git a/old_docs/API_docs_v100/methods/channels.getLeftChannels.md b/old_docs/API_docs_v100/methods/channels.getLeftChannels.md index a5bcda2c..5a132204 100644 --- a/old_docs/API_docs_v100/methods/channels.getLeftChannels.md +++ b/old_docs/API_docs_v100/methods/channels.getLeftChannels.md @@ -16,7 +16,7 @@ Get a list of [channels/supergroups](https://core.telegram.org/api/channel) we l |offset|[int](../types/int.md) | Offset for [pagination](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->channels->getLeftChannels(['offset' => int, ]); +$messages.Chats = $MadelineProto->channels->getLeftChannels(['offset' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Chats = channels.getLeftChannels({offset=int, }) +messages.Chats = channels.getLeftChannels({offset=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v100/methods/channels.getMessages.md b/old_docs/API_docs_v100/methods/channels.getMessages.md index 428734e3..708e404a 100644 --- a/old_docs/API_docs_v100/methods/channels.getMessages.md +++ b/old_docs/API_docs_v100/methods/channels.getMessages.md @@ -17,7 +17,7 @@ Get [channel/supergroup](https://core.telegram.org/api/channel) messages |id|Array of [Message ID or InputMessage](../types/InputMessage.md) | The message IDs | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->channels->getMessages(['channel' => InputChannel, 'id' => [InputMessage, InputMessage], ]); +$messages.Messages = $MadelineProto->channels->getMessages(['channel' => InputChannel, 'id' => [InputMessage, InputMessage], ]); ``` Or, if you're into Lua: ```lua -messages_Messages = channels.getMessages({channel=InputChannel, id={InputMessage}, }) +messages.Messages = channels.getMessages({channel=InputChannel, id={InputMessage}, }) ``` ### Errors diff --git a/old_docs/API_docs_v100/methods/channels.getParticipant.md b/old_docs/API_docs_v100/methods/channels.getParticipant.md index aa2ce655..cf6a7771 100644 --- a/old_docs/API_docs_v100/methods/channels.getParticipant.md +++ b/old_docs/API_docs_v100/methods/channels.getParticipant.md @@ -17,7 +17,7 @@ Get info about a [channel/supergroup](https://core.telegram.org/api/channel) par |user\_id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | ID of participant to get info about | Optional| -### Return type: [channels\_ChannelParticipant](../types/channels_ChannelParticipant.md) +### Return type: [channels.ChannelParticipant](../types/channels.ChannelParticipant.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$channels_ChannelParticipant = $MadelineProto->channels->getParticipant(['channel' => InputChannel, 'user_id' => InputUser, ]); +$channels.ChannelParticipant = $MadelineProto->channels->getParticipant(['channel' => InputChannel, 'user_id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -channels_ChannelParticipant = channels.getParticipant({channel=InputChannel, user_id=InputUser, }) +channels.ChannelParticipant = channels.getParticipant({channel=InputChannel, user_id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v100/methods/channels.getParticipants.md b/old_docs/API_docs_v100/methods/channels.getParticipants.md index dd7e0087..c6b15b63 100644 --- a/old_docs/API_docs_v100/methods/channels.getParticipants.md +++ b/old_docs/API_docs_v100/methods/channels.getParticipants.md @@ -20,7 +20,7 @@ Get the participants of a channel |hash|Array of [int](../types/int.md) | IDs of previously fetched participants | Optional| -### Return type: [channels\_ChannelParticipants](../types/channels_ChannelParticipants.md) +### Return type: [channels.ChannelParticipants](../types/channels.ChannelParticipants.md) ### Can bots use this method: **YES** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$channels_ChannelParticipants = $MadelineProto->channels->getParticipants(['channel' => InputChannel, 'filter' => ChannelParticipantsFilter, 'offset' => int, 'limit' => int, 'hash' => [int, int], ]); +$channels.ChannelParticipants = $MadelineProto->channels->getParticipants(['channel' => InputChannel, 'filter' => ChannelParticipantsFilter, 'offset' => int, 'limit' => int, 'hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -channels_ChannelParticipants = channels.getParticipants({channel=InputChannel, filter=ChannelParticipantsFilter, offset=int, limit=int, hash={int}, }) +channels.ChannelParticipants = channels.getParticipants({channel=InputChannel, filter=ChannelParticipantsFilter, offset=int, limit=int, hash={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v100/methods/contacts.deleteContact.md b/old_docs/API_docs_v100/methods/contacts.deleteContact.md index a9321d64..9169e1e0 100644 --- a/old_docs/API_docs_v100/methods/contacts.deleteContact.md +++ b/old_docs/API_docs_v100/methods/contacts.deleteContact.md @@ -16,7 +16,7 @@ Delete a contact |id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | The contact to delete | Optional| -### Return type: [contacts\_Link](../types/contacts_Link.md) +### Return type: [contacts.Link](../types/contacts.Link.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Link = $MadelineProto->contacts->deleteContact(['id' => InputUser, ]); +$contacts.Link = $MadelineProto->contacts->deleteContact(['id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -contacts_Link = contacts.deleteContact({id=InputUser, }) +contacts.Link = contacts.deleteContact({id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v100/methods/contacts.getBlocked.md b/old_docs/API_docs_v100/methods/contacts.getBlocked.md index 92f2f331..6ac1c343 100644 --- a/old_docs/API_docs_v100/methods/contacts.getBlocked.md +++ b/old_docs/API_docs_v100/methods/contacts.getBlocked.md @@ -17,7 +17,7 @@ Returns the list of blocked users. |limit|[int](../types/int.md) | The number of list elements to be returned | Yes| -### Return type: [contacts\_Blocked](../types/contacts_Blocked.md) +### Return type: [contacts.Blocked](../types/contacts.Blocked.md) ### Can bots use this method: **NO** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Blocked = $MadelineProto->contacts->getBlocked(['offset' => int, 'limit' => int, ]); +$contacts.Blocked = $MadelineProto->contacts->getBlocked(['offset' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -contacts_Blocked = contacts.getBlocked({offset=int, limit=int, }) +contacts.Blocked = contacts.getBlocked({offset=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v100/methods/contacts.getContacts.md b/old_docs/API_docs_v100/methods/contacts.getContacts.md index c67e6240..609549b0 100644 --- a/old_docs/API_docs_v100/methods/contacts.getContacts.md +++ b/old_docs/API_docs_v100/methods/contacts.getContacts.md @@ -16,7 +16,7 @@ Returns the current user's contact list. |hash|Array of [int](../types/int.md) | User IDs of previously cached contacts | Optional| -### Return type: [contacts\_Contacts](../types/contacts_Contacts.md) +### Return type: [contacts.Contacts](../types/contacts.Contacts.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Contacts = $MadelineProto->contacts->getContacts(['hash' => [int, int], ]); +$contacts.Contacts = $MadelineProto->contacts->getContacts(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -contacts_Contacts = contacts.getContacts({hash={int}, }) +contacts.Contacts = contacts.getContacts({hash={int}, }) ``` diff --git a/old_docs/API_docs_v100/methods/contacts.getTopPeers.md b/old_docs/API_docs_v100/methods/contacts.getTopPeers.md index 8cb7f245..9957dd2c 100644 --- a/old_docs/API_docs_v100/methods/contacts.getTopPeers.md +++ b/old_docs/API_docs_v100/methods/contacts.getTopPeers.md @@ -26,7 +26,7 @@ Get most used peers |hash|Array of [int](../types/int.md) | Peer IDs of previously cached peers | Optional| -### Return type: [contacts\_TopPeers](../types/contacts_TopPeers.md) +### Return type: [contacts.TopPeers](../types/contacts.TopPeers.md) ### Can bots use this method: **NO** @@ -43,13 +43,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_TopPeers = $MadelineProto->contacts->getTopPeers(['correspondents' => Bool, 'bots_pm' => Bool, 'bots_inline' => Bool, 'phone_calls' => Bool, 'forward_users' => Bool, 'forward_chats' => Bool, 'groups' => Bool, 'channels' => Bool, 'offset' => int, 'limit' => int, 'hash' => [int, int], ]); +$contacts.TopPeers = $MadelineProto->contacts->getTopPeers(['correspondents' => Bool, 'bots_pm' => Bool, 'bots_inline' => Bool, 'phone_calls' => Bool, 'forward_users' => Bool, 'forward_chats' => Bool, 'groups' => Bool, 'channels' => Bool, 'offset' => int, 'limit' => int, 'hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -contacts_TopPeers = contacts.getTopPeers({correspondents=Bool, bots_pm=Bool, bots_inline=Bool, phone_calls=Bool, forward_users=Bool, forward_chats=Bool, groups=Bool, channels=Bool, offset=int, limit=int, hash={int}, }) +contacts.TopPeers = contacts.getTopPeers({correspondents=Bool, bots_pm=Bool, bots_inline=Bool, phone_calls=Bool, forward_users=Bool, forward_chats=Bool, groups=Bool, channels=Bool, offset=int, limit=int, hash={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v100/methods/contacts.importContacts.md b/old_docs/API_docs_v100/methods/contacts.importContacts.md index 7c795780..dbb9b7fa 100644 --- a/old_docs/API_docs_v100/methods/contacts.importContacts.md +++ b/old_docs/API_docs_v100/methods/contacts.importContacts.md @@ -16,7 +16,7 @@ Imports contacts: saves a full list on the server, adds already registered conta |contacts|Array of [InputContact](../types/InputContact.md) | The numbers to import | Yes| -### Return type: [contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) +### Return type: [contacts.ImportedContacts](../types/contacts.ImportedContacts.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_ImportedContacts = $MadelineProto->contacts->importContacts(['contacts' => [InputContact, InputContact], ]); +$contacts.ImportedContacts = $MadelineProto->contacts->importContacts(['contacts' => [InputContact, InputContact], ]); ``` Or, if you're into Lua: ```lua -contacts_ImportedContacts = contacts.importContacts({contacts={InputContact}, }) +contacts.ImportedContacts = contacts.importContacts({contacts={InputContact}, }) ``` diff --git a/old_docs/API_docs_v100/methods/contacts.resolveUsername.md b/old_docs/API_docs_v100/methods/contacts.resolveUsername.md index 05e3d854..46f1eb50 100644 --- a/old_docs/API_docs_v100/methods/contacts.resolveUsername.md +++ b/old_docs/API_docs_v100/methods/contacts.resolveUsername.md @@ -16,7 +16,7 @@ You cannot use this method directly, use the resolveUsername, getPwrChat, getInf |username|[string](../types/string.md) | You cannot use this method directly, use the resolveUsername, getPwrChat, getInfo, getFullInfo methods instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [contacts\_ResolvedPeer](../types/contacts_ResolvedPeer.md) +### Return type: [contacts.ResolvedPeer](../types/contacts.ResolvedPeer.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_ResolvedPeer = $MadelineProto->contacts->resolveUsername(['username' => 'string', ]); +$contacts.ResolvedPeer = $MadelineProto->contacts->resolveUsername(['username' => 'string', ]); ``` Or, if you're into Lua: ```lua -contacts_ResolvedPeer = contacts.resolveUsername({username='string', }) +contacts.ResolvedPeer = contacts.resolveUsername({username='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v100/methods/contacts.search.md b/old_docs/API_docs_v100/methods/contacts.search.md index 2f39d6f1..ec04c7f9 100644 --- a/old_docs/API_docs_v100/methods/contacts.search.md +++ b/old_docs/API_docs_v100/methods/contacts.search.md @@ -17,7 +17,7 @@ Returns users found by username substring. |limit|[int](../types/int.md) | Maximum number of users to be returned | Yes| -### Return type: [contacts\_Found](../types/contacts_Found.md) +### Return type: [contacts.Found](../types/contacts.Found.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Found = $MadelineProto->contacts->search(['q' => 'string', 'limit' => int, ]); +$contacts.Found = $MadelineProto->contacts->search(['q' => 'string', 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -contacts_Found = contacts.search({q='string', limit=int, }) +contacts.Found = contacts.search({q='string', limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v100/methods/help.editUserInfo.md b/old_docs/API_docs_v100/methods/help.editUserInfo.md index 7d49e820..0dd21b80 100644 --- a/old_docs/API_docs_v100/methods/help.editUserInfo.md +++ b/old_docs/API_docs_v100/methods/help.editUserInfo.md @@ -19,7 +19,7 @@ Internal use |parse\_mode| [string](../types/string.md) | Whether to parse HTML or Markdown markup in the message| Optional | -### Return type: [help\_UserInfo](../types/help_UserInfo.md) +### Return type: [help.UserInfo](../types/help.UserInfo.md) ### Can bots use this method: **NO** @@ -36,19 +36,19 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_UserInfo = $MadelineProto->help->editUserInfo(['user_id' => InputUser, 'message' => 'string', 'entities' => [MessageEntity, MessageEntity], 'parse_mode' => 'string', ]); +$help.UserInfo = $MadelineProto->help->editUserInfo(['user_id' => InputUser, 'message' => 'string', 'entities' => [MessageEntity, MessageEntity], 'parse_mode' => 'string', ]); ``` Or, if you're into Lua: ```lua -help_UserInfo = help.editUserInfo({user_id=InputUser, message='string', entities={MessageEntity}, parseMode='string', }) +help.UserInfo = help.editUserInfo({user_id=InputUser, message='string', entities={MessageEntity}, parseMode='string', }) ``` ## Return value -If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [help\_UserInfo](../types/help_UserInfo.md) will be returned instead. +If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [help.UserInfo](../types/help.UserInfo.md) will be returned instead. diff --git a/old_docs/API_docs_v100/methods/help.getAppUpdate.md b/old_docs/API_docs_v100/methods/help.getAppUpdate.md index e744d727..2a81fa8f 100644 --- a/old_docs/API_docs_v100/methods/help.getAppUpdate.md +++ b/old_docs/API_docs_v100/methods/help.getAppUpdate.md @@ -16,7 +16,7 @@ Returns information on update availability for the current application. |source|[string](../types/string.md) | Source | Yes| -### Return type: [help\_AppUpdate](../types/help_AppUpdate.md) +### Return type: [help.AppUpdate](../types/help.AppUpdate.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_AppUpdate = $MadelineProto->help->getAppUpdate(['source' => 'string', ]); +$help.AppUpdate = $MadelineProto->help->getAppUpdate(['source' => 'string', ]); ``` Or, if you're into Lua: ```lua -help_AppUpdate = help.getAppUpdate({source='string', }) +help.AppUpdate = help.getAppUpdate({source='string', }) ``` diff --git a/old_docs/API_docs_v100/methods/help.getDeepLinkInfo.md b/old_docs/API_docs_v100/methods/help.getDeepLinkInfo.md index e3269bbc..e6e7d6b8 100644 --- a/old_docs/API_docs_v100/methods/help.getDeepLinkInfo.md +++ b/old_docs/API_docs_v100/methods/help.getDeepLinkInfo.md @@ -16,7 +16,7 @@ Get info about a `t.me` link |path|[string](../types/string.md) | Path in `t.me/path` | Yes| -### Return type: [help\_DeepLinkInfo](../types/help_DeepLinkInfo.md) +### Return type: [help.DeepLinkInfo](../types/help.DeepLinkInfo.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_DeepLinkInfo = $MadelineProto->help->getDeepLinkInfo(['path' => 'string', ]); +$help.DeepLinkInfo = $MadelineProto->help->getDeepLinkInfo(['path' => 'string', ]); ``` Or, if you're into Lua: ```lua -help_DeepLinkInfo = help.getDeepLinkInfo({path='string', }) +help.DeepLinkInfo = help.getDeepLinkInfo({path='string', }) ``` diff --git a/old_docs/API_docs_v100/methods/help.getInviteText.md b/old_docs/API_docs_v100/methods/help.getInviteText.md index 6fd67362..0d427974 100644 --- a/old_docs/API_docs_v100/methods/help.getInviteText.md +++ b/old_docs/API_docs_v100/methods/help.getInviteText.md @@ -11,7 +11,7 @@ Returns text of a text message with an invitation. -### Return type: [help\_InviteText](../types/help_InviteText.md) +### Return type: [help.InviteText](../types/help.InviteText.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_InviteText = $MadelineProto->help->getInviteText(); +$help.InviteText = $MadelineProto->help->getInviteText(); ``` Or, if you're into Lua: ```lua -help_InviteText = help.getInviteText({}) +help.InviteText = help.getInviteText({}) ``` diff --git a/old_docs/API_docs_v100/methods/help.getPassportConfig.md b/old_docs/API_docs_v100/methods/help.getPassportConfig.md index 3710737d..f71e67b2 100644 --- a/old_docs/API_docs_v100/methods/help.getPassportConfig.md +++ b/old_docs/API_docs_v100/methods/help.getPassportConfig.md @@ -16,7 +16,7 @@ Get [passport](https://core.telegram.org/passport) configuration |hash|Array of [int](../types/int.md) | Hash | Optional| -### Return type: [help\_PassportConfig](../types/help_PassportConfig.md) +### Return type: [help.PassportConfig](../types/help.PassportConfig.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_PassportConfig = $MadelineProto->help->getPassportConfig(['hash' => [int, int], ]); +$help.PassportConfig = $MadelineProto->help->getPassportConfig(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -help_PassportConfig = help.getPassportConfig({hash={int}, }) +help.PassportConfig = help.getPassportConfig({hash={int}, }) ``` diff --git a/old_docs/API_docs_v100/methods/help.getProxyData.md b/old_docs/API_docs_v100/methods/help.getProxyData.md index bbaf4c53..9a0aaa9a 100644 --- a/old_docs/API_docs_v100/methods/help.getProxyData.md +++ b/old_docs/API_docs_v100/methods/help.getProxyData.md @@ -11,7 +11,7 @@ Get promotion info of the currently-used MTProxy -### Return type: [help\_ProxyData](../types/help_ProxyData.md) +### Return type: [help.ProxyData](../types/help.ProxyData.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_ProxyData = $MadelineProto->help->getProxyData(); +$help.ProxyData = $MadelineProto->help->getProxyData(); ``` Or, if you're into Lua: ```lua -help_ProxyData = help.getProxyData({}) +help.ProxyData = help.getProxyData({}) ``` diff --git a/old_docs/API_docs_v100/methods/help.getRecentMeUrls.md b/old_docs/API_docs_v100/methods/help.getRecentMeUrls.md index 38cc44c8..a5ab9e06 100644 --- a/old_docs/API_docs_v100/methods/help.getRecentMeUrls.md +++ b/old_docs/API_docs_v100/methods/help.getRecentMeUrls.md @@ -16,7 +16,7 @@ Get recently used `t.me` links |referer|[string](../types/string.md) | Referer | Yes| -### Return type: [help\_RecentMeUrls](../types/help_RecentMeUrls.md) +### Return type: [help.RecentMeUrls](../types/help.RecentMeUrls.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_RecentMeUrls = $MadelineProto->help->getRecentMeUrls(['referer' => 'string', ]); +$help.RecentMeUrls = $MadelineProto->help->getRecentMeUrls(['referer' => 'string', ]); ``` Or, if you're into Lua: ```lua -help_RecentMeUrls = help.getRecentMeUrls({referer='string', }) +help.RecentMeUrls = help.getRecentMeUrls({referer='string', }) ``` diff --git a/old_docs/API_docs_v100/methods/help.getSupport.md b/old_docs/API_docs_v100/methods/help.getSupport.md index 7a577892..8a8df916 100644 --- a/old_docs/API_docs_v100/methods/help.getSupport.md +++ b/old_docs/API_docs_v100/methods/help.getSupport.md @@ -11,7 +11,7 @@ Returns the support user for the 'ask a question' feature. -### Return type: [help\_Support](../types/help_Support.md) +### Return type: [help.Support](../types/help.Support.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_Support = $MadelineProto->help->getSupport(); +$help.Support = $MadelineProto->help->getSupport(); ``` Or, if you're into Lua: ```lua -help_Support = help.getSupport({}) +help.Support = help.getSupport({}) ``` diff --git a/old_docs/API_docs_v100/methods/help.getSupportName.md b/old_docs/API_docs_v100/methods/help.getSupportName.md index d2b1c93c..fbf9ef52 100644 --- a/old_docs/API_docs_v100/methods/help.getSupportName.md +++ b/old_docs/API_docs_v100/methods/help.getSupportName.md @@ -11,7 +11,7 @@ Get localized name of the telegram support user -### Return type: [help\_SupportName](../types/help_SupportName.md) +### Return type: [help.SupportName](../types/help.SupportName.md) ### Can bots use this method: **NO** @@ -28,13 +28,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_SupportName = $MadelineProto->help->getSupportName(); +$help.SupportName = $MadelineProto->help->getSupportName(); ``` Or, if you're into Lua: ```lua -help_SupportName = help.getSupportName({}) +help.SupportName = help.getSupportName({}) ``` ### Errors diff --git a/old_docs/API_docs_v100/methods/help.getTermsOfServiceUpdate.md b/old_docs/API_docs_v100/methods/help.getTermsOfServiceUpdate.md index 7a8ebd65..636a054b 100644 --- a/old_docs/API_docs_v100/methods/help.getTermsOfServiceUpdate.md +++ b/old_docs/API_docs_v100/methods/help.getTermsOfServiceUpdate.md @@ -11,7 +11,7 @@ Look for updates of telegram's terms of service -### Return type: [help\_TermsOfServiceUpdate](../types/help_TermsOfServiceUpdate.md) +### Return type: [help.TermsOfServiceUpdate](../types/help.TermsOfServiceUpdate.md) ### Can bots use this method: **NO** @@ -28,13 +28,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_TermsOfServiceUpdate = $MadelineProto->help->getTermsOfServiceUpdate(); +$help.TermsOfServiceUpdate = $MadelineProto->help->getTermsOfServiceUpdate(); ``` Or, if you're into Lua: ```lua -help_TermsOfServiceUpdate = help.getTermsOfServiceUpdate({}) +help.TermsOfServiceUpdate = help.getTermsOfServiceUpdate({}) ``` ### Errors diff --git a/old_docs/API_docs_v100/methods/help.getUserInfo.md b/old_docs/API_docs_v100/methods/help.getUserInfo.md index 353429d6..27b65cf7 100644 --- a/old_docs/API_docs_v100/methods/help.getUserInfo.md +++ b/old_docs/API_docs_v100/methods/help.getUserInfo.md @@ -16,7 +16,7 @@ Internal use |user\_id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | User ID | Optional| -### Return type: [help\_UserInfo](../types/help_UserInfo.md) +### Return type: [help.UserInfo](../types/help.UserInfo.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_UserInfo = $MadelineProto->help->getUserInfo(['user_id' => InputUser, ]); +$help.UserInfo = $MadelineProto->help->getUserInfo(['user_id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -help_UserInfo = help.getUserInfo({user_id=InputUser, }) +help.UserInfo = help.getUserInfo({user_id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v100/methods/messages.deleteHistory.md b/old_docs/API_docs_v100/methods/messages.deleteHistory.md index 53ebf056..1d7be654 100644 --- a/old_docs/API_docs_v100/methods/messages.deleteHistory.md +++ b/old_docs/API_docs_v100/methods/messages.deleteHistory.md @@ -19,7 +19,7 @@ Deletes communication history. |max\_id|[int](../types/int.md) | Maximum ID of message to delete | Yes| -### Return type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) +### Return type: [messages.AffectedHistory](../types/messages.AffectedHistory.md) ### Can bots use this method: **NO** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedHistory = $MadelineProto->messages->deleteHistory(['just_clear' => Bool, 'revoke' => Bool, 'peer' => InputPeer, 'max_id' => int, ]); +$messages.AffectedHistory = $MadelineProto->messages->deleteHistory(['just_clear' => Bool, 'revoke' => Bool, 'peer' => InputPeer, 'max_id' => int, ]); ``` Or, if you're into Lua: ```lua -messages_AffectedHistory = messages.deleteHistory({just_clear=Bool, revoke=Bool, peer=InputPeer, max_id=int, }) +messages.AffectedHistory = messages.deleteHistory({just_clear=Bool, revoke=Bool, peer=InputPeer, max_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v100/methods/messages.deleteMessages.md b/old_docs/API_docs_v100/methods/messages.deleteMessages.md index ade04cae..ade96e60 100644 --- a/old_docs/API_docs_v100/methods/messages.deleteMessages.md +++ b/old_docs/API_docs_v100/methods/messages.deleteMessages.md @@ -17,7 +17,7 @@ Deletes messages by their identifiers. |id|Array of [int](../types/int.md) | IDs of messages to delete, use channels->deleteMessages for supergroups | Yes| -### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) +### Return type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedMessages = $MadelineProto->messages->deleteMessages(['revoke' => Bool, 'id' => [int, int], ]); +$messages.AffectedMessages = $MadelineProto->messages->deleteMessages(['revoke' => Bool, 'id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AffectedMessages = messages.deleteMessages({revoke=Bool, id={int}, }) +messages.AffectedMessages = messages.deleteMessages({revoke=Bool, id={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v100/methods/messages.getAllChats.md b/old_docs/API_docs_v100/methods/messages.getAllChats.md index cdcc5430..97cc4817 100644 --- a/old_docs/API_docs_v100/methods/messages.getAllChats.md +++ b/old_docs/API_docs_v100/methods/messages.getAllChats.md @@ -16,7 +16,7 @@ Get all chats, channels and supergroups |except\_ids|Array of [int](../types/int.md) | Do not fetch these chats (MTProto id) | Yes| -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->messages->getAllChats(['except_ids' => [int, int], ]); +$messages.Chats = $MadelineProto->messages->getAllChats(['except_ids' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Chats = messages.getAllChats({except_ids={int}, }) +messages.Chats = messages.getAllChats({except_ids={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v100/methods/messages.getAllStickers.md b/old_docs/API_docs_v100/methods/messages.getAllStickers.md index 329b70be..0f0de7f1 100644 --- a/old_docs/API_docs_v100/methods/messages.getAllStickers.md +++ b/old_docs/API_docs_v100/methods/messages.getAllStickers.md @@ -16,7 +16,7 @@ Get all installed stickers |hash|Array of [int](../types/int.md) | The hash parameter of the previous result of this method | Optional| -### Return type: [messages\_AllStickers](../types/messages_AllStickers.md) +### Return type: [messages.AllStickers](../types/messages.AllStickers.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AllStickers = $MadelineProto->messages->getAllStickers(['hash' => [int, int], ]); +$messages.AllStickers = $MadelineProto->messages->getAllStickers(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AllStickers = messages.getAllStickers({hash={int}, }) +messages.AllStickers = messages.getAllStickers({hash={int}, }) ``` diff --git a/old_docs/API_docs_v100/methods/messages.getArchivedStickers.md b/old_docs/API_docs_v100/methods/messages.getArchivedStickers.md index d3abe9fc..c108376e 100644 --- a/old_docs/API_docs_v100/methods/messages.getArchivedStickers.md +++ b/old_docs/API_docs_v100/methods/messages.getArchivedStickers.md @@ -18,7 +18,7 @@ Get all archived stickers |limit|[int](../types/int.md) | Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_ArchivedStickers](../types/messages_ArchivedStickers.md) +### Return type: [messages.ArchivedStickers](../types/messages.ArchivedStickers.md) ### Can bots use this method: **NO** @@ -35,12 +35,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_ArchivedStickers = $MadelineProto->messages->getArchivedStickers(['masks' => Bool, 'offset_id' => long, 'limit' => int, ]); +$messages.ArchivedStickers = $MadelineProto->messages->getArchivedStickers(['masks' => Bool, 'offset_id' => long, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -messages_ArchivedStickers = messages.getArchivedStickers({masks=Bool, offset_id=long, limit=int, }) +messages.ArchivedStickers = messages.getArchivedStickers({masks=Bool, offset_id=long, limit=int, }) ``` diff --git a/old_docs/API_docs_v100/methods/messages.getBotCallbackAnswer.md b/old_docs/API_docs_v100/methods/messages.getBotCallbackAnswer.md index 015fc46b..10072386 100644 --- a/old_docs/API_docs_v100/methods/messages.getBotCallbackAnswer.md +++ b/old_docs/API_docs_v100/methods/messages.getBotCallbackAnswer.md @@ -19,7 +19,7 @@ Press an inline callback button and get a callback answer from the bot |data|[bytes](../types/bytes.md) | Callback data | Optional| -### Return type: [messages\_BotCallbackAnswer](../types/messages_BotCallbackAnswer.md) +### Return type: [messages.BotCallbackAnswer](../types/messages.BotCallbackAnswer.md) ### Can bots use this method: **NO** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_BotCallbackAnswer = $MadelineProto->messages->getBotCallbackAnswer(['game' => Bool, 'peer' => InputPeer, 'msg_id' => int, 'data' => 'bytes', ]); +$messages.BotCallbackAnswer = $MadelineProto->messages->getBotCallbackAnswer(['game' => Bool, 'peer' => InputPeer, 'msg_id' => int, 'data' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -messages_BotCallbackAnswer = messages.getBotCallbackAnswer({game=Bool, peer=InputPeer, msg_id=int, data='bytes', }) +messages.BotCallbackAnswer = messages.getBotCallbackAnswer({game=Bool, peer=InputPeer, msg_id=int, data='bytes', }) ``` ### Errors diff --git a/old_docs/API_docs_v100/methods/messages.getChats.md b/old_docs/API_docs_v100/methods/messages.getChats.md index c34b0488..146341f5 100644 --- a/old_docs/API_docs_v100/methods/messages.getChats.md +++ b/old_docs/API_docs_v100/methods/messages.getChats.md @@ -16,7 +16,7 @@ Returns chat basic info on their IDs. |id|Array of [int](../types/int.md) | The MTProto IDs of chats to fetch info about | Yes| -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->messages->getChats(['id' => [int, int], ]); +$messages.Chats = $MadelineProto->messages->getChats(['id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Chats = messages.getChats({id={int}, }) +messages.Chats = messages.getChats({id={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v100/methods/messages.getCommonChats.md b/old_docs/API_docs_v100/methods/messages.getCommonChats.md index fc7b2363..56a3ec01 100644 --- a/old_docs/API_docs_v100/methods/messages.getCommonChats.md +++ b/old_docs/API_docs_v100/methods/messages.getCommonChats.md @@ -18,7 +18,7 @@ Get chats in common with a user |limit|[int](../types/int.md) | Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->messages->getCommonChats(['user_id' => InputUser, 'max_id' => int, 'limit' => int, ]); +$messages.Chats = $MadelineProto->messages->getCommonChats(['user_id' => InputUser, 'max_id' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Chats = messages.getCommonChats({user_id=InputUser, max_id=int, limit=int, }) +messages.Chats = messages.getCommonChats({user_id=InputUser, max_id=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v100/methods/messages.getDhConfig.md b/old_docs/API_docs_v100/methods/messages.getDhConfig.md index 88ea4ab3..7b9da566 100644 --- a/old_docs/API_docs_v100/methods/messages.getDhConfig.md +++ b/old_docs/API_docs_v100/methods/messages.getDhConfig.md @@ -17,7 +17,7 @@ You cannot use this method directly, instead use $MadelineProto->getDhConfig(); |random\_length|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->getDhConfig(); | Yes| -### Return type: [messages\_DhConfig](../types/messages_DhConfig.md) +### Return type: [messages.DhConfig](../types/messages.DhConfig.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_DhConfig = $MadelineProto->messages->getDhConfig(['version' => int, 'random_length' => int, ]); +$messages.DhConfig = $MadelineProto->messages->getDhConfig(['version' => int, 'random_length' => int, ]); ``` Or, if you're into Lua: ```lua -messages_DhConfig = messages.getDhConfig({version=int, random_length=int, }) +messages.DhConfig = messages.getDhConfig({version=int, random_length=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v100/methods/messages.getDialogs.md b/old_docs/API_docs_v100/methods/messages.getDialogs.md index 4fce7d43..8f0e7f1a 100644 --- a/old_docs/API_docs_v100/methods/messages.getDialogs.md +++ b/old_docs/API_docs_v100/methods/messages.getDialogs.md @@ -22,7 +22,7 @@ Returns the current user dialog list. |hash|Array of [int](../types/int.md) | IDs of previously fetched dialogs | Optional| -### Return type: [messages\_Dialogs](../types/messages_Dialogs.md) +### Return type: [messages.Dialogs](../types/messages.Dialogs.md) ### Can bots use this method: **NO** @@ -39,13 +39,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Dialogs = $MadelineProto->messages->getDialogs(['exclude_pinned' => Bool, 'folder_id' => int, 'offset_date' => int, 'offset_id' => int, 'offset_peer' => InputPeer, 'limit' => int, 'hash' => [int, int], ]); +$messages.Dialogs = $MadelineProto->messages->getDialogs(['exclude_pinned' => Bool, 'folder_id' => int, 'offset_date' => int, 'offset_id' => int, 'offset_peer' => InputPeer, 'limit' => int, 'hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Dialogs = messages.getDialogs({exclude_pinned=Bool, folder_id=int, offset_date=int, offset_id=int, offset_peer=InputPeer, limit=int, hash={int}, }) +messages.Dialogs = messages.getDialogs({exclude_pinned=Bool, folder_id=int, offset_date=int, offset_id=int, offset_peer=InputPeer, limit=int, hash={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v100/methods/messages.getFavedStickers.md b/old_docs/API_docs_v100/methods/messages.getFavedStickers.md index 3ba077ef..19f64e43 100644 --- a/old_docs/API_docs_v100/methods/messages.getFavedStickers.md +++ b/old_docs/API_docs_v100/methods/messages.getFavedStickers.md @@ -16,7 +16,7 @@ Get faved stickers |hash|Array of [int](../types/int.md) | the hash parameter of the previous result of this method | Optional| -### Return type: [messages\_FavedStickers](../types/messages_FavedStickers.md) +### Return type: [messages.FavedStickers](../types/messages.FavedStickers.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_FavedStickers = $MadelineProto->messages->getFavedStickers(['hash' => [int, int], ]); +$messages.FavedStickers = $MadelineProto->messages->getFavedStickers(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_FavedStickers = messages.getFavedStickers({hash={int}, }) +messages.FavedStickers = messages.getFavedStickers({hash={int}, }) ``` diff --git a/old_docs/API_docs_v100/methods/messages.getFeaturedStickers.md b/old_docs/API_docs_v100/methods/messages.getFeaturedStickers.md index 8f2634c3..2d65d626 100644 --- a/old_docs/API_docs_v100/methods/messages.getFeaturedStickers.md +++ b/old_docs/API_docs_v100/methods/messages.getFeaturedStickers.md @@ -16,7 +16,7 @@ Get featured stickers |hash|Array of [int](../types/int.md) | the hash parameter of the previous result of this method | Optional| -### Return type: [messages\_FeaturedStickers](../types/messages_FeaturedStickers.md) +### Return type: [messages.FeaturedStickers](../types/messages.FeaturedStickers.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_FeaturedStickers = $MadelineProto->messages->getFeaturedStickers(['hash' => [int, int], ]); +$messages.FeaturedStickers = $MadelineProto->messages->getFeaturedStickers(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_FeaturedStickers = messages.getFeaturedStickers({hash={int}, }) +messages.FeaturedStickers = messages.getFeaturedStickers({hash={int}, }) ``` diff --git a/old_docs/API_docs_v100/methods/messages.getFullChat.md b/old_docs/API_docs_v100/methods/messages.getFullChat.md index abf23e21..de543651 100644 --- a/old_docs/API_docs_v100/methods/messages.getFullChat.md +++ b/old_docs/API_docs_v100/methods/messages.getFullChat.md @@ -16,7 +16,7 @@ You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo me |chat\_id|[Username, chat ID, Update, Message or InputPeer](../types/InputPeer.md) | You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo methods instead (see https://docs.madelineproto.xyz for more info) | Optional| -### Return type: [messages\_ChatFull](../types/messages_ChatFull.md) +### Return type: [messages.ChatFull](../types/messages.ChatFull.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_ChatFull = $MadelineProto->messages->getFullChat(['chat_id' => InputPeer, ]); +$messages.ChatFull = $MadelineProto->messages->getFullChat(['chat_id' => InputPeer, ]); ``` Or, if you're into Lua: ```lua -messages_ChatFull = messages.getFullChat({chat_id=InputPeer, }) +messages.ChatFull = messages.getFullChat({chat_id=InputPeer, }) ``` ### Errors diff --git a/old_docs/API_docs_v100/methods/messages.getGameHighScores.md b/old_docs/API_docs_v100/methods/messages.getGameHighScores.md index 0ee9d754..6e4dacb2 100644 --- a/old_docs/API_docs_v100/methods/messages.getGameHighScores.md +++ b/old_docs/API_docs_v100/methods/messages.getGameHighScores.md @@ -18,7 +18,7 @@ Get highscores of a game |user\_id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | Get high scores made by a certain user | Optional| -### Return type: [messages\_HighScores](../types/messages_HighScores.md) +### Return type: [messages.HighScores](../types/messages.HighScores.md) ### Can bots use this method: **YES** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_HighScores = $MadelineProto->messages->getGameHighScores(['peer' => InputPeer, 'id' => int, 'user_id' => InputUser, ]); +$messages.HighScores = $MadelineProto->messages->getGameHighScores(['peer' => InputPeer, 'id' => int, 'user_id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -messages_HighScores = messages.getGameHighScores({peer=InputPeer, id=int, user_id=InputUser, }) +messages.HighScores = messages.getGameHighScores({peer=InputPeer, id=int, user_id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v100/methods/messages.getHistory.md b/old_docs/API_docs_v100/methods/messages.getHistory.md index 9a3d5f8c..c7bd9850 100644 --- a/old_docs/API_docs_v100/methods/messages.getHistory.md +++ b/old_docs/API_docs_v100/methods/messages.getHistory.md @@ -23,7 +23,7 @@ Gets back the conversation history with one interlocutor / within a chat |hash|Array of [int](../types/int.md) | IDs of messages you already fetched | Optional| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **NO** @@ -40,13 +40,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->getHistory(['peer' => InputPeer, 'offset_id' => int, 'offset_date' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, 'hash' => [int, int], ]); +$messages.Messages = $MadelineProto->messages->getHistory(['peer' => InputPeer, 'offset_id' => int, 'offset_date' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, 'hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.getHistory({peer=InputPeer, offset_id=int, offset_date=int, add_offset=int, limit=int, max_id=int, min_id=int, hash={int}, }) +messages.Messages = messages.getHistory({peer=InputPeer, offset_id=int, offset_date=int, add_offset=int, limit=int, max_id=int, min_id=int, hash={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v100/methods/messages.getInlineBotResults.md b/old_docs/API_docs_v100/methods/messages.getInlineBotResults.md index ac251797..8a397236 100644 --- a/old_docs/API_docs_v100/methods/messages.getInlineBotResults.md +++ b/old_docs/API_docs_v100/methods/messages.getInlineBotResults.md @@ -20,7 +20,7 @@ Query an inline bot |offset|[string](../types/string.md) | The offset within the results, will be passed directly as-is to the bot. | Yes| -### Return type: [messages\_BotResults](../types/messages_BotResults.md) +### Return type: [messages.BotResults](../types/messages.BotResults.md) ### Can bots use this method: **NO** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_BotResults = $MadelineProto->messages->getInlineBotResults(['bot' => InputUser, 'peer' => InputPeer, 'geo_point' => InputGeoPoint, 'query' => 'string', 'offset' => 'string', ]); +$messages.BotResults = $MadelineProto->messages->getInlineBotResults(['bot' => InputUser, 'peer' => InputPeer, 'geo_point' => InputGeoPoint, 'query' => 'string', 'offset' => 'string', ]); ``` Or, if you're into Lua: ```lua -messages_BotResults = messages.getInlineBotResults({bot=InputUser, peer=InputPeer, geo_point=InputGeoPoint, query='string', offset='string', }) +messages.BotResults = messages.getInlineBotResults({bot=InputUser, peer=InputPeer, geo_point=InputGeoPoint, query='string', offset='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v100/methods/messages.getInlineGameHighScores.md b/old_docs/API_docs_v100/methods/messages.getInlineGameHighScores.md index 0d02b426..dbcb2cf6 100644 --- a/old_docs/API_docs_v100/methods/messages.getInlineGameHighScores.md +++ b/old_docs/API_docs_v100/methods/messages.getInlineGameHighScores.md @@ -17,7 +17,7 @@ Get highscores of a game sent using an inline bot |user\_id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | Get high scores of a certain user | Optional| -### Return type: [messages\_HighScores](../types/messages_HighScores.md) +### Return type: [messages.HighScores](../types/messages.HighScores.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_HighScores = $MadelineProto->messages->getInlineGameHighScores(['id' => InputBotInlineMessageID, 'user_id' => InputUser, ]); +$messages.HighScores = $MadelineProto->messages->getInlineGameHighScores(['id' => InputBotInlineMessageID, 'user_id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -messages_HighScores = messages.getInlineGameHighScores({id=InputBotInlineMessageID, user_id=InputUser, }) +messages.HighScores = messages.getInlineGameHighScores({id=InputBotInlineMessageID, user_id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v100/methods/messages.getMaskStickers.md b/old_docs/API_docs_v100/methods/messages.getMaskStickers.md index a09834e1..093645f6 100644 --- a/old_docs/API_docs_v100/methods/messages.getMaskStickers.md +++ b/old_docs/API_docs_v100/methods/messages.getMaskStickers.md @@ -16,7 +16,7 @@ Get installed mask stickers |hash|Array of [int](../types/int.md) | the hash parameter of the previous result of this method | Optional| -### Return type: [messages\_AllStickers](../types/messages_AllStickers.md) +### Return type: [messages.AllStickers](../types/messages.AllStickers.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AllStickers = $MadelineProto->messages->getMaskStickers(['hash' => [int, int], ]); +$messages.AllStickers = $MadelineProto->messages->getMaskStickers(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AllStickers = messages.getMaskStickers({hash={int}, }) +messages.AllStickers = messages.getMaskStickers({hash={int}, }) ``` diff --git a/old_docs/API_docs_v100/methods/messages.getMessageEditData.md b/old_docs/API_docs_v100/methods/messages.getMessageEditData.md index 1a083f08..7fd32e82 100644 --- a/old_docs/API_docs_v100/methods/messages.getMessageEditData.md +++ b/old_docs/API_docs_v100/methods/messages.getMessageEditData.md @@ -17,7 +17,7 @@ Find out if a media message's caption can be edited |id|[int](../types/int.md) | ID of message | Yes| -### Return type: [messages\_MessageEditData](../types/messages_MessageEditData.md) +### Return type: [messages.MessageEditData](../types/messages.MessageEditData.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_MessageEditData = $MadelineProto->messages->getMessageEditData(['peer' => InputPeer, 'id' => int, ]); +$messages.MessageEditData = $MadelineProto->messages->getMessageEditData(['peer' => InputPeer, 'id' => int, ]); ``` Or, if you're into Lua: ```lua -messages_MessageEditData = messages.getMessageEditData({peer=InputPeer, id=int, }) +messages.MessageEditData = messages.getMessageEditData({peer=InputPeer, id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v100/methods/messages.getMessages.md b/old_docs/API_docs_v100/methods/messages.getMessages.md index eb5ef6a6..0aed788d 100644 --- a/old_docs/API_docs_v100/methods/messages.getMessages.md +++ b/old_docs/API_docs_v100/methods/messages.getMessages.md @@ -16,7 +16,7 @@ Returns the list of messages by their IDs. |id|Array of [Message ID or InputMessage](../types/InputMessage.md) | The IDs of messages to fetch (only for users and normal groups) | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **YES** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->getMessages(['id' => [InputMessage, InputMessage], ]); +$messages.Messages = $MadelineProto->messages->getMessages(['id' => [InputMessage, InputMessage], ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.getMessages({id={InputMessage}, }) +messages.Messages = messages.getMessages({id={InputMessage}, }) ``` diff --git a/old_docs/API_docs_v100/methods/messages.getPeerDialogs.md b/old_docs/API_docs_v100/methods/messages.getPeerDialogs.md index 2ab5d661..1ec67e6a 100644 --- a/old_docs/API_docs_v100/methods/messages.getPeerDialogs.md +++ b/old_docs/API_docs_v100/methods/messages.getPeerDialogs.md @@ -16,7 +16,7 @@ Get dialog info of specified peers |peers|Array of [Username, chat ID, Update, Message or InputDialogPeer](../types/InputDialogPeer.md) | The peers | Yes| -### Return type: [messages\_PeerDialogs](../types/messages_PeerDialogs.md) +### Return type: [messages.PeerDialogs](../types/messages.PeerDialogs.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_PeerDialogs = $MadelineProto->messages->getPeerDialogs(['peers' => [InputDialogPeer, InputDialogPeer], ]); +$messages.PeerDialogs = $MadelineProto->messages->getPeerDialogs(['peers' => [InputDialogPeer, InputDialogPeer], ]); ``` Or, if you're into Lua: ```lua -messages_PeerDialogs = messages.getPeerDialogs({peers={InputDialogPeer}, }) +messages.PeerDialogs = messages.getPeerDialogs({peers={InputDialogPeer}, }) ``` ### Errors diff --git a/old_docs/API_docs_v100/methods/messages.getPinnedDialogs.md b/old_docs/API_docs_v100/methods/messages.getPinnedDialogs.md index 7fbfecd0..9b776f2a 100644 --- a/old_docs/API_docs_v100/methods/messages.getPinnedDialogs.md +++ b/old_docs/API_docs_v100/methods/messages.getPinnedDialogs.md @@ -16,7 +16,7 @@ Get pinned dialogs |folder\_id|[int](../types/int.md) | Folder ID | Yes| -### Return type: [messages\_PeerDialogs](../types/messages_PeerDialogs.md) +### Return type: [messages.PeerDialogs](../types/messages.PeerDialogs.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_PeerDialogs = $MadelineProto->messages->getPinnedDialogs(['folder_id' => int, ]); +$messages.PeerDialogs = $MadelineProto->messages->getPinnedDialogs(['folder_id' => int, ]); ``` Or, if you're into Lua: ```lua -messages_PeerDialogs = messages.getPinnedDialogs({folder_id=int, }) +messages.PeerDialogs = messages.getPinnedDialogs({folder_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v100/methods/messages.getRecentLocations.md b/old_docs/API_docs_v100/methods/messages.getRecentLocations.md index 40ec1285..4efeb49c 100644 --- a/old_docs/API_docs_v100/methods/messages.getRecentLocations.md +++ b/old_docs/API_docs_v100/methods/messages.getRecentLocations.md @@ -18,7 +18,7 @@ Get live location history of a certain user |hash|Array of [int](../types/int.md) | IDs of locations you already fetched | Optional| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **NO** @@ -35,12 +35,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->getRecentLocations(['peer' => InputPeer, 'limit' => int, 'hash' => [int, int], ]); +$messages.Messages = $MadelineProto->messages->getRecentLocations(['peer' => InputPeer, 'limit' => int, 'hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.getRecentLocations({peer=InputPeer, limit=int, hash={int}, }) +messages.Messages = messages.getRecentLocations({peer=InputPeer, limit=int, hash={int}, }) ``` diff --git a/old_docs/API_docs_v100/methods/messages.getRecentStickers.md b/old_docs/API_docs_v100/methods/messages.getRecentStickers.md index 28a70889..39cef16a 100644 --- a/old_docs/API_docs_v100/methods/messages.getRecentStickers.md +++ b/old_docs/API_docs_v100/methods/messages.getRecentStickers.md @@ -17,7 +17,7 @@ Get recent stickers |hash|Array of [int](../types/int.md) | IDs the hash parameter of the previous result of this method | Optional| -### Return type: [messages\_RecentStickers](../types/messages_RecentStickers.md) +### Return type: [messages.RecentStickers](../types/messages.RecentStickers.md) ### Can bots use this method: **NO** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_RecentStickers = $MadelineProto->messages->getRecentStickers(['attached' => Bool, 'hash' => [int, int], ]); +$messages.RecentStickers = $MadelineProto->messages->getRecentStickers(['attached' => Bool, 'hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_RecentStickers = messages.getRecentStickers({attached=Bool, hash={int}, }) +messages.RecentStickers = messages.getRecentStickers({attached=Bool, hash={int}, }) ``` diff --git a/old_docs/API_docs_v100/methods/messages.getSavedGifs.md b/old_docs/API_docs_v100/methods/messages.getSavedGifs.md index 1df7f37c..8b31f7b8 100644 --- a/old_docs/API_docs_v100/methods/messages.getSavedGifs.md +++ b/old_docs/API_docs_v100/methods/messages.getSavedGifs.md @@ -16,7 +16,7 @@ Get saved GIFs |hash|Array of [int](../types/int.md) | the hash parameter of the previous result of this method | Optional| -### Return type: [messages\_SavedGifs](../types/messages_SavedGifs.md) +### Return type: [messages.SavedGifs](../types/messages.SavedGifs.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_SavedGifs = $MadelineProto->messages->getSavedGifs(['hash' => [int, int], ]); +$messages.SavedGifs = $MadelineProto->messages->getSavedGifs(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_SavedGifs = messages.getSavedGifs({hash={int}, }) +messages.SavedGifs = messages.getSavedGifs({hash={int}, }) ``` diff --git a/old_docs/API_docs_v100/methods/messages.getSearchCounters.md b/old_docs/API_docs_v100/methods/messages.getSearchCounters.md index 7a3ff374..3fb15962 100644 --- a/old_docs/API_docs_v100/methods/messages.getSearchCounters.md +++ b/old_docs/API_docs_v100/methods/messages.getSearchCounters.md @@ -17,7 +17,7 @@ Get the number of results that would be found by a [messages.search](../methods/ |filters|Array of [MessagesFilter](../types/MessagesFilter.md) | Filters | Yes| -### Return type: [Vector\_of\_messages\_SearchCounter](../types/messages_SearchCounter.md) +### Return type: [Vector\_of\_messages.SearchCounter](../types/messages.SearchCounter.md) ### Can bots use this method: **NO** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$Vector_of_messages_SearchCounter = $MadelineProto->messages->getSearchCounters(['peer' => InputPeer, 'filters' => [MessagesFilter, MessagesFilter], ]); +$Vector_of_messages.SearchCounter = $MadelineProto->messages->getSearchCounters(['peer' => InputPeer, 'filters' => [MessagesFilter, MessagesFilter], ]); ``` Or, if you're into Lua: ```lua -Vector_of_messages_SearchCounter = messages.getSearchCounters({peer=InputPeer, filters={MessagesFilter}, }) +Vector_of_messages.SearchCounter = messages.getSearchCounters({peer=InputPeer, filters={MessagesFilter}, }) ``` diff --git a/old_docs/API_docs_v100/methods/messages.getStickerSet.md b/old_docs/API_docs_v100/methods/messages.getStickerSet.md index 45fca60f..f11887ee 100644 --- a/old_docs/API_docs_v100/methods/messages.getStickerSet.md +++ b/old_docs/API_docs_v100/methods/messages.getStickerSet.md @@ -16,7 +16,7 @@ Get info about a stickerset |stickerset|[InputStickerSet](../types/InputStickerSet.md) | Stickerset | Optional| -### Return type: [messages\_StickerSet](../types/messages_StickerSet.md) +### Return type: [messages.StickerSet](../types/messages.StickerSet.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StickerSet = $MadelineProto->messages->getStickerSet(['stickerset' => InputStickerSet, ]); +$messages.StickerSet = $MadelineProto->messages->getStickerSet(['stickerset' => InputStickerSet, ]); ``` Or, if you're into Lua: ```lua -messages_StickerSet = messages.getStickerSet({stickerset=InputStickerSet, }) +messages.StickerSet = messages.getStickerSet({stickerset=InputStickerSet, }) ``` ### Errors diff --git a/old_docs/API_docs_v100/methods/messages.getStickers.md b/old_docs/API_docs_v100/methods/messages.getStickers.md index 4f8b7598..ff99fbd2 100644 --- a/old_docs/API_docs_v100/methods/messages.getStickers.md +++ b/old_docs/API_docs_v100/methods/messages.getStickers.md @@ -17,7 +17,7 @@ Get stickers by emoji |hash|Array of [int](../types/int.md) | the hash parameter of the previous result of this method | Optional| -### Return type: [messages\_Stickers](../types/messages_Stickers.md) +### Return type: [messages.Stickers](../types/messages.Stickers.md) ### Can bots use this method: **NO** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Stickers = $MadelineProto->messages->getStickers(['emoticon' => 'string', 'hash' => [int, int], ]); +$messages.Stickers = $MadelineProto->messages->getStickers(['emoticon' => 'string', 'hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Stickers = messages.getStickers({emoticon='string', hash={int}, }) +messages.Stickers = messages.getStickers({emoticon='string', hash={int}, }) ``` diff --git a/old_docs/API_docs_v100/methods/messages.getUnreadMentions.md b/old_docs/API_docs_v100/methods/messages.getUnreadMentions.md index 33bba261..679ed841 100644 --- a/old_docs/API_docs_v100/methods/messages.getUnreadMentions.md +++ b/old_docs/API_docs_v100/methods/messages.getUnreadMentions.md @@ -21,7 +21,7 @@ Get unread messages where we were mentioned |min\_id|[int](../types/int.md) | Minimum message ID to return, [see pagination](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **NO** @@ -38,13 +38,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->getUnreadMentions(['peer' => InputPeer, 'offset_id' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); +$messages.Messages = $MadelineProto->messages->getUnreadMentions(['peer' => InputPeer, 'offset_id' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.getUnreadMentions({peer=InputPeer, offset_id=int, add_offset=int, limit=int, max_id=int, min_id=int, }) +messages.Messages = messages.getUnreadMentions({peer=InputPeer, offset_id=int, add_offset=int, limit=int, max_id=int, min_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v100/methods/messages.installStickerSet.md b/old_docs/API_docs_v100/methods/messages.installStickerSet.md index 1a95ca0b..83ce2121 100644 --- a/old_docs/API_docs_v100/methods/messages.installStickerSet.md +++ b/old_docs/API_docs_v100/methods/messages.installStickerSet.md @@ -17,7 +17,7 @@ Install a stickerset |archived|[Bool](../types/Bool.md) | Whether to archive stickerset | Yes| -### Return type: [messages\_StickerSetInstallResult](../types/messages_StickerSetInstallResult.md) +### Return type: [messages.StickerSetInstallResult](../types/messages.StickerSetInstallResult.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StickerSetInstallResult = $MadelineProto->messages->installStickerSet(['stickerset' => InputStickerSet, 'archived' => Bool, ]); +$messages.StickerSetInstallResult = $MadelineProto->messages->installStickerSet(['stickerset' => InputStickerSet, 'archived' => Bool, ]); ``` Or, if you're into Lua: ```lua -messages_StickerSetInstallResult = messages.installStickerSet({stickerset=InputStickerSet, archived=Bool, }) +messages.StickerSetInstallResult = messages.installStickerSet({stickerset=InputStickerSet, archived=Bool, }) ``` ### Errors diff --git a/old_docs/API_docs_v100/methods/messages.readHistory.md b/old_docs/API_docs_v100/methods/messages.readHistory.md index 39753375..52030c68 100644 --- a/old_docs/API_docs_v100/methods/messages.readHistory.md +++ b/old_docs/API_docs_v100/methods/messages.readHistory.md @@ -17,7 +17,7 @@ Marks message history as read. |max\_id|[int](../types/int.md) | If a positive value is passed, only messages with identifiers less or equal than the given one will be read | Yes| -### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) +### Return type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedMessages = $MadelineProto->messages->readHistory(['peer' => InputPeer, 'max_id' => int, ]); +$messages.AffectedMessages = $MadelineProto->messages->readHistory(['peer' => InputPeer, 'max_id' => int, ]); ``` Or, if you're into Lua: ```lua -messages_AffectedMessages = messages.readHistory({peer=InputPeer, max_id=int, }) +messages.AffectedMessages = messages.readHistory({peer=InputPeer, max_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v100/methods/messages.readMentions.md b/old_docs/API_docs_v100/methods/messages.readMentions.md index 9b73851d..c8c94f00 100644 --- a/old_docs/API_docs_v100/methods/messages.readMentions.md +++ b/old_docs/API_docs_v100/methods/messages.readMentions.md @@ -16,7 +16,7 @@ Mark mentions as read |peer|[Username, chat ID, Update, Message or InputPeer](../types/InputPeer.md) | Dialog | Optional| -### Return type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) +### Return type: [messages.AffectedHistory](../types/messages.AffectedHistory.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedHistory = $MadelineProto->messages->readMentions(['peer' => InputPeer, ]); +$messages.AffectedHistory = $MadelineProto->messages->readMentions(['peer' => InputPeer, ]); ``` Or, if you're into Lua: ```lua -messages_AffectedHistory = messages.readMentions({peer=InputPeer, }) +messages.AffectedHistory = messages.readMentions({peer=InputPeer, }) ``` diff --git a/old_docs/API_docs_v100/methods/messages.readMessageContents.md b/old_docs/API_docs_v100/methods/messages.readMessageContents.md index c479cafe..9798e661 100644 --- a/old_docs/API_docs_v100/methods/messages.readMessageContents.md +++ b/old_docs/API_docs_v100/methods/messages.readMessageContents.md @@ -16,7 +16,7 @@ Notifies the sender about the recipient having listened a voice message or watch |id|Array of [int](../types/int.md) | The messages to mark as read (only users and normal chats, not supergroups) | Yes| -### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) +### Return type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedMessages = $MadelineProto->messages->readMessageContents(['id' => [int, int], ]); +$messages.AffectedMessages = $MadelineProto->messages->readMessageContents(['id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AffectedMessages = messages.readMessageContents({id={int}, }) +messages.AffectedMessages = messages.readMessageContents({id={int}, }) ``` diff --git a/old_docs/API_docs_v100/methods/messages.search.md b/old_docs/API_docs_v100/methods/messages.search.md index 75c21af0..b8125fb6 100644 --- a/old_docs/API_docs_v100/methods/messages.search.md +++ b/old_docs/API_docs_v100/methods/messages.search.md @@ -27,7 +27,7 @@ Gets back found messages |hash|Array of [int](../types/int.md) | The IDs of messages you already fetched | Optional| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **NO** @@ -44,13 +44,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->search(['peer' => InputPeer, 'q' => 'string', 'from_id' => InputUser, 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset_id' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, 'hash' => [int, int], ]); +$messages.Messages = $MadelineProto->messages->search(['peer' => InputPeer, 'q' => 'string', 'from_id' => InputUser, 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset_id' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, 'hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.search({peer=InputPeer, q='string', from_id=InputUser, filter=MessagesFilter, min_date=int, max_date=int, offset_id=int, add_offset=int, limit=int, max_id=int, min_id=int, hash={int}, }) +messages.Messages = messages.search({peer=InputPeer, q='string', from_id=InputUser, filter=MessagesFilter, min_date=int, max_date=int, offset_id=int, add_offset=int, limit=int, max_id=int, min_id=int, hash={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v100/methods/messages.searchGifs.md b/old_docs/API_docs_v100/methods/messages.searchGifs.md index 851371d7..193a0cd4 100644 --- a/old_docs/API_docs_v100/methods/messages.searchGifs.md +++ b/old_docs/API_docs_v100/methods/messages.searchGifs.md @@ -17,7 +17,7 @@ Search for GIFs |offset|[int](../types/int.md) | Offset for [pagination »](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_FoundGifs](../types/messages_FoundGifs.md) +### Return type: [messages.FoundGifs](../types/messages.FoundGifs.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_FoundGifs = $MadelineProto->messages->searchGifs(['q' => 'string', 'offset' => int, ]); +$messages.FoundGifs = $MadelineProto->messages->searchGifs(['q' => 'string', 'offset' => int, ]); ``` Or, if you're into Lua: ```lua -messages_FoundGifs = messages.searchGifs({q='string', offset=int, }) +messages.FoundGifs = messages.searchGifs({q='string', offset=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v100/methods/messages.searchGlobal.md b/old_docs/API_docs_v100/methods/messages.searchGlobal.md index 44c64e22..aa7dbbc9 100644 --- a/old_docs/API_docs_v100/methods/messages.searchGlobal.md +++ b/old_docs/API_docs_v100/methods/messages.searchGlobal.md @@ -20,7 +20,7 @@ Search for messages and peers globally |limit|[int](../types/int.md) | [Offsets for pagination, for more info click here](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **NO** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->searchGlobal(['q' => 'string', 'offset_rate' => int, 'offset_peer' => InputPeer, 'offset_id' => int, 'limit' => int, ]); +$messages.Messages = $MadelineProto->messages->searchGlobal(['q' => 'string', 'offset_rate' => int, 'offset_peer' => InputPeer, 'offset_id' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.searchGlobal({q='string', offset_rate=int, offset_peer=InputPeer, offset_id=int, limit=int, }) +messages.Messages = messages.searchGlobal({q='string', offset_rate=int, offset_peer=InputPeer, offset_id=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v100/methods/messages.searchStickerSets.md b/old_docs/API_docs_v100/methods/messages.searchStickerSets.md index 1759fbc0..a8924f3d 100644 --- a/old_docs/API_docs_v100/methods/messages.searchStickerSets.md +++ b/old_docs/API_docs_v100/methods/messages.searchStickerSets.md @@ -18,7 +18,7 @@ Search for stickersets |hash|Array of [int](../types/int.md) | The IDs of stickersets you already fetched | Optional| -### Return type: [messages\_FoundStickerSets](../types/messages_FoundStickerSets.md) +### Return type: [messages.FoundStickerSets](../types/messages.FoundStickerSets.md) ### Can bots use this method: **NO** @@ -35,12 +35,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_FoundStickerSets = $MadelineProto->messages->searchStickerSets(['exclude_featured' => Bool, 'q' => 'string', 'hash' => [int, int], ]); +$messages.FoundStickerSets = $MadelineProto->messages->searchStickerSets(['exclude_featured' => Bool, 'q' => 'string', 'hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_FoundStickerSets = messages.searchStickerSets({exclude_featured=Bool, q='string', hash={int}, }) +messages.FoundStickerSets = messages.searchStickerSets({exclude_featured=Bool, q='string', hash={int}, }) ``` diff --git a/old_docs/API_docs_v100/methods/messages.sendEncrypted.md b/old_docs/API_docs_v100/methods/messages.sendEncrypted.md index 47b5ef29..6a68b563 100644 --- a/old_docs/API_docs_v100/methods/messages.sendEncrypted.md +++ b/old_docs/API_docs_v100/methods/messages.sendEncrypted.md @@ -14,10 +14,10 @@ Sends a text message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|message|[DecryptedMessage](../types/DecryptedMessage.md) | The message to send | Yes| +|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key that was created during chat initialization | Yes| -### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ### Can bots use this method: **NO** @@ -34,21 +34,15 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncrypted(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); +$messages.SentEncryptedMessage = $MadelineProto->messages->sendEncrypted(['peer' => InputEncryptedChat, 'data' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -messages_SentEncryptedMessage = messages.sendEncrypted({peer=InputEncryptedChat, message=DecryptedMessage, }) +messages.SentEncryptedMessage = messages.sendEncrypted({peer=InputEncryptedChat, data='bytes', }) ``` - -## Return value - -If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) will be returned instead. - - ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v100/methods/messages.sendEncryptedFile.md b/old_docs/API_docs_v100/methods/messages.sendEncryptedFile.md index 4e0f7b7f..87185ba4 100644 --- a/old_docs/API_docs_v100/methods/messages.sendEncryptedFile.md +++ b/old_docs/API_docs_v100/methods/messages.sendEncryptedFile.md @@ -14,11 +14,11 @@ Sends a message with a file attachment to a secret chat | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|message|[DecryptedMessage](../types/DecryptedMessage.md) | The message with the file | Yes| +|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| |file|[File path or InputEncryptedFile](../types/InputEncryptedFile.md) | File attachment for the secret chat | Optional| -### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ### Can bots use this method: **NO** @@ -35,21 +35,15 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedFile(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, 'file' => InputEncryptedFile, ]); +$messages.SentEncryptedMessage = $MadelineProto->messages->sendEncryptedFile(['peer' => InputEncryptedChat, 'data' => 'bytes', 'file' => InputEncryptedFile, ]); ``` Or, if you're into Lua: ```lua -messages_SentEncryptedMessage = messages.sendEncryptedFile({peer=InputEncryptedChat, message=DecryptedMessage, file=InputEncryptedFile, }) +messages.SentEncryptedMessage = messages.sendEncryptedFile({peer=InputEncryptedChat, data='bytes', file=InputEncryptedFile, }) ``` - -## Return value - -If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) will be returned instead. - - ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v100/methods/messages.sendEncryptedService.md b/old_docs/API_docs_v100/methods/messages.sendEncryptedService.md index 86925ae3..38171272 100644 --- a/old_docs/API_docs_v100/methods/messages.sendEncryptedService.md +++ b/old_docs/API_docs_v100/methods/messages.sendEncryptedService.md @@ -14,10 +14,10 @@ Sends a service message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|message|[DecryptedMessage](../types/DecryptedMessage.md) | The service message | Yes| +|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| -### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ### Can bots use this method: **NO** @@ -34,21 +34,15 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedService(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); +$messages.SentEncryptedMessage = $MadelineProto->messages->sendEncryptedService(['peer' => InputEncryptedChat, 'data' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -messages_SentEncryptedMessage = messages.sendEncryptedService({peer=InputEncryptedChat, message=DecryptedMessage, }) +messages.SentEncryptedMessage = messages.sendEncryptedService({peer=InputEncryptedChat, data='bytes', }) ``` - -## Return value - -If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) will be returned instead. - - ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v100/methods/payments.getPaymentForm.md b/old_docs/API_docs_v100/methods/payments.getPaymentForm.md index 3a171a05..da173f14 100644 --- a/old_docs/API_docs_v100/methods/payments.getPaymentForm.md +++ b/old_docs/API_docs_v100/methods/payments.getPaymentForm.md @@ -16,7 +16,7 @@ Get a payment form |msg\_id|[int](../types/int.md) | Message ID of payment form | Yes| -### Return type: [payments\_PaymentForm](../types/payments_PaymentForm.md) +### Return type: [payments.PaymentForm](../types/payments.PaymentForm.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$payments_PaymentForm = $MadelineProto->payments->getPaymentForm(['msg_id' => int, ]); +$payments.PaymentForm = $MadelineProto->payments->getPaymentForm(['msg_id' => int, ]); ``` Or, if you're into Lua: ```lua -payments_PaymentForm = payments.getPaymentForm({msg_id=int, }) +payments.PaymentForm = payments.getPaymentForm({msg_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v100/methods/payments.getPaymentReceipt.md b/old_docs/API_docs_v100/methods/payments.getPaymentReceipt.md index 46d2267c..16e41367 100644 --- a/old_docs/API_docs_v100/methods/payments.getPaymentReceipt.md +++ b/old_docs/API_docs_v100/methods/payments.getPaymentReceipt.md @@ -16,7 +16,7 @@ Get payment receipt |msg\_id|[int](../types/int.md) | Message ID of receipt | Yes| -### Return type: [payments\_PaymentReceipt](../types/payments_PaymentReceipt.md) +### Return type: [payments.PaymentReceipt](../types/payments.PaymentReceipt.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$payments_PaymentReceipt = $MadelineProto->payments->getPaymentReceipt(['msg_id' => int, ]); +$payments.PaymentReceipt = $MadelineProto->payments->getPaymentReceipt(['msg_id' => int, ]); ``` Or, if you're into Lua: ```lua -payments_PaymentReceipt = payments.getPaymentReceipt({msg_id=int, }) +payments.PaymentReceipt = payments.getPaymentReceipt({msg_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v100/methods/payments.getSavedInfo.md b/old_docs/API_docs_v100/methods/payments.getSavedInfo.md index dc9c9b98..fe2c16ec 100644 --- a/old_docs/API_docs_v100/methods/payments.getSavedInfo.md +++ b/old_docs/API_docs_v100/methods/payments.getSavedInfo.md @@ -11,7 +11,7 @@ Get saved payment information -### Return type: [payments\_SavedInfo](../types/payments_SavedInfo.md) +### Return type: [payments.SavedInfo](../types/payments.SavedInfo.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$payments_SavedInfo = $MadelineProto->payments->getSavedInfo(); +$payments.SavedInfo = $MadelineProto->payments->getSavedInfo(); ``` Or, if you're into Lua: ```lua -payments_SavedInfo = payments.getSavedInfo({}) +payments.SavedInfo = payments.getSavedInfo({}) ``` diff --git a/old_docs/API_docs_v100/methods/payments.sendPaymentForm.md b/old_docs/API_docs_v100/methods/payments.sendPaymentForm.md index 8c478b92..de154e7f 100644 --- a/old_docs/API_docs_v100/methods/payments.sendPaymentForm.md +++ b/old_docs/API_docs_v100/methods/payments.sendPaymentForm.md @@ -19,7 +19,7 @@ Send compiled payment form |credentials|[InputPaymentCredentials](../types/InputPaymentCredentials.md) | Payment credentials | Yes| -### Return type: [payments\_PaymentResult](../types/payments_PaymentResult.md) +### Return type: [payments.PaymentResult](../types/payments.PaymentResult.md) ### Can bots use this method: **NO** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$payments_PaymentResult = $MadelineProto->payments->sendPaymentForm(['msg_id' => int, 'requested_info_id' => 'string', 'shipping_option_id' => 'string', 'credentials' => InputPaymentCredentials, ]); +$payments.PaymentResult = $MadelineProto->payments->sendPaymentForm(['msg_id' => int, 'requested_info_id' => 'string', 'shipping_option_id' => 'string', 'credentials' => InputPaymentCredentials, ]); ``` Or, if you're into Lua: ```lua -payments_PaymentResult = payments.sendPaymentForm({msg_id=int, requested_info_id='string', shipping_option_id='string', credentials=InputPaymentCredentials, }) +payments.PaymentResult = payments.sendPaymentForm({msg_id=int, requested_info_id='string', shipping_option_id='string', credentials=InputPaymentCredentials, }) ``` ### Errors diff --git a/old_docs/API_docs_v100/methods/payments.validateRequestedInfo.md b/old_docs/API_docs_v100/methods/payments.validateRequestedInfo.md index d6364a02..ce22cfe8 100644 --- a/old_docs/API_docs_v100/methods/payments.validateRequestedInfo.md +++ b/old_docs/API_docs_v100/methods/payments.validateRequestedInfo.md @@ -18,7 +18,7 @@ Submit requested order information for validation |info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Requested order information | Yes| -### Return type: [payments\_ValidatedRequestedInfo](../types/payments_ValidatedRequestedInfo.md) +### Return type: [payments.ValidatedRequestedInfo](../types/payments.ValidatedRequestedInfo.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$payments_ValidatedRequestedInfo = $MadelineProto->payments->validateRequestedInfo(['save' => Bool, 'msg_id' => int, 'info' => PaymentRequestedInfo, ]); +$payments.ValidatedRequestedInfo = $MadelineProto->payments->validateRequestedInfo(['save' => Bool, 'msg_id' => int, 'info' => PaymentRequestedInfo, ]); ``` Or, if you're into Lua: ```lua -payments_ValidatedRequestedInfo = payments.validateRequestedInfo({save=Bool, msg_id=int, info=PaymentRequestedInfo, }) +payments.ValidatedRequestedInfo = payments.validateRequestedInfo({save=Bool, msg_id=int, info=PaymentRequestedInfo, }) ``` ### Errors diff --git a/old_docs/API_docs_v100/methods/phone.acceptCall.md b/old_docs/API_docs_v100/methods/phone.acceptCall.md index f5c58f01..6b9185aa 100644 --- a/old_docs/API_docs_v100/methods/phone.acceptCall.md +++ b/old_docs/API_docs_v100/methods/phone.acceptCall.md @@ -18,7 +18,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz#calls fo |protocol|[PhoneCallProtocol](../types/PhoneCallProtocol.md) | You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls | Yes| -### Return type: [phone\_PhoneCall](../types/phone_PhoneCall.md) +### Return type: [phone.PhoneCall](../types/phone.PhoneCall.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$phone_PhoneCall = $MadelineProto->phone->acceptCall(['peer' => InputPhoneCall, 'g_b' => 'bytes', 'protocol' => PhoneCallProtocol, ]); +$phone.PhoneCall = $MadelineProto->phone->acceptCall(['peer' => InputPhoneCall, 'g_b' => 'bytes', 'protocol' => PhoneCallProtocol, ]); ``` Or, if you're into Lua: ```lua -phone_PhoneCall = phone.acceptCall({peer=InputPhoneCall, g_b='bytes', protocol=PhoneCallProtocol, }) +phone.PhoneCall = phone.acceptCall({peer=InputPhoneCall, g_b='bytes', protocol=PhoneCallProtocol, }) ``` ### Errors diff --git a/old_docs/API_docs_v100/methods/phone.confirmCall.md b/old_docs/API_docs_v100/methods/phone.confirmCall.md index 468307cc..a52d1f9c 100644 --- a/old_docs/API_docs_v100/methods/phone.confirmCall.md +++ b/old_docs/API_docs_v100/methods/phone.confirmCall.md @@ -19,7 +19,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz#calls fo |protocol|[PhoneCallProtocol](../types/PhoneCallProtocol.md) | You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls | Yes| -### Return type: [phone\_PhoneCall](../types/phone_PhoneCall.md) +### Return type: [phone.PhoneCall](../types/phone.PhoneCall.md) ### Can bots use this method: **NO** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$phone_PhoneCall = $MadelineProto->phone->confirmCall(['peer' => InputPhoneCall, 'g_a' => 'bytes', 'key_fingerprint' => long, 'protocol' => PhoneCallProtocol, ]); +$phone.PhoneCall = $MadelineProto->phone->confirmCall(['peer' => InputPhoneCall, 'g_a' => 'bytes', 'key_fingerprint' => long, 'protocol' => PhoneCallProtocol, ]); ``` Or, if you're into Lua: ```lua -phone_PhoneCall = phone.confirmCall({peer=InputPhoneCall, g_a='bytes', key_fingerprint=long, protocol=PhoneCallProtocol, }) +phone.PhoneCall = phone.confirmCall({peer=InputPhoneCall, g_a='bytes', key_fingerprint=long, protocol=PhoneCallProtocol, }) ``` ### Errors diff --git a/old_docs/API_docs_v100/methods/phone.requestCall.md b/old_docs/API_docs_v100/methods/phone.requestCall.md index e3894214..608f562f 100644 --- a/old_docs/API_docs_v100/methods/phone.requestCall.md +++ b/old_docs/API_docs_v100/methods/phone.requestCall.md @@ -19,7 +19,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz#calls fo |protocol|[PhoneCallProtocol](../types/PhoneCallProtocol.md) | You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls | Yes| -### Return type: [phone\_PhoneCall](../types/phone_PhoneCall.md) +### Return type: [phone.PhoneCall](../types/phone.PhoneCall.md) ### Can bots use this method: **NO** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$phone_PhoneCall = $MadelineProto->phone->requestCall(['video' => Bool, 'user_id' => InputUser, 'g_a_hash' => 'bytes', 'protocol' => PhoneCallProtocol, ]); +$phone.PhoneCall = $MadelineProto->phone->requestCall(['video' => Bool, 'user_id' => InputUser, 'g_a_hash' => 'bytes', 'protocol' => PhoneCallProtocol, ]); ``` Or, if you're into Lua: ```lua -phone_PhoneCall = phone.requestCall({video=Bool, user_id=InputUser, g_a_hash='bytes', protocol=PhoneCallProtocol, }) +phone.PhoneCall = phone.requestCall({video=Bool, user_id=InputUser, g_a_hash='bytes', protocol=PhoneCallProtocol, }) ``` ### Errors diff --git a/old_docs/API_docs_v100/methods/photos.getUserPhotos.md b/old_docs/API_docs_v100/methods/photos.getUserPhotos.md index a1dec2ed..1f8d5c64 100644 --- a/old_docs/API_docs_v100/methods/photos.getUserPhotos.md +++ b/old_docs/API_docs_v100/methods/photos.getUserPhotos.md @@ -19,7 +19,7 @@ Returns the list of user photos. |limit|[int](../types/int.md) | Number of list elements to be returned | Yes| -### Return type: [photos\_Photos](../types/photos_Photos.md) +### Return type: [photos.Photos](../types/photos.Photos.md) ### Can bots use this method: **YES** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$photos_Photos = $MadelineProto->photos->getUserPhotos(['user_id' => InputUser, 'offset' => int, 'max_id' => long, 'limit' => int, ]); +$photos.Photos = $MadelineProto->photos->getUserPhotos(['user_id' => InputUser, 'offset' => int, 'max_id' => long, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -photos_Photos = photos.getUserPhotos({user_id=InputUser, offset=int, max_id=long, limit=int, }) +photos.Photos = photos.getUserPhotos({user_id=InputUser, offset=int, max_id=long, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v100/methods/photos.uploadProfilePhoto.md b/old_docs/API_docs_v100/methods/photos.uploadProfilePhoto.md index b6a01ee7..4de76a24 100644 --- a/old_docs/API_docs_v100/methods/photos.uploadProfilePhoto.md +++ b/old_docs/API_docs_v100/methods/photos.uploadProfilePhoto.md @@ -16,7 +16,7 @@ Updates current user profile photo. |file|[File path or InputFile](../types/InputFile.md) | File saved in parts by means of [upload.saveFilePart](../methods/upload.saveFilePart.md) method | Yes| -### Return type: [photos\_Photo](../types/photos_Photo.md) +### Return type: [photos.Photo](../types/photos.Photo.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$photos_Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, ]); +$photos.Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, ]); ``` Or, if you're into Lua: ```lua -photos_Photo = photos.uploadProfilePhoto({file=InputFile, }) +photos.Photo = photos.uploadProfilePhoto({file=InputFile, }) ``` ### Errors diff --git a/old_docs/API_docs_v100/methods/stickers.addStickerToSet.md b/old_docs/API_docs_v100/methods/stickers.addStickerToSet.md index 727d3f27..e8392355 100644 --- a/old_docs/API_docs_v100/methods/stickers.addStickerToSet.md +++ b/old_docs/API_docs_v100/methods/stickers.addStickerToSet.md @@ -17,7 +17,7 @@ Add a sticker to a stickerset, bots only. The sticker set must have been created |sticker|[InputStickerSetItem](../types/InputStickerSetItem.md) | The sticker | Yes| -### Return type: [messages\_StickerSet](../types/messages_StickerSet.md) +### Return type: [messages.StickerSet](../types/messages.StickerSet.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StickerSet = $MadelineProto->stickers->addStickerToSet(['stickerset' => InputStickerSet, 'sticker' => InputStickerSetItem, ]); +$messages.StickerSet = $MadelineProto->stickers->addStickerToSet(['stickerset' => InputStickerSet, 'sticker' => InputStickerSetItem, ]); ``` Or, if you're into Lua: ```lua -messages_StickerSet = stickers.addStickerToSet({stickerset=InputStickerSet, sticker=InputStickerSetItem, }) +messages.StickerSet = stickers.addStickerToSet({stickerset=InputStickerSet, sticker=InputStickerSetItem, }) ``` ### Errors diff --git a/old_docs/API_docs_v100/methods/stickers.changeStickerPosition.md b/old_docs/API_docs_v100/methods/stickers.changeStickerPosition.md index ed390f21..e1d8ab5e 100644 --- a/old_docs/API_docs_v100/methods/stickers.changeStickerPosition.md +++ b/old_docs/API_docs_v100/methods/stickers.changeStickerPosition.md @@ -17,7 +17,7 @@ Changes the absolute position of a sticker in the set to which it belongs; for b |position|[int](../types/int.md) | The new position of the sticker, zero-based | Yes| -### Return type: [messages\_StickerSet](../types/messages_StickerSet.md) +### Return type: [messages.StickerSet](../types/messages.StickerSet.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StickerSet = $MadelineProto->stickers->changeStickerPosition(['sticker' => InputDocument, 'position' => int, ]); +$messages.StickerSet = $MadelineProto->stickers->changeStickerPosition(['sticker' => InputDocument, 'position' => int, ]); ``` Or, if you're into Lua: ```lua -messages_StickerSet = stickers.changeStickerPosition({sticker=InputDocument, position=int, }) +messages.StickerSet = stickers.changeStickerPosition({sticker=InputDocument, position=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v100/methods/stickers.createStickerSet.md b/old_docs/API_docs_v100/methods/stickers.createStickerSet.md index 5a6ef396..7eeeb48f 100644 --- a/old_docs/API_docs_v100/methods/stickers.createStickerSet.md +++ b/old_docs/API_docs_v100/methods/stickers.createStickerSet.md @@ -20,7 +20,7 @@ Create a stickerset, bots only. |stickers|Array of [InputStickerSetItem](../types/InputStickerSetItem.md) | The stickers to add | Yes| -### Return type: [messages\_StickerSet](../types/messages_StickerSet.md) +### Return type: [messages.StickerSet](../types/messages.StickerSet.md) ### Can bots use this method: **YES** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StickerSet = $MadelineProto->stickers->createStickerSet(['masks' => Bool, 'user_id' => InputUser, 'title' => 'string', 'short_name' => 'string', 'stickers' => [InputStickerSetItem, InputStickerSetItem], ]); +$messages.StickerSet = $MadelineProto->stickers->createStickerSet(['masks' => Bool, 'user_id' => InputUser, 'title' => 'string', 'short_name' => 'string', 'stickers' => [InputStickerSetItem, InputStickerSetItem], ]); ``` Or, if you're into Lua: ```lua -messages_StickerSet = stickers.createStickerSet({masks=Bool, user_id=InputUser, title='string', short_name='string', stickers={InputStickerSetItem}, }) +messages.StickerSet = stickers.createStickerSet({masks=Bool, user_id=InputUser, title='string', short_name='string', stickers={InputStickerSetItem}, }) ``` ### Errors diff --git a/old_docs/API_docs_v100/methods/stickers.removeStickerFromSet.md b/old_docs/API_docs_v100/methods/stickers.removeStickerFromSet.md index 33f677b3..aa4927ca 100644 --- a/old_docs/API_docs_v100/methods/stickers.removeStickerFromSet.md +++ b/old_docs/API_docs_v100/methods/stickers.removeStickerFromSet.md @@ -16,7 +16,7 @@ Remove a sticker from the set where it belongs, bots only. The sticker set must |sticker|[MessageMedia, Update, Message or InputDocument](../types/InputDocument.md) | The sticker to remove | Optional| -### Return type: [messages\_StickerSet](../types/messages_StickerSet.md) +### Return type: [messages.StickerSet](../types/messages.StickerSet.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StickerSet = $MadelineProto->stickers->removeStickerFromSet(['sticker' => InputDocument, ]); +$messages.StickerSet = $MadelineProto->stickers->removeStickerFromSet(['sticker' => InputDocument, ]); ``` Or, if you're into Lua: ```lua -messages_StickerSet = stickers.removeStickerFromSet({sticker=InputDocument, }) +messages.StickerSet = stickers.removeStickerFromSet({sticker=InputDocument, }) ``` ### Errors diff --git a/old_docs/API_docs_v100/methods/updates.getChannelDifference.md b/old_docs/API_docs_v100/methods/updates.getChannelDifference.md index 5675cd33..08df3395 100644 --- a/old_docs/API_docs_v100/methods/updates.getChannelDifference.md +++ b/old_docs/API_docs_v100/methods/updates.getChannelDifference.md @@ -20,7 +20,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz for more |limit|[int](../types/int.md) | You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates | Yes| -### Return type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) +### Return type: [updates.ChannelDifference](../types/updates.ChannelDifference.md) ### Can bots use this method: **YES** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$updates_ChannelDifference = $MadelineProto->updates->getChannelDifference(['force' => Bool, 'channel' => InputChannel, 'filter' => ChannelMessagesFilter, 'pts' => int, 'limit' => int, ]); +$updates.ChannelDifference = $MadelineProto->updates->getChannelDifference(['force' => Bool, 'channel' => InputChannel, 'filter' => ChannelMessagesFilter, 'pts' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -updates_ChannelDifference = updates.getChannelDifference({force=Bool, channel=InputChannel, filter=ChannelMessagesFilter, pts=int, limit=int, }) +updates.ChannelDifference = updates.getChannelDifference({force=Bool, channel=InputChannel, filter=ChannelMessagesFilter, pts=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v100/methods/updates.getDifference.md b/old_docs/API_docs_v100/methods/updates.getDifference.md index bcfac4e2..b3796a10 100644 --- a/old_docs/API_docs_v100/methods/updates.getDifference.md +++ b/old_docs/API_docs_v100/methods/updates.getDifference.md @@ -19,7 +19,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz for more |qts|[int](../types/int.md) | You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates | Yes| -### Return type: [updates\_Difference](../types/updates_Difference.md) +### Return type: [updates.Difference](../types/updates.Difference.md) ### Can bots use this method: **YES** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$updates_Difference = $MadelineProto->updates->getDifference(['pts' => int, 'pts_total_limit' => int, 'date' => int, 'qts' => int, ]); +$updates.Difference = $MadelineProto->updates->getDifference(['pts' => int, 'pts_total_limit' => int, 'date' => int, 'qts' => int, ]); ``` Or, if you're into Lua: ```lua -updates_Difference = updates.getDifference({pts=int, pts_total_limit=int, date=int, qts=int, }) +updates.Difference = updates.getDifference({pts=int, pts_total_limit=int, date=int, qts=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v100/methods/updates.getState.md b/old_docs/API_docs_v100/methods/updates.getState.md index c591408a..9a7d2f34 100644 --- a/old_docs/API_docs_v100/methods/updates.getState.md +++ b/old_docs/API_docs_v100/methods/updates.getState.md @@ -11,7 +11,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz for more -### Return type: [updates\_State](../types/updates_State.md) +### Return type: [updates.State](../types/updates.State.md) ### Can bots use this method: **YES** @@ -28,13 +28,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$updates_State = $MadelineProto->updates->getState(); +$updates.State = $MadelineProto->updates->getState(); ``` Or, if you're into Lua: ```lua -updates_State = updates.getState({}) +updates.State = updates.getState({}) ``` ### Errors diff --git a/old_docs/API_docs_v100/methods/upload.getCdnFile.md b/old_docs/API_docs_v100/methods/upload.getCdnFile.md index a3c928b2..67b2e84e 100644 --- a/old_docs/API_docs_v100/methods/upload.getCdnFile.md +++ b/old_docs/API_docs_v100/methods/upload.getCdnFile.md @@ -18,7 +18,7 @@ You cannot use this method directly, use the upload, downloadToStream, downloadT |limit|[int](../types/int.md) | You cannot use this method directly, use the upload, downloadToStream, downloadToFile, downloadToDir methods instead; see https://docs.madelineproto.xyz for more info | Yes| -### Return type: [upload\_CdnFile](../types/upload_CdnFile.md) +### Return type: [upload.CdnFile](../types/upload.CdnFile.md) ### Can bots use this method: **NO** @@ -35,12 +35,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$upload_CdnFile = $MadelineProto->upload->getCdnFile(['file_token' => 'bytes', 'offset' => int, 'limit' => int, ]); +$upload.CdnFile = $MadelineProto->upload->getCdnFile(['file_token' => 'bytes', 'offset' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -upload_CdnFile = upload.getCdnFile({file_token='bytes', offset=int, limit=int, }) +upload.CdnFile = upload.getCdnFile({file_token='bytes', offset=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v100/methods/upload.getFile.md b/old_docs/API_docs_v100/methods/upload.getFile.md index 8aba03d4..ab9f4fe2 100644 --- a/old_docs/API_docs_v100/methods/upload.getFile.md +++ b/old_docs/API_docs_v100/methods/upload.getFile.md @@ -18,7 +18,7 @@ You cannot use this method directly, use the upload, downloadToStream, downloadT |limit|[int](../types/int.md) | You cannot use this method directly, use the upload, downloadToStream, downloadToFile, downloadToDir methods instead; see https://docs.madelineproto.xyz for more info | Yes| -### Return type: [upload\_File](../types/upload_File.md) +### Return type: [upload.File](../types/upload.File.md) ### Can bots use this method: **YES** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$upload_File = $MadelineProto->upload->getFile(['location' => InputFileLocation, 'offset' => int, 'limit' => int, ]); +$upload.File = $MadelineProto->upload->getFile(['location' => InputFileLocation, 'offset' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -upload_File = upload.getFile({location=InputFileLocation, offset=int, limit=int, }) +upload.File = upload.getFile({location=InputFileLocation, offset=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v100/methods/upload.getWebFile.md b/old_docs/API_docs_v100/methods/upload.getWebFile.md index 32f6b322..60f1b8c1 100644 --- a/old_docs/API_docs_v100/methods/upload.getWebFile.md +++ b/old_docs/API_docs_v100/methods/upload.getWebFile.md @@ -18,7 +18,7 @@ Returns content of an HTTP file or a part, by proxying the request through teleg |limit|[int](../types/int.md) | Number of bytes to be returned | Yes| -### Return type: [upload\_WebFile](../types/upload_WebFile.md) +### Return type: [upload.WebFile](../types/upload.WebFile.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$upload_WebFile = $MadelineProto->upload->getWebFile(['location' => InputWebFileLocation, 'offset' => int, 'limit' => int, ]); +$upload.WebFile = $MadelineProto->upload->getWebFile(['location' => InputWebFileLocation, 'offset' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -upload_WebFile = upload.getWebFile({location=InputWebFileLocation, offset=int, limit=int, }) +upload.WebFile = upload.getWebFile({location=InputWebFileLocation, offset=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v100/types/AccountDaysTTL.md b/old_docs/API_docs_v100/types/AccountDaysTTL.md index 12a10190..f3494aac 100644 --- a/old_docs/API_docs_v100/types/AccountDaysTTL.md +++ b/old_docs/API_docs_v100/types/AccountDaysTTL.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->account->getAccountTTL](../methods/account_getAccountTTL.md) +[$MadelineProto->account->getAccountTTL](../methods/account.getAccountTTL.md) diff --git a/old_docs/API_docs_v100/types/CdnConfig.md b/old_docs/API_docs_v100/types/CdnConfig.md index fbfe01c3..0b0fb5be 100644 --- a/old_docs/API_docs_v100/types/CdnConfig.md +++ b/old_docs/API_docs_v100/types/CdnConfig.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->help->getCdnConfig](../methods/help_getCdnConfig.md) +[$MadelineProto->help->getCdnConfig](../methods/help.getCdnConfig.md) diff --git a/old_docs/API_docs_v100/types/ChatInvite.md b/old_docs/API_docs_v100/types/ChatInvite.md index 5022a2f0..9fafabb4 100644 --- a/old_docs/API_docs_v100/types/ChatInvite.md +++ b/old_docs/API_docs_v100/types/ChatInvite.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->checkChatInvite](../methods/messages_checkChatInvite.md) +[$MadelineProto->messages->checkChatInvite](../methods/messages.checkChatInvite.md) diff --git a/old_docs/API_docs_v100/types/ChatOnlines.md b/old_docs/API_docs_v100/types/ChatOnlines.md index 5faf4a6e..e5646dd6 100644 --- a/old_docs/API_docs_v100/types/ChatOnlines.md +++ b/old_docs/API_docs_v100/types/ChatOnlines.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getOnlines](../methods/messages_getOnlines.md) +[$MadelineProto->messages->getOnlines](../methods/messages.getOnlines.md) diff --git a/old_docs/API_docs_v100/types/Config.md b/old_docs/API_docs_v100/types/Config.md index 0f7fbe70..3a23b7b7 100644 --- a/old_docs/API_docs_v100/types/Config.md +++ b/old_docs/API_docs_v100/types/Config.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->help->getConfig](../methods/help_getConfig.md) +[$MadelineProto->help->getConfig](../methods/help.getConfig.md) diff --git a/old_docs/API_docs_v100/types/ContactStatus.md b/old_docs/API_docs_v100/types/ContactStatus.md index c5f5d658..30aee6e2 100644 --- a/old_docs/API_docs_v100/types/ContactStatus.md +++ b/old_docs/API_docs_v100/types/ContactStatus.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->contacts->getStatuses](../methods/contacts_getStatuses.md) +[$MadelineProto->contacts->getStatuses](../methods/contacts.getStatuses.md) diff --git a/old_docs/API_docs_v100/types/DialogPeer.md b/old_docs/API_docs_v100/types/DialogPeer.md index 1f86eb1c..18b145b0 100644 --- a/old_docs/API_docs_v100/types/DialogPeer.md +++ b/old_docs/API_docs_v100/types/DialogPeer.md @@ -42,7 +42,7 @@ A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDia ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getDialogUnreadMarks](../methods/messages_getDialogUnreadMarks.md) +[$MadelineProto->messages->getDialogUnreadMarks](../methods/messages.getDialogUnreadMarks.md) diff --git a/old_docs/API_docs_v100/types/Document.md b/old_docs/API_docs_v100/types/Document.md index f68b7aa4..2cb85623 100644 --- a/old_docs/API_docs_v100/types/Document.md +++ b/old_docs/API_docs_v100/types/Document.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getDocumentByHash](../methods/messages_getDocumentByHash.md) +[$MadelineProto->messages->getDocumentByHash](../methods/messages.getDocumentByHash.md) diff --git a/old_docs/API_docs_v100/types/EmojiKeywordsDifference.md b/old_docs/API_docs_v100/types/EmojiKeywordsDifference.md index 8dc7d309..1282c000 100644 --- a/old_docs/API_docs_v100/types/EmojiKeywordsDifference.md +++ b/old_docs/API_docs_v100/types/EmojiKeywordsDifference.md @@ -16,9 +16,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getEmojiKeywords](../methods/messages_getEmojiKeywords.md) +[$MadelineProto->messages->getEmojiKeywords](../methods/messages.getEmojiKeywords.md) -[$MadelineProto->messages->getEmojiKeywordsDifference](../methods/messages_getEmojiKeywordsDifference.md) +[$MadelineProto->messages->getEmojiKeywordsDifference](../methods/messages.getEmojiKeywordsDifference.md) diff --git a/old_docs/API_docs_v100/types/EmojiLanguage.md b/old_docs/API_docs_v100/types/EmojiLanguage.md index 1d5f1214..5ff98ac3 100644 --- a/old_docs/API_docs_v100/types/EmojiLanguage.md +++ b/old_docs/API_docs_v100/types/EmojiLanguage.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getEmojiKeywordsLanguages](../methods/messages_getEmojiKeywordsLanguages.md) +[$MadelineProto->messages->getEmojiKeywordsLanguages](../methods/messages.getEmojiKeywordsLanguages.md) diff --git a/old_docs/API_docs_v100/types/EmojiURL.md b/old_docs/API_docs_v100/types/EmojiURL.md index f9c636d0..c2fc469d 100644 --- a/old_docs/API_docs_v100/types/EmojiURL.md +++ b/old_docs/API_docs_v100/types/EmojiURL.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getEmojiURL](../methods/messages_getEmojiURL.md) +[$MadelineProto->messages->getEmojiURL](../methods/messages.getEmojiURL.md) diff --git a/old_docs/API_docs_v100/types/EncryptedChat.md b/old_docs/API_docs_v100/types/EncryptedChat.md index fd2277f6..19cf52b0 100644 --- a/old_docs/API_docs_v100/types/EncryptedChat.md +++ b/old_docs/API_docs_v100/types/EncryptedChat.md @@ -24,9 +24,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->requestEncryption](../methods/messages_requestEncryption.md) +[$MadelineProto->messages->requestEncryption](../methods/messages.requestEncryption.md) -[$MadelineProto->messages->acceptEncryption](../methods/messages_acceptEncryption.md) +[$MadelineProto->messages->acceptEncryption](../methods/messages.acceptEncryption.md) diff --git a/old_docs/API_docs_v100/types/EncryptedFile.md b/old_docs/API_docs_v100/types/EncryptedFile.md index a26d40bb..8ecf8e9d 100644 --- a/old_docs/API_docs_v100/types/EncryptedFile.md +++ b/old_docs/API_docs_v100/types/EncryptedFile.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->uploadEncryptedFile](../methods/messages_uploadEncryptedFile.md) +[$MadelineProto->messages->uploadEncryptedFile](../methods/messages.uploadEncryptedFile.md) diff --git a/old_docs/API_docs_v100/types/ExportedChatInvite.md b/old_docs/API_docs_v100/types/ExportedChatInvite.md index 16a273d1..f5a43739 100644 --- a/old_docs/API_docs_v100/types/ExportedChatInvite.md +++ b/old_docs/API_docs_v100/types/ExportedChatInvite.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->exportChatInvite](../methods/messages_exportChatInvite.md) +[$MadelineProto->messages->exportChatInvite](../methods/messages.exportChatInvite.md) diff --git a/old_docs/API_docs_v100/types/ExportedMessageLink.md b/old_docs/API_docs_v100/types/ExportedMessageLink.md index eb2400f6..948e9c90 100644 --- a/old_docs/API_docs_v100/types/ExportedMessageLink.md +++ b/old_docs/API_docs_v100/types/ExportedMessageLink.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->channels->exportMessageLink](../methods/channels_exportMessageLink.md) +[$MadelineProto->channels->exportMessageLink](../methods/channels.exportMessageLink.md) diff --git a/old_docs/API_docs_v100/types/FileHash.md b/old_docs/API_docs_v100/types/FileHash.md index 3201d7e0..a908fb9b 100644 --- a/old_docs/API_docs_v100/types/FileHash.md +++ b/old_docs/API_docs_v100/types/FileHash.md @@ -16,11 +16,11 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->upload->reuploadCdnFile](../methods/upload_reuploadCdnFile.md) +[$MadelineProto->upload->reuploadCdnFile](../methods/upload.reuploadCdnFile.md) -[$MadelineProto->upload->getCdnFileHashes](../methods/upload_getCdnFileHashes.md) +[$MadelineProto->upload->getCdnFileHashes](../methods/upload.getCdnFileHashes.md) -[$MadelineProto->upload->getFileHashes](../methods/upload_getFileHashes.md) +[$MadelineProto->upload->getFileHashes](../methods/upload.getFileHashes.md) diff --git a/old_docs/API_docs_v100/types/JSONValue.md b/old_docs/API_docs_v100/types/JSONValue.md index eed45486..83527ab0 100644 --- a/old_docs/API_docs_v100/types/JSONValue.md +++ b/old_docs/API_docs_v100/types/JSONValue.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->help->getAppConfig](../methods/help_getAppConfig.md) +[$MadelineProto->help->getAppConfig](../methods/help.getAppConfig.md) diff --git a/old_docs/API_docs_v100/types/LangPackDifference.md b/old_docs/API_docs_v100/types/LangPackDifference.md index fd9f41f2..e04125b8 100644 --- a/old_docs/API_docs_v100/types/LangPackDifference.md +++ b/old_docs/API_docs_v100/types/LangPackDifference.md @@ -16,9 +16,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->langpack->getLangPack](../methods/langpack_getLangPack.md) +[$MadelineProto->langpack->getLangPack](../methods/langpack.getLangPack.md) -[$MadelineProto->langpack->getDifference](../methods/langpack_getDifference.md) +[$MadelineProto->langpack->getDifference](../methods/langpack.getDifference.md) diff --git a/old_docs/API_docs_v100/types/LangPackLanguage.md b/old_docs/API_docs_v100/types/LangPackLanguage.md index f6559af9..74c7172d 100644 --- a/old_docs/API_docs_v100/types/LangPackLanguage.md +++ b/old_docs/API_docs_v100/types/LangPackLanguage.md @@ -16,9 +16,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->langpack->getLanguages](../methods/langpack_getLanguages.md) +[$MadelineProto->langpack->getLanguages](../methods/langpack.getLanguages.md) -[$MadelineProto->langpack->getLanguage](../methods/langpack_getLanguage.md) +[$MadelineProto->langpack->getLanguage](../methods/langpack.getLanguage.md) diff --git a/old_docs/API_docs_v100/types/LangPackString.md b/old_docs/API_docs_v100/types/LangPackString.md index f1a43dd9..15f9dc3d 100644 --- a/old_docs/API_docs_v100/types/LangPackString.md +++ b/old_docs/API_docs_v100/types/LangPackString.md @@ -20,7 +20,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->langpack->getStrings](../methods/langpack_getStrings.md) +[$MadelineProto->langpack->getStrings](../methods/langpack.getStrings.md) diff --git a/old_docs/API_docs_v100/types/MessageMedia.md b/old_docs/API_docs_v100/types/MessageMedia.md index 51aa795e..36602552 100644 --- a/old_docs/API_docs_v100/types/MessageMedia.md +++ b/old_docs/API_docs_v100/types/MessageMedia.md @@ -38,9 +38,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getWebPagePreview](../methods/messages_getWebPagePreview.md) +[$MadelineProto->messages->getWebPagePreview](../methods/messages.getWebPagePreview.md) -[$MadelineProto->messages->uploadMedia](../methods/messages_uploadMedia.md) +[$MadelineProto->messages->uploadMedia](../methods/messages.uploadMedia.md) diff --git a/old_docs/API_docs_v100/types/MessageRange.md b/old_docs/API_docs_v100/types/MessageRange.md index c93011aa..ffd65e90 100644 --- a/old_docs/API_docs_v100/types/MessageRange.md +++ b/old_docs/API_docs_v100/types/MessageRange.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getSplitRanges](../methods/messages_getSplitRanges.md) +[$MadelineProto->messages->getSplitRanges](../methods/messages.getSplitRanges.md) diff --git a/old_docs/API_docs_v100/types/NearestDc.md b/old_docs/API_docs_v100/types/NearestDc.md index 31f24377..296a4dff 100644 --- a/old_docs/API_docs_v100/types/NearestDc.md +++ b/old_docs/API_docs_v100/types/NearestDc.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->help->getNearestDc](../methods/help_getNearestDc.md) +[$MadelineProto->help->getNearestDc](../methods/help.getNearestDc.md) diff --git a/old_docs/API_docs_v100/types/PeerNotifySettings.md b/old_docs/API_docs_v100/types/PeerNotifySettings.md index ecb483c5..d3b4833c 100644 --- a/old_docs/API_docs_v100/types/PeerNotifySettings.md +++ b/old_docs/API_docs_v100/types/PeerNotifySettings.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->account->getNotifySettings](../methods/account_getNotifySettings.md) +[$MadelineProto->account->getNotifySettings](../methods/account.getNotifySettings.md) diff --git a/old_docs/API_docs_v100/types/PeerSettings.md b/old_docs/API_docs_v100/types/PeerSettings.md index 60ac3765..31ef7e38 100644 --- a/old_docs/API_docs_v100/types/PeerSettings.md +++ b/old_docs/API_docs_v100/types/PeerSettings.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getPeerSettings](../methods/messages_getPeerSettings.md) +[$MadelineProto->messages->getPeerSettings](../methods/messages.getPeerSettings.md) diff --git a/old_docs/API_docs_v100/types/README.md b/old_docs/API_docs_v100/types/README.md index 69507337..752bd575 100644 --- a/old_docs/API_docs_v100/types/README.md +++ b/old_docs/API_docs_v100/types/README.md @@ -381,169 +381,169 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png [X](X.md) -[account\_AuthorizationForm](account_AuthorizationForm.md) +[account.AuthorizationForm](account.AuthorizationForm.md) -[account\_Authorizations](account_Authorizations.md) +[account.Authorizations](account.Authorizations.md) -[account\_AutoDownloadSettings](account_AutoDownloadSettings.md) +[account.AutoDownloadSettings](account.AutoDownloadSettings.md) -[account\_Password](account_Password.md) +[account.Password](account.Password.md) -[account\_PasswordInputSettings](account_PasswordInputSettings.md) +[account.PasswordInputSettings](account.PasswordInputSettings.md) -[account\_PasswordSettings](account_PasswordSettings.md) +[account.PasswordSettings](account.PasswordSettings.md) -[account\_PrivacyRules](account_PrivacyRules.md) +[account.PrivacyRules](account.PrivacyRules.md) -[account\_SentEmailCode](account_SentEmailCode.md) +[account.SentEmailCode](account.SentEmailCode.md) -[account\_Takeout](account_Takeout.md) +[account.Takeout](account.Takeout.md) -[account\_TmpPassword](account_TmpPassword.md) +[account.TmpPassword](account.TmpPassword.md) -[account\_WallPapers](account_WallPapers.md) +[account.WallPapers](account.WallPapers.md) -[account\_WebAuthorizations](account_WebAuthorizations.md) +[account.WebAuthorizations](account.WebAuthorizations.md) -[auth\_Authorization](auth_Authorization.md) +[auth.Authorization](auth.Authorization.md) -[auth\_CheckedPhone](auth_CheckedPhone.md) +[auth.CheckedPhone](auth.CheckedPhone.md) -[auth\_CodeType](auth_CodeType.md) +[auth.CodeType](auth.CodeType.md) -[auth\_ExportedAuthorization](auth_ExportedAuthorization.md) +[auth.ExportedAuthorization](auth.ExportedAuthorization.md) -[auth\_PasswordRecovery](auth_PasswordRecovery.md) +[auth.PasswordRecovery](auth.PasswordRecovery.md) -[auth\_SentCode](auth_SentCode.md) +[auth.SentCode](auth.SentCode.md) -[auth\_SentCodeType](auth_SentCodeType.md) +[auth.SentCodeType](auth.SentCodeType.md) -[channels\_AdminLogResults](channels_AdminLogResults.md) +[channels.AdminLogResults](channels.AdminLogResults.md) -[channels\_ChannelParticipant](channels_ChannelParticipant.md) +[channels.ChannelParticipant](channels.ChannelParticipant.md) -[channels\_ChannelParticipants](channels_ChannelParticipants.md) +[channels.ChannelParticipants](channels.ChannelParticipants.md) -[contacts\_Blocked](contacts_Blocked.md) +[contacts.Blocked](contacts.Blocked.md) -[contacts\_Contacts](contacts_Contacts.md) +[contacts.Contacts](contacts.Contacts.md) -[contacts\_Found](contacts_Found.md) +[contacts.Found](contacts.Found.md) -[contacts\_ImportedContacts](contacts_ImportedContacts.md) +[contacts.ImportedContacts](contacts.ImportedContacts.md) -[contacts\_Link](contacts_Link.md) +[contacts.Link](contacts.Link.md) -[contacts\_ResolvedPeer](contacts_ResolvedPeer.md) +[contacts.ResolvedPeer](contacts.ResolvedPeer.md) -[contacts\_TopPeers](contacts_TopPeers.md) +[contacts.TopPeers](contacts.TopPeers.md) -[help\_AppUpdate](help_AppUpdate.md) +[help.AppUpdate](help.AppUpdate.md) -[help\_ConfigSimple](help_ConfigSimple.md) +[help.ConfigSimple](help.ConfigSimple.md) -[help\_DeepLinkInfo](help_DeepLinkInfo.md) +[help.DeepLinkInfo](help.DeepLinkInfo.md) -[help\_InviteText](help_InviteText.md) +[help.InviteText](help.InviteText.md) -[help\_PassportConfig](help_PassportConfig.md) +[help.PassportConfig](help.PassportConfig.md) -[help\_ProxyData](help_ProxyData.md) +[help.ProxyData](help.ProxyData.md) -[help\_RecentMeUrls](help_RecentMeUrls.md) +[help.RecentMeUrls](help.RecentMeUrls.md) -[help\_Support](help_Support.md) +[help.Support](help.Support.md) -[help\_SupportName](help_SupportName.md) +[help.SupportName](help.SupportName.md) -[help\_TermsOfService](help_TermsOfService.md) +[help.TermsOfService](help.TermsOfService.md) -[help\_TermsOfServiceUpdate](help_TermsOfServiceUpdate.md) +[help.TermsOfServiceUpdate](help.TermsOfServiceUpdate.md) -[help\_UserInfo](help_UserInfo.md) +[help.UserInfo](help.UserInfo.md) [int](int.md) [long](long.md) -[messages\_AffectedHistory](messages_AffectedHistory.md) +[messages.AffectedHistory](messages.AffectedHistory.md) -[messages\_AffectedMessages](messages_AffectedMessages.md) +[messages.AffectedMessages](messages.AffectedMessages.md) -[messages\_AllStickers](messages_AllStickers.md) +[messages.AllStickers](messages.AllStickers.md) -[messages\_ArchivedStickers](messages_ArchivedStickers.md) +[messages.ArchivedStickers](messages.ArchivedStickers.md) -[messages\_BotCallbackAnswer](messages_BotCallbackAnswer.md) +[messages.BotCallbackAnswer](messages.BotCallbackAnswer.md) -[messages\_BotResults](messages_BotResults.md) +[messages.BotResults](messages.BotResults.md) -[messages\_ChatFull](messages_ChatFull.md) +[messages.ChatFull](messages.ChatFull.md) -[messages\_Chats](messages_Chats.md) +[messages.Chats](messages.Chats.md) -[messages\_DhConfig](messages_DhConfig.md) +[messages.DhConfig](messages.DhConfig.md) -[messages\_Dialogs](messages_Dialogs.md) +[messages.Dialogs](messages.Dialogs.md) -[messages\_FavedStickers](messages_FavedStickers.md) +[messages.FavedStickers](messages.FavedStickers.md) -[messages\_FeaturedStickers](messages_FeaturedStickers.md) +[messages.FeaturedStickers](messages.FeaturedStickers.md) -[messages\_FoundGifs](messages_FoundGifs.md) +[messages.FoundGifs](messages.FoundGifs.md) -[messages\_FoundStickerSets](messages_FoundStickerSets.md) +[messages.FoundStickerSets](messages.FoundStickerSets.md) -[messages\_HighScores](messages_HighScores.md) +[messages.HighScores](messages.HighScores.md) -[messages\_MessageEditData](messages_MessageEditData.md) +[messages.MessageEditData](messages.MessageEditData.md) -[messages\_Messages](messages_Messages.md) +[messages.Messages](messages.Messages.md) -[messages\_PeerDialogs](messages_PeerDialogs.md) +[messages.PeerDialogs](messages.PeerDialogs.md) -[messages\_RecentStickers](messages_RecentStickers.md) +[messages.RecentStickers](messages.RecentStickers.md) -[messages\_SavedGifs](messages_SavedGifs.md) +[messages.SavedGifs](messages.SavedGifs.md) -[messages\_SearchCounter](messages_SearchCounter.md) +[messages.SearchCounter](messages.SearchCounter.md) -[messages\_SentEncryptedMessage](messages_SentEncryptedMessage.md) +[messages.SentEncryptedMessage](messages.SentEncryptedMessage.md) -[messages\_StickerSet](messages_StickerSet.md) +[messages.StickerSet](messages.StickerSet.md) -[messages\_StickerSetInstallResult](messages_StickerSetInstallResult.md) +[messages.StickerSetInstallResult](messages.StickerSetInstallResult.md) -[messages\_Stickers](messages_Stickers.md) +[messages.Stickers](messages.Stickers.md) -[payments\_PaymentForm](payments_PaymentForm.md) +[payments.PaymentForm](payments.PaymentForm.md) -[payments\_PaymentReceipt](payments_PaymentReceipt.md) +[payments.PaymentReceipt](payments.PaymentReceipt.md) -[payments\_PaymentResult](payments_PaymentResult.md) +[payments.PaymentResult](payments.PaymentResult.md) -[payments\_SavedInfo](payments_SavedInfo.md) +[payments.SavedInfo](payments.SavedInfo.md) -[payments\_ValidatedRequestedInfo](payments_ValidatedRequestedInfo.md) +[payments.ValidatedRequestedInfo](payments.ValidatedRequestedInfo.md) -[phone\_PhoneCall](phone_PhoneCall.md) +[phone.PhoneCall](phone.PhoneCall.md) -[photos\_Photo](photos_Photo.md) +[photos.Photo](photos.Photo.md) -[photos\_Photos](photos_Photos.md) +[photos.Photos](photos.Photos.md) -[storage\_FileType](storage_FileType.md) +[storage.FileType](storage.FileType.md) -[updates\_ChannelDifference](updates_ChannelDifference.md) +[updates.ChannelDifference](updates.ChannelDifference.md) -[updates\_Difference](updates_Difference.md) +[updates.Difference](updates.Difference.md) -[updates\_State](updates_State.md) +[updates.State](updates.State.md) -[upload\_CdnFile](upload_CdnFile.md) +[upload.CdnFile](upload.CdnFile.md) -[upload\_File](upload_File.md) +[upload.File](upload.File.md) -[upload\_WebFile](upload_WebFile.md) +[upload.WebFile](upload.WebFile.md) diff --git a/old_docs/API_docs_v100/types/ReceivedNotifyMessage.md b/old_docs/API_docs_v100/types/ReceivedNotifyMessage.md index c7fc3b8c..416aa275 100644 --- a/old_docs/API_docs_v100/types/ReceivedNotifyMessage.md +++ b/old_docs/API_docs_v100/types/ReceivedNotifyMessage.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->receivedMessages](../methods/messages_receivedMessages.md) +[$MadelineProto->messages->receivedMessages](../methods/messages.receivedMessages.md) diff --git a/old_docs/API_docs_v100/types/SavedContact.md b/old_docs/API_docs_v100/types/SavedContact.md index c337f3eb..73a91ba6 100644 --- a/old_docs/API_docs_v100/types/SavedContact.md +++ b/old_docs/API_docs_v100/types/SavedContact.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->contacts->getSaved](../methods/contacts_getSaved.md) +[$MadelineProto->contacts->getSaved](../methods/contacts.getSaved.md) diff --git a/old_docs/API_docs_v100/types/SecureValue.md b/old_docs/API_docs_v100/types/SecureValue.md index 8490f399..2ab18f68 100644 --- a/old_docs/API_docs_v100/types/SecureValue.md +++ b/old_docs/API_docs_v100/types/SecureValue.md @@ -16,11 +16,11 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->account->getAllSecureValues](../methods/account_getAllSecureValues.md) +[$MadelineProto->account->getAllSecureValues](../methods/account.getAllSecureValues.md) -[$MadelineProto->account->getSecureValue](../methods/account_getSecureValue.md) +[$MadelineProto->account->getSecureValue](../methods/account.getSecureValue.md) -[$MadelineProto->account->saveSecureValue](../methods/account_saveSecureValue.md) +[$MadelineProto->account->saveSecureValue](../methods/account.saveSecureValue.md) diff --git a/old_docs/API_docs_v100/types/StatsURL.md b/old_docs/API_docs_v100/types/StatsURL.md index 1a2695cd..8704eed7 100644 --- a/old_docs/API_docs_v100/types/StatsURL.md +++ b/old_docs/API_docs_v100/types/StatsURL.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getStatsURL](../methods/messages_getStatsURL.md) +[$MadelineProto->messages->getStatsURL](../methods/messages.getStatsURL.md) diff --git a/old_docs/API_docs_v100/types/StickerSetCovered.md b/old_docs/API_docs_v100/types/StickerSetCovered.md index ffd1da1f..f57cd117 100644 --- a/old_docs/API_docs_v100/types/StickerSetCovered.md +++ b/old_docs/API_docs_v100/types/StickerSetCovered.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getAttachedStickers](../methods/messages_getAttachedStickers.md) +[$MadelineProto->messages->getAttachedStickers](../methods/messages.getAttachedStickers.md) diff --git a/old_docs/API_docs_v100/types/Updates.md b/old_docs/API_docs_v100/types/Updates.md index 2dd6da32..dc057f0e 100644 --- a/old_docs/API_docs_v100/types/Updates.md +++ b/old_docs/API_docs_v100/types/Updates.md @@ -28,81 +28,81 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->account->getNotifyExceptions](../methods/account_getNotifyExceptions.md) +[$MadelineProto->account->getNotifyExceptions](../methods/account.getNotifyExceptions.md) -[$MadelineProto->messages->sendMessage](../methods/messages_sendMessage.md) +[$MadelineProto->messages->sendMessage](../methods/messages.sendMessage.md) -[$MadelineProto->messages->sendMedia](../methods/messages_sendMedia.md) +[$MadelineProto->messages->sendMedia](../methods/messages.sendMedia.md) -[$MadelineProto->messages->forwardMessages](../methods/messages_forwardMessages.md) +[$MadelineProto->messages->forwardMessages](../methods/messages.forwardMessages.md) -[$MadelineProto->messages->editChatTitle](../methods/messages_editChatTitle.md) +[$MadelineProto->messages->editChatTitle](../methods/messages.editChatTitle.md) -[$MadelineProto->messages->editChatPhoto](../methods/messages_editChatPhoto.md) +[$MadelineProto->messages->editChatPhoto](../methods/messages.editChatPhoto.md) -[$MadelineProto->messages->addChatUser](../methods/messages_addChatUser.md) +[$MadelineProto->messages->addChatUser](../methods/messages.addChatUser.md) -[$MadelineProto->messages->deleteChatUser](../methods/messages_deleteChatUser.md) +[$MadelineProto->messages->deleteChatUser](../methods/messages.deleteChatUser.md) -[$MadelineProto->messages->createChat](../methods/messages_createChat.md) +[$MadelineProto->messages->createChat](../methods/messages.createChat.md) -[$MadelineProto->messages->importChatInvite](../methods/messages_importChatInvite.md) +[$MadelineProto->messages->importChatInvite](../methods/messages.importChatInvite.md) -[$MadelineProto->messages->startBot](../methods/messages_startBot.md) +[$MadelineProto->messages->startBot](../methods/messages.startBot.md) -[$MadelineProto->messages->migrateChat](../methods/messages_migrateChat.md) +[$MadelineProto->messages->migrateChat](../methods/messages.migrateChat.md) -[$MadelineProto->messages->sendInlineBotResult](../methods/messages_sendInlineBotResult.md) +[$MadelineProto->messages->sendInlineBotResult](../methods/messages.sendInlineBotResult.md) -[$MadelineProto->messages->editMessage](../methods/messages_editMessage.md) +[$MadelineProto->messages->editMessage](../methods/messages.editMessage.md) -[$MadelineProto->messages->getAllDrafts](../methods/messages_getAllDrafts.md) +[$MadelineProto->messages->getAllDrafts](../methods/messages.getAllDrafts.md) -[$MadelineProto->messages->setGameScore](../methods/messages_setGameScore.md) +[$MadelineProto->messages->setGameScore](../methods/messages.setGameScore.md) -[$MadelineProto->messages->sendScreenshotNotification](../methods/messages_sendScreenshotNotification.md) +[$MadelineProto->messages->sendScreenshotNotification](../methods/messages.sendScreenshotNotification.md) -[$MadelineProto->messages->sendMultiMedia](../methods/messages_sendMultiMedia.md) +[$MadelineProto->messages->sendMultiMedia](../methods/messages.sendMultiMedia.md) -[$MadelineProto->messages->updatePinnedMessage](../methods/messages_updatePinnedMessage.md) +[$MadelineProto->messages->updatePinnedMessage](../methods/messages.updatePinnedMessage.md) -[$MadelineProto->messages->sendVote](../methods/messages_sendVote.md) +[$MadelineProto->messages->sendVote](../methods/messages.sendVote.md) -[$MadelineProto->messages->getPollResults](../methods/messages_getPollResults.md) +[$MadelineProto->messages->getPollResults](../methods/messages.getPollResults.md) -[$MadelineProto->messages->editChatDefaultBannedRights](../methods/messages_editChatDefaultBannedRights.md) +[$MadelineProto->messages->editChatDefaultBannedRights](../methods/messages.editChatDefaultBannedRights.md) -[$MadelineProto->help->getAppChangelog](../methods/help_getAppChangelog.md) +[$MadelineProto->help->getAppChangelog](../methods/help.getAppChangelog.md) -[$MadelineProto->channels->createChannel](../methods/channels_createChannel.md) +[$MadelineProto->channels->createChannel](../methods/channels.createChannel.md) -[$MadelineProto->channels->editAdmin](../methods/channels_editAdmin.md) +[$MadelineProto->channels->editAdmin](../methods/channels.editAdmin.md) -[$MadelineProto->channels->editTitle](../methods/channels_editTitle.md) +[$MadelineProto->channels->editTitle](../methods/channels.editTitle.md) -[$MadelineProto->channels->editPhoto](../methods/channels_editPhoto.md) +[$MadelineProto->channels->editPhoto](../methods/channels.editPhoto.md) -[$MadelineProto->channels->joinChannel](../methods/channels_joinChannel.md) +[$MadelineProto->channels->joinChannel](../methods/channels.joinChannel.md) -[$MadelineProto->channels->leaveChannel](../methods/channels_leaveChannel.md) +[$MadelineProto->channels->leaveChannel](../methods/channels.leaveChannel.md) -[$MadelineProto->channels->inviteToChannel](../methods/channels_inviteToChannel.md) +[$MadelineProto->channels->inviteToChannel](../methods/channels.inviteToChannel.md) -[$MadelineProto->channels->deleteChannel](../methods/channels_deleteChannel.md) +[$MadelineProto->channels->deleteChannel](../methods/channels.deleteChannel.md) -[$MadelineProto->channels->toggleSignatures](../methods/channels_toggleSignatures.md) +[$MadelineProto->channels->toggleSignatures](../methods/channels.toggleSignatures.md) -[$MadelineProto->channels->editBanned](../methods/channels_editBanned.md) +[$MadelineProto->channels->editBanned](../methods/channels.editBanned.md) -[$MadelineProto->channels->togglePreHistoryHidden](../methods/channels_togglePreHistoryHidden.md) +[$MadelineProto->channels->togglePreHistoryHidden](../methods/channels.togglePreHistoryHidden.md) -[$MadelineProto->phone->discardCall](../methods/phone_discardCall.md) +[$MadelineProto->phone->discardCall](../methods/phone.discardCall.md) -[$MadelineProto->phone->setCallRating](../methods/phone_setCallRating.md) +[$MadelineProto->phone->setCallRating](../methods/phone.setCallRating.md) -[$MadelineProto->folders->editPeerFolders](../methods/folders_editPeerFolders.md) +[$MadelineProto->folders->editPeerFolders](../methods/folders.editPeerFolders.md) -[$MadelineProto->folders->deleteFolder](../methods/folders_deleteFolder.md) +[$MadelineProto->folders->deleteFolder](../methods/folders.deleteFolder.md) diff --git a/old_docs/API_docs_v100/types/UrlAuthResult.md b/old_docs/API_docs_v100/types/UrlAuthResult.md index de129235..9533c912 100644 --- a/old_docs/API_docs_v100/types/UrlAuthResult.md +++ b/old_docs/API_docs_v100/types/UrlAuthResult.md @@ -20,9 +20,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->requestUrlAuth](../methods/messages_requestUrlAuth.md) +[$MadelineProto->messages->requestUrlAuth](../methods/messages.requestUrlAuth.md) -[$MadelineProto->messages->acceptUrlAuth](../methods/messages_acceptUrlAuth.md) +[$MadelineProto->messages->acceptUrlAuth](../methods/messages.acceptUrlAuth.md) diff --git a/old_docs/API_docs_v100/types/User.md b/old_docs/API_docs_v100/types/User.md index 49c9af72..0d20e320 100644 --- a/old_docs/API_docs_v100/types/User.md +++ b/old_docs/API_docs_v100/types/User.md @@ -42,13 +42,13 @@ A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDia ### Methods that return an object of this type (methods): -[$MadelineProto->account->updateProfile](../methods/account_updateProfile.md) +[$MadelineProto->account->updateProfile](../methods/account.updateProfile.md) -[$MadelineProto->account->updateUsername](../methods/account_updateUsername.md) +[$MadelineProto->account->updateUsername](../methods/account.updateUsername.md) -[$MadelineProto->account->changePhone](../methods/account_changePhone.md) +[$MadelineProto->account->changePhone](../methods/account.changePhone.md) -[$MadelineProto->users->getUsers](../methods/users_getUsers.md) +[$MadelineProto->users->getUsers](../methods/users.getUsers.md) diff --git a/old_docs/API_docs_v100/types/UserFull.md b/old_docs/API_docs_v100/types/UserFull.md index 79ad30bb..ac50052f 100644 --- a/old_docs/API_docs_v100/types/UserFull.md +++ b/old_docs/API_docs_v100/types/UserFull.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->users->getFullUser](../methods/users_getFullUser.md) +[$MadelineProto->users->getFullUser](../methods/users.getFullUser.md) diff --git a/old_docs/API_docs_v100/types/UserProfilePhoto.md b/old_docs/API_docs_v100/types/UserProfilePhoto.md index e5243a2e..e81e92fd 100644 --- a/old_docs/API_docs_v100/types/UserProfilePhoto.md +++ b/old_docs/API_docs_v100/types/UserProfilePhoto.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->photos->updateProfilePhoto](../methods/photos_updateProfilePhoto.md) +[$MadelineProto->photos->updateProfilePhoto](../methods/photos.updateProfilePhoto.md) diff --git a/old_docs/API_docs_v100/types/WallPaper.md b/old_docs/API_docs_v100/types/WallPaper.md index ccaafe2f..89033d7e 100644 --- a/old_docs/API_docs_v100/types/WallPaper.md +++ b/old_docs/API_docs_v100/types/WallPaper.md @@ -16,9 +16,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->account->getWallPaper](../methods/account_getWallPaper.md) +[$MadelineProto->account->getWallPaper](../methods/account.getWallPaper.md) -[$MadelineProto->account->uploadWallPaper](../methods/account_uploadWallPaper.md) +[$MadelineProto->account->uploadWallPaper](../methods/account.uploadWallPaper.md) diff --git a/old_docs/API_docs_v100/types/WebPage.md b/old_docs/API_docs_v100/types/WebPage.md index a3df791f..f6b61c5e 100644 --- a/old_docs/API_docs_v100/types/WebPage.md +++ b/old_docs/API_docs_v100/types/WebPage.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getWebPage](../methods/messages_getWebPage.md) +[$MadelineProto->messages->getWebPage](../methods/messages.getWebPage.md) diff --git a/old_docs/API_docs_v100/types/account.AuthorizationForm.md b/old_docs/API_docs_v100/types/account.AuthorizationForm.md new file mode 100644 index 00000000..860ff40f --- /dev/null +++ b/old_docs/API_docs_v100/types/account.AuthorizationForm.md @@ -0,0 +1,22 @@ +--- +title: account.AuthorizationForm +description: constructors and methods of type account.AuthorizationForm +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.AuthorizationForm +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.authorizationForm](../constructors/account.authorizationForm.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getAuthorizationForm](../methods/account.getAuthorizationForm.md) + + + diff --git a/old_docs/API_docs_v100/types/account.Authorizations.md b/old_docs/API_docs_v100/types/account.Authorizations.md new file mode 100644 index 00000000..f9112038 --- /dev/null +++ b/old_docs/API_docs_v100/types/account.Authorizations.md @@ -0,0 +1,22 @@ +--- +title: account.Authorizations +description: constructors and methods of type account.Authorizations +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.Authorizations +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.authorizations](../constructors/account.authorizations.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getAuthorizations](../methods/account.getAuthorizations.md) + + + diff --git a/old_docs/API_docs_v100/types/account.AutoDownloadSettings.md b/old_docs/API_docs_v100/types/account.AutoDownloadSettings.md new file mode 100644 index 00000000..e2ee0f6c --- /dev/null +++ b/old_docs/API_docs_v100/types/account.AutoDownloadSettings.md @@ -0,0 +1,22 @@ +--- +title: account.AutoDownloadSettings +description: constructors and methods of type account.AutoDownloadSettings +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.AutoDownloadSettings +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.autoDownloadSettings](../constructors/account.autoDownloadSettings.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getAutoDownloadSettings](../methods/account.getAutoDownloadSettings.md) + + + diff --git a/old_docs/API_docs_v100/types/account.Password.md b/old_docs/API_docs_v100/types/account.Password.md new file mode 100644 index 00000000..190704a3 --- /dev/null +++ b/old_docs/API_docs_v100/types/account.Password.md @@ -0,0 +1,22 @@ +--- +title: account.Password +description: constructors and methods of type account.Password +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.Password +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.password](../constructors/account.password.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getPassword](../methods/account.getPassword.md) + + + diff --git a/old_docs/API_docs_v100/types/account.PasswordInputSettings.md b/old_docs/API_docs_v100/types/account.PasswordInputSettings.md new file mode 100644 index 00000000..72e11fdc --- /dev/null +++ b/old_docs/API_docs_v100/types/account.PasswordInputSettings.md @@ -0,0 +1,20 @@ +--- +title: account.PasswordInputSettings +description: constructors and methods of type account.PasswordInputSettings +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.PasswordInputSettings +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.passwordInputSettings](../constructors/account.passwordInputSettings.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v100/types/account.PasswordSettings.md b/old_docs/API_docs_v100/types/account.PasswordSettings.md new file mode 100644 index 00000000..47016832 --- /dev/null +++ b/old_docs/API_docs_v100/types/account.PasswordSettings.md @@ -0,0 +1,22 @@ +--- +title: account.PasswordSettings +description: constructors and methods of type account.PasswordSettings +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.PasswordSettings +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.passwordSettings](../constructors/account.passwordSettings.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getPasswordSettings](../methods/account.getPasswordSettings.md) + + + diff --git a/old_docs/API_docs_v100/types/account.PrivacyRules.md b/old_docs/API_docs_v100/types/account.PrivacyRules.md new file mode 100644 index 00000000..738651ad --- /dev/null +++ b/old_docs/API_docs_v100/types/account.PrivacyRules.md @@ -0,0 +1,24 @@ +--- +title: account.PrivacyRules +description: constructors and methods of type account.PrivacyRules +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.PrivacyRules +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.privacyRules](../constructors/account.privacyRules.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getPrivacy](../methods/account.getPrivacy.md) + +[$MadelineProto->account->setPrivacy](../methods/account.setPrivacy.md) + + + diff --git a/old_docs/API_docs_v100/types/account.SentEmailCode.md b/old_docs/API_docs_v100/types/account.SentEmailCode.md new file mode 100644 index 00000000..6adcd649 --- /dev/null +++ b/old_docs/API_docs_v100/types/account.SentEmailCode.md @@ -0,0 +1,22 @@ +--- +title: account.SentEmailCode +description: constructors and methods of type account.SentEmailCode +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.SentEmailCode +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.sentEmailCode](../constructors/account.sentEmailCode.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->sendVerifyEmailCode](../methods/account.sendVerifyEmailCode.md) + + + diff --git a/old_docs/API_docs_v100/types/account.Takeout.md b/old_docs/API_docs_v100/types/account.Takeout.md new file mode 100644 index 00000000..96998ce4 --- /dev/null +++ b/old_docs/API_docs_v100/types/account.Takeout.md @@ -0,0 +1,22 @@ +--- +title: account.Takeout +description: constructors and methods of type account.Takeout +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.Takeout +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.takeout](../constructors/account.takeout.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->initTakeoutSession](../methods/account.initTakeoutSession.md) + + + diff --git a/old_docs/API_docs_v100/types/account.TmpPassword.md b/old_docs/API_docs_v100/types/account.TmpPassword.md new file mode 100644 index 00000000..2116c6c0 --- /dev/null +++ b/old_docs/API_docs_v100/types/account.TmpPassword.md @@ -0,0 +1,22 @@ +--- +title: account.TmpPassword +description: constructors and methods of type account.TmpPassword +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.TmpPassword +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.tmpPassword](../constructors/account.tmpPassword.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getTmpPassword](../methods/account.getTmpPassword.md) + + + diff --git a/old_docs/API_docs_v100/types/account.WallPapers.md b/old_docs/API_docs_v100/types/account.WallPapers.md new file mode 100644 index 00000000..13d11d26 --- /dev/null +++ b/old_docs/API_docs_v100/types/account.WallPapers.md @@ -0,0 +1,24 @@ +--- +title: account.WallPapers +description: constructors and methods of type account.WallPapers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.WallPapers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.wallPapersNotModified](../constructors/account.wallPapersNotModified.md) + +[account.wallPapers](../constructors/account.wallPapers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getWallPapers](../methods/account.getWallPapers.md) + + + diff --git a/old_docs/API_docs_v100/types/account.WebAuthorizations.md b/old_docs/API_docs_v100/types/account.WebAuthorizations.md new file mode 100644 index 00000000..931633ef --- /dev/null +++ b/old_docs/API_docs_v100/types/account.WebAuthorizations.md @@ -0,0 +1,22 @@ +--- +title: account.WebAuthorizations +description: constructors and methods of type account.WebAuthorizations +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.WebAuthorizations +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.webAuthorizations](../constructors/account.webAuthorizations.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getWebAuthorizations](../methods/account.getWebAuthorizations.md) + + + diff --git a/old_docs/API_docs_v100/types/account_AuthorizationForm.md b/old_docs/API_docs_v100/types/account_AuthorizationForm.md deleted file mode 100644 index 5eec2b92..00000000 --- a/old_docs/API_docs_v100/types/account_AuthorizationForm.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_AuthorizationForm -description: constructors and methods of type account_AuthorizationForm -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_AuthorizationForm -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_authorizationForm](../constructors/account_authorizationForm.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getAuthorizationForm](../methods/account_getAuthorizationForm.md) - - - diff --git a/old_docs/API_docs_v100/types/account_Authorizations.md b/old_docs/API_docs_v100/types/account_Authorizations.md deleted file mode 100644 index 4709ddb5..00000000 --- a/old_docs/API_docs_v100/types/account_Authorizations.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_Authorizations -description: constructors and methods of type account_Authorizations -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_Authorizations -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_authorizations](../constructors/account_authorizations.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getAuthorizations](../methods/account_getAuthorizations.md) - - - diff --git a/old_docs/API_docs_v100/types/account_AutoDownloadSettings.md b/old_docs/API_docs_v100/types/account_AutoDownloadSettings.md deleted file mode 100644 index 6df664df..00000000 --- a/old_docs/API_docs_v100/types/account_AutoDownloadSettings.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_AutoDownloadSettings -description: constructors and methods of type account_AutoDownloadSettings -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_AutoDownloadSettings -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_autoDownloadSettings](../constructors/account_autoDownloadSettings.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getAutoDownloadSettings](../methods/account_getAutoDownloadSettings.md) - - - diff --git a/old_docs/API_docs_v100/types/account_Password.md b/old_docs/API_docs_v100/types/account_Password.md deleted file mode 100644 index f3b6e065..00000000 --- a/old_docs/API_docs_v100/types/account_Password.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_Password -description: constructors and methods of type account_Password -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_Password -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_password](../constructors/account_password.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getPassword](../methods/account_getPassword.md) - - - diff --git a/old_docs/API_docs_v100/types/account_PasswordInputSettings.md b/old_docs/API_docs_v100/types/account_PasswordInputSettings.md deleted file mode 100644 index a6455eb8..00000000 --- a/old_docs/API_docs_v100/types/account_PasswordInputSettings.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: account_PasswordInputSettings -description: constructors and methods of type account_PasswordInputSettings -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_PasswordInputSettings -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_passwordInputSettings](../constructors/account_passwordInputSettings.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v100/types/account_PasswordSettings.md b/old_docs/API_docs_v100/types/account_PasswordSettings.md deleted file mode 100644 index 687eb217..00000000 --- a/old_docs/API_docs_v100/types/account_PasswordSettings.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_PasswordSettings -description: constructors and methods of type account_PasswordSettings -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_PasswordSettings -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_passwordSettings](../constructors/account_passwordSettings.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getPasswordSettings](../methods/account_getPasswordSettings.md) - - - diff --git a/old_docs/API_docs_v100/types/account_PrivacyRules.md b/old_docs/API_docs_v100/types/account_PrivacyRules.md deleted file mode 100644 index 40b00077..00000000 --- a/old_docs/API_docs_v100/types/account_PrivacyRules.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: account_PrivacyRules -description: constructors and methods of type account_PrivacyRules -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_PrivacyRules -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_privacyRules](../constructors/account_privacyRules.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getPrivacy](../methods/account_getPrivacy.md) - -[$MadelineProto->account->setPrivacy](../methods/account_setPrivacy.md) - - - diff --git a/old_docs/API_docs_v100/types/account_SentEmailCode.md b/old_docs/API_docs_v100/types/account_SentEmailCode.md deleted file mode 100644 index 4aa38335..00000000 --- a/old_docs/API_docs_v100/types/account_SentEmailCode.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_SentEmailCode -description: constructors and methods of type account_SentEmailCode -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_SentEmailCode -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_sentEmailCode](../constructors/account_sentEmailCode.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->sendVerifyEmailCode](../methods/account_sendVerifyEmailCode.md) - - - diff --git a/old_docs/API_docs_v100/types/account_Takeout.md b/old_docs/API_docs_v100/types/account_Takeout.md deleted file mode 100644 index 26960f88..00000000 --- a/old_docs/API_docs_v100/types/account_Takeout.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_Takeout -description: constructors and methods of type account_Takeout -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_Takeout -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_takeout](../constructors/account_takeout.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->initTakeoutSession](../methods/account_initTakeoutSession.md) - - - diff --git a/old_docs/API_docs_v100/types/account_TmpPassword.md b/old_docs/API_docs_v100/types/account_TmpPassword.md deleted file mode 100644 index d7557921..00000000 --- a/old_docs/API_docs_v100/types/account_TmpPassword.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_TmpPassword -description: constructors and methods of type account_TmpPassword -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_TmpPassword -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_tmpPassword](../constructors/account_tmpPassword.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getTmpPassword](../methods/account_getTmpPassword.md) - - - diff --git a/old_docs/API_docs_v100/types/account_WallPapers.md b/old_docs/API_docs_v100/types/account_WallPapers.md deleted file mode 100644 index 6a082a9a..00000000 --- a/old_docs/API_docs_v100/types/account_WallPapers.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: account_WallPapers -description: constructors and methods of type account_WallPapers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_WallPapers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_wallPapersNotModified](../constructors/account_wallPapersNotModified.md) - -[account\_wallPapers](../constructors/account_wallPapers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getWallPapers](../methods/account_getWallPapers.md) - - - diff --git a/old_docs/API_docs_v100/types/account_WebAuthorizations.md b/old_docs/API_docs_v100/types/account_WebAuthorizations.md deleted file mode 100644 index 1202632b..00000000 --- a/old_docs/API_docs_v100/types/account_WebAuthorizations.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_WebAuthorizations -description: constructors and methods of type account_WebAuthorizations -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_WebAuthorizations -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_webAuthorizations](../constructors/account_webAuthorizations.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getWebAuthorizations](../methods/account_getWebAuthorizations.md) - - - diff --git a/old_docs/API_docs_v100/types/auth.Authorization.md b/old_docs/API_docs_v100/types/auth.Authorization.md new file mode 100644 index 00000000..adcfa7d3 --- /dev/null +++ b/old_docs/API_docs_v100/types/auth.Authorization.md @@ -0,0 +1,32 @@ +--- +title: auth.Authorization +description: constructors and methods of type auth.Authorization +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.Authorization +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.authorization](../constructors/auth.authorization.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->signUp](../methods/auth.signUp.md) + +[$MadelineProto->auth->signIn](../methods/auth.signIn.md) + +[$MadelineProto->auth->importAuthorization](../methods/auth.importAuthorization.md) + +[$MadelineProto->auth->importBotAuthorization](../methods/auth.importBotAuthorization.md) + +[$MadelineProto->auth->checkPassword](../methods/auth.checkPassword.md) + +[$MadelineProto->auth->recoverPassword](../methods/auth.recoverPassword.md) + + + diff --git a/old_docs/API_docs_v100/types/auth.CheckedPhone.md b/old_docs/API_docs_v100/types/auth.CheckedPhone.md new file mode 100644 index 00000000..1d6672e7 --- /dev/null +++ b/old_docs/API_docs_v100/types/auth.CheckedPhone.md @@ -0,0 +1,20 @@ +--- +title: auth.CheckedPhone +description: constructors and methods of type auth.CheckedPhone +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.CheckedPhone +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.checkedPhone](../constructors/auth.checkedPhone.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v100/types/auth.CodeType.md b/old_docs/API_docs_v100/types/auth.CodeType.md new file mode 100644 index 00000000..8d2b308d --- /dev/null +++ b/old_docs/API_docs_v100/types/auth.CodeType.md @@ -0,0 +1,24 @@ +--- +title: auth.CodeType +description: constructors and methods of type auth.CodeType +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.CodeType +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.codeTypeSms](../constructors/auth.codeTypeSms.md) + +[auth.codeTypeCall](../constructors/auth.codeTypeCall.md) + +[auth.codeTypeFlashCall](../constructors/auth.codeTypeFlashCall.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v100/types/auth.ExportedAuthorization.md b/old_docs/API_docs_v100/types/auth.ExportedAuthorization.md new file mode 100644 index 00000000..ccb38d60 --- /dev/null +++ b/old_docs/API_docs_v100/types/auth.ExportedAuthorization.md @@ -0,0 +1,22 @@ +--- +title: auth.ExportedAuthorization +description: constructors and methods of type auth.ExportedAuthorization +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.ExportedAuthorization +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.exportedAuthorization](../constructors/auth.exportedAuthorization.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->exportAuthorization](../methods/auth.exportAuthorization.md) + + + diff --git a/old_docs/API_docs_v100/types/auth.PasswordRecovery.md b/old_docs/API_docs_v100/types/auth.PasswordRecovery.md new file mode 100644 index 00000000..c1c18992 --- /dev/null +++ b/old_docs/API_docs_v100/types/auth.PasswordRecovery.md @@ -0,0 +1,22 @@ +--- +title: auth.PasswordRecovery +description: constructors and methods of type auth.PasswordRecovery +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.PasswordRecovery +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.passwordRecovery](../constructors/auth.passwordRecovery.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->requestPasswordRecovery](../methods/auth.requestPasswordRecovery.md) + + + diff --git a/old_docs/API_docs_v100/types/auth.SentCode.md b/old_docs/API_docs_v100/types/auth.SentCode.md new file mode 100644 index 00000000..4950edeb --- /dev/null +++ b/old_docs/API_docs_v100/types/auth.SentCode.md @@ -0,0 +1,30 @@ +--- +title: auth.SentCode +description: constructors and methods of type auth.SentCode +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.SentCode +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.sentCode](../constructors/auth.sentCode.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->sendCode](../methods/auth.sendCode.md) + +[$MadelineProto->auth->resendCode](../methods/auth.resendCode.md) + +[$MadelineProto->account->sendChangePhoneCode](../methods/account.sendChangePhoneCode.md) + +[$MadelineProto->account->sendConfirmPhoneCode](../methods/account.sendConfirmPhoneCode.md) + +[$MadelineProto->account->sendVerifyPhoneCode](../methods/account.sendVerifyPhoneCode.md) + + + diff --git a/old_docs/API_docs_v100/types/auth.SentCodeType.md b/old_docs/API_docs_v100/types/auth.SentCodeType.md new file mode 100644 index 00000000..7c7c534e --- /dev/null +++ b/old_docs/API_docs_v100/types/auth.SentCodeType.md @@ -0,0 +1,26 @@ +--- +title: auth.SentCodeType +description: constructors and methods of type auth.SentCodeType +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.SentCodeType +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.sentCodeTypeApp](../constructors/auth.sentCodeTypeApp.md) + +[auth.sentCodeTypeSms](../constructors/auth.sentCodeTypeSms.md) + +[auth.sentCodeTypeCall](../constructors/auth.sentCodeTypeCall.md) + +[auth.sentCodeTypeFlashCall](../constructors/auth.sentCodeTypeFlashCall.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v100/types/auth_Authorization.md b/old_docs/API_docs_v100/types/auth_Authorization.md deleted file mode 100644 index 5a34fc2d..00000000 --- a/old_docs/API_docs_v100/types/auth_Authorization.md +++ /dev/null @@ -1,32 +0,0 @@ ---- -title: auth_Authorization -description: constructors and methods of type auth_Authorization -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_Authorization -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_authorization](../constructors/auth_authorization.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->signUp](../methods/auth_signUp.md) - -[$MadelineProto->auth->signIn](../methods/auth_signIn.md) - -[$MadelineProto->auth->importAuthorization](../methods/auth_importAuthorization.md) - -[$MadelineProto->auth->importBotAuthorization](../methods/auth_importBotAuthorization.md) - -[$MadelineProto->auth->checkPassword](../methods/auth_checkPassword.md) - -[$MadelineProto->auth->recoverPassword](../methods/auth_recoverPassword.md) - - - diff --git a/old_docs/API_docs_v100/types/auth_CheckedPhone.md b/old_docs/API_docs_v100/types/auth_CheckedPhone.md deleted file mode 100644 index e2b823f7..00000000 --- a/old_docs/API_docs_v100/types/auth_CheckedPhone.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: auth_CheckedPhone -description: constructors and methods of type auth_CheckedPhone -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_CheckedPhone -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_checkedPhone](../constructors/auth_checkedPhone.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v100/types/auth_CodeType.md b/old_docs/API_docs_v100/types/auth_CodeType.md deleted file mode 100644 index 3cd9a7b7..00000000 --- a/old_docs/API_docs_v100/types/auth_CodeType.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: auth_CodeType -description: constructors and methods of type auth_CodeType -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_CodeType -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_codeTypeSms](../constructors/auth_codeTypeSms.md) - -[auth\_codeTypeCall](../constructors/auth_codeTypeCall.md) - -[auth\_codeTypeFlashCall](../constructors/auth_codeTypeFlashCall.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v100/types/auth_ExportedAuthorization.md b/old_docs/API_docs_v100/types/auth_ExportedAuthorization.md deleted file mode 100644 index 69e5c42e..00000000 --- a/old_docs/API_docs_v100/types/auth_ExportedAuthorization.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: auth_ExportedAuthorization -description: constructors and methods of type auth_ExportedAuthorization -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_ExportedAuthorization -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_exportedAuthorization](../constructors/auth_exportedAuthorization.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->exportAuthorization](../methods/auth_exportAuthorization.md) - - - diff --git a/old_docs/API_docs_v100/types/auth_PasswordRecovery.md b/old_docs/API_docs_v100/types/auth_PasswordRecovery.md deleted file mode 100644 index 4962bf42..00000000 --- a/old_docs/API_docs_v100/types/auth_PasswordRecovery.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: auth_PasswordRecovery -description: constructors and methods of type auth_PasswordRecovery -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_PasswordRecovery -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_passwordRecovery](../constructors/auth_passwordRecovery.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->requestPasswordRecovery](../methods/auth_requestPasswordRecovery.md) - - - diff --git a/old_docs/API_docs_v100/types/auth_SentCode.md b/old_docs/API_docs_v100/types/auth_SentCode.md deleted file mode 100644 index 140d956c..00000000 --- a/old_docs/API_docs_v100/types/auth_SentCode.md +++ /dev/null @@ -1,30 +0,0 @@ ---- -title: auth_SentCode -description: constructors and methods of type auth_SentCode -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_SentCode -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_sentCode](../constructors/auth_sentCode.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->sendCode](../methods/auth_sendCode.md) - -[$MadelineProto->auth->resendCode](../methods/auth_resendCode.md) - -[$MadelineProto->account->sendChangePhoneCode](../methods/account_sendChangePhoneCode.md) - -[$MadelineProto->account->sendConfirmPhoneCode](../methods/account_sendConfirmPhoneCode.md) - -[$MadelineProto->account->sendVerifyPhoneCode](../methods/account_sendVerifyPhoneCode.md) - - - diff --git a/old_docs/API_docs_v100/types/auth_SentCodeType.md b/old_docs/API_docs_v100/types/auth_SentCodeType.md deleted file mode 100644 index 8dfcb93b..00000000 --- a/old_docs/API_docs_v100/types/auth_SentCodeType.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: auth_SentCodeType -description: constructors and methods of type auth_SentCodeType -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_SentCodeType -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_sentCodeTypeApp](../constructors/auth_sentCodeTypeApp.md) - -[auth\_sentCodeTypeSms](../constructors/auth_sentCodeTypeSms.md) - -[auth\_sentCodeTypeCall](../constructors/auth_sentCodeTypeCall.md) - -[auth\_sentCodeTypeFlashCall](../constructors/auth_sentCodeTypeFlashCall.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v100/types/channels.AdminLogResults.md b/old_docs/API_docs_v100/types/channels.AdminLogResults.md new file mode 100644 index 00000000..7855a4fd --- /dev/null +++ b/old_docs/API_docs_v100/types/channels.AdminLogResults.md @@ -0,0 +1,22 @@ +--- +title: channels.AdminLogResults +description: constructors and methods of type channels.AdminLogResults +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: channels.AdminLogResults +[Back to types index](index.md) + + + +### Possible values (constructors): + +[channels.adminLogResults](../constructors/channels.adminLogResults.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->channels->getAdminLog](../methods/channels.getAdminLog.md) + + + diff --git a/old_docs/API_docs_v100/types/channels.ChannelParticipant.md b/old_docs/API_docs_v100/types/channels.ChannelParticipant.md new file mode 100644 index 00000000..8dc7f7e6 --- /dev/null +++ b/old_docs/API_docs_v100/types/channels.ChannelParticipant.md @@ -0,0 +1,22 @@ +--- +title: channels.ChannelParticipant +description: constructors and methods of type channels.ChannelParticipant +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: channels.ChannelParticipant +[Back to types index](index.md) + + + +### Possible values (constructors): + +[channels.channelParticipant](../constructors/channels.channelParticipant.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->channels->getParticipant](../methods/channels.getParticipant.md) + + + diff --git a/old_docs/API_docs_v100/types/channels.ChannelParticipants.md b/old_docs/API_docs_v100/types/channels.ChannelParticipants.md new file mode 100644 index 00000000..d448e007 --- /dev/null +++ b/old_docs/API_docs_v100/types/channels.ChannelParticipants.md @@ -0,0 +1,24 @@ +--- +title: channels.ChannelParticipants +description: constructors and methods of type channels.ChannelParticipants +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: channels.ChannelParticipants +[Back to types index](index.md) + + + +### Possible values (constructors): + +[channels.channelParticipants](../constructors/channels.channelParticipants.md) + +[channels.channelParticipantsNotModified](../constructors/channels.channelParticipantsNotModified.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->channels->getParticipants](../methods/channels.getParticipants.md) + + + diff --git a/old_docs/API_docs_v100/types/channels_AdminLogResults.md b/old_docs/API_docs_v100/types/channels_AdminLogResults.md deleted file mode 100644 index 4e9b5544..00000000 --- a/old_docs/API_docs_v100/types/channels_AdminLogResults.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: channels_AdminLogResults -description: constructors and methods of type channels_AdminLogResults -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: channels\_AdminLogResults -[Back to types index](index.md) - - - -### Possible values (constructors): - -[channels\_adminLogResults](../constructors/channels_adminLogResults.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->channels->getAdminLog](../methods/channels_getAdminLog.md) - - - diff --git a/old_docs/API_docs_v100/types/channels_ChannelParticipant.md b/old_docs/API_docs_v100/types/channels_ChannelParticipant.md deleted file mode 100644 index 3d4667c3..00000000 --- a/old_docs/API_docs_v100/types/channels_ChannelParticipant.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: channels_ChannelParticipant -description: constructors and methods of type channels_ChannelParticipant -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: channels\_ChannelParticipant -[Back to types index](index.md) - - - -### Possible values (constructors): - -[channels\_channelParticipant](../constructors/channels_channelParticipant.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->channels->getParticipant](../methods/channels_getParticipant.md) - - - diff --git a/old_docs/API_docs_v100/types/channels_ChannelParticipants.md b/old_docs/API_docs_v100/types/channels_ChannelParticipants.md deleted file mode 100644 index 80a41dd9..00000000 --- a/old_docs/API_docs_v100/types/channels_ChannelParticipants.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: channels_ChannelParticipants -description: constructors and methods of type channels_ChannelParticipants -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: channels\_ChannelParticipants -[Back to types index](index.md) - - - -### Possible values (constructors): - -[channels\_channelParticipants](../constructors/channels_channelParticipants.md) - -[channels\_channelParticipantsNotModified](../constructors/channels_channelParticipantsNotModified.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->channels->getParticipants](../methods/channels_getParticipants.md) - - - diff --git a/old_docs/API_docs_v100/types/contacts.Blocked.md b/old_docs/API_docs_v100/types/contacts.Blocked.md new file mode 100644 index 00000000..cb2af80f --- /dev/null +++ b/old_docs/API_docs_v100/types/contacts.Blocked.md @@ -0,0 +1,24 @@ +--- +title: contacts.Blocked +description: constructors and methods of type contacts.Blocked +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Blocked +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.blocked](../constructors/contacts.blocked.md) + +[contacts.blockedSlice](../constructors/contacts.blockedSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getBlocked](../methods/contacts.getBlocked.md) + + + diff --git a/old_docs/API_docs_v100/types/contacts.Contacts.md b/old_docs/API_docs_v100/types/contacts.Contacts.md new file mode 100644 index 00000000..5f695d8e --- /dev/null +++ b/old_docs/API_docs_v100/types/contacts.Contacts.md @@ -0,0 +1,24 @@ +--- +title: contacts.Contacts +description: constructors and methods of type contacts.Contacts +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Contacts +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.contactsNotModified](../constructors/contacts.contactsNotModified.md) + +[contacts.contacts](../constructors/contacts.contacts.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getContacts](../methods/contacts.getContacts.md) + + + diff --git a/old_docs/API_docs_v100/types/contacts.Found.md b/old_docs/API_docs_v100/types/contacts.Found.md new file mode 100644 index 00000000..7df98927 --- /dev/null +++ b/old_docs/API_docs_v100/types/contacts.Found.md @@ -0,0 +1,22 @@ +--- +title: contacts.Found +description: constructors and methods of type contacts.Found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Found +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.found](../constructors/contacts.found.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->search](../methods/contacts.search.md) + + + diff --git a/old_docs/API_docs_v100/types/contacts.ImportedContacts.md b/old_docs/API_docs_v100/types/contacts.ImportedContacts.md new file mode 100644 index 00000000..16795bab --- /dev/null +++ b/old_docs/API_docs_v100/types/contacts.ImportedContacts.md @@ -0,0 +1,22 @@ +--- +title: contacts.ImportedContacts +description: constructors and methods of type contacts.ImportedContacts +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.ImportedContacts +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.importedContacts](../constructors/contacts.importedContacts.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->importContacts](../methods/contacts.importContacts.md) + + + diff --git a/old_docs/API_docs_v100/types/contacts.Link.md b/old_docs/API_docs_v100/types/contacts.Link.md new file mode 100644 index 00000000..eb9da683 --- /dev/null +++ b/old_docs/API_docs_v100/types/contacts.Link.md @@ -0,0 +1,22 @@ +--- +title: contacts.Link +description: constructors and methods of type contacts.Link +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Link +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.link](../constructors/contacts.link.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->deleteContact](../methods/contacts.deleteContact.md) + + + diff --git a/old_docs/API_docs_v100/types/contacts.ResolvedPeer.md b/old_docs/API_docs_v100/types/contacts.ResolvedPeer.md new file mode 100644 index 00000000..13630d54 --- /dev/null +++ b/old_docs/API_docs_v100/types/contacts.ResolvedPeer.md @@ -0,0 +1,22 @@ +--- +title: contacts.ResolvedPeer +description: constructors and methods of type contacts.ResolvedPeer +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.ResolvedPeer +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.resolvedPeer](../constructors/contacts.resolvedPeer.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->resolveUsername](../methods/contacts.resolveUsername.md) + + + diff --git a/old_docs/API_docs_v100/types/contacts.TopPeers.md b/old_docs/API_docs_v100/types/contacts.TopPeers.md new file mode 100644 index 00000000..563e63aa --- /dev/null +++ b/old_docs/API_docs_v100/types/contacts.TopPeers.md @@ -0,0 +1,26 @@ +--- +title: contacts.TopPeers +description: constructors and methods of type contacts.TopPeers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.TopPeers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.topPeersNotModified](../constructors/contacts.topPeersNotModified.md) + +[contacts.topPeers](../constructors/contacts.topPeers.md) + +[contacts.topPeersDisabled](../constructors/contacts.topPeersDisabled.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getTopPeers](../methods/contacts.getTopPeers.md) + + + diff --git a/old_docs/API_docs_v100/types/contacts_Blocked.md b/old_docs/API_docs_v100/types/contacts_Blocked.md deleted file mode 100644 index 3e1f02eb..00000000 --- a/old_docs/API_docs_v100/types/contacts_Blocked.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: contacts_Blocked -description: constructors and methods of type contacts_Blocked -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Blocked -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_blocked](../constructors/contacts_blocked.md) - -[contacts\_blockedSlice](../constructors/contacts_blockedSlice.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->getBlocked](../methods/contacts_getBlocked.md) - - - diff --git a/old_docs/API_docs_v100/types/contacts_Contacts.md b/old_docs/API_docs_v100/types/contacts_Contacts.md deleted file mode 100644 index 5d6c9506..00000000 --- a/old_docs/API_docs_v100/types/contacts_Contacts.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: contacts_Contacts -description: constructors and methods of type contacts_Contacts -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Contacts -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_contactsNotModified](../constructors/contacts_contactsNotModified.md) - -[contacts\_contacts](../constructors/contacts_contacts.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->getContacts](../methods/contacts_getContacts.md) - - - diff --git a/old_docs/API_docs_v100/types/contacts_Found.md b/old_docs/API_docs_v100/types/contacts_Found.md deleted file mode 100644 index 806101cf..00000000 --- a/old_docs/API_docs_v100/types/contacts_Found.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_Found -description: constructors and methods of type contacts_Found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Found -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_found](../constructors/contacts_found.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->search](../methods/contacts_search.md) - - - diff --git a/old_docs/API_docs_v100/types/contacts_ImportedContacts.md b/old_docs/API_docs_v100/types/contacts_ImportedContacts.md deleted file mode 100644 index faf7e615..00000000 --- a/old_docs/API_docs_v100/types/contacts_ImportedContacts.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_ImportedContacts -description: constructors and methods of type contacts_ImportedContacts -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_ImportedContacts -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_importedContacts](../constructors/contacts_importedContacts.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->importContacts](../methods/contacts_importContacts.md) - - - diff --git a/old_docs/API_docs_v100/types/contacts_Link.md b/old_docs/API_docs_v100/types/contacts_Link.md deleted file mode 100644 index 01556606..00000000 --- a/old_docs/API_docs_v100/types/contacts_Link.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_Link -description: constructors and methods of type contacts_Link -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Link -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_link](../constructors/contacts_link.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->deleteContact](../methods/contacts_deleteContact.md) - - - diff --git a/old_docs/API_docs_v100/types/contacts_ResolvedPeer.md b/old_docs/API_docs_v100/types/contacts_ResolvedPeer.md deleted file mode 100644 index cf107f7c..00000000 --- a/old_docs/API_docs_v100/types/contacts_ResolvedPeer.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_ResolvedPeer -description: constructors and methods of type contacts_ResolvedPeer -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_ResolvedPeer -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_resolvedPeer](../constructors/contacts_resolvedPeer.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->resolveUsername](../methods/contacts_resolveUsername.md) - - - diff --git a/old_docs/API_docs_v100/types/contacts_TopPeers.md b/old_docs/API_docs_v100/types/contacts_TopPeers.md deleted file mode 100644 index dc8ee478..00000000 --- a/old_docs/API_docs_v100/types/contacts_TopPeers.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: contacts_TopPeers -description: constructors and methods of type contacts_TopPeers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_TopPeers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_topPeersNotModified](../constructors/contacts_topPeersNotModified.md) - -[contacts\_topPeers](../constructors/contacts_topPeers.md) - -[contacts\_topPeersDisabled](../constructors/contacts_topPeersDisabled.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->getTopPeers](../methods/contacts_getTopPeers.md) - - - diff --git a/old_docs/API_docs_v100/types/help.AppUpdate.md b/old_docs/API_docs_v100/types/help.AppUpdate.md new file mode 100644 index 00000000..285ec2b7 --- /dev/null +++ b/old_docs/API_docs_v100/types/help.AppUpdate.md @@ -0,0 +1,24 @@ +--- +title: help.AppUpdate +description: constructors and methods of type help.AppUpdate +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.AppUpdate +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.appUpdate](../constructors/help.appUpdate.md) + +[help.noAppUpdate](../constructors/help.noAppUpdate.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getAppUpdate](../methods/help.getAppUpdate.md) + + + diff --git a/old_docs/API_docs_v100/types/help.ConfigSimple.md b/old_docs/API_docs_v100/types/help.ConfigSimple.md new file mode 100644 index 00000000..92d9e15f --- /dev/null +++ b/old_docs/API_docs_v100/types/help.ConfigSimple.md @@ -0,0 +1,20 @@ +--- +title: help.ConfigSimple +description: constructors and methods of type help.ConfigSimple +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.ConfigSimple +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.configSimple](../constructors/help.configSimple.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v100/types/help.DeepLinkInfo.md b/old_docs/API_docs_v100/types/help.DeepLinkInfo.md new file mode 100644 index 00000000..356af1c4 --- /dev/null +++ b/old_docs/API_docs_v100/types/help.DeepLinkInfo.md @@ -0,0 +1,24 @@ +--- +title: help.DeepLinkInfo +description: constructors and methods of type help.DeepLinkInfo +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.DeepLinkInfo +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.deepLinkInfoEmpty](../constructors/help.deepLinkInfoEmpty.md) + +[help.deepLinkInfo](../constructors/help.deepLinkInfo.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getDeepLinkInfo](../methods/help.getDeepLinkInfo.md) + + + diff --git a/old_docs/API_docs_v100/types/help.InviteText.md b/old_docs/API_docs_v100/types/help.InviteText.md new file mode 100644 index 00000000..43293f46 --- /dev/null +++ b/old_docs/API_docs_v100/types/help.InviteText.md @@ -0,0 +1,22 @@ +--- +title: help.InviteText +description: constructors and methods of type help.InviteText +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.InviteText +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.inviteText](../constructors/help.inviteText.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getInviteText](../methods/help.getInviteText.md) + + + diff --git a/old_docs/API_docs_v100/types/help.PassportConfig.md b/old_docs/API_docs_v100/types/help.PassportConfig.md new file mode 100644 index 00000000..15eb12cc --- /dev/null +++ b/old_docs/API_docs_v100/types/help.PassportConfig.md @@ -0,0 +1,24 @@ +--- +title: help.PassportConfig +description: constructors and methods of type help.PassportConfig +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.PassportConfig +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.passportConfigNotModified](../constructors/help.passportConfigNotModified.md) + +[help.passportConfig](../constructors/help.passportConfig.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getPassportConfig](../methods/help.getPassportConfig.md) + + + diff --git a/old_docs/API_docs_v100/types/help.ProxyData.md b/old_docs/API_docs_v100/types/help.ProxyData.md new file mode 100644 index 00000000..e45b4211 --- /dev/null +++ b/old_docs/API_docs_v100/types/help.ProxyData.md @@ -0,0 +1,24 @@ +--- +title: help.ProxyData +description: constructors and methods of type help.ProxyData +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.ProxyData +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.proxyDataEmpty](../constructors/help.proxyDataEmpty.md) + +[help.proxyDataPromo](../constructors/help.proxyDataPromo.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getProxyData](../methods/help.getProxyData.md) + + + diff --git a/old_docs/API_docs_v100/types/help.RecentMeUrls.md b/old_docs/API_docs_v100/types/help.RecentMeUrls.md new file mode 100644 index 00000000..6b7ee2c1 --- /dev/null +++ b/old_docs/API_docs_v100/types/help.RecentMeUrls.md @@ -0,0 +1,22 @@ +--- +title: help.RecentMeUrls +description: constructors and methods of type help.RecentMeUrls +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.RecentMeUrls +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.recentMeUrls](../constructors/help.recentMeUrls.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getRecentMeUrls](../methods/help.getRecentMeUrls.md) + + + diff --git a/old_docs/API_docs_v100/types/help.Support.md b/old_docs/API_docs_v100/types/help.Support.md new file mode 100644 index 00000000..42c20483 --- /dev/null +++ b/old_docs/API_docs_v100/types/help.Support.md @@ -0,0 +1,22 @@ +--- +title: help.Support +description: constructors and methods of type help.Support +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.Support +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.support](../constructors/help.support.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getSupport](../methods/help.getSupport.md) + + + diff --git a/old_docs/API_docs_v100/types/help.SupportName.md b/old_docs/API_docs_v100/types/help.SupportName.md new file mode 100644 index 00000000..7f68199a --- /dev/null +++ b/old_docs/API_docs_v100/types/help.SupportName.md @@ -0,0 +1,22 @@ +--- +title: help.SupportName +description: constructors and methods of type help.SupportName +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.SupportName +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.supportName](../constructors/help.supportName.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getSupportName](../methods/help.getSupportName.md) + + + diff --git a/old_docs/API_docs_v100/types/help.TermsOfService.md b/old_docs/API_docs_v100/types/help.TermsOfService.md new file mode 100644 index 00000000..d4d091e1 --- /dev/null +++ b/old_docs/API_docs_v100/types/help.TermsOfService.md @@ -0,0 +1,20 @@ +--- +title: help.TermsOfService +description: constructors and methods of type help.TermsOfService +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.TermsOfService +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.termsOfService](../constructors/help.termsOfService.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v100/types/help.TermsOfServiceUpdate.md b/old_docs/API_docs_v100/types/help.TermsOfServiceUpdate.md new file mode 100644 index 00000000..e27b3c71 --- /dev/null +++ b/old_docs/API_docs_v100/types/help.TermsOfServiceUpdate.md @@ -0,0 +1,24 @@ +--- +title: help.TermsOfServiceUpdate +description: constructors and methods of type help.TermsOfServiceUpdate +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.TermsOfServiceUpdate +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.termsOfServiceUpdateEmpty](../constructors/help.termsOfServiceUpdateEmpty.md) + +[help.termsOfServiceUpdate](../constructors/help.termsOfServiceUpdate.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getTermsOfServiceUpdate](../methods/help.getTermsOfServiceUpdate.md) + + + diff --git a/old_docs/API_docs_v100/types/help.UserInfo.md b/old_docs/API_docs_v100/types/help.UserInfo.md new file mode 100644 index 00000000..9d91ee40 --- /dev/null +++ b/old_docs/API_docs_v100/types/help.UserInfo.md @@ -0,0 +1,26 @@ +--- +title: help.UserInfo +description: constructors and methods of type help.UserInfo +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.UserInfo +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.userInfoEmpty](../constructors/help.userInfoEmpty.md) + +[help.userInfo](../constructors/help.userInfo.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getUserInfo](../methods/help.getUserInfo.md) + +[$MadelineProto->help->editUserInfo](../methods/help.editUserInfo.md) + + + diff --git a/old_docs/API_docs_v100/types/help_AppUpdate.md b/old_docs/API_docs_v100/types/help_AppUpdate.md deleted file mode 100644 index 1f296a70..00000000 --- a/old_docs/API_docs_v100/types/help_AppUpdate.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: help_AppUpdate -description: constructors and methods of type help_AppUpdate -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_AppUpdate -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_appUpdate](../constructors/help_appUpdate.md) - -[help\_noAppUpdate](../constructors/help_noAppUpdate.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getAppUpdate](../methods/help_getAppUpdate.md) - - - diff --git a/old_docs/API_docs_v100/types/help_ConfigSimple.md b/old_docs/API_docs_v100/types/help_ConfigSimple.md deleted file mode 100644 index 81678d74..00000000 --- a/old_docs/API_docs_v100/types/help_ConfigSimple.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: help_ConfigSimple -description: constructors and methods of type help_ConfigSimple -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_ConfigSimple -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_configSimple](../constructors/help_configSimple.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v100/types/help_DeepLinkInfo.md b/old_docs/API_docs_v100/types/help_DeepLinkInfo.md deleted file mode 100644 index 776e8e09..00000000 --- a/old_docs/API_docs_v100/types/help_DeepLinkInfo.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: help_DeepLinkInfo -description: constructors and methods of type help_DeepLinkInfo -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_DeepLinkInfo -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_deepLinkInfoEmpty](../constructors/help_deepLinkInfoEmpty.md) - -[help\_deepLinkInfo](../constructors/help_deepLinkInfo.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getDeepLinkInfo](../methods/help_getDeepLinkInfo.md) - - - diff --git a/old_docs/API_docs_v100/types/help_InviteText.md b/old_docs/API_docs_v100/types/help_InviteText.md deleted file mode 100644 index 018d35bf..00000000 --- a/old_docs/API_docs_v100/types/help_InviteText.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: help_InviteText -description: constructors and methods of type help_InviteText -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_InviteText -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_inviteText](../constructors/help_inviteText.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getInviteText](../methods/help_getInviteText.md) - - - diff --git a/old_docs/API_docs_v100/types/help_PassportConfig.md b/old_docs/API_docs_v100/types/help_PassportConfig.md deleted file mode 100644 index e03abab7..00000000 --- a/old_docs/API_docs_v100/types/help_PassportConfig.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: help_PassportConfig -description: constructors and methods of type help_PassportConfig -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_PassportConfig -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_passportConfigNotModified](../constructors/help_passportConfigNotModified.md) - -[help\_passportConfig](../constructors/help_passportConfig.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getPassportConfig](../methods/help_getPassportConfig.md) - - - diff --git a/old_docs/API_docs_v100/types/help_ProxyData.md b/old_docs/API_docs_v100/types/help_ProxyData.md deleted file mode 100644 index 1bc6839e..00000000 --- a/old_docs/API_docs_v100/types/help_ProxyData.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: help_ProxyData -description: constructors and methods of type help_ProxyData -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_ProxyData -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_proxyDataEmpty](../constructors/help_proxyDataEmpty.md) - -[help\_proxyDataPromo](../constructors/help_proxyDataPromo.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getProxyData](../methods/help_getProxyData.md) - - - diff --git a/old_docs/API_docs_v100/types/help_RecentMeUrls.md b/old_docs/API_docs_v100/types/help_RecentMeUrls.md deleted file mode 100644 index 691af1c3..00000000 --- a/old_docs/API_docs_v100/types/help_RecentMeUrls.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: help_RecentMeUrls -description: constructors and methods of type help_RecentMeUrls -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_RecentMeUrls -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_recentMeUrls](../constructors/help_recentMeUrls.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getRecentMeUrls](../methods/help_getRecentMeUrls.md) - - - diff --git a/old_docs/API_docs_v100/types/help_Support.md b/old_docs/API_docs_v100/types/help_Support.md deleted file mode 100644 index 26de447b..00000000 --- a/old_docs/API_docs_v100/types/help_Support.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: help_Support -description: constructors and methods of type help_Support -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_Support -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_support](../constructors/help_support.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getSupport](../methods/help_getSupport.md) - - - diff --git a/old_docs/API_docs_v100/types/help_SupportName.md b/old_docs/API_docs_v100/types/help_SupportName.md deleted file mode 100644 index e89309a2..00000000 --- a/old_docs/API_docs_v100/types/help_SupportName.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: help_SupportName -description: constructors and methods of type help_SupportName -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_SupportName -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_supportName](../constructors/help_supportName.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getSupportName](../methods/help_getSupportName.md) - - - diff --git a/old_docs/API_docs_v100/types/help_TermsOfService.md b/old_docs/API_docs_v100/types/help_TermsOfService.md deleted file mode 100644 index 24f8eb68..00000000 --- a/old_docs/API_docs_v100/types/help_TermsOfService.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: help_TermsOfService -description: constructors and methods of type help_TermsOfService -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_TermsOfService -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_termsOfService](../constructors/help_termsOfService.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v100/types/help_TermsOfServiceUpdate.md b/old_docs/API_docs_v100/types/help_TermsOfServiceUpdate.md deleted file mode 100644 index 0e4f1ef2..00000000 --- a/old_docs/API_docs_v100/types/help_TermsOfServiceUpdate.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: help_TermsOfServiceUpdate -description: constructors and methods of type help_TermsOfServiceUpdate -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_TermsOfServiceUpdate -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_termsOfServiceUpdateEmpty](../constructors/help_termsOfServiceUpdateEmpty.md) - -[help\_termsOfServiceUpdate](../constructors/help_termsOfServiceUpdate.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getTermsOfServiceUpdate](../methods/help_getTermsOfServiceUpdate.md) - - - diff --git a/old_docs/API_docs_v100/types/help_UserInfo.md b/old_docs/API_docs_v100/types/help_UserInfo.md deleted file mode 100644 index 87ca4327..00000000 --- a/old_docs/API_docs_v100/types/help_UserInfo.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: help_UserInfo -description: constructors and methods of type help_UserInfo -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_UserInfo -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_userInfoEmpty](../constructors/help_userInfoEmpty.md) - -[help\_userInfo](../constructors/help_userInfo.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getUserInfo](../methods/help_getUserInfo.md) - -[$MadelineProto->help->editUserInfo](../methods/help_editUserInfo.md) - - - diff --git a/old_docs/API_docs_v100/types/messages.AffectedHistory.md b/old_docs/API_docs_v100/types/messages.AffectedHistory.md new file mode 100644 index 00000000..8a1e850a --- /dev/null +++ b/old_docs/API_docs_v100/types/messages.AffectedHistory.md @@ -0,0 +1,26 @@ +--- +title: messages.AffectedHistory +description: constructors and methods of type messages.AffectedHistory +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.AffectedHistory +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.affectedHistory](../constructors/messages.affectedHistory.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->deleteHistory](../methods/messages.deleteHistory.md) + +[$MadelineProto->messages->readMentions](../methods/messages.readMentions.md) + +[$MadelineProto->channels->deleteUserHistory](../methods/channels.deleteUserHistory.md) + + + diff --git a/old_docs/API_docs_v100/types/messages.AffectedMessages.md b/old_docs/API_docs_v100/types/messages.AffectedMessages.md new file mode 100644 index 00000000..a9159de3 --- /dev/null +++ b/old_docs/API_docs_v100/types/messages.AffectedMessages.md @@ -0,0 +1,28 @@ +--- +title: messages.AffectedMessages +description: constructors and methods of type messages.AffectedMessages +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.AffectedMessages +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.affectedMessages](../constructors/messages.affectedMessages.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->readHistory](../methods/messages.readHistory.md) + +[$MadelineProto->messages->deleteMessages](../methods/messages.deleteMessages.md) + +[$MadelineProto->messages->readMessageContents](../methods/messages.readMessageContents.md) + +[$MadelineProto->channels->deleteMessages](../methods/channels.deleteMessages.md) + + + diff --git a/old_docs/API_docs_v100/types/messages.AllStickers.md b/old_docs/API_docs_v100/types/messages.AllStickers.md new file mode 100644 index 00000000..fd8565de --- /dev/null +++ b/old_docs/API_docs_v100/types/messages.AllStickers.md @@ -0,0 +1,26 @@ +--- +title: messages.AllStickers +description: constructors and methods of type messages.AllStickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.AllStickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.allStickersNotModified](../constructors/messages.allStickersNotModified.md) + +[messages.allStickers](../constructors/messages.allStickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getAllStickers](../methods/messages.getAllStickers.md) + +[$MadelineProto->messages->getMaskStickers](../methods/messages.getMaskStickers.md) + + + diff --git a/old_docs/API_docs_v100/types/messages.ArchivedStickers.md b/old_docs/API_docs_v100/types/messages.ArchivedStickers.md new file mode 100644 index 00000000..3e017c5d --- /dev/null +++ b/old_docs/API_docs_v100/types/messages.ArchivedStickers.md @@ -0,0 +1,22 @@ +--- +title: messages.ArchivedStickers +description: constructors and methods of type messages.ArchivedStickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.ArchivedStickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.archivedStickers](../constructors/messages.archivedStickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getArchivedStickers](../methods/messages.getArchivedStickers.md) + + + diff --git a/old_docs/API_docs_v100/types/messages.BotCallbackAnswer.md b/old_docs/API_docs_v100/types/messages.BotCallbackAnswer.md new file mode 100644 index 00000000..ef30fbfb --- /dev/null +++ b/old_docs/API_docs_v100/types/messages.BotCallbackAnswer.md @@ -0,0 +1,22 @@ +--- +title: messages.BotCallbackAnswer +description: constructors and methods of type messages.BotCallbackAnswer +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.BotCallbackAnswer +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.botCallbackAnswer](../constructors/messages.botCallbackAnswer.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getBotCallbackAnswer](../methods/messages.getBotCallbackAnswer.md) + + + diff --git a/old_docs/API_docs_v100/types/messages.BotResults.md b/old_docs/API_docs_v100/types/messages.BotResults.md new file mode 100644 index 00000000..76ee2b99 --- /dev/null +++ b/old_docs/API_docs_v100/types/messages.BotResults.md @@ -0,0 +1,22 @@ +--- +title: messages.BotResults +description: constructors and methods of type messages.BotResults +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.BotResults +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.botResults](../constructors/messages.botResults.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getInlineBotResults](../methods/messages.getInlineBotResults.md) + + + diff --git a/old_docs/API_docs_v100/types/messages.ChatFull.md b/old_docs/API_docs_v100/types/messages.ChatFull.md new file mode 100644 index 00000000..3ad38748 --- /dev/null +++ b/old_docs/API_docs_v100/types/messages.ChatFull.md @@ -0,0 +1,24 @@ +--- +title: messages.ChatFull +description: constructors and methods of type messages.ChatFull +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.ChatFull +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.chatFull](../constructors/messages.chatFull.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getFullChat](../methods/messages.getFullChat.md) + +[$MadelineProto->channels->getFullChannel](../methods/channels.getFullChannel.md) + + + diff --git a/old_docs/API_docs_v100/types/messages.Chats.md b/old_docs/API_docs_v100/types/messages.Chats.md new file mode 100644 index 00000000..8b250035 --- /dev/null +++ b/old_docs/API_docs_v100/types/messages.Chats.md @@ -0,0 +1,38 @@ +--- +title: messages.Chats +description: constructors and methods of type messages.Chats +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Chats +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.chats](../constructors/messages.chats.md) + +[messages.chatsSlice](../constructors/messages.chatsSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getChats](../methods/messages.getChats.md) + +[$MadelineProto->messages->getCommonChats](../methods/messages.getCommonChats.md) + +[$MadelineProto->messages->getAllChats](../methods/messages.getAllChats.md) + +[$MadelineProto->channels->getChannels](../methods/channels.getChannels.md) + +[$MadelineProto->channels->getAdminedPublicChannels](../methods/channels.getAdminedPublicChannels.md) + +[$MadelineProto->channels->getLeftChannels](../methods/channels.getLeftChannels.md) + +[$MadelineProto->channels->getGroupsForDiscussion](../methods/channels.getGroupsForDiscussion.md) + +[$MadelineProto->channels->getBroadcastsForDiscussion](../methods/channels.getBroadcastsForDiscussion.md) + + + diff --git a/old_docs/API_docs_v100/types/messages.DhConfig.md b/old_docs/API_docs_v100/types/messages.DhConfig.md new file mode 100644 index 00000000..77188ab7 --- /dev/null +++ b/old_docs/API_docs_v100/types/messages.DhConfig.md @@ -0,0 +1,24 @@ +--- +title: messages.DhConfig +description: constructors and methods of type messages.DhConfig +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.DhConfig +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.dhConfigNotModified](../constructors/messages.dhConfigNotModified.md) + +[messages.dhConfig](../constructors/messages.dhConfig.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getDhConfig](../methods/messages.getDhConfig.md) + + + diff --git a/old_docs/API_docs_v100/types/messages.Dialogs.md b/old_docs/API_docs_v100/types/messages.Dialogs.md new file mode 100644 index 00000000..e14885b1 --- /dev/null +++ b/old_docs/API_docs_v100/types/messages.Dialogs.md @@ -0,0 +1,26 @@ +--- +title: messages.Dialogs +description: constructors and methods of type messages.Dialogs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Dialogs +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.dialogs](../constructors/messages.dialogs.md) + +[messages.dialogsSlice](../constructors/messages.dialogsSlice.md) + +[messages.dialogsNotModified](../constructors/messages.dialogsNotModified.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getDialogs](../methods/messages.getDialogs.md) + + + diff --git a/old_docs/API_docs_v100/types/messages.FavedStickers.md b/old_docs/API_docs_v100/types/messages.FavedStickers.md new file mode 100644 index 00000000..3edc863b --- /dev/null +++ b/old_docs/API_docs_v100/types/messages.FavedStickers.md @@ -0,0 +1,24 @@ +--- +title: messages.FavedStickers +description: constructors and methods of type messages.FavedStickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.FavedStickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.favedStickersNotModified](../constructors/messages.favedStickersNotModified.md) + +[messages.favedStickers](../constructors/messages.favedStickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getFavedStickers](../methods/messages.getFavedStickers.md) + + + diff --git a/old_docs/API_docs_v100/types/messages.FeaturedStickers.md b/old_docs/API_docs_v100/types/messages.FeaturedStickers.md new file mode 100644 index 00000000..06ed87bb --- /dev/null +++ b/old_docs/API_docs_v100/types/messages.FeaturedStickers.md @@ -0,0 +1,24 @@ +--- +title: messages.FeaturedStickers +description: constructors and methods of type messages.FeaturedStickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.FeaturedStickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.featuredStickersNotModified](../constructors/messages.featuredStickersNotModified.md) + +[messages.featuredStickers](../constructors/messages.featuredStickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getFeaturedStickers](../methods/messages.getFeaturedStickers.md) + + + diff --git a/old_docs/API_docs_v100/types/messages.FoundGifs.md b/old_docs/API_docs_v100/types/messages.FoundGifs.md new file mode 100644 index 00000000..b5176a5d --- /dev/null +++ b/old_docs/API_docs_v100/types/messages.FoundGifs.md @@ -0,0 +1,22 @@ +--- +title: messages.FoundGifs +description: constructors and methods of type messages.FoundGifs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.FoundGifs +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.foundGifs](../constructors/messages.foundGifs.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->searchGifs](../methods/messages.searchGifs.md) + + + diff --git a/old_docs/API_docs_v100/types/messages.FoundStickerSets.md b/old_docs/API_docs_v100/types/messages.FoundStickerSets.md new file mode 100644 index 00000000..eb6eb284 --- /dev/null +++ b/old_docs/API_docs_v100/types/messages.FoundStickerSets.md @@ -0,0 +1,24 @@ +--- +title: messages.FoundStickerSets +description: constructors and methods of type messages.FoundStickerSets +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.FoundStickerSets +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.foundStickerSetsNotModified](../constructors/messages.foundStickerSetsNotModified.md) + +[messages.foundStickerSets](../constructors/messages.foundStickerSets.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->searchStickerSets](../methods/messages.searchStickerSets.md) + + + diff --git a/old_docs/API_docs_v100/types/messages.HighScores.md b/old_docs/API_docs_v100/types/messages.HighScores.md new file mode 100644 index 00000000..eae9db66 --- /dev/null +++ b/old_docs/API_docs_v100/types/messages.HighScores.md @@ -0,0 +1,24 @@ +--- +title: messages.HighScores +description: constructors and methods of type messages.HighScores +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.HighScores +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.highScores](../constructors/messages.highScores.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getGameHighScores](../methods/messages.getGameHighScores.md) + +[$MadelineProto->messages->getInlineGameHighScores](../methods/messages.getInlineGameHighScores.md) + + + diff --git a/old_docs/API_docs_v100/types/messages.MessageEditData.md b/old_docs/API_docs_v100/types/messages.MessageEditData.md new file mode 100644 index 00000000..feb572f1 --- /dev/null +++ b/old_docs/API_docs_v100/types/messages.MessageEditData.md @@ -0,0 +1,22 @@ +--- +title: messages.MessageEditData +description: constructors and methods of type messages.MessageEditData +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.MessageEditData +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.messageEditData](../constructors/messages.messageEditData.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getMessageEditData](../methods/messages.getMessageEditData.md) + + + diff --git a/old_docs/API_docs_v100/types/messages.Messages.md b/old_docs/API_docs_v100/types/messages.Messages.md new file mode 100644 index 00000000..699ceada --- /dev/null +++ b/old_docs/API_docs_v100/types/messages.Messages.md @@ -0,0 +1,40 @@ +--- +title: messages.Messages +description: constructors and methods of type messages.Messages +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Messages +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.messages](../constructors/messages.messages.md) + +[messages.messagesSlice](../constructors/messages.messagesSlice.md) + +[messages.channelMessages](../constructors/messages.channelMessages.md) + +[messages.messagesNotModified](../constructors/messages.messagesNotModified.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getMessages](../methods/messages.getMessages.md) + +[$MadelineProto->messages->getHistory](../methods/messages.getHistory.md) + +[$MadelineProto->messages->search](../methods/messages.search.md) + +[$MadelineProto->messages->searchGlobal](../methods/messages.searchGlobal.md) + +[$MadelineProto->messages->getUnreadMentions](../methods/messages.getUnreadMentions.md) + +[$MadelineProto->messages->getRecentLocations](../methods/messages.getRecentLocations.md) + +[$MadelineProto->channels->getMessages](../methods/channels.getMessages.md) + + + diff --git a/old_docs/API_docs_v100/types/messages.PeerDialogs.md b/old_docs/API_docs_v100/types/messages.PeerDialogs.md new file mode 100644 index 00000000..9a1ceaf0 --- /dev/null +++ b/old_docs/API_docs_v100/types/messages.PeerDialogs.md @@ -0,0 +1,24 @@ +--- +title: messages.PeerDialogs +description: constructors and methods of type messages.PeerDialogs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.PeerDialogs +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.peerDialogs](../constructors/messages.peerDialogs.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getPeerDialogs](../methods/messages.getPeerDialogs.md) + +[$MadelineProto->messages->getPinnedDialogs](../methods/messages.getPinnedDialogs.md) + + + diff --git a/old_docs/API_docs_v100/types/messages.RecentStickers.md b/old_docs/API_docs_v100/types/messages.RecentStickers.md new file mode 100644 index 00000000..e5c49b92 --- /dev/null +++ b/old_docs/API_docs_v100/types/messages.RecentStickers.md @@ -0,0 +1,24 @@ +--- +title: messages.RecentStickers +description: constructors and methods of type messages.RecentStickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.RecentStickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.recentStickersNotModified](../constructors/messages.recentStickersNotModified.md) + +[messages.recentStickers](../constructors/messages.recentStickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getRecentStickers](../methods/messages.getRecentStickers.md) + + + diff --git a/old_docs/API_docs_v100/types/messages.SavedGifs.md b/old_docs/API_docs_v100/types/messages.SavedGifs.md new file mode 100644 index 00000000..99844c98 --- /dev/null +++ b/old_docs/API_docs_v100/types/messages.SavedGifs.md @@ -0,0 +1,24 @@ +--- +title: messages.SavedGifs +description: constructors and methods of type messages.SavedGifs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.SavedGifs +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.savedGifsNotModified](../constructors/messages.savedGifsNotModified.md) + +[messages.savedGifs](../constructors/messages.savedGifs.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getSavedGifs](../methods/messages.getSavedGifs.md) + + + diff --git a/old_docs/API_docs_v100/types/messages.SearchCounter.md b/old_docs/API_docs_v100/types/messages.SearchCounter.md new file mode 100644 index 00000000..d2194858 --- /dev/null +++ b/old_docs/API_docs_v100/types/messages.SearchCounter.md @@ -0,0 +1,22 @@ +--- +title: messages.SearchCounter +description: constructors and methods of type messages.SearchCounter +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.SearchCounter +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.searchCounter](../constructors/messages.searchCounter.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getSearchCounters](../methods/messages.getSearchCounters.md) + + + diff --git a/old_docs/API_docs_v100/types/messages.SentEncryptedMessage.md b/old_docs/API_docs_v100/types/messages.SentEncryptedMessage.md new file mode 100644 index 00000000..b6d05b1f --- /dev/null +++ b/old_docs/API_docs_v100/types/messages.SentEncryptedMessage.md @@ -0,0 +1,28 @@ +--- +title: messages.SentEncryptedMessage +description: constructors and methods of type messages.SentEncryptedMessage +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.SentEncryptedMessage +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.sentEncryptedMessage](../constructors/messages.sentEncryptedMessage.md) + +[messages.sentEncryptedFile](../constructors/messages.sentEncryptedFile.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->sendEncrypted](../methods/messages.sendEncrypted.md) + +[$MadelineProto->messages->sendEncryptedFile](../methods/messages.sendEncryptedFile.md) + +[$MadelineProto->messages->sendEncryptedService](../methods/messages.sendEncryptedService.md) + + + diff --git a/old_docs/API_docs_v100/types/messages.StickerSet.md b/old_docs/API_docs_v100/types/messages.StickerSet.md new file mode 100644 index 00000000..e173fe45 --- /dev/null +++ b/old_docs/API_docs_v100/types/messages.StickerSet.md @@ -0,0 +1,30 @@ +--- +title: messages.StickerSet +description: constructors and methods of type messages.StickerSet +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.StickerSet +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.stickerSet](../constructors/messages.stickerSet.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getStickerSet](../methods/messages.getStickerSet.md) + +[$MadelineProto->stickers->createStickerSet](../methods/stickers.createStickerSet.md) + +[$MadelineProto->stickers->removeStickerFromSet](../methods/stickers.removeStickerFromSet.md) + +[$MadelineProto->stickers->changeStickerPosition](../methods/stickers.changeStickerPosition.md) + +[$MadelineProto->stickers->addStickerToSet](../methods/stickers.addStickerToSet.md) + + + diff --git a/old_docs/API_docs_v100/types/messages.StickerSetInstallResult.md b/old_docs/API_docs_v100/types/messages.StickerSetInstallResult.md new file mode 100644 index 00000000..9e09c293 --- /dev/null +++ b/old_docs/API_docs_v100/types/messages.StickerSetInstallResult.md @@ -0,0 +1,24 @@ +--- +title: messages.StickerSetInstallResult +description: constructors and methods of type messages.StickerSetInstallResult +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.StickerSetInstallResult +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.stickerSetInstallResultSuccess](../constructors/messages.stickerSetInstallResultSuccess.md) + +[messages.stickerSetInstallResultArchive](../constructors/messages.stickerSetInstallResultArchive.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->installStickerSet](../methods/messages.installStickerSet.md) + + + diff --git a/old_docs/API_docs_v100/types/messages.Stickers.md b/old_docs/API_docs_v100/types/messages.Stickers.md new file mode 100644 index 00000000..43bddf06 --- /dev/null +++ b/old_docs/API_docs_v100/types/messages.Stickers.md @@ -0,0 +1,24 @@ +--- +title: messages.Stickers +description: constructors and methods of type messages.Stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Stickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.stickersNotModified](../constructors/messages.stickersNotModified.md) + +[messages.stickers](../constructors/messages.stickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getStickers](../methods/messages.getStickers.md) + + + diff --git a/old_docs/API_docs_v100/types/messages_AffectedHistory.md b/old_docs/API_docs_v100/types/messages_AffectedHistory.md deleted file mode 100644 index 9eef04c0..00000000 --- a/old_docs/API_docs_v100/types/messages_AffectedHistory.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: messages_AffectedHistory -description: constructors and methods of type messages_AffectedHistory -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_AffectedHistory -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_affectedHistory](../constructors/messages_affectedHistory.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->deleteHistory](../methods/messages_deleteHistory.md) - -[$MadelineProto->messages->readMentions](../methods/messages_readMentions.md) - -[$MadelineProto->channels->deleteUserHistory](../methods/channels_deleteUserHistory.md) - - - diff --git a/old_docs/API_docs_v100/types/messages_AffectedMessages.md b/old_docs/API_docs_v100/types/messages_AffectedMessages.md deleted file mode 100644 index dcbea721..00000000 --- a/old_docs/API_docs_v100/types/messages_AffectedMessages.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: messages_AffectedMessages -description: constructors and methods of type messages_AffectedMessages -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_AffectedMessages -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_affectedMessages](../constructors/messages_affectedMessages.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->readHistory](../methods/messages_readHistory.md) - -[$MadelineProto->messages->deleteMessages](../methods/messages_deleteMessages.md) - -[$MadelineProto->messages->readMessageContents](../methods/messages_readMessageContents.md) - -[$MadelineProto->channels->deleteMessages](../methods/channels_deleteMessages.md) - - - diff --git a/old_docs/API_docs_v100/types/messages_AllStickers.md b/old_docs/API_docs_v100/types/messages_AllStickers.md deleted file mode 100644 index b6a322e0..00000000 --- a/old_docs/API_docs_v100/types/messages_AllStickers.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: messages_AllStickers -description: constructors and methods of type messages_AllStickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_AllStickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_allStickersNotModified](../constructors/messages_allStickersNotModified.md) - -[messages\_allStickers](../constructors/messages_allStickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getAllStickers](../methods/messages_getAllStickers.md) - -[$MadelineProto->messages->getMaskStickers](../methods/messages_getMaskStickers.md) - - - diff --git a/old_docs/API_docs_v100/types/messages_ArchivedStickers.md b/old_docs/API_docs_v100/types/messages_ArchivedStickers.md deleted file mode 100644 index c569675e..00000000 --- a/old_docs/API_docs_v100/types/messages_ArchivedStickers.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_ArchivedStickers -description: constructors and methods of type messages_ArchivedStickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_ArchivedStickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_archivedStickers](../constructors/messages_archivedStickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getArchivedStickers](../methods/messages_getArchivedStickers.md) - - - diff --git a/old_docs/API_docs_v100/types/messages_BotCallbackAnswer.md b/old_docs/API_docs_v100/types/messages_BotCallbackAnswer.md deleted file mode 100644 index f8d424d0..00000000 --- a/old_docs/API_docs_v100/types/messages_BotCallbackAnswer.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_BotCallbackAnswer -description: constructors and methods of type messages_BotCallbackAnswer -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_BotCallbackAnswer -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_botCallbackAnswer](../constructors/messages_botCallbackAnswer.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getBotCallbackAnswer](../methods/messages_getBotCallbackAnswer.md) - - - diff --git a/old_docs/API_docs_v100/types/messages_BotResults.md b/old_docs/API_docs_v100/types/messages_BotResults.md deleted file mode 100644 index c346c5bd..00000000 --- a/old_docs/API_docs_v100/types/messages_BotResults.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_BotResults -description: constructors and methods of type messages_BotResults -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_BotResults -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_botResults](../constructors/messages_botResults.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getInlineBotResults](../methods/messages_getInlineBotResults.md) - - - diff --git a/old_docs/API_docs_v100/types/messages_ChatFull.md b/old_docs/API_docs_v100/types/messages_ChatFull.md deleted file mode 100644 index e4add41e..00000000 --- a/old_docs/API_docs_v100/types/messages_ChatFull.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_ChatFull -description: constructors and methods of type messages_ChatFull -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_ChatFull -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_chatFull](../constructors/messages_chatFull.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getFullChat](../methods/messages_getFullChat.md) - -[$MadelineProto->channels->getFullChannel](../methods/channels_getFullChannel.md) - - - diff --git a/old_docs/API_docs_v100/types/messages_Chats.md b/old_docs/API_docs_v100/types/messages_Chats.md deleted file mode 100644 index 013c261e..00000000 --- a/old_docs/API_docs_v100/types/messages_Chats.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages_Chats -description: constructors and methods of type messages_Chats -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Chats -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_chats](../constructors/messages_chats.md) - -[messages\_chatsSlice](../constructors/messages_chatsSlice.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getChats](../methods/messages_getChats.md) - -[$MadelineProto->messages->getCommonChats](../methods/messages_getCommonChats.md) - -[$MadelineProto->messages->getAllChats](../methods/messages_getAllChats.md) - -[$MadelineProto->channels->getChannels](../methods/channels_getChannels.md) - -[$MadelineProto->channels->getAdminedPublicChannels](../methods/channels_getAdminedPublicChannels.md) - -[$MadelineProto->channels->getLeftChannels](../methods/channels_getLeftChannels.md) - -[$MadelineProto->channels->getGroupsForDiscussion](../methods/channels_getGroupsForDiscussion.md) - -[$MadelineProto->channels->getBroadcastsForDiscussion](../methods/channels_getBroadcastsForDiscussion.md) - - - diff --git a/old_docs/API_docs_v100/types/messages_DhConfig.md b/old_docs/API_docs_v100/types/messages_DhConfig.md deleted file mode 100644 index ce237411..00000000 --- a/old_docs/API_docs_v100/types/messages_DhConfig.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_DhConfig -description: constructors and methods of type messages_DhConfig -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_DhConfig -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_dhConfigNotModified](../constructors/messages_dhConfigNotModified.md) - -[messages\_dhConfig](../constructors/messages_dhConfig.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getDhConfig](../methods/messages_getDhConfig.md) - - - diff --git a/old_docs/API_docs_v100/types/messages_Dialogs.md b/old_docs/API_docs_v100/types/messages_Dialogs.md deleted file mode 100644 index 86d5eb72..00000000 --- a/old_docs/API_docs_v100/types/messages_Dialogs.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: messages_Dialogs -description: constructors and methods of type messages_Dialogs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Dialogs -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_dialogs](../constructors/messages_dialogs.md) - -[messages\_dialogsSlice](../constructors/messages_dialogsSlice.md) - -[messages\_dialogsNotModified](../constructors/messages_dialogsNotModified.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getDialogs](../methods/messages_getDialogs.md) - - - diff --git a/old_docs/API_docs_v100/types/messages_FavedStickers.md b/old_docs/API_docs_v100/types/messages_FavedStickers.md deleted file mode 100644 index 6fa1f221..00000000 --- a/old_docs/API_docs_v100/types/messages_FavedStickers.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_FavedStickers -description: constructors and methods of type messages_FavedStickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_FavedStickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_favedStickersNotModified](../constructors/messages_favedStickersNotModified.md) - -[messages\_favedStickers](../constructors/messages_favedStickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getFavedStickers](../methods/messages_getFavedStickers.md) - - - diff --git a/old_docs/API_docs_v100/types/messages_FeaturedStickers.md b/old_docs/API_docs_v100/types/messages_FeaturedStickers.md deleted file mode 100644 index 9b4c5002..00000000 --- a/old_docs/API_docs_v100/types/messages_FeaturedStickers.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_FeaturedStickers -description: constructors and methods of type messages_FeaturedStickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_FeaturedStickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_featuredStickersNotModified](../constructors/messages_featuredStickersNotModified.md) - -[messages\_featuredStickers](../constructors/messages_featuredStickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getFeaturedStickers](../methods/messages_getFeaturedStickers.md) - - - diff --git a/old_docs/API_docs_v100/types/messages_FoundGifs.md b/old_docs/API_docs_v100/types/messages_FoundGifs.md deleted file mode 100644 index 9dd088ba..00000000 --- a/old_docs/API_docs_v100/types/messages_FoundGifs.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_FoundGifs -description: constructors and methods of type messages_FoundGifs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_FoundGifs -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_foundGifs](../constructors/messages_foundGifs.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->searchGifs](../methods/messages_searchGifs.md) - - - diff --git a/old_docs/API_docs_v100/types/messages_FoundStickerSets.md b/old_docs/API_docs_v100/types/messages_FoundStickerSets.md deleted file mode 100644 index 9045b0d7..00000000 --- a/old_docs/API_docs_v100/types/messages_FoundStickerSets.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_FoundStickerSets -description: constructors and methods of type messages_FoundStickerSets -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_FoundStickerSets -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_foundStickerSetsNotModified](../constructors/messages_foundStickerSetsNotModified.md) - -[messages\_foundStickerSets](../constructors/messages_foundStickerSets.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->searchStickerSets](../methods/messages_searchStickerSets.md) - - - diff --git a/old_docs/API_docs_v100/types/messages_HighScores.md b/old_docs/API_docs_v100/types/messages_HighScores.md deleted file mode 100644 index 9660e255..00000000 --- a/old_docs/API_docs_v100/types/messages_HighScores.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_HighScores -description: constructors and methods of type messages_HighScores -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_HighScores -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_highScores](../constructors/messages_highScores.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getGameHighScores](../methods/messages_getGameHighScores.md) - -[$MadelineProto->messages->getInlineGameHighScores](../methods/messages_getInlineGameHighScores.md) - - - diff --git a/old_docs/API_docs_v100/types/messages_MessageEditData.md b/old_docs/API_docs_v100/types/messages_MessageEditData.md deleted file mode 100644 index ed3c507a..00000000 --- a/old_docs/API_docs_v100/types/messages_MessageEditData.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_MessageEditData -description: constructors and methods of type messages_MessageEditData -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_MessageEditData -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_messageEditData](../constructors/messages_messageEditData.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getMessageEditData](../methods/messages_getMessageEditData.md) - - - diff --git a/old_docs/API_docs_v100/types/messages_Messages.md b/old_docs/API_docs_v100/types/messages_Messages.md deleted file mode 100644 index 35514e90..00000000 --- a/old_docs/API_docs_v100/types/messages_Messages.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages_Messages -description: constructors and methods of type messages_Messages -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Messages -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_messages](../constructors/messages_messages.md) - -[messages\_messagesSlice](../constructors/messages_messagesSlice.md) - -[messages\_channelMessages](../constructors/messages_channelMessages.md) - -[messages\_messagesNotModified](../constructors/messages_messagesNotModified.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getMessages](../methods/messages_getMessages.md) - -[$MadelineProto->messages->getHistory](../methods/messages_getHistory.md) - -[$MadelineProto->messages->search](../methods/messages_search.md) - -[$MadelineProto->messages->searchGlobal](../methods/messages_searchGlobal.md) - -[$MadelineProto->messages->getUnreadMentions](../methods/messages_getUnreadMentions.md) - -[$MadelineProto->messages->getRecentLocations](../methods/messages_getRecentLocations.md) - -[$MadelineProto->channels->getMessages](../methods/channels_getMessages.md) - - - diff --git a/old_docs/API_docs_v100/types/messages_PeerDialogs.md b/old_docs/API_docs_v100/types/messages_PeerDialogs.md deleted file mode 100644 index 2477931f..00000000 --- a/old_docs/API_docs_v100/types/messages_PeerDialogs.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_PeerDialogs -description: constructors and methods of type messages_PeerDialogs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_PeerDialogs -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_peerDialogs](../constructors/messages_peerDialogs.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getPeerDialogs](../methods/messages_getPeerDialogs.md) - -[$MadelineProto->messages->getPinnedDialogs](../methods/messages_getPinnedDialogs.md) - - - diff --git a/old_docs/API_docs_v100/types/messages_RecentStickers.md b/old_docs/API_docs_v100/types/messages_RecentStickers.md deleted file mode 100644 index 2c9db779..00000000 --- a/old_docs/API_docs_v100/types/messages_RecentStickers.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_RecentStickers -description: constructors and methods of type messages_RecentStickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_RecentStickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_recentStickersNotModified](../constructors/messages_recentStickersNotModified.md) - -[messages\_recentStickers](../constructors/messages_recentStickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getRecentStickers](../methods/messages_getRecentStickers.md) - - - diff --git a/old_docs/API_docs_v100/types/messages_SavedGifs.md b/old_docs/API_docs_v100/types/messages_SavedGifs.md deleted file mode 100644 index ffb000aa..00000000 --- a/old_docs/API_docs_v100/types/messages_SavedGifs.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_SavedGifs -description: constructors and methods of type messages_SavedGifs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_SavedGifs -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_savedGifsNotModified](../constructors/messages_savedGifsNotModified.md) - -[messages\_savedGifs](../constructors/messages_savedGifs.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getSavedGifs](../methods/messages_getSavedGifs.md) - - - diff --git a/old_docs/API_docs_v100/types/messages_SearchCounter.md b/old_docs/API_docs_v100/types/messages_SearchCounter.md deleted file mode 100644 index 1ce67b2a..00000000 --- a/old_docs/API_docs_v100/types/messages_SearchCounter.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_SearchCounter -description: constructors and methods of type messages_SearchCounter -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_SearchCounter -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_searchCounter](../constructors/messages_searchCounter.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getSearchCounters](../methods/messages_getSearchCounters.md) - - - diff --git a/old_docs/API_docs_v100/types/messages_SentEncryptedMessage.md b/old_docs/API_docs_v100/types/messages_SentEncryptedMessage.md deleted file mode 100644 index 9f7ab935..00000000 --- a/old_docs/API_docs_v100/types/messages_SentEncryptedMessage.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: messages_SentEncryptedMessage -description: constructors and methods of type messages_SentEncryptedMessage -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_SentEncryptedMessage -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_sentEncryptedMessage](../constructors/messages_sentEncryptedMessage.md) - -[messages\_sentEncryptedFile](../constructors/messages_sentEncryptedFile.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->sendEncrypted](../methods/messages_sendEncrypted.md) - -[$MadelineProto->messages->sendEncryptedFile](../methods/messages_sendEncryptedFile.md) - -[$MadelineProto->messages->sendEncryptedService](../methods/messages_sendEncryptedService.md) - - - diff --git a/old_docs/API_docs_v100/types/messages_StickerSet.md b/old_docs/API_docs_v100/types/messages_StickerSet.md deleted file mode 100644 index 98e34dd2..00000000 --- a/old_docs/API_docs_v100/types/messages_StickerSet.md +++ /dev/null @@ -1,30 +0,0 @@ ---- -title: messages_StickerSet -description: constructors and methods of type messages_StickerSet -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_StickerSet -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_stickerSet](../constructors/messages_stickerSet.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getStickerSet](../methods/messages_getStickerSet.md) - -[$MadelineProto->stickers->createStickerSet](../methods/stickers_createStickerSet.md) - -[$MadelineProto->stickers->removeStickerFromSet](../methods/stickers_removeStickerFromSet.md) - -[$MadelineProto->stickers->changeStickerPosition](../methods/stickers_changeStickerPosition.md) - -[$MadelineProto->stickers->addStickerToSet](../methods/stickers_addStickerToSet.md) - - - diff --git a/old_docs/API_docs_v100/types/messages_StickerSetInstallResult.md b/old_docs/API_docs_v100/types/messages_StickerSetInstallResult.md deleted file mode 100644 index bb62ec11..00000000 --- a/old_docs/API_docs_v100/types/messages_StickerSetInstallResult.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_StickerSetInstallResult -description: constructors and methods of type messages_StickerSetInstallResult -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_StickerSetInstallResult -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_stickerSetInstallResultSuccess](../constructors/messages_stickerSetInstallResultSuccess.md) - -[messages\_stickerSetInstallResultArchive](../constructors/messages_stickerSetInstallResultArchive.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->installStickerSet](../methods/messages_installStickerSet.md) - - - diff --git a/old_docs/API_docs_v100/types/messages_Stickers.md b/old_docs/API_docs_v100/types/messages_Stickers.md deleted file mode 100644 index cf53f57b..00000000 --- a/old_docs/API_docs_v100/types/messages_Stickers.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_Stickers -description: constructors and methods of type messages_Stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Stickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_stickersNotModified](../constructors/messages_stickersNotModified.md) - -[messages\_stickers](../constructors/messages_stickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getStickers](../methods/messages_getStickers.md) - - - diff --git a/old_docs/API_docs_v100/types/payments.PaymentForm.md b/old_docs/API_docs_v100/types/payments.PaymentForm.md new file mode 100644 index 00000000..985c1957 --- /dev/null +++ b/old_docs/API_docs_v100/types/payments.PaymentForm.md @@ -0,0 +1,22 @@ +--- +title: payments.PaymentForm +description: constructors and methods of type payments.PaymentForm +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: payments.PaymentForm +[Back to types index](index.md) + + + +### Possible values (constructors): + +[payments.paymentForm](../constructors/payments.paymentForm.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->payments->getPaymentForm](../methods/payments.getPaymentForm.md) + + + diff --git a/old_docs/API_docs_v100/types/payments.PaymentReceipt.md b/old_docs/API_docs_v100/types/payments.PaymentReceipt.md new file mode 100644 index 00000000..45cebd47 --- /dev/null +++ b/old_docs/API_docs_v100/types/payments.PaymentReceipt.md @@ -0,0 +1,22 @@ +--- +title: payments.PaymentReceipt +description: constructors and methods of type payments.PaymentReceipt +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: payments.PaymentReceipt +[Back to types index](index.md) + + + +### Possible values (constructors): + +[payments.paymentReceipt](../constructors/payments.paymentReceipt.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->payments->getPaymentReceipt](../methods/payments.getPaymentReceipt.md) + + + diff --git a/old_docs/API_docs_v100/types/payments.PaymentResult.md b/old_docs/API_docs_v100/types/payments.PaymentResult.md new file mode 100644 index 00000000..9bbff9af --- /dev/null +++ b/old_docs/API_docs_v100/types/payments.PaymentResult.md @@ -0,0 +1,24 @@ +--- +title: payments.PaymentResult +description: constructors and methods of type payments.PaymentResult +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: payments.PaymentResult +[Back to types index](index.md) + + + +### Possible values (constructors): + +[payments.paymentResult](../constructors/payments.paymentResult.md) + +[payments.paymentVerficationNeeded](../constructors/payments.paymentVerficationNeeded.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->payments->sendPaymentForm](../methods/payments.sendPaymentForm.md) + + + diff --git a/old_docs/API_docs_v100/types/payments.SavedInfo.md b/old_docs/API_docs_v100/types/payments.SavedInfo.md new file mode 100644 index 00000000..cf7be16c --- /dev/null +++ b/old_docs/API_docs_v100/types/payments.SavedInfo.md @@ -0,0 +1,22 @@ +--- +title: payments.SavedInfo +description: constructors and methods of type payments.SavedInfo +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: payments.SavedInfo +[Back to types index](index.md) + + + +### Possible values (constructors): + +[payments.savedInfo](../constructors/payments.savedInfo.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->payments->getSavedInfo](../methods/payments.getSavedInfo.md) + + + diff --git a/old_docs/API_docs_v100/types/payments.ValidatedRequestedInfo.md b/old_docs/API_docs_v100/types/payments.ValidatedRequestedInfo.md new file mode 100644 index 00000000..653a5064 --- /dev/null +++ b/old_docs/API_docs_v100/types/payments.ValidatedRequestedInfo.md @@ -0,0 +1,22 @@ +--- +title: payments.ValidatedRequestedInfo +description: constructors and methods of type payments.ValidatedRequestedInfo +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: payments.ValidatedRequestedInfo +[Back to types index](index.md) + + + +### Possible values (constructors): + +[payments.validatedRequestedInfo](../constructors/payments.validatedRequestedInfo.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->payments->validateRequestedInfo](../methods/payments.validateRequestedInfo.md) + + + diff --git a/old_docs/API_docs_v100/types/payments_PaymentForm.md b/old_docs/API_docs_v100/types/payments_PaymentForm.md deleted file mode 100644 index 4662586d..00000000 --- a/old_docs/API_docs_v100/types/payments_PaymentForm.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: payments_PaymentForm -description: constructors and methods of type payments_PaymentForm -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: payments\_PaymentForm -[Back to types index](index.md) - - - -### Possible values (constructors): - -[payments\_paymentForm](../constructors/payments_paymentForm.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->payments->getPaymentForm](../methods/payments_getPaymentForm.md) - - - diff --git a/old_docs/API_docs_v100/types/payments_PaymentReceipt.md b/old_docs/API_docs_v100/types/payments_PaymentReceipt.md deleted file mode 100644 index b4770d2a..00000000 --- a/old_docs/API_docs_v100/types/payments_PaymentReceipt.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: payments_PaymentReceipt -description: constructors and methods of type payments_PaymentReceipt -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: payments\_PaymentReceipt -[Back to types index](index.md) - - - -### Possible values (constructors): - -[payments\_paymentReceipt](../constructors/payments_paymentReceipt.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->payments->getPaymentReceipt](../methods/payments_getPaymentReceipt.md) - - - diff --git a/old_docs/API_docs_v100/types/payments_PaymentResult.md b/old_docs/API_docs_v100/types/payments_PaymentResult.md deleted file mode 100644 index 3c0ad411..00000000 --- a/old_docs/API_docs_v100/types/payments_PaymentResult.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: payments_PaymentResult -description: constructors and methods of type payments_PaymentResult -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: payments\_PaymentResult -[Back to types index](index.md) - - - -### Possible values (constructors): - -[payments\_paymentResult](../constructors/payments_paymentResult.md) - -[payments\_paymentVerficationNeeded](../constructors/payments_paymentVerficationNeeded.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->payments->sendPaymentForm](../methods/payments_sendPaymentForm.md) - - - diff --git a/old_docs/API_docs_v100/types/payments_SavedInfo.md b/old_docs/API_docs_v100/types/payments_SavedInfo.md deleted file mode 100644 index c8f7b9e3..00000000 --- a/old_docs/API_docs_v100/types/payments_SavedInfo.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: payments_SavedInfo -description: constructors and methods of type payments_SavedInfo -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: payments\_SavedInfo -[Back to types index](index.md) - - - -### Possible values (constructors): - -[payments\_savedInfo](../constructors/payments_savedInfo.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->payments->getSavedInfo](../methods/payments_getSavedInfo.md) - - - diff --git a/old_docs/API_docs_v100/types/payments_ValidatedRequestedInfo.md b/old_docs/API_docs_v100/types/payments_ValidatedRequestedInfo.md deleted file mode 100644 index ff6c4e39..00000000 --- a/old_docs/API_docs_v100/types/payments_ValidatedRequestedInfo.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: payments_ValidatedRequestedInfo -description: constructors and methods of type payments_ValidatedRequestedInfo -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: payments\_ValidatedRequestedInfo -[Back to types index](index.md) - - - -### Possible values (constructors): - -[payments\_validatedRequestedInfo](../constructors/payments_validatedRequestedInfo.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->payments->validateRequestedInfo](../methods/payments_validateRequestedInfo.md) - - - diff --git a/old_docs/API_docs_v100/types/phone.PhoneCall.md b/old_docs/API_docs_v100/types/phone.PhoneCall.md new file mode 100644 index 00000000..db0708e9 --- /dev/null +++ b/old_docs/API_docs_v100/types/phone.PhoneCall.md @@ -0,0 +1,26 @@ +--- +title: phone.PhoneCall +description: constructors and methods of type phone.PhoneCall +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: phone.PhoneCall +[Back to types index](index.md) + + + +### Possible values (constructors): + +[phone.phoneCall](../constructors/phone.phoneCall.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->phone->requestCall](../methods/phone.requestCall.md) + +[$MadelineProto->phone->acceptCall](../methods/phone.acceptCall.md) + +[$MadelineProto->phone->confirmCall](../methods/phone.confirmCall.md) + + + diff --git a/old_docs/API_docs_v100/types/phone_PhoneCall.md b/old_docs/API_docs_v100/types/phone_PhoneCall.md deleted file mode 100644 index 0a49d482..00000000 --- a/old_docs/API_docs_v100/types/phone_PhoneCall.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: phone_PhoneCall -description: constructors and methods of type phone_PhoneCall -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: phone\_PhoneCall -[Back to types index](index.md) - - - -### Possible values (constructors): - -[phone\_phoneCall](../constructors/phone_phoneCall.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->phone->requestCall](../methods/phone_requestCall.md) - -[$MadelineProto->phone->acceptCall](../methods/phone_acceptCall.md) - -[$MadelineProto->phone->confirmCall](../methods/phone_confirmCall.md) - - - diff --git a/old_docs/API_docs_v100/types/photos.Photo.md b/old_docs/API_docs_v100/types/photos.Photo.md new file mode 100644 index 00000000..d60f203c --- /dev/null +++ b/old_docs/API_docs_v100/types/photos.Photo.md @@ -0,0 +1,22 @@ +--- +title: photos.Photo +description: constructors and methods of type photos.Photo +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: photos.Photo +[Back to types index](index.md) + + + +### Possible values (constructors): + +[photos.photo](../constructors/photos.photo.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->photos->uploadProfilePhoto](../methods/photos.uploadProfilePhoto.md) + + + diff --git a/old_docs/API_docs_v100/types/photos.Photos.md b/old_docs/API_docs_v100/types/photos.Photos.md new file mode 100644 index 00000000..fff0e296 --- /dev/null +++ b/old_docs/API_docs_v100/types/photos.Photos.md @@ -0,0 +1,24 @@ +--- +title: photos.Photos +description: constructors and methods of type photos.Photos +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: photos.Photos +[Back to types index](index.md) + + + +### Possible values (constructors): + +[photos.photos](../constructors/photos.photos.md) + +[photos.photosSlice](../constructors/photos.photosSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->photos->getUserPhotos](../methods/photos.getUserPhotos.md) + + + diff --git a/old_docs/API_docs_v100/types/photos_Photo.md b/old_docs/API_docs_v100/types/photos_Photo.md deleted file mode 100644 index d11bbdef..00000000 --- a/old_docs/API_docs_v100/types/photos_Photo.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: photos_Photo -description: constructors and methods of type photos_Photo -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: photos\_Photo -[Back to types index](index.md) - - - -### Possible values (constructors): - -[photos\_photo](../constructors/photos_photo.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->photos->uploadProfilePhoto](../methods/photos_uploadProfilePhoto.md) - - - diff --git a/old_docs/API_docs_v100/types/photos_Photos.md b/old_docs/API_docs_v100/types/photos_Photos.md deleted file mode 100644 index 9875ad70..00000000 --- a/old_docs/API_docs_v100/types/photos_Photos.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: photos_Photos -description: constructors and methods of type photos_Photos -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: photos\_Photos -[Back to types index](index.md) - - - -### Possible values (constructors): - -[photos\_photos](../constructors/photos_photos.md) - -[photos\_photosSlice](../constructors/photos_photosSlice.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->photos->getUserPhotos](../methods/photos_getUserPhotos.md) - - - diff --git a/old_docs/API_docs_v100/types/storage.FileType.md b/old_docs/API_docs_v100/types/storage.FileType.md new file mode 100644 index 00000000..32f1bb72 --- /dev/null +++ b/old_docs/API_docs_v100/types/storage.FileType.md @@ -0,0 +1,38 @@ +--- +title: storage.FileType +description: constructors and methods of type storage.FileType +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: storage.FileType +[Back to types index](index.md) + + + +### Possible values (constructors): + +[storage.fileUnknown](../constructors/storage.fileUnknown.md) + +[storage.filePartial](../constructors/storage.filePartial.md) + +[storage.fileJpeg](../constructors/storage.fileJpeg.md) + +[storage.fileGif](../constructors/storage.fileGif.md) + +[storage.filePng](../constructors/storage.filePng.md) + +[storage.filePdf](../constructors/storage.filePdf.md) + +[storage.fileMp3](../constructors/storage.fileMp3.md) + +[storage.fileMov](../constructors/storage.fileMov.md) + +[storage.fileMp4](../constructors/storage.fileMp4.md) + +[storage.fileWebp](../constructors/storage.fileWebp.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v100/types/storage_FileType.md b/old_docs/API_docs_v100/types/storage_FileType.md deleted file mode 100644 index 22118805..00000000 --- a/old_docs/API_docs_v100/types/storage_FileType.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: storage_FileType -description: constructors and methods of type storage_FileType -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: storage\_FileType -[Back to types index](index.md) - - - -### Possible values (constructors): - -[storage\_fileUnknown](../constructors/storage_fileUnknown.md) - -[storage\_filePartial](../constructors/storage_filePartial.md) - -[storage\_fileJpeg](../constructors/storage_fileJpeg.md) - -[storage\_fileGif](../constructors/storage_fileGif.md) - -[storage\_filePng](../constructors/storage_filePng.md) - -[storage\_filePdf](../constructors/storage_filePdf.md) - -[storage\_fileMp3](../constructors/storage_fileMp3.md) - -[storage\_fileMov](../constructors/storage_fileMov.md) - -[storage\_fileMp4](../constructors/storage_fileMp4.md) - -[storage\_fileWebp](../constructors/storage_fileWebp.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v100/types/updates.ChannelDifference.md b/old_docs/API_docs_v100/types/updates.ChannelDifference.md new file mode 100644 index 00000000..ac889a1e --- /dev/null +++ b/old_docs/API_docs_v100/types/updates.ChannelDifference.md @@ -0,0 +1,26 @@ +--- +title: updates.ChannelDifference +description: constructors and methods of type updates.ChannelDifference +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: updates.ChannelDifference +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updates.channelDifferenceEmpty](../constructors/updates.channelDifferenceEmpty.md) + +[updates.channelDifferenceTooLong](../constructors/updates.channelDifferenceTooLong.md) + +[updates.channelDifference](../constructors/updates.channelDifference.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->updates->getChannelDifference](../methods/updates.getChannelDifference.md) + + + diff --git a/old_docs/API_docs_v100/types/updates.Difference.md b/old_docs/API_docs_v100/types/updates.Difference.md new file mode 100644 index 00000000..0c1a1b6e --- /dev/null +++ b/old_docs/API_docs_v100/types/updates.Difference.md @@ -0,0 +1,28 @@ +--- +title: updates.Difference +description: constructors and methods of type updates.Difference +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: updates.Difference +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updates.differenceEmpty](../constructors/updates.differenceEmpty.md) + +[updates.difference](../constructors/updates.difference.md) + +[updates.differenceSlice](../constructors/updates.differenceSlice.md) + +[updates.differenceTooLong](../constructors/updates.differenceTooLong.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->updates->getDifference](../methods/updates.getDifference.md) + + + diff --git a/old_docs/API_docs_v100/types/updates.State.md b/old_docs/API_docs_v100/types/updates.State.md new file mode 100644 index 00000000..49bbb7fd --- /dev/null +++ b/old_docs/API_docs_v100/types/updates.State.md @@ -0,0 +1,22 @@ +--- +title: updates.State +description: constructors and methods of type updates.State +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: updates.State +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updates.state](../constructors/updates.state.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->updates->getState](../methods/updates.getState.md) + + + diff --git a/old_docs/API_docs_v100/types/updates_ChannelDifference.md b/old_docs/API_docs_v100/types/updates_ChannelDifference.md deleted file mode 100644 index dc988692..00000000 --- a/old_docs/API_docs_v100/types/updates_ChannelDifference.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: updates_ChannelDifference -description: constructors and methods of type updates_ChannelDifference -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: updates\_ChannelDifference -[Back to types index](index.md) - - - -### Possible values (constructors): - -[updates\_channelDifferenceEmpty](../constructors/updates_channelDifferenceEmpty.md) - -[updates\_channelDifferenceTooLong](../constructors/updates_channelDifferenceTooLong.md) - -[updates\_channelDifference](../constructors/updates_channelDifference.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->updates->getChannelDifference](../methods/updates_getChannelDifference.md) - - - diff --git a/old_docs/API_docs_v100/types/updates_Difference.md b/old_docs/API_docs_v100/types/updates_Difference.md deleted file mode 100644 index 50bb098e..00000000 --- a/old_docs/API_docs_v100/types/updates_Difference.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: updates_Difference -description: constructors and methods of type updates_Difference -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: updates\_Difference -[Back to types index](index.md) - - - -### Possible values (constructors): - -[updates\_differenceEmpty](../constructors/updates_differenceEmpty.md) - -[updates\_difference](../constructors/updates_difference.md) - -[updates\_differenceSlice](../constructors/updates_differenceSlice.md) - -[updates\_differenceTooLong](../constructors/updates_differenceTooLong.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->updates->getDifference](../methods/updates_getDifference.md) - - - diff --git a/old_docs/API_docs_v100/types/updates_State.md b/old_docs/API_docs_v100/types/updates_State.md deleted file mode 100644 index 7a441145..00000000 --- a/old_docs/API_docs_v100/types/updates_State.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: updates_State -description: constructors and methods of type updates_State -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: updates\_State -[Back to types index](index.md) - - - -### Possible values (constructors): - -[updates\_state](../constructors/updates_state.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->updates->getState](../methods/updates_getState.md) - - - diff --git a/old_docs/API_docs_v100/types/upload.CdnFile.md b/old_docs/API_docs_v100/types/upload.CdnFile.md new file mode 100644 index 00000000..396c4bf4 --- /dev/null +++ b/old_docs/API_docs_v100/types/upload.CdnFile.md @@ -0,0 +1,24 @@ +--- +title: upload.CdnFile +description: constructors and methods of type upload.CdnFile +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: upload.CdnFile +[Back to types index](index.md) + + + +### Possible values (constructors): + +[upload.cdnFileReuploadNeeded](../constructors/upload.cdnFileReuploadNeeded.md) + +[upload.cdnFile](../constructors/upload.cdnFile.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->upload->getCdnFile](../methods/upload.getCdnFile.md) + + + diff --git a/old_docs/API_docs_v100/types/upload.File.md b/old_docs/API_docs_v100/types/upload.File.md new file mode 100644 index 00000000..6963341b --- /dev/null +++ b/old_docs/API_docs_v100/types/upload.File.md @@ -0,0 +1,24 @@ +--- +title: upload.File +description: constructors and methods of type upload.File +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: upload.File +[Back to types index](index.md) + + + +### Possible values (constructors): + +[upload.file](../constructors/upload.file.md) + +[upload.fileCdnRedirect](../constructors/upload.fileCdnRedirect.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->upload->getFile](../methods/upload.getFile.md) + + + diff --git a/old_docs/API_docs_v100/types/upload.WebFile.md b/old_docs/API_docs_v100/types/upload.WebFile.md new file mode 100644 index 00000000..e834457b --- /dev/null +++ b/old_docs/API_docs_v100/types/upload.WebFile.md @@ -0,0 +1,22 @@ +--- +title: upload.WebFile +description: constructors and methods of type upload.WebFile +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: upload.WebFile +[Back to types index](index.md) + + + +### Possible values (constructors): + +[upload.webFile](../constructors/upload.webFile.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->upload->getWebFile](../methods/upload.getWebFile.md) + + + diff --git a/old_docs/API_docs_v100/types/upload_CdnFile.md b/old_docs/API_docs_v100/types/upload_CdnFile.md deleted file mode 100644 index 51ae2e68..00000000 --- a/old_docs/API_docs_v100/types/upload_CdnFile.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: upload_CdnFile -description: constructors and methods of type upload_CdnFile -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: upload\_CdnFile -[Back to types index](index.md) - - - -### Possible values (constructors): - -[upload\_cdnFileReuploadNeeded](../constructors/upload_cdnFileReuploadNeeded.md) - -[upload\_cdnFile](../constructors/upload_cdnFile.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->upload->getCdnFile](../methods/upload_getCdnFile.md) - - - diff --git a/old_docs/API_docs_v100/types/upload_File.md b/old_docs/API_docs_v100/types/upload_File.md deleted file mode 100644 index 00e0f9cb..00000000 --- a/old_docs/API_docs_v100/types/upload_File.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: upload_File -description: constructors and methods of type upload_File -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: upload\_File -[Back to types index](index.md) - - - -### Possible values (constructors): - -[upload\_file](../constructors/upload_file.md) - -[upload\_fileCdnRedirect](../constructors/upload_fileCdnRedirect.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->upload->getFile](../methods/upload_getFile.md) - - - diff --git a/old_docs/API_docs_v100/types/upload_WebFile.md b/old_docs/API_docs_v100/types/upload_WebFile.md deleted file mode 100644 index 9a86264f..00000000 --- a/old_docs/API_docs_v100/types/upload_WebFile.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: upload_WebFile -description: constructors and methods of type upload_WebFile -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: upload\_WebFile -[Back to types index](index.md) - - - -### Possible values (constructors): - -[upload\_webFile](../constructors/upload_webFile.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->upload->getWebFile](../methods/upload_getWebFile.md) - - - diff --git a/old_docs/API_docs_v102/constructors/README.md b/old_docs/API_docs_v102/constructors/README.md index f0628406..bb71c1d2 100644 --- a/old_docs/API_docs_v102/constructors/README.md +++ b/old_docs/API_docs_v102/constructors/README.md @@ -9,60 +9,83 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ***

[$accessPointRule](../constructors/accessPointRule.md) = \['phone_prefix_rules' => [string](../types/string.md), 'dc_id' => [int](../types/int.md), 'ips' => \[[IpPort](../types/IpPort.md)\], \]; +*** +

[$account.authorizationForm](../constructors/account.authorizationForm.md) = \['required_types' => \[[SecureRequiredType](../types/SecureRequiredType.md)\], 'values' => \[[SecureValue](../types/SecureValue.md)\], 'errors' => \[[SecureValueError](../types/SecureValueError.md)\], 'users' => \[[User](../types/User.md)\], 'privacy_policy_url' => [string](../types/string.md), \]; + +*** +

[$account.authorizations](../constructors/account.authorizations.md) = \['authorizations' => \[[Authorization](../types/Authorization.md)\], \]; + +*** +

[$account.autoDownloadSettings](../constructors/account.autoDownloadSettings.md) = \['low' => [AutoDownloadSettings](../types/AutoDownloadSettings.md), 'medium' => [AutoDownloadSettings](../types/AutoDownloadSettings.md), 'high' => [AutoDownloadSettings](../types/AutoDownloadSettings.md), \]; + +*** +

[$account.password](../constructors/account.password.md) = \['has_recovery' => [Bool](../types/Bool.md), 'has_secure_values' => [Bool](../types/Bool.md), 'has_password' => [Bool](../types/Bool.md), 'current_algo' => [PasswordKdfAlgo](../types/PasswordKdfAlgo.md), 'srp_B' => [bytes](../types/bytes.md), 'srp_id' => [long](../types/long.md), 'hint' => [string](../types/string.md), 'email_unconfirmed_pattern' => [string](../types/string.md), 'new_algo' => [PasswordKdfAlgo](../types/PasswordKdfAlgo.md), 'new_secure_algo' => [SecurePasswordKdfAlgo](../types/SecurePasswordKdfAlgo.md), 'secure_random' => [bytes](../types/bytes.md), \]; + +*** +

[$account.passwordInputSettings](../constructors/account.passwordInputSettings.md) = \['new_algo' => [PasswordKdfAlgo](../types/PasswordKdfAlgo.md), 'new_password_hash' => [bytes](../types/bytes.md), 'hint' => [string](../types/string.md), 'email' => [string](../types/string.md), 'new_secure_settings' => [SecureSecretSettings](../types/SecureSecretSettings.md), \]; + +*** +

[$account.passwordSettings](../constructors/account.passwordSettings.md) = \['email' => [string](../types/string.md), 'secure_settings' => [SecureSecretSettings](../types/SecureSecretSettings.md), \]; + +*** +

[$account.privacyRules](../constructors/account.privacyRules.md) = \['rules' => \[[PrivacyRule](../types/PrivacyRule.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +*** +

[$account.sentEmailCode](../constructors/account.sentEmailCode.md) = \['email_pattern' => [string](../types/string.md), 'length' => [int](../types/int.md), \]; + +*** +

[$account.takeout](../constructors/account.takeout.md) = \['id' => [long](../types/long.md), \]; + +*** +

[$account.tmpPassword](../constructors/account.tmpPassword.md) = \['tmp_password' => [bytes](../types/bytes.md), 'valid_until' => [int](../types/int.md), \]; + +*** +

[$account.wallPapers](../constructors/account.wallPapers.md) = \['hash' => [int](../types/int.md), 'wallpapers' => \[[WallPaper](../types/WallPaper.md)\], \]; + +*** +

[$account.wallPapersNotModified](../constructors/account.wallPapersNotModified.md) = \[\]; + +*** +

[$account.webAuthorizations](../constructors/account.webAuthorizations.md) = \['authorizations' => \[[WebAuthorization](../types/WebAuthorization.md)\], 'users' => \[[User](../types/User.md)\], \]; + ***

[$accountDaysTTL](../constructors/accountDaysTTL.md) = \['days' => [int](../types/int.md), \]; *** -

[$account\_authorizationForm](../constructors/account_authorizationForm.md) = \['required_types' => \[[SecureRequiredType](../types/SecureRequiredType.md)\], 'values' => \[[SecureValue](../types/SecureValue.md)\], 'errors' => \[[SecureValueError](../types/SecureValueError.md)\], 'users' => \[[User](../types/User.md)\], 'privacy_policy_url' => [string](../types/string.md), \]; - -[$account\_authorizations](../constructors/account_authorizations.md) = \['authorizations' => \[[Authorization](../types/Authorization.md)\], \]; - -[$account\_autoDownloadSettings](../constructors/account_autoDownloadSettings.md) = \['low' => [AutoDownloadSettings](../types/AutoDownloadSettings.md), 'medium' => [AutoDownloadSettings](../types/AutoDownloadSettings.md), 'high' => [AutoDownloadSettings](../types/AutoDownloadSettings.md), \]; - -[$account\_password](../constructors/account_password.md) = \['has_recovery' => [Bool](../types/Bool.md), 'has_secure_values' => [Bool](../types/Bool.md), 'has_password' => [Bool](../types/Bool.md), 'current_algo' => [PasswordKdfAlgo](../types/PasswordKdfAlgo.md), 'srp_B' => [bytes](../types/bytes.md), 'srp_id' => [long](../types/long.md), 'hint' => [string](../types/string.md), 'email_unconfirmed_pattern' => [string](../types/string.md), 'new_algo' => [PasswordKdfAlgo](../types/PasswordKdfAlgo.md), 'new_secure_algo' => [SecurePasswordKdfAlgo](../types/SecurePasswordKdfAlgo.md), 'secure_random' => [bytes](../types/bytes.md), \]; - -[$account\_passwordInputSettings](../constructors/account_passwordInputSettings.md) = \['new_algo' => [PasswordKdfAlgo](../types/PasswordKdfAlgo.md), 'new_password_hash' => [bytes](../types/bytes.md), 'hint' => [string](../types/string.md), 'email' => [string](../types/string.md), 'new_secure_settings' => [SecureSecretSettings](../types/SecureSecretSettings.md), \]; - -[$account\_passwordSettings](../constructors/account_passwordSettings.md) = \['email' => [string](../types/string.md), 'secure_settings' => [SecureSecretSettings](../types/SecureSecretSettings.md), \]; - -[$account\_privacyRules](../constructors/account_privacyRules.md) = \['rules' => \[[PrivacyRule](../types/PrivacyRule.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; - -[$account\_sentEmailCode](../constructors/account_sentEmailCode.md) = \['email_pattern' => [string](../types/string.md), 'length' => [int](../types/int.md), \]; - -[$account\_takeout](../constructors/account_takeout.md) = \['id' => [long](../types/long.md), \]; - -[$account\_tmpPassword](../constructors/account_tmpPassword.md) = \['tmp_password' => [bytes](../types/bytes.md), 'valid_until' => [int](../types/int.md), \]; - -[$account\_wallPapers](../constructors/account_wallPapers.md) = \['hash' => [int](../types/int.md), 'wallpapers' => \[[WallPaper](../types/WallPaper.md)\], \]; - -[$account\_wallPapersNotModified](../constructors/account_wallPapersNotModified.md) = \[\]; - -[$account\_webAuthorizations](../constructors/account_webAuthorizations.md) = \['authorizations' => \[[WebAuthorization](../types/WebAuthorization.md)\], 'users' => \[[User](../types/User.md)\], \]; +

[$auth.authorization](../constructors/auth.authorization.md) = \['tmp_sessions' => [int](../types/int.md), 'user' => [User](../types/User.md), \]; *** -

[$auth\_authorization](../constructors/auth_authorization.md) = \['tmp_sessions' => [int](../types/int.md), 'user' => [User](../types/User.md), \]; +

[$auth.checkedPhone](../constructors/auth.checkedPhone.md) = \['phone_registered' => [Bool](../types/Bool.md), \]; -[$auth\_checkedPhone](../constructors/auth_checkedPhone.md) = \['phone_registered' => [Bool](../types/Bool.md), \]; +*** +

[$auth.codeTypeCall](../constructors/auth.codeTypeCall.md) = \[\]; -[$auth\_codeTypeCall](../constructors/auth_codeTypeCall.md) = \[\]; +*** +

[$auth.codeTypeFlashCall](../constructors/auth.codeTypeFlashCall.md) = \[\]; -[$auth\_codeTypeFlashCall](../constructors/auth_codeTypeFlashCall.md) = \[\]; +*** +

[$auth.codeTypeSms](../constructors/auth.codeTypeSms.md) = \[\]; -[$auth\_codeTypeSms](../constructors/auth_codeTypeSms.md) = \[\]; +*** +

[$auth.exportedAuthorization](../constructors/auth.exportedAuthorization.md) = \['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; -[$auth\_exportedAuthorization](../constructors/auth_exportedAuthorization.md) = \['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; +*** +

[$auth.passwordRecovery](../constructors/auth.passwordRecovery.md) = \['email_pattern' => [string](../types/string.md), \]; -[$auth\_passwordRecovery](../constructors/auth_passwordRecovery.md) = \['email_pattern' => [string](../types/string.md), \]; +*** +

[$auth.sentCode](../constructors/auth.sentCode.md) = \['phone_registered' => [Bool](../types/Bool.md), 'type' => [auth.SentCodeType](../types/auth.SentCodeType.md), 'phone_code_hash' => [string](../types/string.md), 'next_type' => [auth.CodeType](../types/auth.CodeType.md), 'timeout' => [int](../types/int.md), 'terms_of_service' => [help.TermsOfService](../types/help.TermsOfService.md), \]; -[$auth\_sentCode](../constructors/auth_sentCode.md) = \['phone_registered' => [Bool](../types/Bool.md), 'type' => [auth.SentCodeType](../types/auth.SentCodeType.md), 'phone_code_hash' => [string](../types/string.md), 'next_type' => [auth.CodeType](../types/auth.CodeType.md), 'timeout' => [int](../types/int.md), 'terms_of_service' => [help.TermsOfService](../types/help.TermsOfService.md), \]; +*** +

[$auth.sentCodeTypeApp](../constructors/auth.sentCodeTypeApp.md) = \['length' => [int](../types/int.md), \]; -[$auth\_sentCodeTypeApp](../constructors/auth_sentCodeTypeApp.md) = \['length' => [int](../types/int.md), \]; +*** +

[$auth.sentCodeTypeCall](../constructors/auth.sentCodeTypeCall.md) = \['length' => [int](../types/int.md), \]; -[$auth\_sentCodeTypeCall](../constructors/auth_sentCodeTypeCall.md) = \['length' => [int](../types/int.md), \]; +*** +

[$auth.sentCodeTypeFlashCall](../constructors/auth.sentCodeTypeFlashCall.md) = \['pattern' => [string](../types/string.md), \]; -[$auth\_sentCodeTypeFlashCall](../constructors/auth_sentCodeTypeFlashCall.md) = \['pattern' => [string](../types/string.md), \]; - -[$auth\_sentCodeTypeSms](../constructors/auth_sentCodeTypeSms.md) = \['length' => [int](../types/int.md), \]; +*** +

[$auth.sentCodeTypeSms](../constructors/auth.sentCodeTypeSms.md) = \['length' => [int](../types/int.md), \]; ***

[$authorization](../constructors/authorization.md) = \['current' => [Bool](../types/Bool.md), 'official_app' => [Bool](../types/Bool.md), 'password_pending' => [Bool](../types/Bool.md), 'hash' => [long](../types/long.md), 'device_model' => [string](../types/string.md), 'platform' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'api_id' => [int](../types/int.md), 'app_name' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'date_created' => [int](../types/int.md), 'date_active' => [int](../types/int.md), 'ip' => [string](../types/string.md), 'country' => [string](../types/string.md), 'region' => [string](../types/string.md), \]; @@ -233,13 +256,16 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$channelParticipantsSearch](../constructors/channelParticipantsSearch.md) = \['q' => [string](../types/string.md), \]; *** -

[$channels\_adminLogResults](../constructors/channels_adminLogResults.md) = \['events' => \[[ChannelAdminLogEvent](../types/ChannelAdminLogEvent.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +

[$channels.adminLogResults](../constructors/channels.adminLogResults.md) = \['events' => \[[ChannelAdminLogEvent](../types/ChannelAdminLogEvent.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$channels\_channelParticipant](../constructors/channels_channelParticipant.md) = \['participant' => [ChannelParticipant](../types/ChannelParticipant.md), 'users' => \[[User](../types/User.md)\], \]; +*** +

[$channels.channelParticipant](../constructors/channels.channelParticipant.md) = \['participant' => [ChannelParticipant](../types/ChannelParticipant.md), 'users' => \[[User](../types/User.md)\], \]; -[$channels\_channelParticipants](../constructors/channels_channelParticipants.md) = \['count' => [int](../types/int.md), 'participants' => \[[ChannelParticipant](../types/ChannelParticipant.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$channels.channelParticipants](../constructors/channels.channelParticipants.md) = \['count' => [int](../types/int.md), 'participants' => \[[ChannelParticipant](../types/ChannelParticipant.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$channels\_channelParticipantsNotModified](../constructors/channels_channelParticipantsNotModified.md) = \[\]; +*** +

[$channels.channelParticipantsNotModified](../constructors/channels.channelParticipantsNotModified.md) = \[\]; ***

[$chat](../constructors/chat.md) = \['creator' => [Bool](../types/Bool.md), 'kicked' => [Bool](../types/Bool.md), 'left' => [Bool](../types/Bool.md), 'deactivated' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'title' => [string](../types/string.md), 'photo' => [ChatPhoto](../types/ChatPhoto.md), 'participants_count' => [int](../types/int.md), 'date' => [int](../types/int.md), 'version' => [int](../types/int.md), 'migrated_to' => [InputChannel](../types/InputChannel.md), 'admin_rights' => [ChatAdminRights](../types/ChatAdminRights.md), 'default_banned_rights' => [ChatBannedRights](../types/ChatBannedRights.md), \]; @@ -311,25 +337,34 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$contactStatus](../constructors/contactStatus.md) = \['user_id' => [int](../types/int.md), 'status' => [UserStatus](../types/UserStatus.md), \]; *** -

[$contacts\_blocked](../constructors/contacts_blocked.md) = \['blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; +

[$contacts.blocked](../constructors/contacts.blocked.md) = \['blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_blockedSlice](../constructors/contacts_blockedSlice.md) = \['count' => [int](../types/int.md), 'blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.blockedSlice](../constructors/contacts.blockedSlice.md) = \['count' => [int](../types/int.md), 'blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_contacts](../constructors/contacts_contacts.md) = \['contacts' => \[[Contact](../types/Contact.md)\], 'saved_count' => [int](../types/int.md), 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.contacts](../constructors/contacts.contacts.md) = \['contacts' => \[[Contact](../types/Contact.md)\], 'saved_count' => [int](../types/int.md), 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_contactsNotModified](../constructors/contacts_contactsNotModified.md) = \[\]; +*** +

[$contacts.contactsNotModified](../constructors/contacts.contactsNotModified.md) = \[\]; -[$contacts\_found](../constructors/contacts_found.md) = \['my_results' => \[[Peer](../types/Peer.md)\], 'results' => \[[Peer](../types/Peer.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.found](../constructors/contacts.found.md) = \['my_results' => \[[Peer](../types/Peer.md)\], 'results' => \[[Peer](../types/Peer.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_importedContacts](../constructors/contacts_importedContacts.md) = \['imported' => \[[ImportedContact](../types/ImportedContact.md)\], 'popular_invites' => \[[PopularContact](../types/PopularContact.md)\], 'retry_contacts' => \[[long](../types/long.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.importedContacts](../constructors/contacts.importedContacts.md) = \['imported' => \[[ImportedContact](../types/ImportedContact.md)\], 'popular_invites' => \[[PopularContact](../types/PopularContact.md)\], 'retry_contacts' => \[[long](../types/long.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_resolvedPeer](../constructors/contacts_resolvedPeer.md) = \['peer' => [Peer](../types/Peer.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.resolvedPeer](../constructors/contacts.resolvedPeer.md) = \['peer' => [Peer](../types/Peer.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_topPeers](../constructors/contacts_topPeers.md) = \['categories' => \[[TopPeerCategoryPeers](../types/TopPeerCategoryPeers.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.topPeers](../constructors/contacts.topPeers.md) = \['categories' => \[[TopPeerCategoryPeers](../types/TopPeerCategoryPeers.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_topPeersDisabled](../constructors/contacts_topPeersDisabled.md) = \[\]; +*** +

[$contacts.topPeersDisabled](../constructors/contacts.topPeersDisabled.md) = \[\]; -[$contacts\_topPeersNotModified](../constructors/contacts_topPeersNotModified.md) = \[\]; +*** +

[$contacts.topPeersNotModified](../constructors/contacts.topPeersNotModified.md) = \[\]; ***

[$dataJSON](../constructors/dataJSON.md) = \['data' => [string](../types/string.md), \]; @@ -458,41 +493,58 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$geoPointEmpty](../constructors/geoPointEmpty.md) = \[\]; *** -

[$help\_appUpdate](../constructors/help_appUpdate.md) = \['popup' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'version' => [string](../types/string.md), 'text' => [string](../types/string.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], 'document' => [Document](../types/Document.md), 'url' => [string](../types/string.md), \]; +

[$help.appUpdate](../constructors/help.appUpdate.md) = \['popup' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'version' => [string](../types/string.md), 'text' => [string](../types/string.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], 'document' => [Document](../types/Document.md), 'url' => [string](../types/string.md), \]; -[$help\_configSimple](../constructors/help_configSimple.md) = \['date' => [int](../types/int.md), 'expires' => [int](../types/int.md), 'rules' => \[[AccessPointRule](../types/AccessPointRule.md)\], \]; +*** +

[$help.configSimple](../constructors/help.configSimple.md) = \['date' => [int](../types/int.md), 'expires' => [int](../types/int.md), 'rules' => \[[AccessPointRule](../types/AccessPointRule.md)\], \]; -[$help\_deepLinkInfo](../constructors/help_deepLinkInfo.md) = \['update_app' => [Bool](../types/Bool.md), 'message' => [string](../types/string.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], \]; +*** +

[$help.deepLinkInfo](../constructors/help.deepLinkInfo.md) = \['update_app' => [Bool](../types/Bool.md), 'message' => [string](../types/string.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], \]; -[$help\_deepLinkInfoEmpty](../constructors/help_deepLinkInfoEmpty.md) = \[\]; +*** +

[$help.deepLinkInfoEmpty](../constructors/help.deepLinkInfoEmpty.md) = \[\]; -[$help\_inviteText](../constructors/help_inviteText.md) = \['message' => [string](../types/string.md), \]; +*** +

[$help.inviteText](../constructors/help.inviteText.md) = \['message' => [string](../types/string.md), \]; -[$help\_noAppUpdate](../constructors/help_noAppUpdate.md) = \[\]; +*** +

[$help.noAppUpdate](../constructors/help.noAppUpdate.md) = \[\]; -[$help\_passportConfig](../constructors/help_passportConfig.md) = \['hash' => [int](../types/int.md), 'countries_langs' => [DataJSON](../types/DataJSON.md), \]; +*** +

[$help.passportConfig](../constructors/help.passportConfig.md) = \['hash' => [int](../types/int.md), 'countries_langs' => [DataJSON](../types/DataJSON.md), \]; -[$help\_passportConfigNotModified](../constructors/help_passportConfigNotModified.md) = \[\]; +*** +

[$help.passportConfigNotModified](../constructors/help.passportConfigNotModified.md) = \[\]; -[$help\_proxyDataEmpty](../constructors/help_proxyDataEmpty.md) = \['expires' => [int](../types/int.md), \]; +*** +

[$help.proxyDataEmpty](../constructors/help.proxyDataEmpty.md) = \['expires' => [int](../types/int.md), \]; -[$help\_proxyDataPromo](../constructors/help_proxyDataPromo.md) = \['expires' => [int](../types/int.md), 'peer' => [Peer](../types/Peer.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$help.proxyDataPromo](../constructors/help.proxyDataPromo.md) = \['expires' => [int](../types/int.md), 'peer' => [Peer](../types/Peer.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$help\_recentMeUrls](../constructors/help_recentMeUrls.md) = \['urls' => \[[RecentMeUrl](../types/RecentMeUrl.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$help.recentMeUrls](../constructors/help.recentMeUrls.md) = \['urls' => \[[RecentMeUrl](../types/RecentMeUrl.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$help\_support](../constructors/help_support.md) = \['phone_number' => [string](../types/string.md), 'user' => [User](../types/User.md), \]; +*** +

[$help.support](../constructors/help.support.md) = \['phone_number' => [string](../types/string.md), 'user' => [User](../types/User.md), \]; -[$help\_supportName](../constructors/help_supportName.md) = \['name' => [string](../types/string.md), \]; +*** +

[$help.supportName](../constructors/help.supportName.md) = \['name' => [string](../types/string.md), \]; -[$help\_termsOfService](../constructors/help_termsOfService.md) = \['popup' => [Bool](../types/Bool.md), 'id' => [DataJSON](../types/DataJSON.md), 'text' => [string](../types/string.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], 'min_age_confirm' => [int](../types/int.md), \]; +*** +

[$help.termsOfService](../constructors/help.termsOfService.md) = \['popup' => [Bool](../types/Bool.md), 'id' => [DataJSON](../types/DataJSON.md), 'text' => [string](../types/string.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], 'min_age_confirm' => [int](../types/int.md), \]; -[$help\_termsOfServiceUpdate](../constructors/help_termsOfServiceUpdate.md) = \['expires' => [int](../types/int.md), 'terms_of_service' => [help.TermsOfService](../types/help.TermsOfService.md), \]; +*** +

[$help.termsOfServiceUpdate](../constructors/help.termsOfServiceUpdate.md) = \['expires' => [int](../types/int.md), 'terms_of_service' => [help.TermsOfService](../types/help.TermsOfService.md), \]; -[$help\_termsOfServiceUpdateEmpty](../constructors/help_termsOfServiceUpdateEmpty.md) = \['expires' => [int](../types/int.md), \]; +*** +

[$help.termsOfServiceUpdateEmpty](../constructors/help.termsOfServiceUpdateEmpty.md) = \['expires' => [int](../types/int.md), \]; -[$help\_userInfo](../constructors/help_userInfo.md) = \['message' => [string](../types/string.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], 'author' => [string](../types/string.md), 'date' => [int](../types/int.md), \]; +*** +

[$help.userInfo](../constructors/help.userInfo.md) = \['message' => [string](../types/string.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], 'author' => [string](../types/string.md), 'date' => [int](../types/int.md), \]; -[$help\_userInfoEmpty](../constructors/help_userInfoEmpty.md) = \[\]; +*** +

[$help.userInfoEmpty](../constructors/help.userInfoEmpty.md) = \[\]; ***

[$highScore](../constructors/highScore.md) = \['pos' => [int](../types/int.md), 'user_id' => [int](../types/int.md), 'score' => [int](../types/int.md), \]; @@ -1182,87 +1234,127 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$messageService](../constructors/messageService.md) = \['out' => [Bool](../types/Bool.md), 'mentioned' => [Bool](../types/Bool.md), 'media_unread' => [Bool](../types/Bool.md), 'silent' => [Bool](../types/Bool.md), 'post' => [Bool](../types/Bool.md), 'legacy' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'from_id' => [int](../types/int.md), 'to_id' => [Peer](../types/Peer.md), 'reply_to_msg_id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'action' => [MessageAction](../types/MessageAction.md), \]; *** -

[$messages\_affectedHistory](../constructors/messages_affectedHistory.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), 'offset' => [int](../types/int.md), \]; +

[$messages.affectedHistory](../constructors/messages.affectedHistory.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), 'offset' => [int](../types/int.md), \]; -[$messages\_affectedMessages](../constructors/messages_affectedMessages.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; +*** +

[$messages.affectedMessages](../constructors/messages.affectedMessages.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; -[$messages\_allStickers](../constructors/messages_allStickers.md) = \['hash' => [int](../types/int.md), 'sets' => \[[StickerSet](../types/StickerSet.md)\], \]; +*** +

[$messages.allStickers](../constructors/messages.allStickers.md) = \['hash' => [int](../types/int.md), 'sets' => \[[StickerSet](../types/StickerSet.md)\], \]; -[$messages\_allStickersNotModified](../constructors/messages_allStickersNotModified.md) = \[\]; +*** +

[$messages.allStickersNotModified](../constructors/messages.allStickersNotModified.md) = \[\]; -[$messages\_archivedStickers](../constructors/messages_archivedStickers.md) = \['count' => [int](../types/int.md), 'sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], \]; +*** +

[$messages.archivedStickers](../constructors/messages.archivedStickers.md) = \['count' => [int](../types/int.md), 'sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], \]; -[$messages\_botCallbackAnswer](../constructors/messages_botCallbackAnswer.md) = \['alert' => [Bool](../types/Bool.md), 'has_url' => [Bool](../types/Bool.md), 'native_ui' => [Bool](../types/Bool.md), 'message' => [string](../types/string.md), 'url' => [string](../types/string.md), 'cache_time' => [int](../types/int.md), \]; +*** +

[$messages.botCallbackAnswer](../constructors/messages.botCallbackAnswer.md) = \['alert' => [Bool](../types/Bool.md), 'has_url' => [Bool](../types/Bool.md), 'native_ui' => [Bool](../types/Bool.md), 'message' => [string](../types/string.md), 'url' => [string](../types/string.md), 'cache_time' => [int](../types/int.md), \]; -[$messages\_botResults](../constructors/messages_botResults.md) = \['gallery' => [Bool](../types/Bool.md), 'query_id' => [long](../types/long.md), 'next_offset' => [string](../types/string.md), 'switch_pm' => [InlineBotSwitchPM](../types/InlineBotSwitchPM.md), 'results' => \[[BotInlineResult](../types/BotInlineResult.md)\], 'cache_time' => [int](../types/int.md), 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.botResults](../constructors/messages.botResults.md) = \['gallery' => [Bool](../types/Bool.md), 'query_id' => [long](../types/long.md), 'next_offset' => [string](../types/string.md), 'switch_pm' => [InlineBotSwitchPM](../types/InlineBotSwitchPM.md), 'results' => \[[BotInlineResult](../types/BotInlineResult.md)\], 'cache_time' => [int](../types/int.md), 'users' => \[[User](../types/User.md)\], \]; -[$messages\_channelMessages](../constructors/messages_channelMessages.md) = \['inexact' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.channelMessages](../constructors/messages.channelMessages.md) = \['inexact' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_chatFull](../constructors/messages_chatFull.md) = \['full_chat' => [ChatFull](../types/ChatFull.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.chatFull](../constructors/messages.chatFull.md) = \['full_chat' => [ChatFull](../types/ChatFull.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_chats](../constructors/messages_chats.md) = \['chats' => \[[Chat](../types/Chat.md)\], \]; +*** +

[$messages.chats](../constructors/messages.chats.md) = \['chats' => \[[Chat](../types/Chat.md)\], \]; -[$messages\_chatsSlice](../constructors/messages_chatsSlice.md) = \['count' => [int](../types/int.md), 'chats' => \[[Chat](../types/Chat.md)\], \]; +*** +

[$messages.chatsSlice](../constructors/messages.chatsSlice.md) = \['count' => [int](../types/int.md), 'chats' => \[[Chat](../types/Chat.md)\], \]; -[$messages\_dhConfig](../constructors/messages_dhConfig.md) = \['g' => [int](../types/int.md), 'p' => [bytes](../types/bytes.md), 'version' => [int](../types/int.md), 'random' => [bytes](../types/bytes.md), \]; +*** +

[$messages.dhConfig](../constructors/messages.dhConfig.md) = \['g' => [int](../types/int.md), 'p' => [bytes](../types/bytes.md), 'version' => [int](../types/int.md), 'random' => [bytes](../types/bytes.md), \]; -[$messages\_dhConfigNotModified](../constructors/messages_dhConfigNotModified.md) = \['random' => [bytes](../types/bytes.md), \]; +*** +

[$messages.dhConfigNotModified](../constructors/messages.dhConfigNotModified.md) = \['random' => [bytes](../types/bytes.md), \]; -[$messages\_dialogs](../constructors/messages_dialogs.md) = \['dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.dialogs](../constructors/messages.dialogs.md) = \['dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_dialogsNotModified](../constructors/messages_dialogsNotModified.md) = \['count' => [int](../types/int.md), \]; +*** +

[$messages.dialogsNotModified](../constructors/messages.dialogsNotModified.md) = \['count' => [int](../types/int.md), \]; -[$messages\_dialogsSlice](../constructors/messages_dialogsSlice.md) = \['count' => [int](../types/int.md), 'dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.dialogsSlice](../constructors/messages.dialogsSlice.md) = \['count' => [int](../types/int.md), 'dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_favedStickers](../constructors/messages_favedStickers.md) = \['hash' => [int](../types/int.md), 'packs' => \[[StickerPack](../types/StickerPack.md)\], 'stickers' => \[[Document](../types/Document.md)\], \]; +*** +

[$messages.favedStickers](../constructors/messages.favedStickers.md) = \['hash' => [int](../types/int.md), 'packs' => \[[StickerPack](../types/StickerPack.md)\], 'stickers' => \[[Document](../types/Document.md)\], \]; -[$messages\_favedStickersNotModified](../constructors/messages_favedStickersNotModified.md) = \[\]; +*** +

[$messages.favedStickersNotModified](../constructors/messages.favedStickersNotModified.md) = \[\]; -[$messages\_featuredStickers](../constructors/messages_featuredStickers.md) = \['hash' => [int](../types/int.md), 'sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], 'unread' => \[[long](../types/long.md)\], \]; +*** +

[$messages.featuredStickers](../constructors/messages.featuredStickers.md) = \['hash' => [int](../types/int.md), 'sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], 'unread' => \[[long](../types/long.md)\], \]; -[$messages\_featuredStickersNotModified](../constructors/messages_featuredStickersNotModified.md) = \[\]; +*** +

[$messages.featuredStickersNotModified](../constructors/messages.featuredStickersNotModified.md) = \[\]; -[$messages\_foundGifs](../constructors/messages_foundGifs.md) = \['next_offset' => [int](../types/int.md), 'results' => \[[FoundGif](../types/FoundGif.md)\], \]; +*** +

[$messages.foundGifs](../constructors/messages.foundGifs.md) = \['next_offset' => [int](../types/int.md), 'results' => \[[FoundGif](../types/FoundGif.md)\], \]; -[$messages\_foundStickerSets](../constructors/messages_foundStickerSets.md) = \['hash' => [int](../types/int.md), 'sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], \]; +*** +

[$messages.foundStickerSets](../constructors/messages.foundStickerSets.md) = \['hash' => [int](../types/int.md), 'sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], \]; -[$messages\_foundStickerSetsNotModified](../constructors/messages_foundStickerSetsNotModified.md) = \[\]; +*** +

[$messages.foundStickerSetsNotModified](../constructors/messages.foundStickerSetsNotModified.md) = \[\]; -[$messages\_highScores](../constructors/messages_highScores.md) = \['scores' => \[[HighScore](../types/HighScore.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.highScores](../constructors/messages.highScores.md) = \['scores' => \[[HighScore](../types/HighScore.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_messageEditData](../constructors/messages_messageEditData.md) = \['caption' => [Bool](../types/Bool.md), \]; +*** +

[$messages.messageEditData](../constructors/messages.messageEditData.md) = \['caption' => [Bool](../types/Bool.md), \]; -[$messages\_messages](../constructors/messages_messages.md) = \['messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.messages](../constructors/messages.messages.md) = \['messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_messagesNotModified](../constructors/messages_messagesNotModified.md) = \['count' => [int](../types/int.md), \]; +*** +

[$messages.messagesNotModified](../constructors/messages.messagesNotModified.md) = \['count' => [int](../types/int.md), \]; -[$messages\_messagesSlice](../constructors/messages_messagesSlice.md) = \['inexact' => [Bool](../types/Bool.md), 'count' => [int](../types/int.md), 'next_rate' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.messagesSlice](../constructors/messages.messagesSlice.md) = \['inexact' => [Bool](../types/Bool.md), 'count' => [int](../types/int.md), 'next_rate' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_peerDialogs](../constructors/messages_peerDialogs.md) = \['dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'state' => [updates.State](../types/updates.State.md), \]; +*** +

[$messages.peerDialogs](../constructors/messages.peerDialogs.md) = \['dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'state' => [updates.State](../types/updates.State.md), \]; -[$messages\_recentStickers](../constructors/messages_recentStickers.md) = \['hash' => [int](../types/int.md), 'packs' => \[[StickerPack](../types/StickerPack.md)\], 'stickers' => \[[Document](../types/Document.md)\], 'dates' => \[[int](../types/int.md)\], \]; +*** +

[$messages.recentStickers](../constructors/messages.recentStickers.md) = \['hash' => [int](../types/int.md), 'packs' => \[[StickerPack](../types/StickerPack.md)\], 'stickers' => \[[Document](../types/Document.md)\], 'dates' => \[[int](../types/int.md)\], \]; -[$messages\_recentStickersNotModified](../constructors/messages_recentStickersNotModified.md) = \[\]; +*** +

[$messages.recentStickersNotModified](../constructors/messages.recentStickersNotModified.md) = \[\]; -[$messages\_savedGifs](../constructors/messages_savedGifs.md) = \['hash' => [int](../types/int.md), 'gifs' => \[[Document](../types/Document.md)\], \]; +*** +

[$messages.savedGifs](../constructors/messages.savedGifs.md) = \['hash' => [int](../types/int.md), 'gifs' => \[[Document](../types/Document.md)\], \]; -[$messages\_savedGifsNotModified](../constructors/messages_savedGifsNotModified.md) = \[\]; +*** +

[$messages.savedGifsNotModified](../constructors/messages.savedGifsNotModified.md) = \[\]; -[$messages\_searchCounter](../constructors/messages_searchCounter.md) = \['inexact' => [Bool](../types/Bool.md), 'filter' => [MessagesFilter](../types/MessagesFilter.md), 'count' => [int](../types/int.md), \]; +*** +

[$messages.searchCounter](../constructors/messages.searchCounter.md) = \['inexact' => [Bool](../types/Bool.md), 'filter' => [MessagesFilter](../types/MessagesFilter.md), 'count' => [int](../types/int.md), \]; -[$messages\_sentEncryptedFile](../constructors/messages_sentEncryptedFile.md) = \['date' => [int](../types/int.md), 'file' => [EncryptedFile](../types/EncryptedFile.md), \]; +*** +

[$messages.sentEncryptedFile](../constructors/messages.sentEncryptedFile.md) = \['date' => [int](../types/int.md), 'file' => [EncryptedFile](../types/EncryptedFile.md), \]; -[$messages\_sentEncryptedMessage](../constructors/messages_sentEncryptedMessage.md) = \['date' => [int](../types/int.md), \]; +*** +

[$messages.sentEncryptedMessage](../constructors/messages.sentEncryptedMessage.md) = \['date' => [int](../types/int.md), \]; -[$messages\_stickerSet](../constructors/messages_stickerSet.md) = \['set' => [StickerSet](../types/StickerSet.md), 'packs' => \[[StickerPack](../types/StickerPack.md)\], 'documents' => \[[Document](../types/Document.md)\], \]; +*** +

[$messages.stickerSet](../constructors/messages.stickerSet.md) = \['set' => [StickerSet](../types/StickerSet.md), 'packs' => \[[StickerPack](../types/StickerPack.md)\], 'documents' => \[[Document](../types/Document.md)\], \]; -[$messages\_stickerSetInstallResultArchive](../constructors/messages_stickerSetInstallResultArchive.md) = \['sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], \]; +*** +

[$messages.stickerSetInstallResultArchive](../constructors/messages.stickerSetInstallResultArchive.md) = \['sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], \]; -[$messages\_stickerSetInstallResultSuccess](../constructors/messages_stickerSetInstallResultSuccess.md) = \[\]; +*** +

[$messages.stickerSetInstallResultSuccess](../constructors/messages.stickerSetInstallResultSuccess.md) = \[\]; -[$messages\_stickers](../constructors/messages_stickers.md) = \['hash' => [int](../types/int.md), 'stickers' => \[[Document](../types/Document.md)\], \]; +*** +

[$messages.stickers](../constructors/messages.stickers.md) = \['hash' => [int](../types/int.md), 'stickers' => \[[Document](../types/Document.md)\], \]; -[$messages\_stickersNotModified](../constructors/messages_stickersNotModified.md) = \[\]; +*** +

[$messages.stickersNotModified](../constructors/messages.stickersNotModified.md) = \[\]; ***

[$nearestDc](../constructors/nearestDc.md) = \['country' => [string](../types/string.md), 'this_dc' => [int](../types/int.md), 'nearest_dc' => [int](../types/int.md), \]; @@ -1412,17 +1504,22 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$paymentSavedCredentialsCard](../constructors/paymentSavedCredentialsCard.md) = \['id' => [string](../types/string.md), 'title' => [string](../types/string.md), \]; *** -

[$payments\_paymentForm](../constructors/payments_paymentForm.md) = \['can_save_credentials' => [Bool](../types/Bool.md), 'password_missing' => [Bool](../types/Bool.md), 'bot_id' => [int](../types/int.md), 'invoice' => [Invoice](../types/Invoice.md), 'provider_id' => [int](../types/int.md), 'url' => [string](../types/string.md), 'native_provider' => [string](../types/string.md), 'native_params' => [DataJSON](../types/DataJSON.md), 'saved_info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), 'saved_credentials' => [PaymentSavedCredentials](../types/PaymentSavedCredentials.md), 'users' => \[[User](../types/User.md)\], \]; +

[$payments.paymentForm](../constructors/payments.paymentForm.md) = \['can_save_credentials' => [Bool](../types/Bool.md), 'password_missing' => [Bool](../types/Bool.md), 'bot_id' => [int](../types/int.md), 'invoice' => [Invoice](../types/Invoice.md), 'provider_id' => [int](../types/int.md), 'url' => [string](../types/string.md), 'native_provider' => [string](../types/string.md), 'native_params' => [DataJSON](../types/DataJSON.md), 'saved_info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), 'saved_credentials' => [PaymentSavedCredentials](../types/PaymentSavedCredentials.md), 'users' => \[[User](../types/User.md)\], \]; -[$payments\_paymentReceipt](../constructors/payments_paymentReceipt.md) = \['date' => [int](../types/int.md), 'bot_id' => [int](../types/int.md), 'invoice' => [Invoice](../types/Invoice.md), 'provider_id' => [int](../types/int.md), 'info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), 'shipping' => [ShippingOption](../types/ShippingOption.md), 'currency' => [string](../types/string.md), 'total_amount' => [long](../types/long.md), 'credentials_title' => [string](../types/string.md), 'users' => \[[User](../types/User.md)\], \]; +*** +

[$payments.paymentReceipt](../constructors/payments.paymentReceipt.md) = \['date' => [int](../types/int.md), 'bot_id' => [int](../types/int.md), 'invoice' => [Invoice](../types/Invoice.md), 'provider_id' => [int](../types/int.md), 'info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), 'shipping' => [ShippingOption](../types/ShippingOption.md), 'currency' => [string](../types/string.md), 'total_amount' => [long](../types/long.md), 'credentials_title' => [string](../types/string.md), 'users' => \[[User](../types/User.md)\], \]; -[$payments\_paymentResult](../constructors/payments_paymentResult.md) = \['updates' => [Updates](../types/Updates.md), \]; +*** +

[$payments.paymentResult](../constructors/payments.paymentResult.md) = \['updates' => [Updates](../types/Updates.md), \]; -[$payments\_paymentVerficationNeeded](../constructors/payments_paymentVerficationNeeded.md) = \['url' => [string](../types/string.md), \]; +*** +

[$payments.paymentVerficationNeeded](../constructors/payments.paymentVerficationNeeded.md) = \['url' => [string](../types/string.md), \]; -[$payments\_savedInfo](../constructors/payments_savedInfo.md) = \['has_saved_credentials' => [Bool](../types/Bool.md), 'saved_info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), \]; +*** +

[$payments.savedInfo](../constructors/payments.savedInfo.md) = \['has_saved_credentials' => [Bool](../types/Bool.md), 'saved_info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), \]; -[$payments\_validatedRequestedInfo](../constructors/payments_validatedRequestedInfo.md) = \['id' => [string](../types/string.md), 'shipping_options' => \[[ShippingOption](../types/ShippingOption.md)\], \]; +*** +

[$payments.validatedRequestedInfo](../constructors/payments.validatedRequestedInfo.md) = \['id' => [string](../types/string.md), 'shipping_options' => \[[ShippingOption](../types/ShippingOption.md)\], \]; ***

[$peerChannel](../constructors/peerChannel.md) = \['channel_id' => [int](../types/int.md), \]; @@ -1442,6 +1539,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ***

[$peerUser](../constructors/peerUser.md) = \['user_id' => [int](../types/int.md), \]; +*** +

[$phone.phoneCall](../constructors/phone.phoneCall.md) = \['phone_call' => [PhoneCall](../types/PhoneCall.md), 'users' => \[[User](../types/User.md)\], \]; + ***

[$phoneCall](../constructors/phoneCall.md) = \['p2p_allowed' => [Bool](../types/Bool.md), 'id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'date' => [int](../types/int.md), 'admin_id' => [int](../types/int.md), 'participant_id' => [int](../types/int.md), 'g_a_or_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), 'connections' => \[[PhoneConnection](../types/PhoneConnection.md)\], 'start_date' => [int](../types/int.md), \]; @@ -1478,9 +1578,6 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ***

[$phoneConnection](../constructors/phoneConnection.md) = \['id' => [long](../types/long.md), 'ip' => [string](../types/string.md), 'ipv6' => [string](../types/string.md), 'port' => [int](../types/int.md), 'peer_tag' => [bytes](../types/bytes.md), \]; -*** -

[$phone\_phoneCall](../constructors/phone_phoneCall.md) = \['phone_call' => [PhoneCall](../types/PhoneCall.md), 'users' => \[[User](../types/User.md)\], \]; - ***

[$photo](../constructors/photo.md) = \['has_stickers' => [Bool](../types/Bool.md), 'id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'file_reference' => [bytes](../types/bytes.md), 'date' => [int](../types/int.md), 'sizes' => \[[PhotoSize](../types/PhotoSize.md)\], 'dc_id' => [int](../types/int.md), \]; @@ -1500,11 +1597,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$photoStrippedSize](../constructors/photoStrippedSize.md) = \['type' => [string](../types/string.md), 'bytes' => [bytes](../types/bytes.md), \]; *** -

[$photos\_photo](../constructors/photos_photo.md) = \['photo' => [Photo](../types/Photo.md), 'users' => \[[User](../types/User.md)\], \]; +

[$photos.photo](../constructors/photos.photo.md) = \['photo' => [Photo](../types/Photo.md), 'users' => \[[User](../types/User.md)\], \]; -[$photos\_photos](../constructors/photos_photos.md) = \['photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$photos.photos](../constructors/photos.photos.md) = \['photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$photos\_photosSlice](../constructors/photos_photosSlice.md) = \['count' => [int](../types/int.md), 'photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$photos.photosSlice](../constructors/photos.photosSlice.md) = \['count' => [int](../types/int.md), 'photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; ***

[$poll](../constructors/poll.md) = \['id' => [long](../types/long.md), 'closed' => [Bool](../types/Bool.md), 'question' => [string](../types/string.md), 'answers' => \[[PollAnswer](../types/PollAnswer.md)\], \]; @@ -1768,25 +1867,34 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$stickerSetMultiCovered](../constructors/stickerSetMultiCovered.md) = \['set' => [StickerSet](../types/StickerSet.md), 'covers' => \[[Document](../types/Document.md)\], \]; *** -

[$storage\_fileGif](../constructors/storage_fileGif.md) = \[\]; +

[$storage.fileGif](../constructors/storage.fileGif.md) = \[\]; -[$storage\_fileJpeg](../constructors/storage_fileJpeg.md) = \[\]; +*** +

[$storage.fileJpeg](../constructors/storage.fileJpeg.md) = \[\]; -[$storage\_fileMov](../constructors/storage_fileMov.md) = \[\]; +*** +

[$storage.fileMov](../constructors/storage.fileMov.md) = \[\]; -[$storage\_fileMp3](../constructors/storage_fileMp3.md) = \[\]; +*** +

[$storage.fileMp3](../constructors/storage.fileMp3.md) = \[\]; -[$storage\_fileMp4](../constructors/storage_fileMp4.md) = \[\]; +*** +

[$storage.fileMp4](../constructors/storage.fileMp4.md) = \[\]; -[$storage\_filePartial](../constructors/storage_filePartial.md) = \[\]; +*** +

[$storage.filePartial](../constructors/storage.filePartial.md) = \[\]; -[$storage\_filePdf](../constructors/storage_filePdf.md) = \[\]; +*** +

[$storage.filePdf](../constructors/storage.filePdf.md) = \[\]; -[$storage\_filePng](../constructors/storage_filePng.md) = \[\]; +*** +

[$storage.filePng](../constructors/storage.filePng.md) = \[\]; -[$storage\_fileUnknown](../constructors/storage_fileUnknown.md) = \[\]; +*** +

[$storage.fileUnknown](../constructors/storage.fileUnknown.md) = \[\]; -[$storage\_fileWebp](../constructors/storage_fileWebp.md) = \[\]; +*** +

[$storage.fileWebp](../constructors/storage.fileWebp.md) = \[\]; ***

[$textAnchor](../constructors/textAnchor.md) = \['text' => [RichText](../types/RichText.md), 'name' => [string](../types/string.md), \]; @@ -2097,6 +2205,30 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ***

[$updates](../constructors/updates.md) = \['updates' => \[[Update](../types/Update.md)\], 'users' => \[[User](../types/User.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'date' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; +*** +

[$updates.channelDifference](../constructors/updates.channelDifference.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), 'new_messages' => \[[Message](../types/Message.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +*** +

[$updates.channelDifferenceEmpty](../constructors/updates.channelDifferenceEmpty.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), \]; + +*** +

[$updates.channelDifferenceTooLong](../constructors/updates.channelDifferenceTooLong.md) = \['final' => [Bool](../types/Bool.md), 'timeout' => [int](../types/int.md), 'dialog' => [Dialog](../types/Dialog.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +*** +

[$updates.difference](../constructors/updates.difference.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'state' => [updates.State](../types/updates.State.md), \]; + +*** +

[$updates.differenceEmpty](../constructors/updates.differenceEmpty.md) = \['date' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; + +*** +

[$updates.differenceSlice](../constructors/updates.differenceSlice.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'intermediate_state' => [updates.State](../types/updates.State.md), \]; + +*** +

[$updates.differenceTooLong](../constructors/updates.differenceTooLong.md) = \['pts' => [int](../types/int.md), \]; + +*** +

[$updates.state](../constructors/updates.state.md) = \['pts' => [int](../types/int.md), 'qts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'seq' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), \]; + ***

[$updatesCombined](../constructors/updatesCombined.md) = \['updates' => \[[Update](../types/Update.md)\], 'users' => \[[User](../types/User.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'date' => [int](../types/int.md), 'seq_start' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; @@ -2104,32 +2236,19 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$updatesTooLong](../constructors/updatesTooLong.md) = \[\]; *** -

[$updates\_channelDifference](../constructors/updates_channelDifference.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), 'new_messages' => \[[Message](../types/Message.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; - -[$updates\_channelDifferenceEmpty](../constructors/updates_channelDifferenceEmpty.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), \]; - -[$updates\_channelDifferenceTooLong](../constructors/updates_channelDifferenceTooLong.md) = \['final' => [Bool](../types/Bool.md), 'timeout' => [int](../types/int.md), 'dialog' => [Dialog](../types/Dialog.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; - -[$updates\_difference](../constructors/updates_difference.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'state' => [updates.State](../types/updates.State.md), \]; - -[$updates\_differenceEmpty](../constructors/updates_differenceEmpty.md) = \['date' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; - -[$updates\_differenceSlice](../constructors/updates_differenceSlice.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'intermediate_state' => [updates.State](../types/updates.State.md), \]; - -[$updates\_differenceTooLong](../constructors/updates_differenceTooLong.md) = \['pts' => [int](../types/int.md), \]; - -[$updates\_state](../constructors/updates_state.md) = \['pts' => [int](../types/int.md), 'qts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'seq' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), \]; +

[$upload.cdnFile](../constructors/upload.cdnFile.md) = \['bytes' => [bytes](../types/bytes.md), \]; *** -

[$upload\_cdnFile](../constructors/upload_cdnFile.md) = \['bytes' => [bytes](../types/bytes.md), \]; +

[$upload.cdnFileReuploadNeeded](../constructors/upload.cdnFileReuploadNeeded.md) = \['request_token' => [bytes](../types/bytes.md), \]; -[$upload\_cdnFileReuploadNeeded](../constructors/upload_cdnFileReuploadNeeded.md) = \['request_token' => [bytes](../types/bytes.md), \]; +*** +

[$upload.file](../constructors/upload.file.md) = \['type' => [storage.FileType](../types/storage.FileType.md), 'mtime' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; -[$upload\_file](../constructors/upload_file.md) = \['type' => [storage.FileType](../types/storage.FileType.md), 'mtime' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; +*** +

[$upload.fileCdnRedirect](../constructors/upload.fileCdnRedirect.md) = \['dc_id' => [int](../types/int.md), 'file_token' => [bytes](../types/bytes.md), 'encryption_key' => [bytes](../types/bytes.md), 'encryption_iv' => [bytes](../types/bytes.md), 'file_hashes' => \[[FileHash](../types/FileHash.md)\], \]; -[$upload\_fileCdnRedirect](../constructors/upload_fileCdnRedirect.md) = \['dc_id' => [int](../types/int.md), 'file_token' => [bytes](../types/bytes.md), 'encryption_key' => [bytes](../types/bytes.md), 'encryption_iv' => [bytes](../types/bytes.md), 'file_hashes' => \[[FileHash](../types/FileHash.md)\], \]; - -[$upload\_webFile](../constructors/upload_webFile.md) = \['size' => [int](../types/int.md), 'mime_type' => [string](../types/string.md), 'file_type' => [storage.FileType](../types/storage.FileType.md), 'mtime' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; +*** +

[$upload.webFile](../constructors/upload.webFile.md) = \['size' => [int](../types/int.md), 'mime_type' => [string](../types/string.md), 'file_type' => [storage.FileType](../types/storage.FileType.md), 'mtime' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; ***

[$urlAuthResultAccepted](../constructors/urlAuthResultAccepted.md) = \['url' => [string](../types/string.md), \]; diff --git a/old_docs/API_docs_v102/constructors/account.authorizationForm.md b/old_docs/API_docs_v102/constructors/account.authorizationForm.md new file mode 100644 index 00000000..175276bf --- /dev/null +++ b/old_docs/API_docs_v102/constructors/account.authorizationForm.md @@ -0,0 +1,42 @@ +--- +title: account.authorizationForm +description: [Telegram Passport](https://core.telegram.org/passport) authorization form +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.authorizationForm +[Back to constructors index](index.md) + + + +[Telegram Passport](https://core.telegram.org/passport) authorization form + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|required\_types|Array of [SecureRequiredType](../types/SecureRequiredType.md) | Yes|Required types| +|values|Array of [SecureValue](../types/SecureValue.md) | Yes|Values| +|errors|Array of [SecureValueError](../types/SecureValueError.md) | Yes|Errors| +|users|Array of [User](../types/User.md) | Yes|Users| +|privacy\_policy\_url|[string](../types/string.md) | Optional|URL of the service's privacy policy| + + + +### Type: [account.AuthorizationForm](../types/account.AuthorizationForm.md) + + +### Example: + +```php +$account.authorizationForm = ['_' => 'account.authorizationForm', 'required_types' => [SecureRequiredType, SecureRequiredType], 'values' => [SecureValue, SecureValue], 'errors' => [SecureValueError, SecureValueError], 'users' => [User, User], 'privacy_policy_url' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +account.authorizationForm={_='account.authorizationForm', required_types={SecureRequiredType}, values={SecureValue}, errors={SecureValueError}, users={User}, privacy_policy_url='string'} + +``` + + diff --git a/old_docs/API_docs_v102/constructors/account.authorizations.md b/old_docs/API_docs_v102/constructors/account.authorizations.md new file mode 100644 index 00000000..53c961f0 --- /dev/null +++ b/old_docs/API_docs_v102/constructors/account.authorizations.md @@ -0,0 +1,38 @@ +--- +title: account.authorizations +description: Logged-in sessions +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.authorizations +[Back to constructors index](index.md) + + + +Logged-in sessions + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|authorizations|Array of [Authorization](../types/Authorization.md) | Yes|Authorizations| + + + +### Type: [account.Authorizations](../types/account.Authorizations.md) + + +### Example: + +```php +$account.authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization, Authorization]]; +``` + + +Or, if you're into Lua: + +```lua +account.authorizations={_='account.authorizations', authorizations={Authorization}} + +``` + + diff --git a/old_docs/API_docs_v102/constructors/account.autoDownloadSettings.md b/old_docs/API_docs_v102/constructors/account.autoDownloadSettings.md new file mode 100644 index 00000000..fa06f6a6 --- /dev/null +++ b/old_docs/API_docs_v102/constructors/account.autoDownloadSettings.md @@ -0,0 +1,40 @@ +--- +title: account.autoDownloadSettings +description: Media autodownload settings +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.autoDownloadSettings +[Back to constructors index](index.md) + + + +Media autodownload settings + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|low|[AutoDownloadSettings](../types/AutoDownloadSettings.md) | Yes|Low data usage preset| +|medium|[AutoDownloadSettings](../types/AutoDownloadSettings.md) | Yes|Medium data usage preset| +|high|[AutoDownloadSettings](../types/AutoDownloadSettings.md) | Yes|High data usage preset| + + + +### Type: [account.AutoDownloadSettings](../types/account.AutoDownloadSettings.md) + + +### Example: + +```php +$account.autoDownloadSettings = ['_' => 'account.autoDownloadSettings', 'low' => AutoDownloadSettings, 'medium' => AutoDownloadSettings, 'high' => AutoDownloadSettings]; +``` + + +Or, if you're into Lua: + +```lua +account.autoDownloadSettings={_='account.autoDownloadSettings', low=AutoDownloadSettings, medium=AutoDownloadSettings, high=AutoDownloadSettings} + +``` + + diff --git a/old_docs/API_docs_v102/constructors/account.password.md b/old_docs/API_docs_v102/constructors/account.password.md new file mode 100644 index 00000000..b6ad79db --- /dev/null +++ b/old_docs/API_docs_v102/constructors/account.password.md @@ -0,0 +1,48 @@ +--- +title: account.password +description: Configuration for two-factor authorization +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.password +[Back to constructors index](index.md) + + + +Configuration for two-factor authorization + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|has\_recovery|[Bool](../types/Bool.md) | Optional|Whether the user has a recovery method configured| +|has\_secure\_values|[Bool](../types/Bool.md) | Optional|Whether telegram [passport](https://core.telegram.org/passport) is enabled| +|has\_password|[Bool](../types/Bool.md) | Optional|Whether the user has a password| +|current\_algo|[PasswordKdfAlgo](../types/PasswordKdfAlgo.md) | Optional|The [KDF algorithm for SRP two-factor authentication](https://core.telegram.org/api/srp) of the current password| +|srp\_B|[bytes](../types/bytes.md) | Optional|Srp B param for [SRP authorization](https://core.telegram.org/api/srp)| +|srp\_id|[long](../types/long.md) | Optional|Srp ID param for [SRP authorization](https://core.telegram.org/api/srp)| +|hint|[string](../types/string.md) | Optional|Text hint for the password| +|email\_unconfirmed\_pattern|[string](../types/string.md) | Optional|A [password recovery email](https://core.telegram.org/api/srp#email-verification) with the specified [pattern](https://core.telegram.org/api/pattern) is still awaiting verification| +|new\_algo|[PasswordKdfAlgo](../types/PasswordKdfAlgo.md) | Yes|The [KDF algorithm for SRP two-factor authentication](https://core.telegram.org/api/srp) to use when creating new passwords| +|new\_secure\_algo|[SecurePasswordKdfAlgo](../types/SecurePasswordKdfAlgo.md) | Yes|The KDF algorithm for telegram [passport](https://core.telegram.org/passport)| +|secure\_random|[bytes](../types/bytes.md) | Yes|Secure random string| + + + +### Type: [account.Password](../types/account.Password.md) + + +### Example: + +```php +$account.password = ['_' => 'account.password', 'has_recovery' => Bool, 'has_secure_values' => Bool, 'has_password' => Bool, 'current_algo' => PasswordKdfAlgo, 'srp_B' => 'bytes', 'srp_id' => long, 'hint' => 'string', 'email_unconfirmed_pattern' => 'string', 'new_algo' => PasswordKdfAlgo, 'new_secure_algo' => SecurePasswordKdfAlgo, 'secure_random' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +account.password={_='account.password', has_recovery=Bool, has_secure_values=Bool, has_password=Bool, current_algo=PasswordKdfAlgo, srp_B='bytes', srp_id=long, hint='string', email_unconfirmed_pattern='string', new_algo=PasswordKdfAlgo, new_secure_algo=SecurePasswordKdfAlgo, secure_random='bytes'} + +``` + + diff --git a/old_docs/API_docs_v102/constructors/account.passwordInputSettings.md b/old_docs/API_docs_v102/constructors/account.passwordInputSettings.md new file mode 100644 index 00000000..f55837c8 --- /dev/null +++ b/old_docs/API_docs_v102/constructors/account.passwordInputSettings.md @@ -0,0 +1,42 @@ +--- +title: account.passwordInputSettings +description: Settings for setting up a new password +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.passwordInputSettings +[Back to constructors index](index.md) + + + +Settings for setting up a new password + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|new\_algo|[PasswordKdfAlgo](../types/PasswordKdfAlgo.md) | Optional|The [SRP algorithm](https://core.telegram.org/api/srp) to use| +|new\_password\_hash|[bytes](../types/bytes.md) | Optional|The [computed password hash](https://core.telegram.org/api/srp)| +|hint|[string](../types/string.md) | Optional|Text hint for the password| +|email|[string](../types/string.md) | Optional|Password recovery email| +|new\_secure\_settings|[SecureSecretSettings](../types/SecureSecretSettings.md) | Optional|Telegram [passport](https://core.telegram.org/passport) settings| + + + +### Type: [account.PasswordInputSettings](../types/account.PasswordInputSettings.md) + + +### Example: + +```php +$account.passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_algo' => PasswordKdfAlgo, 'new_password_hash' => 'bytes', 'hint' => 'string', 'email' => 'string', 'new_secure_settings' => SecureSecretSettings]; +``` + + +Or, if you're into Lua: + +```lua +account.passwordInputSettings={_='account.passwordInputSettings', new_algo=PasswordKdfAlgo, new_password_hash='bytes', hint='string', email='string', new_secure_settings=SecureSecretSettings} + +``` + + diff --git a/old_docs/API_docs_v102/constructors/account.passwordSettings.md b/old_docs/API_docs_v102/constructors/account.passwordSettings.md new file mode 100644 index 00000000..ab81079e --- /dev/null +++ b/old_docs/API_docs_v102/constructors/account.passwordSettings.md @@ -0,0 +1,39 @@ +--- +title: account.passwordSettings +description: Private info associated to the password info (recovery email, telegram [passport](https://core.telegram.org/passport) info & so on) +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.passwordSettings +[Back to constructors index](index.md) + + + +Private info associated to the password info (recovery email, telegram [passport](https://core.telegram.org/passport) info & so on) + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|email|[string](../types/string.md) | Optional|[2FA Recovery email](https://core.telegram.org/api/srp#email-verification)| +|secure\_settings|[SecureSecretSettings](../types/SecureSecretSettings.md) | Optional|Telegram [passport](https://core.telegram.org/passport) settings| + + + +### Type: [account.PasswordSettings](../types/account.PasswordSettings.md) + + +### Example: + +```php +$account.passwordSettings = ['_' => 'account.passwordSettings', 'email' => 'string', 'secure_settings' => SecureSecretSettings]; +``` + + +Or, if you're into Lua: + +```lua +account.passwordSettings={_='account.passwordSettings', email='string', secure_settings=SecureSecretSettings} + +``` + + diff --git a/old_docs/API_docs_v102/constructors/account.privacyRules.md b/old_docs/API_docs_v102/constructors/account.privacyRules.md new file mode 100644 index 00000000..6f83247a --- /dev/null +++ b/old_docs/API_docs_v102/constructors/account.privacyRules.md @@ -0,0 +1,40 @@ +--- +title: account.privacyRules +description: Privacy rules +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.privacyRules +[Back to constructors index](index.md) + + + +Privacy rules + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|rules|Array of [PrivacyRule](../types/PrivacyRule.md) | Yes|Rules| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats allowed?| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [account.PrivacyRules](../types/account.PrivacyRules.md) + + +### Example: + +```php +$account.privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule, PrivacyRule], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +account.privacyRules={_='account.privacyRules', rules={PrivacyRule}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v102/constructors/account.sentEmailCode.md b/old_docs/API_docs_v102/constructors/account.sentEmailCode.md new file mode 100644 index 00000000..c4c30275 --- /dev/null +++ b/old_docs/API_docs_v102/constructors/account.sentEmailCode.md @@ -0,0 +1,39 @@ +--- +title: account.sentEmailCode +description: The sent email code +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.sentEmailCode +[Back to constructors index](index.md) + + + +The sent email code + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|email\_pattern|[string](../types/string.md) | Yes|The email (to which the code was sent) must match this [pattern](https://core.telegram.org/api/pattern)| +|length|[int](../types/int.md) | Yes|The length of the verification code| + + + +### Type: [account.SentEmailCode](../types/account.SentEmailCode.md) + + +### Example: + +```php +$account.sentEmailCode = ['_' => 'account.sentEmailCode', 'email_pattern' => 'string', 'length' => int]; +``` + + +Or, if you're into Lua: + +```lua +account.sentEmailCode={_='account.sentEmailCode', email_pattern='string', length=int} + +``` + + diff --git a/old_docs/API_docs_v102/constructors/account.takeout.md b/old_docs/API_docs_v102/constructors/account.takeout.md new file mode 100644 index 00000000..1aca6c70 --- /dev/null +++ b/old_docs/API_docs_v102/constructors/account.takeout.md @@ -0,0 +1,38 @@ +--- +title: account.takeout +description: Takout info +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.takeout +[Back to constructors index](index.md) + + + +Takout info + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|id|[long](../types/long.md) | Yes|Takeout ID| + + + +### Type: [account.Takeout](../types/account.Takeout.md) + + +### Example: + +```php +$account.takeout = ['_' => 'account.takeout', 'id' => long]; +``` + + +Or, if you're into Lua: + +```lua +account.takeout={_='account.takeout', id=long} + +``` + + diff --git a/old_docs/API_docs_v102/constructors/account.tmpPassword.md b/old_docs/API_docs_v102/constructors/account.tmpPassword.md new file mode 100644 index 00000000..996548c4 --- /dev/null +++ b/old_docs/API_docs_v102/constructors/account.tmpPassword.md @@ -0,0 +1,39 @@ +--- +title: account.tmpPassword +description: Temporary payment password +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.tmpPassword +[Back to constructors index](index.md) + + + +Temporary payment password + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|tmp\_password|[bytes](../types/bytes.md) | Yes|Temporary password| +|valid\_until|[int](../types/int.md) | Yes|Validity period| + + + +### Type: [account.TmpPassword](../types/account.TmpPassword.md) + + +### Example: + +```php +$account.tmpPassword = ['_' => 'account.tmpPassword', 'tmp_password' => 'bytes', 'valid_until' => int]; +``` + + +Or, if you're into Lua: + +```lua +account.tmpPassword={_='account.tmpPassword', tmp_password='bytes', valid_until=int} + +``` + + diff --git a/old_docs/API_docs_v102/constructors/account.wallPapers.md b/old_docs/API_docs_v102/constructors/account.wallPapers.md new file mode 100644 index 00000000..c73f9dd3 --- /dev/null +++ b/old_docs/API_docs_v102/constructors/account.wallPapers.md @@ -0,0 +1,39 @@ +--- +title: account.wallPapers +description: Installed wallpapers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.wallPapers +[Back to constructors index](index.md) + + + +Installed wallpapers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|wallpapers|Array of [WallPaper](../types/WallPaper.md) | Yes|Wallpapers| + + + +### Type: [account.WallPapers](../types/account.WallPapers.md) + + +### Example: + +```php +$account.wallPapers = ['_' => 'account.wallPapers', 'hash' => int, 'wallpapers' => [WallPaper, WallPaper]]; +``` + + +Or, if you're into Lua: + +```lua +account.wallPapers={_='account.wallPapers', hash=int, wallpapers={WallPaper}} + +``` + + diff --git a/old_docs/API_docs_v102/constructors/account.wallPapersNotModified.md b/old_docs/API_docs_v102/constructors/account.wallPapersNotModified.md new file mode 100644 index 00000000..209233d7 --- /dev/null +++ b/old_docs/API_docs_v102/constructors/account.wallPapersNotModified.md @@ -0,0 +1,33 @@ +--- +title: account.wallPapersNotModified +description: No new wallpapers were found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.wallPapersNotModified +[Back to constructors index](index.md) + + + +No new wallpapers were found + + + + +### Type: [account.WallPapers](../types/account.WallPapers.md) + + +### Example: + +```php +$account.wallPapersNotModified = ['_' => 'account.wallPapersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +account.wallPapersNotModified={_='account.wallPapersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v102/constructors/account.webAuthorizations.md b/old_docs/API_docs_v102/constructors/account.webAuthorizations.md new file mode 100644 index 00000000..bb5d0211 --- /dev/null +++ b/old_docs/API_docs_v102/constructors/account.webAuthorizations.md @@ -0,0 +1,39 @@ +--- +title: account.webAuthorizations +description: Web authorizations +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.webAuthorizations +[Back to constructors index](index.md) + + + +Web authorizations + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|authorizations|Array of [WebAuthorization](../types/WebAuthorization.md) | Yes|Authorizations| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [account.WebAuthorizations](../types/account.WebAuthorizations.md) + + +### Example: + +```php +$account.webAuthorizations = ['_' => 'account.webAuthorizations', 'authorizations' => [WebAuthorization, WebAuthorization], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +account.webAuthorizations={_='account.webAuthorizations', authorizations={WebAuthorization}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v102/constructors/account_authorizationForm.md b/old_docs/API_docs_v102/constructors/account_authorizationForm.md deleted file mode 100644 index aaeff19b..00000000 --- a/old_docs/API_docs_v102/constructors/account_authorizationForm.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: account.authorizationForm -description: [Telegram Passport](https://core.telegram.org/passport) authorization form -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.authorizationForm -[Back to constructors index](index.md) - - - -[Telegram Passport](https://core.telegram.org/passport) authorization form - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|required\_types|Array of [SecureRequiredType](../types/SecureRequiredType.md) | Yes|Required types| -|values|Array of [SecureValue](../types/SecureValue.md) | Yes|Values| -|errors|Array of [SecureValueError](../types/SecureValueError.md) | Yes|Errors| -|users|Array of [User](../types/User.md) | Yes|Users| -|privacy\_policy\_url|[string](../types/string.md) | Optional|URL of the service's privacy policy| - - - -### Type: [account\_AuthorizationForm](../types/account_AuthorizationForm.md) - - -### Example: - -```php -$account_authorizationForm = ['_' => 'account.authorizationForm', 'required_types' => [SecureRequiredType, SecureRequiredType], 'values' => [SecureValue, SecureValue], 'errors' => [SecureValueError, SecureValueError], 'users' => [User, User], 'privacy_policy_url' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -account_authorizationForm={_='account.authorizationForm', required_types={SecureRequiredType}, values={SecureValue}, errors={SecureValueError}, users={User}, privacy_policy_url='string'} - -``` - - diff --git a/old_docs/API_docs_v102/constructors/account_authorizations.md b/old_docs/API_docs_v102/constructors/account_authorizations.md deleted file mode 100644 index aeae48f3..00000000 --- a/old_docs/API_docs_v102/constructors/account_authorizations.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: account.authorizations -description: Logged-in sessions -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.authorizations -[Back to constructors index](index.md) - - - -Logged-in sessions - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|authorizations|Array of [Authorization](../types/Authorization.md) | Yes|Authorizations| - - - -### Type: [account\_Authorizations](../types/account_Authorizations.md) - - -### Example: - -```php -$account_authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization, Authorization]]; -``` - - -Or, if you're into Lua: - -```lua -account_authorizations={_='account.authorizations', authorizations={Authorization}} - -``` - - diff --git a/old_docs/API_docs_v102/constructors/account_autoDownloadSettings.md b/old_docs/API_docs_v102/constructors/account_autoDownloadSettings.md deleted file mode 100644 index f490d303..00000000 --- a/old_docs/API_docs_v102/constructors/account_autoDownloadSettings.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: account.autoDownloadSettings -description: Media autodownload settings -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.autoDownloadSettings -[Back to constructors index](index.md) - - - -Media autodownload settings - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|low|[AutoDownloadSettings](../types/AutoDownloadSettings.md) | Yes|Low data usage preset| -|medium|[AutoDownloadSettings](../types/AutoDownloadSettings.md) | Yes|Medium data usage preset| -|high|[AutoDownloadSettings](../types/AutoDownloadSettings.md) | Yes|High data usage preset| - - - -### Type: [account\_AutoDownloadSettings](../types/account_AutoDownloadSettings.md) - - -### Example: - -```php -$account_autoDownloadSettings = ['_' => 'account.autoDownloadSettings', 'low' => AutoDownloadSettings, 'medium' => AutoDownloadSettings, 'high' => AutoDownloadSettings]; -``` - - -Or, if you're into Lua: - -```lua -account_autoDownloadSettings={_='account.autoDownloadSettings', low=AutoDownloadSettings, medium=AutoDownloadSettings, high=AutoDownloadSettings} - -``` - - diff --git a/old_docs/API_docs_v102/constructors/account_password.md b/old_docs/API_docs_v102/constructors/account_password.md deleted file mode 100644 index 0f2eaafb..00000000 --- a/old_docs/API_docs_v102/constructors/account_password.md +++ /dev/null @@ -1,48 +0,0 @@ ---- -title: account.password -description: Configuration for two-factor authorization -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.password -[Back to constructors index](index.md) - - - -Configuration for two-factor authorization - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|has\_recovery|[Bool](../types/Bool.md) | Optional|Whether the user has a recovery method configured| -|has\_secure\_values|[Bool](../types/Bool.md) | Optional|Whether telegram [passport](https://core.telegram.org/passport) is enabled| -|has\_password|[Bool](../types/Bool.md) | Optional|Whether the user has a password| -|current\_algo|[PasswordKdfAlgo](../types/PasswordKdfAlgo.md) | Optional|The [KDF algorithm for SRP two-factor authentication](https://core.telegram.org/api/srp) of the current password| -|srp\_B|[bytes](../types/bytes.md) | Optional|Srp B param for [SRP authorization](https://core.telegram.org/api/srp)| -|srp\_id|[long](../types/long.md) | Optional|Srp ID param for [SRP authorization](https://core.telegram.org/api/srp)| -|hint|[string](../types/string.md) | Optional|Text hint for the password| -|email\_unconfirmed\_pattern|[string](../types/string.md) | Optional|A [password recovery email](https://core.telegram.org/api/srp#email-verification) with the specified [pattern](https://core.telegram.org/api/pattern) is still awaiting verification| -|new\_algo|[PasswordKdfAlgo](../types/PasswordKdfAlgo.md) | Yes|The [KDF algorithm for SRP two-factor authentication](https://core.telegram.org/api/srp) to use when creating new passwords| -|new\_secure\_algo|[SecurePasswordKdfAlgo](../types/SecurePasswordKdfAlgo.md) | Yes|The KDF algorithm for telegram [passport](https://core.telegram.org/passport)| -|secure\_random|[bytes](../types/bytes.md) | Yes|Secure random string| - - - -### Type: [account\_Password](../types/account_Password.md) - - -### Example: - -```php -$account_password = ['_' => 'account.password', 'has_recovery' => Bool, 'has_secure_values' => Bool, 'has_password' => Bool, 'current_algo' => PasswordKdfAlgo, 'srp_B' => 'bytes', 'srp_id' => long, 'hint' => 'string', 'email_unconfirmed_pattern' => 'string', 'new_algo' => PasswordKdfAlgo, 'new_secure_algo' => SecurePasswordKdfAlgo, 'secure_random' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -account_password={_='account.password', has_recovery=Bool, has_secure_values=Bool, has_password=Bool, current_algo=PasswordKdfAlgo, srp_B='bytes', srp_id=long, hint='string', email_unconfirmed_pattern='string', new_algo=PasswordKdfAlgo, new_secure_algo=SecurePasswordKdfAlgo, secure_random='bytes'} - -``` - - diff --git a/old_docs/API_docs_v102/constructors/account_passwordInputSettings.md b/old_docs/API_docs_v102/constructors/account_passwordInputSettings.md deleted file mode 100644 index a4800a7c..00000000 --- a/old_docs/API_docs_v102/constructors/account_passwordInputSettings.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: account.passwordInputSettings -description: Settings for setting up a new password -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.passwordInputSettings -[Back to constructors index](index.md) - - - -Settings for setting up a new password - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|new\_algo|[PasswordKdfAlgo](../types/PasswordKdfAlgo.md) | Optional|The [SRP algorithm](https://core.telegram.org/api/srp) to use| -|new\_password\_hash|[bytes](../types/bytes.md) | Optional|The [computed password hash](https://core.telegram.org/api/srp)| -|hint|[string](../types/string.md) | Optional|Text hint for the password| -|email|[string](../types/string.md) | Optional|Password recovery email| -|new\_secure\_settings|[SecureSecretSettings](../types/SecureSecretSettings.md) | Optional|Telegram [passport](https://core.telegram.org/passport) settings| - - - -### Type: [account\_PasswordInputSettings](../types/account_PasswordInputSettings.md) - - -### Example: - -```php -$account_passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_algo' => PasswordKdfAlgo, 'new_password_hash' => 'bytes', 'hint' => 'string', 'email' => 'string', 'new_secure_settings' => SecureSecretSettings]; -``` - - -Or, if you're into Lua: - -```lua -account_passwordInputSettings={_='account.passwordInputSettings', new_algo=PasswordKdfAlgo, new_password_hash='bytes', hint='string', email='string', new_secure_settings=SecureSecretSettings} - -``` - - diff --git a/old_docs/API_docs_v102/constructors/account_passwordSettings.md b/old_docs/API_docs_v102/constructors/account_passwordSettings.md deleted file mode 100644 index 16eaf433..00000000 --- a/old_docs/API_docs_v102/constructors/account_passwordSettings.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: account.passwordSettings -description: Private info associated to the password info (recovery email, telegram [passport](https://core.telegram.org/passport) info & so on) -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.passwordSettings -[Back to constructors index](index.md) - - - -Private info associated to the password info (recovery email, telegram [passport](https://core.telegram.org/passport) info & so on) - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|email|[string](../types/string.md) | Optional|[2FA Recovery email](https://core.telegram.org/api/srp#email-verification)| -|secure\_settings|[SecureSecretSettings](../types/SecureSecretSettings.md) | Optional|Telegram [passport](https://core.telegram.org/passport) settings| - - - -### Type: [account\_PasswordSettings](../types/account_PasswordSettings.md) - - -### Example: - -```php -$account_passwordSettings = ['_' => 'account.passwordSettings', 'email' => 'string', 'secure_settings' => SecureSecretSettings]; -``` - - -Or, if you're into Lua: - -```lua -account_passwordSettings={_='account.passwordSettings', email='string', secure_settings=SecureSecretSettings} - -``` - - diff --git a/old_docs/API_docs_v102/constructors/account_privacyRules.md b/old_docs/API_docs_v102/constructors/account_privacyRules.md deleted file mode 100644 index 5fd928b9..00000000 --- a/old_docs/API_docs_v102/constructors/account_privacyRules.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: account.privacyRules -description: Privacy rules -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.privacyRules -[Back to constructors index](index.md) - - - -Privacy rules - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|rules|Array of [PrivacyRule](../types/PrivacyRule.md) | Yes|Rules| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats allowed?| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [account\_PrivacyRules](../types/account_PrivacyRules.md) - - -### Example: - -```php -$account_privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule, PrivacyRule], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -account_privacyRules={_='account.privacyRules', rules={PrivacyRule}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v102/constructors/account_sentEmailCode.md b/old_docs/API_docs_v102/constructors/account_sentEmailCode.md deleted file mode 100644 index 684fb4b5..00000000 --- a/old_docs/API_docs_v102/constructors/account_sentEmailCode.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: account.sentEmailCode -description: The sent email code -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.sentEmailCode -[Back to constructors index](index.md) - - - -The sent email code - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|email\_pattern|[string](../types/string.md) | Yes|The email (to which the code was sent) must match this [pattern](https://core.telegram.org/api/pattern)| -|length|[int](../types/int.md) | Yes|The length of the verification code| - - - -### Type: [account\_SentEmailCode](../types/account_SentEmailCode.md) - - -### Example: - -```php -$account_sentEmailCode = ['_' => 'account.sentEmailCode', 'email_pattern' => 'string', 'length' => int]; -``` - - -Or, if you're into Lua: - -```lua -account_sentEmailCode={_='account.sentEmailCode', email_pattern='string', length=int} - -``` - - diff --git a/old_docs/API_docs_v102/constructors/account_takeout.md b/old_docs/API_docs_v102/constructors/account_takeout.md deleted file mode 100644 index 09af93ca..00000000 --- a/old_docs/API_docs_v102/constructors/account_takeout.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: account.takeout -description: Takout info -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.takeout -[Back to constructors index](index.md) - - - -Takout info - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|id|[long](../types/long.md) | Yes|Takeout ID| - - - -### Type: [account\_Takeout](../types/account_Takeout.md) - - -### Example: - -```php -$account_takeout = ['_' => 'account.takeout', 'id' => long]; -``` - - -Or, if you're into Lua: - -```lua -account_takeout={_='account.takeout', id=long} - -``` - - diff --git a/old_docs/API_docs_v102/constructors/account_tmpPassword.md b/old_docs/API_docs_v102/constructors/account_tmpPassword.md deleted file mode 100644 index 68832780..00000000 --- a/old_docs/API_docs_v102/constructors/account_tmpPassword.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: account.tmpPassword -description: Temporary payment password -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.tmpPassword -[Back to constructors index](index.md) - - - -Temporary payment password - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|tmp\_password|[bytes](../types/bytes.md) | Yes|Temporary password| -|valid\_until|[int](../types/int.md) | Yes|Validity period| - - - -### Type: [account\_TmpPassword](../types/account_TmpPassword.md) - - -### Example: - -```php -$account_tmpPassword = ['_' => 'account.tmpPassword', 'tmp_password' => 'bytes', 'valid_until' => int]; -``` - - -Or, if you're into Lua: - -```lua -account_tmpPassword={_='account.tmpPassword', tmp_password='bytes', valid_until=int} - -``` - - diff --git a/old_docs/API_docs_v102/constructors/account_wallPapers.md b/old_docs/API_docs_v102/constructors/account_wallPapers.md deleted file mode 100644 index 6239c29c..00000000 --- a/old_docs/API_docs_v102/constructors/account_wallPapers.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: account.wallPapers -description: Installed wallpapers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.wallPapers -[Back to constructors index](index.md) - - - -Installed wallpapers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|wallpapers|Array of [WallPaper](../types/WallPaper.md) | Yes|Wallpapers| - - - -### Type: [account\_WallPapers](../types/account_WallPapers.md) - - -### Example: - -```php -$account_wallPapers = ['_' => 'account.wallPapers', 'hash' => int, 'wallpapers' => [WallPaper, WallPaper]]; -``` - - -Or, if you're into Lua: - -```lua -account_wallPapers={_='account.wallPapers', hash=int, wallpapers={WallPaper}} - -``` - - diff --git a/old_docs/API_docs_v102/constructors/account_wallPapersNotModified.md b/old_docs/API_docs_v102/constructors/account_wallPapersNotModified.md deleted file mode 100644 index acb28796..00000000 --- a/old_docs/API_docs_v102/constructors/account_wallPapersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: account.wallPapersNotModified -description: No new wallpapers were found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.wallPapersNotModified -[Back to constructors index](index.md) - - - -No new wallpapers were found - - - - -### Type: [account\_WallPapers](../types/account_WallPapers.md) - - -### Example: - -```php -$account_wallPapersNotModified = ['_' => 'account.wallPapersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -account_wallPapersNotModified={_='account.wallPapersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v102/constructors/account_webAuthorizations.md b/old_docs/API_docs_v102/constructors/account_webAuthorizations.md deleted file mode 100644 index ae402006..00000000 --- a/old_docs/API_docs_v102/constructors/account_webAuthorizations.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: account.webAuthorizations -description: Web authorizations -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.webAuthorizations -[Back to constructors index](index.md) - - - -Web authorizations - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|authorizations|Array of [WebAuthorization](../types/WebAuthorization.md) | Yes|Authorizations| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [account\_WebAuthorizations](../types/account_WebAuthorizations.md) - - -### Example: - -```php -$account_webAuthorizations = ['_' => 'account.webAuthorizations', 'authorizations' => [WebAuthorization, WebAuthorization], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -account_webAuthorizations={_='account.webAuthorizations', authorizations={WebAuthorization}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v102/constructors/auth.authorization.md b/old_docs/API_docs_v102/constructors/auth.authorization.md new file mode 100644 index 00000000..2a84bb12 --- /dev/null +++ b/old_docs/API_docs_v102/constructors/auth.authorization.md @@ -0,0 +1,39 @@ +--- +title: auth.authorization +description: Contains user authorization info. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.authorization +[Back to constructors index](index.md) + + + +Contains user authorization info. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|tmp\_sessions|[int](../types/int.md) | Optional|Temporary [passport](https://core.telegram.org/passport) sessions| +|user|[User](../types/User.md) | Optional|Info on authorized user| + + + +### Type: [auth.Authorization](../types/auth.Authorization.md) + + +### Example: + +```php +$auth.authorization = ['_' => 'auth.authorization', 'tmp_sessions' => int, 'user' => User]; +``` + + +Or, if you're into Lua: + +```lua +auth.authorization={_='auth.authorization', tmp_sessions=int, user=User} + +``` + + diff --git a/old_docs/API_docs_v102/constructors/auth.checkedPhone.md b/old_docs/API_docs_v102/constructors/auth.checkedPhone.md new file mode 100644 index 00000000..23e84cf9 --- /dev/null +++ b/old_docs/API_docs_v102/constructors/auth.checkedPhone.md @@ -0,0 +1,38 @@ +--- +title: auth.checkedPhone +description: Checked phone +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.checkedPhone +[Back to constructors index](index.md) + + + +Checked phone + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_registered|[Bool](../types/Bool.md) | Yes|Phone registered?| + + + +### Type: [auth.CheckedPhone](../types/auth.CheckedPhone.md) + + +### Example: + +```php +$auth.checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool]; +``` + + +Or, if you're into Lua: + +```lua +auth.checkedPhone={_='auth.checkedPhone', phone_registered=Bool} + +``` + + diff --git a/old_docs/API_docs_v102/constructors/auth.codeTypeCall.md b/old_docs/API_docs_v102/constructors/auth.codeTypeCall.md new file mode 100644 index 00000000..4b4a1cdc --- /dev/null +++ b/old_docs/API_docs_v102/constructors/auth.codeTypeCall.md @@ -0,0 +1,33 @@ +--- +title: auth.codeTypeCall +description: Type of verification code that will be sent next if you call the resendCode method: SMS code +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.codeTypeCall +[Back to constructors index](index.md) + + + +Type of verification code that will be sent next if you call the resendCode method: SMS code + + + + +### Type: [auth.CodeType](../types/auth.CodeType.md) + + +### Example: + +```php +$auth.codeTypeCall = ['_' => 'auth.codeTypeCall']; +``` + + +Or, if you're into Lua: + +```lua +auth.codeTypeCall={_='auth.codeTypeCall'} + +``` + + diff --git a/old_docs/API_docs_v102/constructors/auth.codeTypeFlashCall.md b/old_docs/API_docs_v102/constructors/auth.codeTypeFlashCall.md new file mode 100644 index 00000000..ef97e034 --- /dev/null +++ b/old_docs/API_docs_v102/constructors/auth.codeTypeFlashCall.md @@ -0,0 +1,33 @@ +--- +title: auth.codeTypeFlashCall +description: Type of verification code that will be sent next if you call the resendCode method: SMS code +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.codeTypeFlashCall +[Back to constructors index](index.md) + + + +Type of verification code that will be sent next if you call the resendCode method: SMS code + + + + +### Type: [auth.CodeType](../types/auth.CodeType.md) + + +### Example: + +```php +$auth.codeTypeFlashCall = ['_' => 'auth.codeTypeFlashCall']; +``` + + +Or, if you're into Lua: + +```lua +auth.codeTypeFlashCall={_='auth.codeTypeFlashCall'} + +``` + + diff --git a/old_docs/API_docs_v102/constructors/auth.codeTypeSms.md b/old_docs/API_docs_v102/constructors/auth.codeTypeSms.md new file mode 100644 index 00000000..bab9a5a4 --- /dev/null +++ b/old_docs/API_docs_v102/constructors/auth.codeTypeSms.md @@ -0,0 +1,33 @@ +--- +title: auth.codeTypeSms +description: Type of verification code that will be sent next if you call the resendCode method: SMS code +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.codeTypeSms +[Back to constructors index](index.md) + + + +Type of verification code that will be sent next if you call the resendCode method: SMS code + + + + +### Type: [auth.CodeType](../types/auth.CodeType.md) + + +### Example: + +```php +$auth.codeTypeSms = ['_' => 'auth.codeTypeSms']; +``` + + +Or, if you're into Lua: + +```lua +auth.codeTypeSms={_='auth.codeTypeSms'} + +``` + + diff --git a/old_docs/API_docs_v102/constructors/auth.exportedAuthorization.md b/old_docs/API_docs_v102/constructors/auth.exportedAuthorization.md new file mode 100644 index 00000000..2a4a9896 --- /dev/null +++ b/old_docs/API_docs_v102/constructors/auth.exportedAuthorization.md @@ -0,0 +1,39 @@ +--- +title: auth.exportedAuthorization +description: Data for copying of authorization between data centres. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.exportedAuthorization +[Back to constructors index](index.md) + + + +Data for copying of authorization between data centres. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|id|[int](../types/int.md) | Yes|Current user identifier| +|bytes|[bytes](../types/bytes.md) | Yes|Authorizes key| + + + +### Type: [auth.ExportedAuthorization](../types/auth.ExportedAuthorization.md) + + +### Example: + +```php +$auth.exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +auth.exportedAuthorization={_='auth.exportedAuthorization', id=int, bytes='bytes'} + +``` + + diff --git a/old_docs/API_docs_v102/constructors/auth.passwordRecovery.md b/old_docs/API_docs_v102/constructors/auth.passwordRecovery.md new file mode 100644 index 00000000..61de922d --- /dev/null +++ b/old_docs/API_docs_v102/constructors/auth.passwordRecovery.md @@ -0,0 +1,38 @@ +--- +title: auth.passwordRecovery +description: Recovery info of a [2FA password](https://core.telegram.org/api/srp), only for accounts with a [recovery email configured](https://core.telegram.org/api/srp#email-verification). +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.passwordRecovery +[Back to constructors index](index.md) + + + +Recovery info of a [2FA password](https://core.telegram.org/api/srp), only for accounts with a [recovery email configured](https://core.telegram.org/api/srp#email-verification). + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|email\_pattern|[string](../types/string.md) | Yes|The email to which the recovery code was sent must match this [pattern](https://core.telegram.org/api/pattern).| + + + +### Type: [auth.PasswordRecovery](../types/auth.PasswordRecovery.md) + + +### Example: + +```php +$auth.passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +auth.passwordRecovery={_='auth.passwordRecovery', email_pattern='string'} + +``` + + diff --git a/old_docs/API_docs_v102/constructors/auth.sentCode.md b/old_docs/API_docs_v102/constructors/auth.sentCode.md new file mode 100644 index 00000000..bfdaea05 --- /dev/null +++ b/old_docs/API_docs_v102/constructors/auth.sentCode.md @@ -0,0 +1,43 @@ +--- +title: auth.sentCode +description: Contains info about a sent verification code. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentCode +[Back to constructors index](index.md) + + + +Contains info about a sent verification code. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_registered|[Bool](../types/Bool.md) | Optional|Phone registered?| +|type|[auth.SentCodeType](../constructors/auth.SentCodeType.md) | Yes|Phone code type| +|phone\_code\_hash|[string](../types/string.md) | Yes|Phone code hash, to be stored and later re-used with [auth.signIn](../methods/auth.signIn.md)| +|next\_type|[auth.CodeType](../constructors/auth.CodeType.md) | Optional|Phone code type that will be sent next, if the phone code is not received within `timeout` seconds: to send it use [auth.resendCode](../methods/auth.resendCode.md)| +|timeout|[int](../types/int.md) | Optional|Timeout for reception of the phone code| +|terms\_of\_service|[help.TermsOfService](../constructors/help.TermsOfService.md) | Optional|Terms of service| + + + +### Type: [auth.SentCode](../types/auth.SentCode.md) + + +### Example: + +```php +$auth.sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'type' => auth.SentCodeType, 'phone_code_hash' => 'string', 'next_type' => auth.CodeType, 'timeout' => int, 'terms_of_service' => help.TermsOfService]; +``` + + +Or, if you're into Lua: + +```lua +auth.sentCode={_='auth.sentCode', phone_registered=Bool, type=auth.SentCodeType, phone_code_hash='string', next_type=auth.CodeType, timeout=int, terms_of_service=help.TermsOfService} + +``` + + diff --git a/old_docs/API_docs_v102/constructors/auth.sentCodeTypeApp.md b/old_docs/API_docs_v102/constructors/auth.sentCodeTypeApp.md new file mode 100644 index 00000000..5f2d4aa3 --- /dev/null +++ b/old_docs/API_docs_v102/constructors/auth.sentCodeTypeApp.md @@ -0,0 +1,38 @@ +--- +title: auth.sentCodeTypeApp +description: The code was sent through the telegram app +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentCodeTypeApp +[Back to constructors index](index.md) + + + +The code was sent through the telegram app + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|length|[int](../types/int.md) | Yes|Length of the code in bytes| + + + +### Type: [auth.SentCodeType](../types/auth.SentCodeType.md) + + +### Example: + +```php +$auth.sentCodeTypeApp = ['_' => 'auth.sentCodeTypeApp', 'length' => int]; +``` + + +Or, if you're into Lua: + +```lua +auth.sentCodeTypeApp={_='auth.sentCodeTypeApp', length=int} + +``` + + diff --git a/old_docs/API_docs_v102/constructors/auth.sentCodeTypeCall.md b/old_docs/API_docs_v102/constructors/auth.sentCodeTypeCall.md new file mode 100644 index 00000000..9843b3df --- /dev/null +++ b/old_docs/API_docs_v102/constructors/auth.sentCodeTypeCall.md @@ -0,0 +1,38 @@ +--- +title: auth.sentCodeTypeCall +description: The code will be sent via a phone call: a synthesized voice will tell the user which verification code to input. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentCodeTypeCall +[Back to constructors index](index.md) + + + +The code will be sent via a phone call: a synthesized voice will tell the user which verification code to input. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|length|[int](../types/int.md) | Yes|Length of the verification code| + + + +### Type: [auth.SentCodeType](../types/auth.SentCodeType.md) + + +### Example: + +```php +$auth.sentCodeTypeCall = ['_' => 'auth.sentCodeTypeCall', 'length' => int]; +``` + + +Or, if you're into Lua: + +```lua +auth.sentCodeTypeCall={_='auth.sentCodeTypeCall', length=int} + +``` + + diff --git a/old_docs/API_docs_v102/constructors/auth.sentCodeTypeFlashCall.md b/old_docs/API_docs_v102/constructors/auth.sentCodeTypeFlashCall.md new file mode 100644 index 00000000..0d24751d --- /dev/null +++ b/old_docs/API_docs_v102/constructors/auth.sentCodeTypeFlashCall.md @@ -0,0 +1,38 @@ +--- +title: auth.sentCodeTypeFlashCall +description: The code will be sent via a flash phone call, that will be closed immediately. The phone code will then be the phone number itself, just make sure that the phone number matches the specified pattern. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentCodeTypeFlashCall +[Back to constructors index](index.md) + + + +The code will be sent via a flash phone call, that will be closed immediately. The phone code will then be the phone number itself, just make sure that the phone number matches the specified pattern. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pattern|[string](../types/string.md) | Yes|[pattern](https://core.telegram.org/api/pattern) to match| + + + +### Type: [auth.SentCodeType](../types/auth.SentCodeType.md) + + +### Example: + +```php +$auth.sentCodeTypeFlashCall = ['_' => 'auth.sentCodeTypeFlashCall', 'pattern' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +auth.sentCodeTypeFlashCall={_='auth.sentCodeTypeFlashCall', pattern='string'} + +``` + + diff --git a/old_docs/API_docs_v102/constructors/auth.sentCodeTypeSms.md b/old_docs/API_docs_v102/constructors/auth.sentCodeTypeSms.md new file mode 100644 index 00000000..d8ecb75e --- /dev/null +++ b/old_docs/API_docs_v102/constructors/auth.sentCodeTypeSms.md @@ -0,0 +1,38 @@ +--- +title: auth.sentCodeTypeSms +description: The code was sent via SMS +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentCodeTypeSms +[Back to constructors index](index.md) + + + +The code was sent via SMS + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|length|[int](../types/int.md) | Yes|Length of the code in bytes| + + + +### Type: [auth.SentCodeType](../types/auth.SentCodeType.md) + + +### Example: + +```php +$auth.sentCodeTypeSms = ['_' => 'auth.sentCodeTypeSms', 'length' => int]; +``` + + +Or, if you're into Lua: + +```lua +auth.sentCodeTypeSms={_='auth.sentCodeTypeSms', length=int} + +``` + + diff --git a/old_docs/API_docs_v102/constructors/auth_authorization.md b/old_docs/API_docs_v102/constructors/auth_authorization.md deleted file mode 100644 index cb72811d..00000000 --- a/old_docs/API_docs_v102/constructors/auth_authorization.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: auth.authorization -description: Contains user authorization info. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.authorization -[Back to constructors index](index.md) - - - -Contains user authorization info. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|tmp\_sessions|[int](../types/int.md) | Optional|Temporary [passport](https://core.telegram.org/passport) sessions| -|user|[User](../types/User.md) | Optional|Info on authorized user| - - - -### Type: [auth\_Authorization](../types/auth_Authorization.md) - - -### Example: - -```php -$auth_authorization = ['_' => 'auth.authorization', 'tmp_sessions' => int, 'user' => User]; -``` - - -Or, if you're into Lua: - -```lua -auth_authorization={_='auth.authorization', tmp_sessions=int, user=User} - -``` - - diff --git a/old_docs/API_docs_v102/constructors/auth_checkedPhone.md b/old_docs/API_docs_v102/constructors/auth_checkedPhone.md deleted file mode 100644 index c77becf6..00000000 --- a/old_docs/API_docs_v102/constructors/auth_checkedPhone.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.checkedPhone -description: Checked phone -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.checkedPhone -[Back to constructors index](index.md) - - - -Checked phone - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_registered|[Bool](../types/Bool.md) | Yes|Phone registered?| - - - -### Type: [auth\_CheckedPhone](../types/auth_CheckedPhone.md) - - -### Example: - -```php -$auth_checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool]; -``` - - -Or, if you're into Lua: - -```lua -auth_checkedPhone={_='auth.checkedPhone', phone_registered=Bool} - -``` - - diff --git a/old_docs/API_docs_v102/constructors/auth_codeTypeCall.md b/old_docs/API_docs_v102/constructors/auth_codeTypeCall.md deleted file mode 100644 index 3e957c2a..00000000 --- a/old_docs/API_docs_v102/constructors/auth_codeTypeCall.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: auth.codeTypeCall -description: Type of verification code that will be sent next if you call the resendCode method: SMS code -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.codeTypeCall -[Back to constructors index](index.md) - - - -Type of verification code that will be sent next if you call the resendCode method: SMS code - - - - -### Type: [auth\_CodeType](../types/auth_CodeType.md) - - -### Example: - -```php -$auth_codeTypeCall = ['_' => 'auth.codeTypeCall']; -``` - - -Or, if you're into Lua: - -```lua -auth_codeTypeCall={_='auth.codeTypeCall'} - -``` - - diff --git a/old_docs/API_docs_v102/constructors/auth_codeTypeFlashCall.md b/old_docs/API_docs_v102/constructors/auth_codeTypeFlashCall.md deleted file mode 100644 index 981b2461..00000000 --- a/old_docs/API_docs_v102/constructors/auth_codeTypeFlashCall.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: auth.codeTypeFlashCall -description: Type of verification code that will be sent next if you call the resendCode method: SMS code -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.codeTypeFlashCall -[Back to constructors index](index.md) - - - -Type of verification code that will be sent next if you call the resendCode method: SMS code - - - - -### Type: [auth\_CodeType](../types/auth_CodeType.md) - - -### Example: - -```php -$auth_codeTypeFlashCall = ['_' => 'auth.codeTypeFlashCall']; -``` - - -Or, if you're into Lua: - -```lua -auth_codeTypeFlashCall={_='auth.codeTypeFlashCall'} - -``` - - diff --git a/old_docs/API_docs_v102/constructors/auth_codeTypeSms.md b/old_docs/API_docs_v102/constructors/auth_codeTypeSms.md deleted file mode 100644 index 16eb5d0d..00000000 --- a/old_docs/API_docs_v102/constructors/auth_codeTypeSms.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: auth.codeTypeSms -description: Type of verification code that will be sent next if you call the resendCode method: SMS code -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.codeTypeSms -[Back to constructors index](index.md) - - - -Type of verification code that will be sent next if you call the resendCode method: SMS code - - - - -### Type: [auth\_CodeType](../types/auth_CodeType.md) - - -### Example: - -```php -$auth_codeTypeSms = ['_' => 'auth.codeTypeSms']; -``` - - -Or, if you're into Lua: - -```lua -auth_codeTypeSms={_='auth.codeTypeSms'} - -``` - - diff --git a/old_docs/API_docs_v102/constructors/auth_exportedAuthorization.md b/old_docs/API_docs_v102/constructors/auth_exportedAuthorization.md deleted file mode 100644 index 8d18916e..00000000 --- a/old_docs/API_docs_v102/constructors/auth_exportedAuthorization.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: auth.exportedAuthorization -description: Data for copying of authorization between data centres. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.exportedAuthorization -[Back to constructors index](index.md) - - - -Data for copying of authorization between data centres. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|id|[int](../types/int.md) | Yes|Current user identifier| -|bytes|[bytes](../types/bytes.md) | Yes|Authorizes key| - - - -### Type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) - - -### Example: - -```php -$auth_exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -auth_exportedAuthorization={_='auth.exportedAuthorization', id=int, bytes='bytes'} - -``` - - diff --git a/old_docs/API_docs_v102/constructors/auth_passwordRecovery.md b/old_docs/API_docs_v102/constructors/auth_passwordRecovery.md deleted file mode 100644 index c40f375e..00000000 --- a/old_docs/API_docs_v102/constructors/auth_passwordRecovery.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.passwordRecovery -description: Recovery info of a [2FA password](https://core.telegram.org/api/srp), only for accounts with a [recovery email configured](https://core.telegram.org/api/srp#email-verification). -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.passwordRecovery -[Back to constructors index](index.md) - - - -Recovery info of a [2FA password](https://core.telegram.org/api/srp), only for accounts with a [recovery email configured](https://core.telegram.org/api/srp#email-verification). - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|email\_pattern|[string](../types/string.md) | Yes|The email to which the recovery code was sent must match this [pattern](https://core.telegram.org/api/pattern).| - - - -### Type: [auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) - - -### Example: - -```php -$auth_passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -auth_passwordRecovery={_='auth.passwordRecovery', email_pattern='string'} - -``` - - diff --git a/old_docs/API_docs_v102/constructors/auth_sentCode.md b/old_docs/API_docs_v102/constructors/auth_sentCode.md deleted file mode 100644 index f34f844a..00000000 --- a/old_docs/API_docs_v102/constructors/auth_sentCode.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: auth.sentCode -description: Contains info about a sent verification code. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentCode -[Back to constructors index](index.md) - - - -Contains info about a sent verification code. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_registered|[Bool](../types/Bool.md) | Optional|Phone registered?| -|type|[auth\_SentCodeType](../types/auth_SentCodeType.md) | Yes|Phone code type| -|phone\_code\_hash|[string](../types/string.md) | Yes|Phone code hash, to be stored and later re-used with [auth.signIn](../methods/auth.signIn.md)| -|next\_type|[auth\_CodeType](../types/auth_CodeType.md) | Optional|Phone code type that will be sent next, if the phone code is not received within `timeout` seconds: to send it use [auth.resendCode](../methods/auth.resendCode.md)| -|timeout|[int](../types/int.md) | Optional|Timeout for reception of the phone code| -|terms\_of\_service|[help\_TermsOfService](../types/help_TermsOfService.md) | Optional|Terms of service| - - - -### Type: [auth\_SentCode](../types/auth_SentCode.md) - - -### Example: - -```php -$auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'type' => auth_SentCodeType, 'phone_code_hash' => 'string', 'next_type' => auth_CodeType, 'timeout' => int, 'terms_of_service' => help_TermsOfService]; -``` - - -Or, if you're into Lua: - -```lua -auth_sentCode={_='auth.sentCode', phone_registered=Bool, type=auth_SentCodeType, phone_code_hash='string', next_type=auth_CodeType, timeout=int, terms_of_service=help_TermsOfService} - -``` - - diff --git a/old_docs/API_docs_v102/constructors/auth_sentCodeTypeApp.md b/old_docs/API_docs_v102/constructors/auth_sentCodeTypeApp.md deleted file mode 100644 index 6b7ad824..00000000 --- a/old_docs/API_docs_v102/constructors/auth_sentCodeTypeApp.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.sentCodeTypeApp -description: The code was sent through the telegram app -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentCodeTypeApp -[Back to constructors index](index.md) - - - -The code was sent through the telegram app - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|length|[int](../types/int.md) | Yes|Length of the code in bytes| - - - -### Type: [auth\_SentCodeType](../types/auth_SentCodeType.md) - - -### Example: - -```php -$auth_sentCodeTypeApp = ['_' => 'auth.sentCodeTypeApp', 'length' => int]; -``` - - -Or, if you're into Lua: - -```lua -auth_sentCodeTypeApp={_='auth.sentCodeTypeApp', length=int} - -``` - - diff --git a/old_docs/API_docs_v102/constructors/auth_sentCodeTypeCall.md b/old_docs/API_docs_v102/constructors/auth_sentCodeTypeCall.md deleted file mode 100644 index bf025aa5..00000000 --- a/old_docs/API_docs_v102/constructors/auth_sentCodeTypeCall.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.sentCodeTypeCall -description: The code will be sent via a phone call: a synthesized voice will tell the user which verification code to input. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentCodeTypeCall -[Back to constructors index](index.md) - - - -The code will be sent via a phone call: a synthesized voice will tell the user which verification code to input. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|length|[int](../types/int.md) | Yes|Length of the verification code| - - - -### Type: [auth\_SentCodeType](../types/auth_SentCodeType.md) - - -### Example: - -```php -$auth_sentCodeTypeCall = ['_' => 'auth.sentCodeTypeCall', 'length' => int]; -``` - - -Or, if you're into Lua: - -```lua -auth_sentCodeTypeCall={_='auth.sentCodeTypeCall', length=int} - -``` - - diff --git a/old_docs/API_docs_v102/constructors/auth_sentCodeTypeFlashCall.md b/old_docs/API_docs_v102/constructors/auth_sentCodeTypeFlashCall.md deleted file mode 100644 index efe64ce7..00000000 --- a/old_docs/API_docs_v102/constructors/auth_sentCodeTypeFlashCall.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.sentCodeTypeFlashCall -description: The code will be sent via a flash phone call, that will be closed immediately. The phone code will then be the phone number itself, just make sure that the phone number matches the specified pattern. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentCodeTypeFlashCall -[Back to constructors index](index.md) - - - -The code will be sent via a flash phone call, that will be closed immediately. The phone code will then be the phone number itself, just make sure that the phone number matches the specified pattern. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pattern|[string](../types/string.md) | Yes|[pattern](https://core.telegram.org/api/pattern) to match| - - - -### Type: [auth\_SentCodeType](../types/auth_SentCodeType.md) - - -### Example: - -```php -$auth_sentCodeTypeFlashCall = ['_' => 'auth.sentCodeTypeFlashCall', 'pattern' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -auth_sentCodeTypeFlashCall={_='auth.sentCodeTypeFlashCall', pattern='string'} - -``` - - diff --git a/old_docs/API_docs_v102/constructors/auth_sentCodeTypeSms.md b/old_docs/API_docs_v102/constructors/auth_sentCodeTypeSms.md deleted file mode 100644 index 8e27dac9..00000000 --- a/old_docs/API_docs_v102/constructors/auth_sentCodeTypeSms.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.sentCodeTypeSms -description: The code was sent via SMS -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentCodeTypeSms -[Back to constructors index](index.md) - - - -The code was sent via SMS - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|length|[int](../types/int.md) | Yes|Length of the code in bytes| - - - -### Type: [auth\_SentCodeType](../types/auth_SentCodeType.md) - - -### Example: - -```php -$auth_sentCodeTypeSms = ['_' => 'auth.sentCodeTypeSms', 'length' => int]; -``` - - -Or, if you're into Lua: - -```lua -auth_sentCodeTypeSms={_='auth.sentCodeTypeSms', length=int} - -``` - - diff --git a/old_docs/API_docs_v102/constructors/channels.adminLogResults.md b/old_docs/API_docs_v102/constructors/channels.adminLogResults.md new file mode 100644 index 00000000..fc4e234a --- /dev/null +++ b/old_docs/API_docs_v102/constructors/channels.adminLogResults.md @@ -0,0 +1,40 @@ +--- +title: channels.adminLogResults +description: Admin log events +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: channels.adminLogResults +[Back to constructors index](index.md) + + + +Admin log events + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|events|Array of [ChannelAdminLogEvent](../types/ChannelAdminLogEvent.md) | Yes|Events| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [channels.AdminLogResults](../types/channels.AdminLogResults.md) + + +### Example: + +```php +$channels.adminLogResults = ['_' => 'channels.adminLogResults', 'events' => [ChannelAdminLogEvent, ChannelAdminLogEvent], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +channels.adminLogResults={_='channels.adminLogResults', events={ChannelAdminLogEvent}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v102/constructors/channels.channelParticipant.md b/old_docs/API_docs_v102/constructors/channels.channelParticipant.md new file mode 100644 index 00000000..0f09777f --- /dev/null +++ b/old_docs/API_docs_v102/constructors/channels.channelParticipant.md @@ -0,0 +1,39 @@ +--- +title: channels.channelParticipant +description: Represents a channel participant +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: channels.channelParticipant +[Back to constructors index](index.md) + + + +Represents a channel participant + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|participant|[ChannelParticipant](../types/ChannelParticipant.md) | Yes|The channel participant| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [channels.ChannelParticipant](../types/channels.ChannelParticipant.md) + + +### Example: + +```php +$channels.channelParticipant = ['_' => 'channels.channelParticipant', 'participant' => ChannelParticipant, 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +channels.channelParticipant={_='channels.channelParticipant', participant=ChannelParticipant, users={User}} + +``` + + diff --git a/old_docs/API_docs_v102/constructors/channels.channelParticipants.md b/old_docs/API_docs_v102/constructors/channels.channelParticipants.md new file mode 100644 index 00000000..6ee1a8b3 --- /dev/null +++ b/old_docs/API_docs_v102/constructors/channels.channelParticipants.md @@ -0,0 +1,40 @@ +--- +title: channels.channelParticipants +description: Represents multiple channel participants +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: channels.channelParticipants +[Back to constructors index](index.md) + + + +Represents multiple channel participants + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of participants that correspond to the given query| +|participants|Array of [ChannelParticipant](../types/ChannelParticipant.md) | Yes|Participants| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [channels.ChannelParticipants](../types/channels.ChannelParticipants.md) + + +### Example: + +```php +$channels.channelParticipants = ['_' => 'channels.channelParticipants', 'count' => int, 'participants' => [ChannelParticipant, ChannelParticipant], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +channels.channelParticipants={_='channels.channelParticipants', count=int, participants={ChannelParticipant}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v102/constructors/channels.channelParticipantsNotModified.md b/old_docs/API_docs_v102/constructors/channels.channelParticipantsNotModified.md new file mode 100644 index 00000000..37ece73a --- /dev/null +++ b/old_docs/API_docs_v102/constructors/channels.channelParticipantsNotModified.md @@ -0,0 +1,33 @@ +--- +title: channels.channelParticipantsNotModified +description: No new participant info could be found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: channels.channelParticipantsNotModified +[Back to constructors index](index.md) + + + +No new participant info could be found + + + + +### Type: [channels.ChannelParticipants](../types/channels.ChannelParticipants.md) + + +### Example: + +```php +$channels.channelParticipantsNotModified = ['_' => 'channels.channelParticipantsNotModified']; +``` + + +Or, if you're into Lua: + +```lua +channels.channelParticipantsNotModified={_='channels.channelParticipantsNotModified'} + +``` + + diff --git a/old_docs/API_docs_v102/constructors/channels_adminLogResults.md b/old_docs/API_docs_v102/constructors/channels_adminLogResults.md deleted file mode 100644 index 9061212a..00000000 --- a/old_docs/API_docs_v102/constructors/channels_adminLogResults.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: channels.adminLogResults -description: Admin log events -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: channels.adminLogResults -[Back to constructors index](index.md) - - - -Admin log events - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|events|Array of [ChannelAdminLogEvent](../types/ChannelAdminLogEvent.md) | Yes|Events| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [channels\_AdminLogResults](../types/channels_AdminLogResults.md) - - -### Example: - -```php -$channels_adminLogResults = ['_' => 'channels.adminLogResults', 'events' => [ChannelAdminLogEvent, ChannelAdminLogEvent], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -channels_adminLogResults={_='channels.adminLogResults', events={ChannelAdminLogEvent}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v102/constructors/channels_channelParticipant.md b/old_docs/API_docs_v102/constructors/channels_channelParticipant.md deleted file mode 100644 index 15fe46a4..00000000 --- a/old_docs/API_docs_v102/constructors/channels_channelParticipant.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: channels.channelParticipant -description: Represents a channel participant -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: channels.channelParticipant -[Back to constructors index](index.md) - - - -Represents a channel participant - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|participant|[ChannelParticipant](../types/ChannelParticipant.md) | Yes|The channel participant| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [channels\_ChannelParticipant](../types/channels_ChannelParticipant.md) - - -### Example: - -```php -$channels_channelParticipant = ['_' => 'channels.channelParticipant', 'participant' => ChannelParticipant, 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -channels_channelParticipant={_='channels.channelParticipant', participant=ChannelParticipant, users={User}} - -``` - - diff --git a/old_docs/API_docs_v102/constructors/channels_channelParticipants.md b/old_docs/API_docs_v102/constructors/channels_channelParticipants.md deleted file mode 100644 index 1848a04f..00000000 --- a/old_docs/API_docs_v102/constructors/channels_channelParticipants.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: channels.channelParticipants -description: Represents multiple channel participants -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: channels.channelParticipants -[Back to constructors index](index.md) - - - -Represents multiple channel participants - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of participants that correspond to the given query| -|participants|Array of [ChannelParticipant](../types/ChannelParticipant.md) | Yes|Participants| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [channels\_ChannelParticipants](../types/channels_ChannelParticipants.md) - - -### Example: - -```php -$channels_channelParticipants = ['_' => 'channels.channelParticipants', 'count' => int, 'participants' => [ChannelParticipant, ChannelParticipant], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -channels_channelParticipants={_='channels.channelParticipants', count=int, participants={ChannelParticipant}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v102/constructors/channels_channelParticipantsNotModified.md b/old_docs/API_docs_v102/constructors/channels_channelParticipantsNotModified.md deleted file mode 100644 index 800048f7..00000000 --- a/old_docs/API_docs_v102/constructors/channels_channelParticipantsNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: channels.channelParticipantsNotModified -description: No new participant info could be found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: channels.channelParticipantsNotModified -[Back to constructors index](index.md) - - - -No new participant info could be found - - - - -### Type: [channels\_ChannelParticipants](../types/channels_ChannelParticipants.md) - - -### Example: - -```php -$channels_channelParticipantsNotModified = ['_' => 'channels.channelParticipantsNotModified']; -``` - - -Or, if you're into Lua: - -```lua -channels_channelParticipantsNotModified={_='channels.channelParticipantsNotModified'} - -``` - - diff --git a/old_docs/API_docs_v102/constructors/contacts.blocked.md b/old_docs/API_docs_v102/constructors/contacts.blocked.md new file mode 100644 index 00000000..d2b3f680 --- /dev/null +++ b/old_docs/API_docs_v102/constructors/contacts.blocked.md @@ -0,0 +1,39 @@ +--- +title: contacts.blocked +description: Full list of blocked users. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.blocked +[Back to constructors index](index.md) + + + +Full list of blocked users. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Blocked](../types/contacts.Blocked.md) + + +### Example: + +```php +$contacts.blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.blocked={_='contacts.blocked', blocked={ContactBlocked}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v102/constructors/contacts.blockedSlice.md b/old_docs/API_docs_v102/constructors/contacts.blockedSlice.md new file mode 100644 index 00000000..92d19c72 --- /dev/null +++ b/old_docs/API_docs_v102/constructors/contacts.blockedSlice.md @@ -0,0 +1,40 @@ +--- +title: contacts.blockedSlice +description: Incomplete list of blocked users. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.blockedSlice +[Back to constructors index](index.md) + + + +Incomplete list of blocked users. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of elements in the list| +|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Blocked](../types/contacts.Blocked.md) + + +### Example: + +```php +$contacts.blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.blockedSlice={_='contacts.blockedSlice', count=int, blocked={ContactBlocked}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v102/constructors/contacts.contacts.md b/old_docs/API_docs_v102/constructors/contacts.contacts.md new file mode 100644 index 00000000..c3251e5d --- /dev/null +++ b/old_docs/API_docs_v102/constructors/contacts.contacts.md @@ -0,0 +1,40 @@ +--- +title: contacts.contacts +description: The current user's contact list and info on users. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.contacts +[Back to constructors index](index.md) + + + +The current user's contact list and info on users. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|contacts|Array of [Contact](../types/Contact.md) | Yes|Contacts| +|saved\_count|[int](../types/int.md) | Yes|Number of contacts that were saved successfully| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Contacts](../types/contacts.Contacts.md) + + +### Example: + +```php +$contacts.contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact, Contact], 'saved_count' => int, 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.contacts={_='contacts.contacts', contacts={Contact}, saved_count=int, users={User}} + +``` + + diff --git a/old_docs/API_docs_v102/constructors/contacts.contactsNotModified.md b/old_docs/API_docs_v102/constructors/contacts.contactsNotModified.md new file mode 100644 index 00000000..e2149396 --- /dev/null +++ b/old_docs/API_docs_v102/constructors/contacts.contactsNotModified.md @@ -0,0 +1,33 @@ +--- +title: contacts.contactsNotModified +description: Contact list on the server is the same as the list on the client. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.contactsNotModified +[Back to constructors index](index.md) + + + +Contact list on the server is the same as the list on the client. + + + + +### Type: [contacts.Contacts](../types/contacts.Contacts.md) + + +### Example: + +```php +$contacts.contactsNotModified = ['_' => 'contacts.contactsNotModified']; +``` + + +Or, if you're into Lua: + +```lua +contacts.contactsNotModified={_='contacts.contactsNotModified'} + +``` + + diff --git a/old_docs/API_docs_v102/constructors/contacts.found.md b/old_docs/API_docs_v102/constructors/contacts.found.md new file mode 100644 index 00000000..65df2f8d --- /dev/null +++ b/old_docs/API_docs_v102/constructors/contacts.found.md @@ -0,0 +1,41 @@ +--- +title: contacts.found +description: Users found by name substring and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.found +[Back to constructors index](index.md) + + + +Users found by name substring and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|my\_results|Array of [Peer](../types/Peer.md) | Yes|My results| +|results|Array of [Peer](../types/Peer.md) | Yes|Results| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Found](../types/contacts.Found.md) + + +### Example: + +```php +$contacts.found = ['_' => 'contacts.found', 'my_results' => [Peer, Peer], 'results' => [Peer, Peer], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.found={_='contacts.found', my_results={Peer}, results={Peer}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v102/constructors/contacts.importedContacts.md b/old_docs/API_docs_v102/constructors/contacts.importedContacts.md new file mode 100644 index 00000000..20075931 --- /dev/null +++ b/old_docs/API_docs_v102/constructors/contacts.importedContacts.md @@ -0,0 +1,41 @@ +--- +title: contacts.importedContacts +description: Info on succesfully imported contacts. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.importedContacts +[Back to constructors index](index.md) + + + +Info on succesfully imported contacts. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|imported|Array of [ImportedContact](../types/ImportedContact.md) | Yes|Imported| +|popular\_invites|Array of [PopularContact](../types/PopularContact.md) | Yes|Popular invites| +|retry\_contacts|Array of [long](../types/long.md) | Yes|Retry importing contacts whose client IDs appear here| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.ImportedContacts](../types/contacts.ImportedContacts.md) + + +### Example: + +```php +$contacts.importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact, ImportedContact], 'popular_invites' => [PopularContact, PopularContact], 'retry_contacts' => [long, long], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.importedContacts={_='contacts.importedContacts', imported={ImportedContact}, popular_invites={PopularContact}, retry_contacts={long}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v102/constructors/contacts.resolvedPeer.md b/old_docs/API_docs_v102/constructors/contacts.resolvedPeer.md new file mode 100644 index 00000000..35d88481 --- /dev/null +++ b/old_docs/API_docs_v102/constructors/contacts.resolvedPeer.md @@ -0,0 +1,40 @@ +--- +title: contacts.resolvedPeer +description: Resolved peer +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.resolvedPeer +[Back to constructors index](index.md) + + + +Resolved peer + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|peer|[Peer](../types/Peer.md) | Yes|The peer| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.ResolvedPeer](../types/contacts.ResolvedPeer.md) + + +### Example: + +```php +$contacts.resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.resolvedPeer={_='contacts.resolvedPeer', peer=Peer, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v102/constructors/contacts.topPeers.md b/old_docs/API_docs_v102/constructors/contacts.topPeers.md new file mode 100644 index 00000000..19d9c712 --- /dev/null +++ b/old_docs/API_docs_v102/constructors/contacts.topPeers.md @@ -0,0 +1,40 @@ +--- +title: contacts.topPeers +description: Top peers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.topPeers +[Back to constructors index](index.md) + + + +Top peers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|categories|Array of [TopPeerCategoryPeers](../types/TopPeerCategoryPeers.md) | Yes|Categories| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.TopPeers](../types/contacts.TopPeers.md) + + +### Example: + +```php +$contacts.topPeers = ['_' => 'contacts.topPeers', 'categories' => [TopPeerCategoryPeers, TopPeerCategoryPeers], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.topPeers={_='contacts.topPeers', categories={TopPeerCategoryPeers}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v102/constructors/contacts.topPeersDisabled.md b/old_docs/API_docs_v102/constructors/contacts.topPeersDisabled.md new file mode 100644 index 00000000..a0e2c50b --- /dev/null +++ b/old_docs/API_docs_v102/constructors/contacts.topPeersDisabled.md @@ -0,0 +1,33 @@ +--- +title: contacts.topPeersDisabled +description: Top peers disabled +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.topPeersDisabled +[Back to constructors index](index.md) + + + +Top peers disabled + + + + +### Type: [contacts.TopPeers](../types/contacts.TopPeers.md) + + +### Example: + +```php +$contacts.topPeersDisabled = ['_' => 'contacts.topPeersDisabled']; +``` + + +Or, if you're into Lua: + +```lua +contacts.topPeersDisabled={_='contacts.topPeersDisabled'} + +``` + + diff --git a/old_docs/API_docs_v102/constructors/contacts.topPeersNotModified.md b/old_docs/API_docs_v102/constructors/contacts.topPeersNotModified.md new file mode 100644 index 00000000..77c5eb4d --- /dev/null +++ b/old_docs/API_docs_v102/constructors/contacts.topPeersNotModified.md @@ -0,0 +1,33 @@ +--- +title: contacts.topPeersNotModified +description: Top peer info hasn't changed +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.topPeersNotModified +[Back to constructors index](index.md) + + + +Top peer info hasn't changed + + + + +### Type: [contacts.TopPeers](../types/contacts.TopPeers.md) + + +### Example: + +```php +$contacts.topPeersNotModified = ['_' => 'contacts.topPeersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +contacts.topPeersNotModified={_='contacts.topPeersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v102/constructors/contacts_blocked.md b/old_docs/API_docs_v102/constructors/contacts_blocked.md deleted file mode 100644 index 20e33002..00000000 --- a/old_docs/API_docs_v102/constructors/contacts_blocked.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: contacts.blocked -description: Full list of blocked users. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.blocked -[Back to constructors index](index.md) - - - -Full list of blocked users. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Blocked](../types/contacts_Blocked.md) - - -### Example: - -```php -$contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_blocked={_='contacts.blocked', blocked={ContactBlocked}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v102/constructors/contacts_blockedSlice.md b/old_docs/API_docs_v102/constructors/contacts_blockedSlice.md deleted file mode 100644 index fcab9a28..00000000 --- a/old_docs/API_docs_v102/constructors/contacts_blockedSlice.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.blockedSlice -description: Incomplete list of blocked users. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.blockedSlice -[Back to constructors index](index.md) - - - -Incomplete list of blocked users. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of elements in the list| -|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Blocked](../types/contacts_Blocked.md) - - -### Example: - -```php -$contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_blockedSlice={_='contacts.blockedSlice', count=int, blocked={ContactBlocked}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v102/constructors/contacts_contacts.md b/old_docs/API_docs_v102/constructors/contacts_contacts.md deleted file mode 100644 index 0e6f0dd3..00000000 --- a/old_docs/API_docs_v102/constructors/contacts_contacts.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.contacts -description: The current user's contact list and info on users. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.contacts -[Back to constructors index](index.md) - - - -The current user's contact list and info on users. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|contacts|Array of [Contact](../types/Contact.md) | Yes|Contacts| -|saved\_count|[int](../types/int.md) | Yes|Number of contacts that were saved successfully| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Contacts](../types/contacts_Contacts.md) - - -### Example: - -```php -$contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact, Contact], 'saved_count' => int, 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_contacts={_='contacts.contacts', contacts={Contact}, saved_count=int, users={User}} - -``` - - diff --git a/old_docs/API_docs_v102/constructors/contacts_contactsNotModified.md b/old_docs/API_docs_v102/constructors/contacts_contactsNotModified.md deleted file mode 100644 index 17e76ac3..00000000 --- a/old_docs/API_docs_v102/constructors/contacts_contactsNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: contacts.contactsNotModified -description: Contact list on the server is the same as the list on the client. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.contactsNotModified -[Back to constructors index](index.md) - - - -Contact list on the server is the same as the list on the client. - - - - -### Type: [contacts\_Contacts](../types/contacts_Contacts.md) - - -### Example: - -```php -$contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified']; -``` - - -Or, if you're into Lua: - -```lua -contacts_contactsNotModified={_='contacts.contactsNotModified'} - -``` - - diff --git a/old_docs/API_docs_v102/constructors/contacts_found.md b/old_docs/API_docs_v102/constructors/contacts_found.md deleted file mode 100644 index 76b9aa0c..00000000 --- a/old_docs/API_docs_v102/constructors/contacts_found.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: contacts.found -description: Users found by name substring and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.found -[Back to constructors index](index.md) - - - -Users found by name substring and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|my\_results|Array of [Peer](../types/Peer.md) | Yes|My results| -|results|Array of [Peer](../types/Peer.md) | Yes|Results| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Found](../types/contacts_Found.md) - - -### Example: - -```php -$contacts_found = ['_' => 'contacts.found', 'my_results' => [Peer, Peer], 'results' => [Peer, Peer], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_found={_='contacts.found', my_results={Peer}, results={Peer}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v102/constructors/contacts_importedContacts.md b/old_docs/API_docs_v102/constructors/contacts_importedContacts.md deleted file mode 100644 index e534754b..00000000 --- a/old_docs/API_docs_v102/constructors/contacts_importedContacts.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: contacts.importedContacts -description: Info on succesfully imported contacts. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.importedContacts -[Back to constructors index](index.md) - - - -Info on succesfully imported contacts. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|imported|Array of [ImportedContact](../types/ImportedContact.md) | Yes|Imported| -|popular\_invites|Array of [PopularContact](../types/PopularContact.md) | Yes|Popular invites| -|retry\_contacts|Array of [long](../types/long.md) | Yes|Retry importing contacts whose client IDs appear here| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) - - -### Example: - -```php -$contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact, ImportedContact], 'popular_invites' => [PopularContact, PopularContact], 'retry_contacts' => [long, long], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_importedContacts={_='contacts.importedContacts', imported={ImportedContact}, popular_invites={PopularContact}, retry_contacts={long}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v102/constructors/contacts_resolvedPeer.md b/old_docs/API_docs_v102/constructors/contacts_resolvedPeer.md deleted file mode 100644 index aae3c7af..00000000 --- a/old_docs/API_docs_v102/constructors/contacts_resolvedPeer.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.resolvedPeer -description: Resolved peer -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.resolvedPeer -[Back to constructors index](index.md) - - - -Resolved peer - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|peer|[Peer](../types/Peer.md) | Yes|The peer| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_ResolvedPeer](../types/contacts_ResolvedPeer.md) - - -### Example: - -```php -$contacts_resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_resolvedPeer={_='contacts.resolvedPeer', peer=Peer, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v102/constructors/contacts_topPeers.md b/old_docs/API_docs_v102/constructors/contacts_topPeers.md deleted file mode 100644 index 77bc07d3..00000000 --- a/old_docs/API_docs_v102/constructors/contacts_topPeers.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.topPeers -description: Top peers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.topPeers -[Back to constructors index](index.md) - - - -Top peers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|categories|Array of [TopPeerCategoryPeers](../types/TopPeerCategoryPeers.md) | Yes|Categories| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_TopPeers](../types/contacts_TopPeers.md) - - -### Example: - -```php -$contacts_topPeers = ['_' => 'contacts.topPeers', 'categories' => [TopPeerCategoryPeers, TopPeerCategoryPeers], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_topPeers={_='contacts.topPeers', categories={TopPeerCategoryPeers}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v102/constructors/contacts_topPeersDisabled.md b/old_docs/API_docs_v102/constructors/contacts_topPeersDisabled.md deleted file mode 100644 index e359a76d..00000000 --- a/old_docs/API_docs_v102/constructors/contacts_topPeersDisabled.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: contacts.topPeersDisabled -description: Top peers disabled -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.topPeersDisabled -[Back to constructors index](index.md) - - - -Top peers disabled - - - - -### Type: [contacts\_TopPeers](../types/contacts_TopPeers.md) - - -### Example: - -```php -$contacts_topPeersDisabled = ['_' => 'contacts.topPeersDisabled']; -``` - - -Or, if you're into Lua: - -```lua -contacts_topPeersDisabled={_='contacts.topPeersDisabled'} - -``` - - diff --git a/old_docs/API_docs_v102/constructors/contacts_topPeersNotModified.md b/old_docs/API_docs_v102/constructors/contacts_topPeersNotModified.md deleted file mode 100644 index 43eae59d..00000000 --- a/old_docs/API_docs_v102/constructors/contacts_topPeersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: contacts.topPeersNotModified -description: Top peer info hasn't changed -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.topPeersNotModified -[Back to constructors index](index.md) - - - -Top peer info hasn't changed - - - - -### Type: [contacts\_TopPeers](../types/contacts_TopPeers.md) - - -### Example: - -```php -$contacts_topPeersNotModified = ['_' => 'contacts.topPeersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -contacts_topPeersNotModified={_='contacts.topPeersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v102/constructors/help.appUpdate.md b/old_docs/API_docs_v102/constructors/help.appUpdate.md new file mode 100644 index 00000000..90b41636 --- /dev/null +++ b/old_docs/API_docs_v102/constructors/help.appUpdate.md @@ -0,0 +1,44 @@ +--- +title: help.appUpdate +description: An update is available for the application. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.appUpdate +[Back to constructors index](index.md) + + + +An update is available for the application. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|popup|[Bool](../types/Bool.md) | Optional|Popup?| +|id|[int](../types/int.md) | Yes|Update ID| +|version|[string](../types/string.md) | Yes|New version name| +|text|[string](../types/string.md) | Yes|Text description of the update| +|entities|Array of [MessageEntity](../types/MessageEntity.md) | Yes|Entities| +|document|[Document](../types/Document.md) | Optional|Attached document| +|url|[string](../types/string.md) | Optional|Application download URL| + + + +### Type: [help.AppUpdate](../types/help.AppUpdate.md) + + +### Example: + +```php +$help.appUpdate = ['_' => 'help.appUpdate', 'popup' => Bool, 'id' => int, 'version' => 'string', 'text' => 'string', 'entities' => [MessageEntity, MessageEntity], 'document' => Document, 'url' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +help.appUpdate={_='help.appUpdate', popup=Bool, id=int, version='string', text='string', entities={MessageEntity}, document=Document, url='string'} + +``` + + diff --git a/old_docs/API_docs_v102/constructors/help.configSimple.md b/old_docs/API_docs_v102/constructors/help.configSimple.md new file mode 100644 index 00000000..4070e1ce --- /dev/null +++ b/old_docs/API_docs_v102/constructors/help.configSimple.md @@ -0,0 +1,40 @@ +--- +title: help.configSimple +description: Config simple +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.configSimple +[Back to constructors index](index.md) + + + +Config simple + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Date| +|expires|[int](../types/int.md) | Yes|Expires| +|rules|Array of [AccessPointRule](../types/AccessPointRule.md) | Yes|Rules| + + + +### Type: [help.ConfigSimple](../types/help.ConfigSimple.md) + + +### Example: + +```php +$help.configSimple = ['_' => 'help.configSimple', 'date' => int, 'expires' => int, 'rules' => [AccessPointRule, AccessPointRule]]; +``` + + +Or, if you're into Lua: + +```lua +help.configSimple={_='help.configSimple', date=int, expires=int, rules={AccessPointRule}} + +``` + + diff --git a/old_docs/API_docs_v102/constructors/help.deepLinkInfo.md b/old_docs/API_docs_v102/constructors/help.deepLinkInfo.md new file mode 100644 index 00000000..78f70af0 --- /dev/null +++ b/old_docs/API_docs_v102/constructors/help.deepLinkInfo.md @@ -0,0 +1,40 @@ +--- +title: help.deepLinkInfo +description: Deep linking info +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.deepLinkInfo +[Back to constructors index](index.md) + + + +Deep linking info + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|update\_app|[Bool](../types/Bool.md) | Optional|An update of the app is required to parse this link| +|message|[string](../types/string.md) | Yes|Message to show to the user| +|entities|Array of [MessageEntity](../types/MessageEntity.md) | Optional|Entities| + + + +### Type: [help.DeepLinkInfo](../types/help.DeepLinkInfo.md) + + +### Example: + +```php +$help.deepLinkInfo = ['_' => 'help.deepLinkInfo', 'update_app' => Bool, 'message' => 'string', 'entities' => [MessageEntity, MessageEntity]]; +``` + + +Or, if you're into Lua: + +```lua +help.deepLinkInfo={_='help.deepLinkInfo', update_app=Bool, message='string', entities={MessageEntity}} + +``` + + diff --git a/old_docs/API_docs_v102/constructors/help.deepLinkInfoEmpty.md b/old_docs/API_docs_v102/constructors/help.deepLinkInfoEmpty.md new file mode 100644 index 00000000..dc99166c --- /dev/null +++ b/old_docs/API_docs_v102/constructors/help.deepLinkInfoEmpty.md @@ -0,0 +1,33 @@ +--- +title: help.deepLinkInfoEmpty +description: Deep link info empty +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.deepLinkInfoEmpty +[Back to constructors index](index.md) + + + +Deep link info empty + + + + +### Type: [help.DeepLinkInfo](../types/help.DeepLinkInfo.md) + + +### Example: + +```php +$help.deepLinkInfoEmpty = ['_' => 'help.deepLinkInfoEmpty']; +``` + + +Or, if you're into Lua: + +```lua +help.deepLinkInfoEmpty={_='help.deepLinkInfoEmpty'} + +``` + + diff --git a/old_docs/API_docs_v102/constructors/help.inviteText.md b/old_docs/API_docs_v102/constructors/help.inviteText.md new file mode 100644 index 00000000..6a6261c1 --- /dev/null +++ b/old_docs/API_docs_v102/constructors/help.inviteText.md @@ -0,0 +1,38 @@ +--- +title: help.inviteText +description: Text of a text message with an invitation to install application. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.inviteText +[Back to constructors index](index.md) + + + +Text of a text message with an invitation to install application. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|message|[string](../types/string.md) | Yes|Text of a message| + + + +### Type: [help.InviteText](../types/help.InviteText.md) + + +### Example: + +```php +$help.inviteText = ['_' => 'help.inviteText', 'message' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +help.inviteText={_='help.inviteText', message='string'} + +``` + + diff --git a/old_docs/API_docs_v102/constructors/help.noAppUpdate.md b/old_docs/API_docs_v102/constructors/help.noAppUpdate.md new file mode 100644 index 00000000..1b69ac9a --- /dev/null +++ b/old_docs/API_docs_v102/constructors/help.noAppUpdate.md @@ -0,0 +1,33 @@ +--- +title: help.noAppUpdate +description: No updates are available for the application. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.noAppUpdate +[Back to constructors index](index.md) + + + +No updates are available for the application. + + + + +### Type: [help.AppUpdate](../types/help.AppUpdate.md) + + +### Example: + +```php +$help.noAppUpdate = ['_' => 'help.noAppUpdate']; +``` + + +Or, if you're into Lua: + +```lua +help.noAppUpdate={_='help.noAppUpdate'} + +``` + + diff --git a/old_docs/API_docs_v102/constructors/help.passportConfig.md b/old_docs/API_docs_v102/constructors/help.passportConfig.md new file mode 100644 index 00000000..b418b611 --- /dev/null +++ b/old_docs/API_docs_v102/constructors/help.passportConfig.md @@ -0,0 +1,39 @@ +--- +title: help.passportConfig +description: Telegram [passport](https://core.telegram.org/passport) configuration +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.passportConfig +[Back to constructors index](index.md) + + + +Telegram [passport](https://core.telegram.org/passport) configuration + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|countries\_langs|[DataJSON](../types/DataJSON.md) | Yes|Localization| + + + +### Type: [help.PassportConfig](../types/help.PassportConfig.md) + + +### Example: + +```php +$help.passportConfig = ['_' => 'help.passportConfig', 'hash' => int, 'countries_langs' => DataJSON]; +``` + + +Or, if you're into Lua: + +```lua +help.passportConfig={_='help.passportConfig', hash=int, countries_langs=DataJSON} + +``` + + diff --git a/old_docs/API_docs_v102/constructors/help.passportConfigNotModified.md b/old_docs/API_docs_v102/constructors/help.passportConfigNotModified.md new file mode 100644 index 00000000..d48cc55b --- /dev/null +++ b/old_docs/API_docs_v102/constructors/help.passportConfigNotModified.md @@ -0,0 +1,33 @@ +--- +title: help.passportConfigNotModified +description: Password configuration not modified +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.passportConfigNotModified +[Back to constructors index](index.md) + + + +Password configuration not modified + + + + +### Type: [help.PassportConfig](../types/help.PassportConfig.md) + + +### Example: + +```php +$help.passportConfigNotModified = ['_' => 'help.passportConfigNotModified']; +``` + + +Or, if you're into Lua: + +```lua +help.passportConfigNotModified={_='help.passportConfigNotModified'} + +``` + + diff --git a/old_docs/API_docs_v102/constructors/help.proxyDataEmpty.md b/old_docs/API_docs_v102/constructors/help.proxyDataEmpty.md new file mode 100644 index 00000000..66fd63ac --- /dev/null +++ b/old_docs/API_docs_v102/constructors/help.proxyDataEmpty.md @@ -0,0 +1,38 @@ +--- +title: help.proxyDataEmpty +description: No proxy was used to connect to tg (or none was provided to [initConnection](../methods/initConnection.md), or the used proxy doesn't have a promotion channel associated to it) +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.proxyDataEmpty +[Back to constructors index](index.md) + + + +No proxy was used to connect to tg (or none was provided to [initConnection](../methods/initConnection.md), or the used proxy doesn't have a promotion channel associated to it) + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|expires|[int](../types/int.md) | Yes|Expiration date of proxy info, will have to be refetched in `expires` seconds| + + + +### Type: [help.ProxyData](../types/help.ProxyData.md) + + +### Example: + +```php +$help.proxyDataEmpty = ['_' => 'help.proxyDataEmpty', 'expires' => int]; +``` + + +Or, if you're into Lua: + +```lua +help.proxyDataEmpty={_='help.proxyDataEmpty', expires=int} + +``` + + diff --git a/old_docs/API_docs_v102/constructors/help.proxyDataPromo.md b/old_docs/API_docs_v102/constructors/help.proxyDataPromo.md new file mode 100644 index 00000000..eb32aabd --- /dev/null +++ b/old_docs/API_docs_v102/constructors/help.proxyDataPromo.md @@ -0,0 +1,41 @@ +--- +title: help.proxyDataPromo +description: Promotion channel associated to a certain MTProxy +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.proxyDataPromo +[Back to constructors index](index.md) + + + +Promotion channel associated to a certain MTProxy + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|expires|[int](../types/int.md) | Yes|Expiration date of proxy info, will have to be refetched in `expires` seconds| +|peer|[Peer](../types/Peer.md) | Yes|The promoted channel| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [help.ProxyData](../types/help.ProxyData.md) + + +### Example: + +```php +$help.proxyDataPromo = ['_' => 'help.proxyDataPromo', 'expires' => int, 'peer' => Peer, 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +help.proxyDataPromo={_='help.proxyDataPromo', expires=int, peer=Peer, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v102/constructors/help.recentMeUrls.md b/old_docs/API_docs_v102/constructors/help.recentMeUrls.md new file mode 100644 index 00000000..711407b7 --- /dev/null +++ b/old_docs/API_docs_v102/constructors/help.recentMeUrls.md @@ -0,0 +1,40 @@ +--- +title: help.recentMeUrls +description: Recent t.me URLs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.recentMeUrls +[Back to constructors index](index.md) + + + +Recent t.me URLs + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|urls|Array of [RecentMeUrl](../types/RecentMeUrl.md) | Yes|URLs| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [help.RecentMeUrls](../types/help.RecentMeUrls.md) + + +### Example: + +```php +$help.recentMeUrls = ['_' => 'help.recentMeUrls', 'urls' => [RecentMeUrl, RecentMeUrl], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +help.recentMeUrls={_='help.recentMeUrls', urls={RecentMeUrl}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v102/constructors/help.support.md b/old_docs/API_docs_v102/constructors/help.support.md new file mode 100644 index 00000000..4d4f85fb --- /dev/null +++ b/old_docs/API_docs_v102/constructors/help.support.md @@ -0,0 +1,39 @@ +--- +title: help.support +description: Info on support user. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.support +[Back to constructors index](index.md) + + + +Info on support user. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_number|[string](../types/string.md) | Yes|Phone number| +|user|[User](../types/User.md) | Optional|User| + + + +### Type: [help.Support](../types/help.Support.md) + + +### Example: + +```php +$help.support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => User]; +``` + + +Or, if you're into Lua: + +```lua +help.support={_='help.support', phone_number='string', user=User} + +``` + + diff --git a/old_docs/API_docs_v102/constructors/help.supportName.md b/old_docs/API_docs_v102/constructors/help.supportName.md new file mode 100644 index 00000000..3d66c8d9 --- /dev/null +++ b/old_docs/API_docs_v102/constructors/help.supportName.md @@ -0,0 +1,38 @@ +--- +title: help.supportName +description: Localized name for telegram support +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.supportName +[Back to constructors index](index.md) + + + +Localized name for telegram support + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|name|[string](../types/string.md) | Yes|Localized name| + + + +### Type: [help.SupportName](../types/help.SupportName.md) + + +### Example: + +```php +$help.supportName = ['_' => 'help.supportName', 'name' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +help.supportName={_='help.supportName', name='string'} + +``` + + diff --git a/old_docs/API_docs_v102/constructors/help.termsOfService.md b/old_docs/API_docs_v102/constructors/help.termsOfService.md new file mode 100644 index 00000000..61ffb70a --- /dev/null +++ b/old_docs/API_docs_v102/constructors/help.termsOfService.md @@ -0,0 +1,42 @@ +--- +title: help.termsOfService +description: Info about the latest telegram Terms Of Service +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.termsOfService +[Back to constructors index](index.md) + + + +Info about the latest telegram Terms Of Service + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|popup|[Bool](../types/Bool.md) | Optional|Whether a prompt must be showed to the user, in order to accept the new terms.| +|id|[DataJSON](../types/DataJSON.md) | Yes|ID of the new terms| +|text|[string](../types/string.md) | Yes|Text of the new terms| +|entities|Array of [MessageEntity](../types/MessageEntity.md) | Yes|Entities| +|min\_age\_confirm|[int](../types/int.md) | Optional|Minimum age required to sign up to telegram, the user must confirm that they is older than the minimum age.| + + + +### Type: [help.TermsOfService](../types/help.TermsOfService.md) + + +### Example: + +```php +$help.termsOfService = ['_' => 'help.termsOfService', 'popup' => Bool, 'id' => DataJSON, 'text' => 'string', 'entities' => [MessageEntity, MessageEntity], 'min_age_confirm' => int]; +``` + + +Or, if you're into Lua: + +```lua +help.termsOfService={_='help.termsOfService', popup=Bool, id=DataJSON, text='string', entities={MessageEntity}, min_age_confirm=int} + +``` + + diff --git a/old_docs/API_docs_v102/constructors/help.termsOfServiceUpdate.md b/old_docs/API_docs_v102/constructors/help.termsOfServiceUpdate.md new file mode 100644 index 00000000..058a3655 --- /dev/null +++ b/old_docs/API_docs_v102/constructors/help.termsOfServiceUpdate.md @@ -0,0 +1,39 @@ +--- +title: help.termsOfServiceUpdate +description: Info about an update of telegram's terms of service. If the terms of service are declined, then the [account.deleteAccount](../methods/account.deleteAccount.md) method should be called with the reason "Decline ToS update" +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.termsOfServiceUpdate +[Back to constructors index](index.md) + + + +Info about an update of telegram's terms of service. If the terms of service are declined, then the [account.deleteAccount](../methods/account.deleteAccount.md) method should be called with the reason "Decline ToS update" + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|expires|[int](../types/int.md) | Yes|New TOS updates will have to be queried using [help.getTermsOfServiceUpdate](../methods/help.getTermsOfServiceUpdate.md) in `expires` seconds| +|terms\_of\_service|[help.TermsOfService](../constructors/help.TermsOfService.md) | Yes|New terms of service| + + + +### Type: [help.TermsOfServiceUpdate](../types/help.TermsOfServiceUpdate.md) + + +### Example: + +```php +$help.termsOfServiceUpdate = ['_' => 'help.termsOfServiceUpdate', 'expires' => int, 'terms_of_service' => help.TermsOfService]; +``` + + +Or, if you're into Lua: + +```lua +help.termsOfServiceUpdate={_='help.termsOfServiceUpdate', expires=int, terms_of_service=help.TermsOfService} + +``` + + diff --git a/old_docs/API_docs_v102/constructors/help.termsOfServiceUpdateEmpty.md b/old_docs/API_docs_v102/constructors/help.termsOfServiceUpdateEmpty.md new file mode 100644 index 00000000..8213a41e --- /dev/null +++ b/old_docs/API_docs_v102/constructors/help.termsOfServiceUpdateEmpty.md @@ -0,0 +1,38 @@ +--- +title: help.termsOfServiceUpdateEmpty +description: No changes were made to telegram's terms of service +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.termsOfServiceUpdateEmpty +[Back to constructors index](index.md) + + + +No changes were made to telegram's terms of service + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|expires|[int](../types/int.md) | Yes|New TOS updates will have to be queried using [help.getTermsOfServiceUpdate](../methods/help.getTermsOfServiceUpdate.md) in `expires` seconds| + + + +### Type: [help.TermsOfServiceUpdate](../types/help.TermsOfServiceUpdate.md) + + +### Example: + +```php +$help.termsOfServiceUpdateEmpty = ['_' => 'help.termsOfServiceUpdateEmpty', 'expires' => int]; +``` + + +Or, if you're into Lua: + +```lua +help.termsOfServiceUpdateEmpty={_='help.termsOfServiceUpdateEmpty', expires=int} + +``` + + diff --git a/old_docs/API_docs_v102/constructors/help.userInfo.md b/old_docs/API_docs_v102/constructors/help.userInfo.md new file mode 100644 index 00000000..172df165 --- /dev/null +++ b/old_docs/API_docs_v102/constructors/help.userInfo.md @@ -0,0 +1,41 @@ +--- +title: help.userInfo +description: Internal use +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.userInfo +[Back to constructors index](index.md) + + + +Internal use + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|message|[string](../types/string.md) | Yes|Info| +|entities|Array of [MessageEntity](../types/MessageEntity.md) | Yes|Entities| +|author|[string](../types/string.md) | Yes|Author| +|date|[int](../types/int.md) | Yes|Date| + + + +### Type: [help.UserInfo](../types/help.UserInfo.md) + + +### Example: + +```php +$help.userInfo = ['_' => 'help.userInfo', 'message' => 'string', 'entities' => [MessageEntity, MessageEntity], 'author' => 'string', 'date' => int]; +``` + + +Or, if you're into Lua: + +```lua +help.userInfo={_='help.userInfo', message='string', entities={MessageEntity}, author='string', date=int} + +``` + + diff --git a/old_docs/API_docs_v102/constructors/help.userInfoEmpty.md b/old_docs/API_docs_v102/constructors/help.userInfoEmpty.md new file mode 100644 index 00000000..c284d602 --- /dev/null +++ b/old_docs/API_docs_v102/constructors/help.userInfoEmpty.md @@ -0,0 +1,33 @@ +--- +title: help.userInfoEmpty +description: Internal use +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.userInfoEmpty +[Back to constructors index](index.md) + + + +Internal use + + + + +### Type: [help.UserInfo](../types/help.UserInfo.md) + + +### Example: + +```php +$help.userInfoEmpty = ['_' => 'help.userInfoEmpty']; +``` + + +Or, if you're into Lua: + +```lua +help.userInfoEmpty={_='help.userInfoEmpty'} + +``` + + diff --git a/old_docs/API_docs_v102/constructors/help_appUpdate.md b/old_docs/API_docs_v102/constructors/help_appUpdate.md deleted file mode 100644 index 67960b34..00000000 --- a/old_docs/API_docs_v102/constructors/help_appUpdate.md +++ /dev/null @@ -1,44 +0,0 @@ ---- -title: help.appUpdate -description: An update is available for the application. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.appUpdate -[Back to constructors index](index.md) - - - -An update is available for the application. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|popup|[Bool](../types/Bool.md) | Optional|Popup?| -|id|[int](../types/int.md) | Yes|Update ID| -|version|[string](../types/string.md) | Yes|New version name| -|text|[string](../types/string.md) | Yes|Text description of the update| -|entities|Array of [MessageEntity](../types/MessageEntity.md) | Yes|Entities| -|document|[Document](../types/Document.md) | Optional|Attached document| -|url|[string](../types/string.md) | Optional|Application download URL| - - - -### Type: [help\_AppUpdate](../types/help_AppUpdate.md) - - -### Example: - -```php -$help_appUpdate = ['_' => 'help.appUpdate', 'popup' => Bool, 'id' => int, 'version' => 'string', 'text' => 'string', 'entities' => [MessageEntity, MessageEntity], 'document' => Document, 'url' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -help_appUpdate={_='help.appUpdate', popup=Bool, id=int, version='string', text='string', entities={MessageEntity}, document=Document, url='string'} - -``` - - diff --git a/old_docs/API_docs_v102/constructors/help_configSimple.md b/old_docs/API_docs_v102/constructors/help_configSimple.md deleted file mode 100644 index 8c07ec9b..00000000 --- a/old_docs/API_docs_v102/constructors/help_configSimple.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: help.configSimple -description: Config simple -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.configSimple -[Back to constructors index](index.md) - - - -Config simple - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Date| -|expires|[int](../types/int.md) | Yes|Expires| -|rules|Array of [AccessPointRule](../types/AccessPointRule.md) | Yes|Rules| - - - -### Type: [help\_ConfigSimple](../types/help_ConfigSimple.md) - - -### Example: - -```php -$help_configSimple = ['_' => 'help.configSimple', 'date' => int, 'expires' => int, 'rules' => [AccessPointRule, AccessPointRule]]; -``` - - -Or, if you're into Lua: - -```lua -help_configSimple={_='help.configSimple', date=int, expires=int, rules={AccessPointRule}} - -``` - - diff --git a/old_docs/API_docs_v102/constructors/help_deepLinkInfo.md b/old_docs/API_docs_v102/constructors/help_deepLinkInfo.md deleted file mode 100644 index bcc24ecd..00000000 --- a/old_docs/API_docs_v102/constructors/help_deepLinkInfo.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: help.deepLinkInfo -description: Deep linking info -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.deepLinkInfo -[Back to constructors index](index.md) - - - -Deep linking info - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|update\_app|[Bool](../types/Bool.md) | Optional|An update of the app is required to parse this link| -|message|[string](../types/string.md) | Yes|Message to show to the user| -|entities|Array of [MessageEntity](../types/MessageEntity.md) | Optional|Entities| - - - -### Type: [help\_DeepLinkInfo](../types/help_DeepLinkInfo.md) - - -### Example: - -```php -$help_deepLinkInfo = ['_' => 'help.deepLinkInfo', 'update_app' => Bool, 'message' => 'string', 'entities' => [MessageEntity, MessageEntity]]; -``` - - -Or, if you're into Lua: - -```lua -help_deepLinkInfo={_='help.deepLinkInfo', update_app=Bool, message='string', entities={MessageEntity}} - -``` - - diff --git a/old_docs/API_docs_v102/constructors/help_deepLinkInfoEmpty.md b/old_docs/API_docs_v102/constructors/help_deepLinkInfoEmpty.md deleted file mode 100644 index ab876dd5..00000000 --- a/old_docs/API_docs_v102/constructors/help_deepLinkInfoEmpty.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: help.deepLinkInfoEmpty -description: Deep link info empty -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.deepLinkInfoEmpty -[Back to constructors index](index.md) - - - -Deep link info empty - - - - -### Type: [help\_DeepLinkInfo](../types/help_DeepLinkInfo.md) - - -### Example: - -```php -$help_deepLinkInfoEmpty = ['_' => 'help.deepLinkInfoEmpty']; -``` - - -Or, if you're into Lua: - -```lua -help_deepLinkInfoEmpty={_='help.deepLinkInfoEmpty'} - -``` - - diff --git a/old_docs/API_docs_v102/constructors/help_inviteText.md b/old_docs/API_docs_v102/constructors/help_inviteText.md deleted file mode 100644 index b8317ce3..00000000 --- a/old_docs/API_docs_v102/constructors/help_inviteText.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: help.inviteText -description: Text of a text message with an invitation to install application. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.inviteText -[Back to constructors index](index.md) - - - -Text of a text message with an invitation to install application. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|message|[string](../types/string.md) | Yes|Text of a message| - - - -### Type: [help\_InviteText](../types/help_InviteText.md) - - -### Example: - -```php -$help_inviteText = ['_' => 'help.inviteText', 'message' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -help_inviteText={_='help.inviteText', message='string'} - -``` - - diff --git a/old_docs/API_docs_v102/constructors/help_noAppUpdate.md b/old_docs/API_docs_v102/constructors/help_noAppUpdate.md deleted file mode 100644 index 51505e52..00000000 --- a/old_docs/API_docs_v102/constructors/help_noAppUpdate.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: help.noAppUpdate -description: No updates are available for the application. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.noAppUpdate -[Back to constructors index](index.md) - - - -No updates are available for the application. - - - - -### Type: [help\_AppUpdate](../types/help_AppUpdate.md) - - -### Example: - -```php -$help_noAppUpdate = ['_' => 'help.noAppUpdate']; -``` - - -Or, if you're into Lua: - -```lua -help_noAppUpdate={_='help.noAppUpdate'} - -``` - - diff --git a/old_docs/API_docs_v102/constructors/help_passportConfig.md b/old_docs/API_docs_v102/constructors/help_passportConfig.md deleted file mode 100644 index 9722c925..00000000 --- a/old_docs/API_docs_v102/constructors/help_passportConfig.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: help.passportConfig -description: Telegram [passport](https://core.telegram.org/passport) configuration -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.passportConfig -[Back to constructors index](index.md) - - - -Telegram [passport](https://core.telegram.org/passport) configuration - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|countries\_langs|[DataJSON](../types/DataJSON.md) | Yes|Localization| - - - -### Type: [help\_PassportConfig](../types/help_PassportConfig.md) - - -### Example: - -```php -$help_passportConfig = ['_' => 'help.passportConfig', 'hash' => int, 'countries_langs' => DataJSON]; -``` - - -Or, if you're into Lua: - -```lua -help_passportConfig={_='help.passportConfig', hash=int, countries_langs=DataJSON} - -``` - - diff --git a/old_docs/API_docs_v102/constructors/help_passportConfigNotModified.md b/old_docs/API_docs_v102/constructors/help_passportConfigNotModified.md deleted file mode 100644 index af7769aa..00000000 --- a/old_docs/API_docs_v102/constructors/help_passportConfigNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: help.passportConfigNotModified -description: Password configuration not modified -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.passportConfigNotModified -[Back to constructors index](index.md) - - - -Password configuration not modified - - - - -### Type: [help\_PassportConfig](../types/help_PassportConfig.md) - - -### Example: - -```php -$help_passportConfigNotModified = ['_' => 'help.passportConfigNotModified']; -``` - - -Or, if you're into Lua: - -```lua -help_passportConfigNotModified={_='help.passportConfigNotModified'} - -``` - - diff --git a/old_docs/API_docs_v102/constructors/help_proxyDataEmpty.md b/old_docs/API_docs_v102/constructors/help_proxyDataEmpty.md deleted file mode 100644 index 96efddd3..00000000 --- a/old_docs/API_docs_v102/constructors/help_proxyDataEmpty.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: help.proxyDataEmpty -description: No proxy was used to connect to tg (or none was provided to [initConnection](../methods/initConnection.md), or the used proxy doesn't have a promotion channel associated to it) -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.proxyDataEmpty -[Back to constructors index](index.md) - - - -No proxy was used to connect to tg (or none was provided to [initConnection](../methods/initConnection.md), or the used proxy doesn't have a promotion channel associated to it) - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|expires|[int](../types/int.md) | Yes|Expiration date of proxy info, will have to be refetched in `expires` seconds| - - - -### Type: [help\_ProxyData](../types/help_ProxyData.md) - - -### Example: - -```php -$help_proxyDataEmpty = ['_' => 'help.proxyDataEmpty', 'expires' => int]; -``` - - -Or, if you're into Lua: - -```lua -help_proxyDataEmpty={_='help.proxyDataEmpty', expires=int} - -``` - - diff --git a/old_docs/API_docs_v102/constructors/help_proxyDataPromo.md b/old_docs/API_docs_v102/constructors/help_proxyDataPromo.md deleted file mode 100644 index 54ca7edb..00000000 --- a/old_docs/API_docs_v102/constructors/help_proxyDataPromo.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: help.proxyDataPromo -description: Promotion channel associated to a certain MTProxy -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.proxyDataPromo -[Back to constructors index](index.md) - - - -Promotion channel associated to a certain MTProxy - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|expires|[int](../types/int.md) | Yes|Expiration date of proxy info, will have to be refetched in `expires` seconds| -|peer|[Peer](../types/Peer.md) | Yes|The promoted channel| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [help\_ProxyData](../types/help_ProxyData.md) - - -### Example: - -```php -$help_proxyDataPromo = ['_' => 'help.proxyDataPromo', 'expires' => int, 'peer' => Peer, 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -help_proxyDataPromo={_='help.proxyDataPromo', expires=int, peer=Peer, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v102/constructors/help_recentMeUrls.md b/old_docs/API_docs_v102/constructors/help_recentMeUrls.md deleted file mode 100644 index 7bf592ef..00000000 --- a/old_docs/API_docs_v102/constructors/help_recentMeUrls.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: help.recentMeUrls -description: Recent t.me URLs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.recentMeUrls -[Back to constructors index](index.md) - - - -Recent t.me URLs - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|urls|Array of [RecentMeUrl](../types/RecentMeUrl.md) | Yes|URLs| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [help\_RecentMeUrls](../types/help_RecentMeUrls.md) - - -### Example: - -```php -$help_recentMeUrls = ['_' => 'help.recentMeUrls', 'urls' => [RecentMeUrl, RecentMeUrl], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -help_recentMeUrls={_='help.recentMeUrls', urls={RecentMeUrl}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v102/constructors/help_support.md b/old_docs/API_docs_v102/constructors/help_support.md deleted file mode 100644 index 148f7f42..00000000 --- a/old_docs/API_docs_v102/constructors/help_support.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: help.support -description: Info on support user. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.support -[Back to constructors index](index.md) - - - -Info on support user. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_number|[string](../types/string.md) | Yes|Phone number| -|user|[User](../types/User.md) | Optional|User| - - - -### Type: [help\_Support](../types/help_Support.md) - - -### Example: - -```php -$help_support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => User]; -``` - - -Or, if you're into Lua: - -```lua -help_support={_='help.support', phone_number='string', user=User} - -``` - - diff --git a/old_docs/API_docs_v102/constructors/help_supportName.md b/old_docs/API_docs_v102/constructors/help_supportName.md deleted file mode 100644 index b4bc77d4..00000000 --- a/old_docs/API_docs_v102/constructors/help_supportName.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: help.supportName -description: Localized name for telegram support -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.supportName -[Back to constructors index](index.md) - - - -Localized name for telegram support - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|name|[string](../types/string.md) | Yes|Localized name| - - - -### Type: [help\_SupportName](../types/help_SupportName.md) - - -### Example: - -```php -$help_supportName = ['_' => 'help.supportName', 'name' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -help_supportName={_='help.supportName', name='string'} - -``` - - diff --git a/old_docs/API_docs_v102/constructors/help_termsOfService.md b/old_docs/API_docs_v102/constructors/help_termsOfService.md deleted file mode 100644 index f9d496e5..00000000 --- a/old_docs/API_docs_v102/constructors/help_termsOfService.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: help.termsOfService -description: Info about the latest telegram Terms Of Service -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.termsOfService -[Back to constructors index](index.md) - - - -Info about the latest telegram Terms Of Service - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|popup|[Bool](../types/Bool.md) | Optional|Whether a prompt must be showed to the user, in order to accept the new terms.| -|id|[DataJSON](../types/DataJSON.md) | Yes|ID of the new terms| -|text|[string](../types/string.md) | Yes|Text of the new terms| -|entities|Array of [MessageEntity](../types/MessageEntity.md) | Yes|Entities| -|min\_age\_confirm|[int](../types/int.md) | Optional|Minimum age required to sign up to telegram, the user must confirm that they is older than the minimum age.| - - - -### Type: [help\_TermsOfService](../types/help_TermsOfService.md) - - -### Example: - -```php -$help_termsOfService = ['_' => 'help.termsOfService', 'popup' => Bool, 'id' => DataJSON, 'text' => 'string', 'entities' => [MessageEntity, MessageEntity], 'min_age_confirm' => int]; -``` - - -Or, if you're into Lua: - -```lua -help_termsOfService={_='help.termsOfService', popup=Bool, id=DataJSON, text='string', entities={MessageEntity}, min_age_confirm=int} - -``` - - diff --git a/old_docs/API_docs_v102/constructors/help_termsOfServiceUpdate.md b/old_docs/API_docs_v102/constructors/help_termsOfServiceUpdate.md deleted file mode 100644 index c9e80319..00000000 --- a/old_docs/API_docs_v102/constructors/help_termsOfServiceUpdate.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: help.termsOfServiceUpdate -description: Info about an update of telegram's terms of service. If the terms of service are declined, then the [account.deleteAccount](../methods/account.deleteAccount.md) method should be called with the reason "Decline ToS update" -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.termsOfServiceUpdate -[Back to constructors index](index.md) - - - -Info about an update of telegram's terms of service. If the terms of service are declined, then the [account.deleteAccount](../methods/account.deleteAccount.md) method should be called with the reason "Decline ToS update" - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|expires|[int](../types/int.md) | Yes|New TOS updates will have to be queried using [help.getTermsOfServiceUpdate](../methods/help.getTermsOfServiceUpdate.md) in `expires` seconds| -|terms\_of\_service|[help\_TermsOfService](../types/help_TermsOfService.md) | Yes|New terms of service| - - - -### Type: [help\_TermsOfServiceUpdate](../types/help_TermsOfServiceUpdate.md) - - -### Example: - -```php -$help_termsOfServiceUpdate = ['_' => 'help.termsOfServiceUpdate', 'expires' => int, 'terms_of_service' => help_TermsOfService]; -``` - - -Or, if you're into Lua: - -```lua -help_termsOfServiceUpdate={_='help.termsOfServiceUpdate', expires=int, terms_of_service=help_TermsOfService} - -``` - - diff --git a/old_docs/API_docs_v102/constructors/help_termsOfServiceUpdateEmpty.md b/old_docs/API_docs_v102/constructors/help_termsOfServiceUpdateEmpty.md deleted file mode 100644 index d4d753fc..00000000 --- a/old_docs/API_docs_v102/constructors/help_termsOfServiceUpdateEmpty.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: help.termsOfServiceUpdateEmpty -description: No changes were made to telegram's terms of service -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.termsOfServiceUpdateEmpty -[Back to constructors index](index.md) - - - -No changes were made to telegram's terms of service - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|expires|[int](../types/int.md) | Yes|New TOS updates will have to be queried using [help.getTermsOfServiceUpdate](../methods/help.getTermsOfServiceUpdate.md) in `expires` seconds| - - - -### Type: [help\_TermsOfServiceUpdate](../types/help_TermsOfServiceUpdate.md) - - -### Example: - -```php -$help_termsOfServiceUpdateEmpty = ['_' => 'help.termsOfServiceUpdateEmpty', 'expires' => int]; -``` - - -Or, if you're into Lua: - -```lua -help_termsOfServiceUpdateEmpty={_='help.termsOfServiceUpdateEmpty', expires=int} - -``` - - diff --git a/old_docs/API_docs_v102/constructors/help_userInfo.md b/old_docs/API_docs_v102/constructors/help_userInfo.md deleted file mode 100644 index a444124b..00000000 --- a/old_docs/API_docs_v102/constructors/help_userInfo.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: help.userInfo -description: Internal use -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.userInfo -[Back to constructors index](index.md) - - - -Internal use - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|message|[string](../types/string.md) | Yes|Info| -|entities|Array of [MessageEntity](../types/MessageEntity.md) | Yes|Entities| -|author|[string](../types/string.md) | Yes|Author| -|date|[int](../types/int.md) | Yes|Date| - - - -### Type: [help\_UserInfo](../types/help_UserInfo.md) - - -### Example: - -```php -$help_userInfo = ['_' => 'help.userInfo', 'message' => 'string', 'entities' => [MessageEntity, MessageEntity], 'author' => 'string', 'date' => int]; -``` - - -Or, if you're into Lua: - -```lua -help_userInfo={_='help.userInfo', message='string', entities={MessageEntity}, author='string', date=int} - -``` - - diff --git a/old_docs/API_docs_v102/constructors/help_userInfoEmpty.md b/old_docs/API_docs_v102/constructors/help_userInfoEmpty.md deleted file mode 100644 index 66690c62..00000000 --- a/old_docs/API_docs_v102/constructors/help_userInfoEmpty.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: help.userInfoEmpty -description: Internal use -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.userInfoEmpty -[Back to constructors index](index.md) - - - -Internal use - - - - -### Type: [help\_UserInfo](../types/help_UserInfo.md) - - -### Example: - -```php -$help_userInfoEmpty = ['_' => 'help.userInfoEmpty']; -``` - - -Or, if you're into Lua: - -```lua -help_userInfoEmpty={_='help.userInfoEmpty'} - -``` - - diff --git a/old_docs/API_docs_v102/constructors/messages.affectedHistory.md b/old_docs/API_docs_v102/constructors/messages.affectedHistory.md new file mode 100644 index 00000000..5fc8acec --- /dev/null +++ b/old_docs/API_docs_v102/constructors/messages.affectedHistory.md @@ -0,0 +1,40 @@ +--- +title: messages.affectedHistory +description: Affected part of communication history with the user or in a chat. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.affectedHistory +[Back to constructors index](index.md) + + + +Affected part of communication history with the user or in a chat. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| +|pts\_count|[int](../types/int.md) | Yes|Number of affected events| +|offset|[int](../types/int.md) | Yes|If a parameter contains positive value, it is necessary to repeat the method call using the given value; during the proceeding of all the history the value itself shall gradually decrease| + + + +### Type: [messages.AffectedHistory](../types/messages.AffectedHistory.md) + + +### Example: + +```php +$messages.affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.affectedHistory={_='messages.affectedHistory', pts=int, pts_count=int, offset=int} + +``` + + diff --git a/old_docs/API_docs_v102/constructors/messages.affectedMessages.md b/old_docs/API_docs_v102/constructors/messages.affectedMessages.md new file mode 100644 index 00000000..a0e60bdf --- /dev/null +++ b/old_docs/API_docs_v102/constructors/messages.affectedMessages.md @@ -0,0 +1,39 @@ +--- +title: messages.affectedMessages +description: Events affected by operation +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.affectedMessages +[Back to constructors index](index.md) + + + +Events affected by operation + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|[Event count after generation](https://core.telegram.org/api/updates)| +|pts\_count|[int](../types/int.md) | Yes|[Number of events that were generated](https://core.telegram.org/api/updates)| + + + +### Type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) + + +### Example: + +```php +$messages.affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.affectedMessages={_='messages.affectedMessages', pts=int, pts_count=int} + +``` + + diff --git a/old_docs/API_docs_v102/constructors/messages.allStickers.md b/old_docs/API_docs_v102/constructors/messages.allStickers.md new file mode 100644 index 00000000..5f13bfde --- /dev/null +++ b/old_docs/API_docs_v102/constructors/messages.allStickers.md @@ -0,0 +1,39 @@ +--- +title: messages.allStickers +description: Info about all installed stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.allStickers +[Back to constructors index](index.md) + + + +Info about all installed stickers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|sets|Array of [StickerSet](../types/StickerSet.md) | Yes|Sets| + + + +### Type: [messages.AllStickers](../types/messages.AllStickers.md) + + +### Example: + +```php +$messages.allStickers = ['_' => 'messages.allStickers', 'hash' => int, 'sets' => [StickerSet, StickerSet]]; +``` + + +Or, if you're into Lua: + +```lua +messages.allStickers={_='messages.allStickers', hash=int, sets={StickerSet}} + +``` + + diff --git a/old_docs/API_docs_v102/constructors/messages.allStickersNotModified.md b/old_docs/API_docs_v102/constructors/messages.allStickersNotModified.md new file mode 100644 index 00000000..d3db088b --- /dev/null +++ b/old_docs/API_docs_v102/constructors/messages.allStickersNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.allStickersNotModified +description: Info about all installed stickers hasn't changed +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.allStickersNotModified +[Back to constructors index](index.md) + + + +Info about all installed stickers hasn't changed + + + + +### Type: [messages.AllStickers](../types/messages.AllStickers.md) + + +### Example: + +```php +$messages.allStickersNotModified = ['_' => 'messages.allStickersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.allStickersNotModified={_='messages.allStickersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v102/constructors/messages.archivedStickers.md b/old_docs/API_docs_v102/constructors/messages.archivedStickers.md new file mode 100644 index 00000000..6ad9927c --- /dev/null +++ b/old_docs/API_docs_v102/constructors/messages.archivedStickers.md @@ -0,0 +1,39 @@ +--- +title: messages.archivedStickers +description: Archived stickersets +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.archivedStickers +[Back to constructors index](index.md) + + + +Archived stickersets + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Number of archived stickers| +|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| + + + +### Type: [messages.ArchivedStickers](../types/messages.ArchivedStickers.md) + + +### Example: + +```php +$messages.archivedStickers = ['_' => 'messages.archivedStickers', 'count' => int, 'sets' => [StickerSetCovered, StickerSetCovered]]; +``` + + +Or, if you're into Lua: + +```lua +messages.archivedStickers={_='messages.archivedStickers', count=int, sets={StickerSetCovered}} + +``` + + diff --git a/old_docs/API_docs_v102/constructors/messages.botCallbackAnswer.md b/old_docs/API_docs_v102/constructors/messages.botCallbackAnswer.md new file mode 100644 index 00000000..08bfeba5 --- /dev/null +++ b/old_docs/API_docs_v102/constructors/messages.botCallbackAnswer.md @@ -0,0 +1,43 @@ +--- +title: messages.botCallbackAnswer +description: Callback answer sent by the bot in response to a button press +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.botCallbackAnswer +[Back to constructors index](index.md) + + + +Callback answer sent by the bot in response to a button press + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|alert|[Bool](../types/Bool.md) | Optional|Whether an alert should be shown to the user instead of a toast notification| +|has\_url|[Bool](../types/Bool.md) | Optional|Whether an URL is present| +|native\_ui|[Bool](../types/Bool.md) | Optional|Whether to show games in WebView or in native UI.| +|message|[string](../types/string.md) | Optional|Alert to show| +|url|[string](../types/string.md) | Optional|URL to open| +|cache\_time|[int](../types/int.md) | Yes|For how long should this answer be cached| + + + +### Type: [messages.BotCallbackAnswer](../types/messages.BotCallbackAnswer.md) + + +### Example: + +```php +$messages.botCallbackAnswer = ['_' => 'messages.botCallbackAnswer', 'alert' => Bool, 'has_url' => Bool, 'native_ui' => Bool, 'message' => 'string', 'url' => 'string', 'cache_time' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.botCallbackAnswer={_='messages.botCallbackAnswer', alert=Bool, has_url=Bool, native_ui=Bool, message='string', url='string', cache_time=int} + +``` + + diff --git a/old_docs/API_docs_v102/constructors/messages.botResults.md b/old_docs/API_docs_v102/constructors/messages.botResults.md new file mode 100644 index 00000000..7b6dcfba --- /dev/null +++ b/old_docs/API_docs_v102/constructors/messages.botResults.md @@ -0,0 +1,44 @@ +--- +title: messages.botResults +description: Result of a query to an inline bot +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.botResults +[Back to constructors index](index.md) + + + +Result of a query to an inline bot + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|gallery|[Bool](../types/Bool.md) | Optional|Whether the result is a picture gallery| +|query\_id|[long](../types/long.md) | Yes|Query ID| +|next\_offset|[string](../types/string.md) | Optional|The next offset to use when navigating through results| +|switch\_pm|[InlineBotSwitchPM](../types/InlineBotSwitchPM.md) | Optional|Whether the bot requested the user to message him in private| +|results|Array of [BotInlineResult](../types/BotInlineResult.md) | Yes|Results| +|cache\_time|[int](../types/int.md) | Yes|Caching validity of the results| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.BotResults](../types/messages.BotResults.md) + + +### Example: + +```php +$messages.botResults = ['_' => 'messages.botResults', 'gallery' => Bool, 'query_id' => long, 'next_offset' => 'string', 'switch_pm' => InlineBotSwitchPM, 'results' => [BotInlineResult, BotInlineResult], 'cache_time' => int, 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.botResults={_='messages.botResults', gallery=Bool, query_id=long, next_offset='string', switch_pm=InlineBotSwitchPM, results={BotInlineResult}, cache_time=int, users={User}} + +``` + + diff --git a/old_docs/API_docs_v102/constructors/messages.channelMessages.md b/old_docs/API_docs_v102/constructors/messages.channelMessages.md new file mode 100644 index 00000000..8a8ca98a --- /dev/null +++ b/old_docs/API_docs_v102/constructors/messages.channelMessages.md @@ -0,0 +1,43 @@ +--- +title: messages.channelMessages +description: Channel messages +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.channelMessages +[Back to constructors index](index.md) + + + +Channel messages + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|inexact|[Bool](../types/Bool.md) | Optional|If set, returned results may be inexact| +|pts|[int](../types/int.md) | Yes|[Event count after generation](https://core.telegram.org/api/updates)| +|count|[int](../types/int.md) | Yes|Total number of results were found server-side (may not be all included here)| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Messages](../types/messages.Messages.md) + + +### Example: + +```php +$messages.channelMessages = ['_' => 'messages.channelMessages', 'inexact' => Bool, 'pts' => int, 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.channelMessages={_='messages.channelMessages', inexact=Bool, pts=int, count=int, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v102/constructors/messages.chatFull.md b/old_docs/API_docs_v102/constructors/messages.chatFull.md new file mode 100644 index 00000000..3906cc54 --- /dev/null +++ b/old_docs/API_docs_v102/constructors/messages.chatFull.md @@ -0,0 +1,40 @@ +--- +title: messages.chatFull +description: Extended info on chat and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.chatFull +[Back to constructors index](index.md) + + + +Extended info on chat and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|full\_chat|[ChatFull](../types/ChatFull.md) | Yes|Extended info on a chat| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.ChatFull](../types/messages.ChatFull.md) + + +### Example: + +```php +$messages.chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.chatFull={_='messages.chatFull', full_chat=ChatFull, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v102/constructors/messages.chats.md b/old_docs/API_docs_v102/constructors/messages.chats.md new file mode 100644 index 00000000..9ede9ff2 --- /dev/null +++ b/old_docs/API_docs_v102/constructors/messages.chats.md @@ -0,0 +1,38 @@ +--- +title: messages.chats +description: List of chats with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.chats +[Back to constructors index](index.md) + + + +List of chats with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| + + + +### Type: [messages.Chats](../types/messages.Chats.md) + + +### Example: + +```php +$messages.chats = ['_' => 'messages.chats', 'chats' => [Chat, Chat]]; +``` + + +Or, if you're into Lua: + +```lua +messages.chats={_='messages.chats', chats={Chat}} + +``` + + diff --git a/old_docs/API_docs_v102/constructors/messages.chatsSlice.md b/old_docs/API_docs_v102/constructors/messages.chatsSlice.md new file mode 100644 index 00000000..efd153e0 --- /dev/null +++ b/old_docs/API_docs_v102/constructors/messages.chatsSlice.md @@ -0,0 +1,39 @@ +--- +title: messages.chatsSlice +description: Partial list of chats, more would have to be fetched with [pagination](https://core.telegram.org/api/offsets) +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.chatsSlice +[Back to constructors index](index.md) + + + +Partial list of chats, more would have to be fetched with [pagination](https://core.telegram.org/api/offsets) + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of results that were found server-side (not all are included in `chats`)| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| + + + +### Type: [messages.Chats](../types/messages.Chats.md) + + +### Example: + +```php +$messages.chatsSlice = ['_' => 'messages.chatsSlice', 'count' => int, 'chats' => [Chat, Chat]]; +``` + + +Or, if you're into Lua: + +```lua +messages.chatsSlice={_='messages.chatsSlice', count=int, chats={Chat}} + +``` + + diff --git a/old_docs/API_docs_v102/constructors/messages.dhConfig.md b/old_docs/API_docs_v102/constructors/messages.dhConfig.md new file mode 100644 index 00000000..58344f64 --- /dev/null +++ b/old_docs/API_docs_v102/constructors/messages.dhConfig.md @@ -0,0 +1,41 @@ +--- +title: messages.dhConfig +description: New set of configuring parameters. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dhConfig +[Back to constructors index](index.md) + + + +New set of configuring parameters. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|g|[int](../types/int.md) | Yes|New value **prime**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| +|p|[bytes](../types/bytes.md) | Yes|New value **primitive root**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| +|version|[int](../types/int.md) | Yes|Vestion of set of parameters| +|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| + + + +### Type: [messages.DhConfig](../types/messages.DhConfig.md) + + +### Example: + +```php +$messages.dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'version' => int, 'random' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +messages.dhConfig={_='messages.dhConfig', g=int, p='bytes', version=int, random='bytes'} + +``` + + diff --git a/old_docs/API_docs_v102/constructors/messages.dhConfigNotModified.md b/old_docs/API_docs_v102/constructors/messages.dhConfigNotModified.md new file mode 100644 index 00000000..a9a95389 --- /dev/null +++ b/old_docs/API_docs_v102/constructors/messages.dhConfigNotModified.md @@ -0,0 +1,38 @@ +--- +title: messages.dhConfigNotModified +description: Configuring parameters did not change. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dhConfigNotModified +[Back to constructors index](index.md) + + + +Configuring parameters did not change. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| + + + +### Type: [messages.DhConfig](../types/messages.DhConfig.md) + + +### Example: + +```php +$messages.dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +messages.dhConfigNotModified={_='messages.dhConfigNotModified', random='bytes'} + +``` + + diff --git a/old_docs/API_docs_v102/constructors/messages.dialogs.md b/old_docs/API_docs_v102/constructors/messages.dialogs.md new file mode 100644 index 00000000..a72eabce --- /dev/null +++ b/old_docs/API_docs_v102/constructors/messages.dialogs.md @@ -0,0 +1,41 @@ +--- +title: messages.dialogs +description: Full list of chats with messages and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dialogs +[Back to constructors index](index.md) + + + +Full list of chats with messages and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Dialogs](../types/messages.Dialogs.md) + + +### Example: + +```php +$messages.dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.dialogs={_='messages.dialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v102/constructors/messages.dialogsNotModified.md b/old_docs/API_docs_v102/constructors/messages.dialogsNotModified.md new file mode 100644 index 00000000..b4615516 --- /dev/null +++ b/old_docs/API_docs_v102/constructors/messages.dialogsNotModified.md @@ -0,0 +1,38 @@ +--- +title: messages.dialogsNotModified +description: Dialogs haven't changed +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dialogsNotModified +[Back to constructors index](index.md) + + + +Dialogs haven't changed + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Number of dialogs found server-side by the query| + + + +### Type: [messages.Dialogs](../types/messages.Dialogs.md) + + +### Example: + +```php +$messages.dialogsNotModified = ['_' => 'messages.dialogsNotModified', 'count' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.dialogsNotModified={_='messages.dialogsNotModified', count=int} + +``` + + diff --git a/old_docs/API_docs_v102/constructors/messages.dialogsSlice.md b/old_docs/API_docs_v102/constructors/messages.dialogsSlice.md new file mode 100644 index 00000000..26227d2c --- /dev/null +++ b/old_docs/API_docs_v102/constructors/messages.dialogsSlice.md @@ -0,0 +1,42 @@ +--- +title: messages.dialogsSlice +description: Incomplete list of dialogs with messages and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dialogsSlice +[Back to constructors index](index.md) + + + +Incomplete list of dialogs with messages and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of dialogs| +|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Dialogs](../types/messages.Dialogs.md) + + +### Example: + +```php +$messages.dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.dialogsSlice={_='messages.dialogsSlice', count=int, dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v102/constructors/messages.favedStickers.md b/old_docs/API_docs_v102/constructors/messages.favedStickers.md new file mode 100644 index 00000000..a5cfb7c9 --- /dev/null +++ b/old_docs/API_docs_v102/constructors/messages.favedStickers.md @@ -0,0 +1,40 @@ +--- +title: messages.favedStickers +description: Favorited stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.favedStickers +[Back to constructors index](index.md) + + + +Favorited stickers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|packs|Array of [StickerPack](../types/StickerPack.md) | Yes|Packs| +|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| + + + +### Type: [messages.FavedStickers](../types/messages.FavedStickers.md) + + +### Example: + +```php +$messages.favedStickers = ['_' => 'messages.favedStickers', 'hash' => int, 'packs' => [StickerPack, StickerPack], 'stickers' => [Document, Document]]; +``` + + +Or, if you're into Lua: + +```lua +messages.favedStickers={_='messages.favedStickers', hash=int, packs={StickerPack}, stickers={Document}} + +``` + + diff --git a/old_docs/API_docs_v102/constructors/messages.favedStickersNotModified.md b/old_docs/API_docs_v102/constructors/messages.favedStickersNotModified.md new file mode 100644 index 00000000..8723659e --- /dev/null +++ b/old_docs/API_docs_v102/constructors/messages.favedStickersNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.favedStickersNotModified +description: No new favorited stickers were found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.favedStickersNotModified +[Back to constructors index](index.md) + + + +No new favorited stickers were found + + + + +### Type: [messages.FavedStickers](../types/messages.FavedStickers.md) + + +### Example: + +```php +$messages.favedStickersNotModified = ['_' => 'messages.favedStickersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.favedStickersNotModified={_='messages.favedStickersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v102/constructors/messages.featuredStickers.md b/old_docs/API_docs_v102/constructors/messages.featuredStickers.md new file mode 100644 index 00000000..344376ea --- /dev/null +++ b/old_docs/API_docs_v102/constructors/messages.featuredStickers.md @@ -0,0 +1,40 @@ +--- +title: messages.featuredStickers +description: Featured stickersets +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.featuredStickers +[Back to constructors index](index.md) + + + +Featured stickersets + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| +|unread|Array of [long](../types/long.md) | Yes|Unread| + + + +### Type: [messages.FeaturedStickers](../types/messages.FeaturedStickers.md) + + +### Example: + +```php +$messages.featuredStickers = ['_' => 'messages.featuredStickers', 'hash' => int, 'sets' => [StickerSetCovered, StickerSetCovered], 'unread' => [long, long]]; +``` + + +Or, if you're into Lua: + +```lua +messages.featuredStickers={_='messages.featuredStickers', hash=int, sets={StickerSetCovered}, unread={long}} + +``` + + diff --git a/old_docs/API_docs_v102/constructors/messages.featuredStickersNotModified.md b/old_docs/API_docs_v102/constructors/messages.featuredStickersNotModified.md new file mode 100644 index 00000000..0fe9b4d5 --- /dev/null +++ b/old_docs/API_docs_v102/constructors/messages.featuredStickersNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.featuredStickersNotModified +description: Featured stickers haven't changed +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.featuredStickersNotModified +[Back to constructors index](index.md) + + + +Featured stickers haven't changed + + + + +### Type: [messages.FeaturedStickers](../types/messages.FeaturedStickers.md) + + +### Example: + +```php +$messages.featuredStickersNotModified = ['_' => 'messages.featuredStickersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.featuredStickersNotModified={_='messages.featuredStickersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v102/constructors/messages.foundGifs.md b/old_docs/API_docs_v102/constructors/messages.foundGifs.md new file mode 100644 index 00000000..c75e36f9 --- /dev/null +++ b/old_docs/API_docs_v102/constructors/messages.foundGifs.md @@ -0,0 +1,39 @@ +--- +title: messages.foundGifs +description: Found GIFs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.foundGifs +[Back to constructors index](index.md) + + + +Found GIFs + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|next\_offset|[int](../types/int.md) | Yes|Next offset to use when trying to [load more results](../methods/messages.searchGifs.md)| +|results|Array of [FoundGif](../types/FoundGif.md) | Yes|Results| + + + +### Type: [messages.FoundGifs](../types/messages.FoundGifs.md) + + +### Example: + +```php +$messages.foundGifs = ['_' => 'messages.foundGifs', 'next_offset' => int, 'results' => [FoundGif, FoundGif]]; +``` + + +Or, if you're into Lua: + +```lua +messages.foundGifs={_='messages.foundGifs', next_offset=int, results={FoundGif}} + +``` + + diff --git a/old_docs/API_docs_v102/constructors/messages.foundStickerSets.md b/old_docs/API_docs_v102/constructors/messages.foundStickerSets.md new file mode 100644 index 00000000..efc5201e --- /dev/null +++ b/old_docs/API_docs_v102/constructors/messages.foundStickerSets.md @@ -0,0 +1,39 @@ +--- +title: messages.foundStickerSets +description: Found stickersets +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.foundStickerSets +[Back to constructors index](index.md) + + + +Found stickersets + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| + + + +### Type: [messages.FoundStickerSets](../types/messages.FoundStickerSets.md) + + +### Example: + +```php +$messages.foundStickerSets = ['_' => 'messages.foundStickerSets', 'hash' => int, 'sets' => [StickerSetCovered, StickerSetCovered]]; +``` + + +Or, if you're into Lua: + +```lua +messages.foundStickerSets={_='messages.foundStickerSets', hash=int, sets={StickerSetCovered}} + +``` + + diff --git a/old_docs/API_docs_v102/constructors/messages.foundStickerSetsNotModified.md b/old_docs/API_docs_v102/constructors/messages.foundStickerSetsNotModified.md new file mode 100644 index 00000000..2902501a --- /dev/null +++ b/old_docs/API_docs_v102/constructors/messages.foundStickerSetsNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.foundStickerSetsNotModified +description: No further results were found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.foundStickerSetsNotModified +[Back to constructors index](index.md) + + + +No further results were found + + + + +### Type: [messages.FoundStickerSets](../types/messages.FoundStickerSets.md) + + +### Example: + +```php +$messages.foundStickerSetsNotModified = ['_' => 'messages.foundStickerSetsNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.foundStickerSetsNotModified={_='messages.foundStickerSetsNotModified'} + +``` + + diff --git a/old_docs/API_docs_v102/constructors/messages.highScores.md b/old_docs/API_docs_v102/constructors/messages.highScores.md new file mode 100644 index 00000000..d7d25826 --- /dev/null +++ b/old_docs/API_docs_v102/constructors/messages.highScores.md @@ -0,0 +1,39 @@ +--- +title: messages.highScores +description: Highscores in a game +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.highScores +[Back to constructors index](index.md) + + + +Highscores in a game + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|scores|Array of [HighScore](../types/HighScore.md) | Yes|Scores| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.HighScores](../types/messages.HighScores.md) + + +### Example: + +```php +$messages.highScores = ['_' => 'messages.highScores', 'scores' => [HighScore, HighScore], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.highScores={_='messages.highScores', scores={HighScore}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v102/constructors/messages.messageEditData.md b/old_docs/API_docs_v102/constructors/messages.messageEditData.md new file mode 100644 index 00000000..578b53d9 --- /dev/null +++ b/old_docs/API_docs_v102/constructors/messages.messageEditData.md @@ -0,0 +1,38 @@ +--- +title: messages.messageEditData +description: Message edit data for media +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.messageEditData +[Back to constructors index](index.md) + + + +Message edit data for media + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|caption|[Bool](../types/Bool.md) | Optional|Media caption, if the specified media's caption can be edited| + + + +### Type: [messages.MessageEditData](../types/messages.MessageEditData.md) + + +### Example: + +```php +$messages.messageEditData = ['_' => 'messages.messageEditData', 'caption' => Bool]; +``` + + +Or, if you're into Lua: + +```lua +messages.messageEditData={_='messages.messageEditData', caption=Bool} + +``` + + diff --git a/old_docs/API_docs_v102/constructors/messages.messages.md b/old_docs/API_docs_v102/constructors/messages.messages.md new file mode 100644 index 00000000..3af71dca --- /dev/null +++ b/old_docs/API_docs_v102/constructors/messages.messages.md @@ -0,0 +1,40 @@ +--- +title: messages.messages +description: Full list of messages with auxilary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.messages +[Back to constructors index](index.md) + + + +Full list of messages with auxilary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Messages](../types/messages.Messages.md) + + +### Example: + +```php +$messages.messages = ['_' => 'messages.messages', 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.messages={_='messages.messages', messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v102/constructors/messages.messagesNotModified.md b/old_docs/API_docs_v102/constructors/messages.messagesNotModified.md new file mode 100644 index 00000000..c4cb60ed --- /dev/null +++ b/old_docs/API_docs_v102/constructors/messages.messagesNotModified.md @@ -0,0 +1,38 @@ +--- +title: messages.messagesNotModified +description: No new messages matching the query were found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.messagesNotModified +[Back to constructors index](index.md) + + + +No new messages matching the query were found + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Number of results found server-side by the given query| + + + +### Type: [messages.Messages](../types/messages.Messages.md) + + +### Example: + +```php +$messages.messagesNotModified = ['_' => 'messages.messagesNotModified', 'count' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.messagesNotModified={_='messages.messagesNotModified', count=int} + +``` + + diff --git a/old_docs/API_docs_v102/constructors/messages.messagesSlice.md b/old_docs/API_docs_v102/constructors/messages.messagesSlice.md new file mode 100644 index 00000000..ed85347c --- /dev/null +++ b/old_docs/API_docs_v102/constructors/messages.messagesSlice.md @@ -0,0 +1,43 @@ +--- +title: messages.messagesSlice +description: Incomplete list of messages and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.messagesSlice +[Back to constructors index](index.md) + + + +Incomplete list of messages and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|inexact|[Bool](../types/Bool.md) | Optional|If set, indicates that the results may be inexact| +|count|[int](../types/int.md) | Yes|Total number of messages in the list| +|next\_rate|[int](../types/int.md) | Optional|Rate to use in the `offset_rate` parameter in the next call to [messages.searchGlobal](../methods/messages.searchGlobal.md)| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Messages](../types/messages.Messages.md) + + +### Example: + +```php +$messages.messagesSlice = ['_' => 'messages.messagesSlice', 'inexact' => Bool, 'count' => int, 'next_rate' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.messagesSlice={_='messages.messagesSlice', inexact=Bool, count=int, next_rate=int, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v102/constructors/messages.peerDialogs.md b/old_docs/API_docs_v102/constructors/messages.peerDialogs.md new file mode 100644 index 00000000..39cb71f8 --- /dev/null +++ b/old_docs/API_docs_v102/constructors/messages.peerDialogs.md @@ -0,0 +1,42 @@ +--- +title: messages.peerDialogs +description: Dialog info of multiple peers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.peerDialogs +[Back to constructors index](index.md) + + + +Dialog info of multiple peers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| +|state|[updates.State](../constructors/updates.State.md) | Yes|Current [update state of dialog](https://core.telegram.org/api/updates)| + + + +### Type: [messages.PeerDialogs](../types/messages.PeerDialogs.md) + + +### Example: + +```php +$messages.peerDialogs = ['_' => 'messages.peerDialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates.State]; +``` + + +Or, if you're into Lua: + +```lua +messages.peerDialogs={_='messages.peerDialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}, state=updates.State} + +``` + + diff --git a/old_docs/API_docs_v102/constructors/messages.recentStickers.md b/old_docs/API_docs_v102/constructors/messages.recentStickers.md new file mode 100644 index 00000000..33e6c1ad --- /dev/null +++ b/old_docs/API_docs_v102/constructors/messages.recentStickers.md @@ -0,0 +1,41 @@ +--- +title: messages.recentStickers +description: Recently used stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.recentStickers +[Back to constructors index](index.md) + + + +Recently used stickers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|packs|Array of [StickerPack](../types/StickerPack.md) | Yes|Packs| +|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| +|dates|Array of [int](../types/int.md) | Yes|Dates| + + + +### Type: [messages.RecentStickers](../types/messages.RecentStickers.md) + + +### Example: + +```php +$messages.recentStickers = ['_' => 'messages.recentStickers', 'hash' => int, 'packs' => [StickerPack, StickerPack], 'stickers' => [Document, Document], 'dates' => [int, int]]; +``` + + +Or, if you're into Lua: + +```lua +messages.recentStickers={_='messages.recentStickers', hash=int, packs={StickerPack}, stickers={Document}, dates={int}} + +``` + + diff --git a/old_docs/API_docs_v102/constructors/messages.recentStickersNotModified.md b/old_docs/API_docs_v102/constructors/messages.recentStickersNotModified.md new file mode 100644 index 00000000..1c3bbf5c --- /dev/null +++ b/old_docs/API_docs_v102/constructors/messages.recentStickersNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.recentStickersNotModified +description: No new recent sticker was found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.recentStickersNotModified +[Back to constructors index](index.md) + + + +No new recent sticker was found + + + + +### Type: [messages.RecentStickers](../types/messages.RecentStickers.md) + + +### Example: + +```php +$messages.recentStickersNotModified = ['_' => 'messages.recentStickersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.recentStickersNotModified={_='messages.recentStickersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v102/constructors/messages.savedGifs.md b/old_docs/API_docs_v102/constructors/messages.savedGifs.md new file mode 100644 index 00000000..c82929a3 --- /dev/null +++ b/old_docs/API_docs_v102/constructors/messages.savedGifs.md @@ -0,0 +1,39 @@ +--- +title: messages.savedGifs +description: Saved gifs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.savedGifs +[Back to constructors index](index.md) + + + +Saved gifs + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|gifs|Array of [Document](../types/Document.md) | Yes|Gifs| + + + +### Type: [messages.SavedGifs](../types/messages.SavedGifs.md) + + +### Example: + +```php +$messages.savedGifs = ['_' => 'messages.savedGifs', 'hash' => int, 'gifs' => [Document, Document]]; +``` + + +Or, if you're into Lua: + +```lua +messages.savedGifs={_='messages.savedGifs', hash=int, gifs={Document}} + +``` + + diff --git a/old_docs/API_docs_v102/constructors/messages.savedGifsNotModified.md b/old_docs/API_docs_v102/constructors/messages.savedGifsNotModified.md new file mode 100644 index 00000000..0fbccacc --- /dev/null +++ b/old_docs/API_docs_v102/constructors/messages.savedGifsNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.savedGifsNotModified +description: No new saved gifs were found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.savedGifsNotModified +[Back to constructors index](index.md) + + + +No new saved gifs were found + + + + +### Type: [messages.SavedGifs](../types/messages.SavedGifs.md) + + +### Example: + +```php +$messages.savedGifsNotModified = ['_' => 'messages.savedGifsNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.savedGifsNotModified={_='messages.savedGifsNotModified'} + +``` + + diff --git a/old_docs/API_docs_v102/constructors/messages.searchCounter.md b/old_docs/API_docs_v102/constructors/messages.searchCounter.md new file mode 100644 index 00000000..601edd6c --- /dev/null +++ b/old_docs/API_docs_v102/constructors/messages.searchCounter.md @@ -0,0 +1,40 @@ +--- +title: messages.searchCounter +description: Indicates how many results would be found by a [messages.search](../methods/messages.search.md) call with the same parameters +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.searchCounter +[Back to constructors index](index.md) + + + +Indicates how many results would be found by a [messages.search](../methods/messages.search.md) call with the same parameters + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|inexact|[Bool](../types/Bool.md) | Optional|If set, the results may be inexact| +|filter|[MessagesFilter](../types/MessagesFilter.md) | Yes|Provided message filter| +|count|[int](../types/int.md) | Yes|Number of results that were found server-side| + + + +### Type: [messages.SearchCounter](../types/messages.SearchCounter.md) + + +### Example: + +```php +$messages.searchCounter = ['_' => 'messages.searchCounter', 'inexact' => Bool, 'filter' => MessagesFilter, 'count' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.searchCounter={_='messages.searchCounter', inexact=Bool, filter=MessagesFilter, count=int} + +``` + + diff --git a/old_docs/API_docs_v102/constructors/messages.sentEncryptedFile.md b/old_docs/API_docs_v102/constructors/messages.sentEncryptedFile.md new file mode 100644 index 00000000..1f0e43c6 --- /dev/null +++ b/old_docs/API_docs_v102/constructors/messages.sentEncryptedFile.md @@ -0,0 +1,39 @@ +--- +title: messages.sentEncryptedFile +description: Message with a file enclosure sent to a protected chat +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.sentEncryptedFile +[Back to constructors index](index.md) + + + +Message with a file enclosure sent to a protected chat + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Sending date| +|file|[EncryptedFile](../types/EncryptedFile.md) | Optional|Attached file| + + + +### Type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) + + +### Example: + +```php +$messages.sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile]; +``` + + +Or, if you're into Lua: + +```lua +messages.sentEncryptedFile={_='messages.sentEncryptedFile', date=int, file=EncryptedFile} + +``` + + diff --git a/old_docs/API_docs_v102/constructors/messages.sentEncryptedMessage.md b/old_docs/API_docs_v102/constructors/messages.sentEncryptedMessage.md new file mode 100644 index 00000000..3d5eb40c --- /dev/null +++ b/old_docs/API_docs_v102/constructors/messages.sentEncryptedMessage.md @@ -0,0 +1,38 @@ +--- +title: messages.sentEncryptedMessage +description: Message without file attachemts sent to an encrypted file. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.sentEncryptedMessage +[Back to constructors index](index.md) + + + +Message without file attachemts sent to an encrypted file. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Date of sending| + + + +### Type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) + + +### Example: + +```php +$messages.sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.sentEncryptedMessage={_='messages.sentEncryptedMessage', date=int} + +``` + + diff --git a/old_docs/API_docs_v102/constructors/messages.stickerSet.md b/old_docs/API_docs_v102/constructors/messages.stickerSet.md new file mode 100644 index 00000000..fbc154d0 --- /dev/null +++ b/old_docs/API_docs_v102/constructors/messages.stickerSet.md @@ -0,0 +1,40 @@ +--- +title: messages.stickerSet +description: Stickerset and stickers inside it +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickerSet +[Back to constructors index](index.md) + + + +Stickerset and stickers inside it + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|set|[StickerSet](../types/StickerSet.md) | Yes|The stickerset| +|packs|Array of [StickerPack](../types/StickerPack.md) | Yes|Packs| +|documents|Array of [Document](../types/Document.md) | Yes|Documents| + + + +### Type: [messages.StickerSet](../types/messages.StickerSet.md) + + +### Example: + +```php +$messages.stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'packs' => [StickerPack, StickerPack], 'documents' => [Document, Document]]; +``` + + +Or, if you're into Lua: + +```lua +messages.stickerSet={_='messages.stickerSet', set=StickerSet, packs={StickerPack}, documents={Document}} + +``` + + diff --git a/old_docs/API_docs_v102/constructors/messages.stickerSetInstallResultArchive.md b/old_docs/API_docs_v102/constructors/messages.stickerSetInstallResultArchive.md new file mode 100644 index 00000000..fefe2270 --- /dev/null +++ b/old_docs/API_docs_v102/constructors/messages.stickerSetInstallResultArchive.md @@ -0,0 +1,38 @@ +--- +title: messages.stickerSetInstallResultArchive +description: The stickerset was installed, but since there are too many stickersets some were archived +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickerSetInstallResultArchive +[Back to constructors index](index.md) + + + +The stickerset was installed, but since there are too many stickersets some were archived + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| + + + +### Type: [messages.StickerSetInstallResult](../types/messages.StickerSetInstallResult.md) + + +### Example: + +```php +$messages.stickerSetInstallResultArchive = ['_' => 'messages.stickerSetInstallResultArchive', 'sets' => [StickerSetCovered, StickerSetCovered]]; +``` + + +Or, if you're into Lua: + +```lua +messages.stickerSetInstallResultArchive={_='messages.stickerSetInstallResultArchive', sets={StickerSetCovered}} + +``` + + diff --git a/old_docs/API_docs_v102/constructors/messages.stickerSetInstallResultSuccess.md b/old_docs/API_docs_v102/constructors/messages.stickerSetInstallResultSuccess.md new file mode 100644 index 00000000..bbe8b961 --- /dev/null +++ b/old_docs/API_docs_v102/constructors/messages.stickerSetInstallResultSuccess.md @@ -0,0 +1,33 @@ +--- +title: messages.stickerSetInstallResultSuccess +description: The stickerset was installed successfully +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickerSetInstallResultSuccess +[Back to constructors index](index.md) + + + +The stickerset was installed successfully + + + + +### Type: [messages.StickerSetInstallResult](../types/messages.StickerSetInstallResult.md) + + +### Example: + +```php +$messages.stickerSetInstallResultSuccess = ['_' => 'messages.stickerSetInstallResultSuccess']; +``` + + +Or, if you're into Lua: + +```lua +messages.stickerSetInstallResultSuccess={_='messages.stickerSetInstallResultSuccess'} + +``` + + diff --git a/old_docs/API_docs_v102/constructors/messages.stickers.md b/old_docs/API_docs_v102/constructors/messages.stickers.md new file mode 100644 index 00000000..49ffea6a --- /dev/null +++ b/old_docs/API_docs_v102/constructors/messages.stickers.md @@ -0,0 +1,39 @@ +--- +title: messages.stickers +description: Found stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickers +[Back to constructors index](index.md) + + + +Found stickers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| + + + +### Type: [messages.Stickers](../types/messages.Stickers.md) + + +### Example: + +```php +$messages.stickers = ['_' => 'messages.stickers', 'hash' => int, 'stickers' => [Document, Document]]; +``` + + +Or, if you're into Lua: + +```lua +messages.stickers={_='messages.stickers', hash=int, stickers={Document}} + +``` + + diff --git a/old_docs/API_docs_v102/constructors/messages.stickersNotModified.md b/old_docs/API_docs_v102/constructors/messages.stickersNotModified.md new file mode 100644 index 00000000..e8c7766c --- /dev/null +++ b/old_docs/API_docs_v102/constructors/messages.stickersNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.stickersNotModified +description: No new stickers were found for the given query +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickersNotModified +[Back to constructors index](index.md) + + + +No new stickers were found for the given query + + + + +### Type: [messages.Stickers](../types/messages.Stickers.md) + + +### Example: + +```php +$messages.stickersNotModified = ['_' => 'messages.stickersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.stickersNotModified={_='messages.stickersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v102/constructors/messages_affectedHistory.md b/old_docs/API_docs_v102/constructors/messages_affectedHistory.md deleted file mode 100644 index 449a7e3f..00000000 --- a/old_docs/API_docs_v102/constructors/messages_affectedHistory.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.affectedHistory -description: Affected part of communication history with the user or in a chat. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.affectedHistory -[Back to constructors index](index.md) - - - -Affected part of communication history with the user or in a chat. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| -|pts\_count|[int](../types/int.md) | Yes|Number of affected events| -|offset|[int](../types/int.md) | Yes|If a parameter contains positive value, it is necessary to repeat the method call using the given value; during the proceeding of all the history the value itself shall gradually decrease| - - - -### Type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) - - -### Example: - -```php -$messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_affectedHistory={_='messages.affectedHistory', pts=int, pts_count=int, offset=int} - -``` - - diff --git a/old_docs/API_docs_v102/constructors/messages_affectedMessages.md b/old_docs/API_docs_v102/constructors/messages_affectedMessages.md deleted file mode 100644 index 86760581..00000000 --- a/old_docs/API_docs_v102/constructors/messages_affectedMessages.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.affectedMessages -description: Events affected by operation -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.affectedMessages -[Back to constructors index](index.md) - - - -Events affected by operation - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|[Event count after generation](https://core.telegram.org/api/updates)| -|pts\_count|[int](../types/int.md) | Yes|[Number of events that were generated](https://core.telegram.org/api/updates)| - - - -### Type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) - - -### Example: - -```php -$messages_affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_affectedMessages={_='messages.affectedMessages', pts=int, pts_count=int} - -``` - - diff --git a/old_docs/API_docs_v102/constructors/messages_allStickers.md b/old_docs/API_docs_v102/constructors/messages_allStickers.md deleted file mode 100644 index 2e64f46e..00000000 --- a/old_docs/API_docs_v102/constructors/messages_allStickers.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.allStickers -description: Info about all installed stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.allStickers -[Back to constructors index](index.md) - - - -Info about all installed stickers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|sets|Array of [StickerSet](../types/StickerSet.md) | Yes|Sets| - - - -### Type: [messages\_AllStickers](../types/messages_AllStickers.md) - - -### Example: - -```php -$messages_allStickers = ['_' => 'messages.allStickers', 'hash' => int, 'sets' => [StickerSet, StickerSet]]; -``` - - -Or, if you're into Lua: - -```lua -messages_allStickers={_='messages.allStickers', hash=int, sets={StickerSet}} - -``` - - diff --git a/old_docs/API_docs_v102/constructors/messages_allStickersNotModified.md b/old_docs/API_docs_v102/constructors/messages_allStickersNotModified.md deleted file mode 100644 index c4da85ab..00000000 --- a/old_docs/API_docs_v102/constructors/messages_allStickersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.allStickersNotModified -description: Info about all installed stickers hasn't changed -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.allStickersNotModified -[Back to constructors index](index.md) - - - -Info about all installed stickers hasn't changed - - - - -### Type: [messages\_AllStickers](../types/messages_AllStickers.md) - - -### Example: - -```php -$messages_allStickersNotModified = ['_' => 'messages.allStickersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_allStickersNotModified={_='messages.allStickersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v102/constructors/messages_archivedStickers.md b/old_docs/API_docs_v102/constructors/messages_archivedStickers.md deleted file mode 100644 index 6b28c885..00000000 --- a/old_docs/API_docs_v102/constructors/messages_archivedStickers.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.archivedStickers -description: Archived stickersets -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.archivedStickers -[Back to constructors index](index.md) - - - -Archived stickersets - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Number of archived stickers| -|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| - - - -### Type: [messages\_ArchivedStickers](../types/messages_ArchivedStickers.md) - - -### Example: - -```php -$messages_archivedStickers = ['_' => 'messages.archivedStickers', 'count' => int, 'sets' => [StickerSetCovered, StickerSetCovered]]; -``` - - -Or, if you're into Lua: - -```lua -messages_archivedStickers={_='messages.archivedStickers', count=int, sets={StickerSetCovered}} - -``` - - diff --git a/old_docs/API_docs_v102/constructors/messages_botCallbackAnswer.md b/old_docs/API_docs_v102/constructors/messages_botCallbackAnswer.md deleted file mode 100644 index e56f4b56..00000000 --- a/old_docs/API_docs_v102/constructors/messages_botCallbackAnswer.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: messages.botCallbackAnswer -description: Callback answer sent by the bot in response to a button press -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.botCallbackAnswer -[Back to constructors index](index.md) - - - -Callback answer sent by the bot in response to a button press - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|alert|[Bool](../types/Bool.md) | Optional|Whether an alert should be shown to the user instead of a toast notification| -|has\_url|[Bool](../types/Bool.md) | Optional|Whether an URL is present| -|native\_ui|[Bool](../types/Bool.md) | Optional|Whether to show games in WebView or in native UI.| -|message|[string](../types/string.md) | Optional|Alert to show| -|url|[string](../types/string.md) | Optional|URL to open| -|cache\_time|[int](../types/int.md) | Yes|For how long should this answer be cached| - - - -### Type: [messages\_BotCallbackAnswer](../types/messages_BotCallbackAnswer.md) - - -### Example: - -```php -$messages_botCallbackAnswer = ['_' => 'messages.botCallbackAnswer', 'alert' => Bool, 'has_url' => Bool, 'native_ui' => Bool, 'message' => 'string', 'url' => 'string', 'cache_time' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_botCallbackAnswer={_='messages.botCallbackAnswer', alert=Bool, has_url=Bool, native_ui=Bool, message='string', url='string', cache_time=int} - -``` - - diff --git a/old_docs/API_docs_v102/constructors/messages_botResults.md b/old_docs/API_docs_v102/constructors/messages_botResults.md deleted file mode 100644 index 19b9edf6..00000000 --- a/old_docs/API_docs_v102/constructors/messages_botResults.md +++ /dev/null @@ -1,44 +0,0 @@ ---- -title: messages.botResults -description: Result of a query to an inline bot -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.botResults -[Back to constructors index](index.md) - - - -Result of a query to an inline bot - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|gallery|[Bool](../types/Bool.md) | Optional|Whether the result is a picture gallery| -|query\_id|[long](../types/long.md) | Yes|Query ID| -|next\_offset|[string](../types/string.md) | Optional|The next offset to use when navigating through results| -|switch\_pm|[InlineBotSwitchPM](../types/InlineBotSwitchPM.md) | Optional|Whether the bot requested the user to message him in private| -|results|Array of [BotInlineResult](../types/BotInlineResult.md) | Yes|Results| -|cache\_time|[int](../types/int.md) | Yes|Caching validity of the results| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_BotResults](../types/messages_BotResults.md) - - -### Example: - -```php -$messages_botResults = ['_' => 'messages.botResults', 'gallery' => Bool, 'query_id' => long, 'next_offset' => 'string', 'switch_pm' => InlineBotSwitchPM, 'results' => [BotInlineResult, BotInlineResult], 'cache_time' => int, 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_botResults={_='messages.botResults', gallery=Bool, query_id=long, next_offset='string', switch_pm=InlineBotSwitchPM, results={BotInlineResult}, cache_time=int, users={User}} - -``` - - diff --git a/old_docs/API_docs_v102/constructors/messages_channelMessages.md b/old_docs/API_docs_v102/constructors/messages_channelMessages.md deleted file mode 100644 index 4cf24743..00000000 --- a/old_docs/API_docs_v102/constructors/messages_channelMessages.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: messages.channelMessages -description: Channel messages -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.channelMessages -[Back to constructors index](index.md) - - - -Channel messages - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|inexact|[Bool](../types/Bool.md) | Optional|If set, returned results may be inexact| -|pts|[int](../types/int.md) | Yes|[Event count after generation](https://core.telegram.org/api/updates)| -|count|[int](../types/int.md) | Yes|Total number of results were found server-side (may not be all included here)| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Messages](../types/messages_Messages.md) - - -### Example: - -```php -$messages_channelMessages = ['_' => 'messages.channelMessages', 'inexact' => Bool, 'pts' => int, 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_channelMessages={_='messages.channelMessages', inexact=Bool, pts=int, count=int, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v102/constructors/messages_chatFull.md b/old_docs/API_docs_v102/constructors/messages_chatFull.md deleted file mode 100644 index 02f1acdf..00000000 --- a/old_docs/API_docs_v102/constructors/messages_chatFull.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.chatFull -description: Extended info on chat and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.chatFull -[Back to constructors index](index.md) - - - -Extended info on chat and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|full\_chat|[ChatFull](../types/ChatFull.md) | Yes|Extended info on a chat| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_ChatFull](../types/messages_ChatFull.md) - - -### Example: - -```php -$messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_chatFull={_='messages.chatFull', full_chat=ChatFull, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v102/constructors/messages_chats.md b/old_docs/API_docs_v102/constructors/messages_chats.md deleted file mode 100644 index ef3690a9..00000000 --- a/old_docs/API_docs_v102/constructors/messages_chats.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.chats -description: List of chats with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.chats -[Back to constructors index](index.md) - - - -List of chats with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| - - - -### Type: [messages\_Chats](../types/messages_Chats.md) - - -### Example: - -```php -$messages_chats = ['_' => 'messages.chats', 'chats' => [Chat, Chat]]; -``` - - -Or, if you're into Lua: - -```lua -messages_chats={_='messages.chats', chats={Chat}} - -``` - - diff --git a/old_docs/API_docs_v102/constructors/messages_chatsSlice.md b/old_docs/API_docs_v102/constructors/messages_chatsSlice.md deleted file mode 100644 index f19c4357..00000000 --- a/old_docs/API_docs_v102/constructors/messages_chatsSlice.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.chatsSlice -description: Partial list of chats, more would have to be fetched with [pagination](https://core.telegram.org/api/offsets) -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.chatsSlice -[Back to constructors index](index.md) - - - -Partial list of chats, more would have to be fetched with [pagination](https://core.telegram.org/api/offsets) - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of results that were found server-side (not all are included in `chats`)| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| - - - -### Type: [messages\_Chats](../types/messages_Chats.md) - - -### Example: - -```php -$messages_chatsSlice = ['_' => 'messages.chatsSlice', 'count' => int, 'chats' => [Chat, Chat]]; -``` - - -Or, if you're into Lua: - -```lua -messages_chatsSlice={_='messages.chatsSlice', count=int, chats={Chat}} - -``` - - diff --git a/old_docs/API_docs_v102/constructors/messages_dhConfig.md b/old_docs/API_docs_v102/constructors/messages_dhConfig.md deleted file mode 100644 index 42c2feb1..00000000 --- a/old_docs/API_docs_v102/constructors/messages_dhConfig.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: messages.dhConfig -description: New set of configuring parameters. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dhConfig -[Back to constructors index](index.md) - - - -New set of configuring parameters. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|g|[int](../types/int.md) | Yes|New value **prime**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| -|p|[bytes](../types/bytes.md) | Yes|New value **primitive root**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| -|version|[int](../types/int.md) | Yes|Vestion of set of parameters| -|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| - - - -### Type: [messages\_DhConfig](../types/messages_DhConfig.md) - - -### Example: - -```php -$messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'version' => int, 'random' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -messages_dhConfig={_='messages.dhConfig', g=int, p='bytes', version=int, random='bytes'} - -``` - - diff --git a/old_docs/API_docs_v102/constructors/messages_dhConfigNotModified.md b/old_docs/API_docs_v102/constructors/messages_dhConfigNotModified.md deleted file mode 100644 index 5bf64230..00000000 --- a/old_docs/API_docs_v102/constructors/messages_dhConfigNotModified.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.dhConfigNotModified -description: Configuring parameters did not change. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dhConfigNotModified -[Back to constructors index](index.md) - - - -Configuring parameters did not change. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| - - - -### Type: [messages\_DhConfig](../types/messages_DhConfig.md) - - -### Example: - -```php -$messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -messages_dhConfigNotModified={_='messages.dhConfigNotModified', random='bytes'} - -``` - - diff --git a/old_docs/API_docs_v102/constructors/messages_dialogs.md b/old_docs/API_docs_v102/constructors/messages_dialogs.md deleted file mode 100644 index e6a431b4..00000000 --- a/old_docs/API_docs_v102/constructors/messages_dialogs.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: messages.dialogs -description: Full list of chats with messages and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dialogs -[Back to constructors index](index.md) - - - -Full list of chats with messages and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Dialogs](../types/messages_Dialogs.md) - - -### Example: - -```php -$messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_dialogs={_='messages.dialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v102/constructors/messages_dialogsNotModified.md b/old_docs/API_docs_v102/constructors/messages_dialogsNotModified.md deleted file mode 100644 index 16a32b2e..00000000 --- a/old_docs/API_docs_v102/constructors/messages_dialogsNotModified.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.dialogsNotModified -description: Dialogs haven't changed -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dialogsNotModified -[Back to constructors index](index.md) - - - -Dialogs haven't changed - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Number of dialogs found server-side by the query| - - - -### Type: [messages\_Dialogs](../types/messages_Dialogs.md) - - -### Example: - -```php -$messages_dialogsNotModified = ['_' => 'messages.dialogsNotModified', 'count' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_dialogsNotModified={_='messages.dialogsNotModified', count=int} - -``` - - diff --git a/old_docs/API_docs_v102/constructors/messages_dialogsSlice.md b/old_docs/API_docs_v102/constructors/messages_dialogsSlice.md deleted file mode 100644 index f183b9a8..00000000 --- a/old_docs/API_docs_v102/constructors/messages_dialogsSlice.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: messages.dialogsSlice -description: Incomplete list of dialogs with messages and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dialogsSlice -[Back to constructors index](index.md) - - - -Incomplete list of dialogs with messages and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of dialogs| -|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Dialogs](../types/messages_Dialogs.md) - - -### Example: - -```php -$messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_dialogsSlice={_='messages.dialogsSlice', count=int, dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v102/constructors/messages_favedStickers.md b/old_docs/API_docs_v102/constructors/messages_favedStickers.md deleted file mode 100644 index 72d79df2..00000000 --- a/old_docs/API_docs_v102/constructors/messages_favedStickers.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.favedStickers -description: Favorited stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.favedStickers -[Back to constructors index](index.md) - - - -Favorited stickers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|packs|Array of [StickerPack](../types/StickerPack.md) | Yes|Packs| -|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| - - - -### Type: [messages\_FavedStickers](../types/messages_FavedStickers.md) - - -### Example: - -```php -$messages_favedStickers = ['_' => 'messages.favedStickers', 'hash' => int, 'packs' => [StickerPack, StickerPack], 'stickers' => [Document, Document]]; -``` - - -Or, if you're into Lua: - -```lua -messages_favedStickers={_='messages.favedStickers', hash=int, packs={StickerPack}, stickers={Document}} - -``` - - diff --git a/old_docs/API_docs_v102/constructors/messages_favedStickersNotModified.md b/old_docs/API_docs_v102/constructors/messages_favedStickersNotModified.md deleted file mode 100644 index a47c08e8..00000000 --- a/old_docs/API_docs_v102/constructors/messages_favedStickersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.favedStickersNotModified -description: No new favorited stickers were found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.favedStickersNotModified -[Back to constructors index](index.md) - - - -No new favorited stickers were found - - - - -### Type: [messages\_FavedStickers](../types/messages_FavedStickers.md) - - -### Example: - -```php -$messages_favedStickersNotModified = ['_' => 'messages.favedStickersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_favedStickersNotModified={_='messages.favedStickersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v102/constructors/messages_featuredStickers.md b/old_docs/API_docs_v102/constructors/messages_featuredStickers.md deleted file mode 100644 index 8ef1046e..00000000 --- a/old_docs/API_docs_v102/constructors/messages_featuredStickers.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.featuredStickers -description: Featured stickersets -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.featuredStickers -[Back to constructors index](index.md) - - - -Featured stickersets - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| -|unread|Array of [long](../types/long.md) | Yes|Unread| - - - -### Type: [messages\_FeaturedStickers](../types/messages_FeaturedStickers.md) - - -### Example: - -```php -$messages_featuredStickers = ['_' => 'messages.featuredStickers', 'hash' => int, 'sets' => [StickerSetCovered, StickerSetCovered], 'unread' => [long, long]]; -``` - - -Or, if you're into Lua: - -```lua -messages_featuredStickers={_='messages.featuredStickers', hash=int, sets={StickerSetCovered}, unread={long}} - -``` - - diff --git a/old_docs/API_docs_v102/constructors/messages_featuredStickersNotModified.md b/old_docs/API_docs_v102/constructors/messages_featuredStickersNotModified.md deleted file mode 100644 index de01131b..00000000 --- a/old_docs/API_docs_v102/constructors/messages_featuredStickersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.featuredStickersNotModified -description: Featured stickers haven't changed -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.featuredStickersNotModified -[Back to constructors index](index.md) - - - -Featured stickers haven't changed - - - - -### Type: [messages\_FeaturedStickers](../types/messages_FeaturedStickers.md) - - -### Example: - -```php -$messages_featuredStickersNotModified = ['_' => 'messages.featuredStickersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_featuredStickersNotModified={_='messages.featuredStickersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v102/constructors/messages_foundGifs.md b/old_docs/API_docs_v102/constructors/messages_foundGifs.md deleted file mode 100644 index eb3603ca..00000000 --- a/old_docs/API_docs_v102/constructors/messages_foundGifs.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.foundGifs -description: Found GIFs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.foundGifs -[Back to constructors index](index.md) - - - -Found GIFs - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|next\_offset|[int](../types/int.md) | Yes|Next offset to use when trying to [load more results](../methods/messages.searchGifs.md)| -|results|Array of [FoundGif](../types/FoundGif.md) | Yes|Results| - - - -### Type: [messages\_FoundGifs](../types/messages_FoundGifs.md) - - -### Example: - -```php -$messages_foundGifs = ['_' => 'messages.foundGifs', 'next_offset' => int, 'results' => [FoundGif, FoundGif]]; -``` - - -Or, if you're into Lua: - -```lua -messages_foundGifs={_='messages.foundGifs', next_offset=int, results={FoundGif}} - -``` - - diff --git a/old_docs/API_docs_v102/constructors/messages_foundStickerSets.md b/old_docs/API_docs_v102/constructors/messages_foundStickerSets.md deleted file mode 100644 index 356177e1..00000000 --- a/old_docs/API_docs_v102/constructors/messages_foundStickerSets.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.foundStickerSets -description: Found stickersets -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.foundStickerSets -[Back to constructors index](index.md) - - - -Found stickersets - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| - - - -### Type: [messages\_FoundStickerSets](../types/messages_FoundStickerSets.md) - - -### Example: - -```php -$messages_foundStickerSets = ['_' => 'messages.foundStickerSets', 'hash' => int, 'sets' => [StickerSetCovered, StickerSetCovered]]; -``` - - -Or, if you're into Lua: - -```lua -messages_foundStickerSets={_='messages.foundStickerSets', hash=int, sets={StickerSetCovered}} - -``` - - diff --git a/old_docs/API_docs_v102/constructors/messages_foundStickerSetsNotModified.md b/old_docs/API_docs_v102/constructors/messages_foundStickerSetsNotModified.md deleted file mode 100644 index c1f39490..00000000 --- a/old_docs/API_docs_v102/constructors/messages_foundStickerSetsNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.foundStickerSetsNotModified -description: No further results were found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.foundStickerSetsNotModified -[Back to constructors index](index.md) - - - -No further results were found - - - - -### Type: [messages\_FoundStickerSets](../types/messages_FoundStickerSets.md) - - -### Example: - -```php -$messages_foundStickerSetsNotModified = ['_' => 'messages.foundStickerSetsNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_foundStickerSetsNotModified={_='messages.foundStickerSetsNotModified'} - -``` - - diff --git a/old_docs/API_docs_v102/constructors/messages_highScores.md b/old_docs/API_docs_v102/constructors/messages_highScores.md deleted file mode 100644 index d6fc5210..00000000 --- a/old_docs/API_docs_v102/constructors/messages_highScores.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.highScores -description: Highscores in a game -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.highScores -[Back to constructors index](index.md) - - - -Highscores in a game - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|scores|Array of [HighScore](../types/HighScore.md) | Yes|Scores| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_HighScores](../types/messages_HighScores.md) - - -### Example: - -```php -$messages_highScores = ['_' => 'messages.highScores', 'scores' => [HighScore, HighScore], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_highScores={_='messages.highScores', scores={HighScore}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v102/constructors/messages_messageEditData.md b/old_docs/API_docs_v102/constructors/messages_messageEditData.md deleted file mode 100644 index 76aefca5..00000000 --- a/old_docs/API_docs_v102/constructors/messages_messageEditData.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.messageEditData -description: Message edit data for media -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.messageEditData -[Back to constructors index](index.md) - - - -Message edit data for media - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|caption|[Bool](../types/Bool.md) | Optional|Media caption, if the specified media's caption can be edited| - - - -### Type: [messages\_MessageEditData](../types/messages_MessageEditData.md) - - -### Example: - -```php -$messages_messageEditData = ['_' => 'messages.messageEditData', 'caption' => Bool]; -``` - - -Or, if you're into Lua: - -```lua -messages_messageEditData={_='messages.messageEditData', caption=Bool} - -``` - - diff --git a/old_docs/API_docs_v102/constructors/messages_messages.md b/old_docs/API_docs_v102/constructors/messages_messages.md deleted file mode 100644 index 3e369e1a..00000000 --- a/old_docs/API_docs_v102/constructors/messages_messages.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.messages -description: Full list of messages with auxilary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.messages -[Back to constructors index](index.md) - - - -Full list of messages with auxilary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Messages](../types/messages_Messages.md) - - -### Example: - -```php -$messages_messages = ['_' => 'messages.messages', 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_messages={_='messages.messages', messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v102/constructors/messages_messagesNotModified.md b/old_docs/API_docs_v102/constructors/messages_messagesNotModified.md deleted file mode 100644 index 2e9c4ad9..00000000 --- a/old_docs/API_docs_v102/constructors/messages_messagesNotModified.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.messagesNotModified -description: No new messages matching the query were found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.messagesNotModified -[Back to constructors index](index.md) - - - -No new messages matching the query were found - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Number of results found server-side by the given query| - - - -### Type: [messages\_Messages](../types/messages_Messages.md) - - -### Example: - -```php -$messages_messagesNotModified = ['_' => 'messages.messagesNotModified', 'count' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_messagesNotModified={_='messages.messagesNotModified', count=int} - -``` - - diff --git a/old_docs/API_docs_v102/constructors/messages_messagesSlice.md b/old_docs/API_docs_v102/constructors/messages_messagesSlice.md deleted file mode 100644 index 788f301a..00000000 --- a/old_docs/API_docs_v102/constructors/messages_messagesSlice.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: messages.messagesSlice -description: Incomplete list of messages and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.messagesSlice -[Back to constructors index](index.md) - - - -Incomplete list of messages and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|inexact|[Bool](../types/Bool.md) | Optional|If set, indicates that the results may be inexact| -|count|[int](../types/int.md) | Yes|Total number of messages in the list| -|next\_rate|[int](../types/int.md) | Optional|Rate to use in the `offset_rate` parameter in the next call to [messages.searchGlobal](../methods/messages.searchGlobal.md)| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Messages](../types/messages_Messages.md) - - -### Example: - -```php -$messages_messagesSlice = ['_' => 'messages.messagesSlice', 'inexact' => Bool, 'count' => int, 'next_rate' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_messagesSlice={_='messages.messagesSlice', inexact=Bool, count=int, next_rate=int, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v102/constructors/messages_peerDialogs.md b/old_docs/API_docs_v102/constructors/messages_peerDialogs.md deleted file mode 100644 index 29b4b842..00000000 --- a/old_docs/API_docs_v102/constructors/messages_peerDialogs.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: messages.peerDialogs -description: Dialog info of multiple peers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.peerDialogs -[Back to constructors index](index.md) - - - -Dialog info of multiple peers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| -|state|[updates\_State](../types/updates_State.md) | Yes|Current [update state of dialog](https://core.telegram.org/api/updates)| - - - -### Type: [messages\_PeerDialogs](../types/messages_PeerDialogs.md) - - -### Example: - -```php -$messages_peerDialogs = ['_' => 'messages.peerDialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates_State]; -``` - - -Or, if you're into Lua: - -```lua -messages_peerDialogs={_='messages.peerDialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}, state=updates_State} - -``` - - diff --git a/old_docs/API_docs_v102/constructors/messages_recentStickers.md b/old_docs/API_docs_v102/constructors/messages_recentStickers.md deleted file mode 100644 index 47d5cffd..00000000 --- a/old_docs/API_docs_v102/constructors/messages_recentStickers.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: messages.recentStickers -description: Recently used stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.recentStickers -[Back to constructors index](index.md) - - - -Recently used stickers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|packs|Array of [StickerPack](../types/StickerPack.md) | Yes|Packs| -|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| -|dates|Array of [int](../types/int.md) | Yes|Dates| - - - -### Type: [messages\_RecentStickers](../types/messages_RecentStickers.md) - - -### Example: - -```php -$messages_recentStickers = ['_' => 'messages.recentStickers', 'hash' => int, 'packs' => [StickerPack, StickerPack], 'stickers' => [Document, Document], 'dates' => [int, int]]; -``` - - -Or, if you're into Lua: - -```lua -messages_recentStickers={_='messages.recentStickers', hash=int, packs={StickerPack}, stickers={Document}, dates={int}} - -``` - - diff --git a/old_docs/API_docs_v102/constructors/messages_recentStickersNotModified.md b/old_docs/API_docs_v102/constructors/messages_recentStickersNotModified.md deleted file mode 100644 index 3e81dceb..00000000 --- a/old_docs/API_docs_v102/constructors/messages_recentStickersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.recentStickersNotModified -description: No new recent sticker was found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.recentStickersNotModified -[Back to constructors index](index.md) - - - -No new recent sticker was found - - - - -### Type: [messages\_RecentStickers](../types/messages_RecentStickers.md) - - -### Example: - -```php -$messages_recentStickersNotModified = ['_' => 'messages.recentStickersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_recentStickersNotModified={_='messages.recentStickersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v102/constructors/messages_savedGifs.md b/old_docs/API_docs_v102/constructors/messages_savedGifs.md deleted file mode 100644 index ed3e8ea3..00000000 --- a/old_docs/API_docs_v102/constructors/messages_savedGifs.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.savedGifs -description: Saved gifs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.savedGifs -[Back to constructors index](index.md) - - - -Saved gifs - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|gifs|Array of [Document](../types/Document.md) | Yes|Gifs| - - - -### Type: [messages\_SavedGifs](../types/messages_SavedGifs.md) - - -### Example: - -```php -$messages_savedGifs = ['_' => 'messages.savedGifs', 'hash' => int, 'gifs' => [Document, Document]]; -``` - - -Or, if you're into Lua: - -```lua -messages_savedGifs={_='messages.savedGifs', hash=int, gifs={Document}} - -``` - - diff --git a/old_docs/API_docs_v102/constructors/messages_savedGifsNotModified.md b/old_docs/API_docs_v102/constructors/messages_savedGifsNotModified.md deleted file mode 100644 index 0f843a0c..00000000 --- a/old_docs/API_docs_v102/constructors/messages_savedGifsNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.savedGifsNotModified -description: No new saved gifs were found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.savedGifsNotModified -[Back to constructors index](index.md) - - - -No new saved gifs were found - - - - -### Type: [messages\_SavedGifs](../types/messages_SavedGifs.md) - - -### Example: - -```php -$messages_savedGifsNotModified = ['_' => 'messages.savedGifsNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_savedGifsNotModified={_='messages.savedGifsNotModified'} - -``` - - diff --git a/old_docs/API_docs_v102/constructors/messages_searchCounter.md b/old_docs/API_docs_v102/constructors/messages_searchCounter.md deleted file mode 100644 index 7ca4102e..00000000 --- a/old_docs/API_docs_v102/constructors/messages_searchCounter.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.searchCounter -description: Indicates how many results would be found by a [messages.search](../methods/messages.search.md) call with the same parameters -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.searchCounter -[Back to constructors index](index.md) - - - -Indicates how many results would be found by a [messages.search](../methods/messages.search.md) call with the same parameters - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|inexact|[Bool](../types/Bool.md) | Optional|If set, the results may be inexact| -|filter|[MessagesFilter](../types/MessagesFilter.md) | Yes|Provided message filter| -|count|[int](../types/int.md) | Yes|Number of results that were found server-side| - - - -### Type: [messages\_SearchCounter](../types/messages_SearchCounter.md) - - -### Example: - -```php -$messages_searchCounter = ['_' => 'messages.searchCounter', 'inexact' => Bool, 'filter' => MessagesFilter, 'count' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_searchCounter={_='messages.searchCounter', inexact=Bool, filter=MessagesFilter, count=int} - -``` - - diff --git a/old_docs/API_docs_v102/constructors/messages_sentEncryptedFile.md b/old_docs/API_docs_v102/constructors/messages_sentEncryptedFile.md deleted file mode 100644 index fdc2a11e..00000000 --- a/old_docs/API_docs_v102/constructors/messages_sentEncryptedFile.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.sentEncryptedFile -description: Message with a file enclosure sent to a protected chat -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.sentEncryptedFile -[Back to constructors index](index.md) - - - -Message with a file enclosure sent to a protected chat - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Sending date| -|file|[EncryptedFile](../types/EncryptedFile.md) | Optional|Attached file| - - - -### Type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) - - -### Example: - -```php -$messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile]; -``` - - -Or, if you're into Lua: - -```lua -messages_sentEncryptedFile={_='messages.sentEncryptedFile', date=int, file=EncryptedFile} - -``` - - diff --git a/old_docs/API_docs_v102/constructors/messages_sentEncryptedMessage.md b/old_docs/API_docs_v102/constructors/messages_sentEncryptedMessage.md deleted file mode 100644 index 36b2bbff..00000000 --- a/old_docs/API_docs_v102/constructors/messages_sentEncryptedMessage.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.sentEncryptedMessage -description: Message without file attachemts sent to an encrypted file. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.sentEncryptedMessage -[Back to constructors index](index.md) - - - -Message without file attachemts sent to an encrypted file. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Date of sending| - - - -### Type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) - - -### Example: - -```php -$messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_sentEncryptedMessage={_='messages.sentEncryptedMessage', date=int} - -``` - - diff --git a/old_docs/API_docs_v102/constructors/messages_stickerSet.md b/old_docs/API_docs_v102/constructors/messages_stickerSet.md deleted file mode 100644 index 127191de..00000000 --- a/old_docs/API_docs_v102/constructors/messages_stickerSet.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.stickerSet -description: Stickerset and stickers inside it -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickerSet -[Back to constructors index](index.md) - - - -Stickerset and stickers inside it - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|set|[StickerSet](../types/StickerSet.md) | Yes|The stickerset| -|packs|Array of [StickerPack](../types/StickerPack.md) | Yes|Packs| -|documents|Array of [Document](../types/Document.md) | Yes|Documents| - - - -### Type: [messages\_StickerSet](../types/messages_StickerSet.md) - - -### Example: - -```php -$messages_stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'packs' => [StickerPack, StickerPack], 'documents' => [Document, Document]]; -``` - - -Or, if you're into Lua: - -```lua -messages_stickerSet={_='messages.stickerSet', set=StickerSet, packs={StickerPack}, documents={Document}} - -``` - - diff --git a/old_docs/API_docs_v102/constructors/messages_stickerSetInstallResultArchive.md b/old_docs/API_docs_v102/constructors/messages_stickerSetInstallResultArchive.md deleted file mode 100644 index 8a5f4d5d..00000000 --- a/old_docs/API_docs_v102/constructors/messages_stickerSetInstallResultArchive.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.stickerSetInstallResultArchive -description: The stickerset was installed, but since there are too many stickersets some were archived -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickerSetInstallResultArchive -[Back to constructors index](index.md) - - - -The stickerset was installed, but since there are too many stickersets some were archived - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| - - - -### Type: [messages\_StickerSetInstallResult](../types/messages_StickerSetInstallResult.md) - - -### Example: - -```php -$messages_stickerSetInstallResultArchive = ['_' => 'messages.stickerSetInstallResultArchive', 'sets' => [StickerSetCovered, StickerSetCovered]]; -``` - - -Or, if you're into Lua: - -```lua -messages_stickerSetInstallResultArchive={_='messages.stickerSetInstallResultArchive', sets={StickerSetCovered}} - -``` - - diff --git a/old_docs/API_docs_v102/constructors/messages_stickerSetInstallResultSuccess.md b/old_docs/API_docs_v102/constructors/messages_stickerSetInstallResultSuccess.md deleted file mode 100644 index 1d33b89f..00000000 --- a/old_docs/API_docs_v102/constructors/messages_stickerSetInstallResultSuccess.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.stickerSetInstallResultSuccess -description: The stickerset was installed successfully -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickerSetInstallResultSuccess -[Back to constructors index](index.md) - - - -The stickerset was installed successfully - - - - -### Type: [messages\_StickerSetInstallResult](../types/messages_StickerSetInstallResult.md) - - -### Example: - -```php -$messages_stickerSetInstallResultSuccess = ['_' => 'messages.stickerSetInstallResultSuccess']; -``` - - -Or, if you're into Lua: - -```lua -messages_stickerSetInstallResultSuccess={_='messages.stickerSetInstallResultSuccess'} - -``` - - diff --git a/old_docs/API_docs_v102/constructors/messages_stickers.md b/old_docs/API_docs_v102/constructors/messages_stickers.md deleted file mode 100644 index c321996b..00000000 --- a/old_docs/API_docs_v102/constructors/messages_stickers.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.stickers -description: Found stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickers -[Back to constructors index](index.md) - - - -Found stickers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| - - - -### Type: [messages\_Stickers](../types/messages_Stickers.md) - - -### Example: - -```php -$messages_stickers = ['_' => 'messages.stickers', 'hash' => int, 'stickers' => [Document, Document]]; -``` - - -Or, if you're into Lua: - -```lua -messages_stickers={_='messages.stickers', hash=int, stickers={Document}} - -``` - - diff --git a/old_docs/API_docs_v102/constructors/messages_stickersNotModified.md b/old_docs/API_docs_v102/constructors/messages_stickersNotModified.md deleted file mode 100644 index 3d434a79..00000000 --- a/old_docs/API_docs_v102/constructors/messages_stickersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.stickersNotModified -description: No new stickers were found for the given query -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickersNotModified -[Back to constructors index](index.md) - - - -No new stickers were found for the given query - - - - -### Type: [messages\_Stickers](../types/messages_Stickers.md) - - -### Example: - -```php -$messages_stickersNotModified = ['_' => 'messages.stickersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_stickersNotModified={_='messages.stickersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v102/constructors/payments.paymentForm.md b/old_docs/API_docs_v102/constructors/payments.paymentForm.md new file mode 100644 index 00000000..90e0f39d --- /dev/null +++ b/old_docs/API_docs_v102/constructors/payments.paymentForm.md @@ -0,0 +1,48 @@ +--- +title: payments.paymentForm +description: Payment form +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: payments.paymentForm +[Back to constructors index](index.md) + + + +Payment form + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|can\_save\_credentials|[Bool](../types/Bool.md) | Optional|Whether the user can choose to save credentials.| +|password\_missing|[Bool](../types/Bool.md) | Optional|Indicates that the user can save payment credentials, but only after setting up a [2FA password](https://core.telegram.org/api/srp) (currently the account doesn't have a [2FA password](https://core.telegram.org/api/srp))| +|bot\_id|[int](../types/int.md) | Yes|Bot ID| +|invoice|[Invoice](../types/Invoice.md) | Yes|Invoice| +|provider\_id|[int](../types/int.md) | Yes|Payment provider ID.| +|url|[string](../types/string.md) | Yes|Payment form URL| +|native\_provider|[string](../types/string.md) | Optional|Payment provider name.
One of the following:
\- `stripe`| +|native\_params|[DataJSON](../types/DataJSON.md) | Optional|Contains information about the payment provider, if available, to support it natively without the need for opening the URL.
A JSON object that can contain the following fields:

\- `publishable_key`: Stripe API publishable key
\- `apple_pay_merchant_id`: Apple Pay merchant ID
\- `android_pay_public_key`: Android Pay public key
\- `android_pay_bgcolor`: Android Pay form background color
\- `android_pay_inverse`: Whether to use the dark theme in the Android Pay form
\- `need_country`: True, if the user country must be provided,
\- `need_zip`: True, if the user ZIP/postal code must be provided,
\- `need_cardholder_name`: True, if the cardholder name must be provided
| +|saved\_info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Optional|Saved server-side order information| +|saved\_credentials|[PaymentSavedCredentials](../types/PaymentSavedCredentials.md) | Optional|Contains information about saved card credentials| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [payments.PaymentForm](../types/payments.PaymentForm.md) + + +### Example: + +```php +$payments.paymentForm = ['_' => 'payments.paymentForm', 'can_save_credentials' => Bool, 'password_missing' => Bool, 'bot_id' => int, 'invoice' => Invoice, 'provider_id' => int, 'url' => 'string', 'native_provider' => 'string', 'native_params' => DataJSON, 'saved_info' => PaymentRequestedInfo, 'saved_credentials' => PaymentSavedCredentials, 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +payments.paymentForm={_='payments.paymentForm', can_save_credentials=Bool, password_missing=Bool, bot_id=int, invoice=Invoice, provider_id=int, url='string', native_provider='string', native_params=DataJSON, saved_info=PaymentRequestedInfo, saved_credentials=PaymentSavedCredentials, users={User}} + +``` + + diff --git a/old_docs/API_docs_v102/constructors/payments.paymentReceipt.md b/old_docs/API_docs_v102/constructors/payments.paymentReceipt.md new file mode 100644 index 00000000..5a0cc190 --- /dev/null +++ b/old_docs/API_docs_v102/constructors/payments.paymentReceipt.md @@ -0,0 +1,47 @@ +--- +title: payments.paymentReceipt +description: Receipt +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: payments.paymentReceipt +[Back to constructors index](index.md) + + + +Receipt + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Date of generation| +|bot\_id|[int](../types/int.md) | Yes|Bot ID| +|invoice|[Invoice](../types/Invoice.md) | Yes|Invoice| +|provider\_id|[int](../types/int.md) | Yes|Provider ID| +|info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Optional|Info| +|shipping|[ShippingOption](../types/ShippingOption.md) | Optional|Selected shipping option| +|currency|[string](../types/string.md) | Yes|Three-letter ISO 4217 [currency](https://core.telegram.org/bots/payments#supported-currencies) code| +|total\_amount|[long](../types/long.md) | Yes|Total amount in the smallest units of the currency (integer, not float/double). For example, for a price of `US$ 1.45` pass `amount = 145`. See the exp parameter in [currencies.json](https://core.telegram.org/bots/payments/currencies.json), it shows the number of digits past the decimal point for each currency (2 for the majority of currencies).| +|credentials\_title|[string](../types/string.md) | Yes|Payment credential name| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [payments.PaymentReceipt](../types/payments.PaymentReceipt.md) + + +### Example: + +```php +$payments.paymentReceipt = ['_' => 'payments.paymentReceipt', 'date' => int, 'bot_id' => int, 'invoice' => Invoice, 'provider_id' => int, 'info' => PaymentRequestedInfo, 'shipping' => ShippingOption, 'currency' => 'string', 'total_amount' => long, 'credentials_title' => 'string', 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +payments.paymentReceipt={_='payments.paymentReceipt', date=int, bot_id=int, invoice=Invoice, provider_id=int, info=PaymentRequestedInfo, shipping=ShippingOption, currency='string', total_amount=long, credentials_title='string', users={User}} + +``` + + diff --git a/old_docs/API_docs_v102/constructors/payments.paymentResult.md b/old_docs/API_docs_v102/constructors/payments.paymentResult.md new file mode 100644 index 00000000..df32fd91 --- /dev/null +++ b/old_docs/API_docs_v102/constructors/payments.paymentResult.md @@ -0,0 +1,38 @@ +--- +title: payments.paymentResult +description: Payment result +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: payments.paymentResult +[Back to constructors index](index.md) + + + +Payment result + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|updates|[Updates](../types/Updates.md) | Yes|Info about the payment| + + + +### Type: [payments.PaymentResult](../types/payments.PaymentResult.md) + + +### Example: + +```php +$payments.paymentResult = ['_' => 'payments.paymentResult', 'updates' => Updates]; +``` + + +Or, if you're into Lua: + +```lua +payments.paymentResult={_='payments.paymentResult', updates=Updates} + +``` + + diff --git a/old_docs/API_docs_v102/constructors/payments.paymentVerficationNeeded.md b/old_docs/API_docs_v102/constructors/payments.paymentVerficationNeeded.md new file mode 100644 index 00000000..3f459215 --- /dev/null +++ b/old_docs/API_docs_v102/constructors/payments.paymentVerficationNeeded.md @@ -0,0 +1,38 @@ +--- +title: payments.paymentVerficationNeeded +description: Payment verfication needed +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: payments.paymentVerficationNeeded +[Back to constructors index](index.md) + + + +Payment verfication needed + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|url|[string](../types/string.md) | Yes|URL| + + + +### Type: [payments.PaymentResult](../types/payments.PaymentResult.md) + + +### Example: + +```php +$payments.paymentVerficationNeeded = ['_' => 'payments.paymentVerficationNeeded', 'url' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +payments.paymentVerficationNeeded={_='payments.paymentVerficationNeeded', url='string'} + +``` + + diff --git a/old_docs/API_docs_v102/constructors/payments.savedInfo.md b/old_docs/API_docs_v102/constructors/payments.savedInfo.md new file mode 100644 index 00000000..a005a842 --- /dev/null +++ b/old_docs/API_docs_v102/constructors/payments.savedInfo.md @@ -0,0 +1,39 @@ +--- +title: payments.savedInfo +description: Saved server-side order information +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: payments.savedInfo +[Back to constructors index](index.md) + + + +Saved server-side order information + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|has\_saved\_credentials|[Bool](../types/Bool.md) | Optional|Whether the user has some saved payment credentials| +|saved\_info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Optional|Saved server-side order information| + + + +### Type: [payments.SavedInfo](../types/payments.SavedInfo.md) + + +### Example: + +```php +$payments.savedInfo = ['_' => 'payments.savedInfo', 'has_saved_credentials' => Bool, 'saved_info' => PaymentRequestedInfo]; +``` + + +Or, if you're into Lua: + +```lua +payments.savedInfo={_='payments.savedInfo', has_saved_credentials=Bool, saved_info=PaymentRequestedInfo} + +``` + + diff --git a/old_docs/API_docs_v102/constructors/payments.validatedRequestedInfo.md b/old_docs/API_docs_v102/constructors/payments.validatedRequestedInfo.md new file mode 100644 index 00000000..4789b28d --- /dev/null +++ b/old_docs/API_docs_v102/constructors/payments.validatedRequestedInfo.md @@ -0,0 +1,39 @@ +--- +title: payments.validatedRequestedInfo +description: Validated user-provided info +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: payments.validatedRequestedInfo +[Back to constructors index](index.md) + + + +Validated user-provided info + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|id|[string](../types/string.md) | Optional|ID| +|shipping\_options|Array of [ShippingOption](../types/ShippingOption.md) | Optional|Shipping options| + + + +### Type: [payments.ValidatedRequestedInfo](../types/payments.ValidatedRequestedInfo.md) + + +### Example: + +```php +$payments.validatedRequestedInfo = ['_' => 'payments.validatedRequestedInfo', 'id' => 'string', 'shipping_options' => [ShippingOption, ShippingOption]]; +``` + + +Or, if you're into Lua: + +```lua +payments.validatedRequestedInfo={_='payments.validatedRequestedInfo', id='string', shipping_options={ShippingOption}} + +``` + + diff --git a/old_docs/API_docs_v102/constructors/payments_paymentForm.md b/old_docs/API_docs_v102/constructors/payments_paymentForm.md deleted file mode 100644 index 88848527..00000000 --- a/old_docs/API_docs_v102/constructors/payments_paymentForm.md +++ /dev/null @@ -1,48 +0,0 @@ ---- -title: payments.paymentForm -description: Payment form -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: payments.paymentForm -[Back to constructors index](index.md) - - - -Payment form - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|can\_save\_credentials|[Bool](../types/Bool.md) | Optional|Whether the user can choose to save credentials.| -|password\_missing|[Bool](../types/Bool.md) | Optional|Indicates that the user can save payment credentials, but only after setting up a [2FA password](https://core.telegram.org/api/srp) (currently the account doesn't have a [2FA password](https://core.telegram.org/api/srp))| -|bot\_id|[int](../types/int.md) | Yes|Bot ID| -|invoice|[Invoice](../types/Invoice.md) | Yes|Invoice| -|provider\_id|[int](../types/int.md) | Yes|Payment provider ID.| -|url|[string](../types/string.md) | Yes|Payment form URL| -|native\_provider|[string](../types/string.md) | Optional|Payment provider name.
One of the following:
\- `stripe`| -|native\_params|[DataJSON](../types/DataJSON.md) | Optional|Contains information about the payment provider, if available, to support it natively without the need for opening the URL.
A JSON object that can contain the following fields:

\- `publishable_key`: Stripe API publishable key
\- `apple_pay_merchant_id`: Apple Pay merchant ID
\- `android_pay_public_key`: Android Pay public key
\- `android_pay_bgcolor`: Android Pay form background color
\- `android_pay_inverse`: Whether to use the dark theme in the Android Pay form
\- `need_country`: True, if the user country must be provided,
\- `need_zip`: True, if the user ZIP/postal code must be provided,
\- `need_cardholder_name`: True, if the cardholder name must be provided
| -|saved\_info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Optional|Saved server-side order information| -|saved\_credentials|[PaymentSavedCredentials](../types/PaymentSavedCredentials.md) | Optional|Contains information about saved card credentials| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [payments\_PaymentForm](../types/payments_PaymentForm.md) - - -### Example: - -```php -$payments_paymentForm = ['_' => 'payments.paymentForm', 'can_save_credentials' => Bool, 'password_missing' => Bool, 'bot_id' => int, 'invoice' => Invoice, 'provider_id' => int, 'url' => 'string', 'native_provider' => 'string', 'native_params' => DataJSON, 'saved_info' => PaymentRequestedInfo, 'saved_credentials' => PaymentSavedCredentials, 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -payments_paymentForm={_='payments.paymentForm', can_save_credentials=Bool, password_missing=Bool, bot_id=int, invoice=Invoice, provider_id=int, url='string', native_provider='string', native_params=DataJSON, saved_info=PaymentRequestedInfo, saved_credentials=PaymentSavedCredentials, users={User}} - -``` - - diff --git a/old_docs/API_docs_v102/constructors/payments_paymentReceipt.md b/old_docs/API_docs_v102/constructors/payments_paymentReceipt.md deleted file mode 100644 index 411e9dee..00000000 --- a/old_docs/API_docs_v102/constructors/payments_paymentReceipt.md +++ /dev/null @@ -1,47 +0,0 @@ ---- -title: payments.paymentReceipt -description: Receipt -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: payments.paymentReceipt -[Back to constructors index](index.md) - - - -Receipt - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Date of generation| -|bot\_id|[int](../types/int.md) | Yes|Bot ID| -|invoice|[Invoice](../types/Invoice.md) | Yes|Invoice| -|provider\_id|[int](../types/int.md) | Yes|Provider ID| -|info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Optional|Info| -|shipping|[ShippingOption](../types/ShippingOption.md) | Optional|Selected shipping option| -|currency|[string](../types/string.md) | Yes|Three-letter ISO 4217 [currency](https://core.telegram.org/bots/payments#supported-currencies) code| -|total\_amount|[long](../types/long.md) | Yes|Total amount in the smallest units of the currency (integer, not float/double). For example, for a price of `US$ 1.45` pass `amount = 145`. See the exp parameter in [currencies.json](https://core.telegram.org/bots/payments/currencies.json), it shows the number of digits past the decimal point for each currency (2 for the majority of currencies).| -|credentials\_title|[string](../types/string.md) | Yes|Payment credential name| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [payments\_PaymentReceipt](../types/payments_PaymentReceipt.md) - - -### Example: - -```php -$payments_paymentReceipt = ['_' => 'payments.paymentReceipt', 'date' => int, 'bot_id' => int, 'invoice' => Invoice, 'provider_id' => int, 'info' => PaymentRequestedInfo, 'shipping' => ShippingOption, 'currency' => 'string', 'total_amount' => long, 'credentials_title' => 'string', 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -payments_paymentReceipt={_='payments.paymentReceipt', date=int, bot_id=int, invoice=Invoice, provider_id=int, info=PaymentRequestedInfo, shipping=ShippingOption, currency='string', total_amount=long, credentials_title='string', users={User}} - -``` - - diff --git a/old_docs/API_docs_v102/constructors/payments_paymentResult.md b/old_docs/API_docs_v102/constructors/payments_paymentResult.md deleted file mode 100644 index 12af1d36..00000000 --- a/old_docs/API_docs_v102/constructors/payments_paymentResult.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: payments.paymentResult -description: Payment result -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: payments.paymentResult -[Back to constructors index](index.md) - - - -Payment result - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|updates|[Updates](../types/Updates.md) | Yes|Info about the payment| - - - -### Type: [payments\_PaymentResult](../types/payments_PaymentResult.md) - - -### Example: - -```php -$payments_paymentResult = ['_' => 'payments.paymentResult', 'updates' => Updates]; -``` - - -Or, if you're into Lua: - -```lua -payments_paymentResult={_='payments.paymentResult', updates=Updates} - -``` - - diff --git a/old_docs/API_docs_v102/constructors/payments_paymentVerficationNeeded.md b/old_docs/API_docs_v102/constructors/payments_paymentVerficationNeeded.md deleted file mode 100644 index 70ca205d..00000000 --- a/old_docs/API_docs_v102/constructors/payments_paymentVerficationNeeded.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: payments.paymentVerficationNeeded -description: Payment verfication needed -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: payments.paymentVerficationNeeded -[Back to constructors index](index.md) - - - -Payment verfication needed - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|url|[string](../types/string.md) | Yes|URL| - - - -### Type: [payments\_PaymentResult](../types/payments_PaymentResult.md) - - -### Example: - -```php -$payments_paymentVerficationNeeded = ['_' => 'payments.paymentVerficationNeeded', 'url' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -payments_paymentVerficationNeeded={_='payments.paymentVerficationNeeded', url='string'} - -``` - - diff --git a/old_docs/API_docs_v102/constructors/payments_savedInfo.md b/old_docs/API_docs_v102/constructors/payments_savedInfo.md deleted file mode 100644 index 19d3aee5..00000000 --- a/old_docs/API_docs_v102/constructors/payments_savedInfo.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: payments.savedInfo -description: Saved server-side order information -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: payments.savedInfo -[Back to constructors index](index.md) - - - -Saved server-side order information - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|has\_saved\_credentials|[Bool](../types/Bool.md) | Optional|Whether the user has some saved payment credentials| -|saved\_info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Optional|Saved server-side order information| - - - -### Type: [payments\_SavedInfo](../types/payments_SavedInfo.md) - - -### Example: - -```php -$payments_savedInfo = ['_' => 'payments.savedInfo', 'has_saved_credentials' => Bool, 'saved_info' => PaymentRequestedInfo]; -``` - - -Or, if you're into Lua: - -```lua -payments_savedInfo={_='payments.savedInfo', has_saved_credentials=Bool, saved_info=PaymentRequestedInfo} - -``` - - diff --git a/old_docs/API_docs_v102/constructors/payments_validatedRequestedInfo.md b/old_docs/API_docs_v102/constructors/payments_validatedRequestedInfo.md deleted file mode 100644 index a07c7d06..00000000 --- a/old_docs/API_docs_v102/constructors/payments_validatedRequestedInfo.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: payments.validatedRequestedInfo -description: Validated user-provided info -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: payments.validatedRequestedInfo -[Back to constructors index](index.md) - - - -Validated user-provided info - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|id|[string](../types/string.md) | Optional|ID| -|shipping\_options|Array of [ShippingOption](../types/ShippingOption.md) | Optional|Shipping options| - - - -### Type: [payments\_ValidatedRequestedInfo](../types/payments_ValidatedRequestedInfo.md) - - -### Example: - -```php -$payments_validatedRequestedInfo = ['_' => 'payments.validatedRequestedInfo', 'id' => 'string', 'shipping_options' => [ShippingOption, ShippingOption]]; -``` - - -Or, if you're into Lua: - -```lua -payments_validatedRequestedInfo={_='payments.validatedRequestedInfo', id='string', shipping_options={ShippingOption}} - -``` - - diff --git a/old_docs/API_docs_v102/constructors/phone.phoneCall.md b/old_docs/API_docs_v102/constructors/phone.phoneCall.md new file mode 100644 index 00000000..8c1d26d4 --- /dev/null +++ b/old_docs/API_docs_v102/constructors/phone.phoneCall.md @@ -0,0 +1,39 @@ +--- +title: phone.phoneCall +description: A VoIP phone call +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: phone.phoneCall +[Back to constructors index](index.md) + + + +A VoIP phone call + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_call|[PhoneCall](../types/PhoneCall.md) | Optional|The VoIP phone call| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [phone.PhoneCall](../types/phone.PhoneCall.md) + + +### Example: + +```php +$phone.phoneCall = ['_' => 'phone.phoneCall', 'phone_call' => PhoneCall, 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +phone.phoneCall={_='phone.phoneCall', phone_call=PhoneCall, users={User}} + +``` + + diff --git a/old_docs/API_docs_v102/constructors/phone_phoneCall.md b/old_docs/API_docs_v102/constructors/phone_phoneCall.md deleted file mode 100644 index 94314567..00000000 --- a/old_docs/API_docs_v102/constructors/phone_phoneCall.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: phone.phoneCall -description: A VoIP phone call -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: phone.phoneCall -[Back to constructors index](index.md) - - - -A VoIP phone call - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_call|[PhoneCall](../types/PhoneCall.md) | Optional|The VoIP phone call| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [phone\_PhoneCall](../types/phone_PhoneCall.md) - - -### Example: - -```php -$phone_phoneCall = ['_' => 'phone.phoneCall', 'phone_call' => PhoneCall, 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -phone_phoneCall={_='phone.phoneCall', phone_call=PhoneCall, users={User}} - -``` - - diff --git a/old_docs/API_docs_v102/constructors/photos.photo.md b/old_docs/API_docs_v102/constructors/photos.photo.md new file mode 100644 index 00000000..43d3efc7 --- /dev/null +++ b/old_docs/API_docs_v102/constructors/photos.photo.md @@ -0,0 +1,39 @@ +--- +title: photos.photo +description: Photo with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: photos.photo +[Back to constructors index](index.md) + + + +Photo with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|photo|[Photo](../types/Photo.md) | Optional|Photo| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [photos.Photo](../types/photos.Photo.md) + + +### Example: + +```php +$photos.photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +photos.photo={_='photos.photo', photo=Photo, users={User}} + +``` + + diff --git a/old_docs/API_docs_v102/constructors/photos.photos.md b/old_docs/API_docs_v102/constructors/photos.photos.md new file mode 100644 index 00000000..901a9693 --- /dev/null +++ b/old_docs/API_docs_v102/constructors/photos.photos.md @@ -0,0 +1,39 @@ +--- +title: photos.photos +description: Full list of photos with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: photos.photos +[Back to constructors index](index.md) + + + +Full list of photos with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [photos.Photos](../types/photos.Photos.md) + + +### Example: + +```php +$photos.photos = ['_' => 'photos.photos', 'photos' => [Photo, Photo], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +photos.photos={_='photos.photos', photos={Photo}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v102/constructors/photos.photosSlice.md b/old_docs/API_docs_v102/constructors/photos.photosSlice.md new file mode 100644 index 00000000..2cca3546 --- /dev/null +++ b/old_docs/API_docs_v102/constructors/photos.photosSlice.md @@ -0,0 +1,40 @@ +--- +title: photos.photosSlice +description: Incomplete list of photos with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: photos.photosSlice +[Back to constructors index](index.md) + + + +Incomplete list of photos with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of photos| +|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [photos.Photos](../types/photos.Photos.md) + + +### Example: + +```php +$photos.photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo, Photo], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +photos.photosSlice={_='photos.photosSlice', count=int, photos={Photo}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v102/constructors/photos_photo.md b/old_docs/API_docs_v102/constructors/photos_photo.md deleted file mode 100644 index d5ad61d9..00000000 --- a/old_docs/API_docs_v102/constructors/photos_photo.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: photos.photo -description: Photo with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: photos.photo -[Back to constructors index](index.md) - - - -Photo with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|photo|[Photo](../types/Photo.md) | Optional|Photo| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [photos\_Photo](../types/photos_Photo.md) - - -### Example: - -```php -$photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -photos_photo={_='photos.photo', photo=Photo, users={User}} - -``` - - diff --git a/old_docs/API_docs_v102/constructors/photos_photos.md b/old_docs/API_docs_v102/constructors/photos_photos.md deleted file mode 100644 index 6ae5d048..00000000 --- a/old_docs/API_docs_v102/constructors/photos_photos.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: photos.photos -description: Full list of photos with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: photos.photos -[Back to constructors index](index.md) - - - -Full list of photos with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [photos\_Photos](../types/photos_Photos.md) - - -### Example: - -```php -$photos_photos = ['_' => 'photos.photos', 'photos' => [Photo, Photo], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -photos_photos={_='photos.photos', photos={Photo}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v102/constructors/photos_photosSlice.md b/old_docs/API_docs_v102/constructors/photos_photosSlice.md deleted file mode 100644 index 5c465c21..00000000 --- a/old_docs/API_docs_v102/constructors/photos_photosSlice.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: photos.photosSlice -description: Incomplete list of photos with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: photos.photosSlice -[Back to constructors index](index.md) - - - -Incomplete list of photos with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of photos| -|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [photos\_Photos](../types/photos_Photos.md) - - -### Example: - -```php -$photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo, Photo], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -photos_photosSlice={_='photos.photosSlice', count=int, photos={Photo}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v102/constructors/storage.fileGif.md b/old_docs/API_docs_v102/constructors/storage.fileGif.md new file mode 100644 index 00000000..8193bd25 --- /dev/null +++ b/old_docs/API_docs_v102/constructors/storage.fileGif.md @@ -0,0 +1,33 @@ +--- +title: storage.fileGif +description: GIF image. MIME type: `image/gif`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileGif +[Back to constructors index](index.md) + + + +GIF image. MIME type: `image/gif`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileGif = ['_' => 'storage.fileGif']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileGif={_='storage.fileGif'} + +``` + + diff --git a/old_docs/API_docs_v102/constructors/storage.fileJpeg.md b/old_docs/API_docs_v102/constructors/storage.fileJpeg.md new file mode 100644 index 00000000..7f125963 --- /dev/null +++ b/old_docs/API_docs_v102/constructors/storage.fileJpeg.md @@ -0,0 +1,33 @@ +--- +title: storage.fileJpeg +description: JPEG image. MIME type: `image/jpeg`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileJpeg +[Back to constructors index](index.md) + + + +JPEG image. MIME type: `image/jpeg`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileJpeg = ['_' => 'storage.fileJpeg']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileJpeg={_='storage.fileJpeg'} + +``` + + diff --git a/old_docs/API_docs_v102/constructors/storage.fileMov.md b/old_docs/API_docs_v102/constructors/storage.fileMov.md new file mode 100644 index 00000000..cb3742e0 --- /dev/null +++ b/old_docs/API_docs_v102/constructors/storage.fileMov.md @@ -0,0 +1,33 @@ +--- +title: storage.fileMov +description: Quicktime video. MIME type: `video/quicktime`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileMov +[Back to constructors index](index.md) + + + +Quicktime video. MIME type: `video/quicktime`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileMov = ['_' => 'storage.fileMov']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileMov={_='storage.fileMov'} + +``` + + diff --git a/old_docs/API_docs_v102/constructors/storage.fileMp3.md b/old_docs/API_docs_v102/constructors/storage.fileMp3.md new file mode 100644 index 00000000..617f2d39 --- /dev/null +++ b/old_docs/API_docs_v102/constructors/storage.fileMp3.md @@ -0,0 +1,33 @@ +--- +title: storage.fileMp3 +description: Mp3 audio. MIME type: `audio/mpeg`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileMp3 +[Back to constructors index](index.md) + + + +Mp3 audio. MIME type: `audio/mpeg`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileMp3 = ['_' => 'storage.fileMp3']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileMp3={_='storage.fileMp3'} + +``` + + diff --git a/old_docs/API_docs_v102/constructors/storage.fileMp4.md b/old_docs/API_docs_v102/constructors/storage.fileMp4.md new file mode 100644 index 00000000..37038176 --- /dev/null +++ b/old_docs/API_docs_v102/constructors/storage.fileMp4.md @@ -0,0 +1,33 @@ +--- +title: storage.fileMp4 +description: MPEG-4 video. MIME type: `video/mp4`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileMp4 +[Back to constructors index](index.md) + + + +MPEG-4 video. MIME type: `video/mp4`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileMp4 = ['_' => 'storage.fileMp4']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileMp4={_='storage.fileMp4'} + +``` + + diff --git a/old_docs/API_docs_v102/constructors/storage.filePartial.md b/old_docs/API_docs_v102/constructors/storage.filePartial.md new file mode 100644 index 00000000..98779e71 --- /dev/null +++ b/old_docs/API_docs_v102/constructors/storage.filePartial.md @@ -0,0 +1,33 @@ +--- +title: storage.filePartial +description: Part of a bigger file. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.filePartial +[Back to constructors index](index.md) + + + +Part of a bigger file. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.filePartial = ['_' => 'storage.filePartial']; +``` + + +Or, if you're into Lua: + +```lua +storage.filePartial={_='storage.filePartial'} + +``` + + diff --git a/old_docs/API_docs_v102/constructors/storage.filePdf.md b/old_docs/API_docs_v102/constructors/storage.filePdf.md new file mode 100644 index 00000000..136c0614 --- /dev/null +++ b/old_docs/API_docs_v102/constructors/storage.filePdf.md @@ -0,0 +1,33 @@ +--- +title: storage.filePdf +description: PDF document image. MIME type: `application/pdf`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.filePdf +[Back to constructors index](index.md) + + + +PDF document image. MIME type: `application/pdf`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.filePdf = ['_' => 'storage.filePdf']; +``` + + +Or, if you're into Lua: + +```lua +storage.filePdf={_='storage.filePdf'} + +``` + + diff --git a/old_docs/API_docs_v102/constructors/storage.filePng.md b/old_docs/API_docs_v102/constructors/storage.filePng.md new file mode 100644 index 00000000..db01ce0e --- /dev/null +++ b/old_docs/API_docs_v102/constructors/storage.filePng.md @@ -0,0 +1,33 @@ +--- +title: storage.filePng +description: PNG image. MIME type: `image/png`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.filePng +[Back to constructors index](index.md) + + + +PNG image. MIME type: `image/png`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.filePng = ['_' => 'storage.filePng']; +``` + + +Or, if you're into Lua: + +```lua +storage.filePng={_='storage.filePng'} + +``` + + diff --git a/old_docs/API_docs_v102/constructors/storage.fileUnknown.md b/old_docs/API_docs_v102/constructors/storage.fileUnknown.md new file mode 100644 index 00000000..26f0a5ae --- /dev/null +++ b/old_docs/API_docs_v102/constructors/storage.fileUnknown.md @@ -0,0 +1,33 @@ +--- +title: storage.fileUnknown +description: Unknown type. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileUnknown +[Back to constructors index](index.md) + + + +Unknown type. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileUnknown = ['_' => 'storage.fileUnknown']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileUnknown={_='storage.fileUnknown'} + +``` + + diff --git a/old_docs/API_docs_v102/constructors/storage.fileWebp.md b/old_docs/API_docs_v102/constructors/storage.fileWebp.md new file mode 100644 index 00000000..63c9ded1 --- /dev/null +++ b/old_docs/API_docs_v102/constructors/storage.fileWebp.md @@ -0,0 +1,33 @@ +--- +title: storage.fileWebp +description: WEBP image. MIME type: `image/webp`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileWebp +[Back to constructors index](index.md) + + + +WEBP image. MIME type: `image/webp`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileWebp = ['_' => 'storage.fileWebp']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileWebp={_='storage.fileWebp'} + +``` + + diff --git a/old_docs/API_docs_v102/constructors/storage_fileGif.md b/old_docs/API_docs_v102/constructors/storage_fileGif.md deleted file mode 100644 index 218c7491..00000000 --- a/old_docs/API_docs_v102/constructors/storage_fileGif.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileGif -description: GIF image. MIME type: `image/gif`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileGif -[Back to constructors index](index.md) - - - -GIF image. MIME type: `image/gif`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileGif = ['_' => 'storage.fileGif']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileGif={_='storage.fileGif'} - -``` - - diff --git a/old_docs/API_docs_v102/constructors/storage_fileJpeg.md b/old_docs/API_docs_v102/constructors/storage_fileJpeg.md deleted file mode 100644 index 925531cd..00000000 --- a/old_docs/API_docs_v102/constructors/storage_fileJpeg.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileJpeg -description: JPEG image. MIME type: `image/jpeg`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileJpeg -[Back to constructors index](index.md) - - - -JPEG image. MIME type: `image/jpeg`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileJpeg = ['_' => 'storage.fileJpeg']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileJpeg={_='storage.fileJpeg'} - -``` - - diff --git a/old_docs/API_docs_v102/constructors/storage_fileMov.md b/old_docs/API_docs_v102/constructors/storage_fileMov.md deleted file mode 100644 index eaf2a6ff..00000000 --- a/old_docs/API_docs_v102/constructors/storage_fileMov.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileMov -description: Quicktime video. MIME type: `video/quicktime`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileMov -[Back to constructors index](index.md) - - - -Quicktime video. MIME type: `video/quicktime`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileMov = ['_' => 'storage.fileMov']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileMov={_='storage.fileMov'} - -``` - - diff --git a/old_docs/API_docs_v102/constructors/storage_fileMp3.md b/old_docs/API_docs_v102/constructors/storage_fileMp3.md deleted file mode 100644 index 9afcefbb..00000000 --- a/old_docs/API_docs_v102/constructors/storage_fileMp3.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileMp3 -description: Mp3 audio. MIME type: `audio/mpeg`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileMp3 -[Back to constructors index](index.md) - - - -Mp3 audio. MIME type: `audio/mpeg`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileMp3 = ['_' => 'storage.fileMp3']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileMp3={_='storage.fileMp3'} - -``` - - diff --git a/old_docs/API_docs_v102/constructors/storage_fileMp4.md b/old_docs/API_docs_v102/constructors/storage_fileMp4.md deleted file mode 100644 index cdc0e783..00000000 --- a/old_docs/API_docs_v102/constructors/storage_fileMp4.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileMp4 -description: MPEG-4 video. MIME type: `video/mp4`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileMp4 -[Back to constructors index](index.md) - - - -MPEG-4 video. MIME type: `video/mp4`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileMp4 = ['_' => 'storage.fileMp4']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileMp4={_='storage.fileMp4'} - -``` - - diff --git a/old_docs/API_docs_v102/constructors/storage_filePartial.md b/old_docs/API_docs_v102/constructors/storage_filePartial.md deleted file mode 100644 index 9bfadf63..00000000 --- a/old_docs/API_docs_v102/constructors/storage_filePartial.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.filePartial -description: Part of a bigger file. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.filePartial -[Back to constructors index](index.md) - - - -Part of a bigger file. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_filePartial = ['_' => 'storage.filePartial']; -``` - - -Or, if you're into Lua: - -```lua -storage_filePartial={_='storage.filePartial'} - -``` - - diff --git a/old_docs/API_docs_v102/constructors/storage_filePdf.md b/old_docs/API_docs_v102/constructors/storage_filePdf.md deleted file mode 100644 index efb022cc..00000000 --- a/old_docs/API_docs_v102/constructors/storage_filePdf.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.filePdf -description: PDF document image. MIME type: `application/pdf`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.filePdf -[Back to constructors index](index.md) - - - -PDF document image. MIME type: `application/pdf`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_filePdf = ['_' => 'storage.filePdf']; -``` - - -Or, if you're into Lua: - -```lua -storage_filePdf={_='storage.filePdf'} - -``` - - diff --git a/old_docs/API_docs_v102/constructors/storage_filePng.md b/old_docs/API_docs_v102/constructors/storage_filePng.md deleted file mode 100644 index 412759e4..00000000 --- a/old_docs/API_docs_v102/constructors/storage_filePng.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.filePng -description: PNG image. MIME type: `image/png`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.filePng -[Back to constructors index](index.md) - - - -PNG image. MIME type: `image/png`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_filePng = ['_' => 'storage.filePng']; -``` - - -Or, if you're into Lua: - -```lua -storage_filePng={_='storage.filePng'} - -``` - - diff --git a/old_docs/API_docs_v102/constructors/storage_fileUnknown.md b/old_docs/API_docs_v102/constructors/storage_fileUnknown.md deleted file mode 100644 index ed33dd5e..00000000 --- a/old_docs/API_docs_v102/constructors/storage_fileUnknown.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileUnknown -description: Unknown type. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileUnknown -[Back to constructors index](index.md) - - - -Unknown type. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileUnknown = ['_' => 'storage.fileUnknown']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileUnknown={_='storage.fileUnknown'} - -``` - - diff --git a/old_docs/API_docs_v102/constructors/storage_fileWebp.md b/old_docs/API_docs_v102/constructors/storage_fileWebp.md deleted file mode 100644 index 04dcad74..00000000 --- a/old_docs/API_docs_v102/constructors/storage_fileWebp.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileWebp -description: WEBP image. MIME type: `image/webp`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileWebp -[Back to constructors index](index.md) - - - -WEBP image. MIME type: `image/webp`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileWebp = ['_' => 'storage.fileWebp']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileWebp={_='storage.fileWebp'} - -``` - - diff --git a/old_docs/API_docs_v102/constructors/updateNewStickerSet.md b/old_docs/API_docs_v102/constructors/updateNewStickerSet.md index 8a99a363..c32c41ff 100644 --- a/old_docs/API_docs_v102/constructors/updateNewStickerSet.md +++ b/old_docs/API_docs_v102/constructors/updateNewStickerSet.md @@ -14,7 +14,7 @@ A new stickerset was installed | Name | Type | Required | Description | |----------|---------------|----------|-------------| -|stickerset|[messages\_StickerSet](../types/messages_StickerSet.md) | Yes|The installed stickerset| +|stickerset|[messages.StickerSet](../constructors/messages.StickerSet.md) | Yes|The installed stickerset| @@ -24,14 +24,14 @@ A new stickerset was installed ### Example: ```php -$updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages_StickerSet]; +$updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages.StickerSet]; ``` Or, if you're into Lua: ```lua -updateNewStickerSet={_='updateNewStickerSet', stickerset=messages_StickerSet} +updateNewStickerSet={_='updateNewStickerSet', stickerset=messages.StickerSet} ``` diff --git a/old_docs/API_docs_v102/constructors/updates.channelDifference.md b/old_docs/API_docs_v102/constructors/updates.channelDifference.md new file mode 100644 index 00000000..5a13791c --- /dev/null +++ b/old_docs/API_docs_v102/constructors/updates.channelDifference.md @@ -0,0 +1,44 @@ +--- +title: updates.channelDifference +description: The new updates +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.channelDifference +[Back to constructors index](index.md) + + + +The new updates + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates to be fetched using getDifference, starting from the provided `pts`| +|pts|[int](../types/int.md) | Yes|The [PTS](https://core.telegram.org/api/updates) from which to start getting updates the next time| +|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| +|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| +|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [updates.ChannelDifference](../types/updates.ChannelDifference.md) + + +### Example: + +```php +$updates.channelDifference = ['_' => 'updates.channelDifference', 'final' => Bool, 'pts' => int, 'timeout' => int, 'new_messages' => [Message, Message], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +updates.channelDifference={_='updates.channelDifference', final=Bool, pts=int, timeout=int, new_messages={Message}, other_updates={Update}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v102/constructors/updates.channelDifferenceEmpty.md b/old_docs/API_docs_v102/constructors/updates.channelDifferenceEmpty.md new file mode 100644 index 00000000..8ce43da4 --- /dev/null +++ b/old_docs/API_docs_v102/constructors/updates.channelDifferenceEmpty.md @@ -0,0 +1,40 @@ +--- +title: updates.channelDifferenceEmpty +description: There are no new updates +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.channelDifferenceEmpty +[Back to constructors index](index.md) + + + +There are no new updates + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates that must be fetched (always false)| +|pts|[int](../types/int.md) | Yes|The latest [PTS](https://core.telegram.org/api/updates)| +|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| + + + +### Type: [updates.ChannelDifference](../types/updates.ChannelDifference.md) + + +### Example: + +```php +$updates.channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'final' => Bool, 'pts' => int, 'timeout' => int]; +``` + + +Or, if you're into Lua: + +```lua +updates.channelDifferenceEmpty={_='updates.channelDifferenceEmpty', final=Bool, pts=int, timeout=int} + +``` + + diff --git a/old_docs/API_docs_v102/constructors/updates.channelDifferenceTooLong.md b/old_docs/API_docs_v102/constructors/updates.channelDifferenceTooLong.md new file mode 100644 index 00000000..10fb21ed --- /dev/null +++ b/old_docs/API_docs_v102/constructors/updates.channelDifferenceTooLong.md @@ -0,0 +1,53 @@ +--- +title: updates.channelDifferenceTooLong +description: The provided `pts + limit < remote pts`. Simply, there are too many updates to be fetched (more than `limit`), the client has to resolve the update gap in one of the following ways: + +1. Delete all known messages in the chat, begin from scratch by refetching all messages manually with [getHistory](../methods/messages.getHistory.md). It is easy to implement, but suddenly disappearing messages looks awful for the user. +2. Save all messages loaded in the memory until application restart, but delete all messages from database. Messages left in the memory must be lazily updated using calls to [getHistory](../methods/messages.getHistory.md). It looks much smoothly for the user, he will need to redownload messages only after client restart. Unsynchronized messages left in the memory shouldn't be saved to database, results of [getHistory](../methods/messages.getHistory.md) and [getMessages](../methods/messages.getMessages.md) must be used to update state of deleted and edited messages left in the memory. +3. Save all messages loaded in the memory and stored in the database without saving that some messages form continuous ranges. Messages in the database will be excluded from results of getChatHistory and searchChatMessages after application restart and will be available only through getMessage. Every message should still be checked using getHistory. It has more disadvantages over 2) than advantages. +4. Save all messages with saving all data about continuous message ranges. Messages from the database may be used as results of getChatHistory and (if implemented continuous ranges support for searching shared media) searchChatMessages. The messages should still be lazily checked using getHistory, but they are still available offline. It is the best way for gaps support, but it is pretty hard to implement correctly. It should be also noted that some messages like live location messages shouldn't be deleted. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.channelDifferenceTooLong +[Back to constructors index](index.md) + + + +The provided `pts + limit < remote pts`. Simply, there are too many updates to be fetched (more than `limit`), the client has to resolve the update gap in one of the following ways: + +1. Delete all known messages in the chat, begin from scratch by refetching all messages manually with [getHistory](../methods/messages.getHistory.md). It is easy to implement, but suddenly disappearing messages looks awful for the user. +2. Save all messages loaded in the memory until application restart, but delete all messages from database. Messages left in the memory must be lazily updated using calls to [getHistory](../methods/messages.getHistory.md). It looks much smoothly for the user, he will need to redownload messages only after client restart. Unsynchronized messages left in the memory shouldn't be saved to database, results of [getHistory](../methods/messages.getHistory.md) and [getMessages](../methods/messages.getMessages.md) must be used to update state of deleted and edited messages left in the memory. +3. Save all messages loaded in the memory and stored in the database without saving that some messages form continuous ranges. Messages in the database will be excluded from results of getChatHistory and searchChatMessages after application restart and will be available only through getMessage. Every message should still be checked using getHistory. It has more disadvantages over 2) than advantages. +4. Save all messages with saving all data about continuous message ranges. Messages from the database may be used as results of getChatHistory and (if implemented continuous ranges support for searching shared media) searchChatMessages. The messages should still be lazily checked using getHistory, but they are still available offline. It is the best way for gaps support, but it is pretty hard to implement correctly. It should be also noted that some messages like live location messages shouldn't be deleted. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates that must be fetched (always false)| +|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| +|dialog|[Dialog](../types/Dialog.md) | Yes|Dialog containing the latest [PTS](https://core.telegram.org/api/updates) that can be used to reset the channel state| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [updates.ChannelDifference](../types/updates.ChannelDifference.md) + + +### Example: + +```php +$updates.channelDifferenceTooLong = ['_' => 'updates.channelDifferenceTooLong', 'final' => Bool, 'timeout' => int, 'dialog' => Dialog, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +updates.channelDifferenceTooLong={_='updates.channelDifferenceTooLong', final=Bool, timeout=int, dialog=Dialog, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v102/constructors/updates.difference.md b/old_docs/API_docs_v102/constructors/updates.difference.md new file mode 100644 index 00000000..82541b51 --- /dev/null +++ b/old_docs/API_docs_v102/constructors/updates.difference.md @@ -0,0 +1,43 @@ +--- +title: updates.difference +description: Full list of occurred events. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.difference +[Back to constructors index](index.md) + + + +Full list of occurred events. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| +|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| +|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| +|state|[updates.State](../constructors/updates.State.md) | Yes|Current state| + + + +### Type: [updates.Difference](../types/updates.Difference.md) + + +### Example: + +```php +$updates.difference = ['_' => 'updates.difference', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates.State]; +``` + + +Or, if you're into Lua: + +```lua +updates.difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates.State} + +``` + + diff --git a/old_docs/API_docs_v102/constructors/updates.differenceEmpty.md b/old_docs/API_docs_v102/constructors/updates.differenceEmpty.md new file mode 100644 index 00000000..a9dc3bd0 --- /dev/null +++ b/old_docs/API_docs_v102/constructors/updates.differenceEmpty.md @@ -0,0 +1,39 @@ +--- +title: updates.differenceEmpty +description: No events. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.differenceEmpty +[Back to constructors index](index.md) + + + +No events. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Current date| +|seq|[int](../types/int.md) | Yes|Number of sent updates| + + + +### Type: [updates.Difference](../types/updates.Difference.md) + + +### Example: + +```php +$updates.differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int]; +``` + + +Or, if you're into Lua: + +```lua +updates.differenceEmpty={_='updates.differenceEmpty', date=int, seq=int} + +``` + + diff --git a/old_docs/API_docs_v102/constructors/updates.differenceSlice.md b/old_docs/API_docs_v102/constructors/updates.differenceSlice.md new file mode 100644 index 00000000..9daf7a75 --- /dev/null +++ b/old_docs/API_docs_v102/constructors/updates.differenceSlice.md @@ -0,0 +1,43 @@ +--- +title: updates.differenceSlice +description: Incomplete list of occurred events. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.differenceSlice +[Back to constructors index](index.md) + + + +Incomplete list of occurred events. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| +|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| +|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| +|intermediate\_state|[updates.State](../constructors/updates.State.md) | Yes|Intermediary state| + + + +### Type: [updates.Difference](../types/updates.Difference.md) + + +### Example: + +```php +$updates.differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'intermediate_state' => updates.State]; +``` + + +Or, if you're into Lua: + +```lua +updates.differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates.State} + +``` + + diff --git a/old_docs/API_docs_v102/constructors/updates.differenceTooLong.md b/old_docs/API_docs_v102/constructors/updates.differenceTooLong.md new file mode 100644 index 00000000..ef2e7e4d --- /dev/null +++ b/old_docs/API_docs_v102/constructors/updates.differenceTooLong.md @@ -0,0 +1,38 @@ +--- +title: updates.differenceTooLong +description: The difference is [too long](https://core.telegram.org/api/updates#recovering-gaps), and the specified state must be used to refetch updates. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.differenceTooLong +[Back to constructors index](index.md) + + + +The difference is [too long](https://core.telegram.org/api/updates#recovering-gaps), and the specified state must be used to refetch updates. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|The new state to use.| + + + +### Type: [updates.Difference](../types/updates.Difference.md) + + +### Example: + +```php +$updates.differenceTooLong = ['_' => 'updates.differenceTooLong', 'pts' => int]; +``` + + +Or, if you're into Lua: + +```lua +updates.differenceTooLong={_='updates.differenceTooLong', pts=int} + +``` + + diff --git a/old_docs/API_docs_v102/constructors/updates.state.md b/old_docs/API_docs_v102/constructors/updates.state.md new file mode 100644 index 00000000..abe9ddbb --- /dev/null +++ b/old_docs/API_docs_v102/constructors/updates.state.md @@ -0,0 +1,42 @@ +--- +title: updates.state +description: Updates state. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.state +[Back to constructors index](index.md) + + + +Updates state. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| +|qts|[int](../types/int.md) | Yes|Position in a sequence of updates in secret chats. For further detailes refer to article [secret chats](https://core.telegram.org/api/end-to-end)
Parameter was added in [eigth layer](https://core.telegram.org/api/layers#layer-8).| +|date|[int](../types/int.md) | Yes|Date of condition| +|seq|[int](../types/int.md) | Yes|Number of sent updates| +|unread\_count|[int](../types/int.md) | Yes|Number of unread messages| + + + +### Type: [updates.State](../types/updates.State.md) + + +### Example: + +```php +$updates.state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int]; +``` + + +Or, if you're into Lua: + +```lua +updates.state={_='updates.state', pts=int, qts=int, date=int, seq=int, unread_count=int} + +``` + + diff --git a/old_docs/API_docs_v102/constructors/updates_channelDifference.md b/old_docs/API_docs_v102/constructors/updates_channelDifference.md deleted file mode 100644 index 1b50fbf3..00000000 --- a/old_docs/API_docs_v102/constructors/updates_channelDifference.md +++ /dev/null @@ -1,44 +0,0 @@ ---- -title: updates.channelDifference -description: The new updates -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.channelDifference -[Back to constructors index](index.md) - - - -The new updates - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates to be fetched using getDifference, starting from the provided `pts`| -|pts|[int](../types/int.md) | Yes|The [PTS](https://core.telegram.org/api/updates) from which to start getting updates the next time| -|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| -|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| -|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) - - -### Example: - -```php -$updates_channelDifference = ['_' => 'updates.channelDifference', 'final' => Bool, 'pts' => int, 'timeout' => int, 'new_messages' => [Message, Message], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -updates_channelDifference={_='updates.channelDifference', final=Bool, pts=int, timeout=int, new_messages={Message}, other_updates={Update}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v102/constructors/updates_channelDifferenceEmpty.md b/old_docs/API_docs_v102/constructors/updates_channelDifferenceEmpty.md deleted file mode 100644 index 713137aa..00000000 --- a/old_docs/API_docs_v102/constructors/updates_channelDifferenceEmpty.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: updates.channelDifferenceEmpty -description: There are no new updates -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.channelDifferenceEmpty -[Back to constructors index](index.md) - - - -There are no new updates - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates that must be fetched (always false)| -|pts|[int](../types/int.md) | Yes|The latest [PTS](https://core.telegram.org/api/updates)| -|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| - - - -### Type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) - - -### Example: - -```php -$updates_channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'final' => Bool, 'pts' => int, 'timeout' => int]; -``` - - -Or, if you're into Lua: - -```lua -updates_channelDifferenceEmpty={_='updates.channelDifferenceEmpty', final=Bool, pts=int, timeout=int} - -``` - - diff --git a/old_docs/API_docs_v102/constructors/updates_channelDifferenceTooLong.md b/old_docs/API_docs_v102/constructors/updates_channelDifferenceTooLong.md deleted file mode 100644 index 5719c340..00000000 --- a/old_docs/API_docs_v102/constructors/updates_channelDifferenceTooLong.md +++ /dev/null @@ -1,53 +0,0 @@ ---- -title: updates.channelDifferenceTooLong -description: The provided `pts + limit < remote pts`. Simply, there are too many updates to be fetched (more than `limit`), the client has to resolve the update gap in one of the following ways: - -1. Delete all known messages in the chat, begin from scratch by refetching all messages manually with [getHistory](../methods/messages.getHistory.md). It is easy to implement, but suddenly disappearing messages looks awful for the user. -2. Save all messages loaded in the memory until application restart, but delete all messages from database. Messages left in the memory must be lazily updated using calls to [getHistory](../methods/messages.getHistory.md). It looks much smoothly for the user, he will need to redownload messages only after client restart. Unsynchronized messages left in the memory shouldn't be saved to database, results of [getHistory](../methods/messages.getHistory.md) and [getMessages](../methods/messages.getMessages.md) must be used to update state of deleted and edited messages left in the memory. -3. Save all messages loaded in the memory and stored in the database without saving that some messages form continuous ranges. Messages in the database will be excluded from results of getChatHistory and searchChatMessages after application restart and will be available only through getMessage. Every message should still be checked using getHistory. It has more disadvantages over 2) than advantages. -4. Save all messages with saving all data about continuous message ranges. Messages from the database may be used as results of getChatHistory and (if implemented continuous ranges support for searching shared media) searchChatMessages. The messages should still be lazily checked using getHistory, but they are still available offline. It is the best way for gaps support, but it is pretty hard to implement correctly. It should be also noted that some messages like live location messages shouldn't be deleted. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.channelDifferenceTooLong -[Back to constructors index](index.md) - - - -The provided `pts + limit < remote pts`. Simply, there are too many updates to be fetched (more than `limit`), the client has to resolve the update gap in one of the following ways: - -1. Delete all known messages in the chat, begin from scratch by refetching all messages manually with [getHistory](../methods/messages.getHistory.md). It is easy to implement, but suddenly disappearing messages looks awful for the user. -2. Save all messages loaded in the memory until application restart, but delete all messages from database. Messages left in the memory must be lazily updated using calls to [getHistory](../methods/messages.getHistory.md). It looks much smoothly for the user, he will need to redownload messages only after client restart. Unsynchronized messages left in the memory shouldn't be saved to database, results of [getHistory](../methods/messages.getHistory.md) and [getMessages](../methods/messages.getMessages.md) must be used to update state of deleted and edited messages left in the memory. -3. Save all messages loaded in the memory and stored in the database without saving that some messages form continuous ranges. Messages in the database will be excluded from results of getChatHistory and searchChatMessages after application restart and will be available only through getMessage. Every message should still be checked using getHistory. It has more disadvantages over 2) than advantages. -4. Save all messages with saving all data about continuous message ranges. Messages from the database may be used as results of getChatHistory and (if implemented continuous ranges support for searching shared media) searchChatMessages. The messages should still be lazily checked using getHistory, but they are still available offline. It is the best way for gaps support, but it is pretty hard to implement correctly. It should be also noted that some messages like live location messages shouldn't be deleted. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates that must be fetched (always false)| -|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| -|dialog|[Dialog](../types/Dialog.md) | Yes|Dialog containing the latest [PTS](https://core.telegram.org/api/updates) that can be used to reset the channel state| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) - - -### Example: - -```php -$updates_channelDifferenceTooLong = ['_' => 'updates.channelDifferenceTooLong', 'final' => Bool, 'timeout' => int, 'dialog' => Dialog, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -updates_channelDifferenceTooLong={_='updates.channelDifferenceTooLong', final=Bool, timeout=int, dialog=Dialog, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v102/constructors/updates_difference.md b/old_docs/API_docs_v102/constructors/updates_difference.md deleted file mode 100644 index 71ac7d4c..00000000 --- a/old_docs/API_docs_v102/constructors/updates_difference.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: updates.difference -description: Full list of occurred events. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.difference -[Back to constructors index](index.md) - - - -Full list of occurred events. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| -|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| -|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| -|state|[updates\_State](../types/updates_State.md) | Yes|Current state| - - - -### Type: [updates\_Difference](../types/updates_Difference.md) - - -### Example: - -```php -$updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates_State]; -``` - - -Or, if you're into Lua: - -```lua -updates_difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates_State} - -``` - - diff --git a/old_docs/API_docs_v102/constructors/updates_differenceEmpty.md b/old_docs/API_docs_v102/constructors/updates_differenceEmpty.md deleted file mode 100644 index c3c95c5a..00000000 --- a/old_docs/API_docs_v102/constructors/updates_differenceEmpty.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: updates.differenceEmpty -description: No events. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.differenceEmpty -[Back to constructors index](index.md) - - - -No events. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Current date| -|seq|[int](../types/int.md) | Yes|Number of sent updates| - - - -### Type: [updates\_Difference](../types/updates_Difference.md) - - -### Example: - -```php -$updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int]; -``` - - -Or, if you're into Lua: - -```lua -updates_differenceEmpty={_='updates.differenceEmpty', date=int, seq=int} - -``` - - diff --git a/old_docs/API_docs_v102/constructors/updates_differenceSlice.md b/old_docs/API_docs_v102/constructors/updates_differenceSlice.md deleted file mode 100644 index 8b12a369..00000000 --- a/old_docs/API_docs_v102/constructors/updates_differenceSlice.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: updates.differenceSlice -description: Incomplete list of occurred events. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.differenceSlice -[Back to constructors index](index.md) - - - -Incomplete list of occurred events. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| -|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| -|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| -|intermediate\_state|[updates\_State](../types/updates_State.md) | Yes|Intermediary state| - - - -### Type: [updates\_Difference](../types/updates_Difference.md) - - -### Example: - -```php -$updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'intermediate_state' => updates_State]; -``` - - -Or, if you're into Lua: - -```lua -updates_differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates_State} - -``` - - diff --git a/old_docs/API_docs_v102/constructors/updates_differenceTooLong.md b/old_docs/API_docs_v102/constructors/updates_differenceTooLong.md deleted file mode 100644 index 1fbdfa01..00000000 --- a/old_docs/API_docs_v102/constructors/updates_differenceTooLong.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: updates.differenceTooLong -description: The difference is [too long](https://core.telegram.org/api/updates#recovering-gaps), and the specified state must be used to refetch updates. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.differenceTooLong -[Back to constructors index](index.md) - - - -The difference is [too long](https://core.telegram.org/api/updates#recovering-gaps), and the specified state must be used to refetch updates. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|The new state to use.| - - - -### Type: [updates\_Difference](../types/updates_Difference.md) - - -### Example: - -```php -$updates_differenceTooLong = ['_' => 'updates.differenceTooLong', 'pts' => int]; -``` - - -Or, if you're into Lua: - -```lua -updates_differenceTooLong={_='updates.differenceTooLong', pts=int} - -``` - - diff --git a/old_docs/API_docs_v102/constructors/updates_state.md b/old_docs/API_docs_v102/constructors/updates_state.md deleted file mode 100644 index ef3698e2..00000000 --- a/old_docs/API_docs_v102/constructors/updates_state.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: updates.state -description: Updates state. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.state -[Back to constructors index](index.md) - - - -Updates state. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| -|qts|[int](../types/int.md) | Yes|Position in a sequence of updates in secret chats. For further detailes refer to article [secret chats](https://core.telegram.org/api/end-to-end)
Parameter was added in [eigth layer](https://core.telegram.org/api/layers#layer-8).| -|date|[int](../types/int.md) | Yes|Date of condition| -|seq|[int](../types/int.md) | Yes|Number of sent updates| -|unread\_count|[int](../types/int.md) | Yes|Number of unread messages| - - - -### Type: [updates\_State](../types/updates_State.md) - - -### Example: - -```php -$updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int]; -``` - - -Or, if you're into Lua: - -```lua -updates_state={_='updates.state', pts=int, qts=int, date=int, seq=int, unread_count=int} - -``` - - diff --git a/old_docs/API_docs_v102/constructors/upload.cdnFile.md b/old_docs/API_docs_v102/constructors/upload.cdnFile.md new file mode 100644 index 00000000..d6d75513 --- /dev/null +++ b/old_docs/API_docs_v102/constructors/upload.cdnFile.md @@ -0,0 +1,38 @@ +--- +title: upload.cdnFile +description: Represent a chunk of a [CDN](https://core.telegram.org/cdn) file. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: upload.cdnFile +[Back to constructors index](index.md) + + + +Represent a chunk of a [CDN](https://core.telegram.org/cdn) file. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|bytes|[bytes](../types/bytes.md) | Yes|The data| + + + +### Type: [upload.CdnFile](../types/upload.CdnFile.md) + + +### Example: + +```php +$upload.cdnFile = ['_' => 'upload.cdnFile', 'bytes' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +upload.cdnFile={_='upload.cdnFile', bytes='bytes'} + +``` + + diff --git a/old_docs/API_docs_v102/constructors/upload.cdnFileReuploadNeeded.md b/old_docs/API_docs_v102/constructors/upload.cdnFileReuploadNeeded.md new file mode 100644 index 00000000..7c461a87 --- /dev/null +++ b/old_docs/API_docs_v102/constructors/upload.cdnFileReuploadNeeded.md @@ -0,0 +1,38 @@ +--- +title: upload.cdnFileReuploadNeeded +description: The file was cleared from the temporary RAM cache of the [CDN](https://core.telegram.org/cdn) and has to be reuploaded. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: upload.cdnFileReuploadNeeded +[Back to constructors index](index.md) + + + +The file was cleared from the temporary RAM cache of the [CDN](https://core.telegram.org/cdn) and has to be reuploaded. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|request\_token|[bytes](../types/bytes.md) | Yes|Request token (see [CDN](https://core.telegram.org/cdn))| + + + +### Type: [upload.CdnFile](../types/upload.CdnFile.md) + + +### Example: + +```php +$upload.cdnFileReuploadNeeded = ['_' => 'upload.cdnFileReuploadNeeded', 'request_token' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +upload.cdnFileReuploadNeeded={_='upload.cdnFileReuploadNeeded', request_token='bytes'} + +``` + + diff --git a/old_docs/API_docs_v102/constructors/upload.file.md b/old_docs/API_docs_v102/constructors/upload.file.md new file mode 100644 index 00000000..145a4c24 --- /dev/null +++ b/old_docs/API_docs_v102/constructors/upload.file.md @@ -0,0 +1,40 @@ +--- +title: upload.file +description: File content. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: upload.file +[Back to constructors index](index.md) + + + +File content. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|type|[storage.FileType](../constructors/storage.FileType.md) | Yes|File type| +|mtime|[int](../types/int.md) | Yes|Modification type| +|bytes|[bytes](../types/bytes.md) | Yes|Binary data, file content| + + + +### Type: [upload.File](../types/upload.File.md) + + +### Example: + +```php +$upload.file = ['_' => 'upload.file', 'type' => storage.FileType, 'mtime' => int, 'bytes' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +upload.file={_='upload.file', type=storage.FileType, mtime=int, bytes='bytes'} + +``` + + diff --git a/old_docs/API_docs_v102/constructors/upload.fileCdnRedirect.md b/old_docs/API_docs_v102/constructors/upload.fileCdnRedirect.md new file mode 100644 index 00000000..dc56e919 --- /dev/null +++ b/old_docs/API_docs_v102/constructors/upload.fileCdnRedirect.md @@ -0,0 +1,42 @@ +--- +title: upload.fileCdnRedirect +description: The file must be downloaded from a [CDN DC](https://core.telegram.org/cdn). +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: upload.fileCdnRedirect +[Back to constructors index](index.md) + + + +The file must be downloaded from a [CDN DC](https://core.telegram.org/cdn). + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|dc\_id|[int](../types/int.md) | Yes|[CDN DC](https://core.telegram.org/cdn) ID| +|file\_token|[bytes](../types/bytes.md) | Yes|File token (see [CDN files](https://core.telegram.org/cdn)| +|encryption\_key|[bytes](../types/bytes.md) | Yes|Encryption key (see [CDN files](https://core.telegram.org/cdn)| +|encryption\_iv|[bytes](../types/bytes.md) | Yes|Encryption IV (see [CDN files](https://core.telegram.org/cdn)| +|file\_hashes|Array of [FileHash](../types/FileHash.md) | Yes|File hashes| + + + +### Type: [upload.File](../types/upload.File.md) + + +### Example: + +```php +$upload.fileCdnRedirect = ['_' => 'upload.fileCdnRedirect', 'dc_id' => int, 'file_token' => 'bytes', 'encryption_key' => 'bytes', 'encryption_iv' => 'bytes', 'file_hashes' => [FileHash, FileHash]]; +``` + + +Or, if you're into Lua: + +```lua +upload.fileCdnRedirect={_='upload.fileCdnRedirect', dc_id=int, file_token='bytes', encryption_key='bytes', encryption_iv='bytes', file_hashes={FileHash}} + +``` + + diff --git a/old_docs/API_docs_v102/constructors/upload.webFile.md b/old_docs/API_docs_v102/constructors/upload.webFile.md new file mode 100644 index 00000000..a93ea94f --- /dev/null +++ b/old_docs/API_docs_v102/constructors/upload.webFile.md @@ -0,0 +1,42 @@ +--- +title: upload.webFile +description: Represents a chunk of an [HTTP webfile](https://core.telegram.org/api/files) downloaded through telegram's secure MTProto servers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: upload.webFile +[Back to constructors index](index.md) + + + +Represents a chunk of an [HTTP webfile](https://core.telegram.org/api/files) downloaded through telegram's secure MTProto servers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|size|[int](../types/int.md) | Yes|File size| +|mime\_type|[string](../types/string.md) | Yes|Mime type| +|file\_type|[storage.FileType](../constructors/storage.FileType.md) | Yes|File type| +|mtime|[int](../types/int.md) | Yes|Modified time| +|bytes|[bytes](../types/bytes.md) | Yes|Data| + + + +### Type: [upload.WebFile](../types/upload.WebFile.md) + + +### Example: + +```php +$upload.webFile = ['_' => 'upload.webFile', 'size' => int, 'mime_type' => 'string', 'file_type' => storage.FileType, 'mtime' => int, 'bytes' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +upload.webFile={_='upload.webFile', size=int, mime_type='string', file_type=storage.FileType, mtime=int, bytes='bytes'} + +``` + + diff --git a/old_docs/API_docs_v102/constructors/upload_cdnFile.md b/old_docs/API_docs_v102/constructors/upload_cdnFile.md deleted file mode 100644 index 019b8742..00000000 --- a/old_docs/API_docs_v102/constructors/upload_cdnFile.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: upload.cdnFile -description: Represent a chunk of a [CDN](https://core.telegram.org/cdn) file. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: upload.cdnFile -[Back to constructors index](index.md) - - - -Represent a chunk of a [CDN](https://core.telegram.org/cdn) file. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|bytes|[bytes](../types/bytes.md) | Yes|The data| - - - -### Type: [upload\_CdnFile](../types/upload_CdnFile.md) - - -### Example: - -```php -$upload_cdnFile = ['_' => 'upload.cdnFile', 'bytes' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -upload_cdnFile={_='upload.cdnFile', bytes='bytes'} - -``` - - diff --git a/old_docs/API_docs_v102/constructors/upload_cdnFileReuploadNeeded.md b/old_docs/API_docs_v102/constructors/upload_cdnFileReuploadNeeded.md deleted file mode 100644 index 6588a596..00000000 --- a/old_docs/API_docs_v102/constructors/upload_cdnFileReuploadNeeded.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: upload.cdnFileReuploadNeeded -description: The file was cleared from the temporary RAM cache of the [CDN](https://core.telegram.org/cdn) and has to be reuploaded. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: upload.cdnFileReuploadNeeded -[Back to constructors index](index.md) - - - -The file was cleared from the temporary RAM cache of the [CDN](https://core.telegram.org/cdn) and has to be reuploaded. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|request\_token|[bytes](../types/bytes.md) | Yes|Request token (see [CDN](https://core.telegram.org/cdn))| - - - -### Type: [upload\_CdnFile](../types/upload_CdnFile.md) - - -### Example: - -```php -$upload_cdnFileReuploadNeeded = ['_' => 'upload.cdnFileReuploadNeeded', 'request_token' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -upload_cdnFileReuploadNeeded={_='upload.cdnFileReuploadNeeded', request_token='bytes'} - -``` - - diff --git a/old_docs/API_docs_v102/constructors/upload_file.md b/old_docs/API_docs_v102/constructors/upload_file.md deleted file mode 100644 index 1e07d9fb..00000000 --- a/old_docs/API_docs_v102/constructors/upload_file.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: upload.file -description: File content. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: upload.file -[Back to constructors index](index.md) - - - -File content. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|type|[storage\_FileType](../types/storage_FileType.md) | Yes|File type| -|mtime|[int](../types/int.md) | Yes|Modification type| -|bytes|[bytes](../types/bytes.md) | Yes|Binary data, file content| - - - -### Type: [upload\_File](../types/upload_File.md) - - -### Example: - -```php -$upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int, 'bytes' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -upload_file={_='upload.file', type=storage_FileType, mtime=int, bytes='bytes'} - -``` - - diff --git a/old_docs/API_docs_v102/constructors/upload_fileCdnRedirect.md b/old_docs/API_docs_v102/constructors/upload_fileCdnRedirect.md deleted file mode 100644 index de504dc3..00000000 --- a/old_docs/API_docs_v102/constructors/upload_fileCdnRedirect.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: upload.fileCdnRedirect -description: The file must be downloaded from a [CDN DC](https://core.telegram.org/cdn). -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: upload.fileCdnRedirect -[Back to constructors index](index.md) - - - -The file must be downloaded from a [CDN DC](https://core.telegram.org/cdn). - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|dc\_id|[int](../types/int.md) | Yes|[CDN DC](https://core.telegram.org/cdn) ID| -|file\_token|[bytes](../types/bytes.md) | Yes|File token (see [CDN files](https://core.telegram.org/cdn)| -|encryption\_key|[bytes](../types/bytes.md) | Yes|Encryption key (see [CDN files](https://core.telegram.org/cdn)| -|encryption\_iv|[bytes](../types/bytes.md) | Yes|Encryption IV (see [CDN files](https://core.telegram.org/cdn)| -|file\_hashes|Array of [FileHash](../types/FileHash.md) | Yes|File hashes| - - - -### Type: [upload\_File](../types/upload_File.md) - - -### Example: - -```php -$upload_fileCdnRedirect = ['_' => 'upload.fileCdnRedirect', 'dc_id' => int, 'file_token' => 'bytes', 'encryption_key' => 'bytes', 'encryption_iv' => 'bytes', 'file_hashes' => [FileHash, FileHash]]; -``` - - -Or, if you're into Lua: - -```lua -upload_fileCdnRedirect={_='upload.fileCdnRedirect', dc_id=int, file_token='bytes', encryption_key='bytes', encryption_iv='bytes', file_hashes={FileHash}} - -``` - - diff --git a/old_docs/API_docs_v102/constructors/upload_webFile.md b/old_docs/API_docs_v102/constructors/upload_webFile.md deleted file mode 100644 index ee8053b1..00000000 --- a/old_docs/API_docs_v102/constructors/upload_webFile.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: upload.webFile -description: Represents a chunk of an [HTTP webfile](https://core.telegram.org/api/files) downloaded through telegram's secure MTProto servers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: upload.webFile -[Back to constructors index](index.md) - - - -Represents a chunk of an [HTTP webfile](https://core.telegram.org/api/files) downloaded through telegram's secure MTProto servers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|size|[int](../types/int.md) | Yes|File size| -|mime\_type|[string](../types/string.md) | Yes|Mime type| -|file\_type|[storage\_FileType](../types/storage_FileType.md) | Yes|File type| -|mtime|[int](../types/int.md) | Yes|Modified time| -|bytes|[bytes](../types/bytes.md) | Yes|Data| - - - -### Type: [upload\_WebFile](../types/upload_WebFile.md) - - -### Example: - -```php -$upload_webFile = ['_' => 'upload.webFile', 'size' => int, 'mime_type' => 'string', 'file_type' => storage_FileType, 'mtime' => int, 'bytes' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -upload_webFile={_='upload.webFile', size=int, mime_type='string', file_type=storage_FileType, mtime=int, bytes='bytes'} - -``` - - diff --git a/old_docs/API_docs_v102/methods/account.getAuthorizationForm.md b/old_docs/API_docs_v102/methods/account.getAuthorizationForm.md index 298951cb..b0d52e07 100644 --- a/old_docs/API_docs_v102/methods/account.getAuthorizationForm.md +++ b/old_docs/API_docs_v102/methods/account.getAuthorizationForm.md @@ -18,7 +18,7 @@ Returns a Telegram Passport authorization form for sharing data with a service |public\_key|[string](../types/string.md) | Service's public key | Yes| -### Return type: [account\_AuthorizationForm](../types/account_AuthorizationForm.md) +### Return type: [account.AuthorizationForm](../types/account.AuthorizationForm.md) ### Can bots use this method: **NO** @@ -35,12 +35,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_AuthorizationForm = $MadelineProto->account->getAuthorizationForm(['bot_id' => int, 'scope' => 'string', 'public_key' => 'string', ]); +$account.AuthorizationForm = $MadelineProto->account->getAuthorizationForm(['bot_id' => int, 'scope' => 'string', 'public_key' => 'string', ]); ``` Or, if you're into Lua: ```lua -account_AuthorizationForm = account.getAuthorizationForm({bot_id=int, scope='string', public_key='string', }) +account.AuthorizationForm = account.getAuthorizationForm({bot_id=int, scope='string', public_key='string', }) ``` diff --git a/old_docs/API_docs_v102/methods/account.getAuthorizations.md b/old_docs/API_docs_v102/methods/account.getAuthorizations.md index f69c130a..fad3a7ae 100644 --- a/old_docs/API_docs_v102/methods/account.getAuthorizations.md +++ b/old_docs/API_docs_v102/methods/account.getAuthorizations.md @@ -11,7 +11,7 @@ Get logged-in sessions -### Return type: [account\_Authorizations](../types/account_Authorizations.md) +### Return type: [account.Authorizations](../types/account.Authorizations.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_Authorizations = $MadelineProto->account->getAuthorizations(); +$account.Authorizations = $MadelineProto->account->getAuthorizations(); ``` Or, if you're into Lua: ```lua -account_Authorizations = account.getAuthorizations({}) +account.Authorizations = account.getAuthorizations({}) ``` diff --git a/old_docs/API_docs_v102/methods/account.getAutoDownloadSettings.md b/old_docs/API_docs_v102/methods/account.getAutoDownloadSettings.md index 5ad7db87..4f036f08 100644 --- a/old_docs/API_docs_v102/methods/account.getAutoDownloadSettings.md +++ b/old_docs/API_docs_v102/methods/account.getAutoDownloadSettings.md @@ -11,7 +11,7 @@ Get media autodownload settings -### Return type: [account\_AutoDownloadSettings](../types/account_AutoDownloadSettings.md) +### Return type: [account.AutoDownloadSettings](../types/account.AutoDownloadSettings.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_AutoDownloadSettings = $MadelineProto->account->getAutoDownloadSettings(); +$account.AutoDownloadSettings = $MadelineProto->account->getAutoDownloadSettings(); ``` Or, if you're into Lua: ```lua -account_AutoDownloadSettings = account.getAutoDownloadSettings({}) +account.AutoDownloadSettings = account.getAutoDownloadSettings({}) ``` diff --git a/old_docs/API_docs_v102/methods/account.getPassword.md b/old_docs/API_docs_v102/methods/account.getPassword.md index eed4aee3..621271b6 100644 --- a/old_docs/API_docs_v102/methods/account.getPassword.md +++ b/old_docs/API_docs_v102/methods/account.getPassword.md @@ -11,7 +11,7 @@ Obtain configuration for two-factor authorization with password -### Return type: [account\_Password](../types/account_Password.md) +### Return type: [account.Password](../types/account.Password.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_Password = $MadelineProto->account->getPassword(); +$account.Password = $MadelineProto->account->getPassword(); ``` Or, if you're into Lua: ```lua -account_Password = account.getPassword({}) +account.Password = account.getPassword({}) ``` diff --git a/old_docs/API_docs_v102/methods/account.getPasswordSettings.md b/old_docs/API_docs_v102/methods/account.getPasswordSettings.md index a7a47b1a..2b8607b9 100644 --- a/old_docs/API_docs_v102/methods/account.getPasswordSettings.md +++ b/old_docs/API_docs_v102/methods/account.getPasswordSettings.md @@ -16,7 +16,7 @@ You cannot use this method directly; use $MadelineProto->update_2fa($params), in |password|[InputCheckPasswordSRP](../types/InputCheckPasswordSRP.md) | You cannot use this method directly; use $MadelineProto->update_2fa($params), instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [account\_PasswordSettings](../types/account_PasswordSettings.md) +### Return type: [account.PasswordSettings](../types/account.PasswordSettings.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_PasswordSettings = $MadelineProto->account->getPasswordSettings(['password' => InputCheckPasswordSRP, ]); +$account.PasswordSettings = $MadelineProto->account->getPasswordSettings(['password' => InputCheckPasswordSRP, ]); ``` Or, if you're into Lua: ```lua -account_PasswordSettings = account.getPasswordSettings({password=InputCheckPasswordSRP, }) +account.PasswordSettings = account.getPasswordSettings({password=InputCheckPasswordSRP, }) ``` ### Errors diff --git a/old_docs/API_docs_v102/methods/account.getPrivacy.md b/old_docs/API_docs_v102/methods/account.getPrivacy.md index 6a240129..e20c292c 100644 --- a/old_docs/API_docs_v102/methods/account.getPrivacy.md +++ b/old_docs/API_docs_v102/methods/account.getPrivacy.md @@ -16,7 +16,7 @@ Get privacy settings of current account |key|[InputPrivacyKey](../types/InputPrivacyKey.md) | Peer category whose privacy settings should be fetched | Yes| -### Return type: [account\_PrivacyRules](../types/account_PrivacyRules.md) +### Return type: [account.PrivacyRules](../types/account.PrivacyRules.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_PrivacyRules = $MadelineProto->account->getPrivacy(['key' => InputPrivacyKey, ]); +$account.PrivacyRules = $MadelineProto->account->getPrivacy(['key' => InputPrivacyKey, ]); ``` Or, if you're into Lua: ```lua -account_PrivacyRules = account.getPrivacy({key=InputPrivacyKey, }) +account.PrivacyRules = account.getPrivacy({key=InputPrivacyKey, }) ``` ### Errors diff --git a/old_docs/API_docs_v102/methods/account.getTmpPassword.md b/old_docs/API_docs_v102/methods/account.getTmpPassword.md index 76729595..2328df1e 100644 --- a/old_docs/API_docs_v102/methods/account.getTmpPassword.md +++ b/old_docs/API_docs_v102/methods/account.getTmpPassword.md @@ -17,7 +17,7 @@ Get temporary payment password |period|[int](../types/int.md) | Time during which the temporary password will be valid, in seconds; should be between 60 and 86400 | Yes| -### Return type: [account\_TmpPassword](../types/account_TmpPassword.md) +### Return type: [account.TmpPassword](../types/account.TmpPassword.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_TmpPassword = $MadelineProto->account->getTmpPassword(['password' => InputCheckPasswordSRP, 'period' => int, ]); +$account.TmpPassword = $MadelineProto->account->getTmpPassword(['password' => InputCheckPasswordSRP, 'period' => int, ]); ``` Or, if you're into Lua: ```lua -account_TmpPassword = account.getTmpPassword({password=InputCheckPasswordSRP, period=int, }) +account.TmpPassword = account.getTmpPassword({password=InputCheckPasswordSRP, period=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v102/methods/account.getWallPapers.md b/old_docs/API_docs_v102/methods/account.getWallPapers.md index 75c97ae2..aeb95929 100644 --- a/old_docs/API_docs_v102/methods/account.getWallPapers.md +++ b/old_docs/API_docs_v102/methods/account.getWallPapers.md @@ -16,7 +16,7 @@ Returns a list of available wallpapers. |hash|Array of [int](../types/int.md) | IDs of previously fetched wallpapers | Optional| -### Return type: [account\_WallPapers](../types/account_WallPapers.md) +### Return type: [account.WallPapers](../types/account.WallPapers.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_WallPapers = $MadelineProto->account->getWallPapers(['hash' => [int, int], ]); +$account.WallPapers = $MadelineProto->account->getWallPapers(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -account_WallPapers = account.getWallPapers({hash={int}, }) +account.WallPapers = account.getWallPapers({hash={int}, }) ``` diff --git a/old_docs/API_docs_v102/methods/account.getWebAuthorizations.md b/old_docs/API_docs_v102/methods/account.getWebAuthorizations.md index 1a43f138..b97fe978 100644 --- a/old_docs/API_docs_v102/methods/account.getWebAuthorizations.md +++ b/old_docs/API_docs_v102/methods/account.getWebAuthorizations.md @@ -11,7 +11,7 @@ Get web [login widget](https://core.telegram.org/widgets/login) authorizations -### Return type: [account\_WebAuthorizations](../types/account_WebAuthorizations.md) +### Return type: [account.WebAuthorizations](../types/account.WebAuthorizations.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_WebAuthorizations = $MadelineProto->account->getWebAuthorizations(); +$account.WebAuthorizations = $MadelineProto->account->getWebAuthorizations(); ``` Or, if you're into Lua: ```lua -account_WebAuthorizations = account.getWebAuthorizations({}) +account.WebAuthorizations = account.getWebAuthorizations({}) ``` diff --git a/old_docs/API_docs_v102/methods/account.initTakeoutSession.md b/old_docs/API_docs_v102/methods/account.initTakeoutSession.md index 01b3ae0f..3b8774b8 100644 --- a/old_docs/API_docs_v102/methods/account.initTakeoutSession.md +++ b/old_docs/API_docs_v102/methods/account.initTakeoutSession.md @@ -22,7 +22,7 @@ Intialize account takeout session |file\_max\_size|[int](../types/int.md) | Maximum size of files to export | Optional| -### Return type: [account\_Takeout](../types/account_Takeout.md) +### Return type: [account.Takeout](../types/account.Takeout.md) ### Can bots use this method: **NO** @@ -39,12 +39,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_Takeout = $MadelineProto->account->initTakeoutSession(['contacts' => Bool, 'message_users' => Bool, 'message_chats' => Bool, 'message_megagroups' => Bool, 'message_channels' => Bool, 'files' => Bool, 'file_max_size' => int, ]); +$account.Takeout = $MadelineProto->account->initTakeoutSession(['contacts' => Bool, 'message_users' => Bool, 'message_chats' => Bool, 'message_megagroups' => Bool, 'message_channels' => Bool, 'files' => Bool, 'file_max_size' => int, ]); ``` Or, if you're into Lua: ```lua -account_Takeout = account.initTakeoutSession({contacts=Bool, message_users=Bool, message_chats=Bool, message_megagroups=Bool, message_channels=Bool, files=Bool, file_max_size=int, }) +account.Takeout = account.initTakeoutSession({contacts=Bool, message_users=Bool, message_chats=Bool, message_megagroups=Bool, message_channels=Bool, files=Bool, file_max_size=int, }) ``` diff --git a/old_docs/API_docs_v102/methods/account.sendChangePhoneCode.md b/old_docs/API_docs_v102/methods/account.sendChangePhoneCode.md index 1efd192e..469a602d 100644 --- a/old_docs/API_docs_v102/methods/account.sendChangePhoneCode.md +++ b/old_docs/API_docs_v102/methods/account.sendChangePhoneCode.md @@ -17,7 +17,7 @@ Verify a new phone number to associate to the current account |settings|[CodeSettings](../types/CodeSettings.md) | Phone code settings | Yes| -### Return type: [auth\_SentCode](../types/auth_SentCode.md) +### Return type: [auth.SentCode](../types/auth.SentCode.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_SentCode = $MadelineProto->account->sendChangePhoneCode(['phone_number' => 'string', 'settings' => CodeSettings, ]); +$auth.SentCode = $MadelineProto->account->sendChangePhoneCode(['phone_number' => 'string', 'settings' => CodeSettings, ]); ``` Or, if you're into Lua: ```lua -auth_SentCode = account.sendChangePhoneCode({phone_number='string', settings=CodeSettings, }) +auth.SentCode = account.sendChangePhoneCode({phone_number='string', settings=CodeSettings, }) ``` ### Errors diff --git a/old_docs/API_docs_v102/methods/account.sendConfirmPhoneCode.md b/old_docs/API_docs_v102/methods/account.sendConfirmPhoneCode.md index bd8cf87e..1927681f 100644 --- a/old_docs/API_docs_v102/methods/account.sendConfirmPhoneCode.md +++ b/old_docs/API_docs_v102/methods/account.sendConfirmPhoneCode.md @@ -17,7 +17,7 @@ Send confirmation code to cancel account deletion, for more info [click here »] |settings|[CodeSettings](../types/CodeSettings.md) | Phone code settings | Yes| -### Return type: [auth\_SentCode](../types/auth_SentCode.md) +### Return type: [auth.SentCode](../types/auth.SentCode.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_SentCode = $MadelineProto->account->sendConfirmPhoneCode(['hash' => 'string', 'settings' => CodeSettings, ]); +$auth.SentCode = $MadelineProto->account->sendConfirmPhoneCode(['hash' => 'string', 'settings' => CodeSettings, ]); ``` Or, if you're into Lua: ```lua -auth_SentCode = account.sendConfirmPhoneCode({hash='string', settings=CodeSettings, }) +auth.SentCode = account.sendConfirmPhoneCode({hash='string', settings=CodeSettings, }) ``` ### Errors diff --git a/old_docs/API_docs_v102/methods/account.sendVerifyEmailCode.md b/old_docs/API_docs_v102/methods/account.sendVerifyEmailCode.md index 54b1fc3f..a4768852 100644 --- a/old_docs/API_docs_v102/methods/account.sendVerifyEmailCode.md +++ b/old_docs/API_docs_v102/methods/account.sendVerifyEmailCode.md @@ -16,7 +16,7 @@ Send the verification email code for telegram [passport](https://core.telegram.o |email|[string](../types/string.md) | The email where to send the code | Yes| -### Return type: [account\_SentEmailCode](../types/account_SentEmailCode.md) +### Return type: [account.SentEmailCode](../types/account.SentEmailCode.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_SentEmailCode = $MadelineProto->account->sendVerifyEmailCode(['email' => 'string', ]); +$account.SentEmailCode = $MadelineProto->account->sendVerifyEmailCode(['email' => 'string', ]); ``` Or, if you're into Lua: ```lua -account_SentEmailCode = account.sendVerifyEmailCode({email='string', }) +account.SentEmailCode = account.sendVerifyEmailCode({email='string', }) ``` diff --git a/old_docs/API_docs_v102/methods/account.sendVerifyPhoneCode.md b/old_docs/API_docs_v102/methods/account.sendVerifyPhoneCode.md index 0b058240..3ff2fae7 100644 --- a/old_docs/API_docs_v102/methods/account.sendVerifyPhoneCode.md +++ b/old_docs/API_docs_v102/methods/account.sendVerifyPhoneCode.md @@ -17,7 +17,7 @@ Send the verification phone code for telegram [passport](https://core.telegram.o |settings|[CodeSettings](../types/CodeSettings.md) | Phone code settings | Yes| -### Return type: [auth\_SentCode](../types/auth_SentCode.md) +### Return type: [auth.SentCode](../types/auth.SentCode.md) ### Can bots use this method: **NO** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_SentCode = $MadelineProto->account->sendVerifyPhoneCode(['phone_number' => 'string', 'settings' => CodeSettings, ]); +$auth.SentCode = $MadelineProto->account->sendVerifyPhoneCode(['phone_number' => 'string', 'settings' => CodeSettings, ]); ``` Or, if you're into Lua: ```lua -auth_SentCode = account.sendVerifyPhoneCode({phone_number='string', settings=CodeSettings, }) +auth.SentCode = account.sendVerifyPhoneCode({phone_number='string', settings=CodeSettings, }) ``` diff --git a/old_docs/API_docs_v102/methods/account.setPrivacy.md b/old_docs/API_docs_v102/methods/account.setPrivacy.md index 7c4cfba7..096d373e 100644 --- a/old_docs/API_docs_v102/methods/account.setPrivacy.md +++ b/old_docs/API_docs_v102/methods/account.setPrivacy.md @@ -17,7 +17,7 @@ Change privacy settings of current account |rules|Array of [InputPrivacyRule](../types/InputPrivacyRule.md) | Privacy settings | Yes| -### Return type: [account\_PrivacyRules](../types/account_PrivacyRules.md) +### Return type: [account.PrivacyRules](../types/account.PrivacyRules.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_PrivacyRules = $MadelineProto->account->setPrivacy(['key' => InputPrivacyKey, 'rules' => [InputPrivacyRule, InputPrivacyRule], ]); +$account.PrivacyRules = $MadelineProto->account->setPrivacy(['key' => InputPrivacyKey, 'rules' => [InputPrivacyRule, InputPrivacyRule], ]); ``` Or, if you're into Lua: ```lua -account_PrivacyRules = account.setPrivacy({key=InputPrivacyKey, rules={InputPrivacyRule}, }) +account.PrivacyRules = account.setPrivacy({key=InputPrivacyKey, rules={InputPrivacyRule}, }) ``` ### Errors diff --git a/old_docs/API_docs_v102/methods/api_README.md b/old_docs/API_docs_v102/methods/api_README.md index 538d4554..30406d3a 100644 --- a/old_docs/API_docs_v102/methods/api_README.md +++ b/old_docs/API_docs_v102/methods/api_README.md @@ -80,15 +80,15 @@ $MadelineProto->[account->getAllSecureValues](account.getAllSecureValues.md)(\[\ ***

-$MadelineProto->[account->getAuthorizationForm](account.getAuthorizationForm.md)(\['bot_id' => [int](../types/int.md), 'scope' => [string](../types/string.md), 'public_key' => [string](../types/string.md), \]) === [$account\_AuthorizationForm](../types/account_AuthorizationForm.md) +$MadelineProto->[account->getAuthorizationForm](account.getAuthorizationForm.md)(\['bot_id' => [int](../types/int.md), 'scope' => [string](../types/string.md), 'public_key' => [string](../types/string.md), \]) === [$account.AuthorizationForm](../types/account.AuthorizationForm.md) ***

-$MadelineProto->[account->getAuthorizations](account.getAuthorizations.md)(\[\]) === [$account\_Authorizations](../types/account_Authorizations.md) +$MadelineProto->[account->getAuthorizations](account.getAuthorizations.md)(\[\]) === [$account.Authorizations](../types/account.Authorizations.md) ***

-$MadelineProto->[account->getAutoDownloadSettings](account.getAutoDownloadSettings.md)(\[\]) === [$account\_AutoDownloadSettings](../types/account_AutoDownloadSettings.md) +$MadelineProto->[account->getAutoDownloadSettings](account.getAutoDownloadSettings.md)(\[\]) === [$account.AutoDownloadSettings](../types/account.AutoDownloadSettings.md) ***

@@ -104,15 +104,15 @@ $MadelineProto->[account->getNotifySettings](account.getNotifySettings.md)(\['pe ***

-$MadelineProto->[account->getPassword](account.getPassword.md)(\[\]) === [$account\_Password](../types/account_Password.md) +$MadelineProto->[account->getPassword](account.getPassword.md)(\[\]) === [$account.Password](../types/account.Password.md) ***

-$MadelineProto->[account->getPasswordSettings](account.getPasswordSettings.md)(\['password' => [InputCheckPasswordSRP](../types/InputCheckPasswordSRP.md), \]) === [$account\_PasswordSettings](../types/account_PasswordSettings.md) +$MadelineProto->[account->getPasswordSettings](account.getPasswordSettings.md)(\['password' => [InputCheckPasswordSRP](../types/InputCheckPasswordSRP.md), \]) === [$account.PasswordSettings](../types/account.PasswordSettings.md) ***

-$MadelineProto->[account->getPrivacy](account.getPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), \]) === [$account\_PrivacyRules](../types/account_PrivacyRules.md) +$MadelineProto->[account->getPrivacy](account.getPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), \]) === [$account.PrivacyRules](../types/account.PrivacyRules.md) ***

@@ -120,7 +120,7 @@ $MadelineProto->[account->getSecureValue](account.getSecureValue.md)(\['types' = ***

-$MadelineProto->[account->getTmpPassword](account.getTmpPassword.md)(\['password' => [InputCheckPasswordSRP](../types/InputCheckPasswordSRP.md), 'period' => [int](../types/int.md), \]) === [$account\_TmpPassword](../types/account_TmpPassword.md) +$MadelineProto->[account->getTmpPassword](account.getTmpPassword.md)(\['password' => [InputCheckPasswordSRP](../types/InputCheckPasswordSRP.md), 'period' => [int](../types/int.md), \]) === [$account.TmpPassword](../types/account.TmpPassword.md) ***

@@ -128,15 +128,15 @@ $MadelineProto->[account->getWallPaper](account.getWallPaper.md)(\['wallpaper' = ***

-$MadelineProto->[account->getWallPapers](account.getWallPapers.md)(\['hash' => [int](../types/int.md), \]) === [$account\_WallPapers](../types/account_WallPapers.md) +$MadelineProto->[account->getWallPapers](account.getWallPapers.md)(\['hash' => [int](../types/int.md), \]) === [$account.WallPapers](../types/account.WallPapers.md) ***

-$MadelineProto->[account->getWebAuthorizations](account.getWebAuthorizations.md)(\[\]) === [$account\_WebAuthorizations](../types/account_WebAuthorizations.md) +$MadelineProto->[account->getWebAuthorizations](account.getWebAuthorizations.md)(\[\]) === [$account.WebAuthorizations](../types/account.WebAuthorizations.md) ***

-$MadelineProto->[account->initTakeoutSession](account.initTakeoutSession.md)(\['contacts' => [Bool](../types/Bool.md), 'message_users' => [Bool](../types/Bool.md), 'message_chats' => [Bool](../types/Bool.md), 'message_megagroups' => [Bool](../types/Bool.md), 'message_channels' => [Bool](../types/Bool.md), 'files' => [Bool](../types/Bool.md), 'file_max_size' => [int](../types/int.md), \]) === [$account\_Takeout](../types/account_Takeout.md) +$MadelineProto->[account->initTakeoutSession](account.initTakeoutSession.md)(\['contacts' => [Bool](../types/Bool.md), 'message_users' => [Bool](../types/Bool.md), 'message_chats' => [Bool](../types/Bool.md), 'message_megagroups' => [Bool](../types/Bool.md), 'message_channels' => [Bool](../types/Bool.md), 'files' => [Bool](../types/Bool.md), 'file_max_size' => [int](../types/int.md), \]) === [$account.Takeout](../types/account.Takeout.md) ***

@@ -188,19 +188,19 @@ $MadelineProto->[account->saveWallPaper](account.saveWallPaper.md)(\['wallpaper' ***

-$MadelineProto->[account->sendChangePhoneCode](account.sendChangePhoneCode.md)(\['phone_number' => [string](../types/string.md), 'settings' => [CodeSettings](../types/CodeSettings.md), \]) === [$auth\_SentCode](../types/auth_SentCode.md) +$MadelineProto->[account->sendChangePhoneCode](account.sendChangePhoneCode.md)(\['phone_number' => [string](../types/string.md), 'settings' => [CodeSettings](../types/CodeSettings.md), \]) === [$auth.SentCode](../types/auth.SentCode.md) ***

-$MadelineProto->[account->sendConfirmPhoneCode](account.sendConfirmPhoneCode.md)(\['hash' => [string](../types/string.md), 'settings' => [CodeSettings](../types/CodeSettings.md), \]) === [$auth\_SentCode](../types/auth_SentCode.md) +$MadelineProto->[account->sendConfirmPhoneCode](account.sendConfirmPhoneCode.md)(\['hash' => [string](../types/string.md), 'settings' => [CodeSettings](../types/CodeSettings.md), \]) === [$auth.SentCode](../types/auth.SentCode.md) ***

-$MadelineProto->[account->sendVerifyEmailCode](account.sendVerifyEmailCode.md)(\['email' => [string](../types/string.md), \]) === [$account\_SentEmailCode](../types/account_SentEmailCode.md) +$MadelineProto->[account->sendVerifyEmailCode](account.sendVerifyEmailCode.md)(\['email' => [string](../types/string.md), \]) === [$account.SentEmailCode](../types/account.SentEmailCode.md) ***

-$MadelineProto->[account->sendVerifyPhoneCode](account.sendVerifyPhoneCode.md)(\['phone_number' => [string](../types/string.md), 'settings' => [CodeSettings](../types/CodeSettings.md), \]) === [$auth\_SentCode](../types/auth_SentCode.md) +$MadelineProto->[account->sendVerifyPhoneCode](account.sendVerifyPhoneCode.md)(\['phone_number' => [string](../types/string.md), 'settings' => [CodeSettings](../types/CodeSettings.md), \]) === [$auth.SentCode](../types/auth.SentCode.md) ***

@@ -212,7 +212,7 @@ $MadelineProto->[account->setContactSignUpNotification](account.setContactSignUp ***

-$MadelineProto->[account->setPrivacy](account.setPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), 'rules' => \[[InputPrivacyRule](../types/InputPrivacyRule.md)\], \]) === [$account\_PrivacyRules](../types/account_PrivacyRules.md) +$MadelineProto->[account->setPrivacy](account.setPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), 'rules' => \[[InputPrivacyRule](../types/InputPrivacyRule.md)\], \]) === [$account.PrivacyRules](../types/account.PrivacyRules.md) ***

@@ -264,7 +264,7 @@ $MadelineProto->[auth->cancelCode](auth.cancelCode.md)(\['phone_number' => [stri ***

-$MadelineProto->[auth->checkPassword](auth.checkPassword.md)(\['password' => [InputCheckPasswordSRP](../types/InputCheckPasswordSRP.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->checkPassword](auth.checkPassword.md)(\['password' => [InputCheckPasswordSRP](../types/InputCheckPasswordSRP.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

@@ -272,15 +272,15 @@ $MadelineProto->[auth->dropTempAuthKeys](auth.dropTempAuthKeys.md)(\['except_aut ***

-$MadelineProto->[auth->exportAuthorization](auth.exportAuthorization.md)(\['dc_id' => [int](../types/int.md), \]) === [$auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) +$MadelineProto->[auth->exportAuthorization](auth.exportAuthorization.md)(\['dc_id' => [int](../types/int.md), \]) === [$auth.ExportedAuthorization](../types/auth.ExportedAuthorization.md) ***

-$MadelineProto->[auth->importAuthorization](auth.importAuthorization.md)(\['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->importAuthorization](auth.importAuthorization.md)(\['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

-$MadelineProto->[auth->importBotAuthorization](auth.importBotAuthorization.md)(\['api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), 'bot_auth_token' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->importBotAuthorization](auth.importBotAuthorization.md)(\['api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), 'bot_auth_token' => [string](../types/string.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

@@ -288,15 +288,15 @@ $MadelineProto->[auth->logOut](auth.logOut.md)(\[\]) === [$Bool](../types/Bool.m ***

-$MadelineProto->[auth->recoverPassword](auth.recoverPassword.md)(\['code' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->recoverPassword](auth.recoverPassword.md)(\['code' => [string](../types/string.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

-$MadelineProto->[auth->requestPasswordRecovery](auth.requestPasswordRecovery.md)(\[\]) === [$auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) +$MadelineProto->[auth->requestPasswordRecovery](auth.requestPasswordRecovery.md)(\[\]) === [$auth.PasswordRecovery](../types/auth.PasswordRecovery.md) ***

-$MadelineProto->[auth->resendCode](auth.resendCode.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), \]) === [$auth\_SentCode](../types/auth_SentCode.md) +$MadelineProto->[auth->resendCode](auth.resendCode.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), \]) === [$auth.SentCode](../types/auth.SentCode.md) ***

@@ -304,15 +304,15 @@ $MadelineProto->[auth->resetAuthorizations](auth.resetAuthorizations.md)(\[\]) = ***

-$MadelineProto->[auth->sendCode](auth.sendCode.md)(\['phone_number' => [string](../types/string.md), 'api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), 'settings' => [CodeSettings](../types/CodeSettings.md), \]) === [$auth\_SentCode](../types/auth_SentCode.md) +$MadelineProto->[auth->sendCode](auth.sendCode.md)(\['phone_number' => [string](../types/string.md), 'api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), 'settings' => [CodeSettings](../types/CodeSettings.md), \]) === [$auth.SentCode](../types/auth.SentCode.md) ***

-$MadelineProto->[auth->signIn](auth.signIn.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->signIn](auth.signIn.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

-$MadelineProto->[auth->signUp](auth.signUp.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->signUp](auth.signUp.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

@@ -340,11 +340,11 @@ $MadelineProto->[channels->deleteHistory](channels.deleteHistory.md)(\['channel' ***

-$MadelineProto->[channels->deleteMessages](channels.deleteMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) +$MadelineProto->[channels->deleteMessages](channels.deleteMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages.AffectedMessages](../types/messages.AffectedMessages.md) ***

-$MadelineProto->[channels->deleteUserHistory](channels.deleteUserHistory.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages\_AffectedHistory](../types/messages_AffectedHistory.md) +$MadelineProto->[channels->deleteUserHistory](channels.deleteUserHistory.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages.AffectedHistory](../types/messages.AffectedHistory.md) ***

@@ -376,39 +376,39 @@ $MadelineProto->[channels->exportMessageLink](channels.exportMessageLink.md)(\[' ***

-$MadelineProto->[channels->getAdminLog](channels.getAdminLog.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'q' => [string](../types/string.md), 'events_filter' => [ChannelAdminLogEventsFilter](../types/ChannelAdminLogEventsFilter.md), 'admins' => \[[InputUser](../types/InputUser.md)\], 'max_id' => [long](../types/long.md), 'min_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$channels\_AdminLogResults](../types/channels_AdminLogResults.md) +$MadelineProto->[channels->getAdminLog](channels.getAdminLog.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'q' => [string](../types/string.md), 'events_filter' => [ChannelAdminLogEventsFilter](../types/ChannelAdminLogEventsFilter.md), 'admins' => \[[InputUser](../types/InputUser.md)\], 'max_id' => [long](../types/long.md), 'min_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$channels.AdminLogResults](../types/channels.AdminLogResults.md) ***

-$MadelineProto->[channels->getAdminedPublicChannels](channels.getAdminedPublicChannels.md)(\['by_location' => [Bool](../types/Bool.md), 'check_limit' => [Bool](../types/Bool.md), \]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[channels->getAdminedPublicChannels](channels.getAdminedPublicChannels.md)(\['by_location' => [Bool](../types/Bool.md), 'check_limit' => [Bool](../types/Bool.md), \]) === [$messages.Chats](../types/messages.Chats.md) ***

-$MadelineProto->[channels->getChannels](channels.getChannels.md)(\['id' => \[[InputChannel](../types/InputChannel.md)\], \]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[channels->getChannels](channels.getChannels.md)(\['id' => \[[InputChannel](../types/InputChannel.md)\], \]) === [$messages.Chats](../types/messages.Chats.md) ***

-$MadelineProto->[channels->getFullChannel](channels.getFullChannel.md)(\['channel' => [InputChannel](../types/InputChannel.md), \]) === [$messages\_ChatFull](../types/messages_ChatFull.md) +$MadelineProto->[channels->getFullChannel](channels.getFullChannel.md)(\['channel' => [InputChannel](../types/InputChannel.md), \]) === [$messages.ChatFull](../types/messages.ChatFull.md) ***

-$MadelineProto->[channels->getGroupsForDiscussion](channels.getGroupsForDiscussion.md)(\[\]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[channels->getGroupsForDiscussion](channels.getGroupsForDiscussion.md)(\[\]) === [$messages.Chats](../types/messages.Chats.md) ***

-$MadelineProto->[channels->getLeftChannels](channels.getLeftChannels.md)(\['offset' => [int](../types/int.md), \]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[channels->getLeftChannels](channels.getLeftChannels.md)(\['offset' => [int](../types/int.md), \]) === [$messages.Chats](../types/messages.Chats.md) ***

-$MadelineProto->[channels->getMessages](channels.getMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[InputMessage](../types/InputMessage.md)\], \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[channels->getMessages](channels.getMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[InputMessage](../types/InputMessage.md)\], \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[channels->getParticipant](channels.getParticipant.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$channels\_ChannelParticipant](../types/channels_ChannelParticipant.md) +$MadelineProto->[channels->getParticipant](channels.getParticipant.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$channels.ChannelParticipant](../types/channels.ChannelParticipant.md) ***

-$MadelineProto->[channels->getParticipants](channels.getParticipants.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$channels\_ChannelParticipants](../types/channels_ChannelParticipants.md) +$MadelineProto->[channels->getParticipants](channels.getParticipants.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$channels.ChannelParticipants](../types/channels.ChannelParticipants.md) ***

@@ -476,7 +476,7 @@ $MadelineProto->[contacts->deleteContacts](contacts.deleteContacts.md)(\['id' => ***

-$MadelineProto->[contacts->getBlocked](contacts.getBlocked.md)(\['offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$contacts\_Blocked](../types/contacts_Blocked.md) +$MadelineProto->[contacts->getBlocked](contacts.getBlocked.md)(\['offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$contacts.Blocked](../types/contacts.Blocked.md) ***

@@ -484,7 +484,7 @@ $MadelineProto->[contacts->getContactIDs](contacts.getContactIDs.md)(\['hash' => ***

-$MadelineProto->[contacts->getContacts](contacts.getContacts.md)(\['hash' => [int](../types/int.md), \]) === [$contacts\_Contacts](../types/contacts_Contacts.md) +$MadelineProto->[contacts->getContacts](contacts.getContacts.md)(\['hash' => [int](../types/int.md), \]) === [$contacts.Contacts](../types/contacts.Contacts.md) ***

@@ -500,11 +500,11 @@ $MadelineProto->[contacts->getStatuses](contacts.getStatuses.md)(\[\]) === [$Vec ***

-$MadelineProto->[contacts->getTopPeers](contacts.getTopPeers.md)(\['correspondents' => [Bool](../types/Bool.md), 'bots_pm' => [Bool](../types/Bool.md), 'bots_inline' => [Bool](../types/Bool.md), 'phone_calls' => [Bool](../types/Bool.md), 'forward_users' => [Bool](../types/Bool.md), 'forward_chats' => [Bool](../types/Bool.md), 'groups' => [Bool](../types/Bool.md), 'channels' => [Bool](../types/Bool.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$contacts\_TopPeers](../types/contacts_TopPeers.md) +$MadelineProto->[contacts->getTopPeers](contacts.getTopPeers.md)(\['correspondents' => [Bool](../types/Bool.md), 'bots_pm' => [Bool](../types/Bool.md), 'bots_inline' => [Bool](../types/Bool.md), 'phone_calls' => [Bool](../types/Bool.md), 'forward_users' => [Bool](../types/Bool.md), 'forward_chats' => [Bool](../types/Bool.md), 'groups' => [Bool](../types/Bool.md), 'channels' => [Bool](../types/Bool.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$contacts.TopPeers](../types/contacts.TopPeers.md) ***

-$MadelineProto->[contacts->importContacts](contacts.importContacts.md)(\['contacts' => \[[InputContact](../types/InputContact.md)\], \]) === [$contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) +$MadelineProto->[contacts->importContacts](contacts.importContacts.md)(\['contacts' => \[[InputContact](../types/InputContact.md)\], \]) === [$contacts.ImportedContacts](../types/contacts.ImportedContacts.md) ***

@@ -516,11 +516,11 @@ $MadelineProto->[contacts->resetTopPeerRating](contacts.resetTopPeerRating.md)(\ ***

-$MadelineProto->[contacts->resolveUsername](contacts.resolveUsername.md)(\['username' => [string](../types/string.md), \]) === [$contacts\_ResolvedPeer](../types/contacts_ResolvedPeer.md) +$MadelineProto->[contacts->resolveUsername](contacts.resolveUsername.md)(\['username' => [string](../types/string.md), \]) === [$contacts.ResolvedPeer](../types/contacts.ResolvedPeer.md) ***

-$MadelineProto->[contacts->search](contacts.search.md)(\['q' => [string](../types/string.md), 'limit' => [int](../types/int.md), \]) === [$contacts\_Found](../types/contacts_Found.md) +$MadelineProto->[contacts->search](contacts.search.md)(\['q' => [string](../types/string.md), 'limit' => [int](../types/int.md), \]) === [$contacts.Found](../types/contacts.Found.md) ***

@@ -544,7 +544,7 @@ $MadelineProto->[help->acceptTermsOfService](help.acceptTermsOfService.md)(\['id ***

-$MadelineProto->[help->editUserInfo](help.editUserInfo.md)(\['user_id' => [InputUser](../types/InputUser.md), 'message' => [string](../types/string.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], \]) === [$help\_UserInfo](../types/help_UserInfo.md) +$MadelineProto->[help->editUserInfo](help.editUserInfo.md)(\['user_id' => [InputUser](../types/InputUser.md), 'message' => [string](../types/string.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], \]) === [$help.UserInfo](../types/help.UserInfo.md) ***

@@ -556,7 +556,7 @@ $MadelineProto->[help->getAppConfig](help.getAppConfig.md)(\[\]) === [$JSONValue ***

-$MadelineProto->[help->getAppUpdate](help.getAppUpdate.md)(\['source' => [string](../types/string.md), \]) === [$help\_AppUpdate](../types/help_AppUpdate.md) +$MadelineProto->[help->getAppUpdate](help.getAppUpdate.md)(\['source' => [string](../types/string.md), \]) === [$help.AppUpdate](../types/help.AppUpdate.md) ***

@@ -568,11 +568,11 @@ $MadelineProto->[help->getConfig](help.getConfig.md)(\[\]) === [$Config](../type ***

-$MadelineProto->[help->getDeepLinkInfo](help.getDeepLinkInfo.md)(\['path' => [string](../types/string.md), \]) === [$help\_DeepLinkInfo](../types/help_DeepLinkInfo.md) +$MadelineProto->[help->getDeepLinkInfo](help.getDeepLinkInfo.md)(\['path' => [string](../types/string.md), \]) === [$help.DeepLinkInfo](../types/help.DeepLinkInfo.md) ***

-$MadelineProto->[help->getInviteText](help.getInviteText.md)(\[\]) === [$help\_InviteText](../types/help_InviteText.md) +$MadelineProto->[help->getInviteText](help.getInviteText.md)(\[\]) === [$help.InviteText](../types/help.InviteText.md) ***

@@ -580,31 +580,31 @@ $MadelineProto->[help->getNearestDc](help.getNearestDc.md)(\[\]) === [$NearestDc ***

-$MadelineProto->[help->getPassportConfig](help.getPassportConfig.md)(\['hash' => [int](../types/int.md), \]) === [$help\_PassportConfig](../types/help_PassportConfig.md) +$MadelineProto->[help->getPassportConfig](help.getPassportConfig.md)(\['hash' => [int](../types/int.md), \]) === [$help.PassportConfig](../types/help.PassportConfig.md) ***

-$MadelineProto->[help->getProxyData](help.getProxyData.md)(\[\]) === [$help\_ProxyData](../types/help_ProxyData.md) +$MadelineProto->[help->getProxyData](help.getProxyData.md)(\[\]) === [$help.ProxyData](../types/help.ProxyData.md) ***

-$MadelineProto->[help->getRecentMeUrls](help.getRecentMeUrls.md)(\['referer' => [string](../types/string.md), \]) === [$help\_RecentMeUrls](../types/help_RecentMeUrls.md) +$MadelineProto->[help->getRecentMeUrls](help.getRecentMeUrls.md)(\['referer' => [string](../types/string.md), \]) === [$help.RecentMeUrls](../types/help.RecentMeUrls.md) ***

-$MadelineProto->[help->getSupport](help.getSupport.md)(\[\]) === [$help\_Support](../types/help_Support.md) +$MadelineProto->[help->getSupport](help.getSupport.md)(\[\]) === [$help.Support](../types/help.Support.md) ***

-$MadelineProto->[help->getSupportName](help.getSupportName.md)(\[\]) === [$help\_SupportName](../types/help_SupportName.md) +$MadelineProto->[help->getSupportName](help.getSupportName.md)(\[\]) === [$help.SupportName](../types/help.SupportName.md) ***

-$MadelineProto->[help->getTermsOfServiceUpdate](help.getTermsOfServiceUpdate.md)(\[\]) === [$help\_TermsOfServiceUpdate](../types/help_TermsOfServiceUpdate.md) +$MadelineProto->[help->getTermsOfServiceUpdate](help.getTermsOfServiceUpdate.md)(\[\]) === [$help.TermsOfServiceUpdate](../types/help.TermsOfServiceUpdate.md) ***

-$MadelineProto->[help->getUserInfo](help.getUserInfo.md)(\['user_id' => [InputUser](../types/InputUser.md), \]) === [$help\_UserInfo](../types/help_UserInfo.md) +$MadelineProto->[help->getUserInfo](help.getUserInfo.md)(\['user_id' => [InputUser](../types/InputUser.md), \]) === [$help.UserInfo](../types/help.UserInfo.md) ***

@@ -696,11 +696,11 @@ $MadelineProto->[messages->deleteChatUser](messages.deleteChatUser.md)(\['chat_i ***

-$MadelineProto->[messages->deleteHistory](messages.deleteHistory.md)(\['just_clear' => [Bool](../types/Bool.md), 'revoke' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), \]) === [$messages\_AffectedHistory](../types/messages_AffectedHistory.md) +$MadelineProto->[messages->deleteHistory](messages.deleteHistory.md)(\['just_clear' => [Bool](../types/Bool.md), 'revoke' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), \]) === [$messages.AffectedHistory](../types/messages.AffectedHistory.md) ***

-$MadelineProto->[messages->deleteMessages](messages.deleteMessages.md)(\['revoke' => [Bool](../types/Bool.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) +$MadelineProto->[messages->deleteMessages](messages.deleteMessages.md)(\['revoke' => [Bool](../types/Bool.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages.AffectedMessages](../types/messages.AffectedMessages.md) ***

@@ -748,7 +748,7 @@ $MadelineProto->[messages->forwardMessages](messages.forwardMessages.md)(\['sile ***

-$MadelineProto->[messages->getAllChats](messages.getAllChats.md)(\['except_ids' => \[[int](../types/int.md)\], \]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[messages->getAllChats](messages.getAllChats.md)(\['except_ids' => \[[int](../types/int.md)\], \]) === [$messages.Chats](../types/messages.Chats.md) ***

@@ -756,11 +756,11 @@ $MadelineProto->[messages->getAllDrafts](messages.getAllDrafts.md)(\[\]) === [$U ***

-$MadelineProto->[messages->getAllStickers](messages.getAllStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages\_AllStickers](../types/messages_AllStickers.md) +$MadelineProto->[messages->getAllStickers](messages.getAllStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages.AllStickers](../types/messages.AllStickers.md) ***

-$MadelineProto->[messages->getArchivedStickers](messages.getArchivedStickers.md)(\['masks' => [Bool](../types/Bool.md), 'offset_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$messages\_ArchivedStickers](../types/messages_ArchivedStickers.md) +$MadelineProto->[messages->getArchivedStickers](messages.getArchivedStickers.md)(\['masks' => [Bool](../types/Bool.md), 'offset_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$messages.ArchivedStickers](../types/messages.ArchivedStickers.md) ***

@@ -768,19 +768,19 @@ $MadelineProto->[messages->getAttachedStickers](messages.getAttachedStickers.md) ***

-$MadelineProto->[messages->getBotCallbackAnswer](messages.getBotCallbackAnswer.md)(\['game' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'msg_id' => [int](../types/int.md), 'data' => [bytes](../types/bytes.md), \]) === [$messages\_BotCallbackAnswer](../types/messages_BotCallbackAnswer.md) +$MadelineProto->[messages->getBotCallbackAnswer](messages.getBotCallbackAnswer.md)(\['game' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'msg_id' => [int](../types/int.md), 'data' => [bytes](../types/bytes.md), \]) === [$messages.BotCallbackAnswer](../types/messages.BotCallbackAnswer.md) ***

-$MadelineProto->[messages->getChats](messages.getChats.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[messages->getChats](messages.getChats.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages.Chats](../types/messages.Chats.md) ***

-$MadelineProto->[messages->getCommonChats](messages.getCommonChats.md)(\['user_id' => [InputUser](../types/InputUser.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[messages->getCommonChats](messages.getCommonChats.md)(\['user_id' => [InputUser](../types/InputUser.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages.Chats](../types/messages.Chats.md) ***

-$MadelineProto->[messages->getDhConfig](messages.getDhConfig.md)(\['version' => [int](../types/int.md), 'random_length' => [int](../types/int.md), \]) === [$messages\_DhConfig](../types/messages_DhConfig.md) +$MadelineProto->[messages->getDhConfig](messages.getDhConfig.md)(\['version' => [int](../types/int.md), 'random_length' => [int](../types/int.md), \]) === [$messages.DhConfig](../types/messages.DhConfig.md) ***

@@ -788,7 +788,7 @@ $MadelineProto->[messages->getDialogUnreadMarks](messages.getDialogUnreadMarks.m ***

-$MadelineProto->[messages->getDialogs](messages.getDialogs.md)(\['exclude_pinned' => [Bool](../types/Bool.md), 'folder_id' => [int](../types/int.md), 'offset_date' => [int](../types/int.md), 'offset_id' => [int](../types/int.md), 'offset_peer' => [InputPeer](../types/InputPeer.md), 'limit' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$messages\_Dialogs](../types/messages_Dialogs.md) +$MadelineProto->[messages->getDialogs](messages.getDialogs.md)(\['exclude_pinned' => [Bool](../types/Bool.md), 'folder_id' => [int](../types/int.md), 'offset_date' => [int](../types/int.md), 'offset_id' => [int](../types/int.md), 'offset_peer' => [InputPeer](../types/InputPeer.md), 'limit' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$messages.Dialogs](../types/messages.Dialogs.md) ***

@@ -812,43 +812,43 @@ $MadelineProto->[messages->getEmojiURL](messages.getEmojiURL.md)(\['lang_code' = ***

-$MadelineProto->[messages->getFavedStickers](messages.getFavedStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages\_FavedStickers](../types/messages_FavedStickers.md) +$MadelineProto->[messages->getFavedStickers](messages.getFavedStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages.FavedStickers](../types/messages.FavedStickers.md) ***

-$MadelineProto->[messages->getFeaturedStickers](messages.getFeaturedStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages\_FeaturedStickers](../types/messages_FeaturedStickers.md) +$MadelineProto->[messages->getFeaturedStickers](messages.getFeaturedStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages.FeaturedStickers](../types/messages.FeaturedStickers.md) ***

-$MadelineProto->[messages->getFullChat](messages.getFullChat.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), \]) === [$messages\_ChatFull](../types/messages_ChatFull.md) +$MadelineProto->[messages->getFullChat](messages.getFullChat.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), \]) === [$messages.ChatFull](../types/messages.ChatFull.md) ***

-$MadelineProto->[messages->getGameHighScores](messages.getGameHighScores.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages\_HighScores](../types/messages_HighScores.md) +$MadelineProto->[messages->getGameHighScores](messages.getGameHighScores.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages.HighScores](../types/messages.HighScores.md) ***

-$MadelineProto->[messages->getHistory](messages.getHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'offset_date' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->getHistory](messages.getHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'offset_date' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[messages->getInlineBotResults](messages.getInlineBotResults.md)(\['bot' => [InputUser](../types/InputUser.md), 'peer' => [InputPeer](../types/InputPeer.md), 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'query' => [string](../types/string.md), 'offset' => [string](../types/string.md), \]) === [$messages\_BotResults](../types/messages_BotResults.md) +$MadelineProto->[messages->getInlineBotResults](messages.getInlineBotResults.md)(\['bot' => [InputUser](../types/InputUser.md), 'peer' => [InputPeer](../types/InputPeer.md), 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'query' => [string](../types/string.md), 'offset' => [string](../types/string.md), \]) === [$messages.BotResults](../types/messages.BotResults.md) ***

-$MadelineProto->[messages->getInlineGameHighScores](messages.getInlineGameHighScores.md)(\['id' => [InputBotInlineMessageID](../types/InputBotInlineMessageID.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages\_HighScores](../types/messages_HighScores.md) +$MadelineProto->[messages->getInlineGameHighScores](messages.getInlineGameHighScores.md)(\['id' => [InputBotInlineMessageID](../types/InputBotInlineMessageID.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages.HighScores](../types/messages.HighScores.md) ***

-$MadelineProto->[messages->getMaskStickers](messages.getMaskStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages\_AllStickers](../types/messages_AllStickers.md) +$MadelineProto->[messages->getMaskStickers](messages.getMaskStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages.AllStickers](../types/messages.AllStickers.md) ***

-$MadelineProto->[messages->getMessageEditData](messages.getMessageEditData.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), \]) === [$messages\_MessageEditData](../types/messages_MessageEditData.md) +$MadelineProto->[messages->getMessageEditData](messages.getMessageEditData.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), \]) === [$messages.MessageEditData](../types/messages.MessageEditData.md) ***

-$MadelineProto->[messages->getMessages](messages.getMessages.md)(\['id' => \[[InputMessage](../types/InputMessage.md)\], \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->getMessages](messages.getMessages.md)(\['id' => \[[InputMessage](../types/InputMessage.md)\], \]) === [$messages.Messages](../types/messages.Messages.md) ***

@@ -860,7 +860,7 @@ $MadelineProto->[messages->getOnlines](messages.getOnlines.md)(\['peer' => [Inpu ***

-$MadelineProto->[messages->getPeerDialogs](messages.getPeerDialogs.md)(\['peers' => \[[InputDialogPeer](../types/InputDialogPeer.md)\], \]) === [$messages\_PeerDialogs](../types/messages_PeerDialogs.md) +$MadelineProto->[messages->getPeerDialogs](messages.getPeerDialogs.md)(\['peers' => \[[InputDialogPeer](../types/InputDialogPeer.md)\], \]) === [$messages.PeerDialogs](../types/messages.PeerDialogs.md) ***

@@ -868,7 +868,7 @@ $MadelineProto->[messages->getPeerSettings](messages.getPeerSettings.md)(\['peer ***

-$MadelineProto->[messages->getPinnedDialogs](messages.getPinnedDialogs.md)(\['folder_id' => [int](../types/int.md), \]) === [$messages\_PeerDialogs](../types/messages_PeerDialogs.md) +$MadelineProto->[messages->getPinnedDialogs](messages.getPinnedDialogs.md)(\['folder_id' => [int](../types/int.md), \]) === [$messages.PeerDialogs](../types/messages.PeerDialogs.md) ***

@@ -876,19 +876,19 @@ $MadelineProto->[messages->getPollResults](messages.getPollResults.md)(\['peer' ***

-$MadelineProto->[messages->getRecentLocations](messages.getRecentLocations.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'limit' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->getRecentLocations](messages.getRecentLocations.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'limit' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[messages->getRecentStickers](messages.getRecentStickers.md)(\['attached' => [Bool](../types/Bool.md), 'hash' => [int](../types/int.md), \]) === [$messages\_RecentStickers](../types/messages_RecentStickers.md) +$MadelineProto->[messages->getRecentStickers](messages.getRecentStickers.md)(\['attached' => [Bool](../types/Bool.md), 'hash' => [int](../types/int.md), \]) === [$messages.RecentStickers](../types/messages.RecentStickers.md) ***

-$MadelineProto->[messages->getSavedGifs](messages.getSavedGifs.md)(\['hash' => [int](../types/int.md), \]) === [$messages\_SavedGifs](../types/messages_SavedGifs.md) +$MadelineProto->[messages->getSavedGifs](messages.getSavedGifs.md)(\['hash' => [int](../types/int.md), \]) === [$messages.SavedGifs](../types/messages.SavedGifs.md) ***

-$MadelineProto->[messages->getSearchCounters](messages.getSearchCounters.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'filters' => \[[MessagesFilter](../types/MessagesFilter.md)\], \]) === [$Vector\_of\_messages\_SearchCounter](../types/messages_SearchCounter.md) +$MadelineProto->[messages->getSearchCounters](messages.getSearchCounters.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'filters' => \[[MessagesFilter](../types/MessagesFilter.md)\], \]) === [$Vector\_of\_messages.SearchCounter](../types/messages.SearchCounter.md) ***

@@ -900,15 +900,15 @@ $MadelineProto->[messages->getStatsURL](messages.getStatsURL.md)(\['dark' => [Bo ***

-$MadelineProto->[messages->getStickerSet](messages.getStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), \]) === [$messages\_StickerSet](../types/messages_StickerSet.md) +$MadelineProto->[messages->getStickerSet](messages.getStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), \]) === [$messages.StickerSet](../types/messages.StickerSet.md) ***

-$MadelineProto->[messages->getStickers](messages.getStickers.md)(\['emoticon' => [string](../types/string.md), 'hash' => [int](../types/int.md), \]) === [$messages\_Stickers](../types/messages_Stickers.md) +$MadelineProto->[messages->getStickers](messages.getStickers.md)(\['emoticon' => [string](../types/string.md), 'hash' => [int](../types/int.md), \]) === [$messages.Stickers](../types/messages.Stickers.md) ***

-$MadelineProto->[messages->getUnreadMentions](messages.getUnreadMentions.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->getUnreadMentions](messages.getUnreadMentions.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

@@ -928,7 +928,7 @@ $MadelineProto->[messages->importChatInvite](messages.importChatInvite.md)(\['ha ***

-$MadelineProto->[messages->installStickerSet](messages.installStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), 'archived' => [Bool](../types/Bool.md), \]) === [$messages\_StickerSetInstallResult](../types/messages_StickerSetInstallResult.md) +$MadelineProto->[messages->installStickerSet](messages.installStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), 'archived' => [Bool](../types/Bool.md), \]) === [$messages.StickerSetInstallResult](../types/messages.StickerSetInstallResult.md) ***

@@ -948,15 +948,15 @@ $MadelineProto->[messages->readFeaturedStickers](messages.readFeaturedStickers.m ***

-$MadelineProto->[messages->readHistory](messages.readHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), \]) === [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) +$MadelineProto->[messages->readHistory](messages.readHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), \]) === [$messages.AffectedMessages](../types/messages.AffectedMessages.md) ***

-$MadelineProto->[messages->readMentions](messages.readMentions.md)(\['peer' => [InputPeer](../types/InputPeer.md), \]) === [$messages\_AffectedHistory](../types/messages_AffectedHistory.md) +$MadelineProto->[messages->readMentions](messages.readMentions.md)(\['peer' => [InputPeer](../types/InputPeer.md), \]) === [$messages.AffectedHistory](../types/messages.AffectedHistory.md) ***

-$MadelineProto->[messages->readMessageContents](messages.readMessageContents.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) +$MadelineProto->[messages->readMessageContents](messages.readMessageContents.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages.AffectedMessages](../types/messages.AffectedMessages.md) ***

@@ -1008,31 +1008,31 @@ $MadelineProto->[messages->saveRecentSticker](messages.saveRecentSticker.md)(\[' ***

-$MadelineProto->[messages->search](messages.search.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'q' => [string](../types/string.md), 'from_id' => [InputUser](../types/InputUser.md), 'filter' => [MessagesFilter](../types/MessagesFilter.md), 'min_date' => [int](../types/int.md), 'max_date' => [int](../types/int.md), 'offset_id' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->search](messages.search.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'q' => [string](../types/string.md), 'from_id' => [InputUser](../types/InputUser.md), 'filter' => [MessagesFilter](../types/MessagesFilter.md), 'min_date' => [int](../types/int.md), 'max_date' => [int](../types/int.md), 'offset_id' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[messages->searchGifs](messages.searchGifs.md)(\['q' => [string](../types/string.md), 'offset' => [int](../types/int.md), \]) === [$messages\_FoundGifs](../types/messages_FoundGifs.md) +$MadelineProto->[messages->searchGifs](messages.searchGifs.md)(\['q' => [string](../types/string.md), 'offset' => [int](../types/int.md), \]) === [$messages.FoundGifs](../types/messages.FoundGifs.md) ***

-$MadelineProto->[messages->searchGlobal](messages.searchGlobal.md)(\['folder_id' => [int](../types/int.md), 'q' => [string](../types/string.md), 'offset_rate' => [int](../types/int.md), 'offset_peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->searchGlobal](messages.searchGlobal.md)(\['folder_id' => [int](../types/int.md), 'q' => [string](../types/string.md), 'offset_rate' => [int](../types/int.md), 'offset_peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[messages->searchStickerSets](messages.searchStickerSets.md)(\['exclude_featured' => [Bool](../types/Bool.md), 'q' => [string](../types/string.md), 'hash' => [int](../types/int.md), \]) === [$messages\_FoundStickerSets](../types/messages_FoundStickerSets.md) +$MadelineProto->[messages->searchStickerSets](messages.searchStickerSets.md)(\['exclude_featured' => [Bool](../types/Bool.md), 'q' => [string](../types/string.md), 'hash' => [int](../types/int.md), \]) === [$messages.FoundStickerSets](../types/messages.FoundStickerSets.md) ***

-$MadelineProto->[messages->sendEncrypted](messages.sendEncrypted.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'message' => [DecryptedMessage](../types/DecryptedMessage.md), \]) === [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +$MadelineProto->[messages->sendEncrypted](messages.sendEncrypted.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), \]) === [$messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ***

-$MadelineProto->[messages->sendEncryptedFile](messages.sendEncryptedFile.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'message' => [DecryptedMessage](../types/DecryptedMessage.md), 'file' => [InputEncryptedFile](../types/InputEncryptedFile.md), \]) === [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +$MadelineProto->[messages->sendEncryptedFile](messages.sendEncryptedFile.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), 'file' => [InputEncryptedFile](../types/InputEncryptedFile.md), \]) === [$messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ***

-$MadelineProto->[messages->sendEncryptedService](messages.sendEncryptedService.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'message' => [DecryptedMessage](../types/DecryptedMessage.md), \]) === [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +$MadelineProto->[messages->sendEncryptedService](messages.sendEncryptedService.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), \]) === [$messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ***

@@ -1120,31 +1120,31 @@ $MadelineProto->[payments->clearSavedInfo](payments.clearSavedInfo.md)(\['creden ***

-$MadelineProto->[payments->getPaymentForm](payments.getPaymentForm.md)(\['msg_id' => [int](../types/int.md), \]) === [$payments\_PaymentForm](../types/payments_PaymentForm.md) +$MadelineProto->[payments->getPaymentForm](payments.getPaymentForm.md)(\['msg_id' => [int](../types/int.md), \]) === [$payments.PaymentForm](../types/payments.PaymentForm.md) ***

-$MadelineProto->[payments->getPaymentReceipt](payments.getPaymentReceipt.md)(\['msg_id' => [int](../types/int.md), \]) === [$payments\_PaymentReceipt](../types/payments_PaymentReceipt.md) +$MadelineProto->[payments->getPaymentReceipt](payments.getPaymentReceipt.md)(\['msg_id' => [int](../types/int.md), \]) === [$payments.PaymentReceipt](../types/payments.PaymentReceipt.md) ***

-$MadelineProto->[payments->getSavedInfo](payments.getSavedInfo.md)(\[\]) === [$payments\_SavedInfo](../types/payments_SavedInfo.md) +$MadelineProto->[payments->getSavedInfo](payments.getSavedInfo.md)(\[\]) === [$payments.SavedInfo](../types/payments.SavedInfo.md) ***

-$MadelineProto->[payments->sendPaymentForm](payments.sendPaymentForm.md)(\['msg_id' => [int](../types/int.md), 'requested_info_id' => [string](../types/string.md), 'shipping_option_id' => [string](../types/string.md), 'credentials' => [InputPaymentCredentials](../types/InputPaymentCredentials.md), \]) === [$payments\_PaymentResult](../types/payments_PaymentResult.md) +$MadelineProto->[payments->sendPaymentForm](payments.sendPaymentForm.md)(\['msg_id' => [int](../types/int.md), 'requested_info_id' => [string](../types/string.md), 'shipping_option_id' => [string](../types/string.md), 'credentials' => [InputPaymentCredentials](../types/InputPaymentCredentials.md), \]) === [$payments.PaymentResult](../types/payments.PaymentResult.md) ***

-$MadelineProto->[payments->validateRequestedInfo](payments.validateRequestedInfo.md)(\['save' => [Bool](../types/Bool.md), 'msg_id' => [int](../types/int.md), 'info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), \]) === [$payments\_ValidatedRequestedInfo](../types/payments_ValidatedRequestedInfo.md) +$MadelineProto->[payments->validateRequestedInfo](payments.validateRequestedInfo.md)(\['save' => [Bool](../types/Bool.md), 'msg_id' => [int](../types/int.md), 'info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), \]) === [$payments.ValidatedRequestedInfo](../types/payments.ValidatedRequestedInfo.md) ***

-$MadelineProto->[phone->acceptCall](phone.acceptCall.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'g_b' => [bytes](../types/bytes.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone\_PhoneCall](../types/phone_PhoneCall.md) +$MadelineProto->[phone->acceptCall](phone.acceptCall.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'g_b' => [bytes](../types/bytes.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone.PhoneCall](../types/phone.PhoneCall.md) ***

-$MadelineProto->[phone->confirmCall](phone.confirmCall.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'g_a' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone\_PhoneCall](../types/phone_PhoneCall.md) +$MadelineProto->[phone->confirmCall](phone.confirmCall.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'g_a' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone.PhoneCall](../types/phone.PhoneCall.md) ***

@@ -1160,7 +1160,7 @@ $MadelineProto->[phone->receivedCall](phone.receivedCall.md)(\['peer' => [InputP ***

-$MadelineProto->[phone->requestCall](phone.requestCall.md)(\['video' => [Bool](../types/Bool.md), 'user_id' => [InputUser](../types/InputUser.md), 'g_a_hash' => [bytes](../types/bytes.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone\_PhoneCall](../types/phone_PhoneCall.md) +$MadelineProto->[phone->requestCall](phone.requestCall.md)(\['video' => [Bool](../types/Bool.md), 'user_id' => [InputUser](../types/InputUser.md), 'g_a_hash' => [bytes](../types/bytes.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone.PhoneCall](../types/phone.PhoneCall.md) ***

@@ -1176,7 +1176,7 @@ $MadelineProto->[photos->deletePhotos](photos.deletePhotos.md)(\['id' => \[[Inpu ***

-$MadelineProto->[photos->getUserPhotos](photos.getUserPhotos.md)(\['user_id' => [InputUser](../types/InputUser.md), 'offset' => [int](../types/int.md), 'max_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$photos\_Photos](../types/photos_Photos.md) +$MadelineProto->[photos->getUserPhotos](photos.getUserPhotos.md)(\['user_id' => [InputUser](../types/InputUser.md), 'offset' => [int](../types/int.md), 'max_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$photos.Photos](../types/photos.Photos.md) ***

@@ -1184,39 +1184,39 @@ $MadelineProto->[photos->updateProfilePhoto](photos.updateProfilePhoto.md)(\['id ***

-$MadelineProto->[photos->uploadProfilePhoto](photos.uploadProfilePhoto.md)(\['file' => [InputFile](../types/InputFile.md), \]) === [$photos\_Photo](../types/photos_Photo.md) +$MadelineProto->[photos->uploadProfilePhoto](photos.uploadProfilePhoto.md)(\['file' => [InputFile](../types/InputFile.md), \]) === [$photos.Photo](../types/photos.Photo.md) ***

-$MadelineProto->[stickers->addStickerToSet](stickers.addStickerToSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), 'sticker' => [InputStickerSetItem](../types/InputStickerSetItem.md), \]) === [$messages\_StickerSet](../types/messages_StickerSet.md) +$MadelineProto->[stickers->addStickerToSet](stickers.addStickerToSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), 'sticker' => [InputStickerSetItem](../types/InputStickerSetItem.md), \]) === [$messages.StickerSet](../types/messages.StickerSet.md) ***

-$MadelineProto->[stickers->changeStickerPosition](stickers.changeStickerPosition.md)(\['sticker' => [InputDocument](../types/InputDocument.md), 'position' => [int](../types/int.md), \]) === [$messages\_StickerSet](../types/messages_StickerSet.md) +$MadelineProto->[stickers->changeStickerPosition](stickers.changeStickerPosition.md)(\['sticker' => [InputDocument](../types/InputDocument.md), 'position' => [int](../types/int.md), \]) === [$messages.StickerSet](../types/messages.StickerSet.md) ***

-$MadelineProto->[stickers->createStickerSet](stickers.createStickerSet.md)(\['masks' => [Bool](../types/Bool.md), 'user_id' => [InputUser](../types/InputUser.md), 'title' => [string](../types/string.md), 'short_name' => [string](../types/string.md), 'stickers' => \[[InputStickerSetItem](../types/InputStickerSetItem.md)\], \]) === [$messages\_StickerSet](../types/messages_StickerSet.md) +$MadelineProto->[stickers->createStickerSet](stickers.createStickerSet.md)(\['masks' => [Bool](../types/Bool.md), 'user_id' => [InputUser](../types/InputUser.md), 'title' => [string](../types/string.md), 'short_name' => [string](../types/string.md), 'stickers' => \[[InputStickerSetItem](../types/InputStickerSetItem.md)\], \]) === [$messages.StickerSet](../types/messages.StickerSet.md) ***

-$MadelineProto->[stickers->removeStickerFromSet](stickers.removeStickerFromSet.md)(\['sticker' => [InputDocument](../types/InputDocument.md), \]) === [$messages\_StickerSet](../types/messages_StickerSet.md) +$MadelineProto->[stickers->removeStickerFromSet](stickers.removeStickerFromSet.md)(\['sticker' => [InputDocument](../types/InputDocument.md), \]) === [$messages.StickerSet](../types/messages.StickerSet.md) ***

-$MadelineProto->[updates->getChannelDifference](updates.getChannelDifference.md)(\['force' => [Bool](../types/Bool.md), 'channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$updates\_ChannelDifference](../types/updates_ChannelDifference.md) +$MadelineProto->[updates->getChannelDifference](updates.getChannelDifference.md)(\['force' => [Bool](../types/Bool.md), 'channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$updates.ChannelDifference](../types/updates.ChannelDifference.md) ***

-$MadelineProto->[updates->getDifference](updates.getDifference.md)(\['pts' => [int](../types/int.md), 'pts_total_limit' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) === [$updates\_Difference](../types/updates_Difference.md) +$MadelineProto->[updates->getDifference](updates.getDifference.md)(\['pts' => [int](../types/int.md), 'pts_total_limit' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) === [$updates.Difference](../types/updates.Difference.md) ***

-$MadelineProto->[updates->getState](updates.getState.md)(\[\]) === [$updates\_State](../types/updates_State.md) +$MadelineProto->[updates->getState](updates.getState.md)(\[\]) === [$updates.State](../types/updates.State.md) ***

-$MadelineProto->[upload->getCdnFile](upload.getCdnFile.md)(\['file_token' => [bytes](../types/bytes.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_CdnFile](../types/upload_CdnFile.md) +$MadelineProto->[upload->getCdnFile](upload.getCdnFile.md)(\['file_token' => [bytes](../types/bytes.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload.CdnFile](../types/upload.CdnFile.md) ***

@@ -1224,7 +1224,7 @@ $MadelineProto->[upload->getCdnFileHashes](upload.getCdnFileHashes.md)(\['file_t ***

-$MadelineProto->[upload->getFile](upload.getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_File](../types/upload_File.md) +$MadelineProto->[upload->getFile](upload.getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload.File](../types/upload.File.md) ***

@@ -1232,7 +1232,7 @@ $MadelineProto->[upload->getFileHashes](upload.getFileHashes.md)(\['location' => ***

-$MadelineProto->[upload->getWebFile](upload.getWebFile.md)(\['location' => [InputWebFileLocation](../types/InputWebFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_WebFile](../types/upload_WebFile.md) +$MadelineProto->[upload->getWebFile](upload.getWebFile.md)(\['location' => [InputWebFileLocation](../types/InputWebFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload.WebFile](../types/upload.WebFile.md) ***

diff --git a/old_docs/API_docs_v102/methods/auth.checkPassword.md b/old_docs/API_docs_v102/methods/auth.checkPassword.md index ad2a88a2..510e6c03 100644 --- a/old_docs/API_docs_v102/methods/auth.checkPassword.md +++ b/old_docs/API_docs_v102/methods/auth.checkPassword.md @@ -16,7 +16,7 @@ You cannot use this method directly, use the complete_2fa_login method instead ( |password|[InputCheckPasswordSRP](../types/InputCheckPasswordSRP.md) | You cannot use this method directly, use the complete_2fa_login method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->checkPassword(['password' => InputCheckPasswordSRP, ]); +$auth.Authorization = $MadelineProto->auth->checkPassword(['password' => InputCheckPasswordSRP, ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.checkPassword({password=InputCheckPasswordSRP, }) +auth.Authorization = auth.checkPassword({password=InputCheckPasswordSRP, }) ``` ### Errors diff --git a/old_docs/API_docs_v102/methods/auth.exportAuthorization.md b/old_docs/API_docs_v102/methods/auth.exportAuthorization.md index 72063a2b..41a1f87d 100644 --- a/old_docs/API_docs_v102/methods/auth.exportAuthorization.md +++ b/old_docs/API_docs_v102/methods/auth.exportAuthorization.md @@ -16,7 +16,7 @@ You cannot use this method directly, use $MadelineProto->exportAuthorization() i |dc\_id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| -### Return type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) +### Return type: [auth.ExportedAuthorization](../types/auth.ExportedAuthorization.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_ExportedAuthorization = $MadelineProto->auth->exportAuthorization(['dc_id' => int, ]); +$auth.ExportedAuthorization = $MadelineProto->auth->exportAuthorization(['dc_id' => int, ]); ``` Or, if you're into Lua: ```lua -auth_ExportedAuthorization = auth.exportAuthorization({dc_id=int, }) +auth.ExportedAuthorization = auth.exportAuthorization({dc_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v102/methods/auth.importAuthorization.md b/old_docs/API_docs_v102/methods/auth.importAuthorization.md index d9c13751..5257e0b0 100644 --- a/old_docs/API_docs_v102/methods/auth.importAuthorization.md +++ b/old_docs/API_docs_v102/methods/auth.importAuthorization.md @@ -17,7 +17,7 @@ You cannot use this method directly, use $MadelineProto->importAuthorization($au |bytes|[bytes](../types/bytes.md) | You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => 'bytes', ]); +$auth.Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.importAuthorization({id=int, bytes='bytes', }) +auth.Authorization = auth.importAuthorization({id=int, bytes='bytes', }) ``` ### Errors diff --git a/old_docs/API_docs_v102/methods/auth.importBotAuthorization.md b/old_docs/API_docs_v102/methods/auth.importBotAuthorization.md index 3161d6be..a4ea8027 100644 --- a/old_docs/API_docs_v102/methods/auth.importBotAuthorization.md +++ b/old_docs/API_docs_v102/methods/auth.importBotAuthorization.md @@ -18,7 +18,7 @@ You cannot use this method directly, use the botLogin method instead (see https: |bot\_auth\_token|[string](../types/string.md) | You cannot use this method directly, use the botLogin method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **YES** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->importBotAuthorization(['api_id' => int, 'api_hash' => 'string', 'bot_auth_token' => 'string', ]); +$auth.Authorization = $MadelineProto->auth->importBotAuthorization(['api_id' => int, 'api_hash' => 'string', 'bot_auth_token' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.importBotAuthorization({api_id=int, api_hash='string', bot_auth_token='string', }) +auth.Authorization = auth.importBotAuthorization({api_id=int, api_hash='string', bot_auth_token='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v102/methods/auth.recoverPassword.md b/old_docs/API_docs_v102/methods/auth.recoverPassword.md index f7cbf4a4..2e78444b 100644 --- a/old_docs/API_docs_v102/methods/auth.recoverPassword.md +++ b/old_docs/API_docs_v102/methods/auth.recoverPassword.md @@ -16,7 +16,7 @@ Reset the [2FA password](https://core.telegram.org/api/srp) using the recovery c |code|[string](../types/string.md) | Code received via email | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->recoverPassword(['code' => 'string', ]); +$auth.Authorization = $MadelineProto->auth->recoverPassword(['code' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.recoverPassword({code='string', }) +auth.Authorization = auth.recoverPassword({code='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v102/methods/auth.requestPasswordRecovery.md b/old_docs/API_docs_v102/methods/auth.requestPasswordRecovery.md index 5cd77936..ff1ecc02 100644 --- a/old_docs/API_docs_v102/methods/auth.requestPasswordRecovery.md +++ b/old_docs/API_docs_v102/methods/auth.requestPasswordRecovery.md @@ -11,7 +11,7 @@ Request recovery code of a [2FA password](https://core.telegram.org/api/srp), on -### Return type: [auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) +### Return type: [auth.PasswordRecovery](../types/auth.PasswordRecovery.md) ### Can bots use this method: **NO** @@ -28,13 +28,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_PasswordRecovery = $MadelineProto->auth->requestPasswordRecovery(); +$auth.PasswordRecovery = $MadelineProto->auth->requestPasswordRecovery(); ``` Or, if you're into Lua: ```lua -auth_PasswordRecovery = auth.requestPasswordRecovery({}) +auth.PasswordRecovery = auth.requestPasswordRecovery({}) ``` ### Errors diff --git a/old_docs/API_docs_v102/methods/auth.resendCode.md b/old_docs/API_docs_v102/methods/auth.resendCode.md index a395a91b..f59f1b7b 100644 --- a/old_docs/API_docs_v102/methods/auth.resendCode.md +++ b/old_docs/API_docs_v102/methods/auth.resendCode.md @@ -17,7 +17,7 @@ Resend the login code via another medium, the phone code type is determined by t |phone\_code\_hash|[string](../types/string.md) | The phone code hash obtained from [auth.sendCode](../methods/auth.sendCode.md) | Yes| -### Return type: [auth\_SentCode](../types/auth_SentCode.md) +### Return type: [auth.SentCode](../types/auth.SentCode.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_SentCode = $MadelineProto->auth->resendCode(['phone_number' => 'string', 'phone_code_hash' => 'string', ]); +$auth.SentCode = $MadelineProto->auth->resendCode(['phone_number' => 'string', 'phone_code_hash' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_SentCode = auth.resendCode({phone_number='string', phone_code_hash='string', }) +auth.SentCode = auth.resendCode({phone_number='string', phone_code_hash='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v102/methods/auth.sendCode.md b/old_docs/API_docs_v102/methods/auth.sendCode.md index be14f1bf..cb94998f 100644 --- a/old_docs/API_docs_v102/methods/auth.sendCode.md +++ b/old_docs/API_docs_v102/methods/auth.sendCode.md @@ -19,7 +19,7 @@ You cannot use this method directly, use the phoneLogin method instead (see http |settings|[CodeSettings](../types/CodeSettings.md) | You cannot use this method directly, use the phoneLogin method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_SentCode](../types/auth_SentCode.md) +### Return type: [auth.SentCode](../types/auth.SentCode.md) ### Can bots use this method: **NO** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_SentCode = $MadelineProto->auth->sendCode(['phone_number' => 'string', 'api_id' => int, 'api_hash' => 'string', 'settings' => CodeSettings, ]); +$auth.SentCode = $MadelineProto->auth->sendCode(['phone_number' => 'string', 'api_id' => int, 'api_hash' => 'string', 'settings' => CodeSettings, ]); ``` Or, if you're into Lua: ```lua -auth_SentCode = auth.sendCode({phone_number='string', api_id=int, api_hash='string', settings=CodeSettings, }) +auth.SentCode = auth.sendCode({phone_number='string', api_id=int, api_hash='string', settings=CodeSettings, }) ``` ### Errors diff --git a/old_docs/API_docs_v102/methods/auth.signIn.md b/old_docs/API_docs_v102/methods/auth.signIn.md index 54812a2e..95b14f32 100644 --- a/old_docs/API_docs_v102/methods/auth.signIn.md +++ b/old_docs/API_docs_v102/methods/auth.signIn.md @@ -18,7 +18,7 @@ You cannot use this method directly, use the completePhoneLogin method instead ( |phone\_code|[string](../types/string.md) | You cannot use this method directly, use the completePhoneLogin method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->signIn(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', ]); +$auth.Authorization = $MadelineProto->auth->signIn(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.signIn({phone_number='string', phone_code_hash='string', phone_code='string', }) +auth.Authorization = auth.signIn({phone_number='string', phone_code_hash='string', phone_code='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v102/methods/auth.signUp.md b/old_docs/API_docs_v102/methods/auth.signUp.md index 2aca2bfa..fdb5d628 100644 --- a/old_docs/API_docs_v102/methods/auth.signUp.md +++ b/old_docs/API_docs_v102/methods/auth.signUp.md @@ -20,7 +20,7 @@ You cannot use this method directly, use the completeSignup method instead (see |last\_name|[string](../types/string.md) | You cannot use this method directly, use the completeSignup method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **NO** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->signUp(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', 'first_name' => 'string', 'last_name' => 'string', ]); +$auth.Authorization = $MadelineProto->auth->signUp(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', 'first_name' => 'string', 'last_name' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.signUp({phone_number='string', phone_code_hash='string', phone_code='string', first_name='string', last_name='string', }) +auth.Authorization = auth.signUp({phone_number='string', phone_code_hash='string', phone_code='string', first_name='string', last_name='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v102/methods/channels.deleteMessages.md b/old_docs/API_docs_v102/methods/channels.deleteMessages.md index 10a439fb..8583e560 100644 --- a/old_docs/API_docs_v102/methods/channels.deleteMessages.md +++ b/old_docs/API_docs_v102/methods/channels.deleteMessages.md @@ -17,7 +17,7 @@ Delete messages in a [channel/supergroup](https://core.telegram.org/api/channel) |id|Array of [int](../types/int.md) | The IDs of messages to delete | Yes| -### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) +### Return type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedMessages = $MadelineProto->channels->deleteMessages(['channel' => InputChannel, 'id' => [int, int], ]); +$messages.AffectedMessages = $MadelineProto->channels->deleteMessages(['channel' => InputChannel, 'id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AffectedMessages = channels.deleteMessages({channel=InputChannel, id={int}, }) +messages.AffectedMessages = channels.deleteMessages({channel=InputChannel, id={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v102/methods/channels.deleteUserHistory.md b/old_docs/API_docs_v102/methods/channels.deleteUserHistory.md index 9b8b159f..6ccaf7dd 100644 --- a/old_docs/API_docs_v102/methods/channels.deleteUserHistory.md +++ b/old_docs/API_docs_v102/methods/channels.deleteUserHistory.md @@ -17,7 +17,7 @@ Delete all messages sent by a certain user in a [supergroup](https://core.telegr |user\_id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | User whose messages should be deleted | Optional| -### Return type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) +### Return type: [messages.AffectedHistory](../types/messages.AffectedHistory.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedHistory = $MadelineProto->channels->deleteUserHistory(['channel' => InputChannel, 'user_id' => InputUser, ]); +$messages.AffectedHistory = $MadelineProto->channels->deleteUserHistory(['channel' => InputChannel, 'user_id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -messages_AffectedHistory = channels.deleteUserHistory({channel=InputChannel, user_id=InputUser, }) +messages.AffectedHistory = channels.deleteUserHistory({channel=InputChannel, user_id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v102/methods/channels.getAdminLog.md b/old_docs/API_docs_v102/methods/channels.getAdminLog.md index e149f653..3b550a73 100644 --- a/old_docs/API_docs_v102/methods/channels.getAdminLog.md +++ b/old_docs/API_docs_v102/methods/channels.getAdminLog.md @@ -22,7 +22,7 @@ Get the admin log of a [channel/supergroup](https://core.telegram.org/api/channe |limit|[int](../types/int.md) | Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets) | Yes| -### Return type: [channels\_AdminLogResults](../types/channels_AdminLogResults.md) +### Return type: [channels.AdminLogResults](../types/channels.AdminLogResults.md) ### Can bots use this method: **NO** @@ -39,13 +39,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$channels_AdminLogResults = $MadelineProto->channels->getAdminLog(['channel' => InputChannel, 'q' => 'string', 'events_filter' => ChannelAdminLogEventsFilter, 'admins' => [InputUser, InputUser], 'max_id' => long, 'min_id' => long, 'limit' => int, ]); +$channels.AdminLogResults = $MadelineProto->channels->getAdminLog(['channel' => InputChannel, 'q' => 'string', 'events_filter' => ChannelAdminLogEventsFilter, 'admins' => [InputUser, InputUser], 'max_id' => long, 'min_id' => long, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -channels_AdminLogResults = channels.getAdminLog({channel=InputChannel, q='string', events_filter=ChannelAdminLogEventsFilter, admins={InputUser}, max_id=long, min_id=long, limit=int, }) +channels.AdminLogResults = channels.getAdminLog({channel=InputChannel, q='string', events_filter=ChannelAdminLogEventsFilter, admins={InputUser}, max_id=long, min_id=long, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v102/methods/channels.getAdminedPublicChannels.md b/old_docs/API_docs_v102/methods/channels.getAdminedPublicChannels.md index 1b358432..de834403 100644 --- a/old_docs/API_docs_v102/methods/channels.getAdminedPublicChannels.md +++ b/old_docs/API_docs_v102/methods/channels.getAdminedPublicChannels.md @@ -17,7 +17,7 @@ Get [channels/supergroups/geogroups](https://core.telegram.org/api/channel) we'r |check\_limit|[Bool](../types/Bool.md) | If set and the user has reached the limit of owned public [channels/supergroups/geogroups](https://core.telegram.org/api/channel), instead of returning the channel list one of the specified [errors](#possible-errors) will be returned.
Useful to check if a new public channel can indeed be created, even before asking the user to enter a channel username to use in [channels.checkUsername](../methods/channels.checkUsername.md)/[channels.updateUsername](../methods/channels.updateUsername.md). | Optional| -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **NO** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->channels->getAdminedPublicChannels(['by_location' => Bool, 'check_limit' => Bool, ]); +$messages.Chats = $MadelineProto->channels->getAdminedPublicChannels(['by_location' => Bool, 'check_limit' => Bool, ]); ``` Or, if you're into Lua: ```lua -messages_Chats = channels.getAdminedPublicChannels({by_location=Bool, check_limit=Bool, }) +messages.Chats = channels.getAdminedPublicChannels({by_location=Bool, check_limit=Bool, }) ``` diff --git a/old_docs/API_docs_v102/methods/channels.getChannels.md b/old_docs/API_docs_v102/methods/channels.getChannels.md index 368c96ce..ed9cf4a7 100644 --- a/old_docs/API_docs_v102/methods/channels.getChannels.md +++ b/old_docs/API_docs_v102/methods/channels.getChannels.md @@ -16,7 +16,7 @@ Get info about [channels/supergroups](https://core.telegram.org/api/channel) |id|Array of [Username, chat ID, Update, Message or InputChannel](../types/InputChannel.md) | The channel/supergroup MTProto IDs | Yes| -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->channels->getChannels(['id' => [InputChannel, InputChannel], ]); +$messages.Chats = $MadelineProto->channels->getChannels(['id' => [InputChannel, InputChannel], ]); ``` Or, if you're into Lua: ```lua -messages_Chats = channels.getChannels({id={InputChannel}, }) +messages.Chats = channels.getChannels({id={InputChannel}, }) ``` ### Errors diff --git a/old_docs/API_docs_v102/methods/channels.getFullChannel.md b/old_docs/API_docs_v102/methods/channels.getFullChannel.md index 08dc21bb..1369e0a0 100644 --- a/old_docs/API_docs_v102/methods/channels.getFullChannel.md +++ b/old_docs/API_docs_v102/methods/channels.getFullChannel.md @@ -16,7 +16,7 @@ You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo me |channel|[Username, chat ID, Update, Message or InputChannel](../types/InputChannel.md) | You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo methods instead (see https://docs.madelineproto.xyz for more info) | Optional| -### Return type: [messages\_ChatFull](../types/messages_ChatFull.md) +### Return type: [messages.ChatFull](../types/messages.ChatFull.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_ChatFull = $MadelineProto->channels->getFullChannel(['channel' => InputChannel, ]); +$messages.ChatFull = $MadelineProto->channels->getFullChannel(['channel' => InputChannel, ]); ``` Or, if you're into Lua: ```lua -messages_ChatFull = channels.getFullChannel({channel=InputChannel, }) +messages.ChatFull = channels.getFullChannel({channel=InputChannel, }) ``` ### Errors diff --git a/old_docs/API_docs_v102/methods/channels.getGroupsForDiscussion.md b/old_docs/API_docs_v102/methods/channels.getGroupsForDiscussion.md index 810f9aa8..0e97f199 100644 --- a/old_docs/API_docs_v102/methods/channels.getGroupsForDiscussion.md +++ b/old_docs/API_docs_v102/methods/channels.getGroupsForDiscussion.md @@ -11,7 +11,7 @@ Get all groups that can be used as [discussion groups](https://telegram.org/blog -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->channels->getGroupsForDiscussion(); +$messages.Chats = $MadelineProto->channels->getGroupsForDiscussion(); ``` Or, if you're into Lua: ```lua -messages_Chats = channels.getGroupsForDiscussion({}) +messages.Chats = channels.getGroupsForDiscussion({}) ``` diff --git a/old_docs/API_docs_v102/methods/channels.getLeftChannels.md b/old_docs/API_docs_v102/methods/channels.getLeftChannels.md index a5bcda2c..5a132204 100644 --- a/old_docs/API_docs_v102/methods/channels.getLeftChannels.md +++ b/old_docs/API_docs_v102/methods/channels.getLeftChannels.md @@ -16,7 +16,7 @@ Get a list of [channels/supergroups](https://core.telegram.org/api/channel) we l |offset|[int](../types/int.md) | Offset for [pagination](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->channels->getLeftChannels(['offset' => int, ]); +$messages.Chats = $MadelineProto->channels->getLeftChannels(['offset' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Chats = channels.getLeftChannels({offset=int, }) +messages.Chats = channels.getLeftChannels({offset=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v102/methods/channels.getMessages.md b/old_docs/API_docs_v102/methods/channels.getMessages.md index 428734e3..708e404a 100644 --- a/old_docs/API_docs_v102/methods/channels.getMessages.md +++ b/old_docs/API_docs_v102/methods/channels.getMessages.md @@ -17,7 +17,7 @@ Get [channel/supergroup](https://core.telegram.org/api/channel) messages |id|Array of [Message ID or InputMessage](../types/InputMessage.md) | The message IDs | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->channels->getMessages(['channel' => InputChannel, 'id' => [InputMessage, InputMessage], ]); +$messages.Messages = $MadelineProto->channels->getMessages(['channel' => InputChannel, 'id' => [InputMessage, InputMessage], ]); ``` Or, if you're into Lua: ```lua -messages_Messages = channels.getMessages({channel=InputChannel, id={InputMessage}, }) +messages.Messages = channels.getMessages({channel=InputChannel, id={InputMessage}, }) ``` ### Errors diff --git a/old_docs/API_docs_v102/methods/channels.getParticipant.md b/old_docs/API_docs_v102/methods/channels.getParticipant.md index aa2ce655..cf6a7771 100644 --- a/old_docs/API_docs_v102/methods/channels.getParticipant.md +++ b/old_docs/API_docs_v102/methods/channels.getParticipant.md @@ -17,7 +17,7 @@ Get info about a [channel/supergroup](https://core.telegram.org/api/channel) par |user\_id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | ID of participant to get info about | Optional| -### Return type: [channels\_ChannelParticipant](../types/channels_ChannelParticipant.md) +### Return type: [channels.ChannelParticipant](../types/channels.ChannelParticipant.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$channels_ChannelParticipant = $MadelineProto->channels->getParticipant(['channel' => InputChannel, 'user_id' => InputUser, ]); +$channels.ChannelParticipant = $MadelineProto->channels->getParticipant(['channel' => InputChannel, 'user_id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -channels_ChannelParticipant = channels.getParticipant({channel=InputChannel, user_id=InputUser, }) +channels.ChannelParticipant = channels.getParticipant({channel=InputChannel, user_id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v102/methods/channels.getParticipants.md b/old_docs/API_docs_v102/methods/channels.getParticipants.md index dd7e0087..c6b15b63 100644 --- a/old_docs/API_docs_v102/methods/channels.getParticipants.md +++ b/old_docs/API_docs_v102/methods/channels.getParticipants.md @@ -20,7 +20,7 @@ Get the participants of a channel |hash|Array of [int](../types/int.md) | IDs of previously fetched participants | Optional| -### Return type: [channels\_ChannelParticipants](../types/channels_ChannelParticipants.md) +### Return type: [channels.ChannelParticipants](../types/channels.ChannelParticipants.md) ### Can bots use this method: **YES** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$channels_ChannelParticipants = $MadelineProto->channels->getParticipants(['channel' => InputChannel, 'filter' => ChannelParticipantsFilter, 'offset' => int, 'limit' => int, 'hash' => [int, int], ]); +$channels.ChannelParticipants = $MadelineProto->channels->getParticipants(['channel' => InputChannel, 'filter' => ChannelParticipantsFilter, 'offset' => int, 'limit' => int, 'hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -channels_ChannelParticipants = channels.getParticipants({channel=InputChannel, filter=ChannelParticipantsFilter, offset=int, limit=int, hash={int}, }) +channels.ChannelParticipants = channels.getParticipants({channel=InputChannel, filter=ChannelParticipantsFilter, offset=int, limit=int, hash={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v102/methods/contacts.getBlocked.md b/old_docs/API_docs_v102/methods/contacts.getBlocked.md index 92f2f331..6ac1c343 100644 --- a/old_docs/API_docs_v102/methods/contacts.getBlocked.md +++ b/old_docs/API_docs_v102/methods/contacts.getBlocked.md @@ -17,7 +17,7 @@ Returns the list of blocked users. |limit|[int](../types/int.md) | The number of list elements to be returned | Yes| -### Return type: [contacts\_Blocked](../types/contacts_Blocked.md) +### Return type: [contacts.Blocked](../types/contacts.Blocked.md) ### Can bots use this method: **NO** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Blocked = $MadelineProto->contacts->getBlocked(['offset' => int, 'limit' => int, ]); +$contacts.Blocked = $MadelineProto->contacts->getBlocked(['offset' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -contacts_Blocked = contacts.getBlocked({offset=int, limit=int, }) +contacts.Blocked = contacts.getBlocked({offset=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v102/methods/contacts.getContacts.md b/old_docs/API_docs_v102/methods/contacts.getContacts.md index c67e6240..609549b0 100644 --- a/old_docs/API_docs_v102/methods/contacts.getContacts.md +++ b/old_docs/API_docs_v102/methods/contacts.getContacts.md @@ -16,7 +16,7 @@ Returns the current user's contact list. |hash|Array of [int](../types/int.md) | User IDs of previously cached contacts | Optional| -### Return type: [contacts\_Contacts](../types/contacts_Contacts.md) +### Return type: [contacts.Contacts](../types/contacts.Contacts.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Contacts = $MadelineProto->contacts->getContacts(['hash' => [int, int], ]); +$contacts.Contacts = $MadelineProto->contacts->getContacts(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -contacts_Contacts = contacts.getContacts({hash={int}, }) +contacts.Contacts = contacts.getContacts({hash={int}, }) ``` diff --git a/old_docs/API_docs_v102/methods/contacts.getTopPeers.md b/old_docs/API_docs_v102/methods/contacts.getTopPeers.md index 8cb7f245..9957dd2c 100644 --- a/old_docs/API_docs_v102/methods/contacts.getTopPeers.md +++ b/old_docs/API_docs_v102/methods/contacts.getTopPeers.md @@ -26,7 +26,7 @@ Get most used peers |hash|Array of [int](../types/int.md) | Peer IDs of previously cached peers | Optional| -### Return type: [contacts\_TopPeers](../types/contacts_TopPeers.md) +### Return type: [contacts.TopPeers](../types/contacts.TopPeers.md) ### Can bots use this method: **NO** @@ -43,13 +43,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_TopPeers = $MadelineProto->contacts->getTopPeers(['correspondents' => Bool, 'bots_pm' => Bool, 'bots_inline' => Bool, 'phone_calls' => Bool, 'forward_users' => Bool, 'forward_chats' => Bool, 'groups' => Bool, 'channels' => Bool, 'offset' => int, 'limit' => int, 'hash' => [int, int], ]); +$contacts.TopPeers = $MadelineProto->contacts->getTopPeers(['correspondents' => Bool, 'bots_pm' => Bool, 'bots_inline' => Bool, 'phone_calls' => Bool, 'forward_users' => Bool, 'forward_chats' => Bool, 'groups' => Bool, 'channels' => Bool, 'offset' => int, 'limit' => int, 'hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -contacts_TopPeers = contacts.getTopPeers({correspondents=Bool, bots_pm=Bool, bots_inline=Bool, phone_calls=Bool, forward_users=Bool, forward_chats=Bool, groups=Bool, channels=Bool, offset=int, limit=int, hash={int}, }) +contacts.TopPeers = contacts.getTopPeers({correspondents=Bool, bots_pm=Bool, bots_inline=Bool, phone_calls=Bool, forward_users=Bool, forward_chats=Bool, groups=Bool, channels=Bool, offset=int, limit=int, hash={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v102/methods/contacts.importContacts.md b/old_docs/API_docs_v102/methods/contacts.importContacts.md index 7c795780..dbb9b7fa 100644 --- a/old_docs/API_docs_v102/methods/contacts.importContacts.md +++ b/old_docs/API_docs_v102/methods/contacts.importContacts.md @@ -16,7 +16,7 @@ Imports contacts: saves a full list on the server, adds already registered conta |contacts|Array of [InputContact](../types/InputContact.md) | The numbers to import | Yes| -### Return type: [contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) +### Return type: [contacts.ImportedContacts](../types/contacts.ImportedContacts.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_ImportedContacts = $MadelineProto->contacts->importContacts(['contacts' => [InputContact, InputContact], ]); +$contacts.ImportedContacts = $MadelineProto->contacts->importContacts(['contacts' => [InputContact, InputContact], ]); ``` Or, if you're into Lua: ```lua -contacts_ImportedContacts = contacts.importContacts({contacts={InputContact}, }) +contacts.ImportedContacts = contacts.importContacts({contacts={InputContact}, }) ``` diff --git a/old_docs/API_docs_v102/methods/contacts.resolveUsername.md b/old_docs/API_docs_v102/methods/contacts.resolveUsername.md index 05e3d854..46f1eb50 100644 --- a/old_docs/API_docs_v102/methods/contacts.resolveUsername.md +++ b/old_docs/API_docs_v102/methods/contacts.resolveUsername.md @@ -16,7 +16,7 @@ You cannot use this method directly, use the resolveUsername, getPwrChat, getInf |username|[string](../types/string.md) | You cannot use this method directly, use the resolveUsername, getPwrChat, getInfo, getFullInfo methods instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [contacts\_ResolvedPeer](../types/contacts_ResolvedPeer.md) +### Return type: [contacts.ResolvedPeer](../types/contacts.ResolvedPeer.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_ResolvedPeer = $MadelineProto->contacts->resolveUsername(['username' => 'string', ]); +$contacts.ResolvedPeer = $MadelineProto->contacts->resolveUsername(['username' => 'string', ]); ``` Or, if you're into Lua: ```lua -contacts_ResolvedPeer = contacts.resolveUsername({username='string', }) +contacts.ResolvedPeer = contacts.resolveUsername({username='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v102/methods/contacts.search.md b/old_docs/API_docs_v102/methods/contacts.search.md index 2f39d6f1..ec04c7f9 100644 --- a/old_docs/API_docs_v102/methods/contacts.search.md +++ b/old_docs/API_docs_v102/methods/contacts.search.md @@ -17,7 +17,7 @@ Returns users found by username substring. |limit|[int](../types/int.md) | Maximum number of users to be returned | Yes| -### Return type: [contacts\_Found](../types/contacts_Found.md) +### Return type: [contacts.Found](../types/contacts.Found.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Found = $MadelineProto->contacts->search(['q' => 'string', 'limit' => int, ]); +$contacts.Found = $MadelineProto->contacts->search(['q' => 'string', 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -contacts_Found = contacts.search({q='string', limit=int, }) +contacts.Found = contacts.search({q='string', limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v102/methods/help.editUserInfo.md b/old_docs/API_docs_v102/methods/help.editUserInfo.md index 7d49e820..0dd21b80 100644 --- a/old_docs/API_docs_v102/methods/help.editUserInfo.md +++ b/old_docs/API_docs_v102/methods/help.editUserInfo.md @@ -19,7 +19,7 @@ Internal use |parse\_mode| [string](../types/string.md) | Whether to parse HTML or Markdown markup in the message| Optional | -### Return type: [help\_UserInfo](../types/help_UserInfo.md) +### Return type: [help.UserInfo](../types/help.UserInfo.md) ### Can bots use this method: **NO** @@ -36,19 +36,19 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_UserInfo = $MadelineProto->help->editUserInfo(['user_id' => InputUser, 'message' => 'string', 'entities' => [MessageEntity, MessageEntity], 'parse_mode' => 'string', ]); +$help.UserInfo = $MadelineProto->help->editUserInfo(['user_id' => InputUser, 'message' => 'string', 'entities' => [MessageEntity, MessageEntity], 'parse_mode' => 'string', ]); ``` Or, if you're into Lua: ```lua -help_UserInfo = help.editUserInfo({user_id=InputUser, message='string', entities={MessageEntity}, parseMode='string', }) +help.UserInfo = help.editUserInfo({user_id=InputUser, message='string', entities={MessageEntity}, parseMode='string', }) ``` ## Return value -If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [help\_UserInfo](../types/help_UserInfo.md) will be returned instead. +If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [help.UserInfo](../types/help.UserInfo.md) will be returned instead. diff --git a/old_docs/API_docs_v102/methods/help.getAppUpdate.md b/old_docs/API_docs_v102/methods/help.getAppUpdate.md index e744d727..2a81fa8f 100644 --- a/old_docs/API_docs_v102/methods/help.getAppUpdate.md +++ b/old_docs/API_docs_v102/methods/help.getAppUpdate.md @@ -16,7 +16,7 @@ Returns information on update availability for the current application. |source|[string](../types/string.md) | Source | Yes| -### Return type: [help\_AppUpdate](../types/help_AppUpdate.md) +### Return type: [help.AppUpdate](../types/help.AppUpdate.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_AppUpdate = $MadelineProto->help->getAppUpdate(['source' => 'string', ]); +$help.AppUpdate = $MadelineProto->help->getAppUpdate(['source' => 'string', ]); ``` Or, if you're into Lua: ```lua -help_AppUpdate = help.getAppUpdate({source='string', }) +help.AppUpdate = help.getAppUpdate({source='string', }) ``` diff --git a/old_docs/API_docs_v102/methods/help.getDeepLinkInfo.md b/old_docs/API_docs_v102/methods/help.getDeepLinkInfo.md index e3269bbc..e6e7d6b8 100644 --- a/old_docs/API_docs_v102/methods/help.getDeepLinkInfo.md +++ b/old_docs/API_docs_v102/methods/help.getDeepLinkInfo.md @@ -16,7 +16,7 @@ Get info about a `t.me` link |path|[string](../types/string.md) | Path in `t.me/path` | Yes| -### Return type: [help\_DeepLinkInfo](../types/help_DeepLinkInfo.md) +### Return type: [help.DeepLinkInfo](../types/help.DeepLinkInfo.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_DeepLinkInfo = $MadelineProto->help->getDeepLinkInfo(['path' => 'string', ]); +$help.DeepLinkInfo = $MadelineProto->help->getDeepLinkInfo(['path' => 'string', ]); ``` Or, if you're into Lua: ```lua -help_DeepLinkInfo = help.getDeepLinkInfo({path='string', }) +help.DeepLinkInfo = help.getDeepLinkInfo({path='string', }) ``` diff --git a/old_docs/API_docs_v102/methods/help.getInviteText.md b/old_docs/API_docs_v102/methods/help.getInviteText.md index 6fd67362..0d427974 100644 --- a/old_docs/API_docs_v102/methods/help.getInviteText.md +++ b/old_docs/API_docs_v102/methods/help.getInviteText.md @@ -11,7 +11,7 @@ Returns text of a text message with an invitation. -### Return type: [help\_InviteText](../types/help_InviteText.md) +### Return type: [help.InviteText](../types/help.InviteText.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_InviteText = $MadelineProto->help->getInviteText(); +$help.InviteText = $MadelineProto->help->getInviteText(); ``` Or, if you're into Lua: ```lua -help_InviteText = help.getInviteText({}) +help.InviteText = help.getInviteText({}) ``` diff --git a/old_docs/API_docs_v102/methods/help.getPassportConfig.md b/old_docs/API_docs_v102/methods/help.getPassportConfig.md index 3710737d..f71e67b2 100644 --- a/old_docs/API_docs_v102/methods/help.getPassportConfig.md +++ b/old_docs/API_docs_v102/methods/help.getPassportConfig.md @@ -16,7 +16,7 @@ Get [passport](https://core.telegram.org/passport) configuration |hash|Array of [int](../types/int.md) | Hash | Optional| -### Return type: [help\_PassportConfig](../types/help_PassportConfig.md) +### Return type: [help.PassportConfig](../types/help.PassportConfig.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_PassportConfig = $MadelineProto->help->getPassportConfig(['hash' => [int, int], ]); +$help.PassportConfig = $MadelineProto->help->getPassportConfig(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -help_PassportConfig = help.getPassportConfig({hash={int}, }) +help.PassportConfig = help.getPassportConfig({hash={int}, }) ``` diff --git a/old_docs/API_docs_v102/methods/help.getProxyData.md b/old_docs/API_docs_v102/methods/help.getProxyData.md index bbaf4c53..9a0aaa9a 100644 --- a/old_docs/API_docs_v102/methods/help.getProxyData.md +++ b/old_docs/API_docs_v102/methods/help.getProxyData.md @@ -11,7 +11,7 @@ Get promotion info of the currently-used MTProxy -### Return type: [help\_ProxyData](../types/help_ProxyData.md) +### Return type: [help.ProxyData](../types/help.ProxyData.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_ProxyData = $MadelineProto->help->getProxyData(); +$help.ProxyData = $MadelineProto->help->getProxyData(); ``` Or, if you're into Lua: ```lua -help_ProxyData = help.getProxyData({}) +help.ProxyData = help.getProxyData({}) ``` diff --git a/old_docs/API_docs_v102/methods/help.getRecentMeUrls.md b/old_docs/API_docs_v102/methods/help.getRecentMeUrls.md index 38cc44c8..a5ab9e06 100644 --- a/old_docs/API_docs_v102/methods/help.getRecentMeUrls.md +++ b/old_docs/API_docs_v102/methods/help.getRecentMeUrls.md @@ -16,7 +16,7 @@ Get recently used `t.me` links |referer|[string](../types/string.md) | Referer | Yes| -### Return type: [help\_RecentMeUrls](../types/help_RecentMeUrls.md) +### Return type: [help.RecentMeUrls](../types/help.RecentMeUrls.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_RecentMeUrls = $MadelineProto->help->getRecentMeUrls(['referer' => 'string', ]); +$help.RecentMeUrls = $MadelineProto->help->getRecentMeUrls(['referer' => 'string', ]); ``` Or, if you're into Lua: ```lua -help_RecentMeUrls = help.getRecentMeUrls({referer='string', }) +help.RecentMeUrls = help.getRecentMeUrls({referer='string', }) ``` diff --git a/old_docs/API_docs_v102/methods/help.getSupport.md b/old_docs/API_docs_v102/methods/help.getSupport.md index 7a577892..8a8df916 100644 --- a/old_docs/API_docs_v102/methods/help.getSupport.md +++ b/old_docs/API_docs_v102/methods/help.getSupport.md @@ -11,7 +11,7 @@ Returns the support user for the 'ask a question' feature. -### Return type: [help\_Support](../types/help_Support.md) +### Return type: [help.Support](../types/help.Support.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_Support = $MadelineProto->help->getSupport(); +$help.Support = $MadelineProto->help->getSupport(); ``` Or, if you're into Lua: ```lua -help_Support = help.getSupport({}) +help.Support = help.getSupport({}) ``` diff --git a/old_docs/API_docs_v102/methods/help.getSupportName.md b/old_docs/API_docs_v102/methods/help.getSupportName.md index d2b1c93c..fbf9ef52 100644 --- a/old_docs/API_docs_v102/methods/help.getSupportName.md +++ b/old_docs/API_docs_v102/methods/help.getSupportName.md @@ -11,7 +11,7 @@ Get localized name of the telegram support user -### Return type: [help\_SupportName](../types/help_SupportName.md) +### Return type: [help.SupportName](../types/help.SupportName.md) ### Can bots use this method: **NO** @@ -28,13 +28,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_SupportName = $MadelineProto->help->getSupportName(); +$help.SupportName = $MadelineProto->help->getSupportName(); ``` Or, if you're into Lua: ```lua -help_SupportName = help.getSupportName({}) +help.SupportName = help.getSupportName({}) ``` ### Errors diff --git a/old_docs/API_docs_v102/methods/help.getTermsOfServiceUpdate.md b/old_docs/API_docs_v102/methods/help.getTermsOfServiceUpdate.md index 7a8ebd65..636a054b 100644 --- a/old_docs/API_docs_v102/methods/help.getTermsOfServiceUpdate.md +++ b/old_docs/API_docs_v102/methods/help.getTermsOfServiceUpdate.md @@ -11,7 +11,7 @@ Look for updates of telegram's terms of service -### Return type: [help\_TermsOfServiceUpdate](../types/help_TermsOfServiceUpdate.md) +### Return type: [help.TermsOfServiceUpdate](../types/help.TermsOfServiceUpdate.md) ### Can bots use this method: **NO** @@ -28,13 +28,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_TermsOfServiceUpdate = $MadelineProto->help->getTermsOfServiceUpdate(); +$help.TermsOfServiceUpdate = $MadelineProto->help->getTermsOfServiceUpdate(); ``` Or, if you're into Lua: ```lua -help_TermsOfServiceUpdate = help.getTermsOfServiceUpdate({}) +help.TermsOfServiceUpdate = help.getTermsOfServiceUpdate({}) ``` ### Errors diff --git a/old_docs/API_docs_v102/methods/help.getUserInfo.md b/old_docs/API_docs_v102/methods/help.getUserInfo.md index 353429d6..27b65cf7 100644 --- a/old_docs/API_docs_v102/methods/help.getUserInfo.md +++ b/old_docs/API_docs_v102/methods/help.getUserInfo.md @@ -16,7 +16,7 @@ Internal use |user\_id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | User ID | Optional| -### Return type: [help\_UserInfo](../types/help_UserInfo.md) +### Return type: [help.UserInfo](../types/help.UserInfo.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_UserInfo = $MadelineProto->help->getUserInfo(['user_id' => InputUser, ]); +$help.UserInfo = $MadelineProto->help->getUserInfo(['user_id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -help_UserInfo = help.getUserInfo({user_id=InputUser, }) +help.UserInfo = help.getUserInfo({user_id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v102/methods/messages.deleteHistory.md b/old_docs/API_docs_v102/methods/messages.deleteHistory.md index 53ebf056..1d7be654 100644 --- a/old_docs/API_docs_v102/methods/messages.deleteHistory.md +++ b/old_docs/API_docs_v102/methods/messages.deleteHistory.md @@ -19,7 +19,7 @@ Deletes communication history. |max\_id|[int](../types/int.md) | Maximum ID of message to delete | Yes| -### Return type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) +### Return type: [messages.AffectedHistory](../types/messages.AffectedHistory.md) ### Can bots use this method: **NO** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedHistory = $MadelineProto->messages->deleteHistory(['just_clear' => Bool, 'revoke' => Bool, 'peer' => InputPeer, 'max_id' => int, ]); +$messages.AffectedHistory = $MadelineProto->messages->deleteHistory(['just_clear' => Bool, 'revoke' => Bool, 'peer' => InputPeer, 'max_id' => int, ]); ``` Or, if you're into Lua: ```lua -messages_AffectedHistory = messages.deleteHistory({just_clear=Bool, revoke=Bool, peer=InputPeer, max_id=int, }) +messages.AffectedHistory = messages.deleteHistory({just_clear=Bool, revoke=Bool, peer=InputPeer, max_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v102/methods/messages.deleteMessages.md b/old_docs/API_docs_v102/methods/messages.deleteMessages.md index ade04cae..ade96e60 100644 --- a/old_docs/API_docs_v102/methods/messages.deleteMessages.md +++ b/old_docs/API_docs_v102/methods/messages.deleteMessages.md @@ -17,7 +17,7 @@ Deletes messages by their identifiers. |id|Array of [int](../types/int.md) | IDs of messages to delete, use channels->deleteMessages for supergroups | Yes| -### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) +### Return type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedMessages = $MadelineProto->messages->deleteMessages(['revoke' => Bool, 'id' => [int, int], ]); +$messages.AffectedMessages = $MadelineProto->messages->deleteMessages(['revoke' => Bool, 'id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AffectedMessages = messages.deleteMessages({revoke=Bool, id={int}, }) +messages.AffectedMessages = messages.deleteMessages({revoke=Bool, id={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v102/methods/messages.getAllChats.md b/old_docs/API_docs_v102/methods/messages.getAllChats.md index cdcc5430..97cc4817 100644 --- a/old_docs/API_docs_v102/methods/messages.getAllChats.md +++ b/old_docs/API_docs_v102/methods/messages.getAllChats.md @@ -16,7 +16,7 @@ Get all chats, channels and supergroups |except\_ids|Array of [int](../types/int.md) | Do not fetch these chats (MTProto id) | Yes| -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->messages->getAllChats(['except_ids' => [int, int], ]); +$messages.Chats = $MadelineProto->messages->getAllChats(['except_ids' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Chats = messages.getAllChats({except_ids={int}, }) +messages.Chats = messages.getAllChats({except_ids={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v102/methods/messages.getAllStickers.md b/old_docs/API_docs_v102/methods/messages.getAllStickers.md index 329b70be..0f0de7f1 100644 --- a/old_docs/API_docs_v102/methods/messages.getAllStickers.md +++ b/old_docs/API_docs_v102/methods/messages.getAllStickers.md @@ -16,7 +16,7 @@ Get all installed stickers |hash|Array of [int](../types/int.md) | The hash parameter of the previous result of this method | Optional| -### Return type: [messages\_AllStickers](../types/messages_AllStickers.md) +### Return type: [messages.AllStickers](../types/messages.AllStickers.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AllStickers = $MadelineProto->messages->getAllStickers(['hash' => [int, int], ]); +$messages.AllStickers = $MadelineProto->messages->getAllStickers(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AllStickers = messages.getAllStickers({hash={int}, }) +messages.AllStickers = messages.getAllStickers({hash={int}, }) ``` diff --git a/old_docs/API_docs_v102/methods/messages.getArchivedStickers.md b/old_docs/API_docs_v102/methods/messages.getArchivedStickers.md index d3abe9fc..c108376e 100644 --- a/old_docs/API_docs_v102/methods/messages.getArchivedStickers.md +++ b/old_docs/API_docs_v102/methods/messages.getArchivedStickers.md @@ -18,7 +18,7 @@ Get all archived stickers |limit|[int](../types/int.md) | Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_ArchivedStickers](../types/messages_ArchivedStickers.md) +### Return type: [messages.ArchivedStickers](../types/messages.ArchivedStickers.md) ### Can bots use this method: **NO** @@ -35,12 +35,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_ArchivedStickers = $MadelineProto->messages->getArchivedStickers(['masks' => Bool, 'offset_id' => long, 'limit' => int, ]); +$messages.ArchivedStickers = $MadelineProto->messages->getArchivedStickers(['masks' => Bool, 'offset_id' => long, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -messages_ArchivedStickers = messages.getArchivedStickers({masks=Bool, offset_id=long, limit=int, }) +messages.ArchivedStickers = messages.getArchivedStickers({masks=Bool, offset_id=long, limit=int, }) ``` diff --git a/old_docs/API_docs_v102/methods/messages.getBotCallbackAnswer.md b/old_docs/API_docs_v102/methods/messages.getBotCallbackAnswer.md index 015fc46b..10072386 100644 --- a/old_docs/API_docs_v102/methods/messages.getBotCallbackAnswer.md +++ b/old_docs/API_docs_v102/methods/messages.getBotCallbackAnswer.md @@ -19,7 +19,7 @@ Press an inline callback button and get a callback answer from the bot |data|[bytes](../types/bytes.md) | Callback data | Optional| -### Return type: [messages\_BotCallbackAnswer](../types/messages_BotCallbackAnswer.md) +### Return type: [messages.BotCallbackAnswer](../types/messages.BotCallbackAnswer.md) ### Can bots use this method: **NO** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_BotCallbackAnswer = $MadelineProto->messages->getBotCallbackAnswer(['game' => Bool, 'peer' => InputPeer, 'msg_id' => int, 'data' => 'bytes', ]); +$messages.BotCallbackAnswer = $MadelineProto->messages->getBotCallbackAnswer(['game' => Bool, 'peer' => InputPeer, 'msg_id' => int, 'data' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -messages_BotCallbackAnswer = messages.getBotCallbackAnswer({game=Bool, peer=InputPeer, msg_id=int, data='bytes', }) +messages.BotCallbackAnswer = messages.getBotCallbackAnswer({game=Bool, peer=InputPeer, msg_id=int, data='bytes', }) ``` ### Errors diff --git a/old_docs/API_docs_v102/methods/messages.getChats.md b/old_docs/API_docs_v102/methods/messages.getChats.md index c34b0488..146341f5 100644 --- a/old_docs/API_docs_v102/methods/messages.getChats.md +++ b/old_docs/API_docs_v102/methods/messages.getChats.md @@ -16,7 +16,7 @@ Returns chat basic info on their IDs. |id|Array of [int](../types/int.md) | The MTProto IDs of chats to fetch info about | Yes| -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->messages->getChats(['id' => [int, int], ]); +$messages.Chats = $MadelineProto->messages->getChats(['id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Chats = messages.getChats({id={int}, }) +messages.Chats = messages.getChats({id={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v102/methods/messages.getCommonChats.md b/old_docs/API_docs_v102/methods/messages.getCommonChats.md index fc7b2363..56a3ec01 100644 --- a/old_docs/API_docs_v102/methods/messages.getCommonChats.md +++ b/old_docs/API_docs_v102/methods/messages.getCommonChats.md @@ -18,7 +18,7 @@ Get chats in common with a user |limit|[int](../types/int.md) | Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->messages->getCommonChats(['user_id' => InputUser, 'max_id' => int, 'limit' => int, ]); +$messages.Chats = $MadelineProto->messages->getCommonChats(['user_id' => InputUser, 'max_id' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Chats = messages.getCommonChats({user_id=InputUser, max_id=int, limit=int, }) +messages.Chats = messages.getCommonChats({user_id=InputUser, max_id=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v102/methods/messages.getDhConfig.md b/old_docs/API_docs_v102/methods/messages.getDhConfig.md index 88ea4ab3..7b9da566 100644 --- a/old_docs/API_docs_v102/methods/messages.getDhConfig.md +++ b/old_docs/API_docs_v102/methods/messages.getDhConfig.md @@ -17,7 +17,7 @@ You cannot use this method directly, instead use $MadelineProto->getDhConfig(); |random\_length|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->getDhConfig(); | Yes| -### Return type: [messages\_DhConfig](../types/messages_DhConfig.md) +### Return type: [messages.DhConfig](../types/messages.DhConfig.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_DhConfig = $MadelineProto->messages->getDhConfig(['version' => int, 'random_length' => int, ]); +$messages.DhConfig = $MadelineProto->messages->getDhConfig(['version' => int, 'random_length' => int, ]); ``` Or, if you're into Lua: ```lua -messages_DhConfig = messages.getDhConfig({version=int, random_length=int, }) +messages.DhConfig = messages.getDhConfig({version=int, random_length=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v102/methods/messages.getDialogs.md b/old_docs/API_docs_v102/methods/messages.getDialogs.md index 4fce7d43..8f0e7f1a 100644 --- a/old_docs/API_docs_v102/methods/messages.getDialogs.md +++ b/old_docs/API_docs_v102/methods/messages.getDialogs.md @@ -22,7 +22,7 @@ Returns the current user dialog list. |hash|Array of [int](../types/int.md) | IDs of previously fetched dialogs | Optional| -### Return type: [messages\_Dialogs](../types/messages_Dialogs.md) +### Return type: [messages.Dialogs](../types/messages.Dialogs.md) ### Can bots use this method: **NO** @@ -39,13 +39,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Dialogs = $MadelineProto->messages->getDialogs(['exclude_pinned' => Bool, 'folder_id' => int, 'offset_date' => int, 'offset_id' => int, 'offset_peer' => InputPeer, 'limit' => int, 'hash' => [int, int], ]); +$messages.Dialogs = $MadelineProto->messages->getDialogs(['exclude_pinned' => Bool, 'folder_id' => int, 'offset_date' => int, 'offset_id' => int, 'offset_peer' => InputPeer, 'limit' => int, 'hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Dialogs = messages.getDialogs({exclude_pinned=Bool, folder_id=int, offset_date=int, offset_id=int, offset_peer=InputPeer, limit=int, hash={int}, }) +messages.Dialogs = messages.getDialogs({exclude_pinned=Bool, folder_id=int, offset_date=int, offset_id=int, offset_peer=InputPeer, limit=int, hash={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v102/methods/messages.getFavedStickers.md b/old_docs/API_docs_v102/methods/messages.getFavedStickers.md index 3ba077ef..19f64e43 100644 --- a/old_docs/API_docs_v102/methods/messages.getFavedStickers.md +++ b/old_docs/API_docs_v102/methods/messages.getFavedStickers.md @@ -16,7 +16,7 @@ Get faved stickers |hash|Array of [int](../types/int.md) | the hash parameter of the previous result of this method | Optional| -### Return type: [messages\_FavedStickers](../types/messages_FavedStickers.md) +### Return type: [messages.FavedStickers](../types/messages.FavedStickers.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_FavedStickers = $MadelineProto->messages->getFavedStickers(['hash' => [int, int], ]); +$messages.FavedStickers = $MadelineProto->messages->getFavedStickers(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_FavedStickers = messages.getFavedStickers({hash={int}, }) +messages.FavedStickers = messages.getFavedStickers({hash={int}, }) ``` diff --git a/old_docs/API_docs_v102/methods/messages.getFeaturedStickers.md b/old_docs/API_docs_v102/methods/messages.getFeaturedStickers.md index 8f2634c3..2d65d626 100644 --- a/old_docs/API_docs_v102/methods/messages.getFeaturedStickers.md +++ b/old_docs/API_docs_v102/methods/messages.getFeaturedStickers.md @@ -16,7 +16,7 @@ Get featured stickers |hash|Array of [int](../types/int.md) | the hash parameter of the previous result of this method | Optional| -### Return type: [messages\_FeaturedStickers](../types/messages_FeaturedStickers.md) +### Return type: [messages.FeaturedStickers](../types/messages.FeaturedStickers.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_FeaturedStickers = $MadelineProto->messages->getFeaturedStickers(['hash' => [int, int], ]); +$messages.FeaturedStickers = $MadelineProto->messages->getFeaturedStickers(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_FeaturedStickers = messages.getFeaturedStickers({hash={int}, }) +messages.FeaturedStickers = messages.getFeaturedStickers({hash={int}, }) ``` diff --git a/old_docs/API_docs_v102/methods/messages.getFullChat.md b/old_docs/API_docs_v102/methods/messages.getFullChat.md index abf23e21..de543651 100644 --- a/old_docs/API_docs_v102/methods/messages.getFullChat.md +++ b/old_docs/API_docs_v102/methods/messages.getFullChat.md @@ -16,7 +16,7 @@ You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo me |chat\_id|[Username, chat ID, Update, Message or InputPeer](../types/InputPeer.md) | You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo methods instead (see https://docs.madelineproto.xyz for more info) | Optional| -### Return type: [messages\_ChatFull](../types/messages_ChatFull.md) +### Return type: [messages.ChatFull](../types/messages.ChatFull.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_ChatFull = $MadelineProto->messages->getFullChat(['chat_id' => InputPeer, ]); +$messages.ChatFull = $MadelineProto->messages->getFullChat(['chat_id' => InputPeer, ]); ``` Or, if you're into Lua: ```lua -messages_ChatFull = messages.getFullChat({chat_id=InputPeer, }) +messages.ChatFull = messages.getFullChat({chat_id=InputPeer, }) ``` ### Errors diff --git a/old_docs/API_docs_v102/methods/messages.getGameHighScores.md b/old_docs/API_docs_v102/methods/messages.getGameHighScores.md index 0ee9d754..6e4dacb2 100644 --- a/old_docs/API_docs_v102/methods/messages.getGameHighScores.md +++ b/old_docs/API_docs_v102/methods/messages.getGameHighScores.md @@ -18,7 +18,7 @@ Get highscores of a game |user\_id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | Get high scores made by a certain user | Optional| -### Return type: [messages\_HighScores](../types/messages_HighScores.md) +### Return type: [messages.HighScores](../types/messages.HighScores.md) ### Can bots use this method: **YES** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_HighScores = $MadelineProto->messages->getGameHighScores(['peer' => InputPeer, 'id' => int, 'user_id' => InputUser, ]); +$messages.HighScores = $MadelineProto->messages->getGameHighScores(['peer' => InputPeer, 'id' => int, 'user_id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -messages_HighScores = messages.getGameHighScores({peer=InputPeer, id=int, user_id=InputUser, }) +messages.HighScores = messages.getGameHighScores({peer=InputPeer, id=int, user_id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v102/methods/messages.getHistory.md b/old_docs/API_docs_v102/methods/messages.getHistory.md index 9a3d5f8c..c7bd9850 100644 --- a/old_docs/API_docs_v102/methods/messages.getHistory.md +++ b/old_docs/API_docs_v102/methods/messages.getHistory.md @@ -23,7 +23,7 @@ Gets back the conversation history with one interlocutor / within a chat |hash|Array of [int](../types/int.md) | IDs of messages you already fetched | Optional| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **NO** @@ -40,13 +40,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->getHistory(['peer' => InputPeer, 'offset_id' => int, 'offset_date' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, 'hash' => [int, int], ]); +$messages.Messages = $MadelineProto->messages->getHistory(['peer' => InputPeer, 'offset_id' => int, 'offset_date' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, 'hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.getHistory({peer=InputPeer, offset_id=int, offset_date=int, add_offset=int, limit=int, max_id=int, min_id=int, hash={int}, }) +messages.Messages = messages.getHistory({peer=InputPeer, offset_id=int, offset_date=int, add_offset=int, limit=int, max_id=int, min_id=int, hash={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v102/methods/messages.getInlineBotResults.md b/old_docs/API_docs_v102/methods/messages.getInlineBotResults.md index ac251797..8a397236 100644 --- a/old_docs/API_docs_v102/methods/messages.getInlineBotResults.md +++ b/old_docs/API_docs_v102/methods/messages.getInlineBotResults.md @@ -20,7 +20,7 @@ Query an inline bot |offset|[string](../types/string.md) | The offset within the results, will be passed directly as-is to the bot. | Yes| -### Return type: [messages\_BotResults](../types/messages_BotResults.md) +### Return type: [messages.BotResults](../types/messages.BotResults.md) ### Can bots use this method: **NO** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_BotResults = $MadelineProto->messages->getInlineBotResults(['bot' => InputUser, 'peer' => InputPeer, 'geo_point' => InputGeoPoint, 'query' => 'string', 'offset' => 'string', ]); +$messages.BotResults = $MadelineProto->messages->getInlineBotResults(['bot' => InputUser, 'peer' => InputPeer, 'geo_point' => InputGeoPoint, 'query' => 'string', 'offset' => 'string', ]); ``` Or, if you're into Lua: ```lua -messages_BotResults = messages.getInlineBotResults({bot=InputUser, peer=InputPeer, geo_point=InputGeoPoint, query='string', offset='string', }) +messages.BotResults = messages.getInlineBotResults({bot=InputUser, peer=InputPeer, geo_point=InputGeoPoint, query='string', offset='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v102/methods/messages.getInlineGameHighScores.md b/old_docs/API_docs_v102/methods/messages.getInlineGameHighScores.md index 0d02b426..dbcb2cf6 100644 --- a/old_docs/API_docs_v102/methods/messages.getInlineGameHighScores.md +++ b/old_docs/API_docs_v102/methods/messages.getInlineGameHighScores.md @@ -17,7 +17,7 @@ Get highscores of a game sent using an inline bot |user\_id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | Get high scores of a certain user | Optional| -### Return type: [messages\_HighScores](../types/messages_HighScores.md) +### Return type: [messages.HighScores](../types/messages.HighScores.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_HighScores = $MadelineProto->messages->getInlineGameHighScores(['id' => InputBotInlineMessageID, 'user_id' => InputUser, ]); +$messages.HighScores = $MadelineProto->messages->getInlineGameHighScores(['id' => InputBotInlineMessageID, 'user_id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -messages_HighScores = messages.getInlineGameHighScores({id=InputBotInlineMessageID, user_id=InputUser, }) +messages.HighScores = messages.getInlineGameHighScores({id=InputBotInlineMessageID, user_id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v102/methods/messages.getMaskStickers.md b/old_docs/API_docs_v102/methods/messages.getMaskStickers.md index a09834e1..093645f6 100644 --- a/old_docs/API_docs_v102/methods/messages.getMaskStickers.md +++ b/old_docs/API_docs_v102/methods/messages.getMaskStickers.md @@ -16,7 +16,7 @@ Get installed mask stickers |hash|Array of [int](../types/int.md) | the hash parameter of the previous result of this method | Optional| -### Return type: [messages\_AllStickers](../types/messages_AllStickers.md) +### Return type: [messages.AllStickers](../types/messages.AllStickers.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AllStickers = $MadelineProto->messages->getMaskStickers(['hash' => [int, int], ]); +$messages.AllStickers = $MadelineProto->messages->getMaskStickers(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AllStickers = messages.getMaskStickers({hash={int}, }) +messages.AllStickers = messages.getMaskStickers({hash={int}, }) ``` diff --git a/old_docs/API_docs_v102/methods/messages.getMessageEditData.md b/old_docs/API_docs_v102/methods/messages.getMessageEditData.md index 1a083f08..7fd32e82 100644 --- a/old_docs/API_docs_v102/methods/messages.getMessageEditData.md +++ b/old_docs/API_docs_v102/methods/messages.getMessageEditData.md @@ -17,7 +17,7 @@ Find out if a media message's caption can be edited |id|[int](../types/int.md) | ID of message | Yes| -### Return type: [messages\_MessageEditData](../types/messages_MessageEditData.md) +### Return type: [messages.MessageEditData](../types/messages.MessageEditData.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_MessageEditData = $MadelineProto->messages->getMessageEditData(['peer' => InputPeer, 'id' => int, ]); +$messages.MessageEditData = $MadelineProto->messages->getMessageEditData(['peer' => InputPeer, 'id' => int, ]); ``` Or, if you're into Lua: ```lua -messages_MessageEditData = messages.getMessageEditData({peer=InputPeer, id=int, }) +messages.MessageEditData = messages.getMessageEditData({peer=InputPeer, id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v102/methods/messages.getMessages.md b/old_docs/API_docs_v102/methods/messages.getMessages.md index eb5ef6a6..0aed788d 100644 --- a/old_docs/API_docs_v102/methods/messages.getMessages.md +++ b/old_docs/API_docs_v102/methods/messages.getMessages.md @@ -16,7 +16,7 @@ Returns the list of messages by their IDs. |id|Array of [Message ID or InputMessage](../types/InputMessage.md) | The IDs of messages to fetch (only for users and normal groups) | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **YES** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->getMessages(['id' => [InputMessage, InputMessage], ]); +$messages.Messages = $MadelineProto->messages->getMessages(['id' => [InputMessage, InputMessage], ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.getMessages({id={InputMessage}, }) +messages.Messages = messages.getMessages({id={InputMessage}, }) ``` diff --git a/old_docs/API_docs_v102/methods/messages.getPeerDialogs.md b/old_docs/API_docs_v102/methods/messages.getPeerDialogs.md index 2ab5d661..1ec67e6a 100644 --- a/old_docs/API_docs_v102/methods/messages.getPeerDialogs.md +++ b/old_docs/API_docs_v102/methods/messages.getPeerDialogs.md @@ -16,7 +16,7 @@ Get dialog info of specified peers |peers|Array of [Username, chat ID, Update, Message or InputDialogPeer](../types/InputDialogPeer.md) | The peers | Yes| -### Return type: [messages\_PeerDialogs](../types/messages_PeerDialogs.md) +### Return type: [messages.PeerDialogs](../types/messages.PeerDialogs.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_PeerDialogs = $MadelineProto->messages->getPeerDialogs(['peers' => [InputDialogPeer, InputDialogPeer], ]); +$messages.PeerDialogs = $MadelineProto->messages->getPeerDialogs(['peers' => [InputDialogPeer, InputDialogPeer], ]); ``` Or, if you're into Lua: ```lua -messages_PeerDialogs = messages.getPeerDialogs({peers={InputDialogPeer}, }) +messages.PeerDialogs = messages.getPeerDialogs({peers={InputDialogPeer}, }) ``` ### Errors diff --git a/old_docs/API_docs_v102/methods/messages.getPinnedDialogs.md b/old_docs/API_docs_v102/methods/messages.getPinnedDialogs.md index 7fbfecd0..9b776f2a 100644 --- a/old_docs/API_docs_v102/methods/messages.getPinnedDialogs.md +++ b/old_docs/API_docs_v102/methods/messages.getPinnedDialogs.md @@ -16,7 +16,7 @@ Get pinned dialogs |folder\_id|[int](../types/int.md) | Folder ID | Yes| -### Return type: [messages\_PeerDialogs](../types/messages_PeerDialogs.md) +### Return type: [messages.PeerDialogs](../types/messages.PeerDialogs.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_PeerDialogs = $MadelineProto->messages->getPinnedDialogs(['folder_id' => int, ]); +$messages.PeerDialogs = $MadelineProto->messages->getPinnedDialogs(['folder_id' => int, ]); ``` Or, if you're into Lua: ```lua -messages_PeerDialogs = messages.getPinnedDialogs({folder_id=int, }) +messages.PeerDialogs = messages.getPinnedDialogs({folder_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v102/methods/messages.getRecentLocations.md b/old_docs/API_docs_v102/methods/messages.getRecentLocations.md index 40ec1285..4efeb49c 100644 --- a/old_docs/API_docs_v102/methods/messages.getRecentLocations.md +++ b/old_docs/API_docs_v102/methods/messages.getRecentLocations.md @@ -18,7 +18,7 @@ Get live location history of a certain user |hash|Array of [int](../types/int.md) | IDs of locations you already fetched | Optional| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **NO** @@ -35,12 +35,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->getRecentLocations(['peer' => InputPeer, 'limit' => int, 'hash' => [int, int], ]); +$messages.Messages = $MadelineProto->messages->getRecentLocations(['peer' => InputPeer, 'limit' => int, 'hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.getRecentLocations({peer=InputPeer, limit=int, hash={int}, }) +messages.Messages = messages.getRecentLocations({peer=InputPeer, limit=int, hash={int}, }) ``` diff --git a/old_docs/API_docs_v102/methods/messages.getRecentStickers.md b/old_docs/API_docs_v102/methods/messages.getRecentStickers.md index 28a70889..39cef16a 100644 --- a/old_docs/API_docs_v102/methods/messages.getRecentStickers.md +++ b/old_docs/API_docs_v102/methods/messages.getRecentStickers.md @@ -17,7 +17,7 @@ Get recent stickers |hash|Array of [int](../types/int.md) | IDs the hash parameter of the previous result of this method | Optional| -### Return type: [messages\_RecentStickers](../types/messages_RecentStickers.md) +### Return type: [messages.RecentStickers](../types/messages.RecentStickers.md) ### Can bots use this method: **NO** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_RecentStickers = $MadelineProto->messages->getRecentStickers(['attached' => Bool, 'hash' => [int, int], ]); +$messages.RecentStickers = $MadelineProto->messages->getRecentStickers(['attached' => Bool, 'hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_RecentStickers = messages.getRecentStickers({attached=Bool, hash={int}, }) +messages.RecentStickers = messages.getRecentStickers({attached=Bool, hash={int}, }) ``` diff --git a/old_docs/API_docs_v102/methods/messages.getSavedGifs.md b/old_docs/API_docs_v102/methods/messages.getSavedGifs.md index 1df7f37c..8b31f7b8 100644 --- a/old_docs/API_docs_v102/methods/messages.getSavedGifs.md +++ b/old_docs/API_docs_v102/methods/messages.getSavedGifs.md @@ -16,7 +16,7 @@ Get saved GIFs |hash|Array of [int](../types/int.md) | the hash parameter of the previous result of this method | Optional| -### Return type: [messages\_SavedGifs](../types/messages_SavedGifs.md) +### Return type: [messages.SavedGifs](../types/messages.SavedGifs.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_SavedGifs = $MadelineProto->messages->getSavedGifs(['hash' => [int, int], ]); +$messages.SavedGifs = $MadelineProto->messages->getSavedGifs(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_SavedGifs = messages.getSavedGifs({hash={int}, }) +messages.SavedGifs = messages.getSavedGifs({hash={int}, }) ``` diff --git a/old_docs/API_docs_v102/methods/messages.getSearchCounters.md b/old_docs/API_docs_v102/methods/messages.getSearchCounters.md index 7a3ff374..3fb15962 100644 --- a/old_docs/API_docs_v102/methods/messages.getSearchCounters.md +++ b/old_docs/API_docs_v102/methods/messages.getSearchCounters.md @@ -17,7 +17,7 @@ Get the number of results that would be found by a [messages.search](../methods/ |filters|Array of [MessagesFilter](../types/MessagesFilter.md) | Filters | Yes| -### Return type: [Vector\_of\_messages\_SearchCounter](../types/messages_SearchCounter.md) +### Return type: [Vector\_of\_messages.SearchCounter](../types/messages.SearchCounter.md) ### Can bots use this method: **NO** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$Vector_of_messages_SearchCounter = $MadelineProto->messages->getSearchCounters(['peer' => InputPeer, 'filters' => [MessagesFilter, MessagesFilter], ]); +$Vector_of_messages.SearchCounter = $MadelineProto->messages->getSearchCounters(['peer' => InputPeer, 'filters' => [MessagesFilter, MessagesFilter], ]); ``` Or, if you're into Lua: ```lua -Vector_of_messages_SearchCounter = messages.getSearchCounters({peer=InputPeer, filters={MessagesFilter}, }) +Vector_of_messages.SearchCounter = messages.getSearchCounters({peer=InputPeer, filters={MessagesFilter}, }) ``` diff --git a/old_docs/API_docs_v102/methods/messages.getStickerSet.md b/old_docs/API_docs_v102/methods/messages.getStickerSet.md index 45fca60f..f11887ee 100644 --- a/old_docs/API_docs_v102/methods/messages.getStickerSet.md +++ b/old_docs/API_docs_v102/methods/messages.getStickerSet.md @@ -16,7 +16,7 @@ Get info about a stickerset |stickerset|[InputStickerSet](../types/InputStickerSet.md) | Stickerset | Optional| -### Return type: [messages\_StickerSet](../types/messages_StickerSet.md) +### Return type: [messages.StickerSet](../types/messages.StickerSet.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StickerSet = $MadelineProto->messages->getStickerSet(['stickerset' => InputStickerSet, ]); +$messages.StickerSet = $MadelineProto->messages->getStickerSet(['stickerset' => InputStickerSet, ]); ``` Or, if you're into Lua: ```lua -messages_StickerSet = messages.getStickerSet({stickerset=InputStickerSet, }) +messages.StickerSet = messages.getStickerSet({stickerset=InputStickerSet, }) ``` ### Errors diff --git a/old_docs/API_docs_v102/methods/messages.getStickers.md b/old_docs/API_docs_v102/methods/messages.getStickers.md index 4f8b7598..ff99fbd2 100644 --- a/old_docs/API_docs_v102/methods/messages.getStickers.md +++ b/old_docs/API_docs_v102/methods/messages.getStickers.md @@ -17,7 +17,7 @@ Get stickers by emoji |hash|Array of [int](../types/int.md) | the hash parameter of the previous result of this method | Optional| -### Return type: [messages\_Stickers](../types/messages_Stickers.md) +### Return type: [messages.Stickers](../types/messages.Stickers.md) ### Can bots use this method: **NO** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Stickers = $MadelineProto->messages->getStickers(['emoticon' => 'string', 'hash' => [int, int], ]); +$messages.Stickers = $MadelineProto->messages->getStickers(['emoticon' => 'string', 'hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Stickers = messages.getStickers({emoticon='string', hash={int}, }) +messages.Stickers = messages.getStickers({emoticon='string', hash={int}, }) ``` diff --git a/old_docs/API_docs_v102/methods/messages.getUnreadMentions.md b/old_docs/API_docs_v102/methods/messages.getUnreadMentions.md index 33bba261..679ed841 100644 --- a/old_docs/API_docs_v102/methods/messages.getUnreadMentions.md +++ b/old_docs/API_docs_v102/methods/messages.getUnreadMentions.md @@ -21,7 +21,7 @@ Get unread messages where we were mentioned |min\_id|[int](../types/int.md) | Minimum message ID to return, [see pagination](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **NO** @@ -38,13 +38,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->getUnreadMentions(['peer' => InputPeer, 'offset_id' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); +$messages.Messages = $MadelineProto->messages->getUnreadMentions(['peer' => InputPeer, 'offset_id' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.getUnreadMentions({peer=InputPeer, offset_id=int, add_offset=int, limit=int, max_id=int, min_id=int, }) +messages.Messages = messages.getUnreadMentions({peer=InputPeer, offset_id=int, add_offset=int, limit=int, max_id=int, min_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v102/methods/messages.installStickerSet.md b/old_docs/API_docs_v102/methods/messages.installStickerSet.md index 1a95ca0b..83ce2121 100644 --- a/old_docs/API_docs_v102/methods/messages.installStickerSet.md +++ b/old_docs/API_docs_v102/methods/messages.installStickerSet.md @@ -17,7 +17,7 @@ Install a stickerset |archived|[Bool](../types/Bool.md) | Whether to archive stickerset | Yes| -### Return type: [messages\_StickerSetInstallResult](../types/messages_StickerSetInstallResult.md) +### Return type: [messages.StickerSetInstallResult](../types/messages.StickerSetInstallResult.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StickerSetInstallResult = $MadelineProto->messages->installStickerSet(['stickerset' => InputStickerSet, 'archived' => Bool, ]); +$messages.StickerSetInstallResult = $MadelineProto->messages->installStickerSet(['stickerset' => InputStickerSet, 'archived' => Bool, ]); ``` Or, if you're into Lua: ```lua -messages_StickerSetInstallResult = messages.installStickerSet({stickerset=InputStickerSet, archived=Bool, }) +messages.StickerSetInstallResult = messages.installStickerSet({stickerset=InputStickerSet, archived=Bool, }) ``` ### Errors diff --git a/old_docs/API_docs_v102/methods/messages.readHistory.md b/old_docs/API_docs_v102/methods/messages.readHistory.md index 39753375..52030c68 100644 --- a/old_docs/API_docs_v102/methods/messages.readHistory.md +++ b/old_docs/API_docs_v102/methods/messages.readHistory.md @@ -17,7 +17,7 @@ Marks message history as read. |max\_id|[int](../types/int.md) | If a positive value is passed, only messages with identifiers less or equal than the given one will be read | Yes| -### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) +### Return type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedMessages = $MadelineProto->messages->readHistory(['peer' => InputPeer, 'max_id' => int, ]); +$messages.AffectedMessages = $MadelineProto->messages->readHistory(['peer' => InputPeer, 'max_id' => int, ]); ``` Or, if you're into Lua: ```lua -messages_AffectedMessages = messages.readHistory({peer=InputPeer, max_id=int, }) +messages.AffectedMessages = messages.readHistory({peer=InputPeer, max_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v102/methods/messages.readMentions.md b/old_docs/API_docs_v102/methods/messages.readMentions.md index 9b73851d..c8c94f00 100644 --- a/old_docs/API_docs_v102/methods/messages.readMentions.md +++ b/old_docs/API_docs_v102/methods/messages.readMentions.md @@ -16,7 +16,7 @@ Mark mentions as read |peer|[Username, chat ID, Update, Message or InputPeer](../types/InputPeer.md) | Dialog | Optional| -### Return type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) +### Return type: [messages.AffectedHistory](../types/messages.AffectedHistory.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedHistory = $MadelineProto->messages->readMentions(['peer' => InputPeer, ]); +$messages.AffectedHistory = $MadelineProto->messages->readMentions(['peer' => InputPeer, ]); ``` Or, if you're into Lua: ```lua -messages_AffectedHistory = messages.readMentions({peer=InputPeer, }) +messages.AffectedHistory = messages.readMentions({peer=InputPeer, }) ``` diff --git a/old_docs/API_docs_v102/methods/messages.readMessageContents.md b/old_docs/API_docs_v102/methods/messages.readMessageContents.md index c479cafe..9798e661 100644 --- a/old_docs/API_docs_v102/methods/messages.readMessageContents.md +++ b/old_docs/API_docs_v102/methods/messages.readMessageContents.md @@ -16,7 +16,7 @@ Notifies the sender about the recipient having listened a voice message or watch |id|Array of [int](../types/int.md) | The messages to mark as read (only users and normal chats, not supergroups) | Yes| -### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) +### Return type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedMessages = $MadelineProto->messages->readMessageContents(['id' => [int, int], ]); +$messages.AffectedMessages = $MadelineProto->messages->readMessageContents(['id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AffectedMessages = messages.readMessageContents({id={int}, }) +messages.AffectedMessages = messages.readMessageContents({id={int}, }) ``` diff --git a/old_docs/API_docs_v102/methods/messages.search.md b/old_docs/API_docs_v102/methods/messages.search.md index 75c21af0..b8125fb6 100644 --- a/old_docs/API_docs_v102/methods/messages.search.md +++ b/old_docs/API_docs_v102/methods/messages.search.md @@ -27,7 +27,7 @@ Gets back found messages |hash|Array of [int](../types/int.md) | The IDs of messages you already fetched | Optional| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **NO** @@ -44,13 +44,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->search(['peer' => InputPeer, 'q' => 'string', 'from_id' => InputUser, 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset_id' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, 'hash' => [int, int], ]); +$messages.Messages = $MadelineProto->messages->search(['peer' => InputPeer, 'q' => 'string', 'from_id' => InputUser, 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset_id' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, 'hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.search({peer=InputPeer, q='string', from_id=InputUser, filter=MessagesFilter, min_date=int, max_date=int, offset_id=int, add_offset=int, limit=int, max_id=int, min_id=int, hash={int}, }) +messages.Messages = messages.search({peer=InputPeer, q='string', from_id=InputUser, filter=MessagesFilter, min_date=int, max_date=int, offset_id=int, add_offset=int, limit=int, max_id=int, min_id=int, hash={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v102/methods/messages.searchGifs.md b/old_docs/API_docs_v102/methods/messages.searchGifs.md index 851371d7..193a0cd4 100644 --- a/old_docs/API_docs_v102/methods/messages.searchGifs.md +++ b/old_docs/API_docs_v102/methods/messages.searchGifs.md @@ -17,7 +17,7 @@ Search for GIFs |offset|[int](../types/int.md) | Offset for [pagination »](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_FoundGifs](../types/messages_FoundGifs.md) +### Return type: [messages.FoundGifs](../types/messages.FoundGifs.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_FoundGifs = $MadelineProto->messages->searchGifs(['q' => 'string', 'offset' => int, ]); +$messages.FoundGifs = $MadelineProto->messages->searchGifs(['q' => 'string', 'offset' => int, ]); ``` Or, if you're into Lua: ```lua -messages_FoundGifs = messages.searchGifs({q='string', offset=int, }) +messages.FoundGifs = messages.searchGifs({q='string', offset=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v102/methods/messages.searchGlobal.md b/old_docs/API_docs_v102/methods/messages.searchGlobal.md index 7d2bb854..4e285576 100644 --- a/old_docs/API_docs_v102/methods/messages.searchGlobal.md +++ b/old_docs/API_docs_v102/methods/messages.searchGlobal.md @@ -21,7 +21,7 @@ Search for messages and peers globally |limit|[int](../types/int.md) | [Offsets for pagination, for more info click here](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **NO** @@ -38,13 +38,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->searchGlobal(['folder_id' => int, 'q' => 'string', 'offset_rate' => int, 'offset_peer' => InputPeer, 'offset_id' => int, 'limit' => int, ]); +$messages.Messages = $MadelineProto->messages->searchGlobal(['folder_id' => int, 'q' => 'string', 'offset_rate' => int, 'offset_peer' => InputPeer, 'offset_id' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.searchGlobal({folder_id=int, q='string', offset_rate=int, offset_peer=InputPeer, offset_id=int, limit=int, }) +messages.Messages = messages.searchGlobal({folder_id=int, q='string', offset_rate=int, offset_peer=InputPeer, offset_id=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v102/methods/messages.searchStickerSets.md b/old_docs/API_docs_v102/methods/messages.searchStickerSets.md index 1759fbc0..a8924f3d 100644 --- a/old_docs/API_docs_v102/methods/messages.searchStickerSets.md +++ b/old_docs/API_docs_v102/methods/messages.searchStickerSets.md @@ -18,7 +18,7 @@ Search for stickersets |hash|Array of [int](../types/int.md) | The IDs of stickersets you already fetched | Optional| -### Return type: [messages\_FoundStickerSets](../types/messages_FoundStickerSets.md) +### Return type: [messages.FoundStickerSets](../types/messages.FoundStickerSets.md) ### Can bots use this method: **NO** @@ -35,12 +35,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_FoundStickerSets = $MadelineProto->messages->searchStickerSets(['exclude_featured' => Bool, 'q' => 'string', 'hash' => [int, int], ]); +$messages.FoundStickerSets = $MadelineProto->messages->searchStickerSets(['exclude_featured' => Bool, 'q' => 'string', 'hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_FoundStickerSets = messages.searchStickerSets({exclude_featured=Bool, q='string', hash={int}, }) +messages.FoundStickerSets = messages.searchStickerSets({exclude_featured=Bool, q='string', hash={int}, }) ``` diff --git a/old_docs/API_docs_v102/methods/messages.sendEncrypted.md b/old_docs/API_docs_v102/methods/messages.sendEncrypted.md index 47b5ef29..6a68b563 100644 --- a/old_docs/API_docs_v102/methods/messages.sendEncrypted.md +++ b/old_docs/API_docs_v102/methods/messages.sendEncrypted.md @@ -14,10 +14,10 @@ Sends a text message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|message|[DecryptedMessage](../types/DecryptedMessage.md) | The message to send | Yes| +|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key that was created during chat initialization | Yes| -### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ### Can bots use this method: **NO** @@ -34,21 +34,15 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncrypted(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); +$messages.SentEncryptedMessage = $MadelineProto->messages->sendEncrypted(['peer' => InputEncryptedChat, 'data' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -messages_SentEncryptedMessage = messages.sendEncrypted({peer=InputEncryptedChat, message=DecryptedMessage, }) +messages.SentEncryptedMessage = messages.sendEncrypted({peer=InputEncryptedChat, data='bytes', }) ``` - -## Return value - -If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) will be returned instead. - - ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v102/methods/messages.sendEncryptedFile.md b/old_docs/API_docs_v102/methods/messages.sendEncryptedFile.md index 4e0f7b7f..87185ba4 100644 --- a/old_docs/API_docs_v102/methods/messages.sendEncryptedFile.md +++ b/old_docs/API_docs_v102/methods/messages.sendEncryptedFile.md @@ -14,11 +14,11 @@ Sends a message with a file attachment to a secret chat | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|message|[DecryptedMessage](../types/DecryptedMessage.md) | The message with the file | Yes| +|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| |file|[File path or InputEncryptedFile](../types/InputEncryptedFile.md) | File attachment for the secret chat | Optional| -### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ### Can bots use this method: **NO** @@ -35,21 +35,15 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedFile(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, 'file' => InputEncryptedFile, ]); +$messages.SentEncryptedMessage = $MadelineProto->messages->sendEncryptedFile(['peer' => InputEncryptedChat, 'data' => 'bytes', 'file' => InputEncryptedFile, ]); ``` Or, if you're into Lua: ```lua -messages_SentEncryptedMessage = messages.sendEncryptedFile({peer=InputEncryptedChat, message=DecryptedMessage, file=InputEncryptedFile, }) +messages.SentEncryptedMessage = messages.sendEncryptedFile({peer=InputEncryptedChat, data='bytes', file=InputEncryptedFile, }) ``` - -## Return value - -If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) will be returned instead. - - ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v102/methods/messages.sendEncryptedService.md b/old_docs/API_docs_v102/methods/messages.sendEncryptedService.md index 86925ae3..38171272 100644 --- a/old_docs/API_docs_v102/methods/messages.sendEncryptedService.md +++ b/old_docs/API_docs_v102/methods/messages.sendEncryptedService.md @@ -14,10 +14,10 @@ Sends a service message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|message|[DecryptedMessage](../types/DecryptedMessage.md) | The service message | Yes| +|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| -### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ### Can bots use this method: **NO** @@ -34,21 +34,15 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedService(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); +$messages.SentEncryptedMessage = $MadelineProto->messages->sendEncryptedService(['peer' => InputEncryptedChat, 'data' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -messages_SentEncryptedMessage = messages.sendEncryptedService({peer=InputEncryptedChat, message=DecryptedMessage, }) +messages.SentEncryptedMessage = messages.sendEncryptedService({peer=InputEncryptedChat, data='bytes', }) ``` - -## Return value - -If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) will be returned instead. - - ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v102/methods/payments.getPaymentForm.md b/old_docs/API_docs_v102/methods/payments.getPaymentForm.md index 3a171a05..da173f14 100644 --- a/old_docs/API_docs_v102/methods/payments.getPaymentForm.md +++ b/old_docs/API_docs_v102/methods/payments.getPaymentForm.md @@ -16,7 +16,7 @@ Get a payment form |msg\_id|[int](../types/int.md) | Message ID of payment form | Yes| -### Return type: [payments\_PaymentForm](../types/payments_PaymentForm.md) +### Return type: [payments.PaymentForm](../types/payments.PaymentForm.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$payments_PaymentForm = $MadelineProto->payments->getPaymentForm(['msg_id' => int, ]); +$payments.PaymentForm = $MadelineProto->payments->getPaymentForm(['msg_id' => int, ]); ``` Or, if you're into Lua: ```lua -payments_PaymentForm = payments.getPaymentForm({msg_id=int, }) +payments.PaymentForm = payments.getPaymentForm({msg_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v102/methods/payments.getPaymentReceipt.md b/old_docs/API_docs_v102/methods/payments.getPaymentReceipt.md index 46d2267c..16e41367 100644 --- a/old_docs/API_docs_v102/methods/payments.getPaymentReceipt.md +++ b/old_docs/API_docs_v102/methods/payments.getPaymentReceipt.md @@ -16,7 +16,7 @@ Get payment receipt |msg\_id|[int](../types/int.md) | Message ID of receipt | Yes| -### Return type: [payments\_PaymentReceipt](../types/payments_PaymentReceipt.md) +### Return type: [payments.PaymentReceipt](../types/payments.PaymentReceipt.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$payments_PaymentReceipt = $MadelineProto->payments->getPaymentReceipt(['msg_id' => int, ]); +$payments.PaymentReceipt = $MadelineProto->payments->getPaymentReceipt(['msg_id' => int, ]); ``` Or, if you're into Lua: ```lua -payments_PaymentReceipt = payments.getPaymentReceipt({msg_id=int, }) +payments.PaymentReceipt = payments.getPaymentReceipt({msg_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v102/methods/payments.getSavedInfo.md b/old_docs/API_docs_v102/methods/payments.getSavedInfo.md index dc9c9b98..fe2c16ec 100644 --- a/old_docs/API_docs_v102/methods/payments.getSavedInfo.md +++ b/old_docs/API_docs_v102/methods/payments.getSavedInfo.md @@ -11,7 +11,7 @@ Get saved payment information -### Return type: [payments\_SavedInfo](../types/payments_SavedInfo.md) +### Return type: [payments.SavedInfo](../types/payments.SavedInfo.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$payments_SavedInfo = $MadelineProto->payments->getSavedInfo(); +$payments.SavedInfo = $MadelineProto->payments->getSavedInfo(); ``` Or, if you're into Lua: ```lua -payments_SavedInfo = payments.getSavedInfo({}) +payments.SavedInfo = payments.getSavedInfo({}) ``` diff --git a/old_docs/API_docs_v102/methods/payments.sendPaymentForm.md b/old_docs/API_docs_v102/methods/payments.sendPaymentForm.md index 8c478b92..de154e7f 100644 --- a/old_docs/API_docs_v102/methods/payments.sendPaymentForm.md +++ b/old_docs/API_docs_v102/methods/payments.sendPaymentForm.md @@ -19,7 +19,7 @@ Send compiled payment form |credentials|[InputPaymentCredentials](../types/InputPaymentCredentials.md) | Payment credentials | Yes| -### Return type: [payments\_PaymentResult](../types/payments_PaymentResult.md) +### Return type: [payments.PaymentResult](../types/payments.PaymentResult.md) ### Can bots use this method: **NO** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$payments_PaymentResult = $MadelineProto->payments->sendPaymentForm(['msg_id' => int, 'requested_info_id' => 'string', 'shipping_option_id' => 'string', 'credentials' => InputPaymentCredentials, ]); +$payments.PaymentResult = $MadelineProto->payments->sendPaymentForm(['msg_id' => int, 'requested_info_id' => 'string', 'shipping_option_id' => 'string', 'credentials' => InputPaymentCredentials, ]); ``` Or, if you're into Lua: ```lua -payments_PaymentResult = payments.sendPaymentForm({msg_id=int, requested_info_id='string', shipping_option_id='string', credentials=InputPaymentCredentials, }) +payments.PaymentResult = payments.sendPaymentForm({msg_id=int, requested_info_id='string', shipping_option_id='string', credentials=InputPaymentCredentials, }) ``` ### Errors diff --git a/old_docs/API_docs_v102/methods/payments.validateRequestedInfo.md b/old_docs/API_docs_v102/methods/payments.validateRequestedInfo.md index d6364a02..ce22cfe8 100644 --- a/old_docs/API_docs_v102/methods/payments.validateRequestedInfo.md +++ b/old_docs/API_docs_v102/methods/payments.validateRequestedInfo.md @@ -18,7 +18,7 @@ Submit requested order information for validation |info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Requested order information | Yes| -### Return type: [payments\_ValidatedRequestedInfo](../types/payments_ValidatedRequestedInfo.md) +### Return type: [payments.ValidatedRequestedInfo](../types/payments.ValidatedRequestedInfo.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$payments_ValidatedRequestedInfo = $MadelineProto->payments->validateRequestedInfo(['save' => Bool, 'msg_id' => int, 'info' => PaymentRequestedInfo, ]); +$payments.ValidatedRequestedInfo = $MadelineProto->payments->validateRequestedInfo(['save' => Bool, 'msg_id' => int, 'info' => PaymentRequestedInfo, ]); ``` Or, if you're into Lua: ```lua -payments_ValidatedRequestedInfo = payments.validateRequestedInfo({save=Bool, msg_id=int, info=PaymentRequestedInfo, }) +payments.ValidatedRequestedInfo = payments.validateRequestedInfo({save=Bool, msg_id=int, info=PaymentRequestedInfo, }) ``` ### Errors diff --git a/old_docs/API_docs_v102/methods/phone.acceptCall.md b/old_docs/API_docs_v102/methods/phone.acceptCall.md index f5c58f01..6b9185aa 100644 --- a/old_docs/API_docs_v102/methods/phone.acceptCall.md +++ b/old_docs/API_docs_v102/methods/phone.acceptCall.md @@ -18,7 +18,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz#calls fo |protocol|[PhoneCallProtocol](../types/PhoneCallProtocol.md) | You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls | Yes| -### Return type: [phone\_PhoneCall](../types/phone_PhoneCall.md) +### Return type: [phone.PhoneCall](../types/phone.PhoneCall.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$phone_PhoneCall = $MadelineProto->phone->acceptCall(['peer' => InputPhoneCall, 'g_b' => 'bytes', 'protocol' => PhoneCallProtocol, ]); +$phone.PhoneCall = $MadelineProto->phone->acceptCall(['peer' => InputPhoneCall, 'g_b' => 'bytes', 'protocol' => PhoneCallProtocol, ]); ``` Or, if you're into Lua: ```lua -phone_PhoneCall = phone.acceptCall({peer=InputPhoneCall, g_b='bytes', protocol=PhoneCallProtocol, }) +phone.PhoneCall = phone.acceptCall({peer=InputPhoneCall, g_b='bytes', protocol=PhoneCallProtocol, }) ``` ### Errors diff --git a/old_docs/API_docs_v102/methods/phone.confirmCall.md b/old_docs/API_docs_v102/methods/phone.confirmCall.md index 468307cc..a52d1f9c 100644 --- a/old_docs/API_docs_v102/methods/phone.confirmCall.md +++ b/old_docs/API_docs_v102/methods/phone.confirmCall.md @@ -19,7 +19,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz#calls fo |protocol|[PhoneCallProtocol](../types/PhoneCallProtocol.md) | You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls | Yes| -### Return type: [phone\_PhoneCall](../types/phone_PhoneCall.md) +### Return type: [phone.PhoneCall](../types/phone.PhoneCall.md) ### Can bots use this method: **NO** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$phone_PhoneCall = $MadelineProto->phone->confirmCall(['peer' => InputPhoneCall, 'g_a' => 'bytes', 'key_fingerprint' => long, 'protocol' => PhoneCallProtocol, ]); +$phone.PhoneCall = $MadelineProto->phone->confirmCall(['peer' => InputPhoneCall, 'g_a' => 'bytes', 'key_fingerprint' => long, 'protocol' => PhoneCallProtocol, ]); ``` Or, if you're into Lua: ```lua -phone_PhoneCall = phone.confirmCall({peer=InputPhoneCall, g_a='bytes', key_fingerprint=long, protocol=PhoneCallProtocol, }) +phone.PhoneCall = phone.confirmCall({peer=InputPhoneCall, g_a='bytes', key_fingerprint=long, protocol=PhoneCallProtocol, }) ``` ### Errors diff --git a/old_docs/API_docs_v102/methods/phone.requestCall.md b/old_docs/API_docs_v102/methods/phone.requestCall.md index e3894214..608f562f 100644 --- a/old_docs/API_docs_v102/methods/phone.requestCall.md +++ b/old_docs/API_docs_v102/methods/phone.requestCall.md @@ -19,7 +19,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz#calls fo |protocol|[PhoneCallProtocol](../types/PhoneCallProtocol.md) | You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls | Yes| -### Return type: [phone\_PhoneCall](../types/phone_PhoneCall.md) +### Return type: [phone.PhoneCall](../types/phone.PhoneCall.md) ### Can bots use this method: **NO** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$phone_PhoneCall = $MadelineProto->phone->requestCall(['video' => Bool, 'user_id' => InputUser, 'g_a_hash' => 'bytes', 'protocol' => PhoneCallProtocol, ]); +$phone.PhoneCall = $MadelineProto->phone->requestCall(['video' => Bool, 'user_id' => InputUser, 'g_a_hash' => 'bytes', 'protocol' => PhoneCallProtocol, ]); ``` Or, if you're into Lua: ```lua -phone_PhoneCall = phone.requestCall({video=Bool, user_id=InputUser, g_a_hash='bytes', protocol=PhoneCallProtocol, }) +phone.PhoneCall = phone.requestCall({video=Bool, user_id=InputUser, g_a_hash='bytes', protocol=PhoneCallProtocol, }) ``` ### Errors diff --git a/old_docs/API_docs_v102/methods/photos.getUserPhotos.md b/old_docs/API_docs_v102/methods/photos.getUserPhotos.md index a1dec2ed..1f8d5c64 100644 --- a/old_docs/API_docs_v102/methods/photos.getUserPhotos.md +++ b/old_docs/API_docs_v102/methods/photos.getUserPhotos.md @@ -19,7 +19,7 @@ Returns the list of user photos. |limit|[int](../types/int.md) | Number of list elements to be returned | Yes| -### Return type: [photos\_Photos](../types/photos_Photos.md) +### Return type: [photos.Photos](../types/photos.Photos.md) ### Can bots use this method: **YES** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$photos_Photos = $MadelineProto->photos->getUserPhotos(['user_id' => InputUser, 'offset' => int, 'max_id' => long, 'limit' => int, ]); +$photos.Photos = $MadelineProto->photos->getUserPhotos(['user_id' => InputUser, 'offset' => int, 'max_id' => long, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -photos_Photos = photos.getUserPhotos({user_id=InputUser, offset=int, max_id=long, limit=int, }) +photos.Photos = photos.getUserPhotos({user_id=InputUser, offset=int, max_id=long, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v102/methods/photos.uploadProfilePhoto.md b/old_docs/API_docs_v102/methods/photos.uploadProfilePhoto.md index b6a01ee7..4de76a24 100644 --- a/old_docs/API_docs_v102/methods/photos.uploadProfilePhoto.md +++ b/old_docs/API_docs_v102/methods/photos.uploadProfilePhoto.md @@ -16,7 +16,7 @@ Updates current user profile photo. |file|[File path or InputFile](../types/InputFile.md) | File saved in parts by means of [upload.saveFilePart](../methods/upload.saveFilePart.md) method | Yes| -### Return type: [photos\_Photo](../types/photos_Photo.md) +### Return type: [photos.Photo](../types/photos.Photo.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$photos_Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, ]); +$photos.Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, ]); ``` Or, if you're into Lua: ```lua -photos_Photo = photos.uploadProfilePhoto({file=InputFile, }) +photos.Photo = photos.uploadProfilePhoto({file=InputFile, }) ``` ### Errors diff --git a/old_docs/API_docs_v102/methods/stickers.addStickerToSet.md b/old_docs/API_docs_v102/methods/stickers.addStickerToSet.md index 727d3f27..e8392355 100644 --- a/old_docs/API_docs_v102/methods/stickers.addStickerToSet.md +++ b/old_docs/API_docs_v102/methods/stickers.addStickerToSet.md @@ -17,7 +17,7 @@ Add a sticker to a stickerset, bots only. The sticker set must have been created |sticker|[InputStickerSetItem](../types/InputStickerSetItem.md) | The sticker | Yes| -### Return type: [messages\_StickerSet](../types/messages_StickerSet.md) +### Return type: [messages.StickerSet](../types/messages.StickerSet.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StickerSet = $MadelineProto->stickers->addStickerToSet(['stickerset' => InputStickerSet, 'sticker' => InputStickerSetItem, ]); +$messages.StickerSet = $MadelineProto->stickers->addStickerToSet(['stickerset' => InputStickerSet, 'sticker' => InputStickerSetItem, ]); ``` Or, if you're into Lua: ```lua -messages_StickerSet = stickers.addStickerToSet({stickerset=InputStickerSet, sticker=InputStickerSetItem, }) +messages.StickerSet = stickers.addStickerToSet({stickerset=InputStickerSet, sticker=InputStickerSetItem, }) ``` ### Errors diff --git a/old_docs/API_docs_v102/methods/stickers.changeStickerPosition.md b/old_docs/API_docs_v102/methods/stickers.changeStickerPosition.md index ed390f21..e1d8ab5e 100644 --- a/old_docs/API_docs_v102/methods/stickers.changeStickerPosition.md +++ b/old_docs/API_docs_v102/methods/stickers.changeStickerPosition.md @@ -17,7 +17,7 @@ Changes the absolute position of a sticker in the set to which it belongs; for b |position|[int](../types/int.md) | The new position of the sticker, zero-based | Yes| -### Return type: [messages\_StickerSet](../types/messages_StickerSet.md) +### Return type: [messages.StickerSet](../types/messages.StickerSet.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StickerSet = $MadelineProto->stickers->changeStickerPosition(['sticker' => InputDocument, 'position' => int, ]); +$messages.StickerSet = $MadelineProto->stickers->changeStickerPosition(['sticker' => InputDocument, 'position' => int, ]); ``` Or, if you're into Lua: ```lua -messages_StickerSet = stickers.changeStickerPosition({sticker=InputDocument, position=int, }) +messages.StickerSet = stickers.changeStickerPosition({sticker=InputDocument, position=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v102/methods/stickers.createStickerSet.md b/old_docs/API_docs_v102/methods/stickers.createStickerSet.md index 5a6ef396..7eeeb48f 100644 --- a/old_docs/API_docs_v102/methods/stickers.createStickerSet.md +++ b/old_docs/API_docs_v102/methods/stickers.createStickerSet.md @@ -20,7 +20,7 @@ Create a stickerset, bots only. |stickers|Array of [InputStickerSetItem](../types/InputStickerSetItem.md) | The stickers to add | Yes| -### Return type: [messages\_StickerSet](../types/messages_StickerSet.md) +### Return type: [messages.StickerSet](../types/messages.StickerSet.md) ### Can bots use this method: **YES** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StickerSet = $MadelineProto->stickers->createStickerSet(['masks' => Bool, 'user_id' => InputUser, 'title' => 'string', 'short_name' => 'string', 'stickers' => [InputStickerSetItem, InputStickerSetItem], ]); +$messages.StickerSet = $MadelineProto->stickers->createStickerSet(['masks' => Bool, 'user_id' => InputUser, 'title' => 'string', 'short_name' => 'string', 'stickers' => [InputStickerSetItem, InputStickerSetItem], ]); ``` Or, if you're into Lua: ```lua -messages_StickerSet = stickers.createStickerSet({masks=Bool, user_id=InputUser, title='string', short_name='string', stickers={InputStickerSetItem}, }) +messages.StickerSet = stickers.createStickerSet({masks=Bool, user_id=InputUser, title='string', short_name='string', stickers={InputStickerSetItem}, }) ``` ### Errors diff --git a/old_docs/API_docs_v102/methods/stickers.removeStickerFromSet.md b/old_docs/API_docs_v102/methods/stickers.removeStickerFromSet.md index 33f677b3..aa4927ca 100644 --- a/old_docs/API_docs_v102/methods/stickers.removeStickerFromSet.md +++ b/old_docs/API_docs_v102/methods/stickers.removeStickerFromSet.md @@ -16,7 +16,7 @@ Remove a sticker from the set where it belongs, bots only. The sticker set must |sticker|[MessageMedia, Update, Message or InputDocument](../types/InputDocument.md) | The sticker to remove | Optional| -### Return type: [messages\_StickerSet](../types/messages_StickerSet.md) +### Return type: [messages.StickerSet](../types/messages.StickerSet.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StickerSet = $MadelineProto->stickers->removeStickerFromSet(['sticker' => InputDocument, ]); +$messages.StickerSet = $MadelineProto->stickers->removeStickerFromSet(['sticker' => InputDocument, ]); ``` Or, if you're into Lua: ```lua -messages_StickerSet = stickers.removeStickerFromSet({sticker=InputDocument, }) +messages.StickerSet = stickers.removeStickerFromSet({sticker=InputDocument, }) ``` ### Errors diff --git a/old_docs/API_docs_v102/methods/updates.getChannelDifference.md b/old_docs/API_docs_v102/methods/updates.getChannelDifference.md index 5675cd33..08df3395 100644 --- a/old_docs/API_docs_v102/methods/updates.getChannelDifference.md +++ b/old_docs/API_docs_v102/methods/updates.getChannelDifference.md @@ -20,7 +20,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz for more |limit|[int](../types/int.md) | You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates | Yes| -### Return type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) +### Return type: [updates.ChannelDifference](../types/updates.ChannelDifference.md) ### Can bots use this method: **YES** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$updates_ChannelDifference = $MadelineProto->updates->getChannelDifference(['force' => Bool, 'channel' => InputChannel, 'filter' => ChannelMessagesFilter, 'pts' => int, 'limit' => int, ]); +$updates.ChannelDifference = $MadelineProto->updates->getChannelDifference(['force' => Bool, 'channel' => InputChannel, 'filter' => ChannelMessagesFilter, 'pts' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -updates_ChannelDifference = updates.getChannelDifference({force=Bool, channel=InputChannel, filter=ChannelMessagesFilter, pts=int, limit=int, }) +updates.ChannelDifference = updates.getChannelDifference({force=Bool, channel=InputChannel, filter=ChannelMessagesFilter, pts=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v102/methods/updates.getDifference.md b/old_docs/API_docs_v102/methods/updates.getDifference.md index bcfac4e2..b3796a10 100644 --- a/old_docs/API_docs_v102/methods/updates.getDifference.md +++ b/old_docs/API_docs_v102/methods/updates.getDifference.md @@ -19,7 +19,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz for more |qts|[int](../types/int.md) | You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates | Yes| -### Return type: [updates\_Difference](../types/updates_Difference.md) +### Return type: [updates.Difference](../types/updates.Difference.md) ### Can bots use this method: **YES** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$updates_Difference = $MadelineProto->updates->getDifference(['pts' => int, 'pts_total_limit' => int, 'date' => int, 'qts' => int, ]); +$updates.Difference = $MadelineProto->updates->getDifference(['pts' => int, 'pts_total_limit' => int, 'date' => int, 'qts' => int, ]); ``` Or, if you're into Lua: ```lua -updates_Difference = updates.getDifference({pts=int, pts_total_limit=int, date=int, qts=int, }) +updates.Difference = updates.getDifference({pts=int, pts_total_limit=int, date=int, qts=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v102/methods/updates.getState.md b/old_docs/API_docs_v102/methods/updates.getState.md index c591408a..9a7d2f34 100644 --- a/old_docs/API_docs_v102/methods/updates.getState.md +++ b/old_docs/API_docs_v102/methods/updates.getState.md @@ -11,7 +11,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz for more -### Return type: [updates\_State](../types/updates_State.md) +### Return type: [updates.State](../types/updates.State.md) ### Can bots use this method: **YES** @@ -28,13 +28,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$updates_State = $MadelineProto->updates->getState(); +$updates.State = $MadelineProto->updates->getState(); ``` Or, if you're into Lua: ```lua -updates_State = updates.getState({}) +updates.State = updates.getState({}) ``` ### Errors diff --git a/old_docs/API_docs_v102/methods/upload.getCdnFile.md b/old_docs/API_docs_v102/methods/upload.getCdnFile.md index a3c928b2..67b2e84e 100644 --- a/old_docs/API_docs_v102/methods/upload.getCdnFile.md +++ b/old_docs/API_docs_v102/methods/upload.getCdnFile.md @@ -18,7 +18,7 @@ You cannot use this method directly, use the upload, downloadToStream, downloadT |limit|[int](../types/int.md) | You cannot use this method directly, use the upload, downloadToStream, downloadToFile, downloadToDir methods instead; see https://docs.madelineproto.xyz for more info | Yes| -### Return type: [upload\_CdnFile](../types/upload_CdnFile.md) +### Return type: [upload.CdnFile](../types/upload.CdnFile.md) ### Can bots use this method: **NO** @@ -35,12 +35,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$upload_CdnFile = $MadelineProto->upload->getCdnFile(['file_token' => 'bytes', 'offset' => int, 'limit' => int, ]); +$upload.CdnFile = $MadelineProto->upload->getCdnFile(['file_token' => 'bytes', 'offset' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -upload_CdnFile = upload.getCdnFile({file_token='bytes', offset=int, limit=int, }) +upload.CdnFile = upload.getCdnFile({file_token='bytes', offset=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v102/methods/upload.getFile.md b/old_docs/API_docs_v102/methods/upload.getFile.md index 8aba03d4..ab9f4fe2 100644 --- a/old_docs/API_docs_v102/methods/upload.getFile.md +++ b/old_docs/API_docs_v102/methods/upload.getFile.md @@ -18,7 +18,7 @@ You cannot use this method directly, use the upload, downloadToStream, downloadT |limit|[int](../types/int.md) | You cannot use this method directly, use the upload, downloadToStream, downloadToFile, downloadToDir methods instead; see https://docs.madelineproto.xyz for more info | Yes| -### Return type: [upload\_File](../types/upload_File.md) +### Return type: [upload.File](../types/upload.File.md) ### Can bots use this method: **YES** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$upload_File = $MadelineProto->upload->getFile(['location' => InputFileLocation, 'offset' => int, 'limit' => int, ]); +$upload.File = $MadelineProto->upload->getFile(['location' => InputFileLocation, 'offset' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -upload_File = upload.getFile({location=InputFileLocation, offset=int, limit=int, }) +upload.File = upload.getFile({location=InputFileLocation, offset=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v102/methods/upload.getWebFile.md b/old_docs/API_docs_v102/methods/upload.getWebFile.md index 32f6b322..60f1b8c1 100644 --- a/old_docs/API_docs_v102/methods/upload.getWebFile.md +++ b/old_docs/API_docs_v102/methods/upload.getWebFile.md @@ -18,7 +18,7 @@ Returns content of an HTTP file or a part, by proxying the request through teleg |limit|[int](../types/int.md) | Number of bytes to be returned | Yes| -### Return type: [upload\_WebFile](../types/upload_WebFile.md) +### Return type: [upload.WebFile](../types/upload.WebFile.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$upload_WebFile = $MadelineProto->upload->getWebFile(['location' => InputWebFileLocation, 'offset' => int, 'limit' => int, ]); +$upload.WebFile = $MadelineProto->upload->getWebFile(['location' => InputWebFileLocation, 'offset' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -upload_WebFile = upload.getWebFile({location=InputWebFileLocation, offset=int, limit=int, }) +upload.WebFile = upload.getWebFile({location=InputWebFileLocation, offset=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v102/types/AccountDaysTTL.md b/old_docs/API_docs_v102/types/AccountDaysTTL.md index 12a10190..f3494aac 100644 --- a/old_docs/API_docs_v102/types/AccountDaysTTL.md +++ b/old_docs/API_docs_v102/types/AccountDaysTTL.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->account->getAccountTTL](../methods/account_getAccountTTL.md) +[$MadelineProto->account->getAccountTTL](../methods/account.getAccountTTL.md) diff --git a/old_docs/API_docs_v102/types/CdnConfig.md b/old_docs/API_docs_v102/types/CdnConfig.md index fbfe01c3..0b0fb5be 100644 --- a/old_docs/API_docs_v102/types/CdnConfig.md +++ b/old_docs/API_docs_v102/types/CdnConfig.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->help->getCdnConfig](../methods/help_getCdnConfig.md) +[$MadelineProto->help->getCdnConfig](../methods/help.getCdnConfig.md) diff --git a/old_docs/API_docs_v102/types/ChatInvite.md b/old_docs/API_docs_v102/types/ChatInvite.md index 5022a2f0..9fafabb4 100644 --- a/old_docs/API_docs_v102/types/ChatInvite.md +++ b/old_docs/API_docs_v102/types/ChatInvite.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->checkChatInvite](../methods/messages_checkChatInvite.md) +[$MadelineProto->messages->checkChatInvite](../methods/messages.checkChatInvite.md) diff --git a/old_docs/API_docs_v102/types/ChatOnlines.md b/old_docs/API_docs_v102/types/ChatOnlines.md index 5faf4a6e..e5646dd6 100644 --- a/old_docs/API_docs_v102/types/ChatOnlines.md +++ b/old_docs/API_docs_v102/types/ChatOnlines.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getOnlines](../methods/messages_getOnlines.md) +[$MadelineProto->messages->getOnlines](../methods/messages.getOnlines.md) diff --git a/old_docs/API_docs_v102/types/Config.md b/old_docs/API_docs_v102/types/Config.md index 0f7fbe70..3a23b7b7 100644 --- a/old_docs/API_docs_v102/types/Config.md +++ b/old_docs/API_docs_v102/types/Config.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->help->getConfig](../methods/help_getConfig.md) +[$MadelineProto->help->getConfig](../methods/help.getConfig.md) diff --git a/old_docs/API_docs_v102/types/ContactStatus.md b/old_docs/API_docs_v102/types/ContactStatus.md index c5f5d658..30aee6e2 100644 --- a/old_docs/API_docs_v102/types/ContactStatus.md +++ b/old_docs/API_docs_v102/types/ContactStatus.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->contacts->getStatuses](../methods/contacts_getStatuses.md) +[$MadelineProto->contacts->getStatuses](../methods/contacts.getStatuses.md) diff --git a/old_docs/API_docs_v102/types/DialogPeer.md b/old_docs/API_docs_v102/types/DialogPeer.md index 1f86eb1c..18b145b0 100644 --- a/old_docs/API_docs_v102/types/DialogPeer.md +++ b/old_docs/API_docs_v102/types/DialogPeer.md @@ -42,7 +42,7 @@ A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDia ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getDialogUnreadMarks](../methods/messages_getDialogUnreadMarks.md) +[$MadelineProto->messages->getDialogUnreadMarks](../methods/messages.getDialogUnreadMarks.md) diff --git a/old_docs/API_docs_v102/types/Document.md b/old_docs/API_docs_v102/types/Document.md index f68b7aa4..2cb85623 100644 --- a/old_docs/API_docs_v102/types/Document.md +++ b/old_docs/API_docs_v102/types/Document.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getDocumentByHash](../methods/messages_getDocumentByHash.md) +[$MadelineProto->messages->getDocumentByHash](../methods/messages.getDocumentByHash.md) diff --git a/old_docs/API_docs_v102/types/EmojiKeywordsDifference.md b/old_docs/API_docs_v102/types/EmojiKeywordsDifference.md index 8dc7d309..1282c000 100644 --- a/old_docs/API_docs_v102/types/EmojiKeywordsDifference.md +++ b/old_docs/API_docs_v102/types/EmojiKeywordsDifference.md @@ -16,9 +16,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getEmojiKeywords](../methods/messages_getEmojiKeywords.md) +[$MadelineProto->messages->getEmojiKeywords](../methods/messages.getEmojiKeywords.md) -[$MadelineProto->messages->getEmojiKeywordsDifference](../methods/messages_getEmojiKeywordsDifference.md) +[$MadelineProto->messages->getEmojiKeywordsDifference](../methods/messages.getEmojiKeywordsDifference.md) diff --git a/old_docs/API_docs_v102/types/EmojiLanguage.md b/old_docs/API_docs_v102/types/EmojiLanguage.md index 1d5f1214..5ff98ac3 100644 --- a/old_docs/API_docs_v102/types/EmojiLanguage.md +++ b/old_docs/API_docs_v102/types/EmojiLanguage.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getEmojiKeywordsLanguages](../methods/messages_getEmojiKeywordsLanguages.md) +[$MadelineProto->messages->getEmojiKeywordsLanguages](../methods/messages.getEmojiKeywordsLanguages.md) diff --git a/old_docs/API_docs_v102/types/EmojiURL.md b/old_docs/API_docs_v102/types/EmojiURL.md index f9c636d0..c2fc469d 100644 --- a/old_docs/API_docs_v102/types/EmojiURL.md +++ b/old_docs/API_docs_v102/types/EmojiURL.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getEmojiURL](../methods/messages_getEmojiURL.md) +[$MadelineProto->messages->getEmojiURL](../methods/messages.getEmojiURL.md) diff --git a/old_docs/API_docs_v102/types/EncryptedChat.md b/old_docs/API_docs_v102/types/EncryptedChat.md index fd2277f6..19cf52b0 100644 --- a/old_docs/API_docs_v102/types/EncryptedChat.md +++ b/old_docs/API_docs_v102/types/EncryptedChat.md @@ -24,9 +24,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->requestEncryption](../methods/messages_requestEncryption.md) +[$MadelineProto->messages->requestEncryption](../methods/messages.requestEncryption.md) -[$MadelineProto->messages->acceptEncryption](../methods/messages_acceptEncryption.md) +[$MadelineProto->messages->acceptEncryption](../methods/messages.acceptEncryption.md) diff --git a/old_docs/API_docs_v102/types/EncryptedFile.md b/old_docs/API_docs_v102/types/EncryptedFile.md index a26d40bb..8ecf8e9d 100644 --- a/old_docs/API_docs_v102/types/EncryptedFile.md +++ b/old_docs/API_docs_v102/types/EncryptedFile.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->uploadEncryptedFile](../methods/messages_uploadEncryptedFile.md) +[$MadelineProto->messages->uploadEncryptedFile](../methods/messages.uploadEncryptedFile.md) diff --git a/old_docs/API_docs_v102/types/ExportedChatInvite.md b/old_docs/API_docs_v102/types/ExportedChatInvite.md index 16a273d1..f5a43739 100644 --- a/old_docs/API_docs_v102/types/ExportedChatInvite.md +++ b/old_docs/API_docs_v102/types/ExportedChatInvite.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->exportChatInvite](../methods/messages_exportChatInvite.md) +[$MadelineProto->messages->exportChatInvite](../methods/messages.exportChatInvite.md) diff --git a/old_docs/API_docs_v102/types/ExportedMessageLink.md b/old_docs/API_docs_v102/types/ExportedMessageLink.md index eb2400f6..948e9c90 100644 --- a/old_docs/API_docs_v102/types/ExportedMessageLink.md +++ b/old_docs/API_docs_v102/types/ExportedMessageLink.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->channels->exportMessageLink](../methods/channels_exportMessageLink.md) +[$MadelineProto->channels->exportMessageLink](../methods/channels.exportMessageLink.md) diff --git a/old_docs/API_docs_v102/types/FileHash.md b/old_docs/API_docs_v102/types/FileHash.md index 3201d7e0..a908fb9b 100644 --- a/old_docs/API_docs_v102/types/FileHash.md +++ b/old_docs/API_docs_v102/types/FileHash.md @@ -16,11 +16,11 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->upload->reuploadCdnFile](../methods/upload_reuploadCdnFile.md) +[$MadelineProto->upload->reuploadCdnFile](../methods/upload.reuploadCdnFile.md) -[$MadelineProto->upload->getCdnFileHashes](../methods/upload_getCdnFileHashes.md) +[$MadelineProto->upload->getCdnFileHashes](../methods/upload.getCdnFileHashes.md) -[$MadelineProto->upload->getFileHashes](../methods/upload_getFileHashes.md) +[$MadelineProto->upload->getFileHashes](../methods/upload.getFileHashes.md) diff --git a/old_docs/API_docs_v102/types/JSONValue.md b/old_docs/API_docs_v102/types/JSONValue.md index eed45486..83527ab0 100644 --- a/old_docs/API_docs_v102/types/JSONValue.md +++ b/old_docs/API_docs_v102/types/JSONValue.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->help->getAppConfig](../methods/help_getAppConfig.md) +[$MadelineProto->help->getAppConfig](../methods/help.getAppConfig.md) diff --git a/old_docs/API_docs_v102/types/LangPackDifference.md b/old_docs/API_docs_v102/types/LangPackDifference.md index fd9f41f2..e04125b8 100644 --- a/old_docs/API_docs_v102/types/LangPackDifference.md +++ b/old_docs/API_docs_v102/types/LangPackDifference.md @@ -16,9 +16,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->langpack->getLangPack](../methods/langpack_getLangPack.md) +[$MadelineProto->langpack->getLangPack](../methods/langpack.getLangPack.md) -[$MadelineProto->langpack->getDifference](../methods/langpack_getDifference.md) +[$MadelineProto->langpack->getDifference](../methods/langpack.getDifference.md) diff --git a/old_docs/API_docs_v102/types/LangPackLanguage.md b/old_docs/API_docs_v102/types/LangPackLanguage.md index f6559af9..74c7172d 100644 --- a/old_docs/API_docs_v102/types/LangPackLanguage.md +++ b/old_docs/API_docs_v102/types/LangPackLanguage.md @@ -16,9 +16,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->langpack->getLanguages](../methods/langpack_getLanguages.md) +[$MadelineProto->langpack->getLanguages](../methods/langpack.getLanguages.md) -[$MadelineProto->langpack->getLanguage](../methods/langpack_getLanguage.md) +[$MadelineProto->langpack->getLanguage](../methods/langpack.getLanguage.md) diff --git a/old_docs/API_docs_v102/types/LangPackString.md b/old_docs/API_docs_v102/types/LangPackString.md index f1a43dd9..15f9dc3d 100644 --- a/old_docs/API_docs_v102/types/LangPackString.md +++ b/old_docs/API_docs_v102/types/LangPackString.md @@ -20,7 +20,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->langpack->getStrings](../methods/langpack_getStrings.md) +[$MadelineProto->langpack->getStrings](../methods/langpack.getStrings.md) diff --git a/old_docs/API_docs_v102/types/MessageMedia.md b/old_docs/API_docs_v102/types/MessageMedia.md index 51aa795e..36602552 100644 --- a/old_docs/API_docs_v102/types/MessageMedia.md +++ b/old_docs/API_docs_v102/types/MessageMedia.md @@ -38,9 +38,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getWebPagePreview](../methods/messages_getWebPagePreview.md) +[$MadelineProto->messages->getWebPagePreview](../methods/messages.getWebPagePreview.md) -[$MadelineProto->messages->uploadMedia](../methods/messages_uploadMedia.md) +[$MadelineProto->messages->uploadMedia](../methods/messages.uploadMedia.md) diff --git a/old_docs/API_docs_v102/types/MessageRange.md b/old_docs/API_docs_v102/types/MessageRange.md index c93011aa..ffd65e90 100644 --- a/old_docs/API_docs_v102/types/MessageRange.md +++ b/old_docs/API_docs_v102/types/MessageRange.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getSplitRanges](../methods/messages_getSplitRanges.md) +[$MadelineProto->messages->getSplitRanges](../methods/messages.getSplitRanges.md) diff --git a/old_docs/API_docs_v102/types/NearestDc.md b/old_docs/API_docs_v102/types/NearestDc.md index 31f24377..296a4dff 100644 --- a/old_docs/API_docs_v102/types/NearestDc.md +++ b/old_docs/API_docs_v102/types/NearestDc.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->help->getNearestDc](../methods/help_getNearestDc.md) +[$MadelineProto->help->getNearestDc](../methods/help.getNearestDc.md) diff --git a/old_docs/API_docs_v102/types/PeerNotifySettings.md b/old_docs/API_docs_v102/types/PeerNotifySettings.md index ecb483c5..d3b4833c 100644 --- a/old_docs/API_docs_v102/types/PeerNotifySettings.md +++ b/old_docs/API_docs_v102/types/PeerNotifySettings.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->account->getNotifySettings](../methods/account_getNotifySettings.md) +[$MadelineProto->account->getNotifySettings](../methods/account.getNotifySettings.md) diff --git a/old_docs/API_docs_v102/types/PeerSettings.md b/old_docs/API_docs_v102/types/PeerSettings.md index 60ac3765..31ef7e38 100644 --- a/old_docs/API_docs_v102/types/PeerSettings.md +++ b/old_docs/API_docs_v102/types/PeerSettings.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getPeerSettings](../methods/messages_getPeerSettings.md) +[$MadelineProto->messages->getPeerSettings](../methods/messages.getPeerSettings.md) diff --git a/old_docs/API_docs_v102/types/README.md b/old_docs/API_docs_v102/types/README.md index 64a341a6..f77b0395 100644 --- a/old_docs/API_docs_v102/types/README.md +++ b/old_docs/API_docs_v102/types/README.md @@ -383,167 +383,167 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png [X](X.md) -[account\_AuthorizationForm](account_AuthorizationForm.md) +[account.AuthorizationForm](account.AuthorizationForm.md) -[account\_Authorizations](account_Authorizations.md) +[account.Authorizations](account.Authorizations.md) -[account\_AutoDownloadSettings](account_AutoDownloadSettings.md) +[account.AutoDownloadSettings](account.AutoDownloadSettings.md) -[account\_Password](account_Password.md) +[account.Password](account.Password.md) -[account\_PasswordInputSettings](account_PasswordInputSettings.md) +[account.PasswordInputSettings](account.PasswordInputSettings.md) -[account\_PasswordSettings](account_PasswordSettings.md) +[account.PasswordSettings](account.PasswordSettings.md) -[account\_PrivacyRules](account_PrivacyRules.md) +[account.PrivacyRules](account.PrivacyRules.md) -[account\_SentEmailCode](account_SentEmailCode.md) +[account.SentEmailCode](account.SentEmailCode.md) -[account\_Takeout](account_Takeout.md) +[account.Takeout](account.Takeout.md) -[account\_TmpPassword](account_TmpPassword.md) +[account.TmpPassword](account.TmpPassword.md) -[account\_WallPapers](account_WallPapers.md) +[account.WallPapers](account.WallPapers.md) -[account\_WebAuthorizations](account_WebAuthorizations.md) +[account.WebAuthorizations](account.WebAuthorizations.md) -[auth\_Authorization](auth_Authorization.md) +[auth.Authorization](auth.Authorization.md) -[auth\_CheckedPhone](auth_CheckedPhone.md) +[auth.CheckedPhone](auth.CheckedPhone.md) -[auth\_CodeType](auth_CodeType.md) +[auth.CodeType](auth.CodeType.md) -[auth\_ExportedAuthorization](auth_ExportedAuthorization.md) +[auth.ExportedAuthorization](auth.ExportedAuthorization.md) -[auth\_PasswordRecovery](auth_PasswordRecovery.md) +[auth.PasswordRecovery](auth.PasswordRecovery.md) -[auth\_SentCode](auth_SentCode.md) +[auth.SentCode](auth.SentCode.md) -[auth\_SentCodeType](auth_SentCodeType.md) +[auth.SentCodeType](auth.SentCodeType.md) -[channels\_AdminLogResults](channels_AdminLogResults.md) +[channels.AdminLogResults](channels.AdminLogResults.md) -[channels\_ChannelParticipant](channels_ChannelParticipant.md) +[channels.ChannelParticipant](channels.ChannelParticipant.md) -[channels\_ChannelParticipants](channels_ChannelParticipants.md) +[channels.ChannelParticipants](channels.ChannelParticipants.md) -[contacts\_Blocked](contacts_Blocked.md) +[contacts.Blocked](contacts.Blocked.md) -[contacts\_Contacts](contacts_Contacts.md) +[contacts.Contacts](contacts.Contacts.md) -[contacts\_Found](contacts_Found.md) +[contacts.Found](contacts.Found.md) -[contacts\_ImportedContacts](contacts_ImportedContacts.md) +[contacts.ImportedContacts](contacts.ImportedContacts.md) -[contacts\_ResolvedPeer](contacts_ResolvedPeer.md) +[contacts.ResolvedPeer](contacts.ResolvedPeer.md) -[contacts\_TopPeers](contacts_TopPeers.md) +[contacts.TopPeers](contacts.TopPeers.md) -[help\_AppUpdate](help_AppUpdate.md) +[help.AppUpdate](help.AppUpdate.md) -[help\_ConfigSimple](help_ConfigSimple.md) +[help.ConfigSimple](help.ConfigSimple.md) -[help\_DeepLinkInfo](help_DeepLinkInfo.md) +[help.DeepLinkInfo](help.DeepLinkInfo.md) -[help\_InviteText](help_InviteText.md) +[help.InviteText](help.InviteText.md) -[help\_PassportConfig](help_PassportConfig.md) +[help.PassportConfig](help.PassportConfig.md) -[help\_ProxyData](help_ProxyData.md) +[help.ProxyData](help.ProxyData.md) -[help\_RecentMeUrls](help_RecentMeUrls.md) +[help.RecentMeUrls](help.RecentMeUrls.md) -[help\_Support](help_Support.md) +[help.Support](help.Support.md) -[help\_SupportName](help_SupportName.md) +[help.SupportName](help.SupportName.md) -[help\_TermsOfService](help_TermsOfService.md) +[help.TermsOfService](help.TermsOfService.md) -[help\_TermsOfServiceUpdate](help_TermsOfServiceUpdate.md) +[help.TermsOfServiceUpdate](help.TermsOfServiceUpdate.md) -[help\_UserInfo](help_UserInfo.md) +[help.UserInfo](help.UserInfo.md) [int](int.md) [long](long.md) -[messages\_AffectedHistory](messages_AffectedHistory.md) +[messages.AffectedHistory](messages.AffectedHistory.md) -[messages\_AffectedMessages](messages_AffectedMessages.md) +[messages.AffectedMessages](messages.AffectedMessages.md) -[messages\_AllStickers](messages_AllStickers.md) +[messages.AllStickers](messages.AllStickers.md) -[messages\_ArchivedStickers](messages_ArchivedStickers.md) +[messages.ArchivedStickers](messages.ArchivedStickers.md) -[messages\_BotCallbackAnswer](messages_BotCallbackAnswer.md) +[messages.BotCallbackAnswer](messages.BotCallbackAnswer.md) -[messages\_BotResults](messages_BotResults.md) +[messages.BotResults](messages.BotResults.md) -[messages\_ChatFull](messages_ChatFull.md) +[messages.ChatFull](messages.ChatFull.md) -[messages\_Chats](messages_Chats.md) +[messages.Chats](messages.Chats.md) -[messages\_DhConfig](messages_DhConfig.md) +[messages.DhConfig](messages.DhConfig.md) -[messages\_Dialogs](messages_Dialogs.md) +[messages.Dialogs](messages.Dialogs.md) -[messages\_FavedStickers](messages_FavedStickers.md) +[messages.FavedStickers](messages.FavedStickers.md) -[messages\_FeaturedStickers](messages_FeaturedStickers.md) +[messages.FeaturedStickers](messages.FeaturedStickers.md) -[messages\_FoundGifs](messages_FoundGifs.md) +[messages.FoundGifs](messages.FoundGifs.md) -[messages\_FoundStickerSets](messages_FoundStickerSets.md) +[messages.FoundStickerSets](messages.FoundStickerSets.md) -[messages\_HighScores](messages_HighScores.md) +[messages.HighScores](messages.HighScores.md) -[messages\_MessageEditData](messages_MessageEditData.md) +[messages.MessageEditData](messages.MessageEditData.md) -[messages\_Messages](messages_Messages.md) +[messages.Messages](messages.Messages.md) -[messages\_PeerDialogs](messages_PeerDialogs.md) +[messages.PeerDialogs](messages.PeerDialogs.md) -[messages\_RecentStickers](messages_RecentStickers.md) +[messages.RecentStickers](messages.RecentStickers.md) -[messages\_SavedGifs](messages_SavedGifs.md) +[messages.SavedGifs](messages.SavedGifs.md) -[messages\_SearchCounter](messages_SearchCounter.md) +[messages.SearchCounter](messages.SearchCounter.md) -[messages\_SentEncryptedMessage](messages_SentEncryptedMessage.md) +[messages.SentEncryptedMessage](messages.SentEncryptedMessage.md) -[messages\_StickerSet](messages_StickerSet.md) +[messages.StickerSet](messages.StickerSet.md) -[messages\_StickerSetInstallResult](messages_StickerSetInstallResult.md) +[messages.StickerSetInstallResult](messages.StickerSetInstallResult.md) -[messages\_Stickers](messages_Stickers.md) +[messages.Stickers](messages.Stickers.md) -[payments\_PaymentForm](payments_PaymentForm.md) +[payments.PaymentForm](payments.PaymentForm.md) -[payments\_PaymentReceipt](payments_PaymentReceipt.md) +[payments.PaymentReceipt](payments.PaymentReceipt.md) -[payments\_PaymentResult](payments_PaymentResult.md) +[payments.PaymentResult](payments.PaymentResult.md) -[payments\_SavedInfo](payments_SavedInfo.md) +[payments.SavedInfo](payments.SavedInfo.md) -[payments\_ValidatedRequestedInfo](payments_ValidatedRequestedInfo.md) +[payments.ValidatedRequestedInfo](payments.ValidatedRequestedInfo.md) -[phone\_PhoneCall](phone_PhoneCall.md) +[phone.PhoneCall](phone.PhoneCall.md) -[photos\_Photo](photos_Photo.md) +[photos.Photo](photos.Photo.md) -[photos\_Photos](photos_Photos.md) +[photos.Photos](photos.Photos.md) -[storage\_FileType](storage_FileType.md) +[storage.FileType](storage.FileType.md) -[updates\_ChannelDifference](updates_ChannelDifference.md) +[updates.ChannelDifference](updates.ChannelDifference.md) -[updates\_Difference](updates_Difference.md) +[updates.Difference](updates.Difference.md) -[updates\_State](updates_State.md) +[updates.State](updates.State.md) -[upload\_CdnFile](upload_CdnFile.md) +[upload.CdnFile](upload.CdnFile.md) -[upload\_File](upload_File.md) +[upload.File](upload.File.md) -[upload\_WebFile](upload_WebFile.md) +[upload.WebFile](upload.WebFile.md) diff --git a/old_docs/API_docs_v102/types/ReceivedNotifyMessage.md b/old_docs/API_docs_v102/types/ReceivedNotifyMessage.md index c7fc3b8c..416aa275 100644 --- a/old_docs/API_docs_v102/types/ReceivedNotifyMessage.md +++ b/old_docs/API_docs_v102/types/ReceivedNotifyMessage.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->receivedMessages](../methods/messages_receivedMessages.md) +[$MadelineProto->messages->receivedMessages](../methods/messages.receivedMessages.md) diff --git a/old_docs/API_docs_v102/types/SavedContact.md b/old_docs/API_docs_v102/types/SavedContact.md index c337f3eb..73a91ba6 100644 --- a/old_docs/API_docs_v102/types/SavedContact.md +++ b/old_docs/API_docs_v102/types/SavedContact.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->contacts->getSaved](../methods/contacts_getSaved.md) +[$MadelineProto->contacts->getSaved](../methods/contacts.getSaved.md) diff --git a/old_docs/API_docs_v102/types/SecureValue.md b/old_docs/API_docs_v102/types/SecureValue.md index 8490f399..2ab18f68 100644 --- a/old_docs/API_docs_v102/types/SecureValue.md +++ b/old_docs/API_docs_v102/types/SecureValue.md @@ -16,11 +16,11 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->account->getAllSecureValues](../methods/account_getAllSecureValues.md) +[$MadelineProto->account->getAllSecureValues](../methods/account.getAllSecureValues.md) -[$MadelineProto->account->getSecureValue](../methods/account_getSecureValue.md) +[$MadelineProto->account->getSecureValue](../methods/account.getSecureValue.md) -[$MadelineProto->account->saveSecureValue](../methods/account_saveSecureValue.md) +[$MadelineProto->account->saveSecureValue](../methods/account.saveSecureValue.md) diff --git a/old_docs/API_docs_v102/types/StatsURL.md b/old_docs/API_docs_v102/types/StatsURL.md index 1a2695cd..8704eed7 100644 --- a/old_docs/API_docs_v102/types/StatsURL.md +++ b/old_docs/API_docs_v102/types/StatsURL.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getStatsURL](../methods/messages_getStatsURL.md) +[$MadelineProto->messages->getStatsURL](../methods/messages.getStatsURL.md) diff --git a/old_docs/API_docs_v102/types/StickerSetCovered.md b/old_docs/API_docs_v102/types/StickerSetCovered.md index ffd1da1f..f57cd117 100644 --- a/old_docs/API_docs_v102/types/StickerSetCovered.md +++ b/old_docs/API_docs_v102/types/StickerSetCovered.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getAttachedStickers](../methods/messages_getAttachedStickers.md) +[$MadelineProto->messages->getAttachedStickers](../methods/messages.getAttachedStickers.md) diff --git a/old_docs/API_docs_v102/types/Updates.md b/old_docs/API_docs_v102/types/Updates.md index a827f664..120258e5 100644 --- a/old_docs/API_docs_v102/types/Updates.md +++ b/old_docs/API_docs_v102/types/Updates.md @@ -28,91 +28,91 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->account->getNotifyExceptions](../methods/account_getNotifyExceptions.md) +[$MadelineProto->account->getNotifyExceptions](../methods/account.getNotifyExceptions.md) -[$MadelineProto->contacts->deleteContacts](../methods/contacts_deleteContacts.md) +[$MadelineProto->contacts->deleteContacts](../methods/contacts.deleteContacts.md) -[$MadelineProto->contacts->addContact](../methods/contacts_addContact.md) +[$MadelineProto->contacts->addContact](../methods/contacts.addContact.md) -[$MadelineProto->contacts->acceptContact](../methods/contacts_acceptContact.md) +[$MadelineProto->contacts->acceptContact](../methods/contacts.acceptContact.md) -[$MadelineProto->contacts->getLocated](../methods/contacts_getLocated.md) +[$MadelineProto->contacts->getLocated](../methods/contacts.getLocated.md) -[$MadelineProto->messages->sendMessage](../methods/messages_sendMessage.md) +[$MadelineProto->messages->sendMessage](../methods/messages.sendMessage.md) -[$MadelineProto->messages->sendMedia](../methods/messages_sendMedia.md) +[$MadelineProto->messages->sendMedia](../methods/messages.sendMedia.md) -[$MadelineProto->messages->forwardMessages](../methods/messages_forwardMessages.md) +[$MadelineProto->messages->forwardMessages](../methods/messages.forwardMessages.md) -[$MadelineProto->messages->editChatTitle](../methods/messages_editChatTitle.md) +[$MadelineProto->messages->editChatTitle](../methods/messages.editChatTitle.md) -[$MadelineProto->messages->editChatPhoto](../methods/messages_editChatPhoto.md) +[$MadelineProto->messages->editChatPhoto](../methods/messages.editChatPhoto.md) -[$MadelineProto->messages->addChatUser](../methods/messages_addChatUser.md) +[$MadelineProto->messages->addChatUser](../methods/messages.addChatUser.md) -[$MadelineProto->messages->deleteChatUser](../methods/messages_deleteChatUser.md) +[$MadelineProto->messages->deleteChatUser](../methods/messages.deleteChatUser.md) -[$MadelineProto->messages->createChat](../methods/messages_createChat.md) +[$MadelineProto->messages->createChat](../methods/messages.createChat.md) -[$MadelineProto->messages->importChatInvite](../methods/messages_importChatInvite.md) +[$MadelineProto->messages->importChatInvite](../methods/messages.importChatInvite.md) -[$MadelineProto->messages->startBot](../methods/messages_startBot.md) +[$MadelineProto->messages->startBot](../methods/messages.startBot.md) -[$MadelineProto->messages->migrateChat](../methods/messages_migrateChat.md) +[$MadelineProto->messages->migrateChat](../methods/messages.migrateChat.md) -[$MadelineProto->messages->sendInlineBotResult](../methods/messages_sendInlineBotResult.md) +[$MadelineProto->messages->sendInlineBotResult](../methods/messages.sendInlineBotResult.md) -[$MadelineProto->messages->editMessage](../methods/messages_editMessage.md) +[$MadelineProto->messages->editMessage](../methods/messages.editMessage.md) -[$MadelineProto->messages->getAllDrafts](../methods/messages_getAllDrafts.md) +[$MadelineProto->messages->getAllDrafts](../methods/messages.getAllDrafts.md) -[$MadelineProto->messages->setGameScore](../methods/messages_setGameScore.md) +[$MadelineProto->messages->setGameScore](../methods/messages.setGameScore.md) -[$MadelineProto->messages->sendScreenshotNotification](../methods/messages_sendScreenshotNotification.md) +[$MadelineProto->messages->sendScreenshotNotification](../methods/messages.sendScreenshotNotification.md) -[$MadelineProto->messages->sendMultiMedia](../methods/messages_sendMultiMedia.md) +[$MadelineProto->messages->sendMultiMedia](../methods/messages.sendMultiMedia.md) -[$MadelineProto->messages->updatePinnedMessage](../methods/messages_updatePinnedMessage.md) +[$MadelineProto->messages->updatePinnedMessage](../methods/messages.updatePinnedMessage.md) -[$MadelineProto->messages->sendVote](../methods/messages_sendVote.md) +[$MadelineProto->messages->sendVote](../methods/messages.sendVote.md) -[$MadelineProto->messages->getPollResults](../methods/messages_getPollResults.md) +[$MadelineProto->messages->getPollResults](../methods/messages.getPollResults.md) -[$MadelineProto->messages->editChatDefaultBannedRights](../methods/messages_editChatDefaultBannedRights.md) +[$MadelineProto->messages->editChatDefaultBannedRights](../methods/messages.editChatDefaultBannedRights.md) -[$MadelineProto->help->getAppChangelog](../methods/help_getAppChangelog.md) +[$MadelineProto->help->getAppChangelog](../methods/help.getAppChangelog.md) -[$MadelineProto->channels->createChannel](../methods/channels_createChannel.md) +[$MadelineProto->channels->createChannel](../methods/channels.createChannel.md) -[$MadelineProto->channels->editAdmin](../methods/channels_editAdmin.md) +[$MadelineProto->channels->editAdmin](../methods/channels.editAdmin.md) -[$MadelineProto->channels->editTitle](../methods/channels_editTitle.md) +[$MadelineProto->channels->editTitle](../methods/channels.editTitle.md) -[$MadelineProto->channels->editPhoto](../methods/channels_editPhoto.md) +[$MadelineProto->channels->editPhoto](../methods/channels.editPhoto.md) -[$MadelineProto->channels->joinChannel](../methods/channels_joinChannel.md) +[$MadelineProto->channels->joinChannel](../methods/channels.joinChannel.md) -[$MadelineProto->channels->leaveChannel](../methods/channels_leaveChannel.md) +[$MadelineProto->channels->leaveChannel](../methods/channels.leaveChannel.md) -[$MadelineProto->channels->inviteToChannel](../methods/channels_inviteToChannel.md) +[$MadelineProto->channels->inviteToChannel](../methods/channels.inviteToChannel.md) -[$MadelineProto->channels->deleteChannel](../methods/channels_deleteChannel.md) +[$MadelineProto->channels->deleteChannel](../methods/channels.deleteChannel.md) -[$MadelineProto->channels->toggleSignatures](../methods/channels_toggleSignatures.md) +[$MadelineProto->channels->toggleSignatures](../methods/channels.toggleSignatures.md) -[$MadelineProto->channels->editBanned](../methods/channels_editBanned.md) +[$MadelineProto->channels->editBanned](../methods/channels.editBanned.md) -[$MadelineProto->channels->togglePreHistoryHidden](../methods/channels_togglePreHistoryHidden.md) +[$MadelineProto->channels->togglePreHistoryHidden](../methods/channels.togglePreHistoryHidden.md) -[$MadelineProto->channels->editCreator](../methods/channels_editCreator.md) +[$MadelineProto->channels->editCreator](../methods/channels.editCreator.md) -[$MadelineProto->phone->discardCall](../methods/phone_discardCall.md) +[$MadelineProto->phone->discardCall](../methods/phone.discardCall.md) -[$MadelineProto->phone->setCallRating](../methods/phone_setCallRating.md) +[$MadelineProto->phone->setCallRating](../methods/phone.setCallRating.md) -[$MadelineProto->folders->editPeerFolders](../methods/folders_editPeerFolders.md) +[$MadelineProto->folders->editPeerFolders](../methods/folders.editPeerFolders.md) -[$MadelineProto->folders->deleteFolder](../methods/folders_deleteFolder.md) +[$MadelineProto->folders->deleteFolder](../methods/folders.deleteFolder.md) diff --git a/old_docs/API_docs_v102/types/UrlAuthResult.md b/old_docs/API_docs_v102/types/UrlAuthResult.md index de129235..9533c912 100644 --- a/old_docs/API_docs_v102/types/UrlAuthResult.md +++ b/old_docs/API_docs_v102/types/UrlAuthResult.md @@ -20,9 +20,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->requestUrlAuth](../methods/messages_requestUrlAuth.md) +[$MadelineProto->messages->requestUrlAuth](../methods/messages.requestUrlAuth.md) -[$MadelineProto->messages->acceptUrlAuth](../methods/messages_acceptUrlAuth.md) +[$MadelineProto->messages->acceptUrlAuth](../methods/messages.acceptUrlAuth.md) diff --git a/old_docs/API_docs_v102/types/User.md b/old_docs/API_docs_v102/types/User.md index 49c9af72..0d20e320 100644 --- a/old_docs/API_docs_v102/types/User.md +++ b/old_docs/API_docs_v102/types/User.md @@ -42,13 +42,13 @@ A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDia ### Methods that return an object of this type (methods): -[$MadelineProto->account->updateProfile](../methods/account_updateProfile.md) +[$MadelineProto->account->updateProfile](../methods/account.updateProfile.md) -[$MadelineProto->account->updateUsername](../methods/account_updateUsername.md) +[$MadelineProto->account->updateUsername](../methods/account.updateUsername.md) -[$MadelineProto->account->changePhone](../methods/account_changePhone.md) +[$MadelineProto->account->changePhone](../methods/account.changePhone.md) -[$MadelineProto->users->getUsers](../methods/users_getUsers.md) +[$MadelineProto->users->getUsers](../methods/users.getUsers.md) diff --git a/old_docs/API_docs_v102/types/UserFull.md b/old_docs/API_docs_v102/types/UserFull.md index 79ad30bb..ac50052f 100644 --- a/old_docs/API_docs_v102/types/UserFull.md +++ b/old_docs/API_docs_v102/types/UserFull.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->users->getFullUser](../methods/users_getFullUser.md) +[$MadelineProto->users->getFullUser](../methods/users.getFullUser.md) diff --git a/old_docs/API_docs_v102/types/UserProfilePhoto.md b/old_docs/API_docs_v102/types/UserProfilePhoto.md index e5243a2e..e81e92fd 100644 --- a/old_docs/API_docs_v102/types/UserProfilePhoto.md +++ b/old_docs/API_docs_v102/types/UserProfilePhoto.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->photos->updateProfilePhoto](../methods/photos_updateProfilePhoto.md) +[$MadelineProto->photos->updateProfilePhoto](../methods/photos.updateProfilePhoto.md) diff --git a/old_docs/API_docs_v102/types/WallPaper.md b/old_docs/API_docs_v102/types/WallPaper.md index ccaafe2f..89033d7e 100644 --- a/old_docs/API_docs_v102/types/WallPaper.md +++ b/old_docs/API_docs_v102/types/WallPaper.md @@ -16,9 +16,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->account->getWallPaper](../methods/account_getWallPaper.md) +[$MadelineProto->account->getWallPaper](../methods/account.getWallPaper.md) -[$MadelineProto->account->uploadWallPaper](../methods/account_uploadWallPaper.md) +[$MadelineProto->account->uploadWallPaper](../methods/account.uploadWallPaper.md) diff --git a/old_docs/API_docs_v102/types/WebPage.md b/old_docs/API_docs_v102/types/WebPage.md index a3df791f..f6b61c5e 100644 --- a/old_docs/API_docs_v102/types/WebPage.md +++ b/old_docs/API_docs_v102/types/WebPage.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getWebPage](../methods/messages_getWebPage.md) +[$MadelineProto->messages->getWebPage](../methods/messages.getWebPage.md) diff --git a/old_docs/API_docs_v102/types/account.AuthorizationForm.md b/old_docs/API_docs_v102/types/account.AuthorizationForm.md new file mode 100644 index 00000000..860ff40f --- /dev/null +++ b/old_docs/API_docs_v102/types/account.AuthorizationForm.md @@ -0,0 +1,22 @@ +--- +title: account.AuthorizationForm +description: constructors and methods of type account.AuthorizationForm +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.AuthorizationForm +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.authorizationForm](../constructors/account.authorizationForm.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getAuthorizationForm](../methods/account.getAuthorizationForm.md) + + + diff --git a/old_docs/API_docs_v102/types/account.Authorizations.md b/old_docs/API_docs_v102/types/account.Authorizations.md new file mode 100644 index 00000000..f9112038 --- /dev/null +++ b/old_docs/API_docs_v102/types/account.Authorizations.md @@ -0,0 +1,22 @@ +--- +title: account.Authorizations +description: constructors and methods of type account.Authorizations +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.Authorizations +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.authorizations](../constructors/account.authorizations.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getAuthorizations](../methods/account.getAuthorizations.md) + + + diff --git a/old_docs/API_docs_v102/types/account.AutoDownloadSettings.md b/old_docs/API_docs_v102/types/account.AutoDownloadSettings.md new file mode 100644 index 00000000..e2ee0f6c --- /dev/null +++ b/old_docs/API_docs_v102/types/account.AutoDownloadSettings.md @@ -0,0 +1,22 @@ +--- +title: account.AutoDownloadSettings +description: constructors and methods of type account.AutoDownloadSettings +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.AutoDownloadSettings +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.autoDownloadSettings](../constructors/account.autoDownloadSettings.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getAutoDownloadSettings](../methods/account.getAutoDownloadSettings.md) + + + diff --git a/old_docs/API_docs_v102/types/account.Password.md b/old_docs/API_docs_v102/types/account.Password.md new file mode 100644 index 00000000..190704a3 --- /dev/null +++ b/old_docs/API_docs_v102/types/account.Password.md @@ -0,0 +1,22 @@ +--- +title: account.Password +description: constructors and methods of type account.Password +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.Password +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.password](../constructors/account.password.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getPassword](../methods/account.getPassword.md) + + + diff --git a/old_docs/API_docs_v102/types/account.PasswordInputSettings.md b/old_docs/API_docs_v102/types/account.PasswordInputSettings.md new file mode 100644 index 00000000..72e11fdc --- /dev/null +++ b/old_docs/API_docs_v102/types/account.PasswordInputSettings.md @@ -0,0 +1,20 @@ +--- +title: account.PasswordInputSettings +description: constructors and methods of type account.PasswordInputSettings +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.PasswordInputSettings +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.passwordInputSettings](../constructors/account.passwordInputSettings.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v102/types/account.PasswordSettings.md b/old_docs/API_docs_v102/types/account.PasswordSettings.md new file mode 100644 index 00000000..47016832 --- /dev/null +++ b/old_docs/API_docs_v102/types/account.PasswordSettings.md @@ -0,0 +1,22 @@ +--- +title: account.PasswordSettings +description: constructors and methods of type account.PasswordSettings +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.PasswordSettings +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.passwordSettings](../constructors/account.passwordSettings.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getPasswordSettings](../methods/account.getPasswordSettings.md) + + + diff --git a/old_docs/API_docs_v102/types/account.PrivacyRules.md b/old_docs/API_docs_v102/types/account.PrivacyRules.md new file mode 100644 index 00000000..738651ad --- /dev/null +++ b/old_docs/API_docs_v102/types/account.PrivacyRules.md @@ -0,0 +1,24 @@ +--- +title: account.PrivacyRules +description: constructors and methods of type account.PrivacyRules +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.PrivacyRules +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.privacyRules](../constructors/account.privacyRules.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getPrivacy](../methods/account.getPrivacy.md) + +[$MadelineProto->account->setPrivacy](../methods/account.setPrivacy.md) + + + diff --git a/old_docs/API_docs_v102/types/account.SentEmailCode.md b/old_docs/API_docs_v102/types/account.SentEmailCode.md new file mode 100644 index 00000000..6adcd649 --- /dev/null +++ b/old_docs/API_docs_v102/types/account.SentEmailCode.md @@ -0,0 +1,22 @@ +--- +title: account.SentEmailCode +description: constructors and methods of type account.SentEmailCode +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.SentEmailCode +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.sentEmailCode](../constructors/account.sentEmailCode.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->sendVerifyEmailCode](../methods/account.sendVerifyEmailCode.md) + + + diff --git a/old_docs/API_docs_v102/types/account.Takeout.md b/old_docs/API_docs_v102/types/account.Takeout.md new file mode 100644 index 00000000..96998ce4 --- /dev/null +++ b/old_docs/API_docs_v102/types/account.Takeout.md @@ -0,0 +1,22 @@ +--- +title: account.Takeout +description: constructors and methods of type account.Takeout +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.Takeout +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.takeout](../constructors/account.takeout.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->initTakeoutSession](../methods/account.initTakeoutSession.md) + + + diff --git a/old_docs/API_docs_v102/types/account.TmpPassword.md b/old_docs/API_docs_v102/types/account.TmpPassword.md new file mode 100644 index 00000000..2116c6c0 --- /dev/null +++ b/old_docs/API_docs_v102/types/account.TmpPassword.md @@ -0,0 +1,22 @@ +--- +title: account.TmpPassword +description: constructors and methods of type account.TmpPassword +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.TmpPassword +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.tmpPassword](../constructors/account.tmpPassword.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getTmpPassword](../methods/account.getTmpPassword.md) + + + diff --git a/old_docs/API_docs_v102/types/account.WallPapers.md b/old_docs/API_docs_v102/types/account.WallPapers.md new file mode 100644 index 00000000..13d11d26 --- /dev/null +++ b/old_docs/API_docs_v102/types/account.WallPapers.md @@ -0,0 +1,24 @@ +--- +title: account.WallPapers +description: constructors and methods of type account.WallPapers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.WallPapers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.wallPapersNotModified](../constructors/account.wallPapersNotModified.md) + +[account.wallPapers](../constructors/account.wallPapers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getWallPapers](../methods/account.getWallPapers.md) + + + diff --git a/old_docs/API_docs_v102/types/account.WebAuthorizations.md b/old_docs/API_docs_v102/types/account.WebAuthorizations.md new file mode 100644 index 00000000..931633ef --- /dev/null +++ b/old_docs/API_docs_v102/types/account.WebAuthorizations.md @@ -0,0 +1,22 @@ +--- +title: account.WebAuthorizations +description: constructors and methods of type account.WebAuthorizations +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.WebAuthorizations +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.webAuthorizations](../constructors/account.webAuthorizations.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getWebAuthorizations](../methods/account.getWebAuthorizations.md) + + + diff --git a/old_docs/API_docs_v102/types/account_AuthorizationForm.md b/old_docs/API_docs_v102/types/account_AuthorizationForm.md deleted file mode 100644 index 5eec2b92..00000000 --- a/old_docs/API_docs_v102/types/account_AuthorizationForm.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_AuthorizationForm -description: constructors and methods of type account_AuthorizationForm -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_AuthorizationForm -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_authorizationForm](../constructors/account_authorizationForm.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getAuthorizationForm](../methods/account_getAuthorizationForm.md) - - - diff --git a/old_docs/API_docs_v102/types/account_Authorizations.md b/old_docs/API_docs_v102/types/account_Authorizations.md deleted file mode 100644 index 4709ddb5..00000000 --- a/old_docs/API_docs_v102/types/account_Authorizations.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_Authorizations -description: constructors and methods of type account_Authorizations -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_Authorizations -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_authorizations](../constructors/account_authorizations.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getAuthorizations](../methods/account_getAuthorizations.md) - - - diff --git a/old_docs/API_docs_v102/types/account_AutoDownloadSettings.md b/old_docs/API_docs_v102/types/account_AutoDownloadSettings.md deleted file mode 100644 index 6df664df..00000000 --- a/old_docs/API_docs_v102/types/account_AutoDownloadSettings.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_AutoDownloadSettings -description: constructors and methods of type account_AutoDownloadSettings -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_AutoDownloadSettings -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_autoDownloadSettings](../constructors/account_autoDownloadSettings.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getAutoDownloadSettings](../methods/account_getAutoDownloadSettings.md) - - - diff --git a/old_docs/API_docs_v102/types/account_Password.md b/old_docs/API_docs_v102/types/account_Password.md deleted file mode 100644 index f3b6e065..00000000 --- a/old_docs/API_docs_v102/types/account_Password.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_Password -description: constructors and methods of type account_Password -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_Password -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_password](../constructors/account_password.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getPassword](../methods/account_getPassword.md) - - - diff --git a/old_docs/API_docs_v102/types/account_PasswordInputSettings.md b/old_docs/API_docs_v102/types/account_PasswordInputSettings.md deleted file mode 100644 index a6455eb8..00000000 --- a/old_docs/API_docs_v102/types/account_PasswordInputSettings.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: account_PasswordInputSettings -description: constructors and methods of type account_PasswordInputSettings -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_PasswordInputSettings -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_passwordInputSettings](../constructors/account_passwordInputSettings.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v102/types/account_PasswordSettings.md b/old_docs/API_docs_v102/types/account_PasswordSettings.md deleted file mode 100644 index 687eb217..00000000 --- a/old_docs/API_docs_v102/types/account_PasswordSettings.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_PasswordSettings -description: constructors and methods of type account_PasswordSettings -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_PasswordSettings -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_passwordSettings](../constructors/account_passwordSettings.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getPasswordSettings](../methods/account_getPasswordSettings.md) - - - diff --git a/old_docs/API_docs_v102/types/account_PrivacyRules.md b/old_docs/API_docs_v102/types/account_PrivacyRules.md deleted file mode 100644 index 40b00077..00000000 --- a/old_docs/API_docs_v102/types/account_PrivacyRules.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: account_PrivacyRules -description: constructors and methods of type account_PrivacyRules -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_PrivacyRules -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_privacyRules](../constructors/account_privacyRules.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getPrivacy](../methods/account_getPrivacy.md) - -[$MadelineProto->account->setPrivacy](../methods/account_setPrivacy.md) - - - diff --git a/old_docs/API_docs_v102/types/account_SentEmailCode.md b/old_docs/API_docs_v102/types/account_SentEmailCode.md deleted file mode 100644 index 4aa38335..00000000 --- a/old_docs/API_docs_v102/types/account_SentEmailCode.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_SentEmailCode -description: constructors and methods of type account_SentEmailCode -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_SentEmailCode -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_sentEmailCode](../constructors/account_sentEmailCode.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->sendVerifyEmailCode](../methods/account_sendVerifyEmailCode.md) - - - diff --git a/old_docs/API_docs_v102/types/account_Takeout.md b/old_docs/API_docs_v102/types/account_Takeout.md deleted file mode 100644 index 26960f88..00000000 --- a/old_docs/API_docs_v102/types/account_Takeout.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_Takeout -description: constructors and methods of type account_Takeout -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_Takeout -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_takeout](../constructors/account_takeout.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->initTakeoutSession](../methods/account_initTakeoutSession.md) - - - diff --git a/old_docs/API_docs_v102/types/account_TmpPassword.md b/old_docs/API_docs_v102/types/account_TmpPassword.md deleted file mode 100644 index d7557921..00000000 --- a/old_docs/API_docs_v102/types/account_TmpPassword.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_TmpPassword -description: constructors and methods of type account_TmpPassword -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_TmpPassword -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_tmpPassword](../constructors/account_tmpPassword.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getTmpPassword](../methods/account_getTmpPassword.md) - - - diff --git a/old_docs/API_docs_v102/types/account_WallPapers.md b/old_docs/API_docs_v102/types/account_WallPapers.md deleted file mode 100644 index 6a082a9a..00000000 --- a/old_docs/API_docs_v102/types/account_WallPapers.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: account_WallPapers -description: constructors and methods of type account_WallPapers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_WallPapers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_wallPapersNotModified](../constructors/account_wallPapersNotModified.md) - -[account\_wallPapers](../constructors/account_wallPapers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getWallPapers](../methods/account_getWallPapers.md) - - - diff --git a/old_docs/API_docs_v102/types/account_WebAuthorizations.md b/old_docs/API_docs_v102/types/account_WebAuthorizations.md deleted file mode 100644 index 1202632b..00000000 --- a/old_docs/API_docs_v102/types/account_WebAuthorizations.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_WebAuthorizations -description: constructors and methods of type account_WebAuthorizations -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_WebAuthorizations -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_webAuthorizations](../constructors/account_webAuthorizations.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getWebAuthorizations](../methods/account_getWebAuthorizations.md) - - - diff --git a/old_docs/API_docs_v102/types/auth.Authorization.md b/old_docs/API_docs_v102/types/auth.Authorization.md new file mode 100644 index 00000000..adcfa7d3 --- /dev/null +++ b/old_docs/API_docs_v102/types/auth.Authorization.md @@ -0,0 +1,32 @@ +--- +title: auth.Authorization +description: constructors and methods of type auth.Authorization +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.Authorization +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.authorization](../constructors/auth.authorization.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->signUp](../methods/auth.signUp.md) + +[$MadelineProto->auth->signIn](../methods/auth.signIn.md) + +[$MadelineProto->auth->importAuthorization](../methods/auth.importAuthorization.md) + +[$MadelineProto->auth->importBotAuthorization](../methods/auth.importBotAuthorization.md) + +[$MadelineProto->auth->checkPassword](../methods/auth.checkPassword.md) + +[$MadelineProto->auth->recoverPassword](../methods/auth.recoverPassword.md) + + + diff --git a/old_docs/API_docs_v102/types/auth.CheckedPhone.md b/old_docs/API_docs_v102/types/auth.CheckedPhone.md new file mode 100644 index 00000000..1d6672e7 --- /dev/null +++ b/old_docs/API_docs_v102/types/auth.CheckedPhone.md @@ -0,0 +1,20 @@ +--- +title: auth.CheckedPhone +description: constructors and methods of type auth.CheckedPhone +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.CheckedPhone +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.checkedPhone](../constructors/auth.checkedPhone.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v102/types/auth.CodeType.md b/old_docs/API_docs_v102/types/auth.CodeType.md new file mode 100644 index 00000000..8d2b308d --- /dev/null +++ b/old_docs/API_docs_v102/types/auth.CodeType.md @@ -0,0 +1,24 @@ +--- +title: auth.CodeType +description: constructors and methods of type auth.CodeType +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.CodeType +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.codeTypeSms](../constructors/auth.codeTypeSms.md) + +[auth.codeTypeCall](../constructors/auth.codeTypeCall.md) + +[auth.codeTypeFlashCall](../constructors/auth.codeTypeFlashCall.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v102/types/auth.ExportedAuthorization.md b/old_docs/API_docs_v102/types/auth.ExportedAuthorization.md new file mode 100644 index 00000000..ccb38d60 --- /dev/null +++ b/old_docs/API_docs_v102/types/auth.ExportedAuthorization.md @@ -0,0 +1,22 @@ +--- +title: auth.ExportedAuthorization +description: constructors and methods of type auth.ExportedAuthorization +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.ExportedAuthorization +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.exportedAuthorization](../constructors/auth.exportedAuthorization.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->exportAuthorization](../methods/auth.exportAuthorization.md) + + + diff --git a/old_docs/API_docs_v102/types/auth.PasswordRecovery.md b/old_docs/API_docs_v102/types/auth.PasswordRecovery.md new file mode 100644 index 00000000..c1c18992 --- /dev/null +++ b/old_docs/API_docs_v102/types/auth.PasswordRecovery.md @@ -0,0 +1,22 @@ +--- +title: auth.PasswordRecovery +description: constructors and methods of type auth.PasswordRecovery +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.PasswordRecovery +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.passwordRecovery](../constructors/auth.passwordRecovery.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->requestPasswordRecovery](../methods/auth.requestPasswordRecovery.md) + + + diff --git a/old_docs/API_docs_v102/types/auth.SentCode.md b/old_docs/API_docs_v102/types/auth.SentCode.md new file mode 100644 index 00000000..4950edeb --- /dev/null +++ b/old_docs/API_docs_v102/types/auth.SentCode.md @@ -0,0 +1,30 @@ +--- +title: auth.SentCode +description: constructors and methods of type auth.SentCode +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.SentCode +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.sentCode](../constructors/auth.sentCode.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->sendCode](../methods/auth.sendCode.md) + +[$MadelineProto->auth->resendCode](../methods/auth.resendCode.md) + +[$MadelineProto->account->sendChangePhoneCode](../methods/account.sendChangePhoneCode.md) + +[$MadelineProto->account->sendConfirmPhoneCode](../methods/account.sendConfirmPhoneCode.md) + +[$MadelineProto->account->sendVerifyPhoneCode](../methods/account.sendVerifyPhoneCode.md) + + + diff --git a/old_docs/API_docs_v102/types/auth.SentCodeType.md b/old_docs/API_docs_v102/types/auth.SentCodeType.md new file mode 100644 index 00000000..7c7c534e --- /dev/null +++ b/old_docs/API_docs_v102/types/auth.SentCodeType.md @@ -0,0 +1,26 @@ +--- +title: auth.SentCodeType +description: constructors and methods of type auth.SentCodeType +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.SentCodeType +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.sentCodeTypeApp](../constructors/auth.sentCodeTypeApp.md) + +[auth.sentCodeTypeSms](../constructors/auth.sentCodeTypeSms.md) + +[auth.sentCodeTypeCall](../constructors/auth.sentCodeTypeCall.md) + +[auth.sentCodeTypeFlashCall](../constructors/auth.sentCodeTypeFlashCall.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v102/types/auth_Authorization.md b/old_docs/API_docs_v102/types/auth_Authorization.md deleted file mode 100644 index 5a34fc2d..00000000 --- a/old_docs/API_docs_v102/types/auth_Authorization.md +++ /dev/null @@ -1,32 +0,0 @@ ---- -title: auth_Authorization -description: constructors and methods of type auth_Authorization -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_Authorization -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_authorization](../constructors/auth_authorization.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->signUp](../methods/auth_signUp.md) - -[$MadelineProto->auth->signIn](../methods/auth_signIn.md) - -[$MadelineProto->auth->importAuthorization](../methods/auth_importAuthorization.md) - -[$MadelineProto->auth->importBotAuthorization](../methods/auth_importBotAuthorization.md) - -[$MadelineProto->auth->checkPassword](../methods/auth_checkPassword.md) - -[$MadelineProto->auth->recoverPassword](../methods/auth_recoverPassword.md) - - - diff --git a/old_docs/API_docs_v102/types/auth_CheckedPhone.md b/old_docs/API_docs_v102/types/auth_CheckedPhone.md deleted file mode 100644 index e2b823f7..00000000 --- a/old_docs/API_docs_v102/types/auth_CheckedPhone.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: auth_CheckedPhone -description: constructors and methods of type auth_CheckedPhone -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_CheckedPhone -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_checkedPhone](../constructors/auth_checkedPhone.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v102/types/auth_CodeType.md b/old_docs/API_docs_v102/types/auth_CodeType.md deleted file mode 100644 index 3cd9a7b7..00000000 --- a/old_docs/API_docs_v102/types/auth_CodeType.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: auth_CodeType -description: constructors and methods of type auth_CodeType -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_CodeType -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_codeTypeSms](../constructors/auth_codeTypeSms.md) - -[auth\_codeTypeCall](../constructors/auth_codeTypeCall.md) - -[auth\_codeTypeFlashCall](../constructors/auth_codeTypeFlashCall.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v102/types/auth_ExportedAuthorization.md b/old_docs/API_docs_v102/types/auth_ExportedAuthorization.md deleted file mode 100644 index 69e5c42e..00000000 --- a/old_docs/API_docs_v102/types/auth_ExportedAuthorization.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: auth_ExportedAuthorization -description: constructors and methods of type auth_ExportedAuthorization -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_ExportedAuthorization -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_exportedAuthorization](../constructors/auth_exportedAuthorization.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->exportAuthorization](../methods/auth_exportAuthorization.md) - - - diff --git a/old_docs/API_docs_v102/types/auth_PasswordRecovery.md b/old_docs/API_docs_v102/types/auth_PasswordRecovery.md deleted file mode 100644 index 4962bf42..00000000 --- a/old_docs/API_docs_v102/types/auth_PasswordRecovery.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: auth_PasswordRecovery -description: constructors and methods of type auth_PasswordRecovery -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_PasswordRecovery -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_passwordRecovery](../constructors/auth_passwordRecovery.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->requestPasswordRecovery](../methods/auth_requestPasswordRecovery.md) - - - diff --git a/old_docs/API_docs_v102/types/auth_SentCode.md b/old_docs/API_docs_v102/types/auth_SentCode.md deleted file mode 100644 index 140d956c..00000000 --- a/old_docs/API_docs_v102/types/auth_SentCode.md +++ /dev/null @@ -1,30 +0,0 @@ ---- -title: auth_SentCode -description: constructors and methods of type auth_SentCode -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_SentCode -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_sentCode](../constructors/auth_sentCode.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->sendCode](../methods/auth_sendCode.md) - -[$MadelineProto->auth->resendCode](../methods/auth_resendCode.md) - -[$MadelineProto->account->sendChangePhoneCode](../methods/account_sendChangePhoneCode.md) - -[$MadelineProto->account->sendConfirmPhoneCode](../methods/account_sendConfirmPhoneCode.md) - -[$MadelineProto->account->sendVerifyPhoneCode](../methods/account_sendVerifyPhoneCode.md) - - - diff --git a/old_docs/API_docs_v102/types/auth_SentCodeType.md b/old_docs/API_docs_v102/types/auth_SentCodeType.md deleted file mode 100644 index 8dfcb93b..00000000 --- a/old_docs/API_docs_v102/types/auth_SentCodeType.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: auth_SentCodeType -description: constructors and methods of type auth_SentCodeType -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_SentCodeType -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_sentCodeTypeApp](../constructors/auth_sentCodeTypeApp.md) - -[auth\_sentCodeTypeSms](../constructors/auth_sentCodeTypeSms.md) - -[auth\_sentCodeTypeCall](../constructors/auth_sentCodeTypeCall.md) - -[auth\_sentCodeTypeFlashCall](../constructors/auth_sentCodeTypeFlashCall.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v102/types/channels.AdminLogResults.md b/old_docs/API_docs_v102/types/channels.AdminLogResults.md new file mode 100644 index 00000000..7855a4fd --- /dev/null +++ b/old_docs/API_docs_v102/types/channels.AdminLogResults.md @@ -0,0 +1,22 @@ +--- +title: channels.AdminLogResults +description: constructors and methods of type channels.AdminLogResults +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: channels.AdminLogResults +[Back to types index](index.md) + + + +### Possible values (constructors): + +[channels.adminLogResults](../constructors/channels.adminLogResults.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->channels->getAdminLog](../methods/channels.getAdminLog.md) + + + diff --git a/old_docs/API_docs_v102/types/channels.ChannelParticipant.md b/old_docs/API_docs_v102/types/channels.ChannelParticipant.md new file mode 100644 index 00000000..8dc7f7e6 --- /dev/null +++ b/old_docs/API_docs_v102/types/channels.ChannelParticipant.md @@ -0,0 +1,22 @@ +--- +title: channels.ChannelParticipant +description: constructors and methods of type channels.ChannelParticipant +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: channels.ChannelParticipant +[Back to types index](index.md) + + + +### Possible values (constructors): + +[channels.channelParticipant](../constructors/channels.channelParticipant.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->channels->getParticipant](../methods/channels.getParticipant.md) + + + diff --git a/old_docs/API_docs_v102/types/channels.ChannelParticipants.md b/old_docs/API_docs_v102/types/channels.ChannelParticipants.md new file mode 100644 index 00000000..d448e007 --- /dev/null +++ b/old_docs/API_docs_v102/types/channels.ChannelParticipants.md @@ -0,0 +1,24 @@ +--- +title: channels.ChannelParticipants +description: constructors and methods of type channels.ChannelParticipants +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: channels.ChannelParticipants +[Back to types index](index.md) + + + +### Possible values (constructors): + +[channels.channelParticipants](../constructors/channels.channelParticipants.md) + +[channels.channelParticipantsNotModified](../constructors/channels.channelParticipantsNotModified.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->channels->getParticipants](../methods/channels.getParticipants.md) + + + diff --git a/old_docs/API_docs_v102/types/channels_AdminLogResults.md b/old_docs/API_docs_v102/types/channels_AdminLogResults.md deleted file mode 100644 index 4e9b5544..00000000 --- a/old_docs/API_docs_v102/types/channels_AdminLogResults.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: channels_AdminLogResults -description: constructors and methods of type channels_AdminLogResults -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: channels\_AdminLogResults -[Back to types index](index.md) - - - -### Possible values (constructors): - -[channels\_adminLogResults](../constructors/channels_adminLogResults.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->channels->getAdminLog](../methods/channels_getAdminLog.md) - - - diff --git a/old_docs/API_docs_v102/types/channels_ChannelParticipant.md b/old_docs/API_docs_v102/types/channels_ChannelParticipant.md deleted file mode 100644 index 3d4667c3..00000000 --- a/old_docs/API_docs_v102/types/channels_ChannelParticipant.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: channels_ChannelParticipant -description: constructors and methods of type channels_ChannelParticipant -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: channels\_ChannelParticipant -[Back to types index](index.md) - - - -### Possible values (constructors): - -[channels\_channelParticipant](../constructors/channels_channelParticipant.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->channels->getParticipant](../methods/channels_getParticipant.md) - - - diff --git a/old_docs/API_docs_v102/types/channels_ChannelParticipants.md b/old_docs/API_docs_v102/types/channels_ChannelParticipants.md deleted file mode 100644 index 80a41dd9..00000000 --- a/old_docs/API_docs_v102/types/channels_ChannelParticipants.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: channels_ChannelParticipants -description: constructors and methods of type channels_ChannelParticipants -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: channels\_ChannelParticipants -[Back to types index](index.md) - - - -### Possible values (constructors): - -[channels\_channelParticipants](../constructors/channels_channelParticipants.md) - -[channels\_channelParticipantsNotModified](../constructors/channels_channelParticipantsNotModified.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->channels->getParticipants](../methods/channels_getParticipants.md) - - - diff --git a/old_docs/API_docs_v102/types/contacts.Blocked.md b/old_docs/API_docs_v102/types/contacts.Blocked.md new file mode 100644 index 00000000..cb2af80f --- /dev/null +++ b/old_docs/API_docs_v102/types/contacts.Blocked.md @@ -0,0 +1,24 @@ +--- +title: contacts.Blocked +description: constructors and methods of type contacts.Blocked +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Blocked +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.blocked](../constructors/contacts.blocked.md) + +[contacts.blockedSlice](../constructors/contacts.blockedSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getBlocked](../methods/contacts.getBlocked.md) + + + diff --git a/old_docs/API_docs_v102/types/contacts.Contacts.md b/old_docs/API_docs_v102/types/contacts.Contacts.md new file mode 100644 index 00000000..5f695d8e --- /dev/null +++ b/old_docs/API_docs_v102/types/contacts.Contacts.md @@ -0,0 +1,24 @@ +--- +title: contacts.Contacts +description: constructors and methods of type contacts.Contacts +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Contacts +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.contactsNotModified](../constructors/contacts.contactsNotModified.md) + +[contacts.contacts](../constructors/contacts.contacts.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getContacts](../methods/contacts.getContacts.md) + + + diff --git a/old_docs/API_docs_v102/types/contacts.Found.md b/old_docs/API_docs_v102/types/contacts.Found.md new file mode 100644 index 00000000..7df98927 --- /dev/null +++ b/old_docs/API_docs_v102/types/contacts.Found.md @@ -0,0 +1,22 @@ +--- +title: contacts.Found +description: constructors and methods of type contacts.Found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Found +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.found](../constructors/contacts.found.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->search](../methods/contacts.search.md) + + + diff --git a/old_docs/API_docs_v102/types/contacts.ImportedContacts.md b/old_docs/API_docs_v102/types/contacts.ImportedContacts.md new file mode 100644 index 00000000..16795bab --- /dev/null +++ b/old_docs/API_docs_v102/types/contacts.ImportedContacts.md @@ -0,0 +1,22 @@ +--- +title: contacts.ImportedContacts +description: constructors and methods of type contacts.ImportedContacts +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.ImportedContacts +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.importedContacts](../constructors/contacts.importedContacts.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->importContacts](../methods/contacts.importContacts.md) + + + diff --git a/old_docs/API_docs_v102/types/contacts.ResolvedPeer.md b/old_docs/API_docs_v102/types/contacts.ResolvedPeer.md new file mode 100644 index 00000000..13630d54 --- /dev/null +++ b/old_docs/API_docs_v102/types/contacts.ResolvedPeer.md @@ -0,0 +1,22 @@ +--- +title: contacts.ResolvedPeer +description: constructors and methods of type contacts.ResolvedPeer +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.ResolvedPeer +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.resolvedPeer](../constructors/contacts.resolvedPeer.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->resolveUsername](../methods/contacts.resolveUsername.md) + + + diff --git a/old_docs/API_docs_v102/types/contacts.TopPeers.md b/old_docs/API_docs_v102/types/contacts.TopPeers.md new file mode 100644 index 00000000..563e63aa --- /dev/null +++ b/old_docs/API_docs_v102/types/contacts.TopPeers.md @@ -0,0 +1,26 @@ +--- +title: contacts.TopPeers +description: constructors and methods of type contacts.TopPeers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.TopPeers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.topPeersNotModified](../constructors/contacts.topPeersNotModified.md) + +[contacts.topPeers](../constructors/contacts.topPeers.md) + +[contacts.topPeersDisabled](../constructors/contacts.topPeersDisabled.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getTopPeers](../methods/contacts.getTopPeers.md) + + + diff --git a/old_docs/API_docs_v102/types/contacts_Blocked.md b/old_docs/API_docs_v102/types/contacts_Blocked.md deleted file mode 100644 index 3e1f02eb..00000000 --- a/old_docs/API_docs_v102/types/contacts_Blocked.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: contacts_Blocked -description: constructors and methods of type contacts_Blocked -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Blocked -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_blocked](../constructors/contacts_blocked.md) - -[contacts\_blockedSlice](../constructors/contacts_blockedSlice.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->getBlocked](../methods/contacts_getBlocked.md) - - - diff --git a/old_docs/API_docs_v102/types/contacts_Contacts.md b/old_docs/API_docs_v102/types/contacts_Contacts.md deleted file mode 100644 index 5d6c9506..00000000 --- a/old_docs/API_docs_v102/types/contacts_Contacts.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: contacts_Contacts -description: constructors and methods of type contacts_Contacts -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Contacts -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_contactsNotModified](../constructors/contacts_contactsNotModified.md) - -[contacts\_contacts](../constructors/contacts_contacts.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->getContacts](../methods/contacts_getContacts.md) - - - diff --git a/old_docs/API_docs_v102/types/contacts_Found.md b/old_docs/API_docs_v102/types/contacts_Found.md deleted file mode 100644 index 806101cf..00000000 --- a/old_docs/API_docs_v102/types/contacts_Found.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_Found -description: constructors and methods of type contacts_Found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Found -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_found](../constructors/contacts_found.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->search](../methods/contacts_search.md) - - - diff --git a/old_docs/API_docs_v102/types/contacts_ImportedContacts.md b/old_docs/API_docs_v102/types/contacts_ImportedContacts.md deleted file mode 100644 index faf7e615..00000000 --- a/old_docs/API_docs_v102/types/contacts_ImportedContacts.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_ImportedContacts -description: constructors and methods of type contacts_ImportedContacts -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_ImportedContacts -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_importedContacts](../constructors/contacts_importedContacts.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->importContacts](../methods/contacts_importContacts.md) - - - diff --git a/old_docs/API_docs_v102/types/contacts_ResolvedPeer.md b/old_docs/API_docs_v102/types/contacts_ResolvedPeer.md deleted file mode 100644 index cf107f7c..00000000 --- a/old_docs/API_docs_v102/types/contacts_ResolvedPeer.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_ResolvedPeer -description: constructors and methods of type contacts_ResolvedPeer -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_ResolvedPeer -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_resolvedPeer](../constructors/contacts_resolvedPeer.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->resolveUsername](../methods/contacts_resolveUsername.md) - - - diff --git a/old_docs/API_docs_v102/types/contacts_TopPeers.md b/old_docs/API_docs_v102/types/contacts_TopPeers.md deleted file mode 100644 index dc8ee478..00000000 --- a/old_docs/API_docs_v102/types/contacts_TopPeers.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: contacts_TopPeers -description: constructors and methods of type contacts_TopPeers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_TopPeers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_topPeersNotModified](../constructors/contacts_topPeersNotModified.md) - -[contacts\_topPeers](../constructors/contacts_topPeers.md) - -[contacts\_topPeersDisabled](../constructors/contacts_topPeersDisabled.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->getTopPeers](../methods/contacts_getTopPeers.md) - - - diff --git a/old_docs/API_docs_v102/types/help.AppUpdate.md b/old_docs/API_docs_v102/types/help.AppUpdate.md new file mode 100644 index 00000000..285ec2b7 --- /dev/null +++ b/old_docs/API_docs_v102/types/help.AppUpdate.md @@ -0,0 +1,24 @@ +--- +title: help.AppUpdate +description: constructors and methods of type help.AppUpdate +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.AppUpdate +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.appUpdate](../constructors/help.appUpdate.md) + +[help.noAppUpdate](../constructors/help.noAppUpdate.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getAppUpdate](../methods/help.getAppUpdate.md) + + + diff --git a/old_docs/API_docs_v102/types/help.ConfigSimple.md b/old_docs/API_docs_v102/types/help.ConfigSimple.md new file mode 100644 index 00000000..92d9e15f --- /dev/null +++ b/old_docs/API_docs_v102/types/help.ConfigSimple.md @@ -0,0 +1,20 @@ +--- +title: help.ConfigSimple +description: constructors and methods of type help.ConfigSimple +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.ConfigSimple +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.configSimple](../constructors/help.configSimple.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v102/types/help.DeepLinkInfo.md b/old_docs/API_docs_v102/types/help.DeepLinkInfo.md new file mode 100644 index 00000000..356af1c4 --- /dev/null +++ b/old_docs/API_docs_v102/types/help.DeepLinkInfo.md @@ -0,0 +1,24 @@ +--- +title: help.DeepLinkInfo +description: constructors and methods of type help.DeepLinkInfo +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.DeepLinkInfo +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.deepLinkInfoEmpty](../constructors/help.deepLinkInfoEmpty.md) + +[help.deepLinkInfo](../constructors/help.deepLinkInfo.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getDeepLinkInfo](../methods/help.getDeepLinkInfo.md) + + + diff --git a/old_docs/API_docs_v102/types/help.InviteText.md b/old_docs/API_docs_v102/types/help.InviteText.md new file mode 100644 index 00000000..43293f46 --- /dev/null +++ b/old_docs/API_docs_v102/types/help.InviteText.md @@ -0,0 +1,22 @@ +--- +title: help.InviteText +description: constructors and methods of type help.InviteText +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.InviteText +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.inviteText](../constructors/help.inviteText.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getInviteText](../methods/help.getInviteText.md) + + + diff --git a/old_docs/API_docs_v102/types/help.PassportConfig.md b/old_docs/API_docs_v102/types/help.PassportConfig.md new file mode 100644 index 00000000..15eb12cc --- /dev/null +++ b/old_docs/API_docs_v102/types/help.PassportConfig.md @@ -0,0 +1,24 @@ +--- +title: help.PassportConfig +description: constructors and methods of type help.PassportConfig +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.PassportConfig +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.passportConfigNotModified](../constructors/help.passportConfigNotModified.md) + +[help.passportConfig](../constructors/help.passportConfig.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getPassportConfig](../methods/help.getPassportConfig.md) + + + diff --git a/old_docs/API_docs_v102/types/help.ProxyData.md b/old_docs/API_docs_v102/types/help.ProxyData.md new file mode 100644 index 00000000..e45b4211 --- /dev/null +++ b/old_docs/API_docs_v102/types/help.ProxyData.md @@ -0,0 +1,24 @@ +--- +title: help.ProxyData +description: constructors and methods of type help.ProxyData +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.ProxyData +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.proxyDataEmpty](../constructors/help.proxyDataEmpty.md) + +[help.proxyDataPromo](../constructors/help.proxyDataPromo.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getProxyData](../methods/help.getProxyData.md) + + + diff --git a/old_docs/API_docs_v102/types/help.RecentMeUrls.md b/old_docs/API_docs_v102/types/help.RecentMeUrls.md new file mode 100644 index 00000000..6b7ee2c1 --- /dev/null +++ b/old_docs/API_docs_v102/types/help.RecentMeUrls.md @@ -0,0 +1,22 @@ +--- +title: help.RecentMeUrls +description: constructors and methods of type help.RecentMeUrls +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.RecentMeUrls +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.recentMeUrls](../constructors/help.recentMeUrls.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getRecentMeUrls](../methods/help.getRecentMeUrls.md) + + + diff --git a/old_docs/API_docs_v102/types/help.Support.md b/old_docs/API_docs_v102/types/help.Support.md new file mode 100644 index 00000000..42c20483 --- /dev/null +++ b/old_docs/API_docs_v102/types/help.Support.md @@ -0,0 +1,22 @@ +--- +title: help.Support +description: constructors and methods of type help.Support +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.Support +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.support](../constructors/help.support.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getSupport](../methods/help.getSupport.md) + + + diff --git a/old_docs/API_docs_v102/types/help.SupportName.md b/old_docs/API_docs_v102/types/help.SupportName.md new file mode 100644 index 00000000..7f68199a --- /dev/null +++ b/old_docs/API_docs_v102/types/help.SupportName.md @@ -0,0 +1,22 @@ +--- +title: help.SupportName +description: constructors and methods of type help.SupportName +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.SupportName +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.supportName](../constructors/help.supportName.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getSupportName](../methods/help.getSupportName.md) + + + diff --git a/old_docs/API_docs_v102/types/help.TermsOfService.md b/old_docs/API_docs_v102/types/help.TermsOfService.md new file mode 100644 index 00000000..d4d091e1 --- /dev/null +++ b/old_docs/API_docs_v102/types/help.TermsOfService.md @@ -0,0 +1,20 @@ +--- +title: help.TermsOfService +description: constructors and methods of type help.TermsOfService +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.TermsOfService +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.termsOfService](../constructors/help.termsOfService.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v102/types/help.TermsOfServiceUpdate.md b/old_docs/API_docs_v102/types/help.TermsOfServiceUpdate.md new file mode 100644 index 00000000..e27b3c71 --- /dev/null +++ b/old_docs/API_docs_v102/types/help.TermsOfServiceUpdate.md @@ -0,0 +1,24 @@ +--- +title: help.TermsOfServiceUpdate +description: constructors and methods of type help.TermsOfServiceUpdate +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.TermsOfServiceUpdate +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.termsOfServiceUpdateEmpty](../constructors/help.termsOfServiceUpdateEmpty.md) + +[help.termsOfServiceUpdate](../constructors/help.termsOfServiceUpdate.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getTermsOfServiceUpdate](../methods/help.getTermsOfServiceUpdate.md) + + + diff --git a/old_docs/API_docs_v102/types/help.UserInfo.md b/old_docs/API_docs_v102/types/help.UserInfo.md new file mode 100644 index 00000000..9d91ee40 --- /dev/null +++ b/old_docs/API_docs_v102/types/help.UserInfo.md @@ -0,0 +1,26 @@ +--- +title: help.UserInfo +description: constructors and methods of type help.UserInfo +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.UserInfo +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.userInfoEmpty](../constructors/help.userInfoEmpty.md) + +[help.userInfo](../constructors/help.userInfo.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getUserInfo](../methods/help.getUserInfo.md) + +[$MadelineProto->help->editUserInfo](../methods/help.editUserInfo.md) + + + diff --git a/old_docs/API_docs_v102/types/help_AppUpdate.md b/old_docs/API_docs_v102/types/help_AppUpdate.md deleted file mode 100644 index 1f296a70..00000000 --- a/old_docs/API_docs_v102/types/help_AppUpdate.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: help_AppUpdate -description: constructors and methods of type help_AppUpdate -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_AppUpdate -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_appUpdate](../constructors/help_appUpdate.md) - -[help\_noAppUpdate](../constructors/help_noAppUpdate.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getAppUpdate](../methods/help_getAppUpdate.md) - - - diff --git a/old_docs/API_docs_v102/types/help_ConfigSimple.md b/old_docs/API_docs_v102/types/help_ConfigSimple.md deleted file mode 100644 index 81678d74..00000000 --- a/old_docs/API_docs_v102/types/help_ConfigSimple.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: help_ConfigSimple -description: constructors and methods of type help_ConfigSimple -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_ConfigSimple -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_configSimple](../constructors/help_configSimple.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v102/types/help_DeepLinkInfo.md b/old_docs/API_docs_v102/types/help_DeepLinkInfo.md deleted file mode 100644 index 776e8e09..00000000 --- a/old_docs/API_docs_v102/types/help_DeepLinkInfo.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: help_DeepLinkInfo -description: constructors and methods of type help_DeepLinkInfo -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_DeepLinkInfo -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_deepLinkInfoEmpty](../constructors/help_deepLinkInfoEmpty.md) - -[help\_deepLinkInfo](../constructors/help_deepLinkInfo.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getDeepLinkInfo](../methods/help_getDeepLinkInfo.md) - - - diff --git a/old_docs/API_docs_v102/types/help_InviteText.md b/old_docs/API_docs_v102/types/help_InviteText.md deleted file mode 100644 index 018d35bf..00000000 --- a/old_docs/API_docs_v102/types/help_InviteText.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: help_InviteText -description: constructors and methods of type help_InviteText -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_InviteText -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_inviteText](../constructors/help_inviteText.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getInviteText](../methods/help_getInviteText.md) - - - diff --git a/old_docs/API_docs_v102/types/help_PassportConfig.md b/old_docs/API_docs_v102/types/help_PassportConfig.md deleted file mode 100644 index e03abab7..00000000 --- a/old_docs/API_docs_v102/types/help_PassportConfig.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: help_PassportConfig -description: constructors and methods of type help_PassportConfig -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_PassportConfig -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_passportConfigNotModified](../constructors/help_passportConfigNotModified.md) - -[help\_passportConfig](../constructors/help_passportConfig.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getPassportConfig](../methods/help_getPassportConfig.md) - - - diff --git a/old_docs/API_docs_v102/types/help_ProxyData.md b/old_docs/API_docs_v102/types/help_ProxyData.md deleted file mode 100644 index 1bc6839e..00000000 --- a/old_docs/API_docs_v102/types/help_ProxyData.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: help_ProxyData -description: constructors and methods of type help_ProxyData -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_ProxyData -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_proxyDataEmpty](../constructors/help_proxyDataEmpty.md) - -[help\_proxyDataPromo](../constructors/help_proxyDataPromo.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getProxyData](../methods/help_getProxyData.md) - - - diff --git a/old_docs/API_docs_v102/types/help_RecentMeUrls.md b/old_docs/API_docs_v102/types/help_RecentMeUrls.md deleted file mode 100644 index 691af1c3..00000000 --- a/old_docs/API_docs_v102/types/help_RecentMeUrls.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: help_RecentMeUrls -description: constructors and methods of type help_RecentMeUrls -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_RecentMeUrls -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_recentMeUrls](../constructors/help_recentMeUrls.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getRecentMeUrls](../methods/help_getRecentMeUrls.md) - - - diff --git a/old_docs/API_docs_v102/types/help_Support.md b/old_docs/API_docs_v102/types/help_Support.md deleted file mode 100644 index 26de447b..00000000 --- a/old_docs/API_docs_v102/types/help_Support.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: help_Support -description: constructors and methods of type help_Support -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_Support -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_support](../constructors/help_support.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getSupport](../methods/help_getSupport.md) - - - diff --git a/old_docs/API_docs_v102/types/help_SupportName.md b/old_docs/API_docs_v102/types/help_SupportName.md deleted file mode 100644 index e89309a2..00000000 --- a/old_docs/API_docs_v102/types/help_SupportName.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: help_SupportName -description: constructors and methods of type help_SupportName -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_SupportName -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_supportName](../constructors/help_supportName.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getSupportName](../methods/help_getSupportName.md) - - - diff --git a/old_docs/API_docs_v102/types/help_TermsOfService.md b/old_docs/API_docs_v102/types/help_TermsOfService.md deleted file mode 100644 index 24f8eb68..00000000 --- a/old_docs/API_docs_v102/types/help_TermsOfService.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: help_TermsOfService -description: constructors and methods of type help_TermsOfService -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_TermsOfService -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_termsOfService](../constructors/help_termsOfService.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v102/types/help_TermsOfServiceUpdate.md b/old_docs/API_docs_v102/types/help_TermsOfServiceUpdate.md deleted file mode 100644 index 0e4f1ef2..00000000 --- a/old_docs/API_docs_v102/types/help_TermsOfServiceUpdate.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: help_TermsOfServiceUpdate -description: constructors and methods of type help_TermsOfServiceUpdate -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_TermsOfServiceUpdate -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_termsOfServiceUpdateEmpty](../constructors/help_termsOfServiceUpdateEmpty.md) - -[help\_termsOfServiceUpdate](../constructors/help_termsOfServiceUpdate.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getTermsOfServiceUpdate](../methods/help_getTermsOfServiceUpdate.md) - - - diff --git a/old_docs/API_docs_v102/types/help_UserInfo.md b/old_docs/API_docs_v102/types/help_UserInfo.md deleted file mode 100644 index 87ca4327..00000000 --- a/old_docs/API_docs_v102/types/help_UserInfo.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: help_UserInfo -description: constructors and methods of type help_UserInfo -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_UserInfo -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_userInfoEmpty](../constructors/help_userInfoEmpty.md) - -[help\_userInfo](../constructors/help_userInfo.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getUserInfo](../methods/help_getUserInfo.md) - -[$MadelineProto->help->editUserInfo](../methods/help_editUserInfo.md) - - - diff --git a/old_docs/API_docs_v102/types/messages.AffectedHistory.md b/old_docs/API_docs_v102/types/messages.AffectedHistory.md new file mode 100644 index 00000000..8a1e850a --- /dev/null +++ b/old_docs/API_docs_v102/types/messages.AffectedHistory.md @@ -0,0 +1,26 @@ +--- +title: messages.AffectedHistory +description: constructors and methods of type messages.AffectedHistory +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.AffectedHistory +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.affectedHistory](../constructors/messages.affectedHistory.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->deleteHistory](../methods/messages.deleteHistory.md) + +[$MadelineProto->messages->readMentions](../methods/messages.readMentions.md) + +[$MadelineProto->channels->deleteUserHistory](../methods/channels.deleteUserHistory.md) + + + diff --git a/old_docs/API_docs_v102/types/messages.AffectedMessages.md b/old_docs/API_docs_v102/types/messages.AffectedMessages.md new file mode 100644 index 00000000..a9159de3 --- /dev/null +++ b/old_docs/API_docs_v102/types/messages.AffectedMessages.md @@ -0,0 +1,28 @@ +--- +title: messages.AffectedMessages +description: constructors and methods of type messages.AffectedMessages +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.AffectedMessages +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.affectedMessages](../constructors/messages.affectedMessages.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->readHistory](../methods/messages.readHistory.md) + +[$MadelineProto->messages->deleteMessages](../methods/messages.deleteMessages.md) + +[$MadelineProto->messages->readMessageContents](../methods/messages.readMessageContents.md) + +[$MadelineProto->channels->deleteMessages](../methods/channels.deleteMessages.md) + + + diff --git a/old_docs/API_docs_v102/types/messages.AllStickers.md b/old_docs/API_docs_v102/types/messages.AllStickers.md new file mode 100644 index 00000000..fd8565de --- /dev/null +++ b/old_docs/API_docs_v102/types/messages.AllStickers.md @@ -0,0 +1,26 @@ +--- +title: messages.AllStickers +description: constructors and methods of type messages.AllStickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.AllStickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.allStickersNotModified](../constructors/messages.allStickersNotModified.md) + +[messages.allStickers](../constructors/messages.allStickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getAllStickers](../methods/messages.getAllStickers.md) + +[$MadelineProto->messages->getMaskStickers](../methods/messages.getMaskStickers.md) + + + diff --git a/old_docs/API_docs_v102/types/messages.ArchivedStickers.md b/old_docs/API_docs_v102/types/messages.ArchivedStickers.md new file mode 100644 index 00000000..3e017c5d --- /dev/null +++ b/old_docs/API_docs_v102/types/messages.ArchivedStickers.md @@ -0,0 +1,22 @@ +--- +title: messages.ArchivedStickers +description: constructors and methods of type messages.ArchivedStickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.ArchivedStickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.archivedStickers](../constructors/messages.archivedStickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getArchivedStickers](../methods/messages.getArchivedStickers.md) + + + diff --git a/old_docs/API_docs_v102/types/messages.BotCallbackAnswer.md b/old_docs/API_docs_v102/types/messages.BotCallbackAnswer.md new file mode 100644 index 00000000..ef30fbfb --- /dev/null +++ b/old_docs/API_docs_v102/types/messages.BotCallbackAnswer.md @@ -0,0 +1,22 @@ +--- +title: messages.BotCallbackAnswer +description: constructors and methods of type messages.BotCallbackAnswer +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.BotCallbackAnswer +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.botCallbackAnswer](../constructors/messages.botCallbackAnswer.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getBotCallbackAnswer](../methods/messages.getBotCallbackAnswer.md) + + + diff --git a/old_docs/API_docs_v102/types/messages.BotResults.md b/old_docs/API_docs_v102/types/messages.BotResults.md new file mode 100644 index 00000000..76ee2b99 --- /dev/null +++ b/old_docs/API_docs_v102/types/messages.BotResults.md @@ -0,0 +1,22 @@ +--- +title: messages.BotResults +description: constructors and methods of type messages.BotResults +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.BotResults +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.botResults](../constructors/messages.botResults.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getInlineBotResults](../methods/messages.getInlineBotResults.md) + + + diff --git a/old_docs/API_docs_v102/types/messages.ChatFull.md b/old_docs/API_docs_v102/types/messages.ChatFull.md new file mode 100644 index 00000000..3ad38748 --- /dev/null +++ b/old_docs/API_docs_v102/types/messages.ChatFull.md @@ -0,0 +1,24 @@ +--- +title: messages.ChatFull +description: constructors and methods of type messages.ChatFull +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.ChatFull +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.chatFull](../constructors/messages.chatFull.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getFullChat](../methods/messages.getFullChat.md) + +[$MadelineProto->channels->getFullChannel](../methods/channels.getFullChannel.md) + + + diff --git a/old_docs/API_docs_v102/types/messages.Chats.md b/old_docs/API_docs_v102/types/messages.Chats.md new file mode 100644 index 00000000..60180618 --- /dev/null +++ b/old_docs/API_docs_v102/types/messages.Chats.md @@ -0,0 +1,36 @@ +--- +title: messages.Chats +description: constructors and methods of type messages.Chats +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Chats +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.chats](../constructors/messages.chats.md) + +[messages.chatsSlice](../constructors/messages.chatsSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getChats](../methods/messages.getChats.md) + +[$MadelineProto->messages->getCommonChats](../methods/messages.getCommonChats.md) + +[$MadelineProto->messages->getAllChats](../methods/messages.getAllChats.md) + +[$MadelineProto->channels->getChannels](../methods/channels.getChannels.md) + +[$MadelineProto->channels->getAdminedPublicChannels](../methods/channels.getAdminedPublicChannels.md) + +[$MadelineProto->channels->getLeftChannels](../methods/channels.getLeftChannels.md) + +[$MadelineProto->channels->getGroupsForDiscussion](../methods/channels.getGroupsForDiscussion.md) + + + diff --git a/old_docs/API_docs_v102/types/messages.DhConfig.md b/old_docs/API_docs_v102/types/messages.DhConfig.md new file mode 100644 index 00000000..77188ab7 --- /dev/null +++ b/old_docs/API_docs_v102/types/messages.DhConfig.md @@ -0,0 +1,24 @@ +--- +title: messages.DhConfig +description: constructors and methods of type messages.DhConfig +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.DhConfig +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.dhConfigNotModified](../constructors/messages.dhConfigNotModified.md) + +[messages.dhConfig](../constructors/messages.dhConfig.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getDhConfig](../methods/messages.getDhConfig.md) + + + diff --git a/old_docs/API_docs_v102/types/messages.Dialogs.md b/old_docs/API_docs_v102/types/messages.Dialogs.md new file mode 100644 index 00000000..e14885b1 --- /dev/null +++ b/old_docs/API_docs_v102/types/messages.Dialogs.md @@ -0,0 +1,26 @@ +--- +title: messages.Dialogs +description: constructors and methods of type messages.Dialogs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Dialogs +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.dialogs](../constructors/messages.dialogs.md) + +[messages.dialogsSlice](../constructors/messages.dialogsSlice.md) + +[messages.dialogsNotModified](../constructors/messages.dialogsNotModified.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getDialogs](../methods/messages.getDialogs.md) + + + diff --git a/old_docs/API_docs_v102/types/messages.FavedStickers.md b/old_docs/API_docs_v102/types/messages.FavedStickers.md new file mode 100644 index 00000000..3edc863b --- /dev/null +++ b/old_docs/API_docs_v102/types/messages.FavedStickers.md @@ -0,0 +1,24 @@ +--- +title: messages.FavedStickers +description: constructors and methods of type messages.FavedStickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.FavedStickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.favedStickersNotModified](../constructors/messages.favedStickersNotModified.md) + +[messages.favedStickers](../constructors/messages.favedStickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getFavedStickers](../methods/messages.getFavedStickers.md) + + + diff --git a/old_docs/API_docs_v102/types/messages.FeaturedStickers.md b/old_docs/API_docs_v102/types/messages.FeaturedStickers.md new file mode 100644 index 00000000..06ed87bb --- /dev/null +++ b/old_docs/API_docs_v102/types/messages.FeaturedStickers.md @@ -0,0 +1,24 @@ +--- +title: messages.FeaturedStickers +description: constructors and methods of type messages.FeaturedStickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.FeaturedStickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.featuredStickersNotModified](../constructors/messages.featuredStickersNotModified.md) + +[messages.featuredStickers](../constructors/messages.featuredStickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getFeaturedStickers](../methods/messages.getFeaturedStickers.md) + + + diff --git a/old_docs/API_docs_v102/types/messages.FoundGifs.md b/old_docs/API_docs_v102/types/messages.FoundGifs.md new file mode 100644 index 00000000..b5176a5d --- /dev/null +++ b/old_docs/API_docs_v102/types/messages.FoundGifs.md @@ -0,0 +1,22 @@ +--- +title: messages.FoundGifs +description: constructors and methods of type messages.FoundGifs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.FoundGifs +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.foundGifs](../constructors/messages.foundGifs.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->searchGifs](../methods/messages.searchGifs.md) + + + diff --git a/old_docs/API_docs_v102/types/messages.FoundStickerSets.md b/old_docs/API_docs_v102/types/messages.FoundStickerSets.md new file mode 100644 index 00000000..eb6eb284 --- /dev/null +++ b/old_docs/API_docs_v102/types/messages.FoundStickerSets.md @@ -0,0 +1,24 @@ +--- +title: messages.FoundStickerSets +description: constructors and methods of type messages.FoundStickerSets +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.FoundStickerSets +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.foundStickerSetsNotModified](../constructors/messages.foundStickerSetsNotModified.md) + +[messages.foundStickerSets](../constructors/messages.foundStickerSets.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->searchStickerSets](../methods/messages.searchStickerSets.md) + + + diff --git a/old_docs/API_docs_v102/types/messages.HighScores.md b/old_docs/API_docs_v102/types/messages.HighScores.md new file mode 100644 index 00000000..eae9db66 --- /dev/null +++ b/old_docs/API_docs_v102/types/messages.HighScores.md @@ -0,0 +1,24 @@ +--- +title: messages.HighScores +description: constructors and methods of type messages.HighScores +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.HighScores +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.highScores](../constructors/messages.highScores.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getGameHighScores](../methods/messages.getGameHighScores.md) + +[$MadelineProto->messages->getInlineGameHighScores](../methods/messages.getInlineGameHighScores.md) + + + diff --git a/old_docs/API_docs_v102/types/messages.MessageEditData.md b/old_docs/API_docs_v102/types/messages.MessageEditData.md new file mode 100644 index 00000000..feb572f1 --- /dev/null +++ b/old_docs/API_docs_v102/types/messages.MessageEditData.md @@ -0,0 +1,22 @@ +--- +title: messages.MessageEditData +description: constructors and methods of type messages.MessageEditData +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.MessageEditData +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.messageEditData](../constructors/messages.messageEditData.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getMessageEditData](../methods/messages.getMessageEditData.md) + + + diff --git a/old_docs/API_docs_v102/types/messages.Messages.md b/old_docs/API_docs_v102/types/messages.Messages.md new file mode 100644 index 00000000..699ceada --- /dev/null +++ b/old_docs/API_docs_v102/types/messages.Messages.md @@ -0,0 +1,40 @@ +--- +title: messages.Messages +description: constructors and methods of type messages.Messages +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Messages +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.messages](../constructors/messages.messages.md) + +[messages.messagesSlice](../constructors/messages.messagesSlice.md) + +[messages.channelMessages](../constructors/messages.channelMessages.md) + +[messages.messagesNotModified](../constructors/messages.messagesNotModified.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getMessages](../methods/messages.getMessages.md) + +[$MadelineProto->messages->getHistory](../methods/messages.getHistory.md) + +[$MadelineProto->messages->search](../methods/messages.search.md) + +[$MadelineProto->messages->searchGlobal](../methods/messages.searchGlobal.md) + +[$MadelineProto->messages->getUnreadMentions](../methods/messages.getUnreadMentions.md) + +[$MadelineProto->messages->getRecentLocations](../methods/messages.getRecentLocations.md) + +[$MadelineProto->channels->getMessages](../methods/channels.getMessages.md) + + + diff --git a/old_docs/API_docs_v102/types/messages.PeerDialogs.md b/old_docs/API_docs_v102/types/messages.PeerDialogs.md new file mode 100644 index 00000000..9a1ceaf0 --- /dev/null +++ b/old_docs/API_docs_v102/types/messages.PeerDialogs.md @@ -0,0 +1,24 @@ +--- +title: messages.PeerDialogs +description: constructors and methods of type messages.PeerDialogs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.PeerDialogs +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.peerDialogs](../constructors/messages.peerDialogs.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getPeerDialogs](../methods/messages.getPeerDialogs.md) + +[$MadelineProto->messages->getPinnedDialogs](../methods/messages.getPinnedDialogs.md) + + + diff --git a/old_docs/API_docs_v102/types/messages.RecentStickers.md b/old_docs/API_docs_v102/types/messages.RecentStickers.md new file mode 100644 index 00000000..e5c49b92 --- /dev/null +++ b/old_docs/API_docs_v102/types/messages.RecentStickers.md @@ -0,0 +1,24 @@ +--- +title: messages.RecentStickers +description: constructors and methods of type messages.RecentStickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.RecentStickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.recentStickersNotModified](../constructors/messages.recentStickersNotModified.md) + +[messages.recentStickers](../constructors/messages.recentStickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getRecentStickers](../methods/messages.getRecentStickers.md) + + + diff --git a/old_docs/API_docs_v102/types/messages.SavedGifs.md b/old_docs/API_docs_v102/types/messages.SavedGifs.md new file mode 100644 index 00000000..99844c98 --- /dev/null +++ b/old_docs/API_docs_v102/types/messages.SavedGifs.md @@ -0,0 +1,24 @@ +--- +title: messages.SavedGifs +description: constructors and methods of type messages.SavedGifs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.SavedGifs +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.savedGifsNotModified](../constructors/messages.savedGifsNotModified.md) + +[messages.savedGifs](../constructors/messages.savedGifs.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getSavedGifs](../methods/messages.getSavedGifs.md) + + + diff --git a/old_docs/API_docs_v102/types/messages.SearchCounter.md b/old_docs/API_docs_v102/types/messages.SearchCounter.md new file mode 100644 index 00000000..d2194858 --- /dev/null +++ b/old_docs/API_docs_v102/types/messages.SearchCounter.md @@ -0,0 +1,22 @@ +--- +title: messages.SearchCounter +description: constructors and methods of type messages.SearchCounter +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.SearchCounter +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.searchCounter](../constructors/messages.searchCounter.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getSearchCounters](../methods/messages.getSearchCounters.md) + + + diff --git a/old_docs/API_docs_v102/types/messages.SentEncryptedMessage.md b/old_docs/API_docs_v102/types/messages.SentEncryptedMessage.md new file mode 100644 index 00000000..b6d05b1f --- /dev/null +++ b/old_docs/API_docs_v102/types/messages.SentEncryptedMessage.md @@ -0,0 +1,28 @@ +--- +title: messages.SentEncryptedMessage +description: constructors and methods of type messages.SentEncryptedMessage +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.SentEncryptedMessage +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.sentEncryptedMessage](../constructors/messages.sentEncryptedMessage.md) + +[messages.sentEncryptedFile](../constructors/messages.sentEncryptedFile.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->sendEncrypted](../methods/messages.sendEncrypted.md) + +[$MadelineProto->messages->sendEncryptedFile](../methods/messages.sendEncryptedFile.md) + +[$MadelineProto->messages->sendEncryptedService](../methods/messages.sendEncryptedService.md) + + + diff --git a/old_docs/API_docs_v102/types/messages.StickerSet.md b/old_docs/API_docs_v102/types/messages.StickerSet.md new file mode 100644 index 00000000..e173fe45 --- /dev/null +++ b/old_docs/API_docs_v102/types/messages.StickerSet.md @@ -0,0 +1,30 @@ +--- +title: messages.StickerSet +description: constructors and methods of type messages.StickerSet +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.StickerSet +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.stickerSet](../constructors/messages.stickerSet.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getStickerSet](../methods/messages.getStickerSet.md) + +[$MadelineProto->stickers->createStickerSet](../methods/stickers.createStickerSet.md) + +[$MadelineProto->stickers->removeStickerFromSet](../methods/stickers.removeStickerFromSet.md) + +[$MadelineProto->stickers->changeStickerPosition](../methods/stickers.changeStickerPosition.md) + +[$MadelineProto->stickers->addStickerToSet](../methods/stickers.addStickerToSet.md) + + + diff --git a/old_docs/API_docs_v102/types/messages.StickerSetInstallResult.md b/old_docs/API_docs_v102/types/messages.StickerSetInstallResult.md new file mode 100644 index 00000000..9e09c293 --- /dev/null +++ b/old_docs/API_docs_v102/types/messages.StickerSetInstallResult.md @@ -0,0 +1,24 @@ +--- +title: messages.StickerSetInstallResult +description: constructors and methods of type messages.StickerSetInstallResult +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.StickerSetInstallResult +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.stickerSetInstallResultSuccess](../constructors/messages.stickerSetInstallResultSuccess.md) + +[messages.stickerSetInstallResultArchive](../constructors/messages.stickerSetInstallResultArchive.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->installStickerSet](../methods/messages.installStickerSet.md) + + + diff --git a/old_docs/API_docs_v102/types/messages.Stickers.md b/old_docs/API_docs_v102/types/messages.Stickers.md new file mode 100644 index 00000000..43bddf06 --- /dev/null +++ b/old_docs/API_docs_v102/types/messages.Stickers.md @@ -0,0 +1,24 @@ +--- +title: messages.Stickers +description: constructors and methods of type messages.Stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Stickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.stickersNotModified](../constructors/messages.stickersNotModified.md) + +[messages.stickers](../constructors/messages.stickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getStickers](../methods/messages.getStickers.md) + + + diff --git a/old_docs/API_docs_v102/types/messages_AffectedHistory.md b/old_docs/API_docs_v102/types/messages_AffectedHistory.md deleted file mode 100644 index 9eef04c0..00000000 --- a/old_docs/API_docs_v102/types/messages_AffectedHistory.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: messages_AffectedHistory -description: constructors and methods of type messages_AffectedHistory -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_AffectedHistory -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_affectedHistory](../constructors/messages_affectedHistory.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->deleteHistory](../methods/messages_deleteHistory.md) - -[$MadelineProto->messages->readMentions](../methods/messages_readMentions.md) - -[$MadelineProto->channels->deleteUserHistory](../methods/channels_deleteUserHistory.md) - - - diff --git a/old_docs/API_docs_v102/types/messages_AffectedMessages.md b/old_docs/API_docs_v102/types/messages_AffectedMessages.md deleted file mode 100644 index dcbea721..00000000 --- a/old_docs/API_docs_v102/types/messages_AffectedMessages.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: messages_AffectedMessages -description: constructors and methods of type messages_AffectedMessages -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_AffectedMessages -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_affectedMessages](../constructors/messages_affectedMessages.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->readHistory](../methods/messages_readHistory.md) - -[$MadelineProto->messages->deleteMessages](../methods/messages_deleteMessages.md) - -[$MadelineProto->messages->readMessageContents](../methods/messages_readMessageContents.md) - -[$MadelineProto->channels->deleteMessages](../methods/channels_deleteMessages.md) - - - diff --git a/old_docs/API_docs_v102/types/messages_AllStickers.md b/old_docs/API_docs_v102/types/messages_AllStickers.md deleted file mode 100644 index b6a322e0..00000000 --- a/old_docs/API_docs_v102/types/messages_AllStickers.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: messages_AllStickers -description: constructors and methods of type messages_AllStickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_AllStickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_allStickersNotModified](../constructors/messages_allStickersNotModified.md) - -[messages\_allStickers](../constructors/messages_allStickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getAllStickers](../methods/messages_getAllStickers.md) - -[$MadelineProto->messages->getMaskStickers](../methods/messages_getMaskStickers.md) - - - diff --git a/old_docs/API_docs_v102/types/messages_ArchivedStickers.md b/old_docs/API_docs_v102/types/messages_ArchivedStickers.md deleted file mode 100644 index c569675e..00000000 --- a/old_docs/API_docs_v102/types/messages_ArchivedStickers.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_ArchivedStickers -description: constructors and methods of type messages_ArchivedStickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_ArchivedStickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_archivedStickers](../constructors/messages_archivedStickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getArchivedStickers](../methods/messages_getArchivedStickers.md) - - - diff --git a/old_docs/API_docs_v102/types/messages_BotCallbackAnswer.md b/old_docs/API_docs_v102/types/messages_BotCallbackAnswer.md deleted file mode 100644 index f8d424d0..00000000 --- a/old_docs/API_docs_v102/types/messages_BotCallbackAnswer.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_BotCallbackAnswer -description: constructors and methods of type messages_BotCallbackAnswer -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_BotCallbackAnswer -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_botCallbackAnswer](../constructors/messages_botCallbackAnswer.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getBotCallbackAnswer](../methods/messages_getBotCallbackAnswer.md) - - - diff --git a/old_docs/API_docs_v102/types/messages_BotResults.md b/old_docs/API_docs_v102/types/messages_BotResults.md deleted file mode 100644 index c346c5bd..00000000 --- a/old_docs/API_docs_v102/types/messages_BotResults.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_BotResults -description: constructors and methods of type messages_BotResults -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_BotResults -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_botResults](../constructors/messages_botResults.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getInlineBotResults](../methods/messages_getInlineBotResults.md) - - - diff --git a/old_docs/API_docs_v102/types/messages_ChatFull.md b/old_docs/API_docs_v102/types/messages_ChatFull.md deleted file mode 100644 index e4add41e..00000000 --- a/old_docs/API_docs_v102/types/messages_ChatFull.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_ChatFull -description: constructors and methods of type messages_ChatFull -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_ChatFull -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_chatFull](../constructors/messages_chatFull.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getFullChat](../methods/messages_getFullChat.md) - -[$MadelineProto->channels->getFullChannel](../methods/channels_getFullChannel.md) - - - diff --git a/old_docs/API_docs_v102/types/messages_Chats.md b/old_docs/API_docs_v102/types/messages_Chats.md deleted file mode 100644 index 38ecd651..00000000 --- a/old_docs/API_docs_v102/types/messages_Chats.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -title: messages_Chats -description: constructors and methods of type messages_Chats -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Chats -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_chats](../constructors/messages_chats.md) - -[messages\_chatsSlice](../constructors/messages_chatsSlice.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getChats](../methods/messages_getChats.md) - -[$MadelineProto->messages->getCommonChats](../methods/messages_getCommonChats.md) - -[$MadelineProto->messages->getAllChats](../methods/messages_getAllChats.md) - -[$MadelineProto->channels->getChannels](../methods/channels_getChannels.md) - -[$MadelineProto->channels->getAdminedPublicChannels](../methods/channels_getAdminedPublicChannels.md) - -[$MadelineProto->channels->getLeftChannels](../methods/channels_getLeftChannels.md) - -[$MadelineProto->channels->getGroupsForDiscussion](../methods/channels_getGroupsForDiscussion.md) - - - diff --git a/old_docs/API_docs_v102/types/messages_DhConfig.md b/old_docs/API_docs_v102/types/messages_DhConfig.md deleted file mode 100644 index ce237411..00000000 --- a/old_docs/API_docs_v102/types/messages_DhConfig.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_DhConfig -description: constructors and methods of type messages_DhConfig -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_DhConfig -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_dhConfigNotModified](../constructors/messages_dhConfigNotModified.md) - -[messages\_dhConfig](../constructors/messages_dhConfig.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getDhConfig](../methods/messages_getDhConfig.md) - - - diff --git a/old_docs/API_docs_v102/types/messages_Dialogs.md b/old_docs/API_docs_v102/types/messages_Dialogs.md deleted file mode 100644 index 86d5eb72..00000000 --- a/old_docs/API_docs_v102/types/messages_Dialogs.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: messages_Dialogs -description: constructors and methods of type messages_Dialogs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Dialogs -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_dialogs](../constructors/messages_dialogs.md) - -[messages\_dialogsSlice](../constructors/messages_dialogsSlice.md) - -[messages\_dialogsNotModified](../constructors/messages_dialogsNotModified.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getDialogs](../methods/messages_getDialogs.md) - - - diff --git a/old_docs/API_docs_v102/types/messages_FavedStickers.md b/old_docs/API_docs_v102/types/messages_FavedStickers.md deleted file mode 100644 index 6fa1f221..00000000 --- a/old_docs/API_docs_v102/types/messages_FavedStickers.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_FavedStickers -description: constructors and methods of type messages_FavedStickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_FavedStickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_favedStickersNotModified](../constructors/messages_favedStickersNotModified.md) - -[messages\_favedStickers](../constructors/messages_favedStickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getFavedStickers](../methods/messages_getFavedStickers.md) - - - diff --git a/old_docs/API_docs_v102/types/messages_FeaturedStickers.md b/old_docs/API_docs_v102/types/messages_FeaturedStickers.md deleted file mode 100644 index 9b4c5002..00000000 --- a/old_docs/API_docs_v102/types/messages_FeaturedStickers.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_FeaturedStickers -description: constructors and methods of type messages_FeaturedStickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_FeaturedStickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_featuredStickersNotModified](../constructors/messages_featuredStickersNotModified.md) - -[messages\_featuredStickers](../constructors/messages_featuredStickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getFeaturedStickers](../methods/messages_getFeaturedStickers.md) - - - diff --git a/old_docs/API_docs_v102/types/messages_FoundGifs.md b/old_docs/API_docs_v102/types/messages_FoundGifs.md deleted file mode 100644 index 9dd088ba..00000000 --- a/old_docs/API_docs_v102/types/messages_FoundGifs.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_FoundGifs -description: constructors and methods of type messages_FoundGifs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_FoundGifs -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_foundGifs](../constructors/messages_foundGifs.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->searchGifs](../methods/messages_searchGifs.md) - - - diff --git a/old_docs/API_docs_v102/types/messages_FoundStickerSets.md b/old_docs/API_docs_v102/types/messages_FoundStickerSets.md deleted file mode 100644 index 9045b0d7..00000000 --- a/old_docs/API_docs_v102/types/messages_FoundStickerSets.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_FoundStickerSets -description: constructors and methods of type messages_FoundStickerSets -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_FoundStickerSets -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_foundStickerSetsNotModified](../constructors/messages_foundStickerSetsNotModified.md) - -[messages\_foundStickerSets](../constructors/messages_foundStickerSets.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->searchStickerSets](../methods/messages_searchStickerSets.md) - - - diff --git a/old_docs/API_docs_v102/types/messages_HighScores.md b/old_docs/API_docs_v102/types/messages_HighScores.md deleted file mode 100644 index 9660e255..00000000 --- a/old_docs/API_docs_v102/types/messages_HighScores.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_HighScores -description: constructors and methods of type messages_HighScores -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_HighScores -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_highScores](../constructors/messages_highScores.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getGameHighScores](../methods/messages_getGameHighScores.md) - -[$MadelineProto->messages->getInlineGameHighScores](../methods/messages_getInlineGameHighScores.md) - - - diff --git a/old_docs/API_docs_v102/types/messages_MessageEditData.md b/old_docs/API_docs_v102/types/messages_MessageEditData.md deleted file mode 100644 index ed3c507a..00000000 --- a/old_docs/API_docs_v102/types/messages_MessageEditData.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_MessageEditData -description: constructors and methods of type messages_MessageEditData -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_MessageEditData -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_messageEditData](../constructors/messages_messageEditData.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getMessageEditData](../methods/messages_getMessageEditData.md) - - - diff --git a/old_docs/API_docs_v102/types/messages_Messages.md b/old_docs/API_docs_v102/types/messages_Messages.md deleted file mode 100644 index 35514e90..00000000 --- a/old_docs/API_docs_v102/types/messages_Messages.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages_Messages -description: constructors and methods of type messages_Messages -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Messages -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_messages](../constructors/messages_messages.md) - -[messages\_messagesSlice](../constructors/messages_messagesSlice.md) - -[messages\_channelMessages](../constructors/messages_channelMessages.md) - -[messages\_messagesNotModified](../constructors/messages_messagesNotModified.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getMessages](../methods/messages_getMessages.md) - -[$MadelineProto->messages->getHistory](../methods/messages_getHistory.md) - -[$MadelineProto->messages->search](../methods/messages_search.md) - -[$MadelineProto->messages->searchGlobal](../methods/messages_searchGlobal.md) - -[$MadelineProto->messages->getUnreadMentions](../methods/messages_getUnreadMentions.md) - -[$MadelineProto->messages->getRecentLocations](../methods/messages_getRecentLocations.md) - -[$MadelineProto->channels->getMessages](../methods/channels_getMessages.md) - - - diff --git a/old_docs/API_docs_v102/types/messages_PeerDialogs.md b/old_docs/API_docs_v102/types/messages_PeerDialogs.md deleted file mode 100644 index 2477931f..00000000 --- a/old_docs/API_docs_v102/types/messages_PeerDialogs.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_PeerDialogs -description: constructors and methods of type messages_PeerDialogs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_PeerDialogs -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_peerDialogs](../constructors/messages_peerDialogs.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getPeerDialogs](../methods/messages_getPeerDialogs.md) - -[$MadelineProto->messages->getPinnedDialogs](../methods/messages_getPinnedDialogs.md) - - - diff --git a/old_docs/API_docs_v102/types/messages_RecentStickers.md b/old_docs/API_docs_v102/types/messages_RecentStickers.md deleted file mode 100644 index 2c9db779..00000000 --- a/old_docs/API_docs_v102/types/messages_RecentStickers.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_RecentStickers -description: constructors and methods of type messages_RecentStickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_RecentStickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_recentStickersNotModified](../constructors/messages_recentStickersNotModified.md) - -[messages\_recentStickers](../constructors/messages_recentStickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getRecentStickers](../methods/messages_getRecentStickers.md) - - - diff --git a/old_docs/API_docs_v102/types/messages_SavedGifs.md b/old_docs/API_docs_v102/types/messages_SavedGifs.md deleted file mode 100644 index ffb000aa..00000000 --- a/old_docs/API_docs_v102/types/messages_SavedGifs.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_SavedGifs -description: constructors and methods of type messages_SavedGifs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_SavedGifs -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_savedGifsNotModified](../constructors/messages_savedGifsNotModified.md) - -[messages\_savedGifs](../constructors/messages_savedGifs.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getSavedGifs](../methods/messages_getSavedGifs.md) - - - diff --git a/old_docs/API_docs_v102/types/messages_SearchCounter.md b/old_docs/API_docs_v102/types/messages_SearchCounter.md deleted file mode 100644 index 1ce67b2a..00000000 --- a/old_docs/API_docs_v102/types/messages_SearchCounter.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_SearchCounter -description: constructors and methods of type messages_SearchCounter -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_SearchCounter -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_searchCounter](../constructors/messages_searchCounter.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getSearchCounters](../methods/messages_getSearchCounters.md) - - - diff --git a/old_docs/API_docs_v102/types/messages_SentEncryptedMessage.md b/old_docs/API_docs_v102/types/messages_SentEncryptedMessage.md deleted file mode 100644 index 9f7ab935..00000000 --- a/old_docs/API_docs_v102/types/messages_SentEncryptedMessage.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: messages_SentEncryptedMessage -description: constructors and methods of type messages_SentEncryptedMessage -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_SentEncryptedMessage -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_sentEncryptedMessage](../constructors/messages_sentEncryptedMessage.md) - -[messages\_sentEncryptedFile](../constructors/messages_sentEncryptedFile.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->sendEncrypted](../methods/messages_sendEncrypted.md) - -[$MadelineProto->messages->sendEncryptedFile](../methods/messages_sendEncryptedFile.md) - -[$MadelineProto->messages->sendEncryptedService](../methods/messages_sendEncryptedService.md) - - - diff --git a/old_docs/API_docs_v102/types/messages_StickerSet.md b/old_docs/API_docs_v102/types/messages_StickerSet.md deleted file mode 100644 index 98e34dd2..00000000 --- a/old_docs/API_docs_v102/types/messages_StickerSet.md +++ /dev/null @@ -1,30 +0,0 @@ ---- -title: messages_StickerSet -description: constructors and methods of type messages_StickerSet -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_StickerSet -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_stickerSet](../constructors/messages_stickerSet.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getStickerSet](../methods/messages_getStickerSet.md) - -[$MadelineProto->stickers->createStickerSet](../methods/stickers_createStickerSet.md) - -[$MadelineProto->stickers->removeStickerFromSet](../methods/stickers_removeStickerFromSet.md) - -[$MadelineProto->stickers->changeStickerPosition](../methods/stickers_changeStickerPosition.md) - -[$MadelineProto->stickers->addStickerToSet](../methods/stickers_addStickerToSet.md) - - - diff --git a/old_docs/API_docs_v102/types/messages_StickerSetInstallResult.md b/old_docs/API_docs_v102/types/messages_StickerSetInstallResult.md deleted file mode 100644 index bb62ec11..00000000 --- a/old_docs/API_docs_v102/types/messages_StickerSetInstallResult.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_StickerSetInstallResult -description: constructors and methods of type messages_StickerSetInstallResult -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_StickerSetInstallResult -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_stickerSetInstallResultSuccess](../constructors/messages_stickerSetInstallResultSuccess.md) - -[messages\_stickerSetInstallResultArchive](../constructors/messages_stickerSetInstallResultArchive.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->installStickerSet](../methods/messages_installStickerSet.md) - - - diff --git a/old_docs/API_docs_v102/types/messages_Stickers.md b/old_docs/API_docs_v102/types/messages_Stickers.md deleted file mode 100644 index cf53f57b..00000000 --- a/old_docs/API_docs_v102/types/messages_Stickers.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_Stickers -description: constructors and methods of type messages_Stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Stickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_stickersNotModified](../constructors/messages_stickersNotModified.md) - -[messages\_stickers](../constructors/messages_stickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getStickers](../methods/messages_getStickers.md) - - - diff --git a/old_docs/API_docs_v102/types/payments.PaymentForm.md b/old_docs/API_docs_v102/types/payments.PaymentForm.md new file mode 100644 index 00000000..985c1957 --- /dev/null +++ b/old_docs/API_docs_v102/types/payments.PaymentForm.md @@ -0,0 +1,22 @@ +--- +title: payments.PaymentForm +description: constructors and methods of type payments.PaymentForm +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: payments.PaymentForm +[Back to types index](index.md) + + + +### Possible values (constructors): + +[payments.paymentForm](../constructors/payments.paymentForm.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->payments->getPaymentForm](../methods/payments.getPaymentForm.md) + + + diff --git a/old_docs/API_docs_v102/types/payments.PaymentReceipt.md b/old_docs/API_docs_v102/types/payments.PaymentReceipt.md new file mode 100644 index 00000000..45cebd47 --- /dev/null +++ b/old_docs/API_docs_v102/types/payments.PaymentReceipt.md @@ -0,0 +1,22 @@ +--- +title: payments.PaymentReceipt +description: constructors and methods of type payments.PaymentReceipt +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: payments.PaymentReceipt +[Back to types index](index.md) + + + +### Possible values (constructors): + +[payments.paymentReceipt](../constructors/payments.paymentReceipt.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->payments->getPaymentReceipt](../methods/payments.getPaymentReceipt.md) + + + diff --git a/old_docs/API_docs_v102/types/payments.PaymentResult.md b/old_docs/API_docs_v102/types/payments.PaymentResult.md new file mode 100644 index 00000000..9bbff9af --- /dev/null +++ b/old_docs/API_docs_v102/types/payments.PaymentResult.md @@ -0,0 +1,24 @@ +--- +title: payments.PaymentResult +description: constructors and methods of type payments.PaymentResult +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: payments.PaymentResult +[Back to types index](index.md) + + + +### Possible values (constructors): + +[payments.paymentResult](../constructors/payments.paymentResult.md) + +[payments.paymentVerficationNeeded](../constructors/payments.paymentVerficationNeeded.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->payments->sendPaymentForm](../methods/payments.sendPaymentForm.md) + + + diff --git a/old_docs/API_docs_v102/types/payments.SavedInfo.md b/old_docs/API_docs_v102/types/payments.SavedInfo.md new file mode 100644 index 00000000..cf7be16c --- /dev/null +++ b/old_docs/API_docs_v102/types/payments.SavedInfo.md @@ -0,0 +1,22 @@ +--- +title: payments.SavedInfo +description: constructors and methods of type payments.SavedInfo +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: payments.SavedInfo +[Back to types index](index.md) + + + +### Possible values (constructors): + +[payments.savedInfo](../constructors/payments.savedInfo.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->payments->getSavedInfo](../methods/payments.getSavedInfo.md) + + + diff --git a/old_docs/API_docs_v102/types/payments.ValidatedRequestedInfo.md b/old_docs/API_docs_v102/types/payments.ValidatedRequestedInfo.md new file mode 100644 index 00000000..653a5064 --- /dev/null +++ b/old_docs/API_docs_v102/types/payments.ValidatedRequestedInfo.md @@ -0,0 +1,22 @@ +--- +title: payments.ValidatedRequestedInfo +description: constructors and methods of type payments.ValidatedRequestedInfo +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: payments.ValidatedRequestedInfo +[Back to types index](index.md) + + + +### Possible values (constructors): + +[payments.validatedRequestedInfo](../constructors/payments.validatedRequestedInfo.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->payments->validateRequestedInfo](../methods/payments.validateRequestedInfo.md) + + + diff --git a/old_docs/API_docs_v102/types/payments_PaymentForm.md b/old_docs/API_docs_v102/types/payments_PaymentForm.md deleted file mode 100644 index 4662586d..00000000 --- a/old_docs/API_docs_v102/types/payments_PaymentForm.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: payments_PaymentForm -description: constructors and methods of type payments_PaymentForm -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: payments\_PaymentForm -[Back to types index](index.md) - - - -### Possible values (constructors): - -[payments\_paymentForm](../constructors/payments_paymentForm.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->payments->getPaymentForm](../methods/payments_getPaymentForm.md) - - - diff --git a/old_docs/API_docs_v102/types/payments_PaymentReceipt.md b/old_docs/API_docs_v102/types/payments_PaymentReceipt.md deleted file mode 100644 index b4770d2a..00000000 --- a/old_docs/API_docs_v102/types/payments_PaymentReceipt.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: payments_PaymentReceipt -description: constructors and methods of type payments_PaymentReceipt -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: payments\_PaymentReceipt -[Back to types index](index.md) - - - -### Possible values (constructors): - -[payments\_paymentReceipt](../constructors/payments_paymentReceipt.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->payments->getPaymentReceipt](../methods/payments_getPaymentReceipt.md) - - - diff --git a/old_docs/API_docs_v102/types/payments_PaymentResult.md b/old_docs/API_docs_v102/types/payments_PaymentResult.md deleted file mode 100644 index 3c0ad411..00000000 --- a/old_docs/API_docs_v102/types/payments_PaymentResult.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: payments_PaymentResult -description: constructors and methods of type payments_PaymentResult -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: payments\_PaymentResult -[Back to types index](index.md) - - - -### Possible values (constructors): - -[payments\_paymentResult](../constructors/payments_paymentResult.md) - -[payments\_paymentVerficationNeeded](../constructors/payments_paymentVerficationNeeded.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->payments->sendPaymentForm](../methods/payments_sendPaymentForm.md) - - - diff --git a/old_docs/API_docs_v102/types/payments_SavedInfo.md b/old_docs/API_docs_v102/types/payments_SavedInfo.md deleted file mode 100644 index c8f7b9e3..00000000 --- a/old_docs/API_docs_v102/types/payments_SavedInfo.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: payments_SavedInfo -description: constructors and methods of type payments_SavedInfo -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: payments\_SavedInfo -[Back to types index](index.md) - - - -### Possible values (constructors): - -[payments\_savedInfo](../constructors/payments_savedInfo.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->payments->getSavedInfo](../methods/payments_getSavedInfo.md) - - - diff --git a/old_docs/API_docs_v102/types/payments_ValidatedRequestedInfo.md b/old_docs/API_docs_v102/types/payments_ValidatedRequestedInfo.md deleted file mode 100644 index ff6c4e39..00000000 --- a/old_docs/API_docs_v102/types/payments_ValidatedRequestedInfo.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: payments_ValidatedRequestedInfo -description: constructors and methods of type payments_ValidatedRequestedInfo -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: payments\_ValidatedRequestedInfo -[Back to types index](index.md) - - - -### Possible values (constructors): - -[payments\_validatedRequestedInfo](../constructors/payments_validatedRequestedInfo.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->payments->validateRequestedInfo](../methods/payments_validateRequestedInfo.md) - - - diff --git a/old_docs/API_docs_v102/types/phone.PhoneCall.md b/old_docs/API_docs_v102/types/phone.PhoneCall.md new file mode 100644 index 00000000..db0708e9 --- /dev/null +++ b/old_docs/API_docs_v102/types/phone.PhoneCall.md @@ -0,0 +1,26 @@ +--- +title: phone.PhoneCall +description: constructors and methods of type phone.PhoneCall +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: phone.PhoneCall +[Back to types index](index.md) + + + +### Possible values (constructors): + +[phone.phoneCall](../constructors/phone.phoneCall.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->phone->requestCall](../methods/phone.requestCall.md) + +[$MadelineProto->phone->acceptCall](../methods/phone.acceptCall.md) + +[$MadelineProto->phone->confirmCall](../methods/phone.confirmCall.md) + + + diff --git a/old_docs/API_docs_v102/types/phone_PhoneCall.md b/old_docs/API_docs_v102/types/phone_PhoneCall.md deleted file mode 100644 index 0a49d482..00000000 --- a/old_docs/API_docs_v102/types/phone_PhoneCall.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: phone_PhoneCall -description: constructors and methods of type phone_PhoneCall -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: phone\_PhoneCall -[Back to types index](index.md) - - - -### Possible values (constructors): - -[phone\_phoneCall](../constructors/phone_phoneCall.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->phone->requestCall](../methods/phone_requestCall.md) - -[$MadelineProto->phone->acceptCall](../methods/phone_acceptCall.md) - -[$MadelineProto->phone->confirmCall](../methods/phone_confirmCall.md) - - - diff --git a/old_docs/API_docs_v102/types/photos.Photo.md b/old_docs/API_docs_v102/types/photos.Photo.md new file mode 100644 index 00000000..d60f203c --- /dev/null +++ b/old_docs/API_docs_v102/types/photos.Photo.md @@ -0,0 +1,22 @@ +--- +title: photos.Photo +description: constructors and methods of type photos.Photo +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: photos.Photo +[Back to types index](index.md) + + + +### Possible values (constructors): + +[photos.photo](../constructors/photos.photo.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->photos->uploadProfilePhoto](../methods/photos.uploadProfilePhoto.md) + + + diff --git a/old_docs/API_docs_v102/types/photos.Photos.md b/old_docs/API_docs_v102/types/photos.Photos.md new file mode 100644 index 00000000..fff0e296 --- /dev/null +++ b/old_docs/API_docs_v102/types/photos.Photos.md @@ -0,0 +1,24 @@ +--- +title: photos.Photos +description: constructors and methods of type photos.Photos +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: photos.Photos +[Back to types index](index.md) + + + +### Possible values (constructors): + +[photos.photos](../constructors/photos.photos.md) + +[photos.photosSlice](../constructors/photos.photosSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->photos->getUserPhotos](../methods/photos.getUserPhotos.md) + + + diff --git a/old_docs/API_docs_v102/types/photos_Photo.md b/old_docs/API_docs_v102/types/photos_Photo.md deleted file mode 100644 index d11bbdef..00000000 --- a/old_docs/API_docs_v102/types/photos_Photo.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: photos_Photo -description: constructors and methods of type photos_Photo -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: photos\_Photo -[Back to types index](index.md) - - - -### Possible values (constructors): - -[photos\_photo](../constructors/photos_photo.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->photos->uploadProfilePhoto](../methods/photos_uploadProfilePhoto.md) - - - diff --git a/old_docs/API_docs_v102/types/photos_Photos.md b/old_docs/API_docs_v102/types/photos_Photos.md deleted file mode 100644 index 9875ad70..00000000 --- a/old_docs/API_docs_v102/types/photos_Photos.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: photos_Photos -description: constructors and methods of type photos_Photos -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: photos\_Photos -[Back to types index](index.md) - - - -### Possible values (constructors): - -[photos\_photos](../constructors/photos_photos.md) - -[photos\_photosSlice](../constructors/photos_photosSlice.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->photos->getUserPhotos](../methods/photos_getUserPhotos.md) - - - diff --git a/old_docs/API_docs_v102/types/storage.FileType.md b/old_docs/API_docs_v102/types/storage.FileType.md new file mode 100644 index 00000000..32f1bb72 --- /dev/null +++ b/old_docs/API_docs_v102/types/storage.FileType.md @@ -0,0 +1,38 @@ +--- +title: storage.FileType +description: constructors and methods of type storage.FileType +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: storage.FileType +[Back to types index](index.md) + + + +### Possible values (constructors): + +[storage.fileUnknown](../constructors/storage.fileUnknown.md) + +[storage.filePartial](../constructors/storage.filePartial.md) + +[storage.fileJpeg](../constructors/storage.fileJpeg.md) + +[storage.fileGif](../constructors/storage.fileGif.md) + +[storage.filePng](../constructors/storage.filePng.md) + +[storage.filePdf](../constructors/storage.filePdf.md) + +[storage.fileMp3](../constructors/storage.fileMp3.md) + +[storage.fileMov](../constructors/storage.fileMov.md) + +[storage.fileMp4](../constructors/storage.fileMp4.md) + +[storage.fileWebp](../constructors/storage.fileWebp.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v102/types/storage_FileType.md b/old_docs/API_docs_v102/types/storage_FileType.md deleted file mode 100644 index 22118805..00000000 --- a/old_docs/API_docs_v102/types/storage_FileType.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: storage_FileType -description: constructors and methods of type storage_FileType -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: storage\_FileType -[Back to types index](index.md) - - - -### Possible values (constructors): - -[storage\_fileUnknown](../constructors/storage_fileUnknown.md) - -[storage\_filePartial](../constructors/storage_filePartial.md) - -[storage\_fileJpeg](../constructors/storage_fileJpeg.md) - -[storage\_fileGif](../constructors/storage_fileGif.md) - -[storage\_filePng](../constructors/storage_filePng.md) - -[storage\_filePdf](../constructors/storage_filePdf.md) - -[storage\_fileMp3](../constructors/storage_fileMp3.md) - -[storage\_fileMov](../constructors/storage_fileMov.md) - -[storage\_fileMp4](../constructors/storage_fileMp4.md) - -[storage\_fileWebp](../constructors/storage_fileWebp.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v102/types/updates.ChannelDifference.md b/old_docs/API_docs_v102/types/updates.ChannelDifference.md new file mode 100644 index 00000000..ac889a1e --- /dev/null +++ b/old_docs/API_docs_v102/types/updates.ChannelDifference.md @@ -0,0 +1,26 @@ +--- +title: updates.ChannelDifference +description: constructors and methods of type updates.ChannelDifference +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: updates.ChannelDifference +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updates.channelDifferenceEmpty](../constructors/updates.channelDifferenceEmpty.md) + +[updates.channelDifferenceTooLong](../constructors/updates.channelDifferenceTooLong.md) + +[updates.channelDifference](../constructors/updates.channelDifference.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->updates->getChannelDifference](../methods/updates.getChannelDifference.md) + + + diff --git a/old_docs/API_docs_v102/types/updates.Difference.md b/old_docs/API_docs_v102/types/updates.Difference.md new file mode 100644 index 00000000..0c1a1b6e --- /dev/null +++ b/old_docs/API_docs_v102/types/updates.Difference.md @@ -0,0 +1,28 @@ +--- +title: updates.Difference +description: constructors and methods of type updates.Difference +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: updates.Difference +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updates.differenceEmpty](../constructors/updates.differenceEmpty.md) + +[updates.difference](../constructors/updates.difference.md) + +[updates.differenceSlice](../constructors/updates.differenceSlice.md) + +[updates.differenceTooLong](../constructors/updates.differenceTooLong.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->updates->getDifference](../methods/updates.getDifference.md) + + + diff --git a/old_docs/API_docs_v102/types/updates.State.md b/old_docs/API_docs_v102/types/updates.State.md new file mode 100644 index 00000000..49bbb7fd --- /dev/null +++ b/old_docs/API_docs_v102/types/updates.State.md @@ -0,0 +1,22 @@ +--- +title: updates.State +description: constructors and methods of type updates.State +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: updates.State +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updates.state](../constructors/updates.state.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->updates->getState](../methods/updates.getState.md) + + + diff --git a/old_docs/API_docs_v102/types/updates_ChannelDifference.md b/old_docs/API_docs_v102/types/updates_ChannelDifference.md deleted file mode 100644 index dc988692..00000000 --- a/old_docs/API_docs_v102/types/updates_ChannelDifference.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: updates_ChannelDifference -description: constructors and methods of type updates_ChannelDifference -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: updates\_ChannelDifference -[Back to types index](index.md) - - - -### Possible values (constructors): - -[updates\_channelDifferenceEmpty](../constructors/updates_channelDifferenceEmpty.md) - -[updates\_channelDifferenceTooLong](../constructors/updates_channelDifferenceTooLong.md) - -[updates\_channelDifference](../constructors/updates_channelDifference.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->updates->getChannelDifference](../methods/updates_getChannelDifference.md) - - - diff --git a/old_docs/API_docs_v102/types/updates_Difference.md b/old_docs/API_docs_v102/types/updates_Difference.md deleted file mode 100644 index 50bb098e..00000000 --- a/old_docs/API_docs_v102/types/updates_Difference.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: updates_Difference -description: constructors and methods of type updates_Difference -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: updates\_Difference -[Back to types index](index.md) - - - -### Possible values (constructors): - -[updates\_differenceEmpty](../constructors/updates_differenceEmpty.md) - -[updates\_difference](../constructors/updates_difference.md) - -[updates\_differenceSlice](../constructors/updates_differenceSlice.md) - -[updates\_differenceTooLong](../constructors/updates_differenceTooLong.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->updates->getDifference](../methods/updates_getDifference.md) - - - diff --git a/old_docs/API_docs_v102/types/updates_State.md b/old_docs/API_docs_v102/types/updates_State.md deleted file mode 100644 index 7a441145..00000000 --- a/old_docs/API_docs_v102/types/updates_State.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: updates_State -description: constructors and methods of type updates_State -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: updates\_State -[Back to types index](index.md) - - - -### Possible values (constructors): - -[updates\_state](../constructors/updates_state.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->updates->getState](../methods/updates_getState.md) - - - diff --git a/old_docs/API_docs_v102/types/upload.CdnFile.md b/old_docs/API_docs_v102/types/upload.CdnFile.md new file mode 100644 index 00000000..396c4bf4 --- /dev/null +++ b/old_docs/API_docs_v102/types/upload.CdnFile.md @@ -0,0 +1,24 @@ +--- +title: upload.CdnFile +description: constructors and methods of type upload.CdnFile +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: upload.CdnFile +[Back to types index](index.md) + + + +### Possible values (constructors): + +[upload.cdnFileReuploadNeeded](../constructors/upload.cdnFileReuploadNeeded.md) + +[upload.cdnFile](../constructors/upload.cdnFile.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->upload->getCdnFile](../methods/upload.getCdnFile.md) + + + diff --git a/old_docs/API_docs_v102/types/upload.File.md b/old_docs/API_docs_v102/types/upload.File.md new file mode 100644 index 00000000..6963341b --- /dev/null +++ b/old_docs/API_docs_v102/types/upload.File.md @@ -0,0 +1,24 @@ +--- +title: upload.File +description: constructors and methods of type upload.File +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: upload.File +[Back to types index](index.md) + + + +### Possible values (constructors): + +[upload.file](../constructors/upload.file.md) + +[upload.fileCdnRedirect](../constructors/upload.fileCdnRedirect.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->upload->getFile](../methods/upload.getFile.md) + + + diff --git a/old_docs/API_docs_v102/types/upload.WebFile.md b/old_docs/API_docs_v102/types/upload.WebFile.md new file mode 100644 index 00000000..e834457b --- /dev/null +++ b/old_docs/API_docs_v102/types/upload.WebFile.md @@ -0,0 +1,22 @@ +--- +title: upload.WebFile +description: constructors and methods of type upload.WebFile +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: upload.WebFile +[Back to types index](index.md) + + + +### Possible values (constructors): + +[upload.webFile](../constructors/upload.webFile.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->upload->getWebFile](../methods/upload.getWebFile.md) + + + diff --git a/old_docs/API_docs_v102/types/upload_CdnFile.md b/old_docs/API_docs_v102/types/upload_CdnFile.md deleted file mode 100644 index 51ae2e68..00000000 --- a/old_docs/API_docs_v102/types/upload_CdnFile.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: upload_CdnFile -description: constructors and methods of type upload_CdnFile -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: upload\_CdnFile -[Back to types index](index.md) - - - -### Possible values (constructors): - -[upload\_cdnFileReuploadNeeded](../constructors/upload_cdnFileReuploadNeeded.md) - -[upload\_cdnFile](../constructors/upload_cdnFile.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->upload->getCdnFile](../methods/upload_getCdnFile.md) - - - diff --git a/old_docs/API_docs_v102/types/upload_File.md b/old_docs/API_docs_v102/types/upload_File.md deleted file mode 100644 index 00e0f9cb..00000000 --- a/old_docs/API_docs_v102/types/upload_File.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: upload_File -description: constructors and methods of type upload_File -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: upload\_File -[Back to types index](index.md) - - - -### Possible values (constructors): - -[upload\_file](../constructors/upload_file.md) - -[upload\_fileCdnRedirect](../constructors/upload_fileCdnRedirect.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->upload->getFile](../methods/upload_getFile.md) - - - diff --git a/old_docs/API_docs_v102/types/upload_WebFile.md b/old_docs/API_docs_v102/types/upload_WebFile.md deleted file mode 100644 index 9a86264f..00000000 --- a/old_docs/API_docs_v102/types/upload_WebFile.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: upload_WebFile -description: constructors and methods of type upload_WebFile -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: upload\_WebFile -[Back to types index](index.md) - - - -### Possible values (constructors): - -[upload\_webFile](../constructors/upload_webFile.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->upload->getWebFile](../methods/upload_getWebFile.md) - - - diff --git a/old_docs/API_docs_v103/constructors/README.md b/old_docs/API_docs_v103/constructors/README.md index 768f343d..acda2d23 100644 --- a/old_docs/API_docs_v103/constructors/README.md +++ b/old_docs/API_docs_v103/constructors/README.md @@ -9,60 +9,83 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ***

[$accessPointRule](../constructors/accessPointRule.md) = \['phone_prefix_rules' => [string](../types/string.md), 'dc_id' => [int](../types/int.md), 'ips' => \[[IpPort](../types/IpPort.md)\], \]; +*** +

[$account.authorizationForm](../constructors/account.authorizationForm.md) = \['required_types' => \[[SecureRequiredType](../types/SecureRequiredType.md)\], 'values' => \[[SecureValue](../types/SecureValue.md)\], 'errors' => \[[SecureValueError](../types/SecureValueError.md)\], 'users' => \[[User](../types/User.md)\], 'privacy_policy_url' => [string](../types/string.md), \]; + +*** +

[$account.authorizations](../constructors/account.authorizations.md) = \['authorizations' => \[[Authorization](../types/Authorization.md)\], \]; + +*** +

[$account.autoDownloadSettings](../constructors/account.autoDownloadSettings.md) = \['low' => [AutoDownloadSettings](../types/AutoDownloadSettings.md), 'medium' => [AutoDownloadSettings](../types/AutoDownloadSettings.md), 'high' => [AutoDownloadSettings](../types/AutoDownloadSettings.md), \]; + +*** +

[$account.password](../constructors/account.password.md) = \['has_recovery' => [Bool](../types/Bool.md), 'has_secure_values' => [Bool](../types/Bool.md), 'has_password' => [Bool](../types/Bool.md), 'current_algo' => [PasswordKdfAlgo](../types/PasswordKdfAlgo.md), 'srp_B' => [bytes](../types/bytes.md), 'srp_id' => [long](../types/long.md), 'hint' => [string](../types/string.md), 'email_unconfirmed_pattern' => [string](../types/string.md), 'new_algo' => [PasswordKdfAlgo](../types/PasswordKdfAlgo.md), 'new_secure_algo' => [SecurePasswordKdfAlgo](../types/SecurePasswordKdfAlgo.md), 'secure_random' => [bytes](../types/bytes.md), \]; + +*** +

[$account.passwordInputSettings](../constructors/account.passwordInputSettings.md) = \['new_algo' => [PasswordKdfAlgo](../types/PasswordKdfAlgo.md), 'new_password_hash' => [bytes](../types/bytes.md), 'hint' => [string](../types/string.md), 'email' => [string](../types/string.md), 'new_secure_settings' => [SecureSecretSettings](../types/SecureSecretSettings.md), \]; + +*** +

[$account.passwordSettings](../constructors/account.passwordSettings.md) = \['email' => [string](../types/string.md), 'secure_settings' => [SecureSecretSettings](../types/SecureSecretSettings.md), \]; + +*** +

[$account.privacyRules](../constructors/account.privacyRules.md) = \['rules' => \[[PrivacyRule](../types/PrivacyRule.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +*** +

[$account.sentEmailCode](../constructors/account.sentEmailCode.md) = \['email_pattern' => [string](../types/string.md), 'length' => [int](../types/int.md), \]; + +*** +

[$account.takeout](../constructors/account.takeout.md) = \['id' => [long](../types/long.md), \]; + +*** +

[$account.tmpPassword](../constructors/account.tmpPassword.md) = \['tmp_password' => [bytes](../types/bytes.md), 'valid_until' => [int](../types/int.md), \]; + +*** +

[$account.wallPapers](../constructors/account.wallPapers.md) = \['hash' => [int](../types/int.md), 'wallpapers' => \[[WallPaper](../types/WallPaper.md)\], \]; + +*** +

[$account.wallPapersNotModified](../constructors/account.wallPapersNotModified.md) = \[\]; + +*** +

[$account.webAuthorizations](../constructors/account.webAuthorizations.md) = \['authorizations' => \[[WebAuthorization](../types/WebAuthorization.md)\], 'users' => \[[User](../types/User.md)\], \]; + ***

[$accountDaysTTL](../constructors/accountDaysTTL.md) = \['days' => [int](../types/int.md), \]; *** -

[$account\_authorizationForm](../constructors/account_authorizationForm.md) = \['required_types' => \[[SecureRequiredType](../types/SecureRequiredType.md)\], 'values' => \[[SecureValue](../types/SecureValue.md)\], 'errors' => \[[SecureValueError](../types/SecureValueError.md)\], 'users' => \[[User](../types/User.md)\], 'privacy_policy_url' => [string](../types/string.md), \]; - -[$account\_authorizations](../constructors/account_authorizations.md) = \['authorizations' => \[[Authorization](../types/Authorization.md)\], \]; - -[$account\_autoDownloadSettings](../constructors/account_autoDownloadSettings.md) = \['low' => [AutoDownloadSettings](../types/AutoDownloadSettings.md), 'medium' => [AutoDownloadSettings](../types/AutoDownloadSettings.md), 'high' => [AutoDownloadSettings](../types/AutoDownloadSettings.md), \]; - -[$account\_password](../constructors/account_password.md) = \['has_recovery' => [Bool](../types/Bool.md), 'has_secure_values' => [Bool](../types/Bool.md), 'has_password' => [Bool](../types/Bool.md), 'current_algo' => [PasswordKdfAlgo](../types/PasswordKdfAlgo.md), 'srp_B' => [bytes](../types/bytes.md), 'srp_id' => [long](../types/long.md), 'hint' => [string](../types/string.md), 'email_unconfirmed_pattern' => [string](../types/string.md), 'new_algo' => [PasswordKdfAlgo](../types/PasswordKdfAlgo.md), 'new_secure_algo' => [SecurePasswordKdfAlgo](../types/SecurePasswordKdfAlgo.md), 'secure_random' => [bytes](../types/bytes.md), \]; - -[$account\_passwordInputSettings](../constructors/account_passwordInputSettings.md) = \['new_algo' => [PasswordKdfAlgo](../types/PasswordKdfAlgo.md), 'new_password_hash' => [bytes](../types/bytes.md), 'hint' => [string](../types/string.md), 'email' => [string](../types/string.md), 'new_secure_settings' => [SecureSecretSettings](../types/SecureSecretSettings.md), \]; - -[$account\_passwordSettings](../constructors/account_passwordSettings.md) = \['email' => [string](../types/string.md), 'secure_settings' => [SecureSecretSettings](../types/SecureSecretSettings.md), \]; - -[$account\_privacyRules](../constructors/account_privacyRules.md) = \['rules' => \[[PrivacyRule](../types/PrivacyRule.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; - -[$account\_sentEmailCode](../constructors/account_sentEmailCode.md) = \['email_pattern' => [string](../types/string.md), 'length' => [int](../types/int.md), \]; - -[$account\_takeout](../constructors/account_takeout.md) = \['id' => [long](../types/long.md), \]; - -[$account\_tmpPassword](../constructors/account_tmpPassword.md) = \['tmp_password' => [bytes](../types/bytes.md), 'valid_until' => [int](../types/int.md), \]; - -[$account\_wallPapers](../constructors/account_wallPapers.md) = \['hash' => [int](../types/int.md), 'wallpapers' => \[[WallPaper](../types/WallPaper.md)\], \]; - -[$account\_wallPapersNotModified](../constructors/account_wallPapersNotModified.md) = \[\]; - -[$account\_webAuthorizations](../constructors/account_webAuthorizations.md) = \['authorizations' => \[[WebAuthorization](../types/WebAuthorization.md)\], 'users' => \[[User](../types/User.md)\], \]; +

[$auth.authorization](../constructors/auth.authorization.md) = \['tmp_sessions' => [int](../types/int.md), 'user' => [User](../types/User.md), \]; *** -

[$auth\_authorization](../constructors/auth_authorization.md) = \['tmp_sessions' => [int](../types/int.md), 'user' => [User](../types/User.md), \]; +

[$auth.checkedPhone](../constructors/auth.checkedPhone.md) = \['phone_registered' => [Bool](../types/Bool.md), \]; -[$auth\_checkedPhone](../constructors/auth_checkedPhone.md) = \['phone_registered' => [Bool](../types/Bool.md), \]; +*** +

[$auth.codeTypeCall](../constructors/auth.codeTypeCall.md) = \[\]; -[$auth\_codeTypeCall](../constructors/auth_codeTypeCall.md) = \[\]; +*** +

[$auth.codeTypeFlashCall](../constructors/auth.codeTypeFlashCall.md) = \[\]; -[$auth\_codeTypeFlashCall](../constructors/auth_codeTypeFlashCall.md) = \[\]; +*** +

[$auth.codeTypeSms](../constructors/auth.codeTypeSms.md) = \[\]; -[$auth\_codeTypeSms](../constructors/auth_codeTypeSms.md) = \[\]; +*** +

[$auth.exportedAuthorization](../constructors/auth.exportedAuthorization.md) = \['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; -[$auth\_exportedAuthorization](../constructors/auth_exportedAuthorization.md) = \['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; +*** +

[$auth.passwordRecovery](../constructors/auth.passwordRecovery.md) = \['email_pattern' => [string](../types/string.md), \]; -[$auth\_passwordRecovery](../constructors/auth_passwordRecovery.md) = \['email_pattern' => [string](../types/string.md), \]; +*** +

[$auth.sentCode](../constructors/auth.sentCode.md) = \['phone_registered' => [Bool](../types/Bool.md), 'type' => [auth.SentCodeType](../types/auth.SentCodeType.md), 'phone_code_hash' => [string](../types/string.md), 'next_type' => [auth.CodeType](../types/auth.CodeType.md), 'timeout' => [int](../types/int.md), 'terms_of_service' => [help.TermsOfService](../types/help.TermsOfService.md), \]; -[$auth\_sentCode](../constructors/auth_sentCode.md) = \['phone_registered' => [Bool](../types/Bool.md), 'type' => [auth.SentCodeType](../types/auth.SentCodeType.md), 'phone_code_hash' => [string](../types/string.md), 'next_type' => [auth.CodeType](../types/auth.CodeType.md), 'timeout' => [int](../types/int.md), 'terms_of_service' => [help.TermsOfService](../types/help.TermsOfService.md), \]; +*** +

[$auth.sentCodeTypeApp](../constructors/auth.sentCodeTypeApp.md) = \['length' => [int](../types/int.md), \]; -[$auth\_sentCodeTypeApp](../constructors/auth_sentCodeTypeApp.md) = \['length' => [int](../types/int.md), \]; +*** +

[$auth.sentCodeTypeCall](../constructors/auth.sentCodeTypeCall.md) = \['length' => [int](../types/int.md), \]; -[$auth\_sentCodeTypeCall](../constructors/auth_sentCodeTypeCall.md) = \['length' => [int](../types/int.md), \]; +*** +

[$auth.sentCodeTypeFlashCall](../constructors/auth.sentCodeTypeFlashCall.md) = \['pattern' => [string](../types/string.md), \]; -[$auth\_sentCodeTypeFlashCall](../constructors/auth_sentCodeTypeFlashCall.md) = \['pattern' => [string](../types/string.md), \]; - -[$auth\_sentCodeTypeSms](../constructors/auth_sentCodeTypeSms.md) = \['length' => [int](../types/int.md), \]; +*** +

[$auth.sentCodeTypeSms](../constructors/auth.sentCodeTypeSms.md) = \['length' => [int](../types/int.md), \]; ***

[$authorization](../constructors/authorization.md) = \['current' => [Bool](../types/Bool.md), 'official_app' => [Bool](../types/Bool.md), 'password_pending' => [Bool](../types/Bool.md), 'hash' => [long](../types/long.md), 'device_model' => [string](../types/string.md), 'platform' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'api_id' => [int](../types/int.md), 'app_name' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'date_created' => [int](../types/int.md), 'date_active' => [int](../types/int.md), 'ip' => [string](../types/string.md), 'country' => [string](../types/string.md), 'region' => [string](../types/string.md), \]; @@ -233,13 +256,16 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$channelParticipantsSearch](../constructors/channelParticipantsSearch.md) = \['q' => [string](../types/string.md), \]; *** -

[$channels\_adminLogResults](../constructors/channels_adminLogResults.md) = \['events' => \[[ChannelAdminLogEvent](../types/ChannelAdminLogEvent.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +

[$channels.adminLogResults](../constructors/channels.adminLogResults.md) = \['events' => \[[ChannelAdminLogEvent](../types/ChannelAdminLogEvent.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$channels\_channelParticipant](../constructors/channels_channelParticipant.md) = \['participant' => [ChannelParticipant](../types/ChannelParticipant.md), 'users' => \[[User](../types/User.md)\], \]; +*** +

[$channels.channelParticipant](../constructors/channels.channelParticipant.md) = \['participant' => [ChannelParticipant](../types/ChannelParticipant.md), 'users' => \[[User](../types/User.md)\], \]; -[$channels\_channelParticipants](../constructors/channels_channelParticipants.md) = \['count' => [int](../types/int.md), 'participants' => \[[ChannelParticipant](../types/ChannelParticipant.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$channels.channelParticipants](../constructors/channels.channelParticipants.md) = \['count' => [int](../types/int.md), 'participants' => \[[ChannelParticipant](../types/ChannelParticipant.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$channels\_channelParticipantsNotModified](../constructors/channels_channelParticipantsNotModified.md) = \[\]; +*** +

[$channels.channelParticipantsNotModified](../constructors/channels.channelParticipantsNotModified.md) = \[\]; ***

[$chat](../constructors/chat.md) = \['creator' => [Bool](../types/Bool.md), 'kicked' => [Bool](../types/Bool.md), 'left' => [Bool](../types/Bool.md), 'deactivated' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'title' => [string](../types/string.md), 'photo' => [ChatPhoto](../types/ChatPhoto.md), 'participants_count' => [int](../types/int.md), 'date' => [int](../types/int.md), 'version' => [int](../types/int.md), 'migrated_to' => [InputChannel](../types/InputChannel.md), 'admin_rights' => [ChatAdminRights](../types/ChatAdminRights.md), 'default_banned_rights' => [ChatBannedRights](../types/ChatBannedRights.md), \]; @@ -311,25 +337,34 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$contactStatus](../constructors/contactStatus.md) = \['user_id' => [int](../types/int.md), 'status' => [UserStatus](../types/UserStatus.md), \]; *** -

[$contacts\_blocked](../constructors/contacts_blocked.md) = \['blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; +

[$contacts.blocked](../constructors/contacts.blocked.md) = \['blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_blockedSlice](../constructors/contacts_blockedSlice.md) = \['count' => [int](../types/int.md), 'blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.blockedSlice](../constructors/contacts.blockedSlice.md) = \['count' => [int](../types/int.md), 'blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_contacts](../constructors/contacts_contacts.md) = \['contacts' => \[[Contact](../types/Contact.md)\], 'saved_count' => [int](../types/int.md), 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.contacts](../constructors/contacts.contacts.md) = \['contacts' => \[[Contact](../types/Contact.md)\], 'saved_count' => [int](../types/int.md), 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_contactsNotModified](../constructors/contacts_contactsNotModified.md) = \[\]; +*** +

[$contacts.contactsNotModified](../constructors/contacts.contactsNotModified.md) = \[\]; -[$contacts\_found](../constructors/contacts_found.md) = \['my_results' => \[[Peer](../types/Peer.md)\], 'results' => \[[Peer](../types/Peer.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.found](../constructors/contacts.found.md) = \['my_results' => \[[Peer](../types/Peer.md)\], 'results' => \[[Peer](../types/Peer.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_importedContacts](../constructors/contacts_importedContacts.md) = \['imported' => \[[ImportedContact](../types/ImportedContact.md)\], 'popular_invites' => \[[PopularContact](../types/PopularContact.md)\], 'retry_contacts' => \[[long](../types/long.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.importedContacts](../constructors/contacts.importedContacts.md) = \['imported' => \[[ImportedContact](../types/ImportedContact.md)\], 'popular_invites' => \[[PopularContact](../types/PopularContact.md)\], 'retry_contacts' => \[[long](../types/long.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_resolvedPeer](../constructors/contacts_resolvedPeer.md) = \['peer' => [Peer](../types/Peer.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.resolvedPeer](../constructors/contacts.resolvedPeer.md) = \['peer' => [Peer](../types/Peer.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_topPeers](../constructors/contacts_topPeers.md) = \['categories' => \[[TopPeerCategoryPeers](../types/TopPeerCategoryPeers.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.topPeers](../constructors/contacts.topPeers.md) = \['categories' => \[[TopPeerCategoryPeers](../types/TopPeerCategoryPeers.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_topPeersDisabled](../constructors/contacts_topPeersDisabled.md) = \[\]; +*** +

[$contacts.topPeersDisabled](../constructors/contacts.topPeersDisabled.md) = \[\]; -[$contacts\_topPeersNotModified](../constructors/contacts_topPeersNotModified.md) = \[\]; +*** +

[$contacts.topPeersNotModified](../constructors/contacts.topPeersNotModified.md) = \[\]; ***

[$dataJSON](../constructors/dataJSON.md) = \['data' => [string](../types/string.md), \]; @@ -458,41 +493,58 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$geoPointEmpty](../constructors/geoPointEmpty.md) = \[\]; *** -

[$help\_appUpdate](../constructors/help_appUpdate.md) = \['popup' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'version' => [string](../types/string.md), 'text' => [string](../types/string.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], 'document' => [Document](../types/Document.md), 'url' => [string](../types/string.md), \]; +

[$help.appUpdate](../constructors/help.appUpdate.md) = \['popup' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'version' => [string](../types/string.md), 'text' => [string](../types/string.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], 'document' => [Document](../types/Document.md), 'url' => [string](../types/string.md), \]; -[$help\_configSimple](../constructors/help_configSimple.md) = \['date' => [int](../types/int.md), 'expires' => [int](../types/int.md), 'rules' => \[[AccessPointRule](../types/AccessPointRule.md)\], \]; +*** +

[$help.configSimple](../constructors/help.configSimple.md) = \['date' => [int](../types/int.md), 'expires' => [int](../types/int.md), 'rules' => \[[AccessPointRule](../types/AccessPointRule.md)\], \]; -[$help\_deepLinkInfo](../constructors/help_deepLinkInfo.md) = \['update_app' => [Bool](../types/Bool.md), 'message' => [string](../types/string.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], \]; +*** +

[$help.deepLinkInfo](../constructors/help.deepLinkInfo.md) = \['update_app' => [Bool](../types/Bool.md), 'message' => [string](../types/string.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], \]; -[$help\_deepLinkInfoEmpty](../constructors/help_deepLinkInfoEmpty.md) = \[\]; +*** +

[$help.deepLinkInfoEmpty](../constructors/help.deepLinkInfoEmpty.md) = \[\]; -[$help\_inviteText](../constructors/help_inviteText.md) = \['message' => [string](../types/string.md), \]; +*** +

[$help.inviteText](../constructors/help.inviteText.md) = \['message' => [string](../types/string.md), \]; -[$help\_noAppUpdate](../constructors/help_noAppUpdate.md) = \[\]; +*** +

[$help.noAppUpdate](../constructors/help.noAppUpdate.md) = \[\]; -[$help\_passportConfig](../constructors/help_passportConfig.md) = \['hash' => [int](../types/int.md), 'countries_langs' => [DataJSON](../types/DataJSON.md), \]; +*** +

[$help.passportConfig](../constructors/help.passportConfig.md) = \['hash' => [int](../types/int.md), 'countries_langs' => [DataJSON](../types/DataJSON.md), \]; -[$help\_passportConfigNotModified](../constructors/help_passportConfigNotModified.md) = \[\]; +*** +

[$help.passportConfigNotModified](../constructors/help.passportConfigNotModified.md) = \[\]; -[$help\_proxyDataEmpty](../constructors/help_proxyDataEmpty.md) = \['expires' => [int](../types/int.md), \]; +*** +

[$help.proxyDataEmpty](../constructors/help.proxyDataEmpty.md) = \['expires' => [int](../types/int.md), \]; -[$help\_proxyDataPromo](../constructors/help_proxyDataPromo.md) = \['expires' => [int](../types/int.md), 'peer' => [Peer](../types/Peer.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$help.proxyDataPromo](../constructors/help.proxyDataPromo.md) = \['expires' => [int](../types/int.md), 'peer' => [Peer](../types/Peer.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$help\_recentMeUrls](../constructors/help_recentMeUrls.md) = \['urls' => \[[RecentMeUrl](../types/RecentMeUrl.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$help.recentMeUrls](../constructors/help.recentMeUrls.md) = \['urls' => \[[RecentMeUrl](../types/RecentMeUrl.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$help\_support](../constructors/help_support.md) = \['phone_number' => [string](../types/string.md), 'user' => [User](../types/User.md), \]; +*** +

[$help.support](../constructors/help.support.md) = \['phone_number' => [string](../types/string.md), 'user' => [User](../types/User.md), \]; -[$help\_supportName](../constructors/help_supportName.md) = \['name' => [string](../types/string.md), \]; +*** +

[$help.supportName](../constructors/help.supportName.md) = \['name' => [string](../types/string.md), \]; -[$help\_termsOfService](../constructors/help_termsOfService.md) = \['popup' => [Bool](../types/Bool.md), 'id' => [DataJSON](../types/DataJSON.md), 'text' => [string](../types/string.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], 'min_age_confirm' => [int](../types/int.md), \]; +*** +

[$help.termsOfService](../constructors/help.termsOfService.md) = \['popup' => [Bool](../types/Bool.md), 'id' => [DataJSON](../types/DataJSON.md), 'text' => [string](../types/string.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], 'min_age_confirm' => [int](../types/int.md), \]; -[$help\_termsOfServiceUpdate](../constructors/help_termsOfServiceUpdate.md) = \['expires' => [int](../types/int.md), 'terms_of_service' => [help.TermsOfService](../types/help.TermsOfService.md), \]; +*** +

[$help.termsOfServiceUpdate](../constructors/help.termsOfServiceUpdate.md) = \['expires' => [int](../types/int.md), 'terms_of_service' => [help.TermsOfService](../types/help.TermsOfService.md), \]; -[$help\_termsOfServiceUpdateEmpty](../constructors/help_termsOfServiceUpdateEmpty.md) = \['expires' => [int](../types/int.md), \]; +*** +

[$help.termsOfServiceUpdateEmpty](../constructors/help.termsOfServiceUpdateEmpty.md) = \['expires' => [int](../types/int.md), \]; -[$help\_userInfo](../constructors/help_userInfo.md) = \['message' => [string](../types/string.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], 'author' => [string](../types/string.md), 'date' => [int](../types/int.md), \]; +*** +

[$help.userInfo](../constructors/help.userInfo.md) = \['message' => [string](../types/string.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], 'author' => [string](../types/string.md), 'date' => [int](../types/int.md), \]; -[$help\_userInfoEmpty](../constructors/help_userInfoEmpty.md) = \[\]; +*** +

[$help.userInfoEmpty](../constructors/help.userInfoEmpty.md) = \[\]; ***

[$highScore](../constructors/highScore.md) = \['pos' => [int](../types/int.md), 'user_id' => [int](../types/int.md), 'score' => [int](../types/int.md), \]; @@ -1182,87 +1234,127 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$messageService](../constructors/messageService.md) = \['out' => [Bool](../types/Bool.md), 'mentioned' => [Bool](../types/Bool.md), 'media_unread' => [Bool](../types/Bool.md), 'silent' => [Bool](../types/Bool.md), 'post' => [Bool](../types/Bool.md), 'legacy' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'from_id' => [int](../types/int.md), 'to_id' => [Peer](../types/Peer.md), 'reply_to_msg_id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'action' => [MessageAction](../types/MessageAction.md), \]; *** -

[$messages\_affectedHistory](../constructors/messages_affectedHistory.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), 'offset' => [int](../types/int.md), \]; +

[$messages.affectedHistory](../constructors/messages.affectedHistory.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), 'offset' => [int](../types/int.md), \]; -[$messages\_affectedMessages](../constructors/messages_affectedMessages.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; +*** +

[$messages.affectedMessages](../constructors/messages.affectedMessages.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; -[$messages\_allStickers](../constructors/messages_allStickers.md) = \['hash' => [int](../types/int.md), 'sets' => \[[StickerSet](../types/StickerSet.md)\], \]; +*** +

[$messages.allStickers](../constructors/messages.allStickers.md) = \['hash' => [int](../types/int.md), 'sets' => \[[StickerSet](../types/StickerSet.md)\], \]; -[$messages\_allStickersNotModified](../constructors/messages_allStickersNotModified.md) = \[\]; +*** +

[$messages.allStickersNotModified](../constructors/messages.allStickersNotModified.md) = \[\]; -[$messages\_archivedStickers](../constructors/messages_archivedStickers.md) = \['count' => [int](../types/int.md), 'sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], \]; +*** +

[$messages.archivedStickers](../constructors/messages.archivedStickers.md) = \['count' => [int](../types/int.md), 'sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], \]; -[$messages\_botCallbackAnswer](../constructors/messages_botCallbackAnswer.md) = \['alert' => [Bool](../types/Bool.md), 'has_url' => [Bool](../types/Bool.md), 'native_ui' => [Bool](../types/Bool.md), 'message' => [string](../types/string.md), 'url' => [string](../types/string.md), 'cache_time' => [int](../types/int.md), \]; +*** +

[$messages.botCallbackAnswer](../constructors/messages.botCallbackAnswer.md) = \['alert' => [Bool](../types/Bool.md), 'has_url' => [Bool](../types/Bool.md), 'native_ui' => [Bool](../types/Bool.md), 'message' => [string](../types/string.md), 'url' => [string](../types/string.md), 'cache_time' => [int](../types/int.md), \]; -[$messages\_botResults](../constructors/messages_botResults.md) = \['gallery' => [Bool](../types/Bool.md), 'query_id' => [long](../types/long.md), 'next_offset' => [string](../types/string.md), 'switch_pm' => [InlineBotSwitchPM](../types/InlineBotSwitchPM.md), 'results' => \[[BotInlineResult](../types/BotInlineResult.md)\], 'cache_time' => [int](../types/int.md), 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.botResults](../constructors/messages.botResults.md) = \['gallery' => [Bool](../types/Bool.md), 'query_id' => [long](../types/long.md), 'next_offset' => [string](../types/string.md), 'switch_pm' => [InlineBotSwitchPM](../types/InlineBotSwitchPM.md), 'results' => \[[BotInlineResult](../types/BotInlineResult.md)\], 'cache_time' => [int](../types/int.md), 'users' => \[[User](../types/User.md)\], \]; -[$messages\_channelMessages](../constructors/messages_channelMessages.md) = \['inexact' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.channelMessages](../constructors/messages.channelMessages.md) = \['inexact' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_chatFull](../constructors/messages_chatFull.md) = \['full_chat' => [ChatFull](../types/ChatFull.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.chatFull](../constructors/messages.chatFull.md) = \['full_chat' => [ChatFull](../types/ChatFull.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_chats](../constructors/messages_chats.md) = \['chats' => \[[Chat](../types/Chat.md)\], \]; +*** +

[$messages.chats](../constructors/messages.chats.md) = \['chats' => \[[Chat](../types/Chat.md)\], \]; -[$messages\_chatsSlice](../constructors/messages_chatsSlice.md) = \['count' => [int](../types/int.md), 'chats' => \[[Chat](../types/Chat.md)\], \]; +*** +

[$messages.chatsSlice](../constructors/messages.chatsSlice.md) = \['count' => [int](../types/int.md), 'chats' => \[[Chat](../types/Chat.md)\], \]; -[$messages\_dhConfig](../constructors/messages_dhConfig.md) = \['g' => [int](../types/int.md), 'p' => [bytes](../types/bytes.md), 'version' => [int](../types/int.md), 'random' => [bytes](../types/bytes.md), \]; +*** +

[$messages.dhConfig](../constructors/messages.dhConfig.md) = \['g' => [int](../types/int.md), 'p' => [bytes](../types/bytes.md), 'version' => [int](../types/int.md), 'random' => [bytes](../types/bytes.md), \]; -[$messages\_dhConfigNotModified](../constructors/messages_dhConfigNotModified.md) = \['random' => [bytes](../types/bytes.md), \]; +*** +

[$messages.dhConfigNotModified](../constructors/messages.dhConfigNotModified.md) = \['random' => [bytes](../types/bytes.md), \]; -[$messages\_dialogs](../constructors/messages_dialogs.md) = \['dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.dialogs](../constructors/messages.dialogs.md) = \['dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_dialogsNotModified](../constructors/messages_dialogsNotModified.md) = \['count' => [int](../types/int.md), \]; +*** +

[$messages.dialogsNotModified](../constructors/messages.dialogsNotModified.md) = \['count' => [int](../types/int.md), \]; -[$messages\_dialogsSlice](../constructors/messages_dialogsSlice.md) = \['count' => [int](../types/int.md), 'dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.dialogsSlice](../constructors/messages.dialogsSlice.md) = \['count' => [int](../types/int.md), 'dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_favedStickers](../constructors/messages_favedStickers.md) = \['hash' => [int](../types/int.md), 'packs' => \[[StickerPack](../types/StickerPack.md)\], 'stickers' => \[[Document](../types/Document.md)\], \]; +*** +

[$messages.favedStickers](../constructors/messages.favedStickers.md) = \['hash' => [int](../types/int.md), 'packs' => \[[StickerPack](../types/StickerPack.md)\], 'stickers' => \[[Document](../types/Document.md)\], \]; -[$messages\_favedStickersNotModified](../constructors/messages_favedStickersNotModified.md) = \[\]; +*** +

[$messages.favedStickersNotModified](../constructors/messages.favedStickersNotModified.md) = \[\]; -[$messages\_featuredStickers](../constructors/messages_featuredStickers.md) = \['hash' => [int](../types/int.md), 'sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], 'unread' => \[[long](../types/long.md)\], \]; +*** +

[$messages.featuredStickers](../constructors/messages.featuredStickers.md) = \['hash' => [int](../types/int.md), 'sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], 'unread' => \[[long](../types/long.md)\], \]; -[$messages\_featuredStickersNotModified](../constructors/messages_featuredStickersNotModified.md) = \[\]; +*** +

[$messages.featuredStickersNotModified](../constructors/messages.featuredStickersNotModified.md) = \[\]; -[$messages\_foundGifs](../constructors/messages_foundGifs.md) = \['next_offset' => [int](../types/int.md), 'results' => \[[FoundGif](../types/FoundGif.md)\], \]; +*** +

[$messages.foundGifs](../constructors/messages.foundGifs.md) = \['next_offset' => [int](../types/int.md), 'results' => \[[FoundGif](../types/FoundGif.md)\], \]; -[$messages\_foundStickerSets](../constructors/messages_foundStickerSets.md) = \['hash' => [int](../types/int.md), 'sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], \]; +*** +

[$messages.foundStickerSets](../constructors/messages.foundStickerSets.md) = \['hash' => [int](../types/int.md), 'sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], \]; -[$messages\_foundStickerSetsNotModified](../constructors/messages_foundStickerSetsNotModified.md) = \[\]; +*** +

[$messages.foundStickerSetsNotModified](../constructors/messages.foundStickerSetsNotModified.md) = \[\]; -[$messages\_highScores](../constructors/messages_highScores.md) = \['scores' => \[[HighScore](../types/HighScore.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.highScores](../constructors/messages.highScores.md) = \['scores' => \[[HighScore](../types/HighScore.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_messageEditData](../constructors/messages_messageEditData.md) = \['caption' => [Bool](../types/Bool.md), \]; +*** +

[$messages.messageEditData](../constructors/messages.messageEditData.md) = \['caption' => [Bool](../types/Bool.md), \]; -[$messages\_messages](../constructors/messages_messages.md) = \['messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.messages](../constructors/messages.messages.md) = \['messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_messagesNotModified](../constructors/messages_messagesNotModified.md) = \['count' => [int](../types/int.md), \]; +*** +

[$messages.messagesNotModified](../constructors/messages.messagesNotModified.md) = \['count' => [int](../types/int.md), \]; -[$messages\_messagesSlice](../constructors/messages_messagesSlice.md) = \['inexact' => [Bool](../types/Bool.md), 'count' => [int](../types/int.md), 'next_rate' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.messagesSlice](../constructors/messages.messagesSlice.md) = \['inexact' => [Bool](../types/Bool.md), 'count' => [int](../types/int.md), 'next_rate' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_peerDialogs](../constructors/messages_peerDialogs.md) = \['dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'state' => [updates.State](../types/updates.State.md), \]; +*** +

[$messages.peerDialogs](../constructors/messages.peerDialogs.md) = \['dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'state' => [updates.State](../types/updates.State.md), \]; -[$messages\_recentStickers](../constructors/messages_recentStickers.md) = \['hash' => [int](../types/int.md), 'packs' => \[[StickerPack](../types/StickerPack.md)\], 'stickers' => \[[Document](../types/Document.md)\], 'dates' => \[[int](../types/int.md)\], \]; +*** +

[$messages.recentStickers](../constructors/messages.recentStickers.md) = \['hash' => [int](../types/int.md), 'packs' => \[[StickerPack](../types/StickerPack.md)\], 'stickers' => \[[Document](../types/Document.md)\], 'dates' => \[[int](../types/int.md)\], \]; -[$messages\_recentStickersNotModified](../constructors/messages_recentStickersNotModified.md) = \[\]; +*** +

[$messages.recentStickersNotModified](../constructors/messages.recentStickersNotModified.md) = \[\]; -[$messages\_savedGifs](../constructors/messages_savedGifs.md) = \['hash' => [int](../types/int.md), 'gifs' => \[[Document](../types/Document.md)\], \]; +*** +

[$messages.savedGifs](../constructors/messages.savedGifs.md) = \['hash' => [int](../types/int.md), 'gifs' => \[[Document](../types/Document.md)\], \]; -[$messages\_savedGifsNotModified](../constructors/messages_savedGifsNotModified.md) = \[\]; +*** +

[$messages.savedGifsNotModified](../constructors/messages.savedGifsNotModified.md) = \[\]; -[$messages\_searchCounter](../constructors/messages_searchCounter.md) = \['inexact' => [Bool](../types/Bool.md), 'filter' => [MessagesFilter](../types/MessagesFilter.md), 'count' => [int](../types/int.md), \]; +*** +

[$messages.searchCounter](../constructors/messages.searchCounter.md) = \['inexact' => [Bool](../types/Bool.md), 'filter' => [MessagesFilter](../types/MessagesFilter.md), 'count' => [int](../types/int.md), \]; -[$messages\_sentEncryptedFile](../constructors/messages_sentEncryptedFile.md) = \['date' => [int](../types/int.md), 'file' => [EncryptedFile](../types/EncryptedFile.md), \]; +*** +

[$messages.sentEncryptedFile](../constructors/messages.sentEncryptedFile.md) = \['date' => [int](../types/int.md), 'file' => [EncryptedFile](../types/EncryptedFile.md), \]; -[$messages\_sentEncryptedMessage](../constructors/messages_sentEncryptedMessage.md) = \['date' => [int](../types/int.md), \]; +*** +

[$messages.sentEncryptedMessage](../constructors/messages.sentEncryptedMessage.md) = \['date' => [int](../types/int.md), \]; -[$messages\_stickerSet](../constructors/messages_stickerSet.md) = \['set' => [StickerSet](../types/StickerSet.md), 'packs' => \[[StickerPack](../types/StickerPack.md)\], 'documents' => \[[Document](../types/Document.md)\], \]; +*** +

[$messages.stickerSet](../constructors/messages.stickerSet.md) = \['set' => [StickerSet](../types/StickerSet.md), 'packs' => \[[StickerPack](../types/StickerPack.md)\], 'documents' => \[[Document](../types/Document.md)\], \]; -[$messages\_stickerSetInstallResultArchive](../constructors/messages_stickerSetInstallResultArchive.md) = \['sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], \]; +*** +

[$messages.stickerSetInstallResultArchive](../constructors/messages.stickerSetInstallResultArchive.md) = \['sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], \]; -[$messages\_stickerSetInstallResultSuccess](../constructors/messages_stickerSetInstallResultSuccess.md) = \[\]; +*** +

[$messages.stickerSetInstallResultSuccess](../constructors/messages.stickerSetInstallResultSuccess.md) = \[\]; -[$messages\_stickers](../constructors/messages_stickers.md) = \['hash' => [int](../types/int.md), 'stickers' => \[[Document](../types/Document.md)\], \]; +*** +

[$messages.stickers](../constructors/messages.stickers.md) = \['hash' => [int](../types/int.md), 'stickers' => \[[Document](../types/Document.md)\], \]; -[$messages\_stickersNotModified](../constructors/messages_stickersNotModified.md) = \[\]; +*** +

[$messages.stickersNotModified](../constructors/messages.stickersNotModified.md) = \[\]; ***

[$nearestDc](../constructors/nearestDc.md) = \['country' => [string](../types/string.md), 'this_dc' => [int](../types/int.md), 'nearest_dc' => [int](../types/int.md), \]; @@ -1412,17 +1504,22 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$paymentSavedCredentialsCard](../constructors/paymentSavedCredentialsCard.md) = \['id' => [string](../types/string.md), 'title' => [string](../types/string.md), \]; *** -

[$payments\_paymentForm](../constructors/payments_paymentForm.md) = \['can_save_credentials' => [Bool](../types/Bool.md), 'password_missing' => [Bool](../types/Bool.md), 'bot_id' => [int](../types/int.md), 'invoice' => [Invoice](../types/Invoice.md), 'provider_id' => [int](../types/int.md), 'url' => [string](../types/string.md), 'native_provider' => [string](../types/string.md), 'native_params' => [DataJSON](../types/DataJSON.md), 'saved_info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), 'saved_credentials' => [PaymentSavedCredentials](../types/PaymentSavedCredentials.md), 'users' => \[[User](../types/User.md)\], \]; +

[$payments.paymentForm](../constructors/payments.paymentForm.md) = \['can_save_credentials' => [Bool](../types/Bool.md), 'password_missing' => [Bool](../types/Bool.md), 'bot_id' => [int](../types/int.md), 'invoice' => [Invoice](../types/Invoice.md), 'provider_id' => [int](../types/int.md), 'url' => [string](../types/string.md), 'native_provider' => [string](../types/string.md), 'native_params' => [DataJSON](../types/DataJSON.md), 'saved_info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), 'saved_credentials' => [PaymentSavedCredentials](../types/PaymentSavedCredentials.md), 'users' => \[[User](../types/User.md)\], \]; -[$payments\_paymentReceipt](../constructors/payments_paymentReceipt.md) = \['date' => [int](../types/int.md), 'bot_id' => [int](../types/int.md), 'invoice' => [Invoice](../types/Invoice.md), 'provider_id' => [int](../types/int.md), 'info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), 'shipping' => [ShippingOption](../types/ShippingOption.md), 'currency' => [string](../types/string.md), 'total_amount' => [long](../types/long.md), 'credentials_title' => [string](../types/string.md), 'users' => \[[User](../types/User.md)\], \]; +*** +

[$payments.paymentReceipt](../constructors/payments.paymentReceipt.md) = \['date' => [int](../types/int.md), 'bot_id' => [int](../types/int.md), 'invoice' => [Invoice](../types/Invoice.md), 'provider_id' => [int](../types/int.md), 'info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), 'shipping' => [ShippingOption](../types/ShippingOption.md), 'currency' => [string](../types/string.md), 'total_amount' => [long](../types/long.md), 'credentials_title' => [string](../types/string.md), 'users' => \[[User](../types/User.md)\], \]; -[$payments\_paymentResult](../constructors/payments_paymentResult.md) = \['updates' => [Updates](../types/Updates.md), \]; +*** +

[$payments.paymentResult](../constructors/payments.paymentResult.md) = \['updates' => [Updates](../types/Updates.md), \]; -[$payments\_paymentVerficationNeeded](../constructors/payments_paymentVerficationNeeded.md) = \['url' => [string](../types/string.md), \]; +*** +

[$payments.paymentVerficationNeeded](../constructors/payments.paymentVerficationNeeded.md) = \['url' => [string](../types/string.md), \]; -[$payments\_savedInfo](../constructors/payments_savedInfo.md) = \['has_saved_credentials' => [Bool](../types/Bool.md), 'saved_info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), \]; +*** +

[$payments.savedInfo](../constructors/payments.savedInfo.md) = \['has_saved_credentials' => [Bool](../types/Bool.md), 'saved_info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), \]; -[$payments\_validatedRequestedInfo](../constructors/payments_validatedRequestedInfo.md) = \['id' => [string](../types/string.md), 'shipping_options' => \[[ShippingOption](../types/ShippingOption.md)\], \]; +*** +

[$payments.validatedRequestedInfo](../constructors/payments.validatedRequestedInfo.md) = \['id' => [string](../types/string.md), 'shipping_options' => \[[ShippingOption](../types/ShippingOption.md)\], \]; ***

[$peerChannel](../constructors/peerChannel.md) = \['channel_id' => [int](../types/int.md), \]; @@ -1442,6 +1539,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ***

[$peerUser](../constructors/peerUser.md) = \['user_id' => [int](../types/int.md), \]; +*** +

[$phone.phoneCall](../constructors/phone.phoneCall.md) = \['phone_call' => [PhoneCall](../types/PhoneCall.md), 'users' => \[[User](../types/User.md)\], \]; + ***

[$phoneCall](../constructors/phoneCall.md) = \['p2p_allowed' => [Bool](../types/Bool.md), 'id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'date' => [int](../types/int.md), 'admin_id' => [int](../types/int.md), 'participant_id' => [int](../types/int.md), 'g_a_or_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), 'connections' => \[[PhoneConnection](../types/PhoneConnection.md)\], 'start_date' => [int](../types/int.md), \]; @@ -1478,9 +1578,6 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ***

[$phoneConnection](../constructors/phoneConnection.md) = \['id' => [long](../types/long.md), 'ip' => [string](../types/string.md), 'ipv6' => [string](../types/string.md), 'port' => [int](../types/int.md), 'peer_tag' => [bytes](../types/bytes.md), \]; -*** -

[$phone\_phoneCall](../constructors/phone_phoneCall.md) = \['phone_call' => [PhoneCall](../types/PhoneCall.md), 'users' => \[[User](../types/User.md)\], \]; - ***

[$photo](../constructors/photo.md) = \['has_stickers' => [Bool](../types/Bool.md), 'id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'file_reference' => [bytes](../types/bytes.md), 'date' => [int](../types/int.md), 'sizes' => \[[PhotoSize](../types/PhotoSize.md)\], 'dc_id' => [int](../types/int.md), \]; @@ -1500,11 +1597,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$photoStrippedSize](../constructors/photoStrippedSize.md) = \['type' => [string](../types/string.md), 'bytes' => [bytes](../types/bytes.md), \]; *** -

[$photos\_photo](../constructors/photos_photo.md) = \['photo' => [Photo](../types/Photo.md), 'users' => \[[User](../types/User.md)\], \]; +

[$photos.photo](../constructors/photos.photo.md) = \['photo' => [Photo](../types/Photo.md), 'users' => \[[User](../types/User.md)\], \]; -[$photos\_photos](../constructors/photos_photos.md) = \['photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$photos.photos](../constructors/photos.photos.md) = \['photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$photos\_photosSlice](../constructors/photos_photosSlice.md) = \['count' => [int](../types/int.md), 'photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$photos.photosSlice](../constructors/photos.photosSlice.md) = \['count' => [int](../types/int.md), 'photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; ***

[$poll](../constructors/poll.md) = \['id' => [long](../types/long.md), 'closed' => [Bool](../types/Bool.md), 'question' => [string](../types/string.md), 'answers' => \[[PollAnswer](../types/PollAnswer.md)\], \]; @@ -1768,25 +1867,34 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$stickerSetMultiCovered](../constructors/stickerSetMultiCovered.md) = \['set' => [StickerSet](../types/StickerSet.md), 'covers' => \[[Document](../types/Document.md)\], \]; *** -

[$storage\_fileGif](../constructors/storage_fileGif.md) = \[\]; +

[$storage.fileGif](../constructors/storage.fileGif.md) = \[\]; -[$storage\_fileJpeg](../constructors/storage_fileJpeg.md) = \[\]; +*** +

[$storage.fileJpeg](../constructors/storage.fileJpeg.md) = \[\]; -[$storage\_fileMov](../constructors/storage_fileMov.md) = \[\]; +*** +

[$storage.fileMov](../constructors/storage.fileMov.md) = \[\]; -[$storage\_fileMp3](../constructors/storage_fileMp3.md) = \[\]; +*** +

[$storage.fileMp3](../constructors/storage.fileMp3.md) = \[\]; -[$storage\_fileMp4](../constructors/storage_fileMp4.md) = \[\]; +*** +

[$storage.fileMp4](../constructors/storage.fileMp4.md) = \[\]; -[$storage\_filePartial](../constructors/storage_filePartial.md) = \[\]; +*** +

[$storage.filePartial](../constructors/storage.filePartial.md) = \[\]; -[$storage\_filePdf](../constructors/storage_filePdf.md) = \[\]; +*** +

[$storage.filePdf](../constructors/storage.filePdf.md) = \[\]; -[$storage\_filePng](../constructors/storage_filePng.md) = \[\]; +*** +

[$storage.filePng](../constructors/storage.filePng.md) = \[\]; -[$storage\_fileUnknown](../constructors/storage_fileUnknown.md) = \[\]; +*** +

[$storage.fileUnknown](../constructors/storage.fileUnknown.md) = \[\]; -[$storage\_fileWebp](../constructors/storage_fileWebp.md) = \[\]; +*** +

[$storage.fileWebp](../constructors/storage.fileWebp.md) = \[\]; ***

[$textAnchor](../constructors/textAnchor.md) = \['text' => [RichText](../types/RichText.md), 'name' => [string](../types/string.md), \]; @@ -2097,6 +2205,30 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ***

[$updates](../constructors/updates.md) = \['updates' => \[[Update](../types/Update.md)\], 'users' => \[[User](../types/User.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'date' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; +*** +

[$updates.channelDifference](../constructors/updates.channelDifference.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), 'new_messages' => \[[Message](../types/Message.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +*** +

[$updates.channelDifferenceEmpty](../constructors/updates.channelDifferenceEmpty.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), \]; + +*** +

[$updates.channelDifferenceTooLong](../constructors/updates.channelDifferenceTooLong.md) = \['final' => [Bool](../types/Bool.md), 'timeout' => [int](../types/int.md), 'dialog' => [Dialog](../types/Dialog.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +*** +

[$updates.difference](../constructors/updates.difference.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'state' => [updates.State](../types/updates.State.md), \]; + +*** +

[$updates.differenceEmpty](../constructors/updates.differenceEmpty.md) = \['date' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; + +*** +

[$updates.differenceSlice](../constructors/updates.differenceSlice.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'intermediate_state' => [updates.State](../types/updates.State.md), \]; + +*** +

[$updates.differenceTooLong](../constructors/updates.differenceTooLong.md) = \['pts' => [int](../types/int.md), \]; + +*** +

[$updates.state](../constructors/updates.state.md) = \['pts' => [int](../types/int.md), 'qts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'seq' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), \]; + ***

[$updatesCombined](../constructors/updatesCombined.md) = \['updates' => \[[Update](../types/Update.md)\], 'users' => \[[User](../types/User.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'date' => [int](../types/int.md), 'seq_start' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; @@ -2104,32 +2236,19 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$updatesTooLong](../constructors/updatesTooLong.md) = \[\]; *** -

[$updates\_channelDifference](../constructors/updates_channelDifference.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), 'new_messages' => \[[Message](../types/Message.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; - -[$updates\_channelDifferenceEmpty](../constructors/updates_channelDifferenceEmpty.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), \]; - -[$updates\_channelDifferenceTooLong](../constructors/updates_channelDifferenceTooLong.md) = \['final' => [Bool](../types/Bool.md), 'timeout' => [int](../types/int.md), 'dialog' => [Dialog](../types/Dialog.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; - -[$updates\_difference](../constructors/updates_difference.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'state' => [updates.State](../types/updates.State.md), \]; - -[$updates\_differenceEmpty](../constructors/updates_differenceEmpty.md) = \['date' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; - -[$updates\_differenceSlice](../constructors/updates_differenceSlice.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'intermediate_state' => [updates.State](../types/updates.State.md), \]; - -[$updates\_differenceTooLong](../constructors/updates_differenceTooLong.md) = \['pts' => [int](../types/int.md), \]; - -[$updates\_state](../constructors/updates_state.md) = \['pts' => [int](../types/int.md), 'qts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'seq' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), \]; +

[$upload.cdnFile](../constructors/upload.cdnFile.md) = \['bytes' => [bytes](../types/bytes.md), \]; *** -

[$upload\_cdnFile](../constructors/upload_cdnFile.md) = \['bytes' => [bytes](../types/bytes.md), \]; +

[$upload.cdnFileReuploadNeeded](../constructors/upload.cdnFileReuploadNeeded.md) = \['request_token' => [bytes](../types/bytes.md), \]; -[$upload\_cdnFileReuploadNeeded](../constructors/upload_cdnFileReuploadNeeded.md) = \['request_token' => [bytes](../types/bytes.md), \]; +*** +

[$upload.file](../constructors/upload.file.md) = \['type' => [storage.FileType](../types/storage.FileType.md), 'mtime' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; -[$upload\_file](../constructors/upload_file.md) = \['type' => [storage.FileType](../types/storage.FileType.md), 'mtime' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; +*** +

[$upload.fileCdnRedirect](../constructors/upload.fileCdnRedirect.md) = \['dc_id' => [int](../types/int.md), 'file_token' => [bytes](../types/bytes.md), 'encryption_key' => [bytes](../types/bytes.md), 'encryption_iv' => [bytes](../types/bytes.md), 'file_hashes' => \[[FileHash](../types/FileHash.md)\], \]; -[$upload\_fileCdnRedirect](../constructors/upload_fileCdnRedirect.md) = \['dc_id' => [int](../types/int.md), 'file_token' => [bytes](../types/bytes.md), 'encryption_key' => [bytes](../types/bytes.md), 'encryption_iv' => [bytes](../types/bytes.md), 'file_hashes' => \[[FileHash](../types/FileHash.md)\], \]; - -[$upload\_webFile](../constructors/upload_webFile.md) = \['size' => [int](../types/int.md), 'mime_type' => [string](../types/string.md), 'file_type' => [storage.FileType](../types/storage.FileType.md), 'mtime' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; +*** +

[$upload.webFile](../constructors/upload.webFile.md) = \['size' => [int](../types/int.md), 'mime_type' => [string](../types/string.md), 'file_type' => [storage.FileType](../types/storage.FileType.md), 'mtime' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; ***

[$urlAuthResultAccepted](../constructors/urlAuthResultAccepted.md) = \['url' => [string](../types/string.md), \]; diff --git a/old_docs/API_docs_v103/constructors/account.authorizationForm.md b/old_docs/API_docs_v103/constructors/account.authorizationForm.md new file mode 100644 index 00000000..175276bf --- /dev/null +++ b/old_docs/API_docs_v103/constructors/account.authorizationForm.md @@ -0,0 +1,42 @@ +--- +title: account.authorizationForm +description: [Telegram Passport](https://core.telegram.org/passport) authorization form +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.authorizationForm +[Back to constructors index](index.md) + + + +[Telegram Passport](https://core.telegram.org/passport) authorization form + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|required\_types|Array of [SecureRequiredType](../types/SecureRequiredType.md) | Yes|Required types| +|values|Array of [SecureValue](../types/SecureValue.md) | Yes|Values| +|errors|Array of [SecureValueError](../types/SecureValueError.md) | Yes|Errors| +|users|Array of [User](../types/User.md) | Yes|Users| +|privacy\_policy\_url|[string](../types/string.md) | Optional|URL of the service's privacy policy| + + + +### Type: [account.AuthorizationForm](../types/account.AuthorizationForm.md) + + +### Example: + +```php +$account.authorizationForm = ['_' => 'account.authorizationForm', 'required_types' => [SecureRequiredType, SecureRequiredType], 'values' => [SecureValue, SecureValue], 'errors' => [SecureValueError, SecureValueError], 'users' => [User, User], 'privacy_policy_url' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +account.authorizationForm={_='account.authorizationForm', required_types={SecureRequiredType}, values={SecureValue}, errors={SecureValueError}, users={User}, privacy_policy_url='string'} + +``` + + diff --git a/old_docs/API_docs_v103/constructors/account.authorizations.md b/old_docs/API_docs_v103/constructors/account.authorizations.md new file mode 100644 index 00000000..53c961f0 --- /dev/null +++ b/old_docs/API_docs_v103/constructors/account.authorizations.md @@ -0,0 +1,38 @@ +--- +title: account.authorizations +description: Logged-in sessions +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.authorizations +[Back to constructors index](index.md) + + + +Logged-in sessions + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|authorizations|Array of [Authorization](../types/Authorization.md) | Yes|Authorizations| + + + +### Type: [account.Authorizations](../types/account.Authorizations.md) + + +### Example: + +```php +$account.authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization, Authorization]]; +``` + + +Or, if you're into Lua: + +```lua +account.authorizations={_='account.authorizations', authorizations={Authorization}} + +``` + + diff --git a/old_docs/API_docs_v103/constructors/account.autoDownloadSettings.md b/old_docs/API_docs_v103/constructors/account.autoDownloadSettings.md new file mode 100644 index 00000000..fa06f6a6 --- /dev/null +++ b/old_docs/API_docs_v103/constructors/account.autoDownloadSettings.md @@ -0,0 +1,40 @@ +--- +title: account.autoDownloadSettings +description: Media autodownload settings +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.autoDownloadSettings +[Back to constructors index](index.md) + + + +Media autodownload settings + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|low|[AutoDownloadSettings](../types/AutoDownloadSettings.md) | Yes|Low data usage preset| +|medium|[AutoDownloadSettings](../types/AutoDownloadSettings.md) | Yes|Medium data usage preset| +|high|[AutoDownloadSettings](../types/AutoDownloadSettings.md) | Yes|High data usage preset| + + + +### Type: [account.AutoDownloadSettings](../types/account.AutoDownloadSettings.md) + + +### Example: + +```php +$account.autoDownloadSettings = ['_' => 'account.autoDownloadSettings', 'low' => AutoDownloadSettings, 'medium' => AutoDownloadSettings, 'high' => AutoDownloadSettings]; +``` + + +Or, if you're into Lua: + +```lua +account.autoDownloadSettings={_='account.autoDownloadSettings', low=AutoDownloadSettings, medium=AutoDownloadSettings, high=AutoDownloadSettings} + +``` + + diff --git a/old_docs/API_docs_v103/constructors/account.password.md b/old_docs/API_docs_v103/constructors/account.password.md new file mode 100644 index 00000000..b6ad79db --- /dev/null +++ b/old_docs/API_docs_v103/constructors/account.password.md @@ -0,0 +1,48 @@ +--- +title: account.password +description: Configuration for two-factor authorization +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.password +[Back to constructors index](index.md) + + + +Configuration for two-factor authorization + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|has\_recovery|[Bool](../types/Bool.md) | Optional|Whether the user has a recovery method configured| +|has\_secure\_values|[Bool](../types/Bool.md) | Optional|Whether telegram [passport](https://core.telegram.org/passport) is enabled| +|has\_password|[Bool](../types/Bool.md) | Optional|Whether the user has a password| +|current\_algo|[PasswordKdfAlgo](../types/PasswordKdfAlgo.md) | Optional|The [KDF algorithm for SRP two-factor authentication](https://core.telegram.org/api/srp) of the current password| +|srp\_B|[bytes](../types/bytes.md) | Optional|Srp B param for [SRP authorization](https://core.telegram.org/api/srp)| +|srp\_id|[long](../types/long.md) | Optional|Srp ID param for [SRP authorization](https://core.telegram.org/api/srp)| +|hint|[string](../types/string.md) | Optional|Text hint for the password| +|email\_unconfirmed\_pattern|[string](../types/string.md) | Optional|A [password recovery email](https://core.telegram.org/api/srp#email-verification) with the specified [pattern](https://core.telegram.org/api/pattern) is still awaiting verification| +|new\_algo|[PasswordKdfAlgo](../types/PasswordKdfAlgo.md) | Yes|The [KDF algorithm for SRP two-factor authentication](https://core.telegram.org/api/srp) to use when creating new passwords| +|new\_secure\_algo|[SecurePasswordKdfAlgo](../types/SecurePasswordKdfAlgo.md) | Yes|The KDF algorithm for telegram [passport](https://core.telegram.org/passport)| +|secure\_random|[bytes](../types/bytes.md) | Yes|Secure random string| + + + +### Type: [account.Password](../types/account.Password.md) + + +### Example: + +```php +$account.password = ['_' => 'account.password', 'has_recovery' => Bool, 'has_secure_values' => Bool, 'has_password' => Bool, 'current_algo' => PasswordKdfAlgo, 'srp_B' => 'bytes', 'srp_id' => long, 'hint' => 'string', 'email_unconfirmed_pattern' => 'string', 'new_algo' => PasswordKdfAlgo, 'new_secure_algo' => SecurePasswordKdfAlgo, 'secure_random' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +account.password={_='account.password', has_recovery=Bool, has_secure_values=Bool, has_password=Bool, current_algo=PasswordKdfAlgo, srp_B='bytes', srp_id=long, hint='string', email_unconfirmed_pattern='string', new_algo=PasswordKdfAlgo, new_secure_algo=SecurePasswordKdfAlgo, secure_random='bytes'} + +``` + + diff --git a/old_docs/API_docs_v103/constructors/account.passwordInputSettings.md b/old_docs/API_docs_v103/constructors/account.passwordInputSettings.md new file mode 100644 index 00000000..f55837c8 --- /dev/null +++ b/old_docs/API_docs_v103/constructors/account.passwordInputSettings.md @@ -0,0 +1,42 @@ +--- +title: account.passwordInputSettings +description: Settings for setting up a new password +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.passwordInputSettings +[Back to constructors index](index.md) + + + +Settings for setting up a new password + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|new\_algo|[PasswordKdfAlgo](../types/PasswordKdfAlgo.md) | Optional|The [SRP algorithm](https://core.telegram.org/api/srp) to use| +|new\_password\_hash|[bytes](../types/bytes.md) | Optional|The [computed password hash](https://core.telegram.org/api/srp)| +|hint|[string](../types/string.md) | Optional|Text hint for the password| +|email|[string](../types/string.md) | Optional|Password recovery email| +|new\_secure\_settings|[SecureSecretSettings](../types/SecureSecretSettings.md) | Optional|Telegram [passport](https://core.telegram.org/passport) settings| + + + +### Type: [account.PasswordInputSettings](../types/account.PasswordInputSettings.md) + + +### Example: + +```php +$account.passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_algo' => PasswordKdfAlgo, 'new_password_hash' => 'bytes', 'hint' => 'string', 'email' => 'string', 'new_secure_settings' => SecureSecretSettings]; +``` + + +Or, if you're into Lua: + +```lua +account.passwordInputSettings={_='account.passwordInputSettings', new_algo=PasswordKdfAlgo, new_password_hash='bytes', hint='string', email='string', new_secure_settings=SecureSecretSettings} + +``` + + diff --git a/old_docs/API_docs_v103/constructors/account.passwordSettings.md b/old_docs/API_docs_v103/constructors/account.passwordSettings.md new file mode 100644 index 00000000..ab81079e --- /dev/null +++ b/old_docs/API_docs_v103/constructors/account.passwordSettings.md @@ -0,0 +1,39 @@ +--- +title: account.passwordSettings +description: Private info associated to the password info (recovery email, telegram [passport](https://core.telegram.org/passport) info & so on) +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.passwordSettings +[Back to constructors index](index.md) + + + +Private info associated to the password info (recovery email, telegram [passport](https://core.telegram.org/passport) info & so on) + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|email|[string](../types/string.md) | Optional|[2FA Recovery email](https://core.telegram.org/api/srp#email-verification)| +|secure\_settings|[SecureSecretSettings](../types/SecureSecretSettings.md) | Optional|Telegram [passport](https://core.telegram.org/passport) settings| + + + +### Type: [account.PasswordSettings](../types/account.PasswordSettings.md) + + +### Example: + +```php +$account.passwordSettings = ['_' => 'account.passwordSettings', 'email' => 'string', 'secure_settings' => SecureSecretSettings]; +``` + + +Or, if you're into Lua: + +```lua +account.passwordSettings={_='account.passwordSettings', email='string', secure_settings=SecureSecretSettings} + +``` + + diff --git a/old_docs/API_docs_v103/constructors/account.privacyRules.md b/old_docs/API_docs_v103/constructors/account.privacyRules.md new file mode 100644 index 00000000..6f83247a --- /dev/null +++ b/old_docs/API_docs_v103/constructors/account.privacyRules.md @@ -0,0 +1,40 @@ +--- +title: account.privacyRules +description: Privacy rules +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.privacyRules +[Back to constructors index](index.md) + + + +Privacy rules + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|rules|Array of [PrivacyRule](../types/PrivacyRule.md) | Yes|Rules| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats allowed?| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [account.PrivacyRules](../types/account.PrivacyRules.md) + + +### Example: + +```php +$account.privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule, PrivacyRule], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +account.privacyRules={_='account.privacyRules', rules={PrivacyRule}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v103/constructors/account.sentEmailCode.md b/old_docs/API_docs_v103/constructors/account.sentEmailCode.md new file mode 100644 index 00000000..c4c30275 --- /dev/null +++ b/old_docs/API_docs_v103/constructors/account.sentEmailCode.md @@ -0,0 +1,39 @@ +--- +title: account.sentEmailCode +description: The sent email code +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.sentEmailCode +[Back to constructors index](index.md) + + + +The sent email code + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|email\_pattern|[string](../types/string.md) | Yes|The email (to which the code was sent) must match this [pattern](https://core.telegram.org/api/pattern)| +|length|[int](../types/int.md) | Yes|The length of the verification code| + + + +### Type: [account.SentEmailCode](../types/account.SentEmailCode.md) + + +### Example: + +```php +$account.sentEmailCode = ['_' => 'account.sentEmailCode', 'email_pattern' => 'string', 'length' => int]; +``` + + +Or, if you're into Lua: + +```lua +account.sentEmailCode={_='account.sentEmailCode', email_pattern='string', length=int} + +``` + + diff --git a/old_docs/API_docs_v103/constructors/account.takeout.md b/old_docs/API_docs_v103/constructors/account.takeout.md new file mode 100644 index 00000000..1aca6c70 --- /dev/null +++ b/old_docs/API_docs_v103/constructors/account.takeout.md @@ -0,0 +1,38 @@ +--- +title: account.takeout +description: Takout info +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.takeout +[Back to constructors index](index.md) + + + +Takout info + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|id|[long](../types/long.md) | Yes|Takeout ID| + + + +### Type: [account.Takeout](../types/account.Takeout.md) + + +### Example: + +```php +$account.takeout = ['_' => 'account.takeout', 'id' => long]; +``` + + +Or, if you're into Lua: + +```lua +account.takeout={_='account.takeout', id=long} + +``` + + diff --git a/old_docs/API_docs_v103/constructors/account.tmpPassword.md b/old_docs/API_docs_v103/constructors/account.tmpPassword.md new file mode 100644 index 00000000..996548c4 --- /dev/null +++ b/old_docs/API_docs_v103/constructors/account.tmpPassword.md @@ -0,0 +1,39 @@ +--- +title: account.tmpPassword +description: Temporary payment password +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.tmpPassword +[Back to constructors index](index.md) + + + +Temporary payment password + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|tmp\_password|[bytes](../types/bytes.md) | Yes|Temporary password| +|valid\_until|[int](../types/int.md) | Yes|Validity period| + + + +### Type: [account.TmpPassword](../types/account.TmpPassword.md) + + +### Example: + +```php +$account.tmpPassword = ['_' => 'account.tmpPassword', 'tmp_password' => 'bytes', 'valid_until' => int]; +``` + + +Or, if you're into Lua: + +```lua +account.tmpPassword={_='account.tmpPassword', tmp_password='bytes', valid_until=int} + +``` + + diff --git a/old_docs/API_docs_v103/constructors/account.wallPapers.md b/old_docs/API_docs_v103/constructors/account.wallPapers.md new file mode 100644 index 00000000..c73f9dd3 --- /dev/null +++ b/old_docs/API_docs_v103/constructors/account.wallPapers.md @@ -0,0 +1,39 @@ +--- +title: account.wallPapers +description: Installed wallpapers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.wallPapers +[Back to constructors index](index.md) + + + +Installed wallpapers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|wallpapers|Array of [WallPaper](../types/WallPaper.md) | Yes|Wallpapers| + + + +### Type: [account.WallPapers](../types/account.WallPapers.md) + + +### Example: + +```php +$account.wallPapers = ['_' => 'account.wallPapers', 'hash' => int, 'wallpapers' => [WallPaper, WallPaper]]; +``` + + +Or, if you're into Lua: + +```lua +account.wallPapers={_='account.wallPapers', hash=int, wallpapers={WallPaper}} + +``` + + diff --git a/old_docs/API_docs_v103/constructors/account.wallPapersNotModified.md b/old_docs/API_docs_v103/constructors/account.wallPapersNotModified.md new file mode 100644 index 00000000..209233d7 --- /dev/null +++ b/old_docs/API_docs_v103/constructors/account.wallPapersNotModified.md @@ -0,0 +1,33 @@ +--- +title: account.wallPapersNotModified +description: No new wallpapers were found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.wallPapersNotModified +[Back to constructors index](index.md) + + + +No new wallpapers were found + + + + +### Type: [account.WallPapers](../types/account.WallPapers.md) + + +### Example: + +```php +$account.wallPapersNotModified = ['_' => 'account.wallPapersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +account.wallPapersNotModified={_='account.wallPapersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v103/constructors/account.webAuthorizations.md b/old_docs/API_docs_v103/constructors/account.webAuthorizations.md new file mode 100644 index 00000000..bb5d0211 --- /dev/null +++ b/old_docs/API_docs_v103/constructors/account.webAuthorizations.md @@ -0,0 +1,39 @@ +--- +title: account.webAuthorizations +description: Web authorizations +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.webAuthorizations +[Back to constructors index](index.md) + + + +Web authorizations + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|authorizations|Array of [WebAuthorization](../types/WebAuthorization.md) | Yes|Authorizations| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [account.WebAuthorizations](../types/account.WebAuthorizations.md) + + +### Example: + +```php +$account.webAuthorizations = ['_' => 'account.webAuthorizations', 'authorizations' => [WebAuthorization, WebAuthorization], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +account.webAuthorizations={_='account.webAuthorizations', authorizations={WebAuthorization}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v103/constructors/account_authorizationForm.md b/old_docs/API_docs_v103/constructors/account_authorizationForm.md deleted file mode 100644 index aaeff19b..00000000 --- a/old_docs/API_docs_v103/constructors/account_authorizationForm.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: account.authorizationForm -description: [Telegram Passport](https://core.telegram.org/passport) authorization form -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.authorizationForm -[Back to constructors index](index.md) - - - -[Telegram Passport](https://core.telegram.org/passport) authorization form - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|required\_types|Array of [SecureRequiredType](../types/SecureRequiredType.md) | Yes|Required types| -|values|Array of [SecureValue](../types/SecureValue.md) | Yes|Values| -|errors|Array of [SecureValueError](../types/SecureValueError.md) | Yes|Errors| -|users|Array of [User](../types/User.md) | Yes|Users| -|privacy\_policy\_url|[string](../types/string.md) | Optional|URL of the service's privacy policy| - - - -### Type: [account\_AuthorizationForm](../types/account_AuthorizationForm.md) - - -### Example: - -```php -$account_authorizationForm = ['_' => 'account.authorizationForm', 'required_types' => [SecureRequiredType, SecureRequiredType], 'values' => [SecureValue, SecureValue], 'errors' => [SecureValueError, SecureValueError], 'users' => [User, User], 'privacy_policy_url' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -account_authorizationForm={_='account.authorizationForm', required_types={SecureRequiredType}, values={SecureValue}, errors={SecureValueError}, users={User}, privacy_policy_url='string'} - -``` - - diff --git a/old_docs/API_docs_v103/constructors/account_authorizations.md b/old_docs/API_docs_v103/constructors/account_authorizations.md deleted file mode 100644 index aeae48f3..00000000 --- a/old_docs/API_docs_v103/constructors/account_authorizations.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: account.authorizations -description: Logged-in sessions -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.authorizations -[Back to constructors index](index.md) - - - -Logged-in sessions - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|authorizations|Array of [Authorization](../types/Authorization.md) | Yes|Authorizations| - - - -### Type: [account\_Authorizations](../types/account_Authorizations.md) - - -### Example: - -```php -$account_authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization, Authorization]]; -``` - - -Or, if you're into Lua: - -```lua -account_authorizations={_='account.authorizations', authorizations={Authorization}} - -``` - - diff --git a/old_docs/API_docs_v103/constructors/account_autoDownloadSettings.md b/old_docs/API_docs_v103/constructors/account_autoDownloadSettings.md deleted file mode 100644 index f490d303..00000000 --- a/old_docs/API_docs_v103/constructors/account_autoDownloadSettings.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: account.autoDownloadSettings -description: Media autodownload settings -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.autoDownloadSettings -[Back to constructors index](index.md) - - - -Media autodownload settings - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|low|[AutoDownloadSettings](../types/AutoDownloadSettings.md) | Yes|Low data usage preset| -|medium|[AutoDownloadSettings](../types/AutoDownloadSettings.md) | Yes|Medium data usage preset| -|high|[AutoDownloadSettings](../types/AutoDownloadSettings.md) | Yes|High data usage preset| - - - -### Type: [account\_AutoDownloadSettings](../types/account_AutoDownloadSettings.md) - - -### Example: - -```php -$account_autoDownloadSettings = ['_' => 'account.autoDownloadSettings', 'low' => AutoDownloadSettings, 'medium' => AutoDownloadSettings, 'high' => AutoDownloadSettings]; -``` - - -Or, if you're into Lua: - -```lua -account_autoDownloadSettings={_='account.autoDownloadSettings', low=AutoDownloadSettings, medium=AutoDownloadSettings, high=AutoDownloadSettings} - -``` - - diff --git a/old_docs/API_docs_v103/constructors/account_password.md b/old_docs/API_docs_v103/constructors/account_password.md deleted file mode 100644 index 0f2eaafb..00000000 --- a/old_docs/API_docs_v103/constructors/account_password.md +++ /dev/null @@ -1,48 +0,0 @@ ---- -title: account.password -description: Configuration for two-factor authorization -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.password -[Back to constructors index](index.md) - - - -Configuration for two-factor authorization - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|has\_recovery|[Bool](../types/Bool.md) | Optional|Whether the user has a recovery method configured| -|has\_secure\_values|[Bool](../types/Bool.md) | Optional|Whether telegram [passport](https://core.telegram.org/passport) is enabled| -|has\_password|[Bool](../types/Bool.md) | Optional|Whether the user has a password| -|current\_algo|[PasswordKdfAlgo](../types/PasswordKdfAlgo.md) | Optional|The [KDF algorithm for SRP two-factor authentication](https://core.telegram.org/api/srp) of the current password| -|srp\_B|[bytes](../types/bytes.md) | Optional|Srp B param for [SRP authorization](https://core.telegram.org/api/srp)| -|srp\_id|[long](../types/long.md) | Optional|Srp ID param for [SRP authorization](https://core.telegram.org/api/srp)| -|hint|[string](../types/string.md) | Optional|Text hint for the password| -|email\_unconfirmed\_pattern|[string](../types/string.md) | Optional|A [password recovery email](https://core.telegram.org/api/srp#email-verification) with the specified [pattern](https://core.telegram.org/api/pattern) is still awaiting verification| -|new\_algo|[PasswordKdfAlgo](../types/PasswordKdfAlgo.md) | Yes|The [KDF algorithm for SRP two-factor authentication](https://core.telegram.org/api/srp) to use when creating new passwords| -|new\_secure\_algo|[SecurePasswordKdfAlgo](../types/SecurePasswordKdfAlgo.md) | Yes|The KDF algorithm for telegram [passport](https://core.telegram.org/passport)| -|secure\_random|[bytes](../types/bytes.md) | Yes|Secure random string| - - - -### Type: [account\_Password](../types/account_Password.md) - - -### Example: - -```php -$account_password = ['_' => 'account.password', 'has_recovery' => Bool, 'has_secure_values' => Bool, 'has_password' => Bool, 'current_algo' => PasswordKdfAlgo, 'srp_B' => 'bytes', 'srp_id' => long, 'hint' => 'string', 'email_unconfirmed_pattern' => 'string', 'new_algo' => PasswordKdfAlgo, 'new_secure_algo' => SecurePasswordKdfAlgo, 'secure_random' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -account_password={_='account.password', has_recovery=Bool, has_secure_values=Bool, has_password=Bool, current_algo=PasswordKdfAlgo, srp_B='bytes', srp_id=long, hint='string', email_unconfirmed_pattern='string', new_algo=PasswordKdfAlgo, new_secure_algo=SecurePasswordKdfAlgo, secure_random='bytes'} - -``` - - diff --git a/old_docs/API_docs_v103/constructors/account_passwordInputSettings.md b/old_docs/API_docs_v103/constructors/account_passwordInputSettings.md deleted file mode 100644 index a4800a7c..00000000 --- a/old_docs/API_docs_v103/constructors/account_passwordInputSettings.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: account.passwordInputSettings -description: Settings for setting up a new password -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.passwordInputSettings -[Back to constructors index](index.md) - - - -Settings for setting up a new password - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|new\_algo|[PasswordKdfAlgo](../types/PasswordKdfAlgo.md) | Optional|The [SRP algorithm](https://core.telegram.org/api/srp) to use| -|new\_password\_hash|[bytes](../types/bytes.md) | Optional|The [computed password hash](https://core.telegram.org/api/srp)| -|hint|[string](../types/string.md) | Optional|Text hint for the password| -|email|[string](../types/string.md) | Optional|Password recovery email| -|new\_secure\_settings|[SecureSecretSettings](../types/SecureSecretSettings.md) | Optional|Telegram [passport](https://core.telegram.org/passport) settings| - - - -### Type: [account\_PasswordInputSettings](../types/account_PasswordInputSettings.md) - - -### Example: - -```php -$account_passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_algo' => PasswordKdfAlgo, 'new_password_hash' => 'bytes', 'hint' => 'string', 'email' => 'string', 'new_secure_settings' => SecureSecretSettings]; -``` - - -Or, if you're into Lua: - -```lua -account_passwordInputSettings={_='account.passwordInputSettings', new_algo=PasswordKdfAlgo, new_password_hash='bytes', hint='string', email='string', new_secure_settings=SecureSecretSettings} - -``` - - diff --git a/old_docs/API_docs_v103/constructors/account_passwordSettings.md b/old_docs/API_docs_v103/constructors/account_passwordSettings.md deleted file mode 100644 index 16eaf433..00000000 --- a/old_docs/API_docs_v103/constructors/account_passwordSettings.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: account.passwordSettings -description: Private info associated to the password info (recovery email, telegram [passport](https://core.telegram.org/passport) info & so on) -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.passwordSettings -[Back to constructors index](index.md) - - - -Private info associated to the password info (recovery email, telegram [passport](https://core.telegram.org/passport) info & so on) - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|email|[string](../types/string.md) | Optional|[2FA Recovery email](https://core.telegram.org/api/srp#email-verification)| -|secure\_settings|[SecureSecretSettings](../types/SecureSecretSettings.md) | Optional|Telegram [passport](https://core.telegram.org/passport) settings| - - - -### Type: [account\_PasswordSettings](../types/account_PasswordSettings.md) - - -### Example: - -```php -$account_passwordSettings = ['_' => 'account.passwordSettings', 'email' => 'string', 'secure_settings' => SecureSecretSettings]; -``` - - -Or, if you're into Lua: - -```lua -account_passwordSettings={_='account.passwordSettings', email='string', secure_settings=SecureSecretSettings} - -``` - - diff --git a/old_docs/API_docs_v103/constructors/account_privacyRules.md b/old_docs/API_docs_v103/constructors/account_privacyRules.md deleted file mode 100644 index 5fd928b9..00000000 --- a/old_docs/API_docs_v103/constructors/account_privacyRules.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: account.privacyRules -description: Privacy rules -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.privacyRules -[Back to constructors index](index.md) - - - -Privacy rules - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|rules|Array of [PrivacyRule](../types/PrivacyRule.md) | Yes|Rules| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats allowed?| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [account\_PrivacyRules](../types/account_PrivacyRules.md) - - -### Example: - -```php -$account_privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule, PrivacyRule], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -account_privacyRules={_='account.privacyRules', rules={PrivacyRule}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v103/constructors/account_sentEmailCode.md b/old_docs/API_docs_v103/constructors/account_sentEmailCode.md deleted file mode 100644 index 684fb4b5..00000000 --- a/old_docs/API_docs_v103/constructors/account_sentEmailCode.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: account.sentEmailCode -description: The sent email code -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.sentEmailCode -[Back to constructors index](index.md) - - - -The sent email code - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|email\_pattern|[string](../types/string.md) | Yes|The email (to which the code was sent) must match this [pattern](https://core.telegram.org/api/pattern)| -|length|[int](../types/int.md) | Yes|The length of the verification code| - - - -### Type: [account\_SentEmailCode](../types/account_SentEmailCode.md) - - -### Example: - -```php -$account_sentEmailCode = ['_' => 'account.sentEmailCode', 'email_pattern' => 'string', 'length' => int]; -``` - - -Or, if you're into Lua: - -```lua -account_sentEmailCode={_='account.sentEmailCode', email_pattern='string', length=int} - -``` - - diff --git a/old_docs/API_docs_v103/constructors/account_takeout.md b/old_docs/API_docs_v103/constructors/account_takeout.md deleted file mode 100644 index 09af93ca..00000000 --- a/old_docs/API_docs_v103/constructors/account_takeout.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: account.takeout -description: Takout info -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.takeout -[Back to constructors index](index.md) - - - -Takout info - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|id|[long](../types/long.md) | Yes|Takeout ID| - - - -### Type: [account\_Takeout](../types/account_Takeout.md) - - -### Example: - -```php -$account_takeout = ['_' => 'account.takeout', 'id' => long]; -``` - - -Or, if you're into Lua: - -```lua -account_takeout={_='account.takeout', id=long} - -``` - - diff --git a/old_docs/API_docs_v103/constructors/account_tmpPassword.md b/old_docs/API_docs_v103/constructors/account_tmpPassword.md deleted file mode 100644 index 68832780..00000000 --- a/old_docs/API_docs_v103/constructors/account_tmpPassword.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: account.tmpPassword -description: Temporary payment password -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.tmpPassword -[Back to constructors index](index.md) - - - -Temporary payment password - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|tmp\_password|[bytes](../types/bytes.md) | Yes|Temporary password| -|valid\_until|[int](../types/int.md) | Yes|Validity period| - - - -### Type: [account\_TmpPassword](../types/account_TmpPassword.md) - - -### Example: - -```php -$account_tmpPassword = ['_' => 'account.tmpPassword', 'tmp_password' => 'bytes', 'valid_until' => int]; -``` - - -Or, if you're into Lua: - -```lua -account_tmpPassword={_='account.tmpPassword', tmp_password='bytes', valid_until=int} - -``` - - diff --git a/old_docs/API_docs_v103/constructors/account_wallPapers.md b/old_docs/API_docs_v103/constructors/account_wallPapers.md deleted file mode 100644 index 6239c29c..00000000 --- a/old_docs/API_docs_v103/constructors/account_wallPapers.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: account.wallPapers -description: Installed wallpapers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.wallPapers -[Back to constructors index](index.md) - - - -Installed wallpapers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|wallpapers|Array of [WallPaper](../types/WallPaper.md) | Yes|Wallpapers| - - - -### Type: [account\_WallPapers](../types/account_WallPapers.md) - - -### Example: - -```php -$account_wallPapers = ['_' => 'account.wallPapers', 'hash' => int, 'wallpapers' => [WallPaper, WallPaper]]; -``` - - -Or, if you're into Lua: - -```lua -account_wallPapers={_='account.wallPapers', hash=int, wallpapers={WallPaper}} - -``` - - diff --git a/old_docs/API_docs_v103/constructors/account_wallPapersNotModified.md b/old_docs/API_docs_v103/constructors/account_wallPapersNotModified.md deleted file mode 100644 index acb28796..00000000 --- a/old_docs/API_docs_v103/constructors/account_wallPapersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: account.wallPapersNotModified -description: No new wallpapers were found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.wallPapersNotModified -[Back to constructors index](index.md) - - - -No new wallpapers were found - - - - -### Type: [account\_WallPapers](../types/account_WallPapers.md) - - -### Example: - -```php -$account_wallPapersNotModified = ['_' => 'account.wallPapersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -account_wallPapersNotModified={_='account.wallPapersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v103/constructors/account_webAuthorizations.md b/old_docs/API_docs_v103/constructors/account_webAuthorizations.md deleted file mode 100644 index ae402006..00000000 --- a/old_docs/API_docs_v103/constructors/account_webAuthorizations.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: account.webAuthorizations -description: Web authorizations -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.webAuthorizations -[Back to constructors index](index.md) - - - -Web authorizations - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|authorizations|Array of [WebAuthorization](../types/WebAuthorization.md) | Yes|Authorizations| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [account\_WebAuthorizations](../types/account_WebAuthorizations.md) - - -### Example: - -```php -$account_webAuthorizations = ['_' => 'account.webAuthorizations', 'authorizations' => [WebAuthorization, WebAuthorization], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -account_webAuthorizations={_='account.webAuthorizations', authorizations={WebAuthorization}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v103/constructors/auth.authorization.md b/old_docs/API_docs_v103/constructors/auth.authorization.md new file mode 100644 index 00000000..2a84bb12 --- /dev/null +++ b/old_docs/API_docs_v103/constructors/auth.authorization.md @@ -0,0 +1,39 @@ +--- +title: auth.authorization +description: Contains user authorization info. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.authorization +[Back to constructors index](index.md) + + + +Contains user authorization info. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|tmp\_sessions|[int](../types/int.md) | Optional|Temporary [passport](https://core.telegram.org/passport) sessions| +|user|[User](../types/User.md) | Optional|Info on authorized user| + + + +### Type: [auth.Authorization](../types/auth.Authorization.md) + + +### Example: + +```php +$auth.authorization = ['_' => 'auth.authorization', 'tmp_sessions' => int, 'user' => User]; +``` + + +Or, if you're into Lua: + +```lua +auth.authorization={_='auth.authorization', tmp_sessions=int, user=User} + +``` + + diff --git a/old_docs/API_docs_v103/constructors/auth.checkedPhone.md b/old_docs/API_docs_v103/constructors/auth.checkedPhone.md new file mode 100644 index 00000000..23e84cf9 --- /dev/null +++ b/old_docs/API_docs_v103/constructors/auth.checkedPhone.md @@ -0,0 +1,38 @@ +--- +title: auth.checkedPhone +description: Checked phone +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.checkedPhone +[Back to constructors index](index.md) + + + +Checked phone + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_registered|[Bool](../types/Bool.md) | Yes|Phone registered?| + + + +### Type: [auth.CheckedPhone](../types/auth.CheckedPhone.md) + + +### Example: + +```php +$auth.checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool]; +``` + + +Or, if you're into Lua: + +```lua +auth.checkedPhone={_='auth.checkedPhone', phone_registered=Bool} + +``` + + diff --git a/old_docs/API_docs_v103/constructors/auth.codeTypeCall.md b/old_docs/API_docs_v103/constructors/auth.codeTypeCall.md new file mode 100644 index 00000000..4b4a1cdc --- /dev/null +++ b/old_docs/API_docs_v103/constructors/auth.codeTypeCall.md @@ -0,0 +1,33 @@ +--- +title: auth.codeTypeCall +description: Type of verification code that will be sent next if you call the resendCode method: SMS code +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.codeTypeCall +[Back to constructors index](index.md) + + + +Type of verification code that will be sent next if you call the resendCode method: SMS code + + + + +### Type: [auth.CodeType](../types/auth.CodeType.md) + + +### Example: + +```php +$auth.codeTypeCall = ['_' => 'auth.codeTypeCall']; +``` + + +Or, if you're into Lua: + +```lua +auth.codeTypeCall={_='auth.codeTypeCall'} + +``` + + diff --git a/old_docs/API_docs_v103/constructors/auth.codeTypeFlashCall.md b/old_docs/API_docs_v103/constructors/auth.codeTypeFlashCall.md new file mode 100644 index 00000000..ef97e034 --- /dev/null +++ b/old_docs/API_docs_v103/constructors/auth.codeTypeFlashCall.md @@ -0,0 +1,33 @@ +--- +title: auth.codeTypeFlashCall +description: Type of verification code that will be sent next if you call the resendCode method: SMS code +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.codeTypeFlashCall +[Back to constructors index](index.md) + + + +Type of verification code that will be sent next if you call the resendCode method: SMS code + + + + +### Type: [auth.CodeType](../types/auth.CodeType.md) + + +### Example: + +```php +$auth.codeTypeFlashCall = ['_' => 'auth.codeTypeFlashCall']; +``` + + +Or, if you're into Lua: + +```lua +auth.codeTypeFlashCall={_='auth.codeTypeFlashCall'} + +``` + + diff --git a/old_docs/API_docs_v103/constructors/auth.codeTypeSms.md b/old_docs/API_docs_v103/constructors/auth.codeTypeSms.md new file mode 100644 index 00000000..bab9a5a4 --- /dev/null +++ b/old_docs/API_docs_v103/constructors/auth.codeTypeSms.md @@ -0,0 +1,33 @@ +--- +title: auth.codeTypeSms +description: Type of verification code that will be sent next if you call the resendCode method: SMS code +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.codeTypeSms +[Back to constructors index](index.md) + + + +Type of verification code that will be sent next if you call the resendCode method: SMS code + + + + +### Type: [auth.CodeType](../types/auth.CodeType.md) + + +### Example: + +```php +$auth.codeTypeSms = ['_' => 'auth.codeTypeSms']; +``` + + +Or, if you're into Lua: + +```lua +auth.codeTypeSms={_='auth.codeTypeSms'} + +``` + + diff --git a/old_docs/API_docs_v103/constructors/auth.exportedAuthorization.md b/old_docs/API_docs_v103/constructors/auth.exportedAuthorization.md new file mode 100644 index 00000000..2a4a9896 --- /dev/null +++ b/old_docs/API_docs_v103/constructors/auth.exportedAuthorization.md @@ -0,0 +1,39 @@ +--- +title: auth.exportedAuthorization +description: Data for copying of authorization between data centres. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.exportedAuthorization +[Back to constructors index](index.md) + + + +Data for copying of authorization between data centres. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|id|[int](../types/int.md) | Yes|Current user identifier| +|bytes|[bytes](../types/bytes.md) | Yes|Authorizes key| + + + +### Type: [auth.ExportedAuthorization](../types/auth.ExportedAuthorization.md) + + +### Example: + +```php +$auth.exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +auth.exportedAuthorization={_='auth.exportedAuthorization', id=int, bytes='bytes'} + +``` + + diff --git a/old_docs/API_docs_v103/constructors/auth.passwordRecovery.md b/old_docs/API_docs_v103/constructors/auth.passwordRecovery.md new file mode 100644 index 00000000..61de922d --- /dev/null +++ b/old_docs/API_docs_v103/constructors/auth.passwordRecovery.md @@ -0,0 +1,38 @@ +--- +title: auth.passwordRecovery +description: Recovery info of a [2FA password](https://core.telegram.org/api/srp), only for accounts with a [recovery email configured](https://core.telegram.org/api/srp#email-verification). +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.passwordRecovery +[Back to constructors index](index.md) + + + +Recovery info of a [2FA password](https://core.telegram.org/api/srp), only for accounts with a [recovery email configured](https://core.telegram.org/api/srp#email-verification). + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|email\_pattern|[string](../types/string.md) | Yes|The email to which the recovery code was sent must match this [pattern](https://core.telegram.org/api/pattern).| + + + +### Type: [auth.PasswordRecovery](../types/auth.PasswordRecovery.md) + + +### Example: + +```php +$auth.passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +auth.passwordRecovery={_='auth.passwordRecovery', email_pattern='string'} + +``` + + diff --git a/old_docs/API_docs_v103/constructors/auth.sentCode.md b/old_docs/API_docs_v103/constructors/auth.sentCode.md new file mode 100644 index 00000000..bfdaea05 --- /dev/null +++ b/old_docs/API_docs_v103/constructors/auth.sentCode.md @@ -0,0 +1,43 @@ +--- +title: auth.sentCode +description: Contains info about a sent verification code. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentCode +[Back to constructors index](index.md) + + + +Contains info about a sent verification code. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_registered|[Bool](../types/Bool.md) | Optional|Phone registered?| +|type|[auth.SentCodeType](../constructors/auth.SentCodeType.md) | Yes|Phone code type| +|phone\_code\_hash|[string](../types/string.md) | Yes|Phone code hash, to be stored and later re-used with [auth.signIn](../methods/auth.signIn.md)| +|next\_type|[auth.CodeType](../constructors/auth.CodeType.md) | Optional|Phone code type that will be sent next, if the phone code is not received within `timeout` seconds: to send it use [auth.resendCode](../methods/auth.resendCode.md)| +|timeout|[int](../types/int.md) | Optional|Timeout for reception of the phone code| +|terms\_of\_service|[help.TermsOfService](../constructors/help.TermsOfService.md) | Optional|Terms of service| + + + +### Type: [auth.SentCode](../types/auth.SentCode.md) + + +### Example: + +```php +$auth.sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'type' => auth.SentCodeType, 'phone_code_hash' => 'string', 'next_type' => auth.CodeType, 'timeout' => int, 'terms_of_service' => help.TermsOfService]; +``` + + +Or, if you're into Lua: + +```lua +auth.sentCode={_='auth.sentCode', phone_registered=Bool, type=auth.SentCodeType, phone_code_hash='string', next_type=auth.CodeType, timeout=int, terms_of_service=help.TermsOfService} + +``` + + diff --git a/old_docs/API_docs_v103/constructors/auth.sentCodeTypeApp.md b/old_docs/API_docs_v103/constructors/auth.sentCodeTypeApp.md new file mode 100644 index 00000000..5f2d4aa3 --- /dev/null +++ b/old_docs/API_docs_v103/constructors/auth.sentCodeTypeApp.md @@ -0,0 +1,38 @@ +--- +title: auth.sentCodeTypeApp +description: The code was sent through the telegram app +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentCodeTypeApp +[Back to constructors index](index.md) + + + +The code was sent through the telegram app + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|length|[int](../types/int.md) | Yes|Length of the code in bytes| + + + +### Type: [auth.SentCodeType](../types/auth.SentCodeType.md) + + +### Example: + +```php +$auth.sentCodeTypeApp = ['_' => 'auth.sentCodeTypeApp', 'length' => int]; +``` + + +Or, if you're into Lua: + +```lua +auth.sentCodeTypeApp={_='auth.sentCodeTypeApp', length=int} + +``` + + diff --git a/old_docs/API_docs_v103/constructors/auth.sentCodeTypeCall.md b/old_docs/API_docs_v103/constructors/auth.sentCodeTypeCall.md new file mode 100644 index 00000000..9843b3df --- /dev/null +++ b/old_docs/API_docs_v103/constructors/auth.sentCodeTypeCall.md @@ -0,0 +1,38 @@ +--- +title: auth.sentCodeTypeCall +description: The code will be sent via a phone call: a synthesized voice will tell the user which verification code to input. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentCodeTypeCall +[Back to constructors index](index.md) + + + +The code will be sent via a phone call: a synthesized voice will tell the user which verification code to input. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|length|[int](../types/int.md) | Yes|Length of the verification code| + + + +### Type: [auth.SentCodeType](../types/auth.SentCodeType.md) + + +### Example: + +```php +$auth.sentCodeTypeCall = ['_' => 'auth.sentCodeTypeCall', 'length' => int]; +``` + + +Or, if you're into Lua: + +```lua +auth.sentCodeTypeCall={_='auth.sentCodeTypeCall', length=int} + +``` + + diff --git a/old_docs/API_docs_v103/constructors/auth.sentCodeTypeFlashCall.md b/old_docs/API_docs_v103/constructors/auth.sentCodeTypeFlashCall.md new file mode 100644 index 00000000..0d24751d --- /dev/null +++ b/old_docs/API_docs_v103/constructors/auth.sentCodeTypeFlashCall.md @@ -0,0 +1,38 @@ +--- +title: auth.sentCodeTypeFlashCall +description: The code will be sent via a flash phone call, that will be closed immediately. The phone code will then be the phone number itself, just make sure that the phone number matches the specified pattern. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentCodeTypeFlashCall +[Back to constructors index](index.md) + + + +The code will be sent via a flash phone call, that will be closed immediately. The phone code will then be the phone number itself, just make sure that the phone number matches the specified pattern. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pattern|[string](../types/string.md) | Yes|[pattern](https://core.telegram.org/api/pattern) to match| + + + +### Type: [auth.SentCodeType](../types/auth.SentCodeType.md) + + +### Example: + +```php +$auth.sentCodeTypeFlashCall = ['_' => 'auth.sentCodeTypeFlashCall', 'pattern' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +auth.sentCodeTypeFlashCall={_='auth.sentCodeTypeFlashCall', pattern='string'} + +``` + + diff --git a/old_docs/API_docs_v103/constructors/auth.sentCodeTypeSms.md b/old_docs/API_docs_v103/constructors/auth.sentCodeTypeSms.md new file mode 100644 index 00000000..d8ecb75e --- /dev/null +++ b/old_docs/API_docs_v103/constructors/auth.sentCodeTypeSms.md @@ -0,0 +1,38 @@ +--- +title: auth.sentCodeTypeSms +description: The code was sent via SMS +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentCodeTypeSms +[Back to constructors index](index.md) + + + +The code was sent via SMS + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|length|[int](../types/int.md) | Yes|Length of the code in bytes| + + + +### Type: [auth.SentCodeType](../types/auth.SentCodeType.md) + + +### Example: + +```php +$auth.sentCodeTypeSms = ['_' => 'auth.sentCodeTypeSms', 'length' => int]; +``` + + +Or, if you're into Lua: + +```lua +auth.sentCodeTypeSms={_='auth.sentCodeTypeSms', length=int} + +``` + + diff --git a/old_docs/API_docs_v103/constructors/auth_authorization.md b/old_docs/API_docs_v103/constructors/auth_authorization.md deleted file mode 100644 index cb72811d..00000000 --- a/old_docs/API_docs_v103/constructors/auth_authorization.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: auth.authorization -description: Contains user authorization info. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.authorization -[Back to constructors index](index.md) - - - -Contains user authorization info. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|tmp\_sessions|[int](../types/int.md) | Optional|Temporary [passport](https://core.telegram.org/passport) sessions| -|user|[User](../types/User.md) | Optional|Info on authorized user| - - - -### Type: [auth\_Authorization](../types/auth_Authorization.md) - - -### Example: - -```php -$auth_authorization = ['_' => 'auth.authorization', 'tmp_sessions' => int, 'user' => User]; -``` - - -Or, if you're into Lua: - -```lua -auth_authorization={_='auth.authorization', tmp_sessions=int, user=User} - -``` - - diff --git a/old_docs/API_docs_v103/constructors/auth_checkedPhone.md b/old_docs/API_docs_v103/constructors/auth_checkedPhone.md deleted file mode 100644 index c77becf6..00000000 --- a/old_docs/API_docs_v103/constructors/auth_checkedPhone.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.checkedPhone -description: Checked phone -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.checkedPhone -[Back to constructors index](index.md) - - - -Checked phone - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_registered|[Bool](../types/Bool.md) | Yes|Phone registered?| - - - -### Type: [auth\_CheckedPhone](../types/auth_CheckedPhone.md) - - -### Example: - -```php -$auth_checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool]; -``` - - -Or, if you're into Lua: - -```lua -auth_checkedPhone={_='auth.checkedPhone', phone_registered=Bool} - -``` - - diff --git a/old_docs/API_docs_v103/constructors/auth_codeTypeCall.md b/old_docs/API_docs_v103/constructors/auth_codeTypeCall.md deleted file mode 100644 index 3e957c2a..00000000 --- a/old_docs/API_docs_v103/constructors/auth_codeTypeCall.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: auth.codeTypeCall -description: Type of verification code that will be sent next if you call the resendCode method: SMS code -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.codeTypeCall -[Back to constructors index](index.md) - - - -Type of verification code that will be sent next if you call the resendCode method: SMS code - - - - -### Type: [auth\_CodeType](../types/auth_CodeType.md) - - -### Example: - -```php -$auth_codeTypeCall = ['_' => 'auth.codeTypeCall']; -``` - - -Or, if you're into Lua: - -```lua -auth_codeTypeCall={_='auth.codeTypeCall'} - -``` - - diff --git a/old_docs/API_docs_v103/constructors/auth_codeTypeFlashCall.md b/old_docs/API_docs_v103/constructors/auth_codeTypeFlashCall.md deleted file mode 100644 index 981b2461..00000000 --- a/old_docs/API_docs_v103/constructors/auth_codeTypeFlashCall.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: auth.codeTypeFlashCall -description: Type of verification code that will be sent next if you call the resendCode method: SMS code -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.codeTypeFlashCall -[Back to constructors index](index.md) - - - -Type of verification code that will be sent next if you call the resendCode method: SMS code - - - - -### Type: [auth\_CodeType](../types/auth_CodeType.md) - - -### Example: - -```php -$auth_codeTypeFlashCall = ['_' => 'auth.codeTypeFlashCall']; -``` - - -Or, if you're into Lua: - -```lua -auth_codeTypeFlashCall={_='auth.codeTypeFlashCall'} - -``` - - diff --git a/old_docs/API_docs_v103/constructors/auth_codeTypeSms.md b/old_docs/API_docs_v103/constructors/auth_codeTypeSms.md deleted file mode 100644 index 16eb5d0d..00000000 --- a/old_docs/API_docs_v103/constructors/auth_codeTypeSms.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: auth.codeTypeSms -description: Type of verification code that will be sent next if you call the resendCode method: SMS code -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.codeTypeSms -[Back to constructors index](index.md) - - - -Type of verification code that will be sent next if you call the resendCode method: SMS code - - - - -### Type: [auth\_CodeType](../types/auth_CodeType.md) - - -### Example: - -```php -$auth_codeTypeSms = ['_' => 'auth.codeTypeSms']; -``` - - -Or, if you're into Lua: - -```lua -auth_codeTypeSms={_='auth.codeTypeSms'} - -``` - - diff --git a/old_docs/API_docs_v103/constructors/auth_exportedAuthorization.md b/old_docs/API_docs_v103/constructors/auth_exportedAuthorization.md deleted file mode 100644 index 8d18916e..00000000 --- a/old_docs/API_docs_v103/constructors/auth_exportedAuthorization.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: auth.exportedAuthorization -description: Data for copying of authorization between data centres. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.exportedAuthorization -[Back to constructors index](index.md) - - - -Data for copying of authorization between data centres. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|id|[int](../types/int.md) | Yes|Current user identifier| -|bytes|[bytes](../types/bytes.md) | Yes|Authorizes key| - - - -### Type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) - - -### Example: - -```php -$auth_exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -auth_exportedAuthorization={_='auth.exportedAuthorization', id=int, bytes='bytes'} - -``` - - diff --git a/old_docs/API_docs_v103/constructors/auth_passwordRecovery.md b/old_docs/API_docs_v103/constructors/auth_passwordRecovery.md deleted file mode 100644 index c40f375e..00000000 --- a/old_docs/API_docs_v103/constructors/auth_passwordRecovery.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.passwordRecovery -description: Recovery info of a [2FA password](https://core.telegram.org/api/srp), only for accounts with a [recovery email configured](https://core.telegram.org/api/srp#email-verification). -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.passwordRecovery -[Back to constructors index](index.md) - - - -Recovery info of a [2FA password](https://core.telegram.org/api/srp), only for accounts with a [recovery email configured](https://core.telegram.org/api/srp#email-verification). - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|email\_pattern|[string](../types/string.md) | Yes|The email to which the recovery code was sent must match this [pattern](https://core.telegram.org/api/pattern).| - - - -### Type: [auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) - - -### Example: - -```php -$auth_passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -auth_passwordRecovery={_='auth.passwordRecovery', email_pattern='string'} - -``` - - diff --git a/old_docs/API_docs_v103/constructors/auth_sentCode.md b/old_docs/API_docs_v103/constructors/auth_sentCode.md deleted file mode 100644 index f34f844a..00000000 --- a/old_docs/API_docs_v103/constructors/auth_sentCode.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: auth.sentCode -description: Contains info about a sent verification code. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentCode -[Back to constructors index](index.md) - - - -Contains info about a sent verification code. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_registered|[Bool](../types/Bool.md) | Optional|Phone registered?| -|type|[auth\_SentCodeType](../types/auth_SentCodeType.md) | Yes|Phone code type| -|phone\_code\_hash|[string](../types/string.md) | Yes|Phone code hash, to be stored and later re-used with [auth.signIn](../methods/auth.signIn.md)| -|next\_type|[auth\_CodeType](../types/auth_CodeType.md) | Optional|Phone code type that will be sent next, if the phone code is not received within `timeout` seconds: to send it use [auth.resendCode](../methods/auth.resendCode.md)| -|timeout|[int](../types/int.md) | Optional|Timeout for reception of the phone code| -|terms\_of\_service|[help\_TermsOfService](../types/help_TermsOfService.md) | Optional|Terms of service| - - - -### Type: [auth\_SentCode](../types/auth_SentCode.md) - - -### Example: - -```php -$auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'type' => auth_SentCodeType, 'phone_code_hash' => 'string', 'next_type' => auth_CodeType, 'timeout' => int, 'terms_of_service' => help_TermsOfService]; -``` - - -Or, if you're into Lua: - -```lua -auth_sentCode={_='auth.sentCode', phone_registered=Bool, type=auth_SentCodeType, phone_code_hash='string', next_type=auth_CodeType, timeout=int, terms_of_service=help_TermsOfService} - -``` - - diff --git a/old_docs/API_docs_v103/constructors/auth_sentCodeTypeApp.md b/old_docs/API_docs_v103/constructors/auth_sentCodeTypeApp.md deleted file mode 100644 index 6b7ad824..00000000 --- a/old_docs/API_docs_v103/constructors/auth_sentCodeTypeApp.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.sentCodeTypeApp -description: The code was sent through the telegram app -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentCodeTypeApp -[Back to constructors index](index.md) - - - -The code was sent through the telegram app - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|length|[int](../types/int.md) | Yes|Length of the code in bytes| - - - -### Type: [auth\_SentCodeType](../types/auth_SentCodeType.md) - - -### Example: - -```php -$auth_sentCodeTypeApp = ['_' => 'auth.sentCodeTypeApp', 'length' => int]; -``` - - -Or, if you're into Lua: - -```lua -auth_sentCodeTypeApp={_='auth.sentCodeTypeApp', length=int} - -``` - - diff --git a/old_docs/API_docs_v103/constructors/auth_sentCodeTypeCall.md b/old_docs/API_docs_v103/constructors/auth_sentCodeTypeCall.md deleted file mode 100644 index bf025aa5..00000000 --- a/old_docs/API_docs_v103/constructors/auth_sentCodeTypeCall.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.sentCodeTypeCall -description: The code will be sent via a phone call: a synthesized voice will tell the user which verification code to input. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentCodeTypeCall -[Back to constructors index](index.md) - - - -The code will be sent via a phone call: a synthesized voice will tell the user which verification code to input. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|length|[int](../types/int.md) | Yes|Length of the verification code| - - - -### Type: [auth\_SentCodeType](../types/auth_SentCodeType.md) - - -### Example: - -```php -$auth_sentCodeTypeCall = ['_' => 'auth.sentCodeTypeCall', 'length' => int]; -``` - - -Or, if you're into Lua: - -```lua -auth_sentCodeTypeCall={_='auth.sentCodeTypeCall', length=int} - -``` - - diff --git a/old_docs/API_docs_v103/constructors/auth_sentCodeTypeFlashCall.md b/old_docs/API_docs_v103/constructors/auth_sentCodeTypeFlashCall.md deleted file mode 100644 index efe64ce7..00000000 --- a/old_docs/API_docs_v103/constructors/auth_sentCodeTypeFlashCall.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.sentCodeTypeFlashCall -description: The code will be sent via a flash phone call, that will be closed immediately. The phone code will then be the phone number itself, just make sure that the phone number matches the specified pattern. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentCodeTypeFlashCall -[Back to constructors index](index.md) - - - -The code will be sent via a flash phone call, that will be closed immediately. The phone code will then be the phone number itself, just make sure that the phone number matches the specified pattern. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pattern|[string](../types/string.md) | Yes|[pattern](https://core.telegram.org/api/pattern) to match| - - - -### Type: [auth\_SentCodeType](../types/auth_SentCodeType.md) - - -### Example: - -```php -$auth_sentCodeTypeFlashCall = ['_' => 'auth.sentCodeTypeFlashCall', 'pattern' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -auth_sentCodeTypeFlashCall={_='auth.sentCodeTypeFlashCall', pattern='string'} - -``` - - diff --git a/old_docs/API_docs_v103/constructors/auth_sentCodeTypeSms.md b/old_docs/API_docs_v103/constructors/auth_sentCodeTypeSms.md deleted file mode 100644 index 8e27dac9..00000000 --- a/old_docs/API_docs_v103/constructors/auth_sentCodeTypeSms.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.sentCodeTypeSms -description: The code was sent via SMS -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentCodeTypeSms -[Back to constructors index](index.md) - - - -The code was sent via SMS - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|length|[int](../types/int.md) | Yes|Length of the code in bytes| - - - -### Type: [auth\_SentCodeType](../types/auth_SentCodeType.md) - - -### Example: - -```php -$auth_sentCodeTypeSms = ['_' => 'auth.sentCodeTypeSms', 'length' => int]; -``` - - -Or, if you're into Lua: - -```lua -auth_sentCodeTypeSms={_='auth.sentCodeTypeSms', length=int} - -``` - - diff --git a/old_docs/API_docs_v103/constructors/channels.adminLogResults.md b/old_docs/API_docs_v103/constructors/channels.adminLogResults.md new file mode 100644 index 00000000..fc4e234a --- /dev/null +++ b/old_docs/API_docs_v103/constructors/channels.adminLogResults.md @@ -0,0 +1,40 @@ +--- +title: channels.adminLogResults +description: Admin log events +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: channels.adminLogResults +[Back to constructors index](index.md) + + + +Admin log events + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|events|Array of [ChannelAdminLogEvent](../types/ChannelAdminLogEvent.md) | Yes|Events| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [channels.AdminLogResults](../types/channels.AdminLogResults.md) + + +### Example: + +```php +$channels.adminLogResults = ['_' => 'channels.adminLogResults', 'events' => [ChannelAdminLogEvent, ChannelAdminLogEvent], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +channels.adminLogResults={_='channels.adminLogResults', events={ChannelAdminLogEvent}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v103/constructors/channels.channelParticipant.md b/old_docs/API_docs_v103/constructors/channels.channelParticipant.md new file mode 100644 index 00000000..0f09777f --- /dev/null +++ b/old_docs/API_docs_v103/constructors/channels.channelParticipant.md @@ -0,0 +1,39 @@ +--- +title: channels.channelParticipant +description: Represents a channel participant +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: channels.channelParticipant +[Back to constructors index](index.md) + + + +Represents a channel participant + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|participant|[ChannelParticipant](../types/ChannelParticipant.md) | Yes|The channel participant| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [channels.ChannelParticipant](../types/channels.ChannelParticipant.md) + + +### Example: + +```php +$channels.channelParticipant = ['_' => 'channels.channelParticipant', 'participant' => ChannelParticipant, 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +channels.channelParticipant={_='channels.channelParticipant', participant=ChannelParticipant, users={User}} + +``` + + diff --git a/old_docs/API_docs_v103/constructors/channels.channelParticipants.md b/old_docs/API_docs_v103/constructors/channels.channelParticipants.md new file mode 100644 index 00000000..6ee1a8b3 --- /dev/null +++ b/old_docs/API_docs_v103/constructors/channels.channelParticipants.md @@ -0,0 +1,40 @@ +--- +title: channels.channelParticipants +description: Represents multiple channel participants +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: channels.channelParticipants +[Back to constructors index](index.md) + + + +Represents multiple channel participants + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of participants that correspond to the given query| +|participants|Array of [ChannelParticipant](../types/ChannelParticipant.md) | Yes|Participants| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [channels.ChannelParticipants](../types/channels.ChannelParticipants.md) + + +### Example: + +```php +$channels.channelParticipants = ['_' => 'channels.channelParticipants', 'count' => int, 'participants' => [ChannelParticipant, ChannelParticipant], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +channels.channelParticipants={_='channels.channelParticipants', count=int, participants={ChannelParticipant}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v103/constructors/channels.channelParticipantsNotModified.md b/old_docs/API_docs_v103/constructors/channels.channelParticipantsNotModified.md new file mode 100644 index 00000000..37ece73a --- /dev/null +++ b/old_docs/API_docs_v103/constructors/channels.channelParticipantsNotModified.md @@ -0,0 +1,33 @@ +--- +title: channels.channelParticipantsNotModified +description: No new participant info could be found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: channels.channelParticipantsNotModified +[Back to constructors index](index.md) + + + +No new participant info could be found + + + + +### Type: [channels.ChannelParticipants](../types/channels.ChannelParticipants.md) + + +### Example: + +```php +$channels.channelParticipantsNotModified = ['_' => 'channels.channelParticipantsNotModified']; +``` + + +Or, if you're into Lua: + +```lua +channels.channelParticipantsNotModified={_='channels.channelParticipantsNotModified'} + +``` + + diff --git a/old_docs/API_docs_v103/constructors/channels_adminLogResults.md b/old_docs/API_docs_v103/constructors/channels_adminLogResults.md deleted file mode 100644 index 9061212a..00000000 --- a/old_docs/API_docs_v103/constructors/channels_adminLogResults.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: channels.adminLogResults -description: Admin log events -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: channels.adminLogResults -[Back to constructors index](index.md) - - - -Admin log events - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|events|Array of [ChannelAdminLogEvent](../types/ChannelAdminLogEvent.md) | Yes|Events| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [channels\_AdminLogResults](../types/channels_AdminLogResults.md) - - -### Example: - -```php -$channels_adminLogResults = ['_' => 'channels.adminLogResults', 'events' => [ChannelAdminLogEvent, ChannelAdminLogEvent], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -channels_adminLogResults={_='channels.adminLogResults', events={ChannelAdminLogEvent}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v103/constructors/channels_channelParticipant.md b/old_docs/API_docs_v103/constructors/channels_channelParticipant.md deleted file mode 100644 index 15fe46a4..00000000 --- a/old_docs/API_docs_v103/constructors/channels_channelParticipant.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: channels.channelParticipant -description: Represents a channel participant -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: channels.channelParticipant -[Back to constructors index](index.md) - - - -Represents a channel participant - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|participant|[ChannelParticipant](../types/ChannelParticipant.md) | Yes|The channel participant| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [channels\_ChannelParticipant](../types/channels_ChannelParticipant.md) - - -### Example: - -```php -$channels_channelParticipant = ['_' => 'channels.channelParticipant', 'participant' => ChannelParticipant, 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -channels_channelParticipant={_='channels.channelParticipant', participant=ChannelParticipant, users={User}} - -``` - - diff --git a/old_docs/API_docs_v103/constructors/channels_channelParticipants.md b/old_docs/API_docs_v103/constructors/channels_channelParticipants.md deleted file mode 100644 index 1848a04f..00000000 --- a/old_docs/API_docs_v103/constructors/channels_channelParticipants.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: channels.channelParticipants -description: Represents multiple channel participants -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: channels.channelParticipants -[Back to constructors index](index.md) - - - -Represents multiple channel participants - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of participants that correspond to the given query| -|participants|Array of [ChannelParticipant](../types/ChannelParticipant.md) | Yes|Participants| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [channels\_ChannelParticipants](../types/channels_ChannelParticipants.md) - - -### Example: - -```php -$channels_channelParticipants = ['_' => 'channels.channelParticipants', 'count' => int, 'participants' => [ChannelParticipant, ChannelParticipant], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -channels_channelParticipants={_='channels.channelParticipants', count=int, participants={ChannelParticipant}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v103/constructors/channels_channelParticipantsNotModified.md b/old_docs/API_docs_v103/constructors/channels_channelParticipantsNotModified.md deleted file mode 100644 index 800048f7..00000000 --- a/old_docs/API_docs_v103/constructors/channels_channelParticipantsNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: channels.channelParticipantsNotModified -description: No new participant info could be found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: channels.channelParticipantsNotModified -[Back to constructors index](index.md) - - - -No new participant info could be found - - - - -### Type: [channels\_ChannelParticipants](../types/channels_ChannelParticipants.md) - - -### Example: - -```php -$channels_channelParticipantsNotModified = ['_' => 'channels.channelParticipantsNotModified']; -``` - - -Or, if you're into Lua: - -```lua -channels_channelParticipantsNotModified={_='channels.channelParticipantsNotModified'} - -``` - - diff --git a/old_docs/API_docs_v103/constructors/contacts.blocked.md b/old_docs/API_docs_v103/constructors/contacts.blocked.md new file mode 100644 index 00000000..d2b3f680 --- /dev/null +++ b/old_docs/API_docs_v103/constructors/contacts.blocked.md @@ -0,0 +1,39 @@ +--- +title: contacts.blocked +description: Full list of blocked users. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.blocked +[Back to constructors index](index.md) + + + +Full list of blocked users. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Blocked](../types/contacts.Blocked.md) + + +### Example: + +```php +$contacts.blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.blocked={_='contacts.blocked', blocked={ContactBlocked}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v103/constructors/contacts.blockedSlice.md b/old_docs/API_docs_v103/constructors/contacts.blockedSlice.md new file mode 100644 index 00000000..92d19c72 --- /dev/null +++ b/old_docs/API_docs_v103/constructors/contacts.blockedSlice.md @@ -0,0 +1,40 @@ +--- +title: contacts.blockedSlice +description: Incomplete list of blocked users. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.blockedSlice +[Back to constructors index](index.md) + + + +Incomplete list of blocked users. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of elements in the list| +|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Blocked](../types/contacts.Blocked.md) + + +### Example: + +```php +$contacts.blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.blockedSlice={_='contacts.blockedSlice', count=int, blocked={ContactBlocked}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v103/constructors/contacts.contacts.md b/old_docs/API_docs_v103/constructors/contacts.contacts.md new file mode 100644 index 00000000..c3251e5d --- /dev/null +++ b/old_docs/API_docs_v103/constructors/contacts.contacts.md @@ -0,0 +1,40 @@ +--- +title: contacts.contacts +description: The current user's contact list and info on users. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.contacts +[Back to constructors index](index.md) + + + +The current user's contact list and info on users. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|contacts|Array of [Contact](../types/Contact.md) | Yes|Contacts| +|saved\_count|[int](../types/int.md) | Yes|Number of contacts that were saved successfully| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Contacts](../types/contacts.Contacts.md) + + +### Example: + +```php +$contacts.contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact, Contact], 'saved_count' => int, 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.contacts={_='contacts.contacts', contacts={Contact}, saved_count=int, users={User}} + +``` + + diff --git a/old_docs/API_docs_v103/constructors/contacts.contactsNotModified.md b/old_docs/API_docs_v103/constructors/contacts.contactsNotModified.md new file mode 100644 index 00000000..e2149396 --- /dev/null +++ b/old_docs/API_docs_v103/constructors/contacts.contactsNotModified.md @@ -0,0 +1,33 @@ +--- +title: contacts.contactsNotModified +description: Contact list on the server is the same as the list on the client. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.contactsNotModified +[Back to constructors index](index.md) + + + +Contact list on the server is the same as the list on the client. + + + + +### Type: [contacts.Contacts](../types/contacts.Contacts.md) + + +### Example: + +```php +$contacts.contactsNotModified = ['_' => 'contacts.contactsNotModified']; +``` + + +Or, if you're into Lua: + +```lua +contacts.contactsNotModified={_='contacts.contactsNotModified'} + +``` + + diff --git a/old_docs/API_docs_v103/constructors/contacts.found.md b/old_docs/API_docs_v103/constructors/contacts.found.md new file mode 100644 index 00000000..65df2f8d --- /dev/null +++ b/old_docs/API_docs_v103/constructors/contacts.found.md @@ -0,0 +1,41 @@ +--- +title: contacts.found +description: Users found by name substring and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.found +[Back to constructors index](index.md) + + + +Users found by name substring and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|my\_results|Array of [Peer](../types/Peer.md) | Yes|My results| +|results|Array of [Peer](../types/Peer.md) | Yes|Results| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Found](../types/contacts.Found.md) + + +### Example: + +```php +$contacts.found = ['_' => 'contacts.found', 'my_results' => [Peer, Peer], 'results' => [Peer, Peer], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.found={_='contacts.found', my_results={Peer}, results={Peer}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v103/constructors/contacts.importedContacts.md b/old_docs/API_docs_v103/constructors/contacts.importedContacts.md new file mode 100644 index 00000000..20075931 --- /dev/null +++ b/old_docs/API_docs_v103/constructors/contacts.importedContacts.md @@ -0,0 +1,41 @@ +--- +title: contacts.importedContacts +description: Info on succesfully imported contacts. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.importedContacts +[Back to constructors index](index.md) + + + +Info on succesfully imported contacts. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|imported|Array of [ImportedContact](../types/ImportedContact.md) | Yes|Imported| +|popular\_invites|Array of [PopularContact](../types/PopularContact.md) | Yes|Popular invites| +|retry\_contacts|Array of [long](../types/long.md) | Yes|Retry importing contacts whose client IDs appear here| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.ImportedContacts](../types/contacts.ImportedContacts.md) + + +### Example: + +```php +$contacts.importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact, ImportedContact], 'popular_invites' => [PopularContact, PopularContact], 'retry_contacts' => [long, long], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.importedContacts={_='contacts.importedContacts', imported={ImportedContact}, popular_invites={PopularContact}, retry_contacts={long}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v103/constructors/contacts.resolvedPeer.md b/old_docs/API_docs_v103/constructors/contacts.resolvedPeer.md new file mode 100644 index 00000000..35d88481 --- /dev/null +++ b/old_docs/API_docs_v103/constructors/contacts.resolvedPeer.md @@ -0,0 +1,40 @@ +--- +title: contacts.resolvedPeer +description: Resolved peer +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.resolvedPeer +[Back to constructors index](index.md) + + + +Resolved peer + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|peer|[Peer](../types/Peer.md) | Yes|The peer| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.ResolvedPeer](../types/contacts.ResolvedPeer.md) + + +### Example: + +```php +$contacts.resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.resolvedPeer={_='contacts.resolvedPeer', peer=Peer, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v103/constructors/contacts.topPeers.md b/old_docs/API_docs_v103/constructors/contacts.topPeers.md new file mode 100644 index 00000000..19d9c712 --- /dev/null +++ b/old_docs/API_docs_v103/constructors/contacts.topPeers.md @@ -0,0 +1,40 @@ +--- +title: contacts.topPeers +description: Top peers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.topPeers +[Back to constructors index](index.md) + + + +Top peers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|categories|Array of [TopPeerCategoryPeers](../types/TopPeerCategoryPeers.md) | Yes|Categories| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.TopPeers](../types/contacts.TopPeers.md) + + +### Example: + +```php +$contacts.topPeers = ['_' => 'contacts.topPeers', 'categories' => [TopPeerCategoryPeers, TopPeerCategoryPeers], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.topPeers={_='contacts.topPeers', categories={TopPeerCategoryPeers}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v103/constructors/contacts.topPeersDisabled.md b/old_docs/API_docs_v103/constructors/contacts.topPeersDisabled.md new file mode 100644 index 00000000..a0e2c50b --- /dev/null +++ b/old_docs/API_docs_v103/constructors/contacts.topPeersDisabled.md @@ -0,0 +1,33 @@ +--- +title: contacts.topPeersDisabled +description: Top peers disabled +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.topPeersDisabled +[Back to constructors index](index.md) + + + +Top peers disabled + + + + +### Type: [contacts.TopPeers](../types/contacts.TopPeers.md) + + +### Example: + +```php +$contacts.topPeersDisabled = ['_' => 'contacts.topPeersDisabled']; +``` + + +Or, if you're into Lua: + +```lua +contacts.topPeersDisabled={_='contacts.topPeersDisabled'} + +``` + + diff --git a/old_docs/API_docs_v103/constructors/contacts.topPeersNotModified.md b/old_docs/API_docs_v103/constructors/contacts.topPeersNotModified.md new file mode 100644 index 00000000..77c5eb4d --- /dev/null +++ b/old_docs/API_docs_v103/constructors/contacts.topPeersNotModified.md @@ -0,0 +1,33 @@ +--- +title: contacts.topPeersNotModified +description: Top peer info hasn't changed +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.topPeersNotModified +[Back to constructors index](index.md) + + + +Top peer info hasn't changed + + + + +### Type: [contacts.TopPeers](../types/contacts.TopPeers.md) + + +### Example: + +```php +$contacts.topPeersNotModified = ['_' => 'contacts.topPeersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +contacts.topPeersNotModified={_='contacts.topPeersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v103/constructors/contacts_blocked.md b/old_docs/API_docs_v103/constructors/contacts_blocked.md deleted file mode 100644 index 20e33002..00000000 --- a/old_docs/API_docs_v103/constructors/contacts_blocked.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: contacts.blocked -description: Full list of blocked users. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.blocked -[Back to constructors index](index.md) - - - -Full list of blocked users. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Blocked](../types/contacts_Blocked.md) - - -### Example: - -```php -$contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_blocked={_='contacts.blocked', blocked={ContactBlocked}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v103/constructors/contacts_blockedSlice.md b/old_docs/API_docs_v103/constructors/contacts_blockedSlice.md deleted file mode 100644 index fcab9a28..00000000 --- a/old_docs/API_docs_v103/constructors/contacts_blockedSlice.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.blockedSlice -description: Incomplete list of blocked users. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.blockedSlice -[Back to constructors index](index.md) - - - -Incomplete list of blocked users. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of elements in the list| -|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Blocked](../types/contacts_Blocked.md) - - -### Example: - -```php -$contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_blockedSlice={_='contacts.blockedSlice', count=int, blocked={ContactBlocked}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v103/constructors/contacts_contacts.md b/old_docs/API_docs_v103/constructors/contacts_contacts.md deleted file mode 100644 index 0e6f0dd3..00000000 --- a/old_docs/API_docs_v103/constructors/contacts_contacts.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.contacts -description: The current user's contact list and info on users. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.contacts -[Back to constructors index](index.md) - - - -The current user's contact list and info on users. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|contacts|Array of [Contact](../types/Contact.md) | Yes|Contacts| -|saved\_count|[int](../types/int.md) | Yes|Number of contacts that were saved successfully| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Contacts](../types/contacts_Contacts.md) - - -### Example: - -```php -$contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact, Contact], 'saved_count' => int, 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_contacts={_='contacts.contacts', contacts={Contact}, saved_count=int, users={User}} - -``` - - diff --git a/old_docs/API_docs_v103/constructors/contacts_contactsNotModified.md b/old_docs/API_docs_v103/constructors/contacts_contactsNotModified.md deleted file mode 100644 index 17e76ac3..00000000 --- a/old_docs/API_docs_v103/constructors/contacts_contactsNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: contacts.contactsNotModified -description: Contact list on the server is the same as the list on the client. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.contactsNotModified -[Back to constructors index](index.md) - - - -Contact list on the server is the same as the list on the client. - - - - -### Type: [contacts\_Contacts](../types/contacts_Contacts.md) - - -### Example: - -```php -$contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified']; -``` - - -Or, if you're into Lua: - -```lua -contacts_contactsNotModified={_='contacts.contactsNotModified'} - -``` - - diff --git a/old_docs/API_docs_v103/constructors/contacts_found.md b/old_docs/API_docs_v103/constructors/contacts_found.md deleted file mode 100644 index 76b9aa0c..00000000 --- a/old_docs/API_docs_v103/constructors/contacts_found.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: contacts.found -description: Users found by name substring and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.found -[Back to constructors index](index.md) - - - -Users found by name substring and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|my\_results|Array of [Peer](../types/Peer.md) | Yes|My results| -|results|Array of [Peer](../types/Peer.md) | Yes|Results| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Found](../types/contacts_Found.md) - - -### Example: - -```php -$contacts_found = ['_' => 'contacts.found', 'my_results' => [Peer, Peer], 'results' => [Peer, Peer], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_found={_='contacts.found', my_results={Peer}, results={Peer}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v103/constructors/contacts_importedContacts.md b/old_docs/API_docs_v103/constructors/contacts_importedContacts.md deleted file mode 100644 index e534754b..00000000 --- a/old_docs/API_docs_v103/constructors/contacts_importedContacts.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: contacts.importedContacts -description: Info on succesfully imported contacts. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.importedContacts -[Back to constructors index](index.md) - - - -Info on succesfully imported contacts. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|imported|Array of [ImportedContact](../types/ImportedContact.md) | Yes|Imported| -|popular\_invites|Array of [PopularContact](../types/PopularContact.md) | Yes|Popular invites| -|retry\_contacts|Array of [long](../types/long.md) | Yes|Retry importing contacts whose client IDs appear here| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) - - -### Example: - -```php -$contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact, ImportedContact], 'popular_invites' => [PopularContact, PopularContact], 'retry_contacts' => [long, long], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_importedContacts={_='contacts.importedContacts', imported={ImportedContact}, popular_invites={PopularContact}, retry_contacts={long}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v103/constructors/contacts_resolvedPeer.md b/old_docs/API_docs_v103/constructors/contacts_resolvedPeer.md deleted file mode 100644 index aae3c7af..00000000 --- a/old_docs/API_docs_v103/constructors/contacts_resolvedPeer.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.resolvedPeer -description: Resolved peer -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.resolvedPeer -[Back to constructors index](index.md) - - - -Resolved peer - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|peer|[Peer](../types/Peer.md) | Yes|The peer| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_ResolvedPeer](../types/contacts_ResolvedPeer.md) - - -### Example: - -```php -$contacts_resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_resolvedPeer={_='contacts.resolvedPeer', peer=Peer, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v103/constructors/contacts_topPeers.md b/old_docs/API_docs_v103/constructors/contacts_topPeers.md deleted file mode 100644 index 77bc07d3..00000000 --- a/old_docs/API_docs_v103/constructors/contacts_topPeers.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.topPeers -description: Top peers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.topPeers -[Back to constructors index](index.md) - - - -Top peers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|categories|Array of [TopPeerCategoryPeers](../types/TopPeerCategoryPeers.md) | Yes|Categories| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_TopPeers](../types/contacts_TopPeers.md) - - -### Example: - -```php -$contacts_topPeers = ['_' => 'contacts.topPeers', 'categories' => [TopPeerCategoryPeers, TopPeerCategoryPeers], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_topPeers={_='contacts.topPeers', categories={TopPeerCategoryPeers}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v103/constructors/contacts_topPeersDisabled.md b/old_docs/API_docs_v103/constructors/contacts_topPeersDisabled.md deleted file mode 100644 index e359a76d..00000000 --- a/old_docs/API_docs_v103/constructors/contacts_topPeersDisabled.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: contacts.topPeersDisabled -description: Top peers disabled -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.topPeersDisabled -[Back to constructors index](index.md) - - - -Top peers disabled - - - - -### Type: [contacts\_TopPeers](../types/contacts_TopPeers.md) - - -### Example: - -```php -$contacts_topPeersDisabled = ['_' => 'contacts.topPeersDisabled']; -``` - - -Or, if you're into Lua: - -```lua -contacts_topPeersDisabled={_='contacts.topPeersDisabled'} - -``` - - diff --git a/old_docs/API_docs_v103/constructors/contacts_topPeersNotModified.md b/old_docs/API_docs_v103/constructors/contacts_topPeersNotModified.md deleted file mode 100644 index 43eae59d..00000000 --- a/old_docs/API_docs_v103/constructors/contacts_topPeersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: contacts.topPeersNotModified -description: Top peer info hasn't changed -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.topPeersNotModified -[Back to constructors index](index.md) - - - -Top peer info hasn't changed - - - - -### Type: [contacts\_TopPeers](../types/contacts_TopPeers.md) - - -### Example: - -```php -$contacts_topPeersNotModified = ['_' => 'contacts.topPeersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -contacts_topPeersNotModified={_='contacts.topPeersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v103/constructors/help.appUpdate.md b/old_docs/API_docs_v103/constructors/help.appUpdate.md new file mode 100644 index 00000000..90b41636 --- /dev/null +++ b/old_docs/API_docs_v103/constructors/help.appUpdate.md @@ -0,0 +1,44 @@ +--- +title: help.appUpdate +description: An update is available for the application. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.appUpdate +[Back to constructors index](index.md) + + + +An update is available for the application. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|popup|[Bool](../types/Bool.md) | Optional|Popup?| +|id|[int](../types/int.md) | Yes|Update ID| +|version|[string](../types/string.md) | Yes|New version name| +|text|[string](../types/string.md) | Yes|Text description of the update| +|entities|Array of [MessageEntity](../types/MessageEntity.md) | Yes|Entities| +|document|[Document](../types/Document.md) | Optional|Attached document| +|url|[string](../types/string.md) | Optional|Application download URL| + + + +### Type: [help.AppUpdate](../types/help.AppUpdate.md) + + +### Example: + +```php +$help.appUpdate = ['_' => 'help.appUpdate', 'popup' => Bool, 'id' => int, 'version' => 'string', 'text' => 'string', 'entities' => [MessageEntity, MessageEntity], 'document' => Document, 'url' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +help.appUpdate={_='help.appUpdate', popup=Bool, id=int, version='string', text='string', entities={MessageEntity}, document=Document, url='string'} + +``` + + diff --git a/old_docs/API_docs_v103/constructors/help.configSimple.md b/old_docs/API_docs_v103/constructors/help.configSimple.md new file mode 100644 index 00000000..4070e1ce --- /dev/null +++ b/old_docs/API_docs_v103/constructors/help.configSimple.md @@ -0,0 +1,40 @@ +--- +title: help.configSimple +description: Config simple +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.configSimple +[Back to constructors index](index.md) + + + +Config simple + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Date| +|expires|[int](../types/int.md) | Yes|Expires| +|rules|Array of [AccessPointRule](../types/AccessPointRule.md) | Yes|Rules| + + + +### Type: [help.ConfigSimple](../types/help.ConfigSimple.md) + + +### Example: + +```php +$help.configSimple = ['_' => 'help.configSimple', 'date' => int, 'expires' => int, 'rules' => [AccessPointRule, AccessPointRule]]; +``` + + +Or, if you're into Lua: + +```lua +help.configSimple={_='help.configSimple', date=int, expires=int, rules={AccessPointRule}} + +``` + + diff --git a/old_docs/API_docs_v103/constructors/help.deepLinkInfo.md b/old_docs/API_docs_v103/constructors/help.deepLinkInfo.md new file mode 100644 index 00000000..78f70af0 --- /dev/null +++ b/old_docs/API_docs_v103/constructors/help.deepLinkInfo.md @@ -0,0 +1,40 @@ +--- +title: help.deepLinkInfo +description: Deep linking info +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.deepLinkInfo +[Back to constructors index](index.md) + + + +Deep linking info + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|update\_app|[Bool](../types/Bool.md) | Optional|An update of the app is required to parse this link| +|message|[string](../types/string.md) | Yes|Message to show to the user| +|entities|Array of [MessageEntity](../types/MessageEntity.md) | Optional|Entities| + + + +### Type: [help.DeepLinkInfo](../types/help.DeepLinkInfo.md) + + +### Example: + +```php +$help.deepLinkInfo = ['_' => 'help.deepLinkInfo', 'update_app' => Bool, 'message' => 'string', 'entities' => [MessageEntity, MessageEntity]]; +``` + + +Or, if you're into Lua: + +```lua +help.deepLinkInfo={_='help.deepLinkInfo', update_app=Bool, message='string', entities={MessageEntity}} + +``` + + diff --git a/old_docs/API_docs_v103/constructors/help.deepLinkInfoEmpty.md b/old_docs/API_docs_v103/constructors/help.deepLinkInfoEmpty.md new file mode 100644 index 00000000..dc99166c --- /dev/null +++ b/old_docs/API_docs_v103/constructors/help.deepLinkInfoEmpty.md @@ -0,0 +1,33 @@ +--- +title: help.deepLinkInfoEmpty +description: Deep link info empty +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.deepLinkInfoEmpty +[Back to constructors index](index.md) + + + +Deep link info empty + + + + +### Type: [help.DeepLinkInfo](../types/help.DeepLinkInfo.md) + + +### Example: + +```php +$help.deepLinkInfoEmpty = ['_' => 'help.deepLinkInfoEmpty']; +``` + + +Or, if you're into Lua: + +```lua +help.deepLinkInfoEmpty={_='help.deepLinkInfoEmpty'} + +``` + + diff --git a/old_docs/API_docs_v103/constructors/help.inviteText.md b/old_docs/API_docs_v103/constructors/help.inviteText.md new file mode 100644 index 00000000..6a6261c1 --- /dev/null +++ b/old_docs/API_docs_v103/constructors/help.inviteText.md @@ -0,0 +1,38 @@ +--- +title: help.inviteText +description: Text of a text message with an invitation to install application. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.inviteText +[Back to constructors index](index.md) + + + +Text of a text message with an invitation to install application. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|message|[string](../types/string.md) | Yes|Text of a message| + + + +### Type: [help.InviteText](../types/help.InviteText.md) + + +### Example: + +```php +$help.inviteText = ['_' => 'help.inviteText', 'message' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +help.inviteText={_='help.inviteText', message='string'} + +``` + + diff --git a/old_docs/API_docs_v103/constructors/help.noAppUpdate.md b/old_docs/API_docs_v103/constructors/help.noAppUpdate.md new file mode 100644 index 00000000..1b69ac9a --- /dev/null +++ b/old_docs/API_docs_v103/constructors/help.noAppUpdate.md @@ -0,0 +1,33 @@ +--- +title: help.noAppUpdate +description: No updates are available for the application. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.noAppUpdate +[Back to constructors index](index.md) + + + +No updates are available for the application. + + + + +### Type: [help.AppUpdate](../types/help.AppUpdate.md) + + +### Example: + +```php +$help.noAppUpdate = ['_' => 'help.noAppUpdate']; +``` + + +Or, if you're into Lua: + +```lua +help.noAppUpdate={_='help.noAppUpdate'} + +``` + + diff --git a/old_docs/API_docs_v103/constructors/help.passportConfig.md b/old_docs/API_docs_v103/constructors/help.passportConfig.md new file mode 100644 index 00000000..b418b611 --- /dev/null +++ b/old_docs/API_docs_v103/constructors/help.passportConfig.md @@ -0,0 +1,39 @@ +--- +title: help.passportConfig +description: Telegram [passport](https://core.telegram.org/passport) configuration +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.passportConfig +[Back to constructors index](index.md) + + + +Telegram [passport](https://core.telegram.org/passport) configuration + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|countries\_langs|[DataJSON](../types/DataJSON.md) | Yes|Localization| + + + +### Type: [help.PassportConfig](../types/help.PassportConfig.md) + + +### Example: + +```php +$help.passportConfig = ['_' => 'help.passportConfig', 'hash' => int, 'countries_langs' => DataJSON]; +``` + + +Or, if you're into Lua: + +```lua +help.passportConfig={_='help.passportConfig', hash=int, countries_langs=DataJSON} + +``` + + diff --git a/old_docs/API_docs_v103/constructors/help.passportConfigNotModified.md b/old_docs/API_docs_v103/constructors/help.passportConfigNotModified.md new file mode 100644 index 00000000..d48cc55b --- /dev/null +++ b/old_docs/API_docs_v103/constructors/help.passportConfigNotModified.md @@ -0,0 +1,33 @@ +--- +title: help.passportConfigNotModified +description: Password configuration not modified +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.passportConfigNotModified +[Back to constructors index](index.md) + + + +Password configuration not modified + + + + +### Type: [help.PassportConfig](../types/help.PassportConfig.md) + + +### Example: + +```php +$help.passportConfigNotModified = ['_' => 'help.passportConfigNotModified']; +``` + + +Or, if you're into Lua: + +```lua +help.passportConfigNotModified={_='help.passportConfigNotModified'} + +``` + + diff --git a/old_docs/API_docs_v103/constructors/help.proxyDataEmpty.md b/old_docs/API_docs_v103/constructors/help.proxyDataEmpty.md new file mode 100644 index 00000000..66fd63ac --- /dev/null +++ b/old_docs/API_docs_v103/constructors/help.proxyDataEmpty.md @@ -0,0 +1,38 @@ +--- +title: help.proxyDataEmpty +description: No proxy was used to connect to tg (or none was provided to [initConnection](../methods/initConnection.md), or the used proxy doesn't have a promotion channel associated to it) +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.proxyDataEmpty +[Back to constructors index](index.md) + + + +No proxy was used to connect to tg (or none was provided to [initConnection](../methods/initConnection.md), or the used proxy doesn't have a promotion channel associated to it) + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|expires|[int](../types/int.md) | Yes|Expiration date of proxy info, will have to be refetched in `expires` seconds| + + + +### Type: [help.ProxyData](../types/help.ProxyData.md) + + +### Example: + +```php +$help.proxyDataEmpty = ['_' => 'help.proxyDataEmpty', 'expires' => int]; +``` + + +Or, if you're into Lua: + +```lua +help.proxyDataEmpty={_='help.proxyDataEmpty', expires=int} + +``` + + diff --git a/old_docs/API_docs_v103/constructors/help.proxyDataPromo.md b/old_docs/API_docs_v103/constructors/help.proxyDataPromo.md new file mode 100644 index 00000000..eb32aabd --- /dev/null +++ b/old_docs/API_docs_v103/constructors/help.proxyDataPromo.md @@ -0,0 +1,41 @@ +--- +title: help.proxyDataPromo +description: Promotion channel associated to a certain MTProxy +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.proxyDataPromo +[Back to constructors index](index.md) + + + +Promotion channel associated to a certain MTProxy + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|expires|[int](../types/int.md) | Yes|Expiration date of proxy info, will have to be refetched in `expires` seconds| +|peer|[Peer](../types/Peer.md) | Yes|The promoted channel| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [help.ProxyData](../types/help.ProxyData.md) + + +### Example: + +```php +$help.proxyDataPromo = ['_' => 'help.proxyDataPromo', 'expires' => int, 'peer' => Peer, 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +help.proxyDataPromo={_='help.proxyDataPromo', expires=int, peer=Peer, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v103/constructors/help.recentMeUrls.md b/old_docs/API_docs_v103/constructors/help.recentMeUrls.md new file mode 100644 index 00000000..711407b7 --- /dev/null +++ b/old_docs/API_docs_v103/constructors/help.recentMeUrls.md @@ -0,0 +1,40 @@ +--- +title: help.recentMeUrls +description: Recent t.me URLs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.recentMeUrls +[Back to constructors index](index.md) + + + +Recent t.me URLs + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|urls|Array of [RecentMeUrl](../types/RecentMeUrl.md) | Yes|URLs| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [help.RecentMeUrls](../types/help.RecentMeUrls.md) + + +### Example: + +```php +$help.recentMeUrls = ['_' => 'help.recentMeUrls', 'urls' => [RecentMeUrl, RecentMeUrl], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +help.recentMeUrls={_='help.recentMeUrls', urls={RecentMeUrl}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v103/constructors/help.support.md b/old_docs/API_docs_v103/constructors/help.support.md new file mode 100644 index 00000000..4d4f85fb --- /dev/null +++ b/old_docs/API_docs_v103/constructors/help.support.md @@ -0,0 +1,39 @@ +--- +title: help.support +description: Info on support user. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.support +[Back to constructors index](index.md) + + + +Info on support user. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_number|[string](../types/string.md) | Yes|Phone number| +|user|[User](../types/User.md) | Optional|User| + + + +### Type: [help.Support](../types/help.Support.md) + + +### Example: + +```php +$help.support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => User]; +``` + + +Or, if you're into Lua: + +```lua +help.support={_='help.support', phone_number='string', user=User} + +``` + + diff --git a/old_docs/API_docs_v103/constructors/help.supportName.md b/old_docs/API_docs_v103/constructors/help.supportName.md new file mode 100644 index 00000000..3d66c8d9 --- /dev/null +++ b/old_docs/API_docs_v103/constructors/help.supportName.md @@ -0,0 +1,38 @@ +--- +title: help.supportName +description: Localized name for telegram support +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.supportName +[Back to constructors index](index.md) + + + +Localized name for telegram support + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|name|[string](../types/string.md) | Yes|Localized name| + + + +### Type: [help.SupportName](../types/help.SupportName.md) + + +### Example: + +```php +$help.supportName = ['_' => 'help.supportName', 'name' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +help.supportName={_='help.supportName', name='string'} + +``` + + diff --git a/old_docs/API_docs_v103/constructors/help.termsOfService.md b/old_docs/API_docs_v103/constructors/help.termsOfService.md new file mode 100644 index 00000000..61ffb70a --- /dev/null +++ b/old_docs/API_docs_v103/constructors/help.termsOfService.md @@ -0,0 +1,42 @@ +--- +title: help.termsOfService +description: Info about the latest telegram Terms Of Service +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.termsOfService +[Back to constructors index](index.md) + + + +Info about the latest telegram Terms Of Service + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|popup|[Bool](../types/Bool.md) | Optional|Whether a prompt must be showed to the user, in order to accept the new terms.| +|id|[DataJSON](../types/DataJSON.md) | Yes|ID of the new terms| +|text|[string](../types/string.md) | Yes|Text of the new terms| +|entities|Array of [MessageEntity](../types/MessageEntity.md) | Yes|Entities| +|min\_age\_confirm|[int](../types/int.md) | Optional|Minimum age required to sign up to telegram, the user must confirm that they is older than the minimum age.| + + + +### Type: [help.TermsOfService](../types/help.TermsOfService.md) + + +### Example: + +```php +$help.termsOfService = ['_' => 'help.termsOfService', 'popup' => Bool, 'id' => DataJSON, 'text' => 'string', 'entities' => [MessageEntity, MessageEntity], 'min_age_confirm' => int]; +``` + + +Or, if you're into Lua: + +```lua +help.termsOfService={_='help.termsOfService', popup=Bool, id=DataJSON, text='string', entities={MessageEntity}, min_age_confirm=int} + +``` + + diff --git a/old_docs/API_docs_v103/constructors/help.termsOfServiceUpdate.md b/old_docs/API_docs_v103/constructors/help.termsOfServiceUpdate.md new file mode 100644 index 00000000..058a3655 --- /dev/null +++ b/old_docs/API_docs_v103/constructors/help.termsOfServiceUpdate.md @@ -0,0 +1,39 @@ +--- +title: help.termsOfServiceUpdate +description: Info about an update of telegram's terms of service. If the terms of service are declined, then the [account.deleteAccount](../methods/account.deleteAccount.md) method should be called with the reason "Decline ToS update" +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.termsOfServiceUpdate +[Back to constructors index](index.md) + + + +Info about an update of telegram's terms of service. If the terms of service are declined, then the [account.deleteAccount](../methods/account.deleteAccount.md) method should be called with the reason "Decline ToS update" + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|expires|[int](../types/int.md) | Yes|New TOS updates will have to be queried using [help.getTermsOfServiceUpdate](../methods/help.getTermsOfServiceUpdate.md) in `expires` seconds| +|terms\_of\_service|[help.TermsOfService](../constructors/help.TermsOfService.md) | Yes|New terms of service| + + + +### Type: [help.TermsOfServiceUpdate](../types/help.TermsOfServiceUpdate.md) + + +### Example: + +```php +$help.termsOfServiceUpdate = ['_' => 'help.termsOfServiceUpdate', 'expires' => int, 'terms_of_service' => help.TermsOfService]; +``` + + +Or, if you're into Lua: + +```lua +help.termsOfServiceUpdate={_='help.termsOfServiceUpdate', expires=int, terms_of_service=help.TermsOfService} + +``` + + diff --git a/old_docs/API_docs_v103/constructors/help.termsOfServiceUpdateEmpty.md b/old_docs/API_docs_v103/constructors/help.termsOfServiceUpdateEmpty.md new file mode 100644 index 00000000..8213a41e --- /dev/null +++ b/old_docs/API_docs_v103/constructors/help.termsOfServiceUpdateEmpty.md @@ -0,0 +1,38 @@ +--- +title: help.termsOfServiceUpdateEmpty +description: No changes were made to telegram's terms of service +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.termsOfServiceUpdateEmpty +[Back to constructors index](index.md) + + + +No changes were made to telegram's terms of service + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|expires|[int](../types/int.md) | Yes|New TOS updates will have to be queried using [help.getTermsOfServiceUpdate](../methods/help.getTermsOfServiceUpdate.md) in `expires` seconds| + + + +### Type: [help.TermsOfServiceUpdate](../types/help.TermsOfServiceUpdate.md) + + +### Example: + +```php +$help.termsOfServiceUpdateEmpty = ['_' => 'help.termsOfServiceUpdateEmpty', 'expires' => int]; +``` + + +Or, if you're into Lua: + +```lua +help.termsOfServiceUpdateEmpty={_='help.termsOfServiceUpdateEmpty', expires=int} + +``` + + diff --git a/old_docs/API_docs_v103/constructors/help.userInfo.md b/old_docs/API_docs_v103/constructors/help.userInfo.md new file mode 100644 index 00000000..172df165 --- /dev/null +++ b/old_docs/API_docs_v103/constructors/help.userInfo.md @@ -0,0 +1,41 @@ +--- +title: help.userInfo +description: Internal use +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.userInfo +[Back to constructors index](index.md) + + + +Internal use + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|message|[string](../types/string.md) | Yes|Info| +|entities|Array of [MessageEntity](../types/MessageEntity.md) | Yes|Entities| +|author|[string](../types/string.md) | Yes|Author| +|date|[int](../types/int.md) | Yes|Date| + + + +### Type: [help.UserInfo](../types/help.UserInfo.md) + + +### Example: + +```php +$help.userInfo = ['_' => 'help.userInfo', 'message' => 'string', 'entities' => [MessageEntity, MessageEntity], 'author' => 'string', 'date' => int]; +``` + + +Or, if you're into Lua: + +```lua +help.userInfo={_='help.userInfo', message='string', entities={MessageEntity}, author='string', date=int} + +``` + + diff --git a/old_docs/API_docs_v103/constructors/help.userInfoEmpty.md b/old_docs/API_docs_v103/constructors/help.userInfoEmpty.md new file mode 100644 index 00000000..c284d602 --- /dev/null +++ b/old_docs/API_docs_v103/constructors/help.userInfoEmpty.md @@ -0,0 +1,33 @@ +--- +title: help.userInfoEmpty +description: Internal use +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.userInfoEmpty +[Back to constructors index](index.md) + + + +Internal use + + + + +### Type: [help.UserInfo](../types/help.UserInfo.md) + + +### Example: + +```php +$help.userInfoEmpty = ['_' => 'help.userInfoEmpty']; +``` + + +Or, if you're into Lua: + +```lua +help.userInfoEmpty={_='help.userInfoEmpty'} + +``` + + diff --git a/old_docs/API_docs_v103/constructors/help_appUpdate.md b/old_docs/API_docs_v103/constructors/help_appUpdate.md deleted file mode 100644 index 67960b34..00000000 --- a/old_docs/API_docs_v103/constructors/help_appUpdate.md +++ /dev/null @@ -1,44 +0,0 @@ ---- -title: help.appUpdate -description: An update is available for the application. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.appUpdate -[Back to constructors index](index.md) - - - -An update is available for the application. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|popup|[Bool](../types/Bool.md) | Optional|Popup?| -|id|[int](../types/int.md) | Yes|Update ID| -|version|[string](../types/string.md) | Yes|New version name| -|text|[string](../types/string.md) | Yes|Text description of the update| -|entities|Array of [MessageEntity](../types/MessageEntity.md) | Yes|Entities| -|document|[Document](../types/Document.md) | Optional|Attached document| -|url|[string](../types/string.md) | Optional|Application download URL| - - - -### Type: [help\_AppUpdate](../types/help_AppUpdate.md) - - -### Example: - -```php -$help_appUpdate = ['_' => 'help.appUpdate', 'popup' => Bool, 'id' => int, 'version' => 'string', 'text' => 'string', 'entities' => [MessageEntity, MessageEntity], 'document' => Document, 'url' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -help_appUpdate={_='help.appUpdate', popup=Bool, id=int, version='string', text='string', entities={MessageEntity}, document=Document, url='string'} - -``` - - diff --git a/old_docs/API_docs_v103/constructors/help_configSimple.md b/old_docs/API_docs_v103/constructors/help_configSimple.md deleted file mode 100644 index 8c07ec9b..00000000 --- a/old_docs/API_docs_v103/constructors/help_configSimple.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: help.configSimple -description: Config simple -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.configSimple -[Back to constructors index](index.md) - - - -Config simple - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Date| -|expires|[int](../types/int.md) | Yes|Expires| -|rules|Array of [AccessPointRule](../types/AccessPointRule.md) | Yes|Rules| - - - -### Type: [help\_ConfigSimple](../types/help_ConfigSimple.md) - - -### Example: - -```php -$help_configSimple = ['_' => 'help.configSimple', 'date' => int, 'expires' => int, 'rules' => [AccessPointRule, AccessPointRule]]; -``` - - -Or, if you're into Lua: - -```lua -help_configSimple={_='help.configSimple', date=int, expires=int, rules={AccessPointRule}} - -``` - - diff --git a/old_docs/API_docs_v103/constructors/help_deepLinkInfo.md b/old_docs/API_docs_v103/constructors/help_deepLinkInfo.md deleted file mode 100644 index bcc24ecd..00000000 --- a/old_docs/API_docs_v103/constructors/help_deepLinkInfo.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: help.deepLinkInfo -description: Deep linking info -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.deepLinkInfo -[Back to constructors index](index.md) - - - -Deep linking info - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|update\_app|[Bool](../types/Bool.md) | Optional|An update of the app is required to parse this link| -|message|[string](../types/string.md) | Yes|Message to show to the user| -|entities|Array of [MessageEntity](../types/MessageEntity.md) | Optional|Entities| - - - -### Type: [help\_DeepLinkInfo](../types/help_DeepLinkInfo.md) - - -### Example: - -```php -$help_deepLinkInfo = ['_' => 'help.deepLinkInfo', 'update_app' => Bool, 'message' => 'string', 'entities' => [MessageEntity, MessageEntity]]; -``` - - -Or, if you're into Lua: - -```lua -help_deepLinkInfo={_='help.deepLinkInfo', update_app=Bool, message='string', entities={MessageEntity}} - -``` - - diff --git a/old_docs/API_docs_v103/constructors/help_deepLinkInfoEmpty.md b/old_docs/API_docs_v103/constructors/help_deepLinkInfoEmpty.md deleted file mode 100644 index ab876dd5..00000000 --- a/old_docs/API_docs_v103/constructors/help_deepLinkInfoEmpty.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: help.deepLinkInfoEmpty -description: Deep link info empty -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.deepLinkInfoEmpty -[Back to constructors index](index.md) - - - -Deep link info empty - - - - -### Type: [help\_DeepLinkInfo](../types/help_DeepLinkInfo.md) - - -### Example: - -```php -$help_deepLinkInfoEmpty = ['_' => 'help.deepLinkInfoEmpty']; -``` - - -Or, if you're into Lua: - -```lua -help_deepLinkInfoEmpty={_='help.deepLinkInfoEmpty'} - -``` - - diff --git a/old_docs/API_docs_v103/constructors/help_inviteText.md b/old_docs/API_docs_v103/constructors/help_inviteText.md deleted file mode 100644 index b8317ce3..00000000 --- a/old_docs/API_docs_v103/constructors/help_inviteText.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: help.inviteText -description: Text of a text message with an invitation to install application. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.inviteText -[Back to constructors index](index.md) - - - -Text of a text message with an invitation to install application. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|message|[string](../types/string.md) | Yes|Text of a message| - - - -### Type: [help\_InviteText](../types/help_InviteText.md) - - -### Example: - -```php -$help_inviteText = ['_' => 'help.inviteText', 'message' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -help_inviteText={_='help.inviteText', message='string'} - -``` - - diff --git a/old_docs/API_docs_v103/constructors/help_noAppUpdate.md b/old_docs/API_docs_v103/constructors/help_noAppUpdate.md deleted file mode 100644 index 51505e52..00000000 --- a/old_docs/API_docs_v103/constructors/help_noAppUpdate.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: help.noAppUpdate -description: No updates are available for the application. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.noAppUpdate -[Back to constructors index](index.md) - - - -No updates are available for the application. - - - - -### Type: [help\_AppUpdate](../types/help_AppUpdate.md) - - -### Example: - -```php -$help_noAppUpdate = ['_' => 'help.noAppUpdate']; -``` - - -Or, if you're into Lua: - -```lua -help_noAppUpdate={_='help.noAppUpdate'} - -``` - - diff --git a/old_docs/API_docs_v103/constructors/help_passportConfig.md b/old_docs/API_docs_v103/constructors/help_passportConfig.md deleted file mode 100644 index 9722c925..00000000 --- a/old_docs/API_docs_v103/constructors/help_passportConfig.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: help.passportConfig -description: Telegram [passport](https://core.telegram.org/passport) configuration -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.passportConfig -[Back to constructors index](index.md) - - - -Telegram [passport](https://core.telegram.org/passport) configuration - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|countries\_langs|[DataJSON](../types/DataJSON.md) | Yes|Localization| - - - -### Type: [help\_PassportConfig](../types/help_PassportConfig.md) - - -### Example: - -```php -$help_passportConfig = ['_' => 'help.passportConfig', 'hash' => int, 'countries_langs' => DataJSON]; -``` - - -Or, if you're into Lua: - -```lua -help_passportConfig={_='help.passportConfig', hash=int, countries_langs=DataJSON} - -``` - - diff --git a/old_docs/API_docs_v103/constructors/help_passportConfigNotModified.md b/old_docs/API_docs_v103/constructors/help_passportConfigNotModified.md deleted file mode 100644 index af7769aa..00000000 --- a/old_docs/API_docs_v103/constructors/help_passportConfigNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: help.passportConfigNotModified -description: Password configuration not modified -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.passportConfigNotModified -[Back to constructors index](index.md) - - - -Password configuration not modified - - - - -### Type: [help\_PassportConfig](../types/help_PassportConfig.md) - - -### Example: - -```php -$help_passportConfigNotModified = ['_' => 'help.passportConfigNotModified']; -``` - - -Or, if you're into Lua: - -```lua -help_passportConfigNotModified={_='help.passportConfigNotModified'} - -``` - - diff --git a/old_docs/API_docs_v103/constructors/help_proxyDataEmpty.md b/old_docs/API_docs_v103/constructors/help_proxyDataEmpty.md deleted file mode 100644 index 96efddd3..00000000 --- a/old_docs/API_docs_v103/constructors/help_proxyDataEmpty.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: help.proxyDataEmpty -description: No proxy was used to connect to tg (or none was provided to [initConnection](../methods/initConnection.md), or the used proxy doesn't have a promotion channel associated to it) -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.proxyDataEmpty -[Back to constructors index](index.md) - - - -No proxy was used to connect to tg (or none was provided to [initConnection](../methods/initConnection.md), or the used proxy doesn't have a promotion channel associated to it) - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|expires|[int](../types/int.md) | Yes|Expiration date of proxy info, will have to be refetched in `expires` seconds| - - - -### Type: [help\_ProxyData](../types/help_ProxyData.md) - - -### Example: - -```php -$help_proxyDataEmpty = ['_' => 'help.proxyDataEmpty', 'expires' => int]; -``` - - -Or, if you're into Lua: - -```lua -help_proxyDataEmpty={_='help.proxyDataEmpty', expires=int} - -``` - - diff --git a/old_docs/API_docs_v103/constructors/help_proxyDataPromo.md b/old_docs/API_docs_v103/constructors/help_proxyDataPromo.md deleted file mode 100644 index 54ca7edb..00000000 --- a/old_docs/API_docs_v103/constructors/help_proxyDataPromo.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: help.proxyDataPromo -description: Promotion channel associated to a certain MTProxy -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.proxyDataPromo -[Back to constructors index](index.md) - - - -Promotion channel associated to a certain MTProxy - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|expires|[int](../types/int.md) | Yes|Expiration date of proxy info, will have to be refetched in `expires` seconds| -|peer|[Peer](../types/Peer.md) | Yes|The promoted channel| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [help\_ProxyData](../types/help_ProxyData.md) - - -### Example: - -```php -$help_proxyDataPromo = ['_' => 'help.proxyDataPromo', 'expires' => int, 'peer' => Peer, 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -help_proxyDataPromo={_='help.proxyDataPromo', expires=int, peer=Peer, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v103/constructors/help_recentMeUrls.md b/old_docs/API_docs_v103/constructors/help_recentMeUrls.md deleted file mode 100644 index 7bf592ef..00000000 --- a/old_docs/API_docs_v103/constructors/help_recentMeUrls.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: help.recentMeUrls -description: Recent t.me URLs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.recentMeUrls -[Back to constructors index](index.md) - - - -Recent t.me URLs - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|urls|Array of [RecentMeUrl](../types/RecentMeUrl.md) | Yes|URLs| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [help\_RecentMeUrls](../types/help_RecentMeUrls.md) - - -### Example: - -```php -$help_recentMeUrls = ['_' => 'help.recentMeUrls', 'urls' => [RecentMeUrl, RecentMeUrl], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -help_recentMeUrls={_='help.recentMeUrls', urls={RecentMeUrl}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v103/constructors/help_support.md b/old_docs/API_docs_v103/constructors/help_support.md deleted file mode 100644 index 148f7f42..00000000 --- a/old_docs/API_docs_v103/constructors/help_support.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: help.support -description: Info on support user. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.support -[Back to constructors index](index.md) - - - -Info on support user. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_number|[string](../types/string.md) | Yes|Phone number| -|user|[User](../types/User.md) | Optional|User| - - - -### Type: [help\_Support](../types/help_Support.md) - - -### Example: - -```php -$help_support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => User]; -``` - - -Or, if you're into Lua: - -```lua -help_support={_='help.support', phone_number='string', user=User} - -``` - - diff --git a/old_docs/API_docs_v103/constructors/help_supportName.md b/old_docs/API_docs_v103/constructors/help_supportName.md deleted file mode 100644 index b4bc77d4..00000000 --- a/old_docs/API_docs_v103/constructors/help_supportName.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: help.supportName -description: Localized name for telegram support -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.supportName -[Back to constructors index](index.md) - - - -Localized name for telegram support - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|name|[string](../types/string.md) | Yes|Localized name| - - - -### Type: [help\_SupportName](../types/help_SupportName.md) - - -### Example: - -```php -$help_supportName = ['_' => 'help.supportName', 'name' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -help_supportName={_='help.supportName', name='string'} - -``` - - diff --git a/old_docs/API_docs_v103/constructors/help_termsOfService.md b/old_docs/API_docs_v103/constructors/help_termsOfService.md deleted file mode 100644 index f9d496e5..00000000 --- a/old_docs/API_docs_v103/constructors/help_termsOfService.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: help.termsOfService -description: Info about the latest telegram Terms Of Service -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.termsOfService -[Back to constructors index](index.md) - - - -Info about the latest telegram Terms Of Service - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|popup|[Bool](../types/Bool.md) | Optional|Whether a prompt must be showed to the user, in order to accept the new terms.| -|id|[DataJSON](../types/DataJSON.md) | Yes|ID of the new terms| -|text|[string](../types/string.md) | Yes|Text of the new terms| -|entities|Array of [MessageEntity](../types/MessageEntity.md) | Yes|Entities| -|min\_age\_confirm|[int](../types/int.md) | Optional|Minimum age required to sign up to telegram, the user must confirm that they is older than the minimum age.| - - - -### Type: [help\_TermsOfService](../types/help_TermsOfService.md) - - -### Example: - -```php -$help_termsOfService = ['_' => 'help.termsOfService', 'popup' => Bool, 'id' => DataJSON, 'text' => 'string', 'entities' => [MessageEntity, MessageEntity], 'min_age_confirm' => int]; -``` - - -Or, if you're into Lua: - -```lua -help_termsOfService={_='help.termsOfService', popup=Bool, id=DataJSON, text='string', entities={MessageEntity}, min_age_confirm=int} - -``` - - diff --git a/old_docs/API_docs_v103/constructors/help_termsOfServiceUpdate.md b/old_docs/API_docs_v103/constructors/help_termsOfServiceUpdate.md deleted file mode 100644 index c9e80319..00000000 --- a/old_docs/API_docs_v103/constructors/help_termsOfServiceUpdate.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: help.termsOfServiceUpdate -description: Info about an update of telegram's terms of service. If the terms of service are declined, then the [account.deleteAccount](../methods/account.deleteAccount.md) method should be called with the reason "Decline ToS update" -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.termsOfServiceUpdate -[Back to constructors index](index.md) - - - -Info about an update of telegram's terms of service. If the terms of service are declined, then the [account.deleteAccount](../methods/account.deleteAccount.md) method should be called with the reason "Decline ToS update" - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|expires|[int](../types/int.md) | Yes|New TOS updates will have to be queried using [help.getTermsOfServiceUpdate](../methods/help.getTermsOfServiceUpdate.md) in `expires` seconds| -|terms\_of\_service|[help\_TermsOfService](../types/help_TermsOfService.md) | Yes|New terms of service| - - - -### Type: [help\_TermsOfServiceUpdate](../types/help_TermsOfServiceUpdate.md) - - -### Example: - -```php -$help_termsOfServiceUpdate = ['_' => 'help.termsOfServiceUpdate', 'expires' => int, 'terms_of_service' => help_TermsOfService]; -``` - - -Or, if you're into Lua: - -```lua -help_termsOfServiceUpdate={_='help.termsOfServiceUpdate', expires=int, terms_of_service=help_TermsOfService} - -``` - - diff --git a/old_docs/API_docs_v103/constructors/help_termsOfServiceUpdateEmpty.md b/old_docs/API_docs_v103/constructors/help_termsOfServiceUpdateEmpty.md deleted file mode 100644 index d4d753fc..00000000 --- a/old_docs/API_docs_v103/constructors/help_termsOfServiceUpdateEmpty.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: help.termsOfServiceUpdateEmpty -description: No changes were made to telegram's terms of service -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.termsOfServiceUpdateEmpty -[Back to constructors index](index.md) - - - -No changes were made to telegram's terms of service - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|expires|[int](../types/int.md) | Yes|New TOS updates will have to be queried using [help.getTermsOfServiceUpdate](../methods/help.getTermsOfServiceUpdate.md) in `expires` seconds| - - - -### Type: [help\_TermsOfServiceUpdate](../types/help_TermsOfServiceUpdate.md) - - -### Example: - -```php -$help_termsOfServiceUpdateEmpty = ['_' => 'help.termsOfServiceUpdateEmpty', 'expires' => int]; -``` - - -Or, if you're into Lua: - -```lua -help_termsOfServiceUpdateEmpty={_='help.termsOfServiceUpdateEmpty', expires=int} - -``` - - diff --git a/old_docs/API_docs_v103/constructors/help_userInfo.md b/old_docs/API_docs_v103/constructors/help_userInfo.md deleted file mode 100644 index a444124b..00000000 --- a/old_docs/API_docs_v103/constructors/help_userInfo.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: help.userInfo -description: Internal use -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.userInfo -[Back to constructors index](index.md) - - - -Internal use - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|message|[string](../types/string.md) | Yes|Info| -|entities|Array of [MessageEntity](../types/MessageEntity.md) | Yes|Entities| -|author|[string](../types/string.md) | Yes|Author| -|date|[int](../types/int.md) | Yes|Date| - - - -### Type: [help\_UserInfo](../types/help_UserInfo.md) - - -### Example: - -```php -$help_userInfo = ['_' => 'help.userInfo', 'message' => 'string', 'entities' => [MessageEntity, MessageEntity], 'author' => 'string', 'date' => int]; -``` - - -Or, if you're into Lua: - -```lua -help_userInfo={_='help.userInfo', message='string', entities={MessageEntity}, author='string', date=int} - -``` - - diff --git a/old_docs/API_docs_v103/constructors/help_userInfoEmpty.md b/old_docs/API_docs_v103/constructors/help_userInfoEmpty.md deleted file mode 100644 index 66690c62..00000000 --- a/old_docs/API_docs_v103/constructors/help_userInfoEmpty.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: help.userInfoEmpty -description: Internal use -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.userInfoEmpty -[Back to constructors index](index.md) - - - -Internal use - - - - -### Type: [help\_UserInfo](../types/help_UserInfo.md) - - -### Example: - -```php -$help_userInfoEmpty = ['_' => 'help.userInfoEmpty']; -``` - - -Or, if you're into Lua: - -```lua -help_userInfoEmpty={_='help.userInfoEmpty'} - -``` - - diff --git a/old_docs/API_docs_v103/constructors/messages.affectedHistory.md b/old_docs/API_docs_v103/constructors/messages.affectedHistory.md new file mode 100644 index 00000000..5fc8acec --- /dev/null +++ b/old_docs/API_docs_v103/constructors/messages.affectedHistory.md @@ -0,0 +1,40 @@ +--- +title: messages.affectedHistory +description: Affected part of communication history with the user or in a chat. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.affectedHistory +[Back to constructors index](index.md) + + + +Affected part of communication history with the user or in a chat. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| +|pts\_count|[int](../types/int.md) | Yes|Number of affected events| +|offset|[int](../types/int.md) | Yes|If a parameter contains positive value, it is necessary to repeat the method call using the given value; during the proceeding of all the history the value itself shall gradually decrease| + + + +### Type: [messages.AffectedHistory](../types/messages.AffectedHistory.md) + + +### Example: + +```php +$messages.affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.affectedHistory={_='messages.affectedHistory', pts=int, pts_count=int, offset=int} + +``` + + diff --git a/old_docs/API_docs_v103/constructors/messages.affectedMessages.md b/old_docs/API_docs_v103/constructors/messages.affectedMessages.md new file mode 100644 index 00000000..a0e60bdf --- /dev/null +++ b/old_docs/API_docs_v103/constructors/messages.affectedMessages.md @@ -0,0 +1,39 @@ +--- +title: messages.affectedMessages +description: Events affected by operation +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.affectedMessages +[Back to constructors index](index.md) + + + +Events affected by operation + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|[Event count after generation](https://core.telegram.org/api/updates)| +|pts\_count|[int](../types/int.md) | Yes|[Number of events that were generated](https://core.telegram.org/api/updates)| + + + +### Type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) + + +### Example: + +```php +$messages.affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.affectedMessages={_='messages.affectedMessages', pts=int, pts_count=int} + +``` + + diff --git a/old_docs/API_docs_v103/constructors/messages.allStickers.md b/old_docs/API_docs_v103/constructors/messages.allStickers.md new file mode 100644 index 00000000..5f13bfde --- /dev/null +++ b/old_docs/API_docs_v103/constructors/messages.allStickers.md @@ -0,0 +1,39 @@ +--- +title: messages.allStickers +description: Info about all installed stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.allStickers +[Back to constructors index](index.md) + + + +Info about all installed stickers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|sets|Array of [StickerSet](../types/StickerSet.md) | Yes|Sets| + + + +### Type: [messages.AllStickers](../types/messages.AllStickers.md) + + +### Example: + +```php +$messages.allStickers = ['_' => 'messages.allStickers', 'hash' => int, 'sets' => [StickerSet, StickerSet]]; +``` + + +Or, if you're into Lua: + +```lua +messages.allStickers={_='messages.allStickers', hash=int, sets={StickerSet}} + +``` + + diff --git a/old_docs/API_docs_v103/constructors/messages.allStickersNotModified.md b/old_docs/API_docs_v103/constructors/messages.allStickersNotModified.md new file mode 100644 index 00000000..d3db088b --- /dev/null +++ b/old_docs/API_docs_v103/constructors/messages.allStickersNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.allStickersNotModified +description: Info about all installed stickers hasn't changed +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.allStickersNotModified +[Back to constructors index](index.md) + + + +Info about all installed stickers hasn't changed + + + + +### Type: [messages.AllStickers](../types/messages.AllStickers.md) + + +### Example: + +```php +$messages.allStickersNotModified = ['_' => 'messages.allStickersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.allStickersNotModified={_='messages.allStickersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v103/constructors/messages.archivedStickers.md b/old_docs/API_docs_v103/constructors/messages.archivedStickers.md new file mode 100644 index 00000000..6ad9927c --- /dev/null +++ b/old_docs/API_docs_v103/constructors/messages.archivedStickers.md @@ -0,0 +1,39 @@ +--- +title: messages.archivedStickers +description: Archived stickersets +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.archivedStickers +[Back to constructors index](index.md) + + + +Archived stickersets + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Number of archived stickers| +|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| + + + +### Type: [messages.ArchivedStickers](../types/messages.ArchivedStickers.md) + + +### Example: + +```php +$messages.archivedStickers = ['_' => 'messages.archivedStickers', 'count' => int, 'sets' => [StickerSetCovered, StickerSetCovered]]; +``` + + +Or, if you're into Lua: + +```lua +messages.archivedStickers={_='messages.archivedStickers', count=int, sets={StickerSetCovered}} + +``` + + diff --git a/old_docs/API_docs_v103/constructors/messages.botCallbackAnswer.md b/old_docs/API_docs_v103/constructors/messages.botCallbackAnswer.md new file mode 100644 index 00000000..08bfeba5 --- /dev/null +++ b/old_docs/API_docs_v103/constructors/messages.botCallbackAnswer.md @@ -0,0 +1,43 @@ +--- +title: messages.botCallbackAnswer +description: Callback answer sent by the bot in response to a button press +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.botCallbackAnswer +[Back to constructors index](index.md) + + + +Callback answer sent by the bot in response to a button press + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|alert|[Bool](../types/Bool.md) | Optional|Whether an alert should be shown to the user instead of a toast notification| +|has\_url|[Bool](../types/Bool.md) | Optional|Whether an URL is present| +|native\_ui|[Bool](../types/Bool.md) | Optional|Whether to show games in WebView or in native UI.| +|message|[string](../types/string.md) | Optional|Alert to show| +|url|[string](../types/string.md) | Optional|URL to open| +|cache\_time|[int](../types/int.md) | Yes|For how long should this answer be cached| + + + +### Type: [messages.BotCallbackAnswer](../types/messages.BotCallbackAnswer.md) + + +### Example: + +```php +$messages.botCallbackAnswer = ['_' => 'messages.botCallbackAnswer', 'alert' => Bool, 'has_url' => Bool, 'native_ui' => Bool, 'message' => 'string', 'url' => 'string', 'cache_time' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.botCallbackAnswer={_='messages.botCallbackAnswer', alert=Bool, has_url=Bool, native_ui=Bool, message='string', url='string', cache_time=int} + +``` + + diff --git a/old_docs/API_docs_v103/constructors/messages.botResults.md b/old_docs/API_docs_v103/constructors/messages.botResults.md new file mode 100644 index 00000000..7b6dcfba --- /dev/null +++ b/old_docs/API_docs_v103/constructors/messages.botResults.md @@ -0,0 +1,44 @@ +--- +title: messages.botResults +description: Result of a query to an inline bot +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.botResults +[Back to constructors index](index.md) + + + +Result of a query to an inline bot + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|gallery|[Bool](../types/Bool.md) | Optional|Whether the result is a picture gallery| +|query\_id|[long](../types/long.md) | Yes|Query ID| +|next\_offset|[string](../types/string.md) | Optional|The next offset to use when navigating through results| +|switch\_pm|[InlineBotSwitchPM](../types/InlineBotSwitchPM.md) | Optional|Whether the bot requested the user to message him in private| +|results|Array of [BotInlineResult](../types/BotInlineResult.md) | Yes|Results| +|cache\_time|[int](../types/int.md) | Yes|Caching validity of the results| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.BotResults](../types/messages.BotResults.md) + + +### Example: + +```php +$messages.botResults = ['_' => 'messages.botResults', 'gallery' => Bool, 'query_id' => long, 'next_offset' => 'string', 'switch_pm' => InlineBotSwitchPM, 'results' => [BotInlineResult, BotInlineResult], 'cache_time' => int, 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.botResults={_='messages.botResults', gallery=Bool, query_id=long, next_offset='string', switch_pm=InlineBotSwitchPM, results={BotInlineResult}, cache_time=int, users={User}} + +``` + + diff --git a/old_docs/API_docs_v103/constructors/messages.channelMessages.md b/old_docs/API_docs_v103/constructors/messages.channelMessages.md new file mode 100644 index 00000000..8a8ca98a --- /dev/null +++ b/old_docs/API_docs_v103/constructors/messages.channelMessages.md @@ -0,0 +1,43 @@ +--- +title: messages.channelMessages +description: Channel messages +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.channelMessages +[Back to constructors index](index.md) + + + +Channel messages + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|inexact|[Bool](../types/Bool.md) | Optional|If set, returned results may be inexact| +|pts|[int](../types/int.md) | Yes|[Event count after generation](https://core.telegram.org/api/updates)| +|count|[int](../types/int.md) | Yes|Total number of results were found server-side (may not be all included here)| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Messages](../types/messages.Messages.md) + + +### Example: + +```php +$messages.channelMessages = ['_' => 'messages.channelMessages', 'inexact' => Bool, 'pts' => int, 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.channelMessages={_='messages.channelMessages', inexact=Bool, pts=int, count=int, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v103/constructors/messages.chatFull.md b/old_docs/API_docs_v103/constructors/messages.chatFull.md new file mode 100644 index 00000000..3906cc54 --- /dev/null +++ b/old_docs/API_docs_v103/constructors/messages.chatFull.md @@ -0,0 +1,40 @@ +--- +title: messages.chatFull +description: Extended info on chat and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.chatFull +[Back to constructors index](index.md) + + + +Extended info on chat and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|full\_chat|[ChatFull](../types/ChatFull.md) | Yes|Extended info on a chat| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.ChatFull](../types/messages.ChatFull.md) + + +### Example: + +```php +$messages.chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.chatFull={_='messages.chatFull', full_chat=ChatFull, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v103/constructors/messages.chats.md b/old_docs/API_docs_v103/constructors/messages.chats.md new file mode 100644 index 00000000..9ede9ff2 --- /dev/null +++ b/old_docs/API_docs_v103/constructors/messages.chats.md @@ -0,0 +1,38 @@ +--- +title: messages.chats +description: List of chats with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.chats +[Back to constructors index](index.md) + + + +List of chats with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| + + + +### Type: [messages.Chats](../types/messages.Chats.md) + + +### Example: + +```php +$messages.chats = ['_' => 'messages.chats', 'chats' => [Chat, Chat]]; +``` + + +Or, if you're into Lua: + +```lua +messages.chats={_='messages.chats', chats={Chat}} + +``` + + diff --git a/old_docs/API_docs_v103/constructors/messages.chatsSlice.md b/old_docs/API_docs_v103/constructors/messages.chatsSlice.md new file mode 100644 index 00000000..efd153e0 --- /dev/null +++ b/old_docs/API_docs_v103/constructors/messages.chatsSlice.md @@ -0,0 +1,39 @@ +--- +title: messages.chatsSlice +description: Partial list of chats, more would have to be fetched with [pagination](https://core.telegram.org/api/offsets) +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.chatsSlice +[Back to constructors index](index.md) + + + +Partial list of chats, more would have to be fetched with [pagination](https://core.telegram.org/api/offsets) + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of results that were found server-side (not all are included in `chats`)| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| + + + +### Type: [messages.Chats](../types/messages.Chats.md) + + +### Example: + +```php +$messages.chatsSlice = ['_' => 'messages.chatsSlice', 'count' => int, 'chats' => [Chat, Chat]]; +``` + + +Or, if you're into Lua: + +```lua +messages.chatsSlice={_='messages.chatsSlice', count=int, chats={Chat}} + +``` + + diff --git a/old_docs/API_docs_v103/constructors/messages.dhConfig.md b/old_docs/API_docs_v103/constructors/messages.dhConfig.md new file mode 100644 index 00000000..58344f64 --- /dev/null +++ b/old_docs/API_docs_v103/constructors/messages.dhConfig.md @@ -0,0 +1,41 @@ +--- +title: messages.dhConfig +description: New set of configuring parameters. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dhConfig +[Back to constructors index](index.md) + + + +New set of configuring parameters. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|g|[int](../types/int.md) | Yes|New value **prime**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| +|p|[bytes](../types/bytes.md) | Yes|New value **primitive root**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| +|version|[int](../types/int.md) | Yes|Vestion of set of parameters| +|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| + + + +### Type: [messages.DhConfig](../types/messages.DhConfig.md) + + +### Example: + +```php +$messages.dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'version' => int, 'random' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +messages.dhConfig={_='messages.dhConfig', g=int, p='bytes', version=int, random='bytes'} + +``` + + diff --git a/old_docs/API_docs_v103/constructors/messages.dhConfigNotModified.md b/old_docs/API_docs_v103/constructors/messages.dhConfigNotModified.md new file mode 100644 index 00000000..a9a95389 --- /dev/null +++ b/old_docs/API_docs_v103/constructors/messages.dhConfigNotModified.md @@ -0,0 +1,38 @@ +--- +title: messages.dhConfigNotModified +description: Configuring parameters did not change. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dhConfigNotModified +[Back to constructors index](index.md) + + + +Configuring parameters did not change. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| + + + +### Type: [messages.DhConfig](../types/messages.DhConfig.md) + + +### Example: + +```php +$messages.dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +messages.dhConfigNotModified={_='messages.dhConfigNotModified', random='bytes'} + +``` + + diff --git a/old_docs/API_docs_v103/constructors/messages.dialogs.md b/old_docs/API_docs_v103/constructors/messages.dialogs.md new file mode 100644 index 00000000..a72eabce --- /dev/null +++ b/old_docs/API_docs_v103/constructors/messages.dialogs.md @@ -0,0 +1,41 @@ +--- +title: messages.dialogs +description: Full list of chats with messages and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dialogs +[Back to constructors index](index.md) + + + +Full list of chats with messages and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Dialogs](../types/messages.Dialogs.md) + + +### Example: + +```php +$messages.dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.dialogs={_='messages.dialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v103/constructors/messages.dialogsNotModified.md b/old_docs/API_docs_v103/constructors/messages.dialogsNotModified.md new file mode 100644 index 00000000..b4615516 --- /dev/null +++ b/old_docs/API_docs_v103/constructors/messages.dialogsNotModified.md @@ -0,0 +1,38 @@ +--- +title: messages.dialogsNotModified +description: Dialogs haven't changed +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dialogsNotModified +[Back to constructors index](index.md) + + + +Dialogs haven't changed + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Number of dialogs found server-side by the query| + + + +### Type: [messages.Dialogs](../types/messages.Dialogs.md) + + +### Example: + +```php +$messages.dialogsNotModified = ['_' => 'messages.dialogsNotModified', 'count' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.dialogsNotModified={_='messages.dialogsNotModified', count=int} + +``` + + diff --git a/old_docs/API_docs_v103/constructors/messages.dialogsSlice.md b/old_docs/API_docs_v103/constructors/messages.dialogsSlice.md new file mode 100644 index 00000000..26227d2c --- /dev/null +++ b/old_docs/API_docs_v103/constructors/messages.dialogsSlice.md @@ -0,0 +1,42 @@ +--- +title: messages.dialogsSlice +description: Incomplete list of dialogs with messages and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dialogsSlice +[Back to constructors index](index.md) + + + +Incomplete list of dialogs with messages and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of dialogs| +|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Dialogs](../types/messages.Dialogs.md) + + +### Example: + +```php +$messages.dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.dialogsSlice={_='messages.dialogsSlice', count=int, dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v103/constructors/messages.favedStickers.md b/old_docs/API_docs_v103/constructors/messages.favedStickers.md new file mode 100644 index 00000000..a5cfb7c9 --- /dev/null +++ b/old_docs/API_docs_v103/constructors/messages.favedStickers.md @@ -0,0 +1,40 @@ +--- +title: messages.favedStickers +description: Favorited stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.favedStickers +[Back to constructors index](index.md) + + + +Favorited stickers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|packs|Array of [StickerPack](../types/StickerPack.md) | Yes|Packs| +|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| + + + +### Type: [messages.FavedStickers](../types/messages.FavedStickers.md) + + +### Example: + +```php +$messages.favedStickers = ['_' => 'messages.favedStickers', 'hash' => int, 'packs' => [StickerPack, StickerPack], 'stickers' => [Document, Document]]; +``` + + +Or, if you're into Lua: + +```lua +messages.favedStickers={_='messages.favedStickers', hash=int, packs={StickerPack}, stickers={Document}} + +``` + + diff --git a/old_docs/API_docs_v103/constructors/messages.favedStickersNotModified.md b/old_docs/API_docs_v103/constructors/messages.favedStickersNotModified.md new file mode 100644 index 00000000..8723659e --- /dev/null +++ b/old_docs/API_docs_v103/constructors/messages.favedStickersNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.favedStickersNotModified +description: No new favorited stickers were found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.favedStickersNotModified +[Back to constructors index](index.md) + + + +No new favorited stickers were found + + + + +### Type: [messages.FavedStickers](../types/messages.FavedStickers.md) + + +### Example: + +```php +$messages.favedStickersNotModified = ['_' => 'messages.favedStickersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.favedStickersNotModified={_='messages.favedStickersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v103/constructors/messages.featuredStickers.md b/old_docs/API_docs_v103/constructors/messages.featuredStickers.md new file mode 100644 index 00000000..344376ea --- /dev/null +++ b/old_docs/API_docs_v103/constructors/messages.featuredStickers.md @@ -0,0 +1,40 @@ +--- +title: messages.featuredStickers +description: Featured stickersets +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.featuredStickers +[Back to constructors index](index.md) + + + +Featured stickersets + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| +|unread|Array of [long](../types/long.md) | Yes|Unread| + + + +### Type: [messages.FeaturedStickers](../types/messages.FeaturedStickers.md) + + +### Example: + +```php +$messages.featuredStickers = ['_' => 'messages.featuredStickers', 'hash' => int, 'sets' => [StickerSetCovered, StickerSetCovered], 'unread' => [long, long]]; +``` + + +Or, if you're into Lua: + +```lua +messages.featuredStickers={_='messages.featuredStickers', hash=int, sets={StickerSetCovered}, unread={long}} + +``` + + diff --git a/old_docs/API_docs_v103/constructors/messages.featuredStickersNotModified.md b/old_docs/API_docs_v103/constructors/messages.featuredStickersNotModified.md new file mode 100644 index 00000000..0fe9b4d5 --- /dev/null +++ b/old_docs/API_docs_v103/constructors/messages.featuredStickersNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.featuredStickersNotModified +description: Featured stickers haven't changed +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.featuredStickersNotModified +[Back to constructors index](index.md) + + + +Featured stickers haven't changed + + + + +### Type: [messages.FeaturedStickers](../types/messages.FeaturedStickers.md) + + +### Example: + +```php +$messages.featuredStickersNotModified = ['_' => 'messages.featuredStickersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.featuredStickersNotModified={_='messages.featuredStickersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v103/constructors/messages.foundGifs.md b/old_docs/API_docs_v103/constructors/messages.foundGifs.md new file mode 100644 index 00000000..c75e36f9 --- /dev/null +++ b/old_docs/API_docs_v103/constructors/messages.foundGifs.md @@ -0,0 +1,39 @@ +--- +title: messages.foundGifs +description: Found GIFs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.foundGifs +[Back to constructors index](index.md) + + + +Found GIFs + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|next\_offset|[int](../types/int.md) | Yes|Next offset to use when trying to [load more results](../methods/messages.searchGifs.md)| +|results|Array of [FoundGif](../types/FoundGif.md) | Yes|Results| + + + +### Type: [messages.FoundGifs](../types/messages.FoundGifs.md) + + +### Example: + +```php +$messages.foundGifs = ['_' => 'messages.foundGifs', 'next_offset' => int, 'results' => [FoundGif, FoundGif]]; +``` + + +Or, if you're into Lua: + +```lua +messages.foundGifs={_='messages.foundGifs', next_offset=int, results={FoundGif}} + +``` + + diff --git a/old_docs/API_docs_v103/constructors/messages.foundStickerSets.md b/old_docs/API_docs_v103/constructors/messages.foundStickerSets.md new file mode 100644 index 00000000..efc5201e --- /dev/null +++ b/old_docs/API_docs_v103/constructors/messages.foundStickerSets.md @@ -0,0 +1,39 @@ +--- +title: messages.foundStickerSets +description: Found stickersets +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.foundStickerSets +[Back to constructors index](index.md) + + + +Found stickersets + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| + + + +### Type: [messages.FoundStickerSets](../types/messages.FoundStickerSets.md) + + +### Example: + +```php +$messages.foundStickerSets = ['_' => 'messages.foundStickerSets', 'hash' => int, 'sets' => [StickerSetCovered, StickerSetCovered]]; +``` + + +Or, if you're into Lua: + +```lua +messages.foundStickerSets={_='messages.foundStickerSets', hash=int, sets={StickerSetCovered}} + +``` + + diff --git a/old_docs/API_docs_v103/constructors/messages.foundStickerSetsNotModified.md b/old_docs/API_docs_v103/constructors/messages.foundStickerSetsNotModified.md new file mode 100644 index 00000000..2902501a --- /dev/null +++ b/old_docs/API_docs_v103/constructors/messages.foundStickerSetsNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.foundStickerSetsNotModified +description: No further results were found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.foundStickerSetsNotModified +[Back to constructors index](index.md) + + + +No further results were found + + + + +### Type: [messages.FoundStickerSets](../types/messages.FoundStickerSets.md) + + +### Example: + +```php +$messages.foundStickerSetsNotModified = ['_' => 'messages.foundStickerSetsNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.foundStickerSetsNotModified={_='messages.foundStickerSetsNotModified'} + +``` + + diff --git a/old_docs/API_docs_v103/constructors/messages.highScores.md b/old_docs/API_docs_v103/constructors/messages.highScores.md new file mode 100644 index 00000000..d7d25826 --- /dev/null +++ b/old_docs/API_docs_v103/constructors/messages.highScores.md @@ -0,0 +1,39 @@ +--- +title: messages.highScores +description: Highscores in a game +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.highScores +[Back to constructors index](index.md) + + + +Highscores in a game + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|scores|Array of [HighScore](../types/HighScore.md) | Yes|Scores| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.HighScores](../types/messages.HighScores.md) + + +### Example: + +```php +$messages.highScores = ['_' => 'messages.highScores', 'scores' => [HighScore, HighScore], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.highScores={_='messages.highScores', scores={HighScore}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v103/constructors/messages.messageEditData.md b/old_docs/API_docs_v103/constructors/messages.messageEditData.md new file mode 100644 index 00000000..578b53d9 --- /dev/null +++ b/old_docs/API_docs_v103/constructors/messages.messageEditData.md @@ -0,0 +1,38 @@ +--- +title: messages.messageEditData +description: Message edit data for media +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.messageEditData +[Back to constructors index](index.md) + + + +Message edit data for media + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|caption|[Bool](../types/Bool.md) | Optional|Media caption, if the specified media's caption can be edited| + + + +### Type: [messages.MessageEditData](../types/messages.MessageEditData.md) + + +### Example: + +```php +$messages.messageEditData = ['_' => 'messages.messageEditData', 'caption' => Bool]; +``` + + +Or, if you're into Lua: + +```lua +messages.messageEditData={_='messages.messageEditData', caption=Bool} + +``` + + diff --git a/old_docs/API_docs_v103/constructors/messages.messages.md b/old_docs/API_docs_v103/constructors/messages.messages.md new file mode 100644 index 00000000..3af71dca --- /dev/null +++ b/old_docs/API_docs_v103/constructors/messages.messages.md @@ -0,0 +1,40 @@ +--- +title: messages.messages +description: Full list of messages with auxilary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.messages +[Back to constructors index](index.md) + + + +Full list of messages with auxilary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Messages](../types/messages.Messages.md) + + +### Example: + +```php +$messages.messages = ['_' => 'messages.messages', 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.messages={_='messages.messages', messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v103/constructors/messages.messagesNotModified.md b/old_docs/API_docs_v103/constructors/messages.messagesNotModified.md new file mode 100644 index 00000000..c4cb60ed --- /dev/null +++ b/old_docs/API_docs_v103/constructors/messages.messagesNotModified.md @@ -0,0 +1,38 @@ +--- +title: messages.messagesNotModified +description: No new messages matching the query were found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.messagesNotModified +[Back to constructors index](index.md) + + + +No new messages matching the query were found + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Number of results found server-side by the given query| + + + +### Type: [messages.Messages](../types/messages.Messages.md) + + +### Example: + +```php +$messages.messagesNotModified = ['_' => 'messages.messagesNotModified', 'count' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.messagesNotModified={_='messages.messagesNotModified', count=int} + +``` + + diff --git a/old_docs/API_docs_v103/constructors/messages.messagesSlice.md b/old_docs/API_docs_v103/constructors/messages.messagesSlice.md new file mode 100644 index 00000000..ed85347c --- /dev/null +++ b/old_docs/API_docs_v103/constructors/messages.messagesSlice.md @@ -0,0 +1,43 @@ +--- +title: messages.messagesSlice +description: Incomplete list of messages and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.messagesSlice +[Back to constructors index](index.md) + + + +Incomplete list of messages and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|inexact|[Bool](../types/Bool.md) | Optional|If set, indicates that the results may be inexact| +|count|[int](../types/int.md) | Yes|Total number of messages in the list| +|next\_rate|[int](../types/int.md) | Optional|Rate to use in the `offset_rate` parameter in the next call to [messages.searchGlobal](../methods/messages.searchGlobal.md)| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Messages](../types/messages.Messages.md) + + +### Example: + +```php +$messages.messagesSlice = ['_' => 'messages.messagesSlice', 'inexact' => Bool, 'count' => int, 'next_rate' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.messagesSlice={_='messages.messagesSlice', inexact=Bool, count=int, next_rate=int, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v103/constructors/messages.peerDialogs.md b/old_docs/API_docs_v103/constructors/messages.peerDialogs.md new file mode 100644 index 00000000..39cb71f8 --- /dev/null +++ b/old_docs/API_docs_v103/constructors/messages.peerDialogs.md @@ -0,0 +1,42 @@ +--- +title: messages.peerDialogs +description: Dialog info of multiple peers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.peerDialogs +[Back to constructors index](index.md) + + + +Dialog info of multiple peers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| +|state|[updates.State](../constructors/updates.State.md) | Yes|Current [update state of dialog](https://core.telegram.org/api/updates)| + + + +### Type: [messages.PeerDialogs](../types/messages.PeerDialogs.md) + + +### Example: + +```php +$messages.peerDialogs = ['_' => 'messages.peerDialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates.State]; +``` + + +Or, if you're into Lua: + +```lua +messages.peerDialogs={_='messages.peerDialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}, state=updates.State} + +``` + + diff --git a/old_docs/API_docs_v103/constructors/messages.recentStickers.md b/old_docs/API_docs_v103/constructors/messages.recentStickers.md new file mode 100644 index 00000000..33e6c1ad --- /dev/null +++ b/old_docs/API_docs_v103/constructors/messages.recentStickers.md @@ -0,0 +1,41 @@ +--- +title: messages.recentStickers +description: Recently used stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.recentStickers +[Back to constructors index](index.md) + + + +Recently used stickers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|packs|Array of [StickerPack](../types/StickerPack.md) | Yes|Packs| +|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| +|dates|Array of [int](../types/int.md) | Yes|Dates| + + + +### Type: [messages.RecentStickers](../types/messages.RecentStickers.md) + + +### Example: + +```php +$messages.recentStickers = ['_' => 'messages.recentStickers', 'hash' => int, 'packs' => [StickerPack, StickerPack], 'stickers' => [Document, Document], 'dates' => [int, int]]; +``` + + +Or, if you're into Lua: + +```lua +messages.recentStickers={_='messages.recentStickers', hash=int, packs={StickerPack}, stickers={Document}, dates={int}} + +``` + + diff --git a/old_docs/API_docs_v103/constructors/messages.recentStickersNotModified.md b/old_docs/API_docs_v103/constructors/messages.recentStickersNotModified.md new file mode 100644 index 00000000..1c3bbf5c --- /dev/null +++ b/old_docs/API_docs_v103/constructors/messages.recentStickersNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.recentStickersNotModified +description: No new recent sticker was found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.recentStickersNotModified +[Back to constructors index](index.md) + + + +No new recent sticker was found + + + + +### Type: [messages.RecentStickers](../types/messages.RecentStickers.md) + + +### Example: + +```php +$messages.recentStickersNotModified = ['_' => 'messages.recentStickersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.recentStickersNotModified={_='messages.recentStickersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v103/constructors/messages.savedGifs.md b/old_docs/API_docs_v103/constructors/messages.savedGifs.md new file mode 100644 index 00000000..c82929a3 --- /dev/null +++ b/old_docs/API_docs_v103/constructors/messages.savedGifs.md @@ -0,0 +1,39 @@ +--- +title: messages.savedGifs +description: Saved gifs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.savedGifs +[Back to constructors index](index.md) + + + +Saved gifs + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|gifs|Array of [Document](../types/Document.md) | Yes|Gifs| + + + +### Type: [messages.SavedGifs](../types/messages.SavedGifs.md) + + +### Example: + +```php +$messages.savedGifs = ['_' => 'messages.savedGifs', 'hash' => int, 'gifs' => [Document, Document]]; +``` + + +Or, if you're into Lua: + +```lua +messages.savedGifs={_='messages.savedGifs', hash=int, gifs={Document}} + +``` + + diff --git a/old_docs/API_docs_v103/constructors/messages.savedGifsNotModified.md b/old_docs/API_docs_v103/constructors/messages.savedGifsNotModified.md new file mode 100644 index 00000000..0fbccacc --- /dev/null +++ b/old_docs/API_docs_v103/constructors/messages.savedGifsNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.savedGifsNotModified +description: No new saved gifs were found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.savedGifsNotModified +[Back to constructors index](index.md) + + + +No new saved gifs were found + + + + +### Type: [messages.SavedGifs](../types/messages.SavedGifs.md) + + +### Example: + +```php +$messages.savedGifsNotModified = ['_' => 'messages.savedGifsNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.savedGifsNotModified={_='messages.savedGifsNotModified'} + +``` + + diff --git a/old_docs/API_docs_v103/constructors/messages.searchCounter.md b/old_docs/API_docs_v103/constructors/messages.searchCounter.md new file mode 100644 index 00000000..601edd6c --- /dev/null +++ b/old_docs/API_docs_v103/constructors/messages.searchCounter.md @@ -0,0 +1,40 @@ +--- +title: messages.searchCounter +description: Indicates how many results would be found by a [messages.search](../methods/messages.search.md) call with the same parameters +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.searchCounter +[Back to constructors index](index.md) + + + +Indicates how many results would be found by a [messages.search](../methods/messages.search.md) call with the same parameters + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|inexact|[Bool](../types/Bool.md) | Optional|If set, the results may be inexact| +|filter|[MessagesFilter](../types/MessagesFilter.md) | Yes|Provided message filter| +|count|[int](../types/int.md) | Yes|Number of results that were found server-side| + + + +### Type: [messages.SearchCounter](../types/messages.SearchCounter.md) + + +### Example: + +```php +$messages.searchCounter = ['_' => 'messages.searchCounter', 'inexact' => Bool, 'filter' => MessagesFilter, 'count' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.searchCounter={_='messages.searchCounter', inexact=Bool, filter=MessagesFilter, count=int} + +``` + + diff --git a/old_docs/API_docs_v103/constructors/messages.sentEncryptedFile.md b/old_docs/API_docs_v103/constructors/messages.sentEncryptedFile.md new file mode 100644 index 00000000..1f0e43c6 --- /dev/null +++ b/old_docs/API_docs_v103/constructors/messages.sentEncryptedFile.md @@ -0,0 +1,39 @@ +--- +title: messages.sentEncryptedFile +description: Message with a file enclosure sent to a protected chat +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.sentEncryptedFile +[Back to constructors index](index.md) + + + +Message with a file enclosure sent to a protected chat + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Sending date| +|file|[EncryptedFile](../types/EncryptedFile.md) | Optional|Attached file| + + + +### Type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) + + +### Example: + +```php +$messages.sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile]; +``` + + +Or, if you're into Lua: + +```lua +messages.sentEncryptedFile={_='messages.sentEncryptedFile', date=int, file=EncryptedFile} + +``` + + diff --git a/old_docs/API_docs_v103/constructors/messages.sentEncryptedMessage.md b/old_docs/API_docs_v103/constructors/messages.sentEncryptedMessage.md new file mode 100644 index 00000000..3d5eb40c --- /dev/null +++ b/old_docs/API_docs_v103/constructors/messages.sentEncryptedMessage.md @@ -0,0 +1,38 @@ +--- +title: messages.sentEncryptedMessage +description: Message without file attachemts sent to an encrypted file. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.sentEncryptedMessage +[Back to constructors index](index.md) + + + +Message without file attachemts sent to an encrypted file. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Date of sending| + + + +### Type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) + + +### Example: + +```php +$messages.sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.sentEncryptedMessage={_='messages.sentEncryptedMessage', date=int} + +``` + + diff --git a/old_docs/API_docs_v103/constructors/messages.stickerSet.md b/old_docs/API_docs_v103/constructors/messages.stickerSet.md new file mode 100644 index 00000000..fbc154d0 --- /dev/null +++ b/old_docs/API_docs_v103/constructors/messages.stickerSet.md @@ -0,0 +1,40 @@ +--- +title: messages.stickerSet +description: Stickerset and stickers inside it +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickerSet +[Back to constructors index](index.md) + + + +Stickerset and stickers inside it + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|set|[StickerSet](../types/StickerSet.md) | Yes|The stickerset| +|packs|Array of [StickerPack](../types/StickerPack.md) | Yes|Packs| +|documents|Array of [Document](../types/Document.md) | Yes|Documents| + + + +### Type: [messages.StickerSet](../types/messages.StickerSet.md) + + +### Example: + +```php +$messages.stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'packs' => [StickerPack, StickerPack], 'documents' => [Document, Document]]; +``` + + +Or, if you're into Lua: + +```lua +messages.stickerSet={_='messages.stickerSet', set=StickerSet, packs={StickerPack}, documents={Document}} + +``` + + diff --git a/old_docs/API_docs_v103/constructors/messages.stickerSetInstallResultArchive.md b/old_docs/API_docs_v103/constructors/messages.stickerSetInstallResultArchive.md new file mode 100644 index 00000000..fefe2270 --- /dev/null +++ b/old_docs/API_docs_v103/constructors/messages.stickerSetInstallResultArchive.md @@ -0,0 +1,38 @@ +--- +title: messages.stickerSetInstallResultArchive +description: The stickerset was installed, but since there are too many stickersets some were archived +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickerSetInstallResultArchive +[Back to constructors index](index.md) + + + +The stickerset was installed, but since there are too many stickersets some were archived + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| + + + +### Type: [messages.StickerSetInstallResult](../types/messages.StickerSetInstallResult.md) + + +### Example: + +```php +$messages.stickerSetInstallResultArchive = ['_' => 'messages.stickerSetInstallResultArchive', 'sets' => [StickerSetCovered, StickerSetCovered]]; +``` + + +Or, if you're into Lua: + +```lua +messages.stickerSetInstallResultArchive={_='messages.stickerSetInstallResultArchive', sets={StickerSetCovered}} + +``` + + diff --git a/old_docs/API_docs_v103/constructors/messages.stickerSetInstallResultSuccess.md b/old_docs/API_docs_v103/constructors/messages.stickerSetInstallResultSuccess.md new file mode 100644 index 00000000..bbe8b961 --- /dev/null +++ b/old_docs/API_docs_v103/constructors/messages.stickerSetInstallResultSuccess.md @@ -0,0 +1,33 @@ +--- +title: messages.stickerSetInstallResultSuccess +description: The stickerset was installed successfully +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickerSetInstallResultSuccess +[Back to constructors index](index.md) + + + +The stickerset was installed successfully + + + + +### Type: [messages.StickerSetInstallResult](../types/messages.StickerSetInstallResult.md) + + +### Example: + +```php +$messages.stickerSetInstallResultSuccess = ['_' => 'messages.stickerSetInstallResultSuccess']; +``` + + +Or, if you're into Lua: + +```lua +messages.stickerSetInstallResultSuccess={_='messages.stickerSetInstallResultSuccess'} + +``` + + diff --git a/old_docs/API_docs_v103/constructors/messages.stickers.md b/old_docs/API_docs_v103/constructors/messages.stickers.md new file mode 100644 index 00000000..49ffea6a --- /dev/null +++ b/old_docs/API_docs_v103/constructors/messages.stickers.md @@ -0,0 +1,39 @@ +--- +title: messages.stickers +description: Found stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickers +[Back to constructors index](index.md) + + + +Found stickers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| + + + +### Type: [messages.Stickers](../types/messages.Stickers.md) + + +### Example: + +```php +$messages.stickers = ['_' => 'messages.stickers', 'hash' => int, 'stickers' => [Document, Document]]; +``` + + +Or, if you're into Lua: + +```lua +messages.stickers={_='messages.stickers', hash=int, stickers={Document}} + +``` + + diff --git a/old_docs/API_docs_v103/constructors/messages.stickersNotModified.md b/old_docs/API_docs_v103/constructors/messages.stickersNotModified.md new file mode 100644 index 00000000..e8c7766c --- /dev/null +++ b/old_docs/API_docs_v103/constructors/messages.stickersNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.stickersNotModified +description: No new stickers were found for the given query +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickersNotModified +[Back to constructors index](index.md) + + + +No new stickers were found for the given query + + + + +### Type: [messages.Stickers](../types/messages.Stickers.md) + + +### Example: + +```php +$messages.stickersNotModified = ['_' => 'messages.stickersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.stickersNotModified={_='messages.stickersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v103/constructors/messages_affectedHistory.md b/old_docs/API_docs_v103/constructors/messages_affectedHistory.md deleted file mode 100644 index 449a7e3f..00000000 --- a/old_docs/API_docs_v103/constructors/messages_affectedHistory.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.affectedHistory -description: Affected part of communication history with the user or in a chat. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.affectedHistory -[Back to constructors index](index.md) - - - -Affected part of communication history with the user or in a chat. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| -|pts\_count|[int](../types/int.md) | Yes|Number of affected events| -|offset|[int](../types/int.md) | Yes|If a parameter contains positive value, it is necessary to repeat the method call using the given value; during the proceeding of all the history the value itself shall gradually decrease| - - - -### Type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) - - -### Example: - -```php -$messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_affectedHistory={_='messages.affectedHistory', pts=int, pts_count=int, offset=int} - -``` - - diff --git a/old_docs/API_docs_v103/constructors/messages_affectedMessages.md b/old_docs/API_docs_v103/constructors/messages_affectedMessages.md deleted file mode 100644 index 86760581..00000000 --- a/old_docs/API_docs_v103/constructors/messages_affectedMessages.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.affectedMessages -description: Events affected by operation -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.affectedMessages -[Back to constructors index](index.md) - - - -Events affected by operation - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|[Event count after generation](https://core.telegram.org/api/updates)| -|pts\_count|[int](../types/int.md) | Yes|[Number of events that were generated](https://core.telegram.org/api/updates)| - - - -### Type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) - - -### Example: - -```php -$messages_affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_affectedMessages={_='messages.affectedMessages', pts=int, pts_count=int} - -``` - - diff --git a/old_docs/API_docs_v103/constructors/messages_allStickers.md b/old_docs/API_docs_v103/constructors/messages_allStickers.md deleted file mode 100644 index 2e64f46e..00000000 --- a/old_docs/API_docs_v103/constructors/messages_allStickers.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.allStickers -description: Info about all installed stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.allStickers -[Back to constructors index](index.md) - - - -Info about all installed stickers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|sets|Array of [StickerSet](../types/StickerSet.md) | Yes|Sets| - - - -### Type: [messages\_AllStickers](../types/messages_AllStickers.md) - - -### Example: - -```php -$messages_allStickers = ['_' => 'messages.allStickers', 'hash' => int, 'sets' => [StickerSet, StickerSet]]; -``` - - -Or, if you're into Lua: - -```lua -messages_allStickers={_='messages.allStickers', hash=int, sets={StickerSet}} - -``` - - diff --git a/old_docs/API_docs_v103/constructors/messages_allStickersNotModified.md b/old_docs/API_docs_v103/constructors/messages_allStickersNotModified.md deleted file mode 100644 index c4da85ab..00000000 --- a/old_docs/API_docs_v103/constructors/messages_allStickersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.allStickersNotModified -description: Info about all installed stickers hasn't changed -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.allStickersNotModified -[Back to constructors index](index.md) - - - -Info about all installed stickers hasn't changed - - - - -### Type: [messages\_AllStickers](../types/messages_AllStickers.md) - - -### Example: - -```php -$messages_allStickersNotModified = ['_' => 'messages.allStickersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_allStickersNotModified={_='messages.allStickersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v103/constructors/messages_archivedStickers.md b/old_docs/API_docs_v103/constructors/messages_archivedStickers.md deleted file mode 100644 index 6b28c885..00000000 --- a/old_docs/API_docs_v103/constructors/messages_archivedStickers.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.archivedStickers -description: Archived stickersets -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.archivedStickers -[Back to constructors index](index.md) - - - -Archived stickersets - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Number of archived stickers| -|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| - - - -### Type: [messages\_ArchivedStickers](../types/messages_ArchivedStickers.md) - - -### Example: - -```php -$messages_archivedStickers = ['_' => 'messages.archivedStickers', 'count' => int, 'sets' => [StickerSetCovered, StickerSetCovered]]; -``` - - -Or, if you're into Lua: - -```lua -messages_archivedStickers={_='messages.archivedStickers', count=int, sets={StickerSetCovered}} - -``` - - diff --git a/old_docs/API_docs_v103/constructors/messages_botCallbackAnswer.md b/old_docs/API_docs_v103/constructors/messages_botCallbackAnswer.md deleted file mode 100644 index e56f4b56..00000000 --- a/old_docs/API_docs_v103/constructors/messages_botCallbackAnswer.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: messages.botCallbackAnswer -description: Callback answer sent by the bot in response to a button press -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.botCallbackAnswer -[Back to constructors index](index.md) - - - -Callback answer sent by the bot in response to a button press - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|alert|[Bool](../types/Bool.md) | Optional|Whether an alert should be shown to the user instead of a toast notification| -|has\_url|[Bool](../types/Bool.md) | Optional|Whether an URL is present| -|native\_ui|[Bool](../types/Bool.md) | Optional|Whether to show games in WebView or in native UI.| -|message|[string](../types/string.md) | Optional|Alert to show| -|url|[string](../types/string.md) | Optional|URL to open| -|cache\_time|[int](../types/int.md) | Yes|For how long should this answer be cached| - - - -### Type: [messages\_BotCallbackAnswer](../types/messages_BotCallbackAnswer.md) - - -### Example: - -```php -$messages_botCallbackAnswer = ['_' => 'messages.botCallbackAnswer', 'alert' => Bool, 'has_url' => Bool, 'native_ui' => Bool, 'message' => 'string', 'url' => 'string', 'cache_time' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_botCallbackAnswer={_='messages.botCallbackAnswer', alert=Bool, has_url=Bool, native_ui=Bool, message='string', url='string', cache_time=int} - -``` - - diff --git a/old_docs/API_docs_v103/constructors/messages_botResults.md b/old_docs/API_docs_v103/constructors/messages_botResults.md deleted file mode 100644 index 19b9edf6..00000000 --- a/old_docs/API_docs_v103/constructors/messages_botResults.md +++ /dev/null @@ -1,44 +0,0 @@ ---- -title: messages.botResults -description: Result of a query to an inline bot -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.botResults -[Back to constructors index](index.md) - - - -Result of a query to an inline bot - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|gallery|[Bool](../types/Bool.md) | Optional|Whether the result is a picture gallery| -|query\_id|[long](../types/long.md) | Yes|Query ID| -|next\_offset|[string](../types/string.md) | Optional|The next offset to use when navigating through results| -|switch\_pm|[InlineBotSwitchPM](../types/InlineBotSwitchPM.md) | Optional|Whether the bot requested the user to message him in private| -|results|Array of [BotInlineResult](../types/BotInlineResult.md) | Yes|Results| -|cache\_time|[int](../types/int.md) | Yes|Caching validity of the results| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_BotResults](../types/messages_BotResults.md) - - -### Example: - -```php -$messages_botResults = ['_' => 'messages.botResults', 'gallery' => Bool, 'query_id' => long, 'next_offset' => 'string', 'switch_pm' => InlineBotSwitchPM, 'results' => [BotInlineResult, BotInlineResult], 'cache_time' => int, 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_botResults={_='messages.botResults', gallery=Bool, query_id=long, next_offset='string', switch_pm=InlineBotSwitchPM, results={BotInlineResult}, cache_time=int, users={User}} - -``` - - diff --git a/old_docs/API_docs_v103/constructors/messages_channelMessages.md b/old_docs/API_docs_v103/constructors/messages_channelMessages.md deleted file mode 100644 index 4cf24743..00000000 --- a/old_docs/API_docs_v103/constructors/messages_channelMessages.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: messages.channelMessages -description: Channel messages -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.channelMessages -[Back to constructors index](index.md) - - - -Channel messages - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|inexact|[Bool](../types/Bool.md) | Optional|If set, returned results may be inexact| -|pts|[int](../types/int.md) | Yes|[Event count after generation](https://core.telegram.org/api/updates)| -|count|[int](../types/int.md) | Yes|Total number of results were found server-side (may not be all included here)| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Messages](../types/messages_Messages.md) - - -### Example: - -```php -$messages_channelMessages = ['_' => 'messages.channelMessages', 'inexact' => Bool, 'pts' => int, 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_channelMessages={_='messages.channelMessages', inexact=Bool, pts=int, count=int, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v103/constructors/messages_chatFull.md b/old_docs/API_docs_v103/constructors/messages_chatFull.md deleted file mode 100644 index 02f1acdf..00000000 --- a/old_docs/API_docs_v103/constructors/messages_chatFull.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.chatFull -description: Extended info on chat and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.chatFull -[Back to constructors index](index.md) - - - -Extended info on chat and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|full\_chat|[ChatFull](../types/ChatFull.md) | Yes|Extended info on a chat| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_ChatFull](../types/messages_ChatFull.md) - - -### Example: - -```php -$messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_chatFull={_='messages.chatFull', full_chat=ChatFull, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v103/constructors/messages_chats.md b/old_docs/API_docs_v103/constructors/messages_chats.md deleted file mode 100644 index ef3690a9..00000000 --- a/old_docs/API_docs_v103/constructors/messages_chats.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.chats -description: List of chats with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.chats -[Back to constructors index](index.md) - - - -List of chats with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| - - - -### Type: [messages\_Chats](../types/messages_Chats.md) - - -### Example: - -```php -$messages_chats = ['_' => 'messages.chats', 'chats' => [Chat, Chat]]; -``` - - -Or, if you're into Lua: - -```lua -messages_chats={_='messages.chats', chats={Chat}} - -``` - - diff --git a/old_docs/API_docs_v103/constructors/messages_chatsSlice.md b/old_docs/API_docs_v103/constructors/messages_chatsSlice.md deleted file mode 100644 index f19c4357..00000000 --- a/old_docs/API_docs_v103/constructors/messages_chatsSlice.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.chatsSlice -description: Partial list of chats, more would have to be fetched with [pagination](https://core.telegram.org/api/offsets) -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.chatsSlice -[Back to constructors index](index.md) - - - -Partial list of chats, more would have to be fetched with [pagination](https://core.telegram.org/api/offsets) - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of results that were found server-side (not all are included in `chats`)| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| - - - -### Type: [messages\_Chats](../types/messages_Chats.md) - - -### Example: - -```php -$messages_chatsSlice = ['_' => 'messages.chatsSlice', 'count' => int, 'chats' => [Chat, Chat]]; -``` - - -Or, if you're into Lua: - -```lua -messages_chatsSlice={_='messages.chatsSlice', count=int, chats={Chat}} - -``` - - diff --git a/old_docs/API_docs_v103/constructors/messages_dhConfig.md b/old_docs/API_docs_v103/constructors/messages_dhConfig.md deleted file mode 100644 index 42c2feb1..00000000 --- a/old_docs/API_docs_v103/constructors/messages_dhConfig.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: messages.dhConfig -description: New set of configuring parameters. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dhConfig -[Back to constructors index](index.md) - - - -New set of configuring parameters. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|g|[int](../types/int.md) | Yes|New value **prime**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| -|p|[bytes](../types/bytes.md) | Yes|New value **primitive root**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| -|version|[int](../types/int.md) | Yes|Vestion of set of parameters| -|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| - - - -### Type: [messages\_DhConfig](../types/messages_DhConfig.md) - - -### Example: - -```php -$messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'version' => int, 'random' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -messages_dhConfig={_='messages.dhConfig', g=int, p='bytes', version=int, random='bytes'} - -``` - - diff --git a/old_docs/API_docs_v103/constructors/messages_dhConfigNotModified.md b/old_docs/API_docs_v103/constructors/messages_dhConfigNotModified.md deleted file mode 100644 index 5bf64230..00000000 --- a/old_docs/API_docs_v103/constructors/messages_dhConfigNotModified.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.dhConfigNotModified -description: Configuring parameters did not change. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dhConfigNotModified -[Back to constructors index](index.md) - - - -Configuring parameters did not change. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| - - - -### Type: [messages\_DhConfig](../types/messages_DhConfig.md) - - -### Example: - -```php -$messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -messages_dhConfigNotModified={_='messages.dhConfigNotModified', random='bytes'} - -``` - - diff --git a/old_docs/API_docs_v103/constructors/messages_dialogs.md b/old_docs/API_docs_v103/constructors/messages_dialogs.md deleted file mode 100644 index e6a431b4..00000000 --- a/old_docs/API_docs_v103/constructors/messages_dialogs.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: messages.dialogs -description: Full list of chats with messages and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dialogs -[Back to constructors index](index.md) - - - -Full list of chats with messages and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Dialogs](../types/messages_Dialogs.md) - - -### Example: - -```php -$messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_dialogs={_='messages.dialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v103/constructors/messages_dialogsNotModified.md b/old_docs/API_docs_v103/constructors/messages_dialogsNotModified.md deleted file mode 100644 index 16a32b2e..00000000 --- a/old_docs/API_docs_v103/constructors/messages_dialogsNotModified.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.dialogsNotModified -description: Dialogs haven't changed -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dialogsNotModified -[Back to constructors index](index.md) - - - -Dialogs haven't changed - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Number of dialogs found server-side by the query| - - - -### Type: [messages\_Dialogs](../types/messages_Dialogs.md) - - -### Example: - -```php -$messages_dialogsNotModified = ['_' => 'messages.dialogsNotModified', 'count' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_dialogsNotModified={_='messages.dialogsNotModified', count=int} - -``` - - diff --git a/old_docs/API_docs_v103/constructors/messages_dialogsSlice.md b/old_docs/API_docs_v103/constructors/messages_dialogsSlice.md deleted file mode 100644 index f183b9a8..00000000 --- a/old_docs/API_docs_v103/constructors/messages_dialogsSlice.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: messages.dialogsSlice -description: Incomplete list of dialogs with messages and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dialogsSlice -[Back to constructors index](index.md) - - - -Incomplete list of dialogs with messages and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of dialogs| -|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Dialogs](../types/messages_Dialogs.md) - - -### Example: - -```php -$messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_dialogsSlice={_='messages.dialogsSlice', count=int, dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v103/constructors/messages_favedStickers.md b/old_docs/API_docs_v103/constructors/messages_favedStickers.md deleted file mode 100644 index 72d79df2..00000000 --- a/old_docs/API_docs_v103/constructors/messages_favedStickers.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.favedStickers -description: Favorited stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.favedStickers -[Back to constructors index](index.md) - - - -Favorited stickers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|packs|Array of [StickerPack](../types/StickerPack.md) | Yes|Packs| -|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| - - - -### Type: [messages\_FavedStickers](../types/messages_FavedStickers.md) - - -### Example: - -```php -$messages_favedStickers = ['_' => 'messages.favedStickers', 'hash' => int, 'packs' => [StickerPack, StickerPack], 'stickers' => [Document, Document]]; -``` - - -Or, if you're into Lua: - -```lua -messages_favedStickers={_='messages.favedStickers', hash=int, packs={StickerPack}, stickers={Document}} - -``` - - diff --git a/old_docs/API_docs_v103/constructors/messages_favedStickersNotModified.md b/old_docs/API_docs_v103/constructors/messages_favedStickersNotModified.md deleted file mode 100644 index a47c08e8..00000000 --- a/old_docs/API_docs_v103/constructors/messages_favedStickersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.favedStickersNotModified -description: No new favorited stickers were found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.favedStickersNotModified -[Back to constructors index](index.md) - - - -No new favorited stickers were found - - - - -### Type: [messages\_FavedStickers](../types/messages_FavedStickers.md) - - -### Example: - -```php -$messages_favedStickersNotModified = ['_' => 'messages.favedStickersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_favedStickersNotModified={_='messages.favedStickersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v103/constructors/messages_featuredStickers.md b/old_docs/API_docs_v103/constructors/messages_featuredStickers.md deleted file mode 100644 index 8ef1046e..00000000 --- a/old_docs/API_docs_v103/constructors/messages_featuredStickers.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.featuredStickers -description: Featured stickersets -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.featuredStickers -[Back to constructors index](index.md) - - - -Featured stickersets - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| -|unread|Array of [long](../types/long.md) | Yes|Unread| - - - -### Type: [messages\_FeaturedStickers](../types/messages_FeaturedStickers.md) - - -### Example: - -```php -$messages_featuredStickers = ['_' => 'messages.featuredStickers', 'hash' => int, 'sets' => [StickerSetCovered, StickerSetCovered], 'unread' => [long, long]]; -``` - - -Or, if you're into Lua: - -```lua -messages_featuredStickers={_='messages.featuredStickers', hash=int, sets={StickerSetCovered}, unread={long}} - -``` - - diff --git a/old_docs/API_docs_v103/constructors/messages_featuredStickersNotModified.md b/old_docs/API_docs_v103/constructors/messages_featuredStickersNotModified.md deleted file mode 100644 index de01131b..00000000 --- a/old_docs/API_docs_v103/constructors/messages_featuredStickersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.featuredStickersNotModified -description: Featured stickers haven't changed -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.featuredStickersNotModified -[Back to constructors index](index.md) - - - -Featured stickers haven't changed - - - - -### Type: [messages\_FeaturedStickers](../types/messages_FeaturedStickers.md) - - -### Example: - -```php -$messages_featuredStickersNotModified = ['_' => 'messages.featuredStickersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_featuredStickersNotModified={_='messages.featuredStickersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v103/constructors/messages_foundGifs.md b/old_docs/API_docs_v103/constructors/messages_foundGifs.md deleted file mode 100644 index eb3603ca..00000000 --- a/old_docs/API_docs_v103/constructors/messages_foundGifs.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.foundGifs -description: Found GIFs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.foundGifs -[Back to constructors index](index.md) - - - -Found GIFs - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|next\_offset|[int](../types/int.md) | Yes|Next offset to use when trying to [load more results](../methods/messages.searchGifs.md)| -|results|Array of [FoundGif](../types/FoundGif.md) | Yes|Results| - - - -### Type: [messages\_FoundGifs](../types/messages_FoundGifs.md) - - -### Example: - -```php -$messages_foundGifs = ['_' => 'messages.foundGifs', 'next_offset' => int, 'results' => [FoundGif, FoundGif]]; -``` - - -Or, if you're into Lua: - -```lua -messages_foundGifs={_='messages.foundGifs', next_offset=int, results={FoundGif}} - -``` - - diff --git a/old_docs/API_docs_v103/constructors/messages_foundStickerSets.md b/old_docs/API_docs_v103/constructors/messages_foundStickerSets.md deleted file mode 100644 index 356177e1..00000000 --- a/old_docs/API_docs_v103/constructors/messages_foundStickerSets.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.foundStickerSets -description: Found stickersets -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.foundStickerSets -[Back to constructors index](index.md) - - - -Found stickersets - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| - - - -### Type: [messages\_FoundStickerSets](../types/messages_FoundStickerSets.md) - - -### Example: - -```php -$messages_foundStickerSets = ['_' => 'messages.foundStickerSets', 'hash' => int, 'sets' => [StickerSetCovered, StickerSetCovered]]; -``` - - -Or, if you're into Lua: - -```lua -messages_foundStickerSets={_='messages.foundStickerSets', hash=int, sets={StickerSetCovered}} - -``` - - diff --git a/old_docs/API_docs_v103/constructors/messages_foundStickerSetsNotModified.md b/old_docs/API_docs_v103/constructors/messages_foundStickerSetsNotModified.md deleted file mode 100644 index c1f39490..00000000 --- a/old_docs/API_docs_v103/constructors/messages_foundStickerSetsNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.foundStickerSetsNotModified -description: No further results were found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.foundStickerSetsNotModified -[Back to constructors index](index.md) - - - -No further results were found - - - - -### Type: [messages\_FoundStickerSets](../types/messages_FoundStickerSets.md) - - -### Example: - -```php -$messages_foundStickerSetsNotModified = ['_' => 'messages.foundStickerSetsNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_foundStickerSetsNotModified={_='messages.foundStickerSetsNotModified'} - -``` - - diff --git a/old_docs/API_docs_v103/constructors/messages_highScores.md b/old_docs/API_docs_v103/constructors/messages_highScores.md deleted file mode 100644 index d6fc5210..00000000 --- a/old_docs/API_docs_v103/constructors/messages_highScores.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.highScores -description: Highscores in a game -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.highScores -[Back to constructors index](index.md) - - - -Highscores in a game - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|scores|Array of [HighScore](../types/HighScore.md) | Yes|Scores| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_HighScores](../types/messages_HighScores.md) - - -### Example: - -```php -$messages_highScores = ['_' => 'messages.highScores', 'scores' => [HighScore, HighScore], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_highScores={_='messages.highScores', scores={HighScore}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v103/constructors/messages_messageEditData.md b/old_docs/API_docs_v103/constructors/messages_messageEditData.md deleted file mode 100644 index 76aefca5..00000000 --- a/old_docs/API_docs_v103/constructors/messages_messageEditData.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.messageEditData -description: Message edit data for media -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.messageEditData -[Back to constructors index](index.md) - - - -Message edit data for media - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|caption|[Bool](../types/Bool.md) | Optional|Media caption, if the specified media's caption can be edited| - - - -### Type: [messages\_MessageEditData](../types/messages_MessageEditData.md) - - -### Example: - -```php -$messages_messageEditData = ['_' => 'messages.messageEditData', 'caption' => Bool]; -``` - - -Or, if you're into Lua: - -```lua -messages_messageEditData={_='messages.messageEditData', caption=Bool} - -``` - - diff --git a/old_docs/API_docs_v103/constructors/messages_messages.md b/old_docs/API_docs_v103/constructors/messages_messages.md deleted file mode 100644 index 3e369e1a..00000000 --- a/old_docs/API_docs_v103/constructors/messages_messages.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.messages -description: Full list of messages with auxilary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.messages -[Back to constructors index](index.md) - - - -Full list of messages with auxilary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Messages](../types/messages_Messages.md) - - -### Example: - -```php -$messages_messages = ['_' => 'messages.messages', 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_messages={_='messages.messages', messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v103/constructors/messages_messagesNotModified.md b/old_docs/API_docs_v103/constructors/messages_messagesNotModified.md deleted file mode 100644 index 2e9c4ad9..00000000 --- a/old_docs/API_docs_v103/constructors/messages_messagesNotModified.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.messagesNotModified -description: No new messages matching the query were found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.messagesNotModified -[Back to constructors index](index.md) - - - -No new messages matching the query were found - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Number of results found server-side by the given query| - - - -### Type: [messages\_Messages](../types/messages_Messages.md) - - -### Example: - -```php -$messages_messagesNotModified = ['_' => 'messages.messagesNotModified', 'count' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_messagesNotModified={_='messages.messagesNotModified', count=int} - -``` - - diff --git a/old_docs/API_docs_v103/constructors/messages_messagesSlice.md b/old_docs/API_docs_v103/constructors/messages_messagesSlice.md deleted file mode 100644 index 788f301a..00000000 --- a/old_docs/API_docs_v103/constructors/messages_messagesSlice.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: messages.messagesSlice -description: Incomplete list of messages and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.messagesSlice -[Back to constructors index](index.md) - - - -Incomplete list of messages and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|inexact|[Bool](../types/Bool.md) | Optional|If set, indicates that the results may be inexact| -|count|[int](../types/int.md) | Yes|Total number of messages in the list| -|next\_rate|[int](../types/int.md) | Optional|Rate to use in the `offset_rate` parameter in the next call to [messages.searchGlobal](../methods/messages.searchGlobal.md)| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Messages](../types/messages_Messages.md) - - -### Example: - -```php -$messages_messagesSlice = ['_' => 'messages.messagesSlice', 'inexact' => Bool, 'count' => int, 'next_rate' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_messagesSlice={_='messages.messagesSlice', inexact=Bool, count=int, next_rate=int, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v103/constructors/messages_peerDialogs.md b/old_docs/API_docs_v103/constructors/messages_peerDialogs.md deleted file mode 100644 index 29b4b842..00000000 --- a/old_docs/API_docs_v103/constructors/messages_peerDialogs.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: messages.peerDialogs -description: Dialog info of multiple peers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.peerDialogs -[Back to constructors index](index.md) - - - -Dialog info of multiple peers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| -|state|[updates\_State](../types/updates_State.md) | Yes|Current [update state of dialog](https://core.telegram.org/api/updates)| - - - -### Type: [messages\_PeerDialogs](../types/messages_PeerDialogs.md) - - -### Example: - -```php -$messages_peerDialogs = ['_' => 'messages.peerDialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates_State]; -``` - - -Or, if you're into Lua: - -```lua -messages_peerDialogs={_='messages.peerDialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}, state=updates_State} - -``` - - diff --git a/old_docs/API_docs_v103/constructors/messages_recentStickers.md b/old_docs/API_docs_v103/constructors/messages_recentStickers.md deleted file mode 100644 index 47d5cffd..00000000 --- a/old_docs/API_docs_v103/constructors/messages_recentStickers.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: messages.recentStickers -description: Recently used stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.recentStickers -[Back to constructors index](index.md) - - - -Recently used stickers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|packs|Array of [StickerPack](../types/StickerPack.md) | Yes|Packs| -|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| -|dates|Array of [int](../types/int.md) | Yes|Dates| - - - -### Type: [messages\_RecentStickers](../types/messages_RecentStickers.md) - - -### Example: - -```php -$messages_recentStickers = ['_' => 'messages.recentStickers', 'hash' => int, 'packs' => [StickerPack, StickerPack], 'stickers' => [Document, Document], 'dates' => [int, int]]; -``` - - -Or, if you're into Lua: - -```lua -messages_recentStickers={_='messages.recentStickers', hash=int, packs={StickerPack}, stickers={Document}, dates={int}} - -``` - - diff --git a/old_docs/API_docs_v103/constructors/messages_recentStickersNotModified.md b/old_docs/API_docs_v103/constructors/messages_recentStickersNotModified.md deleted file mode 100644 index 3e81dceb..00000000 --- a/old_docs/API_docs_v103/constructors/messages_recentStickersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.recentStickersNotModified -description: No new recent sticker was found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.recentStickersNotModified -[Back to constructors index](index.md) - - - -No new recent sticker was found - - - - -### Type: [messages\_RecentStickers](../types/messages_RecentStickers.md) - - -### Example: - -```php -$messages_recentStickersNotModified = ['_' => 'messages.recentStickersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_recentStickersNotModified={_='messages.recentStickersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v103/constructors/messages_savedGifs.md b/old_docs/API_docs_v103/constructors/messages_savedGifs.md deleted file mode 100644 index ed3e8ea3..00000000 --- a/old_docs/API_docs_v103/constructors/messages_savedGifs.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.savedGifs -description: Saved gifs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.savedGifs -[Back to constructors index](index.md) - - - -Saved gifs - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|gifs|Array of [Document](../types/Document.md) | Yes|Gifs| - - - -### Type: [messages\_SavedGifs](../types/messages_SavedGifs.md) - - -### Example: - -```php -$messages_savedGifs = ['_' => 'messages.savedGifs', 'hash' => int, 'gifs' => [Document, Document]]; -``` - - -Or, if you're into Lua: - -```lua -messages_savedGifs={_='messages.savedGifs', hash=int, gifs={Document}} - -``` - - diff --git a/old_docs/API_docs_v103/constructors/messages_savedGifsNotModified.md b/old_docs/API_docs_v103/constructors/messages_savedGifsNotModified.md deleted file mode 100644 index 0f843a0c..00000000 --- a/old_docs/API_docs_v103/constructors/messages_savedGifsNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.savedGifsNotModified -description: No new saved gifs were found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.savedGifsNotModified -[Back to constructors index](index.md) - - - -No new saved gifs were found - - - - -### Type: [messages\_SavedGifs](../types/messages_SavedGifs.md) - - -### Example: - -```php -$messages_savedGifsNotModified = ['_' => 'messages.savedGifsNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_savedGifsNotModified={_='messages.savedGifsNotModified'} - -``` - - diff --git a/old_docs/API_docs_v103/constructors/messages_searchCounter.md b/old_docs/API_docs_v103/constructors/messages_searchCounter.md deleted file mode 100644 index 7ca4102e..00000000 --- a/old_docs/API_docs_v103/constructors/messages_searchCounter.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.searchCounter -description: Indicates how many results would be found by a [messages.search](../methods/messages.search.md) call with the same parameters -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.searchCounter -[Back to constructors index](index.md) - - - -Indicates how many results would be found by a [messages.search](../methods/messages.search.md) call with the same parameters - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|inexact|[Bool](../types/Bool.md) | Optional|If set, the results may be inexact| -|filter|[MessagesFilter](../types/MessagesFilter.md) | Yes|Provided message filter| -|count|[int](../types/int.md) | Yes|Number of results that were found server-side| - - - -### Type: [messages\_SearchCounter](../types/messages_SearchCounter.md) - - -### Example: - -```php -$messages_searchCounter = ['_' => 'messages.searchCounter', 'inexact' => Bool, 'filter' => MessagesFilter, 'count' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_searchCounter={_='messages.searchCounter', inexact=Bool, filter=MessagesFilter, count=int} - -``` - - diff --git a/old_docs/API_docs_v103/constructors/messages_sentEncryptedFile.md b/old_docs/API_docs_v103/constructors/messages_sentEncryptedFile.md deleted file mode 100644 index fdc2a11e..00000000 --- a/old_docs/API_docs_v103/constructors/messages_sentEncryptedFile.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.sentEncryptedFile -description: Message with a file enclosure sent to a protected chat -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.sentEncryptedFile -[Back to constructors index](index.md) - - - -Message with a file enclosure sent to a protected chat - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Sending date| -|file|[EncryptedFile](../types/EncryptedFile.md) | Optional|Attached file| - - - -### Type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) - - -### Example: - -```php -$messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile]; -``` - - -Or, if you're into Lua: - -```lua -messages_sentEncryptedFile={_='messages.sentEncryptedFile', date=int, file=EncryptedFile} - -``` - - diff --git a/old_docs/API_docs_v103/constructors/messages_sentEncryptedMessage.md b/old_docs/API_docs_v103/constructors/messages_sentEncryptedMessage.md deleted file mode 100644 index 36b2bbff..00000000 --- a/old_docs/API_docs_v103/constructors/messages_sentEncryptedMessage.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.sentEncryptedMessage -description: Message without file attachemts sent to an encrypted file. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.sentEncryptedMessage -[Back to constructors index](index.md) - - - -Message without file attachemts sent to an encrypted file. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Date of sending| - - - -### Type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) - - -### Example: - -```php -$messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_sentEncryptedMessage={_='messages.sentEncryptedMessage', date=int} - -``` - - diff --git a/old_docs/API_docs_v103/constructors/messages_stickerSet.md b/old_docs/API_docs_v103/constructors/messages_stickerSet.md deleted file mode 100644 index 127191de..00000000 --- a/old_docs/API_docs_v103/constructors/messages_stickerSet.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.stickerSet -description: Stickerset and stickers inside it -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickerSet -[Back to constructors index](index.md) - - - -Stickerset and stickers inside it - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|set|[StickerSet](../types/StickerSet.md) | Yes|The stickerset| -|packs|Array of [StickerPack](../types/StickerPack.md) | Yes|Packs| -|documents|Array of [Document](../types/Document.md) | Yes|Documents| - - - -### Type: [messages\_StickerSet](../types/messages_StickerSet.md) - - -### Example: - -```php -$messages_stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'packs' => [StickerPack, StickerPack], 'documents' => [Document, Document]]; -``` - - -Or, if you're into Lua: - -```lua -messages_stickerSet={_='messages.stickerSet', set=StickerSet, packs={StickerPack}, documents={Document}} - -``` - - diff --git a/old_docs/API_docs_v103/constructors/messages_stickerSetInstallResultArchive.md b/old_docs/API_docs_v103/constructors/messages_stickerSetInstallResultArchive.md deleted file mode 100644 index 8a5f4d5d..00000000 --- a/old_docs/API_docs_v103/constructors/messages_stickerSetInstallResultArchive.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.stickerSetInstallResultArchive -description: The stickerset was installed, but since there are too many stickersets some were archived -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickerSetInstallResultArchive -[Back to constructors index](index.md) - - - -The stickerset was installed, but since there are too many stickersets some were archived - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| - - - -### Type: [messages\_StickerSetInstallResult](../types/messages_StickerSetInstallResult.md) - - -### Example: - -```php -$messages_stickerSetInstallResultArchive = ['_' => 'messages.stickerSetInstallResultArchive', 'sets' => [StickerSetCovered, StickerSetCovered]]; -``` - - -Or, if you're into Lua: - -```lua -messages_stickerSetInstallResultArchive={_='messages.stickerSetInstallResultArchive', sets={StickerSetCovered}} - -``` - - diff --git a/old_docs/API_docs_v103/constructors/messages_stickerSetInstallResultSuccess.md b/old_docs/API_docs_v103/constructors/messages_stickerSetInstallResultSuccess.md deleted file mode 100644 index 1d33b89f..00000000 --- a/old_docs/API_docs_v103/constructors/messages_stickerSetInstallResultSuccess.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.stickerSetInstallResultSuccess -description: The stickerset was installed successfully -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickerSetInstallResultSuccess -[Back to constructors index](index.md) - - - -The stickerset was installed successfully - - - - -### Type: [messages\_StickerSetInstallResult](../types/messages_StickerSetInstallResult.md) - - -### Example: - -```php -$messages_stickerSetInstallResultSuccess = ['_' => 'messages.stickerSetInstallResultSuccess']; -``` - - -Or, if you're into Lua: - -```lua -messages_stickerSetInstallResultSuccess={_='messages.stickerSetInstallResultSuccess'} - -``` - - diff --git a/old_docs/API_docs_v103/constructors/messages_stickers.md b/old_docs/API_docs_v103/constructors/messages_stickers.md deleted file mode 100644 index c321996b..00000000 --- a/old_docs/API_docs_v103/constructors/messages_stickers.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.stickers -description: Found stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickers -[Back to constructors index](index.md) - - - -Found stickers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| - - - -### Type: [messages\_Stickers](../types/messages_Stickers.md) - - -### Example: - -```php -$messages_stickers = ['_' => 'messages.stickers', 'hash' => int, 'stickers' => [Document, Document]]; -``` - - -Or, if you're into Lua: - -```lua -messages_stickers={_='messages.stickers', hash=int, stickers={Document}} - -``` - - diff --git a/old_docs/API_docs_v103/constructors/messages_stickersNotModified.md b/old_docs/API_docs_v103/constructors/messages_stickersNotModified.md deleted file mode 100644 index 3d434a79..00000000 --- a/old_docs/API_docs_v103/constructors/messages_stickersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.stickersNotModified -description: No new stickers were found for the given query -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickersNotModified -[Back to constructors index](index.md) - - - -No new stickers were found for the given query - - - - -### Type: [messages\_Stickers](../types/messages_Stickers.md) - - -### Example: - -```php -$messages_stickersNotModified = ['_' => 'messages.stickersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_stickersNotModified={_='messages.stickersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v103/constructors/payments.paymentForm.md b/old_docs/API_docs_v103/constructors/payments.paymentForm.md new file mode 100644 index 00000000..90e0f39d --- /dev/null +++ b/old_docs/API_docs_v103/constructors/payments.paymentForm.md @@ -0,0 +1,48 @@ +--- +title: payments.paymentForm +description: Payment form +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: payments.paymentForm +[Back to constructors index](index.md) + + + +Payment form + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|can\_save\_credentials|[Bool](../types/Bool.md) | Optional|Whether the user can choose to save credentials.| +|password\_missing|[Bool](../types/Bool.md) | Optional|Indicates that the user can save payment credentials, but only after setting up a [2FA password](https://core.telegram.org/api/srp) (currently the account doesn't have a [2FA password](https://core.telegram.org/api/srp))| +|bot\_id|[int](../types/int.md) | Yes|Bot ID| +|invoice|[Invoice](../types/Invoice.md) | Yes|Invoice| +|provider\_id|[int](../types/int.md) | Yes|Payment provider ID.| +|url|[string](../types/string.md) | Yes|Payment form URL| +|native\_provider|[string](../types/string.md) | Optional|Payment provider name.
One of the following:
\- `stripe`| +|native\_params|[DataJSON](../types/DataJSON.md) | Optional|Contains information about the payment provider, if available, to support it natively without the need for opening the URL.
A JSON object that can contain the following fields:

\- `publishable_key`: Stripe API publishable key
\- `apple_pay_merchant_id`: Apple Pay merchant ID
\- `android_pay_public_key`: Android Pay public key
\- `android_pay_bgcolor`: Android Pay form background color
\- `android_pay_inverse`: Whether to use the dark theme in the Android Pay form
\- `need_country`: True, if the user country must be provided,
\- `need_zip`: True, if the user ZIP/postal code must be provided,
\- `need_cardholder_name`: True, if the cardholder name must be provided
| +|saved\_info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Optional|Saved server-side order information| +|saved\_credentials|[PaymentSavedCredentials](../types/PaymentSavedCredentials.md) | Optional|Contains information about saved card credentials| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [payments.PaymentForm](../types/payments.PaymentForm.md) + + +### Example: + +```php +$payments.paymentForm = ['_' => 'payments.paymentForm', 'can_save_credentials' => Bool, 'password_missing' => Bool, 'bot_id' => int, 'invoice' => Invoice, 'provider_id' => int, 'url' => 'string', 'native_provider' => 'string', 'native_params' => DataJSON, 'saved_info' => PaymentRequestedInfo, 'saved_credentials' => PaymentSavedCredentials, 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +payments.paymentForm={_='payments.paymentForm', can_save_credentials=Bool, password_missing=Bool, bot_id=int, invoice=Invoice, provider_id=int, url='string', native_provider='string', native_params=DataJSON, saved_info=PaymentRequestedInfo, saved_credentials=PaymentSavedCredentials, users={User}} + +``` + + diff --git a/old_docs/API_docs_v103/constructors/payments.paymentReceipt.md b/old_docs/API_docs_v103/constructors/payments.paymentReceipt.md new file mode 100644 index 00000000..5a0cc190 --- /dev/null +++ b/old_docs/API_docs_v103/constructors/payments.paymentReceipt.md @@ -0,0 +1,47 @@ +--- +title: payments.paymentReceipt +description: Receipt +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: payments.paymentReceipt +[Back to constructors index](index.md) + + + +Receipt + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Date of generation| +|bot\_id|[int](../types/int.md) | Yes|Bot ID| +|invoice|[Invoice](../types/Invoice.md) | Yes|Invoice| +|provider\_id|[int](../types/int.md) | Yes|Provider ID| +|info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Optional|Info| +|shipping|[ShippingOption](../types/ShippingOption.md) | Optional|Selected shipping option| +|currency|[string](../types/string.md) | Yes|Three-letter ISO 4217 [currency](https://core.telegram.org/bots/payments#supported-currencies) code| +|total\_amount|[long](../types/long.md) | Yes|Total amount in the smallest units of the currency (integer, not float/double). For example, for a price of `US$ 1.45` pass `amount = 145`. See the exp parameter in [currencies.json](https://core.telegram.org/bots/payments/currencies.json), it shows the number of digits past the decimal point for each currency (2 for the majority of currencies).| +|credentials\_title|[string](../types/string.md) | Yes|Payment credential name| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [payments.PaymentReceipt](../types/payments.PaymentReceipt.md) + + +### Example: + +```php +$payments.paymentReceipt = ['_' => 'payments.paymentReceipt', 'date' => int, 'bot_id' => int, 'invoice' => Invoice, 'provider_id' => int, 'info' => PaymentRequestedInfo, 'shipping' => ShippingOption, 'currency' => 'string', 'total_amount' => long, 'credentials_title' => 'string', 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +payments.paymentReceipt={_='payments.paymentReceipt', date=int, bot_id=int, invoice=Invoice, provider_id=int, info=PaymentRequestedInfo, shipping=ShippingOption, currency='string', total_amount=long, credentials_title='string', users={User}} + +``` + + diff --git a/old_docs/API_docs_v103/constructors/payments.paymentResult.md b/old_docs/API_docs_v103/constructors/payments.paymentResult.md new file mode 100644 index 00000000..df32fd91 --- /dev/null +++ b/old_docs/API_docs_v103/constructors/payments.paymentResult.md @@ -0,0 +1,38 @@ +--- +title: payments.paymentResult +description: Payment result +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: payments.paymentResult +[Back to constructors index](index.md) + + + +Payment result + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|updates|[Updates](../types/Updates.md) | Yes|Info about the payment| + + + +### Type: [payments.PaymentResult](../types/payments.PaymentResult.md) + + +### Example: + +```php +$payments.paymentResult = ['_' => 'payments.paymentResult', 'updates' => Updates]; +``` + + +Or, if you're into Lua: + +```lua +payments.paymentResult={_='payments.paymentResult', updates=Updates} + +``` + + diff --git a/old_docs/API_docs_v103/constructors/payments.paymentVerficationNeeded.md b/old_docs/API_docs_v103/constructors/payments.paymentVerficationNeeded.md new file mode 100644 index 00000000..3f459215 --- /dev/null +++ b/old_docs/API_docs_v103/constructors/payments.paymentVerficationNeeded.md @@ -0,0 +1,38 @@ +--- +title: payments.paymentVerficationNeeded +description: Payment verfication needed +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: payments.paymentVerficationNeeded +[Back to constructors index](index.md) + + + +Payment verfication needed + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|url|[string](../types/string.md) | Yes|URL| + + + +### Type: [payments.PaymentResult](../types/payments.PaymentResult.md) + + +### Example: + +```php +$payments.paymentVerficationNeeded = ['_' => 'payments.paymentVerficationNeeded', 'url' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +payments.paymentVerficationNeeded={_='payments.paymentVerficationNeeded', url='string'} + +``` + + diff --git a/old_docs/API_docs_v103/constructors/payments.savedInfo.md b/old_docs/API_docs_v103/constructors/payments.savedInfo.md new file mode 100644 index 00000000..a005a842 --- /dev/null +++ b/old_docs/API_docs_v103/constructors/payments.savedInfo.md @@ -0,0 +1,39 @@ +--- +title: payments.savedInfo +description: Saved server-side order information +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: payments.savedInfo +[Back to constructors index](index.md) + + + +Saved server-side order information + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|has\_saved\_credentials|[Bool](../types/Bool.md) | Optional|Whether the user has some saved payment credentials| +|saved\_info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Optional|Saved server-side order information| + + + +### Type: [payments.SavedInfo](../types/payments.SavedInfo.md) + + +### Example: + +```php +$payments.savedInfo = ['_' => 'payments.savedInfo', 'has_saved_credentials' => Bool, 'saved_info' => PaymentRequestedInfo]; +``` + + +Or, if you're into Lua: + +```lua +payments.savedInfo={_='payments.savedInfo', has_saved_credentials=Bool, saved_info=PaymentRequestedInfo} + +``` + + diff --git a/old_docs/API_docs_v103/constructors/payments.validatedRequestedInfo.md b/old_docs/API_docs_v103/constructors/payments.validatedRequestedInfo.md new file mode 100644 index 00000000..4789b28d --- /dev/null +++ b/old_docs/API_docs_v103/constructors/payments.validatedRequestedInfo.md @@ -0,0 +1,39 @@ +--- +title: payments.validatedRequestedInfo +description: Validated user-provided info +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: payments.validatedRequestedInfo +[Back to constructors index](index.md) + + + +Validated user-provided info + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|id|[string](../types/string.md) | Optional|ID| +|shipping\_options|Array of [ShippingOption](../types/ShippingOption.md) | Optional|Shipping options| + + + +### Type: [payments.ValidatedRequestedInfo](../types/payments.ValidatedRequestedInfo.md) + + +### Example: + +```php +$payments.validatedRequestedInfo = ['_' => 'payments.validatedRequestedInfo', 'id' => 'string', 'shipping_options' => [ShippingOption, ShippingOption]]; +``` + + +Or, if you're into Lua: + +```lua +payments.validatedRequestedInfo={_='payments.validatedRequestedInfo', id='string', shipping_options={ShippingOption}} + +``` + + diff --git a/old_docs/API_docs_v103/constructors/payments_paymentForm.md b/old_docs/API_docs_v103/constructors/payments_paymentForm.md deleted file mode 100644 index 88848527..00000000 --- a/old_docs/API_docs_v103/constructors/payments_paymentForm.md +++ /dev/null @@ -1,48 +0,0 @@ ---- -title: payments.paymentForm -description: Payment form -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: payments.paymentForm -[Back to constructors index](index.md) - - - -Payment form - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|can\_save\_credentials|[Bool](../types/Bool.md) | Optional|Whether the user can choose to save credentials.| -|password\_missing|[Bool](../types/Bool.md) | Optional|Indicates that the user can save payment credentials, but only after setting up a [2FA password](https://core.telegram.org/api/srp) (currently the account doesn't have a [2FA password](https://core.telegram.org/api/srp))| -|bot\_id|[int](../types/int.md) | Yes|Bot ID| -|invoice|[Invoice](../types/Invoice.md) | Yes|Invoice| -|provider\_id|[int](../types/int.md) | Yes|Payment provider ID.| -|url|[string](../types/string.md) | Yes|Payment form URL| -|native\_provider|[string](../types/string.md) | Optional|Payment provider name.
One of the following:
\- `stripe`| -|native\_params|[DataJSON](../types/DataJSON.md) | Optional|Contains information about the payment provider, if available, to support it natively without the need for opening the URL.
A JSON object that can contain the following fields:

\- `publishable_key`: Stripe API publishable key
\- `apple_pay_merchant_id`: Apple Pay merchant ID
\- `android_pay_public_key`: Android Pay public key
\- `android_pay_bgcolor`: Android Pay form background color
\- `android_pay_inverse`: Whether to use the dark theme in the Android Pay form
\- `need_country`: True, if the user country must be provided,
\- `need_zip`: True, if the user ZIP/postal code must be provided,
\- `need_cardholder_name`: True, if the cardholder name must be provided
| -|saved\_info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Optional|Saved server-side order information| -|saved\_credentials|[PaymentSavedCredentials](../types/PaymentSavedCredentials.md) | Optional|Contains information about saved card credentials| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [payments\_PaymentForm](../types/payments_PaymentForm.md) - - -### Example: - -```php -$payments_paymentForm = ['_' => 'payments.paymentForm', 'can_save_credentials' => Bool, 'password_missing' => Bool, 'bot_id' => int, 'invoice' => Invoice, 'provider_id' => int, 'url' => 'string', 'native_provider' => 'string', 'native_params' => DataJSON, 'saved_info' => PaymentRequestedInfo, 'saved_credentials' => PaymentSavedCredentials, 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -payments_paymentForm={_='payments.paymentForm', can_save_credentials=Bool, password_missing=Bool, bot_id=int, invoice=Invoice, provider_id=int, url='string', native_provider='string', native_params=DataJSON, saved_info=PaymentRequestedInfo, saved_credentials=PaymentSavedCredentials, users={User}} - -``` - - diff --git a/old_docs/API_docs_v103/constructors/payments_paymentReceipt.md b/old_docs/API_docs_v103/constructors/payments_paymentReceipt.md deleted file mode 100644 index 411e9dee..00000000 --- a/old_docs/API_docs_v103/constructors/payments_paymentReceipt.md +++ /dev/null @@ -1,47 +0,0 @@ ---- -title: payments.paymentReceipt -description: Receipt -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: payments.paymentReceipt -[Back to constructors index](index.md) - - - -Receipt - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Date of generation| -|bot\_id|[int](../types/int.md) | Yes|Bot ID| -|invoice|[Invoice](../types/Invoice.md) | Yes|Invoice| -|provider\_id|[int](../types/int.md) | Yes|Provider ID| -|info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Optional|Info| -|shipping|[ShippingOption](../types/ShippingOption.md) | Optional|Selected shipping option| -|currency|[string](../types/string.md) | Yes|Three-letter ISO 4217 [currency](https://core.telegram.org/bots/payments#supported-currencies) code| -|total\_amount|[long](../types/long.md) | Yes|Total amount in the smallest units of the currency (integer, not float/double). For example, for a price of `US$ 1.45` pass `amount = 145`. See the exp parameter in [currencies.json](https://core.telegram.org/bots/payments/currencies.json), it shows the number of digits past the decimal point for each currency (2 for the majority of currencies).| -|credentials\_title|[string](../types/string.md) | Yes|Payment credential name| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [payments\_PaymentReceipt](../types/payments_PaymentReceipt.md) - - -### Example: - -```php -$payments_paymentReceipt = ['_' => 'payments.paymentReceipt', 'date' => int, 'bot_id' => int, 'invoice' => Invoice, 'provider_id' => int, 'info' => PaymentRequestedInfo, 'shipping' => ShippingOption, 'currency' => 'string', 'total_amount' => long, 'credentials_title' => 'string', 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -payments_paymentReceipt={_='payments.paymentReceipt', date=int, bot_id=int, invoice=Invoice, provider_id=int, info=PaymentRequestedInfo, shipping=ShippingOption, currency='string', total_amount=long, credentials_title='string', users={User}} - -``` - - diff --git a/old_docs/API_docs_v103/constructors/payments_paymentResult.md b/old_docs/API_docs_v103/constructors/payments_paymentResult.md deleted file mode 100644 index 12af1d36..00000000 --- a/old_docs/API_docs_v103/constructors/payments_paymentResult.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: payments.paymentResult -description: Payment result -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: payments.paymentResult -[Back to constructors index](index.md) - - - -Payment result - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|updates|[Updates](../types/Updates.md) | Yes|Info about the payment| - - - -### Type: [payments\_PaymentResult](../types/payments_PaymentResult.md) - - -### Example: - -```php -$payments_paymentResult = ['_' => 'payments.paymentResult', 'updates' => Updates]; -``` - - -Or, if you're into Lua: - -```lua -payments_paymentResult={_='payments.paymentResult', updates=Updates} - -``` - - diff --git a/old_docs/API_docs_v103/constructors/payments_paymentVerficationNeeded.md b/old_docs/API_docs_v103/constructors/payments_paymentVerficationNeeded.md deleted file mode 100644 index 70ca205d..00000000 --- a/old_docs/API_docs_v103/constructors/payments_paymentVerficationNeeded.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: payments.paymentVerficationNeeded -description: Payment verfication needed -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: payments.paymentVerficationNeeded -[Back to constructors index](index.md) - - - -Payment verfication needed - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|url|[string](../types/string.md) | Yes|URL| - - - -### Type: [payments\_PaymentResult](../types/payments_PaymentResult.md) - - -### Example: - -```php -$payments_paymentVerficationNeeded = ['_' => 'payments.paymentVerficationNeeded', 'url' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -payments_paymentVerficationNeeded={_='payments.paymentVerficationNeeded', url='string'} - -``` - - diff --git a/old_docs/API_docs_v103/constructors/payments_savedInfo.md b/old_docs/API_docs_v103/constructors/payments_savedInfo.md deleted file mode 100644 index 19d3aee5..00000000 --- a/old_docs/API_docs_v103/constructors/payments_savedInfo.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: payments.savedInfo -description: Saved server-side order information -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: payments.savedInfo -[Back to constructors index](index.md) - - - -Saved server-side order information - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|has\_saved\_credentials|[Bool](../types/Bool.md) | Optional|Whether the user has some saved payment credentials| -|saved\_info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Optional|Saved server-side order information| - - - -### Type: [payments\_SavedInfo](../types/payments_SavedInfo.md) - - -### Example: - -```php -$payments_savedInfo = ['_' => 'payments.savedInfo', 'has_saved_credentials' => Bool, 'saved_info' => PaymentRequestedInfo]; -``` - - -Or, if you're into Lua: - -```lua -payments_savedInfo={_='payments.savedInfo', has_saved_credentials=Bool, saved_info=PaymentRequestedInfo} - -``` - - diff --git a/old_docs/API_docs_v103/constructors/payments_validatedRequestedInfo.md b/old_docs/API_docs_v103/constructors/payments_validatedRequestedInfo.md deleted file mode 100644 index a07c7d06..00000000 --- a/old_docs/API_docs_v103/constructors/payments_validatedRequestedInfo.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: payments.validatedRequestedInfo -description: Validated user-provided info -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: payments.validatedRequestedInfo -[Back to constructors index](index.md) - - - -Validated user-provided info - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|id|[string](../types/string.md) | Optional|ID| -|shipping\_options|Array of [ShippingOption](../types/ShippingOption.md) | Optional|Shipping options| - - - -### Type: [payments\_ValidatedRequestedInfo](../types/payments_ValidatedRequestedInfo.md) - - -### Example: - -```php -$payments_validatedRequestedInfo = ['_' => 'payments.validatedRequestedInfo', 'id' => 'string', 'shipping_options' => [ShippingOption, ShippingOption]]; -``` - - -Or, if you're into Lua: - -```lua -payments_validatedRequestedInfo={_='payments.validatedRequestedInfo', id='string', shipping_options={ShippingOption}} - -``` - - diff --git a/old_docs/API_docs_v103/constructors/phone.phoneCall.md b/old_docs/API_docs_v103/constructors/phone.phoneCall.md new file mode 100644 index 00000000..8c1d26d4 --- /dev/null +++ b/old_docs/API_docs_v103/constructors/phone.phoneCall.md @@ -0,0 +1,39 @@ +--- +title: phone.phoneCall +description: A VoIP phone call +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: phone.phoneCall +[Back to constructors index](index.md) + + + +A VoIP phone call + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_call|[PhoneCall](../types/PhoneCall.md) | Optional|The VoIP phone call| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [phone.PhoneCall](../types/phone.PhoneCall.md) + + +### Example: + +```php +$phone.phoneCall = ['_' => 'phone.phoneCall', 'phone_call' => PhoneCall, 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +phone.phoneCall={_='phone.phoneCall', phone_call=PhoneCall, users={User}} + +``` + + diff --git a/old_docs/API_docs_v103/constructors/phone_phoneCall.md b/old_docs/API_docs_v103/constructors/phone_phoneCall.md deleted file mode 100644 index 94314567..00000000 --- a/old_docs/API_docs_v103/constructors/phone_phoneCall.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: phone.phoneCall -description: A VoIP phone call -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: phone.phoneCall -[Back to constructors index](index.md) - - - -A VoIP phone call - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_call|[PhoneCall](../types/PhoneCall.md) | Optional|The VoIP phone call| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [phone\_PhoneCall](../types/phone_PhoneCall.md) - - -### Example: - -```php -$phone_phoneCall = ['_' => 'phone.phoneCall', 'phone_call' => PhoneCall, 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -phone_phoneCall={_='phone.phoneCall', phone_call=PhoneCall, users={User}} - -``` - - diff --git a/old_docs/API_docs_v103/constructors/photos.photo.md b/old_docs/API_docs_v103/constructors/photos.photo.md new file mode 100644 index 00000000..43d3efc7 --- /dev/null +++ b/old_docs/API_docs_v103/constructors/photos.photo.md @@ -0,0 +1,39 @@ +--- +title: photos.photo +description: Photo with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: photos.photo +[Back to constructors index](index.md) + + + +Photo with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|photo|[Photo](../types/Photo.md) | Optional|Photo| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [photos.Photo](../types/photos.Photo.md) + + +### Example: + +```php +$photos.photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +photos.photo={_='photos.photo', photo=Photo, users={User}} + +``` + + diff --git a/old_docs/API_docs_v103/constructors/photos.photos.md b/old_docs/API_docs_v103/constructors/photos.photos.md new file mode 100644 index 00000000..901a9693 --- /dev/null +++ b/old_docs/API_docs_v103/constructors/photos.photos.md @@ -0,0 +1,39 @@ +--- +title: photos.photos +description: Full list of photos with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: photos.photos +[Back to constructors index](index.md) + + + +Full list of photos with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [photos.Photos](../types/photos.Photos.md) + + +### Example: + +```php +$photos.photos = ['_' => 'photos.photos', 'photos' => [Photo, Photo], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +photos.photos={_='photos.photos', photos={Photo}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v103/constructors/photos.photosSlice.md b/old_docs/API_docs_v103/constructors/photos.photosSlice.md new file mode 100644 index 00000000..2cca3546 --- /dev/null +++ b/old_docs/API_docs_v103/constructors/photos.photosSlice.md @@ -0,0 +1,40 @@ +--- +title: photos.photosSlice +description: Incomplete list of photos with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: photos.photosSlice +[Back to constructors index](index.md) + + + +Incomplete list of photos with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of photos| +|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [photos.Photos](../types/photos.Photos.md) + + +### Example: + +```php +$photos.photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo, Photo], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +photos.photosSlice={_='photos.photosSlice', count=int, photos={Photo}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v103/constructors/photos_photo.md b/old_docs/API_docs_v103/constructors/photos_photo.md deleted file mode 100644 index d5ad61d9..00000000 --- a/old_docs/API_docs_v103/constructors/photos_photo.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: photos.photo -description: Photo with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: photos.photo -[Back to constructors index](index.md) - - - -Photo with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|photo|[Photo](../types/Photo.md) | Optional|Photo| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [photos\_Photo](../types/photos_Photo.md) - - -### Example: - -```php -$photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -photos_photo={_='photos.photo', photo=Photo, users={User}} - -``` - - diff --git a/old_docs/API_docs_v103/constructors/photos_photos.md b/old_docs/API_docs_v103/constructors/photos_photos.md deleted file mode 100644 index 6ae5d048..00000000 --- a/old_docs/API_docs_v103/constructors/photos_photos.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: photos.photos -description: Full list of photos with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: photos.photos -[Back to constructors index](index.md) - - - -Full list of photos with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [photos\_Photos](../types/photos_Photos.md) - - -### Example: - -```php -$photos_photos = ['_' => 'photos.photos', 'photos' => [Photo, Photo], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -photos_photos={_='photos.photos', photos={Photo}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v103/constructors/photos_photosSlice.md b/old_docs/API_docs_v103/constructors/photos_photosSlice.md deleted file mode 100644 index 5c465c21..00000000 --- a/old_docs/API_docs_v103/constructors/photos_photosSlice.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: photos.photosSlice -description: Incomplete list of photos with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: photos.photosSlice -[Back to constructors index](index.md) - - - -Incomplete list of photos with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of photos| -|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [photos\_Photos](../types/photos_Photos.md) - - -### Example: - -```php -$photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo, Photo], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -photos_photosSlice={_='photos.photosSlice', count=int, photos={Photo}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v103/constructors/storage.fileGif.md b/old_docs/API_docs_v103/constructors/storage.fileGif.md new file mode 100644 index 00000000..8193bd25 --- /dev/null +++ b/old_docs/API_docs_v103/constructors/storage.fileGif.md @@ -0,0 +1,33 @@ +--- +title: storage.fileGif +description: GIF image. MIME type: `image/gif`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileGif +[Back to constructors index](index.md) + + + +GIF image. MIME type: `image/gif`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileGif = ['_' => 'storage.fileGif']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileGif={_='storage.fileGif'} + +``` + + diff --git a/old_docs/API_docs_v103/constructors/storage.fileJpeg.md b/old_docs/API_docs_v103/constructors/storage.fileJpeg.md new file mode 100644 index 00000000..7f125963 --- /dev/null +++ b/old_docs/API_docs_v103/constructors/storage.fileJpeg.md @@ -0,0 +1,33 @@ +--- +title: storage.fileJpeg +description: JPEG image. MIME type: `image/jpeg`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileJpeg +[Back to constructors index](index.md) + + + +JPEG image. MIME type: `image/jpeg`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileJpeg = ['_' => 'storage.fileJpeg']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileJpeg={_='storage.fileJpeg'} + +``` + + diff --git a/old_docs/API_docs_v103/constructors/storage.fileMov.md b/old_docs/API_docs_v103/constructors/storage.fileMov.md new file mode 100644 index 00000000..cb3742e0 --- /dev/null +++ b/old_docs/API_docs_v103/constructors/storage.fileMov.md @@ -0,0 +1,33 @@ +--- +title: storage.fileMov +description: Quicktime video. MIME type: `video/quicktime`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileMov +[Back to constructors index](index.md) + + + +Quicktime video. MIME type: `video/quicktime`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileMov = ['_' => 'storage.fileMov']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileMov={_='storage.fileMov'} + +``` + + diff --git a/old_docs/API_docs_v103/constructors/storage.fileMp3.md b/old_docs/API_docs_v103/constructors/storage.fileMp3.md new file mode 100644 index 00000000..617f2d39 --- /dev/null +++ b/old_docs/API_docs_v103/constructors/storage.fileMp3.md @@ -0,0 +1,33 @@ +--- +title: storage.fileMp3 +description: Mp3 audio. MIME type: `audio/mpeg`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileMp3 +[Back to constructors index](index.md) + + + +Mp3 audio. MIME type: `audio/mpeg`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileMp3 = ['_' => 'storage.fileMp3']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileMp3={_='storage.fileMp3'} + +``` + + diff --git a/old_docs/API_docs_v103/constructors/storage.fileMp4.md b/old_docs/API_docs_v103/constructors/storage.fileMp4.md new file mode 100644 index 00000000..37038176 --- /dev/null +++ b/old_docs/API_docs_v103/constructors/storage.fileMp4.md @@ -0,0 +1,33 @@ +--- +title: storage.fileMp4 +description: MPEG-4 video. MIME type: `video/mp4`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileMp4 +[Back to constructors index](index.md) + + + +MPEG-4 video. MIME type: `video/mp4`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileMp4 = ['_' => 'storage.fileMp4']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileMp4={_='storage.fileMp4'} + +``` + + diff --git a/old_docs/API_docs_v103/constructors/storage.filePartial.md b/old_docs/API_docs_v103/constructors/storage.filePartial.md new file mode 100644 index 00000000..98779e71 --- /dev/null +++ b/old_docs/API_docs_v103/constructors/storage.filePartial.md @@ -0,0 +1,33 @@ +--- +title: storage.filePartial +description: Part of a bigger file. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.filePartial +[Back to constructors index](index.md) + + + +Part of a bigger file. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.filePartial = ['_' => 'storage.filePartial']; +``` + + +Or, if you're into Lua: + +```lua +storage.filePartial={_='storage.filePartial'} + +``` + + diff --git a/old_docs/API_docs_v103/constructors/storage.filePdf.md b/old_docs/API_docs_v103/constructors/storage.filePdf.md new file mode 100644 index 00000000..136c0614 --- /dev/null +++ b/old_docs/API_docs_v103/constructors/storage.filePdf.md @@ -0,0 +1,33 @@ +--- +title: storage.filePdf +description: PDF document image. MIME type: `application/pdf`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.filePdf +[Back to constructors index](index.md) + + + +PDF document image. MIME type: `application/pdf`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.filePdf = ['_' => 'storage.filePdf']; +``` + + +Or, if you're into Lua: + +```lua +storage.filePdf={_='storage.filePdf'} + +``` + + diff --git a/old_docs/API_docs_v103/constructors/storage.filePng.md b/old_docs/API_docs_v103/constructors/storage.filePng.md new file mode 100644 index 00000000..db01ce0e --- /dev/null +++ b/old_docs/API_docs_v103/constructors/storage.filePng.md @@ -0,0 +1,33 @@ +--- +title: storage.filePng +description: PNG image. MIME type: `image/png`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.filePng +[Back to constructors index](index.md) + + + +PNG image. MIME type: `image/png`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.filePng = ['_' => 'storage.filePng']; +``` + + +Or, if you're into Lua: + +```lua +storage.filePng={_='storage.filePng'} + +``` + + diff --git a/old_docs/API_docs_v103/constructors/storage.fileUnknown.md b/old_docs/API_docs_v103/constructors/storage.fileUnknown.md new file mode 100644 index 00000000..26f0a5ae --- /dev/null +++ b/old_docs/API_docs_v103/constructors/storage.fileUnknown.md @@ -0,0 +1,33 @@ +--- +title: storage.fileUnknown +description: Unknown type. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileUnknown +[Back to constructors index](index.md) + + + +Unknown type. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileUnknown = ['_' => 'storage.fileUnknown']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileUnknown={_='storage.fileUnknown'} + +``` + + diff --git a/old_docs/API_docs_v103/constructors/storage.fileWebp.md b/old_docs/API_docs_v103/constructors/storage.fileWebp.md new file mode 100644 index 00000000..63c9ded1 --- /dev/null +++ b/old_docs/API_docs_v103/constructors/storage.fileWebp.md @@ -0,0 +1,33 @@ +--- +title: storage.fileWebp +description: WEBP image. MIME type: `image/webp`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileWebp +[Back to constructors index](index.md) + + + +WEBP image. MIME type: `image/webp`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileWebp = ['_' => 'storage.fileWebp']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileWebp={_='storage.fileWebp'} + +``` + + diff --git a/old_docs/API_docs_v103/constructors/storage_fileGif.md b/old_docs/API_docs_v103/constructors/storage_fileGif.md deleted file mode 100644 index 218c7491..00000000 --- a/old_docs/API_docs_v103/constructors/storage_fileGif.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileGif -description: GIF image. MIME type: `image/gif`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileGif -[Back to constructors index](index.md) - - - -GIF image. MIME type: `image/gif`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileGif = ['_' => 'storage.fileGif']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileGif={_='storage.fileGif'} - -``` - - diff --git a/old_docs/API_docs_v103/constructors/storage_fileJpeg.md b/old_docs/API_docs_v103/constructors/storage_fileJpeg.md deleted file mode 100644 index 925531cd..00000000 --- a/old_docs/API_docs_v103/constructors/storage_fileJpeg.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileJpeg -description: JPEG image. MIME type: `image/jpeg`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileJpeg -[Back to constructors index](index.md) - - - -JPEG image. MIME type: `image/jpeg`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileJpeg = ['_' => 'storage.fileJpeg']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileJpeg={_='storage.fileJpeg'} - -``` - - diff --git a/old_docs/API_docs_v103/constructors/storage_fileMov.md b/old_docs/API_docs_v103/constructors/storage_fileMov.md deleted file mode 100644 index eaf2a6ff..00000000 --- a/old_docs/API_docs_v103/constructors/storage_fileMov.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileMov -description: Quicktime video. MIME type: `video/quicktime`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileMov -[Back to constructors index](index.md) - - - -Quicktime video. MIME type: `video/quicktime`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileMov = ['_' => 'storage.fileMov']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileMov={_='storage.fileMov'} - -``` - - diff --git a/old_docs/API_docs_v103/constructors/storage_fileMp3.md b/old_docs/API_docs_v103/constructors/storage_fileMp3.md deleted file mode 100644 index 9afcefbb..00000000 --- a/old_docs/API_docs_v103/constructors/storage_fileMp3.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileMp3 -description: Mp3 audio. MIME type: `audio/mpeg`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileMp3 -[Back to constructors index](index.md) - - - -Mp3 audio. MIME type: `audio/mpeg`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileMp3 = ['_' => 'storage.fileMp3']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileMp3={_='storage.fileMp3'} - -``` - - diff --git a/old_docs/API_docs_v103/constructors/storage_fileMp4.md b/old_docs/API_docs_v103/constructors/storage_fileMp4.md deleted file mode 100644 index cdc0e783..00000000 --- a/old_docs/API_docs_v103/constructors/storage_fileMp4.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileMp4 -description: MPEG-4 video. MIME type: `video/mp4`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileMp4 -[Back to constructors index](index.md) - - - -MPEG-4 video. MIME type: `video/mp4`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileMp4 = ['_' => 'storage.fileMp4']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileMp4={_='storage.fileMp4'} - -``` - - diff --git a/old_docs/API_docs_v103/constructors/storage_filePartial.md b/old_docs/API_docs_v103/constructors/storage_filePartial.md deleted file mode 100644 index 9bfadf63..00000000 --- a/old_docs/API_docs_v103/constructors/storage_filePartial.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.filePartial -description: Part of a bigger file. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.filePartial -[Back to constructors index](index.md) - - - -Part of a bigger file. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_filePartial = ['_' => 'storage.filePartial']; -``` - - -Or, if you're into Lua: - -```lua -storage_filePartial={_='storage.filePartial'} - -``` - - diff --git a/old_docs/API_docs_v103/constructors/storage_filePdf.md b/old_docs/API_docs_v103/constructors/storage_filePdf.md deleted file mode 100644 index efb022cc..00000000 --- a/old_docs/API_docs_v103/constructors/storage_filePdf.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.filePdf -description: PDF document image. MIME type: `application/pdf`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.filePdf -[Back to constructors index](index.md) - - - -PDF document image. MIME type: `application/pdf`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_filePdf = ['_' => 'storage.filePdf']; -``` - - -Or, if you're into Lua: - -```lua -storage_filePdf={_='storage.filePdf'} - -``` - - diff --git a/old_docs/API_docs_v103/constructors/storage_filePng.md b/old_docs/API_docs_v103/constructors/storage_filePng.md deleted file mode 100644 index 412759e4..00000000 --- a/old_docs/API_docs_v103/constructors/storage_filePng.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.filePng -description: PNG image. MIME type: `image/png`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.filePng -[Back to constructors index](index.md) - - - -PNG image. MIME type: `image/png`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_filePng = ['_' => 'storage.filePng']; -``` - - -Or, if you're into Lua: - -```lua -storage_filePng={_='storage.filePng'} - -``` - - diff --git a/old_docs/API_docs_v103/constructors/storage_fileUnknown.md b/old_docs/API_docs_v103/constructors/storage_fileUnknown.md deleted file mode 100644 index ed33dd5e..00000000 --- a/old_docs/API_docs_v103/constructors/storage_fileUnknown.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileUnknown -description: Unknown type. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileUnknown -[Back to constructors index](index.md) - - - -Unknown type. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileUnknown = ['_' => 'storage.fileUnknown']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileUnknown={_='storage.fileUnknown'} - -``` - - diff --git a/old_docs/API_docs_v103/constructors/storage_fileWebp.md b/old_docs/API_docs_v103/constructors/storage_fileWebp.md deleted file mode 100644 index 04dcad74..00000000 --- a/old_docs/API_docs_v103/constructors/storage_fileWebp.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileWebp -description: WEBP image. MIME type: `image/webp`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileWebp -[Back to constructors index](index.md) - - - -WEBP image. MIME type: `image/webp`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileWebp = ['_' => 'storage.fileWebp']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileWebp={_='storage.fileWebp'} - -``` - - diff --git a/old_docs/API_docs_v103/constructors/updateNewStickerSet.md b/old_docs/API_docs_v103/constructors/updateNewStickerSet.md index 8a99a363..c32c41ff 100644 --- a/old_docs/API_docs_v103/constructors/updateNewStickerSet.md +++ b/old_docs/API_docs_v103/constructors/updateNewStickerSet.md @@ -14,7 +14,7 @@ A new stickerset was installed | Name | Type | Required | Description | |----------|---------------|----------|-------------| -|stickerset|[messages\_StickerSet](../types/messages_StickerSet.md) | Yes|The installed stickerset| +|stickerset|[messages.StickerSet](../constructors/messages.StickerSet.md) | Yes|The installed stickerset| @@ -24,14 +24,14 @@ A new stickerset was installed ### Example: ```php -$updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages_StickerSet]; +$updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages.StickerSet]; ``` Or, if you're into Lua: ```lua -updateNewStickerSet={_='updateNewStickerSet', stickerset=messages_StickerSet} +updateNewStickerSet={_='updateNewStickerSet', stickerset=messages.StickerSet} ``` diff --git a/old_docs/API_docs_v103/constructors/updates.channelDifference.md b/old_docs/API_docs_v103/constructors/updates.channelDifference.md new file mode 100644 index 00000000..5a13791c --- /dev/null +++ b/old_docs/API_docs_v103/constructors/updates.channelDifference.md @@ -0,0 +1,44 @@ +--- +title: updates.channelDifference +description: The new updates +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.channelDifference +[Back to constructors index](index.md) + + + +The new updates + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates to be fetched using getDifference, starting from the provided `pts`| +|pts|[int](../types/int.md) | Yes|The [PTS](https://core.telegram.org/api/updates) from which to start getting updates the next time| +|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| +|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| +|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [updates.ChannelDifference](../types/updates.ChannelDifference.md) + + +### Example: + +```php +$updates.channelDifference = ['_' => 'updates.channelDifference', 'final' => Bool, 'pts' => int, 'timeout' => int, 'new_messages' => [Message, Message], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +updates.channelDifference={_='updates.channelDifference', final=Bool, pts=int, timeout=int, new_messages={Message}, other_updates={Update}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v103/constructors/updates.channelDifferenceEmpty.md b/old_docs/API_docs_v103/constructors/updates.channelDifferenceEmpty.md new file mode 100644 index 00000000..8ce43da4 --- /dev/null +++ b/old_docs/API_docs_v103/constructors/updates.channelDifferenceEmpty.md @@ -0,0 +1,40 @@ +--- +title: updates.channelDifferenceEmpty +description: There are no new updates +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.channelDifferenceEmpty +[Back to constructors index](index.md) + + + +There are no new updates + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates that must be fetched (always false)| +|pts|[int](../types/int.md) | Yes|The latest [PTS](https://core.telegram.org/api/updates)| +|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| + + + +### Type: [updates.ChannelDifference](../types/updates.ChannelDifference.md) + + +### Example: + +```php +$updates.channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'final' => Bool, 'pts' => int, 'timeout' => int]; +``` + + +Or, if you're into Lua: + +```lua +updates.channelDifferenceEmpty={_='updates.channelDifferenceEmpty', final=Bool, pts=int, timeout=int} + +``` + + diff --git a/old_docs/API_docs_v103/constructors/updates.channelDifferenceTooLong.md b/old_docs/API_docs_v103/constructors/updates.channelDifferenceTooLong.md new file mode 100644 index 00000000..10fb21ed --- /dev/null +++ b/old_docs/API_docs_v103/constructors/updates.channelDifferenceTooLong.md @@ -0,0 +1,53 @@ +--- +title: updates.channelDifferenceTooLong +description: The provided `pts + limit < remote pts`. Simply, there are too many updates to be fetched (more than `limit`), the client has to resolve the update gap in one of the following ways: + +1. Delete all known messages in the chat, begin from scratch by refetching all messages manually with [getHistory](../methods/messages.getHistory.md). It is easy to implement, but suddenly disappearing messages looks awful for the user. +2. Save all messages loaded in the memory until application restart, but delete all messages from database. Messages left in the memory must be lazily updated using calls to [getHistory](../methods/messages.getHistory.md). It looks much smoothly for the user, he will need to redownload messages only after client restart. Unsynchronized messages left in the memory shouldn't be saved to database, results of [getHistory](../methods/messages.getHistory.md) and [getMessages](../methods/messages.getMessages.md) must be used to update state of deleted and edited messages left in the memory. +3. Save all messages loaded in the memory and stored in the database without saving that some messages form continuous ranges. Messages in the database will be excluded from results of getChatHistory and searchChatMessages after application restart and will be available only through getMessage. Every message should still be checked using getHistory. It has more disadvantages over 2) than advantages. +4. Save all messages with saving all data about continuous message ranges. Messages from the database may be used as results of getChatHistory and (if implemented continuous ranges support for searching shared media) searchChatMessages. The messages should still be lazily checked using getHistory, but they are still available offline. It is the best way for gaps support, but it is pretty hard to implement correctly. It should be also noted that some messages like live location messages shouldn't be deleted. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.channelDifferenceTooLong +[Back to constructors index](index.md) + + + +The provided `pts + limit < remote pts`. Simply, there are too many updates to be fetched (more than `limit`), the client has to resolve the update gap in one of the following ways: + +1. Delete all known messages in the chat, begin from scratch by refetching all messages manually with [getHistory](../methods/messages.getHistory.md). It is easy to implement, but suddenly disappearing messages looks awful for the user. +2. Save all messages loaded in the memory until application restart, but delete all messages from database. Messages left in the memory must be lazily updated using calls to [getHistory](../methods/messages.getHistory.md). It looks much smoothly for the user, he will need to redownload messages only after client restart. Unsynchronized messages left in the memory shouldn't be saved to database, results of [getHistory](../methods/messages.getHistory.md) and [getMessages](../methods/messages.getMessages.md) must be used to update state of deleted and edited messages left in the memory. +3. Save all messages loaded in the memory and stored in the database without saving that some messages form continuous ranges. Messages in the database will be excluded from results of getChatHistory and searchChatMessages after application restart and will be available only through getMessage. Every message should still be checked using getHistory. It has more disadvantages over 2) than advantages. +4. Save all messages with saving all data about continuous message ranges. Messages from the database may be used as results of getChatHistory and (if implemented continuous ranges support for searching shared media) searchChatMessages. The messages should still be lazily checked using getHistory, but they are still available offline. It is the best way for gaps support, but it is pretty hard to implement correctly. It should be also noted that some messages like live location messages shouldn't be deleted. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates that must be fetched (always false)| +|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| +|dialog|[Dialog](../types/Dialog.md) | Yes|Dialog containing the latest [PTS](https://core.telegram.org/api/updates) that can be used to reset the channel state| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [updates.ChannelDifference](../types/updates.ChannelDifference.md) + + +### Example: + +```php +$updates.channelDifferenceTooLong = ['_' => 'updates.channelDifferenceTooLong', 'final' => Bool, 'timeout' => int, 'dialog' => Dialog, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +updates.channelDifferenceTooLong={_='updates.channelDifferenceTooLong', final=Bool, timeout=int, dialog=Dialog, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v103/constructors/updates.difference.md b/old_docs/API_docs_v103/constructors/updates.difference.md new file mode 100644 index 00000000..82541b51 --- /dev/null +++ b/old_docs/API_docs_v103/constructors/updates.difference.md @@ -0,0 +1,43 @@ +--- +title: updates.difference +description: Full list of occurred events. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.difference +[Back to constructors index](index.md) + + + +Full list of occurred events. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| +|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| +|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| +|state|[updates.State](../constructors/updates.State.md) | Yes|Current state| + + + +### Type: [updates.Difference](../types/updates.Difference.md) + + +### Example: + +```php +$updates.difference = ['_' => 'updates.difference', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates.State]; +``` + + +Or, if you're into Lua: + +```lua +updates.difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates.State} + +``` + + diff --git a/old_docs/API_docs_v103/constructors/updates.differenceEmpty.md b/old_docs/API_docs_v103/constructors/updates.differenceEmpty.md new file mode 100644 index 00000000..a9dc3bd0 --- /dev/null +++ b/old_docs/API_docs_v103/constructors/updates.differenceEmpty.md @@ -0,0 +1,39 @@ +--- +title: updates.differenceEmpty +description: No events. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.differenceEmpty +[Back to constructors index](index.md) + + + +No events. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Current date| +|seq|[int](../types/int.md) | Yes|Number of sent updates| + + + +### Type: [updates.Difference](../types/updates.Difference.md) + + +### Example: + +```php +$updates.differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int]; +``` + + +Or, if you're into Lua: + +```lua +updates.differenceEmpty={_='updates.differenceEmpty', date=int, seq=int} + +``` + + diff --git a/old_docs/API_docs_v103/constructors/updates.differenceSlice.md b/old_docs/API_docs_v103/constructors/updates.differenceSlice.md new file mode 100644 index 00000000..9daf7a75 --- /dev/null +++ b/old_docs/API_docs_v103/constructors/updates.differenceSlice.md @@ -0,0 +1,43 @@ +--- +title: updates.differenceSlice +description: Incomplete list of occurred events. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.differenceSlice +[Back to constructors index](index.md) + + + +Incomplete list of occurred events. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| +|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| +|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| +|intermediate\_state|[updates.State](../constructors/updates.State.md) | Yes|Intermediary state| + + + +### Type: [updates.Difference](../types/updates.Difference.md) + + +### Example: + +```php +$updates.differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'intermediate_state' => updates.State]; +``` + + +Or, if you're into Lua: + +```lua +updates.differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates.State} + +``` + + diff --git a/old_docs/API_docs_v103/constructors/updates.differenceTooLong.md b/old_docs/API_docs_v103/constructors/updates.differenceTooLong.md new file mode 100644 index 00000000..ef2e7e4d --- /dev/null +++ b/old_docs/API_docs_v103/constructors/updates.differenceTooLong.md @@ -0,0 +1,38 @@ +--- +title: updates.differenceTooLong +description: The difference is [too long](https://core.telegram.org/api/updates#recovering-gaps), and the specified state must be used to refetch updates. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.differenceTooLong +[Back to constructors index](index.md) + + + +The difference is [too long](https://core.telegram.org/api/updates#recovering-gaps), and the specified state must be used to refetch updates. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|The new state to use.| + + + +### Type: [updates.Difference](../types/updates.Difference.md) + + +### Example: + +```php +$updates.differenceTooLong = ['_' => 'updates.differenceTooLong', 'pts' => int]; +``` + + +Or, if you're into Lua: + +```lua +updates.differenceTooLong={_='updates.differenceTooLong', pts=int} + +``` + + diff --git a/old_docs/API_docs_v103/constructors/updates.state.md b/old_docs/API_docs_v103/constructors/updates.state.md new file mode 100644 index 00000000..abe9ddbb --- /dev/null +++ b/old_docs/API_docs_v103/constructors/updates.state.md @@ -0,0 +1,42 @@ +--- +title: updates.state +description: Updates state. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.state +[Back to constructors index](index.md) + + + +Updates state. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| +|qts|[int](../types/int.md) | Yes|Position in a sequence of updates in secret chats. For further detailes refer to article [secret chats](https://core.telegram.org/api/end-to-end)
Parameter was added in [eigth layer](https://core.telegram.org/api/layers#layer-8).| +|date|[int](../types/int.md) | Yes|Date of condition| +|seq|[int](../types/int.md) | Yes|Number of sent updates| +|unread\_count|[int](../types/int.md) | Yes|Number of unread messages| + + + +### Type: [updates.State](../types/updates.State.md) + + +### Example: + +```php +$updates.state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int]; +``` + + +Or, if you're into Lua: + +```lua +updates.state={_='updates.state', pts=int, qts=int, date=int, seq=int, unread_count=int} + +``` + + diff --git a/old_docs/API_docs_v103/constructors/updates_channelDifference.md b/old_docs/API_docs_v103/constructors/updates_channelDifference.md deleted file mode 100644 index 1b50fbf3..00000000 --- a/old_docs/API_docs_v103/constructors/updates_channelDifference.md +++ /dev/null @@ -1,44 +0,0 @@ ---- -title: updates.channelDifference -description: The new updates -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.channelDifference -[Back to constructors index](index.md) - - - -The new updates - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates to be fetched using getDifference, starting from the provided `pts`| -|pts|[int](../types/int.md) | Yes|The [PTS](https://core.telegram.org/api/updates) from which to start getting updates the next time| -|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| -|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| -|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) - - -### Example: - -```php -$updates_channelDifference = ['_' => 'updates.channelDifference', 'final' => Bool, 'pts' => int, 'timeout' => int, 'new_messages' => [Message, Message], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -updates_channelDifference={_='updates.channelDifference', final=Bool, pts=int, timeout=int, new_messages={Message}, other_updates={Update}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v103/constructors/updates_channelDifferenceEmpty.md b/old_docs/API_docs_v103/constructors/updates_channelDifferenceEmpty.md deleted file mode 100644 index 713137aa..00000000 --- a/old_docs/API_docs_v103/constructors/updates_channelDifferenceEmpty.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: updates.channelDifferenceEmpty -description: There are no new updates -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.channelDifferenceEmpty -[Back to constructors index](index.md) - - - -There are no new updates - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates that must be fetched (always false)| -|pts|[int](../types/int.md) | Yes|The latest [PTS](https://core.telegram.org/api/updates)| -|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| - - - -### Type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) - - -### Example: - -```php -$updates_channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'final' => Bool, 'pts' => int, 'timeout' => int]; -``` - - -Or, if you're into Lua: - -```lua -updates_channelDifferenceEmpty={_='updates.channelDifferenceEmpty', final=Bool, pts=int, timeout=int} - -``` - - diff --git a/old_docs/API_docs_v103/constructors/updates_channelDifferenceTooLong.md b/old_docs/API_docs_v103/constructors/updates_channelDifferenceTooLong.md deleted file mode 100644 index 5719c340..00000000 --- a/old_docs/API_docs_v103/constructors/updates_channelDifferenceTooLong.md +++ /dev/null @@ -1,53 +0,0 @@ ---- -title: updates.channelDifferenceTooLong -description: The provided `pts + limit < remote pts`. Simply, there are too many updates to be fetched (more than `limit`), the client has to resolve the update gap in one of the following ways: - -1. Delete all known messages in the chat, begin from scratch by refetching all messages manually with [getHistory](../methods/messages.getHistory.md). It is easy to implement, but suddenly disappearing messages looks awful for the user. -2. Save all messages loaded in the memory until application restart, but delete all messages from database. Messages left in the memory must be lazily updated using calls to [getHistory](../methods/messages.getHistory.md). It looks much smoothly for the user, he will need to redownload messages only after client restart. Unsynchronized messages left in the memory shouldn't be saved to database, results of [getHistory](../methods/messages.getHistory.md) and [getMessages](../methods/messages.getMessages.md) must be used to update state of deleted and edited messages left in the memory. -3. Save all messages loaded in the memory and stored in the database without saving that some messages form continuous ranges. Messages in the database will be excluded from results of getChatHistory and searchChatMessages after application restart and will be available only through getMessage. Every message should still be checked using getHistory. It has more disadvantages over 2) than advantages. -4. Save all messages with saving all data about continuous message ranges. Messages from the database may be used as results of getChatHistory and (if implemented continuous ranges support for searching shared media) searchChatMessages. The messages should still be lazily checked using getHistory, but they are still available offline. It is the best way for gaps support, but it is pretty hard to implement correctly. It should be also noted that some messages like live location messages shouldn't be deleted. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.channelDifferenceTooLong -[Back to constructors index](index.md) - - - -The provided `pts + limit < remote pts`. Simply, there are too many updates to be fetched (more than `limit`), the client has to resolve the update gap in one of the following ways: - -1. Delete all known messages in the chat, begin from scratch by refetching all messages manually with [getHistory](../methods/messages.getHistory.md). It is easy to implement, but suddenly disappearing messages looks awful for the user. -2. Save all messages loaded in the memory until application restart, but delete all messages from database. Messages left in the memory must be lazily updated using calls to [getHistory](../methods/messages.getHistory.md). It looks much smoothly for the user, he will need to redownload messages only after client restart. Unsynchronized messages left in the memory shouldn't be saved to database, results of [getHistory](../methods/messages.getHistory.md) and [getMessages](../methods/messages.getMessages.md) must be used to update state of deleted and edited messages left in the memory. -3. Save all messages loaded in the memory and stored in the database without saving that some messages form continuous ranges. Messages in the database will be excluded from results of getChatHistory and searchChatMessages after application restart and will be available only through getMessage. Every message should still be checked using getHistory. It has more disadvantages over 2) than advantages. -4. Save all messages with saving all data about continuous message ranges. Messages from the database may be used as results of getChatHistory and (if implemented continuous ranges support for searching shared media) searchChatMessages. The messages should still be lazily checked using getHistory, but they are still available offline. It is the best way for gaps support, but it is pretty hard to implement correctly. It should be also noted that some messages like live location messages shouldn't be deleted. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates that must be fetched (always false)| -|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| -|dialog|[Dialog](../types/Dialog.md) | Yes|Dialog containing the latest [PTS](https://core.telegram.org/api/updates) that can be used to reset the channel state| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) - - -### Example: - -```php -$updates_channelDifferenceTooLong = ['_' => 'updates.channelDifferenceTooLong', 'final' => Bool, 'timeout' => int, 'dialog' => Dialog, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -updates_channelDifferenceTooLong={_='updates.channelDifferenceTooLong', final=Bool, timeout=int, dialog=Dialog, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v103/constructors/updates_difference.md b/old_docs/API_docs_v103/constructors/updates_difference.md deleted file mode 100644 index 71ac7d4c..00000000 --- a/old_docs/API_docs_v103/constructors/updates_difference.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: updates.difference -description: Full list of occurred events. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.difference -[Back to constructors index](index.md) - - - -Full list of occurred events. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| -|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| -|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| -|state|[updates\_State](../types/updates_State.md) | Yes|Current state| - - - -### Type: [updates\_Difference](../types/updates_Difference.md) - - -### Example: - -```php -$updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates_State]; -``` - - -Or, if you're into Lua: - -```lua -updates_difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates_State} - -``` - - diff --git a/old_docs/API_docs_v103/constructors/updates_differenceEmpty.md b/old_docs/API_docs_v103/constructors/updates_differenceEmpty.md deleted file mode 100644 index c3c95c5a..00000000 --- a/old_docs/API_docs_v103/constructors/updates_differenceEmpty.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: updates.differenceEmpty -description: No events. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.differenceEmpty -[Back to constructors index](index.md) - - - -No events. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Current date| -|seq|[int](../types/int.md) | Yes|Number of sent updates| - - - -### Type: [updates\_Difference](../types/updates_Difference.md) - - -### Example: - -```php -$updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int]; -``` - - -Or, if you're into Lua: - -```lua -updates_differenceEmpty={_='updates.differenceEmpty', date=int, seq=int} - -``` - - diff --git a/old_docs/API_docs_v103/constructors/updates_differenceSlice.md b/old_docs/API_docs_v103/constructors/updates_differenceSlice.md deleted file mode 100644 index 8b12a369..00000000 --- a/old_docs/API_docs_v103/constructors/updates_differenceSlice.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: updates.differenceSlice -description: Incomplete list of occurred events. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.differenceSlice -[Back to constructors index](index.md) - - - -Incomplete list of occurred events. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| -|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| -|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| -|intermediate\_state|[updates\_State](../types/updates_State.md) | Yes|Intermediary state| - - - -### Type: [updates\_Difference](../types/updates_Difference.md) - - -### Example: - -```php -$updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'intermediate_state' => updates_State]; -``` - - -Or, if you're into Lua: - -```lua -updates_differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates_State} - -``` - - diff --git a/old_docs/API_docs_v103/constructors/updates_differenceTooLong.md b/old_docs/API_docs_v103/constructors/updates_differenceTooLong.md deleted file mode 100644 index 1fbdfa01..00000000 --- a/old_docs/API_docs_v103/constructors/updates_differenceTooLong.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: updates.differenceTooLong -description: The difference is [too long](https://core.telegram.org/api/updates#recovering-gaps), and the specified state must be used to refetch updates. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.differenceTooLong -[Back to constructors index](index.md) - - - -The difference is [too long](https://core.telegram.org/api/updates#recovering-gaps), and the specified state must be used to refetch updates. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|The new state to use.| - - - -### Type: [updates\_Difference](../types/updates_Difference.md) - - -### Example: - -```php -$updates_differenceTooLong = ['_' => 'updates.differenceTooLong', 'pts' => int]; -``` - - -Or, if you're into Lua: - -```lua -updates_differenceTooLong={_='updates.differenceTooLong', pts=int} - -``` - - diff --git a/old_docs/API_docs_v103/constructors/updates_state.md b/old_docs/API_docs_v103/constructors/updates_state.md deleted file mode 100644 index ef3698e2..00000000 --- a/old_docs/API_docs_v103/constructors/updates_state.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: updates.state -description: Updates state. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.state -[Back to constructors index](index.md) - - - -Updates state. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| -|qts|[int](../types/int.md) | Yes|Position in a sequence of updates in secret chats. For further detailes refer to article [secret chats](https://core.telegram.org/api/end-to-end)
Parameter was added in [eigth layer](https://core.telegram.org/api/layers#layer-8).| -|date|[int](../types/int.md) | Yes|Date of condition| -|seq|[int](../types/int.md) | Yes|Number of sent updates| -|unread\_count|[int](../types/int.md) | Yes|Number of unread messages| - - - -### Type: [updates\_State](../types/updates_State.md) - - -### Example: - -```php -$updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int]; -``` - - -Or, if you're into Lua: - -```lua -updates_state={_='updates.state', pts=int, qts=int, date=int, seq=int, unread_count=int} - -``` - - diff --git a/old_docs/API_docs_v103/constructors/upload.cdnFile.md b/old_docs/API_docs_v103/constructors/upload.cdnFile.md new file mode 100644 index 00000000..d6d75513 --- /dev/null +++ b/old_docs/API_docs_v103/constructors/upload.cdnFile.md @@ -0,0 +1,38 @@ +--- +title: upload.cdnFile +description: Represent a chunk of a [CDN](https://core.telegram.org/cdn) file. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: upload.cdnFile +[Back to constructors index](index.md) + + + +Represent a chunk of a [CDN](https://core.telegram.org/cdn) file. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|bytes|[bytes](../types/bytes.md) | Yes|The data| + + + +### Type: [upload.CdnFile](../types/upload.CdnFile.md) + + +### Example: + +```php +$upload.cdnFile = ['_' => 'upload.cdnFile', 'bytes' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +upload.cdnFile={_='upload.cdnFile', bytes='bytes'} + +``` + + diff --git a/old_docs/API_docs_v103/constructors/upload.cdnFileReuploadNeeded.md b/old_docs/API_docs_v103/constructors/upload.cdnFileReuploadNeeded.md new file mode 100644 index 00000000..7c461a87 --- /dev/null +++ b/old_docs/API_docs_v103/constructors/upload.cdnFileReuploadNeeded.md @@ -0,0 +1,38 @@ +--- +title: upload.cdnFileReuploadNeeded +description: The file was cleared from the temporary RAM cache of the [CDN](https://core.telegram.org/cdn) and has to be reuploaded. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: upload.cdnFileReuploadNeeded +[Back to constructors index](index.md) + + + +The file was cleared from the temporary RAM cache of the [CDN](https://core.telegram.org/cdn) and has to be reuploaded. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|request\_token|[bytes](../types/bytes.md) | Yes|Request token (see [CDN](https://core.telegram.org/cdn))| + + + +### Type: [upload.CdnFile](../types/upload.CdnFile.md) + + +### Example: + +```php +$upload.cdnFileReuploadNeeded = ['_' => 'upload.cdnFileReuploadNeeded', 'request_token' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +upload.cdnFileReuploadNeeded={_='upload.cdnFileReuploadNeeded', request_token='bytes'} + +``` + + diff --git a/old_docs/API_docs_v103/constructors/upload.file.md b/old_docs/API_docs_v103/constructors/upload.file.md new file mode 100644 index 00000000..145a4c24 --- /dev/null +++ b/old_docs/API_docs_v103/constructors/upload.file.md @@ -0,0 +1,40 @@ +--- +title: upload.file +description: File content. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: upload.file +[Back to constructors index](index.md) + + + +File content. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|type|[storage.FileType](../constructors/storage.FileType.md) | Yes|File type| +|mtime|[int](../types/int.md) | Yes|Modification type| +|bytes|[bytes](../types/bytes.md) | Yes|Binary data, file content| + + + +### Type: [upload.File](../types/upload.File.md) + + +### Example: + +```php +$upload.file = ['_' => 'upload.file', 'type' => storage.FileType, 'mtime' => int, 'bytes' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +upload.file={_='upload.file', type=storage.FileType, mtime=int, bytes='bytes'} + +``` + + diff --git a/old_docs/API_docs_v103/constructors/upload.fileCdnRedirect.md b/old_docs/API_docs_v103/constructors/upload.fileCdnRedirect.md new file mode 100644 index 00000000..dc56e919 --- /dev/null +++ b/old_docs/API_docs_v103/constructors/upload.fileCdnRedirect.md @@ -0,0 +1,42 @@ +--- +title: upload.fileCdnRedirect +description: The file must be downloaded from a [CDN DC](https://core.telegram.org/cdn). +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: upload.fileCdnRedirect +[Back to constructors index](index.md) + + + +The file must be downloaded from a [CDN DC](https://core.telegram.org/cdn). + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|dc\_id|[int](../types/int.md) | Yes|[CDN DC](https://core.telegram.org/cdn) ID| +|file\_token|[bytes](../types/bytes.md) | Yes|File token (see [CDN files](https://core.telegram.org/cdn)| +|encryption\_key|[bytes](../types/bytes.md) | Yes|Encryption key (see [CDN files](https://core.telegram.org/cdn)| +|encryption\_iv|[bytes](../types/bytes.md) | Yes|Encryption IV (see [CDN files](https://core.telegram.org/cdn)| +|file\_hashes|Array of [FileHash](../types/FileHash.md) | Yes|File hashes| + + + +### Type: [upload.File](../types/upload.File.md) + + +### Example: + +```php +$upload.fileCdnRedirect = ['_' => 'upload.fileCdnRedirect', 'dc_id' => int, 'file_token' => 'bytes', 'encryption_key' => 'bytes', 'encryption_iv' => 'bytes', 'file_hashes' => [FileHash, FileHash]]; +``` + + +Or, if you're into Lua: + +```lua +upload.fileCdnRedirect={_='upload.fileCdnRedirect', dc_id=int, file_token='bytes', encryption_key='bytes', encryption_iv='bytes', file_hashes={FileHash}} + +``` + + diff --git a/old_docs/API_docs_v103/constructors/upload.webFile.md b/old_docs/API_docs_v103/constructors/upload.webFile.md new file mode 100644 index 00000000..a93ea94f --- /dev/null +++ b/old_docs/API_docs_v103/constructors/upload.webFile.md @@ -0,0 +1,42 @@ +--- +title: upload.webFile +description: Represents a chunk of an [HTTP webfile](https://core.telegram.org/api/files) downloaded through telegram's secure MTProto servers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: upload.webFile +[Back to constructors index](index.md) + + + +Represents a chunk of an [HTTP webfile](https://core.telegram.org/api/files) downloaded through telegram's secure MTProto servers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|size|[int](../types/int.md) | Yes|File size| +|mime\_type|[string](../types/string.md) | Yes|Mime type| +|file\_type|[storage.FileType](../constructors/storage.FileType.md) | Yes|File type| +|mtime|[int](../types/int.md) | Yes|Modified time| +|bytes|[bytes](../types/bytes.md) | Yes|Data| + + + +### Type: [upload.WebFile](../types/upload.WebFile.md) + + +### Example: + +```php +$upload.webFile = ['_' => 'upload.webFile', 'size' => int, 'mime_type' => 'string', 'file_type' => storage.FileType, 'mtime' => int, 'bytes' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +upload.webFile={_='upload.webFile', size=int, mime_type='string', file_type=storage.FileType, mtime=int, bytes='bytes'} + +``` + + diff --git a/old_docs/API_docs_v103/constructors/upload_cdnFile.md b/old_docs/API_docs_v103/constructors/upload_cdnFile.md deleted file mode 100644 index 019b8742..00000000 --- a/old_docs/API_docs_v103/constructors/upload_cdnFile.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: upload.cdnFile -description: Represent a chunk of a [CDN](https://core.telegram.org/cdn) file. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: upload.cdnFile -[Back to constructors index](index.md) - - - -Represent a chunk of a [CDN](https://core.telegram.org/cdn) file. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|bytes|[bytes](../types/bytes.md) | Yes|The data| - - - -### Type: [upload\_CdnFile](../types/upload_CdnFile.md) - - -### Example: - -```php -$upload_cdnFile = ['_' => 'upload.cdnFile', 'bytes' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -upload_cdnFile={_='upload.cdnFile', bytes='bytes'} - -``` - - diff --git a/old_docs/API_docs_v103/constructors/upload_cdnFileReuploadNeeded.md b/old_docs/API_docs_v103/constructors/upload_cdnFileReuploadNeeded.md deleted file mode 100644 index 6588a596..00000000 --- a/old_docs/API_docs_v103/constructors/upload_cdnFileReuploadNeeded.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: upload.cdnFileReuploadNeeded -description: The file was cleared from the temporary RAM cache of the [CDN](https://core.telegram.org/cdn) and has to be reuploaded. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: upload.cdnFileReuploadNeeded -[Back to constructors index](index.md) - - - -The file was cleared from the temporary RAM cache of the [CDN](https://core.telegram.org/cdn) and has to be reuploaded. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|request\_token|[bytes](../types/bytes.md) | Yes|Request token (see [CDN](https://core.telegram.org/cdn))| - - - -### Type: [upload\_CdnFile](../types/upload_CdnFile.md) - - -### Example: - -```php -$upload_cdnFileReuploadNeeded = ['_' => 'upload.cdnFileReuploadNeeded', 'request_token' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -upload_cdnFileReuploadNeeded={_='upload.cdnFileReuploadNeeded', request_token='bytes'} - -``` - - diff --git a/old_docs/API_docs_v103/constructors/upload_file.md b/old_docs/API_docs_v103/constructors/upload_file.md deleted file mode 100644 index 1e07d9fb..00000000 --- a/old_docs/API_docs_v103/constructors/upload_file.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: upload.file -description: File content. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: upload.file -[Back to constructors index](index.md) - - - -File content. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|type|[storage\_FileType](../types/storage_FileType.md) | Yes|File type| -|mtime|[int](../types/int.md) | Yes|Modification type| -|bytes|[bytes](../types/bytes.md) | Yes|Binary data, file content| - - - -### Type: [upload\_File](../types/upload_File.md) - - -### Example: - -```php -$upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int, 'bytes' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -upload_file={_='upload.file', type=storage_FileType, mtime=int, bytes='bytes'} - -``` - - diff --git a/old_docs/API_docs_v103/constructors/upload_fileCdnRedirect.md b/old_docs/API_docs_v103/constructors/upload_fileCdnRedirect.md deleted file mode 100644 index de504dc3..00000000 --- a/old_docs/API_docs_v103/constructors/upload_fileCdnRedirect.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: upload.fileCdnRedirect -description: The file must be downloaded from a [CDN DC](https://core.telegram.org/cdn). -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: upload.fileCdnRedirect -[Back to constructors index](index.md) - - - -The file must be downloaded from a [CDN DC](https://core.telegram.org/cdn). - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|dc\_id|[int](../types/int.md) | Yes|[CDN DC](https://core.telegram.org/cdn) ID| -|file\_token|[bytes](../types/bytes.md) | Yes|File token (see [CDN files](https://core.telegram.org/cdn)| -|encryption\_key|[bytes](../types/bytes.md) | Yes|Encryption key (see [CDN files](https://core.telegram.org/cdn)| -|encryption\_iv|[bytes](../types/bytes.md) | Yes|Encryption IV (see [CDN files](https://core.telegram.org/cdn)| -|file\_hashes|Array of [FileHash](../types/FileHash.md) | Yes|File hashes| - - - -### Type: [upload\_File](../types/upload_File.md) - - -### Example: - -```php -$upload_fileCdnRedirect = ['_' => 'upload.fileCdnRedirect', 'dc_id' => int, 'file_token' => 'bytes', 'encryption_key' => 'bytes', 'encryption_iv' => 'bytes', 'file_hashes' => [FileHash, FileHash]]; -``` - - -Or, if you're into Lua: - -```lua -upload_fileCdnRedirect={_='upload.fileCdnRedirect', dc_id=int, file_token='bytes', encryption_key='bytes', encryption_iv='bytes', file_hashes={FileHash}} - -``` - - diff --git a/old_docs/API_docs_v103/constructors/upload_webFile.md b/old_docs/API_docs_v103/constructors/upload_webFile.md deleted file mode 100644 index ee8053b1..00000000 --- a/old_docs/API_docs_v103/constructors/upload_webFile.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: upload.webFile -description: Represents a chunk of an [HTTP webfile](https://core.telegram.org/api/files) downloaded through telegram's secure MTProto servers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: upload.webFile -[Back to constructors index](index.md) - - - -Represents a chunk of an [HTTP webfile](https://core.telegram.org/api/files) downloaded through telegram's secure MTProto servers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|size|[int](../types/int.md) | Yes|File size| -|mime\_type|[string](../types/string.md) | Yes|Mime type| -|file\_type|[storage\_FileType](../types/storage_FileType.md) | Yes|File type| -|mtime|[int](../types/int.md) | Yes|Modified time| -|bytes|[bytes](../types/bytes.md) | Yes|Data| - - - -### Type: [upload\_WebFile](../types/upload_WebFile.md) - - -### Example: - -```php -$upload_webFile = ['_' => 'upload.webFile', 'size' => int, 'mime_type' => 'string', 'file_type' => storage_FileType, 'mtime' => int, 'bytes' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -upload_webFile={_='upload.webFile', size=int, mime_type='string', file_type=storage_FileType, mtime=int, bytes='bytes'} - -``` - - diff --git a/old_docs/API_docs_v103/methods/account.getAuthorizationForm.md b/old_docs/API_docs_v103/methods/account.getAuthorizationForm.md index 298951cb..b0d52e07 100644 --- a/old_docs/API_docs_v103/methods/account.getAuthorizationForm.md +++ b/old_docs/API_docs_v103/methods/account.getAuthorizationForm.md @@ -18,7 +18,7 @@ Returns a Telegram Passport authorization form for sharing data with a service |public\_key|[string](../types/string.md) | Service's public key | Yes| -### Return type: [account\_AuthorizationForm](../types/account_AuthorizationForm.md) +### Return type: [account.AuthorizationForm](../types/account.AuthorizationForm.md) ### Can bots use this method: **NO** @@ -35,12 +35,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_AuthorizationForm = $MadelineProto->account->getAuthorizationForm(['bot_id' => int, 'scope' => 'string', 'public_key' => 'string', ]); +$account.AuthorizationForm = $MadelineProto->account->getAuthorizationForm(['bot_id' => int, 'scope' => 'string', 'public_key' => 'string', ]); ``` Or, if you're into Lua: ```lua -account_AuthorizationForm = account.getAuthorizationForm({bot_id=int, scope='string', public_key='string', }) +account.AuthorizationForm = account.getAuthorizationForm({bot_id=int, scope='string', public_key='string', }) ``` diff --git a/old_docs/API_docs_v103/methods/account.getAuthorizations.md b/old_docs/API_docs_v103/methods/account.getAuthorizations.md index f69c130a..fad3a7ae 100644 --- a/old_docs/API_docs_v103/methods/account.getAuthorizations.md +++ b/old_docs/API_docs_v103/methods/account.getAuthorizations.md @@ -11,7 +11,7 @@ Get logged-in sessions -### Return type: [account\_Authorizations](../types/account_Authorizations.md) +### Return type: [account.Authorizations](../types/account.Authorizations.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_Authorizations = $MadelineProto->account->getAuthorizations(); +$account.Authorizations = $MadelineProto->account->getAuthorizations(); ``` Or, if you're into Lua: ```lua -account_Authorizations = account.getAuthorizations({}) +account.Authorizations = account.getAuthorizations({}) ``` diff --git a/old_docs/API_docs_v103/methods/account.getAutoDownloadSettings.md b/old_docs/API_docs_v103/methods/account.getAutoDownloadSettings.md index 5ad7db87..4f036f08 100644 --- a/old_docs/API_docs_v103/methods/account.getAutoDownloadSettings.md +++ b/old_docs/API_docs_v103/methods/account.getAutoDownloadSettings.md @@ -11,7 +11,7 @@ Get media autodownload settings -### Return type: [account\_AutoDownloadSettings](../types/account_AutoDownloadSettings.md) +### Return type: [account.AutoDownloadSettings](../types/account.AutoDownloadSettings.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_AutoDownloadSettings = $MadelineProto->account->getAutoDownloadSettings(); +$account.AutoDownloadSettings = $MadelineProto->account->getAutoDownloadSettings(); ``` Or, if you're into Lua: ```lua -account_AutoDownloadSettings = account.getAutoDownloadSettings({}) +account.AutoDownloadSettings = account.getAutoDownloadSettings({}) ``` diff --git a/old_docs/API_docs_v103/methods/account.getPassword.md b/old_docs/API_docs_v103/methods/account.getPassword.md index eed4aee3..621271b6 100644 --- a/old_docs/API_docs_v103/methods/account.getPassword.md +++ b/old_docs/API_docs_v103/methods/account.getPassword.md @@ -11,7 +11,7 @@ Obtain configuration for two-factor authorization with password -### Return type: [account\_Password](../types/account_Password.md) +### Return type: [account.Password](../types/account.Password.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_Password = $MadelineProto->account->getPassword(); +$account.Password = $MadelineProto->account->getPassword(); ``` Or, if you're into Lua: ```lua -account_Password = account.getPassword({}) +account.Password = account.getPassword({}) ``` diff --git a/old_docs/API_docs_v103/methods/account.getPasswordSettings.md b/old_docs/API_docs_v103/methods/account.getPasswordSettings.md index a7a47b1a..2b8607b9 100644 --- a/old_docs/API_docs_v103/methods/account.getPasswordSettings.md +++ b/old_docs/API_docs_v103/methods/account.getPasswordSettings.md @@ -16,7 +16,7 @@ You cannot use this method directly; use $MadelineProto->update_2fa($params), in |password|[InputCheckPasswordSRP](../types/InputCheckPasswordSRP.md) | You cannot use this method directly; use $MadelineProto->update_2fa($params), instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [account\_PasswordSettings](../types/account_PasswordSettings.md) +### Return type: [account.PasswordSettings](../types/account.PasswordSettings.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_PasswordSettings = $MadelineProto->account->getPasswordSettings(['password' => InputCheckPasswordSRP, ]); +$account.PasswordSettings = $MadelineProto->account->getPasswordSettings(['password' => InputCheckPasswordSRP, ]); ``` Or, if you're into Lua: ```lua -account_PasswordSettings = account.getPasswordSettings({password=InputCheckPasswordSRP, }) +account.PasswordSettings = account.getPasswordSettings({password=InputCheckPasswordSRP, }) ``` ### Errors diff --git a/old_docs/API_docs_v103/methods/account.getPrivacy.md b/old_docs/API_docs_v103/methods/account.getPrivacy.md index 6a240129..e20c292c 100644 --- a/old_docs/API_docs_v103/methods/account.getPrivacy.md +++ b/old_docs/API_docs_v103/methods/account.getPrivacy.md @@ -16,7 +16,7 @@ Get privacy settings of current account |key|[InputPrivacyKey](../types/InputPrivacyKey.md) | Peer category whose privacy settings should be fetched | Yes| -### Return type: [account\_PrivacyRules](../types/account_PrivacyRules.md) +### Return type: [account.PrivacyRules](../types/account.PrivacyRules.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_PrivacyRules = $MadelineProto->account->getPrivacy(['key' => InputPrivacyKey, ]); +$account.PrivacyRules = $MadelineProto->account->getPrivacy(['key' => InputPrivacyKey, ]); ``` Or, if you're into Lua: ```lua -account_PrivacyRules = account.getPrivacy({key=InputPrivacyKey, }) +account.PrivacyRules = account.getPrivacy({key=InputPrivacyKey, }) ``` ### Errors diff --git a/old_docs/API_docs_v103/methods/account.getTmpPassword.md b/old_docs/API_docs_v103/methods/account.getTmpPassword.md index 76729595..2328df1e 100644 --- a/old_docs/API_docs_v103/methods/account.getTmpPassword.md +++ b/old_docs/API_docs_v103/methods/account.getTmpPassword.md @@ -17,7 +17,7 @@ Get temporary payment password |period|[int](../types/int.md) | Time during which the temporary password will be valid, in seconds; should be between 60 and 86400 | Yes| -### Return type: [account\_TmpPassword](../types/account_TmpPassword.md) +### Return type: [account.TmpPassword](../types/account.TmpPassword.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_TmpPassword = $MadelineProto->account->getTmpPassword(['password' => InputCheckPasswordSRP, 'period' => int, ]); +$account.TmpPassword = $MadelineProto->account->getTmpPassword(['password' => InputCheckPasswordSRP, 'period' => int, ]); ``` Or, if you're into Lua: ```lua -account_TmpPassword = account.getTmpPassword({password=InputCheckPasswordSRP, period=int, }) +account.TmpPassword = account.getTmpPassword({password=InputCheckPasswordSRP, period=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v103/methods/account.getWallPapers.md b/old_docs/API_docs_v103/methods/account.getWallPapers.md index 75c97ae2..aeb95929 100644 --- a/old_docs/API_docs_v103/methods/account.getWallPapers.md +++ b/old_docs/API_docs_v103/methods/account.getWallPapers.md @@ -16,7 +16,7 @@ Returns a list of available wallpapers. |hash|Array of [int](../types/int.md) | IDs of previously fetched wallpapers | Optional| -### Return type: [account\_WallPapers](../types/account_WallPapers.md) +### Return type: [account.WallPapers](../types/account.WallPapers.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_WallPapers = $MadelineProto->account->getWallPapers(['hash' => [int, int], ]); +$account.WallPapers = $MadelineProto->account->getWallPapers(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -account_WallPapers = account.getWallPapers({hash={int}, }) +account.WallPapers = account.getWallPapers({hash={int}, }) ``` diff --git a/old_docs/API_docs_v103/methods/account.getWebAuthorizations.md b/old_docs/API_docs_v103/methods/account.getWebAuthorizations.md index 1a43f138..b97fe978 100644 --- a/old_docs/API_docs_v103/methods/account.getWebAuthorizations.md +++ b/old_docs/API_docs_v103/methods/account.getWebAuthorizations.md @@ -11,7 +11,7 @@ Get web [login widget](https://core.telegram.org/widgets/login) authorizations -### Return type: [account\_WebAuthorizations](../types/account_WebAuthorizations.md) +### Return type: [account.WebAuthorizations](../types/account.WebAuthorizations.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_WebAuthorizations = $MadelineProto->account->getWebAuthorizations(); +$account.WebAuthorizations = $MadelineProto->account->getWebAuthorizations(); ``` Or, if you're into Lua: ```lua -account_WebAuthorizations = account.getWebAuthorizations({}) +account.WebAuthorizations = account.getWebAuthorizations({}) ``` diff --git a/old_docs/API_docs_v103/methods/account.initTakeoutSession.md b/old_docs/API_docs_v103/methods/account.initTakeoutSession.md index 01b3ae0f..3b8774b8 100644 --- a/old_docs/API_docs_v103/methods/account.initTakeoutSession.md +++ b/old_docs/API_docs_v103/methods/account.initTakeoutSession.md @@ -22,7 +22,7 @@ Intialize account takeout session |file\_max\_size|[int](../types/int.md) | Maximum size of files to export | Optional| -### Return type: [account\_Takeout](../types/account_Takeout.md) +### Return type: [account.Takeout](../types/account.Takeout.md) ### Can bots use this method: **NO** @@ -39,12 +39,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_Takeout = $MadelineProto->account->initTakeoutSession(['contacts' => Bool, 'message_users' => Bool, 'message_chats' => Bool, 'message_megagroups' => Bool, 'message_channels' => Bool, 'files' => Bool, 'file_max_size' => int, ]); +$account.Takeout = $MadelineProto->account->initTakeoutSession(['contacts' => Bool, 'message_users' => Bool, 'message_chats' => Bool, 'message_megagroups' => Bool, 'message_channels' => Bool, 'files' => Bool, 'file_max_size' => int, ]); ``` Or, if you're into Lua: ```lua -account_Takeout = account.initTakeoutSession({contacts=Bool, message_users=Bool, message_chats=Bool, message_megagroups=Bool, message_channels=Bool, files=Bool, file_max_size=int, }) +account.Takeout = account.initTakeoutSession({contacts=Bool, message_users=Bool, message_chats=Bool, message_megagroups=Bool, message_channels=Bool, files=Bool, file_max_size=int, }) ``` diff --git a/old_docs/API_docs_v103/methods/account.sendChangePhoneCode.md b/old_docs/API_docs_v103/methods/account.sendChangePhoneCode.md index 1efd192e..469a602d 100644 --- a/old_docs/API_docs_v103/methods/account.sendChangePhoneCode.md +++ b/old_docs/API_docs_v103/methods/account.sendChangePhoneCode.md @@ -17,7 +17,7 @@ Verify a new phone number to associate to the current account |settings|[CodeSettings](../types/CodeSettings.md) | Phone code settings | Yes| -### Return type: [auth\_SentCode](../types/auth_SentCode.md) +### Return type: [auth.SentCode](../types/auth.SentCode.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_SentCode = $MadelineProto->account->sendChangePhoneCode(['phone_number' => 'string', 'settings' => CodeSettings, ]); +$auth.SentCode = $MadelineProto->account->sendChangePhoneCode(['phone_number' => 'string', 'settings' => CodeSettings, ]); ``` Or, if you're into Lua: ```lua -auth_SentCode = account.sendChangePhoneCode({phone_number='string', settings=CodeSettings, }) +auth.SentCode = account.sendChangePhoneCode({phone_number='string', settings=CodeSettings, }) ``` ### Errors diff --git a/old_docs/API_docs_v103/methods/account.sendConfirmPhoneCode.md b/old_docs/API_docs_v103/methods/account.sendConfirmPhoneCode.md index bd8cf87e..1927681f 100644 --- a/old_docs/API_docs_v103/methods/account.sendConfirmPhoneCode.md +++ b/old_docs/API_docs_v103/methods/account.sendConfirmPhoneCode.md @@ -17,7 +17,7 @@ Send confirmation code to cancel account deletion, for more info [click here »] |settings|[CodeSettings](../types/CodeSettings.md) | Phone code settings | Yes| -### Return type: [auth\_SentCode](../types/auth_SentCode.md) +### Return type: [auth.SentCode](../types/auth.SentCode.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_SentCode = $MadelineProto->account->sendConfirmPhoneCode(['hash' => 'string', 'settings' => CodeSettings, ]); +$auth.SentCode = $MadelineProto->account->sendConfirmPhoneCode(['hash' => 'string', 'settings' => CodeSettings, ]); ``` Or, if you're into Lua: ```lua -auth_SentCode = account.sendConfirmPhoneCode({hash='string', settings=CodeSettings, }) +auth.SentCode = account.sendConfirmPhoneCode({hash='string', settings=CodeSettings, }) ``` ### Errors diff --git a/old_docs/API_docs_v103/methods/account.sendVerifyEmailCode.md b/old_docs/API_docs_v103/methods/account.sendVerifyEmailCode.md index 54b1fc3f..a4768852 100644 --- a/old_docs/API_docs_v103/methods/account.sendVerifyEmailCode.md +++ b/old_docs/API_docs_v103/methods/account.sendVerifyEmailCode.md @@ -16,7 +16,7 @@ Send the verification email code for telegram [passport](https://core.telegram.o |email|[string](../types/string.md) | The email where to send the code | Yes| -### Return type: [account\_SentEmailCode](../types/account_SentEmailCode.md) +### Return type: [account.SentEmailCode](../types/account.SentEmailCode.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_SentEmailCode = $MadelineProto->account->sendVerifyEmailCode(['email' => 'string', ]); +$account.SentEmailCode = $MadelineProto->account->sendVerifyEmailCode(['email' => 'string', ]); ``` Or, if you're into Lua: ```lua -account_SentEmailCode = account.sendVerifyEmailCode({email='string', }) +account.SentEmailCode = account.sendVerifyEmailCode({email='string', }) ``` diff --git a/old_docs/API_docs_v103/methods/account.sendVerifyPhoneCode.md b/old_docs/API_docs_v103/methods/account.sendVerifyPhoneCode.md index 0b058240..3ff2fae7 100644 --- a/old_docs/API_docs_v103/methods/account.sendVerifyPhoneCode.md +++ b/old_docs/API_docs_v103/methods/account.sendVerifyPhoneCode.md @@ -17,7 +17,7 @@ Send the verification phone code for telegram [passport](https://core.telegram.o |settings|[CodeSettings](../types/CodeSettings.md) | Phone code settings | Yes| -### Return type: [auth\_SentCode](../types/auth_SentCode.md) +### Return type: [auth.SentCode](../types/auth.SentCode.md) ### Can bots use this method: **NO** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_SentCode = $MadelineProto->account->sendVerifyPhoneCode(['phone_number' => 'string', 'settings' => CodeSettings, ]); +$auth.SentCode = $MadelineProto->account->sendVerifyPhoneCode(['phone_number' => 'string', 'settings' => CodeSettings, ]); ``` Or, if you're into Lua: ```lua -auth_SentCode = account.sendVerifyPhoneCode({phone_number='string', settings=CodeSettings, }) +auth.SentCode = account.sendVerifyPhoneCode({phone_number='string', settings=CodeSettings, }) ``` diff --git a/old_docs/API_docs_v103/methods/account.setPrivacy.md b/old_docs/API_docs_v103/methods/account.setPrivacy.md index 7c4cfba7..096d373e 100644 --- a/old_docs/API_docs_v103/methods/account.setPrivacy.md +++ b/old_docs/API_docs_v103/methods/account.setPrivacy.md @@ -17,7 +17,7 @@ Change privacy settings of current account |rules|Array of [InputPrivacyRule](../types/InputPrivacyRule.md) | Privacy settings | Yes| -### Return type: [account\_PrivacyRules](../types/account_PrivacyRules.md) +### Return type: [account.PrivacyRules](../types/account.PrivacyRules.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_PrivacyRules = $MadelineProto->account->setPrivacy(['key' => InputPrivacyKey, 'rules' => [InputPrivacyRule, InputPrivacyRule], ]); +$account.PrivacyRules = $MadelineProto->account->setPrivacy(['key' => InputPrivacyKey, 'rules' => [InputPrivacyRule, InputPrivacyRule], ]); ``` Or, if you're into Lua: ```lua -account_PrivacyRules = account.setPrivacy({key=InputPrivacyKey, rules={InputPrivacyRule}, }) +account.PrivacyRules = account.setPrivacy({key=InputPrivacyKey, rules={InputPrivacyRule}, }) ``` ### Errors diff --git a/old_docs/API_docs_v103/methods/api_README.md b/old_docs/API_docs_v103/methods/api_README.md index a9d3b6f7..df72b79b 100644 --- a/old_docs/API_docs_v103/methods/api_README.md +++ b/old_docs/API_docs_v103/methods/api_README.md @@ -80,15 +80,15 @@ $MadelineProto->[account->getAllSecureValues](account.getAllSecureValues.md)(\[\ ***

-$MadelineProto->[account->getAuthorizationForm](account.getAuthorizationForm.md)(\['bot_id' => [int](../types/int.md), 'scope' => [string](../types/string.md), 'public_key' => [string](../types/string.md), \]) === [$account\_AuthorizationForm](../types/account_AuthorizationForm.md) +$MadelineProto->[account->getAuthorizationForm](account.getAuthorizationForm.md)(\['bot_id' => [int](../types/int.md), 'scope' => [string](../types/string.md), 'public_key' => [string](../types/string.md), \]) === [$account.AuthorizationForm](../types/account.AuthorizationForm.md) ***

-$MadelineProto->[account->getAuthorizations](account.getAuthorizations.md)(\[\]) === [$account\_Authorizations](../types/account_Authorizations.md) +$MadelineProto->[account->getAuthorizations](account.getAuthorizations.md)(\[\]) === [$account.Authorizations](../types/account.Authorizations.md) ***

-$MadelineProto->[account->getAutoDownloadSettings](account.getAutoDownloadSettings.md)(\[\]) === [$account\_AutoDownloadSettings](../types/account_AutoDownloadSettings.md) +$MadelineProto->[account->getAutoDownloadSettings](account.getAutoDownloadSettings.md)(\[\]) === [$account.AutoDownloadSettings](../types/account.AutoDownloadSettings.md) ***

@@ -104,15 +104,15 @@ $MadelineProto->[account->getNotifySettings](account.getNotifySettings.md)(\['pe ***

-$MadelineProto->[account->getPassword](account.getPassword.md)(\[\]) === [$account\_Password](../types/account_Password.md) +$MadelineProto->[account->getPassword](account.getPassword.md)(\[\]) === [$account.Password](../types/account.Password.md) ***

-$MadelineProto->[account->getPasswordSettings](account.getPasswordSettings.md)(\['password' => [InputCheckPasswordSRP](../types/InputCheckPasswordSRP.md), \]) === [$account\_PasswordSettings](../types/account_PasswordSettings.md) +$MadelineProto->[account->getPasswordSettings](account.getPasswordSettings.md)(\['password' => [InputCheckPasswordSRP](../types/InputCheckPasswordSRP.md), \]) === [$account.PasswordSettings](../types/account.PasswordSettings.md) ***

-$MadelineProto->[account->getPrivacy](account.getPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), \]) === [$account\_PrivacyRules](../types/account_PrivacyRules.md) +$MadelineProto->[account->getPrivacy](account.getPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), \]) === [$account.PrivacyRules](../types/account.PrivacyRules.md) ***

@@ -120,7 +120,7 @@ $MadelineProto->[account->getSecureValue](account.getSecureValue.md)(\['types' = ***

-$MadelineProto->[account->getTmpPassword](account.getTmpPassword.md)(\['password' => [InputCheckPasswordSRP](../types/InputCheckPasswordSRP.md), 'period' => [int](../types/int.md), \]) === [$account\_TmpPassword](../types/account_TmpPassword.md) +$MadelineProto->[account->getTmpPassword](account.getTmpPassword.md)(\['password' => [InputCheckPasswordSRP](../types/InputCheckPasswordSRP.md), 'period' => [int](../types/int.md), \]) === [$account.TmpPassword](../types/account.TmpPassword.md) ***

@@ -128,15 +128,15 @@ $MadelineProto->[account->getWallPaper](account.getWallPaper.md)(\['wallpaper' = ***

-$MadelineProto->[account->getWallPapers](account.getWallPapers.md)(\['hash' => [int](../types/int.md), \]) === [$account\_WallPapers](../types/account_WallPapers.md) +$MadelineProto->[account->getWallPapers](account.getWallPapers.md)(\['hash' => [int](../types/int.md), \]) === [$account.WallPapers](../types/account.WallPapers.md) ***

-$MadelineProto->[account->getWebAuthorizations](account.getWebAuthorizations.md)(\[\]) === [$account\_WebAuthorizations](../types/account_WebAuthorizations.md) +$MadelineProto->[account->getWebAuthorizations](account.getWebAuthorizations.md)(\[\]) === [$account.WebAuthorizations](../types/account.WebAuthorizations.md) ***

-$MadelineProto->[account->initTakeoutSession](account.initTakeoutSession.md)(\['contacts' => [Bool](../types/Bool.md), 'message_users' => [Bool](../types/Bool.md), 'message_chats' => [Bool](../types/Bool.md), 'message_megagroups' => [Bool](../types/Bool.md), 'message_channels' => [Bool](../types/Bool.md), 'files' => [Bool](../types/Bool.md), 'file_max_size' => [int](../types/int.md), \]) === [$account\_Takeout](../types/account_Takeout.md) +$MadelineProto->[account->initTakeoutSession](account.initTakeoutSession.md)(\['contacts' => [Bool](../types/Bool.md), 'message_users' => [Bool](../types/Bool.md), 'message_chats' => [Bool](../types/Bool.md), 'message_megagroups' => [Bool](../types/Bool.md), 'message_channels' => [Bool](../types/Bool.md), 'files' => [Bool](../types/Bool.md), 'file_max_size' => [int](../types/int.md), \]) === [$account.Takeout](../types/account.Takeout.md) ***

@@ -188,19 +188,19 @@ $MadelineProto->[account->saveWallPaper](account.saveWallPaper.md)(\['wallpaper' ***

-$MadelineProto->[account->sendChangePhoneCode](account.sendChangePhoneCode.md)(\['phone_number' => [string](../types/string.md), 'settings' => [CodeSettings](../types/CodeSettings.md), \]) === [$auth\_SentCode](../types/auth_SentCode.md) +$MadelineProto->[account->sendChangePhoneCode](account.sendChangePhoneCode.md)(\['phone_number' => [string](../types/string.md), 'settings' => [CodeSettings](../types/CodeSettings.md), \]) === [$auth.SentCode](../types/auth.SentCode.md) ***

-$MadelineProto->[account->sendConfirmPhoneCode](account.sendConfirmPhoneCode.md)(\['hash' => [string](../types/string.md), 'settings' => [CodeSettings](../types/CodeSettings.md), \]) === [$auth\_SentCode](../types/auth_SentCode.md) +$MadelineProto->[account->sendConfirmPhoneCode](account.sendConfirmPhoneCode.md)(\['hash' => [string](../types/string.md), 'settings' => [CodeSettings](../types/CodeSettings.md), \]) === [$auth.SentCode](../types/auth.SentCode.md) ***

-$MadelineProto->[account->sendVerifyEmailCode](account.sendVerifyEmailCode.md)(\['email' => [string](../types/string.md), \]) === [$account\_SentEmailCode](../types/account_SentEmailCode.md) +$MadelineProto->[account->sendVerifyEmailCode](account.sendVerifyEmailCode.md)(\['email' => [string](../types/string.md), \]) === [$account.SentEmailCode](../types/account.SentEmailCode.md) ***

-$MadelineProto->[account->sendVerifyPhoneCode](account.sendVerifyPhoneCode.md)(\['phone_number' => [string](../types/string.md), 'settings' => [CodeSettings](../types/CodeSettings.md), \]) === [$auth\_SentCode](../types/auth_SentCode.md) +$MadelineProto->[account->sendVerifyPhoneCode](account.sendVerifyPhoneCode.md)(\['phone_number' => [string](../types/string.md), 'settings' => [CodeSettings](../types/CodeSettings.md), \]) === [$auth.SentCode](../types/auth.SentCode.md) ***

@@ -212,7 +212,7 @@ $MadelineProto->[account->setContactSignUpNotification](account.setContactSignUp ***

-$MadelineProto->[account->setPrivacy](account.setPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), 'rules' => \[[InputPrivacyRule](../types/InputPrivacyRule.md)\], \]) === [$account\_PrivacyRules](../types/account_PrivacyRules.md) +$MadelineProto->[account->setPrivacy](account.setPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), 'rules' => \[[InputPrivacyRule](../types/InputPrivacyRule.md)\], \]) === [$account.PrivacyRules](../types/account.PrivacyRules.md) ***

@@ -264,7 +264,7 @@ $MadelineProto->[auth->cancelCode](auth.cancelCode.md)(\['phone_number' => [stri ***

-$MadelineProto->[auth->checkPassword](auth.checkPassword.md)(\['password' => [InputCheckPasswordSRP](../types/InputCheckPasswordSRP.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->checkPassword](auth.checkPassword.md)(\['password' => [InputCheckPasswordSRP](../types/InputCheckPasswordSRP.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

@@ -272,15 +272,15 @@ $MadelineProto->[auth->dropTempAuthKeys](auth.dropTempAuthKeys.md)(\['except_aut ***

-$MadelineProto->[auth->exportAuthorization](auth.exportAuthorization.md)(\['dc_id' => [int](../types/int.md), \]) === [$auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) +$MadelineProto->[auth->exportAuthorization](auth.exportAuthorization.md)(\['dc_id' => [int](../types/int.md), \]) === [$auth.ExportedAuthorization](../types/auth.ExportedAuthorization.md) ***

-$MadelineProto->[auth->importAuthorization](auth.importAuthorization.md)(\['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->importAuthorization](auth.importAuthorization.md)(\['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

-$MadelineProto->[auth->importBotAuthorization](auth.importBotAuthorization.md)(\['api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), 'bot_auth_token' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->importBotAuthorization](auth.importBotAuthorization.md)(\['api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), 'bot_auth_token' => [string](../types/string.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

@@ -288,15 +288,15 @@ $MadelineProto->[auth->logOut](auth.logOut.md)(\[\]) === [$Bool](../types/Bool.m ***

-$MadelineProto->[auth->recoverPassword](auth.recoverPassword.md)(\['code' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->recoverPassword](auth.recoverPassword.md)(\['code' => [string](../types/string.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

-$MadelineProto->[auth->requestPasswordRecovery](auth.requestPasswordRecovery.md)(\[\]) === [$auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) +$MadelineProto->[auth->requestPasswordRecovery](auth.requestPasswordRecovery.md)(\[\]) === [$auth.PasswordRecovery](../types/auth.PasswordRecovery.md) ***

-$MadelineProto->[auth->resendCode](auth.resendCode.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), \]) === [$auth\_SentCode](../types/auth_SentCode.md) +$MadelineProto->[auth->resendCode](auth.resendCode.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), \]) === [$auth.SentCode](../types/auth.SentCode.md) ***

@@ -304,15 +304,15 @@ $MadelineProto->[auth->resetAuthorizations](auth.resetAuthorizations.md)(\[\]) = ***

-$MadelineProto->[auth->sendCode](auth.sendCode.md)(\['phone_number' => [string](../types/string.md), 'api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), 'settings' => [CodeSettings](../types/CodeSettings.md), \]) === [$auth\_SentCode](../types/auth_SentCode.md) +$MadelineProto->[auth->sendCode](auth.sendCode.md)(\['phone_number' => [string](../types/string.md), 'api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), 'settings' => [CodeSettings](../types/CodeSettings.md), \]) === [$auth.SentCode](../types/auth.SentCode.md) ***

-$MadelineProto->[auth->signIn](auth.signIn.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->signIn](auth.signIn.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

-$MadelineProto->[auth->signUp](auth.signUp.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->signUp](auth.signUp.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

@@ -340,11 +340,11 @@ $MadelineProto->[channels->deleteHistory](channels.deleteHistory.md)(\['channel' ***

-$MadelineProto->[channels->deleteMessages](channels.deleteMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) +$MadelineProto->[channels->deleteMessages](channels.deleteMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages.AffectedMessages](../types/messages.AffectedMessages.md) ***

-$MadelineProto->[channels->deleteUserHistory](channels.deleteUserHistory.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages\_AffectedHistory](../types/messages_AffectedHistory.md) +$MadelineProto->[channels->deleteUserHistory](channels.deleteUserHistory.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages.AffectedHistory](../types/messages.AffectedHistory.md) ***

@@ -376,39 +376,39 @@ $MadelineProto->[channels->exportMessageLink](channels.exportMessageLink.md)(\[' ***

-$MadelineProto->[channels->getAdminLog](channels.getAdminLog.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'q' => [string](../types/string.md), 'events_filter' => [ChannelAdminLogEventsFilter](../types/ChannelAdminLogEventsFilter.md), 'admins' => \[[InputUser](../types/InputUser.md)\], 'max_id' => [long](../types/long.md), 'min_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$channels\_AdminLogResults](../types/channels_AdminLogResults.md) +$MadelineProto->[channels->getAdminLog](channels.getAdminLog.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'q' => [string](../types/string.md), 'events_filter' => [ChannelAdminLogEventsFilter](../types/ChannelAdminLogEventsFilter.md), 'admins' => \[[InputUser](../types/InputUser.md)\], 'max_id' => [long](../types/long.md), 'min_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$channels.AdminLogResults](../types/channels.AdminLogResults.md) ***

-$MadelineProto->[channels->getAdminedPublicChannels](channels.getAdminedPublicChannels.md)(\['by_location' => [Bool](../types/Bool.md), 'check_limit' => [Bool](../types/Bool.md), \]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[channels->getAdminedPublicChannels](channels.getAdminedPublicChannels.md)(\['by_location' => [Bool](../types/Bool.md), 'check_limit' => [Bool](../types/Bool.md), \]) === [$messages.Chats](../types/messages.Chats.md) ***

-$MadelineProto->[channels->getChannels](channels.getChannels.md)(\['id' => \[[InputChannel](../types/InputChannel.md)\], \]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[channels->getChannels](channels.getChannels.md)(\['id' => \[[InputChannel](../types/InputChannel.md)\], \]) === [$messages.Chats](../types/messages.Chats.md) ***

-$MadelineProto->[channels->getFullChannel](channels.getFullChannel.md)(\['channel' => [InputChannel](../types/InputChannel.md), \]) === [$messages\_ChatFull](../types/messages_ChatFull.md) +$MadelineProto->[channels->getFullChannel](channels.getFullChannel.md)(\['channel' => [InputChannel](../types/InputChannel.md), \]) === [$messages.ChatFull](../types/messages.ChatFull.md) ***

-$MadelineProto->[channels->getGroupsForDiscussion](channels.getGroupsForDiscussion.md)(\[\]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[channels->getGroupsForDiscussion](channels.getGroupsForDiscussion.md)(\[\]) === [$messages.Chats](../types/messages.Chats.md) ***

-$MadelineProto->[channels->getLeftChannels](channels.getLeftChannels.md)(\['offset' => [int](../types/int.md), \]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[channels->getLeftChannels](channels.getLeftChannels.md)(\['offset' => [int](../types/int.md), \]) === [$messages.Chats](../types/messages.Chats.md) ***

-$MadelineProto->[channels->getMessages](channels.getMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[InputMessage](../types/InputMessage.md)\], \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[channels->getMessages](channels.getMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[InputMessage](../types/InputMessage.md)\], \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[channels->getParticipant](channels.getParticipant.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$channels\_ChannelParticipant](../types/channels_ChannelParticipant.md) +$MadelineProto->[channels->getParticipant](channels.getParticipant.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$channels.ChannelParticipant](../types/channels.ChannelParticipant.md) ***

-$MadelineProto->[channels->getParticipants](channels.getParticipants.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$channels\_ChannelParticipants](../types/channels_ChannelParticipants.md) +$MadelineProto->[channels->getParticipants](channels.getParticipants.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$channels.ChannelParticipants](../types/channels.ChannelParticipants.md) ***

@@ -476,7 +476,7 @@ $MadelineProto->[contacts->deleteContacts](contacts.deleteContacts.md)(\['id' => ***

-$MadelineProto->[contacts->getBlocked](contacts.getBlocked.md)(\['offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$contacts\_Blocked](../types/contacts_Blocked.md) +$MadelineProto->[contacts->getBlocked](contacts.getBlocked.md)(\['offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$contacts.Blocked](../types/contacts.Blocked.md) ***

@@ -484,7 +484,7 @@ $MadelineProto->[contacts->getContactIDs](contacts.getContactIDs.md)(\['hash' => ***

-$MadelineProto->[contacts->getContacts](contacts.getContacts.md)(\['hash' => [int](../types/int.md), \]) === [$contacts\_Contacts](../types/contacts_Contacts.md) +$MadelineProto->[contacts->getContacts](contacts.getContacts.md)(\['hash' => [int](../types/int.md), \]) === [$contacts.Contacts](../types/contacts.Contacts.md) ***

@@ -500,11 +500,11 @@ $MadelineProto->[contacts->getStatuses](contacts.getStatuses.md)(\[\]) === [$Vec ***

-$MadelineProto->[contacts->getTopPeers](contacts.getTopPeers.md)(\['correspondents' => [Bool](../types/Bool.md), 'bots_pm' => [Bool](../types/Bool.md), 'bots_inline' => [Bool](../types/Bool.md), 'phone_calls' => [Bool](../types/Bool.md), 'forward_users' => [Bool](../types/Bool.md), 'forward_chats' => [Bool](../types/Bool.md), 'groups' => [Bool](../types/Bool.md), 'channels' => [Bool](../types/Bool.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$contacts\_TopPeers](../types/contacts_TopPeers.md) +$MadelineProto->[contacts->getTopPeers](contacts.getTopPeers.md)(\['correspondents' => [Bool](../types/Bool.md), 'bots_pm' => [Bool](../types/Bool.md), 'bots_inline' => [Bool](../types/Bool.md), 'phone_calls' => [Bool](../types/Bool.md), 'forward_users' => [Bool](../types/Bool.md), 'forward_chats' => [Bool](../types/Bool.md), 'groups' => [Bool](../types/Bool.md), 'channels' => [Bool](../types/Bool.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$contacts.TopPeers](../types/contacts.TopPeers.md) ***

-$MadelineProto->[contacts->importContacts](contacts.importContacts.md)(\['contacts' => \[[InputContact](../types/InputContact.md)\], \]) === [$contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) +$MadelineProto->[contacts->importContacts](contacts.importContacts.md)(\['contacts' => \[[InputContact](../types/InputContact.md)\], \]) === [$contacts.ImportedContacts](../types/contacts.ImportedContacts.md) ***

@@ -516,11 +516,11 @@ $MadelineProto->[contacts->resetTopPeerRating](contacts.resetTopPeerRating.md)(\ ***

-$MadelineProto->[contacts->resolveUsername](contacts.resolveUsername.md)(\['username' => [string](../types/string.md), \]) === [$contacts\_ResolvedPeer](../types/contacts_ResolvedPeer.md) +$MadelineProto->[contacts->resolveUsername](contacts.resolveUsername.md)(\['username' => [string](../types/string.md), \]) === [$contacts.ResolvedPeer](../types/contacts.ResolvedPeer.md) ***

-$MadelineProto->[contacts->search](contacts.search.md)(\['q' => [string](../types/string.md), 'limit' => [int](../types/int.md), \]) === [$contacts\_Found](../types/contacts_Found.md) +$MadelineProto->[contacts->search](contacts.search.md)(\['q' => [string](../types/string.md), 'limit' => [int](../types/int.md), \]) === [$contacts.Found](../types/contacts.Found.md) ***

@@ -544,7 +544,7 @@ $MadelineProto->[help->acceptTermsOfService](help.acceptTermsOfService.md)(\['id ***

-$MadelineProto->[help->editUserInfo](help.editUserInfo.md)(\['user_id' => [InputUser](../types/InputUser.md), 'message' => [string](../types/string.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], \]) === [$help\_UserInfo](../types/help_UserInfo.md) +$MadelineProto->[help->editUserInfo](help.editUserInfo.md)(\['user_id' => [InputUser](../types/InputUser.md), 'message' => [string](../types/string.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], \]) === [$help.UserInfo](../types/help.UserInfo.md) ***

@@ -556,7 +556,7 @@ $MadelineProto->[help->getAppConfig](help.getAppConfig.md)(\[\]) === [$JSONValue ***

-$MadelineProto->[help->getAppUpdate](help.getAppUpdate.md)(\['source' => [string](../types/string.md), \]) === [$help\_AppUpdate](../types/help_AppUpdate.md) +$MadelineProto->[help->getAppUpdate](help.getAppUpdate.md)(\['source' => [string](../types/string.md), \]) === [$help.AppUpdate](../types/help.AppUpdate.md) ***

@@ -568,11 +568,11 @@ $MadelineProto->[help->getConfig](help.getConfig.md)(\[\]) === [$Config](../type ***

-$MadelineProto->[help->getDeepLinkInfo](help.getDeepLinkInfo.md)(\['path' => [string](../types/string.md), \]) === [$help\_DeepLinkInfo](../types/help_DeepLinkInfo.md) +$MadelineProto->[help->getDeepLinkInfo](help.getDeepLinkInfo.md)(\['path' => [string](../types/string.md), \]) === [$help.DeepLinkInfo](../types/help.DeepLinkInfo.md) ***

-$MadelineProto->[help->getInviteText](help.getInviteText.md)(\[\]) === [$help\_InviteText](../types/help_InviteText.md) +$MadelineProto->[help->getInviteText](help.getInviteText.md)(\[\]) === [$help.InviteText](../types/help.InviteText.md) ***

@@ -580,31 +580,31 @@ $MadelineProto->[help->getNearestDc](help.getNearestDc.md)(\[\]) === [$NearestDc ***

-$MadelineProto->[help->getPassportConfig](help.getPassportConfig.md)(\['hash' => [int](../types/int.md), \]) === [$help\_PassportConfig](../types/help_PassportConfig.md) +$MadelineProto->[help->getPassportConfig](help.getPassportConfig.md)(\['hash' => [int](../types/int.md), \]) === [$help.PassportConfig](../types/help.PassportConfig.md) ***

-$MadelineProto->[help->getProxyData](help.getProxyData.md)(\[\]) === [$help\_ProxyData](../types/help_ProxyData.md) +$MadelineProto->[help->getProxyData](help.getProxyData.md)(\[\]) === [$help.ProxyData](../types/help.ProxyData.md) ***

-$MadelineProto->[help->getRecentMeUrls](help.getRecentMeUrls.md)(\['referer' => [string](../types/string.md), \]) === [$help\_RecentMeUrls](../types/help_RecentMeUrls.md) +$MadelineProto->[help->getRecentMeUrls](help.getRecentMeUrls.md)(\['referer' => [string](../types/string.md), \]) === [$help.RecentMeUrls](../types/help.RecentMeUrls.md) ***

-$MadelineProto->[help->getSupport](help.getSupport.md)(\[\]) === [$help\_Support](../types/help_Support.md) +$MadelineProto->[help->getSupport](help.getSupport.md)(\[\]) === [$help.Support](../types/help.Support.md) ***

-$MadelineProto->[help->getSupportName](help.getSupportName.md)(\[\]) === [$help\_SupportName](../types/help_SupportName.md) +$MadelineProto->[help->getSupportName](help.getSupportName.md)(\[\]) === [$help.SupportName](../types/help.SupportName.md) ***

-$MadelineProto->[help->getTermsOfServiceUpdate](help.getTermsOfServiceUpdate.md)(\[\]) === [$help\_TermsOfServiceUpdate](../types/help_TermsOfServiceUpdate.md) +$MadelineProto->[help->getTermsOfServiceUpdate](help.getTermsOfServiceUpdate.md)(\[\]) === [$help.TermsOfServiceUpdate](../types/help.TermsOfServiceUpdate.md) ***

-$MadelineProto->[help->getUserInfo](help.getUserInfo.md)(\['user_id' => [InputUser](../types/InputUser.md), \]) === [$help\_UserInfo](../types/help_UserInfo.md) +$MadelineProto->[help->getUserInfo](help.getUserInfo.md)(\['user_id' => [InputUser](../types/InputUser.md), \]) === [$help.UserInfo](../types/help.UserInfo.md) ***

@@ -696,11 +696,11 @@ $MadelineProto->[messages->deleteChatUser](messages.deleteChatUser.md)(\['chat_i ***

-$MadelineProto->[messages->deleteHistory](messages.deleteHistory.md)(\['just_clear' => [Bool](../types/Bool.md), 'revoke' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), \]) === [$messages\_AffectedHistory](../types/messages_AffectedHistory.md) +$MadelineProto->[messages->deleteHistory](messages.deleteHistory.md)(\['just_clear' => [Bool](../types/Bool.md), 'revoke' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), \]) === [$messages.AffectedHistory](../types/messages.AffectedHistory.md) ***

-$MadelineProto->[messages->deleteMessages](messages.deleteMessages.md)(\['revoke' => [Bool](../types/Bool.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) +$MadelineProto->[messages->deleteMessages](messages.deleteMessages.md)(\['revoke' => [Bool](../types/Bool.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages.AffectedMessages](../types/messages.AffectedMessages.md) ***

@@ -748,7 +748,7 @@ $MadelineProto->[messages->forwardMessages](messages.forwardMessages.md)(\['sile ***

-$MadelineProto->[messages->getAllChats](messages.getAllChats.md)(\['except_ids' => \[[int](../types/int.md)\], \]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[messages->getAllChats](messages.getAllChats.md)(\['except_ids' => \[[int](../types/int.md)\], \]) === [$messages.Chats](../types/messages.Chats.md) ***

@@ -756,11 +756,11 @@ $MadelineProto->[messages->getAllDrafts](messages.getAllDrafts.md)(\[\]) === [$U ***

-$MadelineProto->[messages->getAllStickers](messages.getAllStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages\_AllStickers](../types/messages_AllStickers.md) +$MadelineProto->[messages->getAllStickers](messages.getAllStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages.AllStickers](../types/messages.AllStickers.md) ***

-$MadelineProto->[messages->getArchivedStickers](messages.getArchivedStickers.md)(\['masks' => [Bool](../types/Bool.md), 'offset_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$messages\_ArchivedStickers](../types/messages_ArchivedStickers.md) +$MadelineProto->[messages->getArchivedStickers](messages.getArchivedStickers.md)(\['masks' => [Bool](../types/Bool.md), 'offset_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$messages.ArchivedStickers](../types/messages.ArchivedStickers.md) ***

@@ -768,19 +768,19 @@ $MadelineProto->[messages->getAttachedStickers](messages.getAttachedStickers.md) ***

-$MadelineProto->[messages->getBotCallbackAnswer](messages.getBotCallbackAnswer.md)(\['game' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'msg_id' => [int](../types/int.md), 'data' => [bytes](../types/bytes.md), \]) === [$messages\_BotCallbackAnswer](../types/messages_BotCallbackAnswer.md) +$MadelineProto->[messages->getBotCallbackAnswer](messages.getBotCallbackAnswer.md)(\['game' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'msg_id' => [int](../types/int.md), 'data' => [bytes](../types/bytes.md), \]) === [$messages.BotCallbackAnswer](../types/messages.BotCallbackAnswer.md) ***

-$MadelineProto->[messages->getChats](messages.getChats.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[messages->getChats](messages.getChats.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages.Chats](../types/messages.Chats.md) ***

-$MadelineProto->[messages->getCommonChats](messages.getCommonChats.md)(\['user_id' => [InputUser](../types/InputUser.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[messages->getCommonChats](messages.getCommonChats.md)(\['user_id' => [InputUser](../types/InputUser.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages.Chats](../types/messages.Chats.md) ***

-$MadelineProto->[messages->getDhConfig](messages.getDhConfig.md)(\['version' => [int](../types/int.md), 'random_length' => [int](../types/int.md), \]) === [$messages\_DhConfig](../types/messages_DhConfig.md) +$MadelineProto->[messages->getDhConfig](messages.getDhConfig.md)(\['version' => [int](../types/int.md), 'random_length' => [int](../types/int.md), \]) === [$messages.DhConfig](../types/messages.DhConfig.md) ***

@@ -788,7 +788,7 @@ $MadelineProto->[messages->getDialogUnreadMarks](messages.getDialogUnreadMarks.m ***

-$MadelineProto->[messages->getDialogs](messages.getDialogs.md)(\['exclude_pinned' => [Bool](../types/Bool.md), 'folder_id' => [int](../types/int.md), 'offset_date' => [int](../types/int.md), 'offset_id' => [int](../types/int.md), 'offset_peer' => [InputPeer](../types/InputPeer.md), 'limit' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$messages\_Dialogs](../types/messages_Dialogs.md) +$MadelineProto->[messages->getDialogs](messages.getDialogs.md)(\['exclude_pinned' => [Bool](../types/Bool.md), 'folder_id' => [int](../types/int.md), 'offset_date' => [int](../types/int.md), 'offset_id' => [int](../types/int.md), 'offset_peer' => [InputPeer](../types/InputPeer.md), 'limit' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$messages.Dialogs](../types/messages.Dialogs.md) ***

@@ -812,43 +812,43 @@ $MadelineProto->[messages->getEmojiURL](messages.getEmojiURL.md)(\['lang_code' = ***

-$MadelineProto->[messages->getFavedStickers](messages.getFavedStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages\_FavedStickers](../types/messages_FavedStickers.md) +$MadelineProto->[messages->getFavedStickers](messages.getFavedStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages.FavedStickers](../types/messages.FavedStickers.md) ***

-$MadelineProto->[messages->getFeaturedStickers](messages.getFeaturedStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages\_FeaturedStickers](../types/messages_FeaturedStickers.md) +$MadelineProto->[messages->getFeaturedStickers](messages.getFeaturedStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages.FeaturedStickers](../types/messages.FeaturedStickers.md) ***

-$MadelineProto->[messages->getFullChat](messages.getFullChat.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), \]) === [$messages\_ChatFull](../types/messages_ChatFull.md) +$MadelineProto->[messages->getFullChat](messages.getFullChat.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), \]) === [$messages.ChatFull](../types/messages.ChatFull.md) ***

-$MadelineProto->[messages->getGameHighScores](messages.getGameHighScores.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages\_HighScores](../types/messages_HighScores.md) +$MadelineProto->[messages->getGameHighScores](messages.getGameHighScores.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages.HighScores](../types/messages.HighScores.md) ***

-$MadelineProto->[messages->getHistory](messages.getHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'offset_date' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->getHistory](messages.getHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'offset_date' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[messages->getInlineBotResults](messages.getInlineBotResults.md)(\['bot' => [InputUser](../types/InputUser.md), 'peer' => [InputPeer](../types/InputPeer.md), 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'query' => [string](../types/string.md), 'offset' => [string](../types/string.md), \]) === [$messages\_BotResults](../types/messages_BotResults.md) +$MadelineProto->[messages->getInlineBotResults](messages.getInlineBotResults.md)(\['bot' => [InputUser](../types/InputUser.md), 'peer' => [InputPeer](../types/InputPeer.md), 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'query' => [string](../types/string.md), 'offset' => [string](../types/string.md), \]) === [$messages.BotResults](../types/messages.BotResults.md) ***

-$MadelineProto->[messages->getInlineGameHighScores](messages.getInlineGameHighScores.md)(\['id' => [InputBotInlineMessageID](../types/InputBotInlineMessageID.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages\_HighScores](../types/messages_HighScores.md) +$MadelineProto->[messages->getInlineGameHighScores](messages.getInlineGameHighScores.md)(\['id' => [InputBotInlineMessageID](../types/InputBotInlineMessageID.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages.HighScores](../types/messages.HighScores.md) ***

-$MadelineProto->[messages->getMaskStickers](messages.getMaskStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages\_AllStickers](../types/messages_AllStickers.md) +$MadelineProto->[messages->getMaskStickers](messages.getMaskStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages.AllStickers](../types/messages.AllStickers.md) ***

-$MadelineProto->[messages->getMessageEditData](messages.getMessageEditData.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), \]) === [$messages\_MessageEditData](../types/messages_MessageEditData.md) +$MadelineProto->[messages->getMessageEditData](messages.getMessageEditData.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), \]) === [$messages.MessageEditData](../types/messages.MessageEditData.md) ***

-$MadelineProto->[messages->getMessages](messages.getMessages.md)(\['id' => \[[InputMessage](../types/InputMessage.md)\], \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->getMessages](messages.getMessages.md)(\['id' => \[[InputMessage](../types/InputMessage.md)\], \]) === [$messages.Messages](../types/messages.Messages.md) ***

@@ -860,7 +860,7 @@ $MadelineProto->[messages->getOnlines](messages.getOnlines.md)(\['peer' => [Inpu ***

-$MadelineProto->[messages->getPeerDialogs](messages.getPeerDialogs.md)(\['peers' => \[[InputDialogPeer](../types/InputDialogPeer.md)\], \]) === [$messages\_PeerDialogs](../types/messages_PeerDialogs.md) +$MadelineProto->[messages->getPeerDialogs](messages.getPeerDialogs.md)(\['peers' => \[[InputDialogPeer](../types/InputDialogPeer.md)\], \]) === [$messages.PeerDialogs](../types/messages.PeerDialogs.md) ***

@@ -868,7 +868,7 @@ $MadelineProto->[messages->getPeerSettings](messages.getPeerSettings.md)(\['peer ***

-$MadelineProto->[messages->getPinnedDialogs](messages.getPinnedDialogs.md)(\['folder_id' => [int](../types/int.md), \]) === [$messages\_PeerDialogs](../types/messages_PeerDialogs.md) +$MadelineProto->[messages->getPinnedDialogs](messages.getPinnedDialogs.md)(\['folder_id' => [int](../types/int.md), \]) === [$messages.PeerDialogs](../types/messages.PeerDialogs.md) ***

@@ -876,19 +876,19 @@ $MadelineProto->[messages->getPollResults](messages.getPollResults.md)(\['peer' ***

-$MadelineProto->[messages->getRecentLocations](messages.getRecentLocations.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'limit' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->getRecentLocations](messages.getRecentLocations.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'limit' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[messages->getRecentStickers](messages.getRecentStickers.md)(\['attached' => [Bool](../types/Bool.md), 'hash' => [int](../types/int.md), \]) === [$messages\_RecentStickers](../types/messages_RecentStickers.md) +$MadelineProto->[messages->getRecentStickers](messages.getRecentStickers.md)(\['attached' => [Bool](../types/Bool.md), 'hash' => [int](../types/int.md), \]) === [$messages.RecentStickers](../types/messages.RecentStickers.md) ***

-$MadelineProto->[messages->getSavedGifs](messages.getSavedGifs.md)(\['hash' => [int](../types/int.md), \]) === [$messages\_SavedGifs](../types/messages_SavedGifs.md) +$MadelineProto->[messages->getSavedGifs](messages.getSavedGifs.md)(\['hash' => [int](../types/int.md), \]) === [$messages.SavedGifs](../types/messages.SavedGifs.md) ***

-$MadelineProto->[messages->getSearchCounters](messages.getSearchCounters.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'filters' => \[[MessagesFilter](../types/MessagesFilter.md)\], \]) === [$Vector\_of\_messages\_SearchCounter](../types/messages_SearchCounter.md) +$MadelineProto->[messages->getSearchCounters](messages.getSearchCounters.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'filters' => \[[MessagesFilter](../types/MessagesFilter.md)\], \]) === [$Vector\_of\_messages.SearchCounter](../types/messages.SearchCounter.md) ***

@@ -900,15 +900,15 @@ $MadelineProto->[messages->getStatsURL](messages.getStatsURL.md)(\['dark' => [Bo ***

-$MadelineProto->[messages->getStickerSet](messages.getStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), \]) === [$messages\_StickerSet](../types/messages_StickerSet.md) +$MadelineProto->[messages->getStickerSet](messages.getStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), \]) === [$messages.StickerSet](../types/messages.StickerSet.md) ***

-$MadelineProto->[messages->getStickers](messages.getStickers.md)(\['emoticon' => [string](../types/string.md), 'hash' => [int](../types/int.md), \]) === [$messages\_Stickers](../types/messages_Stickers.md) +$MadelineProto->[messages->getStickers](messages.getStickers.md)(\['emoticon' => [string](../types/string.md), 'hash' => [int](../types/int.md), \]) === [$messages.Stickers](../types/messages.Stickers.md) ***

-$MadelineProto->[messages->getUnreadMentions](messages.getUnreadMentions.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->getUnreadMentions](messages.getUnreadMentions.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

@@ -928,7 +928,7 @@ $MadelineProto->[messages->importChatInvite](messages.importChatInvite.md)(\['ha ***

-$MadelineProto->[messages->installStickerSet](messages.installStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), 'archived' => [Bool](../types/Bool.md), \]) === [$messages\_StickerSetInstallResult](../types/messages_StickerSetInstallResult.md) +$MadelineProto->[messages->installStickerSet](messages.installStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), 'archived' => [Bool](../types/Bool.md), \]) === [$messages.StickerSetInstallResult](../types/messages.StickerSetInstallResult.md) ***

@@ -948,15 +948,15 @@ $MadelineProto->[messages->readFeaturedStickers](messages.readFeaturedStickers.m ***

-$MadelineProto->[messages->readHistory](messages.readHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), \]) === [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) +$MadelineProto->[messages->readHistory](messages.readHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), \]) === [$messages.AffectedMessages](../types/messages.AffectedMessages.md) ***

-$MadelineProto->[messages->readMentions](messages.readMentions.md)(\['peer' => [InputPeer](../types/InputPeer.md), \]) === [$messages\_AffectedHistory](../types/messages_AffectedHistory.md) +$MadelineProto->[messages->readMentions](messages.readMentions.md)(\['peer' => [InputPeer](../types/InputPeer.md), \]) === [$messages.AffectedHistory](../types/messages.AffectedHistory.md) ***

-$MadelineProto->[messages->readMessageContents](messages.readMessageContents.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) +$MadelineProto->[messages->readMessageContents](messages.readMessageContents.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages.AffectedMessages](../types/messages.AffectedMessages.md) ***

@@ -1008,31 +1008,31 @@ $MadelineProto->[messages->saveRecentSticker](messages.saveRecentSticker.md)(\[' ***

-$MadelineProto->[messages->search](messages.search.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'q' => [string](../types/string.md), 'from_id' => [InputUser](../types/InputUser.md), 'filter' => [MessagesFilter](../types/MessagesFilter.md), 'min_date' => [int](../types/int.md), 'max_date' => [int](../types/int.md), 'offset_id' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->search](messages.search.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'q' => [string](../types/string.md), 'from_id' => [InputUser](../types/InputUser.md), 'filter' => [MessagesFilter](../types/MessagesFilter.md), 'min_date' => [int](../types/int.md), 'max_date' => [int](../types/int.md), 'offset_id' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[messages->searchGifs](messages.searchGifs.md)(\['q' => [string](../types/string.md), 'offset' => [int](../types/int.md), \]) === [$messages\_FoundGifs](../types/messages_FoundGifs.md) +$MadelineProto->[messages->searchGifs](messages.searchGifs.md)(\['q' => [string](../types/string.md), 'offset' => [int](../types/int.md), \]) === [$messages.FoundGifs](../types/messages.FoundGifs.md) ***

-$MadelineProto->[messages->searchGlobal](messages.searchGlobal.md)(\['folder_id' => [int](../types/int.md), 'q' => [string](../types/string.md), 'offset_rate' => [int](../types/int.md), 'offset_peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->searchGlobal](messages.searchGlobal.md)(\['folder_id' => [int](../types/int.md), 'q' => [string](../types/string.md), 'offset_rate' => [int](../types/int.md), 'offset_peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[messages->searchStickerSets](messages.searchStickerSets.md)(\['exclude_featured' => [Bool](../types/Bool.md), 'q' => [string](../types/string.md), 'hash' => [int](../types/int.md), \]) === [$messages\_FoundStickerSets](../types/messages_FoundStickerSets.md) +$MadelineProto->[messages->searchStickerSets](messages.searchStickerSets.md)(\['exclude_featured' => [Bool](../types/Bool.md), 'q' => [string](../types/string.md), 'hash' => [int](../types/int.md), \]) === [$messages.FoundStickerSets](../types/messages.FoundStickerSets.md) ***

-$MadelineProto->[messages->sendEncrypted](messages.sendEncrypted.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'message' => [DecryptedMessage](../types/DecryptedMessage.md), \]) === [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +$MadelineProto->[messages->sendEncrypted](messages.sendEncrypted.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), \]) === [$messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ***

-$MadelineProto->[messages->sendEncryptedFile](messages.sendEncryptedFile.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'message' => [DecryptedMessage](../types/DecryptedMessage.md), 'file' => [InputEncryptedFile](../types/InputEncryptedFile.md), \]) === [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +$MadelineProto->[messages->sendEncryptedFile](messages.sendEncryptedFile.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), 'file' => [InputEncryptedFile](../types/InputEncryptedFile.md), \]) === [$messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ***

-$MadelineProto->[messages->sendEncryptedService](messages.sendEncryptedService.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'message' => [DecryptedMessage](../types/DecryptedMessage.md), \]) === [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +$MadelineProto->[messages->sendEncryptedService](messages.sendEncryptedService.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), \]) === [$messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ***

@@ -1120,31 +1120,31 @@ $MadelineProto->[payments->clearSavedInfo](payments.clearSavedInfo.md)(\['creden ***

-$MadelineProto->[payments->getPaymentForm](payments.getPaymentForm.md)(\['msg_id' => [int](../types/int.md), \]) === [$payments\_PaymentForm](../types/payments_PaymentForm.md) +$MadelineProto->[payments->getPaymentForm](payments.getPaymentForm.md)(\['msg_id' => [int](../types/int.md), \]) === [$payments.PaymentForm](../types/payments.PaymentForm.md) ***

-$MadelineProto->[payments->getPaymentReceipt](payments.getPaymentReceipt.md)(\['msg_id' => [int](../types/int.md), \]) === [$payments\_PaymentReceipt](../types/payments_PaymentReceipt.md) +$MadelineProto->[payments->getPaymentReceipt](payments.getPaymentReceipt.md)(\['msg_id' => [int](../types/int.md), \]) === [$payments.PaymentReceipt](../types/payments.PaymentReceipt.md) ***

-$MadelineProto->[payments->getSavedInfo](payments.getSavedInfo.md)(\[\]) === [$payments\_SavedInfo](../types/payments_SavedInfo.md) +$MadelineProto->[payments->getSavedInfo](payments.getSavedInfo.md)(\[\]) === [$payments.SavedInfo](../types/payments.SavedInfo.md) ***

-$MadelineProto->[payments->sendPaymentForm](payments.sendPaymentForm.md)(\['msg_id' => [int](../types/int.md), 'requested_info_id' => [string](../types/string.md), 'shipping_option_id' => [string](../types/string.md), 'credentials' => [InputPaymentCredentials](../types/InputPaymentCredentials.md), \]) === [$payments\_PaymentResult](../types/payments_PaymentResult.md) +$MadelineProto->[payments->sendPaymentForm](payments.sendPaymentForm.md)(\['msg_id' => [int](../types/int.md), 'requested_info_id' => [string](../types/string.md), 'shipping_option_id' => [string](../types/string.md), 'credentials' => [InputPaymentCredentials](../types/InputPaymentCredentials.md), \]) === [$payments.PaymentResult](../types/payments.PaymentResult.md) ***

-$MadelineProto->[payments->validateRequestedInfo](payments.validateRequestedInfo.md)(\['save' => [Bool](../types/Bool.md), 'msg_id' => [int](../types/int.md), 'info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), \]) === [$payments\_ValidatedRequestedInfo](../types/payments_ValidatedRequestedInfo.md) +$MadelineProto->[payments->validateRequestedInfo](payments.validateRequestedInfo.md)(\['save' => [Bool](../types/Bool.md), 'msg_id' => [int](../types/int.md), 'info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), \]) === [$payments.ValidatedRequestedInfo](../types/payments.ValidatedRequestedInfo.md) ***

-$MadelineProto->[phone->acceptCall](phone.acceptCall.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'g_b' => [bytes](../types/bytes.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone\_PhoneCall](../types/phone_PhoneCall.md) +$MadelineProto->[phone->acceptCall](phone.acceptCall.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'g_b' => [bytes](../types/bytes.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone.PhoneCall](../types/phone.PhoneCall.md) ***

-$MadelineProto->[phone->confirmCall](phone.confirmCall.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'g_a' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone\_PhoneCall](../types/phone_PhoneCall.md) +$MadelineProto->[phone->confirmCall](phone.confirmCall.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'g_a' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone.PhoneCall](../types/phone.PhoneCall.md) ***

@@ -1160,7 +1160,7 @@ $MadelineProto->[phone->receivedCall](phone.receivedCall.md)(\['peer' => [InputP ***

-$MadelineProto->[phone->requestCall](phone.requestCall.md)(\['video' => [Bool](../types/Bool.md), 'user_id' => [InputUser](../types/InputUser.md), 'g_a_hash' => [bytes](../types/bytes.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone\_PhoneCall](../types/phone_PhoneCall.md) +$MadelineProto->[phone->requestCall](phone.requestCall.md)(\['video' => [Bool](../types/Bool.md), 'user_id' => [InputUser](../types/InputUser.md), 'g_a_hash' => [bytes](../types/bytes.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone.PhoneCall](../types/phone.PhoneCall.md) ***

@@ -1176,7 +1176,7 @@ $MadelineProto->[photos->deletePhotos](photos.deletePhotos.md)(\['id' => \[[Inpu ***

-$MadelineProto->[photos->getUserPhotos](photos.getUserPhotos.md)(\['user_id' => [InputUser](../types/InputUser.md), 'offset' => [int](../types/int.md), 'max_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$photos\_Photos](../types/photos_Photos.md) +$MadelineProto->[photos->getUserPhotos](photos.getUserPhotos.md)(\['user_id' => [InputUser](../types/InputUser.md), 'offset' => [int](../types/int.md), 'max_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$photos.Photos](../types/photos.Photos.md) ***

@@ -1184,39 +1184,39 @@ $MadelineProto->[photos->updateProfilePhoto](photos.updateProfilePhoto.md)(\['id ***

-$MadelineProto->[photos->uploadProfilePhoto](photos.uploadProfilePhoto.md)(\['file' => [InputFile](../types/InputFile.md), \]) === [$photos\_Photo](../types/photos_Photo.md) +$MadelineProto->[photos->uploadProfilePhoto](photos.uploadProfilePhoto.md)(\['file' => [InputFile](../types/InputFile.md), \]) === [$photos.Photo](../types/photos.Photo.md) ***

-$MadelineProto->[stickers->addStickerToSet](stickers.addStickerToSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), 'sticker' => [InputStickerSetItem](../types/InputStickerSetItem.md), \]) === [$messages\_StickerSet](../types/messages_StickerSet.md) +$MadelineProto->[stickers->addStickerToSet](stickers.addStickerToSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), 'sticker' => [InputStickerSetItem](../types/InputStickerSetItem.md), \]) === [$messages.StickerSet](../types/messages.StickerSet.md) ***

-$MadelineProto->[stickers->changeStickerPosition](stickers.changeStickerPosition.md)(\['sticker' => [InputDocument](../types/InputDocument.md), 'position' => [int](../types/int.md), \]) === [$messages\_StickerSet](../types/messages_StickerSet.md) +$MadelineProto->[stickers->changeStickerPosition](stickers.changeStickerPosition.md)(\['sticker' => [InputDocument](../types/InputDocument.md), 'position' => [int](../types/int.md), \]) === [$messages.StickerSet](../types/messages.StickerSet.md) ***

-$MadelineProto->[stickers->createStickerSet](stickers.createStickerSet.md)(\['masks' => [Bool](../types/Bool.md), 'user_id' => [InputUser](../types/InputUser.md), 'title' => [string](../types/string.md), 'short_name' => [string](../types/string.md), 'stickers' => \[[InputStickerSetItem](../types/InputStickerSetItem.md)\], \]) === [$messages\_StickerSet](../types/messages_StickerSet.md) +$MadelineProto->[stickers->createStickerSet](stickers.createStickerSet.md)(\['masks' => [Bool](../types/Bool.md), 'user_id' => [InputUser](../types/InputUser.md), 'title' => [string](../types/string.md), 'short_name' => [string](../types/string.md), 'stickers' => \[[InputStickerSetItem](../types/InputStickerSetItem.md)\], \]) === [$messages.StickerSet](../types/messages.StickerSet.md) ***

-$MadelineProto->[stickers->removeStickerFromSet](stickers.removeStickerFromSet.md)(\['sticker' => [InputDocument](../types/InputDocument.md), \]) === [$messages\_StickerSet](../types/messages_StickerSet.md) +$MadelineProto->[stickers->removeStickerFromSet](stickers.removeStickerFromSet.md)(\['sticker' => [InputDocument](../types/InputDocument.md), \]) === [$messages.StickerSet](../types/messages.StickerSet.md) ***

-$MadelineProto->[updates->getChannelDifference](updates.getChannelDifference.md)(\['force' => [Bool](../types/Bool.md), 'channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$updates\_ChannelDifference](../types/updates_ChannelDifference.md) +$MadelineProto->[updates->getChannelDifference](updates.getChannelDifference.md)(\['force' => [Bool](../types/Bool.md), 'channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$updates.ChannelDifference](../types/updates.ChannelDifference.md) ***

-$MadelineProto->[updates->getDifference](updates.getDifference.md)(\['pts' => [int](../types/int.md), 'pts_total_limit' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) === [$updates\_Difference](../types/updates_Difference.md) +$MadelineProto->[updates->getDifference](updates.getDifference.md)(\['pts' => [int](../types/int.md), 'pts_total_limit' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) === [$updates.Difference](../types/updates.Difference.md) ***

-$MadelineProto->[updates->getState](updates.getState.md)(\[\]) === [$updates\_State](../types/updates_State.md) +$MadelineProto->[updates->getState](updates.getState.md)(\[\]) === [$updates.State](../types/updates.State.md) ***

-$MadelineProto->[upload->getCdnFile](upload.getCdnFile.md)(\['file_token' => [bytes](../types/bytes.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_CdnFile](../types/upload_CdnFile.md) +$MadelineProto->[upload->getCdnFile](upload.getCdnFile.md)(\['file_token' => [bytes](../types/bytes.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload.CdnFile](../types/upload.CdnFile.md) ***

@@ -1224,7 +1224,7 @@ $MadelineProto->[upload->getCdnFileHashes](upload.getCdnFileHashes.md)(\['file_t ***

-$MadelineProto->[upload->getFile](upload.getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_File](../types/upload_File.md) +$MadelineProto->[upload->getFile](upload.getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload.File](../types/upload.File.md) ***

@@ -1232,7 +1232,7 @@ $MadelineProto->[upload->getFileHashes](upload.getFileHashes.md)(\['location' => ***

-$MadelineProto->[upload->getWebFile](upload.getWebFile.md)(\['location' => [InputWebFileLocation](../types/InputWebFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_WebFile](../types/upload_WebFile.md) +$MadelineProto->[upload->getWebFile](upload.getWebFile.md)(\['location' => [InputWebFileLocation](../types/InputWebFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload.WebFile](../types/upload.WebFile.md) ***

diff --git a/old_docs/API_docs_v103/methods/auth.checkPassword.md b/old_docs/API_docs_v103/methods/auth.checkPassword.md index ad2a88a2..510e6c03 100644 --- a/old_docs/API_docs_v103/methods/auth.checkPassword.md +++ b/old_docs/API_docs_v103/methods/auth.checkPassword.md @@ -16,7 +16,7 @@ You cannot use this method directly, use the complete_2fa_login method instead ( |password|[InputCheckPasswordSRP](../types/InputCheckPasswordSRP.md) | You cannot use this method directly, use the complete_2fa_login method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->checkPassword(['password' => InputCheckPasswordSRP, ]); +$auth.Authorization = $MadelineProto->auth->checkPassword(['password' => InputCheckPasswordSRP, ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.checkPassword({password=InputCheckPasswordSRP, }) +auth.Authorization = auth.checkPassword({password=InputCheckPasswordSRP, }) ``` ### Errors diff --git a/old_docs/API_docs_v103/methods/auth.exportAuthorization.md b/old_docs/API_docs_v103/methods/auth.exportAuthorization.md index 72063a2b..41a1f87d 100644 --- a/old_docs/API_docs_v103/methods/auth.exportAuthorization.md +++ b/old_docs/API_docs_v103/methods/auth.exportAuthorization.md @@ -16,7 +16,7 @@ You cannot use this method directly, use $MadelineProto->exportAuthorization() i |dc\_id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| -### Return type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) +### Return type: [auth.ExportedAuthorization](../types/auth.ExportedAuthorization.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_ExportedAuthorization = $MadelineProto->auth->exportAuthorization(['dc_id' => int, ]); +$auth.ExportedAuthorization = $MadelineProto->auth->exportAuthorization(['dc_id' => int, ]); ``` Or, if you're into Lua: ```lua -auth_ExportedAuthorization = auth.exportAuthorization({dc_id=int, }) +auth.ExportedAuthorization = auth.exportAuthorization({dc_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v103/methods/auth.importAuthorization.md b/old_docs/API_docs_v103/methods/auth.importAuthorization.md index d9c13751..5257e0b0 100644 --- a/old_docs/API_docs_v103/methods/auth.importAuthorization.md +++ b/old_docs/API_docs_v103/methods/auth.importAuthorization.md @@ -17,7 +17,7 @@ You cannot use this method directly, use $MadelineProto->importAuthorization($au |bytes|[bytes](../types/bytes.md) | You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => 'bytes', ]); +$auth.Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.importAuthorization({id=int, bytes='bytes', }) +auth.Authorization = auth.importAuthorization({id=int, bytes='bytes', }) ``` ### Errors diff --git a/old_docs/API_docs_v103/methods/auth.importBotAuthorization.md b/old_docs/API_docs_v103/methods/auth.importBotAuthorization.md index 3161d6be..a4ea8027 100644 --- a/old_docs/API_docs_v103/methods/auth.importBotAuthorization.md +++ b/old_docs/API_docs_v103/methods/auth.importBotAuthorization.md @@ -18,7 +18,7 @@ You cannot use this method directly, use the botLogin method instead (see https: |bot\_auth\_token|[string](../types/string.md) | You cannot use this method directly, use the botLogin method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **YES** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->importBotAuthorization(['api_id' => int, 'api_hash' => 'string', 'bot_auth_token' => 'string', ]); +$auth.Authorization = $MadelineProto->auth->importBotAuthorization(['api_id' => int, 'api_hash' => 'string', 'bot_auth_token' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.importBotAuthorization({api_id=int, api_hash='string', bot_auth_token='string', }) +auth.Authorization = auth.importBotAuthorization({api_id=int, api_hash='string', bot_auth_token='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v103/methods/auth.recoverPassword.md b/old_docs/API_docs_v103/methods/auth.recoverPassword.md index f7cbf4a4..2e78444b 100644 --- a/old_docs/API_docs_v103/methods/auth.recoverPassword.md +++ b/old_docs/API_docs_v103/methods/auth.recoverPassword.md @@ -16,7 +16,7 @@ Reset the [2FA password](https://core.telegram.org/api/srp) using the recovery c |code|[string](../types/string.md) | Code received via email | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->recoverPassword(['code' => 'string', ]); +$auth.Authorization = $MadelineProto->auth->recoverPassword(['code' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.recoverPassword({code='string', }) +auth.Authorization = auth.recoverPassword({code='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v103/methods/auth.requestPasswordRecovery.md b/old_docs/API_docs_v103/methods/auth.requestPasswordRecovery.md index 5cd77936..ff1ecc02 100644 --- a/old_docs/API_docs_v103/methods/auth.requestPasswordRecovery.md +++ b/old_docs/API_docs_v103/methods/auth.requestPasswordRecovery.md @@ -11,7 +11,7 @@ Request recovery code of a [2FA password](https://core.telegram.org/api/srp), on -### Return type: [auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) +### Return type: [auth.PasswordRecovery](../types/auth.PasswordRecovery.md) ### Can bots use this method: **NO** @@ -28,13 +28,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_PasswordRecovery = $MadelineProto->auth->requestPasswordRecovery(); +$auth.PasswordRecovery = $MadelineProto->auth->requestPasswordRecovery(); ``` Or, if you're into Lua: ```lua -auth_PasswordRecovery = auth.requestPasswordRecovery({}) +auth.PasswordRecovery = auth.requestPasswordRecovery({}) ``` ### Errors diff --git a/old_docs/API_docs_v103/methods/auth.resendCode.md b/old_docs/API_docs_v103/methods/auth.resendCode.md index a395a91b..f59f1b7b 100644 --- a/old_docs/API_docs_v103/methods/auth.resendCode.md +++ b/old_docs/API_docs_v103/methods/auth.resendCode.md @@ -17,7 +17,7 @@ Resend the login code via another medium, the phone code type is determined by t |phone\_code\_hash|[string](../types/string.md) | The phone code hash obtained from [auth.sendCode](../methods/auth.sendCode.md) | Yes| -### Return type: [auth\_SentCode](../types/auth_SentCode.md) +### Return type: [auth.SentCode](../types/auth.SentCode.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_SentCode = $MadelineProto->auth->resendCode(['phone_number' => 'string', 'phone_code_hash' => 'string', ]); +$auth.SentCode = $MadelineProto->auth->resendCode(['phone_number' => 'string', 'phone_code_hash' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_SentCode = auth.resendCode({phone_number='string', phone_code_hash='string', }) +auth.SentCode = auth.resendCode({phone_number='string', phone_code_hash='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v103/methods/auth.sendCode.md b/old_docs/API_docs_v103/methods/auth.sendCode.md index be14f1bf..cb94998f 100644 --- a/old_docs/API_docs_v103/methods/auth.sendCode.md +++ b/old_docs/API_docs_v103/methods/auth.sendCode.md @@ -19,7 +19,7 @@ You cannot use this method directly, use the phoneLogin method instead (see http |settings|[CodeSettings](../types/CodeSettings.md) | You cannot use this method directly, use the phoneLogin method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_SentCode](../types/auth_SentCode.md) +### Return type: [auth.SentCode](../types/auth.SentCode.md) ### Can bots use this method: **NO** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_SentCode = $MadelineProto->auth->sendCode(['phone_number' => 'string', 'api_id' => int, 'api_hash' => 'string', 'settings' => CodeSettings, ]); +$auth.SentCode = $MadelineProto->auth->sendCode(['phone_number' => 'string', 'api_id' => int, 'api_hash' => 'string', 'settings' => CodeSettings, ]); ``` Or, if you're into Lua: ```lua -auth_SentCode = auth.sendCode({phone_number='string', api_id=int, api_hash='string', settings=CodeSettings, }) +auth.SentCode = auth.sendCode({phone_number='string', api_id=int, api_hash='string', settings=CodeSettings, }) ``` ### Errors diff --git a/old_docs/API_docs_v103/methods/auth.signIn.md b/old_docs/API_docs_v103/methods/auth.signIn.md index 54812a2e..95b14f32 100644 --- a/old_docs/API_docs_v103/methods/auth.signIn.md +++ b/old_docs/API_docs_v103/methods/auth.signIn.md @@ -18,7 +18,7 @@ You cannot use this method directly, use the completePhoneLogin method instead ( |phone\_code|[string](../types/string.md) | You cannot use this method directly, use the completePhoneLogin method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->signIn(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', ]); +$auth.Authorization = $MadelineProto->auth->signIn(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.signIn({phone_number='string', phone_code_hash='string', phone_code='string', }) +auth.Authorization = auth.signIn({phone_number='string', phone_code_hash='string', phone_code='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v103/methods/auth.signUp.md b/old_docs/API_docs_v103/methods/auth.signUp.md index 2aca2bfa..fdb5d628 100644 --- a/old_docs/API_docs_v103/methods/auth.signUp.md +++ b/old_docs/API_docs_v103/methods/auth.signUp.md @@ -20,7 +20,7 @@ You cannot use this method directly, use the completeSignup method instead (see |last\_name|[string](../types/string.md) | You cannot use this method directly, use the completeSignup method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **NO** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->signUp(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', 'first_name' => 'string', 'last_name' => 'string', ]); +$auth.Authorization = $MadelineProto->auth->signUp(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', 'first_name' => 'string', 'last_name' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.signUp({phone_number='string', phone_code_hash='string', phone_code='string', first_name='string', last_name='string', }) +auth.Authorization = auth.signUp({phone_number='string', phone_code_hash='string', phone_code='string', first_name='string', last_name='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v103/methods/channels.deleteMessages.md b/old_docs/API_docs_v103/methods/channels.deleteMessages.md index 10a439fb..8583e560 100644 --- a/old_docs/API_docs_v103/methods/channels.deleteMessages.md +++ b/old_docs/API_docs_v103/methods/channels.deleteMessages.md @@ -17,7 +17,7 @@ Delete messages in a [channel/supergroup](https://core.telegram.org/api/channel) |id|Array of [int](../types/int.md) | The IDs of messages to delete | Yes| -### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) +### Return type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedMessages = $MadelineProto->channels->deleteMessages(['channel' => InputChannel, 'id' => [int, int], ]); +$messages.AffectedMessages = $MadelineProto->channels->deleteMessages(['channel' => InputChannel, 'id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AffectedMessages = channels.deleteMessages({channel=InputChannel, id={int}, }) +messages.AffectedMessages = channels.deleteMessages({channel=InputChannel, id={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v103/methods/channels.deleteUserHistory.md b/old_docs/API_docs_v103/methods/channels.deleteUserHistory.md index 9b8b159f..6ccaf7dd 100644 --- a/old_docs/API_docs_v103/methods/channels.deleteUserHistory.md +++ b/old_docs/API_docs_v103/methods/channels.deleteUserHistory.md @@ -17,7 +17,7 @@ Delete all messages sent by a certain user in a [supergroup](https://core.telegr |user\_id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | User whose messages should be deleted | Optional| -### Return type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) +### Return type: [messages.AffectedHistory](../types/messages.AffectedHistory.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedHistory = $MadelineProto->channels->deleteUserHistory(['channel' => InputChannel, 'user_id' => InputUser, ]); +$messages.AffectedHistory = $MadelineProto->channels->deleteUserHistory(['channel' => InputChannel, 'user_id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -messages_AffectedHistory = channels.deleteUserHistory({channel=InputChannel, user_id=InputUser, }) +messages.AffectedHistory = channels.deleteUserHistory({channel=InputChannel, user_id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v103/methods/channels.getAdminLog.md b/old_docs/API_docs_v103/methods/channels.getAdminLog.md index e149f653..3b550a73 100644 --- a/old_docs/API_docs_v103/methods/channels.getAdminLog.md +++ b/old_docs/API_docs_v103/methods/channels.getAdminLog.md @@ -22,7 +22,7 @@ Get the admin log of a [channel/supergroup](https://core.telegram.org/api/channe |limit|[int](../types/int.md) | Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets) | Yes| -### Return type: [channels\_AdminLogResults](../types/channels_AdminLogResults.md) +### Return type: [channels.AdminLogResults](../types/channels.AdminLogResults.md) ### Can bots use this method: **NO** @@ -39,13 +39,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$channels_AdminLogResults = $MadelineProto->channels->getAdminLog(['channel' => InputChannel, 'q' => 'string', 'events_filter' => ChannelAdminLogEventsFilter, 'admins' => [InputUser, InputUser], 'max_id' => long, 'min_id' => long, 'limit' => int, ]); +$channels.AdminLogResults = $MadelineProto->channels->getAdminLog(['channel' => InputChannel, 'q' => 'string', 'events_filter' => ChannelAdminLogEventsFilter, 'admins' => [InputUser, InputUser], 'max_id' => long, 'min_id' => long, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -channels_AdminLogResults = channels.getAdminLog({channel=InputChannel, q='string', events_filter=ChannelAdminLogEventsFilter, admins={InputUser}, max_id=long, min_id=long, limit=int, }) +channels.AdminLogResults = channels.getAdminLog({channel=InputChannel, q='string', events_filter=ChannelAdminLogEventsFilter, admins={InputUser}, max_id=long, min_id=long, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v103/methods/channels.getAdminedPublicChannels.md b/old_docs/API_docs_v103/methods/channels.getAdminedPublicChannels.md index 1b358432..de834403 100644 --- a/old_docs/API_docs_v103/methods/channels.getAdminedPublicChannels.md +++ b/old_docs/API_docs_v103/methods/channels.getAdminedPublicChannels.md @@ -17,7 +17,7 @@ Get [channels/supergroups/geogroups](https://core.telegram.org/api/channel) we'r |check\_limit|[Bool](../types/Bool.md) | If set and the user has reached the limit of owned public [channels/supergroups/geogroups](https://core.telegram.org/api/channel), instead of returning the channel list one of the specified [errors](#possible-errors) will be returned.
Useful to check if a new public channel can indeed be created, even before asking the user to enter a channel username to use in [channels.checkUsername](../methods/channels.checkUsername.md)/[channels.updateUsername](../methods/channels.updateUsername.md). | Optional| -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **NO** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->channels->getAdminedPublicChannels(['by_location' => Bool, 'check_limit' => Bool, ]); +$messages.Chats = $MadelineProto->channels->getAdminedPublicChannels(['by_location' => Bool, 'check_limit' => Bool, ]); ``` Or, if you're into Lua: ```lua -messages_Chats = channels.getAdminedPublicChannels({by_location=Bool, check_limit=Bool, }) +messages.Chats = channels.getAdminedPublicChannels({by_location=Bool, check_limit=Bool, }) ``` diff --git a/old_docs/API_docs_v103/methods/channels.getChannels.md b/old_docs/API_docs_v103/methods/channels.getChannels.md index 368c96ce..ed9cf4a7 100644 --- a/old_docs/API_docs_v103/methods/channels.getChannels.md +++ b/old_docs/API_docs_v103/methods/channels.getChannels.md @@ -16,7 +16,7 @@ Get info about [channels/supergroups](https://core.telegram.org/api/channel) |id|Array of [Username, chat ID, Update, Message or InputChannel](../types/InputChannel.md) | The channel/supergroup MTProto IDs | Yes| -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->channels->getChannels(['id' => [InputChannel, InputChannel], ]); +$messages.Chats = $MadelineProto->channels->getChannels(['id' => [InputChannel, InputChannel], ]); ``` Or, if you're into Lua: ```lua -messages_Chats = channels.getChannels({id={InputChannel}, }) +messages.Chats = channels.getChannels({id={InputChannel}, }) ``` ### Errors diff --git a/old_docs/API_docs_v103/methods/channels.getFullChannel.md b/old_docs/API_docs_v103/methods/channels.getFullChannel.md index 08dc21bb..1369e0a0 100644 --- a/old_docs/API_docs_v103/methods/channels.getFullChannel.md +++ b/old_docs/API_docs_v103/methods/channels.getFullChannel.md @@ -16,7 +16,7 @@ You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo me |channel|[Username, chat ID, Update, Message or InputChannel](../types/InputChannel.md) | You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo methods instead (see https://docs.madelineproto.xyz for more info) | Optional| -### Return type: [messages\_ChatFull](../types/messages_ChatFull.md) +### Return type: [messages.ChatFull](../types/messages.ChatFull.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_ChatFull = $MadelineProto->channels->getFullChannel(['channel' => InputChannel, ]); +$messages.ChatFull = $MadelineProto->channels->getFullChannel(['channel' => InputChannel, ]); ``` Or, if you're into Lua: ```lua -messages_ChatFull = channels.getFullChannel({channel=InputChannel, }) +messages.ChatFull = channels.getFullChannel({channel=InputChannel, }) ``` ### Errors diff --git a/old_docs/API_docs_v103/methods/channels.getGroupsForDiscussion.md b/old_docs/API_docs_v103/methods/channels.getGroupsForDiscussion.md index 810f9aa8..0e97f199 100644 --- a/old_docs/API_docs_v103/methods/channels.getGroupsForDiscussion.md +++ b/old_docs/API_docs_v103/methods/channels.getGroupsForDiscussion.md @@ -11,7 +11,7 @@ Get all groups that can be used as [discussion groups](https://telegram.org/blog -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->channels->getGroupsForDiscussion(); +$messages.Chats = $MadelineProto->channels->getGroupsForDiscussion(); ``` Or, if you're into Lua: ```lua -messages_Chats = channels.getGroupsForDiscussion({}) +messages.Chats = channels.getGroupsForDiscussion({}) ``` diff --git a/old_docs/API_docs_v103/methods/channels.getLeftChannels.md b/old_docs/API_docs_v103/methods/channels.getLeftChannels.md index a5bcda2c..5a132204 100644 --- a/old_docs/API_docs_v103/methods/channels.getLeftChannels.md +++ b/old_docs/API_docs_v103/methods/channels.getLeftChannels.md @@ -16,7 +16,7 @@ Get a list of [channels/supergroups](https://core.telegram.org/api/channel) we l |offset|[int](../types/int.md) | Offset for [pagination](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->channels->getLeftChannels(['offset' => int, ]); +$messages.Chats = $MadelineProto->channels->getLeftChannels(['offset' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Chats = channels.getLeftChannels({offset=int, }) +messages.Chats = channels.getLeftChannels({offset=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v103/methods/channels.getMessages.md b/old_docs/API_docs_v103/methods/channels.getMessages.md index 428734e3..708e404a 100644 --- a/old_docs/API_docs_v103/methods/channels.getMessages.md +++ b/old_docs/API_docs_v103/methods/channels.getMessages.md @@ -17,7 +17,7 @@ Get [channel/supergroup](https://core.telegram.org/api/channel) messages |id|Array of [Message ID or InputMessage](../types/InputMessage.md) | The message IDs | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->channels->getMessages(['channel' => InputChannel, 'id' => [InputMessage, InputMessage], ]); +$messages.Messages = $MadelineProto->channels->getMessages(['channel' => InputChannel, 'id' => [InputMessage, InputMessage], ]); ``` Or, if you're into Lua: ```lua -messages_Messages = channels.getMessages({channel=InputChannel, id={InputMessage}, }) +messages.Messages = channels.getMessages({channel=InputChannel, id={InputMessage}, }) ``` ### Errors diff --git a/old_docs/API_docs_v103/methods/channels.getParticipant.md b/old_docs/API_docs_v103/methods/channels.getParticipant.md index aa2ce655..cf6a7771 100644 --- a/old_docs/API_docs_v103/methods/channels.getParticipant.md +++ b/old_docs/API_docs_v103/methods/channels.getParticipant.md @@ -17,7 +17,7 @@ Get info about a [channel/supergroup](https://core.telegram.org/api/channel) par |user\_id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | ID of participant to get info about | Optional| -### Return type: [channels\_ChannelParticipant](../types/channels_ChannelParticipant.md) +### Return type: [channels.ChannelParticipant](../types/channels.ChannelParticipant.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$channels_ChannelParticipant = $MadelineProto->channels->getParticipant(['channel' => InputChannel, 'user_id' => InputUser, ]); +$channels.ChannelParticipant = $MadelineProto->channels->getParticipant(['channel' => InputChannel, 'user_id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -channels_ChannelParticipant = channels.getParticipant({channel=InputChannel, user_id=InputUser, }) +channels.ChannelParticipant = channels.getParticipant({channel=InputChannel, user_id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v103/methods/channels.getParticipants.md b/old_docs/API_docs_v103/methods/channels.getParticipants.md index dd7e0087..c6b15b63 100644 --- a/old_docs/API_docs_v103/methods/channels.getParticipants.md +++ b/old_docs/API_docs_v103/methods/channels.getParticipants.md @@ -20,7 +20,7 @@ Get the participants of a channel |hash|Array of [int](../types/int.md) | IDs of previously fetched participants | Optional| -### Return type: [channels\_ChannelParticipants](../types/channels_ChannelParticipants.md) +### Return type: [channels.ChannelParticipants](../types/channels.ChannelParticipants.md) ### Can bots use this method: **YES** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$channels_ChannelParticipants = $MadelineProto->channels->getParticipants(['channel' => InputChannel, 'filter' => ChannelParticipantsFilter, 'offset' => int, 'limit' => int, 'hash' => [int, int], ]); +$channels.ChannelParticipants = $MadelineProto->channels->getParticipants(['channel' => InputChannel, 'filter' => ChannelParticipantsFilter, 'offset' => int, 'limit' => int, 'hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -channels_ChannelParticipants = channels.getParticipants({channel=InputChannel, filter=ChannelParticipantsFilter, offset=int, limit=int, hash={int}, }) +channels.ChannelParticipants = channels.getParticipants({channel=InputChannel, filter=ChannelParticipantsFilter, offset=int, limit=int, hash={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v103/methods/contacts.getBlocked.md b/old_docs/API_docs_v103/methods/contacts.getBlocked.md index 92f2f331..6ac1c343 100644 --- a/old_docs/API_docs_v103/methods/contacts.getBlocked.md +++ b/old_docs/API_docs_v103/methods/contacts.getBlocked.md @@ -17,7 +17,7 @@ Returns the list of blocked users. |limit|[int](../types/int.md) | The number of list elements to be returned | Yes| -### Return type: [contacts\_Blocked](../types/contacts_Blocked.md) +### Return type: [contacts.Blocked](../types/contacts.Blocked.md) ### Can bots use this method: **NO** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Blocked = $MadelineProto->contacts->getBlocked(['offset' => int, 'limit' => int, ]); +$contacts.Blocked = $MadelineProto->contacts->getBlocked(['offset' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -contacts_Blocked = contacts.getBlocked({offset=int, limit=int, }) +contacts.Blocked = contacts.getBlocked({offset=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v103/methods/contacts.getContacts.md b/old_docs/API_docs_v103/methods/contacts.getContacts.md index c67e6240..609549b0 100644 --- a/old_docs/API_docs_v103/methods/contacts.getContacts.md +++ b/old_docs/API_docs_v103/methods/contacts.getContacts.md @@ -16,7 +16,7 @@ Returns the current user's contact list. |hash|Array of [int](../types/int.md) | User IDs of previously cached contacts | Optional| -### Return type: [contacts\_Contacts](../types/contacts_Contacts.md) +### Return type: [contacts.Contacts](../types/contacts.Contacts.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Contacts = $MadelineProto->contacts->getContacts(['hash' => [int, int], ]); +$contacts.Contacts = $MadelineProto->contacts->getContacts(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -contacts_Contacts = contacts.getContacts({hash={int}, }) +contacts.Contacts = contacts.getContacts({hash={int}, }) ``` diff --git a/old_docs/API_docs_v103/methods/contacts.getTopPeers.md b/old_docs/API_docs_v103/methods/contacts.getTopPeers.md index 8cb7f245..9957dd2c 100644 --- a/old_docs/API_docs_v103/methods/contacts.getTopPeers.md +++ b/old_docs/API_docs_v103/methods/contacts.getTopPeers.md @@ -26,7 +26,7 @@ Get most used peers |hash|Array of [int](../types/int.md) | Peer IDs of previously cached peers | Optional| -### Return type: [contacts\_TopPeers](../types/contacts_TopPeers.md) +### Return type: [contacts.TopPeers](../types/contacts.TopPeers.md) ### Can bots use this method: **NO** @@ -43,13 +43,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_TopPeers = $MadelineProto->contacts->getTopPeers(['correspondents' => Bool, 'bots_pm' => Bool, 'bots_inline' => Bool, 'phone_calls' => Bool, 'forward_users' => Bool, 'forward_chats' => Bool, 'groups' => Bool, 'channels' => Bool, 'offset' => int, 'limit' => int, 'hash' => [int, int], ]); +$contacts.TopPeers = $MadelineProto->contacts->getTopPeers(['correspondents' => Bool, 'bots_pm' => Bool, 'bots_inline' => Bool, 'phone_calls' => Bool, 'forward_users' => Bool, 'forward_chats' => Bool, 'groups' => Bool, 'channels' => Bool, 'offset' => int, 'limit' => int, 'hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -contacts_TopPeers = contacts.getTopPeers({correspondents=Bool, bots_pm=Bool, bots_inline=Bool, phone_calls=Bool, forward_users=Bool, forward_chats=Bool, groups=Bool, channels=Bool, offset=int, limit=int, hash={int}, }) +contacts.TopPeers = contacts.getTopPeers({correspondents=Bool, bots_pm=Bool, bots_inline=Bool, phone_calls=Bool, forward_users=Bool, forward_chats=Bool, groups=Bool, channels=Bool, offset=int, limit=int, hash={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v103/methods/contacts.importContacts.md b/old_docs/API_docs_v103/methods/contacts.importContacts.md index 7c795780..dbb9b7fa 100644 --- a/old_docs/API_docs_v103/methods/contacts.importContacts.md +++ b/old_docs/API_docs_v103/methods/contacts.importContacts.md @@ -16,7 +16,7 @@ Imports contacts: saves a full list on the server, adds already registered conta |contacts|Array of [InputContact](../types/InputContact.md) | The numbers to import | Yes| -### Return type: [contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) +### Return type: [contacts.ImportedContacts](../types/contacts.ImportedContacts.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_ImportedContacts = $MadelineProto->contacts->importContacts(['contacts' => [InputContact, InputContact], ]); +$contacts.ImportedContacts = $MadelineProto->contacts->importContacts(['contacts' => [InputContact, InputContact], ]); ``` Or, if you're into Lua: ```lua -contacts_ImportedContacts = contacts.importContacts({contacts={InputContact}, }) +contacts.ImportedContacts = contacts.importContacts({contacts={InputContact}, }) ``` diff --git a/old_docs/API_docs_v103/methods/contacts.resolveUsername.md b/old_docs/API_docs_v103/methods/contacts.resolveUsername.md index 05e3d854..46f1eb50 100644 --- a/old_docs/API_docs_v103/methods/contacts.resolveUsername.md +++ b/old_docs/API_docs_v103/methods/contacts.resolveUsername.md @@ -16,7 +16,7 @@ You cannot use this method directly, use the resolveUsername, getPwrChat, getInf |username|[string](../types/string.md) | You cannot use this method directly, use the resolveUsername, getPwrChat, getInfo, getFullInfo methods instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [contacts\_ResolvedPeer](../types/contacts_ResolvedPeer.md) +### Return type: [contacts.ResolvedPeer](../types/contacts.ResolvedPeer.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_ResolvedPeer = $MadelineProto->contacts->resolveUsername(['username' => 'string', ]); +$contacts.ResolvedPeer = $MadelineProto->contacts->resolveUsername(['username' => 'string', ]); ``` Or, if you're into Lua: ```lua -contacts_ResolvedPeer = contacts.resolveUsername({username='string', }) +contacts.ResolvedPeer = contacts.resolveUsername({username='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v103/methods/contacts.search.md b/old_docs/API_docs_v103/methods/contacts.search.md index 2f39d6f1..ec04c7f9 100644 --- a/old_docs/API_docs_v103/methods/contacts.search.md +++ b/old_docs/API_docs_v103/methods/contacts.search.md @@ -17,7 +17,7 @@ Returns users found by username substring. |limit|[int](../types/int.md) | Maximum number of users to be returned | Yes| -### Return type: [contacts\_Found](../types/contacts_Found.md) +### Return type: [contacts.Found](../types/contacts.Found.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Found = $MadelineProto->contacts->search(['q' => 'string', 'limit' => int, ]); +$contacts.Found = $MadelineProto->contacts->search(['q' => 'string', 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -contacts_Found = contacts.search({q='string', limit=int, }) +contacts.Found = contacts.search({q='string', limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v103/methods/help.editUserInfo.md b/old_docs/API_docs_v103/methods/help.editUserInfo.md index 7d49e820..0dd21b80 100644 --- a/old_docs/API_docs_v103/methods/help.editUserInfo.md +++ b/old_docs/API_docs_v103/methods/help.editUserInfo.md @@ -19,7 +19,7 @@ Internal use |parse\_mode| [string](../types/string.md) | Whether to parse HTML or Markdown markup in the message| Optional | -### Return type: [help\_UserInfo](../types/help_UserInfo.md) +### Return type: [help.UserInfo](../types/help.UserInfo.md) ### Can bots use this method: **NO** @@ -36,19 +36,19 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_UserInfo = $MadelineProto->help->editUserInfo(['user_id' => InputUser, 'message' => 'string', 'entities' => [MessageEntity, MessageEntity], 'parse_mode' => 'string', ]); +$help.UserInfo = $MadelineProto->help->editUserInfo(['user_id' => InputUser, 'message' => 'string', 'entities' => [MessageEntity, MessageEntity], 'parse_mode' => 'string', ]); ``` Or, if you're into Lua: ```lua -help_UserInfo = help.editUserInfo({user_id=InputUser, message='string', entities={MessageEntity}, parseMode='string', }) +help.UserInfo = help.editUserInfo({user_id=InputUser, message='string', entities={MessageEntity}, parseMode='string', }) ``` ## Return value -If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [help\_UserInfo](../types/help_UserInfo.md) will be returned instead. +If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [help.UserInfo](../types/help.UserInfo.md) will be returned instead. diff --git a/old_docs/API_docs_v103/methods/help.getAppUpdate.md b/old_docs/API_docs_v103/methods/help.getAppUpdate.md index e744d727..2a81fa8f 100644 --- a/old_docs/API_docs_v103/methods/help.getAppUpdate.md +++ b/old_docs/API_docs_v103/methods/help.getAppUpdate.md @@ -16,7 +16,7 @@ Returns information on update availability for the current application. |source|[string](../types/string.md) | Source | Yes| -### Return type: [help\_AppUpdate](../types/help_AppUpdate.md) +### Return type: [help.AppUpdate](../types/help.AppUpdate.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_AppUpdate = $MadelineProto->help->getAppUpdate(['source' => 'string', ]); +$help.AppUpdate = $MadelineProto->help->getAppUpdate(['source' => 'string', ]); ``` Or, if you're into Lua: ```lua -help_AppUpdate = help.getAppUpdate({source='string', }) +help.AppUpdate = help.getAppUpdate({source='string', }) ``` diff --git a/old_docs/API_docs_v103/methods/help.getDeepLinkInfo.md b/old_docs/API_docs_v103/methods/help.getDeepLinkInfo.md index e3269bbc..e6e7d6b8 100644 --- a/old_docs/API_docs_v103/methods/help.getDeepLinkInfo.md +++ b/old_docs/API_docs_v103/methods/help.getDeepLinkInfo.md @@ -16,7 +16,7 @@ Get info about a `t.me` link |path|[string](../types/string.md) | Path in `t.me/path` | Yes| -### Return type: [help\_DeepLinkInfo](../types/help_DeepLinkInfo.md) +### Return type: [help.DeepLinkInfo](../types/help.DeepLinkInfo.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_DeepLinkInfo = $MadelineProto->help->getDeepLinkInfo(['path' => 'string', ]); +$help.DeepLinkInfo = $MadelineProto->help->getDeepLinkInfo(['path' => 'string', ]); ``` Or, if you're into Lua: ```lua -help_DeepLinkInfo = help.getDeepLinkInfo({path='string', }) +help.DeepLinkInfo = help.getDeepLinkInfo({path='string', }) ``` diff --git a/old_docs/API_docs_v103/methods/help.getInviteText.md b/old_docs/API_docs_v103/methods/help.getInviteText.md index 6fd67362..0d427974 100644 --- a/old_docs/API_docs_v103/methods/help.getInviteText.md +++ b/old_docs/API_docs_v103/methods/help.getInviteText.md @@ -11,7 +11,7 @@ Returns text of a text message with an invitation. -### Return type: [help\_InviteText](../types/help_InviteText.md) +### Return type: [help.InviteText](../types/help.InviteText.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_InviteText = $MadelineProto->help->getInviteText(); +$help.InviteText = $MadelineProto->help->getInviteText(); ``` Or, if you're into Lua: ```lua -help_InviteText = help.getInviteText({}) +help.InviteText = help.getInviteText({}) ``` diff --git a/old_docs/API_docs_v103/methods/help.getPassportConfig.md b/old_docs/API_docs_v103/methods/help.getPassportConfig.md index 3710737d..f71e67b2 100644 --- a/old_docs/API_docs_v103/methods/help.getPassportConfig.md +++ b/old_docs/API_docs_v103/methods/help.getPassportConfig.md @@ -16,7 +16,7 @@ Get [passport](https://core.telegram.org/passport) configuration |hash|Array of [int](../types/int.md) | Hash | Optional| -### Return type: [help\_PassportConfig](../types/help_PassportConfig.md) +### Return type: [help.PassportConfig](../types/help.PassportConfig.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_PassportConfig = $MadelineProto->help->getPassportConfig(['hash' => [int, int], ]); +$help.PassportConfig = $MadelineProto->help->getPassportConfig(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -help_PassportConfig = help.getPassportConfig({hash={int}, }) +help.PassportConfig = help.getPassportConfig({hash={int}, }) ``` diff --git a/old_docs/API_docs_v103/methods/help.getProxyData.md b/old_docs/API_docs_v103/methods/help.getProxyData.md index bbaf4c53..9a0aaa9a 100644 --- a/old_docs/API_docs_v103/methods/help.getProxyData.md +++ b/old_docs/API_docs_v103/methods/help.getProxyData.md @@ -11,7 +11,7 @@ Get promotion info of the currently-used MTProxy -### Return type: [help\_ProxyData](../types/help_ProxyData.md) +### Return type: [help.ProxyData](../types/help.ProxyData.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_ProxyData = $MadelineProto->help->getProxyData(); +$help.ProxyData = $MadelineProto->help->getProxyData(); ``` Or, if you're into Lua: ```lua -help_ProxyData = help.getProxyData({}) +help.ProxyData = help.getProxyData({}) ``` diff --git a/old_docs/API_docs_v103/methods/help.getRecentMeUrls.md b/old_docs/API_docs_v103/methods/help.getRecentMeUrls.md index 38cc44c8..a5ab9e06 100644 --- a/old_docs/API_docs_v103/methods/help.getRecentMeUrls.md +++ b/old_docs/API_docs_v103/methods/help.getRecentMeUrls.md @@ -16,7 +16,7 @@ Get recently used `t.me` links |referer|[string](../types/string.md) | Referer | Yes| -### Return type: [help\_RecentMeUrls](../types/help_RecentMeUrls.md) +### Return type: [help.RecentMeUrls](../types/help.RecentMeUrls.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_RecentMeUrls = $MadelineProto->help->getRecentMeUrls(['referer' => 'string', ]); +$help.RecentMeUrls = $MadelineProto->help->getRecentMeUrls(['referer' => 'string', ]); ``` Or, if you're into Lua: ```lua -help_RecentMeUrls = help.getRecentMeUrls({referer='string', }) +help.RecentMeUrls = help.getRecentMeUrls({referer='string', }) ``` diff --git a/old_docs/API_docs_v103/methods/help.getSupport.md b/old_docs/API_docs_v103/methods/help.getSupport.md index 7a577892..8a8df916 100644 --- a/old_docs/API_docs_v103/methods/help.getSupport.md +++ b/old_docs/API_docs_v103/methods/help.getSupport.md @@ -11,7 +11,7 @@ Returns the support user for the 'ask a question' feature. -### Return type: [help\_Support](../types/help_Support.md) +### Return type: [help.Support](../types/help.Support.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_Support = $MadelineProto->help->getSupport(); +$help.Support = $MadelineProto->help->getSupport(); ``` Or, if you're into Lua: ```lua -help_Support = help.getSupport({}) +help.Support = help.getSupport({}) ``` diff --git a/old_docs/API_docs_v103/methods/help.getSupportName.md b/old_docs/API_docs_v103/methods/help.getSupportName.md index d2b1c93c..fbf9ef52 100644 --- a/old_docs/API_docs_v103/methods/help.getSupportName.md +++ b/old_docs/API_docs_v103/methods/help.getSupportName.md @@ -11,7 +11,7 @@ Get localized name of the telegram support user -### Return type: [help\_SupportName](../types/help_SupportName.md) +### Return type: [help.SupportName](../types/help.SupportName.md) ### Can bots use this method: **NO** @@ -28,13 +28,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_SupportName = $MadelineProto->help->getSupportName(); +$help.SupportName = $MadelineProto->help->getSupportName(); ``` Or, if you're into Lua: ```lua -help_SupportName = help.getSupportName({}) +help.SupportName = help.getSupportName({}) ``` ### Errors diff --git a/old_docs/API_docs_v103/methods/help.getTermsOfServiceUpdate.md b/old_docs/API_docs_v103/methods/help.getTermsOfServiceUpdate.md index 7a8ebd65..636a054b 100644 --- a/old_docs/API_docs_v103/methods/help.getTermsOfServiceUpdate.md +++ b/old_docs/API_docs_v103/methods/help.getTermsOfServiceUpdate.md @@ -11,7 +11,7 @@ Look for updates of telegram's terms of service -### Return type: [help\_TermsOfServiceUpdate](../types/help_TermsOfServiceUpdate.md) +### Return type: [help.TermsOfServiceUpdate](../types/help.TermsOfServiceUpdate.md) ### Can bots use this method: **NO** @@ -28,13 +28,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_TermsOfServiceUpdate = $MadelineProto->help->getTermsOfServiceUpdate(); +$help.TermsOfServiceUpdate = $MadelineProto->help->getTermsOfServiceUpdate(); ``` Or, if you're into Lua: ```lua -help_TermsOfServiceUpdate = help.getTermsOfServiceUpdate({}) +help.TermsOfServiceUpdate = help.getTermsOfServiceUpdate({}) ``` ### Errors diff --git a/old_docs/API_docs_v103/methods/help.getUserInfo.md b/old_docs/API_docs_v103/methods/help.getUserInfo.md index 353429d6..27b65cf7 100644 --- a/old_docs/API_docs_v103/methods/help.getUserInfo.md +++ b/old_docs/API_docs_v103/methods/help.getUserInfo.md @@ -16,7 +16,7 @@ Internal use |user\_id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | User ID | Optional| -### Return type: [help\_UserInfo](../types/help_UserInfo.md) +### Return type: [help.UserInfo](../types/help.UserInfo.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_UserInfo = $MadelineProto->help->getUserInfo(['user_id' => InputUser, ]); +$help.UserInfo = $MadelineProto->help->getUserInfo(['user_id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -help_UserInfo = help.getUserInfo({user_id=InputUser, }) +help.UserInfo = help.getUserInfo({user_id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v103/methods/messages.deleteHistory.md b/old_docs/API_docs_v103/methods/messages.deleteHistory.md index 53ebf056..1d7be654 100644 --- a/old_docs/API_docs_v103/methods/messages.deleteHistory.md +++ b/old_docs/API_docs_v103/methods/messages.deleteHistory.md @@ -19,7 +19,7 @@ Deletes communication history. |max\_id|[int](../types/int.md) | Maximum ID of message to delete | Yes| -### Return type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) +### Return type: [messages.AffectedHistory](../types/messages.AffectedHistory.md) ### Can bots use this method: **NO** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedHistory = $MadelineProto->messages->deleteHistory(['just_clear' => Bool, 'revoke' => Bool, 'peer' => InputPeer, 'max_id' => int, ]); +$messages.AffectedHistory = $MadelineProto->messages->deleteHistory(['just_clear' => Bool, 'revoke' => Bool, 'peer' => InputPeer, 'max_id' => int, ]); ``` Or, if you're into Lua: ```lua -messages_AffectedHistory = messages.deleteHistory({just_clear=Bool, revoke=Bool, peer=InputPeer, max_id=int, }) +messages.AffectedHistory = messages.deleteHistory({just_clear=Bool, revoke=Bool, peer=InputPeer, max_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v103/methods/messages.deleteMessages.md b/old_docs/API_docs_v103/methods/messages.deleteMessages.md index ade04cae..ade96e60 100644 --- a/old_docs/API_docs_v103/methods/messages.deleteMessages.md +++ b/old_docs/API_docs_v103/methods/messages.deleteMessages.md @@ -17,7 +17,7 @@ Deletes messages by their identifiers. |id|Array of [int](../types/int.md) | IDs of messages to delete, use channels->deleteMessages for supergroups | Yes| -### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) +### Return type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedMessages = $MadelineProto->messages->deleteMessages(['revoke' => Bool, 'id' => [int, int], ]); +$messages.AffectedMessages = $MadelineProto->messages->deleteMessages(['revoke' => Bool, 'id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AffectedMessages = messages.deleteMessages({revoke=Bool, id={int}, }) +messages.AffectedMessages = messages.deleteMessages({revoke=Bool, id={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v103/methods/messages.getAllChats.md b/old_docs/API_docs_v103/methods/messages.getAllChats.md index cdcc5430..97cc4817 100644 --- a/old_docs/API_docs_v103/methods/messages.getAllChats.md +++ b/old_docs/API_docs_v103/methods/messages.getAllChats.md @@ -16,7 +16,7 @@ Get all chats, channels and supergroups |except\_ids|Array of [int](../types/int.md) | Do not fetch these chats (MTProto id) | Yes| -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->messages->getAllChats(['except_ids' => [int, int], ]); +$messages.Chats = $MadelineProto->messages->getAllChats(['except_ids' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Chats = messages.getAllChats({except_ids={int}, }) +messages.Chats = messages.getAllChats({except_ids={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v103/methods/messages.getAllStickers.md b/old_docs/API_docs_v103/methods/messages.getAllStickers.md index 329b70be..0f0de7f1 100644 --- a/old_docs/API_docs_v103/methods/messages.getAllStickers.md +++ b/old_docs/API_docs_v103/methods/messages.getAllStickers.md @@ -16,7 +16,7 @@ Get all installed stickers |hash|Array of [int](../types/int.md) | The hash parameter of the previous result of this method | Optional| -### Return type: [messages\_AllStickers](../types/messages_AllStickers.md) +### Return type: [messages.AllStickers](../types/messages.AllStickers.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AllStickers = $MadelineProto->messages->getAllStickers(['hash' => [int, int], ]); +$messages.AllStickers = $MadelineProto->messages->getAllStickers(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AllStickers = messages.getAllStickers({hash={int}, }) +messages.AllStickers = messages.getAllStickers({hash={int}, }) ``` diff --git a/old_docs/API_docs_v103/methods/messages.getArchivedStickers.md b/old_docs/API_docs_v103/methods/messages.getArchivedStickers.md index d3abe9fc..c108376e 100644 --- a/old_docs/API_docs_v103/methods/messages.getArchivedStickers.md +++ b/old_docs/API_docs_v103/methods/messages.getArchivedStickers.md @@ -18,7 +18,7 @@ Get all archived stickers |limit|[int](../types/int.md) | Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_ArchivedStickers](../types/messages_ArchivedStickers.md) +### Return type: [messages.ArchivedStickers](../types/messages.ArchivedStickers.md) ### Can bots use this method: **NO** @@ -35,12 +35,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_ArchivedStickers = $MadelineProto->messages->getArchivedStickers(['masks' => Bool, 'offset_id' => long, 'limit' => int, ]); +$messages.ArchivedStickers = $MadelineProto->messages->getArchivedStickers(['masks' => Bool, 'offset_id' => long, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -messages_ArchivedStickers = messages.getArchivedStickers({masks=Bool, offset_id=long, limit=int, }) +messages.ArchivedStickers = messages.getArchivedStickers({masks=Bool, offset_id=long, limit=int, }) ``` diff --git a/old_docs/API_docs_v103/methods/messages.getBotCallbackAnswer.md b/old_docs/API_docs_v103/methods/messages.getBotCallbackAnswer.md index 015fc46b..10072386 100644 --- a/old_docs/API_docs_v103/methods/messages.getBotCallbackAnswer.md +++ b/old_docs/API_docs_v103/methods/messages.getBotCallbackAnswer.md @@ -19,7 +19,7 @@ Press an inline callback button and get a callback answer from the bot |data|[bytes](../types/bytes.md) | Callback data | Optional| -### Return type: [messages\_BotCallbackAnswer](../types/messages_BotCallbackAnswer.md) +### Return type: [messages.BotCallbackAnswer](../types/messages.BotCallbackAnswer.md) ### Can bots use this method: **NO** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_BotCallbackAnswer = $MadelineProto->messages->getBotCallbackAnswer(['game' => Bool, 'peer' => InputPeer, 'msg_id' => int, 'data' => 'bytes', ]); +$messages.BotCallbackAnswer = $MadelineProto->messages->getBotCallbackAnswer(['game' => Bool, 'peer' => InputPeer, 'msg_id' => int, 'data' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -messages_BotCallbackAnswer = messages.getBotCallbackAnswer({game=Bool, peer=InputPeer, msg_id=int, data='bytes', }) +messages.BotCallbackAnswer = messages.getBotCallbackAnswer({game=Bool, peer=InputPeer, msg_id=int, data='bytes', }) ``` ### Errors diff --git a/old_docs/API_docs_v103/methods/messages.getChats.md b/old_docs/API_docs_v103/methods/messages.getChats.md index c34b0488..146341f5 100644 --- a/old_docs/API_docs_v103/methods/messages.getChats.md +++ b/old_docs/API_docs_v103/methods/messages.getChats.md @@ -16,7 +16,7 @@ Returns chat basic info on their IDs. |id|Array of [int](../types/int.md) | The MTProto IDs of chats to fetch info about | Yes| -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->messages->getChats(['id' => [int, int], ]); +$messages.Chats = $MadelineProto->messages->getChats(['id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Chats = messages.getChats({id={int}, }) +messages.Chats = messages.getChats({id={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v103/methods/messages.getCommonChats.md b/old_docs/API_docs_v103/methods/messages.getCommonChats.md index fc7b2363..56a3ec01 100644 --- a/old_docs/API_docs_v103/methods/messages.getCommonChats.md +++ b/old_docs/API_docs_v103/methods/messages.getCommonChats.md @@ -18,7 +18,7 @@ Get chats in common with a user |limit|[int](../types/int.md) | Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->messages->getCommonChats(['user_id' => InputUser, 'max_id' => int, 'limit' => int, ]); +$messages.Chats = $MadelineProto->messages->getCommonChats(['user_id' => InputUser, 'max_id' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Chats = messages.getCommonChats({user_id=InputUser, max_id=int, limit=int, }) +messages.Chats = messages.getCommonChats({user_id=InputUser, max_id=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v103/methods/messages.getDhConfig.md b/old_docs/API_docs_v103/methods/messages.getDhConfig.md index 88ea4ab3..7b9da566 100644 --- a/old_docs/API_docs_v103/methods/messages.getDhConfig.md +++ b/old_docs/API_docs_v103/methods/messages.getDhConfig.md @@ -17,7 +17,7 @@ You cannot use this method directly, instead use $MadelineProto->getDhConfig(); |random\_length|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->getDhConfig(); | Yes| -### Return type: [messages\_DhConfig](../types/messages_DhConfig.md) +### Return type: [messages.DhConfig](../types/messages.DhConfig.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_DhConfig = $MadelineProto->messages->getDhConfig(['version' => int, 'random_length' => int, ]); +$messages.DhConfig = $MadelineProto->messages->getDhConfig(['version' => int, 'random_length' => int, ]); ``` Or, if you're into Lua: ```lua -messages_DhConfig = messages.getDhConfig({version=int, random_length=int, }) +messages.DhConfig = messages.getDhConfig({version=int, random_length=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v103/methods/messages.getDialogs.md b/old_docs/API_docs_v103/methods/messages.getDialogs.md index 4fce7d43..8f0e7f1a 100644 --- a/old_docs/API_docs_v103/methods/messages.getDialogs.md +++ b/old_docs/API_docs_v103/methods/messages.getDialogs.md @@ -22,7 +22,7 @@ Returns the current user dialog list. |hash|Array of [int](../types/int.md) | IDs of previously fetched dialogs | Optional| -### Return type: [messages\_Dialogs](../types/messages_Dialogs.md) +### Return type: [messages.Dialogs](../types/messages.Dialogs.md) ### Can bots use this method: **NO** @@ -39,13 +39,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Dialogs = $MadelineProto->messages->getDialogs(['exclude_pinned' => Bool, 'folder_id' => int, 'offset_date' => int, 'offset_id' => int, 'offset_peer' => InputPeer, 'limit' => int, 'hash' => [int, int], ]); +$messages.Dialogs = $MadelineProto->messages->getDialogs(['exclude_pinned' => Bool, 'folder_id' => int, 'offset_date' => int, 'offset_id' => int, 'offset_peer' => InputPeer, 'limit' => int, 'hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Dialogs = messages.getDialogs({exclude_pinned=Bool, folder_id=int, offset_date=int, offset_id=int, offset_peer=InputPeer, limit=int, hash={int}, }) +messages.Dialogs = messages.getDialogs({exclude_pinned=Bool, folder_id=int, offset_date=int, offset_id=int, offset_peer=InputPeer, limit=int, hash={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v103/methods/messages.getFavedStickers.md b/old_docs/API_docs_v103/methods/messages.getFavedStickers.md index 3ba077ef..19f64e43 100644 --- a/old_docs/API_docs_v103/methods/messages.getFavedStickers.md +++ b/old_docs/API_docs_v103/methods/messages.getFavedStickers.md @@ -16,7 +16,7 @@ Get faved stickers |hash|Array of [int](../types/int.md) | the hash parameter of the previous result of this method | Optional| -### Return type: [messages\_FavedStickers](../types/messages_FavedStickers.md) +### Return type: [messages.FavedStickers](../types/messages.FavedStickers.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_FavedStickers = $MadelineProto->messages->getFavedStickers(['hash' => [int, int], ]); +$messages.FavedStickers = $MadelineProto->messages->getFavedStickers(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_FavedStickers = messages.getFavedStickers({hash={int}, }) +messages.FavedStickers = messages.getFavedStickers({hash={int}, }) ``` diff --git a/old_docs/API_docs_v103/methods/messages.getFeaturedStickers.md b/old_docs/API_docs_v103/methods/messages.getFeaturedStickers.md index 8f2634c3..2d65d626 100644 --- a/old_docs/API_docs_v103/methods/messages.getFeaturedStickers.md +++ b/old_docs/API_docs_v103/methods/messages.getFeaturedStickers.md @@ -16,7 +16,7 @@ Get featured stickers |hash|Array of [int](../types/int.md) | the hash parameter of the previous result of this method | Optional| -### Return type: [messages\_FeaturedStickers](../types/messages_FeaturedStickers.md) +### Return type: [messages.FeaturedStickers](../types/messages.FeaturedStickers.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_FeaturedStickers = $MadelineProto->messages->getFeaturedStickers(['hash' => [int, int], ]); +$messages.FeaturedStickers = $MadelineProto->messages->getFeaturedStickers(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_FeaturedStickers = messages.getFeaturedStickers({hash={int}, }) +messages.FeaturedStickers = messages.getFeaturedStickers({hash={int}, }) ``` diff --git a/old_docs/API_docs_v103/methods/messages.getFullChat.md b/old_docs/API_docs_v103/methods/messages.getFullChat.md index abf23e21..de543651 100644 --- a/old_docs/API_docs_v103/methods/messages.getFullChat.md +++ b/old_docs/API_docs_v103/methods/messages.getFullChat.md @@ -16,7 +16,7 @@ You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo me |chat\_id|[Username, chat ID, Update, Message or InputPeer](../types/InputPeer.md) | You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo methods instead (see https://docs.madelineproto.xyz for more info) | Optional| -### Return type: [messages\_ChatFull](../types/messages_ChatFull.md) +### Return type: [messages.ChatFull](../types/messages.ChatFull.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_ChatFull = $MadelineProto->messages->getFullChat(['chat_id' => InputPeer, ]); +$messages.ChatFull = $MadelineProto->messages->getFullChat(['chat_id' => InputPeer, ]); ``` Or, if you're into Lua: ```lua -messages_ChatFull = messages.getFullChat({chat_id=InputPeer, }) +messages.ChatFull = messages.getFullChat({chat_id=InputPeer, }) ``` ### Errors diff --git a/old_docs/API_docs_v103/methods/messages.getGameHighScores.md b/old_docs/API_docs_v103/methods/messages.getGameHighScores.md index 0ee9d754..6e4dacb2 100644 --- a/old_docs/API_docs_v103/methods/messages.getGameHighScores.md +++ b/old_docs/API_docs_v103/methods/messages.getGameHighScores.md @@ -18,7 +18,7 @@ Get highscores of a game |user\_id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | Get high scores made by a certain user | Optional| -### Return type: [messages\_HighScores](../types/messages_HighScores.md) +### Return type: [messages.HighScores](../types/messages.HighScores.md) ### Can bots use this method: **YES** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_HighScores = $MadelineProto->messages->getGameHighScores(['peer' => InputPeer, 'id' => int, 'user_id' => InputUser, ]); +$messages.HighScores = $MadelineProto->messages->getGameHighScores(['peer' => InputPeer, 'id' => int, 'user_id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -messages_HighScores = messages.getGameHighScores({peer=InputPeer, id=int, user_id=InputUser, }) +messages.HighScores = messages.getGameHighScores({peer=InputPeer, id=int, user_id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v103/methods/messages.getHistory.md b/old_docs/API_docs_v103/methods/messages.getHistory.md index 9a3d5f8c..c7bd9850 100644 --- a/old_docs/API_docs_v103/methods/messages.getHistory.md +++ b/old_docs/API_docs_v103/methods/messages.getHistory.md @@ -23,7 +23,7 @@ Gets back the conversation history with one interlocutor / within a chat |hash|Array of [int](../types/int.md) | IDs of messages you already fetched | Optional| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **NO** @@ -40,13 +40,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->getHistory(['peer' => InputPeer, 'offset_id' => int, 'offset_date' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, 'hash' => [int, int], ]); +$messages.Messages = $MadelineProto->messages->getHistory(['peer' => InputPeer, 'offset_id' => int, 'offset_date' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, 'hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.getHistory({peer=InputPeer, offset_id=int, offset_date=int, add_offset=int, limit=int, max_id=int, min_id=int, hash={int}, }) +messages.Messages = messages.getHistory({peer=InputPeer, offset_id=int, offset_date=int, add_offset=int, limit=int, max_id=int, min_id=int, hash={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v103/methods/messages.getInlineBotResults.md b/old_docs/API_docs_v103/methods/messages.getInlineBotResults.md index ac251797..8a397236 100644 --- a/old_docs/API_docs_v103/methods/messages.getInlineBotResults.md +++ b/old_docs/API_docs_v103/methods/messages.getInlineBotResults.md @@ -20,7 +20,7 @@ Query an inline bot |offset|[string](../types/string.md) | The offset within the results, will be passed directly as-is to the bot. | Yes| -### Return type: [messages\_BotResults](../types/messages_BotResults.md) +### Return type: [messages.BotResults](../types/messages.BotResults.md) ### Can bots use this method: **NO** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_BotResults = $MadelineProto->messages->getInlineBotResults(['bot' => InputUser, 'peer' => InputPeer, 'geo_point' => InputGeoPoint, 'query' => 'string', 'offset' => 'string', ]); +$messages.BotResults = $MadelineProto->messages->getInlineBotResults(['bot' => InputUser, 'peer' => InputPeer, 'geo_point' => InputGeoPoint, 'query' => 'string', 'offset' => 'string', ]); ``` Or, if you're into Lua: ```lua -messages_BotResults = messages.getInlineBotResults({bot=InputUser, peer=InputPeer, geo_point=InputGeoPoint, query='string', offset='string', }) +messages.BotResults = messages.getInlineBotResults({bot=InputUser, peer=InputPeer, geo_point=InputGeoPoint, query='string', offset='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v103/methods/messages.getInlineGameHighScores.md b/old_docs/API_docs_v103/methods/messages.getInlineGameHighScores.md index 0d02b426..dbcb2cf6 100644 --- a/old_docs/API_docs_v103/methods/messages.getInlineGameHighScores.md +++ b/old_docs/API_docs_v103/methods/messages.getInlineGameHighScores.md @@ -17,7 +17,7 @@ Get highscores of a game sent using an inline bot |user\_id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | Get high scores of a certain user | Optional| -### Return type: [messages\_HighScores](../types/messages_HighScores.md) +### Return type: [messages.HighScores](../types/messages.HighScores.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_HighScores = $MadelineProto->messages->getInlineGameHighScores(['id' => InputBotInlineMessageID, 'user_id' => InputUser, ]); +$messages.HighScores = $MadelineProto->messages->getInlineGameHighScores(['id' => InputBotInlineMessageID, 'user_id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -messages_HighScores = messages.getInlineGameHighScores({id=InputBotInlineMessageID, user_id=InputUser, }) +messages.HighScores = messages.getInlineGameHighScores({id=InputBotInlineMessageID, user_id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v103/methods/messages.getMaskStickers.md b/old_docs/API_docs_v103/methods/messages.getMaskStickers.md index a09834e1..093645f6 100644 --- a/old_docs/API_docs_v103/methods/messages.getMaskStickers.md +++ b/old_docs/API_docs_v103/methods/messages.getMaskStickers.md @@ -16,7 +16,7 @@ Get installed mask stickers |hash|Array of [int](../types/int.md) | the hash parameter of the previous result of this method | Optional| -### Return type: [messages\_AllStickers](../types/messages_AllStickers.md) +### Return type: [messages.AllStickers](../types/messages.AllStickers.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AllStickers = $MadelineProto->messages->getMaskStickers(['hash' => [int, int], ]); +$messages.AllStickers = $MadelineProto->messages->getMaskStickers(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AllStickers = messages.getMaskStickers({hash={int}, }) +messages.AllStickers = messages.getMaskStickers({hash={int}, }) ``` diff --git a/old_docs/API_docs_v103/methods/messages.getMessageEditData.md b/old_docs/API_docs_v103/methods/messages.getMessageEditData.md index 1a083f08..7fd32e82 100644 --- a/old_docs/API_docs_v103/methods/messages.getMessageEditData.md +++ b/old_docs/API_docs_v103/methods/messages.getMessageEditData.md @@ -17,7 +17,7 @@ Find out if a media message's caption can be edited |id|[int](../types/int.md) | ID of message | Yes| -### Return type: [messages\_MessageEditData](../types/messages_MessageEditData.md) +### Return type: [messages.MessageEditData](../types/messages.MessageEditData.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_MessageEditData = $MadelineProto->messages->getMessageEditData(['peer' => InputPeer, 'id' => int, ]); +$messages.MessageEditData = $MadelineProto->messages->getMessageEditData(['peer' => InputPeer, 'id' => int, ]); ``` Or, if you're into Lua: ```lua -messages_MessageEditData = messages.getMessageEditData({peer=InputPeer, id=int, }) +messages.MessageEditData = messages.getMessageEditData({peer=InputPeer, id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v103/methods/messages.getMessages.md b/old_docs/API_docs_v103/methods/messages.getMessages.md index eb5ef6a6..0aed788d 100644 --- a/old_docs/API_docs_v103/methods/messages.getMessages.md +++ b/old_docs/API_docs_v103/methods/messages.getMessages.md @@ -16,7 +16,7 @@ Returns the list of messages by their IDs. |id|Array of [Message ID or InputMessage](../types/InputMessage.md) | The IDs of messages to fetch (only for users and normal groups) | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **YES** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->getMessages(['id' => [InputMessage, InputMessage], ]); +$messages.Messages = $MadelineProto->messages->getMessages(['id' => [InputMessage, InputMessage], ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.getMessages({id={InputMessage}, }) +messages.Messages = messages.getMessages({id={InputMessage}, }) ``` diff --git a/old_docs/API_docs_v103/methods/messages.getPeerDialogs.md b/old_docs/API_docs_v103/methods/messages.getPeerDialogs.md index 2ab5d661..1ec67e6a 100644 --- a/old_docs/API_docs_v103/methods/messages.getPeerDialogs.md +++ b/old_docs/API_docs_v103/methods/messages.getPeerDialogs.md @@ -16,7 +16,7 @@ Get dialog info of specified peers |peers|Array of [Username, chat ID, Update, Message or InputDialogPeer](../types/InputDialogPeer.md) | The peers | Yes| -### Return type: [messages\_PeerDialogs](../types/messages_PeerDialogs.md) +### Return type: [messages.PeerDialogs](../types/messages.PeerDialogs.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_PeerDialogs = $MadelineProto->messages->getPeerDialogs(['peers' => [InputDialogPeer, InputDialogPeer], ]); +$messages.PeerDialogs = $MadelineProto->messages->getPeerDialogs(['peers' => [InputDialogPeer, InputDialogPeer], ]); ``` Or, if you're into Lua: ```lua -messages_PeerDialogs = messages.getPeerDialogs({peers={InputDialogPeer}, }) +messages.PeerDialogs = messages.getPeerDialogs({peers={InputDialogPeer}, }) ``` ### Errors diff --git a/old_docs/API_docs_v103/methods/messages.getPinnedDialogs.md b/old_docs/API_docs_v103/methods/messages.getPinnedDialogs.md index 7fbfecd0..9b776f2a 100644 --- a/old_docs/API_docs_v103/methods/messages.getPinnedDialogs.md +++ b/old_docs/API_docs_v103/methods/messages.getPinnedDialogs.md @@ -16,7 +16,7 @@ Get pinned dialogs |folder\_id|[int](../types/int.md) | Folder ID | Yes| -### Return type: [messages\_PeerDialogs](../types/messages_PeerDialogs.md) +### Return type: [messages.PeerDialogs](../types/messages.PeerDialogs.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_PeerDialogs = $MadelineProto->messages->getPinnedDialogs(['folder_id' => int, ]); +$messages.PeerDialogs = $MadelineProto->messages->getPinnedDialogs(['folder_id' => int, ]); ``` Or, if you're into Lua: ```lua -messages_PeerDialogs = messages.getPinnedDialogs({folder_id=int, }) +messages.PeerDialogs = messages.getPinnedDialogs({folder_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v103/methods/messages.getRecentLocations.md b/old_docs/API_docs_v103/methods/messages.getRecentLocations.md index 40ec1285..4efeb49c 100644 --- a/old_docs/API_docs_v103/methods/messages.getRecentLocations.md +++ b/old_docs/API_docs_v103/methods/messages.getRecentLocations.md @@ -18,7 +18,7 @@ Get live location history of a certain user |hash|Array of [int](../types/int.md) | IDs of locations you already fetched | Optional| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **NO** @@ -35,12 +35,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->getRecentLocations(['peer' => InputPeer, 'limit' => int, 'hash' => [int, int], ]); +$messages.Messages = $MadelineProto->messages->getRecentLocations(['peer' => InputPeer, 'limit' => int, 'hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.getRecentLocations({peer=InputPeer, limit=int, hash={int}, }) +messages.Messages = messages.getRecentLocations({peer=InputPeer, limit=int, hash={int}, }) ``` diff --git a/old_docs/API_docs_v103/methods/messages.getRecentStickers.md b/old_docs/API_docs_v103/methods/messages.getRecentStickers.md index 28a70889..39cef16a 100644 --- a/old_docs/API_docs_v103/methods/messages.getRecentStickers.md +++ b/old_docs/API_docs_v103/methods/messages.getRecentStickers.md @@ -17,7 +17,7 @@ Get recent stickers |hash|Array of [int](../types/int.md) | IDs the hash parameter of the previous result of this method | Optional| -### Return type: [messages\_RecentStickers](../types/messages_RecentStickers.md) +### Return type: [messages.RecentStickers](../types/messages.RecentStickers.md) ### Can bots use this method: **NO** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_RecentStickers = $MadelineProto->messages->getRecentStickers(['attached' => Bool, 'hash' => [int, int], ]); +$messages.RecentStickers = $MadelineProto->messages->getRecentStickers(['attached' => Bool, 'hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_RecentStickers = messages.getRecentStickers({attached=Bool, hash={int}, }) +messages.RecentStickers = messages.getRecentStickers({attached=Bool, hash={int}, }) ``` diff --git a/old_docs/API_docs_v103/methods/messages.getSavedGifs.md b/old_docs/API_docs_v103/methods/messages.getSavedGifs.md index 1df7f37c..8b31f7b8 100644 --- a/old_docs/API_docs_v103/methods/messages.getSavedGifs.md +++ b/old_docs/API_docs_v103/methods/messages.getSavedGifs.md @@ -16,7 +16,7 @@ Get saved GIFs |hash|Array of [int](../types/int.md) | the hash parameter of the previous result of this method | Optional| -### Return type: [messages\_SavedGifs](../types/messages_SavedGifs.md) +### Return type: [messages.SavedGifs](../types/messages.SavedGifs.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_SavedGifs = $MadelineProto->messages->getSavedGifs(['hash' => [int, int], ]); +$messages.SavedGifs = $MadelineProto->messages->getSavedGifs(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_SavedGifs = messages.getSavedGifs({hash={int}, }) +messages.SavedGifs = messages.getSavedGifs({hash={int}, }) ``` diff --git a/old_docs/API_docs_v103/methods/messages.getSearchCounters.md b/old_docs/API_docs_v103/methods/messages.getSearchCounters.md index 7a3ff374..3fb15962 100644 --- a/old_docs/API_docs_v103/methods/messages.getSearchCounters.md +++ b/old_docs/API_docs_v103/methods/messages.getSearchCounters.md @@ -17,7 +17,7 @@ Get the number of results that would be found by a [messages.search](../methods/ |filters|Array of [MessagesFilter](../types/MessagesFilter.md) | Filters | Yes| -### Return type: [Vector\_of\_messages\_SearchCounter](../types/messages_SearchCounter.md) +### Return type: [Vector\_of\_messages.SearchCounter](../types/messages.SearchCounter.md) ### Can bots use this method: **NO** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$Vector_of_messages_SearchCounter = $MadelineProto->messages->getSearchCounters(['peer' => InputPeer, 'filters' => [MessagesFilter, MessagesFilter], ]); +$Vector_of_messages.SearchCounter = $MadelineProto->messages->getSearchCounters(['peer' => InputPeer, 'filters' => [MessagesFilter, MessagesFilter], ]); ``` Or, if you're into Lua: ```lua -Vector_of_messages_SearchCounter = messages.getSearchCounters({peer=InputPeer, filters={MessagesFilter}, }) +Vector_of_messages.SearchCounter = messages.getSearchCounters({peer=InputPeer, filters={MessagesFilter}, }) ``` diff --git a/old_docs/API_docs_v103/methods/messages.getStickerSet.md b/old_docs/API_docs_v103/methods/messages.getStickerSet.md index 45fca60f..f11887ee 100644 --- a/old_docs/API_docs_v103/methods/messages.getStickerSet.md +++ b/old_docs/API_docs_v103/methods/messages.getStickerSet.md @@ -16,7 +16,7 @@ Get info about a stickerset |stickerset|[InputStickerSet](../types/InputStickerSet.md) | Stickerset | Optional| -### Return type: [messages\_StickerSet](../types/messages_StickerSet.md) +### Return type: [messages.StickerSet](../types/messages.StickerSet.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StickerSet = $MadelineProto->messages->getStickerSet(['stickerset' => InputStickerSet, ]); +$messages.StickerSet = $MadelineProto->messages->getStickerSet(['stickerset' => InputStickerSet, ]); ``` Or, if you're into Lua: ```lua -messages_StickerSet = messages.getStickerSet({stickerset=InputStickerSet, }) +messages.StickerSet = messages.getStickerSet({stickerset=InputStickerSet, }) ``` ### Errors diff --git a/old_docs/API_docs_v103/methods/messages.getStickers.md b/old_docs/API_docs_v103/methods/messages.getStickers.md index 4f8b7598..ff99fbd2 100644 --- a/old_docs/API_docs_v103/methods/messages.getStickers.md +++ b/old_docs/API_docs_v103/methods/messages.getStickers.md @@ -17,7 +17,7 @@ Get stickers by emoji |hash|Array of [int](../types/int.md) | the hash parameter of the previous result of this method | Optional| -### Return type: [messages\_Stickers](../types/messages_Stickers.md) +### Return type: [messages.Stickers](../types/messages.Stickers.md) ### Can bots use this method: **NO** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Stickers = $MadelineProto->messages->getStickers(['emoticon' => 'string', 'hash' => [int, int], ]); +$messages.Stickers = $MadelineProto->messages->getStickers(['emoticon' => 'string', 'hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Stickers = messages.getStickers({emoticon='string', hash={int}, }) +messages.Stickers = messages.getStickers({emoticon='string', hash={int}, }) ``` diff --git a/old_docs/API_docs_v103/methods/messages.getUnreadMentions.md b/old_docs/API_docs_v103/methods/messages.getUnreadMentions.md index 33bba261..679ed841 100644 --- a/old_docs/API_docs_v103/methods/messages.getUnreadMentions.md +++ b/old_docs/API_docs_v103/methods/messages.getUnreadMentions.md @@ -21,7 +21,7 @@ Get unread messages where we were mentioned |min\_id|[int](../types/int.md) | Minimum message ID to return, [see pagination](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **NO** @@ -38,13 +38,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->getUnreadMentions(['peer' => InputPeer, 'offset_id' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); +$messages.Messages = $MadelineProto->messages->getUnreadMentions(['peer' => InputPeer, 'offset_id' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.getUnreadMentions({peer=InputPeer, offset_id=int, add_offset=int, limit=int, max_id=int, min_id=int, }) +messages.Messages = messages.getUnreadMentions({peer=InputPeer, offset_id=int, add_offset=int, limit=int, max_id=int, min_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v103/methods/messages.installStickerSet.md b/old_docs/API_docs_v103/methods/messages.installStickerSet.md index 1a95ca0b..83ce2121 100644 --- a/old_docs/API_docs_v103/methods/messages.installStickerSet.md +++ b/old_docs/API_docs_v103/methods/messages.installStickerSet.md @@ -17,7 +17,7 @@ Install a stickerset |archived|[Bool](../types/Bool.md) | Whether to archive stickerset | Yes| -### Return type: [messages\_StickerSetInstallResult](../types/messages_StickerSetInstallResult.md) +### Return type: [messages.StickerSetInstallResult](../types/messages.StickerSetInstallResult.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StickerSetInstallResult = $MadelineProto->messages->installStickerSet(['stickerset' => InputStickerSet, 'archived' => Bool, ]); +$messages.StickerSetInstallResult = $MadelineProto->messages->installStickerSet(['stickerset' => InputStickerSet, 'archived' => Bool, ]); ``` Or, if you're into Lua: ```lua -messages_StickerSetInstallResult = messages.installStickerSet({stickerset=InputStickerSet, archived=Bool, }) +messages.StickerSetInstallResult = messages.installStickerSet({stickerset=InputStickerSet, archived=Bool, }) ``` ### Errors diff --git a/old_docs/API_docs_v103/methods/messages.readHistory.md b/old_docs/API_docs_v103/methods/messages.readHistory.md index 39753375..52030c68 100644 --- a/old_docs/API_docs_v103/methods/messages.readHistory.md +++ b/old_docs/API_docs_v103/methods/messages.readHistory.md @@ -17,7 +17,7 @@ Marks message history as read. |max\_id|[int](../types/int.md) | If a positive value is passed, only messages with identifiers less or equal than the given one will be read | Yes| -### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) +### Return type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedMessages = $MadelineProto->messages->readHistory(['peer' => InputPeer, 'max_id' => int, ]); +$messages.AffectedMessages = $MadelineProto->messages->readHistory(['peer' => InputPeer, 'max_id' => int, ]); ``` Or, if you're into Lua: ```lua -messages_AffectedMessages = messages.readHistory({peer=InputPeer, max_id=int, }) +messages.AffectedMessages = messages.readHistory({peer=InputPeer, max_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v103/methods/messages.readMentions.md b/old_docs/API_docs_v103/methods/messages.readMentions.md index 9b73851d..c8c94f00 100644 --- a/old_docs/API_docs_v103/methods/messages.readMentions.md +++ b/old_docs/API_docs_v103/methods/messages.readMentions.md @@ -16,7 +16,7 @@ Mark mentions as read |peer|[Username, chat ID, Update, Message or InputPeer](../types/InputPeer.md) | Dialog | Optional| -### Return type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) +### Return type: [messages.AffectedHistory](../types/messages.AffectedHistory.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedHistory = $MadelineProto->messages->readMentions(['peer' => InputPeer, ]); +$messages.AffectedHistory = $MadelineProto->messages->readMentions(['peer' => InputPeer, ]); ``` Or, if you're into Lua: ```lua -messages_AffectedHistory = messages.readMentions({peer=InputPeer, }) +messages.AffectedHistory = messages.readMentions({peer=InputPeer, }) ``` diff --git a/old_docs/API_docs_v103/methods/messages.readMessageContents.md b/old_docs/API_docs_v103/methods/messages.readMessageContents.md index c479cafe..9798e661 100644 --- a/old_docs/API_docs_v103/methods/messages.readMessageContents.md +++ b/old_docs/API_docs_v103/methods/messages.readMessageContents.md @@ -16,7 +16,7 @@ Notifies the sender about the recipient having listened a voice message or watch |id|Array of [int](../types/int.md) | The messages to mark as read (only users and normal chats, not supergroups) | Yes| -### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) +### Return type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedMessages = $MadelineProto->messages->readMessageContents(['id' => [int, int], ]); +$messages.AffectedMessages = $MadelineProto->messages->readMessageContents(['id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AffectedMessages = messages.readMessageContents({id={int}, }) +messages.AffectedMessages = messages.readMessageContents({id={int}, }) ``` diff --git a/old_docs/API_docs_v103/methods/messages.search.md b/old_docs/API_docs_v103/methods/messages.search.md index 75c21af0..b8125fb6 100644 --- a/old_docs/API_docs_v103/methods/messages.search.md +++ b/old_docs/API_docs_v103/methods/messages.search.md @@ -27,7 +27,7 @@ Gets back found messages |hash|Array of [int](../types/int.md) | The IDs of messages you already fetched | Optional| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **NO** @@ -44,13 +44,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->search(['peer' => InputPeer, 'q' => 'string', 'from_id' => InputUser, 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset_id' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, 'hash' => [int, int], ]); +$messages.Messages = $MadelineProto->messages->search(['peer' => InputPeer, 'q' => 'string', 'from_id' => InputUser, 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset_id' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, 'hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.search({peer=InputPeer, q='string', from_id=InputUser, filter=MessagesFilter, min_date=int, max_date=int, offset_id=int, add_offset=int, limit=int, max_id=int, min_id=int, hash={int}, }) +messages.Messages = messages.search({peer=InputPeer, q='string', from_id=InputUser, filter=MessagesFilter, min_date=int, max_date=int, offset_id=int, add_offset=int, limit=int, max_id=int, min_id=int, hash={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v103/methods/messages.searchGifs.md b/old_docs/API_docs_v103/methods/messages.searchGifs.md index 851371d7..193a0cd4 100644 --- a/old_docs/API_docs_v103/methods/messages.searchGifs.md +++ b/old_docs/API_docs_v103/methods/messages.searchGifs.md @@ -17,7 +17,7 @@ Search for GIFs |offset|[int](../types/int.md) | Offset for [pagination »](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_FoundGifs](../types/messages_FoundGifs.md) +### Return type: [messages.FoundGifs](../types/messages.FoundGifs.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_FoundGifs = $MadelineProto->messages->searchGifs(['q' => 'string', 'offset' => int, ]); +$messages.FoundGifs = $MadelineProto->messages->searchGifs(['q' => 'string', 'offset' => int, ]); ``` Or, if you're into Lua: ```lua -messages_FoundGifs = messages.searchGifs({q='string', offset=int, }) +messages.FoundGifs = messages.searchGifs({q='string', offset=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v103/methods/messages.searchGlobal.md b/old_docs/API_docs_v103/methods/messages.searchGlobal.md index 7d2bb854..4e285576 100644 --- a/old_docs/API_docs_v103/methods/messages.searchGlobal.md +++ b/old_docs/API_docs_v103/methods/messages.searchGlobal.md @@ -21,7 +21,7 @@ Search for messages and peers globally |limit|[int](../types/int.md) | [Offsets for pagination, for more info click here](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **NO** @@ -38,13 +38,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->searchGlobal(['folder_id' => int, 'q' => 'string', 'offset_rate' => int, 'offset_peer' => InputPeer, 'offset_id' => int, 'limit' => int, ]); +$messages.Messages = $MadelineProto->messages->searchGlobal(['folder_id' => int, 'q' => 'string', 'offset_rate' => int, 'offset_peer' => InputPeer, 'offset_id' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.searchGlobal({folder_id=int, q='string', offset_rate=int, offset_peer=InputPeer, offset_id=int, limit=int, }) +messages.Messages = messages.searchGlobal({folder_id=int, q='string', offset_rate=int, offset_peer=InputPeer, offset_id=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v103/methods/messages.searchStickerSets.md b/old_docs/API_docs_v103/methods/messages.searchStickerSets.md index 1759fbc0..a8924f3d 100644 --- a/old_docs/API_docs_v103/methods/messages.searchStickerSets.md +++ b/old_docs/API_docs_v103/methods/messages.searchStickerSets.md @@ -18,7 +18,7 @@ Search for stickersets |hash|Array of [int](../types/int.md) | The IDs of stickersets you already fetched | Optional| -### Return type: [messages\_FoundStickerSets](../types/messages_FoundStickerSets.md) +### Return type: [messages.FoundStickerSets](../types/messages.FoundStickerSets.md) ### Can bots use this method: **NO** @@ -35,12 +35,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_FoundStickerSets = $MadelineProto->messages->searchStickerSets(['exclude_featured' => Bool, 'q' => 'string', 'hash' => [int, int], ]); +$messages.FoundStickerSets = $MadelineProto->messages->searchStickerSets(['exclude_featured' => Bool, 'q' => 'string', 'hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_FoundStickerSets = messages.searchStickerSets({exclude_featured=Bool, q='string', hash={int}, }) +messages.FoundStickerSets = messages.searchStickerSets({exclude_featured=Bool, q='string', hash={int}, }) ``` diff --git a/old_docs/API_docs_v103/methods/messages.sendEncrypted.md b/old_docs/API_docs_v103/methods/messages.sendEncrypted.md index 47b5ef29..6a68b563 100644 --- a/old_docs/API_docs_v103/methods/messages.sendEncrypted.md +++ b/old_docs/API_docs_v103/methods/messages.sendEncrypted.md @@ -14,10 +14,10 @@ Sends a text message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|message|[DecryptedMessage](../types/DecryptedMessage.md) | The message to send | Yes| +|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key that was created during chat initialization | Yes| -### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ### Can bots use this method: **NO** @@ -34,21 +34,15 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncrypted(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); +$messages.SentEncryptedMessage = $MadelineProto->messages->sendEncrypted(['peer' => InputEncryptedChat, 'data' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -messages_SentEncryptedMessage = messages.sendEncrypted({peer=InputEncryptedChat, message=DecryptedMessage, }) +messages.SentEncryptedMessage = messages.sendEncrypted({peer=InputEncryptedChat, data='bytes', }) ``` - -## Return value - -If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) will be returned instead. - - ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v103/methods/messages.sendEncryptedFile.md b/old_docs/API_docs_v103/methods/messages.sendEncryptedFile.md index 4e0f7b7f..87185ba4 100644 --- a/old_docs/API_docs_v103/methods/messages.sendEncryptedFile.md +++ b/old_docs/API_docs_v103/methods/messages.sendEncryptedFile.md @@ -14,11 +14,11 @@ Sends a message with a file attachment to a secret chat | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|message|[DecryptedMessage](../types/DecryptedMessage.md) | The message with the file | Yes| +|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| |file|[File path or InputEncryptedFile](../types/InputEncryptedFile.md) | File attachment for the secret chat | Optional| -### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ### Can bots use this method: **NO** @@ -35,21 +35,15 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedFile(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, 'file' => InputEncryptedFile, ]); +$messages.SentEncryptedMessage = $MadelineProto->messages->sendEncryptedFile(['peer' => InputEncryptedChat, 'data' => 'bytes', 'file' => InputEncryptedFile, ]); ``` Or, if you're into Lua: ```lua -messages_SentEncryptedMessage = messages.sendEncryptedFile({peer=InputEncryptedChat, message=DecryptedMessage, file=InputEncryptedFile, }) +messages.SentEncryptedMessage = messages.sendEncryptedFile({peer=InputEncryptedChat, data='bytes', file=InputEncryptedFile, }) ``` - -## Return value - -If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) will be returned instead. - - ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v103/methods/messages.sendEncryptedService.md b/old_docs/API_docs_v103/methods/messages.sendEncryptedService.md index 86925ae3..38171272 100644 --- a/old_docs/API_docs_v103/methods/messages.sendEncryptedService.md +++ b/old_docs/API_docs_v103/methods/messages.sendEncryptedService.md @@ -14,10 +14,10 @@ Sends a service message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|message|[DecryptedMessage](../types/DecryptedMessage.md) | The service message | Yes| +|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| -### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ### Can bots use this method: **NO** @@ -34,21 +34,15 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedService(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); +$messages.SentEncryptedMessage = $MadelineProto->messages->sendEncryptedService(['peer' => InputEncryptedChat, 'data' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -messages_SentEncryptedMessage = messages.sendEncryptedService({peer=InputEncryptedChat, message=DecryptedMessage, }) +messages.SentEncryptedMessage = messages.sendEncryptedService({peer=InputEncryptedChat, data='bytes', }) ``` - -## Return value - -If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) will be returned instead. - - ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v103/methods/payments.getPaymentForm.md b/old_docs/API_docs_v103/methods/payments.getPaymentForm.md index 3a171a05..da173f14 100644 --- a/old_docs/API_docs_v103/methods/payments.getPaymentForm.md +++ b/old_docs/API_docs_v103/methods/payments.getPaymentForm.md @@ -16,7 +16,7 @@ Get a payment form |msg\_id|[int](../types/int.md) | Message ID of payment form | Yes| -### Return type: [payments\_PaymentForm](../types/payments_PaymentForm.md) +### Return type: [payments.PaymentForm](../types/payments.PaymentForm.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$payments_PaymentForm = $MadelineProto->payments->getPaymentForm(['msg_id' => int, ]); +$payments.PaymentForm = $MadelineProto->payments->getPaymentForm(['msg_id' => int, ]); ``` Or, if you're into Lua: ```lua -payments_PaymentForm = payments.getPaymentForm({msg_id=int, }) +payments.PaymentForm = payments.getPaymentForm({msg_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v103/methods/payments.getPaymentReceipt.md b/old_docs/API_docs_v103/methods/payments.getPaymentReceipt.md index 46d2267c..16e41367 100644 --- a/old_docs/API_docs_v103/methods/payments.getPaymentReceipt.md +++ b/old_docs/API_docs_v103/methods/payments.getPaymentReceipt.md @@ -16,7 +16,7 @@ Get payment receipt |msg\_id|[int](../types/int.md) | Message ID of receipt | Yes| -### Return type: [payments\_PaymentReceipt](../types/payments_PaymentReceipt.md) +### Return type: [payments.PaymentReceipt](../types/payments.PaymentReceipt.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$payments_PaymentReceipt = $MadelineProto->payments->getPaymentReceipt(['msg_id' => int, ]); +$payments.PaymentReceipt = $MadelineProto->payments->getPaymentReceipt(['msg_id' => int, ]); ``` Or, if you're into Lua: ```lua -payments_PaymentReceipt = payments.getPaymentReceipt({msg_id=int, }) +payments.PaymentReceipt = payments.getPaymentReceipt({msg_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v103/methods/payments.getSavedInfo.md b/old_docs/API_docs_v103/methods/payments.getSavedInfo.md index dc9c9b98..fe2c16ec 100644 --- a/old_docs/API_docs_v103/methods/payments.getSavedInfo.md +++ b/old_docs/API_docs_v103/methods/payments.getSavedInfo.md @@ -11,7 +11,7 @@ Get saved payment information -### Return type: [payments\_SavedInfo](../types/payments_SavedInfo.md) +### Return type: [payments.SavedInfo](../types/payments.SavedInfo.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$payments_SavedInfo = $MadelineProto->payments->getSavedInfo(); +$payments.SavedInfo = $MadelineProto->payments->getSavedInfo(); ``` Or, if you're into Lua: ```lua -payments_SavedInfo = payments.getSavedInfo({}) +payments.SavedInfo = payments.getSavedInfo({}) ``` diff --git a/old_docs/API_docs_v103/methods/payments.sendPaymentForm.md b/old_docs/API_docs_v103/methods/payments.sendPaymentForm.md index 8c478b92..de154e7f 100644 --- a/old_docs/API_docs_v103/methods/payments.sendPaymentForm.md +++ b/old_docs/API_docs_v103/methods/payments.sendPaymentForm.md @@ -19,7 +19,7 @@ Send compiled payment form |credentials|[InputPaymentCredentials](../types/InputPaymentCredentials.md) | Payment credentials | Yes| -### Return type: [payments\_PaymentResult](../types/payments_PaymentResult.md) +### Return type: [payments.PaymentResult](../types/payments.PaymentResult.md) ### Can bots use this method: **NO** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$payments_PaymentResult = $MadelineProto->payments->sendPaymentForm(['msg_id' => int, 'requested_info_id' => 'string', 'shipping_option_id' => 'string', 'credentials' => InputPaymentCredentials, ]); +$payments.PaymentResult = $MadelineProto->payments->sendPaymentForm(['msg_id' => int, 'requested_info_id' => 'string', 'shipping_option_id' => 'string', 'credentials' => InputPaymentCredentials, ]); ``` Or, if you're into Lua: ```lua -payments_PaymentResult = payments.sendPaymentForm({msg_id=int, requested_info_id='string', shipping_option_id='string', credentials=InputPaymentCredentials, }) +payments.PaymentResult = payments.sendPaymentForm({msg_id=int, requested_info_id='string', shipping_option_id='string', credentials=InputPaymentCredentials, }) ``` ### Errors diff --git a/old_docs/API_docs_v103/methods/payments.validateRequestedInfo.md b/old_docs/API_docs_v103/methods/payments.validateRequestedInfo.md index d6364a02..ce22cfe8 100644 --- a/old_docs/API_docs_v103/methods/payments.validateRequestedInfo.md +++ b/old_docs/API_docs_v103/methods/payments.validateRequestedInfo.md @@ -18,7 +18,7 @@ Submit requested order information for validation |info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Requested order information | Yes| -### Return type: [payments\_ValidatedRequestedInfo](../types/payments_ValidatedRequestedInfo.md) +### Return type: [payments.ValidatedRequestedInfo](../types/payments.ValidatedRequestedInfo.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$payments_ValidatedRequestedInfo = $MadelineProto->payments->validateRequestedInfo(['save' => Bool, 'msg_id' => int, 'info' => PaymentRequestedInfo, ]); +$payments.ValidatedRequestedInfo = $MadelineProto->payments->validateRequestedInfo(['save' => Bool, 'msg_id' => int, 'info' => PaymentRequestedInfo, ]); ``` Or, if you're into Lua: ```lua -payments_ValidatedRequestedInfo = payments.validateRequestedInfo({save=Bool, msg_id=int, info=PaymentRequestedInfo, }) +payments.ValidatedRequestedInfo = payments.validateRequestedInfo({save=Bool, msg_id=int, info=PaymentRequestedInfo, }) ``` ### Errors diff --git a/old_docs/API_docs_v103/methods/phone.acceptCall.md b/old_docs/API_docs_v103/methods/phone.acceptCall.md index f5c58f01..6b9185aa 100644 --- a/old_docs/API_docs_v103/methods/phone.acceptCall.md +++ b/old_docs/API_docs_v103/methods/phone.acceptCall.md @@ -18,7 +18,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz#calls fo |protocol|[PhoneCallProtocol](../types/PhoneCallProtocol.md) | You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls | Yes| -### Return type: [phone\_PhoneCall](../types/phone_PhoneCall.md) +### Return type: [phone.PhoneCall](../types/phone.PhoneCall.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$phone_PhoneCall = $MadelineProto->phone->acceptCall(['peer' => InputPhoneCall, 'g_b' => 'bytes', 'protocol' => PhoneCallProtocol, ]); +$phone.PhoneCall = $MadelineProto->phone->acceptCall(['peer' => InputPhoneCall, 'g_b' => 'bytes', 'protocol' => PhoneCallProtocol, ]); ``` Or, if you're into Lua: ```lua -phone_PhoneCall = phone.acceptCall({peer=InputPhoneCall, g_b='bytes', protocol=PhoneCallProtocol, }) +phone.PhoneCall = phone.acceptCall({peer=InputPhoneCall, g_b='bytes', protocol=PhoneCallProtocol, }) ``` ### Errors diff --git a/old_docs/API_docs_v103/methods/phone.confirmCall.md b/old_docs/API_docs_v103/methods/phone.confirmCall.md index 468307cc..a52d1f9c 100644 --- a/old_docs/API_docs_v103/methods/phone.confirmCall.md +++ b/old_docs/API_docs_v103/methods/phone.confirmCall.md @@ -19,7 +19,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz#calls fo |protocol|[PhoneCallProtocol](../types/PhoneCallProtocol.md) | You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls | Yes| -### Return type: [phone\_PhoneCall](../types/phone_PhoneCall.md) +### Return type: [phone.PhoneCall](../types/phone.PhoneCall.md) ### Can bots use this method: **NO** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$phone_PhoneCall = $MadelineProto->phone->confirmCall(['peer' => InputPhoneCall, 'g_a' => 'bytes', 'key_fingerprint' => long, 'protocol' => PhoneCallProtocol, ]); +$phone.PhoneCall = $MadelineProto->phone->confirmCall(['peer' => InputPhoneCall, 'g_a' => 'bytes', 'key_fingerprint' => long, 'protocol' => PhoneCallProtocol, ]); ``` Or, if you're into Lua: ```lua -phone_PhoneCall = phone.confirmCall({peer=InputPhoneCall, g_a='bytes', key_fingerprint=long, protocol=PhoneCallProtocol, }) +phone.PhoneCall = phone.confirmCall({peer=InputPhoneCall, g_a='bytes', key_fingerprint=long, protocol=PhoneCallProtocol, }) ``` ### Errors diff --git a/old_docs/API_docs_v103/methods/phone.requestCall.md b/old_docs/API_docs_v103/methods/phone.requestCall.md index e3894214..608f562f 100644 --- a/old_docs/API_docs_v103/methods/phone.requestCall.md +++ b/old_docs/API_docs_v103/methods/phone.requestCall.md @@ -19,7 +19,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz#calls fo |protocol|[PhoneCallProtocol](../types/PhoneCallProtocol.md) | You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls | Yes| -### Return type: [phone\_PhoneCall](../types/phone_PhoneCall.md) +### Return type: [phone.PhoneCall](../types/phone.PhoneCall.md) ### Can bots use this method: **NO** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$phone_PhoneCall = $MadelineProto->phone->requestCall(['video' => Bool, 'user_id' => InputUser, 'g_a_hash' => 'bytes', 'protocol' => PhoneCallProtocol, ]); +$phone.PhoneCall = $MadelineProto->phone->requestCall(['video' => Bool, 'user_id' => InputUser, 'g_a_hash' => 'bytes', 'protocol' => PhoneCallProtocol, ]); ``` Or, if you're into Lua: ```lua -phone_PhoneCall = phone.requestCall({video=Bool, user_id=InputUser, g_a_hash='bytes', protocol=PhoneCallProtocol, }) +phone.PhoneCall = phone.requestCall({video=Bool, user_id=InputUser, g_a_hash='bytes', protocol=PhoneCallProtocol, }) ``` ### Errors diff --git a/old_docs/API_docs_v103/methods/photos.getUserPhotos.md b/old_docs/API_docs_v103/methods/photos.getUserPhotos.md index a1dec2ed..1f8d5c64 100644 --- a/old_docs/API_docs_v103/methods/photos.getUserPhotos.md +++ b/old_docs/API_docs_v103/methods/photos.getUserPhotos.md @@ -19,7 +19,7 @@ Returns the list of user photos. |limit|[int](../types/int.md) | Number of list elements to be returned | Yes| -### Return type: [photos\_Photos](../types/photos_Photos.md) +### Return type: [photos.Photos](../types/photos.Photos.md) ### Can bots use this method: **YES** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$photos_Photos = $MadelineProto->photos->getUserPhotos(['user_id' => InputUser, 'offset' => int, 'max_id' => long, 'limit' => int, ]); +$photos.Photos = $MadelineProto->photos->getUserPhotos(['user_id' => InputUser, 'offset' => int, 'max_id' => long, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -photos_Photos = photos.getUserPhotos({user_id=InputUser, offset=int, max_id=long, limit=int, }) +photos.Photos = photos.getUserPhotos({user_id=InputUser, offset=int, max_id=long, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v103/methods/photos.uploadProfilePhoto.md b/old_docs/API_docs_v103/methods/photos.uploadProfilePhoto.md index b6a01ee7..4de76a24 100644 --- a/old_docs/API_docs_v103/methods/photos.uploadProfilePhoto.md +++ b/old_docs/API_docs_v103/methods/photos.uploadProfilePhoto.md @@ -16,7 +16,7 @@ Updates current user profile photo. |file|[File path or InputFile](../types/InputFile.md) | File saved in parts by means of [upload.saveFilePart](../methods/upload.saveFilePart.md) method | Yes| -### Return type: [photos\_Photo](../types/photos_Photo.md) +### Return type: [photos.Photo](../types/photos.Photo.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$photos_Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, ]); +$photos.Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, ]); ``` Or, if you're into Lua: ```lua -photos_Photo = photos.uploadProfilePhoto({file=InputFile, }) +photos.Photo = photos.uploadProfilePhoto({file=InputFile, }) ``` ### Errors diff --git a/old_docs/API_docs_v103/methods/stickers.addStickerToSet.md b/old_docs/API_docs_v103/methods/stickers.addStickerToSet.md index 727d3f27..e8392355 100644 --- a/old_docs/API_docs_v103/methods/stickers.addStickerToSet.md +++ b/old_docs/API_docs_v103/methods/stickers.addStickerToSet.md @@ -17,7 +17,7 @@ Add a sticker to a stickerset, bots only. The sticker set must have been created |sticker|[InputStickerSetItem](../types/InputStickerSetItem.md) | The sticker | Yes| -### Return type: [messages\_StickerSet](../types/messages_StickerSet.md) +### Return type: [messages.StickerSet](../types/messages.StickerSet.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StickerSet = $MadelineProto->stickers->addStickerToSet(['stickerset' => InputStickerSet, 'sticker' => InputStickerSetItem, ]); +$messages.StickerSet = $MadelineProto->stickers->addStickerToSet(['stickerset' => InputStickerSet, 'sticker' => InputStickerSetItem, ]); ``` Or, if you're into Lua: ```lua -messages_StickerSet = stickers.addStickerToSet({stickerset=InputStickerSet, sticker=InputStickerSetItem, }) +messages.StickerSet = stickers.addStickerToSet({stickerset=InputStickerSet, sticker=InputStickerSetItem, }) ``` ### Errors diff --git a/old_docs/API_docs_v103/methods/stickers.changeStickerPosition.md b/old_docs/API_docs_v103/methods/stickers.changeStickerPosition.md index ed390f21..e1d8ab5e 100644 --- a/old_docs/API_docs_v103/methods/stickers.changeStickerPosition.md +++ b/old_docs/API_docs_v103/methods/stickers.changeStickerPosition.md @@ -17,7 +17,7 @@ Changes the absolute position of a sticker in the set to which it belongs; for b |position|[int](../types/int.md) | The new position of the sticker, zero-based | Yes| -### Return type: [messages\_StickerSet](../types/messages_StickerSet.md) +### Return type: [messages.StickerSet](../types/messages.StickerSet.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StickerSet = $MadelineProto->stickers->changeStickerPosition(['sticker' => InputDocument, 'position' => int, ]); +$messages.StickerSet = $MadelineProto->stickers->changeStickerPosition(['sticker' => InputDocument, 'position' => int, ]); ``` Or, if you're into Lua: ```lua -messages_StickerSet = stickers.changeStickerPosition({sticker=InputDocument, position=int, }) +messages.StickerSet = stickers.changeStickerPosition({sticker=InputDocument, position=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v103/methods/stickers.createStickerSet.md b/old_docs/API_docs_v103/methods/stickers.createStickerSet.md index 5a6ef396..7eeeb48f 100644 --- a/old_docs/API_docs_v103/methods/stickers.createStickerSet.md +++ b/old_docs/API_docs_v103/methods/stickers.createStickerSet.md @@ -20,7 +20,7 @@ Create a stickerset, bots only. |stickers|Array of [InputStickerSetItem](../types/InputStickerSetItem.md) | The stickers to add | Yes| -### Return type: [messages\_StickerSet](../types/messages_StickerSet.md) +### Return type: [messages.StickerSet](../types/messages.StickerSet.md) ### Can bots use this method: **YES** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StickerSet = $MadelineProto->stickers->createStickerSet(['masks' => Bool, 'user_id' => InputUser, 'title' => 'string', 'short_name' => 'string', 'stickers' => [InputStickerSetItem, InputStickerSetItem], ]); +$messages.StickerSet = $MadelineProto->stickers->createStickerSet(['masks' => Bool, 'user_id' => InputUser, 'title' => 'string', 'short_name' => 'string', 'stickers' => [InputStickerSetItem, InputStickerSetItem], ]); ``` Or, if you're into Lua: ```lua -messages_StickerSet = stickers.createStickerSet({masks=Bool, user_id=InputUser, title='string', short_name='string', stickers={InputStickerSetItem}, }) +messages.StickerSet = stickers.createStickerSet({masks=Bool, user_id=InputUser, title='string', short_name='string', stickers={InputStickerSetItem}, }) ``` ### Errors diff --git a/old_docs/API_docs_v103/methods/stickers.removeStickerFromSet.md b/old_docs/API_docs_v103/methods/stickers.removeStickerFromSet.md index 33f677b3..aa4927ca 100644 --- a/old_docs/API_docs_v103/methods/stickers.removeStickerFromSet.md +++ b/old_docs/API_docs_v103/methods/stickers.removeStickerFromSet.md @@ -16,7 +16,7 @@ Remove a sticker from the set where it belongs, bots only. The sticker set must |sticker|[MessageMedia, Update, Message or InputDocument](../types/InputDocument.md) | The sticker to remove | Optional| -### Return type: [messages\_StickerSet](../types/messages_StickerSet.md) +### Return type: [messages.StickerSet](../types/messages.StickerSet.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StickerSet = $MadelineProto->stickers->removeStickerFromSet(['sticker' => InputDocument, ]); +$messages.StickerSet = $MadelineProto->stickers->removeStickerFromSet(['sticker' => InputDocument, ]); ``` Or, if you're into Lua: ```lua -messages_StickerSet = stickers.removeStickerFromSet({sticker=InputDocument, }) +messages.StickerSet = stickers.removeStickerFromSet({sticker=InputDocument, }) ``` ### Errors diff --git a/old_docs/API_docs_v103/methods/updates.getChannelDifference.md b/old_docs/API_docs_v103/methods/updates.getChannelDifference.md index 5675cd33..08df3395 100644 --- a/old_docs/API_docs_v103/methods/updates.getChannelDifference.md +++ b/old_docs/API_docs_v103/methods/updates.getChannelDifference.md @@ -20,7 +20,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz for more |limit|[int](../types/int.md) | You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates | Yes| -### Return type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) +### Return type: [updates.ChannelDifference](../types/updates.ChannelDifference.md) ### Can bots use this method: **YES** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$updates_ChannelDifference = $MadelineProto->updates->getChannelDifference(['force' => Bool, 'channel' => InputChannel, 'filter' => ChannelMessagesFilter, 'pts' => int, 'limit' => int, ]); +$updates.ChannelDifference = $MadelineProto->updates->getChannelDifference(['force' => Bool, 'channel' => InputChannel, 'filter' => ChannelMessagesFilter, 'pts' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -updates_ChannelDifference = updates.getChannelDifference({force=Bool, channel=InputChannel, filter=ChannelMessagesFilter, pts=int, limit=int, }) +updates.ChannelDifference = updates.getChannelDifference({force=Bool, channel=InputChannel, filter=ChannelMessagesFilter, pts=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v103/methods/updates.getDifference.md b/old_docs/API_docs_v103/methods/updates.getDifference.md index bcfac4e2..b3796a10 100644 --- a/old_docs/API_docs_v103/methods/updates.getDifference.md +++ b/old_docs/API_docs_v103/methods/updates.getDifference.md @@ -19,7 +19,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz for more |qts|[int](../types/int.md) | You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates | Yes| -### Return type: [updates\_Difference](../types/updates_Difference.md) +### Return type: [updates.Difference](../types/updates.Difference.md) ### Can bots use this method: **YES** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$updates_Difference = $MadelineProto->updates->getDifference(['pts' => int, 'pts_total_limit' => int, 'date' => int, 'qts' => int, ]); +$updates.Difference = $MadelineProto->updates->getDifference(['pts' => int, 'pts_total_limit' => int, 'date' => int, 'qts' => int, ]); ``` Or, if you're into Lua: ```lua -updates_Difference = updates.getDifference({pts=int, pts_total_limit=int, date=int, qts=int, }) +updates.Difference = updates.getDifference({pts=int, pts_total_limit=int, date=int, qts=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v103/methods/updates.getState.md b/old_docs/API_docs_v103/methods/updates.getState.md index c591408a..9a7d2f34 100644 --- a/old_docs/API_docs_v103/methods/updates.getState.md +++ b/old_docs/API_docs_v103/methods/updates.getState.md @@ -11,7 +11,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz for more -### Return type: [updates\_State](../types/updates_State.md) +### Return type: [updates.State](../types/updates.State.md) ### Can bots use this method: **YES** @@ -28,13 +28,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$updates_State = $MadelineProto->updates->getState(); +$updates.State = $MadelineProto->updates->getState(); ``` Or, if you're into Lua: ```lua -updates_State = updates.getState({}) +updates.State = updates.getState({}) ``` ### Errors diff --git a/old_docs/API_docs_v103/methods/upload.getCdnFile.md b/old_docs/API_docs_v103/methods/upload.getCdnFile.md index a3c928b2..67b2e84e 100644 --- a/old_docs/API_docs_v103/methods/upload.getCdnFile.md +++ b/old_docs/API_docs_v103/methods/upload.getCdnFile.md @@ -18,7 +18,7 @@ You cannot use this method directly, use the upload, downloadToStream, downloadT |limit|[int](../types/int.md) | You cannot use this method directly, use the upload, downloadToStream, downloadToFile, downloadToDir methods instead; see https://docs.madelineproto.xyz for more info | Yes| -### Return type: [upload\_CdnFile](../types/upload_CdnFile.md) +### Return type: [upload.CdnFile](../types/upload.CdnFile.md) ### Can bots use this method: **NO** @@ -35,12 +35,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$upload_CdnFile = $MadelineProto->upload->getCdnFile(['file_token' => 'bytes', 'offset' => int, 'limit' => int, ]); +$upload.CdnFile = $MadelineProto->upload->getCdnFile(['file_token' => 'bytes', 'offset' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -upload_CdnFile = upload.getCdnFile({file_token='bytes', offset=int, limit=int, }) +upload.CdnFile = upload.getCdnFile({file_token='bytes', offset=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v103/methods/upload.getFile.md b/old_docs/API_docs_v103/methods/upload.getFile.md index 8aba03d4..ab9f4fe2 100644 --- a/old_docs/API_docs_v103/methods/upload.getFile.md +++ b/old_docs/API_docs_v103/methods/upload.getFile.md @@ -18,7 +18,7 @@ You cannot use this method directly, use the upload, downloadToStream, downloadT |limit|[int](../types/int.md) | You cannot use this method directly, use the upload, downloadToStream, downloadToFile, downloadToDir methods instead; see https://docs.madelineproto.xyz for more info | Yes| -### Return type: [upload\_File](../types/upload_File.md) +### Return type: [upload.File](../types/upload.File.md) ### Can bots use this method: **YES** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$upload_File = $MadelineProto->upload->getFile(['location' => InputFileLocation, 'offset' => int, 'limit' => int, ]); +$upload.File = $MadelineProto->upload->getFile(['location' => InputFileLocation, 'offset' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -upload_File = upload.getFile({location=InputFileLocation, offset=int, limit=int, }) +upload.File = upload.getFile({location=InputFileLocation, offset=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v103/methods/upload.getWebFile.md b/old_docs/API_docs_v103/methods/upload.getWebFile.md index 32f6b322..60f1b8c1 100644 --- a/old_docs/API_docs_v103/methods/upload.getWebFile.md +++ b/old_docs/API_docs_v103/methods/upload.getWebFile.md @@ -18,7 +18,7 @@ Returns content of an HTTP file or a part, by proxying the request through teleg |limit|[int](../types/int.md) | Number of bytes to be returned | Yes| -### Return type: [upload\_WebFile](../types/upload_WebFile.md) +### Return type: [upload.WebFile](../types/upload.WebFile.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$upload_WebFile = $MadelineProto->upload->getWebFile(['location' => InputWebFileLocation, 'offset' => int, 'limit' => int, ]); +$upload.WebFile = $MadelineProto->upload->getWebFile(['location' => InputWebFileLocation, 'offset' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -upload_WebFile = upload.getWebFile({location=InputWebFileLocation, offset=int, limit=int, }) +upload.WebFile = upload.getWebFile({location=InputWebFileLocation, offset=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v103/types/AccountDaysTTL.md b/old_docs/API_docs_v103/types/AccountDaysTTL.md index 12a10190..f3494aac 100644 --- a/old_docs/API_docs_v103/types/AccountDaysTTL.md +++ b/old_docs/API_docs_v103/types/AccountDaysTTL.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->account->getAccountTTL](../methods/account_getAccountTTL.md) +[$MadelineProto->account->getAccountTTL](../methods/account.getAccountTTL.md) diff --git a/old_docs/API_docs_v103/types/CdnConfig.md b/old_docs/API_docs_v103/types/CdnConfig.md index fbfe01c3..0b0fb5be 100644 --- a/old_docs/API_docs_v103/types/CdnConfig.md +++ b/old_docs/API_docs_v103/types/CdnConfig.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->help->getCdnConfig](../methods/help_getCdnConfig.md) +[$MadelineProto->help->getCdnConfig](../methods/help.getCdnConfig.md) diff --git a/old_docs/API_docs_v103/types/ChatInvite.md b/old_docs/API_docs_v103/types/ChatInvite.md index 5022a2f0..9fafabb4 100644 --- a/old_docs/API_docs_v103/types/ChatInvite.md +++ b/old_docs/API_docs_v103/types/ChatInvite.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->checkChatInvite](../methods/messages_checkChatInvite.md) +[$MadelineProto->messages->checkChatInvite](../methods/messages.checkChatInvite.md) diff --git a/old_docs/API_docs_v103/types/ChatOnlines.md b/old_docs/API_docs_v103/types/ChatOnlines.md index 5faf4a6e..e5646dd6 100644 --- a/old_docs/API_docs_v103/types/ChatOnlines.md +++ b/old_docs/API_docs_v103/types/ChatOnlines.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getOnlines](../methods/messages_getOnlines.md) +[$MadelineProto->messages->getOnlines](../methods/messages.getOnlines.md) diff --git a/old_docs/API_docs_v103/types/Config.md b/old_docs/API_docs_v103/types/Config.md index 0f7fbe70..3a23b7b7 100644 --- a/old_docs/API_docs_v103/types/Config.md +++ b/old_docs/API_docs_v103/types/Config.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->help->getConfig](../methods/help_getConfig.md) +[$MadelineProto->help->getConfig](../methods/help.getConfig.md) diff --git a/old_docs/API_docs_v103/types/ContactStatus.md b/old_docs/API_docs_v103/types/ContactStatus.md index c5f5d658..30aee6e2 100644 --- a/old_docs/API_docs_v103/types/ContactStatus.md +++ b/old_docs/API_docs_v103/types/ContactStatus.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->contacts->getStatuses](../methods/contacts_getStatuses.md) +[$MadelineProto->contacts->getStatuses](../methods/contacts.getStatuses.md) diff --git a/old_docs/API_docs_v103/types/DialogPeer.md b/old_docs/API_docs_v103/types/DialogPeer.md index 1f86eb1c..18b145b0 100644 --- a/old_docs/API_docs_v103/types/DialogPeer.md +++ b/old_docs/API_docs_v103/types/DialogPeer.md @@ -42,7 +42,7 @@ A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDia ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getDialogUnreadMarks](../methods/messages_getDialogUnreadMarks.md) +[$MadelineProto->messages->getDialogUnreadMarks](../methods/messages.getDialogUnreadMarks.md) diff --git a/old_docs/API_docs_v103/types/Document.md b/old_docs/API_docs_v103/types/Document.md index f68b7aa4..2cb85623 100644 --- a/old_docs/API_docs_v103/types/Document.md +++ b/old_docs/API_docs_v103/types/Document.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getDocumentByHash](../methods/messages_getDocumentByHash.md) +[$MadelineProto->messages->getDocumentByHash](../methods/messages.getDocumentByHash.md) diff --git a/old_docs/API_docs_v103/types/EmojiKeywordsDifference.md b/old_docs/API_docs_v103/types/EmojiKeywordsDifference.md index 8dc7d309..1282c000 100644 --- a/old_docs/API_docs_v103/types/EmojiKeywordsDifference.md +++ b/old_docs/API_docs_v103/types/EmojiKeywordsDifference.md @@ -16,9 +16,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getEmojiKeywords](../methods/messages_getEmojiKeywords.md) +[$MadelineProto->messages->getEmojiKeywords](../methods/messages.getEmojiKeywords.md) -[$MadelineProto->messages->getEmojiKeywordsDifference](../methods/messages_getEmojiKeywordsDifference.md) +[$MadelineProto->messages->getEmojiKeywordsDifference](../methods/messages.getEmojiKeywordsDifference.md) diff --git a/old_docs/API_docs_v103/types/EmojiLanguage.md b/old_docs/API_docs_v103/types/EmojiLanguage.md index 1d5f1214..5ff98ac3 100644 --- a/old_docs/API_docs_v103/types/EmojiLanguage.md +++ b/old_docs/API_docs_v103/types/EmojiLanguage.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getEmojiKeywordsLanguages](../methods/messages_getEmojiKeywordsLanguages.md) +[$MadelineProto->messages->getEmojiKeywordsLanguages](../methods/messages.getEmojiKeywordsLanguages.md) diff --git a/old_docs/API_docs_v103/types/EmojiURL.md b/old_docs/API_docs_v103/types/EmojiURL.md index f9c636d0..c2fc469d 100644 --- a/old_docs/API_docs_v103/types/EmojiURL.md +++ b/old_docs/API_docs_v103/types/EmojiURL.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getEmojiURL](../methods/messages_getEmojiURL.md) +[$MadelineProto->messages->getEmojiURL](../methods/messages.getEmojiURL.md) diff --git a/old_docs/API_docs_v103/types/EncryptedChat.md b/old_docs/API_docs_v103/types/EncryptedChat.md index fd2277f6..19cf52b0 100644 --- a/old_docs/API_docs_v103/types/EncryptedChat.md +++ b/old_docs/API_docs_v103/types/EncryptedChat.md @@ -24,9 +24,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->requestEncryption](../methods/messages_requestEncryption.md) +[$MadelineProto->messages->requestEncryption](../methods/messages.requestEncryption.md) -[$MadelineProto->messages->acceptEncryption](../methods/messages_acceptEncryption.md) +[$MadelineProto->messages->acceptEncryption](../methods/messages.acceptEncryption.md) diff --git a/old_docs/API_docs_v103/types/EncryptedFile.md b/old_docs/API_docs_v103/types/EncryptedFile.md index a26d40bb..8ecf8e9d 100644 --- a/old_docs/API_docs_v103/types/EncryptedFile.md +++ b/old_docs/API_docs_v103/types/EncryptedFile.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->uploadEncryptedFile](../methods/messages_uploadEncryptedFile.md) +[$MadelineProto->messages->uploadEncryptedFile](../methods/messages.uploadEncryptedFile.md) diff --git a/old_docs/API_docs_v103/types/ExportedChatInvite.md b/old_docs/API_docs_v103/types/ExportedChatInvite.md index 16a273d1..f5a43739 100644 --- a/old_docs/API_docs_v103/types/ExportedChatInvite.md +++ b/old_docs/API_docs_v103/types/ExportedChatInvite.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->exportChatInvite](../methods/messages_exportChatInvite.md) +[$MadelineProto->messages->exportChatInvite](../methods/messages.exportChatInvite.md) diff --git a/old_docs/API_docs_v103/types/ExportedMessageLink.md b/old_docs/API_docs_v103/types/ExportedMessageLink.md index eb2400f6..948e9c90 100644 --- a/old_docs/API_docs_v103/types/ExportedMessageLink.md +++ b/old_docs/API_docs_v103/types/ExportedMessageLink.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->channels->exportMessageLink](../methods/channels_exportMessageLink.md) +[$MadelineProto->channels->exportMessageLink](../methods/channels.exportMessageLink.md) diff --git a/old_docs/API_docs_v103/types/FileHash.md b/old_docs/API_docs_v103/types/FileHash.md index 3201d7e0..a908fb9b 100644 --- a/old_docs/API_docs_v103/types/FileHash.md +++ b/old_docs/API_docs_v103/types/FileHash.md @@ -16,11 +16,11 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->upload->reuploadCdnFile](../methods/upload_reuploadCdnFile.md) +[$MadelineProto->upload->reuploadCdnFile](../methods/upload.reuploadCdnFile.md) -[$MadelineProto->upload->getCdnFileHashes](../methods/upload_getCdnFileHashes.md) +[$MadelineProto->upload->getCdnFileHashes](../methods/upload.getCdnFileHashes.md) -[$MadelineProto->upload->getFileHashes](../methods/upload_getFileHashes.md) +[$MadelineProto->upload->getFileHashes](../methods/upload.getFileHashes.md) diff --git a/old_docs/API_docs_v103/types/JSONValue.md b/old_docs/API_docs_v103/types/JSONValue.md index eed45486..83527ab0 100644 --- a/old_docs/API_docs_v103/types/JSONValue.md +++ b/old_docs/API_docs_v103/types/JSONValue.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->help->getAppConfig](../methods/help_getAppConfig.md) +[$MadelineProto->help->getAppConfig](../methods/help.getAppConfig.md) diff --git a/old_docs/API_docs_v103/types/LangPackDifference.md b/old_docs/API_docs_v103/types/LangPackDifference.md index fd9f41f2..e04125b8 100644 --- a/old_docs/API_docs_v103/types/LangPackDifference.md +++ b/old_docs/API_docs_v103/types/LangPackDifference.md @@ -16,9 +16,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->langpack->getLangPack](../methods/langpack_getLangPack.md) +[$MadelineProto->langpack->getLangPack](../methods/langpack.getLangPack.md) -[$MadelineProto->langpack->getDifference](../methods/langpack_getDifference.md) +[$MadelineProto->langpack->getDifference](../methods/langpack.getDifference.md) diff --git a/old_docs/API_docs_v103/types/LangPackLanguage.md b/old_docs/API_docs_v103/types/LangPackLanguage.md index f6559af9..74c7172d 100644 --- a/old_docs/API_docs_v103/types/LangPackLanguage.md +++ b/old_docs/API_docs_v103/types/LangPackLanguage.md @@ -16,9 +16,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->langpack->getLanguages](../methods/langpack_getLanguages.md) +[$MadelineProto->langpack->getLanguages](../methods/langpack.getLanguages.md) -[$MadelineProto->langpack->getLanguage](../methods/langpack_getLanguage.md) +[$MadelineProto->langpack->getLanguage](../methods/langpack.getLanguage.md) diff --git a/old_docs/API_docs_v103/types/LangPackString.md b/old_docs/API_docs_v103/types/LangPackString.md index f1a43dd9..15f9dc3d 100644 --- a/old_docs/API_docs_v103/types/LangPackString.md +++ b/old_docs/API_docs_v103/types/LangPackString.md @@ -20,7 +20,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->langpack->getStrings](../methods/langpack_getStrings.md) +[$MadelineProto->langpack->getStrings](../methods/langpack.getStrings.md) diff --git a/old_docs/API_docs_v103/types/MessageMedia.md b/old_docs/API_docs_v103/types/MessageMedia.md index 51aa795e..36602552 100644 --- a/old_docs/API_docs_v103/types/MessageMedia.md +++ b/old_docs/API_docs_v103/types/MessageMedia.md @@ -38,9 +38,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getWebPagePreview](../methods/messages_getWebPagePreview.md) +[$MadelineProto->messages->getWebPagePreview](../methods/messages.getWebPagePreview.md) -[$MadelineProto->messages->uploadMedia](../methods/messages_uploadMedia.md) +[$MadelineProto->messages->uploadMedia](../methods/messages.uploadMedia.md) diff --git a/old_docs/API_docs_v103/types/MessageRange.md b/old_docs/API_docs_v103/types/MessageRange.md index c93011aa..ffd65e90 100644 --- a/old_docs/API_docs_v103/types/MessageRange.md +++ b/old_docs/API_docs_v103/types/MessageRange.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getSplitRanges](../methods/messages_getSplitRanges.md) +[$MadelineProto->messages->getSplitRanges](../methods/messages.getSplitRanges.md) diff --git a/old_docs/API_docs_v103/types/NearestDc.md b/old_docs/API_docs_v103/types/NearestDc.md index 31f24377..296a4dff 100644 --- a/old_docs/API_docs_v103/types/NearestDc.md +++ b/old_docs/API_docs_v103/types/NearestDc.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->help->getNearestDc](../methods/help_getNearestDc.md) +[$MadelineProto->help->getNearestDc](../methods/help.getNearestDc.md) diff --git a/old_docs/API_docs_v103/types/PeerNotifySettings.md b/old_docs/API_docs_v103/types/PeerNotifySettings.md index ecb483c5..d3b4833c 100644 --- a/old_docs/API_docs_v103/types/PeerNotifySettings.md +++ b/old_docs/API_docs_v103/types/PeerNotifySettings.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->account->getNotifySettings](../methods/account_getNotifySettings.md) +[$MadelineProto->account->getNotifySettings](../methods/account.getNotifySettings.md) diff --git a/old_docs/API_docs_v103/types/PeerSettings.md b/old_docs/API_docs_v103/types/PeerSettings.md index 60ac3765..31ef7e38 100644 --- a/old_docs/API_docs_v103/types/PeerSettings.md +++ b/old_docs/API_docs_v103/types/PeerSettings.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getPeerSettings](../methods/messages_getPeerSettings.md) +[$MadelineProto->messages->getPeerSettings](../methods/messages.getPeerSettings.md) diff --git a/old_docs/API_docs_v103/types/README.md b/old_docs/API_docs_v103/types/README.md index 64a341a6..f77b0395 100644 --- a/old_docs/API_docs_v103/types/README.md +++ b/old_docs/API_docs_v103/types/README.md @@ -383,167 +383,167 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png [X](X.md) -[account\_AuthorizationForm](account_AuthorizationForm.md) +[account.AuthorizationForm](account.AuthorizationForm.md) -[account\_Authorizations](account_Authorizations.md) +[account.Authorizations](account.Authorizations.md) -[account\_AutoDownloadSettings](account_AutoDownloadSettings.md) +[account.AutoDownloadSettings](account.AutoDownloadSettings.md) -[account\_Password](account_Password.md) +[account.Password](account.Password.md) -[account\_PasswordInputSettings](account_PasswordInputSettings.md) +[account.PasswordInputSettings](account.PasswordInputSettings.md) -[account\_PasswordSettings](account_PasswordSettings.md) +[account.PasswordSettings](account.PasswordSettings.md) -[account\_PrivacyRules](account_PrivacyRules.md) +[account.PrivacyRules](account.PrivacyRules.md) -[account\_SentEmailCode](account_SentEmailCode.md) +[account.SentEmailCode](account.SentEmailCode.md) -[account\_Takeout](account_Takeout.md) +[account.Takeout](account.Takeout.md) -[account\_TmpPassword](account_TmpPassword.md) +[account.TmpPassword](account.TmpPassword.md) -[account\_WallPapers](account_WallPapers.md) +[account.WallPapers](account.WallPapers.md) -[account\_WebAuthorizations](account_WebAuthorizations.md) +[account.WebAuthorizations](account.WebAuthorizations.md) -[auth\_Authorization](auth_Authorization.md) +[auth.Authorization](auth.Authorization.md) -[auth\_CheckedPhone](auth_CheckedPhone.md) +[auth.CheckedPhone](auth.CheckedPhone.md) -[auth\_CodeType](auth_CodeType.md) +[auth.CodeType](auth.CodeType.md) -[auth\_ExportedAuthorization](auth_ExportedAuthorization.md) +[auth.ExportedAuthorization](auth.ExportedAuthorization.md) -[auth\_PasswordRecovery](auth_PasswordRecovery.md) +[auth.PasswordRecovery](auth.PasswordRecovery.md) -[auth\_SentCode](auth_SentCode.md) +[auth.SentCode](auth.SentCode.md) -[auth\_SentCodeType](auth_SentCodeType.md) +[auth.SentCodeType](auth.SentCodeType.md) -[channels\_AdminLogResults](channels_AdminLogResults.md) +[channels.AdminLogResults](channels.AdminLogResults.md) -[channels\_ChannelParticipant](channels_ChannelParticipant.md) +[channels.ChannelParticipant](channels.ChannelParticipant.md) -[channels\_ChannelParticipants](channels_ChannelParticipants.md) +[channels.ChannelParticipants](channels.ChannelParticipants.md) -[contacts\_Blocked](contacts_Blocked.md) +[contacts.Blocked](contacts.Blocked.md) -[contacts\_Contacts](contacts_Contacts.md) +[contacts.Contacts](contacts.Contacts.md) -[contacts\_Found](contacts_Found.md) +[contacts.Found](contacts.Found.md) -[contacts\_ImportedContacts](contacts_ImportedContacts.md) +[contacts.ImportedContacts](contacts.ImportedContacts.md) -[contacts\_ResolvedPeer](contacts_ResolvedPeer.md) +[contacts.ResolvedPeer](contacts.ResolvedPeer.md) -[contacts\_TopPeers](contacts_TopPeers.md) +[contacts.TopPeers](contacts.TopPeers.md) -[help\_AppUpdate](help_AppUpdate.md) +[help.AppUpdate](help.AppUpdate.md) -[help\_ConfigSimple](help_ConfigSimple.md) +[help.ConfigSimple](help.ConfigSimple.md) -[help\_DeepLinkInfo](help_DeepLinkInfo.md) +[help.DeepLinkInfo](help.DeepLinkInfo.md) -[help\_InviteText](help_InviteText.md) +[help.InviteText](help.InviteText.md) -[help\_PassportConfig](help_PassportConfig.md) +[help.PassportConfig](help.PassportConfig.md) -[help\_ProxyData](help_ProxyData.md) +[help.ProxyData](help.ProxyData.md) -[help\_RecentMeUrls](help_RecentMeUrls.md) +[help.RecentMeUrls](help.RecentMeUrls.md) -[help\_Support](help_Support.md) +[help.Support](help.Support.md) -[help\_SupportName](help_SupportName.md) +[help.SupportName](help.SupportName.md) -[help\_TermsOfService](help_TermsOfService.md) +[help.TermsOfService](help.TermsOfService.md) -[help\_TermsOfServiceUpdate](help_TermsOfServiceUpdate.md) +[help.TermsOfServiceUpdate](help.TermsOfServiceUpdate.md) -[help\_UserInfo](help_UserInfo.md) +[help.UserInfo](help.UserInfo.md) [int](int.md) [long](long.md) -[messages\_AffectedHistory](messages_AffectedHistory.md) +[messages.AffectedHistory](messages.AffectedHistory.md) -[messages\_AffectedMessages](messages_AffectedMessages.md) +[messages.AffectedMessages](messages.AffectedMessages.md) -[messages\_AllStickers](messages_AllStickers.md) +[messages.AllStickers](messages.AllStickers.md) -[messages\_ArchivedStickers](messages_ArchivedStickers.md) +[messages.ArchivedStickers](messages.ArchivedStickers.md) -[messages\_BotCallbackAnswer](messages_BotCallbackAnswer.md) +[messages.BotCallbackAnswer](messages.BotCallbackAnswer.md) -[messages\_BotResults](messages_BotResults.md) +[messages.BotResults](messages.BotResults.md) -[messages\_ChatFull](messages_ChatFull.md) +[messages.ChatFull](messages.ChatFull.md) -[messages\_Chats](messages_Chats.md) +[messages.Chats](messages.Chats.md) -[messages\_DhConfig](messages_DhConfig.md) +[messages.DhConfig](messages.DhConfig.md) -[messages\_Dialogs](messages_Dialogs.md) +[messages.Dialogs](messages.Dialogs.md) -[messages\_FavedStickers](messages_FavedStickers.md) +[messages.FavedStickers](messages.FavedStickers.md) -[messages\_FeaturedStickers](messages_FeaturedStickers.md) +[messages.FeaturedStickers](messages.FeaturedStickers.md) -[messages\_FoundGifs](messages_FoundGifs.md) +[messages.FoundGifs](messages.FoundGifs.md) -[messages\_FoundStickerSets](messages_FoundStickerSets.md) +[messages.FoundStickerSets](messages.FoundStickerSets.md) -[messages\_HighScores](messages_HighScores.md) +[messages.HighScores](messages.HighScores.md) -[messages\_MessageEditData](messages_MessageEditData.md) +[messages.MessageEditData](messages.MessageEditData.md) -[messages\_Messages](messages_Messages.md) +[messages.Messages](messages.Messages.md) -[messages\_PeerDialogs](messages_PeerDialogs.md) +[messages.PeerDialogs](messages.PeerDialogs.md) -[messages\_RecentStickers](messages_RecentStickers.md) +[messages.RecentStickers](messages.RecentStickers.md) -[messages\_SavedGifs](messages_SavedGifs.md) +[messages.SavedGifs](messages.SavedGifs.md) -[messages\_SearchCounter](messages_SearchCounter.md) +[messages.SearchCounter](messages.SearchCounter.md) -[messages\_SentEncryptedMessage](messages_SentEncryptedMessage.md) +[messages.SentEncryptedMessage](messages.SentEncryptedMessage.md) -[messages\_StickerSet](messages_StickerSet.md) +[messages.StickerSet](messages.StickerSet.md) -[messages\_StickerSetInstallResult](messages_StickerSetInstallResult.md) +[messages.StickerSetInstallResult](messages.StickerSetInstallResult.md) -[messages\_Stickers](messages_Stickers.md) +[messages.Stickers](messages.Stickers.md) -[payments\_PaymentForm](payments_PaymentForm.md) +[payments.PaymentForm](payments.PaymentForm.md) -[payments\_PaymentReceipt](payments_PaymentReceipt.md) +[payments.PaymentReceipt](payments.PaymentReceipt.md) -[payments\_PaymentResult](payments_PaymentResult.md) +[payments.PaymentResult](payments.PaymentResult.md) -[payments\_SavedInfo](payments_SavedInfo.md) +[payments.SavedInfo](payments.SavedInfo.md) -[payments\_ValidatedRequestedInfo](payments_ValidatedRequestedInfo.md) +[payments.ValidatedRequestedInfo](payments.ValidatedRequestedInfo.md) -[phone\_PhoneCall](phone_PhoneCall.md) +[phone.PhoneCall](phone.PhoneCall.md) -[photos\_Photo](photos_Photo.md) +[photos.Photo](photos.Photo.md) -[photos\_Photos](photos_Photos.md) +[photos.Photos](photos.Photos.md) -[storage\_FileType](storage_FileType.md) +[storage.FileType](storage.FileType.md) -[updates\_ChannelDifference](updates_ChannelDifference.md) +[updates.ChannelDifference](updates.ChannelDifference.md) -[updates\_Difference](updates_Difference.md) +[updates.Difference](updates.Difference.md) -[updates\_State](updates_State.md) +[updates.State](updates.State.md) -[upload\_CdnFile](upload_CdnFile.md) +[upload.CdnFile](upload.CdnFile.md) -[upload\_File](upload_File.md) +[upload.File](upload.File.md) -[upload\_WebFile](upload_WebFile.md) +[upload.WebFile](upload.WebFile.md) diff --git a/old_docs/API_docs_v103/types/ReceivedNotifyMessage.md b/old_docs/API_docs_v103/types/ReceivedNotifyMessage.md index c7fc3b8c..416aa275 100644 --- a/old_docs/API_docs_v103/types/ReceivedNotifyMessage.md +++ b/old_docs/API_docs_v103/types/ReceivedNotifyMessage.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->receivedMessages](../methods/messages_receivedMessages.md) +[$MadelineProto->messages->receivedMessages](../methods/messages.receivedMessages.md) diff --git a/old_docs/API_docs_v103/types/SavedContact.md b/old_docs/API_docs_v103/types/SavedContact.md index c337f3eb..73a91ba6 100644 --- a/old_docs/API_docs_v103/types/SavedContact.md +++ b/old_docs/API_docs_v103/types/SavedContact.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->contacts->getSaved](../methods/contacts_getSaved.md) +[$MadelineProto->contacts->getSaved](../methods/contacts.getSaved.md) diff --git a/old_docs/API_docs_v103/types/SecureValue.md b/old_docs/API_docs_v103/types/SecureValue.md index 8490f399..2ab18f68 100644 --- a/old_docs/API_docs_v103/types/SecureValue.md +++ b/old_docs/API_docs_v103/types/SecureValue.md @@ -16,11 +16,11 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->account->getAllSecureValues](../methods/account_getAllSecureValues.md) +[$MadelineProto->account->getAllSecureValues](../methods/account.getAllSecureValues.md) -[$MadelineProto->account->getSecureValue](../methods/account_getSecureValue.md) +[$MadelineProto->account->getSecureValue](../methods/account.getSecureValue.md) -[$MadelineProto->account->saveSecureValue](../methods/account_saveSecureValue.md) +[$MadelineProto->account->saveSecureValue](../methods/account.saveSecureValue.md) diff --git a/old_docs/API_docs_v103/types/StatsURL.md b/old_docs/API_docs_v103/types/StatsURL.md index 1a2695cd..8704eed7 100644 --- a/old_docs/API_docs_v103/types/StatsURL.md +++ b/old_docs/API_docs_v103/types/StatsURL.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getStatsURL](../methods/messages_getStatsURL.md) +[$MadelineProto->messages->getStatsURL](../methods/messages.getStatsURL.md) diff --git a/old_docs/API_docs_v103/types/StickerSetCovered.md b/old_docs/API_docs_v103/types/StickerSetCovered.md index ffd1da1f..f57cd117 100644 --- a/old_docs/API_docs_v103/types/StickerSetCovered.md +++ b/old_docs/API_docs_v103/types/StickerSetCovered.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getAttachedStickers](../methods/messages_getAttachedStickers.md) +[$MadelineProto->messages->getAttachedStickers](../methods/messages.getAttachedStickers.md) diff --git a/old_docs/API_docs_v103/types/Updates.md b/old_docs/API_docs_v103/types/Updates.md index a827f664..120258e5 100644 --- a/old_docs/API_docs_v103/types/Updates.md +++ b/old_docs/API_docs_v103/types/Updates.md @@ -28,91 +28,91 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->account->getNotifyExceptions](../methods/account_getNotifyExceptions.md) +[$MadelineProto->account->getNotifyExceptions](../methods/account.getNotifyExceptions.md) -[$MadelineProto->contacts->deleteContacts](../methods/contacts_deleteContacts.md) +[$MadelineProto->contacts->deleteContacts](../methods/contacts.deleteContacts.md) -[$MadelineProto->contacts->addContact](../methods/contacts_addContact.md) +[$MadelineProto->contacts->addContact](../methods/contacts.addContact.md) -[$MadelineProto->contacts->acceptContact](../methods/contacts_acceptContact.md) +[$MadelineProto->contacts->acceptContact](../methods/contacts.acceptContact.md) -[$MadelineProto->contacts->getLocated](../methods/contacts_getLocated.md) +[$MadelineProto->contacts->getLocated](../methods/contacts.getLocated.md) -[$MadelineProto->messages->sendMessage](../methods/messages_sendMessage.md) +[$MadelineProto->messages->sendMessage](../methods/messages.sendMessage.md) -[$MadelineProto->messages->sendMedia](../methods/messages_sendMedia.md) +[$MadelineProto->messages->sendMedia](../methods/messages.sendMedia.md) -[$MadelineProto->messages->forwardMessages](../methods/messages_forwardMessages.md) +[$MadelineProto->messages->forwardMessages](../methods/messages.forwardMessages.md) -[$MadelineProto->messages->editChatTitle](../methods/messages_editChatTitle.md) +[$MadelineProto->messages->editChatTitle](../methods/messages.editChatTitle.md) -[$MadelineProto->messages->editChatPhoto](../methods/messages_editChatPhoto.md) +[$MadelineProto->messages->editChatPhoto](../methods/messages.editChatPhoto.md) -[$MadelineProto->messages->addChatUser](../methods/messages_addChatUser.md) +[$MadelineProto->messages->addChatUser](../methods/messages.addChatUser.md) -[$MadelineProto->messages->deleteChatUser](../methods/messages_deleteChatUser.md) +[$MadelineProto->messages->deleteChatUser](../methods/messages.deleteChatUser.md) -[$MadelineProto->messages->createChat](../methods/messages_createChat.md) +[$MadelineProto->messages->createChat](../methods/messages.createChat.md) -[$MadelineProto->messages->importChatInvite](../methods/messages_importChatInvite.md) +[$MadelineProto->messages->importChatInvite](../methods/messages.importChatInvite.md) -[$MadelineProto->messages->startBot](../methods/messages_startBot.md) +[$MadelineProto->messages->startBot](../methods/messages.startBot.md) -[$MadelineProto->messages->migrateChat](../methods/messages_migrateChat.md) +[$MadelineProto->messages->migrateChat](../methods/messages.migrateChat.md) -[$MadelineProto->messages->sendInlineBotResult](../methods/messages_sendInlineBotResult.md) +[$MadelineProto->messages->sendInlineBotResult](../methods/messages.sendInlineBotResult.md) -[$MadelineProto->messages->editMessage](../methods/messages_editMessage.md) +[$MadelineProto->messages->editMessage](../methods/messages.editMessage.md) -[$MadelineProto->messages->getAllDrafts](../methods/messages_getAllDrafts.md) +[$MadelineProto->messages->getAllDrafts](../methods/messages.getAllDrafts.md) -[$MadelineProto->messages->setGameScore](../methods/messages_setGameScore.md) +[$MadelineProto->messages->setGameScore](../methods/messages.setGameScore.md) -[$MadelineProto->messages->sendScreenshotNotification](../methods/messages_sendScreenshotNotification.md) +[$MadelineProto->messages->sendScreenshotNotification](../methods/messages.sendScreenshotNotification.md) -[$MadelineProto->messages->sendMultiMedia](../methods/messages_sendMultiMedia.md) +[$MadelineProto->messages->sendMultiMedia](../methods/messages.sendMultiMedia.md) -[$MadelineProto->messages->updatePinnedMessage](../methods/messages_updatePinnedMessage.md) +[$MadelineProto->messages->updatePinnedMessage](../methods/messages.updatePinnedMessage.md) -[$MadelineProto->messages->sendVote](../methods/messages_sendVote.md) +[$MadelineProto->messages->sendVote](../methods/messages.sendVote.md) -[$MadelineProto->messages->getPollResults](../methods/messages_getPollResults.md) +[$MadelineProto->messages->getPollResults](../methods/messages.getPollResults.md) -[$MadelineProto->messages->editChatDefaultBannedRights](../methods/messages_editChatDefaultBannedRights.md) +[$MadelineProto->messages->editChatDefaultBannedRights](../methods/messages.editChatDefaultBannedRights.md) -[$MadelineProto->help->getAppChangelog](../methods/help_getAppChangelog.md) +[$MadelineProto->help->getAppChangelog](../methods/help.getAppChangelog.md) -[$MadelineProto->channels->createChannel](../methods/channels_createChannel.md) +[$MadelineProto->channels->createChannel](../methods/channels.createChannel.md) -[$MadelineProto->channels->editAdmin](../methods/channels_editAdmin.md) +[$MadelineProto->channels->editAdmin](../methods/channels.editAdmin.md) -[$MadelineProto->channels->editTitle](../methods/channels_editTitle.md) +[$MadelineProto->channels->editTitle](../methods/channels.editTitle.md) -[$MadelineProto->channels->editPhoto](../methods/channels_editPhoto.md) +[$MadelineProto->channels->editPhoto](../methods/channels.editPhoto.md) -[$MadelineProto->channels->joinChannel](../methods/channels_joinChannel.md) +[$MadelineProto->channels->joinChannel](../methods/channels.joinChannel.md) -[$MadelineProto->channels->leaveChannel](../methods/channels_leaveChannel.md) +[$MadelineProto->channels->leaveChannel](../methods/channels.leaveChannel.md) -[$MadelineProto->channels->inviteToChannel](../methods/channels_inviteToChannel.md) +[$MadelineProto->channels->inviteToChannel](../methods/channels.inviteToChannel.md) -[$MadelineProto->channels->deleteChannel](../methods/channels_deleteChannel.md) +[$MadelineProto->channels->deleteChannel](../methods/channels.deleteChannel.md) -[$MadelineProto->channels->toggleSignatures](../methods/channels_toggleSignatures.md) +[$MadelineProto->channels->toggleSignatures](../methods/channels.toggleSignatures.md) -[$MadelineProto->channels->editBanned](../methods/channels_editBanned.md) +[$MadelineProto->channels->editBanned](../methods/channels.editBanned.md) -[$MadelineProto->channels->togglePreHistoryHidden](../methods/channels_togglePreHistoryHidden.md) +[$MadelineProto->channels->togglePreHistoryHidden](../methods/channels.togglePreHistoryHidden.md) -[$MadelineProto->channels->editCreator](../methods/channels_editCreator.md) +[$MadelineProto->channels->editCreator](../methods/channels.editCreator.md) -[$MadelineProto->phone->discardCall](../methods/phone_discardCall.md) +[$MadelineProto->phone->discardCall](../methods/phone.discardCall.md) -[$MadelineProto->phone->setCallRating](../methods/phone_setCallRating.md) +[$MadelineProto->phone->setCallRating](../methods/phone.setCallRating.md) -[$MadelineProto->folders->editPeerFolders](../methods/folders_editPeerFolders.md) +[$MadelineProto->folders->editPeerFolders](../methods/folders.editPeerFolders.md) -[$MadelineProto->folders->deleteFolder](../methods/folders_deleteFolder.md) +[$MadelineProto->folders->deleteFolder](../methods/folders.deleteFolder.md) diff --git a/old_docs/API_docs_v103/types/UrlAuthResult.md b/old_docs/API_docs_v103/types/UrlAuthResult.md index de129235..9533c912 100644 --- a/old_docs/API_docs_v103/types/UrlAuthResult.md +++ b/old_docs/API_docs_v103/types/UrlAuthResult.md @@ -20,9 +20,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->requestUrlAuth](../methods/messages_requestUrlAuth.md) +[$MadelineProto->messages->requestUrlAuth](../methods/messages.requestUrlAuth.md) -[$MadelineProto->messages->acceptUrlAuth](../methods/messages_acceptUrlAuth.md) +[$MadelineProto->messages->acceptUrlAuth](../methods/messages.acceptUrlAuth.md) diff --git a/old_docs/API_docs_v103/types/User.md b/old_docs/API_docs_v103/types/User.md index 49c9af72..0d20e320 100644 --- a/old_docs/API_docs_v103/types/User.md +++ b/old_docs/API_docs_v103/types/User.md @@ -42,13 +42,13 @@ A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDia ### Methods that return an object of this type (methods): -[$MadelineProto->account->updateProfile](../methods/account_updateProfile.md) +[$MadelineProto->account->updateProfile](../methods/account.updateProfile.md) -[$MadelineProto->account->updateUsername](../methods/account_updateUsername.md) +[$MadelineProto->account->updateUsername](../methods/account.updateUsername.md) -[$MadelineProto->account->changePhone](../methods/account_changePhone.md) +[$MadelineProto->account->changePhone](../methods/account.changePhone.md) -[$MadelineProto->users->getUsers](../methods/users_getUsers.md) +[$MadelineProto->users->getUsers](../methods/users.getUsers.md) diff --git a/old_docs/API_docs_v103/types/UserFull.md b/old_docs/API_docs_v103/types/UserFull.md index 79ad30bb..ac50052f 100644 --- a/old_docs/API_docs_v103/types/UserFull.md +++ b/old_docs/API_docs_v103/types/UserFull.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->users->getFullUser](../methods/users_getFullUser.md) +[$MadelineProto->users->getFullUser](../methods/users.getFullUser.md) diff --git a/old_docs/API_docs_v103/types/UserProfilePhoto.md b/old_docs/API_docs_v103/types/UserProfilePhoto.md index e5243a2e..e81e92fd 100644 --- a/old_docs/API_docs_v103/types/UserProfilePhoto.md +++ b/old_docs/API_docs_v103/types/UserProfilePhoto.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->photos->updateProfilePhoto](../methods/photos_updateProfilePhoto.md) +[$MadelineProto->photos->updateProfilePhoto](../methods/photos.updateProfilePhoto.md) diff --git a/old_docs/API_docs_v103/types/WallPaper.md b/old_docs/API_docs_v103/types/WallPaper.md index ccaafe2f..89033d7e 100644 --- a/old_docs/API_docs_v103/types/WallPaper.md +++ b/old_docs/API_docs_v103/types/WallPaper.md @@ -16,9 +16,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->account->getWallPaper](../methods/account_getWallPaper.md) +[$MadelineProto->account->getWallPaper](../methods/account.getWallPaper.md) -[$MadelineProto->account->uploadWallPaper](../methods/account_uploadWallPaper.md) +[$MadelineProto->account->uploadWallPaper](../methods/account.uploadWallPaper.md) diff --git a/old_docs/API_docs_v103/types/WebPage.md b/old_docs/API_docs_v103/types/WebPage.md index a3df791f..f6b61c5e 100644 --- a/old_docs/API_docs_v103/types/WebPage.md +++ b/old_docs/API_docs_v103/types/WebPage.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getWebPage](../methods/messages_getWebPage.md) +[$MadelineProto->messages->getWebPage](../methods/messages.getWebPage.md) diff --git a/old_docs/API_docs_v103/types/account.AuthorizationForm.md b/old_docs/API_docs_v103/types/account.AuthorizationForm.md new file mode 100644 index 00000000..860ff40f --- /dev/null +++ b/old_docs/API_docs_v103/types/account.AuthorizationForm.md @@ -0,0 +1,22 @@ +--- +title: account.AuthorizationForm +description: constructors and methods of type account.AuthorizationForm +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.AuthorizationForm +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.authorizationForm](../constructors/account.authorizationForm.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getAuthorizationForm](../methods/account.getAuthorizationForm.md) + + + diff --git a/old_docs/API_docs_v103/types/account.Authorizations.md b/old_docs/API_docs_v103/types/account.Authorizations.md new file mode 100644 index 00000000..f9112038 --- /dev/null +++ b/old_docs/API_docs_v103/types/account.Authorizations.md @@ -0,0 +1,22 @@ +--- +title: account.Authorizations +description: constructors and methods of type account.Authorizations +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.Authorizations +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.authorizations](../constructors/account.authorizations.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getAuthorizations](../methods/account.getAuthorizations.md) + + + diff --git a/old_docs/API_docs_v103/types/account.AutoDownloadSettings.md b/old_docs/API_docs_v103/types/account.AutoDownloadSettings.md new file mode 100644 index 00000000..e2ee0f6c --- /dev/null +++ b/old_docs/API_docs_v103/types/account.AutoDownloadSettings.md @@ -0,0 +1,22 @@ +--- +title: account.AutoDownloadSettings +description: constructors and methods of type account.AutoDownloadSettings +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.AutoDownloadSettings +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.autoDownloadSettings](../constructors/account.autoDownloadSettings.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getAutoDownloadSettings](../methods/account.getAutoDownloadSettings.md) + + + diff --git a/old_docs/API_docs_v103/types/account.Password.md b/old_docs/API_docs_v103/types/account.Password.md new file mode 100644 index 00000000..190704a3 --- /dev/null +++ b/old_docs/API_docs_v103/types/account.Password.md @@ -0,0 +1,22 @@ +--- +title: account.Password +description: constructors and methods of type account.Password +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.Password +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.password](../constructors/account.password.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getPassword](../methods/account.getPassword.md) + + + diff --git a/old_docs/API_docs_v103/types/account.PasswordInputSettings.md b/old_docs/API_docs_v103/types/account.PasswordInputSettings.md new file mode 100644 index 00000000..72e11fdc --- /dev/null +++ b/old_docs/API_docs_v103/types/account.PasswordInputSettings.md @@ -0,0 +1,20 @@ +--- +title: account.PasswordInputSettings +description: constructors and methods of type account.PasswordInputSettings +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.PasswordInputSettings +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.passwordInputSettings](../constructors/account.passwordInputSettings.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v103/types/account.PasswordSettings.md b/old_docs/API_docs_v103/types/account.PasswordSettings.md new file mode 100644 index 00000000..47016832 --- /dev/null +++ b/old_docs/API_docs_v103/types/account.PasswordSettings.md @@ -0,0 +1,22 @@ +--- +title: account.PasswordSettings +description: constructors and methods of type account.PasswordSettings +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.PasswordSettings +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.passwordSettings](../constructors/account.passwordSettings.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getPasswordSettings](../methods/account.getPasswordSettings.md) + + + diff --git a/old_docs/API_docs_v103/types/account.PrivacyRules.md b/old_docs/API_docs_v103/types/account.PrivacyRules.md new file mode 100644 index 00000000..738651ad --- /dev/null +++ b/old_docs/API_docs_v103/types/account.PrivacyRules.md @@ -0,0 +1,24 @@ +--- +title: account.PrivacyRules +description: constructors and methods of type account.PrivacyRules +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.PrivacyRules +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.privacyRules](../constructors/account.privacyRules.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getPrivacy](../methods/account.getPrivacy.md) + +[$MadelineProto->account->setPrivacy](../methods/account.setPrivacy.md) + + + diff --git a/old_docs/API_docs_v103/types/account.SentEmailCode.md b/old_docs/API_docs_v103/types/account.SentEmailCode.md new file mode 100644 index 00000000..6adcd649 --- /dev/null +++ b/old_docs/API_docs_v103/types/account.SentEmailCode.md @@ -0,0 +1,22 @@ +--- +title: account.SentEmailCode +description: constructors and methods of type account.SentEmailCode +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.SentEmailCode +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.sentEmailCode](../constructors/account.sentEmailCode.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->sendVerifyEmailCode](../methods/account.sendVerifyEmailCode.md) + + + diff --git a/old_docs/API_docs_v103/types/account.Takeout.md b/old_docs/API_docs_v103/types/account.Takeout.md new file mode 100644 index 00000000..96998ce4 --- /dev/null +++ b/old_docs/API_docs_v103/types/account.Takeout.md @@ -0,0 +1,22 @@ +--- +title: account.Takeout +description: constructors and methods of type account.Takeout +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.Takeout +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.takeout](../constructors/account.takeout.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->initTakeoutSession](../methods/account.initTakeoutSession.md) + + + diff --git a/old_docs/API_docs_v103/types/account.TmpPassword.md b/old_docs/API_docs_v103/types/account.TmpPassword.md new file mode 100644 index 00000000..2116c6c0 --- /dev/null +++ b/old_docs/API_docs_v103/types/account.TmpPassword.md @@ -0,0 +1,22 @@ +--- +title: account.TmpPassword +description: constructors and methods of type account.TmpPassword +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.TmpPassword +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.tmpPassword](../constructors/account.tmpPassword.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getTmpPassword](../methods/account.getTmpPassword.md) + + + diff --git a/old_docs/API_docs_v103/types/account.WallPapers.md b/old_docs/API_docs_v103/types/account.WallPapers.md new file mode 100644 index 00000000..13d11d26 --- /dev/null +++ b/old_docs/API_docs_v103/types/account.WallPapers.md @@ -0,0 +1,24 @@ +--- +title: account.WallPapers +description: constructors and methods of type account.WallPapers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.WallPapers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.wallPapersNotModified](../constructors/account.wallPapersNotModified.md) + +[account.wallPapers](../constructors/account.wallPapers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getWallPapers](../methods/account.getWallPapers.md) + + + diff --git a/old_docs/API_docs_v103/types/account.WebAuthorizations.md b/old_docs/API_docs_v103/types/account.WebAuthorizations.md new file mode 100644 index 00000000..931633ef --- /dev/null +++ b/old_docs/API_docs_v103/types/account.WebAuthorizations.md @@ -0,0 +1,22 @@ +--- +title: account.WebAuthorizations +description: constructors and methods of type account.WebAuthorizations +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.WebAuthorizations +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.webAuthorizations](../constructors/account.webAuthorizations.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getWebAuthorizations](../methods/account.getWebAuthorizations.md) + + + diff --git a/old_docs/API_docs_v103/types/account_AuthorizationForm.md b/old_docs/API_docs_v103/types/account_AuthorizationForm.md deleted file mode 100644 index 5eec2b92..00000000 --- a/old_docs/API_docs_v103/types/account_AuthorizationForm.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_AuthorizationForm -description: constructors and methods of type account_AuthorizationForm -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_AuthorizationForm -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_authorizationForm](../constructors/account_authorizationForm.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getAuthorizationForm](../methods/account_getAuthorizationForm.md) - - - diff --git a/old_docs/API_docs_v103/types/account_Authorizations.md b/old_docs/API_docs_v103/types/account_Authorizations.md deleted file mode 100644 index 4709ddb5..00000000 --- a/old_docs/API_docs_v103/types/account_Authorizations.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_Authorizations -description: constructors and methods of type account_Authorizations -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_Authorizations -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_authorizations](../constructors/account_authorizations.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getAuthorizations](../methods/account_getAuthorizations.md) - - - diff --git a/old_docs/API_docs_v103/types/account_AutoDownloadSettings.md b/old_docs/API_docs_v103/types/account_AutoDownloadSettings.md deleted file mode 100644 index 6df664df..00000000 --- a/old_docs/API_docs_v103/types/account_AutoDownloadSettings.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_AutoDownloadSettings -description: constructors and methods of type account_AutoDownloadSettings -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_AutoDownloadSettings -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_autoDownloadSettings](../constructors/account_autoDownloadSettings.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getAutoDownloadSettings](../methods/account_getAutoDownloadSettings.md) - - - diff --git a/old_docs/API_docs_v103/types/account_Password.md b/old_docs/API_docs_v103/types/account_Password.md deleted file mode 100644 index f3b6e065..00000000 --- a/old_docs/API_docs_v103/types/account_Password.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_Password -description: constructors and methods of type account_Password -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_Password -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_password](../constructors/account_password.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getPassword](../methods/account_getPassword.md) - - - diff --git a/old_docs/API_docs_v103/types/account_PasswordInputSettings.md b/old_docs/API_docs_v103/types/account_PasswordInputSettings.md deleted file mode 100644 index a6455eb8..00000000 --- a/old_docs/API_docs_v103/types/account_PasswordInputSettings.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: account_PasswordInputSettings -description: constructors and methods of type account_PasswordInputSettings -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_PasswordInputSettings -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_passwordInputSettings](../constructors/account_passwordInputSettings.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v103/types/account_PasswordSettings.md b/old_docs/API_docs_v103/types/account_PasswordSettings.md deleted file mode 100644 index 687eb217..00000000 --- a/old_docs/API_docs_v103/types/account_PasswordSettings.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_PasswordSettings -description: constructors and methods of type account_PasswordSettings -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_PasswordSettings -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_passwordSettings](../constructors/account_passwordSettings.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getPasswordSettings](../methods/account_getPasswordSettings.md) - - - diff --git a/old_docs/API_docs_v103/types/account_PrivacyRules.md b/old_docs/API_docs_v103/types/account_PrivacyRules.md deleted file mode 100644 index 40b00077..00000000 --- a/old_docs/API_docs_v103/types/account_PrivacyRules.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: account_PrivacyRules -description: constructors and methods of type account_PrivacyRules -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_PrivacyRules -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_privacyRules](../constructors/account_privacyRules.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getPrivacy](../methods/account_getPrivacy.md) - -[$MadelineProto->account->setPrivacy](../methods/account_setPrivacy.md) - - - diff --git a/old_docs/API_docs_v103/types/account_SentEmailCode.md b/old_docs/API_docs_v103/types/account_SentEmailCode.md deleted file mode 100644 index 4aa38335..00000000 --- a/old_docs/API_docs_v103/types/account_SentEmailCode.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_SentEmailCode -description: constructors and methods of type account_SentEmailCode -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_SentEmailCode -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_sentEmailCode](../constructors/account_sentEmailCode.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->sendVerifyEmailCode](../methods/account_sendVerifyEmailCode.md) - - - diff --git a/old_docs/API_docs_v103/types/account_Takeout.md b/old_docs/API_docs_v103/types/account_Takeout.md deleted file mode 100644 index 26960f88..00000000 --- a/old_docs/API_docs_v103/types/account_Takeout.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_Takeout -description: constructors and methods of type account_Takeout -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_Takeout -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_takeout](../constructors/account_takeout.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->initTakeoutSession](../methods/account_initTakeoutSession.md) - - - diff --git a/old_docs/API_docs_v103/types/account_TmpPassword.md b/old_docs/API_docs_v103/types/account_TmpPassword.md deleted file mode 100644 index d7557921..00000000 --- a/old_docs/API_docs_v103/types/account_TmpPassword.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_TmpPassword -description: constructors and methods of type account_TmpPassword -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_TmpPassword -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_tmpPassword](../constructors/account_tmpPassword.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getTmpPassword](../methods/account_getTmpPassword.md) - - - diff --git a/old_docs/API_docs_v103/types/account_WallPapers.md b/old_docs/API_docs_v103/types/account_WallPapers.md deleted file mode 100644 index 6a082a9a..00000000 --- a/old_docs/API_docs_v103/types/account_WallPapers.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: account_WallPapers -description: constructors and methods of type account_WallPapers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_WallPapers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_wallPapersNotModified](../constructors/account_wallPapersNotModified.md) - -[account\_wallPapers](../constructors/account_wallPapers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getWallPapers](../methods/account_getWallPapers.md) - - - diff --git a/old_docs/API_docs_v103/types/account_WebAuthorizations.md b/old_docs/API_docs_v103/types/account_WebAuthorizations.md deleted file mode 100644 index 1202632b..00000000 --- a/old_docs/API_docs_v103/types/account_WebAuthorizations.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_WebAuthorizations -description: constructors and methods of type account_WebAuthorizations -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_WebAuthorizations -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_webAuthorizations](../constructors/account_webAuthorizations.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getWebAuthorizations](../methods/account_getWebAuthorizations.md) - - - diff --git a/old_docs/API_docs_v103/types/auth.Authorization.md b/old_docs/API_docs_v103/types/auth.Authorization.md new file mode 100644 index 00000000..adcfa7d3 --- /dev/null +++ b/old_docs/API_docs_v103/types/auth.Authorization.md @@ -0,0 +1,32 @@ +--- +title: auth.Authorization +description: constructors and methods of type auth.Authorization +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.Authorization +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.authorization](../constructors/auth.authorization.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->signUp](../methods/auth.signUp.md) + +[$MadelineProto->auth->signIn](../methods/auth.signIn.md) + +[$MadelineProto->auth->importAuthorization](../methods/auth.importAuthorization.md) + +[$MadelineProto->auth->importBotAuthorization](../methods/auth.importBotAuthorization.md) + +[$MadelineProto->auth->checkPassword](../methods/auth.checkPassword.md) + +[$MadelineProto->auth->recoverPassword](../methods/auth.recoverPassword.md) + + + diff --git a/old_docs/API_docs_v103/types/auth.CheckedPhone.md b/old_docs/API_docs_v103/types/auth.CheckedPhone.md new file mode 100644 index 00000000..1d6672e7 --- /dev/null +++ b/old_docs/API_docs_v103/types/auth.CheckedPhone.md @@ -0,0 +1,20 @@ +--- +title: auth.CheckedPhone +description: constructors and methods of type auth.CheckedPhone +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.CheckedPhone +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.checkedPhone](../constructors/auth.checkedPhone.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v103/types/auth.CodeType.md b/old_docs/API_docs_v103/types/auth.CodeType.md new file mode 100644 index 00000000..8d2b308d --- /dev/null +++ b/old_docs/API_docs_v103/types/auth.CodeType.md @@ -0,0 +1,24 @@ +--- +title: auth.CodeType +description: constructors and methods of type auth.CodeType +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.CodeType +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.codeTypeSms](../constructors/auth.codeTypeSms.md) + +[auth.codeTypeCall](../constructors/auth.codeTypeCall.md) + +[auth.codeTypeFlashCall](../constructors/auth.codeTypeFlashCall.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v103/types/auth.ExportedAuthorization.md b/old_docs/API_docs_v103/types/auth.ExportedAuthorization.md new file mode 100644 index 00000000..ccb38d60 --- /dev/null +++ b/old_docs/API_docs_v103/types/auth.ExportedAuthorization.md @@ -0,0 +1,22 @@ +--- +title: auth.ExportedAuthorization +description: constructors and methods of type auth.ExportedAuthorization +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.ExportedAuthorization +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.exportedAuthorization](../constructors/auth.exportedAuthorization.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->exportAuthorization](../methods/auth.exportAuthorization.md) + + + diff --git a/old_docs/API_docs_v103/types/auth.PasswordRecovery.md b/old_docs/API_docs_v103/types/auth.PasswordRecovery.md new file mode 100644 index 00000000..c1c18992 --- /dev/null +++ b/old_docs/API_docs_v103/types/auth.PasswordRecovery.md @@ -0,0 +1,22 @@ +--- +title: auth.PasswordRecovery +description: constructors and methods of type auth.PasswordRecovery +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.PasswordRecovery +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.passwordRecovery](../constructors/auth.passwordRecovery.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->requestPasswordRecovery](../methods/auth.requestPasswordRecovery.md) + + + diff --git a/old_docs/API_docs_v103/types/auth.SentCode.md b/old_docs/API_docs_v103/types/auth.SentCode.md new file mode 100644 index 00000000..4950edeb --- /dev/null +++ b/old_docs/API_docs_v103/types/auth.SentCode.md @@ -0,0 +1,30 @@ +--- +title: auth.SentCode +description: constructors and methods of type auth.SentCode +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.SentCode +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.sentCode](../constructors/auth.sentCode.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->sendCode](../methods/auth.sendCode.md) + +[$MadelineProto->auth->resendCode](../methods/auth.resendCode.md) + +[$MadelineProto->account->sendChangePhoneCode](../methods/account.sendChangePhoneCode.md) + +[$MadelineProto->account->sendConfirmPhoneCode](../methods/account.sendConfirmPhoneCode.md) + +[$MadelineProto->account->sendVerifyPhoneCode](../methods/account.sendVerifyPhoneCode.md) + + + diff --git a/old_docs/API_docs_v103/types/auth.SentCodeType.md b/old_docs/API_docs_v103/types/auth.SentCodeType.md new file mode 100644 index 00000000..7c7c534e --- /dev/null +++ b/old_docs/API_docs_v103/types/auth.SentCodeType.md @@ -0,0 +1,26 @@ +--- +title: auth.SentCodeType +description: constructors and methods of type auth.SentCodeType +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.SentCodeType +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.sentCodeTypeApp](../constructors/auth.sentCodeTypeApp.md) + +[auth.sentCodeTypeSms](../constructors/auth.sentCodeTypeSms.md) + +[auth.sentCodeTypeCall](../constructors/auth.sentCodeTypeCall.md) + +[auth.sentCodeTypeFlashCall](../constructors/auth.sentCodeTypeFlashCall.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v103/types/auth_Authorization.md b/old_docs/API_docs_v103/types/auth_Authorization.md deleted file mode 100644 index 5a34fc2d..00000000 --- a/old_docs/API_docs_v103/types/auth_Authorization.md +++ /dev/null @@ -1,32 +0,0 @@ ---- -title: auth_Authorization -description: constructors and methods of type auth_Authorization -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_Authorization -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_authorization](../constructors/auth_authorization.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->signUp](../methods/auth_signUp.md) - -[$MadelineProto->auth->signIn](../methods/auth_signIn.md) - -[$MadelineProto->auth->importAuthorization](../methods/auth_importAuthorization.md) - -[$MadelineProto->auth->importBotAuthorization](../methods/auth_importBotAuthorization.md) - -[$MadelineProto->auth->checkPassword](../methods/auth_checkPassword.md) - -[$MadelineProto->auth->recoverPassword](../methods/auth_recoverPassword.md) - - - diff --git a/old_docs/API_docs_v103/types/auth_CheckedPhone.md b/old_docs/API_docs_v103/types/auth_CheckedPhone.md deleted file mode 100644 index e2b823f7..00000000 --- a/old_docs/API_docs_v103/types/auth_CheckedPhone.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: auth_CheckedPhone -description: constructors and methods of type auth_CheckedPhone -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_CheckedPhone -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_checkedPhone](../constructors/auth_checkedPhone.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v103/types/auth_CodeType.md b/old_docs/API_docs_v103/types/auth_CodeType.md deleted file mode 100644 index 3cd9a7b7..00000000 --- a/old_docs/API_docs_v103/types/auth_CodeType.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: auth_CodeType -description: constructors and methods of type auth_CodeType -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_CodeType -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_codeTypeSms](../constructors/auth_codeTypeSms.md) - -[auth\_codeTypeCall](../constructors/auth_codeTypeCall.md) - -[auth\_codeTypeFlashCall](../constructors/auth_codeTypeFlashCall.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v103/types/auth_ExportedAuthorization.md b/old_docs/API_docs_v103/types/auth_ExportedAuthorization.md deleted file mode 100644 index 69e5c42e..00000000 --- a/old_docs/API_docs_v103/types/auth_ExportedAuthorization.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: auth_ExportedAuthorization -description: constructors and methods of type auth_ExportedAuthorization -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_ExportedAuthorization -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_exportedAuthorization](../constructors/auth_exportedAuthorization.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->exportAuthorization](../methods/auth_exportAuthorization.md) - - - diff --git a/old_docs/API_docs_v103/types/auth_PasswordRecovery.md b/old_docs/API_docs_v103/types/auth_PasswordRecovery.md deleted file mode 100644 index 4962bf42..00000000 --- a/old_docs/API_docs_v103/types/auth_PasswordRecovery.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: auth_PasswordRecovery -description: constructors and methods of type auth_PasswordRecovery -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_PasswordRecovery -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_passwordRecovery](../constructors/auth_passwordRecovery.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->requestPasswordRecovery](../methods/auth_requestPasswordRecovery.md) - - - diff --git a/old_docs/API_docs_v103/types/auth_SentCode.md b/old_docs/API_docs_v103/types/auth_SentCode.md deleted file mode 100644 index 140d956c..00000000 --- a/old_docs/API_docs_v103/types/auth_SentCode.md +++ /dev/null @@ -1,30 +0,0 @@ ---- -title: auth_SentCode -description: constructors and methods of type auth_SentCode -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_SentCode -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_sentCode](../constructors/auth_sentCode.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->sendCode](../methods/auth_sendCode.md) - -[$MadelineProto->auth->resendCode](../methods/auth_resendCode.md) - -[$MadelineProto->account->sendChangePhoneCode](../methods/account_sendChangePhoneCode.md) - -[$MadelineProto->account->sendConfirmPhoneCode](../methods/account_sendConfirmPhoneCode.md) - -[$MadelineProto->account->sendVerifyPhoneCode](../methods/account_sendVerifyPhoneCode.md) - - - diff --git a/old_docs/API_docs_v103/types/auth_SentCodeType.md b/old_docs/API_docs_v103/types/auth_SentCodeType.md deleted file mode 100644 index 8dfcb93b..00000000 --- a/old_docs/API_docs_v103/types/auth_SentCodeType.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: auth_SentCodeType -description: constructors and methods of type auth_SentCodeType -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_SentCodeType -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_sentCodeTypeApp](../constructors/auth_sentCodeTypeApp.md) - -[auth\_sentCodeTypeSms](../constructors/auth_sentCodeTypeSms.md) - -[auth\_sentCodeTypeCall](../constructors/auth_sentCodeTypeCall.md) - -[auth\_sentCodeTypeFlashCall](../constructors/auth_sentCodeTypeFlashCall.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v103/types/channels.AdminLogResults.md b/old_docs/API_docs_v103/types/channels.AdminLogResults.md new file mode 100644 index 00000000..7855a4fd --- /dev/null +++ b/old_docs/API_docs_v103/types/channels.AdminLogResults.md @@ -0,0 +1,22 @@ +--- +title: channels.AdminLogResults +description: constructors and methods of type channels.AdminLogResults +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: channels.AdminLogResults +[Back to types index](index.md) + + + +### Possible values (constructors): + +[channels.adminLogResults](../constructors/channels.adminLogResults.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->channels->getAdminLog](../methods/channels.getAdminLog.md) + + + diff --git a/old_docs/API_docs_v103/types/channels.ChannelParticipant.md b/old_docs/API_docs_v103/types/channels.ChannelParticipant.md new file mode 100644 index 00000000..8dc7f7e6 --- /dev/null +++ b/old_docs/API_docs_v103/types/channels.ChannelParticipant.md @@ -0,0 +1,22 @@ +--- +title: channels.ChannelParticipant +description: constructors and methods of type channels.ChannelParticipant +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: channels.ChannelParticipant +[Back to types index](index.md) + + + +### Possible values (constructors): + +[channels.channelParticipant](../constructors/channels.channelParticipant.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->channels->getParticipant](../methods/channels.getParticipant.md) + + + diff --git a/old_docs/API_docs_v103/types/channels.ChannelParticipants.md b/old_docs/API_docs_v103/types/channels.ChannelParticipants.md new file mode 100644 index 00000000..d448e007 --- /dev/null +++ b/old_docs/API_docs_v103/types/channels.ChannelParticipants.md @@ -0,0 +1,24 @@ +--- +title: channels.ChannelParticipants +description: constructors and methods of type channels.ChannelParticipants +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: channels.ChannelParticipants +[Back to types index](index.md) + + + +### Possible values (constructors): + +[channels.channelParticipants](../constructors/channels.channelParticipants.md) + +[channels.channelParticipantsNotModified](../constructors/channels.channelParticipantsNotModified.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->channels->getParticipants](../methods/channels.getParticipants.md) + + + diff --git a/old_docs/API_docs_v103/types/channels_AdminLogResults.md b/old_docs/API_docs_v103/types/channels_AdminLogResults.md deleted file mode 100644 index 4e9b5544..00000000 --- a/old_docs/API_docs_v103/types/channels_AdminLogResults.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: channels_AdminLogResults -description: constructors and methods of type channels_AdminLogResults -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: channels\_AdminLogResults -[Back to types index](index.md) - - - -### Possible values (constructors): - -[channels\_adminLogResults](../constructors/channels_adminLogResults.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->channels->getAdminLog](../methods/channels_getAdminLog.md) - - - diff --git a/old_docs/API_docs_v103/types/channels_ChannelParticipant.md b/old_docs/API_docs_v103/types/channels_ChannelParticipant.md deleted file mode 100644 index 3d4667c3..00000000 --- a/old_docs/API_docs_v103/types/channels_ChannelParticipant.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: channels_ChannelParticipant -description: constructors and methods of type channels_ChannelParticipant -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: channels\_ChannelParticipant -[Back to types index](index.md) - - - -### Possible values (constructors): - -[channels\_channelParticipant](../constructors/channels_channelParticipant.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->channels->getParticipant](../methods/channels_getParticipant.md) - - - diff --git a/old_docs/API_docs_v103/types/channels_ChannelParticipants.md b/old_docs/API_docs_v103/types/channels_ChannelParticipants.md deleted file mode 100644 index 80a41dd9..00000000 --- a/old_docs/API_docs_v103/types/channels_ChannelParticipants.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: channels_ChannelParticipants -description: constructors and methods of type channels_ChannelParticipants -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: channels\_ChannelParticipants -[Back to types index](index.md) - - - -### Possible values (constructors): - -[channels\_channelParticipants](../constructors/channels_channelParticipants.md) - -[channels\_channelParticipantsNotModified](../constructors/channels_channelParticipantsNotModified.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->channels->getParticipants](../methods/channels_getParticipants.md) - - - diff --git a/old_docs/API_docs_v103/types/contacts.Blocked.md b/old_docs/API_docs_v103/types/contacts.Blocked.md new file mode 100644 index 00000000..cb2af80f --- /dev/null +++ b/old_docs/API_docs_v103/types/contacts.Blocked.md @@ -0,0 +1,24 @@ +--- +title: contacts.Blocked +description: constructors and methods of type contacts.Blocked +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Blocked +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.blocked](../constructors/contacts.blocked.md) + +[contacts.blockedSlice](../constructors/contacts.blockedSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getBlocked](../methods/contacts.getBlocked.md) + + + diff --git a/old_docs/API_docs_v103/types/contacts.Contacts.md b/old_docs/API_docs_v103/types/contacts.Contacts.md new file mode 100644 index 00000000..5f695d8e --- /dev/null +++ b/old_docs/API_docs_v103/types/contacts.Contacts.md @@ -0,0 +1,24 @@ +--- +title: contacts.Contacts +description: constructors and methods of type contacts.Contacts +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Contacts +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.contactsNotModified](../constructors/contacts.contactsNotModified.md) + +[contacts.contacts](../constructors/contacts.contacts.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getContacts](../methods/contacts.getContacts.md) + + + diff --git a/old_docs/API_docs_v103/types/contacts.Found.md b/old_docs/API_docs_v103/types/contacts.Found.md new file mode 100644 index 00000000..7df98927 --- /dev/null +++ b/old_docs/API_docs_v103/types/contacts.Found.md @@ -0,0 +1,22 @@ +--- +title: contacts.Found +description: constructors and methods of type contacts.Found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Found +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.found](../constructors/contacts.found.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->search](../methods/contacts.search.md) + + + diff --git a/old_docs/API_docs_v103/types/contacts.ImportedContacts.md b/old_docs/API_docs_v103/types/contacts.ImportedContacts.md new file mode 100644 index 00000000..16795bab --- /dev/null +++ b/old_docs/API_docs_v103/types/contacts.ImportedContacts.md @@ -0,0 +1,22 @@ +--- +title: contacts.ImportedContacts +description: constructors and methods of type contacts.ImportedContacts +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.ImportedContacts +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.importedContacts](../constructors/contacts.importedContacts.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->importContacts](../methods/contacts.importContacts.md) + + + diff --git a/old_docs/API_docs_v103/types/contacts.ResolvedPeer.md b/old_docs/API_docs_v103/types/contacts.ResolvedPeer.md new file mode 100644 index 00000000..13630d54 --- /dev/null +++ b/old_docs/API_docs_v103/types/contacts.ResolvedPeer.md @@ -0,0 +1,22 @@ +--- +title: contacts.ResolvedPeer +description: constructors and methods of type contacts.ResolvedPeer +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.ResolvedPeer +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.resolvedPeer](../constructors/contacts.resolvedPeer.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->resolveUsername](../methods/contacts.resolveUsername.md) + + + diff --git a/old_docs/API_docs_v103/types/contacts.TopPeers.md b/old_docs/API_docs_v103/types/contacts.TopPeers.md new file mode 100644 index 00000000..563e63aa --- /dev/null +++ b/old_docs/API_docs_v103/types/contacts.TopPeers.md @@ -0,0 +1,26 @@ +--- +title: contacts.TopPeers +description: constructors and methods of type contacts.TopPeers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.TopPeers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.topPeersNotModified](../constructors/contacts.topPeersNotModified.md) + +[contacts.topPeers](../constructors/contacts.topPeers.md) + +[contacts.topPeersDisabled](../constructors/contacts.topPeersDisabled.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getTopPeers](../methods/contacts.getTopPeers.md) + + + diff --git a/old_docs/API_docs_v103/types/contacts_Blocked.md b/old_docs/API_docs_v103/types/contacts_Blocked.md deleted file mode 100644 index 3e1f02eb..00000000 --- a/old_docs/API_docs_v103/types/contacts_Blocked.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: contacts_Blocked -description: constructors and methods of type contacts_Blocked -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Blocked -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_blocked](../constructors/contacts_blocked.md) - -[contacts\_blockedSlice](../constructors/contacts_blockedSlice.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->getBlocked](../methods/contacts_getBlocked.md) - - - diff --git a/old_docs/API_docs_v103/types/contacts_Contacts.md b/old_docs/API_docs_v103/types/contacts_Contacts.md deleted file mode 100644 index 5d6c9506..00000000 --- a/old_docs/API_docs_v103/types/contacts_Contacts.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: contacts_Contacts -description: constructors and methods of type contacts_Contacts -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Contacts -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_contactsNotModified](../constructors/contacts_contactsNotModified.md) - -[contacts\_contacts](../constructors/contacts_contacts.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->getContacts](../methods/contacts_getContacts.md) - - - diff --git a/old_docs/API_docs_v103/types/contacts_Found.md b/old_docs/API_docs_v103/types/contacts_Found.md deleted file mode 100644 index 806101cf..00000000 --- a/old_docs/API_docs_v103/types/contacts_Found.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_Found -description: constructors and methods of type contacts_Found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Found -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_found](../constructors/contacts_found.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->search](../methods/contacts_search.md) - - - diff --git a/old_docs/API_docs_v103/types/contacts_ImportedContacts.md b/old_docs/API_docs_v103/types/contacts_ImportedContacts.md deleted file mode 100644 index faf7e615..00000000 --- a/old_docs/API_docs_v103/types/contacts_ImportedContacts.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_ImportedContacts -description: constructors and methods of type contacts_ImportedContacts -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_ImportedContacts -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_importedContacts](../constructors/contacts_importedContacts.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->importContacts](../methods/contacts_importContacts.md) - - - diff --git a/old_docs/API_docs_v103/types/contacts_ResolvedPeer.md b/old_docs/API_docs_v103/types/contacts_ResolvedPeer.md deleted file mode 100644 index cf107f7c..00000000 --- a/old_docs/API_docs_v103/types/contacts_ResolvedPeer.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_ResolvedPeer -description: constructors and methods of type contacts_ResolvedPeer -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_ResolvedPeer -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_resolvedPeer](../constructors/contacts_resolvedPeer.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->resolveUsername](../methods/contacts_resolveUsername.md) - - - diff --git a/old_docs/API_docs_v103/types/contacts_TopPeers.md b/old_docs/API_docs_v103/types/contacts_TopPeers.md deleted file mode 100644 index dc8ee478..00000000 --- a/old_docs/API_docs_v103/types/contacts_TopPeers.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: contacts_TopPeers -description: constructors and methods of type contacts_TopPeers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_TopPeers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_topPeersNotModified](../constructors/contacts_topPeersNotModified.md) - -[contacts\_topPeers](../constructors/contacts_topPeers.md) - -[contacts\_topPeersDisabled](../constructors/contacts_topPeersDisabled.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->getTopPeers](../methods/contacts_getTopPeers.md) - - - diff --git a/old_docs/API_docs_v103/types/help.AppUpdate.md b/old_docs/API_docs_v103/types/help.AppUpdate.md new file mode 100644 index 00000000..285ec2b7 --- /dev/null +++ b/old_docs/API_docs_v103/types/help.AppUpdate.md @@ -0,0 +1,24 @@ +--- +title: help.AppUpdate +description: constructors and methods of type help.AppUpdate +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.AppUpdate +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.appUpdate](../constructors/help.appUpdate.md) + +[help.noAppUpdate](../constructors/help.noAppUpdate.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getAppUpdate](../methods/help.getAppUpdate.md) + + + diff --git a/old_docs/API_docs_v103/types/help.ConfigSimple.md b/old_docs/API_docs_v103/types/help.ConfigSimple.md new file mode 100644 index 00000000..92d9e15f --- /dev/null +++ b/old_docs/API_docs_v103/types/help.ConfigSimple.md @@ -0,0 +1,20 @@ +--- +title: help.ConfigSimple +description: constructors and methods of type help.ConfigSimple +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.ConfigSimple +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.configSimple](../constructors/help.configSimple.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v103/types/help.DeepLinkInfo.md b/old_docs/API_docs_v103/types/help.DeepLinkInfo.md new file mode 100644 index 00000000..356af1c4 --- /dev/null +++ b/old_docs/API_docs_v103/types/help.DeepLinkInfo.md @@ -0,0 +1,24 @@ +--- +title: help.DeepLinkInfo +description: constructors and methods of type help.DeepLinkInfo +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.DeepLinkInfo +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.deepLinkInfoEmpty](../constructors/help.deepLinkInfoEmpty.md) + +[help.deepLinkInfo](../constructors/help.deepLinkInfo.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getDeepLinkInfo](../methods/help.getDeepLinkInfo.md) + + + diff --git a/old_docs/API_docs_v103/types/help.InviteText.md b/old_docs/API_docs_v103/types/help.InviteText.md new file mode 100644 index 00000000..43293f46 --- /dev/null +++ b/old_docs/API_docs_v103/types/help.InviteText.md @@ -0,0 +1,22 @@ +--- +title: help.InviteText +description: constructors and methods of type help.InviteText +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.InviteText +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.inviteText](../constructors/help.inviteText.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getInviteText](../methods/help.getInviteText.md) + + + diff --git a/old_docs/API_docs_v103/types/help.PassportConfig.md b/old_docs/API_docs_v103/types/help.PassportConfig.md new file mode 100644 index 00000000..15eb12cc --- /dev/null +++ b/old_docs/API_docs_v103/types/help.PassportConfig.md @@ -0,0 +1,24 @@ +--- +title: help.PassportConfig +description: constructors and methods of type help.PassportConfig +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.PassportConfig +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.passportConfigNotModified](../constructors/help.passportConfigNotModified.md) + +[help.passportConfig](../constructors/help.passportConfig.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getPassportConfig](../methods/help.getPassportConfig.md) + + + diff --git a/old_docs/API_docs_v103/types/help.ProxyData.md b/old_docs/API_docs_v103/types/help.ProxyData.md new file mode 100644 index 00000000..e45b4211 --- /dev/null +++ b/old_docs/API_docs_v103/types/help.ProxyData.md @@ -0,0 +1,24 @@ +--- +title: help.ProxyData +description: constructors and methods of type help.ProxyData +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.ProxyData +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.proxyDataEmpty](../constructors/help.proxyDataEmpty.md) + +[help.proxyDataPromo](../constructors/help.proxyDataPromo.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getProxyData](../methods/help.getProxyData.md) + + + diff --git a/old_docs/API_docs_v103/types/help.RecentMeUrls.md b/old_docs/API_docs_v103/types/help.RecentMeUrls.md new file mode 100644 index 00000000..6b7ee2c1 --- /dev/null +++ b/old_docs/API_docs_v103/types/help.RecentMeUrls.md @@ -0,0 +1,22 @@ +--- +title: help.RecentMeUrls +description: constructors and methods of type help.RecentMeUrls +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.RecentMeUrls +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.recentMeUrls](../constructors/help.recentMeUrls.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getRecentMeUrls](../methods/help.getRecentMeUrls.md) + + + diff --git a/old_docs/API_docs_v103/types/help.Support.md b/old_docs/API_docs_v103/types/help.Support.md new file mode 100644 index 00000000..42c20483 --- /dev/null +++ b/old_docs/API_docs_v103/types/help.Support.md @@ -0,0 +1,22 @@ +--- +title: help.Support +description: constructors and methods of type help.Support +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.Support +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.support](../constructors/help.support.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getSupport](../methods/help.getSupport.md) + + + diff --git a/old_docs/API_docs_v103/types/help.SupportName.md b/old_docs/API_docs_v103/types/help.SupportName.md new file mode 100644 index 00000000..7f68199a --- /dev/null +++ b/old_docs/API_docs_v103/types/help.SupportName.md @@ -0,0 +1,22 @@ +--- +title: help.SupportName +description: constructors and methods of type help.SupportName +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.SupportName +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.supportName](../constructors/help.supportName.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getSupportName](../methods/help.getSupportName.md) + + + diff --git a/old_docs/API_docs_v103/types/help.TermsOfService.md b/old_docs/API_docs_v103/types/help.TermsOfService.md new file mode 100644 index 00000000..d4d091e1 --- /dev/null +++ b/old_docs/API_docs_v103/types/help.TermsOfService.md @@ -0,0 +1,20 @@ +--- +title: help.TermsOfService +description: constructors and methods of type help.TermsOfService +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.TermsOfService +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.termsOfService](../constructors/help.termsOfService.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v103/types/help.TermsOfServiceUpdate.md b/old_docs/API_docs_v103/types/help.TermsOfServiceUpdate.md new file mode 100644 index 00000000..e27b3c71 --- /dev/null +++ b/old_docs/API_docs_v103/types/help.TermsOfServiceUpdate.md @@ -0,0 +1,24 @@ +--- +title: help.TermsOfServiceUpdate +description: constructors and methods of type help.TermsOfServiceUpdate +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.TermsOfServiceUpdate +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.termsOfServiceUpdateEmpty](../constructors/help.termsOfServiceUpdateEmpty.md) + +[help.termsOfServiceUpdate](../constructors/help.termsOfServiceUpdate.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getTermsOfServiceUpdate](../methods/help.getTermsOfServiceUpdate.md) + + + diff --git a/old_docs/API_docs_v103/types/help.UserInfo.md b/old_docs/API_docs_v103/types/help.UserInfo.md new file mode 100644 index 00000000..9d91ee40 --- /dev/null +++ b/old_docs/API_docs_v103/types/help.UserInfo.md @@ -0,0 +1,26 @@ +--- +title: help.UserInfo +description: constructors and methods of type help.UserInfo +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.UserInfo +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.userInfoEmpty](../constructors/help.userInfoEmpty.md) + +[help.userInfo](../constructors/help.userInfo.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getUserInfo](../methods/help.getUserInfo.md) + +[$MadelineProto->help->editUserInfo](../methods/help.editUserInfo.md) + + + diff --git a/old_docs/API_docs_v103/types/help_AppUpdate.md b/old_docs/API_docs_v103/types/help_AppUpdate.md deleted file mode 100644 index 1f296a70..00000000 --- a/old_docs/API_docs_v103/types/help_AppUpdate.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: help_AppUpdate -description: constructors and methods of type help_AppUpdate -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_AppUpdate -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_appUpdate](../constructors/help_appUpdate.md) - -[help\_noAppUpdate](../constructors/help_noAppUpdate.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getAppUpdate](../methods/help_getAppUpdate.md) - - - diff --git a/old_docs/API_docs_v103/types/help_ConfigSimple.md b/old_docs/API_docs_v103/types/help_ConfigSimple.md deleted file mode 100644 index 81678d74..00000000 --- a/old_docs/API_docs_v103/types/help_ConfigSimple.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: help_ConfigSimple -description: constructors and methods of type help_ConfigSimple -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_ConfigSimple -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_configSimple](../constructors/help_configSimple.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v103/types/help_DeepLinkInfo.md b/old_docs/API_docs_v103/types/help_DeepLinkInfo.md deleted file mode 100644 index 776e8e09..00000000 --- a/old_docs/API_docs_v103/types/help_DeepLinkInfo.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: help_DeepLinkInfo -description: constructors and methods of type help_DeepLinkInfo -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_DeepLinkInfo -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_deepLinkInfoEmpty](../constructors/help_deepLinkInfoEmpty.md) - -[help\_deepLinkInfo](../constructors/help_deepLinkInfo.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getDeepLinkInfo](../methods/help_getDeepLinkInfo.md) - - - diff --git a/old_docs/API_docs_v103/types/help_InviteText.md b/old_docs/API_docs_v103/types/help_InviteText.md deleted file mode 100644 index 018d35bf..00000000 --- a/old_docs/API_docs_v103/types/help_InviteText.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: help_InviteText -description: constructors and methods of type help_InviteText -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_InviteText -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_inviteText](../constructors/help_inviteText.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getInviteText](../methods/help_getInviteText.md) - - - diff --git a/old_docs/API_docs_v103/types/help_PassportConfig.md b/old_docs/API_docs_v103/types/help_PassportConfig.md deleted file mode 100644 index e03abab7..00000000 --- a/old_docs/API_docs_v103/types/help_PassportConfig.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: help_PassportConfig -description: constructors and methods of type help_PassportConfig -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_PassportConfig -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_passportConfigNotModified](../constructors/help_passportConfigNotModified.md) - -[help\_passportConfig](../constructors/help_passportConfig.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getPassportConfig](../methods/help_getPassportConfig.md) - - - diff --git a/old_docs/API_docs_v103/types/help_ProxyData.md b/old_docs/API_docs_v103/types/help_ProxyData.md deleted file mode 100644 index 1bc6839e..00000000 --- a/old_docs/API_docs_v103/types/help_ProxyData.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: help_ProxyData -description: constructors and methods of type help_ProxyData -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_ProxyData -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_proxyDataEmpty](../constructors/help_proxyDataEmpty.md) - -[help\_proxyDataPromo](../constructors/help_proxyDataPromo.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getProxyData](../methods/help_getProxyData.md) - - - diff --git a/old_docs/API_docs_v103/types/help_RecentMeUrls.md b/old_docs/API_docs_v103/types/help_RecentMeUrls.md deleted file mode 100644 index 691af1c3..00000000 --- a/old_docs/API_docs_v103/types/help_RecentMeUrls.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: help_RecentMeUrls -description: constructors and methods of type help_RecentMeUrls -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_RecentMeUrls -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_recentMeUrls](../constructors/help_recentMeUrls.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getRecentMeUrls](../methods/help_getRecentMeUrls.md) - - - diff --git a/old_docs/API_docs_v103/types/help_Support.md b/old_docs/API_docs_v103/types/help_Support.md deleted file mode 100644 index 26de447b..00000000 --- a/old_docs/API_docs_v103/types/help_Support.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: help_Support -description: constructors and methods of type help_Support -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_Support -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_support](../constructors/help_support.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getSupport](../methods/help_getSupport.md) - - - diff --git a/old_docs/API_docs_v103/types/help_SupportName.md b/old_docs/API_docs_v103/types/help_SupportName.md deleted file mode 100644 index e89309a2..00000000 --- a/old_docs/API_docs_v103/types/help_SupportName.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: help_SupportName -description: constructors and methods of type help_SupportName -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_SupportName -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_supportName](../constructors/help_supportName.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getSupportName](../methods/help_getSupportName.md) - - - diff --git a/old_docs/API_docs_v103/types/help_TermsOfService.md b/old_docs/API_docs_v103/types/help_TermsOfService.md deleted file mode 100644 index 24f8eb68..00000000 --- a/old_docs/API_docs_v103/types/help_TermsOfService.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: help_TermsOfService -description: constructors and methods of type help_TermsOfService -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_TermsOfService -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_termsOfService](../constructors/help_termsOfService.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v103/types/help_TermsOfServiceUpdate.md b/old_docs/API_docs_v103/types/help_TermsOfServiceUpdate.md deleted file mode 100644 index 0e4f1ef2..00000000 --- a/old_docs/API_docs_v103/types/help_TermsOfServiceUpdate.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: help_TermsOfServiceUpdate -description: constructors and methods of type help_TermsOfServiceUpdate -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_TermsOfServiceUpdate -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_termsOfServiceUpdateEmpty](../constructors/help_termsOfServiceUpdateEmpty.md) - -[help\_termsOfServiceUpdate](../constructors/help_termsOfServiceUpdate.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getTermsOfServiceUpdate](../methods/help_getTermsOfServiceUpdate.md) - - - diff --git a/old_docs/API_docs_v103/types/help_UserInfo.md b/old_docs/API_docs_v103/types/help_UserInfo.md deleted file mode 100644 index 87ca4327..00000000 --- a/old_docs/API_docs_v103/types/help_UserInfo.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: help_UserInfo -description: constructors and methods of type help_UserInfo -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_UserInfo -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_userInfoEmpty](../constructors/help_userInfoEmpty.md) - -[help\_userInfo](../constructors/help_userInfo.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getUserInfo](../methods/help_getUserInfo.md) - -[$MadelineProto->help->editUserInfo](../methods/help_editUserInfo.md) - - - diff --git a/old_docs/API_docs_v103/types/messages.AffectedHistory.md b/old_docs/API_docs_v103/types/messages.AffectedHistory.md new file mode 100644 index 00000000..8a1e850a --- /dev/null +++ b/old_docs/API_docs_v103/types/messages.AffectedHistory.md @@ -0,0 +1,26 @@ +--- +title: messages.AffectedHistory +description: constructors and methods of type messages.AffectedHistory +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.AffectedHistory +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.affectedHistory](../constructors/messages.affectedHistory.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->deleteHistory](../methods/messages.deleteHistory.md) + +[$MadelineProto->messages->readMentions](../methods/messages.readMentions.md) + +[$MadelineProto->channels->deleteUserHistory](../methods/channels.deleteUserHistory.md) + + + diff --git a/old_docs/API_docs_v103/types/messages.AffectedMessages.md b/old_docs/API_docs_v103/types/messages.AffectedMessages.md new file mode 100644 index 00000000..a9159de3 --- /dev/null +++ b/old_docs/API_docs_v103/types/messages.AffectedMessages.md @@ -0,0 +1,28 @@ +--- +title: messages.AffectedMessages +description: constructors and methods of type messages.AffectedMessages +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.AffectedMessages +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.affectedMessages](../constructors/messages.affectedMessages.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->readHistory](../methods/messages.readHistory.md) + +[$MadelineProto->messages->deleteMessages](../methods/messages.deleteMessages.md) + +[$MadelineProto->messages->readMessageContents](../methods/messages.readMessageContents.md) + +[$MadelineProto->channels->deleteMessages](../methods/channels.deleteMessages.md) + + + diff --git a/old_docs/API_docs_v103/types/messages.AllStickers.md b/old_docs/API_docs_v103/types/messages.AllStickers.md new file mode 100644 index 00000000..fd8565de --- /dev/null +++ b/old_docs/API_docs_v103/types/messages.AllStickers.md @@ -0,0 +1,26 @@ +--- +title: messages.AllStickers +description: constructors and methods of type messages.AllStickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.AllStickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.allStickersNotModified](../constructors/messages.allStickersNotModified.md) + +[messages.allStickers](../constructors/messages.allStickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getAllStickers](../methods/messages.getAllStickers.md) + +[$MadelineProto->messages->getMaskStickers](../methods/messages.getMaskStickers.md) + + + diff --git a/old_docs/API_docs_v103/types/messages.ArchivedStickers.md b/old_docs/API_docs_v103/types/messages.ArchivedStickers.md new file mode 100644 index 00000000..3e017c5d --- /dev/null +++ b/old_docs/API_docs_v103/types/messages.ArchivedStickers.md @@ -0,0 +1,22 @@ +--- +title: messages.ArchivedStickers +description: constructors and methods of type messages.ArchivedStickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.ArchivedStickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.archivedStickers](../constructors/messages.archivedStickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getArchivedStickers](../methods/messages.getArchivedStickers.md) + + + diff --git a/old_docs/API_docs_v103/types/messages.BotCallbackAnswer.md b/old_docs/API_docs_v103/types/messages.BotCallbackAnswer.md new file mode 100644 index 00000000..ef30fbfb --- /dev/null +++ b/old_docs/API_docs_v103/types/messages.BotCallbackAnswer.md @@ -0,0 +1,22 @@ +--- +title: messages.BotCallbackAnswer +description: constructors and methods of type messages.BotCallbackAnswer +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.BotCallbackAnswer +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.botCallbackAnswer](../constructors/messages.botCallbackAnswer.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getBotCallbackAnswer](../methods/messages.getBotCallbackAnswer.md) + + + diff --git a/old_docs/API_docs_v103/types/messages.BotResults.md b/old_docs/API_docs_v103/types/messages.BotResults.md new file mode 100644 index 00000000..76ee2b99 --- /dev/null +++ b/old_docs/API_docs_v103/types/messages.BotResults.md @@ -0,0 +1,22 @@ +--- +title: messages.BotResults +description: constructors and methods of type messages.BotResults +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.BotResults +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.botResults](../constructors/messages.botResults.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getInlineBotResults](../methods/messages.getInlineBotResults.md) + + + diff --git a/old_docs/API_docs_v103/types/messages.ChatFull.md b/old_docs/API_docs_v103/types/messages.ChatFull.md new file mode 100644 index 00000000..3ad38748 --- /dev/null +++ b/old_docs/API_docs_v103/types/messages.ChatFull.md @@ -0,0 +1,24 @@ +--- +title: messages.ChatFull +description: constructors and methods of type messages.ChatFull +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.ChatFull +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.chatFull](../constructors/messages.chatFull.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getFullChat](../methods/messages.getFullChat.md) + +[$MadelineProto->channels->getFullChannel](../methods/channels.getFullChannel.md) + + + diff --git a/old_docs/API_docs_v103/types/messages.Chats.md b/old_docs/API_docs_v103/types/messages.Chats.md new file mode 100644 index 00000000..60180618 --- /dev/null +++ b/old_docs/API_docs_v103/types/messages.Chats.md @@ -0,0 +1,36 @@ +--- +title: messages.Chats +description: constructors and methods of type messages.Chats +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Chats +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.chats](../constructors/messages.chats.md) + +[messages.chatsSlice](../constructors/messages.chatsSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getChats](../methods/messages.getChats.md) + +[$MadelineProto->messages->getCommonChats](../methods/messages.getCommonChats.md) + +[$MadelineProto->messages->getAllChats](../methods/messages.getAllChats.md) + +[$MadelineProto->channels->getChannels](../methods/channels.getChannels.md) + +[$MadelineProto->channels->getAdminedPublicChannels](../methods/channels.getAdminedPublicChannels.md) + +[$MadelineProto->channels->getLeftChannels](../methods/channels.getLeftChannels.md) + +[$MadelineProto->channels->getGroupsForDiscussion](../methods/channels.getGroupsForDiscussion.md) + + + diff --git a/old_docs/API_docs_v103/types/messages.DhConfig.md b/old_docs/API_docs_v103/types/messages.DhConfig.md new file mode 100644 index 00000000..77188ab7 --- /dev/null +++ b/old_docs/API_docs_v103/types/messages.DhConfig.md @@ -0,0 +1,24 @@ +--- +title: messages.DhConfig +description: constructors and methods of type messages.DhConfig +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.DhConfig +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.dhConfigNotModified](../constructors/messages.dhConfigNotModified.md) + +[messages.dhConfig](../constructors/messages.dhConfig.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getDhConfig](../methods/messages.getDhConfig.md) + + + diff --git a/old_docs/API_docs_v103/types/messages.Dialogs.md b/old_docs/API_docs_v103/types/messages.Dialogs.md new file mode 100644 index 00000000..e14885b1 --- /dev/null +++ b/old_docs/API_docs_v103/types/messages.Dialogs.md @@ -0,0 +1,26 @@ +--- +title: messages.Dialogs +description: constructors and methods of type messages.Dialogs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Dialogs +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.dialogs](../constructors/messages.dialogs.md) + +[messages.dialogsSlice](../constructors/messages.dialogsSlice.md) + +[messages.dialogsNotModified](../constructors/messages.dialogsNotModified.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getDialogs](../methods/messages.getDialogs.md) + + + diff --git a/old_docs/API_docs_v103/types/messages.FavedStickers.md b/old_docs/API_docs_v103/types/messages.FavedStickers.md new file mode 100644 index 00000000..3edc863b --- /dev/null +++ b/old_docs/API_docs_v103/types/messages.FavedStickers.md @@ -0,0 +1,24 @@ +--- +title: messages.FavedStickers +description: constructors and methods of type messages.FavedStickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.FavedStickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.favedStickersNotModified](../constructors/messages.favedStickersNotModified.md) + +[messages.favedStickers](../constructors/messages.favedStickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getFavedStickers](../methods/messages.getFavedStickers.md) + + + diff --git a/old_docs/API_docs_v103/types/messages.FeaturedStickers.md b/old_docs/API_docs_v103/types/messages.FeaturedStickers.md new file mode 100644 index 00000000..06ed87bb --- /dev/null +++ b/old_docs/API_docs_v103/types/messages.FeaturedStickers.md @@ -0,0 +1,24 @@ +--- +title: messages.FeaturedStickers +description: constructors and methods of type messages.FeaturedStickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.FeaturedStickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.featuredStickersNotModified](../constructors/messages.featuredStickersNotModified.md) + +[messages.featuredStickers](../constructors/messages.featuredStickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getFeaturedStickers](../methods/messages.getFeaturedStickers.md) + + + diff --git a/old_docs/API_docs_v103/types/messages.FoundGifs.md b/old_docs/API_docs_v103/types/messages.FoundGifs.md new file mode 100644 index 00000000..b5176a5d --- /dev/null +++ b/old_docs/API_docs_v103/types/messages.FoundGifs.md @@ -0,0 +1,22 @@ +--- +title: messages.FoundGifs +description: constructors and methods of type messages.FoundGifs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.FoundGifs +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.foundGifs](../constructors/messages.foundGifs.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->searchGifs](../methods/messages.searchGifs.md) + + + diff --git a/old_docs/API_docs_v103/types/messages.FoundStickerSets.md b/old_docs/API_docs_v103/types/messages.FoundStickerSets.md new file mode 100644 index 00000000..eb6eb284 --- /dev/null +++ b/old_docs/API_docs_v103/types/messages.FoundStickerSets.md @@ -0,0 +1,24 @@ +--- +title: messages.FoundStickerSets +description: constructors and methods of type messages.FoundStickerSets +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.FoundStickerSets +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.foundStickerSetsNotModified](../constructors/messages.foundStickerSetsNotModified.md) + +[messages.foundStickerSets](../constructors/messages.foundStickerSets.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->searchStickerSets](../methods/messages.searchStickerSets.md) + + + diff --git a/old_docs/API_docs_v103/types/messages.HighScores.md b/old_docs/API_docs_v103/types/messages.HighScores.md new file mode 100644 index 00000000..eae9db66 --- /dev/null +++ b/old_docs/API_docs_v103/types/messages.HighScores.md @@ -0,0 +1,24 @@ +--- +title: messages.HighScores +description: constructors and methods of type messages.HighScores +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.HighScores +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.highScores](../constructors/messages.highScores.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getGameHighScores](../methods/messages.getGameHighScores.md) + +[$MadelineProto->messages->getInlineGameHighScores](../methods/messages.getInlineGameHighScores.md) + + + diff --git a/old_docs/API_docs_v103/types/messages.MessageEditData.md b/old_docs/API_docs_v103/types/messages.MessageEditData.md new file mode 100644 index 00000000..feb572f1 --- /dev/null +++ b/old_docs/API_docs_v103/types/messages.MessageEditData.md @@ -0,0 +1,22 @@ +--- +title: messages.MessageEditData +description: constructors and methods of type messages.MessageEditData +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.MessageEditData +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.messageEditData](../constructors/messages.messageEditData.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getMessageEditData](../methods/messages.getMessageEditData.md) + + + diff --git a/old_docs/API_docs_v103/types/messages.Messages.md b/old_docs/API_docs_v103/types/messages.Messages.md new file mode 100644 index 00000000..699ceada --- /dev/null +++ b/old_docs/API_docs_v103/types/messages.Messages.md @@ -0,0 +1,40 @@ +--- +title: messages.Messages +description: constructors and methods of type messages.Messages +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Messages +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.messages](../constructors/messages.messages.md) + +[messages.messagesSlice](../constructors/messages.messagesSlice.md) + +[messages.channelMessages](../constructors/messages.channelMessages.md) + +[messages.messagesNotModified](../constructors/messages.messagesNotModified.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getMessages](../methods/messages.getMessages.md) + +[$MadelineProto->messages->getHistory](../methods/messages.getHistory.md) + +[$MadelineProto->messages->search](../methods/messages.search.md) + +[$MadelineProto->messages->searchGlobal](../methods/messages.searchGlobal.md) + +[$MadelineProto->messages->getUnreadMentions](../methods/messages.getUnreadMentions.md) + +[$MadelineProto->messages->getRecentLocations](../methods/messages.getRecentLocations.md) + +[$MadelineProto->channels->getMessages](../methods/channels.getMessages.md) + + + diff --git a/old_docs/API_docs_v103/types/messages.PeerDialogs.md b/old_docs/API_docs_v103/types/messages.PeerDialogs.md new file mode 100644 index 00000000..9a1ceaf0 --- /dev/null +++ b/old_docs/API_docs_v103/types/messages.PeerDialogs.md @@ -0,0 +1,24 @@ +--- +title: messages.PeerDialogs +description: constructors and methods of type messages.PeerDialogs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.PeerDialogs +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.peerDialogs](../constructors/messages.peerDialogs.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getPeerDialogs](../methods/messages.getPeerDialogs.md) + +[$MadelineProto->messages->getPinnedDialogs](../methods/messages.getPinnedDialogs.md) + + + diff --git a/old_docs/API_docs_v103/types/messages.RecentStickers.md b/old_docs/API_docs_v103/types/messages.RecentStickers.md new file mode 100644 index 00000000..e5c49b92 --- /dev/null +++ b/old_docs/API_docs_v103/types/messages.RecentStickers.md @@ -0,0 +1,24 @@ +--- +title: messages.RecentStickers +description: constructors and methods of type messages.RecentStickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.RecentStickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.recentStickersNotModified](../constructors/messages.recentStickersNotModified.md) + +[messages.recentStickers](../constructors/messages.recentStickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getRecentStickers](../methods/messages.getRecentStickers.md) + + + diff --git a/old_docs/API_docs_v103/types/messages.SavedGifs.md b/old_docs/API_docs_v103/types/messages.SavedGifs.md new file mode 100644 index 00000000..99844c98 --- /dev/null +++ b/old_docs/API_docs_v103/types/messages.SavedGifs.md @@ -0,0 +1,24 @@ +--- +title: messages.SavedGifs +description: constructors and methods of type messages.SavedGifs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.SavedGifs +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.savedGifsNotModified](../constructors/messages.savedGifsNotModified.md) + +[messages.savedGifs](../constructors/messages.savedGifs.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getSavedGifs](../methods/messages.getSavedGifs.md) + + + diff --git a/old_docs/API_docs_v103/types/messages.SearchCounter.md b/old_docs/API_docs_v103/types/messages.SearchCounter.md new file mode 100644 index 00000000..d2194858 --- /dev/null +++ b/old_docs/API_docs_v103/types/messages.SearchCounter.md @@ -0,0 +1,22 @@ +--- +title: messages.SearchCounter +description: constructors and methods of type messages.SearchCounter +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.SearchCounter +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.searchCounter](../constructors/messages.searchCounter.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getSearchCounters](../methods/messages.getSearchCounters.md) + + + diff --git a/old_docs/API_docs_v103/types/messages.SentEncryptedMessage.md b/old_docs/API_docs_v103/types/messages.SentEncryptedMessage.md new file mode 100644 index 00000000..b6d05b1f --- /dev/null +++ b/old_docs/API_docs_v103/types/messages.SentEncryptedMessage.md @@ -0,0 +1,28 @@ +--- +title: messages.SentEncryptedMessage +description: constructors and methods of type messages.SentEncryptedMessage +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.SentEncryptedMessage +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.sentEncryptedMessage](../constructors/messages.sentEncryptedMessage.md) + +[messages.sentEncryptedFile](../constructors/messages.sentEncryptedFile.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->sendEncrypted](../methods/messages.sendEncrypted.md) + +[$MadelineProto->messages->sendEncryptedFile](../methods/messages.sendEncryptedFile.md) + +[$MadelineProto->messages->sendEncryptedService](../methods/messages.sendEncryptedService.md) + + + diff --git a/old_docs/API_docs_v103/types/messages.StickerSet.md b/old_docs/API_docs_v103/types/messages.StickerSet.md new file mode 100644 index 00000000..e173fe45 --- /dev/null +++ b/old_docs/API_docs_v103/types/messages.StickerSet.md @@ -0,0 +1,30 @@ +--- +title: messages.StickerSet +description: constructors and methods of type messages.StickerSet +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.StickerSet +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.stickerSet](../constructors/messages.stickerSet.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getStickerSet](../methods/messages.getStickerSet.md) + +[$MadelineProto->stickers->createStickerSet](../methods/stickers.createStickerSet.md) + +[$MadelineProto->stickers->removeStickerFromSet](../methods/stickers.removeStickerFromSet.md) + +[$MadelineProto->stickers->changeStickerPosition](../methods/stickers.changeStickerPosition.md) + +[$MadelineProto->stickers->addStickerToSet](../methods/stickers.addStickerToSet.md) + + + diff --git a/old_docs/API_docs_v103/types/messages.StickerSetInstallResult.md b/old_docs/API_docs_v103/types/messages.StickerSetInstallResult.md new file mode 100644 index 00000000..9e09c293 --- /dev/null +++ b/old_docs/API_docs_v103/types/messages.StickerSetInstallResult.md @@ -0,0 +1,24 @@ +--- +title: messages.StickerSetInstallResult +description: constructors and methods of type messages.StickerSetInstallResult +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.StickerSetInstallResult +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.stickerSetInstallResultSuccess](../constructors/messages.stickerSetInstallResultSuccess.md) + +[messages.stickerSetInstallResultArchive](../constructors/messages.stickerSetInstallResultArchive.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->installStickerSet](../methods/messages.installStickerSet.md) + + + diff --git a/old_docs/API_docs_v103/types/messages.Stickers.md b/old_docs/API_docs_v103/types/messages.Stickers.md new file mode 100644 index 00000000..43bddf06 --- /dev/null +++ b/old_docs/API_docs_v103/types/messages.Stickers.md @@ -0,0 +1,24 @@ +--- +title: messages.Stickers +description: constructors and methods of type messages.Stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Stickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.stickersNotModified](../constructors/messages.stickersNotModified.md) + +[messages.stickers](../constructors/messages.stickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getStickers](../methods/messages.getStickers.md) + + + diff --git a/old_docs/API_docs_v103/types/messages_AffectedHistory.md b/old_docs/API_docs_v103/types/messages_AffectedHistory.md deleted file mode 100644 index 9eef04c0..00000000 --- a/old_docs/API_docs_v103/types/messages_AffectedHistory.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: messages_AffectedHistory -description: constructors and methods of type messages_AffectedHistory -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_AffectedHistory -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_affectedHistory](../constructors/messages_affectedHistory.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->deleteHistory](../methods/messages_deleteHistory.md) - -[$MadelineProto->messages->readMentions](../methods/messages_readMentions.md) - -[$MadelineProto->channels->deleteUserHistory](../methods/channels_deleteUserHistory.md) - - - diff --git a/old_docs/API_docs_v103/types/messages_AffectedMessages.md b/old_docs/API_docs_v103/types/messages_AffectedMessages.md deleted file mode 100644 index dcbea721..00000000 --- a/old_docs/API_docs_v103/types/messages_AffectedMessages.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: messages_AffectedMessages -description: constructors and methods of type messages_AffectedMessages -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_AffectedMessages -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_affectedMessages](../constructors/messages_affectedMessages.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->readHistory](../methods/messages_readHistory.md) - -[$MadelineProto->messages->deleteMessages](../methods/messages_deleteMessages.md) - -[$MadelineProto->messages->readMessageContents](../methods/messages_readMessageContents.md) - -[$MadelineProto->channels->deleteMessages](../methods/channels_deleteMessages.md) - - - diff --git a/old_docs/API_docs_v103/types/messages_AllStickers.md b/old_docs/API_docs_v103/types/messages_AllStickers.md deleted file mode 100644 index b6a322e0..00000000 --- a/old_docs/API_docs_v103/types/messages_AllStickers.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: messages_AllStickers -description: constructors and methods of type messages_AllStickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_AllStickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_allStickersNotModified](../constructors/messages_allStickersNotModified.md) - -[messages\_allStickers](../constructors/messages_allStickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getAllStickers](../methods/messages_getAllStickers.md) - -[$MadelineProto->messages->getMaskStickers](../methods/messages_getMaskStickers.md) - - - diff --git a/old_docs/API_docs_v103/types/messages_ArchivedStickers.md b/old_docs/API_docs_v103/types/messages_ArchivedStickers.md deleted file mode 100644 index c569675e..00000000 --- a/old_docs/API_docs_v103/types/messages_ArchivedStickers.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_ArchivedStickers -description: constructors and methods of type messages_ArchivedStickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_ArchivedStickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_archivedStickers](../constructors/messages_archivedStickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getArchivedStickers](../methods/messages_getArchivedStickers.md) - - - diff --git a/old_docs/API_docs_v103/types/messages_BotCallbackAnswer.md b/old_docs/API_docs_v103/types/messages_BotCallbackAnswer.md deleted file mode 100644 index f8d424d0..00000000 --- a/old_docs/API_docs_v103/types/messages_BotCallbackAnswer.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_BotCallbackAnswer -description: constructors and methods of type messages_BotCallbackAnswer -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_BotCallbackAnswer -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_botCallbackAnswer](../constructors/messages_botCallbackAnswer.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getBotCallbackAnswer](../methods/messages_getBotCallbackAnswer.md) - - - diff --git a/old_docs/API_docs_v103/types/messages_BotResults.md b/old_docs/API_docs_v103/types/messages_BotResults.md deleted file mode 100644 index c346c5bd..00000000 --- a/old_docs/API_docs_v103/types/messages_BotResults.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_BotResults -description: constructors and methods of type messages_BotResults -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_BotResults -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_botResults](../constructors/messages_botResults.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getInlineBotResults](../methods/messages_getInlineBotResults.md) - - - diff --git a/old_docs/API_docs_v103/types/messages_ChatFull.md b/old_docs/API_docs_v103/types/messages_ChatFull.md deleted file mode 100644 index e4add41e..00000000 --- a/old_docs/API_docs_v103/types/messages_ChatFull.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_ChatFull -description: constructors and methods of type messages_ChatFull -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_ChatFull -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_chatFull](../constructors/messages_chatFull.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getFullChat](../methods/messages_getFullChat.md) - -[$MadelineProto->channels->getFullChannel](../methods/channels_getFullChannel.md) - - - diff --git a/old_docs/API_docs_v103/types/messages_Chats.md b/old_docs/API_docs_v103/types/messages_Chats.md deleted file mode 100644 index 38ecd651..00000000 --- a/old_docs/API_docs_v103/types/messages_Chats.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -title: messages_Chats -description: constructors and methods of type messages_Chats -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Chats -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_chats](../constructors/messages_chats.md) - -[messages\_chatsSlice](../constructors/messages_chatsSlice.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getChats](../methods/messages_getChats.md) - -[$MadelineProto->messages->getCommonChats](../methods/messages_getCommonChats.md) - -[$MadelineProto->messages->getAllChats](../methods/messages_getAllChats.md) - -[$MadelineProto->channels->getChannels](../methods/channels_getChannels.md) - -[$MadelineProto->channels->getAdminedPublicChannels](../methods/channels_getAdminedPublicChannels.md) - -[$MadelineProto->channels->getLeftChannels](../methods/channels_getLeftChannels.md) - -[$MadelineProto->channels->getGroupsForDiscussion](../methods/channels_getGroupsForDiscussion.md) - - - diff --git a/old_docs/API_docs_v103/types/messages_DhConfig.md b/old_docs/API_docs_v103/types/messages_DhConfig.md deleted file mode 100644 index ce237411..00000000 --- a/old_docs/API_docs_v103/types/messages_DhConfig.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_DhConfig -description: constructors and methods of type messages_DhConfig -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_DhConfig -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_dhConfigNotModified](../constructors/messages_dhConfigNotModified.md) - -[messages\_dhConfig](../constructors/messages_dhConfig.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getDhConfig](../methods/messages_getDhConfig.md) - - - diff --git a/old_docs/API_docs_v103/types/messages_Dialogs.md b/old_docs/API_docs_v103/types/messages_Dialogs.md deleted file mode 100644 index 86d5eb72..00000000 --- a/old_docs/API_docs_v103/types/messages_Dialogs.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: messages_Dialogs -description: constructors and methods of type messages_Dialogs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Dialogs -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_dialogs](../constructors/messages_dialogs.md) - -[messages\_dialogsSlice](../constructors/messages_dialogsSlice.md) - -[messages\_dialogsNotModified](../constructors/messages_dialogsNotModified.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getDialogs](../methods/messages_getDialogs.md) - - - diff --git a/old_docs/API_docs_v103/types/messages_FavedStickers.md b/old_docs/API_docs_v103/types/messages_FavedStickers.md deleted file mode 100644 index 6fa1f221..00000000 --- a/old_docs/API_docs_v103/types/messages_FavedStickers.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_FavedStickers -description: constructors and methods of type messages_FavedStickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_FavedStickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_favedStickersNotModified](../constructors/messages_favedStickersNotModified.md) - -[messages\_favedStickers](../constructors/messages_favedStickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getFavedStickers](../methods/messages_getFavedStickers.md) - - - diff --git a/old_docs/API_docs_v103/types/messages_FeaturedStickers.md b/old_docs/API_docs_v103/types/messages_FeaturedStickers.md deleted file mode 100644 index 9b4c5002..00000000 --- a/old_docs/API_docs_v103/types/messages_FeaturedStickers.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_FeaturedStickers -description: constructors and methods of type messages_FeaturedStickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_FeaturedStickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_featuredStickersNotModified](../constructors/messages_featuredStickersNotModified.md) - -[messages\_featuredStickers](../constructors/messages_featuredStickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getFeaturedStickers](../methods/messages_getFeaturedStickers.md) - - - diff --git a/old_docs/API_docs_v103/types/messages_FoundGifs.md b/old_docs/API_docs_v103/types/messages_FoundGifs.md deleted file mode 100644 index 9dd088ba..00000000 --- a/old_docs/API_docs_v103/types/messages_FoundGifs.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_FoundGifs -description: constructors and methods of type messages_FoundGifs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_FoundGifs -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_foundGifs](../constructors/messages_foundGifs.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->searchGifs](../methods/messages_searchGifs.md) - - - diff --git a/old_docs/API_docs_v103/types/messages_FoundStickerSets.md b/old_docs/API_docs_v103/types/messages_FoundStickerSets.md deleted file mode 100644 index 9045b0d7..00000000 --- a/old_docs/API_docs_v103/types/messages_FoundStickerSets.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_FoundStickerSets -description: constructors and methods of type messages_FoundStickerSets -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_FoundStickerSets -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_foundStickerSetsNotModified](../constructors/messages_foundStickerSetsNotModified.md) - -[messages\_foundStickerSets](../constructors/messages_foundStickerSets.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->searchStickerSets](../methods/messages_searchStickerSets.md) - - - diff --git a/old_docs/API_docs_v103/types/messages_HighScores.md b/old_docs/API_docs_v103/types/messages_HighScores.md deleted file mode 100644 index 9660e255..00000000 --- a/old_docs/API_docs_v103/types/messages_HighScores.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_HighScores -description: constructors and methods of type messages_HighScores -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_HighScores -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_highScores](../constructors/messages_highScores.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getGameHighScores](../methods/messages_getGameHighScores.md) - -[$MadelineProto->messages->getInlineGameHighScores](../methods/messages_getInlineGameHighScores.md) - - - diff --git a/old_docs/API_docs_v103/types/messages_MessageEditData.md b/old_docs/API_docs_v103/types/messages_MessageEditData.md deleted file mode 100644 index ed3c507a..00000000 --- a/old_docs/API_docs_v103/types/messages_MessageEditData.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_MessageEditData -description: constructors and methods of type messages_MessageEditData -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_MessageEditData -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_messageEditData](../constructors/messages_messageEditData.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getMessageEditData](../methods/messages_getMessageEditData.md) - - - diff --git a/old_docs/API_docs_v103/types/messages_Messages.md b/old_docs/API_docs_v103/types/messages_Messages.md deleted file mode 100644 index 35514e90..00000000 --- a/old_docs/API_docs_v103/types/messages_Messages.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages_Messages -description: constructors and methods of type messages_Messages -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Messages -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_messages](../constructors/messages_messages.md) - -[messages\_messagesSlice](../constructors/messages_messagesSlice.md) - -[messages\_channelMessages](../constructors/messages_channelMessages.md) - -[messages\_messagesNotModified](../constructors/messages_messagesNotModified.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getMessages](../methods/messages_getMessages.md) - -[$MadelineProto->messages->getHistory](../methods/messages_getHistory.md) - -[$MadelineProto->messages->search](../methods/messages_search.md) - -[$MadelineProto->messages->searchGlobal](../methods/messages_searchGlobal.md) - -[$MadelineProto->messages->getUnreadMentions](../methods/messages_getUnreadMentions.md) - -[$MadelineProto->messages->getRecentLocations](../methods/messages_getRecentLocations.md) - -[$MadelineProto->channels->getMessages](../methods/channels_getMessages.md) - - - diff --git a/old_docs/API_docs_v103/types/messages_PeerDialogs.md b/old_docs/API_docs_v103/types/messages_PeerDialogs.md deleted file mode 100644 index 2477931f..00000000 --- a/old_docs/API_docs_v103/types/messages_PeerDialogs.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_PeerDialogs -description: constructors and methods of type messages_PeerDialogs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_PeerDialogs -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_peerDialogs](../constructors/messages_peerDialogs.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getPeerDialogs](../methods/messages_getPeerDialogs.md) - -[$MadelineProto->messages->getPinnedDialogs](../methods/messages_getPinnedDialogs.md) - - - diff --git a/old_docs/API_docs_v103/types/messages_RecentStickers.md b/old_docs/API_docs_v103/types/messages_RecentStickers.md deleted file mode 100644 index 2c9db779..00000000 --- a/old_docs/API_docs_v103/types/messages_RecentStickers.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_RecentStickers -description: constructors and methods of type messages_RecentStickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_RecentStickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_recentStickersNotModified](../constructors/messages_recentStickersNotModified.md) - -[messages\_recentStickers](../constructors/messages_recentStickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getRecentStickers](../methods/messages_getRecentStickers.md) - - - diff --git a/old_docs/API_docs_v103/types/messages_SavedGifs.md b/old_docs/API_docs_v103/types/messages_SavedGifs.md deleted file mode 100644 index ffb000aa..00000000 --- a/old_docs/API_docs_v103/types/messages_SavedGifs.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_SavedGifs -description: constructors and methods of type messages_SavedGifs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_SavedGifs -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_savedGifsNotModified](../constructors/messages_savedGifsNotModified.md) - -[messages\_savedGifs](../constructors/messages_savedGifs.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getSavedGifs](../methods/messages_getSavedGifs.md) - - - diff --git a/old_docs/API_docs_v103/types/messages_SearchCounter.md b/old_docs/API_docs_v103/types/messages_SearchCounter.md deleted file mode 100644 index 1ce67b2a..00000000 --- a/old_docs/API_docs_v103/types/messages_SearchCounter.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_SearchCounter -description: constructors and methods of type messages_SearchCounter -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_SearchCounter -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_searchCounter](../constructors/messages_searchCounter.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getSearchCounters](../methods/messages_getSearchCounters.md) - - - diff --git a/old_docs/API_docs_v103/types/messages_SentEncryptedMessage.md b/old_docs/API_docs_v103/types/messages_SentEncryptedMessage.md deleted file mode 100644 index 9f7ab935..00000000 --- a/old_docs/API_docs_v103/types/messages_SentEncryptedMessage.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: messages_SentEncryptedMessage -description: constructors and methods of type messages_SentEncryptedMessage -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_SentEncryptedMessage -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_sentEncryptedMessage](../constructors/messages_sentEncryptedMessage.md) - -[messages\_sentEncryptedFile](../constructors/messages_sentEncryptedFile.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->sendEncrypted](../methods/messages_sendEncrypted.md) - -[$MadelineProto->messages->sendEncryptedFile](../methods/messages_sendEncryptedFile.md) - -[$MadelineProto->messages->sendEncryptedService](../methods/messages_sendEncryptedService.md) - - - diff --git a/old_docs/API_docs_v103/types/messages_StickerSet.md b/old_docs/API_docs_v103/types/messages_StickerSet.md deleted file mode 100644 index 98e34dd2..00000000 --- a/old_docs/API_docs_v103/types/messages_StickerSet.md +++ /dev/null @@ -1,30 +0,0 @@ ---- -title: messages_StickerSet -description: constructors and methods of type messages_StickerSet -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_StickerSet -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_stickerSet](../constructors/messages_stickerSet.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getStickerSet](../methods/messages_getStickerSet.md) - -[$MadelineProto->stickers->createStickerSet](../methods/stickers_createStickerSet.md) - -[$MadelineProto->stickers->removeStickerFromSet](../methods/stickers_removeStickerFromSet.md) - -[$MadelineProto->stickers->changeStickerPosition](../methods/stickers_changeStickerPosition.md) - -[$MadelineProto->stickers->addStickerToSet](../methods/stickers_addStickerToSet.md) - - - diff --git a/old_docs/API_docs_v103/types/messages_StickerSetInstallResult.md b/old_docs/API_docs_v103/types/messages_StickerSetInstallResult.md deleted file mode 100644 index bb62ec11..00000000 --- a/old_docs/API_docs_v103/types/messages_StickerSetInstallResult.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_StickerSetInstallResult -description: constructors and methods of type messages_StickerSetInstallResult -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_StickerSetInstallResult -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_stickerSetInstallResultSuccess](../constructors/messages_stickerSetInstallResultSuccess.md) - -[messages\_stickerSetInstallResultArchive](../constructors/messages_stickerSetInstallResultArchive.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->installStickerSet](../methods/messages_installStickerSet.md) - - - diff --git a/old_docs/API_docs_v103/types/messages_Stickers.md b/old_docs/API_docs_v103/types/messages_Stickers.md deleted file mode 100644 index cf53f57b..00000000 --- a/old_docs/API_docs_v103/types/messages_Stickers.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_Stickers -description: constructors and methods of type messages_Stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Stickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_stickersNotModified](../constructors/messages_stickersNotModified.md) - -[messages\_stickers](../constructors/messages_stickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getStickers](../methods/messages_getStickers.md) - - - diff --git a/old_docs/API_docs_v103/types/payments.PaymentForm.md b/old_docs/API_docs_v103/types/payments.PaymentForm.md new file mode 100644 index 00000000..985c1957 --- /dev/null +++ b/old_docs/API_docs_v103/types/payments.PaymentForm.md @@ -0,0 +1,22 @@ +--- +title: payments.PaymentForm +description: constructors and methods of type payments.PaymentForm +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: payments.PaymentForm +[Back to types index](index.md) + + + +### Possible values (constructors): + +[payments.paymentForm](../constructors/payments.paymentForm.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->payments->getPaymentForm](../methods/payments.getPaymentForm.md) + + + diff --git a/old_docs/API_docs_v103/types/payments.PaymentReceipt.md b/old_docs/API_docs_v103/types/payments.PaymentReceipt.md new file mode 100644 index 00000000..45cebd47 --- /dev/null +++ b/old_docs/API_docs_v103/types/payments.PaymentReceipt.md @@ -0,0 +1,22 @@ +--- +title: payments.PaymentReceipt +description: constructors and methods of type payments.PaymentReceipt +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: payments.PaymentReceipt +[Back to types index](index.md) + + + +### Possible values (constructors): + +[payments.paymentReceipt](../constructors/payments.paymentReceipt.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->payments->getPaymentReceipt](../methods/payments.getPaymentReceipt.md) + + + diff --git a/old_docs/API_docs_v103/types/payments.PaymentResult.md b/old_docs/API_docs_v103/types/payments.PaymentResult.md new file mode 100644 index 00000000..9bbff9af --- /dev/null +++ b/old_docs/API_docs_v103/types/payments.PaymentResult.md @@ -0,0 +1,24 @@ +--- +title: payments.PaymentResult +description: constructors and methods of type payments.PaymentResult +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: payments.PaymentResult +[Back to types index](index.md) + + + +### Possible values (constructors): + +[payments.paymentResult](../constructors/payments.paymentResult.md) + +[payments.paymentVerficationNeeded](../constructors/payments.paymentVerficationNeeded.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->payments->sendPaymentForm](../methods/payments.sendPaymentForm.md) + + + diff --git a/old_docs/API_docs_v103/types/payments.SavedInfo.md b/old_docs/API_docs_v103/types/payments.SavedInfo.md new file mode 100644 index 00000000..cf7be16c --- /dev/null +++ b/old_docs/API_docs_v103/types/payments.SavedInfo.md @@ -0,0 +1,22 @@ +--- +title: payments.SavedInfo +description: constructors and methods of type payments.SavedInfo +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: payments.SavedInfo +[Back to types index](index.md) + + + +### Possible values (constructors): + +[payments.savedInfo](../constructors/payments.savedInfo.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->payments->getSavedInfo](../methods/payments.getSavedInfo.md) + + + diff --git a/old_docs/API_docs_v103/types/payments.ValidatedRequestedInfo.md b/old_docs/API_docs_v103/types/payments.ValidatedRequestedInfo.md new file mode 100644 index 00000000..653a5064 --- /dev/null +++ b/old_docs/API_docs_v103/types/payments.ValidatedRequestedInfo.md @@ -0,0 +1,22 @@ +--- +title: payments.ValidatedRequestedInfo +description: constructors and methods of type payments.ValidatedRequestedInfo +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: payments.ValidatedRequestedInfo +[Back to types index](index.md) + + + +### Possible values (constructors): + +[payments.validatedRequestedInfo](../constructors/payments.validatedRequestedInfo.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->payments->validateRequestedInfo](../methods/payments.validateRequestedInfo.md) + + + diff --git a/old_docs/API_docs_v103/types/payments_PaymentForm.md b/old_docs/API_docs_v103/types/payments_PaymentForm.md deleted file mode 100644 index 4662586d..00000000 --- a/old_docs/API_docs_v103/types/payments_PaymentForm.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: payments_PaymentForm -description: constructors and methods of type payments_PaymentForm -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: payments\_PaymentForm -[Back to types index](index.md) - - - -### Possible values (constructors): - -[payments\_paymentForm](../constructors/payments_paymentForm.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->payments->getPaymentForm](../methods/payments_getPaymentForm.md) - - - diff --git a/old_docs/API_docs_v103/types/payments_PaymentReceipt.md b/old_docs/API_docs_v103/types/payments_PaymentReceipt.md deleted file mode 100644 index b4770d2a..00000000 --- a/old_docs/API_docs_v103/types/payments_PaymentReceipt.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: payments_PaymentReceipt -description: constructors and methods of type payments_PaymentReceipt -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: payments\_PaymentReceipt -[Back to types index](index.md) - - - -### Possible values (constructors): - -[payments\_paymentReceipt](../constructors/payments_paymentReceipt.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->payments->getPaymentReceipt](../methods/payments_getPaymentReceipt.md) - - - diff --git a/old_docs/API_docs_v103/types/payments_PaymentResult.md b/old_docs/API_docs_v103/types/payments_PaymentResult.md deleted file mode 100644 index 3c0ad411..00000000 --- a/old_docs/API_docs_v103/types/payments_PaymentResult.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: payments_PaymentResult -description: constructors and methods of type payments_PaymentResult -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: payments\_PaymentResult -[Back to types index](index.md) - - - -### Possible values (constructors): - -[payments\_paymentResult](../constructors/payments_paymentResult.md) - -[payments\_paymentVerficationNeeded](../constructors/payments_paymentVerficationNeeded.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->payments->sendPaymentForm](../methods/payments_sendPaymentForm.md) - - - diff --git a/old_docs/API_docs_v103/types/payments_SavedInfo.md b/old_docs/API_docs_v103/types/payments_SavedInfo.md deleted file mode 100644 index c8f7b9e3..00000000 --- a/old_docs/API_docs_v103/types/payments_SavedInfo.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: payments_SavedInfo -description: constructors and methods of type payments_SavedInfo -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: payments\_SavedInfo -[Back to types index](index.md) - - - -### Possible values (constructors): - -[payments\_savedInfo](../constructors/payments_savedInfo.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->payments->getSavedInfo](../methods/payments_getSavedInfo.md) - - - diff --git a/old_docs/API_docs_v103/types/payments_ValidatedRequestedInfo.md b/old_docs/API_docs_v103/types/payments_ValidatedRequestedInfo.md deleted file mode 100644 index ff6c4e39..00000000 --- a/old_docs/API_docs_v103/types/payments_ValidatedRequestedInfo.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: payments_ValidatedRequestedInfo -description: constructors and methods of type payments_ValidatedRequestedInfo -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: payments\_ValidatedRequestedInfo -[Back to types index](index.md) - - - -### Possible values (constructors): - -[payments\_validatedRequestedInfo](../constructors/payments_validatedRequestedInfo.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->payments->validateRequestedInfo](../methods/payments_validateRequestedInfo.md) - - - diff --git a/old_docs/API_docs_v103/types/phone.PhoneCall.md b/old_docs/API_docs_v103/types/phone.PhoneCall.md new file mode 100644 index 00000000..db0708e9 --- /dev/null +++ b/old_docs/API_docs_v103/types/phone.PhoneCall.md @@ -0,0 +1,26 @@ +--- +title: phone.PhoneCall +description: constructors and methods of type phone.PhoneCall +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: phone.PhoneCall +[Back to types index](index.md) + + + +### Possible values (constructors): + +[phone.phoneCall](../constructors/phone.phoneCall.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->phone->requestCall](../methods/phone.requestCall.md) + +[$MadelineProto->phone->acceptCall](../methods/phone.acceptCall.md) + +[$MadelineProto->phone->confirmCall](../methods/phone.confirmCall.md) + + + diff --git a/old_docs/API_docs_v103/types/phone_PhoneCall.md b/old_docs/API_docs_v103/types/phone_PhoneCall.md deleted file mode 100644 index 0a49d482..00000000 --- a/old_docs/API_docs_v103/types/phone_PhoneCall.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: phone_PhoneCall -description: constructors and methods of type phone_PhoneCall -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: phone\_PhoneCall -[Back to types index](index.md) - - - -### Possible values (constructors): - -[phone\_phoneCall](../constructors/phone_phoneCall.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->phone->requestCall](../methods/phone_requestCall.md) - -[$MadelineProto->phone->acceptCall](../methods/phone_acceptCall.md) - -[$MadelineProto->phone->confirmCall](../methods/phone_confirmCall.md) - - - diff --git a/old_docs/API_docs_v103/types/photos.Photo.md b/old_docs/API_docs_v103/types/photos.Photo.md new file mode 100644 index 00000000..d60f203c --- /dev/null +++ b/old_docs/API_docs_v103/types/photos.Photo.md @@ -0,0 +1,22 @@ +--- +title: photos.Photo +description: constructors and methods of type photos.Photo +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: photos.Photo +[Back to types index](index.md) + + + +### Possible values (constructors): + +[photos.photo](../constructors/photos.photo.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->photos->uploadProfilePhoto](../methods/photos.uploadProfilePhoto.md) + + + diff --git a/old_docs/API_docs_v103/types/photos.Photos.md b/old_docs/API_docs_v103/types/photos.Photos.md new file mode 100644 index 00000000..fff0e296 --- /dev/null +++ b/old_docs/API_docs_v103/types/photos.Photos.md @@ -0,0 +1,24 @@ +--- +title: photos.Photos +description: constructors and methods of type photos.Photos +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: photos.Photos +[Back to types index](index.md) + + + +### Possible values (constructors): + +[photos.photos](../constructors/photos.photos.md) + +[photos.photosSlice](../constructors/photos.photosSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->photos->getUserPhotos](../methods/photos.getUserPhotos.md) + + + diff --git a/old_docs/API_docs_v103/types/photos_Photo.md b/old_docs/API_docs_v103/types/photos_Photo.md deleted file mode 100644 index d11bbdef..00000000 --- a/old_docs/API_docs_v103/types/photos_Photo.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: photos_Photo -description: constructors and methods of type photos_Photo -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: photos\_Photo -[Back to types index](index.md) - - - -### Possible values (constructors): - -[photos\_photo](../constructors/photos_photo.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->photos->uploadProfilePhoto](../methods/photos_uploadProfilePhoto.md) - - - diff --git a/old_docs/API_docs_v103/types/photos_Photos.md b/old_docs/API_docs_v103/types/photos_Photos.md deleted file mode 100644 index 9875ad70..00000000 --- a/old_docs/API_docs_v103/types/photos_Photos.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: photos_Photos -description: constructors and methods of type photos_Photos -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: photos\_Photos -[Back to types index](index.md) - - - -### Possible values (constructors): - -[photos\_photos](../constructors/photos_photos.md) - -[photos\_photosSlice](../constructors/photos_photosSlice.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->photos->getUserPhotos](../methods/photos_getUserPhotos.md) - - - diff --git a/old_docs/API_docs_v103/types/storage.FileType.md b/old_docs/API_docs_v103/types/storage.FileType.md new file mode 100644 index 00000000..32f1bb72 --- /dev/null +++ b/old_docs/API_docs_v103/types/storage.FileType.md @@ -0,0 +1,38 @@ +--- +title: storage.FileType +description: constructors and methods of type storage.FileType +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: storage.FileType +[Back to types index](index.md) + + + +### Possible values (constructors): + +[storage.fileUnknown](../constructors/storage.fileUnknown.md) + +[storage.filePartial](../constructors/storage.filePartial.md) + +[storage.fileJpeg](../constructors/storage.fileJpeg.md) + +[storage.fileGif](../constructors/storage.fileGif.md) + +[storage.filePng](../constructors/storage.filePng.md) + +[storage.filePdf](../constructors/storage.filePdf.md) + +[storage.fileMp3](../constructors/storage.fileMp3.md) + +[storage.fileMov](../constructors/storage.fileMov.md) + +[storage.fileMp4](../constructors/storage.fileMp4.md) + +[storage.fileWebp](../constructors/storage.fileWebp.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v103/types/storage_FileType.md b/old_docs/API_docs_v103/types/storage_FileType.md deleted file mode 100644 index 22118805..00000000 --- a/old_docs/API_docs_v103/types/storage_FileType.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: storage_FileType -description: constructors and methods of type storage_FileType -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: storage\_FileType -[Back to types index](index.md) - - - -### Possible values (constructors): - -[storage\_fileUnknown](../constructors/storage_fileUnknown.md) - -[storage\_filePartial](../constructors/storage_filePartial.md) - -[storage\_fileJpeg](../constructors/storage_fileJpeg.md) - -[storage\_fileGif](../constructors/storage_fileGif.md) - -[storage\_filePng](../constructors/storage_filePng.md) - -[storage\_filePdf](../constructors/storage_filePdf.md) - -[storage\_fileMp3](../constructors/storage_fileMp3.md) - -[storage\_fileMov](../constructors/storage_fileMov.md) - -[storage\_fileMp4](../constructors/storage_fileMp4.md) - -[storage\_fileWebp](../constructors/storage_fileWebp.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v103/types/updates.ChannelDifference.md b/old_docs/API_docs_v103/types/updates.ChannelDifference.md new file mode 100644 index 00000000..ac889a1e --- /dev/null +++ b/old_docs/API_docs_v103/types/updates.ChannelDifference.md @@ -0,0 +1,26 @@ +--- +title: updates.ChannelDifference +description: constructors and methods of type updates.ChannelDifference +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: updates.ChannelDifference +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updates.channelDifferenceEmpty](../constructors/updates.channelDifferenceEmpty.md) + +[updates.channelDifferenceTooLong](../constructors/updates.channelDifferenceTooLong.md) + +[updates.channelDifference](../constructors/updates.channelDifference.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->updates->getChannelDifference](../methods/updates.getChannelDifference.md) + + + diff --git a/old_docs/API_docs_v103/types/updates.Difference.md b/old_docs/API_docs_v103/types/updates.Difference.md new file mode 100644 index 00000000..0c1a1b6e --- /dev/null +++ b/old_docs/API_docs_v103/types/updates.Difference.md @@ -0,0 +1,28 @@ +--- +title: updates.Difference +description: constructors and methods of type updates.Difference +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: updates.Difference +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updates.differenceEmpty](../constructors/updates.differenceEmpty.md) + +[updates.difference](../constructors/updates.difference.md) + +[updates.differenceSlice](../constructors/updates.differenceSlice.md) + +[updates.differenceTooLong](../constructors/updates.differenceTooLong.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->updates->getDifference](../methods/updates.getDifference.md) + + + diff --git a/old_docs/API_docs_v103/types/updates.State.md b/old_docs/API_docs_v103/types/updates.State.md new file mode 100644 index 00000000..49bbb7fd --- /dev/null +++ b/old_docs/API_docs_v103/types/updates.State.md @@ -0,0 +1,22 @@ +--- +title: updates.State +description: constructors and methods of type updates.State +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: updates.State +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updates.state](../constructors/updates.state.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->updates->getState](../methods/updates.getState.md) + + + diff --git a/old_docs/API_docs_v103/types/updates_ChannelDifference.md b/old_docs/API_docs_v103/types/updates_ChannelDifference.md deleted file mode 100644 index dc988692..00000000 --- a/old_docs/API_docs_v103/types/updates_ChannelDifference.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: updates_ChannelDifference -description: constructors and methods of type updates_ChannelDifference -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: updates\_ChannelDifference -[Back to types index](index.md) - - - -### Possible values (constructors): - -[updates\_channelDifferenceEmpty](../constructors/updates_channelDifferenceEmpty.md) - -[updates\_channelDifferenceTooLong](../constructors/updates_channelDifferenceTooLong.md) - -[updates\_channelDifference](../constructors/updates_channelDifference.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->updates->getChannelDifference](../methods/updates_getChannelDifference.md) - - - diff --git a/old_docs/API_docs_v103/types/updates_Difference.md b/old_docs/API_docs_v103/types/updates_Difference.md deleted file mode 100644 index 50bb098e..00000000 --- a/old_docs/API_docs_v103/types/updates_Difference.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: updates_Difference -description: constructors and methods of type updates_Difference -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: updates\_Difference -[Back to types index](index.md) - - - -### Possible values (constructors): - -[updates\_differenceEmpty](../constructors/updates_differenceEmpty.md) - -[updates\_difference](../constructors/updates_difference.md) - -[updates\_differenceSlice](../constructors/updates_differenceSlice.md) - -[updates\_differenceTooLong](../constructors/updates_differenceTooLong.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->updates->getDifference](../methods/updates_getDifference.md) - - - diff --git a/old_docs/API_docs_v103/types/updates_State.md b/old_docs/API_docs_v103/types/updates_State.md deleted file mode 100644 index 7a441145..00000000 --- a/old_docs/API_docs_v103/types/updates_State.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: updates_State -description: constructors and methods of type updates_State -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: updates\_State -[Back to types index](index.md) - - - -### Possible values (constructors): - -[updates\_state](../constructors/updates_state.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->updates->getState](../methods/updates_getState.md) - - - diff --git a/old_docs/API_docs_v103/types/upload.CdnFile.md b/old_docs/API_docs_v103/types/upload.CdnFile.md new file mode 100644 index 00000000..396c4bf4 --- /dev/null +++ b/old_docs/API_docs_v103/types/upload.CdnFile.md @@ -0,0 +1,24 @@ +--- +title: upload.CdnFile +description: constructors and methods of type upload.CdnFile +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: upload.CdnFile +[Back to types index](index.md) + + + +### Possible values (constructors): + +[upload.cdnFileReuploadNeeded](../constructors/upload.cdnFileReuploadNeeded.md) + +[upload.cdnFile](../constructors/upload.cdnFile.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->upload->getCdnFile](../methods/upload.getCdnFile.md) + + + diff --git a/old_docs/API_docs_v103/types/upload.File.md b/old_docs/API_docs_v103/types/upload.File.md new file mode 100644 index 00000000..6963341b --- /dev/null +++ b/old_docs/API_docs_v103/types/upload.File.md @@ -0,0 +1,24 @@ +--- +title: upload.File +description: constructors and methods of type upload.File +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: upload.File +[Back to types index](index.md) + + + +### Possible values (constructors): + +[upload.file](../constructors/upload.file.md) + +[upload.fileCdnRedirect](../constructors/upload.fileCdnRedirect.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->upload->getFile](../methods/upload.getFile.md) + + + diff --git a/old_docs/API_docs_v103/types/upload.WebFile.md b/old_docs/API_docs_v103/types/upload.WebFile.md new file mode 100644 index 00000000..e834457b --- /dev/null +++ b/old_docs/API_docs_v103/types/upload.WebFile.md @@ -0,0 +1,22 @@ +--- +title: upload.WebFile +description: constructors and methods of type upload.WebFile +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: upload.WebFile +[Back to types index](index.md) + + + +### Possible values (constructors): + +[upload.webFile](../constructors/upload.webFile.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->upload->getWebFile](../methods/upload.getWebFile.md) + + + diff --git a/old_docs/API_docs_v103/types/upload_CdnFile.md b/old_docs/API_docs_v103/types/upload_CdnFile.md deleted file mode 100644 index 51ae2e68..00000000 --- a/old_docs/API_docs_v103/types/upload_CdnFile.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: upload_CdnFile -description: constructors and methods of type upload_CdnFile -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: upload\_CdnFile -[Back to types index](index.md) - - - -### Possible values (constructors): - -[upload\_cdnFileReuploadNeeded](../constructors/upload_cdnFileReuploadNeeded.md) - -[upload\_cdnFile](../constructors/upload_cdnFile.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->upload->getCdnFile](../methods/upload_getCdnFile.md) - - - diff --git a/old_docs/API_docs_v103/types/upload_File.md b/old_docs/API_docs_v103/types/upload_File.md deleted file mode 100644 index 00e0f9cb..00000000 --- a/old_docs/API_docs_v103/types/upload_File.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: upload_File -description: constructors and methods of type upload_File -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: upload\_File -[Back to types index](index.md) - - - -### Possible values (constructors): - -[upload\_file](../constructors/upload_file.md) - -[upload\_fileCdnRedirect](../constructors/upload_fileCdnRedirect.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->upload->getFile](../methods/upload_getFile.md) - - - diff --git a/old_docs/API_docs_v103/types/upload_WebFile.md b/old_docs/API_docs_v103/types/upload_WebFile.md deleted file mode 100644 index 9a86264f..00000000 --- a/old_docs/API_docs_v103/types/upload_WebFile.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: upload_WebFile -description: constructors and methods of type upload_WebFile -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: upload\_WebFile -[Back to types index](index.md) - - - -### Possible values (constructors): - -[upload\_webFile](../constructors/upload_webFile.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->upload->getWebFile](../methods/upload_getWebFile.md) - - - diff --git a/old_docs/API_docs_v104/constructors/README.md b/old_docs/API_docs_v104/constructors/README.md index f5e61c4a..40f19d01 100644 --- a/old_docs/API_docs_v104/constructors/README.md +++ b/old_docs/API_docs_v104/constructors/README.md @@ -9,60 +9,83 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ***

[$accessPointRule](../constructors/accessPointRule.md) = \['phone_prefix_rules' => [string](../types/string.md), 'dc_id' => [int](../types/int.md), 'ips' => \[[IpPort](../types/IpPort.md)\], \]; +*** +

[$account.authorizationForm](../constructors/account.authorizationForm.md) = \['required_types' => \[[SecureRequiredType](../types/SecureRequiredType.md)\], 'values' => \[[SecureValue](../types/SecureValue.md)\], 'errors' => \[[SecureValueError](../types/SecureValueError.md)\], 'users' => \[[User](../types/User.md)\], 'privacy_policy_url' => [string](../types/string.md), \]; + +*** +

[$account.authorizations](../constructors/account.authorizations.md) = \['authorizations' => \[[Authorization](../types/Authorization.md)\], \]; + +*** +

[$account.autoDownloadSettings](../constructors/account.autoDownloadSettings.md) = \['low' => [AutoDownloadSettings](../types/AutoDownloadSettings.md), 'medium' => [AutoDownloadSettings](../types/AutoDownloadSettings.md), 'high' => [AutoDownloadSettings](../types/AutoDownloadSettings.md), \]; + +*** +

[$account.password](../constructors/account.password.md) = \['has_recovery' => [Bool](../types/Bool.md), 'has_secure_values' => [Bool](../types/Bool.md), 'has_password' => [Bool](../types/Bool.md), 'current_algo' => [PasswordKdfAlgo](../types/PasswordKdfAlgo.md), 'srp_B' => [bytes](../types/bytes.md), 'srp_id' => [long](../types/long.md), 'hint' => [string](../types/string.md), 'email_unconfirmed_pattern' => [string](../types/string.md), 'new_algo' => [PasswordKdfAlgo](../types/PasswordKdfAlgo.md), 'new_secure_algo' => [SecurePasswordKdfAlgo](../types/SecurePasswordKdfAlgo.md), 'secure_random' => [bytes](../types/bytes.md), \]; + +*** +

[$account.passwordInputSettings](../constructors/account.passwordInputSettings.md) = \['new_algo' => [PasswordKdfAlgo](../types/PasswordKdfAlgo.md), 'new_password_hash' => [bytes](../types/bytes.md), 'hint' => [string](../types/string.md), 'email' => [string](../types/string.md), 'new_secure_settings' => [SecureSecretSettings](../types/SecureSecretSettings.md), \]; + +*** +

[$account.passwordSettings](../constructors/account.passwordSettings.md) = \['email' => [string](../types/string.md), 'secure_settings' => [SecureSecretSettings](../types/SecureSecretSettings.md), \]; + +*** +

[$account.privacyRules](../constructors/account.privacyRules.md) = \['rules' => \[[PrivacyRule](../types/PrivacyRule.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +*** +

[$account.sentEmailCode](../constructors/account.sentEmailCode.md) = \['email_pattern' => [string](../types/string.md), 'length' => [int](../types/int.md), \]; + +*** +

[$account.takeout](../constructors/account.takeout.md) = \['id' => [long](../types/long.md), \]; + +*** +

[$account.tmpPassword](../constructors/account.tmpPassword.md) = \['tmp_password' => [bytes](../types/bytes.md), 'valid_until' => [int](../types/int.md), \]; + +*** +

[$account.wallPapers](../constructors/account.wallPapers.md) = \['hash' => [int](../types/int.md), 'wallpapers' => \[[WallPaper](../types/WallPaper.md)\], \]; + +*** +

[$account.wallPapersNotModified](../constructors/account.wallPapersNotModified.md) = \[\]; + +*** +

[$account.webAuthorizations](../constructors/account.webAuthorizations.md) = \['authorizations' => \[[WebAuthorization](../types/WebAuthorization.md)\], 'users' => \[[User](../types/User.md)\], \]; + ***

[$accountDaysTTL](../constructors/accountDaysTTL.md) = \['days' => [int](../types/int.md), \]; *** -

[$account\_authorizationForm](../constructors/account_authorizationForm.md) = \['required_types' => \[[SecureRequiredType](../types/SecureRequiredType.md)\], 'values' => \[[SecureValue](../types/SecureValue.md)\], 'errors' => \[[SecureValueError](../types/SecureValueError.md)\], 'users' => \[[User](../types/User.md)\], 'privacy_policy_url' => [string](../types/string.md), \]; - -[$account\_authorizations](../constructors/account_authorizations.md) = \['authorizations' => \[[Authorization](../types/Authorization.md)\], \]; - -[$account\_autoDownloadSettings](../constructors/account_autoDownloadSettings.md) = \['low' => [AutoDownloadSettings](../types/AutoDownloadSettings.md), 'medium' => [AutoDownloadSettings](../types/AutoDownloadSettings.md), 'high' => [AutoDownloadSettings](../types/AutoDownloadSettings.md), \]; - -[$account\_password](../constructors/account_password.md) = \['has_recovery' => [Bool](../types/Bool.md), 'has_secure_values' => [Bool](../types/Bool.md), 'has_password' => [Bool](../types/Bool.md), 'current_algo' => [PasswordKdfAlgo](../types/PasswordKdfAlgo.md), 'srp_B' => [bytes](../types/bytes.md), 'srp_id' => [long](../types/long.md), 'hint' => [string](../types/string.md), 'email_unconfirmed_pattern' => [string](../types/string.md), 'new_algo' => [PasswordKdfAlgo](../types/PasswordKdfAlgo.md), 'new_secure_algo' => [SecurePasswordKdfAlgo](../types/SecurePasswordKdfAlgo.md), 'secure_random' => [bytes](../types/bytes.md), \]; - -[$account\_passwordInputSettings](../constructors/account_passwordInputSettings.md) = \['new_algo' => [PasswordKdfAlgo](../types/PasswordKdfAlgo.md), 'new_password_hash' => [bytes](../types/bytes.md), 'hint' => [string](../types/string.md), 'email' => [string](../types/string.md), 'new_secure_settings' => [SecureSecretSettings](../types/SecureSecretSettings.md), \]; - -[$account\_passwordSettings](../constructors/account_passwordSettings.md) = \['email' => [string](../types/string.md), 'secure_settings' => [SecureSecretSettings](../types/SecureSecretSettings.md), \]; - -[$account\_privacyRules](../constructors/account_privacyRules.md) = \['rules' => \[[PrivacyRule](../types/PrivacyRule.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; - -[$account\_sentEmailCode](../constructors/account_sentEmailCode.md) = \['email_pattern' => [string](../types/string.md), 'length' => [int](../types/int.md), \]; - -[$account\_takeout](../constructors/account_takeout.md) = \['id' => [long](../types/long.md), \]; - -[$account\_tmpPassword](../constructors/account_tmpPassword.md) = \['tmp_password' => [bytes](../types/bytes.md), 'valid_until' => [int](../types/int.md), \]; - -[$account\_wallPapers](../constructors/account_wallPapers.md) = \['hash' => [int](../types/int.md), 'wallpapers' => \[[WallPaper](../types/WallPaper.md)\], \]; - -[$account\_wallPapersNotModified](../constructors/account_wallPapersNotModified.md) = \[\]; - -[$account\_webAuthorizations](../constructors/account_webAuthorizations.md) = \['authorizations' => \[[WebAuthorization](../types/WebAuthorization.md)\], 'users' => \[[User](../types/User.md)\], \]; +

[$auth.authorization](../constructors/auth.authorization.md) = \['tmp_sessions' => [int](../types/int.md), 'user' => [User](../types/User.md), \]; *** -

[$auth\_authorization](../constructors/auth_authorization.md) = \['tmp_sessions' => [int](../types/int.md), 'user' => [User](../types/User.md), \]; +

[$auth.authorizationSignUpRequired](../constructors/auth.authorizationSignUpRequired.md) = \['terms_of_service' => [help.TermsOfService](../types/help.TermsOfService.md), \]; -[$auth\_authorizationSignUpRequired](../constructors/auth_authorizationSignUpRequired.md) = \['terms_of_service' => [help.TermsOfService](../types/help.TermsOfService.md), \]; +*** +

[$auth.codeTypeCall](../constructors/auth.codeTypeCall.md) = \[\]; -[$auth\_codeTypeCall](../constructors/auth_codeTypeCall.md) = \[\]; +*** +

[$auth.codeTypeFlashCall](../constructors/auth.codeTypeFlashCall.md) = \[\]; -[$auth\_codeTypeFlashCall](../constructors/auth_codeTypeFlashCall.md) = \[\]; +*** +

[$auth.codeTypeSms](../constructors/auth.codeTypeSms.md) = \[\]; -[$auth\_codeTypeSms](../constructors/auth_codeTypeSms.md) = \[\]; +*** +

[$auth.exportedAuthorization](../constructors/auth.exportedAuthorization.md) = \['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; -[$auth\_exportedAuthorization](../constructors/auth_exportedAuthorization.md) = \['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; +*** +

[$auth.passwordRecovery](../constructors/auth.passwordRecovery.md) = \['email_pattern' => [string](../types/string.md), \]; -[$auth\_passwordRecovery](../constructors/auth_passwordRecovery.md) = \['email_pattern' => [string](../types/string.md), \]; +*** +

[$auth.sentCode](../constructors/auth.sentCode.md) = \['type' => [auth.SentCodeType](../types/auth.SentCodeType.md), 'phone_code_hash' => [string](../types/string.md), 'next_type' => [auth.CodeType](../types/auth.CodeType.md), 'timeout' => [int](../types/int.md), \]; -[$auth\_sentCode](../constructors/auth_sentCode.md) = \['type' => [auth.SentCodeType](../types/auth.SentCodeType.md), 'phone_code_hash' => [string](../types/string.md), 'next_type' => [auth.CodeType](../types/auth.CodeType.md), 'timeout' => [int](../types/int.md), \]; +*** +

[$auth.sentCodeTypeApp](../constructors/auth.sentCodeTypeApp.md) = \['length' => [int](../types/int.md), \]; -[$auth\_sentCodeTypeApp](../constructors/auth_sentCodeTypeApp.md) = \['length' => [int](../types/int.md), \]; +*** +

[$auth.sentCodeTypeCall](../constructors/auth.sentCodeTypeCall.md) = \['length' => [int](../types/int.md), \]; -[$auth\_sentCodeTypeCall](../constructors/auth_sentCodeTypeCall.md) = \['length' => [int](../types/int.md), \]; +*** +

[$auth.sentCodeTypeFlashCall](../constructors/auth.sentCodeTypeFlashCall.md) = \['pattern' => [string](../types/string.md), \]; -[$auth\_sentCodeTypeFlashCall](../constructors/auth_sentCodeTypeFlashCall.md) = \['pattern' => [string](../types/string.md), \]; - -[$auth\_sentCodeTypeSms](../constructors/auth_sentCodeTypeSms.md) = \['length' => [int](../types/int.md), \]; +*** +

[$auth.sentCodeTypeSms](../constructors/auth.sentCodeTypeSms.md) = \['length' => [int](../types/int.md), \]; ***

[$authorization](../constructors/authorization.md) = \['current' => [Bool](../types/Bool.md), 'official_app' => [Bool](../types/Bool.md), 'password_pending' => [Bool](../types/Bool.md), 'hash' => [long](../types/long.md), 'device_model' => [string](../types/string.md), 'platform' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'api_id' => [int](../types/int.md), 'app_name' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'date_created' => [int](../types/int.md), 'date_active' => [int](../types/int.md), 'ip' => [string](../types/string.md), 'country' => [string](../types/string.md), 'region' => [string](../types/string.md), \]; @@ -236,13 +259,16 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$channelParticipantsSearch](../constructors/channelParticipantsSearch.md) = \['q' => [string](../types/string.md), \]; *** -

[$channels\_adminLogResults](../constructors/channels_adminLogResults.md) = \['events' => \[[ChannelAdminLogEvent](../types/ChannelAdminLogEvent.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +

[$channels.adminLogResults](../constructors/channels.adminLogResults.md) = \['events' => \[[ChannelAdminLogEvent](../types/ChannelAdminLogEvent.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$channels\_channelParticipant](../constructors/channels_channelParticipant.md) = \['participant' => [ChannelParticipant](../types/ChannelParticipant.md), 'users' => \[[User](../types/User.md)\], \]; +*** +

[$channels.channelParticipant](../constructors/channels.channelParticipant.md) = \['participant' => [ChannelParticipant](../types/ChannelParticipant.md), 'users' => \[[User](../types/User.md)\], \]; -[$channels\_channelParticipants](../constructors/channels_channelParticipants.md) = \['count' => [int](../types/int.md), 'participants' => \[[ChannelParticipant](../types/ChannelParticipant.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$channels.channelParticipants](../constructors/channels.channelParticipants.md) = \['count' => [int](../types/int.md), 'participants' => \[[ChannelParticipant](../types/ChannelParticipant.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$channels\_channelParticipantsNotModified](../constructors/channels_channelParticipantsNotModified.md) = \[\]; +*** +

[$channels.channelParticipantsNotModified](../constructors/channels.channelParticipantsNotModified.md) = \[\]; ***

[$chat](../constructors/chat.md) = \['creator' => [Bool](../types/Bool.md), 'kicked' => [Bool](../types/Bool.md), 'left' => [Bool](../types/Bool.md), 'deactivated' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'title' => [string](../types/string.md), 'photo' => [ChatPhoto](../types/ChatPhoto.md), 'participants_count' => [int](../types/int.md), 'date' => [int](../types/int.md), 'version' => [int](../types/int.md), 'migrated_to' => [InputChannel](../types/InputChannel.md), 'admin_rights' => [ChatAdminRights](../types/ChatAdminRights.md), 'default_banned_rights' => [ChatBannedRights](../types/ChatBannedRights.md), \]; @@ -314,25 +340,34 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$contactStatus](../constructors/contactStatus.md) = \['user_id' => [int](../types/int.md), 'status' => [UserStatus](../types/UserStatus.md), \]; *** -

[$contacts\_blocked](../constructors/contacts_blocked.md) = \['blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; +

[$contacts.blocked](../constructors/contacts.blocked.md) = \['blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_blockedSlice](../constructors/contacts_blockedSlice.md) = \['count' => [int](../types/int.md), 'blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.blockedSlice](../constructors/contacts.blockedSlice.md) = \['count' => [int](../types/int.md), 'blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_contacts](../constructors/contacts_contacts.md) = \['contacts' => \[[Contact](../types/Contact.md)\], 'saved_count' => [int](../types/int.md), 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.contacts](../constructors/contacts.contacts.md) = \['contacts' => \[[Contact](../types/Contact.md)\], 'saved_count' => [int](../types/int.md), 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_contactsNotModified](../constructors/contacts_contactsNotModified.md) = \[\]; +*** +

[$contacts.contactsNotModified](../constructors/contacts.contactsNotModified.md) = \[\]; -[$contacts\_found](../constructors/contacts_found.md) = \['my_results' => \[[Peer](../types/Peer.md)\], 'results' => \[[Peer](../types/Peer.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.found](../constructors/contacts.found.md) = \['my_results' => \[[Peer](../types/Peer.md)\], 'results' => \[[Peer](../types/Peer.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_importedContacts](../constructors/contacts_importedContacts.md) = \['imported' => \[[ImportedContact](../types/ImportedContact.md)\], 'popular_invites' => \[[PopularContact](../types/PopularContact.md)\], 'retry_contacts' => \[[long](../types/long.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.importedContacts](../constructors/contacts.importedContacts.md) = \['imported' => \[[ImportedContact](../types/ImportedContact.md)\], 'popular_invites' => \[[PopularContact](../types/PopularContact.md)\], 'retry_contacts' => \[[long](../types/long.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_resolvedPeer](../constructors/contacts_resolvedPeer.md) = \['peer' => [Peer](../types/Peer.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.resolvedPeer](../constructors/contacts.resolvedPeer.md) = \['peer' => [Peer](../types/Peer.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_topPeers](../constructors/contacts_topPeers.md) = \['categories' => \[[TopPeerCategoryPeers](../types/TopPeerCategoryPeers.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.topPeers](../constructors/contacts.topPeers.md) = \['categories' => \[[TopPeerCategoryPeers](../types/TopPeerCategoryPeers.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_topPeersDisabled](../constructors/contacts_topPeersDisabled.md) = \[\]; +*** +

[$contacts.topPeersDisabled](../constructors/contacts.topPeersDisabled.md) = \[\]; -[$contacts\_topPeersNotModified](../constructors/contacts_topPeersNotModified.md) = \[\]; +*** +

[$contacts.topPeersNotModified](../constructors/contacts.topPeersNotModified.md) = \[\]; ***

[$dataJSON](../constructors/dataJSON.md) = \['data' => [string](../types/string.md), \]; @@ -461,41 +496,58 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$geoPointEmpty](../constructors/geoPointEmpty.md) = \[\]; *** -

[$help\_appUpdate](../constructors/help_appUpdate.md) = \['can_not_skip' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'version' => [string](../types/string.md), 'text' => [string](../types/string.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], 'document' => [Document](../types/Document.md), 'url' => [string](../types/string.md), \]; +

[$help.appUpdate](../constructors/help.appUpdate.md) = \['can_not_skip' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'version' => [string](../types/string.md), 'text' => [string](../types/string.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], 'document' => [Document](../types/Document.md), 'url' => [string](../types/string.md), \]; -[$help\_configSimple](../constructors/help_configSimple.md) = \['date' => [int](../types/int.md), 'expires' => [int](../types/int.md), 'rules' => \[[AccessPointRule](../types/AccessPointRule.md)\], \]; +*** +

[$help.configSimple](../constructors/help.configSimple.md) = \['date' => [int](../types/int.md), 'expires' => [int](../types/int.md), 'rules' => \[[AccessPointRule](../types/AccessPointRule.md)\], \]; -[$help\_deepLinkInfo](../constructors/help_deepLinkInfo.md) = \['update_app' => [Bool](../types/Bool.md), 'message' => [string](../types/string.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], \]; +*** +

[$help.deepLinkInfo](../constructors/help.deepLinkInfo.md) = \['update_app' => [Bool](../types/Bool.md), 'message' => [string](../types/string.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], \]; -[$help\_deepLinkInfoEmpty](../constructors/help_deepLinkInfoEmpty.md) = \[\]; +*** +

[$help.deepLinkInfoEmpty](../constructors/help.deepLinkInfoEmpty.md) = \[\]; -[$help\_inviteText](../constructors/help_inviteText.md) = \['message' => [string](../types/string.md), \]; +*** +

[$help.inviteText](../constructors/help.inviteText.md) = \['message' => [string](../types/string.md), \]; -[$help\_noAppUpdate](../constructors/help_noAppUpdate.md) = \[\]; +*** +

[$help.noAppUpdate](../constructors/help.noAppUpdate.md) = \[\]; -[$help\_passportConfig](../constructors/help_passportConfig.md) = \['hash' => [int](../types/int.md), 'countries_langs' => [DataJSON](../types/DataJSON.md), \]; +*** +

[$help.passportConfig](../constructors/help.passportConfig.md) = \['hash' => [int](../types/int.md), 'countries_langs' => [DataJSON](../types/DataJSON.md), \]; -[$help\_passportConfigNotModified](../constructors/help_passportConfigNotModified.md) = \[\]; +*** +

[$help.passportConfigNotModified](../constructors/help.passportConfigNotModified.md) = \[\]; -[$help\_proxyDataEmpty](../constructors/help_proxyDataEmpty.md) = \['expires' => [int](../types/int.md), \]; +*** +

[$help.proxyDataEmpty](../constructors/help.proxyDataEmpty.md) = \['expires' => [int](../types/int.md), \]; -[$help\_proxyDataPromo](../constructors/help_proxyDataPromo.md) = \['expires' => [int](../types/int.md), 'peer' => [Peer](../types/Peer.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$help.proxyDataPromo](../constructors/help.proxyDataPromo.md) = \['expires' => [int](../types/int.md), 'peer' => [Peer](../types/Peer.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$help\_recentMeUrls](../constructors/help_recentMeUrls.md) = \['urls' => \[[RecentMeUrl](../types/RecentMeUrl.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$help.recentMeUrls](../constructors/help.recentMeUrls.md) = \['urls' => \[[RecentMeUrl](../types/RecentMeUrl.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$help\_support](../constructors/help_support.md) = \['phone_number' => [string](../types/string.md), 'user' => [User](../types/User.md), \]; +*** +

[$help.support](../constructors/help.support.md) = \['phone_number' => [string](../types/string.md), 'user' => [User](../types/User.md), \]; -[$help\_supportName](../constructors/help_supportName.md) = \['name' => [string](../types/string.md), \]; +*** +

[$help.supportName](../constructors/help.supportName.md) = \['name' => [string](../types/string.md), \]; -[$help\_termsOfService](../constructors/help_termsOfService.md) = \['popup' => [Bool](../types/Bool.md), 'id' => [DataJSON](../types/DataJSON.md), 'text' => [string](../types/string.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], 'min_age_confirm' => [int](../types/int.md), \]; +*** +

[$help.termsOfService](../constructors/help.termsOfService.md) = \['popup' => [Bool](../types/Bool.md), 'id' => [DataJSON](../types/DataJSON.md), 'text' => [string](../types/string.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], 'min_age_confirm' => [int](../types/int.md), \]; -[$help\_termsOfServiceUpdate](../constructors/help_termsOfServiceUpdate.md) = \['expires' => [int](../types/int.md), 'terms_of_service' => [help.TermsOfService](../types/help.TermsOfService.md), \]; +*** +

[$help.termsOfServiceUpdate](../constructors/help.termsOfServiceUpdate.md) = \['expires' => [int](../types/int.md), 'terms_of_service' => [help.TermsOfService](../types/help.TermsOfService.md), \]; -[$help\_termsOfServiceUpdateEmpty](../constructors/help_termsOfServiceUpdateEmpty.md) = \['expires' => [int](../types/int.md), \]; +*** +

[$help.termsOfServiceUpdateEmpty](../constructors/help.termsOfServiceUpdateEmpty.md) = \['expires' => [int](../types/int.md), \]; -[$help\_userInfo](../constructors/help_userInfo.md) = \['message' => [string](../types/string.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], 'author' => [string](../types/string.md), 'date' => [int](../types/int.md), \]; +*** +

[$help.userInfo](../constructors/help.userInfo.md) = \['message' => [string](../types/string.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], 'author' => [string](../types/string.md), 'date' => [int](../types/int.md), \]; -[$help\_userInfoEmpty](../constructors/help_userInfoEmpty.md) = \[\]; +*** +

[$help.userInfoEmpty](../constructors/help.userInfoEmpty.md) = \[\]; ***

[$highScore](../constructors/highScore.md) = \['pos' => [int](../types/int.md), 'user_id' => [int](../types/int.md), 'score' => [int](../types/int.md), \]; @@ -1188,87 +1240,127 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$messageService](../constructors/messageService.md) = \['out' => [Bool](../types/Bool.md), 'mentioned' => [Bool](../types/Bool.md), 'media_unread' => [Bool](../types/Bool.md), 'silent' => [Bool](../types/Bool.md), 'post' => [Bool](../types/Bool.md), 'legacy' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'from_id' => [int](../types/int.md), 'to_id' => [Peer](../types/Peer.md), 'reply_to_msg_id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'action' => [MessageAction](../types/MessageAction.md), \]; *** -

[$messages\_affectedHistory](../constructors/messages_affectedHistory.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), 'offset' => [int](../types/int.md), \]; +

[$messages.affectedHistory](../constructors/messages.affectedHistory.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), 'offset' => [int](../types/int.md), \]; -[$messages\_affectedMessages](../constructors/messages_affectedMessages.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; +*** +

[$messages.affectedMessages](../constructors/messages.affectedMessages.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; -[$messages\_allStickers](../constructors/messages_allStickers.md) = \['hash' => [int](../types/int.md), 'sets' => \[[StickerSet](../types/StickerSet.md)\], \]; +*** +

[$messages.allStickers](../constructors/messages.allStickers.md) = \['hash' => [int](../types/int.md), 'sets' => \[[StickerSet](../types/StickerSet.md)\], \]; -[$messages\_allStickersNotModified](../constructors/messages_allStickersNotModified.md) = \[\]; +*** +

[$messages.allStickersNotModified](../constructors/messages.allStickersNotModified.md) = \[\]; -[$messages\_archivedStickers](../constructors/messages_archivedStickers.md) = \['count' => [int](../types/int.md), 'sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], \]; +*** +

[$messages.archivedStickers](../constructors/messages.archivedStickers.md) = \['count' => [int](../types/int.md), 'sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], \]; -[$messages\_botCallbackAnswer](../constructors/messages_botCallbackAnswer.md) = \['alert' => [Bool](../types/Bool.md), 'has_url' => [Bool](../types/Bool.md), 'native_ui' => [Bool](../types/Bool.md), 'message' => [string](../types/string.md), 'url' => [string](../types/string.md), 'cache_time' => [int](../types/int.md), \]; +*** +

[$messages.botCallbackAnswer](../constructors/messages.botCallbackAnswer.md) = \['alert' => [Bool](../types/Bool.md), 'has_url' => [Bool](../types/Bool.md), 'native_ui' => [Bool](../types/Bool.md), 'message' => [string](../types/string.md), 'url' => [string](../types/string.md), 'cache_time' => [int](../types/int.md), \]; -[$messages\_botResults](../constructors/messages_botResults.md) = \['gallery' => [Bool](../types/Bool.md), 'query_id' => [long](../types/long.md), 'next_offset' => [string](../types/string.md), 'switch_pm' => [InlineBotSwitchPM](../types/InlineBotSwitchPM.md), 'results' => \[[BotInlineResult](../types/BotInlineResult.md)\], 'cache_time' => [int](../types/int.md), 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.botResults](../constructors/messages.botResults.md) = \['gallery' => [Bool](../types/Bool.md), 'query_id' => [long](../types/long.md), 'next_offset' => [string](../types/string.md), 'switch_pm' => [InlineBotSwitchPM](../types/InlineBotSwitchPM.md), 'results' => \[[BotInlineResult](../types/BotInlineResult.md)\], 'cache_time' => [int](../types/int.md), 'users' => \[[User](../types/User.md)\], \]; -[$messages\_channelMessages](../constructors/messages_channelMessages.md) = \['inexact' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.channelMessages](../constructors/messages.channelMessages.md) = \['inexact' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_chatFull](../constructors/messages_chatFull.md) = \['full_chat' => [ChatFull](../types/ChatFull.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.chatFull](../constructors/messages.chatFull.md) = \['full_chat' => [ChatFull](../types/ChatFull.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_chats](../constructors/messages_chats.md) = \['chats' => \[[Chat](../types/Chat.md)\], \]; +*** +

[$messages.chats](../constructors/messages.chats.md) = \['chats' => \[[Chat](../types/Chat.md)\], \]; -[$messages\_chatsSlice](../constructors/messages_chatsSlice.md) = \['count' => [int](../types/int.md), 'chats' => \[[Chat](../types/Chat.md)\], \]; +*** +

[$messages.chatsSlice](../constructors/messages.chatsSlice.md) = \['count' => [int](../types/int.md), 'chats' => \[[Chat](../types/Chat.md)\], \]; -[$messages\_dhConfig](../constructors/messages_dhConfig.md) = \['g' => [int](../types/int.md), 'p' => [bytes](../types/bytes.md), 'version' => [int](../types/int.md), 'random' => [bytes](../types/bytes.md), \]; +*** +

[$messages.dhConfig](../constructors/messages.dhConfig.md) = \['g' => [int](../types/int.md), 'p' => [bytes](../types/bytes.md), 'version' => [int](../types/int.md), 'random' => [bytes](../types/bytes.md), \]; -[$messages\_dhConfigNotModified](../constructors/messages_dhConfigNotModified.md) = \['random' => [bytes](../types/bytes.md), \]; +*** +

[$messages.dhConfigNotModified](../constructors/messages.dhConfigNotModified.md) = \['random' => [bytes](../types/bytes.md), \]; -[$messages\_dialogs](../constructors/messages_dialogs.md) = \['dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.dialogs](../constructors/messages.dialogs.md) = \['dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_dialogsNotModified](../constructors/messages_dialogsNotModified.md) = \['count' => [int](../types/int.md), \]; +*** +

[$messages.dialogsNotModified](../constructors/messages.dialogsNotModified.md) = \['count' => [int](../types/int.md), \]; -[$messages\_dialogsSlice](../constructors/messages_dialogsSlice.md) = \['count' => [int](../types/int.md), 'dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.dialogsSlice](../constructors/messages.dialogsSlice.md) = \['count' => [int](../types/int.md), 'dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_favedStickers](../constructors/messages_favedStickers.md) = \['hash' => [int](../types/int.md), 'packs' => \[[StickerPack](../types/StickerPack.md)\], 'stickers' => \[[Document](../types/Document.md)\], \]; +*** +

[$messages.favedStickers](../constructors/messages.favedStickers.md) = \['hash' => [int](../types/int.md), 'packs' => \[[StickerPack](../types/StickerPack.md)\], 'stickers' => \[[Document](../types/Document.md)\], \]; -[$messages\_favedStickersNotModified](../constructors/messages_favedStickersNotModified.md) = \[\]; +*** +

[$messages.favedStickersNotModified](../constructors/messages.favedStickersNotModified.md) = \[\]; -[$messages\_featuredStickers](../constructors/messages_featuredStickers.md) = \['hash' => [int](../types/int.md), 'sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], 'unread' => \[[long](../types/long.md)\], \]; +*** +

[$messages.featuredStickers](../constructors/messages.featuredStickers.md) = \['hash' => [int](../types/int.md), 'sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], 'unread' => \[[long](../types/long.md)\], \]; -[$messages\_featuredStickersNotModified](../constructors/messages_featuredStickersNotModified.md) = \[\]; +*** +

[$messages.featuredStickersNotModified](../constructors/messages.featuredStickersNotModified.md) = \[\]; -[$messages\_foundGifs](../constructors/messages_foundGifs.md) = \['next_offset' => [int](../types/int.md), 'results' => \[[FoundGif](../types/FoundGif.md)\], \]; +*** +

[$messages.foundGifs](../constructors/messages.foundGifs.md) = \['next_offset' => [int](../types/int.md), 'results' => \[[FoundGif](../types/FoundGif.md)\], \]; -[$messages\_foundStickerSets](../constructors/messages_foundStickerSets.md) = \['hash' => [int](../types/int.md), 'sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], \]; +*** +

[$messages.foundStickerSets](../constructors/messages.foundStickerSets.md) = \['hash' => [int](../types/int.md), 'sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], \]; -[$messages\_foundStickerSetsNotModified](../constructors/messages_foundStickerSetsNotModified.md) = \[\]; +*** +

[$messages.foundStickerSetsNotModified](../constructors/messages.foundStickerSetsNotModified.md) = \[\]; -[$messages\_highScores](../constructors/messages_highScores.md) = \['scores' => \[[HighScore](../types/HighScore.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.highScores](../constructors/messages.highScores.md) = \['scores' => \[[HighScore](../types/HighScore.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_messageEditData](../constructors/messages_messageEditData.md) = \['caption' => [Bool](../types/Bool.md), \]; +*** +

[$messages.messageEditData](../constructors/messages.messageEditData.md) = \['caption' => [Bool](../types/Bool.md), \]; -[$messages\_messages](../constructors/messages_messages.md) = \['messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.messages](../constructors/messages.messages.md) = \['messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_messagesNotModified](../constructors/messages_messagesNotModified.md) = \['count' => [int](../types/int.md), \]; +*** +

[$messages.messagesNotModified](../constructors/messages.messagesNotModified.md) = \['count' => [int](../types/int.md), \]; -[$messages\_messagesSlice](../constructors/messages_messagesSlice.md) = \['inexact' => [Bool](../types/Bool.md), 'count' => [int](../types/int.md), 'next_rate' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.messagesSlice](../constructors/messages.messagesSlice.md) = \['inexact' => [Bool](../types/Bool.md), 'count' => [int](../types/int.md), 'next_rate' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_peerDialogs](../constructors/messages_peerDialogs.md) = \['dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'state' => [updates.State](../types/updates.State.md), \]; +*** +

[$messages.peerDialogs](../constructors/messages.peerDialogs.md) = \['dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'state' => [updates.State](../types/updates.State.md), \]; -[$messages\_recentStickers](../constructors/messages_recentStickers.md) = \['hash' => [int](../types/int.md), 'packs' => \[[StickerPack](../types/StickerPack.md)\], 'stickers' => \[[Document](../types/Document.md)\], 'dates' => \[[int](../types/int.md)\], \]; +*** +

[$messages.recentStickers](../constructors/messages.recentStickers.md) = \['hash' => [int](../types/int.md), 'packs' => \[[StickerPack](../types/StickerPack.md)\], 'stickers' => \[[Document](../types/Document.md)\], 'dates' => \[[int](../types/int.md)\], \]; -[$messages\_recentStickersNotModified](../constructors/messages_recentStickersNotModified.md) = \[\]; +*** +

[$messages.recentStickersNotModified](../constructors/messages.recentStickersNotModified.md) = \[\]; -[$messages\_savedGifs](../constructors/messages_savedGifs.md) = \['hash' => [int](../types/int.md), 'gifs' => \[[Document](../types/Document.md)\], \]; +*** +

[$messages.savedGifs](../constructors/messages.savedGifs.md) = \['hash' => [int](../types/int.md), 'gifs' => \[[Document](../types/Document.md)\], \]; -[$messages\_savedGifsNotModified](../constructors/messages_savedGifsNotModified.md) = \[\]; +*** +

[$messages.savedGifsNotModified](../constructors/messages.savedGifsNotModified.md) = \[\]; -[$messages\_searchCounter](../constructors/messages_searchCounter.md) = \['inexact' => [Bool](../types/Bool.md), 'filter' => [MessagesFilter](../types/MessagesFilter.md), 'count' => [int](../types/int.md), \]; +*** +

[$messages.searchCounter](../constructors/messages.searchCounter.md) = \['inexact' => [Bool](../types/Bool.md), 'filter' => [MessagesFilter](../types/MessagesFilter.md), 'count' => [int](../types/int.md), \]; -[$messages\_sentEncryptedFile](../constructors/messages_sentEncryptedFile.md) = \['date' => [int](../types/int.md), 'file' => [EncryptedFile](../types/EncryptedFile.md), \]; +*** +

[$messages.sentEncryptedFile](../constructors/messages.sentEncryptedFile.md) = \['date' => [int](../types/int.md), 'file' => [EncryptedFile](../types/EncryptedFile.md), \]; -[$messages\_sentEncryptedMessage](../constructors/messages_sentEncryptedMessage.md) = \['date' => [int](../types/int.md), \]; +*** +

[$messages.sentEncryptedMessage](../constructors/messages.sentEncryptedMessage.md) = \['date' => [int](../types/int.md), \]; -[$messages\_stickerSet](../constructors/messages_stickerSet.md) = \['set' => [StickerSet](../types/StickerSet.md), 'packs' => \[[StickerPack](../types/StickerPack.md)\], 'documents' => \[[Document](../types/Document.md)\], \]; +*** +

[$messages.stickerSet](../constructors/messages.stickerSet.md) = \['set' => [StickerSet](../types/StickerSet.md), 'packs' => \[[StickerPack](../types/StickerPack.md)\], 'documents' => \[[Document](../types/Document.md)\], \]; -[$messages\_stickerSetInstallResultArchive](../constructors/messages_stickerSetInstallResultArchive.md) = \['sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], \]; +*** +

[$messages.stickerSetInstallResultArchive](../constructors/messages.stickerSetInstallResultArchive.md) = \['sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], \]; -[$messages\_stickerSetInstallResultSuccess](../constructors/messages_stickerSetInstallResultSuccess.md) = \[\]; +*** +

[$messages.stickerSetInstallResultSuccess](../constructors/messages.stickerSetInstallResultSuccess.md) = \[\]; -[$messages\_stickers](../constructors/messages_stickers.md) = \['hash' => [int](../types/int.md), 'stickers' => \[[Document](../types/Document.md)\], \]; +*** +

[$messages.stickers](../constructors/messages.stickers.md) = \['hash' => [int](../types/int.md), 'stickers' => \[[Document](../types/Document.md)\], \]; -[$messages\_stickersNotModified](../constructors/messages_stickersNotModified.md) = \[\]; +*** +

[$messages.stickersNotModified](../constructors/messages.stickersNotModified.md) = \[\]; ***

[$nearestDc](../constructors/nearestDc.md) = \['country' => [string](../types/string.md), 'this_dc' => [int](../types/int.md), 'nearest_dc' => [int](../types/int.md), \]; @@ -1418,17 +1510,22 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$paymentSavedCredentialsCard](../constructors/paymentSavedCredentialsCard.md) = \['id' => [string](../types/string.md), 'title' => [string](../types/string.md), \]; *** -

[$payments\_paymentForm](../constructors/payments_paymentForm.md) = \['can_save_credentials' => [Bool](../types/Bool.md), 'password_missing' => [Bool](../types/Bool.md), 'bot_id' => [int](../types/int.md), 'invoice' => [Invoice](../types/Invoice.md), 'provider_id' => [int](../types/int.md), 'url' => [string](../types/string.md), 'native_provider' => [string](../types/string.md), 'native_params' => [DataJSON](../types/DataJSON.md), 'saved_info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), 'saved_credentials' => [PaymentSavedCredentials](../types/PaymentSavedCredentials.md), 'users' => \[[User](../types/User.md)\], \]; +

[$payments.paymentForm](../constructors/payments.paymentForm.md) = \['can_save_credentials' => [Bool](../types/Bool.md), 'password_missing' => [Bool](../types/Bool.md), 'bot_id' => [int](../types/int.md), 'invoice' => [Invoice](../types/Invoice.md), 'provider_id' => [int](../types/int.md), 'url' => [string](../types/string.md), 'native_provider' => [string](../types/string.md), 'native_params' => [DataJSON](../types/DataJSON.md), 'saved_info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), 'saved_credentials' => [PaymentSavedCredentials](../types/PaymentSavedCredentials.md), 'users' => \[[User](../types/User.md)\], \]; -[$payments\_paymentReceipt](../constructors/payments_paymentReceipt.md) = \['date' => [int](../types/int.md), 'bot_id' => [int](../types/int.md), 'invoice' => [Invoice](../types/Invoice.md), 'provider_id' => [int](../types/int.md), 'info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), 'shipping' => [ShippingOption](../types/ShippingOption.md), 'currency' => [string](../types/string.md), 'total_amount' => [long](../types/long.md), 'credentials_title' => [string](../types/string.md), 'users' => \[[User](../types/User.md)\], \]; +*** +

[$payments.paymentReceipt](../constructors/payments.paymentReceipt.md) = \['date' => [int](../types/int.md), 'bot_id' => [int](../types/int.md), 'invoice' => [Invoice](../types/Invoice.md), 'provider_id' => [int](../types/int.md), 'info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), 'shipping' => [ShippingOption](../types/ShippingOption.md), 'currency' => [string](../types/string.md), 'total_amount' => [long](../types/long.md), 'credentials_title' => [string](../types/string.md), 'users' => \[[User](../types/User.md)\], \]; -[$payments\_paymentResult](../constructors/payments_paymentResult.md) = \['updates' => [Updates](../types/Updates.md), \]; +*** +

[$payments.paymentResult](../constructors/payments.paymentResult.md) = \['updates' => [Updates](../types/Updates.md), \]; -[$payments\_paymentVerificationNeeded](../constructors/payments_paymentVerificationNeeded.md) = \['url' => [string](../types/string.md), \]; +*** +

[$payments.paymentVerificationNeeded](../constructors/payments.paymentVerificationNeeded.md) = \['url' => [string](../types/string.md), \]; -[$payments\_savedInfo](../constructors/payments_savedInfo.md) = \['has_saved_credentials' => [Bool](../types/Bool.md), 'saved_info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), \]; +*** +

[$payments.savedInfo](../constructors/payments.savedInfo.md) = \['has_saved_credentials' => [Bool](../types/Bool.md), 'saved_info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), \]; -[$payments\_validatedRequestedInfo](../constructors/payments_validatedRequestedInfo.md) = \['id' => [string](../types/string.md), 'shipping_options' => \[[ShippingOption](../types/ShippingOption.md)\], \]; +*** +

[$payments.validatedRequestedInfo](../constructors/payments.validatedRequestedInfo.md) = \['id' => [string](../types/string.md), 'shipping_options' => \[[ShippingOption](../types/ShippingOption.md)\], \]; ***

[$peerChannel](../constructors/peerChannel.md) = \['channel_id' => [int](../types/int.md), \]; @@ -1448,6 +1545,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ***

[$peerUser](../constructors/peerUser.md) = \['user_id' => [int](../types/int.md), \]; +*** +

[$phone.phoneCall](../constructors/phone.phoneCall.md) = \['phone_call' => [PhoneCall](../types/PhoneCall.md), 'users' => \[[User](../types/User.md)\], \]; + ***

[$phoneCall](../constructors/phoneCall.md) = \['p2p_allowed' => [Bool](../types/Bool.md), 'id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'date' => [int](../types/int.md), 'admin_id' => [int](../types/int.md), 'participant_id' => [int](../types/int.md), 'g_a_or_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), 'connections' => \[[PhoneConnection](../types/PhoneConnection.md)\], 'start_date' => [int](../types/int.md), \]; @@ -1484,9 +1584,6 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ***

[$phoneConnection](../constructors/phoneConnection.md) = \['id' => [long](../types/long.md), 'ip' => [string](../types/string.md), 'ipv6' => [string](../types/string.md), 'port' => [int](../types/int.md), 'peer_tag' => [bytes](../types/bytes.md), \]; -*** -

[$phone\_phoneCall](../constructors/phone_phoneCall.md) = \['phone_call' => [PhoneCall](../types/PhoneCall.md), 'users' => \[[User](../types/User.md)\], \]; - ***

[$photo](../constructors/photo.md) = \['has_stickers' => [Bool](../types/Bool.md), 'id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'file_reference' => [bytes](../types/bytes.md), 'date' => [int](../types/int.md), 'sizes' => \[[PhotoSize](../types/PhotoSize.md)\], 'dc_id' => [int](../types/int.md), \]; @@ -1506,11 +1603,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$photoStrippedSize](../constructors/photoStrippedSize.md) = \['type' => [string](../types/string.md), 'bytes' => [bytes](../types/bytes.md), \]; *** -

[$photos\_photo](../constructors/photos_photo.md) = \['photo' => [Photo](../types/Photo.md), 'users' => \[[User](../types/User.md)\], \]; +

[$photos.photo](../constructors/photos.photo.md) = \['photo' => [Photo](../types/Photo.md), 'users' => \[[User](../types/User.md)\], \]; -[$photos\_photos](../constructors/photos_photos.md) = \['photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$photos.photos](../constructors/photos.photos.md) = \['photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$photos\_photosSlice](../constructors/photos_photosSlice.md) = \['count' => [int](../types/int.md), 'photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$photos.photosSlice](../constructors/photos.photosSlice.md) = \['count' => [int](../types/int.md), 'photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; ***

[$poll](../constructors/poll.md) = \['id' => [long](../types/long.md), 'closed' => [Bool](../types/Bool.md), 'question' => [string](../types/string.md), 'answers' => \[[PollAnswer](../types/PollAnswer.md)\], \]; @@ -1774,25 +1873,34 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$stickerSetMultiCovered](../constructors/stickerSetMultiCovered.md) = \['set' => [StickerSet](../types/StickerSet.md), 'covers' => \[[Document](../types/Document.md)\], \]; *** -

[$storage\_fileGif](../constructors/storage_fileGif.md) = \[\]; +

[$storage.fileGif](../constructors/storage.fileGif.md) = \[\]; -[$storage\_fileJpeg](../constructors/storage_fileJpeg.md) = \[\]; +*** +

[$storage.fileJpeg](../constructors/storage.fileJpeg.md) = \[\]; -[$storage\_fileMov](../constructors/storage_fileMov.md) = \[\]; +*** +

[$storage.fileMov](../constructors/storage.fileMov.md) = \[\]; -[$storage\_fileMp3](../constructors/storage_fileMp3.md) = \[\]; +*** +

[$storage.fileMp3](../constructors/storage.fileMp3.md) = \[\]; -[$storage\_fileMp4](../constructors/storage_fileMp4.md) = \[\]; +*** +

[$storage.fileMp4](../constructors/storage.fileMp4.md) = \[\]; -[$storage\_filePartial](../constructors/storage_filePartial.md) = \[\]; +*** +

[$storage.filePartial](../constructors/storage.filePartial.md) = \[\]; -[$storage\_filePdf](../constructors/storage_filePdf.md) = \[\]; +*** +

[$storage.filePdf](../constructors/storage.filePdf.md) = \[\]; -[$storage\_filePng](../constructors/storage_filePng.md) = \[\]; +*** +

[$storage.filePng](../constructors/storage.filePng.md) = \[\]; -[$storage\_fileUnknown](../constructors/storage_fileUnknown.md) = \[\]; +*** +

[$storage.fileUnknown](../constructors/storage.fileUnknown.md) = \[\]; -[$storage\_fileWebp](../constructors/storage_fileWebp.md) = \[\]; +*** +

[$storage.fileWebp](../constructors/storage.fileWebp.md) = \[\]; ***

[$textAnchor](../constructors/textAnchor.md) = \['text' => [RichText](../types/RichText.md), 'name' => [string](../types/string.md), \]; @@ -2103,6 +2211,30 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ***

[$updates](../constructors/updates.md) = \['updates' => \[[Update](../types/Update.md)\], 'users' => \[[User](../types/User.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'date' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; +*** +

[$updates.channelDifference](../constructors/updates.channelDifference.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), 'new_messages' => \[[Message](../types/Message.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +*** +

[$updates.channelDifferenceEmpty](../constructors/updates.channelDifferenceEmpty.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), \]; + +*** +

[$updates.channelDifferenceTooLong](../constructors/updates.channelDifferenceTooLong.md) = \['final' => [Bool](../types/Bool.md), 'timeout' => [int](../types/int.md), 'dialog' => [Dialog](../types/Dialog.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +*** +

[$updates.difference](../constructors/updates.difference.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'state' => [updates.State](../types/updates.State.md), \]; + +*** +

[$updates.differenceEmpty](../constructors/updates.differenceEmpty.md) = \['date' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; + +*** +

[$updates.differenceSlice](../constructors/updates.differenceSlice.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'intermediate_state' => [updates.State](../types/updates.State.md), \]; + +*** +

[$updates.differenceTooLong](../constructors/updates.differenceTooLong.md) = \['pts' => [int](../types/int.md), \]; + +*** +

[$updates.state](../constructors/updates.state.md) = \['pts' => [int](../types/int.md), 'qts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'seq' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), \]; + ***

[$updatesCombined](../constructors/updatesCombined.md) = \['updates' => \[[Update](../types/Update.md)\], 'users' => \[[User](../types/User.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'date' => [int](../types/int.md), 'seq_start' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; @@ -2110,32 +2242,19 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$updatesTooLong](../constructors/updatesTooLong.md) = \[\]; *** -

[$updates\_channelDifference](../constructors/updates_channelDifference.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), 'new_messages' => \[[Message](../types/Message.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; - -[$updates\_channelDifferenceEmpty](../constructors/updates_channelDifferenceEmpty.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), \]; - -[$updates\_channelDifferenceTooLong](../constructors/updates_channelDifferenceTooLong.md) = \['final' => [Bool](../types/Bool.md), 'timeout' => [int](../types/int.md), 'dialog' => [Dialog](../types/Dialog.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; - -[$updates\_difference](../constructors/updates_difference.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'state' => [updates.State](../types/updates.State.md), \]; - -[$updates\_differenceEmpty](../constructors/updates_differenceEmpty.md) = \['date' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; - -[$updates\_differenceSlice](../constructors/updates_differenceSlice.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'intermediate_state' => [updates.State](../types/updates.State.md), \]; - -[$updates\_differenceTooLong](../constructors/updates_differenceTooLong.md) = \['pts' => [int](../types/int.md), \]; - -[$updates\_state](../constructors/updates_state.md) = \['pts' => [int](../types/int.md), 'qts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'seq' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), \]; +

[$upload.cdnFile](../constructors/upload.cdnFile.md) = \['bytes' => [bytes](../types/bytes.md), \]; *** -

[$upload\_cdnFile](../constructors/upload_cdnFile.md) = \['bytes' => [bytes](../types/bytes.md), \]; +

[$upload.cdnFileReuploadNeeded](../constructors/upload.cdnFileReuploadNeeded.md) = \['request_token' => [bytes](../types/bytes.md), \]; -[$upload\_cdnFileReuploadNeeded](../constructors/upload_cdnFileReuploadNeeded.md) = \['request_token' => [bytes](../types/bytes.md), \]; +*** +

[$upload.file](../constructors/upload.file.md) = \['type' => [storage.FileType](../types/storage.FileType.md), 'mtime' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; -[$upload\_file](../constructors/upload_file.md) = \['type' => [storage.FileType](../types/storage.FileType.md), 'mtime' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; +*** +

[$upload.fileCdnRedirect](../constructors/upload.fileCdnRedirect.md) = \['dc_id' => [int](../types/int.md), 'file_token' => [bytes](../types/bytes.md), 'encryption_key' => [bytes](../types/bytes.md), 'encryption_iv' => [bytes](../types/bytes.md), 'file_hashes' => \[[FileHash](../types/FileHash.md)\], \]; -[$upload\_fileCdnRedirect](../constructors/upload_fileCdnRedirect.md) = \['dc_id' => [int](../types/int.md), 'file_token' => [bytes](../types/bytes.md), 'encryption_key' => [bytes](../types/bytes.md), 'encryption_iv' => [bytes](../types/bytes.md), 'file_hashes' => \[[FileHash](../types/FileHash.md)\], \]; - -[$upload\_webFile](../constructors/upload_webFile.md) = \['size' => [int](../types/int.md), 'mime_type' => [string](../types/string.md), 'file_type' => [storage.FileType](../types/storage.FileType.md), 'mtime' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; +*** +

[$upload.webFile](../constructors/upload.webFile.md) = \['size' => [int](../types/int.md), 'mime_type' => [string](../types/string.md), 'file_type' => [storage.FileType](../types/storage.FileType.md), 'mtime' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; ***

[$urlAuthResultAccepted](../constructors/urlAuthResultAccepted.md) = \['url' => [string](../types/string.md), \]; diff --git a/old_docs/API_docs_v104/constructors/account.authorizationForm.md b/old_docs/API_docs_v104/constructors/account.authorizationForm.md new file mode 100644 index 00000000..175276bf --- /dev/null +++ b/old_docs/API_docs_v104/constructors/account.authorizationForm.md @@ -0,0 +1,42 @@ +--- +title: account.authorizationForm +description: [Telegram Passport](https://core.telegram.org/passport) authorization form +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.authorizationForm +[Back to constructors index](index.md) + + + +[Telegram Passport](https://core.telegram.org/passport) authorization form + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|required\_types|Array of [SecureRequiredType](../types/SecureRequiredType.md) | Yes|Required types| +|values|Array of [SecureValue](../types/SecureValue.md) | Yes|Values| +|errors|Array of [SecureValueError](../types/SecureValueError.md) | Yes|Errors| +|users|Array of [User](../types/User.md) | Yes|Users| +|privacy\_policy\_url|[string](../types/string.md) | Optional|URL of the service's privacy policy| + + + +### Type: [account.AuthorizationForm](../types/account.AuthorizationForm.md) + + +### Example: + +```php +$account.authorizationForm = ['_' => 'account.authorizationForm', 'required_types' => [SecureRequiredType, SecureRequiredType], 'values' => [SecureValue, SecureValue], 'errors' => [SecureValueError, SecureValueError], 'users' => [User, User], 'privacy_policy_url' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +account.authorizationForm={_='account.authorizationForm', required_types={SecureRequiredType}, values={SecureValue}, errors={SecureValueError}, users={User}, privacy_policy_url='string'} + +``` + + diff --git a/old_docs/API_docs_v104/constructors/account.authorizations.md b/old_docs/API_docs_v104/constructors/account.authorizations.md new file mode 100644 index 00000000..53c961f0 --- /dev/null +++ b/old_docs/API_docs_v104/constructors/account.authorizations.md @@ -0,0 +1,38 @@ +--- +title: account.authorizations +description: Logged-in sessions +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.authorizations +[Back to constructors index](index.md) + + + +Logged-in sessions + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|authorizations|Array of [Authorization](../types/Authorization.md) | Yes|Authorizations| + + + +### Type: [account.Authorizations](../types/account.Authorizations.md) + + +### Example: + +```php +$account.authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization, Authorization]]; +``` + + +Or, if you're into Lua: + +```lua +account.authorizations={_='account.authorizations', authorizations={Authorization}} + +``` + + diff --git a/old_docs/API_docs_v104/constructors/account.autoDownloadSettings.md b/old_docs/API_docs_v104/constructors/account.autoDownloadSettings.md new file mode 100644 index 00000000..fa06f6a6 --- /dev/null +++ b/old_docs/API_docs_v104/constructors/account.autoDownloadSettings.md @@ -0,0 +1,40 @@ +--- +title: account.autoDownloadSettings +description: Media autodownload settings +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.autoDownloadSettings +[Back to constructors index](index.md) + + + +Media autodownload settings + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|low|[AutoDownloadSettings](../types/AutoDownloadSettings.md) | Yes|Low data usage preset| +|medium|[AutoDownloadSettings](../types/AutoDownloadSettings.md) | Yes|Medium data usage preset| +|high|[AutoDownloadSettings](../types/AutoDownloadSettings.md) | Yes|High data usage preset| + + + +### Type: [account.AutoDownloadSettings](../types/account.AutoDownloadSettings.md) + + +### Example: + +```php +$account.autoDownloadSettings = ['_' => 'account.autoDownloadSettings', 'low' => AutoDownloadSettings, 'medium' => AutoDownloadSettings, 'high' => AutoDownloadSettings]; +``` + + +Or, if you're into Lua: + +```lua +account.autoDownloadSettings={_='account.autoDownloadSettings', low=AutoDownloadSettings, medium=AutoDownloadSettings, high=AutoDownloadSettings} + +``` + + diff --git a/old_docs/API_docs_v104/constructors/account.password.md b/old_docs/API_docs_v104/constructors/account.password.md new file mode 100644 index 00000000..b6ad79db --- /dev/null +++ b/old_docs/API_docs_v104/constructors/account.password.md @@ -0,0 +1,48 @@ +--- +title: account.password +description: Configuration for two-factor authorization +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.password +[Back to constructors index](index.md) + + + +Configuration for two-factor authorization + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|has\_recovery|[Bool](../types/Bool.md) | Optional|Whether the user has a recovery method configured| +|has\_secure\_values|[Bool](../types/Bool.md) | Optional|Whether telegram [passport](https://core.telegram.org/passport) is enabled| +|has\_password|[Bool](../types/Bool.md) | Optional|Whether the user has a password| +|current\_algo|[PasswordKdfAlgo](../types/PasswordKdfAlgo.md) | Optional|The [KDF algorithm for SRP two-factor authentication](https://core.telegram.org/api/srp) of the current password| +|srp\_B|[bytes](../types/bytes.md) | Optional|Srp B param for [SRP authorization](https://core.telegram.org/api/srp)| +|srp\_id|[long](../types/long.md) | Optional|Srp ID param for [SRP authorization](https://core.telegram.org/api/srp)| +|hint|[string](../types/string.md) | Optional|Text hint for the password| +|email\_unconfirmed\_pattern|[string](../types/string.md) | Optional|A [password recovery email](https://core.telegram.org/api/srp#email-verification) with the specified [pattern](https://core.telegram.org/api/pattern) is still awaiting verification| +|new\_algo|[PasswordKdfAlgo](../types/PasswordKdfAlgo.md) | Yes|The [KDF algorithm for SRP two-factor authentication](https://core.telegram.org/api/srp) to use when creating new passwords| +|new\_secure\_algo|[SecurePasswordKdfAlgo](../types/SecurePasswordKdfAlgo.md) | Yes|The KDF algorithm for telegram [passport](https://core.telegram.org/passport)| +|secure\_random|[bytes](../types/bytes.md) | Yes|Secure random string| + + + +### Type: [account.Password](../types/account.Password.md) + + +### Example: + +```php +$account.password = ['_' => 'account.password', 'has_recovery' => Bool, 'has_secure_values' => Bool, 'has_password' => Bool, 'current_algo' => PasswordKdfAlgo, 'srp_B' => 'bytes', 'srp_id' => long, 'hint' => 'string', 'email_unconfirmed_pattern' => 'string', 'new_algo' => PasswordKdfAlgo, 'new_secure_algo' => SecurePasswordKdfAlgo, 'secure_random' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +account.password={_='account.password', has_recovery=Bool, has_secure_values=Bool, has_password=Bool, current_algo=PasswordKdfAlgo, srp_B='bytes', srp_id=long, hint='string', email_unconfirmed_pattern='string', new_algo=PasswordKdfAlgo, new_secure_algo=SecurePasswordKdfAlgo, secure_random='bytes'} + +``` + + diff --git a/old_docs/API_docs_v104/constructors/account.passwordInputSettings.md b/old_docs/API_docs_v104/constructors/account.passwordInputSettings.md new file mode 100644 index 00000000..f55837c8 --- /dev/null +++ b/old_docs/API_docs_v104/constructors/account.passwordInputSettings.md @@ -0,0 +1,42 @@ +--- +title: account.passwordInputSettings +description: Settings for setting up a new password +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.passwordInputSettings +[Back to constructors index](index.md) + + + +Settings for setting up a new password + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|new\_algo|[PasswordKdfAlgo](../types/PasswordKdfAlgo.md) | Optional|The [SRP algorithm](https://core.telegram.org/api/srp) to use| +|new\_password\_hash|[bytes](../types/bytes.md) | Optional|The [computed password hash](https://core.telegram.org/api/srp)| +|hint|[string](../types/string.md) | Optional|Text hint for the password| +|email|[string](../types/string.md) | Optional|Password recovery email| +|new\_secure\_settings|[SecureSecretSettings](../types/SecureSecretSettings.md) | Optional|Telegram [passport](https://core.telegram.org/passport) settings| + + + +### Type: [account.PasswordInputSettings](../types/account.PasswordInputSettings.md) + + +### Example: + +```php +$account.passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_algo' => PasswordKdfAlgo, 'new_password_hash' => 'bytes', 'hint' => 'string', 'email' => 'string', 'new_secure_settings' => SecureSecretSettings]; +``` + + +Or, if you're into Lua: + +```lua +account.passwordInputSettings={_='account.passwordInputSettings', new_algo=PasswordKdfAlgo, new_password_hash='bytes', hint='string', email='string', new_secure_settings=SecureSecretSettings} + +``` + + diff --git a/old_docs/API_docs_v104/constructors/account.passwordSettings.md b/old_docs/API_docs_v104/constructors/account.passwordSettings.md new file mode 100644 index 00000000..ab81079e --- /dev/null +++ b/old_docs/API_docs_v104/constructors/account.passwordSettings.md @@ -0,0 +1,39 @@ +--- +title: account.passwordSettings +description: Private info associated to the password info (recovery email, telegram [passport](https://core.telegram.org/passport) info & so on) +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.passwordSettings +[Back to constructors index](index.md) + + + +Private info associated to the password info (recovery email, telegram [passport](https://core.telegram.org/passport) info & so on) + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|email|[string](../types/string.md) | Optional|[2FA Recovery email](https://core.telegram.org/api/srp#email-verification)| +|secure\_settings|[SecureSecretSettings](../types/SecureSecretSettings.md) | Optional|Telegram [passport](https://core.telegram.org/passport) settings| + + + +### Type: [account.PasswordSettings](../types/account.PasswordSettings.md) + + +### Example: + +```php +$account.passwordSettings = ['_' => 'account.passwordSettings', 'email' => 'string', 'secure_settings' => SecureSecretSettings]; +``` + + +Or, if you're into Lua: + +```lua +account.passwordSettings={_='account.passwordSettings', email='string', secure_settings=SecureSecretSettings} + +``` + + diff --git a/old_docs/API_docs_v104/constructors/account.privacyRules.md b/old_docs/API_docs_v104/constructors/account.privacyRules.md new file mode 100644 index 00000000..6f83247a --- /dev/null +++ b/old_docs/API_docs_v104/constructors/account.privacyRules.md @@ -0,0 +1,40 @@ +--- +title: account.privacyRules +description: Privacy rules +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.privacyRules +[Back to constructors index](index.md) + + + +Privacy rules + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|rules|Array of [PrivacyRule](../types/PrivacyRule.md) | Yes|Rules| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats allowed?| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [account.PrivacyRules](../types/account.PrivacyRules.md) + + +### Example: + +```php +$account.privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule, PrivacyRule], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +account.privacyRules={_='account.privacyRules', rules={PrivacyRule}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v104/constructors/account.sentEmailCode.md b/old_docs/API_docs_v104/constructors/account.sentEmailCode.md new file mode 100644 index 00000000..c4c30275 --- /dev/null +++ b/old_docs/API_docs_v104/constructors/account.sentEmailCode.md @@ -0,0 +1,39 @@ +--- +title: account.sentEmailCode +description: The sent email code +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.sentEmailCode +[Back to constructors index](index.md) + + + +The sent email code + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|email\_pattern|[string](../types/string.md) | Yes|The email (to which the code was sent) must match this [pattern](https://core.telegram.org/api/pattern)| +|length|[int](../types/int.md) | Yes|The length of the verification code| + + + +### Type: [account.SentEmailCode](../types/account.SentEmailCode.md) + + +### Example: + +```php +$account.sentEmailCode = ['_' => 'account.sentEmailCode', 'email_pattern' => 'string', 'length' => int]; +``` + + +Or, if you're into Lua: + +```lua +account.sentEmailCode={_='account.sentEmailCode', email_pattern='string', length=int} + +``` + + diff --git a/old_docs/API_docs_v104/constructors/account.takeout.md b/old_docs/API_docs_v104/constructors/account.takeout.md new file mode 100644 index 00000000..1aca6c70 --- /dev/null +++ b/old_docs/API_docs_v104/constructors/account.takeout.md @@ -0,0 +1,38 @@ +--- +title: account.takeout +description: Takout info +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.takeout +[Back to constructors index](index.md) + + + +Takout info + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|id|[long](../types/long.md) | Yes|Takeout ID| + + + +### Type: [account.Takeout](../types/account.Takeout.md) + + +### Example: + +```php +$account.takeout = ['_' => 'account.takeout', 'id' => long]; +``` + + +Or, if you're into Lua: + +```lua +account.takeout={_='account.takeout', id=long} + +``` + + diff --git a/old_docs/API_docs_v104/constructors/account.tmpPassword.md b/old_docs/API_docs_v104/constructors/account.tmpPassword.md new file mode 100644 index 00000000..996548c4 --- /dev/null +++ b/old_docs/API_docs_v104/constructors/account.tmpPassword.md @@ -0,0 +1,39 @@ +--- +title: account.tmpPassword +description: Temporary payment password +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.tmpPassword +[Back to constructors index](index.md) + + + +Temporary payment password + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|tmp\_password|[bytes](../types/bytes.md) | Yes|Temporary password| +|valid\_until|[int](../types/int.md) | Yes|Validity period| + + + +### Type: [account.TmpPassword](../types/account.TmpPassword.md) + + +### Example: + +```php +$account.tmpPassword = ['_' => 'account.tmpPassword', 'tmp_password' => 'bytes', 'valid_until' => int]; +``` + + +Or, if you're into Lua: + +```lua +account.tmpPassword={_='account.tmpPassword', tmp_password='bytes', valid_until=int} + +``` + + diff --git a/old_docs/API_docs_v104/constructors/account.wallPapers.md b/old_docs/API_docs_v104/constructors/account.wallPapers.md new file mode 100644 index 00000000..c73f9dd3 --- /dev/null +++ b/old_docs/API_docs_v104/constructors/account.wallPapers.md @@ -0,0 +1,39 @@ +--- +title: account.wallPapers +description: Installed wallpapers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.wallPapers +[Back to constructors index](index.md) + + + +Installed wallpapers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|wallpapers|Array of [WallPaper](../types/WallPaper.md) | Yes|Wallpapers| + + + +### Type: [account.WallPapers](../types/account.WallPapers.md) + + +### Example: + +```php +$account.wallPapers = ['_' => 'account.wallPapers', 'hash' => int, 'wallpapers' => [WallPaper, WallPaper]]; +``` + + +Or, if you're into Lua: + +```lua +account.wallPapers={_='account.wallPapers', hash=int, wallpapers={WallPaper}} + +``` + + diff --git a/old_docs/API_docs_v104/constructors/account.wallPapersNotModified.md b/old_docs/API_docs_v104/constructors/account.wallPapersNotModified.md new file mode 100644 index 00000000..209233d7 --- /dev/null +++ b/old_docs/API_docs_v104/constructors/account.wallPapersNotModified.md @@ -0,0 +1,33 @@ +--- +title: account.wallPapersNotModified +description: No new wallpapers were found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.wallPapersNotModified +[Back to constructors index](index.md) + + + +No new wallpapers were found + + + + +### Type: [account.WallPapers](../types/account.WallPapers.md) + + +### Example: + +```php +$account.wallPapersNotModified = ['_' => 'account.wallPapersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +account.wallPapersNotModified={_='account.wallPapersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v104/constructors/account.webAuthorizations.md b/old_docs/API_docs_v104/constructors/account.webAuthorizations.md new file mode 100644 index 00000000..bb5d0211 --- /dev/null +++ b/old_docs/API_docs_v104/constructors/account.webAuthorizations.md @@ -0,0 +1,39 @@ +--- +title: account.webAuthorizations +description: Web authorizations +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.webAuthorizations +[Back to constructors index](index.md) + + + +Web authorizations + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|authorizations|Array of [WebAuthorization](../types/WebAuthorization.md) | Yes|Authorizations| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [account.WebAuthorizations](../types/account.WebAuthorizations.md) + + +### Example: + +```php +$account.webAuthorizations = ['_' => 'account.webAuthorizations', 'authorizations' => [WebAuthorization, WebAuthorization], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +account.webAuthorizations={_='account.webAuthorizations', authorizations={WebAuthorization}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v104/constructors/account_authorizationForm.md b/old_docs/API_docs_v104/constructors/account_authorizationForm.md deleted file mode 100644 index aaeff19b..00000000 --- a/old_docs/API_docs_v104/constructors/account_authorizationForm.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: account.authorizationForm -description: [Telegram Passport](https://core.telegram.org/passport) authorization form -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.authorizationForm -[Back to constructors index](index.md) - - - -[Telegram Passport](https://core.telegram.org/passport) authorization form - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|required\_types|Array of [SecureRequiredType](../types/SecureRequiredType.md) | Yes|Required types| -|values|Array of [SecureValue](../types/SecureValue.md) | Yes|Values| -|errors|Array of [SecureValueError](../types/SecureValueError.md) | Yes|Errors| -|users|Array of [User](../types/User.md) | Yes|Users| -|privacy\_policy\_url|[string](../types/string.md) | Optional|URL of the service's privacy policy| - - - -### Type: [account\_AuthorizationForm](../types/account_AuthorizationForm.md) - - -### Example: - -```php -$account_authorizationForm = ['_' => 'account.authorizationForm', 'required_types' => [SecureRequiredType, SecureRequiredType], 'values' => [SecureValue, SecureValue], 'errors' => [SecureValueError, SecureValueError], 'users' => [User, User], 'privacy_policy_url' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -account_authorizationForm={_='account.authorizationForm', required_types={SecureRequiredType}, values={SecureValue}, errors={SecureValueError}, users={User}, privacy_policy_url='string'} - -``` - - diff --git a/old_docs/API_docs_v104/constructors/account_authorizations.md b/old_docs/API_docs_v104/constructors/account_authorizations.md deleted file mode 100644 index aeae48f3..00000000 --- a/old_docs/API_docs_v104/constructors/account_authorizations.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: account.authorizations -description: Logged-in sessions -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.authorizations -[Back to constructors index](index.md) - - - -Logged-in sessions - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|authorizations|Array of [Authorization](../types/Authorization.md) | Yes|Authorizations| - - - -### Type: [account\_Authorizations](../types/account_Authorizations.md) - - -### Example: - -```php -$account_authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization, Authorization]]; -``` - - -Or, if you're into Lua: - -```lua -account_authorizations={_='account.authorizations', authorizations={Authorization}} - -``` - - diff --git a/old_docs/API_docs_v104/constructors/account_autoDownloadSettings.md b/old_docs/API_docs_v104/constructors/account_autoDownloadSettings.md deleted file mode 100644 index f490d303..00000000 --- a/old_docs/API_docs_v104/constructors/account_autoDownloadSettings.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: account.autoDownloadSettings -description: Media autodownload settings -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.autoDownloadSettings -[Back to constructors index](index.md) - - - -Media autodownload settings - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|low|[AutoDownloadSettings](../types/AutoDownloadSettings.md) | Yes|Low data usage preset| -|medium|[AutoDownloadSettings](../types/AutoDownloadSettings.md) | Yes|Medium data usage preset| -|high|[AutoDownloadSettings](../types/AutoDownloadSettings.md) | Yes|High data usage preset| - - - -### Type: [account\_AutoDownloadSettings](../types/account_AutoDownloadSettings.md) - - -### Example: - -```php -$account_autoDownloadSettings = ['_' => 'account.autoDownloadSettings', 'low' => AutoDownloadSettings, 'medium' => AutoDownloadSettings, 'high' => AutoDownloadSettings]; -``` - - -Or, if you're into Lua: - -```lua -account_autoDownloadSettings={_='account.autoDownloadSettings', low=AutoDownloadSettings, medium=AutoDownloadSettings, high=AutoDownloadSettings} - -``` - - diff --git a/old_docs/API_docs_v104/constructors/account_password.md b/old_docs/API_docs_v104/constructors/account_password.md deleted file mode 100644 index 0f2eaafb..00000000 --- a/old_docs/API_docs_v104/constructors/account_password.md +++ /dev/null @@ -1,48 +0,0 @@ ---- -title: account.password -description: Configuration for two-factor authorization -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.password -[Back to constructors index](index.md) - - - -Configuration for two-factor authorization - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|has\_recovery|[Bool](../types/Bool.md) | Optional|Whether the user has a recovery method configured| -|has\_secure\_values|[Bool](../types/Bool.md) | Optional|Whether telegram [passport](https://core.telegram.org/passport) is enabled| -|has\_password|[Bool](../types/Bool.md) | Optional|Whether the user has a password| -|current\_algo|[PasswordKdfAlgo](../types/PasswordKdfAlgo.md) | Optional|The [KDF algorithm for SRP two-factor authentication](https://core.telegram.org/api/srp) of the current password| -|srp\_B|[bytes](../types/bytes.md) | Optional|Srp B param for [SRP authorization](https://core.telegram.org/api/srp)| -|srp\_id|[long](../types/long.md) | Optional|Srp ID param for [SRP authorization](https://core.telegram.org/api/srp)| -|hint|[string](../types/string.md) | Optional|Text hint for the password| -|email\_unconfirmed\_pattern|[string](../types/string.md) | Optional|A [password recovery email](https://core.telegram.org/api/srp#email-verification) with the specified [pattern](https://core.telegram.org/api/pattern) is still awaiting verification| -|new\_algo|[PasswordKdfAlgo](../types/PasswordKdfAlgo.md) | Yes|The [KDF algorithm for SRP two-factor authentication](https://core.telegram.org/api/srp) to use when creating new passwords| -|new\_secure\_algo|[SecurePasswordKdfAlgo](../types/SecurePasswordKdfAlgo.md) | Yes|The KDF algorithm for telegram [passport](https://core.telegram.org/passport)| -|secure\_random|[bytes](../types/bytes.md) | Yes|Secure random string| - - - -### Type: [account\_Password](../types/account_Password.md) - - -### Example: - -```php -$account_password = ['_' => 'account.password', 'has_recovery' => Bool, 'has_secure_values' => Bool, 'has_password' => Bool, 'current_algo' => PasswordKdfAlgo, 'srp_B' => 'bytes', 'srp_id' => long, 'hint' => 'string', 'email_unconfirmed_pattern' => 'string', 'new_algo' => PasswordKdfAlgo, 'new_secure_algo' => SecurePasswordKdfAlgo, 'secure_random' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -account_password={_='account.password', has_recovery=Bool, has_secure_values=Bool, has_password=Bool, current_algo=PasswordKdfAlgo, srp_B='bytes', srp_id=long, hint='string', email_unconfirmed_pattern='string', new_algo=PasswordKdfAlgo, new_secure_algo=SecurePasswordKdfAlgo, secure_random='bytes'} - -``` - - diff --git a/old_docs/API_docs_v104/constructors/account_passwordInputSettings.md b/old_docs/API_docs_v104/constructors/account_passwordInputSettings.md deleted file mode 100644 index a4800a7c..00000000 --- a/old_docs/API_docs_v104/constructors/account_passwordInputSettings.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: account.passwordInputSettings -description: Settings for setting up a new password -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.passwordInputSettings -[Back to constructors index](index.md) - - - -Settings for setting up a new password - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|new\_algo|[PasswordKdfAlgo](../types/PasswordKdfAlgo.md) | Optional|The [SRP algorithm](https://core.telegram.org/api/srp) to use| -|new\_password\_hash|[bytes](../types/bytes.md) | Optional|The [computed password hash](https://core.telegram.org/api/srp)| -|hint|[string](../types/string.md) | Optional|Text hint for the password| -|email|[string](../types/string.md) | Optional|Password recovery email| -|new\_secure\_settings|[SecureSecretSettings](../types/SecureSecretSettings.md) | Optional|Telegram [passport](https://core.telegram.org/passport) settings| - - - -### Type: [account\_PasswordInputSettings](../types/account_PasswordInputSettings.md) - - -### Example: - -```php -$account_passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_algo' => PasswordKdfAlgo, 'new_password_hash' => 'bytes', 'hint' => 'string', 'email' => 'string', 'new_secure_settings' => SecureSecretSettings]; -``` - - -Or, if you're into Lua: - -```lua -account_passwordInputSettings={_='account.passwordInputSettings', new_algo=PasswordKdfAlgo, new_password_hash='bytes', hint='string', email='string', new_secure_settings=SecureSecretSettings} - -``` - - diff --git a/old_docs/API_docs_v104/constructors/account_passwordSettings.md b/old_docs/API_docs_v104/constructors/account_passwordSettings.md deleted file mode 100644 index 16eaf433..00000000 --- a/old_docs/API_docs_v104/constructors/account_passwordSettings.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: account.passwordSettings -description: Private info associated to the password info (recovery email, telegram [passport](https://core.telegram.org/passport) info & so on) -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.passwordSettings -[Back to constructors index](index.md) - - - -Private info associated to the password info (recovery email, telegram [passport](https://core.telegram.org/passport) info & so on) - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|email|[string](../types/string.md) | Optional|[2FA Recovery email](https://core.telegram.org/api/srp#email-verification)| -|secure\_settings|[SecureSecretSettings](../types/SecureSecretSettings.md) | Optional|Telegram [passport](https://core.telegram.org/passport) settings| - - - -### Type: [account\_PasswordSettings](../types/account_PasswordSettings.md) - - -### Example: - -```php -$account_passwordSettings = ['_' => 'account.passwordSettings', 'email' => 'string', 'secure_settings' => SecureSecretSettings]; -``` - - -Or, if you're into Lua: - -```lua -account_passwordSettings={_='account.passwordSettings', email='string', secure_settings=SecureSecretSettings} - -``` - - diff --git a/old_docs/API_docs_v104/constructors/account_privacyRules.md b/old_docs/API_docs_v104/constructors/account_privacyRules.md deleted file mode 100644 index 5fd928b9..00000000 --- a/old_docs/API_docs_v104/constructors/account_privacyRules.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: account.privacyRules -description: Privacy rules -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.privacyRules -[Back to constructors index](index.md) - - - -Privacy rules - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|rules|Array of [PrivacyRule](../types/PrivacyRule.md) | Yes|Rules| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats allowed?| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [account\_PrivacyRules](../types/account_PrivacyRules.md) - - -### Example: - -```php -$account_privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule, PrivacyRule], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -account_privacyRules={_='account.privacyRules', rules={PrivacyRule}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v104/constructors/account_sentEmailCode.md b/old_docs/API_docs_v104/constructors/account_sentEmailCode.md deleted file mode 100644 index 684fb4b5..00000000 --- a/old_docs/API_docs_v104/constructors/account_sentEmailCode.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: account.sentEmailCode -description: The sent email code -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.sentEmailCode -[Back to constructors index](index.md) - - - -The sent email code - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|email\_pattern|[string](../types/string.md) | Yes|The email (to which the code was sent) must match this [pattern](https://core.telegram.org/api/pattern)| -|length|[int](../types/int.md) | Yes|The length of the verification code| - - - -### Type: [account\_SentEmailCode](../types/account_SentEmailCode.md) - - -### Example: - -```php -$account_sentEmailCode = ['_' => 'account.sentEmailCode', 'email_pattern' => 'string', 'length' => int]; -``` - - -Or, if you're into Lua: - -```lua -account_sentEmailCode={_='account.sentEmailCode', email_pattern='string', length=int} - -``` - - diff --git a/old_docs/API_docs_v104/constructors/account_takeout.md b/old_docs/API_docs_v104/constructors/account_takeout.md deleted file mode 100644 index 09af93ca..00000000 --- a/old_docs/API_docs_v104/constructors/account_takeout.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: account.takeout -description: Takout info -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.takeout -[Back to constructors index](index.md) - - - -Takout info - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|id|[long](../types/long.md) | Yes|Takeout ID| - - - -### Type: [account\_Takeout](../types/account_Takeout.md) - - -### Example: - -```php -$account_takeout = ['_' => 'account.takeout', 'id' => long]; -``` - - -Or, if you're into Lua: - -```lua -account_takeout={_='account.takeout', id=long} - -``` - - diff --git a/old_docs/API_docs_v104/constructors/account_tmpPassword.md b/old_docs/API_docs_v104/constructors/account_tmpPassword.md deleted file mode 100644 index 68832780..00000000 --- a/old_docs/API_docs_v104/constructors/account_tmpPassword.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: account.tmpPassword -description: Temporary payment password -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.tmpPassword -[Back to constructors index](index.md) - - - -Temporary payment password - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|tmp\_password|[bytes](../types/bytes.md) | Yes|Temporary password| -|valid\_until|[int](../types/int.md) | Yes|Validity period| - - - -### Type: [account\_TmpPassword](../types/account_TmpPassword.md) - - -### Example: - -```php -$account_tmpPassword = ['_' => 'account.tmpPassword', 'tmp_password' => 'bytes', 'valid_until' => int]; -``` - - -Or, if you're into Lua: - -```lua -account_tmpPassword={_='account.tmpPassword', tmp_password='bytes', valid_until=int} - -``` - - diff --git a/old_docs/API_docs_v104/constructors/account_wallPapers.md b/old_docs/API_docs_v104/constructors/account_wallPapers.md deleted file mode 100644 index 6239c29c..00000000 --- a/old_docs/API_docs_v104/constructors/account_wallPapers.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: account.wallPapers -description: Installed wallpapers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.wallPapers -[Back to constructors index](index.md) - - - -Installed wallpapers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|wallpapers|Array of [WallPaper](../types/WallPaper.md) | Yes|Wallpapers| - - - -### Type: [account\_WallPapers](../types/account_WallPapers.md) - - -### Example: - -```php -$account_wallPapers = ['_' => 'account.wallPapers', 'hash' => int, 'wallpapers' => [WallPaper, WallPaper]]; -``` - - -Or, if you're into Lua: - -```lua -account_wallPapers={_='account.wallPapers', hash=int, wallpapers={WallPaper}} - -``` - - diff --git a/old_docs/API_docs_v104/constructors/account_wallPapersNotModified.md b/old_docs/API_docs_v104/constructors/account_wallPapersNotModified.md deleted file mode 100644 index acb28796..00000000 --- a/old_docs/API_docs_v104/constructors/account_wallPapersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: account.wallPapersNotModified -description: No new wallpapers were found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.wallPapersNotModified -[Back to constructors index](index.md) - - - -No new wallpapers were found - - - - -### Type: [account\_WallPapers](../types/account_WallPapers.md) - - -### Example: - -```php -$account_wallPapersNotModified = ['_' => 'account.wallPapersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -account_wallPapersNotModified={_='account.wallPapersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v104/constructors/account_webAuthorizations.md b/old_docs/API_docs_v104/constructors/account_webAuthorizations.md deleted file mode 100644 index ae402006..00000000 --- a/old_docs/API_docs_v104/constructors/account_webAuthorizations.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: account.webAuthorizations -description: Web authorizations -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.webAuthorizations -[Back to constructors index](index.md) - - - -Web authorizations - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|authorizations|Array of [WebAuthorization](../types/WebAuthorization.md) | Yes|Authorizations| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [account\_WebAuthorizations](../types/account_WebAuthorizations.md) - - -### Example: - -```php -$account_webAuthorizations = ['_' => 'account.webAuthorizations', 'authorizations' => [WebAuthorization, WebAuthorization], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -account_webAuthorizations={_='account.webAuthorizations', authorizations={WebAuthorization}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v104/constructors/auth.authorization.md b/old_docs/API_docs_v104/constructors/auth.authorization.md new file mode 100644 index 00000000..2a84bb12 --- /dev/null +++ b/old_docs/API_docs_v104/constructors/auth.authorization.md @@ -0,0 +1,39 @@ +--- +title: auth.authorization +description: Contains user authorization info. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.authorization +[Back to constructors index](index.md) + + + +Contains user authorization info. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|tmp\_sessions|[int](../types/int.md) | Optional|Temporary [passport](https://core.telegram.org/passport) sessions| +|user|[User](../types/User.md) | Optional|Info on authorized user| + + + +### Type: [auth.Authorization](../types/auth.Authorization.md) + + +### Example: + +```php +$auth.authorization = ['_' => 'auth.authorization', 'tmp_sessions' => int, 'user' => User]; +``` + + +Or, if you're into Lua: + +```lua +auth.authorization={_='auth.authorization', tmp_sessions=int, user=User} + +``` + + diff --git a/old_docs/API_docs_v104/constructors/auth.authorizationSignUpRequired.md b/old_docs/API_docs_v104/constructors/auth.authorizationSignUpRequired.md new file mode 100644 index 00000000..477c7705 --- /dev/null +++ b/old_docs/API_docs_v104/constructors/auth.authorizationSignUpRequired.md @@ -0,0 +1,38 @@ +--- +title: auth.authorizationSignUpRequired +description: An account with this phone number doesn't exist on telegram: the user has to [enter basic information and sign up](https://core.telegram.org/api/auth) +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.authorizationSignUpRequired +[Back to constructors index](index.md) + + + +An account with this phone number doesn't exist on telegram: the user has to [enter basic information and sign up](https://core.telegram.org/api/auth) + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|terms\_of\_service|[help.TermsOfService](../constructors/help.TermsOfService.md) | Optional|Telegram's terms of service: the user must read and accept the terms of service before signing up to telegram| + + + +### Type: [auth.Authorization](../types/auth.Authorization.md) + + +### Example: + +```php +$auth.authorizationSignUpRequired = ['_' => 'auth.authorizationSignUpRequired', 'terms_of_service' => help.TermsOfService]; +``` + + +Or, if you're into Lua: + +```lua +auth.authorizationSignUpRequired={_='auth.authorizationSignUpRequired', terms_of_service=help.TermsOfService} + +``` + + diff --git a/old_docs/API_docs_v104/constructors/auth.codeTypeCall.md b/old_docs/API_docs_v104/constructors/auth.codeTypeCall.md new file mode 100644 index 00000000..4b4a1cdc --- /dev/null +++ b/old_docs/API_docs_v104/constructors/auth.codeTypeCall.md @@ -0,0 +1,33 @@ +--- +title: auth.codeTypeCall +description: Type of verification code that will be sent next if you call the resendCode method: SMS code +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.codeTypeCall +[Back to constructors index](index.md) + + + +Type of verification code that will be sent next if you call the resendCode method: SMS code + + + + +### Type: [auth.CodeType](../types/auth.CodeType.md) + + +### Example: + +```php +$auth.codeTypeCall = ['_' => 'auth.codeTypeCall']; +``` + + +Or, if you're into Lua: + +```lua +auth.codeTypeCall={_='auth.codeTypeCall'} + +``` + + diff --git a/old_docs/API_docs_v104/constructors/auth.codeTypeFlashCall.md b/old_docs/API_docs_v104/constructors/auth.codeTypeFlashCall.md new file mode 100644 index 00000000..ef97e034 --- /dev/null +++ b/old_docs/API_docs_v104/constructors/auth.codeTypeFlashCall.md @@ -0,0 +1,33 @@ +--- +title: auth.codeTypeFlashCall +description: Type of verification code that will be sent next if you call the resendCode method: SMS code +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.codeTypeFlashCall +[Back to constructors index](index.md) + + + +Type of verification code that will be sent next if you call the resendCode method: SMS code + + + + +### Type: [auth.CodeType](../types/auth.CodeType.md) + + +### Example: + +```php +$auth.codeTypeFlashCall = ['_' => 'auth.codeTypeFlashCall']; +``` + + +Or, if you're into Lua: + +```lua +auth.codeTypeFlashCall={_='auth.codeTypeFlashCall'} + +``` + + diff --git a/old_docs/API_docs_v104/constructors/auth.codeTypeSms.md b/old_docs/API_docs_v104/constructors/auth.codeTypeSms.md new file mode 100644 index 00000000..bab9a5a4 --- /dev/null +++ b/old_docs/API_docs_v104/constructors/auth.codeTypeSms.md @@ -0,0 +1,33 @@ +--- +title: auth.codeTypeSms +description: Type of verification code that will be sent next if you call the resendCode method: SMS code +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.codeTypeSms +[Back to constructors index](index.md) + + + +Type of verification code that will be sent next if you call the resendCode method: SMS code + + + + +### Type: [auth.CodeType](../types/auth.CodeType.md) + + +### Example: + +```php +$auth.codeTypeSms = ['_' => 'auth.codeTypeSms']; +``` + + +Or, if you're into Lua: + +```lua +auth.codeTypeSms={_='auth.codeTypeSms'} + +``` + + diff --git a/old_docs/API_docs_v104/constructors/auth.exportedAuthorization.md b/old_docs/API_docs_v104/constructors/auth.exportedAuthorization.md new file mode 100644 index 00000000..2a4a9896 --- /dev/null +++ b/old_docs/API_docs_v104/constructors/auth.exportedAuthorization.md @@ -0,0 +1,39 @@ +--- +title: auth.exportedAuthorization +description: Data for copying of authorization between data centres. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.exportedAuthorization +[Back to constructors index](index.md) + + + +Data for copying of authorization between data centres. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|id|[int](../types/int.md) | Yes|Current user identifier| +|bytes|[bytes](../types/bytes.md) | Yes|Authorizes key| + + + +### Type: [auth.ExportedAuthorization](../types/auth.ExportedAuthorization.md) + + +### Example: + +```php +$auth.exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +auth.exportedAuthorization={_='auth.exportedAuthorization', id=int, bytes='bytes'} + +``` + + diff --git a/old_docs/API_docs_v104/constructors/auth.passwordRecovery.md b/old_docs/API_docs_v104/constructors/auth.passwordRecovery.md new file mode 100644 index 00000000..61de922d --- /dev/null +++ b/old_docs/API_docs_v104/constructors/auth.passwordRecovery.md @@ -0,0 +1,38 @@ +--- +title: auth.passwordRecovery +description: Recovery info of a [2FA password](https://core.telegram.org/api/srp), only for accounts with a [recovery email configured](https://core.telegram.org/api/srp#email-verification). +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.passwordRecovery +[Back to constructors index](index.md) + + + +Recovery info of a [2FA password](https://core.telegram.org/api/srp), only for accounts with a [recovery email configured](https://core.telegram.org/api/srp#email-verification). + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|email\_pattern|[string](../types/string.md) | Yes|The email to which the recovery code was sent must match this [pattern](https://core.telegram.org/api/pattern).| + + + +### Type: [auth.PasswordRecovery](../types/auth.PasswordRecovery.md) + + +### Example: + +```php +$auth.passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +auth.passwordRecovery={_='auth.passwordRecovery', email_pattern='string'} + +``` + + diff --git a/old_docs/API_docs_v104/constructors/auth.sentCode.md b/old_docs/API_docs_v104/constructors/auth.sentCode.md new file mode 100644 index 00000000..134e2d0a --- /dev/null +++ b/old_docs/API_docs_v104/constructors/auth.sentCode.md @@ -0,0 +1,41 @@ +--- +title: auth.sentCode +description: Contains info about a sent verification code. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentCode +[Back to constructors index](index.md) + + + +Contains info about a sent verification code. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|type|[auth.SentCodeType](../constructors/auth.SentCodeType.md) | Yes|Phone code type| +|phone\_code\_hash|[string](../types/string.md) | Yes|Phone code hash, to be stored and later re-used with [auth.signIn](../methods/auth.signIn.md)| +|next\_type|[auth.CodeType](../constructors/auth.CodeType.md) | Optional|Phone code type that will be sent next, if the phone code is not received within `timeout` seconds: to send it use [auth.resendCode](../methods/auth.resendCode.md)| +|timeout|[int](../types/int.md) | Optional|Timeout for reception of the phone code| + + + +### Type: [auth.SentCode](../types/auth.SentCode.md) + + +### Example: + +```php +$auth.sentCode = ['_' => 'auth.sentCode', 'type' => auth.SentCodeType, 'phone_code_hash' => 'string', 'next_type' => auth.CodeType, 'timeout' => int]; +``` + + +Or, if you're into Lua: + +```lua +auth.sentCode={_='auth.sentCode', type=auth.SentCodeType, phone_code_hash='string', next_type=auth.CodeType, timeout=int} + +``` + + diff --git a/old_docs/API_docs_v104/constructors/auth.sentCodeTypeApp.md b/old_docs/API_docs_v104/constructors/auth.sentCodeTypeApp.md new file mode 100644 index 00000000..5f2d4aa3 --- /dev/null +++ b/old_docs/API_docs_v104/constructors/auth.sentCodeTypeApp.md @@ -0,0 +1,38 @@ +--- +title: auth.sentCodeTypeApp +description: The code was sent through the telegram app +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentCodeTypeApp +[Back to constructors index](index.md) + + + +The code was sent through the telegram app + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|length|[int](../types/int.md) | Yes|Length of the code in bytes| + + + +### Type: [auth.SentCodeType](../types/auth.SentCodeType.md) + + +### Example: + +```php +$auth.sentCodeTypeApp = ['_' => 'auth.sentCodeTypeApp', 'length' => int]; +``` + + +Or, if you're into Lua: + +```lua +auth.sentCodeTypeApp={_='auth.sentCodeTypeApp', length=int} + +``` + + diff --git a/old_docs/API_docs_v104/constructors/auth.sentCodeTypeCall.md b/old_docs/API_docs_v104/constructors/auth.sentCodeTypeCall.md new file mode 100644 index 00000000..9843b3df --- /dev/null +++ b/old_docs/API_docs_v104/constructors/auth.sentCodeTypeCall.md @@ -0,0 +1,38 @@ +--- +title: auth.sentCodeTypeCall +description: The code will be sent via a phone call: a synthesized voice will tell the user which verification code to input. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentCodeTypeCall +[Back to constructors index](index.md) + + + +The code will be sent via a phone call: a synthesized voice will tell the user which verification code to input. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|length|[int](../types/int.md) | Yes|Length of the verification code| + + + +### Type: [auth.SentCodeType](../types/auth.SentCodeType.md) + + +### Example: + +```php +$auth.sentCodeTypeCall = ['_' => 'auth.sentCodeTypeCall', 'length' => int]; +``` + + +Or, if you're into Lua: + +```lua +auth.sentCodeTypeCall={_='auth.sentCodeTypeCall', length=int} + +``` + + diff --git a/old_docs/API_docs_v104/constructors/auth.sentCodeTypeFlashCall.md b/old_docs/API_docs_v104/constructors/auth.sentCodeTypeFlashCall.md new file mode 100644 index 00000000..0d24751d --- /dev/null +++ b/old_docs/API_docs_v104/constructors/auth.sentCodeTypeFlashCall.md @@ -0,0 +1,38 @@ +--- +title: auth.sentCodeTypeFlashCall +description: The code will be sent via a flash phone call, that will be closed immediately. The phone code will then be the phone number itself, just make sure that the phone number matches the specified pattern. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentCodeTypeFlashCall +[Back to constructors index](index.md) + + + +The code will be sent via a flash phone call, that will be closed immediately. The phone code will then be the phone number itself, just make sure that the phone number matches the specified pattern. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pattern|[string](../types/string.md) | Yes|[pattern](https://core.telegram.org/api/pattern) to match| + + + +### Type: [auth.SentCodeType](../types/auth.SentCodeType.md) + + +### Example: + +```php +$auth.sentCodeTypeFlashCall = ['_' => 'auth.sentCodeTypeFlashCall', 'pattern' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +auth.sentCodeTypeFlashCall={_='auth.sentCodeTypeFlashCall', pattern='string'} + +``` + + diff --git a/old_docs/API_docs_v104/constructors/auth.sentCodeTypeSms.md b/old_docs/API_docs_v104/constructors/auth.sentCodeTypeSms.md new file mode 100644 index 00000000..d8ecb75e --- /dev/null +++ b/old_docs/API_docs_v104/constructors/auth.sentCodeTypeSms.md @@ -0,0 +1,38 @@ +--- +title: auth.sentCodeTypeSms +description: The code was sent via SMS +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentCodeTypeSms +[Back to constructors index](index.md) + + + +The code was sent via SMS + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|length|[int](../types/int.md) | Yes|Length of the code in bytes| + + + +### Type: [auth.SentCodeType](../types/auth.SentCodeType.md) + + +### Example: + +```php +$auth.sentCodeTypeSms = ['_' => 'auth.sentCodeTypeSms', 'length' => int]; +``` + + +Or, if you're into Lua: + +```lua +auth.sentCodeTypeSms={_='auth.sentCodeTypeSms', length=int} + +``` + + diff --git a/old_docs/API_docs_v104/constructors/auth_authorization.md b/old_docs/API_docs_v104/constructors/auth_authorization.md deleted file mode 100644 index cb72811d..00000000 --- a/old_docs/API_docs_v104/constructors/auth_authorization.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: auth.authorization -description: Contains user authorization info. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.authorization -[Back to constructors index](index.md) - - - -Contains user authorization info. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|tmp\_sessions|[int](../types/int.md) | Optional|Temporary [passport](https://core.telegram.org/passport) sessions| -|user|[User](../types/User.md) | Optional|Info on authorized user| - - - -### Type: [auth\_Authorization](../types/auth_Authorization.md) - - -### Example: - -```php -$auth_authorization = ['_' => 'auth.authorization', 'tmp_sessions' => int, 'user' => User]; -``` - - -Or, if you're into Lua: - -```lua -auth_authorization={_='auth.authorization', tmp_sessions=int, user=User} - -``` - - diff --git a/old_docs/API_docs_v104/constructors/auth_authorizationSignUpRequired.md b/old_docs/API_docs_v104/constructors/auth_authorizationSignUpRequired.md deleted file mode 100644 index 049680f3..00000000 --- a/old_docs/API_docs_v104/constructors/auth_authorizationSignUpRequired.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.authorizationSignUpRequired -description: An account with this phone number doesn't exist on telegram: the user has to [enter basic information and sign up](https://core.telegram.org/api/auth) -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.authorizationSignUpRequired -[Back to constructors index](index.md) - - - -An account with this phone number doesn't exist on telegram: the user has to [enter basic information and sign up](https://core.telegram.org/api/auth) - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|terms\_of\_service|[help\_TermsOfService](../types/help_TermsOfService.md) | Optional|Telegram's terms of service: the user must read and accept the terms of service before signing up to telegram| - - - -### Type: [auth\_Authorization](../types/auth_Authorization.md) - - -### Example: - -```php -$auth_authorizationSignUpRequired = ['_' => 'auth.authorizationSignUpRequired', 'terms_of_service' => help_TermsOfService]; -``` - - -Or, if you're into Lua: - -```lua -auth_authorizationSignUpRequired={_='auth.authorizationSignUpRequired', terms_of_service=help_TermsOfService} - -``` - - diff --git a/old_docs/API_docs_v104/constructors/auth_codeTypeCall.md b/old_docs/API_docs_v104/constructors/auth_codeTypeCall.md deleted file mode 100644 index 3e957c2a..00000000 --- a/old_docs/API_docs_v104/constructors/auth_codeTypeCall.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: auth.codeTypeCall -description: Type of verification code that will be sent next if you call the resendCode method: SMS code -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.codeTypeCall -[Back to constructors index](index.md) - - - -Type of verification code that will be sent next if you call the resendCode method: SMS code - - - - -### Type: [auth\_CodeType](../types/auth_CodeType.md) - - -### Example: - -```php -$auth_codeTypeCall = ['_' => 'auth.codeTypeCall']; -``` - - -Or, if you're into Lua: - -```lua -auth_codeTypeCall={_='auth.codeTypeCall'} - -``` - - diff --git a/old_docs/API_docs_v104/constructors/auth_codeTypeFlashCall.md b/old_docs/API_docs_v104/constructors/auth_codeTypeFlashCall.md deleted file mode 100644 index 981b2461..00000000 --- a/old_docs/API_docs_v104/constructors/auth_codeTypeFlashCall.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: auth.codeTypeFlashCall -description: Type of verification code that will be sent next if you call the resendCode method: SMS code -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.codeTypeFlashCall -[Back to constructors index](index.md) - - - -Type of verification code that will be sent next if you call the resendCode method: SMS code - - - - -### Type: [auth\_CodeType](../types/auth_CodeType.md) - - -### Example: - -```php -$auth_codeTypeFlashCall = ['_' => 'auth.codeTypeFlashCall']; -``` - - -Or, if you're into Lua: - -```lua -auth_codeTypeFlashCall={_='auth.codeTypeFlashCall'} - -``` - - diff --git a/old_docs/API_docs_v104/constructors/auth_codeTypeSms.md b/old_docs/API_docs_v104/constructors/auth_codeTypeSms.md deleted file mode 100644 index 16eb5d0d..00000000 --- a/old_docs/API_docs_v104/constructors/auth_codeTypeSms.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: auth.codeTypeSms -description: Type of verification code that will be sent next if you call the resendCode method: SMS code -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.codeTypeSms -[Back to constructors index](index.md) - - - -Type of verification code that will be sent next if you call the resendCode method: SMS code - - - - -### Type: [auth\_CodeType](../types/auth_CodeType.md) - - -### Example: - -```php -$auth_codeTypeSms = ['_' => 'auth.codeTypeSms']; -``` - - -Or, if you're into Lua: - -```lua -auth_codeTypeSms={_='auth.codeTypeSms'} - -``` - - diff --git a/old_docs/API_docs_v104/constructors/auth_exportedAuthorization.md b/old_docs/API_docs_v104/constructors/auth_exportedAuthorization.md deleted file mode 100644 index 8d18916e..00000000 --- a/old_docs/API_docs_v104/constructors/auth_exportedAuthorization.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: auth.exportedAuthorization -description: Data for copying of authorization between data centres. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.exportedAuthorization -[Back to constructors index](index.md) - - - -Data for copying of authorization between data centres. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|id|[int](../types/int.md) | Yes|Current user identifier| -|bytes|[bytes](../types/bytes.md) | Yes|Authorizes key| - - - -### Type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) - - -### Example: - -```php -$auth_exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -auth_exportedAuthorization={_='auth.exportedAuthorization', id=int, bytes='bytes'} - -``` - - diff --git a/old_docs/API_docs_v104/constructors/auth_passwordRecovery.md b/old_docs/API_docs_v104/constructors/auth_passwordRecovery.md deleted file mode 100644 index c40f375e..00000000 --- a/old_docs/API_docs_v104/constructors/auth_passwordRecovery.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.passwordRecovery -description: Recovery info of a [2FA password](https://core.telegram.org/api/srp), only for accounts with a [recovery email configured](https://core.telegram.org/api/srp#email-verification). -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.passwordRecovery -[Back to constructors index](index.md) - - - -Recovery info of a [2FA password](https://core.telegram.org/api/srp), only for accounts with a [recovery email configured](https://core.telegram.org/api/srp#email-verification). - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|email\_pattern|[string](../types/string.md) | Yes|The email to which the recovery code was sent must match this [pattern](https://core.telegram.org/api/pattern).| - - - -### Type: [auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) - - -### Example: - -```php -$auth_passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -auth_passwordRecovery={_='auth.passwordRecovery', email_pattern='string'} - -``` - - diff --git a/old_docs/API_docs_v104/constructors/auth_sentCode.md b/old_docs/API_docs_v104/constructors/auth_sentCode.md deleted file mode 100644 index d2b726e1..00000000 --- a/old_docs/API_docs_v104/constructors/auth_sentCode.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: auth.sentCode -description: Contains info about a sent verification code. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentCode -[Back to constructors index](index.md) - - - -Contains info about a sent verification code. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|type|[auth\_SentCodeType](../types/auth_SentCodeType.md) | Yes|Phone code type| -|phone\_code\_hash|[string](../types/string.md) | Yes|Phone code hash, to be stored and later re-used with [auth.signIn](../methods/auth.signIn.md)| -|next\_type|[auth\_CodeType](../types/auth_CodeType.md) | Optional|Phone code type that will be sent next, if the phone code is not received within `timeout` seconds: to send it use [auth.resendCode](../methods/auth.resendCode.md)| -|timeout|[int](../types/int.md) | Optional|Timeout for reception of the phone code| - - - -### Type: [auth\_SentCode](../types/auth_SentCode.md) - - -### Example: - -```php -$auth_sentCode = ['_' => 'auth.sentCode', 'type' => auth_SentCodeType, 'phone_code_hash' => 'string', 'next_type' => auth_CodeType, 'timeout' => int]; -``` - - -Or, if you're into Lua: - -```lua -auth_sentCode={_='auth.sentCode', type=auth_SentCodeType, phone_code_hash='string', next_type=auth_CodeType, timeout=int} - -``` - - diff --git a/old_docs/API_docs_v104/constructors/auth_sentCodeTypeApp.md b/old_docs/API_docs_v104/constructors/auth_sentCodeTypeApp.md deleted file mode 100644 index 6b7ad824..00000000 --- a/old_docs/API_docs_v104/constructors/auth_sentCodeTypeApp.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.sentCodeTypeApp -description: The code was sent through the telegram app -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentCodeTypeApp -[Back to constructors index](index.md) - - - -The code was sent through the telegram app - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|length|[int](../types/int.md) | Yes|Length of the code in bytes| - - - -### Type: [auth\_SentCodeType](../types/auth_SentCodeType.md) - - -### Example: - -```php -$auth_sentCodeTypeApp = ['_' => 'auth.sentCodeTypeApp', 'length' => int]; -``` - - -Or, if you're into Lua: - -```lua -auth_sentCodeTypeApp={_='auth.sentCodeTypeApp', length=int} - -``` - - diff --git a/old_docs/API_docs_v104/constructors/auth_sentCodeTypeCall.md b/old_docs/API_docs_v104/constructors/auth_sentCodeTypeCall.md deleted file mode 100644 index bf025aa5..00000000 --- a/old_docs/API_docs_v104/constructors/auth_sentCodeTypeCall.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.sentCodeTypeCall -description: The code will be sent via a phone call: a synthesized voice will tell the user which verification code to input. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentCodeTypeCall -[Back to constructors index](index.md) - - - -The code will be sent via a phone call: a synthesized voice will tell the user which verification code to input. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|length|[int](../types/int.md) | Yes|Length of the verification code| - - - -### Type: [auth\_SentCodeType](../types/auth_SentCodeType.md) - - -### Example: - -```php -$auth_sentCodeTypeCall = ['_' => 'auth.sentCodeTypeCall', 'length' => int]; -``` - - -Or, if you're into Lua: - -```lua -auth_sentCodeTypeCall={_='auth.sentCodeTypeCall', length=int} - -``` - - diff --git a/old_docs/API_docs_v104/constructors/auth_sentCodeTypeFlashCall.md b/old_docs/API_docs_v104/constructors/auth_sentCodeTypeFlashCall.md deleted file mode 100644 index efe64ce7..00000000 --- a/old_docs/API_docs_v104/constructors/auth_sentCodeTypeFlashCall.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.sentCodeTypeFlashCall -description: The code will be sent via a flash phone call, that will be closed immediately. The phone code will then be the phone number itself, just make sure that the phone number matches the specified pattern. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentCodeTypeFlashCall -[Back to constructors index](index.md) - - - -The code will be sent via a flash phone call, that will be closed immediately. The phone code will then be the phone number itself, just make sure that the phone number matches the specified pattern. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pattern|[string](../types/string.md) | Yes|[pattern](https://core.telegram.org/api/pattern) to match| - - - -### Type: [auth\_SentCodeType](../types/auth_SentCodeType.md) - - -### Example: - -```php -$auth_sentCodeTypeFlashCall = ['_' => 'auth.sentCodeTypeFlashCall', 'pattern' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -auth_sentCodeTypeFlashCall={_='auth.sentCodeTypeFlashCall', pattern='string'} - -``` - - diff --git a/old_docs/API_docs_v104/constructors/auth_sentCodeTypeSms.md b/old_docs/API_docs_v104/constructors/auth_sentCodeTypeSms.md deleted file mode 100644 index 8e27dac9..00000000 --- a/old_docs/API_docs_v104/constructors/auth_sentCodeTypeSms.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.sentCodeTypeSms -description: The code was sent via SMS -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentCodeTypeSms -[Back to constructors index](index.md) - - - -The code was sent via SMS - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|length|[int](../types/int.md) | Yes|Length of the code in bytes| - - - -### Type: [auth\_SentCodeType](../types/auth_SentCodeType.md) - - -### Example: - -```php -$auth_sentCodeTypeSms = ['_' => 'auth.sentCodeTypeSms', 'length' => int]; -``` - - -Or, if you're into Lua: - -```lua -auth_sentCodeTypeSms={_='auth.sentCodeTypeSms', length=int} - -``` - - diff --git a/old_docs/API_docs_v104/constructors/channels.adminLogResults.md b/old_docs/API_docs_v104/constructors/channels.adminLogResults.md new file mode 100644 index 00000000..fc4e234a --- /dev/null +++ b/old_docs/API_docs_v104/constructors/channels.adminLogResults.md @@ -0,0 +1,40 @@ +--- +title: channels.adminLogResults +description: Admin log events +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: channels.adminLogResults +[Back to constructors index](index.md) + + + +Admin log events + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|events|Array of [ChannelAdminLogEvent](../types/ChannelAdminLogEvent.md) | Yes|Events| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [channels.AdminLogResults](../types/channels.AdminLogResults.md) + + +### Example: + +```php +$channels.adminLogResults = ['_' => 'channels.adminLogResults', 'events' => [ChannelAdminLogEvent, ChannelAdminLogEvent], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +channels.adminLogResults={_='channels.adminLogResults', events={ChannelAdminLogEvent}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v104/constructors/channels.channelParticipant.md b/old_docs/API_docs_v104/constructors/channels.channelParticipant.md new file mode 100644 index 00000000..0f09777f --- /dev/null +++ b/old_docs/API_docs_v104/constructors/channels.channelParticipant.md @@ -0,0 +1,39 @@ +--- +title: channels.channelParticipant +description: Represents a channel participant +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: channels.channelParticipant +[Back to constructors index](index.md) + + + +Represents a channel participant + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|participant|[ChannelParticipant](../types/ChannelParticipant.md) | Yes|The channel participant| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [channels.ChannelParticipant](../types/channels.ChannelParticipant.md) + + +### Example: + +```php +$channels.channelParticipant = ['_' => 'channels.channelParticipant', 'participant' => ChannelParticipant, 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +channels.channelParticipant={_='channels.channelParticipant', participant=ChannelParticipant, users={User}} + +``` + + diff --git a/old_docs/API_docs_v104/constructors/channels.channelParticipants.md b/old_docs/API_docs_v104/constructors/channels.channelParticipants.md new file mode 100644 index 00000000..6ee1a8b3 --- /dev/null +++ b/old_docs/API_docs_v104/constructors/channels.channelParticipants.md @@ -0,0 +1,40 @@ +--- +title: channels.channelParticipants +description: Represents multiple channel participants +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: channels.channelParticipants +[Back to constructors index](index.md) + + + +Represents multiple channel participants + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of participants that correspond to the given query| +|participants|Array of [ChannelParticipant](../types/ChannelParticipant.md) | Yes|Participants| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [channels.ChannelParticipants](../types/channels.ChannelParticipants.md) + + +### Example: + +```php +$channels.channelParticipants = ['_' => 'channels.channelParticipants', 'count' => int, 'participants' => [ChannelParticipant, ChannelParticipant], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +channels.channelParticipants={_='channels.channelParticipants', count=int, participants={ChannelParticipant}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v104/constructors/channels.channelParticipantsNotModified.md b/old_docs/API_docs_v104/constructors/channels.channelParticipantsNotModified.md new file mode 100644 index 00000000..37ece73a --- /dev/null +++ b/old_docs/API_docs_v104/constructors/channels.channelParticipantsNotModified.md @@ -0,0 +1,33 @@ +--- +title: channels.channelParticipantsNotModified +description: No new participant info could be found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: channels.channelParticipantsNotModified +[Back to constructors index](index.md) + + + +No new participant info could be found + + + + +### Type: [channels.ChannelParticipants](../types/channels.ChannelParticipants.md) + + +### Example: + +```php +$channels.channelParticipantsNotModified = ['_' => 'channels.channelParticipantsNotModified']; +``` + + +Or, if you're into Lua: + +```lua +channels.channelParticipantsNotModified={_='channels.channelParticipantsNotModified'} + +``` + + diff --git a/old_docs/API_docs_v104/constructors/channels_adminLogResults.md b/old_docs/API_docs_v104/constructors/channels_adminLogResults.md deleted file mode 100644 index 9061212a..00000000 --- a/old_docs/API_docs_v104/constructors/channels_adminLogResults.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: channels.adminLogResults -description: Admin log events -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: channels.adminLogResults -[Back to constructors index](index.md) - - - -Admin log events - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|events|Array of [ChannelAdminLogEvent](../types/ChannelAdminLogEvent.md) | Yes|Events| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [channels\_AdminLogResults](../types/channels_AdminLogResults.md) - - -### Example: - -```php -$channels_adminLogResults = ['_' => 'channels.adminLogResults', 'events' => [ChannelAdminLogEvent, ChannelAdminLogEvent], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -channels_adminLogResults={_='channels.adminLogResults', events={ChannelAdminLogEvent}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v104/constructors/channels_channelParticipant.md b/old_docs/API_docs_v104/constructors/channels_channelParticipant.md deleted file mode 100644 index 15fe46a4..00000000 --- a/old_docs/API_docs_v104/constructors/channels_channelParticipant.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: channels.channelParticipant -description: Represents a channel participant -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: channels.channelParticipant -[Back to constructors index](index.md) - - - -Represents a channel participant - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|participant|[ChannelParticipant](../types/ChannelParticipant.md) | Yes|The channel participant| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [channels\_ChannelParticipant](../types/channels_ChannelParticipant.md) - - -### Example: - -```php -$channels_channelParticipant = ['_' => 'channels.channelParticipant', 'participant' => ChannelParticipant, 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -channels_channelParticipant={_='channels.channelParticipant', participant=ChannelParticipant, users={User}} - -``` - - diff --git a/old_docs/API_docs_v104/constructors/channels_channelParticipants.md b/old_docs/API_docs_v104/constructors/channels_channelParticipants.md deleted file mode 100644 index 1848a04f..00000000 --- a/old_docs/API_docs_v104/constructors/channels_channelParticipants.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: channels.channelParticipants -description: Represents multiple channel participants -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: channels.channelParticipants -[Back to constructors index](index.md) - - - -Represents multiple channel participants - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of participants that correspond to the given query| -|participants|Array of [ChannelParticipant](../types/ChannelParticipant.md) | Yes|Participants| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [channels\_ChannelParticipants](../types/channels_ChannelParticipants.md) - - -### Example: - -```php -$channels_channelParticipants = ['_' => 'channels.channelParticipants', 'count' => int, 'participants' => [ChannelParticipant, ChannelParticipant], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -channels_channelParticipants={_='channels.channelParticipants', count=int, participants={ChannelParticipant}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v104/constructors/channels_channelParticipantsNotModified.md b/old_docs/API_docs_v104/constructors/channels_channelParticipantsNotModified.md deleted file mode 100644 index 800048f7..00000000 --- a/old_docs/API_docs_v104/constructors/channels_channelParticipantsNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: channels.channelParticipantsNotModified -description: No new participant info could be found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: channels.channelParticipantsNotModified -[Back to constructors index](index.md) - - - -No new participant info could be found - - - - -### Type: [channels\_ChannelParticipants](../types/channels_ChannelParticipants.md) - - -### Example: - -```php -$channels_channelParticipantsNotModified = ['_' => 'channels.channelParticipantsNotModified']; -``` - - -Or, if you're into Lua: - -```lua -channels_channelParticipantsNotModified={_='channels.channelParticipantsNotModified'} - -``` - - diff --git a/old_docs/API_docs_v104/constructors/contacts.blocked.md b/old_docs/API_docs_v104/constructors/contacts.blocked.md new file mode 100644 index 00000000..d2b3f680 --- /dev/null +++ b/old_docs/API_docs_v104/constructors/contacts.blocked.md @@ -0,0 +1,39 @@ +--- +title: contacts.blocked +description: Full list of blocked users. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.blocked +[Back to constructors index](index.md) + + + +Full list of blocked users. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Blocked](../types/contacts.Blocked.md) + + +### Example: + +```php +$contacts.blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.blocked={_='contacts.blocked', blocked={ContactBlocked}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v104/constructors/contacts.blockedSlice.md b/old_docs/API_docs_v104/constructors/contacts.blockedSlice.md new file mode 100644 index 00000000..92d19c72 --- /dev/null +++ b/old_docs/API_docs_v104/constructors/contacts.blockedSlice.md @@ -0,0 +1,40 @@ +--- +title: contacts.blockedSlice +description: Incomplete list of blocked users. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.blockedSlice +[Back to constructors index](index.md) + + + +Incomplete list of blocked users. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of elements in the list| +|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Blocked](../types/contacts.Blocked.md) + + +### Example: + +```php +$contacts.blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.blockedSlice={_='contacts.blockedSlice', count=int, blocked={ContactBlocked}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v104/constructors/contacts.contacts.md b/old_docs/API_docs_v104/constructors/contacts.contacts.md new file mode 100644 index 00000000..c3251e5d --- /dev/null +++ b/old_docs/API_docs_v104/constructors/contacts.contacts.md @@ -0,0 +1,40 @@ +--- +title: contacts.contacts +description: The current user's contact list and info on users. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.contacts +[Back to constructors index](index.md) + + + +The current user's contact list and info on users. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|contacts|Array of [Contact](../types/Contact.md) | Yes|Contacts| +|saved\_count|[int](../types/int.md) | Yes|Number of contacts that were saved successfully| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Contacts](../types/contacts.Contacts.md) + + +### Example: + +```php +$contacts.contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact, Contact], 'saved_count' => int, 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.contacts={_='contacts.contacts', contacts={Contact}, saved_count=int, users={User}} + +``` + + diff --git a/old_docs/API_docs_v104/constructors/contacts.contactsNotModified.md b/old_docs/API_docs_v104/constructors/contacts.contactsNotModified.md new file mode 100644 index 00000000..e2149396 --- /dev/null +++ b/old_docs/API_docs_v104/constructors/contacts.contactsNotModified.md @@ -0,0 +1,33 @@ +--- +title: contacts.contactsNotModified +description: Contact list on the server is the same as the list on the client. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.contactsNotModified +[Back to constructors index](index.md) + + + +Contact list on the server is the same as the list on the client. + + + + +### Type: [contacts.Contacts](../types/contacts.Contacts.md) + + +### Example: + +```php +$contacts.contactsNotModified = ['_' => 'contacts.contactsNotModified']; +``` + + +Or, if you're into Lua: + +```lua +contacts.contactsNotModified={_='contacts.contactsNotModified'} + +``` + + diff --git a/old_docs/API_docs_v104/constructors/contacts.found.md b/old_docs/API_docs_v104/constructors/contacts.found.md new file mode 100644 index 00000000..65df2f8d --- /dev/null +++ b/old_docs/API_docs_v104/constructors/contacts.found.md @@ -0,0 +1,41 @@ +--- +title: contacts.found +description: Users found by name substring and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.found +[Back to constructors index](index.md) + + + +Users found by name substring and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|my\_results|Array of [Peer](../types/Peer.md) | Yes|My results| +|results|Array of [Peer](../types/Peer.md) | Yes|Results| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Found](../types/contacts.Found.md) + + +### Example: + +```php +$contacts.found = ['_' => 'contacts.found', 'my_results' => [Peer, Peer], 'results' => [Peer, Peer], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.found={_='contacts.found', my_results={Peer}, results={Peer}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v104/constructors/contacts.importedContacts.md b/old_docs/API_docs_v104/constructors/contacts.importedContacts.md new file mode 100644 index 00000000..20075931 --- /dev/null +++ b/old_docs/API_docs_v104/constructors/contacts.importedContacts.md @@ -0,0 +1,41 @@ +--- +title: contacts.importedContacts +description: Info on succesfully imported contacts. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.importedContacts +[Back to constructors index](index.md) + + + +Info on succesfully imported contacts. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|imported|Array of [ImportedContact](../types/ImportedContact.md) | Yes|Imported| +|popular\_invites|Array of [PopularContact](../types/PopularContact.md) | Yes|Popular invites| +|retry\_contacts|Array of [long](../types/long.md) | Yes|Retry importing contacts whose client IDs appear here| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.ImportedContacts](../types/contacts.ImportedContacts.md) + + +### Example: + +```php +$contacts.importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact, ImportedContact], 'popular_invites' => [PopularContact, PopularContact], 'retry_contacts' => [long, long], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.importedContacts={_='contacts.importedContacts', imported={ImportedContact}, popular_invites={PopularContact}, retry_contacts={long}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v104/constructors/contacts.resolvedPeer.md b/old_docs/API_docs_v104/constructors/contacts.resolvedPeer.md new file mode 100644 index 00000000..35d88481 --- /dev/null +++ b/old_docs/API_docs_v104/constructors/contacts.resolvedPeer.md @@ -0,0 +1,40 @@ +--- +title: contacts.resolvedPeer +description: Resolved peer +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.resolvedPeer +[Back to constructors index](index.md) + + + +Resolved peer + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|peer|[Peer](../types/Peer.md) | Yes|The peer| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.ResolvedPeer](../types/contacts.ResolvedPeer.md) + + +### Example: + +```php +$contacts.resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.resolvedPeer={_='contacts.resolvedPeer', peer=Peer, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v104/constructors/contacts.topPeers.md b/old_docs/API_docs_v104/constructors/contacts.topPeers.md new file mode 100644 index 00000000..19d9c712 --- /dev/null +++ b/old_docs/API_docs_v104/constructors/contacts.topPeers.md @@ -0,0 +1,40 @@ +--- +title: contacts.topPeers +description: Top peers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.topPeers +[Back to constructors index](index.md) + + + +Top peers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|categories|Array of [TopPeerCategoryPeers](../types/TopPeerCategoryPeers.md) | Yes|Categories| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.TopPeers](../types/contacts.TopPeers.md) + + +### Example: + +```php +$contacts.topPeers = ['_' => 'contacts.topPeers', 'categories' => [TopPeerCategoryPeers, TopPeerCategoryPeers], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.topPeers={_='contacts.topPeers', categories={TopPeerCategoryPeers}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v104/constructors/contacts.topPeersDisabled.md b/old_docs/API_docs_v104/constructors/contacts.topPeersDisabled.md new file mode 100644 index 00000000..a0e2c50b --- /dev/null +++ b/old_docs/API_docs_v104/constructors/contacts.topPeersDisabled.md @@ -0,0 +1,33 @@ +--- +title: contacts.topPeersDisabled +description: Top peers disabled +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.topPeersDisabled +[Back to constructors index](index.md) + + + +Top peers disabled + + + + +### Type: [contacts.TopPeers](../types/contacts.TopPeers.md) + + +### Example: + +```php +$contacts.topPeersDisabled = ['_' => 'contacts.topPeersDisabled']; +``` + + +Or, if you're into Lua: + +```lua +contacts.topPeersDisabled={_='contacts.topPeersDisabled'} + +``` + + diff --git a/old_docs/API_docs_v104/constructors/contacts.topPeersNotModified.md b/old_docs/API_docs_v104/constructors/contacts.topPeersNotModified.md new file mode 100644 index 00000000..77c5eb4d --- /dev/null +++ b/old_docs/API_docs_v104/constructors/contacts.topPeersNotModified.md @@ -0,0 +1,33 @@ +--- +title: contacts.topPeersNotModified +description: Top peer info hasn't changed +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.topPeersNotModified +[Back to constructors index](index.md) + + + +Top peer info hasn't changed + + + + +### Type: [contacts.TopPeers](../types/contacts.TopPeers.md) + + +### Example: + +```php +$contacts.topPeersNotModified = ['_' => 'contacts.topPeersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +contacts.topPeersNotModified={_='contacts.topPeersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v104/constructors/contacts_blocked.md b/old_docs/API_docs_v104/constructors/contacts_blocked.md deleted file mode 100644 index 20e33002..00000000 --- a/old_docs/API_docs_v104/constructors/contacts_blocked.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: contacts.blocked -description: Full list of blocked users. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.blocked -[Back to constructors index](index.md) - - - -Full list of blocked users. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Blocked](../types/contacts_Blocked.md) - - -### Example: - -```php -$contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_blocked={_='contacts.blocked', blocked={ContactBlocked}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v104/constructors/contacts_blockedSlice.md b/old_docs/API_docs_v104/constructors/contacts_blockedSlice.md deleted file mode 100644 index fcab9a28..00000000 --- a/old_docs/API_docs_v104/constructors/contacts_blockedSlice.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.blockedSlice -description: Incomplete list of blocked users. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.blockedSlice -[Back to constructors index](index.md) - - - -Incomplete list of blocked users. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of elements in the list| -|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Blocked](../types/contacts_Blocked.md) - - -### Example: - -```php -$contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_blockedSlice={_='contacts.blockedSlice', count=int, blocked={ContactBlocked}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v104/constructors/contacts_contacts.md b/old_docs/API_docs_v104/constructors/contacts_contacts.md deleted file mode 100644 index 0e6f0dd3..00000000 --- a/old_docs/API_docs_v104/constructors/contacts_contacts.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.contacts -description: The current user's contact list and info on users. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.contacts -[Back to constructors index](index.md) - - - -The current user's contact list and info on users. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|contacts|Array of [Contact](../types/Contact.md) | Yes|Contacts| -|saved\_count|[int](../types/int.md) | Yes|Number of contacts that were saved successfully| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Contacts](../types/contacts_Contacts.md) - - -### Example: - -```php -$contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact, Contact], 'saved_count' => int, 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_contacts={_='contacts.contacts', contacts={Contact}, saved_count=int, users={User}} - -``` - - diff --git a/old_docs/API_docs_v104/constructors/contacts_contactsNotModified.md b/old_docs/API_docs_v104/constructors/contacts_contactsNotModified.md deleted file mode 100644 index 17e76ac3..00000000 --- a/old_docs/API_docs_v104/constructors/contacts_contactsNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: contacts.contactsNotModified -description: Contact list on the server is the same as the list on the client. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.contactsNotModified -[Back to constructors index](index.md) - - - -Contact list on the server is the same as the list on the client. - - - - -### Type: [contacts\_Contacts](../types/contacts_Contacts.md) - - -### Example: - -```php -$contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified']; -``` - - -Or, if you're into Lua: - -```lua -contacts_contactsNotModified={_='contacts.contactsNotModified'} - -``` - - diff --git a/old_docs/API_docs_v104/constructors/contacts_found.md b/old_docs/API_docs_v104/constructors/contacts_found.md deleted file mode 100644 index 76b9aa0c..00000000 --- a/old_docs/API_docs_v104/constructors/contacts_found.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: contacts.found -description: Users found by name substring and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.found -[Back to constructors index](index.md) - - - -Users found by name substring and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|my\_results|Array of [Peer](../types/Peer.md) | Yes|My results| -|results|Array of [Peer](../types/Peer.md) | Yes|Results| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Found](../types/contacts_Found.md) - - -### Example: - -```php -$contacts_found = ['_' => 'contacts.found', 'my_results' => [Peer, Peer], 'results' => [Peer, Peer], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_found={_='contacts.found', my_results={Peer}, results={Peer}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v104/constructors/contacts_importedContacts.md b/old_docs/API_docs_v104/constructors/contacts_importedContacts.md deleted file mode 100644 index e534754b..00000000 --- a/old_docs/API_docs_v104/constructors/contacts_importedContacts.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: contacts.importedContacts -description: Info on succesfully imported contacts. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.importedContacts -[Back to constructors index](index.md) - - - -Info on succesfully imported contacts. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|imported|Array of [ImportedContact](../types/ImportedContact.md) | Yes|Imported| -|popular\_invites|Array of [PopularContact](../types/PopularContact.md) | Yes|Popular invites| -|retry\_contacts|Array of [long](../types/long.md) | Yes|Retry importing contacts whose client IDs appear here| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) - - -### Example: - -```php -$contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact, ImportedContact], 'popular_invites' => [PopularContact, PopularContact], 'retry_contacts' => [long, long], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_importedContacts={_='contacts.importedContacts', imported={ImportedContact}, popular_invites={PopularContact}, retry_contacts={long}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v104/constructors/contacts_resolvedPeer.md b/old_docs/API_docs_v104/constructors/contacts_resolvedPeer.md deleted file mode 100644 index aae3c7af..00000000 --- a/old_docs/API_docs_v104/constructors/contacts_resolvedPeer.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.resolvedPeer -description: Resolved peer -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.resolvedPeer -[Back to constructors index](index.md) - - - -Resolved peer - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|peer|[Peer](../types/Peer.md) | Yes|The peer| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_ResolvedPeer](../types/contacts_ResolvedPeer.md) - - -### Example: - -```php -$contacts_resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_resolvedPeer={_='contacts.resolvedPeer', peer=Peer, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v104/constructors/contacts_topPeers.md b/old_docs/API_docs_v104/constructors/contacts_topPeers.md deleted file mode 100644 index 77bc07d3..00000000 --- a/old_docs/API_docs_v104/constructors/contacts_topPeers.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.topPeers -description: Top peers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.topPeers -[Back to constructors index](index.md) - - - -Top peers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|categories|Array of [TopPeerCategoryPeers](../types/TopPeerCategoryPeers.md) | Yes|Categories| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_TopPeers](../types/contacts_TopPeers.md) - - -### Example: - -```php -$contacts_topPeers = ['_' => 'contacts.topPeers', 'categories' => [TopPeerCategoryPeers, TopPeerCategoryPeers], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_topPeers={_='contacts.topPeers', categories={TopPeerCategoryPeers}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v104/constructors/contacts_topPeersDisabled.md b/old_docs/API_docs_v104/constructors/contacts_topPeersDisabled.md deleted file mode 100644 index e359a76d..00000000 --- a/old_docs/API_docs_v104/constructors/contacts_topPeersDisabled.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: contacts.topPeersDisabled -description: Top peers disabled -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.topPeersDisabled -[Back to constructors index](index.md) - - - -Top peers disabled - - - - -### Type: [contacts\_TopPeers](../types/contacts_TopPeers.md) - - -### Example: - -```php -$contacts_topPeersDisabled = ['_' => 'contacts.topPeersDisabled']; -``` - - -Or, if you're into Lua: - -```lua -contacts_topPeersDisabled={_='contacts.topPeersDisabled'} - -``` - - diff --git a/old_docs/API_docs_v104/constructors/contacts_topPeersNotModified.md b/old_docs/API_docs_v104/constructors/contacts_topPeersNotModified.md deleted file mode 100644 index 43eae59d..00000000 --- a/old_docs/API_docs_v104/constructors/contacts_topPeersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: contacts.topPeersNotModified -description: Top peer info hasn't changed -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.topPeersNotModified -[Back to constructors index](index.md) - - - -Top peer info hasn't changed - - - - -### Type: [contacts\_TopPeers](../types/contacts_TopPeers.md) - - -### Example: - -```php -$contacts_topPeersNotModified = ['_' => 'contacts.topPeersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -contacts_topPeersNotModified={_='contacts.topPeersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v104/constructors/help.appUpdate.md b/old_docs/API_docs_v104/constructors/help.appUpdate.md new file mode 100644 index 00000000..ba83f72b --- /dev/null +++ b/old_docs/API_docs_v104/constructors/help.appUpdate.md @@ -0,0 +1,44 @@ +--- +title: help.appUpdate +description: An update is available for the application. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.appUpdate +[Back to constructors index](index.md) + + + +An update is available for the application. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|can\_not\_skip|[Bool](../types/Bool.md) | Optional|Unskippable, the new info must be shown to the user (with a popup or something else)| +|id|[int](../types/int.md) | Yes|Update ID| +|version|[string](../types/string.md) | Yes|New version name| +|text|[string](../types/string.md) | Yes|Text description of the update| +|entities|Array of [MessageEntity](../types/MessageEntity.md) | Yes|Entities| +|document|[Document](../types/Document.md) | Optional|Attached document| +|url|[string](../types/string.md) | Optional|Application download URL| + + + +### Type: [help.AppUpdate](../types/help.AppUpdate.md) + + +### Example: + +```php +$help.appUpdate = ['_' => 'help.appUpdate', 'can_not_skip' => Bool, 'id' => int, 'version' => 'string', 'text' => 'string', 'entities' => [MessageEntity, MessageEntity], 'document' => Document, 'url' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +help.appUpdate={_='help.appUpdate', can_not_skip=Bool, id=int, version='string', text='string', entities={MessageEntity}, document=Document, url='string'} + +``` + + diff --git a/old_docs/API_docs_v104/constructors/help.configSimple.md b/old_docs/API_docs_v104/constructors/help.configSimple.md new file mode 100644 index 00000000..4070e1ce --- /dev/null +++ b/old_docs/API_docs_v104/constructors/help.configSimple.md @@ -0,0 +1,40 @@ +--- +title: help.configSimple +description: Config simple +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.configSimple +[Back to constructors index](index.md) + + + +Config simple + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Date| +|expires|[int](../types/int.md) | Yes|Expires| +|rules|Array of [AccessPointRule](../types/AccessPointRule.md) | Yes|Rules| + + + +### Type: [help.ConfigSimple](../types/help.ConfigSimple.md) + + +### Example: + +```php +$help.configSimple = ['_' => 'help.configSimple', 'date' => int, 'expires' => int, 'rules' => [AccessPointRule, AccessPointRule]]; +``` + + +Or, if you're into Lua: + +```lua +help.configSimple={_='help.configSimple', date=int, expires=int, rules={AccessPointRule}} + +``` + + diff --git a/old_docs/API_docs_v104/constructors/help.deepLinkInfo.md b/old_docs/API_docs_v104/constructors/help.deepLinkInfo.md new file mode 100644 index 00000000..78f70af0 --- /dev/null +++ b/old_docs/API_docs_v104/constructors/help.deepLinkInfo.md @@ -0,0 +1,40 @@ +--- +title: help.deepLinkInfo +description: Deep linking info +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.deepLinkInfo +[Back to constructors index](index.md) + + + +Deep linking info + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|update\_app|[Bool](../types/Bool.md) | Optional|An update of the app is required to parse this link| +|message|[string](../types/string.md) | Yes|Message to show to the user| +|entities|Array of [MessageEntity](../types/MessageEntity.md) | Optional|Entities| + + + +### Type: [help.DeepLinkInfo](../types/help.DeepLinkInfo.md) + + +### Example: + +```php +$help.deepLinkInfo = ['_' => 'help.deepLinkInfo', 'update_app' => Bool, 'message' => 'string', 'entities' => [MessageEntity, MessageEntity]]; +``` + + +Or, if you're into Lua: + +```lua +help.deepLinkInfo={_='help.deepLinkInfo', update_app=Bool, message='string', entities={MessageEntity}} + +``` + + diff --git a/old_docs/API_docs_v104/constructors/help.deepLinkInfoEmpty.md b/old_docs/API_docs_v104/constructors/help.deepLinkInfoEmpty.md new file mode 100644 index 00000000..dc99166c --- /dev/null +++ b/old_docs/API_docs_v104/constructors/help.deepLinkInfoEmpty.md @@ -0,0 +1,33 @@ +--- +title: help.deepLinkInfoEmpty +description: Deep link info empty +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.deepLinkInfoEmpty +[Back to constructors index](index.md) + + + +Deep link info empty + + + + +### Type: [help.DeepLinkInfo](../types/help.DeepLinkInfo.md) + + +### Example: + +```php +$help.deepLinkInfoEmpty = ['_' => 'help.deepLinkInfoEmpty']; +``` + + +Or, if you're into Lua: + +```lua +help.deepLinkInfoEmpty={_='help.deepLinkInfoEmpty'} + +``` + + diff --git a/old_docs/API_docs_v104/constructors/help.inviteText.md b/old_docs/API_docs_v104/constructors/help.inviteText.md new file mode 100644 index 00000000..6a6261c1 --- /dev/null +++ b/old_docs/API_docs_v104/constructors/help.inviteText.md @@ -0,0 +1,38 @@ +--- +title: help.inviteText +description: Text of a text message with an invitation to install application. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.inviteText +[Back to constructors index](index.md) + + + +Text of a text message with an invitation to install application. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|message|[string](../types/string.md) | Yes|Text of a message| + + + +### Type: [help.InviteText](../types/help.InviteText.md) + + +### Example: + +```php +$help.inviteText = ['_' => 'help.inviteText', 'message' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +help.inviteText={_='help.inviteText', message='string'} + +``` + + diff --git a/old_docs/API_docs_v104/constructors/help.noAppUpdate.md b/old_docs/API_docs_v104/constructors/help.noAppUpdate.md new file mode 100644 index 00000000..1b69ac9a --- /dev/null +++ b/old_docs/API_docs_v104/constructors/help.noAppUpdate.md @@ -0,0 +1,33 @@ +--- +title: help.noAppUpdate +description: No updates are available for the application. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.noAppUpdate +[Back to constructors index](index.md) + + + +No updates are available for the application. + + + + +### Type: [help.AppUpdate](../types/help.AppUpdate.md) + + +### Example: + +```php +$help.noAppUpdate = ['_' => 'help.noAppUpdate']; +``` + + +Or, if you're into Lua: + +```lua +help.noAppUpdate={_='help.noAppUpdate'} + +``` + + diff --git a/old_docs/API_docs_v104/constructors/help.passportConfig.md b/old_docs/API_docs_v104/constructors/help.passportConfig.md new file mode 100644 index 00000000..b418b611 --- /dev/null +++ b/old_docs/API_docs_v104/constructors/help.passportConfig.md @@ -0,0 +1,39 @@ +--- +title: help.passportConfig +description: Telegram [passport](https://core.telegram.org/passport) configuration +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.passportConfig +[Back to constructors index](index.md) + + + +Telegram [passport](https://core.telegram.org/passport) configuration + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|countries\_langs|[DataJSON](../types/DataJSON.md) | Yes|Localization| + + + +### Type: [help.PassportConfig](../types/help.PassportConfig.md) + + +### Example: + +```php +$help.passportConfig = ['_' => 'help.passportConfig', 'hash' => int, 'countries_langs' => DataJSON]; +``` + + +Or, if you're into Lua: + +```lua +help.passportConfig={_='help.passportConfig', hash=int, countries_langs=DataJSON} + +``` + + diff --git a/old_docs/API_docs_v104/constructors/help.passportConfigNotModified.md b/old_docs/API_docs_v104/constructors/help.passportConfigNotModified.md new file mode 100644 index 00000000..d48cc55b --- /dev/null +++ b/old_docs/API_docs_v104/constructors/help.passportConfigNotModified.md @@ -0,0 +1,33 @@ +--- +title: help.passportConfigNotModified +description: Password configuration not modified +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.passportConfigNotModified +[Back to constructors index](index.md) + + + +Password configuration not modified + + + + +### Type: [help.PassportConfig](../types/help.PassportConfig.md) + + +### Example: + +```php +$help.passportConfigNotModified = ['_' => 'help.passportConfigNotModified']; +``` + + +Or, if you're into Lua: + +```lua +help.passportConfigNotModified={_='help.passportConfigNotModified'} + +``` + + diff --git a/old_docs/API_docs_v104/constructors/help.proxyDataEmpty.md b/old_docs/API_docs_v104/constructors/help.proxyDataEmpty.md new file mode 100644 index 00000000..66fd63ac --- /dev/null +++ b/old_docs/API_docs_v104/constructors/help.proxyDataEmpty.md @@ -0,0 +1,38 @@ +--- +title: help.proxyDataEmpty +description: No proxy was used to connect to tg (or none was provided to [initConnection](../methods/initConnection.md), or the used proxy doesn't have a promotion channel associated to it) +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.proxyDataEmpty +[Back to constructors index](index.md) + + + +No proxy was used to connect to tg (or none was provided to [initConnection](../methods/initConnection.md), or the used proxy doesn't have a promotion channel associated to it) + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|expires|[int](../types/int.md) | Yes|Expiration date of proxy info, will have to be refetched in `expires` seconds| + + + +### Type: [help.ProxyData](../types/help.ProxyData.md) + + +### Example: + +```php +$help.proxyDataEmpty = ['_' => 'help.proxyDataEmpty', 'expires' => int]; +``` + + +Or, if you're into Lua: + +```lua +help.proxyDataEmpty={_='help.proxyDataEmpty', expires=int} + +``` + + diff --git a/old_docs/API_docs_v104/constructors/help.proxyDataPromo.md b/old_docs/API_docs_v104/constructors/help.proxyDataPromo.md new file mode 100644 index 00000000..eb32aabd --- /dev/null +++ b/old_docs/API_docs_v104/constructors/help.proxyDataPromo.md @@ -0,0 +1,41 @@ +--- +title: help.proxyDataPromo +description: Promotion channel associated to a certain MTProxy +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.proxyDataPromo +[Back to constructors index](index.md) + + + +Promotion channel associated to a certain MTProxy + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|expires|[int](../types/int.md) | Yes|Expiration date of proxy info, will have to be refetched in `expires` seconds| +|peer|[Peer](../types/Peer.md) | Yes|The promoted channel| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [help.ProxyData](../types/help.ProxyData.md) + + +### Example: + +```php +$help.proxyDataPromo = ['_' => 'help.proxyDataPromo', 'expires' => int, 'peer' => Peer, 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +help.proxyDataPromo={_='help.proxyDataPromo', expires=int, peer=Peer, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v104/constructors/help.recentMeUrls.md b/old_docs/API_docs_v104/constructors/help.recentMeUrls.md new file mode 100644 index 00000000..711407b7 --- /dev/null +++ b/old_docs/API_docs_v104/constructors/help.recentMeUrls.md @@ -0,0 +1,40 @@ +--- +title: help.recentMeUrls +description: Recent t.me URLs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.recentMeUrls +[Back to constructors index](index.md) + + + +Recent t.me URLs + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|urls|Array of [RecentMeUrl](../types/RecentMeUrl.md) | Yes|URLs| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [help.RecentMeUrls](../types/help.RecentMeUrls.md) + + +### Example: + +```php +$help.recentMeUrls = ['_' => 'help.recentMeUrls', 'urls' => [RecentMeUrl, RecentMeUrl], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +help.recentMeUrls={_='help.recentMeUrls', urls={RecentMeUrl}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v104/constructors/help.support.md b/old_docs/API_docs_v104/constructors/help.support.md new file mode 100644 index 00000000..4d4f85fb --- /dev/null +++ b/old_docs/API_docs_v104/constructors/help.support.md @@ -0,0 +1,39 @@ +--- +title: help.support +description: Info on support user. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.support +[Back to constructors index](index.md) + + + +Info on support user. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_number|[string](../types/string.md) | Yes|Phone number| +|user|[User](../types/User.md) | Optional|User| + + + +### Type: [help.Support](../types/help.Support.md) + + +### Example: + +```php +$help.support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => User]; +``` + + +Or, if you're into Lua: + +```lua +help.support={_='help.support', phone_number='string', user=User} + +``` + + diff --git a/old_docs/API_docs_v104/constructors/help.supportName.md b/old_docs/API_docs_v104/constructors/help.supportName.md new file mode 100644 index 00000000..3d66c8d9 --- /dev/null +++ b/old_docs/API_docs_v104/constructors/help.supportName.md @@ -0,0 +1,38 @@ +--- +title: help.supportName +description: Localized name for telegram support +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.supportName +[Back to constructors index](index.md) + + + +Localized name for telegram support + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|name|[string](../types/string.md) | Yes|Localized name| + + + +### Type: [help.SupportName](../types/help.SupportName.md) + + +### Example: + +```php +$help.supportName = ['_' => 'help.supportName', 'name' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +help.supportName={_='help.supportName', name='string'} + +``` + + diff --git a/old_docs/API_docs_v104/constructors/help.termsOfService.md b/old_docs/API_docs_v104/constructors/help.termsOfService.md new file mode 100644 index 00000000..61ffb70a --- /dev/null +++ b/old_docs/API_docs_v104/constructors/help.termsOfService.md @@ -0,0 +1,42 @@ +--- +title: help.termsOfService +description: Info about the latest telegram Terms Of Service +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.termsOfService +[Back to constructors index](index.md) + + + +Info about the latest telegram Terms Of Service + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|popup|[Bool](../types/Bool.md) | Optional|Whether a prompt must be showed to the user, in order to accept the new terms.| +|id|[DataJSON](../types/DataJSON.md) | Yes|ID of the new terms| +|text|[string](../types/string.md) | Yes|Text of the new terms| +|entities|Array of [MessageEntity](../types/MessageEntity.md) | Yes|Entities| +|min\_age\_confirm|[int](../types/int.md) | Optional|Minimum age required to sign up to telegram, the user must confirm that they is older than the minimum age.| + + + +### Type: [help.TermsOfService](../types/help.TermsOfService.md) + + +### Example: + +```php +$help.termsOfService = ['_' => 'help.termsOfService', 'popup' => Bool, 'id' => DataJSON, 'text' => 'string', 'entities' => [MessageEntity, MessageEntity], 'min_age_confirm' => int]; +``` + + +Or, if you're into Lua: + +```lua +help.termsOfService={_='help.termsOfService', popup=Bool, id=DataJSON, text='string', entities={MessageEntity}, min_age_confirm=int} + +``` + + diff --git a/old_docs/API_docs_v104/constructors/help.termsOfServiceUpdate.md b/old_docs/API_docs_v104/constructors/help.termsOfServiceUpdate.md new file mode 100644 index 00000000..058a3655 --- /dev/null +++ b/old_docs/API_docs_v104/constructors/help.termsOfServiceUpdate.md @@ -0,0 +1,39 @@ +--- +title: help.termsOfServiceUpdate +description: Info about an update of telegram's terms of service. If the terms of service are declined, then the [account.deleteAccount](../methods/account.deleteAccount.md) method should be called with the reason "Decline ToS update" +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.termsOfServiceUpdate +[Back to constructors index](index.md) + + + +Info about an update of telegram's terms of service. If the terms of service are declined, then the [account.deleteAccount](../methods/account.deleteAccount.md) method should be called with the reason "Decline ToS update" + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|expires|[int](../types/int.md) | Yes|New TOS updates will have to be queried using [help.getTermsOfServiceUpdate](../methods/help.getTermsOfServiceUpdate.md) in `expires` seconds| +|terms\_of\_service|[help.TermsOfService](../constructors/help.TermsOfService.md) | Yes|New terms of service| + + + +### Type: [help.TermsOfServiceUpdate](../types/help.TermsOfServiceUpdate.md) + + +### Example: + +```php +$help.termsOfServiceUpdate = ['_' => 'help.termsOfServiceUpdate', 'expires' => int, 'terms_of_service' => help.TermsOfService]; +``` + + +Or, if you're into Lua: + +```lua +help.termsOfServiceUpdate={_='help.termsOfServiceUpdate', expires=int, terms_of_service=help.TermsOfService} + +``` + + diff --git a/old_docs/API_docs_v104/constructors/help.termsOfServiceUpdateEmpty.md b/old_docs/API_docs_v104/constructors/help.termsOfServiceUpdateEmpty.md new file mode 100644 index 00000000..8213a41e --- /dev/null +++ b/old_docs/API_docs_v104/constructors/help.termsOfServiceUpdateEmpty.md @@ -0,0 +1,38 @@ +--- +title: help.termsOfServiceUpdateEmpty +description: No changes were made to telegram's terms of service +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.termsOfServiceUpdateEmpty +[Back to constructors index](index.md) + + + +No changes were made to telegram's terms of service + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|expires|[int](../types/int.md) | Yes|New TOS updates will have to be queried using [help.getTermsOfServiceUpdate](../methods/help.getTermsOfServiceUpdate.md) in `expires` seconds| + + + +### Type: [help.TermsOfServiceUpdate](../types/help.TermsOfServiceUpdate.md) + + +### Example: + +```php +$help.termsOfServiceUpdateEmpty = ['_' => 'help.termsOfServiceUpdateEmpty', 'expires' => int]; +``` + + +Or, if you're into Lua: + +```lua +help.termsOfServiceUpdateEmpty={_='help.termsOfServiceUpdateEmpty', expires=int} + +``` + + diff --git a/old_docs/API_docs_v104/constructors/help.userInfo.md b/old_docs/API_docs_v104/constructors/help.userInfo.md new file mode 100644 index 00000000..172df165 --- /dev/null +++ b/old_docs/API_docs_v104/constructors/help.userInfo.md @@ -0,0 +1,41 @@ +--- +title: help.userInfo +description: Internal use +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.userInfo +[Back to constructors index](index.md) + + + +Internal use + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|message|[string](../types/string.md) | Yes|Info| +|entities|Array of [MessageEntity](../types/MessageEntity.md) | Yes|Entities| +|author|[string](../types/string.md) | Yes|Author| +|date|[int](../types/int.md) | Yes|Date| + + + +### Type: [help.UserInfo](../types/help.UserInfo.md) + + +### Example: + +```php +$help.userInfo = ['_' => 'help.userInfo', 'message' => 'string', 'entities' => [MessageEntity, MessageEntity], 'author' => 'string', 'date' => int]; +``` + + +Or, if you're into Lua: + +```lua +help.userInfo={_='help.userInfo', message='string', entities={MessageEntity}, author='string', date=int} + +``` + + diff --git a/old_docs/API_docs_v104/constructors/help.userInfoEmpty.md b/old_docs/API_docs_v104/constructors/help.userInfoEmpty.md new file mode 100644 index 00000000..c284d602 --- /dev/null +++ b/old_docs/API_docs_v104/constructors/help.userInfoEmpty.md @@ -0,0 +1,33 @@ +--- +title: help.userInfoEmpty +description: Internal use +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.userInfoEmpty +[Back to constructors index](index.md) + + + +Internal use + + + + +### Type: [help.UserInfo](../types/help.UserInfo.md) + + +### Example: + +```php +$help.userInfoEmpty = ['_' => 'help.userInfoEmpty']; +``` + + +Or, if you're into Lua: + +```lua +help.userInfoEmpty={_='help.userInfoEmpty'} + +``` + + diff --git a/old_docs/API_docs_v104/constructors/help_appUpdate.md b/old_docs/API_docs_v104/constructors/help_appUpdate.md deleted file mode 100644 index 5075764d..00000000 --- a/old_docs/API_docs_v104/constructors/help_appUpdate.md +++ /dev/null @@ -1,44 +0,0 @@ ---- -title: help.appUpdate -description: An update is available for the application. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.appUpdate -[Back to constructors index](index.md) - - - -An update is available for the application. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|can\_not\_skip|[Bool](../types/Bool.md) | Optional|Unskippable, the new info must be shown to the user (with a popup or something else)| -|id|[int](../types/int.md) | Yes|Update ID| -|version|[string](../types/string.md) | Yes|New version name| -|text|[string](../types/string.md) | Yes|Text description of the update| -|entities|Array of [MessageEntity](../types/MessageEntity.md) | Yes|Entities| -|document|[Document](../types/Document.md) | Optional|Attached document| -|url|[string](../types/string.md) | Optional|Application download URL| - - - -### Type: [help\_AppUpdate](../types/help_AppUpdate.md) - - -### Example: - -```php -$help_appUpdate = ['_' => 'help.appUpdate', 'can_not_skip' => Bool, 'id' => int, 'version' => 'string', 'text' => 'string', 'entities' => [MessageEntity, MessageEntity], 'document' => Document, 'url' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -help_appUpdate={_='help.appUpdate', can_not_skip=Bool, id=int, version='string', text='string', entities={MessageEntity}, document=Document, url='string'} - -``` - - diff --git a/old_docs/API_docs_v104/constructors/help_configSimple.md b/old_docs/API_docs_v104/constructors/help_configSimple.md deleted file mode 100644 index 8c07ec9b..00000000 --- a/old_docs/API_docs_v104/constructors/help_configSimple.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: help.configSimple -description: Config simple -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.configSimple -[Back to constructors index](index.md) - - - -Config simple - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Date| -|expires|[int](../types/int.md) | Yes|Expires| -|rules|Array of [AccessPointRule](../types/AccessPointRule.md) | Yes|Rules| - - - -### Type: [help\_ConfigSimple](../types/help_ConfigSimple.md) - - -### Example: - -```php -$help_configSimple = ['_' => 'help.configSimple', 'date' => int, 'expires' => int, 'rules' => [AccessPointRule, AccessPointRule]]; -``` - - -Or, if you're into Lua: - -```lua -help_configSimple={_='help.configSimple', date=int, expires=int, rules={AccessPointRule}} - -``` - - diff --git a/old_docs/API_docs_v104/constructors/help_deepLinkInfo.md b/old_docs/API_docs_v104/constructors/help_deepLinkInfo.md deleted file mode 100644 index bcc24ecd..00000000 --- a/old_docs/API_docs_v104/constructors/help_deepLinkInfo.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: help.deepLinkInfo -description: Deep linking info -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.deepLinkInfo -[Back to constructors index](index.md) - - - -Deep linking info - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|update\_app|[Bool](../types/Bool.md) | Optional|An update of the app is required to parse this link| -|message|[string](../types/string.md) | Yes|Message to show to the user| -|entities|Array of [MessageEntity](../types/MessageEntity.md) | Optional|Entities| - - - -### Type: [help\_DeepLinkInfo](../types/help_DeepLinkInfo.md) - - -### Example: - -```php -$help_deepLinkInfo = ['_' => 'help.deepLinkInfo', 'update_app' => Bool, 'message' => 'string', 'entities' => [MessageEntity, MessageEntity]]; -``` - - -Or, if you're into Lua: - -```lua -help_deepLinkInfo={_='help.deepLinkInfo', update_app=Bool, message='string', entities={MessageEntity}} - -``` - - diff --git a/old_docs/API_docs_v104/constructors/help_deepLinkInfoEmpty.md b/old_docs/API_docs_v104/constructors/help_deepLinkInfoEmpty.md deleted file mode 100644 index ab876dd5..00000000 --- a/old_docs/API_docs_v104/constructors/help_deepLinkInfoEmpty.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: help.deepLinkInfoEmpty -description: Deep link info empty -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.deepLinkInfoEmpty -[Back to constructors index](index.md) - - - -Deep link info empty - - - - -### Type: [help\_DeepLinkInfo](../types/help_DeepLinkInfo.md) - - -### Example: - -```php -$help_deepLinkInfoEmpty = ['_' => 'help.deepLinkInfoEmpty']; -``` - - -Or, if you're into Lua: - -```lua -help_deepLinkInfoEmpty={_='help.deepLinkInfoEmpty'} - -``` - - diff --git a/old_docs/API_docs_v104/constructors/help_inviteText.md b/old_docs/API_docs_v104/constructors/help_inviteText.md deleted file mode 100644 index b8317ce3..00000000 --- a/old_docs/API_docs_v104/constructors/help_inviteText.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: help.inviteText -description: Text of a text message with an invitation to install application. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.inviteText -[Back to constructors index](index.md) - - - -Text of a text message with an invitation to install application. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|message|[string](../types/string.md) | Yes|Text of a message| - - - -### Type: [help\_InviteText](../types/help_InviteText.md) - - -### Example: - -```php -$help_inviteText = ['_' => 'help.inviteText', 'message' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -help_inviteText={_='help.inviteText', message='string'} - -``` - - diff --git a/old_docs/API_docs_v104/constructors/help_noAppUpdate.md b/old_docs/API_docs_v104/constructors/help_noAppUpdate.md deleted file mode 100644 index 51505e52..00000000 --- a/old_docs/API_docs_v104/constructors/help_noAppUpdate.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: help.noAppUpdate -description: No updates are available for the application. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.noAppUpdate -[Back to constructors index](index.md) - - - -No updates are available for the application. - - - - -### Type: [help\_AppUpdate](../types/help_AppUpdate.md) - - -### Example: - -```php -$help_noAppUpdate = ['_' => 'help.noAppUpdate']; -``` - - -Or, if you're into Lua: - -```lua -help_noAppUpdate={_='help.noAppUpdate'} - -``` - - diff --git a/old_docs/API_docs_v104/constructors/help_passportConfig.md b/old_docs/API_docs_v104/constructors/help_passportConfig.md deleted file mode 100644 index 9722c925..00000000 --- a/old_docs/API_docs_v104/constructors/help_passportConfig.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: help.passportConfig -description: Telegram [passport](https://core.telegram.org/passport) configuration -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.passportConfig -[Back to constructors index](index.md) - - - -Telegram [passport](https://core.telegram.org/passport) configuration - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|countries\_langs|[DataJSON](../types/DataJSON.md) | Yes|Localization| - - - -### Type: [help\_PassportConfig](../types/help_PassportConfig.md) - - -### Example: - -```php -$help_passportConfig = ['_' => 'help.passportConfig', 'hash' => int, 'countries_langs' => DataJSON]; -``` - - -Or, if you're into Lua: - -```lua -help_passportConfig={_='help.passportConfig', hash=int, countries_langs=DataJSON} - -``` - - diff --git a/old_docs/API_docs_v104/constructors/help_passportConfigNotModified.md b/old_docs/API_docs_v104/constructors/help_passportConfigNotModified.md deleted file mode 100644 index af7769aa..00000000 --- a/old_docs/API_docs_v104/constructors/help_passportConfigNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: help.passportConfigNotModified -description: Password configuration not modified -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.passportConfigNotModified -[Back to constructors index](index.md) - - - -Password configuration not modified - - - - -### Type: [help\_PassportConfig](../types/help_PassportConfig.md) - - -### Example: - -```php -$help_passportConfigNotModified = ['_' => 'help.passportConfigNotModified']; -``` - - -Or, if you're into Lua: - -```lua -help_passportConfigNotModified={_='help.passportConfigNotModified'} - -``` - - diff --git a/old_docs/API_docs_v104/constructors/help_proxyDataEmpty.md b/old_docs/API_docs_v104/constructors/help_proxyDataEmpty.md deleted file mode 100644 index 96efddd3..00000000 --- a/old_docs/API_docs_v104/constructors/help_proxyDataEmpty.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: help.proxyDataEmpty -description: No proxy was used to connect to tg (or none was provided to [initConnection](../methods/initConnection.md), or the used proxy doesn't have a promotion channel associated to it) -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.proxyDataEmpty -[Back to constructors index](index.md) - - - -No proxy was used to connect to tg (or none was provided to [initConnection](../methods/initConnection.md), or the used proxy doesn't have a promotion channel associated to it) - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|expires|[int](../types/int.md) | Yes|Expiration date of proxy info, will have to be refetched in `expires` seconds| - - - -### Type: [help\_ProxyData](../types/help_ProxyData.md) - - -### Example: - -```php -$help_proxyDataEmpty = ['_' => 'help.proxyDataEmpty', 'expires' => int]; -``` - - -Or, if you're into Lua: - -```lua -help_proxyDataEmpty={_='help.proxyDataEmpty', expires=int} - -``` - - diff --git a/old_docs/API_docs_v104/constructors/help_proxyDataPromo.md b/old_docs/API_docs_v104/constructors/help_proxyDataPromo.md deleted file mode 100644 index 54ca7edb..00000000 --- a/old_docs/API_docs_v104/constructors/help_proxyDataPromo.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: help.proxyDataPromo -description: Promotion channel associated to a certain MTProxy -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.proxyDataPromo -[Back to constructors index](index.md) - - - -Promotion channel associated to a certain MTProxy - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|expires|[int](../types/int.md) | Yes|Expiration date of proxy info, will have to be refetched in `expires` seconds| -|peer|[Peer](../types/Peer.md) | Yes|The promoted channel| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [help\_ProxyData](../types/help_ProxyData.md) - - -### Example: - -```php -$help_proxyDataPromo = ['_' => 'help.proxyDataPromo', 'expires' => int, 'peer' => Peer, 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -help_proxyDataPromo={_='help.proxyDataPromo', expires=int, peer=Peer, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v104/constructors/help_recentMeUrls.md b/old_docs/API_docs_v104/constructors/help_recentMeUrls.md deleted file mode 100644 index 7bf592ef..00000000 --- a/old_docs/API_docs_v104/constructors/help_recentMeUrls.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: help.recentMeUrls -description: Recent t.me URLs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.recentMeUrls -[Back to constructors index](index.md) - - - -Recent t.me URLs - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|urls|Array of [RecentMeUrl](../types/RecentMeUrl.md) | Yes|URLs| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [help\_RecentMeUrls](../types/help_RecentMeUrls.md) - - -### Example: - -```php -$help_recentMeUrls = ['_' => 'help.recentMeUrls', 'urls' => [RecentMeUrl, RecentMeUrl], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -help_recentMeUrls={_='help.recentMeUrls', urls={RecentMeUrl}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v104/constructors/help_support.md b/old_docs/API_docs_v104/constructors/help_support.md deleted file mode 100644 index 148f7f42..00000000 --- a/old_docs/API_docs_v104/constructors/help_support.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: help.support -description: Info on support user. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.support -[Back to constructors index](index.md) - - - -Info on support user. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_number|[string](../types/string.md) | Yes|Phone number| -|user|[User](../types/User.md) | Optional|User| - - - -### Type: [help\_Support](../types/help_Support.md) - - -### Example: - -```php -$help_support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => User]; -``` - - -Or, if you're into Lua: - -```lua -help_support={_='help.support', phone_number='string', user=User} - -``` - - diff --git a/old_docs/API_docs_v104/constructors/help_supportName.md b/old_docs/API_docs_v104/constructors/help_supportName.md deleted file mode 100644 index b4bc77d4..00000000 --- a/old_docs/API_docs_v104/constructors/help_supportName.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: help.supportName -description: Localized name for telegram support -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.supportName -[Back to constructors index](index.md) - - - -Localized name for telegram support - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|name|[string](../types/string.md) | Yes|Localized name| - - - -### Type: [help\_SupportName](../types/help_SupportName.md) - - -### Example: - -```php -$help_supportName = ['_' => 'help.supportName', 'name' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -help_supportName={_='help.supportName', name='string'} - -``` - - diff --git a/old_docs/API_docs_v104/constructors/help_termsOfService.md b/old_docs/API_docs_v104/constructors/help_termsOfService.md deleted file mode 100644 index f9d496e5..00000000 --- a/old_docs/API_docs_v104/constructors/help_termsOfService.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: help.termsOfService -description: Info about the latest telegram Terms Of Service -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.termsOfService -[Back to constructors index](index.md) - - - -Info about the latest telegram Terms Of Service - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|popup|[Bool](../types/Bool.md) | Optional|Whether a prompt must be showed to the user, in order to accept the new terms.| -|id|[DataJSON](../types/DataJSON.md) | Yes|ID of the new terms| -|text|[string](../types/string.md) | Yes|Text of the new terms| -|entities|Array of [MessageEntity](../types/MessageEntity.md) | Yes|Entities| -|min\_age\_confirm|[int](../types/int.md) | Optional|Minimum age required to sign up to telegram, the user must confirm that they is older than the minimum age.| - - - -### Type: [help\_TermsOfService](../types/help_TermsOfService.md) - - -### Example: - -```php -$help_termsOfService = ['_' => 'help.termsOfService', 'popup' => Bool, 'id' => DataJSON, 'text' => 'string', 'entities' => [MessageEntity, MessageEntity], 'min_age_confirm' => int]; -``` - - -Or, if you're into Lua: - -```lua -help_termsOfService={_='help.termsOfService', popup=Bool, id=DataJSON, text='string', entities={MessageEntity}, min_age_confirm=int} - -``` - - diff --git a/old_docs/API_docs_v104/constructors/help_termsOfServiceUpdate.md b/old_docs/API_docs_v104/constructors/help_termsOfServiceUpdate.md deleted file mode 100644 index c9e80319..00000000 --- a/old_docs/API_docs_v104/constructors/help_termsOfServiceUpdate.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: help.termsOfServiceUpdate -description: Info about an update of telegram's terms of service. If the terms of service are declined, then the [account.deleteAccount](../methods/account.deleteAccount.md) method should be called with the reason "Decline ToS update" -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.termsOfServiceUpdate -[Back to constructors index](index.md) - - - -Info about an update of telegram's terms of service. If the terms of service are declined, then the [account.deleteAccount](../methods/account.deleteAccount.md) method should be called with the reason "Decline ToS update" - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|expires|[int](../types/int.md) | Yes|New TOS updates will have to be queried using [help.getTermsOfServiceUpdate](../methods/help.getTermsOfServiceUpdate.md) in `expires` seconds| -|terms\_of\_service|[help\_TermsOfService](../types/help_TermsOfService.md) | Yes|New terms of service| - - - -### Type: [help\_TermsOfServiceUpdate](../types/help_TermsOfServiceUpdate.md) - - -### Example: - -```php -$help_termsOfServiceUpdate = ['_' => 'help.termsOfServiceUpdate', 'expires' => int, 'terms_of_service' => help_TermsOfService]; -``` - - -Or, if you're into Lua: - -```lua -help_termsOfServiceUpdate={_='help.termsOfServiceUpdate', expires=int, terms_of_service=help_TermsOfService} - -``` - - diff --git a/old_docs/API_docs_v104/constructors/help_termsOfServiceUpdateEmpty.md b/old_docs/API_docs_v104/constructors/help_termsOfServiceUpdateEmpty.md deleted file mode 100644 index d4d753fc..00000000 --- a/old_docs/API_docs_v104/constructors/help_termsOfServiceUpdateEmpty.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: help.termsOfServiceUpdateEmpty -description: No changes were made to telegram's terms of service -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.termsOfServiceUpdateEmpty -[Back to constructors index](index.md) - - - -No changes were made to telegram's terms of service - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|expires|[int](../types/int.md) | Yes|New TOS updates will have to be queried using [help.getTermsOfServiceUpdate](../methods/help.getTermsOfServiceUpdate.md) in `expires` seconds| - - - -### Type: [help\_TermsOfServiceUpdate](../types/help_TermsOfServiceUpdate.md) - - -### Example: - -```php -$help_termsOfServiceUpdateEmpty = ['_' => 'help.termsOfServiceUpdateEmpty', 'expires' => int]; -``` - - -Or, if you're into Lua: - -```lua -help_termsOfServiceUpdateEmpty={_='help.termsOfServiceUpdateEmpty', expires=int} - -``` - - diff --git a/old_docs/API_docs_v104/constructors/help_userInfo.md b/old_docs/API_docs_v104/constructors/help_userInfo.md deleted file mode 100644 index a444124b..00000000 --- a/old_docs/API_docs_v104/constructors/help_userInfo.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: help.userInfo -description: Internal use -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.userInfo -[Back to constructors index](index.md) - - - -Internal use - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|message|[string](../types/string.md) | Yes|Info| -|entities|Array of [MessageEntity](../types/MessageEntity.md) | Yes|Entities| -|author|[string](../types/string.md) | Yes|Author| -|date|[int](../types/int.md) | Yes|Date| - - - -### Type: [help\_UserInfo](../types/help_UserInfo.md) - - -### Example: - -```php -$help_userInfo = ['_' => 'help.userInfo', 'message' => 'string', 'entities' => [MessageEntity, MessageEntity], 'author' => 'string', 'date' => int]; -``` - - -Or, if you're into Lua: - -```lua -help_userInfo={_='help.userInfo', message='string', entities={MessageEntity}, author='string', date=int} - -``` - - diff --git a/old_docs/API_docs_v104/constructors/help_userInfoEmpty.md b/old_docs/API_docs_v104/constructors/help_userInfoEmpty.md deleted file mode 100644 index 66690c62..00000000 --- a/old_docs/API_docs_v104/constructors/help_userInfoEmpty.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: help.userInfoEmpty -description: Internal use -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.userInfoEmpty -[Back to constructors index](index.md) - - - -Internal use - - - - -### Type: [help\_UserInfo](../types/help_UserInfo.md) - - -### Example: - -```php -$help_userInfoEmpty = ['_' => 'help.userInfoEmpty']; -``` - - -Or, if you're into Lua: - -```lua -help_userInfoEmpty={_='help.userInfoEmpty'} - -``` - - diff --git a/old_docs/API_docs_v104/constructors/messages.affectedHistory.md b/old_docs/API_docs_v104/constructors/messages.affectedHistory.md new file mode 100644 index 00000000..5fc8acec --- /dev/null +++ b/old_docs/API_docs_v104/constructors/messages.affectedHistory.md @@ -0,0 +1,40 @@ +--- +title: messages.affectedHistory +description: Affected part of communication history with the user or in a chat. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.affectedHistory +[Back to constructors index](index.md) + + + +Affected part of communication history with the user or in a chat. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| +|pts\_count|[int](../types/int.md) | Yes|Number of affected events| +|offset|[int](../types/int.md) | Yes|If a parameter contains positive value, it is necessary to repeat the method call using the given value; during the proceeding of all the history the value itself shall gradually decrease| + + + +### Type: [messages.AffectedHistory](../types/messages.AffectedHistory.md) + + +### Example: + +```php +$messages.affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.affectedHistory={_='messages.affectedHistory', pts=int, pts_count=int, offset=int} + +``` + + diff --git a/old_docs/API_docs_v104/constructors/messages.affectedMessages.md b/old_docs/API_docs_v104/constructors/messages.affectedMessages.md new file mode 100644 index 00000000..a0e60bdf --- /dev/null +++ b/old_docs/API_docs_v104/constructors/messages.affectedMessages.md @@ -0,0 +1,39 @@ +--- +title: messages.affectedMessages +description: Events affected by operation +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.affectedMessages +[Back to constructors index](index.md) + + + +Events affected by operation + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|[Event count after generation](https://core.telegram.org/api/updates)| +|pts\_count|[int](../types/int.md) | Yes|[Number of events that were generated](https://core.telegram.org/api/updates)| + + + +### Type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) + + +### Example: + +```php +$messages.affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.affectedMessages={_='messages.affectedMessages', pts=int, pts_count=int} + +``` + + diff --git a/old_docs/API_docs_v104/constructors/messages.allStickers.md b/old_docs/API_docs_v104/constructors/messages.allStickers.md new file mode 100644 index 00000000..5f13bfde --- /dev/null +++ b/old_docs/API_docs_v104/constructors/messages.allStickers.md @@ -0,0 +1,39 @@ +--- +title: messages.allStickers +description: Info about all installed stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.allStickers +[Back to constructors index](index.md) + + + +Info about all installed stickers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|sets|Array of [StickerSet](../types/StickerSet.md) | Yes|Sets| + + + +### Type: [messages.AllStickers](../types/messages.AllStickers.md) + + +### Example: + +```php +$messages.allStickers = ['_' => 'messages.allStickers', 'hash' => int, 'sets' => [StickerSet, StickerSet]]; +``` + + +Or, if you're into Lua: + +```lua +messages.allStickers={_='messages.allStickers', hash=int, sets={StickerSet}} + +``` + + diff --git a/old_docs/API_docs_v104/constructors/messages.allStickersNotModified.md b/old_docs/API_docs_v104/constructors/messages.allStickersNotModified.md new file mode 100644 index 00000000..d3db088b --- /dev/null +++ b/old_docs/API_docs_v104/constructors/messages.allStickersNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.allStickersNotModified +description: Info about all installed stickers hasn't changed +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.allStickersNotModified +[Back to constructors index](index.md) + + + +Info about all installed stickers hasn't changed + + + + +### Type: [messages.AllStickers](../types/messages.AllStickers.md) + + +### Example: + +```php +$messages.allStickersNotModified = ['_' => 'messages.allStickersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.allStickersNotModified={_='messages.allStickersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v104/constructors/messages.archivedStickers.md b/old_docs/API_docs_v104/constructors/messages.archivedStickers.md new file mode 100644 index 00000000..6ad9927c --- /dev/null +++ b/old_docs/API_docs_v104/constructors/messages.archivedStickers.md @@ -0,0 +1,39 @@ +--- +title: messages.archivedStickers +description: Archived stickersets +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.archivedStickers +[Back to constructors index](index.md) + + + +Archived stickersets + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Number of archived stickers| +|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| + + + +### Type: [messages.ArchivedStickers](../types/messages.ArchivedStickers.md) + + +### Example: + +```php +$messages.archivedStickers = ['_' => 'messages.archivedStickers', 'count' => int, 'sets' => [StickerSetCovered, StickerSetCovered]]; +``` + + +Or, if you're into Lua: + +```lua +messages.archivedStickers={_='messages.archivedStickers', count=int, sets={StickerSetCovered}} + +``` + + diff --git a/old_docs/API_docs_v104/constructors/messages.botCallbackAnswer.md b/old_docs/API_docs_v104/constructors/messages.botCallbackAnswer.md new file mode 100644 index 00000000..08bfeba5 --- /dev/null +++ b/old_docs/API_docs_v104/constructors/messages.botCallbackAnswer.md @@ -0,0 +1,43 @@ +--- +title: messages.botCallbackAnswer +description: Callback answer sent by the bot in response to a button press +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.botCallbackAnswer +[Back to constructors index](index.md) + + + +Callback answer sent by the bot in response to a button press + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|alert|[Bool](../types/Bool.md) | Optional|Whether an alert should be shown to the user instead of a toast notification| +|has\_url|[Bool](../types/Bool.md) | Optional|Whether an URL is present| +|native\_ui|[Bool](../types/Bool.md) | Optional|Whether to show games in WebView or in native UI.| +|message|[string](../types/string.md) | Optional|Alert to show| +|url|[string](../types/string.md) | Optional|URL to open| +|cache\_time|[int](../types/int.md) | Yes|For how long should this answer be cached| + + + +### Type: [messages.BotCallbackAnswer](../types/messages.BotCallbackAnswer.md) + + +### Example: + +```php +$messages.botCallbackAnswer = ['_' => 'messages.botCallbackAnswer', 'alert' => Bool, 'has_url' => Bool, 'native_ui' => Bool, 'message' => 'string', 'url' => 'string', 'cache_time' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.botCallbackAnswer={_='messages.botCallbackAnswer', alert=Bool, has_url=Bool, native_ui=Bool, message='string', url='string', cache_time=int} + +``` + + diff --git a/old_docs/API_docs_v104/constructors/messages.botResults.md b/old_docs/API_docs_v104/constructors/messages.botResults.md new file mode 100644 index 00000000..7b6dcfba --- /dev/null +++ b/old_docs/API_docs_v104/constructors/messages.botResults.md @@ -0,0 +1,44 @@ +--- +title: messages.botResults +description: Result of a query to an inline bot +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.botResults +[Back to constructors index](index.md) + + + +Result of a query to an inline bot + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|gallery|[Bool](../types/Bool.md) | Optional|Whether the result is a picture gallery| +|query\_id|[long](../types/long.md) | Yes|Query ID| +|next\_offset|[string](../types/string.md) | Optional|The next offset to use when navigating through results| +|switch\_pm|[InlineBotSwitchPM](../types/InlineBotSwitchPM.md) | Optional|Whether the bot requested the user to message him in private| +|results|Array of [BotInlineResult](../types/BotInlineResult.md) | Yes|Results| +|cache\_time|[int](../types/int.md) | Yes|Caching validity of the results| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.BotResults](../types/messages.BotResults.md) + + +### Example: + +```php +$messages.botResults = ['_' => 'messages.botResults', 'gallery' => Bool, 'query_id' => long, 'next_offset' => 'string', 'switch_pm' => InlineBotSwitchPM, 'results' => [BotInlineResult, BotInlineResult], 'cache_time' => int, 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.botResults={_='messages.botResults', gallery=Bool, query_id=long, next_offset='string', switch_pm=InlineBotSwitchPM, results={BotInlineResult}, cache_time=int, users={User}} + +``` + + diff --git a/old_docs/API_docs_v104/constructors/messages.channelMessages.md b/old_docs/API_docs_v104/constructors/messages.channelMessages.md new file mode 100644 index 00000000..8a8ca98a --- /dev/null +++ b/old_docs/API_docs_v104/constructors/messages.channelMessages.md @@ -0,0 +1,43 @@ +--- +title: messages.channelMessages +description: Channel messages +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.channelMessages +[Back to constructors index](index.md) + + + +Channel messages + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|inexact|[Bool](../types/Bool.md) | Optional|If set, returned results may be inexact| +|pts|[int](../types/int.md) | Yes|[Event count after generation](https://core.telegram.org/api/updates)| +|count|[int](../types/int.md) | Yes|Total number of results were found server-side (may not be all included here)| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Messages](../types/messages.Messages.md) + + +### Example: + +```php +$messages.channelMessages = ['_' => 'messages.channelMessages', 'inexact' => Bool, 'pts' => int, 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.channelMessages={_='messages.channelMessages', inexact=Bool, pts=int, count=int, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v104/constructors/messages.chatFull.md b/old_docs/API_docs_v104/constructors/messages.chatFull.md new file mode 100644 index 00000000..3906cc54 --- /dev/null +++ b/old_docs/API_docs_v104/constructors/messages.chatFull.md @@ -0,0 +1,40 @@ +--- +title: messages.chatFull +description: Extended info on chat and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.chatFull +[Back to constructors index](index.md) + + + +Extended info on chat and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|full\_chat|[ChatFull](../types/ChatFull.md) | Yes|Extended info on a chat| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.ChatFull](../types/messages.ChatFull.md) + + +### Example: + +```php +$messages.chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.chatFull={_='messages.chatFull', full_chat=ChatFull, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v104/constructors/messages.chats.md b/old_docs/API_docs_v104/constructors/messages.chats.md new file mode 100644 index 00000000..9ede9ff2 --- /dev/null +++ b/old_docs/API_docs_v104/constructors/messages.chats.md @@ -0,0 +1,38 @@ +--- +title: messages.chats +description: List of chats with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.chats +[Back to constructors index](index.md) + + + +List of chats with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| + + + +### Type: [messages.Chats](../types/messages.Chats.md) + + +### Example: + +```php +$messages.chats = ['_' => 'messages.chats', 'chats' => [Chat, Chat]]; +``` + + +Or, if you're into Lua: + +```lua +messages.chats={_='messages.chats', chats={Chat}} + +``` + + diff --git a/old_docs/API_docs_v104/constructors/messages.chatsSlice.md b/old_docs/API_docs_v104/constructors/messages.chatsSlice.md new file mode 100644 index 00000000..efd153e0 --- /dev/null +++ b/old_docs/API_docs_v104/constructors/messages.chatsSlice.md @@ -0,0 +1,39 @@ +--- +title: messages.chatsSlice +description: Partial list of chats, more would have to be fetched with [pagination](https://core.telegram.org/api/offsets) +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.chatsSlice +[Back to constructors index](index.md) + + + +Partial list of chats, more would have to be fetched with [pagination](https://core.telegram.org/api/offsets) + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of results that were found server-side (not all are included in `chats`)| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| + + + +### Type: [messages.Chats](../types/messages.Chats.md) + + +### Example: + +```php +$messages.chatsSlice = ['_' => 'messages.chatsSlice', 'count' => int, 'chats' => [Chat, Chat]]; +``` + + +Or, if you're into Lua: + +```lua +messages.chatsSlice={_='messages.chatsSlice', count=int, chats={Chat}} + +``` + + diff --git a/old_docs/API_docs_v104/constructors/messages.dhConfig.md b/old_docs/API_docs_v104/constructors/messages.dhConfig.md new file mode 100644 index 00000000..58344f64 --- /dev/null +++ b/old_docs/API_docs_v104/constructors/messages.dhConfig.md @@ -0,0 +1,41 @@ +--- +title: messages.dhConfig +description: New set of configuring parameters. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dhConfig +[Back to constructors index](index.md) + + + +New set of configuring parameters. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|g|[int](../types/int.md) | Yes|New value **prime**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| +|p|[bytes](../types/bytes.md) | Yes|New value **primitive root**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| +|version|[int](../types/int.md) | Yes|Vestion of set of parameters| +|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| + + + +### Type: [messages.DhConfig](../types/messages.DhConfig.md) + + +### Example: + +```php +$messages.dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'version' => int, 'random' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +messages.dhConfig={_='messages.dhConfig', g=int, p='bytes', version=int, random='bytes'} + +``` + + diff --git a/old_docs/API_docs_v104/constructors/messages.dhConfigNotModified.md b/old_docs/API_docs_v104/constructors/messages.dhConfigNotModified.md new file mode 100644 index 00000000..a9a95389 --- /dev/null +++ b/old_docs/API_docs_v104/constructors/messages.dhConfigNotModified.md @@ -0,0 +1,38 @@ +--- +title: messages.dhConfigNotModified +description: Configuring parameters did not change. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dhConfigNotModified +[Back to constructors index](index.md) + + + +Configuring parameters did not change. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| + + + +### Type: [messages.DhConfig](../types/messages.DhConfig.md) + + +### Example: + +```php +$messages.dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +messages.dhConfigNotModified={_='messages.dhConfigNotModified', random='bytes'} + +``` + + diff --git a/old_docs/API_docs_v104/constructors/messages.dialogs.md b/old_docs/API_docs_v104/constructors/messages.dialogs.md new file mode 100644 index 00000000..a72eabce --- /dev/null +++ b/old_docs/API_docs_v104/constructors/messages.dialogs.md @@ -0,0 +1,41 @@ +--- +title: messages.dialogs +description: Full list of chats with messages and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dialogs +[Back to constructors index](index.md) + + + +Full list of chats with messages and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Dialogs](../types/messages.Dialogs.md) + + +### Example: + +```php +$messages.dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.dialogs={_='messages.dialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v104/constructors/messages.dialogsNotModified.md b/old_docs/API_docs_v104/constructors/messages.dialogsNotModified.md new file mode 100644 index 00000000..b4615516 --- /dev/null +++ b/old_docs/API_docs_v104/constructors/messages.dialogsNotModified.md @@ -0,0 +1,38 @@ +--- +title: messages.dialogsNotModified +description: Dialogs haven't changed +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dialogsNotModified +[Back to constructors index](index.md) + + + +Dialogs haven't changed + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Number of dialogs found server-side by the query| + + + +### Type: [messages.Dialogs](../types/messages.Dialogs.md) + + +### Example: + +```php +$messages.dialogsNotModified = ['_' => 'messages.dialogsNotModified', 'count' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.dialogsNotModified={_='messages.dialogsNotModified', count=int} + +``` + + diff --git a/old_docs/API_docs_v104/constructors/messages.dialogsSlice.md b/old_docs/API_docs_v104/constructors/messages.dialogsSlice.md new file mode 100644 index 00000000..26227d2c --- /dev/null +++ b/old_docs/API_docs_v104/constructors/messages.dialogsSlice.md @@ -0,0 +1,42 @@ +--- +title: messages.dialogsSlice +description: Incomplete list of dialogs with messages and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dialogsSlice +[Back to constructors index](index.md) + + + +Incomplete list of dialogs with messages and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of dialogs| +|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Dialogs](../types/messages.Dialogs.md) + + +### Example: + +```php +$messages.dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.dialogsSlice={_='messages.dialogsSlice', count=int, dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v104/constructors/messages.favedStickers.md b/old_docs/API_docs_v104/constructors/messages.favedStickers.md new file mode 100644 index 00000000..a5cfb7c9 --- /dev/null +++ b/old_docs/API_docs_v104/constructors/messages.favedStickers.md @@ -0,0 +1,40 @@ +--- +title: messages.favedStickers +description: Favorited stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.favedStickers +[Back to constructors index](index.md) + + + +Favorited stickers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|packs|Array of [StickerPack](../types/StickerPack.md) | Yes|Packs| +|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| + + + +### Type: [messages.FavedStickers](../types/messages.FavedStickers.md) + + +### Example: + +```php +$messages.favedStickers = ['_' => 'messages.favedStickers', 'hash' => int, 'packs' => [StickerPack, StickerPack], 'stickers' => [Document, Document]]; +``` + + +Or, if you're into Lua: + +```lua +messages.favedStickers={_='messages.favedStickers', hash=int, packs={StickerPack}, stickers={Document}} + +``` + + diff --git a/old_docs/API_docs_v104/constructors/messages.favedStickersNotModified.md b/old_docs/API_docs_v104/constructors/messages.favedStickersNotModified.md new file mode 100644 index 00000000..8723659e --- /dev/null +++ b/old_docs/API_docs_v104/constructors/messages.favedStickersNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.favedStickersNotModified +description: No new favorited stickers were found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.favedStickersNotModified +[Back to constructors index](index.md) + + + +No new favorited stickers were found + + + + +### Type: [messages.FavedStickers](../types/messages.FavedStickers.md) + + +### Example: + +```php +$messages.favedStickersNotModified = ['_' => 'messages.favedStickersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.favedStickersNotModified={_='messages.favedStickersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v104/constructors/messages.featuredStickers.md b/old_docs/API_docs_v104/constructors/messages.featuredStickers.md new file mode 100644 index 00000000..344376ea --- /dev/null +++ b/old_docs/API_docs_v104/constructors/messages.featuredStickers.md @@ -0,0 +1,40 @@ +--- +title: messages.featuredStickers +description: Featured stickersets +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.featuredStickers +[Back to constructors index](index.md) + + + +Featured stickersets + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| +|unread|Array of [long](../types/long.md) | Yes|Unread| + + + +### Type: [messages.FeaturedStickers](../types/messages.FeaturedStickers.md) + + +### Example: + +```php +$messages.featuredStickers = ['_' => 'messages.featuredStickers', 'hash' => int, 'sets' => [StickerSetCovered, StickerSetCovered], 'unread' => [long, long]]; +``` + + +Or, if you're into Lua: + +```lua +messages.featuredStickers={_='messages.featuredStickers', hash=int, sets={StickerSetCovered}, unread={long}} + +``` + + diff --git a/old_docs/API_docs_v104/constructors/messages.featuredStickersNotModified.md b/old_docs/API_docs_v104/constructors/messages.featuredStickersNotModified.md new file mode 100644 index 00000000..0fe9b4d5 --- /dev/null +++ b/old_docs/API_docs_v104/constructors/messages.featuredStickersNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.featuredStickersNotModified +description: Featured stickers haven't changed +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.featuredStickersNotModified +[Back to constructors index](index.md) + + + +Featured stickers haven't changed + + + + +### Type: [messages.FeaturedStickers](../types/messages.FeaturedStickers.md) + + +### Example: + +```php +$messages.featuredStickersNotModified = ['_' => 'messages.featuredStickersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.featuredStickersNotModified={_='messages.featuredStickersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v104/constructors/messages.foundGifs.md b/old_docs/API_docs_v104/constructors/messages.foundGifs.md new file mode 100644 index 00000000..c75e36f9 --- /dev/null +++ b/old_docs/API_docs_v104/constructors/messages.foundGifs.md @@ -0,0 +1,39 @@ +--- +title: messages.foundGifs +description: Found GIFs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.foundGifs +[Back to constructors index](index.md) + + + +Found GIFs + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|next\_offset|[int](../types/int.md) | Yes|Next offset to use when trying to [load more results](../methods/messages.searchGifs.md)| +|results|Array of [FoundGif](../types/FoundGif.md) | Yes|Results| + + + +### Type: [messages.FoundGifs](../types/messages.FoundGifs.md) + + +### Example: + +```php +$messages.foundGifs = ['_' => 'messages.foundGifs', 'next_offset' => int, 'results' => [FoundGif, FoundGif]]; +``` + + +Or, if you're into Lua: + +```lua +messages.foundGifs={_='messages.foundGifs', next_offset=int, results={FoundGif}} + +``` + + diff --git a/old_docs/API_docs_v104/constructors/messages.foundStickerSets.md b/old_docs/API_docs_v104/constructors/messages.foundStickerSets.md new file mode 100644 index 00000000..efc5201e --- /dev/null +++ b/old_docs/API_docs_v104/constructors/messages.foundStickerSets.md @@ -0,0 +1,39 @@ +--- +title: messages.foundStickerSets +description: Found stickersets +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.foundStickerSets +[Back to constructors index](index.md) + + + +Found stickersets + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| + + + +### Type: [messages.FoundStickerSets](../types/messages.FoundStickerSets.md) + + +### Example: + +```php +$messages.foundStickerSets = ['_' => 'messages.foundStickerSets', 'hash' => int, 'sets' => [StickerSetCovered, StickerSetCovered]]; +``` + + +Or, if you're into Lua: + +```lua +messages.foundStickerSets={_='messages.foundStickerSets', hash=int, sets={StickerSetCovered}} + +``` + + diff --git a/old_docs/API_docs_v104/constructors/messages.foundStickerSetsNotModified.md b/old_docs/API_docs_v104/constructors/messages.foundStickerSetsNotModified.md new file mode 100644 index 00000000..2902501a --- /dev/null +++ b/old_docs/API_docs_v104/constructors/messages.foundStickerSetsNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.foundStickerSetsNotModified +description: No further results were found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.foundStickerSetsNotModified +[Back to constructors index](index.md) + + + +No further results were found + + + + +### Type: [messages.FoundStickerSets](../types/messages.FoundStickerSets.md) + + +### Example: + +```php +$messages.foundStickerSetsNotModified = ['_' => 'messages.foundStickerSetsNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.foundStickerSetsNotModified={_='messages.foundStickerSetsNotModified'} + +``` + + diff --git a/old_docs/API_docs_v104/constructors/messages.highScores.md b/old_docs/API_docs_v104/constructors/messages.highScores.md new file mode 100644 index 00000000..d7d25826 --- /dev/null +++ b/old_docs/API_docs_v104/constructors/messages.highScores.md @@ -0,0 +1,39 @@ +--- +title: messages.highScores +description: Highscores in a game +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.highScores +[Back to constructors index](index.md) + + + +Highscores in a game + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|scores|Array of [HighScore](../types/HighScore.md) | Yes|Scores| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.HighScores](../types/messages.HighScores.md) + + +### Example: + +```php +$messages.highScores = ['_' => 'messages.highScores', 'scores' => [HighScore, HighScore], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.highScores={_='messages.highScores', scores={HighScore}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v104/constructors/messages.messageEditData.md b/old_docs/API_docs_v104/constructors/messages.messageEditData.md new file mode 100644 index 00000000..578b53d9 --- /dev/null +++ b/old_docs/API_docs_v104/constructors/messages.messageEditData.md @@ -0,0 +1,38 @@ +--- +title: messages.messageEditData +description: Message edit data for media +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.messageEditData +[Back to constructors index](index.md) + + + +Message edit data for media + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|caption|[Bool](../types/Bool.md) | Optional|Media caption, if the specified media's caption can be edited| + + + +### Type: [messages.MessageEditData](../types/messages.MessageEditData.md) + + +### Example: + +```php +$messages.messageEditData = ['_' => 'messages.messageEditData', 'caption' => Bool]; +``` + + +Or, if you're into Lua: + +```lua +messages.messageEditData={_='messages.messageEditData', caption=Bool} + +``` + + diff --git a/old_docs/API_docs_v104/constructors/messages.messages.md b/old_docs/API_docs_v104/constructors/messages.messages.md new file mode 100644 index 00000000..3af71dca --- /dev/null +++ b/old_docs/API_docs_v104/constructors/messages.messages.md @@ -0,0 +1,40 @@ +--- +title: messages.messages +description: Full list of messages with auxilary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.messages +[Back to constructors index](index.md) + + + +Full list of messages with auxilary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Messages](../types/messages.Messages.md) + + +### Example: + +```php +$messages.messages = ['_' => 'messages.messages', 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.messages={_='messages.messages', messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v104/constructors/messages.messagesNotModified.md b/old_docs/API_docs_v104/constructors/messages.messagesNotModified.md new file mode 100644 index 00000000..c4cb60ed --- /dev/null +++ b/old_docs/API_docs_v104/constructors/messages.messagesNotModified.md @@ -0,0 +1,38 @@ +--- +title: messages.messagesNotModified +description: No new messages matching the query were found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.messagesNotModified +[Back to constructors index](index.md) + + + +No new messages matching the query were found + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Number of results found server-side by the given query| + + + +### Type: [messages.Messages](../types/messages.Messages.md) + + +### Example: + +```php +$messages.messagesNotModified = ['_' => 'messages.messagesNotModified', 'count' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.messagesNotModified={_='messages.messagesNotModified', count=int} + +``` + + diff --git a/old_docs/API_docs_v104/constructors/messages.messagesSlice.md b/old_docs/API_docs_v104/constructors/messages.messagesSlice.md new file mode 100644 index 00000000..ed85347c --- /dev/null +++ b/old_docs/API_docs_v104/constructors/messages.messagesSlice.md @@ -0,0 +1,43 @@ +--- +title: messages.messagesSlice +description: Incomplete list of messages and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.messagesSlice +[Back to constructors index](index.md) + + + +Incomplete list of messages and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|inexact|[Bool](../types/Bool.md) | Optional|If set, indicates that the results may be inexact| +|count|[int](../types/int.md) | Yes|Total number of messages in the list| +|next\_rate|[int](../types/int.md) | Optional|Rate to use in the `offset_rate` parameter in the next call to [messages.searchGlobal](../methods/messages.searchGlobal.md)| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Messages](../types/messages.Messages.md) + + +### Example: + +```php +$messages.messagesSlice = ['_' => 'messages.messagesSlice', 'inexact' => Bool, 'count' => int, 'next_rate' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.messagesSlice={_='messages.messagesSlice', inexact=Bool, count=int, next_rate=int, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v104/constructors/messages.peerDialogs.md b/old_docs/API_docs_v104/constructors/messages.peerDialogs.md new file mode 100644 index 00000000..39cb71f8 --- /dev/null +++ b/old_docs/API_docs_v104/constructors/messages.peerDialogs.md @@ -0,0 +1,42 @@ +--- +title: messages.peerDialogs +description: Dialog info of multiple peers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.peerDialogs +[Back to constructors index](index.md) + + + +Dialog info of multiple peers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| +|state|[updates.State](../constructors/updates.State.md) | Yes|Current [update state of dialog](https://core.telegram.org/api/updates)| + + + +### Type: [messages.PeerDialogs](../types/messages.PeerDialogs.md) + + +### Example: + +```php +$messages.peerDialogs = ['_' => 'messages.peerDialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates.State]; +``` + + +Or, if you're into Lua: + +```lua +messages.peerDialogs={_='messages.peerDialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}, state=updates.State} + +``` + + diff --git a/old_docs/API_docs_v104/constructors/messages.recentStickers.md b/old_docs/API_docs_v104/constructors/messages.recentStickers.md new file mode 100644 index 00000000..33e6c1ad --- /dev/null +++ b/old_docs/API_docs_v104/constructors/messages.recentStickers.md @@ -0,0 +1,41 @@ +--- +title: messages.recentStickers +description: Recently used stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.recentStickers +[Back to constructors index](index.md) + + + +Recently used stickers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|packs|Array of [StickerPack](../types/StickerPack.md) | Yes|Packs| +|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| +|dates|Array of [int](../types/int.md) | Yes|Dates| + + + +### Type: [messages.RecentStickers](../types/messages.RecentStickers.md) + + +### Example: + +```php +$messages.recentStickers = ['_' => 'messages.recentStickers', 'hash' => int, 'packs' => [StickerPack, StickerPack], 'stickers' => [Document, Document], 'dates' => [int, int]]; +``` + + +Or, if you're into Lua: + +```lua +messages.recentStickers={_='messages.recentStickers', hash=int, packs={StickerPack}, stickers={Document}, dates={int}} + +``` + + diff --git a/old_docs/API_docs_v104/constructors/messages.recentStickersNotModified.md b/old_docs/API_docs_v104/constructors/messages.recentStickersNotModified.md new file mode 100644 index 00000000..1c3bbf5c --- /dev/null +++ b/old_docs/API_docs_v104/constructors/messages.recentStickersNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.recentStickersNotModified +description: No new recent sticker was found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.recentStickersNotModified +[Back to constructors index](index.md) + + + +No new recent sticker was found + + + + +### Type: [messages.RecentStickers](../types/messages.RecentStickers.md) + + +### Example: + +```php +$messages.recentStickersNotModified = ['_' => 'messages.recentStickersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.recentStickersNotModified={_='messages.recentStickersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v104/constructors/messages.savedGifs.md b/old_docs/API_docs_v104/constructors/messages.savedGifs.md new file mode 100644 index 00000000..c82929a3 --- /dev/null +++ b/old_docs/API_docs_v104/constructors/messages.savedGifs.md @@ -0,0 +1,39 @@ +--- +title: messages.savedGifs +description: Saved gifs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.savedGifs +[Back to constructors index](index.md) + + + +Saved gifs + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|gifs|Array of [Document](../types/Document.md) | Yes|Gifs| + + + +### Type: [messages.SavedGifs](../types/messages.SavedGifs.md) + + +### Example: + +```php +$messages.savedGifs = ['_' => 'messages.savedGifs', 'hash' => int, 'gifs' => [Document, Document]]; +``` + + +Or, if you're into Lua: + +```lua +messages.savedGifs={_='messages.savedGifs', hash=int, gifs={Document}} + +``` + + diff --git a/old_docs/API_docs_v104/constructors/messages.savedGifsNotModified.md b/old_docs/API_docs_v104/constructors/messages.savedGifsNotModified.md new file mode 100644 index 00000000..0fbccacc --- /dev/null +++ b/old_docs/API_docs_v104/constructors/messages.savedGifsNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.savedGifsNotModified +description: No new saved gifs were found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.savedGifsNotModified +[Back to constructors index](index.md) + + + +No new saved gifs were found + + + + +### Type: [messages.SavedGifs](../types/messages.SavedGifs.md) + + +### Example: + +```php +$messages.savedGifsNotModified = ['_' => 'messages.savedGifsNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.savedGifsNotModified={_='messages.savedGifsNotModified'} + +``` + + diff --git a/old_docs/API_docs_v104/constructors/messages.searchCounter.md b/old_docs/API_docs_v104/constructors/messages.searchCounter.md new file mode 100644 index 00000000..601edd6c --- /dev/null +++ b/old_docs/API_docs_v104/constructors/messages.searchCounter.md @@ -0,0 +1,40 @@ +--- +title: messages.searchCounter +description: Indicates how many results would be found by a [messages.search](../methods/messages.search.md) call with the same parameters +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.searchCounter +[Back to constructors index](index.md) + + + +Indicates how many results would be found by a [messages.search](../methods/messages.search.md) call with the same parameters + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|inexact|[Bool](../types/Bool.md) | Optional|If set, the results may be inexact| +|filter|[MessagesFilter](../types/MessagesFilter.md) | Yes|Provided message filter| +|count|[int](../types/int.md) | Yes|Number of results that were found server-side| + + + +### Type: [messages.SearchCounter](../types/messages.SearchCounter.md) + + +### Example: + +```php +$messages.searchCounter = ['_' => 'messages.searchCounter', 'inexact' => Bool, 'filter' => MessagesFilter, 'count' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.searchCounter={_='messages.searchCounter', inexact=Bool, filter=MessagesFilter, count=int} + +``` + + diff --git a/old_docs/API_docs_v104/constructors/messages.sentEncryptedFile.md b/old_docs/API_docs_v104/constructors/messages.sentEncryptedFile.md new file mode 100644 index 00000000..1f0e43c6 --- /dev/null +++ b/old_docs/API_docs_v104/constructors/messages.sentEncryptedFile.md @@ -0,0 +1,39 @@ +--- +title: messages.sentEncryptedFile +description: Message with a file enclosure sent to a protected chat +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.sentEncryptedFile +[Back to constructors index](index.md) + + + +Message with a file enclosure sent to a protected chat + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Sending date| +|file|[EncryptedFile](../types/EncryptedFile.md) | Optional|Attached file| + + + +### Type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) + + +### Example: + +```php +$messages.sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile]; +``` + + +Or, if you're into Lua: + +```lua +messages.sentEncryptedFile={_='messages.sentEncryptedFile', date=int, file=EncryptedFile} + +``` + + diff --git a/old_docs/API_docs_v104/constructors/messages.sentEncryptedMessage.md b/old_docs/API_docs_v104/constructors/messages.sentEncryptedMessage.md new file mode 100644 index 00000000..3d5eb40c --- /dev/null +++ b/old_docs/API_docs_v104/constructors/messages.sentEncryptedMessage.md @@ -0,0 +1,38 @@ +--- +title: messages.sentEncryptedMessage +description: Message without file attachemts sent to an encrypted file. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.sentEncryptedMessage +[Back to constructors index](index.md) + + + +Message without file attachemts sent to an encrypted file. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Date of sending| + + + +### Type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) + + +### Example: + +```php +$messages.sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.sentEncryptedMessage={_='messages.sentEncryptedMessage', date=int} + +``` + + diff --git a/old_docs/API_docs_v104/constructors/messages.stickerSet.md b/old_docs/API_docs_v104/constructors/messages.stickerSet.md new file mode 100644 index 00000000..fbc154d0 --- /dev/null +++ b/old_docs/API_docs_v104/constructors/messages.stickerSet.md @@ -0,0 +1,40 @@ +--- +title: messages.stickerSet +description: Stickerset and stickers inside it +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickerSet +[Back to constructors index](index.md) + + + +Stickerset and stickers inside it + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|set|[StickerSet](../types/StickerSet.md) | Yes|The stickerset| +|packs|Array of [StickerPack](../types/StickerPack.md) | Yes|Packs| +|documents|Array of [Document](../types/Document.md) | Yes|Documents| + + + +### Type: [messages.StickerSet](../types/messages.StickerSet.md) + + +### Example: + +```php +$messages.stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'packs' => [StickerPack, StickerPack], 'documents' => [Document, Document]]; +``` + + +Or, if you're into Lua: + +```lua +messages.stickerSet={_='messages.stickerSet', set=StickerSet, packs={StickerPack}, documents={Document}} + +``` + + diff --git a/old_docs/API_docs_v104/constructors/messages.stickerSetInstallResultArchive.md b/old_docs/API_docs_v104/constructors/messages.stickerSetInstallResultArchive.md new file mode 100644 index 00000000..fefe2270 --- /dev/null +++ b/old_docs/API_docs_v104/constructors/messages.stickerSetInstallResultArchive.md @@ -0,0 +1,38 @@ +--- +title: messages.stickerSetInstallResultArchive +description: The stickerset was installed, but since there are too many stickersets some were archived +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickerSetInstallResultArchive +[Back to constructors index](index.md) + + + +The stickerset was installed, but since there are too many stickersets some were archived + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| + + + +### Type: [messages.StickerSetInstallResult](../types/messages.StickerSetInstallResult.md) + + +### Example: + +```php +$messages.stickerSetInstallResultArchive = ['_' => 'messages.stickerSetInstallResultArchive', 'sets' => [StickerSetCovered, StickerSetCovered]]; +``` + + +Or, if you're into Lua: + +```lua +messages.stickerSetInstallResultArchive={_='messages.stickerSetInstallResultArchive', sets={StickerSetCovered}} + +``` + + diff --git a/old_docs/API_docs_v104/constructors/messages.stickerSetInstallResultSuccess.md b/old_docs/API_docs_v104/constructors/messages.stickerSetInstallResultSuccess.md new file mode 100644 index 00000000..bbe8b961 --- /dev/null +++ b/old_docs/API_docs_v104/constructors/messages.stickerSetInstallResultSuccess.md @@ -0,0 +1,33 @@ +--- +title: messages.stickerSetInstallResultSuccess +description: The stickerset was installed successfully +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickerSetInstallResultSuccess +[Back to constructors index](index.md) + + + +The stickerset was installed successfully + + + + +### Type: [messages.StickerSetInstallResult](../types/messages.StickerSetInstallResult.md) + + +### Example: + +```php +$messages.stickerSetInstallResultSuccess = ['_' => 'messages.stickerSetInstallResultSuccess']; +``` + + +Or, if you're into Lua: + +```lua +messages.stickerSetInstallResultSuccess={_='messages.stickerSetInstallResultSuccess'} + +``` + + diff --git a/old_docs/API_docs_v104/constructors/messages.stickers.md b/old_docs/API_docs_v104/constructors/messages.stickers.md new file mode 100644 index 00000000..49ffea6a --- /dev/null +++ b/old_docs/API_docs_v104/constructors/messages.stickers.md @@ -0,0 +1,39 @@ +--- +title: messages.stickers +description: Found stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickers +[Back to constructors index](index.md) + + + +Found stickers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| + + + +### Type: [messages.Stickers](../types/messages.Stickers.md) + + +### Example: + +```php +$messages.stickers = ['_' => 'messages.stickers', 'hash' => int, 'stickers' => [Document, Document]]; +``` + + +Or, if you're into Lua: + +```lua +messages.stickers={_='messages.stickers', hash=int, stickers={Document}} + +``` + + diff --git a/old_docs/API_docs_v104/constructors/messages.stickersNotModified.md b/old_docs/API_docs_v104/constructors/messages.stickersNotModified.md new file mode 100644 index 00000000..e8c7766c --- /dev/null +++ b/old_docs/API_docs_v104/constructors/messages.stickersNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.stickersNotModified +description: No new stickers were found for the given query +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickersNotModified +[Back to constructors index](index.md) + + + +No new stickers were found for the given query + + + + +### Type: [messages.Stickers](../types/messages.Stickers.md) + + +### Example: + +```php +$messages.stickersNotModified = ['_' => 'messages.stickersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.stickersNotModified={_='messages.stickersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v104/constructors/messages_affectedHistory.md b/old_docs/API_docs_v104/constructors/messages_affectedHistory.md deleted file mode 100644 index 449a7e3f..00000000 --- a/old_docs/API_docs_v104/constructors/messages_affectedHistory.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.affectedHistory -description: Affected part of communication history with the user or in a chat. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.affectedHistory -[Back to constructors index](index.md) - - - -Affected part of communication history with the user or in a chat. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| -|pts\_count|[int](../types/int.md) | Yes|Number of affected events| -|offset|[int](../types/int.md) | Yes|If a parameter contains positive value, it is necessary to repeat the method call using the given value; during the proceeding of all the history the value itself shall gradually decrease| - - - -### Type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) - - -### Example: - -```php -$messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_affectedHistory={_='messages.affectedHistory', pts=int, pts_count=int, offset=int} - -``` - - diff --git a/old_docs/API_docs_v104/constructors/messages_affectedMessages.md b/old_docs/API_docs_v104/constructors/messages_affectedMessages.md deleted file mode 100644 index 86760581..00000000 --- a/old_docs/API_docs_v104/constructors/messages_affectedMessages.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.affectedMessages -description: Events affected by operation -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.affectedMessages -[Back to constructors index](index.md) - - - -Events affected by operation - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|[Event count after generation](https://core.telegram.org/api/updates)| -|pts\_count|[int](../types/int.md) | Yes|[Number of events that were generated](https://core.telegram.org/api/updates)| - - - -### Type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) - - -### Example: - -```php -$messages_affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_affectedMessages={_='messages.affectedMessages', pts=int, pts_count=int} - -``` - - diff --git a/old_docs/API_docs_v104/constructors/messages_allStickers.md b/old_docs/API_docs_v104/constructors/messages_allStickers.md deleted file mode 100644 index 2e64f46e..00000000 --- a/old_docs/API_docs_v104/constructors/messages_allStickers.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.allStickers -description: Info about all installed stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.allStickers -[Back to constructors index](index.md) - - - -Info about all installed stickers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|sets|Array of [StickerSet](../types/StickerSet.md) | Yes|Sets| - - - -### Type: [messages\_AllStickers](../types/messages_AllStickers.md) - - -### Example: - -```php -$messages_allStickers = ['_' => 'messages.allStickers', 'hash' => int, 'sets' => [StickerSet, StickerSet]]; -``` - - -Or, if you're into Lua: - -```lua -messages_allStickers={_='messages.allStickers', hash=int, sets={StickerSet}} - -``` - - diff --git a/old_docs/API_docs_v104/constructors/messages_allStickersNotModified.md b/old_docs/API_docs_v104/constructors/messages_allStickersNotModified.md deleted file mode 100644 index c4da85ab..00000000 --- a/old_docs/API_docs_v104/constructors/messages_allStickersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.allStickersNotModified -description: Info about all installed stickers hasn't changed -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.allStickersNotModified -[Back to constructors index](index.md) - - - -Info about all installed stickers hasn't changed - - - - -### Type: [messages\_AllStickers](../types/messages_AllStickers.md) - - -### Example: - -```php -$messages_allStickersNotModified = ['_' => 'messages.allStickersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_allStickersNotModified={_='messages.allStickersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v104/constructors/messages_archivedStickers.md b/old_docs/API_docs_v104/constructors/messages_archivedStickers.md deleted file mode 100644 index 6b28c885..00000000 --- a/old_docs/API_docs_v104/constructors/messages_archivedStickers.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.archivedStickers -description: Archived stickersets -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.archivedStickers -[Back to constructors index](index.md) - - - -Archived stickersets - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Number of archived stickers| -|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| - - - -### Type: [messages\_ArchivedStickers](../types/messages_ArchivedStickers.md) - - -### Example: - -```php -$messages_archivedStickers = ['_' => 'messages.archivedStickers', 'count' => int, 'sets' => [StickerSetCovered, StickerSetCovered]]; -``` - - -Or, if you're into Lua: - -```lua -messages_archivedStickers={_='messages.archivedStickers', count=int, sets={StickerSetCovered}} - -``` - - diff --git a/old_docs/API_docs_v104/constructors/messages_botCallbackAnswer.md b/old_docs/API_docs_v104/constructors/messages_botCallbackAnswer.md deleted file mode 100644 index e56f4b56..00000000 --- a/old_docs/API_docs_v104/constructors/messages_botCallbackAnswer.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: messages.botCallbackAnswer -description: Callback answer sent by the bot in response to a button press -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.botCallbackAnswer -[Back to constructors index](index.md) - - - -Callback answer sent by the bot in response to a button press - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|alert|[Bool](../types/Bool.md) | Optional|Whether an alert should be shown to the user instead of a toast notification| -|has\_url|[Bool](../types/Bool.md) | Optional|Whether an URL is present| -|native\_ui|[Bool](../types/Bool.md) | Optional|Whether to show games in WebView or in native UI.| -|message|[string](../types/string.md) | Optional|Alert to show| -|url|[string](../types/string.md) | Optional|URL to open| -|cache\_time|[int](../types/int.md) | Yes|For how long should this answer be cached| - - - -### Type: [messages\_BotCallbackAnswer](../types/messages_BotCallbackAnswer.md) - - -### Example: - -```php -$messages_botCallbackAnswer = ['_' => 'messages.botCallbackAnswer', 'alert' => Bool, 'has_url' => Bool, 'native_ui' => Bool, 'message' => 'string', 'url' => 'string', 'cache_time' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_botCallbackAnswer={_='messages.botCallbackAnswer', alert=Bool, has_url=Bool, native_ui=Bool, message='string', url='string', cache_time=int} - -``` - - diff --git a/old_docs/API_docs_v104/constructors/messages_botResults.md b/old_docs/API_docs_v104/constructors/messages_botResults.md deleted file mode 100644 index 19b9edf6..00000000 --- a/old_docs/API_docs_v104/constructors/messages_botResults.md +++ /dev/null @@ -1,44 +0,0 @@ ---- -title: messages.botResults -description: Result of a query to an inline bot -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.botResults -[Back to constructors index](index.md) - - - -Result of a query to an inline bot - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|gallery|[Bool](../types/Bool.md) | Optional|Whether the result is a picture gallery| -|query\_id|[long](../types/long.md) | Yes|Query ID| -|next\_offset|[string](../types/string.md) | Optional|The next offset to use when navigating through results| -|switch\_pm|[InlineBotSwitchPM](../types/InlineBotSwitchPM.md) | Optional|Whether the bot requested the user to message him in private| -|results|Array of [BotInlineResult](../types/BotInlineResult.md) | Yes|Results| -|cache\_time|[int](../types/int.md) | Yes|Caching validity of the results| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_BotResults](../types/messages_BotResults.md) - - -### Example: - -```php -$messages_botResults = ['_' => 'messages.botResults', 'gallery' => Bool, 'query_id' => long, 'next_offset' => 'string', 'switch_pm' => InlineBotSwitchPM, 'results' => [BotInlineResult, BotInlineResult], 'cache_time' => int, 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_botResults={_='messages.botResults', gallery=Bool, query_id=long, next_offset='string', switch_pm=InlineBotSwitchPM, results={BotInlineResult}, cache_time=int, users={User}} - -``` - - diff --git a/old_docs/API_docs_v104/constructors/messages_channelMessages.md b/old_docs/API_docs_v104/constructors/messages_channelMessages.md deleted file mode 100644 index 4cf24743..00000000 --- a/old_docs/API_docs_v104/constructors/messages_channelMessages.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: messages.channelMessages -description: Channel messages -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.channelMessages -[Back to constructors index](index.md) - - - -Channel messages - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|inexact|[Bool](../types/Bool.md) | Optional|If set, returned results may be inexact| -|pts|[int](../types/int.md) | Yes|[Event count after generation](https://core.telegram.org/api/updates)| -|count|[int](../types/int.md) | Yes|Total number of results were found server-side (may not be all included here)| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Messages](../types/messages_Messages.md) - - -### Example: - -```php -$messages_channelMessages = ['_' => 'messages.channelMessages', 'inexact' => Bool, 'pts' => int, 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_channelMessages={_='messages.channelMessages', inexact=Bool, pts=int, count=int, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v104/constructors/messages_chatFull.md b/old_docs/API_docs_v104/constructors/messages_chatFull.md deleted file mode 100644 index 02f1acdf..00000000 --- a/old_docs/API_docs_v104/constructors/messages_chatFull.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.chatFull -description: Extended info on chat and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.chatFull -[Back to constructors index](index.md) - - - -Extended info on chat and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|full\_chat|[ChatFull](../types/ChatFull.md) | Yes|Extended info on a chat| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_ChatFull](../types/messages_ChatFull.md) - - -### Example: - -```php -$messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_chatFull={_='messages.chatFull', full_chat=ChatFull, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v104/constructors/messages_chats.md b/old_docs/API_docs_v104/constructors/messages_chats.md deleted file mode 100644 index ef3690a9..00000000 --- a/old_docs/API_docs_v104/constructors/messages_chats.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.chats -description: List of chats with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.chats -[Back to constructors index](index.md) - - - -List of chats with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| - - - -### Type: [messages\_Chats](../types/messages_Chats.md) - - -### Example: - -```php -$messages_chats = ['_' => 'messages.chats', 'chats' => [Chat, Chat]]; -``` - - -Or, if you're into Lua: - -```lua -messages_chats={_='messages.chats', chats={Chat}} - -``` - - diff --git a/old_docs/API_docs_v104/constructors/messages_chatsSlice.md b/old_docs/API_docs_v104/constructors/messages_chatsSlice.md deleted file mode 100644 index f19c4357..00000000 --- a/old_docs/API_docs_v104/constructors/messages_chatsSlice.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.chatsSlice -description: Partial list of chats, more would have to be fetched with [pagination](https://core.telegram.org/api/offsets) -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.chatsSlice -[Back to constructors index](index.md) - - - -Partial list of chats, more would have to be fetched with [pagination](https://core.telegram.org/api/offsets) - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of results that were found server-side (not all are included in `chats`)| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| - - - -### Type: [messages\_Chats](../types/messages_Chats.md) - - -### Example: - -```php -$messages_chatsSlice = ['_' => 'messages.chatsSlice', 'count' => int, 'chats' => [Chat, Chat]]; -``` - - -Or, if you're into Lua: - -```lua -messages_chatsSlice={_='messages.chatsSlice', count=int, chats={Chat}} - -``` - - diff --git a/old_docs/API_docs_v104/constructors/messages_dhConfig.md b/old_docs/API_docs_v104/constructors/messages_dhConfig.md deleted file mode 100644 index 42c2feb1..00000000 --- a/old_docs/API_docs_v104/constructors/messages_dhConfig.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: messages.dhConfig -description: New set of configuring parameters. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dhConfig -[Back to constructors index](index.md) - - - -New set of configuring parameters. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|g|[int](../types/int.md) | Yes|New value **prime**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| -|p|[bytes](../types/bytes.md) | Yes|New value **primitive root**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| -|version|[int](../types/int.md) | Yes|Vestion of set of parameters| -|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| - - - -### Type: [messages\_DhConfig](../types/messages_DhConfig.md) - - -### Example: - -```php -$messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'version' => int, 'random' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -messages_dhConfig={_='messages.dhConfig', g=int, p='bytes', version=int, random='bytes'} - -``` - - diff --git a/old_docs/API_docs_v104/constructors/messages_dhConfigNotModified.md b/old_docs/API_docs_v104/constructors/messages_dhConfigNotModified.md deleted file mode 100644 index 5bf64230..00000000 --- a/old_docs/API_docs_v104/constructors/messages_dhConfigNotModified.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.dhConfigNotModified -description: Configuring parameters did not change. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dhConfigNotModified -[Back to constructors index](index.md) - - - -Configuring parameters did not change. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| - - - -### Type: [messages\_DhConfig](../types/messages_DhConfig.md) - - -### Example: - -```php -$messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -messages_dhConfigNotModified={_='messages.dhConfigNotModified', random='bytes'} - -``` - - diff --git a/old_docs/API_docs_v104/constructors/messages_dialogs.md b/old_docs/API_docs_v104/constructors/messages_dialogs.md deleted file mode 100644 index e6a431b4..00000000 --- a/old_docs/API_docs_v104/constructors/messages_dialogs.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: messages.dialogs -description: Full list of chats with messages and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dialogs -[Back to constructors index](index.md) - - - -Full list of chats with messages and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Dialogs](../types/messages_Dialogs.md) - - -### Example: - -```php -$messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_dialogs={_='messages.dialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v104/constructors/messages_dialogsNotModified.md b/old_docs/API_docs_v104/constructors/messages_dialogsNotModified.md deleted file mode 100644 index 16a32b2e..00000000 --- a/old_docs/API_docs_v104/constructors/messages_dialogsNotModified.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.dialogsNotModified -description: Dialogs haven't changed -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dialogsNotModified -[Back to constructors index](index.md) - - - -Dialogs haven't changed - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Number of dialogs found server-side by the query| - - - -### Type: [messages\_Dialogs](../types/messages_Dialogs.md) - - -### Example: - -```php -$messages_dialogsNotModified = ['_' => 'messages.dialogsNotModified', 'count' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_dialogsNotModified={_='messages.dialogsNotModified', count=int} - -``` - - diff --git a/old_docs/API_docs_v104/constructors/messages_dialogsSlice.md b/old_docs/API_docs_v104/constructors/messages_dialogsSlice.md deleted file mode 100644 index f183b9a8..00000000 --- a/old_docs/API_docs_v104/constructors/messages_dialogsSlice.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: messages.dialogsSlice -description: Incomplete list of dialogs with messages and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dialogsSlice -[Back to constructors index](index.md) - - - -Incomplete list of dialogs with messages and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of dialogs| -|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Dialogs](../types/messages_Dialogs.md) - - -### Example: - -```php -$messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_dialogsSlice={_='messages.dialogsSlice', count=int, dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v104/constructors/messages_favedStickers.md b/old_docs/API_docs_v104/constructors/messages_favedStickers.md deleted file mode 100644 index 72d79df2..00000000 --- a/old_docs/API_docs_v104/constructors/messages_favedStickers.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.favedStickers -description: Favorited stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.favedStickers -[Back to constructors index](index.md) - - - -Favorited stickers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|packs|Array of [StickerPack](../types/StickerPack.md) | Yes|Packs| -|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| - - - -### Type: [messages\_FavedStickers](../types/messages_FavedStickers.md) - - -### Example: - -```php -$messages_favedStickers = ['_' => 'messages.favedStickers', 'hash' => int, 'packs' => [StickerPack, StickerPack], 'stickers' => [Document, Document]]; -``` - - -Or, if you're into Lua: - -```lua -messages_favedStickers={_='messages.favedStickers', hash=int, packs={StickerPack}, stickers={Document}} - -``` - - diff --git a/old_docs/API_docs_v104/constructors/messages_favedStickersNotModified.md b/old_docs/API_docs_v104/constructors/messages_favedStickersNotModified.md deleted file mode 100644 index a47c08e8..00000000 --- a/old_docs/API_docs_v104/constructors/messages_favedStickersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.favedStickersNotModified -description: No new favorited stickers were found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.favedStickersNotModified -[Back to constructors index](index.md) - - - -No new favorited stickers were found - - - - -### Type: [messages\_FavedStickers](../types/messages_FavedStickers.md) - - -### Example: - -```php -$messages_favedStickersNotModified = ['_' => 'messages.favedStickersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_favedStickersNotModified={_='messages.favedStickersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v104/constructors/messages_featuredStickers.md b/old_docs/API_docs_v104/constructors/messages_featuredStickers.md deleted file mode 100644 index 8ef1046e..00000000 --- a/old_docs/API_docs_v104/constructors/messages_featuredStickers.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.featuredStickers -description: Featured stickersets -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.featuredStickers -[Back to constructors index](index.md) - - - -Featured stickersets - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| -|unread|Array of [long](../types/long.md) | Yes|Unread| - - - -### Type: [messages\_FeaturedStickers](../types/messages_FeaturedStickers.md) - - -### Example: - -```php -$messages_featuredStickers = ['_' => 'messages.featuredStickers', 'hash' => int, 'sets' => [StickerSetCovered, StickerSetCovered], 'unread' => [long, long]]; -``` - - -Or, if you're into Lua: - -```lua -messages_featuredStickers={_='messages.featuredStickers', hash=int, sets={StickerSetCovered}, unread={long}} - -``` - - diff --git a/old_docs/API_docs_v104/constructors/messages_featuredStickersNotModified.md b/old_docs/API_docs_v104/constructors/messages_featuredStickersNotModified.md deleted file mode 100644 index de01131b..00000000 --- a/old_docs/API_docs_v104/constructors/messages_featuredStickersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.featuredStickersNotModified -description: Featured stickers haven't changed -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.featuredStickersNotModified -[Back to constructors index](index.md) - - - -Featured stickers haven't changed - - - - -### Type: [messages\_FeaturedStickers](../types/messages_FeaturedStickers.md) - - -### Example: - -```php -$messages_featuredStickersNotModified = ['_' => 'messages.featuredStickersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_featuredStickersNotModified={_='messages.featuredStickersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v104/constructors/messages_foundGifs.md b/old_docs/API_docs_v104/constructors/messages_foundGifs.md deleted file mode 100644 index eb3603ca..00000000 --- a/old_docs/API_docs_v104/constructors/messages_foundGifs.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.foundGifs -description: Found GIFs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.foundGifs -[Back to constructors index](index.md) - - - -Found GIFs - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|next\_offset|[int](../types/int.md) | Yes|Next offset to use when trying to [load more results](../methods/messages.searchGifs.md)| -|results|Array of [FoundGif](../types/FoundGif.md) | Yes|Results| - - - -### Type: [messages\_FoundGifs](../types/messages_FoundGifs.md) - - -### Example: - -```php -$messages_foundGifs = ['_' => 'messages.foundGifs', 'next_offset' => int, 'results' => [FoundGif, FoundGif]]; -``` - - -Or, if you're into Lua: - -```lua -messages_foundGifs={_='messages.foundGifs', next_offset=int, results={FoundGif}} - -``` - - diff --git a/old_docs/API_docs_v104/constructors/messages_foundStickerSets.md b/old_docs/API_docs_v104/constructors/messages_foundStickerSets.md deleted file mode 100644 index 356177e1..00000000 --- a/old_docs/API_docs_v104/constructors/messages_foundStickerSets.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.foundStickerSets -description: Found stickersets -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.foundStickerSets -[Back to constructors index](index.md) - - - -Found stickersets - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| - - - -### Type: [messages\_FoundStickerSets](../types/messages_FoundStickerSets.md) - - -### Example: - -```php -$messages_foundStickerSets = ['_' => 'messages.foundStickerSets', 'hash' => int, 'sets' => [StickerSetCovered, StickerSetCovered]]; -``` - - -Or, if you're into Lua: - -```lua -messages_foundStickerSets={_='messages.foundStickerSets', hash=int, sets={StickerSetCovered}} - -``` - - diff --git a/old_docs/API_docs_v104/constructors/messages_foundStickerSetsNotModified.md b/old_docs/API_docs_v104/constructors/messages_foundStickerSetsNotModified.md deleted file mode 100644 index c1f39490..00000000 --- a/old_docs/API_docs_v104/constructors/messages_foundStickerSetsNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.foundStickerSetsNotModified -description: No further results were found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.foundStickerSetsNotModified -[Back to constructors index](index.md) - - - -No further results were found - - - - -### Type: [messages\_FoundStickerSets](../types/messages_FoundStickerSets.md) - - -### Example: - -```php -$messages_foundStickerSetsNotModified = ['_' => 'messages.foundStickerSetsNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_foundStickerSetsNotModified={_='messages.foundStickerSetsNotModified'} - -``` - - diff --git a/old_docs/API_docs_v104/constructors/messages_highScores.md b/old_docs/API_docs_v104/constructors/messages_highScores.md deleted file mode 100644 index d6fc5210..00000000 --- a/old_docs/API_docs_v104/constructors/messages_highScores.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.highScores -description: Highscores in a game -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.highScores -[Back to constructors index](index.md) - - - -Highscores in a game - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|scores|Array of [HighScore](../types/HighScore.md) | Yes|Scores| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_HighScores](../types/messages_HighScores.md) - - -### Example: - -```php -$messages_highScores = ['_' => 'messages.highScores', 'scores' => [HighScore, HighScore], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_highScores={_='messages.highScores', scores={HighScore}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v104/constructors/messages_messageEditData.md b/old_docs/API_docs_v104/constructors/messages_messageEditData.md deleted file mode 100644 index 76aefca5..00000000 --- a/old_docs/API_docs_v104/constructors/messages_messageEditData.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.messageEditData -description: Message edit data for media -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.messageEditData -[Back to constructors index](index.md) - - - -Message edit data for media - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|caption|[Bool](../types/Bool.md) | Optional|Media caption, if the specified media's caption can be edited| - - - -### Type: [messages\_MessageEditData](../types/messages_MessageEditData.md) - - -### Example: - -```php -$messages_messageEditData = ['_' => 'messages.messageEditData', 'caption' => Bool]; -``` - - -Or, if you're into Lua: - -```lua -messages_messageEditData={_='messages.messageEditData', caption=Bool} - -``` - - diff --git a/old_docs/API_docs_v104/constructors/messages_messages.md b/old_docs/API_docs_v104/constructors/messages_messages.md deleted file mode 100644 index 3e369e1a..00000000 --- a/old_docs/API_docs_v104/constructors/messages_messages.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.messages -description: Full list of messages with auxilary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.messages -[Back to constructors index](index.md) - - - -Full list of messages with auxilary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Messages](../types/messages_Messages.md) - - -### Example: - -```php -$messages_messages = ['_' => 'messages.messages', 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_messages={_='messages.messages', messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v104/constructors/messages_messagesNotModified.md b/old_docs/API_docs_v104/constructors/messages_messagesNotModified.md deleted file mode 100644 index 2e9c4ad9..00000000 --- a/old_docs/API_docs_v104/constructors/messages_messagesNotModified.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.messagesNotModified -description: No new messages matching the query were found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.messagesNotModified -[Back to constructors index](index.md) - - - -No new messages matching the query were found - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Number of results found server-side by the given query| - - - -### Type: [messages\_Messages](../types/messages_Messages.md) - - -### Example: - -```php -$messages_messagesNotModified = ['_' => 'messages.messagesNotModified', 'count' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_messagesNotModified={_='messages.messagesNotModified', count=int} - -``` - - diff --git a/old_docs/API_docs_v104/constructors/messages_messagesSlice.md b/old_docs/API_docs_v104/constructors/messages_messagesSlice.md deleted file mode 100644 index 788f301a..00000000 --- a/old_docs/API_docs_v104/constructors/messages_messagesSlice.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: messages.messagesSlice -description: Incomplete list of messages and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.messagesSlice -[Back to constructors index](index.md) - - - -Incomplete list of messages and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|inexact|[Bool](../types/Bool.md) | Optional|If set, indicates that the results may be inexact| -|count|[int](../types/int.md) | Yes|Total number of messages in the list| -|next\_rate|[int](../types/int.md) | Optional|Rate to use in the `offset_rate` parameter in the next call to [messages.searchGlobal](../methods/messages.searchGlobal.md)| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Messages](../types/messages_Messages.md) - - -### Example: - -```php -$messages_messagesSlice = ['_' => 'messages.messagesSlice', 'inexact' => Bool, 'count' => int, 'next_rate' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_messagesSlice={_='messages.messagesSlice', inexact=Bool, count=int, next_rate=int, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v104/constructors/messages_peerDialogs.md b/old_docs/API_docs_v104/constructors/messages_peerDialogs.md deleted file mode 100644 index 29b4b842..00000000 --- a/old_docs/API_docs_v104/constructors/messages_peerDialogs.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: messages.peerDialogs -description: Dialog info of multiple peers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.peerDialogs -[Back to constructors index](index.md) - - - -Dialog info of multiple peers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| -|state|[updates\_State](../types/updates_State.md) | Yes|Current [update state of dialog](https://core.telegram.org/api/updates)| - - - -### Type: [messages\_PeerDialogs](../types/messages_PeerDialogs.md) - - -### Example: - -```php -$messages_peerDialogs = ['_' => 'messages.peerDialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates_State]; -``` - - -Or, if you're into Lua: - -```lua -messages_peerDialogs={_='messages.peerDialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}, state=updates_State} - -``` - - diff --git a/old_docs/API_docs_v104/constructors/messages_recentStickers.md b/old_docs/API_docs_v104/constructors/messages_recentStickers.md deleted file mode 100644 index 47d5cffd..00000000 --- a/old_docs/API_docs_v104/constructors/messages_recentStickers.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: messages.recentStickers -description: Recently used stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.recentStickers -[Back to constructors index](index.md) - - - -Recently used stickers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|packs|Array of [StickerPack](../types/StickerPack.md) | Yes|Packs| -|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| -|dates|Array of [int](../types/int.md) | Yes|Dates| - - - -### Type: [messages\_RecentStickers](../types/messages_RecentStickers.md) - - -### Example: - -```php -$messages_recentStickers = ['_' => 'messages.recentStickers', 'hash' => int, 'packs' => [StickerPack, StickerPack], 'stickers' => [Document, Document], 'dates' => [int, int]]; -``` - - -Or, if you're into Lua: - -```lua -messages_recentStickers={_='messages.recentStickers', hash=int, packs={StickerPack}, stickers={Document}, dates={int}} - -``` - - diff --git a/old_docs/API_docs_v104/constructors/messages_recentStickersNotModified.md b/old_docs/API_docs_v104/constructors/messages_recentStickersNotModified.md deleted file mode 100644 index 3e81dceb..00000000 --- a/old_docs/API_docs_v104/constructors/messages_recentStickersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.recentStickersNotModified -description: No new recent sticker was found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.recentStickersNotModified -[Back to constructors index](index.md) - - - -No new recent sticker was found - - - - -### Type: [messages\_RecentStickers](../types/messages_RecentStickers.md) - - -### Example: - -```php -$messages_recentStickersNotModified = ['_' => 'messages.recentStickersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_recentStickersNotModified={_='messages.recentStickersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v104/constructors/messages_savedGifs.md b/old_docs/API_docs_v104/constructors/messages_savedGifs.md deleted file mode 100644 index ed3e8ea3..00000000 --- a/old_docs/API_docs_v104/constructors/messages_savedGifs.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.savedGifs -description: Saved gifs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.savedGifs -[Back to constructors index](index.md) - - - -Saved gifs - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|gifs|Array of [Document](../types/Document.md) | Yes|Gifs| - - - -### Type: [messages\_SavedGifs](../types/messages_SavedGifs.md) - - -### Example: - -```php -$messages_savedGifs = ['_' => 'messages.savedGifs', 'hash' => int, 'gifs' => [Document, Document]]; -``` - - -Or, if you're into Lua: - -```lua -messages_savedGifs={_='messages.savedGifs', hash=int, gifs={Document}} - -``` - - diff --git a/old_docs/API_docs_v104/constructors/messages_savedGifsNotModified.md b/old_docs/API_docs_v104/constructors/messages_savedGifsNotModified.md deleted file mode 100644 index 0f843a0c..00000000 --- a/old_docs/API_docs_v104/constructors/messages_savedGifsNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.savedGifsNotModified -description: No new saved gifs were found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.savedGifsNotModified -[Back to constructors index](index.md) - - - -No new saved gifs were found - - - - -### Type: [messages\_SavedGifs](../types/messages_SavedGifs.md) - - -### Example: - -```php -$messages_savedGifsNotModified = ['_' => 'messages.savedGifsNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_savedGifsNotModified={_='messages.savedGifsNotModified'} - -``` - - diff --git a/old_docs/API_docs_v104/constructors/messages_searchCounter.md b/old_docs/API_docs_v104/constructors/messages_searchCounter.md deleted file mode 100644 index 7ca4102e..00000000 --- a/old_docs/API_docs_v104/constructors/messages_searchCounter.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.searchCounter -description: Indicates how many results would be found by a [messages.search](../methods/messages.search.md) call with the same parameters -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.searchCounter -[Back to constructors index](index.md) - - - -Indicates how many results would be found by a [messages.search](../methods/messages.search.md) call with the same parameters - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|inexact|[Bool](../types/Bool.md) | Optional|If set, the results may be inexact| -|filter|[MessagesFilter](../types/MessagesFilter.md) | Yes|Provided message filter| -|count|[int](../types/int.md) | Yes|Number of results that were found server-side| - - - -### Type: [messages\_SearchCounter](../types/messages_SearchCounter.md) - - -### Example: - -```php -$messages_searchCounter = ['_' => 'messages.searchCounter', 'inexact' => Bool, 'filter' => MessagesFilter, 'count' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_searchCounter={_='messages.searchCounter', inexact=Bool, filter=MessagesFilter, count=int} - -``` - - diff --git a/old_docs/API_docs_v104/constructors/messages_sentEncryptedFile.md b/old_docs/API_docs_v104/constructors/messages_sentEncryptedFile.md deleted file mode 100644 index fdc2a11e..00000000 --- a/old_docs/API_docs_v104/constructors/messages_sentEncryptedFile.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.sentEncryptedFile -description: Message with a file enclosure sent to a protected chat -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.sentEncryptedFile -[Back to constructors index](index.md) - - - -Message with a file enclosure sent to a protected chat - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Sending date| -|file|[EncryptedFile](../types/EncryptedFile.md) | Optional|Attached file| - - - -### Type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) - - -### Example: - -```php -$messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile]; -``` - - -Or, if you're into Lua: - -```lua -messages_sentEncryptedFile={_='messages.sentEncryptedFile', date=int, file=EncryptedFile} - -``` - - diff --git a/old_docs/API_docs_v104/constructors/messages_sentEncryptedMessage.md b/old_docs/API_docs_v104/constructors/messages_sentEncryptedMessage.md deleted file mode 100644 index 36b2bbff..00000000 --- a/old_docs/API_docs_v104/constructors/messages_sentEncryptedMessage.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.sentEncryptedMessage -description: Message without file attachemts sent to an encrypted file. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.sentEncryptedMessage -[Back to constructors index](index.md) - - - -Message without file attachemts sent to an encrypted file. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Date of sending| - - - -### Type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) - - -### Example: - -```php -$messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_sentEncryptedMessage={_='messages.sentEncryptedMessage', date=int} - -``` - - diff --git a/old_docs/API_docs_v104/constructors/messages_stickerSet.md b/old_docs/API_docs_v104/constructors/messages_stickerSet.md deleted file mode 100644 index 127191de..00000000 --- a/old_docs/API_docs_v104/constructors/messages_stickerSet.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.stickerSet -description: Stickerset and stickers inside it -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickerSet -[Back to constructors index](index.md) - - - -Stickerset and stickers inside it - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|set|[StickerSet](../types/StickerSet.md) | Yes|The stickerset| -|packs|Array of [StickerPack](../types/StickerPack.md) | Yes|Packs| -|documents|Array of [Document](../types/Document.md) | Yes|Documents| - - - -### Type: [messages\_StickerSet](../types/messages_StickerSet.md) - - -### Example: - -```php -$messages_stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'packs' => [StickerPack, StickerPack], 'documents' => [Document, Document]]; -``` - - -Or, if you're into Lua: - -```lua -messages_stickerSet={_='messages.stickerSet', set=StickerSet, packs={StickerPack}, documents={Document}} - -``` - - diff --git a/old_docs/API_docs_v104/constructors/messages_stickerSetInstallResultArchive.md b/old_docs/API_docs_v104/constructors/messages_stickerSetInstallResultArchive.md deleted file mode 100644 index 8a5f4d5d..00000000 --- a/old_docs/API_docs_v104/constructors/messages_stickerSetInstallResultArchive.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.stickerSetInstallResultArchive -description: The stickerset was installed, but since there are too many stickersets some were archived -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickerSetInstallResultArchive -[Back to constructors index](index.md) - - - -The stickerset was installed, but since there are too many stickersets some were archived - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| - - - -### Type: [messages\_StickerSetInstallResult](../types/messages_StickerSetInstallResult.md) - - -### Example: - -```php -$messages_stickerSetInstallResultArchive = ['_' => 'messages.stickerSetInstallResultArchive', 'sets' => [StickerSetCovered, StickerSetCovered]]; -``` - - -Or, if you're into Lua: - -```lua -messages_stickerSetInstallResultArchive={_='messages.stickerSetInstallResultArchive', sets={StickerSetCovered}} - -``` - - diff --git a/old_docs/API_docs_v104/constructors/messages_stickerSetInstallResultSuccess.md b/old_docs/API_docs_v104/constructors/messages_stickerSetInstallResultSuccess.md deleted file mode 100644 index 1d33b89f..00000000 --- a/old_docs/API_docs_v104/constructors/messages_stickerSetInstallResultSuccess.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.stickerSetInstallResultSuccess -description: The stickerset was installed successfully -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickerSetInstallResultSuccess -[Back to constructors index](index.md) - - - -The stickerset was installed successfully - - - - -### Type: [messages\_StickerSetInstallResult](../types/messages_StickerSetInstallResult.md) - - -### Example: - -```php -$messages_stickerSetInstallResultSuccess = ['_' => 'messages.stickerSetInstallResultSuccess']; -``` - - -Or, if you're into Lua: - -```lua -messages_stickerSetInstallResultSuccess={_='messages.stickerSetInstallResultSuccess'} - -``` - - diff --git a/old_docs/API_docs_v104/constructors/messages_stickers.md b/old_docs/API_docs_v104/constructors/messages_stickers.md deleted file mode 100644 index c321996b..00000000 --- a/old_docs/API_docs_v104/constructors/messages_stickers.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.stickers -description: Found stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickers -[Back to constructors index](index.md) - - - -Found stickers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| - - - -### Type: [messages\_Stickers](../types/messages_Stickers.md) - - -### Example: - -```php -$messages_stickers = ['_' => 'messages.stickers', 'hash' => int, 'stickers' => [Document, Document]]; -``` - - -Or, if you're into Lua: - -```lua -messages_stickers={_='messages.stickers', hash=int, stickers={Document}} - -``` - - diff --git a/old_docs/API_docs_v104/constructors/messages_stickersNotModified.md b/old_docs/API_docs_v104/constructors/messages_stickersNotModified.md deleted file mode 100644 index 3d434a79..00000000 --- a/old_docs/API_docs_v104/constructors/messages_stickersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.stickersNotModified -description: No new stickers were found for the given query -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickersNotModified -[Back to constructors index](index.md) - - - -No new stickers were found for the given query - - - - -### Type: [messages\_Stickers](../types/messages_Stickers.md) - - -### Example: - -```php -$messages_stickersNotModified = ['_' => 'messages.stickersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_stickersNotModified={_='messages.stickersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v104/constructors/payments.paymentForm.md b/old_docs/API_docs_v104/constructors/payments.paymentForm.md new file mode 100644 index 00000000..90e0f39d --- /dev/null +++ b/old_docs/API_docs_v104/constructors/payments.paymentForm.md @@ -0,0 +1,48 @@ +--- +title: payments.paymentForm +description: Payment form +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: payments.paymentForm +[Back to constructors index](index.md) + + + +Payment form + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|can\_save\_credentials|[Bool](../types/Bool.md) | Optional|Whether the user can choose to save credentials.| +|password\_missing|[Bool](../types/Bool.md) | Optional|Indicates that the user can save payment credentials, but only after setting up a [2FA password](https://core.telegram.org/api/srp) (currently the account doesn't have a [2FA password](https://core.telegram.org/api/srp))| +|bot\_id|[int](../types/int.md) | Yes|Bot ID| +|invoice|[Invoice](../types/Invoice.md) | Yes|Invoice| +|provider\_id|[int](../types/int.md) | Yes|Payment provider ID.| +|url|[string](../types/string.md) | Yes|Payment form URL| +|native\_provider|[string](../types/string.md) | Optional|Payment provider name.
One of the following:
\- `stripe`| +|native\_params|[DataJSON](../types/DataJSON.md) | Optional|Contains information about the payment provider, if available, to support it natively without the need for opening the URL.
A JSON object that can contain the following fields:

\- `publishable_key`: Stripe API publishable key
\- `apple_pay_merchant_id`: Apple Pay merchant ID
\- `android_pay_public_key`: Android Pay public key
\- `android_pay_bgcolor`: Android Pay form background color
\- `android_pay_inverse`: Whether to use the dark theme in the Android Pay form
\- `need_country`: True, if the user country must be provided,
\- `need_zip`: True, if the user ZIP/postal code must be provided,
\- `need_cardholder_name`: True, if the cardholder name must be provided
| +|saved\_info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Optional|Saved server-side order information| +|saved\_credentials|[PaymentSavedCredentials](../types/PaymentSavedCredentials.md) | Optional|Contains information about saved card credentials| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [payments.PaymentForm](../types/payments.PaymentForm.md) + + +### Example: + +```php +$payments.paymentForm = ['_' => 'payments.paymentForm', 'can_save_credentials' => Bool, 'password_missing' => Bool, 'bot_id' => int, 'invoice' => Invoice, 'provider_id' => int, 'url' => 'string', 'native_provider' => 'string', 'native_params' => DataJSON, 'saved_info' => PaymentRequestedInfo, 'saved_credentials' => PaymentSavedCredentials, 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +payments.paymentForm={_='payments.paymentForm', can_save_credentials=Bool, password_missing=Bool, bot_id=int, invoice=Invoice, provider_id=int, url='string', native_provider='string', native_params=DataJSON, saved_info=PaymentRequestedInfo, saved_credentials=PaymentSavedCredentials, users={User}} + +``` + + diff --git a/old_docs/API_docs_v104/constructors/payments.paymentReceipt.md b/old_docs/API_docs_v104/constructors/payments.paymentReceipt.md new file mode 100644 index 00000000..5a0cc190 --- /dev/null +++ b/old_docs/API_docs_v104/constructors/payments.paymentReceipt.md @@ -0,0 +1,47 @@ +--- +title: payments.paymentReceipt +description: Receipt +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: payments.paymentReceipt +[Back to constructors index](index.md) + + + +Receipt + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Date of generation| +|bot\_id|[int](../types/int.md) | Yes|Bot ID| +|invoice|[Invoice](../types/Invoice.md) | Yes|Invoice| +|provider\_id|[int](../types/int.md) | Yes|Provider ID| +|info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Optional|Info| +|shipping|[ShippingOption](../types/ShippingOption.md) | Optional|Selected shipping option| +|currency|[string](../types/string.md) | Yes|Three-letter ISO 4217 [currency](https://core.telegram.org/bots/payments#supported-currencies) code| +|total\_amount|[long](../types/long.md) | Yes|Total amount in the smallest units of the currency (integer, not float/double). For example, for a price of `US$ 1.45` pass `amount = 145`. See the exp parameter in [currencies.json](https://core.telegram.org/bots/payments/currencies.json), it shows the number of digits past the decimal point for each currency (2 for the majority of currencies).| +|credentials\_title|[string](../types/string.md) | Yes|Payment credential name| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [payments.PaymentReceipt](../types/payments.PaymentReceipt.md) + + +### Example: + +```php +$payments.paymentReceipt = ['_' => 'payments.paymentReceipt', 'date' => int, 'bot_id' => int, 'invoice' => Invoice, 'provider_id' => int, 'info' => PaymentRequestedInfo, 'shipping' => ShippingOption, 'currency' => 'string', 'total_amount' => long, 'credentials_title' => 'string', 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +payments.paymentReceipt={_='payments.paymentReceipt', date=int, bot_id=int, invoice=Invoice, provider_id=int, info=PaymentRequestedInfo, shipping=ShippingOption, currency='string', total_amount=long, credentials_title='string', users={User}} + +``` + + diff --git a/old_docs/API_docs_v104/constructors/payments.paymentResult.md b/old_docs/API_docs_v104/constructors/payments.paymentResult.md new file mode 100644 index 00000000..df32fd91 --- /dev/null +++ b/old_docs/API_docs_v104/constructors/payments.paymentResult.md @@ -0,0 +1,38 @@ +--- +title: payments.paymentResult +description: Payment result +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: payments.paymentResult +[Back to constructors index](index.md) + + + +Payment result + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|updates|[Updates](../types/Updates.md) | Yes|Info about the payment| + + + +### Type: [payments.PaymentResult](../types/payments.PaymentResult.md) + + +### Example: + +```php +$payments.paymentResult = ['_' => 'payments.paymentResult', 'updates' => Updates]; +``` + + +Or, if you're into Lua: + +```lua +payments.paymentResult={_='payments.paymentResult', updates=Updates} + +``` + + diff --git a/old_docs/API_docs_v104/constructors/payments.paymentVerificationNeeded.md b/old_docs/API_docs_v104/constructors/payments.paymentVerificationNeeded.md new file mode 100644 index 00000000..780620e1 --- /dev/null +++ b/old_docs/API_docs_v104/constructors/payments.paymentVerificationNeeded.md @@ -0,0 +1,38 @@ +--- +title: payments.paymentVerificationNeeded +description: Payment was not successful, additional verification is needed +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: payments.paymentVerificationNeeded +[Back to constructors index](index.md) + + + +Payment was not successful, additional verification is needed + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|url|[string](../types/string.md) | Yes|URL for additional payment credentials verification| + + + +### Type: [payments.PaymentResult](../types/payments.PaymentResult.md) + + +### Example: + +```php +$payments.paymentVerificationNeeded = ['_' => 'payments.paymentVerificationNeeded', 'url' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +payments.paymentVerificationNeeded={_='payments.paymentVerificationNeeded', url='string'} + +``` + + diff --git a/old_docs/API_docs_v104/constructors/payments.savedInfo.md b/old_docs/API_docs_v104/constructors/payments.savedInfo.md new file mode 100644 index 00000000..a005a842 --- /dev/null +++ b/old_docs/API_docs_v104/constructors/payments.savedInfo.md @@ -0,0 +1,39 @@ +--- +title: payments.savedInfo +description: Saved server-side order information +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: payments.savedInfo +[Back to constructors index](index.md) + + + +Saved server-side order information + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|has\_saved\_credentials|[Bool](../types/Bool.md) | Optional|Whether the user has some saved payment credentials| +|saved\_info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Optional|Saved server-side order information| + + + +### Type: [payments.SavedInfo](../types/payments.SavedInfo.md) + + +### Example: + +```php +$payments.savedInfo = ['_' => 'payments.savedInfo', 'has_saved_credentials' => Bool, 'saved_info' => PaymentRequestedInfo]; +``` + + +Or, if you're into Lua: + +```lua +payments.savedInfo={_='payments.savedInfo', has_saved_credentials=Bool, saved_info=PaymentRequestedInfo} + +``` + + diff --git a/old_docs/API_docs_v104/constructors/payments.validatedRequestedInfo.md b/old_docs/API_docs_v104/constructors/payments.validatedRequestedInfo.md new file mode 100644 index 00000000..4789b28d --- /dev/null +++ b/old_docs/API_docs_v104/constructors/payments.validatedRequestedInfo.md @@ -0,0 +1,39 @@ +--- +title: payments.validatedRequestedInfo +description: Validated user-provided info +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: payments.validatedRequestedInfo +[Back to constructors index](index.md) + + + +Validated user-provided info + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|id|[string](../types/string.md) | Optional|ID| +|shipping\_options|Array of [ShippingOption](../types/ShippingOption.md) | Optional|Shipping options| + + + +### Type: [payments.ValidatedRequestedInfo](../types/payments.ValidatedRequestedInfo.md) + + +### Example: + +```php +$payments.validatedRequestedInfo = ['_' => 'payments.validatedRequestedInfo', 'id' => 'string', 'shipping_options' => [ShippingOption, ShippingOption]]; +``` + + +Or, if you're into Lua: + +```lua +payments.validatedRequestedInfo={_='payments.validatedRequestedInfo', id='string', shipping_options={ShippingOption}} + +``` + + diff --git a/old_docs/API_docs_v104/constructors/payments_paymentForm.md b/old_docs/API_docs_v104/constructors/payments_paymentForm.md deleted file mode 100644 index 88848527..00000000 --- a/old_docs/API_docs_v104/constructors/payments_paymentForm.md +++ /dev/null @@ -1,48 +0,0 @@ ---- -title: payments.paymentForm -description: Payment form -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: payments.paymentForm -[Back to constructors index](index.md) - - - -Payment form - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|can\_save\_credentials|[Bool](../types/Bool.md) | Optional|Whether the user can choose to save credentials.| -|password\_missing|[Bool](../types/Bool.md) | Optional|Indicates that the user can save payment credentials, but only after setting up a [2FA password](https://core.telegram.org/api/srp) (currently the account doesn't have a [2FA password](https://core.telegram.org/api/srp))| -|bot\_id|[int](../types/int.md) | Yes|Bot ID| -|invoice|[Invoice](../types/Invoice.md) | Yes|Invoice| -|provider\_id|[int](../types/int.md) | Yes|Payment provider ID.| -|url|[string](../types/string.md) | Yes|Payment form URL| -|native\_provider|[string](../types/string.md) | Optional|Payment provider name.
One of the following:
\- `stripe`| -|native\_params|[DataJSON](../types/DataJSON.md) | Optional|Contains information about the payment provider, if available, to support it natively without the need for opening the URL.
A JSON object that can contain the following fields:

\- `publishable_key`: Stripe API publishable key
\- `apple_pay_merchant_id`: Apple Pay merchant ID
\- `android_pay_public_key`: Android Pay public key
\- `android_pay_bgcolor`: Android Pay form background color
\- `android_pay_inverse`: Whether to use the dark theme in the Android Pay form
\- `need_country`: True, if the user country must be provided,
\- `need_zip`: True, if the user ZIP/postal code must be provided,
\- `need_cardholder_name`: True, if the cardholder name must be provided
| -|saved\_info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Optional|Saved server-side order information| -|saved\_credentials|[PaymentSavedCredentials](../types/PaymentSavedCredentials.md) | Optional|Contains information about saved card credentials| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [payments\_PaymentForm](../types/payments_PaymentForm.md) - - -### Example: - -```php -$payments_paymentForm = ['_' => 'payments.paymentForm', 'can_save_credentials' => Bool, 'password_missing' => Bool, 'bot_id' => int, 'invoice' => Invoice, 'provider_id' => int, 'url' => 'string', 'native_provider' => 'string', 'native_params' => DataJSON, 'saved_info' => PaymentRequestedInfo, 'saved_credentials' => PaymentSavedCredentials, 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -payments_paymentForm={_='payments.paymentForm', can_save_credentials=Bool, password_missing=Bool, bot_id=int, invoice=Invoice, provider_id=int, url='string', native_provider='string', native_params=DataJSON, saved_info=PaymentRequestedInfo, saved_credentials=PaymentSavedCredentials, users={User}} - -``` - - diff --git a/old_docs/API_docs_v104/constructors/payments_paymentReceipt.md b/old_docs/API_docs_v104/constructors/payments_paymentReceipt.md deleted file mode 100644 index 411e9dee..00000000 --- a/old_docs/API_docs_v104/constructors/payments_paymentReceipt.md +++ /dev/null @@ -1,47 +0,0 @@ ---- -title: payments.paymentReceipt -description: Receipt -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: payments.paymentReceipt -[Back to constructors index](index.md) - - - -Receipt - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Date of generation| -|bot\_id|[int](../types/int.md) | Yes|Bot ID| -|invoice|[Invoice](../types/Invoice.md) | Yes|Invoice| -|provider\_id|[int](../types/int.md) | Yes|Provider ID| -|info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Optional|Info| -|shipping|[ShippingOption](../types/ShippingOption.md) | Optional|Selected shipping option| -|currency|[string](../types/string.md) | Yes|Three-letter ISO 4217 [currency](https://core.telegram.org/bots/payments#supported-currencies) code| -|total\_amount|[long](../types/long.md) | Yes|Total amount in the smallest units of the currency (integer, not float/double). For example, for a price of `US$ 1.45` pass `amount = 145`. See the exp parameter in [currencies.json](https://core.telegram.org/bots/payments/currencies.json), it shows the number of digits past the decimal point for each currency (2 for the majority of currencies).| -|credentials\_title|[string](../types/string.md) | Yes|Payment credential name| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [payments\_PaymentReceipt](../types/payments_PaymentReceipt.md) - - -### Example: - -```php -$payments_paymentReceipt = ['_' => 'payments.paymentReceipt', 'date' => int, 'bot_id' => int, 'invoice' => Invoice, 'provider_id' => int, 'info' => PaymentRequestedInfo, 'shipping' => ShippingOption, 'currency' => 'string', 'total_amount' => long, 'credentials_title' => 'string', 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -payments_paymentReceipt={_='payments.paymentReceipt', date=int, bot_id=int, invoice=Invoice, provider_id=int, info=PaymentRequestedInfo, shipping=ShippingOption, currency='string', total_amount=long, credentials_title='string', users={User}} - -``` - - diff --git a/old_docs/API_docs_v104/constructors/payments_paymentResult.md b/old_docs/API_docs_v104/constructors/payments_paymentResult.md deleted file mode 100644 index 12af1d36..00000000 --- a/old_docs/API_docs_v104/constructors/payments_paymentResult.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: payments.paymentResult -description: Payment result -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: payments.paymentResult -[Back to constructors index](index.md) - - - -Payment result - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|updates|[Updates](../types/Updates.md) | Yes|Info about the payment| - - - -### Type: [payments\_PaymentResult](../types/payments_PaymentResult.md) - - -### Example: - -```php -$payments_paymentResult = ['_' => 'payments.paymentResult', 'updates' => Updates]; -``` - - -Or, if you're into Lua: - -```lua -payments_paymentResult={_='payments.paymentResult', updates=Updates} - -``` - - diff --git a/old_docs/API_docs_v104/constructors/payments_paymentVerificationNeeded.md b/old_docs/API_docs_v104/constructors/payments_paymentVerificationNeeded.md deleted file mode 100644 index 6781cc56..00000000 --- a/old_docs/API_docs_v104/constructors/payments_paymentVerificationNeeded.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: payments.paymentVerificationNeeded -description: Payment was not successful, additional verification is needed -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: payments.paymentVerificationNeeded -[Back to constructors index](index.md) - - - -Payment was not successful, additional verification is needed - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|url|[string](../types/string.md) | Yes|URL for additional payment credentials verification| - - - -### Type: [payments\_PaymentResult](../types/payments_PaymentResult.md) - - -### Example: - -```php -$payments_paymentVerificationNeeded = ['_' => 'payments.paymentVerificationNeeded', 'url' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -payments_paymentVerificationNeeded={_='payments.paymentVerificationNeeded', url='string'} - -``` - - diff --git a/old_docs/API_docs_v104/constructors/payments_savedInfo.md b/old_docs/API_docs_v104/constructors/payments_savedInfo.md deleted file mode 100644 index 19d3aee5..00000000 --- a/old_docs/API_docs_v104/constructors/payments_savedInfo.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: payments.savedInfo -description: Saved server-side order information -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: payments.savedInfo -[Back to constructors index](index.md) - - - -Saved server-side order information - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|has\_saved\_credentials|[Bool](../types/Bool.md) | Optional|Whether the user has some saved payment credentials| -|saved\_info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Optional|Saved server-side order information| - - - -### Type: [payments\_SavedInfo](../types/payments_SavedInfo.md) - - -### Example: - -```php -$payments_savedInfo = ['_' => 'payments.savedInfo', 'has_saved_credentials' => Bool, 'saved_info' => PaymentRequestedInfo]; -``` - - -Or, if you're into Lua: - -```lua -payments_savedInfo={_='payments.savedInfo', has_saved_credentials=Bool, saved_info=PaymentRequestedInfo} - -``` - - diff --git a/old_docs/API_docs_v104/constructors/payments_validatedRequestedInfo.md b/old_docs/API_docs_v104/constructors/payments_validatedRequestedInfo.md deleted file mode 100644 index a07c7d06..00000000 --- a/old_docs/API_docs_v104/constructors/payments_validatedRequestedInfo.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: payments.validatedRequestedInfo -description: Validated user-provided info -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: payments.validatedRequestedInfo -[Back to constructors index](index.md) - - - -Validated user-provided info - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|id|[string](../types/string.md) | Optional|ID| -|shipping\_options|Array of [ShippingOption](../types/ShippingOption.md) | Optional|Shipping options| - - - -### Type: [payments\_ValidatedRequestedInfo](../types/payments_ValidatedRequestedInfo.md) - - -### Example: - -```php -$payments_validatedRequestedInfo = ['_' => 'payments.validatedRequestedInfo', 'id' => 'string', 'shipping_options' => [ShippingOption, ShippingOption]]; -``` - - -Or, if you're into Lua: - -```lua -payments_validatedRequestedInfo={_='payments.validatedRequestedInfo', id='string', shipping_options={ShippingOption}} - -``` - - diff --git a/old_docs/API_docs_v104/constructors/phone.phoneCall.md b/old_docs/API_docs_v104/constructors/phone.phoneCall.md new file mode 100644 index 00000000..8c1d26d4 --- /dev/null +++ b/old_docs/API_docs_v104/constructors/phone.phoneCall.md @@ -0,0 +1,39 @@ +--- +title: phone.phoneCall +description: A VoIP phone call +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: phone.phoneCall +[Back to constructors index](index.md) + + + +A VoIP phone call + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_call|[PhoneCall](../types/PhoneCall.md) | Optional|The VoIP phone call| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [phone.PhoneCall](../types/phone.PhoneCall.md) + + +### Example: + +```php +$phone.phoneCall = ['_' => 'phone.phoneCall', 'phone_call' => PhoneCall, 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +phone.phoneCall={_='phone.phoneCall', phone_call=PhoneCall, users={User}} + +``` + + diff --git a/old_docs/API_docs_v104/constructors/phone_phoneCall.md b/old_docs/API_docs_v104/constructors/phone_phoneCall.md deleted file mode 100644 index 94314567..00000000 --- a/old_docs/API_docs_v104/constructors/phone_phoneCall.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: phone.phoneCall -description: A VoIP phone call -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: phone.phoneCall -[Back to constructors index](index.md) - - - -A VoIP phone call - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_call|[PhoneCall](../types/PhoneCall.md) | Optional|The VoIP phone call| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [phone\_PhoneCall](../types/phone_PhoneCall.md) - - -### Example: - -```php -$phone_phoneCall = ['_' => 'phone.phoneCall', 'phone_call' => PhoneCall, 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -phone_phoneCall={_='phone.phoneCall', phone_call=PhoneCall, users={User}} - -``` - - diff --git a/old_docs/API_docs_v104/constructors/photos.photo.md b/old_docs/API_docs_v104/constructors/photos.photo.md new file mode 100644 index 00000000..43d3efc7 --- /dev/null +++ b/old_docs/API_docs_v104/constructors/photos.photo.md @@ -0,0 +1,39 @@ +--- +title: photos.photo +description: Photo with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: photos.photo +[Back to constructors index](index.md) + + + +Photo with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|photo|[Photo](../types/Photo.md) | Optional|Photo| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [photos.Photo](../types/photos.Photo.md) + + +### Example: + +```php +$photos.photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +photos.photo={_='photos.photo', photo=Photo, users={User}} + +``` + + diff --git a/old_docs/API_docs_v104/constructors/photos.photos.md b/old_docs/API_docs_v104/constructors/photos.photos.md new file mode 100644 index 00000000..901a9693 --- /dev/null +++ b/old_docs/API_docs_v104/constructors/photos.photos.md @@ -0,0 +1,39 @@ +--- +title: photos.photos +description: Full list of photos with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: photos.photos +[Back to constructors index](index.md) + + + +Full list of photos with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [photos.Photos](../types/photos.Photos.md) + + +### Example: + +```php +$photos.photos = ['_' => 'photos.photos', 'photos' => [Photo, Photo], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +photos.photos={_='photos.photos', photos={Photo}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v104/constructors/photos.photosSlice.md b/old_docs/API_docs_v104/constructors/photos.photosSlice.md new file mode 100644 index 00000000..2cca3546 --- /dev/null +++ b/old_docs/API_docs_v104/constructors/photos.photosSlice.md @@ -0,0 +1,40 @@ +--- +title: photos.photosSlice +description: Incomplete list of photos with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: photos.photosSlice +[Back to constructors index](index.md) + + + +Incomplete list of photos with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of photos| +|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [photos.Photos](../types/photos.Photos.md) + + +### Example: + +```php +$photos.photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo, Photo], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +photos.photosSlice={_='photos.photosSlice', count=int, photos={Photo}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v104/constructors/photos_photo.md b/old_docs/API_docs_v104/constructors/photos_photo.md deleted file mode 100644 index d5ad61d9..00000000 --- a/old_docs/API_docs_v104/constructors/photos_photo.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: photos.photo -description: Photo with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: photos.photo -[Back to constructors index](index.md) - - - -Photo with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|photo|[Photo](../types/Photo.md) | Optional|Photo| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [photos\_Photo](../types/photos_Photo.md) - - -### Example: - -```php -$photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -photos_photo={_='photos.photo', photo=Photo, users={User}} - -``` - - diff --git a/old_docs/API_docs_v104/constructors/photos_photos.md b/old_docs/API_docs_v104/constructors/photos_photos.md deleted file mode 100644 index 6ae5d048..00000000 --- a/old_docs/API_docs_v104/constructors/photos_photos.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: photos.photos -description: Full list of photos with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: photos.photos -[Back to constructors index](index.md) - - - -Full list of photos with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [photos\_Photos](../types/photos_Photos.md) - - -### Example: - -```php -$photos_photos = ['_' => 'photos.photos', 'photos' => [Photo, Photo], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -photos_photos={_='photos.photos', photos={Photo}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v104/constructors/photos_photosSlice.md b/old_docs/API_docs_v104/constructors/photos_photosSlice.md deleted file mode 100644 index 5c465c21..00000000 --- a/old_docs/API_docs_v104/constructors/photos_photosSlice.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: photos.photosSlice -description: Incomplete list of photos with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: photos.photosSlice -[Back to constructors index](index.md) - - - -Incomplete list of photos with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of photos| -|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [photos\_Photos](../types/photos_Photos.md) - - -### Example: - -```php -$photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo, Photo], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -photos_photosSlice={_='photos.photosSlice', count=int, photos={Photo}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v104/constructors/storage.fileGif.md b/old_docs/API_docs_v104/constructors/storage.fileGif.md new file mode 100644 index 00000000..8193bd25 --- /dev/null +++ b/old_docs/API_docs_v104/constructors/storage.fileGif.md @@ -0,0 +1,33 @@ +--- +title: storage.fileGif +description: GIF image. MIME type: `image/gif`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileGif +[Back to constructors index](index.md) + + + +GIF image. MIME type: `image/gif`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileGif = ['_' => 'storage.fileGif']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileGif={_='storage.fileGif'} + +``` + + diff --git a/old_docs/API_docs_v104/constructors/storage.fileJpeg.md b/old_docs/API_docs_v104/constructors/storage.fileJpeg.md new file mode 100644 index 00000000..7f125963 --- /dev/null +++ b/old_docs/API_docs_v104/constructors/storage.fileJpeg.md @@ -0,0 +1,33 @@ +--- +title: storage.fileJpeg +description: JPEG image. MIME type: `image/jpeg`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileJpeg +[Back to constructors index](index.md) + + + +JPEG image. MIME type: `image/jpeg`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileJpeg = ['_' => 'storage.fileJpeg']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileJpeg={_='storage.fileJpeg'} + +``` + + diff --git a/old_docs/API_docs_v104/constructors/storage.fileMov.md b/old_docs/API_docs_v104/constructors/storage.fileMov.md new file mode 100644 index 00000000..cb3742e0 --- /dev/null +++ b/old_docs/API_docs_v104/constructors/storage.fileMov.md @@ -0,0 +1,33 @@ +--- +title: storage.fileMov +description: Quicktime video. MIME type: `video/quicktime`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileMov +[Back to constructors index](index.md) + + + +Quicktime video. MIME type: `video/quicktime`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileMov = ['_' => 'storage.fileMov']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileMov={_='storage.fileMov'} + +``` + + diff --git a/old_docs/API_docs_v104/constructors/storage.fileMp3.md b/old_docs/API_docs_v104/constructors/storage.fileMp3.md new file mode 100644 index 00000000..617f2d39 --- /dev/null +++ b/old_docs/API_docs_v104/constructors/storage.fileMp3.md @@ -0,0 +1,33 @@ +--- +title: storage.fileMp3 +description: Mp3 audio. MIME type: `audio/mpeg`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileMp3 +[Back to constructors index](index.md) + + + +Mp3 audio. MIME type: `audio/mpeg`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileMp3 = ['_' => 'storage.fileMp3']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileMp3={_='storage.fileMp3'} + +``` + + diff --git a/old_docs/API_docs_v104/constructors/storage.fileMp4.md b/old_docs/API_docs_v104/constructors/storage.fileMp4.md new file mode 100644 index 00000000..37038176 --- /dev/null +++ b/old_docs/API_docs_v104/constructors/storage.fileMp4.md @@ -0,0 +1,33 @@ +--- +title: storage.fileMp4 +description: MPEG-4 video. MIME type: `video/mp4`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileMp4 +[Back to constructors index](index.md) + + + +MPEG-4 video. MIME type: `video/mp4`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileMp4 = ['_' => 'storage.fileMp4']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileMp4={_='storage.fileMp4'} + +``` + + diff --git a/old_docs/API_docs_v104/constructors/storage.filePartial.md b/old_docs/API_docs_v104/constructors/storage.filePartial.md new file mode 100644 index 00000000..98779e71 --- /dev/null +++ b/old_docs/API_docs_v104/constructors/storage.filePartial.md @@ -0,0 +1,33 @@ +--- +title: storage.filePartial +description: Part of a bigger file. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.filePartial +[Back to constructors index](index.md) + + + +Part of a bigger file. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.filePartial = ['_' => 'storage.filePartial']; +``` + + +Or, if you're into Lua: + +```lua +storage.filePartial={_='storage.filePartial'} + +``` + + diff --git a/old_docs/API_docs_v104/constructors/storage.filePdf.md b/old_docs/API_docs_v104/constructors/storage.filePdf.md new file mode 100644 index 00000000..136c0614 --- /dev/null +++ b/old_docs/API_docs_v104/constructors/storage.filePdf.md @@ -0,0 +1,33 @@ +--- +title: storage.filePdf +description: PDF document image. MIME type: `application/pdf`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.filePdf +[Back to constructors index](index.md) + + + +PDF document image. MIME type: `application/pdf`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.filePdf = ['_' => 'storage.filePdf']; +``` + + +Or, if you're into Lua: + +```lua +storage.filePdf={_='storage.filePdf'} + +``` + + diff --git a/old_docs/API_docs_v104/constructors/storage.filePng.md b/old_docs/API_docs_v104/constructors/storage.filePng.md new file mode 100644 index 00000000..db01ce0e --- /dev/null +++ b/old_docs/API_docs_v104/constructors/storage.filePng.md @@ -0,0 +1,33 @@ +--- +title: storage.filePng +description: PNG image. MIME type: `image/png`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.filePng +[Back to constructors index](index.md) + + + +PNG image. MIME type: `image/png`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.filePng = ['_' => 'storage.filePng']; +``` + + +Or, if you're into Lua: + +```lua +storage.filePng={_='storage.filePng'} + +``` + + diff --git a/old_docs/API_docs_v104/constructors/storage.fileUnknown.md b/old_docs/API_docs_v104/constructors/storage.fileUnknown.md new file mode 100644 index 00000000..26f0a5ae --- /dev/null +++ b/old_docs/API_docs_v104/constructors/storage.fileUnknown.md @@ -0,0 +1,33 @@ +--- +title: storage.fileUnknown +description: Unknown type. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileUnknown +[Back to constructors index](index.md) + + + +Unknown type. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileUnknown = ['_' => 'storage.fileUnknown']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileUnknown={_='storage.fileUnknown'} + +``` + + diff --git a/old_docs/API_docs_v104/constructors/storage.fileWebp.md b/old_docs/API_docs_v104/constructors/storage.fileWebp.md new file mode 100644 index 00000000..63c9ded1 --- /dev/null +++ b/old_docs/API_docs_v104/constructors/storage.fileWebp.md @@ -0,0 +1,33 @@ +--- +title: storage.fileWebp +description: WEBP image. MIME type: `image/webp`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileWebp +[Back to constructors index](index.md) + + + +WEBP image. MIME type: `image/webp`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileWebp = ['_' => 'storage.fileWebp']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileWebp={_='storage.fileWebp'} + +``` + + diff --git a/old_docs/API_docs_v104/constructors/storage_fileGif.md b/old_docs/API_docs_v104/constructors/storage_fileGif.md deleted file mode 100644 index 218c7491..00000000 --- a/old_docs/API_docs_v104/constructors/storage_fileGif.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileGif -description: GIF image. MIME type: `image/gif`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileGif -[Back to constructors index](index.md) - - - -GIF image. MIME type: `image/gif`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileGif = ['_' => 'storage.fileGif']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileGif={_='storage.fileGif'} - -``` - - diff --git a/old_docs/API_docs_v104/constructors/storage_fileJpeg.md b/old_docs/API_docs_v104/constructors/storage_fileJpeg.md deleted file mode 100644 index 925531cd..00000000 --- a/old_docs/API_docs_v104/constructors/storage_fileJpeg.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileJpeg -description: JPEG image. MIME type: `image/jpeg`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileJpeg -[Back to constructors index](index.md) - - - -JPEG image. MIME type: `image/jpeg`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileJpeg = ['_' => 'storage.fileJpeg']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileJpeg={_='storage.fileJpeg'} - -``` - - diff --git a/old_docs/API_docs_v104/constructors/storage_fileMov.md b/old_docs/API_docs_v104/constructors/storage_fileMov.md deleted file mode 100644 index eaf2a6ff..00000000 --- a/old_docs/API_docs_v104/constructors/storage_fileMov.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileMov -description: Quicktime video. MIME type: `video/quicktime`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileMov -[Back to constructors index](index.md) - - - -Quicktime video. MIME type: `video/quicktime`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileMov = ['_' => 'storage.fileMov']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileMov={_='storage.fileMov'} - -``` - - diff --git a/old_docs/API_docs_v104/constructors/storage_fileMp3.md b/old_docs/API_docs_v104/constructors/storage_fileMp3.md deleted file mode 100644 index 9afcefbb..00000000 --- a/old_docs/API_docs_v104/constructors/storage_fileMp3.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileMp3 -description: Mp3 audio. MIME type: `audio/mpeg`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileMp3 -[Back to constructors index](index.md) - - - -Mp3 audio. MIME type: `audio/mpeg`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileMp3 = ['_' => 'storage.fileMp3']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileMp3={_='storage.fileMp3'} - -``` - - diff --git a/old_docs/API_docs_v104/constructors/storage_fileMp4.md b/old_docs/API_docs_v104/constructors/storage_fileMp4.md deleted file mode 100644 index cdc0e783..00000000 --- a/old_docs/API_docs_v104/constructors/storage_fileMp4.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileMp4 -description: MPEG-4 video. MIME type: `video/mp4`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileMp4 -[Back to constructors index](index.md) - - - -MPEG-4 video. MIME type: `video/mp4`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileMp4 = ['_' => 'storage.fileMp4']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileMp4={_='storage.fileMp4'} - -``` - - diff --git a/old_docs/API_docs_v104/constructors/storage_filePartial.md b/old_docs/API_docs_v104/constructors/storage_filePartial.md deleted file mode 100644 index 9bfadf63..00000000 --- a/old_docs/API_docs_v104/constructors/storage_filePartial.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.filePartial -description: Part of a bigger file. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.filePartial -[Back to constructors index](index.md) - - - -Part of a bigger file. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_filePartial = ['_' => 'storage.filePartial']; -``` - - -Or, if you're into Lua: - -```lua -storage_filePartial={_='storage.filePartial'} - -``` - - diff --git a/old_docs/API_docs_v104/constructors/storage_filePdf.md b/old_docs/API_docs_v104/constructors/storage_filePdf.md deleted file mode 100644 index efb022cc..00000000 --- a/old_docs/API_docs_v104/constructors/storage_filePdf.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.filePdf -description: PDF document image. MIME type: `application/pdf`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.filePdf -[Back to constructors index](index.md) - - - -PDF document image. MIME type: `application/pdf`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_filePdf = ['_' => 'storage.filePdf']; -``` - - -Or, if you're into Lua: - -```lua -storage_filePdf={_='storage.filePdf'} - -``` - - diff --git a/old_docs/API_docs_v104/constructors/storage_filePng.md b/old_docs/API_docs_v104/constructors/storage_filePng.md deleted file mode 100644 index 412759e4..00000000 --- a/old_docs/API_docs_v104/constructors/storage_filePng.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.filePng -description: PNG image. MIME type: `image/png`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.filePng -[Back to constructors index](index.md) - - - -PNG image. MIME type: `image/png`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_filePng = ['_' => 'storage.filePng']; -``` - - -Or, if you're into Lua: - -```lua -storage_filePng={_='storage.filePng'} - -``` - - diff --git a/old_docs/API_docs_v104/constructors/storage_fileUnknown.md b/old_docs/API_docs_v104/constructors/storage_fileUnknown.md deleted file mode 100644 index ed33dd5e..00000000 --- a/old_docs/API_docs_v104/constructors/storage_fileUnknown.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileUnknown -description: Unknown type. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileUnknown -[Back to constructors index](index.md) - - - -Unknown type. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileUnknown = ['_' => 'storage.fileUnknown']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileUnknown={_='storage.fileUnknown'} - -``` - - diff --git a/old_docs/API_docs_v104/constructors/storage_fileWebp.md b/old_docs/API_docs_v104/constructors/storage_fileWebp.md deleted file mode 100644 index 04dcad74..00000000 --- a/old_docs/API_docs_v104/constructors/storage_fileWebp.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileWebp -description: WEBP image. MIME type: `image/webp`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileWebp -[Back to constructors index](index.md) - - - -WEBP image. MIME type: `image/webp`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileWebp = ['_' => 'storage.fileWebp']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileWebp={_='storage.fileWebp'} - -``` - - diff --git a/old_docs/API_docs_v104/constructors/updateNewStickerSet.md b/old_docs/API_docs_v104/constructors/updateNewStickerSet.md index 8a99a363..c32c41ff 100644 --- a/old_docs/API_docs_v104/constructors/updateNewStickerSet.md +++ b/old_docs/API_docs_v104/constructors/updateNewStickerSet.md @@ -14,7 +14,7 @@ A new stickerset was installed | Name | Type | Required | Description | |----------|---------------|----------|-------------| -|stickerset|[messages\_StickerSet](../types/messages_StickerSet.md) | Yes|The installed stickerset| +|stickerset|[messages.StickerSet](../constructors/messages.StickerSet.md) | Yes|The installed stickerset| @@ -24,14 +24,14 @@ A new stickerset was installed ### Example: ```php -$updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages_StickerSet]; +$updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages.StickerSet]; ``` Or, if you're into Lua: ```lua -updateNewStickerSet={_='updateNewStickerSet', stickerset=messages_StickerSet} +updateNewStickerSet={_='updateNewStickerSet', stickerset=messages.StickerSet} ``` diff --git a/old_docs/API_docs_v104/constructors/updates.channelDifference.md b/old_docs/API_docs_v104/constructors/updates.channelDifference.md new file mode 100644 index 00000000..5a13791c --- /dev/null +++ b/old_docs/API_docs_v104/constructors/updates.channelDifference.md @@ -0,0 +1,44 @@ +--- +title: updates.channelDifference +description: The new updates +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.channelDifference +[Back to constructors index](index.md) + + + +The new updates + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates to be fetched using getDifference, starting from the provided `pts`| +|pts|[int](../types/int.md) | Yes|The [PTS](https://core.telegram.org/api/updates) from which to start getting updates the next time| +|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| +|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| +|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [updates.ChannelDifference](../types/updates.ChannelDifference.md) + + +### Example: + +```php +$updates.channelDifference = ['_' => 'updates.channelDifference', 'final' => Bool, 'pts' => int, 'timeout' => int, 'new_messages' => [Message, Message], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +updates.channelDifference={_='updates.channelDifference', final=Bool, pts=int, timeout=int, new_messages={Message}, other_updates={Update}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v104/constructors/updates.channelDifferenceEmpty.md b/old_docs/API_docs_v104/constructors/updates.channelDifferenceEmpty.md new file mode 100644 index 00000000..8ce43da4 --- /dev/null +++ b/old_docs/API_docs_v104/constructors/updates.channelDifferenceEmpty.md @@ -0,0 +1,40 @@ +--- +title: updates.channelDifferenceEmpty +description: There are no new updates +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.channelDifferenceEmpty +[Back to constructors index](index.md) + + + +There are no new updates + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates that must be fetched (always false)| +|pts|[int](../types/int.md) | Yes|The latest [PTS](https://core.telegram.org/api/updates)| +|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| + + + +### Type: [updates.ChannelDifference](../types/updates.ChannelDifference.md) + + +### Example: + +```php +$updates.channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'final' => Bool, 'pts' => int, 'timeout' => int]; +``` + + +Or, if you're into Lua: + +```lua +updates.channelDifferenceEmpty={_='updates.channelDifferenceEmpty', final=Bool, pts=int, timeout=int} + +``` + + diff --git a/old_docs/API_docs_v104/constructors/updates.channelDifferenceTooLong.md b/old_docs/API_docs_v104/constructors/updates.channelDifferenceTooLong.md new file mode 100644 index 00000000..10fb21ed --- /dev/null +++ b/old_docs/API_docs_v104/constructors/updates.channelDifferenceTooLong.md @@ -0,0 +1,53 @@ +--- +title: updates.channelDifferenceTooLong +description: The provided `pts + limit < remote pts`. Simply, there are too many updates to be fetched (more than `limit`), the client has to resolve the update gap in one of the following ways: + +1. Delete all known messages in the chat, begin from scratch by refetching all messages manually with [getHistory](../methods/messages.getHistory.md). It is easy to implement, but suddenly disappearing messages looks awful for the user. +2. Save all messages loaded in the memory until application restart, but delete all messages from database. Messages left in the memory must be lazily updated using calls to [getHistory](../methods/messages.getHistory.md). It looks much smoothly for the user, he will need to redownload messages only after client restart. Unsynchronized messages left in the memory shouldn't be saved to database, results of [getHistory](../methods/messages.getHistory.md) and [getMessages](../methods/messages.getMessages.md) must be used to update state of deleted and edited messages left in the memory. +3. Save all messages loaded in the memory and stored in the database without saving that some messages form continuous ranges. Messages in the database will be excluded from results of getChatHistory and searchChatMessages after application restart and will be available only through getMessage. Every message should still be checked using getHistory. It has more disadvantages over 2) than advantages. +4. Save all messages with saving all data about continuous message ranges. Messages from the database may be used as results of getChatHistory and (if implemented continuous ranges support for searching shared media) searchChatMessages. The messages should still be lazily checked using getHistory, but they are still available offline. It is the best way for gaps support, but it is pretty hard to implement correctly. It should be also noted that some messages like live location messages shouldn't be deleted. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.channelDifferenceTooLong +[Back to constructors index](index.md) + + + +The provided `pts + limit < remote pts`. Simply, there are too many updates to be fetched (more than `limit`), the client has to resolve the update gap in one of the following ways: + +1. Delete all known messages in the chat, begin from scratch by refetching all messages manually with [getHistory](../methods/messages.getHistory.md). It is easy to implement, but suddenly disappearing messages looks awful for the user. +2. Save all messages loaded in the memory until application restart, but delete all messages from database. Messages left in the memory must be lazily updated using calls to [getHistory](../methods/messages.getHistory.md). It looks much smoothly for the user, he will need to redownload messages only after client restart. Unsynchronized messages left in the memory shouldn't be saved to database, results of [getHistory](../methods/messages.getHistory.md) and [getMessages](../methods/messages.getMessages.md) must be used to update state of deleted and edited messages left in the memory. +3. Save all messages loaded in the memory and stored in the database without saving that some messages form continuous ranges. Messages in the database will be excluded from results of getChatHistory and searchChatMessages after application restart and will be available only through getMessage. Every message should still be checked using getHistory. It has more disadvantages over 2) than advantages. +4. Save all messages with saving all data about continuous message ranges. Messages from the database may be used as results of getChatHistory and (if implemented continuous ranges support for searching shared media) searchChatMessages. The messages should still be lazily checked using getHistory, but they are still available offline. It is the best way for gaps support, but it is pretty hard to implement correctly. It should be also noted that some messages like live location messages shouldn't be deleted. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates that must be fetched (always false)| +|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| +|dialog|[Dialog](../types/Dialog.md) | Yes|Dialog containing the latest [PTS](https://core.telegram.org/api/updates) that can be used to reset the channel state| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [updates.ChannelDifference](../types/updates.ChannelDifference.md) + + +### Example: + +```php +$updates.channelDifferenceTooLong = ['_' => 'updates.channelDifferenceTooLong', 'final' => Bool, 'timeout' => int, 'dialog' => Dialog, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +updates.channelDifferenceTooLong={_='updates.channelDifferenceTooLong', final=Bool, timeout=int, dialog=Dialog, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v104/constructors/updates.difference.md b/old_docs/API_docs_v104/constructors/updates.difference.md new file mode 100644 index 00000000..82541b51 --- /dev/null +++ b/old_docs/API_docs_v104/constructors/updates.difference.md @@ -0,0 +1,43 @@ +--- +title: updates.difference +description: Full list of occurred events. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.difference +[Back to constructors index](index.md) + + + +Full list of occurred events. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| +|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| +|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| +|state|[updates.State](../constructors/updates.State.md) | Yes|Current state| + + + +### Type: [updates.Difference](../types/updates.Difference.md) + + +### Example: + +```php +$updates.difference = ['_' => 'updates.difference', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates.State]; +``` + + +Or, if you're into Lua: + +```lua +updates.difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates.State} + +``` + + diff --git a/old_docs/API_docs_v104/constructors/updates.differenceEmpty.md b/old_docs/API_docs_v104/constructors/updates.differenceEmpty.md new file mode 100644 index 00000000..a9dc3bd0 --- /dev/null +++ b/old_docs/API_docs_v104/constructors/updates.differenceEmpty.md @@ -0,0 +1,39 @@ +--- +title: updates.differenceEmpty +description: No events. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.differenceEmpty +[Back to constructors index](index.md) + + + +No events. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Current date| +|seq|[int](../types/int.md) | Yes|Number of sent updates| + + + +### Type: [updates.Difference](../types/updates.Difference.md) + + +### Example: + +```php +$updates.differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int]; +``` + + +Or, if you're into Lua: + +```lua +updates.differenceEmpty={_='updates.differenceEmpty', date=int, seq=int} + +``` + + diff --git a/old_docs/API_docs_v104/constructors/updates.differenceSlice.md b/old_docs/API_docs_v104/constructors/updates.differenceSlice.md new file mode 100644 index 00000000..9daf7a75 --- /dev/null +++ b/old_docs/API_docs_v104/constructors/updates.differenceSlice.md @@ -0,0 +1,43 @@ +--- +title: updates.differenceSlice +description: Incomplete list of occurred events. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.differenceSlice +[Back to constructors index](index.md) + + + +Incomplete list of occurred events. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| +|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| +|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| +|intermediate\_state|[updates.State](../constructors/updates.State.md) | Yes|Intermediary state| + + + +### Type: [updates.Difference](../types/updates.Difference.md) + + +### Example: + +```php +$updates.differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'intermediate_state' => updates.State]; +``` + + +Or, if you're into Lua: + +```lua +updates.differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates.State} + +``` + + diff --git a/old_docs/API_docs_v104/constructors/updates.differenceTooLong.md b/old_docs/API_docs_v104/constructors/updates.differenceTooLong.md new file mode 100644 index 00000000..ef2e7e4d --- /dev/null +++ b/old_docs/API_docs_v104/constructors/updates.differenceTooLong.md @@ -0,0 +1,38 @@ +--- +title: updates.differenceTooLong +description: The difference is [too long](https://core.telegram.org/api/updates#recovering-gaps), and the specified state must be used to refetch updates. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.differenceTooLong +[Back to constructors index](index.md) + + + +The difference is [too long](https://core.telegram.org/api/updates#recovering-gaps), and the specified state must be used to refetch updates. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|The new state to use.| + + + +### Type: [updates.Difference](../types/updates.Difference.md) + + +### Example: + +```php +$updates.differenceTooLong = ['_' => 'updates.differenceTooLong', 'pts' => int]; +``` + + +Or, if you're into Lua: + +```lua +updates.differenceTooLong={_='updates.differenceTooLong', pts=int} + +``` + + diff --git a/old_docs/API_docs_v104/constructors/updates.state.md b/old_docs/API_docs_v104/constructors/updates.state.md new file mode 100644 index 00000000..abe9ddbb --- /dev/null +++ b/old_docs/API_docs_v104/constructors/updates.state.md @@ -0,0 +1,42 @@ +--- +title: updates.state +description: Updates state. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.state +[Back to constructors index](index.md) + + + +Updates state. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| +|qts|[int](../types/int.md) | Yes|Position in a sequence of updates in secret chats. For further detailes refer to article [secret chats](https://core.telegram.org/api/end-to-end)
Parameter was added in [eigth layer](https://core.telegram.org/api/layers#layer-8).| +|date|[int](../types/int.md) | Yes|Date of condition| +|seq|[int](../types/int.md) | Yes|Number of sent updates| +|unread\_count|[int](../types/int.md) | Yes|Number of unread messages| + + + +### Type: [updates.State](../types/updates.State.md) + + +### Example: + +```php +$updates.state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int]; +``` + + +Or, if you're into Lua: + +```lua +updates.state={_='updates.state', pts=int, qts=int, date=int, seq=int, unread_count=int} + +``` + + diff --git a/old_docs/API_docs_v104/constructors/updates_channelDifference.md b/old_docs/API_docs_v104/constructors/updates_channelDifference.md deleted file mode 100644 index 1b50fbf3..00000000 --- a/old_docs/API_docs_v104/constructors/updates_channelDifference.md +++ /dev/null @@ -1,44 +0,0 @@ ---- -title: updates.channelDifference -description: The new updates -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.channelDifference -[Back to constructors index](index.md) - - - -The new updates - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates to be fetched using getDifference, starting from the provided `pts`| -|pts|[int](../types/int.md) | Yes|The [PTS](https://core.telegram.org/api/updates) from which to start getting updates the next time| -|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| -|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| -|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) - - -### Example: - -```php -$updates_channelDifference = ['_' => 'updates.channelDifference', 'final' => Bool, 'pts' => int, 'timeout' => int, 'new_messages' => [Message, Message], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -updates_channelDifference={_='updates.channelDifference', final=Bool, pts=int, timeout=int, new_messages={Message}, other_updates={Update}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v104/constructors/updates_channelDifferenceEmpty.md b/old_docs/API_docs_v104/constructors/updates_channelDifferenceEmpty.md deleted file mode 100644 index 713137aa..00000000 --- a/old_docs/API_docs_v104/constructors/updates_channelDifferenceEmpty.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: updates.channelDifferenceEmpty -description: There are no new updates -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.channelDifferenceEmpty -[Back to constructors index](index.md) - - - -There are no new updates - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates that must be fetched (always false)| -|pts|[int](../types/int.md) | Yes|The latest [PTS](https://core.telegram.org/api/updates)| -|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| - - - -### Type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) - - -### Example: - -```php -$updates_channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'final' => Bool, 'pts' => int, 'timeout' => int]; -``` - - -Or, if you're into Lua: - -```lua -updates_channelDifferenceEmpty={_='updates.channelDifferenceEmpty', final=Bool, pts=int, timeout=int} - -``` - - diff --git a/old_docs/API_docs_v104/constructors/updates_channelDifferenceTooLong.md b/old_docs/API_docs_v104/constructors/updates_channelDifferenceTooLong.md deleted file mode 100644 index 5719c340..00000000 --- a/old_docs/API_docs_v104/constructors/updates_channelDifferenceTooLong.md +++ /dev/null @@ -1,53 +0,0 @@ ---- -title: updates.channelDifferenceTooLong -description: The provided `pts + limit < remote pts`. Simply, there are too many updates to be fetched (more than `limit`), the client has to resolve the update gap in one of the following ways: - -1. Delete all known messages in the chat, begin from scratch by refetching all messages manually with [getHistory](../methods/messages.getHistory.md). It is easy to implement, but suddenly disappearing messages looks awful for the user. -2. Save all messages loaded in the memory until application restart, but delete all messages from database. Messages left in the memory must be lazily updated using calls to [getHistory](../methods/messages.getHistory.md). It looks much smoothly for the user, he will need to redownload messages only after client restart. Unsynchronized messages left in the memory shouldn't be saved to database, results of [getHistory](../methods/messages.getHistory.md) and [getMessages](../methods/messages.getMessages.md) must be used to update state of deleted and edited messages left in the memory. -3. Save all messages loaded in the memory and stored in the database without saving that some messages form continuous ranges. Messages in the database will be excluded from results of getChatHistory and searchChatMessages after application restart and will be available only through getMessage. Every message should still be checked using getHistory. It has more disadvantages over 2) than advantages. -4. Save all messages with saving all data about continuous message ranges. Messages from the database may be used as results of getChatHistory and (if implemented continuous ranges support for searching shared media) searchChatMessages. The messages should still be lazily checked using getHistory, but they are still available offline. It is the best way for gaps support, but it is pretty hard to implement correctly. It should be also noted that some messages like live location messages shouldn't be deleted. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.channelDifferenceTooLong -[Back to constructors index](index.md) - - - -The provided `pts + limit < remote pts`. Simply, there are too many updates to be fetched (more than `limit`), the client has to resolve the update gap in one of the following ways: - -1. Delete all known messages in the chat, begin from scratch by refetching all messages manually with [getHistory](../methods/messages.getHistory.md). It is easy to implement, but suddenly disappearing messages looks awful for the user. -2. Save all messages loaded in the memory until application restart, but delete all messages from database. Messages left in the memory must be lazily updated using calls to [getHistory](../methods/messages.getHistory.md). It looks much smoothly for the user, he will need to redownload messages only after client restart. Unsynchronized messages left in the memory shouldn't be saved to database, results of [getHistory](../methods/messages.getHistory.md) and [getMessages](../methods/messages.getMessages.md) must be used to update state of deleted and edited messages left in the memory. -3. Save all messages loaded in the memory and stored in the database without saving that some messages form continuous ranges. Messages in the database will be excluded from results of getChatHistory and searchChatMessages after application restart and will be available only through getMessage. Every message should still be checked using getHistory. It has more disadvantages over 2) than advantages. -4. Save all messages with saving all data about continuous message ranges. Messages from the database may be used as results of getChatHistory and (if implemented continuous ranges support for searching shared media) searchChatMessages. The messages should still be lazily checked using getHistory, but they are still available offline. It is the best way for gaps support, but it is pretty hard to implement correctly. It should be also noted that some messages like live location messages shouldn't be deleted. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates that must be fetched (always false)| -|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| -|dialog|[Dialog](../types/Dialog.md) | Yes|Dialog containing the latest [PTS](https://core.telegram.org/api/updates) that can be used to reset the channel state| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) - - -### Example: - -```php -$updates_channelDifferenceTooLong = ['_' => 'updates.channelDifferenceTooLong', 'final' => Bool, 'timeout' => int, 'dialog' => Dialog, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -updates_channelDifferenceTooLong={_='updates.channelDifferenceTooLong', final=Bool, timeout=int, dialog=Dialog, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v104/constructors/updates_difference.md b/old_docs/API_docs_v104/constructors/updates_difference.md deleted file mode 100644 index 71ac7d4c..00000000 --- a/old_docs/API_docs_v104/constructors/updates_difference.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: updates.difference -description: Full list of occurred events. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.difference -[Back to constructors index](index.md) - - - -Full list of occurred events. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| -|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| -|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| -|state|[updates\_State](../types/updates_State.md) | Yes|Current state| - - - -### Type: [updates\_Difference](../types/updates_Difference.md) - - -### Example: - -```php -$updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates_State]; -``` - - -Or, if you're into Lua: - -```lua -updates_difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates_State} - -``` - - diff --git a/old_docs/API_docs_v104/constructors/updates_differenceEmpty.md b/old_docs/API_docs_v104/constructors/updates_differenceEmpty.md deleted file mode 100644 index c3c95c5a..00000000 --- a/old_docs/API_docs_v104/constructors/updates_differenceEmpty.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: updates.differenceEmpty -description: No events. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.differenceEmpty -[Back to constructors index](index.md) - - - -No events. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Current date| -|seq|[int](../types/int.md) | Yes|Number of sent updates| - - - -### Type: [updates\_Difference](../types/updates_Difference.md) - - -### Example: - -```php -$updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int]; -``` - - -Or, if you're into Lua: - -```lua -updates_differenceEmpty={_='updates.differenceEmpty', date=int, seq=int} - -``` - - diff --git a/old_docs/API_docs_v104/constructors/updates_differenceSlice.md b/old_docs/API_docs_v104/constructors/updates_differenceSlice.md deleted file mode 100644 index 8b12a369..00000000 --- a/old_docs/API_docs_v104/constructors/updates_differenceSlice.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: updates.differenceSlice -description: Incomplete list of occurred events. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.differenceSlice -[Back to constructors index](index.md) - - - -Incomplete list of occurred events. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| -|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| -|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| -|intermediate\_state|[updates\_State](../types/updates_State.md) | Yes|Intermediary state| - - - -### Type: [updates\_Difference](../types/updates_Difference.md) - - -### Example: - -```php -$updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'intermediate_state' => updates_State]; -``` - - -Or, if you're into Lua: - -```lua -updates_differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates_State} - -``` - - diff --git a/old_docs/API_docs_v104/constructors/updates_differenceTooLong.md b/old_docs/API_docs_v104/constructors/updates_differenceTooLong.md deleted file mode 100644 index 1fbdfa01..00000000 --- a/old_docs/API_docs_v104/constructors/updates_differenceTooLong.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: updates.differenceTooLong -description: The difference is [too long](https://core.telegram.org/api/updates#recovering-gaps), and the specified state must be used to refetch updates. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.differenceTooLong -[Back to constructors index](index.md) - - - -The difference is [too long](https://core.telegram.org/api/updates#recovering-gaps), and the specified state must be used to refetch updates. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|The new state to use.| - - - -### Type: [updates\_Difference](../types/updates_Difference.md) - - -### Example: - -```php -$updates_differenceTooLong = ['_' => 'updates.differenceTooLong', 'pts' => int]; -``` - - -Or, if you're into Lua: - -```lua -updates_differenceTooLong={_='updates.differenceTooLong', pts=int} - -``` - - diff --git a/old_docs/API_docs_v104/constructors/updates_state.md b/old_docs/API_docs_v104/constructors/updates_state.md deleted file mode 100644 index ef3698e2..00000000 --- a/old_docs/API_docs_v104/constructors/updates_state.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: updates.state -description: Updates state. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.state -[Back to constructors index](index.md) - - - -Updates state. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| -|qts|[int](../types/int.md) | Yes|Position in a sequence of updates in secret chats. For further detailes refer to article [secret chats](https://core.telegram.org/api/end-to-end)
Parameter was added in [eigth layer](https://core.telegram.org/api/layers#layer-8).| -|date|[int](../types/int.md) | Yes|Date of condition| -|seq|[int](../types/int.md) | Yes|Number of sent updates| -|unread\_count|[int](../types/int.md) | Yes|Number of unread messages| - - - -### Type: [updates\_State](../types/updates_State.md) - - -### Example: - -```php -$updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int]; -``` - - -Or, if you're into Lua: - -```lua -updates_state={_='updates.state', pts=int, qts=int, date=int, seq=int, unread_count=int} - -``` - - diff --git a/old_docs/API_docs_v104/constructors/upload.cdnFile.md b/old_docs/API_docs_v104/constructors/upload.cdnFile.md new file mode 100644 index 00000000..d6d75513 --- /dev/null +++ b/old_docs/API_docs_v104/constructors/upload.cdnFile.md @@ -0,0 +1,38 @@ +--- +title: upload.cdnFile +description: Represent a chunk of a [CDN](https://core.telegram.org/cdn) file. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: upload.cdnFile +[Back to constructors index](index.md) + + + +Represent a chunk of a [CDN](https://core.telegram.org/cdn) file. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|bytes|[bytes](../types/bytes.md) | Yes|The data| + + + +### Type: [upload.CdnFile](../types/upload.CdnFile.md) + + +### Example: + +```php +$upload.cdnFile = ['_' => 'upload.cdnFile', 'bytes' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +upload.cdnFile={_='upload.cdnFile', bytes='bytes'} + +``` + + diff --git a/old_docs/API_docs_v104/constructors/upload.cdnFileReuploadNeeded.md b/old_docs/API_docs_v104/constructors/upload.cdnFileReuploadNeeded.md new file mode 100644 index 00000000..7c461a87 --- /dev/null +++ b/old_docs/API_docs_v104/constructors/upload.cdnFileReuploadNeeded.md @@ -0,0 +1,38 @@ +--- +title: upload.cdnFileReuploadNeeded +description: The file was cleared from the temporary RAM cache of the [CDN](https://core.telegram.org/cdn) and has to be reuploaded. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: upload.cdnFileReuploadNeeded +[Back to constructors index](index.md) + + + +The file was cleared from the temporary RAM cache of the [CDN](https://core.telegram.org/cdn) and has to be reuploaded. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|request\_token|[bytes](../types/bytes.md) | Yes|Request token (see [CDN](https://core.telegram.org/cdn))| + + + +### Type: [upload.CdnFile](../types/upload.CdnFile.md) + + +### Example: + +```php +$upload.cdnFileReuploadNeeded = ['_' => 'upload.cdnFileReuploadNeeded', 'request_token' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +upload.cdnFileReuploadNeeded={_='upload.cdnFileReuploadNeeded', request_token='bytes'} + +``` + + diff --git a/old_docs/API_docs_v104/constructors/upload.file.md b/old_docs/API_docs_v104/constructors/upload.file.md new file mode 100644 index 00000000..145a4c24 --- /dev/null +++ b/old_docs/API_docs_v104/constructors/upload.file.md @@ -0,0 +1,40 @@ +--- +title: upload.file +description: File content. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: upload.file +[Back to constructors index](index.md) + + + +File content. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|type|[storage.FileType](../constructors/storage.FileType.md) | Yes|File type| +|mtime|[int](../types/int.md) | Yes|Modification type| +|bytes|[bytes](../types/bytes.md) | Yes|Binary data, file content| + + + +### Type: [upload.File](../types/upload.File.md) + + +### Example: + +```php +$upload.file = ['_' => 'upload.file', 'type' => storage.FileType, 'mtime' => int, 'bytes' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +upload.file={_='upload.file', type=storage.FileType, mtime=int, bytes='bytes'} + +``` + + diff --git a/old_docs/API_docs_v104/constructors/upload.fileCdnRedirect.md b/old_docs/API_docs_v104/constructors/upload.fileCdnRedirect.md new file mode 100644 index 00000000..dc56e919 --- /dev/null +++ b/old_docs/API_docs_v104/constructors/upload.fileCdnRedirect.md @@ -0,0 +1,42 @@ +--- +title: upload.fileCdnRedirect +description: The file must be downloaded from a [CDN DC](https://core.telegram.org/cdn). +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: upload.fileCdnRedirect +[Back to constructors index](index.md) + + + +The file must be downloaded from a [CDN DC](https://core.telegram.org/cdn). + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|dc\_id|[int](../types/int.md) | Yes|[CDN DC](https://core.telegram.org/cdn) ID| +|file\_token|[bytes](../types/bytes.md) | Yes|File token (see [CDN files](https://core.telegram.org/cdn)| +|encryption\_key|[bytes](../types/bytes.md) | Yes|Encryption key (see [CDN files](https://core.telegram.org/cdn)| +|encryption\_iv|[bytes](../types/bytes.md) | Yes|Encryption IV (see [CDN files](https://core.telegram.org/cdn)| +|file\_hashes|Array of [FileHash](../types/FileHash.md) | Yes|File hashes| + + + +### Type: [upload.File](../types/upload.File.md) + + +### Example: + +```php +$upload.fileCdnRedirect = ['_' => 'upload.fileCdnRedirect', 'dc_id' => int, 'file_token' => 'bytes', 'encryption_key' => 'bytes', 'encryption_iv' => 'bytes', 'file_hashes' => [FileHash, FileHash]]; +``` + + +Or, if you're into Lua: + +```lua +upload.fileCdnRedirect={_='upload.fileCdnRedirect', dc_id=int, file_token='bytes', encryption_key='bytes', encryption_iv='bytes', file_hashes={FileHash}} + +``` + + diff --git a/old_docs/API_docs_v104/constructors/upload.webFile.md b/old_docs/API_docs_v104/constructors/upload.webFile.md new file mode 100644 index 00000000..a93ea94f --- /dev/null +++ b/old_docs/API_docs_v104/constructors/upload.webFile.md @@ -0,0 +1,42 @@ +--- +title: upload.webFile +description: Represents a chunk of an [HTTP webfile](https://core.telegram.org/api/files) downloaded through telegram's secure MTProto servers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: upload.webFile +[Back to constructors index](index.md) + + + +Represents a chunk of an [HTTP webfile](https://core.telegram.org/api/files) downloaded through telegram's secure MTProto servers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|size|[int](../types/int.md) | Yes|File size| +|mime\_type|[string](../types/string.md) | Yes|Mime type| +|file\_type|[storage.FileType](../constructors/storage.FileType.md) | Yes|File type| +|mtime|[int](../types/int.md) | Yes|Modified time| +|bytes|[bytes](../types/bytes.md) | Yes|Data| + + + +### Type: [upload.WebFile](../types/upload.WebFile.md) + + +### Example: + +```php +$upload.webFile = ['_' => 'upload.webFile', 'size' => int, 'mime_type' => 'string', 'file_type' => storage.FileType, 'mtime' => int, 'bytes' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +upload.webFile={_='upload.webFile', size=int, mime_type='string', file_type=storage.FileType, mtime=int, bytes='bytes'} + +``` + + diff --git a/old_docs/API_docs_v104/constructors/upload_cdnFile.md b/old_docs/API_docs_v104/constructors/upload_cdnFile.md deleted file mode 100644 index 019b8742..00000000 --- a/old_docs/API_docs_v104/constructors/upload_cdnFile.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: upload.cdnFile -description: Represent a chunk of a [CDN](https://core.telegram.org/cdn) file. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: upload.cdnFile -[Back to constructors index](index.md) - - - -Represent a chunk of a [CDN](https://core.telegram.org/cdn) file. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|bytes|[bytes](../types/bytes.md) | Yes|The data| - - - -### Type: [upload\_CdnFile](../types/upload_CdnFile.md) - - -### Example: - -```php -$upload_cdnFile = ['_' => 'upload.cdnFile', 'bytes' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -upload_cdnFile={_='upload.cdnFile', bytes='bytes'} - -``` - - diff --git a/old_docs/API_docs_v104/constructors/upload_cdnFileReuploadNeeded.md b/old_docs/API_docs_v104/constructors/upload_cdnFileReuploadNeeded.md deleted file mode 100644 index 6588a596..00000000 --- a/old_docs/API_docs_v104/constructors/upload_cdnFileReuploadNeeded.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: upload.cdnFileReuploadNeeded -description: The file was cleared from the temporary RAM cache of the [CDN](https://core.telegram.org/cdn) and has to be reuploaded. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: upload.cdnFileReuploadNeeded -[Back to constructors index](index.md) - - - -The file was cleared from the temporary RAM cache of the [CDN](https://core.telegram.org/cdn) and has to be reuploaded. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|request\_token|[bytes](../types/bytes.md) | Yes|Request token (see [CDN](https://core.telegram.org/cdn))| - - - -### Type: [upload\_CdnFile](../types/upload_CdnFile.md) - - -### Example: - -```php -$upload_cdnFileReuploadNeeded = ['_' => 'upload.cdnFileReuploadNeeded', 'request_token' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -upload_cdnFileReuploadNeeded={_='upload.cdnFileReuploadNeeded', request_token='bytes'} - -``` - - diff --git a/old_docs/API_docs_v104/constructors/upload_file.md b/old_docs/API_docs_v104/constructors/upload_file.md deleted file mode 100644 index 1e07d9fb..00000000 --- a/old_docs/API_docs_v104/constructors/upload_file.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: upload.file -description: File content. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: upload.file -[Back to constructors index](index.md) - - - -File content. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|type|[storage\_FileType](../types/storage_FileType.md) | Yes|File type| -|mtime|[int](../types/int.md) | Yes|Modification type| -|bytes|[bytes](../types/bytes.md) | Yes|Binary data, file content| - - - -### Type: [upload\_File](../types/upload_File.md) - - -### Example: - -```php -$upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int, 'bytes' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -upload_file={_='upload.file', type=storage_FileType, mtime=int, bytes='bytes'} - -``` - - diff --git a/old_docs/API_docs_v104/constructors/upload_fileCdnRedirect.md b/old_docs/API_docs_v104/constructors/upload_fileCdnRedirect.md deleted file mode 100644 index de504dc3..00000000 --- a/old_docs/API_docs_v104/constructors/upload_fileCdnRedirect.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: upload.fileCdnRedirect -description: The file must be downloaded from a [CDN DC](https://core.telegram.org/cdn). -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: upload.fileCdnRedirect -[Back to constructors index](index.md) - - - -The file must be downloaded from a [CDN DC](https://core.telegram.org/cdn). - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|dc\_id|[int](../types/int.md) | Yes|[CDN DC](https://core.telegram.org/cdn) ID| -|file\_token|[bytes](../types/bytes.md) | Yes|File token (see [CDN files](https://core.telegram.org/cdn)| -|encryption\_key|[bytes](../types/bytes.md) | Yes|Encryption key (see [CDN files](https://core.telegram.org/cdn)| -|encryption\_iv|[bytes](../types/bytes.md) | Yes|Encryption IV (see [CDN files](https://core.telegram.org/cdn)| -|file\_hashes|Array of [FileHash](../types/FileHash.md) | Yes|File hashes| - - - -### Type: [upload\_File](../types/upload_File.md) - - -### Example: - -```php -$upload_fileCdnRedirect = ['_' => 'upload.fileCdnRedirect', 'dc_id' => int, 'file_token' => 'bytes', 'encryption_key' => 'bytes', 'encryption_iv' => 'bytes', 'file_hashes' => [FileHash, FileHash]]; -``` - - -Or, if you're into Lua: - -```lua -upload_fileCdnRedirect={_='upload.fileCdnRedirect', dc_id=int, file_token='bytes', encryption_key='bytes', encryption_iv='bytes', file_hashes={FileHash}} - -``` - - diff --git a/old_docs/API_docs_v104/constructors/upload_webFile.md b/old_docs/API_docs_v104/constructors/upload_webFile.md deleted file mode 100644 index ee8053b1..00000000 --- a/old_docs/API_docs_v104/constructors/upload_webFile.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: upload.webFile -description: Represents a chunk of an [HTTP webfile](https://core.telegram.org/api/files) downloaded through telegram's secure MTProto servers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: upload.webFile -[Back to constructors index](index.md) - - - -Represents a chunk of an [HTTP webfile](https://core.telegram.org/api/files) downloaded through telegram's secure MTProto servers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|size|[int](../types/int.md) | Yes|File size| -|mime\_type|[string](../types/string.md) | Yes|Mime type| -|file\_type|[storage\_FileType](../types/storage_FileType.md) | Yes|File type| -|mtime|[int](../types/int.md) | Yes|Modified time| -|bytes|[bytes](../types/bytes.md) | Yes|Data| - - - -### Type: [upload\_WebFile](../types/upload_WebFile.md) - - -### Example: - -```php -$upload_webFile = ['_' => 'upload.webFile', 'size' => int, 'mime_type' => 'string', 'file_type' => storage_FileType, 'mtime' => int, 'bytes' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -upload_webFile={_='upload.webFile', size=int, mime_type='string', file_type=storage_FileType, mtime=int, bytes='bytes'} - -``` - - diff --git a/old_docs/API_docs_v104/methods/account.getAuthorizationForm.md b/old_docs/API_docs_v104/methods/account.getAuthorizationForm.md index 298951cb..b0d52e07 100644 --- a/old_docs/API_docs_v104/methods/account.getAuthorizationForm.md +++ b/old_docs/API_docs_v104/methods/account.getAuthorizationForm.md @@ -18,7 +18,7 @@ Returns a Telegram Passport authorization form for sharing data with a service |public\_key|[string](../types/string.md) | Service's public key | Yes| -### Return type: [account\_AuthorizationForm](../types/account_AuthorizationForm.md) +### Return type: [account.AuthorizationForm](../types/account.AuthorizationForm.md) ### Can bots use this method: **NO** @@ -35,12 +35,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_AuthorizationForm = $MadelineProto->account->getAuthorizationForm(['bot_id' => int, 'scope' => 'string', 'public_key' => 'string', ]); +$account.AuthorizationForm = $MadelineProto->account->getAuthorizationForm(['bot_id' => int, 'scope' => 'string', 'public_key' => 'string', ]); ``` Or, if you're into Lua: ```lua -account_AuthorizationForm = account.getAuthorizationForm({bot_id=int, scope='string', public_key='string', }) +account.AuthorizationForm = account.getAuthorizationForm({bot_id=int, scope='string', public_key='string', }) ``` diff --git a/old_docs/API_docs_v104/methods/account.getAuthorizations.md b/old_docs/API_docs_v104/methods/account.getAuthorizations.md index f69c130a..fad3a7ae 100644 --- a/old_docs/API_docs_v104/methods/account.getAuthorizations.md +++ b/old_docs/API_docs_v104/methods/account.getAuthorizations.md @@ -11,7 +11,7 @@ Get logged-in sessions -### Return type: [account\_Authorizations](../types/account_Authorizations.md) +### Return type: [account.Authorizations](../types/account.Authorizations.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_Authorizations = $MadelineProto->account->getAuthorizations(); +$account.Authorizations = $MadelineProto->account->getAuthorizations(); ``` Or, if you're into Lua: ```lua -account_Authorizations = account.getAuthorizations({}) +account.Authorizations = account.getAuthorizations({}) ``` diff --git a/old_docs/API_docs_v104/methods/account.getAutoDownloadSettings.md b/old_docs/API_docs_v104/methods/account.getAutoDownloadSettings.md index 5ad7db87..4f036f08 100644 --- a/old_docs/API_docs_v104/methods/account.getAutoDownloadSettings.md +++ b/old_docs/API_docs_v104/methods/account.getAutoDownloadSettings.md @@ -11,7 +11,7 @@ Get media autodownload settings -### Return type: [account\_AutoDownloadSettings](../types/account_AutoDownloadSettings.md) +### Return type: [account.AutoDownloadSettings](../types/account.AutoDownloadSettings.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_AutoDownloadSettings = $MadelineProto->account->getAutoDownloadSettings(); +$account.AutoDownloadSettings = $MadelineProto->account->getAutoDownloadSettings(); ``` Or, if you're into Lua: ```lua -account_AutoDownloadSettings = account.getAutoDownloadSettings({}) +account.AutoDownloadSettings = account.getAutoDownloadSettings({}) ``` diff --git a/old_docs/API_docs_v104/methods/account.getPassword.md b/old_docs/API_docs_v104/methods/account.getPassword.md index eed4aee3..621271b6 100644 --- a/old_docs/API_docs_v104/methods/account.getPassword.md +++ b/old_docs/API_docs_v104/methods/account.getPassword.md @@ -11,7 +11,7 @@ Obtain configuration for two-factor authorization with password -### Return type: [account\_Password](../types/account_Password.md) +### Return type: [account.Password](../types/account.Password.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_Password = $MadelineProto->account->getPassword(); +$account.Password = $MadelineProto->account->getPassword(); ``` Or, if you're into Lua: ```lua -account_Password = account.getPassword({}) +account.Password = account.getPassword({}) ``` diff --git a/old_docs/API_docs_v104/methods/account.getPasswordSettings.md b/old_docs/API_docs_v104/methods/account.getPasswordSettings.md index a7a47b1a..2b8607b9 100644 --- a/old_docs/API_docs_v104/methods/account.getPasswordSettings.md +++ b/old_docs/API_docs_v104/methods/account.getPasswordSettings.md @@ -16,7 +16,7 @@ You cannot use this method directly; use $MadelineProto->update_2fa($params), in |password|[InputCheckPasswordSRP](../types/InputCheckPasswordSRP.md) | You cannot use this method directly; use $MadelineProto->update_2fa($params), instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [account\_PasswordSettings](../types/account_PasswordSettings.md) +### Return type: [account.PasswordSettings](../types/account.PasswordSettings.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_PasswordSettings = $MadelineProto->account->getPasswordSettings(['password' => InputCheckPasswordSRP, ]); +$account.PasswordSettings = $MadelineProto->account->getPasswordSettings(['password' => InputCheckPasswordSRP, ]); ``` Or, if you're into Lua: ```lua -account_PasswordSettings = account.getPasswordSettings({password=InputCheckPasswordSRP, }) +account.PasswordSettings = account.getPasswordSettings({password=InputCheckPasswordSRP, }) ``` ### Errors diff --git a/old_docs/API_docs_v104/methods/account.getPrivacy.md b/old_docs/API_docs_v104/methods/account.getPrivacy.md index 6a240129..e20c292c 100644 --- a/old_docs/API_docs_v104/methods/account.getPrivacy.md +++ b/old_docs/API_docs_v104/methods/account.getPrivacy.md @@ -16,7 +16,7 @@ Get privacy settings of current account |key|[InputPrivacyKey](../types/InputPrivacyKey.md) | Peer category whose privacy settings should be fetched | Yes| -### Return type: [account\_PrivacyRules](../types/account_PrivacyRules.md) +### Return type: [account.PrivacyRules](../types/account.PrivacyRules.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_PrivacyRules = $MadelineProto->account->getPrivacy(['key' => InputPrivacyKey, ]); +$account.PrivacyRules = $MadelineProto->account->getPrivacy(['key' => InputPrivacyKey, ]); ``` Or, if you're into Lua: ```lua -account_PrivacyRules = account.getPrivacy({key=InputPrivacyKey, }) +account.PrivacyRules = account.getPrivacy({key=InputPrivacyKey, }) ``` ### Errors diff --git a/old_docs/API_docs_v104/methods/account.getTmpPassword.md b/old_docs/API_docs_v104/methods/account.getTmpPassword.md index 76729595..2328df1e 100644 --- a/old_docs/API_docs_v104/methods/account.getTmpPassword.md +++ b/old_docs/API_docs_v104/methods/account.getTmpPassword.md @@ -17,7 +17,7 @@ Get temporary payment password |period|[int](../types/int.md) | Time during which the temporary password will be valid, in seconds; should be between 60 and 86400 | Yes| -### Return type: [account\_TmpPassword](../types/account_TmpPassword.md) +### Return type: [account.TmpPassword](../types/account.TmpPassword.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_TmpPassword = $MadelineProto->account->getTmpPassword(['password' => InputCheckPasswordSRP, 'period' => int, ]); +$account.TmpPassword = $MadelineProto->account->getTmpPassword(['password' => InputCheckPasswordSRP, 'period' => int, ]); ``` Or, if you're into Lua: ```lua -account_TmpPassword = account.getTmpPassword({password=InputCheckPasswordSRP, period=int, }) +account.TmpPassword = account.getTmpPassword({password=InputCheckPasswordSRP, period=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v104/methods/account.getWallPapers.md b/old_docs/API_docs_v104/methods/account.getWallPapers.md index 75c97ae2..aeb95929 100644 --- a/old_docs/API_docs_v104/methods/account.getWallPapers.md +++ b/old_docs/API_docs_v104/methods/account.getWallPapers.md @@ -16,7 +16,7 @@ Returns a list of available wallpapers. |hash|Array of [int](../types/int.md) | IDs of previously fetched wallpapers | Optional| -### Return type: [account\_WallPapers](../types/account_WallPapers.md) +### Return type: [account.WallPapers](../types/account.WallPapers.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_WallPapers = $MadelineProto->account->getWallPapers(['hash' => [int, int], ]); +$account.WallPapers = $MadelineProto->account->getWallPapers(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -account_WallPapers = account.getWallPapers({hash={int}, }) +account.WallPapers = account.getWallPapers({hash={int}, }) ``` diff --git a/old_docs/API_docs_v104/methods/account.getWebAuthorizations.md b/old_docs/API_docs_v104/methods/account.getWebAuthorizations.md index 1a43f138..b97fe978 100644 --- a/old_docs/API_docs_v104/methods/account.getWebAuthorizations.md +++ b/old_docs/API_docs_v104/methods/account.getWebAuthorizations.md @@ -11,7 +11,7 @@ Get web [login widget](https://core.telegram.org/widgets/login) authorizations -### Return type: [account\_WebAuthorizations](../types/account_WebAuthorizations.md) +### Return type: [account.WebAuthorizations](../types/account.WebAuthorizations.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_WebAuthorizations = $MadelineProto->account->getWebAuthorizations(); +$account.WebAuthorizations = $MadelineProto->account->getWebAuthorizations(); ``` Or, if you're into Lua: ```lua -account_WebAuthorizations = account.getWebAuthorizations({}) +account.WebAuthorizations = account.getWebAuthorizations({}) ``` diff --git a/old_docs/API_docs_v104/methods/account.initTakeoutSession.md b/old_docs/API_docs_v104/methods/account.initTakeoutSession.md index 01b3ae0f..3b8774b8 100644 --- a/old_docs/API_docs_v104/methods/account.initTakeoutSession.md +++ b/old_docs/API_docs_v104/methods/account.initTakeoutSession.md @@ -22,7 +22,7 @@ Intialize account takeout session |file\_max\_size|[int](../types/int.md) | Maximum size of files to export | Optional| -### Return type: [account\_Takeout](../types/account_Takeout.md) +### Return type: [account.Takeout](../types/account.Takeout.md) ### Can bots use this method: **NO** @@ -39,12 +39,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_Takeout = $MadelineProto->account->initTakeoutSession(['contacts' => Bool, 'message_users' => Bool, 'message_chats' => Bool, 'message_megagroups' => Bool, 'message_channels' => Bool, 'files' => Bool, 'file_max_size' => int, ]); +$account.Takeout = $MadelineProto->account->initTakeoutSession(['contacts' => Bool, 'message_users' => Bool, 'message_chats' => Bool, 'message_megagroups' => Bool, 'message_channels' => Bool, 'files' => Bool, 'file_max_size' => int, ]); ``` Or, if you're into Lua: ```lua -account_Takeout = account.initTakeoutSession({contacts=Bool, message_users=Bool, message_chats=Bool, message_megagroups=Bool, message_channels=Bool, files=Bool, file_max_size=int, }) +account.Takeout = account.initTakeoutSession({contacts=Bool, message_users=Bool, message_chats=Bool, message_megagroups=Bool, message_channels=Bool, files=Bool, file_max_size=int, }) ``` diff --git a/old_docs/API_docs_v104/methods/account.sendChangePhoneCode.md b/old_docs/API_docs_v104/methods/account.sendChangePhoneCode.md index 1efd192e..469a602d 100644 --- a/old_docs/API_docs_v104/methods/account.sendChangePhoneCode.md +++ b/old_docs/API_docs_v104/methods/account.sendChangePhoneCode.md @@ -17,7 +17,7 @@ Verify a new phone number to associate to the current account |settings|[CodeSettings](../types/CodeSettings.md) | Phone code settings | Yes| -### Return type: [auth\_SentCode](../types/auth_SentCode.md) +### Return type: [auth.SentCode](../types/auth.SentCode.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_SentCode = $MadelineProto->account->sendChangePhoneCode(['phone_number' => 'string', 'settings' => CodeSettings, ]); +$auth.SentCode = $MadelineProto->account->sendChangePhoneCode(['phone_number' => 'string', 'settings' => CodeSettings, ]); ``` Or, if you're into Lua: ```lua -auth_SentCode = account.sendChangePhoneCode({phone_number='string', settings=CodeSettings, }) +auth.SentCode = account.sendChangePhoneCode({phone_number='string', settings=CodeSettings, }) ``` ### Errors diff --git a/old_docs/API_docs_v104/methods/account.sendConfirmPhoneCode.md b/old_docs/API_docs_v104/methods/account.sendConfirmPhoneCode.md index bd8cf87e..1927681f 100644 --- a/old_docs/API_docs_v104/methods/account.sendConfirmPhoneCode.md +++ b/old_docs/API_docs_v104/methods/account.sendConfirmPhoneCode.md @@ -17,7 +17,7 @@ Send confirmation code to cancel account deletion, for more info [click here »] |settings|[CodeSettings](../types/CodeSettings.md) | Phone code settings | Yes| -### Return type: [auth\_SentCode](../types/auth_SentCode.md) +### Return type: [auth.SentCode](../types/auth.SentCode.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_SentCode = $MadelineProto->account->sendConfirmPhoneCode(['hash' => 'string', 'settings' => CodeSettings, ]); +$auth.SentCode = $MadelineProto->account->sendConfirmPhoneCode(['hash' => 'string', 'settings' => CodeSettings, ]); ``` Or, if you're into Lua: ```lua -auth_SentCode = account.sendConfirmPhoneCode({hash='string', settings=CodeSettings, }) +auth.SentCode = account.sendConfirmPhoneCode({hash='string', settings=CodeSettings, }) ``` ### Errors diff --git a/old_docs/API_docs_v104/methods/account.sendVerifyEmailCode.md b/old_docs/API_docs_v104/methods/account.sendVerifyEmailCode.md index 54b1fc3f..a4768852 100644 --- a/old_docs/API_docs_v104/methods/account.sendVerifyEmailCode.md +++ b/old_docs/API_docs_v104/methods/account.sendVerifyEmailCode.md @@ -16,7 +16,7 @@ Send the verification email code for telegram [passport](https://core.telegram.o |email|[string](../types/string.md) | The email where to send the code | Yes| -### Return type: [account\_SentEmailCode](../types/account_SentEmailCode.md) +### Return type: [account.SentEmailCode](../types/account.SentEmailCode.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_SentEmailCode = $MadelineProto->account->sendVerifyEmailCode(['email' => 'string', ]); +$account.SentEmailCode = $MadelineProto->account->sendVerifyEmailCode(['email' => 'string', ]); ``` Or, if you're into Lua: ```lua -account_SentEmailCode = account.sendVerifyEmailCode({email='string', }) +account.SentEmailCode = account.sendVerifyEmailCode({email='string', }) ``` diff --git a/old_docs/API_docs_v104/methods/account.sendVerifyPhoneCode.md b/old_docs/API_docs_v104/methods/account.sendVerifyPhoneCode.md index 0b058240..3ff2fae7 100644 --- a/old_docs/API_docs_v104/methods/account.sendVerifyPhoneCode.md +++ b/old_docs/API_docs_v104/methods/account.sendVerifyPhoneCode.md @@ -17,7 +17,7 @@ Send the verification phone code for telegram [passport](https://core.telegram.o |settings|[CodeSettings](../types/CodeSettings.md) | Phone code settings | Yes| -### Return type: [auth\_SentCode](../types/auth_SentCode.md) +### Return type: [auth.SentCode](../types/auth.SentCode.md) ### Can bots use this method: **NO** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_SentCode = $MadelineProto->account->sendVerifyPhoneCode(['phone_number' => 'string', 'settings' => CodeSettings, ]); +$auth.SentCode = $MadelineProto->account->sendVerifyPhoneCode(['phone_number' => 'string', 'settings' => CodeSettings, ]); ``` Or, if you're into Lua: ```lua -auth_SentCode = account.sendVerifyPhoneCode({phone_number='string', settings=CodeSettings, }) +auth.SentCode = account.sendVerifyPhoneCode({phone_number='string', settings=CodeSettings, }) ``` diff --git a/old_docs/API_docs_v104/methods/account.setPrivacy.md b/old_docs/API_docs_v104/methods/account.setPrivacy.md index 7c4cfba7..096d373e 100644 --- a/old_docs/API_docs_v104/methods/account.setPrivacy.md +++ b/old_docs/API_docs_v104/methods/account.setPrivacy.md @@ -17,7 +17,7 @@ Change privacy settings of current account |rules|Array of [InputPrivacyRule](../types/InputPrivacyRule.md) | Privacy settings | Yes| -### Return type: [account\_PrivacyRules](../types/account_PrivacyRules.md) +### Return type: [account.PrivacyRules](../types/account.PrivacyRules.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_PrivacyRules = $MadelineProto->account->setPrivacy(['key' => InputPrivacyKey, 'rules' => [InputPrivacyRule, InputPrivacyRule], ]); +$account.PrivacyRules = $MadelineProto->account->setPrivacy(['key' => InputPrivacyKey, 'rules' => [InputPrivacyRule, InputPrivacyRule], ]); ``` Or, if you're into Lua: ```lua -account_PrivacyRules = account.setPrivacy({key=InputPrivacyKey, rules={InputPrivacyRule}, }) +account.PrivacyRules = account.setPrivacy({key=InputPrivacyKey, rules={InputPrivacyRule}, }) ``` ### Errors diff --git a/old_docs/API_docs_v104/methods/api_README.md b/old_docs/API_docs_v104/methods/api_README.md index c70f45fd..9c3dfed2 100644 --- a/old_docs/API_docs_v104/methods/api_README.md +++ b/old_docs/API_docs_v104/methods/api_README.md @@ -80,15 +80,15 @@ $MadelineProto->[account->getAllSecureValues](account.getAllSecureValues.md)(\[\ ***

-$MadelineProto->[account->getAuthorizationForm](account.getAuthorizationForm.md)(\['bot_id' => [int](../types/int.md), 'scope' => [string](../types/string.md), 'public_key' => [string](../types/string.md), \]) === [$account\_AuthorizationForm](../types/account_AuthorizationForm.md) +$MadelineProto->[account->getAuthorizationForm](account.getAuthorizationForm.md)(\['bot_id' => [int](../types/int.md), 'scope' => [string](../types/string.md), 'public_key' => [string](../types/string.md), \]) === [$account.AuthorizationForm](../types/account.AuthorizationForm.md) ***

-$MadelineProto->[account->getAuthorizations](account.getAuthorizations.md)(\[\]) === [$account\_Authorizations](../types/account_Authorizations.md) +$MadelineProto->[account->getAuthorizations](account.getAuthorizations.md)(\[\]) === [$account.Authorizations](../types/account.Authorizations.md) ***

-$MadelineProto->[account->getAutoDownloadSettings](account.getAutoDownloadSettings.md)(\[\]) === [$account\_AutoDownloadSettings](../types/account_AutoDownloadSettings.md) +$MadelineProto->[account->getAutoDownloadSettings](account.getAutoDownloadSettings.md)(\[\]) === [$account.AutoDownloadSettings](../types/account.AutoDownloadSettings.md) ***

@@ -104,15 +104,15 @@ $MadelineProto->[account->getNotifySettings](account.getNotifySettings.md)(\['pe ***

-$MadelineProto->[account->getPassword](account.getPassword.md)(\[\]) === [$account\_Password](../types/account_Password.md) +$MadelineProto->[account->getPassword](account.getPassword.md)(\[\]) === [$account.Password](../types/account.Password.md) ***

-$MadelineProto->[account->getPasswordSettings](account.getPasswordSettings.md)(\['password' => [InputCheckPasswordSRP](../types/InputCheckPasswordSRP.md), \]) === [$account\_PasswordSettings](../types/account_PasswordSettings.md) +$MadelineProto->[account->getPasswordSettings](account.getPasswordSettings.md)(\['password' => [InputCheckPasswordSRP](../types/InputCheckPasswordSRP.md), \]) === [$account.PasswordSettings](../types/account.PasswordSettings.md) ***

-$MadelineProto->[account->getPrivacy](account.getPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), \]) === [$account\_PrivacyRules](../types/account_PrivacyRules.md) +$MadelineProto->[account->getPrivacy](account.getPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), \]) === [$account.PrivacyRules](../types/account.PrivacyRules.md) ***

@@ -120,7 +120,7 @@ $MadelineProto->[account->getSecureValue](account.getSecureValue.md)(\['types' = ***

-$MadelineProto->[account->getTmpPassword](account.getTmpPassword.md)(\['password' => [InputCheckPasswordSRP](../types/InputCheckPasswordSRP.md), 'period' => [int](../types/int.md), \]) === [$account\_TmpPassword](../types/account_TmpPassword.md) +$MadelineProto->[account->getTmpPassword](account.getTmpPassword.md)(\['password' => [InputCheckPasswordSRP](../types/InputCheckPasswordSRP.md), 'period' => [int](../types/int.md), \]) === [$account.TmpPassword](../types/account.TmpPassword.md) ***

@@ -128,15 +128,15 @@ $MadelineProto->[account->getWallPaper](account.getWallPaper.md)(\['wallpaper' = ***

-$MadelineProto->[account->getWallPapers](account.getWallPapers.md)(\['hash' => [int](../types/int.md), \]) === [$account\_WallPapers](../types/account_WallPapers.md) +$MadelineProto->[account->getWallPapers](account.getWallPapers.md)(\['hash' => [int](../types/int.md), \]) === [$account.WallPapers](../types/account.WallPapers.md) ***

-$MadelineProto->[account->getWebAuthorizations](account.getWebAuthorizations.md)(\[\]) === [$account\_WebAuthorizations](../types/account_WebAuthorizations.md) +$MadelineProto->[account->getWebAuthorizations](account.getWebAuthorizations.md)(\[\]) === [$account.WebAuthorizations](../types/account.WebAuthorizations.md) ***

-$MadelineProto->[account->initTakeoutSession](account.initTakeoutSession.md)(\['contacts' => [Bool](../types/Bool.md), 'message_users' => [Bool](../types/Bool.md), 'message_chats' => [Bool](../types/Bool.md), 'message_megagroups' => [Bool](../types/Bool.md), 'message_channels' => [Bool](../types/Bool.md), 'files' => [Bool](../types/Bool.md), 'file_max_size' => [int](../types/int.md), \]) === [$account\_Takeout](../types/account_Takeout.md) +$MadelineProto->[account->initTakeoutSession](account.initTakeoutSession.md)(\['contacts' => [Bool](../types/Bool.md), 'message_users' => [Bool](../types/Bool.md), 'message_chats' => [Bool](../types/Bool.md), 'message_megagroups' => [Bool](../types/Bool.md), 'message_channels' => [Bool](../types/Bool.md), 'files' => [Bool](../types/Bool.md), 'file_max_size' => [int](../types/int.md), \]) === [$account.Takeout](../types/account.Takeout.md) ***

@@ -188,19 +188,19 @@ $MadelineProto->[account->saveWallPaper](account.saveWallPaper.md)(\['wallpaper' ***

-$MadelineProto->[account->sendChangePhoneCode](account.sendChangePhoneCode.md)(\['phone_number' => [string](../types/string.md), 'settings' => [CodeSettings](../types/CodeSettings.md), \]) === [$auth\_SentCode](../types/auth_SentCode.md) +$MadelineProto->[account->sendChangePhoneCode](account.sendChangePhoneCode.md)(\['phone_number' => [string](../types/string.md), 'settings' => [CodeSettings](../types/CodeSettings.md), \]) === [$auth.SentCode](../types/auth.SentCode.md) ***

-$MadelineProto->[account->sendConfirmPhoneCode](account.sendConfirmPhoneCode.md)(\['hash' => [string](../types/string.md), 'settings' => [CodeSettings](../types/CodeSettings.md), \]) === [$auth\_SentCode](../types/auth_SentCode.md) +$MadelineProto->[account->sendConfirmPhoneCode](account.sendConfirmPhoneCode.md)(\['hash' => [string](../types/string.md), 'settings' => [CodeSettings](../types/CodeSettings.md), \]) === [$auth.SentCode](../types/auth.SentCode.md) ***

-$MadelineProto->[account->sendVerifyEmailCode](account.sendVerifyEmailCode.md)(\['email' => [string](../types/string.md), \]) === [$account\_SentEmailCode](../types/account_SentEmailCode.md) +$MadelineProto->[account->sendVerifyEmailCode](account.sendVerifyEmailCode.md)(\['email' => [string](../types/string.md), \]) === [$account.SentEmailCode](../types/account.SentEmailCode.md) ***

-$MadelineProto->[account->sendVerifyPhoneCode](account.sendVerifyPhoneCode.md)(\['phone_number' => [string](../types/string.md), 'settings' => [CodeSettings](../types/CodeSettings.md), \]) === [$auth\_SentCode](../types/auth_SentCode.md) +$MadelineProto->[account->sendVerifyPhoneCode](account.sendVerifyPhoneCode.md)(\['phone_number' => [string](../types/string.md), 'settings' => [CodeSettings](../types/CodeSettings.md), \]) === [$auth.SentCode](../types/auth.SentCode.md) ***

@@ -212,7 +212,7 @@ $MadelineProto->[account->setContactSignUpNotification](account.setContactSignUp ***

-$MadelineProto->[account->setPrivacy](account.setPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), 'rules' => \[[InputPrivacyRule](../types/InputPrivacyRule.md)\], \]) === [$account\_PrivacyRules](../types/account_PrivacyRules.md) +$MadelineProto->[account->setPrivacy](account.setPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), 'rules' => \[[InputPrivacyRule](../types/InputPrivacyRule.md)\], \]) === [$account.PrivacyRules](../types/account.PrivacyRules.md) ***

@@ -264,7 +264,7 @@ $MadelineProto->[auth->cancelCode](auth.cancelCode.md)(\['phone_number' => [stri ***

-$MadelineProto->[auth->checkPassword](auth.checkPassword.md)(\['password' => [InputCheckPasswordSRP](../types/InputCheckPasswordSRP.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->checkPassword](auth.checkPassword.md)(\['password' => [InputCheckPasswordSRP](../types/InputCheckPasswordSRP.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

@@ -272,15 +272,15 @@ $MadelineProto->[auth->dropTempAuthKeys](auth.dropTempAuthKeys.md)(\['except_aut ***

-$MadelineProto->[auth->exportAuthorization](auth.exportAuthorization.md)(\['dc_id' => [int](../types/int.md), \]) === [$auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) +$MadelineProto->[auth->exportAuthorization](auth.exportAuthorization.md)(\['dc_id' => [int](../types/int.md), \]) === [$auth.ExportedAuthorization](../types/auth.ExportedAuthorization.md) ***

-$MadelineProto->[auth->importAuthorization](auth.importAuthorization.md)(\['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->importAuthorization](auth.importAuthorization.md)(\['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

-$MadelineProto->[auth->importBotAuthorization](auth.importBotAuthorization.md)(\['api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), 'bot_auth_token' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->importBotAuthorization](auth.importBotAuthorization.md)(\['api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), 'bot_auth_token' => [string](../types/string.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

@@ -288,15 +288,15 @@ $MadelineProto->[auth->logOut](auth.logOut.md)(\[\]) === [$Bool](../types/Bool.m ***

-$MadelineProto->[auth->recoverPassword](auth.recoverPassword.md)(\['code' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->recoverPassword](auth.recoverPassword.md)(\['code' => [string](../types/string.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

-$MadelineProto->[auth->requestPasswordRecovery](auth.requestPasswordRecovery.md)(\[\]) === [$auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) +$MadelineProto->[auth->requestPasswordRecovery](auth.requestPasswordRecovery.md)(\[\]) === [$auth.PasswordRecovery](../types/auth.PasswordRecovery.md) ***

-$MadelineProto->[auth->resendCode](auth.resendCode.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), \]) === [$auth\_SentCode](../types/auth_SentCode.md) +$MadelineProto->[auth->resendCode](auth.resendCode.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), \]) === [$auth.SentCode](../types/auth.SentCode.md) ***

@@ -304,15 +304,15 @@ $MadelineProto->[auth->resetAuthorizations](auth.resetAuthorizations.md)(\[\]) = ***

-$MadelineProto->[auth->sendCode](auth.sendCode.md)(\['phone_number' => [string](../types/string.md), 'api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), 'settings' => [CodeSettings](../types/CodeSettings.md), \]) === [$auth\_SentCode](../types/auth_SentCode.md) +$MadelineProto->[auth->sendCode](auth.sendCode.md)(\['phone_number' => [string](../types/string.md), 'api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), 'settings' => [CodeSettings](../types/CodeSettings.md), \]) === [$auth.SentCode](../types/auth.SentCode.md) ***

-$MadelineProto->[auth->signIn](auth.signIn.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->signIn](auth.signIn.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

-$MadelineProto->[auth->signUp](auth.signUp.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->signUp](auth.signUp.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

@@ -340,11 +340,11 @@ $MadelineProto->[channels->deleteHistory](channels.deleteHistory.md)(\['channel' ***

-$MadelineProto->[channels->deleteMessages](channels.deleteMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) +$MadelineProto->[channels->deleteMessages](channels.deleteMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages.AffectedMessages](../types/messages.AffectedMessages.md) ***

-$MadelineProto->[channels->deleteUserHistory](channels.deleteUserHistory.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages\_AffectedHistory](../types/messages_AffectedHistory.md) +$MadelineProto->[channels->deleteUserHistory](channels.deleteUserHistory.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages.AffectedHistory](../types/messages.AffectedHistory.md) ***

@@ -376,39 +376,39 @@ $MadelineProto->[channels->exportMessageLink](channels.exportMessageLink.md)(\[' ***

-$MadelineProto->[channels->getAdminLog](channels.getAdminLog.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'q' => [string](../types/string.md), 'events_filter' => [ChannelAdminLogEventsFilter](../types/ChannelAdminLogEventsFilter.md), 'admins' => \[[InputUser](../types/InputUser.md)\], 'max_id' => [long](../types/long.md), 'min_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$channels\_AdminLogResults](../types/channels_AdminLogResults.md) +$MadelineProto->[channels->getAdminLog](channels.getAdminLog.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'q' => [string](../types/string.md), 'events_filter' => [ChannelAdminLogEventsFilter](../types/ChannelAdminLogEventsFilter.md), 'admins' => \[[InputUser](../types/InputUser.md)\], 'max_id' => [long](../types/long.md), 'min_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$channels.AdminLogResults](../types/channels.AdminLogResults.md) ***

-$MadelineProto->[channels->getAdminedPublicChannels](channels.getAdminedPublicChannels.md)(\['by_location' => [Bool](../types/Bool.md), 'check_limit' => [Bool](../types/Bool.md), \]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[channels->getAdminedPublicChannels](channels.getAdminedPublicChannels.md)(\['by_location' => [Bool](../types/Bool.md), 'check_limit' => [Bool](../types/Bool.md), \]) === [$messages.Chats](../types/messages.Chats.md) ***

-$MadelineProto->[channels->getChannels](channels.getChannels.md)(\['id' => \[[InputChannel](../types/InputChannel.md)\], \]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[channels->getChannels](channels.getChannels.md)(\['id' => \[[InputChannel](../types/InputChannel.md)\], \]) === [$messages.Chats](../types/messages.Chats.md) ***

-$MadelineProto->[channels->getFullChannel](channels.getFullChannel.md)(\['channel' => [InputChannel](../types/InputChannel.md), \]) === [$messages\_ChatFull](../types/messages_ChatFull.md) +$MadelineProto->[channels->getFullChannel](channels.getFullChannel.md)(\['channel' => [InputChannel](../types/InputChannel.md), \]) === [$messages.ChatFull](../types/messages.ChatFull.md) ***

-$MadelineProto->[channels->getGroupsForDiscussion](channels.getGroupsForDiscussion.md)(\[\]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[channels->getGroupsForDiscussion](channels.getGroupsForDiscussion.md)(\[\]) === [$messages.Chats](../types/messages.Chats.md) ***

-$MadelineProto->[channels->getLeftChannels](channels.getLeftChannels.md)(\['offset' => [int](../types/int.md), \]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[channels->getLeftChannels](channels.getLeftChannels.md)(\['offset' => [int](../types/int.md), \]) === [$messages.Chats](../types/messages.Chats.md) ***

-$MadelineProto->[channels->getMessages](channels.getMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[InputMessage](../types/InputMessage.md)\], \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[channels->getMessages](channels.getMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[InputMessage](../types/InputMessage.md)\], \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[channels->getParticipant](channels.getParticipant.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$channels\_ChannelParticipant](../types/channels_ChannelParticipant.md) +$MadelineProto->[channels->getParticipant](channels.getParticipant.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$channels.ChannelParticipant](../types/channels.ChannelParticipant.md) ***

-$MadelineProto->[channels->getParticipants](channels.getParticipants.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$channels\_ChannelParticipants](../types/channels_ChannelParticipants.md) +$MadelineProto->[channels->getParticipants](channels.getParticipants.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$channels.ChannelParticipants](../types/channels.ChannelParticipants.md) ***

@@ -480,7 +480,7 @@ $MadelineProto->[contacts->deleteContacts](contacts.deleteContacts.md)(\['id' => ***

-$MadelineProto->[contacts->getBlocked](contacts.getBlocked.md)(\['offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$contacts\_Blocked](../types/contacts_Blocked.md) +$MadelineProto->[contacts->getBlocked](contacts.getBlocked.md)(\['offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$contacts.Blocked](../types/contacts.Blocked.md) ***

@@ -488,7 +488,7 @@ $MadelineProto->[contacts->getContactIDs](contacts.getContactIDs.md)(\['hash' => ***

-$MadelineProto->[contacts->getContacts](contacts.getContacts.md)(\['hash' => [int](../types/int.md), \]) === [$contacts\_Contacts](../types/contacts_Contacts.md) +$MadelineProto->[contacts->getContacts](contacts.getContacts.md)(\['hash' => [int](../types/int.md), \]) === [$contacts.Contacts](../types/contacts.Contacts.md) ***

@@ -504,11 +504,11 @@ $MadelineProto->[contacts->getStatuses](contacts.getStatuses.md)(\[\]) === [$Vec ***

-$MadelineProto->[contacts->getTopPeers](contacts.getTopPeers.md)(\['correspondents' => [Bool](../types/Bool.md), 'bots_pm' => [Bool](../types/Bool.md), 'bots_inline' => [Bool](../types/Bool.md), 'phone_calls' => [Bool](../types/Bool.md), 'forward_users' => [Bool](../types/Bool.md), 'forward_chats' => [Bool](../types/Bool.md), 'groups' => [Bool](../types/Bool.md), 'channels' => [Bool](../types/Bool.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$contacts\_TopPeers](../types/contacts_TopPeers.md) +$MadelineProto->[contacts->getTopPeers](contacts.getTopPeers.md)(\['correspondents' => [Bool](../types/Bool.md), 'bots_pm' => [Bool](../types/Bool.md), 'bots_inline' => [Bool](../types/Bool.md), 'phone_calls' => [Bool](../types/Bool.md), 'forward_users' => [Bool](../types/Bool.md), 'forward_chats' => [Bool](../types/Bool.md), 'groups' => [Bool](../types/Bool.md), 'channels' => [Bool](../types/Bool.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$contacts.TopPeers](../types/contacts.TopPeers.md) ***

-$MadelineProto->[contacts->importContacts](contacts.importContacts.md)(\['contacts' => \[[InputContact](../types/InputContact.md)\], \]) === [$contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) +$MadelineProto->[contacts->importContacts](contacts.importContacts.md)(\['contacts' => \[[InputContact](../types/InputContact.md)\], \]) === [$contacts.ImportedContacts](../types/contacts.ImportedContacts.md) ***

@@ -520,11 +520,11 @@ $MadelineProto->[contacts->resetTopPeerRating](contacts.resetTopPeerRating.md)(\ ***

-$MadelineProto->[contacts->resolveUsername](contacts.resolveUsername.md)(\['username' => [string](../types/string.md), \]) === [$contacts\_ResolvedPeer](../types/contacts_ResolvedPeer.md) +$MadelineProto->[contacts->resolveUsername](contacts.resolveUsername.md)(\['username' => [string](../types/string.md), \]) === [$contacts.ResolvedPeer](../types/contacts.ResolvedPeer.md) ***

-$MadelineProto->[contacts->search](contacts.search.md)(\['q' => [string](../types/string.md), 'limit' => [int](../types/int.md), \]) === [$contacts\_Found](../types/contacts_Found.md) +$MadelineProto->[contacts->search](contacts.search.md)(\['q' => [string](../types/string.md), 'limit' => [int](../types/int.md), \]) === [$contacts.Found](../types/contacts.Found.md) ***

@@ -548,7 +548,7 @@ $MadelineProto->[help->acceptTermsOfService](help.acceptTermsOfService.md)(\['id ***

-$MadelineProto->[help->editUserInfo](help.editUserInfo.md)(\['user_id' => [InputUser](../types/InputUser.md), 'message' => [string](../types/string.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], \]) === [$help\_UserInfo](../types/help_UserInfo.md) +$MadelineProto->[help->editUserInfo](help.editUserInfo.md)(\['user_id' => [InputUser](../types/InputUser.md), 'message' => [string](../types/string.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], \]) === [$help.UserInfo](../types/help.UserInfo.md) ***

@@ -560,7 +560,7 @@ $MadelineProto->[help->getAppConfig](help.getAppConfig.md)(\[\]) === [$JSONValue ***

-$MadelineProto->[help->getAppUpdate](help.getAppUpdate.md)(\['source' => [string](../types/string.md), \]) === [$help\_AppUpdate](../types/help_AppUpdate.md) +$MadelineProto->[help->getAppUpdate](help.getAppUpdate.md)(\['source' => [string](../types/string.md), \]) === [$help.AppUpdate](../types/help.AppUpdate.md) ***

@@ -572,11 +572,11 @@ $MadelineProto->[help->getConfig](help.getConfig.md)(\[\]) === [$Config](../type ***

-$MadelineProto->[help->getDeepLinkInfo](help.getDeepLinkInfo.md)(\['path' => [string](../types/string.md), \]) === [$help\_DeepLinkInfo](../types/help_DeepLinkInfo.md) +$MadelineProto->[help->getDeepLinkInfo](help.getDeepLinkInfo.md)(\['path' => [string](../types/string.md), \]) === [$help.DeepLinkInfo](../types/help.DeepLinkInfo.md) ***

-$MadelineProto->[help->getInviteText](help.getInviteText.md)(\[\]) === [$help\_InviteText](../types/help_InviteText.md) +$MadelineProto->[help->getInviteText](help.getInviteText.md)(\[\]) === [$help.InviteText](../types/help.InviteText.md) ***

@@ -584,31 +584,31 @@ $MadelineProto->[help->getNearestDc](help.getNearestDc.md)(\[\]) === [$NearestDc ***

-$MadelineProto->[help->getPassportConfig](help.getPassportConfig.md)(\['hash' => [int](../types/int.md), \]) === [$help\_PassportConfig](../types/help_PassportConfig.md) +$MadelineProto->[help->getPassportConfig](help.getPassportConfig.md)(\['hash' => [int](../types/int.md), \]) === [$help.PassportConfig](../types/help.PassportConfig.md) ***

-$MadelineProto->[help->getProxyData](help.getProxyData.md)(\[\]) === [$help\_ProxyData](../types/help_ProxyData.md) +$MadelineProto->[help->getProxyData](help.getProxyData.md)(\[\]) === [$help.ProxyData](../types/help.ProxyData.md) ***

-$MadelineProto->[help->getRecentMeUrls](help.getRecentMeUrls.md)(\['referer' => [string](../types/string.md), \]) === [$help\_RecentMeUrls](../types/help_RecentMeUrls.md) +$MadelineProto->[help->getRecentMeUrls](help.getRecentMeUrls.md)(\['referer' => [string](../types/string.md), \]) === [$help.RecentMeUrls](../types/help.RecentMeUrls.md) ***

-$MadelineProto->[help->getSupport](help.getSupport.md)(\[\]) === [$help\_Support](../types/help_Support.md) +$MadelineProto->[help->getSupport](help.getSupport.md)(\[\]) === [$help.Support](../types/help.Support.md) ***

-$MadelineProto->[help->getSupportName](help.getSupportName.md)(\[\]) === [$help\_SupportName](../types/help_SupportName.md) +$MadelineProto->[help->getSupportName](help.getSupportName.md)(\[\]) === [$help.SupportName](../types/help.SupportName.md) ***

-$MadelineProto->[help->getTermsOfServiceUpdate](help.getTermsOfServiceUpdate.md)(\[\]) === [$help\_TermsOfServiceUpdate](../types/help_TermsOfServiceUpdate.md) +$MadelineProto->[help->getTermsOfServiceUpdate](help.getTermsOfServiceUpdate.md)(\[\]) === [$help.TermsOfServiceUpdate](../types/help.TermsOfServiceUpdate.md) ***

-$MadelineProto->[help->getUserInfo](help.getUserInfo.md)(\['user_id' => [InputUser](../types/InputUser.md), \]) === [$help\_UserInfo](../types/help_UserInfo.md) +$MadelineProto->[help->getUserInfo](help.getUserInfo.md)(\['user_id' => [InputUser](../types/InputUser.md), \]) === [$help.UserInfo](../types/help.UserInfo.md) ***

@@ -700,11 +700,11 @@ $MadelineProto->[messages->deleteChatUser](messages.deleteChatUser.md)(\['chat_i ***

-$MadelineProto->[messages->deleteHistory](messages.deleteHistory.md)(\['just_clear' => [Bool](../types/Bool.md), 'revoke' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), \]) === [$messages\_AffectedHistory](../types/messages_AffectedHistory.md) +$MadelineProto->[messages->deleteHistory](messages.deleteHistory.md)(\['just_clear' => [Bool](../types/Bool.md), 'revoke' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), \]) === [$messages.AffectedHistory](../types/messages.AffectedHistory.md) ***

-$MadelineProto->[messages->deleteMessages](messages.deleteMessages.md)(\['revoke' => [Bool](../types/Bool.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) +$MadelineProto->[messages->deleteMessages](messages.deleteMessages.md)(\['revoke' => [Bool](../types/Bool.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages.AffectedMessages](../types/messages.AffectedMessages.md) ***

@@ -752,7 +752,7 @@ $MadelineProto->[messages->forwardMessages](messages.forwardMessages.md)(\['sile ***

-$MadelineProto->[messages->getAllChats](messages.getAllChats.md)(\['except_ids' => \[[int](../types/int.md)\], \]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[messages->getAllChats](messages.getAllChats.md)(\['except_ids' => \[[int](../types/int.md)\], \]) === [$messages.Chats](../types/messages.Chats.md) ***

@@ -760,11 +760,11 @@ $MadelineProto->[messages->getAllDrafts](messages.getAllDrafts.md)(\[\]) === [$U ***

-$MadelineProto->[messages->getAllStickers](messages.getAllStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages\_AllStickers](../types/messages_AllStickers.md) +$MadelineProto->[messages->getAllStickers](messages.getAllStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages.AllStickers](../types/messages.AllStickers.md) ***

-$MadelineProto->[messages->getArchivedStickers](messages.getArchivedStickers.md)(\['masks' => [Bool](../types/Bool.md), 'offset_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$messages\_ArchivedStickers](../types/messages_ArchivedStickers.md) +$MadelineProto->[messages->getArchivedStickers](messages.getArchivedStickers.md)(\['masks' => [Bool](../types/Bool.md), 'offset_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$messages.ArchivedStickers](../types/messages.ArchivedStickers.md) ***

@@ -772,19 +772,19 @@ $MadelineProto->[messages->getAttachedStickers](messages.getAttachedStickers.md) ***

-$MadelineProto->[messages->getBotCallbackAnswer](messages.getBotCallbackAnswer.md)(\['game' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'msg_id' => [int](../types/int.md), 'data' => [bytes](../types/bytes.md), \]) === [$messages\_BotCallbackAnswer](../types/messages_BotCallbackAnswer.md) +$MadelineProto->[messages->getBotCallbackAnswer](messages.getBotCallbackAnswer.md)(\['game' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'msg_id' => [int](../types/int.md), 'data' => [bytes](../types/bytes.md), \]) === [$messages.BotCallbackAnswer](../types/messages.BotCallbackAnswer.md) ***

-$MadelineProto->[messages->getChats](messages.getChats.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[messages->getChats](messages.getChats.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages.Chats](../types/messages.Chats.md) ***

-$MadelineProto->[messages->getCommonChats](messages.getCommonChats.md)(\['user_id' => [InputUser](../types/InputUser.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[messages->getCommonChats](messages.getCommonChats.md)(\['user_id' => [InputUser](../types/InputUser.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages.Chats](../types/messages.Chats.md) ***

-$MadelineProto->[messages->getDhConfig](messages.getDhConfig.md)(\['version' => [int](../types/int.md), 'random_length' => [int](../types/int.md), \]) === [$messages\_DhConfig](../types/messages_DhConfig.md) +$MadelineProto->[messages->getDhConfig](messages.getDhConfig.md)(\['version' => [int](../types/int.md), 'random_length' => [int](../types/int.md), \]) === [$messages.DhConfig](../types/messages.DhConfig.md) ***

@@ -792,7 +792,7 @@ $MadelineProto->[messages->getDialogUnreadMarks](messages.getDialogUnreadMarks.m ***

-$MadelineProto->[messages->getDialogs](messages.getDialogs.md)(\['exclude_pinned' => [Bool](../types/Bool.md), 'folder_id' => [int](../types/int.md), 'offset_date' => [int](../types/int.md), 'offset_id' => [int](../types/int.md), 'offset_peer' => [InputPeer](../types/InputPeer.md), 'limit' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$messages\_Dialogs](../types/messages_Dialogs.md) +$MadelineProto->[messages->getDialogs](messages.getDialogs.md)(\['exclude_pinned' => [Bool](../types/Bool.md), 'folder_id' => [int](../types/int.md), 'offset_date' => [int](../types/int.md), 'offset_id' => [int](../types/int.md), 'offset_peer' => [InputPeer](../types/InputPeer.md), 'limit' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$messages.Dialogs](../types/messages.Dialogs.md) ***

@@ -816,43 +816,43 @@ $MadelineProto->[messages->getEmojiURL](messages.getEmojiURL.md)(\['lang_code' = ***

-$MadelineProto->[messages->getFavedStickers](messages.getFavedStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages\_FavedStickers](../types/messages_FavedStickers.md) +$MadelineProto->[messages->getFavedStickers](messages.getFavedStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages.FavedStickers](../types/messages.FavedStickers.md) ***

-$MadelineProto->[messages->getFeaturedStickers](messages.getFeaturedStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages\_FeaturedStickers](../types/messages_FeaturedStickers.md) +$MadelineProto->[messages->getFeaturedStickers](messages.getFeaturedStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages.FeaturedStickers](../types/messages.FeaturedStickers.md) ***

-$MadelineProto->[messages->getFullChat](messages.getFullChat.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), \]) === [$messages\_ChatFull](../types/messages_ChatFull.md) +$MadelineProto->[messages->getFullChat](messages.getFullChat.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), \]) === [$messages.ChatFull](../types/messages.ChatFull.md) ***

-$MadelineProto->[messages->getGameHighScores](messages.getGameHighScores.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages\_HighScores](../types/messages_HighScores.md) +$MadelineProto->[messages->getGameHighScores](messages.getGameHighScores.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages.HighScores](../types/messages.HighScores.md) ***

-$MadelineProto->[messages->getHistory](messages.getHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'offset_date' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->getHistory](messages.getHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'offset_date' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[messages->getInlineBotResults](messages.getInlineBotResults.md)(\['bot' => [InputUser](../types/InputUser.md), 'peer' => [InputPeer](../types/InputPeer.md), 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'query' => [string](../types/string.md), 'offset' => [string](../types/string.md), \]) === [$messages\_BotResults](../types/messages_BotResults.md) +$MadelineProto->[messages->getInlineBotResults](messages.getInlineBotResults.md)(\['bot' => [InputUser](../types/InputUser.md), 'peer' => [InputPeer](../types/InputPeer.md), 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'query' => [string](../types/string.md), 'offset' => [string](../types/string.md), \]) === [$messages.BotResults](../types/messages.BotResults.md) ***

-$MadelineProto->[messages->getInlineGameHighScores](messages.getInlineGameHighScores.md)(\['id' => [InputBotInlineMessageID](../types/InputBotInlineMessageID.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages\_HighScores](../types/messages_HighScores.md) +$MadelineProto->[messages->getInlineGameHighScores](messages.getInlineGameHighScores.md)(\['id' => [InputBotInlineMessageID](../types/InputBotInlineMessageID.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages.HighScores](../types/messages.HighScores.md) ***

-$MadelineProto->[messages->getMaskStickers](messages.getMaskStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages\_AllStickers](../types/messages_AllStickers.md) +$MadelineProto->[messages->getMaskStickers](messages.getMaskStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages.AllStickers](../types/messages.AllStickers.md) ***

-$MadelineProto->[messages->getMessageEditData](messages.getMessageEditData.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), \]) === [$messages\_MessageEditData](../types/messages_MessageEditData.md) +$MadelineProto->[messages->getMessageEditData](messages.getMessageEditData.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), \]) === [$messages.MessageEditData](../types/messages.MessageEditData.md) ***

-$MadelineProto->[messages->getMessages](messages.getMessages.md)(\['id' => \[[InputMessage](../types/InputMessage.md)\], \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->getMessages](messages.getMessages.md)(\['id' => \[[InputMessage](../types/InputMessage.md)\], \]) === [$messages.Messages](../types/messages.Messages.md) ***

@@ -864,7 +864,7 @@ $MadelineProto->[messages->getOnlines](messages.getOnlines.md)(\['peer' => [Inpu ***

-$MadelineProto->[messages->getPeerDialogs](messages.getPeerDialogs.md)(\['peers' => \[[InputDialogPeer](../types/InputDialogPeer.md)\], \]) === [$messages\_PeerDialogs](../types/messages_PeerDialogs.md) +$MadelineProto->[messages->getPeerDialogs](messages.getPeerDialogs.md)(\['peers' => \[[InputDialogPeer](../types/InputDialogPeer.md)\], \]) === [$messages.PeerDialogs](../types/messages.PeerDialogs.md) ***

@@ -872,7 +872,7 @@ $MadelineProto->[messages->getPeerSettings](messages.getPeerSettings.md)(\['peer ***

-$MadelineProto->[messages->getPinnedDialogs](messages.getPinnedDialogs.md)(\['folder_id' => [int](../types/int.md), \]) === [$messages\_PeerDialogs](../types/messages_PeerDialogs.md) +$MadelineProto->[messages->getPinnedDialogs](messages.getPinnedDialogs.md)(\['folder_id' => [int](../types/int.md), \]) === [$messages.PeerDialogs](../types/messages.PeerDialogs.md) ***

@@ -880,19 +880,19 @@ $MadelineProto->[messages->getPollResults](messages.getPollResults.md)(\['peer' ***

-$MadelineProto->[messages->getRecentLocations](messages.getRecentLocations.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'limit' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->getRecentLocations](messages.getRecentLocations.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'limit' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[messages->getRecentStickers](messages.getRecentStickers.md)(\['attached' => [Bool](../types/Bool.md), 'hash' => [int](../types/int.md), \]) === [$messages\_RecentStickers](../types/messages_RecentStickers.md) +$MadelineProto->[messages->getRecentStickers](messages.getRecentStickers.md)(\['attached' => [Bool](../types/Bool.md), 'hash' => [int](../types/int.md), \]) === [$messages.RecentStickers](../types/messages.RecentStickers.md) ***

-$MadelineProto->[messages->getSavedGifs](messages.getSavedGifs.md)(\['hash' => [int](../types/int.md), \]) === [$messages\_SavedGifs](../types/messages_SavedGifs.md) +$MadelineProto->[messages->getSavedGifs](messages.getSavedGifs.md)(\['hash' => [int](../types/int.md), \]) === [$messages.SavedGifs](../types/messages.SavedGifs.md) ***

-$MadelineProto->[messages->getSearchCounters](messages.getSearchCounters.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'filters' => \[[MessagesFilter](../types/MessagesFilter.md)\], \]) === [$Vector\_of\_messages\_SearchCounter](../types/messages_SearchCounter.md) +$MadelineProto->[messages->getSearchCounters](messages.getSearchCounters.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'filters' => \[[MessagesFilter](../types/MessagesFilter.md)\], \]) === [$Vector\_of\_messages.SearchCounter](../types/messages.SearchCounter.md) ***

@@ -904,15 +904,15 @@ $MadelineProto->[messages->getStatsURL](messages.getStatsURL.md)(\['dark' => [Bo ***

-$MadelineProto->[messages->getStickerSet](messages.getStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), \]) === [$messages\_StickerSet](../types/messages_StickerSet.md) +$MadelineProto->[messages->getStickerSet](messages.getStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), \]) === [$messages.StickerSet](../types/messages.StickerSet.md) ***

-$MadelineProto->[messages->getStickers](messages.getStickers.md)(\['emoticon' => [string](../types/string.md), 'hash' => [int](../types/int.md), \]) === [$messages\_Stickers](../types/messages_Stickers.md) +$MadelineProto->[messages->getStickers](messages.getStickers.md)(\['emoticon' => [string](../types/string.md), 'hash' => [int](../types/int.md), \]) === [$messages.Stickers](../types/messages.Stickers.md) ***

-$MadelineProto->[messages->getUnreadMentions](messages.getUnreadMentions.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->getUnreadMentions](messages.getUnreadMentions.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

@@ -932,7 +932,7 @@ $MadelineProto->[messages->importChatInvite](messages.importChatInvite.md)(\['ha ***

-$MadelineProto->[messages->installStickerSet](messages.installStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), 'archived' => [Bool](../types/Bool.md), \]) === [$messages\_StickerSetInstallResult](../types/messages_StickerSetInstallResult.md) +$MadelineProto->[messages->installStickerSet](messages.installStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), 'archived' => [Bool](../types/Bool.md), \]) === [$messages.StickerSetInstallResult](../types/messages.StickerSetInstallResult.md) ***

@@ -952,15 +952,15 @@ $MadelineProto->[messages->readFeaturedStickers](messages.readFeaturedStickers.m ***

-$MadelineProto->[messages->readHistory](messages.readHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), \]) === [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) +$MadelineProto->[messages->readHistory](messages.readHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), \]) === [$messages.AffectedMessages](../types/messages.AffectedMessages.md) ***

-$MadelineProto->[messages->readMentions](messages.readMentions.md)(\['peer' => [InputPeer](../types/InputPeer.md), \]) === [$messages\_AffectedHistory](../types/messages_AffectedHistory.md) +$MadelineProto->[messages->readMentions](messages.readMentions.md)(\['peer' => [InputPeer](../types/InputPeer.md), \]) === [$messages.AffectedHistory](../types/messages.AffectedHistory.md) ***

-$MadelineProto->[messages->readMessageContents](messages.readMessageContents.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) +$MadelineProto->[messages->readMessageContents](messages.readMessageContents.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages.AffectedMessages](../types/messages.AffectedMessages.md) ***

@@ -1012,31 +1012,31 @@ $MadelineProto->[messages->saveRecentSticker](messages.saveRecentSticker.md)(\[' ***

-$MadelineProto->[messages->search](messages.search.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'q' => [string](../types/string.md), 'from_id' => [InputUser](../types/InputUser.md), 'filter' => [MessagesFilter](../types/MessagesFilter.md), 'min_date' => [int](../types/int.md), 'max_date' => [int](../types/int.md), 'offset_id' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->search](messages.search.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'q' => [string](../types/string.md), 'from_id' => [InputUser](../types/InputUser.md), 'filter' => [MessagesFilter](../types/MessagesFilter.md), 'min_date' => [int](../types/int.md), 'max_date' => [int](../types/int.md), 'offset_id' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[messages->searchGifs](messages.searchGifs.md)(\['q' => [string](../types/string.md), 'offset' => [int](../types/int.md), \]) === [$messages\_FoundGifs](../types/messages_FoundGifs.md) +$MadelineProto->[messages->searchGifs](messages.searchGifs.md)(\['q' => [string](../types/string.md), 'offset' => [int](../types/int.md), \]) === [$messages.FoundGifs](../types/messages.FoundGifs.md) ***

-$MadelineProto->[messages->searchGlobal](messages.searchGlobal.md)(\['folder_id' => [int](../types/int.md), 'q' => [string](../types/string.md), 'offset_rate' => [int](../types/int.md), 'offset_peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->searchGlobal](messages.searchGlobal.md)(\['folder_id' => [int](../types/int.md), 'q' => [string](../types/string.md), 'offset_rate' => [int](../types/int.md), 'offset_peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[messages->searchStickerSets](messages.searchStickerSets.md)(\['exclude_featured' => [Bool](../types/Bool.md), 'q' => [string](../types/string.md), 'hash' => [int](../types/int.md), \]) === [$messages\_FoundStickerSets](../types/messages_FoundStickerSets.md) +$MadelineProto->[messages->searchStickerSets](messages.searchStickerSets.md)(\['exclude_featured' => [Bool](../types/Bool.md), 'q' => [string](../types/string.md), 'hash' => [int](../types/int.md), \]) === [$messages.FoundStickerSets](../types/messages.FoundStickerSets.md) ***

-$MadelineProto->[messages->sendEncrypted](messages.sendEncrypted.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'message' => [DecryptedMessage](../types/DecryptedMessage.md), \]) === [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +$MadelineProto->[messages->sendEncrypted](messages.sendEncrypted.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), \]) === [$messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ***

-$MadelineProto->[messages->sendEncryptedFile](messages.sendEncryptedFile.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'message' => [DecryptedMessage](../types/DecryptedMessage.md), 'file' => [InputEncryptedFile](../types/InputEncryptedFile.md), \]) === [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +$MadelineProto->[messages->sendEncryptedFile](messages.sendEncryptedFile.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), 'file' => [InputEncryptedFile](../types/InputEncryptedFile.md), \]) === [$messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ***

-$MadelineProto->[messages->sendEncryptedService](messages.sendEncryptedService.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'message' => [DecryptedMessage](../types/DecryptedMessage.md), \]) === [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +$MadelineProto->[messages->sendEncryptedService](messages.sendEncryptedService.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), \]) === [$messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ***

@@ -1124,31 +1124,31 @@ $MadelineProto->[payments->clearSavedInfo](payments.clearSavedInfo.md)(\['creden ***

-$MadelineProto->[payments->getPaymentForm](payments.getPaymentForm.md)(\['msg_id' => [int](../types/int.md), \]) === [$payments\_PaymentForm](../types/payments_PaymentForm.md) +$MadelineProto->[payments->getPaymentForm](payments.getPaymentForm.md)(\['msg_id' => [int](../types/int.md), \]) === [$payments.PaymentForm](../types/payments.PaymentForm.md) ***

-$MadelineProto->[payments->getPaymentReceipt](payments.getPaymentReceipt.md)(\['msg_id' => [int](../types/int.md), \]) === [$payments\_PaymentReceipt](../types/payments_PaymentReceipt.md) +$MadelineProto->[payments->getPaymentReceipt](payments.getPaymentReceipt.md)(\['msg_id' => [int](../types/int.md), \]) === [$payments.PaymentReceipt](../types/payments.PaymentReceipt.md) ***

-$MadelineProto->[payments->getSavedInfo](payments.getSavedInfo.md)(\[\]) === [$payments\_SavedInfo](../types/payments_SavedInfo.md) +$MadelineProto->[payments->getSavedInfo](payments.getSavedInfo.md)(\[\]) === [$payments.SavedInfo](../types/payments.SavedInfo.md) ***

-$MadelineProto->[payments->sendPaymentForm](payments.sendPaymentForm.md)(\['msg_id' => [int](../types/int.md), 'requested_info_id' => [string](../types/string.md), 'shipping_option_id' => [string](../types/string.md), 'credentials' => [InputPaymentCredentials](../types/InputPaymentCredentials.md), \]) === [$payments\_PaymentResult](../types/payments_PaymentResult.md) +$MadelineProto->[payments->sendPaymentForm](payments.sendPaymentForm.md)(\['msg_id' => [int](../types/int.md), 'requested_info_id' => [string](../types/string.md), 'shipping_option_id' => [string](../types/string.md), 'credentials' => [InputPaymentCredentials](../types/InputPaymentCredentials.md), \]) === [$payments.PaymentResult](../types/payments.PaymentResult.md) ***

-$MadelineProto->[payments->validateRequestedInfo](payments.validateRequestedInfo.md)(\['save' => [Bool](../types/Bool.md), 'msg_id' => [int](../types/int.md), 'info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), \]) === [$payments\_ValidatedRequestedInfo](../types/payments_ValidatedRequestedInfo.md) +$MadelineProto->[payments->validateRequestedInfo](payments.validateRequestedInfo.md)(\['save' => [Bool](../types/Bool.md), 'msg_id' => [int](../types/int.md), 'info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), \]) === [$payments.ValidatedRequestedInfo](../types/payments.ValidatedRequestedInfo.md) ***

-$MadelineProto->[phone->acceptCall](phone.acceptCall.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'g_b' => [bytes](../types/bytes.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone\_PhoneCall](../types/phone_PhoneCall.md) +$MadelineProto->[phone->acceptCall](phone.acceptCall.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'g_b' => [bytes](../types/bytes.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone.PhoneCall](../types/phone.PhoneCall.md) ***

-$MadelineProto->[phone->confirmCall](phone.confirmCall.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'g_a' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone\_PhoneCall](../types/phone_PhoneCall.md) +$MadelineProto->[phone->confirmCall](phone.confirmCall.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'g_a' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone.PhoneCall](../types/phone.PhoneCall.md) ***

@@ -1164,7 +1164,7 @@ $MadelineProto->[phone->receivedCall](phone.receivedCall.md)(\['peer' => [InputP ***

-$MadelineProto->[phone->requestCall](phone.requestCall.md)(\['video' => [Bool](../types/Bool.md), 'user_id' => [InputUser](../types/InputUser.md), 'g_a_hash' => [bytes](../types/bytes.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone\_PhoneCall](../types/phone_PhoneCall.md) +$MadelineProto->[phone->requestCall](phone.requestCall.md)(\['video' => [Bool](../types/Bool.md), 'user_id' => [InputUser](../types/InputUser.md), 'g_a_hash' => [bytes](../types/bytes.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone.PhoneCall](../types/phone.PhoneCall.md) ***

@@ -1180,7 +1180,7 @@ $MadelineProto->[photos->deletePhotos](photos.deletePhotos.md)(\['id' => \[[Inpu ***

-$MadelineProto->[photos->getUserPhotos](photos.getUserPhotos.md)(\['user_id' => [InputUser](../types/InputUser.md), 'offset' => [int](../types/int.md), 'max_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$photos\_Photos](../types/photos_Photos.md) +$MadelineProto->[photos->getUserPhotos](photos.getUserPhotos.md)(\['user_id' => [InputUser](../types/InputUser.md), 'offset' => [int](../types/int.md), 'max_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$photos.Photos](../types/photos.Photos.md) ***

@@ -1188,39 +1188,39 @@ $MadelineProto->[photos->updateProfilePhoto](photos.updateProfilePhoto.md)(\['id ***

-$MadelineProto->[photos->uploadProfilePhoto](photos.uploadProfilePhoto.md)(\['file' => [InputFile](../types/InputFile.md), \]) === [$photos\_Photo](../types/photos_Photo.md) +$MadelineProto->[photos->uploadProfilePhoto](photos.uploadProfilePhoto.md)(\['file' => [InputFile](../types/InputFile.md), \]) === [$photos.Photo](../types/photos.Photo.md) ***

-$MadelineProto->[stickers->addStickerToSet](stickers.addStickerToSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), 'sticker' => [InputStickerSetItem](../types/InputStickerSetItem.md), \]) === [$messages\_StickerSet](../types/messages_StickerSet.md) +$MadelineProto->[stickers->addStickerToSet](stickers.addStickerToSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), 'sticker' => [InputStickerSetItem](../types/InputStickerSetItem.md), \]) === [$messages.StickerSet](../types/messages.StickerSet.md) ***

-$MadelineProto->[stickers->changeStickerPosition](stickers.changeStickerPosition.md)(\['sticker' => [InputDocument](../types/InputDocument.md), 'position' => [int](../types/int.md), \]) === [$messages\_StickerSet](../types/messages_StickerSet.md) +$MadelineProto->[stickers->changeStickerPosition](stickers.changeStickerPosition.md)(\['sticker' => [InputDocument](../types/InputDocument.md), 'position' => [int](../types/int.md), \]) === [$messages.StickerSet](../types/messages.StickerSet.md) ***

-$MadelineProto->[stickers->createStickerSet](stickers.createStickerSet.md)(\['masks' => [Bool](../types/Bool.md), 'user_id' => [InputUser](../types/InputUser.md), 'title' => [string](../types/string.md), 'short_name' => [string](../types/string.md), 'stickers' => \[[InputStickerSetItem](../types/InputStickerSetItem.md)\], \]) === [$messages\_StickerSet](../types/messages_StickerSet.md) +$MadelineProto->[stickers->createStickerSet](stickers.createStickerSet.md)(\['masks' => [Bool](../types/Bool.md), 'user_id' => [InputUser](../types/InputUser.md), 'title' => [string](../types/string.md), 'short_name' => [string](../types/string.md), 'stickers' => \[[InputStickerSetItem](../types/InputStickerSetItem.md)\], \]) === [$messages.StickerSet](../types/messages.StickerSet.md) ***

-$MadelineProto->[stickers->removeStickerFromSet](stickers.removeStickerFromSet.md)(\['sticker' => [InputDocument](../types/InputDocument.md), \]) === [$messages\_StickerSet](../types/messages_StickerSet.md) +$MadelineProto->[stickers->removeStickerFromSet](stickers.removeStickerFromSet.md)(\['sticker' => [InputDocument](../types/InputDocument.md), \]) === [$messages.StickerSet](../types/messages.StickerSet.md) ***

-$MadelineProto->[updates->getChannelDifference](updates.getChannelDifference.md)(\['force' => [Bool](../types/Bool.md), 'channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$updates\_ChannelDifference](../types/updates_ChannelDifference.md) +$MadelineProto->[updates->getChannelDifference](updates.getChannelDifference.md)(\['force' => [Bool](../types/Bool.md), 'channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$updates.ChannelDifference](../types/updates.ChannelDifference.md) ***

-$MadelineProto->[updates->getDifference](updates.getDifference.md)(\['pts' => [int](../types/int.md), 'pts_total_limit' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) === [$updates\_Difference](../types/updates_Difference.md) +$MadelineProto->[updates->getDifference](updates.getDifference.md)(\['pts' => [int](../types/int.md), 'pts_total_limit' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) === [$updates.Difference](../types/updates.Difference.md) ***

-$MadelineProto->[updates->getState](updates.getState.md)(\[\]) === [$updates\_State](../types/updates_State.md) +$MadelineProto->[updates->getState](updates.getState.md)(\[\]) === [$updates.State](../types/updates.State.md) ***

-$MadelineProto->[upload->getCdnFile](upload.getCdnFile.md)(\['file_token' => [bytes](../types/bytes.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_CdnFile](../types/upload_CdnFile.md) +$MadelineProto->[upload->getCdnFile](upload.getCdnFile.md)(\['file_token' => [bytes](../types/bytes.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload.CdnFile](../types/upload.CdnFile.md) ***

@@ -1228,7 +1228,7 @@ $MadelineProto->[upload->getCdnFileHashes](upload.getCdnFileHashes.md)(\['file_t ***

-$MadelineProto->[upload->getFile](upload.getFile.md)(\['precise' => [Bool](../types/Bool.md), 'location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_File](../types/upload_File.md) +$MadelineProto->[upload->getFile](upload.getFile.md)(\['precise' => [Bool](../types/Bool.md), 'location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload.File](../types/upload.File.md) ***

@@ -1236,7 +1236,7 @@ $MadelineProto->[upload->getFileHashes](upload.getFileHashes.md)(\['location' => ***

-$MadelineProto->[upload->getWebFile](upload.getWebFile.md)(\['location' => [InputWebFileLocation](../types/InputWebFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_WebFile](../types/upload_WebFile.md) +$MadelineProto->[upload->getWebFile](upload.getWebFile.md)(\['location' => [InputWebFileLocation](../types/InputWebFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload.WebFile](../types/upload.WebFile.md) ***

diff --git a/old_docs/API_docs_v104/methods/auth.checkPassword.md b/old_docs/API_docs_v104/methods/auth.checkPassword.md index ad2a88a2..510e6c03 100644 --- a/old_docs/API_docs_v104/methods/auth.checkPassword.md +++ b/old_docs/API_docs_v104/methods/auth.checkPassword.md @@ -16,7 +16,7 @@ You cannot use this method directly, use the complete_2fa_login method instead ( |password|[InputCheckPasswordSRP](../types/InputCheckPasswordSRP.md) | You cannot use this method directly, use the complete_2fa_login method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->checkPassword(['password' => InputCheckPasswordSRP, ]); +$auth.Authorization = $MadelineProto->auth->checkPassword(['password' => InputCheckPasswordSRP, ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.checkPassword({password=InputCheckPasswordSRP, }) +auth.Authorization = auth.checkPassword({password=InputCheckPasswordSRP, }) ``` ### Errors diff --git a/old_docs/API_docs_v104/methods/auth.exportAuthorization.md b/old_docs/API_docs_v104/methods/auth.exportAuthorization.md index 72063a2b..41a1f87d 100644 --- a/old_docs/API_docs_v104/methods/auth.exportAuthorization.md +++ b/old_docs/API_docs_v104/methods/auth.exportAuthorization.md @@ -16,7 +16,7 @@ You cannot use this method directly, use $MadelineProto->exportAuthorization() i |dc\_id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| -### Return type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) +### Return type: [auth.ExportedAuthorization](../types/auth.ExportedAuthorization.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_ExportedAuthorization = $MadelineProto->auth->exportAuthorization(['dc_id' => int, ]); +$auth.ExportedAuthorization = $MadelineProto->auth->exportAuthorization(['dc_id' => int, ]); ``` Or, if you're into Lua: ```lua -auth_ExportedAuthorization = auth.exportAuthorization({dc_id=int, }) +auth.ExportedAuthorization = auth.exportAuthorization({dc_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v104/methods/auth.importAuthorization.md b/old_docs/API_docs_v104/methods/auth.importAuthorization.md index d9c13751..5257e0b0 100644 --- a/old_docs/API_docs_v104/methods/auth.importAuthorization.md +++ b/old_docs/API_docs_v104/methods/auth.importAuthorization.md @@ -17,7 +17,7 @@ You cannot use this method directly, use $MadelineProto->importAuthorization($au |bytes|[bytes](../types/bytes.md) | You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => 'bytes', ]); +$auth.Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.importAuthorization({id=int, bytes='bytes', }) +auth.Authorization = auth.importAuthorization({id=int, bytes='bytes', }) ``` ### Errors diff --git a/old_docs/API_docs_v104/methods/auth.importBotAuthorization.md b/old_docs/API_docs_v104/methods/auth.importBotAuthorization.md index 3161d6be..a4ea8027 100644 --- a/old_docs/API_docs_v104/methods/auth.importBotAuthorization.md +++ b/old_docs/API_docs_v104/methods/auth.importBotAuthorization.md @@ -18,7 +18,7 @@ You cannot use this method directly, use the botLogin method instead (see https: |bot\_auth\_token|[string](../types/string.md) | You cannot use this method directly, use the botLogin method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **YES** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->importBotAuthorization(['api_id' => int, 'api_hash' => 'string', 'bot_auth_token' => 'string', ]); +$auth.Authorization = $MadelineProto->auth->importBotAuthorization(['api_id' => int, 'api_hash' => 'string', 'bot_auth_token' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.importBotAuthorization({api_id=int, api_hash='string', bot_auth_token='string', }) +auth.Authorization = auth.importBotAuthorization({api_id=int, api_hash='string', bot_auth_token='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v104/methods/auth.recoverPassword.md b/old_docs/API_docs_v104/methods/auth.recoverPassword.md index f7cbf4a4..2e78444b 100644 --- a/old_docs/API_docs_v104/methods/auth.recoverPassword.md +++ b/old_docs/API_docs_v104/methods/auth.recoverPassword.md @@ -16,7 +16,7 @@ Reset the [2FA password](https://core.telegram.org/api/srp) using the recovery c |code|[string](../types/string.md) | Code received via email | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->recoverPassword(['code' => 'string', ]); +$auth.Authorization = $MadelineProto->auth->recoverPassword(['code' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.recoverPassword({code='string', }) +auth.Authorization = auth.recoverPassword({code='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v104/methods/auth.requestPasswordRecovery.md b/old_docs/API_docs_v104/methods/auth.requestPasswordRecovery.md index 5cd77936..ff1ecc02 100644 --- a/old_docs/API_docs_v104/methods/auth.requestPasswordRecovery.md +++ b/old_docs/API_docs_v104/methods/auth.requestPasswordRecovery.md @@ -11,7 +11,7 @@ Request recovery code of a [2FA password](https://core.telegram.org/api/srp), on -### Return type: [auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) +### Return type: [auth.PasswordRecovery](../types/auth.PasswordRecovery.md) ### Can bots use this method: **NO** @@ -28,13 +28,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_PasswordRecovery = $MadelineProto->auth->requestPasswordRecovery(); +$auth.PasswordRecovery = $MadelineProto->auth->requestPasswordRecovery(); ``` Or, if you're into Lua: ```lua -auth_PasswordRecovery = auth.requestPasswordRecovery({}) +auth.PasswordRecovery = auth.requestPasswordRecovery({}) ``` ### Errors diff --git a/old_docs/API_docs_v104/methods/auth.resendCode.md b/old_docs/API_docs_v104/methods/auth.resendCode.md index a395a91b..f59f1b7b 100644 --- a/old_docs/API_docs_v104/methods/auth.resendCode.md +++ b/old_docs/API_docs_v104/methods/auth.resendCode.md @@ -17,7 +17,7 @@ Resend the login code via another medium, the phone code type is determined by t |phone\_code\_hash|[string](../types/string.md) | The phone code hash obtained from [auth.sendCode](../methods/auth.sendCode.md) | Yes| -### Return type: [auth\_SentCode](../types/auth_SentCode.md) +### Return type: [auth.SentCode](../types/auth.SentCode.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_SentCode = $MadelineProto->auth->resendCode(['phone_number' => 'string', 'phone_code_hash' => 'string', ]); +$auth.SentCode = $MadelineProto->auth->resendCode(['phone_number' => 'string', 'phone_code_hash' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_SentCode = auth.resendCode({phone_number='string', phone_code_hash='string', }) +auth.SentCode = auth.resendCode({phone_number='string', phone_code_hash='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v104/methods/auth.sendCode.md b/old_docs/API_docs_v104/methods/auth.sendCode.md index be14f1bf..cb94998f 100644 --- a/old_docs/API_docs_v104/methods/auth.sendCode.md +++ b/old_docs/API_docs_v104/methods/auth.sendCode.md @@ -19,7 +19,7 @@ You cannot use this method directly, use the phoneLogin method instead (see http |settings|[CodeSettings](../types/CodeSettings.md) | You cannot use this method directly, use the phoneLogin method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_SentCode](../types/auth_SentCode.md) +### Return type: [auth.SentCode](../types/auth.SentCode.md) ### Can bots use this method: **NO** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_SentCode = $MadelineProto->auth->sendCode(['phone_number' => 'string', 'api_id' => int, 'api_hash' => 'string', 'settings' => CodeSettings, ]); +$auth.SentCode = $MadelineProto->auth->sendCode(['phone_number' => 'string', 'api_id' => int, 'api_hash' => 'string', 'settings' => CodeSettings, ]); ``` Or, if you're into Lua: ```lua -auth_SentCode = auth.sendCode({phone_number='string', api_id=int, api_hash='string', settings=CodeSettings, }) +auth.SentCode = auth.sendCode({phone_number='string', api_id=int, api_hash='string', settings=CodeSettings, }) ``` ### Errors diff --git a/old_docs/API_docs_v104/methods/auth.signIn.md b/old_docs/API_docs_v104/methods/auth.signIn.md index 54812a2e..95b14f32 100644 --- a/old_docs/API_docs_v104/methods/auth.signIn.md +++ b/old_docs/API_docs_v104/methods/auth.signIn.md @@ -18,7 +18,7 @@ You cannot use this method directly, use the completePhoneLogin method instead ( |phone\_code|[string](../types/string.md) | You cannot use this method directly, use the completePhoneLogin method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->signIn(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', ]); +$auth.Authorization = $MadelineProto->auth->signIn(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.signIn({phone_number='string', phone_code_hash='string', phone_code='string', }) +auth.Authorization = auth.signIn({phone_number='string', phone_code_hash='string', phone_code='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v104/methods/auth.signUp.md b/old_docs/API_docs_v104/methods/auth.signUp.md index 4d327eb6..d024c14b 100644 --- a/old_docs/API_docs_v104/methods/auth.signUp.md +++ b/old_docs/API_docs_v104/methods/auth.signUp.md @@ -19,7 +19,7 @@ You cannot use this method directly, use the completeSignup method instead (see |last\_name|[string](../types/string.md) | You cannot use this method directly, use the completeSignup method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **NO** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->signUp(['phone_number' => 'string', 'phone_code_hash' => 'string', 'first_name' => 'string', 'last_name' => 'string', ]); +$auth.Authorization = $MadelineProto->auth->signUp(['phone_number' => 'string', 'phone_code_hash' => 'string', 'first_name' => 'string', 'last_name' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.signUp({phone_number='string', phone_code_hash='string', first_name='string', last_name='string', }) +auth.Authorization = auth.signUp({phone_number='string', phone_code_hash='string', first_name='string', last_name='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v104/methods/channels.deleteMessages.md b/old_docs/API_docs_v104/methods/channels.deleteMessages.md index 10a439fb..8583e560 100644 --- a/old_docs/API_docs_v104/methods/channels.deleteMessages.md +++ b/old_docs/API_docs_v104/methods/channels.deleteMessages.md @@ -17,7 +17,7 @@ Delete messages in a [channel/supergroup](https://core.telegram.org/api/channel) |id|Array of [int](../types/int.md) | The IDs of messages to delete | Yes| -### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) +### Return type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedMessages = $MadelineProto->channels->deleteMessages(['channel' => InputChannel, 'id' => [int, int], ]); +$messages.AffectedMessages = $MadelineProto->channels->deleteMessages(['channel' => InputChannel, 'id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AffectedMessages = channels.deleteMessages({channel=InputChannel, id={int}, }) +messages.AffectedMessages = channels.deleteMessages({channel=InputChannel, id={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v104/methods/channels.deleteUserHistory.md b/old_docs/API_docs_v104/methods/channels.deleteUserHistory.md index 9b8b159f..6ccaf7dd 100644 --- a/old_docs/API_docs_v104/methods/channels.deleteUserHistory.md +++ b/old_docs/API_docs_v104/methods/channels.deleteUserHistory.md @@ -17,7 +17,7 @@ Delete all messages sent by a certain user in a [supergroup](https://core.telegr |user\_id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | User whose messages should be deleted | Optional| -### Return type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) +### Return type: [messages.AffectedHistory](../types/messages.AffectedHistory.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedHistory = $MadelineProto->channels->deleteUserHistory(['channel' => InputChannel, 'user_id' => InputUser, ]); +$messages.AffectedHistory = $MadelineProto->channels->deleteUserHistory(['channel' => InputChannel, 'user_id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -messages_AffectedHistory = channels.deleteUserHistory({channel=InputChannel, user_id=InputUser, }) +messages.AffectedHistory = channels.deleteUserHistory({channel=InputChannel, user_id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v104/methods/channels.getAdminLog.md b/old_docs/API_docs_v104/methods/channels.getAdminLog.md index e149f653..3b550a73 100644 --- a/old_docs/API_docs_v104/methods/channels.getAdminLog.md +++ b/old_docs/API_docs_v104/methods/channels.getAdminLog.md @@ -22,7 +22,7 @@ Get the admin log of a [channel/supergroup](https://core.telegram.org/api/channe |limit|[int](../types/int.md) | Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets) | Yes| -### Return type: [channels\_AdminLogResults](../types/channels_AdminLogResults.md) +### Return type: [channels.AdminLogResults](../types/channels.AdminLogResults.md) ### Can bots use this method: **NO** @@ -39,13 +39,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$channels_AdminLogResults = $MadelineProto->channels->getAdminLog(['channel' => InputChannel, 'q' => 'string', 'events_filter' => ChannelAdminLogEventsFilter, 'admins' => [InputUser, InputUser], 'max_id' => long, 'min_id' => long, 'limit' => int, ]); +$channels.AdminLogResults = $MadelineProto->channels->getAdminLog(['channel' => InputChannel, 'q' => 'string', 'events_filter' => ChannelAdminLogEventsFilter, 'admins' => [InputUser, InputUser], 'max_id' => long, 'min_id' => long, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -channels_AdminLogResults = channels.getAdminLog({channel=InputChannel, q='string', events_filter=ChannelAdminLogEventsFilter, admins={InputUser}, max_id=long, min_id=long, limit=int, }) +channels.AdminLogResults = channels.getAdminLog({channel=InputChannel, q='string', events_filter=ChannelAdminLogEventsFilter, admins={InputUser}, max_id=long, min_id=long, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v104/methods/channels.getAdminedPublicChannels.md b/old_docs/API_docs_v104/methods/channels.getAdminedPublicChannels.md index 1b358432..de834403 100644 --- a/old_docs/API_docs_v104/methods/channels.getAdminedPublicChannels.md +++ b/old_docs/API_docs_v104/methods/channels.getAdminedPublicChannels.md @@ -17,7 +17,7 @@ Get [channels/supergroups/geogroups](https://core.telegram.org/api/channel) we'r |check\_limit|[Bool](../types/Bool.md) | If set and the user has reached the limit of owned public [channels/supergroups/geogroups](https://core.telegram.org/api/channel), instead of returning the channel list one of the specified [errors](#possible-errors) will be returned.
Useful to check if a new public channel can indeed be created, even before asking the user to enter a channel username to use in [channels.checkUsername](../methods/channels.checkUsername.md)/[channels.updateUsername](../methods/channels.updateUsername.md). | Optional| -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **NO** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->channels->getAdminedPublicChannels(['by_location' => Bool, 'check_limit' => Bool, ]); +$messages.Chats = $MadelineProto->channels->getAdminedPublicChannels(['by_location' => Bool, 'check_limit' => Bool, ]); ``` Or, if you're into Lua: ```lua -messages_Chats = channels.getAdminedPublicChannels({by_location=Bool, check_limit=Bool, }) +messages.Chats = channels.getAdminedPublicChannels({by_location=Bool, check_limit=Bool, }) ``` diff --git a/old_docs/API_docs_v104/methods/channels.getChannels.md b/old_docs/API_docs_v104/methods/channels.getChannels.md index 368c96ce..ed9cf4a7 100644 --- a/old_docs/API_docs_v104/methods/channels.getChannels.md +++ b/old_docs/API_docs_v104/methods/channels.getChannels.md @@ -16,7 +16,7 @@ Get info about [channels/supergroups](https://core.telegram.org/api/channel) |id|Array of [Username, chat ID, Update, Message or InputChannel](../types/InputChannel.md) | The channel/supergroup MTProto IDs | Yes| -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->channels->getChannels(['id' => [InputChannel, InputChannel], ]); +$messages.Chats = $MadelineProto->channels->getChannels(['id' => [InputChannel, InputChannel], ]); ``` Or, if you're into Lua: ```lua -messages_Chats = channels.getChannels({id={InputChannel}, }) +messages.Chats = channels.getChannels({id={InputChannel}, }) ``` ### Errors diff --git a/old_docs/API_docs_v104/methods/channels.getFullChannel.md b/old_docs/API_docs_v104/methods/channels.getFullChannel.md index 08dc21bb..1369e0a0 100644 --- a/old_docs/API_docs_v104/methods/channels.getFullChannel.md +++ b/old_docs/API_docs_v104/methods/channels.getFullChannel.md @@ -16,7 +16,7 @@ You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo me |channel|[Username, chat ID, Update, Message or InputChannel](../types/InputChannel.md) | You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo methods instead (see https://docs.madelineproto.xyz for more info) | Optional| -### Return type: [messages\_ChatFull](../types/messages_ChatFull.md) +### Return type: [messages.ChatFull](../types/messages.ChatFull.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_ChatFull = $MadelineProto->channels->getFullChannel(['channel' => InputChannel, ]); +$messages.ChatFull = $MadelineProto->channels->getFullChannel(['channel' => InputChannel, ]); ``` Or, if you're into Lua: ```lua -messages_ChatFull = channels.getFullChannel({channel=InputChannel, }) +messages.ChatFull = channels.getFullChannel({channel=InputChannel, }) ``` ### Errors diff --git a/old_docs/API_docs_v104/methods/channels.getGroupsForDiscussion.md b/old_docs/API_docs_v104/methods/channels.getGroupsForDiscussion.md index 810f9aa8..0e97f199 100644 --- a/old_docs/API_docs_v104/methods/channels.getGroupsForDiscussion.md +++ b/old_docs/API_docs_v104/methods/channels.getGroupsForDiscussion.md @@ -11,7 +11,7 @@ Get all groups that can be used as [discussion groups](https://telegram.org/blog -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->channels->getGroupsForDiscussion(); +$messages.Chats = $MadelineProto->channels->getGroupsForDiscussion(); ``` Or, if you're into Lua: ```lua -messages_Chats = channels.getGroupsForDiscussion({}) +messages.Chats = channels.getGroupsForDiscussion({}) ``` diff --git a/old_docs/API_docs_v104/methods/channels.getLeftChannels.md b/old_docs/API_docs_v104/methods/channels.getLeftChannels.md index a5bcda2c..5a132204 100644 --- a/old_docs/API_docs_v104/methods/channels.getLeftChannels.md +++ b/old_docs/API_docs_v104/methods/channels.getLeftChannels.md @@ -16,7 +16,7 @@ Get a list of [channels/supergroups](https://core.telegram.org/api/channel) we l |offset|[int](../types/int.md) | Offset for [pagination](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->channels->getLeftChannels(['offset' => int, ]); +$messages.Chats = $MadelineProto->channels->getLeftChannels(['offset' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Chats = channels.getLeftChannels({offset=int, }) +messages.Chats = channels.getLeftChannels({offset=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v104/methods/channels.getMessages.md b/old_docs/API_docs_v104/methods/channels.getMessages.md index 428734e3..708e404a 100644 --- a/old_docs/API_docs_v104/methods/channels.getMessages.md +++ b/old_docs/API_docs_v104/methods/channels.getMessages.md @@ -17,7 +17,7 @@ Get [channel/supergroup](https://core.telegram.org/api/channel) messages |id|Array of [Message ID or InputMessage](../types/InputMessage.md) | The message IDs | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->channels->getMessages(['channel' => InputChannel, 'id' => [InputMessage, InputMessage], ]); +$messages.Messages = $MadelineProto->channels->getMessages(['channel' => InputChannel, 'id' => [InputMessage, InputMessage], ]); ``` Or, if you're into Lua: ```lua -messages_Messages = channels.getMessages({channel=InputChannel, id={InputMessage}, }) +messages.Messages = channels.getMessages({channel=InputChannel, id={InputMessage}, }) ``` ### Errors diff --git a/old_docs/API_docs_v104/methods/channels.getParticipant.md b/old_docs/API_docs_v104/methods/channels.getParticipant.md index aa2ce655..cf6a7771 100644 --- a/old_docs/API_docs_v104/methods/channels.getParticipant.md +++ b/old_docs/API_docs_v104/methods/channels.getParticipant.md @@ -17,7 +17,7 @@ Get info about a [channel/supergroup](https://core.telegram.org/api/channel) par |user\_id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | ID of participant to get info about | Optional| -### Return type: [channels\_ChannelParticipant](../types/channels_ChannelParticipant.md) +### Return type: [channels.ChannelParticipant](../types/channels.ChannelParticipant.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$channels_ChannelParticipant = $MadelineProto->channels->getParticipant(['channel' => InputChannel, 'user_id' => InputUser, ]); +$channels.ChannelParticipant = $MadelineProto->channels->getParticipant(['channel' => InputChannel, 'user_id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -channels_ChannelParticipant = channels.getParticipant({channel=InputChannel, user_id=InputUser, }) +channels.ChannelParticipant = channels.getParticipant({channel=InputChannel, user_id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v104/methods/channels.getParticipants.md b/old_docs/API_docs_v104/methods/channels.getParticipants.md index dd7e0087..c6b15b63 100644 --- a/old_docs/API_docs_v104/methods/channels.getParticipants.md +++ b/old_docs/API_docs_v104/methods/channels.getParticipants.md @@ -20,7 +20,7 @@ Get the participants of a channel |hash|Array of [int](../types/int.md) | IDs of previously fetched participants | Optional| -### Return type: [channels\_ChannelParticipants](../types/channels_ChannelParticipants.md) +### Return type: [channels.ChannelParticipants](../types/channels.ChannelParticipants.md) ### Can bots use this method: **YES** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$channels_ChannelParticipants = $MadelineProto->channels->getParticipants(['channel' => InputChannel, 'filter' => ChannelParticipantsFilter, 'offset' => int, 'limit' => int, 'hash' => [int, int], ]); +$channels.ChannelParticipants = $MadelineProto->channels->getParticipants(['channel' => InputChannel, 'filter' => ChannelParticipantsFilter, 'offset' => int, 'limit' => int, 'hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -channels_ChannelParticipants = channels.getParticipants({channel=InputChannel, filter=ChannelParticipantsFilter, offset=int, limit=int, hash={int}, }) +channels.ChannelParticipants = channels.getParticipants({channel=InputChannel, filter=ChannelParticipantsFilter, offset=int, limit=int, hash={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v104/methods/contacts.getBlocked.md b/old_docs/API_docs_v104/methods/contacts.getBlocked.md index 92f2f331..6ac1c343 100644 --- a/old_docs/API_docs_v104/methods/contacts.getBlocked.md +++ b/old_docs/API_docs_v104/methods/contacts.getBlocked.md @@ -17,7 +17,7 @@ Returns the list of blocked users. |limit|[int](../types/int.md) | The number of list elements to be returned | Yes| -### Return type: [contacts\_Blocked](../types/contacts_Blocked.md) +### Return type: [contacts.Blocked](../types/contacts.Blocked.md) ### Can bots use this method: **NO** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Blocked = $MadelineProto->contacts->getBlocked(['offset' => int, 'limit' => int, ]); +$contacts.Blocked = $MadelineProto->contacts->getBlocked(['offset' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -contacts_Blocked = contacts.getBlocked({offset=int, limit=int, }) +contacts.Blocked = contacts.getBlocked({offset=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v104/methods/contacts.getContacts.md b/old_docs/API_docs_v104/methods/contacts.getContacts.md index c67e6240..609549b0 100644 --- a/old_docs/API_docs_v104/methods/contacts.getContacts.md +++ b/old_docs/API_docs_v104/methods/contacts.getContacts.md @@ -16,7 +16,7 @@ Returns the current user's contact list. |hash|Array of [int](../types/int.md) | User IDs of previously cached contacts | Optional| -### Return type: [contacts\_Contacts](../types/contacts_Contacts.md) +### Return type: [contacts.Contacts](../types/contacts.Contacts.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Contacts = $MadelineProto->contacts->getContacts(['hash' => [int, int], ]); +$contacts.Contacts = $MadelineProto->contacts->getContacts(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -contacts_Contacts = contacts.getContacts({hash={int}, }) +contacts.Contacts = contacts.getContacts({hash={int}, }) ``` diff --git a/old_docs/API_docs_v104/methods/contacts.getTopPeers.md b/old_docs/API_docs_v104/methods/contacts.getTopPeers.md index 8cb7f245..9957dd2c 100644 --- a/old_docs/API_docs_v104/methods/contacts.getTopPeers.md +++ b/old_docs/API_docs_v104/methods/contacts.getTopPeers.md @@ -26,7 +26,7 @@ Get most used peers |hash|Array of [int](../types/int.md) | Peer IDs of previously cached peers | Optional| -### Return type: [contacts\_TopPeers](../types/contacts_TopPeers.md) +### Return type: [contacts.TopPeers](../types/contacts.TopPeers.md) ### Can bots use this method: **NO** @@ -43,13 +43,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_TopPeers = $MadelineProto->contacts->getTopPeers(['correspondents' => Bool, 'bots_pm' => Bool, 'bots_inline' => Bool, 'phone_calls' => Bool, 'forward_users' => Bool, 'forward_chats' => Bool, 'groups' => Bool, 'channels' => Bool, 'offset' => int, 'limit' => int, 'hash' => [int, int], ]); +$contacts.TopPeers = $MadelineProto->contacts->getTopPeers(['correspondents' => Bool, 'bots_pm' => Bool, 'bots_inline' => Bool, 'phone_calls' => Bool, 'forward_users' => Bool, 'forward_chats' => Bool, 'groups' => Bool, 'channels' => Bool, 'offset' => int, 'limit' => int, 'hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -contacts_TopPeers = contacts.getTopPeers({correspondents=Bool, bots_pm=Bool, bots_inline=Bool, phone_calls=Bool, forward_users=Bool, forward_chats=Bool, groups=Bool, channels=Bool, offset=int, limit=int, hash={int}, }) +contacts.TopPeers = contacts.getTopPeers({correspondents=Bool, bots_pm=Bool, bots_inline=Bool, phone_calls=Bool, forward_users=Bool, forward_chats=Bool, groups=Bool, channels=Bool, offset=int, limit=int, hash={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v104/methods/contacts.importContacts.md b/old_docs/API_docs_v104/methods/contacts.importContacts.md index 7c795780..dbb9b7fa 100644 --- a/old_docs/API_docs_v104/methods/contacts.importContacts.md +++ b/old_docs/API_docs_v104/methods/contacts.importContacts.md @@ -16,7 +16,7 @@ Imports contacts: saves a full list on the server, adds already registered conta |contacts|Array of [InputContact](../types/InputContact.md) | The numbers to import | Yes| -### Return type: [contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) +### Return type: [contacts.ImportedContacts](../types/contacts.ImportedContacts.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_ImportedContacts = $MadelineProto->contacts->importContacts(['contacts' => [InputContact, InputContact], ]); +$contacts.ImportedContacts = $MadelineProto->contacts->importContacts(['contacts' => [InputContact, InputContact], ]); ``` Or, if you're into Lua: ```lua -contacts_ImportedContacts = contacts.importContacts({contacts={InputContact}, }) +contacts.ImportedContacts = contacts.importContacts({contacts={InputContact}, }) ``` diff --git a/old_docs/API_docs_v104/methods/contacts.resolveUsername.md b/old_docs/API_docs_v104/methods/contacts.resolveUsername.md index 05e3d854..46f1eb50 100644 --- a/old_docs/API_docs_v104/methods/contacts.resolveUsername.md +++ b/old_docs/API_docs_v104/methods/contacts.resolveUsername.md @@ -16,7 +16,7 @@ You cannot use this method directly, use the resolveUsername, getPwrChat, getInf |username|[string](../types/string.md) | You cannot use this method directly, use the resolveUsername, getPwrChat, getInfo, getFullInfo methods instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [contacts\_ResolvedPeer](../types/contacts_ResolvedPeer.md) +### Return type: [contacts.ResolvedPeer](../types/contacts.ResolvedPeer.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_ResolvedPeer = $MadelineProto->contacts->resolveUsername(['username' => 'string', ]); +$contacts.ResolvedPeer = $MadelineProto->contacts->resolveUsername(['username' => 'string', ]); ``` Or, if you're into Lua: ```lua -contacts_ResolvedPeer = contacts.resolveUsername({username='string', }) +contacts.ResolvedPeer = contacts.resolveUsername({username='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v104/methods/contacts.search.md b/old_docs/API_docs_v104/methods/contacts.search.md index 2f39d6f1..ec04c7f9 100644 --- a/old_docs/API_docs_v104/methods/contacts.search.md +++ b/old_docs/API_docs_v104/methods/contacts.search.md @@ -17,7 +17,7 @@ Returns users found by username substring. |limit|[int](../types/int.md) | Maximum number of users to be returned | Yes| -### Return type: [contacts\_Found](../types/contacts_Found.md) +### Return type: [contacts.Found](../types/contacts.Found.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Found = $MadelineProto->contacts->search(['q' => 'string', 'limit' => int, ]); +$contacts.Found = $MadelineProto->contacts->search(['q' => 'string', 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -contacts_Found = contacts.search({q='string', limit=int, }) +contacts.Found = contacts.search({q='string', limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v104/methods/help.editUserInfo.md b/old_docs/API_docs_v104/methods/help.editUserInfo.md index 7d49e820..0dd21b80 100644 --- a/old_docs/API_docs_v104/methods/help.editUserInfo.md +++ b/old_docs/API_docs_v104/methods/help.editUserInfo.md @@ -19,7 +19,7 @@ Internal use |parse\_mode| [string](../types/string.md) | Whether to parse HTML or Markdown markup in the message| Optional | -### Return type: [help\_UserInfo](../types/help_UserInfo.md) +### Return type: [help.UserInfo](../types/help.UserInfo.md) ### Can bots use this method: **NO** @@ -36,19 +36,19 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_UserInfo = $MadelineProto->help->editUserInfo(['user_id' => InputUser, 'message' => 'string', 'entities' => [MessageEntity, MessageEntity], 'parse_mode' => 'string', ]); +$help.UserInfo = $MadelineProto->help->editUserInfo(['user_id' => InputUser, 'message' => 'string', 'entities' => [MessageEntity, MessageEntity], 'parse_mode' => 'string', ]); ``` Or, if you're into Lua: ```lua -help_UserInfo = help.editUserInfo({user_id=InputUser, message='string', entities={MessageEntity}, parseMode='string', }) +help.UserInfo = help.editUserInfo({user_id=InputUser, message='string', entities={MessageEntity}, parseMode='string', }) ``` ## Return value -If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [help\_UserInfo](../types/help_UserInfo.md) will be returned instead. +If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [help.UserInfo](../types/help.UserInfo.md) will be returned instead. diff --git a/old_docs/API_docs_v104/methods/help.getAppUpdate.md b/old_docs/API_docs_v104/methods/help.getAppUpdate.md index e744d727..2a81fa8f 100644 --- a/old_docs/API_docs_v104/methods/help.getAppUpdate.md +++ b/old_docs/API_docs_v104/methods/help.getAppUpdate.md @@ -16,7 +16,7 @@ Returns information on update availability for the current application. |source|[string](../types/string.md) | Source | Yes| -### Return type: [help\_AppUpdate](../types/help_AppUpdate.md) +### Return type: [help.AppUpdate](../types/help.AppUpdate.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_AppUpdate = $MadelineProto->help->getAppUpdate(['source' => 'string', ]); +$help.AppUpdate = $MadelineProto->help->getAppUpdate(['source' => 'string', ]); ``` Or, if you're into Lua: ```lua -help_AppUpdate = help.getAppUpdate({source='string', }) +help.AppUpdate = help.getAppUpdate({source='string', }) ``` diff --git a/old_docs/API_docs_v104/methods/help.getDeepLinkInfo.md b/old_docs/API_docs_v104/methods/help.getDeepLinkInfo.md index e3269bbc..e6e7d6b8 100644 --- a/old_docs/API_docs_v104/methods/help.getDeepLinkInfo.md +++ b/old_docs/API_docs_v104/methods/help.getDeepLinkInfo.md @@ -16,7 +16,7 @@ Get info about a `t.me` link |path|[string](../types/string.md) | Path in `t.me/path` | Yes| -### Return type: [help\_DeepLinkInfo](../types/help_DeepLinkInfo.md) +### Return type: [help.DeepLinkInfo](../types/help.DeepLinkInfo.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_DeepLinkInfo = $MadelineProto->help->getDeepLinkInfo(['path' => 'string', ]); +$help.DeepLinkInfo = $MadelineProto->help->getDeepLinkInfo(['path' => 'string', ]); ``` Or, if you're into Lua: ```lua -help_DeepLinkInfo = help.getDeepLinkInfo({path='string', }) +help.DeepLinkInfo = help.getDeepLinkInfo({path='string', }) ``` diff --git a/old_docs/API_docs_v104/methods/help.getInviteText.md b/old_docs/API_docs_v104/methods/help.getInviteText.md index 6fd67362..0d427974 100644 --- a/old_docs/API_docs_v104/methods/help.getInviteText.md +++ b/old_docs/API_docs_v104/methods/help.getInviteText.md @@ -11,7 +11,7 @@ Returns text of a text message with an invitation. -### Return type: [help\_InviteText](../types/help_InviteText.md) +### Return type: [help.InviteText](../types/help.InviteText.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_InviteText = $MadelineProto->help->getInviteText(); +$help.InviteText = $MadelineProto->help->getInviteText(); ``` Or, if you're into Lua: ```lua -help_InviteText = help.getInviteText({}) +help.InviteText = help.getInviteText({}) ``` diff --git a/old_docs/API_docs_v104/methods/help.getPassportConfig.md b/old_docs/API_docs_v104/methods/help.getPassportConfig.md index 3710737d..f71e67b2 100644 --- a/old_docs/API_docs_v104/methods/help.getPassportConfig.md +++ b/old_docs/API_docs_v104/methods/help.getPassportConfig.md @@ -16,7 +16,7 @@ Get [passport](https://core.telegram.org/passport) configuration |hash|Array of [int](../types/int.md) | Hash | Optional| -### Return type: [help\_PassportConfig](../types/help_PassportConfig.md) +### Return type: [help.PassportConfig](../types/help.PassportConfig.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_PassportConfig = $MadelineProto->help->getPassportConfig(['hash' => [int, int], ]); +$help.PassportConfig = $MadelineProto->help->getPassportConfig(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -help_PassportConfig = help.getPassportConfig({hash={int}, }) +help.PassportConfig = help.getPassportConfig({hash={int}, }) ``` diff --git a/old_docs/API_docs_v104/methods/help.getProxyData.md b/old_docs/API_docs_v104/methods/help.getProxyData.md index bbaf4c53..9a0aaa9a 100644 --- a/old_docs/API_docs_v104/methods/help.getProxyData.md +++ b/old_docs/API_docs_v104/methods/help.getProxyData.md @@ -11,7 +11,7 @@ Get promotion info of the currently-used MTProxy -### Return type: [help\_ProxyData](../types/help_ProxyData.md) +### Return type: [help.ProxyData](../types/help.ProxyData.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_ProxyData = $MadelineProto->help->getProxyData(); +$help.ProxyData = $MadelineProto->help->getProxyData(); ``` Or, if you're into Lua: ```lua -help_ProxyData = help.getProxyData({}) +help.ProxyData = help.getProxyData({}) ``` diff --git a/old_docs/API_docs_v104/methods/help.getRecentMeUrls.md b/old_docs/API_docs_v104/methods/help.getRecentMeUrls.md index 38cc44c8..a5ab9e06 100644 --- a/old_docs/API_docs_v104/methods/help.getRecentMeUrls.md +++ b/old_docs/API_docs_v104/methods/help.getRecentMeUrls.md @@ -16,7 +16,7 @@ Get recently used `t.me` links |referer|[string](../types/string.md) | Referer | Yes| -### Return type: [help\_RecentMeUrls](../types/help_RecentMeUrls.md) +### Return type: [help.RecentMeUrls](../types/help.RecentMeUrls.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_RecentMeUrls = $MadelineProto->help->getRecentMeUrls(['referer' => 'string', ]); +$help.RecentMeUrls = $MadelineProto->help->getRecentMeUrls(['referer' => 'string', ]); ``` Or, if you're into Lua: ```lua -help_RecentMeUrls = help.getRecentMeUrls({referer='string', }) +help.RecentMeUrls = help.getRecentMeUrls({referer='string', }) ``` diff --git a/old_docs/API_docs_v104/methods/help.getSupport.md b/old_docs/API_docs_v104/methods/help.getSupport.md index 7a577892..8a8df916 100644 --- a/old_docs/API_docs_v104/methods/help.getSupport.md +++ b/old_docs/API_docs_v104/methods/help.getSupport.md @@ -11,7 +11,7 @@ Returns the support user for the 'ask a question' feature. -### Return type: [help\_Support](../types/help_Support.md) +### Return type: [help.Support](../types/help.Support.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_Support = $MadelineProto->help->getSupport(); +$help.Support = $MadelineProto->help->getSupport(); ``` Or, if you're into Lua: ```lua -help_Support = help.getSupport({}) +help.Support = help.getSupport({}) ``` diff --git a/old_docs/API_docs_v104/methods/help.getSupportName.md b/old_docs/API_docs_v104/methods/help.getSupportName.md index d2b1c93c..fbf9ef52 100644 --- a/old_docs/API_docs_v104/methods/help.getSupportName.md +++ b/old_docs/API_docs_v104/methods/help.getSupportName.md @@ -11,7 +11,7 @@ Get localized name of the telegram support user -### Return type: [help\_SupportName](../types/help_SupportName.md) +### Return type: [help.SupportName](../types/help.SupportName.md) ### Can bots use this method: **NO** @@ -28,13 +28,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_SupportName = $MadelineProto->help->getSupportName(); +$help.SupportName = $MadelineProto->help->getSupportName(); ``` Or, if you're into Lua: ```lua -help_SupportName = help.getSupportName({}) +help.SupportName = help.getSupportName({}) ``` ### Errors diff --git a/old_docs/API_docs_v104/methods/help.getTermsOfServiceUpdate.md b/old_docs/API_docs_v104/methods/help.getTermsOfServiceUpdate.md index 7a8ebd65..636a054b 100644 --- a/old_docs/API_docs_v104/methods/help.getTermsOfServiceUpdate.md +++ b/old_docs/API_docs_v104/methods/help.getTermsOfServiceUpdate.md @@ -11,7 +11,7 @@ Look for updates of telegram's terms of service -### Return type: [help\_TermsOfServiceUpdate](../types/help_TermsOfServiceUpdate.md) +### Return type: [help.TermsOfServiceUpdate](../types/help.TermsOfServiceUpdate.md) ### Can bots use this method: **NO** @@ -28,13 +28,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_TermsOfServiceUpdate = $MadelineProto->help->getTermsOfServiceUpdate(); +$help.TermsOfServiceUpdate = $MadelineProto->help->getTermsOfServiceUpdate(); ``` Or, if you're into Lua: ```lua -help_TermsOfServiceUpdate = help.getTermsOfServiceUpdate({}) +help.TermsOfServiceUpdate = help.getTermsOfServiceUpdate({}) ``` ### Errors diff --git a/old_docs/API_docs_v104/methods/help.getUserInfo.md b/old_docs/API_docs_v104/methods/help.getUserInfo.md index 353429d6..27b65cf7 100644 --- a/old_docs/API_docs_v104/methods/help.getUserInfo.md +++ b/old_docs/API_docs_v104/methods/help.getUserInfo.md @@ -16,7 +16,7 @@ Internal use |user\_id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | User ID | Optional| -### Return type: [help\_UserInfo](../types/help_UserInfo.md) +### Return type: [help.UserInfo](../types/help.UserInfo.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_UserInfo = $MadelineProto->help->getUserInfo(['user_id' => InputUser, ]); +$help.UserInfo = $MadelineProto->help->getUserInfo(['user_id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -help_UserInfo = help.getUserInfo({user_id=InputUser, }) +help.UserInfo = help.getUserInfo({user_id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v104/methods/messages.deleteHistory.md b/old_docs/API_docs_v104/methods/messages.deleteHistory.md index 53ebf056..1d7be654 100644 --- a/old_docs/API_docs_v104/methods/messages.deleteHistory.md +++ b/old_docs/API_docs_v104/methods/messages.deleteHistory.md @@ -19,7 +19,7 @@ Deletes communication history. |max\_id|[int](../types/int.md) | Maximum ID of message to delete | Yes| -### Return type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) +### Return type: [messages.AffectedHistory](../types/messages.AffectedHistory.md) ### Can bots use this method: **NO** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedHistory = $MadelineProto->messages->deleteHistory(['just_clear' => Bool, 'revoke' => Bool, 'peer' => InputPeer, 'max_id' => int, ]); +$messages.AffectedHistory = $MadelineProto->messages->deleteHistory(['just_clear' => Bool, 'revoke' => Bool, 'peer' => InputPeer, 'max_id' => int, ]); ``` Or, if you're into Lua: ```lua -messages_AffectedHistory = messages.deleteHistory({just_clear=Bool, revoke=Bool, peer=InputPeer, max_id=int, }) +messages.AffectedHistory = messages.deleteHistory({just_clear=Bool, revoke=Bool, peer=InputPeer, max_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v104/methods/messages.deleteMessages.md b/old_docs/API_docs_v104/methods/messages.deleteMessages.md index ade04cae..ade96e60 100644 --- a/old_docs/API_docs_v104/methods/messages.deleteMessages.md +++ b/old_docs/API_docs_v104/methods/messages.deleteMessages.md @@ -17,7 +17,7 @@ Deletes messages by their identifiers. |id|Array of [int](../types/int.md) | IDs of messages to delete, use channels->deleteMessages for supergroups | Yes| -### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) +### Return type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedMessages = $MadelineProto->messages->deleteMessages(['revoke' => Bool, 'id' => [int, int], ]); +$messages.AffectedMessages = $MadelineProto->messages->deleteMessages(['revoke' => Bool, 'id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AffectedMessages = messages.deleteMessages({revoke=Bool, id={int}, }) +messages.AffectedMessages = messages.deleteMessages({revoke=Bool, id={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v104/methods/messages.getAllChats.md b/old_docs/API_docs_v104/methods/messages.getAllChats.md index cdcc5430..97cc4817 100644 --- a/old_docs/API_docs_v104/methods/messages.getAllChats.md +++ b/old_docs/API_docs_v104/methods/messages.getAllChats.md @@ -16,7 +16,7 @@ Get all chats, channels and supergroups |except\_ids|Array of [int](../types/int.md) | Do not fetch these chats (MTProto id) | Yes| -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->messages->getAllChats(['except_ids' => [int, int], ]); +$messages.Chats = $MadelineProto->messages->getAllChats(['except_ids' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Chats = messages.getAllChats({except_ids={int}, }) +messages.Chats = messages.getAllChats({except_ids={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v104/methods/messages.getAllStickers.md b/old_docs/API_docs_v104/methods/messages.getAllStickers.md index 329b70be..0f0de7f1 100644 --- a/old_docs/API_docs_v104/methods/messages.getAllStickers.md +++ b/old_docs/API_docs_v104/methods/messages.getAllStickers.md @@ -16,7 +16,7 @@ Get all installed stickers |hash|Array of [int](../types/int.md) | The hash parameter of the previous result of this method | Optional| -### Return type: [messages\_AllStickers](../types/messages_AllStickers.md) +### Return type: [messages.AllStickers](../types/messages.AllStickers.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AllStickers = $MadelineProto->messages->getAllStickers(['hash' => [int, int], ]); +$messages.AllStickers = $MadelineProto->messages->getAllStickers(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AllStickers = messages.getAllStickers({hash={int}, }) +messages.AllStickers = messages.getAllStickers({hash={int}, }) ``` diff --git a/old_docs/API_docs_v104/methods/messages.getArchivedStickers.md b/old_docs/API_docs_v104/methods/messages.getArchivedStickers.md index d3abe9fc..c108376e 100644 --- a/old_docs/API_docs_v104/methods/messages.getArchivedStickers.md +++ b/old_docs/API_docs_v104/methods/messages.getArchivedStickers.md @@ -18,7 +18,7 @@ Get all archived stickers |limit|[int](../types/int.md) | Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_ArchivedStickers](../types/messages_ArchivedStickers.md) +### Return type: [messages.ArchivedStickers](../types/messages.ArchivedStickers.md) ### Can bots use this method: **NO** @@ -35,12 +35,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_ArchivedStickers = $MadelineProto->messages->getArchivedStickers(['masks' => Bool, 'offset_id' => long, 'limit' => int, ]); +$messages.ArchivedStickers = $MadelineProto->messages->getArchivedStickers(['masks' => Bool, 'offset_id' => long, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -messages_ArchivedStickers = messages.getArchivedStickers({masks=Bool, offset_id=long, limit=int, }) +messages.ArchivedStickers = messages.getArchivedStickers({masks=Bool, offset_id=long, limit=int, }) ``` diff --git a/old_docs/API_docs_v104/methods/messages.getBotCallbackAnswer.md b/old_docs/API_docs_v104/methods/messages.getBotCallbackAnswer.md index 015fc46b..10072386 100644 --- a/old_docs/API_docs_v104/methods/messages.getBotCallbackAnswer.md +++ b/old_docs/API_docs_v104/methods/messages.getBotCallbackAnswer.md @@ -19,7 +19,7 @@ Press an inline callback button and get a callback answer from the bot |data|[bytes](../types/bytes.md) | Callback data | Optional| -### Return type: [messages\_BotCallbackAnswer](../types/messages_BotCallbackAnswer.md) +### Return type: [messages.BotCallbackAnswer](../types/messages.BotCallbackAnswer.md) ### Can bots use this method: **NO** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_BotCallbackAnswer = $MadelineProto->messages->getBotCallbackAnswer(['game' => Bool, 'peer' => InputPeer, 'msg_id' => int, 'data' => 'bytes', ]); +$messages.BotCallbackAnswer = $MadelineProto->messages->getBotCallbackAnswer(['game' => Bool, 'peer' => InputPeer, 'msg_id' => int, 'data' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -messages_BotCallbackAnswer = messages.getBotCallbackAnswer({game=Bool, peer=InputPeer, msg_id=int, data='bytes', }) +messages.BotCallbackAnswer = messages.getBotCallbackAnswer({game=Bool, peer=InputPeer, msg_id=int, data='bytes', }) ``` ### Errors diff --git a/old_docs/API_docs_v104/methods/messages.getChats.md b/old_docs/API_docs_v104/methods/messages.getChats.md index c34b0488..146341f5 100644 --- a/old_docs/API_docs_v104/methods/messages.getChats.md +++ b/old_docs/API_docs_v104/methods/messages.getChats.md @@ -16,7 +16,7 @@ Returns chat basic info on their IDs. |id|Array of [int](../types/int.md) | The MTProto IDs of chats to fetch info about | Yes| -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->messages->getChats(['id' => [int, int], ]); +$messages.Chats = $MadelineProto->messages->getChats(['id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Chats = messages.getChats({id={int}, }) +messages.Chats = messages.getChats({id={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v104/methods/messages.getCommonChats.md b/old_docs/API_docs_v104/methods/messages.getCommonChats.md index fc7b2363..56a3ec01 100644 --- a/old_docs/API_docs_v104/methods/messages.getCommonChats.md +++ b/old_docs/API_docs_v104/methods/messages.getCommonChats.md @@ -18,7 +18,7 @@ Get chats in common with a user |limit|[int](../types/int.md) | Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->messages->getCommonChats(['user_id' => InputUser, 'max_id' => int, 'limit' => int, ]); +$messages.Chats = $MadelineProto->messages->getCommonChats(['user_id' => InputUser, 'max_id' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Chats = messages.getCommonChats({user_id=InputUser, max_id=int, limit=int, }) +messages.Chats = messages.getCommonChats({user_id=InputUser, max_id=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v104/methods/messages.getDhConfig.md b/old_docs/API_docs_v104/methods/messages.getDhConfig.md index 88ea4ab3..7b9da566 100644 --- a/old_docs/API_docs_v104/methods/messages.getDhConfig.md +++ b/old_docs/API_docs_v104/methods/messages.getDhConfig.md @@ -17,7 +17,7 @@ You cannot use this method directly, instead use $MadelineProto->getDhConfig(); |random\_length|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->getDhConfig(); | Yes| -### Return type: [messages\_DhConfig](../types/messages_DhConfig.md) +### Return type: [messages.DhConfig](../types/messages.DhConfig.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_DhConfig = $MadelineProto->messages->getDhConfig(['version' => int, 'random_length' => int, ]); +$messages.DhConfig = $MadelineProto->messages->getDhConfig(['version' => int, 'random_length' => int, ]); ``` Or, if you're into Lua: ```lua -messages_DhConfig = messages.getDhConfig({version=int, random_length=int, }) +messages.DhConfig = messages.getDhConfig({version=int, random_length=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v104/methods/messages.getDialogs.md b/old_docs/API_docs_v104/methods/messages.getDialogs.md index 4fce7d43..8f0e7f1a 100644 --- a/old_docs/API_docs_v104/methods/messages.getDialogs.md +++ b/old_docs/API_docs_v104/methods/messages.getDialogs.md @@ -22,7 +22,7 @@ Returns the current user dialog list. |hash|Array of [int](../types/int.md) | IDs of previously fetched dialogs | Optional| -### Return type: [messages\_Dialogs](../types/messages_Dialogs.md) +### Return type: [messages.Dialogs](../types/messages.Dialogs.md) ### Can bots use this method: **NO** @@ -39,13 +39,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Dialogs = $MadelineProto->messages->getDialogs(['exclude_pinned' => Bool, 'folder_id' => int, 'offset_date' => int, 'offset_id' => int, 'offset_peer' => InputPeer, 'limit' => int, 'hash' => [int, int], ]); +$messages.Dialogs = $MadelineProto->messages->getDialogs(['exclude_pinned' => Bool, 'folder_id' => int, 'offset_date' => int, 'offset_id' => int, 'offset_peer' => InputPeer, 'limit' => int, 'hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Dialogs = messages.getDialogs({exclude_pinned=Bool, folder_id=int, offset_date=int, offset_id=int, offset_peer=InputPeer, limit=int, hash={int}, }) +messages.Dialogs = messages.getDialogs({exclude_pinned=Bool, folder_id=int, offset_date=int, offset_id=int, offset_peer=InputPeer, limit=int, hash={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v104/methods/messages.getFavedStickers.md b/old_docs/API_docs_v104/methods/messages.getFavedStickers.md index 3ba077ef..19f64e43 100644 --- a/old_docs/API_docs_v104/methods/messages.getFavedStickers.md +++ b/old_docs/API_docs_v104/methods/messages.getFavedStickers.md @@ -16,7 +16,7 @@ Get faved stickers |hash|Array of [int](../types/int.md) | the hash parameter of the previous result of this method | Optional| -### Return type: [messages\_FavedStickers](../types/messages_FavedStickers.md) +### Return type: [messages.FavedStickers](../types/messages.FavedStickers.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_FavedStickers = $MadelineProto->messages->getFavedStickers(['hash' => [int, int], ]); +$messages.FavedStickers = $MadelineProto->messages->getFavedStickers(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_FavedStickers = messages.getFavedStickers({hash={int}, }) +messages.FavedStickers = messages.getFavedStickers({hash={int}, }) ``` diff --git a/old_docs/API_docs_v104/methods/messages.getFeaturedStickers.md b/old_docs/API_docs_v104/methods/messages.getFeaturedStickers.md index 8f2634c3..2d65d626 100644 --- a/old_docs/API_docs_v104/methods/messages.getFeaturedStickers.md +++ b/old_docs/API_docs_v104/methods/messages.getFeaturedStickers.md @@ -16,7 +16,7 @@ Get featured stickers |hash|Array of [int](../types/int.md) | the hash parameter of the previous result of this method | Optional| -### Return type: [messages\_FeaturedStickers](../types/messages_FeaturedStickers.md) +### Return type: [messages.FeaturedStickers](../types/messages.FeaturedStickers.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_FeaturedStickers = $MadelineProto->messages->getFeaturedStickers(['hash' => [int, int], ]); +$messages.FeaturedStickers = $MadelineProto->messages->getFeaturedStickers(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_FeaturedStickers = messages.getFeaturedStickers({hash={int}, }) +messages.FeaturedStickers = messages.getFeaturedStickers({hash={int}, }) ``` diff --git a/old_docs/API_docs_v104/methods/messages.getFullChat.md b/old_docs/API_docs_v104/methods/messages.getFullChat.md index abf23e21..de543651 100644 --- a/old_docs/API_docs_v104/methods/messages.getFullChat.md +++ b/old_docs/API_docs_v104/methods/messages.getFullChat.md @@ -16,7 +16,7 @@ You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo me |chat\_id|[Username, chat ID, Update, Message or InputPeer](../types/InputPeer.md) | You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo methods instead (see https://docs.madelineproto.xyz for more info) | Optional| -### Return type: [messages\_ChatFull](../types/messages_ChatFull.md) +### Return type: [messages.ChatFull](../types/messages.ChatFull.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_ChatFull = $MadelineProto->messages->getFullChat(['chat_id' => InputPeer, ]); +$messages.ChatFull = $MadelineProto->messages->getFullChat(['chat_id' => InputPeer, ]); ``` Or, if you're into Lua: ```lua -messages_ChatFull = messages.getFullChat({chat_id=InputPeer, }) +messages.ChatFull = messages.getFullChat({chat_id=InputPeer, }) ``` ### Errors diff --git a/old_docs/API_docs_v104/methods/messages.getGameHighScores.md b/old_docs/API_docs_v104/methods/messages.getGameHighScores.md index 0ee9d754..6e4dacb2 100644 --- a/old_docs/API_docs_v104/methods/messages.getGameHighScores.md +++ b/old_docs/API_docs_v104/methods/messages.getGameHighScores.md @@ -18,7 +18,7 @@ Get highscores of a game |user\_id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | Get high scores made by a certain user | Optional| -### Return type: [messages\_HighScores](../types/messages_HighScores.md) +### Return type: [messages.HighScores](../types/messages.HighScores.md) ### Can bots use this method: **YES** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_HighScores = $MadelineProto->messages->getGameHighScores(['peer' => InputPeer, 'id' => int, 'user_id' => InputUser, ]); +$messages.HighScores = $MadelineProto->messages->getGameHighScores(['peer' => InputPeer, 'id' => int, 'user_id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -messages_HighScores = messages.getGameHighScores({peer=InputPeer, id=int, user_id=InputUser, }) +messages.HighScores = messages.getGameHighScores({peer=InputPeer, id=int, user_id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v104/methods/messages.getHistory.md b/old_docs/API_docs_v104/methods/messages.getHistory.md index 9a3d5f8c..c7bd9850 100644 --- a/old_docs/API_docs_v104/methods/messages.getHistory.md +++ b/old_docs/API_docs_v104/methods/messages.getHistory.md @@ -23,7 +23,7 @@ Gets back the conversation history with one interlocutor / within a chat |hash|Array of [int](../types/int.md) | IDs of messages you already fetched | Optional| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **NO** @@ -40,13 +40,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->getHistory(['peer' => InputPeer, 'offset_id' => int, 'offset_date' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, 'hash' => [int, int], ]); +$messages.Messages = $MadelineProto->messages->getHistory(['peer' => InputPeer, 'offset_id' => int, 'offset_date' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, 'hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.getHistory({peer=InputPeer, offset_id=int, offset_date=int, add_offset=int, limit=int, max_id=int, min_id=int, hash={int}, }) +messages.Messages = messages.getHistory({peer=InputPeer, offset_id=int, offset_date=int, add_offset=int, limit=int, max_id=int, min_id=int, hash={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v104/methods/messages.getInlineBotResults.md b/old_docs/API_docs_v104/methods/messages.getInlineBotResults.md index ac251797..8a397236 100644 --- a/old_docs/API_docs_v104/methods/messages.getInlineBotResults.md +++ b/old_docs/API_docs_v104/methods/messages.getInlineBotResults.md @@ -20,7 +20,7 @@ Query an inline bot |offset|[string](../types/string.md) | The offset within the results, will be passed directly as-is to the bot. | Yes| -### Return type: [messages\_BotResults](../types/messages_BotResults.md) +### Return type: [messages.BotResults](../types/messages.BotResults.md) ### Can bots use this method: **NO** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_BotResults = $MadelineProto->messages->getInlineBotResults(['bot' => InputUser, 'peer' => InputPeer, 'geo_point' => InputGeoPoint, 'query' => 'string', 'offset' => 'string', ]); +$messages.BotResults = $MadelineProto->messages->getInlineBotResults(['bot' => InputUser, 'peer' => InputPeer, 'geo_point' => InputGeoPoint, 'query' => 'string', 'offset' => 'string', ]); ``` Or, if you're into Lua: ```lua -messages_BotResults = messages.getInlineBotResults({bot=InputUser, peer=InputPeer, geo_point=InputGeoPoint, query='string', offset='string', }) +messages.BotResults = messages.getInlineBotResults({bot=InputUser, peer=InputPeer, geo_point=InputGeoPoint, query='string', offset='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v104/methods/messages.getInlineGameHighScores.md b/old_docs/API_docs_v104/methods/messages.getInlineGameHighScores.md index 0d02b426..dbcb2cf6 100644 --- a/old_docs/API_docs_v104/methods/messages.getInlineGameHighScores.md +++ b/old_docs/API_docs_v104/methods/messages.getInlineGameHighScores.md @@ -17,7 +17,7 @@ Get highscores of a game sent using an inline bot |user\_id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | Get high scores of a certain user | Optional| -### Return type: [messages\_HighScores](../types/messages_HighScores.md) +### Return type: [messages.HighScores](../types/messages.HighScores.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_HighScores = $MadelineProto->messages->getInlineGameHighScores(['id' => InputBotInlineMessageID, 'user_id' => InputUser, ]); +$messages.HighScores = $MadelineProto->messages->getInlineGameHighScores(['id' => InputBotInlineMessageID, 'user_id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -messages_HighScores = messages.getInlineGameHighScores({id=InputBotInlineMessageID, user_id=InputUser, }) +messages.HighScores = messages.getInlineGameHighScores({id=InputBotInlineMessageID, user_id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v104/methods/messages.getMaskStickers.md b/old_docs/API_docs_v104/methods/messages.getMaskStickers.md index a09834e1..093645f6 100644 --- a/old_docs/API_docs_v104/methods/messages.getMaskStickers.md +++ b/old_docs/API_docs_v104/methods/messages.getMaskStickers.md @@ -16,7 +16,7 @@ Get installed mask stickers |hash|Array of [int](../types/int.md) | the hash parameter of the previous result of this method | Optional| -### Return type: [messages\_AllStickers](../types/messages_AllStickers.md) +### Return type: [messages.AllStickers](../types/messages.AllStickers.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AllStickers = $MadelineProto->messages->getMaskStickers(['hash' => [int, int], ]); +$messages.AllStickers = $MadelineProto->messages->getMaskStickers(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AllStickers = messages.getMaskStickers({hash={int}, }) +messages.AllStickers = messages.getMaskStickers({hash={int}, }) ``` diff --git a/old_docs/API_docs_v104/methods/messages.getMessageEditData.md b/old_docs/API_docs_v104/methods/messages.getMessageEditData.md index 1a083f08..7fd32e82 100644 --- a/old_docs/API_docs_v104/methods/messages.getMessageEditData.md +++ b/old_docs/API_docs_v104/methods/messages.getMessageEditData.md @@ -17,7 +17,7 @@ Find out if a media message's caption can be edited |id|[int](../types/int.md) | ID of message | Yes| -### Return type: [messages\_MessageEditData](../types/messages_MessageEditData.md) +### Return type: [messages.MessageEditData](../types/messages.MessageEditData.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_MessageEditData = $MadelineProto->messages->getMessageEditData(['peer' => InputPeer, 'id' => int, ]); +$messages.MessageEditData = $MadelineProto->messages->getMessageEditData(['peer' => InputPeer, 'id' => int, ]); ``` Or, if you're into Lua: ```lua -messages_MessageEditData = messages.getMessageEditData({peer=InputPeer, id=int, }) +messages.MessageEditData = messages.getMessageEditData({peer=InputPeer, id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v104/methods/messages.getMessages.md b/old_docs/API_docs_v104/methods/messages.getMessages.md index eb5ef6a6..0aed788d 100644 --- a/old_docs/API_docs_v104/methods/messages.getMessages.md +++ b/old_docs/API_docs_v104/methods/messages.getMessages.md @@ -16,7 +16,7 @@ Returns the list of messages by their IDs. |id|Array of [Message ID or InputMessage](../types/InputMessage.md) | The IDs of messages to fetch (only for users and normal groups) | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **YES** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->getMessages(['id' => [InputMessage, InputMessage], ]); +$messages.Messages = $MadelineProto->messages->getMessages(['id' => [InputMessage, InputMessage], ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.getMessages({id={InputMessage}, }) +messages.Messages = messages.getMessages({id={InputMessage}, }) ``` diff --git a/old_docs/API_docs_v104/methods/messages.getPeerDialogs.md b/old_docs/API_docs_v104/methods/messages.getPeerDialogs.md index 2ab5d661..1ec67e6a 100644 --- a/old_docs/API_docs_v104/methods/messages.getPeerDialogs.md +++ b/old_docs/API_docs_v104/methods/messages.getPeerDialogs.md @@ -16,7 +16,7 @@ Get dialog info of specified peers |peers|Array of [Username, chat ID, Update, Message or InputDialogPeer](../types/InputDialogPeer.md) | The peers | Yes| -### Return type: [messages\_PeerDialogs](../types/messages_PeerDialogs.md) +### Return type: [messages.PeerDialogs](../types/messages.PeerDialogs.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_PeerDialogs = $MadelineProto->messages->getPeerDialogs(['peers' => [InputDialogPeer, InputDialogPeer], ]); +$messages.PeerDialogs = $MadelineProto->messages->getPeerDialogs(['peers' => [InputDialogPeer, InputDialogPeer], ]); ``` Or, if you're into Lua: ```lua -messages_PeerDialogs = messages.getPeerDialogs({peers={InputDialogPeer}, }) +messages.PeerDialogs = messages.getPeerDialogs({peers={InputDialogPeer}, }) ``` ### Errors diff --git a/old_docs/API_docs_v104/methods/messages.getPinnedDialogs.md b/old_docs/API_docs_v104/methods/messages.getPinnedDialogs.md index 7fbfecd0..9b776f2a 100644 --- a/old_docs/API_docs_v104/methods/messages.getPinnedDialogs.md +++ b/old_docs/API_docs_v104/methods/messages.getPinnedDialogs.md @@ -16,7 +16,7 @@ Get pinned dialogs |folder\_id|[int](../types/int.md) | Folder ID | Yes| -### Return type: [messages\_PeerDialogs](../types/messages_PeerDialogs.md) +### Return type: [messages.PeerDialogs](../types/messages.PeerDialogs.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_PeerDialogs = $MadelineProto->messages->getPinnedDialogs(['folder_id' => int, ]); +$messages.PeerDialogs = $MadelineProto->messages->getPinnedDialogs(['folder_id' => int, ]); ``` Or, if you're into Lua: ```lua -messages_PeerDialogs = messages.getPinnedDialogs({folder_id=int, }) +messages.PeerDialogs = messages.getPinnedDialogs({folder_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v104/methods/messages.getRecentLocations.md b/old_docs/API_docs_v104/methods/messages.getRecentLocations.md index 40ec1285..4efeb49c 100644 --- a/old_docs/API_docs_v104/methods/messages.getRecentLocations.md +++ b/old_docs/API_docs_v104/methods/messages.getRecentLocations.md @@ -18,7 +18,7 @@ Get live location history of a certain user |hash|Array of [int](../types/int.md) | IDs of locations you already fetched | Optional| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **NO** @@ -35,12 +35,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->getRecentLocations(['peer' => InputPeer, 'limit' => int, 'hash' => [int, int], ]); +$messages.Messages = $MadelineProto->messages->getRecentLocations(['peer' => InputPeer, 'limit' => int, 'hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.getRecentLocations({peer=InputPeer, limit=int, hash={int}, }) +messages.Messages = messages.getRecentLocations({peer=InputPeer, limit=int, hash={int}, }) ``` diff --git a/old_docs/API_docs_v104/methods/messages.getRecentStickers.md b/old_docs/API_docs_v104/methods/messages.getRecentStickers.md index 28a70889..39cef16a 100644 --- a/old_docs/API_docs_v104/methods/messages.getRecentStickers.md +++ b/old_docs/API_docs_v104/methods/messages.getRecentStickers.md @@ -17,7 +17,7 @@ Get recent stickers |hash|Array of [int](../types/int.md) | IDs the hash parameter of the previous result of this method | Optional| -### Return type: [messages\_RecentStickers](../types/messages_RecentStickers.md) +### Return type: [messages.RecentStickers](../types/messages.RecentStickers.md) ### Can bots use this method: **NO** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_RecentStickers = $MadelineProto->messages->getRecentStickers(['attached' => Bool, 'hash' => [int, int], ]); +$messages.RecentStickers = $MadelineProto->messages->getRecentStickers(['attached' => Bool, 'hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_RecentStickers = messages.getRecentStickers({attached=Bool, hash={int}, }) +messages.RecentStickers = messages.getRecentStickers({attached=Bool, hash={int}, }) ``` diff --git a/old_docs/API_docs_v104/methods/messages.getSavedGifs.md b/old_docs/API_docs_v104/methods/messages.getSavedGifs.md index 1df7f37c..8b31f7b8 100644 --- a/old_docs/API_docs_v104/methods/messages.getSavedGifs.md +++ b/old_docs/API_docs_v104/methods/messages.getSavedGifs.md @@ -16,7 +16,7 @@ Get saved GIFs |hash|Array of [int](../types/int.md) | the hash parameter of the previous result of this method | Optional| -### Return type: [messages\_SavedGifs](../types/messages_SavedGifs.md) +### Return type: [messages.SavedGifs](../types/messages.SavedGifs.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_SavedGifs = $MadelineProto->messages->getSavedGifs(['hash' => [int, int], ]); +$messages.SavedGifs = $MadelineProto->messages->getSavedGifs(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_SavedGifs = messages.getSavedGifs({hash={int}, }) +messages.SavedGifs = messages.getSavedGifs({hash={int}, }) ``` diff --git a/old_docs/API_docs_v104/methods/messages.getSearchCounters.md b/old_docs/API_docs_v104/methods/messages.getSearchCounters.md index 7a3ff374..3fb15962 100644 --- a/old_docs/API_docs_v104/methods/messages.getSearchCounters.md +++ b/old_docs/API_docs_v104/methods/messages.getSearchCounters.md @@ -17,7 +17,7 @@ Get the number of results that would be found by a [messages.search](../methods/ |filters|Array of [MessagesFilter](../types/MessagesFilter.md) | Filters | Yes| -### Return type: [Vector\_of\_messages\_SearchCounter](../types/messages_SearchCounter.md) +### Return type: [Vector\_of\_messages.SearchCounter](../types/messages.SearchCounter.md) ### Can bots use this method: **NO** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$Vector_of_messages_SearchCounter = $MadelineProto->messages->getSearchCounters(['peer' => InputPeer, 'filters' => [MessagesFilter, MessagesFilter], ]); +$Vector_of_messages.SearchCounter = $MadelineProto->messages->getSearchCounters(['peer' => InputPeer, 'filters' => [MessagesFilter, MessagesFilter], ]); ``` Or, if you're into Lua: ```lua -Vector_of_messages_SearchCounter = messages.getSearchCounters({peer=InputPeer, filters={MessagesFilter}, }) +Vector_of_messages.SearchCounter = messages.getSearchCounters({peer=InputPeer, filters={MessagesFilter}, }) ``` diff --git a/old_docs/API_docs_v104/methods/messages.getStickerSet.md b/old_docs/API_docs_v104/methods/messages.getStickerSet.md index 45fca60f..f11887ee 100644 --- a/old_docs/API_docs_v104/methods/messages.getStickerSet.md +++ b/old_docs/API_docs_v104/methods/messages.getStickerSet.md @@ -16,7 +16,7 @@ Get info about a stickerset |stickerset|[InputStickerSet](../types/InputStickerSet.md) | Stickerset | Optional| -### Return type: [messages\_StickerSet](../types/messages_StickerSet.md) +### Return type: [messages.StickerSet](../types/messages.StickerSet.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StickerSet = $MadelineProto->messages->getStickerSet(['stickerset' => InputStickerSet, ]); +$messages.StickerSet = $MadelineProto->messages->getStickerSet(['stickerset' => InputStickerSet, ]); ``` Or, if you're into Lua: ```lua -messages_StickerSet = messages.getStickerSet({stickerset=InputStickerSet, }) +messages.StickerSet = messages.getStickerSet({stickerset=InputStickerSet, }) ``` ### Errors diff --git a/old_docs/API_docs_v104/methods/messages.getStickers.md b/old_docs/API_docs_v104/methods/messages.getStickers.md index 4f8b7598..ff99fbd2 100644 --- a/old_docs/API_docs_v104/methods/messages.getStickers.md +++ b/old_docs/API_docs_v104/methods/messages.getStickers.md @@ -17,7 +17,7 @@ Get stickers by emoji |hash|Array of [int](../types/int.md) | the hash parameter of the previous result of this method | Optional| -### Return type: [messages\_Stickers](../types/messages_Stickers.md) +### Return type: [messages.Stickers](../types/messages.Stickers.md) ### Can bots use this method: **NO** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Stickers = $MadelineProto->messages->getStickers(['emoticon' => 'string', 'hash' => [int, int], ]); +$messages.Stickers = $MadelineProto->messages->getStickers(['emoticon' => 'string', 'hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Stickers = messages.getStickers({emoticon='string', hash={int}, }) +messages.Stickers = messages.getStickers({emoticon='string', hash={int}, }) ``` diff --git a/old_docs/API_docs_v104/methods/messages.getUnreadMentions.md b/old_docs/API_docs_v104/methods/messages.getUnreadMentions.md index 33bba261..679ed841 100644 --- a/old_docs/API_docs_v104/methods/messages.getUnreadMentions.md +++ b/old_docs/API_docs_v104/methods/messages.getUnreadMentions.md @@ -21,7 +21,7 @@ Get unread messages where we were mentioned |min\_id|[int](../types/int.md) | Minimum message ID to return, [see pagination](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **NO** @@ -38,13 +38,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->getUnreadMentions(['peer' => InputPeer, 'offset_id' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); +$messages.Messages = $MadelineProto->messages->getUnreadMentions(['peer' => InputPeer, 'offset_id' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.getUnreadMentions({peer=InputPeer, offset_id=int, add_offset=int, limit=int, max_id=int, min_id=int, }) +messages.Messages = messages.getUnreadMentions({peer=InputPeer, offset_id=int, add_offset=int, limit=int, max_id=int, min_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v104/methods/messages.installStickerSet.md b/old_docs/API_docs_v104/methods/messages.installStickerSet.md index 1a95ca0b..83ce2121 100644 --- a/old_docs/API_docs_v104/methods/messages.installStickerSet.md +++ b/old_docs/API_docs_v104/methods/messages.installStickerSet.md @@ -17,7 +17,7 @@ Install a stickerset |archived|[Bool](../types/Bool.md) | Whether to archive stickerset | Yes| -### Return type: [messages\_StickerSetInstallResult](../types/messages_StickerSetInstallResult.md) +### Return type: [messages.StickerSetInstallResult](../types/messages.StickerSetInstallResult.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StickerSetInstallResult = $MadelineProto->messages->installStickerSet(['stickerset' => InputStickerSet, 'archived' => Bool, ]); +$messages.StickerSetInstallResult = $MadelineProto->messages->installStickerSet(['stickerset' => InputStickerSet, 'archived' => Bool, ]); ``` Or, if you're into Lua: ```lua -messages_StickerSetInstallResult = messages.installStickerSet({stickerset=InputStickerSet, archived=Bool, }) +messages.StickerSetInstallResult = messages.installStickerSet({stickerset=InputStickerSet, archived=Bool, }) ``` ### Errors diff --git a/old_docs/API_docs_v104/methods/messages.readHistory.md b/old_docs/API_docs_v104/methods/messages.readHistory.md index 39753375..52030c68 100644 --- a/old_docs/API_docs_v104/methods/messages.readHistory.md +++ b/old_docs/API_docs_v104/methods/messages.readHistory.md @@ -17,7 +17,7 @@ Marks message history as read. |max\_id|[int](../types/int.md) | If a positive value is passed, only messages with identifiers less or equal than the given one will be read | Yes| -### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) +### Return type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedMessages = $MadelineProto->messages->readHistory(['peer' => InputPeer, 'max_id' => int, ]); +$messages.AffectedMessages = $MadelineProto->messages->readHistory(['peer' => InputPeer, 'max_id' => int, ]); ``` Or, if you're into Lua: ```lua -messages_AffectedMessages = messages.readHistory({peer=InputPeer, max_id=int, }) +messages.AffectedMessages = messages.readHistory({peer=InputPeer, max_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v104/methods/messages.readMentions.md b/old_docs/API_docs_v104/methods/messages.readMentions.md index 9b73851d..c8c94f00 100644 --- a/old_docs/API_docs_v104/methods/messages.readMentions.md +++ b/old_docs/API_docs_v104/methods/messages.readMentions.md @@ -16,7 +16,7 @@ Mark mentions as read |peer|[Username, chat ID, Update, Message or InputPeer](../types/InputPeer.md) | Dialog | Optional| -### Return type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) +### Return type: [messages.AffectedHistory](../types/messages.AffectedHistory.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedHistory = $MadelineProto->messages->readMentions(['peer' => InputPeer, ]); +$messages.AffectedHistory = $MadelineProto->messages->readMentions(['peer' => InputPeer, ]); ``` Or, if you're into Lua: ```lua -messages_AffectedHistory = messages.readMentions({peer=InputPeer, }) +messages.AffectedHistory = messages.readMentions({peer=InputPeer, }) ``` diff --git a/old_docs/API_docs_v104/methods/messages.readMessageContents.md b/old_docs/API_docs_v104/methods/messages.readMessageContents.md index c479cafe..9798e661 100644 --- a/old_docs/API_docs_v104/methods/messages.readMessageContents.md +++ b/old_docs/API_docs_v104/methods/messages.readMessageContents.md @@ -16,7 +16,7 @@ Notifies the sender about the recipient having listened a voice message or watch |id|Array of [int](../types/int.md) | The messages to mark as read (only users and normal chats, not supergroups) | Yes| -### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) +### Return type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedMessages = $MadelineProto->messages->readMessageContents(['id' => [int, int], ]); +$messages.AffectedMessages = $MadelineProto->messages->readMessageContents(['id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AffectedMessages = messages.readMessageContents({id={int}, }) +messages.AffectedMessages = messages.readMessageContents({id={int}, }) ``` diff --git a/old_docs/API_docs_v104/methods/messages.search.md b/old_docs/API_docs_v104/methods/messages.search.md index 75c21af0..b8125fb6 100644 --- a/old_docs/API_docs_v104/methods/messages.search.md +++ b/old_docs/API_docs_v104/methods/messages.search.md @@ -27,7 +27,7 @@ Gets back found messages |hash|Array of [int](../types/int.md) | The IDs of messages you already fetched | Optional| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **NO** @@ -44,13 +44,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->search(['peer' => InputPeer, 'q' => 'string', 'from_id' => InputUser, 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset_id' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, 'hash' => [int, int], ]); +$messages.Messages = $MadelineProto->messages->search(['peer' => InputPeer, 'q' => 'string', 'from_id' => InputUser, 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset_id' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, 'hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.search({peer=InputPeer, q='string', from_id=InputUser, filter=MessagesFilter, min_date=int, max_date=int, offset_id=int, add_offset=int, limit=int, max_id=int, min_id=int, hash={int}, }) +messages.Messages = messages.search({peer=InputPeer, q='string', from_id=InputUser, filter=MessagesFilter, min_date=int, max_date=int, offset_id=int, add_offset=int, limit=int, max_id=int, min_id=int, hash={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v104/methods/messages.searchGifs.md b/old_docs/API_docs_v104/methods/messages.searchGifs.md index 851371d7..193a0cd4 100644 --- a/old_docs/API_docs_v104/methods/messages.searchGifs.md +++ b/old_docs/API_docs_v104/methods/messages.searchGifs.md @@ -17,7 +17,7 @@ Search for GIFs |offset|[int](../types/int.md) | Offset for [pagination »](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_FoundGifs](../types/messages_FoundGifs.md) +### Return type: [messages.FoundGifs](../types/messages.FoundGifs.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_FoundGifs = $MadelineProto->messages->searchGifs(['q' => 'string', 'offset' => int, ]); +$messages.FoundGifs = $MadelineProto->messages->searchGifs(['q' => 'string', 'offset' => int, ]); ``` Or, if you're into Lua: ```lua -messages_FoundGifs = messages.searchGifs({q='string', offset=int, }) +messages.FoundGifs = messages.searchGifs({q='string', offset=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v104/methods/messages.searchGlobal.md b/old_docs/API_docs_v104/methods/messages.searchGlobal.md index 7d2bb854..4e285576 100644 --- a/old_docs/API_docs_v104/methods/messages.searchGlobal.md +++ b/old_docs/API_docs_v104/methods/messages.searchGlobal.md @@ -21,7 +21,7 @@ Search for messages and peers globally |limit|[int](../types/int.md) | [Offsets for pagination, for more info click here](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **NO** @@ -38,13 +38,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->searchGlobal(['folder_id' => int, 'q' => 'string', 'offset_rate' => int, 'offset_peer' => InputPeer, 'offset_id' => int, 'limit' => int, ]); +$messages.Messages = $MadelineProto->messages->searchGlobal(['folder_id' => int, 'q' => 'string', 'offset_rate' => int, 'offset_peer' => InputPeer, 'offset_id' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.searchGlobal({folder_id=int, q='string', offset_rate=int, offset_peer=InputPeer, offset_id=int, limit=int, }) +messages.Messages = messages.searchGlobal({folder_id=int, q='string', offset_rate=int, offset_peer=InputPeer, offset_id=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v104/methods/messages.searchStickerSets.md b/old_docs/API_docs_v104/methods/messages.searchStickerSets.md index 1759fbc0..a8924f3d 100644 --- a/old_docs/API_docs_v104/methods/messages.searchStickerSets.md +++ b/old_docs/API_docs_v104/methods/messages.searchStickerSets.md @@ -18,7 +18,7 @@ Search for stickersets |hash|Array of [int](../types/int.md) | The IDs of stickersets you already fetched | Optional| -### Return type: [messages\_FoundStickerSets](../types/messages_FoundStickerSets.md) +### Return type: [messages.FoundStickerSets](../types/messages.FoundStickerSets.md) ### Can bots use this method: **NO** @@ -35,12 +35,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_FoundStickerSets = $MadelineProto->messages->searchStickerSets(['exclude_featured' => Bool, 'q' => 'string', 'hash' => [int, int], ]); +$messages.FoundStickerSets = $MadelineProto->messages->searchStickerSets(['exclude_featured' => Bool, 'q' => 'string', 'hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_FoundStickerSets = messages.searchStickerSets({exclude_featured=Bool, q='string', hash={int}, }) +messages.FoundStickerSets = messages.searchStickerSets({exclude_featured=Bool, q='string', hash={int}, }) ``` diff --git a/old_docs/API_docs_v104/methods/messages.sendEncrypted.md b/old_docs/API_docs_v104/methods/messages.sendEncrypted.md index 47b5ef29..6a68b563 100644 --- a/old_docs/API_docs_v104/methods/messages.sendEncrypted.md +++ b/old_docs/API_docs_v104/methods/messages.sendEncrypted.md @@ -14,10 +14,10 @@ Sends a text message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|message|[DecryptedMessage](../types/DecryptedMessage.md) | The message to send | Yes| +|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key that was created during chat initialization | Yes| -### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ### Can bots use this method: **NO** @@ -34,21 +34,15 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncrypted(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); +$messages.SentEncryptedMessage = $MadelineProto->messages->sendEncrypted(['peer' => InputEncryptedChat, 'data' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -messages_SentEncryptedMessage = messages.sendEncrypted({peer=InputEncryptedChat, message=DecryptedMessage, }) +messages.SentEncryptedMessage = messages.sendEncrypted({peer=InputEncryptedChat, data='bytes', }) ``` - -## Return value - -If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) will be returned instead. - - ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v104/methods/messages.sendEncryptedFile.md b/old_docs/API_docs_v104/methods/messages.sendEncryptedFile.md index 4e0f7b7f..87185ba4 100644 --- a/old_docs/API_docs_v104/methods/messages.sendEncryptedFile.md +++ b/old_docs/API_docs_v104/methods/messages.sendEncryptedFile.md @@ -14,11 +14,11 @@ Sends a message with a file attachment to a secret chat | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|message|[DecryptedMessage](../types/DecryptedMessage.md) | The message with the file | Yes| +|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| |file|[File path or InputEncryptedFile](../types/InputEncryptedFile.md) | File attachment for the secret chat | Optional| -### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ### Can bots use this method: **NO** @@ -35,21 +35,15 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedFile(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, 'file' => InputEncryptedFile, ]); +$messages.SentEncryptedMessage = $MadelineProto->messages->sendEncryptedFile(['peer' => InputEncryptedChat, 'data' => 'bytes', 'file' => InputEncryptedFile, ]); ``` Or, if you're into Lua: ```lua -messages_SentEncryptedMessage = messages.sendEncryptedFile({peer=InputEncryptedChat, message=DecryptedMessage, file=InputEncryptedFile, }) +messages.SentEncryptedMessage = messages.sendEncryptedFile({peer=InputEncryptedChat, data='bytes', file=InputEncryptedFile, }) ``` - -## Return value - -If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) will be returned instead. - - ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v104/methods/messages.sendEncryptedService.md b/old_docs/API_docs_v104/methods/messages.sendEncryptedService.md index 86925ae3..38171272 100644 --- a/old_docs/API_docs_v104/methods/messages.sendEncryptedService.md +++ b/old_docs/API_docs_v104/methods/messages.sendEncryptedService.md @@ -14,10 +14,10 @@ Sends a service message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|message|[DecryptedMessage](../types/DecryptedMessage.md) | The service message | Yes| +|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| -### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ### Can bots use this method: **NO** @@ -34,21 +34,15 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedService(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); +$messages.SentEncryptedMessage = $MadelineProto->messages->sendEncryptedService(['peer' => InputEncryptedChat, 'data' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -messages_SentEncryptedMessage = messages.sendEncryptedService({peer=InputEncryptedChat, message=DecryptedMessage, }) +messages.SentEncryptedMessage = messages.sendEncryptedService({peer=InputEncryptedChat, data='bytes', }) ``` - -## Return value - -If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) will be returned instead. - - ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v104/methods/payments.getPaymentForm.md b/old_docs/API_docs_v104/methods/payments.getPaymentForm.md index 3a171a05..da173f14 100644 --- a/old_docs/API_docs_v104/methods/payments.getPaymentForm.md +++ b/old_docs/API_docs_v104/methods/payments.getPaymentForm.md @@ -16,7 +16,7 @@ Get a payment form |msg\_id|[int](../types/int.md) | Message ID of payment form | Yes| -### Return type: [payments\_PaymentForm](../types/payments_PaymentForm.md) +### Return type: [payments.PaymentForm](../types/payments.PaymentForm.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$payments_PaymentForm = $MadelineProto->payments->getPaymentForm(['msg_id' => int, ]); +$payments.PaymentForm = $MadelineProto->payments->getPaymentForm(['msg_id' => int, ]); ``` Or, if you're into Lua: ```lua -payments_PaymentForm = payments.getPaymentForm({msg_id=int, }) +payments.PaymentForm = payments.getPaymentForm({msg_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v104/methods/payments.getPaymentReceipt.md b/old_docs/API_docs_v104/methods/payments.getPaymentReceipt.md index 46d2267c..16e41367 100644 --- a/old_docs/API_docs_v104/methods/payments.getPaymentReceipt.md +++ b/old_docs/API_docs_v104/methods/payments.getPaymentReceipt.md @@ -16,7 +16,7 @@ Get payment receipt |msg\_id|[int](../types/int.md) | Message ID of receipt | Yes| -### Return type: [payments\_PaymentReceipt](../types/payments_PaymentReceipt.md) +### Return type: [payments.PaymentReceipt](../types/payments.PaymentReceipt.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$payments_PaymentReceipt = $MadelineProto->payments->getPaymentReceipt(['msg_id' => int, ]); +$payments.PaymentReceipt = $MadelineProto->payments->getPaymentReceipt(['msg_id' => int, ]); ``` Or, if you're into Lua: ```lua -payments_PaymentReceipt = payments.getPaymentReceipt({msg_id=int, }) +payments.PaymentReceipt = payments.getPaymentReceipt({msg_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v104/methods/payments.getSavedInfo.md b/old_docs/API_docs_v104/methods/payments.getSavedInfo.md index dc9c9b98..fe2c16ec 100644 --- a/old_docs/API_docs_v104/methods/payments.getSavedInfo.md +++ b/old_docs/API_docs_v104/methods/payments.getSavedInfo.md @@ -11,7 +11,7 @@ Get saved payment information -### Return type: [payments\_SavedInfo](../types/payments_SavedInfo.md) +### Return type: [payments.SavedInfo](../types/payments.SavedInfo.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$payments_SavedInfo = $MadelineProto->payments->getSavedInfo(); +$payments.SavedInfo = $MadelineProto->payments->getSavedInfo(); ``` Or, if you're into Lua: ```lua -payments_SavedInfo = payments.getSavedInfo({}) +payments.SavedInfo = payments.getSavedInfo({}) ``` diff --git a/old_docs/API_docs_v104/methods/payments.sendPaymentForm.md b/old_docs/API_docs_v104/methods/payments.sendPaymentForm.md index 8c478b92..de154e7f 100644 --- a/old_docs/API_docs_v104/methods/payments.sendPaymentForm.md +++ b/old_docs/API_docs_v104/methods/payments.sendPaymentForm.md @@ -19,7 +19,7 @@ Send compiled payment form |credentials|[InputPaymentCredentials](../types/InputPaymentCredentials.md) | Payment credentials | Yes| -### Return type: [payments\_PaymentResult](../types/payments_PaymentResult.md) +### Return type: [payments.PaymentResult](../types/payments.PaymentResult.md) ### Can bots use this method: **NO** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$payments_PaymentResult = $MadelineProto->payments->sendPaymentForm(['msg_id' => int, 'requested_info_id' => 'string', 'shipping_option_id' => 'string', 'credentials' => InputPaymentCredentials, ]); +$payments.PaymentResult = $MadelineProto->payments->sendPaymentForm(['msg_id' => int, 'requested_info_id' => 'string', 'shipping_option_id' => 'string', 'credentials' => InputPaymentCredentials, ]); ``` Or, if you're into Lua: ```lua -payments_PaymentResult = payments.sendPaymentForm({msg_id=int, requested_info_id='string', shipping_option_id='string', credentials=InputPaymentCredentials, }) +payments.PaymentResult = payments.sendPaymentForm({msg_id=int, requested_info_id='string', shipping_option_id='string', credentials=InputPaymentCredentials, }) ``` ### Errors diff --git a/old_docs/API_docs_v104/methods/payments.validateRequestedInfo.md b/old_docs/API_docs_v104/methods/payments.validateRequestedInfo.md index d6364a02..ce22cfe8 100644 --- a/old_docs/API_docs_v104/methods/payments.validateRequestedInfo.md +++ b/old_docs/API_docs_v104/methods/payments.validateRequestedInfo.md @@ -18,7 +18,7 @@ Submit requested order information for validation |info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Requested order information | Yes| -### Return type: [payments\_ValidatedRequestedInfo](../types/payments_ValidatedRequestedInfo.md) +### Return type: [payments.ValidatedRequestedInfo](../types/payments.ValidatedRequestedInfo.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$payments_ValidatedRequestedInfo = $MadelineProto->payments->validateRequestedInfo(['save' => Bool, 'msg_id' => int, 'info' => PaymentRequestedInfo, ]); +$payments.ValidatedRequestedInfo = $MadelineProto->payments->validateRequestedInfo(['save' => Bool, 'msg_id' => int, 'info' => PaymentRequestedInfo, ]); ``` Or, if you're into Lua: ```lua -payments_ValidatedRequestedInfo = payments.validateRequestedInfo({save=Bool, msg_id=int, info=PaymentRequestedInfo, }) +payments.ValidatedRequestedInfo = payments.validateRequestedInfo({save=Bool, msg_id=int, info=PaymentRequestedInfo, }) ``` ### Errors diff --git a/old_docs/API_docs_v104/methods/phone.acceptCall.md b/old_docs/API_docs_v104/methods/phone.acceptCall.md index f5c58f01..6b9185aa 100644 --- a/old_docs/API_docs_v104/methods/phone.acceptCall.md +++ b/old_docs/API_docs_v104/methods/phone.acceptCall.md @@ -18,7 +18,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz#calls fo |protocol|[PhoneCallProtocol](../types/PhoneCallProtocol.md) | You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls | Yes| -### Return type: [phone\_PhoneCall](../types/phone_PhoneCall.md) +### Return type: [phone.PhoneCall](../types/phone.PhoneCall.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$phone_PhoneCall = $MadelineProto->phone->acceptCall(['peer' => InputPhoneCall, 'g_b' => 'bytes', 'protocol' => PhoneCallProtocol, ]); +$phone.PhoneCall = $MadelineProto->phone->acceptCall(['peer' => InputPhoneCall, 'g_b' => 'bytes', 'protocol' => PhoneCallProtocol, ]); ``` Or, if you're into Lua: ```lua -phone_PhoneCall = phone.acceptCall({peer=InputPhoneCall, g_b='bytes', protocol=PhoneCallProtocol, }) +phone.PhoneCall = phone.acceptCall({peer=InputPhoneCall, g_b='bytes', protocol=PhoneCallProtocol, }) ``` ### Errors diff --git a/old_docs/API_docs_v104/methods/phone.confirmCall.md b/old_docs/API_docs_v104/methods/phone.confirmCall.md index 468307cc..a52d1f9c 100644 --- a/old_docs/API_docs_v104/methods/phone.confirmCall.md +++ b/old_docs/API_docs_v104/methods/phone.confirmCall.md @@ -19,7 +19,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz#calls fo |protocol|[PhoneCallProtocol](../types/PhoneCallProtocol.md) | You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls | Yes| -### Return type: [phone\_PhoneCall](../types/phone_PhoneCall.md) +### Return type: [phone.PhoneCall](../types/phone.PhoneCall.md) ### Can bots use this method: **NO** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$phone_PhoneCall = $MadelineProto->phone->confirmCall(['peer' => InputPhoneCall, 'g_a' => 'bytes', 'key_fingerprint' => long, 'protocol' => PhoneCallProtocol, ]); +$phone.PhoneCall = $MadelineProto->phone->confirmCall(['peer' => InputPhoneCall, 'g_a' => 'bytes', 'key_fingerprint' => long, 'protocol' => PhoneCallProtocol, ]); ``` Or, if you're into Lua: ```lua -phone_PhoneCall = phone.confirmCall({peer=InputPhoneCall, g_a='bytes', key_fingerprint=long, protocol=PhoneCallProtocol, }) +phone.PhoneCall = phone.confirmCall({peer=InputPhoneCall, g_a='bytes', key_fingerprint=long, protocol=PhoneCallProtocol, }) ``` ### Errors diff --git a/old_docs/API_docs_v104/methods/phone.requestCall.md b/old_docs/API_docs_v104/methods/phone.requestCall.md index e3894214..608f562f 100644 --- a/old_docs/API_docs_v104/methods/phone.requestCall.md +++ b/old_docs/API_docs_v104/methods/phone.requestCall.md @@ -19,7 +19,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz#calls fo |protocol|[PhoneCallProtocol](../types/PhoneCallProtocol.md) | You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls | Yes| -### Return type: [phone\_PhoneCall](../types/phone_PhoneCall.md) +### Return type: [phone.PhoneCall](../types/phone.PhoneCall.md) ### Can bots use this method: **NO** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$phone_PhoneCall = $MadelineProto->phone->requestCall(['video' => Bool, 'user_id' => InputUser, 'g_a_hash' => 'bytes', 'protocol' => PhoneCallProtocol, ]); +$phone.PhoneCall = $MadelineProto->phone->requestCall(['video' => Bool, 'user_id' => InputUser, 'g_a_hash' => 'bytes', 'protocol' => PhoneCallProtocol, ]); ``` Or, if you're into Lua: ```lua -phone_PhoneCall = phone.requestCall({video=Bool, user_id=InputUser, g_a_hash='bytes', protocol=PhoneCallProtocol, }) +phone.PhoneCall = phone.requestCall({video=Bool, user_id=InputUser, g_a_hash='bytes', protocol=PhoneCallProtocol, }) ``` ### Errors diff --git a/old_docs/API_docs_v104/methods/photos.getUserPhotos.md b/old_docs/API_docs_v104/methods/photos.getUserPhotos.md index a1dec2ed..1f8d5c64 100644 --- a/old_docs/API_docs_v104/methods/photos.getUserPhotos.md +++ b/old_docs/API_docs_v104/methods/photos.getUserPhotos.md @@ -19,7 +19,7 @@ Returns the list of user photos. |limit|[int](../types/int.md) | Number of list elements to be returned | Yes| -### Return type: [photos\_Photos](../types/photos_Photos.md) +### Return type: [photos.Photos](../types/photos.Photos.md) ### Can bots use this method: **YES** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$photos_Photos = $MadelineProto->photos->getUserPhotos(['user_id' => InputUser, 'offset' => int, 'max_id' => long, 'limit' => int, ]); +$photos.Photos = $MadelineProto->photos->getUserPhotos(['user_id' => InputUser, 'offset' => int, 'max_id' => long, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -photos_Photos = photos.getUserPhotos({user_id=InputUser, offset=int, max_id=long, limit=int, }) +photos.Photos = photos.getUserPhotos({user_id=InputUser, offset=int, max_id=long, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v104/methods/photos.uploadProfilePhoto.md b/old_docs/API_docs_v104/methods/photos.uploadProfilePhoto.md index b6a01ee7..4de76a24 100644 --- a/old_docs/API_docs_v104/methods/photos.uploadProfilePhoto.md +++ b/old_docs/API_docs_v104/methods/photos.uploadProfilePhoto.md @@ -16,7 +16,7 @@ Updates current user profile photo. |file|[File path or InputFile](../types/InputFile.md) | File saved in parts by means of [upload.saveFilePart](../methods/upload.saveFilePart.md) method | Yes| -### Return type: [photos\_Photo](../types/photos_Photo.md) +### Return type: [photos.Photo](../types/photos.Photo.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$photos_Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, ]); +$photos.Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, ]); ``` Or, if you're into Lua: ```lua -photos_Photo = photos.uploadProfilePhoto({file=InputFile, }) +photos.Photo = photos.uploadProfilePhoto({file=InputFile, }) ``` ### Errors diff --git a/old_docs/API_docs_v104/methods/stickers.addStickerToSet.md b/old_docs/API_docs_v104/methods/stickers.addStickerToSet.md index 727d3f27..e8392355 100644 --- a/old_docs/API_docs_v104/methods/stickers.addStickerToSet.md +++ b/old_docs/API_docs_v104/methods/stickers.addStickerToSet.md @@ -17,7 +17,7 @@ Add a sticker to a stickerset, bots only. The sticker set must have been created |sticker|[InputStickerSetItem](../types/InputStickerSetItem.md) | The sticker | Yes| -### Return type: [messages\_StickerSet](../types/messages_StickerSet.md) +### Return type: [messages.StickerSet](../types/messages.StickerSet.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StickerSet = $MadelineProto->stickers->addStickerToSet(['stickerset' => InputStickerSet, 'sticker' => InputStickerSetItem, ]); +$messages.StickerSet = $MadelineProto->stickers->addStickerToSet(['stickerset' => InputStickerSet, 'sticker' => InputStickerSetItem, ]); ``` Or, if you're into Lua: ```lua -messages_StickerSet = stickers.addStickerToSet({stickerset=InputStickerSet, sticker=InputStickerSetItem, }) +messages.StickerSet = stickers.addStickerToSet({stickerset=InputStickerSet, sticker=InputStickerSetItem, }) ``` ### Errors diff --git a/old_docs/API_docs_v104/methods/stickers.changeStickerPosition.md b/old_docs/API_docs_v104/methods/stickers.changeStickerPosition.md index ed390f21..e1d8ab5e 100644 --- a/old_docs/API_docs_v104/methods/stickers.changeStickerPosition.md +++ b/old_docs/API_docs_v104/methods/stickers.changeStickerPosition.md @@ -17,7 +17,7 @@ Changes the absolute position of a sticker in the set to which it belongs; for b |position|[int](../types/int.md) | The new position of the sticker, zero-based | Yes| -### Return type: [messages\_StickerSet](../types/messages_StickerSet.md) +### Return type: [messages.StickerSet](../types/messages.StickerSet.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StickerSet = $MadelineProto->stickers->changeStickerPosition(['sticker' => InputDocument, 'position' => int, ]); +$messages.StickerSet = $MadelineProto->stickers->changeStickerPosition(['sticker' => InputDocument, 'position' => int, ]); ``` Or, if you're into Lua: ```lua -messages_StickerSet = stickers.changeStickerPosition({sticker=InputDocument, position=int, }) +messages.StickerSet = stickers.changeStickerPosition({sticker=InputDocument, position=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v104/methods/stickers.createStickerSet.md b/old_docs/API_docs_v104/methods/stickers.createStickerSet.md index 5a6ef396..7eeeb48f 100644 --- a/old_docs/API_docs_v104/methods/stickers.createStickerSet.md +++ b/old_docs/API_docs_v104/methods/stickers.createStickerSet.md @@ -20,7 +20,7 @@ Create a stickerset, bots only. |stickers|Array of [InputStickerSetItem](../types/InputStickerSetItem.md) | The stickers to add | Yes| -### Return type: [messages\_StickerSet](../types/messages_StickerSet.md) +### Return type: [messages.StickerSet](../types/messages.StickerSet.md) ### Can bots use this method: **YES** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StickerSet = $MadelineProto->stickers->createStickerSet(['masks' => Bool, 'user_id' => InputUser, 'title' => 'string', 'short_name' => 'string', 'stickers' => [InputStickerSetItem, InputStickerSetItem], ]); +$messages.StickerSet = $MadelineProto->stickers->createStickerSet(['masks' => Bool, 'user_id' => InputUser, 'title' => 'string', 'short_name' => 'string', 'stickers' => [InputStickerSetItem, InputStickerSetItem], ]); ``` Or, if you're into Lua: ```lua -messages_StickerSet = stickers.createStickerSet({masks=Bool, user_id=InputUser, title='string', short_name='string', stickers={InputStickerSetItem}, }) +messages.StickerSet = stickers.createStickerSet({masks=Bool, user_id=InputUser, title='string', short_name='string', stickers={InputStickerSetItem}, }) ``` ### Errors diff --git a/old_docs/API_docs_v104/methods/stickers.removeStickerFromSet.md b/old_docs/API_docs_v104/methods/stickers.removeStickerFromSet.md index 33f677b3..aa4927ca 100644 --- a/old_docs/API_docs_v104/methods/stickers.removeStickerFromSet.md +++ b/old_docs/API_docs_v104/methods/stickers.removeStickerFromSet.md @@ -16,7 +16,7 @@ Remove a sticker from the set where it belongs, bots only. The sticker set must |sticker|[MessageMedia, Update, Message or InputDocument](../types/InputDocument.md) | The sticker to remove | Optional| -### Return type: [messages\_StickerSet](../types/messages_StickerSet.md) +### Return type: [messages.StickerSet](../types/messages.StickerSet.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StickerSet = $MadelineProto->stickers->removeStickerFromSet(['sticker' => InputDocument, ]); +$messages.StickerSet = $MadelineProto->stickers->removeStickerFromSet(['sticker' => InputDocument, ]); ``` Or, if you're into Lua: ```lua -messages_StickerSet = stickers.removeStickerFromSet({sticker=InputDocument, }) +messages.StickerSet = stickers.removeStickerFromSet({sticker=InputDocument, }) ``` ### Errors diff --git a/old_docs/API_docs_v104/methods/updates.getChannelDifference.md b/old_docs/API_docs_v104/methods/updates.getChannelDifference.md index 5675cd33..08df3395 100644 --- a/old_docs/API_docs_v104/methods/updates.getChannelDifference.md +++ b/old_docs/API_docs_v104/methods/updates.getChannelDifference.md @@ -20,7 +20,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz for more |limit|[int](../types/int.md) | You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates | Yes| -### Return type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) +### Return type: [updates.ChannelDifference](../types/updates.ChannelDifference.md) ### Can bots use this method: **YES** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$updates_ChannelDifference = $MadelineProto->updates->getChannelDifference(['force' => Bool, 'channel' => InputChannel, 'filter' => ChannelMessagesFilter, 'pts' => int, 'limit' => int, ]); +$updates.ChannelDifference = $MadelineProto->updates->getChannelDifference(['force' => Bool, 'channel' => InputChannel, 'filter' => ChannelMessagesFilter, 'pts' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -updates_ChannelDifference = updates.getChannelDifference({force=Bool, channel=InputChannel, filter=ChannelMessagesFilter, pts=int, limit=int, }) +updates.ChannelDifference = updates.getChannelDifference({force=Bool, channel=InputChannel, filter=ChannelMessagesFilter, pts=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v104/methods/updates.getDifference.md b/old_docs/API_docs_v104/methods/updates.getDifference.md index bcfac4e2..b3796a10 100644 --- a/old_docs/API_docs_v104/methods/updates.getDifference.md +++ b/old_docs/API_docs_v104/methods/updates.getDifference.md @@ -19,7 +19,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz for more |qts|[int](../types/int.md) | You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates | Yes| -### Return type: [updates\_Difference](../types/updates_Difference.md) +### Return type: [updates.Difference](../types/updates.Difference.md) ### Can bots use this method: **YES** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$updates_Difference = $MadelineProto->updates->getDifference(['pts' => int, 'pts_total_limit' => int, 'date' => int, 'qts' => int, ]); +$updates.Difference = $MadelineProto->updates->getDifference(['pts' => int, 'pts_total_limit' => int, 'date' => int, 'qts' => int, ]); ``` Or, if you're into Lua: ```lua -updates_Difference = updates.getDifference({pts=int, pts_total_limit=int, date=int, qts=int, }) +updates.Difference = updates.getDifference({pts=int, pts_total_limit=int, date=int, qts=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v104/methods/updates.getState.md b/old_docs/API_docs_v104/methods/updates.getState.md index c591408a..9a7d2f34 100644 --- a/old_docs/API_docs_v104/methods/updates.getState.md +++ b/old_docs/API_docs_v104/methods/updates.getState.md @@ -11,7 +11,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz for more -### Return type: [updates\_State](../types/updates_State.md) +### Return type: [updates.State](../types/updates.State.md) ### Can bots use this method: **YES** @@ -28,13 +28,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$updates_State = $MadelineProto->updates->getState(); +$updates.State = $MadelineProto->updates->getState(); ``` Or, if you're into Lua: ```lua -updates_State = updates.getState({}) +updates.State = updates.getState({}) ``` ### Errors diff --git a/old_docs/API_docs_v104/methods/upload.getCdnFile.md b/old_docs/API_docs_v104/methods/upload.getCdnFile.md index a3c928b2..67b2e84e 100644 --- a/old_docs/API_docs_v104/methods/upload.getCdnFile.md +++ b/old_docs/API_docs_v104/methods/upload.getCdnFile.md @@ -18,7 +18,7 @@ You cannot use this method directly, use the upload, downloadToStream, downloadT |limit|[int](../types/int.md) | You cannot use this method directly, use the upload, downloadToStream, downloadToFile, downloadToDir methods instead; see https://docs.madelineproto.xyz for more info | Yes| -### Return type: [upload\_CdnFile](../types/upload_CdnFile.md) +### Return type: [upload.CdnFile](../types/upload.CdnFile.md) ### Can bots use this method: **NO** @@ -35,12 +35,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$upload_CdnFile = $MadelineProto->upload->getCdnFile(['file_token' => 'bytes', 'offset' => int, 'limit' => int, ]); +$upload.CdnFile = $MadelineProto->upload->getCdnFile(['file_token' => 'bytes', 'offset' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -upload_CdnFile = upload.getCdnFile({file_token='bytes', offset=int, limit=int, }) +upload.CdnFile = upload.getCdnFile({file_token='bytes', offset=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v104/methods/upload.getFile.md b/old_docs/API_docs_v104/methods/upload.getFile.md index a160e7f8..9789c3dd 100644 --- a/old_docs/API_docs_v104/methods/upload.getFile.md +++ b/old_docs/API_docs_v104/methods/upload.getFile.md @@ -19,7 +19,7 @@ You cannot use this method directly, use the upload, downloadToStream, downloadT |limit|[int](../types/int.md) | You cannot use this method directly, use the upload, downloadToStream, downloadToFile, downloadToDir methods instead; see https://docs.madelineproto.xyz for more info | Yes| -### Return type: [upload\_File](../types/upload_File.md) +### Return type: [upload.File](../types/upload.File.md) ### Can bots use this method: **YES** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$upload_File = $MadelineProto->upload->getFile(['precise' => Bool, 'location' => InputFileLocation, 'offset' => int, 'limit' => int, ]); +$upload.File = $MadelineProto->upload->getFile(['precise' => Bool, 'location' => InputFileLocation, 'offset' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -upload_File = upload.getFile({precise=Bool, location=InputFileLocation, offset=int, limit=int, }) +upload.File = upload.getFile({precise=Bool, location=InputFileLocation, offset=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v104/methods/upload.getWebFile.md b/old_docs/API_docs_v104/methods/upload.getWebFile.md index 32f6b322..60f1b8c1 100644 --- a/old_docs/API_docs_v104/methods/upload.getWebFile.md +++ b/old_docs/API_docs_v104/methods/upload.getWebFile.md @@ -18,7 +18,7 @@ Returns content of an HTTP file or a part, by proxying the request through teleg |limit|[int](../types/int.md) | Number of bytes to be returned | Yes| -### Return type: [upload\_WebFile](../types/upload_WebFile.md) +### Return type: [upload.WebFile](../types/upload.WebFile.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$upload_WebFile = $MadelineProto->upload->getWebFile(['location' => InputWebFileLocation, 'offset' => int, 'limit' => int, ]); +$upload.WebFile = $MadelineProto->upload->getWebFile(['location' => InputWebFileLocation, 'offset' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -upload_WebFile = upload.getWebFile({location=InputWebFileLocation, offset=int, limit=int, }) +upload.WebFile = upload.getWebFile({location=InputWebFileLocation, offset=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v104/types/AccountDaysTTL.md b/old_docs/API_docs_v104/types/AccountDaysTTL.md index 12a10190..f3494aac 100644 --- a/old_docs/API_docs_v104/types/AccountDaysTTL.md +++ b/old_docs/API_docs_v104/types/AccountDaysTTL.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->account->getAccountTTL](../methods/account_getAccountTTL.md) +[$MadelineProto->account->getAccountTTL](../methods/account.getAccountTTL.md) diff --git a/old_docs/API_docs_v104/types/CdnConfig.md b/old_docs/API_docs_v104/types/CdnConfig.md index fbfe01c3..0b0fb5be 100644 --- a/old_docs/API_docs_v104/types/CdnConfig.md +++ b/old_docs/API_docs_v104/types/CdnConfig.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->help->getCdnConfig](../methods/help_getCdnConfig.md) +[$MadelineProto->help->getCdnConfig](../methods/help.getCdnConfig.md) diff --git a/old_docs/API_docs_v104/types/ChatInvite.md b/old_docs/API_docs_v104/types/ChatInvite.md index 5022a2f0..9fafabb4 100644 --- a/old_docs/API_docs_v104/types/ChatInvite.md +++ b/old_docs/API_docs_v104/types/ChatInvite.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->checkChatInvite](../methods/messages_checkChatInvite.md) +[$MadelineProto->messages->checkChatInvite](../methods/messages.checkChatInvite.md) diff --git a/old_docs/API_docs_v104/types/ChatOnlines.md b/old_docs/API_docs_v104/types/ChatOnlines.md index 5faf4a6e..e5646dd6 100644 --- a/old_docs/API_docs_v104/types/ChatOnlines.md +++ b/old_docs/API_docs_v104/types/ChatOnlines.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getOnlines](../methods/messages_getOnlines.md) +[$MadelineProto->messages->getOnlines](../methods/messages.getOnlines.md) diff --git a/old_docs/API_docs_v104/types/Config.md b/old_docs/API_docs_v104/types/Config.md index 0f7fbe70..3a23b7b7 100644 --- a/old_docs/API_docs_v104/types/Config.md +++ b/old_docs/API_docs_v104/types/Config.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->help->getConfig](../methods/help_getConfig.md) +[$MadelineProto->help->getConfig](../methods/help.getConfig.md) diff --git a/old_docs/API_docs_v104/types/ContactStatus.md b/old_docs/API_docs_v104/types/ContactStatus.md index c5f5d658..30aee6e2 100644 --- a/old_docs/API_docs_v104/types/ContactStatus.md +++ b/old_docs/API_docs_v104/types/ContactStatus.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->contacts->getStatuses](../methods/contacts_getStatuses.md) +[$MadelineProto->contacts->getStatuses](../methods/contacts.getStatuses.md) diff --git a/old_docs/API_docs_v104/types/DialogPeer.md b/old_docs/API_docs_v104/types/DialogPeer.md index 1f86eb1c..18b145b0 100644 --- a/old_docs/API_docs_v104/types/DialogPeer.md +++ b/old_docs/API_docs_v104/types/DialogPeer.md @@ -42,7 +42,7 @@ A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDia ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getDialogUnreadMarks](../methods/messages_getDialogUnreadMarks.md) +[$MadelineProto->messages->getDialogUnreadMarks](../methods/messages.getDialogUnreadMarks.md) diff --git a/old_docs/API_docs_v104/types/Document.md b/old_docs/API_docs_v104/types/Document.md index f68b7aa4..2cb85623 100644 --- a/old_docs/API_docs_v104/types/Document.md +++ b/old_docs/API_docs_v104/types/Document.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getDocumentByHash](../methods/messages_getDocumentByHash.md) +[$MadelineProto->messages->getDocumentByHash](../methods/messages.getDocumentByHash.md) diff --git a/old_docs/API_docs_v104/types/EmojiKeywordsDifference.md b/old_docs/API_docs_v104/types/EmojiKeywordsDifference.md index 8dc7d309..1282c000 100644 --- a/old_docs/API_docs_v104/types/EmojiKeywordsDifference.md +++ b/old_docs/API_docs_v104/types/EmojiKeywordsDifference.md @@ -16,9 +16,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getEmojiKeywords](../methods/messages_getEmojiKeywords.md) +[$MadelineProto->messages->getEmojiKeywords](../methods/messages.getEmojiKeywords.md) -[$MadelineProto->messages->getEmojiKeywordsDifference](../methods/messages_getEmojiKeywordsDifference.md) +[$MadelineProto->messages->getEmojiKeywordsDifference](../methods/messages.getEmojiKeywordsDifference.md) diff --git a/old_docs/API_docs_v104/types/EmojiLanguage.md b/old_docs/API_docs_v104/types/EmojiLanguage.md index 1d5f1214..5ff98ac3 100644 --- a/old_docs/API_docs_v104/types/EmojiLanguage.md +++ b/old_docs/API_docs_v104/types/EmojiLanguage.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getEmojiKeywordsLanguages](../methods/messages_getEmojiKeywordsLanguages.md) +[$MadelineProto->messages->getEmojiKeywordsLanguages](../methods/messages.getEmojiKeywordsLanguages.md) diff --git a/old_docs/API_docs_v104/types/EmojiURL.md b/old_docs/API_docs_v104/types/EmojiURL.md index f9c636d0..c2fc469d 100644 --- a/old_docs/API_docs_v104/types/EmojiURL.md +++ b/old_docs/API_docs_v104/types/EmojiURL.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getEmojiURL](../methods/messages_getEmojiURL.md) +[$MadelineProto->messages->getEmojiURL](../methods/messages.getEmojiURL.md) diff --git a/old_docs/API_docs_v104/types/EncryptedChat.md b/old_docs/API_docs_v104/types/EncryptedChat.md index fd2277f6..19cf52b0 100644 --- a/old_docs/API_docs_v104/types/EncryptedChat.md +++ b/old_docs/API_docs_v104/types/EncryptedChat.md @@ -24,9 +24,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->requestEncryption](../methods/messages_requestEncryption.md) +[$MadelineProto->messages->requestEncryption](../methods/messages.requestEncryption.md) -[$MadelineProto->messages->acceptEncryption](../methods/messages_acceptEncryption.md) +[$MadelineProto->messages->acceptEncryption](../methods/messages.acceptEncryption.md) diff --git a/old_docs/API_docs_v104/types/EncryptedFile.md b/old_docs/API_docs_v104/types/EncryptedFile.md index a26d40bb..8ecf8e9d 100644 --- a/old_docs/API_docs_v104/types/EncryptedFile.md +++ b/old_docs/API_docs_v104/types/EncryptedFile.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->uploadEncryptedFile](../methods/messages_uploadEncryptedFile.md) +[$MadelineProto->messages->uploadEncryptedFile](../methods/messages.uploadEncryptedFile.md) diff --git a/old_docs/API_docs_v104/types/ExportedChatInvite.md b/old_docs/API_docs_v104/types/ExportedChatInvite.md index 16a273d1..f5a43739 100644 --- a/old_docs/API_docs_v104/types/ExportedChatInvite.md +++ b/old_docs/API_docs_v104/types/ExportedChatInvite.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->exportChatInvite](../methods/messages_exportChatInvite.md) +[$MadelineProto->messages->exportChatInvite](../methods/messages.exportChatInvite.md) diff --git a/old_docs/API_docs_v104/types/ExportedMessageLink.md b/old_docs/API_docs_v104/types/ExportedMessageLink.md index eb2400f6..948e9c90 100644 --- a/old_docs/API_docs_v104/types/ExportedMessageLink.md +++ b/old_docs/API_docs_v104/types/ExportedMessageLink.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->channels->exportMessageLink](../methods/channels_exportMessageLink.md) +[$MadelineProto->channels->exportMessageLink](../methods/channels.exportMessageLink.md) diff --git a/old_docs/API_docs_v104/types/FileHash.md b/old_docs/API_docs_v104/types/FileHash.md index 3201d7e0..a908fb9b 100644 --- a/old_docs/API_docs_v104/types/FileHash.md +++ b/old_docs/API_docs_v104/types/FileHash.md @@ -16,11 +16,11 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->upload->reuploadCdnFile](../methods/upload_reuploadCdnFile.md) +[$MadelineProto->upload->reuploadCdnFile](../methods/upload.reuploadCdnFile.md) -[$MadelineProto->upload->getCdnFileHashes](../methods/upload_getCdnFileHashes.md) +[$MadelineProto->upload->getCdnFileHashes](../methods/upload.getCdnFileHashes.md) -[$MadelineProto->upload->getFileHashes](../methods/upload_getFileHashes.md) +[$MadelineProto->upload->getFileHashes](../methods/upload.getFileHashes.md) diff --git a/old_docs/API_docs_v104/types/JSONValue.md b/old_docs/API_docs_v104/types/JSONValue.md index eed45486..83527ab0 100644 --- a/old_docs/API_docs_v104/types/JSONValue.md +++ b/old_docs/API_docs_v104/types/JSONValue.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->help->getAppConfig](../methods/help_getAppConfig.md) +[$MadelineProto->help->getAppConfig](../methods/help.getAppConfig.md) diff --git a/old_docs/API_docs_v104/types/LangPackDifference.md b/old_docs/API_docs_v104/types/LangPackDifference.md index fd9f41f2..e04125b8 100644 --- a/old_docs/API_docs_v104/types/LangPackDifference.md +++ b/old_docs/API_docs_v104/types/LangPackDifference.md @@ -16,9 +16,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->langpack->getLangPack](../methods/langpack_getLangPack.md) +[$MadelineProto->langpack->getLangPack](../methods/langpack.getLangPack.md) -[$MadelineProto->langpack->getDifference](../methods/langpack_getDifference.md) +[$MadelineProto->langpack->getDifference](../methods/langpack.getDifference.md) diff --git a/old_docs/API_docs_v104/types/LangPackLanguage.md b/old_docs/API_docs_v104/types/LangPackLanguage.md index f6559af9..74c7172d 100644 --- a/old_docs/API_docs_v104/types/LangPackLanguage.md +++ b/old_docs/API_docs_v104/types/LangPackLanguage.md @@ -16,9 +16,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->langpack->getLanguages](../methods/langpack_getLanguages.md) +[$MadelineProto->langpack->getLanguages](../methods/langpack.getLanguages.md) -[$MadelineProto->langpack->getLanguage](../methods/langpack_getLanguage.md) +[$MadelineProto->langpack->getLanguage](../methods/langpack.getLanguage.md) diff --git a/old_docs/API_docs_v104/types/LangPackString.md b/old_docs/API_docs_v104/types/LangPackString.md index f1a43dd9..15f9dc3d 100644 --- a/old_docs/API_docs_v104/types/LangPackString.md +++ b/old_docs/API_docs_v104/types/LangPackString.md @@ -20,7 +20,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->langpack->getStrings](../methods/langpack_getStrings.md) +[$MadelineProto->langpack->getStrings](../methods/langpack.getStrings.md) diff --git a/old_docs/API_docs_v104/types/MessageMedia.md b/old_docs/API_docs_v104/types/MessageMedia.md index 51aa795e..36602552 100644 --- a/old_docs/API_docs_v104/types/MessageMedia.md +++ b/old_docs/API_docs_v104/types/MessageMedia.md @@ -38,9 +38,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getWebPagePreview](../methods/messages_getWebPagePreview.md) +[$MadelineProto->messages->getWebPagePreview](../methods/messages.getWebPagePreview.md) -[$MadelineProto->messages->uploadMedia](../methods/messages_uploadMedia.md) +[$MadelineProto->messages->uploadMedia](../methods/messages.uploadMedia.md) diff --git a/old_docs/API_docs_v104/types/MessageRange.md b/old_docs/API_docs_v104/types/MessageRange.md index c93011aa..ffd65e90 100644 --- a/old_docs/API_docs_v104/types/MessageRange.md +++ b/old_docs/API_docs_v104/types/MessageRange.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getSplitRanges](../methods/messages_getSplitRanges.md) +[$MadelineProto->messages->getSplitRanges](../methods/messages.getSplitRanges.md) diff --git a/old_docs/API_docs_v104/types/NearestDc.md b/old_docs/API_docs_v104/types/NearestDc.md index 31f24377..296a4dff 100644 --- a/old_docs/API_docs_v104/types/NearestDc.md +++ b/old_docs/API_docs_v104/types/NearestDc.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->help->getNearestDc](../methods/help_getNearestDc.md) +[$MadelineProto->help->getNearestDc](../methods/help.getNearestDc.md) diff --git a/old_docs/API_docs_v104/types/PeerNotifySettings.md b/old_docs/API_docs_v104/types/PeerNotifySettings.md index ecb483c5..d3b4833c 100644 --- a/old_docs/API_docs_v104/types/PeerNotifySettings.md +++ b/old_docs/API_docs_v104/types/PeerNotifySettings.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->account->getNotifySettings](../methods/account_getNotifySettings.md) +[$MadelineProto->account->getNotifySettings](../methods/account.getNotifySettings.md) diff --git a/old_docs/API_docs_v104/types/PeerSettings.md b/old_docs/API_docs_v104/types/PeerSettings.md index 60ac3765..31ef7e38 100644 --- a/old_docs/API_docs_v104/types/PeerSettings.md +++ b/old_docs/API_docs_v104/types/PeerSettings.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getPeerSettings](../methods/messages_getPeerSettings.md) +[$MadelineProto->messages->getPeerSettings](../methods/messages.getPeerSettings.md) diff --git a/old_docs/API_docs_v104/types/README.md b/old_docs/API_docs_v104/types/README.md index dbd09692..4b9aa6c2 100644 --- a/old_docs/API_docs_v104/types/README.md +++ b/old_docs/API_docs_v104/types/README.md @@ -383,165 +383,165 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png [X](X.md) -[account\_AuthorizationForm](account_AuthorizationForm.md) +[account.AuthorizationForm](account.AuthorizationForm.md) -[account\_Authorizations](account_Authorizations.md) +[account.Authorizations](account.Authorizations.md) -[account\_AutoDownloadSettings](account_AutoDownloadSettings.md) +[account.AutoDownloadSettings](account.AutoDownloadSettings.md) -[account\_Password](account_Password.md) +[account.Password](account.Password.md) -[account\_PasswordInputSettings](account_PasswordInputSettings.md) +[account.PasswordInputSettings](account.PasswordInputSettings.md) -[account\_PasswordSettings](account_PasswordSettings.md) +[account.PasswordSettings](account.PasswordSettings.md) -[account\_PrivacyRules](account_PrivacyRules.md) +[account.PrivacyRules](account.PrivacyRules.md) -[account\_SentEmailCode](account_SentEmailCode.md) +[account.SentEmailCode](account.SentEmailCode.md) -[account\_Takeout](account_Takeout.md) +[account.Takeout](account.Takeout.md) -[account\_TmpPassword](account_TmpPassword.md) +[account.TmpPassword](account.TmpPassword.md) -[account\_WallPapers](account_WallPapers.md) +[account.WallPapers](account.WallPapers.md) -[account\_WebAuthorizations](account_WebAuthorizations.md) +[account.WebAuthorizations](account.WebAuthorizations.md) -[auth\_Authorization](auth_Authorization.md) +[auth.Authorization](auth.Authorization.md) -[auth\_CodeType](auth_CodeType.md) +[auth.CodeType](auth.CodeType.md) -[auth\_ExportedAuthorization](auth_ExportedAuthorization.md) +[auth.ExportedAuthorization](auth.ExportedAuthorization.md) -[auth\_PasswordRecovery](auth_PasswordRecovery.md) +[auth.PasswordRecovery](auth.PasswordRecovery.md) -[auth\_SentCode](auth_SentCode.md) +[auth.SentCode](auth.SentCode.md) -[auth\_SentCodeType](auth_SentCodeType.md) +[auth.SentCodeType](auth.SentCodeType.md) -[channels\_AdminLogResults](channels_AdminLogResults.md) +[channels.AdminLogResults](channels.AdminLogResults.md) -[channels\_ChannelParticipant](channels_ChannelParticipant.md) +[channels.ChannelParticipant](channels.ChannelParticipant.md) -[channels\_ChannelParticipants](channels_ChannelParticipants.md) +[channels.ChannelParticipants](channels.ChannelParticipants.md) -[contacts\_Blocked](contacts_Blocked.md) +[contacts.Blocked](contacts.Blocked.md) -[contacts\_Contacts](contacts_Contacts.md) +[contacts.Contacts](contacts.Contacts.md) -[contacts\_Found](contacts_Found.md) +[contacts.Found](contacts.Found.md) -[contacts\_ImportedContacts](contacts_ImportedContacts.md) +[contacts.ImportedContacts](contacts.ImportedContacts.md) -[contacts\_ResolvedPeer](contacts_ResolvedPeer.md) +[contacts.ResolvedPeer](contacts.ResolvedPeer.md) -[contacts\_TopPeers](contacts_TopPeers.md) +[contacts.TopPeers](contacts.TopPeers.md) -[help\_AppUpdate](help_AppUpdate.md) +[help.AppUpdate](help.AppUpdate.md) -[help\_ConfigSimple](help_ConfigSimple.md) +[help.ConfigSimple](help.ConfigSimple.md) -[help\_DeepLinkInfo](help_DeepLinkInfo.md) +[help.DeepLinkInfo](help.DeepLinkInfo.md) -[help\_InviteText](help_InviteText.md) +[help.InviteText](help.InviteText.md) -[help\_PassportConfig](help_PassportConfig.md) +[help.PassportConfig](help.PassportConfig.md) -[help\_ProxyData](help_ProxyData.md) +[help.ProxyData](help.ProxyData.md) -[help\_RecentMeUrls](help_RecentMeUrls.md) +[help.RecentMeUrls](help.RecentMeUrls.md) -[help\_Support](help_Support.md) +[help.Support](help.Support.md) -[help\_SupportName](help_SupportName.md) +[help.SupportName](help.SupportName.md) -[help\_TermsOfService](help_TermsOfService.md) +[help.TermsOfService](help.TermsOfService.md) -[help\_TermsOfServiceUpdate](help_TermsOfServiceUpdate.md) +[help.TermsOfServiceUpdate](help.TermsOfServiceUpdate.md) -[help\_UserInfo](help_UserInfo.md) +[help.UserInfo](help.UserInfo.md) [int](int.md) [long](long.md) -[messages\_AffectedHistory](messages_AffectedHistory.md) +[messages.AffectedHistory](messages.AffectedHistory.md) -[messages\_AffectedMessages](messages_AffectedMessages.md) +[messages.AffectedMessages](messages.AffectedMessages.md) -[messages\_AllStickers](messages_AllStickers.md) +[messages.AllStickers](messages.AllStickers.md) -[messages\_ArchivedStickers](messages_ArchivedStickers.md) +[messages.ArchivedStickers](messages.ArchivedStickers.md) -[messages\_BotCallbackAnswer](messages_BotCallbackAnswer.md) +[messages.BotCallbackAnswer](messages.BotCallbackAnswer.md) -[messages\_BotResults](messages_BotResults.md) +[messages.BotResults](messages.BotResults.md) -[messages\_ChatFull](messages_ChatFull.md) +[messages.ChatFull](messages.ChatFull.md) -[messages\_Chats](messages_Chats.md) +[messages.Chats](messages.Chats.md) -[messages\_DhConfig](messages_DhConfig.md) +[messages.DhConfig](messages.DhConfig.md) -[messages\_Dialogs](messages_Dialogs.md) +[messages.Dialogs](messages.Dialogs.md) -[messages\_FavedStickers](messages_FavedStickers.md) +[messages.FavedStickers](messages.FavedStickers.md) -[messages\_FeaturedStickers](messages_FeaturedStickers.md) +[messages.FeaturedStickers](messages.FeaturedStickers.md) -[messages\_FoundGifs](messages_FoundGifs.md) +[messages.FoundGifs](messages.FoundGifs.md) -[messages\_FoundStickerSets](messages_FoundStickerSets.md) +[messages.FoundStickerSets](messages.FoundStickerSets.md) -[messages\_HighScores](messages_HighScores.md) +[messages.HighScores](messages.HighScores.md) -[messages\_MessageEditData](messages_MessageEditData.md) +[messages.MessageEditData](messages.MessageEditData.md) -[messages\_Messages](messages_Messages.md) +[messages.Messages](messages.Messages.md) -[messages\_PeerDialogs](messages_PeerDialogs.md) +[messages.PeerDialogs](messages.PeerDialogs.md) -[messages\_RecentStickers](messages_RecentStickers.md) +[messages.RecentStickers](messages.RecentStickers.md) -[messages\_SavedGifs](messages_SavedGifs.md) +[messages.SavedGifs](messages.SavedGifs.md) -[messages\_SearchCounter](messages_SearchCounter.md) +[messages.SearchCounter](messages.SearchCounter.md) -[messages\_SentEncryptedMessage](messages_SentEncryptedMessage.md) +[messages.SentEncryptedMessage](messages.SentEncryptedMessage.md) -[messages\_StickerSet](messages_StickerSet.md) +[messages.StickerSet](messages.StickerSet.md) -[messages\_StickerSetInstallResult](messages_StickerSetInstallResult.md) +[messages.StickerSetInstallResult](messages.StickerSetInstallResult.md) -[messages\_Stickers](messages_Stickers.md) +[messages.Stickers](messages.Stickers.md) -[payments\_PaymentForm](payments_PaymentForm.md) +[payments.PaymentForm](payments.PaymentForm.md) -[payments\_PaymentReceipt](payments_PaymentReceipt.md) +[payments.PaymentReceipt](payments.PaymentReceipt.md) -[payments\_PaymentResult](payments_PaymentResult.md) +[payments.PaymentResult](payments.PaymentResult.md) -[payments\_SavedInfo](payments_SavedInfo.md) +[payments.SavedInfo](payments.SavedInfo.md) -[payments\_ValidatedRequestedInfo](payments_ValidatedRequestedInfo.md) +[payments.ValidatedRequestedInfo](payments.ValidatedRequestedInfo.md) -[phone\_PhoneCall](phone_PhoneCall.md) +[phone.PhoneCall](phone.PhoneCall.md) -[photos\_Photo](photos_Photo.md) +[photos.Photo](photos.Photo.md) -[photos\_Photos](photos_Photos.md) +[photos.Photos](photos.Photos.md) -[storage\_FileType](storage_FileType.md) +[storage.FileType](storage.FileType.md) -[updates\_ChannelDifference](updates_ChannelDifference.md) +[updates.ChannelDifference](updates.ChannelDifference.md) -[updates\_Difference](updates_Difference.md) +[updates.Difference](updates.Difference.md) -[updates\_State](updates_State.md) +[updates.State](updates.State.md) -[upload\_CdnFile](upload_CdnFile.md) +[upload.CdnFile](upload.CdnFile.md) -[upload\_File](upload_File.md) +[upload.File](upload.File.md) -[upload\_WebFile](upload_WebFile.md) +[upload.WebFile](upload.WebFile.md) diff --git a/old_docs/API_docs_v104/types/ReceivedNotifyMessage.md b/old_docs/API_docs_v104/types/ReceivedNotifyMessage.md index c7fc3b8c..416aa275 100644 --- a/old_docs/API_docs_v104/types/ReceivedNotifyMessage.md +++ b/old_docs/API_docs_v104/types/ReceivedNotifyMessage.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->receivedMessages](../methods/messages_receivedMessages.md) +[$MadelineProto->messages->receivedMessages](../methods/messages.receivedMessages.md) diff --git a/old_docs/API_docs_v104/types/SavedContact.md b/old_docs/API_docs_v104/types/SavedContact.md index c337f3eb..73a91ba6 100644 --- a/old_docs/API_docs_v104/types/SavedContact.md +++ b/old_docs/API_docs_v104/types/SavedContact.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->contacts->getSaved](../methods/contacts_getSaved.md) +[$MadelineProto->contacts->getSaved](../methods/contacts.getSaved.md) diff --git a/old_docs/API_docs_v104/types/SecureValue.md b/old_docs/API_docs_v104/types/SecureValue.md index 8490f399..2ab18f68 100644 --- a/old_docs/API_docs_v104/types/SecureValue.md +++ b/old_docs/API_docs_v104/types/SecureValue.md @@ -16,11 +16,11 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->account->getAllSecureValues](../methods/account_getAllSecureValues.md) +[$MadelineProto->account->getAllSecureValues](../methods/account.getAllSecureValues.md) -[$MadelineProto->account->getSecureValue](../methods/account_getSecureValue.md) +[$MadelineProto->account->getSecureValue](../methods/account.getSecureValue.md) -[$MadelineProto->account->saveSecureValue](../methods/account_saveSecureValue.md) +[$MadelineProto->account->saveSecureValue](../methods/account.saveSecureValue.md) diff --git a/old_docs/API_docs_v104/types/StatsURL.md b/old_docs/API_docs_v104/types/StatsURL.md index 1a2695cd..8704eed7 100644 --- a/old_docs/API_docs_v104/types/StatsURL.md +++ b/old_docs/API_docs_v104/types/StatsURL.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getStatsURL](../methods/messages_getStatsURL.md) +[$MadelineProto->messages->getStatsURL](../methods/messages.getStatsURL.md) diff --git a/old_docs/API_docs_v104/types/StickerSetCovered.md b/old_docs/API_docs_v104/types/StickerSetCovered.md index ffd1da1f..f57cd117 100644 --- a/old_docs/API_docs_v104/types/StickerSetCovered.md +++ b/old_docs/API_docs_v104/types/StickerSetCovered.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getAttachedStickers](../methods/messages_getAttachedStickers.md) +[$MadelineProto->messages->getAttachedStickers](../methods/messages.getAttachedStickers.md) diff --git a/old_docs/API_docs_v104/types/Updates.md b/old_docs/API_docs_v104/types/Updates.md index 5d3b05de..5f4daa6d 100644 --- a/old_docs/API_docs_v104/types/Updates.md +++ b/old_docs/API_docs_v104/types/Updates.md @@ -28,93 +28,93 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->account->getNotifyExceptions](../methods/account_getNotifyExceptions.md) +[$MadelineProto->account->getNotifyExceptions](../methods/account.getNotifyExceptions.md) -[$MadelineProto->contacts->deleteContacts](../methods/contacts_deleteContacts.md) +[$MadelineProto->contacts->deleteContacts](../methods/contacts.deleteContacts.md) -[$MadelineProto->contacts->addContact](../methods/contacts_addContact.md) +[$MadelineProto->contacts->addContact](../methods/contacts.addContact.md) -[$MadelineProto->contacts->acceptContact](../methods/contacts_acceptContact.md) +[$MadelineProto->contacts->acceptContact](../methods/contacts.acceptContact.md) -[$MadelineProto->contacts->getLocated](../methods/contacts_getLocated.md) +[$MadelineProto->contacts->getLocated](../methods/contacts.getLocated.md) -[$MadelineProto->messages->sendMessage](../methods/messages_sendMessage.md) +[$MadelineProto->messages->sendMessage](../methods/messages.sendMessage.md) -[$MadelineProto->messages->sendMedia](../methods/messages_sendMedia.md) +[$MadelineProto->messages->sendMedia](../methods/messages.sendMedia.md) -[$MadelineProto->messages->forwardMessages](../methods/messages_forwardMessages.md) +[$MadelineProto->messages->forwardMessages](../methods/messages.forwardMessages.md) -[$MadelineProto->messages->editChatTitle](../methods/messages_editChatTitle.md) +[$MadelineProto->messages->editChatTitle](../methods/messages.editChatTitle.md) -[$MadelineProto->messages->editChatPhoto](../methods/messages_editChatPhoto.md) +[$MadelineProto->messages->editChatPhoto](../methods/messages.editChatPhoto.md) -[$MadelineProto->messages->addChatUser](../methods/messages_addChatUser.md) +[$MadelineProto->messages->addChatUser](../methods/messages.addChatUser.md) -[$MadelineProto->messages->deleteChatUser](../methods/messages_deleteChatUser.md) +[$MadelineProto->messages->deleteChatUser](../methods/messages.deleteChatUser.md) -[$MadelineProto->messages->createChat](../methods/messages_createChat.md) +[$MadelineProto->messages->createChat](../methods/messages.createChat.md) -[$MadelineProto->messages->importChatInvite](../methods/messages_importChatInvite.md) +[$MadelineProto->messages->importChatInvite](../methods/messages.importChatInvite.md) -[$MadelineProto->messages->startBot](../methods/messages_startBot.md) +[$MadelineProto->messages->startBot](../methods/messages.startBot.md) -[$MadelineProto->messages->migrateChat](../methods/messages_migrateChat.md) +[$MadelineProto->messages->migrateChat](../methods/messages.migrateChat.md) -[$MadelineProto->messages->sendInlineBotResult](../methods/messages_sendInlineBotResult.md) +[$MadelineProto->messages->sendInlineBotResult](../methods/messages.sendInlineBotResult.md) -[$MadelineProto->messages->editMessage](../methods/messages_editMessage.md) +[$MadelineProto->messages->editMessage](../methods/messages.editMessage.md) -[$MadelineProto->messages->getAllDrafts](../methods/messages_getAllDrafts.md) +[$MadelineProto->messages->getAllDrafts](../methods/messages.getAllDrafts.md) -[$MadelineProto->messages->setGameScore](../methods/messages_setGameScore.md) +[$MadelineProto->messages->setGameScore](../methods/messages.setGameScore.md) -[$MadelineProto->messages->sendScreenshotNotification](../methods/messages_sendScreenshotNotification.md) +[$MadelineProto->messages->sendScreenshotNotification](../methods/messages.sendScreenshotNotification.md) -[$MadelineProto->messages->sendMultiMedia](../methods/messages_sendMultiMedia.md) +[$MadelineProto->messages->sendMultiMedia](../methods/messages.sendMultiMedia.md) -[$MadelineProto->messages->updatePinnedMessage](../methods/messages_updatePinnedMessage.md) +[$MadelineProto->messages->updatePinnedMessage](../methods/messages.updatePinnedMessage.md) -[$MadelineProto->messages->sendVote](../methods/messages_sendVote.md) +[$MadelineProto->messages->sendVote](../methods/messages.sendVote.md) -[$MadelineProto->messages->getPollResults](../methods/messages_getPollResults.md) +[$MadelineProto->messages->getPollResults](../methods/messages.getPollResults.md) -[$MadelineProto->messages->editChatDefaultBannedRights](../methods/messages_editChatDefaultBannedRights.md) +[$MadelineProto->messages->editChatDefaultBannedRights](../methods/messages.editChatDefaultBannedRights.md) -[$MadelineProto->help->getAppChangelog](../methods/help_getAppChangelog.md) +[$MadelineProto->help->getAppChangelog](../methods/help.getAppChangelog.md) -[$MadelineProto->channels->createChannel](../methods/channels_createChannel.md) +[$MadelineProto->channels->createChannel](../methods/channels.createChannel.md) -[$MadelineProto->channels->editAdmin](../methods/channels_editAdmin.md) +[$MadelineProto->channels->editAdmin](../methods/channels.editAdmin.md) -[$MadelineProto->channels->editTitle](../methods/channels_editTitle.md) +[$MadelineProto->channels->editTitle](../methods/channels.editTitle.md) -[$MadelineProto->channels->editPhoto](../methods/channels_editPhoto.md) +[$MadelineProto->channels->editPhoto](../methods/channels.editPhoto.md) -[$MadelineProto->channels->joinChannel](../methods/channels_joinChannel.md) +[$MadelineProto->channels->joinChannel](../methods/channels.joinChannel.md) -[$MadelineProto->channels->leaveChannel](../methods/channels_leaveChannel.md) +[$MadelineProto->channels->leaveChannel](../methods/channels.leaveChannel.md) -[$MadelineProto->channels->inviteToChannel](../methods/channels_inviteToChannel.md) +[$MadelineProto->channels->inviteToChannel](../methods/channels.inviteToChannel.md) -[$MadelineProto->channels->deleteChannel](../methods/channels_deleteChannel.md) +[$MadelineProto->channels->deleteChannel](../methods/channels.deleteChannel.md) -[$MadelineProto->channels->toggleSignatures](../methods/channels_toggleSignatures.md) +[$MadelineProto->channels->toggleSignatures](../methods/channels.toggleSignatures.md) -[$MadelineProto->channels->editBanned](../methods/channels_editBanned.md) +[$MadelineProto->channels->editBanned](../methods/channels.editBanned.md) -[$MadelineProto->channels->togglePreHistoryHidden](../methods/channels_togglePreHistoryHidden.md) +[$MadelineProto->channels->togglePreHistoryHidden](../methods/channels.togglePreHistoryHidden.md) -[$MadelineProto->channels->editCreator](../methods/channels_editCreator.md) +[$MadelineProto->channels->editCreator](../methods/channels.editCreator.md) -[$MadelineProto->channels->toggleSlowMode](../methods/channels_toggleSlowMode.md) +[$MadelineProto->channels->toggleSlowMode](../methods/channels.toggleSlowMode.md) -[$MadelineProto->phone->discardCall](../methods/phone_discardCall.md) +[$MadelineProto->phone->discardCall](../methods/phone.discardCall.md) -[$MadelineProto->phone->setCallRating](../methods/phone_setCallRating.md) +[$MadelineProto->phone->setCallRating](../methods/phone.setCallRating.md) -[$MadelineProto->folders->editPeerFolders](../methods/folders_editPeerFolders.md) +[$MadelineProto->folders->editPeerFolders](../methods/folders.editPeerFolders.md) -[$MadelineProto->folders->deleteFolder](../methods/folders_deleteFolder.md) +[$MadelineProto->folders->deleteFolder](../methods/folders.deleteFolder.md) diff --git a/old_docs/API_docs_v104/types/UrlAuthResult.md b/old_docs/API_docs_v104/types/UrlAuthResult.md index de129235..9533c912 100644 --- a/old_docs/API_docs_v104/types/UrlAuthResult.md +++ b/old_docs/API_docs_v104/types/UrlAuthResult.md @@ -20,9 +20,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->requestUrlAuth](../methods/messages_requestUrlAuth.md) +[$MadelineProto->messages->requestUrlAuth](../methods/messages.requestUrlAuth.md) -[$MadelineProto->messages->acceptUrlAuth](../methods/messages_acceptUrlAuth.md) +[$MadelineProto->messages->acceptUrlAuth](../methods/messages.acceptUrlAuth.md) diff --git a/old_docs/API_docs_v104/types/User.md b/old_docs/API_docs_v104/types/User.md index 49c9af72..0d20e320 100644 --- a/old_docs/API_docs_v104/types/User.md +++ b/old_docs/API_docs_v104/types/User.md @@ -42,13 +42,13 @@ A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDia ### Methods that return an object of this type (methods): -[$MadelineProto->account->updateProfile](../methods/account_updateProfile.md) +[$MadelineProto->account->updateProfile](../methods/account.updateProfile.md) -[$MadelineProto->account->updateUsername](../methods/account_updateUsername.md) +[$MadelineProto->account->updateUsername](../methods/account.updateUsername.md) -[$MadelineProto->account->changePhone](../methods/account_changePhone.md) +[$MadelineProto->account->changePhone](../methods/account.changePhone.md) -[$MadelineProto->users->getUsers](../methods/users_getUsers.md) +[$MadelineProto->users->getUsers](../methods/users.getUsers.md) diff --git a/old_docs/API_docs_v104/types/UserFull.md b/old_docs/API_docs_v104/types/UserFull.md index 79ad30bb..ac50052f 100644 --- a/old_docs/API_docs_v104/types/UserFull.md +++ b/old_docs/API_docs_v104/types/UserFull.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->users->getFullUser](../methods/users_getFullUser.md) +[$MadelineProto->users->getFullUser](../methods/users.getFullUser.md) diff --git a/old_docs/API_docs_v104/types/UserProfilePhoto.md b/old_docs/API_docs_v104/types/UserProfilePhoto.md index e5243a2e..e81e92fd 100644 --- a/old_docs/API_docs_v104/types/UserProfilePhoto.md +++ b/old_docs/API_docs_v104/types/UserProfilePhoto.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->photos->updateProfilePhoto](../methods/photos_updateProfilePhoto.md) +[$MadelineProto->photos->updateProfilePhoto](../methods/photos.updateProfilePhoto.md) diff --git a/old_docs/API_docs_v104/types/WallPaper.md b/old_docs/API_docs_v104/types/WallPaper.md index ccaafe2f..89033d7e 100644 --- a/old_docs/API_docs_v104/types/WallPaper.md +++ b/old_docs/API_docs_v104/types/WallPaper.md @@ -16,9 +16,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->account->getWallPaper](../methods/account_getWallPaper.md) +[$MadelineProto->account->getWallPaper](../methods/account.getWallPaper.md) -[$MadelineProto->account->uploadWallPaper](../methods/account_uploadWallPaper.md) +[$MadelineProto->account->uploadWallPaper](../methods/account.uploadWallPaper.md) diff --git a/old_docs/API_docs_v104/types/WebPage.md b/old_docs/API_docs_v104/types/WebPage.md index a3df791f..f6b61c5e 100644 --- a/old_docs/API_docs_v104/types/WebPage.md +++ b/old_docs/API_docs_v104/types/WebPage.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getWebPage](../methods/messages_getWebPage.md) +[$MadelineProto->messages->getWebPage](../methods/messages.getWebPage.md) diff --git a/old_docs/API_docs_v104/types/account.AuthorizationForm.md b/old_docs/API_docs_v104/types/account.AuthorizationForm.md new file mode 100644 index 00000000..860ff40f --- /dev/null +++ b/old_docs/API_docs_v104/types/account.AuthorizationForm.md @@ -0,0 +1,22 @@ +--- +title: account.AuthorizationForm +description: constructors and methods of type account.AuthorizationForm +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.AuthorizationForm +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.authorizationForm](../constructors/account.authorizationForm.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getAuthorizationForm](../methods/account.getAuthorizationForm.md) + + + diff --git a/old_docs/API_docs_v104/types/account.Authorizations.md b/old_docs/API_docs_v104/types/account.Authorizations.md new file mode 100644 index 00000000..f9112038 --- /dev/null +++ b/old_docs/API_docs_v104/types/account.Authorizations.md @@ -0,0 +1,22 @@ +--- +title: account.Authorizations +description: constructors and methods of type account.Authorizations +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.Authorizations +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.authorizations](../constructors/account.authorizations.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getAuthorizations](../methods/account.getAuthorizations.md) + + + diff --git a/old_docs/API_docs_v104/types/account.AutoDownloadSettings.md b/old_docs/API_docs_v104/types/account.AutoDownloadSettings.md new file mode 100644 index 00000000..e2ee0f6c --- /dev/null +++ b/old_docs/API_docs_v104/types/account.AutoDownloadSettings.md @@ -0,0 +1,22 @@ +--- +title: account.AutoDownloadSettings +description: constructors and methods of type account.AutoDownloadSettings +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.AutoDownloadSettings +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.autoDownloadSettings](../constructors/account.autoDownloadSettings.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getAutoDownloadSettings](../methods/account.getAutoDownloadSettings.md) + + + diff --git a/old_docs/API_docs_v104/types/account.Password.md b/old_docs/API_docs_v104/types/account.Password.md new file mode 100644 index 00000000..190704a3 --- /dev/null +++ b/old_docs/API_docs_v104/types/account.Password.md @@ -0,0 +1,22 @@ +--- +title: account.Password +description: constructors and methods of type account.Password +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.Password +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.password](../constructors/account.password.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getPassword](../methods/account.getPassword.md) + + + diff --git a/old_docs/API_docs_v104/types/account.PasswordInputSettings.md b/old_docs/API_docs_v104/types/account.PasswordInputSettings.md new file mode 100644 index 00000000..72e11fdc --- /dev/null +++ b/old_docs/API_docs_v104/types/account.PasswordInputSettings.md @@ -0,0 +1,20 @@ +--- +title: account.PasswordInputSettings +description: constructors and methods of type account.PasswordInputSettings +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.PasswordInputSettings +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.passwordInputSettings](../constructors/account.passwordInputSettings.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v104/types/account.PasswordSettings.md b/old_docs/API_docs_v104/types/account.PasswordSettings.md new file mode 100644 index 00000000..47016832 --- /dev/null +++ b/old_docs/API_docs_v104/types/account.PasswordSettings.md @@ -0,0 +1,22 @@ +--- +title: account.PasswordSettings +description: constructors and methods of type account.PasswordSettings +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.PasswordSettings +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.passwordSettings](../constructors/account.passwordSettings.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getPasswordSettings](../methods/account.getPasswordSettings.md) + + + diff --git a/old_docs/API_docs_v104/types/account.PrivacyRules.md b/old_docs/API_docs_v104/types/account.PrivacyRules.md new file mode 100644 index 00000000..738651ad --- /dev/null +++ b/old_docs/API_docs_v104/types/account.PrivacyRules.md @@ -0,0 +1,24 @@ +--- +title: account.PrivacyRules +description: constructors and methods of type account.PrivacyRules +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.PrivacyRules +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.privacyRules](../constructors/account.privacyRules.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getPrivacy](../methods/account.getPrivacy.md) + +[$MadelineProto->account->setPrivacy](../methods/account.setPrivacy.md) + + + diff --git a/old_docs/API_docs_v104/types/account.SentEmailCode.md b/old_docs/API_docs_v104/types/account.SentEmailCode.md new file mode 100644 index 00000000..6adcd649 --- /dev/null +++ b/old_docs/API_docs_v104/types/account.SentEmailCode.md @@ -0,0 +1,22 @@ +--- +title: account.SentEmailCode +description: constructors and methods of type account.SentEmailCode +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.SentEmailCode +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.sentEmailCode](../constructors/account.sentEmailCode.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->sendVerifyEmailCode](../methods/account.sendVerifyEmailCode.md) + + + diff --git a/old_docs/API_docs_v104/types/account.Takeout.md b/old_docs/API_docs_v104/types/account.Takeout.md new file mode 100644 index 00000000..96998ce4 --- /dev/null +++ b/old_docs/API_docs_v104/types/account.Takeout.md @@ -0,0 +1,22 @@ +--- +title: account.Takeout +description: constructors and methods of type account.Takeout +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.Takeout +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.takeout](../constructors/account.takeout.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->initTakeoutSession](../methods/account.initTakeoutSession.md) + + + diff --git a/old_docs/API_docs_v104/types/account.TmpPassword.md b/old_docs/API_docs_v104/types/account.TmpPassword.md new file mode 100644 index 00000000..2116c6c0 --- /dev/null +++ b/old_docs/API_docs_v104/types/account.TmpPassword.md @@ -0,0 +1,22 @@ +--- +title: account.TmpPassword +description: constructors and methods of type account.TmpPassword +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.TmpPassword +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.tmpPassword](../constructors/account.tmpPassword.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getTmpPassword](../methods/account.getTmpPassword.md) + + + diff --git a/old_docs/API_docs_v104/types/account.WallPapers.md b/old_docs/API_docs_v104/types/account.WallPapers.md new file mode 100644 index 00000000..13d11d26 --- /dev/null +++ b/old_docs/API_docs_v104/types/account.WallPapers.md @@ -0,0 +1,24 @@ +--- +title: account.WallPapers +description: constructors and methods of type account.WallPapers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.WallPapers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.wallPapersNotModified](../constructors/account.wallPapersNotModified.md) + +[account.wallPapers](../constructors/account.wallPapers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getWallPapers](../methods/account.getWallPapers.md) + + + diff --git a/old_docs/API_docs_v104/types/account.WebAuthorizations.md b/old_docs/API_docs_v104/types/account.WebAuthorizations.md new file mode 100644 index 00000000..931633ef --- /dev/null +++ b/old_docs/API_docs_v104/types/account.WebAuthorizations.md @@ -0,0 +1,22 @@ +--- +title: account.WebAuthorizations +description: constructors and methods of type account.WebAuthorizations +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.WebAuthorizations +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.webAuthorizations](../constructors/account.webAuthorizations.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getWebAuthorizations](../methods/account.getWebAuthorizations.md) + + + diff --git a/old_docs/API_docs_v104/types/account_AuthorizationForm.md b/old_docs/API_docs_v104/types/account_AuthorizationForm.md deleted file mode 100644 index 5eec2b92..00000000 --- a/old_docs/API_docs_v104/types/account_AuthorizationForm.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_AuthorizationForm -description: constructors and methods of type account_AuthorizationForm -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_AuthorizationForm -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_authorizationForm](../constructors/account_authorizationForm.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getAuthorizationForm](../methods/account_getAuthorizationForm.md) - - - diff --git a/old_docs/API_docs_v104/types/account_Authorizations.md b/old_docs/API_docs_v104/types/account_Authorizations.md deleted file mode 100644 index 4709ddb5..00000000 --- a/old_docs/API_docs_v104/types/account_Authorizations.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_Authorizations -description: constructors and methods of type account_Authorizations -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_Authorizations -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_authorizations](../constructors/account_authorizations.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getAuthorizations](../methods/account_getAuthorizations.md) - - - diff --git a/old_docs/API_docs_v104/types/account_AutoDownloadSettings.md b/old_docs/API_docs_v104/types/account_AutoDownloadSettings.md deleted file mode 100644 index 6df664df..00000000 --- a/old_docs/API_docs_v104/types/account_AutoDownloadSettings.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_AutoDownloadSettings -description: constructors and methods of type account_AutoDownloadSettings -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_AutoDownloadSettings -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_autoDownloadSettings](../constructors/account_autoDownloadSettings.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getAutoDownloadSettings](../methods/account_getAutoDownloadSettings.md) - - - diff --git a/old_docs/API_docs_v104/types/account_Password.md b/old_docs/API_docs_v104/types/account_Password.md deleted file mode 100644 index f3b6e065..00000000 --- a/old_docs/API_docs_v104/types/account_Password.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_Password -description: constructors and methods of type account_Password -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_Password -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_password](../constructors/account_password.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getPassword](../methods/account_getPassword.md) - - - diff --git a/old_docs/API_docs_v104/types/account_PasswordInputSettings.md b/old_docs/API_docs_v104/types/account_PasswordInputSettings.md deleted file mode 100644 index a6455eb8..00000000 --- a/old_docs/API_docs_v104/types/account_PasswordInputSettings.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: account_PasswordInputSettings -description: constructors and methods of type account_PasswordInputSettings -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_PasswordInputSettings -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_passwordInputSettings](../constructors/account_passwordInputSettings.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v104/types/account_PasswordSettings.md b/old_docs/API_docs_v104/types/account_PasswordSettings.md deleted file mode 100644 index 687eb217..00000000 --- a/old_docs/API_docs_v104/types/account_PasswordSettings.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_PasswordSettings -description: constructors and methods of type account_PasswordSettings -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_PasswordSettings -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_passwordSettings](../constructors/account_passwordSettings.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getPasswordSettings](../methods/account_getPasswordSettings.md) - - - diff --git a/old_docs/API_docs_v104/types/account_PrivacyRules.md b/old_docs/API_docs_v104/types/account_PrivacyRules.md deleted file mode 100644 index 40b00077..00000000 --- a/old_docs/API_docs_v104/types/account_PrivacyRules.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: account_PrivacyRules -description: constructors and methods of type account_PrivacyRules -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_PrivacyRules -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_privacyRules](../constructors/account_privacyRules.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getPrivacy](../methods/account_getPrivacy.md) - -[$MadelineProto->account->setPrivacy](../methods/account_setPrivacy.md) - - - diff --git a/old_docs/API_docs_v104/types/account_SentEmailCode.md b/old_docs/API_docs_v104/types/account_SentEmailCode.md deleted file mode 100644 index 4aa38335..00000000 --- a/old_docs/API_docs_v104/types/account_SentEmailCode.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_SentEmailCode -description: constructors and methods of type account_SentEmailCode -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_SentEmailCode -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_sentEmailCode](../constructors/account_sentEmailCode.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->sendVerifyEmailCode](../methods/account_sendVerifyEmailCode.md) - - - diff --git a/old_docs/API_docs_v104/types/account_Takeout.md b/old_docs/API_docs_v104/types/account_Takeout.md deleted file mode 100644 index 26960f88..00000000 --- a/old_docs/API_docs_v104/types/account_Takeout.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_Takeout -description: constructors and methods of type account_Takeout -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_Takeout -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_takeout](../constructors/account_takeout.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->initTakeoutSession](../methods/account_initTakeoutSession.md) - - - diff --git a/old_docs/API_docs_v104/types/account_TmpPassword.md b/old_docs/API_docs_v104/types/account_TmpPassword.md deleted file mode 100644 index d7557921..00000000 --- a/old_docs/API_docs_v104/types/account_TmpPassword.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_TmpPassword -description: constructors and methods of type account_TmpPassword -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_TmpPassword -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_tmpPassword](../constructors/account_tmpPassword.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getTmpPassword](../methods/account_getTmpPassword.md) - - - diff --git a/old_docs/API_docs_v104/types/account_WallPapers.md b/old_docs/API_docs_v104/types/account_WallPapers.md deleted file mode 100644 index 6a082a9a..00000000 --- a/old_docs/API_docs_v104/types/account_WallPapers.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: account_WallPapers -description: constructors and methods of type account_WallPapers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_WallPapers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_wallPapersNotModified](../constructors/account_wallPapersNotModified.md) - -[account\_wallPapers](../constructors/account_wallPapers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getWallPapers](../methods/account_getWallPapers.md) - - - diff --git a/old_docs/API_docs_v104/types/account_WebAuthorizations.md b/old_docs/API_docs_v104/types/account_WebAuthorizations.md deleted file mode 100644 index 1202632b..00000000 --- a/old_docs/API_docs_v104/types/account_WebAuthorizations.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_WebAuthorizations -description: constructors and methods of type account_WebAuthorizations -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_WebAuthorizations -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_webAuthorizations](../constructors/account_webAuthorizations.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getWebAuthorizations](../methods/account_getWebAuthorizations.md) - - - diff --git a/old_docs/API_docs_v104/types/auth.Authorization.md b/old_docs/API_docs_v104/types/auth.Authorization.md new file mode 100644 index 00000000..3f769a1f --- /dev/null +++ b/old_docs/API_docs_v104/types/auth.Authorization.md @@ -0,0 +1,34 @@ +--- +title: auth.Authorization +description: constructors and methods of type auth.Authorization +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.Authorization +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.authorization](../constructors/auth.authorization.md) + +[auth.authorizationSignUpRequired](../constructors/auth.authorizationSignUpRequired.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->signUp](../methods/auth.signUp.md) + +[$MadelineProto->auth->signIn](../methods/auth.signIn.md) + +[$MadelineProto->auth->importAuthorization](../methods/auth.importAuthorization.md) + +[$MadelineProto->auth->importBotAuthorization](../methods/auth.importBotAuthorization.md) + +[$MadelineProto->auth->checkPassword](../methods/auth.checkPassword.md) + +[$MadelineProto->auth->recoverPassword](../methods/auth.recoverPassword.md) + + + diff --git a/old_docs/API_docs_v104/types/auth.CodeType.md b/old_docs/API_docs_v104/types/auth.CodeType.md new file mode 100644 index 00000000..8d2b308d --- /dev/null +++ b/old_docs/API_docs_v104/types/auth.CodeType.md @@ -0,0 +1,24 @@ +--- +title: auth.CodeType +description: constructors and methods of type auth.CodeType +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.CodeType +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.codeTypeSms](../constructors/auth.codeTypeSms.md) + +[auth.codeTypeCall](../constructors/auth.codeTypeCall.md) + +[auth.codeTypeFlashCall](../constructors/auth.codeTypeFlashCall.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v104/types/auth.ExportedAuthorization.md b/old_docs/API_docs_v104/types/auth.ExportedAuthorization.md new file mode 100644 index 00000000..ccb38d60 --- /dev/null +++ b/old_docs/API_docs_v104/types/auth.ExportedAuthorization.md @@ -0,0 +1,22 @@ +--- +title: auth.ExportedAuthorization +description: constructors and methods of type auth.ExportedAuthorization +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.ExportedAuthorization +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.exportedAuthorization](../constructors/auth.exportedAuthorization.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->exportAuthorization](../methods/auth.exportAuthorization.md) + + + diff --git a/old_docs/API_docs_v104/types/auth.PasswordRecovery.md b/old_docs/API_docs_v104/types/auth.PasswordRecovery.md new file mode 100644 index 00000000..c1c18992 --- /dev/null +++ b/old_docs/API_docs_v104/types/auth.PasswordRecovery.md @@ -0,0 +1,22 @@ +--- +title: auth.PasswordRecovery +description: constructors and methods of type auth.PasswordRecovery +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.PasswordRecovery +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.passwordRecovery](../constructors/auth.passwordRecovery.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->requestPasswordRecovery](../methods/auth.requestPasswordRecovery.md) + + + diff --git a/old_docs/API_docs_v104/types/auth.SentCode.md b/old_docs/API_docs_v104/types/auth.SentCode.md new file mode 100644 index 00000000..4950edeb --- /dev/null +++ b/old_docs/API_docs_v104/types/auth.SentCode.md @@ -0,0 +1,30 @@ +--- +title: auth.SentCode +description: constructors and methods of type auth.SentCode +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.SentCode +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.sentCode](../constructors/auth.sentCode.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->sendCode](../methods/auth.sendCode.md) + +[$MadelineProto->auth->resendCode](../methods/auth.resendCode.md) + +[$MadelineProto->account->sendChangePhoneCode](../methods/account.sendChangePhoneCode.md) + +[$MadelineProto->account->sendConfirmPhoneCode](../methods/account.sendConfirmPhoneCode.md) + +[$MadelineProto->account->sendVerifyPhoneCode](../methods/account.sendVerifyPhoneCode.md) + + + diff --git a/old_docs/API_docs_v104/types/auth.SentCodeType.md b/old_docs/API_docs_v104/types/auth.SentCodeType.md new file mode 100644 index 00000000..7c7c534e --- /dev/null +++ b/old_docs/API_docs_v104/types/auth.SentCodeType.md @@ -0,0 +1,26 @@ +--- +title: auth.SentCodeType +description: constructors and methods of type auth.SentCodeType +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.SentCodeType +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.sentCodeTypeApp](../constructors/auth.sentCodeTypeApp.md) + +[auth.sentCodeTypeSms](../constructors/auth.sentCodeTypeSms.md) + +[auth.sentCodeTypeCall](../constructors/auth.sentCodeTypeCall.md) + +[auth.sentCodeTypeFlashCall](../constructors/auth.sentCodeTypeFlashCall.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v104/types/auth_Authorization.md b/old_docs/API_docs_v104/types/auth_Authorization.md deleted file mode 100644 index 0fc0d545..00000000 --- a/old_docs/API_docs_v104/types/auth_Authorization.md +++ /dev/null @@ -1,34 +0,0 @@ ---- -title: auth_Authorization -description: constructors and methods of type auth_Authorization -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_Authorization -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_authorization](../constructors/auth_authorization.md) - -[auth\_authorizationSignUpRequired](../constructors/auth_authorizationSignUpRequired.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->signUp](../methods/auth_signUp.md) - -[$MadelineProto->auth->signIn](../methods/auth_signIn.md) - -[$MadelineProto->auth->importAuthorization](../methods/auth_importAuthorization.md) - -[$MadelineProto->auth->importBotAuthorization](../methods/auth_importBotAuthorization.md) - -[$MadelineProto->auth->checkPassword](../methods/auth_checkPassword.md) - -[$MadelineProto->auth->recoverPassword](../methods/auth_recoverPassword.md) - - - diff --git a/old_docs/API_docs_v104/types/auth_CodeType.md b/old_docs/API_docs_v104/types/auth_CodeType.md deleted file mode 100644 index 3cd9a7b7..00000000 --- a/old_docs/API_docs_v104/types/auth_CodeType.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: auth_CodeType -description: constructors and methods of type auth_CodeType -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_CodeType -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_codeTypeSms](../constructors/auth_codeTypeSms.md) - -[auth\_codeTypeCall](../constructors/auth_codeTypeCall.md) - -[auth\_codeTypeFlashCall](../constructors/auth_codeTypeFlashCall.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v104/types/auth_ExportedAuthorization.md b/old_docs/API_docs_v104/types/auth_ExportedAuthorization.md deleted file mode 100644 index 69e5c42e..00000000 --- a/old_docs/API_docs_v104/types/auth_ExportedAuthorization.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: auth_ExportedAuthorization -description: constructors and methods of type auth_ExportedAuthorization -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_ExportedAuthorization -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_exportedAuthorization](../constructors/auth_exportedAuthorization.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->exportAuthorization](../methods/auth_exportAuthorization.md) - - - diff --git a/old_docs/API_docs_v104/types/auth_PasswordRecovery.md b/old_docs/API_docs_v104/types/auth_PasswordRecovery.md deleted file mode 100644 index 4962bf42..00000000 --- a/old_docs/API_docs_v104/types/auth_PasswordRecovery.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: auth_PasswordRecovery -description: constructors and methods of type auth_PasswordRecovery -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_PasswordRecovery -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_passwordRecovery](../constructors/auth_passwordRecovery.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->requestPasswordRecovery](../methods/auth_requestPasswordRecovery.md) - - - diff --git a/old_docs/API_docs_v104/types/auth_SentCode.md b/old_docs/API_docs_v104/types/auth_SentCode.md deleted file mode 100644 index 140d956c..00000000 --- a/old_docs/API_docs_v104/types/auth_SentCode.md +++ /dev/null @@ -1,30 +0,0 @@ ---- -title: auth_SentCode -description: constructors and methods of type auth_SentCode -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_SentCode -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_sentCode](../constructors/auth_sentCode.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->sendCode](../methods/auth_sendCode.md) - -[$MadelineProto->auth->resendCode](../methods/auth_resendCode.md) - -[$MadelineProto->account->sendChangePhoneCode](../methods/account_sendChangePhoneCode.md) - -[$MadelineProto->account->sendConfirmPhoneCode](../methods/account_sendConfirmPhoneCode.md) - -[$MadelineProto->account->sendVerifyPhoneCode](../methods/account_sendVerifyPhoneCode.md) - - - diff --git a/old_docs/API_docs_v104/types/auth_SentCodeType.md b/old_docs/API_docs_v104/types/auth_SentCodeType.md deleted file mode 100644 index 8dfcb93b..00000000 --- a/old_docs/API_docs_v104/types/auth_SentCodeType.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: auth_SentCodeType -description: constructors and methods of type auth_SentCodeType -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_SentCodeType -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_sentCodeTypeApp](../constructors/auth_sentCodeTypeApp.md) - -[auth\_sentCodeTypeSms](../constructors/auth_sentCodeTypeSms.md) - -[auth\_sentCodeTypeCall](../constructors/auth_sentCodeTypeCall.md) - -[auth\_sentCodeTypeFlashCall](../constructors/auth_sentCodeTypeFlashCall.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v104/types/channels.AdminLogResults.md b/old_docs/API_docs_v104/types/channels.AdminLogResults.md new file mode 100644 index 00000000..7855a4fd --- /dev/null +++ b/old_docs/API_docs_v104/types/channels.AdminLogResults.md @@ -0,0 +1,22 @@ +--- +title: channels.AdminLogResults +description: constructors and methods of type channels.AdminLogResults +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: channels.AdminLogResults +[Back to types index](index.md) + + + +### Possible values (constructors): + +[channels.adminLogResults](../constructors/channels.adminLogResults.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->channels->getAdminLog](../methods/channels.getAdminLog.md) + + + diff --git a/old_docs/API_docs_v104/types/channels.ChannelParticipant.md b/old_docs/API_docs_v104/types/channels.ChannelParticipant.md new file mode 100644 index 00000000..8dc7f7e6 --- /dev/null +++ b/old_docs/API_docs_v104/types/channels.ChannelParticipant.md @@ -0,0 +1,22 @@ +--- +title: channels.ChannelParticipant +description: constructors and methods of type channels.ChannelParticipant +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: channels.ChannelParticipant +[Back to types index](index.md) + + + +### Possible values (constructors): + +[channels.channelParticipant](../constructors/channels.channelParticipant.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->channels->getParticipant](../methods/channels.getParticipant.md) + + + diff --git a/old_docs/API_docs_v104/types/channels.ChannelParticipants.md b/old_docs/API_docs_v104/types/channels.ChannelParticipants.md new file mode 100644 index 00000000..d448e007 --- /dev/null +++ b/old_docs/API_docs_v104/types/channels.ChannelParticipants.md @@ -0,0 +1,24 @@ +--- +title: channels.ChannelParticipants +description: constructors and methods of type channels.ChannelParticipants +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: channels.ChannelParticipants +[Back to types index](index.md) + + + +### Possible values (constructors): + +[channels.channelParticipants](../constructors/channels.channelParticipants.md) + +[channels.channelParticipantsNotModified](../constructors/channels.channelParticipantsNotModified.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->channels->getParticipants](../methods/channels.getParticipants.md) + + + diff --git a/old_docs/API_docs_v104/types/channels_AdminLogResults.md b/old_docs/API_docs_v104/types/channels_AdminLogResults.md deleted file mode 100644 index 4e9b5544..00000000 --- a/old_docs/API_docs_v104/types/channels_AdminLogResults.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: channels_AdminLogResults -description: constructors and methods of type channels_AdminLogResults -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: channels\_AdminLogResults -[Back to types index](index.md) - - - -### Possible values (constructors): - -[channels\_adminLogResults](../constructors/channels_adminLogResults.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->channels->getAdminLog](../methods/channels_getAdminLog.md) - - - diff --git a/old_docs/API_docs_v104/types/channels_ChannelParticipant.md b/old_docs/API_docs_v104/types/channels_ChannelParticipant.md deleted file mode 100644 index 3d4667c3..00000000 --- a/old_docs/API_docs_v104/types/channels_ChannelParticipant.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: channels_ChannelParticipant -description: constructors and methods of type channels_ChannelParticipant -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: channels\_ChannelParticipant -[Back to types index](index.md) - - - -### Possible values (constructors): - -[channels\_channelParticipant](../constructors/channels_channelParticipant.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->channels->getParticipant](../methods/channels_getParticipant.md) - - - diff --git a/old_docs/API_docs_v104/types/channels_ChannelParticipants.md b/old_docs/API_docs_v104/types/channels_ChannelParticipants.md deleted file mode 100644 index 80a41dd9..00000000 --- a/old_docs/API_docs_v104/types/channels_ChannelParticipants.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: channels_ChannelParticipants -description: constructors and methods of type channels_ChannelParticipants -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: channels\_ChannelParticipants -[Back to types index](index.md) - - - -### Possible values (constructors): - -[channels\_channelParticipants](../constructors/channels_channelParticipants.md) - -[channels\_channelParticipantsNotModified](../constructors/channels_channelParticipantsNotModified.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->channels->getParticipants](../methods/channels_getParticipants.md) - - - diff --git a/old_docs/API_docs_v104/types/contacts.Blocked.md b/old_docs/API_docs_v104/types/contacts.Blocked.md new file mode 100644 index 00000000..cb2af80f --- /dev/null +++ b/old_docs/API_docs_v104/types/contacts.Blocked.md @@ -0,0 +1,24 @@ +--- +title: contacts.Blocked +description: constructors and methods of type contacts.Blocked +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Blocked +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.blocked](../constructors/contacts.blocked.md) + +[contacts.blockedSlice](../constructors/contacts.blockedSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getBlocked](../methods/contacts.getBlocked.md) + + + diff --git a/old_docs/API_docs_v104/types/contacts.Contacts.md b/old_docs/API_docs_v104/types/contacts.Contacts.md new file mode 100644 index 00000000..5f695d8e --- /dev/null +++ b/old_docs/API_docs_v104/types/contacts.Contacts.md @@ -0,0 +1,24 @@ +--- +title: contacts.Contacts +description: constructors and methods of type contacts.Contacts +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Contacts +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.contactsNotModified](../constructors/contacts.contactsNotModified.md) + +[contacts.contacts](../constructors/contacts.contacts.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getContacts](../methods/contacts.getContacts.md) + + + diff --git a/old_docs/API_docs_v104/types/contacts.Found.md b/old_docs/API_docs_v104/types/contacts.Found.md new file mode 100644 index 00000000..7df98927 --- /dev/null +++ b/old_docs/API_docs_v104/types/contacts.Found.md @@ -0,0 +1,22 @@ +--- +title: contacts.Found +description: constructors and methods of type contacts.Found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Found +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.found](../constructors/contacts.found.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->search](../methods/contacts.search.md) + + + diff --git a/old_docs/API_docs_v104/types/contacts.ImportedContacts.md b/old_docs/API_docs_v104/types/contacts.ImportedContacts.md new file mode 100644 index 00000000..16795bab --- /dev/null +++ b/old_docs/API_docs_v104/types/contacts.ImportedContacts.md @@ -0,0 +1,22 @@ +--- +title: contacts.ImportedContacts +description: constructors and methods of type contacts.ImportedContacts +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.ImportedContacts +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.importedContacts](../constructors/contacts.importedContacts.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->importContacts](../methods/contacts.importContacts.md) + + + diff --git a/old_docs/API_docs_v104/types/contacts.ResolvedPeer.md b/old_docs/API_docs_v104/types/contacts.ResolvedPeer.md new file mode 100644 index 00000000..13630d54 --- /dev/null +++ b/old_docs/API_docs_v104/types/contacts.ResolvedPeer.md @@ -0,0 +1,22 @@ +--- +title: contacts.ResolvedPeer +description: constructors and methods of type contacts.ResolvedPeer +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.ResolvedPeer +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.resolvedPeer](../constructors/contacts.resolvedPeer.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->resolveUsername](../methods/contacts.resolveUsername.md) + + + diff --git a/old_docs/API_docs_v104/types/contacts.TopPeers.md b/old_docs/API_docs_v104/types/contacts.TopPeers.md new file mode 100644 index 00000000..563e63aa --- /dev/null +++ b/old_docs/API_docs_v104/types/contacts.TopPeers.md @@ -0,0 +1,26 @@ +--- +title: contacts.TopPeers +description: constructors and methods of type contacts.TopPeers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.TopPeers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.topPeersNotModified](../constructors/contacts.topPeersNotModified.md) + +[contacts.topPeers](../constructors/contacts.topPeers.md) + +[contacts.topPeersDisabled](../constructors/contacts.topPeersDisabled.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getTopPeers](../methods/contacts.getTopPeers.md) + + + diff --git a/old_docs/API_docs_v104/types/contacts_Blocked.md b/old_docs/API_docs_v104/types/contacts_Blocked.md deleted file mode 100644 index 3e1f02eb..00000000 --- a/old_docs/API_docs_v104/types/contacts_Blocked.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: contacts_Blocked -description: constructors and methods of type contacts_Blocked -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Blocked -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_blocked](../constructors/contacts_blocked.md) - -[contacts\_blockedSlice](../constructors/contacts_blockedSlice.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->getBlocked](../methods/contacts_getBlocked.md) - - - diff --git a/old_docs/API_docs_v104/types/contacts_Contacts.md b/old_docs/API_docs_v104/types/contacts_Contacts.md deleted file mode 100644 index 5d6c9506..00000000 --- a/old_docs/API_docs_v104/types/contacts_Contacts.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: contacts_Contacts -description: constructors and methods of type contacts_Contacts -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Contacts -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_contactsNotModified](../constructors/contacts_contactsNotModified.md) - -[contacts\_contacts](../constructors/contacts_contacts.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->getContacts](../methods/contacts_getContacts.md) - - - diff --git a/old_docs/API_docs_v104/types/contacts_Found.md b/old_docs/API_docs_v104/types/contacts_Found.md deleted file mode 100644 index 806101cf..00000000 --- a/old_docs/API_docs_v104/types/contacts_Found.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_Found -description: constructors and methods of type contacts_Found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Found -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_found](../constructors/contacts_found.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->search](../methods/contacts_search.md) - - - diff --git a/old_docs/API_docs_v104/types/contacts_ImportedContacts.md b/old_docs/API_docs_v104/types/contacts_ImportedContacts.md deleted file mode 100644 index faf7e615..00000000 --- a/old_docs/API_docs_v104/types/contacts_ImportedContacts.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_ImportedContacts -description: constructors and methods of type contacts_ImportedContacts -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_ImportedContacts -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_importedContacts](../constructors/contacts_importedContacts.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->importContacts](../methods/contacts_importContacts.md) - - - diff --git a/old_docs/API_docs_v104/types/contacts_ResolvedPeer.md b/old_docs/API_docs_v104/types/contacts_ResolvedPeer.md deleted file mode 100644 index cf107f7c..00000000 --- a/old_docs/API_docs_v104/types/contacts_ResolvedPeer.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_ResolvedPeer -description: constructors and methods of type contacts_ResolvedPeer -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_ResolvedPeer -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_resolvedPeer](../constructors/contacts_resolvedPeer.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->resolveUsername](../methods/contacts_resolveUsername.md) - - - diff --git a/old_docs/API_docs_v104/types/contacts_TopPeers.md b/old_docs/API_docs_v104/types/contacts_TopPeers.md deleted file mode 100644 index dc8ee478..00000000 --- a/old_docs/API_docs_v104/types/contacts_TopPeers.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: contacts_TopPeers -description: constructors and methods of type contacts_TopPeers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_TopPeers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_topPeersNotModified](../constructors/contacts_topPeersNotModified.md) - -[contacts\_topPeers](../constructors/contacts_topPeers.md) - -[contacts\_topPeersDisabled](../constructors/contacts_topPeersDisabled.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->getTopPeers](../methods/contacts_getTopPeers.md) - - - diff --git a/old_docs/API_docs_v104/types/help.AppUpdate.md b/old_docs/API_docs_v104/types/help.AppUpdate.md new file mode 100644 index 00000000..285ec2b7 --- /dev/null +++ b/old_docs/API_docs_v104/types/help.AppUpdate.md @@ -0,0 +1,24 @@ +--- +title: help.AppUpdate +description: constructors and methods of type help.AppUpdate +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.AppUpdate +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.appUpdate](../constructors/help.appUpdate.md) + +[help.noAppUpdate](../constructors/help.noAppUpdate.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getAppUpdate](../methods/help.getAppUpdate.md) + + + diff --git a/old_docs/API_docs_v104/types/help.ConfigSimple.md b/old_docs/API_docs_v104/types/help.ConfigSimple.md new file mode 100644 index 00000000..92d9e15f --- /dev/null +++ b/old_docs/API_docs_v104/types/help.ConfigSimple.md @@ -0,0 +1,20 @@ +--- +title: help.ConfigSimple +description: constructors and methods of type help.ConfigSimple +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.ConfigSimple +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.configSimple](../constructors/help.configSimple.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v104/types/help.DeepLinkInfo.md b/old_docs/API_docs_v104/types/help.DeepLinkInfo.md new file mode 100644 index 00000000..356af1c4 --- /dev/null +++ b/old_docs/API_docs_v104/types/help.DeepLinkInfo.md @@ -0,0 +1,24 @@ +--- +title: help.DeepLinkInfo +description: constructors and methods of type help.DeepLinkInfo +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.DeepLinkInfo +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.deepLinkInfoEmpty](../constructors/help.deepLinkInfoEmpty.md) + +[help.deepLinkInfo](../constructors/help.deepLinkInfo.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getDeepLinkInfo](../methods/help.getDeepLinkInfo.md) + + + diff --git a/old_docs/API_docs_v104/types/help.InviteText.md b/old_docs/API_docs_v104/types/help.InviteText.md new file mode 100644 index 00000000..43293f46 --- /dev/null +++ b/old_docs/API_docs_v104/types/help.InviteText.md @@ -0,0 +1,22 @@ +--- +title: help.InviteText +description: constructors and methods of type help.InviteText +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.InviteText +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.inviteText](../constructors/help.inviteText.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getInviteText](../methods/help.getInviteText.md) + + + diff --git a/old_docs/API_docs_v104/types/help.PassportConfig.md b/old_docs/API_docs_v104/types/help.PassportConfig.md new file mode 100644 index 00000000..15eb12cc --- /dev/null +++ b/old_docs/API_docs_v104/types/help.PassportConfig.md @@ -0,0 +1,24 @@ +--- +title: help.PassportConfig +description: constructors and methods of type help.PassportConfig +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.PassportConfig +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.passportConfigNotModified](../constructors/help.passportConfigNotModified.md) + +[help.passportConfig](../constructors/help.passportConfig.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getPassportConfig](../methods/help.getPassportConfig.md) + + + diff --git a/old_docs/API_docs_v104/types/help.ProxyData.md b/old_docs/API_docs_v104/types/help.ProxyData.md new file mode 100644 index 00000000..e45b4211 --- /dev/null +++ b/old_docs/API_docs_v104/types/help.ProxyData.md @@ -0,0 +1,24 @@ +--- +title: help.ProxyData +description: constructors and methods of type help.ProxyData +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.ProxyData +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.proxyDataEmpty](../constructors/help.proxyDataEmpty.md) + +[help.proxyDataPromo](../constructors/help.proxyDataPromo.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getProxyData](../methods/help.getProxyData.md) + + + diff --git a/old_docs/API_docs_v104/types/help.RecentMeUrls.md b/old_docs/API_docs_v104/types/help.RecentMeUrls.md new file mode 100644 index 00000000..6b7ee2c1 --- /dev/null +++ b/old_docs/API_docs_v104/types/help.RecentMeUrls.md @@ -0,0 +1,22 @@ +--- +title: help.RecentMeUrls +description: constructors and methods of type help.RecentMeUrls +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.RecentMeUrls +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.recentMeUrls](../constructors/help.recentMeUrls.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getRecentMeUrls](../methods/help.getRecentMeUrls.md) + + + diff --git a/old_docs/API_docs_v104/types/help.Support.md b/old_docs/API_docs_v104/types/help.Support.md new file mode 100644 index 00000000..42c20483 --- /dev/null +++ b/old_docs/API_docs_v104/types/help.Support.md @@ -0,0 +1,22 @@ +--- +title: help.Support +description: constructors and methods of type help.Support +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.Support +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.support](../constructors/help.support.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getSupport](../methods/help.getSupport.md) + + + diff --git a/old_docs/API_docs_v104/types/help.SupportName.md b/old_docs/API_docs_v104/types/help.SupportName.md new file mode 100644 index 00000000..7f68199a --- /dev/null +++ b/old_docs/API_docs_v104/types/help.SupportName.md @@ -0,0 +1,22 @@ +--- +title: help.SupportName +description: constructors and methods of type help.SupportName +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.SupportName +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.supportName](../constructors/help.supportName.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getSupportName](../methods/help.getSupportName.md) + + + diff --git a/old_docs/API_docs_v104/types/help.TermsOfService.md b/old_docs/API_docs_v104/types/help.TermsOfService.md new file mode 100644 index 00000000..d4d091e1 --- /dev/null +++ b/old_docs/API_docs_v104/types/help.TermsOfService.md @@ -0,0 +1,20 @@ +--- +title: help.TermsOfService +description: constructors and methods of type help.TermsOfService +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.TermsOfService +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.termsOfService](../constructors/help.termsOfService.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v104/types/help.TermsOfServiceUpdate.md b/old_docs/API_docs_v104/types/help.TermsOfServiceUpdate.md new file mode 100644 index 00000000..e27b3c71 --- /dev/null +++ b/old_docs/API_docs_v104/types/help.TermsOfServiceUpdate.md @@ -0,0 +1,24 @@ +--- +title: help.TermsOfServiceUpdate +description: constructors and methods of type help.TermsOfServiceUpdate +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.TermsOfServiceUpdate +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.termsOfServiceUpdateEmpty](../constructors/help.termsOfServiceUpdateEmpty.md) + +[help.termsOfServiceUpdate](../constructors/help.termsOfServiceUpdate.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getTermsOfServiceUpdate](../methods/help.getTermsOfServiceUpdate.md) + + + diff --git a/old_docs/API_docs_v104/types/help.UserInfo.md b/old_docs/API_docs_v104/types/help.UserInfo.md new file mode 100644 index 00000000..9d91ee40 --- /dev/null +++ b/old_docs/API_docs_v104/types/help.UserInfo.md @@ -0,0 +1,26 @@ +--- +title: help.UserInfo +description: constructors and methods of type help.UserInfo +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.UserInfo +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.userInfoEmpty](../constructors/help.userInfoEmpty.md) + +[help.userInfo](../constructors/help.userInfo.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getUserInfo](../methods/help.getUserInfo.md) + +[$MadelineProto->help->editUserInfo](../methods/help.editUserInfo.md) + + + diff --git a/old_docs/API_docs_v104/types/help_AppUpdate.md b/old_docs/API_docs_v104/types/help_AppUpdate.md deleted file mode 100644 index 1f296a70..00000000 --- a/old_docs/API_docs_v104/types/help_AppUpdate.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: help_AppUpdate -description: constructors and methods of type help_AppUpdate -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_AppUpdate -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_appUpdate](../constructors/help_appUpdate.md) - -[help\_noAppUpdate](../constructors/help_noAppUpdate.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getAppUpdate](../methods/help_getAppUpdate.md) - - - diff --git a/old_docs/API_docs_v104/types/help_ConfigSimple.md b/old_docs/API_docs_v104/types/help_ConfigSimple.md deleted file mode 100644 index 81678d74..00000000 --- a/old_docs/API_docs_v104/types/help_ConfigSimple.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: help_ConfigSimple -description: constructors and methods of type help_ConfigSimple -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_ConfigSimple -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_configSimple](../constructors/help_configSimple.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v104/types/help_DeepLinkInfo.md b/old_docs/API_docs_v104/types/help_DeepLinkInfo.md deleted file mode 100644 index 776e8e09..00000000 --- a/old_docs/API_docs_v104/types/help_DeepLinkInfo.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: help_DeepLinkInfo -description: constructors and methods of type help_DeepLinkInfo -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_DeepLinkInfo -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_deepLinkInfoEmpty](../constructors/help_deepLinkInfoEmpty.md) - -[help\_deepLinkInfo](../constructors/help_deepLinkInfo.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getDeepLinkInfo](../methods/help_getDeepLinkInfo.md) - - - diff --git a/old_docs/API_docs_v104/types/help_InviteText.md b/old_docs/API_docs_v104/types/help_InviteText.md deleted file mode 100644 index 018d35bf..00000000 --- a/old_docs/API_docs_v104/types/help_InviteText.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: help_InviteText -description: constructors and methods of type help_InviteText -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_InviteText -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_inviteText](../constructors/help_inviteText.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getInviteText](../methods/help_getInviteText.md) - - - diff --git a/old_docs/API_docs_v104/types/help_PassportConfig.md b/old_docs/API_docs_v104/types/help_PassportConfig.md deleted file mode 100644 index e03abab7..00000000 --- a/old_docs/API_docs_v104/types/help_PassportConfig.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: help_PassportConfig -description: constructors and methods of type help_PassportConfig -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_PassportConfig -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_passportConfigNotModified](../constructors/help_passportConfigNotModified.md) - -[help\_passportConfig](../constructors/help_passportConfig.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getPassportConfig](../methods/help_getPassportConfig.md) - - - diff --git a/old_docs/API_docs_v104/types/help_ProxyData.md b/old_docs/API_docs_v104/types/help_ProxyData.md deleted file mode 100644 index 1bc6839e..00000000 --- a/old_docs/API_docs_v104/types/help_ProxyData.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: help_ProxyData -description: constructors and methods of type help_ProxyData -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_ProxyData -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_proxyDataEmpty](../constructors/help_proxyDataEmpty.md) - -[help\_proxyDataPromo](../constructors/help_proxyDataPromo.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getProxyData](../methods/help_getProxyData.md) - - - diff --git a/old_docs/API_docs_v104/types/help_RecentMeUrls.md b/old_docs/API_docs_v104/types/help_RecentMeUrls.md deleted file mode 100644 index 691af1c3..00000000 --- a/old_docs/API_docs_v104/types/help_RecentMeUrls.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: help_RecentMeUrls -description: constructors and methods of type help_RecentMeUrls -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_RecentMeUrls -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_recentMeUrls](../constructors/help_recentMeUrls.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getRecentMeUrls](../methods/help_getRecentMeUrls.md) - - - diff --git a/old_docs/API_docs_v104/types/help_Support.md b/old_docs/API_docs_v104/types/help_Support.md deleted file mode 100644 index 26de447b..00000000 --- a/old_docs/API_docs_v104/types/help_Support.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: help_Support -description: constructors and methods of type help_Support -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_Support -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_support](../constructors/help_support.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getSupport](../methods/help_getSupport.md) - - - diff --git a/old_docs/API_docs_v104/types/help_SupportName.md b/old_docs/API_docs_v104/types/help_SupportName.md deleted file mode 100644 index e89309a2..00000000 --- a/old_docs/API_docs_v104/types/help_SupportName.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: help_SupportName -description: constructors and methods of type help_SupportName -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_SupportName -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_supportName](../constructors/help_supportName.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getSupportName](../methods/help_getSupportName.md) - - - diff --git a/old_docs/API_docs_v104/types/help_TermsOfService.md b/old_docs/API_docs_v104/types/help_TermsOfService.md deleted file mode 100644 index 24f8eb68..00000000 --- a/old_docs/API_docs_v104/types/help_TermsOfService.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: help_TermsOfService -description: constructors and methods of type help_TermsOfService -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_TermsOfService -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_termsOfService](../constructors/help_termsOfService.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v104/types/help_TermsOfServiceUpdate.md b/old_docs/API_docs_v104/types/help_TermsOfServiceUpdate.md deleted file mode 100644 index 0e4f1ef2..00000000 --- a/old_docs/API_docs_v104/types/help_TermsOfServiceUpdate.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: help_TermsOfServiceUpdate -description: constructors and methods of type help_TermsOfServiceUpdate -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_TermsOfServiceUpdate -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_termsOfServiceUpdateEmpty](../constructors/help_termsOfServiceUpdateEmpty.md) - -[help\_termsOfServiceUpdate](../constructors/help_termsOfServiceUpdate.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getTermsOfServiceUpdate](../methods/help_getTermsOfServiceUpdate.md) - - - diff --git a/old_docs/API_docs_v104/types/help_UserInfo.md b/old_docs/API_docs_v104/types/help_UserInfo.md deleted file mode 100644 index 87ca4327..00000000 --- a/old_docs/API_docs_v104/types/help_UserInfo.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: help_UserInfo -description: constructors and methods of type help_UserInfo -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_UserInfo -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_userInfoEmpty](../constructors/help_userInfoEmpty.md) - -[help\_userInfo](../constructors/help_userInfo.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getUserInfo](../methods/help_getUserInfo.md) - -[$MadelineProto->help->editUserInfo](../methods/help_editUserInfo.md) - - - diff --git a/old_docs/API_docs_v104/types/messages.AffectedHistory.md b/old_docs/API_docs_v104/types/messages.AffectedHistory.md new file mode 100644 index 00000000..8a1e850a --- /dev/null +++ b/old_docs/API_docs_v104/types/messages.AffectedHistory.md @@ -0,0 +1,26 @@ +--- +title: messages.AffectedHistory +description: constructors and methods of type messages.AffectedHistory +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.AffectedHistory +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.affectedHistory](../constructors/messages.affectedHistory.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->deleteHistory](../methods/messages.deleteHistory.md) + +[$MadelineProto->messages->readMentions](../methods/messages.readMentions.md) + +[$MadelineProto->channels->deleteUserHistory](../methods/channels.deleteUserHistory.md) + + + diff --git a/old_docs/API_docs_v104/types/messages.AffectedMessages.md b/old_docs/API_docs_v104/types/messages.AffectedMessages.md new file mode 100644 index 00000000..a9159de3 --- /dev/null +++ b/old_docs/API_docs_v104/types/messages.AffectedMessages.md @@ -0,0 +1,28 @@ +--- +title: messages.AffectedMessages +description: constructors and methods of type messages.AffectedMessages +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.AffectedMessages +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.affectedMessages](../constructors/messages.affectedMessages.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->readHistory](../methods/messages.readHistory.md) + +[$MadelineProto->messages->deleteMessages](../methods/messages.deleteMessages.md) + +[$MadelineProto->messages->readMessageContents](../methods/messages.readMessageContents.md) + +[$MadelineProto->channels->deleteMessages](../methods/channels.deleteMessages.md) + + + diff --git a/old_docs/API_docs_v104/types/messages.AllStickers.md b/old_docs/API_docs_v104/types/messages.AllStickers.md new file mode 100644 index 00000000..fd8565de --- /dev/null +++ b/old_docs/API_docs_v104/types/messages.AllStickers.md @@ -0,0 +1,26 @@ +--- +title: messages.AllStickers +description: constructors and methods of type messages.AllStickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.AllStickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.allStickersNotModified](../constructors/messages.allStickersNotModified.md) + +[messages.allStickers](../constructors/messages.allStickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getAllStickers](../methods/messages.getAllStickers.md) + +[$MadelineProto->messages->getMaskStickers](../methods/messages.getMaskStickers.md) + + + diff --git a/old_docs/API_docs_v104/types/messages.ArchivedStickers.md b/old_docs/API_docs_v104/types/messages.ArchivedStickers.md new file mode 100644 index 00000000..3e017c5d --- /dev/null +++ b/old_docs/API_docs_v104/types/messages.ArchivedStickers.md @@ -0,0 +1,22 @@ +--- +title: messages.ArchivedStickers +description: constructors and methods of type messages.ArchivedStickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.ArchivedStickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.archivedStickers](../constructors/messages.archivedStickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getArchivedStickers](../methods/messages.getArchivedStickers.md) + + + diff --git a/old_docs/API_docs_v104/types/messages.BotCallbackAnswer.md b/old_docs/API_docs_v104/types/messages.BotCallbackAnswer.md new file mode 100644 index 00000000..ef30fbfb --- /dev/null +++ b/old_docs/API_docs_v104/types/messages.BotCallbackAnswer.md @@ -0,0 +1,22 @@ +--- +title: messages.BotCallbackAnswer +description: constructors and methods of type messages.BotCallbackAnswer +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.BotCallbackAnswer +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.botCallbackAnswer](../constructors/messages.botCallbackAnswer.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getBotCallbackAnswer](../methods/messages.getBotCallbackAnswer.md) + + + diff --git a/old_docs/API_docs_v104/types/messages.BotResults.md b/old_docs/API_docs_v104/types/messages.BotResults.md new file mode 100644 index 00000000..76ee2b99 --- /dev/null +++ b/old_docs/API_docs_v104/types/messages.BotResults.md @@ -0,0 +1,22 @@ +--- +title: messages.BotResults +description: constructors and methods of type messages.BotResults +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.BotResults +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.botResults](../constructors/messages.botResults.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getInlineBotResults](../methods/messages.getInlineBotResults.md) + + + diff --git a/old_docs/API_docs_v104/types/messages.ChatFull.md b/old_docs/API_docs_v104/types/messages.ChatFull.md new file mode 100644 index 00000000..3ad38748 --- /dev/null +++ b/old_docs/API_docs_v104/types/messages.ChatFull.md @@ -0,0 +1,24 @@ +--- +title: messages.ChatFull +description: constructors and methods of type messages.ChatFull +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.ChatFull +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.chatFull](../constructors/messages.chatFull.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getFullChat](../methods/messages.getFullChat.md) + +[$MadelineProto->channels->getFullChannel](../methods/channels.getFullChannel.md) + + + diff --git a/old_docs/API_docs_v104/types/messages.Chats.md b/old_docs/API_docs_v104/types/messages.Chats.md new file mode 100644 index 00000000..60180618 --- /dev/null +++ b/old_docs/API_docs_v104/types/messages.Chats.md @@ -0,0 +1,36 @@ +--- +title: messages.Chats +description: constructors and methods of type messages.Chats +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Chats +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.chats](../constructors/messages.chats.md) + +[messages.chatsSlice](../constructors/messages.chatsSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getChats](../methods/messages.getChats.md) + +[$MadelineProto->messages->getCommonChats](../methods/messages.getCommonChats.md) + +[$MadelineProto->messages->getAllChats](../methods/messages.getAllChats.md) + +[$MadelineProto->channels->getChannels](../methods/channels.getChannels.md) + +[$MadelineProto->channels->getAdminedPublicChannels](../methods/channels.getAdminedPublicChannels.md) + +[$MadelineProto->channels->getLeftChannels](../methods/channels.getLeftChannels.md) + +[$MadelineProto->channels->getGroupsForDiscussion](../methods/channels.getGroupsForDiscussion.md) + + + diff --git a/old_docs/API_docs_v104/types/messages.DhConfig.md b/old_docs/API_docs_v104/types/messages.DhConfig.md new file mode 100644 index 00000000..77188ab7 --- /dev/null +++ b/old_docs/API_docs_v104/types/messages.DhConfig.md @@ -0,0 +1,24 @@ +--- +title: messages.DhConfig +description: constructors and methods of type messages.DhConfig +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.DhConfig +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.dhConfigNotModified](../constructors/messages.dhConfigNotModified.md) + +[messages.dhConfig](../constructors/messages.dhConfig.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getDhConfig](../methods/messages.getDhConfig.md) + + + diff --git a/old_docs/API_docs_v104/types/messages.Dialogs.md b/old_docs/API_docs_v104/types/messages.Dialogs.md new file mode 100644 index 00000000..e14885b1 --- /dev/null +++ b/old_docs/API_docs_v104/types/messages.Dialogs.md @@ -0,0 +1,26 @@ +--- +title: messages.Dialogs +description: constructors and methods of type messages.Dialogs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Dialogs +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.dialogs](../constructors/messages.dialogs.md) + +[messages.dialogsSlice](../constructors/messages.dialogsSlice.md) + +[messages.dialogsNotModified](../constructors/messages.dialogsNotModified.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getDialogs](../methods/messages.getDialogs.md) + + + diff --git a/old_docs/API_docs_v104/types/messages.FavedStickers.md b/old_docs/API_docs_v104/types/messages.FavedStickers.md new file mode 100644 index 00000000..3edc863b --- /dev/null +++ b/old_docs/API_docs_v104/types/messages.FavedStickers.md @@ -0,0 +1,24 @@ +--- +title: messages.FavedStickers +description: constructors and methods of type messages.FavedStickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.FavedStickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.favedStickersNotModified](../constructors/messages.favedStickersNotModified.md) + +[messages.favedStickers](../constructors/messages.favedStickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getFavedStickers](../methods/messages.getFavedStickers.md) + + + diff --git a/old_docs/API_docs_v104/types/messages.FeaturedStickers.md b/old_docs/API_docs_v104/types/messages.FeaturedStickers.md new file mode 100644 index 00000000..06ed87bb --- /dev/null +++ b/old_docs/API_docs_v104/types/messages.FeaturedStickers.md @@ -0,0 +1,24 @@ +--- +title: messages.FeaturedStickers +description: constructors and methods of type messages.FeaturedStickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.FeaturedStickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.featuredStickersNotModified](../constructors/messages.featuredStickersNotModified.md) + +[messages.featuredStickers](../constructors/messages.featuredStickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getFeaturedStickers](../methods/messages.getFeaturedStickers.md) + + + diff --git a/old_docs/API_docs_v104/types/messages.FoundGifs.md b/old_docs/API_docs_v104/types/messages.FoundGifs.md new file mode 100644 index 00000000..b5176a5d --- /dev/null +++ b/old_docs/API_docs_v104/types/messages.FoundGifs.md @@ -0,0 +1,22 @@ +--- +title: messages.FoundGifs +description: constructors and methods of type messages.FoundGifs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.FoundGifs +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.foundGifs](../constructors/messages.foundGifs.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->searchGifs](../methods/messages.searchGifs.md) + + + diff --git a/old_docs/API_docs_v104/types/messages.FoundStickerSets.md b/old_docs/API_docs_v104/types/messages.FoundStickerSets.md new file mode 100644 index 00000000..eb6eb284 --- /dev/null +++ b/old_docs/API_docs_v104/types/messages.FoundStickerSets.md @@ -0,0 +1,24 @@ +--- +title: messages.FoundStickerSets +description: constructors and methods of type messages.FoundStickerSets +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.FoundStickerSets +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.foundStickerSetsNotModified](../constructors/messages.foundStickerSetsNotModified.md) + +[messages.foundStickerSets](../constructors/messages.foundStickerSets.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->searchStickerSets](../methods/messages.searchStickerSets.md) + + + diff --git a/old_docs/API_docs_v104/types/messages.HighScores.md b/old_docs/API_docs_v104/types/messages.HighScores.md new file mode 100644 index 00000000..eae9db66 --- /dev/null +++ b/old_docs/API_docs_v104/types/messages.HighScores.md @@ -0,0 +1,24 @@ +--- +title: messages.HighScores +description: constructors and methods of type messages.HighScores +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.HighScores +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.highScores](../constructors/messages.highScores.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getGameHighScores](../methods/messages.getGameHighScores.md) + +[$MadelineProto->messages->getInlineGameHighScores](../methods/messages.getInlineGameHighScores.md) + + + diff --git a/old_docs/API_docs_v104/types/messages.MessageEditData.md b/old_docs/API_docs_v104/types/messages.MessageEditData.md new file mode 100644 index 00000000..feb572f1 --- /dev/null +++ b/old_docs/API_docs_v104/types/messages.MessageEditData.md @@ -0,0 +1,22 @@ +--- +title: messages.MessageEditData +description: constructors and methods of type messages.MessageEditData +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.MessageEditData +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.messageEditData](../constructors/messages.messageEditData.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getMessageEditData](../methods/messages.getMessageEditData.md) + + + diff --git a/old_docs/API_docs_v104/types/messages.Messages.md b/old_docs/API_docs_v104/types/messages.Messages.md new file mode 100644 index 00000000..699ceada --- /dev/null +++ b/old_docs/API_docs_v104/types/messages.Messages.md @@ -0,0 +1,40 @@ +--- +title: messages.Messages +description: constructors and methods of type messages.Messages +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Messages +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.messages](../constructors/messages.messages.md) + +[messages.messagesSlice](../constructors/messages.messagesSlice.md) + +[messages.channelMessages](../constructors/messages.channelMessages.md) + +[messages.messagesNotModified](../constructors/messages.messagesNotModified.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getMessages](../methods/messages.getMessages.md) + +[$MadelineProto->messages->getHistory](../methods/messages.getHistory.md) + +[$MadelineProto->messages->search](../methods/messages.search.md) + +[$MadelineProto->messages->searchGlobal](../methods/messages.searchGlobal.md) + +[$MadelineProto->messages->getUnreadMentions](../methods/messages.getUnreadMentions.md) + +[$MadelineProto->messages->getRecentLocations](../methods/messages.getRecentLocations.md) + +[$MadelineProto->channels->getMessages](../methods/channels.getMessages.md) + + + diff --git a/old_docs/API_docs_v104/types/messages.PeerDialogs.md b/old_docs/API_docs_v104/types/messages.PeerDialogs.md new file mode 100644 index 00000000..9a1ceaf0 --- /dev/null +++ b/old_docs/API_docs_v104/types/messages.PeerDialogs.md @@ -0,0 +1,24 @@ +--- +title: messages.PeerDialogs +description: constructors and methods of type messages.PeerDialogs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.PeerDialogs +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.peerDialogs](../constructors/messages.peerDialogs.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getPeerDialogs](../methods/messages.getPeerDialogs.md) + +[$MadelineProto->messages->getPinnedDialogs](../methods/messages.getPinnedDialogs.md) + + + diff --git a/old_docs/API_docs_v104/types/messages.RecentStickers.md b/old_docs/API_docs_v104/types/messages.RecentStickers.md new file mode 100644 index 00000000..e5c49b92 --- /dev/null +++ b/old_docs/API_docs_v104/types/messages.RecentStickers.md @@ -0,0 +1,24 @@ +--- +title: messages.RecentStickers +description: constructors and methods of type messages.RecentStickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.RecentStickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.recentStickersNotModified](../constructors/messages.recentStickersNotModified.md) + +[messages.recentStickers](../constructors/messages.recentStickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getRecentStickers](../methods/messages.getRecentStickers.md) + + + diff --git a/old_docs/API_docs_v104/types/messages.SavedGifs.md b/old_docs/API_docs_v104/types/messages.SavedGifs.md new file mode 100644 index 00000000..99844c98 --- /dev/null +++ b/old_docs/API_docs_v104/types/messages.SavedGifs.md @@ -0,0 +1,24 @@ +--- +title: messages.SavedGifs +description: constructors and methods of type messages.SavedGifs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.SavedGifs +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.savedGifsNotModified](../constructors/messages.savedGifsNotModified.md) + +[messages.savedGifs](../constructors/messages.savedGifs.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getSavedGifs](../methods/messages.getSavedGifs.md) + + + diff --git a/old_docs/API_docs_v104/types/messages.SearchCounter.md b/old_docs/API_docs_v104/types/messages.SearchCounter.md new file mode 100644 index 00000000..d2194858 --- /dev/null +++ b/old_docs/API_docs_v104/types/messages.SearchCounter.md @@ -0,0 +1,22 @@ +--- +title: messages.SearchCounter +description: constructors and methods of type messages.SearchCounter +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.SearchCounter +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.searchCounter](../constructors/messages.searchCounter.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getSearchCounters](../methods/messages.getSearchCounters.md) + + + diff --git a/old_docs/API_docs_v104/types/messages.SentEncryptedMessage.md b/old_docs/API_docs_v104/types/messages.SentEncryptedMessage.md new file mode 100644 index 00000000..b6d05b1f --- /dev/null +++ b/old_docs/API_docs_v104/types/messages.SentEncryptedMessage.md @@ -0,0 +1,28 @@ +--- +title: messages.SentEncryptedMessage +description: constructors and methods of type messages.SentEncryptedMessage +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.SentEncryptedMessage +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.sentEncryptedMessage](../constructors/messages.sentEncryptedMessage.md) + +[messages.sentEncryptedFile](../constructors/messages.sentEncryptedFile.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->sendEncrypted](../methods/messages.sendEncrypted.md) + +[$MadelineProto->messages->sendEncryptedFile](../methods/messages.sendEncryptedFile.md) + +[$MadelineProto->messages->sendEncryptedService](../methods/messages.sendEncryptedService.md) + + + diff --git a/old_docs/API_docs_v104/types/messages.StickerSet.md b/old_docs/API_docs_v104/types/messages.StickerSet.md new file mode 100644 index 00000000..e173fe45 --- /dev/null +++ b/old_docs/API_docs_v104/types/messages.StickerSet.md @@ -0,0 +1,30 @@ +--- +title: messages.StickerSet +description: constructors and methods of type messages.StickerSet +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.StickerSet +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.stickerSet](../constructors/messages.stickerSet.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getStickerSet](../methods/messages.getStickerSet.md) + +[$MadelineProto->stickers->createStickerSet](../methods/stickers.createStickerSet.md) + +[$MadelineProto->stickers->removeStickerFromSet](../methods/stickers.removeStickerFromSet.md) + +[$MadelineProto->stickers->changeStickerPosition](../methods/stickers.changeStickerPosition.md) + +[$MadelineProto->stickers->addStickerToSet](../methods/stickers.addStickerToSet.md) + + + diff --git a/old_docs/API_docs_v104/types/messages.StickerSetInstallResult.md b/old_docs/API_docs_v104/types/messages.StickerSetInstallResult.md new file mode 100644 index 00000000..9e09c293 --- /dev/null +++ b/old_docs/API_docs_v104/types/messages.StickerSetInstallResult.md @@ -0,0 +1,24 @@ +--- +title: messages.StickerSetInstallResult +description: constructors and methods of type messages.StickerSetInstallResult +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.StickerSetInstallResult +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.stickerSetInstallResultSuccess](../constructors/messages.stickerSetInstallResultSuccess.md) + +[messages.stickerSetInstallResultArchive](../constructors/messages.stickerSetInstallResultArchive.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->installStickerSet](../methods/messages.installStickerSet.md) + + + diff --git a/old_docs/API_docs_v104/types/messages.Stickers.md b/old_docs/API_docs_v104/types/messages.Stickers.md new file mode 100644 index 00000000..43bddf06 --- /dev/null +++ b/old_docs/API_docs_v104/types/messages.Stickers.md @@ -0,0 +1,24 @@ +--- +title: messages.Stickers +description: constructors and methods of type messages.Stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Stickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.stickersNotModified](../constructors/messages.stickersNotModified.md) + +[messages.stickers](../constructors/messages.stickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getStickers](../methods/messages.getStickers.md) + + + diff --git a/old_docs/API_docs_v104/types/messages_AffectedHistory.md b/old_docs/API_docs_v104/types/messages_AffectedHistory.md deleted file mode 100644 index 9eef04c0..00000000 --- a/old_docs/API_docs_v104/types/messages_AffectedHistory.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: messages_AffectedHistory -description: constructors and methods of type messages_AffectedHistory -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_AffectedHistory -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_affectedHistory](../constructors/messages_affectedHistory.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->deleteHistory](../methods/messages_deleteHistory.md) - -[$MadelineProto->messages->readMentions](../methods/messages_readMentions.md) - -[$MadelineProto->channels->deleteUserHistory](../methods/channels_deleteUserHistory.md) - - - diff --git a/old_docs/API_docs_v104/types/messages_AffectedMessages.md b/old_docs/API_docs_v104/types/messages_AffectedMessages.md deleted file mode 100644 index dcbea721..00000000 --- a/old_docs/API_docs_v104/types/messages_AffectedMessages.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: messages_AffectedMessages -description: constructors and methods of type messages_AffectedMessages -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_AffectedMessages -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_affectedMessages](../constructors/messages_affectedMessages.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->readHistory](../methods/messages_readHistory.md) - -[$MadelineProto->messages->deleteMessages](../methods/messages_deleteMessages.md) - -[$MadelineProto->messages->readMessageContents](../methods/messages_readMessageContents.md) - -[$MadelineProto->channels->deleteMessages](../methods/channels_deleteMessages.md) - - - diff --git a/old_docs/API_docs_v104/types/messages_AllStickers.md b/old_docs/API_docs_v104/types/messages_AllStickers.md deleted file mode 100644 index b6a322e0..00000000 --- a/old_docs/API_docs_v104/types/messages_AllStickers.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: messages_AllStickers -description: constructors and methods of type messages_AllStickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_AllStickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_allStickersNotModified](../constructors/messages_allStickersNotModified.md) - -[messages\_allStickers](../constructors/messages_allStickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getAllStickers](../methods/messages_getAllStickers.md) - -[$MadelineProto->messages->getMaskStickers](../methods/messages_getMaskStickers.md) - - - diff --git a/old_docs/API_docs_v104/types/messages_ArchivedStickers.md b/old_docs/API_docs_v104/types/messages_ArchivedStickers.md deleted file mode 100644 index c569675e..00000000 --- a/old_docs/API_docs_v104/types/messages_ArchivedStickers.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_ArchivedStickers -description: constructors and methods of type messages_ArchivedStickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_ArchivedStickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_archivedStickers](../constructors/messages_archivedStickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getArchivedStickers](../methods/messages_getArchivedStickers.md) - - - diff --git a/old_docs/API_docs_v104/types/messages_BotCallbackAnswer.md b/old_docs/API_docs_v104/types/messages_BotCallbackAnswer.md deleted file mode 100644 index f8d424d0..00000000 --- a/old_docs/API_docs_v104/types/messages_BotCallbackAnswer.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_BotCallbackAnswer -description: constructors and methods of type messages_BotCallbackAnswer -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_BotCallbackAnswer -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_botCallbackAnswer](../constructors/messages_botCallbackAnswer.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getBotCallbackAnswer](../methods/messages_getBotCallbackAnswer.md) - - - diff --git a/old_docs/API_docs_v104/types/messages_BotResults.md b/old_docs/API_docs_v104/types/messages_BotResults.md deleted file mode 100644 index c346c5bd..00000000 --- a/old_docs/API_docs_v104/types/messages_BotResults.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_BotResults -description: constructors and methods of type messages_BotResults -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_BotResults -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_botResults](../constructors/messages_botResults.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getInlineBotResults](../methods/messages_getInlineBotResults.md) - - - diff --git a/old_docs/API_docs_v104/types/messages_ChatFull.md b/old_docs/API_docs_v104/types/messages_ChatFull.md deleted file mode 100644 index e4add41e..00000000 --- a/old_docs/API_docs_v104/types/messages_ChatFull.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_ChatFull -description: constructors and methods of type messages_ChatFull -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_ChatFull -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_chatFull](../constructors/messages_chatFull.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getFullChat](../methods/messages_getFullChat.md) - -[$MadelineProto->channels->getFullChannel](../methods/channels_getFullChannel.md) - - - diff --git a/old_docs/API_docs_v104/types/messages_Chats.md b/old_docs/API_docs_v104/types/messages_Chats.md deleted file mode 100644 index 38ecd651..00000000 --- a/old_docs/API_docs_v104/types/messages_Chats.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -title: messages_Chats -description: constructors and methods of type messages_Chats -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Chats -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_chats](../constructors/messages_chats.md) - -[messages\_chatsSlice](../constructors/messages_chatsSlice.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getChats](../methods/messages_getChats.md) - -[$MadelineProto->messages->getCommonChats](../methods/messages_getCommonChats.md) - -[$MadelineProto->messages->getAllChats](../methods/messages_getAllChats.md) - -[$MadelineProto->channels->getChannels](../methods/channels_getChannels.md) - -[$MadelineProto->channels->getAdminedPublicChannels](../methods/channels_getAdminedPublicChannels.md) - -[$MadelineProto->channels->getLeftChannels](../methods/channels_getLeftChannels.md) - -[$MadelineProto->channels->getGroupsForDiscussion](../methods/channels_getGroupsForDiscussion.md) - - - diff --git a/old_docs/API_docs_v104/types/messages_DhConfig.md b/old_docs/API_docs_v104/types/messages_DhConfig.md deleted file mode 100644 index ce237411..00000000 --- a/old_docs/API_docs_v104/types/messages_DhConfig.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_DhConfig -description: constructors and methods of type messages_DhConfig -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_DhConfig -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_dhConfigNotModified](../constructors/messages_dhConfigNotModified.md) - -[messages\_dhConfig](../constructors/messages_dhConfig.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getDhConfig](../methods/messages_getDhConfig.md) - - - diff --git a/old_docs/API_docs_v104/types/messages_Dialogs.md b/old_docs/API_docs_v104/types/messages_Dialogs.md deleted file mode 100644 index 86d5eb72..00000000 --- a/old_docs/API_docs_v104/types/messages_Dialogs.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: messages_Dialogs -description: constructors and methods of type messages_Dialogs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Dialogs -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_dialogs](../constructors/messages_dialogs.md) - -[messages\_dialogsSlice](../constructors/messages_dialogsSlice.md) - -[messages\_dialogsNotModified](../constructors/messages_dialogsNotModified.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getDialogs](../methods/messages_getDialogs.md) - - - diff --git a/old_docs/API_docs_v104/types/messages_FavedStickers.md b/old_docs/API_docs_v104/types/messages_FavedStickers.md deleted file mode 100644 index 6fa1f221..00000000 --- a/old_docs/API_docs_v104/types/messages_FavedStickers.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_FavedStickers -description: constructors and methods of type messages_FavedStickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_FavedStickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_favedStickersNotModified](../constructors/messages_favedStickersNotModified.md) - -[messages\_favedStickers](../constructors/messages_favedStickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getFavedStickers](../methods/messages_getFavedStickers.md) - - - diff --git a/old_docs/API_docs_v104/types/messages_FeaturedStickers.md b/old_docs/API_docs_v104/types/messages_FeaturedStickers.md deleted file mode 100644 index 9b4c5002..00000000 --- a/old_docs/API_docs_v104/types/messages_FeaturedStickers.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_FeaturedStickers -description: constructors and methods of type messages_FeaturedStickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_FeaturedStickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_featuredStickersNotModified](../constructors/messages_featuredStickersNotModified.md) - -[messages\_featuredStickers](../constructors/messages_featuredStickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getFeaturedStickers](../methods/messages_getFeaturedStickers.md) - - - diff --git a/old_docs/API_docs_v104/types/messages_FoundGifs.md b/old_docs/API_docs_v104/types/messages_FoundGifs.md deleted file mode 100644 index 9dd088ba..00000000 --- a/old_docs/API_docs_v104/types/messages_FoundGifs.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_FoundGifs -description: constructors and methods of type messages_FoundGifs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_FoundGifs -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_foundGifs](../constructors/messages_foundGifs.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->searchGifs](../methods/messages_searchGifs.md) - - - diff --git a/old_docs/API_docs_v104/types/messages_FoundStickerSets.md b/old_docs/API_docs_v104/types/messages_FoundStickerSets.md deleted file mode 100644 index 9045b0d7..00000000 --- a/old_docs/API_docs_v104/types/messages_FoundStickerSets.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_FoundStickerSets -description: constructors and methods of type messages_FoundStickerSets -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_FoundStickerSets -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_foundStickerSetsNotModified](../constructors/messages_foundStickerSetsNotModified.md) - -[messages\_foundStickerSets](../constructors/messages_foundStickerSets.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->searchStickerSets](../methods/messages_searchStickerSets.md) - - - diff --git a/old_docs/API_docs_v104/types/messages_HighScores.md b/old_docs/API_docs_v104/types/messages_HighScores.md deleted file mode 100644 index 9660e255..00000000 --- a/old_docs/API_docs_v104/types/messages_HighScores.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_HighScores -description: constructors and methods of type messages_HighScores -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_HighScores -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_highScores](../constructors/messages_highScores.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getGameHighScores](../methods/messages_getGameHighScores.md) - -[$MadelineProto->messages->getInlineGameHighScores](../methods/messages_getInlineGameHighScores.md) - - - diff --git a/old_docs/API_docs_v104/types/messages_MessageEditData.md b/old_docs/API_docs_v104/types/messages_MessageEditData.md deleted file mode 100644 index ed3c507a..00000000 --- a/old_docs/API_docs_v104/types/messages_MessageEditData.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_MessageEditData -description: constructors and methods of type messages_MessageEditData -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_MessageEditData -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_messageEditData](../constructors/messages_messageEditData.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getMessageEditData](../methods/messages_getMessageEditData.md) - - - diff --git a/old_docs/API_docs_v104/types/messages_Messages.md b/old_docs/API_docs_v104/types/messages_Messages.md deleted file mode 100644 index 35514e90..00000000 --- a/old_docs/API_docs_v104/types/messages_Messages.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages_Messages -description: constructors and methods of type messages_Messages -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Messages -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_messages](../constructors/messages_messages.md) - -[messages\_messagesSlice](../constructors/messages_messagesSlice.md) - -[messages\_channelMessages](../constructors/messages_channelMessages.md) - -[messages\_messagesNotModified](../constructors/messages_messagesNotModified.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getMessages](../methods/messages_getMessages.md) - -[$MadelineProto->messages->getHistory](../methods/messages_getHistory.md) - -[$MadelineProto->messages->search](../methods/messages_search.md) - -[$MadelineProto->messages->searchGlobal](../methods/messages_searchGlobal.md) - -[$MadelineProto->messages->getUnreadMentions](../methods/messages_getUnreadMentions.md) - -[$MadelineProto->messages->getRecentLocations](../methods/messages_getRecentLocations.md) - -[$MadelineProto->channels->getMessages](../methods/channels_getMessages.md) - - - diff --git a/old_docs/API_docs_v104/types/messages_PeerDialogs.md b/old_docs/API_docs_v104/types/messages_PeerDialogs.md deleted file mode 100644 index 2477931f..00000000 --- a/old_docs/API_docs_v104/types/messages_PeerDialogs.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_PeerDialogs -description: constructors and methods of type messages_PeerDialogs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_PeerDialogs -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_peerDialogs](../constructors/messages_peerDialogs.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getPeerDialogs](../methods/messages_getPeerDialogs.md) - -[$MadelineProto->messages->getPinnedDialogs](../methods/messages_getPinnedDialogs.md) - - - diff --git a/old_docs/API_docs_v104/types/messages_RecentStickers.md b/old_docs/API_docs_v104/types/messages_RecentStickers.md deleted file mode 100644 index 2c9db779..00000000 --- a/old_docs/API_docs_v104/types/messages_RecentStickers.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_RecentStickers -description: constructors and methods of type messages_RecentStickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_RecentStickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_recentStickersNotModified](../constructors/messages_recentStickersNotModified.md) - -[messages\_recentStickers](../constructors/messages_recentStickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getRecentStickers](../methods/messages_getRecentStickers.md) - - - diff --git a/old_docs/API_docs_v104/types/messages_SavedGifs.md b/old_docs/API_docs_v104/types/messages_SavedGifs.md deleted file mode 100644 index ffb000aa..00000000 --- a/old_docs/API_docs_v104/types/messages_SavedGifs.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_SavedGifs -description: constructors and methods of type messages_SavedGifs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_SavedGifs -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_savedGifsNotModified](../constructors/messages_savedGifsNotModified.md) - -[messages\_savedGifs](../constructors/messages_savedGifs.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getSavedGifs](../methods/messages_getSavedGifs.md) - - - diff --git a/old_docs/API_docs_v104/types/messages_SearchCounter.md b/old_docs/API_docs_v104/types/messages_SearchCounter.md deleted file mode 100644 index 1ce67b2a..00000000 --- a/old_docs/API_docs_v104/types/messages_SearchCounter.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_SearchCounter -description: constructors and methods of type messages_SearchCounter -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_SearchCounter -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_searchCounter](../constructors/messages_searchCounter.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getSearchCounters](../methods/messages_getSearchCounters.md) - - - diff --git a/old_docs/API_docs_v104/types/messages_SentEncryptedMessage.md b/old_docs/API_docs_v104/types/messages_SentEncryptedMessage.md deleted file mode 100644 index 9f7ab935..00000000 --- a/old_docs/API_docs_v104/types/messages_SentEncryptedMessage.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: messages_SentEncryptedMessage -description: constructors and methods of type messages_SentEncryptedMessage -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_SentEncryptedMessage -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_sentEncryptedMessage](../constructors/messages_sentEncryptedMessage.md) - -[messages\_sentEncryptedFile](../constructors/messages_sentEncryptedFile.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->sendEncrypted](../methods/messages_sendEncrypted.md) - -[$MadelineProto->messages->sendEncryptedFile](../methods/messages_sendEncryptedFile.md) - -[$MadelineProto->messages->sendEncryptedService](../methods/messages_sendEncryptedService.md) - - - diff --git a/old_docs/API_docs_v104/types/messages_StickerSet.md b/old_docs/API_docs_v104/types/messages_StickerSet.md deleted file mode 100644 index 98e34dd2..00000000 --- a/old_docs/API_docs_v104/types/messages_StickerSet.md +++ /dev/null @@ -1,30 +0,0 @@ ---- -title: messages_StickerSet -description: constructors and methods of type messages_StickerSet -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_StickerSet -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_stickerSet](../constructors/messages_stickerSet.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getStickerSet](../methods/messages_getStickerSet.md) - -[$MadelineProto->stickers->createStickerSet](../methods/stickers_createStickerSet.md) - -[$MadelineProto->stickers->removeStickerFromSet](../methods/stickers_removeStickerFromSet.md) - -[$MadelineProto->stickers->changeStickerPosition](../methods/stickers_changeStickerPosition.md) - -[$MadelineProto->stickers->addStickerToSet](../methods/stickers_addStickerToSet.md) - - - diff --git a/old_docs/API_docs_v104/types/messages_StickerSetInstallResult.md b/old_docs/API_docs_v104/types/messages_StickerSetInstallResult.md deleted file mode 100644 index bb62ec11..00000000 --- a/old_docs/API_docs_v104/types/messages_StickerSetInstallResult.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_StickerSetInstallResult -description: constructors and methods of type messages_StickerSetInstallResult -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_StickerSetInstallResult -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_stickerSetInstallResultSuccess](../constructors/messages_stickerSetInstallResultSuccess.md) - -[messages\_stickerSetInstallResultArchive](../constructors/messages_stickerSetInstallResultArchive.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->installStickerSet](../methods/messages_installStickerSet.md) - - - diff --git a/old_docs/API_docs_v104/types/messages_Stickers.md b/old_docs/API_docs_v104/types/messages_Stickers.md deleted file mode 100644 index cf53f57b..00000000 --- a/old_docs/API_docs_v104/types/messages_Stickers.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_Stickers -description: constructors and methods of type messages_Stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Stickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_stickersNotModified](../constructors/messages_stickersNotModified.md) - -[messages\_stickers](../constructors/messages_stickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getStickers](../methods/messages_getStickers.md) - - - diff --git a/old_docs/API_docs_v104/types/payments.PaymentForm.md b/old_docs/API_docs_v104/types/payments.PaymentForm.md new file mode 100644 index 00000000..985c1957 --- /dev/null +++ b/old_docs/API_docs_v104/types/payments.PaymentForm.md @@ -0,0 +1,22 @@ +--- +title: payments.PaymentForm +description: constructors and methods of type payments.PaymentForm +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: payments.PaymentForm +[Back to types index](index.md) + + + +### Possible values (constructors): + +[payments.paymentForm](../constructors/payments.paymentForm.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->payments->getPaymentForm](../methods/payments.getPaymentForm.md) + + + diff --git a/old_docs/API_docs_v104/types/payments.PaymentReceipt.md b/old_docs/API_docs_v104/types/payments.PaymentReceipt.md new file mode 100644 index 00000000..45cebd47 --- /dev/null +++ b/old_docs/API_docs_v104/types/payments.PaymentReceipt.md @@ -0,0 +1,22 @@ +--- +title: payments.PaymentReceipt +description: constructors and methods of type payments.PaymentReceipt +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: payments.PaymentReceipt +[Back to types index](index.md) + + + +### Possible values (constructors): + +[payments.paymentReceipt](../constructors/payments.paymentReceipt.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->payments->getPaymentReceipt](../methods/payments.getPaymentReceipt.md) + + + diff --git a/old_docs/API_docs_v104/types/payments.PaymentResult.md b/old_docs/API_docs_v104/types/payments.PaymentResult.md new file mode 100644 index 00000000..4f48c512 --- /dev/null +++ b/old_docs/API_docs_v104/types/payments.PaymentResult.md @@ -0,0 +1,24 @@ +--- +title: payments.PaymentResult +description: constructors and methods of type payments.PaymentResult +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: payments.PaymentResult +[Back to types index](index.md) + + + +### Possible values (constructors): + +[payments.paymentResult](../constructors/payments.paymentResult.md) + +[payments.paymentVerificationNeeded](../constructors/payments.paymentVerificationNeeded.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->payments->sendPaymentForm](../methods/payments.sendPaymentForm.md) + + + diff --git a/old_docs/API_docs_v104/types/payments.SavedInfo.md b/old_docs/API_docs_v104/types/payments.SavedInfo.md new file mode 100644 index 00000000..cf7be16c --- /dev/null +++ b/old_docs/API_docs_v104/types/payments.SavedInfo.md @@ -0,0 +1,22 @@ +--- +title: payments.SavedInfo +description: constructors and methods of type payments.SavedInfo +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: payments.SavedInfo +[Back to types index](index.md) + + + +### Possible values (constructors): + +[payments.savedInfo](../constructors/payments.savedInfo.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->payments->getSavedInfo](../methods/payments.getSavedInfo.md) + + + diff --git a/old_docs/API_docs_v104/types/payments.ValidatedRequestedInfo.md b/old_docs/API_docs_v104/types/payments.ValidatedRequestedInfo.md new file mode 100644 index 00000000..653a5064 --- /dev/null +++ b/old_docs/API_docs_v104/types/payments.ValidatedRequestedInfo.md @@ -0,0 +1,22 @@ +--- +title: payments.ValidatedRequestedInfo +description: constructors and methods of type payments.ValidatedRequestedInfo +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: payments.ValidatedRequestedInfo +[Back to types index](index.md) + + + +### Possible values (constructors): + +[payments.validatedRequestedInfo](../constructors/payments.validatedRequestedInfo.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->payments->validateRequestedInfo](../methods/payments.validateRequestedInfo.md) + + + diff --git a/old_docs/API_docs_v104/types/payments_PaymentForm.md b/old_docs/API_docs_v104/types/payments_PaymentForm.md deleted file mode 100644 index 4662586d..00000000 --- a/old_docs/API_docs_v104/types/payments_PaymentForm.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: payments_PaymentForm -description: constructors and methods of type payments_PaymentForm -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: payments\_PaymentForm -[Back to types index](index.md) - - - -### Possible values (constructors): - -[payments\_paymentForm](../constructors/payments_paymentForm.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->payments->getPaymentForm](../methods/payments_getPaymentForm.md) - - - diff --git a/old_docs/API_docs_v104/types/payments_PaymentReceipt.md b/old_docs/API_docs_v104/types/payments_PaymentReceipt.md deleted file mode 100644 index b4770d2a..00000000 --- a/old_docs/API_docs_v104/types/payments_PaymentReceipt.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: payments_PaymentReceipt -description: constructors and methods of type payments_PaymentReceipt -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: payments\_PaymentReceipt -[Back to types index](index.md) - - - -### Possible values (constructors): - -[payments\_paymentReceipt](../constructors/payments_paymentReceipt.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->payments->getPaymentReceipt](../methods/payments_getPaymentReceipt.md) - - - diff --git a/old_docs/API_docs_v104/types/payments_PaymentResult.md b/old_docs/API_docs_v104/types/payments_PaymentResult.md deleted file mode 100644 index d956ca9a..00000000 --- a/old_docs/API_docs_v104/types/payments_PaymentResult.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: payments_PaymentResult -description: constructors and methods of type payments_PaymentResult -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: payments\_PaymentResult -[Back to types index](index.md) - - - -### Possible values (constructors): - -[payments\_paymentResult](../constructors/payments_paymentResult.md) - -[payments\_paymentVerificationNeeded](../constructors/payments_paymentVerificationNeeded.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->payments->sendPaymentForm](../methods/payments_sendPaymentForm.md) - - - diff --git a/old_docs/API_docs_v104/types/payments_SavedInfo.md b/old_docs/API_docs_v104/types/payments_SavedInfo.md deleted file mode 100644 index c8f7b9e3..00000000 --- a/old_docs/API_docs_v104/types/payments_SavedInfo.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: payments_SavedInfo -description: constructors and methods of type payments_SavedInfo -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: payments\_SavedInfo -[Back to types index](index.md) - - - -### Possible values (constructors): - -[payments\_savedInfo](../constructors/payments_savedInfo.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->payments->getSavedInfo](../methods/payments_getSavedInfo.md) - - - diff --git a/old_docs/API_docs_v104/types/payments_ValidatedRequestedInfo.md b/old_docs/API_docs_v104/types/payments_ValidatedRequestedInfo.md deleted file mode 100644 index ff6c4e39..00000000 --- a/old_docs/API_docs_v104/types/payments_ValidatedRequestedInfo.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: payments_ValidatedRequestedInfo -description: constructors and methods of type payments_ValidatedRequestedInfo -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: payments\_ValidatedRequestedInfo -[Back to types index](index.md) - - - -### Possible values (constructors): - -[payments\_validatedRequestedInfo](../constructors/payments_validatedRequestedInfo.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->payments->validateRequestedInfo](../methods/payments_validateRequestedInfo.md) - - - diff --git a/old_docs/API_docs_v104/types/phone.PhoneCall.md b/old_docs/API_docs_v104/types/phone.PhoneCall.md new file mode 100644 index 00000000..db0708e9 --- /dev/null +++ b/old_docs/API_docs_v104/types/phone.PhoneCall.md @@ -0,0 +1,26 @@ +--- +title: phone.PhoneCall +description: constructors and methods of type phone.PhoneCall +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: phone.PhoneCall +[Back to types index](index.md) + + + +### Possible values (constructors): + +[phone.phoneCall](../constructors/phone.phoneCall.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->phone->requestCall](../methods/phone.requestCall.md) + +[$MadelineProto->phone->acceptCall](../methods/phone.acceptCall.md) + +[$MadelineProto->phone->confirmCall](../methods/phone.confirmCall.md) + + + diff --git a/old_docs/API_docs_v104/types/phone_PhoneCall.md b/old_docs/API_docs_v104/types/phone_PhoneCall.md deleted file mode 100644 index 0a49d482..00000000 --- a/old_docs/API_docs_v104/types/phone_PhoneCall.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: phone_PhoneCall -description: constructors and methods of type phone_PhoneCall -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: phone\_PhoneCall -[Back to types index](index.md) - - - -### Possible values (constructors): - -[phone\_phoneCall](../constructors/phone_phoneCall.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->phone->requestCall](../methods/phone_requestCall.md) - -[$MadelineProto->phone->acceptCall](../methods/phone_acceptCall.md) - -[$MadelineProto->phone->confirmCall](../methods/phone_confirmCall.md) - - - diff --git a/old_docs/API_docs_v104/types/photos.Photo.md b/old_docs/API_docs_v104/types/photos.Photo.md new file mode 100644 index 00000000..d60f203c --- /dev/null +++ b/old_docs/API_docs_v104/types/photos.Photo.md @@ -0,0 +1,22 @@ +--- +title: photos.Photo +description: constructors and methods of type photos.Photo +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: photos.Photo +[Back to types index](index.md) + + + +### Possible values (constructors): + +[photos.photo](../constructors/photos.photo.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->photos->uploadProfilePhoto](../methods/photos.uploadProfilePhoto.md) + + + diff --git a/old_docs/API_docs_v104/types/photos.Photos.md b/old_docs/API_docs_v104/types/photos.Photos.md new file mode 100644 index 00000000..fff0e296 --- /dev/null +++ b/old_docs/API_docs_v104/types/photos.Photos.md @@ -0,0 +1,24 @@ +--- +title: photos.Photos +description: constructors and methods of type photos.Photos +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: photos.Photos +[Back to types index](index.md) + + + +### Possible values (constructors): + +[photos.photos](../constructors/photos.photos.md) + +[photos.photosSlice](../constructors/photos.photosSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->photos->getUserPhotos](../methods/photos.getUserPhotos.md) + + + diff --git a/old_docs/API_docs_v104/types/photos_Photo.md b/old_docs/API_docs_v104/types/photos_Photo.md deleted file mode 100644 index d11bbdef..00000000 --- a/old_docs/API_docs_v104/types/photos_Photo.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: photos_Photo -description: constructors and methods of type photos_Photo -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: photos\_Photo -[Back to types index](index.md) - - - -### Possible values (constructors): - -[photos\_photo](../constructors/photos_photo.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->photos->uploadProfilePhoto](../methods/photos_uploadProfilePhoto.md) - - - diff --git a/old_docs/API_docs_v104/types/photos_Photos.md b/old_docs/API_docs_v104/types/photos_Photos.md deleted file mode 100644 index 9875ad70..00000000 --- a/old_docs/API_docs_v104/types/photos_Photos.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: photos_Photos -description: constructors and methods of type photos_Photos -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: photos\_Photos -[Back to types index](index.md) - - - -### Possible values (constructors): - -[photos\_photos](../constructors/photos_photos.md) - -[photos\_photosSlice](../constructors/photos_photosSlice.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->photos->getUserPhotos](../methods/photos_getUserPhotos.md) - - - diff --git a/old_docs/API_docs_v104/types/storage.FileType.md b/old_docs/API_docs_v104/types/storage.FileType.md new file mode 100644 index 00000000..32f1bb72 --- /dev/null +++ b/old_docs/API_docs_v104/types/storage.FileType.md @@ -0,0 +1,38 @@ +--- +title: storage.FileType +description: constructors and methods of type storage.FileType +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: storage.FileType +[Back to types index](index.md) + + + +### Possible values (constructors): + +[storage.fileUnknown](../constructors/storage.fileUnknown.md) + +[storage.filePartial](../constructors/storage.filePartial.md) + +[storage.fileJpeg](../constructors/storage.fileJpeg.md) + +[storage.fileGif](../constructors/storage.fileGif.md) + +[storage.filePng](../constructors/storage.filePng.md) + +[storage.filePdf](../constructors/storage.filePdf.md) + +[storage.fileMp3](../constructors/storage.fileMp3.md) + +[storage.fileMov](../constructors/storage.fileMov.md) + +[storage.fileMp4](../constructors/storage.fileMp4.md) + +[storage.fileWebp](../constructors/storage.fileWebp.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v104/types/storage_FileType.md b/old_docs/API_docs_v104/types/storage_FileType.md deleted file mode 100644 index 22118805..00000000 --- a/old_docs/API_docs_v104/types/storage_FileType.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: storage_FileType -description: constructors and methods of type storage_FileType -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: storage\_FileType -[Back to types index](index.md) - - - -### Possible values (constructors): - -[storage\_fileUnknown](../constructors/storage_fileUnknown.md) - -[storage\_filePartial](../constructors/storage_filePartial.md) - -[storage\_fileJpeg](../constructors/storage_fileJpeg.md) - -[storage\_fileGif](../constructors/storage_fileGif.md) - -[storage\_filePng](../constructors/storage_filePng.md) - -[storage\_filePdf](../constructors/storage_filePdf.md) - -[storage\_fileMp3](../constructors/storage_fileMp3.md) - -[storage\_fileMov](../constructors/storage_fileMov.md) - -[storage\_fileMp4](../constructors/storage_fileMp4.md) - -[storage\_fileWebp](../constructors/storage_fileWebp.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v104/types/updates.ChannelDifference.md b/old_docs/API_docs_v104/types/updates.ChannelDifference.md new file mode 100644 index 00000000..ac889a1e --- /dev/null +++ b/old_docs/API_docs_v104/types/updates.ChannelDifference.md @@ -0,0 +1,26 @@ +--- +title: updates.ChannelDifference +description: constructors and methods of type updates.ChannelDifference +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: updates.ChannelDifference +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updates.channelDifferenceEmpty](../constructors/updates.channelDifferenceEmpty.md) + +[updates.channelDifferenceTooLong](../constructors/updates.channelDifferenceTooLong.md) + +[updates.channelDifference](../constructors/updates.channelDifference.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->updates->getChannelDifference](../methods/updates.getChannelDifference.md) + + + diff --git a/old_docs/API_docs_v104/types/updates.Difference.md b/old_docs/API_docs_v104/types/updates.Difference.md new file mode 100644 index 00000000..0c1a1b6e --- /dev/null +++ b/old_docs/API_docs_v104/types/updates.Difference.md @@ -0,0 +1,28 @@ +--- +title: updates.Difference +description: constructors and methods of type updates.Difference +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: updates.Difference +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updates.differenceEmpty](../constructors/updates.differenceEmpty.md) + +[updates.difference](../constructors/updates.difference.md) + +[updates.differenceSlice](../constructors/updates.differenceSlice.md) + +[updates.differenceTooLong](../constructors/updates.differenceTooLong.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->updates->getDifference](../methods/updates.getDifference.md) + + + diff --git a/old_docs/API_docs_v104/types/updates.State.md b/old_docs/API_docs_v104/types/updates.State.md new file mode 100644 index 00000000..49bbb7fd --- /dev/null +++ b/old_docs/API_docs_v104/types/updates.State.md @@ -0,0 +1,22 @@ +--- +title: updates.State +description: constructors and methods of type updates.State +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: updates.State +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updates.state](../constructors/updates.state.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->updates->getState](../methods/updates.getState.md) + + + diff --git a/old_docs/API_docs_v104/types/updates_ChannelDifference.md b/old_docs/API_docs_v104/types/updates_ChannelDifference.md deleted file mode 100644 index dc988692..00000000 --- a/old_docs/API_docs_v104/types/updates_ChannelDifference.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: updates_ChannelDifference -description: constructors and methods of type updates_ChannelDifference -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: updates\_ChannelDifference -[Back to types index](index.md) - - - -### Possible values (constructors): - -[updates\_channelDifferenceEmpty](../constructors/updates_channelDifferenceEmpty.md) - -[updates\_channelDifferenceTooLong](../constructors/updates_channelDifferenceTooLong.md) - -[updates\_channelDifference](../constructors/updates_channelDifference.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->updates->getChannelDifference](../methods/updates_getChannelDifference.md) - - - diff --git a/old_docs/API_docs_v104/types/updates_Difference.md b/old_docs/API_docs_v104/types/updates_Difference.md deleted file mode 100644 index 50bb098e..00000000 --- a/old_docs/API_docs_v104/types/updates_Difference.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: updates_Difference -description: constructors and methods of type updates_Difference -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: updates\_Difference -[Back to types index](index.md) - - - -### Possible values (constructors): - -[updates\_differenceEmpty](../constructors/updates_differenceEmpty.md) - -[updates\_difference](../constructors/updates_difference.md) - -[updates\_differenceSlice](../constructors/updates_differenceSlice.md) - -[updates\_differenceTooLong](../constructors/updates_differenceTooLong.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->updates->getDifference](../methods/updates_getDifference.md) - - - diff --git a/old_docs/API_docs_v104/types/updates_State.md b/old_docs/API_docs_v104/types/updates_State.md deleted file mode 100644 index 7a441145..00000000 --- a/old_docs/API_docs_v104/types/updates_State.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: updates_State -description: constructors and methods of type updates_State -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: updates\_State -[Back to types index](index.md) - - - -### Possible values (constructors): - -[updates\_state](../constructors/updates_state.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->updates->getState](../methods/updates_getState.md) - - - diff --git a/old_docs/API_docs_v104/types/upload.CdnFile.md b/old_docs/API_docs_v104/types/upload.CdnFile.md new file mode 100644 index 00000000..396c4bf4 --- /dev/null +++ b/old_docs/API_docs_v104/types/upload.CdnFile.md @@ -0,0 +1,24 @@ +--- +title: upload.CdnFile +description: constructors and methods of type upload.CdnFile +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: upload.CdnFile +[Back to types index](index.md) + + + +### Possible values (constructors): + +[upload.cdnFileReuploadNeeded](../constructors/upload.cdnFileReuploadNeeded.md) + +[upload.cdnFile](../constructors/upload.cdnFile.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->upload->getCdnFile](../methods/upload.getCdnFile.md) + + + diff --git a/old_docs/API_docs_v104/types/upload.File.md b/old_docs/API_docs_v104/types/upload.File.md new file mode 100644 index 00000000..6963341b --- /dev/null +++ b/old_docs/API_docs_v104/types/upload.File.md @@ -0,0 +1,24 @@ +--- +title: upload.File +description: constructors and methods of type upload.File +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: upload.File +[Back to types index](index.md) + + + +### Possible values (constructors): + +[upload.file](../constructors/upload.file.md) + +[upload.fileCdnRedirect](../constructors/upload.fileCdnRedirect.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->upload->getFile](../methods/upload.getFile.md) + + + diff --git a/old_docs/API_docs_v104/types/upload.WebFile.md b/old_docs/API_docs_v104/types/upload.WebFile.md new file mode 100644 index 00000000..e834457b --- /dev/null +++ b/old_docs/API_docs_v104/types/upload.WebFile.md @@ -0,0 +1,22 @@ +--- +title: upload.WebFile +description: constructors and methods of type upload.WebFile +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: upload.WebFile +[Back to types index](index.md) + + + +### Possible values (constructors): + +[upload.webFile](../constructors/upload.webFile.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->upload->getWebFile](../methods/upload.getWebFile.md) + + + diff --git a/old_docs/API_docs_v104/types/upload_CdnFile.md b/old_docs/API_docs_v104/types/upload_CdnFile.md deleted file mode 100644 index 51ae2e68..00000000 --- a/old_docs/API_docs_v104/types/upload_CdnFile.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: upload_CdnFile -description: constructors and methods of type upload_CdnFile -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: upload\_CdnFile -[Back to types index](index.md) - - - -### Possible values (constructors): - -[upload\_cdnFileReuploadNeeded](../constructors/upload_cdnFileReuploadNeeded.md) - -[upload\_cdnFile](../constructors/upload_cdnFile.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->upload->getCdnFile](../methods/upload_getCdnFile.md) - - - diff --git a/old_docs/API_docs_v104/types/upload_File.md b/old_docs/API_docs_v104/types/upload_File.md deleted file mode 100644 index 00e0f9cb..00000000 --- a/old_docs/API_docs_v104/types/upload_File.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: upload_File -description: constructors and methods of type upload_File -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: upload\_File -[Back to types index](index.md) - - - -### Possible values (constructors): - -[upload\_file](../constructors/upload_file.md) - -[upload\_fileCdnRedirect](../constructors/upload_fileCdnRedirect.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->upload->getFile](../methods/upload_getFile.md) - - - diff --git a/old_docs/API_docs_v104/types/upload_WebFile.md b/old_docs/API_docs_v104/types/upload_WebFile.md deleted file mode 100644 index 9a86264f..00000000 --- a/old_docs/API_docs_v104/types/upload_WebFile.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: upload_WebFile -description: constructors and methods of type upload_WebFile -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: upload\_WebFile -[Back to types index](index.md) - - - -### Possible values (constructors): - -[upload\_webFile](../constructors/upload_webFile.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->upload->getWebFile](../methods/upload_getWebFile.md) - - - diff --git a/old_docs/API_docs_v105/constructors/README.md b/old_docs/API_docs_v105/constructors/README.md index be271476..87a4d8f4 100644 --- a/old_docs/API_docs_v105/constructors/README.md +++ b/old_docs/API_docs_v105/constructors/README.md @@ -9,64 +9,89 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ***

[$accessPointRule](../constructors/accessPointRule.md) = \['phone_prefix_rules' => [string](../types/string.md), 'dc_id' => [int](../types/int.md), 'ips' => \[[IpPort](../types/IpPort.md)\], \]; +*** +

[$account.authorizationForm](../constructors/account.authorizationForm.md) = \['required_types' => \[[SecureRequiredType](../types/SecureRequiredType.md)\], 'values' => \[[SecureValue](../types/SecureValue.md)\], 'errors' => \[[SecureValueError](../types/SecureValueError.md)\], 'users' => \[[User](../types/User.md)\], 'privacy_policy_url' => [string](../types/string.md), \]; + +*** +

[$account.authorizations](../constructors/account.authorizations.md) = \['authorizations' => \[[Authorization](../types/Authorization.md)\], \]; + +*** +

[$account.autoDownloadSettings](../constructors/account.autoDownloadSettings.md) = \['low' => [AutoDownloadSettings](../types/AutoDownloadSettings.md), 'medium' => [AutoDownloadSettings](../types/AutoDownloadSettings.md), 'high' => [AutoDownloadSettings](../types/AutoDownloadSettings.md), \]; + +*** +

[$account.password](../constructors/account.password.md) = \['has_recovery' => [Bool](../types/Bool.md), 'has_secure_values' => [Bool](../types/Bool.md), 'has_password' => [Bool](../types/Bool.md), 'current_algo' => [PasswordKdfAlgo](../types/PasswordKdfAlgo.md), 'srp_B' => [bytes](../types/bytes.md), 'srp_id' => [long](../types/long.md), 'hint' => [string](../types/string.md), 'email_unconfirmed_pattern' => [string](../types/string.md), 'new_algo' => [PasswordKdfAlgo](../types/PasswordKdfAlgo.md), 'new_secure_algo' => [SecurePasswordKdfAlgo](../types/SecurePasswordKdfAlgo.md), 'secure_random' => [bytes](../types/bytes.md), \]; + +*** +

[$account.passwordInputSettings](../constructors/account.passwordInputSettings.md) = \['new_algo' => [PasswordKdfAlgo](../types/PasswordKdfAlgo.md), 'new_password_hash' => [bytes](../types/bytes.md), 'hint' => [string](../types/string.md), 'email' => [string](../types/string.md), 'new_secure_settings' => [SecureSecretSettings](../types/SecureSecretSettings.md), \]; + +*** +

[$account.passwordSettings](../constructors/account.passwordSettings.md) = \['email' => [string](../types/string.md), 'secure_settings' => [SecureSecretSettings](../types/SecureSecretSettings.md), \]; + +*** +

[$account.privacyRules](../constructors/account.privacyRules.md) = \['rules' => \[[PrivacyRule](../types/PrivacyRule.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +*** +

[$account.sentEmailCode](../constructors/account.sentEmailCode.md) = \['email_pattern' => [string](../types/string.md), 'length' => [int](../types/int.md), \]; + +*** +

[$account.takeout](../constructors/account.takeout.md) = \['id' => [long](../types/long.md), \]; + +*** +

[$account.themes](../constructors/account.themes.md) = \['hash' => [int](../types/int.md), 'themes' => \[[Theme](../types/Theme.md)\], \]; + +*** +

[$account.themesNotModified](../constructors/account.themesNotModified.md) = \[\]; + +*** +

[$account.tmpPassword](../constructors/account.tmpPassword.md) = \['tmp_password' => [bytes](../types/bytes.md), 'valid_until' => [int](../types/int.md), \]; + +*** +

[$account.wallPapers](../constructors/account.wallPapers.md) = \['hash' => [int](../types/int.md), 'wallpapers' => \[[WallPaper](../types/WallPaper.md)\], \]; + +*** +

[$account.wallPapersNotModified](../constructors/account.wallPapersNotModified.md) = \[\]; + +*** +

[$account.webAuthorizations](../constructors/account.webAuthorizations.md) = \['authorizations' => \[[WebAuthorization](../types/WebAuthorization.md)\], 'users' => \[[User](../types/User.md)\], \]; + ***

[$accountDaysTTL](../constructors/accountDaysTTL.md) = \['days' => [int](../types/int.md), \]; *** -

[$account\_authorizationForm](../constructors/account_authorizationForm.md) = \['required_types' => \[[SecureRequiredType](../types/SecureRequiredType.md)\], 'values' => \[[SecureValue](../types/SecureValue.md)\], 'errors' => \[[SecureValueError](../types/SecureValueError.md)\], 'users' => \[[User](../types/User.md)\], 'privacy_policy_url' => [string](../types/string.md), \]; - -[$account\_authorizations](../constructors/account_authorizations.md) = \['authorizations' => \[[Authorization](../types/Authorization.md)\], \]; - -[$account\_autoDownloadSettings](../constructors/account_autoDownloadSettings.md) = \['low' => [AutoDownloadSettings](../types/AutoDownloadSettings.md), 'medium' => [AutoDownloadSettings](../types/AutoDownloadSettings.md), 'high' => [AutoDownloadSettings](../types/AutoDownloadSettings.md), \]; - -[$account\_password](../constructors/account_password.md) = \['has_recovery' => [Bool](../types/Bool.md), 'has_secure_values' => [Bool](../types/Bool.md), 'has_password' => [Bool](../types/Bool.md), 'current_algo' => [PasswordKdfAlgo](../types/PasswordKdfAlgo.md), 'srp_B' => [bytes](../types/bytes.md), 'srp_id' => [long](../types/long.md), 'hint' => [string](../types/string.md), 'email_unconfirmed_pattern' => [string](../types/string.md), 'new_algo' => [PasswordKdfAlgo](../types/PasswordKdfAlgo.md), 'new_secure_algo' => [SecurePasswordKdfAlgo](../types/SecurePasswordKdfAlgo.md), 'secure_random' => [bytes](../types/bytes.md), \]; - -[$account\_passwordInputSettings](../constructors/account_passwordInputSettings.md) = \['new_algo' => [PasswordKdfAlgo](../types/PasswordKdfAlgo.md), 'new_password_hash' => [bytes](../types/bytes.md), 'hint' => [string](../types/string.md), 'email' => [string](../types/string.md), 'new_secure_settings' => [SecureSecretSettings](../types/SecureSecretSettings.md), \]; - -[$account\_passwordSettings](../constructors/account_passwordSettings.md) = \['email' => [string](../types/string.md), 'secure_settings' => [SecureSecretSettings](../types/SecureSecretSettings.md), \]; - -[$account\_privacyRules](../constructors/account_privacyRules.md) = \['rules' => \[[PrivacyRule](../types/PrivacyRule.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; - -[$account\_sentEmailCode](../constructors/account_sentEmailCode.md) = \['email_pattern' => [string](../types/string.md), 'length' => [int](../types/int.md), \]; - -[$account\_takeout](../constructors/account_takeout.md) = \['id' => [long](../types/long.md), \]; - -[$account\_themes](../constructors/account_themes.md) = \['hash' => [int](../types/int.md), 'themes' => \[[Theme](../types/Theme.md)\], \]; - -[$account\_themesNotModified](../constructors/account_themesNotModified.md) = \[\]; - -[$account\_tmpPassword](../constructors/account_tmpPassword.md) = \['tmp_password' => [bytes](../types/bytes.md), 'valid_until' => [int](../types/int.md), \]; - -[$account\_wallPapers](../constructors/account_wallPapers.md) = \['hash' => [int](../types/int.md), 'wallpapers' => \[[WallPaper](../types/WallPaper.md)\], \]; - -[$account\_wallPapersNotModified](../constructors/account_wallPapersNotModified.md) = \[\]; - -[$account\_webAuthorizations](../constructors/account_webAuthorizations.md) = \['authorizations' => \[[WebAuthorization](../types/WebAuthorization.md)\], 'users' => \[[User](../types/User.md)\], \]; +

[$auth.authorization](../constructors/auth.authorization.md) = \['tmp_sessions' => [int](../types/int.md), 'user' => [User](../types/User.md), \]; *** -

[$auth\_authorization](../constructors/auth_authorization.md) = \['tmp_sessions' => [int](../types/int.md), 'user' => [User](../types/User.md), \]; +

[$auth.authorizationSignUpRequired](../constructors/auth.authorizationSignUpRequired.md) = \['terms_of_service' => [help.TermsOfService](../types/help.TermsOfService.md), \]; -[$auth\_authorizationSignUpRequired](../constructors/auth_authorizationSignUpRequired.md) = \['terms_of_service' => [help.TermsOfService](../types/help.TermsOfService.md), \]; +*** +

[$auth.codeTypeCall](../constructors/auth.codeTypeCall.md) = \[\]; -[$auth\_codeTypeCall](../constructors/auth_codeTypeCall.md) = \[\]; +*** +

[$auth.codeTypeFlashCall](../constructors/auth.codeTypeFlashCall.md) = \[\]; -[$auth\_codeTypeFlashCall](../constructors/auth_codeTypeFlashCall.md) = \[\]; +*** +

[$auth.codeTypeSms](../constructors/auth.codeTypeSms.md) = \[\]; -[$auth\_codeTypeSms](../constructors/auth_codeTypeSms.md) = \[\]; +*** +

[$auth.exportedAuthorization](../constructors/auth.exportedAuthorization.md) = \['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; -[$auth\_exportedAuthorization](../constructors/auth_exportedAuthorization.md) = \['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; +*** +

[$auth.passwordRecovery](../constructors/auth.passwordRecovery.md) = \['email_pattern' => [string](../types/string.md), \]; -[$auth\_passwordRecovery](../constructors/auth_passwordRecovery.md) = \['email_pattern' => [string](../types/string.md), \]; +*** +

[$auth.sentCode](../constructors/auth.sentCode.md) = \['type' => [auth.SentCodeType](../types/auth.SentCodeType.md), 'phone_code_hash' => [string](../types/string.md), 'next_type' => [auth.CodeType](../types/auth.CodeType.md), 'timeout' => [int](../types/int.md), \]; -[$auth\_sentCode](../constructors/auth_sentCode.md) = \['type' => [auth.SentCodeType](../types/auth.SentCodeType.md), 'phone_code_hash' => [string](../types/string.md), 'next_type' => [auth.CodeType](../types/auth.CodeType.md), 'timeout' => [int](../types/int.md), \]; +*** +

[$auth.sentCodeTypeApp](../constructors/auth.sentCodeTypeApp.md) = \['length' => [int](../types/int.md), \]; -[$auth\_sentCodeTypeApp](../constructors/auth_sentCodeTypeApp.md) = \['length' => [int](../types/int.md), \]; +*** +

[$auth.sentCodeTypeCall](../constructors/auth.sentCodeTypeCall.md) = \['length' => [int](../types/int.md), \]; -[$auth\_sentCodeTypeCall](../constructors/auth_sentCodeTypeCall.md) = \['length' => [int](../types/int.md), \]; +*** +

[$auth.sentCodeTypeFlashCall](../constructors/auth.sentCodeTypeFlashCall.md) = \['pattern' => [string](../types/string.md), \]; -[$auth\_sentCodeTypeFlashCall](../constructors/auth_sentCodeTypeFlashCall.md) = \['pattern' => [string](../types/string.md), \]; - -[$auth\_sentCodeTypeSms](../constructors/auth_sentCodeTypeSms.md) = \['length' => [int](../types/int.md), \]; +*** +

[$auth.sentCodeTypeSms](../constructors/auth.sentCodeTypeSms.md) = \['length' => [int](../types/int.md), \]; ***

[$authorization](../constructors/authorization.md) = \['current' => [Bool](../types/Bool.md), 'official_app' => [Bool](../types/Bool.md), 'password_pending' => [Bool](../types/Bool.md), 'hash' => [long](../types/long.md), 'device_model' => [string](../types/string.md), 'platform' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'api_id' => [int](../types/int.md), 'app_name' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'date_created' => [int](../types/int.md), 'date_active' => [int](../types/int.md), 'ip' => [string](../types/string.md), 'country' => [string](../types/string.md), 'region' => [string](../types/string.md), \]; @@ -240,13 +265,16 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$channelParticipantsSearch](../constructors/channelParticipantsSearch.md) = \['q' => [string](../types/string.md), \]; *** -

[$channels\_adminLogResults](../constructors/channels_adminLogResults.md) = \['events' => \[[ChannelAdminLogEvent](../types/ChannelAdminLogEvent.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +

[$channels.adminLogResults](../constructors/channels.adminLogResults.md) = \['events' => \[[ChannelAdminLogEvent](../types/ChannelAdminLogEvent.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$channels\_channelParticipant](../constructors/channels_channelParticipant.md) = \['participant' => [ChannelParticipant](../types/ChannelParticipant.md), 'users' => \[[User](../types/User.md)\], \]; +*** +

[$channels.channelParticipant](../constructors/channels.channelParticipant.md) = \['participant' => [ChannelParticipant](../types/ChannelParticipant.md), 'users' => \[[User](../types/User.md)\], \]; -[$channels\_channelParticipants](../constructors/channels_channelParticipants.md) = \['count' => [int](../types/int.md), 'participants' => \[[ChannelParticipant](../types/ChannelParticipant.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$channels.channelParticipants](../constructors/channels.channelParticipants.md) = \['count' => [int](../types/int.md), 'participants' => \[[ChannelParticipant](../types/ChannelParticipant.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$channels\_channelParticipantsNotModified](../constructors/channels_channelParticipantsNotModified.md) = \[\]; +*** +

[$channels.channelParticipantsNotModified](../constructors/channels.channelParticipantsNotModified.md) = \[\]; ***

[$chat](../constructors/chat.md) = \['creator' => [Bool](../types/Bool.md), 'kicked' => [Bool](../types/Bool.md), 'left' => [Bool](../types/Bool.md), 'deactivated' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'title' => [string](../types/string.md), 'photo' => [ChatPhoto](../types/ChatPhoto.md), 'participants_count' => [int](../types/int.md), 'date' => [int](../types/int.md), 'version' => [int](../types/int.md), 'migrated_to' => [InputChannel](../types/InputChannel.md), 'admin_rights' => [ChatAdminRights](../types/ChatAdminRights.md), 'default_banned_rights' => [ChatBannedRights](../types/ChatBannedRights.md), \]; @@ -318,25 +346,34 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$contactStatus](../constructors/contactStatus.md) = \['user_id' => [int](../types/int.md), 'status' => [UserStatus](../types/UserStatus.md), \]; *** -

[$contacts\_blocked](../constructors/contacts_blocked.md) = \['blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; +

[$contacts.blocked](../constructors/contacts.blocked.md) = \['blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_blockedSlice](../constructors/contacts_blockedSlice.md) = \['count' => [int](../types/int.md), 'blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.blockedSlice](../constructors/contacts.blockedSlice.md) = \['count' => [int](../types/int.md), 'blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_contacts](../constructors/contacts_contacts.md) = \['contacts' => \[[Contact](../types/Contact.md)\], 'saved_count' => [int](../types/int.md), 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.contacts](../constructors/contacts.contacts.md) = \['contacts' => \[[Contact](../types/Contact.md)\], 'saved_count' => [int](../types/int.md), 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_contactsNotModified](../constructors/contacts_contactsNotModified.md) = \[\]; +*** +

[$contacts.contactsNotModified](../constructors/contacts.contactsNotModified.md) = \[\]; -[$contacts\_found](../constructors/contacts_found.md) = \['my_results' => \[[Peer](../types/Peer.md)\], 'results' => \[[Peer](../types/Peer.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.found](../constructors/contacts.found.md) = \['my_results' => \[[Peer](../types/Peer.md)\], 'results' => \[[Peer](../types/Peer.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_importedContacts](../constructors/contacts_importedContacts.md) = \['imported' => \[[ImportedContact](../types/ImportedContact.md)\], 'popular_invites' => \[[PopularContact](../types/PopularContact.md)\], 'retry_contacts' => \[[long](../types/long.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.importedContacts](../constructors/contacts.importedContacts.md) = \['imported' => \[[ImportedContact](../types/ImportedContact.md)\], 'popular_invites' => \[[PopularContact](../types/PopularContact.md)\], 'retry_contacts' => \[[long](../types/long.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_resolvedPeer](../constructors/contacts_resolvedPeer.md) = \['peer' => [Peer](../types/Peer.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.resolvedPeer](../constructors/contacts.resolvedPeer.md) = \['peer' => [Peer](../types/Peer.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_topPeers](../constructors/contacts_topPeers.md) = \['categories' => \[[TopPeerCategoryPeers](../types/TopPeerCategoryPeers.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.topPeers](../constructors/contacts.topPeers.md) = \['categories' => \[[TopPeerCategoryPeers](../types/TopPeerCategoryPeers.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_topPeersDisabled](../constructors/contacts_topPeersDisabled.md) = \[\]; +*** +

[$contacts.topPeersDisabled](../constructors/contacts.topPeersDisabled.md) = \[\]; -[$contacts\_topPeersNotModified](../constructors/contacts_topPeersNotModified.md) = \[\]; +*** +

[$contacts.topPeersNotModified](../constructors/contacts.topPeersNotModified.md) = \[\]; ***

[$dataJSON](../constructors/dataJSON.md) = \['data' => [string](../types/string.md), \]; @@ -465,41 +502,58 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$geoPointEmpty](../constructors/geoPointEmpty.md) = \[\]; *** -

[$help\_appUpdate](../constructors/help_appUpdate.md) = \['can_not_skip' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'version' => [string](../types/string.md), 'text' => [string](../types/string.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], 'document' => [Document](../types/Document.md), 'url' => [string](../types/string.md), \]; +

[$help.appUpdate](../constructors/help.appUpdate.md) = \['can_not_skip' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'version' => [string](../types/string.md), 'text' => [string](../types/string.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], 'document' => [Document](../types/Document.md), 'url' => [string](../types/string.md), \]; -[$help\_configSimple](../constructors/help_configSimple.md) = \['date' => [int](../types/int.md), 'expires' => [int](../types/int.md), 'rules' => \[[AccessPointRule](../types/AccessPointRule.md)\], \]; +*** +

[$help.configSimple](../constructors/help.configSimple.md) = \['date' => [int](../types/int.md), 'expires' => [int](../types/int.md), 'rules' => \[[AccessPointRule](../types/AccessPointRule.md)\], \]; -[$help\_deepLinkInfo](../constructors/help_deepLinkInfo.md) = \['update_app' => [Bool](../types/Bool.md), 'message' => [string](../types/string.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], \]; +*** +

[$help.deepLinkInfo](../constructors/help.deepLinkInfo.md) = \['update_app' => [Bool](../types/Bool.md), 'message' => [string](../types/string.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], \]; -[$help\_deepLinkInfoEmpty](../constructors/help_deepLinkInfoEmpty.md) = \[\]; +*** +

[$help.deepLinkInfoEmpty](../constructors/help.deepLinkInfoEmpty.md) = \[\]; -[$help\_inviteText](../constructors/help_inviteText.md) = \['message' => [string](../types/string.md), \]; +*** +

[$help.inviteText](../constructors/help.inviteText.md) = \['message' => [string](../types/string.md), \]; -[$help\_noAppUpdate](../constructors/help_noAppUpdate.md) = \[\]; +*** +

[$help.noAppUpdate](../constructors/help.noAppUpdate.md) = \[\]; -[$help\_passportConfig](../constructors/help_passportConfig.md) = \['hash' => [int](../types/int.md), 'countries_langs' => [DataJSON](../types/DataJSON.md), \]; +*** +

[$help.passportConfig](../constructors/help.passportConfig.md) = \['hash' => [int](../types/int.md), 'countries_langs' => [DataJSON](../types/DataJSON.md), \]; -[$help\_passportConfigNotModified](../constructors/help_passportConfigNotModified.md) = \[\]; +*** +

[$help.passportConfigNotModified](../constructors/help.passportConfigNotModified.md) = \[\]; -[$help\_proxyDataEmpty](../constructors/help_proxyDataEmpty.md) = \['expires' => [int](../types/int.md), \]; +*** +

[$help.proxyDataEmpty](../constructors/help.proxyDataEmpty.md) = \['expires' => [int](../types/int.md), \]; -[$help\_proxyDataPromo](../constructors/help_proxyDataPromo.md) = \['expires' => [int](../types/int.md), 'peer' => [Peer](../types/Peer.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$help.proxyDataPromo](../constructors/help.proxyDataPromo.md) = \['expires' => [int](../types/int.md), 'peer' => [Peer](../types/Peer.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$help\_recentMeUrls](../constructors/help_recentMeUrls.md) = \['urls' => \[[RecentMeUrl](../types/RecentMeUrl.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$help.recentMeUrls](../constructors/help.recentMeUrls.md) = \['urls' => \[[RecentMeUrl](../types/RecentMeUrl.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$help\_support](../constructors/help_support.md) = \['phone_number' => [string](../types/string.md), 'user' => [User](../types/User.md), \]; +*** +

[$help.support](../constructors/help.support.md) = \['phone_number' => [string](../types/string.md), 'user' => [User](../types/User.md), \]; -[$help\_supportName](../constructors/help_supportName.md) = \['name' => [string](../types/string.md), \]; +*** +

[$help.supportName](../constructors/help.supportName.md) = \['name' => [string](../types/string.md), \]; -[$help\_termsOfService](../constructors/help_termsOfService.md) = \['popup' => [Bool](../types/Bool.md), 'id' => [DataJSON](../types/DataJSON.md), 'text' => [string](../types/string.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], 'min_age_confirm' => [int](../types/int.md), \]; +*** +

[$help.termsOfService](../constructors/help.termsOfService.md) = \['popup' => [Bool](../types/Bool.md), 'id' => [DataJSON](../types/DataJSON.md), 'text' => [string](../types/string.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], 'min_age_confirm' => [int](../types/int.md), \]; -[$help\_termsOfServiceUpdate](../constructors/help_termsOfServiceUpdate.md) = \['expires' => [int](../types/int.md), 'terms_of_service' => [help.TermsOfService](../types/help.TermsOfService.md), \]; +*** +

[$help.termsOfServiceUpdate](../constructors/help.termsOfServiceUpdate.md) = \['expires' => [int](../types/int.md), 'terms_of_service' => [help.TermsOfService](../types/help.TermsOfService.md), \]; -[$help\_termsOfServiceUpdateEmpty](../constructors/help_termsOfServiceUpdateEmpty.md) = \['expires' => [int](../types/int.md), \]; +*** +

[$help.termsOfServiceUpdateEmpty](../constructors/help.termsOfServiceUpdateEmpty.md) = \['expires' => [int](../types/int.md), \]; -[$help\_userInfo](../constructors/help_userInfo.md) = \['message' => [string](../types/string.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], 'author' => [string](../types/string.md), 'date' => [int](../types/int.md), \]; +*** +

[$help.userInfo](../constructors/help.userInfo.md) = \['message' => [string](../types/string.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], 'author' => [string](../types/string.md), 'date' => [int](../types/int.md), \]; -[$help\_userInfoEmpty](../constructors/help_userInfoEmpty.md) = \[\]; +*** +

[$help.userInfoEmpty](../constructors/help.userInfoEmpty.md) = \[\]; ***

[$highScore](../constructors/highScore.md) = \['pos' => [int](../types/int.md), 'user_id' => [int](../types/int.md), 'score' => [int](../types/int.md), \]; @@ -1201,87 +1255,127 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$messageService](../constructors/messageService.md) = \['out' => [Bool](../types/Bool.md), 'mentioned' => [Bool](../types/Bool.md), 'media_unread' => [Bool](../types/Bool.md), 'silent' => [Bool](../types/Bool.md), 'post' => [Bool](../types/Bool.md), 'legacy' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'from_id' => [int](../types/int.md), 'to_id' => [Peer](../types/Peer.md), 'reply_to_msg_id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'action' => [MessageAction](../types/MessageAction.md), \]; *** -

[$messages\_affectedHistory](../constructors/messages_affectedHistory.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), 'offset' => [int](../types/int.md), \]; +

[$messages.affectedHistory](../constructors/messages.affectedHistory.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), 'offset' => [int](../types/int.md), \]; -[$messages\_affectedMessages](../constructors/messages_affectedMessages.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; +*** +

[$messages.affectedMessages](../constructors/messages.affectedMessages.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; -[$messages\_allStickers](../constructors/messages_allStickers.md) = \['hash' => [int](../types/int.md), 'sets' => \[[StickerSet](../types/StickerSet.md)\], \]; +*** +

[$messages.allStickers](../constructors/messages.allStickers.md) = \['hash' => [int](../types/int.md), 'sets' => \[[StickerSet](../types/StickerSet.md)\], \]; -[$messages\_allStickersNotModified](../constructors/messages_allStickersNotModified.md) = \[\]; +*** +

[$messages.allStickersNotModified](../constructors/messages.allStickersNotModified.md) = \[\]; -[$messages\_archivedStickers](../constructors/messages_archivedStickers.md) = \['count' => [int](../types/int.md), 'sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], \]; +*** +

[$messages.archivedStickers](../constructors/messages.archivedStickers.md) = \['count' => [int](../types/int.md), 'sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], \]; -[$messages\_botCallbackAnswer](../constructors/messages_botCallbackAnswer.md) = \['alert' => [Bool](../types/Bool.md), 'has_url' => [Bool](../types/Bool.md), 'native_ui' => [Bool](../types/Bool.md), 'message' => [string](../types/string.md), 'url' => [string](../types/string.md), 'cache_time' => [int](../types/int.md), \]; +*** +

[$messages.botCallbackAnswer](../constructors/messages.botCallbackAnswer.md) = \['alert' => [Bool](../types/Bool.md), 'has_url' => [Bool](../types/Bool.md), 'native_ui' => [Bool](../types/Bool.md), 'message' => [string](../types/string.md), 'url' => [string](../types/string.md), 'cache_time' => [int](../types/int.md), \]; -[$messages\_botResults](../constructors/messages_botResults.md) = \['gallery' => [Bool](../types/Bool.md), 'query_id' => [long](../types/long.md), 'next_offset' => [string](../types/string.md), 'switch_pm' => [InlineBotSwitchPM](../types/InlineBotSwitchPM.md), 'results' => \[[BotInlineResult](../types/BotInlineResult.md)\], 'cache_time' => [int](../types/int.md), 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.botResults](../constructors/messages.botResults.md) = \['gallery' => [Bool](../types/Bool.md), 'query_id' => [long](../types/long.md), 'next_offset' => [string](../types/string.md), 'switch_pm' => [InlineBotSwitchPM](../types/InlineBotSwitchPM.md), 'results' => \[[BotInlineResult](../types/BotInlineResult.md)\], 'cache_time' => [int](../types/int.md), 'users' => \[[User](../types/User.md)\], \]; -[$messages\_channelMessages](../constructors/messages_channelMessages.md) = \['inexact' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.channelMessages](../constructors/messages.channelMessages.md) = \['inexact' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_chatFull](../constructors/messages_chatFull.md) = \['full_chat' => [ChatFull](../types/ChatFull.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.chatFull](../constructors/messages.chatFull.md) = \['full_chat' => [ChatFull](../types/ChatFull.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_chats](../constructors/messages_chats.md) = \['chats' => \[[Chat](../types/Chat.md)\], \]; +*** +

[$messages.chats](../constructors/messages.chats.md) = \['chats' => \[[Chat](../types/Chat.md)\], \]; -[$messages\_chatsSlice](../constructors/messages_chatsSlice.md) = \['count' => [int](../types/int.md), 'chats' => \[[Chat](../types/Chat.md)\], \]; +*** +

[$messages.chatsSlice](../constructors/messages.chatsSlice.md) = \['count' => [int](../types/int.md), 'chats' => \[[Chat](../types/Chat.md)\], \]; -[$messages\_dhConfig](../constructors/messages_dhConfig.md) = \['g' => [int](../types/int.md), 'p' => [bytes](../types/bytes.md), 'version' => [int](../types/int.md), 'random' => [bytes](../types/bytes.md), \]; +*** +

[$messages.dhConfig](../constructors/messages.dhConfig.md) = \['g' => [int](../types/int.md), 'p' => [bytes](../types/bytes.md), 'version' => [int](../types/int.md), 'random' => [bytes](../types/bytes.md), \]; -[$messages\_dhConfigNotModified](../constructors/messages_dhConfigNotModified.md) = \['random' => [bytes](../types/bytes.md), \]; +*** +

[$messages.dhConfigNotModified](../constructors/messages.dhConfigNotModified.md) = \['random' => [bytes](../types/bytes.md), \]; -[$messages\_dialogs](../constructors/messages_dialogs.md) = \['dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.dialogs](../constructors/messages.dialogs.md) = \['dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_dialogsNotModified](../constructors/messages_dialogsNotModified.md) = \['count' => [int](../types/int.md), \]; +*** +

[$messages.dialogsNotModified](../constructors/messages.dialogsNotModified.md) = \['count' => [int](../types/int.md), \]; -[$messages\_dialogsSlice](../constructors/messages_dialogsSlice.md) = \['count' => [int](../types/int.md), 'dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.dialogsSlice](../constructors/messages.dialogsSlice.md) = \['count' => [int](../types/int.md), 'dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_favedStickers](../constructors/messages_favedStickers.md) = \['hash' => [int](../types/int.md), 'packs' => \[[StickerPack](../types/StickerPack.md)\], 'stickers' => \[[Document](../types/Document.md)\], \]; +*** +

[$messages.favedStickers](../constructors/messages.favedStickers.md) = \['hash' => [int](../types/int.md), 'packs' => \[[StickerPack](../types/StickerPack.md)\], 'stickers' => \[[Document](../types/Document.md)\], \]; -[$messages\_favedStickersNotModified](../constructors/messages_favedStickersNotModified.md) = \[\]; +*** +

[$messages.favedStickersNotModified](../constructors/messages.favedStickersNotModified.md) = \[\]; -[$messages\_featuredStickers](../constructors/messages_featuredStickers.md) = \['hash' => [int](../types/int.md), 'sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], 'unread' => \[[long](../types/long.md)\], \]; +*** +

[$messages.featuredStickers](../constructors/messages.featuredStickers.md) = \['hash' => [int](../types/int.md), 'sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], 'unread' => \[[long](../types/long.md)\], \]; -[$messages\_featuredStickersNotModified](../constructors/messages_featuredStickersNotModified.md) = \[\]; +*** +

[$messages.featuredStickersNotModified](../constructors/messages.featuredStickersNotModified.md) = \[\]; -[$messages\_foundGifs](../constructors/messages_foundGifs.md) = \['next_offset' => [int](../types/int.md), 'results' => \[[FoundGif](../types/FoundGif.md)\], \]; +*** +

[$messages.foundGifs](../constructors/messages.foundGifs.md) = \['next_offset' => [int](../types/int.md), 'results' => \[[FoundGif](../types/FoundGif.md)\], \]; -[$messages\_foundStickerSets](../constructors/messages_foundStickerSets.md) = \['hash' => [int](../types/int.md), 'sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], \]; +*** +

[$messages.foundStickerSets](../constructors/messages.foundStickerSets.md) = \['hash' => [int](../types/int.md), 'sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], \]; -[$messages\_foundStickerSetsNotModified](../constructors/messages_foundStickerSetsNotModified.md) = \[\]; +*** +

[$messages.foundStickerSetsNotModified](../constructors/messages.foundStickerSetsNotModified.md) = \[\]; -[$messages\_highScores](../constructors/messages_highScores.md) = \['scores' => \[[HighScore](../types/HighScore.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.highScores](../constructors/messages.highScores.md) = \['scores' => \[[HighScore](../types/HighScore.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_messageEditData](../constructors/messages_messageEditData.md) = \['caption' => [Bool](../types/Bool.md), \]; +*** +

[$messages.messageEditData](../constructors/messages.messageEditData.md) = \['caption' => [Bool](../types/Bool.md), \]; -[$messages\_messages](../constructors/messages_messages.md) = \['messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.messages](../constructors/messages.messages.md) = \['messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_messagesNotModified](../constructors/messages_messagesNotModified.md) = \['count' => [int](../types/int.md), \]; +*** +

[$messages.messagesNotModified](../constructors/messages.messagesNotModified.md) = \['count' => [int](../types/int.md), \]; -[$messages\_messagesSlice](../constructors/messages_messagesSlice.md) = \['inexact' => [Bool](../types/Bool.md), 'count' => [int](../types/int.md), 'next_rate' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.messagesSlice](../constructors/messages.messagesSlice.md) = \['inexact' => [Bool](../types/Bool.md), 'count' => [int](../types/int.md), 'next_rate' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_peerDialogs](../constructors/messages_peerDialogs.md) = \['dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'state' => [updates.State](../types/updates.State.md), \]; +*** +

[$messages.peerDialogs](../constructors/messages.peerDialogs.md) = \['dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'state' => [updates.State](../types/updates.State.md), \]; -[$messages\_recentStickers](../constructors/messages_recentStickers.md) = \['hash' => [int](../types/int.md), 'packs' => \[[StickerPack](../types/StickerPack.md)\], 'stickers' => \[[Document](../types/Document.md)\], 'dates' => \[[int](../types/int.md)\], \]; +*** +

[$messages.recentStickers](../constructors/messages.recentStickers.md) = \['hash' => [int](../types/int.md), 'packs' => \[[StickerPack](../types/StickerPack.md)\], 'stickers' => \[[Document](../types/Document.md)\], 'dates' => \[[int](../types/int.md)\], \]; -[$messages\_recentStickersNotModified](../constructors/messages_recentStickersNotModified.md) = \[\]; +*** +

[$messages.recentStickersNotModified](../constructors/messages.recentStickersNotModified.md) = \[\]; -[$messages\_savedGifs](../constructors/messages_savedGifs.md) = \['hash' => [int](../types/int.md), 'gifs' => \[[Document](../types/Document.md)\], \]; +*** +

[$messages.savedGifs](../constructors/messages.savedGifs.md) = \['hash' => [int](../types/int.md), 'gifs' => \[[Document](../types/Document.md)\], \]; -[$messages\_savedGifsNotModified](../constructors/messages_savedGifsNotModified.md) = \[\]; +*** +

[$messages.savedGifsNotModified](../constructors/messages.savedGifsNotModified.md) = \[\]; -[$messages\_searchCounter](../constructors/messages_searchCounter.md) = \['inexact' => [Bool](../types/Bool.md), 'filter' => [MessagesFilter](../types/MessagesFilter.md), 'count' => [int](../types/int.md), \]; +*** +

[$messages.searchCounter](../constructors/messages.searchCounter.md) = \['inexact' => [Bool](../types/Bool.md), 'filter' => [MessagesFilter](../types/MessagesFilter.md), 'count' => [int](../types/int.md), \]; -[$messages\_sentEncryptedFile](../constructors/messages_sentEncryptedFile.md) = \['date' => [int](../types/int.md), 'file' => [EncryptedFile](../types/EncryptedFile.md), \]; +*** +

[$messages.sentEncryptedFile](../constructors/messages.sentEncryptedFile.md) = \['date' => [int](../types/int.md), 'file' => [EncryptedFile](../types/EncryptedFile.md), \]; -[$messages\_sentEncryptedMessage](../constructors/messages_sentEncryptedMessage.md) = \['date' => [int](../types/int.md), \]; +*** +

[$messages.sentEncryptedMessage](../constructors/messages.sentEncryptedMessage.md) = \['date' => [int](../types/int.md), \]; -[$messages\_stickerSet](../constructors/messages_stickerSet.md) = \['set' => [StickerSet](../types/StickerSet.md), 'packs' => \[[StickerPack](../types/StickerPack.md)\], 'documents' => \[[Document](../types/Document.md)\], \]; +*** +

[$messages.stickerSet](../constructors/messages.stickerSet.md) = \['set' => [StickerSet](../types/StickerSet.md), 'packs' => \[[StickerPack](../types/StickerPack.md)\], 'documents' => \[[Document](../types/Document.md)\], \]; -[$messages\_stickerSetInstallResultArchive](../constructors/messages_stickerSetInstallResultArchive.md) = \['sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], \]; +*** +

[$messages.stickerSetInstallResultArchive](../constructors/messages.stickerSetInstallResultArchive.md) = \['sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], \]; -[$messages\_stickerSetInstallResultSuccess](../constructors/messages_stickerSetInstallResultSuccess.md) = \[\]; +*** +

[$messages.stickerSetInstallResultSuccess](../constructors/messages.stickerSetInstallResultSuccess.md) = \[\]; -[$messages\_stickers](../constructors/messages_stickers.md) = \['hash' => [int](../types/int.md), 'stickers' => \[[Document](../types/Document.md)\], \]; +*** +

[$messages.stickers](../constructors/messages.stickers.md) = \['hash' => [int](../types/int.md), 'stickers' => \[[Document](../types/Document.md)\], \]; -[$messages\_stickersNotModified](../constructors/messages_stickersNotModified.md) = \[\]; +*** +

[$messages.stickersNotModified](../constructors/messages.stickersNotModified.md) = \[\]; ***

[$nearestDc](../constructors/nearestDc.md) = \['country' => [string](../types/string.md), 'this_dc' => [int](../types/int.md), 'nearest_dc' => [int](../types/int.md), \]; @@ -1431,17 +1525,22 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$paymentSavedCredentialsCard](../constructors/paymentSavedCredentialsCard.md) = \['id' => [string](../types/string.md), 'title' => [string](../types/string.md), \]; *** -

[$payments\_paymentForm](../constructors/payments_paymentForm.md) = \['can_save_credentials' => [Bool](../types/Bool.md), 'password_missing' => [Bool](../types/Bool.md), 'bot_id' => [int](../types/int.md), 'invoice' => [Invoice](../types/Invoice.md), 'provider_id' => [int](../types/int.md), 'url' => [string](../types/string.md), 'native_provider' => [string](../types/string.md), 'native_params' => [DataJSON](../types/DataJSON.md), 'saved_info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), 'saved_credentials' => [PaymentSavedCredentials](../types/PaymentSavedCredentials.md), 'users' => \[[User](../types/User.md)\], \]; +

[$payments.paymentForm](../constructors/payments.paymentForm.md) = \['can_save_credentials' => [Bool](../types/Bool.md), 'password_missing' => [Bool](../types/Bool.md), 'bot_id' => [int](../types/int.md), 'invoice' => [Invoice](../types/Invoice.md), 'provider_id' => [int](../types/int.md), 'url' => [string](../types/string.md), 'native_provider' => [string](../types/string.md), 'native_params' => [DataJSON](../types/DataJSON.md), 'saved_info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), 'saved_credentials' => [PaymentSavedCredentials](../types/PaymentSavedCredentials.md), 'users' => \[[User](../types/User.md)\], \]; -[$payments\_paymentReceipt](../constructors/payments_paymentReceipt.md) = \['date' => [int](../types/int.md), 'bot_id' => [int](../types/int.md), 'invoice' => [Invoice](../types/Invoice.md), 'provider_id' => [int](../types/int.md), 'info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), 'shipping' => [ShippingOption](../types/ShippingOption.md), 'currency' => [string](../types/string.md), 'total_amount' => [long](../types/long.md), 'credentials_title' => [string](../types/string.md), 'users' => \[[User](../types/User.md)\], \]; +*** +

[$payments.paymentReceipt](../constructors/payments.paymentReceipt.md) = \['date' => [int](../types/int.md), 'bot_id' => [int](../types/int.md), 'invoice' => [Invoice](../types/Invoice.md), 'provider_id' => [int](../types/int.md), 'info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), 'shipping' => [ShippingOption](../types/ShippingOption.md), 'currency' => [string](../types/string.md), 'total_amount' => [long](../types/long.md), 'credentials_title' => [string](../types/string.md), 'users' => \[[User](../types/User.md)\], \]; -[$payments\_paymentResult](../constructors/payments_paymentResult.md) = \['updates' => [Updates](../types/Updates.md), \]; +*** +

[$payments.paymentResult](../constructors/payments.paymentResult.md) = \['updates' => [Updates](../types/Updates.md), \]; -[$payments\_paymentVerificationNeeded](../constructors/payments_paymentVerificationNeeded.md) = \['url' => [string](../types/string.md), \]; +*** +

[$payments.paymentVerificationNeeded](../constructors/payments.paymentVerificationNeeded.md) = \['url' => [string](../types/string.md), \]; -[$payments\_savedInfo](../constructors/payments_savedInfo.md) = \['has_saved_credentials' => [Bool](../types/Bool.md), 'saved_info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), \]; +*** +

[$payments.savedInfo](../constructors/payments.savedInfo.md) = \['has_saved_credentials' => [Bool](../types/Bool.md), 'saved_info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), \]; -[$payments\_validatedRequestedInfo](../constructors/payments_validatedRequestedInfo.md) = \['id' => [string](../types/string.md), 'shipping_options' => \[[ShippingOption](../types/ShippingOption.md)\], \]; +*** +

[$payments.validatedRequestedInfo](../constructors/payments.validatedRequestedInfo.md) = \['id' => [string](../types/string.md), 'shipping_options' => \[[ShippingOption](../types/ShippingOption.md)\], \]; ***

[$peerChannel](../constructors/peerChannel.md) = \['channel_id' => [int](../types/int.md), \]; @@ -1461,6 +1560,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ***

[$peerUser](../constructors/peerUser.md) = \['user_id' => [int](../types/int.md), \]; +*** +

[$phone.phoneCall](../constructors/phone.phoneCall.md) = \['phone_call' => [PhoneCall](../types/PhoneCall.md), 'users' => \[[User](../types/User.md)\], \]; + ***

[$phoneCall](../constructors/phoneCall.md) = \['p2p_allowed' => [Bool](../types/Bool.md), 'id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'date' => [int](../types/int.md), 'admin_id' => [int](../types/int.md), 'participant_id' => [int](../types/int.md), 'g_a_or_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), 'connections' => \[[PhoneConnection](../types/PhoneConnection.md)\], 'start_date' => [int](../types/int.md), \]; @@ -1497,9 +1599,6 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ***

[$phoneConnection](../constructors/phoneConnection.md) = \['id' => [long](../types/long.md), 'ip' => [string](../types/string.md), 'ipv6' => [string](../types/string.md), 'port' => [int](../types/int.md), 'peer_tag' => [bytes](../types/bytes.md), \]; -*** -

[$phone\_phoneCall](../constructors/phone_phoneCall.md) = \['phone_call' => [PhoneCall](../types/PhoneCall.md), 'users' => \[[User](../types/User.md)\], \]; - ***

[$photo](../constructors/photo.md) = \['has_stickers' => [Bool](../types/Bool.md), 'id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'file_reference' => [bytes](../types/bytes.md), 'date' => [int](../types/int.md), 'sizes' => \[[PhotoSize](../types/PhotoSize.md)\], 'dc_id' => [int](../types/int.md), \]; @@ -1519,11 +1618,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$photoStrippedSize](../constructors/photoStrippedSize.md) = \['type' => [string](../types/string.md), 'bytes' => [bytes](../types/bytes.md), \]; *** -

[$photos\_photo](../constructors/photos_photo.md) = \['photo' => [Photo](../types/Photo.md), 'users' => \[[User](../types/User.md)\], \]; +

[$photos.photo](../constructors/photos.photo.md) = \['photo' => [Photo](../types/Photo.md), 'users' => \[[User](../types/User.md)\], \]; -[$photos\_photos](../constructors/photos_photos.md) = \['photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$photos.photos](../constructors/photos.photos.md) = \['photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$photos\_photosSlice](../constructors/photos_photosSlice.md) = \['count' => [int](../types/int.md), 'photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$photos.photosSlice](../constructors/photos.photosSlice.md) = \['count' => [int](../types/int.md), 'photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; ***

[$poll](../constructors/poll.md) = \['id' => [long](../types/long.md), 'closed' => [Bool](../types/Bool.md), 'question' => [string](../types/string.md), 'answers' => \[[PollAnswer](../types/PollAnswer.md)\], \]; @@ -1793,25 +1894,34 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$stickerSetMultiCovered](../constructors/stickerSetMultiCovered.md) = \['set' => [StickerSet](../types/StickerSet.md), 'covers' => \[[Document](../types/Document.md)\], \]; *** -

[$storage\_fileGif](../constructors/storage_fileGif.md) = \[\]; +

[$storage.fileGif](../constructors/storage.fileGif.md) = \[\]; -[$storage\_fileJpeg](../constructors/storage_fileJpeg.md) = \[\]; +*** +

[$storage.fileJpeg](../constructors/storage.fileJpeg.md) = \[\]; -[$storage\_fileMov](../constructors/storage_fileMov.md) = \[\]; +*** +

[$storage.fileMov](../constructors/storage.fileMov.md) = \[\]; -[$storage\_fileMp3](../constructors/storage_fileMp3.md) = \[\]; +*** +

[$storage.fileMp3](../constructors/storage.fileMp3.md) = \[\]; -[$storage\_fileMp4](../constructors/storage_fileMp4.md) = \[\]; +*** +

[$storage.fileMp4](../constructors/storage.fileMp4.md) = \[\]; -[$storage\_filePartial](../constructors/storage_filePartial.md) = \[\]; +*** +

[$storage.filePartial](../constructors/storage.filePartial.md) = \[\]; -[$storage\_filePdf](../constructors/storage_filePdf.md) = \[\]; +*** +

[$storage.filePdf](../constructors/storage.filePdf.md) = \[\]; -[$storage\_filePng](../constructors/storage_filePng.md) = \[\]; +*** +

[$storage.filePng](../constructors/storage.filePng.md) = \[\]; -[$storage\_fileUnknown](../constructors/storage_fileUnknown.md) = \[\]; +*** +

[$storage.fileUnknown](../constructors/storage.fileUnknown.md) = \[\]; -[$storage\_fileWebp](../constructors/storage_fileWebp.md) = \[\]; +*** +

[$storage.fileWebp](../constructors/storage.fileWebp.md) = \[\]; ***

[$textAnchor](../constructors/textAnchor.md) = \['text' => [RichText](../types/RichText.md), 'name' => [string](../types/string.md), \]; @@ -2137,6 +2247,30 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ***

[$updates](../constructors/updates.md) = \['updates' => \[[Update](../types/Update.md)\], 'users' => \[[User](../types/User.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'date' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; +*** +

[$updates.channelDifference](../constructors/updates.channelDifference.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), 'new_messages' => \[[Message](../types/Message.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +*** +

[$updates.channelDifferenceEmpty](../constructors/updates.channelDifferenceEmpty.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), \]; + +*** +

[$updates.channelDifferenceTooLong](../constructors/updates.channelDifferenceTooLong.md) = \['final' => [Bool](../types/Bool.md), 'timeout' => [int](../types/int.md), 'dialog' => [Dialog](../types/Dialog.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +*** +

[$updates.difference](../constructors/updates.difference.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'state' => [updates.State](../types/updates.State.md), \]; + +*** +

[$updates.differenceEmpty](../constructors/updates.differenceEmpty.md) = \['date' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; + +*** +

[$updates.differenceSlice](../constructors/updates.differenceSlice.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'intermediate_state' => [updates.State](../types/updates.State.md), \]; + +*** +

[$updates.differenceTooLong](../constructors/updates.differenceTooLong.md) = \['pts' => [int](../types/int.md), \]; + +*** +

[$updates.state](../constructors/updates.state.md) = \['pts' => [int](../types/int.md), 'qts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'seq' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), \]; + ***

[$updatesCombined](../constructors/updatesCombined.md) = \['updates' => \[[Update](../types/Update.md)\], 'users' => \[[User](../types/User.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'date' => [int](../types/int.md), 'seq_start' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; @@ -2144,32 +2278,19 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$updatesTooLong](../constructors/updatesTooLong.md) = \[\]; *** -

[$updates\_channelDifference](../constructors/updates_channelDifference.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), 'new_messages' => \[[Message](../types/Message.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; - -[$updates\_channelDifferenceEmpty](../constructors/updates_channelDifferenceEmpty.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), \]; - -[$updates\_channelDifferenceTooLong](../constructors/updates_channelDifferenceTooLong.md) = \['final' => [Bool](../types/Bool.md), 'timeout' => [int](../types/int.md), 'dialog' => [Dialog](../types/Dialog.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; - -[$updates\_difference](../constructors/updates_difference.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'state' => [updates.State](../types/updates.State.md), \]; - -[$updates\_differenceEmpty](../constructors/updates_differenceEmpty.md) = \['date' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; - -[$updates\_differenceSlice](../constructors/updates_differenceSlice.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'intermediate_state' => [updates.State](../types/updates.State.md), \]; - -[$updates\_differenceTooLong](../constructors/updates_differenceTooLong.md) = \['pts' => [int](../types/int.md), \]; - -[$updates\_state](../constructors/updates_state.md) = \['pts' => [int](../types/int.md), 'qts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'seq' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), \]; +

[$upload.cdnFile](../constructors/upload.cdnFile.md) = \['bytes' => [bytes](../types/bytes.md), \]; *** -

[$upload\_cdnFile](../constructors/upload_cdnFile.md) = \['bytes' => [bytes](../types/bytes.md), \]; +

[$upload.cdnFileReuploadNeeded](../constructors/upload.cdnFileReuploadNeeded.md) = \['request_token' => [bytes](../types/bytes.md), \]; -[$upload\_cdnFileReuploadNeeded](../constructors/upload_cdnFileReuploadNeeded.md) = \['request_token' => [bytes](../types/bytes.md), \]; +*** +

[$upload.file](../constructors/upload.file.md) = \['type' => [storage.FileType](../types/storage.FileType.md), 'mtime' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; -[$upload\_file](../constructors/upload_file.md) = \['type' => [storage.FileType](../types/storage.FileType.md), 'mtime' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; +*** +

[$upload.fileCdnRedirect](../constructors/upload.fileCdnRedirect.md) = \['dc_id' => [int](../types/int.md), 'file_token' => [bytes](../types/bytes.md), 'encryption_key' => [bytes](../types/bytes.md), 'encryption_iv' => [bytes](../types/bytes.md), 'file_hashes' => \[[FileHash](../types/FileHash.md)\], \]; -[$upload\_fileCdnRedirect](../constructors/upload_fileCdnRedirect.md) = \['dc_id' => [int](../types/int.md), 'file_token' => [bytes](../types/bytes.md), 'encryption_key' => [bytes](../types/bytes.md), 'encryption_iv' => [bytes](../types/bytes.md), 'file_hashes' => \[[FileHash](../types/FileHash.md)\], \]; - -[$upload\_webFile](../constructors/upload_webFile.md) = \['size' => [int](../types/int.md), 'mime_type' => [string](../types/string.md), 'file_type' => [storage.FileType](../types/storage.FileType.md), 'mtime' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; +*** +

[$upload.webFile](../constructors/upload.webFile.md) = \['size' => [int](../types/int.md), 'mime_type' => [string](../types/string.md), 'file_type' => [storage.FileType](../types/storage.FileType.md), 'mtime' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; ***

[$urlAuthResultAccepted](../constructors/urlAuthResultAccepted.md) = \['url' => [string](../types/string.md), \]; diff --git a/old_docs/API_docs_v105/constructors/account.authorizationForm.md b/old_docs/API_docs_v105/constructors/account.authorizationForm.md new file mode 100644 index 00000000..175276bf --- /dev/null +++ b/old_docs/API_docs_v105/constructors/account.authorizationForm.md @@ -0,0 +1,42 @@ +--- +title: account.authorizationForm +description: [Telegram Passport](https://core.telegram.org/passport) authorization form +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.authorizationForm +[Back to constructors index](index.md) + + + +[Telegram Passport](https://core.telegram.org/passport) authorization form + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|required\_types|Array of [SecureRequiredType](../types/SecureRequiredType.md) | Yes|Required types| +|values|Array of [SecureValue](../types/SecureValue.md) | Yes|Values| +|errors|Array of [SecureValueError](../types/SecureValueError.md) | Yes|Errors| +|users|Array of [User](../types/User.md) | Yes|Users| +|privacy\_policy\_url|[string](../types/string.md) | Optional|URL of the service's privacy policy| + + + +### Type: [account.AuthorizationForm](../types/account.AuthorizationForm.md) + + +### Example: + +```php +$account.authorizationForm = ['_' => 'account.authorizationForm', 'required_types' => [SecureRequiredType, SecureRequiredType], 'values' => [SecureValue, SecureValue], 'errors' => [SecureValueError, SecureValueError], 'users' => [User, User], 'privacy_policy_url' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +account.authorizationForm={_='account.authorizationForm', required_types={SecureRequiredType}, values={SecureValue}, errors={SecureValueError}, users={User}, privacy_policy_url='string'} + +``` + + diff --git a/old_docs/API_docs_v105/constructors/account.authorizations.md b/old_docs/API_docs_v105/constructors/account.authorizations.md new file mode 100644 index 00000000..53c961f0 --- /dev/null +++ b/old_docs/API_docs_v105/constructors/account.authorizations.md @@ -0,0 +1,38 @@ +--- +title: account.authorizations +description: Logged-in sessions +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.authorizations +[Back to constructors index](index.md) + + + +Logged-in sessions + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|authorizations|Array of [Authorization](../types/Authorization.md) | Yes|Authorizations| + + + +### Type: [account.Authorizations](../types/account.Authorizations.md) + + +### Example: + +```php +$account.authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization, Authorization]]; +``` + + +Or, if you're into Lua: + +```lua +account.authorizations={_='account.authorizations', authorizations={Authorization}} + +``` + + diff --git a/old_docs/API_docs_v105/constructors/account.autoDownloadSettings.md b/old_docs/API_docs_v105/constructors/account.autoDownloadSettings.md new file mode 100644 index 00000000..fa06f6a6 --- /dev/null +++ b/old_docs/API_docs_v105/constructors/account.autoDownloadSettings.md @@ -0,0 +1,40 @@ +--- +title: account.autoDownloadSettings +description: Media autodownload settings +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.autoDownloadSettings +[Back to constructors index](index.md) + + + +Media autodownload settings + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|low|[AutoDownloadSettings](../types/AutoDownloadSettings.md) | Yes|Low data usage preset| +|medium|[AutoDownloadSettings](../types/AutoDownloadSettings.md) | Yes|Medium data usage preset| +|high|[AutoDownloadSettings](../types/AutoDownloadSettings.md) | Yes|High data usage preset| + + + +### Type: [account.AutoDownloadSettings](../types/account.AutoDownloadSettings.md) + + +### Example: + +```php +$account.autoDownloadSettings = ['_' => 'account.autoDownloadSettings', 'low' => AutoDownloadSettings, 'medium' => AutoDownloadSettings, 'high' => AutoDownloadSettings]; +``` + + +Or, if you're into Lua: + +```lua +account.autoDownloadSettings={_='account.autoDownloadSettings', low=AutoDownloadSettings, medium=AutoDownloadSettings, high=AutoDownloadSettings} + +``` + + diff --git a/old_docs/API_docs_v105/constructors/account.password.md b/old_docs/API_docs_v105/constructors/account.password.md new file mode 100644 index 00000000..b6ad79db --- /dev/null +++ b/old_docs/API_docs_v105/constructors/account.password.md @@ -0,0 +1,48 @@ +--- +title: account.password +description: Configuration for two-factor authorization +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.password +[Back to constructors index](index.md) + + + +Configuration for two-factor authorization + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|has\_recovery|[Bool](../types/Bool.md) | Optional|Whether the user has a recovery method configured| +|has\_secure\_values|[Bool](../types/Bool.md) | Optional|Whether telegram [passport](https://core.telegram.org/passport) is enabled| +|has\_password|[Bool](../types/Bool.md) | Optional|Whether the user has a password| +|current\_algo|[PasswordKdfAlgo](../types/PasswordKdfAlgo.md) | Optional|The [KDF algorithm for SRP two-factor authentication](https://core.telegram.org/api/srp) of the current password| +|srp\_B|[bytes](../types/bytes.md) | Optional|Srp B param for [SRP authorization](https://core.telegram.org/api/srp)| +|srp\_id|[long](../types/long.md) | Optional|Srp ID param for [SRP authorization](https://core.telegram.org/api/srp)| +|hint|[string](../types/string.md) | Optional|Text hint for the password| +|email\_unconfirmed\_pattern|[string](../types/string.md) | Optional|A [password recovery email](https://core.telegram.org/api/srp#email-verification) with the specified [pattern](https://core.telegram.org/api/pattern) is still awaiting verification| +|new\_algo|[PasswordKdfAlgo](../types/PasswordKdfAlgo.md) | Yes|The [KDF algorithm for SRP two-factor authentication](https://core.telegram.org/api/srp) to use when creating new passwords| +|new\_secure\_algo|[SecurePasswordKdfAlgo](../types/SecurePasswordKdfAlgo.md) | Yes|The KDF algorithm for telegram [passport](https://core.telegram.org/passport)| +|secure\_random|[bytes](../types/bytes.md) | Yes|Secure random string| + + + +### Type: [account.Password](../types/account.Password.md) + + +### Example: + +```php +$account.password = ['_' => 'account.password', 'has_recovery' => Bool, 'has_secure_values' => Bool, 'has_password' => Bool, 'current_algo' => PasswordKdfAlgo, 'srp_B' => 'bytes', 'srp_id' => long, 'hint' => 'string', 'email_unconfirmed_pattern' => 'string', 'new_algo' => PasswordKdfAlgo, 'new_secure_algo' => SecurePasswordKdfAlgo, 'secure_random' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +account.password={_='account.password', has_recovery=Bool, has_secure_values=Bool, has_password=Bool, current_algo=PasswordKdfAlgo, srp_B='bytes', srp_id=long, hint='string', email_unconfirmed_pattern='string', new_algo=PasswordKdfAlgo, new_secure_algo=SecurePasswordKdfAlgo, secure_random='bytes'} + +``` + + diff --git a/old_docs/API_docs_v105/constructors/account.passwordInputSettings.md b/old_docs/API_docs_v105/constructors/account.passwordInputSettings.md new file mode 100644 index 00000000..f55837c8 --- /dev/null +++ b/old_docs/API_docs_v105/constructors/account.passwordInputSettings.md @@ -0,0 +1,42 @@ +--- +title: account.passwordInputSettings +description: Settings for setting up a new password +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.passwordInputSettings +[Back to constructors index](index.md) + + + +Settings for setting up a new password + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|new\_algo|[PasswordKdfAlgo](../types/PasswordKdfAlgo.md) | Optional|The [SRP algorithm](https://core.telegram.org/api/srp) to use| +|new\_password\_hash|[bytes](../types/bytes.md) | Optional|The [computed password hash](https://core.telegram.org/api/srp)| +|hint|[string](../types/string.md) | Optional|Text hint for the password| +|email|[string](../types/string.md) | Optional|Password recovery email| +|new\_secure\_settings|[SecureSecretSettings](../types/SecureSecretSettings.md) | Optional|Telegram [passport](https://core.telegram.org/passport) settings| + + + +### Type: [account.PasswordInputSettings](../types/account.PasswordInputSettings.md) + + +### Example: + +```php +$account.passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_algo' => PasswordKdfAlgo, 'new_password_hash' => 'bytes', 'hint' => 'string', 'email' => 'string', 'new_secure_settings' => SecureSecretSettings]; +``` + + +Or, if you're into Lua: + +```lua +account.passwordInputSettings={_='account.passwordInputSettings', new_algo=PasswordKdfAlgo, new_password_hash='bytes', hint='string', email='string', new_secure_settings=SecureSecretSettings} + +``` + + diff --git a/old_docs/API_docs_v105/constructors/account.passwordSettings.md b/old_docs/API_docs_v105/constructors/account.passwordSettings.md new file mode 100644 index 00000000..ab81079e --- /dev/null +++ b/old_docs/API_docs_v105/constructors/account.passwordSettings.md @@ -0,0 +1,39 @@ +--- +title: account.passwordSettings +description: Private info associated to the password info (recovery email, telegram [passport](https://core.telegram.org/passport) info & so on) +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.passwordSettings +[Back to constructors index](index.md) + + + +Private info associated to the password info (recovery email, telegram [passport](https://core.telegram.org/passport) info & so on) + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|email|[string](../types/string.md) | Optional|[2FA Recovery email](https://core.telegram.org/api/srp#email-verification)| +|secure\_settings|[SecureSecretSettings](../types/SecureSecretSettings.md) | Optional|Telegram [passport](https://core.telegram.org/passport) settings| + + + +### Type: [account.PasswordSettings](../types/account.PasswordSettings.md) + + +### Example: + +```php +$account.passwordSettings = ['_' => 'account.passwordSettings', 'email' => 'string', 'secure_settings' => SecureSecretSettings]; +``` + + +Or, if you're into Lua: + +```lua +account.passwordSettings={_='account.passwordSettings', email='string', secure_settings=SecureSecretSettings} + +``` + + diff --git a/old_docs/API_docs_v105/constructors/account.privacyRules.md b/old_docs/API_docs_v105/constructors/account.privacyRules.md new file mode 100644 index 00000000..6f83247a --- /dev/null +++ b/old_docs/API_docs_v105/constructors/account.privacyRules.md @@ -0,0 +1,40 @@ +--- +title: account.privacyRules +description: Privacy rules +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.privacyRules +[Back to constructors index](index.md) + + + +Privacy rules + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|rules|Array of [PrivacyRule](../types/PrivacyRule.md) | Yes|Rules| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats allowed?| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [account.PrivacyRules](../types/account.PrivacyRules.md) + + +### Example: + +```php +$account.privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule, PrivacyRule], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +account.privacyRules={_='account.privacyRules', rules={PrivacyRule}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v105/constructors/account.sentEmailCode.md b/old_docs/API_docs_v105/constructors/account.sentEmailCode.md new file mode 100644 index 00000000..c4c30275 --- /dev/null +++ b/old_docs/API_docs_v105/constructors/account.sentEmailCode.md @@ -0,0 +1,39 @@ +--- +title: account.sentEmailCode +description: The sent email code +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.sentEmailCode +[Back to constructors index](index.md) + + + +The sent email code + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|email\_pattern|[string](../types/string.md) | Yes|The email (to which the code was sent) must match this [pattern](https://core.telegram.org/api/pattern)| +|length|[int](../types/int.md) | Yes|The length of the verification code| + + + +### Type: [account.SentEmailCode](../types/account.SentEmailCode.md) + + +### Example: + +```php +$account.sentEmailCode = ['_' => 'account.sentEmailCode', 'email_pattern' => 'string', 'length' => int]; +``` + + +Or, if you're into Lua: + +```lua +account.sentEmailCode={_='account.sentEmailCode', email_pattern='string', length=int} + +``` + + diff --git a/old_docs/API_docs_v105/constructors/account.takeout.md b/old_docs/API_docs_v105/constructors/account.takeout.md new file mode 100644 index 00000000..1aca6c70 --- /dev/null +++ b/old_docs/API_docs_v105/constructors/account.takeout.md @@ -0,0 +1,38 @@ +--- +title: account.takeout +description: Takout info +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.takeout +[Back to constructors index](index.md) + + + +Takout info + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|id|[long](../types/long.md) | Yes|Takeout ID| + + + +### Type: [account.Takeout](../types/account.Takeout.md) + + +### Example: + +```php +$account.takeout = ['_' => 'account.takeout', 'id' => long]; +``` + + +Or, if you're into Lua: + +```lua +account.takeout={_='account.takeout', id=long} + +``` + + diff --git a/old_docs/API_docs_v105/constructors/account.themes.md b/old_docs/API_docs_v105/constructors/account.themes.md new file mode 100644 index 00000000..2cf6af8d --- /dev/null +++ b/old_docs/API_docs_v105/constructors/account.themes.md @@ -0,0 +1,39 @@ +--- +title: account.themes +description: Installed themes +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.themes +[Back to constructors index](index.md) + + + +Installed themes + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|themes|Array of [Theme](../types/Theme.md) | Yes|Themes| + + + +### Type: [account.Themes](../types/account.Themes.md) + + +### Example: + +```php +$account.themes = ['_' => 'account.themes', 'hash' => int, 'themes' => [Theme, Theme]]; +``` + + +Or, if you're into Lua: + +```lua +account.themes={_='account.themes', hash=int, themes={Theme}} + +``` + + diff --git a/old_docs/API_docs_v105/constructors/account.themesNotModified.md b/old_docs/API_docs_v105/constructors/account.themesNotModified.md new file mode 100644 index 00000000..eb929ac4 --- /dev/null +++ b/old_docs/API_docs_v105/constructors/account.themesNotModified.md @@ -0,0 +1,33 @@ +--- +title: account.themesNotModified +description: No new themes were installed +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.themesNotModified +[Back to constructors index](index.md) + + + +No new themes were installed + + + + +### Type: [account.Themes](../types/account.Themes.md) + + +### Example: + +```php +$account.themesNotModified = ['_' => 'account.themesNotModified']; +``` + + +Or, if you're into Lua: + +```lua +account.themesNotModified={_='account.themesNotModified'} + +``` + + diff --git a/old_docs/API_docs_v105/constructors/account.tmpPassword.md b/old_docs/API_docs_v105/constructors/account.tmpPassword.md new file mode 100644 index 00000000..996548c4 --- /dev/null +++ b/old_docs/API_docs_v105/constructors/account.tmpPassword.md @@ -0,0 +1,39 @@ +--- +title: account.tmpPassword +description: Temporary payment password +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.tmpPassword +[Back to constructors index](index.md) + + + +Temporary payment password + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|tmp\_password|[bytes](../types/bytes.md) | Yes|Temporary password| +|valid\_until|[int](../types/int.md) | Yes|Validity period| + + + +### Type: [account.TmpPassword](../types/account.TmpPassword.md) + + +### Example: + +```php +$account.tmpPassword = ['_' => 'account.tmpPassword', 'tmp_password' => 'bytes', 'valid_until' => int]; +``` + + +Or, if you're into Lua: + +```lua +account.tmpPassword={_='account.tmpPassword', tmp_password='bytes', valid_until=int} + +``` + + diff --git a/old_docs/API_docs_v105/constructors/account.wallPapers.md b/old_docs/API_docs_v105/constructors/account.wallPapers.md new file mode 100644 index 00000000..c73f9dd3 --- /dev/null +++ b/old_docs/API_docs_v105/constructors/account.wallPapers.md @@ -0,0 +1,39 @@ +--- +title: account.wallPapers +description: Installed wallpapers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.wallPapers +[Back to constructors index](index.md) + + + +Installed wallpapers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|wallpapers|Array of [WallPaper](../types/WallPaper.md) | Yes|Wallpapers| + + + +### Type: [account.WallPapers](../types/account.WallPapers.md) + + +### Example: + +```php +$account.wallPapers = ['_' => 'account.wallPapers', 'hash' => int, 'wallpapers' => [WallPaper, WallPaper]]; +``` + + +Or, if you're into Lua: + +```lua +account.wallPapers={_='account.wallPapers', hash=int, wallpapers={WallPaper}} + +``` + + diff --git a/old_docs/API_docs_v105/constructors/account.wallPapersNotModified.md b/old_docs/API_docs_v105/constructors/account.wallPapersNotModified.md new file mode 100644 index 00000000..209233d7 --- /dev/null +++ b/old_docs/API_docs_v105/constructors/account.wallPapersNotModified.md @@ -0,0 +1,33 @@ +--- +title: account.wallPapersNotModified +description: No new wallpapers were found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.wallPapersNotModified +[Back to constructors index](index.md) + + + +No new wallpapers were found + + + + +### Type: [account.WallPapers](../types/account.WallPapers.md) + + +### Example: + +```php +$account.wallPapersNotModified = ['_' => 'account.wallPapersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +account.wallPapersNotModified={_='account.wallPapersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v105/constructors/account.webAuthorizations.md b/old_docs/API_docs_v105/constructors/account.webAuthorizations.md new file mode 100644 index 00000000..bb5d0211 --- /dev/null +++ b/old_docs/API_docs_v105/constructors/account.webAuthorizations.md @@ -0,0 +1,39 @@ +--- +title: account.webAuthorizations +description: Web authorizations +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.webAuthorizations +[Back to constructors index](index.md) + + + +Web authorizations + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|authorizations|Array of [WebAuthorization](../types/WebAuthorization.md) | Yes|Authorizations| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [account.WebAuthorizations](../types/account.WebAuthorizations.md) + + +### Example: + +```php +$account.webAuthorizations = ['_' => 'account.webAuthorizations', 'authorizations' => [WebAuthorization, WebAuthorization], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +account.webAuthorizations={_='account.webAuthorizations', authorizations={WebAuthorization}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v105/constructors/account_authorizationForm.md b/old_docs/API_docs_v105/constructors/account_authorizationForm.md deleted file mode 100644 index aaeff19b..00000000 --- a/old_docs/API_docs_v105/constructors/account_authorizationForm.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: account.authorizationForm -description: [Telegram Passport](https://core.telegram.org/passport) authorization form -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.authorizationForm -[Back to constructors index](index.md) - - - -[Telegram Passport](https://core.telegram.org/passport) authorization form - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|required\_types|Array of [SecureRequiredType](../types/SecureRequiredType.md) | Yes|Required types| -|values|Array of [SecureValue](../types/SecureValue.md) | Yes|Values| -|errors|Array of [SecureValueError](../types/SecureValueError.md) | Yes|Errors| -|users|Array of [User](../types/User.md) | Yes|Users| -|privacy\_policy\_url|[string](../types/string.md) | Optional|URL of the service's privacy policy| - - - -### Type: [account\_AuthorizationForm](../types/account_AuthorizationForm.md) - - -### Example: - -```php -$account_authorizationForm = ['_' => 'account.authorizationForm', 'required_types' => [SecureRequiredType, SecureRequiredType], 'values' => [SecureValue, SecureValue], 'errors' => [SecureValueError, SecureValueError], 'users' => [User, User], 'privacy_policy_url' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -account_authorizationForm={_='account.authorizationForm', required_types={SecureRequiredType}, values={SecureValue}, errors={SecureValueError}, users={User}, privacy_policy_url='string'} - -``` - - diff --git a/old_docs/API_docs_v105/constructors/account_authorizations.md b/old_docs/API_docs_v105/constructors/account_authorizations.md deleted file mode 100644 index aeae48f3..00000000 --- a/old_docs/API_docs_v105/constructors/account_authorizations.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: account.authorizations -description: Logged-in sessions -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.authorizations -[Back to constructors index](index.md) - - - -Logged-in sessions - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|authorizations|Array of [Authorization](../types/Authorization.md) | Yes|Authorizations| - - - -### Type: [account\_Authorizations](../types/account_Authorizations.md) - - -### Example: - -```php -$account_authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization, Authorization]]; -``` - - -Or, if you're into Lua: - -```lua -account_authorizations={_='account.authorizations', authorizations={Authorization}} - -``` - - diff --git a/old_docs/API_docs_v105/constructors/account_autoDownloadSettings.md b/old_docs/API_docs_v105/constructors/account_autoDownloadSettings.md deleted file mode 100644 index f490d303..00000000 --- a/old_docs/API_docs_v105/constructors/account_autoDownloadSettings.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: account.autoDownloadSettings -description: Media autodownload settings -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.autoDownloadSettings -[Back to constructors index](index.md) - - - -Media autodownload settings - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|low|[AutoDownloadSettings](../types/AutoDownloadSettings.md) | Yes|Low data usage preset| -|medium|[AutoDownloadSettings](../types/AutoDownloadSettings.md) | Yes|Medium data usage preset| -|high|[AutoDownloadSettings](../types/AutoDownloadSettings.md) | Yes|High data usage preset| - - - -### Type: [account\_AutoDownloadSettings](../types/account_AutoDownloadSettings.md) - - -### Example: - -```php -$account_autoDownloadSettings = ['_' => 'account.autoDownloadSettings', 'low' => AutoDownloadSettings, 'medium' => AutoDownloadSettings, 'high' => AutoDownloadSettings]; -``` - - -Or, if you're into Lua: - -```lua -account_autoDownloadSettings={_='account.autoDownloadSettings', low=AutoDownloadSettings, medium=AutoDownloadSettings, high=AutoDownloadSettings} - -``` - - diff --git a/old_docs/API_docs_v105/constructors/account_password.md b/old_docs/API_docs_v105/constructors/account_password.md deleted file mode 100644 index 0f2eaafb..00000000 --- a/old_docs/API_docs_v105/constructors/account_password.md +++ /dev/null @@ -1,48 +0,0 @@ ---- -title: account.password -description: Configuration for two-factor authorization -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.password -[Back to constructors index](index.md) - - - -Configuration for two-factor authorization - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|has\_recovery|[Bool](../types/Bool.md) | Optional|Whether the user has a recovery method configured| -|has\_secure\_values|[Bool](../types/Bool.md) | Optional|Whether telegram [passport](https://core.telegram.org/passport) is enabled| -|has\_password|[Bool](../types/Bool.md) | Optional|Whether the user has a password| -|current\_algo|[PasswordKdfAlgo](../types/PasswordKdfAlgo.md) | Optional|The [KDF algorithm for SRP two-factor authentication](https://core.telegram.org/api/srp) of the current password| -|srp\_B|[bytes](../types/bytes.md) | Optional|Srp B param for [SRP authorization](https://core.telegram.org/api/srp)| -|srp\_id|[long](../types/long.md) | Optional|Srp ID param for [SRP authorization](https://core.telegram.org/api/srp)| -|hint|[string](../types/string.md) | Optional|Text hint for the password| -|email\_unconfirmed\_pattern|[string](../types/string.md) | Optional|A [password recovery email](https://core.telegram.org/api/srp#email-verification) with the specified [pattern](https://core.telegram.org/api/pattern) is still awaiting verification| -|new\_algo|[PasswordKdfAlgo](../types/PasswordKdfAlgo.md) | Yes|The [KDF algorithm for SRP two-factor authentication](https://core.telegram.org/api/srp) to use when creating new passwords| -|new\_secure\_algo|[SecurePasswordKdfAlgo](../types/SecurePasswordKdfAlgo.md) | Yes|The KDF algorithm for telegram [passport](https://core.telegram.org/passport)| -|secure\_random|[bytes](../types/bytes.md) | Yes|Secure random string| - - - -### Type: [account\_Password](../types/account_Password.md) - - -### Example: - -```php -$account_password = ['_' => 'account.password', 'has_recovery' => Bool, 'has_secure_values' => Bool, 'has_password' => Bool, 'current_algo' => PasswordKdfAlgo, 'srp_B' => 'bytes', 'srp_id' => long, 'hint' => 'string', 'email_unconfirmed_pattern' => 'string', 'new_algo' => PasswordKdfAlgo, 'new_secure_algo' => SecurePasswordKdfAlgo, 'secure_random' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -account_password={_='account.password', has_recovery=Bool, has_secure_values=Bool, has_password=Bool, current_algo=PasswordKdfAlgo, srp_B='bytes', srp_id=long, hint='string', email_unconfirmed_pattern='string', new_algo=PasswordKdfAlgo, new_secure_algo=SecurePasswordKdfAlgo, secure_random='bytes'} - -``` - - diff --git a/old_docs/API_docs_v105/constructors/account_passwordInputSettings.md b/old_docs/API_docs_v105/constructors/account_passwordInputSettings.md deleted file mode 100644 index a4800a7c..00000000 --- a/old_docs/API_docs_v105/constructors/account_passwordInputSettings.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: account.passwordInputSettings -description: Settings for setting up a new password -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.passwordInputSettings -[Back to constructors index](index.md) - - - -Settings for setting up a new password - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|new\_algo|[PasswordKdfAlgo](../types/PasswordKdfAlgo.md) | Optional|The [SRP algorithm](https://core.telegram.org/api/srp) to use| -|new\_password\_hash|[bytes](../types/bytes.md) | Optional|The [computed password hash](https://core.telegram.org/api/srp)| -|hint|[string](../types/string.md) | Optional|Text hint for the password| -|email|[string](../types/string.md) | Optional|Password recovery email| -|new\_secure\_settings|[SecureSecretSettings](../types/SecureSecretSettings.md) | Optional|Telegram [passport](https://core.telegram.org/passport) settings| - - - -### Type: [account\_PasswordInputSettings](../types/account_PasswordInputSettings.md) - - -### Example: - -```php -$account_passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_algo' => PasswordKdfAlgo, 'new_password_hash' => 'bytes', 'hint' => 'string', 'email' => 'string', 'new_secure_settings' => SecureSecretSettings]; -``` - - -Or, if you're into Lua: - -```lua -account_passwordInputSettings={_='account.passwordInputSettings', new_algo=PasswordKdfAlgo, new_password_hash='bytes', hint='string', email='string', new_secure_settings=SecureSecretSettings} - -``` - - diff --git a/old_docs/API_docs_v105/constructors/account_passwordSettings.md b/old_docs/API_docs_v105/constructors/account_passwordSettings.md deleted file mode 100644 index 16eaf433..00000000 --- a/old_docs/API_docs_v105/constructors/account_passwordSettings.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: account.passwordSettings -description: Private info associated to the password info (recovery email, telegram [passport](https://core.telegram.org/passport) info & so on) -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.passwordSettings -[Back to constructors index](index.md) - - - -Private info associated to the password info (recovery email, telegram [passport](https://core.telegram.org/passport) info & so on) - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|email|[string](../types/string.md) | Optional|[2FA Recovery email](https://core.telegram.org/api/srp#email-verification)| -|secure\_settings|[SecureSecretSettings](../types/SecureSecretSettings.md) | Optional|Telegram [passport](https://core.telegram.org/passport) settings| - - - -### Type: [account\_PasswordSettings](../types/account_PasswordSettings.md) - - -### Example: - -```php -$account_passwordSettings = ['_' => 'account.passwordSettings', 'email' => 'string', 'secure_settings' => SecureSecretSettings]; -``` - - -Or, if you're into Lua: - -```lua -account_passwordSettings={_='account.passwordSettings', email='string', secure_settings=SecureSecretSettings} - -``` - - diff --git a/old_docs/API_docs_v105/constructors/account_privacyRules.md b/old_docs/API_docs_v105/constructors/account_privacyRules.md deleted file mode 100644 index 5fd928b9..00000000 --- a/old_docs/API_docs_v105/constructors/account_privacyRules.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: account.privacyRules -description: Privacy rules -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.privacyRules -[Back to constructors index](index.md) - - - -Privacy rules - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|rules|Array of [PrivacyRule](../types/PrivacyRule.md) | Yes|Rules| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats allowed?| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [account\_PrivacyRules](../types/account_PrivacyRules.md) - - -### Example: - -```php -$account_privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule, PrivacyRule], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -account_privacyRules={_='account.privacyRules', rules={PrivacyRule}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v105/constructors/account_sentEmailCode.md b/old_docs/API_docs_v105/constructors/account_sentEmailCode.md deleted file mode 100644 index 684fb4b5..00000000 --- a/old_docs/API_docs_v105/constructors/account_sentEmailCode.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: account.sentEmailCode -description: The sent email code -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.sentEmailCode -[Back to constructors index](index.md) - - - -The sent email code - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|email\_pattern|[string](../types/string.md) | Yes|The email (to which the code was sent) must match this [pattern](https://core.telegram.org/api/pattern)| -|length|[int](../types/int.md) | Yes|The length of the verification code| - - - -### Type: [account\_SentEmailCode](../types/account_SentEmailCode.md) - - -### Example: - -```php -$account_sentEmailCode = ['_' => 'account.sentEmailCode', 'email_pattern' => 'string', 'length' => int]; -``` - - -Or, if you're into Lua: - -```lua -account_sentEmailCode={_='account.sentEmailCode', email_pattern='string', length=int} - -``` - - diff --git a/old_docs/API_docs_v105/constructors/account_takeout.md b/old_docs/API_docs_v105/constructors/account_takeout.md deleted file mode 100644 index 09af93ca..00000000 --- a/old_docs/API_docs_v105/constructors/account_takeout.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: account.takeout -description: Takout info -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.takeout -[Back to constructors index](index.md) - - - -Takout info - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|id|[long](../types/long.md) | Yes|Takeout ID| - - - -### Type: [account\_Takeout](../types/account_Takeout.md) - - -### Example: - -```php -$account_takeout = ['_' => 'account.takeout', 'id' => long]; -``` - - -Or, if you're into Lua: - -```lua -account_takeout={_='account.takeout', id=long} - -``` - - diff --git a/old_docs/API_docs_v105/constructors/account_themes.md b/old_docs/API_docs_v105/constructors/account_themes.md deleted file mode 100644 index 4a5fc747..00000000 --- a/old_docs/API_docs_v105/constructors/account_themes.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: account.themes -description: Installed themes -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.themes -[Back to constructors index](index.md) - - - -Installed themes - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|themes|Array of [Theme](../types/Theme.md) | Yes|Themes| - - - -### Type: [account\_Themes](../types/account_Themes.md) - - -### Example: - -```php -$account_themes = ['_' => 'account.themes', 'hash' => int, 'themes' => [Theme, Theme]]; -``` - - -Or, if you're into Lua: - -```lua -account_themes={_='account.themes', hash=int, themes={Theme}} - -``` - - diff --git a/old_docs/API_docs_v105/constructors/account_themesNotModified.md b/old_docs/API_docs_v105/constructors/account_themesNotModified.md deleted file mode 100644 index acfc01dc..00000000 --- a/old_docs/API_docs_v105/constructors/account_themesNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: account.themesNotModified -description: No new themes were installed -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.themesNotModified -[Back to constructors index](index.md) - - - -No new themes were installed - - - - -### Type: [account\_Themes](../types/account_Themes.md) - - -### Example: - -```php -$account_themesNotModified = ['_' => 'account.themesNotModified']; -``` - - -Or, if you're into Lua: - -```lua -account_themesNotModified={_='account.themesNotModified'} - -``` - - diff --git a/old_docs/API_docs_v105/constructors/account_tmpPassword.md b/old_docs/API_docs_v105/constructors/account_tmpPassword.md deleted file mode 100644 index 68832780..00000000 --- a/old_docs/API_docs_v105/constructors/account_tmpPassword.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: account.tmpPassword -description: Temporary payment password -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.tmpPassword -[Back to constructors index](index.md) - - - -Temporary payment password - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|tmp\_password|[bytes](../types/bytes.md) | Yes|Temporary password| -|valid\_until|[int](../types/int.md) | Yes|Validity period| - - - -### Type: [account\_TmpPassword](../types/account_TmpPassword.md) - - -### Example: - -```php -$account_tmpPassword = ['_' => 'account.tmpPassword', 'tmp_password' => 'bytes', 'valid_until' => int]; -``` - - -Or, if you're into Lua: - -```lua -account_tmpPassword={_='account.tmpPassword', tmp_password='bytes', valid_until=int} - -``` - - diff --git a/old_docs/API_docs_v105/constructors/account_wallPapers.md b/old_docs/API_docs_v105/constructors/account_wallPapers.md deleted file mode 100644 index 6239c29c..00000000 --- a/old_docs/API_docs_v105/constructors/account_wallPapers.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: account.wallPapers -description: Installed wallpapers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.wallPapers -[Back to constructors index](index.md) - - - -Installed wallpapers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|wallpapers|Array of [WallPaper](../types/WallPaper.md) | Yes|Wallpapers| - - - -### Type: [account\_WallPapers](../types/account_WallPapers.md) - - -### Example: - -```php -$account_wallPapers = ['_' => 'account.wallPapers', 'hash' => int, 'wallpapers' => [WallPaper, WallPaper]]; -``` - - -Or, if you're into Lua: - -```lua -account_wallPapers={_='account.wallPapers', hash=int, wallpapers={WallPaper}} - -``` - - diff --git a/old_docs/API_docs_v105/constructors/account_wallPapersNotModified.md b/old_docs/API_docs_v105/constructors/account_wallPapersNotModified.md deleted file mode 100644 index acb28796..00000000 --- a/old_docs/API_docs_v105/constructors/account_wallPapersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: account.wallPapersNotModified -description: No new wallpapers were found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.wallPapersNotModified -[Back to constructors index](index.md) - - - -No new wallpapers were found - - - - -### Type: [account\_WallPapers](../types/account_WallPapers.md) - - -### Example: - -```php -$account_wallPapersNotModified = ['_' => 'account.wallPapersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -account_wallPapersNotModified={_='account.wallPapersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v105/constructors/account_webAuthorizations.md b/old_docs/API_docs_v105/constructors/account_webAuthorizations.md deleted file mode 100644 index ae402006..00000000 --- a/old_docs/API_docs_v105/constructors/account_webAuthorizations.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: account.webAuthorizations -description: Web authorizations -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.webAuthorizations -[Back to constructors index](index.md) - - - -Web authorizations - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|authorizations|Array of [WebAuthorization](../types/WebAuthorization.md) | Yes|Authorizations| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [account\_WebAuthorizations](../types/account_WebAuthorizations.md) - - -### Example: - -```php -$account_webAuthorizations = ['_' => 'account.webAuthorizations', 'authorizations' => [WebAuthorization, WebAuthorization], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -account_webAuthorizations={_='account.webAuthorizations', authorizations={WebAuthorization}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v105/constructors/auth.authorization.md b/old_docs/API_docs_v105/constructors/auth.authorization.md new file mode 100644 index 00000000..2a84bb12 --- /dev/null +++ b/old_docs/API_docs_v105/constructors/auth.authorization.md @@ -0,0 +1,39 @@ +--- +title: auth.authorization +description: Contains user authorization info. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.authorization +[Back to constructors index](index.md) + + + +Contains user authorization info. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|tmp\_sessions|[int](../types/int.md) | Optional|Temporary [passport](https://core.telegram.org/passport) sessions| +|user|[User](../types/User.md) | Optional|Info on authorized user| + + + +### Type: [auth.Authorization](../types/auth.Authorization.md) + + +### Example: + +```php +$auth.authorization = ['_' => 'auth.authorization', 'tmp_sessions' => int, 'user' => User]; +``` + + +Or, if you're into Lua: + +```lua +auth.authorization={_='auth.authorization', tmp_sessions=int, user=User} + +``` + + diff --git a/old_docs/API_docs_v105/constructors/auth.authorizationSignUpRequired.md b/old_docs/API_docs_v105/constructors/auth.authorizationSignUpRequired.md new file mode 100644 index 00000000..477c7705 --- /dev/null +++ b/old_docs/API_docs_v105/constructors/auth.authorizationSignUpRequired.md @@ -0,0 +1,38 @@ +--- +title: auth.authorizationSignUpRequired +description: An account with this phone number doesn't exist on telegram: the user has to [enter basic information and sign up](https://core.telegram.org/api/auth) +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.authorizationSignUpRequired +[Back to constructors index](index.md) + + + +An account with this phone number doesn't exist on telegram: the user has to [enter basic information and sign up](https://core.telegram.org/api/auth) + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|terms\_of\_service|[help.TermsOfService](../constructors/help.TermsOfService.md) | Optional|Telegram's terms of service: the user must read and accept the terms of service before signing up to telegram| + + + +### Type: [auth.Authorization](../types/auth.Authorization.md) + + +### Example: + +```php +$auth.authorizationSignUpRequired = ['_' => 'auth.authorizationSignUpRequired', 'terms_of_service' => help.TermsOfService]; +``` + + +Or, if you're into Lua: + +```lua +auth.authorizationSignUpRequired={_='auth.authorizationSignUpRequired', terms_of_service=help.TermsOfService} + +``` + + diff --git a/old_docs/API_docs_v105/constructors/auth.codeTypeCall.md b/old_docs/API_docs_v105/constructors/auth.codeTypeCall.md new file mode 100644 index 00000000..4b4a1cdc --- /dev/null +++ b/old_docs/API_docs_v105/constructors/auth.codeTypeCall.md @@ -0,0 +1,33 @@ +--- +title: auth.codeTypeCall +description: Type of verification code that will be sent next if you call the resendCode method: SMS code +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.codeTypeCall +[Back to constructors index](index.md) + + + +Type of verification code that will be sent next if you call the resendCode method: SMS code + + + + +### Type: [auth.CodeType](../types/auth.CodeType.md) + + +### Example: + +```php +$auth.codeTypeCall = ['_' => 'auth.codeTypeCall']; +``` + + +Or, if you're into Lua: + +```lua +auth.codeTypeCall={_='auth.codeTypeCall'} + +``` + + diff --git a/old_docs/API_docs_v105/constructors/auth.codeTypeFlashCall.md b/old_docs/API_docs_v105/constructors/auth.codeTypeFlashCall.md new file mode 100644 index 00000000..ef97e034 --- /dev/null +++ b/old_docs/API_docs_v105/constructors/auth.codeTypeFlashCall.md @@ -0,0 +1,33 @@ +--- +title: auth.codeTypeFlashCall +description: Type of verification code that will be sent next if you call the resendCode method: SMS code +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.codeTypeFlashCall +[Back to constructors index](index.md) + + + +Type of verification code that will be sent next if you call the resendCode method: SMS code + + + + +### Type: [auth.CodeType](../types/auth.CodeType.md) + + +### Example: + +```php +$auth.codeTypeFlashCall = ['_' => 'auth.codeTypeFlashCall']; +``` + + +Or, if you're into Lua: + +```lua +auth.codeTypeFlashCall={_='auth.codeTypeFlashCall'} + +``` + + diff --git a/old_docs/API_docs_v105/constructors/auth.codeTypeSms.md b/old_docs/API_docs_v105/constructors/auth.codeTypeSms.md new file mode 100644 index 00000000..bab9a5a4 --- /dev/null +++ b/old_docs/API_docs_v105/constructors/auth.codeTypeSms.md @@ -0,0 +1,33 @@ +--- +title: auth.codeTypeSms +description: Type of verification code that will be sent next if you call the resendCode method: SMS code +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.codeTypeSms +[Back to constructors index](index.md) + + + +Type of verification code that will be sent next if you call the resendCode method: SMS code + + + + +### Type: [auth.CodeType](../types/auth.CodeType.md) + + +### Example: + +```php +$auth.codeTypeSms = ['_' => 'auth.codeTypeSms']; +``` + + +Or, if you're into Lua: + +```lua +auth.codeTypeSms={_='auth.codeTypeSms'} + +``` + + diff --git a/old_docs/API_docs_v105/constructors/auth.exportedAuthorization.md b/old_docs/API_docs_v105/constructors/auth.exportedAuthorization.md new file mode 100644 index 00000000..2a4a9896 --- /dev/null +++ b/old_docs/API_docs_v105/constructors/auth.exportedAuthorization.md @@ -0,0 +1,39 @@ +--- +title: auth.exportedAuthorization +description: Data for copying of authorization between data centres. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.exportedAuthorization +[Back to constructors index](index.md) + + + +Data for copying of authorization between data centres. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|id|[int](../types/int.md) | Yes|Current user identifier| +|bytes|[bytes](../types/bytes.md) | Yes|Authorizes key| + + + +### Type: [auth.ExportedAuthorization](../types/auth.ExportedAuthorization.md) + + +### Example: + +```php +$auth.exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +auth.exportedAuthorization={_='auth.exportedAuthorization', id=int, bytes='bytes'} + +``` + + diff --git a/old_docs/API_docs_v105/constructors/auth.passwordRecovery.md b/old_docs/API_docs_v105/constructors/auth.passwordRecovery.md new file mode 100644 index 00000000..61de922d --- /dev/null +++ b/old_docs/API_docs_v105/constructors/auth.passwordRecovery.md @@ -0,0 +1,38 @@ +--- +title: auth.passwordRecovery +description: Recovery info of a [2FA password](https://core.telegram.org/api/srp), only for accounts with a [recovery email configured](https://core.telegram.org/api/srp#email-verification). +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.passwordRecovery +[Back to constructors index](index.md) + + + +Recovery info of a [2FA password](https://core.telegram.org/api/srp), only for accounts with a [recovery email configured](https://core.telegram.org/api/srp#email-verification). + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|email\_pattern|[string](../types/string.md) | Yes|The email to which the recovery code was sent must match this [pattern](https://core.telegram.org/api/pattern).| + + + +### Type: [auth.PasswordRecovery](../types/auth.PasswordRecovery.md) + + +### Example: + +```php +$auth.passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +auth.passwordRecovery={_='auth.passwordRecovery', email_pattern='string'} + +``` + + diff --git a/old_docs/API_docs_v105/constructors/auth.sentCode.md b/old_docs/API_docs_v105/constructors/auth.sentCode.md new file mode 100644 index 00000000..134e2d0a --- /dev/null +++ b/old_docs/API_docs_v105/constructors/auth.sentCode.md @@ -0,0 +1,41 @@ +--- +title: auth.sentCode +description: Contains info about a sent verification code. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentCode +[Back to constructors index](index.md) + + + +Contains info about a sent verification code. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|type|[auth.SentCodeType](../constructors/auth.SentCodeType.md) | Yes|Phone code type| +|phone\_code\_hash|[string](../types/string.md) | Yes|Phone code hash, to be stored and later re-used with [auth.signIn](../methods/auth.signIn.md)| +|next\_type|[auth.CodeType](../constructors/auth.CodeType.md) | Optional|Phone code type that will be sent next, if the phone code is not received within `timeout` seconds: to send it use [auth.resendCode](../methods/auth.resendCode.md)| +|timeout|[int](../types/int.md) | Optional|Timeout for reception of the phone code| + + + +### Type: [auth.SentCode](../types/auth.SentCode.md) + + +### Example: + +```php +$auth.sentCode = ['_' => 'auth.sentCode', 'type' => auth.SentCodeType, 'phone_code_hash' => 'string', 'next_type' => auth.CodeType, 'timeout' => int]; +``` + + +Or, if you're into Lua: + +```lua +auth.sentCode={_='auth.sentCode', type=auth.SentCodeType, phone_code_hash='string', next_type=auth.CodeType, timeout=int} + +``` + + diff --git a/old_docs/API_docs_v105/constructors/auth.sentCodeTypeApp.md b/old_docs/API_docs_v105/constructors/auth.sentCodeTypeApp.md new file mode 100644 index 00000000..5f2d4aa3 --- /dev/null +++ b/old_docs/API_docs_v105/constructors/auth.sentCodeTypeApp.md @@ -0,0 +1,38 @@ +--- +title: auth.sentCodeTypeApp +description: The code was sent through the telegram app +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentCodeTypeApp +[Back to constructors index](index.md) + + + +The code was sent through the telegram app + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|length|[int](../types/int.md) | Yes|Length of the code in bytes| + + + +### Type: [auth.SentCodeType](../types/auth.SentCodeType.md) + + +### Example: + +```php +$auth.sentCodeTypeApp = ['_' => 'auth.sentCodeTypeApp', 'length' => int]; +``` + + +Or, if you're into Lua: + +```lua +auth.sentCodeTypeApp={_='auth.sentCodeTypeApp', length=int} + +``` + + diff --git a/old_docs/API_docs_v105/constructors/auth.sentCodeTypeCall.md b/old_docs/API_docs_v105/constructors/auth.sentCodeTypeCall.md new file mode 100644 index 00000000..9843b3df --- /dev/null +++ b/old_docs/API_docs_v105/constructors/auth.sentCodeTypeCall.md @@ -0,0 +1,38 @@ +--- +title: auth.sentCodeTypeCall +description: The code will be sent via a phone call: a synthesized voice will tell the user which verification code to input. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentCodeTypeCall +[Back to constructors index](index.md) + + + +The code will be sent via a phone call: a synthesized voice will tell the user which verification code to input. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|length|[int](../types/int.md) | Yes|Length of the verification code| + + + +### Type: [auth.SentCodeType](../types/auth.SentCodeType.md) + + +### Example: + +```php +$auth.sentCodeTypeCall = ['_' => 'auth.sentCodeTypeCall', 'length' => int]; +``` + + +Or, if you're into Lua: + +```lua +auth.sentCodeTypeCall={_='auth.sentCodeTypeCall', length=int} + +``` + + diff --git a/old_docs/API_docs_v105/constructors/auth.sentCodeTypeFlashCall.md b/old_docs/API_docs_v105/constructors/auth.sentCodeTypeFlashCall.md new file mode 100644 index 00000000..0d24751d --- /dev/null +++ b/old_docs/API_docs_v105/constructors/auth.sentCodeTypeFlashCall.md @@ -0,0 +1,38 @@ +--- +title: auth.sentCodeTypeFlashCall +description: The code will be sent via a flash phone call, that will be closed immediately. The phone code will then be the phone number itself, just make sure that the phone number matches the specified pattern. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentCodeTypeFlashCall +[Back to constructors index](index.md) + + + +The code will be sent via a flash phone call, that will be closed immediately. The phone code will then be the phone number itself, just make sure that the phone number matches the specified pattern. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pattern|[string](../types/string.md) | Yes|[pattern](https://core.telegram.org/api/pattern) to match| + + + +### Type: [auth.SentCodeType](../types/auth.SentCodeType.md) + + +### Example: + +```php +$auth.sentCodeTypeFlashCall = ['_' => 'auth.sentCodeTypeFlashCall', 'pattern' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +auth.sentCodeTypeFlashCall={_='auth.sentCodeTypeFlashCall', pattern='string'} + +``` + + diff --git a/old_docs/API_docs_v105/constructors/auth.sentCodeTypeSms.md b/old_docs/API_docs_v105/constructors/auth.sentCodeTypeSms.md new file mode 100644 index 00000000..d8ecb75e --- /dev/null +++ b/old_docs/API_docs_v105/constructors/auth.sentCodeTypeSms.md @@ -0,0 +1,38 @@ +--- +title: auth.sentCodeTypeSms +description: The code was sent via SMS +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentCodeTypeSms +[Back to constructors index](index.md) + + + +The code was sent via SMS + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|length|[int](../types/int.md) | Yes|Length of the code in bytes| + + + +### Type: [auth.SentCodeType](../types/auth.SentCodeType.md) + + +### Example: + +```php +$auth.sentCodeTypeSms = ['_' => 'auth.sentCodeTypeSms', 'length' => int]; +``` + + +Or, if you're into Lua: + +```lua +auth.sentCodeTypeSms={_='auth.sentCodeTypeSms', length=int} + +``` + + diff --git a/old_docs/API_docs_v105/constructors/auth_authorization.md b/old_docs/API_docs_v105/constructors/auth_authorization.md deleted file mode 100644 index cb72811d..00000000 --- a/old_docs/API_docs_v105/constructors/auth_authorization.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: auth.authorization -description: Contains user authorization info. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.authorization -[Back to constructors index](index.md) - - - -Contains user authorization info. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|tmp\_sessions|[int](../types/int.md) | Optional|Temporary [passport](https://core.telegram.org/passport) sessions| -|user|[User](../types/User.md) | Optional|Info on authorized user| - - - -### Type: [auth\_Authorization](../types/auth_Authorization.md) - - -### Example: - -```php -$auth_authorization = ['_' => 'auth.authorization', 'tmp_sessions' => int, 'user' => User]; -``` - - -Or, if you're into Lua: - -```lua -auth_authorization={_='auth.authorization', tmp_sessions=int, user=User} - -``` - - diff --git a/old_docs/API_docs_v105/constructors/auth_authorizationSignUpRequired.md b/old_docs/API_docs_v105/constructors/auth_authorizationSignUpRequired.md deleted file mode 100644 index 049680f3..00000000 --- a/old_docs/API_docs_v105/constructors/auth_authorizationSignUpRequired.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.authorizationSignUpRequired -description: An account with this phone number doesn't exist on telegram: the user has to [enter basic information and sign up](https://core.telegram.org/api/auth) -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.authorizationSignUpRequired -[Back to constructors index](index.md) - - - -An account with this phone number doesn't exist on telegram: the user has to [enter basic information and sign up](https://core.telegram.org/api/auth) - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|terms\_of\_service|[help\_TermsOfService](../types/help_TermsOfService.md) | Optional|Telegram's terms of service: the user must read and accept the terms of service before signing up to telegram| - - - -### Type: [auth\_Authorization](../types/auth_Authorization.md) - - -### Example: - -```php -$auth_authorizationSignUpRequired = ['_' => 'auth.authorizationSignUpRequired', 'terms_of_service' => help_TermsOfService]; -``` - - -Or, if you're into Lua: - -```lua -auth_authorizationSignUpRequired={_='auth.authorizationSignUpRequired', terms_of_service=help_TermsOfService} - -``` - - diff --git a/old_docs/API_docs_v105/constructors/auth_codeTypeCall.md b/old_docs/API_docs_v105/constructors/auth_codeTypeCall.md deleted file mode 100644 index 3e957c2a..00000000 --- a/old_docs/API_docs_v105/constructors/auth_codeTypeCall.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: auth.codeTypeCall -description: Type of verification code that will be sent next if you call the resendCode method: SMS code -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.codeTypeCall -[Back to constructors index](index.md) - - - -Type of verification code that will be sent next if you call the resendCode method: SMS code - - - - -### Type: [auth\_CodeType](../types/auth_CodeType.md) - - -### Example: - -```php -$auth_codeTypeCall = ['_' => 'auth.codeTypeCall']; -``` - - -Or, if you're into Lua: - -```lua -auth_codeTypeCall={_='auth.codeTypeCall'} - -``` - - diff --git a/old_docs/API_docs_v105/constructors/auth_codeTypeFlashCall.md b/old_docs/API_docs_v105/constructors/auth_codeTypeFlashCall.md deleted file mode 100644 index 981b2461..00000000 --- a/old_docs/API_docs_v105/constructors/auth_codeTypeFlashCall.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: auth.codeTypeFlashCall -description: Type of verification code that will be sent next if you call the resendCode method: SMS code -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.codeTypeFlashCall -[Back to constructors index](index.md) - - - -Type of verification code that will be sent next if you call the resendCode method: SMS code - - - - -### Type: [auth\_CodeType](../types/auth_CodeType.md) - - -### Example: - -```php -$auth_codeTypeFlashCall = ['_' => 'auth.codeTypeFlashCall']; -``` - - -Or, if you're into Lua: - -```lua -auth_codeTypeFlashCall={_='auth.codeTypeFlashCall'} - -``` - - diff --git a/old_docs/API_docs_v105/constructors/auth_codeTypeSms.md b/old_docs/API_docs_v105/constructors/auth_codeTypeSms.md deleted file mode 100644 index 16eb5d0d..00000000 --- a/old_docs/API_docs_v105/constructors/auth_codeTypeSms.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: auth.codeTypeSms -description: Type of verification code that will be sent next if you call the resendCode method: SMS code -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.codeTypeSms -[Back to constructors index](index.md) - - - -Type of verification code that will be sent next if you call the resendCode method: SMS code - - - - -### Type: [auth\_CodeType](../types/auth_CodeType.md) - - -### Example: - -```php -$auth_codeTypeSms = ['_' => 'auth.codeTypeSms']; -``` - - -Or, if you're into Lua: - -```lua -auth_codeTypeSms={_='auth.codeTypeSms'} - -``` - - diff --git a/old_docs/API_docs_v105/constructors/auth_exportedAuthorization.md b/old_docs/API_docs_v105/constructors/auth_exportedAuthorization.md deleted file mode 100644 index 8d18916e..00000000 --- a/old_docs/API_docs_v105/constructors/auth_exportedAuthorization.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: auth.exportedAuthorization -description: Data for copying of authorization between data centres. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.exportedAuthorization -[Back to constructors index](index.md) - - - -Data for copying of authorization between data centres. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|id|[int](../types/int.md) | Yes|Current user identifier| -|bytes|[bytes](../types/bytes.md) | Yes|Authorizes key| - - - -### Type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) - - -### Example: - -```php -$auth_exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -auth_exportedAuthorization={_='auth.exportedAuthorization', id=int, bytes='bytes'} - -``` - - diff --git a/old_docs/API_docs_v105/constructors/auth_passwordRecovery.md b/old_docs/API_docs_v105/constructors/auth_passwordRecovery.md deleted file mode 100644 index c40f375e..00000000 --- a/old_docs/API_docs_v105/constructors/auth_passwordRecovery.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.passwordRecovery -description: Recovery info of a [2FA password](https://core.telegram.org/api/srp), only for accounts with a [recovery email configured](https://core.telegram.org/api/srp#email-verification). -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.passwordRecovery -[Back to constructors index](index.md) - - - -Recovery info of a [2FA password](https://core.telegram.org/api/srp), only for accounts with a [recovery email configured](https://core.telegram.org/api/srp#email-verification). - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|email\_pattern|[string](../types/string.md) | Yes|The email to which the recovery code was sent must match this [pattern](https://core.telegram.org/api/pattern).| - - - -### Type: [auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) - - -### Example: - -```php -$auth_passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -auth_passwordRecovery={_='auth.passwordRecovery', email_pattern='string'} - -``` - - diff --git a/old_docs/API_docs_v105/constructors/auth_sentCode.md b/old_docs/API_docs_v105/constructors/auth_sentCode.md deleted file mode 100644 index d2b726e1..00000000 --- a/old_docs/API_docs_v105/constructors/auth_sentCode.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: auth.sentCode -description: Contains info about a sent verification code. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentCode -[Back to constructors index](index.md) - - - -Contains info about a sent verification code. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|type|[auth\_SentCodeType](../types/auth_SentCodeType.md) | Yes|Phone code type| -|phone\_code\_hash|[string](../types/string.md) | Yes|Phone code hash, to be stored and later re-used with [auth.signIn](../methods/auth.signIn.md)| -|next\_type|[auth\_CodeType](../types/auth_CodeType.md) | Optional|Phone code type that will be sent next, if the phone code is not received within `timeout` seconds: to send it use [auth.resendCode](../methods/auth.resendCode.md)| -|timeout|[int](../types/int.md) | Optional|Timeout for reception of the phone code| - - - -### Type: [auth\_SentCode](../types/auth_SentCode.md) - - -### Example: - -```php -$auth_sentCode = ['_' => 'auth.sentCode', 'type' => auth_SentCodeType, 'phone_code_hash' => 'string', 'next_type' => auth_CodeType, 'timeout' => int]; -``` - - -Or, if you're into Lua: - -```lua -auth_sentCode={_='auth.sentCode', type=auth_SentCodeType, phone_code_hash='string', next_type=auth_CodeType, timeout=int} - -``` - - diff --git a/old_docs/API_docs_v105/constructors/auth_sentCodeTypeApp.md b/old_docs/API_docs_v105/constructors/auth_sentCodeTypeApp.md deleted file mode 100644 index 6b7ad824..00000000 --- a/old_docs/API_docs_v105/constructors/auth_sentCodeTypeApp.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.sentCodeTypeApp -description: The code was sent through the telegram app -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentCodeTypeApp -[Back to constructors index](index.md) - - - -The code was sent through the telegram app - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|length|[int](../types/int.md) | Yes|Length of the code in bytes| - - - -### Type: [auth\_SentCodeType](../types/auth_SentCodeType.md) - - -### Example: - -```php -$auth_sentCodeTypeApp = ['_' => 'auth.sentCodeTypeApp', 'length' => int]; -``` - - -Or, if you're into Lua: - -```lua -auth_sentCodeTypeApp={_='auth.sentCodeTypeApp', length=int} - -``` - - diff --git a/old_docs/API_docs_v105/constructors/auth_sentCodeTypeCall.md b/old_docs/API_docs_v105/constructors/auth_sentCodeTypeCall.md deleted file mode 100644 index bf025aa5..00000000 --- a/old_docs/API_docs_v105/constructors/auth_sentCodeTypeCall.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.sentCodeTypeCall -description: The code will be sent via a phone call: a synthesized voice will tell the user which verification code to input. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentCodeTypeCall -[Back to constructors index](index.md) - - - -The code will be sent via a phone call: a synthesized voice will tell the user which verification code to input. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|length|[int](../types/int.md) | Yes|Length of the verification code| - - - -### Type: [auth\_SentCodeType](../types/auth_SentCodeType.md) - - -### Example: - -```php -$auth_sentCodeTypeCall = ['_' => 'auth.sentCodeTypeCall', 'length' => int]; -``` - - -Or, if you're into Lua: - -```lua -auth_sentCodeTypeCall={_='auth.sentCodeTypeCall', length=int} - -``` - - diff --git a/old_docs/API_docs_v105/constructors/auth_sentCodeTypeFlashCall.md b/old_docs/API_docs_v105/constructors/auth_sentCodeTypeFlashCall.md deleted file mode 100644 index efe64ce7..00000000 --- a/old_docs/API_docs_v105/constructors/auth_sentCodeTypeFlashCall.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.sentCodeTypeFlashCall -description: The code will be sent via a flash phone call, that will be closed immediately. The phone code will then be the phone number itself, just make sure that the phone number matches the specified pattern. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentCodeTypeFlashCall -[Back to constructors index](index.md) - - - -The code will be sent via a flash phone call, that will be closed immediately. The phone code will then be the phone number itself, just make sure that the phone number matches the specified pattern. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pattern|[string](../types/string.md) | Yes|[pattern](https://core.telegram.org/api/pattern) to match| - - - -### Type: [auth\_SentCodeType](../types/auth_SentCodeType.md) - - -### Example: - -```php -$auth_sentCodeTypeFlashCall = ['_' => 'auth.sentCodeTypeFlashCall', 'pattern' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -auth_sentCodeTypeFlashCall={_='auth.sentCodeTypeFlashCall', pattern='string'} - -``` - - diff --git a/old_docs/API_docs_v105/constructors/auth_sentCodeTypeSms.md b/old_docs/API_docs_v105/constructors/auth_sentCodeTypeSms.md deleted file mode 100644 index 8e27dac9..00000000 --- a/old_docs/API_docs_v105/constructors/auth_sentCodeTypeSms.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.sentCodeTypeSms -description: The code was sent via SMS -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentCodeTypeSms -[Back to constructors index](index.md) - - - -The code was sent via SMS - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|length|[int](../types/int.md) | Yes|Length of the code in bytes| - - - -### Type: [auth\_SentCodeType](../types/auth_SentCodeType.md) - - -### Example: - -```php -$auth_sentCodeTypeSms = ['_' => 'auth.sentCodeTypeSms', 'length' => int]; -``` - - -Or, if you're into Lua: - -```lua -auth_sentCodeTypeSms={_='auth.sentCodeTypeSms', length=int} - -``` - - diff --git a/old_docs/API_docs_v105/constructors/channels.adminLogResults.md b/old_docs/API_docs_v105/constructors/channels.adminLogResults.md new file mode 100644 index 00000000..fc4e234a --- /dev/null +++ b/old_docs/API_docs_v105/constructors/channels.adminLogResults.md @@ -0,0 +1,40 @@ +--- +title: channels.adminLogResults +description: Admin log events +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: channels.adminLogResults +[Back to constructors index](index.md) + + + +Admin log events + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|events|Array of [ChannelAdminLogEvent](../types/ChannelAdminLogEvent.md) | Yes|Events| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [channels.AdminLogResults](../types/channels.AdminLogResults.md) + + +### Example: + +```php +$channels.adminLogResults = ['_' => 'channels.adminLogResults', 'events' => [ChannelAdminLogEvent, ChannelAdminLogEvent], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +channels.adminLogResults={_='channels.adminLogResults', events={ChannelAdminLogEvent}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v105/constructors/channels.channelParticipant.md b/old_docs/API_docs_v105/constructors/channels.channelParticipant.md new file mode 100644 index 00000000..0f09777f --- /dev/null +++ b/old_docs/API_docs_v105/constructors/channels.channelParticipant.md @@ -0,0 +1,39 @@ +--- +title: channels.channelParticipant +description: Represents a channel participant +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: channels.channelParticipant +[Back to constructors index](index.md) + + + +Represents a channel participant + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|participant|[ChannelParticipant](../types/ChannelParticipant.md) | Yes|The channel participant| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [channels.ChannelParticipant](../types/channels.ChannelParticipant.md) + + +### Example: + +```php +$channels.channelParticipant = ['_' => 'channels.channelParticipant', 'participant' => ChannelParticipant, 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +channels.channelParticipant={_='channels.channelParticipant', participant=ChannelParticipant, users={User}} + +``` + + diff --git a/old_docs/API_docs_v105/constructors/channels.channelParticipants.md b/old_docs/API_docs_v105/constructors/channels.channelParticipants.md new file mode 100644 index 00000000..6ee1a8b3 --- /dev/null +++ b/old_docs/API_docs_v105/constructors/channels.channelParticipants.md @@ -0,0 +1,40 @@ +--- +title: channels.channelParticipants +description: Represents multiple channel participants +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: channels.channelParticipants +[Back to constructors index](index.md) + + + +Represents multiple channel participants + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of participants that correspond to the given query| +|participants|Array of [ChannelParticipant](../types/ChannelParticipant.md) | Yes|Participants| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [channels.ChannelParticipants](../types/channels.ChannelParticipants.md) + + +### Example: + +```php +$channels.channelParticipants = ['_' => 'channels.channelParticipants', 'count' => int, 'participants' => [ChannelParticipant, ChannelParticipant], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +channels.channelParticipants={_='channels.channelParticipants', count=int, participants={ChannelParticipant}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v105/constructors/channels.channelParticipantsNotModified.md b/old_docs/API_docs_v105/constructors/channels.channelParticipantsNotModified.md new file mode 100644 index 00000000..37ece73a --- /dev/null +++ b/old_docs/API_docs_v105/constructors/channels.channelParticipantsNotModified.md @@ -0,0 +1,33 @@ +--- +title: channels.channelParticipantsNotModified +description: No new participant info could be found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: channels.channelParticipantsNotModified +[Back to constructors index](index.md) + + + +No new participant info could be found + + + + +### Type: [channels.ChannelParticipants](../types/channels.ChannelParticipants.md) + + +### Example: + +```php +$channels.channelParticipantsNotModified = ['_' => 'channels.channelParticipantsNotModified']; +``` + + +Or, if you're into Lua: + +```lua +channels.channelParticipantsNotModified={_='channels.channelParticipantsNotModified'} + +``` + + diff --git a/old_docs/API_docs_v105/constructors/channels_adminLogResults.md b/old_docs/API_docs_v105/constructors/channels_adminLogResults.md deleted file mode 100644 index 9061212a..00000000 --- a/old_docs/API_docs_v105/constructors/channels_adminLogResults.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: channels.adminLogResults -description: Admin log events -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: channels.adminLogResults -[Back to constructors index](index.md) - - - -Admin log events - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|events|Array of [ChannelAdminLogEvent](../types/ChannelAdminLogEvent.md) | Yes|Events| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [channels\_AdminLogResults](../types/channels_AdminLogResults.md) - - -### Example: - -```php -$channels_adminLogResults = ['_' => 'channels.adminLogResults', 'events' => [ChannelAdminLogEvent, ChannelAdminLogEvent], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -channels_adminLogResults={_='channels.adminLogResults', events={ChannelAdminLogEvent}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v105/constructors/channels_channelParticipant.md b/old_docs/API_docs_v105/constructors/channels_channelParticipant.md deleted file mode 100644 index 15fe46a4..00000000 --- a/old_docs/API_docs_v105/constructors/channels_channelParticipant.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: channels.channelParticipant -description: Represents a channel participant -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: channels.channelParticipant -[Back to constructors index](index.md) - - - -Represents a channel participant - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|participant|[ChannelParticipant](../types/ChannelParticipant.md) | Yes|The channel participant| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [channels\_ChannelParticipant](../types/channels_ChannelParticipant.md) - - -### Example: - -```php -$channels_channelParticipant = ['_' => 'channels.channelParticipant', 'participant' => ChannelParticipant, 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -channels_channelParticipant={_='channels.channelParticipant', participant=ChannelParticipant, users={User}} - -``` - - diff --git a/old_docs/API_docs_v105/constructors/channels_channelParticipants.md b/old_docs/API_docs_v105/constructors/channels_channelParticipants.md deleted file mode 100644 index 1848a04f..00000000 --- a/old_docs/API_docs_v105/constructors/channels_channelParticipants.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: channels.channelParticipants -description: Represents multiple channel participants -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: channels.channelParticipants -[Back to constructors index](index.md) - - - -Represents multiple channel participants - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of participants that correspond to the given query| -|participants|Array of [ChannelParticipant](../types/ChannelParticipant.md) | Yes|Participants| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [channels\_ChannelParticipants](../types/channels_ChannelParticipants.md) - - -### Example: - -```php -$channels_channelParticipants = ['_' => 'channels.channelParticipants', 'count' => int, 'participants' => [ChannelParticipant, ChannelParticipant], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -channels_channelParticipants={_='channels.channelParticipants', count=int, participants={ChannelParticipant}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v105/constructors/channels_channelParticipantsNotModified.md b/old_docs/API_docs_v105/constructors/channels_channelParticipantsNotModified.md deleted file mode 100644 index 800048f7..00000000 --- a/old_docs/API_docs_v105/constructors/channels_channelParticipantsNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: channels.channelParticipantsNotModified -description: No new participant info could be found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: channels.channelParticipantsNotModified -[Back to constructors index](index.md) - - - -No new participant info could be found - - - - -### Type: [channels\_ChannelParticipants](../types/channels_ChannelParticipants.md) - - -### Example: - -```php -$channels_channelParticipantsNotModified = ['_' => 'channels.channelParticipantsNotModified']; -``` - - -Or, if you're into Lua: - -```lua -channels_channelParticipantsNotModified={_='channels.channelParticipantsNotModified'} - -``` - - diff --git a/old_docs/API_docs_v105/constructors/contacts.blocked.md b/old_docs/API_docs_v105/constructors/contacts.blocked.md new file mode 100644 index 00000000..d2b3f680 --- /dev/null +++ b/old_docs/API_docs_v105/constructors/contacts.blocked.md @@ -0,0 +1,39 @@ +--- +title: contacts.blocked +description: Full list of blocked users. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.blocked +[Back to constructors index](index.md) + + + +Full list of blocked users. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Blocked](../types/contacts.Blocked.md) + + +### Example: + +```php +$contacts.blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.blocked={_='contacts.blocked', blocked={ContactBlocked}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v105/constructors/contacts.blockedSlice.md b/old_docs/API_docs_v105/constructors/contacts.blockedSlice.md new file mode 100644 index 00000000..92d19c72 --- /dev/null +++ b/old_docs/API_docs_v105/constructors/contacts.blockedSlice.md @@ -0,0 +1,40 @@ +--- +title: contacts.blockedSlice +description: Incomplete list of blocked users. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.blockedSlice +[Back to constructors index](index.md) + + + +Incomplete list of blocked users. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of elements in the list| +|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Blocked](../types/contacts.Blocked.md) + + +### Example: + +```php +$contacts.blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.blockedSlice={_='contacts.blockedSlice', count=int, blocked={ContactBlocked}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v105/constructors/contacts.contacts.md b/old_docs/API_docs_v105/constructors/contacts.contacts.md new file mode 100644 index 00000000..c3251e5d --- /dev/null +++ b/old_docs/API_docs_v105/constructors/contacts.contacts.md @@ -0,0 +1,40 @@ +--- +title: contacts.contacts +description: The current user's contact list and info on users. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.contacts +[Back to constructors index](index.md) + + + +The current user's contact list and info on users. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|contacts|Array of [Contact](../types/Contact.md) | Yes|Contacts| +|saved\_count|[int](../types/int.md) | Yes|Number of contacts that were saved successfully| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Contacts](../types/contacts.Contacts.md) + + +### Example: + +```php +$contacts.contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact, Contact], 'saved_count' => int, 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.contacts={_='contacts.contacts', contacts={Contact}, saved_count=int, users={User}} + +``` + + diff --git a/old_docs/API_docs_v105/constructors/contacts.contactsNotModified.md b/old_docs/API_docs_v105/constructors/contacts.contactsNotModified.md new file mode 100644 index 00000000..e2149396 --- /dev/null +++ b/old_docs/API_docs_v105/constructors/contacts.contactsNotModified.md @@ -0,0 +1,33 @@ +--- +title: contacts.contactsNotModified +description: Contact list on the server is the same as the list on the client. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.contactsNotModified +[Back to constructors index](index.md) + + + +Contact list on the server is the same as the list on the client. + + + + +### Type: [contacts.Contacts](../types/contacts.Contacts.md) + + +### Example: + +```php +$contacts.contactsNotModified = ['_' => 'contacts.contactsNotModified']; +``` + + +Or, if you're into Lua: + +```lua +contacts.contactsNotModified={_='contacts.contactsNotModified'} + +``` + + diff --git a/old_docs/API_docs_v105/constructors/contacts.found.md b/old_docs/API_docs_v105/constructors/contacts.found.md new file mode 100644 index 00000000..65df2f8d --- /dev/null +++ b/old_docs/API_docs_v105/constructors/contacts.found.md @@ -0,0 +1,41 @@ +--- +title: contacts.found +description: Users found by name substring and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.found +[Back to constructors index](index.md) + + + +Users found by name substring and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|my\_results|Array of [Peer](../types/Peer.md) | Yes|My results| +|results|Array of [Peer](../types/Peer.md) | Yes|Results| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Found](../types/contacts.Found.md) + + +### Example: + +```php +$contacts.found = ['_' => 'contacts.found', 'my_results' => [Peer, Peer], 'results' => [Peer, Peer], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.found={_='contacts.found', my_results={Peer}, results={Peer}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v105/constructors/contacts.importedContacts.md b/old_docs/API_docs_v105/constructors/contacts.importedContacts.md new file mode 100644 index 00000000..20075931 --- /dev/null +++ b/old_docs/API_docs_v105/constructors/contacts.importedContacts.md @@ -0,0 +1,41 @@ +--- +title: contacts.importedContacts +description: Info on succesfully imported contacts. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.importedContacts +[Back to constructors index](index.md) + + + +Info on succesfully imported contacts. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|imported|Array of [ImportedContact](../types/ImportedContact.md) | Yes|Imported| +|popular\_invites|Array of [PopularContact](../types/PopularContact.md) | Yes|Popular invites| +|retry\_contacts|Array of [long](../types/long.md) | Yes|Retry importing contacts whose client IDs appear here| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.ImportedContacts](../types/contacts.ImportedContacts.md) + + +### Example: + +```php +$contacts.importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact, ImportedContact], 'popular_invites' => [PopularContact, PopularContact], 'retry_contacts' => [long, long], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.importedContacts={_='contacts.importedContacts', imported={ImportedContact}, popular_invites={PopularContact}, retry_contacts={long}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v105/constructors/contacts.resolvedPeer.md b/old_docs/API_docs_v105/constructors/contacts.resolvedPeer.md new file mode 100644 index 00000000..35d88481 --- /dev/null +++ b/old_docs/API_docs_v105/constructors/contacts.resolvedPeer.md @@ -0,0 +1,40 @@ +--- +title: contacts.resolvedPeer +description: Resolved peer +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.resolvedPeer +[Back to constructors index](index.md) + + + +Resolved peer + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|peer|[Peer](../types/Peer.md) | Yes|The peer| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.ResolvedPeer](../types/contacts.ResolvedPeer.md) + + +### Example: + +```php +$contacts.resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.resolvedPeer={_='contacts.resolvedPeer', peer=Peer, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v105/constructors/contacts.topPeers.md b/old_docs/API_docs_v105/constructors/contacts.topPeers.md new file mode 100644 index 00000000..19d9c712 --- /dev/null +++ b/old_docs/API_docs_v105/constructors/contacts.topPeers.md @@ -0,0 +1,40 @@ +--- +title: contacts.topPeers +description: Top peers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.topPeers +[Back to constructors index](index.md) + + + +Top peers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|categories|Array of [TopPeerCategoryPeers](../types/TopPeerCategoryPeers.md) | Yes|Categories| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.TopPeers](../types/contacts.TopPeers.md) + + +### Example: + +```php +$contacts.topPeers = ['_' => 'contacts.topPeers', 'categories' => [TopPeerCategoryPeers, TopPeerCategoryPeers], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.topPeers={_='contacts.topPeers', categories={TopPeerCategoryPeers}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v105/constructors/contacts.topPeersDisabled.md b/old_docs/API_docs_v105/constructors/contacts.topPeersDisabled.md new file mode 100644 index 00000000..a0e2c50b --- /dev/null +++ b/old_docs/API_docs_v105/constructors/contacts.topPeersDisabled.md @@ -0,0 +1,33 @@ +--- +title: contacts.topPeersDisabled +description: Top peers disabled +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.topPeersDisabled +[Back to constructors index](index.md) + + + +Top peers disabled + + + + +### Type: [contacts.TopPeers](../types/contacts.TopPeers.md) + + +### Example: + +```php +$contacts.topPeersDisabled = ['_' => 'contacts.topPeersDisabled']; +``` + + +Or, if you're into Lua: + +```lua +contacts.topPeersDisabled={_='contacts.topPeersDisabled'} + +``` + + diff --git a/old_docs/API_docs_v105/constructors/contacts.topPeersNotModified.md b/old_docs/API_docs_v105/constructors/contacts.topPeersNotModified.md new file mode 100644 index 00000000..77c5eb4d --- /dev/null +++ b/old_docs/API_docs_v105/constructors/contacts.topPeersNotModified.md @@ -0,0 +1,33 @@ +--- +title: contacts.topPeersNotModified +description: Top peer info hasn't changed +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.topPeersNotModified +[Back to constructors index](index.md) + + + +Top peer info hasn't changed + + + + +### Type: [contacts.TopPeers](../types/contacts.TopPeers.md) + + +### Example: + +```php +$contacts.topPeersNotModified = ['_' => 'contacts.topPeersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +contacts.topPeersNotModified={_='contacts.topPeersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v105/constructors/contacts_blocked.md b/old_docs/API_docs_v105/constructors/contacts_blocked.md deleted file mode 100644 index 20e33002..00000000 --- a/old_docs/API_docs_v105/constructors/contacts_blocked.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: contacts.blocked -description: Full list of blocked users. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.blocked -[Back to constructors index](index.md) - - - -Full list of blocked users. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Blocked](../types/contacts_Blocked.md) - - -### Example: - -```php -$contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_blocked={_='contacts.blocked', blocked={ContactBlocked}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v105/constructors/contacts_blockedSlice.md b/old_docs/API_docs_v105/constructors/contacts_blockedSlice.md deleted file mode 100644 index fcab9a28..00000000 --- a/old_docs/API_docs_v105/constructors/contacts_blockedSlice.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.blockedSlice -description: Incomplete list of blocked users. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.blockedSlice -[Back to constructors index](index.md) - - - -Incomplete list of blocked users. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of elements in the list| -|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Blocked](../types/contacts_Blocked.md) - - -### Example: - -```php -$contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_blockedSlice={_='contacts.blockedSlice', count=int, blocked={ContactBlocked}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v105/constructors/contacts_contacts.md b/old_docs/API_docs_v105/constructors/contacts_contacts.md deleted file mode 100644 index 0e6f0dd3..00000000 --- a/old_docs/API_docs_v105/constructors/contacts_contacts.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.contacts -description: The current user's contact list and info on users. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.contacts -[Back to constructors index](index.md) - - - -The current user's contact list and info on users. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|contacts|Array of [Contact](../types/Contact.md) | Yes|Contacts| -|saved\_count|[int](../types/int.md) | Yes|Number of contacts that were saved successfully| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Contacts](../types/contacts_Contacts.md) - - -### Example: - -```php -$contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact, Contact], 'saved_count' => int, 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_contacts={_='contacts.contacts', contacts={Contact}, saved_count=int, users={User}} - -``` - - diff --git a/old_docs/API_docs_v105/constructors/contacts_contactsNotModified.md b/old_docs/API_docs_v105/constructors/contacts_contactsNotModified.md deleted file mode 100644 index 17e76ac3..00000000 --- a/old_docs/API_docs_v105/constructors/contacts_contactsNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: contacts.contactsNotModified -description: Contact list on the server is the same as the list on the client. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.contactsNotModified -[Back to constructors index](index.md) - - - -Contact list on the server is the same as the list on the client. - - - - -### Type: [contacts\_Contacts](../types/contacts_Contacts.md) - - -### Example: - -```php -$contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified']; -``` - - -Or, if you're into Lua: - -```lua -contacts_contactsNotModified={_='contacts.contactsNotModified'} - -``` - - diff --git a/old_docs/API_docs_v105/constructors/contacts_found.md b/old_docs/API_docs_v105/constructors/contacts_found.md deleted file mode 100644 index 76b9aa0c..00000000 --- a/old_docs/API_docs_v105/constructors/contacts_found.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: contacts.found -description: Users found by name substring and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.found -[Back to constructors index](index.md) - - - -Users found by name substring and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|my\_results|Array of [Peer](../types/Peer.md) | Yes|My results| -|results|Array of [Peer](../types/Peer.md) | Yes|Results| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Found](../types/contacts_Found.md) - - -### Example: - -```php -$contacts_found = ['_' => 'contacts.found', 'my_results' => [Peer, Peer], 'results' => [Peer, Peer], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_found={_='contacts.found', my_results={Peer}, results={Peer}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v105/constructors/contacts_importedContacts.md b/old_docs/API_docs_v105/constructors/contacts_importedContacts.md deleted file mode 100644 index e534754b..00000000 --- a/old_docs/API_docs_v105/constructors/contacts_importedContacts.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: contacts.importedContacts -description: Info on succesfully imported contacts. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.importedContacts -[Back to constructors index](index.md) - - - -Info on succesfully imported contacts. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|imported|Array of [ImportedContact](../types/ImportedContact.md) | Yes|Imported| -|popular\_invites|Array of [PopularContact](../types/PopularContact.md) | Yes|Popular invites| -|retry\_contacts|Array of [long](../types/long.md) | Yes|Retry importing contacts whose client IDs appear here| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) - - -### Example: - -```php -$contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact, ImportedContact], 'popular_invites' => [PopularContact, PopularContact], 'retry_contacts' => [long, long], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_importedContacts={_='contacts.importedContacts', imported={ImportedContact}, popular_invites={PopularContact}, retry_contacts={long}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v105/constructors/contacts_resolvedPeer.md b/old_docs/API_docs_v105/constructors/contacts_resolvedPeer.md deleted file mode 100644 index aae3c7af..00000000 --- a/old_docs/API_docs_v105/constructors/contacts_resolvedPeer.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.resolvedPeer -description: Resolved peer -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.resolvedPeer -[Back to constructors index](index.md) - - - -Resolved peer - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|peer|[Peer](../types/Peer.md) | Yes|The peer| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_ResolvedPeer](../types/contacts_ResolvedPeer.md) - - -### Example: - -```php -$contacts_resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_resolvedPeer={_='contacts.resolvedPeer', peer=Peer, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v105/constructors/contacts_topPeers.md b/old_docs/API_docs_v105/constructors/contacts_topPeers.md deleted file mode 100644 index 77bc07d3..00000000 --- a/old_docs/API_docs_v105/constructors/contacts_topPeers.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.topPeers -description: Top peers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.topPeers -[Back to constructors index](index.md) - - - -Top peers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|categories|Array of [TopPeerCategoryPeers](../types/TopPeerCategoryPeers.md) | Yes|Categories| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_TopPeers](../types/contacts_TopPeers.md) - - -### Example: - -```php -$contacts_topPeers = ['_' => 'contacts.topPeers', 'categories' => [TopPeerCategoryPeers, TopPeerCategoryPeers], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_topPeers={_='contacts.topPeers', categories={TopPeerCategoryPeers}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v105/constructors/contacts_topPeersDisabled.md b/old_docs/API_docs_v105/constructors/contacts_topPeersDisabled.md deleted file mode 100644 index e359a76d..00000000 --- a/old_docs/API_docs_v105/constructors/contacts_topPeersDisabled.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: contacts.topPeersDisabled -description: Top peers disabled -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.topPeersDisabled -[Back to constructors index](index.md) - - - -Top peers disabled - - - - -### Type: [contacts\_TopPeers](../types/contacts_TopPeers.md) - - -### Example: - -```php -$contacts_topPeersDisabled = ['_' => 'contacts.topPeersDisabled']; -``` - - -Or, if you're into Lua: - -```lua -contacts_topPeersDisabled={_='contacts.topPeersDisabled'} - -``` - - diff --git a/old_docs/API_docs_v105/constructors/contacts_topPeersNotModified.md b/old_docs/API_docs_v105/constructors/contacts_topPeersNotModified.md deleted file mode 100644 index 43eae59d..00000000 --- a/old_docs/API_docs_v105/constructors/contacts_topPeersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: contacts.topPeersNotModified -description: Top peer info hasn't changed -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.topPeersNotModified -[Back to constructors index](index.md) - - - -Top peer info hasn't changed - - - - -### Type: [contacts\_TopPeers](../types/contacts_TopPeers.md) - - -### Example: - -```php -$contacts_topPeersNotModified = ['_' => 'contacts.topPeersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -contacts_topPeersNotModified={_='contacts.topPeersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v105/constructors/help.appUpdate.md b/old_docs/API_docs_v105/constructors/help.appUpdate.md new file mode 100644 index 00000000..ba83f72b --- /dev/null +++ b/old_docs/API_docs_v105/constructors/help.appUpdate.md @@ -0,0 +1,44 @@ +--- +title: help.appUpdate +description: An update is available for the application. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.appUpdate +[Back to constructors index](index.md) + + + +An update is available for the application. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|can\_not\_skip|[Bool](../types/Bool.md) | Optional|Unskippable, the new info must be shown to the user (with a popup or something else)| +|id|[int](../types/int.md) | Yes|Update ID| +|version|[string](../types/string.md) | Yes|New version name| +|text|[string](../types/string.md) | Yes|Text description of the update| +|entities|Array of [MessageEntity](../types/MessageEntity.md) | Yes|Entities| +|document|[Document](../types/Document.md) | Optional|Attached document| +|url|[string](../types/string.md) | Optional|Application download URL| + + + +### Type: [help.AppUpdate](../types/help.AppUpdate.md) + + +### Example: + +```php +$help.appUpdate = ['_' => 'help.appUpdate', 'can_not_skip' => Bool, 'id' => int, 'version' => 'string', 'text' => 'string', 'entities' => [MessageEntity, MessageEntity], 'document' => Document, 'url' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +help.appUpdate={_='help.appUpdate', can_not_skip=Bool, id=int, version='string', text='string', entities={MessageEntity}, document=Document, url='string'} + +``` + + diff --git a/old_docs/API_docs_v105/constructors/help.configSimple.md b/old_docs/API_docs_v105/constructors/help.configSimple.md new file mode 100644 index 00000000..4070e1ce --- /dev/null +++ b/old_docs/API_docs_v105/constructors/help.configSimple.md @@ -0,0 +1,40 @@ +--- +title: help.configSimple +description: Config simple +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.configSimple +[Back to constructors index](index.md) + + + +Config simple + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Date| +|expires|[int](../types/int.md) | Yes|Expires| +|rules|Array of [AccessPointRule](../types/AccessPointRule.md) | Yes|Rules| + + + +### Type: [help.ConfigSimple](../types/help.ConfigSimple.md) + + +### Example: + +```php +$help.configSimple = ['_' => 'help.configSimple', 'date' => int, 'expires' => int, 'rules' => [AccessPointRule, AccessPointRule]]; +``` + + +Or, if you're into Lua: + +```lua +help.configSimple={_='help.configSimple', date=int, expires=int, rules={AccessPointRule}} + +``` + + diff --git a/old_docs/API_docs_v105/constructors/help.deepLinkInfo.md b/old_docs/API_docs_v105/constructors/help.deepLinkInfo.md new file mode 100644 index 00000000..78f70af0 --- /dev/null +++ b/old_docs/API_docs_v105/constructors/help.deepLinkInfo.md @@ -0,0 +1,40 @@ +--- +title: help.deepLinkInfo +description: Deep linking info +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.deepLinkInfo +[Back to constructors index](index.md) + + + +Deep linking info + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|update\_app|[Bool](../types/Bool.md) | Optional|An update of the app is required to parse this link| +|message|[string](../types/string.md) | Yes|Message to show to the user| +|entities|Array of [MessageEntity](../types/MessageEntity.md) | Optional|Entities| + + + +### Type: [help.DeepLinkInfo](../types/help.DeepLinkInfo.md) + + +### Example: + +```php +$help.deepLinkInfo = ['_' => 'help.deepLinkInfo', 'update_app' => Bool, 'message' => 'string', 'entities' => [MessageEntity, MessageEntity]]; +``` + + +Or, if you're into Lua: + +```lua +help.deepLinkInfo={_='help.deepLinkInfo', update_app=Bool, message='string', entities={MessageEntity}} + +``` + + diff --git a/old_docs/API_docs_v105/constructors/help.deepLinkInfoEmpty.md b/old_docs/API_docs_v105/constructors/help.deepLinkInfoEmpty.md new file mode 100644 index 00000000..dc99166c --- /dev/null +++ b/old_docs/API_docs_v105/constructors/help.deepLinkInfoEmpty.md @@ -0,0 +1,33 @@ +--- +title: help.deepLinkInfoEmpty +description: Deep link info empty +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.deepLinkInfoEmpty +[Back to constructors index](index.md) + + + +Deep link info empty + + + + +### Type: [help.DeepLinkInfo](../types/help.DeepLinkInfo.md) + + +### Example: + +```php +$help.deepLinkInfoEmpty = ['_' => 'help.deepLinkInfoEmpty']; +``` + + +Or, if you're into Lua: + +```lua +help.deepLinkInfoEmpty={_='help.deepLinkInfoEmpty'} + +``` + + diff --git a/old_docs/API_docs_v105/constructors/help.inviteText.md b/old_docs/API_docs_v105/constructors/help.inviteText.md new file mode 100644 index 00000000..6a6261c1 --- /dev/null +++ b/old_docs/API_docs_v105/constructors/help.inviteText.md @@ -0,0 +1,38 @@ +--- +title: help.inviteText +description: Text of a text message with an invitation to install application. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.inviteText +[Back to constructors index](index.md) + + + +Text of a text message with an invitation to install application. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|message|[string](../types/string.md) | Yes|Text of a message| + + + +### Type: [help.InviteText](../types/help.InviteText.md) + + +### Example: + +```php +$help.inviteText = ['_' => 'help.inviteText', 'message' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +help.inviteText={_='help.inviteText', message='string'} + +``` + + diff --git a/old_docs/API_docs_v105/constructors/help.noAppUpdate.md b/old_docs/API_docs_v105/constructors/help.noAppUpdate.md new file mode 100644 index 00000000..1b69ac9a --- /dev/null +++ b/old_docs/API_docs_v105/constructors/help.noAppUpdate.md @@ -0,0 +1,33 @@ +--- +title: help.noAppUpdate +description: No updates are available for the application. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.noAppUpdate +[Back to constructors index](index.md) + + + +No updates are available for the application. + + + + +### Type: [help.AppUpdate](../types/help.AppUpdate.md) + + +### Example: + +```php +$help.noAppUpdate = ['_' => 'help.noAppUpdate']; +``` + + +Or, if you're into Lua: + +```lua +help.noAppUpdate={_='help.noAppUpdate'} + +``` + + diff --git a/old_docs/API_docs_v105/constructors/help.passportConfig.md b/old_docs/API_docs_v105/constructors/help.passportConfig.md new file mode 100644 index 00000000..b418b611 --- /dev/null +++ b/old_docs/API_docs_v105/constructors/help.passportConfig.md @@ -0,0 +1,39 @@ +--- +title: help.passportConfig +description: Telegram [passport](https://core.telegram.org/passport) configuration +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.passportConfig +[Back to constructors index](index.md) + + + +Telegram [passport](https://core.telegram.org/passport) configuration + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|countries\_langs|[DataJSON](../types/DataJSON.md) | Yes|Localization| + + + +### Type: [help.PassportConfig](../types/help.PassportConfig.md) + + +### Example: + +```php +$help.passportConfig = ['_' => 'help.passportConfig', 'hash' => int, 'countries_langs' => DataJSON]; +``` + + +Or, if you're into Lua: + +```lua +help.passportConfig={_='help.passportConfig', hash=int, countries_langs=DataJSON} + +``` + + diff --git a/old_docs/API_docs_v105/constructors/help.passportConfigNotModified.md b/old_docs/API_docs_v105/constructors/help.passportConfigNotModified.md new file mode 100644 index 00000000..d48cc55b --- /dev/null +++ b/old_docs/API_docs_v105/constructors/help.passportConfigNotModified.md @@ -0,0 +1,33 @@ +--- +title: help.passportConfigNotModified +description: Password configuration not modified +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.passportConfigNotModified +[Back to constructors index](index.md) + + + +Password configuration not modified + + + + +### Type: [help.PassportConfig](../types/help.PassportConfig.md) + + +### Example: + +```php +$help.passportConfigNotModified = ['_' => 'help.passportConfigNotModified']; +``` + + +Or, if you're into Lua: + +```lua +help.passportConfigNotModified={_='help.passportConfigNotModified'} + +``` + + diff --git a/old_docs/API_docs_v105/constructors/help.proxyDataEmpty.md b/old_docs/API_docs_v105/constructors/help.proxyDataEmpty.md new file mode 100644 index 00000000..66fd63ac --- /dev/null +++ b/old_docs/API_docs_v105/constructors/help.proxyDataEmpty.md @@ -0,0 +1,38 @@ +--- +title: help.proxyDataEmpty +description: No proxy was used to connect to tg (or none was provided to [initConnection](../methods/initConnection.md), or the used proxy doesn't have a promotion channel associated to it) +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.proxyDataEmpty +[Back to constructors index](index.md) + + + +No proxy was used to connect to tg (or none was provided to [initConnection](../methods/initConnection.md), or the used proxy doesn't have a promotion channel associated to it) + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|expires|[int](../types/int.md) | Yes|Expiration date of proxy info, will have to be refetched in `expires` seconds| + + + +### Type: [help.ProxyData](../types/help.ProxyData.md) + + +### Example: + +```php +$help.proxyDataEmpty = ['_' => 'help.proxyDataEmpty', 'expires' => int]; +``` + + +Or, if you're into Lua: + +```lua +help.proxyDataEmpty={_='help.proxyDataEmpty', expires=int} + +``` + + diff --git a/old_docs/API_docs_v105/constructors/help.proxyDataPromo.md b/old_docs/API_docs_v105/constructors/help.proxyDataPromo.md new file mode 100644 index 00000000..eb32aabd --- /dev/null +++ b/old_docs/API_docs_v105/constructors/help.proxyDataPromo.md @@ -0,0 +1,41 @@ +--- +title: help.proxyDataPromo +description: Promotion channel associated to a certain MTProxy +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.proxyDataPromo +[Back to constructors index](index.md) + + + +Promotion channel associated to a certain MTProxy + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|expires|[int](../types/int.md) | Yes|Expiration date of proxy info, will have to be refetched in `expires` seconds| +|peer|[Peer](../types/Peer.md) | Yes|The promoted channel| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [help.ProxyData](../types/help.ProxyData.md) + + +### Example: + +```php +$help.proxyDataPromo = ['_' => 'help.proxyDataPromo', 'expires' => int, 'peer' => Peer, 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +help.proxyDataPromo={_='help.proxyDataPromo', expires=int, peer=Peer, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v105/constructors/help.recentMeUrls.md b/old_docs/API_docs_v105/constructors/help.recentMeUrls.md new file mode 100644 index 00000000..711407b7 --- /dev/null +++ b/old_docs/API_docs_v105/constructors/help.recentMeUrls.md @@ -0,0 +1,40 @@ +--- +title: help.recentMeUrls +description: Recent t.me URLs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.recentMeUrls +[Back to constructors index](index.md) + + + +Recent t.me URLs + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|urls|Array of [RecentMeUrl](../types/RecentMeUrl.md) | Yes|URLs| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [help.RecentMeUrls](../types/help.RecentMeUrls.md) + + +### Example: + +```php +$help.recentMeUrls = ['_' => 'help.recentMeUrls', 'urls' => [RecentMeUrl, RecentMeUrl], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +help.recentMeUrls={_='help.recentMeUrls', urls={RecentMeUrl}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v105/constructors/help.support.md b/old_docs/API_docs_v105/constructors/help.support.md new file mode 100644 index 00000000..4d4f85fb --- /dev/null +++ b/old_docs/API_docs_v105/constructors/help.support.md @@ -0,0 +1,39 @@ +--- +title: help.support +description: Info on support user. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.support +[Back to constructors index](index.md) + + + +Info on support user. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_number|[string](../types/string.md) | Yes|Phone number| +|user|[User](../types/User.md) | Optional|User| + + + +### Type: [help.Support](../types/help.Support.md) + + +### Example: + +```php +$help.support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => User]; +``` + + +Or, if you're into Lua: + +```lua +help.support={_='help.support', phone_number='string', user=User} + +``` + + diff --git a/old_docs/API_docs_v105/constructors/help.supportName.md b/old_docs/API_docs_v105/constructors/help.supportName.md new file mode 100644 index 00000000..3d66c8d9 --- /dev/null +++ b/old_docs/API_docs_v105/constructors/help.supportName.md @@ -0,0 +1,38 @@ +--- +title: help.supportName +description: Localized name for telegram support +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.supportName +[Back to constructors index](index.md) + + + +Localized name for telegram support + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|name|[string](../types/string.md) | Yes|Localized name| + + + +### Type: [help.SupportName](../types/help.SupportName.md) + + +### Example: + +```php +$help.supportName = ['_' => 'help.supportName', 'name' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +help.supportName={_='help.supportName', name='string'} + +``` + + diff --git a/old_docs/API_docs_v105/constructors/help.termsOfService.md b/old_docs/API_docs_v105/constructors/help.termsOfService.md new file mode 100644 index 00000000..61ffb70a --- /dev/null +++ b/old_docs/API_docs_v105/constructors/help.termsOfService.md @@ -0,0 +1,42 @@ +--- +title: help.termsOfService +description: Info about the latest telegram Terms Of Service +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.termsOfService +[Back to constructors index](index.md) + + + +Info about the latest telegram Terms Of Service + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|popup|[Bool](../types/Bool.md) | Optional|Whether a prompt must be showed to the user, in order to accept the new terms.| +|id|[DataJSON](../types/DataJSON.md) | Yes|ID of the new terms| +|text|[string](../types/string.md) | Yes|Text of the new terms| +|entities|Array of [MessageEntity](../types/MessageEntity.md) | Yes|Entities| +|min\_age\_confirm|[int](../types/int.md) | Optional|Minimum age required to sign up to telegram, the user must confirm that they is older than the minimum age.| + + + +### Type: [help.TermsOfService](../types/help.TermsOfService.md) + + +### Example: + +```php +$help.termsOfService = ['_' => 'help.termsOfService', 'popup' => Bool, 'id' => DataJSON, 'text' => 'string', 'entities' => [MessageEntity, MessageEntity], 'min_age_confirm' => int]; +``` + + +Or, if you're into Lua: + +```lua +help.termsOfService={_='help.termsOfService', popup=Bool, id=DataJSON, text='string', entities={MessageEntity}, min_age_confirm=int} + +``` + + diff --git a/old_docs/API_docs_v105/constructors/help.termsOfServiceUpdate.md b/old_docs/API_docs_v105/constructors/help.termsOfServiceUpdate.md new file mode 100644 index 00000000..058a3655 --- /dev/null +++ b/old_docs/API_docs_v105/constructors/help.termsOfServiceUpdate.md @@ -0,0 +1,39 @@ +--- +title: help.termsOfServiceUpdate +description: Info about an update of telegram's terms of service. If the terms of service are declined, then the [account.deleteAccount](../methods/account.deleteAccount.md) method should be called with the reason "Decline ToS update" +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.termsOfServiceUpdate +[Back to constructors index](index.md) + + + +Info about an update of telegram's terms of service. If the terms of service are declined, then the [account.deleteAccount](../methods/account.deleteAccount.md) method should be called with the reason "Decline ToS update" + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|expires|[int](../types/int.md) | Yes|New TOS updates will have to be queried using [help.getTermsOfServiceUpdate](../methods/help.getTermsOfServiceUpdate.md) in `expires` seconds| +|terms\_of\_service|[help.TermsOfService](../constructors/help.TermsOfService.md) | Yes|New terms of service| + + + +### Type: [help.TermsOfServiceUpdate](../types/help.TermsOfServiceUpdate.md) + + +### Example: + +```php +$help.termsOfServiceUpdate = ['_' => 'help.termsOfServiceUpdate', 'expires' => int, 'terms_of_service' => help.TermsOfService]; +``` + + +Or, if you're into Lua: + +```lua +help.termsOfServiceUpdate={_='help.termsOfServiceUpdate', expires=int, terms_of_service=help.TermsOfService} + +``` + + diff --git a/old_docs/API_docs_v105/constructors/help.termsOfServiceUpdateEmpty.md b/old_docs/API_docs_v105/constructors/help.termsOfServiceUpdateEmpty.md new file mode 100644 index 00000000..8213a41e --- /dev/null +++ b/old_docs/API_docs_v105/constructors/help.termsOfServiceUpdateEmpty.md @@ -0,0 +1,38 @@ +--- +title: help.termsOfServiceUpdateEmpty +description: No changes were made to telegram's terms of service +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.termsOfServiceUpdateEmpty +[Back to constructors index](index.md) + + + +No changes were made to telegram's terms of service + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|expires|[int](../types/int.md) | Yes|New TOS updates will have to be queried using [help.getTermsOfServiceUpdate](../methods/help.getTermsOfServiceUpdate.md) in `expires` seconds| + + + +### Type: [help.TermsOfServiceUpdate](../types/help.TermsOfServiceUpdate.md) + + +### Example: + +```php +$help.termsOfServiceUpdateEmpty = ['_' => 'help.termsOfServiceUpdateEmpty', 'expires' => int]; +``` + + +Or, if you're into Lua: + +```lua +help.termsOfServiceUpdateEmpty={_='help.termsOfServiceUpdateEmpty', expires=int} + +``` + + diff --git a/old_docs/API_docs_v105/constructors/help.userInfo.md b/old_docs/API_docs_v105/constructors/help.userInfo.md new file mode 100644 index 00000000..172df165 --- /dev/null +++ b/old_docs/API_docs_v105/constructors/help.userInfo.md @@ -0,0 +1,41 @@ +--- +title: help.userInfo +description: Internal use +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.userInfo +[Back to constructors index](index.md) + + + +Internal use + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|message|[string](../types/string.md) | Yes|Info| +|entities|Array of [MessageEntity](../types/MessageEntity.md) | Yes|Entities| +|author|[string](../types/string.md) | Yes|Author| +|date|[int](../types/int.md) | Yes|Date| + + + +### Type: [help.UserInfo](../types/help.UserInfo.md) + + +### Example: + +```php +$help.userInfo = ['_' => 'help.userInfo', 'message' => 'string', 'entities' => [MessageEntity, MessageEntity], 'author' => 'string', 'date' => int]; +``` + + +Or, if you're into Lua: + +```lua +help.userInfo={_='help.userInfo', message='string', entities={MessageEntity}, author='string', date=int} + +``` + + diff --git a/old_docs/API_docs_v105/constructors/help.userInfoEmpty.md b/old_docs/API_docs_v105/constructors/help.userInfoEmpty.md new file mode 100644 index 00000000..c284d602 --- /dev/null +++ b/old_docs/API_docs_v105/constructors/help.userInfoEmpty.md @@ -0,0 +1,33 @@ +--- +title: help.userInfoEmpty +description: Internal use +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.userInfoEmpty +[Back to constructors index](index.md) + + + +Internal use + + + + +### Type: [help.UserInfo](../types/help.UserInfo.md) + + +### Example: + +```php +$help.userInfoEmpty = ['_' => 'help.userInfoEmpty']; +``` + + +Or, if you're into Lua: + +```lua +help.userInfoEmpty={_='help.userInfoEmpty'} + +``` + + diff --git a/old_docs/API_docs_v105/constructors/help_appUpdate.md b/old_docs/API_docs_v105/constructors/help_appUpdate.md deleted file mode 100644 index 5075764d..00000000 --- a/old_docs/API_docs_v105/constructors/help_appUpdate.md +++ /dev/null @@ -1,44 +0,0 @@ ---- -title: help.appUpdate -description: An update is available for the application. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.appUpdate -[Back to constructors index](index.md) - - - -An update is available for the application. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|can\_not\_skip|[Bool](../types/Bool.md) | Optional|Unskippable, the new info must be shown to the user (with a popup or something else)| -|id|[int](../types/int.md) | Yes|Update ID| -|version|[string](../types/string.md) | Yes|New version name| -|text|[string](../types/string.md) | Yes|Text description of the update| -|entities|Array of [MessageEntity](../types/MessageEntity.md) | Yes|Entities| -|document|[Document](../types/Document.md) | Optional|Attached document| -|url|[string](../types/string.md) | Optional|Application download URL| - - - -### Type: [help\_AppUpdate](../types/help_AppUpdate.md) - - -### Example: - -```php -$help_appUpdate = ['_' => 'help.appUpdate', 'can_not_skip' => Bool, 'id' => int, 'version' => 'string', 'text' => 'string', 'entities' => [MessageEntity, MessageEntity], 'document' => Document, 'url' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -help_appUpdate={_='help.appUpdate', can_not_skip=Bool, id=int, version='string', text='string', entities={MessageEntity}, document=Document, url='string'} - -``` - - diff --git a/old_docs/API_docs_v105/constructors/help_configSimple.md b/old_docs/API_docs_v105/constructors/help_configSimple.md deleted file mode 100644 index 8c07ec9b..00000000 --- a/old_docs/API_docs_v105/constructors/help_configSimple.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: help.configSimple -description: Config simple -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.configSimple -[Back to constructors index](index.md) - - - -Config simple - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Date| -|expires|[int](../types/int.md) | Yes|Expires| -|rules|Array of [AccessPointRule](../types/AccessPointRule.md) | Yes|Rules| - - - -### Type: [help\_ConfigSimple](../types/help_ConfigSimple.md) - - -### Example: - -```php -$help_configSimple = ['_' => 'help.configSimple', 'date' => int, 'expires' => int, 'rules' => [AccessPointRule, AccessPointRule]]; -``` - - -Or, if you're into Lua: - -```lua -help_configSimple={_='help.configSimple', date=int, expires=int, rules={AccessPointRule}} - -``` - - diff --git a/old_docs/API_docs_v105/constructors/help_deepLinkInfo.md b/old_docs/API_docs_v105/constructors/help_deepLinkInfo.md deleted file mode 100644 index bcc24ecd..00000000 --- a/old_docs/API_docs_v105/constructors/help_deepLinkInfo.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: help.deepLinkInfo -description: Deep linking info -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.deepLinkInfo -[Back to constructors index](index.md) - - - -Deep linking info - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|update\_app|[Bool](../types/Bool.md) | Optional|An update of the app is required to parse this link| -|message|[string](../types/string.md) | Yes|Message to show to the user| -|entities|Array of [MessageEntity](../types/MessageEntity.md) | Optional|Entities| - - - -### Type: [help\_DeepLinkInfo](../types/help_DeepLinkInfo.md) - - -### Example: - -```php -$help_deepLinkInfo = ['_' => 'help.deepLinkInfo', 'update_app' => Bool, 'message' => 'string', 'entities' => [MessageEntity, MessageEntity]]; -``` - - -Or, if you're into Lua: - -```lua -help_deepLinkInfo={_='help.deepLinkInfo', update_app=Bool, message='string', entities={MessageEntity}} - -``` - - diff --git a/old_docs/API_docs_v105/constructors/help_deepLinkInfoEmpty.md b/old_docs/API_docs_v105/constructors/help_deepLinkInfoEmpty.md deleted file mode 100644 index ab876dd5..00000000 --- a/old_docs/API_docs_v105/constructors/help_deepLinkInfoEmpty.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: help.deepLinkInfoEmpty -description: Deep link info empty -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.deepLinkInfoEmpty -[Back to constructors index](index.md) - - - -Deep link info empty - - - - -### Type: [help\_DeepLinkInfo](../types/help_DeepLinkInfo.md) - - -### Example: - -```php -$help_deepLinkInfoEmpty = ['_' => 'help.deepLinkInfoEmpty']; -``` - - -Or, if you're into Lua: - -```lua -help_deepLinkInfoEmpty={_='help.deepLinkInfoEmpty'} - -``` - - diff --git a/old_docs/API_docs_v105/constructors/help_inviteText.md b/old_docs/API_docs_v105/constructors/help_inviteText.md deleted file mode 100644 index b8317ce3..00000000 --- a/old_docs/API_docs_v105/constructors/help_inviteText.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: help.inviteText -description: Text of a text message with an invitation to install application. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.inviteText -[Back to constructors index](index.md) - - - -Text of a text message with an invitation to install application. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|message|[string](../types/string.md) | Yes|Text of a message| - - - -### Type: [help\_InviteText](../types/help_InviteText.md) - - -### Example: - -```php -$help_inviteText = ['_' => 'help.inviteText', 'message' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -help_inviteText={_='help.inviteText', message='string'} - -``` - - diff --git a/old_docs/API_docs_v105/constructors/help_noAppUpdate.md b/old_docs/API_docs_v105/constructors/help_noAppUpdate.md deleted file mode 100644 index 51505e52..00000000 --- a/old_docs/API_docs_v105/constructors/help_noAppUpdate.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: help.noAppUpdate -description: No updates are available for the application. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.noAppUpdate -[Back to constructors index](index.md) - - - -No updates are available for the application. - - - - -### Type: [help\_AppUpdate](../types/help_AppUpdate.md) - - -### Example: - -```php -$help_noAppUpdate = ['_' => 'help.noAppUpdate']; -``` - - -Or, if you're into Lua: - -```lua -help_noAppUpdate={_='help.noAppUpdate'} - -``` - - diff --git a/old_docs/API_docs_v105/constructors/help_passportConfig.md b/old_docs/API_docs_v105/constructors/help_passportConfig.md deleted file mode 100644 index 9722c925..00000000 --- a/old_docs/API_docs_v105/constructors/help_passportConfig.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: help.passportConfig -description: Telegram [passport](https://core.telegram.org/passport) configuration -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.passportConfig -[Back to constructors index](index.md) - - - -Telegram [passport](https://core.telegram.org/passport) configuration - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|countries\_langs|[DataJSON](../types/DataJSON.md) | Yes|Localization| - - - -### Type: [help\_PassportConfig](../types/help_PassportConfig.md) - - -### Example: - -```php -$help_passportConfig = ['_' => 'help.passportConfig', 'hash' => int, 'countries_langs' => DataJSON]; -``` - - -Or, if you're into Lua: - -```lua -help_passportConfig={_='help.passportConfig', hash=int, countries_langs=DataJSON} - -``` - - diff --git a/old_docs/API_docs_v105/constructors/help_passportConfigNotModified.md b/old_docs/API_docs_v105/constructors/help_passportConfigNotModified.md deleted file mode 100644 index af7769aa..00000000 --- a/old_docs/API_docs_v105/constructors/help_passportConfigNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: help.passportConfigNotModified -description: Password configuration not modified -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.passportConfigNotModified -[Back to constructors index](index.md) - - - -Password configuration not modified - - - - -### Type: [help\_PassportConfig](../types/help_PassportConfig.md) - - -### Example: - -```php -$help_passportConfigNotModified = ['_' => 'help.passportConfigNotModified']; -``` - - -Or, if you're into Lua: - -```lua -help_passportConfigNotModified={_='help.passportConfigNotModified'} - -``` - - diff --git a/old_docs/API_docs_v105/constructors/help_proxyDataEmpty.md b/old_docs/API_docs_v105/constructors/help_proxyDataEmpty.md deleted file mode 100644 index 96efddd3..00000000 --- a/old_docs/API_docs_v105/constructors/help_proxyDataEmpty.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: help.proxyDataEmpty -description: No proxy was used to connect to tg (or none was provided to [initConnection](../methods/initConnection.md), or the used proxy doesn't have a promotion channel associated to it) -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.proxyDataEmpty -[Back to constructors index](index.md) - - - -No proxy was used to connect to tg (or none was provided to [initConnection](../methods/initConnection.md), or the used proxy doesn't have a promotion channel associated to it) - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|expires|[int](../types/int.md) | Yes|Expiration date of proxy info, will have to be refetched in `expires` seconds| - - - -### Type: [help\_ProxyData](../types/help_ProxyData.md) - - -### Example: - -```php -$help_proxyDataEmpty = ['_' => 'help.proxyDataEmpty', 'expires' => int]; -``` - - -Or, if you're into Lua: - -```lua -help_proxyDataEmpty={_='help.proxyDataEmpty', expires=int} - -``` - - diff --git a/old_docs/API_docs_v105/constructors/help_proxyDataPromo.md b/old_docs/API_docs_v105/constructors/help_proxyDataPromo.md deleted file mode 100644 index 54ca7edb..00000000 --- a/old_docs/API_docs_v105/constructors/help_proxyDataPromo.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: help.proxyDataPromo -description: Promotion channel associated to a certain MTProxy -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.proxyDataPromo -[Back to constructors index](index.md) - - - -Promotion channel associated to a certain MTProxy - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|expires|[int](../types/int.md) | Yes|Expiration date of proxy info, will have to be refetched in `expires` seconds| -|peer|[Peer](../types/Peer.md) | Yes|The promoted channel| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [help\_ProxyData](../types/help_ProxyData.md) - - -### Example: - -```php -$help_proxyDataPromo = ['_' => 'help.proxyDataPromo', 'expires' => int, 'peer' => Peer, 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -help_proxyDataPromo={_='help.proxyDataPromo', expires=int, peer=Peer, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v105/constructors/help_recentMeUrls.md b/old_docs/API_docs_v105/constructors/help_recentMeUrls.md deleted file mode 100644 index 7bf592ef..00000000 --- a/old_docs/API_docs_v105/constructors/help_recentMeUrls.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: help.recentMeUrls -description: Recent t.me URLs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.recentMeUrls -[Back to constructors index](index.md) - - - -Recent t.me URLs - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|urls|Array of [RecentMeUrl](../types/RecentMeUrl.md) | Yes|URLs| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [help\_RecentMeUrls](../types/help_RecentMeUrls.md) - - -### Example: - -```php -$help_recentMeUrls = ['_' => 'help.recentMeUrls', 'urls' => [RecentMeUrl, RecentMeUrl], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -help_recentMeUrls={_='help.recentMeUrls', urls={RecentMeUrl}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v105/constructors/help_support.md b/old_docs/API_docs_v105/constructors/help_support.md deleted file mode 100644 index 148f7f42..00000000 --- a/old_docs/API_docs_v105/constructors/help_support.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: help.support -description: Info on support user. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.support -[Back to constructors index](index.md) - - - -Info on support user. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_number|[string](../types/string.md) | Yes|Phone number| -|user|[User](../types/User.md) | Optional|User| - - - -### Type: [help\_Support](../types/help_Support.md) - - -### Example: - -```php -$help_support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => User]; -``` - - -Or, if you're into Lua: - -```lua -help_support={_='help.support', phone_number='string', user=User} - -``` - - diff --git a/old_docs/API_docs_v105/constructors/help_supportName.md b/old_docs/API_docs_v105/constructors/help_supportName.md deleted file mode 100644 index b4bc77d4..00000000 --- a/old_docs/API_docs_v105/constructors/help_supportName.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: help.supportName -description: Localized name for telegram support -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.supportName -[Back to constructors index](index.md) - - - -Localized name for telegram support - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|name|[string](../types/string.md) | Yes|Localized name| - - - -### Type: [help\_SupportName](../types/help_SupportName.md) - - -### Example: - -```php -$help_supportName = ['_' => 'help.supportName', 'name' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -help_supportName={_='help.supportName', name='string'} - -``` - - diff --git a/old_docs/API_docs_v105/constructors/help_termsOfService.md b/old_docs/API_docs_v105/constructors/help_termsOfService.md deleted file mode 100644 index f9d496e5..00000000 --- a/old_docs/API_docs_v105/constructors/help_termsOfService.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: help.termsOfService -description: Info about the latest telegram Terms Of Service -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.termsOfService -[Back to constructors index](index.md) - - - -Info about the latest telegram Terms Of Service - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|popup|[Bool](../types/Bool.md) | Optional|Whether a prompt must be showed to the user, in order to accept the new terms.| -|id|[DataJSON](../types/DataJSON.md) | Yes|ID of the new terms| -|text|[string](../types/string.md) | Yes|Text of the new terms| -|entities|Array of [MessageEntity](../types/MessageEntity.md) | Yes|Entities| -|min\_age\_confirm|[int](../types/int.md) | Optional|Minimum age required to sign up to telegram, the user must confirm that they is older than the minimum age.| - - - -### Type: [help\_TermsOfService](../types/help_TermsOfService.md) - - -### Example: - -```php -$help_termsOfService = ['_' => 'help.termsOfService', 'popup' => Bool, 'id' => DataJSON, 'text' => 'string', 'entities' => [MessageEntity, MessageEntity], 'min_age_confirm' => int]; -``` - - -Or, if you're into Lua: - -```lua -help_termsOfService={_='help.termsOfService', popup=Bool, id=DataJSON, text='string', entities={MessageEntity}, min_age_confirm=int} - -``` - - diff --git a/old_docs/API_docs_v105/constructors/help_termsOfServiceUpdate.md b/old_docs/API_docs_v105/constructors/help_termsOfServiceUpdate.md deleted file mode 100644 index c9e80319..00000000 --- a/old_docs/API_docs_v105/constructors/help_termsOfServiceUpdate.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: help.termsOfServiceUpdate -description: Info about an update of telegram's terms of service. If the terms of service are declined, then the [account.deleteAccount](../methods/account.deleteAccount.md) method should be called with the reason "Decline ToS update" -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.termsOfServiceUpdate -[Back to constructors index](index.md) - - - -Info about an update of telegram's terms of service. If the terms of service are declined, then the [account.deleteAccount](../methods/account.deleteAccount.md) method should be called with the reason "Decline ToS update" - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|expires|[int](../types/int.md) | Yes|New TOS updates will have to be queried using [help.getTermsOfServiceUpdate](../methods/help.getTermsOfServiceUpdate.md) in `expires` seconds| -|terms\_of\_service|[help\_TermsOfService](../types/help_TermsOfService.md) | Yes|New terms of service| - - - -### Type: [help\_TermsOfServiceUpdate](../types/help_TermsOfServiceUpdate.md) - - -### Example: - -```php -$help_termsOfServiceUpdate = ['_' => 'help.termsOfServiceUpdate', 'expires' => int, 'terms_of_service' => help_TermsOfService]; -``` - - -Or, if you're into Lua: - -```lua -help_termsOfServiceUpdate={_='help.termsOfServiceUpdate', expires=int, terms_of_service=help_TermsOfService} - -``` - - diff --git a/old_docs/API_docs_v105/constructors/help_termsOfServiceUpdateEmpty.md b/old_docs/API_docs_v105/constructors/help_termsOfServiceUpdateEmpty.md deleted file mode 100644 index d4d753fc..00000000 --- a/old_docs/API_docs_v105/constructors/help_termsOfServiceUpdateEmpty.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: help.termsOfServiceUpdateEmpty -description: No changes were made to telegram's terms of service -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.termsOfServiceUpdateEmpty -[Back to constructors index](index.md) - - - -No changes were made to telegram's terms of service - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|expires|[int](../types/int.md) | Yes|New TOS updates will have to be queried using [help.getTermsOfServiceUpdate](../methods/help.getTermsOfServiceUpdate.md) in `expires` seconds| - - - -### Type: [help\_TermsOfServiceUpdate](../types/help_TermsOfServiceUpdate.md) - - -### Example: - -```php -$help_termsOfServiceUpdateEmpty = ['_' => 'help.termsOfServiceUpdateEmpty', 'expires' => int]; -``` - - -Or, if you're into Lua: - -```lua -help_termsOfServiceUpdateEmpty={_='help.termsOfServiceUpdateEmpty', expires=int} - -``` - - diff --git a/old_docs/API_docs_v105/constructors/help_userInfo.md b/old_docs/API_docs_v105/constructors/help_userInfo.md deleted file mode 100644 index a444124b..00000000 --- a/old_docs/API_docs_v105/constructors/help_userInfo.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: help.userInfo -description: Internal use -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.userInfo -[Back to constructors index](index.md) - - - -Internal use - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|message|[string](../types/string.md) | Yes|Info| -|entities|Array of [MessageEntity](../types/MessageEntity.md) | Yes|Entities| -|author|[string](../types/string.md) | Yes|Author| -|date|[int](../types/int.md) | Yes|Date| - - - -### Type: [help\_UserInfo](../types/help_UserInfo.md) - - -### Example: - -```php -$help_userInfo = ['_' => 'help.userInfo', 'message' => 'string', 'entities' => [MessageEntity, MessageEntity], 'author' => 'string', 'date' => int]; -``` - - -Or, if you're into Lua: - -```lua -help_userInfo={_='help.userInfo', message='string', entities={MessageEntity}, author='string', date=int} - -``` - - diff --git a/old_docs/API_docs_v105/constructors/help_userInfoEmpty.md b/old_docs/API_docs_v105/constructors/help_userInfoEmpty.md deleted file mode 100644 index 66690c62..00000000 --- a/old_docs/API_docs_v105/constructors/help_userInfoEmpty.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: help.userInfoEmpty -description: Internal use -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.userInfoEmpty -[Back to constructors index](index.md) - - - -Internal use - - - - -### Type: [help\_UserInfo](../types/help_UserInfo.md) - - -### Example: - -```php -$help_userInfoEmpty = ['_' => 'help.userInfoEmpty']; -``` - - -Or, if you're into Lua: - -```lua -help_userInfoEmpty={_='help.userInfoEmpty'} - -``` - - diff --git a/old_docs/API_docs_v105/constructors/messages.affectedHistory.md b/old_docs/API_docs_v105/constructors/messages.affectedHistory.md new file mode 100644 index 00000000..5fc8acec --- /dev/null +++ b/old_docs/API_docs_v105/constructors/messages.affectedHistory.md @@ -0,0 +1,40 @@ +--- +title: messages.affectedHistory +description: Affected part of communication history with the user or in a chat. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.affectedHistory +[Back to constructors index](index.md) + + + +Affected part of communication history with the user or in a chat. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| +|pts\_count|[int](../types/int.md) | Yes|Number of affected events| +|offset|[int](../types/int.md) | Yes|If a parameter contains positive value, it is necessary to repeat the method call using the given value; during the proceeding of all the history the value itself shall gradually decrease| + + + +### Type: [messages.AffectedHistory](../types/messages.AffectedHistory.md) + + +### Example: + +```php +$messages.affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.affectedHistory={_='messages.affectedHistory', pts=int, pts_count=int, offset=int} + +``` + + diff --git a/old_docs/API_docs_v105/constructors/messages.affectedMessages.md b/old_docs/API_docs_v105/constructors/messages.affectedMessages.md new file mode 100644 index 00000000..a0e60bdf --- /dev/null +++ b/old_docs/API_docs_v105/constructors/messages.affectedMessages.md @@ -0,0 +1,39 @@ +--- +title: messages.affectedMessages +description: Events affected by operation +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.affectedMessages +[Back to constructors index](index.md) + + + +Events affected by operation + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|[Event count after generation](https://core.telegram.org/api/updates)| +|pts\_count|[int](../types/int.md) | Yes|[Number of events that were generated](https://core.telegram.org/api/updates)| + + + +### Type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) + + +### Example: + +```php +$messages.affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.affectedMessages={_='messages.affectedMessages', pts=int, pts_count=int} + +``` + + diff --git a/old_docs/API_docs_v105/constructors/messages.allStickers.md b/old_docs/API_docs_v105/constructors/messages.allStickers.md new file mode 100644 index 00000000..5f13bfde --- /dev/null +++ b/old_docs/API_docs_v105/constructors/messages.allStickers.md @@ -0,0 +1,39 @@ +--- +title: messages.allStickers +description: Info about all installed stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.allStickers +[Back to constructors index](index.md) + + + +Info about all installed stickers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|sets|Array of [StickerSet](../types/StickerSet.md) | Yes|Sets| + + + +### Type: [messages.AllStickers](../types/messages.AllStickers.md) + + +### Example: + +```php +$messages.allStickers = ['_' => 'messages.allStickers', 'hash' => int, 'sets' => [StickerSet, StickerSet]]; +``` + + +Or, if you're into Lua: + +```lua +messages.allStickers={_='messages.allStickers', hash=int, sets={StickerSet}} + +``` + + diff --git a/old_docs/API_docs_v105/constructors/messages.allStickersNotModified.md b/old_docs/API_docs_v105/constructors/messages.allStickersNotModified.md new file mode 100644 index 00000000..d3db088b --- /dev/null +++ b/old_docs/API_docs_v105/constructors/messages.allStickersNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.allStickersNotModified +description: Info about all installed stickers hasn't changed +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.allStickersNotModified +[Back to constructors index](index.md) + + + +Info about all installed stickers hasn't changed + + + + +### Type: [messages.AllStickers](../types/messages.AllStickers.md) + + +### Example: + +```php +$messages.allStickersNotModified = ['_' => 'messages.allStickersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.allStickersNotModified={_='messages.allStickersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v105/constructors/messages.archivedStickers.md b/old_docs/API_docs_v105/constructors/messages.archivedStickers.md new file mode 100644 index 00000000..6ad9927c --- /dev/null +++ b/old_docs/API_docs_v105/constructors/messages.archivedStickers.md @@ -0,0 +1,39 @@ +--- +title: messages.archivedStickers +description: Archived stickersets +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.archivedStickers +[Back to constructors index](index.md) + + + +Archived stickersets + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Number of archived stickers| +|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| + + + +### Type: [messages.ArchivedStickers](../types/messages.ArchivedStickers.md) + + +### Example: + +```php +$messages.archivedStickers = ['_' => 'messages.archivedStickers', 'count' => int, 'sets' => [StickerSetCovered, StickerSetCovered]]; +``` + + +Or, if you're into Lua: + +```lua +messages.archivedStickers={_='messages.archivedStickers', count=int, sets={StickerSetCovered}} + +``` + + diff --git a/old_docs/API_docs_v105/constructors/messages.botCallbackAnswer.md b/old_docs/API_docs_v105/constructors/messages.botCallbackAnswer.md new file mode 100644 index 00000000..08bfeba5 --- /dev/null +++ b/old_docs/API_docs_v105/constructors/messages.botCallbackAnswer.md @@ -0,0 +1,43 @@ +--- +title: messages.botCallbackAnswer +description: Callback answer sent by the bot in response to a button press +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.botCallbackAnswer +[Back to constructors index](index.md) + + + +Callback answer sent by the bot in response to a button press + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|alert|[Bool](../types/Bool.md) | Optional|Whether an alert should be shown to the user instead of a toast notification| +|has\_url|[Bool](../types/Bool.md) | Optional|Whether an URL is present| +|native\_ui|[Bool](../types/Bool.md) | Optional|Whether to show games in WebView or in native UI.| +|message|[string](../types/string.md) | Optional|Alert to show| +|url|[string](../types/string.md) | Optional|URL to open| +|cache\_time|[int](../types/int.md) | Yes|For how long should this answer be cached| + + + +### Type: [messages.BotCallbackAnswer](../types/messages.BotCallbackAnswer.md) + + +### Example: + +```php +$messages.botCallbackAnswer = ['_' => 'messages.botCallbackAnswer', 'alert' => Bool, 'has_url' => Bool, 'native_ui' => Bool, 'message' => 'string', 'url' => 'string', 'cache_time' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.botCallbackAnswer={_='messages.botCallbackAnswer', alert=Bool, has_url=Bool, native_ui=Bool, message='string', url='string', cache_time=int} + +``` + + diff --git a/old_docs/API_docs_v105/constructors/messages.botResults.md b/old_docs/API_docs_v105/constructors/messages.botResults.md new file mode 100644 index 00000000..7b6dcfba --- /dev/null +++ b/old_docs/API_docs_v105/constructors/messages.botResults.md @@ -0,0 +1,44 @@ +--- +title: messages.botResults +description: Result of a query to an inline bot +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.botResults +[Back to constructors index](index.md) + + + +Result of a query to an inline bot + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|gallery|[Bool](../types/Bool.md) | Optional|Whether the result is a picture gallery| +|query\_id|[long](../types/long.md) | Yes|Query ID| +|next\_offset|[string](../types/string.md) | Optional|The next offset to use when navigating through results| +|switch\_pm|[InlineBotSwitchPM](../types/InlineBotSwitchPM.md) | Optional|Whether the bot requested the user to message him in private| +|results|Array of [BotInlineResult](../types/BotInlineResult.md) | Yes|Results| +|cache\_time|[int](../types/int.md) | Yes|Caching validity of the results| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.BotResults](../types/messages.BotResults.md) + + +### Example: + +```php +$messages.botResults = ['_' => 'messages.botResults', 'gallery' => Bool, 'query_id' => long, 'next_offset' => 'string', 'switch_pm' => InlineBotSwitchPM, 'results' => [BotInlineResult, BotInlineResult], 'cache_time' => int, 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.botResults={_='messages.botResults', gallery=Bool, query_id=long, next_offset='string', switch_pm=InlineBotSwitchPM, results={BotInlineResult}, cache_time=int, users={User}} + +``` + + diff --git a/old_docs/API_docs_v105/constructors/messages.channelMessages.md b/old_docs/API_docs_v105/constructors/messages.channelMessages.md new file mode 100644 index 00000000..8a8ca98a --- /dev/null +++ b/old_docs/API_docs_v105/constructors/messages.channelMessages.md @@ -0,0 +1,43 @@ +--- +title: messages.channelMessages +description: Channel messages +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.channelMessages +[Back to constructors index](index.md) + + + +Channel messages + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|inexact|[Bool](../types/Bool.md) | Optional|If set, returned results may be inexact| +|pts|[int](../types/int.md) | Yes|[Event count after generation](https://core.telegram.org/api/updates)| +|count|[int](../types/int.md) | Yes|Total number of results were found server-side (may not be all included here)| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Messages](../types/messages.Messages.md) + + +### Example: + +```php +$messages.channelMessages = ['_' => 'messages.channelMessages', 'inexact' => Bool, 'pts' => int, 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.channelMessages={_='messages.channelMessages', inexact=Bool, pts=int, count=int, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v105/constructors/messages.chatFull.md b/old_docs/API_docs_v105/constructors/messages.chatFull.md new file mode 100644 index 00000000..3906cc54 --- /dev/null +++ b/old_docs/API_docs_v105/constructors/messages.chatFull.md @@ -0,0 +1,40 @@ +--- +title: messages.chatFull +description: Extended info on chat and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.chatFull +[Back to constructors index](index.md) + + + +Extended info on chat and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|full\_chat|[ChatFull](../types/ChatFull.md) | Yes|Extended info on a chat| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.ChatFull](../types/messages.ChatFull.md) + + +### Example: + +```php +$messages.chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.chatFull={_='messages.chatFull', full_chat=ChatFull, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v105/constructors/messages.chats.md b/old_docs/API_docs_v105/constructors/messages.chats.md new file mode 100644 index 00000000..9ede9ff2 --- /dev/null +++ b/old_docs/API_docs_v105/constructors/messages.chats.md @@ -0,0 +1,38 @@ +--- +title: messages.chats +description: List of chats with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.chats +[Back to constructors index](index.md) + + + +List of chats with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| + + + +### Type: [messages.Chats](../types/messages.Chats.md) + + +### Example: + +```php +$messages.chats = ['_' => 'messages.chats', 'chats' => [Chat, Chat]]; +``` + + +Or, if you're into Lua: + +```lua +messages.chats={_='messages.chats', chats={Chat}} + +``` + + diff --git a/old_docs/API_docs_v105/constructors/messages.chatsSlice.md b/old_docs/API_docs_v105/constructors/messages.chatsSlice.md new file mode 100644 index 00000000..efd153e0 --- /dev/null +++ b/old_docs/API_docs_v105/constructors/messages.chatsSlice.md @@ -0,0 +1,39 @@ +--- +title: messages.chatsSlice +description: Partial list of chats, more would have to be fetched with [pagination](https://core.telegram.org/api/offsets) +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.chatsSlice +[Back to constructors index](index.md) + + + +Partial list of chats, more would have to be fetched with [pagination](https://core.telegram.org/api/offsets) + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of results that were found server-side (not all are included in `chats`)| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| + + + +### Type: [messages.Chats](../types/messages.Chats.md) + + +### Example: + +```php +$messages.chatsSlice = ['_' => 'messages.chatsSlice', 'count' => int, 'chats' => [Chat, Chat]]; +``` + + +Or, if you're into Lua: + +```lua +messages.chatsSlice={_='messages.chatsSlice', count=int, chats={Chat}} + +``` + + diff --git a/old_docs/API_docs_v105/constructors/messages.dhConfig.md b/old_docs/API_docs_v105/constructors/messages.dhConfig.md new file mode 100644 index 00000000..58344f64 --- /dev/null +++ b/old_docs/API_docs_v105/constructors/messages.dhConfig.md @@ -0,0 +1,41 @@ +--- +title: messages.dhConfig +description: New set of configuring parameters. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dhConfig +[Back to constructors index](index.md) + + + +New set of configuring parameters. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|g|[int](../types/int.md) | Yes|New value **prime**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| +|p|[bytes](../types/bytes.md) | Yes|New value **primitive root**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| +|version|[int](../types/int.md) | Yes|Vestion of set of parameters| +|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| + + + +### Type: [messages.DhConfig](../types/messages.DhConfig.md) + + +### Example: + +```php +$messages.dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'version' => int, 'random' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +messages.dhConfig={_='messages.dhConfig', g=int, p='bytes', version=int, random='bytes'} + +``` + + diff --git a/old_docs/API_docs_v105/constructors/messages.dhConfigNotModified.md b/old_docs/API_docs_v105/constructors/messages.dhConfigNotModified.md new file mode 100644 index 00000000..a9a95389 --- /dev/null +++ b/old_docs/API_docs_v105/constructors/messages.dhConfigNotModified.md @@ -0,0 +1,38 @@ +--- +title: messages.dhConfigNotModified +description: Configuring parameters did not change. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dhConfigNotModified +[Back to constructors index](index.md) + + + +Configuring parameters did not change. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| + + + +### Type: [messages.DhConfig](../types/messages.DhConfig.md) + + +### Example: + +```php +$messages.dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +messages.dhConfigNotModified={_='messages.dhConfigNotModified', random='bytes'} + +``` + + diff --git a/old_docs/API_docs_v105/constructors/messages.dialogs.md b/old_docs/API_docs_v105/constructors/messages.dialogs.md new file mode 100644 index 00000000..a72eabce --- /dev/null +++ b/old_docs/API_docs_v105/constructors/messages.dialogs.md @@ -0,0 +1,41 @@ +--- +title: messages.dialogs +description: Full list of chats with messages and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dialogs +[Back to constructors index](index.md) + + + +Full list of chats with messages and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Dialogs](../types/messages.Dialogs.md) + + +### Example: + +```php +$messages.dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.dialogs={_='messages.dialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v105/constructors/messages.dialogsNotModified.md b/old_docs/API_docs_v105/constructors/messages.dialogsNotModified.md new file mode 100644 index 00000000..b4615516 --- /dev/null +++ b/old_docs/API_docs_v105/constructors/messages.dialogsNotModified.md @@ -0,0 +1,38 @@ +--- +title: messages.dialogsNotModified +description: Dialogs haven't changed +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dialogsNotModified +[Back to constructors index](index.md) + + + +Dialogs haven't changed + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Number of dialogs found server-side by the query| + + + +### Type: [messages.Dialogs](../types/messages.Dialogs.md) + + +### Example: + +```php +$messages.dialogsNotModified = ['_' => 'messages.dialogsNotModified', 'count' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.dialogsNotModified={_='messages.dialogsNotModified', count=int} + +``` + + diff --git a/old_docs/API_docs_v105/constructors/messages.dialogsSlice.md b/old_docs/API_docs_v105/constructors/messages.dialogsSlice.md new file mode 100644 index 00000000..26227d2c --- /dev/null +++ b/old_docs/API_docs_v105/constructors/messages.dialogsSlice.md @@ -0,0 +1,42 @@ +--- +title: messages.dialogsSlice +description: Incomplete list of dialogs with messages and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dialogsSlice +[Back to constructors index](index.md) + + + +Incomplete list of dialogs with messages and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of dialogs| +|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Dialogs](../types/messages.Dialogs.md) + + +### Example: + +```php +$messages.dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.dialogsSlice={_='messages.dialogsSlice', count=int, dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v105/constructors/messages.favedStickers.md b/old_docs/API_docs_v105/constructors/messages.favedStickers.md new file mode 100644 index 00000000..a5cfb7c9 --- /dev/null +++ b/old_docs/API_docs_v105/constructors/messages.favedStickers.md @@ -0,0 +1,40 @@ +--- +title: messages.favedStickers +description: Favorited stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.favedStickers +[Back to constructors index](index.md) + + + +Favorited stickers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|packs|Array of [StickerPack](../types/StickerPack.md) | Yes|Packs| +|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| + + + +### Type: [messages.FavedStickers](../types/messages.FavedStickers.md) + + +### Example: + +```php +$messages.favedStickers = ['_' => 'messages.favedStickers', 'hash' => int, 'packs' => [StickerPack, StickerPack], 'stickers' => [Document, Document]]; +``` + + +Or, if you're into Lua: + +```lua +messages.favedStickers={_='messages.favedStickers', hash=int, packs={StickerPack}, stickers={Document}} + +``` + + diff --git a/old_docs/API_docs_v105/constructors/messages.favedStickersNotModified.md b/old_docs/API_docs_v105/constructors/messages.favedStickersNotModified.md new file mode 100644 index 00000000..8723659e --- /dev/null +++ b/old_docs/API_docs_v105/constructors/messages.favedStickersNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.favedStickersNotModified +description: No new favorited stickers were found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.favedStickersNotModified +[Back to constructors index](index.md) + + + +No new favorited stickers were found + + + + +### Type: [messages.FavedStickers](../types/messages.FavedStickers.md) + + +### Example: + +```php +$messages.favedStickersNotModified = ['_' => 'messages.favedStickersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.favedStickersNotModified={_='messages.favedStickersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v105/constructors/messages.featuredStickers.md b/old_docs/API_docs_v105/constructors/messages.featuredStickers.md new file mode 100644 index 00000000..344376ea --- /dev/null +++ b/old_docs/API_docs_v105/constructors/messages.featuredStickers.md @@ -0,0 +1,40 @@ +--- +title: messages.featuredStickers +description: Featured stickersets +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.featuredStickers +[Back to constructors index](index.md) + + + +Featured stickersets + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| +|unread|Array of [long](../types/long.md) | Yes|Unread| + + + +### Type: [messages.FeaturedStickers](../types/messages.FeaturedStickers.md) + + +### Example: + +```php +$messages.featuredStickers = ['_' => 'messages.featuredStickers', 'hash' => int, 'sets' => [StickerSetCovered, StickerSetCovered], 'unread' => [long, long]]; +``` + + +Or, if you're into Lua: + +```lua +messages.featuredStickers={_='messages.featuredStickers', hash=int, sets={StickerSetCovered}, unread={long}} + +``` + + diff --git a/old_docs/API_docs_v105/constructors/messages.featuredStickersNotModified.md b/old_docs/API_docs_v105/constructors/messages.featuredStickersNotModified.md new file mode 100644 index 00000000..0fe9b4d5 --- /dev/null +++ b/old_docs/API_docs_v105/constructors/messages.featuredStickersNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.featuredStickersNotModified +description: Featured stickers haven't changed +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.featuredStickersNotModified +[Back to constructors index](index.md) + + + +Featured stickers haven't changed + + + + +### Type: [messages.FeaturedStickers](../types/messages.FeaturedStickers.md) + + +### Example: + +```php +$messages.featuredStickersNotModified = ['_' => 'messages.featuredStickersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.featuredStickersNotModified={_='messages.featuredStickersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v105/constructors/messages.foundGifs.md b/old_docs/API_docs_v105/constructors/messages.foundGifs.md new file mode 100644 index 00000000..c75e36f9 --- /dev/null +++ b/old_docs/API_docs_v105/constructors/messages.foundGifs.md @@ -0,0 +1,39 @@ +--- +title: messages.foundGifs +description: Found GIFs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.foundGifs +[Back to constructors index](index.md) + + + +Found GIFs + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|next\_offset|[int](../types/int.md) | Yes|Next offset to use when trying to [load more results](../methods/messages.searchGifs.md)| +|results|Array of [FoundGif](../types/FoundGif.md) | Yes|Results| + + + +### Type: [messages.FoundGifs](../types/messages.FoundGifs.md) + + +### Example: + +```php +$messages.foundGifs = ['_' => 'messages.foundGifs', 'next_offset' => int, 'results' => [FoundGif, FoundGif]]; +``` + + +Or, if you're into Lua: + +```lua +messages.foundGifs={_='messages.foundGifs', next_offset=int, results={FoundGif}} + +``` + + diff --git a/old_docs/API_docs_v105/constructors/messages.foundStickerSets.md b/old_docs/API_docs_v105/constructors/messages.foundStickerSets.md new file mode 100644 index 00000000..efc5201e --- /dev/null +++ b/old_docs/API_docs_v105/constructors/messages.foundStickerSets.md @@ -0,0 +1,39 @@ +--- +title: messages.foundStickerSets +description: Found stickersets +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.foundStickerSets +[Back to constructors index](index.md) + + + +Found stickersets + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| + + + +### Type: [messages.FoundStickerSets](../types/messages.FoundStickerSets.md) + + +### Example: + +```php +$messages.foundStickerSets = ['_' => 'messages.foundStickerSets', 'hash' => int, 'sets' => [StickerSetCovered, StickerSetCovered]]; +``` + + +Or, if you're into Lua: + +```lua +messages.foundStickerSets={_='messages.foundStickerSets', hash=int, sets={StickerSetCovered}} + +``` + + diff --git a/old_docs/API_docs_v105/constructors/messages.foundStickerSetsNotModified.md b/old_docs/API_docs_v105/constructors/messages.foundStickerSetsNotModified.md new file mode 100644 index 00000000..2902501a --- /dev/null +++ b/old_docs/API_docs_v105/constructors/messages.foundStickerSetsNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.foundStickerSetsNotModified +description: No further results were found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.foundStickerSetsNotModified +[Back to constructors index](index.md) + + + +No further results were found + + + + +### Type: [messages.FoundStickerSets](../types/messages.FoundStickerSets.md) + + +### Example: + +```php +$messages.foundStickerSetsNotModified = ['_' => 'messages.foundStickerSetsNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.foundStickerSetsNotModified={_='messages.foundStickerSetsNotModified'} + +``` + + diff --git a/old_docs/API_docs_v105/constructors/messages.highScores.md b/old_docs/API_docs_v105/constructors/messages.highScores.md new file mode 100644 index 00000000..d7d25826 --- /dev/null +++ b/old_docs/API_docs_v105/constructors/messages.highScores.md @@ -0,0 +1,39 @@ +--- +title: messages.highScores +description: Highscores in a game +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.highScores +[Back to constructors index](index.md) + + + +Highscores in a game + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|scores|Array of [HighScore](../types/HighScore.md) | Yes|Scores| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.HighScores](../types/messages.HighScores.md) + + +### Example: + +```php +$messages.highScores = ['_' => 'messages.highScores', 'scores' => [HighScore, HighScore], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.highScores={_='messages.highScores', scores={HighScore}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v105/constructors/messages.messageEditData.md b/old_docs/API_docs_v105/constructors/messages.messageEditData.md new file mode 100644 index 00000000..578b53d9 --- /dev/null +++ b/old_docs/API_docs_v105/constructors/messages.messageEditData.md @@ -0,0 +1,38 @@ +--- +title: messages.messageEditData +description: Message edit data for media +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.messageEditData +[Back to constructors index](index.md) + + + +Message edit data for media + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|caption|[Bool](../types/Bool.md) | Optional|Media caption, if the specified media's caption can be edited| + + + +### Type: [messages.MessageEditData](../types/messages.MessageEditData.md) + + +### Example: + +```php +$messages.messageEditData = ['_' => 'messages.messageEditData', 'caption' => Bool]; +``` + + +Or, if you're into Lua: + +```lua +messages.messageEditData={_='messages.messageEditData', caption=Bool} + +``` + + diff --git a/old_docs/API_docs_v105/constructors/messages.messages.md b/old_docs/API_docs_v105/constructors/messages.messages.md new file mode 100644 index 00000000..3af71dca --- /dev/null +++ b/old_docs/API_docs_v105/constructors/messages.messages.md @@ -0,0 +1,40 @@ +--- +title: messages.messages +description: Full list of messages with auxilary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.messages +[Back to constructors index](index.md) + + + +Full list of messages with auxilary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Messages](../types/messages.Messages.md) + + +### Example: + +```php +$messages.messages = ['_' => 'messages.messages', 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.messages={_='messages.messages', messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v105/constructors/messages.messagesNotModified.md b/old_docs/API_docs_v105/constructors/messages.messagesNotModified.md new file mode 100644 index 00000000..c4cb60ed --- /dev/null +++ b/old_docs/API_docs_v105/constructors/messages.messagesNotModified.md @@ -0,0 +1,38 @@ +--- +title: messages.messagesNotModified +description: No new messages matching the query were found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.messagesNotModified +[Back to constructors index](index.md) + + + +No new messages matching the query were found + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Number of results found server-side by the given query| + + + +### Type: [messages.Messages](../types/messages.Messages.md) + + +### Example: + +```php +$messages.messagesNotModified = ['_' => 'messages.messagesNotModified', 'count' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.messagesNotModified={_='messages.messagesNotModified', count=int} + +``` + + diff --git a/old_docs/API_docs_v105/constructors/messages.messagesSlice.md b/old_docs/API_docs_v105/constructors/messages.messagesSlice.md new file mode 100644 index 00000000..ed85347c --- /dev/null +++ b/old_docs/API_docs_v105/constructors/messages.messagesSlice.md @@ -0,0 +1,43 @@ +--- +title: messages.messagesSlice +description: Incomplete list of messages and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.messagesSlice +[Back to constructors index](index.md) + + + +Incomplete list of messages and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|inexact|[Bool](../types/Bool.md) | Optional|If set, indicates that the results may be inexact| +|count|[int](../types/int.md) | Yes|Total number of messages in the list| +|next\_rate|[int](../types/int.md) | Optional|Rate to use in the `offset_rate` parameter in the next call to [messages.searchGlobal](../methods/messages.searchGlobal.md)| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Messages](../types/messages.Messages.md) + + +### Example: + +```php +$messages.messagesSlice = ['_' => 'messages.messagesSlice', 'inexact' => Bool, 'count' => int, 'next_rate' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.messagesSlice={_='messages.messagesSlice', inexact=Bool, count=int, next_rate=int, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v105/constructors/messages.peerDialogs.md b/old_docs/API_docs_v105/constructors/messages.peerDialogs.md new file mode 100644 index 00000000..39cb71f8 --- /dev/null +++ b/old_docs/API_docs_v105/constructors/messages.peerDialogs.md @@ -0,0 +1,42 @@ +--- +title: messages.peerDialogs +description: Dialog info of multiple peers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.peerDialogs +[Back to constructors index](index.md) + + + +Dialog info of multiple peers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| +|state|[updates.State](../constructors/updates.State.md) | Yes|Current [update state of dialog](https://core.telegram.org/api/updates)| + + + +### Type: [messages.PeerDialogs](../types/messages.PeerDialogs.md) + + +### Example: + +```php +$messages.peerDialogs = ['_' => 'messages.peerDialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates.State]; +``` + + +Or, if you're into Lua: + +```lua +messages.peerDialogs={_='messages.peerDialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}, state=updates.State} + +``` + + diff --git a/old_docs/API_docs_v105/constructors/messages.recentStickers.md b/old_docs/API_docs_v105/constructors/messages.recentStickers.md new file mode 100644 index 00000000..33e6c1ad --- /dev/null +++ b/old_docs/API_docs_v105/constructors/messages.recentStickers.md @@ -0,0 +1,41 @@ +--- +title: messages.recentStickers +description: Recently used stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.recentStickers +[Back to constructors index](index.md) + + + +Recently used stickers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|packs|Array of [StickerPack](../types/StickerPack.md) | Yes|Packs| +|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| +|dates|Array of [int](../types/int.md) | Yes|Dates| + + + +### Type: [messages.RecentStickers](../types/messages.RecentStickers.md) + + +### Example: + +```php +$messages.recentStickers = ['_' => 'messages.recentStickers', 'hash' => int, 'packs' => [StickerPack, StickerPack], 'stickers' => [Document, Document], 'dates' => [int, int]]; +``` + + +Or, if you're into Lua: + +```lua +messages.recentStickers={_='messages.recentStickers', hash=int, packs={StickerPack}, stickers={Document}, dates={int}} + +``` + + diff --git a/old_docs/API_docs_v105/constructors/messages.recentStickersNotModified.md b/old_docs/API_docs_v105/constructors/messages.recentStickersNotModified.md new file mode 100644 index 00000000..1c3bbf5c --- /dev/null +++ b/old_docs/API_docs_v105/constructors/messages.recentStickersNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.recentStickersNotModified +description: No new recent sticker was found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.recentStickersNotModified +[Back to constructors index](index.md) + + + +No new recent sticker was found + + + + +### Type: [messages.RecentStickers](../types/messages.RecentStickers.md) + + +### Example: + +```php +$messages.recentStickersNotModified = ['_' => 'messages.recentStickersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.recentStickersNotModified={_='messages.recentStickersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v105/constructors/messages.savedGifs.md b/old_docs/API_docs_v105/constructors/messages.savedGifs.md new file mode 100644 index 00000000..c82929a3 --- /dev/null +++ b/old_docs/API_docs_v105/constructors/messages.savedGifs.md @@ -0,0 +1,39 @@ +--- +title: messages.savedGifs +description: Saved gifs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.savedGifs +[Back to constructors index](index.md) + + + +Saved gifs + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|gifs|Array of [Document](../types/Document.md) | Yes|Gifs| + + + +### Type: [messages.SavedGifs](../types/messages.SavedGifs.md) + + +### Example: + +```php +$messages.savedGifs = ['_' => 'messages.savedGifs', 'hash' => int, 'gifs' => [Document, Document]]; +``` + + +Or, if you're into Lua: + +```lua +messages.savedGifs={_='messages.savedGifs', hash=int, gifs={Document}} + +``` + + diff --git a/old_docs/API_docs_v105/constructors/messages.savedGifsNotModified.md b/old_docs/API_docs_v105/constructors/messages.savedGifsNotModified.md new file mode 100644 index 00000000..0fbccacc --- /dev/null +++ b/old_docs/API_docs_v105/constructors/messages.savedGifsNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.savedGifsNotModified +description: No new saved gifs were found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.savedGifsNotModified +[Back to constructors index](index.md) + + + +No new saved gifs were found + + + + +### Type: [messages.SavedGifs](../types/messages.SavedGifs.md) + + +### Example: + +```php +$messages.savedGifsNotModified = ['_' => 'messages.savedGifsNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.savedGifsNotModified={_='messages.savedGifsNotModified'} + +``` + + diff --git a/old_docs/API_docs_v105/constructors/messages.searchCounter.md b/old_docs/API_docs_v105/constructors/messages.searchCounter.md new file mode 100644 index 00000000..601edd6c --- /dev/null +++ b/old_docs/API_docs_v105/constructors/messages.searchCounter.md @@ -0,0 +1,40 @@ +--- +title: messages.searchCounter +description: Indicates how many results would be found by a [messages.search](../methods/messages.search.md) call with the same parameters +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.searchCounter +[Back to constructors index](index.md) + + + +Indicates how many results would be found by a [messages.search](../methods/messages.search.md) call with the same parameters + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|inexact|[Bool](../types/Bool.md) | Optional|If set, the results may be inexact| +|filter|[MessagesFilter](../types/MessagesFilter.md) | Yes|Provided message filter| +|count|[int](../types/int.md) | Yes|Number of results that were found server-side| + + + +### Type: [messages.SearchCounter](../types/messages.SearchCounter.md) + + +### Example: + +```php +$messages.searchCounter = ['_' => 'messages.searchCounter', 'inexact' => Bool, 'filter' => MessagesFilter, 'count' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.searchCounter={_='messages.searchCounter', inexact=Bool, filter=MessagesFilter, count=int} + +``` + + diff --git a/old_docs/API_docs_v105/constructors/messages.sentEncryptedFile.md b/old_docs/API_docs_v105/constructors/messages.sentEncryptedFile.md new file mode 100644 index 00000000..1f0e43c6 --- /dev/null +++ b/old_docs/API_docs_v105/constructors/messages.sentEncryptedFile.md @@ -0,0 +1,39 @@ +--- +title: messages.sentEncryptedFile +description: Message with a file enclosure sent to a protected chat +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.sentEncryptedFile +[Back to constructors index](index.md) + + + +Message with a file enclosure sent to a protected chat + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Sending date| +|file|[EncryptedFile](../types/EncryptedFile.md) | Optional|Attached file| + + + +### Type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) + + +### Example: + +```php +$messages.sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile]; +``` + + +Or, if you're into Lua: + +```lua +messages.sentEncryptedFile={_='messages.sentEncryptedFile', date=int, file=EncryptedFile} + +``` + + diff --git a/old_docs/API_docs_v105/constructors/messages.sentEncryptedMessage.md b/old_docs/API_docs_v105/constructors/messages.sentEncryptedMessage.md new file mode 100644 index 00000000..3d5eb40c --- /dev/null +++ b/old_docs/API_docs_v105/constructors/messages.sentEncryptedMessage.md @@ -0,0 +1,38 @@ +--- +title: messages.sentEncryptedMessage +description: Message without file attachemts sent to an encrypted file. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.sentEncryptedMessage +[Back to constructors index](index.md) + + + +Message without file attachemts sent to an encrypted file. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Date of sending| + + + +### Type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) + + +### Example: + +```php +$messages.sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.sentEncryptedMessage={_='messages.sentEncryptedMessage', date=int} + +``` + + diff --git a/old_docs/API_docs_v105/constructors/messages.stickerSet.md b/old_docs/API_docs_v105/constructors/messages.stickerSet.md new file mode 100644 index 00000000..fbc154d0 --- /dev/null +++ b/old_docs/API_docs_v105/constructors/messages.stickerSet.md @@ -0,0 +1,40 @@ +--- +title: messages.stickerSet +description: Stickerset and stickers inside it +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickerSet +[Back to constructors index](index.md) + + + +Stickerset and stickers inside it + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|set|[StickerSet](../types/StickerSet.md) | Yes|The stickerset| +|packs|Array of [StickerPack](../types/StickerPack.md) | Yes|Packs| +|documents|Array of [Document](../types/Document.md) | Yes|Documents| + + + +### Type: [messages.StickerSet](../types/messages.StickerSet.md) + + +### Example: + +```php +$messages.stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'packs' => [StickerPack, StickerPack], 'documents' => [Document, Document]]; +``` + + +Or, if you're into Lua: + +```lua +messages.stickerSet={_='messages.stickerSet', set=StickerSet, packs={StickerPack}, documents={Document}} + +``` + + diff --git a/old_docs/API_docs_v105/constructors/messages.stickerSetInstallResultArchive.md b/old_docs/API_docs_v105/constructors/messages.stickerSetInstallResultArchive.md new file mode 100644 index 00000000..fefe2270 --- /dev/null +++ b/old_docs/API_docs_v105/constructors/messages.stickerSetInstallResultArchive.md @@ -0,0 +1,38 @@ +--- +title: messages.stickerSetInstallResultArchive +description: The stickerset was installed, but since there are too many stickersets some were archived +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickerSetInstallResultArchive +[Back to constructors index](index.md) + + + +The stickerset was installed, but since there are too many stickersets some were archived + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| + + + +### Type: [messages.StickerSetInstallResult](../types/messages.StickerSetInstallResult.md) + + +### Example: + +```php +$messages.stickerSetInstallResultArchive = ['_' => 'messages.stickerSetInstallResultArchive', 'sets' => [StickerSetCovered, StickerSetCovered]]; +``` + + +Or, if you're into Lua: + +```lua +messages.stickerSetInstallResultArchive={_='messages.stickerSetInstallResultArchive', sets={StickerSetCovered}} + +``` + + diff --git a/old_docs/API_docs_v105/constructors/messages.stickerSetInstallResultSuccess.md b/old_docs/API_docs_v105/constructors/messages.stickerSetInstallResultSuccess.md new file mode 100644 index 00000000..bbe8b961 --- /dev/null +++ b/old_docs/API_docs_v105/constructors/messages.stickerSetInstallResultSuccess.md @@ -0,0 +1,33 @@ +--- +title: messages.stickerSetInstallResultSuccess +description: The stickerset was installed successfully +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickerSetInstallResultSuccess +[Back to constructors index](index.md) + + + +The stickerset was installed successfully + + + + +### Type: [messages.StickerSetInstallResult](../types/messages.StickerSetInstallResult.md) + + +### Example: + +```php +$messages.stickerSetInstallResultSuccess = ['_' => 'messages.stickerSetInstallResultSuccess']; +``` + + +Or, if you're into Lua: + +```lua +messages.stickerSetInstallResultSuccess={_='messages.stickerSetInstallResultSuccess'} + +``` + + diff --git a/old_docs/API_docs_v105/constructors/messages.stickers.md b/old_docs/API_docs_v105/constructors/messages.stickers.md new file mode 100644 index 00000000..49ffea6a --- /dev/null +++ b/old_docs/API_docs_v105/constructors/messages.stickers.md @@ -0,0 +1,39 @@ +--- +title: messages.stickers +description: Found stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickers +[Back to constructors index](index.md) + + + +Found stickers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| + + + +### Type: [messages.Stickers](../types/messages.Stickers.md) + + +### Example: + +```php +$messages.stickers = ['_' => 'messages.stickers', 'hash' => int, 'stickers' => [Document, Document]]; +``` + + +Or, if you're into Lua: + +```lua +messages.stickers={_='messages.stickers', hash=int, stickers={Document}} + +``` + + diff --git a/old_docs/API_docs_v105/constructors/messages.stickersNotModified.md b/old_docs/API_docs_v105/constructors/messages.stickersNotModified.md new file mode 100644 index 00000000..e8c7766c --- /dev/null +++ b/old_docs/API_docs_v105/constructors/messages.stickersNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.stickersNotModified +description: No new stickers were found for the given query +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickersNotModified +[Back to constructors index](index.md) + + + +No new stickers were found for the given query + + + + +### Type: [messages.Stickers](../types/messages.Stickers.md) + + +### Example: + +```php +$messages.stickersNotModified = ['_' => 'messages.stickersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.stickersNotModified={_='messages.stickersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v105/constructors/messages_affectedHistory.md b/old_docs/API_docs_v105/constructors/messages_affectedHistory.md deleted file mode 100644 index 449a7e3f..00000000 --- a/old_docs/API_docs_v105/constructors/messages_affectedHistory.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.affectedHistory -description: Affected part of communication history with the user or in a chat. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.affectedHistory -[Back to constructors index](index.md) - - - -Affected part of communication history with the user or in a chat. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| -|pts\_count|[int](../types/int.md) | Yes|Number of affected events| -|offset|[int](../types/int.md) | Yes|If a parameter contains positive value, it is necessary to repeat the method call using the given value; during the proceeding of all the history the value itself shall gradually decrease| - - - -### Type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) - - -### Example: - -```php -$messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_affectedHistory={_='messages.affectedHistory', pts=int, pts_count=int, offset=int} - -``` - - diff --git a/old_docs/API_docs_v105/constructors/messages_affectedMessages.md b/old_docs/API_docs_v105/constructors/messages_affectedMessages.md deleted file mode 100644 index 86760581..00000000 --- a/old_docs/API_docs_v105/constructors/messages_affectedMessages.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.affectedMessages -description: Events affected by operation -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.affectedMessages -[Back to constructors index](index.md) - - - -Events affected by operation - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|[Event count after generation](https://core.telegram.org/api/updates)| -|pts\_count|[int](../types/int.md) | Yes|[Number of events that were generated](https://core.telegram.org/api/updates)| - - - -### Type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) - - -### Example: - -```php -$messages_affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_affectedMessages={_='messages.affectedMessages', pts=int, pts_count=int} - -``` - - diff --git a/old_docs/API_docs_v105/constructors/messages_allStickers.md b/old_docs/API_docs_v105/constructors/messages_allStickers.md deleted file mode 100644 index 2e64f46e..00000000 --- a/old_docs/API_docs_v105/constructors/messages_allStickers.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.allStickers -description: Info about all installed stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.allStickers -[Back to constructors index](index.md) - - - -Info about all installed stickers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|sets|Array of [StickerSet](../types/StickerSet.md) | Yes|Sets| - - - -### Type: [messages\_AllStickers](../types/messages_AllStickers.md) - - -### Example: - -```php -$messages_allStickers = ['_' => 'messages.allStickers', 'hash' => int, 'sets' => [StickerSet, StickerSet]]; -``` - - -Or, if you're into Lua: - -```lua -messages_allStickers={_='messages.allStickers', hash=int, sets={StickerSet}} - -``` - - diff --git a/old_docs/API_docs_v105/constructors/messages_allStickersNotModified.md b/old_docs/API_docs_v105/constructors/messages_allStickersNotModified.md deleted file mode 100644 index c4da85ab..00000000 --- a/old_docs/API_docs_v105/constructors/messages_allStickersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.allStickersNotModified -description: Info about all installed stickers hasn't changed -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.allStickersNotModified -[Back to constructors index](index.md) - - - -Info about all installed stickers hasn't changed - - - - -### Type: [messages\_AllStickers](../types/messages_AllStickers.md) - - -### Example: - -```php -$messages_allStickersNotModified = ['_' => 'messages.allStickersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_allStickersNotModified={_='messages.allStickersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v105/constructors/messages_archivedStickers.md b/old_docs/API_docs_v105/constructors/messages_archivedStickers.md deleted file mode 100644 index 6b28c885..00000000 --- a/old_docs/API_docs_v105/constructors/messages_archivedStickers.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.archivedStickers -description: Archived stickersets -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.archivedStickers -[Back to constructors index](index.md) - - - -Archived stickersets - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Number of archived stickers| -|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| - - - -### Type: [messages\_ArchivedStickers](../types/messages_ArchivedStickers.md) - - -### Example: - -```php -$messages_archivedStickers = ['_' => 'messages.archivedStickers', 'count' => int, 'sets' => [StickerSetCovered, StickerSetCovered]]; -``` - - -Or, if you're into Lua: - -```lua -messages_archivedStickers={_='messages.archivedStickers', count=int, sets={StickerSetCovered}} - -``` - - diff --git a/old_docs/API_docs_v105/constructors/messages_botCallbackAnswer.md b/old_docs/API_docs_v105/constructors/messages_botCallbackAnswer.md deleted file mode 100644 index e56f4b56..00000000 --- a/old_docs/API_docs_v105/constructors/messages_botCallbackAnswer.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: messages.botCallbackAnswer -description: Callback answer sent by the bot in response to a button press -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.botCallbackAnswer -[Back to constructors index](index.md) - - - -Callback answer sent by the bot in response to a button press - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|alert|[Bool](../types/Bool.md) | Optional|Whether an alert should be shown to the user instead of a toast notification| -|has\_url|[Bool](../types/Bool.md) | Optional|Whether an URL is present| -|native\_ui|[Bool](../types/Bool.md) | Optional|Whether to show games in WebView or in native UI.| -|message|[string](../types/string.md) | Optional|Alert to show| -|url|[string](../types/string.md) | Optional|URL to open| -|cache\_time|[int](../types/int.md) | Yes|For how long should this answer be cached| - - - -### Type: [messages\_BotCallbackAnswer](../types/messages_BotCallbackAnswer.md) - - -### Example: - -```php -$messages_botCallbackAnswer = ['_' => 'messages.botCallbackAnswer', 'alert' => Bool, 'has_url' => Bool, 'native_ui' => Bool, 'message' => 'string', 'url' => 'string', 'cache_time' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_botCallbackAnswer={_='messages.botCallbackAnswer', alert=Bool, has_url=Bool, native_ui=Bool, message='string', url='string', cache_time=int} - -``` - - diff --git a/old_docs/API_docs_v105/constructors/messages_botResults.md b/old_docs/API_docs_v105/constructors/messages_botResults.md deleted file mode 100644 index 19b9edf6..00000000 --- a/old_docs/API_docs_v105/constructors/messages_botResults.md +++ /dev/null @@ -1,44 +0,0 @@ ---- -title: messages.botResults -description: Result of a query to an inline bot -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.botResults -[Back to constructors index](index.md) - - - -Result of a query to an inline bot - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|gallery|[Bool](../types/Bool.md) | Optional|Whether the result is a picture gallery| -|query\_id|[long](../types/long.md) | Yes|Query ID| -|next\_offset|[string](../types/string.md) | Optional|The next offset to use when navigating through results| -|switch\_pm|[InlineBotSwitchPM](../types/InlineBotSwitchPM.md) | Optional|Whether the bot requested the user to message him in private| -|results|Array of [BotInlineResult](../types/BotInlineResult.md) | Yes|Results| -|cache\_time|[int](../types/int.md) | Yes|Caching validity of the results| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_BotResults](../types/messages_BotResults.md) - - -### Example: - -```php -$messages_botResults = ['_' => 'messages.botResults', 'gallery' => Bool, 'query_id' => long, 'next_offset' => 'string', 'switch_pm' => InlineBotSwitchPM, 'results' => [BotInlineResult, BotInlineResult], 'cache_time' => int, 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_botResults={_='messages.botResults', gallery=Bool, query_id=long, next_offset='string', switch_pm=InlineBotSwitchPM, results={BotInlineResult}, cache_time=int, users={User}} - -``` - - diff --git a/old_docs/API_docs_v105/constructors/messages_channelMessages.md b/old_docs/API_docs_v105/constructors/messages_channelMessages.md deleted file mode 100644 index 4cf24743..00000000 --- a/old_docs/API_docs_v105/constructors/messages_channelMessages.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: messages.channelMessages -description: Channel messages -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.channelMessages -[Back to constructors index](index.md) - - - -Channel messages - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|inexact|[Bool](../types/Bool.md) | Optional|If set, returned results may be inexact| -|pts|[int](../types/int.md) | Yes|[Event count after generation](https://core.telegram.org/api/updates)| -|count|[int](../types/int.md) | Yes|Total number of results were found server-side (may not be all included here)| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Messages](../types/messages_Messages.md) - - -### Example: - -```php -$messages_channelMessages = ['_' => 'messages.channelMessages', 'inexact' => Bool, 'pts' => int, 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_channelMessages={_='messages.channelMessages', inexact=Bool, pts=int, count=int, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v105/constructors/messages_chatFull.md b/old_docs/API_docs_v105/constructors/messages_chatFull.md deleted file mode 100644 index 02f1acdf..00000000 --- a/old_docs/API_docs_v105/constructors/messages_chatFull.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.chatFull -description: Extended info on chat and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.chatFull -[Back to constructors index](index.md) - - - -Extended info on chat and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|full\_chat|[ChatFull](../types/ChatFull.md) | Yes|Extended info on a chat| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_ChatFull](../types/messages_ChatFull.md) - - -### Example: - -```php -$messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_chatFull={_='messages.chatFull', full_chat=ChatFull, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v105/constructors/messages_chats.md b/old_docs/API_docs_v105/constructors/messages_chats.md deleted file mode 100644 index ef3690a9..00000000 --- a/old_docs/API_docs_v105/constructors/messages_chats.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.chats -description: List of chats with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.chats -[Back to constructors index](index.md) - - - -List of chats with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| - - - -### Type: [messages\_Chats](../types/messages_Chats.md) - - -### Example: - -```php -$messages_chats = ['_' => 'messages.chats', 'chats' => [Chat, Chat]]; -``` - - -Or, if you're into Lua: - -```lua -messages_chats={_='messages.chats', chats={Chat}} - -``` - - diff --git a/old_docs/API_docs_v105/constructors/messages_chatsSlice.md b/old_docs/API_docs_v105/constructors/messages_chatsSlice.md deleted file mode 100644 index f19c4357..00000000 --- a/old_docs/API_docs_v105/constructors/messages_chatsSlice.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.chatsSlice -description: Partial list of chats, more would have to be fetched with [pagination](https://core.telegram.org/api/offsets) -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.chatsSlice -[Back to constructors index](index.md) - - - -Partial list of chats, more would have to be fetched with [pagination](https://core.telegram.org/api/offsets) - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of results that were found server-side (not all are included in `chats`)| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| - - - -### Type: [messages\_Chats](../types/messages_Chats.md) - - -### Example: - -```php -$messages_chatsSlice = ['_' => 'messages.chatsSlice', 'count' => int, 'chats' => [Chat, Chat]]; -``` - - -Or, if you're into Lua: - -```lua -messages_chatsSlice={_='messages.chatsSlice', count=int, chats={Chat}} - -``` - - diff --git a/old_docs/API_docs_v105/constructors/messages_dhConfig.md b/old_docs/API_docs_v105/constructors/messages_dhConfig.md deleted file mode 100644 index 42c2feb1..00000000 --- a/old_docs/API_docs_v105/constructors/messages_dhConfig.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: messages.dhConfig -description: New set of configuring parameters. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dhConfig -[Back to constructors index](index.md) - - - -New set of configuring parameters. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|g|[int](../types/int.md) | Yes|New value **prime**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| -|p|[bytes](../types/bytes.md) | Yes|New value **primitive root**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| -|version|[int](../types/int.md) | Yes|Vestion of set of parameters| -|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| - - - -### Type: [messages\_DhConfig](../types/messages_DhConfig.md) - - -### Example: - -```php -$messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'version' => int, 'random' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -messages_dhConfig={_='messages.dhConfig', g=int, p='bytes', version=int, random='bytes'} - -``` - - diff --git a/old_docs/API_docs_v105/constructors/messages_dhConfigNotModified.md b/old_docs/API_docs_v105/constructors/messages_dhConfigNotModified.md deleted file mode 100644 index 5bf64230..00000000 --- a/old_docs/API_docs_v105/constructors/messages_dhConfigNotModified.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.dhConfigNotModified -description: Configuring parameters did not change. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dhConfigNotModified -[Back to constructors index](index.md) - - - -Configuring parameters did not change. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| - - - -### Type: [messages\_DhConfig](../types/messages_DhConfig.md) - - -### Example: - -```php -$messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -messages_dhConfigNotModified={_='messages.dhConfigNotModified', random='bytes'} - -``` - - diff --git a/old_docs/API_docs_v105/constructors/messages_dialogs.md b/old_docs/API_docs_v105/constructors/messages_dialogs.md deleted file mode 100644 index e6a431b4..00000000 --- a/old_docs/API_docs_v105/constructors/messages_dialogs.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: messages.dialogs -description: Full list of chats with messages and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dialogs -[Back to constructors index](index.md) - - - -Full list of chats with messages and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Dialogs](../types/messages_Dialogs.md) - - -### Example: - -```php -$messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_dialogs={_='messages.dialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v105/constructors/messages_dialogsNotModified.md b/old_docs/API_docs_v105/constructors/messages_dialogsNotModified.md deleted file mode 100644 index 16a32b2e..00000000 --- a/old_docs/API_docs_v105/constructors/messages_dialogsNotModified.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.dialogsNotModified -description: Dialogs haven't changed -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dialogsNotModified -[Back to constructors index](index.md) - - - -Dialogs haven't changed - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Number of dialogs found server-side by the query| - - - -### Type: [messages\_Dialogs](../types/messages_Dialogs.md) - - -### Example: - -```php -$messages_dialogsNotModified = ['_' => 'messages.dialogsNotModified', 'count' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_dialogsNotModified={_='messages.dialogsNotModified', count=int} - -``` - - diff --git a/old_docs/API_docs_v105/constructors/messages_dialogsSlice.md b/old_docs/API_docs_v105/constructors/messages_dialogsSlice.md deleted file mode 100644 index f183b9a8..00000000 --- a/old_docs/API_docs_v105/constructors/messages_dialogsSlice.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: messages.dialogsSlice -description: Incomplete list of dialogs with messages and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dialogsSlice -[Back to constructors index](index.md) - - - -Incomplete list of dialogs with messages and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of dialogs| -|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Dialogs](../types/messages_Dialogs.md) - - -### Example: - -```php -$messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_dialogsSlice={_='messages.dialogsSlice', count=int, dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v105/constructors/messages_favedStickers.md b/old_docs/API_docs_v105/constructors/messages_favedStickers.md deleted file mode 100644 index 72d79df2..00000000 --- a/old_docs/API_docs_v105/constructors/messages_favedStickers.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.favedStickers -description: Favorited stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.favedStickers -[Back to constructors index](index.md) - - - -Favorited stickers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|packs|Array of [StickerPack](../types/StickerPack.md) | Yes|Packs| -|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| - - - -### Type: [messages\_FavedStickers](../types/messages_FavedStickers.md) - - -### Example: - -```php -$messages_favedStickers = ['_' => 'messages.favedStickers', 'hash' => int, 'packs' => [StickerPack, StickerPack], 'stickers' => [Document, Document]]; -``` - - -Or, if you're into Lua: - -```lua -messages_favedStickers={_='messages.favedStickers', hash=int, packs={StickerPack}, stickers={Document}} - -``` - - diff --git a/old_docs/API_docs_v105/constructors/messages_favedStickersNotModified.md b/old_docs/API_docs_v105/constructors/messages_favedStickersNotModified.md deleted file mode 100644 index a47c08e8..00000000 --- a/old_docs/API_docs_v105/constructors/messages_favedStickersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.favedStickersNotModified -description: No new favorited stickers were found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.favedStickersNotModified -[Back to constructors index](index.md) - - - -No new favorited stickers were found - - - - -### Type: [messages\_FavedStickers](../types/messages_FavedStickers.md) - - -### Example: - -```php -$messages_favedStickersNotModified = ['_' => 'messages.favedStickersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_favedStickersNotModified={_='messages.favedStickersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v105/constructors/messages_featuredStickers.md b/old_docs/API_docs_v105/constructors/messages_featuredStickers.md deleted file mode 100644 index 8ef1046e..00000000 --- a/old_docs/API_docs_v105/constructors/messages_featuredStickers.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.featuredStickers -description: Featured stickersets -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.featuredStickers -[Back to constructors index](index.md) - - - -Featured stickersets - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| -|unread|Array of [long](../types/long.md) | Yes|Unread| - - - -### Type: [messages\_FeaturedStickers](../types/messages_FeaturedStickers.md) - - -### Example: - -```php -$messages_featuredStickers = ['_' => 'messages.featuredStickers', 'hash' => int, 'sets' => [StickerSetCovered, StickerSetCovered], 'unread' => [long, long]]; -``` - - -Or, if you're into Lua: - -```lua -messages_featuredStickers={_='messages.featuredStickers', hash=int, sets={StickerSetCovered}, unread={long}} - -``` - - diff --git a/old_docs/API_docs_v105/constructors/messages_featuredStickersNotModified.md b/old_docs/API_docs_v105/constructors/messages_featuredStickersNotModified.md deleted file mode 100644 index de01131b..00000000 --- a/old_docs/API_docs_v105/constructors/messages_featuredStickersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.featuredStickersNotModified -description: Featured stickers haven't changed -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.featuredStickersNotModified -[Back to constructors index](index.md) - - - -Featured stickers haven't changed - - - - -### Type: [messages\_FeaturedStickers](../types/messages_FeaturedStickers.md) - - -### Example: - -```php -$messages_featuredStickersNotModified = ['_' => 'messages.featuredStickersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_featuredStickersNotModified={_='messages.featuredStickersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v105/constructors/messages_foundGifs.md b/old_docs/API_docs_v105/constructors/messages_foundGifs.md deleted file mode 100644 index eb3603ca..00000000 --- a/old_docs/API_docs_v105/constructors/messages_foundGifs.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.foundGifs -description: Found GIFs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.foundGifs -[Back to constructors index](index.md) - - - -Found GIFs - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|next\_offset|[int](../types/int.md) | Yes|Next offset to use when trying to [load more results](../methods/messages.searchGifs.md)| -|results|Array of [FoundGif](../types/FoundGif.md) | Yes|Results| - - - -### Type: [messages\_FoundGifs](../types/messages_FoundGifs.md) - - -### Example: - -```php -$messages_foundGifs = ['_' => 'messages.foundGifs', 'next_offset' => int, 'results' => [FoundGif, FoundGif]]; -``` - - -Or, if you're into Lua: - -```lua -messages_foundGifs={_='messages.foundGifs', next_offset=int, results={FoundGif}} - -``` - - diff --git a/old_docs/API_docs_v105/constructors/messages_foundStickerSets.md b/old_docs/API_docs_v105/constructors/messages_foundStickerSets.md deleted file mode 100644 index 356177e1..00000000 --- a/old_docs/API_docs_v105/constructors/messages_foundStickerSets.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.foundStickerSets -description: Found stickersets -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.foundStickerSets -[Back to constructors index](index.md) - - - -Found stickersets - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| - - - -### Type: [messages\_FoundStickerSets](../types/messages_FoundStickerSets.md) - - -### Example: - -```php -$messages_foundStickerSets = ['_' => 'messages.foundStickerSets', 'hash' => int, 'sets' => [StickerSetCovered, StickerSetCovered]]; -``` - - -Or, if you're into Lua: - -```lua -messages_foundStickerSets={_='messages.foundStickerSets', hash=int, sets={StickerSetCovered}} - -``` - - diff --git a/old_docs/API_docs_v105/constructors/messages_foundStickerSetsNotModified.md b/old_docs/API_docs_v105/constructors/messages_foundStickerSetsNotModified.md deleted file mode 100644 index c1f39490..00000000 --- a/old_docs/API_docs_v105/constructors/messages_foundStickerSetsNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.foundStickerSetsNotModified -description: No further results were found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.foundStickerSetsNotModified -[Back to constructors index](index.md) - - - -No further results were found - - - - -### Type: [messages\_FoundStickerSets](../types/messages_FoundStickerSets.md) - - -### Example: - -```php -$messages_foundStickerSetsNotModified = ['_' => 'messages.foundStickerSetsNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_foundStickerSetsNotModified={_='messages.foundStickerSetsNotModified'} - -``` - - diff --git a/old_docs/API_docs_v105/constructors/messages_highScores.md b/old_docs/API_docs_v105/constructors/messages_highScores.md deleted file mode 100644 index d6fc5210..00000000 --- a/old_docs/API_docs_v105/constructors/messages_highScores.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.highScores -description: Highscores in a game -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.highScores -[Back to constructors index](index.md) - - - -Highscores in a game - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|scores|Array of [HighScore](../types/HighScore.md) | Yes|Scores| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_HighScores](../types/messages_HighScores.md) - - -### Example: - -```php -$messages_highScores = ['_' => 'messages.highScores', 'scores' => [HighScore, HighScore], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_highScores={_='messages.highScores', scores={HighScore}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v105/constructors/messages_messageEditData.md b/old_docs/API_docs_v105/constructors/messages_messageEditData.md deleted file mode 100644 index 76aefca5..00000000 --- a/old_docs/API_docs_v105/constructors/messages_messageEditData.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.messageEditData -description: Message edit data for media -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.messageEditData -[Back to constructors index](index.md) - - - -Message edit data for media - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|caption|[Bool](../types/Bool.md) | Optional|Media caption, if the specified media's caption can be edited| - - - -### Type: [messages\_MessageEditData](../types/messages_MessageEditData.md) - - -### Example: - -```php -$messages_messageEditData = ['_' => 'messages.messageEditData', 'caption' => Bool]; -``` - - -Or, if you're into Lua: - -```lua -messages_messageEditData={_='messages.messageEditData', caption=Bool} - -``` - - diff --git a/old_docs/API_docs_v105/constructors/messages_messages.md b/old_docs/API_docs_v105/constructors/messages_messages.md deleted file mode 100644 index 3e369e1a..00000000 --- a/old_docs/API_docs_v105/constructors/messages_messages.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.messages -description: Full list of messages with auxilary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.messages -[Back to constructors index](index.md) - - - -Full list of messages with auxilary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Messages](../types/messages_Messages.md) - - -### Example: - -```php -$messages_messages = ['_' => 'messages.messages', 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_messages={_='messages.messages', messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v105/constructors/messages_messagesNotModified.md b/old_docs/API_docs_v105/constructors/messages_messagesNotModified.md deleted file mode 100644 index 2e9c4ad9..00000000 --- a/old_docs/API_docs_v105/constructors/messages_messagesNotModified.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.messagesNotModified -description: No new messages matching the query were found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.messagesNotModified -[Back to constructors index](index.md) - - - -No new messages matching the query were found - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Number of results found server-side by the given query| - - - -### Type: [messages\_Messages](../types/messages_Messages.md) - - -### Example: - -```php -$messages_messagesNotModified = ['_' => 'messages.messagesNotModified', 'count' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_messagesNotModified={_='messages.messagesNotModified', count=int} - -``` - - diff --git a/old_docs/API_docs_v105/constructors/messages_messagesSlice.md b/old_docs/API_docs_v105/constructors/messages_messagesSlice.md deleted file mode 100644 index 788f301a..00000000 --- a/old_docs/API_docs_v105/constructors/messages_messagesSlice.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: messages.messagesSlice -description: Incomplete list of messages and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.messagesSlice -[Back to constructors index](index.md) - - - -Incomplete list of messages and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|inexact|[Bool](../types/Bool.md) | Optional|If set, indicates that the results may be inexact| -|count|[int](../types/int.md) | Yes|Total number of messages in the list| -|next\_rate|[int](../types/int.md) | Optional|Rate to use in the `offset_rate` parameter in the next call to [messages.searchGlobal](../methods/messages.searchGlobal.md)| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Messages](../types/messages_Messages.md) - - -### Example: - -```php -$messages_messagesSlice = ['_' => 'messages.messagesSlice', 'inexact' => Bool, 'count' => int, 'next_rate' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_messagesSlice={_='messages.messagesSlice', inexact=Bool, count=int, next_rate=int, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v105/constructors/messages_peerDialogs.md b/old_docs/API_docs_v105/constructors/messages_peerDialogs.md deleted file mode 100644 index 29b4b842..00000000 --- a/old_docs/API_docs_v105/constructors/messages_peerDialogs.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: messages.peerDialogs -description: Dialog info of multiple peers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.peerDialogs -[Back to constructors index](index.md) - - - -Dialog info of multiple peers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| -|state|[updates\_State](../types/updates_State.md) | Yes|Current [update state of dialog](https://core.telegram.org/api/updates)| - - - -### Type: [messages\_PeerDialogs](../types/messages_PeerDialogs.md) - - -### Example: - -```php -$messages_peerDialogs = ['_' => 'messages.peerDialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates_State]; -``` - - -Or, if you're into Lua: - -```lua -messages_peerDialogs={_='messages.peerDialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}, state=updates_State} - -``` - - diff --git a/old_docs/API_docs_v105/constructors/messages_recentStickers.md b/old_docs/API_docs_v105/constructors/messages_recentStickers.md deleted file mode 100644 index 47d5cffd..00000000 --- a/old_docs/API_docs_v105/constructors/messages_recentStickers.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: messages.recentStickers -description: Recently used stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.recentStickers -[Back to constructors index](index.md) - - - -Recently used stickers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|packs|Array of [StickerPack](../types/StickerPack.md) | Yes|Packs| -|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| -|dates|Array of [int](../types/int.md) | Yes|Dates| - - - -### Type: [messages\_RecentStickers](../types/messages_RecentStickers.md) - - -### Example: - -```php -$messages_recentStickers = ['_' => 'messages.recentStickers', 'hash' => int, 'packs' => [StickerPack, StickerPack], 'stickers' => [Document, Document], 'dates' => [int, int]]; -``` - - -Or, if you're into Lua: - -```lua -messages_recentStickers={_='messages.recentStickers', hash=int, packs={StickerPack}, stickers={Document}, dates={int}} - -``` - - diff --git a/old_docs/API_docs_v105/constructors/messages_recentStickersNotModified.md b/old_docs/API_docs_v105/constructors/messages_recentStickersNotModified.md deleted file mode 100644 index 3e81dceb..00000000 --- a/old_docs/API_docs_v105/constructors/messages_recentStickersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.recentStickersNotModified -description: No new recent sticker was found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.recentStickersNotModified -[Back to constructors index](index.md) - - - -No new recent sticker was found - - - - -### Type: [messages\_RecentStickers](../types/messages_RecentStickers.md) - - -### Example: - -```php -$messages_recentStickersNotModified = ['_' => 'messages.recentStickersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_recentStickersNotModified={_='messages.recentStickersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v105/constructors/messages_savedGifs.md b/old_docs/API_docs_v105/constructors/messages_savedGifs.md deleted file mode 100644 index ed3e8ea3..00000000 --- a/old_docs/API_docs_v105/constructors/messages_savedGifs.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.savedGifs -description: Saved gifs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.savedGifs -[Back to constructors index](index.md) - - - -Saved gifs - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|gifs|Array of [Document](../types/Document.md) | Yes|Gifs| - - - -### Type: [messages\_SavedGifs](../types/messages_SavedGifs.md) - - -### Example: - -```php -$messages_savedGifs = ['_' => 'messages.savedGifs', 'hash' => int, 'gifs' => [Document, Document]]; -``` - - -Or, if you're into Lua: - -```lua -messages_savedGifs={_='messages.savedGifs', hash=int, gifs={Document}} - -``` - - diff --git a/old_docs/API_docs_v105/constructors/messages_savedGifsNotModified.md b/old_docs/API_docs_v105/constructors/messages_savedGifsNotModified.md deleted file mode 100644 index 0f843a0c..00000000 --- a/old_docs/API_docs_v105/constructors/messages_savedGifsNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.savedGifsNotModified -description: No new saved gifs were found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.savedGifsNotModified -[Back to constructors index](index.md) - - - -No new saved gifs were found - - - - -### Type: [messages\_SavedGifs](../types/messages_SavedGifs.md) - - -### Example: - -```php -$messages_savedGifsNotModified = ['_' => 'messages.savedGifsNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_savedGifsNotModified={_='messages.savedGifsNotModified'} - -``` - - diff --git a/old_docs/API_docs_v105/constructors/messages_searchCounter.md b/old_docs/API_docs_v105/constructors/messages_searchCounter.md deleted file mode 100644 index 7ca4102e..00000000 --- a/old_docs/API_docs_v105/constructors/messages_searchCounter.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.searchCounter -description: Indicates how many results would be found by a [messages.search](../methods/messages.search.md) call with the same parameters -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.searchCounter -[Back to constructors index](index.md) - - - -Indicates how many results would be found by a [messages.search](../methods/messages.search.md) call with the same parameters - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|inexact|[Bool](../types/Bool.md) | Optional|If set, the results may be inexact| -|filter|[MessagesFilter](../types/MessagesFilter.md) | Yes|Provided message filter| -|count|[int](../types/int.md) | Yes|Number of results that were found server-side| - - - -### Type: [messages\_SearchCounter](../types/messages_SearchCounter.md) - - -### Example: - -```php -$messages_searchCounter = ['_' => 'messages.searchCounter', 'inexact' => Bool, 'filter' => MessagesFilter, 'count' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_searchCounter={_='messages.searchCounter', inexact=Bool, filter=MessagesFilter, count=int} - -``` - - diff --git a/old_docs/API_docs_v105/constructors/messages_sentEncryptedFile.md b/old_docs/API_docs_v105/constructors/messages_sentEncryptedFile.md deleted file mode 100644 index fdc2a11e..00000000 --- a/old_docs/API_docs_v105/constructors/messages_sentEncryptedFile.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.sentEncryptedFile -description: Message with a file enclosure sent to a protected chat -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.sentEncryptedFile -[Back to constructors index](index.md) - - - -Message with a file enclosure sent to a protected chat - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Sending date| -|file|[EncryptedFile](../types/EncryptedFile.md) | Optional|Attached file| - - - -### Type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) - - -### Example: - -```php -$messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile]; -``` - - -Or, if you're into Lua: - -```lua -messages_sentEncryptedFile={_='messages.sentEncryptedFile', date=int, file=EncryptedFile} - -``` - - diff --git a/old_docs/API_docs_v105/constructors/messages_sentEncryptedMessage.md b/old_docs/API_docs_v105/constructors/messages_sentEncryptedMessage.md deleted file mode 100644 index 36b2bbff..00000000 --- a/old_docs/API_docs_v105/constructors/messages_sentEncryptedMessage.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.sentEncryptedMessage -description: Message without file attachemts sent to an encrypted file. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.sentEncryptedMessage -[Back to constructors index](index.md) - - - -Message without file attachemts sent to an encrypted file. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Date of sending| - - - -### Type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) - - -### Example: - -```php -$messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_sentEncryptedMessage={_='messages.sentEncryptedMessage', date=int} - -``` - - diff --git a/old_docs/API_docs_v105/constructors/messages_stickerSet.md b/old_docs/API_docs_v105/constructors/messages_stickerSet.md deleted file mode 100644 index 127191de..00000000 --- a/old_docs/API_docs_v105/constructors/messages_stickerSet.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.stickerSet -description: Stickerset and stickers inside it -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickerSet -[Back to constructors index](index.md) - - - -Stickerset and stickers inside it - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|set|[StickerSet](../types/StickerSet.md) | Yes|The stickerset| -|packs|Array of [StickerPack](../types/StickerPack.md) | Yes|Packs| -|documents|Array of [Document](../types/Document.md) | Yes|Documents| - - - -### Type: [messages\_StickerSet](../types/messages_StickerSet.md) - - -### Example: - -```php -$messages_stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'packs' => [StickerPack, StickerPack], 'documents' => [Document, Document]]; -``` - - -Or, if you're into Lua: - -```lua -messages_stickerSet={_='messages.stickerSet', set=StickerSet, packs={StickerPack}, documents={Document}} - -``` - - diff --git a/old_docs/API_docs_v105/constructors/messages_stickerSetInstallResultArchive.md b/old_docs/API_docs_v105/constructors/messages_stickerSetInstallResultArchive.md deleted file mode 100644 index 8a5f4d5d..00000000 --- a/old_docs/API_docs_v105/constructors/messages_stickerSetInstallResultArchive.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.stickerSetInstallResultArchive -description: The stickerset was installed, but since there are too many stickersets some were archived -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickerSetInstallResultArchive -[Back to constructors index](index.md) - - - -The stickerset was installed, but since there are too many stickersets some were archived - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| - - - -### Type: [messages\_StickerSetInstallResult](../types/messages_StickerSetInstallResult.md) - - -### Example: - -```php -$messages_stickerSetInstallResultArchive = ['_' => 'messages.stickerSetInstallResultArchive', 'sets' => [StickerSetCovered, StickerSetCovered]]; -``` - - -Or, if you're into Lua: - -```lua -messages_stickerSetInstallResultArchive={_='messages.stickerSetInstallResultArchive', sets={StickerSetCovered}} - -``` - - diff --git a/old_docs/API_docs_v105/constructors/messages_stickerSetInstallResultSuccess.md b/old_docs/API_docs_v105/constructors/messages_stickerSetInstallResultSuccess.md deleted file mode 100644 index 1d33b89f..00000000 --- a/old_docs/API_docs_v105/constructors/messages_stickerSetInstallResultSuccess.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.stickerSetInstallResultSuccess -description: The stickerset was installed successfully -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickerSetInstallResultSuccess -[Back to constructors index](index.md) - - - -The stickerset was installed successfully - - - - -### Type: [messages\_StickerSetInstallResult](../types/messages_StickerSetInstallResult.md) - - -### Example: - -```php -$messages_stickerSetInstallResultSuccess = ['_' => 'messages.stickerSetInstallResultSuccess']; -``` - - -Or, if you're into Lua: - -```lua -messages_stickerSetInstallResultSuccess={_='messages.stickerSetInstallResultSuccess'} - -``` - - diff --git a/old_docs/API_docs_v105/constructors/messages_stickers.md b/old_docs/API_docs_v105/constructors/messages_stickers.md deleted file mode 100644 index c321996b..00000000 --- a/old_docs/API_docs_v105/constructors/messages_stickers.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.stickers -description: Found stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickers -[Back to constructors index](index.md) - - - -Found stickers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| - - - -### Type: [messages\_Stickers](../types/messages_Stickers.md) - - -### Example: - -```php -$messages_stickers = ['_' => 'messages.stickers', 'hash' => int, 'stickers' => [Document, Document]]; -``` - - -Or, if you're into Lua: - -```lua -messages_stickers={_='messages.stickers', hash=int, stickers={Document}} - -``` - - diff --git a/old_docs/API_docs_v105/constructors/messages_stickersNotModified.md b/old_docs/API_docs_v105/constructors/messages_stickersNotModified.md deleted file mode 100644 index 3d434a79..00000000 --- a/old_docs/API_docs_v105/constructors/messages_stickersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.stickersNotModified -description: No new stickers were found for the given query -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickersNotModified -[Back to constructors index](index.md) - - - -No new stickers were found for the given query - - - - -### Type: [messages\_Stickers](../types/messages_Stickers.md) - - -### Example: - -```php -$messages_stickersNotModified = ['_' => 'messages.stickersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_stickersNotModified={_='messages.stickersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v105/constructors/payments.paymentForm.md b/old_docs/API_docs_v105/constructors/payments.paymentForm.md new file mode 100644 index 00000000..90e0f39d --- /dev/null +++ b/old_docs/API_docs_v105/constructors/payments.paymentForm.md @@ -0,0 +1,48 @@ +--- +title: payments.paymentForm +description: Payment form +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: payments.paymentForm +[Back to constructors index](index.md) + + + +Payment form + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|can\_save\_credentials|[Bool](../types/Bool.md) | Optional|Whether the user can choose to save credentials.| +|password\_missing|[Bool](../types/Bool.md) | Optional|Indicates that the user can save payment credentials, but only after setting up a [2FA password](https://core.telegram.org/api/srp) (currently the account doesn't have a [2FA password](https://core.telegram.org/api/srp))| +|bot\_id|[int](../types/int.md) | Yes|Bot ID| +|invoice|[Invoice](../types/Invoice.md) | Yes|Invoice| +|provider\_id|[int](../types/int.md) | Yes|Payment provider ID.| +|url|[string](../types/string.md) | Yes|Payment form URL| +|native\_provider|[string](../types/string.md) | Optional|Payment provider name.
One of the following:
\- `stripe`| +|native\_params|[DataJSON](../types/DataJSON.md) | Optional|Contains information about the payment provider, if available, to support it natively without the need for opening the URL.
A JSON object that can contain the following fields:

\- `publishable_key`: Stripe API publishable key
\- `apple_pay_merchant_id`: Apple Pay merchant ID
\- `android_pay_public_key`: Android Pay public key
\- `android_pay_bgcolor`: Android Pay form background color
\- `android_pay_inverse`: Whether to use the dark theme in the Android Pay form
\- `need_country`: True, if the user country must be provided,
\- `need_zip`: True, if the user ZIP/postal code must be provided,
\- `need_cardholder_name`: True, if the cardholder name must be provided
| +|saved\_info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Optional|Saved server-side order information| +|saved\_credentials|[PaymentSavedCredentials](../types/PaymentSavedCredentials.md) | Optional|Contains information about saved card credentials| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [payments.PaymentForm](../types/payments.PaymentForm.md) + + +### Example: + +```php +$payments.paymentForm = ['_' => 'payments.paymentForm', 'can_save_credentials' => Bool, 'password_missing' => Bool, 'bot_id' => int, 'invoice' => Invoice, 'provider_id' => int, 'url' => 'string', 'native_provider' => 'string', 'native_params' => DataJSON, 'saved_info' => PaymentRequestedInfo, 'saved_credentials' => PaymentSavedCredentials, 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +payments.paymentForm={_='payments.paymentForm', can_save_credentials=Bool, password_missing=Bool, bot_id=int, invoice=Invoice, provider_id=int, url='string', native_provider='string', native_params=DataJSON, saved_info=PaymentRequestedInfo, saved_credentials=PaymentSavedCredentials, users={User}} + +``` + + diff --git a/old_docs/API_docs_v105/constructors/payments.paymentReceipt.md b/old_docs/API_docs_v105/constructors/payments.paymentReceipt.md new file mode 100644 index 00000000..5a0cc190 --- /dev/null +++ b/old_docs/API_docs_v105/constructors/payments.paymentReceipt.md @@ -0,0 +1,47 @@ +--- +title: payments.paymentReceipt +description: Receipt +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: payments.paymentReceipt +[Back to constructors index](index.md) + + + +Receipt + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Date of generation| +|bot\_id|[int](../types/int.md) | Yes|Bot ID| +|invoice|[Invoice](../types/Invoice.md) | Yes|Invoice| +|provider\_id|[int](../types/int.md) | Yes|Provider ID| +|info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Optional|Info| +|shipping|[ShippingOption](../types/ShippingOption.md) | Optional|Selected shipping option| +|currency|[string](../types/string.md) | Yes|Three-letter ISO 4217 [currency](https://core.telegram.org/bots/payments#supported-currencies) code| +|total\_amount|[long](../types/long.md) | Yes|Total amount in the smallest units of the currency (integer, not float/double). For example, for a price of `US$ 1.45` pass `amount = 145`. See the exp parameter in [currencies.json](https://core.telegram.org/bots/payments/currencies.json), it shows the number of digits past the decimal point for each currency (2 for the majority of currencies).| +|credentials\_title|[string](../types/string.md) | Yes|Payment credential name| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [payments.PaymentReceipt](../types/payments.PaymentReceipt.md) + + +### Example: + +```php +$payments.paymentReceipt = ['_' => 'payments.paymentReceipt', 'date' => int, 'bot_id' => int, 'invoice' => Invoice, 'provider_id' => int, 'info' => PaymentRequestedInfo, 'shipping' => ShippingOption, 'currency' => 'string', 'total_amount' => long, 'credentials_title' => 'string', 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +payments.paymentReceipt={_='payments.paymentReceipt', date=int, bot_id=int, invoice=Invoice, provider_id=int, info=PaymentRequestedInfo, shipping=ShippingOption, currency='string', total_amount=long, credentials_title='string', users={User}} + +``` + + diff --git a/old_docs/API_docs_v105/constructors/payments.paymentResult.md b/old_docs/API_docs_v105/constructors/payments.paymentResult.md new file mode 100644 index 00000000..df32fd91 --- /dev/null +++ b/old_docs/API_docs_v105/constructors/payments.paymentResult.md @@ -0,0 +1,38 @@ +--- +title: payments.paymentResult +description: Payment result +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: payments.paymentResult +[Back to constructors index](index.md) + + + +Payment result + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|updates|[Updates](../types/Updates.md) | Yes|Info about the payment| + + + +### Type: [payments.PaymentResult](../types/payments.PaymentResult.md) + + +### Example: + +```php +$payments.paymentResult = ['_' => 'payments.paymentResult', 'updates' => Updates]; +``` + + +Or, if you're into Lua: + +```lua +payments.paymentResult={_='payments.paymentResult', updates=Updates} + +``` + + diff --git a/old_docs/API_docs_v105/constructors/payments.paymentVerificationNeeded.md b/old_docs/API_docs_v105/constructors/payments.paymentVerificationNeeded.md new file mode 100644 index 00000000..780620e1 --- /dev/null +++ b/old_docs/API_docs_v105/constructors/payments.paymentVerificationNeeded.md @@ -0,0 +1,38 @@ +--- +title: payments.paymentVerificationNeeded +description: Payment was not successful, additional verification is needed +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: payments.paymentVerificationNeeded +[Back to constructors index](index.md) + + + +Payment was not successful, additional verification is needed + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|url|[string](../types/string.md) | Yes|URL for additional payment credentials verification| + + + +### Type: [payments.PaymentResult](../types/payments.PaymentResult.md) + + +### Example: + +```php +$payments.paymentVerificationNeeded = ['_' => 'payments.paymentVerificationNeeded', 'url' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +payments.paymentVerificationNeeded={_='payments.paymentVerificationNeeded', url='string'} + +``` + + diff --git a/old_docs/API_docs_v105/constructors/payments.savedInfo.md b/old_docs/API_docs_v105/constructors/payments.savedInfo.md new file mode 100644 index 00000000..a005a842 --- /dev/null +++ b/old_docs/API_docs_v105/constructors/payments.savedInfo.md @@ -0,0 +1,39 @@ +--- +title: payments.savedInfo +description: Saved server-side order information +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: payments.savedInfo +[Back to constructors index](index.md) + + + +Saved server-side order information + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|has\_saved\_credentials|[Bool](../types/Bool.md) | Optional|Whether the user has some saved payment credentials| +|saved\_info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Optional|Saved server-side order information| + + + +### Type: [payments.SavedInfo](../types/payments.SavedInfo.md) + + +### Example: + +```php +$payments.savedInfo = ['_' => 'payments.savedInfo', 'has_saved_credentials' => Bool, 'saved_info' => PaymentRequestedInfo]; +``` + + +Or, if you're into Lua: + +```lua +payments.savedInfo={_='payments.savedInfo', has_saved_credentials=Bool, saved_info=PaymentRequestedInfo} + +``` + + diff --git a/old_docs/API_docs_v105/constructors/payments.validatedRequestedInfo.md b/old_docs/API_docs_v105/constructors/payments.validatedRequestedInfo.md new file mode 100644 index 00000000..4789b28d --- /dev/null +++ b/old_docs/API_docs_v105/constructors/payments.validatedRequestedInfo.md @@ -0,0 +1,39 @@ +--- +title: payments.validatedRequestedInfo +description: Validated user-provided info +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: payments.validatedRequestedInfo +[Back to constructors index](index.md) + + + +Validated user-provided info + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|id|[string](../types/string.md) | Optional|ID| +|shipping\_options|Array of [ShippingOption](../types/ShippingOption.md) | Optional|Shipping options| + + + +### Type: [payments.ValidatedRequestedInfo](../types/payments.ValidatedRequestedInfo.md) + + +### Example: + +```php +$payments.validatedRequestedInfo = ['_' => 'payments.validatedRequestedInfo', 'id' => 'string', 'shipping_options' => [ShippingOption, ShippingOption]]; +``` + + +Or, if you're into Lua: + +```lua +payments.validatedRequestedInfo={_='payments.validatedRequestedInfo', id='string', shipping_options={ShippingOption}} + +``` + + diff --git a/old_docs/API_docs_v105/constructors/payments_paymentForm.md b/old_docs/API_docs_v105/constructors/payments_paymentForm.md deleted file mode 100644 index 88848527..00000000 --- a/old_docs/API_docs_v105/constructors/payments_paymentForm.md +++ /dev/null @@ -1,48 +0,0 @@ ---- -title: payments.paymentForm -description: Payment form -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: payments.paymentForm -[Back to constructors index](index.md) - - - -Payment form - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|can\_save\_credentials|[Bool](../types/Bool.md) | Optional|Whether the user can choose to save credentials.| -|password\_missing|[Bool](../types/Bool.md) | Optional|Indicates that the user can save payment credentials, but only after setting up a [2FA password](https://core.telegram.org/api/srp) (currently the account doesn't have a [2FA password](https://core.telegram.org/api/srp))| -|bot\_id|[int](../types/int.md) | Yes|Bot ID| -|invoice|[Invoice](../types/Invoice.md) | Yes|Invoice| -|provider\_id|[int](../types/int.md) | Yes|Payment provider ID.| -|url|[string](../types/string.md) | Yes|Payment form URL| -|native\_provider|[string](../types/string.md) | Optional|Payment provider name.
One of the following:
\- `stripe`| -|native\_params|[DataJSON](../types/DataJSON.md) | Optional|Contains information about the payment provider, if available, to support it natively without the need for opening the URL.
A JSON object that can contain the following fields:

\- `publishable_key`: Stripe API publishable key
\- `apple_pay_merchant_id`: Apple Pay merchant ID
\- `android_pay_public_key`: Android Pay public key
\- `android_pay_bgcolor`: Android Pay form background color
\- `android_pay_inverse`: Whether to use the dark theme in the Android Pay form
\- `need_country`: True, if the user country must be provided,
\- `need_zip`: True, if the user ZIP/postal code must be provided,
\- `need_cardholder_name`: True, if the cardholder name must be provided
| -|saved\_info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Optional|Saved server-side order information| -|saved\_credentials|[PaymentSavedCredentials](../types/PaymentSavedCredentials.md) | Optional|Contains information about saved card credentials| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [payments\_PaymentForm](../types/payments_PaymentForm.md) - - -### Example: - -```php -$payments_paymentForm = ['_' => 'payments.paymentForm', 'can_save_credentials' => Bool, 'password_missing' => Bool, 'bot_id' => int, 'invoice' => Invoice, 'provider_id' => int, 'url' => 'string', 'native_provider' => 'string', 'native_params' => DataJSON, 'saved_info' => PaymentRequestedInfo, 'saved_credentials' => PaymentSavedCredentials, 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -payments_paymentForm={_='payments.paymentForm', can_save_credentials=Bool, password_missing=Bool, bot_id=int, invoice=Invoice, provider_id=int, url='string', native_provider='string', native_params=DataJSON, saved_info=PaymentRequestedInfo, saved_credentials=PaymentSavedCredentials, users={User}} - -``` - - diff --git a/old_docs/API_docs_v105/constructors/payments_paymentReceipt.md b/old_docs/API_docs_v105/constructors/payments_paymentReceipt.md deleted file mode 100644 index 411e9dee..00000000 --- a/old_docs/API_docs_v105/constructors/payments_paymentReceipt.md +++ /dev/null @@ -1,47 +0,0 @@ ---- -title: payments.paymentReceipt -description: Receipt -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: payments.paymentReceipt -[Back to constructors index](index.md) - - - -Receipt - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Date of generation| -|bot\_id|[int](../types/int.md) | Yes|Bot ID| -|invoice|[Invoice](../types/Invoice.md) | Yes|Invoice| -|provider\_id|[int](../types/int.md) | Yes|Provider ID| -|info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Optional|Info| -|shipping|[ShippingOption](../types/ShippingOption.md) | Optional|Selected shipping option| -|currency|[string](../types/string.md) | Yes|Three-letter ISO 4217 [currency](https://core.telegram.org/bots/payments#supported-currencies) code| -|total\_amount|[long](../types/long.md) | Yes|Total amount in the smallest units of the currency (integer, not float/double). For example, for a price of `US$ 1.45` pass `amount = 145`. See the exp parameter in [currencies.json](https://core.telegram.org/bots/payments/currencies.json), it shows the number of digits past the decimal point for each currency (2 for the majority of currencies).| -|credentials\_title|[string](../types/string.md) | Yes|Payment credential name| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [payments\_PaymentReceipt](../types/payments_PaymentReceipt.md) - - -### Example: - -```php -$payments_paymentReceipt = ['_' => 'payments.paymentReceipt', 'date' => int, 'bot_id' => int, 'invoice' => Invoice, 'provider_id' => int, 'info' => PaymentRequestedInfo, 'shipping' => ShippingOption, 'currency' => 'string', 'total_amount' => long, 'credentials_title' => 'string', 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -payments_paymentReceipt={_='payments.paymentReceipt', date=int, bot_id=int, invoice=Invoice, provider_id=int, info=PaymentRequestedInfo, shipping=ShippingOption, currency='string', total_amount=long, credentials_title='string', users={User}} - -``` - - diff --git a/old_docs/API_docs_v105/constructors/payments_paymentResult.md b/old_docs/API_docs_v105/constructors/payments_paymentResult.md deleted file mode 100644 index 12af1d36..00000000 --- a/old_docs/API_docs_v105/constructors/payments_paymentResult.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: payments.paymentResult -description: Payment result -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: payments.paymentResult -[Back to constructors index](index.md) - - - -Payment result - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|updates|[Updates](../types/Updates.md) | Yes|Info about the payment| - - - -### Type: [payments\_PaymentResult](../types/payments_PaymentResult.md) - - -### Example: - -```php -$payments_paymentResult = ['_' => 'payments.paymentResult', 'updates' => Updates]; -``` - - -Or, if you're into Lua: - -```lua -payments_paymentResult={_='payments.paymentResult', updates=Updates} - -``` - - diff --git a/old_docs/API_docs_v105/constructors/payments_paymentVerificationNeeded.md b/old_docs/API_docs_v105/constructors/payments_paymentVerificationNeeded.md deleted file mode 100644 index 6781cc56..00000000 --- a/old_docs/API_docs_v105/constructors/payments_paymentVerificationNeeded.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: payments.paymentVerificationNeeded -description: Payment was not successful, additional verification is needed -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: payments.paymentVerificationNeeded -[Back to constructors index](index.md) - - - -Payment was not successful, additional verification is needed - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|url|[string](../types/string.md) | Yes|URL for additional payment credentials verification| - - - -### Type: [payments\_PaymentResult](../types/payments_PaymentResult.md) - - -### Example: - -```php -$payments_paymentVerificationNeeded = ['_' => 'payments.paymentVerificationNeeded', 'url' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -payments_paymentVerificationNeeded={_='payments.paymentVerificationNeeded', url='string'} - -``` - - diff --git a/old_docs/API_docs_v105/constructors/payments_savedInfo.md b/old_docs/API_docs_v105/constructors/payments_savedInfo.md deleted file mode 100644 index 19d3aee5..00000000 --- a/old_docs/API_docs_v105/constructors/payments_savedInfo.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: payments.savedInfo -description: Saved server-side order information -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: payments.savedInfo -[Back to constructors index](index.md) - - - -Saved server-side order information - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|has\_saved\_credentials|[Bool](../types/Bool.md) | Optional|Whether the user has some saved payment credentials| -|saved\_info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Optional|Saved server-side order information| - - - -### Type: [payments\_SavedInfo](../types/payments_SavedInfo.md) - - -### Example: - -```php -$payments_savedInfo = ['_' => 'payments.savedInfo', 'has_saved_credentials' => Bool, 'saved_info' => PaymentRequestedInfo]; -``` - - -Or, if you're into Lua: - -```lua -payments_savedInfo={_='payments.savedInfo', has_saved_credentials=Bool, saved_info=PaymentRequestedInfo} - -``` - - diff --git a/old_docs/API_docs_v105/constructors/payments_validatedRequestedInfo.md b/old_docs/API_docs_v105/constructors/payments_validatedRequestedInfo.md deleted file mode 100644 index a07c7d06..00000000 --- a/old_docs/API_docs_v105/constructors/payments_validatedRequestedInfo.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: payments.validatedRequestedInfo -description: Validated user-provided info -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: payments.validatedRequestedInfo -[Back to constructors index](index.md) - - - -Validated user-provided info - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|id|[string](../types/string.md) | Optional|ID| -|shipping\_options|Array of [ShippingOption](../types/ShippingOption.md) | Optional|Shipping options| - - - -### Type: [payments\_ValidatedRequestedInfo](../types/payments_ValidatedRequestedInfo.md) - - -### Example: - -```php -$payments_validatedRequestedInfo = ['_' => 'payments.validatedRequestedInfo', 'id' => 'string', 'shipping_options' => [ShippingOption, ShippingOption]]; -``` - - -Or, if you're into Lua: - -```lua -payments_validatedRequestedInfo={_='payments.validatedRequestedInfo', id='string', shipping_options={ShippingOption}} - -``` - - diff --git a/old_docs/API_docs_v105/constructors/phone.phoneCall.md b/old_docs/API_docs_v105/constructors/phone.phoneCall.md new file mode 100644 index 00000000..8c1d26d4 --- /dev/null +++ b/old_docs/API_docs_v105/constructors/phone.phoneCall.md @@ -0,0 +1,39 @@ +--- +title: phone.phoneCall +description: A VoIP phone call +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: phone.phoneCall +[Back to constructors index](index.md) + + + +A VoIP phone call + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_call|[PhoneCall](../types/PhoneCall.md) | Optional|The VoIP phone call| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [phone.PhoneCall](../types/phone.PhoneCall.md) + + +### Example: + +```php +$phone.phoneCall = ['_' => 'phone.phoneCall', 'phone_call' => PhoneCall, 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +phone.phoneCall={_='phone.phoneCall', phone_call=PhoneCall, users={User}} + +``` + + diff --git a/old_docs/API_docs_v105/constructors/phone_phoneCall.md b/old_docs/API_docs_v105/constructors/phone_phoneCall.md deleted file mode 100644 index 94314567..00000000 --- a/old_docs/API_docs_v105/constructors/phone_phoneCall.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: phone.phoneCall -description: A VoIP phone call -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: phone.phoneCall -[Back to constructors index](index.md) - - - -A VoIP phone call - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_call|[PhoneCall](../types/PhoneCall.md) | Optional|The VoIP phone call| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [phone\_PhoneCall](../types/phone_PhoneCall.md) - - -### Example: - -```php -$phone_phoneCall = ['_' => 'phone.phoneCall', 'phone_call' => PhoneCall, 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -phone_phoneCall={_='phone.phoneCall', phone_call=PhoneCall, users={User}} - -``` - - diff --git a/old_docs/API_docs_v105/constructors/photos.photo.md b/old_docs/API_docs_v105/constructors/photos.photo.md new file mode 100644 index 00000000..43d3efc7 --- /dev/null +++ b/old_docs/API_docs_v105/constructors/photos.photo.md @@ -0,0 +1,39 @@ +--- +title: photos.photo +description: Photo with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: photos.photo +[Back to constructors index](index.md) + + + +Photo with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|photo|[Photo](../types/Photo.md) | Optional|Photo| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [photos.Photo](../types/photos.Photo.md) + + +### Example: + +```php +$photos.photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +photos.photo={_='photos.photo', photo=Photo, users={User}} + +``` + + diff --git a/old_docs/API_docs_v105/constructors/photos.photos.md b/old_docs/API_docs_v105/constructors/photos.photos.md new file mode 100644 index 00000000..901a9693 --- /dev/null +++ b/old_docs/API_docs_v105/constructors/photos.photos.md @@ -0,0 +1,39 @@ +--- +title: photos.photos +description: Full list of photos with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: photos.photos +[Back to constructors index](index.md) + + + +Full list of photos with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [photos.Photos](../types/photos.Photos.md) + + +### Example: + +```php +$photos.photos = ['_' => 'photos.photos', 'photos' => [Photo, Photo], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +photos.photos={_='photos.photos', photos={Photo}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v105/constructors/photos.photosSlice.md b/old_docs/API_docs_v105/constructors/photos.photosSlice.md new file mode 100644 index 00000000..2cca3546 --- /dev/null +++ b/old_docs/API_docs_v105/constructors/photos.photosSlice.md @@ -0,0 +1,40 @@ +--- +title: photos.photosSlice +description: Incomplete list of photos with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: photos.photosSlice +[Back to constructors index](index.md) + + + +Incomplete list of photos with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of photos| +|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [photos.Photos](../types/photos.Photos.md) + + +### Example: + +```php +$photos.photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo, Photo], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +photos.photosSlice={_='photos.photosSlice', count=int, photos={Photo}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v105/constructors/photos_photo.md b/old_docs/API_docs_v105/constructors/photos_photo.md deleted file mode 100644 index d5ad61d9..00000000 --- a/old_docs/API_docs_v105/constructors/photos_photo.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: photos.photo -description: Photo with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: photos.photo -[Back to constructors index](index.md) - - - -Photo with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|photo|[Photo](../types/Photo.md) | Optional|Photo| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [photos\_Photo](../types/photos_Photo.md) - - -### Example: - -```php -$photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -photos_photo={_='photos.photo', photo=Photo, users={User}} - -``` - - diff --git a/old_docs/API_docs_v105/constructors/photos_photos.md b/old_docs/API_docs_v105/constructors/photos_photos.md deleted file mode 100644 index 6ae5d048..00000000 --- a/old_docs/API_docs_v105/constructors/photos_photos.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: photos.photos -description: Full list of photos with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: photos.photos -[Back to constructors index](index.md) - - - -Full list of photos with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [photos\_Photos](../types/photos_Photos.md) - - -### Example: - -```php -$photos_photos = ['_' => 'photos.photos', 'photos' => [Photo, Photo], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -photos_photos={_='photos.photos', photos={Photo}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v105/constructors/photos_photosSlice.md b/old_docs/API_docs_v105/constructors/photos_photosSlice.md deleted file mode 100644 index 5c465c21..00000000 --- a/old_docs/API_docs_v105/constructors/photos_photosSlice.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: photos.photosSlice -description: Incomplete list of photos with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: photos.photosSlice -[Back to constructors index](index.md) - - - -Incomplete list of photos with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of photos| -|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [photos\_Photos](../types/photos_Photos.md) - - -### Example: - -```php -$photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo, Photo], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -photos_photosSlice={_='photos.photosSlice', count=int, photos={Photo}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v105/constructors/storage.fileGif.md b/old_docs/API_docs_v105/constructors/storage.fileGif.md new file mode 100644 index 00000000..8193bd25 --- /dev/null +++ b/old_docs/API_docs_v105/constructors/storage.fileGif.md @@ -0,0 +1,33 @@ +--- +title: storage.fileGif +description: GIF image. MIME type: `image/gif`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileGif +[Back to constructors index](index.md) + + + +GIF image. MIME type: `image/gif`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileGif = ['_' => 'storage.fileGif']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileGif={_='storage.fileGif'} + +``` + + diff --git a/old_docs/API_docs_v105/constructors/storage.fileJpeg.md b/old_docs/API_docs_v105/constructors/storage.fileJpeg.md new file mode 100644 index 00000000..7f125963 --- /dev/null +++ b/old_docs/API_docs_v105/constructors/storage.fileJpeg.md @@ -0,0 +1,33 @@ +--- +title: storage.fileJpeg +description: JPEG image. MIME type: `image/jpeg`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileJpeg +[Back to constructors index](index.md) + + + +JPEG image. MIME type: `image/jpeg`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileJpeg = ['_' => 'storage.fileJpeg']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileJpeg={_='storage.fileJpeg'} + +``` + + diff --git a/old_docs/API_docs_v105/constructors/storage.fileMov.md b/old_docs/API_docs_v105/constructors/storage.fileMov.md new file mode 100644 index 00000000..cb3742e0 --- /dev/null +++ b/old_docs/API_docs_v105/constructors/storage.fileMov.md @@ -0,0 +1,33 @@ +--- +title: storage.fileMov +description: Quicktime video. MIME type: `video/quicktime`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileMov +[Back to constructors index](index.md) + + + +Quicktime video. MIME type: `video/quicktime`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileMov = ['_' => 'storage.fileMov']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileMov={_='storage.fileMov'} + +``` + + diff --git a/old_docs/API_docs_v105/constructors/storage.fileMp3.md b/old_docs/API_docs_v105/constructors/storage.fileMp3.md new file mode 100644 index 00000000..617f2d39 --- /dev/null +++ b/old_docs/API_docs_v105/constructors/storage.fileMp3.md @@ -0,0 +1,33 @@ +--- +title: storage.fileMp3 +description: Mp3 audio. MIME type: `audio/mpeg`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileMp3 +[Back to constructors index](index.md) + + + +Mp3 audio. MIME type: `audio/mpeg`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileMp3 = ['_' => 'storage.fileMp3']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileMp3={_='storage.fileMp3'} + +``` + + diff --git a/old_docs/API_docs_v105/constructors/storage.fileMp4.md b/old_docs/API_docs_v105/constructors/storage.fileMp4.md new file mode 100644 index 00000000..37038176 --- /dev/null +++ b/old_docs/API_docs_v105/constructors/storage.fileMp4.md @@ -0,0 +1,33 @@ +--- +title: storage.fileMp4 +description: MPEG-4 video. MIME type: `video/mp4`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileMp4 +[Back to constructors index](index.md) + + + +MPEG-4 video. MIME type: `video/mp4`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileMp4 = ['_' => 'storage.fileMp4']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileMp4={_='storage.fileMp4'} + +``` + + diff --git a/old_docs/API_docs_v105/constructors/storage.filePartial.md b/old_docs/API_docs_v105/constructors/storage.filePartial.md new file mode 100644 index 00000000..98779e71 --- /dev/null +++ b/old_docs/API_docs_v105/constructors/storage.filePartial.md @@ -0,0 +1,33 @@ +--- +title: storage.filePartial +description: Part of a bigger file. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.filePartial +[Back to constructors index](index.md) + + + +Part of a bigger file. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.filePartial = ['_' => 'storage.filePartial']; +``` + + +Or, if you're into Lua: + +```lua +storage.filePartial={_='storage.filePartial'} + +``` + + diff --git a/old_docs/API_docs_v105/constructors/storage.filePdf.md b/old_docs/API_docs_v105/constructors/storage.filePdf.md new file mode 100644 index 00000000..136c0614 --- /dev/null +++ b/old_docs/API_docs_v105/constructors/storage.filePdf.md @@ -0,0 +1,33 @@ +--- +title: storage.filePdf +description: PDF document image. MIME type: `application/pdf`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.filePdf +[Back to constructors index](index.md) + + + +PDF document image. MIME type: `application/pdf`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.filePdf = ['_' => 'storage.filePdf']; +``` + + +Or, if you're into Lua: + +```lua +storage.filePdf={_='storage.filePdf'} + +``` + + diff --git a/old_docs/API_docs_v105/constructors/storage.filePng.md b/old_docs/API_docs_v105/constructors/storage.filePng.md new file mode 100644 index 00000000..db01ce0e --- /dev/null +++ b/old_docs/API_docs_v105/constructors/storage.filePng.md @@ -0,0 +1,33 @@ +--- +title: storage.filePng +description: PNG image. MIME type: `image/png`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.filePng +[Back to constructors index](index.md) + + + +PNG image. MIME type: `image/png`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.filePng = ['_' => 'storage.filePng']; +``` + + +Or, if you're into Lua: + +```lua +storage.filePng={_='storage.filePng'} + +``` + + diff --git a/old_docs/API_docs_v105/constructors/storage.fileUnknown.md b/old_docs/API_docs_v105/constructors/storage.fileUnknown.md new file mode 100644 index 00000000..26f0a5ae --- /dev/null +++ b/old_docs/API_docs_v105/constructors/storage.fileUnknown.md @@ -0,0 +1,33 @@ +--- +title: storage.fileUnknown +description: Unknown type. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileUnknown +[Back to constructors index](index.md) + + + +Unknown type. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileUnknown = ['_' => 'storage.fileUnknown']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileUnknown={_='storage.fileUnknown'} + +``` + + diff --git a/old_docs/API_docs_v105/constructors/storage.fileWebp.md b/old_docs/API_docs_v105/constructors/storage.fileWebp.md new file mode 100644 index 00000000..63c9ded1 --- /dev/null +++ b/old_docs/API_docs_v105/constructors/storage.fileWebp.md @@ -0,0 +1,33 @@ +--- +title: storage.fileWebp +description: WEBP image. MIME type: `image/webp`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileWebp +[Back to constructors index](index.md) + + + +WEBP image. MIME type: `image/webp`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileWebp = ['_' => 'storage.fileWebp']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileWebp={_='storage.fileWebp'} + +``` + + diff --git a/old_docs/API_docs_v105/constructors/storage_fileGif.md b/old_docs/API_docs_v105/constructors/storage_fileGif.md deleted file mode 100644 index 218c7491..00000000 --- a/old_docs/API_docs_v105/constructors/storage_fileGif.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileGif -description: GIF image. MIME type: `image/gif`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileGif -[Back to constructors index](index.md) - - - -GIF image. MIME type: `image/gif`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileGif = ['_' => 'storage.fileGif']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileGif={_='storage.fileGif'} - -``` - - diff --git a/old_docs/API_docs_v105/constructors/storage_fileJpeg.md b/old_docs/API_docs_v105/constructors/storage_fileJpeg.md deleted file mode 100644 index 925531cd..00000000 --- a/old_docs/API_docs_v105/constructors/storage_fileJpeg.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileJpeg -description: JPEG image. MIME type: `image/jpeg`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileJpeg -[Back to constructors index](index.md) - - - -JPEG image. MIME type: `image/jpeg`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileJpeg = ['_' => 'storage.fileJpeg']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileJpeg={_='storage.fileJpeg'} - -``` - - diff --git a/old_docs/API_docs_v105/constructors/storage_fileMov.md b/old_docs/API_docs_v105/constructors/storage_fileMov.md deleted file mode 100644 index eaf2a6ff..00000000 --- a/old_docs/API_docs_v105/constructors/storage_fileMov.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileMov -description: Quicktime video. MIME type: `video/quicktime`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileMov -[Back to constructors index](index.md) - - - -Quicktime video. MIME type: `video/quicktime`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileMov = ['_' => 'storage.fileMov']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileMov={_='storage.fileMov'} - -``` - - diff --git a/old_docs/API_docs_v105/constructors/storage_fileMp3.md b/old_docs/API_docs_v105/constructors/storage_fileMp3.md deleted file mode 100644 index 9afcefbb..00000000 --- a/old_docs/API_docs_v105/constructors/storage_fileMp3.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileMp3 -description: Mp3 audio. MIME type: `audio/mpeg`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileMp3 -[Back to constructors index](index.md) - - - -Mp3 audio. MIME type: `audio/mpeg`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileMp3 = ['_' => 'storage.fileMp3']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileMp3={_='storage.fileMp3'} - -``` - - diff --git a/old_docs/API_docs_v105/constructors/storage_fileMp4.md b/old_docs/API_docs_v105/constructors/storage_fileMp4.md deleted file mode 100644 index cdc0e783..00000000 --- a/old_docs/API_docs_v105/constructors/storage_fileMp4.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileMp4 -description: MPEG-4 video. MIME type: `video/mp4`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileMp4 -[Back to constructors index](index.md) - - - -MPEG-4 video. MIME type: `video/mp4`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileMp4 = ['_' => 'storage.fileMp4']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileMp4={_='storage.fileMp4'} - -``` - - diff --git a/old_docs/API_docs_v105/constructors/storage_filePartial.md b/old_docs/API_docs_v105/constructors/storage_filePartial.md deleted file mode 100644 index 9bfadf63..00000000 --- a/old_docs/API_docs_v105/constructors/storage_filePartial.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.filePartial -description: Part of a bigger file. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.filePartial -[Back to constructors index](index.md) - - - -Part of a bigger file. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_filePartial = ['_' => 'storage.filePartial']; -``` - - -Or, if you're into Lua: - -```lua -storage_filePartial={_='storage.filePartial'} - -``` - - diff --git a/old_docs/API_docs_v105/constructors/storage_filePdf.md b/old_docs/API_docs_v105/constructors/storage_filePdf.md deleted file mode 100644 index efb022cc..00000000 --- a/old_docs/API_docs_v105/constructors/storage_filePdf.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.filePdf -description: PDF document image. MIME type: `application/pdf`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.filePdf -[Back to constructors index](index.md) - - - -PDF document image. MIME type: `application/pdf`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_filePdf = ['_' => 'storage.filePdf']; -``` - - -Or, if you're into Lua: - -```lua -storage_filePdf={_='storage.filePdf'} - -``` - - diff --git a/old_docs/API_docs_v105/constructors/storage_filePng.md b/old_docs/API_docs_v105/constructors/storage_filePng.md deleted file mode 100644 index 412759e4..00000000 --- a/old_docs/API_docs_v105/constructors/storage_filePng.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.filePng -description: PNG image. MIME type: `image/png`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.filePng -[Back to constructors index](index.md) - - - -PNG image. MIME type: `image/png`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_filePng = ['_' => 'storage.filePng']; -``` - - -Or, if you're into Lua: - -```lua -storage_filePng={_='storage.filePng'} - -``` - - diff --git a/old_docs/API_docs_v105/constructors/storage_fileUnknown.md b/old_docs/API_docs_v105/constructors/storage_fileUnknown.md deleted file mode 100644 index ed33dd5e..00000000 --- a/old_docs/API_docs_v105/constructors/storage_fileUnknown.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileUnknown -description: Unknown type. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileUnknown -[Back to constructors index](index.md) - - - -Unknown type. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileUnknown = ['_' => 'storage.fileUnknown']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileUnknown={_='storage.fileUnknown'} - -``` - - diff --git a/old_docs/API_docs_v105/constructors/storage_fileWebp.md b/old_docs/API_docs_v105/constructors/storage_fileWebp.md deleted file mode 100644 index 04dcad74..00000000 --- a/old_docs/API_docs_v105/constructors/storage_fileWebp.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileWebp -description: WEBP image. MIME type: `image/webp`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileWebp -[Back to constructors index](index.md) - - - -WEBP image. MIME type: `image/webp`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileWebp = ['_' => 'storage.fileWebp']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileWebp={_='storage.fileWebp'} - -``` - - diff --git a/old_docs/API_docs_v105/constructors/updateNewStickerSet.md b/old_docs/API_docs_v105/constructors/updateNewStickerSet.md index 8a99a363..c32c41ff 100644 --- a/old_docs/API_docs_v105/constructors/updateNewStickerSet.md +++ b/old_docs/API_docs_v105/constructors/updateNewStickerSet.md @@ -14,7 +14,7 @@ A new stickerset was installed | Name | Type | Required | Description | |----------|---------------|----------|-------------| -|stickerset|[messages\_StickerSet](../types/messages_StickerSet.md) | Yes|The installed stickerset| +|stickerset|[messages.StickerSet](../constructors/messages.StickerSet.md) | Yes|The installed stickerset| @@ -24,14 +24,14 @@ A new stickerset was installed ### Example: ```php -$updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages_StickerSet]; +$updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages.StickerSet]; ``` Or, if you're into Lua: ```lua -updateNewStickerSet={_='updateNewStickerSet', stickerset=messages_StickerSet} +updateNewStickerSet={_='updateNewStickerSet', stickerset=messages.StickerSet} ``` diff --git a/old_docs/API_docs_v105/constructors/updates.channelDifference.md b/old_docs/API_docs_v105/constructors/updates.channelDifference.md new file mode 100644 index 00000000..5a13791c --- /dev/null +++ b/old_docs/API_docs_v105/constructors/updates.channelDifference.md @@ -0,0 +1,44 @@ +--- +title: updates.channelDifference +description: The new updates +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.channelDifference +[Back to constructors index](index.md) + + + +The new updates + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates to be fetched using getDifference, starting from the provided `pts`| +|pts|[int](../types/int.md) | Yes|The [PTS](https://core.telegram.org/api/updates) from which to start getting updates the next time| +|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| +|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| +|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [updates.ChannelDifference](../types/updates.ChannelDifference.md) + + +### Example: + +```php +$updates.channelDifference = ['_' => 'updates.channelDifference', 'final' => Bool, 'pts' => int, 'timeout' => int, 'new_messages' => [Message, Message], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +updates.channelDifference={_='updates.channelDifference', final=Bool, pts=int, timeout=int, new_messages={Message}, other_updates={Update}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v105/constructors/updates.channelDifferenceEmpty.md b/old_docs/API_docs_v105/constructors/updates.channelDifferenceEmpty.md new file mode 100644 index 00000000..8ce43da4 --- /dev/null +++ b/old_docs/API_docs_v105/constructors/updates.channelDifferenceEmpty.md @@ -0,0 +1,40 @@ +--- +title: updates.channelDifferenceEmpty +description: There are no new updates +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.channelDifferenceEmpty +[Back to constructors index](index.md) + + + +There are no new updates + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates that must be fetched (always false)| +|pts|[int](../types/int.md) | Yes|The latest [PTS](https://core.telegram.org/api/updates)| +|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| + + + +### Type: [updates.ChannelDifference](../types/updates.ChannelDifference.md) + + +### Example: + +```php +$updates.channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'final' => Bool, 'pts' => int, 'timeout' => int]; +``` + + +Or, if you're into Lua: + +```lua +updates.channelDifferenceEmpty={_='updates.channelDifferenceEmpty', final=Bool, pts=int, timeout=int} + +``` + + diff --git a/old_docs/API_docs_v105/constructors/updates.channelDifferenceTooLong.md b/old_docs/API_docs_v105/constructors/updates.channelDifferenceTooLong.md new file mode 100644 index 00000000..10fb21ed --- /dev/null +++ b/old_docs/API_docs_v105/constructors/updates.channelDifferenceTooLong.md @@ -0,0 +1,53 @@ +--- +title: updates.channelDifferenceTooLong +description: The provided `pts + limit < remote pts`. Simply, there are too many updates to be fetched (more than `limit`), the client has to resolve the update gap in one of the following ways: + +1. Delete all known messages in the chat, begin from scratch by refetching all messages manually with [getHistory](../methods/messages.getHistory.md). It is easy to implement, but suddenly disappearing messages looks awful for the user. +2. Save all messages loaded in the memory until application restart, but delete all messages from database. Messages left in the memory must be lazily updated using calls to [getHistory](../methods/messages.getHistory.md). It looks much smoothly for the user, he will need to redownload messages only after client restart. Unsynchronized messages left in the memory shouldn't be saved to database, results of [getHistory](../methods/messages.getHistory.md) and [getMessages](../methods/messages.getMessages.md) must be used to update state of deleted and edited messages left in the memory. +3. Save all messages loaded in the memory and stored in the database without saving that some messages form continuous ranges. Messages in the database will be excluded from results of getChatHistory and searchChatMessages after application restart and will be available only through getMessage. Every message should still be checked using getHistory. It has more disadvantages over 2) than advantages. +4. Save all messages with saving all data about continuous message ranges. Messages from the database may be used as results of getChatHistory and (if implemented continuous ranges support for searching shared media) searchChatMessages. The messages should still be lazily checked using getHistory, but they are still available offline. It is the best way for gaps support, but it is pretty hard to implement correctly. It should be also noted that some messages like live location messages shouldn't be deleted. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.channelDifferenceTooLong +[Back to constructors index](index.md) + + + +The provided `pts + limit < remote pts`. Simply, there are too many updates to be fetched (more than `limit`), the client has to resolve the update gap in one of the following ways: + +1. Delete all known messages in the chat, begin from scratch by refetching all messages manually with [getHistory](../methods/messages.getHistory.md). It is easy to implement, but suddenly disappearing messages looks awful for the user. +2. Save all messages loaded in the memory until application restart, but delete all messages from database. Messages left in the memory must be lazily updated using calls to [getHistory](../methods/messages.getHistory.md). It looks much smoothly for the user, he will need to redownload messages only after client restart. Unsynchronized messages left in the memory shouldn't be saved to database, results of [getHistory](../methods/messages.getHistory.md) and [getMessages](../methods/messages.getMessages.md) must be used to update state of deleted and edited messages left in the memory. +3. Save all messages loaded in the memory and stored in the database without saving that some messages form continuous ranges. Messages in the database will be excluded from results of getChatHistory and searchChatMessages after application restart and will be available only through getMessage. Every message should still be checked using getHistory. It has more disadvantages over 2) than advantages. +4. Save all messages with saving all data about continuous message ranges. Messages from the database may be used as results of getChatHistory and (if implemented continuous ranges support for searching shared media) searchChatMessages. The messages should still be lazily checked using getHistory, but they are still available offline. It is the best way for gaps support, but it is pretty hard to implement correctly. It should be also noted that some messages like live location messages shouldn't be deleted. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates that must be fetched (always false)| +|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| +|dialog|[Dialog](../types/Dialog.md) | Yes|Dialog containing the latest [PTS](https://core.telegram.org/api/updates) that can be used to reset the channel state| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [updates.ChannelDifference](../types/updates.ChannelDifference.md) + + +### Example: + +```php +$updates.channelDifferenceTooLong = ['_' => 'updates.channelDifferenceTooLong', 'final' => Bool, 'timeout' => int, 'dialog' => Dialog, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +updates.channelDifferenceTooLong={_='updates.channelDifferenceTooLong', final=Bool, timeout=int, dialog=Dialog, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v105/constructors/updates.difference.md b/old_docs/API_docs_v105/constructors/updates.difference.md new file mode 100644 index 00000000..82541b51 --- /dev/null +++ b/old_docs/API_docs_v105/constructors/updates.difference.md @@ -0,0 +1,43 @@ +--- +title: updates.difference +description: Full list of occurred events. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.difference +[Back to constructors index](index.md) + + + +Full list of occurred events. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| +|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| +|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| +|state|[updates.State](../constructors/updates.State.md) | Yes|Current state| + + + +### Type: [updates.Difference](../types/updates.Difference.md) + + +### Example: + +```php +$updates.difference = ['_' => 'updates.difference', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates.State]; +``` + + +Or, if you're into Lua: + +```lua +updates.difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates.State} + +``` + + diff --git a/old_docs/API_docs_v105/constructors/updates.differenceEmpty.md b/old_docs/API_docs_v105/constructors/updates.differenceEmpty.md new file mode 100644 index 00000000..a9dc3bd0 --- /dev/null +++ b/old_docs/API_docs_v105/constructors/updates.differenceEmpty.md @@ -0,0 +1,39 @@ +--- +title: updates.differenceEmpty +description: No events. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.differenceEmpty +[Back to constructors index](index.md) + + + +No events. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Current date| +|seq|[int](../types/int.md) | Yes|Number of sent updates| + + + +### Type: [updates.Difference](../types/updates.Difference.md) + + +### Example: + +```php +$updates.differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int]; +``` + + +Or, if you're into Lua: + +```lua +updates.differenceEmpty={_='updates.differenceEmpty', date=int, seq=int} + +``` + + diff --git a/old_docs/API_docs_v105/constructors/updates.differenceSlice.md b/old_docs/API_docs_v105/constructors/updates.differenceSlice.md new file mode 100644 index 00000000..9daf7a75 --- /dev/null +++ b/old_docs/API_docs_v105/constructors/updates.differenceSlice.md @@ -0,0 +1,43 @@ +--- +title: updates.differenceSlice +description: Incomplete list of occurred events. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.differenceSlice +[Back to constructors index](index.md) + + + +Incomplete list of occurred events. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| +|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| +|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| +|intermediate\_state|[updates.State](../constructors/updates.State.md) | Yes|Intermediary state| + + + +### Type: [updates.Difference](../types/updates.Difference.md) + + +### Example: + +```php +$updates.differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'intermediate_state' => updates.State]; +``` + + +Or, if you're into Lua: + +```lua +updates.differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates.State} + +``` + + diff --git a/old_docs/API_docs_v105/constructors/updates.differenceTooLong.md b/old_docs/API_docs_v105/constructors/updates.differenceTooLong.md new file mode 100644 index 00000000..ef2e7e4d --- /dev/null +++ b/old_docs/API_docs_v105/constructors/updates.differenceTooLong.md @@ -0,0 +1,38 @@ +--- +title: updates.differenceTooLong +description: The difference is [too long](https://core.telegram.org/api/updates#recovering-gaps), and the specified state must be used to refetch updates. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.differenceTooLong +[Back to constructors index](index.md) + + + +The difference is [too long](https://core.telegram.org/api/updates#recovering-gaps), and the specified state must be used to refetch updates. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|The new state to use.| + + + +### Type: [updates.Difference](../types/updates.Difference.md) + + +### Example: + +```php +$updates.differenceTooLong = ['_' => 'updates.differenceTooLong', 'pts' => int]; +``` + + +Or, if you're into Lua: + +```lua +updates.differenceTooLong={_='updates.differenceTooLong', pts=int} + +``` + + diff --git a/old_docs/API_docs_v105/constructors/updates.state.md b/old_docs/API_docs_v105/constructors/updates.state.md new file mode 100644 index 00000000..abe9ddbb --- /dev/null +++ b/old_docs/API_docs_v105/constructors/updates.state.md @@ -0,0 +1,42 @@ +--- +title: updates.state +description: Updates state. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.state +[Back to constructors index](index.md) + + + +Updates state. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| +|qts|[int](../types/int.md) | Yes|Position in a sequence of updates in secret chats. For further detailes refer to article [secret chats](https://core.telegram.org/api/end-to-end)
Parameter was added in [eigth layer](https://core.telegram.org/api/layers#layer-8).| +|date|[int](../types/int.md) | Yes|Date of condition| +|seq|[int](../types/int.md) | Yes|Number of sent updates| +|unread\_count|[int](../types/int.md) | Yes|Number of unread messages| + + + +### Type: [updates.State](../types/updates.State.md) + + +### Example: + +```php +$updates.state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int]; +``` + + +Or, if you're into Lua: + +```lua +updates.state={_='updates.state', pts=int, qts=int, date=int, seq=int, unread_count=int} + +``` + + diff --git a/old_docs/API_docs_v105/constructors/updates_channelDifference.md b/old_docs/API_docs_v105/constructors/updates_channelDifference.md deleted file mode 100644 index 1b50fbf3..00000000 --- a/old_docs/API_docs_v105/constructors/updates_channelDifference.md +++ /dev/null @@ -1,44 +0,0 @@ ---- -title: updates.channelDifference -description: The new updates -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.channelDifference -[Back to constructors index](index.md) - - - -The new updates - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates to be fetched using getDifference, starting from the provided `pts`| -|pts|[int](../types/int.md) | Yes|The [PTS](https://core.telegram.org/api/updates) from which to start getting updates the next time| -|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| -|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| -|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) - - -### Example: - -```php -$updates_channelDifference = ['_' => 'updates.channelDifference', 'final' => Bool, 'pts' => int, 'timeout' => int, 'new_messages' => [Message, Message], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -updates_channelDifference={_='updates.channelDifference', final=Bool, pts=int, timeout=int, new_messages={Message}, other_updates={Update}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v105/constructors/updates_channelDifferenceEmpty.md b/old_docs/API_docs_v105/constructors/updates_channelDifferenceEmpty.md deleted file mode 100644 index 713137aa..00000000 --- a/old_docs/API_docs_v105/constructors/updates_channelDifferenceEmpty.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: updates.channelDifferenceEmpty -description: There are no new updates -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.channelDifferenceEmpty -[Back to constructors index](index.md) - - - -There are no new updates - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates that must be fetched (always false)| -|pts|[int](../types/int.md) | Yes|The latest [PTS](https://core.telegram.org/api/updates)| -|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| - - - -### Type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) - - -### Example: - -```php -$updates_channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'final' => Bool, 'pts' => int, 'timeout' => int]; -``` - - -Or, if you're into Lua: - -```lua -updates_channelDifferenceEmpty={_='updates.channelDifferenceEmpty', final=Bool, pts=int, timeout=int} - -``` - - diff --git a/old_docs/API_docs_v105/constructors/updates_channelDifferenceTooLong.md b/old_docs/API_docs_v105/constructors/updates_channelDifferenceTooLong.md deleted file mode 100644 index 5719c340..00000000 --- a/old_docs/API_docs_v105/constructors/updates_channelDifferenceTooLong.md +++ /dev/null @@ -1,53 +0,0 @@ ---- -title: updates.channelDifferenceTooLong -description: The provided `pts + limit < remote pts`. Simply, there are too many updates to be fetched (more than `limit`), the client has to resolve the update gap in one of the following ways: - -1. Delete all known messages in the chat, begin from scratch by refetching all messages manually with [getHistory](../methods/messages.getHistory.md). It is easy to implement, but suddenly disappearing messages looks awful for the user. -2. Save all messages loaded in the memory until application restart, but delete all messages from database. Messages left in the memory must be lazily updated using calls to [getHistory](../methods/messages.getHistory.md). It looks much smoothly for the user, he will need to redownload messages only after client restart. Unsynchronized messages left in the memory shouldn't be saved to database, results of [getHistory](../methods/messages.getHistory.md) and [getMessages](../methods/messages.getMessages.md) must be used to update state of deleted and edited messages left in the memory. -3. Save all messages loaded in the memory and stored in the database without saving that some messages form continuous ranges. Messages in the database will be excluded from results of getChatHistory and searchChatMessages after application restart and will be available only through getMessage. Every message should still be checked using getHistory. It has more disadvantages over 2) than advantages. -4. Save all messages with saving all data about continuous message ranges. Messages from the database may be used as results of getChatHistory and (if implemented continuous ranges support for searching shared media) searchChatMessages. The messages should still be lazily checked using getHistory, but they are still available offline. It is the best way for gaps support, but it is pretty hard to implement correctly. It should be also noted that some messages like live location messages shouldn't be deleted. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.channelDifferenceTooLong -[Back to constructors index](index.md) - - - -The provided `pts + limit < remote pts`. Simply, there are too many updates to be fetched (more than `limit`), the client has to resolve the update gap in one of the following ways: - -1. Delete all known messages in the chat, begin from scratch by refetching all messages manually with [getHistory](../methods/messages.getHistory.md). It is easy to implement, but suddenly disappearing messages looks awful for the user. -2. Save all messages loaded in the memory until application restart, but delete all messages from database. Messages left in the memory must be lazily updated using calls to [getHistory](../methods/messages.getHistory.md). It looks much smoothly for the user, he will need to redownload messages only after client restart. Unsynchronized messages left in the memory shouldn't be saved to database, results of [getHistory](../methods/messages.getHistory.md) and [getMessages](../methods/messages.getMessages.md) must be used to update state of deleted and edited messages left in the memory. -3. Save all messages loaded in the memory and stored in the database without saving that some messages form continuous ranges. Messages in the database will be excluded from results of getChatHistory and searchChatMessages after application restart and will be available only through getMessage. Every message should still be checked using getHistory. It has more disadvantages over 2) than advantages. -4. Save all messages with saving all data about continuous message ranges. Messages from the database may be used as results of getChatHistory and (if implemented continuous ranges support for searching shared media) searchChatMessages. The messages should still be lazily checked using getHistory, but they are still available offline. It is the best way for gaps support, but it is pretty hard to implement correctly. It should be also noted that some messages like live location messages shouldn't be deleted. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates that must be fetched (always false)| -|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| -|dialog|[Dialog](../types/Dialog.md) | Yes|Dialog containing the latest [PTS](https://core.telegram.org/api/updates) that can be used to reset the channel state| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) - - -### Example: - -```php -$updates_channelDifferenceTooLong = ['_' => 'updates.channelDifferenceTooLong', 'final' => Bool, 'timeout' => int, 'dialog' => Dialog, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -updates_channelDifferenceTooLong={_='updates.channelDifferenceTooLong', final=Bool, timeout=int, dialog=Dialog, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v105/constructors/updates_difference.md b/old_docs/API_docs_v105/constructors/updates_difference.md deleted file mode 100644 index 71ac7d4c..00000000 --- a/old_docs/API_docs_v105/constructors/updates_difference.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: updates.difference -description: Full list of occurred events. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.difference -[Back to constructors index](index.md) - - - -Full list of occurred events. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| -|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| -|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| -|state|[updates\_State](../types/updates_State.md) | Yes|Current state| - - - -### Type: [updates\_Difference](../types/updates_Difference.md) - - -### Example: - -```php -$updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates_State]; -``` - - -Or, if you're into Lua: - -```lua -updates_difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates_State} - -``` - - diff --git a/old_docs/API_docs_v105/constructors/updates_differenceEmpty.md b/old_docs/API_docs_v105/constructors/updates_differenceEmpty.md deleted file mode 100644 index c3c95c5a..00000000 --- a/old_docs/API_docs_v105/constructors/updates_differenceEmpty.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: updates.differenceEmpty -description: No events. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.differenceEmpty -[Back to constructors index](index.md) - - - -No events. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Current date| -|seq|[int](../types/int.md) | Yes|Number of sent updates| - - - -### Type: [updates\_Difference](../types/updates_Difference.md) - - -### Example: - -```php -$updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int]; -``` - - -Or, if you're into Lua: - -```lua -updates_differenceEmpty={_='updates.differenceEmpty', date=int, seq=int} - -``` - - diff --git a/old_docs/API_docs_v105/constructors/updates_differenceSlice.md b/old_docs/API_docs_v105/constructors/updates_differenceSlice.md deleted file mode 100644 index 8b12a369..00000000 --- a/old_docs/API_docs_v105/constructors/updates_differenceSlice.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: updates.differenceSlice -description: Incomplete list of occurred events. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.differenceSlice -[Back to constructors index](index.md) - - - -Incomplete list of occurred events. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| -|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| -|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| -|intermediate\_state|[updates\_State](../types/updates_State.md) | Yes|Intermediary state| - - - -### Type: [updates\_Difference](../types/updates_Difference.md) - - -### Example: - -```php -$updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'intermediate_state' => updates_State]; -``` - - -Or, if you're into Lua: - -```lua -updates_differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates_State} - -``` - - diff --git a/old_docs/API_docs_v105/constructors/updates_differenceTooLong.md b/old_docs/API_docs_v105/constructors/updates_differenceTooLong.md deleted file mode 100644 index 1fbdfa01..00000000 --- a/old_docs/API_docs_v105/constructors/updates_differenceTooLong.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: updates.differenceTooLong -description: The difference is [too long](https://core.telegram.org/api/updates#recovering-gaps), and the specified state must be used to refetch updates. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.differenceTooLong -[Back to constructors index](index.md) - - - -The difference is [too long](https://core.telegram.org/api/updates#recovering-gaps), and the specified state must be used to refetch updates. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|The new state to use.| - - - -### Type: [updates\_Difference](../types/updates_Difference.md) - - -### Example: - -```php -$updates_differenceTooLong = ['_' => 'updates.differenceTooLong', 'pts' => int]; -``` - - -Or, if you're into Lua: - -```lua -updates_differenceTooLong={_='updates.differenceTooLong', pts=int} - -``` - - diff --git a/old_docs/API_docs_v105/constructors/updates_state.md b/old_docs/API_docs_v105/constructors/updates_state.md deleted file mode 100644 index ef3698e2..00000000 --- a/old_docs/API_docs_v105/constructors/updates_state.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: updates.state -description: Updates state. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.state -[Back to constructors index](index.md) - - - -Updates state. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| -|qts|[int](../types/int.md) | Yes|Position in a sequence of updates in secret chats. For further detailes refer to article [secret chats](https://core.telegram.org/api/end-to-end)
Parameter was added in [eigth layer](https://core.telegram.org/api/layers#layer-8).| -|date|[int](../types/int.md) | Yes|Date of condition| -|seq|[int](../types/int.md) | Yes|Number of sent updates| -|unread\_count|[int](../types/int.md) | Yes|Number of unread messages| - - - -### Type: [updates\_State](../types/updates_State.md) - - -### Example: - -```php -$updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int]; -``` - - -Or, if you're into Lua: - -```lua -updates_state={_='updates.state', pts=int, qts=int, date=int, seq=int, unread_count=int} - -``` - - diff --git a/old_docs/API_docs_v105/constructors/upload.cdnFile.md b/old_docs/API_docs_v105/constructors/upload.cdnFile.md new file mode 100644 index 00000000..d6d75513 --- /dev/null +++ b/old_docs/API_docs_v105/constructors/upload.cdnFile.md @@ -0,0 +1,38 @@ +--- +title: upload.cdnFile +description: Represent a chunk of a [CDN](https://core.telegram.org/cdn) file. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: upload.cdnFile +[Back to constructors index](index.md) + + + +Represent a chunk of a [CDN](https://core.telegram.org/cdn) file. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|bytes|[bytes](../types/bytes.md) | Yes|The data| + + + +### Type: [upload.CdnFile](../types/upload.CdnFile.md) + + +### Example: + +```php +$upload.cdnFile = ['_' => 'upload.cdnFile', 'bytes' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +upload.cdnFile={_='upload.cdnFile', bytes='bytes'} + +``` + + diff --git a/old_docs/API_docs_v105/constructors/upload.cdnFileReuploadNeeded.md b/old_docs/API_docs_v105/constructors/upload.cdnFileReuploadNeeded.md new file mode 100644 index 00000000..7c461a87 --- /dev/null +++ b/old_docs/API_docs_v105/constructors/upload.cdnFileReuploadNeeded.md @@ -0,0 +1,38 @@ +--- +title: upload.cdnFileReuploadNeeded +description: The file was cleared from the temporary RAM cache of the [CDN](https://core.telegram.org/cdn) and has to be reuploaded. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: upload.cdnFileReuploadNeeded +[Back to constructors index](index.md) + + + +The file was cleared from the temporary RAM cache of the [CDN](https://core.telegram.org/cdn) and has to be reuploaded. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|request\_token|[bytes](../types/bytes.md) | Yes|Request token (see [CDN](https://core.telegram.org/cdn))| + + + +### Type: [upload.CdnFile](../types/upload.CdnFile.md) + + +### Example: + +```php +$upload.cdnFileReuploadNeeded = ['_' => 'upload.cdnFileReuploadNeeded', 'request_token' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +upload.cdnFileReuploadNeeded={_='upload.cdnFileReuploadNeeded', request_token='bytes'} + +``` + + diff --git a/old_docs/API_docs_v105/constructors/upload.file.md b/old_docs/API_docs_v105/constructors/upload.file.md new file mode 100644 index 00000000..145a4c24 --- /dev/null +++ b/old_docs/API_docs_v105/constructors/upload.file.md @@ -0,0 +1,40 @@ +--- +title: upload.file +description: File content. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: upload.file +[Back to constructors index](index.md) + + + +File content. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|type|[storage.FileType](../constructors/storage.FileType.md) | Yes|File type| +|mtime|[int](../types/int.md) | Yes|Modification type| +|bytes|[bytes](../types/bytes.md) | Yes|Binary data, file content| + + + +### Type: [upload.File](../types/upload.File.md) + + +### Example: + +```php +$upload.file = ['_' => 'upload.file', 'type' => storage.FileType, 'mtime' => int, 'bytes' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +upload.file={_='upload.file', type=storage.FileType, mtime=int, bytes='bytes'} + +``` + + diff --git a/old_docs/API_docs_v105/constructors/upload.fileCdnRedirect.md b/old_docs/API_docs_v105/constructors/upload.fileCdnRedirect.md new file mode 100644 index 00000000..dc56e919 --- /dev/null +++ b/old_docs/API_docs_v105/constructors/upload.fileCdnRedirect.md @@ -0,0 +1,42 @@ +--- +title: upload.fileCdnRedirect +description: The file must be downloaded from a [CDN DC](https://core.telegram.org/cdn). +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: upload.fileCdnRedirect +[Back to constructors index](index.md) + + + +The file must be downloaded from a [CDN DC](https://core.telegram.org/cdn). + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|dc\_id|[int](../types/int.md) | Yes|[CDN DC](https://core.telegram.org/cdn) ID| +|file\_token|[bytes](../types/bytes.md) | Yes|File token (see [CDN files](https://core.telegram.org/cdn)| +|encryption\_key|[bytes](../types/bytes.md) | Yes|Encryption key (see [CDN files](https://core.telegram.org/cdn)| +|encryption\_iv|[bytes](../types/bytes.md) | Yes|Encryption IV (see [CDN files](https://core.telegram.org/cdn)| +|file\_hashes|Array of [FileHash](../types/FileHash.md) | Yes|File hashes| + + + +### Type: [upload.File](../types/upload.File.md) + + +### Example: + +```php +$upload.fileCdnRedirect = ['_' => 'upload.fileCdnRedirect', 'dc_id' => int, 'file_token' => 'bytes', 'encryption_key' => 'bytes', 'encryption_iv' => 'bytes', 'file_hashes' => [FileHash, FileHash]]; +``` + + +Or, if you're into Lua: + +```lua +upload.fileCdnRedirect={_='upload.fileCdnRedirect', dc_id=int, file_token='bytes', encryption_key='bytes', encryption_iv='bytes', file_hashes={FileHash}} + +``` + + diff --git a/old_docs/API_docs_v105/constructors/upload.webFile.md b/old_docs/API_docs_v105/constructors/upload.webFile.md new file mode 100644 index 00000000..a93ea94f --- /dev/null +++ b/old_docs/API_docs_v105/constructors/upload.webFile.md @@ -0,0 +1,42 @@ +--- +title: upload.webFile +description: Represents a chunk of an [HTTP webfile](https://core.telegram.org/api/files) downloaded through telegram's secure MTProto servers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: upload.webFile +[Back to constructors index](index.md) + + + +Represents a chunk of an [HTTP webfile](https://core.telegram.org/api/files) downloaded through telegram's secure MTProto servers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|size|[int](../types/int.md) | Yes|File size| +|mime\_type|[string](../types/string.md) | Yes|Mime type| +|file\_type|[storage.FileType](../constructors/storage.FileType.md) | Yes|File type| +|mtime|[int](../types/int.md) | Yes|Modified time| +|bytes|[bytes](../types/bytes.md) | Yes|Data| + + + +### Type: [upload.WebFile](../types/upload.WebFile.md) + + +### Example: + +```php +$upload.webFile = ['_' => 'upload.webFile', 'size' => int, 'mime_type' => 'string', 'file_type' => storage.FileType, 'mtime' => int, 'bytes' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +upload.webFile={_='upload.webFile', size=int, mime_type='string', file_type=storage.FileType, mtime=int, bytes='bytes'} + +``` + + diff --git a/old_docs/API_docs_v105/constructors/upload_cdnFile.md b/old_docs/API_docs_v105/constructors/upload_cdnFile.md deleted file mode 100644 index 019b8742..00000000 --- a/old_docs/API_docs_v105/constructors/upload_cdnFile.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: upload.cdnFile -description: Represent a chunk of a [CDN](https://core.telegram.org/cdn) file. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: upload.cdnFile -[Back to constructors index](index.md) - - - -Represent a chunk of a [CDN](https://core.telegram.org/cdn) file. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|bytes|[bytes](../types/bytes.md) | Yes|The data| - - - -### Type: [upload\_CdnFile](../types/upload_CdnFile.md) - - -### Example: - -```php -$upload_cdnFile = ['_' => 'upload.cdnFile', 'bytes' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -upload_cdnFile={_='upload.cdnFile', bytes='bytes'} - -``` - - diff --git a/old_docs/API_docs_v105/constructors/upload_cdnFileReuploadNeeded.md b/old_docs/API_docs_v105/constructors/upload_cdnFileReuploadNeeded.md deleted file mode 100644 index 6588a596..00000000 --- a/old_docs/API_docs_v105/constructors/upload_cdnFileReuploadNeeded.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: upload.cdnFileReuploadNeeded -description: The file was cleared from the temporary RAM cache of the [CDN](https://core.telegram.org/cdn) and has to be reuploaded. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: upload.cdnFileReuploadNeeded -[Back to constructors index](index.md) - - - -The file was cleared from the temporary RAM cache of the [CDN](https://core.telegram.org/cdn) and has to be reuploaded. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|request\_token|[bytes](../types/bytes.md) | Yes|Request token (see [CDN](https://core.telegram.org/cdn))| - - - -### Type: [upload\_CdnFile](../types/upload_CdnFile.md) - - -### Example: - -```php -$upload_cdnFileReuploadNeeded = ['_' => 'upload.cdnFileReuploadNeeded', 'request_token' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -upload_cdnFileReuploadNeeded={_='upload.cdnFileReuploadNeeded', request_token='bytes'} - -``` - - diff --git a/old_docs/API_docs_v105/constructors/upload_file.md b/old_docs/API_docs_v105/constructors/upload_file.md deleted file mode 100644 index 1e07d9fb..00000000 --- a/old_docs/API_docs_v105/constructors/upload_file.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: upload.file -description: File content. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: upload.file -[Back to constructors index](index.md) - - - -File content. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|type|[storage\_FileType](../types/storage_FileType.md) | Yes|File type| -|mtime|[int](../types/int.md) | Yes|Modification type| -|bytes|[bytes](../types/bytes.md) | Yes|Binary data, file content| - - - -### Type: [upload\_File](../types/upload_File.md) - - -### Example: - -```php -$upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int, 'bytes' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -upload_file={_='upload.file', type=storage_FileType, mtime=int, bytes='bytes'} - -``` - - diff --git a/old_docs/API_docs_v105/constructors/upload_fileCdnRedirect.md b/old_docs/API_docs_v105/constructors/upload_fileCdnRedirect.md deleted file mode 100644 index de504dc3..00000000 --- a/old_docs/API_docs_v105/constructors/upload_fileCdnRedirect.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: upload.fileCdnRedirect -description: The file must be downloaded from a [CDN DC](https://core.telegram.org/cdn). -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: upload.fileCdnRedirect -[Back to constructors index](index.md) - - - -The file must be downloaded from a [CDN DC](https://core.telegram.org/cdn). - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|dc\_id|[int](../types/int.md) | Yes|[CDN DC](https://core.telegram.org/cdn) ID| -|file\_token|[bytes](../types/bytes.md) | Yes|File token (see [CDN files](https://core.telegram.org/cdn)| -|encryption\_key|[bytes](../types/bytes.md) | Yes|Encryption key (see [CDN files](https://core.telegram.org/cdn)| -|encryption\_iv|[bytes](../types/bytes.md) | Yes|Encryption IV (see [CDN files](https://core.telegram.org/cdn)| -|file\_hashes|Array of [FileHash](../types/FileHash.md) | Yes|File hashes| - - - -### Type: [upload\_File](../types/upload_File.md) - - -### Example: - -```php -$upload_fileCdnRedirect = ['_' => 'upload.fileCdnRedirect', 'dc_id' => int, 'file_token' => 'bytes', 'encryption_key' => 'bytes', 'encryption_iv' => 'bytes', 'file_hashes' => [FileHash, FileHash]]; -``` - - -Or, if you're into Lua: - -```lua -upload_fileCdnRedirect={_='upload.fileCdnRedirect', dc_id=int, file_token='bytes', encryption_key='bytes', encryption_iv='bytes', file_hashes={FileHash}} - -``` - - diff --git a/old_docs/API_docs_v105/constructors/upload_webFile.md b/old_docs/API_docs_v105/constructors/upload_webFile.md deleted file mode 100644 index ee8053b1..00000000 --- a/old_docs/API_docs_v105/constructors/upload_webFile.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: upload.webFile -description: Represents a chunk of an [HTTP webfile](https://core.telegram.org/api/files) downloaded through telegram's secure MTProto servers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: upload.webFile -[Back to constructors index](index.md) - - - -Represents a chunk of an [HTTP webfile](https://core.telegram.org/api/files) downloaded through telegram's secure MTProto servers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|size|[int](../types/int.md) | Yes|File size| -|mime\_type|[string](../types/string.md) | Yes|Mime type| -|file\_type|[storage\_FileType](../types/storage_FileType.md) | Yes|File type| -|mtime|[int](../types/int.md) | Yes|Modified time| -|bytes|[bytes](../types/bytes.md) | Yes|Data| - - - -### Type: [upload\_WebFile](../types/upload_WebFile.md) - - -### Example: - -```php -$upload_webFile = ['_' => 'upload.webFile', 'size' => int, 'mime_type' => 'string', 'file_type' => storage_FileType, 'mtime' => int, 'bytes' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -upload_webFile={_='upload.webFile', size=int, mime_type='string', file_type=storage_FileType, mtime=int, bytes='bytes'} - -``` - - diff --git a/old_docs/API_docs_v105/methods/account.getAuthorizationForm.md b/old_docs/API_docs_v105/methods/account.getAuthorizationForm.md index 298951cb..b0d52e07 100644 --- a/old_docs/API_docs_v105/methods/account.getAuthorizationForm.md +++ b/old_docs/API_docs_v105/methods/account.getAuthorizationForm.md @@ -18,7 +18,7 @@ Returns a Telegram Passport authorization form for sharing data with a service |public\_key|[string](../types/string.md) | Service's public key | Yes| -### Return type: [account\_AuthorizationForm](../types/account_AuthorizationForm.md) +### Return type: [account.AuthorizationForm](../types/account.AuthorizationForm.md) ### Can bots use this method: **NO** @@ -35,12 +35,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_AuthorizationForm = $MadelineProto->account->getAuthorizationForm(['bot_id' => int, 'scope' => 'string', 'public_key' => 'string', ]); +$account.AuthorizationForm = $MadelineProto->account->getAuthorizationForm(['bot_id' => int, 'scope' => 'string', 'public_key' => 'string', ]); ``` Or, if you're into Lua: ```lua -account_AuthorizationForm = account.getAuthorizationForm({bot_id=int, scope='string', public_key='string', }) +account.AuthorizationForm = account.getAuthorizationForm({bot_id=int, scope='string', public_key='string', }) ``` diff --git a/old_docs/API_docs_v105/methods/account.getAuthorizations.md b/old_docs/API_docs_v105/methods/account.getAuthorizations.md index f69c130a..fad3a7ae 100644 --- a/old_docs/API_docs_v105/methods/account.getAuthorizations.md +++ b/old_docs/API_docs_v105/methods/account.getAuthorizations.md @@ -11,7 +11,7 @@ Get logged-in sessions -### Return type: [account\_Authorizations](../types/account_Authorizations.md) +### Return type: [account.Authorizations](../types/account.Authorizations.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_Authorizations = $MadelineProto->account->getAuthorizations(); +$account.Authorizations = $MadelineProto->account->getAuthorizations(); ``` Or, if you're into Lua: ```lua -account_Authorizations = account.getAuthorizations({}) +account.Authorizations = account.getAuthorizations({}) ``` diff --git a/old_docs/API_docs_v105/methods/account.getAutoDownloadSettings.md b/old_docs/API_docs_v105/methods/account.getAutoDownloadSettings.md index 5ad7db87..4f036f08 100644 --- a/old_docs/API_docs_v105/methods/account.getAutoDownloadSettings.md +++ b/old_docs/API_docs_v105/methods/account.getAutoDownloadSettings.md @@ -11,7 +11,7 @@ Get media autodownload settings -### Return type: [account\_AutoDownloadSettings](../types/account_AutoDownloadSettings.md) +### Return type: [account.AutoDownloadSettings](../types/account.AutoDownloadSettings.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_AutoDownloadSettings = $MadelineProto->account->getAutoDownloadSettings(); +$account.AutoDownloadSettings = $MadelineProto->account->getAutoDownloadSettings(); ``` Or, if you're into Lua: ```lua -account_AutoDownloadSettings = account.getAutoDownloadSettings({}) +account.AutoDownloadSettings = account.getAutoDownloadSettings({}) ``` diff --git a/old_docs/API_docs_v105/methods/account.getPassword.md b/old_docs/API_docs_v105/methods/account.getPassword.md index eed4aee3..621271b6 100644 --- a/old_docs/API_docs_v105/methods/account.getPassword.md +++ b/old_docs/API_docs_v105/methods/account.getPassword.md @@ -11,7 +11,7 @@ Obtain configuration for two-factor authorization with password -### Return type: [account\_Password](../types/account_Password.md) +### Return type: [account.Password](../types/account.Password.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_Password = $MadelineProto->account->getPassword(); +$account.Password = $MadelineProto->account->getPassword(); ``` Or, if you're into Lua: ```lua -account_Password = account.getPassword({}) +account.Password = account.getPassword({}) ``` diff --git a/old_docs/API_docs_v105/methods/account.getPasswordSettings.md b/old_docs/API_docs_v105/methods/account.getPasswordSettings.md index a7a47b1a..2b8607b9 100644 --- a/old_docs/API_docs_v105/methods/account.getPasswordSettings.md +++ b/old_docs/API_docs_v105/methods/account.getPasswordSettings.md @@ -16,7 +16,7 @@ You cannot use this method directly; use $MadelineProto->update_2fa($params), in |password|[InputCheckPasswordSRP](../types/InputCheckPasswordSRP.md) | You cannot use this method directly; use $MadelineProto->update_2fa($params), instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [account\_PasswordSettings](../types/account_PasswordSettings.md) +### Return type: [account.PasswordSettings](../types/account.PasswordSettings.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_PasswordSettings = $MadelineProto->account->getPasswordSettings(['password' => InputCheckPasswordSRP, ]); +$account.PasswordSettings = $MadelineProto->account->getPasswordSettings(['password' => InputCheckPasswordSRP, ]); ``` Or, if you're into Lua: ```lua -account_PasswordSettings = account.getPasswordSettings({password=InputCheckPasswordSRP, }) +account.PasswordSettings = account.getPasswordSettings({password=InputCheckPasswordSRP, }) ``` ### Errors diff --git a/old_docs/API_docs_v105/methods/account.getPrivacy.md b/old_docs/API_docs_v105/methods/account.getPrivacy.md index 6a240129..e20c292c 100644 --- a/old_docs/API_docs_v105/methods/account.getPrivacy.md +++ b/old_docs/API_docs_v105/methods/account.getPrivacy.md @@ -16,7 +16,7 @@ Get privacy settings of current account |key|[InputPrivacyKey](../types/InputPrivacyKey.md) | Peer category whose privacy settings should be fetched | Yes| -### Return type: [account\_PrivacyRules](../types/account_PrivacyRules.md) +### Return type: [account.PrivacyRules](../types/account.PrivacyRules.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_PrivacyRules = $MadelineProto->account->getPrivacy(['key' => InputPrivacyKey, ]); +$account.PrivacyRules = $MadelineProto->account->getPrivacy(['key' => InputPrivacyKey, ]); ``` Or, if you're into Lua: ```lua -account_PrivacyRules = account.getPrivacy({key=InputPrivacyKey, }) +account.PrivacyRules = account.getPrivacy({key=InputPrivacyKey, }) ``` ### Errors diff --git a/old_docs/API_docs_v105/methods/account.getThemes.md b/old_docs/API_docs_v105/methods/account.getThemes.md index 6bf00987..0749c66f 100644 --- a/old_docs/API_docs_v105/methods/account.getThemes.md +++ b/old_docs/API_docs_v105/methods/account.getThemes.md @@ -17,7 +17,7 @@ Get installed themes |hash|Array of [int](../types/int.md) | Hash for pagination | Optional| -### Return type: [account\_Themes](../types/account_Themes.md) +### Return type: [account.Themes](../types/account.Themes.md) ### Can bots use this method: **YES** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_Themes = $MadelineProto->account->getThemes(['format' => 'string', 'hash' => [int, int], ]); +$account.Themes = $MadelineProto->account->getThemes(['format' => 'string', 'hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -account_Themes = account.getThemes({format='string', hash={int}, }) +account.Themes = account.getThemes({format='string', hash={int}, }) ``` diff --git a/old_docs/API_docs_v105/methods/account.getTmpPassword.md b/old_docs/API_docs_v105/methods/account.getTmpPassword.md index 76729595..2328df1e 100644 --- a/old_docs/API_docs_v105/methods/account.getTmpPassword.md +++ b/old_docs/API_docs_v105/methods/account.getTmpPassword.md @@ -17,7 +17,7 @@ Get temporary payment password |period|[int](../types/int.md) | Time during which the temporary password will be valid, in seconds; should be between 60 and 86400 | Yes| -### Return type: [account\_TmpPassword](../types/account_TmpPassword.md) +### Return type: [account.TmpPassword](../types/account.TmpPassword.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_TmpPassword = $MadelineProto->account->getTmpPassword(['password' => InputCheckPasswordSRP, 'period' => int, ]); +$account.TmpPassword = $MadelineProto->account->getTmpPassword(['password' => InputCheckPasswordSRP, 'period' => int, ]); ``` Or, if you're into Lua: ```lua -account_TmpPassword = account.getTmpPassword({password=InputCheckPasswordSRP, period=int, }) +account.TmpPassword = account.getTmpPassword({password=InputCheckPasswordSRP, period=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v105/methods/account.getWallPapers.md b/old_docs/API_docs_v105/methods/account.getWallPapers.md index 75c97ae2..aeb95929 100644 --- a/old_docs/API_docs_v105/methods/account.getWallPapers.md +++ b/old_docs/API_docs_v105/methods/account.getWallPapers.md @@ -16,7 +16,7 @@ Returns a list of available wallpapers. |hash|Array of [int](../types/int.md) | IDs of previously fetched wallpapers | Optional| -### Return type: [account\_WallPapers](../types/account_WallPapers.md) +### Return type: [account.WallPapers](../types/account.WallPapers.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_WallPapers = $MadelineProto->account->getWallPapers(['hash' => [int, int], ]); +$account.WallPapers = $MadelineProto->account->getWallPapers(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -account_WallPapers = account.getWallPapers({hash={int}, }) +account.WallPapers = account.getWallPapers({hash={int}, }) ``` diff --git a/old_docs/API_docs_v105/methods/account.getWebAuthorizations.md b/old_docs/API_docs_v105/methods/account.getWebAuthorizations.md index 1a43f138..b97fe978 100644 --- a/old_docs/API_docs_v105/methods/account.getWebAuthorizations.md +++ b/old_docs/API_docs_v105/methods/account.getWebAuthorizations.md @@ -11,7 +11,7 @@ Get web [login widget](https://core.telegram.org/widgets/login) authorizations -### Return type: [account\_WebAuthorizations](../types/account_WebAuthorizations.md) +### Return type: [account.WebAuthorizations](../types/account.WebAuthorizations.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_WebAuthorizations = $MadelineProto->account->getWebAuthorizations(); +$account.WebAuthorizations = $MadelineProto->account->getWebAuthorizations(); ``` Or, if you're into Lua: ```lua -account_WebAuthorizations = account.getWebAuthorizations({}) +account.WebAuthorizations = account.getWebAuthorizations({}) ``` diff --git a/old_docs/API_docs_v105/methods/account.initTakeoutSession.md b/old_docs/API_docs_v105/methods/account.initTakeoutSession.md index 01b3ae0f..3b8774b8 100644 --- a/old_docs/API_docs_v105/methods/account.initTakeoutSession.md +++ b/old_docs/API_docs_v105/methods/account.initTakeoutSession.md @@ -22,7 +22,7 @@ Intialize account takeout session |file\_max\_size|[int](../types/int.md) | Maximum size of files to export | Optional| -### Return type: [account\_Takeout](../types/account_Takeout.md) +### Return type: [account.Takeout](../types/account.Takeout.md) ### Can bots use this method: **NO** @@ -39,12 +39,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_Takeout = $MadelineProto->account->initTakeoutSession(['contacts' => Bool, 'message_users' => Bool, 'message_chats' => Bool, 'message_megagroups' => Bool, 'message_channels' => Bool, 'files' => Bool, 'file_max_size' => int, ]); +$account.Takeout = $MadelineProto->account->initTakeoutSession(['contacts' => Bool, 'message_users' => Bool, 'message_chats' => Bool, 'message_megagroups' => Bool, 'message_channels' => Bool, 'files' => Bool, 'file_max_size' => int, ]); ``` Or, if you're into Lua: ```lua -account_Takeout = account.initTakeoutSession({contacts=Bool, message_users=Bool, message_chats=Bool, message_megagroups=Bool, message_channels=Bool, files=Bool, file_max_size=int, }) +account.Takeout = account.initTakeoutSession({contacts=Bool, message_users=Bool, message_chats=Bool, message_megagroups=Bool, message_channels=Bool, files=Bool, file_max_size=int, }) ``` diff --git a/old_docs/API_docs_v105/methods/account.sendChangePhoneCode.md b/old_docs/API_docs_v105/methods/account.sendChangePhoneCode.md index 1efd192e..469a602d 100644 --- a/old_docs/API_docs_v105/methods/account.sendChangePhoneCode.md +++ b/old_docs/API_docs_v105/methods/account.sendChangePhoneCode.md @@ -17,7 +17,7 @@ Verify a new phone number to associate to the current account |settings|[CodeSettings](../types/CodeSettings.md) | Phone code settings | Yes| -### Return type: [auth\_SentCode](../types/auth_SentCode.md) +### Return type: [auth.SentCode](../types/auth.SentCode.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_SentCode = $MadelineProto->account->sendChangePhoneCode(['phone_number' => 'string', 'settings' => CodeSettings, ]); +$auth.SentCode = $MadelineProto->account->sendChangePhoneCode(['phone_number' => 'string', 'settings' => CodeSettings, ]); ``` Or, if you're into Lua: ```lua -auth_SentCode = account.sendChangePhoneCode({phone_number='string', settings=CodeSettings, }) +auth.SentCode = account.sendChangePhoneCode({phone_number='string', settings=CodeSettings, }) ``` ### Errors diff --git a/old_docs/API_docs_v105/methods/account.sendConfirmPhoneCode.md b/old_docs/API_docs_v105/methods/account.sendConfirmPhoneCode.md index bd8cf87e..1927681f 100644 --- a/old_docs/API_docs_v105/methods/account.sendConfirmPhoneCode.md +++ b/old_docs/API_docs_v105/methods/account.sendConfirmPhoneCode.md @@ -17,7 +17,7 @@ Send confirmation code to cancel account deletion, for more info [click here »] |settings|[CodeSettings](../types/CodeSettings.md) | Phone code settings | Yes| -### Return type: [auth\_SentCode](../types/auth_SentCode.md) +### Return type: [auth.SentCode](../types/auth.SentCode.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_SentCode = $MadelineProto->account->sendConfirmPhoneCode(['hash' => 'string', 'settings' => CodeSettings, ]); +$auth.SentCode = $MadelineProto->account->sendConfirmPhoneCode(['hash' => 'string', 'settings' => CodeSettings, ]); ``` Or, if you're into Lua: ```lua -auth_SentCode = account.sendConfirmPhoneCode({hash='string', settings=CodeSettings, }) +auth.SentCode = account.sendConfirmPhoneCode({hash='string', settings=CodeSettings, }) ``` ### Errors diff --git a/old_docs/API_docs_v105/methods/account.sendVerifyEmailCode.md b/old_docs/API_docs_v105/methods/account.sendVerifyEmailCode.md index 54b1fc3f..a4768852 100644 --- a/old_docs/API_docs_v105/methods/account.sendVerifyEmailCode.md +++ b/old_docs/API_docs_v105/methods/account.sendVerifyEmailCode.md @@ -16,7 +16,7 @@ Send the verification email code for telegram [passport](https://core.telegram.o |email|[string](../types/string.md) | The email where to send the code | Yes| -### Return type: [account\_SentEmailCode](../types/account_SentEmailCode.md) +### Return type: [account.SentEmailCode](../types/account.SentEmailCode.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_SentEmailCode = $MadelineProto->account->sendVerifyEmailCode(['email' => 'string', ]); +$account.SentEmailCode = $MadelineProto->account->sendVerifyEmailCode(['email' => 'string', ]); ``` Or, if you're into Lua: ```lua -account_SentEmailCode = account.sendVerifyEmailCode({email='string', }) +account.SentEmailCode = account.sendVerifyEmailCode({email='string', }) ``` diff --git a/old_docs/API_docs_v105/methods/account.sendVerifyPhoneCode.md b/old_docs/API_docs_v105/methods/account.sendVerifyPhoneCode.md index 0b058240..3ff2fae7 100644 --- a/old_docs/API_docs_v105/methods/account.sendVerifyPhoneCode.md +++ b/old_docs/API_docs_v105/methods/account.sendVerifyPhoneCode.md @@ -17,7 +17,7 @@ Send the verification phone code for telegram [passport](https://core.telegram.o |settings|[CodeSettings](../types/CodeSettings.md) | Phone code settings | Yes| -### Return type: [auth\_SentCode](../types/auth_SentCode.md) +### Return type: [auth.SentCode](../types/auth.SentCode.md) ### Can bots use this method: **NO** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_SentCode = $MadelineProto->account->sendVerifyPhoneCode(['phone_number' => 'string', 'settings' => CodeSettings, ]); +$auth.SentCode = $MadelineProto->account->sendVerifyPhoneCode(['phone_number' => 'string', 'settings' => CodeSettings, ]); ``` Or, if you're into Lua: ```lua -auth_SentCode = account.sendVerifyPhoneCode({phone_number='string', settings=CodeSettings, }) +auth.SentCode = account.sendVerifyPhoneCode({phone_number='string', settings=CodeSettings, }) ``` diff --git a/old_docs/API_docs_v105/methods/account.setPrivacy.md b/old_docs/API_docs_v105/methods/account.setPrivacy.md index 7c4cfba7..096d373e 100644 --- a/old_docs/API_docs_v105/methods/account.setPrivacy.md +++ b/old_docs/API_docs_v105/methods/account.setPrivacy.md @@ -17,7 +17,7 @@ Change privacy settings of current account |rules|Array of [InputPrivacyRule](../types/InputPrivacyRule.md) | Privacy settings | Yes| -### Return type: [account\_PrivacyRules](../types/account_PrivacyRules.md) +### Return type: [account.PrivacyRules](../types/account.PrivacyRules.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_PrivacyRules = $MadelineProto->account->setPrivacy(['key' => InputPrivacyKey, 'rules' => [InputPrivacyRule, InputPrivacyRule], ]); +$account.PrivacyRules = $MadelineProto->account->setPrivacy(['key' => InputPrivacyKey, 'rules' => [InputPrivacyRule, InputPrivacyRule], ]); ``` Or, if you're into Lua: ```lua -account_PrivacyRules = account.setPrivacy({key=InputPrivacyKey, rules={InputPrivacyRule}, }) +account.PrivacyRules = account.setPrivacy({key=InputPrivacyKey, rules={InputPrivacyRule}, }) ``` ### Errors diff --git a/old_docs/API_docs_v105/methods/api_README.md b/old_docs/API_docs_v105/methods/api_README.md index bd1aab0a..14d5c431 100644 --- a/old_docs/API_docs_v105/methods/api_README.md +++ b/old_docs/API_docs_v105/methods/api_README.md @@ -84,15 +84,15 @@ $MadelineProto->[account->getAllSecureValues](account.getAllSecureValues.md)(\[\ ***

-$MadelineProto->[account->getAuthorizationForm](account.getAuthorizationForm.md)(\['bot_id' => [int](../types/int.md), 'scope' => [string](../types/string.md), 'public_key' => [string](../types/string.md), \]) === [$account\_AuthorizationForm](../types/account_AuthorizationForm.md) +$MadelineProto->[account->getAuthorizationForm](account.getAuthorizationForm.md)(\['bot_id' => [int](../types/int.md), 'scope' => [string](../types/string.md), 'public_key' => [string](../types/string.md), \]) === [$account.AuthorizationForm](../types/account.AuthorizationForm.md) ***

-$MadelineProto->[account->getAuthorizations](account.getAuthorizations.md)(\[\]) === [$account\_Authorizations](../types/account_Authorizations.md) +$MadelineProto->[account->getAuthorizations](account.getAuthorizations.md)(\[\]) === [$account.Authorizations](../types/account.Authorizations.md) ***

-$MadelineProto->[account->getAutoDownloadSettings](account.getAutoDownloadSettings.md)(\[\]) === [$account\_AutoDownloadSettings](../types/account_AutoDownloadSettings.md) +$MadelineProto->[account->getAutoDownloadSettings](account.getAutoDownloadSettings.md)(\[\]) === [$account.AutoDownloadSettings](../types/account.AutoDownloadSettings.md) ***

@@ -108,15 +108,15 @@ $MadelineProto->[account->getNotifySettings](account.getNotifySettings.md)(\['pe ***

-$MadelineProto->[account->getPassword](account.getPassword.md)(\[\]) === [$account\_Password](../types/account_Password.md) +$MadelineProto->[account->getPassword](account.getPassword.md)(\[\]) === [$account.Password](../types/account.Password.md) ***

-$MadelineProto->[account->getPasswordSettings](account.getPasswordSettings.md)(\['password' => [InputCheckPasswordSRP](../types/InputCheckPasswordSRP.md), \]) === [$account\_PasswordSettings](../types/account_PasswordSettings.md) +$MadelineProto->[account->getPasswordSettings](account.getPasswordSettings.md)(\['password' => [InputCheckPasswordSRP](../types/InputCheckPasswordSRP.md), \]) === [$account.PasswordSettings](../types/account.PasswordSettings.md) ***

-$MadelineProto->[account->getPrivacy](account.getPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), \]) === [$account\_PrivacyRules](../types/account_PrivacyRules.md) +$MadelineProto->[account->getPrivacy](account.getPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), \]) === [$account.PrivacyRules](../types/account.PrivacyRules.md) ***

@@ -128,11 +128,11 @@ $MadelineProto->[account->getTheme](account.getTheme.md)(\['format' => [string]( ***

-$MadelineProto->[account->getThemes](account.getThemes.md)(\['format' => [string](../types/string.md), 'hash' => [int](../types/int.md), \]) === [$account\_Themes](../types/account_Themes.md) +$MadelineProto->[account->getThemes](account.getThemes.md)(\['format' => [string](../types/string.md), 'hash' => [int](../types/int.md), \]) === [$account.Themes](../types/account.Themes.md) ***

-$MadelineProto->[account->getTmpPassword](account.getTmpPassword.md)(\['password' => [InputCheckPasswordSRP](../types/InputCheckPasswordSRP.md), 'period' => [int](../types/int.md), \]) === [$account\_TmpPassword](../types/account_TmpPassword.md) +$MadelineProto->[account->getTmpPassword](account.getTmpPassword.md)(\['password' => [InputCheckPasswordSRP](../types/InputCheckPasswordSRP.md), 'period' => [int](../types/int.md), \]) === [$account.TmpPassword](../types/account.TmpPassword.md) ***

@@ -140,15 +140,15 @@ $MadelineProto->[account->getWallPaper](account.getWallPaper.md)(\['wallpaper' = ***

-$MadelineProto->[account->getWallPapers](account.getWallPapers.md)(\['hash' => [int](../types/int.md), \]) === [$account\_WallPapers](../types/account_WallPapers.md) +$MadelineProto->[account->getWallPapers](account.getWallPapers.md)(\['hash' => [int](../types/int.md), \]) === [$account.WallPapers](../types/account.WallPapers.md) ***

-$MadelineProto->[account->getWebAuthorizations](account.getWebAuthorizations.md)(\[\]) === [$account\_WebAuthorizations](../types/account_WebAuthorizations.md) +$MadelineProto->[account->getWebAuthorizations](account.getWebAuthorizations.md)(\[\]) === [$account.WebAuthorizations](../types/account.WebAuthorizations.md) ***

-$MadelineProto->[account->initTakeoutSession](account.initTakeoutSession.md)(\['contacts' => [Bool](../types/Bool.md), 'message_users' => [Bool](../types/Bool.md), 'message_chats' => [Bool](../types/Bool.md), 'message_megagroups' => [Bool](../types/Bool.md), 'message_channels' => [Bool](../types/Bool.md), 'files' => [Bool](../types/Bool.md), 'file_max_size' => [int](../types/int.md), \]) === [$account\_Takeout](../types/account_Takeout.md) +$MadelineProto->[account->initTakeoutSession](account.initTakeoutSession.md)(\['contacts' => [Bool](../types/Bool.md), 'message_users' => [Bool](../types/Bool.md), 'message_chats' => [Bool](../types/Bool.md), 'message_megagroups' => [Bool](../types/Bool.md), 'message_channels' => [Bool](../types/Bool.md), 'files' => [Bool](../types/Bool.md), 'file_max_size' => [int](../types/int.md), \]) === [$account.Takeout](../types/account.Takeout.md) ***

@@ -208,19 +208,19 @@ $MadelineProto->[account->saveWallPaper](account.saveWallPaper.md)(\['wallpaper' ***

-$MadelineProto->[account->sendChangePhoneCode](account.sendChangePhoneCode.md)(\['phone_number' => [string](../types/string.md), 'settings' => [CodeSettings](../types/CodeSettings.md), \]) === [$auth\_SentCode](../types/auth_SentCode.md) +$MadelineProto->[account->sendChangePhoneCode](account.sendChangePhoneCode.md)(\['phone_number' => [string](../types/string.md), 'settings' => [CodeSettings](../types/CodeSettings.md), \]) === [$auth.SentCode](../types/auth.SentCode.md) ***

-$MadelineProto->[account->sendConfirmPhoneCode](account.sendConfirmPhoneCode.md)(\['hash' => [string](../types/string.md), 'settings' => [CodeSettings](../types/CodeSettings.md), \]) === [$auth\_SentCode](../types/auth_SentCode.md) +$MadelineProto->[account->sendConfirmPhoneCode](account.sendConfirmPhoneCode.md)(\['hash' => [string](../types/string.md), 'settings' => [CodeSettings](../types/CodeSettings.md), \]) === [$auth.SentCode](../types/auth.SentCode.md) ***

-$MadelineProto->[account->sendVerifyEmailCode](account.sendVerifyEmailCode.md)(\['email' => [string](../types/string.md), \]) === [$account\_SentEmailCode](../types/account_SentEmailCode.md) +$MadelineProto->[account->sendVerifyEmailCode](account.sendVerifyEmailCode.md)(\['email' => [string](../types/string.md), \]) === [$account.SentEmailCode](../types/account.SentEmailCode.md) ***

-$MadelineProto->[account->sendVerifyPhoneCode](account.sendVerifyPhoneCode.md)(\['phone_number' => [string](../types/string.md), 'settings' => [CodeSettings](../types/CodeSettings.md), \]) === [$auth\_SentCode](../types/auth_SentCode.md) +$MadelineProto->[account->sendVerifyPhoneCode](account.sendVerifyPhoneCode.md)(\['phone_number' => [string](../types/string.md), 'settings' => [CodeSettings](../types/CodeSettings.md), \]) === [$auth.SentCode](../types/auth.SentCode.md) ***

@@ -232,7 +232,7 @@ $MadelineProto->[account->setContactSignUpNotification](account.setContactSignUp ***

-$MadelineProto->[account->setPrivacy](account.setPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), 'rules' => \[[InputPrivacyRule](../types/InputPrivacyRule.md)\], \]) === [$account\_PrivacyRules](../types/account_PrivacyRules.md) +$MadelineProto->[account->setPrivacy](account.setPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), 'rules' => \[[InputPrivacyRule](../types/InputPrivacyRule.md)\], \]) === [$account.PrivacyRules](../types/account.PrivacyRules.md) ***

@@ -292,7 +292,7 @@ $MadelineProto->[auth->cancelCode](auth.cancelCode.md)(\['phone_number' => [stri ***

-$MadelineProto->[auth->checkPassword](auth.checkPassword.md)(\['password' => [InputCheckPasswordSRP](../types/InputCheckPasswordSRP.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->checkPassword](auth.checkPassword.md)(\['password' => [InputCheckPasswordSRP](../types/InputCheckPasswordSRP.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

@@ -300,15 +300,15 @@ $MadelineProto->[auth->dropTempAuthKeys](auth.dropTempAuthKeys.md)(\['except_aut ***

-$MadelineProto->[auth->exportAuthorization](auth.exportAuthorization.md)(\['dc_id' => [int](../types/int.md), \]) === [$auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) +$MadelineProto->[auth->exportAuthorization](auth.exportAuthorization.md)(\['dc_id' => [int](../types/int.md), \]) === [$auth.ExportedAuthorization](../types/auth.ExportedAuthorization.md) ***

-$MadelineProto->[auth->importAuthorization](auth.importAuthorization.md)(\['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->importAuthorization](auth.importAuthorization.md)(\['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

-$MadelineProto->[auth->importBotAuthorization](auth.importBotAuthorization.md)(\['api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), 'bot_auth_token' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->importBotAuthorization](auth.importBotAuthorization.md)(\['api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), 'bot_auth_token' => [string](../types/string.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

@@ -316,15 +316,15 @@ $MadelineProto->[auth->logOut](auth.logOut.md)(\[\]) === [$Bool](../types/Bool.m ***

-$MadelineProto->[auth->recoverPassword](auth.recoverPassword.md)(\['code' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->recoverPassword](auth.recoverPassword.md)(\['code' => [string](../types/string.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

-$MadelineProto->[auth->requestPasswordRecovery](auth.requestPasswordRecovery.md)(\[\]) === [$auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) +$MadelineProto->[auth->requestPasswordRecovery](auth.requestPasswordRecovery.md)(\[\]) === [$auth.PasswordRecovery](../types/auth.PasswordRecovery.md) ***

-$MadelineProto->[auth->resendCode](auth.resendCode.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), \]) === [$auth\_SentCode](../types/auth_SentCode.md) +$MadelineProto->[auth->resendCode](auth.resendCode.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), \]) === [$auth.SentCode](../types/auth.SentCode.md) ***

@@ -332,15 +332,15 @@ $MadelineProto->[auth->resetAuthorizations](auth.resetAuthorizations.md)(\[\]) = ***

-$MadelineProto->[auth->sendCode](auth.sendCode.md)(\['phone_number' => [string](../types/string.md), 'api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), 'settings' => [CodeSettings](../types/CodeSettings.md), \]) === [$auth\_SentCode](../types/auth_SentCode.md) +$MadelineProto->[auth->sendCode](auth.sendCode.md)(\['phone_number' => [string](../types/string.md), 'api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), 'settings' => [CodeSettings](../types/CodeSettings.md), \]) === [$auth.SentCode](../types/auth.SentCode.md) ***

-$MadelineProto->[auth->signIn](auth.signIn.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->signIn](auth.signIn.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

-$MadelineProto->[auth->signUp](auth.signUp.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->signUp](auth.signUp.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

@@ -368,11 +368,11 @@ $MadelineProto->[channels->deleteHistory](channels.deleteHistory.md)(\['channel' ***

-$MadelineProto->[channels->deleteMessages](channels.deleteMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) +$MadelineProto->[channels->deleteMessages](channels.deleteMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages.AffectedMessages](../types/messages.AffectedMessages.md) ***

-$MadelineProto->[channels->deleteUserHistory](channels.deleteUserHistory.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages\_AffectedHistory](../types/messages_AffectedHistory.md) +$MadelineProto->[channels->deleteUserHistory](channels.deleteUserHistory.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages.AffectedHistory](../types/messages.AffectedHistory.md) ***

@@ -404,39 +404,39 @@ $MadelineProto->[channels->exportMessageLink](channels.exportMessageLink.md)(\[' ***

-$MadelineProto->[channels->getAdminLog](channels.getAdminLog.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'q' => [string](../types/string.md), 'events_filter' => [ChannelAdminLogEventsFilter](../types/ChannelAdminLogEventsFilter.md), 'admins' => \[[InputUser](../types/InputUser.md)\], 'max_id' => [long](../types/long.md), 'min_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$channels\_AdminLogResults](../types/channels_AdminLogResults.md) +$MadelineProto->[channels->getAdminLog](channels.getAdminLog.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'q' => [string](../types/string.md), 'events_filter' => [ChannelAdminLogEventsFilter](../types/ChannelAdminLogEventsFilter.md), 'admins' => \[[InputUser](../types/InputUser.md)\], 'max_id' => [long](../types/long.md), 'min_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$channels.AdminLogResults](../types/channels.AdminLogResults.md) ***

-$MadelineProto->[channels->getAdminedPublicChannels](channels.getAdminedPublicChannels.md)(\['by_location' => [Bool](../types/Bool.md), 'check_limit' => [Bool](../types/Bool.md), \]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[channels->getAdminedPublicChannels](channels.getAdminedPublicChannels.md)(\['by_location' => [Bool](../types/Bool.md), 'check_limit' => [Bool](../types/Bool.md), \]) === [$messages.Chats](../types/messages.Chats.md) ***

-$MadelineProto->[channels->getChannels](channels.getChannels.md)(\['id' => \[[InputChannel](../types/InputChannel.md)\], \]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[channels->getChannels](channels.getChannels.md)(\['id' => \[[InputChannel](../types/InputChannel.md)\], \]) === [$messages.Chats](../types/messages.Chats.md) ***

-$MadelineProto->[channels->getFullChannel](channels.getFullChannel.md)(\['channel' => [InputChannel](../types/InputChannel.md), \]) === [$messages\_ChatFull](../types/messages_ChatFull.md) +$MadelineProto->[channels->getFullChannel](channels.getFullChannel.md)(\['channel' => [InputChannel](../types/InputChannel.md), \]) === [$messages.ChatFull](../types/messages.ChatFull.md) ***

-$MadelineProto->[channels->getGroupsForDiscussion](channels.getGroupsForDiscussion.md)(\[\]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[channels->getGroupsForDiscussion](channels.getGroupsForDiscussion.md)(\[\]) === [$messages.Chats](../types/messages.Chats.md) ***

-$MadelineProto->[channels->getLeftChannels](channels.getLeftChannels.md)(\['offset' => [int](../types/int.md), \]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[channels->getLeftChannels](channels.getLeftChannels.md)(\['offset' => [int](../types/int.md), \]) === [$messages.Chats](../types/messages.Chats.md) ***

-$MadelineProto->[channels->getMessages](channels.getMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[InputMessage](../types/InputMessage.md)\], \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[channels->getMessages](channels.getMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[InputMessage](../types/InputMessage.md)\], \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[channels->getParticipant](channels.getParticipant.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$channels\_ChannelParticipant](../types/channels_ChannelParticipant.md) +$MadelineProto->[channels->getParticipant](channels.getParticipant.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$channels.ChannelParticipant](../types/channels.ChannelParticipant.md) ***

-$MadelineProto->[channels->getParticipants](channels.getParticipants.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$channels\_ChannelParticipants](../types/channels_ChannelParticipants.md) +$MadelineProto->[channels->getParticipants](channels.getParticipants.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$channels.ChannelParticipants](../types/channels.ChannelParticipants.md) ***

@@ -508,7 +508,7 @@ $MadelineProto->[contacts->deleteContacts](contacts.deleteContacts.md)(\['id' => ***

-$MadelineProto->[contacts->getBlocked](contacts.getBlocked.md)(\['offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$contacts\_Blocked](../types/contacts_Blocked.md) +$MadelineProto->[contacts->getBlocked](contacts.getBlocked.md)(\['offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$contacts.Blocked](../types/contacts.Blocked.md) ***

@@ -516,7 +516,7 @@ $MadelineProto->[contacts->getContactIDs](contacts.getContactIDs.md)(\['hash' => ***

-$MadelineProto->[contacts->getContacts](contacts.getContacts.md)(\['hash' => [int](../types/int.md), \]) === [$contacts\_Contacts](../types/contacts_Contacts.md) +$MadelineProto->[contacts->getContacts](contacts.getContacts.md)(\['hash' => [int](../types/int.md), \]) === [$contacts.Contacts](../types/contacts.Contacts.md) ***

@@ -532,11 +532,11 @@ $MadelineProto->[contacts->getStatuses](contacts.getStatuses.md)(\[\]) === [$Vec ***

-$MadelineProto->[contacts->getTopPeers](contacts.getTopPeers.md)(\['correspondents' => [Bool](../types/Bool.md), 'bots_pm' => [Bool](../types/Bool.md), 'bots_inline' => [Bool](../types/Bool.md), 'phone_calls' => [Bool](../types/Bool.md), 'forward_users' => [Bool](../types/Bool.md), 'forward_chats' => [Bool](../types/Bool.md), 'groups' => [Bool](../types/Bool.md), 'channels' => [Bool](../types/Bool.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$contacts\_TopPeers](../types/contacts_TopPeers.md) +$MadelineProto->[contacts->getTopPeers](contacts.getTopPeers.md)(\['correspondents' => [Bool](../types/Bool.md), 'bots_pm' => [Bool](../types/Bool.md), 'bots_inline' => [Bool](../types/Bool.md), 'phone_calls' => [Bool](../types/Bool.md), 'forward_users' => [Bool](../types/Bool.md), 'forward_chats' => [Bool](../types/Bool.md), 'groups' => [Bool](../types/Bool.md), 'channels' => [Bool](../types/Bool.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$contacts.TopPeers](../types/contacts.TopPeers.md) ***

-$MadelineProto->[contacts->importContacts](contacts.importContacts.md)(\['contacts' => \[[InputContact](../types/InputContact.md)\], \]) === [$contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) +$MadelineProto->[contacts->importContacts](contacts.importContacts.md)(\['contacts' => \[[InputContact](../types/InputContact.md)\], \]) === [$contacts.ImportedContacts](../types/contacts.ImportedContacts.md) ***

@@ -548,11 +548,11 @@ $MadelineProto->[contacts->resetTopPeerRating](contacts.resetTopPeerRating.md)(\ ***

-$MadelineProto->[contacts->resolveUsername](contacts.resolveUsername.md)(\['username' => [string](../types/string.md), \]) === [$contacts\_ResolvedPeer](../types/contacts_ResolvedPeer.md) +$MadelineProto->[contacts->resolveUsername](contacts.resolveUsername.md)(\['username' => [string](../types/string.md), \]) === [$contacts.ResolvedPeer](../types/contacts.ResolvedPeer.md) ***

-$MadelineProto->[contacts->search](contacts.search.md)(\['q' => [string](../types/string.md), 'limit' => [int](../types/int.md), \]) === [$contacts\_Found](../types/contacts_Found.md) +$MadelineProto->[contacts->search](contacts.search.md)(\['q' => [string](../types/string.md), 'limit' => [int](../types/int.md), \]) === [$contacts.Found](../types/contacts.Found.md) ***

@@ -576,7 +576,7 @@ $MadelineProto->[help->acceptTermsOfService](help.acceptTermsOfService.md)(\['id ***

-$MadelineProto->[help->editUserInfo](help.editUserInfo.md)(\['user_id' => [InputUser](../types/InputUser.md), 'message' => [string](../types/string.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], \]) === [$help\_UserInfo](../types/help_UserInfo.md) +$MadelineProto->[help->editUserInfo](help.editUserInfo.md)(\['user_id' => [InputUser](../types/InputUser.md), 'message' => [string](../types/string.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], \]) === [$help.UserInfo](../types/help.UserInfo.md) ***

@@ -588,7 +588,7 @@ $MadelineProto->[help->getAppConfig](help.getAppConfig.md)(\[\]) === [$JSONValue ***

-$MadelineProto->[help->getAppUpdate](help.getAppUpdate.md)(\['source' => [string](../types/string.md), \]) === [$help\_AppUpdate](../types/help_AppUpdate.md) +$MadelineProto->[help->getAppUpdate](help.getAppUpdate.md)(\['source' => [string](../types/string.md), \]) === [$help.AppUpdate](../types/help.AppUpdate.md) ***

@@ -600,11 +600,11 @@ $MadelineProto->[help->getConfig](help.getConfig.md)(\[\]) === [$Config](../type ***

-$MadelineProto->[help->getDeepLinkInfo](help.getDeepLinkInfo.md)(\['path' => [string](../types/string.md), \]) === [$help\_DeepLinkInfo](../types/help_DeepLinkInfo.md) +$MadelineProto->[help->getDeepLinkInfo](help.getDeepLinkInfo.md)(\['path' => [string](../types/string.md), \]) === [$help.DeepLinkInfo](../types/help.DeepLinkInfo.md) ***

-$MadelineProto->[help->getInviteText](help.getInviteText.md)(\[\]) === [$help\_InviteText](../types/help_InviteText.md) +$MadelineProto->[help->getInviteText](help.getInviteText.md)(\[\]) === [$help.InviteText](../types/help.InviteText.md) ***

@@ -612,31 +612,31 @@ $MadelineProto->[help->getNearestDc](help.getNearestDc.md)(\[\]) === [$NearestDc ***

-$MadelineProto->[help->getPassportConfig](help.getPassportConfig.md)(\['hash' => [int](../types/int.md), \]) === [$help\_PassportConfig](../types/help_PassportConfig.md) +$MadelineProto->[help->getPassportConfig](help.getPassportConfig.md)(\['hash' => [int](../types/int.md), \]) === [$help.PassportConfig](../types/help.PassportConfig.md) ***

-$MadelineProto->[help->getProxyData](help.getProxyData.md)(\[\]) === [$help\_ProxyData](../types/help_ProxyData.md) +$MadelineProto->[help->getProxyData](help.getProxyData.md)(\[\]) === [$help.ProxyData](../types/help.ProxyData.md) ***

-$MadelineProto->[help->getRecentMeUrls](help.getRecentMeUrls.md)(\['referer' => [string](../types/string.md), \]) === [$help\_RecentMeUrls](../types/help_RecentMeUrls.md) +$MadelineProto->[help->getRecentMeUrls](help.getRecentMeUrls.md)(\['referer' => [string](../types/string.md), \]) === [$help.RecentMeUrls](../types/help.RecentMeUrls.md) ***

-$MadelineProto->[help->getSupport](help.getSupport.md)(\[\]) === [$help\_Support](../types/help_Support.md) +$MadelineProto->[help->getSupport](help.getSupport.md)(\[\]) === [$help.Support](../types/help.Support.md) ***

-$MadelineProto->[help->getSupportName](help.getSupportName.md)(\[\]) === [$help\_SupportName](../types/help_SupportName.md) +$MadelineProto->[help->getSupportName](help.getSupportName.md)(\[\]) === [$help.SupportName](../types/help.SupportName.md) ***

-$MadelineProto->[help->getTermsOfServiceUpdate](help.getTermsOfServiceUpdate.md)(\[\]) === [$help\_TermsOfServiceUpdate](../types/help_TermsOfServiceUpdate.md) +$MadelineProto->[help->getTermsOfServiceUpdate](help.getTermsOfServiceUpdate.md)(\[\]) === [$help.TermsOfServiceUpdate](../types/help.TermsOfServiceUpdate.md) ***

-$MadelineProto->[help->getUserInfo](help.getUserInfo.md)(\['user_id' => [InputUser](../types/InputUser.md), \]) === [$help\_UserInfo](../types/help_UserInfo.md) +$MadelineProto->[help->getUserInfo](help.getUserInfo.md)(\['user_id' => [InputUser](../types/InputUser.md), \]) === [$help.UserInfo](../types/help.UserInfo.md) ***

@@ -728,11 +728,11 @@ $MadelineProto->[messages->deleteChatUser](messages.deleteChatUser.md)(\['chat_i ***

-$MadelineProto->[messages->deleteHistory](messages.deleteHistory.md)(\['just_clear' => [Bool](../types/Bool.md), 'revoke' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), \]) === [$messages\_AffectedHistory](../types/messages_AffectedHistory.md) +$MadelineProto->[messages->deleteHistory](messages.deleteHistory.md)(\['just_clear' => [Bool](../types/Bool.md), 'revoke' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), \]) === [$messages.AffectedHistory](../types/messages.AffectedHistory.md) ***

-$MadelineProto->[messages->deleteMessages](messages.deleteMessages.md)(\['revoke' => [Bool](../types/Bool.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) +$MadelineProto->[messages->deleteMessages](messages.deleteMessages.md)(\['revoke' => [Bool](../types/Bool.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages.AffectedMessages](../types/messages.AffectedMessages.md) ***

@@ -784,7 +784,7 @@ $MadelineProto->[messages->forwardMessages](messages.forwardMessages.md)(\['sile ***

-$MadelineProto->[messages->getAllChats](messages.getAllChats.md)(\['except_ids' => \[[int](../types/int.md)\], \]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[messages->getAllChats](messages.getAllChats.md)(\['except_ids' => \[[int](../types/int.md)\], \]) === [$messages.Chats](../types/messages.Chats.md) ***

@@ -792,11 +792,11 @@ $MadelineProto->[messages->getAllDrafts](messages.getAllDrafts.md)(\[\]) === [$U ***

-$MadelineProto->[messages->getAllStickers](messages.getAllStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages\_AllStickers](../types/messages_AllStickers.md) +$MadelineProto->[messages->getAllStickers](messages.getAllStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages.AllStickers](../types/messages.AllStickers.md) ***

-$MadelineProto->[messages->getArchivedStickers](messages.getArchivedStickers.md)(\['masks' => [Bool](../types/Bool.md), 'offset_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$messages\_ArchivedStickers](../types/messages_ArchivedStickers.md) +$MadelineProto->[messages->getArchivedStickers](messages.getArchivedStickers.md)(\['masks' => [Bool](../types/Bool.md), 'offset_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$messages.ArchivedStickers](../types/messages.ArchivedStickers.md) ***

@@ -804,19 +804,19 @@ $MadelineProto->[messages->getAttachedStickers](messages.getAttachedStickers.md) ***

-$MadelineProto->[messages->getBotCallbackAnswer](messages.getBotCallbackAnswer.md)(\['game' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'msg_id' => [int](../types/int.md), 'data' => [bytes](../types/bytes.md), \]) === [$messages\_BotCallbackAnswer](../types/messages_BotCallbackAnswer.md) +$MadelineProto->[messages->getBotCallbackAnswer](messages.getBotCallbackAnswer.md)(\['game' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'msg_id' => [int](../types/int.md), 'data' => [bytes](../types/bytes.md), \]) === [$messages.BotCallbackAnswer](../types/messages.BotCallbackAnswer.md) ***

-$MadelineProto->[messages->getChats](messages.getChats.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[messages->getChats](messages.getChats.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages.Chats](../types/messages.Chats.md) ***

-$MadelineProto->[messages->getCommonChats](messages.getCommonChats.md)(\['user_id' => [InputUser](../types/InputUser.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[messages->getCommonChats](messages.getCommonChats.md)(\['user_id' => [InputUser](../types/InputUser.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages.Chats](../types/messages.Chats.md) ***

-$MadelineProto->[messages->getDhConfig](messages.getDhConfig.md)(\['version' => [int](../types/int.md), 'random_length' => [int](../types/int.md), \]) === [$messages\_DhConfig](../types/messages_DhConfig.md) +$MadelineProto->[messages->getDhConfig](messages.getDhConfig.md)(\['version' => [int](../types/int.md), 'random_length' => [int](../types/int.md), \]) === [$messages.DhConfig](../types/messages.DhConfig.md) ***

@@ -824,7 +824,7 @@ $MadelineProto->[messages->getDialogUnreadMarks](messages.getDialogUnreadMarks.m ***

-$MadelineProto->[messages->getDialogs](messages.getDialogs.md)(\['exclude_pinned' => [Bool](../types/Bool.md), 'folder_id' => [int](../types/int.md), 'offset_date' => [int](../types/int.md), 'offset_id' => [int](../types/int.md), 'offset_peer' => [InputPeer](../types/InputPeer.md), 'limit' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$messages\_Dialogs](../types/messages_Dialogs.md) +$MadelineProto->[messages->getDialogs](messages.getDialogs.md)(\['exclude_pinned' => [Bool](../types/Bool.md), 'folder_id' => [int](../types/int.md), 'offset_date' => [int](../types/int.md), 'offset_id' => [int](../types/int.md), 'offset_peer' => [InputPeer](../types/InputPeer.md), 'limit' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$messages.Dialogs](../types/messages.Dialogs.md) ***

@@ -848,43 +848,43 @@ $MadelineProto->[messages->getEmojiURL](messages.getEmojiURL.md)(\['lang_code' = ***

-$MadelineProto->[messages->getFavedStickers](messages.getFavedStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages\_FavedStickers](../types/messages_FavedStickers.md) +$MadelineProto->[messages->getFavedStickers](messages.getFavedStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages.FavedStickers](../types/messages.FavedStickers.md) ***

-$MadelineProto->[messages->getFeaturedStickers](messages.getFeaturedStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages\_FeaturedStickers](../types/messages_FeaturedStickers.md) +$MadelineProto->[messages->getFeaturedStickers](messages.getFeaturedStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages.FeaturedStickers](../types/messages.FeaturedStickers.md) ***

-$MadelineProto->[messages->getFullChat](messages.getFullChat.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), \]) === [$messages\_ChatFull](../types/messages_ChatFull.md) +$MadelineProto->[messages->getFullChat](messages.getFullChat.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), \]) === [$messages.ChatFull](../types/messages.ChatFull.md) ***

-$MadelineProto->[messages->getGameHighScores](messages.getGameHighScores.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages\_HighScores](../types/messages_HighScores.md) +$MadelineProto->[messages->getGameHighScores](messages.getGameHighScores.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages.HighScores](../types/messages.HighScores.md) ***

-$MadelineProto->[messages->getHistory](messages.getHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'offset_date' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->getHistory](messages.getHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'offset_date' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[messages->getInlineBotResults](messages.getInlineBotResults.md)(\['bot' => [InputUser](../types/InputUser.md), 'peer' => [InputPeer](../types/InputPeer.md), 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'query' => [string](../types/string.md), 'offset' => [string](../types/string.md), \]) === [$messages\_BotResults](../types/messages_BotResults.md) +$MadelineProto->[messages->getInlineBotResults](messages.getInlineBotResults.md)(\['bot' => [InputUser](../types/InputUser.md), 'peer' => [InputPeer](../types/InputPeer.md), 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'query' => [string](../types/string.md), 'offset' => [string](../types/string.md), \]) === [$messages.BotResults](../types/messages.BotResults.md) ***

-$MadelineProto->[messages->getInlineGameHighScores](messages.getInlineGameHighScores.md)(\['id' => [InputBotInlineMessageID](../types/InputBotInlineMessageID.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages\_HighScores](../types/messages_HighScores.md) +$MadelineProto->[messages->getInlineGameHighScores](messages.getInlineGameHighScores.md)(\['id' => [InputBotInlineMessageID](../types/InputBotInlineMessageID.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages.HighScores](../types/messages.HighScores.md) ***

-$MadelineProto->[messages->getMaskStickers](messages.getMaskStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages\_AllStickers](../types/messages_AllStickers.md) +$MadelineProto->[messages->getMaskStickers](messages.getMaskStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages.AllStickers](../types/messages.AllStickers.md) ***

-$MadelineProto->[messages->getMessageEditData](messages.getMessageEditData.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), \]) === [$messages\_MessageEditData](../types/messages_MessageEditData.md) +$MadelineProto->[messages->getMessageEditData](messages.getMessageEditData.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), \]) === [$messages.MessageEditData](../types/messages.MessageEditData.md) ***

-$MadelineProto->[messages->getMessages](messages.getMessages.md)(\['id' => \[[InputMessage](../types/InputMessage.md)\], \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->getMessages](messages.getMessages.md)(\['id' => \[[InputMessage](../types/InputMessage.md)\], \]) === [$messages.Messages](../types/messages.Messages.md) ***

@@ -896,7 +896,7 @@ $MadelineProto->[messages->getOnlines](messages.getOnlines.md)(\['peer' => [Inpu ***

-$MadelineProto->[messages->getPeerDialogs](messages.getPeerDialogs.md)(\['peers' => \[[InputDialogPeer](../types/InputDialogPeer.md)\], \]) === [$messages\_PeerDialogs](../types/messages_PeerDialogs.md) +$MadelineProto->[messages->getPeerDialogs](messages.getPeerDialogs.md)(\['peers' => \[[InputDialogPeer](../types/InputDialogPeer.md)\], \]) === [$messages.PeerDialogs](../types/messages.PeerDialogs.md) ***

@@ -904,7 +904,7 @@ $MadelineProto->[messages->getPeerSettings](messages.getPeerSettings.md)(\['peer ***

-$MadelineProto->[messages->getPinnedDialogs](messages.getPinnedDialogs.md)(\['folder_id' => [int](../types/int.md), \]) === [$messages\_PeerDialogs](../types/messages_PeerDialogs.md) +$MadelineProto->[messages->getPinnedDialogs](messages.getPinnedDialogs.md)(\['folder_id' => [int](../types/int.md), \]) === [$messages.PeerDialogs](../types/messages.PeerDialogs.md) ***

@@ -912,27 +912,27 @@ $MadelineProto->[messages->getPollResults](messages.getPollResults.md)(\['peer' ***

-$MadelineProto->[messages->getRecentLocations](messages.getRecentLocations.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'limit' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->getRecentLocations](messages.getRecentLocations.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'limit' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[messages->getRecentStickers](messages.getRecentStickers.md)(\['attached' => [Bool](../types/Bool.md), 'hash' => [int](../types/int.md), \]) === [$messages\_RecentStickers](../types/messages_RecentStickers.md) +$MadelineProto->[messages->getRecentStickers](messages.getRecentStickers.md)(\['attached' => [Bool](../types/Bool.md), 'hash' => [int](../types/int.md), \]) === [$messages.RecentStickers](../types/messages.RecentStickers.md) ***

-$MadelineProto->[messages->getSavedGifs](messages.getSavedGifs.md)(\['hash' => [int](../types/int.md), \]) === [$messages\_SavedGifs](../types/messages_SavedGifs.md) +$MadelineProto->[messages->getSavedGifs](messages.getSavedGifs.md)(\['hash' => [int](../types/int.md), \]) === [$messages.SavedGifs](../types/messages.SavedGifs.md) ***

-$MadelineProto->[messages->getScheduledHistory](messages.getScheduledHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'hash' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->getScheduledHistory](messages.getScheduledHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'hash' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[messages->getScheduledMessages](messages.getScheduledMessages.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->getScheduledMessages](messages.getScheduledMessages.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[messages->getSearchCounters](messages.getSearchCounters.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'filters' => \[[MessagesFilter](../types/MessagesFilter.md)\], \]) === [$Vector\_of\_messages\_SearchCounter](../types/messages_SearchCounter.md) +$MadelineProto->[messages->getSearchCounters](messages.getSearchCounters.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'filters' => \[[MessagesFilter](../types/MessagesFilter.md)\], \]) === [$Vector\_of\_messages.SearchCounter](../types/messages.SearchCounter.md) ***

@@ -944,15 +944,15 @@ $MadelineProto->[messages->getStatsURL](messages.getStatsURL.md)(\['dark' => [Bo ***

-$MadelineProto->[messages->getStickerSet](messages.getStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), \]) === [$messages\_StickerSet](../types/messages_StickerSet.md) +$MadelineProto->[messages->getStickerSet](messages.getStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), \]) === [$messages.StickerSet](../types/messages.StickerSet.md) ***

-$MadelineProto->[messages->getStickers](messages.getStickers.md)(\['emoticon' => [string](../types/string.md), 'hash' => [int](../types/int.md), \]) === [$messages\_Stickers](../types/messages_Stickers.md) +$MadelineProto->[messages->getStickers](messages.getStickers.md)(\['emoticon' => [string](../types/string.md), 'hash' => [int](../types/int.md), \]) === [$messages.Stickers](../types/messages.Stickers.md) ***

-$MadelineProto->[messages->getUnreadMentions](messages.getUnreadMentions.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->getUnreadMentions](messages.getUnreadMentions.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

@@ -972,7 +972,7 @@ $MadelineProto->[messages->importChatInvite](messages.importChatInvite.md)(\['ha ***

-$MadelineProto->[messages->installStickerSet](messages.installStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), 'archived' => [Bool](../types/Bool.md), \]) === [$messages\_StickerSetInstallResult](../types/messages_StickerSetInstallResult.md) +$MadelineProto->[messages->installStickerSet](messages.installStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), 'archived' => [Bool](../types/Bool.md), \]) === [$messages.StickerSetInstallResult](../types/messages.StickerSetInstallResult.md) ***

@@ -992,15 +992,15 @@ $MadelineProto->[messages->readFeaturedStickers](messages.readFeaturedStickers.m ***

-$MadelineProto->[messages->readHistory](messages.readHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), \]) === [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) +$MadelineProto->[messages->readHistory](messages.readHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), \]) === [$messages.AffectedMessages](../types/messages.AffectedMessages.md) ***

-$MadelineProto->[messages->readMentions](messages.readMentions.md)(\['peer' => [InputPeer](../types/InputPeer.md), \]) === [$messages\_AffectedHistory](../types/messages_AffectedHistory.md) +$MadelineProto->[messages->readMentions](messages.readMentions.md)(\['peer' => [InputPeer](../types/InputPeer.md), \]) === [$messages.AffectedHistory](../types/messages.AffectedHistory.md) ***

-$MadelineProto->[messages->readMessageContents](messages.readMessageContents.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) +$MadelineProto->[messages->readMessageContents](messages.readMessageContents.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages.AffectedMessages](../types/messages.AffectedMessages.md) ***

@@ -1052,31 +1052,31 @@ $MadelineProto->[messages->saveRecentSticker](messages.saveRecentSticker.md)(\[' ***

-$MadelineProto->[messages->search](messages.search.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'q' => [string](../types/string.md), 'from_id' => [InputUser](../types/InputUser.md), 'filter' => [MessagesFilter](../types/MessagesFilter.md), 'min_date' => [int](../types/int.md), 'max_date' => [int](../types/int.md), 'offset_id' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->search](messages.search.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'q' => [string](../types/string.md), 'from_id' => [InputUser](../types/InputUser.md), 'filter' => [MessagesFilter](../types/MessagesFilter.md), 'min_date' => [int](../types/int.md), 'max_date' => [int](../types/int.md), 'offset_id' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[messages->searchGifs](messages.searchGifs.md)(\['q' => [string](../types/string.md), 'offset' => [int](../types/int.md), \]) === [$messages\_FoundGifs](../types/messages_FoundGifs.md) +$MadelineProto->[messages->searchGifs](messages.searchGifs.md)(\['q' => [string](../types/string.md), 'offset' => [int](../types/int.md), \]) === [$messages.FoundGifs](../types/messages.FoundGifs.md) ***

-$MadelineProto->[messages->searchGlobal](messages.searchGlobal.md)(\['folder_id' => [int](../types/int.md), 'q' => [string](../types/string.md), 'offset_rate' => [int](../types/int.md), 'offset_peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->searchGlobal](messages.searchGlobal.md)(\['folder_id' => [int](../types/int.md), 'q' => [string](../types/string.md), 'offset_rate' => [int](../types/int.md), 'offset_peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[messages->searchStickerSets](messages.searchStickerSets.md)(\['exclude_featured' => [Bool](../types/Bool.md), 'q' => [string](../types/string.md), 'hash' => [int](../types/int.md), \]) === [$messages\_FoundStickerSets](../types/messages_FoundStickerSets.md) +$MadelineProto->[messages->searchStickerSets](messages.searchStickerSets.md)(\['exclude_featured' => [Bool](../types/Bool.md), 'q' => [string](../types/string.md), 'hash' => [int](../types/int.md), \]) === [$messages.FoundStickerSets](../types/messages.FoundStickerSets.md) ***

-$MadelineProto->[messages->sendEncrypted](messages.sendEncrypted.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'message' => [DecryptedMessage](../types/DecryptedMessage.md), \]) === [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +$MadelineProto->[messages->sendEncrypted](messages.sendEncrypted.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), \]) === [$messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ***

-$MadelineProto->[messages->sendEncryptedFile](messages.sendEncryptedFile.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'message' => [DecryptedMessage](../types/DecryptedMessage.md), 'file' => [InputEncryptedFile](../types/InputEncryptedFile.md), \]) === [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +$MadelineProto->[messages->sendEncryptedFile](messages.sendEncryptedFile.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), 'file' => [InputEncryptedFile](../types/InputEncryptedFile.md), \]) === [$messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ***

-$MadelineProto->[messages->sendEncryptedService](messages.sendEncryptedService.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'message' => [DecryptedMessage](../types/DecryptedMessage.md), \]) === [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +$MadelineProto->[messages->sendEncryptedService](messages.sendEncryptedService.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), \]) === [$messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ***

@@ -1168,31 +1168,31 @@ $MadelineProto->[payments->clearSavedInfo](payments.clearSavedInfo.md)(\['creden ***

-$MadelineProto->[payments->getPaymentForm](payments.getPaymentForm.md)(\['msg_id' => [int](../types/int.md), \]) === [$payments\_PaymentForm](../types/payments_PaymentForm.md) +$MadelineProto->[payments->getPaymentForm](payments.getPaymentForm.md)(\['msg_id' => [int](../types/int.md), \]) === [$payments.PaymentForm](../types/payments.PaymentForm.md) ***

-$MadelineProto->[payments->getPaymentReceipt](payments.getPaymentReceipt.md)(\['msg_id' => [int](../types/int.md), \]) === [$payments\_PaymentReceipt](../types/payments_PaymentReceipt.md) +$MadelineProto->[payments->getPaymentReceipt](payments.getPaymentReceipt.md)(\['msg_id' => [int](../types/int.md), \]) === [$payments.PaymentReceipt](../types/payments.PaymentReceipt.md) ***

-$MadelineProto->[payments->getSavedInfo](payments.getSavedInfo.md)(\[\]) === [$payments\_SavedInfo](../types/payments_SavedInfo.md) +$MadelineProto->[payments->getSavedInfo](payments.getSavedInfo.md)(\[\]) === [$payments.SavedInfo](../types/payments.SavedInfo.md) ***

-$MadelineProto->[payments->sendPaymentForm](payments.sendPaymentForm.md)(\['msg_id' => [int](../types/int.md), 'requested_info_id' => [string](../types/string.md), 'shipping_option_id' => [string](../types/string.md), 'credentials' => [InputPaymentCredentials](../types/InputPaymentCredentials.md), \]) === [$payments\_PaymentResult](../types/payments_PaymentResult.md) +$MadelineProto->[payments->sendPaymentForm](payments.sendPaymentForm.md)(\['msg_id' => [int](../types/int.md), 'requested_info_id' => [string](../types/string.md), 'shipping_option_id' => [string](../types/string.md), 'credentials' => [InputPaymentCredentials](../types/InputPaymentCredentials.md), \]) === [$payments.PaymentResult](../types/payments.PaymentResult.md) ***

-$MadelineProto->[payments->validateRequestedInfo](payments.validateRequestedInfo.md)(\['save' => [Bool](../types/Bool.md), 'msg_id' => [int](../types/int.md), 'info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), \]) === [$payments\_ValidatedRequestedInfo](../types/payments_ValidatedRequestedInfo.md) +$MadelineProto->[payments->validateRequestedInfo](payments.validateRequestedInfo.md)(\['save' => [Bool](../types/Bool.md), 'msg_id' => [int](../types/int.md), 'info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), \]) === [$payments.ValidatedRequestedInfo](../types/payments.ValidatedRequestedInfo.md) ***

-$MadelineProto->[phone->acceptCall](phone.acceptCall.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'g_b' => [bytes](../types/bytes.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone\_PhoneCall](../types/phone_PhoneCall.md) +$MadelineProto->[phone->acceptCall](phone.acceptCall.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'g_b' => [bytes](../types/bytes.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone.PhoneCall](../types/phone.PhoneCall.md) ***

-$MadelineProto->[phone->confirmCall](phone.confirmCall.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'g_a' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone\_PhoneCall](../types/phone_PhoneCall.md) +$MadelineProto->[phone->confirmCall](phone.confirmCall.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'g_a' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone.PhoneCall](../types/phone.PhoneCall.md) ***

@@ -1208,7 +1208,7 @@ $MadelineProto->[phone->receivedCall](phone.receivedCall.md)(\['peer' => [InputP ***

-$MadelineProto->[phone->requestCall](phone.requestCall.md)(\['video' => [Bool](../types/Bool.md), 'user_id' => [InputUser](../types/InputUser.md), 'g_a_hash' => [bytes](../types/bytes.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone\_PhoneCall](../types/phone_PhoneCall.md) +$MadelineProto->[phone->requestCall](phone.requestCall.md)(\['video' => [Bool](../types/Bool.md), 'user_id' => [InputUser](../types/InputUser.md), 'g_a_hash' => [bytes](../types/bytes.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone.PhoneCall](../types/phone.PhoneCall.md) ***

@@ -1224,7 +1224,7 @@ $MadelineProto->[photos->deletePhotos](photos.deletePhotos.md)(\['id' => \[[Inpu ***

-$MadelineProto->[photos->getUserPhotos](photos.getUserPhotos.md)(\['user_id' => [InputUser](../types/InputUser.md), 'offset' => [int](../types/int.md), 'max_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$photos\_Photos](../types/photos_Photos.md) +$MadelineProto->[photos->getUserPhotos](photos.getUserPhotos.md)(\['user_id' => [InputUser](../types/InputUser.md), 'offset' => [int](../types/int.md), 'max_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$photos.Photos](../types/photos.Photos.md) ***

@@ -1232,39 +1232,39 @@ $MadelineProto->[photos->updateProfilePhoto](photos.updateProfilePhoto.md)(\['id ***

-$MadelineProto->[photos->uploadProfilePhoto](photos.uploadProfilePhoto.md)(\['file' => [InputFile](../types/InputFile.md), \]) === [$photos\_Photo](../types/photos_Photo.md) +$MadelineProto->[photos->uploadProfilePhoto](photos.uploadProfilePhoto.md)(\['file' => [InputFile](../types/InputFile.md), \]) === [$photos.Photo](../types/photos.Photo.md) ***

-$MadelineProto->[stickers->addStickerToSet](stickers.addStickerToSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), 'sticker' => [InputStickerSetItem](../types/InputStickerSetItem.md), \]) === [$messages\_StickerSet](../types/messages_StickerSet.md) +$MadelineProto->[stickers->addStickerToSet](stickers.addStickerToSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), 'sticker' => [InputStickerSetItem](../types/InputStickerSetItem.md), \]) === [$messages.StickerSet](../types/messages.StickerSet.md) ***

-$MadelineProto->[stickers->changeStickerPosition](stickers.changeStickerPosition.md)(\['sticker' => [InputDocument](../types/InputDocument.md), 'position' => [int](../types/int.md), \]) === [$messages\_StickerSet](../types/messages_StickerSet.md) +$MadelineProto->[stickers->changeStickerPosition](stickers.changeStickerPosition.md)(\['sticker' => [InputDocument](../types/InputDocument.md), 'position' => [int](../types/int.md), \]) === [$messages.StickerSet](../types/messages.StickerSet.md) ***

-$MadelineProto->[stickers->createStickerSet](stickers.createStickerSet.md)(\['masks' => [Bool](../types/Bool.md), 'user_id' => [InputUser](../types/InputUser.md), 'title' => [string](../types/string.md), 'short_name' => [string](../types/string.md), 'stickers' => \[[InputStickerSetItem](../types/InputStickerSetItem.md)\], \]) === [$messages\_StickerSet](../types/messages_StickerSet.md) +$MadelineProto->[stickers->createStickerSet](stickers.createStickerSet.md)(\['masks' => [Bool](../types/Bool.md), 'user_id' => [InputUser](../types/InputUser.md), 'title' => [string](../types/string.md), 'short_name' => [string](../types/string.md), 'stickers' => \[[InputStickerSetItem](../types/InputStickerSetItem.md)\], \]) === [$messages.StickerSet](../types/messages.StickerSet.md) ***

-$MadelineProto->[stickers->removeStickerFromSet](stickers.removeStickerFromSet.md)(\['sticker' => [InputDocument](../types/InputDocument.md), \]) === [$messages\_StickerSet](../types/messages_StickerSet.md) +$MadelineProto->[stickers->removeStickerFromSet](stickers.removeStickerFromSet.md)(\['sticker' => [InputDocument](../types/InputDocument.md), \]) === [$messages.StickerSet](../types/messages.StickerSet.md) ***

-$MadelineProto->[updates->getChannelDifference](updates.getChannelDifference.md)(\['force' => [Bool](../types/Bool.md), 'channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$updates\_ChannelDifference](../types/updates_ChannelDifference.md) +$MadelineProto->[updates->getChannelDifference](updates.getChannelDifference.md)(\['force' => [Bool](../types/Bool.md), 'channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$updates.ChannelDifference](../types/updates.ChannelDifference.md) ***

-$MadelineProto->[updates->getDifference](updates.getDifference.md)(\['pts' => [int](../types/int.md), 'pts_total_limit' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) === [$updates\_Difference](../types/updates_Difference.md) +$MadelineProto->[updates->getDifference](updates.getDifference.md)(\['pts' => [int](../types/int.md), 'pts_total_limit' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) === [$updates.Difference](../types/updates.Difference.md) ***

-$MadelineProto->[updates->getState](updates.getState.md)(\[\]) === [$updates\_State](../types/updates_State.md) +$MadelineProto->[updates->getState](updates.getState.md)(\[\]) === [$updates.State](../types/updates.State.md) ***

-$MadelineProto->[upload->getCdnFile](upload.getCdnFile.md)(\['file_token' => [bytes](../types/bytes.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_CdnFile](../types/upload_CdnFile.md) +$MadelineProto->[upload->getCdnFile](upload.getCdnFile.md)(\['file_token' => [bytes](../types/bytes.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload.CdnFile](../types/upload.CdnFile.md) ***

@@ -1272,7 +1272,7 @@ $MadelineProto->[upload->getCdnFileHashes](upload.getCdnFileHashes.md)(\['file_t ***

-$MadelineProto->[upload->getFile](upload.getFile.md)(\['precise' => [Bool](../types/Bool.md), 'location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_File](../types/upload_File.md) +$MadelineProto->[upload->getFile](upload.getFile.md)(\['precise' => [Bool](../types/Bool.md), 'location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload.File](../types/upload.File.md) ***

@@ -1280,7 +1280,7 @@ $MadelineProto->[upload->getFileHashes](upload.getFileHashes.md)(\['location' => ***

-$MadelineProto->[upload->getWebFile](upload.getWebFile.md)(\['location' => [InputWebFileLocation](../types/InputWebFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_WebFile](../types/upload_WebFile.md) +$MadelineProto->[upload->getWebFile](upload.getWebFile.md)(\['location' => [InputWebFileLocation](../types/InputWebFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload.WebFile](../types/upload.WebFile.md) ***

diff --git a/old_docs/API_docs_v105/methods/auth.checkPassword.md b/old_docs/API_docs_v105/methods/auth.checkPassword.md index ad2a88a2..510e6c03 100644 --- a/old_docs/API_docs_v105/methods/auth.checkPassword.md +++ b/old_docs/API_docs_v105/methods/auth.checkPassword.md @@ -16,7 +16,7 @@ You cannot use this method directly, use the complete_2fa_login method instead ( |password|[InputCheckPasswordSRP](../types/InputCheckPasswordSRP.md) | You cannot use this method directly, use the complete_2fa_login method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->checkPassword(['password' => InputCheckPasswordSRP, ]); +$auth.Authorization = $MadelineProto->auth->checkPassword(['password' => InputCheckPasswordSRP, ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.checkPassword({password=InputCheckPasswordSRP, }) +auth.Authorization = auth.checkPassword({password=InputCheckPasswordSRP, }) ``` ### Errors diff --git a/old_docs/API_docs_v105/methods/auth.exportAuthorization.md b/old_docs/API_docs_v105/methods/auth.exportAuthorization.md index 72063a2b..41a1f87d 100644 --- a/old_docs/API_docs_v105/methods/auth.exportAuthorization.md +++ b/old_docs/API_docs_v105/methods/auth.exportAuthorization.md @@ -16,7 +16,7 @@ You cannot use this method directly, use $MadelineProto->exportAuthorization() i |dc\_id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| -### Return type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) +### Return type: [auth.ExportedAuthorization](../types/auth.ExportedAuthorization.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_ExportedAuthorization = $MadelineProto->auth->exportAuthorization(['dc_id' => int, ]); +$auth.ExportedAuthorization = $MadelineProto->auth->exportAuthorization(['dc_id' => int, ]); ``` Or, if you're into Lua: ```lua -auth_ExportedAuthorization = auth.exportAuthorization({dc_id=int, }) +auth.ExportedAuthorization = auth.exportAuthorization({dc_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v105/methods/auth.importAuthorization.md b/old_docs/API_docs_v105/methods/auth.importAuthorization.md index d9c13751..5257e0b0 100644 --- a/old_docs/API_docs_v105/methods/auth.importAuthorization.md +++ b/old_docs/API_docs_v105/methods/auth.importAuthorization.md @@ -17,7 +17,7 @@ You cannot use this method directly, use $MadelineProto->importAuthorization($au |bytes|[bytes](../types/bytes.md) | You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => 'bytes', ]); +$auth.Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.importAuthorization({id=int, bytes='bytes', }) +auth.Authorization = auth.importAuthorization({id=int, bytes='bytes', }) ``` ### Errors diff --git a/old_docs/API_docs_v105/methods/auth.importBotAuthorization.md b/old_docs/API_docs_v105/methods/auth.importBotAuthorization.md index 3161d6be..a4ea8027 100644 --- a/old_docs/API_docs_v105/methods/auth.importBotAuthorization.md +++ b/old_docs/API_docs_v105/methods/auth.importBotAuthorization.md @@ -18,7 +18,7 @@ You cannot use this method directly, use the botLogin method instead (see https: |bot\_auth\_token|[string](../types/string.md) | You cannot use this method directly, use the botLogin method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **YES** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->importBotAuthorization(['api_id' => int, 'api_hash' => 'string', 'bot_auth_token' => 'string', ]); +$auth.Authorization = $MadelineProto->auth->importBotAuthorization(['api_id' => int, 'api_hash' => 'string', 'bot_auth_token' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.importBotAuthorization({api_id=int, api_hash='string', bot_auth_token='string', }) +auth.Authorization = auth.importBotAuthorization({api_id=int, api_hash='string', bot_auth_token='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v105/methods/auth.recoverPassword.md b/old_docs/API_docs_v105/methods/auth.recoverPassword.md index f7cbf4a4..2e78444b 100644 --- a/old_docs/API_docs_v105/methods/auth.recoverPassword.md +++ b/old_docs/API_docs_v105/methods/auth.recoverPassword.md @@ -16,7 +16,7 @@ Reset the [2FA password](https://core.telegram.org/api/srp) using the recovery c |code|[string](../types/string.md) | Code received via email | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->recoverPassword(['code' => 'string', ]); +$auth.Authorization = $MadelineProto->auth->recoverPassword(['code' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.recoverPassword({code='string', }) +auth.Authorization = auth.recoverPassword({code='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v105/methods/auth.requestPasswordRecovery.md b/old_docs/API_docs_v105/methods/auth.requestPasswordRecovery.md index 5cd77936..ff1ecc02 100644 --- a/old_docs/API_docs_v105/methods/auth.requestPasswordRecovery.md +++ b/old_docs/API_docs_v105/methods/auth.requestPasswordRecovery.md @@ -11,7 +11,7 @@ Request recovery code of a [2FA password](https://core.telegram.org/api/srp), on -### Return type: [auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) +### Return type: [auth.PasswordRecovery](../types/auth.PasswordRecovery.md) ### Can bots use this method: **NO** @@ -28,13 +28,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_PasswordRecovery = $MadelineProto->auth->requestPasswordRecovery(); +$auth.PasswordRecovery = $MadelineProto->auth->requestPasswordRecovery(); ``` Or, if you're into Lua: ```lua -auth_PasswordRecovery = auth.requestPasswordRecovery({}) +auth.PasswordRecovery = auth.requestPasswordRecovery({}) ``` ### Errors diff --git a/old_docs/API_docs_v105/methods/auth.resendCode.md b/old_docs/API_docs_v105/methods/auth.resendCode.md index a395a91b..f59f1b7b 100644 --- a/old_docs/API_docs_v105/methods/auth.resendCode.md +++ b/old_docs/API_docs_v105/methods/auth.resendCode.md @@ -17,7 +17,7 @@ Resend the login code via another medium, the phone code type is determined by t |phone\_code\_hash|[string](../types/string.md) | The phone code hash obtained from [auth.sendCode](../methods/auth.sendCode.md) | Yes| -### Return type: [auth\_SentCode](../types/auth_SentCode.md) +### Return type: [auth.SentCode](../types/auth.SentCode.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_SentCode = $MadelineProto->auth->resendCode(['phone_number' => 'string', 'phone_code_hash' => 'string', ]); +$auth.SentCode = $MadelineProto->auth->resendCode(['phone_number' => 'string', 'phone_code_hash' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_SentCode = auth.resendCode({phone_number='string', phone_code_hash='string', }) +auth.SentCode = auth.resendCode({phone_number='string', phone_code_hash='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v105/methods/auth.sendCode.md b/old_docs/API_docs_v105/methods/auth.sendCode.md index be14f1bf..cb94998f 100644 --- a/old_docs/API_docs_v105/methods/auth.sendCode.md +++ b/old_docs/API_docs_v105/methods/auth.sendCode.md @@ -19,7 +19,7 @@ You cannot use this method directly, use the phoneLogin method instead (see http |settings|[CodeSettings](../types/CodeSettings.md) | You cannot use this method directly, use the phoneLogin method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_SentCode](../types/auth_SentCode.md) +### Return type: [auth.SentCode](../types/auth.SentCode.md) ### Can bots use this method: **NO** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_SentCode = $MadelineProto->auth->sendCode(['phone_number' => 'string', 'api_id' => int, 'api_hash' => 'string', 'settings' => CodeSettings, ]); +$auth.SentCode = $MadelineProto->auth->sendCode(['phone_number' => 'string', 'api_id' => int, 'api_hash' => 'string', 'settings' => CodeSettings, ]); ``` Or, if you're into Lua: ```lua -auth_SentCode = auth.sendCode({phone_number='string', api_id=int, api_hash='string', settings=CodeSettings, }) +auth.SentCode = auth.sendCode({phone_number='string', api_id=int, api_hash='string', settings=CodeSettings, }) ``` ### Errors diff --git a/old_docs/API_docs_v105/methods/auth.signIn.md b/old_docs/API_docs_v105/methods/auth.signIn.md index 54812a2e..95b14f32 100644 --- a/old_docs/API_docs_v105/methods/auth.signIn.md +++ b/old_docs/API_docs_v105/methods/auth.signIn.md @@ -18,7 +18,7 @@ You cannot use this method directly, use the completePhoneLogin method instead ( |phone\_code|[string](../types/string.md) | You cannot use this method directly, use the completePhoneLogin method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->signIn(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', ]); +$auth.Authorization = $MadelineProto->auth->signIn(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.signIn({phone_number='string', phone_code_hash='string', phone_code='string', }) +auth.Authorization = auth.signIn({phone_number='string', phone_code_hash='string', phone_code='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v105/methods/auth.signUp.md b/old_docs/API_docs_v105/methods/auth.signUp.md index 4d327eb6..d024c14b 100644 --- a/old_docs/API_docs_v105/methods/auth.signUp.md +++ b/old_docs/API_docs_v105/methods/auth.signUp.md @@ -19,7 +19,7 @@ You cannot use this method directly, use the completeSignup method instead (see |last\_name|[string](../types/string.md) | You cannot use this method directly, use the completeSignup method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **NO** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->signUp(['phone_number' => 'string', 'phone_code_hash' => 'string', 'first_name' => 'string', 'last_name' => 'string', ]); +$auth.Authorization = $MadelineProto->auth->signUp(['phone_number' => 'string', 'phone_code_hash' => 'string', 'first_name' => 'string', 'last_name' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.signUp({phone_number='string', phone_code_hash='string', first_name='string', last_name='string', }) +auth.Authorization = auth.signUp({phone_number='string', phone_code_hash='string', first_name='string', last_name='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v105/methods/channels.deleteMessages.md b/old_docs/API_docs_v105/methods/channels.deleteMessages.md index 10a439fb..8583e560 100644 --- a/old_docs/API_docs_v105/methods/channels.deleteMessages.md +++ b/old_docs/API_docs_v105/methods/channels.deleteMessages.md @@ -17,7 +17,7 @@ Delete messages in a [channel/supergroup](https://core.telegram.org/api/channel) |id|Array of [int](../types/int.md) | The IDs of messages to delete | Yes| -### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) +### Return type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedMessages = $MadelineProto->channels->deleteMessages(['channel' => InputChannel, 'id' => [int, int], ]); +$messages.AffectedMessages = $MadelineProto->channels->deleteMessages(['channel' => InputChannel, 'id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AffectedMessages = channels.deleteMessages({channel=InputChannel, id={int}, }) +messages.AffectedMessages = channels.deleteMessages({channel=InputChannel, id={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v105/methods/channels.deleteUserHistory.md b/old_docs/API_docs_v105/methods/channels.deleteUserHistory.md index 9b8b159f..6ccaf7dd 100644 --- a/old_docs/API_docs_v105/methods/channels.deleteUserHistory.md +++ b/old_docs/API_docs_v105/methods/channels.deleteUserHistory.md @@ -17,7 +17,7 @@ Delete all messages sent by a certain user in a [supergroup](https://core.telegr |user\_id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | User whose messages should be deleted | Optional| -### Return type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) +### Return type: [messages.AffectedHistory](../types/messages.AffectedHistory.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedHistory = $MadelineProto->channels->deleteUserHistory(['channel' => InputChannel, 'user_id' => InputUser, ]); +$messages.AffectedHistory = $MadelineProto->channels->deleteUserHistory(['channel' => InputChannel, 'user_id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -messages_AffectedHistory = channels.deleteUserHistory({channel=InputChannel, user_id=InputUser, }) +messages.AffectedHistory = channels.deleteUserHistory({channel=InputChannel, user_id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v105/methods/channels.getAdminLog.md b/old_docs/API_docs_v105/methods/channels.getAdminLog.md index e149f653..3b550a73 100644 --- a/old_docs/API_docs_v105/methods/channels.getAdminLog.md +++ b/old_docs/API_docs_v105/methods/channels.getAdminLog.md @@ -22,7 +22,7 @@ Get the admin log of a [channel/supergroup](https://core.telegram.org/api/channe |limit|[int](../types/int.md) | Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets) | Yes| -### Return type: [channels\_AdminLogResults](../types/channels_AdminLogResults.md) +### Return type: [channels.AdminLogResults](../types/channels.AdminLogResults.md) ### Can bots use this method: **NO** @@ -39,13 +39,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$channels_AdminLogResults = $MadelineProto->channels->getAdminLog(['channel' => InputChannel, 'q' => 'string', 'events_filter' => ChannelAdminLogEventsFilter, 'admins' => [InputUser, InputUser], 'max_id' => long, 'min_id' => long, 'limit' => int, ]); +$channels.AdminLogResults = $MadelineProto->channels->getAdminLog(['channel' => InputChannel, 'q' => 'string', 'events_filter' => ChannelAdminLogEventsFilter, 'admins' => [InputUser, InputUser], 'max_id' => long, 'min_id' => long, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -channels_AdminLogResults = channels.getAdminLog({channel=InputChannel, q='string', events_filter=ChannelAdminLogEventsFilter, admins={InputUser}, max_id=long, min_id=long, limit=int, }) +channels.AdminLogResults = channels.getAdminLog({channel=InputChannel, q='string', events_filter=ChannelAdminLogEventsFilter, admins={InputUser}, max_id=long, min_id=long, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v105/methods/channels.getAdminedPublicChannels.md b/old_docs/API_docs_v105/methods/channels.getAdminedPublicChannels.md index 1b358432..de834403 100644 --- a/old_docs/API_docs_v105/methods/channels.getAdminedPublicChannels.md +++ b/old_docs/API_docs_v105/methods/channels.getAdminedPublicChannels.md @@ -17,7 +17,7 @@ Get [channels/supergroups/geogroups](https://core.telegram.org/api/channel) we'r |check\_limit|[Bool](../types/Bool.md) | If set and the user has reached the limit of owned public [channels/supergroups/geogroups](https://core.telegram.org/api/channel), instead of returning the channel list one of the specified [errors](#possible-errors) will be returned.
Useful to check if a new public channel can indeed be created, even before asking the user to enter a channel username to use in [channels.checkUsername](../methods/channels.checkUsername.md)/[channels.updateUsername](../methods/channels.updateUsername.md). | Optional| -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **NO** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->channels->getAdminedPublicChannels(['by_location' => Bool, 'check_limit' => Bool, ]); +$messages.Chats = $MadelineProto->channels->getAdminedPublicChannels(['by_location' => Bool, 'check_limit' => Bool, ]); ``` Or, if you're into Lua: ```lua -messages_Chats = channels.getAdminedPublicChannels({by_location=Bool, check_limit=Bool, }) +messages.Chats = channels.getAdminedPublicChannels({by_location=Bool, check_limit=Bool, }) ``` diff --git a/old_docs/API_docs_v105/methods/channels.getChannels.md b/old_docs/API_docs_v105/methods/channels.getChannels.md index 368c96ce..ed9cf4a7 100644 --- a/old_docs/API_docs_v105/methods/channels.getChannels.md +++ b/old_docs/API_docs_v105/methods/channels.getChannels.md @@ -16,7 +16,7 @@ Get info about [channels/supergroups](https://core.telegram.org/api/channel) |id|Array of [Username, chat ID, Update, Message or InputChannel](../types/InputChannel.md) | The channel/supergroup MTProto IDs | Yes| -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->channels->getChannels(['id' => [InputChannel, InputChannel], ]); +$messages.Chats = $MadelineProto->channels->getChannels(['id' => [InputChannel, InputChannel], ]); ``` Or, if you're into Lua: ```lua -messages_Chats = channels.getChannels({id={InputChannel}, }) +messages.Chats = channels.getChannels({id={InputChannel}, }) ``` ### Errors diff --git a/old_docs/API_docs_v105/methods/channels.getFullChannel.md b/old_docs/API_docs_v105/methods/channels.getFullChannel.md index 08dc21bb..1369e0a0 100644 --- a/old_docs/API_docs_v105/methods/channels.getFullChannel.md +++ b/old_docs/API_docs_v105/methods/channels.getFullChannel.md @@ -16,7 +16,7 @@ You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo me |channel|[Username, chat ID, Update, Message or InputChannel](../types/InputChannel.md) | You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo methods instead (see https://docs.madelineproto.xyz for more info) | Optional| -### Return type: [messages\_ChatFull](../types/messages_ChatFull.md) +### Return type: [messages.ChatFull](../types/messages.ChatFull.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_ChatFull = $MadelineProto->channels->getFullChannel(['channel' => InputChannel, ]); +$messages.ChatFull = $MadelineProto->channels->getFullChannel(['channel' => InputChannel, ]); ``` Or, if you're into Lua: ```lua -messages_ChatFull = channels.getFullChannel({channel=InputChannel, }) +messages.ChatFull = channels.getFullChannel({channel=InputChannel, }) ``` ### Errors diff --git a/old_docs/API_docs_v105/methods/channels.getGroupsForDiscussion.md b/old_docs/API_docs_v105/methods/channels.getGroupsForDiscussion.md index 810f9aa8..0e97f199 100644 --- a/old_docs/API_docs_v105/methods/channels.getGroupsForDiscussion.md +++ b/old_docs/API_docs_v105/methods/channels.getGroupsForDiscussion.md @@ -11,7 +11,7 @@ Get all groups that can be used as [discussion groups](https://telegram.org/blog -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->channels->getGroupsForDiscussion(); +$messages.Chats = $MadelineProto->channels->getGroupsForDiscussion(); ``` Or, if you're into Lua: ```lua -messages_Chats = channels.getGroupsForDiscussion({}) +messages.Chats = channels.getGroupsForDiscussion({}) ``` diff --git a/old_docs/API_docs_v105/methods/channels.getLeftChannels.md b/old_docs/API_docs_v105/methods/channels.getLeftChannels.md index a5bcda2c..5a132204 100644 --- a/old_docs/API_docs_v105/methods/channels.getLeftChannels.md +++ b/old_docs/API_docs_v105/methods/channels.getLeftChannels.md @@ -16,7 +16,7 @@ Get a list of [channels/supergroups](https://core.telegram.org/api/channel) we l |offset|[int](../types/int.md) | Offset for [pagination](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->channels->getLeftChannels(['offset' => int, ]); +$messages.Chats = $MadelineProto->channels->getLeftChannels(['offset' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Chats = channels.getLeftChannels({offset=int, }) +messages.Chats = channels.getLeftChannels({offset=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v105/methods/channels.getMessages.md b/old_docs/API_docs_v105/methods/channels.getMessages.md index 428734e3..708e404a 100644 --- a/old_docs/API_docs_v105/methods/channels.getMessages.md +++ b/old_docs/API_docs_v105/methods/channels.getMessages.md @@ -17,7 +17,7 @@ Get [channel/supergroup](https://core.telegram.org/api/channel) messages |id|Array of [Message ID or InputMessage](../types/InputMessage.md) | The message IDs | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->channels->getMessages(['channel' => InputChannel, 'id' => [InputMessage, InputMessage], ]); +$messages.Messages = $MadelineProto->channels->getMessages(['channel' => InputChannel, 'id' => [InputMessage, InputMessage], ]); ``` Or, if you're into Lua: ```lua -messages_Messages = channels.getMessages({channel=InputChannel, id={InputMessage}, }) +messages.Messages = channels.getMessages({channel=InputChannel, id={InputMessage}, }) ``` ### Errors diff --git a/old_docs/API_docs_v105/methods/channels.getParticipant.md b/old_docs/API_docs_v105/methods/channels.getParticipant.md index aa2ce655..cf6a7771 100644 --- a/old_docs/API_docs_v105/methods/channels.getParticipant.md +++ b/old_docs/API_docs_v105/methods/channels.getParticipant.md @@ -17,7 +17,7 @@ Get info about a [channel/supergroup](https://core.telegram.org/api/channel) par |user\_id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | ID of participant to get info about | Optional| -### Return type: [channels\_ChannelParticipant](../types/channels_ChannelParticipant.md) +### Return type: [channels.ChannelParticipant](../types/channels.ChannelParticipant.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$channels_ChannelParticipant = $MadelineProto->channels->getParticipant(['channel' => InputChannel, 'user_id' => InputUser, ]); +$channels.ChannelParticipant = $MadelineProto->channels->getParticipant(['channel' => InputChannel, 'user_id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -channels_ChannelParticipant = channels.getParticipant({channel=InputChannel, user_id=InputUser, }) +channels.ChannelParticipant = channels.getParticipant({channel=InputChannel, user_id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v105/methods/channels.getParticipants.md b/old_docs/API_docs_v105/methods/channels.getParticipants.md index dd7e0087..c6b15b63 100644 --- a/old_docs/API_docs_v105/methods/channels.getParticipants.md +++ b/old_docs/API_docs_v105/methods/channels.getParticipants.md @@ -20,7 +20,7 @@ Get the participants of a channel |hash|Array of [int](../types/int.md) | IDs of previously fetched participants | Optional| -### Return type: [channels\_ChannelParticipants](../types/channels_ChannelParticipants.md) +### Return type: [channels.ChannelParticipants](../types/channels.ChannelParticipants.md) ### Can bots use this method: **YES** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$channels_ChannelParticipants = $MadelineProto->channels->getParticipants(['channel' => InputChannel, 'filter' => ChannelParticipantsFilter, 'offset' => int, 'limit' => int, 'hash' => [int, int], ]); +$channels.ChannelParticipants = $MadelineProto->channels->getParticipants(['channel' => InputChannel, 'filter' => ChannelParticipantsFilter, 'offset' => int, 'limit' => int, 'hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -channels_ChannelParticipants = channels.getParticipants({channel=InputChannel, filter=ChannelParticipantsFilter, offset=int, limit=int, hash={int}, }) +channels.ChannelParticipants = channels.getParticipants({channel=InputChannel, filter=ChannelParticipantsFilter, offset=int, limit=int, hash={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v105/methods/contacts.getBlocked.md b/old_docs/API_docs_v105/methods/contacts.getBlocked.md index 92f2f331..6ac1c343 100644 --- a/old_docs/API_docs_v105/methods/contacts.getBlocked.md +++ b/old_docs/API_docs_v105/methods/contacts.getBlocked.md @@ -17,7 +17,7 @@ Returns the list of blocked users. |limit|[int](../types/int.md) | The number of list elements to be returned | Yes| -### Return type: [contacts\_Blocked](../types/contacts_Blocked.md) +### Return type: [contacts.Blocked](../types/contacts.Blocked.md) ### Can bots use this method: **NO** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Blocked = $MadelineProto->contacts->getBlocked(['offset' => int, 'limit' => int, ]); +$contacts.Blocked = $MadelineProto->contacts->getBlocked(['offset' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -contacts_Blocked = contacts.getBlocked({offset=int, limit=int, }) +contacts.Blocked = contacts.getBlocked({offset=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v105/methods/contacts.getContacts.md b/old_docs/API_docs_v105/methods/contacts.getContacts.md index c67e6240..609549b0 100644 --- a/old_docs/API_docs_v105/methods/contacts.getContacts.md +++ b/old_docs/API_docs_v105/methods/contacts.getContacts.md @@ -16,7 +16,7 @@ Returns the current user's contact list. |hash|Array of [int](../types/int.md) | User IDs of previously cached contacts | Optional| -### Return type: [contacts\_Contacts](../types/contacts_Contacts.md) +### Return type: [contacts.Contacts](../types/contacts.Contacts.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Contacts = $MadelineProto->contacts->getContacts(['hash' => [int, int], ]); +$contacts.Contacts = $MadelineProto->contacts->getContacts(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -contacts_Contacts = contacts.getContacts({hash={int}, }) +contacts.Contacts = contacts.getContacts({hash={int}, }) ``` diff --git a/old_docs/API_docs_v105/methods/contacts.getTopPeers.md b/old_docs/API_docs_v105/methods/contacts.getTopPeers.md index 8cb7f245..9957dd2c 100644 --- a/old_docs/API_docs_v105/methods/contacts.getTopPeers.md +++ b/old_docs/API_docs_v105/methods/contacts.getTopPeers.md @@ -26,7 +26,7 @@ Get most used peers |hash|Array of [int](../types/int.md) | Peer IDs of previously cached peers | Optional| -### Return type: [contacts\_TopPeers](../types/contacts_TopPeers.md) +### Return type: [contacts.TopPeers](../types/contacts.TopPeers.md) ### Can bots use this method: **NO** @@ -43,13 +43,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_TopPeers = $MadelineProto->contacts->getTopPeers(['correspondents' => Bool, 'bots_pm' => Bool, 'bots_inline' => Bool, 'phone_calls' => Bool, 'forward_users' => Bool, 'forward_chats' => Bool, 'groups' => Bool, 'channels' => Bool, 'offset' => int, 'limit' => int, 'hash' => [int, int], ]); +$contacts.TopPeers = $MadelineProto->contacts->getTopPeers(['correspondents' => Bool, 'bots_pm' => Bool, 'bots_inline' => Bool, 'phone_calls' => Bool, 'forward_users' => Bool, 'forward_chats' => Bool, 'groups' => Bool, 'channels' => Bool, 'offset' => int, 'limit' => int, 'hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -contacts_TopPeers = contacts.getTopPeers({correspondents=Bool, bots_pm=Bool, bots_inline=Bool, phone_calls=Bool, forward_users=Bool, forward_chats=Bool, groups=Bool, channels=Bool, offset=int, limit=int, hash={int}, }) +contacts.TopPeers = contacts.getTopPeers({correspondents=Bool, bots_pm=Bool, bots_inline=Bool, phone_calls=Bool, forward_users=Bool, forward_chats=Bool, groups=Bool, channels=Bool, offset=int, limit=int, hash={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v105/methods/contacts.importContacts.md b/old_docs/API_docs_v105/methods/contacts.importContacts.md index 7c795780..dbb9b7fa 100644 --- a/old_docs/API_docs_v105/methods/contacts.importContacts.md +++ b/old_docs/API_docs_v105/methods/contacts.importContacts.md @@ -16,7 +16,7 @@ Imports contacts: saves a full list on the server, adds already registered conta |contacts|Array of [InputContact](../types/InputContact.md) | The numbers to import | Yes| -### Return type: [contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) +### Return type: [contacts.ImportedContacts](../types/contacts.ImportedContacts.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_ImportedContacts = $MadelineProto->contacts->importContacts(['contacts' => [InputContact, InputContact], ]); +$contacts.ImportedContacts = $MadelineProto->contacts->importContacts(['contacts' => [InputContact, InputContact], ]); ``` Or, if you're into Lua: ```lua -contacts_ImportedContacts = contacts.importContacts({contacts={InputContact}, }) +contacts.ImportedContacts = contacts.importContacts({contacts={InputContact}, }) ``` diff --git a/old_docs/API_docs_v105/methods/contacts.resolveUsername.md b/old_docs/API_docs_v105/methods/contacts.resolveUsername.md index 05e3d854..46f1eb50 100644 --- a/old_docs/API_docs_v105/methods/contacts.resolveUsername.md +++ b/old_docs/API_docs_v105/methods/contacts.resolveUsername.md @@ -16,7 +16,7 @@ You cannot use this method directly, use the resolveUsername, getPwrChat, getInf |username|[string](../types/string.md) | You cannot use this method directly, use the resolveUsername, getPwrChat, getInfo, getFullInfo methods instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [contacts\_ResolvedPeer](../types/contacts_ResolvedPeer.md) +### Return type: [contacts.ResolvedPeer](../types/contacts.ResolvedPeer.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_ResolvedPeer = $MadelineProto->contacts->resolveUsername(['username' => 'string', ]); +$contacts.ResolvedPeer = $MadelineProto->contacts->resolveUsername(['username' => 'string', ]); ``` Or, if you're into Lua: ```lua -contacts_ResolvedPeer = contacts.resolveUsername({username='string', }) +contacts.ResolvedPeer = contacts.resolveUsername({username='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v105/methods/contacts.search.md b/old_docs/API_docs_v105/methods/contacts.search.md index 2f39d6f1..ec04c7f9 100644 --- a/old_docs/API_docs_v105/methods/contacts.search.md +++ b/old_docs/API_docs_v105/methods/contacts.search.md @@ -17,7 +17,7 @@ Returns users found by username substring. |limit|[int](../types/int.md) | Maximum number of users to be returned | Yes| -### Return type: [contacts\_Found](../types/contacts_Found.md) +### Return type: [contacts.Found](../types/contacts.Found.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Found = $MadelineProto->contacts->search(['q' => 'string', 'limit' => int, ]); +$contacts.Found = $MadelineProto->contacts->search(['q' => 'string', 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -contacts_Found = contacts.search({q='string', limit=int, }) +contacts.Found = contacts.search({q='string', limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v105/methods/help.editUserInfo.md b/old_docs/API_docs_v105/methods/help.editUserInfo.md index 7d49e820..0dd21b80 100644 --- a/old_docs/API_docs_v105/methods/help.editUserInfo.md +++ b/old_docs/API_docs_v105/methods/help.editUserInfo.md @@ -19,7 +19,7 @@ Internal use |parse\_mode| [string](../types/string.md) | Whether to parse HTML or Markdown markup in the message| Optional | -### Return type: [help\_UserInfo](../types/help_UserInfo.md) +### Return type: [help.UserInfo](../types/help.UserInfo.md) ### Can bots use this method: **NO** @@ -36,19 +36,19 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_UserInfo = $MadelineProto->help->editUserInfo(['user_id' => InputUser, 'message' => 'string', 'entities' => [MessageEntity, MessageEntity], 'parse_mode' => 'string', ]); +$help.UserInfo = $MadelineProto->help->editUserInfo(['user_id' => InputUser, 'message' => 'string', 'entities' => [MessageEntity, MessageEntity], 'parse_mode' => 'string', ]); ``` Or, if you're into Lua: ```lua -help_UserInfo = help.editUserInfo({user_id=InputUser, message='string', entities={MessageEntity}, parseMode='string', }) +help.UserInfo = help.editUserInfo({user_id=InputUser, message='string', entities={MessageEntity}, parseMode='string', }) ``` ## Return value -If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [help\_UserInfo](../types/help_UserInfo.md) will be returned instead. +If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [help.UserInfo](../types/help.UserInfo.md) will be returned instead. diff --git a/old_docs/API_docs_v105/methods/help.getAppUpdate.md b/old_docs/API_docs_v105/methods/help.getAppUpdate.md index e744d727..2a81fa8f 100644 --- a/old_docs/API_docs_v105/methods/help.getAppUpdate.md +++ b/old_docs/API_docs_v105/methods/help.getAppUpdate.md @@ -16,7 +16,7 @@ Returns information on update availability for the current application. |source|[string](../types/string.md) | Source | Yes| -### Return type: [help\_AppUpdate](../types/help_AppUpdate.md) +### Return type: [help.AppUpdate](../types/help.AppUpdate.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_AppUpdate = $MadelineProto->help->getAppUpdate(['source' => 'string', ]); +$help.AppUpdate = $MadelineProto->help->getAppUpdate(['source' => 'string', ]); ``` Or, if you're into Lua: ```lua -help_AppUpdate = help.getAppUpdate({source='string', }) +help.AppUpdate = help.getAppUpdate({source='string', }) ``` diff --git a/old_docs/API_docs_v105/methods/help.getDeepLinkInfo.md b/old_docs/API_docs_v105/methods/help.getDeepLinkInfo.md index e3269bbc..e6e7d6b8 100644 --- a/old_docs/API_docs_v105/methods/help.getDeepLinkInfo.md +++ b/old_docs/API_docs_v105/methods/help.getDeepLinkInfo.md @@ -16,7 +16,7 @@ Get info about a `t.me` link |path|[string](../types/string.md) | Path in `t.me/path` | Yes| -### Return type: [help\_DeepLinkInfo](../types/help_DeepLinkInfo.md) +### Return type: [help.DeepLinkInfo](../types/help.DeepLinkInfo.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_DeepLinkInfo = $MadelineProto->help->getDeepLinkInfo(['path' => 'string', ]); +$help.DeepLinkInfo = $MadelineProto->help->getDeepLinkInfo(['path' => 'string', ]); ``` Or, if you're into Lua: ```lua -help_DeepLinkInfo = help.getDeepLinkInfo({path='string', }) +help.DeepLinkInfo = help.getDeepLinkInfo({path='string', }) ``` diff --git a/old_docs/API_docs_v105/methods/help.getInviteText.md b/old_docs/API_docs_v105/methods/help.getInviteText.md index 6fd67362..0d427974 100644 --- a/old_docs/API_docs_v105/methods/help.getInviteText.md +++ b/old_docs/API_docs_v105/methods/help.getInviteText.md @@ -11,7 +11,7 @@ Returns text of a text message with an invitation. -### Return type: [help\_InviteText](../types/help_InviteText.md) +### Return type: [help.InviteText](../types/help.InviteText.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_InviteText = $MadelineProto->help->getInviteText(); +$help.InviteText = $MadelineProto->help->getInviteText(); ``` Or, if you're into Lua: ```lua -help_InviteText = help.getInviteText({}) +help.InviteText = help.getInviteText({}) ``` diff --git a/old_docs/API_docs_v105/methods/help.getPassportConfig.md b/old_docs/API_docs_v105/methods/help.getPassportConfig.md index 3710737d..f71e67b2 100644 --- a/old_docs/API_docs_v105/methods/help.getPassportConfig.md +++ b/old_docs/API_docs_v105/methods/help.getPassportConfig.md @@ -16,7 +16,7 @@ Get [passport](https://core.telegram.org/passport) configuration |hash|Array of [int](../types/int.md) | Hash | Optional| -### Return type: [help\_PassportConfig](../types/help_PassportConfig.md) +### Return type: [help.PassportConfig](../types/help.PassportConfig.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_PassportConfig = $MadelineProto->help->getPassportConfig(['hash' => [int, int], ]); +$help.PassportConfig = $MadelineProto->help->getPassportConfig(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -help_PassportConfig = help.getPassportConfig({hash={int}, }) +help.PassportConfig = help.getPassportConfig({hash={int}, }) ``` diff --git a/old_docs/API_docs_v105/methods/help.getProxyData.md b/old_docs/API_docs_v105/methods/help.getProxyData.md index bbaf4c53..9a0aaa9a 100644 --- a/old_docs/API_docs_v105/methods/help.getProxyData.md +++ b/old_docs/API_docs_v105/methods/help.getProxyData.md @@ -11,7 +11,7 @@ Get promotion info of the currently-used MTProxy -### Return type: [help\_ProxyData](../types/help_ProxyData.md) +### Return type: [help.ProxyData](../types/help.ProxyData.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_ProxyData = $MadelineProto->help->getProxyData(); +$help.ProxyData = $MadelineProto->help->getProxyData(); ``` Or, if you're into Lua: ```lua -help_ProxyData = help.getProxyData({}) +help.ProxyData = help.getProxyData({}) ``` diff --git a/old_docs/API_docs_v105/methods/help.getRecentMeUrls.md b/old_docs/API_docs_v105/methods/help.getRecentMeUrls.md index 38cc44c8..a5ab9e06 100644 --- a/old_docs/API_docs_v105/methods/help.getRecentMeUrls.md +++ b/old_docs/API_docs_v105/methods/help.getRecentMeUrls.md @@ -16,7 +16,7 @@ Get recently used `t.me` links |referer|[string](../types/string.md) | Referer | Yes| -### Return type: [help\_RecentMeUrls](../types/help_RecentMeUrls.md) +### Return type: [help.RecentMeUrls](../types/help.RecentMeUrls.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_RecentMeUrls = $MadelineProto->help->getRecentMeUrls(['referer' => 'string', ]); +$help.RecentMeUrls = $MadelineProto->help->getRecentMeUrls(['referer' => 'string', ]); ``` Or, if you're into Lua: ```lua -help_RecentMeUrls = help.getRecentMeUrls({referer='string', }) +help.RecentMeUrls = help.getRecentMeUrls({referer='string', }) ``` diff --git a/old_docs/API_docs_v105/methods/help.getSupport.md b/old_docs/API_docs_v105/methods/help.getSupport.md index 7a577892..8a8df916 100644 --- a/old_docs/API_docs_v105/methods/help.getSupport.md +++ b/old_docs/API_docs_v105/methods/help.getSupport.md @@ -11,7 +11,7 @@ Returns the support user for the 'ask a question' feature. -### Return type: [help\_Support](../types/help_Support.md) +### Return type: [help.Support](../types/help.Support.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_Support = $MadelineProto->help->getSupport(); +$help.Support = $MadelineProto->help->getSupport(); ``` Or, if you're into Lua: ```lua -help_Support = help.getSupport({}) +help.Support = help.getSupport({}) ``` diff --git a/old_docs/API_docs_v105/methods/help.getSupportName.md b/old_docs/API_docs_v105/methods/help.getSupportName.md index d2b1c93c..fbf9ef52 100644 --- a/old_docs/API_docs_v105/methods/help.getSupportName.md +++ b/old_docs/API_docs_v105/methods/help.getSupportName.md @@ -11,7 +11,7 @@ Get localized name of the telegram support user -### Return type: [help\_SupportName](../types/help_SupportName.md) +### Return type: [help.SupportName](../types/help.SupportName.md) ### Can bots use this method: **NO** @@ -28,13 +28,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_SupportName = $MadelineProto->help->getSupportName(); +$help.SupportName = $MadelineProto->help->getSupportName(); ``` Or, if you're into Lua: ```lua -help_SupportName = help.getSupportName({}) +help.SupportName = help.getSupportName({}) ``` ### Errors diff --git a/old_docs/API_docs_v105/methods/help.getTermsOfServiceUpdate.md b/old_docs/API_docs_v105/methods/help.getTermsOfServiceUpdate.md index 7a8ebd65..636a054b 100644 --- a/old_docs/API_docs_v105/methods/help.getTermsOfServiceUpdate.md +++ b/old_docs/API_docs_v105/methods/help.getTermsOfServiceUpdate.md @@ -11,7 +11,7 @@ Look for updates of telegram's terms of service -### Return type: [help\_TermsOfServiceUpdate](../types/help_TermsOfServiceUpdate.md) +### Return type: [help.TermsOfServiceUpdate](../types/help.TermsOfServiceUpdate.md) ### Can bots use this method: **NO** @@ -28,13 +28,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_TermsOfServiceUpdate = $MadelineProto->help->getTermsOfServiceUpdate(); +$help.TermsOfServiceUpdate = $MadelineProto->help->getTermsOfServiceUpdate(); ``` Or, if you're into Lua: ```lua -help_TermsOfServiceUpdate = help.getTermsOfServiceUpdate({}) +help.TermsOfServiceUpdate = help.getTermsOfServiceUpdate({}) ``` ### Errors diff --git a/old_docs/API_docs_v105/methods/help.getUserInfo.md b/old_docs/API_docs_v105/methods/help.getUserInfo.md index 353429d6..27b65cf7 100644 --- a/old_docs/API_docs_v105/methods/help.getUserInfo.md +++ b/old_docs/API_docs_v105/methods/help.getUserInfo.md @@ -16,7 +16,7 @@ Internal use |user\_id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | User ID | Optional| -### Return type: [help\_UserInfo](../types/help_UserInfo.md) +### Return type: [help.UserInfo](../types/help.UserInfo.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_UserInfo = $MadelineProto->help->getUserInfo(['user_id' => InputUser, ]); +$help.UserInfo = $MadelineProto->help->getUserInfo(['user_id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -help_UserInfo = help.getUserInfo({user_id=InputUser, }) +help.UserInfo = help.getUserInfo({user_id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v105/methods/messages.deleteHistory.md b/old_docs/API_docs_v105/methods/messages.deleteHistory.md index 53ebf056..1d7be654 100644 --- a/old_docs/API_docs_v105/methods/messages.deleteHistory.md +++ b/old_docs/API_docs_v105/methods/messages.deleteHistory.md @@ -19,7 +19,7 @@ Deletes communication history. |max\_id|[int](../types/int.md) | Maximum ID of message to delete | Yes| -### Return type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) +### Return type: [messages.AffectedHistory](../types/messages.AffectedHistory.md) ### Can bots use this method: **NO** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedHistory = $MadelineProto->messages->deleteHistory(['just_clear' => Bool, 'revoke' => Bool, 'peer' => InputPeer, 'max_id' => int, ]); +$messages.AffectedHistory = $MadelineProto->messages->deleteHistory(['just_clear' => Bool, 'revoke' => Bool, 'peer' => InputPeer, 'max_id' => int, ]); ``` Or, if you're into Lua: ```lua -messages_AffectedHistory = messages.deleteHistory({just_clear=Bool, revoke=Bool, peer=InputPeer, max_id=int, }) +messages.AffectedHistory = messages.deleteHistory({just_clear=Bool, revoke=Bool, peer=InputPeer, max_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v105/methods/messages.deleteMessages.md b/old_docs/API_docs_v105/methods/messages.deleteMessages.md index ade04cae..ade96e60 100644 --- a/old_docs/API_docs_v105/methods/messages.deleteMessages.md +++ b/old_docs/API_docs_v105/methods/messages.deleteMessages.md @@ -17,7 +17,7 @@ Deletes messages by their identifiers. |id|Array of [int](../types/int.md) | IDs of messages to delete, use channels->deleteMessages for supergroups | Yes| -### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) +### Return type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedMessages = $MadelineProto->messages->deleteMessages(['revoke' => Bool, 'id' => [int, int], ]); +$messages.AffectedMessages = $MadelineProto->messages->deleteMessages(['revoke' => Bool, 'id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AffectedMessages = messages.deleteMessages({revoke=Bool, id={int}, }) +messages.AffectedMessages = messages.deleteMessages({revoke=Bool, id={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v105/methods/messages.getAllChats.md b/old_docs/API_docs_v105/methods/messages.getAllChats.md index cdcc5430..97cc4817 100644 --- a/old_docs/API_docs_v105/methods/messages.getAllChats.md +++ b/old_docs/API_docs_v105/methods/messages.getAllChats.md @@ -16,7 +16,7 @@ Get all chats, channels and supergroups |except\_ids|Array of [int](../types/int.md) | Do not fetch these chats (MTProto id) | Yes| -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->messages->getAllChats(['except_ids' => [int, int], ]); +$messages.Chats = $MadelineProto->messages->getAllChats(['except_ids' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Chats = messages.getAllChats({except_ids={int}, }) +messages.Chats = messages.getAllChats({except_ids={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v105/methods/messages.getAllStickers.md b/old_docs/API_docs_v105/methods/messages.getAllStickers.md index 329b70be..0f0de7f1 100644 --- a/old_docs/API_docs_v105/methods/messages.getAllStickers.md +++ b/old_docs/API_docs_v105/methods/messages.getAllStickers.md @@ -16,7 +16,7 @@ Get all installed stickers |hash|Array of [int](../types/int.md) | The hash parameter of the previous result of this method | Optional| -### Return type: [messages\_AllStickers](../types/messages_AllStickers.md) +### Return type: [messages.AllStickers](../types/messages.AllStickers.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AllStickers = $MadelineProto->messages->getAllStickers(['hash' => [int, int], ]); +$messages.AllStickers = $MadelineProto->messages->getAllStickers(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AllStickers = messages.getAllStickers({hash={int}, }) +messages.AllStickers = messages.getAllStickers({hash={int}, }) ``` diff --git a/old_docs/API_docs_v105/methods/messages.getArchivedStickers.md b/old_docs/API_docs_v105/methods/messages.getArchivedStickers.md index d3abe9fc..c108376e 100644 --- a/old_docs/API_docs_v105/methods/messages.getArchivedStickers.md +++ b/old_docs/API_docs_v105/methods/messages.getArchivedStickers.md @@ -18,7 +18,7 @@ Get all archived stickers |limit|[int](../types/int.md) | Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_ArchivedStickers](../types/messages_ArchivedStickers.md) +### Return type: [messages.ArchivedStickers](../types/messages.ArchivedStickers.md) ### Can bots use this method: **NO** @@ -35,12 +35,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_ArchivedStickers = $MadelineProto->messages->getArchivedStickers(['masks' => Bool, 'offset_id' => long, 'limit' => int, ]); +$messages.ArchivedStickers = $MadelineProto->messages->getArchivedStickers(['masks' => Bool, 'offset_id' => long, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -messages_ArchivedStickers = messages.getArchivedStickers({masks=Bool, offset_id=long, limit=int, }) +messages.ArchivedStickers = messages.getArchivedStickers({masks=Bool, offset_id=long, limit=int, }) ``` diff --git a/old_docs/API_docs_v105/methods/messages.getBotCallbackAnswer.md b/old_docs/API_docs_v105/methods/messages.getBotCallbackAnswer.md index 015fc46b..10072386 100644 --- a/old_docs/API_docs_v105/methods/messages.getBotCallbackAnswer.md +++ b/old_docs/API_docs_v105/methods/messages.getBotCallbackAnswer.md @@ -19,7 +19,7 @@ Press an inline callback button and get a callback answer from the bot |data|[bytes](../types/bytes.md) | Callback data | Optional| -### Return type: [messages\_BotCallbackAnswer](../types/messages_BotCallbackAnswer.md) +### Return type: [messages.BotCallbackAnswer](../types/messages.BotCallbackAnswer.md) ### Can bots use this method: **NO** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_BotCallbackAnswer = $MadelineProto->messages->getBotCallbackAnswer(['game' => Bool, 'peer' => InputPeer, 'msg_id' => int, 'data' => 'bytes', ]); +$messages.BotCallbackAnswer = $MadelineProto->messages->getBotCallbackAnswer(['game' => Bool, 'peer' => InputPeer, 'msg_id' => int, 'data' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -messages_BotCallbackAnswer = messages.getBotCallbackAnswer({game=Bool, peer=InputPeer, msg_id=int, data='bytes', }) +messages.BotCallbackAnswer = messages.getBotCallbackAnswer({game=Bool, peer=InputPeer, msg_id=int, data='bytes', }) ``` ### Errors diff --git a/old_docs/API_docs_v105/methods/messages.getChats.md b/old_docs/API_docs_v105/methods/messages.getChats.md index c34b0488..146341f5 100644 --- a/old_docs/API_docs_v105/methods/messages.getChats.md +++ b/old_docs/API_docs_v105/methods/messages.getChats.md @@ -16,7 +16,7 @@ Returns chat basic info on their IDs. |id|Array of [int](../types/int.md) | The MTProto IDs of chats to fetch info about | Yes| -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->messages->getChats(['id' => [int, int], ]); +$messages.Chats = $MadelineProto->messages->getChats(['id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Chats = messages.getChats({id={int}, }) +messages.Chats = messages.getChats({id={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v105/methods/messages.getCommonChats.md b/old_docs/API_docs_v105/methods/messages.getCommonChats.md index fc7b2363..56a3ec01 100644 --- a/old_docs/API_docs_v105/methods/messages.getCommonChats.md +++ b/old_docs/API_docs_v105/methods/messages.getCommonChats.md @@ -18,7 +18,7 @@ Get chats in common with a user |limit|[int](../types/int.md) | Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->messages->getCommonChats(['user_id' => InputUser, 'max_id' => int, 'limit' => int, ]); +$messages.Chats = $MadelineProto->messages->getCommonChats(['user_id' => InputUser, 'max_id' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Chats = messages.getCommonChats({user_id=InputUser, max_id=int, limit=int, }) +messages.Chats = messages.getCommonChats({user_id=InputUser, max_id=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v105/methods/messages.getDhConfig.md b/old_docs/API_docs_v105/methods/messages.getDhConfig.md index 88ea4ab3..7b9da566 100644 --- a/old_docs/API_docs_v105/methods/messages.getDhConfig.md +++ b/old_docs/API_docs_v105/methods/messages.getDhConfig.md @@ -17,7 +17,7 @@ You cannot use this method directly, instead use $MadelineProto->getDhConfig(); |random\_length|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->getDhConfig(); | Yes| -### Return type: [messages\_DhConfig](../types/messages_DhConfig.md) +### Return type: [messages.DhConfig](../types/messages.DhConfig.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_DhConfig = $MadelineProto->messages->getDhConfig(['version' => int, 'random_length' => int, ]); +$messages.DhConfig = $MadelineProto->messages->getDhConfig(['version' => int, 'random_length' => int, ]); ``` Or, if you're into Lua: ```lua -messages_DhConfig = messages.getDhConfig({version=int, random_length=int, }) +messages.DhConfig = messages.getDhConfig({version=int, random_length=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v105/methods/messages.getDialogs.md b/old_docs/API_docs_v105/methods/messages.getDialogs.md index 4fce7d43..8f0e7f1a 100644 --- a/old_docs/API_docs_v105/methods/messages.getDialogs.md +++ b/old_docs/API_docs_v105/methods/messages.getDialogs.md @@ -22,7 +22,7 @@ Returns the current user dialog list. |hash|Array of [int](../types/int.md) | IDs of previously fetched dialogs | Optional| -### Return type: [messages\_Dialogs](../types/messages_Dialogs.md) +### Return type: [messages.Dialogs](../types/messages.Dialogs.md) ### Can bots use this method: **NO** @@ -39,13 +39,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Dialogs = $MadelineProto->messages->getDialogs(['exclude_pinned' => Bool, 'folder_id' => int, 'offset_date' => int, 'offset_id' => int, 'offset_peer' => InputPeer, 'limit' => int, 'hash' => [int, int], ]); +$messages.Dialogs = $MadelineProto->messages->getDialogs(['exclude_pinned' => Bool, 'folder_id' => int, 'offset_date' => int, 'offset_id' => int, 'offset_peer' => InputPeer, 'limit' => int, 'hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Dialogs = messages.getDialogs({exclude_pinned=Bool, folder_id=int, offset_date=int, offset_id=int, offset_peer=InputPeer, limit=int, hash={int}, }) +messages.Dialogs = messages.getDialogs({exclude_pinned=Bool, folder_id=int, offset_date=int, offset_id=int, offset_peer=InputPeer, limit=int, hash={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v105/methods/messages.getFavedStickers.md b/old_docs/API_docs_v105/methods/messages.getFavedStickers.md index 3ba077ef..19f64e43 100644 --- a/old_docs/API_docs_v105/methods/messages.getFavedStickers.md +++ b/old_docs/API_docs_v105/methods/messages.getFavedStickers.md @@ -16,7 +16,7 @@ Get faved stickers |hash|Array of [int](../types/int.md) | the hash parameter of the previous result of this method | Optional| -### Return type: [messages\_FavedStickers](../types/messages_FavedStickers.md) +### Return type: [messages.FavedStickers](../types/messages.FavedStickers.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_FavedStickers = $MadelineProto->messages->getFavedStickers(['hash' => [int, int], ]); +$messages.FavedStickers = $MadelineProto->messages->getFavedStickers(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_FavedStickers = messages.getFavedStickers({hash={int}, }) +messages.FavedStickers = messages.getFavedStickers({hash={int}, }) ``` diff --git a/old_docs/API_docs_v105/methods/messages.getFeaturedStickers.md b/old_docs/API_docs_v105/methods/messages.getFeaturedStickers.md index 8f2634c3..2d65d626 100644 --- a/old_docs/API_docs_v105/methods/messages.getFeaturedStickers.md +++ b/old_docs/API_docs_v105/methods/messages.getFeaturedStickers.md @@ -16,7 +16,7 @@ Get featured stickers |hash|Array of [int](../types/int.md) | the hash parameter of the previous result of this method | Optional| -### Return type: [messages\_FeaturedStickers](../types/messages_FeaturedStickers.md) +### Return type: [messages.FeaturedStickers](../types/messages.FeaturedStickers.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_FeaturedStickers = $MadelineProto->messages->getFeaturedStickers(['hash' => [int, int], ]); +$messages.FeaturedStickers = $MadelineProto->messages->getFeaturedStickers(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_FeaturedStickers = messages.getFeaturedStickers({hash={int}, }) +messages.FeaturedStickers = messages.getFeaturedStickers({hash={int}, }) ``` diff --git a/old_docs/API_docs_v105/methods/messages.getFullChat.md b/old_docs/API_docs_v105/methods/messages.getFullChat.md index abf23e21..de543651 100644 --- a/old_docs/API_docs_v105/methods/messages.getFullChat.md +++ b/old_docs/API_docs_v105/methods/messages.getFullChat.md @@ -16,7 +16,7 @@ You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo me |chat\_id|[Username, chat ID, Update, Message or InputPeer](../types/InputPeer.md) | You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo methods instead (see https://docs.madelineproto.xyz for more info) | Optional| -### Return type: [messages\_ChatFull](../types/messages_ChatFull.md) +### Return type: [messages.ChatFull](../types/messages.ChatFull.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_ChatFull = $MadelineProto->messages->getFullChat(['chat_id' => InputPeer, ]); +$messages.ChatFull = $MadelineProto->messages->getFullChat(['chat_id' => InputPeer, ]); ``` Or, if you're into Lua: ```lua -messages_ChatFull = messages.getFullChat({chat_id=InputPeer, }) +messages.ChatFull = messages.getFullChat({chat_id=InputPeer, }) ``` ### Errors diff --git a/old_docs/API_docs_v105/methods/messages.getGameHighScores.md b/old_docs/API_docs_v105/methods/messages.getGameHighScores.md index 0ee9d754..6e4dacb2 100644 --- a/old_docs/API_docs_v105/methods/messages.getGameHighScores.md +++ b/old_docs/API_docs_v105/methods/messages.getGameHighScores.md @@ -18,7 +18,7 @@ Get highscores of a game |user\_id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | Get high scores made by a certain user | Optional| -### Return type: [messages\_HighScores](../types/messages_HighScores.md) +### Return type: [messages.HighScores](../types/messages.HighScores.md) ### Can bots use this method: **YES** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_HighScores = $MadelineProto->messages->getGameHighScores(['peer' => InputPeer, 'id' => int, 'user_id' => InputUser, ]); +$messages.HighScores = $MadelineProto->messages->getGameHighScores(['peer' => InputPeer, 'id' => int, 'user_id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -messages_HighScores = messages.getGameHighScores({peer=InputPeer, id=int, user_id=InputUser, }) +messages.HighScores = messages.getGameHighScores({peer=InputPeer, id=int, user_id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v105/methods/messages.getHistory.md b/old_docs/API_docs_v105/methods/messages.getHistory.md index 9a3d5f8c..c7bd9850 100644 --- a/old_docs/API_docs_v105/methods/messages.getHistory.md +++ b/old_docs/API_docs_v105/methods/messages.getHistory.md @@ -23,7 +23,7 @@ Gets back the conversation history with one interlocutor / within a chat |hash|Array of [int](../types/int.md) | IDs of messages you already fetched | Optional| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **NO** @@ -40,13 +40,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->getHistory(['peer' => InputPeer, 'offset_id' => int, 'offset_date' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, 'hash' => [int, int], ]); +$messages.Messages = $MadelineProto->messages->getHistory(['peer' => InputPeer, 'offset_id' => int, 'offset_date' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, 'hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.getHistory({peer=InputPeer, offset_id=int, offset_date=int, add_offset=int, limit=int, max_id=int, min_id=int, hash={int}, }) +messages.Messages = messages.getHistory({peer=InputPeer, offset_id=int, offset_date=int, add_offset=int, limit=int, max_id=int, min_id=int, hash={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v105/methods/messages.getInlineBotResults.md b/old_docs/API_docs_v105/methods/messages.getInlineBotResults.md index ac251797..8a397236 100644 --- a/old_docs/API_docs_v105/methods/messages.getInlineBotResults.md +++ b/old_docs/API_docs_v105/methods/messages.getInlineBotResults.md @@ -20,7 +20,7 @@ Query an inline bot |offset|[string](../types/string.md) | The offset within the results, will be passed directly as-is to the bot. | Yes| -### Return type: [messages\_BotResults](../types/messages_BotResults.md) +### Return type: [messages.BotResults](../types/messages.BotResults.md) ### Can bots use this method: **NO** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_BotResults = $MadelineProto->messages->getInlineBotResults(['bot' => InputUser, 'peer' => InputPeer, 'geo_point' => InputGeoPoint, 'query' => 'string', 'offset' => 'string', ]); +$messages.BotResults = $MadelineProto->messages->getInlineBotResults(['bot' => InputUser, 'peer' => InputPeer, 'geo_point' => InputGeoPoint, 'query' => 'string', 'offset' => 'string', ]); ``` Or, if you're into Lua: ```lua -messages_BotResults = messages.getInlineBotResults({bot=InputUser, peer=InputPeer, geo_point=InputGeoPoint, query='string', offset='string', }) +messages.BotResults = messages.getInlineBotResults({bot=InputUser, peer=InputPeer, geo_point=InputGeoPoint, query='string', offset='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v105/methods/messages.getInlineGameHighScores.md b/old_docs/API_docs_v105/methods/messages.getInlineGameHighScores.md index 0d02b426..dbcb2cf6 100644 --- a/old_docs/API_docs_v105/methods/messages.getInlineGameHighScores.md +++ b/old_docs/API_docs_v105/methods/messages.getInlineGameHighScores.md @@ -17,7 +17,7 @@ Get highscores of a game sent using an inline bot |user\_id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | Get high scores of a certain user | Optional| -### Return type: [messages\_HighScores](../types/messages_HighScores.md) +### Return type: [messages.HighScores](../types/messages.HighScores.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_HighScores = $MadelineProto->messages->getInlineGameHighScores(['id' => InputBotInlineMessageID, 'user_id' => InputUser, ]); +$messages.HighScores = $MadelineProto->messages->getInlineGameHighScores(['id' => InputBotInlineMessageID, 'user_id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -messages_HighScores = messages.getInlineGameHighScores({id=InputBotInlineMessageID, user_id=InputUser, }) +messages.HighScores = messages.getInlineGameHighScores({id=InputBotInlineMessageID, user_id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v105/methods/messages.getMaskStickers.md b/old_docs/API_docs_v105/methods/messages.getMaskStickers.md index a09834e1..093645f6 100644 --- a/old_docs/API_docs_v105/methods/messages.getMaskStickers.md +++ b/old_docs/API_docs_v105/methods/messages.getMaskStickers.md @@ -16,7 +16,7 @@ Get installed mask stickers |hash|Array of [int](../types/int.md) | the hash parameter of the previous result of this method | Optional| -### Return type: [messages\_AllStickers](../types/messages_AllStickers.md) +### Return type: [messages.AllStickers](../types/messages.AllStickers.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AllStickers = $MadelineProto->messages->getMaskStickers(['hash' => [int, int], ]); +$messages.AllStickers = $MadelineProto->messages->getMaskStickers(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AllStickers = messages.getMaskStickers({hash={int}, }) +messages.AllStickers = messages.getMaskStickers({hash={int}, }) ``` diff --git a/old_docs/API_docs_v105/methods/messages.getMessageEditData.md b/old_docs/API_docs_v105/methods/messages.getMessageEditData.md index 1a083f08..7fd32e82 100644 --- a/old_docs/API_docs_v105/methods/messages.getMessageEditData.md +++ b/old_docs/API_docs_v105/methods/messages.getMessageEditData.md @@ -17,7 +17,7 @@ Find out if a media message's caption can be edited |id|[int](../types/int.md) | ID of message | Yes| -### Return type: [messages\_MessageEditData](../types/messages_MessageEditData.md) +### Return type: [messages.MessageEditData](../types/messages.MessageEditData.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_MessageEditData = $MadelineProto->messages->getMessageEditData(['peer' => InputPeer, 'id' => int, ]); +$messages.MessageEditData = $MadelineProto->messages->getMessageEditData(['peer' => InputPeer, 'id' => int, ]); ``` Or, if you're into Lua: ```lua -messages_MessageEditData = messages.getMessageEditData({peer=InputPeer, id=int, }) +messages.MessageEditData = messages.getMessageEditData({peer=InputPeer, id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v105/methods/messages.getMessages.md b/old_docs/API_docs_v105/methods/messages.getMessages.md index eb5ef6a6..0aed788d 100644 --- a/old_docs/API_docs_v105/methods/messages.getMessages.md +++ b/old_docs/API_docs_v105/methods/messages.getMessages.md @@ -16,7 +16,7 @@ Returns the list of messages by their IDs. |id|Array of [Message ID or InputMessage](../types/InputMessage.md) | The IDs of messages to fetch (only for users and normal groups) | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **YES** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->getMessages(['id' => [InputMessage, InputMessage], ]); +$messages.Messages = $MadelineProto->messages->getMessages(['id' => [InputMessage, InputMessage], ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.getMessages({id={InputMessage}, }) +messages.Messages = messages.getMessages({id={InputMessage}, }) ``` diff --git a/old_docs/API_docs_v105/methods/messages.getPeerDialogs.md b/old_docs/API_docs_v105/methods/messages.getPeerDialogs.md index 2ab5d661..1ec67e6a 100644 --- a/old_docs/API_docs_v105/methods/messages.getPeerDialogs.md +++ b/old_docs/API_docs_v105/methods/messages.getPeerDialogs.md @@ -16,7 +16,7 @@ Get dialog info of specified peers |peers|Array of [Username, chat ID, Update, Message or InputDialogPeer](../types/InputDialogPeer.md) | The peers | Yes| -### Return type: [messages\_PeerDialogs](../types/messages_PeerDialogs.md) +### Return type: [messages.PeerDialogs](../types/messages.PeerDialogs.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_PeerDialogs = $MadelineProto->messages->getPeerDialogs(['peers' => [InputDialogPeer, InputDialogPeer], ]); +$messages.PeerDialogs = $MadelineProto->messages->getPeerDialogs(['peers' => [InputDialogPeer, InputDialogPeer], ]); ``` Or, if you're into Lua: ```lua -messages_PeerDialogs = messages.getPeerDialogs({peers={InputDialogPeer}, }) +messages.PeerDialogs = messages.getPeerDialogs({peers={InputDialogPeer}, }) ``` ### Errors diff --git a/old_docs/API_docs_v105/methods/messages.getPinnedDialogs.md b/old_docs/API_docs_v105/methods/messages.getPinnedDialogs.md index 7fbfecd0..9b776f2a 100644 --- a/old_docs/API_docs_v105/methods/messages.getPinnedDialogs.md +++ b/old_docs/API_docs_v105/methods/messages.getPinnedDialogs.md @@ -16,7 +16,7 @@ Get pinned dialogs |folder\_id|[int](../types/int.md) | Folder ID | Yes| -### Return type: [messages\_PeerDialogs](../types/messages_PeerDialogs.md) +### Return type: [messages.PeerDialogs](../types/messages.PeerDialogs.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_PeerDialogs = $MadelineProto->messages->getPinnedDialogs(['folder_id' => int, ]); +$messages.PeerDialogs = $MadelineProto->messages->getPinnedDialogs(['folder_id' => int, ]); ``` Or, if you're into Lua: ```lua -messages_PeerDialogs = messages.getPinnedDialogs({folder_id=int, }) +messages.PeerDialogs = messages.getPinnedDialogs({folder_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v105/methods/messages.getRecentLocations.md b/old_docs/API_docs_v105/methods/messages.getRecentLocations.md index 40ec1285..4efeb49c 100644 --- a/old_docs/API_docs_v105/methods/messages.getRecentLocations.md +++ b/old_docs/API_docs_v105/methods/messages.getRecentLocations.md @@ -18,7 +18,7 @@ Get live location history of a certain user |hash|Array of [int](../types/int.md) | IDs of locations you already fetched | Optional| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **NO** @@ -35,12 +35,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->getRecentLocations(['peer' => InputPeer, 'limit' => int, 'hash' => [int, int], ]); +$messages.Messages = $MadelineProto->messages->getRecentLocations(['peer' => InputPeer, 'limit' => int, 'hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.getRecentLocations({peer=InputPeer, limit=int, hash={int}, }) +messages.Messages = messages.getRecentLocations({peer=InputPeer, limit=int, hash={int}, }) ``` diff --git a/old_docs/API_docs_v105/methods/messages.getRecentStickers.md b/old_docs/API_docs_v105/methods/messages.getRecentStickers.md index 28a70889..39cef16a 100644 --- a/old_docs/API_docs_v105/methods/messages.getRecentStickers.md +++ b/old_docs/API_docs_v105/methods/messages.getRecentStickers.md @@ -17,7 +17,7 @@ Get recent stickers |hash|Array of [int](../types/int.md) | IDs the hash parameter of the previous result of this method | Optional| -### Return type: [messages\_RecentStickers](../types/messages_RecentStickers.md) +### Return type: [messages.RecentStickers](../types/messages.RecentStickers.md) ### Can bots use this method: **NO** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_RecentStickers = $MadelineProto->messages->getRecentStickers(['attached' => Bool, 'hash' => [int, int], ]); +$messages.RecentStickers = $MadelineProto->messages->getRecentStickers(['attached' => Bool, 'hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_RecentStickers = messages.getRecentStickers({attached=Bool, hash={int}, }) +messages.RecentStickers = messages.getRecentStickers({attached=Bool, hash={int}, }) ``` diff --git a/old_docs/API_docs_v105/methods/messages.getSavedGifs.md b/old_docs/API_docs_v105/methods/messages.getSavedGifs.md index 1df7f37c..8b31f7b8 100644 --- a/old_docs/API_docs_v105/methods/messages.getSavedGifs.md +++ b/old_docs/API_docs_v105/methods/messages.getSavedGifs.md @@ -16,7 +16,7 @@ Get saved GIFs |hash|Array of [int](../types/int.md) | the hash parameter of the previous result of this method | Optional| -### Return type: [messages\_SavedGifs](../types/messages_SavedGifs.md) +### Return type: [messages.SavedGifs](../types/messages.SavedGifs.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_SavedGifs = $MadelineProto->messages->getSavedGifs(['hash' => [int, int], ]); +$messages.SavedGifs = $MadelineProto->messages->getSavedGifs(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_SavedGifs = messages.getSavedGifs({hash={int}, }) +messages.SavedGifs = messages.getSavedGifs({hash={int}, }) ``` diff --git a/old_docs/API_docs_v105/methods/messages.getScheduledHistory.md b/old_docs/API_docs_v105/methods/messages.getScheduledHistory.md index 861d3c8f..1c908a62 100644 --- a/old_docs/API_docs_v105/methods/messages.getScheduledHistory.md +++ b/old_docs/API_docs_v105/methods/messages.getScheduledHistory.md @@ -17,7 +17,7 @@ Get scheduled messages |hash|Array of [int](../types/int.md) | Hash | Optional| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->getScheduledHistory(['peer' => InputPeer, 'hash' => [int, int], ]); +$messages.Messages = $MadelineProto->messages->getScheduledHistory(['peer' => InputPeer, 'hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.getScheduledHistory({peer=InputPeer, hash={int}, }) +messages.Messages = messages.getScheduledHistory({peer=InputPeer, hash={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v105/methods/messages.getScheduledMessages.md b/old_docs/API_docs_v105/methods/messages.getScheduledMessages.md index bb4bf48c..d0034b53 100644 --- a/old_docs/API_docs_v105/methods/messages.getScheduledMessages.md +++ b/old_docs/API_docs_v105/methods/messages.getScheduledMessages.md @@ -17,7 +17,7 @@ Get scheduled messages |id|Array of [int](../types/int.md) | ID | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **YES** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->getScheduledMessages(['peer' => InputPeer, 'id' => [int, int], ]); +$messages.Messages = $MadelineProto->messages->getScheduledMessages(['peer' => InputPeer, 'id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.getScheduledMessages({peer=InputPeer, id={int}, }) +messages.Messages = messages.getScheduledMessages({peer=InputPeer, id={int}, }) ``` diff --git a/old_docs/API_docs_v105/methods/messages.getSearchCounters.md b/old_docs/API_docs_v105/methods/messages.getSearchCounters.md index 7a3ff374..3fb15962 100644 --- a/old_docs/API_docs_v105/methods/messages.getSearchCounters.md +++ b/old_docs/API_docs_v105/methods/messages.getSearchCounters.md @@ -17,7 +17,7 @@ Get the number of results that would be found by a [messages.search](../methods/ |filters|Array of [MessagesFilter](../types/MessagesFilter.md) | Filters | Yes| -### Return type: [Vector\_of\_messages\_SearchCounter](../types/messages_SearchCounter.md) +### Return type: [Vector\_of\_messages.SearchCounter](../types/messages.SearchCounter.md) ### Can bots use this method: **NO** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$Vector_of_messages_SearchCounter = $MadelineProto->messages->getSearchCounters(['peer' => InputPeer, 'filters' => [MessagesFilter, MessagesFilter], ]); +$Vector_of_messages.SearchCounter = $MadelineProto->messages->getSearchCounters(['peer' => InputPeer, 'filters' => [MessagesFilter, MessagesFilter], ]); ``` Or, if you're into Lua: ```lua -Vector_of_messages_SearchCounter = messages.getSearchCounters({peer=InputPeer, filters={MessagesFilter}, }) +Vector_of_messages.SearchCounter = messages.getSearchCounters({peer=InputPeer, filters={MessagesFilter}, }) ``` diff --git a/old_docs/API_docs_v105/methods/messages.getStickerSet.md b/old_docs/API_docs_v105/methods/messages.getStickerSet.md index 45fca60f..f11887ee 100644 --- a/old_docs/API_docs_v105/methods/messages.getStickerSet.md +++ b/old_docs/API_docs_v105/methods/messages.getStickerSet.md @@ -16,7 +16,7 @@ Get info about a stickerset |stickerset|[InputStickerSet](../types/InputStickerSet.md) | Stickerset | Optional| -### Return type: [messages\_StickerSet](../types/messages_StickerSet.md) +### Return type: [messages.StickerSet](../types/messages.StickerSet.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StickerSet = $MadelineProto->messages->getStickerSet(['stickerset' => InputStickerSet, ]); +$messages.StickerSet = $MadelineProto->messages->getStickerSet(['stickerset' => InputStickerSet, ]); ``` Or, if you're into Lua: ```lua -messages_StickerSet = messages.getStickerSet({stickerset=InputStickerSet, }) +messages.StickerSet = messages.getStickerSet({stickerset=InputStickerSet, }) ``` ### Errors diff --git a/old_docs/API_docs_v105/methods/messages.getStickers.md b/old_docs/API_docs_v105/methods/messages.getStickers.md index 4f8b7598..ff99fbd2 100644 --- a/old_docs/API_docs_v105/methods/messages.getStickers.md +++ b/old_docs/API_docs_v105/methods/messages.getStickers.md @@ -17,7 +17,7 @@ Get stickers by emoji |hash|Array of [int](../types/int.md) | the hash parameter of the previous result of this method | Optional| -### Return type: [messages\_Stickers](../types/messages_Stickers.md) +### Return type: [messages.Stickers](../types/messages.Stickers.md) ### Can bots use this method: **NO** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Stickers = $MadelineProto->messages->getStickers(['emoticon' => 'string', 'hash' => [int, int], ]); +$messages.Stickers = $MadelineProto->messages->getStickers(['emoticon' => 'string', 'hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Stickers = messages.getStickers({emoticon='string', hash={int}, }) +messages.Stickers = messages.getStickers({emoticon='string', hash={int}, }) ``` diff --git a/old_docs/API_docs_v105/methods/messages.getUnreadMentions.md b/old_docs/API_docs_v105/methods/messages.getUnreadMentions.md index 33bba261..679ed841 100644 --- a/old_docs/API_docs_v105/methods/messages.getUnreadMentions.md +++ b/old_docs/API_docs_v105/methods/messages.getUnreadMentions.md @@ -21,7 +21,7 @@ Get unread messages where we were mentioned |min\_id|[int](../types/int.md) | Minimum message ID to return, [see pagination](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **NO** @@ -38,13 +38,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->getUnreadMentions(['peer' => InputPeer, 'offset_id' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); +$messages.Messages = $MadelineProto->messages->getUnreadMentions(['peer' => InputPeer, 'offset_id' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.getUnreadMentions({peer=InputPeer, offset_id=int, add_offset=int, limit=int, max_id=int, min_id=int, }) +messages.Messages = messages.getUnreadMentions({peer=InputPeer, offset_id=int, add_offset=int, limit=int, max_id=int, min_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v105/methods/messages.installStickerSet.md b/old_docs/API_docs_v105/methods/messages.installStickerSet.md index 1a95ca0b..83ce2121 100644 --- a/old_docs/API_docs_v105/methods/messages.installStickerSet.md +++ b/old_docs/API_docs_v105/methods/messages.installStickerSet.md @@ -17,7 +17,7 @@ Install a stickerset |archived|[Bool](../types/Bool.md) | Whether to archive stickerset | Yes| -### Return type: [messages\_StickerSetInstallResult](../types/messages_StickerSetInstallResult.md) +### Return type: [messages.StickerSetInstallResult](../types/messages.StickerSetInstallResult.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StickerSetInstallResult = $MadelineProto->messages->installStickerSet(['stickerset' => InputStickerSet, 'archived' => Bool, ]); +$messages.StickerSetInstallResult = $MadelineProto->messages->installStickerSet(['stickerset' => InputStickerSet, 'archived' => Bool, ]); ``` Or, if you're into Lua: ```lua -messages_StickerSetInstallResult = messages.installStickerSet({stickerset=InputStickerSet, archived=Bool, }) +messages.StickerSetInstallResult = messages.installStickerSet({stickerset=InputStickerSet, archived=Bool, }) ``` ### Errors diff --git a/old_docs/API_docs_v105/methods/messages.readHistory.md b/old_docs/API_docs_v105/methods/messages.readHistory.md index 39753375..52030c68 100644 --- a/old_docs/API_docs_v105/methods/messages.readHistory.md +++ b/old_docs/API_docs_v105/methods/messages.readHistory.md @@ -17,7 +17,7 @@ Marks message history as read. |max\_id|[int](../types/int.md) | If a positive value is passed, only messages with identifiers less or equal than the given one will be read | Yes| -### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) +### Return type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedMessages = $MadelineProto->messages->readHistory(['peer' => InputPeer, 'max_id' => int, ]); +$messages.AffectedMessages = $MadelineProto->messages->readHistory(['peer' => InputPeer, 'max_id' => int, ]); ``` Or, if you're into Lua: ```lua -messages_AffectedMessages = messages.readHistory({peer=InputPeer, max_id=int, }) +messages.AffectedMessages = messages.readHistory({peer=InputPeer, max_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v105/methods/messages.readMentions.md b/old_docs/API_docs_v105/methods/messages.readMentions.md index 9b73851d..c8c94f00 100644 --- a/old_docs/API_docs_v105/methods/messages.readMentions.md +++ b/old_docs/API_docs_v105/methods/messages.readMentions.md @@ -16,7 +16,7 @@ Mark mentions as read |peer|[Username, chat ID, Update, Message or InputPeer](../types/InputPeer.md) | Dialog | Optional| -### Return type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) +### Return type: [messages.AffectedHistory](../types/messages.AffectedHistory.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedHistory = $MadelineProto->messages->readMentions(['peer' => InputPeer, ]); +$messages.AffectedHistory = $MadelineProto->messages->readMentions(['peer' => InputPeer, ]); ``` Or, if you're into Lua: ```lua -messages_AffectedHistory = messages.readMentions({peer=InputPeer, }) +messages.AffectedHistory = messages.readMentions({peer=InputPeer, }) ``` diff --git a/old_docs/API_docs_v105/methods/messages.readMessageContents.md b/old_docs/API_docs_v105/methods/messages.readMessageContents.md index c479cafe..9798e661 100644 --- a/old_docs/API_docs_v105/methods/messages.readMessageContents.md +++ b/old_docs/API_docs_v105/methods/messages.readMessageContents.md @@ -16,7 +16,7 @@ Notifies the sender about the recipient having listened a voice message or watch |id|Array of [int](../types/int.md) | The messages to mark as read (only users and normal chats, not supergroups) | Yes| -### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) +### Return type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedMessages = $MadelineProto->messages->readMessageContents(['id' => [int, int], ]); +$messages.AffectedMessages = $MadelineProto->messages->readMessageContents(['id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AffectedMessages = messages.readMessageContents({id={int}, }) +messages.AffectedMessages = messages.readMessageContents({id={int}, }) ``` diff --git a/old_docs/API_docs_v105/methods/messages.search.md b/old_docs/API_docs_v105/methods/messages.search.md index 75c21af0..b8125fb6 100644 --- a/old_docs/API_docs_v105/methods/messages.search.md +++ b/old_docs/API_docs_v105/methods/messages.search.md @@ -27,7 +27,7 @@ Gets back found messages |hash|Array of [int](../types/int.md) | The IDs of messages you already fetched | Optional| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **NO** @@ -44,13 +44,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->search(['peer' => InputPeer, 'q' => 'string', 'from_id' => InputUser, 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset_id' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, 'hash' => [int, int], ]); +$messages.Messages = $MadelineProto->messages->search(['peer' => InputPeer, 'q' => 'string', 'from_id' => InputUser, 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset_id' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, 'hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.search({peer=InputPeer, q='string', from_id=InputUser, filter=MessagesFilter, min_date=int, max_date=int, offset_id=int, add_offset=int, limit=int, max_id=int, min_id=int, hash={int}, }) +messages.Messages = messages.search({peer=InputPeer, q='string', from_id=InputUser, filter=MessagesFilter, min_date=int, max_date=int, offset_id=int, add_offset=int, limit=int, max_id=int, min_id=int, hash={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v105/methods/messages.searchGifs.md b/old_docs/API_docs_v105/methods/messages.searchGifs.md index 851371d7..193a0cd4 100644 --- a/old_docs/API_docs_v105/methods/messages.searchGifs.md +++ b/old_docs/API_docs_v105/methods/messages.searchGifs.md @@ -17,7 +17,7 @@ Search for GIFs |offset|[int](../types/int.md) | Offset for [pagination »](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_FoundGifs](../types/messages_FoundGifs.md) +### Return type: [messages.FoundGifs](../types/messages.FoundGifs.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_FoundGifs = $MadelineProto->messages->searchGifs(['q' => 'string', 'offset' => int, ]); +$messages.FoundGifs = $MadelineProto->messages->searchGifs(['q' => 'string', 'offset' => int, ]); ``` Or, if you're into Lua: ```lua -messages_FoundGifs = messages.searchGifs({q='string', offset=int, }) +messages.FoundGifs = messages.searchGifs({q='string', offset=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v105/methods/messages.searchGlobal.md b/old_docs/API_docs_v105/methods/messages.searchGlobal.md index 7d2bb854..4e285576 100644 --- a/old_docs/API_docs_v105/methods/messages.searchGlobal.md +++ b/old_docs/API_docs_v105/methods/messages.searchGlobal.md @@ -21,7 +21,7 @@ Search for messages and peers globally |limit|[int](../types/int.md) | [Offsets for pagination, for more info click here](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **NO** @@ -38,13 +38,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->searchGlobal(['folder_id' => int, 'q' => 'string', 'offset_rate' => int, 'offset_peer' => InputPeer, 'offset_id' => int, 'limit' => int, ]); +$messages.Messages = $MadelineProto->messages->searchGlobal(['folder_id' => int, 'q' => 'string', 'offset_rate' => int, 'offset_peer' => InputPeer, 'offset_id' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.searchGlobal({folder_id=int, q='string', offset_rate=int, offset_peer=InputPeer, offset_id=int, limit=int, }) +messages.Messages = messages.searchGlobal({folder_id=int, q='string', offset_rate=int, offset_peer=InputPeer, offset_id=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v105/methods/messages.searchStickerSets.md b/old_docs/API_docs_v105/methods/messages.searchStickerSets.md index 1759fbc0..a8924f3d 100644 --- a/old_docs/API_docs_v105/methods/messages.searchStickerSets.md +++ b/old_docs/API_docs_v105/methods/messages.searchStickerSets.md @@ -18,7 +18,7 @@ Search for stickersets |hash|Array of [int](../types/int.md) | The IDs of stickersets you already fetched | Optional| -### Return type: [messages\_FoundStickerSets](../types/messages_FoundStickerSets.md) +### Return type: [messages.FoundStickerSets](../types/messages.FoundStickerSets.md) ### Can bots use this method: **NO** @@ -35,12 +35,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_FoundStickerSets = $MadelineProto->messages->searchStickerSets(['exclude_featured' => Bool, 'q' => 'string', 'hash' => [int, int], ]); +$messages.FoundStickerSets = $MadelineProto->messages->searchStickerSets(['exclude_featured' => Bool, 'q' => 'string', 'hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_FoundStickerSets = messages.searchStickerSets({exclude_featured=Bool, q='string', hash={int}, }) +messages.FoundStickerSets = messages.searchStickerSets({exclude_featured=Bool, q='string', hash={int}, }) ``` diff --git a/old_docs/API_docs_v105/methods/messages.sendEncrypted.md b/old_docs/API_docs_v105/methods/messages.sendEncrypted.md index 47b5ef29..6a68b563 100644 --- a/old_docs/API_docs_v105/methods/messages.sendEncrypted.md +++ b/old_docs/API_docs_v105/methods/messages.sendEncrypted.md @@ -14,10 +14,10 @@ Sends a text message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|message|[DecryptedMessage](../types/DecryptedMessage.md) | The message to send | Yes| +|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key that was created during chat initialization | Yes| -### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ### Can bots use this method: **NO** @@ -34,21 +34,15 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncrypted(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); +$messages.SentEncryptedMessage = $MadelineProto->messages->sendEncrypted(['peer' => InputEncryptedChat, 'data' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -messages_SentEncryptedMessage = messages.sendEncrypted({peer=InputEncryptedChat, message=DecryptedMessage, }) +messages.SentEncryptedMessage = messages.sendEncrypted({peer=InputEncryptedChat, data='bytes', }) ``` - -## Return value - -If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) will be returned instead. - - ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v105/methods/messages.sendEncryptedFile.md b/old_docs/API_docs_v105/methods/messages.sendEncryptedFile.md index 4e0f7b7f..87185ba4 100644 --- a/old_docs/API_docs_v105/methods/messages.sendEncryptedFile.md +++ b/old_docs/API_docs_v105/methods/messages.sendEncryptedFile.md @@ -14,11 +14,11 @@ Sends a message with a file attachment to a secret chat | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|message|[DecryptedMessage](../types/DecryptedMessage.md) | The message with the file | Yes| +|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| |file|[File path or InputEncryptedFile](../types/InputEncryptedFile.md) | File attachment for the secret chat | Optional| -### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ### Can bots use this method: **NO** @@ -35,21 +35,15 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedFile(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, 'file' => InputEncryptedFile, ]); +$messages.SentEncryptedMessage = $MadelineProto->messages->sendEncryptedFile(['peer' => InputEncryptedChat, 'data' => 'bytes', 'file' => InputEncryptedFile, ]); ``` Or, if you're into Lua: ```lua -messages_SentEncryptedMessage = messages.sendEncryptedFile({peer=InputEncryptedChat, message=DecryptedMessage, file=InputEncryptedFile, }) +messages.SentEncryptedMessage = messages.sendEncryptedFile({peer=InputEncryptedChat, data='bytes', file=InputEncryptedFile, }) ``` - -## Return value - -If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) will be returned instead. - - ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v105/methods/messages.sendEncryptedService.md b/old_docs/API_docs_v105/methods/messages.sendEncryptedService.md index 86925ae3..38171272 100644 --- a/old_docs/API_docs_v105/methods/messages.sendEncryptedService.md +++ b/old_docs/API_docs_v105/methods/messages.sendEncryptedService.md @@ -14,10 +14,10 @@ Sends a service message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|message|[DecryptedMessage](../types/DecryptedMessage.md) | The service message | Yes| +|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| -### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ### Can bots use this method: **NO** @@ -34,21 +34,15 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedService(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); +$messages.SentEncryptedMessage = $MadelineProto->messages->sendEncryptedService(['peer' => InputEncryptedChat, 'data' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -messages_SentEncryptedMessage = messages.sendEncryptedService({peer=InputEncryptedChat, message=DecryptedMessage, }) +messages.SentEncryptedMessage = messages.sendEncryptedService({peer=InputEncryptedChat, data='bytes', }) ``` - -## Return value - -If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) will be returned instead. - - ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v105/methods/payments.getPaymentForm.md b/old_docs/API_docs_v105/methods/payments.getPaymentForm.md index 3a171a05..da173f14 100644 --- a/old_docs/API_docs_v105/methods/payments.getPaymentForm.md +++ b/old_docs/API_docs_v105/methods/payments.getPaymentForm.md @@ -16,7 +16,7 @@ Get a payment form |msg\_id|[int](../types/int.md) | Message ID of payment form | Yes| -### Return type: [payments\_PaymentForm](../types/payments_PaymentForm.md) +### Return type: [payments.PaymentForm](../types/payments.PaymentForm.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$payments_PaymentForm = $MadelineProto->payments->getPaymentForm(['msg_id' => int, ]); +$payments.PaymentForm = $MadelineProto->payments->getPaymentForm(['msg_id' => int, ]); ``` Or, if you're into Lua: ```lua -payments_PaymentForm = payments.getPaymentForm({msg_id=int, }) +payments.PaymentForm = payments.getPaymentForm({msg_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v105/methods/payments.getPaymentReceipt.md b/old_docs/API_docs_v105/methods/payments.getPaymentReceipt.md index 46d2267c..16e41367 100644 --- a/old_docs/API_docs_v105/methods/payments.getPaymentReceipt.md +++ b/old_docs/API_docs_v105/methods/payments.getPaymentReceipt.md @@ -16,7 +16,7 @@ Get payment receipt |msg\_id|[int](../types/int.md) | Message ID of receipt | Yes| -### Return type: [payments\_PaymentReceipt](../types/payments_PaymentReceipt.md) +### Return type: [payments.PaymentReceipt](../types/payments.PaymentReceipt.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$payments_PaymentReceipt = $MadelineProto->payments->getPaymentReceipt(['msg_id' => int, ]); +$payments.PaymentReceipt = $MadelineProto->payments->getPaymentReceipt(['msg_id' => int, ]); ``` Or, if you're into Lua: ```lua -payments_PaymentReceipt = payments.getPaymentReceipt({msg_id=int, }) +payments.PaymentReceipt = payments.getPaymentReceipt({msg_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v105/methods/payments.getSavedInfo.md b/old_docs/API_docs_v105/methods/payments.getSavedInfo.md index dc9c9b98..fe2c16ec 100644 --- a/old_docs/API_docs_v105/methods/payments.getSavedInfo.md +++ b/old_docs/API_docs_v105/methods/payments.getSavedInfo.md @@ -11,7 +11,7 @@ Get saved payment information -### Return type: [payments\_SavedInfo](../types/payments_SavedInfo.md) +### Return type: [payments.SavedInfo](../types/payments.SavedInfo.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$payments_SavedInfo = $MadelineProto->payments->getSavedInfo(); +$payments.SavedInfo = $MadelineProto->payments->getSavedInfo(); ``` Or, if you're into Lua: ```lua -payments_SavedInfo = payments.getSavedInfo({}) +payments.SavedInfo = payments.getSavedInfo({}) ``` diff --git a/old_docs/API_docs_v105/methods/payments.sendPaymentForm.md b/old_docs/API_docs_v105/methods/payments.sendPaymentForm.md index 8c478b92..de154e7f 100644 --- a/old_docs/API_docs_v105/methods/payments.sendPaymentForm.md +++ b/old_docs/API_docs_v105/methods/payments.sendPaymentForm.md @@ -19,7 +19,7 @@ Send compiled payment form |credentials|[InputPaymentCredentials](../types/InputPaymentCredentials.md) | Payment credentials | Yes| -### Return type: [payments\_PaymentResult](../types/payments_PaymentResult.md) +### Return type: [payments.PaymentResult](../types/payments.PaymentResult.md) ### Can bots use this method: **NO** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$payments_PaymentResult = $MadelineProto->payments->sendPaymentForm(['msg_id' => int, 'requested_info_id' => 'string', 'shipping_option_id' => 'string', 'credentials' => InputPaymentCredentials, ]); +$payments.PaymentResult = $MadelineProto->payments->sendPaymentForm(['msg_id' => int, 'requested_info_id' => 'string', 'shipping_option_id' => 'string', 'credentials' => InputPaymentCredentials, ]); ``` Or, if you're into Lua: ```lua -payments_PaymentResult = payments.sendPaymentForm({msg_id=int, requested_info_id='string', shipping_option_id='string', credentials=InputPaymentCredentials, }) +payments.PaymentResult = payments.sendPaymentForm({msg_id=int, requested_info_id='string', shipping_option_id='string', credentials=InputPaymentCredentials, }) ``` ### Errors diff --git a/old_docs/API_docs_v105/methods/payments.validateRequestedInfo.md b/old_docs/API_docs_v105/methods/payments.validateRequestedInfo.md index d6364a02..ce22cfe8 100644 --- a/old_docs/API_docs_v105/methods/payments.validateRequestedInfo.md +++ b/old_docs/API_docs_v105/methods/payments.validateRequestedInfo.md @@ -18,7 +18,7 @@ Submit requested order information for validation |info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Requested order information | Yes| -### Return type: [payments\_ValidatedRequestedInfo](../types/payments_ValidatedRequestedInfo.md) +### Return type: [payments.ValidatedRequestedInfo](../types/payments.ValidatedRequestedInfo.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$payments_ValidatedRequestedInfo = $MadelineProto->payments->validateRequestedInfo(['save' => Bool, 'msg_id' => int, 'info' => PaymentRequestedInfo, ]); +$payments.ValidatedRequestedInfo = $MadelineProto->payments->validateRequestedInfo(['save' => Bool, 'msg_id' => int, 'info' => PaymentRequestedInfo, ]); ``` Or, if you're into Lua: ```lua -payments_ValidatedRequestedInfo = payments.validateRequestedInfo({save=Bool, msg_id=int, info=PaymentRequestedInfo, }) +payments.ValidatedRequestedInfo = payments.validateRequestedInfo({save=Bool, msg_id=int, info=PaymentRequestedInfo, }) ``` ### Errors diff --git a/old_docs/API_docs_v105/methods/phone.acceptCall.md b/old_docs/API_docs_v105/methods/phone.acceptCall.md index f5c58f01..6b9185aa 100644 --- a/old_docs/API_docs_v105/methods/phone.acceptCall.md +++ b/old_docs/API_docs_v105/methods/phone.acceptCall.md @@ -18,7 +18,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz#calls fo |protocol|[PhoneCallProtocol](../types/PhoneCallProtocol.md) | You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls | Yes| -### Return type: [phone\_PhoneCall](../types/phone_PhoneCall.md) +### Return type: [phone.PhoneCall](../types/phone.PhoneCall.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$phone_PhoneCall = $MadelineProto->phone->acceptCall(['peer' => InputPhoneCall, 'g_b' => 'bytes', 'protocol' => PhoneCallProtocol, ]); +$phone.PhoneCall = $MadelineProto->phone->acceptCall(['peer' => InputPhoneCall, 'g_b' => 'bytes', 'protocol' => PhoneCallProtocol, ]); ``` Or, if you're into Lua: ```lua -phone_PhoneCall = phone.acceptCall({peer=InputPhoneCall, g_b='bytes', protocol=PhoneCallProtocol, }) +phone.PhoneCall = phone.acceptCall({peer=InputPhoneCall, g_b='bytes', protocol=PhoneCallProtocol, }) ``` ### Errors diff --git a/old_docs/API_docs_v105/methods/phone.confirmCall.md b/old_docs/API_docs_v105/methods/phone.confirmCall.md index 468307cc..a52d1f9c 100644 --- a/old_docs/API_docs_v105/methods/phone.confirmCall.md +++ b/old_docs/API_docs_v105/methods/phone.confirmCall.md @@ -19,7 +19,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz#calls fo |protocol|[PhoneCallProtocol](../types/PhoneCallProtocol.md) | You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls | Yes| -### Return type: [phone\_PhoneCall](../types/phone_PhoneCall.md) +### Return type: [phone.PhoneCall](../types/phone.PhoneCall.md) ### Can bots use this method: **NO** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$phone_PhoneCall = $MadelineProto->phone->confirmCall(['peer' => InputPhoneCall, 'g_a' => 'bytes', 'key_fingerprint' => long, 'protocol' => PhoneCallProtocol, ]); +$phone.PhoneCall = $MadelineProto->phone->confirmCall(['peer' => InputPhoneCall, 'g_a' => 'bytes', 'key_fingerprint' => long, 'protocol' => PhoneCallProtocol, ]); ``` Or, if you're into Lua: ```lua -phone_PhoneCall = phone.confirmCall({peer=InputPhoneCall, g_a='bytes', key_fingerprint=long, protocol=PhoneCallProtocol, }) +phone.PhoneCall = phone.confirmCall({peer=InputPhoneCall, g_a='bytes', key_fingerprint=long, protocol=PhoneCallProtocol, }) ``` ### Errors diff --git a/old_docs/API_docs_v105/methods/phone.requestCall.md b/old_docs/API_docs_v105/methods/phone.requestCall.md index e3894214..608f562f 100644 --- a/old_docs/API_docs_v105/methods/phone.requestCall.md +++ b/old_docs/API_docs_v105/methods/phone.requestCall.md @@ -19,7 +19,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz#calls fo |protocol|[PhoneCallProtocol](../types/PhoneCallProtocol.md) | You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls | Yes| -### Return type: [phone\_PhoneCall](../types/phone_PhoneCall.md) +### Return type: [phone.PhoneCall](../types/phone.PhoneCall.md) ### Can bots use this method: **NO** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$phone_PhoneCall = $MadelineProto->phone->requestCall(['video' => Bool, 'user_id' => InputUser, 'g_a_hash' => 'bytes', 'protocol' => PhoneCallProtocol, ]); +$phone.PhoneCall = $MadelineProto->phone->requestCall(['video' => Bool, 'user_id' => InputUser, 'g_a_hash' => 'bytes', 'protocol' => PhoneCallProtocol, ]); ``` Or, if you're into Lua: ```lua -phone_PhoneCall = phone.requestCall({video=Bool, user_id=InputUser, g_a_hash='bytes', protocol=PhoneCallProtocol, }) +phone.PhoneCall = phone.requestCall({video=Bool, user_id=InputUser, g_a_hash='bytes', protocol=PhoneCallProtocol, }) ``` ### Errors diff --git a/old_docs/API_docs_v105/methods/photos.getUserPhotos.md b/old_docs/API_docs_v105/methods/photos.getUserPhotos.md index a1dec2ed..1f8d5c64 100644 --- a/old_docs/API_docs_v105/methods/photos.getUserPhotos.md +++ b/old_docs/API_docs_v105/methods/photos.getUserPhotos.md @@ -19,7 +19,7 @@ Returns the list of user photos. |limit|[int](../types/int.md) | Number of list elements to be returned | Yes| -### Return type: [photos\_Photos](../types/photos_Photos.md) +### Return type: [photos.Photos](../types/photos.Photos.md) ### Can bots use this method: **YES** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$photos_Photos = $MadelineProto->photos->getUserPhotos(['user_id' => InputUser, 'offset' => int, 'max_id' => long, 'limit' => int, ]); +$photos.Photos = $MadelineProto->photos->getUserPhotos(['user_id' => InputUser, 'offset' => int, 'max_id' => long, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -photos_Photos = photos.getUserPhotos({user_id=InputUser, offset=int, max_id=long, limit=int, }) +photos.Photos = photos.getUserPhotos({user_id=InputUser, offset=int, max_id=long, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v105/methods/photos.uploadProfilePhoto.md b/old_docs/API_docs_v105/methods/photos.uploadProfilePhoto.md index b6a01ee7..4de76a24 100644 --- a/old_docs/API_docs_v105/methods/photos.uploadProfilePhoto.md +++ b/old_docs/API_docs_v105/methods/photos.uploadProfilePhoto.md @@ -16,7 +16,7 @@ Updates current user profile photo. |file|[File path or InputFile](../types/InputFile.md) | File saved in parts by means of [upload.saveFilePart](../methods/upload.saveFilePart.md) method | Yes| -### Return type: [photos\_Photo](../types/photos_Photo.md) +### Return type: [photos.Photo](../types/photos.Photo.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$photos_Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, ]); +$photos.Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, ]); ``` Or, if you're into Lua: ```lua -photos_Photo = photos.uploadProfilePhoto({file=InputFile, }) +photos.Photo = photos.uploadProfilePhoto({file=InputFile, }) ``` ### Errors diff --git a/old_docs/API_docs_v105/methods/stickers.addStickerToSet.md b/old_docs/API_docs_v105/methods/stickers.addStickerToSet.md index 727d3f27..e8392355 100644 --- a/old_docs/API_docs_v105/methods/stickers.addStickerToSet.md +++ b/old_docs/API_docs_v105/methods/stickers.addStickerToSet.md @@ -17,7 +17,7 @@ Add a sticker to a stickerset, bots only. The sticker set must have been created |sticker|[InputStickerSetItem](../types/InputStickerSetItem.md) | The sticker | Yes| -### Return type: [messages\_StickerSet](../types/messages_StickerSet.md) +### Return type: [messages.StickerSet](../types/messages.StickerSet.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StickerSet = $MadelineProto->stickers->addStickerToSet(['stickerset' => InputStickerSet, 'sticker' => InputStickerSetItem, ]); +$messages.StickerSet = $MadelineProto->stickers->addStickerToSet(['stickerset' => InputStickerSet, 'sticker' => InputStickerSetItem, ]); ``` Or, if you're into Lua: ```lua -messages_StickerSet = stickers.addStickerToSet({stickerset=InputStickerSet, sticker=InputStickerSetItem, }) +messages.StickerSet = stickers.addStickerToSet({stickerset=InputStickerSet, sticker=InputStickerSetItem, }) ``` ### Errors diff --git a/old_docs/API_docs_v105/methods/stickers.changeStickerPosition.md b/old_docs/API_docs_v105/methods/stickers.changeStickerPosition.md index ed390f21..e1d8ab5e 100644 --- a/old_docs/API_docs_v105/methods/stickers.changeStickerPosition.md +++ b/old_docs/API_docs_v105/methods/stickers.changeStickerPosition.md @@ -17,7 +17,7 @@ Changes the absolute position of a sticker in the set to which it belongs; for b |position|[int](../types/int.md) | The new position of the sticker, zero-based | Yes| -### Return type: [messages\_StickerSet](../types/messages_StickerSet.md) +### Return type: [messages.StickerSet](../types/messages.StickerSet.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StickerSet = $MadelineProto->stickers->changeStickerPosition(['sticker' => InputDocument, 'position' => int, ]); +$messages.StickerSet = $MadelineProto->stickers->changeStickerPosition(['sticker' => InputDocument, 'position' => int, ]); ``` Or, if you're into Lua: ```lua -messages_StickerSet = stickers.changeStickerPosition({sticker=InputDocument, position=int, }) +messages.StickerSet = stickers.changeStickerPosition({sticker=InputDocument, position=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v105/methods/stickers.createStickerSet.md b/old_docs/API_docs_v105/methods/stickers.createStickerSet.md index 5a6ef396..7eeeb48f 100644 --- a/old_docs/API_docs_v105/methods/stickers.createStickerSet.md +++ b/old_docs/API_docs_v105/methods/stickers.createStickerSet.md @@ -20,7 +20,7 @@ Create a stickerset, bots only. |stickers|Array of [InputStickerSetItem](../types/InputStickerSetItem.md) | The stickers to add | Yes| -### Return type: [messages\_StickerSet](../types/messages_StickerSet.md) +### Return type: [messages.StickerSet](../types/messages.StickerSet.md) ### Can bots use this method: **YES** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StickerSet = $MadelineProto->stickers->createStickerSet(['masks' => Bool, 'user_id' => InputUser, 'title' => 'string', 'short_name' => 'string', 'stickers' => [InputStickerSetItem, InputStickerSetItem], ]); +$messages.StickerSet = $MadelineProto->stickers->createStickerSet(['masks' => Bool, 'user_id' => InputUser, 'title' => 'string', 'short_name' => 'string', 'stickers' => [InputStickerSetItem, InputStickerSetItem], ]); ``` Or, if you're into Lua: ```lua -messages_StickerSet = stickers.createStickerSet({masks=Bool, user_id=InputUser, title='string', short_name='string', stickers={InputStickerSetItem}, }) +messages.StickerSet = stickers.createStickerSet({masks=Bool, user_id=InputUser, title='string', short_name='string', stickers={InputStickerSetItem}, }) ``` ### Errors diff --git a/old_docs/API_docs_v105/methods/stickers.removeStickerFromSet.md b/old_docs/API_docs_v105/methods/stickers.removeStickerFromSet.md index 33f677b3..aa4927ca 100644 --- a/old_docs/API_docs_v105/methods/stickers.removeStickerFromSet.md +++ b/old_docs/API_docs_v105/methods/stickers.removeStickerFromSet.md @@ -16,7 +16,7 @@ Remove a sticker from the set where it belongs, bots only. The sticker set must |sticker|[MessageMedia, Update, Message or InputDocument](../types/InputDocument.md) | The sticker to remove | Optional| -### Return type: [messages\_StickerSet](../types/messages_StickerSet.md) +### Return type: [messages.StickerSet](../types/messages.StickerSet.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StickerSet = $MadelineProto->stickers->removeStickerFromSet(['sticker' => InputDocument, ]); +$messages.StickerSet = $MadelineProto->stickers->removeStickerFromSet(['sticker' => InputDocument, ]); ``` Or, if you're into Lua: ```lua -messages_StickerSet = stickers.removeStickerFromSet({sticker=InputDocument, }) +messages.StickerSet = stickers.removeStickerFromSet({sticker=InputDocument, }) ``` ### Errors diff --git a/old_docs/API_docs_v105/methods/updates.getChannelDifference.md b/old_docs/API_docs_v105/methods/updates.getChannelDifference.md index 5675cd33..08df3395 100644 --- a/old_docs/API_docs_v105/methods/updates.getChannelDifference.md +++ b/old_docs/API_docs_v105/methods/updates.getChannelDifference.md @@ -20,7 +20,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz for more |limit|[int](../types/int.md) | You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates | Yes| -### Return type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) +### Return type: [updates.ChannelDifference](../types/updates.ChannelDifference.md) ### Can bots use this method: **YES** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$updates_ChannelDifference = $MadelineProto->updates->getChannelDifference(['force' => Bool, 'channel' => InputChannel, 'filter' => ChannelMessagesFilter, 'pts' => int, 'limit' => int, ]); +$updates.ChannelDifference = $MadelineProto->updates->getChannelDifference(['force' => Bool, 'channel' => InputChannel, 'filter' => ChannelMessagesFilter, 'pts' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -updates_ChannelDifference = updates.getChannelDifference({force=Bool, channel=InputChannel, filter=ChannelMessagesFilter, pts=int, limit=int, }) +updates.ChannelDifference = updates.getChannelDifference({force=Bool, channel=InputChannel, filter=ChannelMessagesFilter, pts=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v105/methods/updates.getDifference.md b/old_docs/API_docs_v105/methods/updates.getDifference.md index bcfac4e2..b3796a10 100644 --- a/old_docs/API_docs_v105/methods/updates.getDifference.md +++ b/old_docs/API_docs_v105/methods/updates.getDifference.md @@ -19,7 +19,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz for more |qts|[int](../types/int.md) | You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates | Yes| -### Return type: [updates\_Difference](../types/updates_Difference.md) +### Return type: [updates.Difference](../types/updates.Difference.md) ### Can bots use this method: **YES** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$updates_Difference = $MadelineProto->updates->getDifference(['pts' => int, 'pts_total_limit' => int, 'date' => int, 'qts' => int, ]); +$updates.Difference = $MadelineProto->updates->getDifference(['pts' => int, 'pts_total_limit' => int, 'date' => int, 'qts' => int, ]); ``` Or, if you're into Lua: ```lua -updates_Difference = updates.getDifference({pts=int, pts_total_limit=int, date=int, qts=int, }) +updates.Difference = updates.getDifference({pts=int, pts_total_limit=int, date=int, qts=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v105/methods/updates.getState.md b/old_docs/API_docs_v105/methods/updates.getState.md index c591408a..9a7d2f34 100644 --- a/old_docs/API_docs_v105/methods/updates.getState.md +++ b/old_docs/API_docs_v105/methods/updates.getState.md @@ -11,7 +11,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz for more -### Return type: [updates\_State](../types/updates_State.md) +### Return type: [updates.State](../types/updates.State.md) ### Can bots use this method: **YES** @@ -28,13 +28,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$updates_State = $MadelineProto->updates->getState(); +$updates.State = $MadelineProto->updates->getState(); ``` Or, if you're into Lua: ```lua -updates_State = updates.getState({}) +updates.State = updates.getState({}) ``` ### Errors diff --git a/old_docs/API_docs_v105/methods/upload.getCdnFile.md b/old_docs/API_docs_v105/methods/upload.getCdnFile.md index a3c928b2..67b2e84e 100644 --- a/old_docs/API_docs_v105/methods/upload.getCdnFile.md +++ b/old_docs/API_docs_v105/methods/upload.getCdnFile.md @@ -18,7 +18,7 @@ You cannot use this method directly, use the upload, downloadToStream, downloadT |limit|[int](../types/int.md) | You cannot use this method directly, use the upload, downloadToStream, downloadToFile, downloadToDir methods instead; see https://docs.madelineproto.xyz for more info | Yes| -### Return type: [upload\_CdnFile](../types/upload_CdnFile.md) +### Return type: [upload.CdnFile](../types/upload.CdnFile.md) ### Can bots use this method: **NO** @@ -35,12 +35,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$upload_CdnFile = $MadelineProto->upload->getCdnFile(['file_token' => 'bytes', 'offset' => int, 'limit' => int, ]); +$upload.CdnFile = $MadelineProto->upload->getCdnFile(['file_token' => 'bytes', 'offset' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -upload_CdnFile = upload.getCdnFile({file_token='bytes', offset=int, limit=int, }) +upload.CdnFile = upload.getCdnFile({file_token='bytes', offset=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v105/methods/upload.getFile.md b/old_docs/API_docs_v105/methods/upload.getFile.md index a160e7f8..9789c3dd 100644 --- a/old_docs/API_docs_v105/methods/upload.getFile.md +++ b/old_docs/API_docs_v105/methods/upload.getFile.md @@ -19,7 +19,7 @@ You cannot use this method directly, use the upload, downloadToStream, downloadT |limit|[int](../types/int.md) | You cannot use this method directly, use the upload, downloadToStream, downloadToFile, downloadToDir methods instead; see https://docs.madelineproto.xyz for more info | Yes| -### Return type: [upload\_File](../types/upload_File.md) +### Return type: [upload.File](../types/upload.File.md) ### Can bots use this method: **YES** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$upload_File = $MadelineProto->upload->getFile(['precise' => Bool, 'location' => InputFileLocation, 'offset' => int, 'limit' => int, ]); +$upload.File = $MadelineProto->upload->getFile(['precise' => Bool, 'location' => InputFileLocation, 'offset' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -upload_File = upload.getFile({precise=Bool, location=InputFileLocation, offset=int, limit=int, }) +upload.File = upload.getFile({precise=Bool, location=InputFileLocation, offset=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v105/methods/upload.getWebFile.md b/old_docs/API_docs_v105/methods/upload.getWebFile.md index 32f6b322..60f1b8c1 100644 --- a/old_docs/API_docs_v105/methods/upload.getWebFile.md +++ b/old_docs/API_docs_v105/methods/upload.getWebFile.md @@ -18,7 +18,7 @@ Returns content of an HTTP file or a part, by proxying the request through teleg |limit|[int](../types/int.md) | Number of bytes to be returned | Yes| -### Return type: [upload\_WebFile](../types/upload_WebFile.md) +### Return type: [upload.WebFile](../types/upload.WebFile.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$upload_WebFile = $MadelineProto->upload->getWebFile(['location' => InputWebFileLocation, 'offset' => int, 'limit' => int, ]); +$upload.WebFile = $MadelineProto->upload->getWebFile(['location' => InputWebFileLocation, 'offset' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -upload_WebFile = upload.getWebFile({location=InputWebFileLocation, offset=int, limit=int, }) +upload.WebFile = upload.getWebFile({location=InputWebFileLocation, offset=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v105/types/AccountDaysTTL.md b/old_docs/API_docs_v105/types/AccountDaysTTL.md index 12a10190..f3494aac 100644 --- a/old_docs/API_docs_v105/types/AccountDaysTTL.md +++ b/old_docs/API_docs_v105/types/AccountDaysTTL.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->account->getAccountTTL](../methods/account_getAccountTTL.md) +[$MadelineProto->account->getAccountTTL](../methods/account.getAccountTTL.md) diff --git a/old_docs/API_docs_v105/types/CdnConfig.md b/old_docs/API_docs_v105/types/CdnConfig.md index fbfe01c3..0b0fb5be 100644 --- a/old_docs/API_docs_v105/types/CdnConfig.md +++ b/old_docs/API_docs_v105/types/CdnConfig.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->help->getCdnConfig](../methods/help_getCdnConfig.md) +[$MadelineProto->help->getCdnConfig](../methods/help.getCdnConfig.md) diff --git a/old_docs/API_docs_v105/types/ChatInvite.md b/old_docs/API_docs_v105/types/ChatInvite.md index 5022a2f0..9fafabb4 100644 --- a/old_docs/API_docs_v105/types/ChatInvite.md +++ b/old_docs/API_docs_v105/types/ChatInvite.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->checkChatInvite](../methods/messages_checkChatInvite.md) +[$MadelineProto->messages->checkChatInvite](../methods/messages.checkChatInvite.md) diff --git a/old_docs/API_docs_v105/types/ChatOnlines.md b/old_docs/API_docs_v105/types/ChatOnlines.md index 5faf4a6e..e5646dd6 100644 --- a/old_docs/API_docs_v105/types/ChatOnlines.md +++ b/old_docs/API_docs_v105/types/ChatOnlines.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getOnlines](../methods/messages_getOnlines.md) +[$MadelineProto->messages->getOnlines](../methods/messages.getOnlines.md) diff --git a/old_docs/API_docs_v105/types/Config.md b/old_docs/API_docs_v105/types/Config.md index 0f7fbe70..3a23b7b7 100644 --- a/old_docs/API_docs_v105/types/Config.md +++ b/old_docs/API_docs_v105/types/Config.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->help->getConfig](../methods/help_getConfig.md) +[$MadelineProto->help->getConfig](../methods/help.getConfig.md) diff --git a/old_docs/API_docs_v105/types/ContactStatus.md b/old_docs/API_docs_v105/types/ContactStatus.md index c5f5d658..30aee6e2 100644 --- a/old_docs/API_docs_v105/types/ContactStatus.md +++ b/old_docs/API_docs_v105/types/ContactStatus.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->contacts->getStatuses](../methods/contacts_getStatuses.md) +[$MadelineProto->contacts->getStatuses](../methods/contacts.getStatuses.md) diff --git a/old_docs/API_docs_v105/types/DialogPeer.md b/old_docs/API_docs_v105/types/DialogPeer.md index 1f86eb1c..18b145b0 100644 --- a/old_docs/API_docs_v105/types/DialogPeer.md +++ b/old_docs/API_docs_v105/types/DialogPeer.md @@ -42,7 +42,7 @@ A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDia ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getDialogUnreadMarks](../methods/messages_getDialogUnreadMarks.md) +[$MadelineProto->messages->getDialogUnreadMarks](../methods/messages.getDialogUnreadMarks.md) diff --git a/old_docs/API_docs_v105/types/Document.md b/old_docs/API_docs_v105/types/Document.md index bd178164..8f0843ad 100644 --- a/old_docs/API_docs_v105/types/Document.md +++ b/old_docs/API_docs_v105/types/Document.md @@ -18,9 +18,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->account->uploadTheme](../methods/account_uploadTheme.md) +[$MadelineProto->account->uploadTheme](../methods/account.uploadTheme.md) -[$MadelineProto->messages->getDocumentByHash](../methods/messages_getDocumentByHash.md) +[$MadelineProto->messages->getDocumentByHash](../methods/messages.getDocumentByHash.md) diff --git a/old_docs/API_docs_v105/types/EmojiKeywordsDifference.md b/old_docs/API_docs_v105/types/EmojiKeywordsDifference.md index 8dc7d309..1282c000 100644 --- a/old_docs/API_docs_v105/types/EmojiKeywordsDifference.md +++ b/old_docs/API_docs_v105/types/EmojiKeywordsDifference.md @@ -16,9 +16,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getEmojiKeywords](../methods/messages_getEmojiKeywords.md) +[$MadelineProto->messages->getEmojiKeywords](../methods/messages.getEmojiKeywords.md) -[$MadelineProto->messages->getEmojiKeywordsDifference](../methods/messages_getEmojiKeywordsDifference.md) +[$MadelineProto->messages->getEmojiKeywordsDifference](../methods/messages.getEmojiKeywordsDifference.md) diff --git a/old_docs/API_docs_v105/types/EmojiLanguage.md b/old_docs/API_docs_v105/types/EmojiLanguage.md index 1d5f1214..5ff98ac3 100644 --- a/old_docs/API_docs_v105/types/EmojiLanguage.md +++ b/old_docs/API_docs_v105/types/EmojiLanguage.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getEmojiKeywordsLanguages](../methods/messages_getEmojiKeywordsLanguages.md) +[$MadelineProto->messages->getEmojiKeywordsLanguages](../methods/messages.getEmojiKeywordsLanguages.md) diff --git a/old_docs/API_docs_v105/types/EmojiURL.md b/old_docs/API_docs_v105/types/EmojiURL.md index f9c636d0..c2fc469d 100644 --- a/old_docs/API_docs_v105/types/EmojiURL.md +++ b/old_docs/API_docs_v105/types/EmojiURL.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getEmojiURL](../methods/messages_getEmojiURL.md) +[$MadelineProto->messages->getEmojiURL](../methods/messages.getEmojiURL.md) diff --git a/old_docs/API_docs_v105/types/EncryptedChat.md b/old_docs/API_docs_v105/types/EncryptedChat.md index fd2277f6..19cf52b0 100644 --- a/old_docs/API_docs_v105/types/EncryptedChat.md +++ b/old_docs/API_docs_v105/types/EncryptedChat.md @@ -24,9 +24,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->requestEncryption](../methods/messages_requestEncryption.md) +[$MadelineProto->messages->requestEncryption](../methods/messages.requestEncryption.md) -[$MadelineProto->messages->acceptEncryption](../methods/messages_acceptEncryption.md) +[$MadelineProto->messages->acceptEncryption](../methods/messages.acceptEncryption.md) diff --git a/old_docs/API_docs_v105/types/EncryptedFile.md b/old_docs/API_docs_v105/types/EncryptedFile.md index a26d40bb..8ecf8e9d 100644 --- a/old_docs/API_docs_v105/types/EncryptedFile.md +++ b/old_docs/API_docs_v105/types/EncryptedFile.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->uploadEncryptedFile](../methods/messages_uploadEncryptedFile.md) +[$MadelineProto->messages->uploadEncryptedFile](../methods/messages.uploadEncryptedFile.md) diff --git a/old_docs/API_docs_v105/types/ExportedChatInvite.md b/old_docs/API_docs_v105/types/ExportedChatInvite.md index 16a273d1..f5a43739 100644 --- a/old_docs/API_docs_v105/types/ExportedChatInvite.md +++ b/old_docs/API_docs_v105/types/ExportedChatInvite.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->exportChatInvite](../methods/messages_exportChatInvite.md) +[$MadelineProto->messages->exportChatInvite](../methods/messages.exportChatInvite.md) diff --git a/old_docs/API_docs_v105/types/ExportedMessageLink.md b/old_docs/API_docs_v105/types/ExportedMessageLink.md index eb2400f6..948e9c90 100644 --- a/old_docs/API_docs_v105/types/ExportedMessageLink.md +++ b/old_docs/API_docs_v105/types/ExportedMessageLink.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->channels->exportMessageLink](../methods/channels_exportMessageLink.md) +[$MadelineProto->channels->exportMessageLink](../methods/channels.exportMessageLink.md) diff --git a/old_docs/API_docs_v105/types/FileHash.md b/old_docs/API_docs_v105/types/FileHash.md index 3201d7e0..a908fb9b 100644 --- a/old_docs/API_docs_v105/types/FileHash.md +++ b/old_docs/API_docs_v105/types/FileHash.md @@ -16,11 +16,11 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->upload->reuploadCdnFile](../methods/upload_reuploadCdnFile.md) +[$MadelineProto->upload->reuploadCdnFile](../methods/upload.reuploadCdnFile.md) -[$MadelineProto->upload->getCdnFileHashes](../methods/upload_getCdnFileHashes.md) +[$MadelineProto->upload->getCdnFileHashes](../methods/upload.getCdnFileHashes.md) -[$MadelineProto->upload->getFileHashes](../methods/upload_getFileHashes.md) +[$MadelineProto->upload->getFileHashes](../methods/upload.getFileHashes.md) diff --git a/old_docs/API_docs_v105/types/JSONValue.md b/old_docs/API_docs_v105/types/JSONValue.md index eed45486..83527ab0 100644 --- a/old_docs/API_docs_v105/types/JSONValue.md +++ b/old_docs/API_docs_v105/types/JSONValue.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->help->getAppConfig](../methods/help_getAppConfig.md) +[$MadelineProto->help->getAppConfig](../methods/help.getAppConfig.md) diff --git a/old_docs/API_docs_v105/types/LangPackDifference.md b/old_docs/API_docs_v105/types/LangPackDifference.md index fd9f41f2..e04125b8 100644 --- a/old_docs/API_docs_v105/types/LangPackDifference.md +++ b/old_docs/API_docs_v105/types/LangPackDifference.md @@ -16,9 +16,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->langpack->getLangPack](../methods/langpack_getLangPack.md) +[$MadelineProto->langpack->getLangPack](../methods/langpack.getLangPack.md) -[$MadelineProto->langpack->getDifference](../methods/langpack_getDifference.md) +[$MadelineProto->langpack->getDifference](../methods/langpack.getDifference.md) diff --git a/old_docs/API_docs_v105/types/LangPackLanguage.md b/old_docs/API_docs_v105/types/LangPackLanguage.md index f6559af9..74c7172d 100644 --- a/old_docs/API_docs_v105/types/LangPackLanguage.md +++ b/old_docs/API_docs_v105/types/LangPackLanguage.md @@ -16,9 +16,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->langpack->getLanguages](../methods/langpack_getLanguages.md) +[$MadelineProto->langpack->getLanguages](../methods/langpack.getLanguages.md) -[$MadelineProto->langpack->getLanguage](../methods/langpack_getLanguage.md) +[$MadelineProto->langpack->getLanguage](../methods/langpack.getLanguage.md) diff --git a/old_docs/API_docs_v105/types/LangPackString.md b/old_docs/API_docs_v105/types/LangPackString.md index f1a43dd9..15f9dc3d 100644 --- a/old_docs/API_docs_v105/types/LangPackString.md +++ b/old_docs/API_docs_v105/types/LangPackString.md @@ -20,7 +20,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->langpack->getStrings](../methods/langpack_getStrings.md) +[$MadelineProto->langpack->getStrings](../methods/langpack.getStrings.md) diff --git a/old_docs/API_docs_v105/types/MessageMedia.md b/old_docs/API_docs_v105/types/MessageMedia.md index 51aa795e..36602552 100644 --- a/old_docs/API_docs_v105/types/MessageMedia.md +++ b/old_docs/API_docs_v105/types/MessageMedia.md @@ -38,9 +38,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getWebPagePreview](../methods/messages_getWebPagePreview.md) +[$MadelineProto->messages->getWebPagePreview](../methods/messages.getWebPagePreview.md) -[$MadelineProto->messages->uploadMedia](../methods/messages_uploadMedia.md) +[$MadelineProto->messages->uploadMedia](../methods/messages.uploadMedia.md) diff --git a/old_docs/API_docs_v105/types/MessageRange.md b/old_docs/API_docs_v105/types/MessageRange.md index c93011aa..ffd65e90 100644 --- a/old_docs/API_docs_v105/types/MessageRange.md +++ b/old_docs/API_docs_v105/types/MessageRange.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getSplitRanges](../methods/messages_getSplitRanges.md) +[$MadelineProto->messages->getSplitRanges](../methods/messages.getSplitRanges.md) diff --git a/old_docs/API_docs_v105/types/NearestDc.md b/old_docs/API_docs_v105/types/NearestDc.md index 31f24377..296a4dff 100644 --- a/old_docs/API_docs_v105/types/NearestDc.md +++ b/old_docs/API_docs_v105/types/NearestDc.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->help->getNearestDc](../methods/help_getNearestDc.md) +[$MadelineProto->help->getNearestDc](../methods/help.getNearestDc.md) diff --git a/old_docs/API_docs_v105/types/PeerNotifySettings.md b/old_docs/API_docs_v105/types/PeerNotifySettings.md index ecb483c5..d3b4833c 100644 --- a/old_docs/API_docs_v105/types/PeerNotifySettings.md +++ b/old_docs/API_docs_v105/types/PeerNotifySettings.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->account->getNotifySettings](../methods/account_getNotifySettings.md) +[$MadelineProto->account->getNotifySettings](../methods/account.getNotifySettings.md) diff --git a/old_docs/API_docs_v105/types/PeerSettings.md b/old_docs/API_docs_v105/types/PeerSettings.md index 60ac3765..31ef7e38 100644 --- a/old_docs/API_docs_v105/types/PeerSettings.md +++ b/old_docs/API_docs_v105/types/PeerSettings.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getPeerSettings](../methods/messages_getPeerSettings.md) +[$MadelineProto->messages->getPeerSettings](../methods/messages.getPeerSettings.md) diff --git a/old_docs/API_docs_v105/types/README.md b/old_docs/API_docs_v105/types/README.md index 3d6516b8..b17ca586 100644 --- a/old_docs/API_docs_v105/types/README.md +++ b/old_docs/API_docs_v105/types/README.md @@ -389,167 +389,167 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png [X](X.md) -[account\_AuthorizationForm](account_AuthorizationForm.md) +[account.AuthorizationForm](account.AuthorizationForm.md) -[account\_Authorizations](account_Authorizations.md) +[account.Authorizations](account.Authorizations.md) -[account\_AutoDownloadSettings](account_AutoDownloadSettings.md) +[account.AutoDownloadSettings](account.AutoDownloadSettings.md) -[account\_Password](account_Password.md) +[account.Password](account.Password.md) -[account\_PasswordInputSettings](account_PasswordInputSettings.md) +[account.PasswordInputSettings](account.PasswordInputSettings.md) -[account\_PasswordSettings](account_PasswordSettings.md) +[account.PasswordSettings](account.PasswordSettings.md) -[account\_PrivacyRules](account_PrivacyRules.md) +[account.PrivacyRules](account.PrivacyRules.md) -[account\_SentEmailCode](account_SentEmailCode.md) +[account.SentEmailCode](account.SentEmailCode.md) -[account\_Takeout](account_Takeout.md) +[account.Takeout](account.Takeout.md) -[account\_Themes](account_Themes.md) +[account.Themes](account.Themes.md) -[account\_TmpPassword](account_TmpPassword.md) +[account.TmpPassword](account.TmpPassword.md) -[account\_WallPapers](account_WallPapers.md) +[account.WallPapers](account.WallPapers.md) -[account\_WebAuthorizations](account_WebAuthorizations.md) +[account.WebAuthorizations](account.WebAuthorizations.md) -[auth\_Authorization](auth_Authorization.md) +[auth.Authorization](auth.Authorization.md) -[auth\_CodeType](auth_CodeType.md) +[auth.CodeType](auth.CodeType.md) -[auth\_ExportedAuthorization](auth_ExportedAuthorization.md) +[auth.ExportedAuthorization](auth.ExportedAuthorization.md) -[auth\_PasswordRecovery](auth_PasswordRecovery.md) +[auth.PasswordRecovery](auth.PasswordRecovery.md) -[auth\_SentCode](auth_SentCode.md) +[auth.SentCode](auth.SentCode.md) -[auth\_SentCodeType](auth_SentCodeType.md) +[auth.SentCodeType](auth.SentCodeType.md) -[channels\_AdminLogResults](channels_AdminLogResults.md) +[channels.AdminLogResults](channels.AdminLogResults.md) -[channels\_ChannelParticipant](channels_ChannelParticipant.md) +[channels.ChannelParticipant](channels.ChannelParticipant.md) -[channels\_ChannelParticipants](channels_ChannelParticipants.md) +[channels.ChannelParticipants](channels.ChannelParticipants.md) -[contacts\_Blocked](contacts_Blocked.md) +[contacts.Blocked](contacts.Blocked.md) -[contacts\_Contacts](contacts_Contacts.md) +[contacts.Contacts](contacts.Contacts.md) -[contacts\_Found](contacts_Found.md) +[contacts.Found](contacts.Found.md) -[contacts\_ImportedContacts](contacts_ImportedContacts.md) +[contacts.ImportedContacts](contacts.ImportedContacts.md) -[contacts\_ResolvedPeer](contacts_ResolvedPeer.md) +[contacts.ResolvedPeer](contacts.ResolvedPeer.md) -[contacts\_TopPeers](contacts_TopPeers.md) +[contacts.TopPeers](contacts.TopPeers.md) -[help\_AppUpdate](help_AppUpdate.md) +[help.AppUpdate](help.AppUpdate.md) -[help\_ConfigSimple](help_ConfigSimple.md) +[help.ConfigSimple](help.ConfigSimple.md) -[help\_DeepLinkInfo](help_DeepLinkInfo.md) +[help.DeepLinkInfo](help.DeepLinkInfo.md) -[help\_InviteText](help_InviteText.md) +[help.InviteText](help.InviteText.md) -[help\_PassportConfig](help_PassportConfig.md) +[help.PassportConfig](help.PassportConfig.md) -[help\_ProxyData](help_ProxyData.md) +[help.ProxyData](help.ProxyData.md) -[help\_RecentMeUrls](help_RecentMeUrls.md) +[help.RecentMeUrls](help.RecentMeUrls.md) -[help\_Support](help_Support.md) +[help.Support](help.Support.md) -[help\_SupportName](help_SupportName.md) +[help.SupportName](help.SupportName.md) -[help\_TermsOfService](help_TermsOfService.md) +[help.TermsOfService](help.TermsOfService.md) -[help\_TermsOfServiceUpdate](help_TermsOfServiceUpdate.md) +[help.TermsOfServiceUpdate](help.TermsOfServiceUpdate.md) -[help\_UserInfo](help_UserInfo.md) +[help.UserInfo](help.UserInfo.md) [int](int.md) [long](long.md) -[messages\_AffectedHistory](messages_AffectedHistory.md) +[messages.AffectedHistory](messages.AffectedHistory.md) -[messages\_AffectedMessages](messages_AffectedMessages.md) +[messages.AffectedMessages](messages.AffectedMessages.md) -[messages\_AllStickers](messages_AllStickers.md) +[messages.AllStickers](messages.AllStickers.md) -[messages\_ArchivedStickers](messages_ArchivedStickers.md) +[messages.ArchivedStickers](messages.ArchivedStickers.md) -[messages\_BotCallbackAnswer](messages_BotCallbackAnswer.md) +[messages.BotCallbackAnswer](messages.BotCallbackAnswer.md) -[messages\_BotResults](messages_BotResults.md) +[messages.BotResults](messages.BotResults.md) -[messages\_ChatFull](messages_ChatFull.md) +[messages.ChatFull](messages.ChatFull.md) -[messages\_Chats](messages_Chats.md) +[messages.Chats](messages.Chats.md) -[messages\_DhConfig](messages_DhConfig.md) +[messages.DhConfig](messages.DhConfig.md) -[messages\_Dialogs](messages_Dialogs.md) +[messages.Dialogs](messages.Dialogs.md) -[messages\_FavedStickers](messages_FavedStickers.md) +[messages.FavedStickers](messages.FavedStickers.md) -[messages\_FeaturedStickers](messages_FeaturedStickers.md) +[messages.FeaturedStickers](messages.FeaturedStickers.md) -[messages\_FoundGifs](messages_FoundGifs.md) +[messages.FoundGifs](messages.FoundGifs.md) -[messages\_FoundStickerSets](messages_FoundStickerSets.md) +[messages.FoundStickerSets](messages.FoundStickerSets.md) -[messages\_HighScores](messages_HighScores.md) +[messages.HighScores](messages.HighScores.md) -[messages\_MessageEditData](messages_MessageEditData.md) +[messages.MessageEditData](messages.MessageEditData.md) -[messages\_Messages](messages_Messages.md) +[messages.Messages](messages.Messages.md) -[messages\_PeerDialogs](messages_PeerDialogs.md) +[messages.PeerDialogs](messages.PeerDialogs.md) -[messages\_RecentStickers](messages_RecentStickers.md) +[messages.RecentStickers](messages.RecentStickers.md) -[messages\_SavedGifs](messages_SavedGifs.md) +[messages.SavedGifs](messages.SavedGifs.md) -[messages\_SearchCounter](messages_SearchCounter.md) +[messages.SearchCounter](messages.SearchCounter.md) -[messages\_SentEncryptedMessage](messages_SentEncryptedMessage.md) +[messages.SentEncryptedMessage](messages.SentEncryptedMessage.md) -[messages\_StickerSet](messages_StickerSet.md) +[messages.StickerSet](messages.StickerSet.md) -[messages\_StickerSetInstallResult](messages_StickerSetInstallResult.md) +[messages.StickerSetInstallResult](messages.StickerSetInstallResult.md) -[messages\_Stickers](messages_Stickers.md) +[messages.Stickers](messages.Stickers.md) -[payments\_PaymentForm](payments_PaymentForm.md) +[payments.PaymentForm](payments.PaymentForm.md) -[payments\_PaymentReceipt](payments_PaymentReceipt.md) +[payments.PaymentReceipt](payments.PaymentReceipt.md) -[payments\_PaymentResult](payments_PaymentResult.md) +[payments.PaymentResult](payments.PaymentResult.md) -[payments\_SavedInfo](payments_SavedInfo.md) +[payments.SavedInfo](payments.SavedInfo.md) -[payments\_ValidatedRequestedInfo](payments_ValidatedRequestedInfo.md) +[payments.ValidatedRequestedInfo](payments.ValidatedRequestedInfo.md) -[phone\_PhoneCall](phone_PhoneCall.md) +[phone.PhoneCall](phone.PhoneCall.md) -[photos\_Photo](photos_Photo.md) +[photos.Photo](photos.Photo.md) -[photos\_Photos](photos_Photos.md) +[photos.Photos](photos.Photos.md) -[storage\_FileType](storage_FileType.md) +[storage.FileType](storage.FileType.md) -[updates\_ChannelDifference](updates_ChannelDifference.md) +[updates.ChannelDifference](updates.ChannelDifference.md) -[updates\_Difference](updates_Difference.md) +[updates.Difference](updates.Difference.md) -[updates\_State](updates_State.md) +[updates.State](updates.State.md) -[upload\_CdnFile](upload_CdnFile.md) +[upload.CdnFile](upload.CdnFile.md) -[upload\_File](upload_File.md) +[upload.File](upload.File.md) -[upload\_WebFile](upload_WebFile.md) +[upload.WebFile](upload.WebFile.md) diff --git a/old_docs/API_docs_v105/types/ReceivedNotifyMessage.md b/old_docs/API_docs_v105/types/ReceivedNotifyMessage.md index c7fc3b8c..416aa275 100644 --- a/old_docs/API_docs_v105/types/ReceivedNotifyMessage.md +++ b/old_docs/API_docs_v105/types/ReceivedNotifyMessage.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->receivedMessages](../methods/messages_receivedMessages.md) +[$MadelineProto->messages->receivedMessages](../methods/messages.receivedMessages.md) diff --git a/old_docs/API_docs_v105/types/SavedContact.md b/old_docs/API_docs_v105/types/SavedContact.md index c337f3eb..73a91ba6 100644 --- a/old_docs/API_docs_v105/types/SavedContact.md +++ b/old_docs/API_docs_v105/types/SavedContact.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->contacts->getSaved](../methods/contacts_getSaved.md) +[$MadelineProto->contacts->getSaved](../methods/contacts.getSaved.md) diff --git a/old_docs/API_docs_v105/types/SecureValue.md b/old_docs/API_docs_v105/types/SecureValue.md index 8490f399..2ab18f68 100644 --- a/old_docs/API_docs_v105/types/SecureValue.md +++ b/old_docs/API_docs_v105/types/SecureValue.md @@ -16,11 +16,11 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->account->getAllSecureValues](../methods/account_getAllSecureValues.md) +[$MadelineProto->account->getAllSecureValues](../methods/account.getAllSecureValues.md) -[$MadelineProto->account->getSecureValue](../methods/account_getSecureValue.md) +[$MadelineProto->account->getSecureValue](../methods/account.getSecureValue.md) -[$MadelineProto->account->saveSecureValue](../methods/account_saveSecureValue.md) +[$MadelineProto->account->saveSecureValue](../methods/account.saveSecureValue.md) diff --git a/old_docs/API_docs_v105/types/StatsURL.md b/old_docs/API_docs_v105/types/StatsURL.md index 1a2695cd..8704eed7 100644 --- a/old_docs/API_docs_v105/types/StatsURL.md +++ b/old_docs/API_docs_v105/types/StatsURL.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getStatsURL](../methods/messages_getStatsURL.md) +[$MadelineProto->messages->getStatsURL](../methods/messages.getStatsURL.md) diff --git a/old_docs/API_docs_v105/types/StickerSetCovered.md b/old_docs/API_docs_v105/types/StickerSetCovered.md index ffd1da1f..f57cd117 100644 --- a/old_docs/API_docs_v105/types/StickerSetCovered.md +++ b/old_docs/API_docs_v105/types/StickerSetCovered.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getAttachedStickers](../methods/messages_getAttachedStickers.md) +[$MadelineProto->messages->getAttachedStickers](../methods/messages.getAttachedStickers.md) diff --git a/old_docs/API_docs_v105/types/Theme.md b/old_docs/API_docs_v105/types/Theme.md index cc01d55e..6fee4443 100644 --- a/old_docs/API_docs_v105/types/Theme.md +++ b/old_docs/API_docs_v105/types/Theme.md @@ -18,11 +18,11 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->account->createTheme](../methods/account_createTheme.md) +[$MadelineProto->account->createTheme](../methods/account.createTheme.md) -[$MadelineProto->account->updateTheme](../methods/account_updateTheme.md) +[$MadelineProto->account->updateTheme](../methods/account.updateTheme.md) -[$MadelineProto->account->getTheme](../methods/account_getTheme.md) +[$MadelineProto->account->getTheme](../methods/account.getTheme.md) diff --git a/old_docs/API_docs_v105/types/Updates.md b/old_docs/API_docs_v105/types/Updates.md index 5b202d83..b856ba58 100644 --- a/old_docs/API_docs_v105/types/Updates.md +++ b/old_docs/API_docs_v105/types/Updates.md @@ -28,97 +28,97 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->account->getNotifyExceptions](../methods/account_getNotifyExceptions.md) +[$MadelineProto->account->getNotifyExceptions](../methods/account.getNotifyExceptions.md) -[$MadelineProto->contacts->deleteContacts](../methods/contacts_deleteContacts.md) +[$MadelineProto->contacts->deleteContacts](../methods/contacts.deleteContacts.md) -[$MadelineProto->contacts->addContact](../methods/contacts_addContact.md) +[$MadelineProto->contacts->addContact](../methods/contacts.addContact.md) -[$MadelineProto->contacts->acceptContact](../methods/contacts_acceptContact.md) +[$MadelineProto->contacts->acceptContact](../methods/contacts.acceptContact.md) -[$MadelineProto->contacts->getLocated](../methods/contacts_getLocated.md) +[$MadelineProto->contacts->getLocated](../methods/contacts.getLocated.md) -[$MadelineProto->messages->sendMessage](../methods/messages_sendMessage.md) +[$MadelineProto->messages->sendMessage](../methods/messages.sendMessage.md) -[$MadelineProto->messages->sendMedia](../methods/messages_sendMedia.md) +[$MadelineProto->messages->sendMedia](../methods/messages.sendMedia.md) -[$MadelineProto->messages->forwardMessages](../methods/messages_forwardMessages.md) +[$MadelineProto->messages->forwardMessages](../methods/messages.forwardMessages.md) -[$MadelineProto->messages->editChatTitle](../methods/messages_editChatTitle.md) +[$MadelineProto->messages->editChatTitle](../methods/messages.editChatTitle.md) -[$MadelineProto->messages->editChatPhoto](../methods/messages_editChatPhoto.md) +[$MadelineProto->messages->editChatPhoto](../methods/messages.editChatPhoto.md) -[$MadelineProto->messages->addChatUser](../methods/messages_addChatUser.md) +[$MadelineProto->messages->addChatUser](../methods/messages.addChatUser.md) -[$MadelineProto->messages->deleteChatUser](../methods/messages_deleteChatUser.md) +[$MadelineProto->messages->deleteChatUser](../methods/messages.deleteChatUser.md) -[$MadelineProto->messages->createChat](../methods/messages_createChat.md) +[$MadelineProto->messages->createChat](../methods/messages.createChat.md) -[$MadelineProto->messages->importChatInvite](../methods/messages_importChatInvite.md) +[$MadelineProto->messages->importChatInvite](../methods/messages.importChatInvite.md) -[$MadelineProto->messages->startBot](../methods/messages_startBot.md) +[$MadelineProto->messages->startBot](../methods/messages.startBot.md) -[$MadelineProto->messages->migrateChat](../methods/messages_migrateChat.md) +[$MadelineProto->messages->migrateChat](../methods/messages.migrateChat.md) -[$MadelineProto->messages->sendInlineBotResult](../methods/messages_sendInlineBotResult.md) +[$MadelineProto->messages->sendInlineBotResult](../methods/messages.sendInlineBotResult.md) -[$MadelineProto->messages->editMessage](../methods/messages_editMessage.md) +[$MadelineProto->messages->editMessage](../methods/messages.editMessage.md) -[$MadelineProto->messages->getAllDrafts](../methods/messages_getAllDrafts.md) +[$MadelineProto->messages->getAllDrafts](../methods/messages.getAllDrafts.md) -[$MadelineProto->messages->setGameScore](../methods/messages_setGameScore.md) +[$MadelineProto->messages->setGameScore](../methods/messages.setGameScore.md) -[$MadelineProto->messages->sendScreenshotNotification](../methods/messages_sendScreenshotNotification.md) +[$MadelineProto->messages->sendScreenshotNotification](../methods/messages.sendScreenshotNotification.md) -[$MadelineProto->messages->sendMultiMedia](../methods/messages_sendMultiMedia.md) +[$MadelineProto->messages->sendMultiMedia](../methods/messages.sendMultiMedia.md) -[$MadelineProto->messages->updatePinnedMessage](../methods/messages_updatePinnedMessage.md) +[$MadelineProto->messages->updatePinnedMessage](../methods/messages.updatePinnedMessage.md) -[$MadelineProto->messages->sendVote](../methods/messages_sendVote.md) +[$MadelineProto->messages->sendVote](../methods/messages.sendVote.md) -[$MadelineProto->messages->getPollResults](../methods/messages_getPollResults.md) +[$MadelineProto->messages->getPollResults](../methods/messages.getPollResults.md) -[$MadelineProto->messages->editChatDefaultBannedRights](../methods/messages_editChatDefaultBannedRights.md) +[$MadelineProto->messages->editChatDefaultBannedRights](../methods/messages.editChatDefaultBannedRights.md) -[$MadelineProto->messages->sendScheduledMessages](../methods/messages_sendScheduledMessages.md) +[$MadelineProto->messages->sendScheduledMessages](../methods/messages.sendScheduledMessages.md) -[$MadelineProto->messages->deleteScheduledMessages](../methods/messages_deleteScheduledMessages.md) +[$MadelineProto->messages->deleteScheduledMessages](../methods/messages.deleteScheduledMessages.md) -[$MadelineProto->help->getAppChangelog](../methods/help_getAppChangelog.md) +[$MadelineProto->help->getAppChangelog](../methods/help.getAppChangelog.md) -[$MadelineProto->channels->createChannel](../methods/channels_createChannel.md) +[$MadelineProto->channels->createChannel](../methods/channels.createChannel.md) -[$MadelineProto->channels->editAdmin](../methods/channels_editAdmin.md) +[$MadelineProto->channels->editAdmin](../methods/channels.editAdmin.md) -[$MadelineProto->channels->editTitle](../methods/channels_editTitle.md) +[$MadelineProto->channels->editTitle](../methods/channels.editTitle.md) -[$MadelineProto->channels->editPhoto](../methods/channels_editPhoto.md) +[$MadelineProto->channels->editPhoto](../methods/channels.editPhoto.md) -[$MadelineProto->channels->joinChannel](../methods/channels_joinChannel.md) +[$MadelineProto->channels->joinChannel](../methods/channels.joinChannel.md) -[$MadelineProto->channels->leaveChannel](../methods/channels_leaveChannel.md) +[$MadelineProto->channels->leaveChannel](../methods/channels.leaveChannel.md) -[$MadelineProto->channels->inviteToChannel](../methods/channels_inviteToChannel.md) +[$MadelineProto->channels->inviteToChannel](../methods/channels.inviteToChannel.md) -[$MadelineProto->channels->deleteChannel](../methods/channels_deleteChannel.md) +[$MadelineProto->channels->deleteChannel](../methods/channels.deleteChannel.md) -[$MadelineProto->channels->toggleSignatures](../methods/channels_toggleSignatures.md) +[$MadelineProto->channels->toggleSignatures](../methods/channels.toggleSignatures.md) -[$MadelineProto->channels->editBanned](../methods/channels_editBanned.md) +[$MadelineProto->channels->editBanned](../methods/channels.editBanned.md) -[$MadelineProto->channels->togglePreHistoryHidden](../methods/channels_togglePreHistoryHidden.md) +[$MadelineProto->channels->togglePreHistoryHidden](../methods/channels.togglePreHistoryHidden.md) -[$MadelineProto->channels->editCreator](../methods/channels_editCreator.md) +[$MadelineProto->channels->editCreator](../methods/channels.editCreator.md) -[$MadelineProto->channels->toggleSlowMode](../methods/channels_toggleSlowMode.md) +[$MadelineProto->channels->toggleSlowMode](../methods/channels.toggleSlowMode.md) -[$MadelineProto->phone->discardCall](../methods/phone_discardCall.md) +[$MadelineProto->phone->discardCall](../methods/phone.discardCall.md) -[$MadelineProto->phone->setCallRating](../methods/phone_setCallRating.md) +[$MadelineProto->phone->setCallRating](../methods/phone.setCallRating.md) -[$MadelineProto->folders->editPeerFolders](../methods/folders_editPeerFolders.md) +[$MadelineProto->folders->editPeerFolders](../methods/folders.editPeerFolders.md) -[$MadelineProto->folders->deleteFolder](../methods/folders_deleteFolder.md) +[$MadelineProto->folders->deleteFolder](../methods/folders.deleteFolder.md) diff --git a/old_docs/API_docs_v105/types/UrlAuthResult.md b/old_docs/API_docs_v105/types/UrlAuthResult.md index de129235..9533c912 100644 --- a/old_docs/API_docs_v105/types/UrlAuthResult.md +++ b/old_docs/API_docs_v105/types/UrlAuthResult.md @@ -20,9 +20,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->requestUrlAuth](../methods/messages_requestUrlAuth.md) +[$MadelineProto->messages->requestUrlAuth](../methods/messages.requestUrlAuth.md) -[$MadelineProto->messages->acceptUrlAuth](../methods/messages_acceptUrlAuth.md) +[$MadelineProto->messages->acceptUrlAuth](../methods/messages.acceptUrlAuth.md) diff --git a/old_docs/API_docs_v105/types/User.md b/old_docs/API_docs_v105/types/User.md index 49c9af72..0d20e320 100644 --- a/old_docs/API_docs_v105/types/User.md +++ b/old_docs/API_docs_v105/types/User.md @@ -42,13 +42,13 @@ A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDia ### Methods that return an object of this type (methods): -[$MadelineProto->account->updateProfile](../methods/account_updateProfile.md) +[$MadelineProto->account->updateProfile](../methods/account.updateProfile.md) -[$MadelineProto->account->updateUsername](../methods/account_updateUsername.md) +[$MadelineProto->account->updateUsername](../methods/account.updateUsername.md) -[$MadelineProto->account->changePhone](../methods/account_changePhone.md) +[$MadelineProto->account->changePhone](../methods/account.changePhone.md) -[$MadelineProto->users->getUsers](../methods/users_getUsers.md) +[$MadelineProto->users->getUsers](../methods/users.getUsers.md) diff --git a/old_docs/API_docs_v105/types/UserFull.md b/old_docs/API_docs_v105/types/UserFull.md index 79ad30bb..ac50052f 100644 --- a/old_docs/API_docs_v105/types/UserFull.md +++ b/old_docs/API_docs_v105/types/UserFull.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->users->getFullUser](../methods/users_getFullUser.md) +[$MadelineProto->users->getFullUser](../methods/users.getFullUser.md) diff --git a/old_docs/API_docs_v105/types/UserProfilePhoto.md b/old_docs/API_docs_v105/types/UserProfilePhoto.md index e5243a2e..e81e92fd 100644 --- a/old_docs/API_docs_v105/types/UserProfilePhoto.md +++ b/old_docs/API_docs_v105/types/UserProfilePhoto.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->photos->updateProfilePhoto](../methods/photos_updateProfilePhoto.md) +[$MadelineProto->photos->updateProfilePhoto](../methods/photos.updateProfilePhoto.md) diff --git a/old_docs/API_docs_v105/types/WallPaper.md b/old_docs/API_docs_v105/types/WallPaper.md index ccaafe2f..89033d7e 100644 --- a/old_docs/API_docs_v105/types/WallPaper.md +++ b/old_docs/API_docs_v105/types/WallPaper.md @@ -16,9 +16,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->account->getWallPaper](../methods/account_getWallPaper.md) +[$MadelineProto->account->getWallPaper](../methods/account.getWallPaper.md) -[$MadelineProto->account->uploadWallPaper](../methods/account_uploadWallPaper.md) +[$MadelineProto->account->uploadWallPaper](../methods/account.uploadWallPaper.md) diff --git a/old_docs/API_docs_v105/types/WebPage.md b/old_docs/API_docs_v105/types/WebPage.md index a3df791f..f6b61c5e 100644 --- a/old_docs/API_docs_v105/types/WebPage.md +++ b/old_docs/API_docs_v105/types/WebPage.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getWebPage](../methods/messages_getWebPage.md) +[$MadelineProto->messages->getWebPage](../methods/messages.getWebPage.md) diff --git a/old_docs/API_docs_v105/types/account.AuthorizationForm.md b/old_docs/API_docs_v105/types/account.AuthorizationForm.md new file mode 100644 index 00000000..860ff40f --- /dev/null +++ b/old_docs/API_docs_v105/types/account.AuthorizationForm.md @@ -0,0 +1,22 @@ +--- +title: account.AuthorizationForm +description: constructors and methods of type account.AuthorizationForm +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.AuthorizationForm +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.authorizationForm](../constructors/account.authorizationForm.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getAuthorizationForm](../methods/account.getAuthorizationForm.md) + + + diff --git a/old_docs/API_docs_v105/types/account.Authorizations.md b/old_docs/API_docs_v105/types/account.Authorizations.md new file mode 100644 index 00000000..f9112038 --- /dev/null +++ b/old_docs/API_docs_v105/types/account.Authorizations.md @@ -0,0 +1,22 @@ +--- +title: account.Authorizations +description: constructors and methods of type account.Authorizations +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.Authorizations +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.authorizations](../constructors/account.authorizations.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getAuthorizations](../methods/account.getAuthorizations.md) + + + diff --git a/old_docs/API_docs_v105/types/account.AutoDownloadSettings.md b/old_docs/API_docs_v105/types/account.AutoDownloadSettings.md new file mode 100644 index 00000000..e2ee0f6c --- /dev/null +++ b/old_docs/API_docs_v105/types/account.AutoDownloadSettings.md @@ -0,0 +1,22 @@ +--- +title: account.AutoDownloadSettings +description: constructors and methods of type account.AutoDownloadSettings +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.AutoDownloadSettings +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.autoDownloadSettings](../constructors/account.autoDownloadSettings.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getAutoDownloadSettings](../methods/account.getAutoDownloadSettings.md) + + + diff --git a/old_docs/API_docs_v105/types/account.Password.md b/old_docs/API_docs_v105/types/account.Password.md new file mode 100644 index 00000000..190704a3 --- /dev/null +++ b/old_docs/API_docs_v105/types/account.Password.md @@ -0,0 +1,22 @@ +--- +title: account.Password +description: constructors and methods of type account.Password +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.Password +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.password](../constructors/account.password.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getPassword](../methods/account.getPassword.md) + + + diff --git a/old_docs/API_docs_v105/types/account.PasswordInputSettings.md b/old_docs/API_docs_v105/types/account.PasswordInputSettings.md new file mode 100644 index 00000000..72e11fdc --- /dev/null +++ b/old_docs/API_docs_v105/types/account.PasswordInputSettings.md @@ -0,0 +1,20 @@ +--- +title: account.PasswordInputSettings +description: constructors and methods of type account.PasswordInputSettings +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.PasswordInputSettings +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.passwordInputSettings](../constructors/account.passwordInputSettings.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v105/types/account.PasswordSettings.md b/old_docs/API_docs_v105/types/account.PasswordSettings.md new file mode 100644 index 00000000..47016832 --- /dev/null +++ b/old_docs/API_docs_v105/types/account.PasswordSettings.md @@ -0,0 +1,22 @@ +--- +title: account.PasswordSettings +description: constructors and methods of type account.PasswordSettings +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.PasswordSettings +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.passwordSettings](../constructors/account.passwordSettings.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getPasswordSettings](../methods/account.getPasswordSettings.md) + + + diff --git a/old_docs/API_docs_v105/types/account.PrivacyRules.md b/old_docs/API_docs_v105/types/account.PrivacyRules.md new file mode 100644 index 00000000..738651ad --- /dev/null +++ b/old_docs/API_docs_v105/types/account.PrivacyRules.md @@ -0,0 +1,24 @@ +--- +title: account.PrivacyRules +description: constructors and methods of type account.PrivacyRules +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.PrivacyRules +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.privacyRules](../constructors/account.privacyRules.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getPrivacy](../methods/account.getPrivacy.md) + +[$MadelineProto->account->setPrivacy](../methods/account.setPrivacy.md) + + + diff --git a/old_docs/API_docs_v105/types/account.SentEmailCode.md b/old_docs/API_docs_v105/types/account.SentEmailCode.md new file mode 100644 index 00000000..6adcd649 --- /dev/null +++ b/old_docs/API_docs_v105/types/account.SentEmailCode.md @@ -0,0 +1,22 @@ +--- +title: account.SentEmailCode +description: constructors and methods of type account.SentEmailCode +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.SentEmailCode +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.sentEmailCode](../constructors/account.sentEmailCode.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->sendVerifyEmailCode](../methods/account.sendVerifyEmailCode.md) + + + diff --git a/old_docs/API_docs_v105/types/account.Takeout.md b/old_docs/API_docs_v105/types/account.Takeout.md new file mode 100644 index 00000000..96998ce4 --- /dev/null +++ b/old_docs/API_docs_v105/types/account.Takeout.md @@ -0,0 +1,22 @@ +--- +title: account.Takeout +description: constructors and methods of type account.Takeout +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.Takeout +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.takeout](../constructors/account.takeout.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->initTakeoutSession](../methods/account.initTakeoutSession.md) + + + diff --git a/old_docs/API_docs_v105/types/account.Themes.md b/old_docs/API_docs_v105/types/account.Themes.md new file mode 100644 index 00000000..520f0d2e --- /dev/null +++ b/old_docs/API_docs_v105/types/account.Themes.md @@ -0,0 +1,24 @@ +--- +title: account.Themes +description: constructors and methods of type account.Themes +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.Themes +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.themesNotModified](../constructors/account.themesNotModified.md) + +[account.themes](../constructors/account.themes.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getThemes](../methods/account.getThemes.md) + + + diff --git a/old_docs/API_docs_v105/types/account.TmpPassword.md b/old_docs/API_docs_v105/types/account.TmpPassword.md new file mode 100644 index 00000000..2116c6c0 --- /dev/null +++ b/old_docs/API_docs_v105/types/account.TmpPassword.md @@ -0,0 +1,22 @@ +--- +title: account.TmpPassword +description: constructors and methods of type account.TmpPassword +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.TmpPassword +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.tmpPassword](../constructors/account.tmpPassword.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getTmpPassword](../methods/account.getTmpPassword.md) + + + diff --git a/old_docs/API_docs_v105/types/account.WallPapers.md b/old_docs/API_docs_v105/types/account.WallPapers.md new file mode 100644 index 00000000..13d11d26 --- /dev/null +++ b/old_docs/API_docs_v105/types/account.WallPapers.md @@ -0,0 +1,24 @@ +--- +title: account.WallPapers +description: constructors and methods of type account.WallPapers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.WallPapers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.wallPapersNotModified](../constructors/account.wallPapersNotModified.md) + +[account.wallPapers](../constructors/account.wallPapers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getWallPapers](../methods/account.getWallPapers.md) + + + diff --git a/old_docs/API_docs_v105/types/account.WebAuthorizations.md b/old_docs/API_docs_v105/types/account.WebAuthorizations.md new file mode 100644 index 00000000..931633ef --- /dev/null +++ b/old_docs/API_docs_v105/types/account.WebAuthorizations.md @@ -0,0 +1,22 @@ +--- +title: account.WebAuthorizations +description: constructors and methods of type account.WebAuthorizations +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.WebAuthorizations +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.webAuthorizations](../constructors/account.webAuthorizations.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getWebAuthorizations](../methods/account.getWebAuthorizations.md) + + + diff --git a/old_docs/API_docs_v105/types/account_AuthorizationForm.md b/old_docs/API_docs_v105/types/account_AuthorizationForm.md deleted file mode 100644 index 5eec2b92..00000000 --- a/old_docs/API_docs_v105/types/account_AuthorizationForm.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_AuthorizationForm -description: constructors and methods of type account_AuthorizationForm -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_AuthorizationForm -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_authorizationForm](../constructors/account_authorizationForm.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getAuthorizationForm](../methods/account_getAuthorizationForm.md) - - - diff --git a/old_docs/API_docs_v105/types/account_Authorizations.md b/old_docs/API_docs_v105/types/account_Authorizations.md deleted file mode 100644 index 4709ddb5..00000000 --- a/old_docs/API_docs_v105/types/account_Authorizations.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_Authorizations -description: constructors and methods of type account_Authorizations -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_Authorizations -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_authorizations](../constructors/account_authorizations.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getAuthorizations](../methods/account_getAuthorizations.md) - - - diff --git a/old_docs/API_docs_v105/types/account_AutoDownloadSettings.md b/old_docs/API_docs_v105/types/account_AutoDownloadSettings.md deleted file mode 100644 index 6df664df..00000000 --- a/old_docs/API_docs_v105/types/account_AutoDownloadSettings.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_AutoDownloadSettings -description: constructors and methods of type account_AutoDownloadSettings -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_AutoDownloadSettings -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_autoDownloadSettings](../constructors/account_autoDownloadSettings.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getAutoDownloadSettings](../methods/account_getAutoDownloadSettings.md) - - - diff --git a/old_docs/API_docs_v105/types/account_Password.md b/old_docs/API_docs_v105/types/account_Password.md deleted file mode 100644 index f3b6e065..00000000 --- a/old_docs/API_docs_v105/types/account_Password.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_Password -description: constructors and methods of type account_Password -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_Password -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_password](../constructors/account_password.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getPassword](../methods/account_getPassword.md) - - - diff --git a/old_docs/API_docs_v105/types/account_PasswordInputSettings.md b/old_docs/API_docs_v105/types/account_PasswordInputSettings.md deleted file mode 100644 index a6455eb8..00000000 --- a/old_docs/API_docs_v105/types/account_PasswordInputSettings.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: account_PasswordInputSettings -description: constructors and methods of type account_PasswordInputSettings -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_PasswordInputSettings -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_passwordInputSettings](../constructors/account_passwordInputSettings.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v105/types/account_PasswordSettings.md b/old_docs/API_docs_v105/types/account_PasswordSettings.md deleted file mode 100644 index 687eb217..00000000 --- a/old_docs/API_docs_v105/types/account_PasswordSettings.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_PasswordSettings -description: constructors and methods of type account_PasswordSettings -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_PasswordSettings -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_passwordSettings](../constructors/account_passwordSettings.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getPasswordSettings](../methods/account_getPasswordSettings.md) - - - diff --git a/old_docs/API_docs_v105/types/account_PrivacyRules.md b/old_docs/API_docs_v105/types/account_PrivacyRules.md deleted file mode 100644 index 40b00077..00000000 --- a/old_docs/API_docs_v105/types/account_PrivacyRules.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: account_PrivacyRules -description: constructors and methods of type account_PrivacyRules -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_PrivacyRules -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_privacyRules](../constructors/account_privacyRules.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getPrivacy](../methods/account_getPrivacy.md) - -[$MadelineProto->account->setPrivacy](../methods/account_setPrivacy.md) - - - diff --git a/old_docs/API_docs_v105/types/account_SentEmailCode.md b/old_docs/API_docs_v105/types/account_SentEmailCode.md deleted file mode 100644 index 4aa38335..00000000 --- a/old_docs/API_docs_v105/types/account_SentEmailCode.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_SentEmailCode -description: constructors and methods of type account_SentEmailCode -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_SentEmailCode -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_sentEmailCode](../constructors/account_sentEmailCode.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->sendVerifyEmailCode](../methods/account_sendVerifyEmailCode.md) - - - diff --git a/old_docs/API_docs_v105/types/account_Takeout.md b/old_docs/API_docs_v105/types/account_Takeout.md deleted file mode 100644 index 26960f88..00000000 --- a/old_docs/API_docs_v105/types/account_Takeout.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_Takeout -description: constructors and methods of type account_Takeout -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_Takeout -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_takeout](../constructors/account_takeout.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->initTakeoutSession](../methods/account_initTakeoutSession.md) - - - diff --git a/old_docs/API_docs_v105/types/account_Themes.md b/old_docs/API_docs_v105/types/account_Themes.md deleted file mode 100644 index ccc16af1..00000000 --- a/old_docs/API_docs_v105/types/account_Themes.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: account_Themes -description: constructors and methods of type account_Themes -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_Themes -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_themesNotModified](../constructors/account_themesNotModified.md) - -[account\_themes](../constructors/account_themes.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getThemes](../methods/account_getThemes.md) - - - diff --git a/old_docs/API_docs_v105/types/account_TmpPassword.md b/old_docs/API_docs_v105/types/account_TmpPassword.md deleted file mode 100644 index d7557921..00000000 --- a/old_docs/API_docs_v105/types/account_TmpPassword.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_TmpPassword -description: constructors and methods of type account_TmpPassword -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_TmpPassword -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_tmpPassword](../constructors/account_tmpPassword.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getTmpPassword](../methods/account_getTmpPassword.md) - - - diff --git a/old_docs/API_docs_v105/types/account_WallPapers.md b/old_docs/API_docs_v105/types/account_WallPapers.md deleted file mode 100644 index 6a082a9a..00000000 --- a/old_docs/API_docs_v105/types/account_WallPapers.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: account_WallPapers -description: constructors and methods of type account_WallPapers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_WallPapers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_wallPapersNotModified](../constructors/account_wallPapersNotModified.md) - -[account\_wallPapers](../constructors/account_wallPapers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getWallPapers](../methods/account_getWallPapers.md) - - - diff --git a/old_docs/API_docs_v105/types/account_WebAuthorizations.md b/old_docs/API_docs_v105/types/account_WebAuthorizations.md deleted file mode 100644 index 1202632b..00000000 --- a/old_docs/API_docs_v105/types/account_WebAuthorizations.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_WebAuthorizations -description: constructors and methods of type account_WebAuthorizations -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_WebAuthorizations -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_webAuthorizations](../constructors/account_webAuthorizations.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getWebAuthorizations](../methods/account_getWebAuthorizations.md) - - - diff --git a/old_docs/API_docs_v105/types/auth.Authorization.md b/old_docs/API_docs_v105/types/auth.Authorization.md new file mode 100644 index 00000000..3f769a1f --- /dev/null +++ b/old_docs/API_docs_v105/types/auth.Authorization.md @@ -0,0 +1,34 @@ +--- +title: auth.Authorization +description: constructors and methods of type auth.Authorization +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.Authorization +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.authorization](../constructors/auth.authorization.md) + +[auth.authorizationSignUpRequired](../constructors/auth.authorizationSignUpRequired.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->signUp](../methods/auth.signUp.md) + +[$MadelineProto->auth->signIn](../methods/auth.signIn.md) + +[$MadelineProto->auth->importAuthorization](../methods/auth.importAuthorization.md) + +[$MadelineProto->auth->importBotAuthorization](../methods/auth.importBotAuthorization.md) + +[$MadelineProto->auth->checkPassword](../methods/auth.checkPassword.md) + +[$MadelineProto->auth->recoverPassword](../methods/auth.recoverPassword.md) + + + diff --git a/old_docs/API_docs_v105/types/auth.CodeType.md b/old_docs/API_docs_v105/types/auth.CodeType.md new file mode 100644 index 00000000..8d2b308d --- /dev/null +++ b/old_docs/API_docs_v105/types/auth.CodeType.md @@ -0,0 +1,24 @@ +--- +title: auth.CodeType +description: constructors and methods of type auth.CodeType +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.CodeType +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.codeTypeSms](../constructors/auth.codeTypeSms.md) + +[auth.codeTypeCall](../constructors/auth.codeTypeCall.md) + +[auth.codeTypeFlashCall](../constructors/auth.codeTypeFlashCall.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v105/types/auth.ExportedAuthorization.md b/old_docs/API_docs_v105/types/auth.ExportedAuthorization.md new file mode 100644 index 00000000..ccb38d60 --- /dev/null +++ b/old_docs/API_docs_v105/types/auth.ExportedAuthorization.md @@ -0,0 +1,22 @@ +--- +title: auth.ExportedAuthorization +description: constructors and methods of type auth.ExportedAuthorization +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.ExportedAuthorization +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.exportedAuthorization](../constructors/auth.exportedAuthorization.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->exportAuthorization](../methods/auth.exportAuthorization.md) + + + diff --git a/old_docs/API_docs_v105/types/auth.PasswordRecovery.md b/old_docs/API_docs_v105/types/auth.PasswordRecovery.md new file mode 100644 index 00000000..c1c18992 --- /dev/null +++ b/old_docs/API_docs_v105/types/auth.PasswordRecovery.md @@ -0,0 +1,22 @@ +--- +title: auth.PasswordRecovery +description: constructors and methods of type auth.PasswordRecovery +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.PasswordRecovery +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.passwordRecovery](../constructors/auth.passwordRecovery.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->requestPasswordRecovery](../methods/auth.requestPasswordRecovery.md) + + + diff --git a/old_docs/API_docs_v105/types/auth.SentCode.md b/old_docs/API_docs_v105/types/auth.SentCode.md new file mode 100644 index 00000000..4950edeb --- /dev/null +++ b/old_docs/API_docs_v105/types/auth.SentCode.md @@ -0,0 +1,30 @@ +--- +title: auth.SentCode +description: constructors and methods of type auth.SentCode +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.SentCode +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.sentCode](../constructors/auth.sentCode.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->sendCode](../methods/auth.sendCode.md) + +[$MadelineProto->auth->resendCode](../methods/auth.resendCode.md) + +[$MadelineProto->account->sendChangePhoneCode](../methods/account.sendChangePhoneCode.md) + +[$MadelineProto->account->sendConfirmPhoneCode](../methods/account.sendConfirmPhoneCode.md) + +[$MadelineProto->account->sendVerifyPhoneCode](../methods/account.sendVerifyPhoneCode.md) + + + diff --git a/old_docs/API_docs_v105/types/auth.SentCodeType.md b/old_docs/API_docs_v105/types/auth.SentCodeType.md new file mode 100644 index 00000000..7c7c534e --- /dev/null +++ b/old_docs/API_docs_v105/types/auth.SentCodeType.md @@ -0,0 +1,26 @@ +--- +title: auth.SentCodeType +description: constructors and methods of type auth.SentCodeType +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.SentCodeType +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.sentCodeTypeApp](../constructors/auth.sentCodeTypeApp.md) + +[auth.sentCodeTypeSms](../constructors/auth.sentCodeTypeSms.md) + +[auth.sentCodeTypeCall](../constructors/auth.sentCodeTypeCall.md) + +[auth.sentCodeTypeFlashCall](../constructors/auth.sentCodeTypeFlashCall.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v105/types/auth_Authorization.md b/old_docs/API_docs_v105/types/auth_Authorization.md deleted file mode 100644 index 0fc0d545..00000000 --- a/old_docs/API_docs_v105/types/auth_Authorization.md +++ /dev/null @@ -1,34 +0,0 @@ ---- -title: auth_Authorization -description: constructors and methods of type auth_Authorization -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_Authorization -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_authorization](../constructors/auth_authorization.md) - -[auth\_authorizationSignUpRequired](../constructors/auth_authorizationSignUpRequired.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->signUp](../methods/auth_signUp.md) - -[$MadelineProto->auth->signIn](../methods/auth_signIn.md) - -[$MadelineProto->auth->importAuthorization](../methods/auth_importAuthorization.md) - -[$MadelineProto->auth->importBotAuthorization](../methods/auth_importBotAuthorization.md) - -[$MadelineProto->auth->checkPassword](../methods/auth_checkPassword.md) - -[$MadelineProto->auth->recoverPassword](../methods/auth_recoverPassword.md) - - - diff --git a/old_docs/API_docs_v105/types/auth_CodeType.md b/old_docs/API_docs_v105/types/auth_CodeType.md deleted file mode 100644 index 3cd9a7b7..00000000 --- a/old_docs/API_docs_v105/types/auth_CodeType.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: auth_CodeType -description: constructors and methods of type auth_CodeType -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_CodeType -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_codeTypeSms](../constructors/auth_codeTypeSms.md) - -[auth\_codeTypeCall](../constructors/auth_codeTypeCall.md) - -[auth\_codeTypeFlashCall](../constructors/auth_codeTypeFlashCall.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v105/types/auth_ExportedAuthorization.md b/old_docs/API_docs_v105/types/auth_ExportedAuthorization.md deleted file mode 100644 index 69e5c42e..00000000 --- a/old_docs/API_docs_v105/types/auth_ExportedAuthorization.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: auth_ExportedAuthorization -description: constructors and methods of type auth_ExportedAuthorization -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_ExportedAuthorization -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_exportedAuthorization](../constructors/auth_exportedAuthorization.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->exportAuthorization](../methods/auth_exportAuthorization.md) - - - diff --git a/old_docs/API_docs_v105/types/auth_PasswordRecovery.md b/old_docs/API_docs_v105/types/auth_PasswordRecovery.md deleted file mode 100644 index 4962bf42..00000000 --- a/old_docs/API_docs_v105/types/auth_PasswordRecovery.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: auth_PasswordRecovery -description: constructors and methods of type auth_PasswordRecovery -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_PasswordRecovery -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_passwordRecovery](../constructors/auth_passwordRecovery.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->requestPasswordRecovery](../methods/auth_requestPasswordRecovery.md) - - - diff --git a/old_docs/API_docs_v105/types/auth_SentCode.md b/old_docs/API_docs_v105/types/auth_SentCode.md deleted file mode 100644 index 140d956c..00000000 --- a/old_docs/API_docs_v105/types/auth_SentCode.md +++ /dev/null @@ -1,30 +0,0 @@ ---- -title: auth_SentCode -description: constructors and methods of type auth_SentCode -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_SentCode -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_sentCode](../constructors/auth_sentCode.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->sendCode](../methods/auth_sendCode.md) - -[$MadelineProto->auth->resendCode](../methods/auth_resendCode.md) - -[$MadelineProto->account->sendChangePhoneCode](../methods/account_sendChangePhoneCode.md) - -[$MadelineProto->account->sendConfirmPhoneCode](../methods/account_sendConfirmPhoneCode.md) - -[$MadelineProto->account->sendVerifyPhoneCode](../methods/account_sendVerifyPhoneCode.md) - - - diff --git a/old_docs/API_docs_v105/types/auth_SentCodeType.md b/old_docs/API_docs_v105/types/auth_SentCodeType.md deleted file mode 100644 index 8dfcb93b..00000000 --- a/old_docs/API_docs_v105/types/auth_SentCodeType.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: auth_SentCodeType -description: constructors and methods of type auth_SentCodeType -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_SentCodeType -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_sentCodeTypeApp](../constructors/auth_sentCodeTypeApp.md) - -[auth\_sentCodeTypeSms](../constructors/auth_sentCodeTypeSms.md) - -[auth\_sentCodeTypeCall](../constructors/auth_sentCodeTypeCall.md) - -[auth\_sentCodeTypeFlashCall](../constructors/auth_sentCodeTypeFlashCall.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v105/types/channels.AdminLogResults.md b/old_docs/API_docs_v105/types/channels.AdminLogResults.md new file mode 100644 index 00000000..7855a4fd --- /dev/null +++ b/old_docs/API_docs_v105/types/channels.AdminLogResults.md @@ -0,0 +1,22 @@ +--- +title: channels.AdminLogResults +description: constructors and methods of type channels.AdminLogResults +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: channels.AdminLogResults +[Back to types index](index.md) + + + +### Possible values (constructors): + +[channels.adminLogResults](../constructors/channels.adminLogResults.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->channels->getAdminLog](../methods/channels.getAdminLog.md) + + + diff --git a/old_docs/API_docs_v105/types/channels.ChannelParticipant.md b/old_docs/API_docs_v105/types/channels.ChannelParticipant.md new file mode 100644 index 00000000..8dc7f7e6 --- /dev/null +++ b/old_docs/API_docs_v105/types/channels.ChannelParticipant.md @@ -0,0 +1,22 @@ +--- +title: channels.ChannelParticipant +description: constructors and methods of type channels.ChannelParticipant +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: channels.ChannelParticipant +[Back to types index](index.md) + + + +### Possible values (constructors): + +[channels.channelParticipant](../constructors/channels.channelParticipant.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->channels->getParticipant](../methods/channels.getParticipant.md) + + + diff --git a/old_docs/API_docs_v105/types/channels.ChannelParticipants.md b/old_docs/API_docs_v105/types/channels.ChannelParticipants.md new file mode 100644 index 00000000..d448e007 --- /dev/null +++ b/old_docs/API_docs_v105/types/channels.ChannelParticipants.md @@ -0,0 +1,24 @@ +--- +title: channels.ChannelParticipants +description: constructors and methods of type channels.ChannelParticipants +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: channels.ChannelParticipants +[Back to types index](index.md) + + + +### Possible values (constructors): + +[channels.channelParticipants](../constructors/channels.channelParticipants.md) + +[channels.channelParticipantsNotModified](../constructors/channels.channelParticipantsNotModified.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->channels->getParticipants](../methods/channels.getParticipants.md) + + + diff --git a/old_docs/API_docs_v105/types/channels_AdminLogResults.md b/old_docs/API_docs_v105/types/channels_AdminLogResults.md deleted file mode 100644 index 4e9b5544..00000000 --- a/old_docs/API_docs_v105/types/channels_AdminLogResults.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: channels_AdminLogResults -description: constructors and methods of type channels_AdminLogResults -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: channels\_AdminLogResults -[Back to types index](index.md) - - - -### Possible values (constructors): - -[channels\_adminLogResults](../constructors/channels_adminLogResults.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->channels->getAdminLog](../methods/channels_getAdminLog.md) - - - diff --git a/old_docs/API_docs_v105/types/channels_ChannelParticipant.md b/old_docs/API_docs_v105/types/channels_ChannelParticipant.md deleted file mode 100644 index 3d4667c3..00000000 --- a/old_docs/API_docs_v105/types/channels_ChannelParticipant.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: channels_ChannelParticipant -description: constructors and methods of type channels_ChannelParticipant -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: channels\_ChannelParticipant -[Back to types index](index.md) - - - -### Possible values (constructors): - -[channels\_channelParticipant](../constructors/channels_channelParticipant.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->channels->getParticipant](../methods/channels_getParticipant.md) - - - diff --git a/old_docs/API_docs_v105/types/channels_ChannelParticipants.md b/old_docs/API_docs_v105/types/channels_ChannelParticipants.md deleted file mode 100644 index 80a41dd9..00000000 --- a/old_docs/API_docs_v105/types/channels_ChannelParticipants.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: channels_ChannelParticipants -description: constructors and methods of type channels_ChannelParticipants -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: channels\_ChannelParticipants -[Back to types index](index.md) - - - -### Possible values (constructors): - -[channels\_channelParticipants](../constructors/channels_channelParticipants.md) - -[channels\_channelParticipantsNotModified](../constructors/channels_channelParticipantsNotModified.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->channels->getParticipants](../methods/channels_getParticipants.md) - - - diff --git a/old_docs/API_docs_v105/types/contacts.Blocked.md b/old_docs/API_docs_v105/types/contacts.Blocked.md new file mode 100644 index 00000000..cb2af80f --- /dev/null +++ b/old_docs/API_docs_v105/types/contacts.Blocked.md @@ -0,0 +1,24 @@ +--- +title: contacts.Blocked +description: constructors and methods of type contacts.Blocked +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Blocked +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.blocked](../constructors/contacts.blocked.md) + +[contacts.blockedSlice](../constructors/contacts.blockedSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getBlocked](../methods/contacts.getBlocked.md) + + + diff --git a/old_docs/API_docs_v105/types/contacts.Contacts.md b/old_docs/API_docs_v105/types/contacts.Contacts.md new file mode 100644 index 00000000..5f695d8e --- /dev/null +++ b/old_docs/API_docs_v105/types/contacts.Contacts.md @@ -0,0 +1,24 @@ +--- +title: contacts.Contacts +description: constructors and methods of type contacts.Contacts +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Contacts +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.contactsNotModified](../constructors/contacts.contactsNotModified.md) + +[contacts.contacts](../constructors/contacts.contacts.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getContacts](../methods/contacts.getContacts.md) + + + diff --git a/old_docs/API_docs_v105/types/contacts.Found.md b/old_docs/API_docs_v105/types/contacts.Found.md new file mode 100644 index 00000000..7df98927 --- /dev/null +++ b/old_docs/API_docs_v105/types/contacts.Found.md @@ -0,0 +1,22 @@ +--- +title: contacts.Found +description: constructors and methods of type contacts.Found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Found +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.found](../constructors/contacts.found.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->search](../methods/contacts.search.md) + + + diff --git a/old_docs/API_docs_v105/types/contacts.ImportedContacts.md b/old_docs/API_docs_v105/types/contacts.ImportedContacts.md new file mode 100644 index 00000000..16795bab --- /dev/null +++ b/old_docs/API_docs_v105/types/contacts.ImportedContacts.md @@ -0,0 +1,22 @@ +--- +title: contacts.ImportedContacts +description: constructors and methods of type contacts.ImportedContacts +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.ImportedContacts +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.importedContacts](../constructors/contacts.importedContacts.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->importContacts](../methods/contacts.importContacts.md) + + + diff --git a/old_docs/API_docs_v105/types/contacts.ResolvedPeer.md b/old_docs/API_docs_v105/types/contacts.ResolvedPeer.md new file mode 100644 index 00000000..13630d54 --- /dev/null +++ b/old_docs/API_docs_v105/types/contacts.ResolvedPeer.md @@ -0,0 +1,22 @@ +--- +title: contacts.ResolvedPeer +description: constructors and methods of type contacts.ResolvedPeer +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.ResolvedPeer +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.resolvedPeer](../constructors/contacts.resolvedPeer.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->resolveUsername](../methods/contacts.resolveUsername.md) + + + diff --git a/old_docs/API_docs_v105/types/contacts.TopPeers.md b/old_docs/API_docs_v105/types/contacts.TopPeers.md new file mode 100644 index 00000000..563e63aa --- /dev/null +++ b/old_docs/API_docs_v105/types/contacts.TopPeers.md @@ -0,0 +1,26 @@ +--- +title: contacts.TopPeers +description: constructors and methods of type contacts.TopPeers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.TopPeers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.topPeersNotModified](../constructors/contacts.topPeersNotModified.md) + +[contacts.topPeers](../constructors/contacts.topPeers.md) + +[contacts.topPeersDisabled](../constructors/contacts.topPeersDisabled.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getTopPeers](../methods/contacts.getTopPeers.md) + + + diff --git a/old_docs/API_docs_v105/types/contacts_Blocked.md b/old_docs/API_docs_v105/types/contacts_Blocked.md deleted file mode 100644 index 3e1f02eb..00000000 --- a/old_docs/API_docs_v105/types/contacts_Blocked.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: contacts_Blocked -description: constructors and methods of type contacts_Blocked -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Blocked -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_blocked](../constructors/contacts_blocked.md) - -[contacts\_blockedSlice](../constructors/contacts_blockedSlice.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->getBlocked](../methods/contacts_getBlocked.md) - - - diff --git a/old_docs/API_docs_v105/types/contacts_Contacts.md b/old_docs/API_docs_v105/types/contacts_Contacts.md deleted file mode 100644 index 5d6c9506..00000000 --- a/old_docs/API_docs_v105/types/contacts_Contacts.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: contacts_Contacts -description: constructors and methods of type contacts_Contacts -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Contacts -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_contactsNotModified](../constructors/contacts_contactsNotModified.md) - -[contacts\_contacts](../constructors/contacts_contacts.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->getContacts](../methods/contacts_getContacts.md) - - - diff --git a/old_docs/API_docs_v105/types/contacts_Found.md b/old_docs/API_docs_v105/types/contacts_Found.md deleted file mode 100644 index 806101cf..00000000 --- a/old_docs/API_docs_v105/types/contacts_Found.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_Found -description: constructors and methods of type contacts_Found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Found -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_found](../constructors/contacts_found.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->search](../methods/contacts_search.md) - - - diff --git a/old_docs/API_docs_v105/types/contacts_ImportedContacts.md b/old_docs/API_docs_v105/types/contacts_ImportedContacts.md deleted file mode 100644 index faf7e615..00000000 --- a/old_docs/API_docs_v105/types/contacts_ImportedContacts.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_ImportedContacts -description: constructors and methods of type contacts_ImportedContacts -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_ImportedContacts -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_importedContacts](../constructors/contacts_importedContacts.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->importContacts](../methods/contacts_importContacts.md) - - - diff --git a/old_docs/API_docs_v105/types/contacts_ResolvedPeer.md b/old_docs/API_docs_v105/types/contacts_ResolvedPeer.md deleted file mode 100644 index cf107f7c..00000000 --- a/old_docs/API_docs_v105/types/contacts_ResolvedPeer.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_ResolvedPeer -description: constructors and methods of type contacts_ResolvedPeer -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_ResolvedPeer -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_resolvedPeer](../constructors/contacts_resolvedPeer.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->resolveUsername](../methods/contacts_resolveUsername.md) - - - diff --git a/old_docs/API_docs_v105/types/contacts_TopPeers.md b/old_docs/API_docs_v105/types/contacts_TopPeers.md deleted file mode 100644 index dc8ee478..00000000 --- a/old_docs/API_docs_v105/types/contacts_TopPeers.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: contacts_TopPeers -description: constructors and methods of type contacts_TopPeers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_TopPeers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_topPeersNotModified](../constructors/contacts_topPeersNotModified.md) - -[contacts\_topPeers](../constructors/contacts_topPeers.md) - -[contacts\_topPeersDisabled](../constructors/contacts_topPeersDisabled.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->getTopPeers](../methods/contacts_getTopPeers.md) - - - diff --git a/old_docs/API_docs_v105/types/help.AppUpdate.md b/old_docs/API_docs_v105/types/help.AppUpdate.md new file mode 100644 index 00000000..285ec2b7 --- /dev/null +++ b/old_docs/API_docs_v105/types/help.AppUpdate.md @@ -0,0 +1,24 @@ +--- +title: help.AppUpdate +description: constructors and methods of type help.AppUpdate +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.AppUpdate +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.appUpdate](../constructors/help.appUpdate.md) + +[help.noAppUpdate](../constructors/help.noAppUpdate.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getAppUpdate](../methods/help.getAppUpdate.md) + + + diff --git a/old_docs/API_docs_v105/types/help.ConfigSimple.md b/old_docs/API_docs_v105/types/help.ConfigSimple.md new file mode 100644 index 00000000..92d9e15f --- /dev/null +++ b/old_docs/API_docs_v105/types/help.ConfigSimple.md @@ -0,0 +1,20 @@ +--- +title: help.ConfigSimple +description: constructors and methods of type help.ConfigSimple +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.ConfigSimple +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.configSimple](../constructors/help.configSimple.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v105/types/help.DeepLinkInfo.md b/old_docs/API_docs_v105/types/help.DeepLinkInfo.md new file mode 100644 index 00000000..356af1c4 --- /dev/null +++ b/old_docs/API_docs_v105/types/help.DeepLinkInfo.md @@ -0,0 +1,24 @@ +--- +title: help.DeepLinkInfo +description: constructors and methods of type help.DeepLinkInfo +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.DeepLinkInfo +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.deepLinkInfoEmpty](../constructors/help.deepLinkInfoEmpty.md) + +[help.deepLinkInfo](../constructors/help.deepLinkInfo.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getDeepLinkInfo](../methods/help.getDeepLinkInfo.md) + + + diff --git a/old_docs/API_docs_v105/types/help.InviteText.md b/old_docs/API_docs_v105/types/help.InviteText.md new file mode 100644 index 00000000..43293f46 --- /dev/null +++ b/old_docs/API_docs_v105/types/help.InviteText.md @@ -0,0 +1,22 @@ +--- +title: help.InviteText +description: constructors and methods of type help.InviteText +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.InviteText +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.inviteText](../constructors/help.inviteText.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getInviteText](../methods/help.getInviteText.md) + + + diff --git a/old_docs/API_docs_v105/types/help.PassportConfig.md b/old_docs/API_docs_v105/types/help.PassportConfig.md new file mode 100644 index 00000000..15eb12cc --- /dev/null +++ b/old_docs/API_docs_v105/types/help.PassportConfig.md @@ -0,0 +1,24 @@ +--- +title: help.PassportConfig +description: constructors and methods of type help.PassportConfig +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.PassportConfig +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.passportConfigNotModified](../constructors/help.passportConfigNotModified.md) + +[help.passportConfig](../constructors/help.passportConfig.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getPassportConfig](../methods/help.getPassportConfig.md) + + + diff --git a/old_docs/API_docs_v105/types/help.ProxyData.md b/old_docs/API_docs_v105/types/help.ProxyData.md new file mode 100644 index 00000000..e45b4211 --- /dev/null +++ b/old_docs/API_docs_v105/types/help.ProxyData.md @@ -0,0 +1,24 @@ +--- +title: help.ProxyData +description: constructors and methods of type help.ProxyData +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.ProxyData +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.proxyDataEmpty](../constructors/help.proxyDataEmpty.md) + +[help.proxyDataPromo](../constructors/help.proxyDataPromo.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getProxyData](../methods/help.getProxyData.md) + + + diff --git a/old_docs/API_docs_v105/types/help.RecentMeUrls.md b/old_docs/API_docs_v105/types/help.RecentMeUrls.md new file mode 100644 index 00000000..6b7ee2c1 --- /dev/null +++ b/old_docs/API_docs_v105/types/help.RecentMeUrls.md @@ -0,0 +1,22 @@ +--- +title: help.RecentMeUrls +description: constructors and methods of type help.RecentMeUrls +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.RecentMeUrls +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.recentMeUrls](../constructors/help.recentMeUrls.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getRecentMeUrls](../methods/help.getRecentMeUrls.md) + + + diff --git a/old_docs/API_docs_v105/types/help.Support.md b/old_docs/API_docs_v105/types/help.Support.md new file mode 100644 index 00000000..42c20483 --- /dev/null +++ b/old_docs/API_docs_v105/types/help.Support.md @@ -0,0 +1,22 @@ +--- +title: help.Support +description: constructors and methods of type help.Support +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.Support +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.support](../constructors/help.support.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getSupport](../methods/help.getSupport.md) + + + diff --git a/old_docs/API_docs_v105/types/help.SupportName.md b/old_docs/API_docs_v105/types/help.SupportName.md new file mode 100644 index 00000000..7f68199a --- /dev/null +++ b/old_docs/API_docs_v105/types/help.SupportName.md @@ -0,0 +1,22 @@ +--- +title: help.SupportName +description: constructors and methods of type help.SupportName +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.SupportName +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.supportName](../constructors/help.supportName.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getSupportName](../methods/help.getSupportName.md) + + + diff --git a/old_docs/API_docs_v105/types/help.TermsOfService.md b/old_docs/API_docs_v105/types/help.TermsOfService.md new file mode 100644 index 00000000..d4d091e1 --- /dev/null +++ b/old_docs/API_docs_v105/types/help.TermsOfService.md @@ -0,0 +1,20 @@ +--- +title: help.TermsOfService +description: constructors and methods of type help.TermsOfService +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.TermsOfService +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.termsOfService](../constructors/help.termsOfService.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v105/types/help.TermsOfServiceUpdate.md b/old_docs/API_docs_v105/types/help.TermsOfServiceUpdate.md new file mode 100644 index 00000000..e27b3c71 --- /dev/null +++ b/old_docs/API_docs_v105/types/help.TermsOfServiceUpdate.md @@ -0,0 +1,24 @@ +--- +title: help.TermsOfServiceUpdate +description: constructors and methods of type help.TermsOfServiceUpdate +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.TermsOfServiceUpdate +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.termsOfServiceUpdateEmpty](../constructors/help.termsOfServiceUpdateEmpty.md) + +[help.termsOfServiceUpdate](../constructors/help.termsOfServiceUpdate.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getTermsOfServiceUpdate](../methods/help.getTermsOfServiceUpdate.md) + + + diff --git a/old_docs/API_docs_v105/types/help.UserInfo.md b/old_docs/API_docs_v105/types/help.UserInfo.md new file mode 100644 index 00000000..9d91ee40 --- /dev/null +++ b/old_docs/API_docs_v105/types/help.UserInfo.md @@ -0,0 +1,26 @@ +--- +title: help.UserInfo +description: constructors and methods of type help.UserInfo +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.UserInfo +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.userInfoEmpty](../constructors/help.userInfoEmpty.md) + +[help.userInfo](../constructors/help.userInfo.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getUserInfo](../methods/help.getUserInfo.md) + +[$MadelineProto->help->editUserInfo](../methods/help.editUserInfo.md) + + + diff --git a/old_docs/API_docs_v105/types/help_AppUpdate.md b/old_docs/API_docs_v105/types/help_AppUpdate.md deleted file mode 100644 index 1f296a70..00000000 --- a/old_docs/API_docs_v105/types/help_AppUpdate.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: help_AppUpdate -description: constructors and methods of type help_AppUpdate -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_AppUpdate -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_appUpdate](../constructors/help_appUpdate.md) - -[help\_noAppUpdate](../constructors/help_noAppUpdate.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getAppUpdate](../methods/help_getAppUpdate.md) - - - diff --git a/old_docs/API_docs_v105/types/help_ConfigSimple.md b/old_docs/API_docs_v105/types/help_ConfigSimple.md deleted file mode 100644 index 81678d74..00000000 --- a/old_docs/API_docs_v105/types/help_ConfigSimple.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: help_ConfigSimple -description: constructors and methods of type help_ConfigSimple -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_ConfigSimple -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_configSimple](../constructors/help_configSimple.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v105/types/help_DeepLinkInfo.md b/old_docs/API_docs_v105/types/help_DeepLinkInfo.md deleted file mode 100644 index 776e8e09..00000000 --- a/old_docs/API_docs_v105/types/help_DeepLinkInfo.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: help_DeepLinkInfo -description: constructors and methods of type help_DeepLinkInfo -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_DeepLinkInfo -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_deepLinkInfoEmpty](../constructors/help_deepLinkInfoEmpty.md) - -[help\_deepLinkInfo](../constructors/help_deepLinkInfo.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getDeepLinkInfo](../methods/help_getDeepLinkInfo.md) - - - diff --git a/old_docs/API_docs_v105/types/help_InviteText.md b/old_docs/API_docs_v105/types/help_InviteText.md deleted file mode 100644 index 018d35bf..00000000 --- a/old_docs/API_docs_v105/types/help_InviteText.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: help_InviteText -description: constructors and methods of type help_InviteText -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_InviteText -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_inviteText](../constructors/help_inviteText.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getInviteText](../methods/help_getInviteText.md) - - - diff --git a/old_docs/API_docs_v105/types/help_PassportConfig.md b/old_docs/API_docs_v105/types/help_PassportConfig.md deleted file mode 100644 index e03abab7..00000000 --- a/old_docs/API_docs_v105/types/help_PassportConfig.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: help_PassportConfig -description: constructors and methods of type help_PassportConfig -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_PassportConfig -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_passportConfigNotModified](../constructors/help_passportConfigNotModified.md) - -[help\_passportConfig](../constructors/help_passportConfig.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getPassportConfig](../methods/help_getPassportConfig.md) - - - diff --git a/old_docs/API_docs_v105/types/help_ProxyData.md b/old_docs/API_docs_v105/types/help_ProxyData.md deleted file mode 100644 index 1bc6839e..00000000 --- a/old_docs/API_docs_v105/types/help_ProxyData.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: help_ProxyData -description: constructors and methods of type help_ProxyData -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_ProxyData -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_proxyDataEmpty](../constructors/help_proxyDataEmpty.md) - -[help\_proxyDataPromo](../constructors/help_proxyDataPromo.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getProxyData](../methods/help_getProxyData.md) - - - diff --git a/old_docs/API_docs_v105/types/help_RecentMeUrls.md b/old_docs/API_docs_v105/types/help_RecentMeUrls.md deleted file mode 100644 index 691af1c3..00000000 --- a/old_docs/API_docs_v105/types/help_RecentMeUrls.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: help_RecentMeUrls -description: constructors and methods of type help_RecentMeUrls -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_RecentMeUrls -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_recentMeUrls](../constructors/help_recentMeUrls.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getRecentMeUrls](../methods/help_getRecentMeUrls.md) - - - diff --git a/old_docs/API_docs_v105/types/help_Support.md b/old_docs/API_docs_v105/types/help_Support.md deleted file mode 100644 index 26de447b..00000000 --- a/old_docs/API_docs_v105/types/help_Support.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: help_Support -description: constructors and methods of type help_Support -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_Support -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_support](../constructors/help_support.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getSupport](../methods/help_getSupport.md) - - - diff --git a/old_docs/API_docs_v105/types/help_SupportName.md b/old_docs/API_docs_v105/types/help_SupportName.md deleted file mode 100644 index e89309a2..00000000 --- a/old_docs/API_docs_v105/types/help_SupportName.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: help_SupportName -description: constructors and methods of type help_SupportName -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_SupportName -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_supportName](../constructors/help_supportName.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getSupportName](../methods/help_getSupportName.md) - - - diff --git a/old_docs/API_docs_v105/types/help_TermsOfService.md b/old_docs/API_docs_v105/types/help_TermsOfService.md deleted file mode 100644 index 24f8eb68..00000000 --- a/old_docs/API_docs_v105/types/help_TermsOfService.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: help_TermsOfService -description: constructors and methods of type help_TermsOfService -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_TermsOfService -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_termsOfService](../constructors/help_termsOfService.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v105/types/help_TermsOfServiceUpdate.md b/old_docs/API_docs_v105/types/help_TermsOfServiceUpdate.md deleted file mode 100644 index 0e4f1ef2..00000000 --- a/old_docs/API_docs_v105/types/help_TermsOfServiceUpdate.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: help_TermsOfServiceUpdate -description: constructors and methods of type help_TermsOfServiceUpdate -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_TermsOfServiceUpdate -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_termsOfServiceUpdateEmpty](../constructors/help_termsOfServiceUpdateEmpty.md) - -[help\_termsOfServiceUpdate](../constructors/help_termsOfServiceUpdate.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getTermsOfServiceUpdate](../methods/help_getTermsOfServiceUpdate.md) - - - diff --git a/old_docs/API_docs_v105/types/help_UserInfo.md b/old_docs/API_docs_v105/types/help_UserInfo.md deleted file mode 100644 index 87ca4327..00000000 --- a/old_docs/API_docs_v105/types/help_UserInfo.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: help_UserInfo -description: constructors and methods of type help_UserInfo -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_UserInfo -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_userInfoEmpty](../constructors/help_userInfoEmpty.md) - -[help\_userInfo](../constructors/help_userInfo.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getUserInfo](../methods/help_getUserInfo.md) - -[$MadelineProto->help->editUserInfo](../methods/help_editUserInfo.md) - - - diff --git a/old_docs/API_docs_v105/types/messages.AffectedHistory.md b/old_docs/API_docs_v105/types/messages.AffectedHistory.md new file mode 100644 index 00000000..8a1e850a --- /dev/null +++ b/old_docs/API_docs_v105/types/messages.AffectedHistory.md @@ -0,0 +1,26 @@ +--- +title: messages.AffectedHistory +description: constructors and methods of type messages.AffectedHistory +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.AffectedHistory +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.affectedHistory](../constructors/messages.affectedHistory.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->deleteHistory](../methods/messages.deleteHistory.md) + +[$MadelineProto->messages->readMentions](../methods/messages.readMentions.md) + +[$MadelineProto->channels->deleteUserHistory](../methods/channels.deleteUserHistory.md) + + + diff --git a/old_docs/API_docs_v105/types/messages.AffectedMessages.md b/old_docs/API_docs_v105/types/messages.AffectedMessages.md new file mode 100644 index 00000000..a9159de3 --- /dev/null +++ b/old_docs/API_docs_v105/types/messages.AffectedMessages.md @@ -0,0 +1,28 @@ +--- +title: messages.AffectedMessages +description: constructors and methods of type messages.AffectedMessages +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.AffectedMessages +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.affectedMessages](../constructors/messages.affectedMessages.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->readHistory](../methods/messages.readHistory.md) + +[$MadelineProto->messages->deleteMessages](../methods/messages.deleteMessages.md) + +[$MadelineProto->messages->readMessageContents](../methods/messages.readMessageContents.md) + +[$MadelineProto->channels->deleteMessages](../methods/channels.deleteMessages.md) + + + diff --git a/old_docs/API_docs_v105/types/messages.AllStickers.md b/old_docs/API_docs_v105/types/messages.AllStickers.md new file mode 100644 index 00000000..fd8565de --- /dev/null +++ b/old_docs/API_docs_v105/types/messages.AllStickers.md @@ -0,0 +1,26 @@ +--- +title: messages.AllStickers +description: constructors and methods of type messages.AllStickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.AllStickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.allStickersNotModified](../constructors/messages.allStickersNotModified.md) + +[messages.allStickers](../constructors/messages.allStickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getAllStickers](../methods/messages.getAllStickers.md) + +[$MadelineProto->messages->getMaskStickers](../methods/messages.getMaskStickers.md) + + + diff --git a/old_docs/API_docs_v105/types/messages.ArchivedStickers.md b/old_docs/API_docs_v105/types/messages.ArchivedStickers.md new file mode 100644 index 00000000..3e017c5d --- /dev/null +++ b/old_docs/API_docs_v105/types/messages.ArchivedStickers.md @@ -0,0 +1,22 @@ +--- +title: messages.ArchivedStickers +description: constructors and methods of type messages.ArchivedStickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.ArchivedStickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.archivedStickers](../constructors/messages.archivedStickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getArchivedStickers](../methods/messages.getArchivedStickers.md) + + + diff --git a/old_docs/API_docs_v105/types/messages.BotCallbackAnswer.md b/old_docs/API_docs_v105/types/messages.BotCallbackAnswer.md new file mode 100644 index 00000000..ef30fbfb --- /dev/null +++ b/old_docs/API_docs_v105/types/messages.BotCallbackAnswer.md @@ -0,0 +1,22 @@ +--- +title: messages.BotCallbackAnswer +description: constructors and methods of type messages.BotCallbackAnswer +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.BotCallbackAnswer +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.botCallbackAnswer](../constructors/messages.botCallbackAnswer.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getBotCallbackAnswer](../methods/messages.getBotCallbackAnswer.md) + + + diff --git a/old_docs/API_docs_v105/types/messages.BotResults.md b/old_docs/API_docs_v105/types/messages.BotResults.md new file mode 100644 index 00000000..76ee2b99 --- /dev/null +++ b/old_docs/API_docs_v105/types/messages.BotResults.md @@ -0,0 +1,22 @@ +--- +title: messages.BotResults +description: constructors and methods of type messages.BotResults +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.BotResults +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.botResults](../constructors/messages.botResults.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getInlineBotResults](../methods/messages.getInlineBotResults.md) + + + diff --git a/old_docs/API_docs_v105/types/messages.ChatFull.md b/old_docs/API_docs_v105/types/messages.ChatFull.md new file mode 100644 index 00000000..3ad38748 --- /dev/null +++ b/old_docs/API_docs_v105/types/messages.ChatFull.md @@ -0,0 +1,24 @@ +--- +title: messages.ChatFull +description: constructors and methods of type messages.ChatFull +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.ChatFull +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.chatFull](../constructors/messages.chatFull.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getFullChat](../methods/messages.getFullChat.md) + +[$MadelineProto->channels->getFullChannel](../methods/channels.getFullChannel.md) + + + diff --git a/old_docs/API_docs_v105/types/messages.Chats.md b/old_docs/API_docs_v105/types/messages.Chats.md new file mode 100644 index 00000000..60180618 --- /dev/null +++ b/old_docs/API_docs_v105/types/messages.Chats.md @@ -0,0 +1,36 @@ +--- +title: messages.Chats +description: constructors and methods of type messages.Chats +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Chats +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.chats](../constructors/messages.chats.md) + +[messages.chatsSlice](../constructors/messages.chatsSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getChats](../methods/messages.getChats.md) + +[$MadelineProto->messages->getCommonChats](../methods/messages.getCommonChats.md) + +[$MadelineProto->messages->getAllChats](../methods/messages.getAllChats.md) + +[$MadelineProto->channels->getChannels](../methods/channels.getChannels.md) + +[$MadelineProto->channels->getAdminedPublicChannels](../methods/channels.getAdminedPublicChannels.md) + +[$MadelineProto->channels->getLeftChannels](../methods/channels.getLeftChannels.md) + +[$MadelineProto->channels->getGroupsForDiscussion](../methods/channels.getGroupsForDiscussion.md) + + + diff --git a/old_docs/API_docs_v105/types/messages.DhConfig.md b/old_docs/API_docs_v105/types/messages.DhConfig.md new file mode 100644 index 00000000..77188ab7 --- /dev/null +++ b/old_docs/API_docs_v105/types/messages.DhConfig.md @@ -0,0 +1,24 @@ +--- +title: messages.DhConfig +description: constructors and methods of type messages.DhConfig +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.DhConfig +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.dhConfigNotModified](../constructors/messages.dhConfigNotModified.md) + +[messages.dhConfig](../constructors/messages.dhConfig.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getDhConfig](../methods/messages.getDhConfig.md) + + + diff --git a/old_docs/API_docs_v105/types/messages.Dialogs.md b/old_docs/API_docs_v105/types/messages.Dialogs.md new file mode 100644 index 00000000..e14885b1 --- /dev/null +++ b/old_docs/API_docs_v105/types/messages.Dialogs.md @@ -0,0 +1,26 @@ +--- +title: messages.Dialogs +description: constructors and methods of type messages.Dialogs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Dialogs +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.dialogs](../constructors/messages.dialogs.md) + +[messages.dialogsSlice](../constructors/messages.dialogsSlice.md) + +[messages.dialogsNotModified](../constructors/messages.dialogsNotModified.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getDialogs](../methods/messages.getDialogs.md) + + + diff --git a/old_docs/API_docs_v105/types/messages.FavedStickers.md b/old_docs/API_docs_v105/types/messages.FavedStickers.md new file mode 100644 index 00000000..3edc863b --- /dev/null +++ b/old_docs/API_docs_v105/types/messages.FavedStickers.md @@ -0,0 +1,24 @@ +--- +title: messages.FavedStickers +description: constructors and methods of type messages.FavedStickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.FavedStickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.favedStickersNotModified](../constructors/messages.favedStickersNotModified.md) + +[messages.favedStickers](../constructors/messages.favedStickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getFavedStickers](../methods/messages.getFavedStickers.md) + + + diff --git a/old_docs/API_docs_v105/types/messages.FeaturedStickers.md b/old_docs/API_docs_v105/types/messages.FeaturedStickers.md new file mode 100644 index 00000000..06ed87bb --- /dev/null +++ b/old_docs/API_docs_v105/types/messages.FeaturedStickers.md @@ -0,0 +1,24 @@ +--- +title: messages.FeaturedStickers +description: constructors and methods of type messages.FeaturedStickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.FeaturedStickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.featuredStickersNotModified](../constructors/messages.featuredStickersNotModified.md) + +[messages.featuredStickers](../constructors/messages.featuredStickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getFeaturedStickers](../methods/messages.getFeaturedStickers.md) + + + diff --git a/old_docs/API_docs_v105/types/messages.FoundGifs.md b/old_docs/API_docs_v105/types/messages.FoundGifs.md new file mode 100644 index 00000000..b5176a5d --- /dev/null +++ b/old_docs/API_docs_v105/types/messages.FoundGifs.md @@ -0,0 +1,22 @@ +--- +title: messages.FoundGifs +description: constructors and methods of type messages.FoundGifs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.FoundGifs +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.foundGifs](../constructors/messages.foundGifs.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->searchGifs](../methods/messages.searchGifs.md) + + + diff --git a/old_docs/API_docs_v105/types/messages.FoundStickerSets.md b/old_docs/API_docs_v105/types/messages.FoundStickerSets.md new file mode 100644 index 00000000..eb6eb284 --- /dev/null +++ b/old_docs/API_docs_v105/types/messages.FoundStickerSets.md @@ -0,0 +1,24 @@ +--- +title: messages.FoundStickerSets +description: constructors and methods of type messages.FoundStickerSets +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.FoundStickerSets +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.foundStickerSetsNotModified](../constructors/messages.foundStickerSetsNotModified.md) + +[messages.foundStickerSets](../constructors/messages.foundStickerSets.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->searchStickerSets](../methods/messages.searchStickerSets.md) + + + diff --git a/old_docs/API_docs_v105/types/messages.HighScores.md b/old_docs/API_docs_v105/types/messages.HighScores.md new file mode 100644 index 00000000..eae9db66 --- /dev/null +++ b/old_docs/API_docs_v105/types/messages.HighScores.md @@ -0,0 +1,24 @@ +--- +title: messages.HighScores +description: constructors and methods of type messages.HighScores +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.HighScores +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.highScores](../constructors/messages.highScores.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getGameHighScores](../methods/messages.getGameHighScores.md) + +[$MadelineProto->messages->getInlineGameHighScores](../methods/messages.getInlineGameHighScores.md) + + + diff --git a/old_docs/API_docs_v105/types/messages.MessageEditData.md b/old_docs/API_docs_v105/types/messages.MessageEditData.md new file mode 100644 index 00000000..feb572f1 --- /dev/null +++ b/old_docs/API_docs_v105/types/messages.MessageEditData.md @@ -0,0 +1,22 @@ +--- +title: messages.MessageEditData +description: constructors and methods of type messages.MessageEditData +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.MessageEditData +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.messageEditData](../constructors/messages.messageEditData.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getMessageEditData](../methods/messages.getMessageEditData.md) + + + diff --git a/old_docs/API_docs_v105/types/messages.Messages.md b/old_docs/API_docs_v105/types/messages.Messages.md new file mode 100644 index 00000000..cc39e9af --- /dev/null +++ b/old_docs/API_docs_v105/types/messages.Messages.md @@ -0,0 +1,44 @@ +--- +title: messages.Messages +description: constructors and methods of type messages.Messages +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Messages +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.messages](../constructors/messages.messages.md) + +[messages.messagesSlice](../constructors/messages.messagesSlice.md) + +[messages.channelMessages](../constructors/messages.channelMessages.md) + +[messages.messagesNotModified](../constructors/messages.messagesNotModified.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getMessages](../methods/messages.getMessages.md) + +[$MadelineProto->messages->getHistory](../methods/messages.getHistory.md) + +[$MadelineProto->messages->search](../methods/messages.search.md) + +[$MadelineProto->messages->searchGlobal](../methods/messages.searchGlobal.md) + +[$MadelineProto->messages->getUnreadMentions](../methods/messages.getUnreadMentions.md) + +[$MadelineProto->messages->getRecentLocations](../methods/messages.getRecentLocations.md) + +[$MadelineProto->messages->getScheduledHistory](../methods/messages.getScheduledHistory.md) + +[$MadelineProto->messages->getScheduledMessages](../methods/messages.getScheduledMessages.md) + +[$MadelineProto->channels->getMessages](../methods/channels.getMessages.md) + + + diff --git a/old_docs/API_docs_v105/types/messages.PeerDialogs.md b/old_docs/API_docs_v105/types/messages.PeerDialogs.md new file mode 100644 index 00000000..9a1ceaf0 --- /dev/null +++ b/old_docs/API_docs_v105/types/messages.PeerDialogs.md @@ -0,0 +1,24 @@ +--- +title: messages.PeerDialogs +description: constructors and methods of type messages.PeerDialogs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.PeerDialogs +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.peerDialogs](../constructors/messages.peerDialogs.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getPeerDialogs](../methods/messages.getPeerDialogs.md) + +[$MadelineProto->messages->getPinnedDialogs](../methods/messages.getPinnedDialogs.md) + + + diff --git a/old_docs/API_docs_v105/types/messages.RecentStickers.md b/old_docs/API_docs_v105/types/messages.RecentStickers.md new file mode 100644 index 00000000..e5c49b92 --- /dev/null +++ b/old_docs/API_docs_v105/types/messages.RecentStickers.md @@ -0,0 +1,24 @@ +--- +title: messages.RecentStickers +description: constructors and methods of type messages.RecentStickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.RecentStickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.recentStickersNotModified](../constructors/messages.recentStickersNotModified.md) + +[messages.recentStickers](../constructors/messages.recentStickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getRecentStickers](../methods/messages.getRecentStickers.md) + + + diff --git a/old_docs/API_docs_v105/types/messages.SavedGifs.md b/old_docs/API_docs_v105/types/messages.SavedGifs.md new file mode 100644 index 00000000..99844c98 --- /dev/null +++ b/old_docs/API_docs_v105/types/messages.SavedGifs.md @@ -0,0 +1,24 @@ +--- +title: messages.SavedGifs +description: constructors and methods of type messages.SavedGifs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.SavedGifs +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.savedGifsNotModified](../constructors/messages.savedGifsNotModified.md) + +[messages.savedGifs](../constructors/messages.savedGifs.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getSavedGifs](../methods/messages.getSavedGifs.md) + + + diff --git a/old_docs/API_docs_v105/types/messages.SearchCounter.md b/old_docs/API_docs_v105/types/messages.SearchCounter.md new file mode 100644 index 00000000..d2194858 --- /dev/null +++ b/old_docs/API_docs_v105/types/messages.SearchCounter.md @@ -0,0 +1,22 @@ +--- +title: messages.SearchCounter +description: constructors and methods of type messages.SearchCounter +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.SearchCounter +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.searchCounter](../constructors/messages.searchCounter.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getSearchCounters](../methods/messages.getSearchCounters.md) + + + diff --git a/old_docs/API_docs_v105/types/messages.SentEncryptedMessage.md b/old_docs/API_docs_v105/types/messages.SentEncryptedMessage.md new file mode 100644 index 00000000..b6d05b1f --- /dev/null +++ b/old_docs/API_docs_v105/types/messages.SentEncryptedMessage.md @@ -0,0 +1,28 @@ +--- +title: messages.SentEncryptedMessage +description: constructors and methods of type messages.SentEncryptedMessage +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.SentEncryptedMessage +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.sentEncryptedMessage](../constructors/messages.sentEncryptedMessage.md) + +[messages.sentEncryptedFile](../constructors/messages.sentEncryptedFile.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->sendEncrypted](../methods/messages.sendEncrypted.md) + +[$MadelineProto->messages->sendEncryptedFile](../methods/messages.sendEncryptedFile.md) + +[$MadelineProto->messages->sendEncryptedService](../methods/messages.sendEncryptedService.md) + + + diff --git a/old_docs/API_docs_v105/types/messages.StickerSet.md b/old_docs/API_docs_v105/types/messages.StickerSet.md new file mode 100644 index 00000000..e173fe45 --- /dev/null +++ b/old_docs/API_docs_v105/types/messages.StickerSet.md @@ -0,0 +1,30 @@ +--- +title: messages.StickerSet +description: constructors and methods of type messages.StickerSet +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.StickerSet +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.stickerSet](../constructors/messages.stickerSet.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getStickerSet](../methods/messages.getStickerSet.md) + +[$MadelineProto->stickers->createStickerSet](../methods/stickers.createStickerSet.md) + +[$MadelineProto->stickers->removeStickerFromSet](../methods/stickers.removeStickerFromSet.md) + +[$MadelineProto->stickers->changeStickerPosition](../methods/stickers.changeStickerPosition.md) + +[$MadelineProto->stickers->addStickerToSet](../methods/stickers.addStickerToSet.md) + + + diff --git a/old_docs/API_docs_v105/types/messages.StickerSetInstallResult.md b/old_docs/API_docs_v105/types/messages.StickerSetInstallResult.md new file mode 100644 index 00000000..9e09c293 --- /dev/null +++ b/old_docs/API_docs_v105/types/messages.StickerSetInstallResult.md @@ -0,0 +1,24 @@ +--- +title: messages.StickerSetInstallResult +description: constructors and methods of type messages.StickerSetInstallResult +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.StickerSetInstallResult +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.stickerSetInstallResultSuccess](../constructors/messages.stickerSetInstallResultSuccess.md) + +[messages.stickerSetInstallResultArchive](../constructors/messages.stickerSetInstallResultArchive.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->installStickerSet](../methods/messages.installStickerSet.md) + + + diff --git a/old_docs/API_docs_v105/types/messages.Stickers.md b/old_docs/API_docs_v105/types/messages.Stickers.md new file mode 100644 index 00000000..43bddf06 --- /dev/null +++ b/old_docs/API_docs_v105/types/messages.Stickers.md @@ -0,0 +1,24 @@ +--- +title: messages.Stickers +description: constructors and methods of type messages.Stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Stickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.stickersNotModified](../constructors/messages.stickersNotModified.md) + +[messages.stickers](../constructors/messages.stickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getStickers](../methods/messages.getStickers.md) + + + diff --git a/old_docs/API_docs_v105/types/messages_AffectedHistory.md b/old_docs/API_docs_v105/types/messages_AffectedHistory.md deleted file mode 100644 index 9eef04c0..00000000 --- a/old_docs/API_docs_v105/types/messages_AffectedHistory.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: messages_AffectedHistory -description: constructors and methods of type messages_AffectedHistory -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_AffectedHistory -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_affectedHistory](../constructors/messages_affectedHistory.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->deleteHistory](../methods/messages_deleteHistory.md) - -[$MadelineProto->messages->readMentions](../methods/messages_readMentions.md) - -[$MadelineProto->channels->deleteUserHistory](../methods/channels_deleteUserHistory.md) - - - diff --git a/old_docs/API_docs_v105/types/messages_AffectedMessages.md b/old_docs/API_docs_v105/types/messages_AffectedMessages.md deleted file mode 100644 index dcbea721..00000000 --- a/old_docs/API_docs_v105/types/messages_AffectedMessages.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: messages_AffectedMessages -description: constructors and methods of type messages_AffectedMessages -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_AffectedMessages -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_affectedMessages](../constructors/messages_affectedMessages.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->readHistory](../methods/messages_readHistory.md) - -[$MadelineProto->messages->deleteMessages](../methods/messages_deleteMessages.md) - -[$MadelineProto->messages->readMessageContents](../methods/messages_readMessageContents.md) - -[$MadelineProto->channels->deleteMessages](../methods/channels_deleteMessages.md) - - - diff --git a/old_docs/API_docs_v105/types/messages_AllStickers.md b/old_docs/API_docs_v105/types/messages_AllStickers.md deleted file mode 100644 index b6a322e0..00000000 --- a/old_docs/API_docs_v105/types/messages_AllStickers.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: messages_AllStickers -description: constructors and methods of type messages_AllStickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_AllStickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_allStickersNotModified](../constructors/messages_allStickersNotModified.md) - -[messages\_allStickers](../constructors/messages_allStickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getAllStickers](../methods/messages_getAllStickers.md) - -[$MadelineProto->messages->getMaskStickers](../methods/messages_getMaskStickers.md) - - - diff --git a/old_docs/API_docs_v105/types/messages_ArchivedStickers.md b/old_docs/API_docs_v105/types/messages_ArchivedStickers.md deleted file mode 100644 index c569675e..00000000 --- a/old_docs/API_docs_v105/types/messages_ArchivedStickers.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_ArchivedStickers -description: constructors and methods of type messages_ArchivedStickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_ArchivedStickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_archivedStickers](../constructors/messages_archivedStickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getArchivedStickers](../methods/messages_getArchivedStickers.md) - - - diff --git a/old_docs/API_docs_v105/types/messages_BotCallbackAnswer.md b/old_docs/API_docs_v105/types/messages_BotCallbackAnswer.md deleted file mode 100644 index f8d424d0..00000000 --- a/old_docs/API_docs_v105/types/messages_BotCallbackAnswer.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_BotCallbackAnswer -description: constructors and methods of type messages_BotCallbackAnswer -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_BotCallbackAnswer -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_botCallbackAnswer](../constructors/messages_botCallbackAnswer.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getBotCallbackAnswer](../methods/messages_getBotCallbackAnswer.md) - - - diff --git a/old_docs/API_docs_v105/types/messages_BotResults.md b/old_docs/API_docs_v105/types/messages_BotResults.md deleted file mode 100644 index c346c5bd..00000000 --- a/old_docs/API_docs_v105/types/messages_BotResults.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_BotResults -description: constructors and methods of type messages_BotResults -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_BotResults -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_botResults](../constructors/messages_botResults.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getInlineBotResults](../methods/messages_getInlineBotResults.md) - - - diff --git a/old_docs/API_docs_v105/types/messages_ChatFull.md b/old_docs/API_docs_v105/types/messages_ChatFull.md deleted file mode 100644 index e4add41e..00000000 --- a/old_docs/API_docs_v105/types/messages_ChatFull.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_ChatFull -description: constructors and methods of type messages_ChatFull -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_ChatFull -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_chatFull](../constructors/messages_chatFull.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getFullChat](../methods/messages_getFullChat.md) - -[$MadelineProto->channels->getFullChannel](../methods/channels_getFullChannel.md) - - - diff --git a/old_docs/API_docs_v105/types/messages_Chats.md b/old_docs/API_docs_v105/types/messages_Chats.md deleted file mode 100644 index 38ecd651..00000000 --- a/old_docs/API_docs_v105/types/messages_Chats.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -title: messages_Chats -description: constructors and methods of type messages_Chats -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Chats -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_chats](../constructors/messages_chats.md) - -[messages\_chatsSlice](../constructors/messages_chatsSlice.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getChats](../methods/messages_getChats.md) - -[$MadelineProto->messages->getCommonChats](../methods/messages_getCommonChats.md) - -[$MadelineProto->messages->getAllChats](../methods/messages_getAllChats.md) - -[$MadelineProto->channels->getChannels](../methods/channels_getChannels.md) - -[$MadelineProto->channels->getAdminedPublicChannels](../methods/channels_getAdminedPublicChannels.md) - -[$MadelineProto->channels->getLeftChannels](../methods/channels_getLeftChannels.md) - -[$MadelineProto->channels->getGroupsForDiscussion](../methods/channels_getGroupsForDiscussion.md) - - - diff --git a/old_docs/API_docs_v105/types/messages_DhConfig.md b/old_docs/API_docs_v105/types/messages_DhConfig.md deleted file mode 100644 index ce237411..00000000 --- a/old_docs/API_docs_v105/types/messages_DhConfig.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_DhConfig -description: constructors and methods of type messages_DhConfig -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_DhConfig -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_dhConfigNotModified](../constructors/messages_dhConfigNotModified.md) - -[messages\_dhConfig](../constructors/messages_dhConfig.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getDhConfig](../methods/messages_getDhConfig.md) - - - diff --git a/old_docs/API_docs_v105/types/messages_Dialogs.md b/old_docs/API_docs_v105/types/messages_Dialogs.md deleted file mode 100644 index 86d5eb72..00000000 --- a/old_docs/API_docs_v105/types/messages_Dialogs.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: messages_Dialogs -description: constructors and methods of type messages_Dialogs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Dialogs -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_dialogs](../constructors/messages_dialogs.md) - -[messages\_dialogsSlice](../constructors/messages_dialogsSlice.md) - -[messages\_dialogsNotModified](../constructors/messages_dialogsNotModified.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getDialogs](../methods/messages_getDialogs.md) - - - diff --git a/old_docs/API_docs_v105/types/messages_FavedStickers.md b/old_docs/API_docs_v105/types/messages_FavedStickers.md deleted file mode 100644 index 6fa1f221..00000000 --- a/old_docs/API_docs_v105/types/messages_FavedStickers.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_FavedStickers -description: constructors and methods of type messages_FavedStickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_FavedStickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_favedStickersNotModified](../constructors/messages_favedStickersNotModified.md) - -[messages\_favedStickers](../constructors/messages_favedStickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getFavedStickers](../methods/messages_getFavedStickers.md) - - - diff --git a/old_docs/API_docs_v105/types/messages_FeaturedStickers.md b/old_docs/API_docs_v105/types/messages_FeaturedStickers.md deleted file mode 100644 index 9b4c5002..00000000 --- a/old_docs/API_docs_v105/types/messages_FeaturedStickers.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_FeaturedStickers -description: constructors and methods of type messages_FeaturedStickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_FeaturedStickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_featuredStickersNotModified](../constructors/messages_featuredStickersNotModified.md) - -[messages\_featuredStickers](../constructors/messages_featuredStickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getFeaturedStickers](../methods/messages_getFeaturedStickers.md) - - - diff --git a/old_docs/API_docs_v105/types/messages_FoundGifs.md b/old_docs/API_docs_v105/types/messages_FoundGifs.md deleted file mode 100644 index 9dd088ba..00000000 --- a/old_docs/API_docs_v105/types/messages_FoundGifs.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_FoundGifs -description: constructors and methods of type messages_FoundGifs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_FoundGifs -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_foundGifs](../constructors/messages_foundGifs.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->searchGifs](../methods/messages_searchGifs.md) - - - diff --git a/old_docs/API_docs_v105/types/messages_FoundStickerSets.md b/old_docs/API_docs_v105/types/messages_FoundStickerSets.md deleted file mode 100644 index 9045b0d7..00000000 --- a/old_docs/API_docs_v105/types/messages_FoundStickerSets.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_FoundStickerSets -description: constructors and methods of type messages_FoundStickerSets -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_FoundStickerSets -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_foundStickerSetsNotModified](../constructors/messages_foundStickerSetsNotModified.md) - -[messages\_foundStickerSets](../constructors/messages_foundStickerSets.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->searchStickerSets](../methods/messages_searchStickerSets.md) - - - diff --git a/old_docs/API_docs_v105/types/messages_HighScores.md b/old_docs/API_docs_v105/types/messages_HighScores.md deleted file mode 100644 index 9660e255..00000000 --- a/old_docs/API_docs_v105/types/messages_HighScores.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_HighScores -description: constructors and methods of type messages_HighScores -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_HighScores -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_highScores](../constructors/messages_highScores.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getGameHighScores](../methods/messages_getGameHighScores.md) - -[$MadelineProto->messages->getInlineGameHighScores](../methods/messages_getInlineGameHighScores.md) - - - diff --git a/old_docs/API_docs_v105/types/messages_MessageEditData.md b/old_docs/API_docs_v105/types/messages_MessageEditData.md deleted file mode 100644 index ed3c507a..00000000 --- a/old_docs/API_docs_v105/types/messages_MessageEditData.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_MessageEditData -description: constructors and methods of type messages_MessageEditData -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_MessageEditData -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_messageEditData](../constructors/messages_messageEditData.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getMessageEditData](../methods/messages_getMessageEditData.md) - - - diff --git a/old_docs/API_docs_v105/types/messages_Messages.md b/old_docs/API_docs_v105/types/messages_Messages.md deleted file mode 100644 index d68962d8..00000000 --- a/old_docs/API_docs_v105/types/messages_Messages.md +++ /dev/null @@ -1,44 +0,0 @@ ---- -title: messages_Messages -description: constructors and methods of type messages_Messages -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Messages -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_messages](../constructors/messages_messages.md) - -[messages\_messagesSlice](../constructors/messages_messagesSlice.md) - -[messages\_channelMessages](../constructors/messages_channelMessages.md) - -[messages\_messagesNotModified](../constructors/messages_messagesNotModified.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getMessages](../methods/messages_getMessages.md) - -[$MadelineProto->messages->getHistory](../methods/messages_getHistory.md) - -[$MadelineProto->messages->search](../methods/messages_search.md) - -[$MadelineProto->messages->searchGlobal](../methods/messages_searchGlobal.md) - -[$MadelineProto->messages->getUnreadMentions](../methods/messages_getUnreadMentions.md) - -[$MadelineProto->messages->getRecentLocations](../methods/messages_getRecentLocations.md) - -[$MadelineProto->messages->getScheduledHistory](../methods/messages_getScheduledHistory.md) - -[$MadelineProto->messages->getScheduledMessages](../methods/messages_getScheduledMessages.md) - -[$MadelineProto->channels->getMessages](../methods/channels_getMessages.md) - - - diff --git a/old_docs/API_docs_v105/types/messages_PeerDialogs.md b/old_docs/API_docs_v105/types/messages_PeerDialogs.md deleted file mode 100644 index 2477931f..00000000 --- a/old_docs/API_docs_v105/types/messages_PeerDialogs.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_PeerDialogs -description: constructors and methods of type messages_PeerDialogs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_PeerDialogs -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_peerDialogs](../constructors/messages_peerDialogs.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getPeerDialogs](../methods/messages_getPeerDialogs.md) - -[$MadelineProto->messages->getPinnedDialogs](../methods/messages_getPinnedDialogs.md) - - - diff --git a/old_docs/API_docs_v105/types/messages_RecentStickers.md b/old_docs/API_docs_v105/types/messages_RecentStickers.md deleted file mode 100644 index 2c9db779..00000000 --- a/old_docs/API_docs_v105/types/messages_RecentStickers.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_RecentStickers -description: constructors and methods of type messages_RecentStickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_RecentStickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_recentStickersNotModified](../constructors/messages_recentStickersNotModified.md) - -[messages\_recentStickers](../constructors/messages_recentStickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getRecentStickers](../methods/messages_getRecentStickers.md) - - - diff --git a/old_docs/API_docs_v105/types/messages_SavedGifs.md b/old_docs/API_docs_v105/types/messages_SavedGifs.md deleted file mode 100644 index ffb000aa..00000000 --- a/old_docs/API_docs_v105/types/messages_SavedGifs.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_SavedGifs -description: constructors and methods of type messages_SavedGifs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_SavedGifs -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_savedGifsNotModified](../constructors/messages_savedGifsNotModified.md) - -[messages\_savedGifs](../constructors/messages_savedGifs.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getSavedGifs](../methods/messages_getSavedGifs.md) - - - diff --git a/old_docs/API_docs_v105/types/messages_SearchCounter.md b/old_docs/API_docs_v105/types/messages_SearchCounter.md deleted file mode 100644 index 1ce67b2a..00000000 --- a/old_docs/API_docs_v105/types/messages_SearchCounter.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_SearchCounter -description: constructors and methods of type messages_SearchCounter -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_SearchCounter -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_searchCounter](../constructors/messages_searchCounter.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getSearchCounters](../methods/messages_getSearchCounters.md) - - - diff --git a/old_docs/API_docs_v105/types/messages_SentEncryptedMessage.md b/old_docs/API_docs_v105/types/messages_SentEncryptedMessage.md deleted file mode 100644 index 9f7ab935..00000000 --- a/old_docs/API_docs_v105/types/messages_SentEncryptedMessage.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: messages_SentEncryptedMessage -description: constructors and methods of type messages_SentEncryptedMessage -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_SentEncryptedMessage -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_sentEncryptedMessage](../constructors/messages_sentEncryptedMessage.md) - -[messages\_sentEncryptedFile](../constructors/messages_sentEncryptedFile.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->sendEncrypted](../methods/messages_sendEncrypted.md) - -[$MadelineProto->messages->sendEncryptedFile](../methods/messages_sendEncryptedFile.md) - -[$MadelineProto->messages->sendEncryptedService](../methods/messages_sendEncryptedService.md) - - - diff --git a/old_docs/API_docs_v105/types/messages_StickerSet.md b/old_docs/API_docs_v105/types/messages_StickerSet.md deleted file mode 100644 index 98e34dd2..00000000 --- a/old_docs/API_docs_v105/types/messages_StickerSet.md +++ /dev/null @@ -1,30 +0,0 @@ ---- -title: messages_StickerSet -description: constructors and methods of type messages_StickerSet -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_StickerSet -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_stickerSet](../constructors/messages_stickerSet.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getStickerSet](../methods/messages_getStickerSet.md) - -[$MadelineProto->stickers->createStickerSet](../methods/stickers_createStickerSet.md) - -[$MadelineProto->stickers->removeStickerFromSet](../methods/stickers_removeStickerFromSet.md) - -[$MadelineProto->stickers->changeStickerPosition](../methods/stickers_changeStickerPosition.md) - -[$MadelineProto->stickers->addStickerToSet](../methods/stickers_addStickerToSet.md) - - - diff --git a/old_docs/API_docs_v105/types/messages_StickerSetInstallResult.md b/old_docs/API_docs_v105/types/messages_StickerSetInstallResult.md deleted file mode 100644 index bb62ec11..00000000 --- a/old_docs/API_docs_v105/types/messages_StickerSetInstallResult.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_StickerSetInstallResult -description: constructors and methods of type messages_StickerSetInstallResult -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_StickerSetInstallResult -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_stickerSetInstallResultSuccess](../constructors/messages_stickerSetInstallResultSuccess.md) - -[messages\_stickerSetInstallResultArchive](../constructors/messages_stickerSetInstallResultArchive.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->installStickerSet](../methods/messages_installStickerSet.md) - - - diff --git a/old_docs/API_docs_v105/types/messages_Stickers.md b/old_docs/API_docs_v105/types/messages_Stickers.md deleted file mode 100644 index cf53f57b..00000000 --- a/old_docs/API_docs_v105/types/messages_Stickers.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_Stickers -description: constructors and methods of type messages_Stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Stickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_stickersNotModified](../constructors/messages_stickersNotModified.md) - -[messages\_stickers](../constructors/messages_stickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getStickers](../methods/messages_getStickers.md) - - - diff --git a/old_docs/API_docs_v105/types/payments.PaymentForm.md b/old_docs/API_docs_v105/types/payments.PaymentForm.md new file mode 100644 index 00000000..985c1957 --- /dev/null +++ b/old_docs/API_docs_v105/types/payments.PaymentForm.md @@ -0,0 +1,22 @@ +--- +title: payments.PaymentForm +description: constructors and methods of type payments.PaymentForm +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: payments.PaymentForm +[Back to types index](index.md) + + + +### Possible values (constructors): + +[payments.paymentForm](../constructors/payments.paymentForm.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->payments->getPaymentForm](../methods/payments.getPaymentForm.md) + + + diff --git a/old_docs/API_docs_v105/types/payments.PaymentReceipt.md b/old_docs/API_docs_v105/types/payments.PaymentReceipt.md new file mode 100644 index 00000000..45cebd47 --- /dev/null +++ b/old_docs/API_docs_v105/types/payments.PaymentReceipt.md @@ -0,0 +1,22 @@ +--- +title: payments.PaymentReceipt +description: constructors and methods of type payments.PaymentReceipt +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: payments.PaymentReceipt +[Back to types index](index.md) + + + +### Possible values (constructors): + +[payments.paymentReceipt](../constructors/payments.paymentReceipt.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->payments->getPaymentReceipt](../methods/payments.getPaymentReceipt.md) + + + diff --git a/old_docs/API_docs_v105/types/payments.PaymentResult.md b/old_docs/API_docs_v105/types/payments.PaymentResult.md new file mode 100644 index 00000000..4f48c512 --- /dev/null +++ b/old_docs/API_docs_v105/types/payments.PaymentResult.md @@ -0,0 +1,24 @@ +--- +title: payments.PaymentResult +description: constructors and methods of type payments.PaymentResult +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: payments.PaymentResult +[Back to types index](index.md) + + + +### Possible values (constructors): + +[payments.paymentResult](../constructors/payments.paymentResult.md) + +[payments.paymentVerificationNeeded](../constructors/payments.paymentVerificationNeeded.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->payments->sendPaymentForm](../methods/payments.sendPaymentForm.md) + + + diff --git a/old_docs/API_docs_v105/types/payments.SavedInfo.md b/old_docs/API_docs_v105/types/payments.SavedInfo.md new file mode 100644 index 00000000..cf7be16c --- /dev/null +++ b/old_docs/API_docs_v105/types/payments.SavedInfo.md @@ -0,0 +1,22 @@ +--- +title: payments.SavedInfo +description: constructors and methods of type payments.SavedInfo +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: payments.SavedInfo +[Back to types index](index.md) + + + +### Possible values (constructors): + +[payments.savedInfo](../constructors/payments.savedInfo.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->payments->getSavedInfo](../methods/payments.getSavedInfo.md) + + + diff --git a/old_docs/API_docs_v105/types/payments.ValidatedRequestedInfo.md b/old_docs/API_docs_v105/types/payments.ValidatedRequestedInfo.md new file mode 100644 index 00000000..653a5064 --- /dev/null +++ b/old_docs/API_docs_v105/types/payments.ValidatedRequestedInfo.md @@ -0,0 +1,22 @@ +--- +title: payments.ValidatedRequestedInfo +description: constructors and methods of type payments.ValidatedRequestedInfo +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: payments.ValidatedRequestedInfo +[Back to types index](index.md) + + + +### Possible values (constructors): + +[payments.validatedRequestedInfo](../constructors/payments.validatedRequestedInfo.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->payments->validateRequestedInfo](../methods/payments.validateRequestedInfo.md) + + + diff --git a/old_docs/API_docs_v105/types/payments_PaymentForm.md b/old_docs/API_docs_v105/types/payments_PaymentForm.md deleted file mode 100644 index 4662586d..00000000 --- a/old_docs/API_docs_v105/types/payments_PaymentForm.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: payments_PaymentForm -description: constructors and methods of type payments_PaymentForm -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: payments\_PaymentForm -[Back to types index](index.md) - - - -### Possible values (constructors): - -[payments\_paymentForm](../constructors/payments_paymentForm.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->payments->getPaymentForm](../methods/payments_getPaymentForm.md) - - - diff --git a/old_docs/API_docs_v105/types/payments_PaymentReceipt.md b/old_docs/API_docs_v105/types/payments_PaymentReceipt.md deleted file mode 100644 index b4770d2a..00000000 --- a/old_docs/API_docs_v105/types/payments_PaymentReceipt.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: payments_PaymentReceipt -description: constructors and methods of type payments_PaymentReceipt -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: payments\_PaymentReceipt -[Back to types index](index.md) - - - -### Possible values (constructors): - -[payments\_paymentReceipt](../constructors/payments_paymentReceipt.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->payments->getPaymentReceipt](../methods/payments_getPaymentReceipt.md) - - - diff --git a/old_docs/API_docs_v105/types/payments_PaymentResult.md b/old_docs/API_docs_v105/types/payments_PaymentResult.md deleted file mode 100644 index d956ca9a..00000000 --- a/old_docs/API_docs_v105/types/payments_PaymentResult.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: payments_PaymentResult -description: constructors and methods of type payments_PaymentResult -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: payments\_PaymentResult -[Back to types index](index.md) - - - -### Possible values (constructors): - -[payments\_paymentResult](../constructors/payments_paymentResult.md) - -[payments\_paymentVerificationNeeded](../constructors/payments_paymentVerificationNeeded.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->payments->sendPaymentForm](../methods/payments_sendPaymentForm.md) - - - diff --git a/old_docs/API_docs_v105/types/payments_SavedInfo.md b/old_docs/API_docs_v105/types/payments_SavedInfo.md deleted file mode 100644 index c8f7b9e3..00000000 --- a/old_docs/API_docs_v105/types/payments_SavedInfo.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: payments_SavedInfo -description: constructors and methods of type payments_SavedInfo -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: payments\_SavedInfo -[Back to types index](index.md) - - - -### Possible values (constructors): - -[payments\_savedInfo](../constructors/payments_savedInfo.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->payments->getSavedInfo](../methods/payments_getSavedInfo.md) - - - diff --git a/old_docs/API_docs_v105/types/payments_ValidatedRequestedInfo.md b/old_docs/API_docs_v105/types/payments_ValidatedRequestedInfo.md deleted file mode 100644 index ff6c4e39..00000000 --- a/old_docs/API_docs_v105/types/payments_ValidatedRequestedInfo.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: payments_ValidatedRequestedInfo -description: constructors and methods of type payments_ValidatedRequestedInfo -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: payments\_ValidatedRequestedInfo -[Back to types index](index.md) - - - -### Possible values (constructors): - -[payments\_validatedRequestedInfo](../constructors/payments_validatedRequestedInfo.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->payments->validateRequestedInfo](../methods/payments_validateRequestedInfo.md) - - - diff --git a/old_docs/API_docs_v105/types/phone.PhoneCall.md b/old_docs/API_docs_v105/types/phone.PhoneCall.md new file mode 100644 index 00000000..db0708e9 --- /dev/null +++ b/old_docs/API_docs_v105/types/phone.PhoneCall.md @@ -0,0 +1,26 @@ +--- +title: phone.PhoneCall +description: constructors and methods of type phone.PhoneCall +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: phone.PhoneCall +[Back to types index](index.md) + + + +### Possible values (constructors): + +[phone.phoneCall](../constructors/phone.phoneCall.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->phone->requestCall](../methods/phone.requestCall.md) + +[$MadelineProto->phone->acceptCall](../methods/phone.acceptCall.md) + +[$MadelineProto->phone->confirmCall](../methods/phone.confirmCall.md) + + + diff --git a/old_docs/API_docs_v105/types/phone_PhoneCall.md b/old_docs/API_docs_v105/types/phone_PhoneCall.md deleted file mode 100644 index 0a49d482..00000000 --- a/old_docs/API_docs_v105/types/phone_PhoneCall.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: phone_PhoneCall -description: constructors and methods of type phone_PhoneCall -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: phone\_PhoneCall -[Back to types index](index.md) - - - -### Possible values (constructors): - -[phone\_phoneCall](../constructors/phone_phoneCall.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->phone->requestCall](../methods/phone_requestCall.md) - -[$MadelineProto->phone->acceptCall](../methods/phone_acceptCall.md) - -[$MadelineProto->phone->confirmCall](../methods/phone_confirmCall.md) - - - diff --git a/old_docs/API_docs_v105/types/photos.Photo.md b/old_docs/API_docs_v105/types/photos.Photo.md new file mode 100644 index 00000000..d60f203c --- /dev/null +++ b/old_docs/API_docs_v105/types/photos.Photo.md @@ -0,0 +1,22 @@ +--- +title: photos.Photo +description: constructors and methods of type photos.Photo +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: photos.Photo +[Back to types index](index.md) + + + +### Possible values (constructors): + +[photos.photo](../constructors/photos.photo.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->photos->uploadProfilePhoto](../methods/photos.uploadProfilePhoto.md) + + + diff --git a/old_docs/API_docs_v105/types/photos.Photos.md b/old_docs/API_docs_v105/types/photos.Photos.md new file mode 100644 index 00000000..fff0e296 --- /dev/null +++ b/old_docs/API_docs_v105/types/photos.Photos.md @@ -0,0 +1,24 @@ +--- +title: photos.Photos +description: constructors and methods of type photos.Photos +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: photos.Photos +[Back to types index](index.md) + + + +### Possible values (constructors): + +[photos.photos](../constructors/photos.photos.md) + +[photos.photosSlice](../constructors/photos.photosSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->photos->getUserPhotos](../methods/photos.getUserPhotos.md) + + + diff --git a/old_docs/API_docs_v105/types/photos_Photo.md b/old_docs/API_docs_v105/types/photos_Photo.md deleted file mode 100644 index d11bbdef..00000000 --- a/old_docs/API_docs_v105/types/photos_Photo.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: photos_Photo -description: constructors and methods of type photos_Photo -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: photos\_Photo -[Back to types index](index.md) - - - -### Possible values (constructors): - -[photos\_photo](../constructors/photos_photo.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->photos->uploadProfilePhoto](../methods/photos_uploadProfilePhoto.md) - - - diff --git a/old_docs/API_docs_v105/types/photos_Photos.md b/old_docs/API_docs_v105/types/photos_Photos.md deleted file mode 100644 index 9875ad70..00000000 --- a/old_docs/API_docs_v105/types/photos_Photos.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: photos_Photos -description: constructors and methods of type photos_Photos -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: photos\_Photos -[Back to types index](index.md) - - - -### Possible values (constructors): - -[photos\_photos](../constructors/photos_photos.md) - -[photos\_photosSlice](../constructors/photos_photosSlice.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->photos->getUserPhotos](../methods/photos_getUserPhotos.md) - - - diff --git a/old_docs/API_docs_v105/types/storage.FileType.md b/old_docs/API_docs_v105/types/storage.FileType.md new file mode 100644 index 00000000..32f1bb72 --- /dev/null +++ b/old_docs/API_docs_v105/types/storage.FileType.md @@ -0,0 +1,38 @@ +--- +title: storage.FileType +description: constructors and methods of type storage.FileType +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: storage.FileType +[Back to types index](index.md) + + + +### Possible values (constructors): + +[storage.fileUnknown](../constructors/storage.fileUnknown.md) + +[storage.filePartial](../constructors/storage.filePartial.md) + +[storage.fileJpeg](../constructors/storage.fileJpeg.md) + +[storage.fileGif](../constructors/storage.fileGif.md) + +[storage.filePng](../constructors/storage.filePng.md) + +[storage.filePdf](../constructors/storage.filePdf.md) + +[storage.fileMp3](../constructors/storage.fileMp3.md) + +[storage.fileMov](../constructors/storage.fileMov.md) + +[storage.fileMp4](../constructors/storage.fileMp4.md) + +[storage.fileWebp](../constructors/storage.fileWebp.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v105/types/storage_FileType.md b/old_docs/API_docs_v105/types/storage_FileType.md deleted file mode 100644 index 22118805..00000000 --- a/old_docs/API_docs_v105/types/storage_FileType.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: storage_FileType -description: constructors and methods of type storage_FileType -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: storage\_FileType -[Back to types index](index.md) - - - -### Possible values (constructors): - -[storage\_fileUnknown](../constructors/storage_fileUnknown.md) - -[storage\_filePartial](../constructors/storage_filePartial.md) - -[storage\_fileJpeg](../constructors/storage_fileJpeg.md) - -[storage\_fileGif](../constructors/storage_fileGif.md) - -[storage\_filePng](../constructors/storage_filePng.md) - -[storage\_filePdf](../constructors/storage_filePdf.md) - -[storage\_fileMp3](../constructors/storage_fileMp3.md) - -[storage\_fileMov](../constructors/storage_fileMov.md) - -[storage\_fileMp4](../constructors/storage_fileMp4.md) - -[storage\_fileWebp](../constructors/storage_fileWebp.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v105/types/updates.ChannelDifference.md b/old_docs/API_docs_v105/types/updates.ChannelDifference.md new file mode 100644 index 00000000..ac889a1e --- /dev/null +++ b/old_docs/API_docs_v105/types/updates.ChannelDifference.md @@ -0,0 +1,26 @@ +--- +title: updates.ChannelDifference +description: constructors and methods of type updates.ChannelDifference +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: updates.ChannelDifference +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updates.channelDifferenceEmpty](../constructors/updates.channelDifferenceEmpty.md) + +[updates.channelDifferenceTooLong](../constructors/updates.channelDifferenceTooLong.md) + +[updates.channelDifference](../constructors/updates.channelDifference.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->updates->getChannelDifference](../methods/updates.getChannelDifference.md) + + + diff --git a/old_docs/API_docs_v105/types/updates.Difference.md b/old_docs/API_docs_v105/types/updates.Difference.md new file mode 100644 index 00000000..0c1a1b6e --- /dev/null +++ b/old_docs/API_docs_v105/types/updates.Difference.md @@ -0,0 +1,28 @@ +--- +title: updates.Difference +description: constructors and methods of type updates.Difference +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: updates.Difference +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updates.differenceEmpty](../constructors/updates.differenceEmpty.md) + +[updates.difference](../constructors/updates.difference.md) + +[updates.differenceSlice](../constructors/updates.differenceSlice.md) + +[updates.differenceTooLong](../constructors/updates.differenceTooLong.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->updates->getDifference](../methods/updates.getDifference.md) + + + diff --git a/old_docs/API_docs_v105/types/updates.State.md b/old_docs/API_docs_v105/types/updates.State.md new file mode 100644 index 00000000..49bbb7fd --- /dev/null +++ b/old_docs/API_docs_v105/types/updates.State.md @@ -0,0 +1,22 @@ +--- +title: updates.State +description: constructors and methods of type updates.State +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: updates.State +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updates.state](../constructors/updates.state.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->updates->getState](../methods/updates.getState.md) + + + diff --git a/old_docs/API_docs_v105/types/updates_ChannelDifference.md b/old_docs/API_docs_v105/types/updates_ChannelDifference.md deleted file mode 100644 index dc988692..00000000 --- a/old_docs/API_docs_v105/types/updates_ChannelDifference.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: updates_ChannelDifference -description: constructors and methods of type updates_ChannelDifference -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: updates\_ChannelDifference -[Back to types index](index.md) - - - -### Possible values (constructors): - -[updates\_channelDifferenceEmpty](../constructors/updates_channelDifferenceEmpty.md) - -[updates\_channelDifferenceTooLong](../constructors/updates_channelDifferenceTooLong.md) - -[updates\_channelDifference](../constructors/updates_channelDifference.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->updates->getChannelDifference](../methods/updates_getChannelDifference.md) - - - diff --git a/old_docs/API_docs_v105/types/updates_Difference.md b/old_docs/API_docs_v105/types/updates_Difference.md deleted file mode 100644 index 50bb098e..00000000 --- a/old_docs/API_docs_v105/types/updates_Difference.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: updates_Difference -description: constructors and methods of type updates_Difference -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: updates\_Difference -[Back to types index](index.md) - - - -### Possible values (constructors): - -[updates\_differenceEmpty](../constructors/updates_differenceEmpty.md) - -[updates\_difference](../constructors/updates_difference.md) - -[updates\_differenceSlice](../constructors/updates_differenceSlice.md) - -[updates\_differenceTooLong](../constructors/updates_differenceTooLong.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->updates->getDifference](../methods/updates_getDifference.md) - - - diff --git a/old_docs/API_docs_v105/types/updates_State.md b/old_docs/API_docs_v105/types/updates_State.md deleted file mode 100644 index 7a441145..00000000 --- a/old_docs/API_docs_v105/types/updates_State.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: updates_State -description: constructors and methods of type updates_State -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: updates\_State -[Back to types index](index.md) - - - -### Possible values (constructors): - -[updates\_state](../constructors/updates_state.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->updates->getState](../methods/updates_getState.md) - - - diff --git a/old_docs/API_docs_v105/types/upload.CdnFile.md b/old_docs/API_docs_v105/types/upload.CdnFile.md new file mode 100644 index 00000000..396c4bf4 --- /dev/null +++ b/old_docs/API_docs_v105/types/upload.CdnFile.md @@ -0,0 +1,24 @@ +--- +title: upload.CdnFile +description: constructors and methods of type upload.CdnFile +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: upload.CdnFile +[Back to types index](index.md) + + + +### Possible values (constructors): + +[upload.cdnFileReuploadNeeded](../constructors/upload.cdnFileReuploadNeeded.md) + +[upload.cdnFile](../constructors/upload.cdnFile.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->upload->getCdnFile](../methods/upload.getCdnFile.md) + + + diff --git a/old_docs/API_docs_v105/types/upload.File.md b/old_docs/API_docs_v105/types/upload.File.md new file mode 100644 index 00000000..6963341b --- /dev/null +++ b/old_docs/API_docs_v105/types/upload.File.md @@ -0,0 +1,24 @@ +--- +title: upload.File +description: constructors and methods of type upload.File +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: upload.File +[Back to types index](index.md) + + + +### Possible values (constructors): + +[upload.file](../constructors/upload.file.md) + +[upload.fileCdnRedirect](../constructors/upload.fileCdnRedirect.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->upload->getFile](../methods/upload.getFile.md) + + + diff --git a/old_docs/API_docs_v105/types/upload.WebFile.md b/old_docs/API_docs_v105/types/upload.WebFile.md new file mode 100644 index 00000000..e834457b --- /dev/null +++ b/old_docs/API_docs_v105/types/upload.WebFile.md @@ -0,0 +1,22 @@ +--- +title: upload.WebFile +description: constructors and methods of type upload.WebFile +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: upload.WebFile +[Back to types index](index.md) + + + +### Possible values (constructors): + +[upload.webFile](../constructors/upload.webFile.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->upload->getWebFile](../methods/upload.getWebFile.md) + + + diff --git a/old_docs/API_docs_v105/types/upload_CdnFile.md b/old_docs/API_docs_v105/types/upload_CdnFile.md deleted file mode 100644 index 51ae2e68..00000000 --- a/old_docs/API_docs_v105/types/upload_CdnFile.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: upload_CdnFile -description: constructors and methods of type upload_CdnFile -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: upload\_CdnFile -[Back to types index](index.md) - - - -### Possible values (constructors): - -[upload\_cdnFileReuploadNeeded](../constructors/upload_cdnFileReuploadNeeded.md) - -[upload\_cdnFile](../constructors/upload_cdnFile.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->upload->getCdnFile](../methods/upload_getCdnFile.md) - - - diff --git a/old_docs/API_docs_v105/types/upload_File.md b/old_docs/API_docs_v105/types/upload_File.md deleted file mode 100644 index 00e0f9cb..00000000 --- a/old_docs/API_docs_v105/types/upload_File.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: upload_File -description: constructors and methods of type upload_File -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: upload\_File -[Back to types index](index.md) - - - -### Possible values (constructors): - -[upload\_file](../constructors/upload_file.md) - -[upload\_fileCdnRedirect](../constructors/upload_fileCdnRedirect.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->upload->getFile](../methods/upload_getFile.md) - - - diff --git a/old_docs/API_docs_v105/types/upload_WebFile.md b/old_docs/API_docs_v105/types/upload_WebFile.md deleted file mode 100644 index 9a86264f..00000000 --- a/old_docs/API_docs_v105/types/upload_WebFile.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: upload_WebFile -description: constructors and methods of type upload_WebFile -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: upload\_WebFile -[Back to types index](index.md) - - - -### Possible values (constructors): - -[upload\_webFile](../constructors/upload_webFile.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->upload->getWebFile](../methods/upload_getWebFile.md) - - - diff --git a/old_docs/API_docs_v18/constructors/README.md b/old_docs/API_docs_v18/constructors/README.md index 3793f45c..e123339c 100644 --- a/old_docs/API_docs_v18/constructors/README.md +++ b/old_docs/API_docs_v18/constructors/README.md @@ -13,15 +13,19 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$audioEmpty](../constructors/audioEmpty.md) = \['id' => [long](../types/long.md), \]; *** -

[$auth\_authorization](../constructors/auth_authorization.md) = \['expires' => [int](../types/int.md), 'user' => [User](../types/User.md), \]; +

[$auth.authorization](../constructors/auth.authorization.md) = \['expires' => [int](../types/int.md), 'user' => [User](../types/User.md), \]; -[$auth\_checkedPhone](../constructors/auth_checkedPhone.md) = \['phone_registered' => [Bool](../types/Bool.md), 'phone_invited' => [Bool](../types/Bool.md), \]; +*** +

[$auth.checkedPhone](../constructors/auth.checkedPhone.md) = \['phone_registered' => [Bool](../types/Bool.md), 'phone_invited' => [Bool](../types/Bool.md), \]; -[$auth\_exportedAuthorization](../constructors/auth_exportedAuthorization.md) = \['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; +*** +

[$auth.exportedAuthorization](../constructors/auth.exportedAuthorization.md) = \['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; -[$auth\_sentAppCode](../constructors/auth_sentAppCode.md) = \['phone_registered' => [Bool](../types/Bool.md), 'phone_code_hash' => [string](../types/string.md), 'send_call_timeout' => [int](../types/int.md), 'is_password' => [Bool](../types/Bool.md), \]; +*** +

[$auth.sentAppCode](../constructors/auth.sentAppCode.md) = \['phone_registered' => [Bool](../types/Bool.md), 'phone_code_hash' => [string](../types/string.md), 'send_call_timeout' => [int](../types/int.md), 'is_password' => [Bool](../types/Bool.md), \]; -[$auth\_sentCode](../constructors/auth_sentCode.md) = \['phone_registered' => [Bool](../types/Bool.md), 'phone_code_hash' => [string](../types/string.md), 'send_call_timeout' => [int](../types/int.md), 'is_password' => [Bool](../types/Bool.md), \]; +*** +

[$auth.sentCode](../constructors/auth.sentCode.md) = \['phone_registered' => [Bool](../types/Bool.md), 'phone_code_hash' => [string](../types/string.md), 'send_call_timeout' => [int](../types/int.md), 'is_password' => [Bool](../types/Bool.md), \]; ***

[$boolFalse](../constructors/boolFalse.md) = \[\]; @@ -75,33 +79,46 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$contactSuggested](../constructors/contactSuggested.md) = \['user_id' => [int](../types/int.md), 'mutual_contacts' => [int](../types/int.md), \]; *** -

[$contacts\_blocked](../constructors/contacts_blocked.md) = \['blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; +

[$contacts.blocked](../constructors/contacts.blocked.md) = \['blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_blockedSlice](../constructors/contacts_blockedSlice.md) = \['count' => [int](../types/int.md), 'blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.blockedSlice](../constructors/contacts.blockedSlice.md) = \['count' => [int](../types/int.md), 'blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_contacts](../constructors/contacts_contacts.md) = \['contacts' => \[[Contact](../types/Contact.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.contacts](../constructors/contacts.contacts.md) = \['contacts' => \[[Contact](../types/Contact.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_contactsNotModified](../constructors/contacts_contactsNotModified.md) = \[\]; +*** +

[$contacts.contactsNotModified](../constructors/contacts.contactsNotModified.md) = \[\]; -[$contacts\_foreignLinkMutual](../constructors/contacts_foreignLinkMutual.md) = \[\]; +*** +

[$contacts.foreignLinkMutual](../constructors/contacts.foreignLinkMutual.md) = \[\]; -[$contacts\_foreignLinkRequested](../constructors/contacts_foreignLinkRequested.md) = \['has_phone' => [Bool](../types/Bool.md), \]; +*** +

[$contacts.foreignLinkRequested](../constructors/contacts.foreignLinkRequested.md) = \['has_phone' => [Bool](../types/Bool.md), \]; -[$contacts\_foreignLinkUnknown](../constructors/contacts_foreignLinkUnknown.md) = \[\]; +*** +

[$contacts.foreignLinkUnknown](../constructors/contacts.foreignLinkUnknown.md) = \[\]; -[$contacts\_found](../constructors/contacts_found.md) = \['results' => \[[ContactFound](../types/ContactFound.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.found](../constructors/contacts.found.md) = \['results' => \[[ContactFound](../types/ContactFound.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_importedContacts](../constructors/contacts_importedContacts.md) = \['imported' => \[[ImportedContact](../types/ImportedContact.md)\], 'retry_contacts' => \[[long](../types/long.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.importedContacts](../constructors/contacts.importedContacts.md) = \['imported' => \[[ImportedContact](../types/ImportedContact.md)\], 'retry_contacts' => \[[long](../types/long.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_link](../constructors/contacts_link.md) = \['my_link' => [contacts.MyLink](../types/contacts.MyLink.md), 'foreign_link' => [contacts.ForeignLink](../types/contacts.ForeignLink.md), 'user' => [User](../types/User.md), \]; +*** +

[$contacts.link](../constructors/contacts.link.md) = \['my_link' => [contacts.MyLink](../types/contacts.MyLink.md), 'foreign_link' => [contacts.ForeignLink](../types/contacts.ForeignLink.md), 'user' => [User](../types/User.md), \]; -[$contacts\_myLinkContact](../constructors/contacts_myLinkContact.md) = \[\]; +*** +

[$contacts.myLinkContact](../constructors/contacts.myLinkContact.md) = \[\]; -[$contacts\_myLinkEmpty](../constructors/contacts_myLinkEmpty.md) = \[\]; +*** +

[$contacts.myLinkEmpty](../constructors/contacts.myLinkEmpty.md) = \[\]; -[$contacts\_myLinkRequested](../constructors/contacts_myLinkRequested.md) = \['contact' => [Bool](../types/Bool.md), \]; +*** +

[$contacts.myLinkRequested](../constructors/contacts.myLinkRequested.md) = \['contact' => [Bool](../types/Bool.md), \]; -[$contacts\_suggested](../constructors/contacts_suggested.md) = \['results' => \[[ContactSuggested](../types/ContactSuggested.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.suggested](../constructors/contacts.suggested.md) = \['results' => \[[ContactSuggested](../types/ContactSuggested.md)\], 'users' => \[[User](../types/User.md)\], \]; ***

[$dcOption](../constructors/dcOption.md) = \['id' => [int](../types/int.md), 'hostname' => [string](../types/string.md), 'ip_address' => [string](../types/string.md), 'port' => [int](../types/int.md), \]; @@ -158,13 +175,16 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$geoPointEmpty](../constructors/geoPointEmpty.md) = \[\]; *** -

[$help\_appUpdate](../constructors/help_appUpdate.md) = \['id' => [int](../types/int.md), 'critical' => [Bool](../types/Bool.md), 'url' => [string](../types/string.md), 'text' => [string](../types/string.md), \]; +

[$help.appUpdate](../constructors/help.appUpdate.md) = \['id' => [int](../types/int.md), 'critical' => [Bool](../types/Bool.md), 'url' => [string](../types/string.md), 'text' => [string](../types/string.md), \]; -[$help\_inviteText](../constructors/help_inviteText.md) = \['message' => [string](../types/string.md), \]; +*** +

[$help.inviteText](../constructors/help.inviteText.md) = \['message' => [string](../types/string.md), \]; -[$help\_noAppUpdate](../constructors/help_noAppUpdate.md) = \[\]; +*** +

[$help.noAppUpdate](../constructors/help.noAppUpdate.md) = \[\]; -[$help\_support](../constructors/help_support.md) = \['phone_number' => [string](../types/string.md), 'user' => [User](../types/User.md), \]; +*** +

[$help.support](../constructors/help.support.md) = \['phone_number' => [string](../types/string.md), 'user' => [User](../types/User.md), \]; ***

[$importedContact](../constructors/importedContact.md) = \['user_id' => [int](../types/int.md), 'client_id' => [long](../types/long.md), \]; @@ -428,39 +448,55 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$messageService](../constructors/messageService.md) = \['id' => [int](../types/int.md), 'from_id' => [int](../types/int.md), 'to_id' => [Peer](../types/Peer.md), 'date' => [int](../types/int.md), 'action' => [MessageAction](../types/MessageAction.md), \]; *** -

[$messages\_affectedHistory](../constructors/messages_affectedHistory.md) = \['pts' => [int](../types/int.md), 'seq' => [int](../types/int.md), 'offset' => [int](../types/int.md), \]; +

[$messages.affectedHistory](../constructors/messages.affectedHistory.md) = \['pts' => [int](../types/int.md), 'seq' => [int](../types/int.md), 'offset' => [int](../types/int.md), \]; -[$messages\_chatFull](../constructors/messages_chatFull.md) = \['full_chat' => [ChatFull](../types/ChatFull.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.chatFull](../constructors/messages.chatFull.md) = \['full_chat' => [ChatFull](../types/ChatFull.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_chats](../constructors/messages_chats.md) = \['chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.chats](../constructors/messages.chats.md) = \['chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_dhConfig](../constructors/messages_dhConfig.md) = \['g' => [int](../types/int.md), 'p' => [bytes](../types/bytes.md), 'version' => [int](../types/int.md), 'random' => [bytes](../types/bytes.md), \]; +*** +

[$messages.dhConfig](../constructors/messages.dhConfig.md) = \['g' => [int](../types/int.md), 'p' => [bytes](../types/bytes.md), 'version' => [int](../types/int.md), 'random' => [bytes](../types/bytes.md), \]; -[$messages\_dhConfigNotModified](../constructors/messages_dhConfigNotModified.md) = \['random' => [bytes](../types/bytes.md), \]; +*** +

[$messages.dhConfigNotModified](../constructors/messages.dhConfigNotModified.md) = \['random' => [bytes](../types/bytes.md), \]; -[$messages\_dialogs](../constructors/messages_dialogs.md) = \['dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.dialogs](../constructors/messages.dialogs.md) = \['dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_dialogsSlice](../constructors/messages_dialogsSlice.md) = \['count' => [int](../types/int.md), 'dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.dialogsSlice](../constructors/messages.dialogsSlice.md) = \['count' => [int](../types/int.md), 'dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_messages](../constructors/messages_messages.md) = \['messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.messages](../constructors/messages.messages.md) = \['messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_messagesSlice](../constructors/messages_messagesSlice.md) = \['count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.messagesSlice](../constructors/messages.messagesSlice.md) = \['count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_sentEncryptedFile](../constructors/messages_sentEncryptedFile.md) = \['date' => [int](../types/int.md), 'file' => [EncryptedFile](../types/EncryptedFile.md), \]; +*** +

[$messages.sentEncryptedFile](../constructors/messages.sentEncryptedFile.md) = \['date' => [int](../types/int.md), 'file' => [EncryptedFile](../types/EncryptedFile.md), \]; -[$messages\_sentEncryptedMessage](../constructors/messages_sentEncryptedMessage.md) = \['date' => [int](../types/int.md), \]; +*** +

[$messages.sentEncryptedMessage](../constructors/messages.sentEncryptedMessage.md) = \['date' => [int](../types/int.md), \]; -[$messages\_sentMessage](../constructors/messages_sentMessage.md) = \['id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'pts' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; +*** +

[$messages.sentMessage](../constructors/messages.sentMessage.md) = \['id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'pts' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; -[$messages\_sentMessageLink](../constructors/messages_sentMessageLink.md) = \['id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'pts' => [int](../types/int.md), 'seq' => [int](../types/int.md), 'links' => \[[contacts.Link](../types/contacts.Link.md)\], \]; +*** +

[$messages.sentMessageLink](../constructors/messages.sentMessageLink.md) = \['id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'pts' => [int](../types/int.md), 'seq' => [int](../types/int.md), 'links' => \[[contacts.Link](../types/contacts.Link.md)\], \]; -[$messages\_statedMessage](../constructors/messages_statedMessage.md) = \['message' => [Message](../types/Message.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'pts' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; +*** +

[$messages.statedMessage](../constructors/messages.statedMessage.md) = \['message' => [Message](../types/Message.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'pts' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; -[$messages\_statedMessageLink](../constructors/messages_statedMessageLink.md) = \['message' => [Message](../types/Message.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'links' => \[[contacts.Link](../types/contacts.Link.md)\], 'pts' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; +*** +

[$messages.statedMessageLink](../constructors/messages.statedMessageLink.md) = \['message' => [Message](../types/Message.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'links' => \[[contacts.Link](../types/contacts.Link.md)\], 'pts' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; -[$messages\_statedMessages](../constructors/messages_statedMessages.md) = \['messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'pts' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; +*** +

[$messages.statedMessages](../constructors/messages.statedMessages.md) = \['messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'pts' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; -[$messages\_statedMessagesLinks](../constructors/messages_statedMessagesLinks.md) = \['messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'links' => \[[contacts.Link](../types/contacts.Link.md)\], 'pts' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; +*** +

[$messages.statedMessagesLinks](../constructors/messages.statedMessagesLinks.md) = \['messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'links' => \[[contacts.Link](../types/contacts.Link.md)\], 'pts' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; ***

[$nearestDc](../constructors/nearestDc.md) = \['country' => [string](../types/string.md), 'this_dc' => [int](../types/int.md), 'nearest_dc' => [int](../types/int.md), \]; @@ -514,11 +550,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$photoSizeEmpty](../constructors/photoSizeEmpty.md) = \['type' => [string](../types/string.md), \]; *** -

[$photos\_photo](../constructors/photos_photo.md) = \['photo' => [Photo](../types/Photo.md), 'users' => \[[User](../types/User.md)\], \]; +

[$photos.photo](../constructors/photos.photo.md) = \['photo' => [Photo](../types/Photo.md), 'users' => \[[User](../types/User.md)\], \]; -[$photos\_photos](../constructors/photos_photos.md) = \['photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$photos.photos](../constructors/photos.photos.md) = \['photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$photos\_photosSlice](../constructors/photos_photosSlice.md) = \['count' => [int](../types/int.md), 'photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$photos.photosSlice](../constructors/photos.photosSlice.md) = \['count' => [int](../types/int.md), 'photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; ***

[$sendMessageCancelAction](../constructors/sendMessageCancelAction.md) = \[\]; @@ -551,25 +589,34 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$sendMessageUploadVideoAction](../constructors/sendMessageUploadVideoAction.md) = \[\]; *** -

[$storage\_fileGif](../constructors/storage_fileGif.md) = \[\]; +

[$storage.fileGif](../constructors/storage.fileGif.md) = \[\]; -[$storage\_fileJpeg](../constructors/storage_fileJpeg.md) = \[\]; +*** +

[$storage.fileJpeg](../constructors/storage.fileJpeg.md) = \[\]; -[$storage\_fileMov](../constructors/storage_fileMov.md) = \[\]; +*** +

[$storage.fileMov](../constructors/storage.fileMov.md) = \[\]; -[$storage\_fileMp3](../constructors/storage_fileMp3.md) = \[\]; +*** +

[$storage.fileMp3](../constructors/storage.fileMp3.md) = \[\]; -[$storage\_fileMp4](../constructors/storage_fileMp4.md) = \[\]; +*** +

[$storage.fileMp4](../constructors/storage.fileMp4.md) = \[\]; -[$storage\_filePartial](../constructors/storage_filePartial.md) = \[\]; +*** +

[$storage.filePartial](../constructors/storage.filePartial.md) = \[\]; -[$storage\_filePdf](../constructors/storage_filePdf.md) = \[\]; +*** +

[$storage.filePdf](../constructors/storage.filePdf.md) = \[\]; -[$storage\_filePng](../constructors/storage_filePng.md) = \[\]; +*** +

[$storage.filePng](../constructors/storage.filePng.md) = \[\]; -[$storage\_fileUnknown](../constructors/storage_fileUnknown.md) = \[\]; +*** +

[$storage.fileUnknown](../constructors/storage.fileUnknown.md) = \[\]; -[$storage\_fileWebp](../constructors/storage_fileWebp.md) = \[\]; +*** +

[$storage.fileWebp](../constructors/storage.fileWebp.md) = \[\]; ***

[$true](../constructors/true.md) = \[\]; @@ -655,6 +702,18 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ***

[$updates](../constructors/updates.md) = \['updates' => \[[Update](../types/Update.md)\], 'users' => \[[User](../types/User.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'date' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; +*** +

[$updates.difference](../constructors/updates.difference.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'state' => [updates.State](../types/updates.State.md), \]; + +*** +

[$updates.differenceEmpty](../constructors/updates.differenceEmpty.md) = \['date' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; + +*** +

[$updates.differenceSlice](../constructors/updates.differenceSlice.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'intermediate_state' => [updates.State](../types/updates.State.md), \]; + +*** +

[$updates.state](../constructors/updates.state.md) = \['pts' => [int](../types/int.md), 'qts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'seq' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), \]; + ***

[$updatesCombined](../constructors/updatesCombined.md) = \['updates' => \[[Update](../types/Update.md)\], 'users' => \[[User](../types/User.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'date' => [int](../types/int.md), 'seq_start' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; @@ -662,16 +721,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$updatesTooLong](../constructors/updatesTooLong.md) = \[\]; *** -

[$updates\_difference](../constructors/updates_difference.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'state' => [updates.State](../types/updates.State.md), \]; - -[$updates\_differenceEmpty](../constructors/updates_differenceEmpty.md) = \['date' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; - -[$updates\_differenceSlice](../constructors/updates_differenceSlice.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'intermediate_state' => [updates.State](../types/updates.State.md), \]; - -[$updates\_state](../constructors/updates_state.md) = \['pts' => [int](../types/int.md), 'qts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'seq' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), \]; - -*** -

[$upload\_file](../constructors/upload_file.md) = \['type' => [storage.FileType](../types/storage.FileType.md), 'mtime' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; +

[$upload.file](../constructors/upload.file.md) = \['type' => [storage.FileType](../types/storage.FileType.md), 'mtime' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; ***

[$userContact](../constructors/userContact.md) = \['id' => [int](../types/int.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), 'username' => [string](../types/string.md), 'access_hash' => [long](../types/long.md), 'phone' => [string](../types/string.md), 'photo' => [UserProfilePhoto](../types/UserProfilePhoto.md), 'status' => [UserStatus](../types/UserStatus.md), \]; diff --git a/old_docs/API_docs_v18/constructors/auth.authorization.md b/old_docs/API_docs_v18/constructors/auth.authorization.md new file mode 100644 index 00000000..93dc63ee --- /dev/null +++ b/old_docs/API_docs_v18/constructors/auth.authorization.md @@ -0,0 +1,39 @@ +--- +title: auth.authorization +description: Contains user authorization info. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.authorization +[Back to constructors index](index.md) + + + +Contains user authorization info. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|expires|[int](../types/int.md) | Yes|Expiration date| +|user|[User](../types/User.md) | Optional|Info on authorized user| + + + +### Type: [auth.Authorization](../types/auth.Authorization.md) + + +### Example: + +```php +$auth.authorization = ['_' => 'auth.authorization', 'expires' => int, 'user' => User]; +``` + + +Or, if you're into Lua: + +```lua +auth.authorization={_='auth.authorization', expires=int, user=User} + +``` + + diff --git a/old_docs/API_docs_v18/constructors/auth.checkedPhone.md b/old_docs/API_docs_v18/constructors/auth.checkedPhone.md new file mode 100644 index 00000000..3e32f687 --- /dev/null +++ b/old_docs/API_docs_v18/constructors/auth.checkedPhone.md @@ -0,0 +1,39 @@ +--- +title: auth.checkedPhone +description: Checked phone +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.checkedPhone +[Back to constructors index](index.md) + + + +Checked phone + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_registered|[Bool](../types/Bool.md) | Yes|Phone registered?| +|phone\_invited|[Bool](../types/Bool.md) | Yes|Phone invited?| + + + +### Type: [auth.CheckedPhone](../types/auth.CheckedPhone.md) + + +### Example: + +```php +$auth.checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool, 'phone_invited' => Bool]; +``` + + +Or, if you're into Lua: + +```lua +auth.checkedPhone={_='auth.checkedPhone', phone_registered=Bool, phone_invited=Bool} + +``` + + diff --git a/old_docs/API_docs_v18/constructors/auth.exportedAuthorization.md b/old_docs/API_docs_v18/constructors/auth.exportedAuthorization.md new file mode 100644 index 00000000..2a4a9896 --- /dev/null +++ b/old_docs/API_docs_v18/constructors/auth.exportedAuthorization.md @@ -0,0 +1,39 @@ +--- +title: auth.exportedAuthorization +description: Data for copying of authorization between data centres. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.exportedAuthorization +[Back to constructors index](index.md) + + + +Data for copying of authorization between data centres. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|id|[int](../types/int.md) | Yes|Current user identifier| +|bytes|[bytes](../types/bytes.md) | Yes|Authorizes key| + + + +### Type: [auth.ExportedAuthorization](../types/auth.ExportedAuthorization.md) + + +### Example: + +```php +$auth.exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +auth.exportedAuthorization={_='auth.exportedAuthorization', id=int, bytes='bytes'} + +``` + + diff --git a/old_docs/API_docs_v18/constructors/auth.sentAppCode.md b/old_docs/API_docs_v18/constructors/auth.sentAppCode.md new file mode 100644 index 00000000..e4cd5ef0 --- /dev/null +++ b/old_docs/API_docs_v18/constructors/auth.sentAppCode.md @@ -0,0 +1,41 @@ +--- +title: auth.sentAppCode +description: Sent app code +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentAppCode +[Back to constructors index](index.md) + + + +Sent app code + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_registered|[Bool](../types/Bool.md) | Yes|Phone registered?| +|phone\_code\_hash|[string](../types/string.md) | Yes|Phone code hash| +|send\_call\_timeout|[int](../types/int.md) | Yes|Send call timeout| +|is\_password|[Bool](../types/Bool.md) | Yes|Is password?| + + + +### Type: [auth.SentCode](../types/auth.SentCode.md) + + +### Example: + +```php +$auth.sentAppCode = ['_' => 'auth.sentAppCode', 'phone_registered' => Bool, 'phone_code_hash' => 'string', 'send_call_timeout' => int, 'is_password' => Bool]; +``` + + +Or, if you're into Lua: + +```lua +auth.sentAppCode={_='auth.sentAppCode', phone_registered=Bool, phone_code_hash='string', send_call_timeout=int, is_password=Bool} + +``` + + diff --git a/old_docs/API_docs_v18/constructors/auth.sentCode.md b/old_docs/API_docs_v18/constructors/auth.sentCode.md new file mode 100644 index 00000000..c81a8042 --- /dev/null +++ b/old_docs/API_docs_v18/constructors/auth.sentCode.md @@ -0,0 +1,41 @@ +--- +title: auth.sentCode +description: Contains info about a sent verification code. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentCode +[Back to constructors index](index.md) + + + +Contains info about a sent verification code. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_registered|[Bool](../types/Bool.md) | Yes|Phone registered?| +|phone\_code\_hash|[string](../types/string.md) | Yes|Phone code hash, to be stored and later re-used with [auth.signIn](../methods/auth.signIn.md)| +|send\_call\_timeout|[int](../types/int.md) | Yes|Send call timeout| +|is\_password|[Bool](../types/Bool.md) | Yes|Is password?| + + + +### Type: [auth.SentCode](../types/auth.SentCode.md) + + +### Example: + +```php +$auth.sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'phone_code_hash' => 'string', 'send_call_timeout' => int, 'is_password' => Bool]; +``` + + +Or, if you're into Lua: + +```lua +auth.sentCode={_='auth.sentCode', phone_registered=Bool, phone_code_hash='string', send_call_timeout=int, is_password=Bool} + +``` + + diff --git a/old_docs/API_docs_v18/constructors/auth_authorization.md b/old_docs/API_docs_v18/constructors/auth_authorization.md deleted file mode 100644 index 8549a27d..00000000 --- a/old_docs/API_docs_v18/constructors/auth_authorization.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: auth.authorization -description: Contains user authorization info. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.authorization -[Back to constructors index](index.md) - - - -Contains user authorization info. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|expires|[int](../types/int.md) | Yes|Expiration date| -|user|[User](../types/User.md) | Optional|Info on authorized user| - - - -### Type: [auth\_Authorization](../types/auth_Authorization.md) - - -### Example: - -```php -$auth_authorization = ['_' => 'auth.authorization', 'expires' => int, 'user' => User]; -``` - - -Or, if you're into Lua: - -```lua -auth_authorization={_='auth.authorization', expires=int, user=User} - -``` - - diff --git a/old_docs/API_docs_v18/constructors/auth_checkedPhone.md b/old_docs/API_docs_v18/constructors/auth_checkedPhone.md deleted file mode 100644 index c92545b9..00000000 --- a/old_docs/API_docs_v18/constructors/auth_checkedPhone.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: auth.checkedPhone -description: Checked phone -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.checkedPhone -[Back to constructors index](index.md) - - - -Checked phone - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_registered|[Bool](../types/Bool.md) | Yes|Phone registered?| -|phone\_invited|[Bool](../types/Bool.md) | Yes|Phone invited?| - - - -### Type: [auth\_CheckedPhone](../types/auth_CheckedPhone.md) - - -### Example: - -```php -$auth_checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool, 'phone_invited' => Bool]; -``` - - -Or, if you're into Lua: - -```lua -auth_checkedPhone={_='auth.checkedPhone', phone_registered=Bool, phone_invited=Bool} - -``` - - diff --git a/old_docs/API_docs_v18/constructors/auth_exportedAuthorization.md b/old_docs/API_docs_v18/constructors/auth_exportedAuthorization.md deleted file mode 100644 index 8d18916e..00000000 --- a/old_docs/API_docs_v18/constructors/auth_exportedAuthorization.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: auth.exportedAuthorization -description: Data for copying of authorization between data centres. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.exportedAuthorization -[Back to constructors index](index.md) - - - -Data for copying of authorization between data centres. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|id|[int](../types/int.md) | Yes|Current user identifier| -|bytes|[bytes](../types/bytes.md) | Yes|Authorizes key| - - - -### Type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) - - -### Example: - -```php -$auth_exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -auth_exportedAuthorization={_='auth.exportedAuthorization', id=int, bytes='bytes'} - -``` - - diff --git a/old_docs/API_docs_v18/constructors/auth_sentAppCode.md b/old_docs/API_docs_v18/constructors/auth_sentAppCode.md deleted file mode 100644 index f61b0eb9..00000000 --- a/old_docs/API_docs_v18/constructors/auth_sentAppCode.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: auth.sentAppCode -description: Sent app code -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentAppCode -[Back to constructors index](index.md) - - - -Sent app code - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_registered|[Bool](../types/Bool.md) | Yes|Phone registered?| -|phone\_code\_hash|[string](../types/string.md) | Yes|Phone code hash| -|send\_call\_timeout|[int](../types/int.md) | Yes|Send call timeout| -|is\_password|[Bool](../types/Bool.md) | Yes|Is password?| - - - -### Type: [auth\_SentCode](../types/auth_SentCode.md) - - -### Example: - -```php -$auth_sentAppCode = ['_' => 'auth.sentAppCode', 'phone_registered' => Bool, 'phone_code_hash' => 'string', 'send_call_timeout' => int, 'is_password' => Bool]; -``` - - -Or, if you're into Lua: - -```lua -auth_sentAppCode={_='auth.sentAppCode', phone_registered=Bool, phone_code_hash='string', send_call_timeout=int, is_password=Bool} - -``` - - diff --git a/old_docs/API_docs_v18/constructors/auth_sentCode.md b/old_docs/API_docs_v18/constructors/auth_sentCode.md deleted file mode 100644 index 28a9ac2f..00000000 --- a/old_docs/API_docs_v18/constructors/auth_sentCode.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: auth.sentCode -description: Contains info about a sent verification code. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentCode -[Back to constructors index](index.md) - - - -Contains info about a sent verification code. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_registered|[Bool](../types/Bool.md) | Yes|Phone registered?| -|phone\_code\_hash|[string](../types/string.md) | Yes|Phone code hash, to be stored and later re-used with [auth.signIn](../methods/auth.signIn.md)| -|send\_call\_timeout|[int](../types/int.md) | Yes|Send call timeout| -|is\_password|[Bool](../types/Bool.md) | Yes|Is password?| - - - -### Type: [auth\_SentCode](../types/auth_SentCode.md) - - -### Example: - -```php -$auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'phone_code_hash' => 'string', 'send_call_timeout' => int, 'is_password' => Bool]; -``` - - -Or, if you're into Lua: - -```lua -auth_sentCode={_='auth.sentCode', phone_registered=Bool, phone_code_hash='string', send_call_timeout=int, is_password=Bool} - -``` - - diff --git a/old_docs/API_docs_v18/constructors/contacts.blocked.md b/old_docs/API_docs_v18/constructors/contacts.blocked.md new file mode 100644 index 00000000..d2b3f680 --- /dev/null +++ b/old_docs/API_docs_v18/constructors/contacts.blocked.md @@ -0,0 +1,39 @@ +--- +title: contacts.blocked +description: Full list of blocked users. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.blocked +[Back to constructors index](index.md) + + + +Full list of blocked users. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Blocked](../types/contacts.Blocked.md) + + +### Example: + +```php +$contacts.blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.blocked={_='contacts.blocked', blocked={ContactBlocked}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v18/constructors/contacts.blockedSlice.md b/old_docs/API_docs_v18/constructors/contacts.blockedSlice.md new file mode 100644 index 00000000..92d19c72 --- /dev/null +++ b/old_docs/API_docs_v18/constructors/contacts.blockedSlice.md @@ -0,0 +1,40 @@ +--- +title: contacts.blockedSlice +description: Incomplete list of blocked users. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.blockedSlice +[Back to constructors index](index.md) + + + +Incomplete list of blocked users. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of elements in the list| +|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Blocked](../types/contacts.Blocked.md) + + +### Example: + +```php +$contacts.blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.blockedSlice={_='contacts.blockedSlice', count=int, blocked={ContactBlocked}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v18/constructors/contacts.contacts.md b/old_docs/API_docs_v18/constructors/contacts.contacts.md new file mode 100644 index 00000000..d4ccc018 --- /dev/null +++ b/old_docs/API_docs_v18/constructors/contacts.contacts.md @@ -0,0 +1,39 @@ +--- +title: contacts.contacts +description: The current user's contact list and info on users. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.contacts +[Back to constructors index](index.md) + + + +The current user's contact list and info on users. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|contacts|Array of [Contact](../types/Contact.md) | Yes|Contacts| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Contacts](../types/contacts.Contacts.md) + + +### Example: + +```php +$contacts.contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact, Contact], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.contacts={_='contacts.contacts', contacts={Contact}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v18/constructors/contacts.contactsNotModified.md b/old_docs/API_docs_v18/constructors/contacts.contactsNotModified.md new file mode 100644 index 00000000..e2149396 --- /dev/null +++ b/old_docs/API_docs_v18/constructors/contacts.contactsNotModified.md @@ -0,0 +1,33 @@ +--- +title: contacts.contactsNotModified +description: Contact list on the server is the same as the list on the client. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.contactsNotModified +[Back to constructors index](index.md) + + + +Contact list on the server is the same as the list on the client. + + + + +### Type: [contacts.Contacts](../types/contacts.Contacts.md) + + +### Example: + +```php +$contacts.contactsNotModified = ['_' => 'contacts.contactsNotModified']; +``` + + +Or, if you're into Lua: + +```lua +contacts.contactsNotModified={_='contacts.contactsNotModified'} + +``` + + diff --git a/old_docs/API_docs_v18/constructors/contacts.foreignLinkMutual.md b/old_docs/API_docs_v18/constructors/contacts.foreignLinkMutual.md new file mode 100644 index 00000000..2053d3fb --- /dev/null +++ b/old_docs/API_docs_v18/constructors/contacts.foreignLinkMutual.md @@ -0,0 +1,33 @@ +--- +title: contacts.foreignLinkMutual +description: Foreign link mutual +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.foreignLinkMutual +[Back to constructors index](index.md) + + + +Foreign link mutual + + + + +### Type: [contacts.ForeignLink](../types/contacts.ForeignLink.md) + + +### Example: + +```php +$contacts.foreignLinkMutual = ['_' => 'contacts.foreignLinkMutual']; +``` + + +Or, if you're into Lua: + +```lua +contacts.foreignLinkMutual={_='contacts.foreignLinkMutual'} + +``` + + diff --git a/old_docs/API_docs_v18/constructors/contacts.foreignLinkRequested.md b/old_docs/API_docs_v18/constructors/contacts.foreignLinkRequested.md new file mode 100644 index 00000000..ff028e6d --- /dev/null +++ b/old_docs/API_docs_v18/constructors/contacts.foreignLinkRequested.md @@ -0,0 +1,38 @@ +--- +title: contacts.foreignLinkRequested +description: Foreign link requested +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.foreignLinkRequested +[Back to constructors index](index.md) + + + +Foreign link requested + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|has\_phone|[Bool](../types/Bool.md) | Yes|Has phone?| + + + +### Type: [contacts.ForeignLink](../types/contacts.ForeignLink.md) + + +### Example: + +```php +$contacts.foreignLinkRequested = ['_' => 'contacts.foreignLinkRequested', 'has_phone' => Bool]; +``` + + +Or, if you're into Lua: + +```lua +contacts.foreignLinkRequested={_='contacts.foreignLinkRequested', has_phone=Bool} + +``` + + diff --git a/old_docs/API_docs_v18/constructors/contacts.foreignLinkUnknown.md b/old_docs/API_docs_v18/constructors/contacts.foreignLinkUnknown.md new file mode 100644 index 00000000..e4e22bff --- /dev/null +++ b/old_docs/API_docs_v18/constructors/contacts.foreignLinkUnknown.md @@ -0,0 +1,33 @@ +--- +title: contacts.foreignLinkUnknown +description: Foreign link unknown +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.foreignLinkUnknown +[Back to constructors index](index.md) + + + +Foreign link unknown + + + + +### Type: [contacts.ForeignLink](../types/contacts.ForeignLink.md) + + +### Example: + +```php +$contacts.foreignLinkUnknown = ['_' => 'contacts.foreignLinkUnknown']; +``` + + +Or, if you're into Lua: + +```lua +contacts.foreignLinkUnknown={_='contacts.foreignLinkUnknown'} + +``` + + diff --git a/old_docs/API_docs_v18/constructors/contacts.found.md b/old_docs/API_docs_v18/constructors/contacts.found.md new file mode 100644 index 00000000..e7820220 --- /dev/null +++ b/old_docs/API_docs_v18/constructors/contacts.found.md @@ -0,0 +1,39 @@ +--- +title: contacts.found +description: Users found by name substring and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.found +[Back to constructors index](index.md) + + + +Users found by name substring and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|results|Array of [ContactFound](../types/ContactFound.md) | Yes|Results| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Found](../types/contacts.Found.md) + + +### Example: + +```php +$contacts.found = ['_' => 'contacts.found', 'results' => [ContactFound, ContactFound], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.found={_='contacts.found', results={ContactFound}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v18/constructors/contacts.importedContacts.md b/old_docs/API_docs_v18/constructors/contacts.importedContacts.md new file mode 100644 index 00000000..1cbff59a --- /dev/null +++ b/old_docs/API_docs_v18/constructors/contacts.importedContacts.md @@ -0,0 +1,40 @@ +--- +title: contacts.importedContacts +description: Info on succesfully imported contacts. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.importedContacts +[Back to constructors index](index.md) + + + +Info on succesfully imported contacts. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|imported|Array of [ImportedContact](../types/ImportedContact.md) | Yes|Imported| +|retry\_contacts|Array of [long](../types/long.md) | Yes|Retry importing contacts whose client IDs appear here| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.ImportedContacts](../types/contacts.ImportedContacts.md) + + +### Example: + +```php +$contacts.importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact, ImportedContact], 'retry_contacts' => [long, long], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.importedContacts={_='contacts.importedContacts', imported={ImportedContact}, retry_contacts={long}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v18/constructors/contacts.link.md b/old_docs/API_docs_v18/constructors/contacts.link.md new file mode 100644 index 00000000..42a8a5f4 --- /dev/null +++ b/old_docs/API_docs_v18/constructors/contacts.link.md @@ -0,0 +1,40 @@ +--- +title: contacts.link +description: Link +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.link +[Back to constructors index](index.md) + + + +Link + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|my\_link|[contacts.MyLink](../constructors/contacts.MyLink.md) | Yes|My link| +|foreign\_link|[contacts.ForeignLink](../constructors/contacts.ForeignLink.md) | Yes|Foreign link| +|user|[User](../types/User.md) | Optional|User| + + + +### Type: [contacts.Link](../types/contacts.Link.md) + + +### Example: + +```php +$contacts.link = ['_' => 'contacts.link', 'my_link' => contacts.MyLink, 'foreign_link' => contacts.ForeignLink, 'user' => User]; +``` + + +Or, if you're into Lua: + +```lua +contacts.link={_='contacts.link', my_link=contacts.MyLink, foreign_link=contacts.ForeignLink, user=User} + +``` + + diff --git a/old_docs/API_docs_v18/constructors/contacts.myLinkContact.md b/old_docs/API_docs_v18/constructors/contacts.myLinkContact.md new file mode 100644 index 00000000..96ecd16d --- /dev/null +++ b/old_docs/API_docs_v18/constructors/contacts.myLinkContact.md @@ -0,0 +1,33 @@ +--- +title: contacts.myLinkContact +description: My link contact +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.myLinkContact +[Back to constructors index](index.md) + + + +My link contact + + + + +### Type: [contacts.MyLink](../types/contacts.MyLink.md) + + +### Example: + +```php +$contacts.myLinkContact = ['_' => 'contacts.myLinkContact']; +``` + + +Or, if you're into Lua: + +```lua +contacts.myLinkContact={_='contacts.myLinkContact'} + +``` + + diff --git a/old_docs/API_docs_v18/constructors/contacts.myLinkEmpty.md b/old_docs/API_docs_v18/constructors/contacts.myLinkEmpty.md new file mode 100644 index 00000000..9629f8e6 --- /dev/null +++ b/old_docs/API_docs_v18/constructors/contacts.myLinkEmpty.md @@ -0,0 +1,33 @@ +--- +title: contacts.myLinkEmpty +description: Empty my link +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.myLinkEmpty +[Back to constructors index](index.md) + + + +Empty my link + + + + +### Type: [contacts.MyLink](../types/contacts.MyLink.md) + + +### Example: + +```php +$contacts.myLinkEmpty = ['_' => 'contacts.myLinkEmpty']; +``` + + +Or, if you're into Lua: + +```lua +contacts.myLinkEmpty={_='contacts.myLinkEmpty'} + +``` + + diff --git a/old_docs/API_docs_v18/constructors/contacts.myLinkRequested.md b/old_docs/API_docs_v18/constructors/contacts.myLinkRequested.md new file mode 100644 index 00000000..c52f3ade --- /dev/null +++ b/old_docs/API_docs_v18/constructors/contacts.myLinkRequested.md @@ -0,0 +1,38 @@ +--- +title: contacts.myLinkRequested +description: My link requested +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.myLinkRequested +[Back to constructors index](index.md) + + + +My link requested + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|contact|[Bool](../types/Bool.md) | Yes|Contact?| + + + +### Type: [contacts.MyLink](../types/contacts.MyLink.md) + + +### Example: + +```php +$contacts.myLinkRequested = ['_' => 'contacts.myLinkRequested', 'contact' => Bool]; +``` + + +Or, if you're into Lua: + +```lua +contacts.myLinkRequested={_='contacts.myLinkRequested', contact=Bool} + +``` + + diff --git a/old_docs/API_docs_v18/constructors/contacts.suggested.md b/old_docs/API_docs_v18/constructors/contacts.suggested.md new file mode 100644 index 00000000..b9a56bec --- /dev/null +++ b/old_docs/API_docs_v18/constructors/contacts.suggested.md @@ -0,0 +1,39 @@ +--- +title: contacts.suggested +description: Suggested +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.suggested +[Back to constructors index](index.md) + + + +Suggested + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|results|Array of [ContactSuggested](../types/ContactSuggested.md) | Yes|Results| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Suggested](../types/contacts.Suggested.md) + + +### Example: + +```php +$contacts.suggested = ['_' => 'contacts.suggested', 'results' => [ContactSuggested, ContactSuggested], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.suggested={_='contacts.suggested', results={ContactSuggested}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v18/constructors/contacts_blocked.md b/old_docs/API_docs_v18/constructors/contacts_blocked.md deleted file mode 100644 index 20e33002..00000000 --- a/old_docs/API_docs_v18/constructors/contacts_blocked.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: contacts.blocked -description: Full list of blocked users. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.blocked -[Back to constructors index](index.md) - - - -Full list of blocked users. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Blocked](../types/contacts_Blocked.md) - - -### Example: - -```php -$contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_blocked={_='contacts.blocked', blocked={ContactBlocked}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v18/constructors/contacts_blockedSlice.md b/old_docs/API_docs_v18/constructors/contacts_blockedSlice.md deleted file mode 100644 index fcab9a28..00000000 --- a/old_docs/API_docs_v18/constructors/contacts_blockedSlice.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.blockedSlice -description: Incomplete list of blocked users. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.blockedSlice -[Back to constructors index](index.md) - - - -Incomplete list of blocked users. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of elements in the list| -|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Blocked](../types/contacts_Blocked.md) - - -### Example: - -```php -$contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_blockedSlice={_='contacts.blockedSlice', count=int, blocked={ContactBlocked}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v18/constructors/contacts_contacts.md b/old_docs/API_docs_v18/constructors/contacts_contacts.md deleted file mode 100644 index f101b34b..00000000 --- a/old_docs/API_docs_v18/constructors/contacts_contacts.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: contacts.contacts -description: The current user's contact list and info on users. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.contacts -[Back to constructors index](index.md) - - - -The current user's contact list and info on users. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|contacts|Array of [Contact](../types/Contact.md) | Yes|Contacts| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Contacts](../types/contacts_Contacts.md) - - -### Example: - -```php -$contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact, Contact], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_contacts={_='contacts.contacts', contacts={Contact}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v18/constructors/contacts_contactsNotModified.md b/old_docs/API_docs_v18/constructors/contacts_contactsNotModified.md deleted file mode 100644 index 17e76ac3..00000000 --- a/old_docs/API_docs_v18/constructors/contacts_contactsNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: contacts.contactsNotModified -description: Contact list on the server is the same as the list on the client. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.contactsNotModified -[Back to constructors index](index.md) - - - -Contact list on the server is the same as the list on the client. - - - - -### Type: [contacts\_Contacts](../types/contacts_Contacts.md) - - -### Example: - -```php -$contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified']; -``` - - -Or, if you're into Lua: - -```lua -contacts_contactsNotModified={_='contacts.contactsNotModified'} - -``` - - diff --git a/old_docs/API_docs_v18/constructors/contacts_foreignLinkMutual.md b/old_docs/API_docs_v18/constructors/contacts_foreignLinkMutual.md deleted file mode 100644 index 87060249..00000000 --- a/old_docs/API_docs_v18/constructors/contacts_foreignLinkMutual.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: contacts.foreignLinkMutual -description: Foreign link mutual -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.foreignLinkMutual -[Back to constructors index](index.md) - - - -Foreign link mutual - - - - -### Type: [contacts\_ForeignLink](../types/contacts_ForeignLink.md) - - -### Example: - -```php -$contacts_foreignLinkMutual = ['_' => 'contacts.foreignLinkMutual']; -``` - - -Or, if you're into Lua: - -```lua -contacts_foreignLinkMutual={_='contacts.foreignLinkMutual'} - -``` - - diff --git a/old_docs/API_docs_v18/constructors/contacts_foreignLinkRequested.md b/old_docs/API_docs_v18/constructors/contacts_foreignLinkRequested.md deleted file mode 100644 index af17d1d2..00000000 --- a/old_docs/API_docs_v18/constructors/contacts_foreignLinkRequested.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: contacts.foreignLinkRequested -description: Foreign link requested -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.foreignLinkRequested -[Back to constructors index](index.md) - - - -Foreign link requested - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|has\_phone|[Bool](../types/Bool.md) | Yes|Has phone?| - - - -### Type: [contacts\_ForeignLink](../types/contacts_ForeignLink.md) - - -### Example: - -```php -$contacts_foreignLinkRequested = ['_' => 'contacts.foreignLinkRequested', 'has_phone' => Bool]; -``` - - -Or, if you're into Lua: - -```lua -contacts_foreignLinkRequested={_='contacts.foreignLinkRequested', has_phone=Bool} - -``` - - diff --git a/old_docs/API_docs_v18/constructors/contacts_foreignLinkUnknown.md b/old_docs/API_docs_v18/constructors/contacts_foreignLinkUnknown.md deleted file mode 100644 index 9dc8bf7c..00000000 --- a/old_docs/API_docs_v18/constructors/contacts_foreignLinkUnknown.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: contacts.foreignLinkUnknown -description: Foreign link unknown -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.foreignLinkUnknown -[Back to constructors index](index.md) - - - -Foreign link unknown - - - - -### Type: [contacts\_ForeignLink](../types/contacts_ForeignLink.md) - - -### Example: - -```php -$contacts_foreignLinkUnknown = ['_' => 'contacts.foreignLinkUnknown']; -``` - - -Or, if you're into Lua: - -```lua -contacts_foreignLinkUnknown={_='contacts.foreignLinkUnknown'} - -``` - - diff --git a/old_docs/API_docs_v18/constructors/contacts_found.md b/old_docs/API_docs_v18/constructors/contacts_found.md deleted file mode 100644 index a3f36963..00000000 --- a/old_docs/API_docs_v18/constructors/contacts_found.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: contacts.found -description: Users found by name substring and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.found -[Back to constructors index](index.md) - - - -Users found by name substring and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|results|Array of [ContactFound](../types/ContactFound.md) | Yes|Results| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Found](../types/contacts_Found.md) - - -### Example: - -```php -$contacts_found = ['_' => 'contacts.found', 'results' => [ContactFound, ContactFound], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_found={_='contacts.found', results={ContactFound}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v18/constructors/contacts_importedContacts.md b/old_docs/API_docs_v18/constructors/contacts_importedContacts.md deleted file mode 100644 index 121d96d1..00000000 --- a/old_docs/API_docs_v18/constructors/contacts_importedContacts.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.importedContacts -description: Info on succesfully imported contacts. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.importedContacts -[Back to constructors index](index.md) - - - -Info on succesfully imported contacts. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|imported|Array of [ImportedContact](../types/ImportedContact.md) | Yes|Imported| -|retry\_contacts|Array of [long](../types/long.md) | Yes|Retry importing contacts whose client IDs appear here| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) - - -### Example: - -```php -$contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact, ImportedContact], 'retry_contacts' => [long, long], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_importedContacts={_='contacts.importedContacts', imported={ImportedContact}, retry_contacts={long}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v18/constructors/contacts_link.md b/old_docs/API_docs_v18/constructors/contacts_link.md deleted file mode 100644 index 2cb0094a..00000000 --- a/old_docs/API_docs_v18/constructors/contacts_link.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.link -description: Link -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.link -[Back to constructors index](index.md) - - - -Link - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|my\_link|[contacts\_MyLink](../types/contacts_MyLink.md) | Yes|My link| -|foreign\_link|[contacts\_ForeignLink](../types/contacts_ForeignLink.md) | Yes|Foreign link| -|user|[User](../types/User.md) | Optional|User| - - - -### Type: [contacts\_Link](../types/contacts_Link.md) - - -### Example: - -```php -$contacts_link = ['_' => 'contacts.link', 'my_link' => contacts_MyLink, 'foreign_link' => contacts_ForeignLink, 'user' => User]; -``` - - -Or, if you're into Lua: - -```lua -contacts_link={_='contacts.link', my_link=contacts_MyLink, foreign_link=contacts_ForeignLink, user=User} - -``` - - diff --git a/old_docs/API_docs_v18/constructors/contacts_myLinkContact.md b/old_docs/API_docs_v18/constructors/contacts_myLinkContact.md deleted file mode 100644 index 909c6aa6..00000000 --- a/old_docs/API_docs_v18/constructors/contacts_myLinkContact.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: contacts.myLinkContact -description: My link contact -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.myLinkContact -[Back to constructors index](index.md) - - - -My link contact - - - - -### Type: [contacts\_MyLink](../types/contacts_MyLink.md) - - -### Example: - -```php -$contacts_myLinkContact = ['_' => 'contacts.myLinkContact']; -``` - - -Or, if you're into Lua: - -```lua -contacts_myLinkContact={_='contacts.myLinkContact'} - -``` - - diff --git a/old_docs/API_docs_v18/constructors/contacts_myLinkEmpty.md b/old_docs/API_docs_v18/constructors/contacts_myLinkEmpty.md deleted file mode 100644 index 4611a812..00000000 --- a/old_docs/API_docs_v18/constructors/contacts_myLinkEmpty.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: contacts.myLinkEmpty -description: Empty my link -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.myLinkEmpty -[Back to constructors index](index.md) - - - -Empty my link - - - - -### Type: [contacts\_MyLink](../types/contacts_MyLink.md) - - -### Example: - -```php -$contacts_myLinkEmpty = ['_' => 'contacts.myLinkEmpty']; -``` - - -Or, if you're into Lua: - -```lua -contacts_myLinkEmpty={_='contacts.myLinkEmpty'} - -``` - - diff --git a/old_docs/API_docs_v18/constructors/contacts_myLinkRequested.md b/old_docs/API_docs_v18/constructors/contacts_myLinkRequested.md deleted file mode 100644 index 121318b7..00000000 --- a/old_docs/API_docs_v18/constructors/contacts_myLinkRequested.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: contacts.myLinkRequested -description: My link requested -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.myLinkRequested -[Back to constructors index](index.md) - - - -My link requested - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|contact|[Bool](../types/Bool.md) | Yes|Contact?| - - - -### Type: [contacts\_MyLink](../types/contacts_MyLink.md) - - -### Example: - -```php -$contacts_myLinkRequested = ['_' => 'contacts.myLinkRequested', 'contact' => Bool]; -``` - - -Or, if you're into Lua: - -```lua -contacts_myLinkRequested={_='contacts.myLinkRequested', contact=Bool} - -``` - - diff --git a/old_docs/API_docs_v18/constructors/contacts_suggested.md b/old_docs/API_docs_v18/constructors/contacts_suggested.md deleted file mode 100644 index 9bdba0b7..00000000 --- a/old_docs/API_docs_v18/constructors/contacts_suggested.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: contacts.suggested -description: Suggested -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.suggested -[Back to constructors index](index.md) - - - -Suggested - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|results|Array of [ContactSuggested](../types/ContactSuggested.md) | Yes|Results| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Suggested](../types/contacts_Suggested.md) - - -### Example: - -```php -$contacts_suggested = ['_' => 'contacts.suggested', 'results' => [ContactSuggested, ContactSuggested], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_suggested={_='contacts.suggested', results={ContactSuggested}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v18/constructors/help.appUpdate.md b/old_docs/API_docs_v18/constructors/help.appUpdate.md new file mode 100644 index 00000000..14b2d75b --- /dev/null +++ b/old_docs/API_docs_v18/constructors/help.appUpdate.md @@ -0,0 +1,41 @@ +--- +title: help.appUpdate +description: An update is available for the application. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.appUpdate +[Back to constructors index](index.md) + + + +An update is available for the application. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|id|[int](../types/int.md) | Yes|Update ID| +|critical|[Bool](../types/Bool.md) | Yes|Critical?| +|url|[string](../types/string.md) | Yes|Application download URL| +|text|[string](../types/string.md) | Yes|Text description of the update| + + + +### Type: [help.AppUpdate](../types/help.AppUpdate.md) + + +### Example: + +```php +$help.appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'url' => 'string', 'text' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +help.appUpdate={_='help.appUpdate', id=int, critical=Bool, url='string', text='string'} + +``` + + diff --git a/old_docs/API_docs_v18/constructors/help.inviteText.md b/old_docs/API_docs_v18/constructors/help.inviteText.md new file mode 100644 index 00000000..6a6261c1 --- /dev/null +++ b/old_docs/API_docs_v18/constructors/help.inviteText.md @@ -0,0 +1,38 @@ +--- +title: help.inviteText +description: Text of a text message with an invitation to install application. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.inviteText +[Back to constructors index](index.md) + + + +Text of a text message with an invitation to install application. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|message|[string](../types/string.md) | Yes|Text of a message| + + + +### Type: [help.InviteText](../types/help.InviteText.md) + + +### Example: + +```php +$help.inviteText = ['_' => 'help.inviteText', 'message' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +help.inviteText={_='help.inviteText', message='string'} + +``` + + diff --git a/old_docs/API_docs_v18/constructors/help.noAppUpdate.md b/old_docs/API_docs_v18/constructors/help.noAppUpdate.md new file mode 100644 index 00000000..1b69ac9a --- /dev/null +++ b/old_docs/API_docs_v18/constructors/help.noAppUpdate.md @@ -0,0 +1,33 @@ +--- +title: help.noAppUpdate +description: No updates are available for the application. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.noAppUpdate +[Back to constructors index](index.md) + + + +No updates are available for the application. + + + + +### Type: [help.AppUpdate](../types/help.AppUpdate.md) + + +### Example: + +```php +$help.noAppUpdate = ['_' => 'help.noAppUpdate']; +``` + + +Or, if you're into Lua: + +```lua +help.noAppUpdate={_='help.noAppUpdate'} + +``` + + diff --git a/old_docs/API_docs_v18/constructors/help.support.md b/old_docs/API_docs_v18/constructors/help.support.md new file mode 100644 index 00000000..4d4f85fb --- /dev/null +++ b/old_docs/API_docs_v18/constructors/help.support.md @@ -0,0 +1,39 @@ +--- +title: help.support +description: Info on support user. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.support +[Back to constructors index](index.md) + + + +Info on support user. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_number|[string](../types/string.md) | Yes|Phone number| +|user|[User](../types/User.md) | Optional|User| + + + +### Type: [help.Support](../types/help.Support.md) + + +### Example: + +```php +$help.support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => User]; +``` + + +Or, if you're into Lua: + +```lua +help.support={_='help.support', phone_number='string', user=User} + +``` + + diff --git a/old_docs/API_docs_v18/constructors/help_appUpdate.md b/old_docs/API_docs_v18/constructors/help_appUpdate.md deleted file mode 100644 index efba9bdb..00000000 --- a/old_docs/API_docs_v18/constructors/help_appUpdate.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: help.appUpdate -description: An update is available for the application. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.appUpdate -[Back to constructors index](index.md) - - - -An update is available for the application. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|id|[int](../types/int.md) | Yes|Update ID| -|critical|[Bool](../types/Bool.md) | Yes|Critical?| -|url|[string](../types/string.md) | Yes|Application download URL| -|text|[string](../types/string.md) | Yes|Text description of the update| - - - -### Type: [help\_AppUpdate](../types/help_AppUpdate.md) - - -### Example: - -```php -$help_appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'url' => 'string', 'text' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -help_appUpdate={_='help.appUpdate', id=int, critical=Bool, url='string', text='string'} - -``` - - diff --git a/old_docs/API_docs_v18/constructors/help_inviteText.md b/old_docs/API_docs_v18/constructors/help_inviteText.md deleted file mode 100644 index b8317ce3..00000000 --- a/old_docs/API_docs_v18/constructors/help_inviteText.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: help.inviteText -description: Text of a text message with an invitation to install application. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.inviteText -[Back to constructors index](index.md) - - - -Text of a text message with an invitation to install application. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|message|[string](../types/string.md) | Yes|Text of a message| - - - -### Type: [help\_InviteText](../types/help_InviteText.md) - - -### Example: - -```php -$help_inviteText = ['_' => 'help.inviteText', 'message' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -help_inviteText={_='help.inviteText', message='string'} - -``` - - diff --git a/old_docs/API_docs_v18/constructors/help_noAppUpdate.md b/old_docs/API_docs_v18/constructors/help_noAppUpdate.md deleted file mode 100644 index 51505e52..00000000 --- a/old_docs/API_docs_v18/constructors/help_noAppUpdate.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: help.noAppUpdate -description: No updates are available for the application. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.noAppUpdate -[Back to constructors index](index.md) - - - -No updates are available for the application. - - - - -### Type: [help\_AppUpdate](../types/help_AppUpdate.md) - - -### Example: - -```php -$help_noAppUpdate = ['_' => 'help.noAppUpdate']; -``` - - -Or, if you're into Lua: - -```lua -help_noAppUpdate={_='help.noAppUpdate'} - -``` - - diff --git a/old_docs/API_docs_v18/constructors/help_support.md b/old_docs/API_docs_v18/constructors/help_support.md deleted file mode 100644 index 148f7f42..00000000 --- a/old_docs/API_docs_v18/constructors/help_support.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: help.support -description: Info on support user. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.support -[Back to constructors index](index.md) - - - -Info on support user. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_number|[string](../types/string.md) | Yes|Phone number| -|user|[User](../types/User.md) | Optional|User| - - - -### Type: [help\_Support](../types/help_Support.md) - - -### Example: - -```php -$help_support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => User]; -``` - - -Or, if you're into Lua: - -```lua -help_support={_='help.support', phone_number='string', user=User} - -``` - - diff --git a/old_docs/API_docs_v18/constructors/messages.affectedHistory.md b/old_docs/API_docs_v18/constructors/messages.affectedHistory.md new file mode 100644 index 00000000..2d9ff5d7 --- /dev/null +++ b/old_docs/API_docs_v18/constructors/messages.affectedHistory.md @@ -0,0 +1,40 @@ +--- +title: messages.affectedHistory +description: Affected part of communication history with the user or in a chat. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.affectedHistory +[Back to constructors index](index.md) + + + +Affected part of communication history with the user or in a chat. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| +|seq|[int](../types/int.md) | Yes|Seq| +|offset|[int](../types/int.md) | Yes|If a parameter contains positive value, it is necessary to repeat the method call using the given value; during the proceeding of all the history the value itself shall gradually decrease| + + + +### Type: [messages.AffectedHistory](../types/messages.AffectedHistory.md) + + +### Example: + +```php +$messages.affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'seq' => int, 'offset' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.affectedHistory={_='messages.affectedHistory', pts=int, seq=int, offset=int} + +``` + + diff --git a/old_docs/API_docs_v18/constructors/messages.chatFull.md b/old_docs/API_docs_v18/constructors/messages.chatFull.md new file mode 100644 index 00000000..3906cc54 --- /dev/null +++ b/old_docs/API_docs_v18/constructors/messages.chatFull.md @@ -0,0 +1,40 @@ +--- +title: messages.chatFull +description: Extended info on chat and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.chatFull +[Back to constructors index](index.md) + + + +Extended info on chat and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|full\_chat|[ChatFull](../types/ChatFull.md) | Yes|Extended info on a chat| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.ChatFull](../types/messages.ChatFull.md) + + +### Example: + +```php +$messages.chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.chatFull={_='messages.chatFull', full_chat=ChatFull, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v18/constructors/messages.chats.md b/old_docs/API_docs_v18/constructors/messages.chats.md new file mode 100644 index 00000000..03646bb3 --- /dev/null +++ b/old_docs/API_docs_v18/constructors/messages.chats.md @@ -0,0 +1,39 @@ +--- +title: messages.chats +description: List of chats with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.chats +[Back to constructors index](index.md) + + + +List of chats with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Chats](../types/messages.Chats.md) + + +### Example: + +```php +$messages.chats = ['_' => 'messages.chats', 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.chats={_='messages.chats', chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v18/constructors/messages.dhConfig.md b/old_docs/API_docs_v18/constructors/messages.dhConfig.md new file mode 100644 index 00000000..58344f64 --- /dev/null +++ b/old_docs/API_docs_v18/constructors/messages.dhConfig.md @@ -0,0 +1,41 @@ +--- +title: messages.dhConfig +description: New set of configuring parameters. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dhConfig +[Back to constructors index](index.md) + + + +New set of configuring parameters. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|g|[int](../types/int.md) | Yes|New value **prime**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| +|p|[bytes](../types/bytes.md) | Yes|New value **primitive root**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| +|version|[int](../types/int.md) | Yes|Vestion of set of parameters| +|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| + + + +### Type: [messages.DhConfig](../types/messages.DhConfig.md) + + +### Example: + +```php +$messages.dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'version' => int, 'random' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +messages.dhConfig={_='messages.dhConfig', g=int, p='bytes', version=int, random='bytes'} + +``` + + diff --git a/old_docs/API_docs_v18/constructors/messages.dhConfigNotModified.md b/old_docs/API_docs_v18/constructors/messages.dhConfigNotModified.md new file mode 100644 index 00000000..a9a95389 --- /dev/null +++ b/old_docs/API_docs_v18/constructors/messages.dhConfigNotModified.md @@ -0,0 +1,38 @@ +--- +title: messages.dhConfigNotModified +description: Configuring parameters did not change. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dhConfigNotModified +[Back to constructors index](index.md) + + + +Configuring parameters did not change. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| + + + +### Type: [messages.DhConfig](../types/messages.DhConfig.md) + + +### Example: + +```php +$messages.dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +messages.dhConfigNotModified={_='messages.dhConfigNotModified', random='bytes'} + +``` + + diff --git a/old_docs/API_docs_v18/constructors/messages.dialogs.md b/old_docs/API_docs_v18/constructors/messages.dialogs.md new file mode 100644 index 00000000..a72eabce --- /dev/null +++ b/old_docs/API_docs_v18/constructors/messages.dialogs.md @@ -0,0 +1,41 @@ +--- +title: messages.dialogs +description: Full list of chats with messages and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dialogs +[Back to constructors index](index.md) + + + +Full list of chats with messages and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Dialogs](../types/messages.Dialogs.md) + + +### Example: + +```php +$messages.dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.dialogs={_='messages.dialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v18/constructors/messages.dialogsSlice.md b/old_docs/API_docs_v18/constructors/messages.dialogsSlice.md new file mode 100644 index 00000000..26227d2c --- /dev/null +++ b/old_docs/API_docs_v18/constructors/messages.dialogsSlice.md @@ -0,0 +1,42 @@ +--- +title: messages.dialogsSlice +description: Incomplete list of dialogs with messages and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dialogsSlice +[Back to constructors index](index.md) + + + +Incomplete list of dialogs with messages and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of dialogs| +|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Dialogs](../types/messages.Dialogs.md) + + +### Example: + +```php +$messages.dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.dialogsSlice={_='messages.dialogsSlice', count=int, dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v18/constructors/messages.messages.md b/old_docs/API_docs_v18/constructors/messages.messages.md new file mode 100644 index 00000000..3af71dca --- /dev/null +++ b/old_docs/API_docs_v18/constructors/messages.messages.md @@ -0,0 +1,40 @@ +--- +title: messages.messages +description: Full list of messages with auxilary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.messages +[Back to constructors index](index.md) + + + +Full list of messages with auxilary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Messages](../types/messages.Messages.md) + + +### Example: + +```php +$messages.messages = ['_' => 'messages.messages', 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.messages={_='messages.messages', messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v18/constructors/messages.messagesSlice.md b/old_docs/API_docs_v18/constructors/messages.messagesSlice.md new file mode 100644 index 00000000..2fe91df0 --- /dev/null +++ b/old_docs/API_docs_v18/constructors/messages.messagesSlice.md @@ -0,0 +1,41 @@ +--- +title: messages.messagesSlice +description: Incomplete list of messages and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.messagesSlice +[Back to constructors index](index.md) + + + +Incomplete list of messages and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of messages in the list| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Messages](../types/messages.Messages.md) + + +### Example: + +```php +$messages.messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.messagesSlice={_='messages.messagesSlice', count=int, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v18/constructors/messages.sentEncryptedFile.md b/old_docs/API_docs_v18/constructors/messages.sentEncryptedFile.md new file mode 100644 index 00000000..1f0e43c6 --- /dev/null +++ b/old_docs/API_docs_v18/constructors/messages.sentEncryptedFile.md @@ -0,0 +1,39 @@ +--- +title: messages.sentEncryptedFile +description: Message with a file enclosure sent to a protected chat +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.sentEncryptedFile +[Back to constructors index](index.md) + + + +Message with a file enclosure sent to a protected chat + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Sending date| +|file|[EncryptedFile](../types/EncryptedFile.md) | Optional|Attached file| + + + +### Type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) + + +### Example: + +```php +$messages.sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile]; +``` + + +Or, if you're into Lua: + +```lua +messages.sentEncryptedFile={_='messages.sentEncryptedFile', date=int, file=EncryptedFile} + +``` + + diff --git a/old_docs/API_docs_v18/constructors/messages.sentEncryptedMessage.md b/old_docs/API_docs_v18/constructors/messages.sentEncryptedMessage.md new file mode 100644 index 00000000..3d5eb40c --- /dev/null +++ b/old_docs/API_docs_v18/constructors/messages.sentEncryptedMessage.md @@ -0,0 +1,38 @@ +--- +title: messages.sentEncryptedMessage +description: Message without file attachemts sent to an encrypted file. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.sentEncryptedMessage +[Back to constructors index](index.md) + + + +Message without file attachemts sent to an encrypted file. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Date of sending| + + + +### Type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) + + +### Example: + +```php +$messages.sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.sentEncryptedMessage={_='messages.sentEncryptedMessage', date=int} + +``` + + diff --git a/old_docs/API_docs_v18/constructors/messages.sentMessage.md b/old_docs/API_docs_v18/constructors/messages.sentMessage.md new file mode 100644 index 00000000..8724ab7d --- /dev/null +++ b/old_docs/API_docs_v18/constructors/messages.sentMessage.md @@ -0,0 +1,41 @@ +--- +title: messages.sentMessage +description: Sent message +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.sentMessage +[Back to constructors index](index.md) + + + +Sent message + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|id|[int](../types/int.md) | Yes|ID| +|date|[int](../types/int.md) | Yes|Date| +|pts|[int](../types/int.md) | Yes|Pts| +|seq|[int](../types/int.md) | Yes|Seq| + + + +### Type: [messages.SentMessage](../types/messages.SentMessage.md) + + +### Example: + +```php +$messages.sentMessage = ['_' => 'messages.sentMessage', 'id' => int, 'date' => int, 'pts' => int, 'seq' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.sentMessage={_='messages.sentMessage', id=int, date=int, pts=int, seq=int} + +``` + + diff --git a/old_docs/API_docs_v18/constructors/messages.sentMessageLink.md b/old_docs/API_docs_v18/constructors/messages.sentMessageLink.md new file mode 100644 index 00000000..c537db34 --- /dev/null +++ b/old_docs/API_docs_v18/constructors/messages.sentMessageLink.md @@ -0,0 +1,42 @@ +--- +title: messages.sentMessageLink +description: Sent message link +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.sentMessageLink +[Back to constructors index](index.md) + + + +Sent message link + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|id|[int](../types/int.md) | Yes|ID| +|date|[int](../types/int.md) | Yes|Date| +|pts|[int](../types/int.md) | Yes|Pts| +|seq|[int](../types/int.md) | Yes|Seq| +|links|Array of [contacts.Link](../constructors/contacts.Link.md) | Yes|Links| + + + +### Type: [messages.SentMessage](../types/messages.SentMessage.md) + + +### Example: + +```php +$messages.sentMessageLink = ['_' => 'messages.sentMessageLink', 'id' => int, 'date' => int, 'pts' => int, 'seq' => int, 'links' => [contacts.Link, contacts.Link]]; +``` + + +Or, if you're into Lua: + +```lua +messages.sentMessageLink={_='messages.sentMessageLink', id=int, date=int, pts=int, seq=int, links={contacts.Link}} + +``` + + diff --git a/old_docs/API_docs_v18/constructors/messages.statedMessage.md b/old_docs/API_docs_v18/constructors/messages.statedMessage.md new file mode 100644 index 00000000..031d7464 --- /dev/null +++ b/old_docs/API_docs_v18/constructors/messages.statedMessage.md @@ -0,0 +1,42 @@ +--- +title: messages.statedMessage +description: Stated message +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.statedMessage +[Back to constructors index](index.md) + + + +Stated message + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|message|[Message](../types/Message.md) | Optional|Message| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| +|pts|[int](../types/int.md) | Yes|Pts| +|seq|[int](../types/int.md) | Yes|Seq| + + + +### Type: [messages.StatedMessage](../types/messages.StatedMessage.md) + + +### Example: + +```php +$messages.statedMessage = ['_' => 'messages.statedMessage', 'message' => Message, 'chats' => [Chat, Chat], 'users' => [User, User], 'pts' => int, 'seq' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.statedMessage={_='messages.statedMessage', message=Message, chats={Chat}, users={User}, pts=int, seq=int} + +``` + + diff --git a/old_docs/API_docs_v18/constructors/messages.statedMessageLink.md b/old_docs/API_docs_v18/constructors/messages.statedMessageLink.md new file mode 100644 index 00000000..209ad9eb --- /dev/null +++ b/old_docs/API_docs_v18/constructors/messages.statedMessageLink.md @@ -0,0 +1,43 @@ +--- +title: messages.statedMessageLink +description: Stated message link +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.statedMessageLink +[Back to constructors index](index.md) + + + +Stated message link + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|message|[Message](../types/Message.md) | Optional|Message| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| +|links|Array of [contacts.Link](../constructors/contacts.Link.md) | Yes|Links| +|pts|[int](../types/int.md) | Yes|Pts| +|seq|[int](../types/int.md) | Yes|Seq| + + + +### Type: [messages.StatedMessage](../types/messages.StatedMessage.md) + + +### Example: + +```php +$messages.statedMessageLink = ['_' => 'messages.statedMessageLink', 'message' => Message, 'chats' => [Chat, Chat], 'users' => [User, User], 'links' => [contacts.Link, contacts.Link], 'pts' => int, 'seq' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.statedMessageLink={_='messages.statedMessageLink', message=Message, chats={Chat}, users={User}, links={contacts.Link}, pts=int, seq=int} + +``` + + diff --git a/old_docs/API_docs_v18/constructors/messages.statedMessages.md b/old_docs/API_docs_v18/constructors/messages.statedMessages.md new file mode 100644 index 00000000..0eab0365 --- /dev/null +++ b/old_docs/API_docs_v18/constructors/messages.statedMessages.md @@ -0,0 +1,42 @@ +--- +title: messages.statedMessages +description: Stated messages +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.statedMessages +[Back to constructors index](index.md) + + + +Stated messages + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| +|pts|[int](../types/int.md) | Yes|Pts| +|seq|[int](../types/int.md) | Yes|Seq| + + + +### Type: [messages.StatedMessages](../types/messages.StatedMessages.md) + + +### Example: + +```php +$messages.statedMessages = ['_' => 'messages.statedMessages', 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User], 'pts' => int, 'seq' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.statedMessages={_='messages.statedMessages', messages={Message}, chats={Chat}, users={User}, pts=int, seq=int} + +``` + + diff --git a/old_docs/API_docs_v18/constructors/messages.statedMessagesLinks.md b/old_docs/API_docs_v18/constructors/messages.statedMessagesLinks.md new file mode 100644 index 00000000..1930c460 --- /dev/null +++ b/old_docs/API_docs_v18/constructors/messages.statedMessagesLinks.md @@ -0,0 +1,43 @@ +--- +title: messages.statedMessagesLinks +description: Stated messages links +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.statedMessagesLinks +[Back to constructors index](index.md) + + + +Stated messages links + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| +|links|Array of [contacts.Link](../constructors/contacts.Link.md) | Yes|Links| +|pts|[int](../types/int.md) | Yes|Pts| +|seq|[int](../types/int.md) | Yes|Seq| + + + +### Type: [messages.StatedMessages](../types/messages.StatedMessages.md) + + +### Example: + +```php +$messages.statedMessagesLinks = ['_' => 'messages.statedMessagesLinks', 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User], 'links' => [contacts.Link, contacts.Link], 'pts' => int, 'seq' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.statedMessagesLinks={_='messages.statedMessagesLinks', messages={Message}, chats={Chat}, users={User}, links={contacts.Link}, pts=int, seq=int} + +``` + + diff --git a/old_docs/API_docs_v18/constructors/messages_affectedHistory.md b/old_docs/API_docs_v18/constructors/messages_affectedHistory.md deleted file mode 100644 index e9d319f9..00000000 --- a/old_docs/API_docs_v18/constructors/messages_affectedHistory.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.affectedHistory -description: Affected part of communication history with the user or in a chat. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.affectedHistory -[Back to constructors index](index.md) - - - -Affected part of communication history with the user or in a chat. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| -|seq|[int](../types/int.md) | Yes|Seq| -|offset|[int](../types/int.md) | Yes|If a parameter contains positive value, it is necessary to repeat the method call using the given value; during the proceeding of all the history the value itself shall gradually decrease| - - - -### Type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) - - -### Example: - -```php -$messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'seq' => int, 'offset' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_affectedHistory={_='messages.affectedHistory', pts=int, seq=int, offset=int} - -``` - - diff --git a/old_docs/API_docs_v18/constructors/messages_chatFull.md b/old_docs/API_docs_v18/constructors/messages_chatFull.md deleted file mode 100644 index 02f1acdf..00000000 --- a/old_docs/API_docs_v18/constructors/messages_chatFull.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.chatFull -description: Extended info on chat and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.chatFull -[Back to constructors index](index.md) - - - -Extended info on chat and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|full\_chat|[ChatFull](../types/ChatFull.md) | Yes|Extended info on a chat| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_ChatFull](../types/messages_ChatFull.md) - - -### Example: - -```php -$messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_chatFull={_='messages.chatFull', full_chat=ChatFull, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v18/constructors/messages_chats.md b/old_docs/API_docs_v18/constructors/messages_chats.md deleted file mode 100644 index 278eb21c..00000000 --- a/old_docs/API_docs_v18/constructors/messages_chats.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.chats -description: List of chats with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.chats -[Back to constructors index](index.md) - - - -List of chats with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Chats](../types/messages_Chats.md) - - -### Example: - -```php -$messages_chats = ['_' => 'messages.chats', 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_chats={_='messages.chats', chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v18/constructors/messages_dhConfig.md b/old_docs/API_docs_v18/constructors/messages_dhConfig.md deleted file mode 100644 index 42c2feb1..00000000 --- a/old_docs/API_docs_v18/constructors/messages_dhConfig.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: messages.dhConfig -description: New set of configuring parameters. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dhConfig -[Back to constructors index](index.md) - - - -New set of configuring parameters. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|g|[int](../types/int.md) | Yes|New value **prime**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| -|p|[bytes](../types/bytes.md) | Yes|New value **primitive root**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| -|version|[int](../types/int.md) | Yes|Vestion of set of parameters| -|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| - - - -### Type: [messages\_DhConfig](../types/messages_DhConfig.md) - - -### Example: - -```php -$messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'version' => int, 'random' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -messages_dhConfig={_='messages.dhConfig', g=int, p='bytes', version=int, random='bytes'} - -``` - - diff --git a/old_docs/API_docs_v18/constructors/messages_dhConfigNotModified.md b/old_docs/API_docs_v18/constructors/messages_dhConfigNotModified.md deleted file mode 100644 index 5bf64230..00000000 --- a/old_docs/API_docs_v18/constructors/messages_dhConfigNotModified.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.dhConfigNotModified -description: Configuring parameters did not change. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dhConfigNotModified -[Back to constructors index](index.md) - - - -Configuring parameters did not change. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| - - - -### Type: [messages\_DhConfig](../types/messages_DhConfig.md) - - -### Example: - -```php -$messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -messages_dhConfigNotModified={_='messages.dhConfigNotModified', random='bytes'} - -``` - - diff --git a/old_docs/API_docs_v18/constructors/messages_dialogs.md b/old_docs/API_docs_v18/constructors/messages_dialogs.md deleted file mode 100644 index e6a431b4..00000000 --- a/old_docs/API_docs_v18/constructors/messages_dialogs.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: messages.dialogs -description: Full list of chats with messages and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dialogs -[Back to constructors index](index.md) - - - -Full list of chats with messages and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Dialogs](../types/messages_Dialogs.md) - - -### Example: - -```php -$messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_dialogs={_='messages.dialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v18/constructors/messages_dialogsSlice.md b/old_docs/API_docs_v18/constructors/messages_dialogsSlice.md deleted file mode 100644 index f183b9a8..00000000 --- a/old_docs/API_docs_v18/constructors/messages_dialogsSlice.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: messages.dialogsSlice -description: Incomplete list of dialogs with messages and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dialogsSlice -[Back to constructors index](index.md) - - - -Incomplete list of dialogs with messages and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of dialogs| -|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Dialogs](../types/messages_Dialogs.md) - - -### Example: - -```php -$messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_dialogsSlice={_='messages.dialogsSlice', count=int, dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v18/constructors/messages_messages.md b/old_docs/API_docs_v18/constructors/messages_messages.md deleted file mode 100644 index 3e369e1a..00000000 --- a/old_docs/API_docs_v18/constructors/messages_messages.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.messages -description: Full list of messages with auxilary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.messages -[Back to constructors index](index.md) - - - -Full list of messages with auxilary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Messages](../types/messages_Messages.md) - - -### Example: - -```php -$messages_messages = ['_' => 'messages.messages', 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_messages={_='messages.messages', messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v18/constructors/messages_messagesSlice.md b/old_docs/API_docs_v18/constructors/messages_messagesSlice.md deleted file mode 100644 index f9b8dc18..00000000 --- a/old_docs/API_docs_v18/constructors/messages_messagesSlice.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: messages.messagesSlice -description: Incomplete list of messages and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.messagesSlice -[Back to constructors index](index.md) - - - -Incomplete list of messages and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of messages in the list| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Messages](../types/messages_Messages.md) - - -### Example: - -```php -$messages_messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_messagesSlice={_='messages.messagesSlice', count=int, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v18/constructors/messages_sentEncryptedFile.md b/old_docs/API_docs_v18/constructors/messages_sentEncryptedFile.md deleted file mode 100644 index fdc2a11e..00000000 --- a/old_docs/API_docs_v18/constructors/messages_sentEncryptedFile.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.sentEncryptedFile -description: Message with a file enclosure sent to a protected chat -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.sentEncryptedFile -[Back to constructors index](index.md) - - - -Message with a file enclosure sent to a protected chat - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Sending date| -|file|[EncryptedFile](../types/EncryptedFile.md) | Optional|Attached file| - - - -### Type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) - - -### Example: - -```php -$messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile]; -``` - - -Or, if you're into Lua: - -```lua -messages_sentEncryptedFile={_='messages.sentEncryptedFile', date=int, file=EncryptedFile} - -``` - - diff --git a/old_docs/API_docs_v18/constructors/messages_sentEncryptedMessage.md b/old_docs/API_docs_v18/constructors/messages_sentEncryptedMessage.md deleted file mode 100644 index 36b2bbff..00000000 --- a/old_docs/API_docs_v18/constructors/messages_sentEncryptedMessage.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.sentEncryptedMessage -description: Message without file attachemts sent to an encrypted file. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.sentEncryptedMessage -[Back to constructors index](index.md) - - - -Message without file attachemts sent to an encrypted file. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Date of sending| - - - -### Type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) - - -### Example: - -```php -$messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_sentEncryptedMessage={_='messages.sentEncryptedMessage', date=int} - -``` - - diff --git a/old_docs/API_docs_v18/constructors/messages_sentMessage.md b/old_docs/API_docs_v18/constructors/messages_sentMessage.md deleted file mode 100644 index cc3b1145..00000000 --- a/old_docs/API_docs_v18/constructors/messages_sentMessage.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: messages.sentMessage -description: Sent message -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.sentMessage -[Back to constructors index](index.md) - - - -Sent message - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|id|[int](../types/int.md) | Yes|ID| -|date|[int](../types/int.md) | Yes|Date| -|pts|[int](../types/int.md) | Yes|Pts| -|seq|[int](../types/int.md) | Yes|Seq| - - - -### Type: [messages\_SentMessage](../types/messages_SentMessage.md) - - -### Example: - -```php -$messages_sentMessage = ['_' => 'messages.sentMessage', 'id' => int, 'date' => int, 'pts' => int, 'seq' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_sentMessage={_='messages.sentMessage', id=int, date=int, pts=int, seq=int} - -``` - - diff --git a/old_docs/API_docs_v18/constructors/messages_sentMessageLink.md b/old_docs/API_docs_v18/constructors/messages_sentMessageLink.md deleted file mode 100644 index acbbdc73..00000000 --- a/old_docs/API_docs_v18/constructors/messages_sentMessageLink.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: messages.sentMessageLink -description: Sent message link -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.sentMessageLink -[Back to constructors index](index.md) - - - -Sent message link - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|id|[int](../types/int.md) | Yes|ID| -|date|[int](../types/int.md) | Yes|Date| -|pts|[int](../types/int.md) | Yes|Pts| -|seq|[int](../types/int.md) | Yes|Seq| -|links|Array of [contacts\_Link](../types/contacts_Link.md) | Yes|Links| - - - -### Type: [messages\_SentMessage](../types/messages_SentMessage.md) - - -### Example: - -```php -$messages_sentMessageLink = ['_' => 'messages.sentMessageLink', 'id' => int, 'date' => int, 'pts' => int, 'seq' => int, 'links' => [contacts_Link, contacts_Link]]; -``` - - -Or, if you're into Lua: - -```lua -messages_sentMessageLink={_='messages.sentMessageLink', id=int, date=int, pts=int, seq=int, links={contacts_Link}} - -``` - - diff --git a/old_docs/API_docs_v18/constructors/messages_statedMessage.md b/old_docs/API_docs_v18/constructors/messages_statedMessage.md deleted file mode 100644 index 15c8b360..00000000 --- a/old_docs/API_docs_v18/constructors/messages_statedMessage.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: messages.statedMessage -description: Stated message -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.statedMessage -[Back to constructors index](index.md) - - - -Stated message - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|message|[Message](../types/Message.md) | Optional|Message| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| -|pts|[int](../types/int.md) | Yes|Pts| -|seq|[int](../types/int.md) | Yes|Seq| - - - -### Type: [messages\_StatedMessage](../types/messages_StatedMessage.md) - - -### Example: - -```php -$messages_statedMessage = ['_' => 'messages.statedMessage', 'message' => Message, 'chats' => [Chat, Chat], 'users' => [User, User], 'pts' => int, 'seq' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_statedMessage={_='messages.statedMessage', message=Message, chats={Chat}, users={User}, pts=int, seq=int} - -``` - - diff --git a/old_docs/API_docs_v18/constructors/messages_statedMessageLink.md b/old_docs/API_docs_v18/constructors/messages_statedMessageLink.md deleted file mode 100644 index 45e7e3ad..00000000 --- a/old_docs/API_docs_v18/constructors/messages_statedMessageLink.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: messages.statedMessageLink -description: Stated message link -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.statedMessageLink -[Back to constructors index](index.md) - - - -Stated message link - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|message|[Message](../types/Message.md) | Optional|Message| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| -|links|Array of [contacts\_Link](../types/contacts_Link.md) | Yes|Links| -|pts|[int](../types/int.md) | Yes|Pts| -|seq|[int](../types/int.md) | Yes|Seq| - - - -### Type: [messages\_StatedMessage](../types/messages_StatedMessage.md) - - -### Example: - -```php -$messages_statedMessageLink = ['_' => 'messages.statedMessageLink', 'message' => Message, 'chats' => [Chat, Chat], 'users' => [User, User], 'links' => [contacts_Link, contacts_Link], 'pts' => int, 'seq' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_statedMessageLink={_='messages.statedMessageLink', message=Message, chats={Chat}, users={User}, links={contacts_Link}, pts=int, seq=int} - -``` - - diff --git a/old_docs/API_docs_v18/constructors/messages_statedMessages.md b/old_docs/API_docs_v18/constructors/messages_statedMessages.md deleted file mode 100644 index 93b1baa7..00000000 --- a/old_docs/API_docs_v18/constructors/messages_statedMessages.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: messages.statedMessages -description: Stated messages -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.statedMessages -[Back to constructors index](index.md) - - - -Stated messages - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| -|pts|[int](../types/int.md) | Yes|Pts| -|seq|[int](../types/int.md) | Yes|Seq| - - - -### Type: [messages\_StatedMessages](../types/messages_StatedMessages.md) - - -### Example: - -```php -$messages_statedMessages = ['_' => 'messages.statedMessages', 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User], 'pts' => int, 'seq' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_statedMessages={_='messages.statedMessages', messages={Message}, chats={Chat}, users={User}, pts=int, seq=int} - -``` - - diff --git a/old_docs/API_docs_v18/constructors/messages_statedMessagesLinks.md b/old_docs/API_docs_v18/constructors/messages_statedMessagesLinks.md deleted file mode 100644 index 9b0cba6d..00000000 --- a/old_docs/API_docs_v18/constructors/messages_statedMessagesLinks.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: messages.statedMessagesLinks -description: Stated messages links -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.statedMessagesLinks -[Back to constructors index](index.md) - - - -Stated messages links - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| -|links|Array of [contacts\_Link](../types/contacts_Link.md) | Yes|Links| -|pts|[int](../types/int.md) | Yes|Pts| -|seq|[int](../types/int.md) | Yes|Seq| - - - -### Type: [messages\_StatedMessages](../types/messages_StatedMessages.md) - - -### Example: - -```php -$messages_statedMessagesLinks = ['_' => 'messages.statedMessagesLinks', 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User], 'links' => [contacts_Link, contacts_Link], 'pts' => int, 'seq' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_statedMessagesLinks={_='messages.statedMessagesLinks', messages={Message}, chats={Chat}, users={User}, links={contacts_Link}, pts=int, seq=int} - -``` - - diff --git a/old_docs/API_docs_v18/constructors/photos.photo.md b/old_docs/API_docs_v18/constructors/photos.photo.md new file mode 100644 index 00000000..43d3efc7 --- /dev/null +++ b/old_docs/API_docs_v18/constructors/photos.photo.md @@ -0,0 +1,39 @@ +--- +title: photos.photo +description: Photo with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: photos.photo +[Back to constructors index](index.md) + + + +Photo with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|photo|[Photo](../types/Photo.md) | Optional|Photo| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [photos.Photo](../types/photos.Photo.md) + + +### Example: + +```php +$photos.photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +photos.photo={_='photos.photo', photo=Photo, users={User}} + +``` + + diff --git a/old_docs/API_docs_v18/constructors/photos.photos.md b/old_docs/API_docs_v18/constructors/photos.photos.md new file mode 100644 index 00000000..901a9693 --- /dev/null +++ b/old_docs/API_docs_v18/constructors/photos.photos.md @@ -0,0 +1,39 @@ +--- +title: photos.photos +description: Full list of photos with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: photos.photos +[Back to constructors index](index.md) + + + +Full list of photos with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [photos.Photos](../types/photos.Photos.md) + + +### Example: + +```php +$photos.photos = ['_' => 'photos.photos', 'photos' => [Photo, Photo], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +photos.photos={_='photos.photos', photos={Photo}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v18/constructors/photos.photosSlice.md b/old_docs/API_docs_v18/constructors/photos.photosSlice.md new file mode 100644 index 00000000..2cca3546 --- /dev/null +++ b/old_docs/API_docs_v18/constructors/photos.photosSlice.md @@ -0,0 +1,40 @@ +--- +title: photos.photosSlice +description: Incomplete list of photos with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: photos.photosSlice +[Back to constructors index](index.md) + + + +Incomplete list of photos with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of photos| +|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [photos.Photos](../types/photos.Photos.md) + + +### Example: + +```php +$photos.photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo, Photo], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +photos.photosSlice={_='photos.photosSlice', count=int, photos={Photo}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v18/constructors/photos_photo.md b/old_docs/API_docs_v18/constructors/photos_photo.md deleted file mode 100644 index d5ad61d9..00000000 --- a/old_docs/API_docs_v18/constructors/photos_photo.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: photos.photo -description: Photo with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: photos.photo -[Back to constructors index](index.md) - - - -Photo with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|photo|[Photo](../types/Photo.md) | Optional|Photo| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [photos\_Photo](../types/photos_Photo.md) - - -### Example: - -```php -$photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -photos_photo={_='photos.photo', photo=Photo, users={User}} - -``` - - diff --git a/old_docs/API_docs_v18/constructors/photos_photos.md b/old_docs/API_docs_v18/constructors/photos_photos.md deleted file mode 100644 index 6ae5d048..00000000 --- a/old_docs/API_docs_v18/constructors/photos_photos.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: photos.photos -description: Full list of photos with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: photos.photos -[Back to constructors index](index.md) - - - -Full list of photos with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [photos\_Photos](../types/photos_Photos.md) - - -### Example: - -```php -$photos_photos = ['_' => 'photos.photos', 'photos' => [Photo, Photo], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -photos_photos={_='photos.photos', photos={Photo}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v18/constructors/photos_photosSlice.md b/old_docs/API_docs_v18/constructors/photos_photosSlice.md deleted file mode 100644 index 5c465c21..00000000 --- a/old_docs/API_docs_v18/constructors/photos_photosSlice.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: photos.photosSlice -description: Incomplete list of photos with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: photos.photosSlice -[Back to constructors index](index.md) - - - -Incomplete list of photos with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of photos| -|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [photos\_Photos](../types/photos_Photos.md) - - -### Example: - -```php -$photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo, Photo], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -photos_photosSlice={_='photos.photosSlice', count=int, photos={Photo}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v18/constructors/storage.fileGif.md b/old_docs/API_docs_v18/constructors/storage.fileGif.md new file mode 100644 index 00000000..8193bd25 --- /dev/null +++ b/old_docs/API_docs_v18/constructors/storage.fileGif.md @@ -0,0 +1,33 @@ +--- +title: storage.fileGif +description: GIF image. MIME type: `image/gif`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileGif +[Back to constructors index](index.md) + + + +GIF image. MIME type: `image/gif`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileGif = ['_' => 'storage.fileGif']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileGif={_='storage.fileGif'} + +``` + + diff --git a/old_docs/API_docs_v18/constructors/storage.fileJpeg.md b/old_docs/API_docs_v18/constructors/storage.fileJpeg.md new file mode 100644 index 00000000..7f125963 --- /dev/null +++ b/old_docs/API_docs_v18/constructors/storage.fileJpeg.md @@ -0,0 +1,33 @@ +--- +title: storage.fileJpeg +description: JPEG image. MIME type: `image/jpeg`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileJpeg +[Back to constructors index](index.md) + + + +JPEG image. MIME type: `image/jpeg`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileJpeg = ['_' => 'storage.fileJpeg']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileJpeg={_='storage.fileJpeg'} + +``` + + diff --git a/old_docs/API_docs_v18/constructors/storage.fileMov.md b/old_docs/API_docs_v18/constructors/storage.fileMov.md new file mode 100644 index 00000000..cb3742e0 --- /dev/null +++ b/old_docs/API_docs_v18/constructors/storage.fileMov.md @@ -0,0 +1,33 @@ +--- +title: storage.fileMov +description: Quicktime video. MIME type: `video/quicktime`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileMov +[Back to constructors index](index.md) + + + +Quicktime video. MIME type: `video/quicktime`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileMov = ['_' => 'storage.fileMov']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileMov={_='storage.fileMov'} + +``` + + diff --git a/old_docs/API_docs_v18/constructors/storage.fileMp3.md b/old_docs/API_docs_v18/constructors/storage.fileMp3.md new file mode 100644 index 00000000..617f2d39 --- /dev/null +++ b/old_docs/API_docs_v18/constructors/storage.fileMp3.md @@ -0,0 +1,33 @@ +--- +title: storage.fileMp3 +description: Mp3 audio. MIME type: `audio/mpeg`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileMp3 +[Back to constructors index](index.md) + + + +Mp3 audio. MIME type: `audio/mpeg`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileMp3 = ['_' => 'storage.fileMp3']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileMp3={_='storage.fileMp3'} + +``` + + diff --git a/old_docs/API_docs_v18/constructors/storage.fileMp4.md b/old_docs/API_docs_v18/constructors/storage.fileMp4.md new file mode 100644 index 00000000..37038176 --- /dev/null +++ b/old_docs/API_docs_v18/constructors/storage.fileMp4.md @@ -0,0 +1,33 @@ +--- +title: storage.fileMp4 +description: MPEG-4 video. MIME type: `video/mp4`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileMp4 +[Back to constructors index](index.md) + + + +MPEG-4 video. MIME type: `video/mp4`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileMp4 = ['_' => 'storage.fileMp4']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileMp4={_='storage.fileMp4'} + +``` + + diff --git a/old_docs/API_docs_v18/constructors/storage.filePartial.md b/old_docs/API_docs_v18/constructors/storage.filePartial.md new file mode 100644 index 00000000..98779e71 --- /dev/null +++ b/old_docs/API_docs_v18/constructors/storage.filePartial.md @@ -0,0 +1,33 @@ +--- +title: storage.filePartial +description: Part of a bigger file. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.filePartial +[Back to constructors index](index.md) + + + +Part of a bigger file. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.filePartial = ['_' => 'storage.filePartial']; +``` + + +Or, if you're into Lua: + +```lua +storage.filePartial={_='storage.filePartial'} + +``` + + diff --git a/old_docs/API_docs_v18/constructors/storage.filePdf.md b/old_docs/API_docs_v18/constructors/storage.filePdf.md new file mode 100644 index 00000000..136c0614 --- /dev/null +++ b/old_docs/API_docs_v18/constructors/storage.filePdf.md @@ -0,0 +1,33 @@ +--- +title: storage.filePdf +description: PDF document image. MIME type: `application/pdf`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.filePdf +[Back to constructors index](index.md) + + + +PDF document image. MIME type: `application/pdf`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.filePdf = ['_' => 'storage.filePdf']; +``` + + +Or, if you're into Lua: + +```lua +storage.filePdf={_='storage.filePdf'} + +``` + + diff --git a/old_docs/API_docs_v18/constructors/storage.filePng.md b/old_docs/API_docs_v18/constructors/storage.filePng.md new file mode 100644 index 00000000..db01ce0e --- /dev/null +++ b/old_docs/API_docs_v18/constructors/storage.filePng.md @@ -0,0 +1,33 @@ +--- +title: storage.filePng +description: PNG image. MIME type: `image/png`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.filePng +[Back to constructors index](index.md) + + + +PNG image. MIME type: `image/png`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.filePng = ['_' => 'storage.filePng']; +``` + + +Or, if you're into Lua: + +```lua +storage.filePng={_='storage.filePng'} + +``` + + diff --git a/old_docs/API_docs_v18/constructors/storage.fileUnknown.md b/old_docs/API_docs_v18/constructors/storage.fileUnknown.md new file mode 100644 index 00000000..26f0a5ae --- /dev/null +++ b/old_docs/API_docs_v18/constructors/storage.fileUnknown.md @@ -0,0 +1,33 @@ +--- +title: storage.fileUnknown +description: Unknown type. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileUnknown +[Back to constructors index](index.md) + + + +Unknown type. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileUnknown = ['_' => 'storage.fileUnknown']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileUnknown={_='storage.fileUnknown'} + +``` + + diff --git a/old_docs/API_docs_v18/constructors/storage.fileWebp.md b/old_docs/API_docs_v18/constructors/storage.fileWebp.md new file mode 100644 index 00000000..63c9ded1 --- /dev/null +++ b/old_docs/API_docs_v18/constructors/storage.fileWebp.md @@ -0,0 +1,33 @@ +--- +title: storage.fileWebp +description: WEBP image. MIME type: `image/webp`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileWebp +[Back to constructors index](index.md) + + + +WEBP image. MIME type: `image/webp`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileWebp = ['_' => 'storage.fileWebp']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileWebp={_='storage.fileWebp'} + +``` + + diff --git a/old_docs/API_docs_v18/constructors/storage_fileGif.md b/old_docs/API_docs_v18/constructors/storage_fileGif.md deleted file mode 100644 index 218c7491..00000000 --- a/old_docs/API_docs_v18/constructors/storage_fileGif.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileGif -description: GIF image. MIME type: `image/gif`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileGif -[Back to constructors index](index.md) - - - -GIF image. MIME type: `image/gif`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileGif = ['_' => 'storage.fileGif']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileGif={_='storage.fileGif'} - -``` - - diff --git a/old_docs/API_docs_v18/constructors/storage_fileJpeg.md b/old_docs/API_docs_v18/constructors/storage_fileJpeg.md deleted file mode 100644 index 925531cd..00000000 --- a/old_docs/API_docs_v18/constructors/storage_fileJpeg.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileJpeg -description: JPEG image. MIME type: `image/jpeg`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileJpeg -[Back to constructors index](index.md) - - - -JPEG image. MIME type: `image/jpeg`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileJpeg = ['_' => 'storage.fileJpeg']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileJpeg={_='storage.fileJpeg'} - -``` - - diff --git a/old_docs/API_docs_v18/constructors/storage_fileMov.md b/old_docs/API_docs_v18/constructors/storage_fileMov.md deleted file mode 100644 index eaf2a6ff..00000000 --- a/old_docs/API_docs_v18/constructors/storage_fileMov.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileMov -description: Quicktime video. MIME type: `video/quicktime`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileMov -[Back to constructors index](index.md) - - - -Quicktime video. MIME type: `video/quicktime`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileMov = ['_' => 'storage.fileMov']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileMov={_='storage.fileMov'} - -``` - - diff --git a/old_docs/API_docs_v18/constructors/storage_fileMp3.md b/old_docs/API_docs_v18/constructors/storage_fileMp3.md deleted file mode 100644 index 9afcefbb..00000000 --- a/old_docs/API_docs_v18/constructors/storage_fileMp3.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileMp3 -description: Mp3 audio. MIME type: `audio/mpeg`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileMp3 -[Back to constructors index](index.md) - - - -Mp3 audio. MIME type: `audio/mpeg`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileMp3 = ['_' => 'storage.fileMp3']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileMp3={_='storage.fileMp3'} - -``` - - diff --git a/old_docs/API_docs_v18/constructors/storage_fileMp4.md b/old_docs/API_docs_v18/constructors/storage_fileMp4.md deleted file mode 100644 index cdc0e783..00000000 --- a/old_docs/API_docs_v18/constructors/storage_fileMp4.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileMp4 -description: MPEG-4 video. MIME type: `video/mp4`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileMp4 -[Back to constructors index](index.md) - - - -MPEG-4 video. MIME type: `video/mp4`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileMp4 = ['_' => 'storage.fileMp4']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileMp4={_='storage.fileMp4'} - -``` - - diff --git a/old_docs/API_docs_v18/constructors/storage_filePartial.md b/old_docs/API_docs_v18/constructors/storage_filePartial.md deleted file mode 100644 index 9bfadf63..00000000 --- a/old_docs/API_docs_v18/constructors/storage_filePartial.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.filePartial -description: Part of a bigger file. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.filePartial -[Back to constructors index](index.md) - - - -Part of a bigger file. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_filePartial = ['_' => 'storage.filePartial']; -``` - - -Or, if you're into Lua: - -```lua -storage_filePartial={_='storage.filePartial'} - -``` - - diff --git a/old_docs/API_docs_v18/constructors/storage_filePdf.md b/old_docs/API_docs_v18/constructors/storage_filePdf.md deleted file mode 100644 index efb022cc..00000000 --- a/old_docs/API_docs_v18/constructors/storage_filePdf.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.filePdf -description: PDF document image. MIME type: `application/pdf`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.filePdf -[Back to constructors index](index.md) - - - -PDF document image. MIME type: `application/pdf`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_filePdf = ['_' => 'storage.filePdf']; -``` - - -Or, if you're into Lua: - -```lua -storage_filePdf={_='storage.filePdf'} - -``` - - diff --git a/old_docs/API_docs_v18/constructors/storage_filePng.md b/old_docs/API_docs_v18/constructors/storage_filePng.md deleted file mode 100644 index 412759e4..00000000 --- a/old_docs/API_docs_v18/constructors/storage_filePng.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.filePng -description: PNG image. MIME type: `image/png`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.filePng -[Back to constructors index](index.md) - - - -PNG image. MIME type: `image/png`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_filePng = ['_' => 'storage.filePng']; -``` - - -Or, if you're into Lua: - -```lua -storage_filePng={_='storage.filePng'} - -``` - - diff --git a/old_docs/API_docs_v18/constructors/storage_fileUnknown.md b/old_docs/API_docs_v18/constructors/storage_fileUnknown.md deleted file mode 100644 index ed33dd5e..00000000 --- a/old_docs/API_docs_v18/constructors/storage_fileUnknown.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileUnknown -description: Unknown type. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileUnknown -[Back to constructors index](index.md) - - - -Unknown type. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileUnknown = ['_' => 'storage.fileUnknown']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileUnknown={_='storage.fileUnknown'} - -``` - - diff --git a/old_docs/API_docs_v18/constructors/storage_fileWebp.md b/old_docs/API_docs_v18/constructors/storage_fileWebp.md deleted file mode 100644 index 04dcad74..00000000 --- a/old_docs/API_docs_v18/constructors/storage_fileWebp.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileWebp -description: WEBP image. MIME type: `image/webp`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileWebp -[Back to constructors index](index.md) - - - -WEBP image. MIME type: `image/webp`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileWebp = ['_' => 'storage.fileWebp']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileWebp={_='storage.fileWebp'} - -``` - - diff --git a/old_docs/API_docs_v18/constructors/updateContactLink.md b/old_docs/API_docs_v18/constructors/updateContactLink.md index e12cd9e4..8234036f 100644 --- a/old_docs/API_docs_v18/constructors/updateContactLink.md +++ b/old_docs/API_docs_v18/constructors/updateContactLink.md @@ -15,8 +15,8 @@ Update contact link | Name | Type | Required | Description | |----------|---------------|----------|-------------| |user\_id|[int](../types/int.md) | Yes|User ID| -|my\_link|[contacts\_MyLink](../types/contacts_MyLink.md) | Yes|My link| -|foreign\_link|[contacts\_ForeignLink](../types/contacts_ForeignLink.md) | Yes|Foreign link| +|my\_link|[contacts.MyLink](../constructors/contacts.MyLink.md) | Yes|My link| +|foreign\_link|[contacts.ForeignLink](../constructors/contacts.ForeignLink.md) | Yes|Foreign link| @@ -26,14 +26,14 @@ Update contact link ### Example: ```php -$updateContactLink = ['_' => 'updateContactLink', 'user_id' => int, 'my_link' => contacts_MyLink, 'foreign_link' => contacts_ForeignLink]; +$updateContactLink = ['_' => 'updateContactLink', 'user_id' => int, 'my_link' => contacts.MyLink, 'foreign_link' => contacts.ForeignLink]; ``` Or, if you're into Lua: ```lua -updateContactLink={_='updateContactLink', user_id=int, my_link=contacts_MyLink, foreign_link=contacts_ForeignLink} +updateContactLink={_='updateContactLink', user_id=int, my_link=contacts.MyLink, foreign_link=contacts.ForeignLink} ``` diff --git a/old_docs/API_docs_v18/constructors/updates.difference.md b/old_docs/API_docs_v18/constructors/updates.difference.md new file mode 100644 index 00000000..82541b51 --- /dev/null +++ b/old_docs/API_docs_v18/constructors/updates.difference.md @@ -0,0 +1,43 @@ +--- +title: updates.difference +description: Full list of occurred events. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.difference +[Back to constructors index](index.md) + + + +Full list of occurred events. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| +|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| +|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| +|state|[updates.State](../constructors/updates.State.md) | Yes|Current state| + + + +### Type: [updates.Difference](../types/updates.Difference.md) + + +### Example: + +```php +$updates.difference = ['_' => 'updates.difference', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates.State]; +``` + + +Or, if you're into Lua: + +```lua +updates.difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates.State} + +``` + + diff --git a/old_docs/API_docs_v18/constructors/updates.differenceEmpty.md b/old_docs/API_docs_v18/constructors/updates.differenceEmpty.md new file mode 100644 index 00000000..a9dc3bd0 --- /dev/null +++ b/old_docs/API_docs_v18/constructors/updates.differenceEmpty.md @@ -0,0 +1,39 @@ +--- +title: updates.differenceEmpty +description: No events. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.differenceEmpty +[Back to constructors index](index.md) + + + +No events. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Current date| +|seq|[int](../types/int.md) | Yes|Number of sent updates| + + + +### Type: [updates.Difference](../types/updates.Difference.md) + + +### Example: + +```php +$updates.differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int]; +``` + + +Or, if you're into Lua: + +```lua +updates.differenceEmpty={_='updates.differenceEmpty', date=int, seq=int} + +``` + + diff --git a/old_docs/API_docs_v18/constructors/updates.differenceSlice.md b/old_docs/API_docs_v18/constructors/updates.differenceSlice.md new file mode 100644 index 00000000..9daf7a75 --- /dev/null +++ b/old_docs/API_docs_v18/constructors/updates.differenceSlice.md @@ -0,0 +1,43 @@ +--- +title: updates.differenceSlice +description: Incomplete list of occurred events. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.differenceSlice +[Back to constructors index](index.md) + + + +Incomplete list of occurred events. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| +|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| +|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| +|intermediate\_state|[updates.State](../constructors/updates.State.md) | Yes|Intermediary state| + + + +### Type: [updates.Difference](../types/updates.Difference.md) + + +### Example: + +```php +$updates.differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'intermediate_state' => updates.State]; +``` + + +Or, if you're into Lua: + +```lua +updates.differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates.State} + +``` + + diff --git a/old_docs/API_docs_v18/constructors/updates.state.md b/old_docs/API_docs_v18/constructors/updates.state.md new file mode 100644 index 00000000..abe9ddbb --- /dev/null +++ b/old_docs/API_docs_v18/constructors/updates.state.md @@ -0,0 +1,42 @@ +--- +title: updates.state +description: Updates state. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.state +[Back to constructors index](index.md) + + + +Updates state. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| +|qts|[int](../types/int.md) | Yes|Position in a sequence of updates in secret chats. For further detailes refer to article [secret chats](https://core.telegram.org/api/end-to-end)
Parameter was added in [eigth layer](https://core.telegram.org/api/layers#layer-8).| +|date|[int](../types/int.md) | Yes|Date of condition| +|seq|[int](../types/int.md) | Yes|Number of sent updates| +|unread\_count|[int](../types/int.md) | Yes|Number of unread messages| + + + +### Type: [updates.State](../types/updates.State.md) + + +### Example: + +```php +$updates.state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int]; +``` + + +Or, if you're into Lua: + +```lua +updates.state={_='updates.state', pts=int, qts=int, date=int, seq=int, unread_count=int} + +``` + + diff --git a/old_docs/API_docs_v18/constructors/updates_difference.md b/old_docs/API_docs_v18/constructors/updates_difference.md deleted file mode 100644 index 71ac7d4c..00000000 --- a/old_docs/API_docs_v18/constructors/updates_difference.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: updates.difference -description: Full list of occurred events. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.difference -[Back to constructors index](index.md) - - - -Full list of occurred events. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| -|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| -|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| -|state|[updates\_State](../types/updates_State.md) | Yes|Current state| - - - -### Type: [updates\_Difference](../types/updates_Difference.md) - - -### Example: - -```php -$updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates_State]; -``` - - -Or, if you're into Lua: - -```lua -updates_difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates_State} - -``` - - diff --git a/old_docs/API_docs_v18/constructors/updates_differenceEmpty.md b/old_docs/API_docs_v18/constructors/updates_differenceEmpty.md deleted file mode 100644 index c3c95c5a..00000000 --- a/old_docs/API_docs_v18/constructors/updates_differenceEmpty.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: updates.differenceEmpty -description: No events. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.differenceEmpty -[Back to constructors index](index.md) - - - -No events. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Current date| -|seq|[int](../types/int.md) | Yes|Number of sent updates| - - - -### Type: [updates\_Difference](../types/updates_Difference.md) - - -### Example: - -```php -$updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int]; -``` - - -Or, if you're into Lua: - -```lua -updates_differenceEmpty={_='updates.differenceEmpty', date=int, seq=int} - -``` - - diff --git a/old_docs/API_docs_v18/constructors/updates_differenceSlice.md b/old_docs/API_docs_v18/constructors/updates_differenceSlice.md deleted file mode 100644 index 8b12a369..00000000 --- a/old_docs/API_docs_v18/constructors/updates_differenceSlice.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: updates.differenceSlice -description: Incomplete list of occurred events. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.differenceSlice -[Back to constructors index](index.md) - - - -Incomplete list of occurred events. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| -|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| -|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| -|intermediate\_state|[updates\_State](../types/updates_State.md) | Yes|Intermediary state| - - - -### Type: [updates\_Difference](../types/updates_Difference.md) - - -### Example: - -```php -$updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'intermediate_state' => updates_State]; -``` - - -Or, if you're into Lua: - -```lua -updates_differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates_State} - -``` - - diff --git a/old_docs/API_docs_v18/constructors/updates_state.md b/old_docs/API_docs_v18/constructors/updates_state.md deleted file mode 100644 index ef3698e2..00000000 --- a/old_docs/API_docs_v18/constructors/updates_state.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: updates.state -description: Updates state. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.state -[Back to constructors index](index.md) - - - -Updates state. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| -|qts|[int](../types/int.md) | Yes|Position in a sequence of updates in secret chats. For further detailes refer to article [secret chats](https://core.telegram.org/api/end-to-end)
Parameter was added in [eigth layer](https://core.telegram.org/api/layers#layer-8).| -|date|[int](../types/int.md) | Yes|Date of condition| -|seq|[int](../types/int.md) | Yes|Number of sent updates| -|unread\_count|[int](../types/int.md) | Yes|Number of unread messages| - - - -### Type: [updates\_State](../types/updates_State.md) - - -### Example: - -```php -$updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int]; -``` - - -Or, if you're into Lua: - -```lua -updates_state={_='updates.state', pts=int, qts=int, date=int, seq=int, unread_count=int} - -``` - - diff --git a/old_docs/API_docs_v18/constructors/upload.file.md b/old_docs/API_docs_v18/constructors/upload.file.md new file mode 100644 index 00000000..145a4c24 --- /dev/null +++ b/old_docs/API_docs_v18/constructors/upload.file.md @@ -0,0 +1,40 @@ +--- +title: upload.file +description: File content. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: upload.file +[Back to constructors index](index.md) + + + +File content. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|type|[storage.FileType](../constructors/storage.FileType.md) | Yes|File type| +|mtime|[int](../types/int.md) | Yes|Modification type| +|bytes|[bytes](../types/bytes.md) | Yes|Binary data, file content| + + + +### Type: [upload.File](../types/upload.File.md) + + +### Example: + +```php +$upload.file = ['_' => 'upload.file', 'type' => storage.FileType, 'mtime' => int, 'bytes' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +upload.file={_='upload.file', type=storage.FileType, mtime=int, bytes='bytes'} + +``` + + diff --git a/old_docs/API_docs_v18/constructors/upload_file.md b/old_docs/API_docs_v18/constructors/upload_file.md deleted file mode 100644 index 1e07d9fb..00000000 --- a/old_docs/API_docs_v18/constructors/upload_file.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: upload.file -description: File content. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: upload.file -[Back to constructors index](index.md) - - - -File content. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|type|[storage\_FileType](../types/storage_FileType.md) | Yes|File type| -|mtime|[int](../types/int.md) | Yes|Modification type| -|bytes|[bytes](../types/bytes.md) | Yes|Binary data, file content| - - - -### Type: [upload\_File](../types/upload_File.md) - - -### Example: - -```php -$upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int, 'bytes' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -upload_file={_='upload.file', type=storage_FileType, mtime=int, bytes='bytes'} - -``` - - diff --git a/old_docs/API_docs_v18/constructors/userFull.md b/old_docs/API_docs_v18/constructors/userFull.md index b6768936..c8584760 100644 --- a/old_docs/API_docs_v18/constructors/userFull.md +++ b/old_docs/API_docs_v18/constructors/userFull.md @@ -15,7 +15,7 @@ Extended user info | Name | Type | Required | Description | |----------|---------------|----------|-------------| |user|[User](../types/User.md) | Optional|Remaining user info| -|link|[contacts\_Link](../types/contacts_Link.md) | Yes|Link| +|link|[contacts.Link](../constructors/contacts.Link.md) | Yes|Link| |profile\_photo|[Photo](../types/Photo.md) | Optional|Profile photo| |notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Optional|Notification settings| |blocked|[Bool](../types/Bool.md) | Yes|Blocked?| @@ -30,14 +30,14 @@ Extended user info ### Example: ```php -$userFull = ['_' => 'userFull', 'user' => User, 'link' => contacts_Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'blocked' => Bool, 'real_first_name' => 'string', 'real_last_name' => 'string']; +$userFull = ['_' => 'userFull', 'user' => User, 'link' => contacts.Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'blocked' => Bool, 'real_first_name' => 'string', 'real_last_name' => 'string']; ``` Or, if you're into Lua: ```lua -userFull={_='userFull', user=User, link=contacts_Link, profile_photo=Photo, notify_settings=PeerNotifySettings, blocked=Bool, real_first_name='string', real_last_name='string'} +userFull={_='userFull', user=User, link=contacts.Link, profile_photo=Photo, notify_settings=PeerNotifySettings, blocked=Bool, real_first_name='string', real_last_name='string'} ``` diff --git a/old_docs/API_docs_v18/methods/api_README.md b/old_docs/API_docs_v18/methods/api_README.md index b717c120..3dd83024 100644 --- a/old_docs/API_docs_v18/methods/api_README.md +++ b/old_docs/API_docs_v18/methods/api_README.md @@ -80,15 +80,15 @@ $MadelineProto->[auth->bindTempAuthKey](auth.bindTempAuthKey.md)(\['perm_auth_ke ***

-$MadelineProto->[auth->checkPhone](auth.checkPhone.md)(\['phone_number' => [string](../types/string.md), \]) === [$auth\_CheckedPhone](../types/auth_CheckedPhone.md) +$MadelineProto->[auth->checkPhone](auth.checkPhone.md)(\['phone_number' => [string](../types/string.md), \]) === [$auth.CheckedPhone](../types/auth.CheckedPhone.md) ***

-$MadelineProto->[auth->exportAuthorization](auth.exportAuthorization.md)(\['dc_id' => [int](../types/int.md), \]) === [$auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) +$MadelineProto->[auth->exportAuthorization](auth.exportAuthorization.md)(\['dc_id' => [int](../types/int.md), \]) === [$auth.ExportedAuthorization](../types/auth.ExportedAuthorization.md) ***

-$MadelineProto->[auth->importAuthorization](auth.importAuthorization.md)(\['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->importAuthorization](auth.importAuthorization.md)(\['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

@@ -104,7 +104,7 @@ $MadelineProto->[auth->sendCall](auth.sendCall.md)(\['phone_number' => [string]( ***

-$MadelineProto->[auth->sendCode](auth.sendCode.md)(\['phone_number' => [string](../types/string.md), 'sms_type' => [int](../types/int.md), 'api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) === [$auth\_SentCode](../types/auth_SentCode.md) +$MadelineProto->[auth->sendCode](auth.sendCode.md)(\['phone_number' => [string](../types/string.md), 'sms_type' => [int](../types/int.md), 'api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) === [$auth.SentCode](../types/auth.SentCode.md) ***

@@ -116,11 +116,11 @@ $MadelineProto->[auth->sendSms](auth.sendSms.md)(\['phone_number' => [string](.. ***

-$MadelineProto->[auth->signIn](auth.signIn.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->signIn](auth.signIn.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

-$MadelineProto->[auth->signUp](auth.signUp.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->signUp](auth.signUp.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

@@ -128,7 +128,7 @@ $MadelineProto->[contacts->block](contacts.block.md)(\['id' => [InputUser](../ty ***

-$MadelineProto->[contacts->deleteContact](contacts.deleteContact.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$contacts\_Link](../types/contacts_Link.md) +$MadelineProto->[contacts->deleteContact](contacts.deleteContact.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$contacts.Link](../types/contacts.Link.md) ***

@@ -140,11 +140,11 @@ $MadelineProto->[contacts->exportCard](contacts.exportCard.md)(\[\]) === [$Vecto ***

-$MadelineProto->[contacts->getBlocked](contacts.getBlocked.md)(\['offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$contacts\_Blocked](../types/contacts_Blocked.md) +$MadelineProto->[contacts->getBlocked](contacts.getBlocked.md)(\['offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$contacts.Blocked](../types/contacts.Blocked.md) ***

-$MadelineProto->[contacts->getContacts](contacts.getContacts.md)(\['hash' => [string](../types/string.md), \]) === [$contacts\_Contacts](../types/contacts_Contacts.md) +$MadelineProto->[contacts->getContacts](contacts.getContacts.md)(\['hash' => [string](../types/string.md), \]) === [$contacts.Contacts](../types/contacts.Contacts.md) ***

@@ -152,7 +152,7 @@ $MadelineProto->[contacts->getStatuses](contacts.getStatuses.md)(\[\]) === [$Vec ***

-$MadelineProto->[contacts->getSuggested](contacts.getSuggested.md)(\['limit' => [int](../types/int.md), \]) === [$contacts\_Suggested](../types/contacts_Suggested.md) +$MadelineProto->[contacts->getSuggested](contacts.getSuggested.md)(\['limit' => [int](../types/int.md), \]) === [$contacts.Suggested](../types/contacts.Suggested.md) ***

@@ -160,11 +160,11 @@ $MadelineProto->[contacts->importCard](contacts.importCard.md)(\['export_card' = ***

-$MadelineProto->[contacts->importContacts](contacts.importContacts.md)(\['contacts' => \[[InputContact](../types/InputContact.md)\], 'replace' => [Bool](../types/Bool.md), \]) === [$contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) +$MadelineProto->[contacts->importContacts](contacts.importContacts.md)(\['contacts' => \[[InputContact](../types/InputContact.md)\], 'replace' => [Bool](../types/Bool.md), \]) === [$contacts.ImportedContacts](../types/contacts.ImportedContacts.md) ***

-$MadelineProto->[contacts->search](contacts.search.md)(\['q' => [string](../types/string.md), 'limit' => [int](../types/int.md), \]) === [$contacts\_Found](../types/contacts_Found.md) +$MadelineProto->[contacts->search](contacts.search.md)(\['q' => [string](../types/string.md), 'limit' => [int](../types/int.md), \]) === [$contacts.Found](../types/contacts.Found.md) ***

@@ -172,7 +172,7 @@ $MadelineProto->[contacts->unblock](contacts.unblock.md)(\['id' => [InputUser](. ***

-$MadelineProto->[help->getAppUpdate](help.getAppUpdate.md)(\['device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) === [$help\_AppUpdate](../types/help_AppUpdate.md) +$MadelineProto->[help->getAppUpdate](help.getAppUpdate.md)(\['device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) === [$help.AppUpdate](../types/help.AppUpdate.md) ***

@@ -180,7 +180,7 @@ $MadelineProto->[help->getConfig](help.getConfig.md)(\[\]) === [$Config](../type ***

-$MadelineProto->[help->getInviteText](help.getInviteText.md)(\['lang_code' => [string](../types/string.md), \]) === [$help\_InviteText](../types/help_InviteText.md) +$MadelineProto->[help->getInviteText](help.getInviteText.md)(\['lang_code' => [string](../types/string.md), \]) === [$help.InviteText](../types/help.InviteText.md) ***

@@ -188,7 +188,7 @@ $MadelineProto->[help->getNearestDc](help.getNearestDc.md)(\[\]) === [$NearestDc ***

-$MadelineProto->[help->getSupport](help.getSupport.md)(\[\]) === [$help\_Support](../types/help_Support.md) +$MadelineProto->[help->getSupport](help.getSupport.md)(\[\]) === [$help.Support](../types/help.Support.md) ***

@@ -216,19 +216,19 @@ $MadelineProto->[messages->acceptEncryption](messages.acceptEncryption.md)(\['pe ***

-$MadelineProto->[messages->addChatUser](messages.addChatUser.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), 'user_id' => [InputUser](../types/InputUser.md), 'fwd_limit' => [int](../types/int.md), \]) === [$messages\_StatedMessage](../types/messages_StatedMessage.md) +$MadelineProto->[messages->addChatUser](messages.addChatUser.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), 'user_id' => [InputUser](../types/InputUser.md), 'fwd_limit' => [int](../types/int.md), \]) === [$messages.StatedMessage](../types/messages.StatedMessage.md) ***

-$MadelineProto->[messages->createChat](messages.createChat.md)(\['users' => \[[InputUser](../types/InputUser.md)\], 'title' => [string](../types/string.md), \]) === [$messages\_StatedMessage](../types/messages_StatedMessage.md) +$MadelineProto->[messages->createChat](messages.createChat.md)(\['users' => \[[InputUser](../types/InputUser.md)\], 'title' => [string](../types/string.md), \]) === [$messages.StatedMessage](../types/messages.StatedMessage.md) ***

-$MadelineProto->[messages->deleteChatUser](messages.deleteChatUser.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages\_StatedMessage](../types/messages_StatedMessage.md) +$MadelineProto->[messages->deleteChatUser](messages.deleteChatUser.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages.StatedMessage](../types/messages.StatedMessage.md) ***

-$MadelineProto->[messages->deleteHistory](messages.deleteHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset' => [int](../types/int.md), \]) === [$messages\_AffectedHistory](../types/messages_AffectedHistory.md) +$MadelineProto->[messages->deleteHistory](messages.deleteHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset' => [int](../types/int.md), \]) === [$messages.AffectedHistory](../types/messages.AffectedHistory.md) ***

@@ -240,43 +240,43 @@ $MadelineProto->[messages->discardEncryption](messages.discardEncryption.md)(\[' ***

-$MadelineProto->[messages->editChatPhoto](messages.editChatPhoto.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), 'photo' => [InputChatPhoto](../types/InputChatPhoto.md), \]) === [$messages\_StatedMessage](../types/messages_StatedMessage.md) +$MadelineProto->[messages->editChatPhoto](messages.editChatPhoto.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), 'photo' => [InputChatPhoto](../types/InputChatPhoto.md), \]) === [$messages.StatedMessage](../types/messages.StatedMessage.md) ***

-$MadelineProto->[messages->editChatTitle](messages.editChatTitle.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), 'title' => [string](../types/string.md), \]) === [$messages\_StatedMessage](../types/messages_StatedMessage.md) +$MadelineProto->[messages->editChatTitle](messages.editChatTitle.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), 'title' => [string](../types/string.md), \]) === [$messages.StatedMessage](../types/messages.StatedMessage.md) ***

-$MadelineProto->[messages->forwardMessage](messages.forwardMessage.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), \]) === [$messages\_StatedMessage](../types/messages_StatedMessage.md) +$MadelineProto->[messages->forwardMessage](messages.forwardMessage.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), \]) === [$messages.StatedMessage](../types/messages.StatedMessage.md) ***

-$MadelineProto->[messages->forwardMessages](messages.forwardMessages.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages\_StatedMessages](../types/messages_StatedMessages.md) +$MadelineProto->[messages->forwardMessages](messages.forwardMessages.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages.StatedMessages](../types/messages.StatedMessages.md) ***

-$MadelineProto->[messages->getChats](messages.getChats.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[messages->getChats](messages.getChats.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages.Chats](../types/messages.Chats.md) ***

-$MadelineProto->[messages->getDhConfig](messages.getDhConfig.md)(\['version' => [int](../types/int.md), 'random_length' => [int](../types/int.md), \]) === [$messages\_DhConfig](../types/messages_DhConfig.md) +$MadelineProto->[messages->getDhConfig](messages.getDhConfig.md)(\['version' => [int](../types/int.md), 'random_length' => [int](../types/int.md), \]) === [$messages.DhConfig](../types/messages.DhConfig.md) ***

-$MadelineProto->[messages->getDialogs](messages.getDialogs.md)(\['offset' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages\_Dialogs](../types/messages_Dialogs.md) +$MadelineProto->[messages->getDialogs](messages.getDialogs.md)(\['offset' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages.Dialogs](../types/messages.Dialogs.md) ***

-$MadelineProto->[messages->getFullChat](messages.getFullChat.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), \]) === [$messages\_ChatFull](../types/messages_ChatFull.md) +$MadelineProto->[messages->getFullChat](messages.getFullChat.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), \]) === [$messages.ChatFull](../types/messages.ChatFull.md) ***

-$MadelineProto->[messages->getHistory](messages.getHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->getHistory](messages.getHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[messages->getMessages](messages.getMessages.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->getMessages](messages.getMessages.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages.Messages](../types/messages.Messages.md) ***

@@ -284,7 +284,7 @@ $MadelineProto->[messages->readEncryptedHistory](messages.readEncryptedHistory.m ***

-$MadelineProto->[messages->readHistory](messages.readHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), 'offset' => [int](../types/int.md), 'read_contents' => [Bool](../types/Bool.md), \]) === [$messages\_AffectedHistory](../types/messages_AffectedHistory.md) +$MadelineProto->[messages->readHistory](messages.readHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), 'offset' => [int](../types/int.md), 'read_contents' => [Bool](../types/Bool.md), \]) === [$messages.AffectedHistory](../types/messages.AffectedHistory.md) ***

@@ -308,31 +308,31 @@ $MadelineProto->[messages->requestEncryption](messages.requestEncryption.md)(\[' ***

-$MadelineProto->[messages->search](messages.search.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'q' => [string](../types/string.md), 'filter' => [MessagesFilter](../types/MessagesFilter.md), 'min_date' => [int](../types/int.md), 'max_date' => [int](../types/int.md), 'offset' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->search](messages.search.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'q' => [string](../types/string.md), 'filter' => [MessagesFilter](../types/MessagesFilter.md), 'min_date' => [int](../types/int.md), 'max_date' => [int](../types/int.md), 'offset' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[messages->sendBroadcast](messages.sendBroadcast.md)(\['contacts' => \[[InputUser](../types/InputUser.md)\], 'message' => [string](../types/string.md), 'media' => [InputMedia](../types/InputMedia.md), \]) === [$messages\_StatedMessages](../types/messages_StatedMessages.md) +$MadelineProto->[messages->sendBroadcast](messages.sendBroadcast.md)(\['contacts' => \[[InputUser](../types/InputUser.md)\], 'message' => [string](../types/string.md), 'media' => [InputMedia](../types/InputMedia.md), \]) === [$messages.StatedMessages](../types/messages.StatedMessages.md) ***

-$MadelineProto->[messages->sendEncrypted](messages.sendEncrypted.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'message' => [DecryptedMessage](../types/DecryptedMessage.md), \]) === [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +$MadelineProto->[messages->sendEncrypted](messages.sendEncrypted.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), \]) === [$messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ***

-$MadelineProto->[messages->sendEncryptedFile](messages.sendEncryptedFile.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'message' => [DecryptedMessage](../types/DecryptedMessage.md), 'file' => [InputEncryptedFile](../types/InputEncryptedFile.md), \]) === [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +$MadelineProto->[messages->sendEncryptedFile](messages.sendEncryptedFile.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), 'file' => [InputEncryptedFile](../types/InputEncryptedFile.md), \]) === [$messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ***

-$MadelineProto->[messages->sendEncryptedService](messages.sendEncryptedService.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'message' => [DecryptedMessage](../types/DecryptedMessage.md), \]) === [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +$MadelineProto->[messages->sendEncryptedService](messages.sendEncryptedService.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), \]) === [$messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ***

-$MadelineProto->[messages->sendMedia](messages.sendMedia.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'media' => [InputMedia](../types/InputMedia.md), \]) === [$messages\_StatedMessage](../types/messages_StatedMessage.md) +$MadelineProto->[messages->sendMedia](messages.sendMedia.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'media' => [InputMedia](../types/InputMedia.md), \]) === [$messages.StatedMessage](../types/messages.StatedMessage.md) ***

-$MadelineProto->[messages->sendMessage](messages.sendMessage.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'message' => [string](../types/string.md), \]) === [$messages\_SentMessage](../types/messages_SentMessage.md) +$MadelineProto->[messages->sendMessage](messages.sendMessage.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'message' => [string](../types/string.md), \]) === [$messages.SentMessage](../types/messages.SentMessage.md) ***

@@ -348,7 +348,7 @@ $MadelineProto->[photos->deletePhotos](photos.deletePhotos.md)(\['id' => \[[Inpu ***

-$MadelineProto->[photos->getUserPhotos](photos.getUserPhotos.md)(\['user_id' => [InputUser](../types/InputUser.md), 'offset' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$photos\_Photos](../types/photos_Photos.md) +$MadelineProto->[photos->getUserPhotos](photos.getUserPhotos.md)(\['user_id' => [InputUser](../types/InputUser.md), 'offset' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$photos.Photos](../types/photos.Photos.md) ***

@@ -356,19 +356,19 @@ $MadelineProto->[photos->updateProfilePhoto](photos.updateProfilePhoto.md)(\['id ***

-$MadelineProto->[photos->uploadProfilePhoto](photos.uploadProfilePhoto.md)(\['file' => [InputFile](../types/InputFile.md), 'caption' => [string](../types/string.md), 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'crop' => [InputPhotoCrop](../types/InputPhotoCrop.md), \]) === [$photos\_Photo](../types/photos_Photo.md) +$MadelineProto->[photos->uploadProfilePhoto](photos.uploadProfilePhoto.md)(\['file' => [InputFile](../types/InputFile.md), 'caption' => [string](../types/string.md), 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'crop' => [InputPhotoCrop](../types/InputPhotoCrop.md), \]) === [$photos.Photo](../types/photos.Photo.md) ***

-$MadelineProto->[updates->getDifference](updates.getDifference.md)(\['pts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) === [$updates\_Difference](../types/updates_Difference.md) +$MadelineProto->[updates->getDifference](updates.getDifference.md)(\['pts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) === [$updates.Difference](../types/updates.Difference.md) ***

-$MadelineProto->[updates->getState](updates.getState.md)(\[\]) === [$updates\_State](../types/updates_State.md) +$MadelineProto->[updates->getState](updates.getState.md)(\[\]) === [$updates.State](../types/updates.State.md) ***

-$MadelineProto->[upload->getFile](upload.getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_File](../types/upload_File.md) +$MadelineProto->[upload->getFile](upload.getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload.File](../types/upload.File.md) ***

diff --git a/old_docs/API_docs_v18/methods/auth.checkPhone.md b/old_docs/API_docs_v18/methods/auth.checkPhone.md index 227358cb..51d4cba6 100644 --- a/old_docs/API_docs_v18/methods/auth.checkPhone.md +++ b/old_docs/API_docs_v18/methods/auth.checkPhone.md @@ -16,7 +16,7 @@ Check if this phone number is registered on telegram |phone\_number|[string](../types/string.md) | The phone number to check | Yes| -### Return type: [auth\_CheckedPhone](../types/auth_CheckedPhone.md) +### Return type: [auth.CheckedPhone](../types/auth.CheckedPhone.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => 'string', ]); +$auth.CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_CheckedPhone = auth.checkPhone({phone_number='string', }) +auth.CheckedPhone = auth.checkPhone({phone_number='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v18/methods/auth.exportAuthorization.md b/old_docs/API_docs_v18/methods/auth.exportAuthorization.md index 72063a2b..41a1f87d 100644 --- a/old_docs/API_docs_v18/methods/auth.exportAuthorization.md +++ b/old_docs/API_docs_v18/methods/auth.exportAuthorization.md @@ -16,7 +16,7 @@ You cannot use this method directly, use $MadelineProto->exportAuthorization() i |dc\_id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| -### Return type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) +### Return type: [auth.ExportedAuthorization](../types/auth.ExportedAuthorization.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_ExportedAuthorization = $MadelineProto->auth->exportAuthorization(['dc_id' => int, ]); +$auth.ExportedAuthorization = $MadelineProto->auth->exportAuthorization(['dc_id' => int, ]); ``` Or, if you're into Lua: ```lua -auth_ExportedAuthorization = auth.exportAuthorization({dc_id=int, }) +auth.ExportedAuthorization = auth.exportAuthorization({dc_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v18/methods/auth.importAuthorization.md b/old_docs/API_docs_v18/methods/auth.importAuthorization.md index d9c13751..5257e0b0 100644 --- a/old_docs/API_docs_v18/methods/auth.importAuthorization.md +++ b/old_docs/API_docs_v18/methods/auth.importAuthorization.md @@ -17,7 +17,7 @@ You cannot use this method directly, use $MadelineProto->importAuthorization($au |bytes|[bytes](../types/bytes.md) | You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => 'bytes', ]); +$auth.Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.importAuthorization({id=int, bytes='bytes', }) +auth.Authorization = auth.importAuthorization({id=int, bytes='bytes', }) ``` ### Errors diff --git a/old_docs/API_docs_v18/methods/auth.sendCode.md b/old_docs/API_docs_v18/methods/auth.sendCode.md index 9fa1a0c7..68b6ff31 100644 --- a/old_docs/API_docs_v18/methods/auth.sendCode.md +++ b/old_docs/API_docs_v18/methods/auth.sendCode.md @@ -20,7 +20,7 @@ You cannot use this method directly, use the phoneLogin method instead (see http |lang\_code|[string](../types/string.md) | You cannot use this method directly, use the phoneLogin method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_SentCode](../types/auth_SentCode.md) +### Return type: [auth.SentCode](../types/auth.SentCode.md) ### Can bots use this method: **NO** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_SentCode = $MadelineProto->auth->sendCode(['phone_number' => 'string', 'sms_type' => int, 'api_id' => int, 'api_hash' => 'string', 'lang_code' => 'string', ]); +$auth.SentCode = $MadelineProto->auth->sendCode(['phone_number' => 'string', 'sms_type' => int, 'api_id' => int, 'api_hash' => 'string', 'lang_code' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_SentCode = auth.sendCode({phone_number='string', sms_type=int, api_id=int, api_hash='string', lang_code='string', }) +auth.SentCode = auth.sendCode({phone_number='string', sms_type=int, api_id=int, api_hash='string', lang_code='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v18/methods/auth.signIn.md b/old_docs/API_docs_v18/methods/auth.signIn.md index 54812a2e..95b14f32 100644 --- a/old_docs/API_docs_v18/methods/auth.signIn.md +++ b/old_docs/API_docs_v18/methods/auth.signIn.md @@ -18,7 +18,7 @@ You cannot use this method directly, use the completePhoneLogin method instead ( |phone\_code|[string](../types/string.md) | You cannot use this method directly, use the completePhoneLogin method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->signIn(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', ]); +$auth.Authorization = $MadelineProto->auth->signIn(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.signIn({phone_number='string', phone_code_hash='string', phone_code='string', }) +auth.Authorization = auth.signIn({phone_number='string', phone_code_hash='string', phone_code='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v18/methods/auth.signUp.md b/old_docs/API_docs_v18/methods/auth.signUp.md index 2aca2bfa..fdb5d628 100644 --- a/old_docs/API_docs_v18/methods/auth.signUp.md +++ b/old_docs/API_docs_v18/methods/auth.signUp.md @@ -20,7 +20,7 @@ You cannot use this method directly, use the completeSignup method instead (see |last\_name|[string](../types/string.md) | You cannot use this method directly, use the completeSignup method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **NO** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->signUp(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', 'first_name' => 'string', 'last_name' => 'string', ]); +$auth.Authorization = $MadelineProto->auth->signUp(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', 'first_name' => 'string', 'last_name' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.signUp({phone_number='string', phone_code_hash='string', phone_code='string', first_name='string', last_name='string', }) +auth.Authorization = auth.signUp({phone_number='string', phone_code_hash='string', phone_code='string', first_name='string', last_name='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v18/methods/contacts.deleteContact.md b/old_docs/API_docs_v18/methods/contacts.deleteContact.md index a9321d64..9169e1e0 100644 --- a/old_docs/API_docs_v18/methods/contacts.deleteContact.md +++ b/old_docs/API_docs_v18/methods/contacts.deleteContact.md @@ -16,7 +16,7 @@ Delete a contact |id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | The contact to delete | Optional| -### Return type: [contacts\_Link](../types/contacts_Link.md) +### Return type: [contacts.Link](../types/contacts.Link.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Link = $MadelineProto->contacts->deleteContact(['id' => InputUser, ]); +$contacts.Link = $MadelineProto->contacts->deleteContact(['id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -contacts_Link = contacts.deleteContact({id=InputUser, }) +contacts.Link = contacts.deleteContact({id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v18/methods/contacts.getBlocked.md b/old_docs/API_docs_v18/methods/contacts.getBlocked.md index 92f2f331..6ac1c343 100644 --- a/old_docs/API_docs_v18/methods/contacts.getBlocked.md +++ b/old_docs/API_docs_v18/methods/contacts.getBlocked.md @@ -17,7 +17,7 @@ Returns the list of blocked users. |limit|[int](../types/int.md) | The number of list elements to be returned | Yes| -### Return type: [contacts\_Blocked](../types/contacts_Blocked.md) +### Return type: [contacts.Blocked](../types/contacts.Blocked.md) ### Can bots use this method: **NO** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Blocked = $MadelineProto->contacts->getBlocked(['offset' => int, 'limit' => int, ]); +$contacts.Blocked = $MadelineProto->contacts->getBlocked(['offset' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -contacts_Blocked = contacts.getBlocked({offset=int, limit=int, }) +contacts.Blocked = contacts.getBlocked({offset=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v18/methods/contacts.getContacts.md b/old_docs/API_docs_v18/methods/contacts.getContacts.md index caee7aa8..a2fcd412 100644 --- a/old_docs/API_docs_v18/methods/contacts.getContacts.md +++ b/old_docs/API_docs_v18/methods/contacts.getContacts.md @@ -16,7 +16,7 @@ Returns the current user's contact list. |hash|[string](../types/string.md) | List of contact user IDs you already cached | Yes| -### Return type: [contacts\_Contacts](../types/contacts_Contacts.md) +### Return type: [contacts.Contacts](../types/contacts.Contacts.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Contacts = $MadelineProto->contacts->getContacts(['hash' => 'string', ]); +$contacts.Contacts = $MadelineProto->contacts->getContacts(['hash' => 'string', ]); ``` Or, if you're into Lua: ```lua -contacts_Contacts = contacts.getContacts({hash='string', }) +contacts.Contacts = contacts.getContacts({hash='string', }) ``` diff --git a/old_docs/API_docs_v18/methods/contacts.getSuggested.md b/old_docs/API_docs_v18/methods/contacts.getSuggested.md index 32e96621..ede222d4 100644 --- a/old_docs/API_docs_v18/methods/contacts.getSuggested.md +++ b/old_docs/API_docs_v18/methods/contacts.getSuggested.md @@ -16,7 +16,7 @@ Get suggested contacts |limit|[int](../types/int.md) | Number of results to return | Yes| -### Return type: [contacts\_Suggested](../types/contacts_Suggested.md) +### Return type: [contacts.Suggested](../types/contacts.Suggested.md) ### Can bots use this method: **YES** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Suggested = $MadelineProto->contacts->getSuggested(['limit' => int, ]); +$contacts.Suggested = $MadelineProto->contacts->getSuggested(['limit' => int, ]); ``` Or, if you're into Lua: ```lua -contacts_Suggested = contacts.getSuggested({limit=int, }) +contacts.Suggested = contacts.getSuggested({limit=int, }) ``` diff --git a/old_docs/API_docs_v18/methods/contacts.importContacts.md b/old_docs/API_docs_v18/methods/contacts.importContacts.md index 572df9fb..975d0565 100644 --- a/old_docs/API_docs_v18/methods/contacts.importContacts.md +++ b/old_docs/API_docs_v18/methods/contacts.importContacts.md @@ -17,7 +17,7 @@ Imports contacts: saves a full list on the server, adds already registered conta |replace|[Bool](../types/Bool.md) | Replace contacts? | Yes| -### Return type: [contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) +### Return type: [contacts.ImportedContacts](../types/contacts.ImportedContacts.md) ### Can bots use this method: **NO** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_ImportedContacts = $MadelineProto->contacts->importContacts(['contacts' => [InputContact, InputContact], 'replace' => Bool, ]); +$contacts.ImportedContacts = $MadelineProto->contacts->importContacts(['contacts' => [InputContact, InputContact], 'replace' => Bool, ]); ``` Or, if you're into Lua: ```lua -contacts_ImportedContacts = contacts.importContacts({contacts={InputContact}, replace=Bool, }) +contacts.ImportedContacts = contacts.importContacts({contacts={InputContact}, replace=Bool, }) ``` diff --git a/old_docs/API_docs_v18/methods/contacts.search.md b/old_docs/API_docs_v18/methods/contacts.search.md index 2f39d6f1..ec04c7f9 100644 --- a/old_docs/API_docs_v18/methods/contacts.search.md +++ b/old_docs/API_docs_v18/methods/contacts.search.md @@ -17,7 +17,7 @@ Returns users found by username substring. |limit|[int](../types/int.md) | Maximum number of users to be returned | Yes| -### Return type: [contacts\_Found](../types/contacts_Found.md) +### Return type: [contacts.Found](../types/contacts.Found.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Found = $MadelineProto->contacts->search(['q' => 'string', 'limit' => int, ]); +$contacts.Found = $MadelineProto->contacts->search(['q' => 'string', 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -contacts_Found = contacts.search({q='string', limit=int, }) +contacts.Found = contacts.search({q='string', limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v18/methods/help.getAppUpdate.md b/old_docs/API_docs_v18/methods/help.getAppUpdate.md index 0f844391..bfbed19e 100644 --- a/old_docs/API_docs_v18/methods/help.getAppUpdate.md +++ b/old_docs/API_docs_v18/methods/help.getAppUpdate.md @@ -19,7 +19,7 @@ Returns information on update availability for the current application. |lang\_code|[string](../types/string.md) | Langauge code | Yes| -### Return type: [help\_AppUpdate](../types/help_AppUpdate.md) +### Return type: [help.AppUpdate](../types/help.AppUpdate.md) ### Can bots use this method: **NO** @@ -36,12 +36,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_AppUpdate = $MadelineProto->help->getAppUpdate(['device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'lang_code' => 'string', ]); +$help.AppUpdate = $MadelineProto->help->getAppUpdate(['device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'lang_code' => 'string', ]); ``` Or, if you're into Lua: ```lua -help_AppUpdate = help.getAppUpdate({device_model='string', system_version='string', app_version='string', lang_code='string', }) +help.AppUpdate = help.getAppUpdate({device_model='string', system_version='string', app_version='string', lang_code='string', }) ``` diff --git a/old_docs/API_docs_v18/methods/help.getInviteText.md b/old_docs/API_docs_v18/methods/help.getInviteText.md index 482afbc0..f84b2e82 100644 --- a/old_docs/API_docs_v18/methods/help.getInviteText.md +++ b/old_docs/API_docs_v18/methods/help.getInviteText.md @@ -16,7 +16,7 @@ Returns text of a text message with an invitation. |lang\_code|[string](../types/string.md) | Language | Yes| -### Return type: [help\_InviteText](../types/help_InviteText.md) +### Return type: [help.InviteText](../types/help.InviteText.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_InviteText = $MadelineProto->help->getInviteText(['lang_code' => 'string', ]); +$help.InviteText = $MadelineProto->help->getInviteText(['lang_code' => 'string', ]); ``` Or, if you're into Lua: ```lua -help_InviteText = help.getInviteText({lang_code='string', }) +help.InviteText = help.getInviteText({lang_code='string', }) ``` diff --git a/old_docs/API_docs_v18/methods/help.getSupport.md b/old_docs/API_docs_v18/methods/help.getSupport.md index 7a577892..8a8df916 100644 --- a/old_docs/API_docs_v18/methods/help.getSupport.md +++ b/old_docs/API_docs_v18/methods/help.getSupport.md @@ -11,7 +11,7 @@ Returns the support user for the 'ask a question' feature. -### Return type: [help\_Support](../types/help_Support.md) +### Return type: [help.Support](../types/help.Support.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_Support = $MadelineProto->help->getSupport(); +$help.Support = $MadelineProto->help->getSupport(); ``` Or, if you're into Lua: ```lua -help_Support = help.getSupport({}) +help.Support = help.getSupport({}) ``` diff --git a/old_docs/API_docs_v18/methods/messages.addChatUser.md b/old_docs/API_docs_v18/methods/messages.addChatUser.md index 130a3cc4..618b65cc 100644 --- a/old_docs/API_docs_v18/methods/messages.addChatUser.md +++ b/old_docs/API_docs_v18/methods/messages.addChatUser.md @@ -18,7 +18,7 @@ Adds a user to a chat and sends a service message on it. |fwd\_limit|[int](../types/int.md) | Number of last messages to be forwarded | Yes| -### Return type: [messages\_StatedMessage](../types/messages_StatedMessage.md) +### Return type: [messages.StatedMessage](../types/messages.StatedMessage.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StatedMessage = $MadelineProto->messages->addChatUser(['chat_id' => InputPeer, 'user_id' => InputUser, 'fwd_limit' => int, ]); +$messages.StatedMessage = $MadelineProto->messages->addChatUser(['chat_id' => InputPeer, 'user_id' => InputUser, 'fwd_limit' => int, ]); ``` Or, if you're into Lua: ```lua -messages_StatedMessage = messages.addChatUser({chat_id=InputPeer, user_id=InputUser, fwd_limit=int, }) +messages.StatedMessage = messages.addChatUser({chat_id=InputPeer, user_id=InputUser, fwd_limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v18/methods/messages.createChat.md b/old_docs/API_docs_v18/methods/messages.createChat.md index 61c96eef..cbb907c6 100644 --- a/old_docs/API_docs_v18/methods/messages.createChat.md +++ b/old_docs/API_docs_v18/methods/messages.createChat.md @@ -17,7 +17,7 @@ Creates a new chat. |title|[string](../types/string.md) | Chat name | Yes| -### Return type: [messages\_StatedMessage](../types/messages_StatedMessage.md) +### Return type: [messages.StatedMessage](../types/messages.StatedMessage.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StatedMessage = $MadelineProto->messages->createChat(['users' => [InputUser, InputUser], 'title' => 'string', ]); +$messages.StatedMessage = $MadelineProto->messages->createChat(['users' => [InputUser, InputUser], 'title' => 'string', ]); ``` Or, if you're into Lua: ```lua -messages_StatedMessage = messages.createChat({users={InputUser}, title='string', }) +messages.StatedMessage = messages.createChat({users={InputUser}, title='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v18/methods/messages.deleteChatUser.md b/old_docs/API_docs_v18/methods/messages.deleteChatUser.md index 01bfee65..d6e4c704 100644 --- a/old_docs/API_docs_v18/methods/messages.deleteChatUser.md +++ b/old_docs/API_docs_v18/methods/messages.deleteChatUser.md @@ -17,7 +17,7 @@ Deletes a user from a chat and sends a service message on it. |user\_id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | User ID to be deleted | Optional| -### Return type: [messages\_StatedMessage](../types/messages_StatedMessage.md) +### Return type: [messages.StatedMessage](../types/messages.StatedMessage.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StatedMessage = $MadelineProto->messages->deleteChatUser(['chat_id' => InputPeer, 'user_id' => InputUser, ]); +$messages.StatedMessage = $MadelineProto->messages->deleteChatUser(['chat_id' => InputPeer, 'user_id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -messages_StatedMessage = messages.deleteChatUser({chat_id=InputPeer, user_id=InputUser, }) +messages.StatedMessage = messages.deleteChatUser({chat_id=InputPeer, user_id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v18/methods/messages.deleteHistory.md b/old_docs/API_docs_v18/methods/messages.deleteHistory.md index 974b7e3c..93badc83 100644 --- a/old_docs/API_docs_v18/methods/messages.deleteHistory.md +++ b/old_docs/API_docs_v18/methods/messages.deleteHistory.md @@ -17,7 +17,7 @@ Deletes communication history. |offset|[int](../types/int.md) | Offset | Yes| -### Return type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) +### Return type: [messages.AffectedHistory](../types/messages.AffectedHistory.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedHistory = $MadelineProto->messages->deleteHistory(['peer' => InputPeer, 'offset' => int, ]); +$messages.AffectedHistory = $MadelineProto->messages->deleteHistory(['peer' => InputPeer, 'offset' => int, ]); ``` Or, if you're into Lua: ```lua -messages_AffectedHistory = messages.deleteHistory({peer=InputPeer, offset=int, }) +messages.AffectedHistory = messages.deleteHistory({peer=InputPeer, offset=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v18/methods/messages.editChatPhoto.md b/old_docs/API_docs_v18/methods/messages.editChatPhoto.md index 3e06e9bb..c6e62d25 100644 --- a/old_docs/API_docs_v18/methods/messages.editChatPhoto.md +++ b/old_docs/API_docs_v18/methods/messages.editChatPhoto.md @@ -17,7 +17,7 @@ Changes chat photo and sends a service message on it |photo|[InputChatPhoto](../types/InputChatPhoto.md) | Photo to be set | Optional| -### Return type: [messages\_StatedMessage](../types/messages_StatedMessage.md) +### Return type: [messages.StatedMessage](../types/messages.StatedMessage.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StatedMessage = $MadelineProto->messages->editChatPhoto(['chat_id' => InputPeer, 'photo' => InputChatPhoto, ]); +$messages.StatedMessage = $MadelineProto->messages->editChatPhoto(['chat_id' => InputPeer, 'photo' => InputChatPhoto, ]); ``` Or, if you're into Lua: ```lua -messages_StatedMessage = messages.editChatPhoto({chat_id=InputPeer, photo=InputChatPhoto, }) +messages.StatedMessage = messages.editChatPhoto({chat_id=InputPeer, photo=InputChatPhoto, }) ``` ### Errors diff --git a/old_docs/API_docs_v18/methods/messages.editChatTitle.md b/old_docs/API_docs_v18/methods/messages.editChatTitle.md index 5de33fdc..5ac5e117 100644 --- a/old_docs/API_docs_v18/methods/messages.editChatTitle.md +++ b/old_docs/API_docs_v18/methods/messages.editChatTitle.md @@ -17,7 +17,7 @@ Chanages chat name and sends a service message on it. |title|[string](../types/string.md) | New chat name, different from the old one | Yes| -### Return type: [messages\_StatedMessage](../types/messages_StatedMessage.md) +### Return type: [messages.StatedMessage](../types/messages.StatedMessage.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StatedMessage = $MadelineProto->messages->editChatTitle(['chat_id' => InputPeer, 'title' => 'string', ]); +$messages.StatedMessage = $MadelineProto->messages->editChatTitle(['chat_id' => InputPeer, 'title' => 'string', ]); ``` Or, if you're into Lua: ```lua -messages_StatedMessage = messages.editChatTitle({chat_id=InputPeer, title='string', }) +messages.StatedMessage = messages.editChatTitle({chat_id=InputPeer, title='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v18/methods/messages.forwardMessage.md b/old_docs/API_docs_v18/methods/messages.forwardMessage.md index d3324034..716d8daa 100644 --- a/old_docs/API_docs_v18/methods/messages.forwardMessage.md +++ b/old_docs/API_docs_v18/methods/messages.forwardMessage.md @@ -17,7 +17,7 @@ Forward message |id|[int](../types/int.md) | The message ID | Yes| -### Return type: [messages\_StatedMessage](../types/messages_StatedMessage.md) +### Return type: [messages.StatedMessage](../types/messages.StatedMessage.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StatedMessage = $MadelineProto->messages->forwardMessage(['peer' => InputPeer, 'id' => int, ]); +$messages.StatedMessage = $MadelineProto->messages->forwardMessage(['peer' => InputPeer, 'id' => int, ]); ``` Or, if you're into Lua: ```lua -messages_StatedMessage = messages.forwardMessage({peer=InputPeer, id=int, }) +messages.StatedMessage = messages.forwardMessage({peer=InputPeer, id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v18/methods/messages.forwardMessages.md b/old_docs/API_docs_v18/methods/messages.forwardMessages.md index 11d4a115..e4bc9022 100644 --- a/old_docs/API_docs_v18/methods/messages.forwardMessages.md +++ b/old_docs/API_docs_v18/methods/messages.forwardMessages.md @@ -17,7 +17,7 @@ Forwards messages by their IDs. |id|Array of [int](../types/int.md) | The message IDs | Yes| -### Return type: [messages\_StatedMessages](../types/messages_StatedMessages.md) +### Return type: [messages.StatedMessages](../types/messages.StatedMessages.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StatedMessages = $MadelineProto->messages->forwardMessages(['peer' => InputPeer, 'id' => [int, int], ]); +$messages.StatedMessages = $MadelineProto->messages->forwardMessages(['peer' => InputPeer, 'id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_StatedMessages = messages.forwardMessages({peer=InputPeer, id={int}, }) +messages.StatedMessages = messages.forwardMessages({peer=InputPeer, id={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v18/methods/messages.getChats.md b/old_docs/API_docs_v18/methods/messages.getChats.md index c34b0488..146341f5 100644 --- a/old_docs/API_docs_v18/methods/messages.getChats.md +++ b/old_docs/API_docs_v18/methods/messages.getChats.md @@ -16,7 +16,7 @@ Returns chat basic info on their IDs. |id|Array of [int](../types/int.md) | The MTProto IDs of chats to fetch info about | Yes| -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->messages->getChats(['id' => [int, int], ]); +$messages.Chats = $MadelineProto->messages->getChats(['id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Chats = messages.getChats({id={int}, }) +messages.Chats = messages.getChats({id={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v18/methods/messages.getDhConfig.md b/old_docs/API_docs_v18/methods/messages.getDhConfig.md index 88ea4ab3..7b9da566 100644 --- a/old_docs/API_docs_v18/methods/messages.getDhConfig.md +++ b/old_docs/API_docs_v18/methods/messages.getDhConfig.md @@ -17,7 +17,7 @@ You cannot use this method directly, instead use $MadelineProto->getDhConfig(); |random\_length|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->getDhConfig(); | Yes| -### Return type: [messages\_DhConfig](../types/messages_DhConfig.md) +### Return type: [messages.DhConfig](../types/messages.DhConfig.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_DhConfig = $MadelineProto->messages->getDhConfig(['version' => int, 'random_length' => int, ]); +$messages.DhConfig = $MadelineProto->messages->getDhConfig(['version' => int, 'random_length' => int, ]); ``` Or, if you're into Lua: ```lua -messages_DhConfig = messages.getDhConfig({version=int, random_length=int, }) +messages.DhConfig = messages.getDhConfig({version=int, random_length=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v18/methods/messages.getDialogs.md b/old_docs/API_docs_v18/methods/messages.getDialogs.md index 1ea36dd0..f00e3ebc 100644 --- a/old_docs/API_docs_v18/methods/messages.getDialogs.md +++ b/old_docs/API_docs_v18/methods/messages.getDialogs.md @@ -18,7 +18,7 @@ Returns the current user dialog list. |limit|[int](../types/int.md) | Number of list elements to be returned | Yes| -### Return type: [messages\_Dialogs](../types/messages_Dialogs.md) +### Return type: [messages.Dialogs](../types/messages.Dialogs.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Dialogs = $MadelineProto->messages->getDialogs(['offset' => int, 'max_id' => int, 'limit' => int, ]); +$messages.Dialogs = $MadelineProto->messages->getDialogs(['offset' => int, 'max_id' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Dialogs = messages.getDialogs({offset=int, max_id=int, limit=int, }) +messages.Dialogs = messages.getDialogs({offset=int, max_id=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v18/methods/messages.getFullChat.md b/old_docs/API_docs_v18/methods/messages.getFullChat.md index abf23e21..de543651 100644 --- a/old_docs/API_docs_v18/methods/messages.getFullChat.md +++ b/old_docs/API_docs_v18/methods/messages.getFullChat.md @@ -16,7 +16,7 @@ You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo me |chat\_id|[Username, chat ID, Update, Message or InputPeer](../types/InputPeer.md) | You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo methods instead (see https://docs.madelineproto.xyz for more info) | Optional| -### Return type: [messages\_ChatFull](../types/messages_ChatFull.md) +### Return type: [messages.ChatFull](../types/messages.ChatFull.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_ChatFull = $MadelineProto->messages->getFullChat(['chat_id' => InputPeer, ]); +$messages.ChatFull = $MadelineProto->messages->getFullChat(['chat_id' => InputPeer, ]); ``` Or, if you're into Lua: ```lua -messages_ChatFull = messages.getFullChat({chat_id=InputPeer, }) +messages.ChatFull = messages.getFullChat({chat_id=InputPeer, }) ``` ### Errors diff --git a/old_docs/API_docs_v18/methods/messages.getHistory.md b/old_docs/API_docs_v18/methods/messages.getHistory.md index 3ff48433..cdc1ce2c 100644 --- a/old_docs/API_docs_v18/methods/messages.getHistory.md +++ b/old_docs/API_docs_v18/methods/messages.getHistory.md @@ -19,7 +19,7 @@ Gets back the conversation history with one interlocutor / within a chat |limit|[int](../types/int.md) | Number of results to return | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **NO** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->getHistory(['peer' => InputPeer, 'offset' => int, 'max_id' => int, 'limit' => int, ]); +$messages.Messages = $MadelineProto->messages->getHistory(['peer' => InputPeer, 'offset' => int, 'max_id' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.getHistory({peer=InputPeer, offset=int, max_id=int, limit=int, }) +messages.Messages = messages.getHistory({peer=InputPeer, offset=int, max_id=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v18/methods/messages.getMessages.md b/old_docs/API_docs_v18/methods/messages.getMessages.md index a3139513..c7760d7e 100644 --- a/old_docs/API_docs_v18/methods/messages.getMessages.md +++ b/old_docs/API_docs_v18/methods/messages.getMessages.md @@ -16,7 +16,7 @@ Returns the list of messages by their IDs. |id|Array of [int](../types/int.md) | The IDs of messages to fetch (only for users and normal groups) | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **YES** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->getMessages(['id' => [int, int], ]); +$messages.Messages = $MadelineProto->messages->getMessages(['id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.getMessages({id={int}, }) +messages.Messages = messages.getMessages({id={int}, }) ``` diff --git a/old_docs/API_docs_v18/methods/messages.readHistory.md b/old_docs/API_docs_v18/methods/messages.readHistory.md index 10c8485a..8f036e23 100644 --- a/old_docs/API_docs_v18/methods/messages.readHistory.md +++ b/old_docs/API_docs_v18/methods/messages.readHistory.md @@ -19,7 +19,7 @@ Marks message history as read. |read\_contents|[Bool](../types/Bool.md) | Mark messages as read? | Yes| -### Return type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) +### Return type: [messages.AffectedHistory](../types/messages.AffectedHistory.md) ### Can bots use this method: **NO** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedHistory = $MadelineProto->messages->readHistory(['peer' => InputPeer, 'max_id' => int, 'offset' => int, 'read_contents' => Bool, ]); +$messages.AffectedHistory = $MadelineProto->messages->readHistory(['peer' => InputPeer, 'max_id' => int, 'offset' => int, 'read_contents' => Bool, ]); ``` Or, if you're into Lua: ```lua -messages_AffectedHistory = messages.readHistory({peer=InputPeer, max_id=int, offset=int, read_contents=Bool, }) +messages.AffectedHistory = messages.readHistory({peer=InputPeer, max_id=int, offset=int, read_contents=Bool, }) ``` ### Errors diff --git a/old_docs/API_docs_v18/methods/messages.search.md b/old_docs/API_docs_v18/methods/messages.search.md index 4fda6636..7ebe6a9a 100644 --- a/old_docs/API_docs_v18/methods/messages.search.md +++ b/old_docs/API_docs_v18/methods/messages.search.md @@ -23,7 +23,7 @@ Gets back found messages |limit|[int](../types/int.md) | [Number of results to return](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **NO** @@ -40,13 +40,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->search(['peer' => InputPeer, 'q' => 'string', 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); +$messages.Messages = $MadelineProto->messages->search(['peer' => InputPeer, 'q' => 'string', 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.search({peer=InputPeer, q='string', filter=MessagesFilter, min_date=int, max_date=int, offset=int, max_id=int, limit=int, }) +messages.Messages = messages.search({peer=InputPeer, q='string', filter=MessagesFilter, min_date=int, max_date=int, offset=int, max_id=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v18/methods/messages.sendBroadcast.md b/old_docs/API_docs_v18/methods/messages.sendBroadcast.md index 1ddaec1c..591838d7 100644 --- a/old_docs/API_docs_v18/methods/messages.sendBroadcast.md +++ b/old_docs/API_docs_v18/methods/messages.sendBroadcast.md @@ -18,7 +18,7 @@ Send a message to all users in the chat list |media|[MessageMedia, Update, Message or InputMedia](../types/InputMedia.md) | The media | Optional| -### Return type: [messages\_StatedMessages](../types/messages_StatedMessages.md) +### Return type: [messages.StatedMessages](../types/messages.StatedMessages.md) ### Can bots use this method: **YES** @@ -35,18 +35,18 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StatedMessages = $MadelineProto->messages->sendBroadcast(['contacts' => [InputUser, InputUser], 'message' => 'string', 'media' => InputMedia, ]); +$messages.StatedMessages = $MadelineProto->messages->sendBroadcast(['contacts' => [InputUser, InputUser], 'message' => 'string', 'media' => InputMedia, ]); ``` Or, if you're into Lua: ```lua -messages_StatedMessages = messages.sendBroadcast({contacts={InputUser}, message='string', media=InputMedia, }) +messages.StatedMessages = messages.sendBroadcast({contacts={InputUser}, message='string', media=InputMedia, }) ``` ## Return value -If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [messages\_StatedMessages](../types/messages_StatedMessages.md) will be returned instead. +If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [messages.StatedMessages](../types/messages.StatedMessages.md) will be returned instead. diff --git a/old_docs/API_docs_v18/methods/messages.sendEncrypted.md b/old_docs/API_docs_v18/methods/messages.sendEncrypted.md index 47b5ef29..6a68b563 100644 --- a/old_docs/API_docs_v18/methods/messages.sendEncrypted.md +++ b/old_docs/API_docs_v18/methods/messages.sendEncrypted.md @@ -14,10 +14,10 @@ Sends a text message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|message|[DecryptedMessage](../types/DecryptedMessage.md) | The message to send | Yes| +|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key that was created during chat initialization | Yes| -### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ### Can bots use this method: **NO** @@ -34,21 +34,15 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncrypted(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); +$messages.SentEncryptedMessage = $MadelineProto->messages->sendEncrypted(['peer' => InputEncryptedChat, 'data' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -messages_SentEncryptedMessage = messages.sendEncrypted({peer=InputEncryptedChat, message=DecryptedMessage, }) +messages.SentEncryptedMessage = messages.sendEncrypted({peer=InputEncryptedChat, data='bytes', }) ``` - -## Return value - -If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) will be returned instead. - - ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v18/methods/messages.sendEncryptedFile.md b/old_docs/API_docs_v18/methods/messages.sendEncryptedFile.md index 4e0f7b7f..87185ba4 100644 --- a/old_docs/API_docs_v18/methods/messages.sendEncryptedFile.md +++ b/old_docs/API_docs_v18/methods/messages.sendEncryptedFile.md @@ -14,11 +14,11 @@ Sends a message with a file attachment to a secret chat | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|message|[DecryptedMessage](../types/DecryptedMessage.md) | The message with the file | Yes| +|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| |file|[File path or InputEncryptedFile](../types/InputEncryptedFile.md) | File attachment for the secret chat | Optional| -### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ### Can bots use this method: **NO** @@ -35,21 +35,15 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedFile(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, 'file' => InputEncryptedFile, ]); +$messages.SentEncryptedMessage = $MadelineProto->messages->sendEncryptedFile(['peer' => InputEncryptedChat, 'data' => 'bytes', 'file' => InputEncryptedFile, ]); ``` Or, if you're into Lua: ```lua -messages_SentEncryptedMessage = messages.sendEncryptedFile({peer=InputEncryptedChat, message=DecryptedMessage, file=InputEncryptedFile, }) +messages.SentEncryptedMessage = messages.sendEncryptedFile({peer=InputEncryptedChat, data='bytes', file=InputEncryptedFile, }) ``` - -## Return value - -If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) will be returned instead. - - ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v18/methods/messages.sendEncryptedService.md b/old_docs/API_docs_v18/methods/messages.sendEncryptedService.md index 86925ae3..38171272 100644 --- a/old_docs/API_docs_v18/methods/messages.sendEncryptedService.md +++ b/old_docs/API_docs_v18/methods/messages.sendEncryptedService.md @@ -14,10 +14,10 @@ Sends a service message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|message|[DecryptedMessage](../types/DecryptedMessage.md) | The service message | Yes| +|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| -### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ### Can bots use this method: **NO** @@ -34,21 +34,15 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedService(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); +$messages.SentEncryptedMessage = $MadelineProto->messages->sendEncryptedService(['peer' => InputEncryptedChat, 'data' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -messages_SentEncryptedMessage = messages.sendEncryptedService({peer=InputEncryptedChat, message=DecryptedMessage, }) +messages.SentEncryptedMessage = messages.sendEncryptedService({peer=InputEncryptedChat, data='bytes', }) ``` - -## Return value - -If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) will be returned instead. - - ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v18/methods/messages.sendMedia.md b/old_docs/API_docs_v18/methods/messages.sendMedia.md index 2b046d48..d613e77a 100644 --- a/old_docs/API_docs_v18/methods/messages.sendMedia.md +++ b/old_docs/API_docs_v18/methods/messages.sendMedia.md @@ -17,7 +17,7 @@ Send a media |media|[MessageMedia, Update, Message or InputMedia](../types/InputMedia.md) | Attached media | Optional| -### Return type: [messages\_StatedMessage](../types/messages_StatedMessage.md) +### Return type: [messages.StatedMessage](../types/messages.StatedMessage.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StatedMessage = $MadelineProto->messages->sendMedia(['peer' => InputPeer, 'media' => InputMedia, ]); +$messages.StatedMessage = $MadelineProto->messages->sendMedia(['peer' => InputPeer, 'media' => InputMedia, ]); ``` Or, if you're into Lua: ```lua -messages_StatedMessage = messages.sendMedia({peer=InputPeer, media=InputMedia, }) +messages.StatedMessage = messages.sendMedia({peer=InputPeer, media=InputMedia, }) ``` ### Errors diff --git a/old_docs/API_docs_v18/methods/messages.sendMessage.md b/old_docs/API_docs_v18/methods/messages.sendMessage.md index 1a68a502..889026e2 100644 --- a/old_docs/API_docs_v18/methods/messages.sendMessage.md +++ b/old_docs/API_docs_v18/methods/messages.sendMessage.md @@ -17,7 +17,7 @@ Sends a message to a chat |message|[string](../types/string.md) | The message | Yes| -### Return type: [messages\_SentMessage](../types/messages_SentMessage.md) +### Return type: [messages.SentMessage](../types/messages.SentMessage.md) ### Can bots use this method: **YES** @@ -34,19 +34,19 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_SentMessage = $MadelineProto->messages->sendMessage(['peer' => InputPeer, 'message' => 'string', ]); +$messages.SentMessage = $MadelineProto->messages->sendMessage(['peer' => InputPeer, 'message' => 'string', ]); ``` Or, if you're into Lua: ```lua -messages_SentMessage = messages.sendMessage({peer=InputPeer, message='string', }) +messages.SentMessage = messages.sendMessage({peer=InputPeer, message='string', }) ``` ## Return value -If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [messages\_SentMessage](../types/messages_SentMessage.md) will be returned instead. +If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [messages.SentMessage](../types/messages.SentMessage.md) will be returned instead. ### Errors diff --git a/old_docs/API_docs_v18/methods/photos.getUserPhotos.md b/old_docs/API_docs_v18/methods/photos.getUserPhotos.md index a08c6a43..7a803893 100644 --- a/old_docs/API_docs_v18/methods/photos.getUserPhotos.md +++ b/old_docs/API_docs_v18/methods/photos.getUserPhotos.md @@ -19,7 +19,7 @@ Returns the list of user photos. |limit|[int](../types/int.md) | Number of list elements to be returned | Yes| -### Return type: [photos\_Photos](../types/photos_Photos.md) +### Return type: [photos.Photos](../types/photos.Photos.md) ### Can bots use this method: **YES** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$photos_Photos = $MadelineProto->photos->getUserPhotos(['user_id' => InputUser, 'offset' => int, 'max_id' => int, 'limit' => int, ]); +$photos.Photos = $MadelineProto->photos->getUserPhotos(['user_id' => InputUser, 'offset' => int, 'max_id' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -photos_Photos = photos.getUserPhotos({user_id=InputUser, offset=int, max_id=int, limit=int, }) +photos.Photos = photos.getUserPhotos({user_id=InputUser, offset=int, max_id=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v18/methods/photos.uploadProfilePhoto.md b/old_docs/API_docs_v18/methods/photos.uploadProfilePhoto.md index 337dcc21..18b2b4c6 100644 --- a/old_docs/API_docs_v18/methods/photos.uploadProfilePhoto.md +++ b/old_docs/API_docs_v18/methods/photos.uploadProfilePhoto.md @@ -19,7 +19,7 @@ Updates current user profile photo. |crop|[InputPhotoCrop](../types/InputPhotoCrop.md) | Cropping info | Yes| -### Return type: [photos\_Photo](../types/photos_Photo.md) +### Return type: [photos.Photo](../types/photos.Photo.md) ### Can bots use this method: **NO** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$photos_Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, 'caption' => 'string', 'geo_point' => InputGeoPoint, 'crop' => InputPhotoCrop, ]); +$photos.Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, 'caption' => 'string', 'geo_point' => InputGeoPoint, 'crop' => InputPhotoCrop, ]); ``` Or, if you're into Lua: ```lua -photos_Photo = photos.uploadProfilePhoto({file=InputFile, caption='string', geo_point=InputGeoPoint, crop=InputPhotoCrop, }) +photos.Photo = photos.uploadProfilePhoto({file=InputFile, caption='string', geo_point=InputGeoPoint, crop=InputPhotoCrop, }) ``` ### Errors diff --git a/old_docs/API_docs_v18/methods/updates.getDifference.md b/old_docs/API_docs_v18/methods/updates.getDifference.md index 57ea6d99..061a5c8f 100644 --- a/old_docs/API_docs_v18/methods/updates.getDifference.md +++ b/old_docs/API_docs_v18/methods/updates.getDifference.md @@ -18,7 +18,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz for more |qts|[int](../types/int.md) | You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates | Yes| -### Return type: [updates\_Difference](../types/updates_Difference.md) +### Return type: [updates.Difference](../types/updates.Difference.md) ### Can bots use this method: **YES** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$updates_Difference = $MadelineProto->updates->getDifference(['pts' => int, 'date' => int, 'qts' => int, ]); +$updates.Difference = $MadelineProto->updates->getDifference(['pts' => int, 'date' => int, 'qts' => int, ]); ``` Or, if you're into Lua: ```lua -updates_Difference = updates.getDifference({pts=int, date=int, qts=int, }) +updates.Difference = updates.getDifference({pts=int, date=int, qts=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v18/methods/updates.getState.md b/old_docs/API_docs_v18/methods/updates.getState.md index c591408a..9a7d2f34 100644 --- a/old_docs/API_docs_v18/methods/updates.getState.md +++ b/old_docs/API_docs_v18/methods/updates.getState.md @@ -11,7 +11,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz for more -### Return type: [updates\_State](../types/updates_State.md) +### Return type: [updates.State](../types/updates.State.md) ### Can bots use this method: **YES** @@ -28,13 +28,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$updates_State = $MadelineProto->updates->getState(); +$updates.State = $MadelineProto->updates->getState(); ``` Or, if you're into Lua: ```lua -updates_State = updates.getState({}) +updates.State = updates.getState({}) ``` ### Errors diff --git a/old_docs/API_docs_v18/methods/upload.getFile.md b/old_docs/API_docs_v18/methods/upload.getFile.md index 8aba03d4..ab9f4fe2 100644 --- a/old_docs/API_docs_v18/methods/upload.getFile.md +++ b/old_docs/API_docs_v18/methods/upload.getFile.md @@ -18,7 +18,7 @@ You cannot use this method directly, use the upload, downloadToStream, downloadT |limit|[int](../types/int.md) | You cannot use this method directly, use the upload, downloadToStream, downloadToFile, downloadToDir methods instead; see https://docs.madelineproto.xyz for more info | Yes| -### Return type: [upload\_File](../types/upload_File.md) +### Return type: [upload.File](../types/upload.File.md) ### Can bots use this method: **YES** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$upload_File = $MadelineProto->upload->getFile(['location' => InputFileLocation, 'offset' => int, 'limit' => int, ]); +$upload.File = $MadelineProto->upload->getFile(['location' => InputFileLocation, 'offset' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -upload_File = upload.getFile({location=InputFileLocation, offset=int, limit=int, }) +upload.File = upload.getFile({location=InputFileLocation, offset=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v18/types/Config.md b/old_docs/API_docs_v18/types/Config.md index 0f7fbe70..3a23b7b7 100644 --- a/old_docs/API_docs_v18/types/Config.md +++ b/old_docs/API_docs_v18/types/Config.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->help->getConfig](../methods/help_getConfig.md) +[$MadelineProto->help->getConfig](../methods/help.getConfig.md) diff --git a/old_docs/API_docs_v18/types/ContactStatus.md b/old_docs/API_docs_v18/types/ContactStatus.md index c5f5d658..30aee6e2 100644 --- a/old_docs/API_docs_v18/types/ContactStatus.md +++ b/old_docs/API_docs_v18/types/ContactStatus.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->contacts->getStatuses](../methods/contacts_getStatuses.md) +[$MadelineProto->contacts->getStatuses](../methods/contacts.getStatuses.md) diff --git a/old_docs/API_docs_v18/types/EncryptedChat.md b/old_docs/API_docs_v18/types/EncryptedChat.md index fd2277f6..19cf52b0 100644 --- a/old_docs/API_docs_v18/types/EncryptedChat.md +++ b/old_docs/API_docs_v18/types/EncryptedChat.md @@ -24,9 +24,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->requestEncryption](../methods/messages_requestEncryption.md) +[$MadelineProto->messages->requestEncryption](../methods/messages.requestEncryption.md) -[$MadelineProto->messages->acceptEncryption](../methods/messages_acceptEncryption.md) +[$MadelineProto->messages->acceptEncryption](../methods/messages.acceptEncryption.md) diff --git a/old_docs/API_docs_v18/types/NearestDc.md b/old_docs/API_docs_v18/types/NearestDc.md index 31f24377..296a4dff 100644 --- a/old_docs/API_docs_v18/types/NearestDc.md +++ b/old_docs/API_docs_v18/types/NearestDc.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->help->getNearestDc](../methods/help_getNearestDc.md) +[$MadelineProto->help->getNearestDc](../methods/help.getNearestDc.md) diff --git a/old_docs/API_docs_v18/types/PeerNotifySettings.md b/old_docs/API_docs_v18/types/PeerNotifySettings.md index 769de075..3d72b7c5 100644 --- a/old_docs/API_docs_v18/types/PeerNotifySettings.md +++ b/old_docs/API_docs_v18/types/PeerNotifySettings.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->account->getNotifySettings](../methods/account_getNotifySettings.md) +[$MadelineProto->account->getNotifySettings](../methods/account.getNotifySettings.md) diff --git a/old_docs/API_docs_v18/types/README.md b/old_docs/API_docs_v18/types/README.md index c16f7840..566c4190 100644 --- a/old_docs/API_docs_v18/types/README.md +++ b/old_docs/API_docs_v18/types/README.md @@ -139,69 +139,69 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png [X](X.md) -[auth\_Authorization](auth_Authorization.md) +[auth.Authorization](auth.Authorization.md) -[auth\_CheckedPhone](auth_CheckedPhone.md) +[auth.CheckedPhone](auth.CheckedPhone.md) -[auth\_ExportedAuthorization](auth_ExportedAuthorization.md) +[auth.ExportedAuthorization](auth.ExportedAuthorization.md) -[auth\_SentCode](auth_SentCode.md) +[auth.SentCode](auth.SentCode.md) -[contacts\_Blocked](contacts_Blocked.md) +[contacts.Blocked](contacts.Blocked.md) -[contacts\_Contacts](contacts_Contacts.md) +[contacts.Contacts](contacts.Contacts.md) -[contacts\_ForeignLink](contacts_ForeignLink.md) +[contacts.ForeignLink](contacts.ForeignLink.md) -[contacts\_Found](contacts_Found.md) +[contacts.Found](contacts.Found.md) -[contacts\_ImportedContacts](contacts_ImportedContacts.md) +[contacts.ImportedContacts](contacts.ImportedContacts.md) -[contacts\_Link](contacts_Link.md) +[contacts.Link](contacts.Link.md) -[contacts\_MyLink](contacts_MyLink.md) +[contacts.MyLink](contacts.MyLink.md) -[contacts\_Suggested](contacts_Suggested.md) +[contacts.Suggested](contacts.Suggested.md) -[help\_AppUpdate](help_AppUpdate.md) +[help.AppUpdate](help.AppUpdate.md) -[help\_InviteText](help_InviteText.md) +[help.InviteText](help.InviteText.md) -[help\_Support](help_Support.md) +[help.Support](help.Support.md) [int](int.md) [long](long.md) -[messages\_AffectedHistory](messages_AffectedHistory.md) +[messages.AffectedHistory](messages.AffectedHistory.md) -[messages\_ChatFull](messages_ChatFull.md) +[messages.ChatFull](messages.ChatFull.md) -[messages\_Chats](messages_Chats.md) +[messages.Chats](messages.Chats.md) -[messages\_DhConfig](messages_DhConfig.md) +[messages.DhConfig](messages.DhConfig.md) -[messages\_Dialogs](messages_Dialogs.md) +[messages.Dialogs](messages.Dialogs.md) -[messages\_Messages](messages_Messages.md) +[messages.Messages](messages.Messages.md) -[messages\_SentEncryptedMessage](messages_SentEncryptedMessage.md) +[messages.SentEncryptedMessage](messages.SentEncryptedMessage.md) -[messages\_SentMessage](messages_SentMessage.md) +[messages.SentMessage](messages.SentMessage.md) -[messages\_StatedMessage](messages_StatedMessage.md) +[messages.StatedMessage](messages.StatedMessage.md) -[messages\_StatedMessages](messages_StatedMessages.md) +[messages.StatedMessages](messages.StatedMessages.md) -[photos\_Photo](photos_Photo.md) +[photos.Photo](photos.Photo.md) -[photos\_Photos](photos_Photos.md) +[photos.Photos](photos.Photos.md) -[storage\_FileType](storage_FileType.md) +[storage.FileType](storage.FileType.md) -[updates\_Difference](updates_Difference.md) +[updates.Difference](updates.Difference.md) -[updates\_State](updates_State.md) +[updates.State](updates.State.md) -[upload\_File](upload_File.md) +[upload.File](upload.File.md) diff --git a/old_docs/API_docs_v18/types/User.md b/old_docs/API_docs_v18/types/User.md index 750d2b96..55dbb830 100644 --- a/old_docs/API_docs_v18/types/User.md +++ b/old_docs/API_docs_v18/types/User.md @@ -50,13 +50,13 @@ A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDia ### Methods that return an object of this type (methods): -[$MadelineProto->account->updateProfile](../methods/account_updateProfile.md) +[$MadelineProto->account->updateProfile](../methods/account.updateProfile.md) -[$MadelineProto->users->getUsers](../methods/users_getUsers.md) +[$MadelineProto->users->getUsers](../methods/users.getUsers.md) -[$MadelineProto->contacts->importCard](../methods/contacts_importCard.md) +[$MadelineProto->contacts->importCard](../methods/contacts.importCard.md) -[$MadelineProto->account->updateUsername](../methods/account_updateUsername.md) +[$MadelineProto->account->updateUsername](../methods/account.updateUsername.md) diff --git a/old_docs/API_docs_v18/types/UserFull.md b/old_docs/API_docs_v18/types/UserFull.md index 79ad30bb..ac50052f 100644 --- a/old_docs/API_docs_v18/types/UserFull.md +++ b/old_docs/API_docs_v18/types/UserFull.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->users->getFullUser](../methods/users_getFullUser.md) +[$MadelineProto->users->getFullUser](../methods/users.getFullUser.md) diff --git a/old_docs/API_docs_v18/types/UserProfilePhoto.md b/old_docs/API_docs_v18/types/UserProfilePhoto.md index e5243a2e..e81e92fd 100644 --- a/old_docs/API_docs_v18/types/UserProfilePhoto.md +++ b/old_docs/API_docs_v18/types/UserProfilePhoto.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->photos->updateProfilePhoto](../methods/photos_updateProfilePhoto.md) +[$MadelineProto->photos->updateProfilePhoto](../methods/photos.updateProfilePhoto.md) diff --git a/old_docs/API_docs_v18/types/WallPaper.md b/old_docs/API_docs_v18/types/WallPaper.md index 8c5ac7cf..45337565 100644 --- a/old_docs/API_docs_v18/types/WallPaper.md +++ b/old_docs/API_docs_v18/types/WallPaper.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->account->getWallPapers](../methods/account_getWallPapers.md) +[$MadelineProto->account->getWallPapers](../methods/account.getWallPapers.md) diff --git a/old_docs/API_docs_v18/types/auth.Authorization.md b/old_docs/API_docs_v18/types/auth.Authorization.md new file mode 100644 index 00000000..38ef9d5f --- /dev/null +++ b/old_docs/API_docs_v18/types/auth.Authorization.md @@ -0,0 +1,26 @@ +--- +title: auth.Authorization +description: constructors and methods of type auth.Authorization +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.Authorization +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.authorization](../constructors/auth.authorization.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->signUp](../methods/auth.signUp.md) + +[$MadelineProto->auth->signIn](../methods/auth.signIn.md) + +[$MadelineProto->auth->importAuthorization](../methods/auth.importAuthorization.md) + + + diff --git a/old_docs/API_docs_v18/types/auth.CheckedPhone.md b/old_docs/API_docs_v18/types/auth.CheckedPhone.md new file mode 100644 index 00000000..94af3915 --- /dev/null +++ b/old_docs/API_docs_v18/types/auth.CheckedPhone.md @@ -0,0 +1,22 @@ +--- +title: auth.CheckedPhone +description: constructors and methods of type auth.CheckedPhone +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.CheckedPhone +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.checkedPhone](../constructors/auth.checkedPhone.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->checkPhone](../methods/auth.checkPhone.md) + + + diff --git a/old_docs/API_docs_v18/types/auth.ExportedAuthorization.md b/old_docs/API_docs_v18/types/auth.ExportedAuthorization.md new file mode 100644 index 00000000..ccb38d60 --- /dev/null +++ b/old_docs/API_docs_v18/types/auth.ExportedAuthorization.md @@ -0,0 +1,22 @@ +--- +title: auth.ExportedAuthorization +description: constructors and methods of type auth.ExportedAuthorization +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.ExportedAuthorization +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.exportedAuthorization](../constructors/auth.exportedAuthorization.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->exportAuthorization](../methods/auth.exportAuthorization.md) + + + diff --git a/old_docs/API_docs_v18/types/auth.SentCode.md b/old_docs/API_docs_v18/types/auth.SentCode.md new file mode 100644 index 00000000..9fd32a73 --- /dev/null +++ b/old_docs/API_docs_v18/types/auth.SentCode.md @@ -0,0 +1,24 @@ +--- +title: auth.SentCode +description: constructors and methods of type auth.SentCode +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.SentCode +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.sentCode](../constructors/auth.sentCode.md) + +[auth.sentAppCode](../constructors/auth.sentAppCode.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->sendCode](../methods/auth.sendCode.md) + + + diff --git a/old_docs/API_docs_v18/types/auth_Authorization.md b/old_docs/API_docs_v18/types/auth_Authorization.md deleted file mode 100644 index 3cf25085..00000000 --- a/old_docs/API_docs_v18/types/auth_Authorization.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: auth_Authorization -description: constructors and methods of type auth_Authorization -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_Authorization -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_authorization](../constructors/auth_authorization.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->signUp](../methods/auth_signUp.md) - -[$MadelineProto->auth->signIn](../methods/auth_signIn.md) - -[$MadelineProto->auth->importAuthorization](../methods/auth_importAuthorization.md) - - - diff --git a/old_docs/API_docs_v18/types/auth_CheckedPhone.md b/old_docs/API_docs_v18/types/auth_CheckedPhone.md deleted file mode 100644 index e9b0def4..00000000 --- a/old_docs/API_docs_v18/types/auth_CheckedPhone.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: auth_CheckedPhone -description: constructors and methods of type auth_CheckedPhone -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_CheckedPhone -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_checkedPhone](../constructors/auth_checkedPhone.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->checkPhone](../methods/auth_checkPhone.md) - - - diff --git a/old_docs/API_docs_v18/types/auth_ExportedAuthorization.md b/old_docs/API_docs_v18/types/auth_ExportedAuthorization.md deleted file mode 100644 index 69e5c42e..00000000 --- a/old_docs/API_docs_v18/types/auth_ExportedAuthorization.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: auth_ExportedAuthorization -description: constructors and methods of type auth_ExportedAuthorization -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_ExportedAuthorization -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_exportedAuthorization](../constructors/auth_exportedAuthorization.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->exportAuthorization](../methods/auth_exportAuthorization.md) - - - diff --git a/old_docs/API_docs_v18/types/auth_SentCode.md b/old_docs/API_docs_v18/types/auth_SentCode.md deleted file mode 100644 index 85b8d351..00000000 --- a/old_docs/API_docs_v18/types/auth_SentCode.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: auth_SentCode -description: constructors and methods of type auth_SentCode -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_SentCode -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_sentCode](../constructors/auth_sentCode.md) - -[auth\_sentAppCode](../constructors/auth_sentAppCode.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->sendCode](../methods/auth_sendCode.md) - - - diff --git a/old_docs/API_docs_v18/types/contacts.Blocked.md b/old_docs/API_docs_v18/types/contacts.Blocked.md new file mode 100644 index 00000000..cb2af80f --- /dev/null +++ b/old_docs/API_docs_v18/types/contacts.Blocked.md @@ -0,0 +1,24 @@ +--- +title: contacts.Blocked +description: constructors and methods of type contacts.Blocked +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Blocked +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.blocked](../constructors/contacts.blocked.md) + +[contacts.blockedSlice](../constructors/contacts.blockedSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getBlocked](../methods/contacts.getBlocked.md) + + + diff --git a/old_docs/API_docs_v18/types/contacts.Contacts.md b/old_docs/API_docs_v18/types/contacts.Contacts.md new file mode 100644 index 00000000..5f695d8e --- /dev/null +++ b/old_docs/API_docs_v18/types/contacts.Contacts.md @@ -0,0 +1,24 @@ +--- +title: contacts.Contacts +description: constructors and methods of type contacts.Contacts +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Contacts +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.contactsNotModified](../constructors/contacts.contactsNotModified.md) + +[contacts.contacts](../constructors/contacts.contacts.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getContacts](../methods/contacts.getContacts.md) + + + diff --git a/old_docs/API_docs_v18/types/contacts.ForeignLink.md b/old_docs/API_docs_v18/types/contacts.ForeignLink.md new file mode 100644 index 00000000..06917421 --- /dev/null +++ b/old_docs/API_docs_v18/types/contacts.ForeignLink.md @@ -0,0 +1,24 @@ +--- +title: contacts.ForeignLink +description: constructors and methods of type contacts.ForeignLink +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.ForeignLink +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.foreignLinkUnknown](../constructors/contacts.foreignLinkUnknown.md) + +[contacts.foreignLinkRequested](../constructors/contacts.foreignLinkRequested.md) + +[contacts.foreignLinkMutual](../constructors/contacts.foreignLinkMutual.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v18/types/contacts.Found.md b/old_docs/API_docs_v18/types/contacts.Found.md new file mode 100644 index 00000000..7df98927 --- /dev/null +++ b/old_docs/API_docs_v18/types/contacts.Found.md @@ -0,0 +1,22 @@ +--- +title: contacts.Found +description: constructors and methods of type contacts.Found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Found +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.found](../constructors/contacts.found.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->search](../methods/contacts.search.md) + + + diff --git a/old_docs/API_docs_v18/types/contacts.ImportedContacts.md b/old_docs/API_docs_v18/types/contacts.ImportedContacts.md new file mode 100644 index 00000000..16795bab --- /dev/null +++ b/old_docs/API_docs_v18/types/contacts.ImportedContacts.md @@ -0,0 +1,22 @@ +--- +title: contacts.ImportedContacts +description: constructors and methods of type contacts.ImportedContacts +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.ImportedContacts +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.importedContacts](../constructors/contacts.importedContacts.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->importContacts](../methods/contacts.importContacts.md) + + + diff --git a/old_docs/API_docs_v18/types/contacts.Link.md b/old_docs/API_docs_v18/types/contacts.Link.md new file mode 100644 index 00000000..eb9da683 --- /dev/null +++ b/old_docs/API_docs_v18/types/contacts.Link.md @@ -0,0 +1,22 @@ +--- +title: contacts.Link +description: constructors and methods of type contacts.Link +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Link +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.link](../constructors/contacts.link.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->deleteContact](../methods/contacts.deleteContact.md) + + + diff --git a/old_docs/API_docs_v18/types/contacts.MyLink.md b/old_docs/API_docs_v18/types/contacts.MyLink.md new file mode 100644 index 00000000..a14e79de --- /dev/null +++ b/old_docs/API_docs_v18/types/contacts.MyLink.md @@ -0,0 +1,24 @@ +--- +title: contacts.MyLink +description: constructors and methods of type contacts.MyLink +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.MyLink +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.myLinkEmpty](../constructors/contacts.myLinkEmpty.md) + +[contacts.myLinkRequested](../constructors/contacts.myLinkRequested.md) + +[contacts.myLinkContact](../constructors/contacts.myLinkContact.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v18/types/contacts.Suggested.md b/old_docs/API_docs_v18/types/contacts.Suggested.md new file mode 100644 index 00000000..a462dae5 --- /dev/null +++ b/old_docs/API_docs_v18/types/contacts.Suggested.md @@ -0,0 +1,22 @@ +--- +title: contacts.Suggested +description: constructors and methods of type contacts.Suggested +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Suggested +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.suggested](../constructors/contacts.suggested.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getSuggested](../methods/contacts.getSuggested.md) + + + diff --git a/old_docs/API_docs_v18/types/contacts_Blocked.md b/old_docs/API_docs_v18/types/contacts_Blocked.md deleted file mode 100644 index 3e1f02eb..00000000 --- a/old_docs/API_docs_v18/types/contacts_Blocked.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: contacts_Blocked -description: constructors and methods of type contacts_Blocked -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Blocked -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_blocked](../constructors/contacts_blocked.md) - -[contacts\_blockedSlice](../constructors/contacts_blockedSlice.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->getBlocked](../methods/contacts_getBlocked.md) - - - diff --git a/old_docs/API_docs_v18/types/contacts_Contacts.md b/old_docs/API_docs_v18/types/contacts_Contacts.md deleted file mode 100644 index 5d6c9506..00000000 --- a/old_docs/API_docs_v18/types/contacts_Contacts.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: contacts_Contacts -description: constructors and methods of type contacts_Contacts -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Contacts -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_contactsNotModified](../constructors/contacts_contactsNotModified.md) - -[contacts\_contacts](../constructors/contacts_contacts.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->getContacts](../methods/contacts_getContacts.md) - - - diff --git a/old_docs/API_docs_v18/types/contacts_ForeignLink.md b/old_docs/API_docs_v18/types/contacts_ForeignLink.md deleted file mode 100644 index 59675e2f..00000000 --- a/old_docs/API_docs_v18/types/contacts_ForeignLink.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: contacts_ForeignLink -description: constructors and methods of type contacts_ForeignLink -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_ForeignLink -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_foreignLinkUnknown](../constructors/contacts_foreignLinkUnknown.md) - -[contacts\_foreignLinkRequested](../constructors/contacts_foreignLinkRequested.md) - -[contacts\_foreignLinkMutual](../constructors/contacts_foreignLinkMutual.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v18/types/contacts_Found.md b/old_docs/API_docs_v18/types/contacts_Found.md deleted file mode 100644 index 806101cf..00000000 --- a/old_docs/API_docs_v18/types/contacts_Found.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_Found -description: constructors and methods of type contacts_Found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Found -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_found](../constructors/contacts_found.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->search](../methods/contacts_search.md) - - - diff --git a/old_docs/API_docs_v18/types/contacts_ImportedContacts.md b/old_docs/API_docs_v18/types/contacts_ImportedContacts.md deleted file mode 100644 index faf7e615..00000000 --- a/old_docs/API_docs_v18/types/contacts_ImportedContacts.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_ImportedContacts -description: constructors and methods of type contacts_ImportedContacts -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_ImportedContacts -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_importedContacts](../constructors/contacts_importedContacts.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->importContacts](../methods/contacts_importContacts.md) - - - diff --git a/old_docs/API_docs_v18/types/contacts_Link.md b/old_docs/API_docs_v18/types/contacts_Link.md deleted file mode 100644 index 01556606..00000000 --- a/old_docs/API_docs_v18/types/contacts_Link.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_Link -description: constructors and methods of type contacts_Link -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Link -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_link](../constructors/contacts_link.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->deleteContact](../methods/contacts_deleteContact.md) - - - diff --git a/old_docs/API_docs_v18/types/contacts_MyLink.md b/old_docs/API_docs_v18/types/contacts_MyLink.md deleted file mode 100644 index 65604538..00000000 --- a/old_docs/API_docs_v18/types/contacts_MyLink.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: contacts_MyLink -description: constructors and methods of type contacts_MyLink -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_MyLink -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_myLinkEmpty](../constructors/contacts_myLinkEmpty.md) - -[contacts\_myLinkRequested](../constructors/contacts_myLinkRequested.md) - -[contacts\_myLinkContact](../constructors/contacts_myLinkContact.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v18/types/contacts_Suggested.md b/old_docs/API_docs_v18/types/contacts_Suggested.md deleted file mode 100644 index dd597b3b..00000000 --- a/old_docs/API_docs_v18/types/contacts_Suggested.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_Suggested -description: constructors and methods of type contacts_Suggested -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Suggested -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_suggested](../constructors/contacts_suggested.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->getSuggested](../methods/contacts_getSuggested.md) - - - diff --git a/old_docs/API_docs_v18/types/help.AppUpdate.md b/old_docs/API_docs_v18/types/help.AppUpdate.md new file mode 100644 index 00000000..285ec2b7 --- /dev/null +++ b/old_docs/API_docs_v18/types/help.AppUpdate.md @@ -0,0 +1,24 @@ +--- +title: help.AppUpdate +description: constructors and methods of type help.AppUpdate +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.AppUpdate +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.appUpdate](../constructors/help.appUpdate.md) + +[help.noAppUpdate](../constructors/help.noAppUpdate.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getAppUpdate](../methods/help.getAppUpdate.md) + + + diff --git a/old_docs/API_docs_v18/types/help.InviteText.md b/old_docs/API_docs_v18/types/help.InviteText.md new file mode 100644 index 00000000..43293f46 --- /dev/null +++ b/old_docs/API_docs_v18/types/help.InviteText.md @@ -0,0 +1,22 @@ +--- +title: help.InviteText +description: constructors and methods of type help.InviteText +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.InviteText +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.inviteText](../constructors/help.inviteText.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getInviteText](../methods/help.getInviteText.md) + + + diff --git a/old_docs/API_docs_v18/types/help.Support.md b/old_docs/API_docs_v18/types/help.Support.md new file mode 100644 index 00000000..42c20483 --- /dev/null +++ b/old_docs/API_docs_v18/types/help.Support.md @@ -0,0 +1,22 @@ +--- +title: help.Support +description: constructors and methods of type help.Support +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.Support +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.support](../constructors/help.support.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getSupport](../methods/help.getSupport.md) + + + diff --git a/old_docs/API_docs_v18/types/help_AppUpdate.md b/old_docs/API_docs_v18/types/help_AppUpdate.md deleted file mode 100644 index 1f296a70..00000000 --- a/old_docs/API_docs_v18/types/help_AppUpdate.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: help_AppUpdate -description: constructors and methods of type help_AppUpdate -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_AppUpdate -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_appUpdate](../constructors/help_appUpdate.md) - -[help\_noAppUpdate](../constructors/help_noAppUpdate.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getAppUpdate](../methods/help_getAppUpdate.md) - - - diff --git a/old_docs/API_docs_v18/types/help_InviteText.md b/old_docs/API_docs_v18/types/help_InviteText.md deleted file mode 100644 index 018d35bf..00000000 --- a/old_docs/API_docs_v18/types/help_InviteText.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: help_InviteText -description: constructors and methods of type help_InviteText -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_InviteText -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_inviteText](../constructors/help_inviteText.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getInviteText](../methods/help_getInviteText.md) - - - diff --git a/old_docs/API_docs_v18/types/help_Support.md b/old_docs/API_docs_v18/types/help_Support.md deleted file mode 100644 index 26de447b..00000000 --- a/old_docs/API_docs_v18/types/help_Support.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: help_Support -description: constructors and methods of type help_Support -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_Support -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_support](../constructors/help_support.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getSupport](../methods/help_getSupport.md) - - - diff --git a/old_docs/API_docs_v18/types/messages.AffectedHistory.md b/old_docs/API_docs_v18/types/messages.AffectedHistory.md new file mode 100644 index 00000000..f6746759 --- /dev/null +++ b/old_docs/API_docs_v18/types/messages.AffectedHistory.md @@ -0,0 +1,24 @@ +--- +title: messages.AffectedHistory +description: constructors and methods of type messages.AffectedHistory +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.AffectedHistory +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.affectedHistory](../constructors/messages.affectedHistory.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->readHistory](../methods/messages.readHistory.md) + +[$MadelineProto->messages->deleteHistory](../methods/messages.deleteHistory.md) + + + diff --git a/old_docs/API_docs_v18/types/messages.ChatFull.md b/old_docs/API_docs_v18/types/messages.ChatFull.md new file mode 100644 index 00000000..1b5ab0cc --- /dev/null +++ b/old_docs/API_docs_v18/types/messages.ChatFull.md @@ -0,0 +1,22 @@ +--- +title: messages.ChatFull +description: constructors and methods of type messages.ChatFull +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.ChatFull +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.chatFull](../constructors/messages.chatFull.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getFullChat](../methods/messages.getFullChat.md) + + + diff --git a/old_docs/API_docs_v18/types/messages.Chats.md b/old_docs/API_docs_v18/types/messages.Chats.md new file mode 100644 index 00000000..6052dc4f --- /dev/null +++ b/old_docs/API_docs_v18/types/messages.Chats.md @@ -0,0 +1,22 @@ +--- +title: messages.Chats +description: constructors and methods of type messages.Chats +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Chats +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.chats](../constructors/messages.chats.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getChats](../methods/messages.getChats.md) + + + diff --git a/old_docs/API_docs_v18/types/messages.DhConfig.md b/old_docs/API_docs_v18/types/messages.DhConfig.md new file mode 100644 index 00000000..77188ab7 --- /dev/null +++ b/old_docs/API_docs_v18/types/messages.DhConfig.md @@ -0,0 +1,24 @@ +--- +title: messages.DhConfig +description: constructors and methods of type messages.DhConfig +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.DhConfig +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.dhConfigNotModified](../constructors/messages.dhConfigNotModified.md) + +[messages.dhConfig](../constructors/messages.dhConfig.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getDhConfig](../methods/messages.getDhConfig.md) + + + diff --git a/old_docs/API_docs_v18/types/messages.Dialogs.md b/old_docs/API_docs_v18/types/messages.Dialogs.md new file mode 100644 index 00000000..1a57d535 --- /dev/null +++ b/old_docs/API_docs_v18/types/messages.Dialogs.md @@ -0,0 +1,24 @@ +--- +title: messages.Dialogs +description: constructors and methods of type messages.Dialogs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Dialogs +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.dialogs](../constructors/messages.dialogs.md) + +[messages.dialogsSlice](../constructors/messages.dialogsSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getDialogs](../methods/messages.getDialogs.md) + + + diff --git a/old_docs/API_docs_v18/types/messages.Messages.md b/old_docs/API_docs_v18/types/messages.Messages.md new file mode 100644 index 00000000..6de49a3a --- /dev/null +++ b/old_docs/API_docs_v18/types/messages.Messages.md @@ -0,0 +1,28 @@ +--- +title: messages.Messages +description: constructors and methods of type messages.Messages +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Messages +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.messages](../constructors/messages.messages.md) + +[messages.messagesSlice](../constructors/messages.messagesSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getMessages](../methods/messages.getMessages.md) + +[$MadelineProto->messages->getHistory](../methods/messages.getHistory.md) + +[$MadelineProto->messages->search](../methods/messages.search.md) + + + diff --git a/old_docs/API_docs_v18/types/messages.SentEncryptedMessage.md b/old_docs/API_docs_v18/types/messages.SentEncryptedMessage.md new file mode 100644 index 00000000..b6d05b1f --- /dev/null +++ b/old_docs/API_docs_v18/types/messages.SentEncryptedMessage.md @@ -0,0 +1,28 @@ +--- +title: messages.SentEncryptedMessage +description: constructors and methods of type messages.SentEncryptedMessage +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.SentEncryptedMessage +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.sentEncryptedMessage](../constructors/messages.sentEncryptedMessage.md) + +[messages.sentEncryptedFile](../constructors/messages.sentEncryptedFile.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->sendEncrypted](../methods/messages.sendEncrypted.md) + +[$MadelineProto->messages->sendEncryptedFile](../methods/messages.sendEncryptedFile.md) + +[$MadelineProto->messages->sendEncryptedService](../methods/messages.sendEncryptedService.md) + + + diff --git a/old_docs/API_docs_v18/types/messages.SentMessage.md b/old_docs/API_docs_v18/types/messages.SentMessage.md new file mode 100644 index 00000000..519818b0 --- /dev/null +++ b/old_docs/API_docs_v18/types/messages.SentMessage.md @@ -0,0 +1,24 @@ +--- +title: messages.SentMessage +description: constructors and methods of type messages.SentMessage +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.SentMessage +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.sentMessage](../constructors/messages.sentMessage.md) + +[messages.sentMessageLink](../constructors/messages.sentMessageLink.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->sendMessage](../methods/messages.sendMessage.md) + + + diff --git a/old_docs/API_docs_v18/types/messages.StatedMessage.md b/old_docs/API_docs_v18/types/messages.StatedMessage.md new file mode 100644 index 00000000..8763d39b --- /dev/null +++ b/old_docs/API_docs_v18/types/messages.StatedMessage.md @@ -0,0 +1,36 @@ +--- +title: messages.StatedMessage +description: constructors and methods of type messages.StatedMessage +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.StatedMessage +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.statedMessage](../constructors/messages.statedMessage.md) + +[messages.statedMessageLink](../constructors/messages.statedMessageLink.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->sendMedia](../methods/messages.sendMedia.md) + +[$MadelineProto->messages->editChatTitle](../methods/messages.editChatTitle.md) + +[$MadelineProto->messages->editChatPhoto](../methods/messages.editChatPhoto.md) + +[$MadelineProto->messages->addChatUser](../methods/messages.addChatUser.md) + +[$MadelineProto->messages->deleteChatUser](../methods/messages.deleteChatUser.md) + +[$MadelineProto->messages->createChat](../methods/messages.createChat.md) + +[$MadelineProto->messages->forwardMessage](../methods/messages.forwardMessage.md) + + + diff --git a/old_docs/API_docs_v18/types/messages.StatedMessages.md b/old_docs/API_docs_v18/types/messages.StatedMessages.md new file mode 100644 index 00000000..ed9fa330 --- /dev/null +++ b/old_docs/API_docs_v18/types/messages.StatedMessages.md @@ -0,0 +1,26 @@ +--- +title: messages.StatedMessages +description: constructors and methods of type messages.StatedMessages +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.StatedMessages +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.statedMessages](../constructors/messages.statedMessages.md) + +[messages.statedMessagesLinks](../constructors/messages.statedMessagesLinks.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->forwardMessages](../methods/messages.forwardMessages.md) + +[$MadelineProto->messages->sendBroadcast](../methods/messages.sendBroadcast.md) + + + diff --git a/old_docs/API_docs_v18/types/messages_AffectedHistory.md b/old_docs/API_docs_v18/types/messages_AffectedHistory.md deleted file mode 100644 index 0d1098b8..00000000 --- a/old_docs/API_docs_v18/types/messages_AffectedHistory.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_AffectedHistory -description: constructors and methods of type messages_AffectedHistory -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_AffectedHistory -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_affectedHistory](../constructors/messages_affectedHistory.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->readHistory](../methods/messages_readHistory.md) - -[$MadelineProto->messages->deleteHistory](../methods/messages_deleteHistory.md) - - - diff --git a/old_docs/API_docs_v18/types/messages_ChatFull.md b/old_docs/API_docs_v18/types/messages_ChatFull.md deleted file mode 100644 index 056c6641..00000000 --- a/old_docs/API_docs_v18/types/messages_ChatFull.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_ChatFull -description: constructors and methods of type messages_ChatFull -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_ChatFull -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_chatFull](../constructors/messages_chatFull.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getFullChat](../methods/messages_getFullChat.md) - - - diff --git a/old_docs/API_docs_v18/types/messages_Chats.md b/old_docs/API_docs_v18/types/messages_Chats.md deleted file mode 100644 index 0b3113b7..00000000 --- a/old_docs/API_docs_v18/types/messages_Chats.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_Chats -description: constructors and methods of type messages_Chats -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Chats -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_chats](../constructors/messages_chats.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getChats](../methods/messages_getChats.md) - - - diff --git a/old_docs/API_docs_v18/types/messages_DhConfig.md b/old_docs/API_docs_v18/types/messages_DhConfig.md deleted file mode 100644 index ce237411..00000000 --- a/old_docs/API_docs_v18/types/messages_DhConfig.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_DhConfig -description: constructors and methods of type messages_DhConfig -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_DhConfig -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_dhConfigNotModified](../constructors/messages_dhConfigNotModified.md) - -[messages\_dhConfig](../constructors/messages_dhConfig.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getDhConfig](../methods/messages_getDhConfig.md) - - - diff --git a/old_docs/API_docs_v18/types/messages_Dialogs.md b/old_docs/API_docs_v18/types/messages_Dialogs.md deleted file mode 100644 index 733a42c5..00000000 --- a/old_docs/API_docs_v18/types/messages_Dialogs.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_Dialogs -description: constructors and methods of type messages_Dialogs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Dialogs -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_dialogs](../constructors/messages_dialogs.md) - -[messages\_dialogsSlice](../constructors/messages_dialogsSlice.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getDialogs](../methods/messages_getDialogs.md) - - - diff --git a/old_docs/API_docs_v18/types/messages_Messages.md b/old_docs/API_docs_v18/types/messages_Messages.md deleted file mode 100644 index e9218929..00000000 --- a/old_docs/API_docs_v18/types/messages_Messages.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: messages_Messages -description: constructors and methods of type messages_Messages -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Messages -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_messages](../constructors/messages_messages.md) - -[messages\_messagesSlice](../constructors/messages_messagesSlice.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getMessages](../methods/messages_getMessages.md) - -[$MadelineProto->messages->getHistory](../methods/messages_getHistory.md) - -[$MadelineProto->messages->search](../methods/messages_search.md) - - - diff --git a/old_docs/API_docs_v18/types/messages_SentEncryptedMessage.md b/old_docs/API_docs_v18/types/messages_SentEncryptedMessage.md deleted file mode 100644 index 9f7ab935..00000000 --- a/old_docs/API_docs_v18/types/messages_SentEncryptedMessage.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: messages_SentEncryptedMessage -description: constructors and methods of type messages_SentEncryptedMessage -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_SentEncryptedMessage -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_sentEncryptedMessage](../constructors/messages_sentEncryptedMessage.md) - -[messages\_sentEncryptedFile](../constructors/messages_sentEncryptedFile.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->sendEncrypted](../methods/messages_sendEncrypted.md) - -[$MadelineProto->messages->sendEncryptedFile](../methods/messages_sendEncryptedFile.md) - -[$MadelineProto->messages->sendEncryptedService](../methods/messages_sendEncryptedService.md) - - - diff --git a/old_docs/API_docs_v18/types/messages_SentMessage.md b/old_docs/API_docs_v18/types/messages_SentMessage.md deleted file mode 100644 index 294b515c..00000000 --- a/old_docs/API_docs_v18/types/messages_SentMessage.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_SentMessage -description: constructors and methods of type messages_SentMessage -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_SentMessage -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_sentMessage](../constructors/messages_sentMessage.md) - -[messages\_sentMessageLink](../constructors/messages_sentMessageLink.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->sendMessage](../methods/messages_sendMessage.md) - - - diff --git a/old_docs/API_docs_v18/types/messages_StatedMessage.md b/old_docs/API_docs_v18/types/messages_StatedMessage.md deleted file mode 100644 index 10be95f2..00000000 --- a/old_docs/API_docs_v18/types/messages_StatedMessage.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -title: messages_StatedMessage -description: constructors and methods of type messages_StatedMessage -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_StatedMessage -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_statedMessage](../constructors/messages_statedMessage.md) - -[messages\_statedMessageLink](../constructors/messages_statedMessageLink.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->sendMedia](../methods/messages_sendMedia.md) - -[$MadelineProto->messages->editChatTitle](../methods/messages_editChatTitle.md) - -[$MadelineProto->messages->editChatPhoto](../methods/messages_editChatPhoto.md) - -[$MadelineProto->messages->addChatUser](../methods/messages_addChatUser.md) - -[$MadelineProto->messages->deleteChatUser](../methods/messages_deleteChatUser.md) - -[$MadelineProto->messages->createChat](../methods/messages_createChat.md) - -[$MadelineProto->messages->forwardMessage](../methods/messages_forwardMessage.md) - - - diff --git a/old_docs/API_docs_v18/types/messages_StatedMessages.md b/old_docs/API_docs_v18/types/messages_StatedMessages.md deleted file mode 100644 index 95dc255d..00000000 --- a/old_docs/API_docs_v18/types/messages_StatedMessages.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: messages_StatedMessages -description: constructors and methods of type messages_StatedMessages -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_StatedMessages -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_statedMessages](../constructors/messages_statedMessages.md) - -[messages\_statedMessagesLinks](../constructors/messages_statedMessagesLinks.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->forwardMessages](../methods/messages_forwardMessages.md) - -[$MadelineProto->messages->sendBroadcast](../methods/messages_sendBroadcast.md) - - - diff --git a/old_docs/API_docs_v18/types/photos.Photo.md b/old_docs/API_docs_v18/types/photos.Photo.md new file mode 100644 index 00000000..d60f203c --- /dev/null +++ b/old_docs/API_docs_v18/types/photos.Photo.md @@ -0,0 +1,22 @@ +--- +title: photos.Photo +description: constructors and methods of type photos.Photo +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: photos.Photo +[Back to types index](index.md) + + + +### Possible values (constructors): + +[photos.photo](../constructors/photos.photo.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->photos->uploadProfilePhoto](../methods/photos.uploadProfilePhoto.md) + + + diff --git a/old_docs/API_docs_v18/types/photos.Photos.md b/old_docs/API_docs_v18/types/photos.Photos.md new file mode 100644 index 00000000..fff0e296 --- /dev/null +++ b/old_docs/API_docs_v18/types/photos.Photos.md @@ -0,0 +1,24 @@ +--- +title: photos.Photos +description: constructors and methods of type photos.Photos +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: photos.Photos +[Back to types index](index.md) + + + +### Possible values (constructors): + +[photos.photos](../constructors/photos.photos.md) + +[photos.photosSlice](../constructors/photos.photosSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->photos->getUserPhotos](../methods/photos.getUserPhotos.md) + + + diff --git a/old_docs/API_docs_v18/types/photos_Photo.md b/old_docs/API_docs_v18/types/photos_Photo.md deleted file mode 100644 index d11bbdef..00000000 --- a/old_docs/API_docs_v18/types/photos_Photo.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: photos_Photo -description: constructors and methods of type photos_Photo -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: photos\_Photo -[Back to types index](index.md) - - - -### Possible values (constructors): - -[photos\_photo](../constructors/photos_photo.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->photos->uploadProfilePhoto](../methods/photos_uploadProfilePhoto.md) - - - diff --git a/old_docs/API_docs_v18/types/photos_Photos.md b/old_docs/API_docs_v18/types/photos_Photos.md deleted file mode 100644 index 9875ad70..00000000 --- a/old_docs/API_docs_v18/types/photos_Photos.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: photos_Photos -description: constructors and methods of type photos_Photos -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: photos\_Photos -[Back to types index](index.md) - - - -### Possible values (constructors): - -[photos\_photos](../constructors/photos_photos.md) - -[photos\_photosSlice](../constructors/photos_photosSlice.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->photos->getUserPhotos](../methods/photos_getUserPhotos.md) - - - diff --git a/old_docs/API_docs_v18/types/storage.FileType.md b/old_docs/API_docs_v18/types/storage.FileType.md new file mode 100644 index 00000000..73dc8a92 --- /dev/null +++ b/old_docs/API_docs_v18/types/storage.FileType.md @@ -0,0 +1,38 @@ +--- +title: storage.FileType +description: constructors and methods of type storage.FileType +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: storage.FileType +[Back to types index](index.md) + + + +### Possible values (constructors): + +[storage.fileUnknown](../constructors/storage.fileUnknown.md) + +[storage.fileJpeg](../constructors/storage.fileJpeg.md) + +[storage.fileGif](../constructors/storage.fileGif.md) + +[storage.filePng](../constructors/storage.filePng.md) + +[storage.filePdf](../constructors/storage.filePdf.md) + +[storage.fileMp3](../constructors/storage.fileMp3.md) + +[storage.fileMov](../constructors/storage.fileMov.md) + +[storage.filePartial](../constructors/storage.filePartial.md) + +[storage.fileMp4](../constructors/storage.fileMp4.md) + +[storage.fileWebp](../constructors/storage.fileWebp.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v18/types/storage_FileType.md b/old_docs/API_docs_v18/types/storage_FileType.md deleted file mode 100644 index 076c52a4..00000000 --- a/old_docs/API_docs_v18/types/storage_FileType.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: storage_FileType -description: constructors and methods of type storage_FileType -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: storage\_FileType -[Back to types index](index.md) - - - -### Possible values (constructors): - -[storage\_fileUnknown](../constructors/storage_fileUnknown.md) - -[storage\_fileJpeg](../constructors/storage_fileJpeg.md) - -[storage\_fileGif](../constructors/storage_fileGif.md) - -[storage\_filePng](../constructors/storage_filePng.md) - -[storage\_filePdf](../constructors/storage_filePdf.md) - -[storage\_fileMp3](../constructors/storage_fileMp3.md) - -[storage\_fileMov](../constructors/storage_fileMov.md) - -[storage\_filePartial](../constructors/storage_filePartial.md) - -[storage\_fileMp4](../constructors/storage_fileMp4.md) - -[storage\_fileWebp](../constructors/storage_fileWebp.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v18/types/updates.Difference.md b/old_docs/API_docs_v18/types/updates.Difference.md new file mode 100644 index 00000000..35998855 --- /dev/null +++ b/old_docs/API_docs_v18/types/updates.Difference.md @@ -0,0 +1,26 @@ +--- +title: updates.Difference +description: constructors and methods of type updates.Difference +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: updates.Difference +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updates.differenceEmpty](../constructors/updates.differenceEmpty.md) + +[updates.difference](../constructors/updates.difference.md) + +[updates.differenceSlice](../constructors/updates.differenceSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->updates->getDifference](../methods/updates.getDifference.md) + + + diff --git a/old_docs/API_docs_v18/types/updates.State.md b/old_docs/API_docs_v18/types/updates.State.md new file mode 100644 index 00000000..49bbb7fd --- /dev/null +++ b/old_docs/API_docs_v18/types/updates.State.md @@ -0,0 +1,22 @@ +--- +title: updates.State +description: constructors and methods of type updates.State +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: updates.State +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updates.state](../constructors/updates.state.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->updates->getState](../methods/updates.getState.md) + + + diff --git a/old_docs/API_docs_v18/types/updates_Difference.md b/old_docs/API_docs_v18/types/updates_Difference.md deleted file mode 100644 index 0190189b..00000000 --- a/old_docs/API_docs_v18/types/updates_Difference.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: updates_Difference -description: constructors and methods of type updates_Difference -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: updates\_Difference -[Back to types index](index.md) - - - -### Possible values (constructors): - -[updates\_differenceEmpty](../constructors/updates_differenceEmpty.md) - -[updates\_difference](../constructors/updates_difference.md) - -[updates\_differenceSlice](../constructors/updates_differenceSlice.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->updates->getDifference](../methods/updates_getDifference.md) - - - diff --git a/old_docs/API_docs_v18/types/updates_State.md b/old_docs/API_docs_v18/types/updates_State.md deleted file mode 100644 index 7a441145..00000000 --- a/old_docs/API_docs_v18/types/updates_State.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: updates_State -description: constructors and methods of type updates_State -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: updates\_State -[Back to types index](index.md) - - - -### Possible values (constructors): - -[updates\_state](../constructors/updates_state.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->updates->getState](../methods/updates_getState.md) - - - diff --git a/old_docs/API_docs_v18/types/upload.File.md b/old_docs/API_docs_v18/types/upload.File.md new file mode 100644 index 00000000..922e6c7a --- /dev/null +++ b/old_docs/API_docs_v18/types/upload.File.md @@ -0,0 +1,22 @@ +--- +title: upload.File +description: constructors and methods of type upload.File +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: upload.File +[Back to types index](index.md) + + + +### Possible values (constructors): + +[upload.file](../constructors/upload.file.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->upload->getFile](../methods/upload.getFile.md) + + + diff --git a/old_docs/API_docs_v18/types/upload_File.md b/old_docs/API_docs_v18/types/upload_File.md deleted file mode 100644 index 6e3bc38d..00000000 --- a/old_docs/API_docs_v18/types/upload_File.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: upload_File -description: constructors and methods of type upload_File -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: upload\_File -[Back to types index](index.md) - - - -### Possible values (constructors): - -[upload\_file](../constructors/upload_file.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->upload->getFile](../methods/upload_getFile.md) - - - diff --git a/old_docs/API_docs_v23/constructors/README.md b/old_docs/API_docs_v23/constructors/README.md index 17a05315..7205b81e 100644 --- a/old_docs/API_docs_v23/constructors/README.md +++ b/old_docs/API_docs_v23/constructors/README.md @@ -7,12 +7,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png [Back to API documentation index](..) *** -

[$accountDaysTTL](../constructors/accountDaysTTL.md) = \['days' => [int](../types/int.md), \]; +

[$account.privacyRules](../constructors/account.privacyRules.md) = \['rules' => \[[PrivacyRule](../types/PrivacyRule.md)\], 'users' => \[[User](../types/User.md)\], \]; *** -

[$account\_privacyRules](../constructors/account_privacyRules.md) = \['rules' => \[[PrivacyRule](../types/PrivacyRule.md)\], 'users' => \[[User](../types/User.md)\], \]; +

[$account.sentChangePhoneCode](../constructors/account.sentChangePhoneCode.md) = \['phone_code_hash' => [string](../types/string.md), 'send_call_timeout' => [int](../types/int.md), \]; -[$account\_sentChangePhoneCode](../constructors/account_sentChangePhoneCode.md) = \['phone_code_hash' => [string](../types/string.md), 'send_call_timeout' => [int](../types/int.md), \]; +*** +

[$accountDaysTTL](../constructors/accountDaysTTL.md) = \['days' => [int](../types/int.md), \]; ***

[$audio](../constructors/audio.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'user_id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'duration' => [int](../types/int.md), 'mime_type' => [string](../types/string.md), 'size' => [int](../types/int.md), 'dc_id' => [int](../types/int.md), \]; @@ -21,15 +22,19 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$audioEmpty](../constructors/audioEmpty.md) = \['id' => [long](../types/long.md), \]; *** -

[$auth\_authorization](../constructors/auth_authorization.md) = \['expires' => [int](../types/int.md), 'user' => [User](../types/User.md), \]; +

[$auth.authorization](../constructors/auth.authorization.md) = \['expires' => [int](../types/int.md), 'user' => [User](../types/User.md), \]; -[$auth\_checkedPhone](../constructors/auth_checkedPhone.md) = \['phone_registered' => [Bool](../types/Bool.md), 'phone_invited' => [Bool](../types/Bool.md), \]; +*** +

[$auth.checkedPhone](../constructors/auth.checkedPhone.md) = \['phone_registered' => [Bool](../types/Bool.md), 'phone_invited' => [Bool](../types/Bool.md), \]; -[$auth\_exportedAuthorization](../constructors/auth_exportedAuthorization.md) = \['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; +*** +

[$auth.exportedAuthorization](../constructors/auth.exportedAuthorization.md) = \['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; -[$auth\_sentAppCode](../constructors/auth_sentAppCode.md) = \['phone_registered' => [Bool](../types/Bool.md), 'phone_code_hash' => [string](../types/string.md), 'send_call_timeout' => [int](../types/int.md), 'is_password' => [Bool](../types/Bool.md), \]; +*** +

[$auth.sentAppCode](../constructors/auth.sentAppCode.md) = \['phone_registered' => [Bool](../types/Bool.md), 'phone_code_hash' => [string](../types/string.md), 'send_call_timeout' => [int](../types/int.md), 'is_password' => [Bool](../types/Bool.md), \]; -[$auth\_sentCode](../constructors/auth_sentCode.md) = \['phone_registered' => [Bool](../types/Bool.md), 'phone_code_hash' => [string](../types/string.md), 'send_call_timeout' => [int](../types/int.md), 'is_password' => [Bool](../types/Bool.md), \]; +*** +

[$auth.sentCode](../constructors/auth.sentCode.md) = \['phone_registered' => [Bool](../types/Bool.md), 'phone_code_hash' => [string](../types/string.md), 'send_call_timeout' => [int](../types/int.md), 'is_password' => [Bool](../types/Bool.md), \]; ***

[$boolFalse](../constructors/boolFalse.md) = \[\]; @@ -83,33 +88,46 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$contactSuggested](../constructors/contactSuggested.md) = \['user_id' => [int](../types/int.md), 'mutual_contacts' => [int](../types/int.md), \]; *** -

[$contacts\_blocked](../constructors/contacts_blocked.md) = \['blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; +

[$contacts.blocked](../constructors/contacts.blocked.md) = \['blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_blockedSlice](../constructors/contacts_blockedSlice.md) = \['count' => [int](../types/int.md), 'blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.blockedSlice](../constructors/contacts.blockedSlice.md) = \['count' => [int](../types/int.md), 'blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_contacts](../constructors/contacts_contacts.md) = \['contacts' => \[[Contact](../types/Contact.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.contacts](../constructors/contacts.contacts.md) = \['contacts' => \[[Contact](../types/Contact.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_contactsNotModified](../constructors/contacts_contactsNotModified.md) = \[\]; +*** +

[$contacts.contactsNotModified](../constructors/contacts.contactsNotModified.md) = \[\]; -[$contacts\_foreignLinkMutual](../constructors/contacts_foreignLinkMutual.md) = \[\]; +*** +

[$contacts.foreignLinkMutual](../constructors/contacts.foreignLinkMutual.md) = \[\]; -[$contacts\_foreignLinkRequested](../constructors/contacts_foreignLinkRequested.md) = \['has_phone' => [Bool](../types/Bool.md), \]; +*** +

[$contacts.foreignLinkRequested](../constructors/contacts.foreignLinkRequested.md) = \['has_phone' => [Bool](../types/Bool.md), \]; -[$contacts\_foreignLinkUnknown](../constructors/contacts_foreignLinkUnknown.md) = \[\]; +*** +

[$contacts.foreignLinkUnknown](../constructors/contacts.foreignLinkUnknown.md) = \[\]; -[$contacts\_found](../constructors/contacts_found.md) = \['results' => \[[ContactFound](../types/ContactFound.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.found](../constructors/contacts.found.md) = \['results' => \[[ContactFound](../types/ContactFound.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_importedContacts](../constructors/contacts_importedContacts.md) = \['imported' => \[[ImportedContact](../types/ImportedContact.md)\], 'retry_contacts' => \[[long](../types/long.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.importedContacts](../constructors/contacts.importedContacts.md) = \['imported' => \[[ImportedContact](../types/ImportedContact.md)\], 'retry_contacts' => \[[long](../types/long.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_link](../constructors/contacts_link.md) = \['my_link' => [contacts.MyLink](../types/contacts.MyLink.md), 'foreign_link' => [contacts.ForeignLink](../types/contacts.ForeignLink.md), 'user' => [User](../types/User.md), \]; +*** +

[$contacts.link](../constructors/contacts.link.md) = \['my_link' => [contacts.MyLink](../types/contacts.MyLink.md), 'foreign_link' => [contacts.ForeignLink](../types/contacts.ForeignLink.md), 'user' => [User](../types/User.md), \]; -[$contacts\_myLinkContact](../constructors/contacts_myLinkContact.md) = \[\]; +*** +

[$contacts.myLinkContact](../constructors/contacts.myLinkContact.md) = \[\]; -[$contacts\_myLinkEmpty](../constructors/contacts_myLinkEmpty.md) = \[\]; +*** +

[$contacts.myLinkEmpty](../constructors/contacts.myLinkEmpty.md) = \[\]; -[$contacts\_myLinkRequested](../constructors/contacts_myLinkRequested.md) = \['contact' => [Bool](../types/Bool.md), \]; +*** +

[$contacts.myLinkRequested](../constructors/contacts.myLinkRequested.md) = \['contact' => [Bool](../types/Bool.md), \]; -[$contacts\_suggested](../constructors/contacts_suggested.md) = \['results' => \[[ContactSuggested](../types/ContactSuggested.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.suggested](../constructors/contacts.suggested.md) = \['results' => \[[ContactSuggested](../types/ContactSuggested.md)\], 'users' => \[[User](../types/User.md)\], \]; ***

[$dcOption](../constructors/dcOption.md) = \['id' => [int](../types/int.md), 'hostname' => [string](../types/string.md), 'ip_address' => [string](../types/string.md), 'port' => [int](../types/int.md), \]; @@ -187,13 +205,16 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$geoPointEmpty](../constructors/geoPointEmpty.md) = \[\]; *** -

[$help\_appUpdate](../constructors/help_appUpdate.md) = \['id' => [int](../types/int.md), 'critical' => [Bool](../types/Bool.md), 'url' => [string](../types/string.md), 'text' => [string](../types/string.md), \]; +

[$help.appUpdate](../constructors/help.appUpdate.md) = \['id' => [int](../types/int.md), 'critical' => [Bool](../types/Bool.md), 'url' => [string](../types/string.md), 'text' => [string](../types/string.md), \]; -[$help\_inviteText](../constructors/help_inviteText.md) = \['message' => [string](../types/string.md), \]; +*** +

[$help.inviteText](../constructors/help.inviteText.md) = \['message' => [string](../types/string.md), \]; -[$help\_noAppUpdate](../constructors/help_noAppUpdate.md) = \[\]; +*** +

[$help.noAppUpdate](../constructors/help.noAppUpdate.md) = \[\]; -[$help\_support](../constructors/help_support.md) = \['phone_number' => [string](../types/string.md), 'user' => [User](../types/User.md), \]; +*** +

[$help.support](../constructors/help.support.md) = \['phone_number' => [string](../types/string.md), 'user' => [User](../types/User.md), \]; ***

[$importedContact](../constructors/importedContact.md) = \['user_id' => [int](../types/int.md), 'client_id' => [long](../types/long.md), \]; @@ -493,47 +514,67 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$messageService](../constructors/messageService.md) = \['id' => [int](../types/int.md), 'from_id' => [int](../types/int.md), 'to_id' => [Peer](../types/Peer.md), 'date' => [int](../types/int.md), 'action' => [MessageAction](../types/MessageAction.md), \]; *** -

[$messages\_affectedHistory](../constructors/messages_affectedHistory.md) = \['pts' => [int](../types/int.md), 'seq' => [int](../types/int.md), 'offset' => [int](../types/int.md), \]; +

[$messages.affectedHistory](../constructors/messages.affectedHistory.md) = \['pts' => [int](../types/int.md), 'seq' => [int](../types/int.md), 'offset' => [int](../types/int.md), \]; -[$messages\_allStickers](../constructors/messages_allStickers.md) = \['hash' => [string](../types/string.md), 'packs' => \[[StickerPack](../types/StickerPack.md)\], 'documents' => \[[Document](../types/Document.md)\], \]; +*** +

[$messages.allStickers](../constructors/messages.allStickers.md) = \['hash' => [string](../types/string.md), 'packs' => \[[StickerPack](../types/StickerPack.md)\], 'documents' => \[[Document](../types/Document.md)\], \]; -[$messages\_allStickersNotModified](../constructors/messages_allStickersNotModified.md) = \[\]; +*** +

[$messages.allStickersNotModified](../constructors/messages.allStickersNotModified.md) = \[\]; -[$messages\_chatFull](../constructors/messages_chatFull.md) = \['full_chat' => [ChatFull](../types/ChatFull.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.chatFull](../constructors/messages.chatFull.md) = \['full_chat' => [ChatFull](../types/ChatFull.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_chats](../constructors/messages_chats.md) = \['chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.chats](../constructors/messages.chats.md) = \['chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_dhConfig](../constructors/messages_dhConfig.md) = \['g' => [int](../types/int.md), 'p' => [bytes](../types/bytes.md), 'version' => [int](../types/int.md), 'random' => [bytes](../types/bytes.md), \]; +*** +

[$messages.dhConfig](../constructors/messages.dhConfig.md) = \['g' => [int](../types/int.md), 'p' => [bytes](../types/bytes.md), 'version' => [int](../types/int.md), 'random' => [bytes](../types/bytes.md), \]; -[$messages\_dhConfigNotModified](../constructors/messages_dhConfigNotModified.md) = \['random' => [bytes](../types/bytes.md), \]; +*** +

[$messages.dhConfigNotModified](../constructors/messages.dhConfigNotModified.md) = \['random' => [bytes](../types/bytes.md), \]; -[$messages\_dialogs](../constructors/messages_dialogs.md) = \['dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.dialogs](../constructors/messages.dialogs.md) = \['dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_dialogsSlice](../constructors/messages_dialogsSlice.md) = \['count' => [int](../types/int.md), 'dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.dialogsSlice](../constructors/messages.dialogsSlice.md) = \['count' => [int](../types/int.md), 'dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_messages](../constructors/messages_messages.md) = \['messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.messages](../constructors/messages.messages.md) = \['messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_messagesSlice](../constructors/messages_messagesSlice.md) = \['count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.messagesSlice](../constructors/messages.messagesSlice.md) = \['count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_sentEncryptedFile](../constructors/messages_sentEncryptedFile.md) = \['date' => [int](../types/int.md), 'file' => [EncryptedFile](../types/EncryptedFile.md), \]; +*** +

[$messages.sentEncryptedFile](../constructors/messages.sentEncryptedFile.md) = \['date' => [int](../types/int.md), 'file' => [EncryptedFile](../types/EncryptedFile.md), \]; -[$messages\_sentEncryptedMessage](../constructors/messages_sentEncryptedMessage.md) = \['date' => [int](../types/int.md), \]; +*** +

[$messages.sentEncryptedMessage](../constructors/messages.sentEncryptedMessage.md) = \['date' => [int](../types/int.md), \]; -[$messages\_sentMessage](../constructors/messages_sentMessage.md) = \['id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'pts' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; +*** +

[$messages.sentMessage](../constructors/messages.sentMessage.md) = \['id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'pts' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; -[$messages\_sentMessageLink](../constructors/messages_sentMessageLink.md) = \['id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'pts' => [int](../types/int.md), 'seq' => [int](../types/int.md), 'links' => \[[contacts.Link](../types/contacts.Link.md)\], \]; +*** +

[$messages.sentMessageLink](../constructors/messages.sentMessageLink.md) = \['id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'pts' => [int](../types/int.md), 'seq' => [int](../types/int.md), 'links' => \[[contacts.Link](../types/contacts.Link.md)\], \]; -[$messages\_statedMessage](../constructors/messages_statedMessage.md) = \['message' => [Message](../types/Message.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'pts' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; +*** +

[$messages.statedMessage](../constructors/messages.statedMessage.md) = \['message' => [Message](../types/Message.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'pts' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; -[$messages\_statedMessageLink](../constructors/messages_statedMessageLink.md) = \['message' => [Message](../types/Message.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'links' => \[[contacts.Link](../types/contacts.Link.md)\], 'pts' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; +*** +

[$messages.statedMessageLink](../constructors/messages.statedMessageLink.md) = \['message' => [Message](../types/Message.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'links' => \[[contacts.Link](../types/contacts.Link.md)\], 'pts' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; -[$messages\_statedMessages](../constructors/messages_statedMessages.md) = \['messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'pts' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; +*** +

[$messages.statedMessages](../constructors/messages.statedMessages.md) = \['messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'pts' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; -[$messages\_statedMessagesLinks](../constructors/messages_statedMessagesLinks.md) = \['messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'links' => \[[contacts.Link](../types/contacts.Link.md)\], 'pts' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; +*** +

[$messages.statedMessagesLinks](../constructors/messages.statedMessagesLinks.md) = \['messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'links' => \[[contacts.Link](../types/contacts.Link.md)\], 'pts' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; -[$messages\_stickers](../constructors/messages_stickers.md) = \['hash' => [string](../types/string.md), 'stickers' => \[[Document](../types/Document.md)\], \]; +*** +

[$messages.stickers](../constructors/messages.stickers.md) = \['hash' => [string](../types/string.md), 'stickers' => \[[Document](../types/Document.md)\], \]; -[$messages\_stickersNotModified](../constructors/messages_stickersNotModified.md) = \[\]; +*** +

[$messages.stickersNotModified](../constructors/messages.stickersNotModified.md) = \[\]; ***

[$nearestDc](../constructors/nearestDc.md) = \['country' => [string](../types/string.md), 'this_dc' => [int](../types/int.md), 'nearest_dc' => [int](../types/int.md), \]; @@ -587,11 +628,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$photoSizeEmpty](../constructors/photoSizeEmpty.md) = \['type' => [string](../types/string.md), \]; *** -

[$photos\_photo](../constructors/photos_photo.md) = \['photo' => [Photo](../types/Photo.md), 'users' => \[[User](../types/User.md)\], \]; +

[$photos.photo](../constructors/photos.photo.md) = \['photo' => [Photo](../types/Photo.md), 'users' => \[[User](../types/User.md)\], \]; -[$photos\_photos](../constructors/photos_photos.md) = \['photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$photos.photos](../constructors/photos.photos.md) = \['photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$photos\_photosSlice](../constructors/photos_photosSlice.md) = \['count' => [int](../types/int.md), 'photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$photos.photosSlice](../constructors/photos.photosSlice.md) = \['count' => [int](../types/int.md), 'photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; ***

[$privacyKeyStatusTimestamp](../constructors/privacyKeyStatusTimestamp.md) = \[\]; @@ -648,25 +691,34 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$stickerPack](../constructors/stickerPack.md) = \['emoticon' => [string](../types/string.md), 'documents' => \[[long](../types/long.md)\], \]; *** -

[$storage\_fileGif](../constructors/storage_fileGif.md) = \[\]; +

[$storage.fileGif](../constructors/storage.fileGif.md) = \[\]; -[$storage\_fileJpeg](../constructors/storage_fileJpeg.md) = \[\]; +*** +

[$storage.fileJpeg](../constructors/storage.fileJpeg.md) = \[\]; -[$storage\_fileMov](../constructors/storage_fileMov.md) = \[\]; +*** +

[$storage.fileMov](../constructors/storage.fileMov.md) = \[\]; -[$storage\_fileMp3](../constructors/storage_fileMp3.md) = \[\]; +*** +

[$storage.fileMp3](../constructors/storage.fileMp3.md) = \[\]; -[$storage\_fileMp4](../constructors/storage_fileMp4.md) = \[\]; +*** +

[$storage.fileMp4](../constructors/storage.fileMp4.md) = \[\]; -[$storage\_filePartial](../constructors/storage_filePartial.md) = \[\]; +*** +

[$storage.filePartial](../constructors/storage.filePartial.md) = \[\]; -[$storage\_filePdf](../constructors/storage_filePdf.md) = \[\]; +*** +

[$storage.filePdf](../constructors/storage.filePdf.md) = \[\]; -[$storage\_filePng](../constructors/storage_filePng.md) = \[\]; +*** +

[$storage.filePng](../constructors/storage.filePng.md) = \[\]; -[$storage\_fileUnknown](../constructors/storage_fileUnknown.md) = \[\]; +*** +

[$storage.fileUnknown](../constructors/storage.fileUnknown.md) = \[\]; -[$storage\_fileWebp](../constructors/storage_fileWebp.md) = \[\]; +*** +

[$storage.fileWebp](../constructors/storage.fileWebp.md) = \[\]; ***

[$true](../constructors/true.md) = \[\]; @@ -758,6 +810,18 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ***

[$updates](../constructors/updates.md) = \['updates' => \[[Update](../types/Update.md)\], 'users' => \[[User](../types/User.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'date' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; +*** +

[$updates.difference](../constructors/updates.difference.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'state' => [updates.State](../types/updates.State.md), \]; + +*** +

[$updates.differenceEmpty](../constructors/updates.differenceEmpty.md) = \['date' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; + +*** +

[$updates.differenceSlice](../constructors/updates.differenceSlice.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'intermediate_state' => [updates.State](../types/updates.State.md), \]; + +*** +

[$updates.state](../constructors/updates.state.md) = \['pts' => [int](../types/int.md), 'qts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'seq' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), \]; + ***

[$updatesCombined](../constructors/updatesCombined.md) = \['updates' => \[[Update](../types/Update.md)\], 'users' => \[[User](../types/User.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'date' => [int](../types/int.md), 'seq_start' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; @@ -765,16 +829,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$updatesTooLong](../constructors/updatesTooLong.md) = \[\]; *** -

[$updates\_difference](../constructors/updates_difference.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'state' => [updates.State](../types/updates.State.md), \]; - -[$updates\_differenceEmpty](../constructors/updates_differenceEmpty.md) = \['date' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; - -[$updates\_differenceSlice](../constructors/updates_differenceSlice.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'intermediate_state' => [updates.State](../types/updates.State.md), \]; - -[$updates\_state](../constructors/updates_state.md) = \['pts' => [int](../types/int.md), 'qts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'seq' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), \]; - -*** -

[$upload\_file](../constructors/upload_file.md) = \['type' => [storage.FileType](../types/storage.FileType.md), 'mtime' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; +

[$upload.file](../constructors/upload.file.md) = \['type' => [storage.FileType](../types/storage.FileType.md), 'mtime' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; ***

[$userContact](../constructors/userContact.md) = \['id' => [int](../types/int.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), 'username' => [string](../types/string.md), 'access_hash' => [long](../types/long.md), 'phone' => [string](../types/string.md), 'photo' => [UserProfilePhoto](../types/UserProfilePhoto.md), 'status' => [UserStatus](../types/UserStatus.md), \]; diff --git a/old_docs/API_docs_v23/constructors/account.privacyRules.md b/old_docs/API_docs_v23/constructors/account.privacyRules.md new file mode 100644 index 00000000..7ae04abb --- /dev/null +++ b/old_docs/API_docs_v23/constructors/account.privacyRules.md @@ -0,0 +1,39 @@ +--- +title: account.privacyRules +description: Privacy rules +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.privacyRules +[Back to constructors index](index.md) + + + +Privacy rules + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|rules|Array of [PrivacyRule](../types/PrivacyRule.md) | Yes|Rules| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [account.PrivacyRules](../types/account.PrivacyRules.md) + + +### Example: + +```php +$account.privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule, PrivacyRule], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +account.privacyRules={_='account.privacyRules', rules={PrivacyRule}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v23/constructors/account.sentChangePhoneCode.md b/old_docs/API_docs_v23/constructors/account.sentChangePhoneCode.md new file mode 100644 index 00000000..119f6af6 --- /dev/null +++ b/old_docs/API_docs_v23/constructors/account.sentChangePhoneCode.md @@ -0,0 +1,39 @@ +--- +title: account.sentChangePhoneCode +description: Sent change phone code +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.sentChangePhoneCode +[Back to constructors index](index.md) + + + +Sent change phone code + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_code\_hash|[string](../types/string.md) | Yes|Phone code hash| +|send\_call\_timeout|[int](../types/int.md) | Yes|Send call timeout| + + + +### Type: [account.SentChangePhoneCode](../types/account.SentChangePhoneCode.md) + + +### Example: + +```php +$account.sentChangePhoneCode = ['_' => 'account.sentChangePhoneCode', 'phone_code_hash' => 'string', 'send_call_timeout' => int]; +``` + + +Or, if you're into Lua: + +```lua +account.sentChangePhoneCode={_='account.sentChangePhoneCode', phone_code_hash='string', send_call_timeout=int} + +``` + + diff --git a/old_docs/API_docs_v23/constructors/account_privacyRules.md b/old_docs/API_docs_v23/constructors/account_privacyRules.md deleted file mode 100644 index 28b260b7..00000000 --- a/old_docs/API_docs_v23/constructors/account_privacyRules.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: account.privacyRules -description: Privacy rules -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.privacyRules -[Back to constructors index](index.md) - - - -Privacy rules - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|rules|Array of [PrivacyRule](../types/PrivacyRule.md) | Yes|Rules| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [account\_PrivacyRules](../types/account_PrivacyRules.md) - - -### Example: - -```php -$account_privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule, PrivacyRule], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -account_privacyRules={_='account.privacyRules', rules={PrivacyRule}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v23/constructors/account_sentChangePhoneCode.md b/old_docs/API_docs_v23/constructors/account_sentChangePhoneCode.md deleted file mode 100644 index 052ce817..00000000 --- a/old_docs/API_docs_v23/constructors/account_sentChangePhoneCode.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: account.sentChangePhoneCode -description: Sent change phone code -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.sentChangePhoneCode -[Back to constructors index](index.md) - - - -Sent change phone code - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_code\_hash|[string](../types/string.md) | Yes|Phone code hash| -|send\_call\_timeout|[int](../types/int.md) | Yes|Send call timeout| - - - -### Type: [account\_SentChangePhoneCode](../types/account_SentChangePhoneCode.md) - - -### Example: - -```php -$account_sentChangePhoneCode = ['_' => 'account.sentChangePhoneCode', 'phone_code_hash' => 'string', 'send_call_timeout' => int]; -``` - - -Or, if you're into Lua: - -```lua -account_sentChangePhoneCode={_='account.sentChangePhoneCode', phone_code_hash='string', send_call_timeout=int} - -``` - - diff --git a/old_docs/API_docs_v23/constructors/auth.authorization.md b/old_docs/API_docs_v23/constructors/auth.authorization.md new file mode 100644 index 00000000..93dc63ee --- /dev/null +++ b/old_docs/API_docs_v23/constructors/auth.authorization.md @@ -0,0 +1,39 @@ +--- +title: auth.authorization +description: Contains user authorization info. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.authorization +[Back to constructors index](index.md) + + + +Contains user authorization info. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|expires|[int](../types/int.md) | Yes|Expiration date| +|user|[User](../types/User.md) | Optional|Info on authorized user| + + + +### Type: [auth.Authorization](../types/auth.Authorization.md) + + +### Example: + +```php +$auth.authorization = ['_' => 'auth.authorization', 'expires' => int, 'user' => User]; +``` + + +Or, if you're into Lua: + +```lua +auth.authorization={_='auth.authorization', expires=int, user=User} + +``` + + diff --git a/old_docs/API_docs_v23/constructors/auth.checkedPhone.md b/old_docs/API_docs_v23/constructors/auth.checkedPhone.md new file mode 100644 index 00000000..3e32f687 --- /dev/null +++ b/old_docs/API_docs_v23/constructors/auth.checkedPhone.md @@ -0,0 +1,39 @@ +--- +title: auth.checkedPhone +description: Checked phone +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.checkedPhone +[Back to constructors index](index.md) + + + +Checked phone + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_registered|[Bool](../types/Bool.md) | Yes|Phone registered?| +|phone\_invited|[Bool](../types/Bool.md) | Yes|Phone invited?| + + + +### Type: [auth.CheckedPhone](../types/auth.CheckedPhone.md) + + +### Example: + +```php +$auth.checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool, 'phone_invited' => Bool]; +``` + + +Or, if you're into Lua: + +```lua +auth.checkedPhone={_='auth.checkedPhone', phone_registered=Bool, phone_invited=Bool} + +``` + + diff --git a/old_docs/API_docs_v23/constructors/auth.exportedAuthorization.md b/old_docs/API_docs_v23/constructors/auth.exportedAuthorization.md new file mode 100644 index 00000000..2a4a9896 --- /dev/null +++ b/old_docs/API_docs_v23/constructors/auth.exportedAuthorization.md @@ -0,0 +1,39 @@ +--- +title: auth.exportedAuthorization +description: Data for copying of authorization between data centres. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.exportedAuthorization +[Back to constructors index](index.md) + + + +Data for copying of authorization between data centres. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|id|[int](../types/int.md) | Yes|Current user identifier| +|bytes|[bytes](../types/bytes.md) | Yes|Authorizes key| + + + +### Type: [auth.ExportedAuthorization](../types/auth.ExportedAuthorization.md) + + +### Example: + +```php +$auth.exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +auth.exportedAuthorization={_='auth.exportedAuthorization', id=int, bytes='bytes'} + +``` + + diff --git a/old_docs/API_docs_v23/constructors/auth.sentAppCode.md b/old_docs/API_docs_v23/constructors/auth.sentAppCode.md new file mode 100644 index 00000000..e4cd5ef0 --- /dev/null +++ b/old_docs/API_docs_v23/constructors/auth.sentAppCode.md @@ -0,0 +1,41 @@ +--- +title: auth.sentAppCode +description: Sent app code +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentAppCode +[Back to constructors index](index.md) + + + +Sent app code + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_registered|[Bool](../types/Bool.md) | Yes|Phone registered?| +|phone\_code\_hash|[string](../types/string.md) | Yes|Phone code hash| +|send\_call\_timeout|[int](../types/int.md) | Yes|Send call timeout| +|is\_password|[Bool](../types/Bool.md) | Yes|Is password?| + + + +### Type: [auth.SentCode](../types/auth.SentCode.md) + + +### Example: + +```php +$auth.sentAppCode = ['_' => 'auth.sentAppCode', 'phone_registered' => Bool, 'phone_code_hash' => 'string', 'send_call_timeout' => int, 'is_password' => Bool]; +``` + + +Or, if you're into Lua: + +```lua +auth.sentAppCode={_='auth.sentAppCode', phone_registered=Bool, phone_code_hash='string', send_call_timeout=int, is_password=Bool} + +``` + + diff --git a/old_docs/API_docs_v23/constructors/auth.sentCode.md b/old_docs/API_docs_v23/constructors/auth.sentCode.md new file mode 100644 index 00000000..c81a8042 --- /dev/null +++ b/old_docs/API_docs_v23/constructors/auth.sentCode.md @@ -0,0 +1,41 @@ +--- +title: auth.sentCode +description: Contains info about a sent verification code. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentCode +[Back to constructors index](index.md) + + + +Contains info about a sent verification code. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_registered|[Bool](../types/Bool.md) | Yes|Phone registered?| +|phone\_code\_hash|[string](../types/string.md) | Yes|Phone code hash, to be stored and later re-used with [auth.signIn](../methods/auth.signIn.md)| +|send\_call\_timeout|[int](../types/int.md) | Yes|Send call timeout| +|is\_password|[Bool](../types/Bool.md) | Yes|Is password?| + + + +### Type: [auth.SentCode](../types/auth.SentCode.md) + + +### Example: + +```php +$auth.sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'phone_code_hash' => 'string', 'send_call_timeout' => int, 'is_password' => Bool]; +``` + + +Or, if you're into Lua: + +```lua +auth.sentCode={_='auth.sentCode', phone_registered=Bool, phone_code_hash='string', send_call_timeout=int, is_password=Bool} + +``` + + diff --git a/old_docs/API_docs_v23/constructors/auth_authorization.md b/old_docs/API_docs_v23/constructors/auth_authorization.md deleted file mode 100644 index 8549a27d..00000000 --- a/old_docs/API_docs_v23/constructors/auth_authorization.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: auth.authorization -description: Contains user authorization info. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.authorization -[Back to constructors index](index.md) - - - -Contains user authorization info. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|expires|[int](../types/int.md) | Yes|Expiration date| -|user|[User](../types/User.md) | Optional|Info on authorized user| - - - -### Type: [auth\_Authorization](../types/auth_Authorization.md) - - -### Example: - -```php -$auth_authorization = ['_' => 'auth.authorization', 'expires' => int, 'user' => User]; -``` - - -Or, if you're into Lua: - -```lua -auth_authorization={_='auth.authorization', expires=int, user=User} - -``` - - diff --git a/old_docs/API_docs_v23/constructors/auth_checkedPhone.md b/old_docs/API_docs_v23/constructors/auth_checkedPhone.md deleted file mode 100644 index c92545b9..00000000 --- a/old_docs/API_docs_v23/constructors/auth_checkedPhone.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: auth.checkedPhone -description: Checked phone -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.checkedPhone -[Back to constructors index](index.md) - - - -Checked phone - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_registered|[Bool](../types/Bool.md) | Yes|Phone registered?| -|phone\_invited|[Bool](../types/Bool.md) | Yes|Phone invited?| - - - -### Type: [auth\_CheckedPhone](../types/auth_CheckedPhone.md) - - -### Example: - -```php -$auth_checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool, 'phone_invited' => Bool]; -``` - - -Or, if you're into Lua: - -```lua -auth_checkedPhone={_='auth.checkedPhone', phone_registered=Bool, phone_invited=Bool} - -``` - - diff --git a/old_docs/API_docs_v23/constructors/auth_exportedAuthorization.md b/old_docs/API_docs_v23/constructors/auth_exportedAuthorization.md deleted file mode 100644 index 8d18916e..00000000 --- a/old_docs/API_docs_v23/constructors/auth_exportedAuthorization.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: auth.exportedAuthorization -description: Data for copying of authorization between data centres. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.exportedAuthorization -[Back to constructors index](index.md) - - - -Data for copying of authorization between data centres. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|id|[int](../types/int.md) | Yes|Current user identifier| -|bytes|[bytes](../types/bytes.md) | Yes|Authorizes key| - - - -### Type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) - - -### Example: - -```php -$auth_exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -auth_exportedAuthorization={_='auth.exportedAuthorization', id=int, bytes='bytes'} - -``` - - diff --git a/old_docs/API_docs_v23/constructors/auth_sentAppCode.md b/old_docs/API_docs_v23/constructors/auth_sentAppCode.md deleted file mode 100644 index f61b0eb9..00000000 --- a/old_docs/API_docs_v23/constructors/auth_sentAppCode.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: auth.sentAppCode -description: Sent app code -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentAppCode -[Back to constructors index](index.md) - - - -Sent app code - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_registered|[Bool](../types/Bool.md) | Yes|Phone registered?| -|phone\_code\_hash|[string](../types/string.md) | Yes|Phone code hash| -|send\_call\_timeout|[int](../types/int.md) | Yes|Send call timeout| -|is\_password|[Bool](../types/Bool.md) | Yes|Is password?| - - - -### Type: [auth\_SentCode](../types/auth_SentCode.md) - - -### Example: - -```php -$auth_sentAppCode = ['_' => 'auth.sentAppCode', 'phone_registered' => Bool, 'phone_code_hash' => 'string', 'send_call_timeout' => int, 'is_password' => Bool]; -``` - - -Or, if you're into Lua: - -```lua -auth_sentAppCode={_='auth.sentAppCode', phone_registered=Bool, phone_code_hash='string', send_call_timeout=int, is_password=Bool} - -``` - - diff --git a/old_docs/API_docs_v23/constructors/auth_sentCode.md b/old_docs/API_docs_v23/constructors/auth_sentCode.md deleted file mode 100644 index 28a9ac2f..00000000 --- a/old_docs/API_docs_v23/constructors/auth_sentCode.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: auth.sentCode -description: Contains info about a sent verification code. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentCode -[Back to constructors index](index.md) - - - -Contains info about a sent verification code. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_registered|[Bool](../types/Bool.md) | Yes|Phone registered?| -|phone\_code\_hash|[string](../types/string.md) | Yes|Phone code hash, to be stored and later re-used with [auth.signIn](../methods/auth.signIn.md)| -|send\_call\_timeout|[int](../types/int.md) | Yes|Send call timeout| -|is\_password|[Bool](../types/Bool.md) | Yes|Is password?| - - - -### Type: [auth\_SentCode](../types/auth_SentCode.md) - - -### Example: - -```php -$auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'phone_code_hash' => 'string', 'send_call_timeout' => int, 'is_password' => Bool]; -``` - - -Or, if you're into Lua: - -```lua -auth_sentCode={_='auth.sentCode', phone_registered=Bool, phone_code_hash='string', send_call_timeout=int, is_password=Bool} - -``` - - diff --git a/old_docs/API_docs_v23/constructors/contacts.blocked.md b/old_docs/API_docs_v23/constructors/contacts.blocked.md new file mode 100644 index 00000000..d2b3f680 --- /dev/null +++ b/old_docs/API_docs_v23/constructors/contacts.blocked.md @@ -0,0 +1,39 @@ +--- +title: contacts.blocked +description: Full list of blocked users. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.blocked +[Back to constructors index](index.md) + + + +Full list of blocked users. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Blocked](../types/contacts.Blocked.md) + + +### Example: + +```php +$contacts.blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.blocked={_='contacts.blocked', blocked={ContactBlocked}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v23/constructors/contacts.blockedSlice.md b/old_docs/API_docs_v23/constructors/contacts.blockedSlice.md new file mode 100644 index 00000000..92d19c72 --- /dev/null +++ b/old_docs/API_docs_v23/constructors/contacts.blockedSlice.md @@ -0,0 +1,40 @@ +--- +title: contacts.blockedSlice +description: Incomplete list of blocked users. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.blockedSlice +[Back to constructors index](index.md) + + + +Incomplete list of blocked users. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of elements in the list| +|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Blocked](../types/contacts.Blocked.md) + + +### Example: + +```php +$contacts.blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.blockedSlice={_='contacts.blockedSlice', count=int, blocked={ContactBlocked}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v23/constructors/contacts.contacts.md b/old_docs/API_docs_v23/constructors/contacts.contacts.md new file mode 100644 index 00000000..d4ccc018 --- /dev/null +++ b/old_docs/API_docs_v23/constructors/contacts.contacts.md @@ -0,0 +1,39 @@ +--- +title: contacts.contacts +description: The current user's contact list and info on users. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.contacts +[Back to constructors index](index.md) + + + +The current user's contact list and info on users. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|contacts|Array of [Contact](../types/Contact.md) | Yes|Contacts| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Contacts](../types/contacts.Contacts.md) + + +### Example: + +```php +$contacts.contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact, Contact], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.contacts={_='contacts.contacts', contacts={Contact}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v23/constructors/contacts.contactsNotModified.md b/old_docs/API_docs_v23/constructors/contacts.contactsNotModified.md new file mode 100644 index 00000000..e2149396 --- /dev/null +++ b/old_docs/API_docs_v23/constructors/contacts.contactsNotModified.md @@ -0,0 +1,33 @@ +--- +title: contacts.contactsNotModified +description: Contact list on the server is the same as the list on the client. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.contactsNotModified +[Back to constructors index](index.md) + + + +Contact list on the server is the same as the list on the client. + + + + +### Type: [contacts.Contacts](../types/contacts.Contacts.md) + + +### Example: + +```php +$contacts.contactsNotModified = ['_' => 'contacts.contactsNotModified']; +``` + + +Or, if you're into Lua: + +```lua +contacts.contactsNotModified={_='contacts.contactsNotModified'} + +``` + + diff --git a/old_docs/API_docs_v23/constructors/contacts.foreignLinkMutual.md b/old_docs/API_docs_v23/constructors/contacts.foreignLinkMutual.md new file mode 100644 index 00000000..2053d3fb --- /dev/null +++ b/old_docs/API_docs_v23/constructors/contacts.foreignLinkMutual.md @@ -0,0 +1,33 @@ +--- +title: contacts.foreignLinkMutual +description: Foreign link mutual +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.foreignLinkMutual +[Back to constructors index](index.md) + + + +Foreign link mutual + + + + +### Type: [contacts.ForeignLink](../types/contacts.ForeignLink.md) + + +### Example: + +```php +$contacts.foreignLinkMutual = ['_' => 'contacts.foreignLinkMutual']; +``` + + +Or, if you're into Lua: + +```lua +contacts.foreignLinkMutual={_='contacts.foreignLinkMutual'} + +``` + + diff --git a/old_docs/API_docs_v23/constructors/contacts.foreignLinkRequested.md b/old_docs/API_docs_v23/constructors/contacts.foreignLinkRequested.md new file mode 100644 index 00000000..ff028e6d --- /dev/null +++ b/old_docs/API_docs_v23/constructors/contacts.foreignLinkRequested.md @@ -0,0 +1,38 @@ +--- +title: contacts.foreignLinkRequested +description: Foreign link requested +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.foreignLinkRequested +[Back to constructors index](index.md) + + + +Foreign link requested + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|has\_phone|[Bool](../types/Bool.md) | Yes|Has phone?| + + + +### Type: [contacts.ForeignLink](../types/contacts.ForeignLink.md) + + +### Example: + +```php +$contacts.foreignLinkRequested = ['_' => 'contacts.foreignLinkRequested', 'has_phone' => Bool]; +``` + + +Or, if you're into Lua: + +```lua +contacts.foreignLinkRequested={_='contacts.foreignLinkRequested', has_phone=Bool} + +``` + + diff --git a/old_docs/API_docs_v23/constructors/contacts.foreignLinkUnknown.md b/old_docs/API_docs_v23/constructors/contacts.foreignLinkUnknown.md new file mode 100644 index 00000000..e4e22bff --- /dev/null +++ b/old_docs/API_docs_v23/constructors/contacts.foreignLinkUnknown.md @@ -0,0 +1,33 @@ +--- +title: contacts.foreignLinkUnknown +description: Foreign link unknown +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.foreignLinkUnknown +[Back to constructors index](index.md) + + + +Foreign link unknown + + + + +### Type: [contacts.ForeignLink](../types/contacts.ForeignLink.md) + + +### Example: + +```php +$contacts.foreignLinkUnknown = ['_' => 'contacts.foreignLinkUnknown']; +``` + + +Or, if you're into Lua: + +```lua +contacts.foreignLinkUnknown={_='contacts.foreignLinkUnknown'} + +``` + + diff --git a/old_docs/API_docs_v23/constructors/contacts.found.md b/old_docs/API_docs_v23/constructors/contacts.found.md new file mode 100644 index 00000000..e7820220 --- /dev/null +++ b/old_docs/API_docs_v23/constructors/contacts.found.md @@ -0,0 +1,39 @@ +--- +title: contacts.found +description: Users found by name substring and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.found +[Back to constructors index](index.md) + + + +Users found by name substring and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|results|Array of [ContactFound](../types/ContactFound.md) | Yes|Results| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Found](../types/contacts.Found.md) + + +### Example: + +```php +$contacts.found = ['_' => 'contacts.found', 'results' => [ContactFound, ContactFound], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.found={_='contacts.found', results={ContactFound}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v23/constructors/contacts.importedContacts.md b/old_docs/API_docs_v23/constructors/contacts.importedContacts.md new file mode 100644 index 00000000..1cbff59a --- /dev/null +++ b/old_docs/API_docs_v23/constructors/contacts.importedContacts.md @@ -0,0 +1,40 @@ +--- +title: contacts.importedContacts +description: Info on succesfully imported contacts. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.importedContacts +[Back to constructors index](index.md) + + + +Info on succesfully imported contacts. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|imported|Array of [ImportedContact](../types/ImportedContact.md) | Yes|Imported| +|retry\_contacts|Array of [long](../types/long.md) | Yes|Retry importing contacts whose client IDs appear here| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.ImportedContacts](../types/contacts.ImportedContacts.md) + + +### Example: + +```php +$contacts.importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact, ImportedContact], 'retry_contacts' => [long, long], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.importedContacts={_='contacts.importedContacts', imported={ImportedContact}, retry_contacts={long}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v23/constructors/contacts.link.md b/old_docs/API_docs_v23/constructors/contacts.link.md new file mode 100644 index 00000000..42a8a5f4 --- /dev/null +++ b/old_docs/API_docs_v23/constructors/contacts.link.md @@ -0,0 +1,40 @@ +--- +title: contacts.link +description: Link +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.link +[Back to constructors index](index.md) + + + +Link + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|my\_link|[contacts.MyLink](../constructors/contacts.MyLink.md) | Yes|My link| +|foreign\_link|[contacts.ForeignLink](../constructors/contacts.ForeignLink.md) | Yes|Foreign link| +|user|[User](../types/User.md) | Optional|User| + + + +### Type: [contacts.Link](../types/contacts.Link.md) + + +### Example: + +```php +$contacts.link = ['_' => 'contacts.link', 'my_link' => contacts.MyLink, 'foreign_link' => contacts.ForeignLink, 'user' => User]; +``` + + +Or, if you're into Lua: + +```lua +contacts.link={_='contacts.link', my_link=contacts.MyLink, foreign_link=contacts.ForeignLink, user=User} + +``` + + diff --git a/old_docs/API_docs_v23/constructors/contacts.myLinkContact.md b/old_docs/API_docs_v23/constructors/contacts.myLinkContact.md new file mode 100644 index 00000000..96ecd16d --- /dev/null +++ b/old_docs/API_docs_v23/constructors/contacts.myLinkContact.md @@ -0,0 +1,33 @@ +--- +title: contacts.myLinkContact +description: My link contact +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.myLinkContact +[Back to constructors index](index.md) + + + +My link contact + + + + +### Type: [contacts.MyLink](../types/contacts.MyLink.md) + + +### Example: + +```php +$contacts.myLinkContact = ['_' => 'contacts.myLinkContact']; +``` + + +Or, if you're into Lua: + +```lua +contacts.myLinkContact={_='contacts.myLinkContact'} + +``` + + diff --git a/old_docs/API_docs_v23/constructors/contacts.myLinkEmpty.md b/old_docs/API_docs_v23/constructors/contacts.myLinkEmpty.md new file mode 100644 index 00000000..9629f8e6 --- /dev/null +++ b/old_docs/API_docs_v23/constructors/contacts.myLinkEmpty.md @@ -0,0 +1,33 @@ +--- +title: contacts.myLinkEmpty +description: Empty my link +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.myLinkEmpty +[Back to constructors index](index.md) + + + +Empty my link + + + + +### Type: [contacts.MyLink](../types/contacts.MyLink.md) + + +### Example: + +```php +$contacts.myLinkEmpty = ['_' => 'contacts.myLinkEmpty']; +``` + + +Or, if you're into Lua: + +```lua +contacts.myLinkEmpty={_='contacts.myLinkEmpty'} + +``` + + diff --git a/old_docs/API_docs_v23/constructors/contacts.myLinkRequested.md b/old_docs/API_docs_v23/constructors/contacts.myLinkRequested.md new file mode 100644 index 00000000..c52f3ade --- /dev/null +++ b/old_docs/API_docs_v23/constructors/contacts.myLinkRequested.md @@ -0,0 +1,38 @@ +--- +title: contacts.myLinkRequested +description: My link requested +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.myLinkRequested +[Back to constructors index](index.md) + + + +My link requested + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|contact|[Bool](../types/Bool.md) | Yes|Contact?| + + + +### Type: [contacts.MyLink](../types/contacts.MyLink.md) + + +### Example: + +```php +$contacts.myLinkRequested = ['_' => 'contacts.myLinkRequested', 'contact' => Bool]; +``` + + +Or, if you're into Lua: + +```lua +contacts.myLinkRequested={_='contacts.myLinkRequested', contact=Bool} + +``` + + diff --git a/old_docs/API_docs_v23/constructors/contacts.suggested.md b/old_docs/API_docs_v23/constructors/contacts.suggested.md new file mode 100644 index 00000000..b9a56bec --- /dev/null +++ b/old_docs/API_docs_v23/constructors/contacts.suggested.md @@ -0,0 +1,39 @@ +--- +title: contacts.suggested +description: Suggested +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.suggested +[Back to constructors index](index.md) + + + +Suggested + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|results|Array of [ContactSuggested](../types/ContactSuggested.md) | Yes|Results| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Suggested](../types/contacts.Suggested.md) + + +### Example: + +```php +$contacts.suggested = ['_' => 'contacts.suggested', 'results' => [ContactSuggested, ContactSuggested], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.suggested={_='contacts.suggested', results={ContactSuggested}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v23/constructors/contacts_blocked.md b/old_docs/API_docs_v23/constructors/contacts_blocked.md deleted file mode 100644 index 20e33002..00000000 --- a/old_docs/API_docs_v23/constructors/contacts_blocked.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: contacts.blocked -description: Full list of blocked users. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.blocked -[Back to constructors index](index.md) - - - -Full list of blocked users. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Blocked](../types/contacts_Blocked.md) - - -### Example: - -```php -$contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_blocked={_='contacts.blocked', blocked={ContactBlocked}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v23/constructors/contacts_blockedSlice.md b/old_docs/API_docs_v23/constructors/contacts_blockedSlice.md deleted file mode 100644 index fcab9a28..00000000 --- a/old_docs/API_docs_v23/constructors/contacts_blockedSlice.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.blockedSlice -description: Incomplete list of blocked users. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.blockedSlice -[Back to constructors index](index.md) - - - -Incomplete list of blocked users. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of elements in the list| -|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Blocked](../types/contacts_Blocked.md) - - -### Example: - -```php -$contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_blockedSlice={_='contacts.blockedSlice', count=int, blocked={ContactBlocked}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v23/constructors/contacts_contacts.md b/old_docs/API_docs_v23/constructors/contacts_contacts.md deleted file mode 100644 index f101b34b..00000000 --- a/old_docs/API_docs_v23/constructors/contacts_contacts.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: contacts.contacts -description: The current user's contact list and info on users. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.contacts -[Back to constructors index](index.md) - - - -The current user's contact list and info on users. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|contacts|Array of [Contact](../types/Contact.md) | Yes|Contacts| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Contacts](../types/contacts_Contacts.md) - - -### Example: - -```php -$contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact, Contact], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_contacts={_='contacts.contacts', contacts={Contact}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v23/constructors/contacts_contactsNotModified.md b/old_docs/API_docs_v23/constructors/contacts_contactsNotModified.md deleted file mode 100644 index 17e76ac3..00000000 --- a/old_docs/API_docs_v23/constructors/contacts_contactsNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: contacts.contactsNotModified -description: Contact list on the server is the same as the list on the client. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.contactsNotModified -[Back to constructors index](index.md) - - - -Contact list on the server is the same as the list on the client. - - - - -### Type: [contacts\_Contacts](../types/contacts_Contacts.md) - - -### Example: - -```php -$contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified']; -``` - - -Or, if you're into Lua: - -```lua -contacts_contactsNotModified={_='contacts.contactsNotModified'} - -``` - - diff --git a/old_docs/API_docs_v23/constructors/contacts_foreignLinkMutual.md b/old_docs/API_docs_v23/constructors/contacts_foreignLinkMutual.md deleted file mode 100644 index 87060249..00000000 --- a/old_docs/API_docs_v23/constructors/contacts_foreignLinkMutual.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: contacts.foreignLinkMutual -description: Foreign link mutual -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.foreignLinkMutual -[Back to constructors index](index.md) - - - -Foreign link mutual - - - - -### Type: [contacts\_ForeignLink](../types/contacts_ForeignLink.md) - - -### Example: - -```php -$contacts_foreignLinkMutual = ['_' => 'contacts.foreignLinkMutual']; -``` - - -Or, if you're into Lua: - -```lua -contacts_foreignLinkMutual={_='contacts.foreignLinkMutual'} - -``` - - diff --git a/old_docs/API_docs_v23/constructors/contacts_foreignLinkRequested.md b/old_docs/API_docs_v23/constructors/contacts_foreignLinkRequested.md deleted file mode 100644 index af17d1d2..00000000 --- a/old_docs/API_docs_v23/constructors/contacts_foreignLinkRequested.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: contacts.foreignLinkRequested -description: Foreign link requested -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.foreignLinkRequested -[Back to constructors index](index.md) - - - -Foreign link requested - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|has\_phone|[Bool](../types/Bool.md) | Yes|Has phone?| - - - -### Type: [contacts\_ForeignLink](../types/contacts_ForeignLink.md) - - -### Example: - -```php -$contacts_foreignLinkRequested = ['_' => 'contacts.foreignLinkRequested', 'has_phone' => Bool]; -``` - - -Or, if you're into Lua: - -```lua -contacts_foreignLinkRequested={_='contacts.foreignLinkRequested', has_phone=Bool} - -``` - - diff --git a/old_docs/API_docs_v23/constructors/contacts_foreignLinkUnknown.md b/old_docs/API_docs_v23/constructors/contacts_foreignLinkUnknown.md deleted file mode 100644 index 9dc8bf7c..00000000 --- a/old_docs/API_docs_v23/constructors/contacts_foreignLinkUnknown.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: contacts.foreignLinkUnknown -description: Foreign link unknown -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.foreignLinkUnknown -[Back to constructors index](index.md) - - - -Foreign link unknown - - - - -### Type: [contacts\_ForeignLink](../types/contacts_ForeignLink.md) - - -### Example: - -```php -$contacts_foreignLinkUnknown = ['_' => 'contacts.foreignLinkUnknown']; -``` - - -Or, if you're into Lua: - -```lua -contacts_foreignLinkUnknown={_='contacts.foreignLinkUnknown'} - -``` - - diff --git a/old_docs/API_docs_v23/constructors/contacts_found.md b/old_docs/API_docs_v23/constructors/contacts_found.md deleted file mode 100644 index a3f36963..00000000 --- a/old_docs/API_docs_v23/constructors/contacts_found.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: contacts.found -description: Users found by name substring and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.found -[Back to constructors index](index.md) - - - -Users found by name substring and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|results|Array of [ContactFound](../types/ContactFound.md) | Yes|Results| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Found](../types/contacts_Found.md) - - -### Example: - -```php -$contacts_found = ['_' => 'contacts.found', 'results' => [ContactFound, ContactFound], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_found={_='contacts.found', results={ContactFound}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v23/constructors/contacts_importedContacts.md b/old_docs/API_docs_v23/constructors/contacts_importedContacts.md deleted file mode 100644 index 121d96d1..00000000 --- a/old_docs/API_docs_v23/constructors/contacts_importedContacts.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.importedContacts -description: Info on succesfully imported contacts. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.importedContacts -[Back to constructors index](index.md) - - - -Info on succesfully imported contacts. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|imported|Array of [ImportedContact](../types/ImportedContact.md) | Yes|Imported| -|retry\_contacts|Array of [long](../types/long.md) | Yes|Retry importing contacts whose client IDs appear here| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) - - -### Example: - -```php -$contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact, ImportedContact], 'retry_contacts' => [long, long], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_importedContacts={_='contacts.importedContacts', imported={ImportedContact}, retry_contacts={long}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v23/constructors/contacts_link.md b/old_docs/API_docs_v23/constructors/contacts_link.md deleted file mode 100644 index 2cb0094a..00000000 --- a/old_docs/API_docs_v23/constructors/contacts_link.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.link -description: Link -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.link -[Back to constructors index](index.md) - - - -Link - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|my\_link|[contacts\_MyLink](../types/contacts_MyLink.md) | Yes|My link| -|foreign\_link|[contacts\_ForeignLink](../types/contacts_ForeignLink.md) | Yes|Foreign link| -|user|[User](../types/User.md) | Optional|User| - - - -### Type: [contacts\_Link](../types/contacts_Link.md) - - -### Example: - -```php -$contacts_link = ['_' => 'contacts.link', 'my_link' => contacts_MyLink, 'foreign_link' => contacts_ForeignLink, 'user' => User]; -``` - - -Or, if you're into Lua: - -```lua -contacts_link={_='contacts.link', my_link=contacts_MyLink, foreign_link=contacts_ForeignLink, user=User} - -``` - - diff --git a/old_docs/API_docs_v23/constructors/contacts_myLinkContact.md b/old_docs/API_docs_v23/constructors/contacts_myLinkContact.md deleted file mode 100644 index 909c6aa6..00000000 --- a/old_docs/API_docs_v23/constructors/contacts_myLinkContact.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: contacts.myLinkContact -description: My link contact -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.myLinkContact -[Back to constructors index](index.md) - - - -My link contact - - - - -### Type: [contacts\_MyLink](../types/contacts_MyLink.md) - - -### Example: - -```php -$contacts_myLinkContact = ['_' => 'contacts.myLinkContact']; -``` - - -Or, if you're into Lua: - -```lua -contacts_myLinkContact={_='contacts.myLinkContact'} - -``` - - diff --git a/old_docs/API_docs_v23/constructors/contacts_myLinkEmpty.md b/old_docs/API_docs_v23/constructors/contacts_myLinkEmpty.md deleted file mode 100644 index 4611a812..00000000 --- a/old_docs/API_docs_v23/constructors/contacts_myLinkEmpty.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: contacts.myLinkEmpty -description: Empty my link -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.myLinkEmpty -[Back to constructors index](index.md) - - - -Empty my link - - - - -### Type: [contacts\_MyLink](../types/contacts_MyLink.md) - - -### Example: - -```php -$contacts_myLinkEmpty = ['_' => 'contacts.myLinkEmpty']; -``` - - -Or, if you're into Lua: - -```lua -contacts_myLinkEmpty={_='contacts.myLinkEmpty'} - -``` - - diff --git a/old_docs/API_docs_v23/constructors/contacts_myLinkRequested.md b/old_docs/API_docs_v23/constructors/contacts_myLinkRequested.md deleted file mode 100644 index 121318b7..00000000 --- a/old_docs/API_docs_v23/constructors/contacts_myLinkRequested.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: contacts.myLinkRequested -description: My link requested -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.myLinkRequested -[Back to constructors index](index.md) - - - -My link requested - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|contact|[Bool](../types/Bool.md) | Yes|Contact?| - - - -### Type: [contacts\_MyLink](../types/contacts_MyLink.md) - - -### Example: - -```php -$contacts_myLinkRequested = ['_' => 'contacts.myLinkRequested', 'contact' => Bool]; -``` - - -Or, if you're into Lua: - -```lua -contacts_myLinkRequested={_='contacts.myLinkRequested', contact=Bool} - -``` - - diff --git a/old_docs/API_docs_v23/constructors/contacts_suggested.md b/old_docs/API_docs_v23/constructors/contacts_suggested.md deleted file mode 100644 index 9bdba0b7..00000000 --- a/old_docs/API_docs_v23/constructors/contacts_suggested.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: contacts.suggested -description: Suggested -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.suggested -[Back to constructors index](index.md) - - - -Suggested - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|results|Array of [ContactSuggested](../types/ContactSuggested.md) | Yes|Results| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Suggested](../types/contacts_Suggested.md) - - -### Example: - -```php -$contacts_suggested = ['_' => 'contacts.suggested', 'results' => [ContactSuggested, ContactSuggested], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_suggested={_='contacts.suggested', results={ContactSuggested}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v23/constructors/help.appUpdate.md b/old_docs/API_docs_v23/constructors/help.appUpdate.md new file mode 100644 index 00000000..14b2d75b --- /dev/null +++ b/old_docs/API_docs_v23/constructors/help.appUpdate.md @@ -0,0 +1,41 @@ +--- +title: help.appUpdate +description: An update is available for the application. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.appUpdate +[Back to constructors index](index.md) + + + +An update is available for the application. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|id|[int](../types/int.md) | Yes|Update ID| +|critical|[Bool](../types/Bool.md) | Yes|Critical?| +|url|[string](../types/string.md) | Yes|Application download URL| +|text|[string](../types/string.md) | Yes|Text description of the update| + + + +### Type: [help.AppUpdate](../types/help.AppUpdate.md) + + +### Example: + +```php +$help.appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'url' => 'string', 'text' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +help.appUpdate={_='help.appUpdate', id=int, critical=Bool, url='string', text='string'} + +``` + + diff --git a/old_docs/API_docs_v23/constructors/help.inviteText.md b/old_docs/API_docs_v23/constructors/help.inviteText.md new file mode 100644 index 00000000..6a6261c1 --- /dev/null +++ b/old_docs/API_docs_v23/constructors/help.inviteText.md @@ -0,0 +1,38 @@ +--- +title: help.inviteText +description: Text of a text message with an invitation to install application. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.inviteText +[Back to constructors index](index.md) + + + +Text of a text message with an invitation to install application. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|message|[string](../types/string.md) | Yes|Text of a message| + + + +### Type: [help.InviteText](../types/help.InviteText.md) + + +### Example: + +```php +$help.inviteText = ['_' => 'help.inviteText', 'message' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +help.inviteText={_='help.inviteText', message='string'} + +``` + + diff --git a/old_docs/API_docs_v23/constructors/help.noAppUpdate.md b/old_docs/API_docs_v23/constructors/help.noAppUpdate.md new file mode 100644 index 00000000..1b69ac9a --- /dev/null +++ b/old_docs/API_docs_v23/constructors/help.noAppUpdate.md @@ -0,0 +1,33 @@ +--- +title: help.noAppUpdate +description: No updates are available for the application. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.noAppUpdate +[Back to constructors index](index.md) + + + +No updates are available for the application. + + + + +### Type: [help.AppUpdate](../types/help.AppUpdate.md) + + +### Example: + +```php +$help.noAppUpdate = ['_' => 'help.noAppUpdate']; +``` + + +Or, if you're into Lua: + +```lua +help.noAppUpdate={_='help.noAppUpdate'} + +``` + + diff --git a/old_docs/API_docs_v23/constructors/help.support.md b/old_docs/API_docs_v23/constructors/help.support.md new file mode 100644 index 00000000..4d4f85fb --- /dev/null +++ b/old_docs/API_docs_v23/constructors/help.support.md @@ -0,0 +1,39 @@ +--- +title: help.support +description: Info on support user. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.support +[Back to constructors index](index.md) + + + +Info on support user. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_number|[string](../types/string.md) | Yes|Phone number| +|user|[User](../types/User.md) | Optional|User| + + + +### Type: [help.Support](../types/help.Support.md) + + +### Example: + +```php +$help.support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => User]; +``` + + +Or, if you're into Lua: + +```lua +help.support={_='help.support', phone_number='string', user=User} + +``` + + diff --git a/old_docs/API_docs_v23/constructors/help_appUpdate.md b/old_docs/API_docs_v23/constructors/help_appUpdate.md deleted file mode 100644 index efba9bdb..00000000 --- a/old_docs/API_docs_v23/constructors/help_appUpdate.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: help.appUpdate -description: An update is available for the application. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.appUpdate -[Back to constructors index](index.md) - - - -An update is available for the application. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|id|[int](../types/int.md) | Yes|Update ID| -|critical|[Bool](../types/Bool.md) | Yes|Critical?| -|url|[string](../types/string.md) | Yes|Application download URL| -|text|[string](../types/string.md) | Yes|Text description of the update| - - - -### Type: [help\_AppUpdate](../types/help_AppUpdate.md) - - -### Example: - -```php -$help_appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'url' => 'string', 'text' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -help_appUpdate={_='help.appUpdate', id=int, critical=Bool, url='string', text='string'} - -``` - - diff --git a/old_docs/API_docs_v23/constructors/help_inviteText.md b/old_docs/API_docs_v23/constructors/help_inviteText.md deleted file mode 100644 index b8317ce3..00000000 --- a/old_docs/API_docs_v23/constructors/help_inviteText.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: help.inviteText -description: Text of a text message with an invitation to install application. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.inviteText -[Back to constructors index](index.md) - - - -Text of a text message with an invitation to install application. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|message|[string](../types/string.md) | Yes|Text of a message| - - - -### Type: [help\_InviteText](../types/help_InviteText.md) - - -### Example: - -```php -$help_inviteText = ['_' => 'help.inviteText', 'message' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -help_inviteText={_='help.inviteText', message='string'} - -``` - - diff --git a/old_docs/API_docs_v23/constructors/help_noAppUpdate.md b/old_docs/API_docs_v23/constructors/help_noAppUpdate.md deleted file mode 100644 index 51505e52..00000000 --- a/old_docs/API_docs_v23/constructors/help_noAppUpdate.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: help.noAppUpdate -description: No updates are available for the application. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.noAppUpdate -[Back to constructors index](index.md) - - - -No updates are available for the application. - - - - -### Type: [help\_AppUpdate](../types/help_AppUpdate.md) - - -### Example: - -```php -$help_noAppUpdate = ['_' => 'help.noAppUpdate']; -``` - - -Or, if you're into Lua: - -```lua -help_noAppUpdate={_='help.noAppUpdate'} - -``` - - diff --git a/old_docs/API_docs_v23/constructors/help_support.md b/old_docs/API_docs_v23/constructors/help_support.md deleted file mode 100644 index 148f7f42..00000000 --- a/old_docs/API_docs_v23/constructors/help_support.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: help.support -description: Info on support user. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.support -[Back to constructors index](index.md) - - - -Info on support user. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_number|[string](../types/string.md) | Yes|Phone number| -|user|[User](../types/User.md) | Optional|User| - - - -### Type: [help\_Support](../types/help_Support.md) - - -### Example: - -```php -$help_support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => User]; -``` - - -Or, if you're into Lua: - -```lua -help_support={_='help.support', phone_number='string', user=User} - -``` - - diff --git a/old_docs/API_docs_v23/constructors/messages.affectedHistory.md b/old_docs/API_docs_v23/constructors/messages.affectedHistory.md new file mode 100644 index 00000000..2d9ff5d7 --- /dev/null +++ b/old_docs/API_docs_v23/constructors/messages.affectedHistory.md @@ -0,0 +1,40 @@ +--- +title: messages.affectedHistory +description: Affected part of communication history with the user or in a chat. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.affectedHistory +[Back to constructors index](index.md) + + + +Affected part of communication history with the user or in a chat. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| +|seq|[int](../types/int.md) | Yes|Seq| +|offset|[int](../types/int.md) | Yes|If a parameter contains positive value, it is necessary to repeat the method call using the given value; during the proceeding of all the history the value itself shall gradually decrease| + + + +### Type: [messages.AffectedHistory](../types/messages.AffectedHistory.md) + + +### Example: + +```php +$messages.affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'seq' => int, 'offset' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.affectedHistory={_='messages.affectedHistory', pts=int, seq=int, offset=int} + +``` + + diff --git a/old_docs/API_docs_v23/constructors/messages.allStickers.md b/old_docs/API_docs_v23/constructors/messages.allStickers.md new file mode 100644 index 00000000..70df0005 --- /dev/null +++ b/old_docs/API_docs_v23/constructors/messages.allStickers.md @@ -0,0 +1,40 @@ +--- +title: messages.allStickers +description: Info about all installed stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.allStickers +[Back to constructors index](index.md) + + + +Info about all installed stickers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[string](../types/string.md) | Yes|Hash| +|packs|Array of [StickerPack](../types/StickerPack.md) | Yes|Packs| +|documents|Array of [Document](../types/Document.md) | Yes|Documents| + + + +### Type: [messages.AllStickers](../types/messages.AllStickers.md) + + +### Example: + +```php +$messages.allStickers = ['_' => 'messages.allStickers', 'hash' => 'string', 'packs' => [StickerPack, StickerPack], 'documents' => [Document, Document]]; +``` + + +Or, if you're into Lua: + +```lua +messages.allStickers={_='messages.allStickers', hash='string', packs={StickerPack}, documents={Document}} + +``` + + diff --git a/old_docs/API_docs_v23/constructors/messages.allStickersNotModified.md b/old_docs/API_docs_v23/constructors/messages.allStickersNotModified.md new file mode 100644 index 00000000..d3db088b --- /dev/null +++ b/old_docs/API_docs_v23/constructors/messages.allStickersNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.allStickersNotModified +description: Info about all installed stickers hasn't changed +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.allStickersNotModified +[Back to constructors index](index.md) + + + +Info about all installed stickers hasn't changed + + + + +### Type: [messages.AllStickers](../types/messages.AllStickers.md) + + +### Example: + +```php +$messages.allStickersNotModified = ['_' => 'messages.allStickersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.allStickersNotModified={_='messages.allStickersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v23/constructors/messages.chatFull.md b/old_docs/API_docs_v23/constructors/messages.chatFull.md new file mode 100644 index 00000000..3906cc54 --- /dev/null +++ b/old_docs/API_docs_v23/constructors/messages.chatFull.md @@ -0,0 +1,40 @@ +--- +title: messages.chatFull +description: Extended info on chat and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.chatFull +[Back to constructors index](index.md) + + + +Extended info on chat and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|full\_chat|[ChatFull](../types/ChatFull.md) | Yes|Extended info on a chat| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.ChatFull](../types/messages.ChatFull.md) + + +### Example: + +```php +$messages.chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.chatFull={_='messages.chatFull', full_chat=ChatFull, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v23/constructors/messages.chats.md b/old_docs/API_docs_v23/constructors/messages.chats.md new file mode 100644 index 00000000..03646bb3 --- /dev/null +++ b/old_docs/API_docs_v23/constructors/messages.chats.md @@ -0,0 +1,39 @@ +--- +title: messages.chats +description: List of chats with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.chats +[Back to constructors index](index.md) + + + +List of chats with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Chats](../types/messages.Chats.md) + + +### Example: + +```php +$messages.chats = ['_' => 'messages.chats', 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.chats={_='messages.chats', chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v23/constructors/messages.dhConfig.md b/old_docs/API_docs_v23/constructors/messages.dhConfig.md new file mode 100644 index 00000000..58344f64 --- /dev/null +++ b/old_docs/API_docs_v23/constructors/messages.dhConfig.md @@ -0,0 +1,41 @@ +--- +title: messages.dhConfig +description: New set of configuring parameters. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dhConfig +[Back to constructors index](index.md) + + + +New set of configuring parameters. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|g|[int](../types/int.md) | Yes|New value **prime**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| +|p|[bytes](../types/bytes.md) | Yes|New value **primitive root**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| +|version|[int](../types/int.md) | Yes|Vestion of set of parameters| +|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| + + + +### Type: [messages.DhConfig](../types/messages.DhConfig.md) + + +### Example: + +```php +$messages.dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'version' => int, 'random' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +messages.dhConfig={_='messages.dhConfig', g=int, p='bytes', version=int, random='bytes'} + +``` + + diff --git a/old_docs/API_docs_v23/constructors/messages.dhConfigNotModified.md b/old_docs/API_docs_v23/constructors/messages.dhConfigNotModified.md new file mode 100644 index 00000000..a9a95389 --- /dev/null +++ b/old_docs/API_docs_v23/constructors/messages.dhConfigNotModified.md @@ -0,0 +1,38 @@ +--- +title: messages.dhConfigNotModified +description: Configuring parameters did not change. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dhConfigNotModified +[Back to constructors index](index.md) + + + +Configuring parameters did not change. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| + + + +### Type: [messages.DhConfig](../types/messages.DhConfig.md) + + +### Example: + +```php +$messages.dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +messages.dhConfigNotModified={_='messages.dhConfigNotModified', random='bytes'} + +``` + + diff --git a/old_docs/API_docs_v23/constructors/messages.dialogs.md b/old_docs/API_docs_v23/constructors/messages.dialogs.md new file mode 100644 index 00000000..a72eabce --- /dev/null +++ b/old_docs/API_docs_v23/constructors/messages.dialogs.md @@ -0,0 +1,41 @@ +--- +title: messages.dialogs +description: Full list of chats with messages and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dialogs +[Back to constructors index](index.md) + + + +Full list of chats with messages and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Dialogs](../types/messages.Dialogs.md) + + +### Example: + +```php +$messages.dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.dialogs={_='messages.dialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v23/constructors/messages.dialogsSlice.md b/old_docs/API_docs_v23/constructors/messages.dialogsSlice.md new file mode 100644 index 00000000..26227d2c --- /dev/null +++ b/old_docs/API_docs_v23/constructors/messages.dialogsSlice.md @@ -0,0 +1,42 @@ +--- +title: messages.dialogsSlice +description: Incomplete list of dialogs with messages and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dialogsSlice +[Back to constructors index](index.md) + + + +Incomplete list of dialogs with messages and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of dialogs| +|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Dialogs](../types/messages.Dialogs.md) + + +### Example: + +```php +$messages.dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.dialogsSlice={_='messages.dialogsSlice', count=int, dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v23/constructors/messages.messages.md b/old_docs/API_docs_v23/constructors/messages.messages.md new file mode 100644 index 00000000..3af71dca --- /dev/null +++ b/old_docs/API_docs_v23/constructors/messages.messages.md @@ -0,0 +1,40 @@ +--- +title: messages.messages +description: Full list of messages with auxilary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.messages +[Back to constructors index](index.md) + + + +Full list of messages with auxilary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Messages](../types/messages.Messages.md) + + +### Example: + +```php +$messages.messages = ['_' => 'messages.messages', 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.messages={_='messages.messages', messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v23/constructors/messages.messagesSlice.md b/old_docs/API_docs_v23/constructors/messages.messagesSlice.md new file mode 100644 index 00000000..2fe91df0 --- /dev/null +++ b/old_docs/API_docs_v23/constructors/messages.messagesSlice.md @@ -0,0 +1,41 @@ +--- +title: messages.messagesSlice +description: Incomplete list of messages and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.messagesSlice +[Back to constructors index](index.md) + + + +Incomplete list of messages and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of messages in the list| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Messages](../types/messages.Messages.md) + + +### Example: + +```php +$messages.messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.messagesSlice={_='messages.messagesSlice', count=int, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v23/constructors/messages.sentEncryptedFile.md b/old_docs/API_docs_v23/constructors/messages.sentEncryptedFile.md new file mode 100644 index 00000000..1f0e43c6 --- /dev/null +++ b/old_docs/API_docs_v23/constructors/messages.sentEncryptedFile.md @@ -0,0 +1,39 @@ +--- +title: messages.sentEncryptedFile +description: Message with a file enclosure sent to a protected chat +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.sentEncryptedFile +[Back to constructors index](index.md) + + + +Message with a file enclosure sent to a protected chat + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Sending date| +|file|[EncryptedFile](../types/EncryptedFile.md) | Optional|Attached file| + + + +### Type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) + + +### Example: + +```php +$messages.sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile]; +``` + + +Or, if you're into Lua: + +```lua +messages.sentEncryptedFile={_='messages.sentEncryptedFile', date=int, file=EncryptedFile} + +``` + + diff --git a/old_docs/API_docs_v23/constructors/messages.sentEncryptedMessage.md b/old_docs/API_docs_v23/constructors/messages.sentEncryptedMessage.md new file mode 100644 index 00000000..3d5eb40c --- /dev/null +++ b/old_docs/API_docs_v23/constructors/messages.sentEncryptedMessage.md @@ -0,0 +1,38 @@ +--- +title: messages.sentEncryptedMessage +description: Message without file attachemts sent to an encrypted file. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.sentEncryptedMessage +[Back to constructors index](index.md) + + + +Message without file attachemts sent to an encrypted file. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Date of sending| + + + +### Type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) + + +### Example: + +```php +$messages.sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.sentEncryptedMessage={_='messages.sentEncryptedMessage', date=int} + +``` + + diff --git a/old_docs/API_docs_v23/constructors/messages.sentMessage.md b/old_docs/API_docs_v23/constructors/messages.sentMessage.md new file mode 100644 index 00000000..8724ab7d --- /dev/null +++ b/old_docs/API_docs_v23/constructors/messages.sentMessage.md @@ -0,0 +1,41 @@ +--- +title: messages.sentMessage +description: Sent message +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.sentMessage +[Back to constructors index](index.md) + + + +Sent message + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|id|[int](../types/int.md) | Yes|ID| +|date|[int](../types/int.md) | Yes|Date| +|pts|[int](../types/int.md) | Yes|Pts| +|seq|[int](../types/int.md) | Yes|Seq| + + + +### Type: [messages.SentMessage](../types/messages.SentMessage.md) + + +### Example: + +```php +$messages.sentMessage = ['_' => 'messages.sentMessage', 'id' => int, 'date' => int, 'pts' => int, 'seq' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.sentMessage={_='messages.sentMessage', id=int, date=int, pts=int, seq=int} + +``` + + diff --git a/old_docs/API_docs_v23/constructors/messages.sentMessageLink.md b/old_docs/API_docs_v23/constructors/messages.sentMessageLink.md new file mode 100644 index 00000000..c537db34 --- /dev/null +++ b/old_docs/API_docs_v23/constructors/messages.sentMessageLink.md @@ -0,0 +1,42 @@ +--- +title: messages.sentMessageLink +description: Sent message link +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.sentMessageLink +[Back to constructors index](index.md) + + + +Sent message link + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|id|[int](../types/int.md) | Yes|ID| +|date|[int](../types/int.md) | Yes|Date| +|pts|[int](../types/int.md) | Yes|Pts| +|seq|[int](../types/int.md) | Yes|Seq| +|links|Array of [contacts.Link](../constructors/contacts.Link.md) | Yes|Links| + + + +### Type: [messages.SentMessage](../types/messages.SentMessage.md) + + +### Example: + +```php +$messages.sentMessageLink = ['_' => 'messages.sentMessageLink', 'id' => int, 'date' => int, 'pts' => int, 'seq' => int, 'links' => [contacts.Link, contacts.Link]]; +``` + + +Or, if you're into Lua: + +```lua +messages.sentMessageLink={_='messages.sentMessageLink', id=int, date=int, pts=int, seq=int, links={contacts.Link}} + +``` + + diff --git a/old_docs/API_docs_v23/constructors/messages.statedMessage.md b/old_docs/API_docs_v23/constructors/messages.statedMessage.md new file mode 100644 index 00000000..031d7464 --- /dev/null +++ b/old_docs/API_docs_v23/constructors/messages.statedMessage.md @@ -0,0 +1,42 @@ +--- +title: messages.statedMessage +description: Stated message +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.statedMessage +[Back to constructors index](index.md) + + + +Stated message + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|message|[Message](../types/Message.md) | Optional|Message| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| +|pts|[int](../types/int.md) | Yes|Pts| +|seq|[int](../types/int.md) | Yes|Seq| + + + +### Type: [messages.StatedMessage](../types/messages.StatedMessage.md) + + +### Example: + +```php +$messages.statedMessage = ['_' => 'messages.statedMessage', 'message' => Message, 'chats' => [Chat, Chat], 'users' => [User, User], 'pts' => int, 'seq' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.statedMessage={_='messages.statedMessage', message=Message, chats={Chat}, users={User}, pts=int, seq=int} + +``` + + diff --git a/old_docs/API_docs_v23/constructors/messages.statedMessageLink.md b/old_docs/API_docs_v23/constructors/messages.statedMessageLink.md new file mode 100644 index 00000000..209ad9eb --- /dev/null +++ b/old_docs/API_docs_v23/constructors/messages.statedMessageLink.md @@ -0,0 +1,43 @@ +--- +title: messages.statedMessageLink +description: Stated message link +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.statedMessageLink +[Back to constructors index](index.md) + + + +Stated message link + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|message|[Message](../types/Message.md) | Optional|Message| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| +|links|Array of [contacts.Link](../constructors/contacts.Link.md) | Yes|Links| +|pts|[int](../types/int.md) | Yes|Pts| +|seq|[int](../types/int.md) | Yes|Seq| + + + +### Type: [messages.StatedMessage](../types/messages.StatedMessage.md) + + +### Example: + +```php +$messages.statedMessageLink = ['_' => 'messages.statedMessageLink', 'message' => Message, 'chats' => [Chat, Chat], 'users' => [User, User], 'links' => [contacts.Link, contacts.Link], 'pts' => int, 'seq' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.statedMessageLink={_='messages.statedMessageLink', message=Message, chats={Chat}, users={User}, links={contacts.Link}, pts=int, seq=int} + +``` + + diff --git a/old_docs/API_docs_v23/constructors/messages.statedMessages.md b/old_docs/API_docs_v23/constructors/messages.statedMessages.md new file mode 100644 index 00000000..0eab0365 --- /dev/null +++ b/old_docs/API_docs_v23/constructors/messages.statedMessages.md @@ -0,0 +1,42 @@ +--- +title: messages.statedMessages +description: Stated messages +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.statedMessages +[Back to constructors index](index.md) + + + +Stated messages + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| +|pts|[int](../types/int.md) | Yes|Pts| +|seq|[int](../types/int.md) | Yes|Seq| + + + +### Type: [messages.StatedMessages](../types/messages.StatedMessages.md) + + +### Example: + +```php +$messages.statedMessages = ['_' => 'messages.statedMessages', 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User], 'pts' => int, 'seq' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.statedMessages={_='messages.statedMessages', messages={Message}, chats={Chat}, users={User}, pts=int, seq=int} + +``` + + diff --git a/old_docs/API_docs_v23/constructors/messages.statedMessagesLinks.md b/old_docs/API_docs_v23/constructors/messages.statedMessagesLinks.md new file mode 100644 index 00000000..1930c460 --- /dev/null +++ b/old_docs/API_docs_v23/constructors/messages.statedMessagesLinks.md @@ -0,0 +1,43 @@ +--- +title: messages.statedMessagesLinks +description: Stated messages links +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.statedMessagesLinks +[Back to constructors index](index.md) + + + +Stated messages links + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| +|links|Array of [contacts.Link](../constructors/contacts.Link.md) | Yes|Links| +|pts|[int](../types/int.md) | Yes|Pts| +|seq|[int](../types/int.md) | Yes|Seq| + + + +### Type: [messages.StatedMessages](../types/messages.StatedMessages.md) + + +### Example: + +```php +$messages.statedMessagesLinks = ['_' => 'messages.statedMessagesLinks', 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User], 'links' => [contacts.Link, contacts.Link], 'pts' => int, 'seq' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.statedMessagesLinks={_='messages.statedMessagesLinks', messages={Message}, chats={Chat}, users={User}, links={contacts.Link}, pts=int, seq=int} + +``` + + diff --git a/old_docs/API_docs_v23/constructors/messages.stickers.md b/old_docs/API_docs_v23/constructors/messages.stickers.md new file mode 100644 index 00000000..310b64b0 --- /dev/null +++ b/old_docs/API_docs_v23/constructors/messages.stickers.md @@ -0,0 +1,39 @@ +--- +title: messages.stickers +description: Found stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickers +[Back to constructors index](index.md) + + + +Found stickers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[string](../types/string.md) | Yes|Hash| +|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| + + + +### Type: [messages.Stickers](../types/messages.Stickers.md) + + +### Example: + +```php +$messages.stickers = ['_' => 'messages.stickers', 'hash' => 'string', 'stickers' => [Document, Document]]; +``` + + +Or, if you're into Lua: + +```lua +messages.stickers={_='messages.stickers', hash='string', stickers={Document}} + +``` + + diff --git a/old_docs/API_docs_v23/constructors/messages.stickersNotModified.md b/old_docs/API_docs_v23/constructors/messages.stickersNotModified.md new file mode 100644 index 00000000..e8c7766c --- /dev/null +++ b/old_docs/API_docs_v23/constructors/messages.stickersNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.stickersNotModified +description: No new stickers were found for the given query +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickersNotModified +[Back to constructors index](index.md) + + + +No new stickers were found for the given query + + + + +### Type: [messages.Stickers](../types/messages.Stickers.md) + + +### Example: + +```php +$messages.stickersNotModified = ['_' => 'messages.stickersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.stickersNotModified={_='messages.stickersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v23/constructors/messages_affectedHistory.md b/old_docs/API_docs_v23/constructors/messages_affectedHistory.md deleted file mode 100644 index e9d319f9..00000000 --- a/old_docs/API_docs_v23/constructors/messages_affectedHistory.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.affectedHistory -description: Affected part of communication history with the user or in a chat. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.affectedHistory -[Back to constructors index](index.md) - - - -Affected part of communication history with the user or in a chat. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| -|seq|[int](../types/int.md) | Yes|Seq| -|offset|[int](../types/int.md) | Yes|If a parameter contains positive value, it is necessary to repeat the method call using the given value; during the proceeding of all the history the value itself shall gradually decrease| - - - -### Type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) - - -### Example: - -```php -$messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'seq' => int, 'offset' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_affectedHistory={_='messages.affectedHistory', pts=int, seq=int, offset=int} - -``` - - diff --git a/old_docs/API_docs_v23/constructors/messages_allStickers.md b/old_docs/API_docs_v23/constructors/messages_allStickers.md deleted file mode 100644 index a7d4b509..00000000 --- a/old_docs/API_docs_v23/constructors/messages_allStickers.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.allStickers -description: Info about all installed stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.allStickers -[Back to constructors index](index.md) - - - -Info about all installed stickers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[string](../types/string.md) | Yes|Hash| -|packs|Array of [StickerPack](../types/StickerPack.md) | Yes|Packs| -|documents|Array of [Document](../types/Document.md) | Yes|Documents| - - - -### Type: [messages\_AllStickers](../types/messages_AllStickers.md) - - -### Example: - -```php -$messages_allStickers = ['_' => 'messages.allStickers', 'hash' => 'string', 'packs' => [StickerPack, StickerPack], 'documents' => [Document, Document]]; -``` - - -Or, if you're into Lua: - -```lua -messages_allStickers={_='messages.allStickers', hash='string', packs={StickerPack}, documents={Document}} - -``` - - diff --git a/old_docs/API_docs_v23/constructors/messages_allStickersNotModified.md b/old_docs/API_docs_v23/constructors/messages_allStickersNotModified.md deleted file mode 100644 index c4da85ab..00000000 --- a/old_docs/API_docs_v23/constructors/messages_allStickersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.allStickersNotModified -description: Info about all installed stickers hasn't changed -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.allStickersNotModified -[Back to constructors index](index.md) - - - -Info about all installed stickers hasn't changed - - - - -### Type: [messages\_AllStickers](../types/messages_AllStickers.md) - - -### Example: - -```php -$messages_allStickersNotModified = ['_' => 'messages.allStickersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_allStickersNotModified={_='messages.allStickersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v23/constructors/messages_chatFull.md b/old_docs/API_docs_v23/constructors/messages_chatFull.md deleted file mode 100644 index 02f1acdf..00000000 --- a/old_docs/API_docs_v23/constructors/messages_chatFull.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.chatFull -description: Extended info on chat and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.chatFull -[Back to constructors index](index.md) - - - -Extended info on chat and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|full\_chat|[ChatFull](../types/ChatFull.md) | Yes|Extended info on a chat| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_ChatFull](../types/messages_ChatFull.md) - - -### Example: - -```php -$messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_chatFull={_='messages.chatFull', full_chat=ChatFull, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v23/constructors/messages_chats.md b/old_docs/API_docs_v23/constructors/messages_chats.md deleted file mode 100644 index 278eb21c..00000000 --- a/old_docs/API_docs_v23/constructors/messages_chats.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.chats -description: List of chats with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.chats -[Back to constructors index](index.md) - - - -List of chats with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Chats](../types/messages_Chats.md) - - -### Example: - -```php -$messages_chats = ['_' => 'messages.chats', 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_chats={_='messages.chats', chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v23/constructors/messages_dhConfig.md b/old_docs/API_docs_v23/constructors/messages_dhConfig.md deleted file mode 100644 index 42c2feb1..00000000 --- a/old_docs/API_docs_v23/constructors/messages_dhConfig.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: messages.dhConfig -description: New set of configuring parameters. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dhConfig -[Back to constructors index](index.md) - - - -New set of configuring parameters. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|g|[int](../types/int.md) | Yes|New value **prime**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| -|p|[bytes](../types/bytes.md) | Yes|New value **primitive root**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| -|version|[int](../types/int.md) | Yes|Vestion of set of parameters| -|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| - - - -### Type: [messages\_DhConfig](../types/messages_DhConfig.md) - - -### Example: - -```php -$messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'version' => int, 'random' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -messages_dhConfig={_='messages.dhConfig', g=int, p='bytes', version=int, random='bytes'} - -``` - - diff --git a/old_docs/API_docs_v23/constructors/messages_dhConfigNotModified.md b/old_docs/API_docs_v23/constructors/messages_dhConfigNotModified.md deleted file mode 100644 index 5bf64230..00000000 --- a/old_docs/API_docs_v23/constructors/messages_dhConfigNotModified.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.dhConfigNotModified -description: Configuring parameters did not change. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dhConfigNotModified -[Back to constructors index](index.md) - - - -Configuring parameters did not change. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| - - - -### Type: [messages\_DhConfig](../types/messages_DhConfig.md) - - -### Example: - -```php -$messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -messages_dhConfigNotModified={_='messages.dhConfigNotModified', random='bytes'} - -``` - - diff --git a/old_docs/API_docs_v23/constructors/messages_dialogs.md b/old_docs/API_docs_v23/constructors/messages_dialogs.md deleted file mode 100644 index e6a431b4..00000000 --- a/old_docs/API_docs_v23/constructors/messages_dialogs.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: messages.dialogs -description: Full list of chats with messages and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dialogs -[Back to constructors index](index.md) - - - -Full list of chats with messages and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Dialogs](../types/messages_Dialogs.md) - - -### Example: - -```php -$messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_dialogs={_='messages.dialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v23/constructors/messages_dialogsSlice.md b/old_docs/API_docs_v23/constructors/messages_dialogsSlice.md deleted file mode 100644 index f183b9a8..00000000 --- a/old_docs/API_docs_v23/constructors/messages_dialogsSlice.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: messages.dialogsSlice -description: Incomplete list of dialogs with messages and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dialogsSlice -[Back to constructors index](index.md) - - - -Incomplete list of dialogs with messages and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of dialogs| -|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Dialogs](../types/messages_Dialogs.md) - - -### Example: - -```php -$messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_dialogsSlice={_='messages.dialogsSlice', count=int, dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v23/constructors/messages_messages.md b/old_docs/API_docs_v23/constructors/messages_messages.md deleted file mode 100644 index 3e369e1a..00000000 --- a/old_docs/API_docs_v23/constructors/messages_messages.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.messages -description: Full list of messages with auxilary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.messages -[Back to constructors index](index.md) - - - -Full list of messages with auxilary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Messages](../types/messages_Messages.md) - - -### Example: - -```php -$messages_messages = ['_' => 'messages.messages', 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_messages={_='messages.messages', messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v23/constructors/messages_messagesSlice.md b/old_docs/API_docs_v23/constructors/messages_messagesSlice.md deleted file mode 100644 index f9b8dc18..00000000 --- a/old_docs/API_docs_v23/constructors/messages_messagesSlice.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: messages.messagesSlice -description: Incomplete list of messages and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.messagesSlice -[Back to constructors index](index.md) - - - -Incomplete list of messages and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of messages in the list| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Messages](../types/messages_Messages.md) - - -### Example: - -```php -$messages_messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_messagesSlice={_='messages.messagesSlice', count=int, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v23/constructors/messages_sentEncryptedFile.md b/old_docs/API_docs_v23/constructors/messages_sentEncryptedFile.md deleted file mode 100644 index fdc2a11e..00000000 --- a/old_docs/API_docs_v23/constructors/messages_sentEncryptedFile.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.sentEncryptedFile -description: Message with a file enclosure sent to a protected chat -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.sentEncryptedFile -[Back to constructors index](index.md) - - - -Message with a file enclosure sent to a protected chat - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Sending date| -|file|[EncryptedFile](../types/EncryptedFile.md) | Optional|Attached file| - - - -### Type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) - - -### Example: - -```php -$messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile]; -``` - - -Or, if you're into Lua: - -```lua -messages_sentEncryptedFile={_='messages.sentEncryptedFile', date=int, file=EncryptedFile} - -``` - - diff --git a/old_docs/API_docs_v23/constructors/messages_sentEncryptedMessage.md b/old_docs/API_docs_v23/constructors/messages_sentEncryptedMessage.md deleted file mode 100644 index 36b2bbff..00000000 --- a/old_docs/API_docs_v23/constructors/messages_sentEncryptedMessage.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.sentEncryptedMessage -description: Message without file attachemts sent to an encrypted file. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.sentEncryptedMessage -[Back to constructors index](index.md) - - - -Message without file attachemts sent to an encrypted file. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Date of sending| - - - -### Type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) - - -### Example: - -```php -$messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_sentEncryptedMessage={_='messages.sentEncryptedMessage', date=int} - -``` - - diff --git a/old_docs/API_docs_v23/constructors/messages_sentMessage.md b/old_docs/API_docs_v23/constructors/messages_sentMessage.md deleted file mode 100644 index cc3b1145..00000000 --- a/old_docs/API_docs_v23/constructors/messages_sentMessage.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: messages.sentMessage -description: Sent message -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.sentMessage -[Back to constructors index](index.md) - - - -Sent message - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|id|[int](../types/int.md) | Yes|ID| -|date|[int](../types/int.md) | Yes|Date| -|pts|[int](../types/int.md) | Yes|Pts| -|seq|[int](../types/int.md) | Yes|Seq| - - - -### Type: [messages\_SentMessage](../types/messages_SentMessage.md) - - -### Example: - -```php -$messages_sentMessage = ['_' => 'messages.sentMessage', 'id' => int, 'date' => int, 'pts' => int, 'seq' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_sentMessage={_='messages.sentMessage', id=int, date=int, pts=int, seq=int} - -``` - - diff --git a/old_docs/API_docs_v23/constructors/messages_sentMessageLink.md b/old_docs/API_docs_v23/constructors/messages_sentMessageLink.md deleted file mode 100644 index acbbdc73..00000000 --- a/old_docs/API_docs_v23/constructors/messages_sentMessageLink.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: messages.sentMessageLink -description: Sent message link -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.sentMessageLink -[Back to constructors index](index.md) - - - -Sent message link - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|id|[int](../types/int.md) | Yes|ID| -|date|[int](../types/int.md) | Yes|Date| -|pts|[int](../types/int.md) | Yes|Pts| -|seq|[int](../types/int.md) | Yes|Seq| -|links|Array of [contacts\_Link](../types/contacts_Link.md) | Yes|Links| - - - -### Type: [messages\_SentMessage](../types/messages_SentMessage.md) - - -### Example: - -```php -$messages_sentMessageLink = ['_' => 'messages.sentMessageLink', 'id' => int, 'date' => int, 'pts' => int, 'seq' => int, 'links' => [contacts_Link, contacts_Link]]; -``` - - -Or, if you're into Lua: - -```lua -messages_sentMessageLink={_='messages.sentMessageLink', id=int, date=int, pts=int, seq=int, links={contacts_Link}} - -``` - - diff --git a/old_docs/API_docs_v23/constructors/messages_statedMessage.md b/old_docs/API_docs_v23/constructors/messages_statedMessage.md deleted file mode 100644 index 15c8b360..00000000 --- a/old_docs/API_docs_v23/constructors/messages_statedMessage.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: messages.statedMessage -description: Stated message -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.statedMessage -[Back to constructors index](index.md) - - - -Stated message - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|message|[Message](../types/Message.md) | Optional|Message| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| -|pts|[int](../types/int.md) | Yes|Pts| -|seq|[int](../types/int.md) | Yes|Seq| - - - -### Type: [messages\_StatedMessage](../types/messages_StatedMessage.md) - - -### Example: - -```php -$messages_statedMessage = ['_' => 'messages.statedMessage', 'message' => Message, 'chats' => [Chat, Chat], 'users' => [User, User], 'pts' => int, 'seq' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_statedMessage={_='messages.statedMessage', message=Message, chats={Chat}, users={User}, pts=int, seq=int} - -``` - - diff --git a/old_docs/API_docs_v23/constructors/messages_statedMessageLink.md b/old_docs/API_docs_v23/constructors/messages_statedMessageLink.md deleted file mode 100644 index 45e7e3ad..00000000 --- a/old_docs/API_docs_v23/constructors/messages_statedMessageLink.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: messages.statedMessageLink -description: Stated message link -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.statedMessageLink -[Back to constructors index](index.md) - - - -Stated message link - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|message|[Message](../types/Message.md) | Optional|Message| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| -|links|Array of [contacts\_Link](../types/contacts_Link.md) | Yes|Links| -|pts|[int](../types/int.md) | Yes|Pts| -|seq|[int](../types/int.md) | Yes|Seq| - - - -### Type: [messages\_StatedMessage](../types/messages_StatedMessage.md) - - -### Example: - -```php -$messages_statedMessageLink = ['_' => 'messages.statedMessageLink', 'message' => Message, 'chats' => [Chat, Chat], 'users' => [User, User], 'links' => [contacts_Link, contacts_Link], 'pts' => int, 'seq' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_statedMessageLink={_='messages.statedMessageLink', message=Message, chats={Chat}, users={User}, links={contacts_Link}, pts=int, seq=int} - -``` - - diff --git a/old_docs/API_docs_v23/constructors/messages_statedMessages.md b/old_docs/API_docs_v23/constructors/messages_statedMessages.md deleted file mode 100644 index 93b1baa7..00000000 --- a/old_docs/API_docs_v23/constructors/messages_statedMessages.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: messages.statedMessages -description: Stated messages -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.statedMessages -[Back to constructors index](index.md) - - - -Stated messages - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| -|pts|[int](../types/int.md) | Yes|Pts| -|seq|[int](../types/int.md) | Yes|Seq| - - - -### Type: [messages\_StatedMessages](../types/messages_StatedMessages.md) - - -### Example: - -```php -$messages_statedMessages = ['_' => 'messages.statedMessages', 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User], 'pts' => int, 'seq' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_statedMessages={_='messages.statedMessages', messages={Message}, chats={Chat}, users={User}, pts=int, seq=int} - -``` - - diff --git a/old_docs/API_docs_v23/constructors/messages_statedMessagesLinks.md b/old_docs/API_docs_v23/constructors/messages_statedMessagesLinks.md deleted file mode 100644 index 9b0cba6d..00000000 --- a/old_docs/API_docs_v23/constructors/messages_statedMessagesLinks.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: messages.statedMessagesLinks -description: Stated messages links -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.statedMessagesLinks -[Back to constructors index](index.md) - - - -Stated messages links - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| -|links|Array of [contacts\_Link](../types/contacts_Link.md) | Yes|Links| -|pts|[int](../types/int.md) | Yes|Pts| -|seq|[int](../types/int.md) | Yes|Seq| - - - -### Type: [messages\_StatedMessages](../types/messages_StatedMessages.md) - - -### Example: - -```php -$messages_statedMessagesLinks = ['_' => 'messages.statedMessagesLinks', 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User], 'links' => [contacts_Link, contacts_Link], 'pts' => int, 'seq' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_statedMessagesLinks={_='messages.statedMessagesLinks', messages={Message}, chats={Chat}, users={User}, links={contacts_Link}, pts=int, seq=int} - -``` - - diff --git a/old_docs/API_docs_v23/constructors/messages_stickers.md b/old_docs/API_docs_v23/constructors/messages_stickers.md deleted file mode 100644 index 1c007df2..00000000 --- a/old_docs/API_docs_v23/constructors/messages_stickers.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.stickers -description: Found stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickers -[Back to constructors index](index.md) - - - -Found stickers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[string](../types/string.md) | Yes|Hash| -|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| - - - -### Type: [messages\_Stickers](../types/messages_Stickers.md) - - -### Example: - -```php -$messages_stickers = ['_' => 'messages.stickers', 'hash' => 'string', 'stickers' => [Document, Document]]; -``` - - -Or, if you're into Lua: - -```lua -messages_stickers={_='messages.stickers', hash='string', stickers={Document}} - -``` - - diff --git a/old_docs/API_docs_v23/constructors/messages_stickersNotModified.md b/old_docs/API_docs_v23/constructors/messages_stickersNotModified.md deleted file mode 100644 index 3d434a79..00000000 --- a/old_docs/API_docs_v23/constructors/messages_stickersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.stickersNotModified -description: No new stickers were found for the given query -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickersNotModified -[Back to constructors index](index.md) - - - -No new stickers were found for the given query - - - - -### Type: [messages\_Stickers](../types/messages_Stickers.md) - - -### Example: - -```php -$messages_stickersNotModified = ['_' => 'messages.stickersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_stickersNotModified={_='messages.stickersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v23/constructors/photos.photo.md b/old_docs/API_docs_v23/constructors/photos.photo.md new file mode 100644 index 00000000..43d3efc7 --- /dev/null +++ b/old_docs/API_docs_v23/constructors/photos.photo.md @@ -0,0 +1,39 @@ +--- +title: photos.photo +description: Photo with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: photos.photo +[Back to constructors index](index.md) + + + +Photo with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|photo|[Photo](../types/Photo.md) | Optional|Photo| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [photos.Photo](../types/photos.Photo.md) + + +### Example: + +```php +$photos.photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +photos.photo={_='photos.photo', photo=Photo, users={User}} + +``` + + diff --git a/old_docs/API_docs_v23/constructors/photos.photos.md b/old_docs/API_docs_v23/constructors/photos.photos.md new file mode 100644 index 00000000..901a9693 --- /dev/null +++ b/old_docs/API_docs_v23/constructors/photos.photos.md @@ -0,0 +1,39 @@ +--- +title: photos.photos +description: Full list of photos with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: photos.photos +[Back to constructors index](index.md) + + + +Full list of photos with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [photos.Photos](../types/photos.Photos.md) + + +### Example: + +```php +$photos.photos = ['_' => 'photos.photos', 'photos' => [Photo, Photo], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +photos.photos={_='photos.photos', photos={Photo}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v23/constructors/photos.photosSlice.md b/old_docs/API_docs_v23/constructors/photos.photosSlice.md new file mode 100644 index 00000000..2cca3546 --- /dev/null +++ b/old_docs/API_docs_v23/constructors/photos.photosSlice.md @@ -0,0 +1,40 @@ +--- +title: photos.photosSlice +description: Incomplete list of photos with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: photos.photosSlice +[Back to constructors index](index.md) + + + +Incomplete list of photos with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of photos| +|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [photos.Photos](../types/photos.Photos.md) + + +### Example: + +```php +$photos.photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo, Photo], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +photos.photosSlice={_='photos.photosSlice', count=int, photos={Photo}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v23/constructors/photos_photo.md b/old_docs/API_docs_v23/constructors/photos_photo.md deleted file mode 100644 index d5ad61d9..00000000 --- a/old_docs/API_docs_v23/constructors/photos_photo.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: photos.photo -description: Photo with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: photos.photo -[Back to constructors index](index.md) - - - -Photo with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|photo|[Photo](../types/Photo.md) | Optional|Photo| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [photos\_Photo](../types/photos_Photo.md) - - -### Example: - -```php -$photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -photos_photo={_='photos.photo', photo=Photo, users={User}} - -``` - - diff --git a/old_docs/API_docs_v23/constructors/photos_photos.md b/old_docs/API_docs_v23/constructors/photos_photos.md deleted file mode 100644 index 6ae5d048..00000000 --- a/old_docs/API_docs_v23/constructors/photos_photos.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: photos.photos -description: Full list of photos with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: photos.photos -[Back to constructors index](index.md) - - - -Full list of photos with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [photos\_Photos](../types/photos_Photos.md) - - -### Example: - -```php -$photos_photos = ['_' => 'photos.photos', 'photos' => [Photo, Photo], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -photos_photos={_='photos.photos', photos={Photo}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v23/constructors/photos_photosSlice.md b/old_docs/API_docs_v23/constructors/photos_photosSlice.md deleted file mode 100644 index 5c465c21..00000000 --- a/old_docs/API_docs_v23/constructors/photos_photosSlice.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: photos.photosSlice -description: Incomplete list of photos with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: photos.photosSlice -[Back to constructors index](index.md) - - - -Incomplete list of photos with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of photos| -|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [photos\_Photos](../types/photos_Photos.md) - - -### Example: - -```php -$photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo, Photo], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -photos_photosSlice={_='photos.photosSlice', count=int, photos={Photo}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v23/constructors/storage.fileGif.md b/old_docs/API_docs_v23/constructors/storage.fileGif.md new file mode 100644 index 00000000..8193bd25 --- /dev/null +++ b/old_docs/API_docs_v23/constructors/storage.fileGif.md @@ -0,0 +1,33 @@ +--- +title: storage.fileGif +description: GIF image. MIME type: `image/gif`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileGif +[Back to constructors index](index.md) + + + +GIF image. MIME type: `image/gif`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileGif = ['_' => 'storage.fileGif']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileGif={_='storage.fileGif'} + +``` + + diff --git a/old_docs/API_docs_v23/constructors/storage.fileJpeg.md b/old_docs/API_docs_v23/constructors/storage.fileJpeg.md new file mode 100644 index 00000000..7f125963 --- /dev/null +++ b/old_docs/API_docs_v23/constructors/storage.fileJpeg.md @@ -0,0 +1,33 @@ +--- +title: storage.fileJpeg +description: JPEG image. MIME type: `image/jpeg`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileJpeg +[Back to constructors index](index.md) + + + +JPEG image. MIME type: `image/jpeg`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileJpeg = ['_' => 'storage.fileJpeg']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileJpeg={_='storage.fileJpeg'} + +``` + + diff --git a/old_docs/API_docs_v23/constructors/storage.fileMov.md b/old_docs/API_docs_v23/constructors/storage.fileMov.md new file mode 100644 index 00000000..cb3742e0 --- /dev/null +++ b/old_docs/API_docs_v23/constructors/storage.fileMov.md @@ -0,0 +1,33 @@ +--- +title: storage.fileMov +description: Quicktime video. MIME type: `video/quicktime`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileMov +[Back to constructors index](index.md) + + + +Quicktime video. MIME type: `video/quicktime`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileMov = ['_' => 'storage.fileMov']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileMov={_='storage.fileMov'} + +``` + + diff --git a/old_docs/API_docs_v23/constructors/storage.fileMp3.md b/old_docs/API_docs_v23/constructors/storage.fileMp3.md new file mode 100644 index 00000000..617f2d39 --- /dev/null +++ b/old_docs/API_docs_v23/constructors/storage.fileMp3.md @@ -0,0 +1,33 @@ +--- +title: storage.fileMp3 +description: Mp3 audio. MIME type: `audio/mpeg`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileMp3 +[Back to constructors index](index.md) + + + +Mp3 audio. MIME type: `audio/mpeg`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileMp3 = ['_' => 'storage.fileMp3']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileMp3={_='storage.fileMp3'} + +``` + + diff --git a/old_docs/API_docs_v23/constructors/storage.fileMp4.md b/old_docs/API_docs_v23/constructors/storage.fileMp4.md new file mode 100644 index 00000000..37038176 --- /dev/null +++ b/old_docs/API_docs_v23/constructors/storage.fileMp4.md @@ -0,0 +1,33 @@ +--- +title: storage.fileMp4 +description: MPEG-4 video. MIME type: `video/mp4`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileMp4 +[Back to constructors index](index.md) + + + +MPEG-4 video. MIME type: `video/mp4`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileMp4 = ['_' => 'storage.fileMp4']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileMp4={_='storage.fileMp4'} + +``` + + diff --git a/old_docs/API_docs_v23/constructors/storage.filePartial.md b/old_docs/API_docs_v23/constructors/storage.filePartial.md new file mode 100644 index 00000000..98779e71 --- /dev/null +++ b/old_docs/API_docs_v23/constructors/storage.filePartial.md @@ -0,0 +1,33 @@ +--- +title: storage.filePartial +description: Part of a bigger file. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.filePartial +[Back to constructors index](index.md) + + + +Part of a bigger file. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.filePartial = ['_' => 'storage.filePartial']; +``` + + +Or, if you're into Lua: + +```lua +storage.filePartial={_='storage.filePartial'} + +``` + + diff --git a/old_docs/API_docs_v23/constructors/storage.filePdf.md b/old_docs/API_docs_v23/constructors/storage.filePdf.md new file mode 100644 index 00000000..136c0614 --- /dev/null +++ b/old_docs/API_docs_v23/constructors/storage.filePdf.md @@ -0,0 +1,33 @@ +--- +title: storage.filePdf +description: PDF document image. MIME type: `application/pdf`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.filePdf +[Back to constructors index](index.md) + + + +PDF document image. MIME type: `application/pdf`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.filePdf = ['_' => 'storage.filePdf']; +``` + + +Or, if you're into Lua: + +```lua +storage.filePdf={_='storage.filePdf'} + +``` + + diff --git a/old_docs/API_docs_v23/constructors/storage.filePng.md b/old_docs/API_docs_v23/constructors/storage.filePng.md new file mode 100644 index 00000000..db01ce0e --- /dev/null +++ b/old_docs/API_docs_v23/constructors/storage.filePng.md @@ -0,0 +1,33 @@ +--- +title: storage.filePng +description: PNG image. MIME type: `image/png`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.filePng +[Back to constructors index](index.md) + + + +PNG image. MIME type: `image/png`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.filePng = ['_' => 'storage.filePng']; +``` + + +Or, if you're into Lua: + +```lua +storage.filePng={_='storage.filePng'} + +``` + + diff --git a/old_docs/API_docs_v23/constructors/storage.fileUnknown.md b/old_docs/API_docs_v23/constructors/storage.fileUnknown.md new file mode 100644 index 00000000..26f0a5ae --- /dev/null +++ b/old_docs/API_docs_v23/constructors/storage.fileUnknown.md @@ -0,0 +1,33 @@ +--- +title: storage.fileUnknown +description: Unknown type. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileUnknown +[Back to constructors index](index.md) + + + +Unknown type. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileUnknown = ['_' => 'storage.fileUnknown']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileUnknown={_='storage.fileUnknown'} + +``` + + diff --git a/old_docs/API_docs_v23/constructors/storage.fileWebp.md b/old_docs/API_docs_v23/constructors/storage.fileWebp.md new file mode 100644 index 00000000..63c9ded1 --- /dev/null +++ b/old_docs/API_docs_v23/constructors/storage.fileWebp.md @@ -0,0 +1,33 @@ +--- +title: storage.fileWebp +description: WEBP image. MIME type: `image/webp`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileWebp +[Back to constructors index](index.md) + + + +WEBP image. MIME type: `image/webp`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileWebp = ['_' => 'storage.fileWebp']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileWebp={_='storage.fileWebp'} + +``` + + diff --git a/old_docs/API_docs_v23/constructors/storage_fileGif.md b/old_docs/API_docs_v23/constructors/storage_fileGif.md deleted file mode 100644 index 218c7491..00000000 --- a/old_docs/API_docs_v23/constructors/storage_fileGif.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileGif -description: GIF image. MIME type: `image/gif`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileGif -[Back to constructors index](index.md) - - - -GIF image. MIME type: `image/gif`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileGif = ['_' => 'storage.fileGif']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileGif={_='storage.fileGif'} - -``` - - diff --git a/old_docs/API_docs_v23/constructors/storage_fileJpeg.md b/old_docs/API_docs_v23/constructors/storage_fileJpeg.md deleted file mode 100644 index 925531cd..00000000 --- a/old_docs/API_docs_v23/constructors/storage_fileJpeg.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileJpeg -description: JPEG image. MIME type: `image/jpeg`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileJpeg -[Back to constructors index](index.md) - - - -JPEG image. MIME type: `image/jpeg`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileJpeg = ['_' => 'storage.fileJpeg']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileJpeg={_='storage.fileJpeg'} - -``` - - diff --git a/old_docs/API_docs_v23/constructors/storage_fileMov.md b/old_docs/API_docs_v23/constructors/storage_fileMov.md deleted file mode 100644 index eaf2a6ff..00000000 --- a/old_docs/API_docs_v23/constructors/storage_fileMov.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileMov -description: Quicktime video. MIME type: `video/quicktime`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileMov -[Back to constructors index](index.md) - - - -Quicktime video. MIME type: `video/quicktime`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileMov = ['_' => 'storage.fileMov']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileMov={_='storage.fileMov'} - -``` - - diff --git a/old_docs/API_docs_v23/constructors/storage_fileMp3.md b/old_docs/API_docs_v23/constructors/storage_fileMp3.md deleted file mode 100644 index 9afcefbb..00000000 --- a/old_docs/API_docs_v23/constructors/storage_fileMp3.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileMp3 -description: Mp3 audio. MIME type: `audio/mpeg`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileMp3 -[Back to constructors index](index.md) - - - -Mp3 audio. MIME type: `audio/mpeg`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileMp3 = ['_' => 'storage.fileMp3']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileMp3={_='storage.fileMp3'} - -``` - - diff --git a/old_docs/API_docs_v23/constructors/storage_fileMp4.md b/old_docs/API_docs_v23/constructors/storage_fileMp4.md deleted file mode 100644 index cdc0e783..00000000 --- a/old_docs/API_docs_v23/constructors/storage_fileMp4.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileMp4 -description: MPEG-4 video. MIME type: `video/mp4`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileMp4 -[Back to constructors index](index.md) - - - -MPEG-4 video. MIME type: `video/mp4`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileMp4 = ['_' => 'storage.fileMp4']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileMp4={_='storage.fileMp4'} - -``` - - diff --git a/old_docs/API_docs_v23/constructors/storage_filePartial.md b/old_docs/API_docs_v23/constructors/storage_filePartial.md deleted file mode 100644 index 9bfadf63..00000000 --- a/old_docs/API_docs_v23/constructors/storage_filePartial.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.filePartial -description: Part of a bigger file. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.filePartial -[Back to constructors index](index.md) - - - -Part of a bigger file. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_filePartial = ['_' => 'storage.filePartial']; -``` - - -Or, if you're into Lua: - -```lua -storage_filePartial={_='storage.filePartial'} - -``` - - diff --git a/old_docs/API_docs_v23/constructors/storage_filePdf.md b/old_docs/API_docs_v23/constructors/storage_filePdf.md deleted file mode 100644 index efb022cc..00000000 --- a/old_docs/API_docs_v23/constructors/storage_filePdf.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.filePdf -description: PDF document image. MIME type: `application/pdf`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.filePdf -[Back to constructors index](index.md) - - - -PDF document image. MIME type: `application/pdf`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_filePdf = ['_' => 'storage.filePdf']; -``` - - -Or, if you're into Lua: - -```lua -storage_filePdf={_='storage.filePdf'} - -``` - - diff --git a/old_docs/API_docs_v23/constructors/storage_filePng.md b/old_docs/API_docs_v23/constructors/storage_filePng.md deleted file mode 100644 index 412759e4..00000000 --- a/old_docs/API_docs_v23/constructors/storage_filePng.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.filePng -description: PNG image. MIME type: `image/png`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.filePng -[Back to constructors index](index.md) - - - -PNG image. MIME type: `image/png`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_filePng = ['_' => 'storage.filePng']; -``` - - -Or, if you're into Lua: - -```lua -storage_filePng={_='storage.filePng'} - -``` - - diff --git a/old_docs/API_docs_v23/constructors/storage_fileUnknown.md b/old_docs/API_docs_v23/constructors/storage_fileUnknown.md deleted file mode 100644 index ed33dd5e..00000000 --- a/old_docs/API_docs_v23/constructors/storage_fileUnknown.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileUnknown -description: Unknown type. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileUnknown -[Back to constructors index](index.md) - - - -Unknown type. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileUnknown = ['_' => 'storage.fileUnknown']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileUnknown={_='storage.fileUnknown'} - -``` - - diff --git a/old_docs/API_docs_v23/constructors/storage_fileWebp.md b/old_docs/API_docs_v23/constructors/storage_fileWebp.md deleted file mode 100644 index 04dcad74..00000000 --- a/old_docs/API_docs_v23/constructors/storage_fileWebp.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileWebp -description: WEBP image. MIME type: `image/webp`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileWebp -[Back to constructors index](index.md) - - - -WEBP image. MIME type: `image/webp`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileWebp = ['_' => 'storage.fileWebp']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileWebp={_='storage.fileWebp'} - -``` - - diff --git a/old_docs/API_docs_v23/constructors/updateContactLink.md b/old_docs/API_docs_v23/constructors/updateContactLink.md index e12cd9e4..8234036f 100644 --- a/old_docs/API_docs_v23/constructors/updateContactLink.md +++ b/old_docs/API_docs_v23/constructors/updateContactLink.md @@ -15,8 +15,8 @@ Update contact link | Name | Type | Required | Description | |----------|---------------|----------|-------------| |user\_id|[int](../types/int.md) | Yes|User ID| -|my\_link|[contacts\_MyLink](../types/contacts_MyLink.md) | Yes|My link| -|foreign\_link|[contacts\_ForeignLink](../types/contacts_ForeignLink.md) | Yes|Foreign link| +|my\_link|[contacts.MyLink](../constructors/contacts.MyLink.md) | Yes|My link| +|foreign\_link|[contacts.ForeignLink](../constructors/contacts.ForeignLink.md) | Yes|Foreign link| @@ -26,14 +26,14 @@ Update contact link ### Example: ```php -$updateContactLink = ['_' => 'updateContactLink', 'user_id' => int, 'my_link' => contacts_MyLink, 'foreign_link' => contacts_ForeignLink]; +$updateContactLink = ['_' => 'updateContactLink', 'user_id' => int, 'my_link' => contacts.MyLink, 'foreign_link' => contacts.ForeignLink]; ``` Or, if you're into Lua: ```lua -updateContactLink={_='updateContactLink', user_id=int, my_link=contacts_MyLink, foreign_link=contacts_ForeignLink} +updateContactLink={_='updateContactLink', user_id=int, my_link=contacts.MyLink, foreign_link=contacts.ForeignLink} ``` diff --git a/old_docs/API_docs_v23/constructors/updates.difference.md b/old_docs/API_docs_v23/constructors/updates.difference.md new file mode 100644 index 00000000..82541b51 --- /dev/null +++ b/old_docs/API_docs_v23/constructors/updates.difference.md @@ -0,0 +1,43 @@ +--- +title: updates.difference +description: Full list of occurred events. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.difference +[Back to constructors index](index.md) + + + +Full list of occurred events. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| +|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| +|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| +|state|[updates.State](../constructors/updates.State.md) | Yes|Current state| + + + +### Type: [updates.Difference](../types/updates.Difference.md) + + +### Example: + +```php +$updates.difference = ['_' => 'updates.difference', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates.State]; +``` + + +Or, if you're into Lua: + +```lua +updates.difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates.State} + +``` + + diff --git a/old_docs/API_docs_v23/constructors/updates.differenceEmpty.md b/old_docs/API_docs_v23/constructors/updates.differenceEmpty.md new file mode 100644 index 00000000..a9dc3bd0 --- /dev/null +++ b/old_docs/API_docs_v23/constructors/updates.differenceEmpty.md @@ -0,0 +1,39 @@ +--- +title: updates.differenceEmpty +description: No events. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.differenceEmpty +[Back to constructors index](index.md) + + + +No events. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Current date| +|seq|[int](../types/int.md) | Yes|Number of sent updates| + + + +### Type: [updates.Difference](../types/updates.Difference.md) + + +### Example: + +```php +$updates.differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int]; +``` + + +Or, if you're into Lua: + +```lua +updates.differenceEmpty={_='updates.differenceEmpty', date=int, seq=int} + +``` + + diff --git a/old_docs/API_docs_v23/constructors/updates.differenceSlice.md b/old_docs/API_docs_v23/constructors/updates.differenceSlice.md new file mode 100644 index 00000000..9daf7a75 --- /dev/null +++ b/old_docs/API_docs_v23/constructors/updates.differenceSlice.md @@ -0,0 +1,43 @@ +--- +title: updates.differenceSlice +description: Incomplete list of occurred events. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.differenceSlice +[Back to constructors index](index.md) + + + +Incomplete list of occurred events. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| +|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| +|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| +|intermediate\_state|[updates.State](../constructors/updates.State.md) | Yes|Intermediary state| + + + +### Type: [updates.Difference](../types/updates.Difference.md) + + +### Example: + +```php +$updates.differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'intermediate_state' => updates.State]; +``` + + +Or, if you're into Lua: + +```lua +updates.differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates.State} + +``` + + diff --git a/old_docs/API_docs_v23/constructors/updates.state.md b/old_docs/API_docs_v23/constructors/updates.state.md new file mode 100644 index 00000000..abe9ddbb --- /dev/null +++ b/old_docs/API_docs_v23/constructors/updates.state.md @@ -0,0 +1,42 @@ +--- +title: updates.state +description: Updates state. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.state +[Back to constructors index](index.md) + + + +Updates state. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| +|qts|[int](../types/int.md) | Yes|Position in a sequence of updates in secret chats. For further detailes refer to article [secret chats](https://core.telegram.org/api/end-to-end)
Parameter was added in [eigth layer](https://core.telegram.org/api/layers#layer-8).| +|date|[int](../types/int.md) | Yes|Date of condition| +|seq|[int](../types/int.md) | Yes|Number of sent updates| +|unread\_count|[int](../types/int.md) | Yes|Number of unread messages| + + + +### Type: [updates.State](../types/updates.State.md) + + +### Example: + +```php +$updates.state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int]; +``` + + +Or, if you're into Lua: + +```lua +updates.state={_='updates.state', pts=int, qts=int, date=int, seq=int, unread_count=int} + +``` + + diff --git a/old_docs/API_docs_v23/constructors/updates_difference.md b/old_docs/API_docs_v23/constructors/updates_difference.md deleted file mode 100644 index 71ac7d4c..00000000 --- a/old_docs/API_docs_v23/constructors/updates_difference.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: updates.difference -description: Full list of occurred events. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.difference -[Back to constructors index](index.md) - - - -Full list of occurred events. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| -|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| -|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| -|state|[updates\_State](../types/updates_State.md) | Yes|Current state| - - - -### Type: [updates\_Difference](../types/updates_Difference.md) - - -### Example: - -```php -$updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates_State]; -``` - - -Or, if you're into Lua: - -```lua -updates_difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates_State} - -``` - - diff --git a/old_docs/API_docs_v23/constructors/updates_differenceEmpty.md b/old_docs/API_docs_v23/constructors/updates_differenceEmpty.md deleted file mode 100644 index c3c95c5a..00000000 --- a/old_docs/API_docs_v23/constructors/updates_differenceEmpty.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: updates.differenceEmpty -description: No events. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.differenceEmpty -[Back to constructors index](index.md) - - - -No events. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Current date| -|seq|[int](../types/int.md) | Yes|Number of sent updates| - - - -### Type: [updates\_Difference](../types/updates_Difference.md) - - -### Example: - -```php -$updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int]; -``` - - -Or, if you're into Lua: - -```lua -updates_differenceEmpty={_='updates.differenceEmpty', date=int, seq=int} - -``` - - diff --git a/old_docs/API_docs_v23/constructors/updates_differenceSlice.md b/old_docs/API_docs_v23/constructors/updates_differenceSlice.md deleted file mode 100644 index 8b12a369..00000000 --- a/old_docs/API_docs_v23/constructors/updates_differenceSlice.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: updates.differenceSlice -description: Incomplete list of occurred events. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.differenceSlice -[Back to constructors index](index.md) - - - -Incomplete list of occurred events. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| -|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| -|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| -|intermediate\_state|[updates\_State](../types/updates_State.md) | Yes|Intermediary state| - - - -### Type: [updates\_Difference](../types/updates_Difference.md) - - -### Example: - -```php -$updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'intermediate_state' => updates_State]; -``` - - -Or, if you're into Lua: - -```lua -updates_differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates_State} - -``` - - diff --git a/old_docs/API_docs_v23/constructors/updates_state.md b/old_docs/API_docs_v23/constructors/updates_state.md deleted file mode 100644 index ef3698e2..00000000 --- a/old_docs/API_docs_v23/constructors/updates_state.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: updates.state -description: Updates state. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.state -[Back to constructors index](index.md) - - - -Updates state. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| -|qts|[int](../types/int.md) | Yes|Position in a sequence of updates in secret chats. For further detailes refer to article [secret chats](https://core.telegram.org/api/end-to-end)
Parameter was added in [eigth layer](https://core.telegram.org/api/layers#layer-8).| -|date|[int](../types/int.md) | Yes|Date of condition| -|seq|[int](../types/int.md) | Yes|Number of sent updates| -|unread\_count|[int](../types/int.md) | Yes|Number of unread messages| - - - -### Type: [updates\_State](../types/updates_State.md) - - -### Example: - -```php -$updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int]; -``` - - -Or, if you're into Lua: - -```lua -updates_state={_='updates.state', pts=int, qts=int, date=int, seq=int, unread_count=int} - -``` - - diff --git a/old_docs/API_docs_v23/constructors/upload.file.md b/old_docs/API_docs_v23/constructors/upload.file.md new file mode 100644 index 00000000..145a4c24 --- /dev/null +++ b/old_docs/API_docs_v23/constructors/upload.file.md @@ -0,0 +1,40 @@ +--- +title: upload.file +description: File content. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: upload.file +[Back to constructors index](index.md) + + + +File content. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|type|[storage.FileType](../constructors/storage.FileType.md) | Yes|File type| +|mtime|[int](../types/int.md) | Yes|Modification type| +|bytes|[bytes](../types/bytes.md) | Yes|Binary data, file content| + + + +### Type: [upload.File](../types/upload.File.md) + + +### Example: + +```php +$upload.file = ['_' => 'upload.file', 'type' => storage.FileType, 'mtime' => int, 'bytes' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +upload.file={_='upload.file', type=storage.FileType, mtime=int, bytes='bytes'} + +``` + + diff --git a/old_docs/API_docs_v23/constructors/upload_file.md b/old_docs/API_docs_v23/constructors/upload_file.md deleted file mode 100644 index 1e07d9fb..00000000 --- a/old_docs/API_docs_v23/constructors/upload_file.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: upload.file -description: File content. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: upload.file -[Back to constructors index](index.md) - - - -File content. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|type|[storage\_FileType](../types/storage_FileType.md) | Yes|File type| -|mtime|[int](../types/int.md) | Yes|Modification type| -|bytes|[bytes](../types/bytes.md) | Yes|Binary data, file content| - - - -### Type: [upload\_File](../types/upload_File.md) - - -### Example: - -```php -$upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int, 'bytes' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -upload_file={_='upload.file', type=storage_FileType, mtime=int, bytes='bytes'} - -``` - - diff --git a/old_docs/API_docs_v23/constructors/userFull.md b/old_docs/API_docs_v23/constructors/userFull.md index b6768936..c8584760 100644 --- a/old_docs/API_docs_v23/constructors/userFull.md +++ b/old_docs/API_docs_v23/constructors/userFull.md @@ -15,7 +15,7 @@ Extended user info | Name | Type | Required | Description | |----------|---------------|----------|-------------| |user|[User](../types/User.md) | Optional|Remaining user info| -|link|[contacts\_Link](../types/contacts_Link.md) | Yes|Link| +|link|[contacts.Link](../constructors/contacts.Link.md) | Yes|Link| |profile\_photo|[Photo](../types/Photo.md) | Optional|Profile photo| |notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Optional|Notification settings| |blocked|[Bool](../types/Bool.md) | Yes|Blocked?| @@ -30,14 +30,14 @@ Extended user info ### Example: ```php -$userFull = ['_' => 'userFull', 'user' => User, 'link' => contacts_Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'blocked' => Bool, 'real_first_name' => 'string', 'real_last_name' => 'string']; +$userFull = ['_' => 'userFull', 'user' => User, 'link' => contacts.Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'blocked' => Bool, 'real_first_name' => 'string', 'real_last_name' => 'string']; ``` Or, if you're into Lua: ```lua -userFull={_='userFull', user=User, link=contacts_Link, profile_photo=Photo, notify_settings=PeerNotifySettings, blocked=Bool, real_first_name='string', real_last_name='string'} +userFull={_='userFull', user=User, link=contacts.Link, profile_photo=Photo, notify_settings=PeerNotifySettings, blocked=Bool, real_first_name='string', real_last_name='string'} ``` diff --git a/old_docs/API_docs_v23/methods/account.getPrivacy.md b/old_docs/API_docs_v23/methods/account.getPrivacy.md index 6a240129..e20c292c 100644 --- a/old_docs/API_docs_v23/methods/account.getPrivacy.md +++ b/old_docs/API_docs_v23/methods/account.getPrivacy.md @@ -16,7 +16,7 @@ Get privacy settings of current account |key|[InputPrivacyKey](../types/InputPrivacyKey.md) | Peer category whose privacy settings should be fetched | Yes| -### Return type: [account\_PrivacyRules](../types/account_PrivacyRules.md) +### Return type: [account.PrivacyRules](../types/account.PrivacyRules.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_PrivacyRules = $MadelineProto->account->getPrivacy(['key' => InputPrivacyKey, ]); +$account.PrivacyRules = $MadelineProto->account->getPrivacy(['key' => InputPrivacyKey, ]); ``` Or, if you're into Lua: ```lua -account_PrivacyRules = account.getPrivacy({key=InputPrivacyKey, }) +account.PrivacyRules = account.getPrivacy({key=InputPrivacyKey, }) ``` ### Errors diff --git a/old_docs/API_docs_v23/methods/account.sendChangePhoneCode.md b/old_docs/API_docs_v23/methods/account.sendChangePhoneCode.md index 169fa15b..e70372de 100644 --- a/old_docs/API_docs_v23/methods/account.sendChangePhoneCode.md +++ b/old_docs/API_docs_v23/methods/account.sendChangePhoneCode.md @@ -16,7 +16,7 @@ Verify a new phone number to associate to the current account |phone\_number|[string](../types/string.md) | New phone number | Yes| -### Return type: [account\_SentChangePhoneCode](../types/account_SentChangePhoneCode.md) +### Return type: [account.SentChangePhoneCode](../types/account.SentChangePhoneCode.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_SentChangePhoneCode = $MadelineProto->account->sendChangePhoneCode(['phone_number' => 'string', ]); +$account.SentChangePhoneCode = $MadelineProto->account->sendChangePhoneCode(['phone_number' => 'string', ]); ``` Or, if you're into Lua: ```lua -account_SentChangePhoneCode = account.sendChangePhoneCode({phone_number='string', }) +account.SentChangePhoneCode = account.sendChangePhoneCode({phone_number='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v23/methods/account.setPrivacy.md b/old_docs/API_docs_v23/methods/account.setPrivacy.md index 7c4cfba7..096d373e 100644 --- a/old_docs/API_docs_v23/methods/account.setPrivacy.md +++ b/old_docs/API_docs_v23/methods/account.setPrivacy.md @@ -17,7 +17,7 @@ Change privacy settings of current account |rules|Array of [InputPrivacyRule](../types/InputPrivacyRule.md) | Privacy settings | Yes| -### Return type: [account\_PrivacyRules](../types/account_PrivacyRules.md) +### Return type: [account.PrivacyRules](../types/account.PrivacyRules.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_PrivacyRules = $MadelineProto->account->setPrivacy(['key' => InputPrivacyKey, 'rules' => [InputPrivacyRule, InputPrivacyRule], ]); +$account.PrivacyRules = $MadelineProto->account->setPrivacy(['key' => InputPrivacyKey, 'rules' => [InputPrivacyRule, InputPrivacyRule], ]); ``` Or, if you're into Lua: ```lua -account_PrivacyRules = account.setPrivacy({key=InputPrivacyKey, rules={InputPrivacyRule}, }) +account.PrivacyRules = account.setPrivacy({key=InputPrivacyKey, rules={InputPrivacyRule}, }) ``` ### Errors diff --git a/old_docs/API_docs_v23/methods/api_README.md b/old_docs/API_docs_v23/methods/api_README.md index 3972161f..fb1b644d 100644 --- a/old_docs/API_docs_v23/methods/api_README.md +++ b/old_docs/API_docs_v23/methods/api_README.md @@ -56,7 +56,7 @@ $MadelineProto->[account->getNotifySettings](account.getNotifySettings.md)(\['pe ***

-$MadelineProto->[account->getPrivacy](account.getPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), \]) === [$account\_PrivacyRules](../types/account_PrivacyRules.md) +$MadelineProto->[account->getPrivacy](account.getPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), \]) === [$account.PrivacyRules](../types/account.PrivacyRules.md) ***

@@ -76,7 +76,7 @@ $MadelineProto->[account->resetNotifySettings](account.resetNotifySettings.md)(\ ***

-$MadelineProto->[account->sendChangePhoneCode](account.sendChangePhoneCode.md)(\['phone_number' => [string](../types/string.md), \]) === [$account\_SentChangePhoneCode](../types/account_SentChangePhoneCode.md) +$MadelineProto->[account->sendChangePhoneCode](account.sendChangePhoneCode.md)(\['phone_number' => [string](../types/string.md), \]) === [$account.SentChangePhoneCode](../types/account.SentChangePhoneCode.md) ***

@@ -84,7 +84,7 @@ $MadelineProto->[account->setAccountTTL](account.setAccountTTL.md)(\['ttl' => [A ***

-$MadelineProto->[account->setPrivacy](account.setPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), 'rules' => \[[InputPrivacyRule](../types/InputPrivacyRule.md)\], \]) === [$account\_PrivacyRules](../types/account_PrivacyRules.md) +$MadelineProto->[account->setPrivacy](account.setPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), 'rules' => \[[InputPrivacyRule](../types/InputPrivacyRule.md)\], \]) === [$account.PrivacyRules](../types/account.PrivacyRules.md) ***

@@ -116,15 +116,15 @@ $MadelineProto->[auth->bindTempAuthKey](auth.bindTempAuthKey.md)(\['perm_auth_ke ***

-$MadelineProto->[auth->checkPhone](auth.checkPhone.md)(\['phone_number' => [string](../types/string.md), \]) === [$auth\_CheckedPhone](../types/auth_CheckedPhone.md) +$MadelineProto->[auth->checkPhone](auth.checkPhone.md)(\['phone_number' => [string](../types/string.md), \]) === [$auth.CheckedPhone](../types/auth.CheckedPhone.md) ***

-$MadelineProto->[auth->exportAuthorization](auth.exportAuthorization.md)(\['dc_id' => [int](../types/int.md), \]) === [$auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) +$MadelineProto->[auth->exportAuthorization](auth.exportAuthorization.md)(\['dc_id' => [int](../types/int.md), \]) === [$auth.ExportedAuthorization](../types/auth.ExportedAuthorization.md) ***

-$MadelineProto->[auth->importAuthorization](auth.importAuthorization.md)(\['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->importAuthorization](auth.importAuthorization.md)(\['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

@@ -140,7 +140,7 @@ $MadelineProto->[auth->sendCall](auth.sendCall.md)(\['phone_number' => [string]( ***

-$MadelineProto->[auth->sendCode](auth.sendCode.md)(\['phone_number' => [string](../types/string.md), 'sms_type' => [int](../types/int.md), 'api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) === [$auth\_SentCode](../types/auth_SentCode.md) +$MadelineProto->[auth->sendCode](auth.sendCode.md)(\['phone_number' => [string](../types/string.md), 'sms_type' => [int](../types/int.md), 'api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) === [$auth.SentCode](../types/auth.SentCode.md) ***

@@ -152,11 +152,11 @@ $MadelineProto->[auth->sendSms](auth.sendSms.md)(\['phone_number' => [string](.. ***

-$MadelineProto->[auth->signIn](auth.signIn.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->signIn](auth.signIn.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

-$MadelineProto->[auth->signUp](auth.signUp.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->signUp](auth.signUp.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

@@ -164,7 +164,7 @@ $MadelineProto->[contacts->block](contacts.block.md)(\['id' => [InputUser](../ty ***

-$MadelineProto->[contacts->deleteContact](contacts.deleteContact.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$contacts\_Link](../types/contacts_Link.md) +$MadelineProto->[contacts->deleteContact](contacts.deleteContact.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$contacts.Link](../types/contacts.Link.md) ***

@@ -176,11 +176,11 @@ $MadelineProto->[contacts->exportCard](contacts.exportCard.md)(\[\]) === [$Vecto ***

-$MadelineProto->[contacts->getBlocked](contacts.getBlocked.md)(\['offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$contacts\_Blocked](../types/contacts_Blocked.md) +$MadelineProto->[contacts->getBlocked](contacts.getBlocked.md)(\['offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$contacts.Blocked](../types/contacts.Blocked.md) ***

-$MadelineProto->[contacts->getContacts](contacts.getContacts.md)(\['hash' => [string](../types/string.md), \]) === [$contacts\_Contacts](../types/contacts_Contacts.md) +$MadelineProto->[contacts->getContacts](contacts.getContacts.md)(\['hash' => [string](../types/string.md), \]) === [$contacts.Contacts](../types/contacts.Contacts.md) ***

@@ -188,7 +188,7 @@ $MadelineProto->[contacts->getStatuses](contacts.getStatuses.md)(\[\]) === [$Vec ***

-$MadelineProto->[contacts->getSuggested](contacts.getSuggested.md)(\['limit' => [int](../types/int.md), \]) === [$contacts\_Suggested](../types/contacts_Suggested.md) +$MadelineProto->[contacts->getSuggested](contacts.getSuggested.md)(\['limit' => [int](../types/int.md), \]) === [$contacts.Suggested](../types/contacts.Suggested.md) ***

@@ -196,7 +196,7 @@ $MadelineProto->[contacts->importCard](contacts.importCard.md)(\['export_card' = ***

-$MadelineProto->[contacts->importContacts](contacts.importContacts.md)(\['contacts' => \[[InputContact](../types/InputContact.md)\], 'replace' => [Bool](../types/Bool.md), \]) === [$contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) +$MadelineProto->[contacts->importContacts](contacts.importContacts.md)(\['contacts' => \[[InputContact](../types/InputContact.md)\], 'replace' => [Bool](../types/Bool.md), \]) === [$contacts.ImportedContacts](../types/contacts.ImportedContacts.md) ***

@@ -204,7 +204,7 @@ $MadelineProto->[contacts->resolveUsername](contacts.resolveUsername.md)(\['user ***

-$MadelineProto->[contacts->search](contacts.search.md)(\['q' => [string](../types/string.md), 'limit' => [int](../types/int.md), \]) === [$contacts\_Found](../types/contacts_Found.md) +$MadelineProto->[contacts->search](contacts.search.md)(\['q' => [string](../types/string.md), 'limit' => [int](../types/int.md), \]) === [$contacts.Found](../types/contacts.Found.md) ***

@@ -212,7 +212,7 @@ $MadelineProto->[contacts->unblock](contacts.unblock.md)(\['id' => [InputUser](. ***

-$MadelineProto->[help->getAppUpdate](help.getAppUpdate.md)(\['device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) === [$help\_AppUpdate](../types/help_AppUpdate.md) +$MadelineProto->[help->getAppUpdate](help.getAppUpdate.md)(\['device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) === [$help.AppUpdate](../types/help.AppUpdate.md) ***

@@ -220,7 +220,7 @@ $MadelineProto->[help->getConfig](help.getConfig.md)(\[\]) === [$Config](../type ***

-$MadelineProto->[help->getInviteText](help.getInviteText.md)(\['lang_code' => [string](../types/string.md), \]) === [$help\_InviteText](../types/help_InviteText.md) +$MadelineProto->[help->getInviteText](help.getInviteText.md)(\['lang_code' => [string](../types/string.md), \]) === [$help.InviteText](../types/help.InviteText.md) ***

@@ -228,7 +228,7 @@ $MadelineProto->[help->getNearestDc](help.getNearestDc.md)(\[\]) === [$NearestDc ***

-$MadelineProto->[help->getSupport](help.getSupport.md)(\[\]) === [$help\_Support](../types/help_Support.md) +$MadelineProto->[help->getSupport](help.getSupport.md)(\[\]) === [$help.Support](../types/help.Support.md) ***

@@ -256,19 +256,19 @@ $MadelineProto->[messages->acceptEncryption](messages.acceptEncryption.md)(\['pe ***

-$MadelineProto->[messages->addChatUser](messages.addChatUser.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), 'user_id' => [InputUser](../types/InputUser.md), 'fwd_limit' => [int](../types/int.md), \]) === [$messages\_StatedMessage](../types/messages_StatedMessage.md) +$MadelineProto->[messages->addChatUser](messages.addChatUser.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), 'user_id' => [InputUser](../types/InputUser.md), 'fwd_limit' => [int](../types/int.md), \]) === [$messages.StatedMessage](../types/messages.StatedMessage.md) ***

-$MadelineProto->[messages->createChat](messages.createChat.md)(\['users' => \[[InputUser](../types/InputUser.md)\], 'title' => [string](../types/string.md), \]) === [$messages\_StatedMessage](../types/messages_StatedMessage.md) +$MadelineProto->[messages->createChat](messages.createChat.md)(\['users' => \[[InputUser](../types/InputUser.md)\], 'title' => [string](../types/string.md), \]) === [$messages.StatedMessage](../types/messages.StatedMessage.md) ***

-$MadelineProto->[messages->deleteChatUser](messages.deleteChatUser.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages\_StatedMessage](../types/messages_StatedMessage.md) +$MadelineProto->[messages->deleteChatUser](messages.deleteChatUser.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages.StatedMessage](../types/messages.StatedMessage.md) ***

-$MadelineProto->[messages->deleteHistory](messages.deleteHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset' => [int](../types/int.md), \]) === [$messages\_AffectedHistory](../types/messages_AffectedHistory.md) +$MadelineProto->[messages->deleteHistory](messages.deleteHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset' => [int](../types/int.md), \]) === [$messages.AffectedHistory](../types/messages.AffectedHistory.md) ***

@@ -280,51 +280,51 @@ $MadelineProto->[messages->discardEncryption](messages.discardEncryption.md)(\[' ***

-$MadelineProto->[messages->editChatPhoto](messages.editChatPhoto.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), 'photo' => [InputChatPhoto](../types/InputChatPhoto.md), \]) === [$messages\_StatedMessage](../types/messages_StatedMessage.md) +$MadelineProto->[messages->editChatPhoto](messages.editChatPhoto.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), 'photo' => [InputChatPhoto](../types/InputChatPhoto.md), \]) === [$messages.StatedMessage](../types/messages.StatedMessage.md) ***

-$MadelineProto->[messages->editChatTitle](messages.editChatTitle.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), 'title' => [string](../types/string.md), \]) === [$messages\_StatedMessage](../types/messages_StatedMessage.md) +$MadelineProto->[messages->editChatTitle](messages.editChatTitle.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), 'title' => [string](../types/string.md), \]) === [$messages.StatedMessage](../types/messages.StatedMessage.md) ***

-$MadelineProto->[messages->forwardMessage](messages.forwardMessage.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), \]) === [$messages\_StatedMessage](../types/messages_StatedMessage.md) +$MadelineProto->[messages->forwardMessage](messages.forwardMessage.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), \]) === [$messages.StatedMessage](../types/messages.StatedMessage.md) ***

-$MadelineProto->[messages->forwardMessages](messages.forwardMessages.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages\_StatedMessages](../types/messages_StatedMessages.md) +$MadelineProto->[messages->forwardMessages](messages.forwardMessages.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages.StatedMessages](../types/messages.StatedMessages.md) ***

-$MadelineProto->[messages->getAllStickers](messages.getAllStickers.md)(\['hash' => [string](../types/string.md), \]) === [$messages\_AllStickers](../types/messages_AllStickers.md) +$MadelineProto->[messages->getAllStickers](messages.getAllStickers.md)(\['hash' => [string](../types/string.md), \]) === [$messages.AllStickers](../types/messages.AllStickers.md) ***

-$MadelineProto->[messages->getChats](messages.getChats.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[messages->getChats](messages.getChats.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages.Chats](../types/messages.Chats.md) ***

-$MadelineProto->[messages->getDhConfig](messages.getDhConfig.md)(\['version' => [int](../types/int.md), 'random_length' => [int](../types/int.md), \]) === [$messages\_DhConfig](../types/messages_DhConfig.md) +$MadelineProto->[messages->getDhConfig](messages.getDhConfig.md)(\['version' => [int](../types/int.md), 'random_length' => [int](../types/int.md), \]) === [$messages.DhConfig](../types/messages.DhConfig.md) ***

-$MadelineProto->[messages->getDialogs](messages.getDialogs.md)(\['offset' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages\_Dialogs](../types/messages_Dialogs.md) +$MadelineProto->[messages->getDialogs](messages.getDialogs.md)(\['offset' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages.Dialogs](../types/messages.Dialogs.md) ***

-$MadelineProto->[messages->getFullChat](messages.getFullChat.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), \]) === [$messages\_ChatFull](../types/messages_ChatFull.md) +$MadelineProto->[messages->getFullChat](messages.getFullChat.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), \]) === [$messages.ChatFull](../types/messages.ChatFull.md) ***

-$MadelineProto->[messages->getHistory](messages.getHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->getHistory](messages.getHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[messages->getMessages](messages.getMessages.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->getMessages](messages.getMessages.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[messages->getStickers](messages.getStickers.md)(\['emoticon' => [string](../types/string.md), 'hash' => [string](../types/string.md), \]) === [$messages\_Stickers](../types/messages_Stickers.md) +$MadelineProto->[messages->getStickers](messages.getStickers.md)(\['emoticon' => [string](../types/string.md), 'hash' => [string](../types/string.md), \]) === [$messages.Stickers](../types/messages.Stickers.md) ***

@@ -332,7 +332,7 @@ $MadelineProto->[messages->readEncryptedHistory](messages.readEncryptedHistory.m ***

-$MadelineProto->[messages->readHistory](messages.readHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), 'offset' => [int](../types/int.md), 'read_contents' => [Bool](../types/Bool.md), \]) === [$messages\_AffectedHistory](../types/messages_AffectedHistory.md) +$MadelineProto->[messages->readHistory](messages.readHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), 'offset' => [int](../types/int.md), 'read_contents' => [Bool](../types/Bool.md), \]) === [$messages.AffectedHistory](../types/messages.AffectedHistory.md) ***

@@ -356,31 +356,31 @@ $MadelineProto->[messages->requestEncryption](messages.requestEncryption.md)(\[' ***

-$MadelineProto->[messages->search](messages.search.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'q' => [string](../types/string.md), 'filter' => [MessagesFilter](../types/MessagesFilter.md), 'min_date' => [int](../types/int.md), 'max_date' => [int](../types/int.md), 'offset' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->search](messages.search.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'q' => [string](../types/string.md), 'filter' => [MessagesFilter](../types/MessagesFilter.md), 'min_date' => [int](../types/int.md), 'max_date' => [int](../types/int.md), 'offset' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[messages->sendBroadcast](messages.sendBroadcast.md)(\['contacts' => \[[InputUser](../types/InputUser.md)\], 'message' => [string](../types/string.md), 'media' => [InputMedia](../types/InputMedia.md), \]) === [$messages\_StatedMessages](../types/messages_StatedMessages.md) +$MadelineProto->[messages->sendBroadcast](messages.sendBroadcast.md)(\['contacts' => \[[InputUser](../types/InputUser.md)\], 'message' => [string](../types/string.md), 'media' => [InputMedia](../types/InputMedia.md), \]) === [$messages.StatedMessages](../types/messages.StatedMessages.md) ***

-$MadelineProto->[messages->sendEncrypted](messages.sendEncrypted.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'message' => [DecryptedMessage](../types/DecryptedMessage.md), \]) === [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +$MadelineProto->[messages->sendEncrypted](messages.sendEncrypted.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), \]) === [$messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ***

-$MadelineProto->[messages->sendEncryptedFile](messages.sendEncryptedFile.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'message' => [DecryptedMessage](../types/DecryptedMessage.md), 'file' => [InputEncryptedFile](../types/InputEncryptedFile.md), \]) === [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +$MadelineProto->[messages->sendEncryptedFile](messages.sendEncryptedFile.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), 'file' => [InputEncryptedFile](../types/InputEncryptedFile.md), \]) === [$messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ***

-$MadelineProto->[messages->sendEncryptedService](messages.sendEncryptedService.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'message' => [DecryptedMessage](../types/DecryptedMessage.md), \]) === [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +$MadelineProto->[messages->sendEncryptedService](messages.sendEncryptedService.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), \]) === [$messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ***

-$MadelineProto->[messages->sendMedia](messages.sendMedia.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'media' => [InputMedia](../types/InputMedia.md), \]) === [$messages\_StatedMessage](../types/messages_StatedMessage.md) +$MadelineProto->[messages->sendMedia](messages.sendMedia.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'media' => [InputMedia](../types/InputMedia.md), \]) === [$messages.StatedMessage](../types/messages.StatedMessage.md) ***

-$MadelineProto->[messages->sendMessage](messages.sendMessage.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'message' => [string](../types/string.md), \]) === [$messages\_SentMessage](../types/messages_SentMessage.md) +$MadelineProto->[messages->sendMessage](messages.sendMessage.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'message' => [string](../types/string.md), \]) === [$messages.SentMessage](../types/messages.SentMessage.md) ***

@@ -396,7 +396,7 @@ $MadelineProto->[photos->deletePhotos](photos.deletePhotos.md)(\['id' => \[[Inpu ***

-$MadelineProto->[photos->getUserPhotos](photos.getUserPhotos.md)(\['user_id' => [InputUser](../types/InputUser.md), 'offset' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$photos\_Photos](../types/photos_Photos.md) +$MadelineProto->[photos->getUserPhotos](photos.getUserPhotos.md)(\['user_id' => [InputUser](../types/InputUser.md), 'offset' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$photos.Photos](../types/photos.Photos.md) ***

@@ -404,19 +404,19 @@ $MadelineProto->[photos->updateProfilePhoto](photos.updateProfilePhoto.md)(\['id ***

-$MadelineProto->[photos->uploadProfilePhoto](photos.uploadProfilePhoto.md)(\['file' => [InputFile](../types/InputFile.md), 'caption' => [string](../types/string.md), 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'crop' => [InputPhotoCrop](../types/InputPhotoCrop.md), \]) === [$photos\_Photo](../types/photos_Photo.md) +$MadelineProto->[photos->uploadProfilePhoto](photos.uploadProfilePhoto.md)(\['file' => [InputFile](../types/InputFile.md), 'caption' => [string](../types/string.md), 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'crop' => [InputPhotoCrop](../types/InputPhotoCrop.md), \]) === [$photos.Photo](../types/photos.Photo.md) ***

-$MadelineProto->[updates->getDifference](updates.getDifference.md)(\['pts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) === [$updates\_Difference](../types/updates_Difference.md) +$MadelineProto->[updates->getDifference](updates.getDifference.md)(\['pts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) === [$updates.Difference](../types/updates.Difference.md) ***

-$MadelineProto->[updates->getState](updates.getState.md)(\[\]) === [$updates\_State](../types/updates_State.md) +$MadelineProto->[updates->getState](updates.getState.md)(\[\]) === [$updates.State](../types/updates.State.md) ***

-$MadelineProto->[upload->getFile](upload.getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_File](../types/upload_File.md) +$MadelineProto->[upload->getFile](upload.getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload.File](../types/upload.File.md) ***

diff --git a/old_docs/API_docs_v23/methods/auth.checkPhone.md b/old_docs/API_docs_v23/methods/auth.checkPhone.md index 227358cb..51d4cba6 100644 --- a/old_docs/API_docs_v23/methods/auth.checkPhone.md +++ b/old_docs/API_docs_v23/methods/auth.checkPhone.md @@ -16,7 +16,7 @@ Check if this phone number is registered on telegram |phone\_number|[string](../types/string.md) | The phone number to check | Yes| -### Return type: [auth\_CheckedPhone](../types/auth_CheckedPhone.md) +### Return type: [auth.CheckedPhone](../types/auth.CheckedPhone.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => 'string', ]); +$auth.CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_CheckedPhone = auth.checkPhone({phone_number='string', }) +auth.CheckedPhone = auth.checkPhone({phone_number='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v23/methods/auth.exportAuthorization.md b/old_docs/API_docs_v23/methods/auth.exportAuthorization.md index 72063a2b..41a1f87d 100644 --- a/old_docs/API_docs_v23/methods/auth.exportAuthorization.md +++ b/old_docs/API_docs_v23/methods/auth.exportAuthorization.md @@ -16,7 +16,7 @@ You cannot use this method directly, use $MadelineProto->exportAuthorization() i |dc\_id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| -### Return type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) +### Return type: [auth.ExportedAuthorization](../types/auth.ExportedAuthorization.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_ExportedAuthorization = $MadelineProto->auth->exportAuthorization(['dc_id' => int, ]); +$auth.ExportedAuthorization = $MadelineProto->auth->exportAuthorization(['dc_id' => int, ]); ``` Or, if you're into Lua: ```lua -auth_ExportedAuthorization = auth.exportAuthorization({dc_id=int, }) +auth.ExportedAuthorization = auth.exportAuthorization({dc_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v23/methods/auth.importAuthorization.md b/old_docs/API_docs_v23/methods/auth.importAuthorization.md index d9c13751..5257e0b0 100644 --- a/old_docs/API_docs_v23/methods/auth.importAuthorization.md +++ b/old_docs/API_docs_v23/methods/auth.importAuthorization.md @@ -17,7 +17,7 @@ You cannot use this method directly, use $MadelineProto->importAuthorization($au |bytes|[bytes](../types/bytes.md) | You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => 'bytes', ]); +$auth.Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.importAuthorization({id=int, bytes='bytes', }) +auth.Authorization = auth.importAuthorization({id=int, bytes='bytes', }) ``` ### Errors diff --git a/old_docs/API_docs_v23/methods/auth.sendCode.md b/old_docs/API_docs_v23/methods/auth.sendCode.md index 9fa1a0c7..68b6ff31 100644 --- a/old_docs/API_docs_v23/methods/auth.sendCode.md +++ b/old_docs/API_docs_v23/methods/auth.sendCode.md @@ -20,7 +20,7 @@ You cannot use this method directly, use the phoneLogin method instead (see http |lang\_code|[string](../types/string.md) | You cannot use this method directly, use the phoneLogin method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_SentCode](../types/auth_SentCode.md) +### Return type: [auth.SentCode](../types/auth.SentCode.md) ### Can bots use this method: **NO** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_SentCode = $MadelineProto->auth->sendCode(['phone_number' => 'string', 'sms_type' => int, 'api_id' => int, 'api_hash' => 'string', 'lang_code' => 'string', ]); +$auth.SentCode = $MadelineProto->auth->sendCode(['phone_number' => 'string', 'sms_type' => int, 'api_id' => int, 'api_hash' => 'string', 'lang_code' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_SentCode = auth.sendCode({phone_number='string', sms_type=int, api_id=int, api_hash='string', lang_code='string', }) +auth.SentCode = auth.sendCode({phone_number='string', sms_type=int, api_id=int, api_hash='string', lang_code='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v23/methods/auth.signIn.md b/old_docs/API_docs_v23/methods/auth.signIn.md index 54812a2e..95b14f32 100644 --- a/old_docs/API_docs_v23/methods/auth.signIn.md +++ b/old_docs/API_docs_v23/methods/auth.signIn.md @@ -18,7 +18,7 @@ You cannot use this method directly, use the completePhoneLogin method instead ( |phone\_code|[string](../types/string.md) | You cannot use this method directly, use the completePhoneLogin method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->signIn(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', ]); +$auth.Authorization = $MadelineProto->auth->signIn(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.signIn({phone_number='string', phone_code_hash='string', phone_code='string', }) +auth.Authorization = auth.signIn({phone_number='string', phone_code_hash='string', phone_code='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v23/methods/auth.signUp.md b/old_docs/API_docs_v23/methods/auth.signUp.md index 2aca2bfa..fdb5d628 100644 --- a/old_docs/API_docs_v23/methods/auth.signUp.md +++ b/old_docs/API_docs_v23/methods/auth.signUp.md @@ -20,7 +20,7 @@ You cannot use this method directly, use the completeSignup method instead (see |last\_name|[string](../types/string.md) | You cannot use this method directly, use the completeSignup method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **NO** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->signUp(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', 'first_name' => 'string', 'last_name' => 'string', ]); +$auth.Authorization = $MadelineProto->auth->signUp(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', 'first_name' => 'string', 'last_name' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.signUp({phone_number='string', phone_code_hash='string', phone_code='string', first_name='string', last_name='string', }) +auth.Authorization = auth.signUp({phone_number='string', phone_code_hash='string', phone_code='string', first_name='string', last_name='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v23/methods/contacts.deleteContact.md b/old_docs/API_docs_v23/methods/contacts.deleteContact.md index a9321d64..9169e1e0 100644 --- a/old_docs/API_docs_v23/methods/contacts.deleteContact.md +++ b/old_docs/API_docs_v23/methods/contacts.deleteContact.md @@ -16,7 +16,7 @@ Delete a contact |id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | The contact to delete | Optional| -### Return type: [contacts\_Link](../types/contacts_Link.md) +### Return type: [contacts.Link](../types/contacts.Link.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Link = $MadelineProto->contacts->deleteContact(['id' => InputUser, ]); +$contacts.Link = $MadelineProto->contacts->deleteContact(['id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -contacts_Link = contacts.deleteContact({id=InputUser, }) +contacts.Link = contacts.deleteContact({id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v23/methods/contacts.getBlocked.md b/old_docs/API_docs_v23/methods/contacts.getBlocked.md index 92f2f331..6ac1c343 100644 --- a/old_docs/API_docs_v23/methods/contacts.getBlocked.md +++ b/old_docs/API_docs_v23/methods/contacts.getBlocked.md @@ -17,7 +17,7 @@ Returns the list of blocked users. |limit|[int](../types/int.md) | The number of list elements to be returned | Yes| -### Return type: [contacts\_Blocked](../types/contacts_Blocked.md) +### Return type: [contacts.Blocked](../types/contacts.Blocked.md) ### Can bots use this method: **NO** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Blocked = $MadelineProto->contacts->getBlocked(['offset' => int, 'limit' => int, ]); +$contacts.Blocked = $MadelineProto->contacts->getBlocked(['offset' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -contacts_Blocked = contacts.getBlocked({offset=int, limit=int, }) +contacts.Blocked = contacts.getBlocked({offset=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v23/methods/contacts.getContacts.md b/old_docs/API_docs_v23/methods/contacts.getContacts.md index caee7aa8..a2fcd412 100644 --- a/old_docs/API_docs_v23/methods/contacts.getContacts.md +++ b/old_docs/API_docs_v23/methods/contacts.getContacts.md @@ -16,7 +16,7 @@ Returns the current user's contact list. |hash|[string](../types/string.md) | List of contact user IDs you already cached | Yes| -### Return type: [contacts\_Contacts](../types/contacts_Contacts.md) +### Return type: [contacts.Contacts](../types/contacts.Contacts.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Contacts = $MadelineProto->contacts->getContacts(['hash' => 'string', ]); +$contacts.Contacts = $MadelineProto->contacts->getContacts(['hash' => 'string', ]); ``` Or, if you're into Lua: ```lua -contacts_Contacts = contacts.getContacts({hash='string', }) +contacts.Contacts = contacts.getContacts({hash='string', }) ``` diff --git a/old_docs/API_docs_v23/methods/contacts.getSuggested.md b/old_docs/API_docs_v23/methods/contacts.getSuggested.md index 32e96621..ede222d4 100644 --- a/old_docs/API_docs_v23/methods/contacts.getSuggested.md +++ b/old_docs/API_docs_v23/methods/contacts.getSuggested.md @@ -16,7 +16,7 @@ Get suggested contacts |limit|[int](../types/int.md) | Number of results to return | Yes| -### Return type: [contacts\_Suggested](../types/contacts_Suggested.md) +### Return type: [contacts.Suggested](../types/contacts.Suggested.md) ### Can bots use this method: **YES** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Suggested = $MadelineProto->contacts->getSuggested(['limit' => int, ]); +$contacts.Suggested = $MadelineProto->contacts->getSuggested(['limit' => int, ]); ``` Or, if you're into Lua: ```lua -contacts_Suggested = contacts.getSuggested({limit=int, }) +contacts.Suggested = contacts.getSuggested({limit=int, }) ``` diff --git a/old_docs/API_docs_v23/methods/contacts.importContacts.md b/old_docs/API_docs_v23/methods/contacts.importContacts.md index 572df9fb..975d0565 100644 --- a/old_docs/API_docs_v23/methods/contacts.importContacts.md +++ b/old_docs/API_docs_v23/methods/contacts.importContacts.md @@ -17,7 +17,7 @@ Imports contacts: saves a full list on the server, adds already registered conta |replace|[Bool](../types/Bool.md) | Replace contacts? | Yes| -### Return type: [contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) +### Return type: [contacts.ImportedContacts](../types/contacts.ImportedContacts.md) ### Can bots use this method: **NO** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_ImportedContacts = $MadelineProto->contacts->importContacts(['contacts' => [InputContact, InputContact], 'replace' => Bool, ]); +$contacts.ImportedContacts = $MadelineProto->contacts->importContacts(['contacts' => [InputContact, InputContact], 'replace' => Bool, ]); ``` Or, if you're into Lua: ```lua -contacts_ImportedContacts = contacts.importContacts({contacts={InputContact}, replace=Bool, }) +contacts.ImportedContacts = contacts.importContacts({contacts={InputContact}, replace=Bool, }) ``` diff --git a/old_docs/API_docs_v23/methods/contacts.search.md b/old_docs/API_docs_v23/methods/contacts.search.md index 2f39d6f1..ec04c7f9 100644 --- a/old_docs/API_docs_v23/methods/contacts.search.md +++ b/old_docs/API_docs_v23/methods/contacts.search.md @@ -17,7 +17,7 @@ Returns users found by username substring. |limit|[int](../types/int.md) | Maximum number of users to be returned | Yes| -### Return type: [contacts\_Found](../types/contacts_Found.md) +### Return type: [contacts.Found](../types/contacts.Found.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Found = $MadelineProto->contacts->search(['q' => 'string', 'limit' => int, ]); +$contacts.Found = $MadelineProto->contacts->search(['q' => 'string', 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -contacts_Found = contacts.search({q='string', limit=int, }) +contacts.Found = contacts.search({q='string', limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v23/methods/help.getAppUpdate.md b/old_docs/API_docs_v23/methods/help.getAppUpdate.md index 0f844391..bfbed19e 100644 --- a/old_docs/API_docs_v23/methods/help.getAppUpdate.md +++ b/old_docs/API_docs_v23/methods/help.getAppUpdate.md @@ -19,7 +19,7 @@ Returns information on update availability for the current application. |lang\_code|[string](../types/string.md) | Langauge code | Yes| -### Return type: [help\_AppUpdate](../types/help_AppUpdate.md) +### Return type: [help.AppUpdate](../types/help.AppUpdate.md) ### Can bots use this method: **NO** @@ -36,12 +36,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_AppUpdate = $MadelineProto->help->getAppUpdate(['device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'lang_code' => 'string', ]); +$help.AppUpdate = $MadelineProto->help->getAppUpdate(['device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'lang_code' => 'string', ]); ``` Or, if you're into Lua: ```lua -help_AppUpdate = help.getAppUpdate({device_model='string', system_version='string', app_version='string', lang_code='string', }) +help.AppUpdate = help.getAppUpdate({device_model='string', system_version='string', app_version='string', lang_code='string', }) ``` diff --git a/old_docs/API_docs_v23/methods/help.getInviteText.md b/old_docs/API_docs_v23/methods/help.getInviteText.md index 482afbc0..f84b2e82 100644 --- a/old_docs/API_docs_v23/methods/help.getInviteText.md +++ b/old_docs/API_docs_v23/methods/help.getInviteText.md @@ -16,7 +16,7 @@ Returns text of a text message with an invitation. |lang\_code|[string](../types/string.md) | Language | Yes| -### Return type: [help\_InviteText](../types/help_InviteText.md) +### Return type: [help.InviteText](../types/help.InviteText.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_InviteText = $MadelineProto->help->getInviteText(['lang_code' => 'string', ]); +$help.InviteText = $MadelineProto->help->getInviteText(['lang_code' => 'string', ]); ``` Or, if you're into Lua: ```lua -help_InviteText = help.getInviteText({lang_code='string', }) +help.InviteText = help.getInviteText({lang_code='string', }) ``` diff --git a/old_docs/API_docs_v23/methods/help.getSupport.md b/old_docs/API_docs_v23/methods/help.getSupport.md index 7a577892..8a8df916 100644 --- a/old_docs/API_docs_v23/methods/help.getSupport.md +++ b/old_docs/API_docs_v23/methods/help.getSupport.md @@ -11,7 +11,7 @@ Returns the support user for the 'ask a question' feature. -### Return type: [help\_Support](../types/help_Support.md) +### Return type: [help.Support](../types/help.Support.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_Support = $MadelineProto->help->getSupport(); +$help.Support = $MadelineProto->help->getSupport(); ``` Or, if you're into Lua: ```lua -help_Support = help.getSupport({}) +help.Support = help.getSupport({}) ``` diff --git a/old_docs/API_docs_v23/methods/messages.addChatUser.md b/old_docs/API_docs_v23/methods/messages.addChatUser.md index 130a3cc4..618b65cc 100644 --- a/old_docs/API_docs_v23/methods/messages.addChatUser.md +++ b/old_docs/API_docs_v23/methods/messages.addChatUser.md @@ -18,7 +18,7 @@ Adds a user to a chat and sends a service message on it. |fwd\_limit|[int](../types/int.md) | Number of last messages to be forwarded | Yes| -### Return type: [messages\_StatedMessage](../types/messages_StatedMessage.md) +### Return type: [messages.StatedMessage](../types/messages.StatedMessage.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StatedMessage = $MadelineProto->messages->addChatUser(['chat_id' => InputPeer, 'user_id' => InputUser, 'fwd_limit' => int, ]); +$messages.StatedMessage = $MadelineProto->messages->addChatUser(['chat_id' => InputPeer, 'user_id' => InputUser, 'fwd_limit' => int, ]); ``` Or, if you're into Lua: ```lua -messages_StatedMessage = messages.addChatUser({chat_id=InputPeer, user_id=InputUser, fwd_limit=int, }) +messages.StatedMessage = messages.addChatUser({chat_id=InputPeer, user_id=InputUser, fwd_limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v23/methods/messages.createChat.md b/old_docs/API_docs_v23/methods/messages.createChat.md index 61c96eef..cbb907c6 100644 --- a/old_docs/API_docs_v23/methods/messages.createChat.md +++ b/old_docs/API_docs_v23/methods/messages.createChat.md @@ -17,7 +17,7 @@ Creates a new chat. |title|[string](../types/string.md) | Chat name | Yes| -### Return type: [messages\_StatedMessage](../types/messages_StatedMessage.md) +### Return type: [messages.StatedMessage](../types/messages.StatedMessage.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StatedMessage = $MadelineProto->messages->createChat(['users' => [InputUser, InputUser], 'title' => 'string', ]); +$messages.StatedMessage = $MadelineProto->messages->createChat(['users' => [InputUser, InputUser], 'title' => 'string', ]); ``` Or, if you're into Lua: ```lua -messages_StatedMessage = messages.createChat({users={InputUser}, title='string', }) +messages.StatedMessage = messages.createChat({users={InputUser}, title='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v23/methods/messages.deleteChatUser.md b/old_docs/API_docs_v23/methods/messages.deleteChatUser.md index 01bfee65..d6e4c704 100644 --- a/old_docs/API_docs_v23/methods/messages.deleteChatUser.md +++ b/old_docs/API_docs_v23/methods/messages.deleteChatUser.md @@ -17,7 +17,7 @@ Deletes a user from a chat and sends a service message on it. |user\_id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | User ID to be deleted | Optional| -### Return type: [messages\_StatedMessage](../types/messages_StatedMessage.md) +### Return type: [messages.StatedMessage](../types/messages.StatedMessage.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StatedMessage = $MadelineProto->messages->deleteChatUser(['chat_id' => InputPeer, 'user_id' => InputUser, ]); +$messages.StatedMessage = $MadelineProto->messages->deleteChatUser(['chat_id' => InputPeer, 'user_id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -messages_StatedMessage = messages.deleteChatUser({chat_id=InputPeer, user_id=InputUser, }) +messages.StatedMessage = messages.deleteChatUser({chat_id=InputPeer, user_id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v23/methods/messages.deleteHistory.md b/old_docs/API_docs_v23/methods/messages.deleteHistory.md index 974b7e3c..93badc83 100644 --- a/old_docs/API_docs_v23/methods/messages.deleteHistory.md +++ b/old_docs/API_docs_v23/methods/messages.deleteHistory.md @@ -17,7 +17,7 @@ Deletes communication history. |offset|[int](../types/int.md) | Offset | Yes| -### Return type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) +### Return type: [messages.AffectedHistory](../types/messages.AffectedHistory.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedHistory = $MadelineProto->messages->deleteHistory(['peer' => InputPeer, 'offset' => int, ]); +$messages.AffectedHistory = $MadelineProto->messages->deleteHistory(['peer' => InputPeer, 'offset' => int, ]); ``` Or, if you're into Lua: ```lua -messages_AffectedHistory = messages.deleteHistory({peer=InputPeer, offset=int, }) +messages.AffectedHistory = messages.deleteHistory({peer=InputPeer, offset=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v23/methods/messages.editChatPhoto.md b/old_docs/API_docs_v23/methods/messages.editChatPhoto.md index 3e06e9bb..c6e62d25 100644 --- a/old_docs/API_docs_v23/methods/messages.editChatPhoto.md +++ b/old_docs/API_docs_v23/methods/messages.editChatPhoto.md @@ -17,7 +17,7 @@ Changes chat photo and sends a service message on it |photo|[InputChatPhoto](../types/InputChatPhoto.md) | Photo to be set | Optional| -### Return type: [messages\_StatedMessage](../types/messages_StatedMessage.md) +### Return type: [messages.StatedMessage](../types/messages.StatedMessage.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StatedMessage = $MadelineProto->messages->editChatPhoto(['chat_id' => InputPeer, 'photo' => InputChatPhoto, ]); +$messages.StatedMessage = $MadelineProto->messages->editChatPhoto(['chat_id' => InputPeer, 'photo' => InputChatPhoto, ]); ``` Or, if you're into Lua: ```lua -messages_StatedMessage = messages.editChatPhoto({chat_id=InputPeer, photo=InputChatPhoto, }) +messages.StatedMessage = messages.editChatPhoto({chat_id=InputPeer, photo=InputChatPhoto, }) ``` ### Errors diff --git a/old_docs/API_docs_v23/methods/messages.editChatTitle.md b/old_docs/API_docs_v23/methods/messages.editChatTitle.md index 5de33fdc..5ac5e117 100644 --- a/old_docs/API_docs_v23/methods/messages.editChatTitle.md +++ b/old_docs/API_docs_v23/methods/messages.editChatTitle.md @@ -17,7 +17,7 @@ Chanages chat name and sends a service message on it. |title|[string](../types/string.md) | New chat name, different from the old one | Yes| -### Return type: [messages\_StatedMessage](../types/messages_StatedMessage.md) +### Return type: [messages.StatedMessage](../types/messages.StatedMessage.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StatedMessage = $MadelineProto->messages->editChatTitle(['chat_id' => InputPeer, 'title' => 'string', ]); +$messages.StatedMessage = $MadelineProto->messages->editChatTitle(['chat_id' => InputPeer, 'title' => 'string', ]); ``` Or, if you're into Lua: ```lua -messages_StatedMessage = messages.editChatTitle({chat_id=InputPeer, title='string', }) +messages.StatedMessage = messages.editChatTitle({chat_id=InputPeer, title='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v23/methods/messages.forwardMessage.md b/old_docs/API_docs_v23/methods/messages.forwardMessage.md index d3324034..716d8daa 100644 --- a/old_docs/API_docs_v23/methods/messages.forwardMessage.md +++ b/old_docs/API_docs_v23/methods/messages.forwardMessage.md @@ -17,7 +17,7 @@ Forward message |id|[int](../types/int.md) | The message ID | Yes| -### Return type: [messages\_StatedMessage](../types/messages_StatedMessage.md) +### Return type: [messages.StatedMessage](../types/messages.StatedMessage.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StatedMessage = $MadelineProto->messages->forwardMessage(['peer' => InputPeer, 'id' => int, ]); +$messages.StatedMessage = $MadelineProto->messages->forwardMessage(['peer' => InputPeer, 'id' => int, ]); ``` Or, if you're into Lua: ```lua -messages_StatedMessage = messages.forwardMessage({peer=InputPeer, id=int, }) +messages.StatedMessage = messages.forwardMessage({peer=InputPeer, id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v23/methods/messages.forwardMessages.md b/old_docs/API_docs_v23/methods/messages.forwardMessages.md index 11d4a115..e4bc9022 100644 --- a/old_docs/API_docs_v23/methods/messages.forwardMessages.md +++ b/old_docs/API_docs_v23/methods/messages.forwardMessages.md @@ -17,7 +17,7 @@ Forwards messages by their IDs. |id|Array of [int](../types/int.md) | The message IDs | Yes| -### Return type: [messages\_StatedMessages](../types/messages_StatedMessages.md) +### Return type: [messages.StatedMessages](../types/messages.StatedMessages.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StatedMessages = $MadelineProto->messages->forwardMessages(['peer' => InputPeer, 'id' => [int, int], ]); +$messages.StatedMessages = $MadelineProto->messages->forwardMessages(['peer' => InputPeer, 'id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_StatedMessages = messages.forwardMessages({peer=InputPeer, id={int}, }) +messages.StatedMessages = messages.forwardMessages({peer=InputPeer, id={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v23/methods/messages.getAllStickers.md b/old_docs/API_docs_v23/methods/messages.getAllStickers.md index 3bbfd91b..bdf1bab0 100644 --- a/old_docs/API_docs_v23/methods/messages.getAllStickers.md +++ b/old_docs/API_docs_v23/methods/messages.getAllStickers.md @@ -16,7 +16,7 @@ Get all installed stickers |hash|[string](../types/string.md) | Previously fetched stickers | Yes| -### Return type: [messages\_AllStickers](../types/messages_AllStickers.md) +### Return type: [messages.AllStickers](../types/messages.AllStickers.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AllStickers = $MadelineProto->messages->getAllStickers(['hash' => 'string', ]); +$messages.AllStickers = $MadelineProto->messages->getAllStickers(['hash' => 'string', ]); ``` Or, if you're into Lua: ```lua -messages_AllStickers = messages.getAllStickers({hash='string', }) +messages.AllStickers = messages.getAllStickers({hash='string', }) ``` diff --git a/old_docs/API_docs_v23/methods/messages.getChats.md b/old_docs/API_docs_v23/methods/messages.getChats.md index c34b0488..146341f5 100644 --- a/old_docs/API_docs_v23/methods/messages.getChats.md +++ b/old_docs/API_docs_v23/methods/messages.getChats.md @@ -16,7 +16,7 @@ Returns chat basic info on their IDs. |id|Array of [int](../types/int.md) | The MTProto IDs of chats to fetch info about | Yes| -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->messages->getChats(['id' => [int, int], ]); +$messages.Chats = $MadelineProto->messages->getChats(['id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Chats = messages.getChats({id={int}, }) +messages.Chats = messages.getChats({id={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v23/methods/messages.getDhConfig.md b/old_docs/API_docs_v23/methods/messages.getDhConfig.md index 88ea4ab3..7b9da566 100644 --- a/old_docs/API_docs_v23/methods/messages.getDhConfig.md +++ b/old_docs/API_docs_v23/methods/messages.getDhConfig.md @@ -17,7 +17,7 @@ You cannot use this method directly, instead use $MadelineProto->getDhConfig(); |random\_length|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->getDhConfig(); | Yes| -### Return type: [messages\_DhConfig](../types/messages_DhConfig.md) +### Return type: [messages.DhConfig](../types/messages.DhConfig.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_DhConfig = $MadelineProto->messages->getDhConfig(['version' => int, 'random_length' => int, ]); +$messages.DhConfig = $MadelineProto->messages->getDhConfig(['version' => int, 'random_length' => int, ]); ``` Or, if you're into Lua: ```lua -messages_DhConfig = messages.getDhConfig({version=int, random_length=int, }) +messages.DhConfig = messages.getDhConfig({version=int, random_length=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v23/methods/messages.getDialogs.md b/old_docs/API_docs_v23/methods/messages.getDialogs.md index 1ea36dd0..f00e3ebc 100644 --- a/old_docs/API_docs_v23/methods/messages.getDialogs.md +++ b/old_docs/API_docs_v23/methods/messages.getDialogs.md @@ -18,7 +18,7 @@ Returns the current user dialog list. |limit|[int](../types/int.md) | Number of list elements to be returned | Yes| -### Return type: [messages\_Dialogs](../types/messages_Dialogs.md) +### Return type: [messages.Dialogs](../types/messages.Dialogs.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Dialogs = $MadelineProto->messages->getDialogs(['offset' => int, 'max_id' => int, 'limit' => int, ]); +$messages.Dialogs = $MadelineProto->messages->getDialogs(['offset' => int, 'max_id' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Dialogs = messages.getDialogs({offset=int, max_id=int, limit=int, }) +messages.Dialogs = messages.getDialogs({offset=int, max_id=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v23/methods/messages.getFullChat.md b/old_docs/API_docs_v23/methods/messages.getFullChat.md index abf23e21..de543651 100644 --- a/old_docs/API_docs_v23/methods/messages.getFullChat.md +++ b/old_docs/API_docs_v23/methods/messages.getFullChat.md @@ -16,7 +16,7 @@ You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo me |chat\_id|[Username, chat ID, Update, Message or InputPeer](../types/InputPeer.md) | You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo methods instead (see https://docs.madelineproto.xyz for more info) | Optional| -### Return type: [messages\_ChatFull](../types/messages_ChatFull.md) +### Return type: [messages.ChatFull](../types/messages.ChatFull.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_ChatFull = $MadelineProto->messages->getFullChat(['chat_id' => InputPeer, ]); +$messages.ChatFull = $MadelineProto->messages->getFullChat(['chat_id' => InputPeer, ]); ``` Or, if you're into Lua: ```lua -messages_ChatFull = messages.getFullChat({chat_id=InputPeer, }) +messages.ChatFull = messages.getFullChat({chat_id=InputPeer, }) ``` ### Errors diff --git a/old_docs/API_docs_v23/methods/messages.getHistory.md b/old_docs/API_docs_v23/methods/messages.getHistory.md index 3ff48433..cdc1ce2c 100644 --- a/old_docs/API_docs_v23/methods/messages.getHistory.md +++ b/old_docs/API_docs_v23/methods/messages.getHistory.md @@ -19,7 +19,7 @@ Gets back the conversation history with one interlocutor / within a chat |limit|[int](../types/int.md) | Number of results to return | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **NO** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->getHistory(['peer' => InputPeer, 'offset' => int, 'max_id' => int, 'limit' => int, ]); +$messages.Messages = $MadelineProto->messages->getHistory(['peer' => InputPeer, 'offset' => int, 'max_id' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.getHistory({peer=InputPeer, offset=int, max_id=int, limit=int, }) +messages.Messages = messages.getHistory({peer=InputPeer, offset=int, max_id=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v23/methods/messages.getMessages.md b/old_docs/API_docs_v23/methods/messages.getMessages.md index a3139513..c7760d7e 100644 --- a/old_docs/API_docs_v23/methods/messages.getMessages.md +++ b/old_docs/API_docs_v23/methods/messages.getMessages.md @@ -16,7 +16,7 @@ Returns the list of messages by their IDs. |id|Array of [int](../types/int.md) | The IDs of messages to fetch (only for users and normal groups) | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **YES** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->getMessages(['id' => [int, int], ]); +$messages.Messages = $MadelineProto->messages->getMessages(['id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.getMessages({id={int}, }) +messages.Messages = messages.getMessages({id={int}, }) ``` diff --git a/old_docs/API_docs_v23/methods/messages.getStickers.md b/old_docs/API_docs_v23/methods/messages.getStickers.md index aa149fc3..6fab91a5 100644 --- a/old_docs/API_docs_v23/methods/messages.getStickers.md +++ b/old_docs/API_docs_v23/methods/messages.getStickers.md @@ -17,7 +17,7 @@ Get stickers by emoji |hash|[string](../types/string.md) | Previously fetched sticker IDs | Yes| -### Return type: [messages\_Stickers](../types/messages_Stickers.md) +### Return type: [messages.Stickers](../types/messages.Stickers.md) ### Can bots use this method: **NO** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Stickers = $MadelineProto->messages->getStickers(['emoticon' => 'string', 'hash' => 'string', ]); +$messages.Stickers = $MadelineProto->messages->getStickers(['emoticon' => 'string', 'hash' => 'string', ]); ``` Or, if you're into Lua: ```lua -messages_Stickers = messages.getStickers({emoticon='string', hash='string', }) +messages.Stickers = messages.getStickers({emoticon='string', hash='string', }) ``` diff --git a/old_docs/API_docs_v23/methods/messages.readHistory.md b/old_docs/API_docs_v23/methods/messages.readHistory.md index 10c8485a..8f036e23 100644 --- a/old_docs/API_docs_v23/methods/messages.readHistory.md +++ b/old_docs/API_docs_v23/methods/messages.readHistory.md @@ -19,7 +19,7 @@ Marks message history as read. |read\_contents|[Bool](../types/Bool.md) | Mark messages as read? | Yes| -### Return type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) +### Return type: [messages.AffectedHistory](../types/messages.AffectedHistory.md) ### Can bots use this method: **NO** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedHistory = $MadelineProto->messages->readHistory(['peer' => InputPeer, 'max_id' => int, 'offset' => int, 'read_contents' => Bool, ]); +$messages.AffectedHistory = $MadelineProto->messages->readHistory(['peer' => InputPeer, 'max_id' => int, 'offset' => int, 'read_contents' => Bool, ]); ``` Or, if you're into Lua: ```lua -messages_AffectedHistory = messages.readHistory({peer=InputPeer, max_id=int, offset=int, read_contents=Bool, }) +messages.AffectedHistory = messages.readHistory({peer=InputPeer, max_id=int, offset=int, read_contents=Bool, }) ``` ### Errors diff --git a/old_docs/API_docs_v23/methods/messages.search.md b/old_docs/API_docs_v23/methods/messages.search.md index 4fda6636..7ebe6a9a 100644 --- a/old_docs/API_docs_v23/methods/messages.search.md +++ b/old_docs/API_docs_v23/methods/messages.search.md @@ -23,7 +23,7 @@ Gets back found messages |limit|[int](../types/int.md) | [Number of results to return](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **NO** @@ -40,13 +40,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->search(['peer' => InputPeer, 'q' => 'string', 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); +$messages.Messages = $MadelineProto->messages->search(['peer' => InputPeer, 'q' => 'string', 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.search({peer=InputPeer, q='string', filter=MessagesFilter, min_date=int, max_date=int, offset=int, max_id=int, limit=int, }) +messages.Messages = messages.search({peer=InputPeer, q='string', filter=MessagesFilter, min_date=int, max_date=int, offset=int, max_id=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v23/methods/messages.sendBroadcast.md b/old_docs/API_docs_v23/methods/messages.sendBroadcast.md index 1ddaec1c..591838d7 100644 --- a/old_docs/API_docs_v23/methods/messages.sendBroadcast.md +++ b/old_docs/API_docs_v23/methods/messages.sendBroadcast.md @@ -18,7 +18,7 @@ Send a message to all users in the chat list |media|[MessageMedia, Update, Message or InputMedia](../types/InputMedia.md) | The media | Optional| -### Return type: [messages\_StatedMessages](../types/messages_StatedMessages.md) +### Return type: [messages.StatedMessages](../types/messages.StatedMessages.md) ### Can bots use this method: **YES** @@ -35,18 +35,18 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StatedMessages = $MadelineProto->messages->sendBroadcast(['contacts' => [InputUser, InputUser], 'message' => 'string', 'media' => InputMedia, ]); +$messages.StatedMessages = $MadelineProto->messages->sendBroadcast(['contacts' => [InputUser, InputUser], 'message' => 'string', 'media' => InputMedia, ]); ``` Or, if you're into Lua: ```lua -messages_StatedMessages = messages.sendBroadcast({contacts={InputUser}, message='string', media=InputMedia, }) +messages.StatedMessages = messages.sendBroadcast({contacts={InputUser}, message='string', media=InputMedia, }) ``` ## Return value -If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [messages\_StatedMessages](../types/messages_StatedMessages.md) will be returned instead. +If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [messages.StatedMessages](../types/messages.StatedMessages.md) will be returned instead. diff --git a/old_docs/API_docs_v23/methods/messages.sendEncrypted.md b/old_docs/API_docs_v23/methods/messages.sendEncrypted.md index 47b5ef29..6a68b563 100644 --- a/old_docs/API_docs_v23/methods/messages.sendEncrypted.md +++ b/old_docs/API_docs_v23/methods/messages.sendEncrypted.md @@ -14,10 +14,10 @@ Sends a text message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|message|[DecryptedMessage](../types/DecryptedMessage.md) | The message to send | Yes| +|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key that was created during chat initialization | Yes| -### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ### Can bots use this method: **NO** @@ -34,21 +34,15 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncrypted(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); +$messages.SentEncryptedMessage = $MadelineProto->messages->sendEncrypted(['peer' => InputEncryptedChat, 'data' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -messages_SentEncryptedMessage = messages.sendEncrypted({peer=InputEncryptedChat, message=DecryptedMessage, }) +messages.SentEncryptedMessage = messages.sendEncrypted({peer=InputEncryptedChat, data='bytes', }) ``` - -## Return value - -If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) will be returned instead. - - ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v23/methods/messages.sendEncryptedFile.md b/old_docs/API_docs_v23/methods/messages.sendEncryptedFile.md index 4e0f7b7f..87185ba4 100644 --- a/old_docs/API_docs_v23/methods/messages.sendEncryptedFile.md +++ b/old_docs/API_docs_v23/methods/messages.sendEncryptedFile.md @@ -14,11 +14,11 @@ Sends a message with a file attachment to a secret chat | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|message|[DecryptedMessage](../types/DecryptedMessage.md) | The message with the file | Yes| +|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| |file|[File path or InputEncryptedFile](../types/InputEncryptedFile.md) | File attachment for the secret chat | Optional| -### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ### Can bots use this method: **NO** @@ -35,21 +35,15 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedFile(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, 'file' => InputEncryptedFile, ]); +$messages.SentEncryptedMessage = $MadelineProto->messages->sendEncryptedFile(['peer' => InputEncryptedChat, 'data' => 'bytes', 'file' => InputEncryptedFile, ]); ``` Or, if you're into Lua: ```lua -messages_SentEncryptedMessage = messages.sendEncryptedFile({peer=InputEncryptedChat, message=DecryptedMessage, file=InputEncryptedFile, }) +messages.SentEncryptedMessage = messages.sendEncryptedFile({peer=InputEncryptedChat, data='bytes', file=InputEncryptedFile, }) ``` - -## Return value - -If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) will be returned instead. - - ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v23/methods/messages.sendEncryptedService.md b/old_docs/API_docs_v23/methods/messages.sendEncryptedService.md index 86925ae3..38171272 100644 --- a/old_docs/API_docs_v23/methods/messages.sendEncryptedService.md +++ b/old_docs/API_docs_v23/methods/messages.sendEncryptedService.md @@ -14,10 +14,10 @@ Sends a service message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|message|[DecryptedMessage](../types/DecryptedMessage.md) | The service message | Yes| +|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| -### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ### Can bots use this method: **NO** @@ -34,21 +34,15 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedService(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); +$messages.SentEncryptedMessage = $MadelineProto->messages->sendEncryptedService(['peer' => InputEncryptedChat, 'data' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -messages_SentEncryptedMessage = messages.sendEncryptedService({peer=InputEncryptedChat, message=DecryptedMessage, }) +messages.SentEncryptedMessage = messages.sendEncryptedService({peer=InputEncryptedChat, data='bytes', }) ``` - -## Return value - -If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) will be returned instead. - - ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v23/methods/messages.sendMedia.md b/old_docs/API_docs_v23/methods/messages.sendMedia.md index 2b046d48..d613e77a 100644 --- a/old_docs/API_docs_v23/methods/messages.sendMedia.md +++ b/old_docs/API_docs_v23/methods/messages.sendMedia.md @@ -17,7 +17,7 @@ Send a media |media|[MessageMedia, Update, Message or InputMedia](../types/InputMedia.md) | Attached media | Optional| -### Return type: [messages\_StatedMessage](../types/messages_StatedMessage.md) +### Return type: [messages.StatedMessage](../types/messages.StatedMessage.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StatedMessage = $MadelineProto->messages->sendMedia(['peer' => InputPeer, 'media' => InputMedia, ]); +$messages.StatedMessage = $MadelineProto->messages->sendMedia(['peer' => InputPeer, 'media' => InputMedia, ]); ``` Or, if you're into Lua: ```lua -messages_StatedMessage = messages.sendMedia({peer=InputPeer, media=InputMedia, }) +messages.StatedMessage = messages.sendMedia({peer=InputPeer, media=InputMedia, }) ``` ### Errors diff --git a/old_docs/API_docs_v23/methods/messages.sendMessage.md b/old_docs/API_docs_v23/methods/messages.sendMessage.md index 1a68a502..889026e2 100644 --- a/old_docs/API_docs_v23/methods/messages.sendMessage.md +++ b/old_docs/API_docs_v23/methods/messages.sendMessage.md @@ -17,7 +17,7 @@ Sends a message to a chat |message|[string](../types/string.md) | The message | Yes| -### Return type: [messages\_SentMessage](../types/messages_SentMessage.md) +### Return type: [messages.SentMessage](../types/messages.SentMessage.md) ### Can bots use this method: **YES** @@ -34,19 +34,19 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_SentMessage = $MadelineProto->messages->sendMessage(['peer' => InputPeer, 'message' => 'string', ]); +$messages.SentMessage = $MadelineProto->messages->sendMessage(['peer' => InputPeer, 'message' => 'string', ]); ``` Or, if you're into Lua: ```lua -messages_SentMessage = messages.sendMessage({peer=InputPeer, message='string', }) +messages.SentMessage = messages.sendMessage({peer=InputPeer, message='string', }) ``` ## Return value -If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [messages\_SentMessage](../types/messages_SentMessage.md) will be returned instead. +If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [messages.SentMessage](../types/messages.SentMessage.md) will be returned instead. ### Errors diff --git a/old_docs/API_docs_v23/methods/photos.getUserPhotos.md b/old_docs/API_docs_v23/methods/photos.getUserPhotos.md index a08c6a43..7a803893 100644 --- a/old_docs/API_docs_v23/methods/photos.getUserPhotos.md +++ b/old_docs/API_docs_v23/methods/photos.getUserPhotos.md @@ -19,7 +19,7 @@ Returns the list of user photos. |limit|[int](../types/int.md) | Number of list elements to be returned | Yes| -### Return type: [photos\_Photos](../types/photos_Photos.md) +### Return type: [photos.Photos](../types/photos.Photos.md) ### Can bots use this method: **YES** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$photos_Photos = $MadelineProto->photos->getUserPhotos(['user_id' => InputUser, 'offset' => int, 'max_id' => int, 'limit' => int, ]); +$photos.Photos = $MadelineProto->photos->getUserPhotos(['user_id' => InputUser, 'offset' => int, 'max_id' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -photos_Photos = photos.getUserPhotos({user_id=InputUser, offset=int, max_id=int, limit=int, }) +photos.Photos = photos.getUserPhotos({user_id=InputUser, offset=int, max_id=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v23/methods/photos.uploadProfilePhoto.md b/old_docs/API_docs_v23/methods/photos.uploadProfilePhoto.md index 337dcc21..18b2b4c6 100644 --- a/old_docs/API_docs_v23/methods/photos.uploadProfilePhoto.md +++ b/old_docs/API_docs_v23/methods/photos.uploadProfilePhoto.md @@ -19,7 +19,7 @@ Updates current user profile photo. |crop|[InputPhotoCrop](../types/InputPhotoCrop.md) | Cropping info | Yes| -### Return type: [photos\_Photo](../types/photos_Photo.md) +### Return type: [photos.Photo](../types/photos.Photo.md) ### Can bots use this method: **NO** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$photos_Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, 'caption' => 'string', 'geo_point' => InputGeoPoint, 'crop' => InputPhotoCrop, ]); +$photos.Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, 'caption' => 'string', 'geo_point' => InputGeoPoint, 'crop' => InputPhotoCrop, ]); ``` Or, if you're into Lua: ```lua -photos_Photo = photos.uploadProfilePhoto({file=InputFile, caption='string', geo_point=InputGeoPoint, crop=InputPhotoCrop, }) +photos.Photo = photos.uploadProfilePhoto({file=InputFile, caption='string', geo_point=InputGeoPoint, crop=InputPhotoCrop, }) ``` ### Errors diff --git a/old_docs/API_docs_v23/methods/updates.getDifference.md b/old_docs/API_docs_v23/methods/updates.getDifference.md index 57ea6d99..061a5c8f 100644 --- a/old_docs/API_docs_v23/methods/updates.getDifference.md +++ b/old_docs/API_docs_v23/methods/updates.getDifference.md @@ -18,7 +18,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz for more |qts|[int](../types/int.md) | You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates | Yes| -### Return type: [updates\_Difference](../types/updates_Difference.md) +### Return type: [updates.Difference](../types/updates.Difference.md) ### Can bots use this method: **YES** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$updates_Difference = $MadelineProto->updates->getDifference(['pts' => int, 'date' => int, 'qts' => int, ]); +$updates.Difference = $MadelineProto->updates->getDifference(['pts' => int, 'date' => int, 'qts' => int, ]); ``` Or, if you're into Lua: ```lua -updates_Difference = updates.getDifference({pts=int, date=int, qts=int, }) +updates.Difference = updates.getDifference({pts=int, date=int, qts=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v23/methods/updates.getState.md b/old_docs/API_docs_v23/methods/updates.getState.md index c591408a..9a7d2f34 100644 --- a/old_docs/API_docs_v23/methods/updates.getState.md +++ b/old_docs/API_docs_v23/methods/updates.getState.md @@ -11,7 +11,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz for more -### Return type: [updates\_State](../types/updates_State.md) +### Return type: [updates.State](../types/updates.State.md) ### Can bots use this method: **YES** @@ -28,13 +28,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$updates_State = $MadelineProto->updates->getState(); +$updates.State = $MadelineProto->updates->getState(); ``` Or, if you're into Lua: ```lua -updates_State = updates.getState({}) +updates.State = updates.getState({}) ``` ### Errors diff --git a/old_docs/API_docs_v23/methods/upload.getFile.md b/old_docs/API_docs_v23/methods/upload.getFile.md index 8aba03d4..ab9f4fe2 100644 --- a/old_docs/API_docs_v23/methods/upload.getFile.md +++ b/old_docs/API_docs_v23/methods/upload.getFile.md @@ -18,7 +18,7 @@ You cannot use this method directly, use the upload, downloadToStream, downloadT |limit|[int](../types/int.md) | You cannot use this method directly, use the upload, downloadToStream, downloadToFile, downloadToDir methods instead; see https://docs.madelineproto.xyz for more info | Yes| -### Return type: [upload\_File](../types/upload_File.md) +### Return type: [upload.File](../types/upload.File.md) ### Can bots use this method: **YES** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$upload_File = $MadelineProto->upload->getFile(['location' => InputFileLocation, 'offset' => int, 'limit' => int, ]); +$upload.File = $MadelineProto->upload->getFile(['location' => InputFileLocation, 'offset' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -upload_File = upload.getFile({location=InputFileLocation, offset=int, limit=int, }) +upload.File = upload.getFile({location=InputFileLocation, offset=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v23/types/AccountDaysTTL.md b/old_docs/API_docs_v23/types/AccountDaysTTL.md index 12a10190..f3494aac 100644 --- a/old_docs/API_docs_v23/types/AccountDaysTTL.md +++ b/old_docs/API_docs_v23/types/AccountDaysTTL.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->account->getAccountTTL](../methods/account_getAccountTTL.md) +[$MadelineProto->account->getAccountTTL](../methods/account.getAccountTTL.md) diff --git a/old_docs/API_docs_v23/types/Config.md b/old_docs/API_docs_v23/types/Config.md index 0f7fbe70..3a23b7b7 100644 --- a/old_docs/API_docs_v23/types/Config.md +++ b/old_docs/API_docs_v23/types/Config.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->help->getConfig](../methods/help_getConfig.md) +[$MadelineProto->help->getConfig](../methods/help.getConfig.md) diff --git a/old_docs/API_docs_v23/types/ContactStatus.md b/old_docs/API_docs_v23/types/ContactStatus.md index c5f5d658..30aee6e2 100644 --- a/old_docs/API_docs_v23/types/ContactStatus.md +++ b/old_docs/API_docs_v23/types/ContactStatus.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->contacts->getStatuses](../methods/contacts_getStatuses.md) +[$MadelineProto->contacts->getStatuses](../methods/contacts.getStatuses.md) diff --git a/old_docs/API_docs_v23/types/EncryptedChat.md b/old_docs/API_docs_v23/types/EncryptedChat.md index fd2277f6..19cf52b0 100644 --- a/old_docs/API_docs_v23/types/EncryptedChat.md +++ b/old_docs/API_docs_v23/types/EncryptedChat.md @@ -24,9 +24,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->requestEncryption](../methods/messages_requestEncryption.md) +[$MadelineProto->messages->requestEncryption](../methods/messages.requestEncryption.md) -[$MadelineProto->messages->acceptEncryption](../methods/messages_acceptEncryption.md) +[$MadelineProto->messages->acceptEncryption](../methods/messages.acceptEncryption.md) diff --git a/old_docs/API_docs_v23/types/NearestDc.md b/old_docs/API_docs_v23/types/NearestDc.md index 31f24377..296a4dff 100644 --- a/old_docs/API_docs_v23/types/NearestDc.md +++ b/old_docs/API_docs_v23/types/NearestDc.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->help->getNearestDc](../methods/help_getNearestDc.md) +[$MadelineProto->help->getNearestDc](../methods/help.getNearestDc.md) diff --git a/old_docs/API_docs_v23/types/PeerNotifySettings.md b/old_docs/API_docs_v23/types/PeerNotifySettings.md index 769de075..3d72b7c5 100644 --- a/old_docs/API_docs_v23/types/PeerNotifySettings.md +++ b/old_docs/API_docs_v23/types/PeerNotifySettings.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->account->getNotifySettings](../methods/account_getNotifySettings.md) +[$MadelineProto->account->getNotifySettings](../methods/account.getNotifySettings.md) diff --git a/old_docs/API_docs_v23/types/README.md b/old_docs/API_docs_v23/types/README.md index 2fa66df0..2c69b17f 100644 --- a/old_docs/API_docs_v23/types/README.md +++ b/old_docs/API_docs_v23/types/README.md @@ -157,77 +157,77 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png [X](X.md) -[account\_PrivacyRules](account_PrivacyRules.md) +[account.PrivacyRules](account.PrivacyRules.md) -[account\_SentChangePhoneCode](account_SentChangePhoneCode.md) +[account.SentChangePhoneCode](account.SentChangePhoneCode.md) -[auth\_Authorization](auth_Authorization.md) +[auth.Authorization](auth.Authorization.md) -[auth\_CheckedPhone](auth_CheckedPhone.md) +[auth.CheckedPhone](auth.CheckedPhone.md) -[auth\_ExportedAuthorization](auth_ExportedAuthorization.md) +[auth.ExportedAuthorization](auth.ExportedAuthorization.md) -[auth\_SentCode](auth_SentCode.md) +[auth.SentCode](auth.SentCode.md) -[contacts\_Blocked](contacts_Blocked.md) +[contacts.Blocked](contacts.Blocked.md) -[contacts\_Contacts](contacts_Contacts.md) +[contacts.Contacts](contacts.Contacts.md) -[contacts\_ForeignLink](contacts_ForeignLink.md) +[contacts.ForeignLink](contacts.ForeignLink.md) -[contacts\_Found](contacts_Found.md) +[contacts.Found](contacts.Found.md) -[contacts\_ImportedContacts](contacts_ImportedContacts.md) +[contacts.ImportedContacts](contacts.ImportedContacts.md) -[contacts\_Link](contacts_Link.md) +[contacts.Link](contacts.Link.md) -[contacts\_MyLink](contacts_MyLink.md) +[contacts.MyLink](contacts.MyLink.md) -[contacts\_Suggested](contacts_Suggested.md) +[contacts.Suggested](contacts.Suggested.md) -[help\_AppUpdate](help_AppUpdate.md) +[help.AppUpdate](help.AppUpdate.md) -[help\_InviteText](help_InviteText.md) +[help.InviteText](help.InviteText.md) -[help\_Support](help_Support.md) +[help.Support](help.Support.md) [int](int.md) [long](long.md) -[messages\_AffectedHistory](messages_AffectedHistory.md) +[messages.AffectedHistory](messages.AffectedHistory.md) -[messages\_AllStickers](messages_AllStickers.md) +[messages.AllStickers](messages.AllStickers.md) -[messages\_ChatFull](messages_ChatFull.md) +[messages.ChatFull](messages.ChatFull.md) -[messages\_Chats](messages_Chats.md) +[messages.Chats](messages.Chats.md) -[messages\_DhConfig](messages_DhConfig.md) +[messages.DhConfig](messages.DhConfig.md) -[messages\_Dialogs](messages_Dialogs.md) +[messages.Dialogs](messages.Dialogs.md) -[messages\_Messages](messages_Messages.md) +[messages.Messages](messages.Messages.md) -[messages\_SentEncryptedMessage](messages_SentEncryptedMessage.md) +[messages.SentEncryptedMessage](messages.SentEncryptedMessage.md) -[messages\_SentMessage](messages_SentMessage.md) +[messages.SentMessage](messages.SentMessage.md) -[messages\_StatedMessage](messages_StatedMessage.md) +[messages.StatedMessage](messages.StatedMessage.md) -[messages\_StatedMessages](messages_StatedMessages.md) +[messages.StatedMessages](messages.StatedMessages.md) -[messages\_Stickers](messages_Stickers.md) +[messages.Stickers](messages.Stickers.md) -[photos\_Photo](photos_Photo.md) +[photos.Photo](photos.Photo.md) -[photos\_Photos](photos_Photos.md) +[photos.Photos](photos.Photos.md) -[storage\_FileType](storage_FileType.md) +[storage.FileType](storage.FileType.md) -[updates\_Difference](updates_Difference.md) +[updates.Difference](updates.Difference.md) -[updates\_State](updates_State.md) +[updates.State](updates.State.md) -[upload\_File](upload_File.md) +[upload.File](upload.File.md) diff --git a/old_docs/API_docs_v23/types/User.md b/old_docs/API_docs_v23/types/User.md index 6dbfd982..e92dbbf8 100644 --- a/old_docs/API_docs_v23/types/User.md +++ b/old_docs/API_docs_v23/types/User.md @@ -50,17 +50,17 @@ A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDia ### Methods that return an object of this type (methods): -[$MadelineProto->account->updateProfile](../methods/account_updateProfile.md) +[$MadelineProto->account->updateProfile](../methods/account.updateProfile.md) -[$MadelineProto->users->getUsers](../methods/users_getUsers.md) +[$MadelineProto->users->getUsers](../methods/users.getUsers.md) -[$MadelineProto->contacts->importCard](../methods/contacts_importCard.md) +[$MadelineProto->contacts->importCard](../methods/contacts.importCard.md) -[$MadelineProto->account->updateUsername](../methods/account_updateUsername.md) +[$MadelineProto->account->updateUsername](../methods/account.updateUsername.md) -[$MadelineProto->contacts->resolveUsername](../methods/contacts_resolveUsername.md) +[$MadelineProto->contacts->resolveUsername](../methods/contacts.resolveUsername.md) -[$MadelineProto->account->changePhone](../methods/account_changePhone.md) +[$MadelineProto->account->changePhone](../methods/account.changePhone.md) diff --git a/old_docs/API_docs_v23/types/UserFull.md b/old_docs/API_docs_v23/types/UserFull.md index 79ad30bb..ac50052f 100644 --- a/old_docs/API_docs_v23/types/UserFull.md +++ b/old_docs/API_docs_v23/types/UserFull.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->users->getFullUser](../methods/users_getFullUser.md) +[$MadelineProto->users->getFullUser](../methods/users.getFullUser.md) diff --git a/old_docs/API_docs_v23/types/UserProfilePhoto.md b/old_docs/API_docs_v23/types/UserProfilePhoto.md index e5243a2e..e81e92fd 100644 --- a/old_docs/API_docs_v23/types/UserProfilePhoto.md +++ b/old_docs/API_docs_v23/types/UserProfilePhoto.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->photos->updateProfilePhoto](../methods/photos_updateProfilePhoto.md) +[$MadelineProto->photos->updateProfilePhoto](../methods/photos.updateProfilePhoto.md) diff --git a/old_docs/API_docs_v23/types/WallPaper.md b/old_docs/API_docs_v23/types/WallPaper.md index 8c5ac7cf..45337565 100644 --- a/old_docs/API_docs_v23/types/WallPaper.md +++ b/old_docs/API_docs_v23/types/WallPaper.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->account->getWallPapers](../methods/account_getWallPapers.md) +[$MadelineProto->account->getWallPapers](../methods/account.getWallPapers.md) diff --git a/old_docs/API_docs_v23/types/account.PrivacyRules.md b/old_docs/API_docs_v23/types/account.PrivacyRules.md new file mode 100644 index 00000000..738651ad --- /dev/null +++ b/old_docs/API_docs_v23/types/account.PrivacyRules.md @@ -0,0 +1,24 @@ +--- +title: account.PrivacyRules +description: constructors and methods of type account.PrivacyRules +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.PrivacyRules +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.privacyRules](../constructors/account.privacyRules.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getPrivacy](../methods/account.getPrivacy.md) + +[$MadelineProto->account->setPrivacy](../methods/account.setPrivacy.md) + + + diff --git a/old_docs/API_docs_v23/types/account.SentChangePhoneCode.md b/old_docs/API_docs_v23/types/account.SentChangePhoneCode.md new file mode 100644 index 00000000..659b0feb --- /dev/null +++ b/old_docs/API_docs_v23/types/account.SentChangePhoneCode.md @@ -0,0 +1,22 @@ +--- +title: account.SentChangePhoneCode +description: constructors and methods of type account.SentChangePhoneCode +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.SentChangePhoneCode +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.sentChangePhoneCode](../constructors/account.sentChangePhoneCode.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->sendChangePhoneCode](../methods/account.sendChangePhoneCode.md) + + + diff --git a/old_docs/API_docs_v23/types/account_PrivacyRules.md b/old_docs/API_docs_v23/types/account_PrivacyRules.md deleted file mode 100644 index 40b00077..00000000 --- a/old_docs/API_docs_v23/types/account_PrivacyRules.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: account_PrivacyRules -description: constructors and methods of type account_PrivacyRules -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_PrivacyRules -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_privacyRules](../constructors/account_privacyRules.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getPrivacy](../methods/account_getPrivacy.md) - -[$MadelineProto->account->setPrivacy](../methods/account_setPrivacy.md) - - - diff --git a/old_docs/API_docs_v23/types/account_SentChangePhoneCode.md b/old_docs/API_docs_v23/types/account_SentChangePhoneCode.md deleted file mode 100644 index ead3e28c..00000000 --- a/old_docs/API_docs_v23/types/account_SentChangePhoneCode.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_SentChangePhoneCode -description: constructors and methods of type account_SentChangePhoneCode -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_SentChangePhoneCode -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_sentChangePhoneCode](../constructors/account_sentChangePhoneCode.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->sendChangePhoneCode](../methods/account_sendChangePhoneCode.md) - - - diff --git a/old_docs/API_docs_v23/types/auth.Authorization.md b/old_docs/API_docs_v23/types/auth.Authorization.md new file mode 100644 index 00000000..38ef9d5f --- /dev/null +++ b/old_docs/API_docs_v23/types/auth.Authorization.md @@ -0,0 +1,26 @@ +--- +title: auth.Authorization +description: constructors and methods of type auth.Authorization +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.Authorization +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.authorization](../constructors/auth.authorization.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->signUp](../methods/auth.signUp.md) + +[$MadelineProto->auth->signIn](../methods/auth.signIn.md) + +[$MadelineProto->auth->importAuthorization](../methods/auth.importAuthorization.md) + + + diff --git a/old_docs/API_docs_v23/types/auth.CheckedPhone.md b/old_docs/API_docs_v23/types/auth.CheckedPhone.md new file mode 100644 index 00000000..94af3915 --- /dev/null +++ b/old_docs/API_docs_v23/types/auth.CheckedPhone.md @@ -0,0 +1,22 @@ +--- +title: auth.CheckedPhone +description: constructors and methods of type auth.CheckedPhone +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.CheckedPhone +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.checkedPhone](../constructors/auth.checkedPhone.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->checkPhone](../methods/auth.checkPhone.md) + + + diff --git a/old_docs/API_docs_v23/types/auth.ExportedAuthorization.md b/old_docs/API_docs_v23/types/auth.ExportedAuthorization.md new file mode 100644 index 00000000..ccb38d60 --- /dev/null +++ b/old_docs/API_docs_v23/types/auth.ExportedAuthorization.md @@ -0,0 +1,22 @@ +--- +title: auth.ExportedAuthorization +description: constructors and methods of type auth.ExportedAuthorization +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.ExportedAuthorization +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.exportedAuthorization](../constructors/auth.exportedAuthorization.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->exportAuthorization](../methods/auth.exportAuthorization.md) + + + diff --git a/old_docs/API_docs_v23/types/auth.SentCode.md b/old_docs/API_docs_v23/types/auth.SentCode.md new file mode 100644 index 00000000..9fd32a73 --- /dev/null +++ b/old_docs/API_docs_v23/types/auth.SentCode.md @@ -0,0 +1,24 @@ +--- +title: auth.SentCode +description: constructors and methods of type auth.SentCode +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.SentCode +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.sentCode](../constructors/auth.sentCode.md) + +[auth.sentAppCode](../constructors/auth.sentAppCode.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->sendCode](../methods/auth.sendCode.md) + + + diff --git a/old_docs/API_docs_v23/types/auth_Authorization.md b/old_docs/API_docs_v23/types/auth_Authorization.md deleted file mode 100644 index 3cf25085..00000000 --- a/old_docs/API_docs_v23/types/auth_Authorization.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: auth_Authorization -description: constructors and methods of type auth_Authorization -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_Authorization -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_authorization](../constructors/auth_authorization.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->signUp](../methods/auth_signUp.md) - -[$MadelineProto->auth->signIn](../methods/auth_signIn.md) - -[$MadelineProto->auth->importAuthorization](../methods/auth_importAuthorization.md) - - - diff --git a/old_docs/API_docs_v23/types/auth_CheckedPhone.md b/old_docs/API_docs_v23/types/auth_CheckedPhone.md deleted file mode 100644 index e9b0def4..00000000 --- a/old_docs/API_docs_v23/types/auth_CheckedPhone.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: auth_CheckedPhone -description: constructors and methods of type auth_CheckedPhone -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_CheckedPhone -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_checkedPhone](../constructors/auth_checkedPhone.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->checkPhone](../methods/auth_checkPhone.md) - - - diff --git a/old_docs/API_docs_v23/types/auth_ExportedAuthorization.md b/old_docs/API_docs_v23/types/auth_ExportedAuthorization.md deleted file mode 100644 index 69e5c42e..00000000 --- a/old_docs/API_docs_v23/types/auth_ExportedAuthorization.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: auth_ExportedAuthorization -description: constructors and methods of type auth_ExportedAuthorization -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_ExportedAuthorization -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_exportedAuthorization](../constructors/auth_exportedAuthorization.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->exportAuthorization](../methods/auth_exportAuthorization.md) - - - diff --git a/old_docs/API_docs_v23/types/auth_SentCode.md b/old_docs/API_docs_v23/types/auth_SentCode.md deleted file mode 100644 index 85b8d351..00000000 --- a/old_docs/API_docs_v23/types/auth_SentCode.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: auth_SentCode -description: constructors and methods of type auth_SentCode -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_SentCode -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_sentCode](../constructors/auth_sentCode.md) - -[auth\_sentAppCode](../constructors/auth_sentAppCode.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->sendCode](../methods/auth_sendCode.md) - - - diff --git a/old_docs/API_docs_v23/types/contacts.Blocked.md b/old_docs/API_docs_v23/types/contacts.Blocked.md new file mode 100644 index 00000000..cb2af80f --- /dev/null +++ b/old_docs/API_docs_v23/types/contacts.Blocked.md @@ -0,0 +1,24 @@ +--- +title: contacts.Blocked +description: constructors and methods of type contacts.Blocked +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Blocked +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.blocked](../constructors/contacts.blocked.md) + +[contacts.blockedSlice](../constructors/contacts.blockedSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getBlocked](../methods/contacts.getBlocked.md) + + + diff --git a/old_docs/API_docs_v23/types/contacts.Contacts.md b/old_docs/API_docs_v23/types/contacts.Contacts.md new file mode 100644 index 00000000..5f695d8e --- /dev/null +++ b/old_docs/API_docs_v23/types/contacts.Contacts.md @@ -0,0 +1,24 @@ +--- +title: contacts.Contacts +description: constructors and methods of type contacts.Contacts +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Contacts +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.contactsNotModified](../constructors/contacts.contactsNotModified.md) + +[contacts.contacts](../constructors/contacts.contacts.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getContacts](../methods/contacts.getContacts.md) + + + diff --git a/old_docs/API_docs_v23/types/contacts.ForeignLink.md b/old_docs/API_docs_v23/types/contacts.ForeignLink.md new file mode 100644 index 00000000..06917421 --- /dev/null +++ b/old_docs/API_docs_v23/types/contacts.ForeignLink.md @@ -0,0 +1,24 @@ +--- +title: contacts.ForeignLink +description: constructors and methods of type contacts.ForeignLink +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.ForeignLink +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.foreignLinkUnknown](../constructors/contacts.foreignLinkUnknown.md) + +[contacts.foreignLinkRequested](../constructors/contacts.foreignLinkRequested.md) + +[contacts.foreignLinkMutual](../constructors/contacts.foreignLinkMutual.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v23/types/contacts.Found.md b/old_docs/API_docs_v23/types/contacts.Found.md new file mode 100644 index 00000000..7df98927 --- /dev/null +++ b/old_docs/API_docs_v23/types/contacts.Found.md @@ -0,0 +1,22 @@ +--- +title: contacts.Found +description: constructors and methods of type contacts.Found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Found +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.found](../constructors/contacts.found.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->search](../methods/contacts.search.md) + + + diff --git a/old_docs/API_docs_v23/types/contacts.ImportedContacts.md b/old_docs/API_docs_v23/types/contacts.ImportedContacts.md new file mode 100644 index 00000000..16795bab --- /dev/null +++ b/old_docs/API_docs_v23/types/contacts.ImportedContacts.md @@ -0,0 +1,22 @@ +--- +title: contacts.ImportedContacts +description: constructors and methods of type contacts.ImportedContacts +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.ImportedContacts +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.importedContacts](../constructors/contacts.importedContacts.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->importContacts](../methods/contacts.importContacts.md) + + + diff --git a/old_docs/API_docs_v23/types/contacts.Link.md b/old_docs/API_docs_v23/types/contacts.Link.md new file mode 100644 index 00000000..eb9da683 --- /dev/null +++ b/old_docs/API_docs_v23/types/contacts.Link.md @@ -0,0 +1,22 @@ +--- +title: contacts.Link +description: constructors and methods of type contacts.Link +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Link +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.link](../constructors/contacts.link.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->deleteContact](../methods/contacts.deleteContact.md) + + + diff --git a/old_docs/API_docs_v23/types/contacts.MyLink.md b/old_docs/API_docs_v23/types/contacts.MyLink.md new file mode 100644 index 00000000..a14e79de --- /dev/null +++ b/old_docs/API_docs_v23/types/contacts.MyLink.md @@ -0,0 +1,24 @@ +--- +title: contacts.MyLink +description: constructors and methods of type contacts.MyLink +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.MyLink +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.myLinkEmpty](../constructors/contacts.myLinkEmpty.md) + +[contacts.myLinkRequested](../constructors/contacts.myLinkRequested.md) + +[contacts.myLinkContact](../constructors/contacts.myLinkContact.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v23/types/contacts.Suggested.md b/old_docs/API_docs_v23/types/contacts.Suggested.md new file mode 100644 index 00000000..a462dae5 --- /dev/null +++ b/old_docs/API_docs_v23/types/contacts.Suggested.md @@ -0,0 +1,22 @@ +--- +title: contacts.Suggested +description: constructors and methods of type contacts.Suggested +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Suggested +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.suggested](../constructors/contacts.suggested.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getSuggested](../methods/contacts.getSuggested.md) + + + diff --git a/old_docs/API_docs_v23/types/contacts_Blocked.md b/old_docs/API_docs_v23/types/contacts_Blocked.md deleted file mode 100644 index 3e1f02eb..00000000 --- a/old_docs/API_docs_v23/types/contacts_Blocked.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: contacts_Blocked -description: constructors and methods of type contacts_Blocked -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Blocked -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_blocked](../constructors/contacts_blocked.md) - -[contacts\_blockedSlice](../constructors/contacts_blockedSlice.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->getBlocked](../methods/contacts_getBlocked.md) - - - diff --git a/old_docs/API_docs_v23/types/contacts_Contacts.md b/old_docs/API_docs_v23/types/contacts_Contacts.md deleted file mode 100644 index 5d6c9506..00000000 --- a/old_docs/API_docs_v23/types/contacts_Contacts.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: contacts_Contacts -description: constructors and methods of type contacts_Contacts -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Contacts -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_contactsNotModified](../constructors/contacts_contactsNotModified.md) - -[contacts\_contacts](../constructors/contacts_contacts.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->getContacts](../methods/contacts_getContacts.md) - - - diff --git a/old_docs/API_docs_v23/types/contacts_ForeignLink.md b/old_docs/API_docs_v23/types/contacts_ForeignLink.md deleted file mode 100644 index 59675e2f..00000000 --- a/old_docs/API_docs_v23/types/contacts_ForeignLink.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: contacts_ForeignLink -description: constructors and methods of type contacts_ForeignLink -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_ForeignLink -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_foreignLinkUnknown](../constructors/contacts_foreignLinkUnknown.md) - -[contacts\_foreignLinkRequested](../constructors/contacts_foreignLinkRequested.md) - -[contacts\_foreignLinkMutual](../constructors/contacts_foreignLinkMutual.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v23/types/contacts_Found.md b/old_docs/API_docs_v23/types/contacts_Found.md deleted file mode 100644 index 806101cf..00000000 --- a/old_docs/API_docs_v23/types/contacts_Found.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_Found -description: constructors and methods of type contacts_Found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Found -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_found](../constructors/contacts_found.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->search](../methods/contacts_search.md) - - - diff --git a/old_docs/API_docs_v23/types/contacts_ImportedContacts.md b/old_docs/API_docs_v23/types/contacts_ImportedContacts.md deleted file mode 100644 index faf7e615..00000000 --- a/old_docs/API_docs_v23/types/contacts_ImportedContacts.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_ImportedContacts -description: constructors and methods of type contacts_ImportedContacts -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_ImportedContacts -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_importedContacts](../constructors/contacts_importedContacts.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->importContacts](../methods/contacts_importContacts.md) - - - diff --git a/old_docs/API_docs_v23/types/contacts_Link.md b/old_docs/API_docs_v23/types/contacts_Link.md deleted file mode 100644 index 01556606..00000000 --- a/old_docs/API_docs_v23/types/contacts_Link.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_Link -description: constructors and methods of type contacts_Link -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Link -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_link](../constructors/contacts_link.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->deleteContact](../methods/contacts_deleteContact.md) - - - diff --git a/old_docs/API_docs_v23/types/contacts_MyLink.md b/old_docs/API_docs_v23/types/contacts_MyLink.md deleted file mode 100644 index 65604538..00000000 --- a/old_docs/API_docs_v23/types/contacts_MyLink.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: contacts_MyLink -description: constructors and methods of type contacts_MyLink -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_MyLink -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_myLinkEmpty](../constructors/contacts_myLinkEmpty.md) - -[contacts\_myLinkRequested](../constructors/contacts_myLinkRequested.md) - -[contacts\_myLinkContact](../constructors/contacts_myLinkContact.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v23/types/contacts_Suggested.md b/old_docs/API_docs_v23/types/contacts_Suggested.md deleted file mode 100644 index dd597b3b..00000000 --- a/old_docs/API_docs_v23/types/contacts_Suggested.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_Suggested -description: constructors and methods of type contacts_Suggested -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Suggested -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_suggested](../constructors/contacts_suggested.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->getSuggested](../methods/contacts_getSuggested.md) - - - diff --git a/old_docs/API_docs_v23/types/help.AppUpdate.md b/old_docs/API_docs_v23/types/help.AppUpdate.md new file mode 100644 index 00000000..285ec2b7 --- /dev/null +++ b/old_docs/API_docs_v23/types/help.AppUpdate.md @@ -0,0 +1,24 @@ +--- +title: help.AppUpdate +description: constructors and methods of type help.AppUpdate +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.AppUpdate +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.appUpdate](../constructors/help.appUpdate.md) + +[help.noAppUpdate](../constructors/help.noAppUpdate.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getAppUpdate](../methods/help.getAppUpdate.md) + + + diff --git a/old_docs/API_docs_v23/types/help.InviteText.md b/old_docs/API_docs_v23/types/help.InviteText.md new file mode 100644 index 00000000..43293f46 --- /dev/null +++ b/old_docs/API_docs_v23/types/help.InviteText.md @@ -0,0 +1,22 @@ +--- +title: help.InviteText +description: constructors and methods of type help.InviteText +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.InviteText +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.inviteText](../constructors/help.inviteText.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getInviteText](../methods/help.getInviteText.md) + + + diff --git a/old_docs/API_docs_v23/types/help.Support.md b/old_docs/API_docs_v23/types/help.Support.md new file mode 100644 index 00000000..42c20483 --- /dev/null +++ b/old_docs/API_docs_v23/types/help.Support.md @@ -0,0 +1,22 @@ +--- +title: help.Support +description: constructors and methods of type help.Support +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.Support +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.support](../constructors/help.support.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getSupport](../methods/help.getSupport.md) + + + diff --git a/old_docs/API_docs_v23/types/help_AppUpdate.md b/old_docs/API_docs_v23/types/help_AppUpdate.md deleted file mode 100644 index 1f296a70..00000000 --- a/old_docs/API_docs_v23/types/help_AppUpdate.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: help_AppUpdate -description: constructors and methods of type help_AppUpdate -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_AppUpdate -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_appUpdate](../constructors/help_appUpdate.md) - -[help\_noAppUpdate](../constructors/help_noAppUpdate.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getAppUpdate](../methods/help_getAppUpdate.md) - - - diff --git a/old_docs/API_docs_v23/types/help_InviteText.md b/old_docs/API_docs_v23/types/help_InviteText.md deleted file mode 100644 index 018d35bf..00000000 --- a/old_docs/API_docs_v23/types/help_InviteText.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: help_InviteText -description: constructors and methods of type help_InviteText -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_InviteText -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_inviteText](../constructors/help_inviteText.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getInviteText](../methods/help_getInviteText.md) - - - diff --git a/old_docs/API_docs_v23/types/help_Support.md b/old_docs/API_docs_v23/types/help_Support.md deleted file mode 100644 index 26de447b..00000000 --- a/old_docs/API_docs_v23/types/help_Support.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: help_Support -description: constructors and methods of type help_Support -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_Support -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_support](../constructors/help_support.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getSupport](../methods/help_getSupport.md) - - - diff --git a/old_docs/API_docs_v23/types/messages.AffectedHistory.md b/old_docs/API_docs_v23/types/messages.AffectedHistory.md new file mode 100644 index 00000000..f6746759 --- /dev/null +++ b/old_docs/API_docs_v23/types/messages.AffectedHistory.md @@ -0,0 +1,24 @@ +--- +title: messages.AffectedHistory +description: constructors and methods of type messages.AffectedHistory +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.AffectedHistory +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.affectedHistory](../constructors/messages.affectedHistory.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->readHistory](../methods/messages.readHistory.md) + +[$MadelineProto->messages->deleteHistory](../methods/messages.deleteHistory.md) + + + diff --git a/old_docs/API_docs_v23/types/messages.AllStickers.md b/old_docs/API_docs_v23/types/messages.AllStickers.md new file mode 100644 index 00000000..5ece92c0 --- /dev/null +++ b/old_docs/API_docs_v23/types/messages.AllStickers.md @@ -0,0 +1,24 @@ +--- +title: messages.AllStickers +description: constructors and methods of type messages.AllStickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.AllStickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.allStickersNotModified](../constructors/messages.allStickersNotModified.md) + +[messages.allStickers](../constructors/messages.allStickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getAllStickers](../methods/messages.getAllStickers.md) + + + diff --git a/old_docs/API_docs_v23/types/messages.ChatFull.md b/old_docs/API_docs_v23/types/messages.ChatFull.md new file mode 100644 index 00000000..1b5ab0cc --- /dev/null +++ b/old_docs/API_docs_v23/types/messages.ChatFull.md @@ -0,0 +1,22 @@ +--- +title: messages.ChatFull +description: constructors and methods of type messages.ChatFull +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.ChatFull +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.chatFull](../constructors/messages.chatFull.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getFullChat](../methods/messages.getFullChat.md) + + + diff --git a/old_docs/API_docs_v23/types/messages.Chats.md b/old_docs/API_docs_v23/types/messages.Chats.md new file mode 100644 index 00000000..6052dc4f --- /dev/null +++ b/old_docs/API_docs_v23/types/messages.Chats.md @@ -0,0 +1,22 @@ +--- +title: messages.Chats +description: constructors and methods of type messages.Chats +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Chats +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.chats](../constructors/messages.chats.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getChats](../methods/messages.getChats.md) + + + diff --git a/old_docs/API_docs_v23/types/messages.DhConfig.md b/old_docs/API_docs_v23/types/messages.DhConfig.md new file mode 100644 index 00000000..77188ab7 --- /dev/null +++ b/old_docs/API_docs_v23/types/messages.DhConfig.md @@ -0,0 +1,24 @@ +--- +title: messages.DhConfig +description: constructors and methods of type messages.DhConfig +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.DhConfig +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.dhConfigNotModified](../constructors/messages.dhConfigNotModified.md) + +[messages.dhConfig](../constructors/messages.dhConfig.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getDhConfig](../methods/messages.getDhConfig.md) + + + diff --git a/old_docs/API_docs_v23/types/messages.Dialogs.md b/old_docs/API_docs_v23/types/messages.Dialogs.md new file mode 100644 index 00000000..1a57d535 --- /dev/null +++ b/old_docs/API_docs_v23/types/messages.Dialogs.md @@ -0,0 +1,24 @@ +--- +title: messages.Dialogs +description: constructors and methods of type messages.Dialogs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Dialogs +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.dialogs](../constructors/messages.dialogs.md) + +[messages.dialogsSlice](../constructors/messages.dialogsSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getDialogs](../methods/messages.getDialogs.md) + + + diff --git a/old_docs/API_docs_v23/types/messages.Messages.md b/old_docs/API_docs_v23/types/messages.Messages.md new file mode 100644 index 00000000..6de49a3a --- /dev/null +++ b/old_docs/API_docs_v23/types/messages.Messages.md @@ -0,0 +1,28 @@ +--- +title: messages.Messages +description: constructors and methods of type messages.Messages +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Messages +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.messages](../constructors/messages.messages.md) + +[messages.messagesSlice](../constructors/messages.messagesSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getMessages](../methods/messages.getMessages.md) + +[$MadelineProto->messages->getHistory](../methods/messages.getHistory.md) + +[$MadelineProto->messages->search](../methods/messages.search.md) + + + diff --git a/old_docs/API_docs_v23/types/messages.SentEncryptedMessage.md b/old_docs/API_docs_v23/types/messages.SentEncryptedMessage.md new file mode 100644 index 00000000..b6d05b1f --- /dev/null +++ b/old_docs/API_docs_v23/types/messages.SentEncryptedMessage.md @@ -0,0 +1,28 @@ +--- +title: messages.SentEncryptedMessage +description: constructors and methods of type messages.SentEncryptedMessage +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.SentEncryptedMessage +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.sentEncryptedMessage](../constructors/messages.sentEncryptedMessage.md) + +[messages.sentEncryptedFile](../constructors/messages.sentEncryptedFile.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->sendEncrypted](../methods/messages.sendEncrypted.md) + +[$MadelineProto->messages->sendEncryptedFile](../methods/messages.sendEncryptedFile.md) + +[$MadelineProto->messages->sendEncryptedService](../methods/messages.sendEncryptedService.md) + + + diff --git a/old_docs/API_docs_v23/types/messages.SentMessage.md b/old_docs/API_docs_v23/types/messages.SentMessage.md new file mode 100644 index 00000000..519818b0 --- /dev/null +++ b/old_docs/API_docs_v23/types/messages.SentMessage.md @@ -0,0 +1,24 @@ +--- +title: messages.SentMessage +description: constructors and methods of type messages.SentMessage +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.SentMessage +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.sentMessage](../constructors/messages.sentMessage.md) + +[messages.sentMessageLink](../constructors/messages.sentMessageLink.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->sendMessage](../methods/messages.sendMessage.md) + + + diff --git a/old_docs/API_docs_v23/types/messages.StatedMessage.md b/old_docs/API_docs_v23/types/messages.StatedMessage.md new file mode 100644 index 00000000..8763d39b --- /dev/null +++ b/old_docs/API_docs_v23/types/messages.StatedMessage.md @@ -0,0 +1,36 @@ +--- +title: messages.StatedMessage +description: constructors and methods of type messages.StatedMessage +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.StatedMessage +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.statedMessage](../constructors/messages.statedMessage.md) + +[messages.statedMessageLink](../constructors/messages.statedMessageLink.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->sendMedia](../methods/messages.sendMedia.md) + +[$MadelineProto->messages->editChatTitle](../methods/messages.editChatTitle.md) + +[$MadelineProto->messages->editChatPhoto](../methods/messages.editChatPhoto.md) + +[$MadelineProto->messages->addChatUser](../methods/messages.addChatUser.md) + +[$MadelineProto->messages->deleteChatUser](../methods/messages.deleteChatUser.md) + +[$MadelineProto->messages->createChat](../methods/messages.createChat.md) + +[$MadelineProto->messages->forwardMessage](../methods/messages.forwardMessage.md) + + + diff --git a/old_docs/API_docs_v23/types/messages.StatedMessages.md b/old_docs/API_docs_v23/types/messages.StatedMessages.md new file mode 100644 index 00000000..ed9fa330 --- /dev/null +++ b/old_docs/API_docs_v23/types/messages.StatedMessages.md @@ -0,0 +1,26 @@ +--- +title: messages.StatedMessages +description: constructors and methods of type messages.StatedMessages +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.StatedMessages +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.statedMessages](../constructors/messages.statedMessages.md) + +[messages.statedMessagesLinks](../constructors/messages.statedMessagesLinks.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->forwardMessages](../methods/messages.forwardMessages.md) + +[$MadelineProto->messages->sendBroadcast](../methods/messages.sendBroadcast.md) + + + diff --git a/old_docs/API_docs_v23/types/messages.Stickers.md b/old_docs/API_docs_v23/types/messages.Stickers.md new file mode 100644 index 00000000..43bddf06 --- /dev/null +++ b/old_docs/API_docs_v23/types/messages.Stickers.md @@ -0,0 +1,24 @@ +--- +title: messages.Stickers +description: constructors and methods of type messages.Stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Stickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.stickersNotModified](../constructors/messages.stickersNotModified.md) + +[messages.stickers](../constructors/messages.stickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getStickers](../methods/messages.getStickers.md) + + + diff --git a/old_docs/API_docs_v23/types/messages_AffectedHistory.md b/old_docs/API_docs_v23/types/messages_AffectedHistory.md deleted file mode 100644 index 0d1098b8..00000000 --- a/old_docs/API_docs_v23/types/messages_AffectedHistory.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_AffectedHistory -description: constructors and methods of type messages_AffectedHistory -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_AffectedHistory -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_affectedHistory](../constructors/messages_affectedHistory.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->readHistory](../methods/messages_readHistory.md) - -[$MadelineProto->messages->deleteHistory](../methods/messages_deleteHistory.md) - - - diff --git a/old_docs/API_docs_v23/types/messages_AllStickers.md b/old_docs/API_docs_v23/types/messages_AllStickers.md deleted file mode 100644 index 59d19759..00000000 --- a/old_docs/API_docs_v23/types/messages_AllStickers.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_AllStickers -description: constructors and methods of type messages_AllStickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_AllStickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_allStickersNotModified](../constructors/messages_allStickersNotModified.md) - -[messages\_allStickers](../constructors/messages_allStickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getAllStickers](../methods/messages_getAllStickers.md) - - - diff --git a/old_docs/API_docs_v23/types/messages_ChatFull.md b/old_docs/API_docs_v23/types/messages_ChatFull.md deleted file mode 100644 index 056c6641..00000000 --- a/old_docs/API_docs_v23/types/messages_ChatFull.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_ChatFull -description: constructors and methods of type messages_ChatFull -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_ChatFull -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_chatFull](../constructors/messages_chatFull.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getFullChat](../methods/messages_getFullChat.md) - - - diff --git a/old_docs/API_docs_v23/types/messages_Chats.md b/old_docs/API_docs_v23/types/messages_Chats.md deleted file mode 100644 index 0b3113b7..00000000 --- a/old_docs/API_docs_v23/types/messages_Chats.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_Chats -description: constructors and methods of type messages_Chats -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Chats -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_chats](../constructors/messages_chats.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getChats](../methods/messages_getChats.md) - - - diff --git a/old_docs/API_docs_v23/types/messages_DhConfig.md b/old_docs/API_docs_v23/types/messages_DhConfig.md deleted file mode 100644 index ce237411..00000000 --- a/old_docs/API_docs_v23/types/messages_DhConfig.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_DhConfig -description: constructors and methods of type messages_DhConfig -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_DhConfig -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_dhConfigNotModified](../constructors/messages_dhConfigNotModified.md) - -[messages\_dhConfig](../constructors/messages_dhConfig.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getDhConfig](../methods/messages_getDhConfig.md) - - - diff --git a/old_docs/API_docs_v23/types/messages_Dialogs.md b/old_docs/API_docs_v23/types/messages_Dialogs.md deleted file mode 100644 index 733a42c5..00000000 --- a/old_docs/API_docs_v23/types/messages_Dialogs.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_Dialogs -description: constructors and methods of type messages_Dialogs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Dialogs -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_dialogs](../constructors/messages_dialogs.md) - -[messages\_dialogsSlice](../constructors/messages_dialogsSlice.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getDialogs](../methods/messages_getDialogs.md) - - - diff --git a/old_docs/API_docs_v23/types/messages_Messages.md b/old_docs/API_docs_v23/types/messages_Messages.md deleted file mode 100644 index e9218929..00000000 --- a/old_docs/API_docs_v23/types/messages_Messages.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: messages_Messages -description: constructors and methods of type messages_Messages -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Messages -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_messages](../constructors/messages_messages.md) - -[messages\_messagesSlice](../constructors/messages_messagesSlice.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getMessages](../methods/messages_getMessages.md) - -[$MadelineProto->messages->getHistory](../methods/messages_getHistory.md) - -[$MadelineProto->messages->search](../methods/messages_search.md) - - - diff --git a/old_docs/API_docs_v23/types/messages_SentEncryptedMessage.md b/old_docs/API_docs_v23/types/messages_SentEncryptedMessage.md deleted file mode 100644 index 9f7ab935..00000000 --- a/old_docs/API_docs_v23/types/messages_SentEncryptedMessage.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: messages_SentEncryptedMessage -description: constructors and methods of type messages_SentEncryptedMessage -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_SentEncryptedMessage -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_sentEncryptedMessage](../constructors/messages_sentEncryptedMessage.md) - -[messages\_sentEncryptedFile](../constructors/messages_sentEncryptedFile.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->sendEncrypted](../methods/messages_sendEncrypted.md) - -[$MadelineProto->messages->sendEncryptedFile](../methods/messages_sendEncryptedFile.md) - -[$MadelineProto->messages->sendEncryptedService](../methods/messages_sendEncryptedService.md) - - - diff --git a/old_docs/API_docs_v23/types/messages_SentMessage.md b/old_docs/API_docs_v23/types/messages_SentMessage.md deleted file mode 100644 index 294b515c..00000000 --- a/old_docs/API_docs_v23/types/messages_SentMessage.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_SentMessage -description: constructors and methods of type messages_SentMessage -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_SentMessage -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_sentMessage](../constructors/messages_sentMessage.md) - -[messages\_sentMessageLink](../constructors/messages_sentMessageLink.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->sendMessage](../methods/messages_sendMessage.md) - - - diff --git a/old_docs/API_docs_v23/types/messages_StatedMessage.md b/old_docs/API_docs_v23/types/messages_StatedMessage.md deleted file mode 100644 index 10be95f2..00000000 --- a/old_docs/API_docs_v23/types/messages_StatedMessage.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -title: messages_StatedMessage -description: constructors and methods of type messages_StatedMessage -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_StatedMessage -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_statedMessage](../constructors/messages_statedMessage.md) - -[messages\_statedMessageLink](../constructors/messages_statedMessageLink.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->sendMedia](../methods/messages_sendMedia.md) - -[$MadelineProto->messages->editChatTitle](../methods/messages_editChatTitle.md) - -[$MadelineProto->messages->editChatPhoto](../methods/messages_editChatPhoto.md) - -[$MadelineProto->messages->addChatUser](../methods/messages_addChatUser.md) - -[$MadelineProto->messages->deleteChatUser](../methods/messages_deleteChatUser.md) - -[$MadelineProto->messages->createChat](../methods/messages_createChat.md) - -[$MadelineProto->messages->forwardMessage](../methods/messages_forwardMessage.md) - - - diff --git a/old_docs/API_docs_v23/types/messages_StatedMessages.md b/old_docs/API_docs_v23/types/messages_StatedMessages.md deleted file mode 100644 index 95dc255d..00000000 --- a/old_docs/API_docs_v23/types/messages_StatedMessages.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: messages_StatedMessages -description: constructors and methods of type messages_StatedMessages -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_StatedMessages -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_statedMessages](../constructors/messages_statedMessages.md) - -[messages\_statedMessagesLinks](../constructors/messages_statedMessagesLinks.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->forwardMessages](../methods/messages_forwardMessages.md) - -[$MadelineProto->messages->sendBroadcast](../methods/messages_sendBroadcast.md) - - - diff --git a/old_docs/API_docs_v23/types/messages_Stickers.md b/old_docs/API_docs_v23/types/messages_Stickers.md deleted file mode 100644 index cf53f57b..00000000 --- a/old_docs/API_docs_v23/types/messages_Stickers.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_Stickers -description: constructors and methods of type messages_Stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Stickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_stickersNotModified](../constructors/messages_stickersNotModified.md) - -[messages\_stickers](../constructors/messages_stickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getStickers](../methods/messages_getStickers.md) - - - diff --git a/old_docs/API_docs_v23/types/photos.Photo.md b/old_docs/API_docs_v23/types/photos.Photo.md new file mode 100644 index 00000000..d60f203c --- /dev/null +++ b/old_docs/API_docs_v23/types/photos.Photo.md @@ -0,0 +1,22 @@ +--- +title: photos.Photo +description: constructors and methods of type photos.Photo +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: photos.Photo +[Back to types index](index.md) + + + +### Possible values (constructors): + +[photos.photo](../constructors/photos.photo.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->photos->uploadProfilePhoto](../methods/photos.uploadProfilePhoto.md) + + + diff --git a/old_docs/API_docs_v23/types/photos.Photos.md b/old_docs/API_docs_v23/types/photos.Photos.md new file mode 100644 index 00000000..fff0e296 --- /dev/null +++ b/old_docs/API_docs_v23/types/photos.Photos.md @@ -0,0 +1,24 @@ +--- +title: photos.Photos +description: constructors and methods of type photos.Photos +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: photos.Photos +[Back to types index](index.md) + + + +### Possible values (constructors): + +[photos.photos](../constructors/photos.photos.md) + +[photos.photosSlice](../constructors/photos.photosSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->photos->getUserPhotos](../methods/photos.getUserPhotos.md) + + + diff --git a/old_docs/API_docs_v23/types/photos_Photo.md b/old_docs/API_docs_v23/types/photos_Photo.md deleted file mode 100644 index d11bbdef..00000000 --- a/old_docs/API_docs_v23/types/photos_Photo.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: photos_Photo -description: constructors and methods of type photos_Photo -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: photos\_Photo -[Back to types index](index.md) - - - -### Possible values (constructors): - -[photos\_photo](../constructors/photos_photo.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->photos->uploadProfilePhoto](../methods/photos_uploadProfilePhoto.md) - - - diff --git a/old_docs/API_docs_v23/types/photos_Photos.md b/old_docs/API_docs_v23/types/photos_Photos.md deleted file mode 100644 index 9875ad70..00000000 --- a/old_docs/API_docs_v23/types/photos_Photos.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: photos_Photos -description: constructors and methods of type photos_Photos -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: photos\_Photos -[Back to types index](index.md) - - - -### Possible values (constructors): - -[photos\_photos](../constructors/photos_photos.md) - -[photos\_photosSlice](../constructors/photos_photosSlice.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->photos->getUserPhotos](../methods/photos_getUserPhotos.md) - - - diff --git a/old_docs/API_docs_v23/types/storage.FileType.md b/old_docs/API_docs_v23/types/storage.FileType.md new file mode 100644 index 00000000..73dc8a92 --- /dev/null +++ b/old_docs/API_docs_v23/types/storage.FileType.md @@ -0,0 +1,38 @@ +--- +title: storage.FileType +description: constructors and methods of type storage.FileType +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: storage.FileType +[Back to types index](index.md) + + + +### Possible values (constructors): + +[storage.fileUnknown](../constructors/storage.fileUnknown.md) + +[storage.fileJpeg](../constructors/storage.fileJpeg.md) + +[storage.fileGif](../constructors/storage.fileGif.md) + +[storage.filePng](../constructors/storage.filePng.md) + +[storage.filePdf](../constructors/storage.filePdf.md) + +[storage.fileMp3](../constructors/storage.fileMp3.md) + +[storage.fileMov](../constructors/storage.fileMov.md) + +[storage.filePartial](../constructors/storage.filePartial.md) + +[storage.fileMp4](../constructors/storage.fileMp4.md) + +[storage.fileWebp](../constructors/storage.fileWebp.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v23/types/storage_FileType.md b/old_docs/API_docs_v23/types/storage_FileType.md deleted file mode 100644 index 076c52a4..00000000 --- a/old_docs/API_docs_v23/types/storage_FileType.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: storage_FileType -description: constructors and methods of type storage_FileType -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: storage\_FileType -[Back to types index](index.md) - - - -### Possible values (constructors): - -[storage\_fileUnknown](../constructors/storage_fileUnknown.md) - -[storage\_fileJpeg](../constructors/storage_fileJpeg.md) - -[storage\_fileGif](../constructors/storage_fileGif.md) - -[storage\_filePng](../constructors/storage_filePng.md) - -[storage\_filePdf](../constructors/storage_filePdf.md) - -[storage\_fileMp3](../constructors/storage_fileMp3.md) - -[storage\_fileMov](../constructors/storage_fileMov.md) - -[storage\_filePartial](../constructors/storage_filePartial.md) - -[storage\_fileMp4](../constructors/storage_fileMp4.md) - -[storage\_fileWebp](../constructors/storage_fileWebp.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v23/types/updates.Difference.md b/old_docs/API_docs_v23/types/updates.Difference.md new file mode 100644 index 00000000..35998855 --- /dev/null +++ b/old_docs/API_docs_v23/types/updates.Difference.md @@ -0,0 +1,26 @@ +--- +title: updates.Difference +description: constructors and methods of type updates.Difference +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: updates.Difference +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updates.differenceEmpty](../constructors/updates.differenceEmpty.md) + +[updates.difference](../constructors/updates.difference.md) + +[updates.differenceSlice](../constructors/updates.differenceSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->updates->getDifference](../methods/updates.getDifference.md) + + + diff --git a/old_docs/API_docs_v23/types/updates.State.md b/old_docs/API_docs_v23/types/updates.State.md new file mode 100644 index 00000000..49bbb7fd --- /dev/null +++ b/old_docs/API_docs_v23/types/updates.State.md @@ -0,0 +1,22 @@ +--- +title: updates.State +description: constructors and methods of type updates.State +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: updates.State +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updates.state](../constructors/updates.state.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->updates->getState](../methods/updates.getState.md) + + + diff --git a/old_docs/API_docs_v23/types/updates_Difference.md b/old_docs/API_docs_v23/types/updates_Difference.md deleted file mode 100644 index 0190189b..00000000 --- a/old_docs/API_docs_v23/types/updates_Difference.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: updates_Difference -description: constructors and methods of type updates_Difference -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: updates\_Difference -[Back to types index](index.md) - - - -### Possible values (constructors): - -[updates\_differenceEmpty](../constructors/updates_differenceEmpty.md) - -[updates\_difference](../constructors/updates_difference.md) - -[updates\_differenceSlice](../constructors/updates_differenceSlice.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->updates->getDifference](../methods/updates_getDifference.md) - - - diff --git a/old_docs/API_docs_v23/types/updates_State.md b/old_docs/API_docs_v23/types/updates_State.md deleted file mode 100644 index 7a441145..00000000 --- a/old_docs/API_docs_v23/types/updates_State.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: updates_State -description: constructors and methods of type updates_State -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: updates\_State -[Back to types index](index.md) - - - -### Possible values (constructors): - -[updates\_state](../constructors/updates_state.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->updates->getState](../methods/updates_getState.md) - - - diff --git a/old_docs/API_docs_v23/types/upload.File.md b/old_docs/API_docs_v23/types/upload.File.md new file mode 100644 index 00000000..922e6c7a --- /dev/null +++ b/old_docs/API_docs_v23/types/upload.File.md @@ -0,0 +1,22 @@ +--- +title: upload.File +description: constructors and methods of type upload.File +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: upload.File +[Back to types index](index.md) + + + +### Possible values (constructors): + +[upload.file](../constructors/upload.file.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->upload->getFile](../methods/upload.getFile.md) + + + diff --git a/old_docs/API_docs_v23/types/upload_File.md b/old_docs/API_docs_v23/types/upload_File.md deleted file mode 100644 index 6e3bc38d..00000000 --- a/old_docs/API_docs_v23/types/upload_File.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: upload_File -description: constructors and methods of type upload_File -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: upload\_File -[Back to types index](index.md) - - - -### Possible values (constructors): - -[upload\_file](../constructors/upload_file.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->upload->getFile](../methods/upload_getFile.md) - - - diff --git a/old_docs/API_docs_v25/constructors/README.md b/old_docs/API_docs_v25/constructors/README.md index 9689b73f..dc57b195 100644 --- a/old_docs/API_docs_v25/constructors/README.md +++ b/old_docs/API_docs_v25/constructors/README.md @@ -7,16 +7,19 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png [Back to API documentation index](..) *** -

[$accountDaysTTL](../constructors/accountDaysTTL.md) = \['days' => [int](../types/int.md), \]; +

[$account.noPassword](../constructors/account.noPassword.md) = \['new_salt' => [bytes](../types/bytes.md), \]; *** -

[$account\_noPassword](../constructors/account_noPassword.md) = \['new_salt' => [bytes](../types/bytes.md), \]; +

[$account.password](../constructors/account.password.md) = \['current_salt' => [bytes](../types/bytes.md), 'new_salt' => [bytes](../types/bytes.md), 'hint' => [string](../types/string.md), \]; -[$account\_password](../constructors/account_password.md) = \['current_salt' => [bytes](../types/bytes.md), 'new_salt' => [bytes](../types/bytes.md), 'hint' => [string](../types/string.md), \]; +*** +

[$account.privacyRules](../constructors/account.privacyRules.md) = \['rules' => \[[PrivacyRule](../types/PrivacyRule.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$account\_privacyRules](../constructors/account_privacyRules.md) = \['rules' => \[[PrivacyRule](../types/PrivacyRule.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$account.sentChangePhoneCode](../constructors/account.sentChangePhoneCode.md) = \['phone_code_hash' => [string](../types/string.md), 'send_call_timeout' => [int](../types/int.md), \]; -[$account\_sentChangePhoneCode](../constructors/account_sentChangePhoneCode.md) = \['phone_code_hash' => [string](../types/string.md), 'send_call_timeout' => [int](../types/int.md), \]; +*** +

[$accountDaysTTL](../constructors/accountDaysTTL.md) = \['days' => [int](../types/int.md), \]; ***

[$audio](../constructors/audio.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'user_id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'duration' => [int](../types/int.md), 'mime_type' => [string](../types/string.md), 'size' => [int](../types/int.md), 'dc_id' => [int](../types/int.md), \]; @@ -25,15 +28,19 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$audioEmpty](../constructors/audioEmpty.md) = \['id' => [long](../types/long.md), \]; *** -

[$auth\_authorization](../constructors/auth_authorization.md) = \['expires' => [int](../types/int.md), 'user' => [User](../types/User.md), \]; +

[$auth.authorization](../constructors/auth.authorization.md) = \['expires' => [int](../types/int.md), 'user' => [User](../types/User.md), \]; -[$auth\_checkedPhone](../constructors/auth_checkedPhone.md) = \['phone_registered' => [Bool](../types/Bool.md), \]; +*** +

[$auth.checkedPhone](../constructors/auth.checkedPhone.md) = \['phone_registered' => [Bool](../types/Bool.md), \]; -[$auth\_exportedAuthorization](../constructors/auth_exportedAuthorization.md) = \['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; +*** +

[$auth.exportedAuthorization](../constructors/auth.exportedAuthorization.md) = \['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; -[$auth\_sentAppCode](../constructors/auth_sentAppCode.md) = \['phone_registered' => [Bool](../types/Bool.md), 'phone_code_hash' => [string](../types/string.md), 'send_call_timeout' => [int](../types/int.md), 'is_password' => [Bool](../types/Bool.md), \]; +*** +

[$auth.sentAppCode](../constructors/auth.sentAppCode.md) = \['phone_registered' => [Bool](../types/Bool.md), 'phone_code_hash' => [string](../types/string.md), 'send_call_timeout' => [int](../types/int.md), 'is_password' => [Bool](../types/Bool.md), \]; -[$auth\_sentCode](../constructors/auth_sentCode.md) = \['phone_registered' => [Bool](../types/Bool.md), 'phone_code_hash' => [string](../types/string.md), 'send_call_timeout' => [int](../types/int.md), 'is_password' => [Bool](../types/Bool.md), \]; +*** +

[$auth.sentCode](../constructors/auth.sentCode.md) = \['phone_registered' => [Bool](../types/Bool.md), 'phone_code_hash' => [string](../types/string.md), 'send_call_timeout' => [int](../types/int.md), 'is_password' => [Bool](../types/Bool.md), \]; ***

[$boolFalse](../constructors/boolFalse.md) = \[\]; @@ -102,21 +109,28 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$contactSuggested](../constructors/contactSuggested.md) = \['user_id' => [int](../types/int.md), 'mutual_contacts' => [int](../types/int.md), \]; *** -

[$contacts\_blocked](../constructors/contacts_blocked.md) = \['blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; +

[$contacts.blocked](../constructors/contacts.blocked.md) = \['blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_blockedSlice](../constructors/contacts_blockedSlice.md) = \['count' => [int](../types/int.md), 'blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.blockedSlice](../constructors/contacts.blockedSlice.md) = \['count' => [int](../types/int.md), 'blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_contacts](../constructors/contacts_contacts.md) = \['contacts' => \[[Contact](../types/Contact.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.contacts](../constructors/contacts.contacts.md) = \['contacts' => \[[Contact](../types/Contact.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_contactsNotModified](../constructors/contacts_contactsNotModified.md) = \[\]; +*** +

[$contacts.contactsNotModified](../constructors/contacts.contactsNotModified.md) = \[\]; -[$contacts\_found](../constructors/contacts_found.md) = \['results' => \[[ContactFound](../types/ContactFound.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.found](../constructors/contacts.found.md) = \['results' => \[[ContactFound](../types/ContactFound.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_importedContacts](../constructors/contacts_importedContacts.md) = \['imported' => \[[ImportedContact](../types/ImportedContact.md)\], 'retry_contacts' => \[[long](../types/long.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.importedContacts](../constructors/contacts.importedContacts.md) = \['imported' => \[[ImportedContact](../types/ImportedContact.md)\], 'retry_contacts' => \[[long](../types/long.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_link](../constructors/contacts_link.md) = \['my_link' => [ContactLink](../types/ContactLink.md), 'foreign_link' => [ContactLink](../types/ContactLink.md), 'user' => [User](../types/User.md), \]; +*** +

[$contacts.link](../constructors/contacts.link.md) = \['my_link' => [ContactLink](../types/ContactLink.md), 'foreign_link' => [ContactLink](../types/ContactLink.md), 'user' => [User](../types/User.md), \]; -[$contacts\_suggested](../constructors/contacts_suggested.md) = \['results' => \[[ContactSuggested](../types/ContactSuggested.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.suggested](../constructors/contacts.suggested.md) = \['results' => \[[ContactSuggested](../types/ContactSuggested.md)\], 'users' => \[[User](../types/User.md)\], \]; ***

[$dcOption](../constructors/dcOption.md) = \['id' => [int](../types/int.md), 'hostname' => [string](../types/string.md), 'ip_address' => [string](../types/string.md), 'port' => [int](../types/int.md), \]; @@ -206,22 +220,28 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$geoPointEmpty](../constructors/geoPointEmpty.md) = \[\]; *** -

[$geochats\_located](../constructors/geochats_located.md) = \['results' => \[[ChatLocated](../types/ChatLocated.md)\], 'messages' => \[[GeoChatMessage](../types/GeoChatMessage.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; - -[$geochats\_messages](../constructors/geochats_messages.md) = \['messages' => \[[GeoChatMessage](../types/GeoChatMessage.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; - -[$geochats\_messagesSlice](../constructors/geochats_messagesSlice.md) = \['count' => [int](../types/int.md), 'messages' => \[[GeoChatMessage](../types/GeoChatMessage.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; - -[$geochats\_statedMessage](../constructors/geochats_statedMessage.md) = \['message' => [GeoChatMessage](../types/GeoChatMessage.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'seq' => [int](../types/int.md), \]; +

[$geochats.located](../constructors/geochats.located.md) = \['results' => \[[ChatLocated](../types/ChatLocated.md)\], 'messages' => \[[GeoChatMessage](../types/GeoChatMessage.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; *** -

[$help\_appUpdate](../constructors/help_appUpdate.md) = \['id' => [int](../types/int.md), 'critical' => [Bool](../types/Bool.md), 'url' => [string](../types/string.md), 'text' => [string](../types/string.md), \]; +

[$geochats.messages](../constructors/geochats.messages.md) = \['messages' => \[[GeoChatMessage](../types/GeoChatMessage.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$help\_inviteText](../constructors/help_inviteText.md) = \['message' => [string](../types/string.md), \]; +*** +

[$geochats.messagesSlice](../constructors/geochats.messagesSlice.md) = \['count' => [int](../types/int.md), 'messages' => \[[GeoChatMessage](../types/GeoChatMessage.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$help\_noAppUpdate](../constructors/help_noAppUpdate.md) = \[\]; +*** +

[$geochats.statedMessage](../constructors/geochats.statedMessage.md) = \['message' => [GeoChatMessage](../types/GeoChatMessage.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'seq' => [int](../types/int.md), \]; -[$help\_support](../constructors/help_support.md) = \['phone_number' => [string](../types/string.md), 'user' => [User](../types/User.md), \]; +*** +

[$help.appUpdate](../constructors/help.appUpdate.md) = \['id' => [int](../types/int.md), 'critical' => [Bool](../types/Bool.md), 'url' => [string](../types/string.md), 'text' => [string](../types/string.md), \]; + +*** +

[$help.inviteText](../constructors/help.inviteText.md) = \['message' => [string](../types/string.md), \]; + +*** +

[$help.noAppUpdate](../constructors/help.noAppUpdate.md) = \[\]; + +*** +

[$help.support](../constructors/help.support.md) = \['phone_number' => [string](../types/string.md), 'user' => [User](../types/User.md), \]; ***

[$importedContact](../constructors/importedContact.md) = \['user_id' => [int](../types/int.md), 'client_id' => [long](../types/long.md), \]; @@ -509,51 +529,73 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$messageService](../constructors/messageService.md) = \['id' => [int](../types/int.md), 'from_id' => [int](../types/int.md), 'to_id' => [Peer](../types/Peer.md), 'date' => [int](../types/int.md), 'action' => [MessageAction](../types/MessageAction.md), \]; *** -

[$messages\_affectedHistory](../constructors/messages_affectedHistory.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), 'offset' => [int](../types/int.md), \]; +

[$messages.affectedHistory](../constructors/messages.affectedHistory.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), 'offset' => [int](../types/int.md), \]; -[$messages\_affectedMessages](../constructors/messages_affectedMessages.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; +*** +

[$messages.affectedMessages](../constructors/messages.affectedMessages.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; -[$messages\_allStickers](../constructors/messages_allStickers.md) = \['hash' => [string](../types/string.md), 'packs' => \[[StickerPack](../types/StickerPack.md)\], 'documents' => \[[Document](../types/Document.md)\], \]; +*** +

[$messages.allStickers](../constructors/messages.allStickers.md) = \['hash' => [string](../types/string.md), 'packs' => \[[StickerPack](../types/StickerPack.md)\], 'documents' => \[[Document](../types/Document.md)\], \]; -[$messages\_allStickersNotModified](../constructors/messages_allStickersNotModified.md) = \[\]; +*** +

[$messages.allStickersNotModified](../constructors/messages.allStickersNotModified.md) = \[\]; -[$messages\_chatFull](../constructors/messages_chatFull.md) = \['full_chat' => [ChatFull](../types/ChatFull.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.chatFull](../constructors/messages.chatFull.md) = \['full_chat' => [ChatFull](../types/ChatFull.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_chats](../constructors/messages_chats.md) = \['chats' => \[[Chat](../types/Chat.md)\], \]; +*** +

[$messages.chats](../constructors/messages.chats.md) = \['chats' => \[[Chat](../types/Chat.md)\], \]; -[$messages\_dhConfig](../constructors/messages_dhConfig.md) = \['g' => [int](../types/int.md), 'p' => [bytes](../types/bytes.md), 'version' => [int](../types/int.md), 'random' => [bytes](../types/bytes.md), \]; +*** +

[$messages.dhConfig](../constructors/messages.dhConfig.md) = \['g' => [int](../types/int.md), 'p' => [bytes](../types/bytes.md), 'version' => [int](../types/int.md), 'random' => [bytes](../types/bytes.md), \]; -[$messages\_dhConfigNotModified](../constructors/messages_dhConfigNotModified.md) = \['random' => [bytes](../types/bytes.md), \]; +*** +

[$messages.dhConfigNotModified](../constructors/messages.dhConfigNotModified.md) = \['random' => [bytes](../types/bytes.md), \]; -[$messages\_dialogs](../constructors/messages_dialogs.md) = \['dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.dialogs](../constructors/messages.dialogs.md) = \['dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_dialogsSlice](../constructors/messages_dialogsSlice.md) = \['count' => [int](../types/int.md), 'dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.dialogsSlice](../constructors/messages.dialogsSlice.md) = \['count' => [int](../types/int.md), 'dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_messageEmpty](../constructors/messages_messageEmpty.md) = \[\]; +*** +

[$messages.messageEmpty](../constructors/messages.messageEmpty.md) = \[\]; -[$messages\_messages](../constructors/messages_messages.md) = \['messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.messages](../constructors/messages.messages.md) = \['messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_messagesSlice](../constructors/messages_messagesSlice.md) = \['count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.messagesSlice](../constructors/messages.messagesSlice.md) = \['count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_sentEncryptedFile](../constructors/messages_sentEncryptedFile.md) = \['date' => [int](../types/int.md), 'file' => [EncryptedFile](../types/EncryptedFile.md), \]; +*** +

[$messages.sentEncryptedFile](../constructors/messages.sentEncryptedFile.md) = \['date' => [int](../types/int.md), 'file' => [EncryptedFile](../types/EncryptedFile.md), \]; -[$messages\_sentEncryptedMessage](../constructors/messages_sentEncryptedMessage.md) = \['date' => [int](../types/int.md), \]; +*** +

[$messages.sentEncryptedMessage](../constructors/messages.sentEncryptedMessage.md) = \['date' => [int](../types/int.md), \]; -[$messages\_sentMessage](../constructors/messages_sentMessage.md) = \['id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; +*** +

[$messages.sentMessage](../constructors/messages.sentMessage.md) = \['id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; -[$messages\_sentMessageLink](../constructors/messages_sentMessageLink.md) = \['id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), 'links' => \[[contacts.Link](../types/contacts.Link.md)\], 'seq' => [int](../types/int.md), \]; +*** +

[$messages.sentMessageLink](../constructors/messages.sentMessageLink.md) = \['id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), 'links' => \[[contacts.Link](../types/contacts.Link.md)\], 'seq' => [int](../types/int.md), \]; -[$messages\_statedMessage](../constructors/messages_statedMessage.md) = \['message' => [Message](../types/Message.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; +*** +

[$messages.statedMessage](../constructors/messages.statedMessage.md) = \['message' => [Message](../types/Message.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; -[$messages\_statedMessageLink](../constructors/messages_statedMessageLink.md) = \['message' => [Message](../types/Message.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), 'links' => \[[contacts.Link](../types/contacts.Link.md)\], 'seq' => [int](../types/int.md), \]; +*** +

[$messages.statedMessageLink](../constructors/messages.statedMessageLink.md) = \['message' => [Message](../types/Message.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), 'links' => \[[contacts.Link](../types/contacts.Link.md)\], 'seq' => [int](../types/int.md), \]; -[$messages\_statedMessages](../constructors/messages_statedMessages.md) = \['messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; +*** +

[$messages.statedMessages](../constructors/messages.statedMessages.md) = \['messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; -[$messages\_statedMessagesLinks](../constructors/messages_statedMessagesLinks.md) = \['messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), 'links' => \[[contacts.Link](../types/contacts.Link.md)\], 'seq' => [int](../types/int.md), \]; +*** +

[$messages.statedMessagesLinks](../constructors/messages.statedMessagesLinks.md) = \['messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), 'links' => \[[contacts.Link](../types/contacts.Link.md)\], 'seq' => [int](../types/int.md), \]; -[$messages\_stickers](../constructors/messages_stickers.md) = \['hash' => [string](../types/string.md), 'stickers' => \[[Document](../types/Document.md)\], \]; +*** +

[$messages.stickers](../constructors/messages.stickers.md) = \['hash' => [string](../types/string.md), 'stickers' => \[[Document](../types/Document.md)\], \]; -[$messages\_stickersNotModified](../constructors/messages_stickersNotModified.md) = \[\]; +*** +

[$messages.stickersNotModified](../constructors/messages.stickersNotModified.md) = \[\]; ***

[$nearestDc](../constructors/nearestDc.md) = \['country' => [string](../types/string.md), 'this_dc' => [int](../types/int.md), 'nearest_dc' => [int](../types/int.md), \]; @@ -607,11 +649,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$photoSizeEmpty](../constructors/photoSizeEmpty.md) = \['type' => [string](../types/string.md), \]; *** -

[$photos\_photo](../constructors/photos_photo.md) = \['photo' => [Photo](../types/Photo.md), 'users' => \[[User](../types/User.md)\], \]; +

[$photos.photo](../constructors/photos.photo.md) = \['photo' => [Photo](../types/Photo.md), 'users' => \[[User](../types/User.md)\], \]; -[$photos\_photos](../constructors/photos_photos.md) = \['photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$photos.photos](../constructors/photos.photos.md) = \['photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$photos\_photosSlice](../constructors/photos_photosSlice.md) = \['count' => [int](../types/int.md), 'photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$photos.photosSlice](../constructors/photos.photosSlice.md) = \['count' => [int](../types/int.md), 'photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; ***

[$privacyKeyStatusTimestamp](../constructors/privacyKeyStatusTimestamp.md) = \[\]; @@ -668,25 +712,34 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$stickerPack](../constructors/stickerPack.md) = \['emoticon' => [string](../types/string.md), 'documents' => \[[long](../types/long.md)\], \]; *** -

[$storage\_fileGif](../constructors/storage_fileGif.md) = \[\]; +

[$storage.fileGif](../constructors/storage.fileGif.md) = \[\]; -[$storage\_fileJpeg](../constructors/storage_fileJpeg.md) = \[\]; +*** +

[$storage.fileJpeg](../constructors/storage.fileJpeg.md) = \[\]; -[$storage\_fileMov](../constructors/storage_fileMov.md) = \[\]; +*** +

[$storage.fileMov](../constructors/storage.fileMov.md) = \[\]; -[$storage\_fileMp3](../constructors/storage_fileMp3.md) = \[\]; +*** +

[$storage.fileMp3](../constructors/storage.fileMp3.md) = \[\]; -[$storage\_fileMp4](../constructors/storage_fileMp4.md) = \[\]; +*** +

[$storage.fileMp4](../constructors/storage.fileMp4.md) = \[\]; -[$storage\_filePartial](../constructors/storage_filePartial.md) = \[\]; +*** +

[$storage.filePartial](../constructors/storage.filePartial.md) = \[\]; -[$storage\_filePdf](../constructors/storage_filePdf.md) = \[\]; +*** +

[$storage.filePdf](../constructors/storage.filePdf.md) = \[\]; -[$storage\_filePng](../constructors/storage_filePng.md) = \[\]; +*** +

[$storage.filePng](../constructors/storage.filePng.md) = \[\]; -[$storage\_fileUnknown](../constructors/storage_fileUnknown.md) = \[\]; +*** +

[$storage.fileUnknown](../constructors/storage.fileUnknown.md) = \[\]; -[$storage\_fileWebp](../constructors/storage_fileWebp.md) = \[\]; +*** +

[$storage.fileWebp](../constructors/storage.fileWebp.md) = \[\]; ***

[$updateChatParticipantAdd](../constructors/updateChatParticipantAdd.md) = \['chat_id' => [int](../types/int.md), 'user_id' => [int](../types/int.md), 'inviter_id' => [int](../types/int.md), 'version' => [int](../types/int.md), \]; @@ -784,6 +837,18 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ***

[$updates](../constructors/updates.md) = \['updates' => \[[Update](../types/Update.md)\], 'users' => \[[User](../types/User.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'date' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; +*** +

[$updates.difference](../constructors/updates.difference.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'state' => [updates.State](../types/updates.State.md), \]; + +*** +

[$updates.differenceEmpty](../constructors/updates.differenceEmpty.md) = \['date' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; + +*** +

[$updates.differenceSlice](../constructors/updates.differenceSlice.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'intermediate_state' => [updates.State](../types/updates.State.md), \]; + +*** +

[$updates.state](../constructors/updates.state.md) = \['pts' => [int](../types/int.md), 'qts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'seq' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), \]; + ***

[$updatesCombined](../constructors/updatesCombined.md) = \['updates' => \[[Update](../types/Update.md)\], 'users' => \[[User](../types/User.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'date' => [int](../types/int.md), 'seq_start' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; @@ -791,16 +856,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$updatesTooLong](../constructors/updatesTooLong.md) = \[\]; *** -

[$updates\_difference](../constructors/updates_difference.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'state' => [updates.State](../types/updates.State.md), \]; - -[$updates\_differenceEmpty](../constructors/updates_differenceEmpty.md) = \['date' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; - -[$updates\_differenceSlice](../constructors/updates_differenceSlice.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'intermediate_state' => [updates.State](../types/updates.State.md), \]; - -[$updates\_state](../constructors/updates_state.md) = \['pts' => [int](../types/int.md), 'qts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'seq' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), \]; - -*** -

[$upload\_file](../constructors/upload_file.md) = \['type' => [storage.FileType](../types/storage.FileType.md), 'mtime' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; +

[$upload.file](../constructors/upload.file.md) = \['type' => [storage.FileType](../types/storage.FileType.md), 'mtime' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; ***

[$userContact](../constructors/userContact.md) = \['id' => [int](../types/int.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), 'username' => [string](../types/string.md), 'access_hash' => [long](../types/long.md), 'phone' => [string](../types/string.md), 'photo' => [UserProfilePhoto](../types/UserProfilePhoto.md), 'status' => [UserStatus](../types/UserStatus.md), \]; diff --git a/old_docs/API_docs_v25/constructors/account.noPassword.md b/old_docs/API_docs_v25/constructors/account.noPassword.md new file mode 100644 index 00000000..3912c557 --- /dev/null +++ b/old_docs/API_docs_v25/constructors/account.noPassword.md @@ -0,0 +1,38 @@ +--- +title: account.noPassword +description: No password +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.noPassword +[Back to constructors index](index.md) + + + +No password + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|new\_salt|[bytes](../types/bytes.md) | Yes|New salt| + + + +### Type: [account.Password](../types/account.Password.md) + + +### Example: + +```php +$account.noPassword = ['_' => 'account.noPassword', 'new_salt' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +account.noPassword={_='account.noPassword', new_salt='bytes'} + +``` + + diff --git a/old_docs/API_docs_v25/constructors/account.password.md b/old_docs/API_docs_v25/constructors/account.password.md new file mode 100644 index 00000000..50f813a2 --- /dev/null +++ b/old_docs/API_docs_v25/constructors/account.password.md @@ -0,0 +1,40 @@ +--- +title: account.password +description: Configuration for two-factor authorization +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.password +[Back to constructors index](index.md) + + + +Configuration for two-factor authorization + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|current\_salt|[bytes](../types/bytes.md) | Yes|Current salt| +|new\_salt|[bytes](../types/bytes.md) | Yes|New salt| +|hint|[string](../types/string.md) | Yes|Text hint for the password| + + + +### Type: [account.Password](../types/account.Password.md) + + +### Example: + +```php +$account.password = ['_' => 'account.password', 'current_salt' => 'bytes', 'new_salt' => 'bytes', 'hint' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +account.password={_='account.password', current_salt='bytes', new_salt='bytes', hint='string'} + +``` + + diff --git a/old_docs/API_docs_v25/constructors/account.privacyRules.md b/old_docs/API_docs_v25/constructors/account.privacyRules.md new file mode 100644 index 00000000..7ae04abb --- /dev/null +++ b/old_docs/API_docs_v25/constructors/account.privacyRules.md @@ -0,0 +1,39 @@ +--- +title: account.privacyRules +description: Privacy rules +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.privacyRules +[Back to constructors index](index.md) + + + +Privacy rules + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|rules|Array of [PrivacyRule](../types/PrivacyRule.md) | Yes|Rules| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [account.PrivacyRules](../types/account.PrivacyRules.md) + + +### Example: + +```php +$account.privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule, PrivacyRule], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +account.privacyRules={_='account.privacyRules', rules={PrivacyRule}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v25/constructors/account.sentChangePhoneCode.md b/old_docs/API_docs_v25/constructors/account.sentChangePhoneCode.md new file mode 100644 index 00000000..119f6af6 --- /dev/null +++ b/old_docs/API_docs_v25/constructors/account.sentChangePhoneCode.md @@ -0,0 +1,39 @@ +--- +title: account.sentChangePhoneCode +description: Sent change phone code +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.sentChangePhoneCode +[Back to constructors index](index.md) + + + +Sent change phone code + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_code\_hash|[string](../types/string.md) | Yes|Phone code hash| +|send\_call\_timeout|[int](../types/int.md) | Yes|Send call timeout| + + + +### Type: [account.SentChangePhoneCode](../types/account.SentChangePhoneCode.md) + + +### Example: + +```php +$account.sentChangePhoneCode = ['_' => 'account.sentChangePhoneCode', 'phone_code_hash' => 'string', 'send_call_timeout' => int]; +``` + + +Or, if you're into Lua: + +```lua +account.sentChangePhoneCode={_='account.sentChangePhoneCode', phone_code_hash='string', send_call_timeout=int} + +``` + + diff --git a/old_docs/API_docs_v25/constructors/account_noPassword.md b/old_docs/API_docs_v25/constructors/account_noPassword.md deleted file mode 100644 index 4d745eb6..00000000 --- a/old_docs/API_docs_v25/constructors/account_noPassword.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: account.noPassword -description: No password -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.noPassword -[Back to constructors index](index.md) - - - -No password - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|new\_salt|[bytes](../types/bytes.md) | Yes|New salt| - - - -### Type: [account\_Password](../types/account_Password.md) - - -### Example: - -```php -$account_noPassword = ['_' => 'account.noPassword', 'new_salt' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -account_noPassword={_='account.noPassword', new_salt='bytes'} - -``` - - diff --git a/old_docs/API_docs_v25/constructors/account_password.md b/old_docs/API_docs_v25/constructors/account_password.md deleted file mode 100644 index 83f5eb0c..00000000 --- a/old_docs/API_docs_v25/constructors/account_password.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: account.password -description: Configuration for two-factor authorization -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.password -[Back to constructors index](index.md) - - - -Configuration for two-factor authorization - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|current\_salt|[bytes](../types/bytes.md) | Yes|Current salt| -|new\_salt|[bytes](../types/bytes.md) | Yes|New salt| -|hint|[string](../types/string.md) | Yes|Text hint for the password| - - - -### Type: [account\_Password](../types/account_Password.md) - - -### Example: - -```php -$account_password = ['_' => 'account.password', 'current_salt' => 'bytes', 'new_salt' => 'bytes', 'hint' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -account_password={_='account.password', current_salt='bytes', new_salt='bytes', hint='string'} - -``` - - diff --git a/old_docs/API_docs_v25/constructors/account_privacyRules.md b/old_docs/API_docs_v25/constructors/account_privacyRules.md deleted file mode 100644 index 28b260b7..00000000 --- a/old_docs/API_docs_v25/constructors/account_privacyRules.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: account.privacyRules -description: Privacy rules -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.privacyRules -[Back to constructors index](index.md) - - - -Privacy rules - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|rules|Array of [PrivacyRule](../types/PrivacyRule.md) | Yes|Rules| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [account\_PrivacyRules](../types/account_PrivacyRules.md) - - -### Example: - -```php -$account_privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule, PrivacyRule], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -account_privacyRules={_='account.privacyRules', rules={PrivacyRule}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v25/constructors/account_sentChangePhoneCode.md b/old_docs/API_docs_v25/constructors/account_sentChangePhoneCode.md deleted file mode 100644 index 052ce817..00000000 --- a/old_docs/API_docs_v25/constructors/account_sentChangePhoneCode.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: account.sentChangePhoneCode -description: Sent change phone code -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.sentChangePhoneCode -[Back to constructors index](index.md) - - - -Sent change phone code - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_code\_hash|[string](../types/string.md) | Yes|Phone code hash| -|send\_call\_timeout|[int](../types/int.md) | Yes|Send call timeout| - - - -### Type: [account\_SentChangePhoneCode](../types/account_SentChangePhoneCode.md) - - -### Example: - -```php -$account_sentChangePhoneCode = ['_' => 'account.sentChangePhoneCode', 'phone_code_hash' => 'string', 'send_call_timeout' => int]; -``` - - -Or, if you're into Lua: - -```lua -account_sentChangePhoneCode={_='account.sentChangePhoneCode', phone_code_hash='string', send_call_timeout=int} - -``` - - diff --git a/old_docs/API_docs_v25/constructors/auth.authorization.md b/old_docs/API_docs_v25/constructors/auth.authorization.md new file mode 100644 index 00000000..93dc63ee --- /dev/null +++ b/old_docs/API_docs_v25/constructors/auth.authorization.md @@ -0,0 +1,39 @@ +--- +title: auth.authorization +description: Contains user authorization info. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.authorization +[Back to constructors index](index.md) + + + +Contains user authorization info. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|expires|[int](../types/int.md) | Yes|Expiration date| +|user|[User](../types/User.md) | Optional|Info on authorized user| + + + +### Type: [auth.Authorization](../types/auth.Authorization.md) + + +### Example: + +```php +$auth.authorization = ['_' => 'auth.authorization', 'expires' => int, 'user' => User]; +``` + + +Or, if you're into Lua: + +```lua +auth.authorization={_='auth.authorization', expires=int, user=User} + +``` + + diff --git a/old_docs/API_docs_v25/constructors/auth.checkedPhone.md b/old_docs/API_docs_v25/constructors/auth.checkedPhone.md new file mode 100644 index 00000000..23e84cf9 --- /dev/null +++ b/old_docs/API_docs_v25/constructors/auth.checkedPhone.md @@ -0,0 +1,38 @@ +--- +title: auth.checkedPhone +description: Checked phone +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.checkedPhone +[Back to constructors index](index.md) + + + +Checked phone + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_registered|[Bool](../types/Bool.md) | Yes|Phone registered?| + + + +### Type: [auth.CheckedPhone](../types/auth.CheckedPhone.md) + + +### Example: + +```php +$auth.checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool]; +``` + + +Or, if you're into Lua: + +```lua +auth.checkedPhone={_='auth.checkedPhone', phone_registered=Bool} + +``` + + diff --git a/old_docs/API_docs_v25/constructors/auth.exportedAuthorization.md b/old_docs/API_docs_v25/constructors/auth.exportedAuthorization.md new file mode 100644 index 00000000..2a4a9896 --- /dev/null +++ b/old_docs/API_docs_v25/constructors/auth.exportedAuthorization.md @@ -0,0 +1,39 @@ +--- +title: auth.exportedAuthorization +description: Data for copying of authorization between data centres. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.exportedAuthorization +[Back to constructors index](index.md) + + + +Data for copying of authorization between data centres. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|id|[int](../types/int.md) | Yes|Current user identifier| +|bytes|[bytes](../types/bytes.md) | Yes|Authorizes key| + + + +### Type: [auth.ExportedAuthorization](../types/auth.ExportedAuthorization.md) + + +### Example: + +```php +$auth.exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +auth.exportedAuthorization={_='auth.exportedAuthorization', id=int, bytes='bytes'} + +``` + + diff --git a/old_docs/API_docs_v25/constructors/auth.sentAppCode.md b/old_docs/API_docs_v25/constructors/auth.sentAppCode.md new file mode 100644 index 00000000..e4cd5ef0 --- /dev/null +++ b/old_docs/API_docs_v25/constructors/auth.sentAppCode.md @@ -0,0 +1,41 @@ +--- +title: auth.sentAppCode +description: Sent app code +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentAppCode +[Back to constructors index](index.md) + + + +Sent app code + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_registered|[Bool](../types/Bool.md) | Yes|Phone registered?| +|phone\_code\_hash|[string](../types/string.md) | Yes|Phone code hash| +|send\_call\_timeout|[int](../types/int.md) | Yes|Send call timeout| +|is\_password|[Bool](../types/Bool.md) | Yes|Is password?| + + + +### Type: [auth.SentCode](../types/auth.SentCode.md) + + +### Example: + +```php +$auth.sentAppCode = ['_' => 'auth.sentAppCode', 'phone_registered' => Bool, 'phone_code_hash' => 'string', 'send_call_timeout' => int, 'is_password' => Bool]; +``` + + +Or, if you're into Lua: + +```lua +auth.sentAppCode={_='auth.sentAppCode', phone_registered=Bool, phone_code_hash='string', send_call_timeout=int, is_password=Bool} + +``` + + diff --git a/old_docs/API_docs_v25/constructors/auth.sentCode.md b/old_docs/API_docs_v25/constructors/auth.sentCode.md new file mode 100644 index 00000000..c81a8042 --- /dev/null +++ b/old_docs/API_docs_v25/constructors/auth.sentCode.md @@ -0,0 +1,41 @@ +--- +title: auth.sentCode +description: Contains info about a sent verification code. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentCode +[Back to constructors index](index.md) + + + +Contains info about a sent verification code. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_registered|[Bool](../types/Bool.md) | Yes|Phone registered?| +|phone\_code\_hash|[string](../types/string.md) | Yes|Phone code hash, to be stored and later re-used with [auth.signIn](../methods/auth.signIn.md)| +|send\_call\_timeout|[int](../types/int.md) | Yes|Send call timeout| +|is\_password|[Bool](../types/Bool.md) | Yes|Is password?| + + + +### Type: [auth.SentCode](../types/auth.SentCode.md) + + +### Example: + +```php +$auth.sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'phone_code_hash' => 'string', 'send_call_timeout' => int, 'is_password' => Bool]; +``` + + +Or, if you're into Lua: + +```lua +auth.sentCode={_='auth.sentCode', phone_registered=Bool, phone_code_hash='string', send_call_timeout=int, is_password=Bool} + +``` + + diff --git a/old_docs/API_docs_v25/constructors/auth_authorization.md b/old_docs/API_docs_v25/constructors/auth_authorization.md deleted file mode 100644 index 8549a27d..00000000 --- a/old_docs/API_docs_v25/constructors/auth_authorization.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: auth.authorization -description: Contains user authorization info. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.authorization -[Back to constructors index](index.md) - - - -Contains user authorization info. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|expires|[int](../types/int.md) | Yes|Expiration date| -|user|[User](../types/User.md) | Optional|Info on authorized user| - - - -### Type: [auth\_Authorization](../types/auth_Authorization.md) - - -### Example: - -```php -$auth_authorization = ['_' => 'auth.authorization', 'expires' => int, 'user' => User]; -``` - - -Or, if you're into Lua: - -```lua -auth_authorization={_='auth.authorization', expires=int, user=User} - -``` - - diff --git a/old_docs/API_docs_v25/constructors/auth_checkedPhone.md b/old_docs/API_docs_v25/constructors/auth_checkedPhone.md deleted file mode 100644 index c77becf6..00000000 --- a/old_docs/API_docs_v25/constructors/auth_checkedPhone.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.checkedPhone -description: Checked phone -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.checkedPhone -[Back to constructors index](index.md) - - - -Checked phone - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_registered|[Bool](../types/Bool.md) | Yes|Phone registered?| - - - -### Type: [auth\_CheckedPhone](../types/auth_CheckedPhone.md) - - -### Example: - -```php -$auth_checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool]; -``` - - -Or, if you're into Lua: - -```lua -auth_checkedPhone={_='auth.checkedPhone', phone_registered=Bool} - -``` - - diff --git a/old_docs/API_docs_v25/constructors/auth_exportedAuthorization.md b/old_docs/API_docs_v25/constructors/auth_exportedAuthorization.md deleted file mode 100644 index 8d18916e..00000000 --- a/old_docs/API_docs_v25/constructors/auth_exportedAuthorization.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: auth.exportedAuthorization -description: Data for copying of authorization between data centres. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.exportedAuthorization -[Back to constructors index](index.md) - - - -Data for copying of authorization between data centres. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|id|[int](../types/int.md) | Yes|Current user identifier| -|bytes|[bytes](../types/bytes.md) | Yes|Authorizes key| - - - -### Type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) - - -### Example: - -```php -$auth_exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -auth_exportedAuthorization={_='auth.exportedAuthorization', id=int, bytes='bytes'} - -``` - - diff --git a/old_docs/API_docs_v25/constructors/auth_sentAppCode.md b/old_docs/API_docs_v25/constructors/auth_sentAppCode.md deleted file mode 100644 index f61b0eb9..00000000 --- a/old_docs/API_docs_v25/constructors/auth_sentAppCode.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: auth.sentAppCode -description: Sent app code -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentAppCode -[Back to constructors index](index.md) - - - -Sent app code - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_registered|[Bool](../types/Bool.md) | Yes|Phone registered?| -|phone\_code\_hash|[string](../types/string.md) | Yes|Phone code hash| -|send\_call\_timeout|[int](../types/int.md) | Yes|Send call timeout| -|is\_password|[Bool](../types/Bool.md) | Yes|Is password?| - - - -### Type: [auth\_SentCode](../types/auth_SentCode.md) - - -### Example: - -```php -$auth_sentAppCode = ['_' => 'auth.sentAppCode', 'phone_registered' => Bool, 'phone_code_hash' => 'string', 'send_call_timeout' => int, 'is_password' => Bool]; -``` - - -Or, if you're into Lua: - -```lua -auth_sentAppCode={_='auth.sentAppCode', phone_registered=Bool, phone_code_hash='string', send_call_timeout=int, is_password=Bool} - -``` - - diff --git a/old_docs/API_docs_v25/constructors/auth_sentCode.md b/old_docs/API_docs_v25/constructors/auth_sentCode.md deleted file mode 100644 index 28a9ac2f..00000000 --- a/old_docs/API_docs_v25/constructors/auth_sentCode.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: auth.sentCode -description: Contains info about a sent verification code. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentCode -[Back to constructors index](index.md) - - - -Contains info about a sent verification code. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_registered|[Bool](../types/Bool.md) | Yes|Phone registered?| -|phone\_code\_hash|[string](../types/string.md) | Yes|Phone code hash, to be stored and later re-used with [auth.signIn](../methods/auth.signIn.md)| -|send\_call\_timeout|[int](../types/int.md) | Yes|Send call timeout| -|is\_password|[Bool](../types/Bool.md) | Yes|Is password?| - - - -### Type: [auth\_SentCode](../types/auth_SentCode.md) - - -### Example: - -```php -$auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'phone_code_hash' => 'string', 'send_call_timeout' => int, 'is_password' => Bool]; -``` - - -Or, if you're into Lua: - -```lua -auth_sentCode={_='auth.sentCode', phone_registered=Bool, phone_code_hash='string', send_call_timeout=int, is_password=Bool} - -``` - - diff --git a/old_docs/API_docs_v25/constructors/contacts.blocked.md b/old_docs/API_docs_v25/constructors/contacts.blocked.md new file mode 100644 index 00000000..d2b3f680 --- /dev/null +++ b/old_docs/API_docs_v25/constructors/contacts.blocked.md @@ -0,0 +1,39 @@ +--- +title: contacts.blocked +description: Full list of blocked users. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.blocked +[Back to constructors index](index.md) + + + +Full list of blocked users. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Blocked](../types/contacts.Blocked.md) + + +### Example: + +```php +$contacts.blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.blocked={_='contacts.blocked', blocked={ContactBlocked}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v25/constructors/contacts.blockedSlice.md b/old_docs/API_docs_v25/constructors/contacts.blockedSlice.md new file mode 100644 index 00000000..92d19c72 --- /dev/null +++ b/old_docs/API_docs_v25/constructors/contacts.blockedSlice.md @@ -0,0 +1,40 @@ +--- +title: contacts.blockedSlice +description: Incomplete list of blocked users. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.blockedSlice +[Back to constructors index](index.md) + + + +Incomplete list of blocked users. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of elements in the list| +|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Blocked](../types/contacts.Blocked.md) + + +### Example: + +```php +$contacts.blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.blockedSlice={_='contacts.blockedSlice', count=int, blocked={ContactBlocked}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v25/constructors/contacts.contacts.md b/old_docs/API_docs_v25/constructors/contacts.contacts.md new file mode 100644 index 00000000..d4ccc018 --- /dev/null +++ b/old_docs/API_docs_v25/constructors/contacts.contacts.md @@ -0,0 +1,39 @@ +--- +title: contacts.contacts +description: The current user's contact list and info on users. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.contacts +[Back to constructors index](index.md) + + + +The current user's contact list and info on users. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|contacts|Array of [Contact](../types/Contact.md) | Yes|Contacts| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Contacts](../types/contacts.Contacts.md) + + +### Example: + +```php +$contacts.contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact, Contact], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.contacts={_='contacts.contacts', contacts={Contact}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v25/constructors/contacts.contactsNotModified.md b/old_docs/API_docs_v25/constructors/contacts.contactsNotModified.md new file mode 100644 index 00000000..e2149396 --- /dev/null +++ b/old_docs/API_docs_v25/constructors/contacts.contactsNotModified.md @@ -0,0 +1,33 @@ +--- +title: contacts.contactsNotModified +description: Contact list on the server is the same as the list on the client. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.contactsNotModified +[Back to constructors index](index.md) + + + +Contact list on the server is the same as the list on the client. + + + + +### Type: [contacts.Contacts](../types/contacts.Contacts.md) + + +### Example: + +```php +$contacts.contactsNotModified = ['_' => 'contacts.contactsNotModified']; +``` + + +Or, if you're into Lua: + +```lua +contacts.contactsNotModified={_='contacts.contactsNotModified'} + +``` + + diff --git a/old_docs/API_docs_v25/constructors/contacts.found.md b/old_docs/API_docs_v25/constructors/contacts.found.md new file mode 100644 index 00000000..e7820220 --- /dev/null +++ b/old_docs/API_docs_v25/constructors/contacts.found.md @@ -0,0 +1,39 @@ +--- +title: contacts.found +description: Users found by name substring and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.found +[Back to constructors index](index.md) + + + +Users found by name substring and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|results|Array of [ContactFound](../types/ContactFound.md) | Yes|Results| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Found](../types/contacts.Found.md) + + +### Example: + +```php +$contacts.found = ['_' => 'contacts.found', 'results' => [ContactFound, ContactFound], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.found={_='contacts.found', results={ContactFound}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v25/constructors/contacts.importedContacts.md b/old_docs/API_docs_v25/constructors/contacts.importedContacts.md new file mode 100644 index 00000000..1cbff59a --- /dev/null +++ b/old_docs/API_docs_v25/constructors/contacts.importedContacts.md @@ -0,0 +1,40 @@ +--- +title: contacts.importedContacts +description: Info on succesfully imported contacts. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.importedContacts +[Back to constructors index](index.md) + + + +Info on succesfully imported contacts. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|imported|Array of [ImportedContact](../types/ImportedContact.md) | Yes|Imported| +|retry\_contacts|Array of [long](../types/long.md) | Yes|Retry importing contacts whose client IDs appear here| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.ImportedContacts](../types/contacts.ImportedContacts.md) + + +### Example: + +```php +$contacts.importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact, ImportedContact], 'retry_contacts' => [long, long], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.importedContacts={_='contacts.importedContacts', imported={ImportedContact}, retry_contacts={long}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v25/constructors/contacts.link.md b/old_docs/API_docs_v25/constructors/contacts.link.md new file mode 100644 index 00000000..ab150a0d --- /dev/null +++ b/old_docs/API_docs_v25/constructors/contacts.link.md @@ -0,0 +1,40 @@ +--- +title: contacts.link +description: Link +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.link +[Back to constructors index](index.md) + + + +Link + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|my\_link|[ContactLink](../types/ContactLink.md) | Yes|My link| +|foreign\_link|[ContactLink](../types/ContactLink.md) | Yes|Foreign link| +|user|[User](../types/User.md) | Optional|User| + + + +### Type: [contacts.Link](../types/contacts.Link.md) + + +### Example: + +```php +$contacts.link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User]; +``` + + +Or, if you're into Lua: + +```lua +contacts.link={_='contacts.link', my_link=ContactLink, foreign_link=ContactLink, user=User} + +``` + + diff --git a/old_docs/API_docs_v25/constructors/contacts.suggested.md b/old_docs/API_docs_v25/constructors/contacts.suggested.md new file mode 100644 index 00000000..b9a56bec --- /dev/null +++ b/old_docs/API_docs_v25/constructors/contacts.suggested.md @@ -0,0 +1,39 @@ +--- +title: contacts.suggested +description: Suggested +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.suggested +[Back to constructors index](index.md) + + + +Suggested + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|results|Array of [ContactSuggested](../types/ContactSuggested.md) | Yes|Results| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Suggested](../types/contacts.Suggested.md) + + +### Example: + +```php +$contacts.suggested = ['_' => 'contacts.suggested', 'results' => [ContactSuggested, ContactSuggested], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.suggested={_='contacts.suggested', results={ContactSuggested}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v25/constructors/contacts_blocked.md b/old_docs/API_docs_v25/constructors/contacts_blocked.md deleted file mode 100644 index 20e33002..00000000 --- a/old_docs/API_docs_v25/constructors/contacts_blocked.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: contacts.blocked -description: Full list of blocked users. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.blocked -[Back to constructors index](index.md) - - - -Full list of blocked users. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Blocked](../types/contacts_Blocked.md) - - -### Example: - -```php -$contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_blocked={_='contacts.blocked', blocked={ContactBlocked}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v25/constructors/contacts_blockedSlice.md b/old_docs/API_docs_v25/constructors/contacts_blockedSlice.md deleted file mode 100644 index fcab9a28..00000000 --- a/old_docs/API_docs_v25/constructors/contacts_blockedSlice.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.blockedSlice -description: Incomplete list of blocked users. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.blockedSlice -[Back to constructors index](index.md) - - - -Incomplete list of blocked users. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of elements in the list| -|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Blocked](../types/contacts_Blocked.md) - - -### Example: - -```php -$contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_blockedSlice={_='contacts.blockedSlice', count=int, blocked={ContactBlocked}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v25/constructors/contacts_contacts.md b/old_docs/API_docs_v25/constructors/contacts_contacts.md deleted file mode 100644 index f101b34b..00000000 --- a/old_docs/API_docs_v25/constructors/contacts_contacts.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: contacts.contacts -description: The current user's contact list and info on users. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.contacts -[Back to constructors index](index.md) - - - -The current user's contact list and info on users. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|contacts|Array of [Contact](../types/Contact.md) | Yes|Contacts| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Contacts](../types/contacts_Contacts.md) - - -### Example: - -```php -$contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact, Contact], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_contacts={_='contacts.contacts', contacts={Contact}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v25/constructors/contacts_contactsNotModified.md b/old_docs/API_docs_v25/constructors/contacts_contactsNotModified.md deleted file mode 100644 index 17e76ac3..00000000 --- a/old_docs/API_docs_v25/constructors/contacts_contactsNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: contacts.contactsNotModified -description: Contact list on the server is the same as the list on the client. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.contactsNotModified -[Back to constructors index](index.md) - - - -Contact list on the server is the same as the list on the client. - - - - -### Type: [contacts\_Contacts](../types/contacts_Contacts.md) - - -### Example: - -```php -$contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified']; -``` - - -Or, if you're into Lua: - -```lua -contacts_contactsNotModified={_='contacts.contactsNotModified'} - -``` - - diff --git a/old_docs/API_docs_v25/constructors/contacts_found.md b/old_docs/API_docs_v25/constructors/contacts_found.md deleted file mode 100644 index a3f36963..00000000 --- a/old_docs/API_docs_v25/constructors/contacts_found.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: contacts.found -description: Users found by name substring and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.found -[Back to constructors index](index.md) - - - -Users found by name substring and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|results|Array of [ContactFound](../types/ContactFound.md) | Yes|Results| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Found](../types/contacts_Found.md) - - -### Example: - -```php -$contacts_found = ['_' => 'contacts.found', 'results' => [ContactFound, ContactFound], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_found={_='contacts.found', results={ContactFound}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v25/constructors/contacts_importedContacts.md b/old_docs/API_docs_v25/constructors/contacts_importedContacts.md deleted file mode 100644 index 121d96d1..00000000 --- a/old_docs/API_docs_v25/constructors/contacts_importedContacts.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.importedContacts -description: Info on succesfully imported contacts. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.importedContacts -[Back to constructors index](index.md) - - - -Info on succesfully imported contacts. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|imported|Array of [ImportedContact](../types/ImportedContact.md) | Yes|Imported| -|retry\_contacts|Array of [long](../types/long.md) | Yes|Retry importing contacts whose client IDs appear here| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) - - -### Example: - -```php -$contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact, ImportedContact], 'retry_contacts' => [long, long], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_importedContacts={_='contacts.importedContacts', imported={ImportedContact}, retry_contacts={long}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v25/constructors/contacts_link.md b/old_docs/API_docs_v25/constructors/contacts_link.md deleted file mode 100644 index cfc566c7..00000000 --- a/old_docs/API_docs_v25/constructors/contacts_link.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.link -description: Link -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.link -[Back to constructors index](index.md) - - - -Link - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|my\_link|[ContactLink](../types/ContactLink.md) | Yes|My link| -|foreign\_link|[ContactLink](../types/ContactLink.md) | Yes|Foreign link| -|user|[User](../types/User.md) | Optional|User| - - - -### Type: [contacts\_Link](../types/contacts_Link.md) - - -### Example: - -```php -$contacts_link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User]; -``` - - -Or, if you're into Lua: - -```lua -contacts_link={_='contacts.link', my_link=ContactLink, foreign_link=ContactLink, user=User} - -``` - - diff --git a/old_docs/API_docs_v25/constructors/contacts_suggested.md b/old_docs/API_docs_v25/constructors/contacts_suggested.md deleted file mode 100644 index 9bdba0b7..00000000 --- a/old_docs/API_docs_v25/constructors/contacts_suggested.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: contacts.suggested -description: Suggested -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.suggested -[Back to constructors index](index.md) - - - -Suggested - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|results|Array of [ContactSuggested](../types/ContactSuggested.md) | Yes|Results| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Suggested](../types/contacts_Suggested.md) - - -### Example: - -```php -$contacts_suggested = ['_' => 'contacts.suggested', 'results' => [ContactSuggested, ContactSuggested], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_suggested={_='contacts.suggested', results={ContactSuggested}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v25/constructors/geochats.located.md b/old_docs/API_docs_v25/constructors/geochats.located.md new file mode 100644 index 00000000..5ca84141 --- /dev/null +++ b/old_docs/API_docs_v25/constructors/geochats.located.md @@ -0,0 +1,41 @@ +--- +title: geochats.located +description: Located +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: geochats.located +[Back to constructors index](index.md) + + + +Located + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|results|Array of [ChatLocated](../types/ChatLocated.md) | Yes|Results| +|messages|Array of [GeoChatMessage](../types/GeoChatMessage.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [geochats.Located](../types/geochats.Located.md) + + +### Example: + +```php +$geochats.located = ['_' => 'geochats.located', 'results' => [ChatLocated, ChatLocated], 'messages' => [GeoChatMessage, GeoChatMessage], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +geochats.located={_='geochats.located', results={ChatLocated}, messages={GeoChatMessage}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v25/constructors/geochats.messages.md b/old_docs/API_docs_v25/constructors/geochats.messages.md new file mode 100644 index 00000000..27f06cab --- /dev/null +++ b/old_docs/API_docs_v25/constructors/geochats.messages.md @@ -0,0 +1,40 @@ +--- +title: geochats.messages +description: Messages +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: geochats.messages +[Back to constructors index](index.md) + + + +Messages + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|messages|Array of [GeoChatMessage](../types/GeoChatMessage.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [geochats.Messages](../types/geochats.Messages.md) + + +### Example: + +```php +$geochats.messages = ['_' => 'geochats.messages', 'messages' => [GeoChatMessage, GeoChatMessage], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +geochats.messages={_='geochats.messages', messages={GeoChatMessage}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v25/constructors/geochats.messagesSlice.md b/old_docs/API_docs_v25/constructors/geochats.messagesSlice.md new file mode 100644 index 00000000..a1ad1f7d --- /dev/null +++ b/old_docs/API_docs_v25/constructors/geochats.messagesSlice.md @@ -0,0 +1,41 @@ +--- +title: geochats.messagesSlice +description: Messages slice +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: geochats.messagesSlice +[Back to constructors index](index.md) + + + +Messages slice + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Count| +|messages|Array of [GeoChatMessage](../types/GeoChatMessage.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [geochats.Messages](../types/geochats.Messages.md) + + +### Example: + +```php +$geochats.messagesSlice = ['_' => 'geochats.messagesSlice', 'count' => int, 'messages' => [GeoChatMessage, GeoChatMessage], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +geochats.messagesSlice={_='geochats.messagesSlice', count=int, messages={GeoChatMessage}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v25/constructors/geochats.statedMessage.md b/old_docs/API_docs_v25/constructors/geochats.statedMessage.md new file mode 100644 index 00000000..b3c9d6b4 --- /dev/null +++ b/old_docs/API_docs_v25/constructors/geochats.statedMessage.md @@ -0,0 +1,41 @@ +--- +title: geochats.statedMessage +description: Stated message +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: geochats.statedMessage +[Back to constructors index](index.md) + + + +Stated message + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|message|[GeoChatMessage](../types/GeoChatMessage.md) | Optional|Message| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| +|seq|[int](../types/int.md) | Yes|Seq| + + + +### Type: [geochats.StatedMessage](../types/geochats.StatedMessage.md) + + +### Example: + +```php +$geochats.statedMessage = ['_' => 'geochats.statedMessage', 'message' => GeoChatMessage, 'chats' => [Chat, Chat], 'users' => [User, User], 'seq' => int]; +``` + + +Or, if you're into Lua: + +```lua +geochats.statedMessage={_='geochats.statedMessage', message=GeoChatMessage, chats={Chat}, users={User}, seq=int} + +``` + + diff --git a/old_docs/API_docs_v25/constructors/geochats_located.md b/old_docs/API_docs_v25/constructors/geochats_located.md deleted file mode 100644 index b8f39dee..00000000 --- a/old_docs/API_docs_v25/constructors/geochats_located.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: geochats.located -description: Located -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: geochats.located -[Back to constructors index](index.md) - - - -Located - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|results|Array of [ChatLocated](../types/ChatLocated.md) | Yes|Results| -|messages|Array of [GeoChatMessage](../types/GeoChatMessage.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [geochats\_Located](../types/geochats_Located.md) - - -### Example: - -```php -$geochats_located = ['_' => 'geochats.located', 'results' => [ChatLocated, ChatLocated], 'messages' => [GeoChatMessage, GeoChatMessage], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -geochats_located={_='geochats.located', results={ChatLocated}, messages={GeoChatMessage}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v25/constructors/geochats_messages.md b/old_docs/API_docs_v25/constructors/geochats_messages.md deleted file mode 100644 index 511d1a8b..00000000 --- a/old_docs/API_docs_v25/constructors/geochats_messages.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: geochats.messages -description: Messages -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: geochats.messages -[Back to constructors index](index.md) - - - -Messages - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|messages|Array of [GeoChatMessage](../types/GeoChatMessage.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [geochats\_Messages](../types/geochats_Messages.md) - - -### Example: - -```php -$geochats_messages = ['_' => 'geochats.messages', 'messages' => [GeoChatMessage, GeoChatMessage], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -geochats_messages={_='geochats.messages', messages={GeoChatMessage}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v25/constructors/geochats_messagesSlice.md b/old_docs/API_docs_v25/constructors/geochats_messagesSlice.md deleted file mode 100644 index 8b628865..00000000 --- a/old_docs/API_docs_v25/constructors/geochats_messagesSlice.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: geochats.messagesSlice -description: Messages slice -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: geochats.messagesSlice -[Back to constructors index](index.md) - - - -Messages slice - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Count| -|messages|Array of [GeoChatMessage](../types/GeoChatMessage.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [geochats\_Messages](../types/geochats_Messages.md) - - -### Example: - -```php -$geochats_messagesSlice = ['_' => 'geochats.messagesSlice', 'count' => int, 'messages' => [GeoChatMessage, GeoChatMessage], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -geochats_messagesSlice={_='geochats.messagesSlice', count=int, messages={GeoChatMessage}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v25/constructors/geochats_statedMessage.md b/old_docs/API_docs_v25/constructors/geochats_statedMessage.md deleted file mode 100644 index 1314d8eb..00000000 --- a/old_docs/API_docs_v25/constructors/geochats_statedMessage.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: geochats.statedMessage -description: Stated message -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: geochats.statedMessage -[Back to constructors index](index.md) - - - -Stated message - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|message|[GeoChatMessage](../types/GeoChatMessage.md) | Optional|Message| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| -|seq|[int](../types/int.md) | Yes|Seq| - - - -### Type: [geochats\_StatedMessage](../types/geochats_StatedMessage.md) - - -### Example: - -```php -$geochats_statedMessage = ['_' => 'geochats.statedMessage', 'message' => GeoChatMessage, 'chats' => [Chat, Chat], 'users' => [User, User], 'seq' => int]; -``` - - -Or, if you're into Lua: - -```lua -geochats_statedMessage={_='geochats.statedMessage', message=GeoChatMessage, chats={Chat}, users={User}, seq=int} - -``` - - diff --git a/old_docs/API_docs_v25/constructors/help.appUpdate.md b/old_docs/API_docs_v25/constructors/help.appUpdate.md new file mode 100644 index 00000000..14b2d75b --- /dev/null +++ b/old_docs/API_docs_v25/constructors/help.appUpdate.md @@ -0,0 +1,41 @@ +--- +title: help.appUpdate +description: An update is available for the application. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.appUpdate +[Back to constructors index](index.md) + + + +An update is available for the application. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|id|[int](../types/int.md) | Yes|Update ID| +|critical|[Bool](../types/Bool.md) | Yes|Critical?| +|url|[string](../types/string.md) | Yes|Application download URL| +|text|[string](../types/string.md) | Yes|Text description of the update| + + + +### Type: [help.AppUpdate](../types/help.AppUpdate.md) + + +### Example: + +```php +$help.appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'url' => 'string', 'text' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +help.appUpdate={_='help.appUpdate', id=int, critical=Bool, url='string', text='string'} + +``` + + diff --git a/old_docs/API_docs_v25/constructors/help.inviteText.md b/old_docs/API_docs_v25/constructors/help.inviteText.md new file mode 100644 index 00000000..6a6261c1 --- /dev/null +++ b/old_docs/API_docs_v25/constructors/help.inviteText.md @@ -0,0 +1,38 @@ +--- +title: help.inviteText +description: Text of a text message with an invitation to install application. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.inviteText +[Back to constructors index](index.md) + + + +Text of a text message with an invitation to install application. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|message|[string](../types/string.md) | Yes|Text of a message| + + + +### Type: [help.InviteText](../types/help.InviteText.md) + + +### Example: + +```php +$help.inviteText = ['_' => 'help.inviteText', 'message' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +help.inviteText={_='help.inviteText', message='string'} + +``` + + diff --git a/old_docs/API_docs_v25/constructors/help.noAppUpdate.md b/old_docs/API_docs_v25/constructors/help.noAppUpdate.md new file mode 100644 index 00000000..1b69ac9a --- /dev/null +++ b/old_docs/API_docs_v25/constructors/help.noAppUpdate.md @@ -0,0 +1,33 @@ +--- +title: help.noAppUpdate +description: No updates are available for the application. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.noAppUpdate +[Back to constructors index](index.md) + + + +No updates are available for the application. + + + + +### Type: [help.AppUpdate](../types/help.AppUpdate.md) + + +### Example: + +```php +$help.noAppUpdate = ['_' => 'help.noAppUpdate']; +``` + + +Or, if you're into Lua: + +```lua +help.noAppUpdate={_='help.noAppUpdate'} + +``` + + diff --git a/old_docs/API_docs_v25/constructors/help.support.md b/old_docs/API_docs_v25/constructors/help.support.md new file mode 100644 index 00000000..4d4f85fb --- /dev/null +++ b/old_docs/API_docs_v25/constructors/help.support.md @@ -0,0 +1,39 @@ +--- +title: help.support +description: Info on support user. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.support +[Back to constructors index](index.md) + + + +Info on support user. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_number|[string](../types/string.md) | Yes|Phone number| +|user|[User](../types/User.md) | Optional|User| + + + +### Type: [help.Support](../types/help.Support.md) + + +### Example: + +```php +$help.support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => User]; +``` + + +Or, if you're into Lua: + +```lua +help.support={_='help.support', phone_number='string', user=User} + +``` + + diff --git a/old_docs/API_docs_v25/constructors/help_appUpdate.md b/old_docs/API_docs_v25/constructors/help_appUpdate.md deleted file mode 100644 index efba9bdb..00000000 --- a/old_docs/API_docs_v25/constructors/help_appUpdate.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: help.appUpdate -description: An update is available for the application. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.appUpdate -[Back to constructors index](index.md) - - - -An update is available for the application. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|id|[int](../types/int.md) | Yes|Update ID| -|critical|[Bool](../types/Bool.md) | Yes|Critical?| -|url|[string](../types/string.md) | Yes|Application download URL| -|text|[string](../types/string.md) | Yes|Text description of the update| - - - -### Type: [help\_AppUpdate](../types/help_AppUpdate.md) - - -### Example: - -```php -$help_appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'url' => 'string', 'text' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -help_appUpdate={_='help.appUpdate', id=int, critical=Bool, url='string', text='string'} - -``` - - diff --git a/old_docs/API_docs_v25/constructors/help_inviteText.md b/old_docs/API_docs_v25/constructors/help_inviteText.md deleted file mode 100644 index b8317ce3..00000000 --- a/old_docs/API_docs_v25/constructors/help_inviteText.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: help.inviteText -description: Text of a text message with an invitation to install application. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.inviteText -[Back to constructors index](index.md) - - - -Text of a text message with an invitation to install application. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|message|[string](../types/string.md) | Yes|Text of a message| - - - -### Type: [help\_InviteText](../types/help_InviteText.md) - - -### Example: - -```php -$help_inviteText = ['_' => 'help.inviteText', 'message' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -help_inviteText={_='help.inviteText', message='string'} - -``` - - diff --git a/old_docs/API_docs_v25/constructors/help_noAppUpdate.md b/old_docs/API_docs_v25/constructors/help_noAppUpdate.md deleted file mode 100644 index 51505e52..00000000 --- a/old_docs/API_docs_v25/constructors/help_noAppUpdate.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: help.noAppUpdate -description: No updates are available for the application. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.noAppUpdate -[Back to constructors index](index.md) - - - -No updates are available for the application. - - - - -### Type: [help\_AppUpdate](../types/help_AppUpdate.md) - - -### Example: - -```php -$help_noAppUpdate = ['_' => 'help.noAppUpdate']; -``` - - -Or, if you're into Lua: - -```lua -help_noAppUpdate={_='help.noAppUpdate'} - -``` - - diff --git a/old_docs/API_docs_v25/constructors/help_support.md b/old_docs/API_docs_v25/constructors/help_support.md deleted file mode 100644 index 148f7f42..00000000 --- a/old_docs/API_docs_v25/constructors/help_support.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: help.support -description: Info on support user. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.support -[Back to constructors index](index.md) - - - -Info on support user. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_number|[string](../types/string.md) | Yes|Phone number| -|user|[User](../types/User.md) | Optional|User| - - - -### Type: [help\_Support](../types/help_Support.md) - - -### Example: - -```php -$help_support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => User]; -``` - - -Or, if you're into Lua: - -```lua -help_support={_='help.support', phone_number='string', user=User} - -``` - - diff --git a/old_docs/API_docs_v25/constructors/messages.affectedHistory.md b/old_docs/API_docs_v25/constructors/messages.affectedHistory.md new file mode 100644 index 00000000..5fc8acec --- /dev/null +++ b/old_docs/API_docs_v25/constructors/messages.affectedHistory.md @@ -0,0 +1,40 @@ +--- +title: messages.affectedHistory +description: Affected part of communication history with the user or in a chat. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.affectedHistory +[Back to constructors index](index.md) + + + +Affected part of communication history with the user or in a chat. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| +|pts\_count|[int](../types/int.md) | Yes|Number of affected events| +|offset|[int](../types/int.md) | Yes|If a parameter contains positive value, it is necessary to repeat the method call using the given value; during the proceeding of all the history the value itself shall gradually decrease| + + + +### Type: [messages.AffectedHistory](../types/messages.AffectedHistory.md) + + +### Example: + +```php +$messages.affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.affectedHistory={_='messages.affectedHistory', pts=int, pts_count=int, offset=int} + +``` + + diff --git a/old_docs/API_docs_v25/constructors/messages.affectedMessages.md b/old_docs/API_docs_v25/constructors/messages.affectedMessages.md new file mode 100644 index 00000000..a0e60bdf --- /dev/null +++ b/old_docs/API_docs_v25/constructors/messages.affectedMessages.md @@ -0,0 +1,39 @@ +--- +title: messages.affectedMessages +description: Events affected by operation +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.affectedMessages +[Back to constructors index](index.md) + + + +Events affected by operation + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|[Event count after generation](https://core.telegram.org/api/updates)| +|pts\_count|[int](../types/int.md) | Yes|[Number of events that were generated](https://core.telegram.org/api/updates)| + + + +### Type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) + + +### Example: + +```php +$messages.affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.affectedMessages={_='messages.affectedMessages', pts=int, pts_count=int} + +``` + + diff --git a/old_docs/API_docs_v25/constructors/messages.allStickers.md b/old_docs/API_docs_v25/constructors/messages.allStickers.md new file mode 100644 index 00000000..70df0005 --- /dev/null +++ b/old_docs/API_docs_v25/constructors/messages.allStickers.md @@ -0,0 +1,40 @@ +--- +title: messages.allStickers +description: Info about all installed stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.allStickers +[Back to constructors index](index.md) + + + +Info about all installed stickers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[string](../types/string.md) | Yes|Hash| +|packs|Array of [StickerPack](../types/StickerPack.md) | Yes|Packs| +|documents|Array of [Document](../types/Document.md) | Yes|Documents| + + + +### Type: [messages.AllStickers](../types/messages.AllStickers.md) + + +### Example: + +```php +$messages.allStickers = ['_' => 'messages.allStickers', 'hash' => 'string', 'packs' => [StickerPack, StickerPack], 'documents' => [Document, Document]]; +``` + + +Or, if you're into Lua: + +```lua +messages.allStickers={_='messages.allStickers', hash='string', packs={StickerPack}, documents={Document}} + +``` + + diff --git a/old_docs/API_docs_v25/constructors/messages.allStickersNotModified.md b/old_docs/API_docs_v25/constructors/messages.allStickersNotModified.md new file mode 100644 index 00000000..d3db088b --- /dev/null +++ b/old_docs/API_docs_v25/constructors/messages.allStickersNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.allStickersNotModified +description: Info about all installed stickers hasn't changed +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.allStickersNotModified +[Back to constructors index](index.md) + + + +Info about all installed stickers hasn't changed + + + + +### Type: [messages.AllStickers](../types/messages.AllStickers.md) + + +### Example: + +```php +$messages.allStickersNotModified = ['_' => 'messages.allStickersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.allStickersNotModified={_='messages.allStickersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v25/constructors/messages.chatFull.md b/old_docs/API_docs_v25/constructors/messages.chatFull.md new file mode 100644 index 00000000..3906cc54 --- /dev/null +++ b/old_docs/API_docs_v25/constructors/messages.chatFull.md @@ -0,0 +1,40 @@ +--- +title: messages.chatFull +description: Extended info on chat and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.chatFull +[Back to constructors index](index.md) + + + +Extended info on chat and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|full\_chat|[ChatFull](../types/ChatFull.md) | Yes|Extended info on a chat| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.ChatFull](../types/messages.ChatFull.md) + + +### Example: + +```php +$messages.chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.chatFull={_='messages.chatFull', full_chat=ChatFull, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v25/constructors/messages.chats.md b/old_docs/API_docs_v25/constructors/messages.chats.md new file mode 100644 index 00000000..9ede9ff2 --- /dev/null +++ b/old_docs/API_docs_v25/constructors/messages.chats.md @@ -0,0 +1,38 @@ +--- +title: messages.chats +description: List of chats with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.chats +[Back to constructors index](index.md) + + + +List of chats with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| + + + +### Type: [messages.Chats](../types/messages.Chats.md) + + +### Example: + +```php +$messages.chats = ['_' => 'messages.chats', 'chats' => [Chat, Chat]]; +``` + + +Or, if you're into Lua: + +```lua +messages.chats={_='messages.chats', chats={Chat}} + +``` + + diff --git a/old_docs/API_docs_v25/constructors/messages.dhConfig.md b/old_docs/API_docs_v25/constructors/messages.dhConfig.md new file mode 100644 index 00000000..58344f64 --- /dev/null +++ b/old_docs/API_docs_v25/constructors/messages.dhConfig.md @@ -0,0 +1,41 @@ +--- +title: messages.dhConfig +description: New set of configuring parameters. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dhConfig +[Back to constructors index](index.md) + + + +New set of configuring parameters. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|g|[int](../types/int.md) | Yes|New value **prime**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| +|p|[bytes](../types/bytes.md) | Yes|New value **primitive root**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| +|version|[int](../types/int.md) | Yes|Vestion of set of parameters| +|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| + + + +### Type: [messages.DhConfig](../types/messages.DhConfig.md) + + +### Example: + +```php +$messages.dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'version' => int, 'random' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +messages.dhConfig={_='messages.dhConfig', g=int, p='bytes', version=int, random='bytes'} + +``` + + diff --git a/old_docs/API_docs_v25/constructors/messages.dhConfigNotModified.md b/old_docs/API_docs_v25/constructors/messages.dhConfigNotModified.md new file mode 100644 index 00000000..a9a95389 --- /dev/null +++ b/old_docs/API_docs_v25/constructors/messages.dhConfigNotModified.md @@ -0,0 +1,38 @@ +--- +title: messages.dhConfigNotModified +description: Configuring parameters did not change. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dhConfigNotModified +[Back to constructors index](index.md) + + + +Configuring parameters did not change. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| + + + +### Type: [messages.DhConfig](../types/messages.DhConfig.md) + + +### Example: + +```php +$messages.dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +messages.dhConfigNotModified={_='messages.dhConfigNotModified', random='bytes'} + +``` + + diff --git a/old_docs/API_docs_v25/constructors/messages.dialogs.md b/old_docs/API_docs_v25/constructors/messages.dialogs.md new file mode 100644 index 00000000..a72eabce --- /dev/null +++ b/old_docs/API_docs_v25/constructors/messages.dialogs.md @@ -0,0 +1,41 @@ +--- +title: messages.dialogs +description: Full list of chats with messages and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dialogs +[Back to constructors index](index.md) + + + +Full list of chats with messages and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Dialogs](../types/messages.Dialogs.md) + + +### Example: + +```php +$messages.dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.dialogs={_='messages.dialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v25/constructors/messages.dialogsSlice.md b/old_docs/API_docs_v25/constructors/messages.dialogsSlice.md new file mode 100644 index 00000000..26227d2c --- /dev/null +++ b/old_docs/API_docs_v25/constructors/messages.dialogsSlice.md @@ -0,0 +1,42 @@ +--- +title: messages.dialogsSlice +description: Incomplete list of dialogs with messages and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dialogsSlice +[Back to constructors index](index.md) + + + +Incomplete list of dialogs with messages and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of dialogs| +|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Dialogs](../types/messages.Dialogs.md) + + +### Example: + +```php +$messages.dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.dialogsSlice={_='messages.dialogsSlice', count=int, dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v25/constructors/messages.messageEmpty.md b/old_docs/API_docs_v25/constructors/messages.messageEmpty.md new file mode 100644 index 00000000..7c3bc06c --- /dev/null +++ b/old_docs/API_docs_v25/constructors/messages.messageEmpty.md @@ -0,0 +1,33 @@ +--- +title: messages.messageEmpty +description: Empty message +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.messageEmpty +[Back to constructors index](index.md) + + + +Empty message + + + + +### Type: [messages.Message](../types/messages.Message.md) + + +### Example: + +```php +$messages.messageEmpty = ['_' => 'messages.messageEmpty']; +``` + + +Or, if you're into Lua: + +```lua +messages.messageEmpty={_='messages.messageEmpty'} + +``` + + diff --git a/old_docs/API_docs_v25/constructors/messages.messages.md b/old_docs/API_docs_v25/constructors/messages.messages.md new file mode 100644 index 00000000..3af71dca --- /dev/null +++ b/old_docs/API_docs_v25/constructors/messages.messages.md @@ -0,0 +1,40 @@ +--- +title: messages.messages +description: Full list of messages with auxilary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.messages +[Back to constructors index](index.md) + + + +Full list of messages with auxilary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Messages](../types/messages.Messages.md) + + +### Example: + +```php +$messages.messages = ['_' => 'messages.messages', 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.messages={_='messages.messages', messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v25/constructors/messages.messagesSlice.md b/old_docs/API_docs_v25/constructors/messages.messagesSlice.md new file mode 100644 index 00000000..2fe91df0 --- /dev/null +++ b/old_docs/API_docs_v25/constructors/messages.messagesSlice.md @@ -0,0 +1,41 @@ +--- +title: messages.messagesSlice +description: Incomplete list of messages and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.messagesSlice +[Back to constructors index](index.md) + + + +Incomplete list of messages and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of messages in the list| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Messages](../types/messages.Messages.md) + + +### Example: + +```php +$messages.messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.messagesSlice={_='messages.messagesSlice', count=int, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v25/constructors/messages.sentEncryptedFile.md b/old_docs/API_docs_v25/constructors/messages.sentEncryptedFile.md new file mode 100644 index 00000000..1f0e43c6 --- /dev/null +++ b/old_docs/API_docs_v25/constructors/messages.sentEncryptedFile.md @@ -0,0 +1,39 @@ +--- +title: messages.sentEncryptedFile +description: Message with a file enclosure sent to a protected chat +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.sentEncryptedFile +[Back to constructors index](index.md) + + + +Message with a file enclosure sent to a protected chat + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Sending date| +|file|[EncryptedFile](../types/EncryptedFile.md) | Optional|Attached file| + + + +### Type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) + + +### Example: + +```php +$messages.sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile]; +``` + + +Or, if you're into Lua: + +```lua +messages.sentEncryptedFile={_='messages.sentEncryptedFile', date=int, file=EncryptedFile} + +``` + + diff --git a/old_docs/API_docs_v25/constructors/messages.sentEncryptedMessage.md b/old_docs/API_docs_v25/constructors/messages.sentEncryptedMessage.md new file mode 100644 index 00000000..3d5eb40c --- /dev/null +++ b/old_docs/API_docs_v25/constructors/messages.sentEncryptedMessage.md @@ -0,0 +1,38 @@ +--- +title: messages.sentEncryptedMessage +description: Message without file attachemts sent to an encrypted file. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.sentEncryptedMessage +[Back to constructors index](index.md) + + + +Message without file attachemts sent to an encrypted file. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Date of sending| + + + +### Type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) + + +### Example: + +```php +$messages.sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.sentEncryptedMessage={_='messages.sentEncryptedMessage', date=int} + +``` + + diff --git a/old_docs/API_docs_v25/constructors/messages.sentMessage.md b/old_docs/API_docs_v25/constructors/messages.sentMessage.md new file mode 100644 index 00000000..11cc088b --- /dev/null +++ b/old_docs/API_docs_v25/constructors/messages.sentMessage.md @@ -0,0 +1,41 @@ +--- +title: messages.sentMessage +description: Sent message +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.sentMessage +[Back to constructors index](index.md) + + + +Sent message + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|id|[int](../types/int.md) | Yes|ID| +|date|[int](../types/int.md) | Yes|Date| +|pts|[int](../types/int.md) | Yes|Pts| +|pts\_count|[int](../types/int.md) | Yes|Pts count| + + + +### Type: [messages.SentMessage](../types/messages.SentMessage.md) + + +### Example: + +```php +$messages.sentMessage = ['_' => 'messages.sentMessage', 'id' => int, 'date' => int, 'pts' => int, 'pts_count' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.sentMessage={_='messages.sentMessage', id=int, date=int, pts=int, pts_count=int} + +``` + + diff --git a/old_docs/API_docs_v25/constructors/messages.sentMessageLink.md b/old_docs/API_docs_v25/constructors/messages.sentMessageLink.md new file mode 100644 index 00000000..6f2e3511 --- /dev/null +++ b/old_docs/API_docs_v25/constructors/messages.sentMessageLink.md @@ -0,0 +1,43 @@ +--- +title: messages.sentMessageLink +description: Sent message link +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.sentMessageLink +[Back to constructors index](index.md) + + + +Sent message link + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|id|[int](../types/int.md) | Yes|ID| +|date|[int](../types/int.md) | Yes|Date| +|pts|[int](../types/int.md) | Yes|Pts| +|pts\_count|[int](../types/int.md) | Yes|Pts count| +|links|Array of [contacts.Link](../constructors/contacts.Link.md) | Yes|Links| +|seq|[int](../types/int.md) | Yes|Seq| + + + +### Type: [messages.SentMessage](../types/messages.SentMessage.md) + + +### Example: + +```php +$messages.sentMessageLink = ['_' => 'messages.sentMessageLink', 'id' => int, 'date' => int, 'pts' => int, 'pts_count' => int, 'links' => [contacts.Link, contacts.Link], 'seq' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.sentMessageLink={_='messages.sentMessageLink', id=int, date=int, pts=int, pts_count=int, links={contacts.Link}, seq=int} + +``` + + diff --git a/old_docs/API_docs_v25/constructors/messages.statedMessage.md b/old_docs/API_docs_v25/constructors/messages.statedMessage.md new file mode 100644 index 00000000..55a3929a --- /dev/null +++ b/old_docs/API_docs_v25/constructors/messages.statedMessage.md @@ -0,0 +1,42 @@ +--- +title: messages.statedMessage +description: Stated message +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.statedMessage +[Back to constructors index](index.md) + + + +Stated message + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|message|[Message](../types/Message.md) | Optional|Message| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| +|pts|[int](../types/int.md) | Yes|Pts| +|pts\_count|[int](../types/int.md) | Yes|Pts count| + + + +### Type: [messages.StatedMessage](../types/messages.StatedMessage.md) + + +### Example: + +```php +$messages.statedMessage = ['_' => 'messages.statedMessage', 'message' => Message, 'chats' => [Chat, Chat], 'users' => [User, User], 'pts' => int, 'pts_count' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.statedMessage={_='messages.statedMessage', message=Message, chats={Chat}, users={User}, pts=int, pts_count=int} + +``` + + diff --git a/old_docs/API_docs_v25/constructors/messages.statedMessageLink.md b/old_docs/API_docs_v25/constructors/messages.statedMessageLink.md new file mode 100644 index 00000000..fc9177e0 --- /dev/null +++ b/old_docs/API_docs_v25/constructors/messages.statedMessageLink.md @@ -0,0 +1,44 @@ +--- +title: messages.statedMessageLink +description: Stated message link +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.statedMessageLink +[Back to constructors index](index.md) + + + +Stated message link + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|message|[Message](../types/Message.md) | Optional|Message| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| +|pts|[int](../types/int.md) | Yes|Pts| +|pts\_count|[int](../types/int.md) | Yes|Pts count| +|links|Array of [contacts.Link](../constructors/contacts.Link.md) | Yes|Links| +|seq|[int](../types/int.md) | Yes|Seq| + + + +### Type: [messages.StatedMessage](../types/messages.StatedMessage.md) + + +### Example: + +```php +$messages.statedMessageLink = ['_' => 'messages.statedMessageLink', 'message' => Message, 'chats' => [Chat, Chat], 'users' => [User, User], 'pts' => int, 'pts_count' => int, 'links' => [contacts.Link, contacts.Link], 'seq' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.statedMessageLink={_='messages.statedMessageLink', message=Message, chats={Chat}, users={User}, pts=int, pts_count=int, links={contacts.Link}, seq=int} + +``` + + diff --git a/old_docs/API_docs_v25/constructors/messages.statedMessages.md b/old_docs/API_docs_v25/constructors/messages.statedMessages.md new file mode 100644 index 00000000..e729c876 --- /dev/null +++ b/old_docs/API_docs_v25/constructors/messages.statedMessages.md @@ -0,0 +1,42 @@ +--- +title: messages.statedMessages +description: Stated messages +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.statedMessages +[Back to constructors index](index.md) + + + +Stated messages + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| +|pts|[int](../types/int.md) | Yes|Pts| +|pts\_count|[int](../types/int.md) | Yes|Pts count| + + + +### Type: [messages.StatedMessages](../types/messages.StatedMessages.md) + + +### Example: + +```php +$messages.statedMessages = ['_' => 'messages.statedMessages', 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User], 'pts' => int, 'pts_count' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.statedMessages={_='messages.statedMessages', messages={Message}, chats={Chat}, users={User}, pts=int, pts_count=int} + +``` + + diff --git a/old_docs/API_docs_v25/constructors/messages.statedMessagesLinks.md b/old_docs/API_docs_v25/constructors/messages.statedMessagesLinks.md new file mode 100644 index 00000000..cf1120c1 --- /dev/null +++ b/old_docs/API_docs_v25/constructors/messages.statedMessagesLinks.md @@ -0,0 +1,44 @@ +--- +title: messages.statedMessagesLinks +description: Stated messages links +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.statedMessagesLinks +[Back to constructors index](index.md) + + + +Stated messages links + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| +|pts|[int](../types/int.md) | Yes|Pts| +|pts\_count|[int](../types/int.md) | Yes|Pts count| +|links|Array of [contacts.Link](../constructors/contacts.Link.md) | Yes|Links| +|seq|[int](../types/int.md) | Yes|Seq| + + + +### Type: [messages.StatedMessages](../types/messages.StatedMessages.md) + + +### Example: + +```php +$messages.statedMessagesLinks = ['_' => 'messages.statedMessagesLinks', 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User], 'pts' => int, 'pts_count' => int, 'links' => [contacts.Link, contacts.Link], 'seq' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.statedMessagesLinks={_='messages.statedMessagesLinks', messages={Message}, chats={Chat}, users={User}, pts=int, pts_count=int, links={contacts.Link}, seq=int} + +``` + + diff --git a/old_docs/API_docs_v25/constructors/messages.stickers.md b/old_docs/API_docs_v25/constructors/messages.stickers.md new file mode 100644 index 00000000..310b64b0 --- /dev/null +++ b/old_docs/API_docs_v25/constructors/messages.stickers.md @@ -0,0 +1,39 @@ +--- +title: messages.stickers +description: Found stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickers +[Back to constructors index](index.md) + + + +Found stickers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[string](../types/string.md) | Yes|Hash| +|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| + + + +### Type: [messages.Stickers](../types/messages.Stickers.md) + + +### Example: + +```php +$messages.stickers = ['_' => 'messages.stickers', 'hash' => 'string', 'stickers' => [Document, Document]]; +``` + + +Or, if you're into Lua: + +```lua +messages.stickers={_='messages.stickers', hash='string', stickers={Document}} + +``` + + diff --git a/old_docs/API_docs_v25/constructors/messages.stickersNotModified.md b/old_docs/API_docs_v25/constructors/messages.stickersNotModified.md new file mode 100644 index 00000000..e8c7766c --- /dev/null +++ b/old_docs/API_docs_v25/constructors/messages.stickersNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.stickersNotModified +description: No new stickers were found for the given query +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickersNotModified +[Back to constructors index](index.md) + + + +No new stickers were found for the given query + + + + +### Type: [messages.Stickers](../types/messages.Stickers.md) + + +### Example: + +```php +$messages.stickersNotModified = ['_' => 'messages.stickersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.stickersNotModified={_='messages.stickersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v25/constructors/messages_affectedHistory.md b/old_docs/API_docs_v25/constructors/messages_affectedHistory.md deleted file mode 100644 index 449a7e3f..00000000 --- a/old_docs/API_docs_v25/constructors/messages_affectedHistory.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.affectedHistory -description: Affected part of communication history with the user or in a chat. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.affectedHistory -[Back to constructors index](index.md) - - - -Affected part of communication history with the user or in a chat. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| -|pts\_count|[int](../types/int.md) | Yes|Number of affected events| -|offset|[int](../types/int.md) | Yes|If a parameter contains positive value, it is necessary to repeat the method call using the given value; during the proceeding of all the history the value itself shall gradually decrease| - - - -### Type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) - - -### Example: - -```php -$messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_affectedHistory={_='messages.affectedHistory', pts=int, pts_count=int, offset=int} - -``` - - diff --git a/old_docs/API_docs_v25/constructors/messages_affectedMessages.md b/old_docs/API_docs_v25/constructors/messages_affectedMessages.md deleted file mode 100644 index 86760581..00000000 --- a/old_docs/API_docs_v25/constructors/messages_affectedMessages.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.affectedMessages -description: Events affected by operation -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.affectedMessages -[Back to constructors index](index.md) - - - -Events affected by operation - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|[Event count after generation](https://core.telegram.org/api/updates)| -|pts\_count|[int](../types/int.md) | Yes|[Number of events that were generated](https://core.telegram.org/api/updates)| - - - -### Type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) - - -### Example: - -```php -$messages_affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_affectedMessages={_='messages.affectedMessages', pts=int, pts_count=int} - -``` - - diff --git a/old_docs/API_docs_v25/constructors/messages_allStickers.md b/old_docs/API_docs_v25/constructors/messages_allStickers.md deleted file mode 100644 index a7d4b509..00000000 --- a/old_docs/API_docs_v25/constructors/messages_allStickers.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.allStickers -description: Info about all installed stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.allStickers -[Back to constructors index](index.md) - - - -Info about all installed stickers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[string](../types/string.md) | Yes|Hash| -|packs|Array of [StickerPack](../types/StickerPack.md) | Yes|Packs| -|documents|Array of [Document](../types/Document.md) | Yes|Documents| - - - -### Type: [messages\_AllStickers](../types/messages_AllStickers.md) - - -### Example: - -```php -$messages_allStickers = ['_' => 'messages.allStickers', 'hash' => 'string', 'packs' => [StickerPack, StickerPack], 'documents' => [Document, Document]]; -``` - - -Or, if you're into Lua: - -```lua -messages_allStickers={_='messages.allStickers', hash='string', packs={StickerPack}, documents={Document}} - -``` - - diff --git a/old_docs/API_docs_v25/constructors/messages_allStickersNotModified.md b/old_docs/API_docs_v25/constructors/messages_allStickersNotModified.md deleted file mode 100644 index c4da85ab..00000000 --- a/old_docs/API_docs_v25/constructors/messages_allStickersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.allStickersNotModified -description: Info about all installed stickers hasn't changed -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.allStickersNotModified -[Back to constructors index](index.md) - - - -Info about all installed stickers hasn't changed - - - - -### Type: [messages\_AllStickers](../types/messages_AllStickers.md) - - -### Example: - -```php -$messages_allStickersNotModified = ['_' => 'messages.allStickersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_allStickersNotModified={_='messages.allStickersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v25/constructors/messages_chatFull.md b/old_docs/API_docs_v25/constructors/messages_chatFull.md deleted file mode 100644 index 02f1acdf..00000000 --- a/old_docs/API_docs_v25/constructors/messages_chatFull.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.chatFull -description: Extended info on chat and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.chatFull -[Back to constructors index](index.md) - - - -Extended info on chat and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|full\_chat|[ChatFull](../types/ChatFull.md) | Yes|Extended info on a chat| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_ChatFull](../types/messages_ChatFull.md) - - -### Example: - -```php -$messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_chatFull={_='messages.chatFull', full_chat=ChatFull, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v25/constructors/messages_chats.md b/old_docs/API_docs_v25/constructors/messages_chats.md deleted file mode 100644 index ef3690a9..00000000 --- a/old_docs/API_docs_v25/constructors/messages_chats.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.chats -description: List of chats with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.chats -[Back to constructors index](index.md) - - - -List of chats with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| - - - -### Type: [messages\_Chats](../types/messages_Chats.md) - - -### Example: - -```php -$messages_chats = ['_' => 'messages.chats', 'chats' => [Chat, Chat]]; -``` - - -Or, if you're into Lua: - -```lua -messages_chats={_='messages.chats', chats={Chat}} - -``` - - diff --git a/old_docs/API_docs_v25/constructors/messages_dhConfig.md b/old_docs/API_docs_v25/constructors/messages_dhConfig.md deleted file mode 100644 index 42c2feb1..00000000 --- a/old_docs/API_docs_v25/constructors/messages_dhConfig.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: messages.dhConfig -description: New set of configuring parameters. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dhConfig -[Back to constructors index](index.md) - - - -New set of configuring parameters. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|g|[int](../types/int.md) | Yes|New value **prime**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| -|p|[bytes](../types/bytes.md) | Yes|New value **primitive root**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| -|version|[int](../types/int.md) | Yes|Vestion of set of parameters| -|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| - - - -### Type: [messages\_DhConfig](../types/messages_DhConfig.md) - - -### Example: - -```php -$messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'version' => int, 'random' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -messages_dhConfig={_='messages.dhConfig', g=int, p='bytes', version=int, random='bytes'} - -``` - - diff --git a/old_docs/API_docs_v25/constructors/messages_dhConfigNotModified.md b/old_docs/API_docs_v25/constructors/messages_dhConfigNotModified.md deleted file mode 100644 index 5bf64230..00000000 --- a/old_docs/API_docs_v25/constructors/messages_dhConfigNotModified.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.dhConfigNotModified -description: Configuring parameters did not change. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dhConfigNotModified -[Back to constructors index](index.md) - - - -Configuring parameters did not change. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| - - - -### Type: [messages\_DhConfig](../types/messages_DhConfig.md) - - -### Example: - -```php -$messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -messages_dhConfigNotModified={_='messages.dhConfigNotModified', random='bytes'} - -``` - - diff --git a/old_docs/API_docs_v25/constructors/messages_dialogs.md b/old_docs/API_docs_v25/constructors/messages_dialogs.md deleted file mode 100644 index e6a431b4..00000000 --- a/old_docs/API_docs_v25/constructors/messages_dialogs.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: messages.dialogs -description: Full list of chats with messages and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dialogs -[Back to constructors index](index.md) - - - -Full list of chats with messages and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Dialogs](../types/messages_Dialogs.md) - - -### Example: - -```php -$messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_dialogs={_='messages.dialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v25/constructors/messages_dialogsSlice.md b/old_docs/API_docs_v25/constructors/messages_dialogsSlice.md deleted file mode 100644 index f183b9a8..00000000 --- a/old_docs/API_docs_v25/constructors/messages_dialogsSlice.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: messages.dialogsSlice -description: Incomplete list of dialogs with messages and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dialogsSlice -[Back to constructors index](index.md) - - - -Incomplete list of dialogs with messages and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of dialogs| -|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Dialogs](../types/messages_Dialogs.md) - - -### Example: - -```php -$messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_dialogsSlice={_='messages.dialogsSlice', count=int, dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v25/constructors/messages_messageEmpty.md b/old_docs/API_docs_v25/constructors/messages_messageEmpty.md deleted file mode 100644 index 89000c02..00000000 --- a/old_docs/API_docs_v25/constructors/messages_messageEmpty.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.messageEmpty -description: Empty message -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.messageEmpty -[Back to constructors index](index.md) - - - -Empty message - - - - -### Type: [messages\_Message](../types/messages_Message.md) - - -### Example: - -```php -$messages_messageEmpty = ['_' => 'messages.messageEmpty']; -``` - - -Or, if you're into Lua: - -```lua -messages_messageEmpty={_='messages.messageEmpty'} - -``` - - diff --git a/old_docs/API_docs_v25/constructors/messages_messages.md b/old_docs/API_docs_v25/constructors/messages_messages.md deleted file mode 100644 index 3e369e1a..00000000 --- a/old_docs/API_docs_v25/constructors/messages_messages.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.messages -description: Full list of messages with auxilary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.messages -[Back to constructors index](index.md) - - - -Full list of messages with auxilary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Messages](../types/messages_Messages.md) - - -### Example: - -```php -$messages_messages = ['_' => 'messages.messages', 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_messages={_='messages.messages', messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v25/constructors/messages_messagesSlice.md b/old_docs/API_docs_v25/constructors/messages_messagesSlice.md deleted file mode 100644 index f9b8dc18..00000000 --- a/old_docs/API_docs_v25/constructors/messages_messagesSlice.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: messages.messagesSlice -description: Incomplete list of messages and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.messagesSlice -[Back to constructors index](index.md) - - - -Incomplete list of messages and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of messages in the list| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Messages](../types/messages_Messages.md) - - -### Example: - -```php -$messages_messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_messagesSlice={_='messages.messagesSlice', count=int, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v25/constructors/messages_sentEncryptedFile.md b/old_docs/API_docs_v25/constructors/messages_sentEncryptedFile.md deleted file mode 100644 index fdc2a11e..00000000 --- a/old_docs/API_docs_v25/constructors/messages_sentEncryptedFile.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.sentEncryptedFile -description: Message with a file enclosure sent to a protected chat -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.sentEncryptedFile -[Back to constructors index](index.md) - - - -Message with a file enclosure sent to a protected chat - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Sending date| -|file|[EncryptedFile](../types/EncryptedFile.md) | Optional|Attached file| - - - -### Type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) - - -### Example: - -```php -$messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile]; -``` - - -Or, if you're into Lua: - -```lua -messages_sentEncryptedFile={_='messages.sentEncryptedFile', date=int, file=EncryptedFile} - -``` - - diff --git a/old_docs/API_docs_v25/constructors/messages_sentEncryptedMessage.md b/old_docs/API_docs_v25/constructors/messages_sentEncryptedMessage.md deleted file mode 100644 index 36b2bbff..00000000 --- a/old_docs/API_docs_v25/constructors/messages_sentEncryptedMessage.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.sentEncryptedMessage -description: Message without file attachemts sent to an encrypted file. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.sentEncryptedMessage -[Back to constructors index](index.md) - - - -Message without file attachemts sent to an encrypted file. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Date of sending| - - - -### Type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) - - -### Example: - -```php -$messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_sentEncryptedMessage={_='messages.sentEncryptedMessage', date=int} - -``` - - diff --git a/old_docs/API_docs_v25/constructors/messages_sentMessage.md b/old_docs/API_docs_v25/constructors/messages_sentMessage.md deleted file mode 100644 index 39301419..00000000 --- a/old_docs/API_docs_v25/constructors/messages_sentMessage.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: messages.sentMessage -description: Sent message -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.sentMessage -[Back to constructors index](index.md) - - - -Sent message - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|id|[int](../types/int.md) | Yes|ID| -|date|[int](../types/int.md) | Yes|Date| -|pts|[int](../types/int.md) | Yes|Pts| -|pts\_count|[int](../types/int.md) | Yes|Pts count| - - - -### Type: [messages\_SentMessage](../types/messages_SentMessage.md) - - -### Example: - -```php -$messages_sentMessage = ['_' => 'messages.sentMessage', 'id' => int, 'date' => int, 'pts' => int, 'pts_count' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_sentMessage={_='messages.sentMessage', id=int, date=int, pts=int, pts_count=int} - -``` - - diff --git a/old_docs/API_docs_v25/constructors/messages_sentMessageLink.md b/old_docs/API_docs_v25/constructors/messages_sentMessageLink.md deleted file mode 100644 index 79a30079..00000000 --- a/old_docs/API_docs_v25/constructors/messages_sentMessageLink.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: messages.sentMessageLink -description: Sent message link -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.sentMessageLink -[Back to constructors index](index.md) - - - -Sent message link - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|id|[int](../types/int.md) | Yes|ID| -|date|[int](../types/int.md) | Yes|Date| -|pts|[int](../types/int.md) | Yes|Pts| -|pts\_count|[int](../types/int.md) | Yes|Pts count| -|links|Array of [contacts\_Link](../types/contacts_Link.md) | Yes|Links| -|seq|[int](../types/int.md) | Yes|Seq| - - - -### Type: [messages\_SentMessage](../types/messages_SentMessage.md) - - -### Example: - -```php -$messages_sentMessageLink = ['_' => 'messages.sentMessageLink', 'id' => int, 'date' => int, 'pts' => int, 'pts_count' => int, 'links' => [contacts_Link, contacts_Link], 'seq' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_sentMessageLink={_='messages.sentMessageLink', id=int, date=int, pts=int, pts_count=int, links={contacts_Link}, seq=int} - -``` - - diff --git a/old_docs/API_docs_v25/constructors/messages_statedMessage.md b/old_docs/API_docs_v25/constructors/messages_statedMessage.md deleted file mode 100644 index 530a9cb7..00000000 --- a/old_docs/API_docs_v25/constructors/messages_statedMessage.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: messages.statedMessage -description: Stated message -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.statedMessage -[Back to constructors index](index.md) - - - -Stated message - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|message|[Message](../types/Message.md) | Optional|Message| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| -|pts|[int](../types/int.md) | Yes|Pts| -|pts\_count|[int](../types/int.md) | Yes|Pts count| - - - -### Type: [messages\_StatedMessage](../types/messages_StatedMessage.md) - - -### Example: - -```php -$messages_statedMessage = ['_' => 'messages.statedMessage', 'message' => Message, 'chats' => [Chat, Chat], 'users' => [User, User], 'pts' => int, 'pts_count' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_statedMessage={_='messages.statedMessage', message=Message, chats={Chat}, users={User}, pts=int, pts_count=int} - -``` - - diff --git a/old_docs/API_docs_v25/constructors/messages_statedMessageLink.md b/old_docs/API_docs_v25/constructors/messages_statedMessageLink.md deleted file mode 100644 index 465cf328..00000000 --- a/old_docs/API_docs_v25/constructors/messages_statedMessageLink.md +++ /dev/null @@ -1,44 +0,0 @@ ---- -title: messages.statedMessageLink -description: Stated message link -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.statedMessageLink -[Back to constructors index](index.md) - - - -Stated message link - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|message|[Message](../types/Message.md) | Optional|Message| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| -|pts|[int](../types/int.md) | Yes|Pts| -|pts\_count|[int](../types/int.md) | Yes|Pts count| -|links|Array of [contacts\_Link](../types/contacts_Link.md) | Yes|Links| -|seq|[int](../types/int.md) | Yes|Seq| - - - -### Type: [messages\_StatedMessage](../types/messages_StatedMessage.md) - - -### Example: - -```php -$messages_statedMessageLink = ['_' => 'messages.statedMessageLink', 'message' => Message, 'chats' => [Chat, Chat], 'users' => [User, User], 'pts' => int, 'pts_count' => int, 'links' => [contacts_Link, contacts_Link], 'seq' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_statedMessageLink={_='messages.statedMessageLink', message=Message, chats={Chat}, users={User}, pts=int, pts_count=int, links={contacts_Link}, seq=int} - -``` - - diff --git a/old_docs/API_docs_v25/constructors/messages_statedMessages.md b/old_docs/API_docs_v25/constructors/messages_statedMessages.md deleted file mode 100644 index 3e7939d5..00000000 --- a/old_docs/API_docs_v25/constructors/messages_statedMessages.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: messages.statedMessages -description: Stated messages -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.statedMessages -[Back to constructors index](index.md) - - - -Stated messages - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| -|pts|[int](../types/int.md) | Yes|Pts| -|pts\_count|[int](../types/int.md) | Yes|Pts count| - - - -### Type: [messages\_StatedMessages](../types/messages_StatedMessages.md) - - -### Example: - -```php -$messages_statedMessages = ['_' => 'messages.statedMessages', 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User], 'pts' => int, 'pts_count' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_statedMessages={_='messages.statedMessages', messages={Message}, chats={Chat}, users={User}, pts=int, pts_count=int} - -``` - - diff --git a/old_docs/API_docs_v25/constructors/messages_statedMessagesLinks.md b/old_docs/API_docs_v25/constructors/messages_statedMessagesLinks.md deleted file mode 100644 index ea5e5ab6..00000000 --- a/old_docs/API_docs_v25/constructors/messages_statedMessagesLinks.md +++ /dev/null @@ -1,44 +0,0 @@ ---- -title: messages.statedMessagesLinks -description: Stated messages links -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.statedMessagesLinks -[Back to constructors index](index.md) - - - -Stated messages links - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| -|pts|[int](../types/int.md) | Yes|Pts| -|pts\_count|[int](../types/int.md) | Yes|Pts count| -|links|Array of [contacts\_Link](../types/contacts_Link.md) | Yes|Links| -|seq|[int](../types/int.md) | Yes|Seq| - - - -### Type: [messages\_StatedMessages](../types/messages_StatedMessages.md) - - -### Example: - -```php -$messages_statedMessagesLinks = ['_' => 'messages.statedMessagesLinks', 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User], 'pts' => int, 'pts_count' => int, 'links' => [contacts_Link, contacts_Link], 'seq' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_statedMessagesLinks={_='messages.statedMessagesLinks', messages={Message}, chats={Chat}, users={User}, pts=int, pts_count=int, links={contacts_Link}, seq=int} - -``` - - diff --git a/old_docs/API_docs_v25/constructors/messages_stickers.md b/old_docs/API_docs_v25/constructors/messages_stickers.md deleted file mode 100644 index 1c007df2..00000000 --- a/old_docs/API_docs_v25/constructors/messages_stickers.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.stickers -description: Found stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickers -[Back to constructors index](index.md) - - - -Found stickers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[string](../types/string.md) | Yes|Hash| -|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| - - - -### Type: [messages\_Stickers](../types/messages_Stickers.md) - - -### Example: - -```php -$messages_stickers = ['_' => 'messages.stickers', 'hash' => 'string', 'stickers' => [Document, Document]]; -``` - - -Or, if you're into Lua: - -```lua -messages_stickers={_='messages.stickers', hash='string', stickers={Document}} - -``` - - diff --git a/old_docs/API_docs_v25/constructors/messages_stickersNotModified.md b/old_docs/API_docs_v25/constructors/messages_stickersNotModified.md deleted file mode 100644 index 3d434a79..00000000 --- a/old_docs/API_docs_v25/constructors/messages_stickersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.stickersNotModified -description: No new stickers were found for the given query -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickersNotModified -[Back to constructors index](index.md) - - - -No new stickers were found for the given query - - - - -### Type: [messages\_Stickers](../types/messages_Stickers.md) - - -### Example: - -```php -$messages_stickersNotModified = ['_' => 'messages.stickersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_stickersNotModified={_='messages.stickersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v25/constructors/photos.photo.md b/old_docs/API_docs_v25/constructors/photos.photo.md new file mode 100644 index 00000000..43d3efc7 --- /dev/null +++ b/old_docs/API_docs_v25/constructors/photos.photo.md @@ -0,0 +1,39 @@ +--- +title: photos.photo +description: Photo with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: photos.photo +[Back to constructors index](index.md) + + + +Photo with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|photo|[Photo](../types/Photo.md) | Optional|Photo| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [photos.Photo](../types/photos.Photo.md) + + +### Example: + +```php +$photos.photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +photos.photo={_='photos.photo', photo=Photo, users={User}} + +``` + + diff --git a/old_docs/API_docs_v25/constructors/photos.photos.md b/old_docs/API_docs_v25/constructors/photos.photos.md new file mode 100644 index 00000000..901a9693 --- /dev/null +++ b/old_docs/API_docs_v25/constructors/photos.photos.md @@ -0,0 +1,39 @@ +--- +title: photos.photos +description: Full list of photos with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: photos.photos +[Back to constructors index](index.md) + + + +Full list of photos with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [photos.Photos](../types/photos.Photos.md) + + +### Example: + +```php +$photos.photos = ['_' => 'photos.photos', 'photos' => [Photo, Photo], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +photos.photos={_='photos.photos', photos={Photo}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v25/constructors/photos.photosSlice.md b/old_docs/API_docs_v25/constructors/photos.photosSlice.md new file mode 100644 index 00000000..2cca3546 --- /dev/null +++ b/old_docs/API_docs_v25/constructors/photos.photosSlice.md @@ -0,0 +1,40 @@ +--- +title: photos.photosSlice +description: Incomplete list of photos with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: photos.photosSlice +[Back to constructors index](index.md) + + + +Incomplete list of photos with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of photos| +|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [photos.Photos](../types/photos.Photos.md) + + +### Example: + +```php +$photos.photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo, Photo], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +photos.photosSlice={_='photos.photosSlice', count=int, photos={Photo}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v25/constructors/photos_photo.md b/old_docs/API_docs_v25/constructors/photos_photo.md deleted file mode 100644 index d5ad61d9..00000000 --- a/old_docs/API_docs_v25/constructors/photos_photo.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: photos.photo -description: Photo with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: photos.photo -[Back to constructors index](index.md) - - - -Photo with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|photo|[Photo](../types/Photo.md) | Optional|Photo| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [photos\_Photo](../types/photos_Photo.md) - - -### Example: - -```php -$photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -photos_photo={_='photos.photo', photo=Photo, users={User}} - -``` - - diff --git a/old_docs/API_docs_v25/constructors/photos_photos.md b/old_docs/API_docs_v25/constructors/photos_photos.md deleted file mode 100644 index 6ae5d048..00000000 --- a/old_docs/API_docs_v25/constructors/photos_photos.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: photos.photos -description: Full list of photos with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: photos.photos -[Back to constructors index](index.md) - - - -Full list of photos with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [photos\_Photos](../types/photos_Photos.md) - - -### Example: - -```php -$photos_photos = ['_' => 'photos.photos', 'photos' => [Photo, Photo], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -photos_photos={_='photos.photos', photos={Photo}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v25/constructors/photos_photosSlice.md b/old_docs/API_docs_v25/constructors/photos_photosSlice.md deleted file mode 100644 index 5c465c21..00000000 --- a/old_docs/API_docs_v25/constructors/photos_photosSlice.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: photos.photosSlice -description: Incomplete list of photos with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: photos.photosSlice -[Back to constructors index](index.md) - - - -Incomplete list of photos with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of photos| -|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [photos\_Photos](../types/photos_Photos.md) - - -### Example: - -```php -$photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo, Photo], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -photos_photosSlice={_='photos.photosSlice', count=int, photos={Photo}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v25/constructors/storage.fileGif.md b/old_docs/API_docs_v25/constructors/storage.fileGif.md new file mode 100644 index 00000000..8193bd25 --- /dev/null +++ b/old_docs/API_docs_v25/constructors/storage.fileGif.md @@ -0,0 +1,33 @@ +--- +title: storage.fileGif +description: GIF image. MIME type: `image/gif`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileGif +[Back to constructors index](index.md) + + + +GIF image. MIME type: `image/gif`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileGif = ['_' => 'storage.fileGif']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileGif={_='storage.fileGif'} + +``` + + diff --git a/old_docs/API_docs_v25/constructors/storage.fileJpeg.md b/old_docs/API_docs_v25/constructors/storage.fileJpeg.md new file mode 100644 index 00000000..7f125963 --- /dev/null +++ b/old_docs/API_docs_v25/constructors/storage.fileJpeg.md @@ -0,0 +1,33 @@ +--- +title: storage.fileJpeg +description: JPEG image. MIME type: `image/jpeg`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileJpeg +[Back to constructors index](index.md) + + + +JPEG image. MIME type: `image/jpeg`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileJpeg = ['_' => 'storage.fileJpeg']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileJpeg={_='storage.fileJpeg'} + +``` + + diff --git a/old_docs/API_docs_v25/constructors/storage.fileMov.md b/old_docs/API_docs_v25/constructors/storage.fileMov.md new file mode 100644 index 00000000..cb3742e0 --- /dev/null +++ b/old_docs/API_docs_v25/constructors/storage.fileMov.md @@ -0,0 +1,33 @@ +--- +title: storage.fileMov +description: Quicktime video. MIME type: `video/quicktime`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileMov +[Back to constructors index](index.md) + + + +Quicktime video. MIME type: `video/quicktime`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileMov = ['_' => 'storage.fileMov']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileMov={_='storage.fileMov'} + +``` + + diff --git a/old_docs/API_docs_v25/constructors/storage.fileMp3.md b/old_docs/API_docs_v25/constructors/storage.fileMp3.md new file mode 100644 index 00000000..617f2d39 --- /dev/null +++ b/old_docs/API_docs_v25/constructors/storage.fileMp3.md @@ -0,0 +1,33 @@ +--- +title: storage.fileMp3 +description: Mp3 audio. MIME type: `audio/mpeg`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileMp3 +[Back to constructors index](index.md) + + + +Mp3 audio. MIME type: `audio/mpeg`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileMp3 = ['_' => 'storage.fileMp3']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileMp3={_='storage.fileMp3'} + +``` + + diff --git a/old_docs/API_docs_v25/constructors/storage.fileMp4.md b/old_docs/API_docs_v25/constructors/storage.fileMp4.md new file mode 100644 index 00000000..37038176 --- /dev/null +++ b/old_docs/API_docs_v25/constructors/storage.fileMp4.md @@ -0,0 +1,33 @@ +--- +title: storage.fileMp4 +description: MPEG-4 video. MIME type: `video/mp4`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileMp4 +[Back to constructors index](index.md) + + + +MPEG-4 video. MIME type: `video/mp4`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileMp4 = ['_' => 'storage.fileMp4']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileMp4={_='storage.fileMp4'} + +``` + + diff --git a/old_docs/API_docs_v25/constructors/storage.filePartial.md b/old_docs/API_docs_v25/constructors/storage.filePartial.md new file mode 100644 index 00000000..98779e71 --- /dev/null +++ b/old_docs/API_docs_v25/constructors/storage.filePartial.md @@ -0,0 +1,33 @@ +--- +title: storage.filePartial +description: Part of a bigger file. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.filePartial +[Back to constructors index](index.md) + + + +Part of a bigger file. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.filePartial = ['_' => 'storage.filePartial']; +``` + + +Or, if you're into Lua: + +```lua +storage.filePartial={_='storage.filePartial'} + +``` + + diff --git a/old_docs/API_docs_v25/constructors/storage.filePdf.md b/old_docs/API_docs_v25/constructors/storage.filePdf.md new file mode 100644 index 00000000..136c0614 --- /dev/null +++ b/old_docs/API_docs_v25/constructors/storage.filePdf.md @@ -0,0 +1,33 @@ +--- +title: storage.filePdf +description: PDF document image. MIME type: `application/pdf`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.filePdf +[Back to constructors index](index.md) + + + +PDF document image. MIME type: `application/pdf`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.filePdf = ['_' => 'storage.filePdf']; +``` + + +Or, if you're into Lua: + +```lua +storage.filePdf={_='storage.filePdf'} + +``` + + diff --git a/old_docs/API_docs_v25/constructors/storage.filePng.md b/old_docs/API_docs_v25/constructors/storage.filePng.md new file mode 100644 index 00000000..db01ce0e --- /dev/null +++ b/old_docs/API_docs_v25/constructors/storage.filePng.md @@ -0,0 +1,33 @@ +--- +title: storage.filePng +description: PNG image. MIME type: `image/png`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.filePng +[Back to constructors index](index.md) + + + +PNG image. MIME type: `image/png`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.filePng = ['_' => 'storage.filePng']; +``` + + +Or, if you're into Lua: + +```lua +storage.filePng={_='storage.filePng'} + +``` + + diff --git a/old_docs/API_docs_v25/constructors/storage.fileUnknown.md b/old_docs/API_docs_v25/constructors/storage.fileUnknown.md new file mode 100644 index 00000000..26f0a5ae --- /dev/null +++ b/old_docs/API_docs_v25/constructors/storage.fileUnknown.md @@ -0,0 +1,33 @@ +--- +title: storage.fileUnknown +description: Unknown type. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileUnknown +[Back to constructors index](index.md) + + + +Unknown type. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileUnknown = ['_' => 'storage.fileUnknown']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileUnknown={_='storage.fileUnknown'} + +``` + + diff --git a/old_docs/API_docs_v25/constructors/storage.fileWebp.md b/old_docs/API_docs_v25/constructors/storage.fileWebp.md new file mode 100644 index 00000000..63c9ded1 --- /dev/null +++ b/old_docs/API_docs_v25/constructors/storage.fileWebp.md @@ -0,0 +1,33 @@ +--- +title: storage.fileWebp +description: WEBP image. MIME type: `image/webp`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileWebp +[Back to constructors index](index.md) + + + +WEBP image. MIME type: `image/webp`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileWebp = ['_' => 'storage.fileWebp']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileWebp={_='storage.fileWebp'} + +``` + + diff --git a/old_docs/API_docs_v25/constructors/storage_fileGif.md b/old_docs/API_docs_v25/constructors/storage_fileGif.md deleted file mode 100644 index 218c7491..00000000 --- a/old_docs/API_docs_v25/constructors/storage_fileGif.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileGif -description: GIF image. MIME type: `image/gif`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileGif -[Back to constructors index](index.md) - - - -GIF image. MIME type: `image/gif`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileGif = ['_' => 'storage.fileGif']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileGif={_='storage.fileGif'} - -``` - - diff --git a/old_docs/API_docs_v25/constructors/storage_fileJpeg.md b/old_docs/API_docs_v25/constructors/storage_fileJpeg.md deleted file mode 100644 index 925531cd..00000000 --- a/old_docs/API_docs_v25/constructors/storage_fileJpeg.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileJpeg -description: JPEG image. MIME type: `image/jpeg`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileJpeg -[Back to constructors index](index.md) - - - -JPEG image. MIME type: `image/jpeg`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileJpeg = ['_' => 'storage.fileJpeg']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileJpeg={_='storage.fileJpeg'} - -``` - - diff --git a/old_docs/API_docs_v25/constructors/storage_fileMov.md b/old_docs/API_docs_v25/constructors/storage_fileMov.md deleted file mode 100644 index eaf2a6ff..00000000 --- a/old_docs/API_docs_v25/constructors/storage_fileMov.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileMov -description: Quicktime video. MIME type: `video/quicktime`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileMov -[Back to constructors index](index.md) - - - -Quicktime video. MIME type: `video/quicktime`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileMov = ['_' => 'storage.fileMov']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileMov={_='storage.fileMov'} - -``` - - diff --git a/old_docs/API_docs_v25/constructors/storage_fileMp3.md b/old_docs/API_docs_v25/constructors/storage_fileMp3.md deleted file mode 100644 index 9afcefbb..00000000 --- a/old_docs/API_docs_v25/constructors/storage_fileMp3.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileMp3 -description: Mp3 audio. MIME type: `audio/mpeg`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileMp3 -[Back to constructors index](index.md) - - - -Mp3 audio. MIME type: `audio/mpeg`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileMp3 = ['_' => 'storage.fileMp3']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileMp3={_='storage.fileMp3'} - -``` - - diff --git a/old_docs/API_docs_v25/constructors/storage_fileMp4.md b/old_docs/API_docs_v25/constructors/storage_fileMp4.md deleted file mode 100644 index cdc0e783..00000000 --- a/old_docs/API_docs_v25/constructors/storage_fileMp4.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileMp4 -description: MPEG-4 video. MIME type: `video/mp4`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileMp4 -[Back to constructors index](index.md) - - - -MPEG-4 video. MIME type: `video/mp4`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileMp4 = ['_' => 'storage.fileMp4']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileMp4={_='storage.fileMp4'} - -``` - - diff --git a/old_docs/API_docs_v25/constructors/storage_filePartial.md b/old_docs/API_docs_v25/constructors/storage_filePartial.md deleted file mode 100644 index 9bfadf63..00000000 --- a/old_docs/API_docs_v25/constructors/storage_filePartial.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.filePartial -description: Part of a bigger file. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.filePartial -[Back to constructors index](index.md) - - - -Part of a bigger file. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_filePartial = ['_' => 'storage.filePartial']; -``` - - -Or, if you're into Lua: - -```lua -storage_filePartial={_='storage.filePartial'} - -``` - - diff --git a/old_docs/API_docs_v25/constructors/storage_filePdf.md b/old_docs/API_docs_v25/constructors/storage_filePdf.md deleted file mode 100644 index efb022cc..00000000 --- a/old_docs/API_docs_v25/constructors/storage_filePdf.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.filePdf -description: PDF document image. MIME type: `application/pdf`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.filePdf -[Back to constructors index](index.md) - - - -PDF document image. MIME type: `application/pdf`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_filePdf = ['_' => 'storage.filePdf']; -``` - - -Or, if you're into Lua: - -```lua -storage_filePdf={_='storage.filePdf'} - -``` - - diff --git a/old_docs/API_docs_v25/constructors/storage_filePng.md b/old_docs/API_docs_v25/constructors/storage_filePng.md deleted file mode 100644 index 412759e4..00000000 --- a/old_docs/API_docs_v25/constructors/storage_filePng.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.filePng -description: PNG image. MIME type: `image/png`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.filePng -[Back to constructors index](index.md) - - - -PNG image. MIME type: `image/png`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_filePng = ['_' => 'storage.filePng']; -``` - - -Or, if you're into Lua: - -```lua -storage_filePng={_='storage.filePng'} - -``` - - diff --git a/old_docs/API_docs_v25/constructors/storage_fileUnknown.md b/old_docs/API_docs_v25/constructors/storage_fileUnknown.md deleted file mode 100644 index ed33dd5e..00000000 --- a/old_docs/API_docs_v25/constructors/storage_fileUnknown.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileUnknown -description: Unknown type. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileUnknown -[Back to constructors index](index.md) - - - -Unknown type. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileUnknown = ['_' => 'storage.fileUnknown']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileUnknown={_='storage.fileUnknown'} - -``` - - diff --git a/old_docs/API_docs_v25/constructors/storage_fileWebp.md b/old_docs/API_docs_v25/constructors/storage_fileWebp.md deleted file mode 100644 index 04dcad74..00000000 --- a/old_docs/API_docs_v25/constructors/storage_fileWebp.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileWebp -description: WEBP image. MIME type: `image/webp`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileWebp -[Back to constructors index](index.md) - - - -WEBP image. MIME type: `image/webp`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileWebp = ['_' => 'storage.fileWebp']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileWebp={_='storage.fileWebp'} - -``` - - diff --git a/old_docs/API_docs_v25/constructors/updates.difference.md b/old_docs/API_docs_v25/constructors/updates.difference.md new file mode 100644 index 00000000..82541b51 --- /dev/null +++ b/old_docs/API_docs_v25/constructors/updates.difference.md @@ -0,0 +1,43 @@ +--- +title: updates.difference +description: Full list of occurred events. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.difference +[Back to constructors index](index.md) + + + +Full list of occurred events. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| +|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| +|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| +|state|[updates.State](../constructors/updates.State.md) | Yes|Current state| + + + +### Type: [updates.Difference](../types/updates.Difference.md) + + +### Example: + +```php +$updates.difference = ['_' => 'updates.difference', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates.State]; +``` + + +Or, if you're into Lua: + +```lua +updates.difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates.State} + +``` + + diff --git a/old_docs/API_docs_v25/constructors/updates.differenceEmpty.md b/old_docs/API_docs_v25/constructors/updates.differenceEmpty.md new file mode 100644 index 00000000..a9dc3bd0 --- /dev/null +++ b/old_docs/API_docs_v25/constructors/updates.differenceEmpty.md @@ -0,0 +1,39 @@ +--- +title: updates.differenceEmpty +description: No events. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.differenceEmpty +[Back to constructors index](index.md) + + + +No events. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Current date| +|seq|[int](../types/int.md) | Yes|Number of sent updates| + + + +### Type: [updates.Difference](../types/updates.Difference.md) + + +### Example: + +```php +$updates.differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int]; +``` + + +Or, if you're into Lua: + +```lua +updates.differenceEmpty={_='updates.differenceEmpty', date=int, seq=int} + +``` + + diff --git a/old_docs/API_docs_v25/constructors/updates.differenceSlice.md b/old_docs/API_docs_v25/constructors/updates.differenceSlice.md new file mode 100644 index 00000000..9daf7a75 --- /dev/null +++ b/old_docs/API_docs_v25/constructors/updates.differenceSlice.md @@ -0,0 +1,43 @@ +--- +title: updates.differenceSlice +description: Incomplete list of occurred events. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.differenceSlice +[Back to constructors index](index.md) + + + +Incomplete list of occurred events. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| +|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| +|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| +|intermediate\_state|[updates.State](../constructors/updates.State.md) | Yes|Intermediary state| + + + +### Type: [updates.Difference](../types/updates.Difference.md) + + +### Example: + +```php +$updates.differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'intermediate_state' => updates.State]; +``` + + +Or, if you're into Lua: + +```lua +updates.differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates.State} + +``` + + diff --git a/old_docs/API_docs_v25/constructors/updates.state.md b/old_docs/API_docs_v25/constructors/updates.state.md new file mode 100644 index 00000000..abe9ddbb --- /dev/null +++ b/old_docs/API_docs_v25/constructors/updates.state.md @@ -0,0 +1,42 @@ +--- +title: updates.state +description: Updates state. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.state +[Back to constructors index](index.md) + + + +Updates state. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| +|qts|[int](../types/int.md) | Yes|Position in a sequence of updates in secret chats. For further detailes refer to article [secret chats](https://core.telegram.org/api/end-to-end)
Parameter was added in [eigth layer](https://core.telegram.org/api/layers#layer-8).| +|date|[int](../types/int.md) | Yes|Date of condition| +|seq|[int](../types/int.md) | Yes|Number of sent updates| +|unread\_count|[int](../types/int.md) | Yes|Number of unread messages| + + + +### Type: [updates.State](../types/updates.State.md) + + +### Example: + +```php +$updates.state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int]; +``` + + +Or, if you're into Lua: + +```lua +updates.state={_='updates.state', pts=int, qts=int, date=int, seq=int, unread_count=int} + +``` + + diff --git a/old_docs/API_docs_v25/constructors/updates_difference.md b/old_docs/API_docs_v25/constructors/updates_difference.md deleted file mode 100644 index 71ac7d4c..00000000 --- a/old_docs/API_docs_v25/constructors/updates_difference.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: updates.difference -description: Full list of occurred events. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.difference -[Back to constructors index](index.md) - - - -Full list of occurred events. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| -|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| -|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| -|state|[updates\_State](../types/updates_State.md) | Yes|Current state| - - - -### Type: [updates\_Difference](../types/updates_Difference.md) - - -### Example: - -```php -$updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates_State]; -``` - - -Or, if you're into Lua: - -```lua -updates_difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates_State} - -``` - - diff --git a/old_docs/API_docs_v25/constructors/updates_differenceEmpty.md b/old_docs/API_docs_v25/constructors/updates_differenceEmpty.md deleted file mode 100644 index c3c95c5a..00000000 --- a/old_docs/API_docs_v25/constructors/updates_differenceEmpty.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: updates.differenceEmpty -description: No events. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.differenceEmpty -[Back to constructors index](index.md) - - - -No events. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Current date| -|seq|[int](../types/int.md) | Yes|Number of sent updates| - - - -### Type: [updates\_Difference](../types/updates_Difference.md) - - -### Example: - -```php -$updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int]; -``` - - -Or, if you're into Lua: - -```lua -updates_differenceEmpty={_='updates.differenceEmpty', date=int, seq=int} - -``` - - diff --git a/old_docs/API_docs_v25/constructors/updates_differenceSlice.md b/old_docs/API_docs_v25/constructors/updates_differenceSlice.md deleted file mode 100644 index 8b12a369..00000000 --- a/old_docs/API_docs_v25/constructors/updates_differenceSlice.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: updates.differenceSlice -description: Incomplete list of occurred events. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.differenceSlice -[Back to constructors index](index.md) - - - -Incomplete list of occurred events. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| -|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| -|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| -|intermediate\_state|[updates\_State](../types/updates_State.md) | Yes|Intermediary state| - - - -### Type: [updates\_Difference](../types/updates_Difference.md) - - -### Example: - -```php -$updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'intermediate_state' => updates_State]; -``` - - -Or, if you're into Lua: - -```lua -updates_differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates_State} - -``` - - diff --git a/old_docs/API_docs_v25/constructors/updates_state.md b/old_docs/API_docs_v25/constructors/updates_state.md deleted file mode 100644 index ef3698e2..00000000 --- a/old_docs/API_docs_v25/constructors/updates_state.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: updates.state -description: Updates state. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.state -[Back to constructors index](index.md) - - - -Updates state. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| -|qts|[int](../types/int.md) | Yes|Position in a sequence of updates in secret chats. For further detailes refer to article [secret chats](https://core.telegram.org/api/end-to-end)
Parameter was added in [eigth layer](https://core.telegram.org/api/layers#layer-8).| -|date|[int](../types/int.md) | Yes|Date of condition| -|seq|[int](../types/int.md) | Yes|Number of sent updates| -|unread\_count|[int](../types/int.md) | Yes|Number of unread messages| - - - -### Type: [updates\_State](../types/updates_State.md) - - -### Example: - -```php -$updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int]; -``` - - -Or, if you're into Lua: - -```lua -updates_state={_='updates.state', pts=int, qts=int, date=int, seq=int, unread_count=int} - -``` - - diff --git a/old_docs/API_docs_v25/constructors/upload.file.md b/old_docs/API_docs_v25/constructors/upload.file.md new file mode 100644 index 00000000..145a4c24 --- /dev/null +++ b/old_docs/API_docs_v25/constructors/upload.file.md @@ -0,0 +1,40 @@ +--- +title: upload.file +description: File content. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: upload.file +[Back to constructors index](index.md) + + + +File content. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|type|[storage.FileType](../constructors/storage.FileType.md) | Yes|File type| +|mtime|[int](../types/int.md) | Yes|Modification type| +|bytes|[bytes](../types/bytes.md) | Yes|Binary data, file content| + + + +### Type: [upload.File](../types/upload.File.md) + + +### Example: + +```php +$upload.file = ['_' => 'upload.file', 'type' => storage.FileType, 'mtime' => int, 'bytes' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +upload.file={_='upload.file', type=storage.FileType, mtime=int, bytes='bytes'} + +``` + + diff --git a/old_docs/API_docs_v25/constructors/upload_file.md b/old_docs/API_docs_v25/constructors/upload_file.md deleted file mode 100644 index 1e07d9fb..00000000 --- a/old_docs/API_docs_v25/constructors/upload_file.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: upload.file -description: File content. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: upload.file -[Back to constructors index](index.md) - - - -File content. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|type|[storage\_FileType](../types/storage_FileType.md) | Yes|File type| -|mtime|[int](../types/int.md) | Yes|Modification type| -|bytes|[bytes](../types/bytes.md) | Yes|Binary data, file content| - - - -### Type: [upload\_File](../types/upload_File.md) - - -### Example: - -```php -$upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int, 'bytes' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -upload_file={_='upload.file', type=storage_FileType, mtime=int, bytes='bytes'} - -``` - - diff --git a/old_docs/API_docs_v25/constructors/userFull.md b/old_docs/API_docs_v25/constructors/userFull.md index b6768936..c8584760 100644 --- a/old_docs/API_docs_v25/constructors/userFull.md +++ b/old_docs/API_docs_v25/constructors/userFull.md @@ -15,7 +15,7 @@ Extended user info | Name | Type | Required | Description | |----------|---------------|----------|-------------| |user|[User](../types/User.md) | Optional|Remaining user info| -|link|[contacts\_Link](../types/contacts_Link.md) | Yes|Link| +|link|[contacts.Link](../constructors/contacts.Link.md) | Yes|Link| |profile\_photo|[Photo](../types/Photo.md) | Optional|Profile photo| |notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Optional|Notification settings| |blocked|[Bool](../types/Bool.md) | Yes|Blocked?| @@ -30,14 +30,14 @@ Extended user info ### Example: ```php -$userFull = ['_' => 'userFull', 'user' => User, 'link' => contacts_Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'blocked' => Bool, 'real_first_name' => 'string', 'real_last_name' => 'string']; +$userFull = ['_' => 'userFull', 'user' => User, 'link' => contacts.Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'blocked' => Bool, 'real_first_name' => 'string', 'real_last_name' => 'string']; ``` Or, if you're into Lua: ```lua -userFull={_='userFull', user=User, link=contacts_Link, profile_photo=Photo, notify_settings=PeerNotifySettings, blocked=Bool, real_first_name='string', real_last_name='string'} +userFull={_='userFull', user=User, link=contacts.Link, profile_photo=Photo, notify_settings=PeerNotifySettings, blocked=Bool, real_first_name='string', real_last_name='string'} ``` diff --git a/old_docs/API_docs_v25/methods/account.getPassword.md b/old_docs/API_docs_v25/methods/account.getPassword.md index eed4aee3..621271b6 100644 --- a/old_docs/API_docs_v25/methods/account.getPassword.md +++ b/old_docs/API_docs_v25/methods/account.getPassword.md @@ -11,7 +11,7 @@ Obtain configuration for two-factor authorization with password -### Return type: [account\_Password](../types/account_Password.md) +### Return type: [account.Password](../types/account.Password.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_Password = $MadelineProto->account->getPassword(); +$account.Password = $MadelineProto->account->getPassword(); ``` Or, if you're into Lua: ```lua -account_Password = account.getPassword({}) +account.Password = account.getPassword({}) ``` diff --git a/old_docs/API_docs_v25/methods/account.getPrivacy.md b/old_docs/API_docs_v25/methods/account.getPrivacy.md index 6a240129..e20c292c 100644 --- a/old_docs/API_docs_v25/methods/account.getPrivacy.md +++ b/old_docs/API_docs_v25/methods/account.getPrivacy.md @@ -16,7 +16,7 @@ Get privacy settings of current account |key|[InputPrivacyKey](../types/InputPrivacyKey.md) | Peer category whose privacy settings should be fetched | Yes| -### Return type: [account\_PrivacyRules](../types/account_PrivacyRules.md) +### Return type: [account.PrivacyRules](../types/account.PrivacyRules.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_PrivacyRules = $MadelineProto->account->getPrivacy(['key' => InputPrivacyKey, ]); +$account.PrivacyRules = $MadelineProto->account->getPrivacy(['key' => InputPrivacyKey, ]); ``` Or, if you're into Lua: ```lua -account_PrivacyRules = account.getPrivacy({key=InputPrivacyKey, }) +account.PrivacyRules = account.getPrivacy({key=InputPrivacyKey, }) ``` ### Errors diff --git a/old_docs/API_docs_v25/methods/account.sendChangePhoneCode.md b/old_docs/API_docs_v25/methods/account.sendChangePhoneCode.md index 169fa15b..e70372de 100644 --- a/old_docs/API_docs_v25/methods/account.sendChangePhoneCode.md +++ b/old_docs/API_docs_v25/methods/account.sendChangePhoneCode.md @@ -16,7 +16,7 @@ Verify a new phone number to associate to the current account |phone\_number|[string](../types/string.md) | New phone number | Yes| -### Return type: [account\_SentChangePhoneCode](../types/account_SentChangePhoneCode.md) +### Return type: [account.SentChangePhoneCode](../types/account.SentChangePhoneCode.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_SentChangePhoneCode = $MadelineProto->account->sendChangePhoneCode(['phone_number' => 'string', ]); +$account.SentChangePhoneCode = $MadelineProto->account->sendChangePhoneCode(['phone_number' => 'string', ]); ``` Or, if you're into Lua: ```lua -account_SentChangePhoneCode = account.sendChangePhoneCode({phone_number='string', }) +account.SentChangePhoneCode = account.sendChangePhoneCode({phone_number='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v25/methods/account.setPrivacy.md b/old_docs/API_docs_v25/methods/account.setPrivacy.md index 7c4cfba7..096d373e 100644 --- a/old_docs/API_docs_v25/methods/account.setPrivacy.md +++ b/old_docs/API_docs_v25/methods/account.setPrivacy.md @@ -17,7 +17,7 @@ Change privacy settings of current account |rules|Array of [InputPrivacyRule](../types/InputPrivacyRule.md) | Privacy settings | Yes| -### Return type: [account\_PrivacyRules](../types/account_PrivacyRules.md) +### Return type: [account.PrivacyRules](../types/account.PrivacyRules.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_PrivacyRules = $MadelineProto->account->setPrivacy(['key' => InputPrivacyKey, 'rules' => [InputPrivacyRule, InputPrivacyRule], ]); +$account.PrivacyRules = $MadelineProto->account->setPrivacy(['key' => InputPrivacyKey, 'rules' => [InputPrivacyRule, InputPrivacyRule], ]); ``` Or, if you're into Lua: ```lua -account_PrivacyRules = account.setPrivacy({key=InputPrivacyKey, rules={InputPrivacyRule}, }) +account.PrivacyRules = account.setPrivacy({key=InputPrivacyKey, rules={InputPrivacyRule}, }) ``` ### Errors diff --git a/old_docs/API_docs_v25/methods/api_README.md b/old_docs/API_docs_v25/methods/api_README.md index 26ede7aa..e1562f97 100644 --- a/old_docs/API_docs_v25/methods/api_README.md +++ b/old_docs/API_docs_v25/methods/api_README.md @@ -56,11 +56,11 @@ $MadelineProto->[account->getNotifySettings](account.getNotifySettings.md)(\['pe ***

-$MadelineProto->[account->getPassword](account.getPassword.md)(\[\]) === [$account\_Password](../types/account_Password.md) +$MadelineProto->[account->getPassword](account.getPassword.md)(\[\]) === [$account.Password](../types/account.Password.md) ***

-$MadelineProto->[account->getPrivacy](account.getPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), \]) === [$account\_PrivacyRules](../types/account_PrivacyRules.md) +$MadelineProto->[account->getPrivacy](account.getPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), \]) === [$account.PrivacyRules](../types/account.PrivacyRules.md) ***

@@ -76,7 +76,7 @@ $MadelineProto->[account->resetNotifySettings](account.resetNotifySettings.md)(\ ***

-$MadelineProto->[account->sendChangePhoneCode](account.sendChangePhoneCode.md)(\['phone_number' => [string](../types/string.md), \]) === [$account\_SentChangePhoneCode](../types/account_SentChangePhoneCode.md) +$MadelineProto->[account->sendChangePhoneCode](account.sendChangePhoneCode.md)(\['phone_number' => [string](../types/string.md), \]) === [$account.SentChangePhoneCode](../types/account.SentChangePhoneCode.md) ***

@@ -88,7 +88,7 @@ $MadelineProto->[account->setPassword](account.setPassword.md)(\['current_passwo ***

-$MadelineProto->[account->setPrivacy](account.setPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), 'rules' => \[[InputPrivacyRule](../types/InputPrivacyRule.md)\], \]) === [$account\_PrivacyRules](../types/account_PrivacyRules.md) +$MadelineProto->[account->setPrivacy](account.setPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), 'rules' => \[[InputPrivacyRule](../types/InputPrivacyRule.md)\], \]) === [$account.PrivacyRules](../types/account.PrivacyRules.md) ***

@@ -120,19 +120,19 @@ $MadelineProto->[auth->bindTempAuthKey](auth.bindTempAuthKey.md)(\['perm_auth_ke ***

-$MadelineProto->[auth->checkPassword](auth.checkPassword.md)(\['password_hash' => [bytes](../types/bytes.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->checkPassword](auth.checkPassword.md)(\['password_hash' => [bytes](../types/bytes.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

-$MadelineProto->[auth->checkPhone](auth.checkPhone.md)(\['phone_number' => [string](../types/string.md), \]) === [$auth\_CheckedPhone](../types/auth_CheckedPhone.md) +$MadelineProto->[auth->checkPhone](auth.checkPhone.md)(\['phone_number' => [string](../types/string.md), \]) === [$auth.CheckedPhone](../types/auth.CheckedPhone.md) ***

-$MadelineProto->[auth->exportAuthorization](auth.exportAuthorization.md)(\['dc_id' => [int](../types/int.md), \]) === [$auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) +$MadelineProto->[auth->exportAuthorization](auth.exportAuthorization.md)(\['dc_id' => [int](../types/int.md), \]) === [$auth.ExportedAuthorization](../types/auth.ExportedAuthorization.md) ***

-$MadelineProto->[auth->importAuthorization](auth.importAuthorization.md)(\['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->importAuthorization](auth.importAuthorization.md)(\['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

@@ -148,7 +148,7 @@ $MadelineProto->[auth->sendCall](auth.sendCall.md)(\['phone_number' => [string]( ***

-$MadelineProto->[auth->sendCode](auth.sendCode.md)(\['phone_number' => [string](../types/string.md), 'sms_type' => [int](../types/int.md), 'api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) === [$auth\_SentCode](../types/auth_SentCode.md) +$MadelineProto->[auth->sendCode](auth.sendCode.md)(\['phone_number' => [string](../types/string.md), 'sms_type' => [int](../types/int.md), 'api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) === [$auth.SentCode](../types/auth.SentCode.md) ***

@@ -160,11 +160,11 @@ $MadelineProto->[auth->sendSms](auth.sendSms.md)(\['phone_number' => [string](.. ***

-$MadelineProto->[auth->signIn](auth.signIn.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->signIn](auth.signIn.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

-$MadelineProto->[auth->signUp](auth.signUp.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->signUp](auth.signUp.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

@@ -172,7 +172,7 @@ $MadelineProto->[contacts->block](contacts.block.md)(\['id' => [InputUser](../ty ***

-$MadelineProto->[contacts->deleteContact](contacts.deleteContact.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$contacts\_Link](../types/contacts_Link.md) +$MadelineProto->[contacts->deleteContact](contacts.deleteContact.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$contacts.Link](../types/contacts.Link.md) ***

@@ -184,11 +184,11 @@ $MadelineProto->[contacts->exportCard](contacts.exportCard.md)(\[\]) === [$Vecto ***

-$MadelineProto->[contacts->getBlocked](contacts.getBlocked.md)(\['offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$contacts\_Blocked](../types/contacts_Blocked.md) +$MadelineProto->[contacts->getBlocked](contacts.getBlocked.md)(\['offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$contacts.Blocked](../types/contacts.Blocked.md) ***

-$MadelineProto->[contacts->getContacts](contacts.getContacts.md)(\['hash' => [string](../types/string.md), \]) === [$contacts\_Contacts](../types/contacts_Contacts.md) +$MadelineProto->[contacts->getContacts](contacts.getContacts.md)(\['hash' => [string](../types/string.md), \]) === [$contacts.Contacts](../types/contacts.Contacts.md) ***

@@ -196,7 +196,7 @@ $MadelineProto->[contacts->getStatuses](contacts.getStatuses.md)(\[\]) === [$Vec ***

-$MadelineProto->[contacts->getSuggested](contacts.getSuggested.md)(\['limit' => [int](../types/int.md), \]) === [$contacts\_Suggested](../types/contacts_Suggested.md) +$MadelineProto->[contacts->getSuggested](contacts.getSuggested.md)(\['limit' => [int](../types/int.md), \]) === [$contacts.Suggested](../types/contacts.Suggested.md) ***

@@ -204,7 +204,7 @@ $MadelineProto->[contacts->importCard](contacts.importCard.md)(\['export_card' = ***

-$MadelineProto->[contacts->importContacts](contacts.importContacts.md)(\['contacts' => \[[InputContact](../types/InputContact.md)\], 'replace' => [Bool](../types/Bool.md), \]) === [$contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) +$MadelineProto->[contacts->importContacts](contacts.importContacts.md)(\['contacts' => \[[InputContact](../types/InputContact.md)\], 'replace' => [Bool](../types/Bool.md), \]) === [$contacts.ImportedContacts](../types/contacts.ImportedContacts.md) ***

@@ -212,7 +212,7 @@ $MadelineProto->[contacts->resolveUsername](contacts.resolveUsername.md)(\['user ***

-$MadelineProto->[contacts->search](contacts.search.md)(\['q' => [string](../types/string.md), 'limit' => [int](../types/int.md), \]) === [$contacts\_Found](../types/contacts_Found.md) +$MadelineProto->[contacts->search](contacts.search.md)(\['q' => [string](../types/string.md), 'limit' => [int](../types/int.md), \]) === [$contacts.Found](../types/contacts.Found.md) ***

@@ -220,47 +220,47 @@ $MadelineProto->[contacts->unblock](contacts.unblock.md)(\['id' => [InputUser](. ***

-$MadelineProto->[geochats->checkin](geochats.checkin.md)(\['peer' => [InputGeoChat](../types/InputGeoChat.md), \]) === [$geochats\_StatedMessage](../types/geochats_StatedMessage.md) +$MadelineProto->[geochats->checkin](geochats.checkin.md)(\['peer' => [InputGeoChat](../types/InputGeoChat.md), \]) === [$geochats.StatedMessage](../types/geochats.StatedMessage.md) ***

-$MadelineProto->[geochats->createGeoChat](geochats.createGeoChat.md)(\['title' => [string](../types/string.md), 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'address' => [string](../types/string.md), 'venue' => [string](../types/string.md), \]) === [$geochats\_StatedMessage](../types/geochats_StatedMessage.md) +$MadelineProto->[geochats->createGeoChat](geochats.createGeoChat.md)(\['title' => [string](../types/string.md), 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'address' => [string](../types/string.md), 'venue' => [string](../types/string.md), \]) === [$geochats.StatedMessage](../types/geochats.StatedMessage.md) ***

-$MadelineProto->[geochats->editChatPhoto](geochats.editChatPhoto.md)(\['peer' => [InputGeoChat](../types/InputGeoChat.md), 'photo' => [InputChatPhoto](../types/InputChatPhoto.md), \]) === [$geochats\_StatedMessage](../types/geochats_StatedMessage.md) +$MadelineProto->[geochats->editChatPhoto](geochats.editChatPhoto.md)(\['peer' => [InputGeoChat](../types/InputGeoChat.md), 'photo' => [InputChatPhoto](../types/InputChatPhoto.md), \]) === [$geochats.StatedMessage](../types/geochats.StatedMessage.md) ***

-$MadelineProto->[geochats->editChatTitle](geochats.editChatTitle.md)(\['peer' => [InputGeoChat](../types/InputGeoChat.md), 'title' => [string](../types/string.md), 'address' => [string](../types/string.md), \]) === [$geochats\_StatedMessage](../types/geochats_StatedMessage.md) +$MadelineProto->[geochats->editChatTitle](geochats.editChatTitle.md)(\['peer' => [InputGeoChat](../types/InputGeoChat.md), 'title' => [string](../types/string.md), 'address' => [string](../types/string.md), \]) === [$geochats.StatedMessage](../types/geochats.StatedMessage.md) ***

-$MadelineProto->[geochats->getFullChat](geochats.getFullChat.md)(\['peer' => [InputGeoChat](../types/InputGeoChat.md), \]) === [$messages\_ChatFull](../types/messages_ChatFull.md) +$MadelineProto->[geochats->getFullChat](geochats.getFullChat.md)(\['peer' => [InputGeoChat](../types/InputGeoChat.md), \]) === [$messages.ChatFull](../types/messages.ChatFull.md) ***

-$MadelineProto->[geochats->getHistory](geochats.getHistory.md)(\['peer' => [InputGeoChat](../types/InputGeoChat.md), 'offset' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$geochats\_Messages](../types/geochats_Messages.md) +$MadelineProto->[geochats->getHistory](geochats.getHistory.md)(\['peer' => [InputGeoChat](../types/InputGeoChat.md), 'offset' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$geochats.Messages](../types/geochats.Messages.md) ***

-$MadelineProto->[geochats->getLocated](geochats.getLocated.md)(\['geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'radius' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$geochats\_Located](../types/geochats_Located.md) +$MadelineProto->[geochats->getLocated](geochats.getLocated.md)(\['geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'radius' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$geochats.Located](../types/geochats.Located.md) ***

-$MadelineProto->[geochats->getRecents](geochats.getRecents.md)(\['offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$geochats\_Messages](../types/geochats_Messages.md) +$MadelineProto->[geochats->getRecents](geochats.getRecents.md)(\['offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$geochats.Messages](../types/geochats.Messages.md) ***

-$MadelineProto->[geochats->search](geochats.search.md)(\['peer' => [InputGeoChat](../types/InputGeoChat.md), 'q' => [string](../types/string.md), 'filter' => [MessagesFilter](../types/MessagesFilter.md), 'min_date' => [int](../types/int.md), 'max_date' => [int](../types/int.md), 'offset' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$geochats\_Messages](../types/geochats_Messages.md) +$MadelineProto->[geochats->search](geochats.search.md)(\['peer' => [InputGeoChat](../types/InputGeoChat.md), 'q' => [string](../types/string.md), 'filter' => [MessagesFilter](../types/MessagesFilter.md), 'min_date' => [int](../types/int.md), 'max_date' => [int](../types/int.md), 'offset' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$geochats.Messages](../types/geochats.Messages.md) ***

-$MadelineProto->[geochats->sendMedia](geochats.sendMedia.md)(\['peer' => [InputGeoChat](../types/InputGeoChat.md), 'media' => [InputMedia](../types/InputMedia.md), \]) === [$geochats\_StatedMessage](../types/geochats_StatedMessage.md) +$MadelineProto->[geochats->sendMedia](geochats.sendMedia.md)(\['peer' => [InputGeoChat](../types/InputGeoChat.md), 'media' => [InputMedia](../types/InputMedia.md), \]) === [$geochats.StatedMessage](../types/geochats.StatedMessage.md) ***

-$MadelineProto->[geochats->sendMessage](geochats.sendMessage.md)(\['peer' => [InputGeoChat](../types/InputGeoChat.md), 'message' => [string](../types/string.md), \]) === [$geochats\_StatedMessage](../types/geochats_StatedMessage.md) +$MadelineProto->[geochats->sendMessage](geochats.sendMessage.md)(\['peer' => [InputGeoChat](../types/InputGeoChat.md), 'message' => [string](../types/string.md), \]) === [$geochats.StatedMessage](../types/geochats.StatedMessage.md) ***

@@ -268,7 +268,7 @@ $MadelineProto->[geochats->setTyping](geochats.setTyping.md)(\['peer' => [InputG ***

-$MadelineProto->[help->getAppUpdate](help.getAppUpdate.md)(\['device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) === [$help\_AppUpdate](../types/help_AppUpdate.md) +$MadelineProto->[help->getAppUpdate](help.getAppUpdate.md)(\['device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) === [$help.AppUpdate](../types/help.AppUpdate.md) ***

@@ -276,7 +276,7 @@ $MadelineProto->[help->getConfig](help.getConfig.md)(\[\]) === [$Config](../type ***

-$MadelineProto->[help->getInviteText](help.getInviteText.md)(\['lang_code' => [string](../types/string.md), \]) === [$help\_InviteText](../types/help_InviteText.md) +$MadelineProto->[help->getInviteText](help.getInviteText.md)(\['lang_code' => [string](../types/string.md), \]) === [$help.InviteText](../types/help.InviteText.md) ***

@@ -284,7 +284,7 @@ $MadelineProto->[help->getNearestDc](help.getNearestDc.md)(\[\]) === [$NearestDc ***

-$MadelineProto->[help->getSupport](help.getSupport.md)(\[\]) === [$help\_Support](../types/help_Support.md) +$MadelineProto->[help->getSupport](help.getSupport.md)(\[\]) === [$help.Support](../types/help.Support.md) ***

@@ -312,23 +312,23 @@ $MadelineProto->[messages->acceptEncryption](messages.acceptEncryption.md)(\['pe ***

-$MadelineProto->[messages->addChatUser](messages.addChatUser.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), 'user_id' => [InputUser](../types/InputUser.md), 'fwd_limit' => [int](../types/int.md), \]) === [$messages\_StatedMessage](../types/messages_StatedMessage.md) +$MadelineProto->[messages->addChatUser](messages.addChatUser.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), 'user_id' => [InputUser](../types/InputUser.md), 'fwd_limit' => [int](../types/int.md), \]) === [$messages.StatedMessage](../types/messages.StatedMessage.md) ***

-$MadelineProto->[messages->createChat](messages.createChat.md)(\['users' => \[[InputUser](../types/InputUser.md)\], 'title' => [string](../types/string.md), \]) === [$messages\_StatedMessage](../types/messages_StatedMessage.md) +$MadelineProto->[messages->createChat](messages.createChat.md)(\['users' => \[[InputUser](../types/InputUser.md)\], 'title' => [string](../types/string.md), \]) === [$messages.StatedMessage](../types/messages.StatedMessage.md) ***

-$MadelineProto->[messages->deleteChatUser](messages.deleteChatUser.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages\_StatedMessage](../types/messages_StatedMessage.md) +$MadelineProto->[messages->deleteChatUser](messages.deleteChatUser.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages.StatedMessage](../types/messages.StatedMessage.md) ***

-$MadelineProto->[messages->deleteHistory](messages.deleteHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset' => [int](../types/int.md), \]) === [$messages\_AffectedHistory](../types/messages_AffectedHistory.md) +$MadelineProto->[messages->deleteHistory](messages.deleteHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset' => [int](../types/int.md), \]) === [$messages.AffectedHistory](../types/messages.AffectedHistory.md) ***

-$MadelineProto->[messages->deleteMessages](messages.deleteMessages.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) +$MadelineProto->[messages->deleteMessages](messages.deleteMessages.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages.AffectedMessages](../types/messages.AffectedMessages.md) ***

@@ -336,51 +336,51 @@ $MadelineProto->[messages->discardEncryption](messages.discardEncryption.md)(\[' ***

-$MadelineProto->[messages->editChatPhoto](messages.editChatPhoto.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), 'photo' => [InputChatPhoto](../types/InputChatPhoto.md), \]) === [$messages\_StatedMessage](../types/messages_StatedMessage.md) +$MadelineProto->[messages->editChatPhoto](messages.editChatPhoto.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), 'photo' => [InputChatPhoto](../types/InputChatPhoto.md), \]) === [$messages.StatedMessage](../types/messages.StatedMessage.md) ***

-$MadelineProto->[messages->editChatTitle](messages.editChatTitle.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), 'title' => [string](../types/string.md), \]) === [$messages\_StatedMessage](../types/messages_StatedMessage.md) +$MadelineProto->[messages->editChatTitle](messages.editChatTitle.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), 'title' => [string](../types/string.md), \]) === [$messages.StatedMessage](../types/messages.StatedMessage.md) ***

-$MadelineProto->[messages->forwardMessage](messages.forwardMessage.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), \]) === [$messages\_StatedMessage](../types/messages_StatedMessage.md) +$MadelineProto->[messages->forwardMessage](messages.forwardMessage.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), \]) === [$messages.StatedMessage](../types/messages.StatedMessage.md) ***

-$MadelineProto->[messages->forwardMessages](messages.forwardMessages.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages\_StatedMessages](../types/messages_StatedMessages.md) +$MadelineProto->[messages->forwardMessages](messages.forwardMessages.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages.StatedMessages](../types/messages.StatedMessages.md) ***

-$MadelineProto->[messages->getAllStickers](messages.getAllStickers.md)(\['hash' => [string](../types/string.md), \]) === [$messages\_AllStickers](../types/messages_AllStickers.md) +$MadelineProto->[messages->getAllStickers](messages.getAllStickers.md)(\['hash' => [string](../types/string.md), \]) === [$messages.AllStickers](../types/messages.AllStickers.md) ***

-$MadelineProto->[messages->getChats](messages.getChats.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[messages->getChats](messages.getChats.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages.Chats](../types/messages.Chats.md) ***

-$MadelineProto->[messages->getDhConfig](messages.getDhConfig.md)(\['version' => [int](../types/int.md), 'random_length' => [int](../types/int.md), \]) === [$messages\_DhConfig](../types/messages_DhConfig.md) +$MadelineProto->[messages->getDhConfig](messages.getDhConfig.md)(\['version' => [int](../types/int.md), 'random_length' => [int](../types/int.md), \]) === [$messages.DhConfig](../types/messages.DhConfig.md) ***

-$MadelineProto->[messages->getDialogs](messages.getDialogs.md)(\['offset' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages\_Dialogs](../types/messages_Dialogs.md) +$MadelineProto->[messages->getDialogs](messages.getDialogs.md)(\['offset' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages.Dialogs](../types/messages.Dialogs.md) ***

-$MadelineProto->[messages->getFullChat](messages.getFullChat.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), \]) === [$messages\_ChatFull](../types/messages_ChatFull.md) +$MadelineProto->[messages->getFullChat](messages.getFullChat.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), \]) === [$messages.ChatFull](../types/messages.ChatFull.md) ***

-$MadelineProto->[messages->getHistory](messages.getHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->getHistory](messages.getHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[messages->getMessages](messages.getMessages.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->getMessages](messages.getMessages.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[messages->getStickers](messages.getStickers.md)(\['emoticon' => [string](../types/string.md), 'hash' => [string](../types/string.md), \]) === [$messages\_Stickers](../types/messages_Stickers.md) +$MadelineProto->[messages->getStickers](messages.getStickers.md)(\['emoticon' => [string](../types/string.md), 'hash' => [string](../types/string.md), \]) === [$messages.Stickers](../types/messages.Stickers.md) ***

@@ -388,11 +388,11 @@ $MadelineProto->[messages->readEncryptedHistory](messages.readEncryptedHistory.m ***

-$MadelineProto->[messages->readHistory](messages.readHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), 'offset' => [int](../types/int.md), \]) === [$messages\_AffectedHistory](../types/messages_AffectedHistory.md) +$MadelineProto->[messages->readHistory](messages.readHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), 'offset' => [int](../types/int.md), \]) === [$messages.AffectedHistory](../types/messages.AffectedHistory.md) ***

-$MadelineProto->[messages->readMessageContents](messages.readMessageContents.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) +$MadelineProto->[messages->readMessageContents](messages.readMessageContents.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages.AffectedMessages](../types/messages.AffectedMessages.md) ***

@@ -408,31 +408,31 @@ $MadelineProto->[messages->requestEncryption](messages.requestEncryption.md)(\[' ***

-$MadelineProto->[messages->search](messages.search.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'q' => [string](../types/string.md), 'filter' => [MessagesFilter](../types/MessagesFilter.md), 'min_date' => [int](../types/int.md), 'max_date' => [int](../types/int.md), 'offset' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->search](messages.search.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'q' => [string](../types/string.md), 'filter' => [MessagesFilter](../types/MessagesFilter.md), 'min_date' => [int](../types/int.md), 'max_date' => [int](../types/int.md), 'offset' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[messages->sendBroadcast](messages.sendBroadcast.md)(\['contacts' => \[[InputUser](../types/InputUser.md)\], 'message' => [string](../types/string.md), 'media' => [InputMedia](../types/InputMedia.md), \]) === [$messages\_StatedMessages](../types/messages_StatedMessages.md) +$MadelineProto->[messages->sendBroadcast](messages.sendBroadcast.md)(\['contacts' => \[[InputUser](../types/InputUser.md)\], 'message' => [string](../types/string.md), 'media' => [InputMedia](../types/InputMedia.md), \]) === [$messages.StatedMessages](../types/messages.StatedMessages.md) ***

-$MadelineProto->[messages->sendEncrypted](messages.sendEncrypted.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'message' => [DecryptedMessage](../types/DecryptedMessage.md), \]) === [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +$MadelineProto->[messages->sendEncrypted](messages.sendEncrypted.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), \]) === [$messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ***

-$MadelineProto->[messages->sendEncryptedFile](messages.sendEncryptedFile.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'message' => [DecryptedMessage](../types/DecryptedMessage.md), 'file' => [InputEncryptedFile](../types/InputEncryptedFile.md), \]) === [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +$MadelineProto->[messages->sendEncryptedFile](messages.sendEncryptedFile.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), 'file' => [InputEncryptedFile](../types/InputEncryptedFile.md), \]) === [$messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ***

-$MadelineProto->[messages->sendEncryptedService](messages.sendEncryptedService.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'message' => [DecryptedMessage](../types/DecryptedMessage.md), \]) === [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +$MadelineProto->[messages->sendEncryptedService](messages.sendEncryptedService.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), \]) === [$messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ***

-$MadelineProto->[messages->sendMedia](messages.sendMedia.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'reply_to_msg_id' => [int](../types/int.md), 'media' => [InputMedia](../types/InputMedia.md), \]) === [$messages\_StatedMessage](../types/messages_StatedMessage.md) +$MadelineProto->[messages->sendMedia](messages.sendMedia.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'reply_to_msg_id' => [int](../types/int.md), 'media' => [InputMedia](../types/InputMedia.md), \]) === [$messages.StatedMessage](../types/messages.StatedMessage.md) ***

-$MadelineProto->[messages->sendMessage](messages.sendMessage.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'reply_to_msg_id' => [int](../types/int.md), 'message' => [string](../types/string.md), \]) === [$messages\_SentMessage](../types/messages_SentMessage.md) +$MadelineProto->[messages->sendMessage](messages.sendMessage.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'reply_to_msg_id' => [int](../types/int.md), 'message' => [string](../types/string.md), \]) === [$messages.SentMessage](../types/messages.SentMessage.md) ***

@@ -448,7 +448,7 @@ $MadelineProto->[photos->deletePhotos](photos.deletePhotos.md)(\['id' => \[[Inpu ***

-$MadelineProto->[photos->getUserPhotos](photos.getUserPhotos.md)(\['user_id' => [InputUser](../types/InputUser.md), 'offset' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$photos\_Photos](../types/photos_Photos.md) +$MadelineProto->[photos->getUserPhotos](photos.getUserPhotos.md)(\['user_id' => [InputUser](../types/InputUser.md), 'offset' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$photos.Photos](../types/photos.Photos.md) ***

@@ -456,19 +456,19 @@ $MadelineProto->[photos->updateProfilePhoto](photos.updateProfilePhoto.md)(\['id ***

-$MadelineProto->[photos->uploadProfilePhoto](photos.uploadProfilePhoto.md)(\['file' => [InputFile](../types/InputFile.md), 'caption' => [string](../types/string.md), 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'crop' => [InputPhotoCrop](../types/InputPhotoCrop.md), \]) === [$photos\_Photo](../types/photos_Photo.md) +$MadelineProto->[photos->uploadProfilePhoto](photos.uploadProfilePhoto.md)(\['file' => [InputFile](../types/InputFile.md), 'caption' => [string](../types/string.md), 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'crop' => [InputPhotoCrop](../types/InputPhotoCrop.md), \]) === [$photos.Photo](../types/photos.Photo.md) ***

-$MadelineProto->[updates->getDifference](updates.getDifference.md)(\['pts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) === [$updates\_Difference](../types/updates_Difference.md) +$MadelineProto->[updates->getDifference](updates.getDifference.md)(\['pts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) === [$updates.Difference](../types/updates.Difference.md) ***

-$MadelineProto->[updates->getState](updates.getState.md)(\[\]) === [$updates\_State](../types/updates_State.md) +$MadelineProto->[updates->getState](updates.getState.md)(\[\]) === [$updates.State](../types/updates.State.md) ***

-$MadelineProto->[upload->getFile](upload.getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_File](../types/upload_File.md) +$MadelineProto->[upload->getFile](upload.getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload.File](../types/upload.File.md) ***

diff --git a/old_docs/API_docs_v25/methods/auth.checkPassword.md b/old_docs/API_docs_v25/methods/auth.checkPassword.md index db65cb56..eeeed171 100644 --- a/old_docs/API_docs_v25/methods/auth.checkPassword.md +++ b/old_docs/API_docs_v25/methods/auth.checkPassword.md @@ -16,7 +16,7 @@ You cannot use this method directly, use the complete_2fa_login method instead ( |password\_hash|[bytes](../types/bytes.md) | You cannot use this method directly, use the complete_2fa_login method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->checkPassword(['password_hash' => 'bytes', ]); +$auth.Authorization = $MadelineProto->auth->checkPassword(['password_hash' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.checkPassword({password_hash='bytes', }) +auth.Authorization = auth.checkPassword({password_hash='bytes', }) ``` ### Errors diff --git a/old_docs/API_docs_v25/methods/auth.checkPhone.md b/old_docs/API_docs_v25/methods/auth.checkPhone.md index 227358cb..51d4cba6 100644 --- a/old_docs/API_docs_v25/methods/auth.checkPhone.md +++ b/old_docs/API_docs_v25/methods/auth.checkPhone.md @@ -16,7 +16,7 @@ Check if this phone number is registered on telegram |phone\_number|[string](../types/string.md) | The phone number to check | Yes| -### Return type: [auth\_CheckedPhone](../types/auth_CheckedPhone.md) +### Return type: [auth.CheckedPhone](../types/auth.CheckedPhone.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => 'string', ]); +$auth.CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_CheckedPhone = auth.checkPhone({phone_number='string', }) +auth.CheckedPhone = auth.checkPhone({phone_number='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v25/methods/auth.exportAuthorization.md b/old_docs/API_docs_v25/methods/auth.exportAuthorization.md index 72063a2b..41a1f87d 100644 --- a/old_docs/API_docs_v25/methods/auth.exportAuthorization.md +++ b/old_docs/API_docs_v25/methods/auth.exportAuthorization.md @@ -16,7 +16,7 @@ You cannot use this method directly, use $MadelineProto->exportAuthorization() i |dc\_id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| -### Return type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) +### Return type: [auth.ExportedAuthorization](../types/auth.ExportedAuthorization.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_ExportedAuthorization = $MadelineProto->auth->exportAuthorization(['dc_id' => int, ]); +$auth.ExportedAuthorization = $MadelineProto->auth->exportAuthorization(['dc_id' => int, ]); ``` Or, if you're into Lua: ```lua -auth_ExportedAuthorization = auth.exportAuthorization({dc_id=int, }) +auth.ExportedAuthorization = auth.exportAuthorization({dc_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v25/methods/auth.importAuthorization.md b/old_docs/API_docs_v25/methods/auth.importAuthorization.md index d9c13751..5257e0b0 100644 --- a/old_docs/API_docs_v25/methods/auth.importAuthorization.md +++ b/old_docs/API_docs_v25/methods/auth.importAuthorization.md @@ -17,7 +17,7 @@ You cannot use this method directly, use $MadelineProto->importAuthorization($au |bytes|[bytes](../types/bytes.md) | You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => 'bytes', ]); +$auth.Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.importAuthorization({id=int, bytes='bytes', }) +auth.Authorization = auth.importAuthorization({id=int, bytes='bytes', }) ``` ### Errors diff --git a/old_docs/API_docs_v25/methods/auth.sendCode.md b/old_docs/API_docs_v25/methods/auth.sendCode.md index 9fa1a0c7..68b6ff31 100644 --- a/old_docs/API_docs_v25/methods/auth.sendCode.md +++ b/old_docs/API_docs_v25/methods/auth.sendCode.md @@ -20,7 +20,7 @@ You cannot use this method directly, use the phoneLogin method instead (see http |lang\_code|[string](../types/string.md) | You cannot use this method directly, use the phoneLogin method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_SentCode](../types/auth_SentCode.md) +### Return type: [auth.SentCode](../types/auth.SentCode.md) ### Can bots use this method: **NO** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_SentCode = $MadelineProto->auth->sendCode(['phone_number' => 'string', 'sms_type' => int, 'api_id' => int, 'api_hash' => 'string', 'lang_code' => 'string', ]); +$auth.SentCode = $MadelineProto->auth->sendCode(['phone_number' => 'string', 'sms_type' => int, 'api_id' => int, 'api_hash' => 'string', 'lang_code' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_SentCode = auth.sendCode({phone_number='string', sms_type=int, api_id=int, api_hash='string', lang_code='string', }) +auth.SentCode = auth.sendCode({phone_number='string', sms_type=int, api_id=int, api_hash='string', lang_code='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v25/methods/auth.signIn.md b/old_docs/API_docs_v25/methods/auth.signIn.md index 54812a2e..95b14f32 100644 --- a/old_docs/API_docs_v25/methods/auth.signIn.md +++ b/old_docs/API_docs_v25/methods/auth.signIn.md @@ -18,7 +18,7 @@ You cannot use this method directly, use the completePhoneLogin method instead ( |phone\_code|[string](../types/string.md) | You cannot use this method directly, use the completePhoneLogin method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->signIn(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', ]); +$auth.Authorization = $MadelineProto->auth->signIn(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.signIn({phone_number='string', phone_code_hash='string', phone_code='string', }) +auth.Authorization = auth.signIn({phone_number='string', phone_code_hash='string', phone_code='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v25/methods/auth.signUp.md b/old_docs/API_docs_v25/methods/auth.signUp.md index 2aca2bfa..fdb5d628 100644 --- a/old_docs/API_docs_v25/methods/auth.signUp.md +++ b/old_docs/API_docs_v25/methods/auth.signUp.md @@ -20,7 +20,7 @@ You cannot use this method directly, use the completeSignup method instead (see |last\_name|[string](../types/string.md) | You cannot use this method directly, use the completeSignup method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **NO** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->signUp(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', 'first_name' => 'string', 'last_name' => 'string', ]); +$auth.Authorization = $MadelineProto->auth->signUp(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', 'first_name' => 'string', 'last_name' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.signUp({phone_number='string', phone_code_hash='string', phone_code='string', first_name='string', last_name='string', }) +auth.Authorization = auth.signUp({phone_number='string', phone_code_hash='string', phone_code='string', first_name='string', last_name='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v25/methods/contacts.deleteContact.md b/old_docs/API_docs_v25/methods/contacts.deleteContact.md index a9321d64..9169e1e0 100644 --- a/old_docs/API_docs_v25/methods/contacts.deleteContact.md +++ b/old_docs/API_docs_v25/methods/contacts.deleteContact.md @@ -16,7 +16,7 @@ Delete a contact |id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | The contact to delete | Optional| -### Return type: [contacts\_Link](../types/contacts_Link.md) +### Return type: [contacts.Link](../types/contacts.Link.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Link = $MadelineProto->contacts->deleteContact(['id' => InputUser, ]); +$contacts.Link = $MadelineProto->contacts->deleteContact(['id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -contacts_Link = contacts.deleteContact({id=InputUser, }) +contacts.Link = contacts.deleteContact({id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v25/methods/contacts.getBlocked.md b/old_docs/API_docs_v25/methods/contacts.getBlocked.md index 92f2f331..6ac1c343 100644 --- a/old_docs/API_docs_v25/methods/contacts.getBlocked.md +++ b/old_docs/API_docs_v25/methods/contacts.getBlocked.md @@ -17,7 +17,7 @@ Returns the list of blocked users. |limit|[int](../types/int.md) | The number of list elements to be returned | Yes| -### Return type: [contacts\_Blocked](../types/contacts_Blocked.md) +### Return type: [contacts.Blocked](../types/contacts.Blocked.md) ### Can bots use this method: **NO** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Blocked = $MadelineProto->contacts->getBlocked(['offset' => int, 'limit' => int, ]); +$contacts.Blocked = $MadelineProto->contacts->getBlocked(['offset' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -contacts_Blocked = contacts.getBlocked({offset=int, limit=int, }) +contacts.Blocked = contacts.getBlocked({offset=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v25/methods/contacts.getContacts.md b/old_docs/API_docs_v25/methods/contacts.getContacts.md index caee7aa8..a2fcd412 100644 --- a/old_docs/API_docs_v25/methods/contacts.getContacts.md +++ b/old_docs/API_docs_v25/methods/contacts.getContacts.md @@ -16,7 +16,7 @@ Returns the current user's contact list. |hash|[string](../types/string.md) | List of contact user IDs you already cached | Yes| -### Return type: [contacts\_Contacts](../types/contacts_Contacts.md) +### Return type: [contacts.Contacts](../types/contacts.Contacts.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Contacts = $MadelineProto->contacts->getContacts(['hash' => 'string', ]); +$contacts.Contacts = $MadelineProto->contacts->getContacts(['hash' => 'string', ]); ``` Or, if you're into Lua: ```lua -contacts_Contacts = contacts.getContacts({hash='string', }) +contacts.Contacts = contacts.getContacts({hash='string', }) ``` diff --git a/old_docs/API_docs_v25/methods/contacts.getSuggested.md b/old_docs/API_docs_v25/methods/contacts.getSuggested.md index 32e96621..ede222d4 100644 --- a/old_docs/API_docs_v25/methods/contacts.getSuggested.md +++ b/old_docs/API_docs_v25/methods/contacts.getSuggested.md @@ -16,7 +16,7 @@ Get suggested contacts |limit|[int](../types/int.md) | Number of results to return | Yes| -### Return type: [contacts\_Suggested](../types/contacts_Suggested.md) +### Return type: [contacts.Suggested](../types/contacts.Suggested.md) ### Can bots use this method: **YES** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Suggested = $MadelineProto->contacts->getSuggested(['limit' => int, ]); +$contacts.Suggested = $MadelineProto->contacts->getSuggested(['limit' => int, ]); ``` Or, if you're into Lua: ```lua -contacts_Suggested = contacts.getSuggested({limit=int, }) +contacts.Suggested = contacts.getSuggested({limit=int, }) ``` diff --git a/old_docs/API_docs_v25/methods/contacts.importContacts.md b/old_docs/API_docs_v25/methods/contacts.importContacts.md index 572df9fb..975d0565 100644 --- a/old_docs/API_docs_v25/methods/contacts.importContacts.md +++ b/old_docs/API_docs_v25/methods/contacts.importContacts.md @@ -17,7 +17,7 @@ Imports contacts: saves a full list on the server, adds already registered conta |replace|[Bool](../types/Bool.md) | Replace contacts? | Yes| -### Return type: [contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) +### Return type: [contacts.ImportedContacts](../types/contacts.ImportedContacts.md) ### Can bots use this method: **NO** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_ImportedContacts = $MadelineProto->contacts->importContacts(['contacts' => [InputContact, InputContact], 'replace' => Bool, ]); +$contacts.ImportedContacts = $MadelineProto->contacts->importContacts(['contacts' => [InputContact, InputContact], 'replace' => Bool, ]); ``` Or, if you're into Lua: ```lua -contacts_ImportedContacts = contacts.importContacts({contacts={InputContact}, replace=Bool, }) +contacts.ImportedContacts = contacts.importContacts({contacts={InputContact}, replace=Bool, }) ``` diff --git a/old_docs/API_docs_v25/methods/contacts.search.md b/old_docs/API_docs_v25/methods/contacts.search.md index 2f39d6f1..ec04c7f9 100644 --- a/old_docs/API_docs_v25/methods/contacts.search.md +++ b/old_docs/API_docs_v25/methods/contacts.search.md @@ -17,7 +17,7 @@ Returns users found by username substring. |limit|[int](../types/int.md) | Maximum number of users to be returned | Yes| -### Return type: [contacts\_Found](../types/contacts_Found.md) +### Return type: [contacts.Found](../types/contacts.Found.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Found = $MadelineProto->contacts->search(['q' => 'string', 'limit' => int, ]); +$contacts.Found = $MadelineProto->contacts->search(['q' => 'string', 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -contacts_Found = contacts.search({q='string', limit=int, }) +contacts.Found = contacts.search({q='string', limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v25/methods/geochats.checkin.md b/old_docs/API_docs_v25/methods/geochats.checkin.md index 9d098c55..c10b41f6 100644 --- a/old_docs/API_docs_v25/methods/geochats.checkin.md +++ b/old_docs/API_docs_v25/methods/geochats.checkin.md @@ -16,7 +16,7 @@ Join a geochat |peer|[InputGeoChat](../types/InputGeoChat.md) | The geochat | Yes| -### Return type: [geochats\_StatedMessage](../types/geochats_StatedMessage.md) +### Return type: [geochats.StatedMessage](../types/geochats.StatedMessage.md) ### Can bots use this method: **YES** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$geochats_StatedMessage = $MadelineProto->geochats->checkin(['peer' => InputGeoChat, ]); +$geochats.StatedMessage = $MadelineProto->geochats->checkin(['peer' => InputGeoChat, ]); ``` Or, if you're into Lua: ```lua -geochats_StatedMessage = geochats.checkin({peer=InputGeoChat, }) +geochats.StatedMessage = geochats.checkin({peer=InputGeoChat, }) ``` diff --git a/old_docs/API_docs_v25/methods/geochats.createGeoChat.md b/old_docs/API_docs_v25/methods/geochats.createGeoChat.md index 98c59825..a4a93c38 100644 --- a/old_docs/API_docs_v25/methods/geochats.createGeoChat.md +++ b/old_docs/API_docs_v25/methods/geochats.createGeoChat.md @@ -19,7 +19,7 @@ Create geochat |venue|[string](../types/string.md) | Geochat venue | Yes| -### Return type: [geochats\_StatedMessage](../types/geochats_StatedMessage.md) +### Return type: [geochats.StatedMessage](../types/geochats.StatedMessage.md) ### Can bots use this method: **YES** @@ -36,12 +36,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$geochats_StatedMessage = $MadelineProto->geochats->createGeoChat(['title' => 'string', 'geo_point' => InputGeoPoint, 'address' => 'string', 'venue' => 'string', ]); +$geochats.StatedMessage = $MadelineProto->geochats->createGeoChat(['title' => 'string', 'geo_point' => InputGeoPoint, 'address' => 'string', 'venue' => 'string', ]); ``` Or, if you're into Lua: ```lua -geochats_StatedMessage = geochats.createGeoChat({title='string', geo_point=InputGeoPoint, address='string', venue='string', }) +geochats.StatedMessage = geochats.createGeoChat({title='string', geo_point=InputGeoPoint, address='string', venue='string', }) ``` diff --git a/old_docs/API_docs_v25/methods/geochats.editChatPhoto.md b/old_docs/API_docs_v25/methods/geochats.editChatPhoto.md index 9dc0bd16..d223ef82 100644 --- a/old_docs/API_docs_v25/methods/geochats.editChatPhoto.md +++ b/old_docs/API_docs_v25/methods/geochats.editChatPhoto.md @@ -17,7 +17,7 @@ Edit geochat photo |photo|[InputChatPhoto](../types/InputChatPhoto.md) | The new photo | Optional| -### Return type: [geochats\_StatedMessage](../types/geochats_StatedMessage.md) +### Return type: [geochats.StatedMessage](../types/geochats.StatedMessage.md) ### Can bots use this method: **YES** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$geochats_StatedMessage = $MadelineProto->geochats->editChatPhoto(['peer' => InputGeoChat, 'photo' => InputChatPhoto, ]); +$geochats.StatedMessage = $MadelineProto->geochats->editChatPhoto(['peer' => InputGeoChat, 'photo' => InputChatPhoto, ]); ``` Or, if you're into Lua: ```lua -geochats_StatedMessage = geochats.editChatPhoto({peer=InputGeoChat, photo=InputChatPhoto, }) +geochats.StatedMessage = geochats.editChatPhoto({peer=InputGeoChat, photo=InputChatPhoto, }) ``` diff --git a/old_docs/API_docs_v25/methods/geochats.editChatTitle.md b/old_docs/API_docs_v25/methods/geochats.editChatTitle.md index 56b64c58..b53585f8 100644 --- a/old_docs/API_docs_v25/methods/geochats.editChatTitle.md +++ b/old_docs/API_docs_v25/methods/geochats.editChatTitle.md @@ -18,7 +18,7 @@ Edit geochat title |address|[string](../types/string.md) | The new address | Yes| -### Return type: [geochats\_StatedMessage](../types/geochats_StatedMessage.md) +### Return type: [geochats.StatedMessage](../types/geochats.StatedMessage.md) ### Can bots use this method: **YES** @@ -35,12 +35,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$geochats_StatedMessage = $MadelineProto->geochats->editChatTitle(['peer' => InputGeoChat, 'title' => 'string', 'address' => 'string', ]); +$geochats.StatedMessage = $MadelineProto->geochats->editChatTitle(['peer' => InputGeoChat, 'title' => 'string', 'address' => 'string', ]); ``` Or, if you're into Lua: ```lua -geochats_StatedMessage = geochats.editChatTitle({peer=InputGeoChat, title='string', address='string', }) +geochats.StatedMessage = geochats.editChatTitle({peer=InputGeoChat, title='string', address='string', }) ``` diff --git a/old_docs/API_docs_v25/methods/geochats.getFullChat.md b/old_docs/API_docs_v25/methods/geochats.getFullChat.md index 96747d42..54d48fd5 100644 --- a/old_docs/API_docs_v25/methods/geochats.getFullChat.md +++ b/old_docs/API_docs_v25/methods/geochats.getFullChat.md @@ -16,7 +16,7 @@ Get full info about a geochat |peer|[InputGeoChat](../types/InputGeoChat.md) | The geochat | Yes| -### Return type: [messages\_ChatFull](../types/messages_ChatFull.md) +### Return type: [messages.ChatFull](../types/messages.ChatFull.md) ### Can bots use this method: **YES** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_ChatFull = $MadelineProto->geochats->getFullChat(['peer' => InputGeoChat, ]); +$messages.ChatFull = $MadelineProto->geochats->getFullChat(['peer' => InputGeoChat, ]); ``` Or, if you're into Lua: ```lua -messages_ChatFull = geochats.getFullChat({peer=InputGeoChat, }) +messages.ChatFull = geochats.getFullChat({peer=InputGeoChat, }) ``` diff --git a/old_docs/API_docs_v25/methods/geochats.getHistory.md b/old_docs/API_docs_v25/methods/geochats.getHistory.md index 82be7706..0faf6e27 100644 --- a/old_docs/API_docs_v25/methods/geochats.getHistory.md +++ b/old_docs/API_docs_v25/methods/geochats.getHistory.md @@ -19,7 +19,7 @@ Get geochat history |limit|[int](../types/int.md) | Number of results to return | Yes| -### Return type: [geochats\_Messages](../types/geochats_Messages.md) +### Return type: [geochats.Messages](../types/geochats.Messages.md) ### Can bots use this method: **YES** @@ -36,12 +36,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$geochats_Messages = $MadelineProto->geochats->getHistory(['peer' => InputGeoChat, 'offset' => int, 'max_id' => int, 'limit' => int, ]); +$geochats.Messages = $MadelineProto->geochats->getHistory(['peer' => InputGeoChat, 'offset' => int, 'max_id' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -geochats_Messages = geochats.getHistory({peer=InputGeoChat, offset=int, max_id=int, limit=int, }) +geochats.Messages = geochats.getHistory({peer=InputGeoChat, offset=int, max_id=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v25/methods/geochats.getLocated.md b/old_docs/API_docs_v25/methods/geochats.getLocated.md index 8dba20d9..00d70cda 100644 --- a/old_docs/API_docs_v25/methods/geochats.getLocated.md +++ b/old_docs/API_docs_v25/methods/geochats.getLocated.md @@ -18,7 +18,7 @@ Get nearby geochats |limit|[int](../types/int.md) | Number of results to return | Yes| -### Return type: [geochats\_Located](../types/geochats_Located.md) +### Return type: [geochats.Located](../types/geochats.Located.md) ### Can bots use this method: **YES** @@ -35,12 +35,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$geochats_Located = $MadelineProto->geochats->getLocated(['geo_point' => InputGeoPoint, 'radius' => int, 'limit' => int, ]); +$geochats.Located = $MadelineProto->geochats->getLocated(['geo_point' => InputGeoPoint, 'radius' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -geochats_Located = geochats.getLocated({geo_point=InputGeoPoint, radius=int, limit=int, }) +geochats.Located = geochats.getLocated({geo_point=InputGeoPoint, radius=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v25/methods/geochats.getRecents.md b/old_docs/API_docs_v25/methods/geochats.getRecents.md index 00d90ad4..a0045147 100644 --- a/old_docs/API_docs_v25/methods/geochats.getRecents.md +++ b/old_docs/API_docs_v25/methods/geochats.getRecents.md @@ -17,7 +17,7 @@ Get recent geochats |limit|[int](../types/int.md) | Number of results to return | Yes| -### Return type: [geochats\_Messages](../types/geochats_Messages.md) +### Return type: [geochats.Messages](../types/geochats.Messages.md) ### Can bots use this method: **YES** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$geochats_Messages = $MadelineProto->geochats->getRecents(['offset' => int, 'limit' => int, ]); +$geochats.Messages = $MadelineProto->geochats->getRecents(['offset' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -geochats_Messages = geochats.getRecents({offset=int, limit=int, }) +geochats.Messages = geochats.getRecents({offset=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v25/methods/geochats.search.md b/old_docs/API_docs_v25/methods/geochats.search.md index 076253e3..e586b236 100644 --- a/old_docs/API_docs_v25/methods/geochats.search.md +++ b/old_docs/API_docs_v25/methods/geochats.search.md @@ -23,7 +23,7 @@ Search messages in geocha |limit|[int](../types/int.md) | Number of results to return | Yes| -### Return type: [geochats\_Messages](../types/geochats_Messages.md) +### Return type: [geochats.Messages](../types/geochats.Messages.md) ### Can bots use this method: **YES** @@ -40,12 +40,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$geochats_Messages = $MadelineProto->geochats->search(['peer' => InputGeoChat, 'q' => 'string', 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); +$geochats.Messages = $MadelineProto->geochats->search(['peer' => InputGeoChat, 'q' => 'string', 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -geochats_Messages = geochats.search({peer=InputGeoChat, q='string', filter=MessagesFilter, min_date=int, max_date=int, offset=int, max_id=int, limit=int, }) +geochats.Messages = geochats.search({peer=InputGeoChat, q='string', filter=MessagesFilter, min_date=int, max_date=int, offset=int, max_id=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v25/methods/geochats.sendMedia.md b/old_docs/API_docs_v25/methods/geochats.sendMedia.md index 11cb1414..d8d52cd8 100644 --- a/old_docs/API_docs_v25/methods/geochats.sendMedia.md +++ b/old_docs/API_docs_v25/methods/geochats.sendMedia.md @@ -17,7 +17,7 @@ Send media to geochat |media|[MessageMedia, Update, Message or InputMedia](../types/InputMedia.md) | The media | Optional| -### Return type: [geochats\_StatedMessage](../types/geochats_StatedMessage.md) +### Return type: [geochats.StatedMessage](../types/geochats.StatedMessage.md) ### Can bots use this method: **YES** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$geochats_StatedMessage = $MadelineProto->geochats->sendMedia(['peer' => InputGeoChat, 'media' => InputMedia, ]); +$geochats.StatedMessage = $MadelineProto->geochats->sendMedia(['peer' => InputGeoChat, 'media' => InputMedia, ]); ``` Or, if you're into Lua: ```lua -geochats_StatedMessage = geochats.sendMedia({peer=InputGeoChat, media=InputMedia, }) +geochats.StatedMessage = geochats.sendMedia({peer=InputGeoChat, media=InputMedia, }) ``` diff --git a/old_docs/API_docs_v25/methods/geochats.sendMessage.md b/old_docs/API_docs_v25/methods/geochats.sendMessage.md index 8529f268..aa72d9ce 100644 --- a/old_docs/API_docs_v25/methods/geochats.sendMessage.md +++ b/old_docs/API_docs_v25/methods/geochats.sendMessage.md @@ -17,7 +17,7 @@ Send message to geochat |message|[string](../types/string.md) | The message | Yes| -### Return type: [geochats\_StatedMessage](../types/geochats_StatedMessage.md) +### Return type: [geochats.StatedMessage](../types/geochats.StatedMessage.md) ### Can bots use this method: **YES** @@ -34,18 +34,18 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$geochats_StatedMessage = $MadelineProto->geochats->sendMessage(['peer' => InputGeoChat, 'message' => 'string', ]); +$geochats.StatedMessage = $MadelineProto->geochats->sendMessage(['peer' => InputGeoChat, 'message' => 'string', ]); ``` Or, if you're into Lua: ```lua -geochats_StatedMessage = geochats.sendMessage({peer=InputGeoChat, message='string', }) +geochats.StatedMessage = geochats.sendMessage({peer=InputGeoChat, message='string', }) ``` ## Return value -If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [geochats\_StatedMessage](../types/geochats_StatedMessage.md) will be returned instead. +If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [geochats.StatedMessage](../types/geochats.StatedMessage.md) will be returned instead. diff --git a/old_docs/API_docs_v25/methods/help.getAppUpdate.md b/old_docs/API_docs_v25/methods/help.getAppUpdate.md index 0f844391..bfbed19e 100644 --- a/old_docs/API_docs_v25/methods/help.getAppUpdate.md +++ b/old_docs/API_docs_v25/methods/help.getAppUpdate.md @@ -19,7 +19,7 @@ Returns information on update availability for the current application. |lang\_code|[string](../types/string.md) | Langauge code | Yes| -### Return type: [help\_AppUpdate](../types/help_AppUpdate.md) +### Return type: [help.AppUpdate](../types/help.AppUpdate.md) ### Can bots use this method: **NO** @@ -36,12 +36,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_AppUpdate = $MadelineProto->help->getAppUpdate(['device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'lang_code' => 'string', ]); +$help.AppUpdate = $MadelineProto->help->getAppUpdate(['device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'lang_code' => 'string', ]); ``` Or, if you're into Lua: ```lua -help_AppUpdate = help.getAppUpdate({device_model='string', system_version='string', app_version='string', lang_code='string', }) +help.AppUpdate = help.getAppUpdate({device_model='string', system_version='string', app_version='string', lang_code='string', }) ``` diff --git a/old_docs/API_docs_v25/methods/help.getInviteText.md b/old_docs/API_docs_v25/methods/help.getInviteText.md index 482afbc0..f84b2e82 100644 --- a/old_docs/API_docs_v25/methods/help.getInviteText.md +++ b/old_docs/API_docs_v25/methods/help.getInviteText.md @@ -16,7 +16,7 @@ Returns text of a text message with an invitation. |lang\_code|[string](../types/string.md) | Language | Yes| -### Return type: [help\_InviteText](../types/help_InviteText.md) +### Return type: [help.InviteText](../types/help.InviteText.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_InviteText = $MadelineProto->help->getInviteText(['lang_code' => 'string', ]); +$help.InviteText = $MadelineProto->help->getInviteText(['lang_code' => 'string', ]); ``` Or, if you're into Lua: ```lua -help_InviteText = help.getInviteText({lang_code='string', }) +help.InviteText = help.getInviteText({lang_code='string', }) ``` diff --git a/old_docs/API_docs_v25/methods/help.getSupport.md b/old_docs/API_docs_v25/methods/help.getSupport.md index 7a577892..8a8df916 100644 --- a/old_docs/API_docs_v25/methods/help.getSupport.md +++ b/old_docs/API_docs_v25/methods/help.getSupport.md @@ -11,7 +11,7 @@ Returns the support user for the 'ask a question' feature. -### Return type: [help\_Support](../types/help_Support.md) +### Return type: [help.Support](../types/help.Support.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_Support = $MadelineProto->help->getSupport(); +$help.Support = $MadelineProto->help->getSupport(); ``` Or, if you're into Lua: ```lua -help_Support = help.getSupport({}) +help.Support = help.getSupport({}) ``` diff --git a/old_docs/API_docs_v25/methods/messages.addChatUser.md b/old_docs/API_docs_v25/methods/messages.addChatUser.md index 130a3cc4..618b65cc 100644 --- a/old_docs/API_docs_v25/methods/messages.addChatUser.md +++ b/old_docs/API_docs_v25/methods/messages.addChatUser.md @@ -18,7 +18,7 @@ Adds a user to a chat and sends a service message on it. |fwd\_limit|[int](../types/int.md) | Number of last messages to be forwarded | Yes| -### Return type: [messages\_StatedMessage](../types/messages_StatedMessage.md) +### Return type: [messages.StatedMessage](../types/messages.StatedMessage.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StatedMessage = $MadelineProto->messages->addChatUser(['chat_id' => InputPeer, 'user_id' => InputUser, 'fwd_limit' => int, ]); +$messages.StatedMessage = $MadelineProto->messages->addChatUser(['chat_id' => InputPeer, 'user_id' => InputUser, 'fwd_limit' => int, ]); ``` Or, if you're into Lua: ```lua -messages_StatedMessage = messages.addChatUser({chat_id=InputPeer, user_id=InputUser, fwd_limit=int, }) +messages.StatedMessage = messages.addChatUser({chat_id=InputPeer, user_id=InputUser, fwd_limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v25/methods/messages.createChat.md b/old_docs/API_docs_v25/methods/messages.createChat.md index 61c96eef..cbb907c6 100644 --- a/old_docs/API_docs_v25/methods/messages.createChat.md +++ b/old_docs/API_docs_v25/methods/messages.createChat.md @@ -17,7 +17,7 @@ Creates a new chat. |title|[string](../types/string.md) | Chat name | Yes| -### Return type: [messages\_StatedMessage](../types/messages_StatedMessage.md) +### Return type: [messages.StatedMessage](../types/messages.StatedMessage.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StatedMessage = $MadelineProto->messages->createChat(['users' => [InputUser, InputUser], 'title' => 'string', ]); +$messages.StatedMessage = $MadelineProto->messages->createChat(['users' => [InputUser, InputUser], 'title' => 'string', ]); ``` Or, if you're into Lua: ```lua -messages_StatedMessage = messages.createChat({users={InputUser}, title='string', }) +messages.StatedMessage = messages.createChat({users={InputUser}, title='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v25/methods/messages.deleteChatUser.md b/old_docs/API_docs_v25/methods/messages.deleteChatUser.md index 01bfee65..d6e4c704 100644 --- a/old_docs/API_docs_v25/methods/messages.deleteChatUser.md +++ b/old_docs/API_docs_v25/methods/messages.deleteChatUser.md @@ -17,7 +17,7 @@ Deletes a user from a chat and sends a service message on it. |user\_id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | User ID to be deleted | Optional| -### Return type: [messages\_StatedMessage](../types/messages_StatedMessage.md) +### Return type: [messages.StatedMessage](../types/messages.StatedMessage.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StatedMessage = $MadelineProto->messages->deleteChatUser(['chat_id' => InputPeer, 'user_id' => InputUser, ]); +$messages.StatedMessage = $MadelineProto->messages->deleteChatUser(['chat_id' => InputPeer, 'user_id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -messages_StatedMessage = messages.deleteChatUser({chat_id=InputPeer, user_id=InputUser, }) +messages.StatedMessage = messages.deleteChatUser({chat_id=InputPeer, user_id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v25/methods/messages.deleteHistory.md b/old_docs/API_docs_v25/methods/messages.deleteHistory.md index 974b7e3c..93badc83 100644 --- a/old_docs/API_docs_v25/methods/messages.deleteHistory.md +++ b/old_docs/API_docs_v25/methods/messages.deleteHistory.md @@ -17,7 +17,7 @@ Deletes communication history. |offset|[int](../types/int.md) | Offset | Yes| -### Return type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) +### Return type: [messages.AffectedHistory](../types/messages.AffectedHistory.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedHistory = $MadelineProto->messages->deleteHistory(['peer' => InputPeer, 'offset' => int, ]); +$messages.AffectedHistory = $MadelineProto->messages->deleteHistory(['peer' => InputPeer, 'offset' => int, ]); ``` Or, if you're into Lua: ```lua -messages_AffectedHistory = messages.deleteHistory({peer=InputPeer, offset=int, }) +messages.AffectedHistory = messages.deleteHistory({peer=InputPeer, offset=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v25/methods/messages.deleteMessages.md b/old_docs/API_docs_v25/methods/messages.deleteMessages.md index 355b2ff8..cc432cc1 100644 --- a/old_docs/API_docs_v25/methods/messages.deleteMessages.md +++ b/old_docs/API_docs_v25/methods/messages.deleteMessages.md @@ -16,7 +16,7 @@ Deletes messages by their identifiers. |id|Array of [int](../types/int.md) | IDs of messages to delete, use channels->deleteMessages for supergroups | Yes| -### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) +### Return type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedMessages = $MadelineProto->messages->deleteMessages(['id' => [int, int], ]); +$messages.AffectedMessages = $MadelineProto->messages->deleteMessages(['id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AffectedMessages = messages.deleteMessages({id={int}, }) +messages.AffectedMessages = messages.deleteMessages({id={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v25/methods/messages.editChatPhoto.md b/old_docs/API_docs_v25/methods/messages.editChatPhoto.md index 3e06e9bb..c6e62d25 100644 --- a/old_docs/API_docs_v25/methods/messages.editChatPhoto.md +++ b/old_docs/API_docs_v25/methods/messages.editChatPhoto.md @@ -17,7 +17,7 @@ Changes chat photo and sends a service message on it |photo|[InputChatPhoto](../types/InputChatPhoto.md) | Photo to be set | Optional| -### Return type: [messages\_StatedMessage](../types/messages_StatedMessage.md) +### Return type: [messages.StatedMessage](../types/messages.StatedMessage.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StatedMessage = $MadelineProto->messages->editChatPhoto(['chat_id' => InputPeer, 'photo' => InputChatPhoto, ]); +$messages.StatedMessage = $MadelineProto->messages->editChatPhoto(['chat_id' => InputPeer, 'photo' => InputChatPhoto, ]); ``` Or, if you're into Lua: ```lua -messages_StatedMessage = messages.editChatPhoto({chat_id=InputPeer, photo=InputChatPhoto, }) +messages.StatedMessage = messages.editChatPhoto({chat_id=InputPeer, photo=InputChatPhoto, }) ``` ### Errors diff --git a/old_docs/API_docs_v25/methods/messages.editChatTitle.md b/old_docs/API_docs_v25/methods/messages.editChatTitle.md index 5de33fdc..5ac5e117 100644 --- a/old_docs/API_docs_v25/methods/messages.editChatTitle.md +++ b/old_docs/API_docs_v25/methods/messages.editChatTitle.md @@ -17,7 +17,7 @@ Chanages chat name and sends a service message on it. |title|[string](../types/string.md) | New chat name, different from the old one | Yes| -### Return type: [messages\_StatedMessage](../types/messages_StatedMessage.md) +### Return type: [messages.StatedMessage](../types/messages.StatedMessage.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StatedMessage = $MadelineProto->messages->editChatTitle(['chat_id' => InputPeer, 'title' => 'string', ]); +$messages.StatedMessage = $MadelineProto->messages->editChatTitle(['chat_id' => InputPeer, 'title' => 'string', ]); ``` Or, if you're into Lua: ```lua -messages_StatedMessage = messages.editChatTitle({chat_id=InputPeer, title='string', }) +messages.StatedMessage = messages.editChatTitle({chat_id=InputPeer, title='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v25/methods/messages.forwardMessage.md b/old_docs/API_docs_v25/methods/messages.forwardMessage.md index d3324034..716d8daa 100644 --- a/old_docs/API_docs_v25/methods/messages.forwardMessage.md +++ b/old_docs/API_docs_v25/methods/messages.forwardMessage.md @@ -17,7 +17,7 @@ Forward message |id|[int](../types/int.md) | The message ID | Yes| -### Return type: [messages\_StatedMessage](../types/messages_StatedMessage.md) +### Return type: [messages.StatedMessage](../types/messages.StatedMessage.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StatedMessage = $MadelineProto->messages->forwardMessage(['peer' => InputPeer, 'id' => int, ]); +$messages.StatedMessage = $MadelineProto->messages->forwardMessage(['peer' => InputPeer, 'id' => int, ]); ``` Or, if you're into Lua: ```lua -messages_StatedMessage = messages.forwardMessage({peer=InputPeer, id=int, }) +messages.StatedMessage = messages.forwardMessage({peer=InputPeer, id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v25/methods/messages.forwardMessages.md b/old_docs/API_docs_v25/methods/messages.forwardMessages.md index 11d4a115..e4bc9022 100644 --- a/old_docs/API_docs_v25/methods/messages.forwardMessages.md +++ b/old_docs/API_docs_v25/methods/messages.forwardMessages.md @@ -17,7 +17,7 @@ Forwards messages by their IDs. |id|Array of [int](../types/int.md) | The message IDs | Yes| -### Return type: [messages\_StatedMessages](../types/messages_StatedMessages.md) +### Return type: [messages.StatedMessages](../types/messages.StatedMessages.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StatedMessages = $MadelineProto->messages->forwardMessages(['peer' => InputPeer, 'id' => [int, int], ]); +$messages.StatedMessages = $MadelineProto->messages->forwardMessages(['peer' => InputPeer, 'id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_StatedMessages = messages.forwardMessages({peer=InputPeer, id={int}, }) +messages.StatedMessages = messages.forwardMessages({peer=InputPeer, id={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v25/methods/messages.getAllStickers.md b/old_docs/API_docs_v25/methods/messages.getAllStickers.md index 3bbfd91b..bdf1bab0 100644 --- a/old_docs/API_docs_v25/methods/messages.getAllStickers.md +++ b/old_docs/API_docs_v25/methods/messages.getAllStickers.md @@ -16,7 +16,7 @@ Get all installed stickers |hash|[string](../types/string.md) | Previously fetched stickers | Yes| -### Return type: [messages\_AllStickers](../types/messages_AllStickers.md) +### Return type: [messages.AllStickers](../types/messages.AllStickers.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AllStickers = $MadelineProto->messages->getAllStickers(['hash' => 'string', ]); +$messages.AllStickers = $MadelineProto->messages->getAllStickers(['hash' => 'string', ]); ``` Or, if you're into Lua: ```lua -messages_AllStickers = messages.getAllStickers({hash='string', }) +messages.AllStickers = messages.getAllStickers({hash='string', }) ``` diff --git a/old_docs/API_docs_v25/methods/messages.getChats.md b/old_docs/API_docs_v25/methods/messages.getChats.md index c34b0488..146341f5 100644 --- a/old_docs/API_docs_v25/methods/messages.getChats.md +++ b/old_docs/API_docs_v25/methods/messages.getChats.md @@ -16,7 +16,7 @@ Returns chat basic info on their IDs. |id|Array of [int](../types/int.md) | The MTProto IDs of chats to fetch info about | Yes| -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->messages->getChats(['id' => [int, int], ]); +$messages.Chats = $MadelineProto->messages->getChats(['id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Chats = messages.getChats({id={int}, }) +messages.Chats = messages.getChats({id={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v25/methods/messages.getDhConfig.md b/old_docs/API_docs_v25/methods/messages.getDhConfig.md index 88ea4ab3..7b9da566 100644 --- a/old_docs/API_docs_v25/methods/messages.getDhConfig.md +++ b/old_docs/API_docs_v25/methods/messages.getDhConfig.md @@ -17,7 +17,7 @@ You cannot use this method directly, instead use $MadelineProto->getDhConfig(); |random\_length|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->getDhConfig(); | Yes| -### Return type: [messages\_DhConfig](../types/messages_DhConfig.md) +### Return type: [messages.DhConfig](../types/messages.DhConfig.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_DhConfig = $MadelineProto->messages->getDhConfig(['version' => int, 'random_length' => int, ]); +$messages.DhConfig = $MadelineProto->messages->getDhConfig(['version' => int, 'random_length' => int, ]); ``` Or, if you're into Lua: ```lua -messages_DhConfig = messages.getDhConfig({version=int, random_length=int, }) +messages.DhConfig = messages.getDhConfig({version=int, random_length=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v25/methods/messages.getDialogs.md b/old_docs/API_docs_v25/methods/messages.getDialogs.md index 1ea36dd0..f00e3ebc 100644 --- a/old_docs/API_docs_v25/methods/messages.getDialogs.md +++ b/old_docs/API_docs_v25/methods/messages.getDialogs.md @@ -18,7 +18,7 @@ Returns the current user dialog list. |limit|[int](../types/int.md) | Number of list elements to be returned | Yes| -### Return type: [messages\_Dialogs](../types/messages_Dialogs.md) +### Return type: [messages.Dialogs](../types/messages.Dialogs.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Dialogs = $MadelineProto->messages->getDialogs(['offset' => int, 'max_id' => int, 'limit' => int, ]); +$messages.Dialogs = $MadelineProto->messages->getDialogs(['offset' => int, 'max_id' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Dialogs = messages.getDialogs({offset=int, max_id=int, limit=int, }) +messages.Dialogs = messages.getDialogs({offset=int, max_id=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v25/methods/messages.getFullChat.md b/old_docs/API_docs_v25/methods/messages.getFullChat.md index abf23e21..de543651 100644 --- a/old_docs/API_docs_v25/methods/messages.getFullChat.md +++ b/old_docs/API_docs_v25/methods/messages.getFullChat.md @@ -16,7 +16,7 @@ You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo me |chat\_id|[Username, chat ID, Update, Message or InputPeer](../types/InputPeer.md) | You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo methods instead (see https://docs.madelineproto.xyz for more info) | Optional| -### Return type: [messages\_ChatFull](../types/messages_ChatFull.md) +### Return type: [messages.ChatFull](../types/messages.ChatFull.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_ChatFull = $MadelineProto->messages->getFullChat(['chat_id' => InputPeer, ]); +$messages.ChatFull = $MadelineProto->messages->getFullChat(['chat_id' => InputPeer, ]); ``` Or, if you're into Lua: ```lua -messages_ChatFull = messages.getFullChat({chat_id=InputPeer, }) +messages.ChatFull = messages.getFullChat({chat_id=InputPeer, }) ``` ### Errors diff --git a/old_docs/API_docs_v25/methods/messages.getHistory.md b/old_docs/API_docs_v25/methods/messages.getHistory.md index 3ff48433..cdc1ce2c 100644 --- a/old_docs/API_docs_v25/methods/messages.getHistory.md +++ b/old_docs/API_docs_v25/methods/messages.getHistory.md @@ -19,7 +19,7 @@ Gets back the conversation history with one interlocutor / within a chat |limit|[int](../types/int.md) | Number of results to return | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **NO** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->getHistory(['peer' => InputPeer, 'offset' => int, 'max_id' => int, 'limit' => int, ]); +$messages.Messages = $MadelineProto->messages->getHistory(['peer' => InputPeer, 'offset' => int, 'max_id' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.getHistory({peer=InputPeer, offset=int, max_id=int, limit=int, }) +messages.Messages = messages.getHistory({peer=InputPeer, offset=int, max_id=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v25/methods/messages.getMessages.md b/old_docs/API_docs_v25/methods/messages.getMessages.md index a3139513..c7760d7e 100644 --- a/old_docs/API_docs_v25/methods/messages.getMessages.md +++ b/old_docs/API_docs_v25/methods/messages.getMessages.md @@ -16,7 +16,7 @@ Returns the list of messages by their IDs. |id|Array of [int](../types/int.md) | The IDs of messages to fetch (only for users and normal groups) | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **YES** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->getMessages(['id' => [int, int], ]); +$messages.Messages = $MadelineProto->messages->getMessages(['id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.getMessages({id={int}, }) +messages.Messages = messages.getMessages({id={int}, }) ``` diff --git a/old_docs/API_docs_v25/methods/messages.getStickers.md b/old_docs/API_docs_v25/methods/messages.getStickers.md index aa149fc3..6fab91a5 100644 --- a/old_docs/API_docs_v25/methods/messages.getStickers.md +++ b/old_docs/API_docs_v25/methods/messages.getStickers.md @@ -17,7 +17,7 @@ Get stickers by emoji |hash|[string](../types/string.md) | Previously fetched sticker IDs | Yes| -### Return type: [messages\_Stickers](../types/messages_Stickers.md) +### Return type: [messages.Stickers](../types/messages.Stickers.md) ### Can bots use this method: **NO** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Stickers = $MadelineProto->messages->getStickers(['emoticon' => 'string', 'hash' => 'string', ]); +$messages.Stickers = $MadelineProto->messages->getStickers(['emoticon' => 'string', 'hash' => 'string', ]); ``` Or, if you're into Lua: ```lua -messages_Stickers = messages.getStickers({emoticon='string', hash='string', }) +messages.Stickers = messages.getStickers({emoticon='string', hash='string', }) ``` diff --git a/old_docs/API_docs_v25/methods/messages.readHistory.md b/old_docs/API_docs_v25/methods/messages.readHistory.md index b351bcc1..46969611 100644 --- a/old_docs/API_docs_v25/methods/messages.readHistory.md +++ b/old_docs/API_docs_v25/methods/messages.readHistory.md @@ -18,7 +18,7 @@ Marks message history as read. |offset|[int](../types/int.md) | Offset | Yes| -### Return type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) +### Return type: [messages.AffectedHistory](../types/messages.AffectedHistory.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedHistory = $MadelineProto->messages->readHistory(['peer' => InputPeer, 'max_id' => int, 'offset' => int, ]); +$messages.AffectedHistory = $MadelineProto->messages->readHistory(['peer' => InputPeer, 'max_id' => int, 'offset' => int, ]); ``` Or, if you're into Lua: ```lua -messages_AffectedHistory = messages.readHistory({peer=InputPeer, max_id=int, offset=int, }) +messages.AffectedHistory = messages.readHistory({peer=InputPeer, max_id=int, offset=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v25/methods/messages.readMessageContents.md b/old_docs/API_docs_v25/methods/messages.readMessageContents.md index c479cafe..9798e661 100644 --- a/old_docs/API_docs_v25/methods/messages.readMessageContents.md +++ b/old_docs/API_docs_v25/methods/messages.readMessageContents.md @@ -16,7 +16,7 @@ Notifies the sender about the recipient having listened a voice message or watch |id|Array of [int](../types/int.md) | The messages to mark as read (only users and normal chats, not supergroups) | Yes| -### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) +### Return type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedMessages = $MadelineProto->messages->readMessageContents(['id' => [int, int], ]); +$messages.AffectedMessages = $MadelineProto->messages->readMessageContents(['id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AffectedMessages = messages.readMessageContents({id={int}, }) +messages.AffectedMessages = messages.readMessageContents({id={int}, }) ``` diff --git a/old_docs/API_docs_v25/methods/messages.search.md b/old_docs/API_docs_v25/methods/messages.search.md index 4fda6636..7ebe6a9a 100644 --- a/old_docs/API_docs_v25/methods/messages.search.md +++ b/old_docs/API_docs_v25/methods/messages.search.md @@ -23,7 +23,7 @@ Gets back found messages |limit|[int](../types/int.md) | [Number of results to return](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **NO** @@ -40,13 +40,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->search(['peer' => InputPeer, 'q' => 'string', 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); +$messages.Messages = $MadelineProto->messages->search(['peer' => InputPeer, 'q' => 'string', 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.search({peer=InputPeer, q='string', filter=MessagesFilter, min_date=int, max_date=int, offset=int, max_id=int, limit=int, }) +messages.Messages = messages.search({peer=InputPeer, q='string', filter=MessagesFilter, min_date=int, max_date=int, offset=int, max_id=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v25/methods/messages.sendBroadcast.md b/old_docs/API_docs_v25/methods/messages.sendBroadcast.md index 1ddaec1c..591838d7 100644 --- a/old_docs/API_docs_v25/methods/messages.sendBroadcast.md +++ b/old_docs/API_docs_v25/methods/messages.sendBroadcast.md @@ -18,7 +18,7 @@ Send a message to all users in the chat list |media|[MessageMedia, Update, Message or InputMedia](../types/InputMedia.md) | The media | Optional| -### Return type: [messages\_StatedMessages](../types/messages_StatedMessages.md) +### Return type: [messages.StatedMessages](../types/messages.StatedMessages.md) ### Can bots use this method: **YES** @@ -35,18 +35,18 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StatedMessages = $MadelineProto->messages->sendBroadcast(['contacts' => [InputUser, InputUser], 'message' => 'string', 'media' => InputMedia, ]); +$messages.StatedMessages = $MadelineProto->messages->sendBroadcast(['contacts' => [InputUser, InputUser], 'message' => 'string', 'media' => InputMedia, ]); ``` Or, if you're into Lua: ```lua -messages_StatedMessages = messages.sendBroadcast({contacts={InputUser}, message='string', media=InputMedia, }) +messages.StatedMessages = messages.sendBroadcast({contacts={InputUser}, message='string', media=InputMedia, }) ``` ## Return value -If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [messages\_StatedMessages](../types/messages_StatedMessages.md) will be returned instead. +If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [messages.StatedMessages](../types/messages.StatedMessages.md) will be returned instead. diff --git a/old_docs/API_docs_v25/methods/messages.sendEncrypted.md b/old_docs/API_docs_v25/methods/messages.sendEncrypted.md index 47b5ef29..6a68b563 100644 --- a/old_docs/API_docs_v25/methods/messages.sendEncrypted.md +++ b/old_docs/API_docs_v25/methods/messages.sendEncrypted.md @@ -14,10 +14,10 @@ Sends a text message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|message|[DecryptedMessage](../types/DecryptedMessage.md) | The message to send | Yes| +|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key that was created during chat initialization | Yes| -### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ### Can bots use this method: **NO** @@ -34,21 +34,15 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncrypted(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); +$messages.SentEncryptedMessage = $MadelineProto->messages->sendEncrypted(['peer' => InputEncryptedChat, 'data' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -messages_SentEncryptedMessage = messages.sendEncrypted({peer=InputEncryptedChat, message=DecryptedMessage, }) +messages.SentEncryptedMessage = messages.sendEncrypted({peer=InputEncryptedChat, data='bytes', }) ``` - -## Return value - -If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) will be returned instead. - - ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v25/methods/messages.sendEncryptedFile.md b/old_docs/API_docs_v25/methods/messages.sendEncryptedFile.md index 4e0f7b7f..87185ba4 100644 --- a/old_docs/API_docs_v25/methods/messages.sendEncryptedFile.md +++ b/old_docs/API_docs_v25/methods/messages.sendEncryptedFile.md @@ -14,11 +14,11 @@ Sends a message with a file attachment to a secret chat | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|message|[DecryptedMessage](../types/DecryptedMessage.md) | The message with the file | Yes| +|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| |file|[File path or InputEncryptedFile](../types/InputEncryptedFile.md) | File attachment for the secret chat | Optional| -### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ### Can bots use this method: **NO** @@ -35,21 +35,15 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedFile(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, 'file' => InputEncryptedFile, ]); +$messages.SentEncryptedMessage = $MadelineProto->messages->sendEncryptedFile(['peer' => InputEncryptedChat, 'data' => 'bytes', 'file' => InputEncryptedFile, ]); ``` Or, if you're into Lua: ```lua -messages_SentEncryptedMessage = messages.sendEncryptedFile({peer=InputEncryptedChat, message=DecryptedMessage, file=InputEncryptedFile, }) +messages.SentEncryptedMessage = messages.sendEncryptedFile({peer=InputEncryptedChat, data='bytes', file=InputEncryptedFile, }) ``` - -## Return value - -If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) will be returned instead. - - ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v25/methods/messages.sendEncryptedService.md b/old_docs/API_docs_v25/methods/messages.sendEncryptedService.md index 86925ae3..38171272 100644 --- a/old_docs/API_docs_v25/methods/messages.sendEncryptedService.md +++ b/old_docs/API_docs_v25/methods/messages.sendEncryptedService.md @@ -14,10 +14,10 @@ Sends a service message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|message|[DecryptedMessage](../types/DecryptedMessage.md) | The service message | Yes| +|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| -### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ### Can bots use this method: **NO** @@ -34,21 +34,15 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedService(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); +$messages.SentEncryptedMessage = $MadelineProto->messages->sendEncryptedService(['peer' => InputEncryptedChat, 'data' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -messages_SentEncryptedMessage = messages.sendEncryptedService({peer=InputEncryptedChat, message=DecryptedMessage, }) +messages.SentEncryptedMessage = messages.sendEncryptedService({peer=InputEncryptedChat, data='bytes', }) ``` - -## Return value - -If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) will be returned instead. - - ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v25/methods/messages.sendMedia.md b/old_docs/API_docs_v25/methods/messages.sendMedia.md index 6badba3f..8588fea2 100644 --- a/old_docs/API_docs_v25/methods/messages.sendMedia.md +++ b/old_docs/API_docs_v25/methods/messages.sendMedia.md @@ -18,7 +18,7 @@ Send a media |media|[MessageMedia, Update, Message or InputMedia](../types/InputMedia.md) | Attached media | Optional| -### Return type: [messages\_StatedMessage](../types/messages_StatedMessage.md) +### Return type: [messages.StatedMessage](../types/messages.StatedMessage.md) ### Can bots use this method: **YES** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StatedMessage = $MadelineProto->messages->sendMedia(['peer' => InputPeer, 'reply_to_msg_id' => int, 'media' => InputMedia, ]); +$messages.StatedMessage = $MadelineProto->messages->sendMedia(['peer' => InputPeer, 'reply_to_msg_id' => int, 'media' => InputMedia, ]); ``` Or, if you're into Lua: ```lua -messages_StatedMessage = messages.sendMedia({peer=InputPeer, reply_to_msg_id=int, media=InputMedia, }) +messages.StatedMessage = messages.sendMedia({peer=InputPeer, reply_to_msg_id=int, media=InputMedia, }) ``` ### Errors diff --git a/old_docs/API_docs_v25/methods/messages.sendMessage.md b/old_docs/API_docs_v25/methods/messages.sendMessage.md index 72f49a6c..d4c98cf1 100644 --- a/old_docs/API_docs_v25/methods/messages.sendMessage.md +++ b/old_docs/API_docs_v25/methods/messages.sendMessage.md @@ -18,7 +18,7 @@ Sends a message to a chat |message|[string](../types/string.md) | The message | Yes| -### Return type: [messages\_SentMessage](../types/messages_SentMessage.md) +### Return type: [messages.SentMessage](../types/messages.SentMessage.md) ### Can bots use this method: **YES** @@ -35,19 +35,19 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_SentMessage = $MadelineProto->messages->sendMessage(['peer' => InputPeer, 'reply_to_msg_id' => int, 'message' => 'string', ]); +$messages.SentMessage = $MadelineProto->messages->sendMessage(['peer' => InputPeer, 'reply_to_msg_id' => int, 'message' => 'string', ]); ``` Or, if you're into Lua: ```lua -messages_SentMessage = messages.sendMessage({peer=InputPeer, reply_to_msg_id=int, message='string', }) +messages.SentMessage = messages.sendMessage({peer=InputPeer, reply_to_msg_id=int, message='string', }) ``` ## Return value -If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [messages\_SentMessage](../types/messages_SentMessage.md) will be returned instead. +If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [messages.SentMessage](../types/messages.SentMessage.md) will be returned instead. ### Errors diff --git a/old_docs/API_docs_v25/methods/photos.getUserPhotos.md b/old_docs/API_docs_v25/methods/photos.getUserPhotos.md index a08c6a43..7a803893 100644 --- a/old_docs/API_docs_v25/methods/photos.getUserPhotos.md +++ b/old_docs/API_docs_v25/methods/photos.getUserPhotos.md @@ -19,7 +19,7 @@ Returns the list of user photos. |limit|[int](../types/int.md) | Number of list elements to be returned | Yes| -### Return type: [photos\_Photos](../types/photos_Photos.md) +### Return type: [photos.Photos](../types/photos.Photos.md) ### Can bots use this method: **YES** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$photos_Photos = $MadelineProto->photos->getUserPhotos(['user_id' => InputUser, 'offset' => int, 'max_id' => int, 'limit' => int, ]); +$photos.Photos = $MadelineProto->photos->getUserPhotos(['user_id' => InputUser, 'offset' => int, 'max_id' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -photos_Photos = photos.getUserPhotos({user_id=InputUser, offset=int, max_id=int, limit=int, }) +photos.Photos = photos.getUserPhotos({user_id=InputUser, offset=int, max_id=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v25/methods/photos.uploadProfilePhoto.md b/old_docs/API_docs_v25/methods/photos.uploadProfilePhoto.md index 337dcc21..18b2b4c6 100644 --- a/old_docs/API_docs_v25/methods/photos.uploadProfilePhoto.md +++ b/old_docs/API_docs_v25/methods/photos.uploadProfilePhoto.md @@ -19,7 +19,7 @@ Updates current user profile photo. |crop|[InputPhotoCrop](../types/InputPhotoCrop.md) | Cropping info | Yes| -### Return type: [photos\_Photo](../types/photos_Photo.md) +### Return type: [photos.Photo](../types/photos.Photo.md) ### Can bots use this method: **NO** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$photos_Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, 'caption' => 'string', 'geo_point' => InputGeoPoint, 'crop' => InputPhotoCrop, ]); +$photos.Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, 'caption' => 'string', 'geo_point' => InputGeoPoint, 'crop' => InputPhotoCrop, ]); ``` Or, if you're into Lua: ```lua -photos_Photo = photos.uploadProfilePhoto({file=InputFile, caption='string', geo_point=InputGeoPoint, crop=InputPhotoCrop, }) +photos.Photo = photos.uploadProfilePhoto({file=InputFile, caption='string', geo_point=InputGeoPoint, crop=InputPhotoCrop, }) ``` ### Errors diff --git a/old_docs/API_docs_v25/methods/updates.getDifference.md b/old_docs/API_docs_v25/methods/updates.getDifference.md index 57ea6d99..061a5c8f 100644 --- a/old_docs/API_docs_v25/methods/updates.getDifference.md +++ b/old_docs/API_docs_v25/methods/updates.getDifference.md @@ -18,7 +18,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz for more |qts|[int](../types/int.md) | You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates | Yes| -### Return type: [updates\_Difference](../types/updates_Difference.md) +### Return type: [updates.Difference](../types/updates.Difference.md) ### Can bots use this method: **YES** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$updates_Difference = $MadelineProto->updates->getDifference(['pts' => int, 'date' => int, 'qts' => int, ]); +$updates.Difference = $MadelineProto->updates->getDifference(['pts' => int, 'date' => int, 'qts' => int, ]); ``` Or, if you're into Lua: ```lua -updates_Difference = updates.getDifference({pts=int, date=int, qts=int, }) +updates.Difference = updates.getDifference({pts=int, date=int, qts=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v25/methods/updates.getState.md b/old_docs/API_docs_v25/methods/updates.getState.md index c591408a..9a7d2f34 100644 --- a/old_docs/API_docs_v25/methods/updates.getState.md +++ b/old_docs/API_docs_v25/methods/updates.getState.md @@ -11,7 +11,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz for more -### Return type: [updates\_State](../types/updates_State.md) +### Return type: [updates.State](../types/updates.State.md) ### Can bots use this method: **YES** @@ -28,13 +28,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$updates_State = $MadelineProto->updates->getState(); +$updates.State = $MadelineProto->updates->getState(); ``` Or, if you're into Lua: ```lua -updates_State = updates.getState({}) +updates.State = updates.getState({}) ``` ### Errors diff --git a/old_docs/API_docs_v25/methods/upload.getFile.md b/old_docs/API_docs_v25/methods/upload.getFile.md index 8aba03d4..ab9f4fe2 100644 --- a/old_docs/API_docs_v25/methods/upload.getFile.md +++ b/old_docs/API_docs_v25/methods/upload.getFile.md @@ -18,7 +18,7 @@ You cannot use this method directly, use the upload, downloadToStream, downloadT |limit|[int](../types/int.md) | You cannot use this method directly, use the upload, downloadToStream, downloadToFile, downloadToDir methods instead; see https://docs.madelineproto.xyz for more info | Yes| -### Return type: [upload\_File](../types/upload_File.md) +### Return type: [upload.File](../types/upload.File.md) ### Can bots use this method: **YES** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$upload_File = $MadelineProto->upload->getFile(['location' => InputFileLocation, 'offset' => int, 'limit' => int, ]); +$upload.File = $MadelineProto->upload->getFile(['location' => InputFileLocation, 'offset' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -upload_File = upload.getFile({location=InputFileLocation, offset=int, limit=int, }) +upload.File = upload.getFile({location=InputFileLocation, offset=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v25/types/AccountDaysTTL.md b/old_docs/API_docs_v25/types/AccountDaysTTL.md index 12a10190..f3494aac 100644 --- a/old_docs/API_docs_v25/types/AccountDaysTTL.md +++ b/old_docs/API_docs_v25/types/AccountDaysTTL.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->account->getAccountTTL](../methods/account_getAccountTTL.md) +[$MadelineProto->account->getAccountTTL](../methods/account.getAccountTTL.md) diff --git a/old_docs/API_docs_v25/types/Config.md b/old_docs/API_docs_v25/types/Config.md index 0f7fbe70..3a23b7b7 100644 --- a/old_docs/API_docs_v25/types/Config.md +++ b/old_docs/API_docs_v25/types/Config.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->help->getConfig](../methods/help_getConfig.md) +[$MadelineProto->help->getConfig](../methods/help.getConfig.md) diff --git a/old_docs/API_docs_v25/types/ContactStatus.md b/old_docs/API_docs_v25/types/ContactStatus.md index c5f5d658..30aee6e2 100644 --- a/old_docs/API_docs_v25/types/ContactStatus.md +++ b/old_docs/API_docs_v25/types/ContactStatus.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->contacts->getStatuses](../methods/contacts_getStatuses.md) +[$MadelineProto->contacts->getStatuses](../methods/contacts.getStatuses.md) diff --git a/old_docs/API_docs_v25/types/EncryptedChat.md b/old_docs/API_docs_v25/types/EncryptedChat.md index fd2277f6..19cf52b0 100644 --- a/old_docs/API_docs_v25/types/EncryptedChat.md +++ b/old_docs/API_docs_v25/types/EncryptedChat.md @@ -24,9 +24,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->requestEncryption](../methods/messages_requestEncryption.md) +[$MadelineProto->messages->requestEncryption](../methods/messages.requestEncryption.md) -[$MadelineProto->messages->acceptEncryption](../methods/messages_acceptEncryption.md) +[$MadelineProto->messages->acceptEncryption](../methods/messages.acceptEncryption.md) diff --git a/old_docs/API_docs_v25/types/NearestDc.md b/old_docs/API_docs_v25/types/NearestDc.md index 31f24377..296a4dff 100644 --- a/old_docs/API_docs_v25/types/NearestDc.md +++ b/old_docs/API_docs_v25/types/NearestDc.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->help->getNearestDc](../methods/help_getNearestDc.md) +[$MadelineProto->help->getNearestDc](../methods/help.getNearestDc.md) diff --git a/old_docs/API_docs_v25/types/PeerNotifySettings.md b/old_docs/API_docs_v25/types/PeerNotifySettings.md index 769de075..3d72b7c5 100644 --- a/old_docs/API_docs_v25/types/PeerNotifySettings.md +++ b/old_docs/API_docs_v25/types/PeerNotifySettings.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->account->getNotifySettings](../methods/account_getNotifySettings.md) +[$MadelineProto->account->getNotifySettings](../methods/account.getNotifySettings.md) diff --git a/old_docs/API_docs_v25/types/README.md b/old_docs/API_docs_v25/types/README.md index 117d079b..129be8f7 100644 --- a/old_docs/API_docs_v25/types/README.md +++ b/old_docs/API_docs_v25/types/README.md @@ -161,85 +161,85 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png [X](X.md) -[account\_Password](account_Password.md) +[account.Password](account.Password.md) -[account\_PrivacyRules](account_PrivacyRules.md) +[account.PrivacyRules](account.PrivacyRules.md) -[account\_SentChangePhoneCode](account_SentChangePhoneCode.md) +[account.SentChangePhoneCode](account.SentChangePhoneCode.md) -[auth\_Authorization](auth_Authorization.md) +[auth.Authorization](auth.Authorization.md) -[auth\_CheckedPhone](auth_CheckedPhone.md) +[auth.CheckedPhone](auth.CheckedPhone.md) -[auth\_ExportedAuthorization](auth_ExportedAuthorization.md) +[auth.ExportedAuthorization](auth.ExportedAuthorization.md) -[auth\_SentCode](auth_SentCode.md) +[auth.SentCode](auth.SentCode.md) -[contacts\_Blocked](contacts_Blocked.md) +[contacts.Blocked](contacts.Blocked.md) -[contacts\_Contacts](contacts_Contacts.md) +[contacts.Contacts](contacts.Contacts.md) -[contacts\_Found](contacts_Found.md) +[contacts.Found](contacts.Found.md) -[contacts\_ImportedContacts](contacts_ImportedContacts.md) +[contacts.ImportedContacts](contacts.ImportedContacts.md) -[contacts\_Link](contacts_Link.md) +[contacts.Link](contacts.Link.md) -[contacts\_Suggested](contacts_Suggested.md) +[contacts.Suggested](contacts.Suggested.md) -[geochats\_Located](geochats_Located.md) +[geochats.Located](geochats.Located.md) -[geochats\_Messages](geochats_Messages.md) +[geochats.Messages](geochats.Messages.md) -[geochats\_StatedMessage](geochats_StatedMessage.md) +[geochats.StatedMessage](geochats.StatedMessage.md) -[help\_AppUpdate](help_AppUpdate.md) +[help.AppUpdate](help.AppUpdate.md) -[help\_InviteText](help_InviteText.md) +[help.InviteText](help.InviteText.md) -[help\_Support](help_Support.md) +[help.Support](help.Support.md) [int](int.md) [long](long.md) -[messages\_AffectedHistory](messages_AffectedHistory.md) +[messages.AffectedHistory](messages.AffectedHistory.md) -[messages\_AffectedMessages](messages_AffectedMessages.md) +[messages.AffectedMessages](messages.AffectedMessages.md) -[messages\_AllStickers](messages_AllStickers.md) +[messages.AllStickers](messages.AllStickers.md) -[messages\_ChatFull](messages_ChatFull.md) +[messages.ChatFull](messages.ChatFull.md) -[messages\_Chats](messages_Chats.md) +[messages.Chats](messages.Chats.md) -[messages\_DhConfig](messages_DhConfig.md) +[messages.DhConfig](messages.DhConfig.md) -[messages\_Dialogs](messages_Dialogs.md) +[messages.Dialogs](messages.Dialogs.md) -[messages\_Message](messages_Message.md) +[messages.Message](messages.Message.md) -[messages\_Messages](messages_Messages.md) +[messages.Messages](messages.Messages.md) -[messages\_SentEncryptedMessage](messages_SentEncryptedMessage.md) +[messages.SentEncryptedMessage](messages.SentEncryptedMessage.md) -[messages\_SentMessage](messages_SentMessage.md) +[messages.SentMessage](messages.SentMessage.md) -[messages\_StatedMessage](messages_StatedMessage.md) +[messages.StatedMessage](messages.StatedMessage.md) -[messages\_StatedMessages](messages_StatedMessages.md) +[messages.StatedMessages](messages.StatedMessages.md) -[messages\_Stickers](messages_Stickers.md) +[messages.Stickers](messages.Stickers.md) -[photos\_Photo](photos_Photo.md) +[photos.Photo](photos.Photo.md) -[photos\_Photos](photos_Photos.md) +[photos.Photos](photos.Photos.md) -[storage\_FileType](storage_FileType.md) +[storage.FileType](storage.FileType.md) -[updates\_Difference](updates_Difference.md) +[updates.Difference](updates.Difference.md) -[updates\_State](updates_State.md) +[updates.State](updates.State.md) -[upload\_File](upload_File.md) +[upload.File](upload.File.md) diff --git a/old_docs/API_docs_v25/types/User.md b/old_docs/API_docs_v25/types/User.md index 6dbfd982..e92dbbf8 100644 --- a/old_docs/API_docs_v25/types/User.md +++ b/old_docs/API_docs_v25/types/User.md @@ -50,17 +50,17 @@ A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDia ### Methods that return an object of this type (methods): -[$MadelineProto->account->updateProfile](../methods/account_updateProfile.md) +[$MadelineProto->account->updateProfile](../methods/account.updateProfile.md) -[$MadelineProto->users->getUsers](../methods/users_getUsers.md) +[$MadelineProto->users->getUsers](../methods/users.getUsers.md) -[$MadelineProto->contacts->importCard](../methods/contacts_importCard.md) +[$MadelineProto->contacts->importCard](../methods/contacts.importCard.md) -[$MadelineProto->account->updateUsername](../methods/account_updateUsername.md) +[$MadelineProto->account->updateUsername](../methods/account.updateUsername.md) -[$MadelineProto->contacts->resolveUsername](../methods/contacts_resolveUsername.md) +[$MadelineProto->contacts->resolveUsername](../methods/contacts.resolveUsername.md) -[$MadelineProto->account->changePhone](../methods/account_changePhone.md) +[$MadelineProto->account->changePhone](../methods/account.changePhone.md) diff --git a/old_docs/API_docs_v25/types/UserFull.md b/old_docs/API_docs_v25/types/UserFull.md index 79ad30bb..ac50052f 100644 --- a/old_docs/API_docs_v25/types/UserFull.md +++ b/old_docs/API_docs_v25/types/UserFull.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->users->getFullUser](../methods/users_getFullUser.md) +[$MadelineProto->users->getFullUser](../methods/users.getFullUser.md) diff --git a/old_docs/API_docs_v25/types/UserProfilePhoto.md b/old_docs/API_docs_v25/types/UserProfilePhoto.md index e5243a2e..e81e92fd 100644 --- a/old_docs/API_docs_v25/types/UserProfilePhoto.md +++ b/old_docs/API_docs_v25/types/UserProfilePhoto.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->photos->updateProfilePhoto](../methods/photos_updateProfilePhoto.md) +[$MadelineProto->photos->updateProfilePhoto](../methods/photos.updateProfilePhoto.md) diff --git a/old_docs/API_docs_v25/types/WallPaper.md b/old_docs/API_docs_v25/types/WallPaper.md index 8c5ac7cf..45337565 100644 --- a/old_docs/API_docs_v25/types/WallPaper.md +++ b/old_docs/API_docs_v25/types/WallPaper.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->account->getWallPapers](../methods/account_getWallPapers.md) +[$MadelineProto->account->getWallPapers](../methods/account.getWallPapers.md) diff --git a/old_docs/API_docs_v25/types/account.Password.md b/old_docs/API_docs_v25/types/account.Password.md new file mode 100644 index 00000000..5217ab5e --- /dev/null +++ b/old_docs/API_docs_v25/types/account.Password.md @@ -0,0 +1,24 @@ +--- +title: account.Password +description: constructors and methods of type account.Password +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.Password +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.noPassword](../constructors/account.noPassword.md) + +[account.password](../constructors/account.password.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getPassword](../methods/account.getPassword.md) + + + diff --git a/old_docs/API_docs_v25/types/account.PrivacyRules.md b/old_docs/API_docs_v25/types/account.PrivacyRules.md new file mode 100644 index 00000000..738651ad --- /dev/null +++ b/old_docs/API_docs_v25/types/account.PrivacyRules.md @@ -0,0 +1,24 @@ +--- +title: account.PrivacyRules +description: constructors and methods of type account.PrivacyRules +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.PrivacyRules +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.privacyRules](../constructors/account.privacyRules.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getPrivacy](../methods/account.getPrivacy.md) + +[$MadelineProto->account->setPrivacy](../methods/account.setPrivacy.md) + + + diff --git a/old_docs/API_docs_v25/types/account.SentChangePhoneCode.md b/old_docs/API_docs_v25/types/account.SentChangePhoneCode.md new file mode 100644 index 00000000..659b0feb --- /dev/null +++ b/old_docs/API_docs_v25/types/account.SentChangePhoneCode.md @@ -0,0 +1,22 @@ +--- +title: account.SentChangePhoneCode +description: constructors and methods of type account.SentChangePhoneCode +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.SentChangePhoneCode +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.sentChangePhoneCode](../constructors/account.sentChangePhoneCode.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->sendChangePhoneCode](../methods/account.sendChangePhoneCode.md) + + + diff --git a/old_docs/API_docs_v25/types/account_Password.md b/old_docs/API_docs_v25/types/account_Password.md deleted file mode 100644 index 23e05987..00000000 --- a/old_docs/API_docs_v25/types/account_Password.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: account_Password -description: constructors and methods of type account_Password -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_Password -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_noPassword](../constructors/account_noPassword.md) - -[account\_password](../constructors/account_password.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getPassword](../methods/account_getPassword.md) - - - diff --git a/old_docs/API_docs_v25/types/account_PrivacyRules.md b/old_docs/API_docs_v25/types/account_PrivacyRules.md deleted file mode 100644 index 40b00077..00000000 --- a/old_docs/API_docs_v25/types/account_PrivacyRules.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: account_PrivacyRules -description: constructors and methods of type account_PrivacyRules -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_PrivacyRules -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_privacyRules](../constructors/account_privacyRules.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getPrivacy](../methods/account_getPrivacy.md) - -[$MadelineProto->account->setPrivacy](../methods/account_setPrivacy.md) - - - diff --git a/old_docs/API_docs_v25/types/account_SentChangePhoneCode.md b/old_docs/API_docs_v25/types/account_SentChangePhoneCode.md deleted file mode 100644 index ead3e28c..00000000 --- a/old_docs/API_docs_v25/types/account_SentChangePhoneCode.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_SentChangePhoneCode -description: constructors and methods of type account_SentChangePhoneCode -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_SentChangePhoneCode -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_sentChangePhoneCode](../constructors/account_sentChangePhoneCode.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->sendChangePhoneCode](../methods/account_sendChangePhoneCode.md) - - - diff --git a/old_docs/API_docs_v25/types/auth.Authorization.md b/old_docs/API_docs_v25/types/auth.Authorization.md new file mode 100644 index 00000000..ea01dafa --- /dev/null +++ b/old_docs/API_docs_v25/types/auth.Authorization.md @@ -0,0 +1,28 @@ +--- +title: auth.Authorization +description: constructors and methods of type auth.Authorization +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.Authorization +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.authorization](../constructors/auth.authorization.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->signUp](../methods/auth.signUp.md) + +[$MadelineProto->auth->signIn](../methods/auth.signIn.md) + +[$MadelineProto->auth->importAuthorization](../methods/auth.importAuthorization.md) + +[$MadelineProto->auth->checkPassword](../methods/auth.checkPassword.md) + + + diff --git a/old_docs/API_docs_v25/types/auth.CheckedPhone.md b/old_docs/API_docs_v25/types/auth.CheckedPhone.md new file mode 100644 index 00000000..94af3915 --- /dev/null +++ b/old_docs/API_docs_v25/types/auth.CheckedPhone.md @@ -0,0 +1,22 @@ +--- +title: auth.CheckedPhone +description: constructors and methods of type auth.CheckedPhone +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.CheckedPhone +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.checkedPhone](../constructors/auth.checkedPhone.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->checkPhone](../methods/auth.checkPhone.md) + + + diff --git a/old_docs/API_docs_v25/types/auth.ExportedAuthorization.md b/old_docs/API_docs_v25/types/auth.ExportedAuthorization.md new file mode 100644 index 00000000..ccb38d60 --- /dev/null +++ b/old_docs/API_docs_v25/types/auth.ExportedAuthorization.md @@ -0,0 +1,22 @@ +--- +title: auth.ExportedAuthorization +description: constructors and methods of type auth.ExportedAuthorization +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.ExportedAuthorization +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.exportedAuthorization](../constructors/auth.exportedAuthorization.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->exportAuthorization](../methods/auth.exportAuthorization.md) + + + diff --git a/old_docs/API_docs_v25/types/auth.SentCode.md b/old_docs/API_docs_v25/types/auth.SentCode.md new file mode 100644 index 00000000..9fd32a73 --- /dev/null +++ b/old_docs/API_docs_v25/types/auth.SentCode.md @@ -0,0 +1,24 @@ +--- +title: auth.SentCode +description: constructors and methods of type auth.SentCode +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.SentCode +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.sentCode](../constructors/auth.sentCode.md) + +[auth.sentAppCode](../constructors/auth.sentAppCode.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->sendCode](../methods/auth.sendCode.md) + + + diff --git a/old_docs/API_docs_v25/types/auth_Authorization.md b/old_docs/API_docs_v25/types/auth_Authorization.md deleted file mode 100644 index 0cb66230..00000000 --- a/old_docs/API_docs_v25/types/auth_Authorization.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: auth_Authorization -description: constructors and methods of type auth_Authorization -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_Authorization -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_authorization](../constructors/auth_authorization.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->signUp](../methods/auth_signUp.md) - -[$MadelineProto->auth->signIn](../methods/auth_signIn.md) - -[$MadelineProto->auth->importAuthorization](../methods/auth_importAuthorization.md) - -[$MadelineProto->auth->checkPassword](../methods/auth_checkPassword.md) - - - diff --git a/old_docs/API_docs_v25/types/auth_CheckedPhone.md b/old_docs/API_docs_v25/types/auth_CheckedPhone.md deleted file mode 100644 index e9b0def4..00000000 --- a/old_docs/API_docs_v25/types/auth_CheckedPhone.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: auth_CheckedPhone -description: constructors and methods of type auth_CheckedPhone -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_CheckedPhone -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_checkedPhone](../constructors/auth_checkedPhone.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->checkPhone](../methods/auth_checkPhone.md) - - - diff --git a/old_docs/API_docs_v25/types/auth_ExportedAuthorization.md b/old_docs/API_docs_v25/types/auth_ExportedAuthorization.md deleted file mode 100644 index 69e5c42e..00000000 --- a/old_docs/API_docs_v25/types/auth_ExportedAuthorization.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: auth_ExportedAuthorization -description: constructors and methods of type auth_ExportedAuthorization -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_ExportedAuthorization -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_exportedAuthorization](../constructors/auth_exportedAuthorization.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->exportAuthorization](../methods/auth_exportAuthorization.md) - - - diff --git a/old_docs/API_docs_v25/types/auth_SentCode.md b/old_docs/API_docs_v25/types/auth_SentCode.md deleted file mode 100644 index 85b8d351..00000000 --- a/old_docs/API_docs_v25/types/auth_SentCode.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: auth_SentCode -description: constructors and methods of type auth_SentCode -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_SentCode -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_sentCode](../constructors/auth_sentCode.md) - -[auth\_sentAppCode](../constructors/auth_sentAppCode.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->sendCode](../methods/auth_sendCode.md) - - - diff --git a/old_docs/API_docs_v25/types/contacts.Blocked.md b/old_docs/API_docs_v25/types/contacts.Blocked.md new file mode 100644 index 00000000..cb2af80f --- /dev/null +++ b/old_docs/API_docs_v25/types/contacts.Blocked.md @@ -0,0 +1,24 @@ +--- +title: contacts.Blocked +description: constructors and methods of type contacts.Blocked +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Blocked +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.blocked](../constructors/contacts.blocked.md) + +[contacts.blockedSlice](../constructors/contacts.blockedSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getBlocked](../methods/contacts.getBlocked.md) + + + diff --git a/old_docs/API_docs_v25/types/contacts.Contacts.md b/old_docs/API_docs_v25/types/contacts.Contacts.md new file mode 100644 index 00000000..5f695d8e --- /dev/null +++ b/old_docs/API_docs_v25/types/contacts.Contacts.md @@ -0,0 +1,24 @@ +--- +title: contacts.Contacts +description: constructors and methods of type contacts.Contacts +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Contacts +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.contactsNotModified](../constructors/contacts.contactsNotModified.md) + +[contacts.contacts](../constructors/contacts.contacts.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getContacts](../methods/contacts.getContacts.md) + + + diff --git a/old_docs/API_docs_v25/types/contacts.Found.md b/old_docs/API_docs_v25/types/contacts.Found.md new file mode 100644 index 00000000..7df98927 --- /dev/null +++ b/old_docs/API_docs_v25/types/contacts.Found.md @@ -0,0 +1,22 @@ +--- +title: contacts.Found +description: constructors and methods of type contacts.Found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Found +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.found](../constructors/contacts.found.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->search](../methods/contacts.search.md) + + + diff --git a/old_docs/API_docs_v25/types/contacts.ImportedContacts.md b/old_docs/API_docs_v25/types/contacts.ImportedContacts.md new file mode 100644 index 00000000..16795bab --- /dev/null +++ b/old_docs/API_docs_v25/types/contacts.ImportedContacts.md @@ -0,0 +1,22 @@ +--- +title: contacts.ImportedContacts +description: constructors and methods of type contacts.ImportedContacts +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.ImportedContacts +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.importedContacts](../constructors/contacts.importedContacts.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->importContacts](../methods/contacts.importContacts.md) + + + diff --git a/old_docs/API_docs_v25/types/contacts.Link.md b/old_docs/API_docs_v25/types/contacts.Link.md new file mode 100644 index 00000000..eb9da683 --- /dev/null +++ b/old_docs/API_docs_v25/types/contacts.Link.md @@ -0,0 +1,22 @@ +--- +title: contacts.Link +description: constructors and methods of type contacts.Link +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Link +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.link](../constructors/contacts.link.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->deleteContact](../methods/contacts.deleteContact.md) + + + diff --git a/old_docs/API_docs_v25/types/contacts.Suggested.md b/old_docs/API_docs_v25/types/contacts.Suggested.md new file mode 100644 index 00000000..a462dae5 --- /dev/null +++ b/old_docs/API_docs_v25/types/contacts.Suggested.md @@ -0,0 +1,22 @@ +--- +title: contacts.Suggested +description: constructors and methods of type contacts.Suggested +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Suggested +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.suggested](../constructors/contacts.suggested.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getSuggested](../methods/contacts.getSuggested.md) + + + diff --git a/old_docs/API_docs_v25/types/contacts_Blocked.md b/old_docs/API_docs_v25/types/contacts_Blocked.md deleted file mode 100644 index 3e1f02eb..00000000 --- a/old_docs/API_docs_v25/types/contacts_Blocked.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: contacts_Blocked -description: constructors and methods of type contacts_Blocked -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Blocked -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_blocked](../constructors/contacts_blocked.md) - -[contacts\_blockedSlice](../constructors/contacts_blockedSlice.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->getBlocked](../methods/contacts_getBlocked.md) - - - diff --git a/old_docs/API_docs_v25/types/contacts_Contacts.md b/old_docs/API_docs_v25/types/contacts_Contacts.md deleted file mode 100644 index 5d6c9506..00000000 --- a/old_docs/API_docs_v25/types/contacts_Contacts.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: contacts_Contacts -description: constructors and methods of type contacts_Contacts -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Contacts -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_contactsNotModified](../constructors/contacts_contactsNotModified.md) - -[contacts\_contacts](../constructors/contacts_contacts.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->getContacts](../methods/contacts_getContacts.md) - - - diff --git a/old_docs/API_docs_v25/types/contacts_Found.md b/old_docs/API_docs_v25/types/contacts_Found.md deleted file mode 100644 index 806101cf..00000000 --- a/old_docs/API_docs_v25/types/contacts_Found.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_Found -description: constructors and methods of type contacts_Found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Found -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_found](../constructors/contacts_found.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->search](../methods/contacts_search.md) - - - diff --git a/old_docs/API_docs_v25/types/contacts_ImportedContacts.md b/old_docs/API_docs_v25/types/contacts_ImportedContacts.md deleted file mode 100644 index faf7e615..00000000 --- a/old_docs/API_docs_v25/types/contacts_ImportedContacts.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_ImportedContacts -description: constructors and methods of type contacts_ImportedContacts -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_ImportedContacts -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_importedContacts](../constructors/contacts_importedContacts.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->importContacts](../methods/contacts_importContacts.md) - - - diff --git a/old_docs/API_docs_v25/types/contacts_Link.md b/old_docs/API_docs_v25/types/contacts_Link.md deleted file mode 100644 index 01556606..00000000 --- a/old_docs/API_docs_v25/types/contacts_Link.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_Link -description: constructors and methods of type contacts_Link -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Link -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_link](../constructors/contacts_link.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->deleteContact](../methods/contacts_deleteContact.md) - - - diff --git a/old_docs/API_docs_v25/types/contacts_Suggested.md b/old_docs/API_docs_v25/types/contacts_Suggested.md deleted file mode 100644 index dd597b3b..00000000 --- a/old_docs/API_docs_v25/types/contacts_Suggested.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_Suggested -description: constructors and methods of type contacts_Suggested -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Suggested -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_suggested](../constructors/contacts_suggested.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->getSuggested](../methods/contacts_getSuggested.md) - - - diff --git a/old_docs/API_docs_v25/types/geochats.Located.md b/old_docs/API_docs_v25/types/geochats.Located.md new file mode 100644 index 00000000..d859711a --- /dev/null +++ b/old_docs/API_docs_v25/types/geochats.Located.md @@ -0,0 +1,22 @@ +--- +title: geochats.Located +description: constructors and methods of type geochats.Located +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: geochats.Located +[Back to types index](index.md) + + + +### Possible values (constructors): + +[geochats.located](../constructors/geochats.located.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->geochats->getLocated](../methods/geochats.getLocated.md) + + + diff --git a/old_docs/API_docs_v25/types/geochats.Messages.md b/old_docs/API_docs_v25/types/geochats.Messages.md new file mode 100644 index 00000000..82d2df9a --- /dev/null +++ b/old_docs/API_docs_v25/types/geochats.Messages.md @@ -0,0 +1,28 @@ +--- +title: geochats.Messages +description: constructors and methods of type geochats.Messages +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: geochats.Messages +[Back to types index](index.md) + + + +### Possible values (constructors): + +[geochats.messages](../constructors/geochats.messages.md) + +[geochats.messagesSlice](../constructors/geochats.messagesSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->geochats->getRecents](../methods/geochats.getRecents.md) + +[$MadelineProto->geochats->search](../methods/geochats.search.md) + +[$MadelineProto->geochats->getHistory](../methods/geochats.getHistory.md) + + + diff --git a/old_docs/API_docs_v25/types/geochats.StatedMessage.md b/old_docs/API_docs_v25/types/geochats.StatedMessage.md new file mode 100644 index 00000000..cd9f4e25 --- /dev/null +++ b/old_docs/API_docs_v25/types/geochats.StatedMessage.md @@ -0,0 +1,32 @@ +--- +title: geochats.StatedMessage +description: constructors and methods of type geochats.StatedMessage +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: geochats.StatedMessage +[Back to types index](index.md) + + + +### Possible values (constructors): + +[geochats.statedMessage](../constructors/geochats.statedMessage.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->geochats->checkin](../methods/geochats.checkin.md) + +[$MadelineProto->geochats->editChatTitle](../methods/geochats.editChatTitle.md) + +[$MadelineProto->geochats->editChatPhoto](../methods/geochats.editChatPhoto.md) + +[$MadelineProto->geochats->sendMessage](../methods/geochats.sendMessage.md) + +[$MadelineProto->geochats->sendMedia](../methods/geochats.sendMedia.md) + +[$MadelineProto->geochats->createGeoChat](../methods/geochats.createGeoChat.md) + + + diff --git a/old_docs/API_docs_v25/types/geochats_Located.md b/old_docs/API_docs_v25/types/geochats_Located.md deleted file mode 100644 index 68c2360e..00000000 --- a/old_docs/API_docs_v25/types/geochats_Located.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: geochats_Located -description: constructors and methods of type geochats_Located -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: geochats\_Located -[Back to types index](index.md) - - - -### Possible values (constructors): - -[geochats\_located](../constructors/geochats_located.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->geochats->getLocated](../methods/geochats_getLocated.md) - - - diff --git a/old_docs/API_docs_v25/types/geochats_Messages.md b/old_docs/API_docs_v25/types/geochats_Messages.md deleted file mode 100644 index f71ffa88..00000000 --- a/old_docs/API_docs_v25/types/geochats_Messages.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: geochats_Messages -description: constructors and methods of type geochats_Messages -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: geochats\_Messages -[Back to types index](index.md) - - - -### Possible values (constructors): - -[geochats\_messages](../constructors/geochats_messages.md) - -[geochats\_messagesSlice](../constructors/geochats_messagesSlice.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->geochats->getRecents](../methods/geochats_getRecents.md) - -[$MadelineProto->geochats->search](../methods/geochats_search.md) - -[$MadelineProto->geochats->getHistory](../methods/geochats_getHistory.md) - - - diff --git a/old_docs/API_docs_v25/types/geochats_StatedMessage.md b/old_docs/API_docs_v25/types/geochats_StatedMessage.md deleted file mode 100644 index 18a86c75..00000000 --- a/old_docs/API_docs_v25/types/geochats_StatedMessage.md +++ /dev/null @@ -1,32 +0,0 @@ ---- -title: geochats_StatedMessage -description: constructors and methods of type geochats_StatedMessage -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: geochats\_StatedMessage -[Back to types index](index.md) - - - -### Possible values (constructors): - -[geochats\_statedMessage](../constructors/geochats_statedMessage.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->geochats->checkin](../methods/geochats_checkin.md) - -[$MadelineProto->geochats->editChatTitle](../methods/geochats_editChatTitle.md) - -[$MadelineProto->geochats->editChatPhoto](../methods/geochats_editChatPhoto.md) - -[$MadelineProto->geochats->sendMessage](../methods/geochats_sendMessage.md) - -[$MadelineProto->geochats->sendMedia](../methods/geochats_sendMedia.md) - -[$MadelineProto->geochats->createGeoChat](../methods/geochats_createGeoChat.md) - - - diff --git a/old_docs/API_docs_v25/types/help.AppUpdate.md b/old_docs/API_docs_v25/types/help.AppUpdate.md new file mode 100644 index 00000000..285ec2b7 --- /dev/null +++ b/old_docs/API_docs_v25/types/help.AppUpdate.md @@ -0,0 +1,24 @@ +--- +title: help.AppUpdate +description: constructors and methods of type help.AppUpdate +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.AppUpdate +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.appUpdate](../constructors/help.appUpdate.md) + +[help.noAppUpdate](../constructors/help.noAppUpdate.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getAppUpdate](../methods/help.getAppUpdate.md) + + + diff --git a/old_docs/API_docs_v25/types/help.InviteText.md b/old_docs/API_docs_v25/types/help.InviteText.md new file mode 100644 index 00000000..43293f46 --- /dev/null +++ b/old_docs/API_docs_v25/types/help.InviteText.md @@ -0,0 +1,22 @@ +--- +title: help.InviteText +description: constructors and methods of type help.InviteText +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.InviteText +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.inviteText](../constructors/help.inviteText.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getInviteText](../methods/help.getInviteText.md) + + + diff --git a/old_docs/API_docs_v25/types/help.Support.md b/old_docs/API_docs_v25/types/help.Support.md new file mode 100644 index 00000000..42c20483 --- /dev/null +++ b/old_docs/API_docs_v25/types/help.Support.md @@ -0,0 +1,22 @@ +--- +title: help.Support +description: constructors and methods of type help.Support +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.Support +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.support](../constructors/help.support.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getSupport](../methods/help.getSupport.md) + + + diff --git a/old_docs/API_docs_v25/types/help_AppUpdate.md b/old_docs/API_docs_v25/types/help_AppUpdate.md deleted file mode 100644 index 1f296a70..00000000 --- a/old_docs/API_docs_v25/types/help_AppUpdate.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: help_AppUpdate -description: constructors and methods of type help_AppUpdate -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_AppUpdate -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_appUpdate](../constructors/help_appUpdate.md) - -[help\_noAppUpdate](../constructors/help_noAppUpdate.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getAppUpdate](../methods/help_getAppUpdate.md) - - - diff --git a/old_docs/API_docs_v25/types/help_InviteText.md b/old_docs/API_docs_v25/types/help_InviteText.md deleted file mode 100644 index 018d35bf..00000000 --- a/old_docs/API_docs_v25/types/help_InviteText.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: help_InviteText -description: constructors and methods of type help_InviteText -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_InviteText -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_inviteText](../constructors/help_inviteText.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getInviteText](../methods/help_getInviteText.md) - - - diff --git a/old_docs/API_docs_v25/types/help_Support.md b/old_docs/API_docs_v25/types/help_Support.md deleted file mode 100644 index 26de447b..00000000 --- a/old_docs/API_docs_v25/types/help_Support.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: help_Support -description: constructors and methods of type help_Support -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_Support -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_support](../constructors/help_support.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getSupport](../methods/help_getSupport.md) - - - diff --git a/old_docs/API_docs_v25/types/messages.AffectedHistory.md b/old_docs/API_docs_v25/types/messages.AffectedHistory.md new file mode 100644 index 00000000..f6746759 --- /dev/null +++ b/old_docs/API_docs_v25/types/messages.AffectedHistory.md @@ -0,0 +1,24 @@ +--- +title: messages.AffectedHistory +description: constructors and methods of type messages.AffectedHistory +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.AffectedHistory +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.affectedHistory](../constructors/messages.affectedHistory.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->readHistory](../methods/messages.readHistory.md) + +[$MadelineProto->messages->deleteHistory](../methods/messages.deleteHistory.md) + + + diff --git a/old_docs/API_docs_v25/types/messages.AffectedMessages.md b/old_docs/API_docs_v25/types/messages.AffectedMessages.md new file mode 100644 index 00000000..af8b7745 --- /dev/null +++ b/old_docs/API_docs_v25/types/messages.AffectedMessages.md @@ -0,0 +1,24 @@ +--- +title: messages.AffectedMessages +description: constructors and methods of type messages.AffectedMessages +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.AffectedMessages +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.affectedMessages](../constructors/messages.affectedMessages.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->deleteMessages](../methods/messages.deleteMessages.md) + +[$MadelineProto->messages->readMessageContents](../methods/messages.readMessageContents.md) + + + diff --git a/old_docs/API_docs_v25/types/messages.AllStickers.md b/old_docs/API_docs_v25/types/messages.AllStickers.md new file mode 100644 index 00000000..5ece92c0 --- /dev/null +++ b/old_docs/API_docs_v25/types/messages.AllStickers.md @@ -0,0 +1,24 @@ +--- +title: messages.AllStickers +description: constructors and methods of type messages.AllStickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.AllStickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.allStickersNotModified](../constructors/messages.allStickersNotModified.md) + +[messages.allStickers](../constructors/messages.allStickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getAllStickers](../methods/messages.getAllStickers.md) + + + diff --git a/old_docs/API_docs_v25/types/messages.ChatFull.md b/old_docs/API_docs_v25/types/messages.ChatFull.md new file mode 100644 index 00000000..c6c8bf3b --- /dev/null +++ b/old_docs/API_docs_v25/types/messages.ChatFull.md @@ -0,0 +1,24 @@ +--- +title: messages.ChatFull +description: constructors and methods of type messages.ChatFull +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.ChatFull +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.chatFull](../constructors/messages.chatFull.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getFullChat](../methods/messages.getFullChat.md) + +[$MadelineProto->geochats->getFullChat](../methods/geochats.getFullChat.md) + + + diff --git a/old_docs/API_docs_v25/types/messages.Chats.md b/old_docs/API_docs_v25/types/messages.Chats.md new file mode 100644 index 00000000..6052dc4f --- /dev/null +++ b/old_docs/API_docs_v25/types/messages.Chats.md @@ -0,0 +1,22 @@ +--- +title: messages.Chats +description: constructors and methods of type messages.Chats +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Chats +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.chats](../constructors/messages.chats.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getChats](../methods/messages.getChats.md) + + + diff --git a/old_docs/API_docs_v25/types/messages.DhConfig.md b/old_docs/API_docs_v25/types/messages.DhConfig.md new file mode 100644 index 00000000..77188ab7 --- /dev/null +++ b/old_docs/API_docs_v25/types/messages.DhConfig.md @@ -0,0 +1,24 @@ +--- +title: messages.DhConfig +description: constructors and methods of type messages.DhConfig +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.DhConfig +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.dhConfigNotModified](../constructors/messages.dhConfigNotModified.md) + +[messages.dhConfig](../constructors/messages.dhConfig.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getDhConfig](../methods/messages.getDhConfig.md) + + + diff --git a/old_docs/API_docs_v25/types/messages.Dialogs.md b/old_docs/API_docs_v25/types/messages.Dialogs.md new file mode 100644 index 00000000..1a57d535 --- /dev/null +++ b/old_docs/API_docs_v25/types/messages.Dialogs.md @@ -0,0 +1,24 @@ +--- +title: messages.Dialogs +description: constructors and methods of type messages.Dialogs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Dialogs +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.dialogs](../constructors/messages.dialogs.md) + +[messages.dialogsSlice](../constructors/messages.dialogsSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getDialogs](../methods/messages.getDialogs.md) + + + diff --git a/old_docs/API_docs_v25/types/messages.Message.md b/old_docs/API_docs_v25/types/messages.Message.md new file mode 100644 index 00000000..71f951cc --- /dev/null +++ b/old_docs/API_docs_v25/types/messages.Message.md @@ -0,0 +1,20 @@ +--- +title: messages.Message +description: constructors and methods of type messages.Message +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Message +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.messageEmpty](../constructors/messages.messageEmpty.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v25/types/messages.Messages.md b/old_docs/API_docs_v25/types/messages.Messages.md new file mode 100644 index 00000000..6de49a3a --- /dev/null +++ b/old_docs/API_docs_v25/types/messages.Messages.md @@ -0,0 +1,28 @@ +--- +title: messages.Messages +description: constructors and methods of type messages.Messages +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Messages +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.messages](../constructors/messages.messages.md) + +[messages.messagesSlice](../constructors/messages.messagesSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getMessages](../methods/messages.getMessages.md) + +[$MadelineProto->messages->getHistory](../methods/messages.getHistory.md) + +[$MadelineProto->messages->search](../methods/messages.search.md) + + + diff --git a/old_docs/API_docs_v25/types/messages.SentEncryptedMessage.md b/old_docs/API_docs_v25/types/messages.SentEncryptedMessage.md new file mode 100644 index 00000000..b6d05b1f --- /dev/null +++ b/old_docs/API_docs_v25/types/messages.SentEncryptedMessage.md @@ -0,0 +1,28 @@ +--- +title: messages.SentEncryptedMessage +description: constructors and methods of type messages.SentEncryptedMessage +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.SentEncryptedMessage +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.sentEncryptedMessage](../constructors/messages.sentEncryptedMessage.md) + +[messages.sentEncryptedFile](../constructors/messages.sentEncryptedFile.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->sendEncrypted](../methods/messages.sendEncrypted.md) + +[$MadelineProto->messages->sendEncryptedFile](../methods/messages.sendEncryptedFile.md) + +[$MadelineProto->messages->sendEncryptedService](../methods/messages.sendEncryptedService.md) + + + diff --git a/old_docs/API_docs_v25/types/messages.SentMessage.md b/old_docs/API_docs_v25/types/messages.SentMessage.md new file mode 100644 index 00000000..519818b0 --- /dev/null +++ b/old_docs/API_docs_v25/types/messages.SentMessage.md @@ -0,0 +1,24 @@ +--- +title: messages.SentMessage +description: constructors and methods of type messages.SentMessage +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.SentMessage +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.sentMessage](../constructors/messages.sentMessage.md) + +[messages.sentMessageLink](../constructors/messages.sentMessageLink.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->sendMessage](../methods/messages.sendMessage.md) + + + diff --git a/old_docs/API_docs_v25/types/messages.StatedMessage.md b/old_docs/API_docs_v25/types/messages.StatedMessage.md new file mode 100644 index 00000000..8763d39b --- /dev/null +++ b/old_docs/API_docs_v25/types/messages.StatedMessage.md @@ -0,0 +1,36 @@ +--- +title: messages.StatedMessage +description: constructors and methods of type messages.StatedMessage +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.StatedMessage +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.statedMessage](../constructors/messages.statedMessage.md) + +[messages.statedMessageLink](../constructors/messages.statedMessageLink.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->sendMedia](../methods/messages.sendMedia.md) + +[$MadelineProto->messages->editChatTitle](../methods/messages.editChatTitle.md) + +[$MadelineProto->messages->editChatPhoto](../methods/messages.editChatPhoto.md) + +[$MadelineProto->messages->addChatUser](../methods/messages.addChatUser.md) + +[$MadelineProto->messages->deleteChatUser](../methods/messages.deleteChatUser.md) + +[$MadelineProto->messages->createChat](../methods/messages.createChat.md) + +[$MadelineProto->messages->forwardMessage](../methods/messages.forwardMessage.md) + + + diff --git a/old_docs/API_docs_v25/types/messages.StatedMessages.md b/old_docs/API_docs_v25/types/messages.StatedMessages.md new file mode 100644 index 00000000..ed9fa330 --- /dev/null +++ b/old_docs/API_docs_v25/types/messages.StatedMessages.md @@ -0,0 +1,26 @@ +--- +title: messages.StatedMessages +description: constructors and methods of type messages.StatedMessages +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.StatedMessages +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.statedMessages](../constructors/messages.statedMessages.md) + +[messages.statedMessagesLinks](../constructors/messages.statedMessagesLinks.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->forwardMessages](../methods/messages.forwardMessages.md) + +[$MadelineProto->messages->sendBroadcast](../methods/messages.sendBroadcast.md) + + + diff --git a/old_docs/API_docs_v25/types/messages.Stickers.md b/old_docs/API_docs_v25/types/messages.Stickers.md new file mode 100644 index 00000000..43bddf06 --- /dev/null +++ b/old_docs/API_docs_v25/types/messages.Stickers.md @@ -0,0 +1,24 @@ +--- +title: messages.Stickers +description: constructors and methods of type messages.Stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Stickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.stickersNotModified](../constructors/messages.stickersNotModified.md) + +[messages.stickers](../constructors/messages.stickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getStickers](../methods/messages.getStickers.md) + + + diff --git a/old_docs/API_docs_v25/types/messages_AffectedHistory.md b/old_docs/API_docs_v25/types/messages_AffectedHistory.md deleted file mode 100644 index 0d1098b8..00000000 --- a/old_docs/API_docs_v25/types/messages_AffectedHistory.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_AffectedHistory -description: constructors and methods of type messages_AffectedHistory -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_AffectedHistory -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_affectedHistory](../constructors/messages_affectedHistory.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->readHistory](../methods/messages_readHistory.md) - -[$MadelineProto->messages->deleteHistory](../methods/messages_deleteHistory.md) - - - diff --git a/old_docs/API_docs_v25/types/messages_AffectedMessages.md b/old_docs/API_docs_v25/types/messages_AffectedMessages.md deleted file mode 100644 index f59c1273..00000000 --- a/old_docs/API_docs_v25/types/messages_AffectedMessages.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_AffectedMessages -description: constructors and methods of type messages_AffectedMessages -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_AffectedMessages -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_affectedMessages](../constructors/messages_affectedMessages.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->deleteMessages](../methods/messages_deleteMessages.md) - -[$MadelineProto->messages->readMessageContents](../methods/messages_readMessageContents.md) - - - diff --git a/old_docs/API_docs_v25/types/messages_AllStickers.md b/old_docs/API_docs_v25/types/messages_AllStickers.md deleted file mode 100644 index 59d19759..00000000 --- a/old_docs/API_docs_v25/types/messages_AllStickers.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_AllStickers -description: constructors and methods of type messages_AllStickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_AllStickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_allStickersNotModified](../constructors/messages_allStickersNotModified.md) - -[messages\_allStickers](../constructors/messages_allStickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getAllStickers](../methods/messages_getAllStickers.md) - - - diff --git a/old_docs/API_docs_v25/types/messages_ChatFull.md b/old_docs/API_docs_v25/types/messages_ChatFull.md deleted file mode 100644 index 05bf3847..00000000 --- a/old_docs/API_docs_v25/types/messages_ChatFull.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_ChatFull -description: constructors and methods of type messages_ChatFull -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_ChatFull -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_chatFull](../constructors/messages_chatFull.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getFullChat](../methods/messages_getFullChat.md) - -[$MadelineProto->geochats->getFullChat](../methods/geochats_getFullChat.md) - - - diff --git a/old_docs/API_docs_v25/types/messages_Chats.md b/old_docs/API_docs_v25/types/messages_Chats.md deleted file mode 100644 index 0b3113b7..00000000 --- a/old_docs/API_docs_v25/types/messages_Chats.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_Chats -description: constructors and methods of type messages_Chats -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Chats -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_chats](../constructors/messages_chats.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getChats](../methods/messages_getChats.md) - - - diff --git a/old_docs/API_docs_v25/types/messages_DhConfig.md b/old_docs/API_docs_v25/types/messages_DhConfig.md deleted file mode 100644 index ce237411..00000000 --- a/old_docs/API_docs_v25/types/messages_DhConfig.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_DhConfig -description: constructors and methods of type messages_DhConfig -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_DhConfig -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_dhConfigNotModified](../constructors/messages_dhConfigNotModified.md) - -[messages\_dhConfig](../constructors/messages_dhConfig.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getDhConfig](../methods/messages_getDhConfig.md) - - - diff --git a/old_docs/API_docs_v25/types/messages_Dialogs.md b/old_docs/API_docs_v25/types/messages_Dialogs.md deleted file mode 100644 index 733a42c5..00000000 --- a/old_docs/API_docs_v25/types/messages_Dialogs.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_Dialogs -description: constructors and methods of type messages_Dialogs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Dialogs -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_dialogs](../constructors/messages_dialogs.md) - -[messages\_dialogsSlice](../constructors/messages_dialogsSlice.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getDialogs](../methods/messages_getDialogs.md) - - - diff --git a/old_docs/API_docs_v25/types/messages_Message.md b/old_docs/API_docs_v25/types/messages_Message.md deleted file mode 100644 index 4ce0a20c..00000000 --- a/old_docs/API_docs_v25/types/messages_Message.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: messages_Message -description: constructors and methods of type messages_Message -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Message -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_messageEmpty](../constructors/messages_messageEmpty.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v25/types/messages_Messages.md b/old_docs/API_docs_v25/types/messages_Messages.md deleted file mode 100644 index e9218929..00000000 --- a/old_docs/API_docs_v25/types/messages_Messages.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: messages_Messages -description: constructors and methods of type messages_Messages -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Messages -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_messages](../constructors/messages_messages.md) - -[messages\_messagesSlice](../constructors/messages_messagesSlice.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getMessages](../methods/messages_getMessages.md) - -[$MadelineProto->messages->getHistory](../methods/messages_getHistory.md) - -[$MadelineProto->messages->search](../methods/messages_search.md) - - - diff --git a/old_docs/API_docs_v25/types/messages_SentEncryptedMessage.md b/old_docs/API_docs_v25/types/messages_SentEncryptedMessage.md deleted file mode 100644 index 9f7ab935..00000000 --- a/old_docs/API_docs_v25/types/messages_SentEncryptedMessage.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: messages_SentEncryptedMessage -description: constructors and methods of type messages_SentEncryptedMessage -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_SentEncryptedMessage -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_sentEncryptedMessage](../constructors/messages_sentEncryptedMessage.md) - -[messages\_sentEncryptedFile](../constructors/messages_sentEncryptedFile.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->sendEncrypted](../methods/messages_sendEncrypted.md) - -[$MadelineProto->messages->sendEncryptedFile](../methods/messages_sendEncryptedFile.md) - -[$MadelineProto->messages->sendEncryptedService](../methods/messages_sendEncryptedService.md) - - - diff --git a/old_docs/API_docs_v25/types/messages_SentMessage.md b/old_docs/API_docs_v25/types/messages_SentMessage.md deleted file mode 100644 index 294b515c..00000000 --- a/old_docs/API_docs_v25/types/messages_SentMessage.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_SentMessage -description: constructors and methods of type messages_SentMessage -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_SentMessage -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_sentMessage](../constructors/messages_sentMessage.md) - -[messages\_sentMessageLink](../constructors/messages_sentMessageLink.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->sendMessage](../methods/messages_sendMessage.md) - - - diff --git a/old_docs/API_docs_v25/types/messages_StatedMessage.md b/old_docs/API_docs_v25/types/messages_StatedMessage.md deleted file mode 100644 index 10be95f2..00000000 --- a/old_docs/API_docs_v25/types/messages_StatedMessage.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -title: messages_StatedMessage -description: constructors and methods of type messages_StatedMessage -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_StatedMessage -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_statedMessage](../constructors/messages_statedMessage.md) - -[messages\_statedMessageLink](../constructors/messages_statedMessageLink.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->sendMedia](../methods/messages_sendMedia.md) - -[$MadelineProto->messages->editChatTitle](../methods/messages_editChatTitle.md) - -[$MadelineProto->messages->editChatPhoto](../methods/messages_editChatPhoto.md) - -[$MadelineProto->messages->addChatUser](../methods/messages_addChatUser.md) - -[$MadelineProto->messages->deleteChatUser](../methods/messages_deleteChatUser.md) - -[$MadelineProto->messages->createChat](../methods/messages_createChat.md) - -[$MadelineProto->messages->forwardMessage](../methods/messages_forwardMessage.md) - - - diff --git a/old_docs/API_docs_v25/types/messages_StatedMessages.md b/old_docs/API_docs_v25/types/messages_StatedMessages.md deleted file mode 100644 index 95dc255d..00000000 --- a/old_docs/API_docs_v25/types/messages_StatedMessages.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: messages_StatedMessages -description: constructors and methods of type messages_StatedMessages -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_StatedMessages -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_statedMessages](../constructors/messages_statedMessages.md) - -[messages\_statedMessagesLinks](../constructors/messages_statedMessagesLinks.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->forwardMessages](../methods/messages_forwardMessages.md) - -[$MadelineProto->messages->sendBroadcast](../methods/messages_sendBroadcast.md) - - - diff --git a/old_docs/API_docs_v25/types/messages_Stickers.md b/old_docs/API_docs_v25/types/messages_Stickers.md deleted file mode 100644 index cf53f57b..00000000 --- a/old_docs/API_docs_v25/types/messages_Stickers.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_Stickers -description: constructors and methods of type messages_Stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Stickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_stickersNotModified](../constructors/messages_stickersNotModified.md) - -[messages\_stickers](../constructors/messages_stickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getStickers](../methods/messages_getStickers.md) - - - diff --git a/old_docs/API_docs_v25/types/photos.Photo.md b/old_docs/API_docs_v25/types/photos.Photo.md new file mode 100644 index 00000000..d60f203c --- /dev/null +++ b/old_docs/API_docs_v25/types/photos.Photo.md @@ -0,0 +1,22 @@ +--- +title: photos.Photo +description: constructors and methods of type photos.Photo +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: photos.Photo +[Back to types index](index.md) + + + +### Possible values (constructors): + +[photos.photo](../constructors/photos.photo.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->photos->uploadProfilePhoto](../methods/photos.uploadProfilePhoto.md) + + + diff --git a/old_docs/API_docs_v25/types/photos.Photos.md b/old_docs/API_docs_v25/types/photos.Photos.md new file mode 100644 index 00000000..fff0e296 --- /dev/null +++ b/old_docs/API_docs_v25/types/photos.Photos.md @@ -0,0 +1,24 @@ +--- +title: photos.Photos +description: constructors and methods of type photos.Photos +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: photos.Photos +[Back to types index](index.md) + + + +### Possible values (constructors): + +[photos.photos](../constructors/photos.photos.md) + +[photos.photosSlice](../constructors/photos.photosSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->photos->getUserPhotos](../methods/photos.getUserPhotos.md) + + + diff --git a/old_docs/API_docs_v25/types/photos_Photo.md b/old_docs/API_docs_v25/types/photos_Photo.md deleted file mode 100644 index d11bbdef..00000000 --- a/old_docs/API_docs_v25/types/photos_Photo.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: photos_Photo -description: constructors and methods of type photos_Photo -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: photos\_Photo -[Back to types index](index.md) - - - -### Possible values (constructors): - -[photos\_photo](../constructors/photos_photo.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->photos->uploadProfilePhoto](../methods/photos_uploadProfilePhoto.md) - - - diff --git a/old_docs/API_docs_v25/types/photos_Photos.md b/old_docs/API_docs_v25/types/photos_Photos.md deleted file mode 100644 index 9875ad70..00000000 --- a/old_docs/API_docs_v25/types/photos_Photos.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: photos_Photos -description: constructors and methods of type photos_Photos -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: photos\_Photos -[Back to types index](index.md) - - - -### Possible values (constructors): - -[photos\_photos](../constructors/photos_photos.md) - -[photos\_photosSlice](../constructors/photos_photosSlice.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->photos->getUserPhotos](../methods/photos_getUserPhotos.md) - - - diff --git a/old_docs/API_docs_v25/types/storage.FileType.md b/old_docs/API_docs_v25/types/storage.FileType.md new file mode 100644 index 00000000..73dc8a92 --- /dev/null +++ b/old_docs/API_docs_v25/types/storage.FileType.md @@ -0,0 +1,38 @@ +--- +title: storage.FileType +description: constructors and methods of type storage.FileType +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: storage.FileType +[Back to types index](index.md) + + + +### Possible values (constructors): + +[storage.fileUnknown](../constructors/storage.fileUnknown.md) + +[storage.fileJpeg](../constructors/storage.fileJpeg.md) + +[storage.fileGif](../constructors/storage.fileGif.md) + +[storage.filePng](../constructors/storage.filePng.md) + +[storage.filePdf](../constructors/storage.filePdf.md) + +[storage.fileMp3](../constructors/storage.fileMp3.md) + +[storage.fileMov](../constructors/storage.fileMov.md) + +[storage.filePartial](../constructors/storage.filePartial.md) + +[storage.fileMp4](../constructors/storage.fileMp4.md) + +[storage.fileWebp](../constructors/storage.fileWebp.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v25/types/storage_FileType.md b/old_docs/API_docs_v25/types/storage_FileType.md deleted file mode 100644 index 076c52a4..00000000 --- a/old_docs/API_docs_v25/types/storage_FileType.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: storage_FileType -description: constructors and methods of type storage_FileType -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: storage\_FileType -[Back to types index](index.md) - - - -### Possible values (constructors): - -[storage\_fileUnknown](../constructors/storage_fileUnknown.md) - -[storage\_fileJpeg](../constructors/storage_fileJpeg.md) - -[storage\_fileGif](../constructors/storage_fileGif.md) - -[storage\_filePng](../constructors/storage_filePng.md) - -[storage\_filePdf](../constructors/storage_filePdf.md) - -[storage\_fileMp3](../constructors/storage_fileMp3.md) - -[storage\_fileMov](../constructors/storage_fileMov.md) - -[storage\_filePartial](../constructors/storage_filePartial.md) - -[storage\_fileMp4](../constructors/storage_fileMp4.md) - -[storage\_fileWebp](../constructors/storage_fileWebp.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v25/types/updates.Difference.md b/old_docs/API_docs_v25/types/updates.Difference.md new file mode 100644 index 00000000..35998855 --- /dev/null +++ b/old_docs/API_docs_v25/types/updates.Difference.md @@ -0,0 +1,26 @@ +--- +title: updates.Difference +description: constructors and methods of type updates.Difference +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: updates.Difference +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updates.differenceEmpty](../constructors/updates.differenceEmpty.md) + +[updates.difference](../constructors/updates.difference.md) + +[updates.differenceSlice](../constructors/updates.differenceSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->updates->getDifference](../methods/updates.getDifference.md) + + + diff --git a/old_docs/API_docs_v25/types/updates.State.md b/old_docs/API_docs_v25/types/updates.State.md new file mode 100644 index 00000000..49bbb7fd --- /dev/null +++ b/old_docs/API_docs_v25/types/updates.State.md @@ -0,0 +1,22 @@ +--- +title: updates.State +description: constructors and methods of type updates.State +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: updates.State +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updates.state](../constructors/updates.state.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->updates->getState](../methods/updates.getState.md) + + + diff --git a/old_docs/API_docs_v25/types/updates_Difference.md b/old_docs/API_docs_v25/types/updates_Difference.md deleted file mode 100644 index 0190189b..00000000 --- a/old_docs/API_docs_v25/types/updates_Difference.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: updates_Difference -description: constructors and methods of type updates_Difference -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: updates\_Difference -[Back to types index](index.md) - - - -### Possible values (constructors): - -[updates\_differenceEmpty](../constructors/updates_differenceEmpty.md) - -[updates\_difference](../constructors/updates_difference.md) - -[updates\_differenceSlice](../constructors/updates_differenceSlice.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->updates->getDifference](../methods/updates_getDifference.md) - - - diff --git a/old_docs/API_docs_v25/types/updates_State.md b/old_docs/API_docs_v25/types/updates_State.md deleted file mode 100644 index 7a441145..00000000 --- a/old_docs/API_docs_v25/types/updates_State.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: updates_State -description: constructors and methods of type updates_State -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: updates\_State -[Back to types index](index.md) - - - -### Possible values (constructors): - -[updates\_state](../constructors/updates_state.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->updates->getState](../methods/updates_getState.md) - - - diff --git a/old_docs/API_docs_v25/types/upload.File.md b/old_docs/API_docs_v25/types/upload.File.md new file mode 100644 index 00000000..922e6c7a --- /dev/null +++ b/old_docs/API_docs_v25/types/upload.File.md @@ -0,0 +1,22 @@ +--- +title: upload.File +description: constructors and methods of type upload.File +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: upload.File +[Back to types index](index.md) + + + +### Possible values (constructors): + +[upload.file](../constructors/upload.file.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->upload->getFile](../methods/upload.getFile.md) + + + diff --git a/old_docs/API_docs_v25/types/upload_File.md b/old_docs/API_docs_v25/types/upload_File.md deleted file mode 100644 index 6e3bc38d..00000000 --- a/old_docs/API_docs_v25/types/upload_File.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: upload_File -description: constructors and methods of type upload_File -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: upload\_File -[Back to types index](index.md) - - - -### Possible values (constructors): - -[upload\_file](../constructors/upload_file.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->upload->getFile](../methods/upload_getFile.md) - - - diff --git a/old_docs/API_docs_v27/constructors/README.md b/old_docs/API_docs_v27/constructors/README.md index bef0eab1..e0fe7816 100644 --- a/old_docs/API_docs_v27/constructors/README.md +++ b/old_docs/API_docs_v27/constructors/README.md @@ -7,22 +7,28 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png [Back to API documentation index](..) *** -

[$accountDaysTTL](../constructors/accountDaysTTL.md) = \['days' => [int](../types/int.md), \]; +

[$account.authorizations](../constructors/account.authorizations.md) = \['authorizations' => \[[Authorization](../types/Authorization.md)\], \]; *** -

[$account\_authorizations](../constructors/account_authorizations.md) = \['authorizations' => \[[Authorization](../types/Authorization.md)\], \]; +

[$account.noPassword](../constructors/account.noPassword.md) = \['new_salt' => [bytes](../types/bytes.md), 'email_unconfirmed_pattern' => [string](../types/string.md), \]; -[$account\_noPassword](../constructors/account_noPassword.md) = \['new_salt' => [bytes](../types/bytes.md), 'email_unconfirmed_pattern' => [string](../types/string.md), \]; +*** +

[$account.password](../constructors/account.password.md) = \['current_salt' => [bytes](../types/bytes.md), 'new_salt' => [bytes](../types/bytes.md), 'hint' => [string](../types/string.md), 'has_recovery' => [Bool](../types/Bool.md), 'email_unconfirmed_pattern' => [string](../types/string.md), \]; -[$account\_password](../constructors/account_password.md) = \['current_salt' => [bytes](../types/bytes.md), 'new_salt' => [bytes](../types/bytes.md), 'hint' => [string](../types/string.md), 'has_recovery' => [Bool](../types/Bool.md), 'email_unconfirmed_pattern' => [string](../types/string.md), \]; +*** +

[$account.passwordInputSettings](../constructors/account.passwordInputSettings.md) = \['new_salt' => [bytes](../types/bytes.md), 'new_password_hash' => [bytes](../types/bytes.md), 'hint' => [string](../types/string.md), 'email' => [string](../types/string.md), \]; -[$account\_passwordInputSettings](../constructors/account_passwordInputSettings.md) = \['new_salt' => [bytes](../types/bytes.md), 'new_password_hash' => [bytes](../types/bytes.md), 'hint' => [string](../types/string.md), 'email' => [string](../types/string.md), \]; +*** +

[$account.passwordSettings](../constructors/account.passwordSettings.md) = \['email' => [string](../types/string.md), \]; -[$account\_passwordSettings](../constructors/account_passwordSettings.md) = \['email' => [string](../types/string.md), \]; +*** +

[$account.privacyRules](../constructors/account.privacyRules.md) = \['rules' => \[[PrivacyRule](../types/PrivacyRule.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$account\_privacyRules](../constructors/account_privacyRules.md) = \['rules' => \[[PrivacyRule](../types/PrivacyRule.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$account.sentChangePhoneCode](../constructors/account.sentChangePhoneCode.md) = \['phone_code_hash' => [string](../types/string.md), 'send_call_timeout' => [int](../types/int.md), \]; -[$account\_sentChangePhoneCode](../constructors/account_sentChangePhoneCode.md) = \['phone_code_hash' => [string](../types/string.md), 'send_call_timeout' => [int](../types/int.md), \]; +*** +

[$accountDaysTTL](../constructors/accountDaysTTL.md) = \['days' => [int](../types/int.md), \]; ***

[$audio](../constructors/audio.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'user_id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'duration' => [int](../types/int.md), 'mime_type' => [string](../types/string.md), 'size' => [int](../types/int.md), 'dc_id' => [int](../types/int.md), \]; @@ -31,17 +37,22 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$audioEmpty](../constructors/audioEmpty.md) = \['id' => [long](../types/long.md), \]; *** -

[$auth\_authorization](../constructors/auth_authorization.md) = \['expires' => [int](../types/int.md), 'user' => [User](../types/User.md), \]; +

[$auth.authorization](../constructors/auth.authorization.md) = \['expires' => [int](../types/int.md), 'user' => [User](../types/User.md), \]; -[$auth\_checkedPhone](../constructors/auth_checkedPhone.md) = \['phone_registered' => [Bool](../types/Bool.md), \]; +*** +

[$auth.checkedPhone](../constructors/auth.checkedPhone.md) = \['phone_registered' => [Bool](../types/Bool.md), \]; -[$auth\_exportedAuthorization](../constructors/auth_exportedAuthorization.md) = \['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; +*** +

[$auth.exportedAuthorization](../constructors/auth.exportedAuthorization.md) = \['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; -[$auth\_passwordRecovery](../constructors/auth_passwordRecovery.md) = \['email_pattern' => [string](../types/string.md), \]; +*** +

[$auth.passwordRecovery](../constructors/auth.passwordRecovery.md) = \['email_pattern' => [string](../types/string.md), \]; -[$auth\_sentAppCode](../constructors/auth_sentAppCode.md) = \['phone_registered' => [Bool](../types/Bool.md), 'phone_code_hash' => [string](../types/string.md), 'send_call_timeout' => [int](../types/int.md), 'is_password' => [Bool](../types/Bool.md), \]; +*** +

[$auth.sentAppCode](../constructors/auth.sentAppCode.md) = \['phone_registered' => [Bool](../types/Bool.md), 'phone_code_hash' => [string](../types/string.md), 'send_call_timeout' => [int](../types/int.md), 'is_password' => [Bool](../types/Bool.md), \]; -[$auth\_sentCode](../constructors/auth_sentCode.md) = \['phone_registered' => [Bool](../types/Bool.md), 'phone_code_hash' => [string](../types/string.md), 'send_call_timeout' => [int](../types/int.md), 'is_password' => [Bool](../types/Bool.md), \]; +*** +

[$auth.sentCode](../constructors/auth.sentCode.md) = \['phone_registered' => [Bool](../types/Bool.md), 'phone_code_hash' => [string](../types/string.md), 'send_call_timeout' => [int](../types/int.md), 'is_password' => [Bool](../types/Bool.md), \]; ***

[$authorization](../constructors/authorization.md) = \['hash' => [long](../types/long.md), 'device_model' => [string](../types/string.md), 'platform' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'api_id' => [int](../types/int.md), 'app_name' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'date_created' => [int](../types/int.md), 'date_active' => [int](../types/int.md), 'ip' => [string](../types/string.md), 'country' => [string](../types/string.md), 'region' => [string](../types/string.md), \]; @@ -113,21 +124,28 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$contactSuggested](../constructors/contactSuggested.md) = \['user_id' => [int](../types/int.md), 'mutual_contacts' => [int](../types/int.md), \]; *** -

[$contacts\_blocked](../constructors/contacts_blocked.md) = \['blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; +

[$contacts.blocked](../constructors/contacts.blocked.md) = \['blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_blockedSlice](../constructors/contacts_blockedSlice.md) = \['count' => [int](../types/int.md), 'blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.blockedSlice](../constructors/contacts.blockedSlice.md) = \['count' => [int](../types/int.md), 'blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_contacts](../constructors/contacts_contacts.md) = \['contacts' => \[[Contact](../types/Contact.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.contacts](../constructors/contacts.contacts.md) = \['contacts' => \[[Contact](../types/Contact.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_contactsNotModified](../constructors/contacts_contactsNotModified.md) = \[\]; +*** +

[$contacts.contactsNotModified](../constructors/contacts.contactsNotModified.md) = \[\]; -[$contacts\_found](../constructors/contacts_found.md) = \['results' => \[[ContactFound](../types/ContactFound.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.found](../constructors/contacts.found.md) = \['results' => \[[ContactFound](../types/ContactFound.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_importedContacts](../constructors/contacts_importedContacts.md) = \['imported' => \[[ImportedContact](../types/ImportedContact.md)\], 'retry_contacts' => \[[long](../types/long.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.importedContacts](../constructors/contacts.importedContacts.md) = \['imported' => \[[ImportedContact](../types/ImportedContact.md)\], 'retry_contacts' => \[[long](../types/long.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_link](../constructors/contacts_link.md) = \['my_link' => [ContactLink](../types/ContactLink.md), 'foreign_link' => [ContactLink](../types/ContactLink.md), 'user' => [User](../types/User.md), \]; +*** +

[$contacts.link](../constructors/contacts.link.md) = \['my_link' => [ContactLink](../types/ContactLink.md), 'foreign_link' => [ContactLink](../types/ContactLink.md), 'user' => [User](../types/User.md), \]; -[$contacts\_suggested](../constructors/contacts_suggested.md) = \['results' => \[[ContactSuggested](../types/ContactSuggested.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.suggested](../constructors/contacts.suggested.md) = \['results' => \[[ContactSuggested](../types/ContactSuggested.md)\], 'users' => \[[User](../types/User.md)\], \]; ***

[$dcOption](../constructors/dcOption.md) = \['id' => [int](../types/int.md), 'hostname' => [string](../types/string.md), 'ip_address' => [string](../types/string.md), 'port' => [int](../types/int.md), \]; @@ -217,22 +235,28 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$geoPointEmpty](../constructors/geoPointEmpty.md) = \[\]; *** -

[$geochats\_located](../constructors/geochats_located.md) = \['results' => \[[ChatLocated](../types/ChatLocated.md)\], 'messages' => \[[GeoChatMessage](../types/GeoChatMessage.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; - -[$geochats\_messages](../constructors/geochats_messages.md) = \['messages' => \[[GeoChatMessage](../types/GeoChatMessage.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; - -[$geochats\_messagesSlice](../constructors/geochats_messagesSlice.md) = \['count' => [int](../types/int.md), 'messages' => \[[GeoChatMessage](../types/GeoChatMessage.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; - -[$geochats\_statedMessage](../constructors/geochats_statedMessage.md) = \['message' => [GeoChatMessage](../types/GeoChatMessage.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'seq' => [int](../types/int.md), \]; +

[$geochats.located](../constructors/geochats.located.md) = \['results' => \[[ChatLocated](../types/ChatLocated.md)\], 'messages' => \[[GeoChatMessage](../types/GeoChatMessage.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; *** -

[$help\_appUpdate](../constructors/help_appUpdate.md) = \['id' => [int](../types/int.md), 'critical' => [Bool](../types/Bool.md), 'url' => [string](../types/string.md), 'text' => [string](../types/string.md), \]; +

[$geochats.messages](../constructors/geochats.messages.md) = \['messages' => \[[GeoChatMessage](../types/GeoChatMessage.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$help\_inviteText](../constructors/help_inviteText.md) = \['message' => [string](../types/string.md), \]; +*** +

[$geochats.messagesSlice](../constructors/geochats.messagesSlice.md) = \['count' => [int](../types/int.md), 'messages' => \[[GeoChatMessage](../types/GeoChatMessage.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$help\_noAppUpdate](../constructors/help_noAppUpdate.md) = \[\]; +*** +

[$geochats.statedMessage](../constructors/geochats.statedMessage.md) = \['message' => [GeoChatMessage](../types/GeoChatMessage.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'seq' => [int](../types/int.md), \]; -[$help\_support](../constructors/help_support.md) = \['phone_number' => [string](../types/string.md), 'user' => [User](../types/User.md), \]; +*** +

[$help.appUpdate](../constructors/help.appUpdate.md) = \['id' => [int](../types/int.md), 'critical' => [Bool](../types/Bool.md), 'url' => [string](../types/string.md), 'text' => [string](../types/string.md), \]; + +*** +

[$help.inviteText](../constructors/help.inviteText.md) = \['message' => [string](../types/string.md), \]; + +*** +

[$help.noAppUpdate](../constructors/help.noAppUpdate.md) = \[\]; + +*** +

[$help.support](../constructors/help.support.md) = \['phone_number' => [string](../types/string.md), 'user' => [User](../types/User.md), \]; ***

[$importedContact](../constructors/importedContact.md) = \['user_id' => [int](../types/int.md), 'client_id' => [long](../types/long.md), \]; @@ -523,43 +547,61 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$messageService](../constructors/messageService.md) = \['id' => [int](../types/int.md), 'from_id' => [int](../types/int.md), 'to_id' => [Peer](../types/Peer.md), 'date' => [int](../types/int.md), 'action' => [MessageAction](../types/MessageAction.md), \]; *** -

[$messages\_affectedHistory](../constructors/messages_affectedHistory.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), 'offset' => [int](../types/int.md), \]; +

[$messages.affectedHistory](../constructors/messages.affectedHistory.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), 'offset' => [int](../types/int.md), \]; -[$messages\_affectedMessages](../constructors/messages_affectedMessages.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; +*** +

[$messages.affectedMessages](../constructors/messages.affectedMessages.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; -[$messages\_allStickers](../constructors/messages_allStickers.md) = \['hash' => [string](../types/string.md), 'packs' => \[[StickerPack](../types/StickerPack.md)\], 'documents' => \[[Document](../types/Document.md)\], \]; +*** +

[$messages.allStickers](../constructors/messages.allStickers.md) = \['hash' => [string](../types/string.md), 'packs' => \[[StickerPack](../types/StickerPack.md)\], 'documents' => \[[Document](../types/Document.md)\], \]; -[$messages\_allStickersNotModified](../constructors/messages_allStickersNotModified.md) = \[\]; +*** +

[$messages.allStickersNotModified](../constructors/messages.allStickersNotModified.md) = \[\]; -[$messages\_chatFull](../constructors/messages_chatFull.md) = \['full_chat' => [ChatFull](../types/ChatFull.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.chatFull](../constructors/messages.chatFull.md) = \['full_chat' => [ChatFull](../types/ChatFull.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_chats](../constructors/messages_chats.md) = \['chats' => \[[Chat](../types/Chat.md)\], \]; +*** +

[$messages.chats](../constructors/messages.chats.md) = \['chats' => \[[Chat](../types/Chat.md)\], \]; -[$messages\_dhConfig](../constructors/messages_dhConfig.md) = \['g' => [int](../types/int.md), 'p' => [bytes](../types/bytes.md), 'version' => [int](../types/int.md), 'random' => [bytes](../types/bytes.md), \]; +*** +

[$messages.dhConfig](../constructors/messages.dhConfig.md) = \['g' => [int](../types/int.md), 'p' => [bytes](../types/bytes.md), 'version' => [int](../types/int.md), 'random' => [bytes](../types/bytes.md), \]; -[$messages\_dhConfigNotModified](../constructors/messages_dhConfigNotModified.md) = \['random' => [bytes](../types/bytes.md), \]; +*** +

[$messages.dhConfigNotModified](../constructors/messages.dhConfigNotModified.md) = \['random' => [bytes](../types/bytes.md), \]; -[$messages\_dialogs](../constructors/messages_dialogs.md) = \['dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.dialogs](../constructors/messages.dialogs.md) = \['dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_dialogsSlice](../constructors/messages_dialogsSlice.md) = \['count' => [int](../types/int.md), 'dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.dialogsSlice](../constructors/messages.dialogsSlice.md) = \['count' => [int](../types/int.md), 'dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_messageEmpty](../constructors/messages_messageEmpty.md) = \[\]; +*** +

[$messages.messageEmpty](../constructors/messages.messageEmpty.md) = \[\]; -[$messages\_messages](../constructors/messages_messages.md) = \['messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.messages](../constructors/messages.messages.md) = \['messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_messagesSlice](../constructors/messages_messagesSlice.md) = \['count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.messagesSlice](../constructors/messages.messagesSlice.md) = \['count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_sentEncryptedFile](../constructors/messages_sentEncryptedFile.md) = \['date' => [int](../types/int.md), 'file' => [EncryptedFile](../types/EncryptedFile.md), \]; +*** +

[$messages.sentEncryptedFile](../constructors/messages.sentEncryptedFile.md) = \['date' => [int](../types/int.md), 'file' => [EncryptedFile](../types/EncryptedFile.md), \]; -[$messages\_sentEncryptedMessage](../constructors/messages_sentEncryptedMessage.md) = \['date' => [int](../types/int.md), \]; +*** +

[$messages.sentEncryptedMessage](../constructors/messages.sentEncryptedMessage.md) = \['date' => [int](../types/int.md), \]; -[$messages\_sentMessage](../constructors/messages_sentMessage.md) = \['id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'media' => [MessageMedia](../types/MessageMedia.md), 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; +*** +

[$messages.sentMessage](../constructors/messages.sentMessage.md) = \['id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'media' => [MessageMedia](../types/MessageMedia.md), 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; -[$messages\_sentMessageLink](../constructors/messages_sentMessageLink.md) = \['id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'media' => [MessageMedia](../types/MessageMedia.md), 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), 'links' => \[[contacts.Link](../types/contacts.Link.md)\], 'seq' => [int](../types/int.md), \]; +*** +

[$messages.sentMessageLink](../constructors/messages.sentMessageLink.md) = \['id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'media' => [MessageMedia](../types/MessageMedia.md), 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), 'links' => \[[contacts.Link](../types/contacts.Link.md)\], 'seq' => [int](../types/int.md), \]; -[$messages\_stickers](../constructors/messages_stickers.md) = \['hash' => [string](../types/string.md), 'stickers' => \[[Document](../types/Document.md)\], \]; +*** +

[$messages.stickers](../constructors/messages.stickers.md) = \['hash' => [string](../types/string.md), 'stickers' => \[[Document](../types/Document.md)\], \]; -[$messages\_stickersNotModified](../constructors/messages_stickersNotModified.md) = \[\]; +*** +

[$messages.stickersNotModified](../constructors/messages.stickersNotModified.md) = \[\]; ***

[$nearestDc](../constructors/nearestDc.md) = \['country' => [string](../types/string.md), 'this_dc' => [int](../types/int.md), 'nearest_dc' => [int](../types/int.md), \]; @@ -613,11 +655,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$photoSizeEmpty](../constructors/photoSizeEmpty.md) = \['type' => [string](../types/string.md), \]; *** -

[$photos\_photo](../constructors/photos_photo.md) = \['photo' => [Photo](../types/Photo.md), 'users' => \[[User](../types/User.md)\], \]; +

[$photos.photo](../constructors/photos.photo.md) = \['photo' => [Photo](../types/Photo.md), 'users' => \[[User](../types/User.md)\], \]; -[$photos\_photos](../constructors/photos_photos.md) = \['photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$photos.photos](../constructors/photos.photos.md) = \['photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$photos\_photosSlice](../constructors/photos_photosSlice.md) = \['count' => [int](../types/int.md), 'photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$photos.photosSlice](../constructors/photos.photosSlice.md) = \['count' => [int](../types/int.md), 'photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; ***

[$privacyKeyStatusTimestamp](../constructors/privacyKeyStatusTimestamp.md) = \[\]; @@ -674,25 +718,34 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$stickerPack](../constructors/stickerPack.md) = \['emoticon' => [string](../types/string.md), 'documents' => \[[long](../types/long.md)\], \]; *** -

[$storage\_fileGif](../constructors/storage_fileGif.md) = \[\]; +

[$storage.fileGif](../constructors/storage.fileGif.md) = \[\]; -[$storage\_fileJpeg](../constructors/storage_fileJpeg.md) = \[\]; +*** +

[$storage.fileJpeg](../constructors/storage.fileJpeg.md) = \[\]; -[$storage\_fileMov](../constructors/storage_fileMov.md) = \[\]; +*** +

[$storage.fileMov](../constructors/storage.fileMov.md) = \[\]; -[$storage\_fileMp3](../constructors/storage_fileMp3.md) = \[\]; +*** +

[$storage.fileMp3](../constructors/storage.fileMp3.md) = \[\]; -[$storage\_fileMp4](../constructors/storage_fileMp4.md) = \[\]; +*** +

[$storage.fileMp4](../constructors/storage.fileMp4.md) = \[\]; -[$storage\_filePartial](../constructors/storage_filePartial.md) = \[\]; +*** +

[$storage.filePartial](../constructors/storage.filePartial.md) = \[\]; -[$storage\_filePdf](../constructors/storage_filePdf.md) = \[\]; +*** +

[$storage.filePdf](../constructors/storage.filePdf.md) = \[\]; -[$storage\_filePng](../constructors/storage_filePng.md) = \[\]; +*** +

[$storage.filePng](../constructors/storage.filePng.md) = \[\]; -[$storage\_fileUnknown](../constructors/storage_fileUnknown.md) = \[\]; +*** +

[$storage.fileUnknown](../constructors/storage.fileUnknown.md) = \[\]; -[$storage\_fileWebp](../constructors/storage_fileWebp.md) = \[\]; +*** +

[$storage.fileWebp](../constructors/storage.fileWebp.md) = \[\]; ***

[$updateChatParticipantAdd](../constructors/updateChatParticipantAdd.md) = \['chat_id' => [int](../types/int.md), 'user_id' => [int](../types/int.md), 'inviter_id' => [int](../types/int.md), 'version' => [int](../types/int.md), \]; @@ -793,6 +846,18 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ***

[$updates](../constructors/updates.md) = \['updates' => \[[Update](../types/Update.md)\], 'users' => \[[User](../types/User.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'date' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; +*** +

[$updates.difference](../constructors/updates.difference.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'state' => [updates.State](../types/updates.State.md), \]; + +*** +

[$updates.differenceEmpty](../constructors/updates.differenceEmpty.md) = \['date' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; + +*** +

[$updates.differenceSlice](../constructors/updates.differenceSlice.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'intermediate_state' => [updates.State](../types/updates.State.md), \]; + +*** +

[$updates.state](../constructors/updates.state.md) = \['pts' => [int](../types/int.md), 'qts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'seq' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), \]; + ***

[$updatesCombined](../constructors/updatesCombined.md) = \['updates' => \[[Update](../types/Update.md)\], 'users' => \[[User](../types/User.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'date' => [int](../types/int.md), 'seq_start' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; @@ -800,16 +865,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$updatesTooLong](../constructors/updatesTooLong.md) = \[\]; *** -

[$updates\_difference](../constructors/updates_difference.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'state' => [updates.State](../types/updates.State.md), \]; - -[$updates\_differenceEmpty](../constructors/updates_differenceEmpty.md) = \['date' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; - -[$updates\_differenceSlice](../constructors/updates_differenceSlice.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'intermediate_state' => [updates.State](../types/updates.State.md), \]; - -[$updates\_state](../constructors/updates_state.md) = \['pts' => [int](../types/int.md), 'qts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'seq' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), \]; - -*** -

[$upload\_file](../constructors/upload_file.md) = \['type' => [storage.FileType](../types/storage.FileType.md), 'mtime' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; +

[$upload.file](../constructors/upload.file.md) = \['type' => [storage.FileType](../types/storage.FileType.md), 'mtime' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; ***

[$userContact](../constructors/userContact.md) = \['id' => [int](../types/int.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), 'username' => [string](../types/string.md), 'access_hash' => [long](../types/long.md), 'phone' => [string](../types/string.md), 'photo' => [UserProfilePhoto](../types/UserProfilePhoto.md), 'status' => [UserStatus](../types/UserStatus.md), \]; diff --git a/old_docs/API_docs_v27/constructors/account.authorizations.md b/old_docs/API_docs_v27/constructors/account.authorizations.md new file mode 100644 index 00000000..53c961f0 --- /dev/null +++ b/old_docs/API_docs_v27/constructors/account.authorizations.md @@ -0,0 +1,38 @@ +--- +title: account.authorizations +description: Logged-in sessions +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.authorizations +[Back to constructors index](index.md) + + + +Logged-in sessions + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|authorizations|Array of [Authorization](../types/Authorization.md) | Yes|Authorizations| + + + +### Type: [account.Authorizations](../types/account.Authorizations.md) + + +### Example: + +```php +$account.authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization, Authorization]]; +``` + + +Or, if you're into Lua: + +```lua +account.authorizations={_='account.authorizations', authorizations={Authorization}} + +``` + + diff --git a/old_docs/API_docs_v27/constructors/account.noPassword.md b/old_docs/API_docs_v27/constructors/account.noPassword.md new file mode 100644 index 00000000..4dcdc515 --- /dev/null +++ b/old_docs/API_docs_v27/constructors/account.noPassword.md @@ -0,0 +1,39 @@ +--- +title: account.noPassword +description: No password +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.noPassword +[Back to constructors index](index.md) + + + +No password + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|new\_salt|[bytes](../types/bytes.md) | Yes|New salt| +|email\_unconfirmed\_pattern|[string](../types/string.md) | Yes|Email unconfirmed pattern| + + + +### Type: [account.Password](../types/account.Password.md) + + +### Example: + +```php +$account.noPassword = ['_' => 'account.noPassword', 'new_salt' => 'bytes', 'email_unconfirmed_pattern' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +account.noPassword={_='account.noPassword', new_salt='bytes', email_unconfirmed_pattern='string'} + +``` + + diff --git a/old_docs/API_docs_v27/constructors/account.password.md b/old_docs/API_docs_v27/constructors/account.password.md new file mode 100644 index 00000000..9e86a73a --- /dev/null +++ b/old_docs/API_docs_v27/constructors/account.password.md @@ -0,0 +1,42 @@ +--- +title: account.password +description: Configuration for two-factor authorization +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.password +[Back to constructors index](index.md) + + + +Configuration for two-factor authorization + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|current\_salt|[bytes](../types/bytes.md) | Yes|Current salt| +|new\_salt|[bytes](../types/bytes.md) | Yes|New salt| +|hint|[string](../types/string.md) | Yes|Text hint for the password| +|has\_recovery|[Bool](../types/Bool.md) | Yes|Has recovery?| +|email\_unconfirmed\_pattern|[string](../types/string.md) | Yes|A [password recovery email](https://core.telegram.org/api/srp#email-verification) with the specified [pattern](https://core.telegram.org/api/pattern) is still awaiting verification| + + + +### Type: [account.Password](../types/account.Password.md) + + +### Example: + +```php +$account.password = ['_' => 'account.password', 'current_salt' => 'bytes', 'new_salt' => 'bytes', 'hint' => 'string', 'has_recovery' => Bool, 'email_unconfirmed_pattern' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +account.password={_='account.password', current_salt='bytes', new_salt='bytes', hint='string', has_recovery=Bool, email_unconfirmed_pattern='string'} + +``` + + diff --git a/old_docs/API_docs_v27/constructors/account.passwordInputSettings.md b/old_docs/API_docs_v27/constructors/account.passwordInputSettings.md new file mode 100644 index 00000000..c440115a --- /dev/null +++ b/old_docs/API_docs_v27/constructors/account.passwordInputSettings.md @@ -0,0 +1,41 @@ +--- +title: account.passwordInputSettings +description: Settings for setting up a new password +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.passwordInputSettings +[Back to constructors index](index.md) + + + +Settings for setting up a new password + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|new\_salt|[bytes](../types/bytes.md) | Optional|`$new_salt = $MadelineProto->account->getPassword()['new_salt'].$MadelineProto->random(8);`| +|new\_password\_hash|[bytes](../types/bytes.md) | Optional|The [computed password hash](https://core.telegram.org/api/srp)| +|hint|[string](../types/string.md) | Optional|Text hint for the password| +|email|[string](../types/string.md) | Optional|Password recovery email| + + + +### Type: [account.PasswordInputSettings](../types/account.PasswordInputSettings.md) + + +### Example: + +```php +$account.passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_salt' => 'bytes', 'new_password_hash' => 'bytes', 'hint' => 'string', 'email' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +account.passwordInputSettings={_='account.passwordInputSettings', new_salt='bytes', new_password_hash='bytes', hint='string', email='string'} + +``` + + diff --git a/old_docs/API_docs_v27/constructors/account.passwordSettings.md b/old_docs/API_docs_v27/constructors/account.passwordSettings.md new file mode 100644 index 00000000..be899d34 --- /dev/null +++ b/old_docs/API_docs_v27/constructors/account.passwordSettings.md @@ -0,0 +1,38 @@ +--- +title: account.passwordSettings +description: Private info associated to the password info (recovery email, telegram [passport](https://core.telegram.org/passport) info & so on) +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.passwordSettings +[Back to constructors index](index.md) + + + +Private info associated to the password info (recovery email, telegram [passport](https://core.telegram.org/passport) info & so on) + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|email|[string](../types/string.md) | Yes|[2FA Recovery email](https://core.telegram.org/api/srp#email-verification)| + + + +### Type: [account.PasswordSettings](../types/account.PasswordSettings.md) + + +### Example: + +```php +$account.passwordSettings = ['_' => 'account.passwordSettings', 'email' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +account.passwordSettings={_='account.passwordSettings', email='string'} + +``` + + diff --git a/old_docs/API_docs_v27/constructors/account.privacyRules.md b/old_docs/API_docs_v27/constructors/account.privacyRules.md new file mode 100644 index 00000000..7ae04abb --- /dev/null +++ b/old_docs/API_docs_v27/constructors/account.privacyRules.md @@ -0,0 +1,39 @@ +--- +title: account.privacyRules +description: Privacy rules +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.privacyRules +[Back to constructors index](index.md) + + + +Privacy rules + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|rules|Array of [PrivacyRule](../types/PrivacyRule.md) | Yes|Rules| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [account.PrivacyRules](../types/account.PrivacyRules.md) + + +### Example: + +```php +$account.privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule, PrivacyRule], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +account.privacyRules={_='account.privacyRules', rules={PrivacyRule}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v27/constructors/account.sentChangePhoneCode.md b/old_docs/API_docs_v27/constructors/account.sentChangePhoneCode.md new file mode 100644 index 00000000..119f6af6 --- /dev/null +++ b/old_docs/API_docs_v27/constructors/account.sentChangePhoneCode.md @@ -0,0 +1,39 @@ +--- +title: account.sentChangePhoneCode +description: Sent change phone code +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.sentChangePhoneCode +[Back to constructors index](index.md) + + + +Sent change phone code + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_code\_hash|[string](../types/string.md) | Yes|Phone code hash| +|send\_call\_timeout|[int](../types/int.md) | Yes|Send call timeout| + + + +### Type: [account.SentChangePhoneCode](../types/account.SentChangePhoneCode.md) + + +### Example: + +```php +$account.sentChangePhoneCode = ['_' => 'account.sentChangePhoneCode', 'phone_code_hash' => 'string', 'send_call_timeout' => int]; +``` + + +Or, if you're into Lua: + +```lua +account.sentChangePhoneCode={_='account.sentChangePhoneCode', phone_code_hash='string', send_call_timeout=int} + +``` + + diff --git a/old_docs/API_docs_v27/constructors/account_authorizations.md b/old_docs/API_docs_v27/constructors/account_authorizations.md deleted file mode 100644 index aeae48f3..00000000 --- a/old_docs/API_docs_v27/constructors/account_authorizations.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: account.authorizations -description: Logged-in sessions -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.authorizations -[Back to constructors index](index.md) - - - -Logged-in sessions - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|authorizations|Array of [Authorization](../types/Authorization.md) | Yes|Authorizations| - - - -### Type: [account\_Authorizations](../types/account_Authorizations.md) - - -### Example: - -```php -$account_authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization, Authorization]]; -``` - - -Or, if you're into Lua: - -```lua -account_authorizations={_='account.authorizations', authorizations={Authorization}} - -``` - - diff --git a/old_docs/API_docs_v27/constructors/account_noPassword.md b/old_docs/API_docs_v27/constructors/account_noPassword.md deleted file mode 100644 index 10ef7b2a..00000000 --- a/old_docs/API_docs_v27/constructors/account_noPassword.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: account.noPassword -description: No password -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.noPassword -[Back to constructors index](index.md) - - - -No password - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|new\_salt|[bytes](../types/bytes.md) | Yes|New salt| -|email\_unconfirmed\_pattern|[string](../types/string.md) | Yes|Email unconfirmed pattern| - - - -### Type: [account\_Password](../types/account_Password.md) - - -### Example: - -```php -$account_noPassword = ['_' => 'account.noPassword', 'new_salt' => 'bytes', 'email_unconfirmed_pattern' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -account_noPassword={_='account.noPassword', new_salt='bytes', email_unconfirmed_pattern='string'} - -``` - - diff --git a/old_docs/API_docs_v27/constructors/account_password.md b/old_docs/API_docs_v27/constructors/account_password.md deleted file mode 100644 index a9f512e8..00000000 --- a/old_docs/API_docs_v27/constructors/account_password.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: account.password -description: Configuration for two-factor authorization -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.password -[Back to constructors index](index.md) - - - -Configuration for two-factor authorization - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|current\_salt|[bytes](../types/bytes.md) | Yes|Current salt| -|new\_salt|[bytes](../types/bytes.md) | Yes|New salt| -|hint|[string](../types/string.md) | Yes|Text hint for the password| -|has\_recovery|[Bool](../types/Bool.md) | Yes|Has recovery?| -|email\_unconfirmed\_pattern|[string](../types/string.md) | Yes|A [password recovery email](https://core.telegram.org/api/srp#email-verification) with the specified [pattern](https://core.telegram.org/api/pattern) is still awaiting verification| - - - -### Type: [account\_Password](../types/account_Password.md) - - -### Example: - -```php -$account_password = ['_' => 'account.password', 'current_salt' => 'bytes', 'new_salt' => 'bytes', 'hint' => 'string', 'has_recovery' => Bool, 'email_unconfirmed_pattern' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -account_password={_='account.password', current_salt='bytes', new_salt='bytes', hint='string', has_recovery=Bool, email_unconfirmed_pattern='string'} - -``` - - diff --git a/old_docs/API_docs_v27/constructors/account_passwordInputSettings.md b/old_docs/API_docs_v27/constructors/account_passwordInputSettings.md deleted file mode 100644 index 05ec666b..00000000 --- a/old_docs/API_docs_v27/constructors/account_passwordInputSettings.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: account.passwordInputSettings -description: Settings for setting up a new password -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.passwordInputSettings -[Back to constructors index](index.md) - - - -Settings for setting up a new password - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|new\_salt|[bytes](../types/bytes.md) | Optional|`$new_salt = $MadelineProto->account->getPassword()['new_salt'].$MadelineProto->random(8);`| -|new\_password\_hash|[bytes](../types/bytes.md) | Optional|The [computed password hash](https://core.telegram.org/api/srp)| -|hint|[string](../types/string.md) | Optional|Text hint for the password| -|email|[string](../types/string.md) | Optional|Password recovery email| - - - -### Type: [account\_PasswordInputSettings](../types/account_PasswordInputSettings.md) - - -### Example: - -```php -$account_passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_salt' => 'bytes', 'new_password_hash' => 'bytes', 'hint' => 'string', 'email' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -account_passwordInputSettings={_='account.passwordInputSettings', new_salt='bytes', new_password_hash='bytes', hint='string', email='string'} - -``` - - diff --git a/old_docs/API_docs_v27/constructors/account_passwordSettings.md b/old_docs/API_docs_v27/constructors/account_passwordSettings.md deleted file mode 100644 index e22f9cc4..00000000 --- a/old_docs/API_docs_v27/constructors/account_passwordSettings.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: account.passwordSettings -description: Private info associated to the password info (recovery email, telegram [passport](https://core.telegram.org/passport) info & so on) -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.passwordSettings -[Back to constructors index](index.md) - - - -Private info associated to the password info (recovery email, telegram [passport](https://core.telegram.org/passport) info & so on) - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|email|[string](../types/string.md) | Yes|[2FA Recovery email](https://core.telegram.org/api/srp#email-verification)| - - - -### Type: [account\_PasswordSettings](../types/account_PasswordSettings.md) - - -### Example: - -```php -$account_passwordSettings = ['_' => 'account.passwordSettings', 'email' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -account_passwordSettings={_='account.passwordSettings', email='string'} - -``` - - diff --git a/old_docs/API_docs_v27/constructors/account_privacyRules.md b/old_docs/API_docs_v27/constructors/account_privacyRules.md deleted file mode 100644 index 28b260b7..00000000 --- a/old_docs/API_docs_v27/constructors/account_privacyRules.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: account.privacyRules -description: Privacy rules -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.privacyRules -[Back to constructors index](index.md) - - - -Privacy rules - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|rules|Array of [PrivacyRule](../types/PrivacyRule.md) | Yes|Rules| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [account\_PrivacyRules](../types/account_PrivacyRules.md) - - -### Example: - -```php -$account_privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule, PrivacyRule], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -account_privacyRules={_='account.privacyRules', rules={PrivacyRule}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v27/constructors/account_sentChangePhoneCode.md b/old_docs/API_docs_v27/constructors/account_sentChangePhoneCode.md deleted file mode 100644 index 052ce817..00000000 --- a/old_docs/API_docs_v27/constructors/account_sentChangePhoneCode.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: account.sentChangePhoneCode -description: Sent change phone code -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.sentChangePhoneCode -[Back to constructors index](index.md) - - - -Sent change phone code - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_code\_hash|[string](../types/string.md) | Yes|Phone code hash| -|send\_call\_timeout|[int](../types/int.md) | Yes|Send call timeout| - - - -### Type: [account\_SentChangePhoneCode](../types/account_SentChangePhoneCode.md) - - -### Example: - -```php -$account_sentChangePhoneCode = ['_' => 'account.sentChangePhoneCode', 'phone_code_hash' => 'string', 'send_call_timeout' => int]; -``` - - -Or, if you're into Lua: - -```lua -account_sentChangePhoneCode={_='account.sentChangePhoneCode', phone_code_hash='string', send_call_timeout=int} - -``` - - diff --git a/old_docs/API_docs_v27/constructors/auth.authorization.md b/old_docs/API_docs_v27/constructors/auth.authorization.md new file mode 100644 index 00000000..93dc63ee --- /dev/null +++ b/old_docs/API_docs_v27/constructors/auth.authorization.md @@ -0,0 +1,39 @@ +--- +title: auth.authorization +description: Contains user authorization info. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.authorization +[Back to constructors index](index.md) + + + +Contains user authorization info. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|expires|[int](../types/int.md) | Yes|Expiration date| +|user|[User](../types/User.md) | Optional|Info on authorized user| + + + +### Type: [auth.Authorization](../types/auth.Authorization.md) + + +### Example: + +```php +$auth.authorization = ['_' => 'auth.authorization', 'expires' => int, 'user' => User]; +``` + + +Or, if you're into Lua: + +```lua +auth.authorization={_='auth.authorization', expires=int, user=User} + +``` + + diff --git a/old_docs/API_docs_v27/constructors/auth.checkedPhone.md b/old_docs/API_docs_v27/constructors/auth.checkedPhone.md new file mode 100644 index 00000000..23e84cf9 --- /dev/null +++ b/old_docs/API_docs_v27/constructors/auth.checkedPhone.md @@ -0,0 +1,38 @@ +--- +title: auth.checkedPhone +description: Checked phone +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.checkedPhone +[Back to constructors index](index.md) + + + +Checked phone + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_registered|[Bool](../types/Bool.md) | Yes|Phone registered?| + + + +### Type: [auth.CheckedPhone](../types/auth.CheckedPhone.md) + + +### Example: + +```php +$auth.checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool]; +``` + + +Or, if you're into Lua: + +```lua +auth.checkedPhone={_='auth.checkedPhone', phone_registered=Bool} + +``` + + diff --git a/old_docs/API_docs_v27/constructors/auth.exportedAuthorization.md b/old_docs/API_docs_v27/constructors/auth.exportedAuthorization.md new file mode 100644 index 00000000..2a4a9896 --- /dev/null +++ b/old_docs/API_docs_v27/constructors/auth.exportedAuthorization.md @@ -0,0 +1,39 @@ +--- +title: auth.exportedAuthorization +description: Data for copying of authorization between data centres. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.exportedAuthorization +[Back to constructors index](index.md) + + + +Data for copying of authorization between data centres. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|id|[int](../types/int.md) | Yes|Current user identifier| +|bytes|[bytes](../types/bytes.md) | Yes|Authorizes key| + + + +### Type: [auth.ExportedAuthorization](../types/auth.ExportedAuthorization.md) + + +### Example: + +```php +$auth.exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +auth.exportedAuthorization={_='auth.exportedAuthorization', id=int, bytes='bytes'} + +``` + + diff --git a/old_docs/API_docs_v27/constructors/auth.passwordRecovery.md b/old_docs/API_docs_v27/constructors/auth.passwordRecovery.md new file mode 100644 index 00000000..61de922d --- /dev/null +++ b/old_docs/API_docs_v27/constructors/auth.passwordRecovery.md @@ -0,0 +1,38 @@ +--- +title: auth.passwordRecovery +description: Recovery info of a [2FA password](https://core.telegram.org/api/srp), only for accounts with a [recovery email configured](https://core.telegram.org/api/srp#email-verification). +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.passwordRecovery +[Back to constructors index](index.md) + + + +Recovery info of a [2FA password](https://core.telegram.org/api/srp), only for accounts with a [recovery email configured](https://core.telegram.org/api/srp#email-verification). + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|email\_pattern|[string](../types/string.md) | Yes|The email to which the recovery code was sent must match this [pattern](https://core.telegram.org/api/pattern).| + + + +### Type: [auth.PasswordRecovery](../types/auth.PasswordRecovery.md) + + +### Example: + +```php +$auth.passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +auth.passwordRecovery={_='auth.passwordRecovery', email_pattern='string'} + +``` + + diff --git a/old_docs/API_docs_v27/constructors/auth.sentAppCode.md b/old_docs/API_docs_v27/constructors/auth.sentAppCode.md new file mode 100644 index 00000000..e4cd5ef0 --- /dev/null +++ b/old_docs/API_docs_v27/constructors/auth.sentAppCode.md @@ -0,0 +1,41 @@ +--- +title: auth.sentAppCode +description: Sent app code +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentAppCode +[Back to constructors index](index.md) + + + +Sent app code + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_registered|[Bool](../types/Bool.md) | Yes|Phone registered?| +|phone\_code\_hash|[string](../types/string.md) | Yes|Phone code hash| +|send\_call\_timeout|[int](../types/int.md) | Yes|Send call timeout| +|is\_password|[Bool](../types/Bool.md) | Yes|Is password?| + + + +### Type: [auth.SentCode](../types/auth.SentCode.md) + + +### Example: + +```php +$auth.sentAppCode = ['_' => 'auth.sentAppCode', 'phone_registered' => Bool, 'phone_code_hash' => 'string', 'send_call_timeout' => int, 'is_password' => Bool]; +``` + + +Or, if you're into Lua: + +```lua +auth.sentAppCode={_='auth.sentAppCode', phone_registered=Bool, phone_code_hash='string', send_call_timeout=int, is_password=Bool} + +``` + + diff --git a/old_docs/API_docs_v27/constructors/auth.sentCode.md b/old_docs/API_docs_v27/constructors/auth.sentCode.md new file mode 100644 index 00000000..c81a8042 --- /dev/null +++ b/old_docs/API_docs_v27/constructors/auth.sentCode.md @@ -0,0 +1,41 @@ +--- +title: auth.sentCode +description: Contains info about a sent verification code. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentCode +[Back to constructors index](index.md) + + + +Contains info about a sent verification code. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_registered|[Bool](../types/Bool.md) | Yes|Phone registered?| +|phone\_code\_hash|[string](../types/string.md) | Yes|Phone code hash, to be stored and later re-used with [auth.signIn](../methods/auth.signIn.md)| +|send\_call\_timeout|[int](../types/int.md) | Yes|Send call timeout| +|is\_password|[Bool](../types/Bool.md) | Yes|Is password?| + + + +### Type: [auth.SentCode](../types/auth.SentCode.md) + + +### Example: + +```php +$auth.sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'phone_code_hash' => 'string', 'send_call_timeout' => int, 'is_password' => Bool]; +``` + + +Or, if you're into Lua: + +```lua +auth.sentCode={_='auth.sentCode', phone_registered=Bool, phone_code_hash='string', send_call_timeout=int, is_password=Bool} + +``` + + diff --git a/old_docs/API_docs_v27/constructors/auth_authorization.md b/old_docs/API_docs_v27/constructors/auth_authorization.md deleted file mode 100644 index 8549a27d..00000000 --- a/old_docs/API_docs_v27/constructors/auth_authorization.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: auth.authorization -description: Contains user authorization info. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.authorization -[Back to constructors index](index.md) - - - -Contains user authorization info. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|expires|[int](../types/int.md) | Yes|Expiration date| -|user|[User](../types/User.md) | Optional|Info on authorized user| - - - -### Type: [auth\_Authorization](../types/auth_Authorization.md) - - -### Example: - -```php -$auth_authorization = ['_' => 'auth.authorization', 'expires' => int, 'user' => User]; -``` - - -Or, if you're into Lua: - -```lua -auth_authorization={_='auth.authorization', expires=int, user=User} - -``` - - diff --git a/old_docs/API_docs_v27/constructors/auth_checkedPhone.md b/old_docs/API_docs_v27/constructors/auth_checkedPhone.md deleted file mode 100644 index c77becf6..00000000 --- a/old_docs/API_docs_v27/constructors/auth_checkedPhone.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.checkedPhone -description: Checked phone -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.checkedPhone -[Back to constructors index](index.md) - - - -Checked phone - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_registered|[Bool](../types/Bool.md) | Yes|Phone registered?| - - - -### Type: [auth\_CheckedPhone](../types/auth_CheckedPhone.md) - - -### Example: - -```php -$auth_checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool]; -``` - - -Or, if you're into Lua: - -```lua -auth_checkedPhone={_='auth.checkedPhone', phone_registered=Bool} - -``` - - diff --git a/old_docs/API_docs_v27/constructors/auth_exportedAuthorization.md b/old_docs/API_docs_v27/constructors/auth_exportedAuthorization.md deleted file mode 100644 index 8d18916e..00000000 --- a/old_docs/API_docs_v27/constructors/auth_exportedAuthorization.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: auth.exportedAuthorization -description: Data for copying of authorization between data centres. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.exportedAuthorization -[Back to constructors index](index.md) - - - -Data for copying of authorization between data centres. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|id|[int](../types/int.md) | Yes|Current user identifier| -|bytes|[bytes](../types/bytes.md) | Yes|Authorizes key| - - - -### Type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) - - -### Example: - -```php -$auth_exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -auth_exportedAuthorization={_='auth.exportedAuthorization', id=int, bytes='bytes'} - -``` - - diff --git a/old_docs/API_docs_v27/constructors/auth_passwordRecovery.md b/old_docs/API_docs_v27/constructors/auth_passwordRecovery.md deleted file mode 100644 index c40f375e..00000000 --- a/old_docs/API_docs_v27/constructors/auth_passwordRecovery.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.passwordRecovery -description: Recovery info of a [2FA password](https://core.telegram.org/api/srp), only for accounts with a [recovery email configured](https://core.telegram.org/api/srp#email-verification). -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.passwordRecovery -[Back to constructors index](index.md) - - - -Recovery info of a [2FA password](https://core.telegram.org/api/srp), only for accounts with a [recovery email configured](https://core.telegram.org/api/srp#email-verification). - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|email\_pattern|[string](../types/string.md) | Yes|The email to which the recovery code was sent must match this [pattern](https://core.telegram.org/api/pattern).| - - - -### Type: [auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) - - -### Example: - -```php -$auth_passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -auth_passwordRecovery={_='auth.passwordRecovery', email_pattern='string'} - -``` - - diff --git a/old_docs/API_docs_v27/constructors/auth_sentAppCode.md b/old_docs/API_docs_v27/constructors/auth_sentAppCode.md deleted file mode 100644 index f61b0eb9..00000000 --- a/old_docs/API_docs_v27/constructors/auth_sentAppCode.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: auth.sentAppCode -description: Sent app code -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentAppCode -[Back to constructors index](index.md) - - - -Sent app code - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_registered|[Bool](../types/Bool.md) | Yes|Phone registered?| -|phone\_code\_hash|[string](../types/string.md) | Yes|Phone code hash| -|send\_call\_timeout|[int](../types/int.md) | Yes|Send call timeout| -|is\_password|[Bool](../types/Bool.md) | Yes|Is password?| - - - -### Type: [auth\_SentCode](../types/auth_SentCode.md) - - -### Example: - -```php -$auth_sentAppCode = ['_' => 'auth.sentAppCode', 'phone_registered' => Bool, 'phone_code_hash' => 'string', 'send_call_timeout' => int, 'is_password' => Bool]; -``` - - -Or, if you're into Lua: - -```lua -auth_sentAppCode={_='auth.sentAppCode', phone_registered=Bool, phone_code_hash='string', send_call_timeout=int, is_password=Bool} - -``` - - diff --git a/old_docs/API_docs_v27/constructors/auth_sentCode.md b/old_docs/API_docs_v27/constructors/auth_sentCode.md deleted file mode 100644 index 28a9ac2f..00000000 --- a/old_docs/API_docs_v27/constructors/auth_sentCode.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: auth.sentCode -description: Contains info about a sent verification code. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentCode -[Back to constructors index](index.md) - - - -Contains info about a sent verification code. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_registered|[Bool](../types/Bool.md) | Yes|Phone registered?| -|phone\_code\_hash|[string](../types/string.md) | Yes|Phone code hash, to be stored and later re-used with [auth.signIn](../methods/auth.signIn.md)| -|send\_call\_timeout|[int](../types/int.md) | Yes|Send call timeout| -|is\_password|[Bool](../types/Bool.md) | Yes|Is password?| - - - -### Type: [auth\_SentCode](../types/auth_SentCode.md) - - -### Example: - -```php -$auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'phone_code_hash' => 'string', 'send_call_timeout' => int, 'is_password' => Bool]; -``` - - -Or, if you're into Lua: - -```lua -auth_sentCode={_='auth.sentCode', phone_registered=Bool, phone_code_hash='string', send_call_timeout=int, is_password=Bool} - -``` - - diff --git a/old_docs/API_docs_v27/constructors/contacts.blocked.md b/old_docs/API_docs_v27/constructors/contacts.blocked.md new file mode 100644 index 00000000..d2b3f680 --- /dev/null +++ b/old_docs/API_docs_v27/constructors/contacts.blocked.md @@ -0,0 +1,39 @@ +--- +title: contacts.blocked +description: Full list of blocked users. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.blocked +[Back to constructors index](index.md) + + + +Full list of blocked users. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Blocked](../types/contacts.Blocked.md) + + +### Example: + +```php +$contacts.blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.blocked={_='contacts.blocked', blocked={ContactBlocked}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v27/constructors/contacts.blockedSlice.md b/old_docs/API_docs_v27/constructors/contacts.blockedSlice.md new file mode 100644 index 00000000..92d19c72 --- /dev/null +++ b/old_docs/API_docs_v27/constructors/contacts.blockedSlice.md @@ -0,0 +1,40 @@ +--- +title: contacts.blockedSlice +description: Incomplete list of blocked users. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.blockedSlice +[Back to constructors index](index.md) + + + +Incomplete list of blocked users. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of elements in the list| +|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Blocked](../types/contacts.Blocked.md) + + +### Example: + +```php +$contacts.blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.blockedSlice={_='contacts.blockedSlice', count=int, blocked={ContactBlocked}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v27/constructors/contacts.contacts.md b/old_docs/API_docs_v27/constructors/contacts.contacts.md new file mode 100644 index 00000000..d4ccc018 --- /dev/null +++ b/old_docs/API_docs_v27/constructors/contacts.contacts.md @@ -0,0 +1,39 @@ +--- +title: contacts.contacts +description: The current user's contact list and info on users. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.contacts +[Back to constructors index](index.md) + + + +The current user's contact list and info on users. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|contacts|Array of [Contact](../types/Contact.md) | Yes|Contacts| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Contacts](../types/contacts.Contacts.md) + + +### Example: + +```php +$contacts.contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact, Contact], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.contacts={_='contacts.contacts', contacts={Contact}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v27/constructors/contacts.contactsNotModified.md b/old_docs/API_docs_v27/constructors/contacts.contactsNotModified.md new file mode 100644 index 00000000..e2149396 --- /dev/null +++ b/old_docs/API_docs_v27/constructors/contacts.contactsNotModified.md @@ -0,0 +1,33 @@ +--- +title: contacts.contactsNotModified +description: Contact list on the server is the same as the list on the client. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.contactsNotModified +[Back to constructors index](index.md) + + + +Contact list on the server is the same as the list on the client. + + + + +### Type: [contacts.Contacts](../types/contacts.Contacts.md) + + +### Example: + +```php +$contacts.contactsNotModified = ['_' => 'contacts.contactsNotModified']; +``` + + +Or, if you're into Lua: + +```lua +contacts.contactsNotModified={_='contacts.contactsNotModified'} + +``` + + diff --git a/old_docs/API_docs_v27/constructors/contacts.found.md b/old_docs/API_docs_v27/constructors/contacts.found.md new file mode 100644 index 00000000..e7820220 --- /dev/null +++ b/old_docs/API_docs_v27/constructors/contacts.found.md @@ -0,0 +1,39 @@ +--- +title: contacts.found +description: Users found by name substring and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.found +[Back to constructors index](index.md) + + + +Users found by name substring and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|results|Array of [ContactFound](../types/ContactFound.md) | Yes|Results| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Found](../types/contacts.Found.md) + + +### Example: + +```php +$contacts.found = ['_' => 'contacts.found', 'results' => [ContactFound, ContactFound], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.found={_='contacts.found', results={ContactFound}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v27/constructors/contacts.importedContacts.md b/old_docs/API_docs_v27/constructors/contacts.importedContacts.md new file mode 100644 index 00000000..1cbff59a --- /dev/null +++ b/old_docs/API_docs_v27/constructors/contacts.importedContacts.md @@ -0,0 +1,40 @@ +--- +title: contacts.importedContacts +description: Info on succesfully imported contacts. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.importedContacts +[Back to constructors index](index.md) + + + +Info on succesfully imported contacts. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|imported|Array of [ImportedContact](../types/ImportedContact.md) | Yes|Imported| +|retry\_contacts|Array of [long](../types/long.md) | Yes|Retry importing contacts whose client IDs appear here| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.ImportedContacts](../types/contacts.ImportedContacts.md) + + +### Example: + +```php +$contacts.importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact, ImportedContact], 'retry_contacts' => [long, long], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.importedContacts={_='contacts.importedContacts', imported={ImportedContact}, retry_contacts={long}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v27/constructors/contacts.link.md b/old_docs/API_docs_v27/constructors/contacts.link.md new file mode 100644 index 00000000..ab150a0d --- /dev/null +++ b/old_docs/API_docs_v27/constructors/contacts.link.md @@ -0,0 +1,40 @@ +--- +title: contacts.link +description: Link +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.link +[Back to constructors index](index.md) + + + +Link + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|my\_link|[ContactLink](../types/ContactLink.md) | Yes|My link| +|foreign\_link|[ContactLink](../types/ContactLink.md) | Yes|Foreign link| +|user|[User](../types/User.md) | Optional|User| + + + +### Type: [contacts.Link](../types/contacts.Link.md) + + +### Example: + +```php +$contacts.link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User]; +``` + + +Or, if you're into Lua: + +```lua +contacts.link={_='contacts.link', my_link=ContactLink, foreign_link=ContactLink, user=User} + +``` + + diff --git a/old_docs/API_docs_v27/constructors/contacts.suggested.md b/old_docs/API_docs_v27/constructors/contacts.suggested.md new file mode 100644 index 00000000..b9a56bec --- /dev/null +++ b/old_docs/API_docs_v27/constructors/contacts.suggested.md @@ -0,0 +1,39 @@ +--- +title: contacts.suggested +description: Suggested +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.suggested +[Back to constructors index](index.md) + + + +Suggested + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|results|Array of [ContactSuggested](../types/ContactSuggested.md) | Yes|Results| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Suggested](../types/contacts.Suggested.md) + + +### Example: + +```php +$contacts.suggested = ['_' => 'contacts.suggested', 'results' => [ContactSuggested, ContactSuggested], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.suggested={_='contacts.suggested', results={ContactSuggested}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v27/constructors/contacts_blocked.md b/old_docs/API_docs_v27/constructors/contacts_blocked.md deleted file mode 100644 index 20e33002..00000000 --- a/old_docs/API_docs_v27/constructors/contacts_blocked.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: contacts.blocked -description: Full list of blocked users. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.blocked -[Back to constructors index](index.md) - - - -Full list of blocked users. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Blocked](../types/contacts_Blocked.md) - - -### Example: - -```php -$contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_blocked={_='contacts.blocked', blocked={ContactBlocked}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v27/constructors/contacts_blockedSlice.md b/old_docs/API_docs_v27/constructors/contacts_blockedSlice.md deleted file mode 100644 index fcab9a28..00000000 --- a/old_docs/API_docs_v27/constructors/contacts_blockedSlice.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.blockedSlice -description: Incomplete list of blocked users. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.blockedSlice -[Back to constructors index](index.md) - - - -Incomplete list of blocked users. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of elements in the list| -|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Blocked](../types/contacts_Blocked.md) - - -### Example: - -```php -$contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_blockedSlice={_='contacts.blockedSlice', count=int, blocked={ContactBlocked}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v27/constructors/contacts_contacts.md b/old_docs/API_docs_v27/constructors/contacts_contacts.md deleted file mode 100644 index f101b34b..00000000 --- a/old_docs/API_docs_v27/constructors/contacts_contacts.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: contacts.contacts -description: The current user's contact list and info on users. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.contacts -[Back to constructors index](index.md) - - - -The current user's contact list and info on users. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|contacts|Array of [Contact](../types/Contact.md) | Yes|Contacts| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Contacts](../types/contacts_Contacts.md) - - -### Example: - -```php -$contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact, Contact], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_contacts={_='contacts.contacts', contacts={Contact}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v27/constructors/contacts_contactsNotModified.md b/old_docs/API_docs_v27/constructors/contacts_contactsNotModified.md deleted file mode 100644 index 17e76ac3..00000000 --- a/old_docs/API_docs_v27/constructors/contacts_contactsNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: contacts.contactsNotModified -description: Contact list on the server is the same as the list on the client. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.contactsNotModified -[Back to constructors index](index.md) - - - -Contact list on the server is the same as the list on the client. - - - - -### Type: [contacts\_Contacts](../types/contacts_Contacts.md) - - -### Example: - -```php -$contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified']; -``` - - -Or, if you're into Lua: - -```lua -contacts_contactsNotModified={_='contacts.contactsNotModified'} - -``` - - diff --git a/old_docs/API_docs_v27/constructors/contacts_found.md b/old_docs/API_docs_v27/constructors/contacts_found.md deleted file mode 100644 index a3f36963..00000000 --- a/old_docs/API_docs_v27/constructors/contacts_found.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: contacts.found -description: Users found by name substring and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.found -[Back to constructors index](index.md) - - - -Users found by name substring and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|results|Array of [ContactFound](../types/ContactFound.md) | Yes|Results| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Found](../types/contacts_Found.md) - - -### Example: - -```php -$contacts_found = ['_' => 'contacts.found', 'results' => [ContactFound, ContactFound], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_found={_='contacts.found', results={ContactFound}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v27/constructors/contacts_importedContacts.md b/old_docs/API_docs_v27/constructors/contacts_importedContacts.md deleted file mode 100644 index 121d96d1..00000000 --- a/old_docs/API_docs_v27/constructors/contacts_importedContacts.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.importedContacts -description: Info on succesfully imported contacts. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.importedContacts -[Back to constructors index](index.md) - - - -Info on succesfully imported contacts. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|imported|Array of [ImportedContact](../types/ImportedContact.md) | Yes|Imported| -|retry\_contacts|Array of [long](../types/long.md) | Yes|Retry importing contacts whose client IDs appear here| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) - - -### Example: - -```php -$contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact, ImportedContact], 'retry_contacts' => [long, long], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_importedContacts={_='contacts.importedContacts', imported={ImportedContact}, retry_contacts={long}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v27/constructors/contacts_link.md b/old_docs/API_docs_v27/constructors/contacts_link.md deleted file mode 100644 index cfc566c7..00000000 --- a/old_docs/API_docs_v27/constructors/contacts_link.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.link -description: Link -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.link -[Back to constructors index](index.md) - - - -Link - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|my\_link|[ContactLink](../types/ContactLink.md) | Yes|My link| -|foreign\_link|[ContactLink](../types/ContactLink.md) | Yes|Foreign link| -|user|[User](../types/User.md) | Optional|User| - - - -### Type: [contacts\_Link](../types/contacts_Link.md) - - -### Example: - -```php -$contacts_link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User]; -``` - - -Or, if you're into Lua: - -```lua -contacts_link={_='contacts.link', my_link=ContactLink, foreign_link=ContactLink, user=User} - -``` - - diff --git a/old_docs/API_docs_v27/constructors/contacts_suggested.md b/old_docs/API_docs_v27/constructors/contacts_suggested.md deleted file mode 100644 index 9bdba0b7..00000000 --- a/old_docs/API_docs_v27/constructors/contacts_suggested.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: contacts.suggested -description: Suggested -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.suggested -[Back to constructors index](index.md) - - - -Suggested - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|results|Array of [ContactSuggested](../types/ContactSuggested.md) | Yes|Results| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Suggested](../types/contacts_Suggested.md) - - -### Example: - -```php -$contacts_suggested = ['_' => 'contacts.suggested', 'results' => [ContactSuggested, ContactSuggested], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_suggested={_='contacts.suggested', results={ContactSuggested}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v27/constructors/geochats.located.md b/old_docs/API_docs_v27/constructors/geochats.located.md new file mode 100644 index 00000000..5ca84141 --- /dev/null +++ b/old_docs/API_docs_v27/constructors/geochats.located.md @@ -0,0 +1,41 @@ +--- +title: geochats.located +description: Located +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: geochats.located +[Back to constructors index](index.md) + + + +Located + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|results|Array of [ChatLocated](../types/ChatLocated.md) | Yes|Results| +|messages|Array of [GeoChatMessage](../types/GeoChatMessage.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [geochats.Located](../types/geochats.Located.md) + + +### Example: + +```php +$geochats.located = ['_' => 'geochats.located', 'results' => [ChatLocated, ChatLocated], 'messages' => [GeoChatMessage, GeoChatMessage], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +geochats.located={_='geochats.located', results={ChatLocated}, messages={GeoChatMessage}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v27/constructors/geochats.messages.md b/old_docs/API_docs_v27/constructors/geochats.messages.md new file mode 100644 index 00000000..27f06cab --- /dev/null +++ b/old_docs/API_docs_v27/constructors/geochats.messages.md @@ -0,0 +1,40 @@ +--- +title: geochats.messages +description: Messages +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: geochats.messages +[Back to constructors index](index.md) + + + +Messages + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|messages|Array of [GeoChatMessage](../types/GeoChatMessage.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [geochats.Messages](../types/geochats.Messages.md) + + +### Example: + +```php +$geochats.messages = ['_' => 'geochats.messages', 'messages' => [GeoChatMessage, GeoChatMessage], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +geochats.messages={_='geochats.messages', messages={GeoChatMessage}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v27/constructors/geochats.messagesSlice.md b/old_docs/API_docs_v27/constructors/geochats.messagesSlice.md new file mode 100644 index 00000000..a1ad1f7d --- /dev/null +++ b/old_docs/API_docs_v27/constructors/geochats.messagesSlice.md @@ -0,0 +1,41 @@ +--- +title: geochats.messagesSlice +description: Messages slice +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: geochats.messagesSlice +[Back to constructors index](index.md) + + + +Messages slice + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Count| +|messages|Array of [GeoChatMessage](../types/GeoChatMessage.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [geochats.Messages](../types/geochats.Messages.md) + + +### Example: + +```php +$geochats.messagesSlice = ['_' => 'geochats.messagesSlice', 'count' => int, 'messages' => [GeoChatMessage, GeoChatMessage], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +geochats.messagesSlice={_='geochats.messagesSlice', count=int, messages={GeoChatMessage}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v27/constructors/geochats.statedMessage.md b/old_docs/API_docs_v27/constructors/geochats.statedMessage.md new file mode 100644 index 00000000..b3c9d6b4 --- /dev/null +++ b/old_docs/API_docs_v27/constructors/geochats.statedMessage.md @@ -0,0 +1,41 @@ +--- +title: geochats.statedMessage +description: Stated message +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: geochats.statedMessage +[Back to constructors index](index.md) + + + +Stated message + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|message|[GeoChatMessage](../types/GeoChatMessage.md) | Optional|Message| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| +|seq|[int](../types/int.md) | Yes|Seq| + + + +### Type: [geochats.StatedMessage](../types/geochats.StatedMessage.md) + + +### Example: + +```php +$geochats.statedMessage = ['_' => 'geochats.statedMessage', 'message' => GeoChatMessage, 'chats' => [Chat, Chat], 'users' => [User, User], 'seq' => int]; +``` + + +Or, if you're into Lua: + +```lua +geochats.statedMessage={_='geochats.statedMessage', message=GeoChatMessage, chats={Chat}, users={User}, seq=int} + +``` + + diff --git a/old_docs/API_docs_v27/constructors/geochats_located.md b/old_docs/API_docs_v27/constructors/geochats_located.md deleted file mode 100644 index b8f39dee..00000000 --- a/old_docs/API_docs_v27/constructors/geochats_located.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: geochats.located -description: Located -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: geochats.located -[Back to constructors index](index.md) - - - -Located - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|results|Array of [ChatLocated](../types/ChatLocated.md) | Yes|Results| -|messages|Array of [GeoChatMessage](../types/GeoChatMessage.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [geochats\_Located](../types/geochats_Located.md) - - -### Example: - -```php -$geochats_located = ['_' => 'geochats.located', 'results' => [ChatLocated, ChatLocated], 'messages' => [GeoChatMessage, GeoChatMessage], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -geochats_located={_='geochats.located', results={ChatLocated}, messages={GeoChatMessage}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v27/constructors/geochats_messages.md b/old_docs/API_docs_v27/constructors/geochats_messages.md deleted file mode 100644 index 511d1a8b..00000000 --- a/old_docs/API_docs_v27/constructors/geochats_messages.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: geochats.messages -description: Messages -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: geochats.messages -[Back to constructors index](index.md) - - - -Messages - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|messages|Array of [GeoChatMessage](../types/GeoChatMessage.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [geochats\_Messages](../types/geochats_Messages.md) - - -### Example: - -```php -$geochats_messages = ['_' => 'geochats.messages', 'messages' => [GeoChatMessage, GeoChatMessage], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -geochats_messages={_='geochats.messages', messages={GeoChatMessage}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v27/constructors/geochats_messagesSlice.md b/old_docs/API_docs_v27/constructors/geochats_messagesSlice.md deleted file mode 100644 index 8b628865..00000000 --- a/old_docs/API_docs_v27/constructors/geochats_messagesSlice.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: geochats.messagesSlice -description: Messages slice -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: geochats.messagesSlice -[Back to constructors index](index.md) - - - -Messages slice - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Count| -|messages|Array of [GeoChatMessage](../types/GeoChatMessage.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [geochats\_Messages](../types/geochats_Messages.md) - - -### Example: - -```php -$geochats_messagesSlice = ['_' => 'geochats.messagesSlice', 'count' => int, 'messages' => [GeoChatMessage, GeoChatMessage], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -geochats_messagesSlice={_='geochats.messagesSlice', count=int, messages={GeoChatMessage}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v27/constructors/geochats_statedMessage.md b/old_docs/API_docs_v27/constructors/geochats_statedMessage.md deleted file mode 100644 index 1314d8eb..00000000 --- a/old_docs/API_docs_v27/constructors/geochats_statedMessage.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: geochats.statedMessage -description: Stated message -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: geochats.statedMessage -[Back to constructors index](index.md) - - - -Stated message - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|message|[GeoChatMessage](../types/GeoChatMessage.md) | Optional|Message| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| -|seq|[int](../types/int.md) | Yes|Seq| - - - -### Type: [geochats\_StatedMessage](../types/geochats_StatedMessage.md) - - -### Example: - -```php -$geochats_statedMessage = ['_' => 'geochats.statedMessage', 'message' => GeoChatMessage, 'chats' => [Chat, Chat], 'users' => [User, User], 'seq' => int]; -``` - - -Or, if you're into Lua: - -```lua -geochats_statedMessage={_='geochats.statedMessage', message=GeoChatMessage, chats={Chat}, users={User}, seq=int} - -``` - - diff --git a/old_docs/API_docs_v27/constructors/help.appUpdate.md b/old_docs/API_docs_v27/constructors/help.appUpdate.md new file mode 100644 index 00000000..14b2d75b --- /dev/null +++ b/old_docs/API_docs_v27/constructors/help.appUpdate.md @@ -0,0 +1,41 @@ +--- +title: help.appUpdate +description: An update is available for the application. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.appUpdate +[Back to constructors index](index.md) + + + +An update is available for the application. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|id|[int](../types/int.md) | Yes|Update ID| +|critical|[Bool](../types/Bool.md) | Yes|Critical?| +|url|[string](../types/string.md) | Yes|Application download URL| +|text|[string](../types/string.md) | Yes|Text description of the update| + + + +### Type: [help.AppUpdate](../types/help.AppUpdate.md) + + +### Example: + +```php +$help.appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'url' => 'string', 'text' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +help.appUpdate={_='help.appUpdate', id=int, critical=Bool, url='string', text='string'} + +``` + + diff --git a/old_docs/API_docs_v27/constructors/help.inviteText.md b/old_docs/API_docs_v27/constructors/help.inviteText.md new file mode 100644 index 00000000..6a6261c1 --- /dev/null +++ b/old_docs/API_docs_v27/constructors/help.inviteText.md @@ -0,0 +1,38 @@ +--- +title: help.inviteText +description: Text of a text message with an invitation to install application. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.inviteText +[Back to constructors index](index.md) + + + +Text of a text message with an invitation to install application. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|message|[string](../types/string.md) | Yes|Text of a message| + + + +### Type: [help.InviteText](../types/help.InviteText.md) + + +### Example: + +```php +$help.inviteText = ['_' => 'help.inviteText', 'message' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +help.inviteText={_='help.inviteText', message='string'} + +``` + + diff --git a/old_docs/API_docs_v27/constructors/help.noAppUpdate.md b/old_docs/API_docs_v27/constructors/help.noAppUpdate.md new file mode 100644 index 00000000..1b69ac9a --- /dev/null +++ b/old_docs/API_docs_v27/constructors/help.noAppUpdate.md @@ -0,0 +1,33 @@ +--- +title: help.noAppUpdate +description: No updates are available for the application. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.noAppUpdate +[Back to constructors index](index.md) + + + +No updates are available for the application. + + + + +### Type: [help.AppUpdate](../types/help.AppUpdate.md) + + +### Example: + +```php +$help.noAppUpdate = ['_' => 'help.noAppUpdate']; +``` + + +Or, if you're into Lua: + +```lua +help.noAppUpdate={_='help.noAppUpdate'} + +``` + + diff --git a/old_docs/API_docs_v27/constructors/help.support.md b/old_docs/API_docs_v27/constructors/help.support.md new file mode 100644 index 00000000..4d4f85fb --- /dev/null +++ b/old_docs/API_docs_v27/constructors/help.support.md @@ -0,0 +1,39 @@ +--- +title: help.support +description: Info on support user. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.support +[Back to constructors index](index.md) + + + +Info on support user. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_number|[string](../types/string.md) | Yes|Phone number| +|user|[User](../types/User.md) | Optional|User| + + + +### Type: [help.Support](../types/help.Support.md) + + +### Example: + +```php +$help.support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => User]; +``` + + +Or, if you're into Lua: + +```lua +help.support={_='help.support', phone_number='string', user=User} + +``` + + diff --git a/old_docs/API_docs_v27/constructors/help_appUpdate.md b/old_docs/API_docs_v27/constructors/help_appUpdate.md deleted file mode 100644 index efba9bdb..00000000 --- a/old_docs/API_docs_v27/constructors/help_appUpdate.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: help.appUpdate -description: An update is available for the application. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.appUpdate -[Back to constructors index](index.md) - - - -An update is available for the application. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|id|[int](../types/int.md) | Yes|Update ID| -|critical|[Bool](../types/Bool.md) | Yes|Critical?| -|url|[string](../types/string.md) | Yes|Application download URL| -|text|[string](../types/string.md) | Yes|Text description of the update| - - - -### Type: [help\_AppUpdate](../types/help_AppUpdate.md) - - -### Example: - -```php -$help_appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'url' => 'string', 'text' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -help_appUpdate={_='help.appUpdate', id=int, critical=Bool, url='string', text='string'} - -``` - - diff --git a/old_docs/API_docs_v27/constructors/help_inviteText.md b/old_docs/API_docs_v27/constructors/help_inviteText.md deleted file mode 100644 index b8317ce3..00000000 --- a/old_docs/API_docs_v27/constructors/help_inviteText.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: help.inviteText -description: Text of a text message with an invitation to install application. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.inviteText -[Back to constructors index](index.md) - - - -Text of a text message with an invitation to install application. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|message|[string](../types/string.md) | Yes|Text of a message| - - - -### Type: [help\_InviteText](../types/help_InviteText.md) - - -### Example: - -```php -$help_inviteText = ['_' => 'help.inviteText', 'message' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -help_inviteText={_='help.inviteText', message='string'} - -``` - - diff --git a/old_docs/API_docs_v27/constructors/help_noAppUpdate.md b/old_docs/API_docs_v27/constructors/help_noAppUpdate.md deleted file mode 100644 index 51505e52..00000000 --- a/old_docs/API_docs_v27/constructors/help_noAppUpdate.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: help.noAppUpdate -description: No updates are available for the application. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.noAppUpdate -[Back to constructors index](index.md) - - - -No updates are available for the application. - - - - -### Type: [help\_AppUpdate](../types/help_AppUpdate.md) - - -### Example: - -```php -$help_noAppUpdate = ['_' => 'help.noAppUpdate']; -``` - - -Or, if you're into Lua: - -```lua -help_noAppUpdate={_='help.noAppUpdate'} - -``` - - diff --git a/old_docs/API_docs_v27/constructors/help_support.md b/old_docs/API_docs_v27/constructors/help_support.md deleted file mode 100644 index 148f7f42..00000000 --- a/old_docs/API_docs_v27/constructors/help_support.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: help.support -description: Info on support user. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.support -[Back to constructors index](index.md) - - - -Info on support user. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_number|[string](../types/string.md) | Yes|Phone number| -|user|[User](../types/User.md) | Optional|User| - - - -### Type: [help\_Support](../types/help_Support.md) - - -### Example: - -```php -$help_support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => User]; -``` - - -Or, if you're into Lua: - -```lua -help_support={_='help.support', phone_number='string', user=User} - -``` - - diff --git a/old_docs/API_docs_v27/constructors/messages.affectedHistory.md b/old_docs/API_docs_v27/constructors/messages.affectedHistory.md new file mode 100644 index 00000000..5fc8acec --- /dev/null +++ b/old_docs/API_docs_v27/constructors/messages.affectedHistory.md @@ -0,0 +1,40 @@ +--- +title: messages.affectedHistory +description: Affected part of communication history with the user or in a chat. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.affectedHistory +[Back to constructors index](index.md) + + + +Affected part of communication history with the user or in a chat. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| +|pts\_count|[int](../types/int.md) | Yes|Number of affected events| +|offset|[int](../types/int.md) | Yes|If a parameter contains positive value, it is necessary to repeat the method call using the given value; during the proceeding of all the history the value itself shall gradually decrease| + + + +### Type: [messages.AffectedHistory](../types/messages.AffectedHistory.md) + + +### Example: + +```php +$messages.affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.affectedHistory={_='messages.affectedHistory', pts=int, pts_count=int, offset=int} + +``` + + diff --git a/old_docs/API_docs_v27/constructors/messages.affectedMessages.md b/old_docs/API_docs_v27/constructors/messages.affectedMessages.md new file mode 100644 index 00000000..a0e60bdf --- /dev/null +++ b/old_docs/API_docs_v27/constructors/messages.affectedMessages.md @@ -0,0 +1,39 @@ +--- +title: messages.affectedMessages +description: Events affected by operation +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.affectedMessages +[Back to constructors index](index.md) + + + +Events affected by operation + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|[Event count after generation](https://core.telegram.org/api/updates)| +|pts\_count|[int](../types/int.md) | Yes|[Number of events that were generated](https://core.telegram.org/api/updates)| + + + +### Type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) + + +### Example: + +```php +$messages.affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.affectedMessages={_='messages.affectedMessages', pts=int, pts_count=int} + +``` + + diff --git a/old_docs/API_docs_v27/constructors/messages.allStickers.md b/old_docs/API_docs_v27/constructors/messages.allStickers.md new file mode 100644 index 00000000..70df0005 --- /dev/null +++ b/old_docs/API_docs_v27/constructors/messages.allStickers.md @@ -0,0 +1,40 @@ +--- +title: messages.allStickers +description: Info about all installed stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.allStickers +[Back to constructors index](index.md) + + + +Info about all installed stickers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[string](../types/string.md) | Yes|Hash| +|packs|Array of [StickerPack](../types/StickerPack.md) | Yes|Packs| +|documents|Array of [Document](../types/Document.md) | Yes|Documents| + + + +### Type: [messages.AllStickers](../types/messages.AllStickers.md) + + +### Example: + +```php +$messages.allStickers = ['_' => 'messages.allStickers', 'hash' => 'string', 'packs' => [StickerPack, StickerPack], 'documents' => [Document, Document]]; +``` + + +Or, if you're into Lua: + +```lua +messages.allStickers={_='messages.allStickers', hash='string', packs={StickerPack}, documents={Document}} + +``` + + diff --git a/old_docs/API_docs_v27/constructors/messages.allStickersNotModified.md b/old_docs/API_docs_v27/constructors/messages.allStickersNotModified.md new file mode 100644 index 00000000..d3db088b --- /dev/null +++ b/old_docs/API_docs_v27/constructors/messages.allStickersNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.allStickersNotModified +description: Info about all installed stickers hasn't changed +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.allStickersNotModified +[Back to constructors index](index.md) + + + +Info about all installed stickers hasn't changed + + + + +### Type: [messages.AllStickers](../types/messages.AllStickers.md) + + +### Example: + +```php +$messages.allStickersNotModified = ['_' => 'messages.allStickersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.allStickersNotModified={_='messages.allStickersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v27/constructors/messages.chatFull.md b/old_docs/API_docs_v27/constructors/messages.chatFull.md new file mode 100644 index 00000000..3906cc54 --- /dev/null +++ b/old_docs/API_docs_v27/constructors/messages.chatFull.md @@ -0,0 +1,40 @@ +--- +title: messages.chatFull +description: Extended info on chat and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.chatFull +[Back to constructors index](index.md) + + + +Extended info on chat and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|full\_chat|[ChatFull](../types/ChatFull.md) | Yes|Extended info on a chat| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.ChatFull](../types/messages.ChatFull.md) + + +### Example: + +```php +$messages.chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.chatFull={_='messages.chatFull', full_chat=ChatFull, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v27/constructors/messages.chats.md b/old_docs/API_docs_v27/constructors/messages.chats.md new file mode 100644 index 00000000..9ede9ff2 --- /dev/null +++ b/old_docs/API_docs_v27/constructors/messages.chats.md @@ -0,0 +1,38 @@ +--- +title: messages.chats +description: List of chats with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.chats +[Back to constructors index](index.md) + + + +List of chats with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| + + + +### Type: [messages.Chats](../types/messages.Chats.md) + + +### Example: + +```php +$messages.chats = ['_' => 'messages.chats', 'chats' => [Chat, Chat]]; +``` + + +Or, if you're into Lua: + +```lua +messages.chats={_='messages.chats', chats={Chat}} + +``` + + diff --git a/old_docs/API_docs_v27/constructors/messages.dhConfig.md b/old_docs/API_docs_v27/constructors/messages.dhConfig.md new file mode 100644 index 00000000..58344f64 --- /dev/null +++ b/old_docs/API_docs_v27/constructors/messages.dhConfig.md @@ -0,0 +1,41 @@ +--- +title: messages.dhConfig +description: New set of configuring parameters. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dhConfig +[Back to constructors index](index.md) + + + +New set of configuring parameters. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|g|[int](../types/int.md) | Yes|New value **prime**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| +|p|[bytes](../types/bytes.md) | Yes|New value **primitive root**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| +|version|[int](../types/int.md) | Yes|Vestion of set of parameters| +|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| + + + +### Type: [messages.DhConfig](../types/messages.DhConfig.md) + + +### Example: + +```php +$messages.dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'version' => int, 'random' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +messages.dhConfig={_='messages.dhConfig', g=int, p='bytes', version=int, random='bytes'} + +``` + + diff --git a/old_docs/API_docs_v27/constructors/messages.dhConfigNotModified.md b/old_docs/API_docs_v27/constructors/messages.dhConfigNotModified.md new file mode 100644 index 00000000..a9a95389 --- /dev/null +++ b/old_docs/API_docs_v27/constructors/messages.dhConfigNotModified.md @@ -0,0 +1,38 @@ +--- +title: messages.dhConfigNotModified +description: Configuring parameters did not change. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dhConfigNotModified +[Back to constructors index](index.md) + + + +Configuring parameters did not change. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| + + + +### Type: [messages.DhConfig](../types/messages.DhConfig.md) + + +### Example: + +```php +$messages.dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +messages.dhConfigNotModified={_='messages.dhConfigNotModified', random='bytes'} + +``` + + diff --git a/old_docs/API_docs_v27/constructors/messages.dialogs.md b/old_docs/API_docs_v27/constructors/messages.dialogs.md new file mode 100644 index 00000000..a72eabce --- /dev/null +++ b/old_docs/API_docs_v27/constructors/messages.dialogs.md @@ -0,0 +1,41 @@ +--- +title: messages.dialogs +description: Full list of chats with messages and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dialogs +[Back to constructors index](index.md) + + + +Full list of chats with messages and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Dialogs](../types/messages.Dialogs.md) + + +### Example: + +```php +$messages.dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.dialogs={_='messages.dialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v27/constructors/messages.dialogsSlice.md b/old_docs/API_docs_v27/constructors/messages.dialogsSlice.md new file mode 100644 index 00000000..26227d2c --- /dev/null +++ b/old_docs/API_docs_v27/constructors/messages.dialogsSlice.md @@ -0,0 +1,42 @@ +--- +title: messages.dialogsSlice +description: Incomplete list of dialogs with messages and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dialogsSlice +[Back to constructors index](index.md) + + + +Incomplete list of dialogs with messages and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of dialogs| +|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Dialogs](../types/messages.Dialogs.md) + + +### Example: + +```php +$messages.dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.dialogsSlice={_='messages.dialogsSlice', count=int, dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v27/constructors/messages.messageEmpty.md b/old_docs/API_docs_v27/constructors/messages.messageEmpty.md new file mode 100644 index 00000000..7c3bc06c --- /dev/null +++ b/old_docs/API_docs_v27/constructors/messages.messageEmpty.md @@ -0,0 +1,33 @@ +--- +title: messages.messageEmpty +description: Empty message +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.messageEmpty +[Back to constructors index](index.md) + + + +Empty message + + + + +### Type: [messages.Message](../types/messages.Message.md) + + +### Example: + +```php +$messages.messageEmpty = ['_' => 'messages.messageEmpty']; +``` + + +Or, if you're into Lua: + +```lua +messages.messageEmpty={_='messages.messageEmpty'} + +``` + + diff --git a/old_docs/API_docs_v27/constructors/messages.messages.md b/old_docs/API_docs_v27/constructors/messages.messages.md new file mode 100644 index 00000000..3af71dca --- /dev/null +++ b/old_docs/API_docs_v27/constructors/messages.messages.md @@ -0,0 +1,40 @@ +--- +title: messages.messages +description: Full list of messages with auxilary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.messages +[Back to constructors index](index.md) + + + +Full list of messages with auxilary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Messages](../types/messages.Messages.md) + + +### Example: + +```php +$messages.messages = ['_' => 'messages.messages', 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.messages={_='messages.messages', messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v27/constructors/messages.messagesSlice.md b/old_docs/API_docs_v27/constructors/messages.messagesSlice.md new file mode 100644 index 00000000..2fe91df0 --- /dev/null +++ b/old_docs/API_docs_v27/constructors/messages.messagesSlice.md @@ -0,0 +1,41 @@ +--- +title: messages.messagesSlice +description: Incomplete list of messages and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.messagesSlice +[Back to constructors index](index.md) + + + +Incomplete list of messages and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of messages in the list| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Messages](../types/messages.Messages.md) + + +### Example: + +```php +$messages.messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.messagesSlice={_='messages.messagesSlice', count=int, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v27/constructors/messages.sentEncryptedFile.md b/old_docs/API_docs_v27/constructors/messages.sentEncryptedFile.md new file mode 100644 index 00000000..1f0e43c6 --- /dev/null +++ b/old_docs/API_docs_v27/constructors/messages.sentEncryptedFile.md @@ -0,0 +1,39 @@ +--- +title: messages.sentEncryptedFile +description: Message with a file enclosure sent to a protected chat +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.sentEncryptedFile +[Back to constructors index](index.md) + + + +Message with a file enclosure sent to a protected chat + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Sending date| +|file|[EncryptedFile](../types/EncryptedFile.md) | Optional|Attached file| + + + +### Type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) + + +### Example: + +```php +$messages.sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile]; +``` + + +Or, if you're into Lua: + +```lua +messages.sentEncryptedFile={_='messages.sentEncryptedFile', date=int, file=EncryptedFile} + +``` + + diff --git a/old_docs/API_docs_v27/constructors/messages.sentEncryptedMessage.md b/old_docs/API_docs_v27/constructors/messages.sentEncryptedMessage.md new file mode 100644 index 00000000..3d5eb40c --- /dev/null +++ b/old_docs/API_docs_v27/constructors/messages.sentEncryptedMessage.md @@ -0,0 +1,38 @@ +--- +title: messages.sentEncryptedMessage +description: Message without file attachemts sent to an encrypted file. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.sentEncryptedMessage +[Back to constructors index](index.md) + + + +Message without file attachemts sent to an encrypted file. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Date of sending| + + + +### Type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) + + +### Example: + +```php +$messages.sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.sentEncryptedMessage={_='messages.sentEncryptedMessage', date=int} + +``` + + diff --git a/old_docs/API_docs_v27/constructors/messages.sentMessage.md b/old_docs/API_docs_v27/constructors/messages.sentMessage.md new file mode 100644 index 00000000..92232bdb --- /dev/null +++ b/old_docs/API_docs_v27/constructors/messages.sentMessage.md @@ -0,0 +1,42 @@ +--- +title: messages.sentMessage +description: Sent message +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.sentMessage +[Back to constructors index](index.md) + + + +Sent message + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|id|[int](../types/int.md) | Yes|ID| +|date|[int](../types/int.md) | Yes|Date| +|media|[MessageMedia](../types/MessageMedia.md) | Optional|Media| +|pts|[int](../types/int.md) | Yes|Pts| +|pts\_count|[int](../types/int.md) | Yes|Pts count| + + + +### Type: [messages.SentMessage](../types/messages.SentMessage.md) + + +### Example: + +```php +$messages.sentMessage = ['_' => 'messages.sentMessage', 'id' => int, 'date' => int, 'media' => MessageMedia, 'pts' => int, 'pts_count' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.sentMessage={_='messages.sentMessage', id=int, date=int, media=MessageMedia, pts=int, pts_count=int} + +``` + + diff --git a/old_docs/API_docs_v27/constructors/messages.sentMessageLink.md b/old_docs/API_docs_v27/constructors/messages.sentMessageLink.md new file mode 100644 index 00000000..40100491 --- /dev/null +++ b/old_docs/API_docs_v27/constructors/messages.sentMessageLink.md @@ -0,0 +1,44 @@ +--- +title: messages.sentMessageLink +description: Sent message link +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.sentMessageLink +[Back to constructors index](index.md) + + + +Sent message link + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|id|[int](../types/int.md) | Yes|ID| +|date|[int](../types/int.md) | Yes|Date| +|media|[MessageMedia](../types/MessageMedia.md) | Optional|Media| +|pts|[int](../types/int.md) | Yes|Pts| +|pts\_count|[int](../types/int.md) | Yes|Pts count| +|links|Array of [contacts.Link](../constructors/contacts.Link.md) | Yes|Links| +|seq|[int](../types/int.md) | Yes|Seq| + + + +### Type: [messages.SentMessage](../types/messages.SentMessage.md) + + +### Example: + +```php +$messages.sentMessageLink = ['_' => 'messages.sentMessageLink', 'id' => int, 'date' => int, 'media' => MessageMedia, 'pts' => int, 'pts_count' => int, 'links' => [contacts.Link, contacts.Link], 'seq' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.sentMessageLink={_='messages.sentMessageLink', id=int, date=int, media=MessageMedia, pts=int, pts_count=int, links={contacts.Link}, seq=int} + +``` + + diff --git a/old_docs/API_docs_v27/constructors/messages.stickers.md b/old_docs/API_docs_v27/constructors/messages.stickers.md new file mode 100644 index 00000000..310b64b0 --- /dev/null +++ b/old_docs/API_docs_v27/constructors/messages.stickers.md @@ -0,0 +1,39 @@ +--- +title: messages.stickers +description: Found stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickers +[Back to constructors index](index.md) + + + +Found stickers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[string](../types/string.md) | Yes|Hash| +|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| + + + +### Type: [messages.Stickers](../types/messages.Stickers.md) + + +### Example: + +```php +$messages.stickers = ['_' => 'messages.stickers', 'hash' => 'string', 'stickers' => [Document, Document]]; +``` + + +Or, if you're into Lua: + +```lua +messages.stickers={_='messages.stickers', hash='string', stickers={Document}} + +``` + + diff --git a/old_docs/API_docs_v27/constructors/messages.stickersNotModified.md b/old_docs/API_docs_v27/constructors/messages.stickersNotModified.md new file mode 100644 index 00000000..e8c7766c --- /dev/null +++ b/old_docs/API_docs_v27/constructors/messages.stickersNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.stickersNotModified +description: No new stickers were found for the given query +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickersNotModified +[Back to constructors index](index.md) + + + +No new stickers were found for the given query + + + + +### Type: [messages.Stickers](../types/messages.Stickers.md) + + +### Example: + +```php +$messages.stickersNotModified = ['_' => 'messages.stickersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.stickersNotModified={_='messages.stickersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v27/constructors/messages_affectedHistory.md b/old_docs/API_docs_v27/constructors/messages_affectedHistory.md deleted file mode 100644 index 449a7e3f..00000000 --- a/old_docs/API_docs_v27/constructors/messages_affectedHistory.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.affectedHistory -description: Affected part of communication history with the user or in a chat. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.affectedHistory -[Back to constructors index](index.md) - - - -Affected part of communication history with the user or in a chat. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| -|pts\_count|[int](../types/int.md) | Yes|Number of affected events| -|offset|[int](../types/int.md) | Yes|If a parameter contains positive value, it is necessary to repeat the method call using the given value; during the proceeding of all the history the value itself shall gradually decrease| - - - -### Type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) - - -### Example: - -```php -$messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_affectedHistory={_='messages.affectedHistory', pts=int, pts_count=int, offset=int} - -``` - - diff --git a/old_docs/API_docs_v27/constructors/messages_affectedMessages.md b/old_docs/API_docs_v27/constructors/messages_affectedMessages.md deleted file mode 100644 index 86760581..00000000 --- a/old_docs/API_docs_v27/constructors/messages_affectedMessages.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.affectedMessages -description: Events affected by operation -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.affectedMessages -[Back to constructors index](index.md) - - - -Events affected by operation - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|[Event count after generation](https://core.telegram.org/api/updates)| -|pts\_count|[int](../types/int.md) | Yes|[Number of events that were generated](https://core.telegram.org/api/updates)| - - - -### Type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) - - -### Example: - -```php -$messages_affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_affectedMessages={_='messages.affectedMessages', pts=int, pts_count=int} - -``` - - diff --git a/old_docs/API_docs_v27/constructors/messages_allStickers.md b/old_docs/API_docs_v27/constructors/messages_allStickers.md deleted file mode 100644 index a7d4b509..00000000 --- a/old_docs/API_docs_v27/constructors/messages_allStickers.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.allStickers -description: Info about all installed stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.allStickers -[Back to constructors index](index.md) - - - -Info about all installed stickers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[string](../types/string.md) | Yes|Hash| -|packs|Array of [StickerPack](../types/StickerPack.md) | Yes|Packs| -|documents|Array of [Document](../types/Document.md) | Yes|Documents| - - - -### Type: [messages\_AllStickers](../types/messages_AllStickers.md) - - -### Example: - -```php -$messages_allStickers = ['_' => 'messages.allStickers', 'hash' => 'string', 'packs' => [StickerPack, StickerPack], 'documents' => [Document, Document]]; -``` - - -Or, if you're into Lua: - -```lua -messages_allStickers={_='messages.allStickers', hash='string', packs={StickerPack}, documents={Document}} - -``` - - diff --git a/old_docs/API_docs_v27/constructors/messages_allStickersNotModified.md b/old_docs/API_docs_v27/constructors/messages_allStickersNotModified.md deleted file mode 100644 index c4da85ab..00000000 --- a/old_docs/API_docs_v27/constructors/messages_allStickersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.allStickersNotModified -description: Info about all installed stickers hasn't changed -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.allStickersNotModified -[Back to constructors index](index.md) - - - -Info about all installed stickers hasn't changed - - - - -### Type: [messages\_AllStickers](../types/messages_AllStickers.md) - - -### Example: - -```php -$messages_allStickersNotModified = ['_' => 'messages.allStickersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_allStickersNotModified={_='messages.allStickersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v27/constructors/messages_chatFull.md b/old_docs/API_docs_v27/constructors/messages_chatFull.md deleted file mode 100644 index 02f1acdf..00000000 --- a/old_docs/API_docs_v27/constructors/messages_chatFull.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.chatFull -description: Extended info on chat and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.chatFull -[Back to constructors index](index.md) - - - -Extended info on chat and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|full\_chat|[ChatFull](../types/ChatFull.md) | Yes|Extended info on a chat| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_ChatFull](../types/messages_ChatFull.md) - - -### Example: - -```php -$messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_chatFull={_='messages.chatFull', full_chat=ChatFull, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v27/constructors/messages_chats.md b/old_docs/API_docs_v27/constructors/messages_chats.md deleted file mode 100644 index ef3690a9..00000000 --- a/old_docs/API_docs_v27/constructors/messages_chats.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.chats -description: List of chats with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.chats -[Back to constructors index](index.md) - - - -List of chats with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| - - - -### Type: [messages\_Chats](../types/messages_Chats.md) - - -### Example: - -```php -$messages_chats = ['_' => 'messages.chats', 'chats' => [Chat, Chat]]; -``` - - -Or, if you're into Lua: - -```lua -messages_chats={_='messages.chats', chats={Chat}} - -``` - - diff --git a/old_docs/API_docs_v27/constructors/messages_dhConfig.md b/old_docs/API_docs_v27/constructors/messages_dhConfig.md deleted file mode 100644 index 42c2feb1..00000000 --- a/old_docs/API_docs_v27/constructors/messages_dhConfig.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: messages.dhConfig -description: New set of configuring parameters. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dhConfig -[Back to constructors index](index.md) - - - -New set of configuring parameters. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|g|[int](../types/int.md) | Yes|New value **prime**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| -|p|[bytes](../types/bytes.md) | Yes|New value **primitive root**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| -|version|[int](../types/int.md) | Yes|Vestion of set of parameters| -|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| - - - -### Type: [messages\_DhConfig](../types/messages_DhConfig.md) - - -### Example: - -```php -$messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'version' => int, 'random' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -messages_dhConfig={_='messages.dhConfig', g=int, p='bytes', version=int, random='bytes'} - -``` - - diff --git a/old_docs/API_docs_v27/constructors/messages_dhConfigNotModified.md b/old_docs/API_docs_v27/constructors/messages_dhConfigNotModified.md deleted file mode 100644 index 5bf64230..00000000 --- a/old_docs/API_docs_v27/constructors/messages_dhConfigNotModified.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.dhConfigNotModified -description: Configuring parameters did not change. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dhConfigNotModified -[Back to constructors index](index.md) - - - -Configuring parameters did not change. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| - - - -### Type: [messages\_DhConfig](../types/messages_DhConfig.md) - - -### Example: - -```php -$messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -messages_dhConfigNotModified={_='messages.dhConfigNotModified', random='bytes'} - -``` - - diff --git a/old_docs/API_docs_v27/constructors/messages_dialogs.md b/old_docs/API_docs_v27/constructors/messages_dialogs.md deleted file mode 100644 index e6a431b4..00000000 --- a/old_docs/API_docs_v27/constructors/messages_dialogs.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: messages.dialogs -description: Full list of chats with messages and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dialogs -[Back to constructors index](index.md) - - - -Full list of chats with messages and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Dialogs](../types/messages_Dialogs.md) - - -### Example: - -```php -$messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_dialogs={_='messages.dialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v27/constructors/messages_dialogsSlice.md b/old_docs/API_docs_v27/constructors/messages_dialogsSlice.md deleted file mode 100644 index f183b9a8..00000000 --- a/old_docs/API_docs_v27/constructors/messages_dialogsSlice.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: messages.dialogsSlice -description: Incomplete list of dialogs with messages and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dialogsSlice -[Back to constructors index](index.md) - - - -Incomplete list of dialogs with messages and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of dialogs| -|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Dialogs](../types/messages_Dialogs.md) - - -### Example: - -```php -$messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_dialogsSlice={_='messages.dialogsSlice', count=int, dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v27/constructors/messages_messageEmpty.md b/old_docs/API_docs_v27/constructors/messages_messageEmpty.md deleted file mode 100644 index 89000c02..00000000 --- a/old_docs/API_docs_v27/constructors/messages_messageEmpty.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.messageEmpty -description: Empty message -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.messageEmpty -[Back to constructors index](index.md) - - - -Empty message - - - - -### Type: [messages\_Message](../types/messages_Message.md) - - -### Example: - -```php -$messages_messageEmpty = ['_' => 'messages.messageEmpty']; -``` - - -Or, if you're into Lua: - -```lua -messages_messageEmpty={_='messages.messageEmpty'} - -``` - - diff --git a/old_docs/API_docs_v27/constructors/messages_messages.md b/old_docs/API_docs_v27/constructors/messages_messages.md deleted file mode 100644 index 3e369e1a..00000000 --- a/old_docs/API_docs_v27/constructors/messages_messages.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.messages -description: Full list of messages with auxilary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.messages -[Back to constructors index](index.md) - - - -Full list of messages with auxilary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Messages](../types/messages_Messages.md) - - -### Example: - -```php -$messages_messages = ['_' => 'messages.messages', 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_messages={_='messages.messages', messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v27/constructors/messages_messagesSlice.md b/old_docs/API_docs_v27/constructors/messages_messagesSlice.md deleted file mode 100644 index f9b8dc18..00000000 --- a/old_docs/API_docs_v27/constructors/messages_messagesSlice.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: messages.messagesSlice -description: Incomplete list of messages and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.messagesSlice -[Back to constructors index](index.md) - - - -Incomplete list of messages and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of messages in the list| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Messages](../types/messages_Messages.md) - - -### Example: - -```php -$messages_messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_messagesSlice={_='messages.messagesSlice', count=int, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v27/constructors/messages_sentEncryptedFile.md b/old_docs/API_docs_v27/constructors/messages_sentEncryptedFile.md deleted file mode 100644 index fdc2a11e..00000000 --- a/old_docs/API_docs_v27/constructors/messages_sentEncryptedFile.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.sentEncryptedFile -description: Message with a file enclosure sent to a protected chat -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.sentEncryptedFile -[Back to constructors index](index.md) - - - -Message with a file enclosure sent to a protected chat - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Sending date| -|file|[EncryptedFile](../types/EncryptedFile.md) | Optional|Attached file| - - - -### Type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) - - -### Example: - -```php -$messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile]; -``` - - -Or, if you're into Lua: - -```lua -messages_sentEncryptedFile={_='messages.sentEncryptedFile', date=int, file=EncryptedFile} - -``` - - diff --git a/old_docs/API_docs_v27/constructors/messages_sentEncryptedMessage.md b/old_docs/API_docs_v27/constructors/messages_sentEncryptedMessage.md deleted file mode 100644 index 36b2bbff..00000000 --- a/old_docs/API_docs_v27/constructors/messages_sentEncryptedMessage.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.sentEncryptedMessage -description: Message without file attachemts sent to an encrypted file. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.sentEncryptedMessage -[Back to constructors index](index.md) - - - -Message without file attachemts sent to an encrypted file. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Date of sending| - - - -### Type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) - - -### Example: - -```php -$messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_sentEncryptedMessage={_='messages.sentEncryptedMessage', date=int} - -``` - - diff --git a/old_docs/API_docs_v27/constructors/messages_sentMessage.md b/old_docs/API_docs_v27/constructors/messages_sentMessage.md deleted file mode 100644 index 50865f27..00000000 --- a/old_docs/API_docs_v27/constructors/messages_sentMessage.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: messages.sentMessage -description: Sent message -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.sentMessage -[Back to constructors index](index.md) - - - -Sent message - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|id|[int](../types/int.md) | Yes|ID| -|date|[int](../types/int.md) | Yes|Date| -|media|[MessageMedia](../types/MessageMedia.md) | Optional|Media| -|pts|[int](../types/int.md) | Yes|Pts| -|pts\_count|[int](../types/int.md) | Yes|Pts count| - - - -### Type: [messages\_SentMessage](../types/messages_SentMessage.md) - - -### Example: - -```php -$messages_sentMessage = ['_' => 'messages.sentMessage', 'id' => int, 'date' => int, 'media' => MessageMedia, 'pts' => int, 'pts_count' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_sentMessage={_='messages.sentMessage', id=int, date=int, media=MessageMedia, pts=int, pts_count=int} - -``` - - diff --git a/old_docs/API_docs_v27/constructors/messages_sentMessageLink.md b/old_docs/API_docs_v27/constructors/messages_sentMessageLink.md deleted file mode 100644 index d92fd7a2..00000000 --- a/old_docs/API_docs_v27/constructors/messages_sentMessageLink.md +++ /dev/null @@ -1,44 +0,0 @@ ---- -title: messages.sentMessageLink -description: Sent message link -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.sentMessageLink -[Back to constructors index](index.md) - - - -Sent message link - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|id|[int](../types/int.md) | Yes|ID| -|date|[int](../types/int.md) | Yes|Date| -|media|[MessageMedia](../types/MessageMedia.md) | Optional|Media| -|pts|[int](../types/int.md) | Yes|Pts| -|pts\_count|[int](../types/int.md) | Yes|Pts count| -|links|Array of [contacts\_Link](../types/contacts_Link.md) | Yes|Links| -|seq|[int](../types/int.md) | Yes|Seq| - - - -### Type: [messages\_SentMessage](../types/messages_SentMessage.md) - - -### Example: - -```php -$messages_sentMessageLink = ['_' => 'messages.sentMessageLink', 'id' => int, 'date' => int, 'media' => MessageMedia, 'pts' => int, 'pts_count' => int, 'links' => [contacts_Link, contacts_Link], 'seq' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_sentMessageLink={_='messages.sentMessageLink', id=int, date=int, media=MessageMedia, pts=int, pts_count=int, links={contacts_Link}, seq=int} - -``` - - diff --git a/old_docs/API_docs_v27/constructors/messages_stickers.md b/old_docs/API_docs_v27/constructors/messages_stickers.md deleted file mode 100644 index 1c007df2..00000000 --- a/old_docs/API_docs_v27/constructors/messages_stickers.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.stickers -description: Found stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickers -[Back to constructors index](index.md) - - - -Found stickers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[string](../types/string.md) | Yes|Hash| -|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| - - - -### Type: [messages\_Stickers](../types/messages_Stickers.md) - - -### Example: - -```php -$messages_stickers = ['_' => 'messages.stickers', 'hash' => 'string', 'stickers' => [Document, Document]]; -``` - - -Or, if you're into Lua: - -```lua -messages_stickers={_='messages.stickers', hash='string', stickers={Document}} - -``` - - diff --git a/old_docs/API_docs_v27/constructors/messages_stickersNotModified.md b/old_docs/API_docs_v27/constructors/messages_stickersNotModified.md deleted file mode 100644 index 3d434a79..00000000 --- a/old_docs/API_docs_v27/constructors/messages_stickersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.stickersNotModified -description: No new stickers were found for the given query -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickersNotModified -[Back to constructors index](index.md) - - - -No new stickers were found for the given query - - - - -### Type: [messages\_Stickers](../types/messages_Stickers.md) - - -### Example: - -```php -$messages_stickersNotModified = ['_' => 'messages.stickersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_stickersNotModified={_='messages.stickersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v27/constructors/photos.photo.md b/old_docs/API_docs_v27/constructors/photos.photo.md new file mode 100644 index 00000000..43d3efc7 --- /dev/null +++ b/old_docs/API_docs_v27/constructors/photos.photo.md @@ -0,0 +1,39 @@ +--- +title: photos.photo +description: Photo with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: photos.photo +[Back to constructors index](index.md) + + + +Photo with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|photo|[Photo](../types/Photo.md) | Optional|Photo| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [photos.Photo](../types/photos.Photo.md) + + +### Example: + +```php +$photos.photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +photos.photo={_='photos.photo', photo=Photo, users={User}} + +``` + + diff --git a/old_docs/API_docs_v27/constructors/photos.photos.md b/old_docs/API_docs_v27/constructors/photos.photos.md new file mode 100644 index 00000000..901a9693 --- /dev/null +++ b/old_docs/API_docs_v27/constructors/photos.photos.md @@ -0,0 +1,39 @@ +--- +title: photos.photos +description: Full list of photos with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: photos.photos +[Back to constructors index](index.md) + + + +Full list of photos with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [photos.Photos](../types/photos.Photos.md) + + +### Example: + +```php +$photos.photos = ['_' => 'photos.photos', 'photos' => [Photo, Photo], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +photos.photos={_='photos.photos', photos={Photo}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v27/constructors/photos.photosSlice.md b/old_docs/API_docs_v27/constructors/photos.photosSlice.md new file mode 100644 index 00000000..2cca3546 --- /dev/null +++ b/old_docs/API_docs_v27/constructors/photos.photosSlice.md @@ -0,0 +1,40 @@ +--- +title: photos.photosSlice +description: Incomplete list of photos with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: photos.photosSlice +[Back to constructors index](index.md) + + + +Incomplete list of photos with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of photos| +|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [photos.Photos](../types/photos.Photos.md) + + +### Example: + +```php +$photos.photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo, Photo], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +photos.photosSlice={_='photos.photosSlice', count=int, photos={Photo}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v27/constructors/photos_photo.md b/old_docs/API_docs_v27/constructors/photos_photo.md deleted file mode 100644 index d5ad61d9..00000000 --- a/old_docs/API_docs_v27/constructors/photos_photo.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: photos.photo -description: Photo with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: photos.photo -[Back to constructors index](index.md) - - - -Photo with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|photo|[Photo](../types/Photo.md) | Optional|Photo| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [photos\_Photo](../types/photos_Photo.md) - - -### Example: - -```php -$photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -photos_photo={_='photos.photo', photo=Photo, users={User}} - -``` - - diff --git a/old_docs/API_docs_v27/constructors/photos_photos.md b/old_docs/API_docs_v27/constructors/photos_photos.md deleted file mode 100644 index 6ae5d048..00000000 --- a/old_docs/API_docs_v27/constructors/photos_photos.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: photos.photos -description: Full list of photos with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: photos.photos -[Back to constructors index](index.md) - - - -Full list of photos with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [photos\_Photos](../types/photos_Photos.md) - - -### Example: - -```php -$photos_photos = ['_' => 'photos.photos', 'photos' => [Photo, Photo], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -photos_photos={_='photos.photos', photos={Photo}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v27/constructors/photos_photosSlice.md b/old_docs/API_docs_v27/constructors/photos_photosSlice.md deleted file mode 100644 index 5c465c21..00000000 --- a/old_docs/API_docs_v27/constructors/photos_photosSlice.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: photos.photosSlice -description: Incomplete list of photos with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: photos.photosSlice -[Back to constructors index](index.md) - - - -Incomplete list of photos with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of photos| -|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [photos\_Photos](../types/photos_Photos.md) - - -### Example: - -```php -$photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo, Photo], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -photos_photosSlice={_='photos.photosSlice', count=int, photos={Photo}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v27/constructors/storage.fileGif.md b/old_docs/API_docs_v27/constructors/storage.fileGif.md new file mode 100644 index 00000000..8193bd25 --- /dev/null +++ b/old_docs/API_docs_v27/constructors/storage.fileGif.md @@ -0,0 +1,33 @@ +--- +title: storage.fileGif +description: GIF image. MIME type: `image/gif`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileGif +[Back to constructors index](index.md) + + + +GIF image. MIME type: `image/gif`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileGif = ['_' => 'storage.fileGif']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileGif={_='storage.fileGif'} + +``` + + diff --git a/old_docs/API_docs_v27/constructors/storage.fileJpeg.md b/old_docs/API_docs_v27/constructors/storage.fileJpeg.md new file mode 100644 index 00000000..7f125963 --- /dev/null +++ b/old_docs/API_docs_v27/constructors/storage.fileJpeg.md @@ -0,0 +1,33 @@ +--- +title: storage.fileJpeg +description: JPEG image. MIME type: `image/jpeg`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileJpeg +[Back to constructors index](index.md) + + + +JPEG image. MIME type: `image/jpeg`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileJpeg = ['_' => 'storage.fileJpeg']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileJpeg={_='storage.fileJpeg'} + +``` + + diff --git a/old_docs/API_docs_v27/constructors/storage.fileMov.md b/old_docs/API_docs_v27/constructors/storage.fileMov.md new file mode 100644 index 00000000..cb3742e0 --- /dev/null +++ b/old_docs/API_docs_v27/constructors/storage.fileMov.md @@ -0,0 +1,33 @@ +--- +title: storage.fileMov +description: Quicktime video. MIME type: `video/quicktime`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileMov +[Back to constructors index](index.md) + + + +Quicktime video. MIME type: `video/quicktime`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileMov = ['_' => 'storage.fileMov']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileMov={_='storage.fileMov'} + +``` + + diff --git a/old_docs/API_docs_v27/constructors/storage.fileMp3.md b/old_docs/API_docs_v27/constructors/storage.fileMp3.md new file mode 100644 index 00000000..617f2d39 --- /dev/null +++ b/old_docs/API_docs_v27/constructors/storage.fileMp3.md @@ -0,0 +1,33 @@ +--- +title: storage.fileMp3 +description: Mp3 audio. MIME type: `audio/mpeg`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileMp3 +[Back to constructors index](index.md) + + + +Mp3 audio. MIME type: `audio/mpeg`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileMp3 = ['_' => 'storage.fileMp3']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileMp3={_='storage.fileMp3'} + +``` + + diff --git a/old_docs/API_docs_v27/constructors/storage.fileMp4.md b/old_docs/API_docs_v27/constructors/storage.fileMp4.md new file mode 100644 index 00000000..37038176 --- /dev/null +++ b/old_docs/API_docs_v27/constructors/storage.fileMp4.md @@ -0,0 +1,33 @@ +--- +title: storage.fileMp4 +description: MPEG-4 video. MIME type: `video/mp4`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileMp4 +[Back to constructors index](index.md) + + + +MPEG-4 video. MIME type: `video/mp4`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileMp4 = ['_' => 'storage.fileMp4']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileMp4={_='storage.fileMp4'} + +``` + + diff --git a/old_docs/API_docs_v27/constructors/storage.filePartial.md b/old_docs/API_docs_v27/constructors/storage.filePartial.md new file mode 100644 index 00000000..98779e71 --- /dev/null +++ b/old_docs/API_docs_v27/constructors/storage.filePartial.md @@ -0,0 +1,33 @@ +--- +title: storage.filePartial +description: Part of a bigger file. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.filePartial +[Back to constructors index](index.md) + + + +Part of a bigger file. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.filePartial = ['_' => 'storage.filePartial']; +``` + + +Or, if you're into Lua: + +```lua +storage.filePartial={_='storage.filePartial'} + +``` + + diff --git a/old_docs/API_docs_v27/constructors/storage.filePdf.md b/old_docs/API_docs_v27/constructors/storage.filePdf.md new file mode 100644 index 00000000..136c0614 --- /dev/null +++ b/old_docs/API_docs_v27/constructors/storage.filePdf.md @@ -0,0 +1,33 @@ +--- +title: storage.filePdf +description: PDF document image. MIME type: `application/pdf`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.filePdf +[Back to constructors index](index.md) + + + +PDF document image. MIME type: `application/pdf`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.filePdf = ['_' => 'storage.filePdf']; +``` + + +Or, if you're into Lua: + +```lua +storage.filePdf={_='storage.filePdf'} + +``` + + diff --git a/old_docs/API_docs_v27/constructors/storage.filePng.md b/old_docs/API_docs_v27/constructors/storage.filePng.md new file mode 100644 index 00000000..db01ce0e --- /dev/null +++ b/old_docs/API_docs_v27/constructors/storage.filePng.md @@ -0,0 +1,33 @@ +--- +title: storage.filePng +description: PNG image. MIME type: `image/png`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.filePng +[Back to constructors index](index.md) + + + +PNG image. MIME type: `image/png`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.filePng = ['_' => 'storage.filePng']; +``` + + +Or, if you're into Lua: + +```lua +storage.filePng={_='storage.filePng'} + +``` + + diff --git a/old_docs/API_docs_v27/constructors/storage.fileUnknown.md b/old_docs/API_docs_v27/constructors/storage.fileUnknown.md new file mode 100644 index 00000000..26f0a5ae --- /dev/null +++ b/old_docs/API_docs_v27/constructors/storage.fileUnknown.md @@ -0,0 +1,33 @@ +--- +title: storage.fileUnknown +description: Unknown type. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileUnknown +[Back to constructors index](index.md) + + + +Unknown type. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileUnknown = ['_' => 'storage.fileUnknown']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileUnknown={_='storage.fileUnknown'} + +``` + + diff --git a/old_docs/API_docs_v27/constructors/storage.fileWebp.md b/old_docs/API_docs_v27/constructors/storage.fileWebp.md new file mode 100644 index 00000000..63c9ded1 --- /dev/null +++ b/old_docs/API_docs_v27/constructors/storage.fileWebp.md @@ -0,0 +1,33 @@ +--- +title: storage.fileWebp +description: WEBP image. MIME type: `image/webp`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileWebp +[Back to constructors index](index.md) + + + +WEBP image. MIME type: `image/webp`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileWebp = ['_' => 'storage.fileWebp']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileWebp={_='storage.fileWebp'} + +``` + + diff --git a/old_docs/API_docs_v27/constructors/storage_fileGif.md b/old_docs/API_docs_v27/constructors/storage_fileGif.md deleted file mode 100644 index 218c7491..00000000 --- a/old_docs/API_docs_v27/constructors/storage_fileGif.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileGif -description: GIF image. MIME type: `image/gif`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileGif -[Back to constructors index](index.md) - - - -GIF image. MIME type: `image/gif`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileGif = ['_' => 'storage.fileGif']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileGif={_='storage.fileGif'} - -``` - - diff --git a/old_docs/API_docs_v27/constructors/storage_fileJpeg.md b/old_docs/API_docs_v27/constructors/storage_fileJpeg.md deleted file mode 100644 index 925531cd..00000000 --- a/old_docs/API_docs_v27/constructors/storage_fileJpeg.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileJpeg -description: JPEG image. MIME type: `image/jpeg`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileJpeg -[Back to constructors index](index.md) - - - -JPEG image. MIME type: `image/jpeg`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileJpeg = ['_' => 'storage.fileJpeg']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileJpeg={_='storage.fileJpeg'} - -``` - - diff --git a/old_docs/API_docs_v27/constructors/storage_fileMov.md b/old_docs/API_docs_v27/constructors/storage_fileMov.md deleted file mode 100644 index eaf2a6ff..00000000 --- a/old_docs/API_docs_v27/constructors/storage_fileMov.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileMov -description: Quicktime video. MIME type: `video/quicktime`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileMov -[Back to constructors index](index.md) - - - -Quicktime video. MIME type: `video/quicktime`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileMov = ['_' => 'storage.fileMov']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileMov={_='storage.fileMov'} - -``` - - diff --git a/old_docs/API_docs_v27/constructors/storage_fileMp3.md b/old_docs/API_docs_v27/constructors/storage_fileMp3.md deleted file mode 100644 index 9afcefbb..00000000 --- a/old_docs/API_docs_v27/constructors/storage_fileMp3.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileMp3 -description: Mp3 audio. MIME type: `audio/mpeg`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileMp3 -[Back to constructors index](index.md) - - - -Mp3 audio. MIME type: `audio/mpeg`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileMp3 = ['_' => 'storage.fileMp3']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileMp3={_='storage.fileMp3'} - -``` - - diff --git a/old_docs/API_docs_v27/constructors/storage_fileMp4.md b/old_docs/API_docs_v27/constructors/storage_fileMp4.md deleted file mode 100644 index cdc0e783..00000000 --- a/old_docs/API_docs_v27/constructors/storage_fileMp4.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileMp4 -description: MPEG-4 video. MIME type: `video/mp4`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileMp4 -[Back to constructors index](index.md) - - - -MPEG-4 video. MIME type: `video/mp4`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileMp4 = ['_' => 'storage.fileMp4']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileMp4={_='storage.fileMp4'} - -``` - - diff --git a/old_docs/API_docs_v27/constructors/storage_filePartial.md b/old_docs/API_docs_v27/constructors/storage_filePartial.md deleted file mode 100644 index 9bfadf63..00000000 --- a/old_docs/API_docs_v27/constructors/storage_filePartial.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.filePartial -description: Part of a bigger file. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.filePartial -[Back to constructors index](index.md) - - - -Part of a bigger file. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_filePartial = ['_' => 'storage.filePartial']; -``` - - -Or, if you're into Lua: - -```lua -storage_filePartial={_='storage.filePartial'} - -``` - - diff --git a/old_docs/API_docs_v27/constructors/storage_filePdf.md b/old_docs/API_docs_v27/constructors/storage_filePdf.md deleted file mode 100644 index efb022cc..00000000 --- a/old_docs/API_docs_v27/constructors/storage_filePdf.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.filePdf -description: PDF document image. MIME type: `application/pdf`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.filePdf -[Back to constructors index](index.md) - - - -PDF document image. MIME type: `application/pdf`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_filePdf = ['_' => 'storage.filePdf']; -``` - - -Or, if you're into Lua: - -```lua -storage_filePdf={_='storage.filePdf'} - -``` - - diff --git a/old_docs/API_docs_v27/constructors/storage_filePng.md b/old_docs/API_docs_v27/constructors/storage_filePng.md deleted file mode 100644 index 412759e4..00000000 --- a/old_docs/API_docs_v27/constructors/storage_filePng.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.filePng -description: PNG image. MIME type: `image/png`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.filePng -[Back to constructors index](index.md) - - - -PNG image. MIME type: `image/png`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_filePng = ['_' => 'storage.filePng']; -``` - - -Or, if you're into Lua: - -```lua -storage_filePng={_='storage.filePng'} - -``` - - diff --git a/old_docs/API_docs_v27/constructors/storage_fileUnknown.md b/old_docs/API_docs_v27/constructors/storage_fileUnknown.md deleted file mode 100644 index ed33dd5e..00000000 --- a/old_docs/API_docs_v27/constructors/storage_fileUnknown.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileUnknown -description: Unknown type. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileUnknown -[Back to constructors index](index.md) - - - -Unknown type. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileUnknown = ['_' => 'storage.fileUnknown']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileUnknown={_='storage.fileUnknown'} - -``` - - diff --git a/old_docs/API_docs_v27/constructors/storage_fileWebp.md b/old_docs/API_docs_v27/constructors/storage_fileWebp.md deleted file mode 100644 index 04dcad74..00000000 --- a/old_docs/API_docs_v27/constructors/storage_fileWebp.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileWebp -description: WEBP image. MIME type: `image/webp`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileWebp -[Back to constructors index](index.md) - - - -WEBP image. MIME type: `image/webp`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileWebp = ['_' => 'storage.fileWebp']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileWebp={_='storage.fileWebp'} - -``` - - diff --git a/old_docs/API_docs_v27/constructors/updates.difference.md b/old_docs/API_docs_v27/constructors/updates.difference.md new file mode 100644 index 00000000..82541b51 --- /dev/null +++ b/old_docs/API_docs_v27/constructors/updates.difference.md @@ -0,0 +1,43 @@ +--- +title: updates.difference +description: Full list of occurred events. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.difference +[Back to constructors index](index.md) + + + +Full list of occurred events. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| +|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| +|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| +|state|[updates.State](../constructors/updates.State.md) | Yes|Current state| + + + +### Type: [updates.Difference](../types/updates.Difference.md) + + +### Example: + +```php +$updates.difference = ['_' => 'updates.difference', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates.State]; +``` + + +Or, if you're into Lua: + +```lua +updates.difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates.State} + +``` + + diff --git a/old_docs/API_docs_v27/constructors/updates.differenceEmpty.md b/old_docs/API_docs_v27/constructors/updates.differenceEmpty.md new file mode 100644 index 00000000..a9dc3bd0 --- /dev/null +++ b/old_docs/API_docs_v27/constructors/updates.differenceEmpty.md @@ -0,0 +1,39 @@ +--- +title: updates.differenceEmpty +description: No events. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.differenceEmpty +[Back to constructors index](index.md) + + + +No events. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Current date| +|seq|[int](../types/int.md) | Yes|Number of sent updates| + + + +### Type: [updates.Difference](../types/updates.Difference.md) + + +### Example: + +```php +$updates.differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int]; +``` + + +Or, if you're into Lua: + +```lua +updates.differenceEmpty={_='updates.differenceEmpty', date=int, seq=int} + +``` + + diff --git a/old_docs/API_docs_v27/constructors/updates.differenceSlice.md b/old_docs/API_docs_v27/constructors/updates.differenceSlice.md new file mode 100644 index 00000000..9daf7a75 --- /dev/null +++ b/old_docs/API_docs_v27/constructors/updates.differenceSlice.md @@ -0,0 +1,43 @@ +--- +title: updates.differenceSlice +description: Incomplete list of occurred events. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.differenceSlice +[Back to constructors index](index.md) + + + +Incomplete list of occurred events. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| +|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| +|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| +|intermediate\_state|[updates.State](../constructors/updates.State.md) | Yes|Intermediary state| + + + +### Type: [updates.Difference](../types/updates.Difference.md) + + +### Example: + +```php +$updates.differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'intermediate_state' => updates.State]; +``` + + +Or, if you're into Lua: + +```lua +updates.differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates.State} + +``` + + diff --git a/old_docs/API_docs_v27/constructors/updates.state.md b/old_docs/API_docs_v27/constructors/updates.state.md new file mode 100644 index 00000000..abe9ddbb --- /dev/null +++ b/old_docs/API_docs_v27/constructors/updates.state.md @@ -0,0 +1,42 @@ +--- +title: updates.state +description: Updates state. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.state +[Back to constructors index](index.md) + + + +Updates state. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| +|qts|[int](../types/int.md) | Yes|Position in a sequence of updates in secret chats. For further detailes refer to article [secret chats](https://core.telegram.org/api/end-to-end)
Parameter was added in [eigth layer](https://core.telegram.org/api/layers#layer-8).| +|date|[int](../types/int.md) | Yes|Date of condition| +|seq|[int](../types/int.md) | Yes|Number of sent updates| +|unread\_count|[int](../types/int.md) | Yes|Number of unread messages| + + + +### Type: [updates.State](../types/updates.State.md) + + +### Example: + +```php +$updates.state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int]; +``` + + +Or, if you're into Lua: + +```lua +updates.state={_='updates.state', pts=int, qts=int, date=int, seq=int, unread_count=int} + +``` + + diff --git a/old_docs/API_docs_v27/constructors/updates_difference.md b/old_docs/API_docs_v27/constructors/updates_difference.md deleted file mode 100644 index 71ac7d4c..00000000 --- a/old_docs/API_docs_v27/constructors/updates_difference.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: updates.difference -description: Full list of occurred events. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.difference -[Back to constructors index](index.md) - - - -Full list of occurred events. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| -|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| -|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| -|state|[updates\_State](../types/updates_State.md) | Yes|Current state| - - - -### Type: [updates\_Difference](../types/updates_Difference.md) - - -### Example: - -```php -$updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates_State]; -``` - - -Or, if you're into Lua: - -```lua -updates_difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates_State} - -``` - - diff --git a/old_docs/API_docs_v27/constructors/updates_differenceEmpty.md b/old_docs/API_docs_v27/constructors/updates_differenceEmpty.md deleted file mode 100644 index c3c95c5a..00000000 --- a/old_docs/API_docs_v27/constructors/updates_differenceEmpty.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: updates.differenceEmpty -description: No events. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.differenceEmpty -[Back to constructors index](index.md) - - - -No events. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Current date| -|seq|[int](../types/int.md) | Yes|Number of sent updates| - - - -### Type: [updates\_Difference](../types/updates_Difference.md) - - -### Example: - -```php -$updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int]; -``` - - -Or, if you're into Lua: - -```lua -updates_differenceEmpty={_='updates.differenceEmpty', date=int, seq=int} - -``` - - diff --git a/old_docs/API_docs_v27/constructors/updates_differenceSlice.md b/old_docs/API_docs_v27/constructors/updates_differenceSlice.md deleted file mode 100644 index 8b12a369..00000000 --- a/old_docs/API_docs_v27/constructors/updates_differenceSlice.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: updates.differenceSlice -description: Incomplete list of occurred events. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.differenceSlice -[Back to constructors index](index.md) - - - -Incomplete list of occurred events. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| -|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| -|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| -|intermediate\_state|[updates\_State](../types/updates_State.md) | Yes|Intermediary state| - - - -### Type: [updates\_Difference](../types/updates_Difference.md) - - -### Example: - -```php -$updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'intermediate_state' => updates_State]; -``` - - -Or, if you're into Lua: - -```lua -updates_differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates_State} - -``` - - diff --git a/old_docs/API_docs_v27/constructors/updates_state.md b/old_docs/API_docs_v27/constructors/updates_state.md deleted file mode 100644 index ef3698e2..00000000 --- a/old_docs/API_docs_v27/constructors/updates_state.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: updates.state -description: Updates state. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.state -[Back to constructors index](index.md) - - - -Updates state. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| -|qts|[int](../types/int.md) | Yes|Position in a sequence of updates in secret chats. For further detailes refer to article [secret chats](https://core.telegram.org/api/end-to-end)
Parameter was added in [eigth layer](https://core.telegram.org/api/layers#layer-8).| -|date|[int](../types/int.md) | Yes|Date of condition| -|seq|[int](../types/int.md) | Yes|Number of sent updates| -|unread\_count|[int](../types/int.md) | Yes|Number of unread messages| - - - -### Type: [updates\_State](../types/updates_State.md) - - -### Example: - -```php -$updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int]; -``` - - -Or, if you're into Lua: - -```lua -updates_state={_='updates.state', pts=int, qts=int, date=int, seq=int, unread_count=int} - -``` - - diff --git a/old_docs/API_docs_v27/constructors/upload.file.md b/old_docs/API_docs_v27/constructors/upload.file.md new file mode 100644 index 00000000..145a4c24 --- /dev/null +++ b/old_docs/API_docs_v27/constructors/upload.file.md @@ -0,0 +1,40 @@ +--- +title: upload.file +description: File content. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: upload.file +[Back to constructors index](index.md) + + + +File content. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|type|[storage.FileType](../constructors/storage.FileType.md) | Yes|File type| +|mtime|[int](../types/int.md) | Yes|Modification type| +|bytes|[bytes](../types/bytes.md) | Yes|Binary data, file content| + + + +### Type: [upload.File](../types/upload.File.md) + + +### Example: + +```php +$upload.file = ['_' => 'upload.file', 'type' => storage.FileType, 'mtime' => int, 'bytes' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +upload.file={_='upload.file', type=storage.FileType, mtime=int, bytes='bytes'} + +``` + + diff --git a/old_docs/API_docs_v27/constructors/upload_file.md b/old_docs/API_docs_v27/constructors/upload_file.md deleted file mode 100644 index 1e07d9fb..00000000 --- a/old_docs/API_docs_v27/constructors/upload_file.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: upload.file -description: File content. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: upload.file -[Back to constructors index](index.md) - - - -File content. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|type|[storage\_FileType](../types/storage_FileType.md) | Yes|File type| -|mtime|[int](../types/int.md) | Yes|Modification type| -|bytes|[bytes](../types/bytes.md) | Yes|Binary data, file content| - - - -### Type: [upload\_File](../types/upload_File.md) - - -### Example: - -```php -$upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int, 'bytes' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -upload_file={_='upload.file', type=storage_FileType, mtime=int, bytes='bytes'} - -``` - - diff --git a/old_docs/API_docs_v27/constructors/userFull.md b/old_docs/API_docs_v27/constructors/userFull.md index b6768936..c8584760 100644 --- a/old_docs/API_docs_v27/constructors/userFull.md +++ b/old_docs/API_docs_v27/constructors/userFull.md @@ -15,7 +15,7 @@ Extended user info | Name | Type | Required | Description | |----------|---------------|----------|-------------| |user|[User](../types/User.md) | Optional|Remaining user info| -|link|[contacts\_Link](../types/contacts_Link.md) | Yes|Link| +|link|[contacts.Link](../constructors/contacts.Link.md) | Yes|Link| |profile\_photo|[Photo](../types/Photo.md) | Optional|Profile photo| |notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Optional|Notification settings| |blocked|[Bool](../types/Bool.md) | Yes|Blocked?| @@ -30,14 +30,14 @@ Extended user info ### Example: ```php -$userFull = ['_' => 'userFull', 'user' => User, 'link' => contacts_Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'blocked' => Bool, 'real_first_name' => 'string', 'real_last_name' => 'string']; +$userFull = ['_' => 'userFull', 'user' => User, 'link' => contacts.Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'blocked' => Bool, 'real_first_name' => 'string', 'real_last_name' => 'string']; ``` Or, if you're into Lua: ```lua -userFull={_='userFull', user=User, link=contacts_Link, profile_photo=Photo, notify_settings=PeerNotifySettings, blocked=Bool, real_first_name='string', real_last_name='string'} +userFull={_='userFull', user=User, link=contacts.Link, profile_photo=Photo, notify_settings=PeerNotifySettings, blocked=Bool, real_first_name='string', real_last_name='string'} ``` diff --git a/old_docs/API_docs_v27/methods/account.getAuthorizations.md b/old_docs/API_docs_v27/methods/account.getAuthorizations.md index f69c130a..fad3a7ae 100644 --- a/old_docs/API_docs_v27/methods/account.getAuthorizations.md +++ b/old_docs/API_docs_v27/methods/account.getAuthorizations.md @@ -11,7 +11,7 @@ Get logged-in sessions -### Return type: [account\_Authorizations](../types/account_Authorizations.md) +### Return type: [account.Authorizations](../types/account.Authorizations.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_Authorizations = $MadelineProto->account->getAuthorizations(); +$account.Authorizations = $MadelineProto->account->getAuthorizations(); ``` Or, if you're into Lua: ```lua -account_Authorizations = account.getAuthorizations({}) +account.Authorizations = account.getAuthorizations({}) ``` diff --git a/old_docs/API_docs_v27/methods/account.getPassword.md b/old_docs/API_docs_v27/methods/account.getPassword.md index eed4aee3..621271b6 100644 --- a/old_docs/API_docs_v27/methods/account.getPassword.md +++ b/old_docs/API_docs_v27/methods/account.getPassword.md @@ -11,7 +11,7 @@ Obtain configuration for two-factor authorization with password -### Return type: [account\_Password](../types/account_Password.md) +### Return type: [account.Password](../types/account.Password.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_Password = $MadelineProto->account->getPassword(); +$account.Password = $MadelineProto->account->getPassword(); ``` Or, if you're into Lua: ```lua -account_Password = account.getPassword({}) +account.Password = account.getPassword({}) ``` diff --git a/old_docs/API_docs_v27/methods/account.getPasswordSettings.md b/old_docs/API_docs_v27/methods/account.getPasswordSettings.md index dcdae61a..3d3cce08 100644 --- a/old_docs/API_docs_v27/methods/account.getPasswordSettings.md +++ b/old_docs/API_docs_v27/methods/account.getPasswordSettings.md @@ -16,7 +16,7 @@ You cannot use this method directly; use $MadelineProto->update_2fa($params), in |current\_password\_hash|[bytes](../types/bytes.md) | You cannot use this method directly; use $MadelineProto->update_2fa($params), instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [account\_PasswordSettings](../types/account_PasswordSettings.md) +### Return type: [account.PasswordSettings](../types/account.PasswordSettings.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_PasswordSettings = $MadelineProto->account->getPasswordSettings(['current_password_hash' => 'bytes', ]); +$account.PasswordSettings = $MadelineProto->account->getPasswordSettings(['current_password_hash' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -account_PasswordSettings = account.getPasswordSettings({current_password_hash='bytes', }) +account.PasswordSettings = account.getPasswordSettings({current_password_hash='bytes', }) ``` ### Errors diff --git a/old_docs/API_docs_v27/methods/account.getPrivacy.md b/old_docs/API_docs_v27/methods/account.getPrivacy.md index 6a240129..e20c292c 100644 --- a/old_docs/API_docs_v27/methods/account.getPrivacy.md +++ b/old_docs/API_docs_v27/methods/account.getPrivacy.md @@ -16,7 +16,7 @@ Get privacy settings of current account |key|[InputPrivacyKey](../types/InputPrivacyKey.md) | Peer category whose privacy settings should be fetched | Yes| -### Return type: [account\_PrivacyRules](../types/account_PrivacyRules.md) +### Return type: [account.PrivacyRules](../types/account.PrivacyRules.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_PrivacyRules = $MadelineProto->account->getPrivacy(['key' => InputPrivacyKey, ]); +$account.PrivacyRules = $MadelineProto->account->getPrivacy(['key' => InputPrivacyKey, ]); ``` Or, if you're into Lua: ```lua -account_PrivacyRules = account.getPrivacy({key=InputPrivacyKey, }) +account.PrivacyRules = account.getPrivacy({key=InputPrivacyKey, }) ``` ### Errors diff --git a/old_docs/API_docs_v27/methods/account.sendChangePhoneCode.md b/old_docs/API_docs_v27/methods/account.sendChangePhoneCode.md index 169fa15b..e70372de 100644 --- a/old_docs/API_docs_v27/methods/account.sendChangePhoneCode.md +++ b/old_docs/API_docs_v27/methods/account.sendChangePhoneCode.md @@ -16,7 +16,7 @@ Verify a new phone number to associate to the current account |phone\_number|[string](../types/string.md) | New phone number | Yes| -### Return type: [account\_SentChangePhoneCode](../types/account_SentChangePhoneCode.md) +### Return type: [account.SentChangePhoneCode](../types/account.SentChangePhoneCode.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_SentChangePhoneCode = $MadelineProto->account->sendChangePhoneCode(['phone_number' => 'string', ]); +$account.SentChangePhoneCode = $MadelineProto->account->sendChangePhoneCode(['phone_number' => 'string', ]); ``` Or, if you're into Lua: ```lua -account_SentChangePhoneCode = account.sendChangePhoneCode({phone_number='string', }) +account.SentChangePhoneCode = account.sendChangePhoneCode({phone_number='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v27/methods/account.setPrivacy.md b/old_docs/API_docs_v27/methods/account.setPrivacy.md index 7c4cfba7..096d373e 100644 --- a/old_docs/API_docs_v27/methods/account.setPrivacy.md +++ b/old_docs/API_docs_v27/methods/account.setPrivacy.md @@ -17,7 +17,7 @@ Change privacy settings of current account |rules|Array of [InputPrivacyRule](../types/InputPrivacyRule.md) | Privacy settings | Yes| -### Return type: [account\_PrivacyRules](../types/account_PrivacyRules.md) +### Return type: [account.PrivacyRules](../types/account.PrivacyRules.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_PrivacyRules = $MadelineProto->account->setPrivacy(['key' => InputPrivacyKey, 'rules' => [InputPrivacyRule, InputPrivacyRule], ]); +$account.PrivacyRules = $MadelineProto->account->setPrivacy(['key' => InputPrivacyKey, 'rules' => [InputPrivacyRule, InputPrivacyRule], ]); ``` Or, if you're into Lua: ```lua -account_PrivacyRules = account.setPrivacy({key=InputPrivacyKey, rules={InputPrivacyRule}, }) +account.PrivacyRules = account.setPrivacy({key=InputPrivacyKey, rules={InputPrivacyRule}, }) ``` ### Errors diff --git a/old_docs/API_docs_v27/methods/api_README.md b/old_docs/API_docs_v27/methods/api_README.md index b6352c31..50e05454 100644 --- a/old_docs/API_docs_v27/methods/api_README.md +++ b/old_docs/API_docs_v27/methods/api_README.md @@ -52,7 +52,7 @@ $MadelineProto->[account->getAccountTTL](account.getAccountTTL.md)(\[\]) === [$A ***

-$MadelineProto->[account->getAuthorizations](account.getAuthorizations.md)(\[\]) === [$account\_Authorizations](../types/account_Authorizations.md) +$MadelineProto->[account->getAuthorizations](account.getAuthorizations.md)(\[\]) === [$account.Authorizations](../types/account.Authorizations.md) ***

@@ -60,15 +60,15 @@ $MadelineProto->[account->getNotifySettings](account.getNotifySettings.md)(\['pe ***

-$MadelineProto->[account->getPassword](account.getPassword.md)(\[\]) === [$account\_Password](../types/account_Password.md) +$MadelineProto->[account->getPassword](account.getPassword.md)(\[\]) === [$account.Password](../types/account.Password.md) ***

-$MadelineProto->[account->getPasswordSettings](account.getPasswordSettings.md)(\['current_password_hash' => [bytes](../types/bytes.md), \]) === [$account\_PasswordSettings](../types/account_PasswordSettings.md) +$MadelineProto->[account->getPasswordSettings](account.getPasswordSettings.md)(\['current_password_hash' => [bytes](../types/bytes.md), \]) === [$account.PasswordSettings](../types/account.PasswordSettings.md) ***

-$MadelineProto->[account->getPrivacy](account.getPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), \]) === [$account\_PrivacyRules](../types/account_PrivacyRules.md) +$MadelineProto->[account->getPrivacy](account.getPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), \]) === [$account.PrivacyRules](../types/account.PrivacyRules.md) ***

@@ -88,7 +88,7 @@ $MadelineProto->[account->resetNotifySettings](account.resetNotifySettings.md)(\ ***

-$MadelineProto->[account->sendChangePhoneCode](account.sendChangePhoneCode.md)(\['phone_number' => [string](../types/string.md), \]) === [$account\_SentChangePhoneCode](../types/account_SentChangePhoneCode.md) +$MadelineProto->[account->sendChangePhoneCode](account.sendChangePhoneCode.md)(\['phone_number' => [string](../types/string.md), \]) === [$account.SentChangePhoneCode](../types/account.SentChangePhoneCode.md) ***

@@ -96,7 +96,7 @@ $MadelineProto->[account->setAccountTTL](account.setAccountTTL.md)(\['ttl' => [A ***

-$MadelineProto->[account->setPrivacy](account.setPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), 'rules' => \[[InputPrivacyRule](../types/InputPrivacyRule.md)\], \]) === [$account\_PrivacyRules](../types/account_PrivacyRules.md) +$MadelineProto->[account->setPrivacy](account.setPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), 'rules' => \[[InputPrivacyRule](../types/InputPrivacyRule.md)\], \]) === [$account.PrivacyRules](../types/account.PrivacyRules.md) ***

@@ -132,19 +132,19 @@ $MadelineProto->[auth->bindTempAuthKey](auth.bindTempAuthKey.md)(\['perm_auth_ke ***

-$MadelineProto->[auth->checkPassword](auth.checkPassword.md)(\['password_hash' => [bytes](../types/bytes.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->checkPassword](auth.checkPassword.md)(\['password_hash' => [bytes](../types/bytes.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

-$MadelineProto->[auth->checkPhone](auth.checkPhone.md)(\['phone_number' => [string](../types/string.md), \]) === [$auth\_CheckedPhone](../types/auth_CheckedPhone.md) +$MadelineProto->[auth->checkPhone](auth.checkPhone.md)(\['phone_number' => [string](../types/string.md), \]) === [$auth.CheckedPhone](../types/auth.CheckedPhone.md) ***

-$MadelineProto->[auth->exportAuthorization](auth.exportAuthorization.md)(\['dc_id' => [int](../types/int.md), \]) === [$auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) +$MadelineProto->[auth->exportAuthorization](auth.exportAuthorization.md)(\['dc_id' => [int](../types/int.md), \]) === [$auth.ExportedAuthorization](../types/auth.ExportedAuthorization.md) ***

-$MadelineProto->[auth->importAuthorization](auth.importAuthorization.md)(\['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->importAuthorization](auth.importAuthorization.md)(\['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

@@ -152,11 +152,11 @@ $MadelineProto->[auth->logOut](auth.logOut.md)(\[\]) === [$Bool](../types/Bool.m ***

-$MadelineProto->[auth->recoverPassword](auth.recoverPassword.md)(\['code' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->recoverPassword](auth.recoverPassword.md)(\['code' => [string](../types/string.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

-$MadelineProto->[auth->requestPasswordRecovery](auth.requestPasswordRecovery.md)(\[\]) === [$auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) +$MadelineProto->[auth->requestPasswordRecovery](auth.requestPasswordRecovery.md)(\[\]) === [$auth.PasswordRecovery](../types/auth.PasswordRecovery.md) ***

@@ -168,7 +168,7 @@ $MadelineProto->[auth->sendCall](auth.sendCall.md)(\['phone_number' => [string]( ***

-$MadelineProto->[auth->sendCode](auth.sendCode.md)(\['phone_number' => [string](../types/string.md), 'sms_type' => [int](../types/int.md), 'api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) === [$auth\_SentCode](../types/auth_SentCode.md) +$MadelineProto->[auth->sendCode](auth.sendCode.md)(\['phone_number' => [string](../types/string.md), 'sms_type' => [int](../types/int.md), 'api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) === [$auth.SentCode](../types/auth.SentCode.md) ***

@@ -180,11 +180,11 @@ $MadelineProto->[auth->sendSms](auth.sendSms.md)(\['phone_number' => [string](.. ***

-$MadelineProto->[auth->signIn](auth.signIn.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->signIn](auth.signIn.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

-$MadelineProto->[auth->signUp](auth.signUp.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->signUp](auth.signUp.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

@@ -192,7 +192,7 @@ $MadelineProto->[contacts->block](contacts.block.md)(\['id' => [InputUser](../ty ***

-$MadelineProto->[contacts->deleteContact](contacts.deleteContact.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$contacts\_Link](../types/contacts_Link.md) +$MadelineProto->[contacts->deleteContact](contacts.deleteContact.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$contacts.Link](../types/contacts.Link.md) ***

@@ -204,11 +204,11 @@ $MadelineProto->[contacts->exportCard](contacts.exportCard.md)(\[\]) === [$Vecto ***

-$MadelineProto->[contacts->getBlocked](contacts.getBlocked.md)(\['offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$contacts\_Blocked](../types/contacts_Blocked.md) +$MadelineProto->[contacts->getBlocked](contacts.getBlocked.md)(\['offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$contacts.Blocked](../types/contacts.Blocked.md) ***

-$MadelineProto->[contacts->getContacts](contacts.getContacts.md)(\['hash' => [string](../types/string.md), \]) === [$contacts\_Contacts](../types/contacts_Contacts.md) +$MadelineProto->[contacts->getContacts](contacts.getContacts.md)(\['hash' => [string](../types/string.md), \]) === [$contacts.Contacts](../types/contacts.Contacts.md) ***

@@ -216,7 +216,7 @@ $MadelineProto->[contacts->getStatuses](contacts.getStatuses.md)(\[\]) === [$Vec ***

-$MadelineProto->[contacts->getSuggested](contacts.getSuggested.md)(\['limit' => [int](../types/int.md), \]) === [$contacts\_Suggested](../types/contacts_Suggested.md) +$MadelineProto->[contacts->getSuggested](contacts.getSuggested.md)(\['limit' => [int](../types/int.md), \]) === [$contacts.Suggested](../types/contacts.Suggested.md) ***

@@ -224,7 +224,7 @@ $MadelineProto->[contacts->importCard](contacts.importCard.md)(\['export_card' = ***

-$MadelineProto->[contacts->importContacts](contacts.importContacts.md)(\['contacts' => \[[InputContact](../types/InputContact.md)\], 'replace' => [Bool](../types/Bool.md), \]) === [$contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) +$MadelineProto->[contacts->importContacts](contacts.importContacts.md)(\['contacts' => \[[InputContact](../types/InputContact.md)\], 'replace' => [Bool](../types/Bool.md), \]) === [$contacts.ImportedContacts](../types/contacts.ImportedContacts.md) ***

@@ -232,7 +232,7 @@ $MadelineProto->[contacts->resolveUsername](contacts.resolveUsername.md)(\['user ***

-$MadelineProto->[contacts->search](contacts.search.md)(\['q' => [string](../types/string.md), 'limit' => [int](../types/int.md), \]) === [$contacts\_Found](../types/contacts_Found.md) +$MadelineProto->[contacts->search](contacts.search.md)(\['q' => [string](../types/string.md), 'limit' => [int](../types/int.md), \]) === [$contacts.Found](../types/contacts.Found.md) ***

@@ -240,47 +240,47 @@ $MadelineProto->[contacts->unblock](contacts.unblock.md)(\['id' => [InputUser](. ***

-$MadelineProto->[geochats->checkin](geochats.checkin.md)(\['peer' => [InputGeoChat](../types/InputGeoChat.md), \]) === [$geochats\_StatedMessage](../types/geochats_StatedMessage.md) +$MadelineProto->[geochats->checkin](geochats.checkin.md)(\['peer' => [InputGeoChat](../types/InputGeoChat.md), \]) === [$geochats.StatedMessage](../types/geochats.StatedMessage.md) ***

-$MadelineProto->[geochats->createGeoChat](geochats.createGeoChat.md)(\['title' => [string](../types/string.md), 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'address' => [string](../types/string.md), 'venue' => [string](../types/string.md), \]) === [$geochats\_StatedMessage](../types/geochats_StatedMessage.md) +$MadelineProto->[geochats->createGeoChat](geochats.createGeoChat.md)(\['title' => [string](../types/string.md), 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'address' => [string](../types/string.md), 'venue' => [string](../types/string.md), \]) === [$geochats.StatedMessage](../types/geochats.StatedMessage.md) ***

-$MadelineProto->[geochats->editChatPhoto](geochats.editChatPhoto.md)(\['peer' => [InputGeoChat](../types/InputGeoChat.md), 'photo' => [InputChatPhoto](../types/InputChatPhoto.md), \]) === [$geochats\_StatedMessage](../types/geochats_StatedMessage.md) +$MadelineProto->[geochats->editChatPhoto](geochats.editChatPhoto.md)(\['peer' => [InputGeoChat](../types/InputGeoChat.md), 'photo' => [InputChatPhoto](../types/InputChatPhoto.md), \]) === [$geochats.StatedMessage](../types/geochats.StatedMessage.md) ***

-$MadelineProto->[geochats->editChatTitle](geochats.editChatTitle.md)(\['peer' => [InputGeoChat](../types/InputGeoChat.md), 'title' => [string](../types/string.md), 'address' => [string](../types/string.md), \]) === [$geochats\_StatedMessage](../types/geochats_StatedMessage.md) +$MadelineProto->[geochats->editChatTitle](geochats.editChatTitle.md)(\['peer' => [InputGeoChat](../types/InputGeoChat.md), 'title' => [string](../types/string.md), 'address' => [string](../types/string.md), \]) === [$geochats.StatedMessage](../types/geochats.StatedMessage.md) ***

-$MadelineProto->[geochats->getFullChat](geochats.getFullChat.md)(\['peer' => [InputGeoChat](../types/InputGeoChat.md), \]) === [$messages\_ChatFull](../types/messages_ChatFull.md) +$MadelineProto->[geochats->getFullChat](geochats.getFullChat.md)(\['peer' => [InputGeoChat](../types/InputGeoChat.md), \]) === [$messages.ChatFull](../types/messages.ChatFull.md) ***

-$MadelineProto->[geochats->getHistory](geochats.getHistory.md)(\['peer' => [InputGeoChat](../types/InputGeoChat.md), 'offset' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$geochats\_Messages](../types/geochats_Messages.md) +$MadelineProto->[geochats->getHistory](geochats.getHistory.md)(\['peer' => [InputGeoChat](../types/InputGeoChat.md), 'offset' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$geochats.Messages](../types/geochats.Messages.md) ***

-$MadelineProto->[geochats->getLocated](geochats.getLocated.md)(\['geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'radius' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$geochats\_Located](../types/geochats_Located.md) +$MadelineProto->[geochats->getLocated](geochats.getLocated.md)(\['geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'radius' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$geochats.Located](../types/geochats.Located.md) ***

-$MadelineProto->[geochats->getRecents](geochats.getRecents.md)(\['offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$geochats\_Messages](../types/geochats_Messages.md) +$MadelineProto->[geochats->getRecents](geochats.getRecents.md)(\['offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$geochats.Messages](../types/geochats.Messages.md) ***

-$MadelineProto->[geochats->search](geochats.search.md)(\['peer' => [InputGeoChat](../types/InputGeoChat.md), 'q' => [string](../types/string.md), 'filter' => [MessagesFilter](../types/MessagesFilter.md), 'min_date' => [int](../types/int.md), 'max_date' => [int](../types/int.md), 'offset' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$geochats\_Messages](../types/geochats_Messages.md) +$MadelineProto->[geochats->search](geochats.search.md)(\['peer' => [InputGeoChat](../types/InputGeoChat.md), 'q' => [string](../types/string.md), 'filter' => [MessagesFilter](../types/MessagesFilter.md), 'min_date' => [int](../types/int.md), 'max_date' => [int](../types/int.md), 'offset' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$geochats.Messages](../types/geochats.Messages.md) ***

-$MadelineProto->[geochats->sendMedia](geochats.sendMedia.md)(\['peer' => [InputGeoChat](../types/InputGeoChat.md), 'media' => [InputMedia](../types/InputMedia.md), \]) === [$geochats\_StatedMessage](../types/geochats_StatedMessage.md) +$MadelineProto->[geochats->sendMedia](geochats.sendMedia.md)(\['peer' => [InputGeoChat](../types/InputGeoChat.md), 'media' => [InputMedia](../types/InputMedia.md), \]) === [$geochats.StatedMessage](../types/geochats.StatedMessage.md) ***

-$MadelineProto->[geochats->sendMessage](geochats.sendMessage.md)(\['peer' => [InputGeoChat](../types/InputGeoChat.md), 'message' => [string](../types/string.md), \]) === [$geochats\_StatedMessage](../types/geochats_StatedMessage.md) +$MadelineProto->[geochats->sendMessage](geochats.sendMessage.md)(\['peer' => [InputGeoChat](../types/InputGeoChat.md), 'message' => [string](../types/string.md), \]) === [$geochats.StatedMessage](../types/geochats.StatedMessage.md) ***

@@ -288,7 +288,7 @@ $MadelineProto->[geochats->setTyping](geochats.setTyping.md)(\['peer' => [InputG ***

-$MadelineProto->[help->getAppUpdate](help.getAppUpdate.md)(\['device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) === [$help\_AppUpdate](../types/help_AppUpdate.md) +$MadelineProto->[help->getAppUpdate](help.getAppUpdate.md)(\['device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) === [$help.AppUpdate](../types/help.AppUpdate.md) ***

@@ -296,7 +296,7 @@ $MadelineProto->[help->getConfig](help.getConfig.md)(\[\]) === [$Config](../type ***

-$MadelineProto->[help->getInviteText](help.getInviteText.md)(\['lang_code' => [string](../types/string.md), \]) === [$help\_InviteText](../types/help_InviteText.md) +$MadelineProto->[help->getInviteText](help.getInviteText.md)(\['lang_code' => [string](../types/string.md), \]) === [$help.InviteText](../types/help.InviteText.md) ***

@@ -304,7 +304,7 @@ $MadelineProto->[help->getNearestDc](help.getNearestDc.md)(\[\]) === [$NearestDc ***

-$MadelineProto->[help->getSupport](help.getSupport.md)(\[\]) === [$help\_Support](../types/help_Support.md) +$MadelineProto->[help->getSupport](help.getSupport.md)(\[\]) === [$help.Support](../types/help.Support.md) ***

@@ -344,11 +344,11 @@ $MadelineProto->[messages->deleteChatUser](messages.deleteChatUser.md)(\['chat_i ***

-$MadelineProto->[messages->deleteHistory](messages.deleteHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset' => [int](../types/int.md), \]) === [$messages\_AffectedHistory](../types/messages_AffectedHistory.md) +$MadelineProto->[messages->deleteHistory](messages.deleteHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset' => [int](../types/int.md), \]) === [$messages.AffectedHistory](../types/messages.AffectedHistory.md) ***

-$MadelineProto->[messages->deleteMessages](messages.deleteMessages.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) +$MadelineProto->[messages->deleteMessages](messages.deleteMessages.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages.AffectedMessages](../types/messages.AffectedMessages.md) ***

@@ -372,35 +372,35 @@ $MadelineProto->[messages->forwardMessages](messages.forwardMessages.md)(\['peer ***

-$MadelineProto->[messages->getAllStickers](messages.getAllStickers.md)(\['hash' => [string](../types/string.md), \]) === [$messages\_AllStickers](../types/messages_AllStickers.md) +$MadelineProto->[messages->getAllStickers](messages.getAllStickers.md)(\['hash' => [string](../types/string.md), \]) === [$messages.AllStickers](../types/messages.AllStickers.md) ***

-$MadelineProto->[messages->getChats](messages.getChats.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[messages->getChats](messages.getChats.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages.Chats](../types/messages.Chats.md) ***

-$MadelineProto->[messages->getDhConfig](messages.getDhConfig.md)(\['version' => [int](../types/int.md), 'random_length' => [int](../types/int.md), \]) === [$messages\_DhConfig](../types/messages_DhConfig.md) +$MadelineProto->[messages->getDhConfig](messages.getDhConfig.md)(\['version' => [int](../types/int.md), 'random_length' => [int](../types/int.md), \]) === [$messages.DhConfig](../types/messages.DhConfig.md) ***

-$MadelineProto->[messages->getDialogs](messages.getDialogs.md)(\['offset' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages\_Dialogs](../types/messages_Dialogs.md) +$MadelineProto->[messages->getDialogs](messages.getDialogs.md)(\['offset' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages.Dialogs](../types/messages.Dialogs.md) ***

-$MadelineProto->[messages->getFullChat](messages.getFullChat.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), \]) === [$messages\_ChatFull](../types/messages_ChatFull.md) +$MadelineProto->[messages->getFullChat](messages.getFullChat.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), \]) === [$messages.ChatFull](../types/messages.ChatFull.md) ***

-$MadelineProto->[messages->getHistory](messages.getHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->getHistory](messages.getHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[messages->getMessages](messages.getMessages.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->getMessages](messages.getMessages.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[messages->getStickers](messages.getStickers.md)(\['emoticon' => [string](../types/string.md), 'hash' => [string](../types/string.md), \]) === [$messages\_Stickers](../types/messages_Stickers.md) +$MadelineProto->[messages->getStickers](messages.getStickers.md)(\['emoticon' => [string](../types/string.md), 'hash' => [string](../types/string.md), \]) === [$messages.Stickers](../types/messages.Stickers.md) ***

@@ -412,11 +412,11 @@ $MadelineProto->[messages->readEncryptedHistory](messages.readEncryptedHistory.m ***

-$MadelineProto->[messages->readHistory](messages.readHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), 'offset' => [int](../types/int.md), \]) === [$messages\_AffectedHistory](../types/messages_AffectedHistory.md) +$MadelineProto->[messages->readHistory](messages.readHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), 'offset' => [int](../types/int.md), \]) === [$messages.AffectedHistory](../types/messages.AffectedHistory.md) ***

-$MadelineProto->[messages->readMessageContents](messages.readMessageContents.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) +$MadelineProto->[messages->readMessageContents](messages.readMessageContents.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages.AffectedMessages](../types/messages.AffectedMessages.md) ***

@@ -432,7 +432,7 @@ $MadelineProto->[messages->requestEncryption](messages.requestEncryption.md)(\[' ***

-$MadelineProto->[messages->search](messages.search.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'q' => [string](../types/string.md), 'filter' => [MessagesFilter](../types/MessagesFilter.md), 'min_date' => [int](../types/int.md), 'max_date' => [int](../types/int.md), 'offset' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->search](messages.search.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'q' => [string](../types/string.md), 'filter' => [MessagesFilter](../types/MessagesFilter.md), 'min_date' => [int](../types/int.md), 'max_date' => [int](../types/int.md), 'offset' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

@@ -440,15 +440,15 @@ $MadelineProto->[messages->sendBroadcast](messages.sendBroadcast.md)(\['contacts ***

-$MadelineProto->[messages->sendEncrypted](messages.sendEncrypted.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'message' => [DecryptedMessage](../types/DecryptedMessage.md), \]) === [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +$MadelineProto->[messages->sendEncrypted](messages.sendEncrypted.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), \]) === [$messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ***

-$MadelineProto->[messages->sendEncryptedFile](messages.sendEncryptedFile.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'message' => [DecryptedMessage](../types/DecryptedMessage.md), 'file' => [InputEncryptedFile](../types/InputEncryptedFile.md), \]) === [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +$MadelineProto->[messages->sendEncryptedFile](messages.sendEncryptedFile.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), 'file' => [InputEncryptedFile](../types/InputEncryptedFile.md), \]) === [$messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ***

-$MadelineProto->[messages->sendEncryptedService](messages.sendEncryptedService.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'message' => [DecryptedMessage](../types/DecryptedMessage.md), \]) === [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +$MadelineProto->[messages->sendEncryptedService](messages.sendEncryptedService.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), \]) === [$messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ***

@@ -456,7 +456,7 @@ $MadelineProto->[messages->sendMedia](messages.sendMedia.md)(\['peer' => [InputP ***

-$MadelineProto->[messages->sendMessage](messages.sendMessage.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'reply_to_msg_id' => [int](../types/int.md), 'message' => [string](../types/string.md), \]) === [$messages\_SentMessage](../types/messages_SentMessage.md) +$MadelineProto->[messages->sendMessage](messages.sendMessage.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'reply_to_msg_id' => [int](../types/int.md), 'message' => [string](../types/string.md), \]) === [$messages.SentMessage](../types/messages.SentMessage.md) ***

@@ -472,7 +472,7 @@ $MadelineProto->[photos->deletePhotos](photos.deletePhotos.md)(\['id' => \[[Inpu ***

-$MadelineProto->[photos->getUserPhotos](photos.getUserPhotos.md)(\['user_id' => [InputUser](../types/InputUser.md), 'offset' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$photos\_Photos](../types/photos_Photos.md) +$MadelineProto->[photos->getUserPhotos](photos.getUserPhotos.md)(\['user_id' => [InputUser](../types/InputUser.md), 'offset' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$photos.Photos](../types/photos.Photos.md) ***

@@ -480,19 +480,19 @@ $MadelineProto->[photos->updateProfilePhoto](photos.updateProfilePhoto.md)(\['id ***

-$MadelineProto->[photos->uploadProfilePhoto](photos.uploadProfilePhoto.md)(\['file' => [InputFile](../types/InputFile.md), 'caption' => [string](../types/string.md), 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'crop' => [InputPhotoCrop](../types/InputPhotoCrop.md), \]) === [$photos\_Photo](../types/photos_Photo.md) +$MadelineProto->[photos->uploadProfilePhoto](photos.uploadProfilePhoto.md)(\['file' => [InputFile](../types/InputFile.md), 'caption' => [string](../types/string.md), 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'crop' => [InputPhotoCrop](../types/InputPhotoCrop.md), \]) === [$photos.Photo](../types/photos.Photo.md) ***

-$MadelineProto->[updates->getDifference](updates.getDifference.md)(\['pts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) === [$updates\_Difference](../types/updates_Difference.md) +$MadelineProto->[updates->getDifference](updates.getDifference.md)(\['pts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) === [$updates.Difference](../types/updates.Difference.md) ***

-$MadelineProto->[updates->getState](updates.getState.md)(\[\]) === [$updates\_State](../types/updates_State.md) +$MadelineProto->[updates->getState](updates.getState.md)(\[\]) === [$updates.State](../types/updates.State.md) ***

-$MadelineProto->[upload->getFile](upload.getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_File](../types/upload_File.md) +$MadelineProto->[upload->getFile](upload.getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload.File](../types/upload.File.md) ***

diff --git a/old_docs/API_docs_v27/methods/auth.checkPassword.md b/old_docs/API_docs_v27/methods/auth.checkPassword.md index db65cb56..eeeed171 100644 --- a/old_docs/API_docs_v27/methods/auth.checkPassword.md +++ b/old_docs/API_docs_v27/methods/auth.checkPassword.md @@ -16,7 +16,7 @@ You cannot use this method directly, use the complete_2fa_login method instead ( |password\_hash|[bytes](../types/bytes.md) | You cannot use this method directly, use the complete_2fa_login method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->checkPassword(['password_hash' => 'bytes', ]); +$auth.Authorization = $MadelineProto->auth->checkPassword(['password_hash' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.checkPassword({password_hash='bytes', }) +auth.Authorization = auth.checkPassword({password_hash='bytes', }) ``` ### Errors diff --git a/old_docs/API_docs_v27/methods/auth.checkPhone.md b/old_docs/API_docs_v27/methods/auth.checkPhone.md index 227358cb..51d4cba6 100644 --- a/old_docs/API_docs_v27/methods/auth.checkPhone.md +++ b/old_docs/API_docs_v27/methods/auth.checkPhone.md @@ -16,7 +16,7 @@ Check if this phone number is registered on telegram |phone\_number|[string](../types/string.md) | The phone number to check | Yes| -### Return type: [auth\_CheckedPhone](../types/auth_CheckedPhone.md) +### Return type: [auth.CheckedPhone](../types/auth.CheckedPhone.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => 'string', ]); +$auth.CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_CheckedPhone = auth.checkPhone({phone_number='string', }) +auth.CheckedPhone = auth.checkPhone({phone_number='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v27/methods/auth.exportAuthorization.md b/old_docs/API_docs_v27/methods/auth.exportAuthorization.md index 72063a2b..41a1f87d 100644 --- a/old_docs/API_docs_v27/methods/auth.exportAuthorization.md +++ b/old_docs/API_docs_v27/methods/auth.exportAuthorization.md @@ -16,7 +16,7 @@ You cannot use this method directly, use $MadelineProto->exportAuthorization() i |dc\_id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| -### Return type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) +### Return type: [auth.ExportedAuthorization](../types/auth.ExportedAuthorization.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_ExportedAuthorization = $MadelineProto->auth->exportAuthorization(['dc_id' => int, ]); +$auth.ExportedAuthorization = $MadelineProto->auth->exportAuthorization(['dc_id' => int, ]); ``` Or, if you're into Lua: ```lua -auth_ExportedAuthorization = auth.exportAuthorization({dc_id=int, }) +auth.ExportedAuthorization = auth.exportAuthorization({dc_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v27/methods/auth.importAuthorization.md b/old_docs/API_docs_v27/methods/auth.importAuthorization.md index d9c13751..5257e0b0 100644 --- a/old_docs/API_docs_v27/methods/auth.importAuthorization.md +++ b/old_docs/API_docs_v27/methods/auth.importAuthorization.md @@ -17,7 +17,7 @@ You cannot use this method directly, use $MadelineProto->importAuthorization($au |bytes|[bytes](../types/bytes.md) | You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => 'bytes', ]); +$auth.Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.importAuthorization({id=int, bytes='bytes', }) +auth.Authorization = auth.importAuthorization({id=int, bytes='bytes', }) ``` ### Errors diff --git a/old_docs/API_docs_v27/methods/auth.recoverPassword.md b/old_docs/API_docs_v27/methods/auth.recoverPassword.md index f7cbf4a4..2e78444b 100644 --- a/old_docs/API_docs_v27/methods/auth.recoverPassword.md +++ b/old_docs/API_docs_v27/methods/auth.recoverPassword.md @@ -16,7 +16,7 @@ Reset the [2FA password](https://core.telegram.org/api/srp) using the recovery c |code|[string](../types/string.md) | Code received via email | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->recoverPassword(['code' => 'string', ]); +$auth.Authorization = $MadelineProto->auth->recoverPassword(['code' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.recoverPassword({code='string', }) +auth.Authorization = auth.recoverPassword({code='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v27/methods/auth.requestPasswordRecovery.md b/old_docs/API_docs_v27/methods/auth.requestPasswordRecovery.md index 5cd77936..ff1ecc02 100644 --- a/old_docs/API_docs_v27/methods/auth.requestPasswordRecovery.md +++ b/old_docs/API_docs_v27/methods/auth.requestPasswordRecovery.md @@ -11,7 +11,7 @@ Request recovery code of a [2FA password](https://core.telegram.org/api/srp), on -### Return type: [auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) +### Return type: [auth.PasswordRecovery](../types/auth.PasswordRecovery.md) ### Can bots use this method: **NO** @@ -28,13 +28,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_PasswordRecovery = $MadelineProto->auth->requestPasswordRecovery(); +$auth.PasswordRecovery = $MadelineProto->auth->requestPasswordRecovery(); ``` Or, if you're into Lua: ```lua -auth_PasswordRecovery = auth.requestPasswordRecovery({}) +auth.PasswordRecovery = auth.requestPasswordRecovery({}) ``` ### Errors diff --git a/old_docs/API_docs_v27/methods/auth.sendCode.md b/old_docs/API_docs_v27/methods/auth.sendCode.md index 9fa1a0c7..68b6ff31 100644 --- a/old_docs/API_docs_v27/methods/auth.sendCode.md +++ b/old_docs/API_docs_v27/methods/auth.sendCode.md @@ -20,7 +20,7 @@ You cannot use this method directly, use the phoneLogin method instead (see http |lang\_code|[string](../types/string.md) | You cannot use this method directly, use the phoneLogin method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_SentCode](../types/auth_SentCode.md) +### Return type: [auth.SentCode](../types/auth.SentCode.md) ### Can bots use this method: **NO** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_SentCode = $MadelineProto->auth->sendCode(['phone_number' => 'string', 'sms_type' => int, 'api_id' => int, 'api_hash' => 'string', 'lang_code' => 'string', ]); +$auth.SentCode = $MadelineProto->auth->sendCode(['phone_number' => 'string', 'sms_type' => int, 'api_id' => int, 'api_hash' => 'string', 'lang_code' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_SentCode = auth.sendCode({phone_number='string', sms_type=int, api_id=int, api_hash='string', lang_code='string', }) +auth.SentCode = auth.sendCode({phone_number='string', sms_type=int, api_id=int, api_hash='string', lang_code='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v27/methods/auth.signIn.md b/old_docs/API_docs_v27/methods/auth.signIn.md index 54812a2e..95b14f32 100644 --- a/old_docs/API_docs_v27/methods/auth.signIn.md +++ b/old_docs/API_docs_v27/methods/auth.signIn.md @@ -18,7 +18,7 @@ You cannot use this method directly, use the completePhoneLogin method instead ( |phone\_code|[string](../types/string.md) | You cannot use this method directly, use the completePhoneLogin method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->signIn(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', ]); +$auth.Authorization = $MadelineProto->auth->signIn(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.signIn({phone_number='string', phone_code_hash='string', phone_code='string', }) +auth.Authorization = auth.signIn({phone_number='string', phone_code_hash='string', phone_code='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v27/methods/auth.signUp.md b/old_docs/API_docs_v27/methods/auth.signUp.md index 2aca2bfa..fdb5d628 100644 --- a/old_docs/API_docs_v27/methods/auth.signUp.md +++ b/old_docs/API_docs_v27/methods/auth.signUp.md @@ -20,7 +20,7 @@ You cannot use this method directly, use the completeSignup method instead (see |last\_name|[string](../types/string.md) | You cannot use this method directly, use the completeSignup method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **NO** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->signUp(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', 'first_name' => 'string', 'last_name' => 'string', ]); +$auth.Authorization = $MadelineProto->auth->signUp(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', 'first_name' => 'string', 'last_name' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.signUp({phone_number='string', phone_code_hash='string', phone_code='string', first_name='string', last_name='string', }) +auth.Authorization = auth.signUp({phone_number='string', phone_code_hash='string', phone_code='string', first_name='string', last_name='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v27/methods/contacts.deleteContact.md b/old_docs/API_docs_v27/methods/contacts.deleteContact.md index a9321d64..9169e1e0 100644 --- a/old_docs/API_docs_v27/methods/contacts.deleteContact.md +++ b/old_docs/API_docs_v27/methods/contacts.deleteContact.md @@ -16,7 +16,7 @@ Delete a contact |id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | The contact to delete | Optional| -### Return type: [contacts\_Link](../types/contacts_Link.md) +### Return type: [contacts.Link](../types/contacts.Link.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Link = $MadelineProto->contacts->deleteContact(['id' => InputUser, ]); +$contacts.Link = $MadelineProto->contacts->deleteContact(['id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -contacts_Link = contacts.deleteContact({id=InputUser, }) +contacts.Link = contacts.deleteContact({id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v27/methods/contacts.getBlocked.md b/old_docs/API_docs_v27/methods/contacts.getBlocked.md index 92f2f331..6ac1c343 100644 --- a/old_docs/API_docs_v27/methods/contacts.getBlocked.md +++ b/old_docs/API_docs_v27/methods/contacts.getBlocked.md @@ -17,7 +17,7 @@ Returns the list of blocked users. |limit|[int](../types/int.md) | The number of list elements to be returned | Yes| -### Return type: [contacts\_Blocked](../types/contacts_Blocked.md) +### Return type: [contacts.Blocked](../types/contacts.Blocked.md) ### Can bots use this method: **NO** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Blocked = $MadelineProto->contacts->getBlocked(['offset' => int, 'limit' => int, ]); +$contacts.Blocked = $MadelineProto->contacts->getBlocked(['offset' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -contacts_Blocked = contacts.getBlocked({offset=int, limit=int, }) +contacts.Blocked = contacts.getBlocked({offset=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v27/methods/contacts.getContacts.md b/old_docs/API_docs_v27/methods/contacts.getContacts.md index caee7aa8..a2fcd412 100644 --- a/old_docs/API_docs_v27/methods/contacts.getContacts.md +++ b/old_docs/API_docs_v27/methods/contacts.getContacts.md @@ -16,7 +16,7 @@ Returns the current user's contact list. |hash|[string](../types/string.md) | List of contact user IDs you already cached | Yes| -### Return type: [contacts\_Contacts](../types/contacts_Contacts.md) +### Return type: [contacts.Contacts](../types/contacts.Contacts.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Contacts = $MadelineProto->contacts->getContacts(['hash' => 'string', ]); +$contacts.Contacts = $MadelineProto->contacts->getContacts(['hash' => 'string', ]); ``` Or, if you're into Lua: ```lua -contacts_Contacts = contacts.getContacts({hash='string', }) +contacts.Contacts = contacts.getContacts({hash='string', }) ``` diff --git a/old_docs/API_docs_v27/methods/contacts.getSuggested.md b/old_docs/API_docs_v27/methods/contacts.getSuggested.md index 32e96621..ede222d4 100644 --- a/old_docs/API_docs_v27/methods/contacts.getSuggested.md +++ b/old_docs/API_docs_v27/methods/contacts.getSuggested.md @@ -16,7 +16,7 @@ Get suggested contacts |limit|[int](../types/int.md) | Number of results to return | Yes| -### Return type: [contacts\_Suggested](../types/contacts_Suggested.md) +### Return type: [contacts.Suggested](../types/contacts.Suggested.md) ### Can bots use this method: **YES** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Suggested = $MadelineProto->contacts->getSuggested(['limit' => int, ]); +$contacts.Suggested = $MadelineProto->contacts->getSuggested(['limit' => int, ]); ``` Or, if you're into Lua: ```lua -contacts_Suggested = contacts.getSuggested({limit=int, }) +contacts.Suggested = contacts.getSuggested({limit=int, }) ``` diff --git a/old_docs/API_docs_v27/methods/contacts.importContacts.md b/old_docs/API_docs_v27/methods/contacts.importContacts.md index 572df9fb..975d0565 100644 --- a/old_docs/API_docs_v27/methods/contacts.importContacts.md +++ b/old_docs/API_docs_v27/methods/contacts.importContacts.md @@ -17,7 +17,7 @@ Imports contacts: saves a full list on the server, adds already registered conta |replace|[Bool](../types/Bool.md) | Replace contacts? | Yes| -### Return type: [contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) +### Return type: [contacts.ImportedContacts](../types/contacts.ImportedContacts.md) ### Can bots use this method: **NO** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_ImportedContacts = $MadelineProto->contacts->importContacts(['contacts' => [InputContact, InputContact], 'replace' => Bool, ]); +$contacts.ImportedContacts = $MadelineProto->contacts->importContacts(['contacts' => [InputContact, InputContact], 'replace' => Bool, ]); ``` Or, if you're into Lua: ```lua -contacts_ImportedContacts = contacts.importContacts({contacts={InputContact}, replace=Bool, }) +contacts.ImportedContacts = contacts.importContacts({contacts={InputContact}, replace=Bool, }) ``` diff --git a/old_docs/API_docs_v27/methods/contacts.search.md b/old_docs/API_docs_v27/methods/contacts.search.md index 2f39d6f1..ec04c7f9 100644 --- a/old_docs/API_docs_v27/methods/contacts.search.md +++ b/old_docs/API_docs_v27/methods/contacts.search.md @@ -17,7 +17,7 @@ Returns users found by username substring. |limit|[int](../types/int.md) | Maximum number of users to be returned | Yes| -### Return type: [contacts\_Found](../types/contacts_Found.md) +### Return type: [contacts.Found](../types/contacts.Found.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Found = $MadelineProto->contacts->search(['q' => 'string', 'limit' => int, ]); +$contacts.Found = $MadelineProto->contacts->search(['q' => 'string', 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -contacts_Found = contacts.search({q='string', limit=int, }) +contacts.Found = contacts.search({q='string', limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v27/methods/geochats.checkin.md b/old_docs/API_docs_v27/methods/geochats.checkin.md index 9d098c55..c10b41f6 100644 --- a/old_docs/API_docs_v27/methods/geochats.checkin.md +++ b/old_docs/API_docs_v27/methods/geochats.checkin.md @@ -16,7 +16,7 @@ Join a geochat |peer|[InputGeoChat](../types/InputGeoChat.md) | The geochat | Yes| -### Return type: [geochats\_StatedMessage](../types/geochats_StatedMessage.md) +### Return type: [geochats.StatedMessage](../types/geochats.StatedMessage.md) ### Can bots use this method: **YES** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$geochats_StatedMessage = $MadelineProto->geochats->checkin(['peer' => InputGeoChat, ]); +$geochats.StatedMessage = $MadelineProto->geochats->checkin(['peer' => InputGeoChat, ]); ``` Or, if you're into Lua: ```lua -geochats_StatedMessage = geochats.checkin({peer=InputGeoChat, }) +geochats.StatedMessage = geochats.checkin({peer=InputGeoChat, }) ``` diff --git a/old_docs/API_docs_v27/methods/geochats.createGeoChat.md b/old_docs/API_docs_v27/methods/geochats.createGeoChat.md index 98c59825..a4a93c38 100644 --- a/old_docs/API_docs_v27/methods/geochats.createGeoChat.md +++ b/old_docs/API_docs_v27/methods/geochats.createGeoChat.md @@ -19,7 +19,7 @@ Create geochat |venue|[string](../types/string.md) | Geochat venue | Yes| -### Return type: [geochats\_StatedMessage](../types/geochats_StatedMessage.md) +### Return type: [geochats.StatedMessage](../types/geochats.StatedMessage.md) ### Can bots use this method: **YES** @@ -36,12 +36,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$geochats_StatedMessage = $MadelineProto->geochats->createGeoChat(['title' => 'string', 'geo_point' => InputGeoPoint, 'address' => 'string', 'venue' => 'string', ]); +$geochats.StatedMessage = $MadelineProto->geochats->createGeoChat(['title' => 'string', 'geo_point' => InputGeoPoint, 'address' => 'string', 'venue' => 'string', ]); ``` Or, if you're into Lua: ```lua -geochats_StatedMessage = geochats.createGeoChat({title='string', geo_point=InputGeoPoint, address='string', venue='string', }) +geochats.StatedMessage = geochats.createGeoChat({title='string', geo_point=InputGeoPoint, address='string', venue='string', }) ``` diff --git a/old_docs/API_docs_v27/methods/geochats.editChatPhoto.md b/old_docs/API_docs_v27/methods/geochats.editChatPhoto.md index 9dc0bd16..d223ef82 100644 --- a/old_docs/API_docs_v27/methods/geochats.editChatPhoto.md +++ b/old_docs/API_docs_v27/methods/geochats.editChatPhoto.md @@ -17,7 +17,7 @@ Edit geochat photo |photo|[InputChatPhoto](../types/InputChatPhoto.md) | The new photo | Optional| -### Return type: [geochats\_StatedMessage](../types/geochats_StatedMessage.md) +### Return type: [geochats.StatedMessage](../types/geochats.StatedMessage.md) ### Can bots use this method: **YES** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$geochats_StatedMessage = $MadelineProto->geochats->editChatPhoto(['peer' => InputGeoChat, 'photo' => InputChatPhoto, ]); +$geochats.StatedMessage = $MadelineProto->geochats->editChatPhoto(['peer' => InputGeoChat, 'photo' => InputChatPhoto, ]); ``` Or, if you're into Lua: ```lua -geochats_StatedMessage = geochats.editChatPhoto({peer=InputGeoChat, photo=InputChatPhoto, }) +geochats.StatedMessage = geochats.editChatPhoto({peer=InputGeoChat, photo=InputChatPhoto, }) ``` diff --git a/old_docs/API_docs_v27/methods/geochats.editChatTitle.md b/old_docs/API_docs_v27/methods/geochats.editChatTitle.md index 56b64c58..b53585f8 100644 --- a/old_docs/API_docs_v27/methods/geochats.editChatTitle.md +++ b/old_docs/API_docs_v27/methods/geochats.editChatTitle.md @@ -18,7 +18,7 @@ Edit geochat title |address|[string](../types/string.md) | The new address | Yes| -### Return type: [geochats\_StatedMessage](../types/geochats_StatedMessage.md) +### Return type: [geochats.StatedMessage](../types/geochats.StatedMessage.md) ### Can bots use this method: **YES** @@ -35,12 +35,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$geochats_StatedMessage = $MadelineProto->geochats->editChatTitle(['peer' => InputGeoChat, 'title' => 'string', 'address' => 'string', ]); +$geochats.StatedMessage = $MadelineProto->geochats->editChatTitle(['peer' => InputGeoChat, 'title' => 'string', 'address' => 'string', ]); ``` Or, if you're into Lua: ```lua -geochats_StatedMessage = geochats.editChatTitle({peer=InputGeoChat, title='string', address='string', }) +geochats.StatedMessage = geochats.editChatTitle({peer=InputGeoChat, title='string', address='string', }) ``` diff --git a/old_docs/API_docs_v27/methods/geochats.getFullChat.md b/old_docs/API_docs_v27/methods/geochats.getFullChat.md index 96747d42..54d48fd5 100644 --- a/old_docs/API_docs_v27/methods/geochats.getFullChat.md +++ b/old_docs/API_docs_v27/methods/geochats.getFullChat.md @@ -16,7 +16,7 @@ Get full info about a geochat |peer|[InputGeoChat](../types/InputGeoChat.md) | The geochat | Yes| -### Return type: [messages\_ChatFull](../types/messages_ChatFull.md) +### Return type: [messages.ChatFull](../types/messages.ChatFull.md) ### Can bots use this method: **YES** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_ChatFull = $MadelineProto->geochats->getFullChat(['peer' => InputGeoChat, ]); +$messages.ChatFull = $MadelineProto->geochats->getFullChat(['peer' => InputGeoChat, ]); ``` Or, if you're into Lua: ```lua -messages_ChatFull = geochats.getFullChat({peer=InputGeoChat, }) +messages.ChatFull = geochats.getFullChat({peer=InputGeoChat, }) ``` diff --git a/old_docs/API_docs_v27/methods/geochats.getHistory.md b/old_docs/API_docs_v27/methods/geochats.getHistory.md index 82be7706..0faf6e27 100644 --- a/old_docs/API_docs_v27/methods/geochats.getHistory.md +++ b/old_docs/API_docs_v27/methods/geochats.getHistory.md @@ -19,7 +19,7 @@ Get geochat history |limit|[int](../types/int.md) | Number of results to return | Yes| -### Return type: [geochats\_Messages](../types/geochats_Messages.md) +### Return type: [geochats.Messages](../types/geochats.Messages.md) ### Can bots use this method: **YES** @@ -36,12 +36,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$geochats_Messages = $MadelineProto->geochats->getHistory(['peer' => InputGeoChat, 'offset' => int, 'max_id' => int, 'limit' => int, ]); +$geochats.Messages = $MadelineProto->geochats->getHistory(['peer' => InputGeoChat, 'offset' => int, 'max_id' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -geochats_Messages = geochats.getHistory({peer=InputGeoChat, offset=int, max_id=int, limit=int, }) +geochats.Messages = geochats.getHistory({peer=InputGeoChat, offset=int, max_id=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v27/methods/geochats.getLocated.md b/old_docs/API_docs_v27/methods/geochats.getLocated.md index 8dba20d9..00d70cda 100644 --- a/old_docs/API_docs_v27/methods/geochats.getLocated.md +++ b/old_docs/API_docs_v27/methods/geochats.getLocated.md @@ -18,7 +18,7 @@ Get nearby geochats |limit|[int](../types/int.md) | Number of results to return | Yes| -### Return type: [geochats\_Located](../types/geochats_Located.md) +### Return type: [geochats.Located](../types/geochats.Located.md) ### Can bots use this method: **YES** @@ -35,12 +35,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$geochats_Located = $MadelineProto->geochats->getLocated(['geo_point' => InputGeoPoint, 'radius' => int, 'limit' => int, ]); +$geochats.Located = $MadelineProto->geochats->getLocated(['geo_point' => InputGeoPoint, 'radius' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -geochats_Located = geochats.getLocated({geo_point=InputGeoPoint, radius=int, limit=int, }) +geochats.Located = geochats.getLocated({geo_point=InputGeoPoint, radius=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v27/methods/geochats.getRecents.md b/old_docs/API_docs_v27/methods/geochats.getRecents.md index 00d90ad4..a0045147 100644 --- a/old_docs/API_docs_v27/methods/geochats.getRecents.md +++ b/old_docs/API_docs_v27/methods/geochats.getRecents.md @@ -17,7 +17,7 @@ Get recent geochats |limit|[int](../types/int.md) | Number of results to return | Yes| -### Return type: [geochats\_Messages](../types/geochats_Messages.md) +### Return type: [geochats.Messages](../types/geochats.Messages.md) ### Can bots use this method: **YES** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$geochats_Messages = $MadelineProto->geochats->getRecents(['offset' => int, 'limit' => int, ]); +$geochats.Messages = $MadelineProto->geochats->getRecents(['offset' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -geochats_Messages = geochats.getRecents({offset=int, limit=int, }) +geochats.Messages = geochats.getRecents({offset=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v27/methods/geochats.search.md b/old_docs/API_docs_v27/methods/geochats.search.md index 076253e3..e586b236 100644 --- a/old_docs/API_docs_v27/methods/geochats.search.md +++ b/old_docs/API_docs_v27/methods/geochats.search.md @@ -23,7 +23,7 @@ Search messages in geocha |limit|[int](../types/int.md) | Number of results to return | Yes| -### Return type: [geochats\_Messages](../types/geochats_Messages.md) +### Return type: [geochats.Messages](../types/geochats.Messages.md) ### Can bots use this method: **YES** @@ -40,12 +40,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$geochats_Messages = $MadelineProto->geochats->search(['peer' => InputGeoChat, 'q' => 'string', 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); +$geochats.Messages = $MadelineProto->geochats->search(['peer' => InputGeoChat, 'q' => 'string', 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -geochats_Messages = geochats.search({peer=InputGeoChat, q='string', filter=MessagesFilter, min_date=int, max_date=int, offset=int, max_id=int, limit=int, }) +geochats.Messages = geochats.search({peer=InputGeoChat, q='string', filter=MessagesFilter, min_date=int, max_date=int, offset=int, max_id=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v27/methods/geochats.sendMedia.md b/old_docs/API_docs_v27/methods/geochats.sendMedia.md index 11cb1414..d8d52cd8 100644 --- a/old_docs/API_docs_v27/methods/geochats.sendMedia.md +++ b/old_docs/API_docs_v27/methods/geochats.sendMedia.md @@ -17,7 +17,7 @@ Send media to geochat |media|[MessageMedia, Update, Message or InputMedia](../types/InputMedia.md) | The media | Optional| -### Return type: [geochats\_StatedMessage](../types/geochats_StatedMessage.md) +### Return type: [geochats.StatedMessage](../types/geochats.StatedMessage.md) ### Can bots use this method: **YES** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$geochats_StatedMessage = $MadelineProto->geochats->sendMedia(['peer' => InputGeoChat, 'media' => InputMedia, ]); +$geochats.StatedMessage = $MadelineProto->geochats->sendMedia(['peer' => InputGeoChat, 'media' => InputMedia, ]); ``` Or, if you're into Lua: ```lua -geochats_StatedMessage = geochats.sendMedia({peer=InputGeoChat, media=InputMedia, }) +geochats.StatedMessage = geochats.sendMedia({peer=InputGeoChat, media=InputMedia, }) ``` diff --git a/old_docs/API_docs_v27/methods/geochats.sendMessage.md b/old_docs/API_docs_v27/methods/geochats.sendMessage.md index 8529f268..aa72d9ce 100644 --- a/old_docs/API_docs_v27/methods/geochats.sendMessage.md +++ b/old_docs/API_docs_v27/methods/geochats.sendMessage.md @@ -17,7 +17,7 @@ Send message to geochat |message|[string](../types/string.md) | The message | Yes| -### Return type: [geochats\_StatedMessage](../types/geochats_StatedMessage.md) +### Return type: [geochats.StatedMessage](../types/geochats.StatedMessage.md) ### Can bots use this method: **YES** @@ -34,18 +34,18 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$geochats_StatedMessage = $MadelineProto->geochats->sendMessage(['peer' => InputGeoChat, 'message' => 'string', ]); +$geochats.StatedMessage = $MadelineProto->geochats->sendMessage(['peer' => InputGeoChat, 'message' => 'string', ]); ``` Or, if you're into Lua: ```lua -geochats_StatedMessage = geochats.sendMessage({peer=InputGeoChat, message='string', }) +geochats.StatedMessage = geochats.sendMessage({peer=InputGeoChat, message='string', }) ``` ## Return value -If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [geochats\_StatedMessage](../types/geochats_StatedMessage.md) will be returned instead. +If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [geochats.StatedMessage](../types/geochats.StatedMessage.md) will be returned instead. diff --git a/old_docs/API_docs_v27/methods/help.getAppUpdate.md b/old_docs/API_docs_v27/methods/help.getAppUpdate.md index 0f844391..bfbed19e 100644 --- a/old_docs/API_docs_v27/methods/help.getAppUpdate.md +++ b/old_docs/API_docs_v27/methods/help.getAppUpdate.md @@ -19,7 +19,7 @@ Returns information on update availability for the current application. |lang\_code|[string](../types/string.md) | Langauge code | Yes| -### Return type: [help\_AppUpdate](../types/help_AppUpdate.md) +### Return type: [help.AppUpdate](../types/help.AppUpdate.md) ### Can bots use this method: **NO** @@ -36,12 +36,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_AppUpdate = $MadelineProto->help->getAppUpdate(['device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'lang_code' => 'string', ]); +$help.AppUpdate = $MadelineProto->help->getAppUpdate(['device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'lang_code' => 'string', ]); ``` Or, if you're into Lua: ```lua -help_AppUpdate = help.getAppUpdate({device_model='string', system_version='string', app_version='string', lang_code='string', }) +help.AppUpdate = help.getAppUpdate({device_model='string', system_version='string', app_version='string', lang_code='string', }) ``` diff --git a/old_docs/API_docs_v27/methods/help.getInviteText.md b/old_docs/API_docs_v27/methods/help.getInviteText.md index 482afbc0..f84b2e82 100644 --- a/old_docs/API_docs_v27/methods/help.getInviteText.md +++ b/old_docs/API_docs_v27/methods/help.getInviteText.md @@ -16,7 +16,7 @@ Returns text of a text message with an invitation. |lang\_code|[string](../types/string.md) | Language | Yes| -### Return type: [help\_InviteText](../types/help_InviteText.md) +### Return type: [help.InviteText](../types/help.InviteText.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_InviteText = $MadelineProto->help->getInviteText(['lang_code' => 'string', ]); +$help.InviteText = $MadelineProto->help->getInviteText(['lang_code' => 'string', ]); ``` Or, if you're into Lua: ```lua -help_InviteText = help.getInviteText({lang_code='string', }) +help.InviteText = help.getInviteText({lang_code='string', }) ``` diff --git a/old_docs/API_docs_v27/methods/help.getSupport.md b/old_docs/API_docs_v27/methods/help.getSupport.md index 7a577892..8a8df916 100644 --- a/old_docs/API_docs_v27/methods/help.getSupport.md +++ b/old_docs/API_docs_v27/methods/help.getSupport.md @@ -11,7 +11,7 @@ Returns the support user for the 'ask a question' feature. -### Return type: [help\_Support](../types/help_Support.md) +### Return type: [help.Support](../types/help.Support.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_Support = $MadelineProto->help->getSupport(); +$help.Support = $MadelineProto->help->getSupport(); ``` Or, if you're into Lua: ```lua -help_Support = help.getSupport({}) +help.Support = help.getSupport({}) ``` diff --git a/old_docs/API_docs_v27/methods/messages.deleteHistory.md b/old_docs/API_docs_v27/methods/messages.deleteHistory.md index 974b7e3c..93badc83 100644 --- a/old_docs/API_docs_v27/methods/messages.deleteHistory.md +++ b/old_docs/API_docs_v27/methods/messages.deleteHistory.md @@ -17,7 +17,7 @@ Deletes communication history. |offset|[int](../types/int.md) | Offset | Yes| -### Return type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) +### Return type: [messages.AffectedHistory](../types/messages.AffectedHistory.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedHistory = $MadelineProto->messages->deleteHistory(['peer' => InputPeer, 'offset' => int, ]); +$messages.AffectedHistory = $MadelineProto->messages->deleteHistory(['peer' => InputPeer, 'offset' => int, ]); ``` Or, if you're into Lua: ```lua -messages_AffectedHistory = messages.deleteHistory({peer=InputPeer, offset=int, }) +messages.AffectedHistory = messages.deleteHistory({peer=InputPeer, offset=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v27/methods/messages.deleteMessages.md b/old_docs/API_docs_v27/methods/messages.deleteMessages.md index 355b2ff8..cc432cc1 100644 --- a/old_docs/API_docs_v27/methods/messages.deleteMessages.md +++ b/old_docs/API_docs_v27/methods/messages.deleteMessages.md @@ -16,7 +16,7 @@ Deletes messages by their identifiers. |id|Array of [int](../types/int.md) | IDs of messages to delete, use channels->deleteMessages for supergroups | Yes| -### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) +### Return type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedMessages = $MadelineProto->messages->deleteMessages(['id' => [int, int], ]); +$messages.AffectedMessages = $MadelineProto->messages->deleteMessages(['id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AffectedMessages = messages.deleteMessages({id={int}, }) +messages.AffectedMessages = messages.deleteMessages({id={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v27/methods/messages.getAllStickers.md b/old_docs/API_docs_v27/methods/messages.getAllStickers.md index 3bbfd91b..bdf1bab0 100644 --- a/old_docs/API_docs_v27/methods/messages.getAllStickers.md +++ b/old_docs/API_docs_v27/methods/messages.getAllStickers.md @@ -16,7 +16,7 @@ Get all installed stickers |hash|[string](../types/string.md) | Previously fetched stickers | Yes| -### Return type: [messages\_AllStickers](../types/messages_AllStickers.md) +### Return type: [messages.AllStickers](../types/messages.AllStickers.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AllStickers = $MadelineProto->messages->getAllStickers(['hash' => 'string', ]); +$messages.AllStickers = $MadelineProto->messages->getAllStickers(['hash' => 'string', ]); ``` Or, if you're into Lua: ```lua -messages_AllStickers = messages.getAllStickers({hash='string', }) +messages.AllStickers = messages.getAllStickers({hash='string', }) ``` diff --git a/old_docs/API_docs_v27/methods/messages.getChats.md b/old_docs/API_docs_v27/methods/messages.getChats.md index c34b0488..146341f5 100644 --- a/old_docs/API_docs_v27/methods/messages.getChats.md +++ b/old_docs/API_docs_v27/methods/messages.getChats.md @@ -16,7 +16,7 @@ Returns chat basic info on their IDs. |id|Array of [int](../types/int.md) | The MTProto IDs of chats to fetch info about | Yes| -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->messages->getChats(['id' => [int, int], ]); +$messages.Chats = $MadelineProto->messages->getChats(['id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Chats = messages.getChats({id={int}, }) +messages.Chats = messages.getChats({id={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v27/methods/messages.getDhConfig.md b/old_docs/API_docs_v27/methods/messages.getDhConfig.md index 88ea4ab3..7b9da566 100644 --- a/old_docs/API_docs_v27/methods/messages.getDhConfig.md +++ b/old_docs/API_docs_v27/methods/messages.getDhConfig.md @@ -17,7 +17,7 @@ You cannot use this method directly, instead use $MadelineProto->getDhConfig(); |random\_length|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->getDhConfig(); | Yes| -### Return type: [messages\_DhConfig](../types/messages_DhConfig.md) +### Return type: [messages.DhConfig](../types/messages.DhConfig.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_DhConfig = $MadelineProto->messages->getDhConfig(['version' => int, 'random_length' => int, ]); +$messages.DhConfig = $MadelineProto->messages->getDhConfig(['version' => int, 'random_length' => int, ]); ``` Or, if you're into Lua: ```lua -messages_DhConfig = messages.getDhConfig({version=int, random_length=int, }) +messages.DhConfig = messages.getDhConfig({version=int, random_length=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v27/methods/messages.getDialogs.md b/old_docs/API_docs_v27/methods/messages.getDialogs.md index 1ea36dd0..f00e3ebc 100644 --- a/old_docs/API_docs_v27/methods/messages.getDialogs.md +++ b/old_docs/API_docs_v27/methods/messages.getDialogs.md @@ -18,7 +18,7 @@ Returns the current user dialog list. |limit|[int](../types/int.md) | Number of list elements to be returned | Yes| -### Return type: [messages\_Dialogs](../types/messages_Dialogs.md) +### Return type: [messages.Dialogs](../types/messages.Dialogs.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Dialogs = $MadelineProto->messages->getDialogs(['offset' => int, 'max_id' => int, 'limit' => int, ]); +$messages.Dialogs = $MadelineProto->messages->getDialogs(['offset' => int, 'max_id' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Dialogs = messages.getDialogs({offset=int, max_id=int, limit=int, }) +messages.Dialogs = messages.getDialogs({offset=int, max_id=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v27/methods/messages.getFullChat.md b/old_docs/API_docs_v27/methods/messages.getFullChat.md index abf23e21..de543651 100644 --- a/old_docs/API_docs_v27/methods/messages.getFullChat.md +++ b/old_docs/API_docs_v27/methods/messages.getFullChat.md @@ -16,7 +16,7 @@ You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo me |chat\_id|[Username, chat ID, Update, Message or InputPeer](../types/InputPeer.md) | You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo methods instead (see https://docs.madelineproto.xyz for more info) | Optional| -### Return type: [messages\_ChatFull](../types/messages_ChatFull.md) +### Return type: [messages.ChatFull](../types/messages.ChatFull.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_ChatFull = $MadelineProto->messages->getFullChat(['chat_id' => InputPeer, ]); +$messages.ChatFull = $MadelineProto->messages->getFullChat(['chat_id' => InputPeer, ]); ``` Or, if you're into Lua: ```lua -messages_ChatFull = messages.getFullChat({chat_id=InputPeer, }) +messages.ChatFull = messages.getFullChat({chat_id=InputPeer, }) ``` ### Errors diff --git a/old_docs/API_docs_v27/methods/messages.getHistory.md b/old_docs/API_docs_v27/methods/messages.getHistory.md index 3ff48433..cdc1ce2c 100644 --- a/old_docs/API_docs_v27/methods/messages.getHistory.md +++ b/old_docs/API_docs_v27/methods/messages.getHistory.md @@ -19,7 +19,7 @@ Gets back the conversation history with one interlocutor / within a chat |limit|[int](../types/int.md) | Number of results to return | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **NO** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->getHistory(['peer' => InputPeer, 'offset' => int, 'max_id' => int, 'limit' => int, ]); +$messages.Messages = $MadelineProto->messages->getHistory(['peer' => InputPeer, 'offset' => int, 'max_id' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.getHistory({peer=InputPeer, offset=int, max_id=int, limit=int, }) +messages.Messages = messages.getHistory({peer=InputPeer, offset=int, max_id=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v27/methods/messages.getMessages.md b/old_docs/API_docs_v27/methods/messages.getMessages.md index a3139513..c7760d7e 100644 --- a/old_docs/API_docs_v27/methods/messages.getMessages.md +++ b/old_docs/API_docs_v27/methods/messages.getMessages.md @@ -16,7 +16,7 @@ Returns the list of messages by their IDs. |id|Array of [int](../types/int.md) | The IDs of messages to fetch (only for users and normal groups) | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **YES** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->getMessages(['id' => [int, int], ]); +$messages.Messages = $MadelineProto->messages->getMessages(['id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.getMessages({id={int}, }) +messages.Messages = messages.getMessages({id={int}, }) ``` diff --git a/old_docs/API_docs_v27/methods/messages.getStickers.md b/old_docs/API_docs_v27/methods/messages.getStickers.md index aa149fc3..6fab91a5 100644 --- a/old_docs/API_docs_v27/methods/messages.getStickers.md +++ b/old_docs/API_docs_v27/methods/messages.getStickers.md @@ -17,7 +17,7 @@ Get stickers by emoji |hash|[string](../types/string.md) | Previously fetched sticker IDs | Yes| -### Return type: [messages\_Stickers](../types/messages_Stickers.md) +### Return type: [messages.Stickers](../types/messages.Stickers.md) ### Can bots use this method: **NO** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Stickers = $MadelineProto->messages->getStickers(['emoticon' => 'string', 'hash' => 'string', ]); +$messages.Stickers = $MadelineProto->messages->getStickers(['emoticon' => 'string', 'hash' => 'string', ]); ``` Or, if you're into Lua: ```lua -messages_Stickers = messages.getStickers({emoticon='string', hash='string', }) +messages.Stickers = messages.getStickers({emoticon='string', hash='string', }) ``` diff --git a/old_docs/API_docs_v27/methods/messages.readHistory.md b/old_docs/API_docs_v27/methods/messages.readHistory.md index b351bcc1..46969611 100644 --- a/old_docs/API_docs_v27/methods/messages.readHistory.md +++ b/old_docs/API_docs_v27/methods/messages.readHistory.md @@ -18,7 +18,7 @@ Marks message history as read. |offset|[int](../types/int.md) | Offset | Yes| -### Return type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) +### Return type: [messages.AffectedHistory](../types/messages.AffectedHistory.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedHistory = $MadelineProto->messages->readHistory(['peer' => InputPeer, 'max_id' => int, 'offset' => int, ]); +$messages.AffectedHistory = $MadelineProto->messages->readHistory(['peer' => InputPeer, 'max_id' => int, 'offset' => int, ]); ``` Or, if you're into Lua: ```lua -messages_AffectedHistory = messages.readHistory({peer=InputPeer, max_id=int, offset=int, }) +messages.AffectedHistory = messages.readHistory({peer=InputPeer, max_id=int, offset=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v27/methods/messages.readMessageContents.md b/old_docs/API_docs_v27/methods/messages.readMessageContents.md index c479cafe..9798e661 100644 --- a/old_docs/API_docs_v27/methods/messages.readMessageContents.md +++ b/old_docs/API_docs_v27/methods/messages.readMessageContents.md @@ -16,7 +16,7 @@ Notifies the sender about the recipient having listened a voice message or watch |id|Array of [int](../types/int.md) | The messages to mark as read (only users and normal chats, not supergroups) | Yes| -### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) +### Return type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedMessages = $MadelineProto->messages->readMessageContents(['id' => [int, int], ]); +$messages.AffectedMessages = $MadelineProto->messages->readMessageContents(['id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AffectedMessages = messages.readMessageContents({id={int}, }) +messages.AffectedMessages = messages.readMessageContents({id={int}, }) ``` diff --git a/old_docs/API_docs_v27/methods/messages.search.md b/old_docs/API_docs_v27/methods/messages.search.md index 4fda6636..7ebe6a9a 100644 --- a/old_docs/API_docs_v27/methods/messages.search.md +++ b/old_docs/API_docs_v27/methods/messages.search.md @@ -23,7 +23,7 @@ Gets back found messages |limit|[int](../types/int.md) | [Number of results to return](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **NO** @@ -40,13 +40,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->search(['peer' => InputPeer, 'q' => 'string', 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); +$messages.Messages = $MadelineProto->messages->search(['peer' => InputPeer, 'q' => 'string', 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.search({peer=InputPeer, q='string', filter=MessagesFilter, min_date=int, max_date=int, offset=int, max_id=int, limit=int, }) +messages.Messages = messages.search({peer=InputPeer, q='string', filter=MessagesFilter, min_date=int, max_date=int, offset=int, max_id=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v27/methods/messages.sendEncrypted.md b/old_docs/API_docs_v27/methods/messages.sendEncrypted.md index 47b5ef29..6a68b563 100644 --- a/old_docs/API_docs_v27/methods/messages.sendEncrypted.md +++ b/old_docs/API_docs_v27/methods/messages.sendEncrypted.md @@ -14,10 +14,10 @@ Sends a text message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|message|[DecryptedMessage](../types/DecryptedMessage.md) | The message to send | Yes| +|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key that was created during chat initialization | Yes| -### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ### Can bots use this method: **NO** @@ -34,21 +34,15 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncrypted(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); +$messages.SentEncryptedMessage = $MadelineProto->messages->sendEncrypted(['peer' => InputEncryptedChat, 'data' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -messages_SentEncryptedMessage = messages.sendEncrypted({peer=InputEncryptedChat, message=DecryptedMessage, }) +messages.SentEncryptedMessage = messages.sendEncrypted({peer=InputEncryptedChat, data='bytes', }) ``` - -## Return value - -If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) will be returned instead. - - ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v27/methods/messages.sendEncryptedFile.md b/old_docs/API_docs_v27/methods/messages.sendEncryptedFile.md index 4e0f7b7f..87185ba4 100644 --- a/old_docs/API_docs_v27/methods/messages.sendEncryptedFile.md +++ b/old_docs/API_docs_v27/methods/messages.sendEncryptedFile.md @@ -14,11 +14,11 @@ Sends a message with a file attachment to a secret chat | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|message|[DecryptedMessage](../types/DecryptedMessage.md) | The message with the file | Yes| +|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| |file|[File path or InputEncryptedFile](../types/InputEncryptedFile.md) | File attachment for the secret chat | Optional| -### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ### Can bots use this method: **NO** @@ -35,21 +35,15 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedFile(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, 'file' => InputEncryptedFile, ]); +$messages.SentEncryptedMessage = $MadelineProto->messages->sendEncryptedFile(['peer' => InputEncryptedChat, 'data' => 'bytes', 'file' => InputEncryptedFile, ]); ``` Or, if you're into Lua: ```lua -messages_SentEncryptedMessage = messages.sendEncryptedFile({peer=InputEncryptedChat, message=DecryptedMessage, file=InputEncryptedFile, }) +messages.SentEncryptedMessage = messages.sendEncryptedFile({peer=InputEncryptedChat, data='bytes', file=InputEncryptedFile, }) ``` - -## Return value - -If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) will be returned instead. - - ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v27/methods/messages.sendEncryptedService.md b/old_docs/API_docs_v27/methods/messages.sendEncryptedService.md index 86925ae3..38171272 100644 --- a/old_docs/API_docs_v27/methods/messages.sendEncryptedService.md +++ b/old_docs/API_docs_v27/methods/messages.sendEncryptedService.md @@ -14,10 +14,10 @@ Sends a service message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|message|[DecryptedMessage](../types/DecryptedMessage.md) | The service message | Yes| +|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| -### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ### Can bots use this method: **NO** @@ -34,21 +34,15 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedService(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); +$messages.SentEncryptedMessage = $MadelineProto->messages->sendEncryptedService(['peer' => InputEncryptedChat, 'data' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -messages_SentEncryptedMessage = messages.sendEncryptedService({peer=InputEncryptedChat, message=DecryptedMessage, }) +messages.SentEncryptedMessage = messages.sendEncryptedService({peer=InputEncryptedChat, data='bytes', }) ``` - -## Return value - -If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) will be returned instead. - - ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v27/methods/messages.sendMessage.md b/old_docs/API_docs_v27/methods/messages.sendMessage.md index 7f41bcfb..2584307d 100644 --- a/old_docs/API_docs_v27/methods/messages.sendMessage.md +++ b/old_docs/API_docs_v27/methods/messages.sendMessage.md @@ -18,7 +18,7 @@ Sends a message to a chat |message|[string](../types/string.md) | The message | Yes| -### Return type: [messages\_SentMessage](../types/messages_SentMessage.md) +### Return type: [messages.SentMessage](../types/messages.SentMessage.md) ### Can bots use this method: **YES** @@ -35,19 +35,19 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_SentMessage = $MadelineProto->messages->sendMessage(['peer' => InputPeer, 'reply_to_msg_id' => int, 'message' => 'string', ]); +$messages.SentMessage = $MadelineProto->messages->sendMessage(['peer' => InputPeer, 'reply_to_msg_id' => int, 'message' => 'string', ]); ``` Or, if you're into Lua: ```lua -messages_SentMessage = messages.sendMessage({peer=InputPeer, reply_to_msg_id=int, message='string', }) +messages.SentMessage = messages.sendMessage({peer=InputPeer, reply_to_msg_id=int, message='string', }) ``` ## Return value -If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [messages\_SentMessage](../types/messages_SentMessage.md) will be returned instead. +If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [messages.SentMessage](../types/messages.SentMessage.md) will be returned instead. ### Errors diff --git a/old_docs/API_docs_v27/methods/photos.getUserPhotos.md b/old_docs/API_docs_v27/methods/photos.getUserPhotos.md index a08c6a43..7a803893 100644 --- a/old_docs/API_docs_v27/methods/photos.getUserPhotos.md +++ b/old_docs/API_docs_v27/methods/photos.getUserPhotos.md @@ -19,7 +19,7 @@ Returns the list of user photos. |limit|[int](../types/int.md) | Number of list elements to be returned | Yes| -### Return type: [photos\_Photos](../types/photos_Photos.md) +### Return type: [photos.Photos](../types/photos.Photos.md) ### Can bots use this method: **YES** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$photos_Photos = $MadelineProto->photos->getUserPhotos(['user_id' => InputUser, 'offset' => int, 'max_id' => int, 'limit' => int, ]); +$photos.Photos = $MadelineProto->photos->getUserPhotos(['user_id' => InputUser, 'offset' => int, 'max_id' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -photos_Photos = photos.getUserPhotos({user_id=InputUser, offset=int, max_id=int, limit=int, }) +photos.Photos = photos.getUserPhotos({user_id=InputUser, offset=int, max_id=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v27/methods/photos.uploadProfilePhoto.md b/old_docs/API_docs_v27/methods/photos.uploadProfilePhoto.md index 337dcc21..18b2b4c6 100644 --- a/old_docs/API_docs_v27/methods/photos.uploadProfilePhoto.md +++ b/old_docs/API_docs_v27/methods/photos.uploadProfilePhoto.md @@ -19,7 +19,7 @@ Updates current user profile photo. |crop|[InputPhotoCrop](../types/InputPhotoCrop.md) | Cropping info | Yes| -### Return type: [photos\_Photo](../types/photos_Photo.md) +### Return type: [photos.Photo](../types/photos.Photo.md) ### Can bots use this method: **NO** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$photos_Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, 'caption' => 'string', 'geo_point' => InputGeoPoint, 'crop' => InputPhotoCrop, ]); +$photos.Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, 'caption' => 'string', 'geo_point' => InputGeoPoint, 'crop' => InputPhotoCrop, ]); ``` Or, if you're into Lua: ```lua -photos_Photo = photos.uploadProfilePhoto({file=InputFile, caption='string', geo_point=InputGeoPoint, crop=InputPhotoCrop, }) +photos.Photo = photos.uploadProfilePhoto({file=InputFile, caption='string', geo_point=InputGeoPoint, crop=InputPhotoCrop, }) ``` ### Errors diff --git a/old_docs/API_docs_v27/methods/updates.getDifference.md b/old_docs/API_docs_v27/methods/updates.getDifference.md index 57ea6d99..061a5c8f 100644 --- a/old_docs/API_docs_v27/methods/updates.getDifference.md +++ b/old_docs/API_docs_v27/methods/updates.getDifference.md @@ -18,7 +18,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz for more |qts|[int](../types/int.md) | You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates | Yes| -### Return type: [updates\_Difference](../types/updates_Difference.md) +### Return type: [updates.Difference](../types/updates.Difference.md) ### Can bots use this method: **YES** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$updates_Difference = $MadelineProto->updates->getDifference(['pts' => int, 'date' => int, 'qts' => int, ]); +$updates.Difference = $MadelineProto->updates->getDifference(['pts' => int, 'date' => int, 'qts' => int, ]); ``` Or, if you're into Lua: ```lua -updates_Difference = updates.getDifference({pts=int, date=int, qts=int, }) +updates.Difference = updates.getDifference({pts=int, date=int, qts=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v27/methods/updates.getState.md b/old_docs/API_docs_v27/methods/updates.getState.md index c591408a..9a7d2f34 100644 --- a/old_docs/API_docs_v27/methods/updates.getState.md +++ b/old_docs/API_docs_v27/methods/updates.getState.md @@ -11,7 +11,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz for more -### Return type: [updates\_State](../types/updates_State.md) +### Return type: [updates.State](../types/updates.State.md) ### Can bots use this method: **YES** @@ -28,13 +28,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$updates_State = $MadelineProto->updates->getState(); +$updates.State = $MadelineProto->updates->getState(); ``` Or, if you're into Lua: ```lua -updates_State = updates.getState({}) +updates.State = updates.getState({}) ``` ### Errors diff --git a/old_docs/API_docs_v27/methods/upload.getFile.md b/old_docs/API_docs_v27/methods/upload.getFile.md index 8aba03d4..ab9f4fe2 100644 --- a/old_docs/API_docs_v27/methods/upload.getFile.md +++ b/old_docs/API_docs_v27/methods/upload.getFile.md @@ -18,7 +18,7 @@ You cannot use this method directly, use the upload, downloadToStream, downloadT |limit|[int](../types/int.md) | You cannot use this method directly, use the upload, downloadToStream, downloadToFile, downloadToDir methods instead; see https://docs.madelineproto.xyz for more info | Yes| -### Return type: [upload\_File](../types/upload_File.md) +### Return type: [upload.File](../types/upload.File.md) ### Can bots use this method: **YES** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$upload_File = $MadelineProto->upload->getFile(['location' => InputFileLocation, 'offset' => int, 'limit' => int, ]); +$upload.File = $MadelineProto->upload->getFile(['location' => InputFileLocation, 'offset' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -upload_File = upload.getFile({location=InputFileLocation, offset=int, limit=int, }) +upload.File = upload.getFile({location=InputFileLocation, offset=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v27/types/AccountDaysTTL.md b/old_docs/API_docs_v27/types/AccountDaysTTL.md index 12a10190..f3494aac 100644 --- a/old_docs/API_docs_v27/types/AccountDaysTTL.md +++ b/old_docs/API_docs_v27/types/AccountDaysTTL.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->account->getAccountTTL](../methods/account_getAccountTTL.md) +[$MadelineProto->account->getAccountTTL](../methods/account.getAccountTTL.md) diff --git a/old_docs/API_docs_v27/types/Config.md b/old_docs/API_docs_v27/types/Config.md index 0f7fbe70..3a23b7b7 100644 --- a/old_docs/API_docs_v27/types/Config.md +++ b/old_docs/API_docs_v27/types/Config.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->help->getConfig](../methods/help_getConfig.md) +[$MadelineProto->help->getConfig](../methods/help.getConfig.md) diff --git a/old_docs/API_docs_v27/types/ContactStatus.md b/old_docs/API_docs_v27/types/ContactStatus.md index c5f5d658..30aee6e2 100644 --- a/old_docs/API_docs_v27/types/ContactStatus.md +++ b/old_docs/API_docs_v27/types/ContactStatus.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->contacts->getStatuses](../methods/contacts_getStatuses.md) +[$MadelineProto->contacts->getStatuses](../methods/contacts.getStatuses.md) diff --git a/old_docs/API_docs_v27/types/EncryptedChat.md b/old_docs/API_docs_v27/types/EncryptedChat.md index fd2277f6..19cf52b0 100644 --- a/old_docs/API_docs_v27/types/EncryptedChat.md +++ b/old_docs/API_docs_v27/types/EncryptedChat.md @@ -24,9 +24,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->requestEncryption](../methods/messages_requestEncryption.md) +[$MadelineProto->messages->requestEncryption](../methods/messages.requestEncryption.md) -[$MadelineProto->messages->acceptEncryption](../methods/messages_acceptEncryption.md) +[$MadelineProto->messages->acceptEncryption](../methods/messages.acceptEncryption.md) diff --git a/old_docs/API_docs_v27/types/MessageMedia.md b/old_docs/API_docs_v27/types/MessageMedia.md index dd543595..9ec83cb3 100644 --- a/old_docs/API_docs_v27/types/MessageMedia.md +++ b/old_docs/API_docs_v27/types/MessageMedia.md @@ -32,7 +32,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getWebPagePreview](../methods/messages_getWebPagePreview.md) +[$MadelineProto->messages->getWebPagePreview](../methods/messages.getWebPagePreview.md) diff --git a/old_docs/API_docs_v27/types/NearestDc.md b/old_docs/API_docs_v27/types/NearestDc.md index 31f24377..296a4dff 100644 --- a/old_docs/API_docs_v27/types/NearestDc.md +++ b/old_docs/API_docs_v27/types/NearestDc.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->help->getNearestDc](../methods/help_getNearestDc.md) +[$MadelineProto->help->getNearestDc](../methods/help.getNearestDc.md) diff --git a/old_docs/API_docs_v27/types/PeerNotifySettings.md b/old_docs/API_docs_v27/types/PeerNotifySettings.md index 769de075..3d72b7c5 100644 --- a/old_docs/API_docs_v27/types/PeerNotifySettings.md +++ b/old_docs/API_docs_v27/types/PeerNotifySettings.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->account->getNotifySettings](../methods/account_getNotifySettings.md) +[$MadelineProto->account->getNotifySettings](../methods/account.getNotifySettings.md) diff --git a/old_docs/API_docs_v27/types/README.md b/old_docs/API_docs_v27/types/README.md index 165e9fe9..05e0a259 100644 --- a/old_docs/API_docs_v27/types/README.md +++ b/old_docs/API_docs_v27/types/README.md @@ -165,89 +165,89 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png [X](X.md) -[account\_Authorizations](account_Authorizations.md) +[account.Authorizations](account.Authorizations.md) -[account\_Password](account_Password.md) +[account.Password](account.Password.md) -[account\_PasswordInputSettings](account_PasswordInputSettings.md) +[account.PasswordInputSettings](account.PasswordInputSettings.md) -[account\_PasswordSettings](account_PasswordSettings.md) +[account.PasswordSettings](account.PasswordSettings.md) -[account\_PrivacyRules](account_PrivacyRules.md) +[account.PrivacyRules](account.PrivacyRules.md) -[account\_SentChangePhoneCode](account_SentChangePhoneCode.md) +[account.SentChangePhoneCode](account.SentChangePhoneCode.md) -[auth\_Authorization](auth_Authorization.md) +[auth.Authorization](auth.Authorization.md) -[auth\_CheckedPhone](auth_CheckedPhone.md) +[auth.CheckedPhone](auth.CheckedPhone.md) -[auth\_ExportedAuthorization](auth_ExportedAuthorization.md) +[auth.ExportedAuthorization](auth.ExportedAuthorization.md) -[auth\_PasswordRecovery](auth_PasswordRecovery.md) +[auth.PasswordRecovery](auth.PasswordRecovery.md) -[auth\_SentCode](auth_SentCode.md) +[auth.SentCode](auth.SentCode.md) -[contacts\_Blocked](contacts_Blocked.md) +[contacts.Blocked](contacts.Blocked.md) -[contacts\_Contacts](contacts_Contacts.md) +[contacts.Contacts](contacts.Contacts.md) -[contacts\_Found](contacts_Found.md) +[contacts.Found](contacts.Found.md) -[contacts\_ImportedContacts](contacts_ImportedContacts.md) +[contacts.ImportedContacts](contacts.ImportedContacts.md) -[contacts\_Link](contacts_Link.md) +[contacts.Link](contacts.Link.md) -[contacts\_Suggested](contacts_Suggested.md) +[contacts.Suggested](contacts.Suggested.md) -[geochats\_Located](geochats_Located.md) +[geochats.Located](geochats.Located.md) -[geochats\_Messages](geochats_Messages.md) +[geochats.Messages](geochats.Messages.md) -[geochats\_StatedMessage](geochats_StatedMessage.md) +[geochats.StatedMessage](geochats.StatedMessage.md) -[help\_AppUpdate](help_AppUpdate.md) +[help.AppUpdate](help.AppUpdate.md) -[help\_InviteText](help_InviteText.md) +[help.InviteText](help.InviteText.md) -[help\_Support](help_Support.md) +[help.Support](help.Support.md) [int](int.md) [long](long.md) -[messages\_AffectedHistory](messages_AffectedHistory.md) +[messages.AffectedHistory](messages.AffectedHistory.md) -[messages\_AffectedMessages](messages_AffectedMessages.md) +[messages.AffectedMessages](messages.AffectedMessages.md) -[messages\_AllStickers](messages_AllStickers.md) +[messages.AllStickers](messages.AllStickers.md) -[messages\_ChatFull](messages_ChatFull.md) +[messages.ChatFull](messages.ChatFull.md) -[messages\_Chats](messages_Chats.md) +[messages.Chats](messages.Chats.md) -[messages\_DhConfig](messages_DhConfig.md) +[messages.DhConfig](messages.DhConfig.md) -[messages\_Dialogs](messages_Dialogs.md) +[messages.Dialogs](messages.Dialogs.md) -[messages\_Message](messages_Message.md) +[messages.Message](messages.Message.md) -[messages\_Messages](messages_Messages.md) +[messages.Messages](messages.Messages.md) -[messages\_SentEncryptedMessage](messages_SentEncryptedMessage.md) +[messages.SentEncryptedMessage](messages.SentEncryptedMessage.md) -[messages\_SentMessage](messages_SentMessage.md) +[messages.SentMessage](messages.SentMessage.md) -[messages\_Stickers](messages_Stickers.md) +[messages.Stickers](messages.Stickers.md) -[photos\_Photo](photos_Photo.md) +[photos.Photo](photos.Photo.md) -[photos\_Photos](photos_Photos.md) +[photos.Photos](photos.Photos.md) -[storage\_FileType](storage_FileType.md) +[storage.FileType](storage.FileType.md) -[updates\_Difference](updates_Difference.md) +[updates.Difference](updates.Difference.md) -[updates\_State](updates_State.md) +[updates.State](updates.State.md) -[upload\_File](upload_File.md) +[upload.File](upload.File.md) diff --git a/old_docs/API_docs_v27/types/Updates.md b/old_docs/API_docs_v27/types/Updates.md index 83bd69ee..b4400687 100644 --- a/old_docs/API_docs_v27/types/Updates.md +++ b/old_docs/API_docs_v27/types/Updates.md @@ -26,23 +26,23 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->sendMedia](../methods/messages_sendMedia.md) +[$MadelineProto->messages->sendMedia](../methods/messages.sendMedia.md) -[$MadelineProto->messages->forwardMessages](../methods/messages_forwardMessages.md) +[$MadelineProto->messages->forwardMessages](../methods/messages.forwardMessages.md) -[$MadelineProto->messages->editChatTitle](../methods/messages_editChatTitle.md) +[$MadelineProto->messages->editChatTitle](../methods/messages.editChatTitle.md) -[$MadelineProto->messages->editChatPhoto](../methods/messages_editChatPhoto.md) +[$MadelineProto->messages->editChatPhoto](../methods/messages.editChatPhoto.md) -[$MadelineProto->messages->addChatUser](../methods/messages_addChatUser.md) +[$MadelineProto->messages->addChatUser](../methods/messages.addChatUser.md) -[$MadelineProto->messages->deleteChatUser](../methods/messages_deleteChatUser.md) +[$MadelineProto->messages->deleteChatUser](../methods/messages.deleteChatUser.md) -[$MadelineProto->messages->createChat](../methods/messages_createChat.md) +[$MadelineProto->messages->createChat](../methods/messages.createChat.md) -[$MadelineProto->messages->forwardMessage](../methods/messages_forwardMessage.md) +[$MadelineProto->messages->forwardMessage](../methods/messages.forwardMessage.md) -[$MadelineProto->messages->sendBroadcast](../methods/messages_sendBroadcast.md) +[$MadelineProto->messages->sendBroadcast](../methods/messages.sendBroadcast.md) diff --git a/old_docs/API_docs_v27/types/User.md b/old_docs/API_docs_v27/types/User.md index 6dbfd982..e92dbbf8 100644 --- a/old_docs/API_docs_v27/types/User.md +++ b/old_docs/API_docs_v27/types/User.md @@ -50,17 +50,17 @@ A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDia ### Methods that return an object of this type (methods): -[$MadelineProto->account->updateProfile](../methods/account_updateProfile.md) +[$MadelineProto->account->updateProfile](../methods/account.updateProfile.md) -[$MadelineProto->users->getUsers](../methods/users_getUsers.md) +[$MadelineProto->users->getUsers](../methods/users.getUsers.md) -[$MadelineProto->contacts->importCard](../methods/contacts_importCard.md) +[$MadelineProto->contacts->importCard](../methods/contacts.importCard.md) -[$MadelineProto->account->updateUsername](../methods/account_updateUsername.md) +[$MadelineProto->account->updateUsername](../methods/account.updateUsername.md) -[$MadelineProto->contacts->resolveUsername](../methods/contacts_resolveUsername.md) +[$MadelineProto->contacts->resolveUsername](../methods/contacts.resolveUsername.md) -[$MadelineProto->account->changePhone](../methods/account_changePhone.md) +[$MadelineProto->account->changePhone](../methods/account.changePhone.md) diff --git a/old_docs/API_docs_v27/types/UserFull.md b/old_docs/API_docs_v27/types/UserFull.md index 79ad30bb..ac50052f 100644 --- a/old_docs/API_docs_v27/types/UserFull.md +++ b/old_docs/API_docs_v27/types/UserFull.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->users->getFullUser](../methods/users_getFullUser.md) +[$MadelineProto->users->getFullUser](../methods/users.getFullUser.md) diff --git a/old_docs/API_docs_v27/types/UserProfilePhoto.md b/old_docs/API_docs_v27/types/UserProfilePhoto.md index e5243a2e..e81e92fd 100644 --- a/old_docs/API_docs_v27/types/UserProfilePhoto.md +++ b/old_docs/API_docs_v27/types/UserProfilePhoto.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->photos->updateProfilePhoto](../methods/photos_updateProfilePhoto.md) +[$MadelineProto->photos->updateProfilePhoto](../methods/photos.updateProfilePhoto.md) diff --git a/old_docs/API_docs_v27/types/WallPaper.md b/old_docs/API_docs_v27/types/WallPaper.md index 8c5ac7cf..45337565 100644 --- a/old_docs/API_docs_v27/types/WallPaper.md +++ b/old_docs/API_docs_v27/types/WallPaper.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->account->getWallPapers](../methods/account_getWallPapers.md) +[$MadelineProto->account->getWallPapers](../methods/account.getWallPapers.md) diff --git a/old_docs/API_docs_v27/types/account.Authorizations.md b/old_docs/API_docs_v27/types/account.Authorizations.md new file mode 100644 index 00000000..f9112038 --- /dev/null +++ b/old_docs/API_docs_v27/types/account.Authorizations.md @@ -0,0 +1,22 @@ +--- +title: account.Authorizations +description: constructors and methods of type account.Authorizations +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.Authorizations +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.authorizations](../constructors/account.authorizations.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getAuthorizations](../methods/account.getAuthorizations.md) + + + diff --git a/old_docs/API_docs_v27/types/account.Password.md b/old_docs/API_docs_v27/types/account.Password.md new file mode 100644 index 00000000..5217ab5e --- /dev/null +++ b/old_docs/API_docs_v27/types/account.Password.md @@ -0,0 +1,24 @@ +--- +title: account.Password +description: constructors and methods of type account.Password +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.Password +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.noPassword](../constructors/account.noPassword.md) + +[account.password](../constructors/account.password.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getPassword](../methods/account.getPassword.md) + + + diff --git a/old_docs/API_docs_v27/types/account.PasswordInputSettings.md b/old_docs/API_docs_v27/types/account.PasswordInputSettings.md new file mode 100644 index 00000000..72e11fdc --- /dev/null +++ b/old_docs/API_docs_v27/types/account.PasswordInputSettings.md @@ -0,0 +1,20 @@ +--- +title: account.PasswordInputSettings +description: constructors and methods of type account.PasswordInputSettings +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.PasswordInputSettings +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.passwordInputSettings](../constructors/account.passwordInputSettings.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v27/types/account.PasswordSettings.md b/old_docs/API_docs_v27/types/account.PasswordSettings.md new file mode 100644 index 00000000..47016832 --- /dev/null +++ b/old_docs/API_docs_v27/types/account.PasswordSettings.md @@ -0,0 +1,22 @@ +--- +title: account.PasswordSettings +description: constructors and methods of type account.PasswordSettings +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.PasswordSettings +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.passwordSettings](../constructors/account.passwordSettings.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getPasswordSettings](../methods/account.getPasswordSettings.md) + + + diff --git a/old_docs/API_docs_v27/types/account.PrivacyRules.md b/old_docs/API_docs_v27/types/account.PrivacyRules.md new file mode 100644 index 00000000..738651ad --- /dev/null +++ b/old_docs/API_docs_v27/types/account.PrivacyRules.md @@ -0,0 +1,24 @@ +--- +title: account.PrivacyRules +description: constructors and methods of type account.PrivacyRules +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.PrivacyRules +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.privacyRules](../constructors/account.privacyRules.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getPrivacy](../methods/account.getPrivacy.md) + +[$MadelineProto->account->setPrivacy](../methods/account.setPrivacy.md) + + + diff --git a/old_docs/API_docs_v27/types/account.SentChangePhoneCode.md b/old_docs/API_docs_v27/types/account.SentChangePhoneCode.md new file mode 100644 index 00000000..659b0feb --- /dev/null +++ b/old_docs/API_docs_v27/types/account.SentChangePhoneCode.md @@ -0,0 +1,22 @@ +--- +title: account.SentChangePhoneCode +description: constructors and methods of type account.SentChangePhoneCode +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.SentChangePhoneCode +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.sentChangePhoneCode](../constructors/account.sentChangePhoneCode.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->sendChangePhoneCode](../methods/account.sendChangePhoneCode.md) + + + diff --git a/old_docs/API_docs_v27/types/account_Authorizations.md b/old_docs/API_docs_v27/types/account_Authorizations.md deleted file mode 100644 index 4709ddb5..00000000 --- a/old_docs/API_docs_v27/types/account_Authorizations.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_Authorizations -description: constructors and methods of type account_Authorizations -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_Authorizations -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_authorizations](../constructors/account_authorizations.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getAuthorizations](../methods/account_getAuthorizations.md) - - - diff --git a/old_docs/API_docs_v27/types/account_Password.md b/old_docs/API_docs_v27/types/account_Password.md deleted file mode 100644 index 23e05987..00000000 --- a/old_docs/API_docs_v27/types/account_Password.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: account_Password -description: constructors and methods of type account_Password -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_Password -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_noPassword](../constructors/account_noPassword.md) - -[account\_password](../constructors/account_password.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getPassword](../methods/account_getPassword.md) - - - diff --git a/old_docs/API_docs_v27/types/account_PasswordInputSettings.md b/old_docs/API_docs_v27/types/account_PasswordInputSettings.md deleted file mode 100644 index a6455eb8..00000000 --- a/old_docs/API_docs_v27/types/account_PasswordInputSettings.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: account_PasswordInputSettings -description: constructors and methods of type account_PasswordInputSettings -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_PasswordInputSettings -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_passwordInputSettings](../constructors/account_passwordInputSettings.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v27/types/account_PasswordSettings.md b/old_docs/API_docs_v27/types/account_PasswordSettings.md deleted file mode 100644 index 687eb217..00000000 --- a/old_docs/API_docs_v27/types/account_PasswordSettings.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_PasswordSettings -description: constructors and methods of type account_PasswordSettings -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_PasswordSettings -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_passwordSettings](../constructors/account_passwordSettings.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getPasswordSettings](../methods/account_getPasswordSettings.md) - - - diff --git a/old_docs/API_docs_v27/types/account_PrivacyRules.md b/old_docs/API_docs_v27/types/account_PrivacyRules.md deleted file mode 100644 index 40b00077..00000000 --- a/old_docs/API_docs_v27/types/account_PrivacyRules.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: account_PrivacyRules -description: constructors and methods of type account_PrivacyRules -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_PrivacyRules -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_privacyRules](../constructors/account_privacyRules.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getPrivacy](../methods/account_getPrivacy.md) - -[$MadelineProto->account->setPrivacy](../methods/account_setPrivacy.md) - - - diff --git a/old_docs/API_docs_v27/types/account_SentChangePhoneCode.md b/old_docs/API_docs_v27/types/account_SentChangePhoneCode.md deleted file mode 100644 index ead3e28c..00000000 --- a/old_docs/API_docs_v27/types/account_SentChangePhoneCode.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_SentChangePhoneCode -description: constructors and methods of type account_SentChangePhoneCode -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_SentChangePhoneCode -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_sentChangePhoneCode](../constructors/account_sentChangePhoneCode.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->sendChangePhoneCode](../methods/account_sendChangePhoneCode.md) - - - diff --git a/old_docs/API_docs_v27/types/auth.Authorization.md b/old_docs/API_docs_v27/types/auth.Authorization.md new file mode 100644 index 00000000..50677f79 --- /dev/null +++ b/old_docs/API_docs_v27/types/auth.Authorization.md @@ -0,0 +1,30 @@ +--- +title: auth.Authorization +description: constructors and methods of type auth.Authorization +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.Authorization +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.authorization](../constructors/auth.authorization.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->signUp](../methods/auth.signUp.md) + +[$MadelineProto->auth->signIn](../methods/auth.signIn.md) + +[$MadelineProto->auth->importAuthorization](../methods/auth.importAuthorization.md) + +[$MadelineProto->auth->checkPassword](../methods/auth.checkPassword.md) + +[$MadelineProto->auth->recoverPassword](../methods/auth.recoverPassword.md) + + + diff --git a/old_docs/API_docs_v27/types/auth.CheckedPhone.md b/old_docs/API_docs_v27/types/auth.CheckedPhone.md new file mode 100644 index 00000000..94af3915 --- /dev/null +++ b/old_docs/API_docs_v27/types/auth.CheckedPhone.md @@ -0,0 +1,22 @@ +--- +title: auth.CheckedPhone +description: constructors and methods of type auth.CheckedPhone +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.CheckedPhone +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.checkedPhone](../constructors/auth.checkedPhone.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->checkPhone](../methods/auth.checkPhone.md) + + + diff --git a/old_docs/API_docs_v27/types/auth.ExportedAuthorization.md b/old_docs/API_docs_v27/types/auth.ExportedAuthorization.md new file mode 100644 index 00000000..ccb38d60 --- /dev/null +++ b/old_docs/API_docs_v27/types/auth.ExportedAuthorization.md @@ -0,0 +1,22 @@ +--- +title: auth.ExportedAuthorization +description: constructors and methods of type auth.ExportedAuthorization +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.ExportedAuthorization +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.exportedAuthorization](../constructors/auth.exportedAuthorization.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->exportAuthorization](../methods/auth.exportAuthorization.md) + + + diff --git a/old_docs/API_docs_v27/types/auth.PasswordRecovery.md b/old_docs/API_docs_v27/types/auth.PasswordRecovery.md new file mode 100644 index 00000000..c1c18992 --- /dev/null +++ b/old_docs/API_docs_v27/types/auth.PasswordRecovery.md @@ -0,0 +1,22 @@ +--- +title: auth.PasswordRecovery +description: constructors and methods of type auth.PasswordRecovery +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.PasswordRecovery +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.passwordRecovery](../constructors/auth.passwordRecovery.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->requestPasswordRecovery](../methods/auth.requestPasswordRecovery.md) + + + diff --git a/old_docs/API_docs_v27/types/auth.SentCode.md b/old_docs/API_docs_v27/types/auth.SentCode.md new file mode 100644 index 00000000..9fd32a73 --- /dev/null +++ b/old_docs/API_docs_v27/types/auth.SentCode.md @@ -0,0 +1,24 @@ +--- +title: auth.SentCode +description: constructors and methods of type auth.SentCode +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.SentCode +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.sentCode](../constructors/auth.sentCode.md) + +[auth.sentAppCode](../constructors/auth.sentAppCode.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->sendCode](../methods/auth.sendCode.md) + + + diff --git a/old_docs/API_docs_v27/types/auth_Authorization.md b/old_docs/API_docs_v27/types/auth_Authorization.md deleted file mode 100644 index 86b0b37e..00000000 --- a/old_docs/API_docs_v27/types/auth_Authorization.md +++ /dev/null @@ -1,30 +0,0 @@ ---- -title: auth_Authorization -description: constructors and methods of type auth_Authorization -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_Authorization -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_authorization](../constructors/auth_authorization.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->signUp](../methods/auth_signUp.md) - -[$MadelineProto->auth->signIn](../methods/auth_signIn.md) - -[$MadelineProto->auth->importAuthorization](../methods/auth_importAuthorization.md) - -[$MadelineProto->auth->checkPassword](../methods/auth_checkPassword.md) - -[$MadelineProto->auth->recoverPassword](../methods/auth_recoverPassword.md) - - - diff --git a/old_docs/API_docs_v27/types/auth_CheckedPhone.md b/old_docs/API_docs_v27/types/auth_CheckedPhone.md deleted file mode 100644 index e9b0def4..00000000 --- a/old_docs/API_docs_v27/types/auth_CheckedPhone.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: auth_CheckedPhone -description: constructors and methods of type auth_CheckedPhone -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_CheckedPhone -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_checkedPhone](../constructors/auth_checkedPhone.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->checkPhone](../methods/auth_checkPhone.md) - - - diff --git a/old_docs/API_docs_v27/types/auth_ExportedAuthorization.md b/old_docs/API_docs_v27/types/auth_ExportedAuthorization.md deleted file mode 100644 index 69e5c42e..00000000 --- a/old_docs/API_docs_v27/types/auth_ExportedAuthorization.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: auth_ExportedAuthorization -description: constructors and methods of type auth_ExportedAuthorization -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_ExportedAuthorization -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_exportedAuthorization](../constructors/auth_exportedAuthorization.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->exportAuthorization](../methods/auth_exportAuthorization.md) - - - diff --git a/old_docs/API_docs_v27/types/auth_PasswordRecovery.md b/old_docs/API_docs_v27/types/auth_PasswordRecovery.md deleted file mode 100644 index 4962bf42..00000000 --- a/old_docs/API_docs_v27/types/auth_PasswordRecovery.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: auth_PasswordRecovery -description: constructors and methods of type auth_PasswordRecovery -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_PasswordRecovery -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_passwordRecovery](../constructors/auth_passwordRecovery.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->requestPasswordRecovery](../methods/auth_requestPasswordRecovery.md) - - - diff --git a/old_docs/API_docs_v27/types/auth_SentCode.md b/old_docs/API_docs_v27/types/auth_SentCode.md deleted file mode 100644 index 85b8d351..00000000 --- a/old_docs/API_docs_v27/types/auth_SentCode.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: auth_SentCode -description: constructors and methods of type auth_SentCode -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_SentCode -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_sentCode](../constructors/auth_sentCode.md) - -[auth\_sentAppCode](../constructors/auth_sentAppCode.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->sendCode](../methods/auth_sendCode.md) - - - diff --git a/old_docs/API_docs_v27/types/contacts.Blocked.md b/old_docs/API_docs_v27/types/contacts.Blocked.md new file mode 100644 index 00000000..cb2af80f --- /dev/null +++ b/old_docs/API_docs_v27/types/contacts.Blocked.md @@ -0,0 +1,24 @@ +--- +title: contacts.Blocked +description: constructors and methods of type contacts.Blocked +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Blocked +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.blocked](../constructors/contacts.blocked.md) + +[contacts.blockedSlice](../constructors/contacts.blockedSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getBlocked](../methods/contacts.getBlocked.md) + + + diff --git a/old_docs/API_docs_v27/types/contacts.Contacts.md b/old_docs/API_docs_v27/types/contacts.Contacts.md new file mode 100644 index 00000000..5f695d8e --- /dev/null +++ b/old_docs/API_docs_v27/types/contacts.Contacts.md @@ -0,0 +1,24 @@ +--- +title: contacts.Contacts +description: constructors and methods of type contacts.Contacts +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Contacts +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.contactsNotModified](../constructors/contacts.contactsNotModified.md) + +[contacts.contacts](../constructors/contacts.contacts.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getContacts](../methods/contacts.getContacts.md) + + + diff --git a/old_docs/API_docs_v27/types/contacts.Found.md b/old_docs/API_docs_v27/types/contacts.Found.md new file mode 100644 index 00000000..7df98927 --- /dev/null +++ b/old_docs/API_docs_v27/types/contacts.Found.md @@ -0,0 +1,22 @@ +--- +title: contacts.Found +description: constructors and methods of type contacts.Found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Found +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.found](../constructors/contacts.found.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->search](../methods/contacts.search.md) + + + diff --git a/old_docs/API_docs_v27/types/contacts.ImportedContacts.md b/old_docs/API_docs_v27/types/contacts.ImportedContacts.md new file mode 100644 index 00000000..16795bab --- /dev/null +++ b/old_docs/API_docs_v27/types/contacts.ImportedContacts.md @@ -0,0 +1,22 @@ +--- +title: contacts.ImportedContacts +description: constructors and methods of type contacts.ImportedContacts +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.ImportedContacts +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.importedContacts](../constructors/contacts.importedContacts.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->importContacts](../methods/contacts.importContacts.md) + + + diff --git a/old_docs/API_docs_v27/types/contacts.Link.md b/old_docs/API_docs_v27/types/contacts.Link.md new file mode 100644 index 00000000..eb9da683 --- /dev/null +++ b/old_docs/API_docs_v27/types/contacts.Link.md @@ -0,0 +1,22 @@ +--- +title: contacts.Link +description: constructors and methods of type contacts.Link +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Link +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.link](../constructors/contacts.link.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->deleteContact](../methods/contacts.deleteContact.md) + + + diff --git a/old_docs/API_docs_v27/types/contacts.Suggested.md b/old_docs/API_docs_v27/types/contacts.Suggested.md new file mode 100644 index 00000000..a462dae5 --- /dev/null +++ b/old_docs/API_docs_v27/types/contacts.Suggested.md @@ -0,0 +1,22 @@ +--- +title: contacts.Suggested +description: constructors and methods of type contacts.Suggested +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Suggested +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.suggested](../constructors/contacts.suggested.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getSuggested](../methods/contacts.getSuggested.md) + + + diff --git a/old_docs/API_docs_v27/types/contacts_Blocked.md b/old_docs/API_docs_v27/types/contacts_Blocked.md deleted file mode 100644 index 3e1f02eb..00000000 --- a/old_docs/API_docs_v27/types/contacts_Blocked.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: contacts_Blocked -description: constructors and methods of type contacts_Blocked -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Blocked -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_blocked](../constructors/contacts_blocked.md) - -[contacts\_blockedSlice](../constructors/contacts_blockedSlice.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->getBlocked](../methods/contacts_getBlocked.md) - - - diff --git a/old_docs/API_docs_v27/types/contacts_Contacts.md b/old_docs/API_docs_v27/types/contacts_Contacts.md deleted file mode 100644 index 5d6c9506..00000000 --- a/old_docs/API_docs_v27/types/contacts_Contacts.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: contacts_Contacts -description: constructors and methods of type contacts_Contacts -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Contacts -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_contactsNotModified](../constructors/contacts_contactsNotModified.md) - -[contacts\_contacts](../constructors/contacts_contacts.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->getContacts](../methods/contacts_getContacts.md) - - - diff --git a/old_docs/API_docs_v27/types/contacts_Found.md b/old_docs/API_docs_v27/types/contacts_Found.md deleted file mode 100644 index 806101cf..00000000 --- a/old_docs/API_docs_v27/types/contacts_Found.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_Found -description: constructors and methods of type contacts_Found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Found -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_found](../constructors/contacts_found.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->search](../methods/contacts_search.md) - - - diff --git a/old_docs/API_docs_v27/types/contacts_ImportedContacts.md b/old_docs/API_docs_v27/types/contacts_ImportedContacts.md deleted file mode 100644 index faf7e615..00000000 --- a/old_docs/API_docs_v27/types/contacts_ImportedContacts.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_ImportedContacts -description: constructors and methods of type contacts_ImportedContacts -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_ImportedContacts -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_importedContacts](../constructors/contacts_importedContacts.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->importContacts](../methods/contacts_importContacts.md) - - - diff --git a/old_docs/API_docs_v27/types/contacts_Link.md b/old_docs/API_docs_v27/types/contacts_Link.md deleted file mode 100644 index 01556606..00000000 --- a/old_docs/API_docs_v27/types/contacts_Link.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_Link -description: constructors and methods of type contacts_Link -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Link -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_link](../constructors/contacts_link.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->deleteContact](../methods/contacts_deleteContact.md) - - - diff --git a/old_docs/API_docs_v27/types/contacts_Suggested.md b/old_docs/API_docs_v27/types/contacts_Suggested.md deleted file mode 100644 index dd597b3b..00000000 --- a/old_docs/API_docs_v27/types/contacts_Suggested.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_Suggested -description: constructors and methods of type contacts_Suggested -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Suggested -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_suggested](../constructors/contacts_suggested.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->getSuggested](../methods/contacts_getSuggested.md) - - - diff --git a/old_docs/API_docs_v27/types/geochats.Located.md b/old_docs/API_docs_v27/types/geochats.Located.md new file mode 100644 index 00000000..d859711a --- /dev/null +++ b/old_docs/API_docs_v27/types/geochats.Located.md @@ -0,0 +1,22 @@ +--- +title: geochats.Located +description: constructors and methods of type geochats.Located +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: geochats.Located +[Back to types index](index.md) + + + +### Possible values (constructors): + +[geochats.located](../constructors/geochats.located.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->geochats->getLocated](../methods/geochats.getLocated.md) + + + diff --git a/old_docs/API_docs_v27/types/geochats.Messages.md b/old_docs/API_docs_v27/types/geochats.Messages.md new file mode 100644 index 00000000..82d2df9a --- /dev/null +++ b/old_docs/API_docs_v27/types/geochats.Messages.md @@ -0,0 +1,28 @@ +--- +title: geochats.Messages +description: constructors and methods of type geochats.Messages +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: geochats.Messages +[Back to types index](index.md) + + + +### Possible values (constructors): + +[geochats.messages](../constructors/geochats.messages.md) + +[geochats.messagesSlice](../constructors/geochats.messagesSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->geochats->getRecents](../methods/geochats.getRecents.md) + +[$MadelineProto->geochats->search](../methods/geochats.search.md) + +[$MadelineProto->geochats->getHistory](../methods/geochats.getHistory.md) + + + diff --git a/old_docs/API_docs_v27/types/geochats.StatedMessage.md b/old_docs/API_docs_v27/types/geochats.StatedMessage.md new file mode 100644 index 00000000..cd9f4e25 --- /dev/null +++ b/old_docs/API_docs_v27/types/geochats.StatedMessage.md @@ -0,0 +1,32 @@ +--- +title: geochats.StatedMessage +description: constructors and methods of type geochats.StatedMessage +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: geochats.StatedMessage +[Back to types index](index.md) + + + +### Possible values (constructors): + +[geochats.statedMessage](../constructors/geochats.statedMessage.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->geochats->checkin](../methods/geochats.checkin.md) + +[$MadelineProto->geochats->editChatTitle](../methods/geochats.editChatTitle.md) + +[$MadelineProto->geochats->editChatPhoto](../methods/geochats.editChatPhoto.md) + +[$MadelineProto->geochats->sendMessage](../methods/geochats.sendMessage.md) + +[$MadelineProto->geochats->sendMedia](../methods/geochats.sendMedia.md) + +[$MadelineProto->geochats->createGeoChat](../methods/geochats.createGeoChat.md) + + + diff --git a/old_docs/API_docs_v27/types/geochats_Located.md b/old_docs/API_docs_v27/types/geochats_Located.md deleted file mode 100644 index 68c2360e..00000000 --- a/old_docs/API_docs_v27/types/geochats_Located.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: geochats_Located -description: constructors and methods of type geochats_Located -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: geochats\_Located -[Back to types index](index.md) - - - -### Possible values (constructors): - -[geochats\_located](../constructors/geochats_located.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->geochats->getLocated](../methods/geochats_getLocated.md) - - - diff --git a/old_docs/API_docs_v27/types/geochats_Messages.md b/old_docs/API_docs_v27/types/geochats_Messages.md deleted file mode 100644 index f71ffa88..00000000 --- a/old_docs/API_docs_v27/types/geochats_Messages.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: geochats_Messages -description: constructors and methods of type geochats_Messages -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: geochats\_Messages -[Back to types index](index.md) - - - -### Possible values (constructors): - -[geochats\_messages](../constructors/geochats_messages.md) - -[geochats\_messagesSlice](../constructors/geochats_messagesSlice.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->geochats->getRecents](../methods/geochats_getRecents.md) - -[$MadelineProto->geochats->search](../methods/geochats_search.md) - -[$MadelineProto->geochats->getHistory](../methods/geochats_getHistory.md) - - - diff --git a/old_docs/API_docs_v27/types/geochats_StatedMessage.md b/old_docs/API_docs_v27/types/geochats_StatedMessage.md deleted file mode 100644 index 18a86c75..00000000 --- a/old_docs/API_docs_v27/types/geochats_StatedMessage.md +++ /dev/null @@ -1,32 +0,0 @@ ---- -title: geochats_StatedMessage -description: constructors and methods of type geochats_StatedMessage -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: geochats\_StatedMessage -[Back to types index](index.md) - - - -### Possible values (constructors): - -[geochats\_statedMessage](../constructors/geochats_statedMessage.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->geochats->checkin](../methods/geochats_checkin.md) - -[$MadelineProto->geochats->editChatTitle](../methods/geochats_editChatTitle.md) - -[$MadelineProto->geochats->editChatPhoto](../methods/geochats_editChatPhoto.md) - -[$MadelineProto->geochats->sendMessage](../methods/geochats_sendMessage.md) - -[$MadelineProto->geochats->sendMedia](../methods/geochats_sendMedia.md) - -[$MadelineProto->geochats->createGeoChat](../methods/geochats_createGeoChat.md) - - - diff --git a/old_docs/API_docs_v27/types/help.AppUpdate.md b/old_docs/API_docs_v27/types/help.AppUpdate.md new file mode 100644 index 00000000..285ec2b7 --- /dev/null +++ b/old_docs/API_docs_v27/types/help.AppUpdate.md @@ -0,0 +1,24 @@ +--- +title: help.AppUpdate +description: constructors and methods of type help.AppUpdate +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.AppUpdate +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.appUpdate](../constructors/help.appUpdate.md) + +[help.noAppUpdate](../constructors/help.noAppUpdate.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getAppUpdate](../methods/help.getAppUpdate.md) + + + diff --git a/old_docs/API_docs_v27/types/help.InviteText.md b/old_docs/API_docs_v27/types/help.InviteText.md new file mode 100644 index 00000000..43293f46 --- /dev/null +++ b/old_docs/API_docs_v27/types/help.InviteText.md @@ -0,0 +1,22 @@ +--- +title: help.InviteText +description: constructors and methods of type help.InviteText +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.InviteText +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.inviteText](../constructors/help.inviteText.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getInviteText](../methods/help.getInviteText.md) + + + diff --git a/old_docs/API_docs_v27/types/help.Support.md b/old_docs/API_docs_v27/types/help.Support.md new file mode 100644 index 00000000..42c20483 --- /dev/null +++ b/old_docs/API_docs_v27/types/help.Support.md @@ -0,0 +1,22 @@ +--- +title: help.Support +description: constructors and methods of type help.Support +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.Support +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.support](../constructors/help.support.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getSupport](../methods/help.getSupport.md) + + + diff --git a/old_docs/API_docs_v27/types/help_AppUpdate.md b/old_docs/API_docs_v27/types/help_AppUpdate.md deleted file mode 100644 index 1f296a70..00000000 --- a/old_docs/API_docs_v27/types/help_AppUpdate.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: help_AppUpdate -description: constructors and methods of type help_AppUpdate -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_AppUpdate -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_appUpdate](../constructors/help_appUpdate.md) - -[help\_noAppUpdate](../constructors/help_noAppUpdate.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getAppUpdate](../methods/help_getAppUpdate.md) - - - diff --git a/old_docs/API_docs_v27/types/help_InviteText.md b/old_docs/API_docs_v27/types/help_InviteText.md deleted file mode 100644 index 018d35bf..00000000 --- a/old_docs/API_docs_v27/types/help_InviteText.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: help_InviteText -description: constructors and methods of type help_InviteText -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_InviteText -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_inviteText](../constructors/help_inviteText.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getInviteText](../methods/help_getInviteText.md) - - - diff --git a/old_docs/API_docs_v27/types/help_Support.md b/old_docs/API_docs_v27/types/help_Support.md deleted file mode 100644 index 26de447b..00000000 --- a/old_docs/API_docs_v27/types/help_Support.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: help_Support -description: constructors and methods of type help_Support -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_Support -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_support](../constructors/help_support.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getSupport](../methods/help_getSupport.md) - - - diff --git a/old_docs/API_docs_v27/types/messages.AffectedHistory.md b/old_docs/API_docs_v27/types/messages.AffectedHistory.md new file mode 100644 index 00000000..f6746759 --- /dev/null +++ b/old_docs/API_docs_v27/types/messages.AffectedHistory.md @@ -0,0 +1,24 @@ +--- +title: messages.AffectedHistory +description: constructors and methods of type messages.AffectedHistory +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.AffectedHistory +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.affectedHistory](../constructors/messages.affectedHistory.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->readHistory](../methods/messages.readHistory.md) + +[$MadelineProto->messages->deleteHistory](../methods/messages.deleteHistory.md) + + + diff --git a/old_docs/API_docs_v27/types/messages.AffectedMessages.md b/old_docs/API_docs_v27/types/messages.AffectedMessages.md new file mode 100644 index 00000000..af8b7745 --- /dev/null +++ b/old_docs/API_docs_v27/types/messages.AffectedMessages.md @@ -0,0 +1,24 @@ +--- +title: messages.AffectedMessages +description: constructors and methods of type messages.AffectedMessages +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.AffectedMessages +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.affectedMessages](../constructors/messages.affectedMessages.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->deleteMessages](../methods/messages.deleteMessages.md) + +[$MadelineProto->messages->readMessageContents](../methods/messages.readMessageContents.md) + + + diff --git a/old_docs/API_docs_v27/types/messages.AllStickers.md b/old_docs/API_docs_v27/types/messages.AllStickers.md new file mode 100644 index 00000000..5ece92c0 --- /dev/null +++ b/old_docs/API_docs_v27/types/messages.AllStickers.md @@ -0,0 +1,24 @@ +--- +title: messages.AllStickers +description: constructors and methods of type messages.AllStickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.AllStickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.allStickersNotModified](../constructors/messages.allStickersNotModified.md) + +[messages.allStickers](../constructors/messages.allStickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getAllStickers](../methods/messages.getAllStickers.md) + + + diff --git a/old_docs/API_docs_v27/types/messages.ChatFull.md b/old_docs/API_docs_v27/types/messages.ChatFull.md new file mode 100644 index 00000000..c6c8bf3b --- /dev/null +++ b/old_docs/API_docs_v27/types/messages.ChatFull.md @@ -0,0 +1,24 @@ +--- +title: messages.ChatFull +description: constructors and methods of type messages.ChatFull +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.ChatFull +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.chatFull](../constructors/messages.chatFull.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getFullChat](../methods/messages.getFullChat.md) + +[$MadelineProto->geochats->getFullChat](../methods/geochats.getFullChat.md) + + + diff --git a/old_docs/API_docs_v27/types/messages.Chats.md b/old_docs/API_docs_v27/types/messages.Chats.md new file mode 100644 index 00000000..6052dc4f --- /dev/null +++ b/old_docs/API_docs_v27/types/messages.Chats.md @@ -0,0 +1,22 @@ +--- +title: messages.Chats +description: constructors and methods of type messages.Chats +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Chats +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.chats](../constructors/messages.chats.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getChats](../methods/messages.getChats.md) + + + diff --git a/old_docs/API_docs_v27/types/messages.DhConfig.md b/old_docs/API_docs_v27/types/messages.DhConfig.md new file mode 100644 index 00000000..77188ab7 --- /dev/null +++ b/old_docs/API_docs_v27/types/messages.DhConfig.md @@ -0,0 +1,24 @@ +--- +title: messages.DhConfig +description: constructors and methods of type messages.DhConfig +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.DhConfig +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.dhConfigNotModified](../constructors/messages.dhConfigNotModified.md) + +[messages.dhConfig](../constructors/messages.dhConfig.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getDhConfig](../methods/messages.getDhConfig.md) + + + diff --git a/old_docs/API_docs_v27/types/messages.Dialogs.md b/old_docs/API_docs_v27/types/messages.Dialogs.md new file mode 100644 index 00000000..1a57d535 --- /dev/null +++ b/old_docs/API_docs_v27/types/messages.Dialogs.md @@ -0,0 +1,24 @@ +--- +title: messages.Dialogs +description: constructors and methods of type messages.Dialogs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Dialogs +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.dialogs](../constructors/messages.dialogs.md) + +[messages.dialogsSlice](../constructors/messages.dialogsSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getDialogs](../methods/messages.getDialogs.md) + + + diff --git a/old_docs/API_docs_v27/types/messages.Message.md b/old_docs/API_docs_v27/types/messages.Message.md new file mode 100644 index 00000000..71f951cc --- /dev/null +++ b/old_docs/API_docs_v27/types/messages.Message.md @@ -0,0 +1,20 @@ +--- +title: messages.Message +description: constructors and methods of type messages.Message +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Message +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.messageEmpty](../constructors/messages.messageEmpty.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v27/types/messages.Messages.md b/old_docs/API_docs_v27/types/messages.Messages.md new file mode 100644 index 00000000..6de49a3a --- /dev/null +++ b/old_docs/API_docs_v27/types/messages.Messages.md @@ -0,0 +1,28 @@ +--- +title: messages.Messages +description: constructors and methods of type messages.Messages +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Messages +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.messages](../constructors/messages.messages.md) + +[messages.messagesSlice](../constructors/messages.messagesSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getMessages](../methods/messages.getMessages.md) + +[$MadelineProto->messages->getHistory](../methods/messages.getHistory.md) + +[$MadelineProto->messages->search](../methods/messages.search.md) + + + diff --git a/old_docs/API_docs_v27/types/messages.SentEncryptedMessage.md b/old_docs/API_docs_v27/types/messages.SentEncryptedMessage.md new file mode 100644 index 00000000..b6d05b1f --- /dev/null +++ b/old_docs/API_docs_v27/types/messages.SentEncryptedMessage.md @@ -0,0 +1,28 @@ +--- +title: messages.SentEncryptedMessage +description: constructors and methods of type messages.SentEncryptedMessage +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.SentEncryptedMessage +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.sentEncryptedMessage](../constructors/messages.sentEncryptedMessage.md) + +[messages.sentEncryptedFile](../constructors/messages.sentEncryptedFile.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->sendEncrypted](../methods/messages.sendEncrypted.md) + +[$MadelineProto->messages->sendEncryptedFile](../methods/messages.sendEncryptedFile.md) + +[$MadelineProto->messages->sendEncryptedService](../methods/messages.sendEncryptedService.md) + + + diff --git a/old_docs/API_docs_v27/types/messages.SentMessage.md b/old_docs/API_docs_v27/types/messages.SentMessage.md new file mode 100644 index 00000000..519818b0 --- /dev/null +++ b/old_docs/API_docs_v27/types/messages.SentMessage.md @@ -0,0 +1,24 @@ +--- +title: messages.SentMessage +description: constructors and methods of type messages.SentMessage +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.SentMessage +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.sentMessage](../constructors/messages.sentMessage.md) + +[messages.sentMessageLink](../constructors/messages.sentMessageLink.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->sendMessage](../methods/messages.sendMessage.md) + + + diff --git a/old_docs/API_docs_v27/types/messages.Stickers.md b/old_docs/API_docs_v27/types/messages.Stickers.md new file mode 100644 index 00000000..43bddf06 --- /dev/null +++ b/old_docs/API_docs_v27/types/messages.Stickers.md @@ -0,0 +1,24 @@ +--- +title: messages.Stickers +description: constructors and methods of type messages.Stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Stickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.stickersNotModified](../constructors/messages.stickersNotModified.md) + +[messages.stickers](../constructors/messages.stickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getStickers](../methods/messages.getStickers.md) + + + diff --git a/old_docs/API_docs_v27/types/messages_AffectedHistory.md b/old_docs/API_docs_v27/types/messages_AffectedHistory.md deleted file mode 100644 index 0d1098b8..00000000 --- a/old_docs/API_docs_v27/types/messages_AffectedHistory.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_AffectedHistory -description: constructors and methods of type messages_AffectedHistory -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_AffectedHistory -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_affectedHistory](../constructors/messages_affectedHistory.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->readHistory](../methods/messages_readHistory.md) - -[$MadelineProto->messages->deleteHistory](../methods/messages_deleteHistory.md) - - - diff --git a/old_docs/API_docs_v27/types/messages_AffectedMessages.md b/old_docs/API_docs_v27/types/messages_AffectedMessages.md deleted file mode 100644 index f59c1273..00000000 --- a/old_docs/API_docs_v27/types/messages_AffectedMessages.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_AffectedMessages -description: constructors and methods of type messages_AffectedMessages -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_AffectedMessages -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_affectedMessages](../constructors/messages_affectedMessages.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->deleteMessages](../methods/messages_deleteMessages.md) - -[$MadelineProto->messages->readMessageContents](../methods/messages_readMessageContents.md) - - - diff --git a/old_docs/API_docs_v27/types/messages_AllStickers.md b/old_docs/API_docs_v27/types/messages_AllStickers.md deleted file mode 100644 index 59d19759..00000000 --- a/old_docs/API_docs_v27/types/messages_AllStickers.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_AllStickers -description: constructors and methods of type messages_AllStickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_AllStickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_allStickersNotModified](../constructors/messages_allStickersNotModified.md) - -[messages\_allStickers](../constructors/messages_allStickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getAllStickers](../methods/messages_getAllStickers.md) - - - diff --git a/old_docs/API_docs_v27/types/messages_ChatFull.md b/old_docs/API_docs_v27/types/messages_ChatFull.md deleted file mode 100644 index 05bf3847..00000000 --- a/old_docs/API_docs_v27/types/messages_ChatFull.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_ChatFull -description: constructors and methods of type messages_ChatFull -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_ChatFull -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_chatFull](../constructors/messages_chatFull.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getFullChat](../methods/messages_getFullChat.md) - -[$MadelineProto->geochats->getFullChat](../methods/geochats_getFullChat.md) - - - diff --git a/old_docs/API_docs_v27/types/messages_Chats.md b/old_docs/API_docs_v27/types/messages_Chats.md deleted file mode 100644 index 0b3113b7..00000000 --- a/old_docs/API_docs_v27/types/messages_Chats.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_Chats -description: constructors and methods of type messages_Chats -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Chats -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_chats](../constructors/messages_chats.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getChats](../methods/messages_getChats.md) - - - diff --git a/old_docs/API_docs_v27/types/messages_DhConfig.md b/old_docs/API_docs_v27/types/messages_DhConfig.md deleted file mode 100644 index ce237411..00000000 --- a/old_docs/API_docs_v27/types/messages_DhConfig.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_DhConfig -description: constructors and methods of type messages_DhConfig -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_DhConfig -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_dhConfigNotModified](../constructors/messages_dhConfigNotModified.md) - -[messages\_dhConfig](../constructors/messages_dhConfig.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getDhConfig](../methods/messages_getDhConfig.md) - - - diff --git a/old_docs/API_docs_v27/types/messages_Dialogs.md b/old_docs/API_docs_v27/types/messages_Dialogs.md deleted file mode 100644 index 733a42c5..00000000 --- a/old_docs/API_docs_v27/types/messages_Dialogs.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_Dialogs -description: constructors and methods of type messages_Dialogs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Dialogs -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_dialogs](../constructors/messages_dialogs.md) - -[messages\_dialogsSlice](../constructors/messages_dialogsSlice.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getDialogs](../methods/messages_getDialogs.md) - - - diff --git a/old_docs/API_docs_v27/types/messages_Message.md b/old_docs/API_docs_v27/types/messages_Message.md deleted file mode 100644 index 4ce0a20c..00000000 --- a/old_docs/API_docs_v27/types/messages_Message.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: messages_Message -description: constructors and methods of type messages_Message -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Message -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_messageEmpty](../constructors/messages_messageEmpty.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v27/types/messages_Messages.md b/old_docs/API_docs_v27/types/messages_Messages.md deleted file mode 100644 index e9218929..00000000 --- a/old_docs/API_docs_v27/types/messages_Messages.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: messages_Messages -description: constructors and methods of type messages_Messages -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Messages -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_messages](../constructors/messages_messages.md) - -[messages\_messagesSlice](../constructors/messages_messagesSlice.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getMessages](../methods/messages_getMessages.md) - -[$MadelineProto->messages->getHistory](../methods/messages_getHistory.md) - -[$MadelineProto->messages->search](../methods/messages_search.md) - - - diff --git a/old_docs/API_docs_v27/types/messages_SentEncryptedMessage.md b/old_docs/API_docs_v27/types/messages_SentEncryptedMessage.md deleted file mode 100644 index 9f7ab935..00000000 --- a/old_docs/API_docs_v27/types/messages_SentEncryptedMessage.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: messages_SentEncryptedMessage -description: constructors and methods of type messages_SentEncryptedMessage -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_SentEncryptedMessage -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_sentEncryptedMessage](../constructors/messages_sentEncryptedMessage.md) - -[messages\_sentEncryptedFile](../constructors/messages_sentEncryptedFile.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->sendEncrypted](../methods/messages_sendEncrypted.md) - -[$MadelineProto->messages->sendEncryptedFile](../methods/messages_sendEncryptedFile.md) - -[$MadelineProto->messages->sendEncryptedService](../methods/messages_sendEncryptedService.md) - - - diff --git a/old_docs/API_docs_v27/types/messages_SentMessage.md b/old_docs/API_docs_v27/types/messages_SentMessage.md deleted file mode 100644 index 294b515c..00000000 --- a/old_docs/API_docs_v27/types/messages_SentMessage.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_SentMessage -description: constructors and methods of type messages_SentMessage -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_SentMessage -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_sentMessage](../constructors/messages_sentMessage.md) - -[messages\_sentMessageLink](../constructors/messages_sentMessageLink.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->sendMessage](../methods/messages_sendMessage.md) - - - diff --git a/old_docs/API_docs_v27/types/messages_Stickers.md b/old_docs/API_docs_v27/types/messages_Stickers.md deleted file mode 100644 index cf53f57b..00000000 --- a/old_docs/API_docs_v27/types/messages_Stickers.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_Stickers -description: constructors and methods of type messages_Stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Stickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_stickersNotModified](../constructors/messages_stickersNotModified.md) - -[messages\_stickers](../constructors/messages_stickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getStickers](../methods/messages_getStickers.md) - - - diff --git a/old_docs/API_docs_v27/types/photos.Photo.md b/old_docs/API_docs_v27/types/photos.Photo.md new file mode 100644 index 00000000..d60f203c --- /dev/null +++ b/old_docs/API_docs_v27/types/photos.Photo.md @@ -0,0 +1,22 @@ +--- +title: photos.Photo +description: constructors and methods of type photos.Photo +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: photos.Photo +[Back to types index](index.md) + + + +### Possible values (constructors): + +[photos.photo](../constructors/photos.photo.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->photos->uploadProfilePhoto](../methods/photos.uploadProfilePhoto.md) + + + diff --git a/old_docs/API_docs_v27/types/photos.Photos.md b/old_docs/API_docs_v27/types/photos.Photos.md new file mode 100644 index 00000000..fff0e296 --- /dev/null +++ b/old_docs/API_docs_v27/types/photos.Photos.md @@ -0,0 +1,24 @@ +--- +title: photos.Photos +description: constructors and methods of type photos.Photos +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: photos.Photos +[Back to types index](index.md) + + + +### Possible values (constructors): + +[photos.photos](../constructors/photos.photos.md) + +[photos.photosSlice](../constructors/photos.photosSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->photos->getUserPhotos](../methods/photos.getUserPhotos.md) + + + diff --git a/old_docs/API_docs_v27/types/photos_Photo.md b/old_docs/API_docs_v27/types/photos_Photo.md deleted file mode 100644 index d11bbdef..00000000 --- a/old_docs/API_docs_v27/types/photos_Photo.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: photos_Photo -description: constructors and methods of type photos_Photo -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: photos\_Photo -[Back to types index](index.md) - - - -### Possible values (constructors): - -[photos\_photo](../constructors/photos_photo.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->photos->uploadProfilePhoto](../methods/photos_uploadProfilePhoto.md) - - - diff --git a/old_docs/API_docs_v27/types/photos_Photos.md b/old_docs/API_docs_v27/types/photos_Photos.md deleted file mode 100644 index 9875ad70..00000000 --- a/old_docs/API_docs_v27/types/photos_Photos.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: photos_Photos -description: constructors and methods of type photos_Photos -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: photos\_Photos -[Back to types index](index.md) - - - -### Possible values (constructors): - -[photos\_photos](../constructors/photos_photos.md) - -[photos\_photosSlice](../constructors/photos_photosSlice.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->photos->getUserPhotos](../methods/photos_getUserPhotos.md) - - - diff --git a/old_docs/API_docs_v27/types/storage.FileType.md b/old_docs/API_docs_v27/types/storage.FileType.md new file mode 100644 index 00000000..73dc8a92 --- /dev/null +++ b/old_docs/API_docs_v27/types/storage.FileType.md @@ -0,0 +1,38 @@ +--- +title: storage.FileType +description: constructors and methods of type storage.FileType +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: storage.FileType +[Back to types index](index.md) + + + +### Possible values (constructors): + +[storage.fileUnknown](../constructors/storage.fileUnknown.md) + +[storage.fileJpeg](../constructors/storage.fileJpeg.md) + +[storage.fileGif](../constructors/storage.fileGif.md) + +[storage.filePng](../constructors/storage.filePng.md) + +[storage.filePdf](../constructors/storage.filePdf.md) + +[storage.fileMp3](../constructors/storage.fileMp3.md) + +[storage.fileMov](../constructors/storage.fileMov.md) + +[storage.filePartial](../constructors/storage.filePartial.md) + +[storage.fileMp4](../constructors/storage.fileMp4.md) + +[storage.fileWebp](../constructors/storage.fileWebp.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v27/types/storage_FileType.md b/old_docs/API_docs_v27/types/storage_FileType.md deleted file mode 100644 index 076c52a4..00000000 --- a/old_docs/API_docs_v27/types/storage_FileType.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: storage_FileType -description: constructors and methods of type storage_FileType -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: storage\_FileType -[Back to types index](index.md) - - - -### Possible values (constructors): - -[storage\_fileUnknown](../constructors/storage_fileUnknown.md) - -[storage\_fileJpeg](../constructors/storage_fileJpeg.md) - -[storage\_fileGif](../constructors/storage_fileGif.md) - -[storage\_filePng](../constructors/storage_filePng.md) - -[storage\_filePdf](../constructors/storage_filePdf.md) - -[storage\_fileMp3](../constructors/storage_fileMp3.md) - -[storage\_fileMov](../constructors/storage_fileMov.md) - -[storage\_filePartial](../constructors/storage_filePartial.md) - -[storage\_fileMp4](../constructors/storage_fileMp4.md) - -[storage\_fileWebp](../constructors/storage_fileWebp.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v27/types/updates.Difference.md b/old_docs/API_docs_v27/types/updates.Difference.md new file mode 100644 index 00000000..35998855 --- /dev/null +++ b/old_docs/API_docs_v27/types/updates.Difference.md @@ -0,0 +1,26 @@ +--- +title: updates.Difference +description: constructors and methods of type updates.Difference +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: updates.Difference +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updates.differenceEmpty](../constructors/updates.differenceEmpty.md) + +[updates.difference](../constructors/updates.difference.md) + +[updates.differenceSlice](../constructors/updates.differenceSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->updates->getDifference](../methods/updates.getDifference.md) + + + diff --git a/old_docs/API_docs_v27/types/updates.State.md b/old_docs/API_docs_v27/types/updates.State.md new file mode 100644 index 00000000..49bbb7fd --- /dev/null +++ b/old_docs/API_docs_v27/types/updates.State.md @@ -0,0 +1,22 @@ +--- +title: updates.State +description: constructors and methods of type updates.State +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: updates.State +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updates.state](../constructors/updates.state.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->updates->getState](../methods/updates.getState.md) + + + diff --git a/old_docs/API_docs_v27/types/updates_Difference.md b/old_docs/API_docs_v27/types/updates_Difference.md deleted file mode 100644 index 0190189b..00000000 --- a/old_docs/API_docs_v27/types/updates_Difference.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: updates_Difference -description: constructors and methods of type updates_Difference -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: updates\_Difference -[Back to types index](index.md) - - - -### Possible values (constructors): - -[updates\_differenceEmpty](../constructors/updates_differenceEmpty.md) - -[updates\_difference](../constructors/updates_difference.md) - -[updates\_differenceSlice](../constructors/updates_differenceSlice.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->updates->getDifference](../methods/updates_getDifference.md) - - - diff --git a/old_docs/API_docs_v27/types/updates_State.md b/old_docs/API_docs_v27/types/updates_State.md deleted file mode 100644 index 7a441145..00000000 --- a/old_docs/API_docs_v27/types/updates_State.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: updates_State -description: constructors and methods of type updates_State -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: updates\_State -[Back to types index](index.md) - - - -### Possible values (constructors): - -[updates\_state](../constructors/updates_state.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->updates->getState](../methods/updates_getState.md) - - - diff --git a/old_docs/API_docs_v27/types/upload.File.md b/old_docs/API_docs_v27/types/upload.File.md new file mode 100644 index 00000000..922e6c7a --- /dev/null +++ b/old_docs/API_docs_v27/types/upload.File.md @@ -0,0 +1,22 @@ +--- +title: upload.File +description: constructors and methods of type upload.File +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: upload.File +[Back to types index](index.md) + + + +### Possible values (constructors): + +[upload.file](../constructors/upload.file.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->upload->getFile](../methods/upload.getFile.md) + + + diff --git a/old_docs/API_docs_v27/types/upload_File.md b/old_docs/API_docs_v27/types/upload_File.md deleted file mode 100644 index 6e3bc38d..00000000 --- a/old_docs/API_docs_v27/types/upload_File.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: upload_File -description: constructors and methods of type upload_File -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: upload\_File -[Back to types index](index.md) - - - -### Possible values (constructors): - -[upload\_file](../constructors/upload_file.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->upload->getFile](../methods/upload_getFile.md) - - - diff --git a/old_docs/API_docs_v33/constructors/README.md b/old_docs/API_docs_v33/constructors/README.md index 665772d6..4e340f5e 100644 --- a/old_docs/API_docs_v33/constructors/README.md +++ b/old_docs/API_docs_v33/constructors/README.md @@ -7,22 +7,28 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png [Back to API documentation index](..) *** -

[$accountDaysTTL](../constructors/accountDaysTTL.md) = \['days' => [int](../types/int.md), \]; +

[$account.authorizations](../constructors/account.authorizations.md) = \['authorizations' => \[[Authorization](../types/Authorization.md)\], \]; *** -

[$account\_authorizations](../constructors/account_authorizations.md) = \['authorizations' => \[[Authorization](../types/Authorization.md)\], \]; +

[$account.noPassword](../constructors/account.noPassword.md) = \['new_salt' => [bytes](../types/bytes.md), 'email_unconfirmed_pattern' => [string](../types/string.md), \]; -[$account\_noPassword](../constructors/account_noPassword.md) = \['new_salt' => [bytes](../types/bytes.md), 'email_unconfirmed_pattern' => [string](../types/string.md), \]; +*** +

[$account.password](../constructors/account.password.md) = \['current_salt' => [bytes](../types/bytes.md), 'new_salt' => [bytes](../types/bytes.md), 'hint' => [string](../types/string.md), 'has_recovery' => [Bool](../types/Bool.md), 'email_unconfirmed_pattern' => [string](../types/string.md), \]; -[$account\_password](../constructors/account_password.md) = \['current_salt' => [bytes](../types/bytes.md), 'new_salt' => [bytes](../types/bytes.md), 'hint' => [string](../types/string.md), 'has_recovery' => [Bool](../types/Bool.md), 'email_unconfirmed_pattern' => [string](../types/string.md), \]; +*** +

[$account.passwordInputSettings](../constructors/account.passwordInputSettings.md) = \['new_salt' => [bytes](../types/bytes.md), 'new_password_hash' => [bytes](../types/bytes.md), 'hint' => [string](../types/string.md), 'email' => [string](../types/string.md), \]; -[$account\_passwordInputSettings](../constructors/account_passwordInputSettings.md) = \['new_salt' => [bytes](../types/bytes.md), 'new_password_hash' => [bytes](../types/bytes.md), 'hint' => [string](../types/string.md), 'email' => [string](../types/string.md), \]; +*** +

[$account.passwordSettings](../constructors/account.passwordSettings.md) = \['email' => [string](../types/string.md), \]; -[$account\_passwordSettings](../constructors/account_passwordSettings.md) = \['email' => [string](../types/string.md), \]; +*** +

[$account.privacyRules](../constructors/account.privacyRules.md) = \['rules' => \[[PrivacyRule](../types/PrivacyRule.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$account\_privacyRules](../constructors/account_privacyRules.md) = \['rules' => \[[PrivacyRule](../types/PrivacyRule.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$account.sentChangePhoneCode](../constructors/account.sentChangePhoneCode.md) = \['phone_code_hash' => [string](../types/string.md), 'send_call_timeout' => [int](../types/int.md), \]; -[$account\_sentChangePhoneCode](../constructors/account_sentChangePhoneCode.md) = \['phone_code_hash' => [string](../types/string.md), 'send_call_timeout' => [int](../types/int.md), \]; +*** +

[$accountDaysTTL](../constructors/accountDaysTTL.md) = \['days' => [int](../types/int.md), \]; ***

[$audio](../constructors/audio.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'date' => [int](../types/int.md), 'duration' => [int](../types/int.md), 'mime_type' => [string](../types/string.md), 'size' => [int](../types/int.md), 'dc_id' => [int](../types/int.md), \]; @@ -31,17 +37,22 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$audioEmpty](../constructors/audioEmpty.md) = \['id' => [long](../types/long.md), \]; *** -

[$auth\_authorization](../constructors/auth_authorization.md) = \['user' => [User](../types/User.md), \]; +

[$auth.authorization](../constructors/auth.authorization.md) = \['user' => [User](../types/User.md), \]; -[$auth\_checkedPhone](../constructors/auth_checkedPhone.md) = \['phone_registered' => [Bool](../types/Bool.md), \]; +*** +

[$auth.checkedPhone](../constructors/auth.checkedPhone.md) = \['phone_registered' => [Bool](../types/Bool.md), \]; -[$auth\_exportedAuthorization](../constructors/auth_exportedAuthorization.md) = \['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; +*** +

[$auth.exportedAuthorization](../constructors/auth.exportedAuthorization.md) = \['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; -[$auth\_passwordRecovery](../constructors/auth_passwordRecovery.md) = \['email_pattern' => [string](../types/string.md), \]; +*** +

[$auth.passwordRecovery](../constructors/auth.passwordRecovery.md) = \['email_pattern' => [string](../types/string.md), \]; -[$auth\_sentAppCode](../constructors/auth_sentAppCode.md) = \['phone_registered' => [Bool](../types/Bool.md), 'phone_code_hash' => [string](../types/string.md), 'send_call_timeout' => [int](../types/int.md), 'is_password' => [Bool](../types/Bool.md), \]; +*** +

[$auth.sentAppCode](../constructors/auth.sentAppCode.md) = \['phone_registered' => [Bool](../types/Bool.md), 'phone_code_hash' => [string](../types/string.md), 'send_call_timeout' => [int](../types/int.md), 'is_password' => [Bool](../types/Bool.md), \]; -[$auth\_sentCode](../constructors/auth_sentCode.md) = \['phone_registered' => [Bool](../types/Bool.md), 'phone_code_hash' => [string](../types/string.md), 'send_call_timeout' => [int](../types/int.md), 'is_password' => [Bool](../types/Bool.md), \]; +*** +

[$auth.sentCode](../constructors/auth.sentCode.md) = \['phone_registered' => [Bool](../types/Bool.md), 'phone_code_hash' => [string](../types/string.md), 'send_call_timeout' => [int](../types/int.md), 'is_password' => [Bool](../types/Bool.md), \]; ***

[$authorization](../constructors/authorization.md) = \['hash' => [long](../types/long.md), 'device_model' => [string](../types/string.md), 'platform' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'api_id' => [int](../types/int.md), 'app_name' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'date_created' => [int](../types/int.md), 'date_active' => [int](../types/int.md), 'ip' => [string](../types/string.md), 'country' => [string](../types/string.md), 'region' => [string](../types/string.md), \]; @@ -134,21 +145,28 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$contactSuggested](../constructors/contactSuggested.md) = \['user_id' => [int](../types/int.md), 'mutual_contacts' => [int](../types/int.md), \]; *** -

[$contacts\_blocked](../constructors/contacts_blocked.md) = \['blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; +

[$contacts.blocked](../constructors/contacts.blocked.md) = \['blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_blockedSlice](../constructors/contacts_blockedSlice.md) = \['count' => [int](../types/int.md), 'blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.blockedSlice](../constructors/contacts.blockedSlice.md) = \['count' => [int](../types/int.md), 'blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_contacts](../constructors/contacts_contacts.md) = \['contacts' => \[[Contact](../types/Contact.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.contacts](../constructors/contacts.contacts.md) = \['contacts' => \[[Contact](../types/Contact.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_contactsNotModified](../constructors/contacts_contactsNotModified.md) = \[\]; +*** +

[$contacts.contactsNotModified](../constructors/contacts.contactsNotModified.md) = \[\]; -[$contacts\_found](../constructors/contacts_found.md) = \['results' => \[[ContactFound](../types/ContactFound.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.found](../constructors/contacts.found.md) = \['results' => \[[ContactFound](../types/ContactFound.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_importedContacts](../constructors/contacts_importedContacts.md) = \['imported' => \[[ImportedContact](../types/ImportedContact.md)\], 'retry_contacts' => \[[long](../types/long.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.importedContacts](../constructors/contacts.importedContacts.md) = \['imported' => \[[ImportedContact](../types/ImportedContact.md)\], 'retry_contacts' => \[[long](../types/long.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_link](../constructors/contacts_link.md) = \['my_link' => [ContactLink](../types/ContactLink.md), 'foreign_link' => [ContactLink](../types/ContactLink.md), 'user' => [User](../types/User.md), \]; +*** +

[$contacts.link](../constructors/contacts.link.md) = \['my_link' => [ContactLink](../types/ContactLink.md), 'foreign_link' => [ContactLink](../types/ContactLink.md), 'user' => [User](../types/User.md), \]; -[$contacts\_suggested](../constructors/contacts_suggested.md) = \['results' => \[[ContactSuggested](../types/ContactSuggested.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.suggested](../constructors/contacts.suggested.md) = \['results' => \[[ContactSuggested](../types/ContactSuggested.md)\], 'users' => \[[User](../types/User.md)\], \]; ***

[$dcOption](../constructors/dcOption.md) = \['id' => [int](../types/int.md), 'ip_address' => [string](../types/string.md), 'port' => [int](../types/int.md), \]; @@ -238,26 +256,34 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$geoPointEmpty](../constructors/geoPointEmpty.md) = \[\]; *** -

[$geochats\_located](../constructors/geochats_located.md) = \['results' => \[[ChatLocated](../types/ChatLocated.md)\], 'messages' => \[[GeoChatMessage](../types/GeoChatMessage.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; - -[$geochats\_messages](../constructors/geochats_messages.md) = \['messages' => \[[GeoChatMessage](../types/GeoChatMessage.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; - -[$geochats\_messagesSlice](../constructors/geochats_messagesSlice.md) = \['count' => [int](../types/int.md), 'messages' => \[[GeoChatMessage](../types/GeoChatMessage.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; - -[$geochats\_statedMessage](../constructors/geochats_statedMessage.md) = \['message' => [GeoChatMessage](../types/GeoChatMessage.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'seq' => [int](../types/int.md), \]; +

[$geochats.located](../constructors/geochats.located.md) = \['results' => \[[ChatLocated](../types/ChatLocated.md)\], 'messages' => \[[GeoChatMessage](../types/GeoChatMessage.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; *** -

[$help\_appChangelog](../constructors/help_appChangelog.md) = \['text' => [string](../types/string.md), \]; +

[$geochats.messages](../constructors/geochats.messages.md) = \['messages' => \[[GeoChatMessage](../types/GeoChatMessage.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$help\_appChangelogEmpty](../constructors/help_appChangelogEmpty.md) = \[\]; +*** +

[$geochats.messagesSlice](../constructors/geochats.messagesSlice.md) = \['count' => [int](../types/int.md), 'messages' => \[[GeoChatMessage](../types/GeoChatMessage.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$help\_appUpdate](../constructors/help_appUpdate.md) = \['id' => [int](../types/int.md), 'critical' => [Bool](../types/Bool.md), 'url' => [string](../types/string.md), 'text' => [string](../types/string.md), \]; +*** +

[$geochats.statedMessage](../constructors/geochats.statedMessage.md) = \['message' => [GeoChatMessage](../types/GeoChatMessage.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'seq' => [int](../types/int.md), \]; -[$help\_inviteText](../constructors/help_inviteText.md) = \['message' => [string](../types/string.md), \]; +*** +

[$help.appChangelog](../constructors/help.appChangelog.md) = \['text' => [string](../types/string.md), \]; -[$help\_noAppUpdate](../constructors/help_noAppUpdate.md) = \[\]; +*** +

[$help.appChangelogEmpty](../constructors/help.appChangelogEmpty.md) = \[\]; -[$help\_support](../constructors/help_support.md) = \['phone_number' => [string](../types/string.md), 'user' => [User](../types/User.md), \]; +*** +

[$help.appUpdate](../constructors/help.appUpdate.md) = \['id' => [int](../types/int.md), 'critical' => [Bool](../types/Bool.md), 'url' => [string](../types/string.md), 'text' => [string](../types/string.md), \]; + +*** +

[$help.inviteText](../constructors/help.inviteText.md) = \['message' => [string](../types/string.md), \]; + +*** +

[$help.noAppUpdate](../constructors/help.noAppUpdate.md) = \[\]; + +*** +

[$help.support](../constructors/help.support.md) = \['phone_number' => [string](../types/string.md), 'user' => [User](../types/User.md), \]; ***

[$importedContact](../constructors/importedContact.md) = \['user_id' => [int](../types/int.md), 'client_id' => [long](../types/long.md), \]; @@ -569,45 +595,64 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$messageService](../constructors/messageService.md) = \['id' => [int](../types/int.md), 'from_id' => [int](../types/int.md), 'to_id' => [Peer](../types/Peer.md), 'date' => [int](../types/int.md), 'action' => [MessageAction](../types/MessageAction.md), \]; *** -

[$messages\_affectedHistory](../constructors/messages_affectedHistory.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), 'offset' => [int](../types/int.md), \]; +

[$messages.affectedHistory](../constructors/messages.affectedHistory.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), 'offset' => [int](../types/int.md), \]; -[$messages\_affectedMessages](../constructors/messages_affectedMessages.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; +*** +

[$messages.affectedMessages](../constructors/messages.affectedMessages.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; -[$messages\_allStickers](../constructors/messages_allStickers.md) = \['hash' => [string](../types/string.md), 'sets' => \[[StickerSet](../types/StickerSet.md)\], \]; +*** +

[$messages.allStickers](../constructors/messages.allStickers.md) = \['hash' => [string](../types/string.md), 'sets' => \[[StickerSet](../types/StickerSet.md)\], \]; -[$messages\_allStickersNotModified](../constructors/messages_allStickersNotModified.md) = \[\]; +*** +

[$messages.allStickersNotModified](../constructors/messages.allStickersNotModified.md) = \[\]; -[$messages\_chatFull](../constructors/messages_chatFull.md) = \['full_chat' => [ChatFull](../types/ChatFull.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.chatFull](../constructors/messages.chatFull.md) = \['full_chat' => [ChatFull](../types/ChatFull.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_chats](../constructors/messages_chats.md) = \['chats' => \[[Chat](../types/Chat.md)\], \]; +*** +

[$messages.chats](../constructors/messages.chats.md) = \['chats' => \[[Chat](../types/Chat.md)\], \]; -[$messages\_dhConfig](../constructors/messages_dhConfig.md) = \['g' => [int](../types/int.md), 'p' => [bytes](../types/bytes.md), 'version' => [int](../types/int.md), 'random' => [bytes](../types/bytes.md), \]; +*** +

[$messages.dhConfig](../constructors/messages.dhConfig.md) = \['g' => [int](../types/int.md), 'p' => [bytes](../types/bytes.md), 'version' => [int](../types/int.md), 'random' => [bytes](../types/bytes.md), \]; -[$messages\_dhConfigNotModified](../constructors/messages_dhConfigNotModified.md) = \['random' => [bytes](../types/bytes.md), \]; +*** +

[$messages.dhConfigNotModified](../constructors/messages.dhConfigNotModified.md) = \['random' => [bytes](../types/bytes.md), \]; -[$messages\_dialogs](../constructors/messages_dialogs.md) = \['dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.dialogs](../constructors/messages.dialogs.md) = \['dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_dialogsSlice](../constructors/messages_dialogsSlice.md) = \['count' => [int](../types/int.md), 'dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.dialogsSlice](../constructors/messages.dialogsSlice.md) = \['count' => [int](../types/int.md), 'dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_messageEmpty](../constructors/messages_messageEmpty.md) = \[\]; +*** +

[$messages.messageEmpty](../constructors/messages.messageEmpty.md) = \[\]; -[$messages\_messages](../constructors/messages_messages.md) = \['messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.messages](../constructors/messages.messages.md) = \['messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_messagesSlice](../constructors/messages_messagesSlice.md) = \['count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.messagesSlice](../constructors/messages.messagesSlice.md) = \['count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_sentEncryptedFile](../constructors/messages_sentEncryptedFile.md) = \['date' => [int](../types/int.md), 'file' => [EncryptedFile](../types/EncryptedFile.md), \]; +*** +

[$messages.sentEncryptedFile](../constructors/messages.sentEncryptedFile.md) = \['date' => [int](../types/int.md), 'file' => [EncryptedFile](../types/EncryptedFile.md), \]; -[$messages\_sentEncryptedMessage](../constructors/messages_sentEncryptedMessage.md) = \['date' => [int](../types/int.md), \]; +*** +

[$messages.sentEncryptedMessage](../constructors/messages.sentEncryptedMessage.md) = \['date' => [int](../types/int.md), \]; -[$messages\_sentMessage](../constructors/messages_sentMessage.md) = \['id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'media' => [MessageMedia](../types/MessageMedia.md), 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; +*** +

[$messages.sentMessage](../constructors/messages.sentMessage.md) = \['id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'media' => [MessageMedia](../types/MessageMedia.md), 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; -[$messages\_sentMessageLink](../constructors/messages_sentMessageLink.md) = \['id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'media' => [MessageMedia](../types/MessageMedia.md), 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), 'links' => \[[contacts.Link](../types/contacts.Link.md)\], 'seq' => [int](../types/int.md), \]; +*** +

[$messages.sentMessageLink](../constructors/messages.sentMessageLink.md) = \['id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'media' => [MessageMedia](../types/MessageMedia.md), 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), 'links' => \[[contacts.Link](../types/contacts.Link.md)\], 'seq' => [int](../types/int.md), \]; -[$messages\_stickerSet](../constructors/messages_stickerSet.md) = \['set' => [StickerSet](../types/StickerSet.md), 'packs' => \[[StickerPack](../types/StickerPack.md)\], 'documents' => \[[Document](../types/Document.md)\], \]; +*** +

[$messages.stickerSet](../constructors/messages.stickerSet.md) = \['set' => [StickerSet](../types/StickerSet.md), 'packs' => \[[StickerPack](../types/StickerPack.md)\], 'documents' => \[[Document](../types/Document.md)\], \]; -[$messages\_stickers](../constructors/messages_stickers.md) = \['hash' => [string](../types/string.md), 'stickers' => \[[Document](../types/Document.md)\], \]; +*** +

[$messages.stickers](../constructors/messages.stickers.md) = \['hash' => [string](../types/string.md), 'stickers' => \[[Document](../types/Document.md)\], \]; -[$messages\_stickersNotModified](../constructors/messages_stickersNotModified.md) = \[\]; +*** +

[$messages.stickersNotModified](../constructors/messages.stickersNotModified.md) = \[\]; ***

[$nearestDc](../constructors/nearestDc.md) = \['country' => [string](../types/string.md), 'this_dc' => [int](../types/int.md), 'nearest_dc' => [int](../types/int.md), \]; @@ -661,11 +706,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$photoSizeEmpty](../constructors/photoSizeEmpty.md) = \['type' => [string](../types/string.md), \]; *** -

[$photos\_photo](../constructors/photos_photo.md) = \['photo' => [Photo](../types/Photo.md), 'users' => \[[User](../types/User.md)\], \]; +

[$photos.photo](../constructors/photos.photo.md) = \['photo' => [Photo](../types/Photo.md), 'users' => \[[User](../types/User.md)\], \]; -[$photos\_photos](../constructors/photos_photos.md) = \['photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$photos.photos](../constructors/photos.photos.md) = \['photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$photos\_photosSlice](../constructors/photos_photosSlice.md) = \['count' => [int](../types/int.md), 'photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$photos.photosSlice](../constructors/photos.photosSlice.md) = \['count' => [int](../types/int.md), 'photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; ***

[$privacyKeyStatusTimestamp](../constructors/privacyKeyStatusTimestamp.md) = \[\]; @@ -737,25 +784,34 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$stickerSet](../constructors/stickerSet.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'title' => [string](../types/string.md), 'short_name' => [string](../types/string.md), 'count' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]; *** -

[$storage\_fileGif](../constructors/storage_fileGif.md) = \[\]; +

[$storage.fileGif](../constructors/storage.fileGif.md) = \[\]; -[$storage\_fileJpeg](../constructors/storage_fileJpeg.md) = \[\]; +*** +

[$storage.fileJpeg](../constructors/storage.fileJpeg.md) = \[\]; -[$storage\_fileMov](../constructors/storage_fileMov.md) = \[\]; +*** +

[$storage.fileMov](../constructors/storage.fileMov.md) = \[\]; -[$storage\_fileMp3](../constructors/storage_fileMp3.md) = \[\]; +*** +

[$storage.fileMp3](../constructors/storage.fileMp3.md) = \[\]; -[$storage\_fileMp4](../constructors/storage_fileMp4.md) = \[\]; +*** +

[$storage.fileMp4](../constructors/storage.fileMp4.md) = \[\]; -[$storage\_filePartial](../constructors/storage_filePartial.md) = \[\]; +*** +

[$storage.filePartial](../constructors/storage.filePartial.md) = \[\]; -[$storage\_filePdf](../constructors/storage_filePdf.md) = \[\]; +*** +

[$storage.filePdf](../constructors/storage.filePdf.md) = \[\]; -[$storage\_filePng](../constructors/storage_filePng.md) = \[\]; +*** +

[$storage.filePng](../constructors/storage.filePng.md) = \[\]; -[$storage\_fileUnknown](../constructors/storage_fileUnknown.md) = \[\]; +*** +

[$storage.fileUnknown](../constructors/storage.fileUnknown.md) = \[\]; -[$storage\_fileWebp](../constructors/storage_fileWebp.md) = \[\]; +*** +

[$storage.fileWebp](../constructors/storage.fileWebp.md) = \[\]; ***

[$updateChatParticipantAdd](../constructors/updateChatParticipantAdd.md) = \['chat_id' => [int](../types/int.md), 'user_id' => [int](../types/int.md), 'inviter_id' => [int](../types/int.md), 'version' => [int](../types/int.md), \]; @@ -856,6 +912,18 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ***

[$updates](../constructors/updates.md) = \['updates' => \[[Update](../types/Update.md)\], 'users' => \[[User](../types/User.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'date' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; +*** +

[$updates.difference](../constructors/updates.difference.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'state' => [updates.State](../types/updates.State.md), \]; + +*** +

[$updates.differenceEmpty](../constructors/updates.differenceEmpty.md) = \['date' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; + +*** +

[$updates.differenceSlice](../constructors/updates.differenceSlice.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'intermediate_state' => [updates.State](../types/updates.State.md), \]; + +*** +

[$updates.state](../constructors/updates.state.md) = \['pts' => [int](../types/int.md), 'qts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'seq' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), \]; + ***

[$updatesCombined](../constructors/updatesCombined.md) = \['updates' => \[[Update](../types/Update.md)\], 'users' => \[[User](../types/User.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'date' => [int](../types/int.md), 'seq_start' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; @@ -863,16 +931,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$updatesTooLong](../constructors/updatesTooLong.md) = \[\]; *** -

[$updates\_difference](../constructors/updates_difference.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'state' => [updates.State](../types/updates.State.md), \]; - -[$updates\_differenceEmpty](../constructors/updates_differenceEmpty.md) = \['date' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; - -[$updates\_differenceSlice](../constructors/updates_differenceSlice.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'intermediate_state' => [updates.State](../types/updates.State.md), \]; - -[$updates\_state](../constructors/updates_state.md) = \['pts' => [int](../types/int.md), 'qts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'seq' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), \]; - -*** -

[$upload\_file](../constructors/upload_file.md) = \['type' => [storage.FileType](../types/storage.FileType.md), 'mtime' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; +

[$upload.file](../constructors/upload.file.md) = \['type' => [storage.FileType](../types/storage.FileType.md), 'mtime' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; ***

[$user](../constructors/user.md) = \['id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), 'username' => [string](../types/string.md), 'phone' => [string](../types/string.md), 'photo' => [UserProfilePhoto](../types/UserProfilePhoto.md), 'status' => [UserStatus](../types/UserStatus.md), 'bot_info_version' => [int](../types/int.md), \]; diff --git a/old_docs/API_docs_v33/constructors/account.authorizations.md b/old_docs/API_docs_v33/constructors/account.authorizations.md new file mode 100644 index 00000000..53c961f0 --- /dev/null +++ b/old_docs/API_docs_v33/constructors/account.authorizations.md @@ -0,0 +1,38 @@ +--- +title: account.authorizations +description: Logged-in sessions +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.authorizations +[Back to constructors index](index.md) + + + +Logged-in sessions + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|authorizations|Array of [Authorization](../types/Authorization.md) | Yes|Authorizations| + + + +### Type: [account.Authorizations](../types/account.Authorizations.md) + + +### Example: + +```php +$account.authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization, Authorization]]; +``` + + +Or, if you're into Lua: + +```lua +account.authorizations={_='account.authorizations', authorizations={Authorization}} + +``` + + diff --git a/old_docs/API_docs_v33/constructors/account.noPassword.md b/old_docs/API_docs_v33/constructors/account.noPassword.md new file mode 100644 index 00000000..4dcdc515 --- /dev/null +++ b/old_docs/API_docs_v33/constructors/account.noPassword.md @@ -0,0 +1,39 @@ +--- +title: account.noPassword +description: No password +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.noPassword +[Back to constructors index](index.md) + + + +No password + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|new\_salt|[bytes](../types/bytes.md) | Yes|New salt| +|email\_unconfirmed\_pattern|[string](../types/string.md) | Yes|Email unconfirmed pattern| + + + +### Type: [account.Password](../types/account.Password.md) + + +### Example: + +```php +$account.noPassword = ['_' => 'account.noPassword', 'new_salt' => 'bytes', 'email_unconfirmed_pattern' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +account.noPassword={_='account.noPassword', new_salt='bytes', email_unconfirmed_pattern='string'} + +``` + + diff --git a/old_docs/API_docs_v33/constructors/account.password.md b/old_docs/API_docs_v33/constructors/account.password.md new file mode 100644 index 00000000..9e86a73a --- /dev/null +++ b/old_docs/API_docs_v33/constructors/account.password.md @@ -0,0 +1,42 @@ +--- +title: account.password +description: Configuration for two-factor authorization +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.password +[Back to constructors index](index.md) + + + +Configuration for two-factor authorization + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|current\_salt|[bytes](../types/bytes.md) | Yes|Current salt| +|new\_salt|[bytes](../types/bytes.md) | Yes|New salt| +|hint|[string](../types/string.md) | Yes|Text hint for the password| +|has\_recovery|[Bool](../types/Bool.md) | Yes|Has recovery?| +|email\_unconfirmed\_pattern|[string](../types/string.md) | Yes|A [password recovery email](https://core.telegram.org/api/srp#email-verification) with the specified [pattern](https://core.telegram.org/api/pattern) is still awaiting verification| + + + +### Type: [account.Password](../types/account.Password.md) + + +### Example: + +```php +$account.password = ['_' => 'account.password', 'current_salt' => 'bytes', 'new_salt' => 'bytes', 'hint' => 'string', 'has_recovery' => Bool, 'email_unconfirmed_pattern' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +account.password={_='account.password', current_salt='bytes', new_salt='bytes', hint='string', has_recovery=Bool, email_unconfirmed_pattern='string'} + +``` + + diff --git a/old_docs/API_docs_v33/constructors/account.passwordInputSettings.md b/old_docs/API_docs_v33/constructors/account.passwordInputSettings.md new file mode 100644 index 00000000..c440115a --- /dev/null +++ b/old_docs/API_docs_v33/constructors/account.passwordInputSettings.md @@ -0,0 +1,41 @@ +--- +title: account.passwordInputSettings +description: Settings for setting up a new password +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.passwordInputSettings +[Back to constructors index](index.md) + + + +Settings for setting up a new password + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|new\_salt|[bytes](../types/bytes.md) | Optional|`$new_salt = $MadelineProto->account->getPassword()['new_salt'].$MadelineProto->random(8);`| +|new\_password\_hash|[bytes](../types/bytes.md) | Optional|The [computed password hash](https://core.telegram.org/api/srp)| +|hint|[string](../types/string.md) | Optional|Text hint for the password| +|email|[string](../types/string.md) | Optional|Password recovery email| + + + +### Type: [account.PasswordInputSettings](../types/account.PasswordInputSettings.md) + + +### Example: + +```php +$account.passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_salt' => 'bytes', 'new_password_hash' => 'bytes', 'hint' => 'string', 'email' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +account.passwordInputSettings={_='account.passwordInputSettings', new_salt='bytes', new_password_hash='bytes', hint='string', email='string'} + +``` + + diff --git a/old_docs/API_docs_v33/constructors/account.passwordSettings.md b/old_docs/API_docs_v33/constructors/account.passwordSettings.md new file mode 100644 index 00000000..be899d34 --- /dev/null +++ b/old_docs/API_docs_v33/constructors/account.passwordSettings.md @@ -0,0 +1,38 @@ +--- +title: account.passwordSettings +description: Private info associated to the password info (recovery email, telegram [passport](https://core.telegram.org/passport) info & so on) +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.passwordSettings +[Back to constructors index](index.md) + + + +Private info associated to the password info (recovery email, telegram [passport](https://core.telegram.org/passport) info & so on) + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|email|[string](../types/string.md) | Yes|[2FA Recovery email](https://core.telegram.org/api/srp#email-verification)| + + + +### Type: [account.PasswordSettings](../types/account.PasswordSettings.md) + + +### Example: + +```php +$account.passwordSettings = ['_' => 'account.passwordSettings', 'email' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +account.passwordSettings={_='account.passwordSettings', email='string'} + +``` + + diff --git a/old_docs/API_docs_v33/constructors/account.privacyRules.md b/old_docs/API_docs_v33/constructors/account.privacyRules.md new file mode 100644 index 00000000..7ae04abb --- /dev/null +++ b/old_docs/API_docs_v33/constructors/account.privacyRules.md @@ -0,0 +1,39 @@ +--- +title: account.privacyRules +description: Privacy rules +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.privacyRules +[Back to constructors index](index.md) + + + +Privacy rules + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|rules|Array of [PrivacyRule](../types/PrivacyRule.md) | Yes|Rules| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [account.PrivacyRules](../types/account.PrivacyRules.md) + + +### Example: + +```php +$account.privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule, PrivacyRule], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +account.privacyRules={_='account.privacyRules', rules={PrivacyRule}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v33/constructors/account.sentChangePhoneCode.md b/old_docs/API_docs_v33/constructors/account.sentChangePhoneCode.md new file mode 100644 index 00000000..119f6af6 --- /dev/null +++ b/old_docs/API_docs_v33/constructors/account.sentChangePhoneCode.md @@ -0,0 +1,39 @@ +--- +title: account.sentChangePhoneCode +description: Sent change phone code +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.sentChangePhoneCode +[Back to constructors index](index.md) + + + +Sent change phone code + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_code\_hash|[string](../types/string.md) | Yes|Phone code hash| +|send\_call\_timeout|[int](../types/int.md) | Yes|Send call timeout| + + + +### Type: [account.SentChangePhoneCode](../types/account.SentChangePhoneCode.md) + + +### Example: + +```php +$account.sentChangePhoneCode = ['_' => 'account.sentChangePhoneCode', 'phone_code_hash' => 'string', 'send_call_timeout' => int]; +``` + + +Or, if you're into Lua: + +```lua +account.sentChangePhoneCode={_='account.sentChangePhoneCode', phone_code_hash='string', send_call_timeout=int} + +``` + + diff --git a/old_docs/API_docs_v33/constructors/account_authorizations.md b/old_docs/API_docs_v33/constructors/account_authorizations.md deleted file mode 100644 index aeae48f3..00000000 --- a/old_docs/API_docs_v33/constructors/account_authorizations.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: account.authorizations -description: Logged-in sessions -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.authorizations -[Back to constructors index](index.md) - - - -Logged-in sessions - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|authorizations|Array of [Authorization](../types/Authorization.md) | Yes|Authorizations| - - - -### Type: [account\_Authorizations](../types/account_Authorizations.md) - - -### Example: - -```php -$account_authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization, Authorization]]; -``` - - -Or, if you're into Lua: - -```lua -account_authorizations={_='account.authorizations', authorizations={Authorization}} - -``` - - diff --git a/old_docs/API_docs_v33/constructors/account_noPassword.md b/old_docs/API_docs_v33/constructors/account_noPassword.md deleted file mode 100644 index 10ef7b2a..00000000 --- a/old_docs/API_docs_v33/constructors/account_noPassword.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: account.noPassword -description: No password -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.noPassword -[Back to constructors index](index.md) - - - -No password - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|new\_salt|[bytes](../types/bytes.md) | Yes|New salt| -|email\_unconfirmed\_pattern|[string](../types/string.md) | Yes|Email unconfirmed pattern| - - - -### Type: [account\_Password](../types/account_Password.md) - - -### Example: - -```php -$account_noPassword = ['_' => 'account.noPassword', 'new_salt' => 'bytes', 'email_unconfirmed_pattern' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -account_noPassword={_='account.noPassword', new_salt='bytes', email_unconfirmed_pattern='string'} - -``` - - diff --git a/old_docs/API_docs_v33/constructors/account_password.md b/old_docs/API_docs_v33/constructors/account_password.md deleted file mode 100644 index a9f512e8..00000000 --- a/old_docs/API_docs_v33/constructors/account_password.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: account.password -description: Configuration for two-factor authorization -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.password -[Back to constructors index](index.md) - - - -Configuration for two-factor authorization - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|current\_salt|[bytes](../types/bytes.md) | Yes|Current salt| -|new\_salt|[bytes](../types/bytes.md) | Yes|New salt| -|hint|[string](../types/string.md) | Yes|Text hint for the password| -|has\_recovery|[Bool](../types/Bool.md) | Yes|Has recovery?| -|email\_unconfirmed\_pattern|[string](../types/string.md) | Yes|A [password recovery email](https://core.telegram.org/api/srp#email-verification) with the specified [pattern](https://core.telegram.org/api/pattern) is still awaiting verification| - - - -### Type: [account\_Password](../types/account_Password.md) - - -### Example: - -```php -$account_password = ['_' => 'account.password', 'current_salt' => 'bytes', 'new_salt' => 'bytes', 'hint' => 'string', 'has_recovery' => Bool, 'email_unconfirmed_pattern' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -account_password={_='account.password', current_salt='bytes', new_salt='bytes', hint='string', has_recovery=Bool, email_unconfirmed_pattern='string'} - -``` - - diff --git a/old_docs/API_docs_v33/constructors/account_passwordInputSettings.md b/old_docs/API_docs_v33/constructors/account_passwordInputSettings.md deleted file mode 100644 index 05ec666b..00000000 --- a/old_docs/API_docs_v33/constructors/account_passwordInputSettings.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: account.passwordInputSettings -description: Settings for setting up a new password -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.passwordInputSettings -[Back to constructors index](index.md) - - - -Settings for setting up a new password - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|new\_salt|[bytes](../types/bytes.md) | Optional|`$new_salt = $MadelineProto->account->getPassword()['new_salt'].$MadelineProto->random(8);`| -|new\_password\_hash|[bytes](../types/bytes.md) | Optional|The [computed password hash](https://core.telegram.org/api/srp)| -|hint|[string](../types/string.md) | Optional|Text hint for the password| -|email|[string](../types/string.md) | Optional|Password recovery email| - - - -### Type: [account\_PasswordInputSettings](../types/account_PasswordInputSettings.md) - - -### Example: - -```php -$account_passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_salt' => 'bytes', 'new_password_hash' => 'bytes', 'hint' => 'string', 'email' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -account_passwordInputSettings={_='account.passwordInputSettings', new_salt='bytes', new_password_hash='bytes', hint='string', email='string'} - -``` - - diff --git a/old_docs/API_docs_v33/constructors/account_passwordSettings.md b/old_docs/API_docs_v33/constructors/account_passwordSettings.md deleted file mode 100644 index e22f9cc4..00000000 --- a/old_docs/API_docs_v33/constructors/account_passwordSettings.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: account.passwordSettings -description: Private info associated to the password info (recovery email, telegram [passport](https://core.telegram.org/passport) info & so on) -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.passwordSettings -[Back to constructors index](index.md) - - - -Private info associated to the password info (recovery email, telegram [passport](https://core.telegram.org/passport) info & so on) - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|email|[string](../types/string.md) | Yes|[2FA Recovery email](https://core.telegram.org/api/srp#email-verification)| - - - -### Type: [account\_PasswordSettings](../types/account_PasswordSettings.md) - - -### Example: - -```php -$account_passwordSettings = ['_' => 'account.passwordSettings', 'email' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -account_passwordSettings={_='account.passwordSettings', email='string'} - -``` - - diff --git a/old_docs/API_docs_v33/constructors/account_privacyRules.md b/old_docs/API_docs_v33/constructors/account_privacyRules.md deleted file mode 100644 index 28b260b7..00000000 --- a/old_docs/API_docs_v33/constructors/account_privacyRules.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: account.privacyRules -description: Privacy rules -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.privacyRules -[Back to constructors index](index.md) - - - -Privacy rules - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|rules|Array of [PrivacyRule](../types/PrivacyRule.md) | Yes|Rules| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [account\_PrivacyRules](../types/account_PrivacyRules.md) - - -### Example: - -```php -$account_privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule, PrivacyRule], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -account_privacyRules={_='account.privacyRules', rules={PrivacyRule}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v33/constructors/account_sentChangePhoneCode.md b/old_docs/API_docs_v33/constructors/account_sentChangePhoneCode.md deleted file mode 100644 index 052ce817..00000000 --- a/old_docs/API_docs_v33/constructors/account_sentChangePhoneCode.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: account.sentChangePhoneCode -description: Sent change phone code -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.sentChangePhoneCode -[Back to constructors index](index.md) - - - -Sent change phone code - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_code\_hash|[string](../types/string.md) | Yes|Phone code hash| -|send\_call\_timeout|[int](../types/int.md) | Yes|Send call timeout| - - - -### Type: [account\_SentChangePhoneCode](../types/account_SentChangePhoneCode.md) - - -### Example: - -```php -$account_sentChangePhoneCode = ['_' => 'account.sentChangePhoneCode', 'phone_code_hash' => 'string', 'send_call_timeout' => int]; -``` - - -Or, if you're into Lua: - -```lua -account_sentChangePhoneCode={_='account.sentChangePhoneCode', phone_code_hash='string', send_call_timeout=int} - -``` - - diff --git a/old_docs/API_docs_v33/constructors/auth.authorization.md b/old_docs/API_docs_v33/constructors/auth.authorization.md new file mode 100644 index 00000000..bd034fc5 --- /dev/null +++ b/old_docs/API_docs_v33/constructors/auth.authorization.md @@ -0,0 +1,38 @@ +--- +title: auth.authorization +description: Contains user authorization info. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.authorization +[Back to constructors index](index.md) + + + +Contains user authorization info. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|user|[User](../types/User.md) | Optional|Info on authorized user| + + + +### Type: [auth.Authorization](../types/auth.Authorization.md) + + +### Example: + +```php +$auth.authorization = ['_' => 'auth.authorization', 'user' => User]; +``` + + +Or, if you're into Lua: + +```lua +auth.authorization={_='auth.authorization', user=User} + +``` + + diff --git a/old_docs/API_docs_v33/constructors/auth.checkedPhone.md b/old_docs/API_docs_v33/constructors/auth.checkedPhone.md new file mode 100644 index 00000000..23e84cf9 --- /dev/null +++ b/old_docs/API_docs_v33/constructors/auth.checkedPhone.md @@ -0,0 +1,38 @@ +--- +title: auth.checkedPhone +description: Checked phone +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.checkedPhone +[Back to constructors index](index.md) + + + +Checked phone + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_registered|[Bool](../types/Bool.md) | Yes|Phone registered?| + + + +### Type: [auth.CheckedPhone](../types/auth.CheckedPhone.md) + + +### Example: + +```php +$auth.checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool]; +``` + + +Or, if you're into Lua: + +```lua +auth.checkedPhone={_='auth.checkedPhone', phone_registered=Bool} + +``` + + diff --git a/old_docs/API_docs_v33/constructors/auth.exportedAuthorization.md b/old_docs/API_docs_v33/constructors/auth.exportedAuthorization.md new file mode 100644 index 00000000..2a4a9896 --- /dev/null +++ b/old_docs/API_docs_v33/constructors/auth.exportedAuthorization.md @@ -0,0 +1,39 @@ +--- +title: auth.exportedAuthorization +description: Data for copying of authorization between data centres. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.exportedAuthorization +[Back to constructors index](index.md) + + + +Data for copying of authorization between data centres. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|id|[int](../types/int.md) | Yes|Current user identifier| +|bytes|[bytes](../types/bytes.md) | Yes|Authorizes key| + + + +### Type: [auth.ExportedAuthorization](../types/auth.ExportedAuthorization.md) + + +### Example: + +```php +$auth.exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +auth.exportedAuthorization={_='auth.exportedAuthorization', id=int, bytes='bytes'} + +``` + + diff --git a/old_docs/API_docs_v33/constructors/auth.passwordRecovery.md b/old_docs/API_docs_v33/constructors/auth.passwordRecovery.md new file mode 100644 index 00000000..61de922d --- /dev/null +++ b/old_docs/API_docs_v33/constructors/auth.passwordRecovery.md @@ -0,0 +1,38 @@ +--- +title: auth.passwordRecovery +description: Recovery info of a [2FA password](https://core.telegram.org/api/srp), only for accounts with a [recovery email configured](https://core.telegram.org/api/srp#email-verification). +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.passwordRecovery +[Back to constructors index](index.md) + + + +Recovery info of a [2FA password](https://core.telegram.org/api/srp), only for accounts with a [recovery email configured](https://core.telegram.org/api/srp#email-verification). + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|email\_pattern|[string](../types/string.md) | Yes|The email to which the recovery code was sent must match this [pattern](https://core.telegram.org/api/pattern).| + + + +### Type: [auth.PasswordRecovery](../types/auth.PasswordRecovery.md) + + +### Example: + +```php +$auth.passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +auth.passwordRecovery={_='auth.passwordRecovery', email_pattern='string'} + +``` + + diff --git a/old_docs/API_docs_v33/constructors/auth.sentAppCode.md b/old_docs/API_docs_v33/constructors/auth.sentAppCode.md new file mode 100644 index 00000000..e4cd5ef0 --- /dev/null +++ b/old_docs/API_docs_v33/constructors/auth.sentAppCode.md @@ -0,0 +1,41 @@ +--- +title: auth.sentAppCode +description: Sent app code +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentAppCode +[Back to constructors index](index.md) + + + +Sent app code + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_registered|[Bool](../types/Bool.md) | Yes|Phone registered?| +|phone\_code\_hash|[string](../types/string.md) | Yes|Phone code hash| +|send\_call\_timeout|[int](../types/int.md) | Yes|Send call timeout| +|is\_password|[Bool](../types/Bool.md) | Yes|Is password?| + + + +### Type: [auth.SentCode](../types/auth.SentCode.md) + + +### Example: + +```php +$auth.sentAppCode = ['_' => 'auth.sentAppCode', 'phone_registered' => Bool, 'phone_code_hash' => 'string', 'send_call_timeout' => int, 'is_password' => Bool]; +``` + + +Or, if you're into Lua: + +```lua +auth.sentAppCode={_='auth.sentAppCode', phone_registered=Bool, phone_code_hash='string', send_call_timeout=int, is_password=Bool} + +``` + + diff --git a/old_docs/API_docs_v33/constructors/auth.sentCode.md b/old_docs/API_docs_v33/constructors/auth.sentCode.md new file mode 100644 index 00000000..c81a8042 --- /dev/null +++ b/old_docs/API_docs_v33/constructors/auth.sentCode.md @@ -0,0 +1,41 @@ +--- +title: auth.sentCode +description: Contains info about a sent verification code. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentCode +[Back to constructors index](index.md) + + + +Contains info about a sent verification code. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_registered|[Bool](../types/Bool.md) | Yes|Phone registered?| +|phone\_code\_hash|[string](../types/string.md) | Yes|Phone code hash, to be stored and later re-used with [auth.signIn](../methods/auth.signIn.md)| +|send\_call\_timeout|[int](../types/int.md) | Yes|Send call timeout| +|is\_password|[Bool](../types/Bool.md) | Yes|Is password?| + + + +### Type: [auth.SentCode](../types/auth.SentCode.md) + + +### Example: + +```php +$auth.sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'phone_code_hash' => 'string', 'send_call_timeout' => int, 'is_password' => Bool]; +``` + + +Or, if you're into Lua: + +```lua +auth.sentCode={_='auth.sentCode', phone_registered=Bool, phone_code_hash='string', send_call_timeout=int, is_password=Bool} + +``` + + diff --git a/old_docs/API_docs_v33/constructors/auth_authorization.md b/old_docs/API_docs_v33/constructors/auth_authorization.md deleted file mode 100644 index 07d223a1..00000000 --- a/old_docs/API_docs_v33/constructors/auth_authorization.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.authorization -description: Contains user authorization info. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.authorization -[Back to constructors index](index.md) - - - -Contains user authorization info. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|user|[User](../types/User.md) | Optional|Info on authorized user| - - - -### Type: [auth\_Authorization](../types/auth_Authorization.md) - - -### Example: - -```php -$auth_authorization = ['_' => 'auth.authorization', 'user' => User]; -``` - - -Or, if you're into Lua: - -```lua -auth_authorization={_='auth.authorization', user=User} - -``` - - diff --git a/old_docs/API_docs_v33/constructors/auth_checkedPhone.md b/old_docs/API_docs_v33/constructors/auth_checkedPhone.md deleted file mode 100644 index c77becf6..00000000 --- a/old_docs/API_docs_v33/constructors/auth_checkedPhone.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.checkedPhone -description: Checked phone -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.checkedPhone -[Back to constructors index](index.md) - - - -Checked phone - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_registered|[Bool](../types/Bool.md) | Yes|Phone registered?| - - - -### Type: [auth\_CheckedPhone](../types/auth_CheckedPhone.md) - - -### Example: - -```php -$auth_checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool]; -``` - - -Or, if you're into Lua: - -```lua -auth_checkedPhone={_='auth.checkedPhone', phone_registered=Bool} - -``` - - diff --git a/old_docs/API_docs_v33/constructors/auth_exportedAuthorization.md b/old_docs/API_docs_v33/constructors/auth_exportedAuthorization.md deleted file mode 100644 index 8d18916e..00000000 --- a/old_docs/API_docs_v33/constructors/auth_exportedAuthorization.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: auth.exportedAuthorization -description: Data for copying of authorization between data centres. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.exportedAuthorization -[Back to constructors index](index.md) - - - -Data for copying of authorization between data centres. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|id|[int](../types/int.md) | Yes|Current user identifier| -|bytes|[bytes](../types/bytes.md) | Yes|Authorizes key| - - - -### Type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) - - -### Example: - -```php -$auth_exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -auth_exportedAuthorization={_='auth.exportedAuthorization', id=int, bytes='bytes'} - -``` - - diff --git a/old_docs/API_docs_v33/constructors/auth_passwordRecovery.md b/old_docs/API_docs_v33/constructors/auth_passwordRecovery.md deleted file mode 100644 index c40f375e..00000000 --- a/old_docs/API_docs_v33/constructors/auth_passwordRecovery.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.passwordRecovery -description: Recovery info of a [2FA password](https://core.telegram.org/api/srp), only for accounts with a [recovery email configured](https://core.telegram.org/api/srp#email-verification). -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.passwordRecovery -[Back to constructors index](index.md) - - - -Recovery info of a [2FA password](https://core.telegram.org/api/srp), only for accounts with a [recovery email configured](https://core.telegram.org/api/srp#email-verification). - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|email\_pattern|[string](../types/string.md) | Yes|The email to which the recovery code was sent must match this [pattern](https://core.telegram.org/api/pattern).| - - - -### Type: [auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) - - -### Example: - -```php -$auth_passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -auth_passwordRecovery={_='auth.passwordRecovery', email_pattern='string'} - -``` - - diff --git a/old_docs/API_docs_v33/constructors/auth_sentAppCode.md b/old_docs/API_docs_v33/constructors/auth_sentAppCode.md deleted file mode 100644 index f61b0eb9..00000000 --- a/old_docs/API_docs_v33/constructors/auth_sentAppCode.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: auth.sentAppCode -description: Sent app code -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentAppCode -[Back to constructors index](index.md) - - - -Sent app code - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_registered|[Bool](../types/Bool.md) | Yes|Phone registered?| -|phone\_code\_hash|[string](../types/string.md) | Yes|Phone code hash| -|send\_call\_timeout|[int](../types/int.md) | Yes|Send call timeout| -|is\_password|[Bool](../types/Bool.md) | Yes|Is password?| - - - -### Type: [auth\_SentCode](../types/auth_SentCode.md) - - -### Example: - -```php -$auth_sentAppCode = ['_' => 'auth.sentAppCode', 'phone_registered' => Bool, 'phone_code_hash' => 'string', 'send_call_timeout' => int, 'is_password' => Bool]; -``` - - -Or, if you're into Lua: - -```lua -auth_sentAppCode={_='auth.sentAppCode', phone_registered=Bool, phone_code_hash='string', send_call_timeout=int, is_password=Bool} - -``` - - diff --git a/old_docs/API_docs_v33/constructors/auth_sentCode.md b/old_docs/API_docs_v33/constructors/auth_sentCode.md deleted file mode 100644 index 28a9ac2f..00000000 --- a/old_docs/API_docs_v33/constructors/auth_sentCode.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: auth.sentCode -description: Contains info about a sent verification code. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentCode -[Back to constructors index](index.md) - - - -Contains info about a sent verification code. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_registered|[Bool](../types/Bool.md) | Yes|Phone registered?| -|phone\_code\_hash|[string](../types/string.md) | Yes|Phone code hash, to be stored and later re-used with [auth.signIn](../methods/auth.signIn.md)| -|send\_call\_timeout|[int](../types/int.md) | Yes|Send call timeout| -|is\_password|[Bool](../types/Bool.md) | Yes|Is password?| - - - -### Type: [auth\_SentCode](../types/auth_SentCode.md) - - -### Example: - -```php -$auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'phone_code_hash' => 'string', 'send_call_timeout' => int, 'is_password' => Bool]; -``` - - -Or, if you're into Lua: - -```lua -auth_sentCode={_='auth.sentCode', phone_registered=Bool, phone_code_hash='string', send_call_timeout=int, is_password=Bool} - -``` - - diff --git a/old_docs/API_docs_v33/constructors/contacts.blocked.md b/old_docs/API_docs_v33/constructors/contacts.blocked.md new file mode 100644 index 00000000..d2b3f680 --- /dev/null +++ b/old_docs/API_docs_v33/constructors/contacts.blocked.md @@ -0,0 +1,39 @@ +--- +title: contacts.blocked +description: Full list of blocked users. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.blocked +[Back to constructors index](index.md) + + + +Full list of blocked users. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Blocked](../types/contacts.Blocked.md) + + +### Example: + +```php +$contacts.blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.blocked={_='contacts.blocked', blocked={ContactBlocked}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v33/constructors/contacts.blockedSlice.md b/old_docs/API_docs_v33/constructors/contacts.blockedSlice.md new file mode 100644 index 00000000..92d19c72 --- /dev/null +++ b/old_docs/API_docs_v33/constructors/contacts.blockedSlice.md @@ -0,0 +1,40 @@ +--- +title: contacts.blockedSlice +description: Incomplete list of blocked users. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.blockedSlice +[Back to constructors index](index.md) + + + +Incomplete list of blocked users. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of elements in the list| +|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Blocked](../types/contacts.Blocked.md) + + +### Example: + +```php +$contacts.blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.blockedSlice={_='contacts.blockedSlice', count=int, blocked={ContactBlocked}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v33/constructors/contacts.contacts.md b/old_docs/API_docs_v33/constructors/contacts.contacts.md new file mode 100644 index 00000000..d4ccc018 --- /dev/null +++ b/old_docs/API_docs_v33/constructors/contacts.contacts.md @@ -0,0 +1,39 @@ +--- +title: contacts.contacts +description: The current user's contact list and info on users. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.contacts +[Back to constructors index](index.md) + + + +The current user's contact list and info on users. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|contacts|Array of [Contact](../types/Contact.md) | Yes|Contacts| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Contacts](../types/contacts.Contacts.md) + + +### Example: + +```php +$contacts.contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact, Contact], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.contacts={_='contacts.contacts', contacts={Contact}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v33/constructors/contacts.contactsNotModified.md b/old_docs/API_docs_v33/constructors/contacts.contactsNotModified.md new file mode 100644 index 00000000..e2149396 --- /dev/null +++ b/old_docs/API_docs_v33/constructors/contacts.contactsNotModified.md @@ -0,0 +1,33 @@ +--- +title: contacts.contactsNotModified +description: Contact list on the server is the same as the list on the client. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.contactsNotModified +[Back to constructors index](index.md) + + + +Contact list on the server is the same as the list on the client. + + + + +### Type: [contacts.Contacts](../types/contacts.Contacts.md) + + +### Example: + +```php +$contacts.contactsNotModified = ['_' => 'contacts.contactsNotModified']; +``` + + +Or, if you're into Lua: + +```lua +contacts.contactsNotModified={_='contacts.contactsNotModified'} + +``` + + diff --git a/old_docs/API_docs_v33/constructors/contacts.found.md b/old_docs/API_docs_v33/constructors/contacts.found.md new file mode 100644 index 00000000..e7820220 --- /dev/null +++ b/old_docs/API_docs_v33/constructors/contacts.found.md @@ -0,0 +1,39 @@ +--- +title: contacts.found +description: Users found by name substring and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.found +[Back to constructors index](index.md) + + + +Users found by name substring and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|results|Array of [ContactFound](../types/ContactFound.md) | Yes|Results| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Found](../types/contacts.Found.md) + + +### Example: + +```php +$contacts.found = ['_' => 'contacts.found', 'results' => [ContactFound, ContactFound], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.found={_='contacts.found', results={ContactFound}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v33/constructors/contacts.importedContacts.md b/old_docs/API_docs_v33/constructors/contacts.importedContacts.md new file mode 100644 index 00000000..1cbff59a --- /dev/null +++ b/old_docs/API_docs_v33/constructors/contacts.importedContacts.md @@ -0,0 +1,40 @@ +--- +title: contacts.importedContacts +description: Info on succesfully imported contacts. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.importedContacts +[Back to constructors index](index.md) + + + +Info on succesfully imported contacts. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|imported|Array of [ImportedContact](../types/ImportedContact.md) | Yes|Imported| +|retry\_contacts|Array of [long](../types/long.md) | Yes|Retry importing contacts whose client IDs appear here| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.ImportedContacts](../types/contacts.ImportedContacts.md) + + +### Example: + +```php +$contacts.importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact, ImportedContact], 'retry_contacts' => [long, long], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.importedContacts={_='contacts.importedContacts', imported={ImportedContact}, retry_contacts={long}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v33/constructors/contacts.link.md b/old_docs/API_docs_v33/constructors/contacts.link.md new file mode 100644 index 00000000..ab150a0d --- /dev/null +++ b/old_docs/API_docs_v33/constructors/contacts.link.md @@ -0,0 +1,40 @@ +--- +title: contacts.link +description: Link +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.link +[Back to constructors index](index.md) + + + +Link + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|my\_link|[ContactLink](../types/ContactLink.md) | Yes|My link| +|foreign\_link|[ContactLink](../types/ContactLink.md) | Yes|Foreign link| +|user|[User](../types/User.md) | Optional|User| + + + +### Type: [contacts.Link](../types/contacts.Link.md) + + +### Example: + +```php +$contacts.link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User]; +``` + + +Or, if you're into Lua: + +```lua +contacts.link={_='contacts.link', my_link=ContactLink, foreign_link=ContactLink, user=User} + +``` + + diff --git a/old_docs/API_docs_v33/constructors/contacts.suggested.md b/old_docs/API_docs_v33/constructors/contacts.suggested.md new file mode 100644 index 00000000..b9a56bec --- /dev/null +++ b/old_docs/API_docs_v33/constructors/contacts.suggested.md @@ -0,0 +1,39 @@ +--- +title: contacts.suggested +description: Suggested +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.suggested +[Back to constructors index](index.md) + + + +Suggested + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|results|Array of [ContactSuggested](../types/ContactSuggested.md) | Yes|Results| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Suggested](../types/contacts.Suggested.md) + + +### Example: + +```php +$contacts.suggested = ['_' => 'contacts.suggested', 'results' => [ContactSuggested, ContactSuggested], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.suggested={_='contacts.suggested', results={ContactSuggested}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v33/constructors/contacts_blocked.md b/old_docs/API_docs_v33/constructors/contacts_blocked.md deleted file mode 100644 index 20e33002..00000000 --- a/old_docs/API_docs_v33/constructors/contacts_blocked.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: contacts.blocked -description: Full list of blocked users. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.blocked -[Back to constructors index](index.md) - - - -Full list of blocked users. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Blocked](../types/contacts_Blocked.md) - - -### Example: - -```php -$contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_blocked={_='contacts.blocked', blocked={ContactBlocked}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v33/constructors/contacts_blockedSlice.md b/old_docs/API_docs_v33/constructors/contacts_blockedSlice.md deleted file mode 100644 index fcab9a28..00000000 --- a/old_docs/API_docs_v33/constructors/contacts_blockedSlice.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.blockedSlice -description: Incomplete list of blocked users. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.blockedSlice -[Back to constructors index](index.md) - - - -Incomplete list of blocked users. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of elements in the list| -|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Blocked](../types/contacts_Blocked.md) - - -### Example: - -```php -$contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_blockedSlice={_='contacts.blockedSlice', count=int, blocked={ContactBlocked}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v33/constructors/contacts_contacts.md b/old_docs/API_docs_v33/constructors/contacts_contacts.md deleted file mode 100644 index f101b34b..00000000 --- a/old_docs/API_docs_v33/constructors/contacts_contacts.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: contacts.contacts -description: The current user's contact list and info on users. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.contacts -[Back to constructors index](index.md) - - - -The current user's contact list and info on users. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|contacts|Array of [Contact](../types/Contact.md) | Yes|Contacts| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Contacts](../types/contacts_Contacts.md) - - -### Example: - -```php -$contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact, Contact], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_contacts={_='contacts.contacts', contacts={Contact}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v33/constructors/contacts_contactsNotModified.md b/old_docs/API_docs_v33/constructors/contacts_contactsNotModified.md deleted file mode 100644 index 17e76ac3..00000000 --- a/old_docs/API_docs_v33/constructors/contacts_contactsNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: contacts.contactsNotModified -description: Contact list on the server is the same as the list on the client. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.contactsNotModified -[Back to constructors index](index.md) - - - -Contact list on the server is the same as the list on the client. - - - - -### Type: [contacts\_Contacts](../types/contacts_Contacts.md) - - -### Example: - -```php -$contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified']; -``` - - -Or, if you're into Lua: - -```lua -contacts_contactsNotModified={_='contacts.contactsNotModified'} - -``` - - diff --git a/old_docs/API_docs_v33/constructors/contacts_found.md b/old_docs/API_docs_v33/constructors/contacts_found.md deleted file mode 100644 index a3f36963..00000000 --- a/old_docs/API_docs_v33/constructors/contacts_found.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: contacts.found -description: Users found by name substring and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.found -[Back to constructors index](index.md) - - - -Users found by name substring and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|results|Array of [ContactFound](../types/ContactFound.md) | Yes|Results| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Found](../types/contacts_Found.md) - - -### Example: - -```php -$contacts_found = ['_' => 'contacts.found', 'results' => [ContactFound, ContactFound], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_found={_='contacts.found', results={ContactFound}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v33/constructors/contacts_importedContacts.md b/old_docs/API_docs_v33/constructors/contacts_importedContacts.md deleted file mode 100644 index 121d96d1..00000000 --- a/old_docs/API_docs_v33/constructors/contacts_importedContacts.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.importedContacts -description: Info on succesfully imported contacts. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.importedContacts -[Back to constructors index](index.md) - - - -Info on succesfully imported contacts. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|imported|Array of [ImportedContact](../types/ImportedContact.md) | Yes|Imported| -|retry\_contacts|Array of [long](../types/long.md) | Yes|Retry importing contacts whose client IDs appear here| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) - - -### Example: - -```php -$contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact, ImportedContact], 'retry_contacts' => [long, long], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_importedContacts={_='contacts.importedContacts', imported={ImportedContact}, retry_contacts={long}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v33/constructors/contacts_link.md b/old_docs/API_docs_v33/constructors/contacts_link.md deleted file mode 100644 index cfc566c7..00000000 --- a/old_docs/API_docs_v33/constructors/contacts_link.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.link -description: Link -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.link -[Back to constructors index](index.md) - - - -Link - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|my\_link|[ContactLink](../types/ContactLink.md) | Yes|My link| -|foreign\_link|[ContactLink](../types/ContactLink.md) | Yes|Foreign link| -|user|[User](../types/User.md) | Optional|User| - - - -### Type: [contacts\_Link](../types/contacts_Link.md) - - -### Example: - -```php -$contacts_link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User]; -``` - - -Or, if you're into Lua: - -```lua -contacts_link={_='contacts.link', my_link=ContactLink, foreign_link=ContactLink, user=User} - -``` - - diff --git a/old_docs/API_docs_v33/constructors/contacts_suggested.md b/old_docs/API_docs_v33/constructors/contacts_suggested.md deleted file mode 100644 index 9bdba0b7..00000000 --- a/old_docs/API_docs_v33/constructors/contacts_suggested.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: contacts.suggested -description: Suggested -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.suggested -[Back to constructors index](index.md) - - - -Suggested - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|results|Array of [ContactSuggested](../types/ContactSuggested.md) | Yes|Results| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Suggested](../types/contacts_Suggested.md) - - -### Example: - -```php -$contacts_suggested = ['_' => 'contacts.suggested', 'results' => [ContactSuggested, ContactSuggested], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_suggested={_='contacts.suggested', results={ContactSuggested}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v33/constructors/geochats.located.md b/old_docs/API_docs_v33/constructors/geochats.located.md new file mode 100644 index 00000000..5ca84141 --- /dev/null +++ b/old_docs/API_docs_v33/constructors/geochats.located.md @@ -0,0 +1,41 @@ +--- +title: geochats.located +description: Located +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: geochats.located +[Back to constructors index](index.md) + + + +Located + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|results|Array of [ChatLocated](../types/ChatLocated.md) | Yes|Results| +|messages|Array of [GeoChatMessage](../types/GeoChatMessage.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [geochats.Located](../types/geochats.Located.md) + + +### Example: + +```php +$geochats.located = ['_' => 'geochats.located', 'results' => [ChatLocated, ChatLocated], 'messages' => [GeoChatMessage, GeoChatMessage], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +geochats.located={_='geochats.located', results={ChatLocated}, messages={GeoChatMessage}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v33/constructors/geochats.messages.md b/old_docs/API_docs_v33/constructors/geochats.messages.md new file mode 100644 index 00000000..27f06cab --- /dev/null +++ b/old_docs/API_docs_v33/constructors/geochats.messages.md @@ -0,0 +1,40 @@ +--- +title: geochats.messages +description: Messages +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: geochats.messages +[Back to constructors index](index.md) + + + +Messages + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|messages|Array of [GeoChatMessage](../types/GeoChatMessage.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [geochats.Messages](../types/geochats.Messages.md) + + +### Example: + +```php +$geochats.messages = ['_' => 'geochats.messages', 'messages' => [GeoChatMessage, GeoChatMessage], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +geochats.messages={_='geochats.messages', messages={GeoChatMessage}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v33/constructors/geochats.messagesSlice.md b/old_docs/API_docs_v33/constructors/geochats.messagesSlice.md new file mode 100644 index 00000000..a1ad1f7d --- /dev/null +++ b/old_docs/API_docs_v33/constructors/geochats.messagesSlice.md @@ -0,0 +1,41 @@ +--- +title: geochats.messagesSlice +description: Messages slice +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: geochats.messagesSlice +[Back to constructors index](index.md) + + + +Messages slice + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Count| +|messages|Array of [GeoChatMessage](../types/GeoChatMessage.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [geochats.Messages](../types/geochats.Messages.md) + + +### Example: + +```php +$geochats.messagesSlice = ['_' => 'geochats.messagesSlice', 'count' => int, 'messages' => [GeoChatMessage, GeoChatMessage], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +geochats.messagesSlice={_='geochats.messagesSlice', count=int, messages={GeoChatMessage}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v33/constructors/geochats.statedMessage.md b/old_docs/API_docs_v33/constructors/geochats.statedMessage.md new file mode 100644 index 00000000..b3c9d6b4 --- /dev/null +++ b/old_docs/API_docs_v33/constructors/geochats.statedMessage.md @@ -0,0 +1,41 @@ +--- +title: geochats.statedMessage +description: Stated message +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: geochats.statedMessage +[Back to constructors index](index.md) + + + +Stated message + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|message|[GeoChatMessage](../types/GeoChatMessage.md) | Optional|Message| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| +|seq|[int](../types/int.md) | Yes|Seq| + + + +### Type: [geochats.StatedMessage](../types/geochats.StatedMessage.md) + + +### Example: + +```php +$geochats.statedMessage = ['_' => 'geochats.statedMessage', 'message' => GeoChatMessage, 'chats' => [Chat, Chat], 'users' => [User, User], 'seq' => int]; +``` + + +Or, if you're into Lua: + +```lua +geochats.statedMessage={_='geochats.statedMessage', message=GeoChatMessage, chats={Chat}, users={User}, seq=int} + +``` + + diff --git a/old_docs/API_docs_v33/constructors/geochats_located.md b/old_docs/API_docs_v33/constructors/geochats_located.md deleted file mode 100644 index b8f39dee..00000000 --- a/old_docs/API_docs_v33/constructors/geochats_located.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: geochats.located -description: Located -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: geochats.located -[Back to constructors index](index.md) - - - -Located - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|results|Array of [ChatLocated](../types/ChatLocated.md) | Yes|Results| -|messages|Array of [GeoChatMessage](../types/GeoChatMessage.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [geochats\_Located](../types/geochats_Located.md) - - -### Example: - -```php -$geochats_located = ['_' => 'geochats.located', 'results' => [ChatLocated, ChatLocated], 'messages' => [GeoChatMessage, GeoChatMessage], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -geochats_located={_='geochats.located', results={ChatLocated}, messages={GeoChatMessage}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v33/constructors/geochats_messages.md b/old_docs/API_docs_v33/constructors/geochats_messages.md deleted file mode 100644 index 511d1a8b..00000000 --- a/old_docs/API_docs_v33/constructors/geochats_messages.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: geochats.messages -description: Messages -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: geochats.messages -[Back to constructors index](index.md) - - - -Messages - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|messages|Array of [GeoChatMessage](../types/GeoChatMessage.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [geochats\_Messages](../types/geochats_Messages.md) - - -### Example: - -```php -$geochats_messages = ['_' => 'geochats.messages', 'messages' => [GeoChatMessage, GeoChatMessage], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -geochats_messages={_='geochats.messages', messages={GeoChatMessage}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v33/constructors/geochats_messagesSlice.md b/old_docs/API_docs_v33/constructors/geochats_messagesSlice.md deleted file mode 100644 index 8b628865..00000000 --- a/old_docs/API_docs_v33/constructors/geochats_messagesSlice.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: geochats.messagesSlice -description: Messages slice -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: geochats.messagesSlice -[Back to constructors index](index.md) - - - -Messages slice - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Count| -|messages|Array of [GeoChatMessage](../types/GeoChatMessage.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [geochats\_Messages](../types/geochats_Messages.md) - - -### Example: - -```php -$geochats_messagesSlice = ['_' => 'geochats.messagesSlice', 'count' => int, 'messages' => [GeoChatMessage, GeoChatMessage], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -geochats_messagesSlice={_='geochats.messagesSlice', count=int, messages={GeoChatMessage}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v33/constructors/geochats_statedMessage.md b/old_docs/API_docs_v33/constructors/geochats_statedMessage.md deleted file mode 100644 index 1314d8eb..00000000 --- a/old_docs/API_docs_v33/constructors/geochats_statedMessage.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: geochats.statedMessage -description: Stated message -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: geochats.statedMessage -[Back to constructors index](index.md) - - - -Stated message - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|message|[GeoChatMessage](../types/GeoChatMessage.md) | Optional|Message| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| -|seq|[int](../types/int.md) | Yes|Seq| - - - -### Type: [geochats\_StatedMessage](../types/geochats_StatedMessage.md) - - -### Example: - -```php -$geochats_statedMessage = ['_' => 'geochats.statedMessage', 'message' => GeoChatMessage, 'chats' => [Chat, Chat], 'users' => [User, User], 'seq' => int]; -``` - - -Or, if you're into Lua: - -```lua -geochats_statedMessage={_='geochats.statedMessage', message=GeoChatMessage, chats={Chat}, users={User}, seq=int} - -``` - - diff --git a/old_docs/API_docs_v33/constructors/help.appChangelog.md b/old_docs/API_docs_v33/constructors/help.appChangelog.md new file mode 100644 index 00000000..dec6b96c --- /dev/null +++ b/old_docs/API_docs_v33/constructors/help.appChangelog.md @@ -0,0 +1,38 @@ +--- +title: help.appChangelog +description: App changelog +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.appChangelog +[Back to constructors index](index.md) + + + +App changelog + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|text|[string](../types/string.md) | Yes|Text| + + + +### Type: [help.AppChangelog](../types/help.AppChangelog.md) + + +### Example: + +```php +$help.appChangelog = ['_' => 'help.appChangelog', 'text' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +help.appChangelog={_='help.appChangelog', text='string'} + +``` + + diff --git a/old_docs/API_docs_v33/constructors/help.appChangelogEmpty.md b/old_docs/API_docs_v33/constructors/help.appChangelogEmpty.md new file mode 100644 index 00000000..6ecb71af --- /dev/null +++ b/old_docs/API_docs_v33/constructors/help.appChangelogEmpty.md @@ -0,0 +1,33 @@ +--- +title: help.appChangelogEmpty +description: Empty app changelog +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.appChangelogEmpty +[Back to constructors index](index.md) + + + +Empty app changelog + + + + +### Type: [help.AppChangelog](../types/help.AppChangelog.md) + + +### Example: + +```php +$help.appChangelogEmpty = ['_' => 'help.appChangelogEmpty']; +``` + + +Or, if you're into Lua: + +```lua +help.appChangelogEmpty={_='help.appChangelogEmpty'} + +``` + + diff --git a/old_docs/API_docs_v33/constructors/help.appUpdate.md b/old_docs/API_docs_v33/constructors/help.appUpdate.md new file mode 100644 index 00000000..14b2d75b --- /dev/null +++ b/old_docs/API_docs_v33/constructors/help.appUpdate.md @@ -0,0 +1,41 @@ +--- +title: help.appUpdate +description: An update is available for the application. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.appUpdate +[Back to constructors index](index.md) + + + +An update is available for the application. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|id|[int](../types/int.md) | Yes|Update ID| +|critical|[Bool](../types/Bool.md) | Yes|Critical?| +|url|[string](../types/string.md) | Yes|Application download URL| +|text|[string](../types/string.md) | Yes|Text description of the update| + + + +### Type: [help.AppUpdate](../types/help.AppUpdate.md) + + +### Example: + +```php +$help.appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'url' => 'string', 'text' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +help.appUpdate={_='help.appUpdate', id=int, critical=Bool, url='string', text='string'} + +``` + + diff --git a/old_docs/API_docs_v33/constructors/help.inviteText.md b/old_docs/API_docs_v33/constructors/help.inviteText.md new file mode 100644 index 00000000..6a6261c1 --- /dev/null +++ b/old_docs/API_docs_v33/constructors/help.inviteText.md @@ -0,0 +1,38 @@ +--- +title: help.inviteText +description: Text of a text message with an invitation to install application. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.inviteText +[Back to constructors index](index.md) + + + +Text of a text message with an invitation to install application. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|message|[string](../types/string.md) | Yes|Text of a message| + + + +### Type: [help.InviteText](../types/help.InviteText.md) + + +### Example: + +```php +$help.inviteText = ['_' => 'help.inviteText', 'message' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +help.inviteText={_='help.inviteText', message='string'} + +``` + + diff --git a/old_docs/API_docs_v33/constructors/help.noAppUpdate.md b/old_docs/API_docs_v33/constructors/help.noAppUpdate.md new file mode 100644 index 00000000..1b69ac9a --- /dev/null +++ b/old_docs/API_docs_v33/constructors/help.noAppUpdate.md @@ -0,0 +1,33 @@ +--- +title: help.noAppUpdate +description: No updates are available for the application. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.noAppUpdate +[Back to constructors index](index.md) + + + +No updates are available for the application. + + + + +### Type: [help.AppUpdate](../types/help.AppUpdate.md) + + +### Example: + +```php +$help.noAppUpdate = ['_' => 'help.noAppUpdate']; +``` + + +Or, if you're into Lua: + +```lua +help.noAppUpdate={_='help.noAppUpdate'} + +``` + + diff --git a/old_docs/API_docs_v33/constructors/help.support.md b/old_docs/API_docs_v33/constructors/help.support.md new file mode 100644 index 00000000..4d4f85fb --- /dev/null +++ b/old_docs/API_docs_v33/constructors/help.support.md @@ -0,0 +1,39 @@ +--- +title: help.support +description: Info on support user. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.support +[Back to constructors index](index.md) + + + +Info on support user. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_number|[string](../types/string.md) | Yes|Phone number| +|user|[User](../types/User.md) | Optional|User| + + + +### Type: [help.Support](../types/help.Support.md) + + +### Example: + +```php +$help.support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => User]; +``` + + +Or, if you're into Lua: + +```lua +help.support={_='help.support', phone_number='string', user=User} + +``` + + diff --git a/old_docs/API_docs_v33/constructors/help_appChangelog.md b/old_docs/API_docs_v33/constructors/help_appChangelog.md deleted file mode 100644 index 793a8fc4..00000000 --- a/old_docs/API_docs_v33/constructors/help_appChangelog.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: help.appChangelog -description: App changelog -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.appChangelog -[Back to constructors index](index.md) - - - -App changelog - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|text|[string](../types/string.md) | Yes|Text| - - - -### Type: [help\_AppChangelog](../types/help_AppChangelog.md) - - -### Example: - -```php -$help_appChangelog = ['_' => 'help.appChangelog', 'text' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -help_appChangelog={_='help.appChangelog', text='string'} - -``` - - diff --git a/old_docs/API_docs_v33/constructors/help_appChangelogEmpty.md b/old_docs/API_docs_v33/constructors/help_appChangelogEmpty.md deleted file mode 100644 index 62a195bb..00000000 --- a/old_docs/API_docs_v33/constructors/help_appChangelogEmpty.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: help.appChangelogEmpty -description: Empty app changelog -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.appChangelogEmpty -[Back to constructors index](index.md) - - - -Empty app changelog - - - - -### Type: [help\_AppChangelog](../types/help_AppChangelog.md) - - -### Example: - -```php -$help_appChangelogEmpty = ['_' => 'help.appChangelogEmpty']; -``` - - -Or, if you're into Lua: - -```lua -help_appChangelogEmpty={_='help.appChangelogEmpty'} - -``` - - diff --git a/old_docs/API_docs_v33/constructors/help_appUpdate.md b/old_docs/API_docs_v33/constructors/help_appUpdate.md deleted file mode 100644 index efba9bdb..00000000 --- a/old_docs/API_docs_v33/constructors/help_appUpdate.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: help.appUpdate -description: An update is available for the application. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.appUpdate -[Back to constructors index](index.md) - - - -An update is available for the application. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|id|[int](../types/int.md) | Yes|Update ID| -|critical|[Bool](../types/Bool.md) | Yes|Critical?| -|url|[string](../types/string.md) | Yes|Application download URL| -|text|[string](../types/string.md) | Yes|Text description of the update| - - - -### Type: [help\_AppUpdate](../types/help_AppUpdate.md) - - -### Example: - -```php -$help_appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'url' => 'string', 'text' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -help_appUpdate={_='help.appUpdate', id=int, critical=Bool, url='string', text='string'} - -``` - - diff --git a/old_docs/API_docs_v33/constructors/help_inviteText.md b/old_docs/API_docs_v33/constructors/help_inviteText.md deleted file mode 100644 index b8317ce3..00000000 --- a/old_docs/API_docs_v33/constructors/help_inviteText.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: help.inviteText -description: Text of a text message with an invitation to install application. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.inviteText -[Back to constructors index](index.md) - - - -Text of a text message with an invitation to install application. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|message|[string](../types/string.md) | Yes|Text of a message| - - - -### Type: [help\_InviteText](../types/help_InviteText.md) - - -### Example: - -```php -$help_inviteText = ['_' => 'help.inviteText', 'message' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -help_inviteText={_='help.inviteText', message='string'} - -``` - - diff --git a/old_docs/API_docs_v33/constructors/help_noAppUpdate.md b/old_docs/API_docs_v33/constructors/help_noAppUpdate.md deleted file mode 100644 index 51505e52..00000000 --- a/old_docs/API_docs_v33/constructors/help_noAppUpdate.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: help.noAppUpdate -description: No updates are available for the application. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.noAppUpdate -[Back to constructors index](index.md) - - - -No updates are available for the application. - - - - -### Type: [help\_AppUpdate](../types/help_AppUpdate.md) - - -### Example: - -```php -$help_noAppUpdate = ['_' => 'help.noAppUpdate']; -``` - - -Or, if you're into Lua: - -```lua -help_noAppUpdate={_='help.noAppUpdate'} - -``` - - diff --git a/old_docs/API_docs_v33/constructors/help_support.md b/old_docs/API_docs_v33/constructors/help_support.md deleted file mode 100644 index 148f7f42..00000000 --- a/old_docs/API_docs_v33/constructors/help_support.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: help.support -description: Info on support user. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.support -[Back to constructors index](index.md) - - - -Info on support user. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_number|[string](../types/string.md) | Yes|Phone number| -|user|[User](../types/User.md) | Optional|User| - - - -### Type: [help\_Support](../types/help_Support.md) - - -### Example: - -```php -$help_support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => User]; -``` - - -Or, if you're into Lua: - -```lua -help_support={_='help.support', phone_number='string', user=User} - -``` - - diff --git a/old_docs/API_docs_v33/constructors/messages.affectedHistory.md b/old_docs/API_docs_v33/constructors/messages.affectedHistory.md new file mode 100644 index 00000000..5fc8acec --- /dev/null +++ b/old_docs/API_docs_v33/constructors/messages.affectedHistory.md @@ -0,0 +1,40 @@ +--- +title: messages.affectedHistory +description: Affected part of communication history with the user or in a chat. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.affectedHistory +[Back to constructors index](index.md) + + + +Affected part of communication history with the user or in a chat. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| +|pts\_count|[int](../types/int.md) | Yes|Number of affected events| +|offset|[int](../types/int.md) | Yes|If a parameter contains positive value, it is necessary to repeat the method call using the given value; during the proceeding of all the history the value itself shall gradually decrease| + + + +### Type: [messages.AffectedHistory](../types/messages.AffectedHistory.md) + + +### Example: + +```php +$messages.affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.affectedHistory={_='messages.affectedHistory', pts=int, pts_count=int, offset=int} + +``` + + diff --git a/old_docs/API_docs_v33/constructors/messages.affectedMessages.md b/old_docs/API_docs_v33/constructors/messages.affectedMessages.md new file mode 100644 index 00000000..a0e60bdf --- /dev/null +++ b/old_docs/API_docs_v33/constructors/messages.affectedMessages.md @@ -0,0 +1,39 @@ +--- +title: messages.affectedMessages +description: Events affected by operation +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.affectedMessages +[Back to constructors index](index.md) + + + +Events affected by operation + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|[Event count after generation](https://core.telegram.org/api/updates)| +|pts\_count|[int](../types/int.md) | Yes|[Number of events that were generated](https://core.telegram.org/api/updates)| + + + +### Type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) + + +### Example: + +```php +$messages.affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.affectedMessages={_='messages.affectedMessages', pts=int, pts_count=int} + +``` + + diff --git a/old_docs/API_docs_v33/constructors/messages.allStickers.md b/old_docs/API_docs_v33/constructors/messages.allStickers.md new file mode 100644 index 00000000..2f9cc6e8 --- /dev/null +++ b/old_docs/API_docs_v33/constructors/messages.allStickers.md @@ -0,0 +1,39 @@ +--- +title: messages.allStickers +description: Info about all installed stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.allStickers +[Back to constructors index](index.md) + + + +Info about all installed stickers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[string](../types/string.md) | Yes|Hash| +|sets|Array of [StickerSet](../types/StickerSet.md) | Yes|Sets| + + + +### Type: [messages.AllStickers](../types/messages.AllStickers.md) + + +### Example: + +```php +$messages.allStickers = ['_' => 'messages.allStickers', 'hash' => 'string', 'sets' => [StickerSet, StickerSet]]; +``` + + +Or, if you're into Lua: + +```lua +messages.allStickers={_='messages.allStickers', hash='string', sets={StickerSet}} + +``` + + diff --git a/old_docs/API_docs_v33/constructors/messages.allStickersNotModified.md b/old_docs/API_docs_v33/constructors/messages.allStickersNotModified.md new file mode 100644 index 00000000..d3db088b --- /dev/null +++ b/old_docs/API_docs_v33/constructors/messages.allStickersNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.allStickersNotModified +description: Info about all installed stickers hasn't changed +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.allStickersNotModified +[Back to constructors index](index.md) + + + +Info about all installed stickers hasn't changed + + + + +### Type: [messages.AllStickers](../types/messages.AllStickers.md) + + +### Example: + +```php +$messages.allStickersNotModified = ['_' => 'messages.allStickersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.allStickersNotModified={_='messages.allStickersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v33/constructors/messages.chatFull.md b/old_docs/API_docs_v33/constructors/messages.chatFull.md new file mode 100644 index 00000000..3906cc54 --- /dev/null +++ b/old_docs/API_docs_v33/constructors/messages.chatFull.md @@ -0,0 +1,40 @@ +--- +title: messages.chatFull +description: Extended info on chat and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.chatFull +[Back to constructors index](index.md) + + + +Extended info on chat and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|full\_chat|[ChatFull](../types/ChatFull.md) | Yes|Extended info on a chat| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.ChatFull](../types/messages.ChatFull.md) + + +### Example: + +```php +$messages.chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.chatFull={_='messages.chatFull', full_chat=ChatFull, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v33/constructors/messages.chats.md b/old_docs/API_docs_v33/constructors/messages.chats.md new file mode 100644 index 00000000..9ede9ff2 --- /dev/null +++ b/old_docs/API_docs_v33/constructors/messages.chats.md @@ -0,0 +1,38 @@ +--- +title: messages.chats +description: List of chats with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.chats +[Back to constructors index](index.md) + + + +List of chats with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| + + + +### Type: [messages.Chats](../types/messages.Chats.md) + + +### Example: + +```php +$messages.chats = ['_' => 'messages.chats', 'chats' => [Chat, Chat]]; +``` + + +Or, if you're into Lua: + +```lua +messages.chats={_='messages.chats', chats={Chat}} + +``` + + diff --git a/old_docs/API_docs_v33/constructors/messages.dhConfig.md b/old_docs/API_docs_v33/constructors/messages.dhConfig.md new file mode 100644 index 00000000..58344f64 --- /dev/null +++ b/old_docs/API_docs_v33/constructors/messages.dhConfig.md @@ -0,0 +1,41 @@ +--- +title: messages.dhConfig +description: New set of configuring parameters. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dhConfig +[Back to constructors index](index.md) + + + +New set of configuring parameters. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|g|[int](../types/int.md) | Yes|New value **prime**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| +|p|[bytes](../types/bytes.md) | Yes|New value **primitive root**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| +|version|[int](../types/int.md) | Yes|Vestion of set of parameters| +|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| + + + +### Type: [messages.DhConfig](../types/messages.DhConfig.md) + + +### Example: + +```php +$messages.dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'version' => int, 'random' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +messages.dhConfig={_='messages.dhConfig', g=int, p='bytes', version=int, random='bytes'} + +``` + + diff --git a/old_docs/API_docs_v33/constructors/messages.dhConfigNotModified.md b/old_docs/API_docs_v33/constructors/messages.dhConfigNotModified.md new file mode 100644 index 00000000..a9a95389 --- /dev/null +++ b/old_docs/API_docs_v33/constructors/messages.dhConfigNotModified.md @@ -0,0 +1,38 @@ +--- +title: messages.dhConfigNotModified +description: Configuring parameters did not change. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dhConfigNotModified +[Back to constructors index](index.md) + + + +Configuring parameters did not change. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| + + + +### Type: [messages.DhConfig](../types/messages.DhConfig.md) + + +### Example: + +```php +$messages.dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +messages.dhConfigNotModified={_='messages.dhConfigNotModified', random='bytes'} + +``` + + diff --git a/old_docs/API_docs_v33/constructors/messages.dialogs.md b/old_docs/API_docs_v33/constructors/messages.dialogs.md new file mode 100644 index 00000000..a72eabce --- /dev/null +++ b/old_docs/API_docs_v33/constructors/messages.dialogs.md @@ -0,0 +1,41 @@ +--- +title: messages.dialogs +description: Full list of chats with messages and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dialogs +[Back to constructors index](index.md) + + + +Full list of chats with messages and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Dialogs](../types/messages.Dialogs.md) + + +### Example: + +```php +$messages.dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.dialogs={_='messages.dialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v33/constructors/messages.dialogsSlice.md b/old_docs/API_docs_v33/constructors/messages.dialogsSlice.md new file mode 100644 index 00000000..26227d2c --- /dev/null +++ b/old_docs/API_docs_v33/constructors/messages.dialogsSlice.md @@ -0,0 +1,42 @@ +--- +title: messages.dialogsSlice +description: Incomplete list of dialogs with messages and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dialogsSlice +[Back to constructors index](index.md) + + + +Incomplete list of dialogs with messages and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of dialogs| +|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Dialogs](../types/messages.Dialogs.md) + + +### Example: + +```php +$messages.dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.dialogsSlice={_='messages.dialogsSlice', count=int, dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v33/constructors/messages.messageEmpty.md b/old_docs/API_docs_v33/constructors/messages.messageEmpty.md new file mode 100644 index 00000000..7c3bc06c --- /dev/null +++ b/old_docs/API_docs_v33/constructors/messages.messageEmpty.md @@ -0,0 +1,33 @@ +--- +title: messages.messageEmpty +description: Empty message +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.messageEmpty +[Back to constructors index](index.md) + + + +Empty message + + + + +### Type: [messages.Message](../types/messages.Message.md) + + +### Example: + +```php +$messages.messageEmpty = ['_' => 'messages.messageEmpty']; +``` + + +Or, if you're into Lua: + +```lua +messages.messageEmpty={_='messages.messageEmpty'} + +``` + + diff --git a/old_docs/API_docs_v33/constructors/messages.messages.md b/old_docs/API_docs_v33/constructors/messages.messages.md new file mode 100644 index 00000000..3af71dca --- /dev/null +++ b/old_docs/API_docs_v33/constructors/messages.messages.md @@ -0,0 +1,40 @@ +--- +title: messages.messages +description: Full list of messages with auxilary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.messages +[Back to constructors index](index.md) + + + +Full list of messages with auxilary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Messages](../types/messages.Messages.md) + + +### Example: + +```php +$messages.messages = ['_' => 'messages.messages', 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.messages={_='messages.messages', messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v33/constructors/messages.messagesSlice.md b/old_docs/API_docs_v33/constructors/messages.messagesSlice.md new file mode 100644 index 00000000..2fe91df0 --- /dev/null +++ b/old_docs/API_docs_v33/constructors/messages.messagesSlice.md @@ -0,0 +1,41 @@ +--- +title: messages.messagesSlice +description: Incomplete list of messages and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.messagesSlice +[Back to constructors index](index.md) + + + +Incomplete list of messages and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of messages in the list| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Messages](../types/messages.Messages.md) + + +### Example: + +```php +$messages.messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.messagesSlice={_='messages.messagesSlice', count=int, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v33/constructors/messages.sentEncryptedFile.md b/old_docs/API_docs_v33/constructors/messages.sentEncryptedFile.md new file mode 100644 index 00000000..1f0e43c6 --- /dev/null +++ b/old_docs/API_docs_v33/constructors/messages.sentEncryptedFile.md @@ -0,0 +1,39 @@ +--- +title: messages.sentEncryptedFile +description: Message with a file enclosure sent to a protected chat +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.sentEncryptedFile +[Back to constructors index](index.md) + + + +Message with a file enclosure sent to a protected chat + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Sending date| +|file|[EncryptedFile](../types/EncryptedFile.md) | Optional|Attached file| + + + +### Type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) + + +### Example: + +```php +$messages.sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile]; +``` + + +Or, if you're into Lua: + +```lua +messages.sentEncryptedFile={_='messages.sentEncryptedFile', date=int, file=EncryptedFile} + +``` + + diff --git a/old_docs/API_docs_v33/constructors/messages.sentEncryptedMessage.md b/old_docs/API_docs_v33/constructors/messages.sentEncryptedMessage.md new file mode 100644 index 00000000..3d5eb40c --- /dev/null +++ b/old_docs/API_docs_v33/constructors/messages.sentEncryptedMessage.md @@ -0,0 +1,38 @@ +--- +title: messages.sentEncryptedMessage +description: Message without file attachemts sent to an encrypted file. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.sentEncryptedMessage +[Back to constructors index](index.md) + + + +Message without file attachemts sent to an encrypted file. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Date of sending| + + + +### Type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) + + +### Example: + +```php +$messages.sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.sentEncryptedMessage={_='messages.sentEncryptedMessage', date=int} + +``` + + diff --git a/old_docs/API_docs_v33/constructors/messages.sentMessage.md b/old_docs/API_docs_v33/constructors/messages.sentMessage.md new file mode 100644 index 00000000..92232bdb --- /dev/null +++ b/old_docs/API_docs_v33/constructors/messages.sentMessage.md @@ -0,0 +1,42 @@ +--- +title: messages.sentMessage +description: Sent message +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.sentMessage +[Back to constructors index](index.md) + + + +Sent message + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|id|[int](../types/int.md) | Yes|ID| +|date|[int](../types/int.md) | Yes|Date| +|media|[MessageMedia](../types/MessageMedia.md) | Optional|Media| +|pts|[int](../types/int.md) | Yes|Pts| +|pts\_count|[int](../types/int.md) | Yes|Pts count| + + + +### Type: [messages.SentMessage](../types/messages.SentMessage.md) + + +### Example: + +```php +$messages.sentMessage = ['_' => 'messages.sentMessage', 'id' => int, 'date' => int, 'media' => MessageMedia, 'pts' => int, 'pts_count' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.sentMessage={_='messages.sentMessage', id=int, date=int, media=MessageMedia, pts=int, pts_count=int} + +``` + + diff --git a/old_docs/API_docs_v33/constructors/messages.sentMessageLink.md b/old_docs/API_docs_v33/constructors/messages.sentMessageLink.md new file mode 100644 index 00000000..40100491 --- /dev/null +++ b/old_docs/API_docs_v33/constructors/messages.sentMessageLink.md @@ -0,0 +1,44 @@ +--- +title: messages.sentMessageLink +description: Sent message link +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.sentMessageLink +[Back to constructors index](index.md) + + + +Sent message link + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|id|[int](../types/int.md) | Yes|ID| +|date|[int](../types/int.md) | Yes|Date| +|media|[MessageMedia](../types/MessageMedia.md) | Optional|Media| +|pts|[int](../types/int.md) | Yes|Pts| +|pts\_count|[int](../types/int.md) | Yes|Pts count| +|links|Array of [contacts.Link](../constructors/contacts.Link.md) | Yes|Links| +|seq|[int](../types/int.md) | Yes|Seq| + + + +### Type: [messages.SentMessage](../types/messages.SentMessage.md) + + +### Example: + +```php +$messages.sentMessageLink = ['_' => 'messages.sentMessageLink', 'id' => int, 'date' => int, 'media' => MessageMedia, 'pts' => int, 'pts_count' => int, 'links' => [contacts.Link, contacts.Link], 'seq' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.sentMessageLink={_='messages.sentMessageLink', id=int, date=int, media=MessageMedia, pts=int, pts_count=int, links={contacts.Link}, seq=int} + +``` + + diff --git a/old_docs/API_docs_v33/constructors/messages.stickerSet.md b/old_docs/API_docs_v33/constructors/messages.stickerSet.md new file mode 100644 index 00000000..fbc154d0 --- /dev/null +++ b/old_docs/API_docs_v33/constructors/messages.stickerSet.md @@ -0,0 +1,40 @@ +--- +title: messages.stickerSet +description: Stickerset and stickers inside it +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickerSet +[Back to constructors index](index.md) + + + +Stickerset and stickers inside it + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|set|[StickerSet](../types/StickerSet.md) | Yes|The stickerset| +|packs|Array of [StickerPack](../types/StickerPack.md) | Yes|Packs| +|documents|Array of [Document](../types/Document.md) | Yes|Documents| + + + +### Type: [messages.StickerSet](../types/messages.StickerSet.md) + + +### Example: + +```php +$messages.stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'packs' => [StickerPack, StickerPack], 'documents' => [Document, Document]]; +``` + + +Or, if you're into Lua: + +```lua +messages.stickerSet={_='messages.stickerSet', set=StickerSet, packs={StickerPack}, documents={Document}} + +``` + + diff --git a/old_docs/API_docs_v33/constructors/messages.stickers.md b/old_docs/API_docs_v33/constructors/messages.stickers.md new file mode 100644 index 00000000..310b64b0 --- /dev/null +++ b/old_docs/API_docs_v33/constructors/messages.stickers.md @@ -0,0 +1,39 @@ +--- +title: messages.stickers +description: Found stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickers +[Back to constructors index](index.md) + + + +Found stickers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[string](../types/string.md) | Yes|Hash| +|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| + + + +### Type: [messages.Stickers](../types/messages.Stickers.md) + + +### Example: + +```php +$messages.stickers = ['_' => 'messages.stickers', 'hash' => 'string', 'stickers' => [Document, Document]]; +``` + + +Or, if you're into Lua: + +```lua +messages.stickers={_='messages.stickers', hash='string', stickers={Document}} + +``` + + diff --git a/old_docs/API_docs_v33/constructors/messages.stickersNotModified.md b/old_docs/API_docs_v33/constructors/messages.stickersNotModified.md new file mode 100644 index 00000000..e8c7766c --- /dev/null +++ b/old_docs/API_docs_v33/constructors/messages.stickersNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.stickersNotModified +description: No new stickers were found for the given query +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickersNotModified +[Back to constructors index](index.md) + + + +No new stickers were found for the given query + + + + +### Type: [messages.Stickers](../types/messages.Stickers.md) + + +### Example: + +```php +$messages.stickersNotModified = ['_' => 'messages.stickersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.stickersNotModified={_='messages.stickersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v33/constructors/messages_affectedHistory.md b/old_docs/API_docs_v33/constructors/messages_affectedHistory.md deleted file mode 100644 index 449a7e3f..00000000 --- a/old_docs/API_docs_v33/constructors/messages_affectedHistory.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.affectedHistory -description: Affected part of communication history with the user or in a chat. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.affectedHistory -[Back to constructors index](index.md) - - - -Affected part of communication history with the user or in a chat. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| -|pts\_count|[int](../types/int.md) | Yes|Number of affected events| -|offset|[int](../types/int.md) | Yes|If a parameter contains positive value, it is necessary to repeat the method call using the given value; during the proceeding of all the history the value itself shall gradually decrease| - - - -### Type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) - - -### Example: - -```php -$messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_affectedHistory={_='messages.affectedHistory', pts=int, pts_count=int, offset=int} - -``` - - diff --git a/old_docs/API_docs_v33/constructors/messages_affectedMessages.md b/old_docs/API_docs_v33/constructors/messages_affectedMessages.md deleted file mode 100644 index 86760581..00000000 --- a/old_docs/API_docs_v33/constructors/messages_affectedMessages.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.affectedMessages -description: Events affected by operation -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.affectedMessages -[Back to constructors index](index.md) - - - -Events affected by operation - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|[Event count after generation](https://core.telegram.org/api/updates)| -|pts\_count|[int](../types/int.md) | Yes|[Number of events that were generated](https://core.telegram.org/api/updates)| - - - -### Type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) - - -### Example: - -```php -$messages_affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_affectedMessages={_='messages.affectedMessages', pts=int, pts_count=int} - -``` - - diff --git a/old_docs/API_docs_v33/constructors/messages_allStickers.md b/old_docs/API_docs_v33/constructors/messages_allStickers.md deleted file mode 100644 index dfbaf47e..00000000 --- a/old_docs/API_docs_v33/constructors/messages_allStickers.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.allStickers -description: Info about all installed stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.allStickers -[Back to constructors index](index.md) - - - -Info about all installed stickers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[string](../types/string.md) | Yes|Hash| -|sets|Array of [StickerSet](../types/StickerSet.md) | Yes|Sets| - - - -### Type: [messages\_AllStickers](../types/messages_AllStickers.md) - - -### Example: - -```php -$messages_allStickers = ['_' => 'messages.allStickers', 'hash' => 'string', 'sets' => [StickerSet, StickerSet]]; -``` - - -Or, if you're into Lua: - -```lua -messages_allStickers={_='messages.allStickers', hash='string', sets={StickerSet}} - -``` - - diff --git a/old_docs/API_docs_v33/constructors/messages_allStickersNotModified.md b/old_docs/API_docs_v33/constructors/messages_allStickersNotModified.md deleted file mode 100644 index c4da85ab..00000000 --- a/old_docs/API_docs_v33/constructors/messages_allStickersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.allStickersNotModified -description: Info about all installed stickers hasn't changed -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.allStickersNotModified -[Back to constructors index](index.md) - - - -Info about all installed stickers hasn't changed - - - - -### Type: [messages\_AllStickers](../types/messages_AllStickers.md) - - -### Example: - -```php -$messages_allStickersNotModified = ['_' => 'messages.allStickersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_allStickersNotModified={_='messages.allStickersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v33/constructors/messages_chatFull.md b/old_docs/API_docs_v33/constructors/messages_chatFull.md deleted file mode 100644 index 02f1acdf..00000000 --- a/old_docs/API_docs_v33/constructors/messages_chatFull.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.chatFull -description: Extended info on chat and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.chatFull -[Back to constructors index](index.md) - - - -Extended info on chat and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|full\_chat|[ChatFull](../types/ChatFull.md) | Yes|Extended info on a chat| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_ChatFull](../types/messages_ChatFull.md) - - -### Example: - -```php -$messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_chatFull={_='messages.chatFull', full_chat=ChatFull, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v33/constructors/messages_chats.md b/old_docs/API_docs_v33/constructors/messages_chats.md deleted file mode 100644 index ef3690a9..00000000 --- a/old_docs/API_docs_v33/constructors/messages_chats.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.chats -description: List of chats with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.chats -[Back to constructors index](index.md) - - - -List of chats with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| - - - -### Type: [messages\_Chats](../types/messages_Chats.md) - - -### Example: - -```php -$messages_chats = ['_' => 'messages.chats', 'chats' => [Chat, Chat]]; -``` - - -Or, if you're into Lua: - -```lua -messages_chats={_='messages.chats', chats={Chat}} - -``` - - diff --git a/old_docs/API_docs_v33/constructors/messages_dhConfig.md b/old_docs/API_docs_v33/constructors/messages_dhConfig.md deleted file mode 100644 index 42c2feb1..00000000 --- a/old_docs/API_docs_v33/constructors/messages_dhConfig.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: messages.dhConfig -description: New set of configuring parameters. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dhConfig -[Back to constructors index](index.md) - - - -New set of configuring parameters. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|g|[int](../types/int.md) | Yes|New value **prime**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| -|p|[bytes](../types/bytes.md) | Yes|New value **primitive root**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| -|version|[int](../types/int.md) | Yes|Vestion of set of parameters| -|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| - - - -### Type: [messages\_DhConfig](../types/messages_DhConfig.md) - - -### Example: - -```php -$messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'version' => int, 'random' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -messages_dhConfig={_='messages.dhConfig', g=int, p='bytes', version=int, random='bytes'} - -``` - - diff --git a/old_docs/API_docs_v33/constructors/messages_dhConfigNotModified.md b/old_docs/API_docs_v33/constructors/messages_dhConfigNotModified.md deleted file mode 100644 index 5bf64230..00000000 --- a/old_docs/API_docs_v33/constructors/messages_dhConfigNotModified.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.dhConfigNotModified -description: Configuring parameters did not change. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dhConfigNotModified -[Back to constructors index](index.md) - - - -Configuring parameters did not change. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| - - - -### Type: [messages\_DhConfig](../types/messages_DhConfig.md) - - -### Example: - -```php -$messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -messages_dhConfigNotModified={_='messages.dhConfigNotModified', random='bytes'} - -``` - - diff --git a/old_docs/API_docs_v33/constructors/messages_dialogs.md b/old_docs/API_docs_v33/constructors/messages_dialogs.md deleted file mode 100644 index e6a431b4..00000000 --- a/old_docs/API_docs_v33/constructors/messages_dialogs.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: messages.dialogs -description: Full list of chats with messages and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dialogs -[Back to constructors index](index.md) - - - -Full list of chats with messages and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Dialogs](../types/messages_Dialogs.md) - - -### Example: - -```php -$messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_dialogs={_='messages.dialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v33/constructors/messages_dialogsSlice.md b/old_docs/API_docs_v33/constructors/messages_dialogsSlice.md deleted file mode 100644 index f183b9a8..00000000 --- a/old_docs/API_docs_v33/constructors/messages_dialogsSlice.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: messages.dialogsSlice -description: Incomplete list of dialogs with messages and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dialogsSlice -[Back to constructors index](index.md) - - - -Incomplete list of dialogs with messages and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of dialogs| -|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Dialogs](../types/messages_Dialogs.md) - - -### Example: - -```php -$messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_dialogsSlice={_='messages.dialogsSlice', count=int, dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v33/constructors/messages_messageEmpty.md b/old_docs/API_docs_v33/constructors/messages_messageEmpty.md deleted file mode 100644 index 89000c02..00000000 --- a/old_docs/API_docs_v33/constructors/messages_messageEmpty.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.messageEmpty -description: Empty message -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.messageEmpty -[Back to constructors index](index.md) - - - -Empty message - - - - -### Type: [messages\_Message](../types/messages_Message.md) - - -### Example: - -```php -$messages_messageEmpty = ['_' => 'messages.messageEmpty']; -``` - - -Or, if you're into Lua: - -```lua -messages_messageEmpty={_='messages.messageEmpty'} - -``` - - diff --git a/old_docs/API_docs_v33/constructors/messages_messages.md b/old_docs/API_docs_v33/constructors/messages_messages.md deleted file mode 100644 index 3e369e1a..00000000 --- a/old_docs/API_docs_v33/constructors/messages_messages.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.messages -description: Full list of messages with auxilary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.messages -[Back to constructors index](index.md) - - - -Full list of messages with auxilary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Messages](../types/messages_Messages.md) - - -### Example: - -```php -$messages_messages = ['_' => 'messages.messages', 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_messages={_='messages.messages', messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v33/constructors/messages_messagesSlice.md b/old_docs/API_docs_v33/constructors/messages_messagesSlice.md deleted file mode 100644 index f9b8dc18..00000000 --- a/old_docs/API_docs_v33/constructors/messages_messagesSlice.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: messages.messagesSlice -description: Incomplete list of messages and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.messagesSlice -[Back to constructors index](index.md) - - - -Incomplete list of messages and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of messages in the list| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Messages](../types/messages_Messages.md) - - -### Example: - -```php -$messages_messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_messagesSlice={_='messages.messagesSlice', count=int, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v33/constructors/messages_sentEncryptedFile.md b/old_docs/API_docs_v33/constructors/messages_sentEncryptedFile.md deleted file mode 100644 index fdc2a11e..00000000 --- a/old_docs/API_docs_v33/constructors/messages_sentEncryptedFile.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.sentEncryptedFile -description: Message with a file enclosure sent to a protected chat -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.sentEncryptedFile -[Back to constructors index](index.md) - - - -Message with a file enclosure sent to a protected chat - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Sending date| -|file|[EncryptedFile](../types/EncryptedFile.md) | Optional|Attached file| - - - -### Type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) - - -### Example: - -```php -$messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile]; -``` - - -Or, if you're into Lua: - -```lua -messages_sentEncryptedFile={_='messages.sentEncryptedFile', date=int, file=EncryptedFile} - -``` - - diff --git a/old_docs/API_docs_v33/constructors/messages_sentEncryptedMessage.md b/old_docs/API_docs_v33/constructors/messages_sentEncryptedMessage.md deleted file mode 100644 index 36b2bbff..00000000 --- a/old_docs/API_docs_v33/constructors/messages_sentEncryptedMessage.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.sentEncryptedMessage -description: Message without file attachemts sent to an encrypted file. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.sentEncryptedMessage -[Back to constructors index](index.md) - - - -Message without file attachemts sent to an encrypted file. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Date of sending| - - - -### Type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) - - -### Example: - -```php -$messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_sentEncryptedMessage={_='messages.sentEncryptedMessage', date=int} - -``` - - diff --git a/old_docs/API_docs_v33/constructors/messages_sentMessage.md b/old_docs/API_docs_v33/constructors/messages_sentMessage.md deleted file mode 100644 index 50865f27..00000000 --- a/old_docs/API_docs_v33/constructors/messages_sentMessage.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: messages.sentMessage -description: Sent message -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.sentMessage -[Back to constructors index](index.md) - - - -Sent message - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|id|[int](../types/int.md) | Yes|ID| -|date|[int](../types/int.md) | Yes|Date| -|media|[MessageMedia](../types/MessageMedia.md) | Optional|Media| -|pts|[int](../types/int.md) | Yes|Pts| -|pts\_count|[int](../types/int.md) | Yes|Pts count| - - - -### Type: [messages\_SentMessage](../types/messages_SentMessage.md) - - -### Example: - -```php -$messages_sentMessage = ['_' => 'messages.sentMessage', 'id' => int, 'date' => int, 'media' => MessageMedia, 'pts' => int, 'pts_count' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_sentMessage={_='messages.sentMessage', id=int, date=int, media=MessageMedia, pts=int, pts_count=int} - -``` - - diff --git a/old_docs/API_docs_v33/constructors/messages_sentMessageLink.md b/old_docs/API_docs_v33/constructors/messages_sentMessageLink.md deleted file mode 100644 index d92fd7a2..00000000 --- a/old_docs/API_docs_v33/constructors/messages_sentMessageLink.md +++ /dev/null @@ -1,44 +0,0 @@ ---- -title: messages.sentMessageLink -description: Sent message link -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.sentMessageLink -[Back to constructors index](index.md) - - - -Sent message link - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|id|[int](../types/int.md) | Yes|ID| -|date|[int](../types/int.md) | Yes|Date| -|media|[MessageMedia](../types/MessageMedia.md) | Optional|Media| -|pts|[int](../types/int.md) | Yes|Pts| -|pts\_count|[int](../types/int.md) | Yes|Pts count| -|links|Array of [contacts\_Link](../types/contacts_Link.md) | Yes|Links| -|seq|[int](../types/int.md) | Yes|Seq| - - - -### Type: [messages\_SentMessage](../types/messages_SentMessage.md) - - -### Example: - -```php -$messages_sentMessageLink = ['_' => 'messages.sentMessageLink', 'id' => int, 'date' => int, 'media' => MessageMedia, 'pts' => int, 'pts_count' => int, 'links' => [contacts_Link, contacts_Link], 'seq' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_sentMessageLink={_='messages.sentMessageLink', id=int, date=int, media=MessageMedia, pts=int, pts_count=int, links={contacts_Link}, seq=int} - -``` - - diff --git a/old_docs/API_docs_v33/constructors/messages_stickerSet.md b/old_docs/API_docs_v33/constructors/messages_stickerSet.md deleted file mode 100644 index 127191de..00000000 --- a/old_docs/API_docs_v33/constructors/messages_stickerSet.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.stickerSet -description: Stickerset and stickers inside it -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickerSet -[Back to constructors index](index.md) - - - -Stickerset and stickers inside it - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|set|[StickerSet](../types/StickerSet.md) | Yes|The stickerset| -|packs|Array of [StickerPack](../types/StickerPack.md) | Yes|Packs| -|documents|Array of [Document](../types/Document.md) | Yes|Documents| - - - -### Type: [messages\_StickerSet](../types/messages_StickerSet.md) - - -### Example: - -```php -$messages_stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'packs' => [StickerPack, StickerPack], 'documents' => [Document, Document]]; -``` - - -Or, if you're into Lua: - -```lua -messages_stickerSet={_='messages.stickerSet', set=StickerSet, packs={StickerPack}, documents={Document}} - -``` - - diff --git a/old_docs/API_docs_v33/constructors/messages_stickers.md b/old_docs/API_docs_v33/constructors/messages_stickers.md deleted file mode 100644 index 1c007df2..00000000 --- a/old_docs/API_docs_v33/constructors/messages_stickers.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.stickers -description: Found stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickers -[Back to constructors index](index.md) - - - -Found stickers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[string](../types/string.md) | Yes|Hash| -|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| - - - -### Type: [messages\_Stickers](../types/messages_Stickers.md) - - -### Example: - -```php -$messages_stickers = ['_' => 'messages.stickers', 'hash' => 'string', 'stickers' => [Document, Document]]; -``` - - -Or, if you're into Lua: - -```lua -messages_stickers={_='messages.stickers', hash='string', stickers={Document}} - -``` - - diff --git a/old_docs/API_docs_v33/constructors/messages_stickersNotModified.md b/old_docs/API_docs_v33/constructors/messages_stickersNotModified.md deleted file mode 100644 index 3d434a79..00000000 --- a/old_docs/API_docs_v33/constructors/messages_stickersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.stickersNotModified -description: No new stickers were found for the given query -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickersNotModified -[Back to constructors index](index.md) - - - -No new stickers were found for the given query - - - - -### Type: [messages\_Stickers](../types/messages_Stickers.md) - - -### Example: - -```php -$messages_stickersNotModified = ['_' => 'messages.stickersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_stickersNotModified={_='messages.stickersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v33/constructors/photos.photo.md b/old_docs/API_docs_v33/constructors/photos.photo.md new file mode 100644 index 00000000..43d3efc7 --- /dev/null +++ b/old_docs/API_docs_v33/constructors/photos.photo.md @@ -0,0 +1,39 @@ +--- +title: photos.photo +description: Photo with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: photos.photo +[Back to constructors index](index.md) + + + +Photo with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|photo|[Photo](../types/Photo.md) | Optional|Photo| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [photos.Photo](../types/photos.Photo.md) + + +### Example: + +```php +$photos.photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +photos.photo={_='photos.photo', photo=Photo, users={User}} + +``` + + diff --git a/old_docs/API_docs_v33/constructors/photos.photos.md b/old_docs/API_docs_v33/constructors/photos.photos.md new file mode 100644 index 00000000..901a9693 --- /dev/null +++ b/old_docs/API_docs_v33/constructors/photos.photos.md @@ -0,0 +1,39 @@ +--- +title: photos.photos +description: Full list of photos with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: photos.photos +[Back to constructors index](index.md) + + + +Full list of photos with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [photos.Photos](../types/photos.Photos.md) + + +### Example: + +```php +$photos.photos = ['_' => 'photos.photos', 'photos' => [Photo, Photo], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +photos.photos={_='photos.photos', photos={Photo}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v33/constructors/photos.photosSlice.md b/old_docs/API_docs_v33/constructors/photos.photosSlice.md new file mode 100644 index 00000000..2cca3546 --- /dev/null +++ b/old_docs/API_docs_v33/constructors/photos.photosSlice.md @@ -0,0 +1,40 @@ +--- +title: photos.photosSlice +description: Incomplete list of photos with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: photos.photosSlice +[Back to constructors index](index.md) + + + +Incomplete list of photos with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of photos| +|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [photos.Photos](../types/photos.Photos.md) + + +### Example: + +```php +$photos.photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo, Photo], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +photos.photosSlice={_='photos.photosSlice', count=int, photos={Photo}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v33/constructors/photos_photo.md b/old_docs/API_docs_v33/constructors/photos_photo.md deleted file mode 100644 index d5ad61d9..00000000 --- a/old_docs/API_docs_v33/constructors/photos_photo.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: photos.photo -description: Photo with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: photos.photo -[Back to constructors index](index.md) - - - -Photo with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|photo|[Photo](../types/Photo.md) | Optional|Photo| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [photos\_Photo](../types/photos_Photo.md) - - -### Example: - -```php -$photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -photos_photo={_='photos.photo', photo=Photo, users={User}} - -``` - - diff --git a/old_docs/API_docs_v33/constructors/photos_photos.md b/old_docs/API_docs_v33/constructors/photos_photos.md deleted file mode 100644 index 6ae5d048..00000000 --- a/old_docs/API_docs_v33/constructors/photos_photos.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: photos.photos -description: Full list of photos with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: photos.photos -[Back to constructors index](index.md) - - - -Full list of photos with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [photos\_Photos](../types/photos_Photos.md) - - -### Example: - -```php -$photos_photos = ['_' => 'photos.photos', 'photos' => [Photo, Photo], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -photos_photos={_='photos.photos', photos={Photo}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v33/constructors/photos_photosSlice.md b/old_docs/API_docs_v33/constructors/photos_photosSlice.md deleted file mode 100644 index 5c465c21..00000000 --- a/old_docs/API_docs_v33/constructors/photos_photosSlice.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: photos.photosSlice -description: Incomplete list of photos with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: photos.photosSlice -[Back to constructors index](index.md) - - - -Incomplete list of photos with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of photos| -|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [photos\_Photos](../types/photos_Photos.md) - - -### Example: - -```php -$photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo, Photo], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -photos_photosSlice={_='photos.photosSlice', count=int, photos={Photo}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v33/constructors/storage.fileGif.md b/old_docs/API_docs_v33/constructors/storage.fileGif.md new file mode 100644 index 00000000..8193bd25 --- /dev/null +++ b/old_docs/API_docs_v33/constructors/storage.fileGif.md @@ -0,0 +1,33 @@ +--- +title: storage.fileGif +description: GIF image. MIME type: `image/gif`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileGif +[Back to constructors index](index.md) + + + +GIF image. MIME type: `image/gif`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileGif = ['_' => 'storage.fileGif']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileGif={_='storage.fileGif'} + +``` + + diff --git a/old_docs/API_docs_v33/constructors/storage.fileJpeg.md b/old_docs/API_docs_v33/constructors/storage.fileJpeg.md new file mode 100644 index 00000000..7f125963 --- /dev/null +++ b/old_docs/API_docs_v33/constructors/storage.fileJpeg.md @@ -0,0 +1,33 @@ +--- +title: storage.fileJpeg +description: JPEG image. MIME type: `image/jpeg`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileJpeg +[Back to constructors index](index.md) + + + +JPEG image. MIME type: `image/jpeg`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileJpeg = ['_' => 'storage.fileJpeg']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileJpeg={_='storage.fileJpeg'} + +``` + + diff --git a/old_docs/API_docs_v33/constructors/storage.fileMov.md b/old_docs/API_docs_v33/constructors/storage.fileMov.md new file mode 100644 index 00000000..cb3742e0 --- /dev/null +++ b/old_docs/API_docs_v33/constructors/storage.fileMov.md @@ -0,0 +1,33 @@ +--- +title: storage.fileMov +description: Quicktime video. MIME type: `video/quicktime`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileMov +[Back to constructors index](index.md) + + + +Quicktime video. MIME type: `video/quicktime`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileMov = ['_' => 'storage.fileMov']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileMov={_='storage.fileMov'} + +``` + + diff --git a/old_docs/API_docs_v33/constructors/storage.fileMp3.md b/old_docs/API_docs_v33/constructors/storage.fileMp3.md new file mode 100644 index 00000000..617f2d39 --- /dev/null +++ b/old_docs/API_docs_v33/constructors/storage.fileMp3.md @@ -0,0 +1,33 @@ +--- +title: storage.fileMp3 +description: Mp3 audio. MIME type: `audio/mpeg`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileMp3 +[Back to constructors index](index.md) + + + +Mp3 audio. MIME type: `audio/mpeg`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileMp3 = ['_' => 'storage.fileMp3']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileMp3={_='storage.fileMp3'} + +``` + + diff --git a/old_docs/API_docs_v33/constructors/storage.fileMp4.md b/old_docs/API_docs_v33/constructors/storage.fileMp4.md new file mode 100644 index 00000000..37038176 --- /dev/null +++ b/old_docs/API_docs_v33/constructors/storage.fileMp4.md @@ -0,0 +1,33 @@ +--- +title: storage.fileMp4 +description: MPEG-4 video. MIME type: `video/mp4`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileMp4 +[Back to constructors index](index.md) + + + +MPEG-4 video. MIME type: `video/mp4`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileMp4 = ['_' => 'storage.fileMp4']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileMp4={_='storage.fileMp4'} + +``` + + diff --git a/old_docs/API_docs_v33/constructors/storage.filePartial.md b/old_docs/API_docs_v33/constructors/storage.filePartial.md new file mode 100644 index 00000000..98779e71 --- /dev/null +++ b/old_docs/API_docs_v33/constructors/storage.filePartial.md @@ -0,0 +1,33 @@ +--- +title: storage.filePartial +description: Part of a bigger file. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.filePartial +[Back to constructors index](index.md) + + + +Part of a bigger file. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.filePartial = ['_' => 'storage.filePartial']; +``` + + +Or, if you're into Lua: + +```lua +storage.filePartial={_='storage.filePartial'} + +``` + + diff --git a/old_docs/API_docs_v33/constructors/storage.filePdf.md b/old_docs/API_docs_v33/constructors/storage.filePdf.md new file mode 100644 index 00000000..136c0614 --- /dev/null +++ b/old_docs/API_docs_v33/constructors/storage.filePdf.md @@ -0,0 +1,33 @@ +--- +title: storage.filePdf +description: PDF document image. MIME type: `application/pdf`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.filePdf +[Back to constructors index](index.md) + + + +PDF document image. MIME type: `application/pdf`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.filePdf = ['_' => 'storage.filePdf']; +``` + + +Or, if you're into Lua: + +```lua +storage.filePdf={_='storage.filePdf'} + +``` + + diff --git a/old_docs/API_docs_v33/constructors/storage.filePng.md b/old_docs/API_docs_v33/constructors/storage.filePng.md new file mode 100644 index 00000000..db01ce0e --- /dev/null +++ b/old_docs/API_docs_v33/constructors/storage.filePng.md @@ -0,0 +1,33 @@ +--- +title: storage.filePng +description: PNG image. MIME type: `image/png`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.filePng +[Back to constructors index](index.md) + + + +PNG image. MIME type: `image/png`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.filePng = ['_' => 'storage.filePng']; +``` + + +Or, if you're into Lua: + +```lua +storage.filePng={_='storage.filePng'} + +``` + + diff --git a/old_docs/API_docs_v33/constructors/storage.fileUnknown.md b/old_docs/API_docs_v33/constructors/storage.fileUnknown.md new file mode 100644 index 00000000..26f0a5ae --- /dev/null +++ b/old_docs/API_docs_v33/constructors/storage.fileUnknown.md @@ -0,0 +1,33 @@ +--- +title: storage.fileUnknown +description: Unknown type. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileUnknown +[Back to constructors index](index.md) + + + +Unknown type. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileUnknown = ['_' => 'storage.fileUnknown']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileUnknown={_='storage.fileUnknown'} + +``` + + diff --git a/old_docs/API_docs_v33/constructors/storage.fileWebp.md b/old_docs/API_docs_v33/constructors/storage.fileWebp.md new file mode 100644 index 00000000..63c9ded1 --- /dev/null +++ b/old_docs/API_docs_v33/constructors/storage.fileWebp.md @@ -0,0 +1,33 @@ +--- +title: storage.fileWebp +description: WEBP image. MIME type: `image/webp`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileWebp +[Back to constructors index](index.md) + + + +WEBP image. MIME type: `image/webp`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileWebp = ['_' => 'storage.fileWebp']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileWebp={_='storage.fileWebp'} + +``` + + diff --git a/old_docs/API_docs_v33/constructors/storage_fileGif.md b/old_docs/API_docs_v33/constructors/storage_fileGif.md deleted file mode 100644 index 218c7491..00000000 --- a/old_docs/API_docs_v33/constructors/storage_fileGif.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileGif -description: GIF image. MIME type: `image/gif`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileGif -[Back to constructors index](index.md) - - - -GIF image. MIME type: `image/gif`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileGif = ['_' => 'storage.fileGif']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileGif={_='storage.fileGif'} - -``` - - diff --git a/old_docs/API_docs_v33/constructors/storage_fileJpeg.md b/old_docs/API_docs_v33/constructors/storage_fileJpeg.md deleted file mode 100644 index 925531cd..00000000 --- a/old_docs/API_docs_v33/constructors/storage_fileJpeg.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileJpeg -description: JPEG image. MIME type: `image/jpeg`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileJpeg -[Back to constructors index](index.md) - - - -JPEG image. MIME type: `image/jpeg`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileJpeg = ['_' => 'storage.fileJpeg']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileJpeg={_='storage.fileJpeg'} - -``` - - diff --git a/old_docs/API_docs_v33/constructors/storage_fileMov.md b/old_docs/API_docs_v33/constructors/storage_fileMov.md deleted file mode 100644 index eaf2a6ff..00000000 --- a/old_docs/API_docs_v33/constructors/storage_fileMov.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileMov -description: Quicktime video. MIME type: `video/quicktime`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileMov -[Back to constructors index](index.md) - - - -Quicktime video. MIME type: `video/quicktime`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileMov = ['_' => 'storage.fileMov']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileMov={_='storage.fileMov'} - -``` - - diff --git a/old_docs/API_docs_v33/constructors/storage_fileMp3.md b/old_docs/API_docs_v33/constructors/storage_fileMp3.md deleted file mode 100644 index 9afcefbb..00000000 --- a/old_docs/API_docs_v33/constructors/storage_fileMp3.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileMp3 -description: Mp3 audio. MIME type: `audio/mpeg`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileMp3 -[Back to constructors index](index.md) - - - -Mp3 audio. MIME type: `audio/mpeg`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileMp3 = ['_' => 'storage.fileMp3']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileMp3={_='storage.fileMp3'} - -``` - - diff --git a/old_docs/API_docs_v33/constructors/storage_fileMp4.md b/old_docs/API_docs_v33/constructors/storage_fileMp4.md deleted file mode 100644 index cdc0e783..00000000 --- a/old_docs/API_docs_v33/constructors/storage_fileMp4.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileMp4 -description: MPEG-4 video. MIME type: `video/mp4`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileMp4 -[Back to constructors index](index.md) - - - -MPEG-4 video. MIME type: `video/mp4`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileMp4 = ['_' => 'storage.fileMp4']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileMp4={_='storage.fileMp4'} - -``` - - diff --git a/old_docs/API_docs_v33/constructors/storage_filePartial.md b/old_docs/API_docs_v33/constructors/storage_filePartial.md deleted file mode 100644 index 9bfadf63..00000000 --- a/old_docs/API_docs_v33/constructors/storage_filePartial.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.filePartial -description: Part of a bigger file. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.filePartial -[Back to constructors index](index.md) - - - -Part of a bigger file. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_filePartial = ['_' => 'storage.filePartial']; -``` - - -Or, if you're into Lua: - -```lua -storage_filePartial={_='storage.filePartial'} - -``` - - diff --git a/old_docs/API_docs_v33/constructors/storage_filePdf.md b/old_docs/API_docs_v33/constructors/storage_filePdf.md deleted file mode 100644 index efb022cc..00000000 --- a/old_docs/API_docs_v33/constructors/storage_filePdf.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.filePdf -description: PDF document image. MIME type: `application/pdf`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.filePdf -[Back to constructors index](index.md) - - - -PDF document image. MIME type: `application/pdf`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_filePdf = ['_' => 'storage.filePdf']; -``` - - -Or, if you're into Lua: - -```lua -storage_filePdf={_='storage.filePdf'} - -``` - - diff --git a/old_docs/API_docs_v33/constructors/storage_filePng.md b/old_docs/API_docs_v33/constructors/storage_filePng.md deleted file mode 100644 index 412759e4..00000000 --- a/old_docs/API_docs_v33/constructors/storage_filePng.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.filePng -description: PNG image. MIME type: `image/png`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.filePng -[Back to constructors index](index.md) - - - -PNG image. MIME type: `image/png`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_filePng = ['_' => 'storage.filePng']; -``` - - -Or, if you're into Lua: - -```lua -storage_filePng={_='storage.filePng'} - -``` - - diff --git a/old_docs/API_docs_v33/constructors/storage_fileUnknown.md b/old_docs/API_docs_v33/constructors/storage_fileUnknown.md deleted file mode 100644 index ed33dd5e..00000000 --- a/old_docs/API_docs_v33/constructors/storage_fileUnknown.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileUnknown -description: Unknown type. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileUnknown -[Back to constructors index](index.md) - - - -Unknown type. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileUnknown = ['_' => 'storage.fileUnknown']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileUnknown={_='storage.fileUnknown'} - -``` - - diff --git a/old_docs/API_docs_v33/constructors/storage_fileWebp.md b/old_docs/API_docs_v33/constructors/storage_fileWebp.md deleted file mode 100644 index 04dcad74..00000000 --- a/old_docs/API_docs_v33/constructors/storage_fileWebp.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileWebp -description: WEBP image. MIME type: `image/webp`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileWebp -[Back to constructors index](index.md) - - - -WEBP image. MIME type: `image/webp`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileWebp = ['_' => 'storage.fileWebp']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileWebp={_='storage.fileWebp'} - -``` - - diff --git a/old_docs/API_docs_v33/constructors/updates.difference.md b/old_docs/API_docs_v33/constructors/updates.difference.md new file mode 100644 index 00000000..82541b51 --- /dev/null +++ b/old_docs/API_docs_v33/constructors/updates.difference.md @@ -0,0 +1,43 @@ +--- +title: updates.difference +description: Full list of occurred events. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.difference +[Back to constructors index](index.md) + + + +Full list of occurred events. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| +|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| +|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| +|state|[updates.State](../constructors/updates.State.md) | Yes|Current state| + + + +### Type: [updates.Difference](../types/updates.Difference.md) + + +### Example: + +```php +$updates.difference = ['_' => 'updates.difference', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates.State]; +``` + + +Or, if you're into Lua: + +```lua +updates.difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates.State} + +``` + + diff --git a/old_docs/API_docs_v33/constructors/updates.differenceEmpty.md b/old_docs/API_docs_v33/constructors/updates.differenceEmpty.md new file mode 100644 index 00000000..a9dc3bd0 --- /dev/null +++ b/old_docs/API_docs_v33/constructors/updates.differenceEmpty.md @@ -0,0 +1,39 @@ +--- +title: updates.differenceEmpty +description: No events. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.differenceEmpty +[Back to constructors index](index.md) + + + +No events. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Current date| +|seq|[int](../types/int.md) | Yes|Number of sent updates| + + + +### Type: [updates.Difference](../types/updates.Difference.md) + + +### Example: + +```php +$updates.differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int]; +``` + + +Or, if you're into Lua: + +```lua +updates.differenceEmpty={_='updates.differenceEmpty', date=int, seq=int} + +``` + + diff --git a/old_docs/API_docs_v33/constructors/updates.differenceSlice.md b/old_docs/API_docs_v33/constructors/updates.differenceSlice.md new file mode 100644 index 00000000..9daf7a75 --- /dev/null +++ b/old_docs/API_docs_v33/constructors/updates.differenceSlice.md @@ -0,0 +1,43 @@ +--- +title: updates.differenceSlice +description: Incomplete list of occurred events. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.differenceSlice +[Back to constructors index](index.md) + + + +Incomplete list of occurred events. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| +|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| +|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| +|intermediate\_state|[updates.State](../constructors/updates.State.md) | Yes|Intermediary state| + + + +### Type: [updates.Difference](../types/updates.Difference.md) + + +### Example: + +```php +$updates.differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'intermediate_state' => updates.State]; +``` + + +Or, if you're into Lua: + +```lua +updates.differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates.State} + +``` + + diff --git a/old_docs/API_docs_v33/constructors/updates.state.md b/old_docs/API_docs_v33/constructors/updates.state.md new file mode 100644 index 00000000..abe9ddbb --- /dev/null +++ b/old_docs/API_docs_v33/constructors/updates.state.md @@ -0,0 +1,42 @@ +--- +title: updates.state +description: Updates state. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.state +[Back to constructors index](index.md) + + + +Updates state. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| +|qts|[int](../types/int.md) | Yes|Position in a sequence of updates in secret chats. For further detailes refer to article [secret chats](https://core.telegram.org/api/end-to-end)
Parameter was added in [eigth layer](https://core.telegram.org/api/layers#layer-8).| +|date|[int](../types/int.md) | Yes|Date of condition| +|seq|[int](../types/int.md) | Yes|Number of sent updates| +|unread\_count|[int](../types/int.md) | Yes|Number of unread messages| + + + +### Type: [updates.State](../types/updates.State.md) + + +### Example: + +```php +$updates.state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int]; +``` + + +Or, if you're into Lua: + +```lua +updates.state={_='updates.state', pts=int, qts=int, date=int, seq=int, unread_count=int} + +``` + + diff --git a/old_docs/API_docs_v33/constructors/updates_difference.md b/old_docs/API_docs_v33/constructors/updates_difference.md deleted file mode 100644 index 71ac7d4c..00000000 --- a/old_docs/API_docs_v33/constructors/updates_difference.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: updates.difference -description: Full list of occurred events. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.difference -[Back to constructors index](index.md) - - - -Full list of occurred events. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| -|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| -|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| -|state|[updates\_State](../types/updates_State.md) | Yes|Current state| - - - -### Type: [updates\_Difference](../types/updates_Difference.md) - - -### Example: - -```php -$updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates_State]; -``` - - -Or, if you're into Lua: - -```lua -updates_difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates_State} - -``` - - diff --git a/old_docs/API_docs_v33/constructors/updates_differenceEmpty.md b/old_docs/API_docs_v33/constructors/updates_differenceEmpty.md deleted file mode 100644 index c3c95c5a..00000000 --- a/old_docs/API_docs_v33/constructors/updates_differenceEmpty.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: updates.differenceEmpty -description: No events. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.differenceEmpty -[Back to constructors index](index.md) - - - -No events. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Current date| -|seq|[int](../types/int.md) | Yes|Number of sent updates| - - - -### Type: [updates\_Difference](../types/updates_Difference.md) - - -### Example: - -```php -$updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int]; -``` - - -Or, if you're into Lua: - -```lua -updates_differenceEmpty={_='updates.differenceEmpty', date=int, seq=int} - -``` - - diff --git a/old_docs/API_docs_v33/constructors/updates_differenceSlice.md b/old_docs/API_docs_v33/constructors/updates_differenceSlice.md deleted file mode 100644 index 8b12a369..00000000 --- a/old_docs/API_docs_v33/constructors/updates_differenceSlice.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: updates.differenceSlice -description: Incomplete list of occurred events. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.differenceSlice -[Back to constructors index](index.md) - - - -Incomplete list of occurred events. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| -|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| -|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| -|intermediate\_state|[updates\_State](../types/updates_State.md) | Yes|Intermediary state| - - - -### Type: [updates\_Difference](../types/updates_Difference.md) - - -### Example: - -```php -$updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'intermediate_state' => updates_State]; -``` - - -Or, if you're into Lua: - -```lua -updates_differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates_State} - -``` - - diff --git a/old_docs/API_docs_v33/constructors/updates_state.md b/old_docs/API_docs_v33/constructors/updates_state.md deleted file mode 100644 index ef3698e2..00000000 --- a/old_docs/API_docs_v33/constructors/updates_state.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: updates.state -description: Updates state. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.state -[Back to constructors index](index.md) - - - -Updates state. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| -|qts|[int](../types/int.md) | Yes|Position in a sequence of updates in secret chats. For further detailes refer to article [secret chats](https://core.telegram.org/api/end-to-end)
Parameter was added in [eigth layer](https://core.telegram.org/api/layers#layer-8).| -|date|[int](../types/int.md) | Yes|Date of condition| -|seq|[int](../types/int.md) | Yes|Number of sent updates| -|unread\_count|[int](../types/int.md) | Yes|Number of unread messages| - - - -### Type: [updates\_State](../types/updates_State.md) - - -### Example: - -```php -$updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int]; -``` - - -Or, if you're into Lua: - -```lua -updates_state={_='updates.state', pts=int, qts=int, date=int, seq=int, unread_count=int} - -``` - - diff --git a/old_docs/API_docs_v33/constructors/upload.file.md b/old_docs/API_docs_v33/constructors/upload.file.md new file mode 100644 index 00000000..145a4c24 --- /dev/null +++ b/old_docs/API_docs_v33/constructors/upload.file.md @@ -0,0 +1,40 @@ +--- +title: upload.file +description: File content. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: upload.file +[Back to constructors index](index.md) + + + +File content. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|type|[storage.FileType](../constructors/storage.FileType.md) | Yes|File type| +|mtime|[int](../types/int.md) | Yes|Modification type| +|bytes|[bytes](../types/bytes.md) | Yes|Binary data, file content| + + + +### Type: [upload.File](../types/upload.File.md) + + +### Example: + +```php +$upload.file = ['_' => 'upload.file', 'type' => storage.FileType, 'mtime' => int, 'bytes' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +upload.file={_='upload.file', type=storage.FileType, mtime=int, bytes='bytes'} + +``` + + diff --git a/old_docs/API_docs_v33/constructors/upload_file.md b/old_docs/API_docs_v33/constructors/upload_file.md deleted file mode 100644 index 1e07d9fb..00000000 --- a/old_docs/API_docs_v33/constructors/upload_file.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: upload.file -description: File content. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: upload.file -[Back to constructors index](index.md) - - - -File content. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|type|[storage\_FileType](../types/storage_FileType.md) | Yes|File type| -|mtime|[int](../types/int.md) | Yes|Modification type| -|bytes|[bytes](../types/bytes.md) | Yes|Binary data, file content| - - - -### Type: [upload\_File](../types/upload_File.md) - - -### Example: - -```php -$upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int, 'bytes' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -upload_file={_='upload.file', type=storage_FileType, mtime=int, bytes='bytes'} - -``` - - diff --git a/old_docs/API_docs_v33/constructors/userFull.md b/old_docs/API_docs_v33/constructors/userFull.md index 67913fec..129a02d0 100644 --- a/old_docs/API_docs_v33/constructors/userFull.md +++ b/old_docs/API_docs_v33/constructors/userFull.md @@ -15,7 +15,7 @@ Extended user info | Name | Type | Required | Description | |----------|---------------|----------|-------------| |user|[User](../types/User.md) | Optional|Remaining user info| -|link|[contacts\_Link](../types/contacts_Link.md) | Yes|Link| +|link|[contacts.Link](../constructors/contacts.Link.md) | Yes|Link| |profile\_photo|[Photo](../types/Photo.md) | Optional|Profile photo| |notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Optional|Notification settings| |blocked|[Bool](../types/Bool.md) | Yes|Blocked?| @@ -29,14 +29,14 @@ Extended user info ### Example: ```php -$userFull = ['_' => 'userFull', 'user' => User, 'link' => contacts_Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'blocked' => Bool, 'bot_info' => BotInfo]; +$userFull = ['_' => 'userFull', 'user' => User, 'link' => contacts.Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'blocked' => Bool, 'bot_info' => BotInfo]; ``` Or, if you're into Lua: ```lua -userFull={_='userFull', user=User, link=contacts_Link, profile_photo=Photo, notify_settings=PeerNotifySettings, blocked=Bool, bot_info=BotInfo} +userFull={_='userFull', user=User, link=contacts.Link, profile_photo=Photo, notify_settings=PeerNotifySettings, blocked=Bool, bot_info=BotInfo} ``` diff --git a/old_docs/API_docs_v33/methods/account.getAuthorizations.md b/old_docs/API_docs_v33/methods/account.getAuthorizations.md index f69c130a..fad3a7ae 100644 --- a/old_docs/API_docs_v33/methods/account.getAuthorizations.md +++ b/old_docs/API_docs_v33/methods/account.getAuthorizations.md @@ -11,7 +11,7 @@ Get logged-in sessions -### Return type: [account\_Authorizations](../types/account_Authorizations.md) +### Return type: [account.Authorizations](../types/account.Authorizations.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_Authorizations = $MadelineProto->account->getAuthorizations(); +$account.Authorizations = $MadelineProto->account->getAuthorizations(); ``` Or, if you're into Lua: ```lua -account_Authorizations = account.getAuthorizations({}) +account.Authorizations = account.getAuthorizations({}) ``` diff --git a/old_docs/API_docs_v33/methods/account.getPassword.md b/old_docs/API_docs_v33/methods/account.getPassword.md index eed4aee3..621271b6 100644 --- a/old_docs/API_docs_v33/methods/account.getPassword.md +++ b/old_docs/API_docs_v33/methods/account.getPassword.md @@ -11,7 +11,7 @@ Obtain configuration for two-factor authorization with password -### Return type: [account\_Password](../types/account_Password.md) +### Return type: [account.Password](../types/account.Password.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_Password = $MadelineProto->account->getPassword(); +$account.Password = $MadelineProto->account->getPassword(); ``` Or, if you're into Lua: ```lua -account_Password = account.getPassword({}) +account.Password = account.getPassword({}) ``` diff --git a/old_docs/API_docs_v33/methods/account.getPasswordSettings.md b/old_docs/API_docs_v33/methods/account.getPasswordSettings.md index dcdae61a..3d3cce08 100644 --- a/old_docs/API_docs_v33/methods/account.getPasswordSettings.md +++ b/old_docs/API_docs_v33/methods/account.getPasswordSettings.md @@ -16,7 +16,7 @@ You cannot use this method directly; use $MadelineProto->update_2fa($params), in |current\_password\_hash|[bytes](../types/bytes.md) | You cannot use this method directly; use $MadelineProto->update_2fa($params), instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [account\_PasswordSettings](../types/account_PasswordSettings.md) +### Return type: [account.PasswordSettings](../types/account.PasswordSettings.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_PasswordSettings = $MadelineProto->account->getPasswordSettings(['current_password_hash' => 'bytes', ]); +$account.PasswordSettings = $MadelineProto->account->getPasswordSettings(['current_password_hash' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -account_PasswordSettings = account.getPasswordSettings({current_password_hash='bytes', }) +account.PasswordSettings = account.getPasswordSettings({current_password_hash='bytes', }) ``` ### Errors diff --git a/old_docs/API_docs_v33/methods/account.getPrivacy.md b/old_docs/API_docs_v33/methods/account.getPrivacy.md index 6a240129..e20c292c 100644 --- a/old_docs/API_docs_v33/methods/account.getPrivacy.md +++ b/old_docs/API_docs_v33/methods/account.getPrivacy.md @@ -16,7 +16,7 @@ Get privacy settings of current account |key|[InputPrivacyKey](../types/InputPrivacyKey.md) | Peer category whose privacy settings should be fetched | Yes| -### Return type: [account\_PrivacyRules](../types/account_PrivacyRules.md) +### Return type: [account.PrivacyRules](../types/account.PrivacyRules.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_PrivacyRules = $MadelineProto->account->getPrivacy(['key' => InputPrivacyKey, ]); +$account.PrivacyRules = $MadelineProto->account->getPrivacy(['key' => InputPrivacyKey, ]); ``` Or, if you're into Lua: ```lua -account_PrivacyRules = account.getPrivacy({key=InputPrivacyKey, }) +account.PrivacyRules = account.getPrivacy({key=InputPrivacyKey, }) ``` ### Errors diff --git a/old_docs/API_docs_v33/methods/account.sendChangePhoneCode.md b/old_docs/API_docs_v33/methods/account.sendChangePhoneCode.md index 169fa15b..e70372de 100644 --- a/old_docs/API_docs_v33/methods/account.sendChangePhoneCode.md +++ b/old_docs/API_docs_v33/methods/account.sendChangePhoneCode.md @@ -16,7 +16,7 @@ Verify a new phone number to associate to the current account |phone\_number|[string](../types/string.md) | New phone number | Yes| -### Return type: [account\_SentChangePhoneCode](../types/account_SentChangePhoneCode.md) +### Return type: [account.SentChangePhoneCode](../types/account.SentChangePhoneCode.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_SentChangePhoneCode = $MadelineProto->account->sendChangePhoneCode(['phone_number' => 'string', ]); +$account.SentChangePhoneCode = $MadelineProto->account->sendChangePhoneCode(['phone_number' => 'string', ]); ``` Or, if you're into Lua: ```lua -account_SentChangePhoneCode = account.sendChangePhoneCode({phone_number='string', }) +account.SentChangePhoneCode = account.sendChangePhoneCode({phone_number='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v33/methods/account.setPrivacy.md b/old_docs/API_docs_v33/methods/account.setPrivacy.md index 7c4cfba7..096d373e 100644 --- a/old_docs/API_docs_v33/methods/account.setPrivacy.md +++ b/old_docs/API_docs_v33/methods/account.setPrivacy.md @@ -17,7 +17,7 @@ Change privacy settings of current account |rules|Array of [InputPrivacyRule](../types/InputPrivacyRule.md) | Privacy settings | Yes| -### Return type: [account\_PrivacyRules](../types/account_PrivacyRules.md) +### Return type: [account.PrivacyRules](../types/account.PrivacyRules.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_PrivacyRules = $MadelineProto->account->setPrivacy(['key' => InputPrivacyKey, 'rules' => [InputPrivacyRule, InputPrivacyRule], ]); +$account.PrivacyRules = $MadelineProto->account->setPrivacy(['key' => InputPrivacyKey, 'rules' => [InputPrivacyRule, InputPrivacyRule], ]); ``` Or, if you're into Lua: ```lua -account_PrivacyRules = account.setPrivacy({key=InputPrivacyKey, rules={InputPrivacyRule}, }) +account.PrivacyRules = account.setPrivacy({key=InputPrivacyKey, rules={InputPrivacyRule}, }) ``` ### Errors diff --git a/old_docs/API_docs_v33/methods/api_README.md b/old_docs/API_docs_v33/methods/api_README.md index 6b66c837..d21f57e9 100644 --- a/old_docs/API_docs_v33/methods/api_README.md +++ b/old_docs/API_docs_v33/methods/api_README.md @@ -52,7 +52,7 @@ $MadelineProto->[account->getAccountTTL](account.getAccountTTL.md)(\[\]) === [$A ***

-$MadelineProto->[account->getAuthorizations](account.getAuthorizations.md)(\[\]) === [$account\_Authorizations](../types/account_Authorizations.md) +$MadelineProto->[account->getAuthorizations](account.getAuthorizations.md)(\[\]) === [$account.Authorizations](../types/account.Authorizations.md) ***

@@ -60,15 +60,15 @@ $MadelineProto->[account->getNotifySettings](account.getNotifySettings.md)(\['pe ***

-$MadelineProto->[account->getPassword](account.getPassword.md)(\[\]) === [$account\_Password](../types/account_Password.md) +$MadelineProto->[account->getPassword](account.getPassword.md)(\[\]) === [$account.Password](../types/account.Password.md) ***

-$MadelineProto->[account->getPasswordSettings](account.getPasswordSettings.md)(\['current_password_hash' => [bytes](../types/bytes.md), \]) === [$account\_PasswordSettings](../types/account_PasswordSettings.md) +$MadelineProto->[account->getPasswordSettings](account.getPasswordSettings.md)(\['current_password_hash' => [bytes](../types/bytes.md), \]) === [$account.PasswordSettings](../types/account.PasswordSettings.md) ***

-$MadelineProto->[account->getPrivacy](account.getPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), \]) === [$account\_PrivacyRules](../types/account_PrivacyRules.md) +$MadelineProto->[account->getPrivacy](account.getPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), \]) === [$account.PrivacyRules](../types/account.PrivacyRules.md) ***

@@ -88,7 +88,7 @@ $MadelineProto->[account->resetNotifySettings](account.resetNotifySettings.md)(\ ***

-$MadelineProto->[account->sendChangePhoneCode](account.sendChangePhoneCode.md)(\['phone_number' => [string](../types/string.md), \]) === [$account\_SentChangePhoneCode](../types/account_SentChangePhoneCode.md) +$MadelineProto->[account->sendChangePhoneCode](account.sendChangePhoneCode.md)(\['phone_number' => [string](../types/string.md), \]) === [$account.SentChangePhoneCode](../types/account.SentChangePhoneCode.md) ***

@@ -96,7 +96,7 @@ $MadelineProto->[account->setAccountTTL](account.setAccountTTL.md)(\['ttl' => [A ***

-$MadelineProto->[account->setPrivacy](account.setPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), 'rules' => \[[InputPrivacyRule](../types/InputPrivacyRule.md)\], \]) === [$account\_PrivacyRules](../types/account_PrivacyRules.md) +$MadelineProto->[account->setPrivacy](account.setPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), 'rules' => \[[InputPrivacyRule](../types/InputPrivacyRule.md)\], \]) === [$account.PrivacyRules](../types/account.PrivacyRules.md) ***

@@ -132,23 +132,23 @@ $MadelineProto->[auth->bindTempAuthKey](auth.bindTempAuthKey.md)(\['perm_auth_ke ***

-$MadelineProto->[auth->checkPassword](auth.checkPassword.md)(\['password_hash' => [bytes](../types/bytes.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->checkPassword](auth.checkPassword.md)(\['password_hash' => [bytes](../types/bytes.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

-$MadelineProto->[auth->checkPhone](auth.checkPhone.md)(\['phone_number' => [string](../types/string.md), \]) === [$auth\_CheckedPhone](../types/auth_CheckedPhone.md) +$MadelineProto->[auth->checkPhone](auth.checkPhone.md)(\['phone_number' => [string](../types/string.md), \]) === [$auth.CheckedPhone](../types/auth.CheckedPhone.md) ***

-$MadelineProto->[auth->exportAuthorization](auth.exportAuthorization.md)(\['dc_id' => [int](../types/int.md), \]) === [$auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) +$MadelineProto->[auth->exportAuthorization](auth.exportAuthorization.md)(\['dc_id' => [int](../types/int.md), \]) === [$auth.ExportedAuthorization](../types/auth.ExportedAuthorization.md) ***

-$MadelineProto->[auth->importAuthorization](auth.importAuthorization.md)(\['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->importAuthorization](auth.importAuthorization.md)(\['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

-$MadelineProto->[auth->importBotAuthorization](auth.importBotAuthorization.md)(\['api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), 'bot_auth_token' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->importBotAuthorization](auth.importBotAuthorization.md)(\['api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), 'bot_auth_token' => [string](../types/string.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

@@ -156,11 +156,11 @@ $MadelineProto->[auth->logOut](auth.logOut.md)(\[\]) === [$Bool](../types/Bool.m ***

-$MadelineProto->[auth->recoverPassword](auth.recoverPassword.md)(\['code' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->recoverPassword](auth.recoverPassword.md)(\['code' => [string](../types/string.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

-$MadelineProto->[auth->requestPasswordRecovery](auth.requestPasswordRecovery.md)(\[\]) === [$auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) +$MadelineProto->[auth->requestPasswordRecovery](auth.requestPasswordRecovery.md)(\[\]) === [$auth.PasswordRecovery](../types/auth.PasswordRecovery.md) ***

@@ -172,7 +172,7 @@ $MadelineProto->[auth->sendCall](auth.sendCall.md)(\['phone_number' => [string]( ***

-$MadelineProto->[auth->sendCode](auth.sendCode.md)(\['phone_number' => [string](../types/string.md), 'sms_type' => [int](../types/int.md), 'api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) === [$auth\_SentCode](../types/auth_SentCode.md) +$MadelineProto->[auth->sendCode](auth.sendCode.md)(\['phone_number' => [string](../types/string.md), 'sms_type' => [int](../types/int.md), 'api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) === [$auth.SentCode](../types/auth.SentCode.md) ***

@@ -184,11 +184,11 @@ $MadelineProto->[auth->sendSms](auth.sendSms.md)(\['phone_number' => [string](.. ***

-$MadelineProto->[auth->signIn](auth.signIn.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->signIn](auth.signIn.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

-$MadelineProto->[auth->signUp](auth.signUp.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->signUp](auth.signUp.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

@@ -196,7 +196,7 @@ $MadelineProto->[contacts->block](contacts.block.md)(\['id' => [InputUser](../ty ***

-$MadelineProto->[contacts->deleteContact](contacts.deleteContact.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$contacts\_Link](../types/contacts_Link.md) +$MadelineProto->[contacts->deleteContact](contacts.deleteContact.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$contacts.Link](../types/contacts.Link.md) ***

@@ -208,11 +208,11 @@ $MadelineProto->[contacts->exportCard](contacts.exportCard.md)(\[\]) === [$Vecto ***

-$MadelineProto->[contacts->getBlocked](contacts.getBlocked.md)(\['offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$contacts\_Blocked](../types/contacts_Blocked.md) +$MadelineProto->[contacts->getBlocked](contacts.getBlocked.md)(\['offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$contacts.Blocked](../types/contacts.Blocked.md) ***

-$MadelineProto->[contacts->getContacts](contacts.getContacts.md)(\['hash' => [string](../types/string.md), \]) === [$contacts\_Contacts](../types/contacts_Contacts.md) +$MadelineProto->[contacts->getContacts](contacts.getContacts.md)(\['hash' => [string](../types/string.md), \]) === [$contacts.Contacts](../types/contacts.Contacts.md) ***

@@ -220,7 +220,7 @@ $MadelineProto->[contacts->getStatuses](contacts.getStatuses.md)(\[\]) === [$Vec ***

-$MadelineProto->[contacts->getSuggested](contacts.getSuggested.md)(\['limit' => [int](../types/int.md), \]) === [$contacts\_Suggested](../types/contacts_Suggested.md) +$MadelineProto->[contacts->getSuggested](contacts.getSuggested.md)(\['limit' => [int](../types/int.md), \]) === [$contacts.Suggested](../types/contacts.Suggested.md) ***

@@ -228,7 +228,7 @@ $MadelineProto->[contacts->importCard](contacts.importCard.md)(\['export_card' = ***

-$MadelineProto->[contacts->importContacts](contacts.importContacts.md)(\['contacts' => \[[InputContact](../types/InputContact.md)\], 'replace' => [Bool](../types/Bool.md), \]) === [$contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) +$MadelineProto->[contacts->importContacts](contacts.importContacts.md)(\['contacts' => \[[InputContact](../types/InputContact.md)\], 'replace' => [Bool](../types/Bool.md), \]) === [$contacts.ImportedContacts](../types/contacts.ImportedContacts.md) ***

@@ -236,7 +236,7 @@ $MadelineProto->[contacts->resolveUsername](contacts.resolveUsername.md)(\['user ***

-$MadelineProto->[contacts->search](contacts.search.md)(\['q' => [string](../types/string.md), 'limit' => [int](../types/int.md), \]) === [$contacts\_Found](../types/contacts_Found.md) +$MadelineProto->[contacts->search](contacts.search.md)(\['q' => [string](../types/string.md), 'limit' => [int](../types/int.md), \]) === [$contacts.Found](../types/contacts.Found.md) ***

@@ -244,47 +244,47 @@ $MadelineProto->[contacts->unblock](contacts.unblock.md)(\['id' => [InputUser](. ***

-$MadelineProto->[geochats->checkin](geochats.checkin.md)(\['peer' => [InputGeoChat](../types/InputGeoChat.md), \]) === [$geochats\_StatedMessage](../types/geochats_StatedMessage.md) +$MadelineProto->[geochats->checkin](geochats.checkin.md)(\['peer' => [InputGeoChat](../types/InputGeoChat.md), \]) === [$geochats.StatedMessage](../types/geochats.StatedMessage.md) ***

-$MadelineProto->[geochats->createGeoChat](geochats.createGeoChat.md)(\['title' => [string](../types/string.md), 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'address' => [string](../types/string.md), 'venue' => [string](../types/string.md), \]) === [$geochats\_StatedMessage](../types/geochats_StatedMessage.md) +$MadelineProto->[geochats->createGeoChat](geochats.createGeoChat.md)(\['title' => [string](../types/string.md), 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'address' => [string](../types/string.md), 'venue' => [string](../types/string.md), \]) === [$geochats.StatedMessage](../types/geochats.StatedMessage.md) ***

-$MadelineProto->[geochats->editChatPhoto](geochats.editChatPhoto.md)(\['peer' => [InputGeoChat](../types/InputGeoChat.md), 'photo' => [InputChatPhoto](../types/InputChatPhoto.md), \]) === [$geochats\_StatedMessage](../types/geochats_StatedMessage.md) +$MadelineProto->[geochats->editChatPhoto](geochats.editChatPhoto.md)(\['peer' => [InputGeoChat](../types/InputGeoChat.md), 'photo' => [InputChatPhoto](../types/InputChatPhoto.md), \]) === [$geochats.StatedMessage](../types/geochats.StatedMessage.md) ***

-$MadelineProto->[geochats->editChatTitle](geochats.editChatTitle.md)(\['peer' => [InputGeoChat](../types/InputGeoChat.md), 'title' => [string](../types/string.md), 'address' => [string](../types/string.md), \]) === [$geochats\_StatedMessage](../types/geochats_StatedMessage.md) +$MadelineProto->[geochats->editChatTitle](geochats.editChatTitle.md)(\['peer' => [InputGeoChat](../types/InputGeoChat.md), 'title' => [string](../types/string.md), 'address' => [string](../types/string.md), \]) === [$geochats.StatedMessage](../types/geochats.StatedMessage.md) ***

-$MadelineProto->[geochats->getFullChat](geochats.getFullChat.md)(\['peer' => [InputGeoChat](../types/InputGeoChat.md), \]) === [$messages\_ChatFull](../types/messages_ChatFull.md) +$MadelineProto->[geochats->getFullChat](geochats.getFullChat.md)(\['peer' => [InputGeoChat](../types/InputGeoChat.md), \]) === [$messages.ChatFull](../types/messages.ChatFull.md) ***

-$MadelineProto->[geochats->getHistory](geochats.getHistory.md)(\['peer' => [InputGeoChat](../types/InputGeoChat.md), 'offset' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$geochats\_Messages](../types/geochats_Messages.md) +$MadelineProto->[geochats->getHistory](geochats.getHistory.md)(\['peer' => [InputGeoChat](../types/InputGeoChat.md), 'offset' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$geochats.Messages](../types/geochats.Messages.md) ***

-$MadelineProto->[geochats->getLocated](geochats.getLocated.md)(\['geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'radius' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$geochats\_Located](../types/geochats_Located.md) +$MadelineProto->[geochats->getLocated](geochats.getLocated.md)(\['geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'radius' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$geochats.Located](../types/geochats.Located.md) ***

-$MadelineProto->[geochats->getRecents](geochats.getRecents.md)(\['offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$geochats\_Messages](../types/geochats_Messages.md) +$MadelineProto->[geochats->getRecents](geochats.getRecents.md)(\['offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$geochats.Messages](../types/geochats.Messages.md) ***

-$MadelineProto->[geochats->search](geochats.search.md)(\['peer' => [InputGeoChat](../types/InputGeoChat.md), 'q' => [string](../types/string.md), 'filter' => [MessagesFilter](../types/MessagesFilter.md), 'min_date' => [int](../types/int.md), 'max_date' => [int](../types/int.md), 'offset' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$geochats\_Messages](../types/geochats_Messages.md) +$MadelineProto->[geochats->search](geochats.search.md)(\['peer' => [InputGeoChat](../types/InputGeoChat.md), 'q' => [string](../types/string.md), 'filter' => [MessagesFilter](../types/MessagesFilter.md), 'min_date' => [int](../types/int.md), 'max_date' => [int](../types/int.md), 'offset' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$geochats.Messages](../types/geochats.Messages.md) ***

-$MadelineProto->[geochats->sendMedia](geochats.sendMedia.md)(\['peer' => [InputGeoChat](../types/InputGeoChat.md), 'media' => [InputMedia](../types/InputMedia.md), \]) === [$geochats\_StatedMessage](../types/geochats_StatedMessage.md) +$MadelineProto->[geochats->sendMedia](geochats.sendMedia.md)(\['peer' => [InputGeoChat](../types/InputGeoChat.md), 'media' => [InputMedia](../types/InputMedia.md), \]) === [$geochats.StatedMessage](../types/geochats.StatedMessage.md) ***

-$MadelineProto->[geochats->sendMessage](geochats.sendMessage.md)(\['peer' => [InputGeoChat](../types/InputGeoChat.md), 'message' => [string](../types/string.md), \]) === [$geochats\_StatedMessage](../types/geochats_StatedMessage.md) +$MadelineProto->[geochats->sendMessage](geochats.sendMessage.md)(\['peer' => [InputGeoChat](../types/InputGeoChat.md), 'message' => [string](../types/string.md), \]) === [$geochats.StatedMessage](../types/geochats.StatedMessage.md) ***

@@ -292,11 +292,11 @@ $MadelineProto->[geochats->setTyping](geochats.setTyping.md)(\['peer' => [InputG ***

-$MadelineProto->[help->getAppChangelog](help.getAppChangelog.md)(\['device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) === [$help\_AppChangelog](../types/help_AppChangelog.md) +$MadelineProto->[help->getAppChangelog](help.getAppChangelog.md)(\['device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) === [$help.AppChangelog](../types/help.AppChangelog.md) ***

-$MadelineProto->[help->getAppUpdate](help.getAppUpdate.md)(\['device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) === [$help\_AppUpdate](../types/help_AppUpdate.md) +$MadelineProto->[help->getAppUpdate](help.getAppUpdate.md)(\['device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) === [$help.AppUpdate](../types/help.AppUpdate.md) ***

@@ -304,7 +304,7 @@ $MadelineProto->[help->getConfig](help.getConfig.md)(\[\]) === [$Config](../type ***

-$MadelineProto->[help->getInviteText](help.getInviteText.md)(\['lang_code' => [string](../types/string.md), \]) === [$help\_InviteText](../types/help_InviteText.md) +$MadelineProto->[help->getInviteText](help.getInviteText.md)(\['lang_code' => [string](../types/string.md), \]) === [$help.InviteText](../types/help.InviteText.md) ***

@@ -312,7 +312,7 @@ $MadelineProto->[help->getNearestDc](help.getNearestDc.md)(\[\]) === [$NearestDc ***

-$MadelineProto->[help->getSupport](help.getSupport.md)(\[\]) === [$help\_Support](../types/help_Support.md) +$MadelineProto->[help->getSupport](help.getSupport.md)(\[\]) === [$help.Support](../types/help.Support.md) ***

@@ -360,11 +360,11 @@ $MadelineProto->[messages->deleteChatUser](messages.deleteChatUser.md)(\['chat_i ***

-$MadelineProto->[messages->deleteHistory](messages.deleteHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset' => [int](../types/int.md), \]) === [$messages\_AffectedHistory](../types/messages_AffectedHistory.md) +$MadelineProto->[messages->deleteHistory](messages.deleteHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset' => [int](../types/int.md), \]) === [$messages.AffectedHistory](../types/messages.AffectedHistory.md) ***

-$MadelineProto->[messages->deleteMessages](messages.deleteMessages.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) +$MadelineProto->[messages->deleteMessages](messages.deleteMessages.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages.AffectedMessages](../types/messages.AffectedMessages.md) ***

@@ -392,39 +392,39 @@ $MadelineProto->[messages->forwardMessages](messages.forwardMessages.md)(\['peer ***

-$MadelineProto->[messages->getAllStickers](messages.getAllStickers.md)(\['hash' => [string](../types/string.md), \]) === [$messages\_AllStickers](../types/messages_AllStickers.md) +$MadelineProto->[messages->getAllStickers](messages.getAllStickers.md)(\['hash' => [string](../types/string.md), \]) === [$messages.AllStickers](../types/messages.AllStickers.md) ***

-$MadelineProto->[messages->getChats](messages.getChats.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[messages->getChats](messages.getChats.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages.Chats](../types/messages.Chats.md) ***

-$MadelineProto->[messages->getDhConfig](messages.getDhConfig.md)(\['version' => [int](../types/int.md), 'random_length' => [int](../types/int.md), \]) === [$messages\_DhConfig](../types/messages_DhConfig.md) +$MadelineProto->[messages->getDhConfig](messages.getDhConfig.md)(\['version' => [int](../types/int.md), 'random_length' => [int](../types/int.md), \]) === [$messages.DhConfig](../types/messages.DhConfig.md) ***

-$MadelineProto->[messages->getDialogs](messages.getDialogs.md)(\['offset' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages\_Dialogs](../types/messages_Dialogs.md) +$MadelineProto->[messages->getDialogs](messages.getDialogs.md)(\['offset' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages.Dialogs](../types/messages.Dialogs.md) ***

-$MadelineProto->[messages->getFullChat](messages.getFullChat.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), \]) === [$messages\_ChatFull](../types/messages_ChatFull.md) +$MadelineProto->[messages->getFullChat](messages.getFullChat.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), \]) === [$messages.ChatFull](../types/messages.ChatFull.md) ***

-$MadelineProto->[messages->getHistory](messages.getHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->getHistory](messages.getHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[messages->getMessages](messages.getMessages.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->getMessages](messages.getMessages.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[messages->getStickerSet](messages.getStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), \]) === [$messages\_StickerSet](../types/messages_StickerSet.md) +$MadelineProto->[messages->getStickerSet](messages.getStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), \]) === [$messages.StickerSet](../types/messages.StickerSet.md) ***

-$MadelineProto->[messages->getStickers](messages.getStickers.md)(\['emoticon' => [string](../types/string.md), 'hash' => [string](../types/string.md), \]) === [$messages\_Stickers](../types/messages_Stickers.md) +$MadelineProto->[messages->getStickers](messages.getStickers.md)(\['emoticon' => [string](../types/string.md), 'hash' => [string](../types/string.md), \]) === [$messages.Stickers](../types/messages.Stickers.md) ***

@@ -444,11 +444,11 @@ $MadelineProto->[messages->readEncryptedHistory](messages.readEncryptedHistory.m ***

-$MadelineProto->[messages->readHistory](messages.readHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), 'offset' => [int](../types/int.md), \]) === [$messages\_AffectedHistory](../types/messages_AffectedHistory.md) +$MadelineProto->[messages->readHistory](messages.readHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), 'offset' => [int](../types/int.md), \]) === [$messages.AffectedHistory](../types/messages.AffectedHistory.md) ***

-$MadelineProto->[messages->readMessageContents](messages.readMessageContents.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) +$MadelineProto->[messages->readMessageContents](messages.readMessageContents.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages.AffectedMessages](../types/messages.AffectedMessages.md) ***

@@ -464,7 +464,7 @@ $MadelineProto->[messages->requestEncryption](messages.requestEncryption.md)(\[' ***

-$MadelineProto->[messages->search](messages.search.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'q' => [string](../types/string.md), 'filter' => [MessagesFilter](../types/MessagesFilter.md), 'min_date' => [int](../types/int.md), 'max_date' => [int](../types/int.md), 'offset' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->search](messages.search.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'q' => [string](../types/string.md), 'filter' => [MessagesFilter](../types/MessagesFilter.md), 'min_date' => [int](../types/int.md), 'max_date' => [int](../types/int.md), 'offset' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

@@ -472,15 +472,15 @@ $MadelineProto->[messages->sendBroadcast](messages.sendBroadcast.md)(\['contacts ***

-$MadelineProto->[messages->sendEncrypted](messages.sendEncrypted.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'message' => [DecryptedMessage](../types/DecryptedMessage.md), \]) === [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +$MadelineProto->[messages->sendEncrypted](messages.sendEncrypted.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), \]) === [$messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ***

-$MadelineProto->[messages->sendEncryptedFile](messages.sendEncryptedFile.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'message' => [DecryptedMessage](../types/DecryptedMessage.md), 'file' => [InputEncryptedFile](../types/InputEncryptedFile.md), \]) === [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +$MadelineProto->[messages->sendEncryptedFile](messages.sendEncryptedFile.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), 'file' => [InputEncryptedFile](../types/InputEncryptedFile.md), \]) === [$messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ***

-$MadelineProto->[messages->sendEncryptedService](messages.sendEncryptedService.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'message' => [DecryptedMessage](../types/DecryptedMessage.md), \]) === [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +$MadelineProto->[messages->sendEncryptedService](messages.sendEncryptedService.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), \]) === [$messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ***

@@ -488,7 +488,7 @@ $MadelineProto->[messages->sendMedia](messages.sendMedia.md)(\['peer' => [InputP ***

-$MadelineProto->[messages->sendMessage](messages.sendMessage.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'reply_to_msg_id' => [int](../types/int.md), 'message' => [string](../types/string.md), 'reply_markup' => [ReplyMarkup](../types/ReplyMarkup.md), \]) === [$messages\_SentMessage](../types/messages_SentMessage.md) +$MadelineProto->[messages->sendMessage](messages.sendMessage.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'reply_to_msg_id' => [int](../types/int.md), 'message' => [string](../types/string.md), 'reply_markup' => [ReplyMarkup](../types/ReplyMarkup.md), \]) === [$messages.SentMessage](../types/messages.SentMessage.md) ***

@@ -512,7 +512,7 @@ $MadelineProto->[photos->deletePhotos](photos.deletePhotos.md)(\['id' => \[[Inpu ***

-$MadelineProto->[photos->getUserPhotos](photos.getUserPhotos.md)(\['user_id' => [InputUser](../types/InputUser.md), 'offset' => [int](../types/int.md), 'max_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$photos\_Photos](../types/photos_Photos.md) +$MadelineProto->[photos->getUserPhotos](photos.getUserPhotos.md)(\['user_id' => [InputUser](../types/InputUser.md), 'offset' => [int](../types/int.md), 'max_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$photos.Photos](../types/photos.Photos.md) ***

@@ -520,19 +520,19 @@ $MadelineProto->[photos->updateProfilePhoto](photos.updateProfilePhoto.md)(\['id ***

-$MadelineProto->[photos->uploadProfilePhoto](photos.uploadProfilePhoto.md)(\['file' => [InputFile](../types/InputFile.md), 'caption' => [string](../types/string.md), 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'crop' => [InputPhotoCrop](../types/InputPhotoCrop.md), \]) === [$photos\_Photo](../types/photos_Photo.md) +$MadelineProto->[photos->uploadProfilePhoto](photos.uploadProfilePhoto.md)(\['file' => [InputFile](../types/InputFile.md), 'caption' => [string](../types/string.md), 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'crop' => [InputPhotoCrop](../types/InputPhotoCrop.md), \]) === [$photos.Photo](../types/photos.Photo.md) ***

-$MadelineProto->[updates->getDifference](updates.getDifference.md)(\['pts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) === [$updates\_Difference](../types/updates_Difference.md) +$MadelineProto->[updates->getDifference](updates.getDifference.md)(\['pts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) === [$updates.Difference](../types/updates.Difference.md) ***

-$MadelineProto->[updates->getState](updates.getState.md)(\[\]) === [$updates\_State](../types/updates_State.md) +$MadelineProto->[updates->getState](updates.getState.md)(\[\]) === [$updates.State](../types/updates.State.md) ***

-$MadelineProto->[upload->getFile](upload.getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_File](../types/upload_File.md) +$MadelineProto->[upload->getFile](upload.getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload.File](../types/upload.File.md) ***

diff --git a/old_docs/API_docs_v33/methods/auth.checkPassword.md b/old_docs/API_docs_v33/methods/auth.checkPassword.md index db65cb56..eeeed171 100644 --- a/old_docs/API_docs_v33/methods/auth.checkPassword.md +++ b/old_docs/API_docs_v33/methods/auth.checkPassword.md @@ -16,7 +16,7 @@ You cannot use this method directly, use the complete_2fa_login method instead ( |password\_hash|[bytes](../types/bytes.md) | You cannot use this method directly, use the complete_2fa_login method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->checkPassword(['password_hash' => 'bytes', ]); +$auth.Authorization = $MadelineProto->auth->checkPassword(['password_hash' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.checkPassword({password_hash='bytes', }) +auth.Authorization = auth.checkPassword({password_hash='bytes', }) ``` ### Errors diff --git a/old_docs/API_docs_v33/methods/auth.checkPhone.md b/old_docs/API_docs_v33/methods/auth.checkPhone.md index 227358cb..51d4cba6 100644 --- a/old_docs/API_docs_v33/methods/auth.checkPhone.md +++ b/old_docs/API_docs_v33/methods/auth.checkPhone.md @@ -16,7 +16,7 @@ Check if this phone number is registered on telegram |phone\_number|[string](../types/string.md) | The phone number to check | Yes| -### Return type: [auth\_CheckedPhone](../types/auth_CheckedPhone.md) +### Return type: [auth.CheckedPhone](../types/auth.CheckedPhone.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => 'string', ]); +$auth.CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_CheckedPhone = auth.checkPhone({phone_number='string', }) +auth.CheckedPhone = auth.checkPhone({phone_number='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v33/methods/auth.exportAuthorization.md b/old_docs/API_docs_v33/methods/auth.exportAuthorization.md index 72063a2b..41a1f87d 100644 --- a/old_docs/API_docs_v33/methods/auth.exportAuthorization.md +++ b/old_docs/API_docs_v33/methods/auth.exportAuthorization.md @@ -16,7 +16,7 @@ You cannot use this method directly, use $MadelineProto->exportAuthorization() i |dc\_id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| -### Return type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) +### Return type: [auth.ExportedAuthorization](../types/auth.ExportedAuthorization.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_ExportedAuthorization = $MadelineProto->auth->exportAuthorization(['dc_id' => int, ]); +$auth.ExportedAuthorization = $MadelineProto->auth->exportAuthorization(['dc_id' => int, ]); ``` Or, if you're into Lua: ```lua -auth_ExportedAuthorization = auth.exportAuthorization({dc_id=int, }) +auth.ExportedAuthorization = auth.exportAuthorization({dc_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v33/methods/auth.importAuthorization.md b/old_docs/API_docs_v33/methods/auth.importAuthorization.md index d9c13751..5257e0b0 100644 --- a/old_docs/API_docs_v33/methods/auth.importAuthorization.md +++ b/old_docs/API_docs_v33/methods/auth.importAuthorization.md @@ -17,7 +17,7 @@ You cannot use this method directly, use $MadelineProto->importAuthorization($au |bytes|[bytes](../types/bytes.md) | You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => 'bytes', ]); +$auth.Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.importAuthorization({id=int, bytes='bytes', }) +auth.Authorization = auth.importAuthorization({id=int, bytes='bytes', }) ``` ### Errors diff --git a/old_docs/API_docs_v33/methods/auth.importBotAuthorization.md b/old_docs/API_docs_v33/methods/auth.importBotAuthorization.md index 3161d6be..a4ea8027 100644 --- a/old_docs/API_docs_v33/methods/auth.importBotAuthorization.md +++ b/old_docs/API_docs_v33/methods/auth.importBotAuthorization.md @@ -18,7 +18,7 @@ You cannot use this method directly, use the botLogin method instead (see https: |bot\_auth\_token|[string](../types/string.md) | You cannot use this method directly, use the botLogin method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **YES** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->importBotAuthorization(['api_id' => int, 'api_hash' => 'string', 'bot_auth_token' => 'string', ]); +$auth.Authorization = $MadelineProto->auth->importBotAuthorization(['api_id' => int, 'api_hash' => 'string', 'bot_auth_token' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.importBotAuthorization({api_id=int, api_hash='string', bot_auth_token='string', }) +auth.Authorization = auth.importBotAuthorization({api_id=int, api_hash='string', bot_auth_token='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v33/methods/auth.recoverPassword.md b/old_docs/API_docs_v33/methods/auth.recoverPassword.md index f7cbf4a4..2e78444b 100644 --- a/old_docs/API_docs_v33/methods/auth.recoverPassword.md +++ b/old_docs/API_docs_v33/methods/auth.recoverPassword.md @@ -16,7 +16,7 @@ Reset the [2FA password](https://core.telegram.org/api/srp) using the recovery c |code|[string](../types/string.md) | Code received via email | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->recoverPassword(['code' => 'string', ]); +$auth.Authorization = $MadelineProto->auth->recoverPassword(['code' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.recoverPassword({code='string', }) +auth.Authorization = auth.recoverPassword({code='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v33/methods/auth.requestPasswordRecovery.md b/old_docs/API_docs_v33/methods/auth.requestPasswordRecovery.md index 5cd77936..ff1ecc02 100644 --- a/old_docs/API_docs_v33/methods/auth.requestPasswordRecovery.md +++ b/old_docs/API_docs_v33/methods/auth.requestPasswordRecovery.md @@ -11,7 +11,7 @@ Request recovery code of a [2FA password](https://core.telegram.org/api/srp), on -### Return type: [auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) +### Return type: [auth.PasswordRecovery](../types/auth.PasswordRecovery.md) ### Can bots use this method: **NO** @@ -28,13 +28,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_PasswordRecovery = $MadelineProto->auth->requestPasswordRecovery(); +$auth.PasswordRecovery = $MadelineProto->auth->requestPasswordRecovery(); ``` Or, if you're into Lua: ```lua -auth_PasswordRecovery = auth.requestPasswordRecovery({}) +auth.PasswordRecovery = auth.requestPasswordRecovery({}) ``` ### Errors diff --git a/old_docs/API_docs_v33/methods/auth.sendCode.md b/old_docs/API_docs_v33/methods/auth.sendCode.md index 9fa1a0c7..68b6ff31 100644 --- a/old_docs/API_docs_v33/methods/auth.sendCode.md +++ b/old_docs/API_docs_v33/methods/auth.sendCode.md @@ -20,7 +20,7 @@ You cannot use this method directly, use the phoneLogin method instead (see http |lang\_code|[string](../types/string.md) | You cannot use this method directly, use the phoneLogin method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_SentCode](../types/auth_SentCode.md) +### Return type: [auth.SentCode](../types/auth.SentCode.md) ### Can bots use this method: **NO** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_SentCode = $MadelineProto->auth->sendCode(['phone_number' => 'string', 'sms_type' => int, 'api_id' => int, 'api_hash' => 'string', 'lang_code' => 'string', ]); +$auth.SentCode = $MadelineProto->auth->sendCode(['phone_number' => 'string', 'sms_type' => int, 'api_id' => int, 'api_hash' => 'string', 'lang_code' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_SentCode = auth.sendCode({phone_number='string', sms_type=int, api_id=int, api_hash='string', lang_code='string', }) +auth.SentCode = auth.sendCode({phone_number='string', sms_type=int, api_id=int, api_hash='string', lang_code='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v33/methods/auth.signIn.md b/old_docs/API_docs_v33/methods/auth.signIn.md index 54812a2e..95b14f32 100644 --- a/old_docs/API_docs_v33/methods/auth.signIn.md +++ b/old_docs/API_docs_v33/methods/auth.signIn.md @@ -18,7 +18,7 @@ You cannot use this method directly, use the completePhoneLogin method instead ( |phone\_code|[string](../types/string.md) | You cannot use this method directly, use the completePhoneLogin method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->signIn(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', ]); +$auth.Authorization = $MadelineProto->auth->signIn(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.signIn({phone_number='string', phone_code_hash='string', phone_code='string', }) +auth.Authorization = auth.signIn({phone_number='string', phone_code_hash='string', phone_code='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v33/methods/auth.signUp.md b/old_docs/API_docs_v33/methods/auth.signUp.md index 2aca2bfa..fdb5d628 100644 --- a/old_docs/API_docs_v33/methods/auth.signUp.md +++ b/old_docs/API_docs_v33/methods/auth.signUp.md @@ -20,7 +20,7 @@ You cannot use this method directly, use the completeSignup method instead (see |last\_name|[string](../types/string.md) | You cannot use this method directly, use the completeSignup method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **NO** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->signUp(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', 'first_name' => 'string', 'last_name' => 'string', ]); +$auth.Authorization = $MadelineProto->auth->signUp(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', 'first_name' => 'string', 'last_name' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.signUp({phone_number='string', phone_code_hash='string', phone_code='string', first_name='string', last_name='string', }) +auth.Authorization = auth.signUp({phone_number='string', phone_code_hash='string', phone_code='string', first_name='string', last_name='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v33/methods/contacts.deleteContact.md b/old_docs/API_docs_v33/methods/contacts.deleteContact.md index a9321d64..9169e1e0 100644 --- a/old_docs/API_docs_v33/methods/contacts.deleteContact.md +++ b/old_docs/API_docs_v33/methods/contacts.deleteContact.md @@ -16,7 +16,7 @@ Delete a contact |id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | The contact to delete | Optional| -### Return type: [contacts\_Link](../types/contacts_Link.md) +### Return type: [contacts.Link](../types/contacts.Link.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Link = $MadelineProto->contacts->deleteContact(['id' => InputUser, ]); +$contacts.Link = $MadelineProto->contacts->deleteContact(['id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -contacts_Link = contacts.deleteContact({id=InputUser, }) +contacts.Link = contacts.deleteContact({id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v33/methods/contacts.getBlocked.md b/old_docs/API_docs_v33/methods/contacts.getBlocked.md index 92f2f331..6ac1c343 100644 --- a/old_docs/API_docs_v33/methods/contacts.getBlocked.md +++ b/old_docs/API_docs_v33/methods/contacts.getBlocked.md @@ -17,7 +17,7 @@ Returns the list of blocked users. |limit|[int](../types/int.md) | The number of list elements to be returned | Yes| -### Return type: [contacts\_Blocked](../types/contacts_Blocked.md) +### Return type: [contacts.Blocked](../types/contacts.Blocked.md) ### Can bots use this method: **NO** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Blocked = $MadelineProto->contacts->getBlocked(['offset' => int, 'limit' => int, ]); +$contacts.Blocked = $MadelineProto->contacts->getBlocked(['offset' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -contacts_Blocked = contacts.getBlocked({offset=int, limit=int, }) +contacts.Blocked = contacts.getBlocked({offset=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v33/methods/contacts.getContacts.md b/old_docs/API_docs_v33/methods/contacts.getContacts.md index caee7aa8..a2fcd412 100644 --- a/old_docs/API_docs_v33/methods/contacts.getContacts.md +++ b/old_docs/API_docs_v33/methods/contacts.getContacts.md @@ -16,7 +16,7 @@ Returns the current user's contact list. |hash|[string](../types/string.md) | List of contact user IDs you already cached | Yes| -### Return type: [contacts\_Contacts](../types/contacts_Contacts.md) +### Return type: [contacts.Contacts](../types/contacts.Contacts.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Contacts = $MadelineProto->contacts->getContacts(['hash' => 'string', ]); +$contacts.Contacts = $MadelineProto->contacts->getContacts(['hash' => 'string', ]); ``` Or, if you're into Lua: ```lua -contacts_Contacts = contacts.getContacts({hash='string', }) +contacts.Contacts = contacts.getContacts({hash='string', }) ``` diff --git a/old_docs/API_docs_v33/methods/contacts.getSuggested.md b/old_docs/API_docs_v33/methods/contacts.getSuggested.md index 32e96621..ede222d4 100644 --- a/old_docs/API_docs_v33/methods/contacts.getSuggested.md +++ b/old_docs/API_docs_v33/methods/contacts.getSuggested.md @@ -16,7 +16,7 @@ Get suggested contacts |limit|[int](../types/int.md) | Number of results to return | Yes| -### Return type: [contacts\_Suggested](../types/contacts_Suggested.md) +### Return type: [contacts.Suggested](../types/contacts.Suggested.md) ### Can bots use this method: **YES** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Suggested = $MadelineProto->contacts->getSuggested(['limit' => int, ]); +$contacts.Suggested = $MadelineProto->contacts->getSuggested(['limit' => int, ]); ``` Or, if you're into Lua: ```lua -contacts_Suggested = contacts.getSuggested({limit=int, }) +contacts.Suggested = contacts.getSuggested({limit=int, }) ``` diff --git a/old_docs/API_docs_v33/methods/contacts.importContacts.md b/old_docs/API_docs_v33/methods/contacts.importContacts.md index 572df9fb..975d0565 100644 --- a/old_docs/API_docs_v33/methods/contacts.importContacts.md +++ b/old_docs/API_docs_v33/methods/contacts.importContacts.md @@ -17,7 +17,7 @@ Imports contacts: saves a full list on the server, adds already registered conta |replace|[Bool](../types/Bool.md) | Replace contacts? | Yes| -### Return type: [contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) +### Return type: [contacts.ImportedContacts](../types/contacts.ImportedContacts.md) ### Can bots use this method: **NO** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_ImportedContacts = $MadelineProto->contacts->importContacts(['contacts' => [InputContact, InputContact], 'replace' => Bool, ]); +$contacts.ImportedContacts = $MadelineProto->contacts->importContacts(['contacts' => [InputContact, InputContact], 'replace' => Bool, ]); ``` Or, if you're into Lua: ```lua -contacts_ImportedContacts = contacts.importContacts({contacts={InputContact}, replace=Bool, }) +contacts.ImportedContacts = contacts.importContacts({contacts={InputContact}, replace=Bool, }) ``` diff --git a/old_docs/API_docs_v33/methods/contacts.search.md b/old_docs/API_docs_v33/methods/contacts.search.md index 2f39d6f1..ec04c7f9 100644 --- a/old_docs/API_docs_v33/methods/contacts.search.md +++ b/old_docs/API_docs_v33/methods/contacts.search.md @@ -17,7 +17,7 @@ Returns users found by username substring. |limit|[int](../types/int.md) | Maximum number of users to be returned | Yes| -### Return type: [contacts\_Found](../types/contacts_Found.md) +### Return type: [contacts.Found](../types/contacts.Found.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Found = $MadelineProto->contacts->search(['q' => 'string', 'limit' => int, ]); +$contacts.Found = $MadelineProto->contacts->search(['q' => 'string', 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -contacts_Found = contacts.search({q='string', limit=int, }) +contacts.Found = contacts.search({q='string', limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v33/methods/geochats.checkin.md b/old_docs/API_docs_v33/methods/geochats.checkin.md index 9d098c55..c10b41f6 100644 --- a/old_docs/API_docs_v33/methods/geochats.checkin.md +++ b/old_docs/API_docs_v33/methods/geochats.checkin.md @@ -16,7 +16,7 @@ Join a geochat |peer|[InputGeoChat](../types/InputGeoChat.md) | The geochat | Yes| -### Return type: [geochats\_StatedMessage](../types/geochats_StatedMessage.md) +### Return type: [geochats.StatedMessage](../types/geochats.StatedMessage.md) ### Can bots use this method: **YES** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$geochats_StatedMessage = $MadelineProto->geochats->checkin(['peer' => InputGeoChat, ]); +$geochats.StatedMessage = $MadelineProto->geochats->checkin(['peer' => InputGeoChat, ]); ``` Or, if you're into Lua: ```lua -geochats_StatedMessage = geochats.checkin({peer=InputGeoChat, }) +geochats.StatedMessage = geochats.checkin({peer=InputGeoChat, }) ``` diff --git a/old_docs/API_docs_v33/methods/geochats.createGeoChat.md b/old_docs/API_docs_v33/methods/geochats.createGeoChat.md index 98c59825..a4a93c38 100644 --- a/old_docs/API_docs_v33/methods/geochats.createGeoChat.md +++ b/old_docs/API_docs_v33/methods/geochats.createGeoChat.md @@ -19,7 +19,7 @@ Create geochat |venue|[string](../types/string.md) | Geochat venue | Yes| -### Return type: [geochats\_StatedMessage](../types/geochats_StatedMessage.md) +### Return type: [geochats.StatedMessage](../types/geochats.StatedMessage.md) ### Can bots use this method: **YES** @@ -36,12 +36,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$geochats_StatedMessage = $MadelineProto->geochats->createGeoChat(['title' => 'string', 'geo_point' => InputGeoPoint, 'address' => 'string', 'venue' => 'string', ]); +$geochats.StatedMessage = $MadelineProto->geochats->createGeoChat(['title' => 'string', 'geo_point' => InputGeoPoint, 'address' => 'string', 'venue' => 'string', ]); ``` Or, if you're into Lua: ```lua -geochats_StatedMessage = geochats.createGeoChat({title='string', geo_point=InputGeoPoint, address='string', venue='string', }) +geochats.StatedMessage = geochats.createGeoChat({title='string', geo_point=InputGeoPoint, address='string', venue='string', }) ``` diff --git a/old_docs/API_docs_v33/methods/geochats.editChatPhoto.md b/old_docs/API_docs_v33/methods/geochats.editChatPhoto.md index 9dc0bd16..d223ef82 100644 --- a/old_docs/API_docs_v33/methods/geochats.editChatPhoto.md +++ b/old_docs/API_docs_v33/methods/geochats.editChatPhoto.md @@ -17,7 +17,7 @@ Edit geochat photo |photo|[InputChatPhoto](../types/InputChatPhoto.md) | The new photo | Optional| -### Return type: [geochats\_StatedMessage](../types/geochats_StatedMessage.md) +### Return type: [geochats.StatedMessage](../types/geochats.StatedMessage.md) ### Can bots use this method: **YES** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$geochats_StatedMessage = $MadelineProto->geochats->editChatPhoto(['peer' => InputGeoChat, 'photo' => InputChatPhoto, ]); +$geochats.StatedMessage = $MadelineProto->geochats->editChatPhoto(['peer' => InputGeoChat, 'photo' => InputChatPhoto, ]); ``` Or, if you're into Lua: ```lua -geochats_StatedMessage = geochats.editChatPhoto({peer=InputGeoChat, photo=InputChatPhoto, }) +geochats.StatedMessage = geochats.editChatPhoto({peer=InputGeoChat, photo=InputChatPhoto, }) ``` diff --git a/old_docs/API_docs_v33/methods/geochats.editChatTitle.md b/old_docs/API_docs_v33/methods/geochats.editChatTitle.md index 56b64c58..b53585f8 100644 --- a/old_docs/API_docs_v33/methods/geochats.editChatTitle.md +++ b/old_docs/API_docs_v33/methods/geochats.editChatTitle.md @@ -18,7 +18,7 @@ Edit geochat title |address|[string](../types/string.md) | The new address | Yes| -### Return type: [geochats\_StatedMessage](../types/geochats_StatedMessage.md) +### Return type: [geochats.StatedMessage](../types/geochats.StatedMessage.md) ### Can bots use this method: **YES** @@ -35,12 +35,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$geochats_StatedMessage = $MadelineProto->geochats->editChatTitle(['peer' => InputGeoChat, 'title' => 'string', 'address' => 'string', ]); +$geochats.StatedMessage = $MadelineProto->geochats->editChatTitle(['peer' => InputGeoChat, 'title' => 'string', 'address' => 'string', ]); ``` Or, if you're into Lua: ```lua -geochats_StatedMessage = geochats.editChatTitle({peer=InputGeoChat, title='string', address='string', }) +geochats.StatedMessage = geochats.editChatTitle({peer=InputGeoChat, title='string', address='string', }) ``` diff --git a/old_docs/API_docs_v33/methods/geochats.getFullChat.md b/old_docs/API_docs_v33/methods/geochats.getFullChat.md index 96747d42..54d48fd5 100644 --- a/old_docs/API_docs_v33/methods/geochats.getFullChat.md +++ b/old_docs/API_docs_v33/methods/geochats.getFullChat.md @@ -16,7 +16,7 @@ Get full info about a geochat |peer|[InputGeoChat](../types/InputGeoChat.md) | The geochat | Yes| -### Return type: [messages\_ChatFull](../types/messages_ChatFull.md) +### Return type: [messages.ChatFull](../types/messages.ChatFull.md) ### Can bots use this method: **YES** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_ChatFull = $MadelineProto->geochats->getFullChat(['peer' => InputGeoChat, ]); +$messages.ChatFull = $MadelineProto->geochats->getFullChat(['peer' => InputGeoChat, ]); ``` Or, if you're into Lua: ```lua -messages_ChatFull = geochats.getFullChat({peer=InputGeoChat, }) +messages.ChatFull = geochats.getFullChat({peer=InputGeoChat, }) ``` diff --git a/old_docs/API_docs_v33/methods/geochats.getHistory.md b/old_docs/API_docs_v33/methods/geochats.getHistory.md index 82be7706..0faf6e27 100644 --- a/old_docs/API_docs_v33/methods/geochats.getHistory.md +++ b/old_docs/API_docs_v33/methods/geochats.getHistory.md @@ -19,7 +19,7 @@ Get geochat history |limit|[int](../types/int.md) | Number of results to return | Yes| -### Return type: [geochats\_Messages](../types/geochats_Messages.md) +### Return type: [geochats.Messages](../types/geochats.Messages.md) ### Can bots use this method: **YES** @@ -36,12 +36,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$geochats_Messages = $MadelineProto->geochats->getHistory(['peer' => InputGeoChat, 'offset' => int, 'max_id' => int, 'limit' => int, ]); +$geochats.Messages = $MadelineProto->geochats->getHistory(['peer' => InputGeoChat, 'offset' => int, 'max_id' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -geochats_Messages = geochats.getHistory({peer=InputGeoChat, offset=int, max_id=int, limit=int, }) +geochats.Messages = geochats.getHistory({peer=InputGeoChat, offset=int, max_id=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v33/methods/geochats.getLocated.md b/old_docs/API_docs_v33/methods/geochats.getLocated.md index 8dba20d9..00d70cda 100644 --- a/old_docs/API_docs_v33/methods/geochats.getLocated.md +++ b/old_docs/API_docs_v33/methods/geochats.getLocated.md @@ -18,7 +18,7 @@ Get nearby geochats |limit|[int](../types/int.md) | Number of results to return | Yes| -### Return type: [geochats\_Located](../types/geochats_Located.md) +### Return type: [geochats.Located](../types/geochats.Located.md) ### Can bots use this method: **YES** @@ -35,12 +35,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$geochats_Located = $MadelineProto->geochats->getLocated(['geo_point' => InputGeoPoint, 'radius' => int, 'limit' => int, ]); +$geochats.Located = $MadelineProto->geochats->getLocated(['geo_point' => InputGeoPoint, 'radius' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -geochats_Located = geochats.getLocated({geo_point=InputGeoPoint, radius=int, limit=int, }) +geochats.Located = geochats.getLocated({geo_point=InputGeoPoint, radius=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v33/methods/geochats.getRecents.md b/old_docs/API_docs_v33/methods/geochats.getRecents.md index 00d90ad4..a0045147 100644 --- a/old_docs/API_docs_v33/methods/geochats.getRecents.md +++ b/old_docs/API_docs_v33/methods/geochats.getRecents.md @@ -17,7 +17,7 @@ Get recent geochats |limit|[int](../types/int.md) | Number of results to return | Yes| -### Return type: [geochats\_Messages](../types/geochats_Messages.md) +### Return type: [geochats.Messages](../types/geochats.Messages.md) ### Can bots use this method: **YES** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$geochats_Messages = $MadelineProto->geochats->getRecents(['offset' => int, 'limit' => int, ]); +$geochats.Messages = $MadelineProto->geochats->getRecents(['offset' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -geochats_Messages = geochats.getRecents({offset=int, limit=int, }) +geochats.Messages = geochats.getRecents({offset=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v33/methods/geochats.search.md b/old_docs/API_docs_v33/methods/geochats.search.md index 076253e3..e586b236 100644 --- a/old_docs/API_docs_v33/methods/geochats.search.md +++ b/old_docs/API_docs_v33/methods/geochats.search.md @@ -23,7 +23,7 @@ Search messages in geocha |limit|[int](../types/int.md) | Number of results to return | Yes| -### Return type: [geochats\_Messages](../types/geochats_Messages.md) +### Return type: [geochats.Messages](../types/geochats.Messages.md) ### Can bots use this method: **YES** @@ -40,12 +40,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$geochats_Messages = $MadelineProto->geochats->search(['peer' => InputGeoChat, 'q' => 'string', 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); +$geochats.Messages = $MadelineProto->geochats->search(['peer' => InputGeoChat, 'q' => 'string', 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -geochats_Messages = geochats.search({peer=InputGeoChat, q='string', filter=MessagesFilter, min_date=int, max_date=int, offset=int, max_id=int, limit=int, }) +geochats.Messages = geochats.search({peer=InputGeoChat, q='string', filter=MessagesFilter, min_date=int, max_date=int, offset=int, max_id=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v33/methods/geochats.sendMedia.md b/old_docs/API_docs_v33/methods/geochats.sendMedia.md index 11cb1414..d8d52cd8 100644 --- a/old_docs/API_docs_v33/methods/geochats.sendMedia.md +++ b/old_docs/API_docs_v33/methods/geochats.sendMedia.md @@ -17,7 +17,7 @@ Send media to geochat |media|[MessageMedia, Update, Message or InputMedia](../types/InputMedia.md) | The media | Optional| -### Return type: [geochats\_StatedMessage](../types/geochats_StatedMessage.md) +### Return type: [geochats.StatedMessage](../types/geochats.StatedMessage.md) ### Can bots use this method: **YES** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$geochats_StatedMessage = $MadelineProto->geochats->sendMedia(['peer' => InputGeoChat, 'media' => InputMedia, ]); +$geochats.StatedMessage = $MadelineProto->geochats->sendMedia(['peer' => InputGeoChat, 'media' => InputMedia, ]); ``` Or, if you're into Lua: ```lua -geochats_StatedMessage = geochats.sendMedia({peer=InputGeoChat, media=InputMedia, }) +geochats.StatedMessage = geochats.sendMedia({peer=InputGeoChat, media=InputMedia, }) ``` diff --git a/old_docs/API_docs_v33/methods/geochats.sendMessage.md b/old_docs/API_docs_v33/methods/geochats.sendMessage.md index 8529f268..aa72d9ce 100644 --- a/old_docs/API_docs_v33/methods/geochats.sendMessage.md +++ b/old_docs/API_docs_v33/methods/geochats.sendMessage.md @@ -17,7 +17,7 @@ Send message to geochat |message|[string](../types/string.md) | The message | Yes| -### Return type: [geochats\_StatedMessage](../types/geochats_StatedMessage.md) +### Return type: [geochats.StatedMessage](../types/geochats.StatedMessage.md) ### Can bots use this method: **YES** @@ -34,18 +34,18 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$geochats_StatedMessage = $MadelineProto->geochats->sendMessage(['peer' => InputGeoChat, 'message' => 'string', ]); +$geochats.StatedMessage = $MadelineProto->geochats->sendMessage(['peer' => InputGeoChat, 'message' => 'string', ]); ``` Or, if you're into Lua: ```lua -geochats_StatedMessage = geochats.sendMessage({peer=InputGeoChat, message='string', }) +geochats.StatedMessage = geochats.sendMessage({peer=InputGeoChat, message='string', }) ``` ## Return value -If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [geochats\_StatedMessage](../types/geochats_StatedMessage.md) will be returned instead. +If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [geochats.StatedMessage](../types/geochats.StatedMessage.md) will be returned instead. diff --git a/old_docs/API_docs_v33/methods/help.getAppChangelog.md b/old_docs/API_docs_v33/methods/help.getAppChangelog.md index 890e3a4b..29bee8fb 100644 --- a/old_docs/API_docs_v33/methods/help.getAppChangelog.md +++ b/old_docs/API_docs_v33/methods/help.getAppChangelog.md @@ -19,7 +19,7 @@ Get changelog of current app |lang\_code|[string](../types/string.md) | Language code | Yes| -### Return type: [help\_AppChangelog](../types/help_AppChangelog.md) +### Return type: [help.AppChangelog](../types/help.AppChangelog.md) ### Can bots use this method: **NO** @@ -36,12 +36,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_AppChangelog = $MadelineProto->help->getAppChangelog(['device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'lang_code' => 'string', ]); +$help.AppChangelog = $MadelineProto->help->getAppChangelog(['device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'lang_code' => 'string', ]); ``` Or, if you're into Lua: ```lua -help_AppChangelog = help.getAppChangelog({device_model='string', system_version='string', app_version='string', lang_code='string', }) +help.AppChangelog = help.getAppChangelog({device_model='string', system_version='string', app_version='string', lang_code='string', }) ``` diff --git a/old_docs/API_docs_v33/methods/help.getAppUpdate.md b/old_docs/API_docs_v33/methods/help.getAppUpdate.md index 0f844391..bfbed19e 100644 --- a/old_docs/API_docs_v33/methods/help.getAppUpdate.md +++ b/old_docs/API_docs_v33/methods/help.getAppUpdate.md @@ -19,7 +19,7 @@ Returns information on update availability for the current application. |lang\_code|[string](../types/string.md) | Langauge code | Yes| -### Return type: [help\_AppUpdate](../types/help_AppUpdate.md) +### Return type: [help.AppUpdate](../types/help.AppUpdate.md) ### Can bots use this method: **NO** @@ -36,12 +36,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_AppUpdate = $MadelineProto->help->getAppUpdate(['device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'lang_code' => 'string', ]); +$help.AppUpdate = $MadelineProto->help->getAppUpdate(['device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'lang_code' => 'string', ]); ``` Or, if you're into Lua: ```lua -help_AppUpdate = help.getAppUpdate({device_model='string', system_version='string', app_version='string', lang_code='string', }) +help.AppUpdate = help.getAppUpdate({device_model='string', system_version='string', app_version='string', lang_code='string', }) ``` diff --git a/old_docs/API_docs_v33/methods/help.getInviteText.md b/old_docs/API_docs_v33/methods/help.getInviteText.md index 482afbc0..f84b2e82 100644 --- a/old_docs/API_docs_v33/methods/help.getInviteText.md +++ b/old_docs/API_docs_v33/methods/help.getInviteText.md @@ -16,7 +16,7 @@ Returns text of a text message with an invitation. |lang\_code|[string](../types/string.md) | Language | Yes| -### Return type: [help\_InviteText](../types/help_InviteText.md) +### Return type: [help.InviteText](../types/help.InviteText.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_InviteText = $MadelineProto->help->getInviteText(['lang_code' => 'string', ]); +$help.InviteText = $MadelineProto->help->getInviteText(['lang_code' => 'string', ]); ``` Or, if you're into Lua: ```lua -help_InviteText = help.getInviteText({lang_code='string', }) +help.InviteText = help.getInviteText({lang_code='string', }) ``` diff --git a/old_docs/API_docs_v33/methods/help.getSupport.md b/old_docs/API_docs_v33/methods/help.getSupport.md index 7a577892..8a8df916 100644 --- a/old_docs/API_docs_v33/methods/help.getSupport.md +++ b/old_docs/API_docs_v33/methods/help.getSupport.md @@ -11,7 +11,7 @@ Returns the support user for the 'ask a question' feature. -### Return type: [help\_Support](../types/help_Support.md) +### Return type: [help.Support](../types/help.Support.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_Support = $MadelineProto->help->getSupport(); +$help.Support = $MadelineProto->help->getSupport(); ``` Or, if you're into Lua: ```lua -help_Support = help.getSupport({}) +help.Support = help.getSupport({}) ``` diff --git a/old_docs/API_docs_v33/methods/messages.deleteHistory.md b/old_docs/API_docs_v33/methods/messages.deleteHistory.md index 974b7e3c..93badc83 100644 --- a/old_docs/API_docs_v33/methods/messages.deleteHistory.md +++ b/old_docs/API_docs_v33/methods/messages.deleteHistory.md @@ -17,7 +17,7 @@ Deletes communication history. |offset|[int](../types/int.md) | Offset | Yes| -### Return type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) +### Return type: [messages.AffectedHistory](../types/messages.AffectedHistory.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedHistory = $MadelineProto->messages->deleteHistory(['peer' => InputPeer, 'offset' => int, ]); +$messages.AffectedHistory = $MadelineProto->messages->deleteHistory(['peer' => InputPeer, 'offset' => int, ]); ``` Or, if you're into Lua: ```lua -messages_AffectedHistory = messages.deleteHistory({peer=InputPeer, offset=int, }) +messages.AffectedHistory = messages.deleteHistory({peer=InputPeer, offset=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v33/methods/messages.deleteMessages.md b/old_docs/API_docs_v33/methods/messages.deleteMessages.md index 355b2ff8..cc432cc1 100644 --- a/old_docs/API_docs_v33/methods/messages.deleteMessages.md +++ b/old_docs/API_docs_v33/methods/messages.deleteMessages.md @@ -16,7 +16,7 @@ Deletes messages by their identifiers. |id|Array of [int](../types/int.md) | IDs of messages to delete, use channels->deleteMessages for supergroups | Yes| -### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) +### Return type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedMessages = $MadelineProto->messages->deleteMessages(['id' => [int, int], ]); +$messages.AffectedMessages = $MadelineProto->messages->deleteMessages(['id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AffectedMessages = messages.deleteMessages({id={int}, }) +messages.AffectedMessages = messages.deleteMessages({id={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v33/methods/messages.getAllStickers.md b/old_docs/API_docs_v33/methods/messages.getAllStickers.md index 3bbfd91b..bdf1bab0 100644 --- a/old_docs/API_docs_v33/methods/messages.getAllStickers.md +++ b/old_docs/API_docs_v33/methods/messages.getAllStickers.md @@ -16,7 +16,7 @@ Get all installed stickers |hash|[string](../types/string.md) | Previously fetched stickers | Yes| -### Return type: [messages\_AllStickers](../types/messages_AllStickers.md) +### Return type: [messages.AllStickers](../types/messages.AllStickers.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AllStickers = $MadelineProto->messages->getAllStickers(['hash' => 'string', ]); +$messages.AllStickers = $MadelineProto->messages->getAllStickers(['hash' => 'string', ]); ``` Or, if you're into Lua: ```lua -messages_AllStickers = messages.getAllStickers({hash='string', }) +messages.AllStickers = messages.getAllStickers({hash='string', }) ``` diff --git a/old_docs/API_docs_v33/methods/messages.getChats.md b/old_docs/API_docs_v33/methods/messages.getChats.md index c34b0488..146341f5 100644 --- a/old_docs/API_docs_v33/methods/messages.getChats.md +++ b/old_docs/API_docs_v33/methods/messages.getChats.md @@ -16,7 +16,7 @@ Returns chat basic info on their IDs. |id|Array of [int](../types/int.md) | The MTProto IDs of chats to fetch info about | Yes| -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->messages->getChats(['id' => [int, int], ]); +$messages.Chats = $MadelineProto->messages->getChats(['id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Chats = messages.getChats({id={int}, }) +messages.Chats = messages.getChats({id={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v33/methods/messages.getDhConfig.md b/old_docs/API_docs_v33/methods/messages.getDhConfig.md index 88ea4ab3..7b9da566 100644 --- a/old_docs/API_docs_v33/methods/messages.getDhConfig.md +++ b/old_docs/API_docs_v33/methods/messages.getDhConfig.md @@ -17,7 +17,7 @@ You cannot use this method directly, instead use $MadelineProto->getDhConfig(); |random\_length|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->getDhConfig(); | Yes| -### Return type: [messages\_DhConfig](../types/messages_DhConfig.md) +### Return type: [messages.DhConfig](../types/messages.DhConfig.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_DhConfig = $MadelineProto->messages->getDhConfig(['version' => int, 'random_length' => int, ]); +$messages.DhConfig = $MadelineProto->messages->getDhConfig(['version' => int, 'random_length' => int, ]); ``` Or, if you're into Lua: ```lua -messages_DhConfig = messages.getDhConfig({version=int, random_length=int, }) +messages.DhConfig = messages.getDhConfig({version=int, random_length=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v33/methods/messages.getDialogs.md b/old_docs/API_docs_v33/methods/messages.getDialogs.md index 1ea36dd0..f00e3ebc 100644 --- a/old_docs/API_docs_v33/methods/messages.getDialogs.md +++ b/old_docs/API_docs_v33/methods/messages.getDialogs.md @@ -18,7 +18,7 @@ Returns the current user dialog list. |limit|[int](../types/int.md) | Number of list elements to be returned | Yes| -### Return type: [messages\_Dialogs](../types/messages_Dialogs.md) +### Return type: [messages.Dialogs](../types/messages.Dialogs.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Dialogs = $MadelineProto->messages->getDialogs(['offset' => int, 'max_id' => int, 'limit' => int, ]); +$messages.Dialogs = $MadelineProto->messages->getDialogs(['offset' => int, 'max_id' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Dialogs = messages.getDialogs({offset=int, max_id=int, limit=int, }) +messages.Dialogs = messages.getDialogs({offset=int, max_id=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v33/methods/messages.getFullChat.md b/old_docs/API_docs_v33/methods/messages.getFullChat.md index abf23e21..de543651 100644 --- a/old_docs/API_docs_v33/methods/messages.getFullChat.md +++ b/old_docs/API_docs_v33/methods/messages.getFullChat.md @@ -16,7 +16,7 @@ You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo me |chat\_id|[Username, chat ID, Update, Message or InputPeer](../types/InputPeer.md) | You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo methods instead (see https://docs.madelineproto.xyz for more info) | Optional| -### Return type: [messages\_ChatFull](../types/messages_ChatFull.md) +### Return type: [messages.ChatFull](../types/messages.ChatFull.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_ChatFull = $MadelineProto->messages->getFullChat(['chat_id' => InputPeer, ]); +$messages.ChatFull = $MadelineProto->messages->getFullChat(['chat_id' => InputPeer, ]); ``` Or, if you're into Lua: ```lua -messages_ChatFull = messages.getFullChat({chat_id=InputPeer, }) +messages.ChatFull = messages.getFullChat({chat_id=InputPeer, }) ``` ### Errors diff --git a/old_docs/API_docs_v33/methods/messages.getHistory.md b/old_docs/API_docs_v33/methods/messages.getHistory.md index 3ff48433..cdc1ce2c 100644 --- a/old_docs/API_docs_v33/methods/messages.getHistory.md +++ b/old_docs/API_docs_v33/methods/messages.getHistory.md @@ -19,7 +19,7 @@ Gets back the conversation history with one interlocutor / within a chat |limit|[int](../types/int.md) | Number of results to return | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **NO** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->getHistory(['peer' => InputPeer, 'offset' => int, 'max_id' => int, 'limit' => int, ]); +$messages.Messages = $MadelineProto->messages->getHistory(['peer' => InputPeer, 'offset' => int, 'max_id' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.getHistory({peer=InputPeer, offset=int, max_id=int, limit=int, }) +messages.Messages = messages.getHistory({peer=InputPeer, offset=int, max_id=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v33/methods/messages.getMessages.md b/old_docs/API_docs_v33/methods/messages.getMessages.md index a3139513..c7760d7e 100644 --- a/old_docs/API_docs_v33/methods/messages.getMessages.md +++ b/old_docs/API_docs_v33/methods/messages.getMessages.md @@ -16,7 +16,7 @@ Returns the list of messages by their IDs. |id|Array of [int](../types/int.md) | The IDs of messages to fetch (only for users and normal groups) | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **YES** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->getMessages(['id' => [int, int], ]); +$messages.Messages = $MadelineProto->messages->getMessages(['id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.getMessages({id={int}, }) +messages.Messages = messages.getMessages({id={int}, }) ``` diff --git a/old_docs/API_docs_v33/methods/messages.getStickerSet.md b/old_docs/API_docs_v33/methods/messages.getStickerSet.md index 45fca60f..f11887ee 100644 --- a/old_docs/API_docs_v33/methods/messages.getStickerSet.md +++ b/old_docs/API_docs_v33/methods/messages.getStickerSet.md @@ -16,7 +16,7 @@ Get info about a stickerset |stickerset|[InputStickerSet](../types/InputStickerSet.md) | Stickerset | Optional| -### Return type: [messages\_StickerSet](../types/messages_StickerSet.md) +### Return type: [messages.StickerSet](../types/messages.StickerSet.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StickerSet = $MadelineProto->messages->getStickerSet(['stickerset' => InputStickerSet, ]); +$messages.StickerSet = $MadelineProto->messages->getStickerSet(['stickerset' => InputStickerSet, ]); ``` Or, if you're into Lua: ```lua -messages_StickerSet = messages.getStickerSet({stickerset=InputStickerSet, }) +messages.StickerSet = messages.getStickerSet({stickerset=InputStickerSet, }) ``` ### Errors diff --git a/old_docs/API_docs_v33/methods/messages.getStickers.md b/old_docs/API_docs_v33/methods/messages.getStickers.md index aa149fc3..6fab91a5 100644 --- a/old_docs/API_docs_v33/methods/messages.getStickers.md +++ b/old_docs/API_docs_v33/methods/messages.getStickers.md @@ -17,7 +17,7 @@ Get stickers by emoji |hash|[string](../types/string.md) | Previously fetched sticker IDs | Yes| -### Return type: [messages\_Stickers](../types/messages_Stickers.md) +### Return type: [messages.Stickers](../types/messages.Stickers.md) ### Can bots use this method: **NO** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Stickers = $MadelineProto->messages->getStickers(['emoticon' => 'string', 'hash' => 'string', ]); +$messages.Stickers = $MadelineProto->messages->getStickers(['emoticon' => 'string', 'hash' => 'string', ]); ``` Or, if you're into Lua: ```lua -messages_Stickers = messages.getStickers({emoticon='string', hash='string', }) +messages.Stickers = messages.getStickers({emoticon='string', hash='string', }) ``` diff --git a/old_docs/API_docs_v33/methods/messages.readHistory.md b/old_docs/API_docs_v33/methods/messages.readHistory.md index b351bcc1..46969611 100644 --- a/old_docs/API_docs_v33/methods/messages.readHistory.md +++ b/old_docs/API_docs_v33/methods/messages.readHistory.md @@ -18,7 +18,7 @@ Marks message history as read. |offset|[int](../types/int.md) | Offset | Yes| -### Return type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) +### Return type: [messages.AffectedHistory](../types/messages.AffectedHistory.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedHistory = $MadelineProto->messages->readHistory(['peer' => InputPeer, 'max_id' => int, 'offset' => int, ]); +$messages.AffectedHistory = $MadelineProto->messages->readHistory(['peer' => InputPeer, 'max_id' => int, 'offset' => int, ]); ``` Or, if you're into Lua: ```lua -messages_AffectedHistory = messages.readHistory({peer=InputPeer, max_id=int, offset=int, }) +messages.AffectedHistory = messages.readHistory({peer=InputPeer, max_id=int, offset=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v33/methods/messages.readMessageContents.md b/old_docs/API_docs_v33/methods/messages.readMessageContents.md index c479cafe..9798e661 100644 --- a/old_docs/API_docs_v33/methods/messages.readMessageContents.md +++ b/old_docs/API_docs_v33/methods/messages.readMessageContents.md @@ -16,7 +16,7 @@ Notifies the sender about the recipient having listened a voice message or watch |id|Array of [int](../types/int.md) | The messages to mark as read (only users and normal chats, not supergroups) | Yes| -### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) +### Return type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedMessages = $MadelineProto->messages->readMessageContents(['id' => [int, int], ]); +$messages.AffectedMessages = $MadelineProto->messages->readMessageContents(['id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AffectedMessages = messages.readMessageContents({id={int}, }) +messages.AffectedMessages = messages.readMessageContents({id={int}, }) ``` diff --git a/old_docs/API_docs_v33/methods/messages.search.md b/old_docs/API_docs_v33/methods/messages.search.md index 4fda6636..7ebe6a9a 100644 --- a/old_docs/API_docs_v33/methods/messages.search.md +++ b/old_docs/API_docs_v33/methods/messages.search.md @@ -23,7 +23,7 @@ Gets back found messages |limit|[int](../types/int.md) | [Number of results to return](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **NO** @@ -40,13 +40,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->search(['peer' => InputPeer, 'q' => 'string', 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); +$messages.Messages = $MadelineProto->messages->search(['peer' => InputPeer, 'q' => 'string', 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.search({peer=InputPeer, q='string', filter=MessagesFilter, min_date=int, max_date=int, offset=int, max_id=int, limit=int, }) +messages.Messages = messages.search({peer=InputPeer, q='string', filter=MessagesFilter, min_date=int, max_date=int, offset=int, max_id=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v33/methods/messages.sendEncrypted.md b/old_docs/API_docs_v33/methods/messages.sendEncrypted.md index 47b5ef29..6a68b563 100644 --- a/old_docs/API_docs_v33/methods/messages.sendEncrypted.md +++ b/old_docs/API_docs_v33/methods/messages.sendEncrypted.md @@ -14,10 +14,10 @@ Sends a text message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|message|[DecryptedMessage](../types/DecryptedMessage.md) | The message to send | Yes| +|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key that was created during chat initialization | Yes| -### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ### Can bots use this method: **NO** @@ -34,21 +34,15 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncrypted(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); +$messages.SentEncryptedMessage = $MadelineProto->messages->sendEncrypted(['peer' => InputEncryptedChat, 'data' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -messages_SentEncryptedMessage = messages.sendEncrypted({peer=InputEncryptedChat, message=DecryptedMessage, }) +messages.SentEncryptedMessage = messages.sendEncrypted({peer=InputEncryptedChat, data='bytes', }) ``` - -## Return value - -If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) will be returned instead. - - ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v33/methods/messages.sendEncryptedFile.md b/old_docs/API_docs_v33/methods/messages.sendEncryptedFile.md index 4e0f7b7f..87185ba4 100644 --- a/old_docs/API_docs_v33/methods/messages.sendEncryptedFile.md +++ b/old_docs/API_docs_v33/methods/messages.sendEncryptedFile.md @@ -14,11 +14,11 @@ Sends a message with a file attachment to a secret chat | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|message|[DecryptedMessage](../types/DecryptedMessage.md) | The message with the file | Yes| +|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| |file|[File path or InputEncryptedFile](../types/InputEncryptedFile.md) | File attachment for the secret chat | Optional| -### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ### Can bots use this method: **NO** @@ -35,21 +35,15 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedFile(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, 'file' => InputEncryptedFile, ]); +$messages.SentEncryptedMessage = $MadelineProto->messages->sendEncryptedFile(['peer' => InputEncryptedChat, 'data' => 'bytes', 'file' => InputEncryptedFile, ]); ``` Or, if you're into Lua: ```lua -messages_SentEncryptedMessage = messages.sendEncryptedFile({peer=InputEncryptedChat, message=DecryptedMessage, file=InputEncryptedFile, }) +messages.SentEncryptedMessage = messages.sendEncryptedFile({peer=InputEncryptedChat, data='bytes', file=InputEncryptedFile, }) ``` - -## Return value - -If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) will be returned instead. - - ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v33/methods/messages.sendEncryptedService.md b/old_docs/API_docs_v33/methods/messages.sendEncryptedService.md index 86925ae3..38171272 100644 --- a/old_docs/API_docs_v33/methods/messages.sendEncryptedService.md +++ b/old_docs/API_docs_v33/methods/messages.sendEncryptedService.md @@ -14,10 +14,10 @@ Sends a service message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|message|[DecryptedMessage](../types/DecryptedMessage.md) | The service message | Yes| +|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| -### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ### Can bots use this method: **NO** @@ -34,21 +34,15 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedService(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); +$messages.SentEncryptedMessage = $MadelineProto->messages->sendEncryptedService(['peer' => InputEncryptedChat, 'data' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -messages_SentEncryptedMessage = messages.sendEncryptedService({peer=InputEncryptedChat, message=DecryptedMessage, }) +messages.SentEncryptedMessage = messages.sendEncryptedService({peer=InputEncryptedChat, data='bytes', }) ``` - -## Return value - -If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) will be returned instead. - - ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v33/methods/messages.sendMessage.md b/old_docs/API_docs_v33/methods/messages.sendMessage.md index ade17b31..10e9a2fa 100644 --- a/old_docs/API_docs_v33/methods/messages.sendMessage.md +++ b/old_docs/API_docs_v33/methods/messages.sendMessage.md @@ -19,7 +19,7 @@ Sends a message to a chat |reply\_markup|[ReplyMarkup](../types/ReplyMarkup.md) | Reply markup for sending bot buttons | Optional| -### Return type: [messages\_SentMessage](../types/messages_SentMessage.md) +### Return type: [messages.SentMessage](../types/messages.SentMessage.md) ### Can bots use this method: **YES** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_SentMessage = $MadelineProto->messages->sendMessage(['peer' => InputPeer, 'reply_to_msg_id' => int, 'message' => 'string', 'reply_markup' => ReplyMarkup, ]); +$messages.SentMessage = $MadelineProto->messages->sendMessage(['peer' => InputPeer, 'reply_to_msg_id' => int, 'message' => 'string', 'reply_markup' => ReplyMarkup, ]); ``` Or, if you're into Lua: ```lua -messages_SentMessage = messages.sendMessage({peer=InputPeer, reply_to_msg_id=int, message='string', reply_markup=ReplyMarkup, }) +messages.SentMessage = messages.sendMessage({peer=InputPeer, reply_to_msg_id=int, message='string', reply_markup=ReplyMarkup, }) ``` @@ -54,7 +54,7 @@ You can provide bot API reply_markup objects here. ## Return value -If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [messages\_SentMessage](../types/messages_SentMessage.md) will be returned instead. +If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [messages.SentMessage](../types/messages.SentMessage.md) will be returned instead. ### Errors diff --git a/old_docs/API_docs_v33/methods/photos.getUserPhotos.md b/old_docs/API_docs_v33/methods/photos.getUserPhotos.md index a1dec2ed..1f8d5c64 100644 --- a/old_docs/API_docs_v33/methods/photos.getUserPhotos.md +++ b/old_docs/API_docs_v33/methods/photos.getUserPhotos.md @@ -19,7 +19,7 @@ Returns the list of user photos. |limit|[int](../types/int.md) | Number of list elements to be returned | Yes| -### Return type: [photos\_Photos](../types/photos_Photos.md) +### Return type: [photos.Photos](../types/photos.Photos.md) ### Can bots use this method: **YES** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$photos_Photos = $MadelineProto->photos->getUserPhotos(['user_id' => InputUser, 'offset' => int, 'max_id' => long, 'limit' => int, ]); +$photos.Photos = $MadelineProto->photos->getUserPhotos(['user_id' => InputUser, 'offset' => int, 'max_id' => long, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -photos_Photos = photos.getUserPhotos({user_id=InputUser, offset=int, max_id=long, limit=int, }) +photos.Photos = photos.getUserPhotos({user_id=InputUser, offset=int, max_id=long, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v33/methods/photos.uploadProfilePhoto.md b/old_docs/API_docs_v33/methods/photos.uploadProfilePhoto.md index 337dcc21..18b2b4c6 100644 --- a/old_docs/API_docs_v33/methods/photos.uploadProfilePhoto.md +++ b/old_docs/API_docs_v33/methods/photos.uploadProfilePhoto.md @@ -19,7 +19,7 @@ Updates current user profile photo. |crop|[InputPhotoCrop](../types/InputPhotoCrop.md) | Cropping info | Yes| -### Return type: [photos\_Photo](../types/photos_Photo.md) +### Return type: [photos.Photo](../types/photos.Photo.md) ### Can bots use this method: **NO** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$photos_Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, 'caption' => 'string', 'geo_point' => InputGeoPoint, 'crop' => InputPhotoCrop, ]); +$photos.Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, 'caption' => 'string', 'geo_point' => InputGeoPoint, 'crop' => InputPhotoCrop, ]); ``` Or, if you're into Lua: ```lua -photos_Photo = photos.uploadProfilePhoto({file=InputFile, caption='string', geo_point=InputGeoPoint, crop=InputPhotoCrop, }) +photos.Photo = photos.uploadProfilePhoto({file=InputFile, caption='string', geo_point=InputGeoPoint, crop=InputPhotoCrop, }) ``` ### Errors diff --git a/old_docs/API_docs_v33/methods/updates.getDifference.md b/old_docs/API_docs_v33/methods/updates.getDifference.md index 57ea6d99..061a5c8f 100644 --- a/old_docs/API_docs_v33/methods/updates.getDifference.md +++ b/old_docs/API_docs_v33/methods/updates.getDifference.md @@ -18,7 +18,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz for more |qts|[int](../types/int.md) | You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates | Yes| -### Return type: [updates\_Difference](../types/updates_Difference.md) +### Return type: [updates.Difference](../types/updates.Difference.md) ### Can bots use this method: **YES** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$updates_Difference = $MadelineProto->updates->getDifference(['pts' => int, 'date' => int, 'qts' => int, ]); +$updates.Difference = $MadelineProto->updates->getDifference(['pts' => int, 'date' => int, 'qts' => int, ]); ``` Or, if you're into Lua: ```lua -updates_Difference = updates.getDifference({pts=int, date=int, qts=int, }) +updates.Difference = updates.getDifference({pts=int, date=int, qts=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v33/methods/updates.getState.md b/old_docs/API_docs_v33/methods/updates.getState.md index c591408a..9a7d2f34 100644 --- a/old_docs/API_docs_v33/methods/updates.getState.md +++ b/old_docs/API_docs_v33/methods/updates.getState.md @@ -11,7 +11,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz for more -### Return type: [updates\_State](../types/updates_State.md) +### Return type: [updates.State](../types/updates.State.md) ### Can bots use this method: **YES** @@ -28,13 +28,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$updates_State = $MadelineProto->updates->getState(); +$updates.State = $MadelineProto->updates->getState(); ``` Or, if you're into Lua: ```lua -updates_State = updates.getState({}) +updates.State = updates.getState({}) ``` ### Errors diff --git a/old_docs/API_docs_v33/methods/upload.getFile.md b/old_docs/API_docs_v33/methods/upload.getFile.md index 8aba03d4..ab9f4fe2 100644 --- a/old_docs/API_docs_v33/methods/upload.getFile.md +++ b/old_docs/API_docs_v33/methods/upload.getFile.md @@ -18,7 +18,7 @@ You cannot use this method directly, use the upload, downloadToStream, downloadT |limit|[int](../types/int.md) | You cannot use this method directly, use the upload, downloadToStream, downloadToFile, downloadToDir methods instead; see https://docs.madelineproto.xyz for more info | Yes| -### Return type: [upload\_File](../types/upload_File.md) +### Return type: [upload.File](../types/upload.File.md) ### Can bots use this method: **YES** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$upload_File = $MadelineProto->upload->getFile(['location' => InputFileLocation, 'offset' => int, 'limit' => int, ]); +$upload.File = $MadelineProto->upload->getFile(['location' => InputFileLocation, 'offset' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -upload_File = upload.getFile({location=InputFileLocation, offset=int, limit=int, }) +upload.File = upload.getFile({location=InputFileLocation, offset=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v33/types/AccountDaysTTL.md b/old_docs/API_docs_v33/types/AccountDaysTTL.md index 12a10190..f3494aac 100644 --- a/old_docs/API_docs_v33/types/AccountDaysTTL.md +++ b/old_docs/API_docs_v33/types/AccountDaysTTL.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->account->getAccountTTL](../methods/account_getAccountTTL.md) +[$MadelineProto->account->getAccountTTL](../methods/account.getAccountTTL.md) diff --git a/old_docs/API_docs_v33/types/ChatInvite.md b/old_docs/API_docs_v33/types/ChatInvite.md index 5022a2f0..9fafabb4 100644 --- a/old_docs/API_docs_v33/types/ChatInvite.md +++ b/old_docs/API_docs_v33/types/ChatInvite.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->checkChatInvite](../methods/messages_checkChatInvite.md) +[$MadelineProto->messages->checkChatInvite](../methods/messages.checkChatInvite.md) diff --git a/old_docs/API_docs_v33/types/Config.md b/old_docs/API_docs_v33/types/Config.md index 0f7fbe70..3a23b7b7 100644 --- a/old_docs/API_docs_v33/types/Config.md +++ b/old_docs/API_docs_v33/types/Config.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->help->getConfig](../methods/help_getConfig.md) +[$MadelineProto->help->getConfig](../methods/help.getConfig.md) diff --git a/old_docs/API_docs_v33/types/ContactStatus.md b/old_docs/API_docs_v33/types/ContactStatus.md index c5f5d658..30aee6e2 100644 --- a/old_docs/API_docs_v33/types/ContactStatus.md +++ b/old_docs/API_docs_v33/types/ContactStatus.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->contacts->getStatuses](../methods/contacts_getStatuses.md) +[$MadelineProto->contacts->getStatuses](../methods/contacts.getStatuses.md) diff --git a/old_docs/API_docs_v33/types/EncryptedChat.md b/old_docs/API_docs_v33/types/EncryptedChat.md index fd2277f6..19cf52b0 100644 --- a/old_docs/API_docs_v33/types/EncryptedChat.md +++ b/old_docs/API_docs_v33/types/EncryptedChat.md @@ -24,9 +24,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->requestEncryption](../methods/messages_requestEncryption.md) +[$MadelineProto->messages->requestEncryption](../methods/messages.requestEncryption.md) -[$MadelineProto->messages->acceptEncryption](../methods/messages_acceptEncryption.md) +[$MadelineProto->messages->acceptEncryption](../methods/messages.acceptEncryption.md) diff --git a/old_docs/API_docs_v33/types/ExportedChatInvite.md b/old_docs/API_docs_v33/types/ExportedChatInvite.md index 16a273d1..f5a43739 100644 --- a/old_docs/API_docs_v33/types/ExportedChatInvite.md +++ b/old_docs/API_docs_v33/types/ExportedChatInvite.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->exportChatInvite](../methods/messages_exportChatInvite.md) +[$MadelineProto->messages->exportChatInvite](../methods/messages.exportChatInvite.md) diff --git a/old_docs/API_docs_v33/types/MessageMedia.md b/old_docs/API_docs_v33/types/MessageMedia.md index 51c2f3c9..9c8475d7 100644 --- a/old_docs/API_docs_v33/types/MessageMedia.md +++ b/old_docs/API_docs_v33/types/MessageMedia.md @@ -34,7 +34,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getWebPagePreview](../methods/messages_getWebPagePreview.md) +[$MadelineProto->messages->getWebPagePreview](../methods/messages.getWebPagePreview.md) diff --git a/old_docs/API_docs_v33/types/NearestDc.md b/old_docs/API_docs_v33/types/NearestDc.md index 31f24377..296a4dff 100644 --- a/old_docs/API_docs_v33/types/NearestDc.md +++ b/old_docs/API_docs_v33/types/NearestDc.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->help->getNearestDc](../methods/help_getNearestDc.md) +[$MadelineProto->help->getNearestDc](../methods/help.getNearestDc.md) diff --git a/old_docs/API_docs_v33/types/PeerNotifySettings.md b/old_docs/API_docs_v33/types/PeerNotifySettings.md index 769de075..3d72b7c5 100644 --- a/old_docs/API_docs_v33/types/PeerNotifySettings.md +++ b/old_docs/API_docs_v33/types/PeerNotifySettings.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->account->getNotifySettings](../methods/account_getNotifySettings.md) +[$MadelineProto->account->getNotifySettings](../methods/account.getNotifySettings.md) diff --git a/old_docs/API_docs_v33/types/README.md b/old_docs/API_docs_v33/types/README.md index 320e0f32..7e9b156c 100644 --- a/old_docs/API_docs_v33/types/README.md +++ b/old_docs/API_docs_v33/types/README.md @@ -185,93 +185,93 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png [X](X.md) -[account\_Authorizations](account_Authorizations.md) +[account.Authorizations](account.Authorizations.md) -[account\_Password](account_Password.md) +[account.Password](account.Password.md) -[account\_PasswordInputSettings](account_PasswordInputSettings.md) +[account.PasswordInputSettings](account.PasswordInputSettings.md) -[account\_PasswordSettings](account_PasswordSettings.md) +[account.PasswordSettings](account.PasswordSettings.md) -[account\_PrivacyRules](account_PrivacyRules.md) +[account.PrivacyRules](account.PrivacyRules.md) -[account\_SentChangePhoneCode](account_SentChangePhoneCode.md) +[account.SentChangePhoneCode](account.SentChangePhoneCode.md) -[auth\_Authorization](auth_Authorization.md) +[auth.Authorization](auth.Authorization.md) -[auth\_CheckedPhone](auth_CheckedPhone.md) +[auth.CheckedPhone](auth.CheckedPhone.md) -[auth\_ExportedAuthorization](auth_ExportedAuthorization.md) +[auth.ExportedAuthorization](auth.ExportedAuthorization.md) -[auth\_PasswordRecovery](auth_PasswordRecovery.md) +[auth.PasswordRecovery](auth.PasswordRecovery.md) -[auth\_SentCode](auth_SentCode.md) +[auth.SentCode](auth.SentCode.md) -[contacts\_Blocked](contacts_Blocked.md) +[contacts.Blocked](contacts.Blocked.md) -[contacts\_Contacts](contacts_Contacts.md) +[contacts.Contacts](contacts.Contacts.md) -[contacts\_Found](contacts_Found.md) +[contacts.Found](contacts.Found.md) -[contacts\_ImportedContacts](contacts_ImportedContacts.md) +[contacts.ImportedContacts](contacts.ImportedContacts.md) -[contacts\_Link](contacts_Link.md) +[contacts.Link](contacts.Link.md) -[contacts\_Suggested](contacts_Suggested.md) +[contacts.Suggested](contacts.Suggested.md) -[geochats\_Located](geochats_Located.md) +[geochats.Located](geochats.Located.md) -[geochats\_Messages](geochats_Messages.md) +[geochats.Messages](geochats.Messages.md) -[geochats\_StatedMessage](geochats_StatedMessage.md) +[geochats.StatedMessage](geochats.StatedMessage.md) -[help\_AppChangelog](help_AppChangelog.md) +[help.AppChangelog](help.AppChangelog.md) -[help\_AppUpdate](help_AppUpdate.md) +[help.AppUpdate](help.AppUpdate.md) -[help\_InviteText](help_InviteText.md) +[help.InviteText](help.InviteText.md) -[help\_Support](help_Support.md) +[help.Support](help.Support.md) [int](int.md) [long](long.md) -[messages\_AffectedHistory](messages_AffectedHistory.md) +[messages.AffectedHistory](messages.AffectedHistory.md) -[messages\_AffectedMessages](messages_AffectedMessages.md) +[messages.AffectedMessages](messages.AffectedMessages.md) -[messages\_AllStickers](messages_AllStickers.md) +[messages.AllStickers](messages.AllStickers.md) -[messages\_ChatFull](messages_ChatFull.md) +[messages.ChatFull](messages.ChatFull.md) -[messages\_Chats](messages_Chats.md) +[messages.Chats](messages.Chats.md) -[messages\_DhConfig](messages_DhConfig.md) +[messages.DhConfig](messages.DhConfig.md) -[messages\_Dialogs](messages_Dialogs.md) +[messages.Dialogs](messages.Dialogs.md) -[messages\_Message](messages_Message.md) +[messages.Message](messages.Message.md) -[messages\_Messages](messages_Messages.md) +[messages.Messages](messages.Messages.md) -[messages\_SentEncryptedMessage](messages_SentEncryptedMessage.md) +[messages.SentEncryptedMessage](messages.SentEncryptedMessage.md) -[messages\_SentMessage](messages_SentMessage.md) +[messages.SentMessage](messages.SentMessage.md) -[messages\_StickerSet](messages_StickerSet.md) +[messages.StickerSet](messages.StickerSet.md) -[messages\_Stickers](messages_Stickers.md) +[messages.Stickers](messages.Stickers.md) -[photos\_Photo](photos_Photo.md) +[photos.Photo](photos.Photo.md) -[photos\_Photos](photos_Photos.md) +[photos.Photos](photos.Photos.md) -[storage\_FileType](storage_FileType.md) +[storage.FileType](storage.FileType.md) -[updates\_Difference](updates_Difference.md) +[updates.Difference](updates.Difference.md) -[updates\_State](updates_State.md) +[updates.State](updates.State.md) -[upload\_File](upload_File.md) +[upload.File](upload.File.md) diff --git a/old_docs/API_docs_v33/types/ReceivedNotifyMessage.md b/old_docs/API_docs_v33/types/ReceivedNotifyMessage.md index c7fc3b8c..416aa275 100644 --- a/old_docs/API_docs_v33/types/ReceivedNotifyMessage.md +++ b/old_docs/API_docs_v33/types/ReceivedNotifyMessage.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->receivedMessages](../methods/messages_receivedMessages.md) +[$MadelineProto->messages->receivedMessages](../methods/messages.receivedMessages.md) diff --git a/old_docs/API_docs_v33/types/Updates.md b/old_docs/API_docs_v33/types/Updates.md index 3193074f..08c69033 100644 --- a/old_docs/API_docs_v33/types/Updates.md +++ b/old_docs/API_docs_v33/types/Updates.md @@ -26,27 +26,27 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->sendMedia](../methods/messages_sendMedia.md) +[$MadelineProto->messages->sendMedia](../methods/messages.sendMedia.md) -[$MadelineProto->messages->forwardMessages](../methods/messages_forwardMessages.md) +[$MadelineProto->messages->forwardMessages](../methods/messages.forwardMessages.md) -[$MadelineProto->messages->editChatTitle](../methods/messages_editChatTitle.md) +[$MadelineProto->messages->editChatTitle](../methods/messages.editChatTitle.md) -[$MadelineProto->messages->editChatPhoto](../methods/messages_editChatPhoto.md) +[$MadelineProto->messages->editChatPhoto](../methods/messages.editChatPhoto.md) -[$MadelineProto->messages->addChatUser](../methods/messages_addChatUser.md) +[$MadelineProto->messages->addChatUser](../methods/messages.addChatUser.md) -[$MadelineProto->messages->deleteChatUser](../methods/messages_deleteChatUser.md) +[$MadelineProto->messages->deleteChatUser](../methods/messages.deleteChatUser.md) -[$MadelineProto->messages->createChat](../methods/messages_createChat.md) +[$MadelineProto->messages->createChat](../methods/messages.createChat.md) -[$MadelineProto->messages->forwardMessage](../methods/messages_forwardMessage.md) +[$MadelineProto->messages->forwardMessage](../methods/messages.forwardMessage.md) -[$MadelineProto->messages->sendBroadcast](../methods/messages_sendBroadcast.md) +[$MadelineProto->messages->sendBroadcast](../methods/messages.sendBroadcast.md) -[$MadelineProto->messages->importChatInvite](../methods/messages_importChatInvite.md) +[$MadelineProto->messages->importChatInvite](../methods/messages.importChatInvite.md) -[$MadelineProto->messages->startBot](../methods/messages_startBot.md) +[$MadelineProto->messages->startBot](../methods/messages.startBot.md) diff --git a/old_docs/API_docs_v33/types/User.md b/old_docs/API_docs_v33/types/User.md index d82488f8..ab0bc88e 100644 --- a/old_docs/API_docs_v33/types/User.md +++ b/old_docs/API_docs_v33/types/User.md @@ -42,17 +42,17 @@ A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDia ### Methods that return an object of this type (methods): -[$MadelineProto->account->updateProfile](../methods/account_updateProfile.md) +[$MadelineProto->account->updateProfile](../methods/account.updateProfile.md) -[$MadelineProto->users->getUsers](../methods/users_getUsers.md) +[$MadelineProto->users->getUsers](../methods/users.getUsers.md) -[$MadelineProto->contacts->importCard](../methods/contacts_importCard.md) +[$MadelineProto->contacts->importCard](../methods/contacts.importCard.md) -[$MadelineProto->account->updateUsername](../methods/account_updateUsername.md) +[$MadelineProto->account->updateUsername](../methods/account.updateUsername.md) -[$MadelineProto->contacts->resolveUsername](../methods/contacts_resolveUsername.md) +[$MadelineProto->contacts->resolveUsername](../methods/contacts.resolveUsername.md) -[$MadelineProto->account->changePhone](../methods/account_changePhone.md) +[$MadelineProto->account->changePhone](../methods/account.changePhone.md) diff --git a/old_docs/API_docs_v33/types/UserFull.md b/old_docs/API_docs_v33/types/UserFull.md index 79ad30bb..ac50052f 100644 --- a/old_docs/API_docs_v33/types/UserFull.md +++ b/old_docs/API_docs_v33/types/UserFull.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->users->getFullUser](../methods/users_getFullUser.md) +[$MadelineProto->users->getFullUser](../methods/users.getFullUser.md) diff --git a/old_docs/API_docs_v33/types/UserProfilePhoto.md b/old_docs/API_docs_v33/types/UserProfilePhoto.md index e5243a2e..e81e92fd 100644 --- a/old_docs/API_docs_v33/types/UserProfilePhoto.md +++ b/old_docs/API_docs_v33/types/UserProfilePhoto.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->photos->updateProfilePhoto](../methods/photos_updateProfilePhoto.md) +[$MadelineProto->photos->updateProfilePhoto](../methods/photos.updateProfilePhoto.md) diff --git a/old_docs/API_docs_v33/types/WallPaper.md b/old_docs/API_docs_v33/types/WallPaper.md index 8c5ac7cf..45337565 100644 --- a/old_docs/API_docs_v33/types/WallPaper.md +++ b/old_docs/API_docs_v33/types/WallPaper.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->account->getWallPapers](../methods/account_getWallPapers.md) +[$MadelineProto->account->getWallPapers](../methods/account.getWallPapers.md) diff --git a/old_docs/API_docs_v33/types/account.Authorizations.md b/old_docs/API_docs_v33/types/account.Authorizations.md new file mode 100644 index 00000000..f9112038 --- /dev/null +++ b/old_docs/API_docs_v33/types/account.Authorizations.md @@ -0,0 +1,22 @@ +--- +title: account.Authorizations +description: constructors and methods of type account.Authorizations +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.Authorizations +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.authorizations](../constructors/account.authorizations.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getAuthorizations](../methods/account.getAuthorizations.md) + + + diff --git a/old_docs/API_docs_v33/types/account.Password.md b/old_docs/API_docs_v33/types/account.Password.md new file mode 100644 index 00000000..5217ab5e --- /dev/null +++ b/old_docs/API_docs_v33/types/account.Password.md @@ -0,0 +1,24 @@ +--- +title: account.Password +description: constructors and methods of type account.Password +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.Password +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.noPassword](../constructors/account.noPassword.md) + +[account.password](../constructors/account.password.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getPassword](../methods/account.getPassword.md) + + + diff --git a/old_docs/API_docs_v33/types/account.PasswordInputSettings.md b/old_docs/API_docs_v33/types/account.PasswordInputSettings.md new file mode 100644 index 00000000..72e11fdc --- /dev/null +++ b/old_docs/API_docs_v33/types/account.PasswordInputSettings.md @@ -0,0 +1,20 @@ +--- +title: account.PasswordInputSettings +description: constructors and methods of type account.PasswordInputSettings +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.PasswordInputSettings +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.passwordInputSettings](../constructors/account.passwordInputSettings.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v33/types/account.PasswordSettings.md b/old_docs/API_docs_v33/types/account.PasswordSettings.md new file mode 100644 index 00000000..47016832 --- /dev/null +++ b/old_docs/API_docs_v33/types/account.PasswordSettings.md @@ -0,0 +1,22 @@ +--- +title: account.PasswordSettings +description: constructors and methods of type account.PasswordSettings +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.PasswordSettings +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.passwordSettings](../constructors/account.passwordSettings.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getPasswordSettings](../methods/account.getPasswordSettings.md) + + + diff --git a/old_docs/API_docs_v33/types/account.PrivacyRules.md b/old_docs/API_docs_v33/types/account.PrivacyRules.md new file mode 100644 index 00000000..738651ad --- /dev/null +++ b/old_docs/API_docs_v33/types/account.PrivacyRules.md @@ -0,0 +1,24 @@ +--- +title: account.PrivacyRules +description: constructors and methods of type account.PrivacyRules +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.PrivacyRules +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.privacyRules](../constructors/account.privacyRules.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getPrivacy](../methods/account.getPrivacy.md) + +[$MadelineProto->account->setPrivacy](../methods/account.setPrivacy.md) + + + diff --git a/old_docs/API_docs_v33/types/account.SentChangePhoneCode.md b/old_docs/API_docs_v33/types/account.SentChangePhoneCode.md new file mode 100644 index 00000000..659b0feb --- /dev/null +++ b/old_docs/API_docs_v33/types/account.SentChangePhoneCode.md @@ -0,0 +1,22 @@ +--- +title: account.SentChangePhoneCode +description: constructors and methods of type account.SentChangePhoneCode +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.SentChangePhoneCode +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.sentChangePhoneCode](../constructors/account.sentChangePhoneCode.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->sendChangePhoneCode](../methods/account.sendChangePhoneCode.md) + + + diff --git a/old_docs/API_docs_v33/types/account_Authorizations.md b/old_docs/API_docs_v33/types/account_Authorizations.md deleted file mode 100644 index 4709ddb5..00000000 --- a/old_docs/API_docs_v33/types/account_Authorizations.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_Authorizations -description: constructors and methods of type account_Authorizations -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_Authorizations -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_authorizations](../constructors/account_authorizations.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getAuthorizations](../methods/account_getAuthorizations.md) - - - diff --git a/old_docs/API_docs_v33/types/account_Password.md b/old_docs/API_docs_v33/types/account_Password.md deleted file mode 100644 index 23e05987..00000000 --- a/old_docs/API_docs_v33/types/account_Password.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: account_Password -description: constructors and methods of type account_Password -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_Password -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_noPassword](../constructors/account_noPassword.md) - -[account\_password](../constructors/account_password.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getPassword](../methods/account_getPassword.md) - - - diff --git a/old_docs/API_docs_v33/types/account_PasswordInputSettings.md b/old_docs/API_docs_v33/types/account_PasswordInputSettings.md deleted file mode 100644 index a6455eb8..00000000 --- a/old_docs/API_docs_v33/types/account_PasswordInputSettings.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: account_PasswordInputSettings -description: constructors and methods of type account_PasswordInputSettings -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_PasswordInputSettings -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_passwordInputSettings](../constructors/account_passwordInputSettings.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v33/types/account_PasswordSettings.md b/old_docs/API_docs_v33/types/account_PasswordSettings.md deleted file mode 100644 index 687eb217..00000000 --- a/old_docs/API_docs_v33/types/account_PasswordSettings.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_PasswordSettings -description: constructors and methods of type account_PasswordSettings -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_PasswordSettings -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_passwordSettings](../constructors/account_passwordSettings.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getPasswordSettings](../methods/account_getPasswordSettings.md) - - - diff --git a/old_docs/API_docs_v33/types/account_PrivacyRules.md b/old_docs/API_docs_v33/types/account_PrivacyRules.md deleted file mode 100644 index 40b00077..00000000 --- a/old_docs/API_docs_v33/types/account_PrivacyRules.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: account_PrivacyRules -description: constructors and methods of type account_PrivacyRules -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_PrivacyRules -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_privacyRules](../constructors/account_privacyRules.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getPrivacy](../methods/account_getPrivacy.md) - -[$MadelineProto->account->setPrivacy](../methods/account_setPrivacy.md) - - - diff --git a/old_docs/API_docs_v33/types/account_SentChangePhoneCode.md b/old_docs/API_docs_v33/types/account_SentChangePhoneCode.md deleted file mode 100644 index ead3e28c..00000000 --- a/old_docs/API_docs_v33/types/account_SentChangePhoneCode.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_SentChangePhoneCode -description: constructors and methods of type account_SentChangePhoneCode -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_SentChangePhoneCode -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_sentChangePhoneCode](../constructors/account_sentChangePhoneCode.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->sendChangePhoneCode](../methods/account_sendChangePhoneCode.md) - - - diff --git a/old_docs/API_docs_v33/types/auth.Authorization.md b/old_docs/API_docs_v33/types/auth.Authorization.md new file mode 100644 index 00000000..adcfa7d3 --- /dev/null +++ b/old_docs/API_docs_v33/types/auth.Authorization.md @@ -0,0 +1,32 @@ +--- +title: auth.Authorization +description: constructors and methods of type auth.Authorization +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.Authorization +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.authorization](../constructors/auth.authorization.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->signUp](../methods/auth.signUp.md) + +[$MadelineProto->auth->signIn](../methods/auth.signIn.md) + +[$MadelineProto->auth->importAuthorization](../methods/auth.importAuthorization.md) + +[$MadelineProto->auth->importBotAuthorization](../methods/auth.importBotAuthorization.md) + +[$MadelineProto->auth->checkPassword](../methods/auth.checkPassword.md) + +[$MadelineProto->auth->recoverPassword](../methods/auth.recoverPassword.md) + + + diff --git a/old_docs/API_docs_v33/types/auth.CheckedPhone.md b/old_docs/API_docs_v33/types/auth.CheckedPhone.md new file mode 100644 index 00000000..94af3915 --- /dev/null +++ b/old_docs/API_docs_v33/types/auth.CheckedPhone.md @@ -0,0 +1,22 @@ +--- +title: auth.CheckedPhone +description: constructors and methods of type auth.CheckedPhone +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.CheckedPhone +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.checkedPhone](../constructors/auth.checkedPhone.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->checkPhone](../methods/auth.checkPhone.md) + + + diff --git a/old_docs/API_docs_v33/types/auth.ExportedAuthorization.md b/old_docs/API_docs_v33/types/auth.ExportedAuthorization.md new file mode 100644 index 00000000..ccb38d60 --- /dev/null +++ b/old_docs/API_docs_v33/types/auth.ExportedAuthorization.md @@ -0,0 +1,22 @@ +--- +title: auth.ExportedAuthorization +description: constructors and methods of type auth.ExportedAuthorization +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.ExportedAuthorization +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.exportedAuthorization](../constructors/auth.exportedAuthorization.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->exportAuthorization](../methods/auth.exportAuthorization.md) + + + diff --git a/old_docs/API_docs_v33/types/auth.PasswordRecovery.md b/old_docs/API_docs_v33/types/auth.PasswordRecovery.md new file mode 100644 index 00000000..c1c18992 --- /dev/null +++ b/old_docs/API_docs_v33/types/auth.PasswordRecovery.md @@ -0,0 +1,22 @@ +--- +title: auth.PasswordRecovery +description: constructors and methods of type auth.PasswordRecovery +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.PasswordRecovery +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.passwordRecovery](../constructors/auth.passwordRecovery.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->requestPasswordRecovery](../methods/auth.requestPasswordRecovery.md) + + + diff --git a/old_docs/API_docs_v33/types/auth.SentCode.md b/old_docs/API_docs_v33/types/auth.SentCode.md new file mode 100644 index 00000000..9fd32a73 --- /dev/null +++ b/old_docs/API_docs_v33/types/auth.SentCode.md @@ -0,0 +1,24 @@ +--- +title: auth.SentCode +description: constructors and methods of type auth.SentCode +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.SentCode +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.sentCode](../constructors/auth.sentCode.md) + +[auth.sentAppCode](../constructors/auth.sentAppCode.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->sendCode](../methods/auth.sendCode.md) + + + diff --git a/old_docs/API_docs_v33/types/auth_Authorization.md b/old_docs/API_docs_v33/types/auth_Authorization.md deleted file mode 100644 index 5a34fc2d..00000000 --- a/old_docs/API_docs_v33/types/auth_Authorization.md +++ /dev/null @@ -1,32 +0,0 @@ ---- -title: auth_Authorization -description: constructors and methods of type auth_Authorization -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_Authorization -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_authorization](../constructors/auth_authorization.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->signUp](../methods/auth_signUp.md) - -[$MadelineProto->auth->signIn](../methods/auth_signIn.md) - -[$MadelineProto->auth->importAuthorization](../methods/auth_importAuthorization.md) - -[$MadelineProto->auth->importBotAuthorization](../methods/auth_importBotAuthorization.md) - -[$MadelineProto->auth->checkPassword](../methods/auth_checkPassword.md) - -[$MadelineProto->auth->recoverPassword](../methods/auth_recoverPassword.md) - - - diff --git a/old_docs/API_docs_v33/types/auth_CheckedPhone.md b/old_docs/API_docs_v33/types/auth_CheckedPhone.md deleted file mode 100644 index e9b0def4..00000000 --- a/old_docs/API_docs_v33/types/auth_CheckedPhone.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: auth_CheckedPhone -description: constructors and methods of type auth_CheckedPhone -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_CheckedPhone -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_checkedPhone](../constructors/auth_checkedPhone.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->checkPhone](../methods/auth_checkPhone.md) - - - diff --git a/old_docs/API_docs_v33/types/auth_ExportedAuthorization.md b/old_docs/API_docs_v33/types/auth_ExportedAuthorization.md deleted file mode 100644 index 69e5c42e..00000000 --- a/old_docs/API_docs_v33/types/auth_ExportedAuthorization.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: auth_ExportedAuthorization -description: constructors and methods of type auth_ExportedAuthorization -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_ExportedAuthorization -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_exportedAuthorization](../constructors/auth_exportedAuthorization.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->exportAuthorization](../methods/auth_exportAuthorization.md) - - - diff --git a/old_docs/API_docs_v33/types/auth_PasswordRecovery.md b/old_docs/API_docs_v33/types/auth_PasswordRecovery.md deleted file mode 100644 index 4962bf42..00000000 --- a/old_docs/API_docs_v33/types/auth_PasswordRecovery.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: auth_PasswordRecovery -description: constructors and methods of type auth_PasswordRecovery -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_PasswordRecovery -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_passwordRecovery](../constructors/auth_passwordRecovery.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->requestPasswordRecovery](../methods/auth_requestPasswordRecovery.md) - - - diff --git a/old_docs/API_docs_v33/types/auth_SentCode.md b/old_docs/API_docs_v33/types/auth_SentCode.md deleted file mode 100644 index 85b8d351..00000000 --- a/old_docs/API_docs_v33/types/auth_SentCode.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: auth_SentCode -description: constructors and methods of type auth_SentCode -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_SentCode -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_sentCode](../constructors/auth_sentCode.md) - -[auth\_sentAppCode](../constructors/auth_sentAppCode.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->sendCode](../methods/auth_sendCode.md) - - - diff --git a/old_docs/API_docs_v33/types/contacts.Blocked.md b/old_docs/API_docs_v33/types/contacts.Blocked.md new file mode 100644 index 00000000..cb2af80f --- /dev/null +++ b/old_docs/API_docs_v33/types/contacts.Blocked.md @@ -0,0 +1,24 @@ +--- +title: contacts.Blocked +description: constructors and methods of type contacts.Blocked +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Blocked +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.blocked](../constructors/contacts.blocked.md) + +[contacts.blockedSlice](../constructors/contacts.blockedSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getBlocked](../methods/contacts.getBlocked.md) + + + diff --git a/old_docs/API_docs_v33/types/contacts.Contacts.md b/old_docs/API_docs_v33/types/contacts.Contacts.md new file mode 100644 index 00000000..5f695d8e --- /dev/null +++ b/old_docs/API_docs_v33/types/contacts.Contacts.md @@ -0,0 +1,24 @@ +--- +title: contacts.Contacts +description: constructors and methods of type contacts.Contacts +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Contacts +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.contactsNotModified](../constructors/contacts.contactsNotModified.md) + +[contacts.contacts](../constructors/contacts.contacts.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getContacts](../methods/contacts.getContacts.md) + + + diff --git a/old_docs/API_docs_v33/types/contacts.Found.md b/old_docs/API_docs_v33/types/contacts.Found.md new file mode 100644 index 00000000..7df98927 --- /dev/null +++ b/old_docs/API_docs_v33/types/contacts.Found.md @@ -0,0 +1,22 @@ +--- +title: contacts.Found +description: constructors and methods of type contacts.Found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Found +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.found](../constructors/contacts.found.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->search](../methods/contacts.search.md) + + + diff --git a/old_docs/API_docs_v33/types/contacts.ImportedContacts.md b/old_docs/API_docs_v33/types/contacts.ImportedContacts.md new file mode 100644 index 00000000..16795bab --- /dev/null +++ b/old_docs/API_docs_v33/types/contacts.ImportedContacts.md @@ -0,0 +1,22 @@ +--- +title: contacts.ImportedContacts +description: constructors and methods of type contacts.ImportedContacts +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.ImportedContacts +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.importedContacts](../constructors/contacts.importedContacts.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->importContacts](../methods/contacts.importContacts.md) + + + diff --git a/old_docs/API_docs_v33/types/contacts.Link.md b/old_docs/API_docs_v33/types/contacts.Link.md new file mode 100644 index 00000000..eb9da683 --- /dev/null +++ b/old_docs/API_docs_v33/types/contacts.Link.md @@ -0,0 +1,22 @@ +--- +title: contacts.Link +description: constructors and methods of type contacts.Link +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Link +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.link](../constructors/contacts.link.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->deleteContact](../methods/contacts.deleteContact.md) + + + diff --git a/old_docs/API_docs_v33/types/contacts.Suggested.md b/old_docs/API_docs_v33/types/contacts.Suggested.md new file mode 100644 index 00000000..a462dae5 --- /dev/null +++ b/old_docs/API_docs_v33/types/contacts.Suggested.md @@ -0,0 +1,22 @@ +--- +title: contacts.Suggested +description: constructors and methods of type contacts.Suggested +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Suggested +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.suggested](../constructors/contacts.suggested.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getSuggested](../methods/contacts.getSuggested.md) + + + diff --git a/old_docs/API_docs_v33/types/contacts_Blocked.md b/old_docs/API_docs_v33/types/contacts_Blocked.md deleted file mode 100644 index 3e1f02eb..00000000 --- a/old_docs/API_docs_v33/types/contacts_Blocked.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: contacts_Blocked -description: constructors and methods of type contacts_Blocked -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Blocked -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_blocked](../constructors/contacts_blocked.md) - -[contacts\_blockedSlice](../constructors/contacts_blockedSlice.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->getBlocked](../methods/contacts_getBlocked.md) - - - diff --git a/old_docs/API_docs_v33/types/contacts_Contacts.md b/old_docs/API_docs_v33/types/contacts_Contacts.md deleted file mode 100644 index 5d6c9506..00000000 --- a/old_docs/API_docs_v33/types/contacts_Contacts.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: contacts_Contacts -description: constructors and methods of type contacts_Contacts -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Contacts -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_contactsNotModified](../constructors/contacts_contactsNotModified.md) - -[contacts\_contacts](../constructors/contacts_contacts.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->getContacts](../methods/contacts_getContacts.md) - - - diff --git a/old_docs/API_docs_v33/types/contacts_Found.md b/old_docs/API_docs_v33/types/contacts_Found.md deleted file mode 100644 index 806101cf..00000000 --- a/old_docs/API_docs_v33/types/contacts_Found.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_Found -description: constructors and methods of type contacts_Found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Found -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_found](../constructors/contacts_found.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->search](../methods/contacts_search.md) - - - diff --git a/old_docs/API_docs_v33/types/contacts_ImportedContacts.md b/old_docs/API_docs_v33/types/contacts_ImportedContacts.md deleted file mode 100644 index faf7e615..00000000 --- a/old_docs/API_docs_v33/types/contacts_ImportedContacts.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_ImportedContacts -description: constructors and methods of type contacts_ImportedContacts -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_ImportedContacts -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_importedContacts](../constructors/contacts_importedContacts.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->importContacts](../methods/contacts_importContacts.md) - - - diff --git a/old_docs/API_docs_v33/types/contacts_Link.md b/old_docs/API_docs_v33/types/contacts_Link.md deleted file mode 100644 index 01556606..00000000 --- a/old_docs/API_docs_v33/types/contacts_Link.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_Link -description: constructors and methods of type contacts_Link -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Link -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_link](../constructors/contacts_link.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->deleteContact](../methods/contacts_deleteContact.md) - - - diff --git a/old_docs/API_docs_v33/types/contacts_Suggested.md b/old_docs/API_docs_v33/types/contacts_Suggested.md deleted file mode 100644 index dd597b3b..00000000 --- a/old_docs/API_docs_v33/types/contacts_Suggested.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_Suggested -description: constructors and methods of type contacts_Suggested -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Suggested -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_suggested](../constructors/contacts_suggested.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->getSuggested](../methods/contacts_getSuggested.md) - - - diff --git a/old_docs/API_docs_v33/types/geochats.Located.md b/old_docs/API_docs_v33/types/geochats.Located.md new file mode 100644 index 00000000..d859711a --- /dev/null +++ b/old_docs/API_docs_v33/types/geochats.Located.md @@ -0,0 +1,22 @@ +--- +title: geochats.Located +description: constructors and methods of type geochats.Located +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: geochats.Located +[Back to types index](index.md) + + + +### Possible values (constructors): + +[geochats.located](../constructors/geochats.located.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->geochats->getLocated](../methods/geochats.getLocated.md) + + + diff --git a/old_docs/API_docs_v33/types/geochats.Messages.md b/old_docs/API_docs_v33/types/geochats.Messages.md new file mode 100644 index 00000000..82d2df9a --- /dev/null +++ b/old_docs/API_docs_v33/types/geochats.Messages.md @@ -0,0 +1,28 @@ +--- +title: geochats.Messages +description: constructors and methods of type geochats.Messages +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: geochats.Messages +[Back to types index](index.md) + + + +### Possible values (constructors): + +[geochats.messages](../constructors/geochats.messages.md) + +[geochats.messagesSlice](../constructors/geochats.messagesSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->geochats->getRecents](../methods/geochats.getRecents.md) + +[$MadelineProto->geochats->search](../methods/geochats.search.md) + +[$MadelineProto->geochats->getHistory](../methods/geochats.getHistory.md) + + + diff --git a/old_docs/API_docs_v33/types/geochats.StatedMessage.md b/old_docs/API_docs_v33/types/geochats.StatedMessage.md new file mode 100644 index 00000000..cd9f4e25 --- /dev/null +++ b/old_docs/API_docs_v33/types/geochats.StatedMessage.md @@ -0,0 +1,32 @@ +--- +title: geochats.StatedMessage +description: constructors and methods of type geochats.StatedMessage +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: geochats.StatedMessage +[Back to types index](index.md) + + + +### Possible values (constructors): + +[geochats.statedMessage](../constructors/geochats.statedMessage.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->geochats->checkin](../methods/geochats.checkin.md) + +[$MadelineProto->geochats->editChatTitle](../methods/geochats.editChatTitle.md) + +[$MadelineProto->geochats->editChatPhoto](../methods/geochats.editChatPhoto.md) + +[$MadelineProto->geochats->sendMessage](../methods/geochats.sendMessage.md) + +[$MadelineProto->geochats->sendMedia](../methods/geochats.sendMedia.md) + +[$MadelineProto->geochats->createGeoChat](../methods/geochats.createGeoChat.md) + + + diff --git a/old_docs/API_docs_v33/types/geochats_Located.md b/old_docs/API_docs_v33/types/geochats_Located.md deleted file mode 100644 index 68c2360e..00000000 --- a/old_docs/API_docs_v33/types/geochats_Located.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: geochats_Located -description: constructors and methods of type geochats_Located -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: geochats\_Located -[Back to types index](index.md) - - - -### Possible values (constructors): - -[geochats\_located](../constructors/geochats_located.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->geochats->getLocated](../methods/geochats_getLocated.md) - - - diff --git a/old_docs/API_docs_v33/types/geochats_Messages.md b/old_docs/API_docs_v33/types/geochats_Messages.md deleted file mode 100644 index f71ffa88..00000000 --- a/old_docs/API_docs_v33/types/geochats_Messages.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: geochats_Messages -description: constructors and methods of type geochats_Messages -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: geochats\_Messages -[Back to types index](index.md) - - - -### Possible values (constructors): - -[geochats\_messages](../constructors/geochats_messages.md) - -[geochats\_messagesSlice](../constructors/geochats_messagesSlice.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->geochats->getRecents](../methods/geochats_getRecents.md) - -[$MadelineProto->geochats->search](../methods/geochats_search.md) - -[$MadelineProto->geochats->getHistory](../methods/geochats_getHistory.md) - - - diff --git a/old_docs/API_docs_v33/types/geochats_StatedMessage.md b/old_docs/API_docs_v33/types/geochats_StatedMessage.md deleted file mode 100644 index 18a86c75..00000000 --- a/old_docs/API_docs_v33/types/geochats_StatedMessage.md +++ /dev/null @@ -1,32 +0,0 @@ ---- -title: geochats_StatedMessage -description: constructors and methods of type geochats_StatedMessage -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: geochats\_StatedMessage -[Back to types index](index.md) - - - -### Possible values (constructors): - -[geochats\_statedMessage](../constructors/geochats_statedMessage.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->geochats->checkin](../methods/geochats_checkin.md) - -[$MadelineProto->geochats->editChatTitle](../methods/geochats_editChatTitle.md) - -[$MadelineProto->geochats->editChatPhoto](../methods/geochats_editChatPhoto.md) - -[$MadelineProto->geochats->sendMessage](../methods/geochats_sendMessage.md) - -[$MadelineProto->geochats->sendMedia](../methods/geochats_sendMedia.md) - -[$MadelineProto->geochats->createGeoChat](../methods/geochats_createGeoChat.md) - - - diff --git a/old_docs/API_docs_v33/types/help.AppChangelog.md b/old_docs/API_docs_v33/types/help.AppChangelog.md new file mode 100644 index 00000000..71584fdc --- /dev/null +++ b/old_docs/API_docs_v33/types/help.AppChangelog.md @@ -0,0 +1,24 @@ +--- +title: help.AppChangelog +description: constructors and methods of type help.AppChangelog +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.AppChangelog +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.appChangelogEmpty](../constructors/help.appChangelogEmpty.md) + +[help.appChangelog](../constructors/help.appChangelog.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getAppChangelog](../methods/help.getAppChangelog.md) + + + diff --git a/old_docs/API_docs_v33/types/help.AppUpdate.md b/old_docs/API_docs_v33/types/help.AppUpdate.md new file mode 100644 index 00000000..285ec2b7 --- /dev/null +++ b/old_docs/API_docs_v33/types/help.AppUpdate.md @@ -0,0 +1,24 @@ +--- +title: help.AppUpdate +description: constructors and methods of type help.AppUpdate +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.AppUpdate +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.appUpdate](../constructors/help.appUpdate.md) + +[help.noAppUpdate](../constructors/help.noAppUpdate.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getAppUpdate](../methods/help.getAppUpdate.md) + + + diff --git a/old_docs/API_docs_v33/types/help.InviteText.md b/old_docs/API_docs_v33/types/help.InviteText.md new file mode 100644 index 00000000..43293f46 --- /dev/null +++ b/old_docs/API_docs_v33/types/help.InviteText.md @@ -0,0 +1,22 @@ +--- +title: help.InviteText +description: constructors and methods of type help.InviteText +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.InviteText +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.inviteText](../constructors/help.inviteText.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getInviteText](../methods/help.getInviteText.md) + + + diff --git a/old_docs/API_docs_v33/types/help.Support.md b/old_docs/API_docs_v33/types/help.Support.md new file mode 100644 index 00000000..42c20483 --- /dev/null +++ b/old_docs/API_docs_v33/types/help.Support.md @@ -0,0 +1,22 @@ +--- +title: help.Support +description: constructors and methods of type help.Support +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.Support +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.support](../constructors/help.support.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getSupport](../methods/help.getSupport.md) + + + diff --git a/old_docs/API_docs_v33/types/help_AppChangelog.md b/old_docs/API_docs_v33/types/help_AppChangelog.md deleted file mode 100644 index 350cb644..00000000 --- a/old_docs/API_docs_v33/types/help_AppChangelog.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: help_AppChangelog -description: constructors and methods of type help_AppChangelog -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_AppChangelog -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_appChangelogEmpty](../constructors/help_appChangelogEmpty.md) - -[help\_appChangelog](../constructors/help_appChangelog.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getAppChangelog](../methods/help_getAppChangelog.md) - - - diff --git a/old_docs/API_docs_v33/types/help_AppUpdate.md b/old_docs/API_docs_v33/types/help_AppUpdate.md deleted file mode 100644 index 1f296a70..00000000 --- a/old_docs/API_docs_v33/types/help_AppUpdate.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: help_AppUpdate -description: constructors and methods of type help_AppUpdate -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_AppUpdate -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_appUpdate](../constructors/help_appUpdate.md) - -[help\_noAppUpdate](../constructors/help_noAppUpdate.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getAppUpdate](../methods/help_getAppUpdate.md) - - - diff --git a/old_docs/API_docs_v33/types/help_InviteText.md b/old_docs/API_docs_v33/types/help_InviteText.md deleted file mode 100644 index 018d35bf..00000000 --- a/old_docs/API_docs_v33/types/help_InviteText.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: help_InviteText -description: constructors and methods of type help_InviteText -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_InviteText -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_inviteText](../constructors/help_inviteText.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getInviteText](../methods/help_getInviteText.md) - - - diff --git a/old_docs/API_docs_v33/types/help_Support.md b/old_docs/API_docs_v33/types/help_Support.md deleted file mode 100644 index 26de447b..00000000 --- a/old_docs/API_docs_v33/types/help_Support.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: help_Support -description: constructors and methods of type help_Support -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_Support -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_support](../constructors/help_support.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getSupport](../methods/help_getSupport.md) - - - diff --git a/old_docs/API_docs_v33/types/messages.AffectedHistory.md b/old_docs/API_docs_v33/types/messages.AffectedHistory.md new file mode 100644 index 00000000..f6746759 --- /dev/null +++ b/old_docs/API_docs_v33/types/messages.AffectedHistory.md @@ -0,0 +1,24 @@ +--- +title: messages.AffectedHistory +description: constructors and methods of type messages.AffectedHistory +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.AffectedHistory +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.affectedHistory](../constructors/messages.affectedHistory.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->readHistory](../methods/messages.readHistory.md) + +[$MadelineProto->messages->deleteHistory](../methods/messages.deleteHistory.md) + + + diff --git a/old_docs/API_docs_v33/types/messages.AffectedMessages.md b/old_docs/API_docs_v33/types/messages.AffectedMessages.md new file mode 100644 index 00000000..af8b7745 --- /dev/null +++ b/old_docs/API_docs_v33/types/messages.AffectedMessages.md @@ -0,0 +1,24 @@ +--- +title: messages.AffectedMessages +description: constructors and methods of type messages.AffectedMessages +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.AffectedMessages +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.affectedMessages](../constructors/messages.affectedMessages.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->deleteMessages](../methods/messages.deleteMessages.md) + +[$MadelineProto->messages->readMessageContents](../methods/messages.readMessageContents.md) + + + diff --git a/old_docs/API_docs_v33/types/messages.AllStickers.md b/old_docs/API_docs_v33/types/messages.AllStickers.md new file mode 100644 index 00000000..5ece92c0 --- /dev/null +++ b/old_docs/API_docs_v33/types/messages.AllStickers.md @@ -0,0 +1,24 @@ +--- +title: messages.AllStickers +description: constructors and methods of type messages.AllStickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.AllStickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.allStickersNotModified](../constructors/messages.allStickersNotModified.md) + +[messages.allStickers](../constructors/messages.allStickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getAllStickers](../methods/messages.getAllStickers.md) + + + diff --git a/old_docs/API_docs_v33/types/messages.ChatFull.md b/old_docs/API_docs_v33/types/messages.ChatFull.md new file mode 100644 index 00000000..c6c8bf3b --- /dev/null +++ b/old_docs/API_docs_v33/types/messages.ChatFull.md @@ -0,0 +1,24 @@ +--- +title: messages.ChatFull +description: constructors and methods of type messages.ChatFull +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.ChatFull +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.chatFull](../constructors/messages.chatFull.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getFullChat](../methods/messages.getFullChat.md) + +[$MadelineProto->geochats->getFullChat](../methods/geochats.getFullChat.md) + + + diff --git a/old_docs/API_docs_v33/types/messages.Chats.md b/old_docs/API_docs_v33/types/messages.Chats.md new file mode 100644 index 00000000..6052dc4f --- /dev/null +++ b/old_docs/API_docs_v33/types/messages.Chats.md @@ -0,0 +1,22 @@ +--- +title: messages.Chats +description: constructors and methods of type messages.Chats +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Chats +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.chats](../constructors/messages.chats.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getChats](../methods/messages.getChats.md) + + + diff --git a/old_docs/API_docs_v33/types/messages.DhConfig.md b/old_docs/API_docs_v33/types/messages.DhConfig.md new file mode 100644 index 00000000..77188ab7 --- /dev/null +++ b/old_docs/API_docs_v33/types/messages.DhConfig.md @@ -0,0 +1,24 @@ +--- +title: messages.DhConfig +description: constructors and methods of type messages.DhConfig +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.DhConfig +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.dhConfigNotModified](../constructors/messages.dhConfigNotModified.md) + +[messages.dhConfig](../constructors/messages.dhConfig.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getDhConfig](../methods/messages.getDhConfig.md) + + + diff --git a/old_docs/API_docs_v33/types/messages.Dialogs.md b/old_docs/API_docs_v33/types/messages.Dialogs.md new file mode 100644 index 00000000..1a57d535 --- /dev/null +++ b/old_docs/API_docs_v33/types/messages.Dialogs.md @@ -0,0 +1,24 @@ +--- +title: messages.Dialogs +description: constructors and methods of type messages.Dialogs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Dialogs +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.dialogs](../constructors/messages.dialogs.md) + +[messages.dialogsSlice](../constructors/messages.dialogsSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getDialogs](../methods/messages.getDialogs.md) + + + diff --git a/old_docs/API_docs_v33/types/messages.Message.md b/old_docs/API_docs_v33/types/messages.Message.md new file mode 100644 index 00000000..71f951cc --- /dev/null +++ b/old_docs/API_docs_v33/types/messages.Message.md @@ -0,0 +1,20 @@ +--- +title: messages.Message +description: constructors and methods of type messages.Message +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Message +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.messageEmpty](../constructors/messages.messageEmpty.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v33/types/messages.Messages.md b/old_docs/API_docs_v33/types/messages.Messages.md new file mode 100644 index 00000000..6de49a3a --- /dev/null +++ b/old_docs/API_docs_v33/types/messages.Messages.md @@ -0,0 +1,28 @@ +--- +title: messages.Messages +description: constructors and methods of type messages.Messages +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Messages +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.messages](../constructors/messages.messages.md) + +[messages.messagesSlice](../constructors/messages.messagesSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getMessages](../methods/messages.getMessages.md) + +[$MadelineProto->messages->getHistory](../methods/messages.getHistory.md) + +[$MadelineProto->messages->search](../methods/messages.search.md) + + + diff --git a/old_docs/API_docs_v33/types/messages.SentEncryptedMessage.md b/old_docs/API_docs_v33/types/messages.SentEncryptedMessage.md new file mode 100644 index 00000000..b6d05b1f --- /dev/null +++ b/old_docs/API_docs_v33/types/messages.SentEncryptedMessage.md @@ -0,0 +1,28 @@ +--- +title: messages.SentEncryptedMessage +description: constructors and methods of type messages.SentEncryptedMessage +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.SentEncryptedMessage +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.sentEncryptedMessage](../constructors/messages.sentEncryptedMessage.md) + +[messages.sentEncryptedFile](../constructors/messages.sentEncryptedFile.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->sendEncrypted](../methods/messages.sendEncrypted.md) + +[$MadelineProto->messages->sendEncryptedFile](../methods/messages.sendEncryptedFile.md) + +[$MadelineProto->messages->sendEncryptedService](../methods/messages.sendEncryptedService.md) + + + diff --git a/old_docs/API_docs_v33/types/messages.SentMessage.md b/old_docs/API_docs_v33/types/messages.SentMessage.md new file mode 100644 index 00000000..519818b0 --- /dev/null +++ b/old_docs/API_docs_v33/types/messages.SentMessage.md @@ -0,0 +1,24 @@ +--- +title: messages.SentMessage +description: constructors and methods of type messages.SentMessage +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.SentMessage +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.sentMessage](../constructors/messages.sentMessage.md) + +[messages.sentMessageLink](../constructors/messages.sentMessageLink.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->sendMessage](../methods/messages.sendMessage.md) + + + diff --git a/old_docs/API_docs_v33/types/messages.StickerSet.md b/old_docs/API_docs_v33/types/messages.StickerSet.md new file mode 100644 index 00000000..8de24a76 --- /dev/null +++ b/old_docs/API_docs_v33/types/messages.StickerSet.md @@ -0,0 +1,22 @@ +--- +title: messages.StickerSet +description: constructors and methods of type messages.StickerSet +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.StickerSet +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.stickerSet](../constructors/messages.stickerSet.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getStickerSet](../methods/messages.getStickerSet.md) + + + diff --git a/old_docs/API_docs_v33/types/messages.Stickers.md b/old_docs/API_docs_v33/types/messages.Stickers.md new file mode 100644 index 00000000..43bddf06 --- /dev/null +++ b/old_docs/API_docs_v33/types/messages.Stickers.md @@ -0,0 +1,24 @@ +--- +title: messages.Stickers +description: constructors and methods of type messages.Stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Stickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.stickersNotModified](../constructors/messages.stickersNotModified.md) + +[messages.stickers](../constructors/messages.stickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getStickers](../methods/messages.getStickers.md) + + + diff --git a/old_docs/API_docs_v33/types/messages_AffectedHistory.md b/old_docs/API_docs_v33/types/messages_AffectedHistory.md deleted file mode 100644 index 0d1098b8..00000000 --- a/old_docs/API_docs_v33/types/messages_AffectedHistory.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_AffectedHistory -description: constructors and methods of type messages_AffectedHistory -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_AffectedHistory -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_affectedHistory](../constructors/messages_affectedHistory.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->readHistory](../methods/messages_readHistory.md) - -[$MadelineProto->messages->deleteHistory](../methods/messages_deleteHistory.md) - - - diff --git a/old_docs/API_docs_v33/types/messages_AffectedMessages.md b/old_docs/API_docs_v33/types/messages_AffectedMessages.md deleted file mode 100644 index f59c1273..00000000 --- a/old_docs/API_docs_v33/types/messages_AffectedMessages.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_AffectedMessages -description: constructors and methods of type messages_AffectedMessages -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_AffectedMessages -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_affectedMessages](../constructors/messages_affectedMessages.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->deleteMessages](../methods/messages_deleteMessages.md) - -[$MadelineProto->messages->readMessageContents](../methods/messages_readMessageContents.md) - - - diff --git a/old_docs/API_docs_v33/types/messages_AllStickers.md b/old_docs/API_docs_v33/types/messages_AllStickers.md deleted file mode 100644 index 59d19759..00000000 --- a/old_docs/API_docs_v33/types/messages_AllStickers.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_AllStickers -description: constructors and methods of type messages_AllStickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_AllStickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_allStickersNotModified](../constructors/messages_allStickersNotModified.md) - -[messages\_allStickers](../constructors/messages_allStickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getAllStickers](../methods/messages_getAllStickers.md) - - - diff --git a/old_docs/API_docs_v33/types/messages_ChatFull.md b/old_docs/API_docs_v33/types/messages_ChatFull.md deleted file mode 100644 index 05bf3847..00000000 --- a/old_docs/API_docs_v33/types/messages_ChatFull.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_ChatFull -description: constructors and methods of type messages_ChatFull -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_ChatFull -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_chatFull](../constructors/messages_chatFull.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getFullChat](../methods/messages_getFullChat.md) - -[$MadelineProto->geochats->getFullChat](../methods/geochats_getFullChat.md) - - - diff --git a/old_docs/API_docs_v33/types/messages_Chats.md b/old_docs/API_docs_v33/types/messages_Chats.md deleted file mode 100644 index 0b3113b7..00000000 --- a/old_docs/API_docs_v33/types/messages_Chats.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_Chats -description: constructors and methods of type messages_Chats -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Chats -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_chats](../constructors/messages_chats.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getChats](../methods/messages_getChats.md) - - - diff --git a/old_docs/API_docs_v33/types/messages_DhConfig.md b/old_docs/API_docs_v33/types/messages_DhConfig.md deleted file mode 100644 index ce237411..00000000 --- a/old_docs/API_docs_v33/types/messages_DhConfig.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_DhConfig -description: constructors and methods of type messages_DhConfig -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_DhConfig -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_dhConfigNotModified](../constructors/messages_dhConfigNotModified.md) - -[messages\_dhConfig](../constructors/messages_dhConfig.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getDhConfig](../methods/messages_getDhConfig.md) - - - diff --git a/old_docs/API_docs_v33/types/messages_Dialogs.md b/old_docs/API_docs_v33/types/messages_Dialogs.md deleted file mode 100644 index 733a42c5..00000000 --- a/old_docs/API_docs_v33/types/messages_Dialogs.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_Dialogs -description: constructors and methods of type messages_Dialogs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Dialogs -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_dialogs](../constructors/messages_dialogs.md) - -[messages\_dialogsSlice](../constructors/messages_dialogsSlice.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getDialogs](../methods/messages_getDialogs.md) - - - diff --git a/old_docs/API_docs_v33/types/messages_Message.md b/old_docs/API_docs_v33/types/messages_Message.md deleted file mode 100644 index 4ce0a20c..00000000 --- a/old_docs/API_docs_v33/types/messages_Message.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: messages_Message -description: constructors and methods of type messages_Message -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Message -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_messageEmpty](../constructors/messages_messageEmpty.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v33/types/messages_Messages.md b/old_docs/API_docs_v33/types/messages_Messages.md deleted file mode 100644 index e9218929..00000000 --- a/old_docs/API_docs_v33/types/messages_Messages.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: messages_Messages -description: constructors and methods of type messages_Messages -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Messages -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_messages](../constructors/messages_messages.md) - -[messages\_messagesSlice](../constructors/messages_messagesSlice.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getMessages](../methods/messages_getMessages.md) - -[$MadelineProto->messages->getHistory](../methods/messages_getHistory.md) - -[$MadelineProto->messages->search](../methods/messages_search.md) - - - diff --git a/old_docs/API_docs_v33/types/messages_SentEncryptedMessage.md b/old_docs/API_docs_v33/types/messages_SentEncryptedMessage.md deleted file mode 100644 index 9f7ab935..00000000 --- a/old_docs/API_docs_v33/types/messages_SentEncryptedMessage.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: messages_SentEncryptedMessage -description: constructors and methods of type messages_SentEncryptedMessage -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_SentEncryptedMessage -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_sentEncryptedMessage](../constructors/messages_sentEncryptedMessage.md) - -[messages\_sentEncryptedFile](../constructors/messages_sentEncryptedFile.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->sendEncrypted](../methods/messages_sendEncrypted.md) - -[$MadelineProto->messages->sendEncryptedFile](../methods/messages_sendEncryptedFile.md) - -[$MadelineProto->messages->sendEncryptedService](../methods/messages_sendEncryptedService.md) - - - diff --git a/old_docs/API_docs_v33/types/messages_SentMessage.md b/old_docs/API_docs_v33/types/messages_SentMessage.md deleted file mode 100644 index 294b515c..00000000 --- a/old_docs/API_docs_v33/types/messages_SentMessage.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_SentMessage -description: constructors and methods of type messages_SentMessage -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_SentMessage -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_sentMessage](../constructors/messages_sentMessage.md) - -[messages\_sentMessageLink](../constructors/messages_sentMessageLink.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->sendMessage](../methods/messages_sendMessage.md) - - - diff --git a/old_docs/API_docs_v33/types/messages_StickerSet.md b/old_docs/API_docs_v33/types/messages_StickerSet.md deleted file mode 100644 index e04ee8bf..00000000 --- a/old_docs/API_docs_v33/types/messages_StickerSet.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_StickerSet -description: constructors and methods of type messages_StickerSet -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_StickerSet -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_stickerSet](../constructors/messages_stickerSet.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getStickerSet](../methods/messages_getStickerSet.md) - - - diff --git a/old_docs/API_docs_v33/types/messages_Stickers.md b/old_docs/API_docs_v33/types/messages_Stickers.md deleted file mode 100644 index cf53f57b..00000000 --- a/old_docs/API_docs_v33/types/messages_Stickers.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_Stickers -description: constructors and methods of type messages_Stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Stickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_stickersNotModified](../constructors/messages_stickersNotModified.md) - -[messages\_stickers](../constructors/messages_stickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getStickers](../methods/messages_getStickers.md) - - - diff --git a/old_docs/API_docs_v33/types/photos.Photo.md b/old_docs/API_docs_v33/types/photos.Photo.md new file mode 100644 index 00000000..d60f203c --- /dev/null +++ b/old_docs/API_docs_v33/types/photos.Photo.md @@ -0,0 +1,22 @@ +--- +title: photos.Photo +description: constructors and methods of type photos.Photo +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: photos.Photo +[Back to types index](index.md) + + + +### Possible values (constructors): + +[photos.photo](../constructors/photos.photo.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->photos->uploadProfilePhoto](../methods/photos.uploadProfilePhoto.md) + + + diff --git a/old_docs/API_docs_v33/types/photos.Photos.md b/old_docs/API_docs_v33/types/photos.Photos.md new file mode 100644 index 00000000..fff0e296 --- /dev/null +++ b/old_docs/API_docs_v33/types/photos.Photos.md @@ -0,0 +1,24 @@ +--- +title: photos.Photos +description: constructors and methods of type photos.Photos +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: photos.Photos +[Back to types index](index.md) + + + +### Possible values (constructors): + +[photos.photos](../constructors/photos.photos.md) + +[photos.photosSlice](../constructors/photos.photosSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->photos->getUserPhotos](../methods/photos.getUserPhotos.md) + + + diff --git a/old_docs/API_docs_v33/types/photos_Photo.md b/old_docs/API_docs_v33/types/photos_Photo.md deleted file mode 100644 index d11bbdef..00000000 --- a/old_docs/API_docs_v33/types/photos_Photo.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: photos_Photo -description: constructors and methods of type photos_Photo -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: photos\_Photo -[Back to types index](index.md) - - - -### Possible values (constructors): - -[photos\_photo](../constructors/photos_photo.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->photos->uploadProfilePhoto](../methods/photos_uploadProfilePhoto.md) - - - diff --git a/old_docs/API_docs_v33/types/photos_Photos.md b/old_docs/API_docs_v33/types/photos_Photos.md deleted file mode 100644 index 9875ad70..00000000 --- a/old_docs/API_docs_v33/types/photos_Photos.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: photos_Photos -description: constructors and methods of type photos_Photos -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: photos\_Photos -[Back to types index](index.md) - - - -### Possible values (constructors): - -[photos\_photos](../constructors/photos_photos.md) - -[photos\_photosSlice](../constructors/photos_photosSlice.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->photos->getUserPhotos](../methods/photos_getUserPhotos.md) - - - diff --git a/old_docs/API_docs_v33/types/storage.FileType.md b/old_docs/API_docs_v33/types/storage.FileType.md new file mode 100644 index 00000000..73dc8a92 --- /dev/null +++ b/old_docs/API_docs_v33/types/storage.FileType.md @@ -0,0 +1,38 @@ +--- +title: storage.FileType +description: constructors and methods of type storage.FileType +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: storage.FileType +[Back to types index](index.md) + + + +### Possible values (constructors): + +[storage.fileUnknown](../constructors/storage.fileUnknown.md) + +[storage.fileJpeg](../constructors/storage.fileJpeg.md) + +[storage.fileGif](../constructors/storage.fileGif.md) + +[storage.filePng](../constructors/storage.filePng.md) + +[storage.filePdf](../constructors/storage.filePdf.md) + +[storage.fileMp3](../constructors/storage.fileMp3.md) + +[storage.fileMov](../constructors/storage.fileMov.md) + +[storage.filePartial](../constructors/storage.filePartial.md) + +[storage.fileMp4](../constructors/storage.fileMp4.md) + +[storage.fileWebp](../constructors/storage.fileWebp.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v33/types/storage_FileType.md b/old_docs/API_docs_v33/types/storage_FileType.md deleted file mode 100644 index 076c52a4..00000000 --- a/old_docs/API_docs_v33/types/storage_FileType.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: storage_FileType -description: constructors and methods of type storage_FileType -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: storage\_FileType -[Back to types index](index.md) - - - -### Possible values (constructors): - -[storage\_fileUnknown](../constructors/storage_fileUnknown.md) - -[storage\_fileJpeg](../constructors/storage_fileJpeg.md) - -[storage\_fileGif](../constructors/storage_fileGif.md) - -[storage\_filePng](../constructors/storage_filePng.md) - -[storage\_filePdf](../constructors/storage_filePdf.md) - -[storage\_fileMp3](../constructors/storage_fileMp3.md) - -[storage\_fileMov](../constructors/storage_fileMov.md) - -[storage\_filePartial](../constructors/storage_filePartial.md) - -[storage\_fileMp4](../constructors/storage_fileMp4.md) - -[storage\_fileWebp](../constructors/storage_fileWebp.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v33/types/updates.Difference.md b/old_docs/API_docs_v33/types/updates.Difference.md new file mode 100644 index 00000000..35998855 --- /dev/null +++ b/old_docs/API_docs_v33/types/updates.Difference.md @@ -0,0 +1,26 @@ +--- +title: updates.Difference +description: constructors and methods of type updates.Difference +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: updates.Difference +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updates.differenceEmpty](../constructors/updates.differenceEmpty.md) + +[updates.difference](../constructors/updates.difference.md) + +[updates.differenceSlice](../constructors/updates.differenceSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->updates->getDifference](../methods/updates.getDifference.md) + + + diff --git a/old_docs/API_docs_v33/types/updates.State.md b/old_docs/API_docs_v33/types/updates.State.md new file mode 100644 index 00000000..49bbb7fd --- /dev/null +++ b/old_docs/API_docs_v33/types/updates.State.md @@ -0,0 +1,22 @@ +--- +title: updates.State +description: constructors and methods of type updates.State +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: updates.State +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updates.state](../constructors/updates.state.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->updates->getState](../methods/updates.getState.md) + + + diff --git a/old_docs/API_docs_v33/types/updates_Difference.md b/old_docs/API_docs_v33/types/updates_Difference.md deleted file mode 100644 index 0190189b..00000000 --- a/old_docs/API_docs_v33/types/updates_Difference.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: updates_Difference -description: constructors and methods of type updates_Difference -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: updates\_Difference -[Back to types index](index.md) - - - -### Possible values (constructors): - -[updates\_differenceEmpty](../constructors/updates_differenceEmpty.md) - -[updates\_difference](../constructors/updates_difference.md) - -[updates\_differenceSlice](../constructors/updates_differenceSlice.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->updates->getDifference](../methods/updates_getDifference.md) - - - diff --git a/old_docs/API_docs_v33/types/updates_State.md b/old_docs/API_docs_v33/types/updates_State.md deleted file mode 100644 index 7a441145..00000000 --- a/old_docs/API_docs_v33/types/updates_State.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: updates_State -description: constructors and methods of type updates_State -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: updates\_State -[Back to types index](index.md) - - - -### Possible values (constructors): - -[updates\_state](../constructors/updates_state.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->updates->getState](../methods/updates_getState.md) - - - diff --git a/old_docs/API_docs_v33/types/upload.File.md b/old_docs/API_docs_v33/types/upload.File.md new file mode 100644 index 00000000..922e6c7a --- /dev/null +++ b/old_docs/API_docs_v33/types/upload.File.md @@ -0,0 +1,22 @@ +--- +title: upload.File +description: constructors and methods of type upload.File +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: upload.File +[Back to types index](index.md) + + + +### Possible values (constructors): + +[upload.file](../constructors/upload.file.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->upload->getFile](../methods/upload.getFile.md) + + + diff --git a/old_docs/API_docs_v33/types/upload_File.md b/old_docs/API_docs_v33/types/upload_File.md deleted file mode 100644 index 6e3bc38d..00000000 --- a/old_docs/API_docs_v33/types/upload_File.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: upload_File -description: constructors and methods of type upload_File -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: upload\_File -[Back to types index](index.md) - - - -### Possible values (constructors): - -[upload\_file](../constructors/upload_file.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->upload->getFile](../methods/upload_getFile.md) - - - diff --git a/old_docs/API_docs_v38/constructors/README.md b/old_docs/API_docs_v38/constructors/README.md index ee86e1ab..b3edb6fa 100644 --- a/old_docs/API_docs_v38/constructors/README.md +++ b/old_docs/API_docs_v38/constructors/README.md @@ -7,22 +7,28 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png [Back to API documentation index](..) *** -

[$accountDaysTTL](../constructors/accountDaysTTL.md) = \['days' => [int](../types/int.md), \]; +

[$account.authorizations](../constructors/account.authorizations.md) = \['authorizations' => \[[Authorization](../types/Authorization.md)\], \]; *** -

[$account\_authorizations](../constructors/account_authorizations.md) = \['authorizations' => \[[Authorization](../types/Authorization.md)\], \]; +

[$account.noPassword](../constructors/account.noPassword.md) = \['new_salt' => [bytes](../types/bytes.md), 'email_unconfirmed_pattern' => [string](../types/string.md), \]; -[$account\_noPassword](../constructors/account_noPassword.md) = \['new_salt' => [bytes](../types/bytes.md), 'email_unconfirmed_pattern' => [string](../types/string.md), \]; +*** +

[$account.password](../constructors/account.password.md) = \['current_salt' => [bytes](../types/bytes.md), 'new_salt' => [bytes](../types/bytes.md), 'hint' => [string](../types/string.md), 'has_recovery' => [Bool](../types/Bool.md), 'email_unconfirmed_pattern' => [string](../types/string.md), \]; -[$account\_password](../constructors/account_password.md) = \['current_salt' => [bytes](../types/bytes.md), 'new_salt' => [bytes](../types/bytes.md), 'hint' => [string](../types/string.md), 'has_recovery' => [Bool](../types/Bool.md), 'email_unconfirmed_pattern' => [string](../types/string.md), \]; +*** +

[$account.passwordInputSettings](../constructors/account.passwordInputSettings.md) = \['new_salt' => [bytes](../types/bytes.md), 'new_password_hash' => [bytes](../types/bytes.md), 'hint' => [string](../types/string.md), 'email' => [string](../types/string.md), \]; -[$account\_passwordInputSettings](../constructors/account_passwordInputSettings.md) = \['new_salt' => [bytes](../types/bytes.md), 'new_password_hash' => [bytes](../types/bytes.md), 'hint' => [string](../types/string.md), 'email' => [string](../types/string.md), \]; +*** +

[$account.passwordSettings](../constructors/account.passwordSettings.md) = \['email' => [string](../types/string.md), \]; -[$account\_passwordSettings](../constructors/account_passwordSettings.md) = \['email' => [string](../types/string.md), \]; +*** +

[$account.privacyRules](../constructors/account.privacyRules.md) = \['rules' => \[[PrivacyRule](../types/PrivacyRule.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$account\_privacyRules](../constructors/account_privacyRules.md) = \['rules' => \[[PrivacyRule](../types/PrivacyRule.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$account.sentChangePhoneCode](../constructors/account.sentChangePhoneCode.md) = \['phone_code_hash' => [string](../types/string.md), 'send_call_timeout' => [int](../types/int.md), \]; -[$account\_sentChangePhoneCode](../constructors/account_sentChangePhoneCode.md) = \['phone_code_hash' => [string](../types/string.md), 'send_call_timeout' => [int](../types/int.md), \]; +*** +

[$accountDaysTTL](../constructors/accountDaysTTL.md) = \['days' => [int](../types/int.md), \]; ***

[$audio](../constructors/audio.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'date' => [int](../types/int.md), 'duration' => [int](../types/int.md), 'mime_type' => [string](../types/string.md), 'size' => [int](../types/int.md), 'dc_id' => [int](../types/int.md), \]; @@ -31,17 +37,22 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$audioEmpty](../constructors/audioEmpty.md) = \['id' => [long](../types/long.md), \]; *** -

[$auth\_authorization](../constructors/auth_authorization.md) = \['user' => [User](../types/User.md), \]; +

[$auth.authorization](../constructors/auth.authorization.md) = \['user' => [User](../types/User.md), \]; -[$auth\_checkedPhone](../constructors/auth_checkedPhone.md) = \['phone_registered' => [Bool](../types/Bool.md), \]; +*** +

[$auth.checkedPhone](../constructors/auth.checkedPhone.md) = \['phone_registered' => [Bool](../types/Bool.md), \]; -[$auth\_exportedAuthorization](../constructors/auth_exportedAuthorization.md) = \['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; +*** +

[$auth.exportedAuthorization](../constructors/auth.exportedAuthorization.md) = \['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; -[$auth\_passwordRecovery](../constructors/auth_passwordRecovery.md) = \['email_pattern' => [string](../types/string.md), \]; +*** +

[$auth.passwordRecovery](../constructors/auth.passwordRecovery.md) = \['email_pattern' => [string](../types/string.md), \]; -[$auth\_sentAppCode](../constructors/auth_sentAppCode.md) = \['phone_registered' => [Bool](../types/Bool.md), 'phone_code_hash' => [string](../types/string.md), 'send_call_timeout' => [int](../types/int.md), 'is_password' => [Bool](../types/Bool.md), \]; +*** +

[$auth.sentAppCode](../constructors/auth.sentAppCode.md) = \['phone_registered' => [Bool](../types/Bool.md), 'phone_code_hash' => [string](../types/string.md), 'send_call_timeout' => [int](../types/int.md), 'is_password' => [Bool](../types/Bool.md), \]; -[$auth\_sentCode](../constructors/auth_sentCode.md) = \['phone_registered' => [Bool](../types/Bool.md), 'phone_code_hash' => [string](../types/string.md), 'send_call_timeout' => [int](../types/int.md), 'is_password' => [Bool](../types/Bool.md), \]; +*** +

[$auth.sentCode](../constructors/auth.sentCode.md) = \['phone_registered' => [Bool](../types/Bool.md), 'phone_code_hash' => [string](../types/string.md), 'send_call_timeout' => [int](../types/int.md), 'is_password' => [Bool](../types/Bool.md), \]; ***

[$authorization](../constructors/authorization.md) = \['hash' => [long](../types/long.md), 'device_model' => [string](../types/string.md), 'platform' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'api_id' => [int](../types/int.md), 'app_name' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'date_created' => [int](../types/int.md), 'date_active' => [int](../types/int.md), 'ip' => [string](../types/string.md), 'country' => [string](../types/string.md), 'region' => [string](../types/string.md), \]; @@ -116,9 +127,10 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$channelRoleModerator](../constructors/channelRoleModerator.md) = \[\]; *** -

[$channels\_channelParticipant](../constructors/channels_channelParticipant.md) = \['participant' => [ChannelParticipant](../types/ChannelParticipant.md), 'users' => \[[User](../types/User.md)\], \]; +

[$channels.channelParticipant](../constructors/channels.channelParticipant.md) = \['participant' => [ChannelParticipant](../types/ChannelParticipant.md), 'users' => \[[User](../types/User.md)\], \]; -[$channels\_channelParticipants](../constructors/channels_channelParticipants.md) = \['count' => [int](../types/int.md), 'participants' => \[[ChannelParticipant](../types/ChannelParticipant.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$channels.channelParticipants](../constructors/channels.channelParticipants.md) = \['count' => [int](../types/int.md), 'participants' => \[[ChannelParticipant](../types/ChannelParticipant.md)\], 'users' => \[[User](../types/User.md)\], \]; ***

[$chat](../constructors/chat.md) = \['id' => [int](../types/int.md), 'title' => [string](../types/string.md), 'photo' => [ChatPhoto](../types/ChatPhoto.md), 'participants_count' => [int](../types/int.md), 'date' => [int](../types/int.md), 'version' => [int](../types/int.md), \]; @@ -187,23 +199,31 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$contactSuggested](../constructors/contactSuggested.md) = \['user_id' => [int](../types/int.md), 'mutual_contacts' => [int](../types/int.md), \]; *** -

[$contacts\_blocked](../constructors/contacts_blocked.md) = \['blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; +

[$contacts.blocked](../constructors/contacts.blocked.md) = \['blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_blockedSlice](../constructors/contacts_blockedSlice.md) = \['count' => [int](../types/int.md), 'blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.blockedSlice](../constructors/contacts.blockedSlice.md) = \['count' => [int](../types/int.md), 'blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_contacts](../constructors/contacts_contacts.md) = \['contacts' => \[[Contact](../types/Contact.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.contacts](../constructors/contacts.contacts.md) = \['contacts' => \[[Contact](../types/Contact.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_contactsNotModified](../constructors/contacts_contactsNotModified.md) = \[\]; +*** +

[$contacts.contactsNotModified](../constructors/contacts.contactsNotModified.md) = \[\]; -[$contacts\_found](../constructors/contacts_found.md) = \['results' => \[[Peer](../types/Peer.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.found](../constructors/contacts.found.md) = \['results' => \[[Peer](../types/Peer.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_importedContacts](../constructors/contacts_importedContacts.md) = \['imported' => \[[ImportedContact](../types/ImportedContact.md)\], 'retry_contacts' => \[[long](../types/long.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.importedContacts](../constructors/contacts.importedContacts.md) = \['imported' => \[[ImportedContact](../types/ImportedContact.md)\], 'retry_contacts' => \[[long](../types/long.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_link](../constructors/contacts_link.md) = \['my_link' => [ContactLink](../types/ContactLink.md), 'foreign_link' => [ContactLink](../types/ContactLink.md), 'user' => [User](../types/User.md), \]; +*** +

[$contacts.link](../constructors/contacts.link.md) = \['my_link' => [ContactLink](../types/ContactLink.md), 'foreign_link' => [ContactLink](../types/ContactLink.md), 'user' => [User](../types/User.md), \]; -[$contacts\_resolvedPeer](../constructors/contacts_resolvedPeer.md) = \['peer' => [Peer](../types/Peer.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.resolvedPeer](../constructors/contacts.resolvedPeer.md) = \['peer' => [Peer](../types/Peer.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_suggested](../constructors/contacts_suggested.md) = \['results' => \[[ContactSuggested](../types/ContactSuggested.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.suggested](../constructors/contacts.suggested.md) = \['results' => \[[ContactSuggested](../types/ContactSuggested.md)\], 'users' => \[[User](../types/User.md)\], \]; ***

[$dcOption](../constructors/dcOption.md) = \['id' => [int](../types/int.md), 'ip_address' => [string](../types/string.md), 'port' => [int](../types/int.md), \]; @@ -284,17 +304,22 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$geoPointEmpty](../constructors/geoPointEmpty.md) = \[\]; *** -

[$help\_appChangelog](../constructors/help_appChangelog.md) = \['text' => [string](../types/string.md), \]; +

[$help.appChangelog](../constructors/help.appChangelog.md) = \['text' => [string](../types/string.md), \]; -[$help\_appChangelogEmpty](../constructors/help_appChangelogEmpty.md) = \[\]; +*** +

[$help.appChangelogEmpty](../constructors/help.appChangelogEmpty.md) = \[\]; -[$help\_appUpdate](../constructors/help_appUpdate.md) = \['id' => [int](../types/int.md), 'critical' => [Bool](../types/Bool.md), 'url' => [string](../types/string.md), 'text' => [string](../types/string.md), \]; +*** +

[$help.appUpdate](../constructors/help.appUpdate.md) = \['id' => [int](../types/int.md), 'critical' => [Bool](../types/Bool.md), 'url' => [string](../types/string.md), 'text' => [string](../types/string.md), \]; -[$help\_inviteText](../constructors/help_inviteText.md) = \['message' => [string](../types/string.md), \]; +*** +

[$help.inviteText](../constructors/help.inviteText.md) = \['message' => [string](../types/string.md), \]; -[$help\_noAppUpdate](../constructors/help_noAppUpdate.md) = \[\]; +*** +

[$help.noAppUpdate](../constructors/help.noAppUpdate.md) = \[\]; -[$help\_support](../constructors/help_support.md) = \['phone_number' => [string](../types/string.md), 'user' => [User](../types/User.md), \]; +*** +

[$help.support](../constructors/help.support.md) = \['phone_number' => [string](../types/string.md), 'user' => [User](../types/User.md), \]; ***

[$importedContact](../constructors/importedContact.md) = \['user_id' => [int](../types/int.md), 'client_id' => [long](../types/long.md), \]; @@ -648,41 +673,58 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$messageService](../constructors/messageService.md) = \['id' => [int](../types/int.md), 'from_id' => [int](../types/int.md), 'to_id' => [Peer](../types/Peer.md), 'date' => [int](../types/int.md), 'action' => [MessageAction](../types/MessageAction.md), \]; *** -

[$messages\_affectedHistory](../constructors/messages_affectedHistory.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), 'offset' => [int](../types/int.md), \]; +

[$messages.affectedHistory](../constructors/messages.affectedHistory.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), 'offset' => [int](../types/int.md), \]; -[$messages\_affectedMessages](../constructors/messages_affectedMessages.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; +*** +

[$messages.affectedMessages](../constructors/messages.affectedMessages.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; -[$messages\_allStickers](../constructors/messages_allStickers.md) = \['hash' => [string](../types/string.md), 'sets' => \[[StickerSet](../types/StickerSet.md)\], \]; +*** +

[$messages.allStickers](../constructors/messages.allStickers.md) = \['hash' => [string](../types/string.md), 'sets' => \[[StickerSet](../types/StickerSet.md)\], \]; -[$messages\_allStickersNotModified](../constructors/messages_allStickersNotModified.md) = \[\]; +*** +

[$messages.allStickersNotModified](../constructors/messages.allStickersNotModified.md) = \[\]; -[$messages\_channelMessages](../constructors/messages_channelMessages.md) = \['pts' => [int](../types/int.md), 'count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'collapsed' => \[[MessageGroup](../types/MessageGroup.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.channelMessages](../constructors/messages.channelMessages.md) = \['pts' => [int](../types/int.md), 'count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'collapsed' => \[[MessageGroup](../types/MessageGroup.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_chatFull](../constructors/messages_chatFull.md) = \['full_chat' => [ChatFull](../types/ChatFull.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.chatFull](../constructors/messages.chatFull.md) = \['full_chat' => [ChatFull](../types/ChatFull.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_chats](../constructors/messages_chats.md) = \['chats' => \[[Chat](../types/Chat.md)\], \]; +*** +

[$messages.chats](../constructors/messages.chats.md) = \['chats' => \[[Chat](../types/Chat.md)\], \]; -[$messages\_dhConfig](../constructors/messages_dhConfig.md) = \['g' => [int](../types/int.md), 'p' => [bytes](../types/bytes.md), 'version' => [int](../types/int.md), 'random' => [bytes](../types/bytes.md), \]; +*** +

[$messages.dhConfig](../constructors/messages.dhConfig.md) = \['g' => [int](../types/int.md), 'p' => [bytes](../types/bytes.md), 'version' => [int](../types/int.md), 'random' => [bytes](../types/bytes.md), \]; -[$messages\_dhConfigNotModified](../constructors/messages_dhConfigNotModified.md) = \['random' => [bytes](../types/bytes.md), \]; +*** +

[$messages.dhConfigNotModified](../constructors/messages.dhConfigNotModified.md) = \['random' => [bytes](../types/bytes.md), \]; -[$messages\_dialogs](../constructors/messages_dialogs.md) = \['dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.dialogs](../constructors/messages.dialogs.md) = \['dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_dialogsSlice](../constructors/messages_dialogsSlice.md) = \['count' => [int](../types/int.md), 'dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.dialogsSlice](../constructors/messages.dialogsSlice.md) = \['count' => [int](../types/int.md), 'dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_messages](../constructors/messages_messages.md) = \['messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.messages](../constructors/messages.messages.md) = \['messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_messagesSlice](../constructors/messages_messagesSlice.md) = \['count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.messagesSlice](../constructors/messages.messagesSlice.md) = \['count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_sentEncryptedFile](../constructors/messages_sentEncryptedFile.md) = \['date' => [int](../types/int.md), 'file' => [EncryptedFile](../types/EncryptedFile.md), \]; +*** +

[$messages.sentEncryptedFile](../constructors/messages.sentEncryptedFile.md) = \['date' => [int](../types/int.md), 'file' => [EncryptedFile](../types/EncryptedFile.md), \]; -[$messages\_sentEncryptedMessage](../constructors/messages_sentEncryptedMessage.md) = \['date' => [int](../types/int.md), \]; +*** +

[$messages.sentEncryptedMessage](../constructors/messages.sentEncryptedMessage.md) = \['date' => [int](../types/int.md), \]; -[$messages\_stickerSet](../constructors/messages_stickerSet.md) = \['set' => [StickerSet](../types/StickerSet.md), 'packs' => \[[StickerPack](../types/StickerPack.md)\], 'documents' => \[[Document](../types/Document.md)\], \]; +*** +

[$messages.stickerSet](../constructors/messages.stickerSet.md) = \['set' => [StickerSet](../types/StickerSet.md), 'packs' => \[[StickerPack](../types/StickerPack.md)\], 'documents' => \[[Document](../types/Document.md)\], \]; -[$messages\_stickers](../constructors/messages_stickers.md) = \['hash' => [string](../types/string.md), 'stickers' => \[[Document](../types/Document.md)\], \]; +*** +

[$messages.stickers](../constructors/messages.stickers.md) = \['hash' => [string](../types/string.md), 'stickers' => \[[Document](../types/Document.md)\], \]; -[$messages\_stickersNotModified](../constructors/messages_stickersNotModified.md) = \[\]; +*** +

[$messages.stickersNotModified](../constructors/messages.stickersNotModified.md) = \[\]; ***

[$nearestDc](../constructors/nearestDc.md) = \['country' => [string](../types/string.md), 'this_dc' => [int](../types/int.md), 'nearest_dc' => [int](../types/int.md), \]; @@ -739,11 +781,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$photoSizeEmpty](../constructors/photoSizeEmpty.md) = \['type' => [string](../types/string.md), \]; *** -

[$photos\_photo](../constructors/photos_photo.md) = \['photo' => [Photo](../types/Photo.md), 'users' => \[[User](../types/User.md)\], \]; +

[$photos.photo](../constructors/photos.photo.md) = \['photo' => [Photo](../types/Photo.md), 'users' => \[[User](../types/User.md)\], \]; -[$photos\_photos](../constructors/photos_photos.md) = \['photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$photos.photos](../constructors/photos.photos.md) = \['photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$photos\_photosSlice](../constructors/photos_photosSlice.md) = \['count' => [int](../types/int.md), 'photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$photos.photosSlice](../constructors/photos.photosSlice.md) = \['count' => [int](../types/int.md), 'photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; ***

[$privacyKeyStatusTimestamp](../constructors/privacyKeyStatusTimestamp.md) = \[\]; @@ -815,25 +859,34 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$stickerSet](../constructors/stickerSet.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'title' => [string](../types/string.md), 'short_name' => [string](../types/string.md), 'count' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]; *** -

[$storage\_fileGif](../constructors/storage_fileGif.md) = \[\]; +

[$storage.fileGif](../constructors/storage.fileGif.md) = \[\]; -[$storage\_fileJpeg](../constructors/storage_fileJpeg.md) = \[\]; +*** +

[$storage.fileJpeg](../constructors/storage.fileJpeg.md) = \[\]; -[$storage\_fileMov](../constructors/storage_fileMov.md) = \[\]; +*** +

[$storage.fileMov](../constructors/storage.fileMov.md) = \[\]; -[$storage\_fileMp3](../constructors/storage_fileMp3.md) = \[\]; +*** +

[$storage.fileMp3](../constructors/storage.fileMp3.md) = \[\]; -[$storage\_fileMp4](../constructors/storage_fileMp4.md) = \[\]; +*** +

[$storage.fileMp4](../constructors/storage.fileMp4.md) = \[\]; -[$storage\_filePartial](../constructors/storage_filePartial.md) = \[\]; +*** +

[$storage.filePartial](../constructors/storage.filePartial.md) = \[\]; -[$storage\_filePdf](../constructors/storage_filePdf.md) = \[\]; +*** +

[$storage.filePdf](../constructors/storage.filePdf.md) = \[\]; -[$storage\_filePng](../constructors/storage_filePng.md) = \[\]; +*** +

[$storage.filePng](../constructors/storage.filePng.md) = \[\]; -[$storage\_fileUnknown](../constructors/storage_fileUnknown.md) = \[\]; +*** +

[$storage.fileUnknown](../constructors/storage.fileUnknown.md) = \[\]; -[$storage\_fileWebp](../constructors/storage_fileWebp.md) = \[\]; +*** +

[$storage.fileWebp](../constructors/storage.fileWebp.md) = \[\]; ***

[$updateChannel](../constructors/updateChannel.md) = \['channel_id' => [int](../types/int.md), \]; @@ -955,6 +1008,27 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ***

[$updates](../constructors/updates.md) = \['updates' => \[[Update](../types/Update.md)\], 'users' => \[[User](../types/User.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'date' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; +*** +

[$updates.channelDifference](../constructors/updates.channelDifference.md) = \['pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), 'new_messages' => \[[Message](../types/Message.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +*** +

[$updates.channelDifferenceEmpty](../constructors/updates.channelDifferenceEmpty.md) = \['pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), \]; + +*** +

[$updates.channelDifferenceTooLong](../constructors/updates.channelDifferenceTooLong.md) = \['pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), 'top_message' => [int](../types/int.md), 'top_important_message' => [int](../types/int.md), 'read_inbox_max_id' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), 'unread_important_count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +*** +

[$updates.difference](../constructors/updates.difference.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'state' => [updates.State](../types/updates.State.md), \]; + +*** +

[$updates.differenceEmpty](../constructors/updates.differenceEmpty.md) = \['date' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; + +*** +

[$updates.differenceSlice](../constructors/updates.differenceSlice.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'intermediate_state' => [updates.State](../types/updates.State.md), \]; + +*** +

[$updates.state](../constructors/updates.state.md) = \['pts' => [int](../types/int.md), 'qts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'seq' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), \]; + ***

[$updatesCombined](../constructors/updatesCombined.md) = \['updates' => \[[Update](../types/Update.md)\], 'users' => \[[User](../types/User.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'date' => [int](../types/int.md), 'seq_start' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; @@ -962,22 +1036,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$updatesTooLong](../constructors/updatesTooLong.md) = \[\]; *** -

[$updates\_channelDifference](../constructors/updates_channelDifference.md) = \['pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), 'new_messages' => \[[Message](../types/Message.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; - -[$updates\_channelDifferenceEmpty](../constructors/updates_channelDifferenceEmpty.md) = \['pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), \]; - -[$updates\_channelDifferenceTooLong](../constructors/updates_channelDifferenceTooLong.md) = \['pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), 'top_message' => [int](../types/int.md), 'top_important_message' => [int](../types/int.md), 'read_inbox_max_id' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), 'unread_important_count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; - -[$updates\_difference](../constructors/updates_difference.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'state' => [updates.State](../types/updates.State.md), \]; - -[$updates\_differenceEmpty](../constructors/updates_differenceEmpty.md) = \['date' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; - -[$updates\_differenceSlice](../constructors/updates_differenceSlice.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'intermediate_state' => [updates.State](../types/updates.State.md), \]; - -[$updates\_state](../constructors/updates_state.md) = \['pts' => [int](../types/int.md), 'qts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'seq' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), \]; - -*** -

[$upload\_file](../constructors/upload_file.md) = \['type' => [storage.FileType](../types/storage.FileType.md), 'mtime' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; +

[$upload.file](../constructors/upload.file.md) = \['type' => [storage.FileType](../types/storage.FileType.md), 'mtime' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; ***

[$user](../constructors/user.md) = \['id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), 'username' => [string](../types/string.md), 'phone' => [string](../types/string.md), 'photo' => [UserProfilePhoto](../types/UserProfilePhoto.md), 'status' => [UserStatus](../types/UserStatus.md), 'bot_info_version' => [int](../types/int.md), \]; diff --git a/old_docs/API_docs_v38/constructors/account.authorizations.md b/old_docs/API_docs_v38/constructors/account.authorizations.md new file mode 100644 index 00000000..53c961f0 --- /dev/null +++ b/old_docs/API_docs_v38/constructors/account.authorizations.md @@ -0,0 +1,38 @@ +--- +title: account.authorizations +description: Logged-in sessions +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.authorizations +[Back to constructors index](index.md) + + + +Logged-in sessions + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|authorizations|Array of [Authorization](../types/Authorization.md) | Yes|Authorizations| + + + +### Type: [account.Authorizations](../types/account.Authorizations.md) + + +### Example: + +```php +$account.authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization, Authorization]]; +``` + + +Or, if you're into Lua: + +```lua +account.authorizations={_='account.authorizations', authorizations={Authorization}} + +``` + + diff --git a/old_docs/API_docs_v38/constructors/account.noPassword.md b/old_docs/API_docs_v38/constructors/account.noPassword.md new file mode 100644 index 00000000..4dcdc515 --- /dev/null +++ b/old_docs/API_docs_v38/constructors/account.noPassword.md @@ -0,0 +1,39 @@ +--- +title: account.noPassword +description: No password +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.noPassword +[Back to constructors index](index.md) + + + +No password + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|new\_salt|[bytes](../types/bytes.md) | Yes|New salt| +|email\_unconfirmed\_pattern|[string](../types/string.md) | Yes|Email unconfirmed pattern| + + + +### Type: [account.Password](../types/account.Password.md) + + +### Example: + +```php +$account.noPassword = ['_' => 'account.noPassword', 'new_salt' => 'bytes', 'email_unconfirmed_pattern' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +account.noPassword={_='account.noPassword', new_salt='bytes', email_unconfirmed_pattern='string'} + +``` + + diff --git a/old_docs/API_docs_v38/constructors/account.password.md b/old_docs/API_docs_v38/constructors/account.password.md new file mode 100644 index 00000000..9e86a73a --- /dev/null +++ b/old_docs/API_docs_v38/constructors/account.password.md @@ -0,0 +1,42 @@ +--- +title: account.password +description: Configuration for two-factor authorization +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.password +[Back to constructors index](index.md) + + + +Configuration for two-factor authorization + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|current\_salt|[bytes](../types/bytes.md) | Yes|Current salt| +|new\_salt|[bytes](../types/bytes.md) | Yes|New salt| +|hint|[string](../types/string.md) | Yes|Text hint for the password| +|has\_recovery|[Bool](../types/Bool.md) | Yes|Has recovery?| +|email\_unconfirmed\_pattern|[string](../types/string.md) | Yes|A [password recovery email](https://core.telegram.org/api/srp#email-verification) with the specified [pattern](https://core.telegram.org/api/pattern) is still awaiting verification| + + + +### Type: [account.Password](../types/account.Password.md) + + +### Example: + +```php +$account.password = ['_' => 'account.password', 'current_salt' => 'bytes', 'new_salt' => 'bytes', 'hint' => 'string', 'has_recovery' => Bool, 'email_unconfirmed_pattern' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +account.password={_='account.password', current_salt='bytes', new_salt='bytes', hint='string', has_recovery=Bool, email_unconfirmed_pattern='string'} + +``` + + diff --git a/old_docs/API_docs_v38/constructors/account.passwordInputSettings.md b/old_docs/API_docs_v38/constructors/account.passwordInputSettings.md new file mode 100644 index 00000000..c440115a --- /dev/null +++ b/old_docs/API_docs_v38/constructors/account.passwordInputSettings.md @@ -0,0 +1,41 @@ +--- +title: account.passwordInputSettings +description: Settings for setting up a new password +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.passwordInputSettings +[Back to constructors index](index.md) + + + +Settings for setting up a new password + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|new\_salt|[bytes](../types/bytes.md) | Optional|`$new_salt = $MadelineProto->account->getPassword()['new_salt'].$MadelineProto->random(8);`| +|new\_password\_hash|[bytes](../types/bytes.md) | Optional|The [computed password hash](https://core.telegram.org/api/srp)| +|hint|[string](../types/string.md) | Optional|Text hint for the password| +|email|[string](../types/string.md) | Optional|Password recovery email| + + + +### Type: [account.PasswordInputSettings](../types/account.PasswordInputSettings.md) + + +### Example: + +```php +$account.passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_salt' => 'bytes', 'new_password_hash' => 'bytes', 'hint' => 'string', 'email' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +account.passwordInputSettings={_='account.passwordInputSettings', new_salt='bytes', new_password_hash='bytes', hint='string', email='string'} + +``` + + diff --git a/old_docs/API_docs_v38/constructors/account.passwordSettings.md b/old_docs/API_docs_v38/constructors/account.passwordSettings.md new file mode 100644 index 00000000..be899d34 --- /dev/null +++ b/old_docs/API_docs_v38/constructors/account.passwordSettings.md @@ -0,0 +1,38 @@ +--- +title: account.passwordSettings +description: Private info associated to the password info (recovery email, telegram [passport](https://core.telegram.org/passport) info & so on) +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.passwordSettings +[Back to constructors index](index.md) + + + +Private info associated to the password info (recovery email, telegram [passport](https://core.telegram.org/passport) info & so on) + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|email|[string](../types/string.md) | Yes|[2FA Recovery email](https://core.telegram.org/api/srp#email-verification)| + + + +### Type: [account.PasswordSettings](../types/account.PasswordSettings.md) + + +### Example: + +```php +$account.passwordSettings = ['_' => 'account.passwordSettings', 'email' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +account.passwordSettings={_='account.passwordSettings', email='string'} + +``` + + diff --git a/old_docs/API_docs_v38/constructors/account.privacyRules.md b/old_docs/API_docs_v38/constructors/account.privacyRules.md new file mode 100644 index 00000000..7ae04abb --- /dev/null +++ b/old_docs/API_docs_v38/constructors/account.privacyRules.md @@ -0,0 +1,39 @@ +--- +title: account.privacyRules +description: Privacy rules +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.privacyRules +[Back to constructors index](index.md) + + + +Privacy rules + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|rules|Array of [PrivacyRule](../types/PrivacyRule.md) | Yes|Rules| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [account.PrivacyRules](../types/account.PrivacyRules.md) + + +### Example: + +```php +$account.privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule, PrivacyRule], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +account.privacyRules={_='account.privacyRules', rules={PrivacyRule}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v38/constructors/account.sentChangePhoneCode.md b/old_docs/API_docs_v38/constructors/account.sentChangePhoneCode.md new file mode 100644 index 00000000..119f6af6 --- /dev/null +++ b/old_docs/API_docs_v38/constructors/account.sentChangePhoneCode.md @@ -0,0 +1,39 @@ +--- +title: account.sentChangePhoneCode +description: Sent change phone code +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.sentChangePhoneCode +[Back to constructors index](index.md) + + + +Sent change phone code + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_code\_hash|[string](../types/string.md) | Yes|Phone code hash| +|send\_call\_timeout|[int](../types/int.md) | Yes|Send call timeout| + + + +### Type: [account.SentChangePhoneCode](../types/account.SentChangePhoneCode.md) + + +### Example: + +```php +$account.sentChangePhoneCode = ['_' => 'account.sentChangePhoneCode', 'phone_code_hash' => 'string', 'send_call_timeout' => int]; +``` + + +Or, if you're into Lua: + +```lua +account.sentChangePhoneCode={_='account.sentChangePhoneCode', phone_code_hash='string', send_call_timeout=int} + +``` + + diff --git a/old_docs/API_docs_v38/constructors/account_authorizations.md b/old_docs/API_docs_v38/constructors/account_authorizations.md deleted file mode 100644 index aeae48f3..00000000 --- a/old_docs/API_docs_v38/constructors/account_authorizations.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: account.authorizations -description: Logged-in sessions -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.authorizations -[Back to constructors index](index.md) - - - -Logged-in sessions - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|authorizations|Array of [Authorization](../types/Authorization.md) | Yes|Authorizations| - - - -### Type: [account\_Authorizations](../types/account_Authorizations.md) - - -### Example: - -```php -$account_authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization, Authorization]]; -``` - - -Or, if you're into Lua: - -```lua -account_authorizations={_='account.authorizations', authorizations={Authorization}} - -``` - - diff --git a/old_docs/API_docs_v38/constructors/account_noPassword.md b/old_docs/API_docs_v38/constructors/account_noPassword.md deleted file mode 100644 index 10ef7b2a..00000000 --- a/old_docs/API_docs_v38/constructors/account_noPassword.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: account.noPassword -description: No password -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.noPassword -[Back to constructors index](index.md) - - - -No password - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|new\_salt|[bytes](../types/bytes.md) | Yes|New salt| -|email\_unconfirmed\_pattern|[string](../types/string.md) | Yes|Email unconfirmed pattern| - - - -### Type: [account\_Password](../types/account_Password.md) - - -### Example: - -```php -$account_noPassword = ['_' => 'account.noPassword', 'new_salt' => 'bytes', 'email_unconfirmed_pattern' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -account_noPassword={_='account.noPassword', new_salt='bytes', email_unconfirmed_pattern='string'} - -``` - - diff --git a/old_docs/API_docs_v38/constructors/account_password.md b/old_docs/API_docs_v38/constructors/account_password.md deleted file mode 100644 index a9f512e8..00000000 --- a/old_docs/API_docs_v38/constructors/account_password.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: account.password -description: Configuration for two-factor authorization -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.password -[Back to constructors index](index.md) - - - -Configuration for two-factor authorization - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|current\_salt|[bytes](../types/bytes.md) | Yes|Current salt| -|new\_salt|[bytes](../types/bytes.md) | Yes|New salt| -|hint|[string](../types/string.md) | Yes|Text hint for the password| -|has\_recovery|[Bool](../types/Bool.md) | Yes|Has recovery?| -|email\_unconfirmed\_pattern|[string](../types/string.md) | Yes|A [password recovery email](https://core.telegram.org/api/srp#email-verification) with the specified [pattern](https://core.telegram.org/api/pattern) is still awaiting verification| - - - -### Type: [account\_Password](../types/account_Password.md) - - -### Example: - -```php -$account_password = ['_' => 'account.password', 'current_salt' => 'bytes', 'new_salt' => 'bytes', 'hint' => 'string', 'has_recovery' => Bool, 'email_unconfirmed_pattern' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -account_password={_='account.password', current_salt='bytes', new_salt='bytes', hint='string', has_recovery=Bool, email_unconfirmed_pattern='string'} - -``` - - diff --git a/old_docs/API_docs_v38/constructors/account_passwordInputSettings.md b/old_docs/API_docs_v38/constructors/account_passwordInputSettings.md deleted file mode 100644 index 05ec666b..00000000 --- a/old_docs/API_docs_v38/constructors/account_passwordInputSettings.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: account.passwordInputSettings -description: Settings for setting up a new password -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.passwordInputSettings -[Back to constructors index](index.md) - - - -Settings for setting up a new password - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|new\_salt|[bytes](../types/bytes.md) | Optional|`$new_salt = $MadelineProto->account->getPassword()['new_salt'].$MadelineProto->random(8);`| -|new\_password\_hash|[bytes](../types/bytes.md) | Optional|The [computed password hash](https://core.telegram.org/api/srp)| -|hint|[string](../types/string.md) | Optional|Text hint for the password| -|email|[string](../types/string.md) | Optional|Password recovery email| - - - -### Type: [account\_PasswordInputSettings](../types/account_PasswordInputSettings.md) - - -### Example: - -```php -$account_passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_salt' => 'bytes', 'new_password_hash' => 'bytes', 'hint' => 'string', 'email' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -account_passwordInputSettings={_='account.passwordInputSettings', new_salt='bytes', new_password_hash='bytes', hint='string', email='string'} - -``` - - diff --git a/old_docs/API_docs_v38/constructors/account_passwordSettings.md b/old_docs/API_docs_v38/constructors/account_passwordSettings.md deleted file mode 100644 index e22f9cc4..00000000 --- a/old_docs/API_docs_v38/constructors/account_passwordSettings.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: account.passwordSettings -description: Private info associated to the password info (recovery email, telegram [passport](https://core.telegram.org/passport) info & so on) -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.passwordSettings -[Back to constructors index](index.md) - - - -Private info associated to the password info (recovery email, telegram [passport](https://core.telegram.org/passport) info & so on) - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|email|[string](../types/string.md) | Yes|[2FA Recovery email](https://core.telegram.org/api/srp#email-verification)| - - - -### Type: [account\_PasswordSettings](../types/account_PasswordSettings.md) - - -### Example: - -```php -$account_passwordSettings = ['_' => 'account.passwordSettings', 'email' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -account_passwordSettings={_='account.passwordSettings', email='string'} - -``` - - diff --git a/old_docs/API_docs_v38/constructors/account_privacyRules.md b/old_docs/API_docs_v38/constructors/account_privacyRules.md deleted file mode 100644 index 28b260b7..00000000 --- a/old_docs/API_docs_v38/constructors/account_privacyRules.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: account.privacyRules -description: Privacy rules -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.privacyRules -[Back to constructors index](index.md) - - - -Privacy rules - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|rules|Array of [PrivacyRule](../types/PrivacyRule.md) | Yes|Rules| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [account\_PrivacyRules](../types/account_PrivacyRules.md) - - -### Example: - -```php -$account_privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule, PrivacyRule], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -account_privacyRules={_='account.privacyRules', rules={PrivacyRule}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v38/constructors/account_sentChangePhoneCode.md b/old_docs/API_docs_v38/constructors/account_sentChangePhoneCode.md deleted file mode 100644 index 052ce817..00000000 --- a/old_docs/API_docs_v38/constructors/account_sentChangePhoneCode.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: account.sentChangePhoneCode -description: Sent change phone code -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.sentChangePhoneCode -[Back to constructors index](index.md) - - - -Sent change phone code - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_code\_hash|[string](../types/string.md) | Yes|Phone code hash| -|send\_call\_timeout|[int](../types/int.md) | Yes|Send call timeout| - - - -### Type: [account\_SentChangePhoneCode](../types/account_SentChangePhoneCode.md) - - -### Example: - -```php -$account_sentChangePhoneCode = ['_' => 'account.sentChangePhoneCode', 'phone_code_hash' => 'string', 'send_call_timeout' => int]; -``` - - -Or, if you're into Lua: - -```lua -account_sentChangePhoneCode={_='account.sentChangePhoneCode', phone_code_hash='string', send_call_timeout=int} - -``` - - diff --git a/old_docs/API_docs_v38/constructors/auth.authorization.md b/old_docs/API_docs_v38/constructors/auth.authorization.md new file mode 100644 index 00000000..bd034fc5 --- /dev/null +++ b/old_docs/API_docs_v38/constructors/auth.authorization.md @@ -0,0 +1,38 @@ +--- +title: auth.authorization +description: Contains user authorization info. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.authorization +[Back to constructors index](index.md) + + + +Contains user authorization info. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|user|[User](../types/User.md) | Optional|Info on authorized user| + + + +### Type: [auth.Authorization](../types/auth.Authorization.md) + + +### Example: + +```php +$auth.authorization = ['_' => 'auth.authorization', 'user' => User]; +``` + + +Or, if you're into Lua: + +```lua +auth.authorization={_='auth.authorization', user=User} + +``` + + diff --git a/old_docs/API_docs_v38/constructors/auth.checkedPhone.md b/old_docs/API_docs_v38/constructors/auth.checkedPhone.md new file mode 100644 index 00000000..23e84cf9 --- /dev/null +++ b/old_docs/API_docs_v38/constructors/auth.checkedPhone.md @@ -0,0 +1,38 @@ +--- +title: auth.checkedPhone +description: Checked phone +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.checkedPhone +[Back to constructors index](index.md) + + + +Checked phone + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_registered|[Bool](../types/Bool.md) | Yes|Phone registered?| + + + +### Type: [auth.CheckedPhone](../types/auth.CheckedPhone.md) + + +### Example: + +```php +$auth.checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool]; +``` + + +Or, if you're into Lua: + +```lua +auth.checkedPhone={_='auth.checkedPhone', phone_registered=Bool} + +``` + + diff --git a/old_docs/API_docs_v38/constructors/auth.exportedAuthorization.md b/old_docs/API_docs_v38/constructors/auth.exportedAuthorization.md new file mode 100644 index 00000000..2a4a9896 --- /dev/null +++ b/old_docs/API_docs_v38/constructors/auth.exportedAuthorization.md @@ -0,0 +1,39 @@ +--- +title: auth.exportedAuthorization +description: Data for copying of authorization between data centres. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.exportedAuthorization +[Back to constructors index](index.md) + + + +Data for copying of authorization between data centres. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|id|[int](../types/int.md) | Yes|Current user identifier| +|bytes|[bytes](../types/bytes.md) | Yes|Authorizes key| + + + +### Type: [auth.ExportedAuthorization](../types/auth.ExportedAuthorization.md) + + +### Example: + +```php +$auth.exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +auth.exportedAuthorization={_='auth.exportedAuthorization', id=int, bytes='bytes'} + +``` + + diff --git a/old_docs/API_docs_v38/constructors/auth.passwordRecovery.md b/old_docs/API_docs_v38/constructors/auth.passwordRecovery.md new file mode 100644 index 00000000..61de922d --- /dev/null +++ b/old_docs/API_docs_v38/constructors/auth.passwordRecovery.md @@ -0,0 +1,38 @@ +--- +title: auth.passwordRecovery +description: Recovery info of a [2FA password](https://core.telegram.org/api/srp), only for accounts with a [recovery email configured](https://core.telegram.org/api/srp#email-verification). +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.passwordRecovery +[Back to constructors index](index.md) + + + +Recovery info of a [2FA password](https://core.telegram.org/api/srp), only for accounts with a [recovery email configured](https://core.telegram.org/api/srp#email-verification). + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|email\_pattern|[string](../types/string.md) | Yes|The email to which the recovery code was sent must match this [pattern](https://core.telegram.org/api/pattern).| + + + +### Type: [auth.PasswordRecovery](../types/auth.PasswordRecovery.md) + + +### Example: + +```php +$auth.passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +auth.passwordRecovery={_='auth.passwordRecovery', email_pattern='string'} + +``` + + diff --git a/old_docs/API_docs_v38/constructors/auth.sentAppCode.md b/old_docs/API_docs_v38/constructors/auth.sentAppCode.md new file mode 100644 index 00000000..e4cd5ef0 --- /dev/null +++ b/old_docs/API_docs_v38/constructors/auth.sentAppCode.md @@ -0,0 +1,41 @@ +--- +title: auth.sentAppCode +description: Sent app code +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentAppCode +[Back to constructors index](index.md) + + + +Sent app code + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_registered|[Bool](../types/Bool.md) | Yes|Phone registered?| +|phone\_code\_hash|[string](../types/string.md) | Yes|Phone code hash| +|send\_call\_timeout|[int](../types/int.md) | Yes|Send call timeout| +|is\_password|[Bool](../types/Bool.md) | Yes|Is password?| + + + +### Type: [auth.SentCode](../types/auth.SentCode.md) + + +### Example: + +```php +$auth.sentAppCode = ['_' => 'auth.sentAppCode', 'phone_registered' => Bool, 'phone_code_hash' => 'string', 'send_call_timeout' => int, 'is_password' => Bool]; +``` + + +Or, if you're into Lua: + +```lua +auth.sentAppCode={_='auth.sentAppCode', phone_registered=Bool, phone_code_hash='string', send_call_timeout=int, is_password=Bool} + +``` + + diff --git a/old_docs/API_docs_v38/constructors/auth.sentCode.md b/old_docs/API_docs_v38/constructors/auth.sentCode.md new file mode 100644 index 00000000..c81a8042 --- /dev/null +++ b/old_docs/API_docs_v38/constructors/auth.sentCode.md @@ -0,0 +1,41 @@ +--- +title: auth.sentCode +description: Contains info about a sent verification code. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentCode +[Back to constructors index](index.md) + + + +Contains info about a sent verification code. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_registered|[Bool](../types/Bool.md) | Yes|Phone registered?| +|phone\_code\_hash|[string](../types/string.md) | Yes|Phone code hash, to be stored and later re-used with [auth.signIn](../methods/auth.signIn.md)| +|send\_call\_timeout|[int](../types/int.md) | Yes|Send call timeout| +|is\_password|[Bool](../types/Bool.md) | Yes|Is password?| + + + +### Type: [auth.SentCode](../types/auth.SentCode.md) + + +### Example: + +```php +$auth.sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'phone_code_hash' => 'string', 'send_call_timeout' => int, 'is_password' => Bool]; +``` + + +Or, if you're into Lua: + +```lua +auth.sentCode={_='auth.sentCode', phone_registered=Bool, phone_code_hash='string', send_call_timeout=int, is_password=Bool} + +``` + + diff --git a/old_docs/API_docs_v38/constructors/auth_authorization.md b/old_docs/API_docs_v38/constructors/auth_authorization.md deleted file mode 100644 index 07d223a1..00000000 --- a/old_docs/API_docs_v38/constructors/auth_authorization.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.authorization -description: Contains user authorization info. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.authorization -[Back to constructors index](index.md) - - - -Contains user authorization info. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|user|[User](../types/User.md) | Optional|Info on authorized user| - - - -### Type: [auth\_Authorization](../types/auth_Authorization.md) - - -### Example: - -```php -$auth_authorization = ['_' => 'auth.authorization', 'user' => User]; -``` - - -Or, if you're into Lua: - -```lua -auth_authorization={_='auth.authorization', user=User} - -``` - - diff --git a/old_docs/API_docs_v38/constructors/auth_checkedPhone.md b/old_docs/API_docs_v38/constructors/auth_checkedPhone.md deleted file mode 100644 index c77becf6..00000000 --- a/old_docs/API_docs_v38/constructors/auth_checkedPhone.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.checkedPhone -description: Checked phone -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.checkedPhone -[Back to constructors index](index.md) - - - -Checked phone - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_registered|[Bool](../types/Bool.md) | Yes|Phone registered?| - - - -### Type: [auth\_CheckedPhone](../types/auth_CheckedPhone.md) - - -### Example: - -```php -$auth_checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool]; -``` - - -Or, if you're into Lua: - -```lua -auth_checkedPhone={_='auth.checkedPhone', phone_registered=Bool} - -``` - - diff --git a/old_docs/API_docs_v38/constructors/auth_exportedAuthorization.md b/old_docs/API_docs_v38/constructors/auth_exportedAuthorization.md deleted file mode 100644 index 8d18916e..00000000 --- a/old_docs/API_docs_v38/constructors/auth_exportedAuthorization.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: auth.exportedAuthorization -description: Data for copying of authorization between data centres. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.exportedAuthorization -[Back to constructors index](index.md) - - - -Data for copying of authorization between data centres. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|id|[int](../types/int.md) | Yes|Current user identifier| -|bytes|[bytes](../types/bytes.md) | Yes|Authorizes key| - - - -### Type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) - - -### Example: - -```php -$auth_exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -auth_exportedAuthorization={_='auth.exportedAuthorization', id=int, bytes='bytes'} - -``` - - diff --git a/old_docs/API_docs_v38/constructors/auth_passwordRecovery.md b/old_docs/API_docs_v38/constructors/auth_passwordRecovery.md deleted file mode 100644 index c40f375e..00000000 --- a/old_docs/API_docs_v38/constructors/auth_passwordRecovery.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.passwordRecovery -description: Recovery info of a [2FA password](https://core.telegram.org/api/srp), only for accounts with a [recovery email configured](https://core.telegram.org/api/srp#email-verification). -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.passwordRecovery -[Back to constructors index](index.md) - - - -Recovery info of a [2FA password](https://core.telegram.org/api/srp), only for accounts with a [recovery email configured](https://core.telegram.org/api/srp#email-verification). - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|email\_pattern|[string](../types/string.md) | Yes|The email to which the recovery code was sent must match this [pattern](https://core.telegram.org/api/pattern).| - - - -### Type: [auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) - - -### Example: - -```php -$auth_passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -auth_passwordRecovery={_='auth.passwordRecovery', email_pattern='string'} - -``` - - diff --git a/old_docs/API_docs_v38/constructors/auth_sentAppCode.md b/old_docs/API_docs_v38/constructors/auth_sentAppCode.md deleted file mode 100644 index f61b0eb9..00000000 --- a/old_docs/API_docs_v38/constructors/auth_sentAppCode.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: auth.sentAppCode -description: Sent app code -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentAppCode -[Back to constructors index](index.md) - - - -Sent app code - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_registered|[Bool](../types/Bool.md) | Yes|Phone registered?| -|phone\_code\_hash|[string](../types/string.md) | Yes|Phone code hash| -|send\_call\_timeout|[int](../types/int.md) | Yes|Send call timeout| -|is\_password|[Bool](../types/Bool.md) | Yes|Is password?| - - - -### Type: [auth\_SentCode](../types/auth_SentCode.md) - - -### Example: - -```php -$auth_sentAppCode = ['_' => 'auth.sentAppCode', 'phone_registered' => Bool, 'phone_code_hash' => 'string', 'send_call_timeout' => int, 'is_password' => Bool]; -``` - - -Or, if you're into Lua: - -```lua -auth_sentAppCode={_='auth.sentAppCode', phone_registered=Bool, phone_code_hash='string', send_call_timeout=int, is_password=Bool} - -``` - - diff --git a/old_docs/API_docs_v38/constructors/auth_sentCode.md b/old_docs/API_docs_v38/constructors/auth_sentCode.md deleted file mode 100644 index 28a9ac2f..00000000 --- a/old_docs/API_docs_v38/constructors/auth_sentCode.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: auth.sentCode -description: Contains info about a sent verification code. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentCode -[Back to constructors index](index.md) - - - -Contains info about a sent verification code. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_registered|[Bool](../types/Bool.md) | Yes|Phone registered?| -|phone\_code\_hash|[string](../types/string.md) | Yes|Phone code hash, to be stored and later re-used with [auth.signIn](../methods/auth.signIn.md)| -|send\_call\_timeout|[int](../types/int.md) | Yes|Send call timeout| -|is\_password|[Bool](../types/Bool.md) | Yes|Is password?| - - - -### Type: [auth\_SentCode](../types/auth_SentCode.md) - - -### Example: - -```php -$auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'phone_code_hash' => 'string', 'send_call_timeout' => int, 'is_password' => Bool]; -``` - - -Or, if you're into Lua: - -```lua -auth_sentCode={_='auth.sentCode', phone_registered=Bool, phone_code_hash='string', send_call_timeout=int, is_password=Bool} - -``` - - diff --git a/old_docs/API_docs_v38/constructors/channels.channelParticipant.md b/old_docs/API_docs_v38/constructors/channels.channelParticipant.md new file mode 100644 index 00000000..0f09777f --- /dev/null +++ b/old_docs/API_docs_v38/constructors/channels.channelParticipant.md @@ -0,0 +1,39 @@ +--- +title: channels.channelParticipant +description: Represents a channel participant +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: channels.channelParticipant +[Back to constructors index](index.md) + + + +Represents a channel participant + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|participant|[ChannelParticipant](../types/ChannelParticipant.md) | Yes|The channel participant| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [channels.ChannelParticipant](../types/channels.ChannelParticipant.md) + + +### Example: + +```php +$channels.channelParticipant = ['_' => 'channels.channelParticipant', 'participant' => ChannelParticipant, 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +channels.channelParticipant={_='channels.channelParticipant', participant=ChannelParticipant, users={User}} + +``` + + diff --git a/old_docs/API_docs_v38/constructors/channels.channelParticipants.md b/old_docs/API_docs_v38/constructors/channels.channelParticipants.md new file mode 100644 index 00000000..6ee1a8b3 --- /dev/null +++ b/old_docs/API_docs_v38/constructors/channels.channelParticipants.md @@ -0,0 +1,40 @@ +--- +title: channels.channelParticipants +description: Represents multiple channel participants +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: channels.channelParticipants +[Back to constructors index](index.md) + + + +Represents multiple channel participants + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of participants that correspond to the given query| +|participants|Array of [ChannelParticipant](../types/ChannelParticipant.md) | Yes|Participants| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [channels.ChannelParticipants](../types/channels.ChannelParticipants.md) + + +### Example: + +```php +$channels.channelParticipants = ['_' => 'channels.channelParticipants', 'count' => int, 'participants' => [ChannelParticipant, ChannelParticipant], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +channels.channelParticipants={_='channels.channelParticipants', count=int, participants={ChannelParticipant}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v38/constructors/channels_channelParticipant.md b/old_docs/API_docs_v38/constructors/channels_channelParticipant.md deleted file mode 100644 index 15fe46a4..00000000 --- a/old_docs/API_docs_v38/constructors/channels_channelParticipant.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: channels.channelParticipant -description: Represents a channel participant -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: channels.channelParticipant -[Back to constructors index](index.md) - - - -Represents a channel participant - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|participant|[ChannelParticipant](../types/ChannelParticipant.md) | Yes|The channel participant| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [channels\_ChannelParticipant](../types/channels_ChannelParticipant.md) - - -### Example: - -```php -$channels_channelParticipant = ['_' => 'channels.channelParticipant', 'participant' => ChannelParticipant, 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -channels_channelParticipant={_='channels.channelParticipant', participant=ChannelParticipant, users={User}} - -``` - - diff --git a/old_docs/API_docs_v38/constructors/channels_channelParticipants.md b/old_docs/API_docs_v38/constructors/channels_channelParticipants.md deleted file mode 100644 index 1848a04f..00000000 --- a/old_docs/API_docs_v38/constructors/channels_channelParticipants.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: channels.channelParticipants -description: Represents multiple channel participants -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: channels.channelParticipants -[Back to constructors index](index.md) - - - -Represents multiple channel participants - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of participants that correspond to the given query| -|participants|Array of [ChannelParticipant](../types/ChannelParticipant.md) | Yes|Participants| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [channels\_ChannelParticipants](../types/channels_ChannelParticipants.md) - - -### Example: - -```php -$channels_channelParticipants = ['_' => 'channels.channelParticipants', 'count' => int, 'participants' => [ChannelParticipant, ChannelParticipant], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -channels_channelParticipants={_='channels.channelParticipants', count=int, participants={ChannelParticipant}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v38/constructors/contacts.blocked.md b/old_docs/API_docs_v38/constructors/contacts.blocked.md new file mode 100644 index 00000000..d2b3f680 --- /dev/null +++ b/old_docs/API_docs_v38/constructors/contacts.blocked.md @@ -0,0 +1,39 @@ +--- +title: contacts.blocked +description: Full list of blocked users. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.blocked +[Back to constructors index](index.md) + + + +Full list of blocked users. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Blocked](../types/contacts.Blocked.md) + + +### Example: + +```php +$contacts.blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.blocked={_='contacts.blocked', blocked={ContactBlocked}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v38/constructors/contacts.blockedSlice.md b/old_docs/API_docs_v38/constructors/contacts.blockedSlice.md new file mode 100644 index 00000000..92d19c72 --- /dev/null +++ b/old_docs/API_docs_v38/constructors/contacts.blockedSlice.md @@ -0,0 +1,40 @@ +--- +title: contacts.blockedSlice +description: Incomplete list of blocked users. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.blockedSlice +[Back to constructors index](index.md) + + + +Incomplete list of blocked users. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of elements in the list| +|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Blocked](../types/contacts.Blocked.md) + + +### Example: + +```php +$contacts.blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.blockedSlice={_='contacts.blockedSlice', count=int, blocked={ContactBlocked}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v38/constructors/contacts.contacts.md b/old_docs/API_docs_v38/constructors/contacts.contacts.md new file mode 100644 index 00000000..d4ccc018 --- /dev/null +++ b/old_docs/API_docs_v38/constructors/contacts.contacts.md @@ -0,0 +1,39 @@ +--- +title: contacts.contacts +description: The current user's contact list and info on users. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.contacts +[Back to constructors index](index.md) + + + +The current user's contact list and info on users. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|contacts|Array of [Contact](../types/Contact.md) | Yes|Contacts| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Contacts](../types/contacts.Contacts.md) + + +### Example: + +```php +$contacts.contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact, Contact], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.contacts={_='contacts.contacts', contacts={Contact}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v38/constructors/contacts.contactsNotModified.md b/old_docs/API_docs_v38/constructors/contacts.contactsNotModified.md new file mode 100644 index 00000000..e2149396 --- /dev/null +++ b/old_docs/API_docs_v38/constructors/contacts.contactsNotModified.md @@ -0,0 +1,33 @@ +--- +title: contacts.contactsNotModified +description: Contact list on the server is the same as the list on the client. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.contactsNotModified +[Back to constructors index](index.md) + + + +Contact list on the server is the same as the list on the client. + + + + +### Type: [contacts.Contacts](../types/contacts.Contacts.md) + + +### Example: + +```php +$contacts.contactsNotModified = ['_' => 'contacts.contactsNotModified']; +``` + + +Or, if you're into Lua: + +```lua +contacts.contactsNotModified={_='contacts.contactsNotModified'} + +``` + + diff --git a/old_docs/API_docs_v38/constructors/contacts.found.md b/old_docs/API_docs_v38/constructors/contacts.found.md new file mode 100644 index 00000000..1eaa93b7 --- /dev/null +++ b/old_docs/API_docs_v38/constructors/contacts.found.md @@ -0,0 +1,40 @@ +--- +title: contacts.found +description: Users found by name substring and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.found +[Back to constructors index](index.md) + + + +Users found by name substring and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|results|Array of [Peer](../types/Peer.md) | Yes|Results| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Found](../types/contacts.Found.md) + + +### Example: + +```php +$contacts.found = ['_' => 'contacts.found', 'results' => [Peer, Peer], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.found={_='contacts.found', results={Peer}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v38/constructors/contacts.importedContacts.md b/old_docs/API_docs_v38/constructors/contacts.importedContacts.md new file mode 100644 index 00000000..1cbff59a --- /dev/null +++ b/old_docs/API_docs_v38/constructors/contacts.importedContacts.md @@ -0,0 +1,40 @@ +--- +title: contacts.importedContacts +description: Info on succesfully imported contacts. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.importedContacts +[Back to constructors index](index.md) + + + +Info on succesfully imported contacts. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|imported|Array of [ImportedContact](../types/ImportedContact.md) | Yes|Imported| +|retry\_contacts|Array of [long](../types/long.md) | Yes|Retry importing contacts whose client IDs appear here| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.ImportedContacts](../types/contacts.ImportedContacts.md) + + +### Example: + +```php +$contacts.importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact, ImportedContact], 'retry_contacts' => [long, long], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.importedContacts={_='contacts.importedContacts', imported={ImportedContact}, retry_contacts={long}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v38/constructors/contacts.link.md b/old_docs/API_docs_v38/constructors/contacts.link.md new file mode 100644 index 00000000..ab150a0d --- /dev/null +++ b/old_docs/API_docs_v38/constructors/contacts.link.md @@ -0,0 +1,40 @@ +--- +title: contacts.link +description: Link +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.link +[Back to constructors index](index.md) + + + +Link + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|my\_link|[ContactLink](../types/ContactLink.md) | Yes|My link| +|foreign\_link|[ContactLink](../types/ContactLink.md) | Yes|Foreign link| +|user|[User](../types/User.md) | Optional|User| + + + +### Type: [contacts.Link](../types/contacts.Link.md) + + +### Example: + +```php +$contacts.link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User]; +``` + + +Or, if you're into Lua: + +```lua +contacts.link={_='contacts.link', my_link=ContactLink, foreign_link=ContactLink, user=User} + +``` + + diff --git a/old_docs/API_docs_v38/constructors/contacts.resolvedPeer.md b/old_docs/API_docs_v38/constructors/contacts.resolvedPeer.md new file mode 100644 index 00000000..35d88481 --- /dev/null +++ b/old_docs/API_docs_v38/constructors/contacts.resolvedPeer.md @@ -0,0 +1,40 @@ +--- +title: contacts.resolvedPeer +description: Resolved peer +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.resolvedPeer +[Back to constructors index](index.md) + + + +Resolved peer + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|peer|[Peer](../types/Peer.md) | Yes|The peer| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.ResolvedPeer](../types/contacts.ResolvedPeer.md) + + +### Example: + +```php +$contacts.resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.resolvedPeer={_='contacts.resolvedPeer', peer=Peer, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v38/constructors/contacts.suggested.md b/old_docs/API_docs_v38/constructors/contacts.suggested.md new file mode 100644 index 00000000..b9a56bec --- /dev/null +++ b/old_docs/API_docs_v38/constructors/contacts.suggested.md @@ -0,0 +1,39 @@ +--- +title: contacts.suggested +description: Suggested +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.suggested +[Back to constructors index](index.md) + + + +Suggested + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|results|Array of [ContactSuggested](../types/ContactSuggested.md) | Yes|Results| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Suggested](../types/contacts.Suggested.md) + + +### Example: + +```php +$contacts.suggested = ['_' => 'contacts.suggested', 'results' => [ContactSuggested, ContactSuggested], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.suggested={_='contacts.suggested', results={ContactSuggested}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v38/constructors/contacts_blocked.md b/old_docs/API_docs_v38/constructors/contacts_blocked.md deleted file mode 100644 index 20e33002..00000000 --- a/old_docs/API_docs_v38/constructors/contacts_blocked.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: contacts.blocked -description: Full list of blocked users. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.blocked -[Back to constructors index](index.md) - - - -Full list of blocked users. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Blocked](../types/contacts_Blocked.md) - - -### Example: - -```php -$contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_blocked={_='contacts.blocked', blocked={ContactBlocked}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v38/constructors/contacts_blockedSlice.md b/old_docs/API_docs_v38/constructors/contacts_blockedSlice.md deleted file mode 100644 index fcab9a28..00000000 --- a/old_docs/API_docs_v38/constructors/contacts_blockedSlice.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.blockedSlice -description: Incomplete list of blocked users. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.blockedSlice -[Back to constructors index](index.md) - - - -Incomplete list of blocked users. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of elements in the list| -|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Blocked](../types/contacts_Blocked.md) - - -### Example: - -```php -$contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_blockedSlice={_='contacts.blockedSlice', count=int, blocked={ContactBlocked}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v38/constructors/contacts_contacts.md b/old_docs/API_docs_v38/constructors/contacts_contacts.md deleted file mode 100644 index f101b34b..00000000 --- a/old_docs/API_docs_v38/constructors/contacts_contacts.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: contacts.contacts -description: The current user's contact list and info on users. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.contacts -[Back to constructors index](index.md) - - - -The current user's contact list and info on users. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|contacts|Array of [Contact](../types/Contact.md) | Yes|Contacts| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Contacts](../types/contacts_Contacts.md) - - -### Example: - -```php -$contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact, Contact], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_contacts={_='contacts.contacts', contacts={Contact}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v38/constructors/contacts_contactsNotModified.md b/old_docs/API_docs_v38/constructors/contacts_contactsNotModified.md deleted file mode 100644 index 17e76ac3..00000000 --- a/old_docs/API_docs_v38/constructors/contacts_contactsNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: contacts.contactsNotModified -description: Contact list on the server is the same as the list on the client. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.contactsNotModified -[Back to constructors index](index.md) - - - -Contact list on the server is the same as the list on the client. - - - - -### Type: [contacts\_Contacts](../types/contacts_Contacts.md) - - -### Example: - -```php -$contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified']; -``` - - -Or, if you're into Lua: - -```lua -contacts_contactsNotModified={_='contacts.contactsNotModified'} - -``` - - diff --git a/old_docs/API_docs_v38/constructors/contacts_found.md b/old_docs/API_docs_v38/constructors/contacts_found.md deleted file mode 100644 index 0674aabf..00000000 --- a/old_docs/API_docs_v38/constructors/contacts_found.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.found -description: Users found by name substring and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.found -[Back to constructors index](index.md) - - - -Users found by name substring and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|results|Array of [Peer](../types/Peer.md) | Yes|Results| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Found](../types/contacts_Found.md) - - -### Example: - -```php -$contacts_found = ['_' => 'contacts.found', 'results' => [Peer, Peer], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_found={_='contacts.found', results={Peer}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v38/constructors/contacts_importedContacts.md b/old_docs/API_docs_v38/constructors/contacts_importedContacts.md deleted file mode 100644 index 121d96d1..00000000 --- a/old_docs/API_docs_v38/constructors/contacts_importedContacts.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.importedContacts -description: Info on succesfully imported contacts. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.importedContacts -[Back to constructors index](index.md) - - - -Info on succesfully imported contacts. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|imported|Array of [ImportedContact](../types/ImportedContact.md) | Yes|Imported| -|retry\_contacts|Array of [long](../types/long.md) | Yes|Retry importing contacts whose client IDs appear here| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) - - -### Example: - -```php -$contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact, ImportedContact], 'retry_contacts' => [long, long], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_importedContacts={_='contacts.importedContacts', imported={ImportedContact}, retry_contacts={long}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v38/constructors/contacts_link.md b/old_docs/API_docs_v38/constructors/contacts_link.md deleted file mode 100644 index cfc566c7..00000000 --- a/old_docs/API_docs_v38/constructors/contacts_link.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.link -description: Link -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.link -[Back to constructors index](index.md) - - - -Link - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|my\_link|[ContactLink](../types/ContactLink.md) | Yes|My link| -|foreign\_link|[ContactLink](../types/ContactLink.md) | Yes|Foreign link| -|user|[User](../types/User.md) | Optional|User| - - - -### Type: [contacts\_Link](../types/contacts_Link.md) - - -### Example: - -```php -$contacts_link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User]; -``` - - -Or, if you're into Lua: - -```lua -contacts_link={_='contacts.link', my_link=ContactLink, foreign_link=ContactLink, user=User} - -``` - - diff --git a/old_docs/API_docs_v38/constructors/contacts_resolvedPeer.md b/old_docs/API_docs_v38/constructors/contacts_resolvedPeer.md deleted file mode 100644 index aae3c7af..00000000 --- a/old_docs/API_docs_v38/constructors/contacts_resolvedPeer.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.resolvedPeer -description: Resolved peer -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.resolvedPeer -[Back to constructors index](index.md) - - - -Resolved peer - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|peer|[Peer](../types/Peer.md) | Yes|The peer| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_ResolvedPeer](../types/contacts_ResolvedPeer.md) - - -### Example: - -```php -$contacts_resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_resolvedPeer={_='contacts.resolvedPeer', peer=Peer, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v38/constructors/contacts_suggested.md b/old_docs/API_docs_v38/constructors/contacts_suggested.md deleted file mode 100644 index 9bdba0b7..00000000 --- a/old_docs/API_docs_v38/constructors/contacts_suggested.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: contacts.suggested -description: Suggested -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.suggested -[Back to constructors index](index.md) - - - -Suggested - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|results|Array of [ContactSuggested](../types/ContactSuggested.md) | Yes|Results| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Suggested](../types/contacts_Suggested.md) - - -### Example: - -```php -$contacts_suggested = ['_' => 'contacts.suggested', 'results' => [ContactSuggested, ContactSuggested], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_suggested={_='contacts.suggested', results={ContactSuggested}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v38/constructors/help.appChangelog.md b/old_docs/API_docs_v38/constructors/help.appChangelog.md new file mode 100644 index 00000000..dec6b96c --- /dev/null +++ b/old_docs/API_docs_v38/constructors/help.appChangelog.md @@ -0,0 +1,38 @@ +--- +title: help.appChangelog +description: App changelog +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.appChangelog +[Back to constructors index](index.md) + + + +App changelog + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|text|[string](../types/string.md) | Yes|Text| + + + +### Type: [help.AppChangelog](../types/help.AppChangelog.md) + + +### Example: + +```php +$help.appChangelog = ['_' => 'help.appChangelog', 'text' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +help.appChangelog={_='help.appChangelog', text='string'} + +``` + + diff --git a/old_docs/API_docs_v38/constructors/help.appChangelogEmpty.md b/old_docs/API_docs_v38/constructors/help.appChangelogEmpty.md new file mode 100644 index 00000000..6ecb71af --- /dev/null +++ b/old_docs/API_docs_v38/constructors/help.appChangelogEmpty.md @@ -0,0 +1,33 @@ +--- +title: help.appChangelogEmpty +description: Empty app changelog +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.appChangelogEmpty +[Back to constructors index](index.md) + + + +Empty app changelog + + + + +### Type: [help.AppChangelog](../types/help.AppChangelog.md) + + +### Example: + +```php +$help.appChangelogEmpty = ['_' => 'help.appChangelogEmpty']; +``` + + +Or, if you're into Lua: + +```lua +help.appChangelogEmpty={_='help.appChangelogEmpty'} + +``` + + diff --git a/old_docs/API_docs_v38/constructors/help.appUpdate.md b/old_docs/API_docs_v38/constructors/help.appUpdate.md new file mode 100644 index 00000000..14b2d75b --- /dev/null +++ b/old_docs/API_docs_v38/constructors/help.appUpdate.md @@ -0,0 +1,41 @@ +--- +title: help.appUpdate +description: An update is available for the application. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.appUpdate +[Back to constructors index](index.md) + + + +An update is available for the application. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|id|[int](../types/int.md) | Yes|Update ID| +|critical|[Bool](../types/Bool.md) | Yes|Critical?| +|url|[string](../types/string.md) | Yes|Application download URL| +|text|[string](../types/string.md) | Yes|Text description of the update| + + + +### Type: [help.AppUpdate](../types/help.AppUpdate.md) + + +### Example: + +```php +$help.appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'url' => 'string', 'text' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +help.appUpdate={_='help.appUpdate', id=int, critical=Bool, url='string', text='string'} + +``` + + diff --git a/old_docs/API_docs_v38/constructors/help.inviteText.md b/old_docs/API_docs_v38/constructors/help.inviteText.md new file mode 100644 index 00000000..6a6261c1 --- /dev/null +++ b/old_docs/API_docs_v38/constructors/help.inviteText.md @@ -0,0 +1,38 @@ +--- +title: help.inviteText +description: Text of a text message with an invitation to install application. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.inviteText +[Back to constructors index](index.md) + + + +Text of a text message with an invitation to install application. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|message|[string](../types/string.md) | Yes|Text of a message| + + + +### Type: [help.InviteText](../types/help.InviteText.md) + + +### Example: + +```php +$help.inviteText = ['_' => 'help.inviteText', 'message' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +help.inviteText={_='help.inviteText', message='string'} + +``` + + diff --git a/old_docs/API_docs_v38/constructors/help.noAppUpdate.md b/old_docs/API_docs_v38/constructors/help.noAppUpdate.md new file mode 100644 index 00000000..1b69ac9a --- /dev/null +++ b/old_docs/API_docs_v38/constructors/help.noAppUpdate.md @@ -0,0 +1,33 @@ +--- +title: help.noAppUpdate +description: No updates are available for the application. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.noAppUpdate +[Back to constructors index](index.md) + + + +No updates are available for the application. + + + + +### Type: [help.AppUpdate](../types/help.AppUpdate.md) + + +### Example: + +```php +$help.noAppUpdate = ['_' => 'help.noAppUpdate']; +``` + + +Or, if you're into Lua: + +```lua +help.noAppUpdate={_='help.noAppUpdate'} + +``` + + diff --git a/old_docs/API_docs_v38/constructors/help.support.md b/old_docs/API_docs_v38/constructors/help.support.md new file mode 100644 index 00000000..4d4f85fb --- /dev/null +++ b/old_docs/API_docs_v38/constructors/help.support.md @@ -0,0 +1,39 @@ +--- +title: help.support +description: Info on support user. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.support +[Back to constructors index](index.md) + + + +Info on support user. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_number|[string](../types/string.md) | Yes|Phone number| +|user|[User](../types/User.md) | Optional|User| + + + +### Type: [help.Support](../types/help.Support.md) + + +### Example: + +```php +$help.support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => User]; +``` + + +Or, if you're into Lua: + +```lua +help.support={_='help.support', phone_number='string', user=User} + +``` + + diff --git a/old_docs/API_docs_v38/constructors/help_appChangelog.md b/old_docs/API_docs_v38/constructors/help_appChangelog.md deleted file mode 100644 index 793a8fc4..00000000 --- a/old_docs/API_docs_v38/constructors/help_appChangelog.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: help.appChangelog -description: App changelog -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.appChangelog -[Back to constructors index](index.md) - - - -App changelog - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|text|[string](../types/string.md) | Yes|Text| - - - -### Type: [help\_AppChangelog](../types/help_AppChangelog.md) - - -### Example: - -```php -$help_appChangelog = ['_' => 'help.appChangelog', 'text' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -help_appChangelog={_='help.appChangelog', text='string'} - -``` - - diff --git a/old_docs/API_docs_v38/constructors/help_appChangelogEmpty.md b/old_docs/API_docs_v38/constructors/help_appChangelogEmpty.md deleted file mode 100644 index 62a195bb..00000000 --- a/old_docs/API_docs_v38/constructors/help_appChangelogEmpty.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: help.appChangelogEmpty -description: Empty app changelog -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.appChangelogEmpty -[Back to constructors index](index.md) - - - -Empty app changelog - - - - -### Type: [help\_AppChangelog](../types/help_AppChangelog.md) - - -### Example: - -```php -$help_appChangelogEmpty = ['_' => 'help.appChangelogEmpty']; -``` - - -Or, if you're into Lua: - -```lua -help_appChangelogEmpty={_='help.appChangelogEmpty'} - -``` - - diff --git a/old_docs/API_docs_v38/constructors/help_appUpdate.md b/old_docs/API_docs_v38/constructors/help_appUpdate.md deleted file mode 100644 index efba9bdb..00000000 --- a/old_docs/API_docs_v38/constructors/help_appUpdate.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: help.appUpdate -description: An update is available for the application. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.appUpdate -[Back to constructors index](index.md) - - - -An update is available for the application. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|id|[int](../types/int.md) | Yes|Update ID| -|critical|[Bool](../types/Bool.md) | Yes|Critical?| -|url|[string](../types/string.md) | Yes|Application download URL| -|text|[string](../types/string.md) | Yes|Text description of the update| - - - -### Type: [help\_AppUpdate](../types/help_AppUpdate.md) - - -### Example: - -```php -$help_appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'url' => 'string', 'text' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -help_appUpdate={_='help.appUpdate', id=int, critical=Bool, url='string', text='string'} - -``` - - diff --git a/old_docs/API_docs_v38/constructors/help_inviteText.md b/old_docs/API_docs_v38/constructors/help_inviteText.md deleted file mode 100644 index b8317ce3..00000000 --- a/old_docs/API_docs_v38/constructors/help_inviteText.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: help.inviteText -description: Text of a text message with an invitation to install application. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.inviteText -[Back to constructors index](index.md) - - - -Text of a text message with an invitation to install application. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|message|[string](../types/string.md) | Yes|Text of a message| - - - -### Type: [help\_InviteText](../types/help_InviteText.md) - - -### Example: - -```php -$help_inviteText = ['_' => 'help.inviteText', 'message' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -help_inviteText={_='help.inviteText', message='string'} - -``` - - diff --git a/old_docs/API_docs_v38/constructors/help_noAppUpdate.md b/old_docs/API_docs_v38/constructors/help_noAppUpdate.md deleted file mode 100644 index 51505e52..00000000 --- a/old_docs/API_docs_v38/constructors/help_noAppUpdate.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: help.noAppUpdate -description: No updates are available for the application. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.noAppUpdate -[Back to constructors index](index.md) - - - -No updates are available for the application. - - - - -### Type: [help\_AppUpdate](../types/help_AppUpdate.md) - - -### Example: - -```php -$help_noAppUpdate = ['_' => 'help.noAppUpdate']; -``` - - -Or, if you're into Lua: - -```lua -help_noAppUpdate={_='help.noAppUpdate'} - -``` - - diff --git a/old_docs/API_docs_v38/constructors/help_support.md b/old_docs/API_docs_v38/constructors/help_support.md deleted file mode 100644 index 148f7f42..00000000 --- a/old_docs/API_docs_v38/constructors/help_support.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: help.support -description: Info on support user. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.support -[Back to constructors index](index.md) - - - -Info on support user. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_number|[string](../types/string.md) | Yes|Phone number| -|user|[User](../types/User.md) | Optional|User| - - - -### Type: [help\_Support](../types/help_Support.md) - - -### Example: - -```php -$help_support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => User]; -``` - - -Or, if you're into Lua: - -```lua -help_support={_='help.support', phone_number='string', user=User} - -``` - - diff --git a/old_docs/API_docs_v38/constructors/messages.affectedHistory.md b/old_docs/API_docs_v38/constructors/messages.affectedHistory.md new file mode 100644 index 00000000..5fc8acec --- /dev/null +++ b/old_docs/API_docs_v38/constructors/messages.affectedHistory.md @@ -0,0 +1,40 @@ +--- +title: messages.affectedHistory +description: Affected part of communication history with the user or in a chat. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.affectedHistory +[Back to constructors index](index.md) + + + +Affected part of communication history with the user or in a chat. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| +|pts\_count|[int](../types/int.md) | Yes|Number of affected events| +|offset|[int](../types/int.md) | Yes|If a parameter contains positive value, it is necessary to repeat the method call using the given value; during the proceeding of all the history the value itself shall gradually decrease| + + + +### Type: [messages.AffectedHistory](../types/messages.AffectedHistory.md) + + +### Example: + +```php +$messages.affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.affectedHistory={_='messages.affectedHistory', pts=int, pts_count=int, offset=int} + +``` + + diff --git a/old_docs/API_docs_v38/constructors/messages.affectedMessages.md b/old_docs/API_docs_v38/constructors/messages.affectedMessages.md new file mode 100644 index 00000000..a0e60bdf --- /dev/null +++ b/old_docs/API_docs_v38/constructors/messages.affectedMessages.md @@ -0,0 +1,39 @@ +--- +title: messages.affectedMessages +description: Events affected by operation +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.affectedMessages +[Back to constructors index](index.md) + + + +Events affected by operation + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|[Event count after generation](https://core.telegram.org/api/updates)| +|pts\_count|[int](../types/int.md) | Yes|[Number of events that were generated](https://core.telegram.org/api/updates)| + + + +### Type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) + + +### Example: + +```php +$messages.affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.affectedMessages={_='messages.affectedMessages', pts=int, pts_count=int} + +``` + + diff --git a/old_docs/API_docs_v38/constructors/messages.allStickers.md b/old_docs/API_docs_v38/constructors/messages.allStickers.md new file mode 100644 index 00000000..2f9cc6e8 --- /dev/null +++ b/old_docs/API_docs_v38/constructors/messages.allStickers.md @@ -0,0 +1,39 @@ +--- +title: messages.allStickers +description: Info about all installed stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.allStickers +[Back to constructors index](index.md) + + + +Info about all installed stickers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[string](../types/string.md) | Yes|Hash| +|sets|Array of [StickerSet](../types/StickerSet.md) | Yes|Sets| + + + +### Type: [messages.AllStickers](../types/messages.AllStickers.md) + + +### Example: + +```php +$messages.allStickers = ['_' => 'messages.allStickers', 'hash' => 'string', 'sets' => [StickerSet, StickerSet]]; +``` + + +Or, if you're into Lua: + +```lua +messages.allStickers={_='messages.allStickers', hash='string', sets={StickerSet}} + +``` + + diff --git a/old_docs/API_docs_v38/constructors/messages.allStickersNotModified.md b/old_docs/API_docs_v38/constructors/messages.allStickersNotModified.md new file mode 100644 index 00000000..d3db088b --- /dev/null +++ b/old_docs/API_docs_v38/constructors/messages.allStickersNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.allStickersNotModified +description: Info about all installed stickers hasn't changed +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.allStickersNotModified +[Back to constructors index](index.md) + + + +Info about all installed stickers hasn't changed + + + + +### Type: [messages.AllStickers](../types/messages.AllStickers.md) + + +### Example: + +```php +$messages.allStickersNotModified = ['_' => 'messages.allStickersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.allStickersNotModified={_='messages.allStickersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v38/constructors/messages.channelMessages.md b/old_docs/API_docs_v38/constructors/messages.channelMessages.md new file mode 100644 index 00000000..26b60293 --- /dev/null +++ b/old_docs/API_docs_v38/constructors/messages.channelMessages.md @@ -0,0 +1,43 @@ +--- +title: messages.channelMessages +description: Channel messages +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.channelMessages +[Back to constructors index](index.md) + + + +Channel messages + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|[Event count after generation](https://core.telegram.org/api/updates)| +|count|[int](../types/int.md) | Yes|Total number of results were found server-side (may not be all included here)| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|collapsed|Array of [MessageGroup](../types/MessageGroup.md) | Optional|Collapsed| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Messages](../types/messages.Messages.md) + + +### Example: + +```php +$messages.channelMessages = ['_' => 'messages.channelMessages', 'pts' => int, 'count' => int, 'messages' => [Message, Message], 'collapsed' => [MessageGroup, MessageGroup], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.channelMessages={_='messages.channelMessages', pts=int, count=int, messages={Message}, collapsed={MessageGroup}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v38/constructors/messages.chatFull.md b/old_docs/API_docs_v38/constructors/messages.chatFull.md new file mode 100644 index 00000000..3906cc54 --- /dev/null +++ b/old_docs/API_docs_v38/constructors/messages.chatFull.md @@ -0,0 +1,40 @@ +--- +title: messages.chatFull +description: Extended info on chat and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.chatFull +[Back to constructors index](index.md) + + + +Extended info on chat and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|full\_chat|[ChatFull](../types/ChatFull.md) | Yes|Extended info on a chat| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.ChatFull](../types/messages.ChatFull.md) + + +### Example: + +```php +$messages.chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.chatFull={_='messages.chatFull', full_chat=ChatFull, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v38/constructors/messages.chats.md b/old_docs/API_docs_v38/constructors/messages.chats.md new file mode 100644 index 00000000..9ede9ff2 --- /dev/null +++ b/old_docs/API_docs_v38/constructors/messages.chats.md @@ -0,0 +1,38 @@ +--- +title: messages.chats +description: List of chats with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.chats +[Back to constructors index](index.md) + + + +List of chats with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| + + + +### Type: [messages.Chats](../types/messages.Chats.md) + + +### Example: + +```php +$messages.chats = ['_' => 'messages.chats', 'chats' => [Chat, Chat]]; +``` + + +Or, if you're into Lua: + +```lua +messages.chats={_='messages.chats', chats={Chat}} + +``` + + diff --git a/old_docs/API_docs_v38/constructors/messages.dhConfig.md b/old_docs/API_docs_v38/constructors/messages.dhConfig.md new file mode 100644 index 00000000..58344f64 --- /dev/null +++ b/old_docs/API_docs_v38/constructors/messages.dhConfig.md @@ -0,0 +1,41 @@ +--- +title: messages.dhConfig +description: New set of configuring parameters. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dhConfig +[Back to constructors index](index.md) + + + +New set of configuring parameters. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|g|[int](../types/int.md) | Yes|New value **prime**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| +|p|[bytes](../types/bytes.md) | Yes|New value **primitive root**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| +|version|[int](../types/int.md) | Yes|Vestion of set of parameters| +|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| + + + +### Type: [messages.DhConfig](../types/messages.DhConfig.md) + + +### Example: + +```php +$messages.dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'version' => int, 'random' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +messages.dhConfig={_='messages.dhConfig', g=int, p='bytes', version=int, random='bytes'} + +``` + + diff --git a/old_docs/API_docs_v38/constructors/messages.dhConfigNotModified.md b/old_docs/API_docs_v38/constructors/messages.dhConfigNotModified.md new file mode 100644 index 00000000..a9a95389 --- /dev/null +++ b/old_docs/API_docs_v38/constructors/messages.dhConfigNotModified.md @@ -0,0 +1,38 @@ +--- +title: messages.dhConfigNotModified +description: Configuring parameters did not change. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dhConfigNotModified +[Back to constructors index](index.md) + + + +Configuring parameters did not change. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| + + + +### Type: [messages.DhConfig](../types/messages.DhConfig.md) + + +### Example: + +```php +$messages.dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +messages.dhConfigNotModified={_='messages.dhConfigNotModified', random='bytes'} + +``` + + diff --git a/old_docs/API_docs_v38/constructors/messages.dialogs.md b/old_docs/API_docs_v38/constructors/messages.dialogs.md new file mode 100644 index 00000000..a72eabce --- /dev/null +++ b/old_docs/API_docs_v38/constructors/messages.dialogs.md @@ -0,0 +1,41 @@ +--- +title: messages.dialogs +description: Full list of chats with messages and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dialogs +[Back to constructors index](index.md) + + + +Full list of chats with messages and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Dialogs](../types/messages.Dialogs.md) + + +### Example: + +```php +$messages.dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.dialogs={_='messages.dialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v38/constructors/messages.dialogsSlice.md b/old_docs/API_docs_v38/constructors/messages.dialogsSlice.md new file mode 100644 index 00000000..26227d2c --- /dev/null +++ b/old_docs/API_docs_v38/constructors/messages.dialogsSlice.md @@ -0,0 +1,42 @@ +--- +title: messages.dialogsSlice +description: Incomplete list of dialogs with messages and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dialogsSlice +[Back to constructors index](index.md) + + + +Incomplete list of dialogs with messages and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of dialogs| +|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Dialogs](../types/messages.Dialogs.md) + + +### Example: + +```php +$messages.dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.dialogsSlice={_='messages.dialogsSlice', count=int, dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v38/constructors/messages.messages.md b/old_docs/API_docs_v38/constructors/messages.messages.md new file mode 100644 index 00000000..3af71dca --- /dev/null +++ b/old_docs/API_docs_v38/constructors/messages.messages.md @@ -0,0 +1,40 @@ +--- +title: messages.messages +description: Full list of messages with auxilary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.messages +[Back to constructors index](index.md) + + + +Full list of messages with auxilary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Messages](../types/messages.Messages.md) + + +### Example: + +```php +$messages.messages = ['_' => 'messages.messages', 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.messages={_='messages.messages', messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v38/constructors/messages.messagesSlice.md b/old_docs/API_docs_v38/constructors/messages.messagesSlice.md new file mode 100644 index 00000000..2fe91df0 --- /dev/null +++ b/old_docs/API_docs_v38/constructors/messages.messagesSlice.md @@ -0,0 +1,41 @@ +--- +title: messages.messagesSlice +description: Incomplete list of messages and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.messagesSlice +[Back to constructors index](index.md) + + + +Incomplete list of messages and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of messages in the list| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Messages](../types/messages.Messages.md) + + +### Example: + +```php +$messages.messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.messagesSlice={_='messages.messagesSlice', count=int, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v38/constructors/messages.sentEncryptedFile.md b/old_docs/API_docs_v38/constructors/messages.sentEncryptedFile.md new file mode 100644 index 00000000..1f0e43c6 --- /dev/null +++ b/old_docs/API_docs_v38/constructors/messages.sentEncryptedFile.md @@ -0,0 +1,39 @@ +--- +title: messages.sentEncryptedFile +description: Message with a file enclosure sent to a protected chat +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.sentEncryptedFile +[Back to constructors index](index.md) + + + +Message with a file enclosure sent to a protected chat + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Sending date| +|file|[EncryptedFile](../types/EncryptedFile.md) | Optional|Attached file| + + + +### Type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) + + +### Example: + +```php +$messages.sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile]; +``` + + +Or, if you're into Lua: + +```lua +messages.sentEncryptedFile={_='messages.sentEncryptedFile', date=int, file=EncryptedFile} + +``` + + diff --git a/old_docs/API_docs_v38/constructors/messages.sentEncryptedMessage.md b/old_docs/API_docs_v38/constructors/messages.sentEncryptedMessage.md new file mode 100644 index 00000000..3d5eb40c --- /dev/null +++ b/old_docs/API_docs_v38/constructors/messages.sentEncryptedMessage.md @@ -0,0 +1,38 @@ +--- +title: messages.sentEncryptedMessage +description: Message without file attachemts sent to an encrypted file. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.sentEncryptedMessage +[Back to constructors index](index.md) + + + +Message without file attachemts sent to an encrypted file. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Date of sending| + + + +### Type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) + + +### Example: + +```php +$messages.sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.sentEncryptedMessage={_='messages.sentEncryptedMessage', date=int} + +``` + + diff --git a/old_docs/API_docs_v38/constructors/messages.stickerSet.md b/old_docs/API_docs_v38/constructors/messages.stickerSet.md new file mode 100644 index 00000000..fbc154d0 --- /dev/null +++ b/old_docs/API_docs_v38/constructors/messages.stickerSet.md @@ -0,0 +1,40 @@ +--- +title: messages.stickerSet +description: Stickerset and stickers inside it +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickerSet +[Back to constructors index](index.md) + + + +Stickerset and stickers inside it + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|set|[StickerSet](../types/StickerSet.md) | Yes|The stickerset| +|packs|Array of [StickerPack](../types/StickerPack.md) | Yes|Packs| +|documents|Array of [Document](../types/Document.md) | Yes|Documents| + + + +### Type: [messages.StickerSet](../types/messages.StickerSet.md) + + +### Example: + +```php +$messages.stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'packs' => [StickerPack, StickerPack], 'documents' => [Document, Document]]; +``` + + +Or, if you're into Lua: + +```lua +messages.stickerSet={_='messages.stickerSet', set=StickerSet, packs={StickerPack}, documents={Document}} + +``` + + diff --git a/old_docs/API_docs_v38/constructors/messages.stickers.md b/old_docs/API_docs_v38/constructors/messages.stickers.md new file mode 100644 index 00000000..310b64b0 --- /dev/null +++ b/old_docs/API_docs_v38/constructors/messages.stickers.md @@ -0,0 +1,39 @@ +--- +title: messages.stickers +description: Found stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickers +[Back to constructors index](index.md) + + + +Found stickers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[string](../types/string.md) | Yes|Hash| +|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| + + + +### Type: [messages.Stickers](../types/messages.Stickers.md) + + +### Example: + +```php +$messages.stickers = ['_' => 'messages.stickers', 'hash' => 'string', 'stickers' => [Document, Document]]; +``` + + +Or, if you're into Lua: + +```lua +messages.stickers={_='messages.stickers', hash='string', stickers={Document}} + +``` + + diff --git a/old_docs/API_docs_v38/constructors/messages.stickersNotModified.md b/old_docs/API_docs_v38/constructors/messages.stickersNotModified.md new file mode 100644 index 00000000..e8c7766c --- /dev/null +++ b/old_docs/API_docs_v38/constructors/messages.stickersNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.stickersNotModified +description: No new stickers were found for the given query +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickersNotModified +[Back to constructors index](index.md) + + + +No new stickers were found for the given query + + + + +### Type: [messages.Stickers](../types/messages.Stickers.md) + + +### Example: + +```php +$messages.stickersNotModified = ['_' => 'messages.stickersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.stickersNotModified={_='messages.stickersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v38/constructors/messages_affectedHistory.md b/old_docs/API_docs_v38/constructors/messages_affectedHistory.md deleted file mode 100644 index 449a7e3f..00000000 --- a/old_docs/API_docs_v38/constructors/messages_affectedHistory.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.affectedHistory -description: Affected part of communication history with the user or in a chat. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.affectedHistory -[Back to constructors index](index.md) - - - -Affected part of communication history with the user or in a chat. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| -|pts\_count|[int](../types/int.md) | Yes|Number of affected events| -|offset|[int](../types/int.md) | Yes|If a parameter contains positive value, it is necessary to repeat the method call using the given value; during the proceeding of all the history the value itself shall gradually decrease| - - - -### Type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) - - -### Example: - -```php -$messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_affectedHistory={_='messages.affectedHistory', pts=int, pts_count=int, offset=int} - -``` - - diff --git a/old_docs/API_docs_v38/constructors/messages_affectedMessages.md b/old_docs/API_docs_v38/constructors/messages_affectedMessages.md deleted file mode 100644 index 86760581..00000000 --- a/old_docs/API_docs_v38/constructors/messages_affectedMessages.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.affectedMessages -description: Events affected by operation -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.affectedMessages -[Back to constructors index](index.md) - - - -Events affected by operation - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|[Event count after generation](https://core.telegram.org/api/updates)| -|pts\_count|[int](../types/int.md) | Yes|[Number of events that were generated](https://core.telegram.org/api/updates)| - - - -### Type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) - - -### Example: - -```php -$messages_affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_affectedMessages={_='messages.affectedMessages', pts=int, pts_count=int} - -``` - - diff --git a/old_docs/API_docs_v38/constructors/messages_allStickers.md b/old_docs/API_docs_v38/constructors/messages_allStickers.md deleted file mode 100644 index dfbaf47e..00000000 --- a/old_docs/API_docs_v38/constructors/messages_allStickers.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.allStickers -description: Info about all installed stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.allStickers -[Back to constructors index](index.md) - - - -Info about all installed stickers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[string](../types/string.md) | Yes|Hash| -|sets|Array of [StickerSet](../types/StickerSet.md) | Yes|Sets| - - - -### Type: [messages\_AllStickers](../types/messages_AllStickers.md) - - -### Example: - -```php -$messages_allStickers = ['_' => 'messages.allStickers', 'hash' => 'string', 'sets' => [StickerSet, StickerSet]]; -``` - - -Or, if you're into Lua: - -```lua -messages_allStickers={_='messages.allStickers', hash='string', sets={StickerSet}} - -``` - - diff --git a/old_docs/API_docs_v38/constructors/messages_allStickersNotModified.md b/old_docs/API_docs_v38/constructors/messages_allStickersNotModified.md deleted file mode 100644 index c4da85ab..00000000 --- a/old_docs/API_docs_v38/constructors/messages_allStickersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.allStickersNotModified -description: Info about all installed stickers hasn't changed -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.allStickersNotModified -[Back to constructors index](index.md) - - - -Info about all installed stickers hasn't changed - - - - -### Type: [messages\_AllStickers](../types/messages_AllStickers.md) - - -### Example: - -```php -$messages_allStickersNotModified = ['_' => 'messages.allStickersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_allStickersNotModified={_='messages.allStickersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v38/constructors/messages_channelMessages.md b/old_docs/API_docs_v38/constructors/messages_channelMessages.md deleted file mode 100644 index f59dea09..00000000 --- a/old_docs/API_docs_v38/constructors/messages_channelMessages.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: messages.channelMessages -description: Channel messages -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.channelMessages -[Back to constructors index](index.md) - - - -Channel messages - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|[Event count after generation](https://core.telegram.org/api/updates)| -|count|[int](../types/int.md) | Yes|Total number of results were found server-side (may not be all included here)| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|collapsed|Array of [MessageGroup](../types/MessageGroup.md) | Optional|Collapsed| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Messages](../types/messages_Messages.md) - - -### Example: - -```php -$messages_channelMessages = ['_' => 'messages.channelMessages', 'pts' => int, 'count' => int, 'messages' => [Message, Message], 'collapsed' => [MessageGroup, MessageGroup], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_channelMessages={_='messages.channelMessages', pts=int, count=int, messages={Message}, collapsed={MessageGroup}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v38/constructors/messages_chatFull.md b/old_docs/API_docs_v38/constructors/messages_chatFull.md deleted file mode 100644 index 02f1acdf..00000000 --- a/old_docs/API_docs_v38/constructors/messages_chatFull.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.chatFull -description: Extended info on chat and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.chatFull -[Back to constructors index](index.md) - - - -Extended info on chat and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|full\_chat|[ChatFull](../types/ChatFull.md) | Yes|Extended info on a chat| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_ChatFull](../types/messages_ChatFull.md) - - -### Example: - -```php -$messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_chatFull={_='messages.chatFull', full_chat=ChatFull, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v38/constructors/messages_chats.md b/old_docs/API_docs_v38/constructors/messages_chats.md deleted file mode 100644 index ef3690a9..00000000 --- a/old_docs/API_docs_v38/constructors/messages_chats.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.chats -description: List of chats with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.chats -[Back to constructors index](index.md) - - - -List of chats with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| - - - -### Type: [messages\_Chats](../types/messages_Chats.md) - - -### Example: - -```php -$messages_chats = ['_' => 'messages.chats', 'chats' => [Chat, Chat]]; -``` - - -Or, if you're into Lua: - -```lua -messages_chats={_='messages.chats', chats={Chat}} - -``` - - diff --git a/old_docs/API_docs_v38/constructors/messages_dhConfig.md b/old_docs/API_docs_v38/constructors/messages_dhConfig.md deleted file mode 100644 index 42c2feb1..00000000 --- a/old_docs/API_docs_v38/constructors/messages_dhConfig.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: messages.dhConfig -description: New set of configuring parameters. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dhConfig -[Back to constructors index](index.md) - - - -New set of configuring parameters. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|g|[int](../types/int.md) | Yes|New value **prime**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| -|p|[bytes](../types/bytes.md) | Yes|New value **primitive root**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| -|version|[int](../types/int.md) | Yes|Vestion of set of parameters| -|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| - - - -### Type: [messages\_DhConfig](../types/messages_DhConfig.md) - - -### Example: - -```php -$messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'version' => int, 'random' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -messages_dhConfig={_='messages.dhConfig', g=int, p='bytes', version=int, random='bytes'} - -``` - - diff --git a/old_docs/API_docs_v38/constructors/messages_dhConfigNotModified.md b/old_docs/API_docs_v38/constructors/messages_dhConfigNotModified.md deleted file mode 100644 index 5bf64230..00000000 --- a/old_docs/API_docs_v38/constructors/messages_dhConfigNotModified.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.dhConfigNotModified -description: Configuring parameters did not change. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dhConfigNotModified -[Back to constructors index](index.md) - - - -Configuring parameters did not change. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| - - - -### Type: [messages\_DhConfig](../types/messages_DhConfig.md) - - -### Example: - -```php -$messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -messages_dhConfigNotModified={_='messages.dhConfigNotModified', random='bytes'} - -``` - - diff --git a/old_docs/API_docs_v38/constructors/messages_dialogs.md b/old_docs/API_docs_v38/constructors/messages_dialogs.md deleted file mode 100644 index e6a431b4..00000000 --- a/old_docs/API_docs_v38/constructors/messages_dialogs.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: messages.dialogs -description: Full list of chats with messages and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dialogs -[Back to constructors index](index.md) - - - -Full list of chats with messages and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Dialogs](../types/messages_Dialogs.md) - - -### Example: - -```php -$messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_dialogs={_='messages.dialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v38/constructors/messages_dialogsSlice.md b/old_docs/API_docs_v38/constructors/messages_dialogsSlice.md deleted file mode 100644 index f183b9a8..00000000 --- a/old_docs/API_docs_v38/constructors/messages_dialogsSlice.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: messages.dialogsSlice -description: Incomplete list of dialogs with messages and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dialogsSlice -[Back to constructors index](index.md) - - - -Incomplete list of dialogs with messages and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of dialogs| -|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Dialogs](../types/messages_Dialogs.md) - - -### Example: - -```php -$messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_dialogsSlice={_='messages.dialogsSlice', count=int, dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v38/constructors/messages_messages.md b/old_docs/API_docs_v38/constructors/messages_messages.md deleted file mode 100644 index 3e369e1a..00000000 --- a/old_docs/API_docs_v38/constructors/messages_messages.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.messages -description: Full list of messages with auxilary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.messages -[Back to constructors index](index.md) - - - -Full list of messages with auxilary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Messages](../types/messages_Messages.md) - - -### Example: - -```php -$messages_messages = ['_' => 'messages.messages', 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_messages={_='messages.messages', messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v38/constructors/messages_messagesSlice.md b/old_docs/API_docs_v38/constructors/messages_messagesSlice.md deleted file mode 100644 index f9b8dc18..00000000 --- a/old_docs/API_docs_v38/constructors/messages_messagesSlice.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: messages.messagesSlice -description: Incomplete list of messages and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.messagesSlice -[Back to constructors index](index.md) - - - -Incomplete list of messages and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of messages in the list| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Messages](../types/messages_Messages.md) - - -### Example: - -```php -$messages_messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_messagesSlice={_='messages.messagesSlice', count=int, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v38/constructors/messages_sentEncryptedFile.md b/old_docs/API_docs_v38/constructors/messages_sentEncryptedFile.md deleted file mode 100644 index fdc2a11e..00000000 --- a/old_docs/API_docs_v38/constructors/messages_sentEncryptedFile.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.sentEncryptedFile -description: Message with a file enclosure sent to a protected chat -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.sentEncryptedFile -[Back to constructors index](index.md) - - - -Message with a file enclosure sent to a protected chat - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Sending date| -|file|[EncryptedFile](../types/EncryptedFile.md) | Optional|Attached file| - - - -### Type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) - - -### Example: - -```php -$messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile]; -``` - - -Or, if you're into Lua: - -```lua -messages_sentEncryptedFile={_='messages.sentEncryptedFile', date=int, file=EncryptedFile} - -``` - - diff --git a/old_docs/API_docs_v38/constructors/messages_sentEncryptedMessage.md b/old_docs/API_docs_v38/constructors/messages_sentEncryptedMessage.md deleted file mode 100644 index 36b2bbff..00000000 --- a/old_docs/API_docs_v38/constructors/messages_sentEncryptedMessage.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.sentEncryptedMessage -description: Message without file attachemts sent to an encrypted file. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.sentEncryptedMessage -[Back to constructors index](index.md) - - - -Message without file attachemts sent to an encrypted file. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Date of sending| - - - -### Type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) - - -### Example: - -```php -$messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_sentEncryptedMessage={_='messages.sentEncryptedMessage', date=int} - -``` - - diff --git a/old_docs/API_docs_v38/constructors/messages_stickerSet.md b/old_docs/API_docs_v38/constructors/messages_stickerSet.md deleted file mode 100644 index 127191de..00000000 --- a/old_docs/API_docs_v38/constructors/messages_stickerSet.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.stickerSet -description: Stickerset and stickers inside it -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickerSet -[Back to constructors index](index.md) - - - -Stickerset and stickers inside it - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|set|[StickerSet](../types/StickerSet.md) | Yes|The stickerset| -|packs|Array of [StickerPack](../types/StickerPack.md) | Yes|Packs| -|documents|Array of [Document](../types/Document.md) | Yes|Documents| - - - -### Type: [messages\_StickerSet](../types/messages_StickerSet.md) - - -### Example: - -```php -$messages_stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'packs' => [StickerPack, StickerPack], 'documents' => [Document, Document]]; -``` - - -Or, if you're into Lua: - -```lua -messages_stickerSet={_='messages.stickerSet', set=StickerSet, packs={StickerPack}, documents={Document}} - -``` - - diff --git a/old_docs/API_docs_v38/constructors/messages_stickers.md b/old_docs/API_docs_v38/constructors/messages_stickers.md deleted file mode 100644 index 1c007df2..00000000 --- a/old_docs/API_docs_v38/constructors/messages_stickers.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.stickers -description: Found stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickers -[Back to constructors index](index.md) - - - -Found stickers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[string](../types/string.md) | Yes|Hash| -|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| - - - -### Type: [messages\_Stickers](../types/messages_Stickers.md) - - -### Example: - -```php -$messages_stickers = ['_' => 'messages.stickers', 'hash' => 'string', 'stickers' => [Document, Document]]; -``` - - -Or, if you're into Lua: - -```lua -messages_stickers={_='messages.stickers', hash='string', stickers={Document}} - -``` - - diff --git a/old_docs/API_docs_v38/constructors/messages_stickersNotModified.md b/old_docs/API_docs_v38/constructors/messages_stickersNotModified.md deleted file mode 100644 index 3d434a79..00000000 --- a/old_docs/API_docs_v38/constructors/messages_stickersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.stickersNotModified -description: No new stickers were found for the given query -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickersNotModified -[Back to constructors index](index.md) - - - -No new stickers were found for the given query - - - - -### Type: [messages\_Stickers](../types/messages_Stickers.md) - - -### Example: - -```php -$messages_stickersNotModified = ['_' => 'messages.stickersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_stickersNotModified={_='messages.stickersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v38/constructors/photos.photo.md b/old_docs/API_docs_v38/constructors/photos.photo.md new file mode 100644 index 00000000..43d3efc7 --- /dev/null +++ b/old_docs/API_docs_v38/constructors/photos.photo.md @@ -0,0 +1,39 @@ +--- +title: photos.photo +description: Photo with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: photos.photo +[Back to constructors index](index.md) + + + +Photo with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|photo|[Photo](../types/Photo.md) | Optional|Photo| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [photos.Photo](../types/photos.Photo.md) + + +### Example: + +```php +$photos.photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +photos.photo={_='photos.photo', photo=Photo, users={User}} + +``` + + diff --git a/old_docs/API_docs_v38/constructors/photos.photos.md b/old_docs/API_docs_v38/constructors/photos.photos.md new file mode 100644 index 00000000..901a9693 --- /dev/null +++ b/old_docs/API_docs_v38/constructors/photos.photos.md @@ -0,0 +1,39 @@ +--- +title: photos.photos +description: Full list of photos with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: photos.photos +[Back to constructors index](index.md) + + + +Full list of photos with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [photos.Photos](../types/photos.Photos.md) + + +### Example: + +```php +$photos.photos = ['_' => 'photos.photos', 'photos' => [Photo, Photo], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +photos.photos={_='photos.photos', photos={Photo}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v38/constructors/photos.photosSlice.md b/old_docs/API_docs_v38/constructors/photos.photosSlice.md new file mode 100644 index 00000000..2cca3546 --- /dev/null +++ b/old_docs/API_docs_v38/constructors/photos.photosSlice.md @@ -0,0 +1,40 @@ +--- +title: photos.photosSlice +description: Incomplete list of photos with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: photos.photosSlice +[Back to constructors index](index.md) + + + +Incomplete list of photos with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of photos| +|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [photos.Photos](../types/photos.Photos.md) + + +### Example: + +```php +$photos.photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo, Photo], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +photos.photosSlice={_='photos.photosSlice', count=int, photos={Photo}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v38/constructors/photos_photo.md b/old_docs/API_docs_v38/constructors/photos_photo.md deleted file mode 100644 index d5ad61d9..00000000 --- a/old_docs/API_docs_v38/constructors/photos_photo.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: photos.photo -description: Photo with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: photos.photo -[Back to constructors index](index.md) - - - -Photo with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|photo|[Photo](../types/Photo.md) | Optional|Photo| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [photos\_Photo](../types/photos_Photo.md) - - -### Example: - -```php -$photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -photos_photo={_='photos.photo', photo=Photo, users={User}} - -``` - - diff --git a/old_docs/API_docs_v38/constructors/photos_photos.md b/old_docs/API_docs_v38/constructors/photos_photos.md deleted file mode 100644 index 6ae5d048..00000000 --- a/old_docs/API_docs_v38/constructors/photos_photos.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: photos.photos -description: Full list of photos with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: photos.photos -[Back to constructors index](index.md) - - - -Full list of photos with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [photos\_Photos](../types/photos_Photos.md) - - -### Example: - -```php -$photos_photos = ['_' => 'photos.photos', 'photos' => [Photo, Photo], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -photos_photos={_='photos.photos', photos={Photo}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v38/constructors/photos_photosSlice.md b/old_docs/API_docs_v38/constructors/photos_photosSlice.md deleted file mode 100644 index 5c465c21..00000000 --- a/old_docs/API_docs_v38/constructors/photos_photosSlice.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: photos.photosSlice -description: Incomplete list of photos with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: photos.photosSlice -[Back to constructors index](index.md) - - - -Incomplete list of photos with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of photos| -|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [photos\_Photos](../types/photos_Photos.md) - - -### Example: - -```php -$photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo, Photo], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -photos_photosSlice={_='photos.photosSlice', count=int, photos={Photo}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v38/constructors/storage.fileGif.md b/old_docs/API_docs_v38/constructors/storage.fileGif.md new file mode 100644 index 00000000..8193bd25 --- /dev/null +++ b/old_docs/API_docs_v38/constructors/storage.fileGif.md @@ -0,0 +1,33 @@ +--- +title: storage.fileGif +description: GIF image. MIME type: `image/gif`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileGif +[Back to constructors index](index.md) + + + +GIF image. MIME type: `image/gif`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileGif = ['_' => 'storage.fileGif']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileGif={_='storage.fileGif'} + +``` + + diff --git a/old_docs/API_docs_v38/constructors/storage.fileJpeg.md b/old_docs/API_docs_v38/constructors/storage.fileJpeg.md new file mode 100644 index 00000000..7f125963 --- /dev/null +++ b/old_docs/API_docs_v38/constructors/storage.fileJpeg.md @@ -0,0 +1,33 @@ +--- +title: storage.fileJpeg +description: JPEG image. MIME type: `image/jpeg`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileJpeg +[Back to constructors index](index.md) + + + +JPEG image. MIME type: `image/jpeg`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileJpeg = ['_' => 'storage.fileJpeg']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileJpeg={_='storage.fileJpeg'} + +``` + + diff --git a/old_docs/API_docs_v38/constructors/storage.fileMov.md b/old_docs/API_docs_v38/constructors/storage.fileMov.md new file mode 100644 index 00000000..cb3742e0 --- /dev/null +++ b/old_docs/API_docs_v38/constructors/storage.fileMov.md @@ -0,0 +1,33 @@ +--- +title: storage.fileMov +description: Quicktime video. MIME type: `video/quicktime`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileMov +[Back to constructors index](index.md) + + + +Quicktime video. MIME type: `video/quicktime`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileMov = ['_' => 'storage.fileMov']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileMov={_='storage.fileMov'} + +``` + + diff --git a/old_docs/API_docs_v38/constructors/storage.fileMp3.md b/old_docs/API_docs_v38/constructors/storage.fileMp3.md new file mode 100644 index 00000000..617f2d39 --- /dev/null +++ b/old_docs/API_docs_v38/constructors/storage.fileMp3.md @@ -0,0 +1,33 @@ +--- +title: storage.fileMp3 +description: Mp3 audio. MIME type: `audio/mpeg`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileMp3 +[Back to constructors index](index.md) + + + +Mp3 audio. MIME type: `audio/mpeg`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileMp3 = ['_' => 'storage.fileMp3']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileMp3={_='storage.fileMp3'} + +``` + + diff --git a/old_docs/API_docs_v38/constructors/storage.fileMp4.md b/old_docs/API_docs_v38/constructors/storage.fileMp4.md new file mode 100644 index 00000000..37038176 --- /dev/null +++ b/old_docs/API_docs_v38/constructors/storage.fileMp4.md @@ -0,0 +1,33 @@ +--- +title: storage.fileMp4 +description: MPEG-4 video. MIME type: `video/mp4`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileMp4 +[Back to constructors index](index.md) + + + +MPEG-4 video. MIME type: `video/mp4`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileMp4 = ['_' => 'storage.fileMp4']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileMp4={_='storage.fileMp4'} + +``` + + diff --git a/old_docs/API_docs_v38/constructors/storage.filePartial.md b/old_docs/API_docs_v38/constructors/storage.filePartial.md new file mode 100644 index 00000000..98779e71 --- /dev/null +++ b/old_docs/API_docs_v38/constructors/storage.filePartial.md @@ -0,0 +1,33 @@ +--- +title: storage.filePartial +description: Part of a bigger file. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.filePartial +[Back to constructors index](index.md) + + + +Part of a bigger file. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.filePartial = ['_' => 'storage.filePartial']; +``` + + +Or, if you're into Lua: + +```lua +storage.filePartial={_='storage.filePartial'} + +``` + + diff --git a/old_docs/API_docs_v38/constructors/storage.filePdf.md b/old_docs/API_docs_v38/constructors/storage.filePdf.md new file mode 100644 index 00000000..136c0614 --- /dev/null +++ b/old_docs/API_docs_v38/constructors/storage.filePdf.md @@ -0,0 +1,33 @@ +--- +title: storage.filePdf +description: PDF document image. MIME type: `application/pdf`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.filePdf +[Back to constructors index](index.md) + + + +PDF document image. MIME type: `application/pdf`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.filePdf = ['_' => 'storage.filePdf']; +``` + + +Or, if you're into Lua: + +```lua +storage.filePdf={_='storage.filePdf'} + +``` + + diff --git a/old_docs/API_docs_v38/constructors/storage.filePng.md b/old_docs/API_docs_v38/constructors/storage.filePng.md new file mode 100644 index 00000000..db01ce0e --- /dev/null +++ b/old_docs/API_docs_v38/constructors/storage.filePng.md @@ -0,0 +1,33 @@ +--- +title: storage.filePng +description: PNG image. MIME type: `image/png`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.filePng +[Back to constructors index](index.md) + + + +PNG image. MIME type: `image/png`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.filePng = ['_' => 'storage.filePng']; +``` + + +Or, if you're into Lua: + +```lua +storage.filePng={_='storage.filePng'} + +``` + + diff --git a/old_docs/API_docs_v38/constructors/storage.fileUnknown.md b/old_docs/API_docs_v38/constructors/storage.fileUnknown.md new file mode 100644 index 00000000..26f0a5ae --- /dev/null +++ b/old_docs/API_docs_v38/constructors/storage.fileUnknown.md @@ -0,0 +1,33 @@ +--- +title: storage.fileUnknown +description: Unknown type. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileUnknown +[Back to constructors index](index.md) + + + +Unknown type. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileUnknown = ['_' => 'storage.fileUnknown']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileUnknown={_='storage.fileUnknown'} + +``` + + diff --git a/old_docs/API_docs_v38/constructors/storage.fileWebp.md b/old_docs/API_docs_v38/constructors/storage.fileWebp.md new file mode 100644 index 00000000..63c9ded1 --- /dev/null +++ b/old_docs/API_docs_v38/constructors/storage.fileWebp.md @@ -0,0 +1,33 @@ +--- +title: storage.fileWebp +description: WEBP image. MIME type: `image/webp`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileWebp +[Back to constructors index](index.md) + + + +WEBP image. MIME type: `image/webp`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileWebp = ['_' => 'storage.fileWebp']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileWebp={_='storage.fileWebp'} + +``` + + diff --git a/old_docs/API_docs_v38/constructors/storage_fileGif.md b/old_docs/API_docs_v38/constructors/storage_fileGif.md deleted file mode 100644 index 218c7491..00000000 --- a/old_docs/API_docs_v38/constructors/storage_fileGif.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileGif -description: GIF image. MIME type: `image/gif`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileGif -[Back to constructors index](index.md) - - - -GIF image. MIME type: `image/gif`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileGif = ['_' => 'storage.fileGif']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileGif={_='storage.fileGif'} - -``` - - diff --git a/old_docs/API_docs_v38/constructors/storage_fileJpeg.md b/old_docs/API_docs_v38/constructors/storage_fileJpeg.md deleted file mode 100644 index 925531cd..00000000 --- a/old_docs/API_docs_v38/constructors/storage_fileJpeg.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileJpeg -description: JPEG image. MIME type: `image/jpeg`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileJpeg -[Back to constructors index](index.md) - - - -JPEG image. MIME type: `image/jpeg`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileJpeg = ['_' => 'storage.fileJpeg']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileJpeg={_='storage.fileJpeg'} - -``` - - diff --git a/old_docs/API_docs_v38/constructors/storage_fileMov.md b/old_docs/API_docs_v38/constructors/storage_fileMov.md deleted file mode 100644 index eaf2a6ff..00000000 --- a/old_docs/API_docs_v38/constructors/storage_fileMov.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileMov -description: Quicktime video. MIME type: `video/quicktime`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileMov -[Back to constructors index](index.md) - - - -Quicktime video. MIME type: `video/quicktime`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileMov = ['_' => 'storage.fileMov']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileMov={_='storage.fileMov'} - -``` - - diff --git a/old_docs/API_docs_v38/constructors/storage_fileMp3.md b/old_docs/API_docs_v38/constructors/storage_fileMp3.md deleted file mode 100644 index 9afcefbb..00000000 --- a/old_docs/API_docs_v38/constructors/storage_fileMp3.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileMp3 -description: Mp3 audio. MIME type: `audio/mpeg`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileMp3 -[Back to constructors index](index.md) - - - -Mp3 audio. MIME type: `audio/mpeg`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileMp3 = ['_' => 'storage.fileMp3']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileMp3={_='storage.fileMp3'} - -``` - - diff --git a/old_docs/API_docs_v38/constructors/storage_fileMp4.md b/old_docs/API_docs_v38/constructors/storage_fileMp4.md deleted file mode 100644 index cdc0e783..00000000 --- a/old_docs/API_docs_v38/constructors/storage_fileMp4.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileMp4 -description: MPEG-4 video. MIME type: `video/mp4`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileMp4 -[Back to constructors index](index.md) - - - -MPEG-4 video. MIME type: `video/mp4`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileMp4 = ['_' => 'storage.fileMp4']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileMp4={_='storage.fileMp4'} - -``` - - diff --git a/old_docs/API_docs_v38/constructors/storage_filePartial.md b/old_docs/API_docs_v38/constructors/storage_filePartial.md deleted file mode 100644 index 9bfadf63..00000000 --- a/old_docs/API_docs_v38/constructors/storage_filePartial.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.filePartial -description: Part of a bigger file. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.filePartial -[Back to constructors index](index.md) - - - -Part of a bigger file. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_filePartial = ['_' => 'storage.filePartial']; -``` - - -Or, if you're into Lua: - -```lua -storage_filePartial={_='storage.filePartial'} - -``` - - diff --git a/old_docs/API_docs_v38/constructors/storage_filePdf.md b/old_docs/API_docs_v38/constructors/storage_filePdf.md deleted file mode 100644 index efb022cc..00000000 --- a/old_docs/API_docs_v38/constructors/storage_filePdf.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.filePdf -description: PDF document image. MIME type: `application/pdf`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.filePdf -[Back to constructors index](index.md) - - - -PDF document image. MIME type: `application/pdf`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_filePdf = ['_' => 'storage.filePdf']; -``` - - -Or, if you're into Lua: - -```lua -storage_filePdf={_='storage.filePdf'} - -``` - - diff --git a/old_docs/API_docs_v38/constructors/storage_filePng.md b/old_docs/API_docs_v38/constructors/storage_filePng.md deleted file mode 100644 index 412759e4..00000000 --- a/old_docs/API_docs_v38/constructors/storage_filePng.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.filePng -description: PNG image. MIME type: `image/png`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.filePng -[Back to constructors index](index.md) - - - -PNG image. MIME type: `image/png`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_filePng = ['_' => 'storage.filePng']; -``` - - -Or, if you're into Lua: - -```lua -storage_filePng={_='storage.filePng'} - -``` - - diff --git a/old_docs/API_docs_v38/constructors/storage_fileUnknown.md b/old_docs/API_docs_v38/constructors/storage_fileUnknown.md deleted file mode 100644 index ed33dd5e..00000000 --- a/old_docs/API_docs_v38/constructors/storage_fileUnknown.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileUnknown -description: Unknown type. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileUnknown -[Back to constructors index](index.md) - - - -Unknown type. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileUnknown = ['_' => 'storage.fileUnknown']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileUnknown={_='storage.fileUnknown'} - -``` - - diff --git a/old_docs/API_docs_v38/constructors/storage_fileWebp.md b/old_docs/API_docs_v38/constructors/storage_fileWebp.md deleted file mode 100644 index 04dcad74..00000000 --- a/old_docs/API_docs_v38/constructors/storage_fileWebp.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileWebp -description: WEBP image. MIME type: `image/webp`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileWebp -[Back to constructors index](index.md) - - - -WEBP image. MIME type: `image/webp`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileWebp = ['_' => 'storage.fileWebp']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileWebp={_='storage.fileWebp'} - -``` - - diff --git a/old_docs/API_docs_v38/constructors/updates.channelDifference.md b/old_docs/API_docs_v38/constructors/updates.channelDifference.md new file mode 100644 index 00000000..91e0f4a9 --- /dev/null +++ b/old_docs/API_docs_v38/constructors/updates.channelDifference.md @@ -0,0 +1,43 @@ +--- +title: updates.channelDifference +description: The new updates +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.channelDifference +[Back to constructors index](index.md) + + + +The new updates + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|The [PTS](https://core.telegram.org/api/updates) from which to start getting updates the next time| +|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| +|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| +|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [updates.ChannelDifference](../types/updates.ChannelDifference.md) + + +### Example: + +```php +$updates.channelDifference = ['_' => 'updates.channelDifference', 'pts' => int, 'timeout' => int, 'new_messages' => [Message, Message], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +updates.channelDifference={_='updates.channelDifference', pts=int, timeout=int, new_messages={Message}, other_updates={Update}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v38/constructors/updates.channelDifferenceEmpty.md b/old_docs/API_docs_v38/constructors/updates.channelDifferenceEmpty.md new file mode 100644 index 00000000..4a30432a --- /dev/null +++ b/old_docs/API_docs_v38/constructors/updates.channelDifferenceEmpty.md @@ -0,0 +1,39 @@ +--- +title: updates.channelDifferenceEmpty +description: There are no new updates +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.channelDifferenceEmpty +[Back to constructors index](index.md) + + + +There are no new updates + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|The latest [PTS](https://core.telegram.org/api/updates)| +|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| + + + +### Type: [updates.ChannelDifference](../types/updates.ChannelDifference.md) + + +### Example: + +```php +$updates.channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'pts' => int, 'timeout' => int]; +``` + + +Or, if you're into Lua: + +```lua +updates.channelDifferenceEmpty={_='updates.channelDifferenceEmpty', pts=int, timeout=int} + +``` + + diff --git a/old_docs/API_docs_v38/constructors/updates.channelDifferenceTooLong.md b/old_docs/API_docs_v38/constructors/updates.channelDifferenceTooLong.md new file mode 100644 index 00000000..68bb9f01 --- /dev/null +++ b/old_docs/API_docs_v38/constructors/updates.channelDifferenceTooLong.md @@ -0,0 +1,57 @@ +--- +title: updates.channelDifferenceTooLong +description: The provided `pts + limit < remote pts`. Simply, there are too many updates to be fetched (more than `limit`), the client has to resolve the update gap in one of the following ways: + +1. Delete all known messages in the chat, begin from scratch by refetching all messages manually with [getHistory](../methods/messages.getHistory.md). It is easy to implement, but suddenly disappearing messages looks awful for the user. +2. Save all messages loaded in the memory until application restart, but delete all messages from database. Messages left in the memory must be lazily updated using calls to [getHistory](../methods/messages.getHistory.md). It looks much smoothly for the user, he will need to redownload messages only after client restart. Unsynchronized messages left in the memory shouldn't be saved to database, results of [getHistory](../methods/messages.getHistory.md) and [getMessages](../methods/messages.getMessages.md) must be used to update state of deleted and edited messages left in the memory. +3. Save all messages loaded in the memory and stored in the database without saving that some messages form continuous ranges. Messages in the database will be excluded from results of getChatHistory and searchChatMessages after application restart and will be available only through getMessage. Every message should still be checked using getHistory. It has more disadvantages over 2) than advantages. +4. Save all messages with saving all data about continuous message ranges. Messages from the database may be used as results of getChatHistory and (if implemented continuous ranges support for searching shared media) searchChatMessages. The messages should still be lazily checked using getHistory, but they are still available offline. It is the best way for gaps support, but it is pretty hard to implement correctly. It should be also noted that some messages like live location messages shouldn't be deleted. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.channelDifferenceTooLong +[Back to constructors index](index.md) + + + +The provided `pts + limit < remote pts`. Simply, there are too many updates to be fetched (more than `limit`), the client has to resolve the update gap in one of the following ways: + +1. Delete all known messages in the chat, begin from scratch by refetching all messages manually with [getHistory](../methods/messages.getHistory.md). It is easy to implement, but suddenly disappearing messages looks awful for the user. +2. Save all messages loaded in the memory until application restart, but delete all messages from database. Messages left in the memory must be lazily updated using calls to [getHistory](../methods/messages.getHistory.md). It looks much smoothly for the user, he will need to redownload messages only after client restart. Unsynchronized messages left in the memory shouldn't be saved to database, results of [getHistory](../methods/messages.getHistory.md) and [getMessages](../methods/messages.getMessages.md) must be used to update state of deleted and edited messages left in the memory. +3. Save all messages loaded in the memory and stored in the database without saving that some messages form continuous ranges. Messages in the database will be excluded from results of getChatHistory and searchChatMessages after application restart and will be available only through getMessage. Every message should still be checked using getHistory. It has more disadvantages over 2) than advantages. +4. Save all messages with saving all data about continuous message ranges. Messages from the database may be used as results of getChatHistory and (if implemented continuous ranges support for searching shared media) searchChatMessages. The messages should still be lazily checked using getHistory, but they are still available offline. It is the best way for gaps support, but it is pretty hard to implement correctly. It should be also noted that some messages like live location messages shouldn't be deleted. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|Pts| +|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| +|top\_message|[int](../types/int.md) | Yes|Top message| +|top\_important\_message|[int](../types/int.md) | Yes|Top important message| +|read\_inbox\_max\_id|[int](../types/int.md) | Yes|Read inbox max ID| +|unread\_count|[int](../types/int.md) | Yes|Unread count| +|unread\_important\_count|[int](../types/int.md) | Yes|Unread important count| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [updates.ChannelDifference](../types/updates.ChannelDifference.md) + + +### Example: + +```php +$updates.channelDifferenceTooLong = ['_' => 'updates.channelDifferenceTooLong', 'pts' => int, 'timeout' => int, 'top_message' => int, 'top_important_message' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'unread_important_count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +updates.channelDifferenceTooLong={_='updates.channelDifferenceTooLong', pts=int, timeout=int, top_message=int, top_important_message=int, read_inbox_max_id=int, unread_count=int, unread_important_count=int, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v38/constructors/updates.difference.md b/old_docs/API_docs_v38/constructors/updates.difference.md new file mode 100644 index 00000000..82541b51 --- /dev/null +++ b/old_docs/API_docs_v38/constructors/updates.difference.md @@ -0,0 +1,43 @@ +--- +title: updates.difference +description: Full list of occurred events. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.difference +[Back to constructors index](index.md) + + + +Full list of occurred events. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| +|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| +|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| +|state|[updates.State](../constructors/updates.State.md) | Yes|Current state| + + + +### Type: [updates.Difference](../types/updates.Difference.md) + + +### Example: + +```php +$updates.difference = ['_' => 'updates.difference', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates.State]; +``` + + +Or, if you're into Lua: + +```lua +updates.difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates.State} + +``` + + diff --git a/old_docs/API_docs_v38/constructors/updates.differenceEmpty.md b/old_docs/API_docs_v38/constructors/updates.differenceEmpty.md new file mode 100644 index 00000000..a9dc3bd0 --- /dev/null +++ b/old_docs/API_docs_v38/constructors/updates.differenceEmpty.md @@ -0,0 +1,39 @@ +--- +title: updates.differenceEmpty +description: No events. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.differenceEmpty +[Back to constructors index](index.md) + + + +No events. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Current date| +|seq|[int](../types/int.md) | Yes|Number of sent updates| + + + +### Type: [updates.Difference](../types/updates.Difference.md) + + +### Example: + +```php +$updates.differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int]; +``` + + +Or, if you're into Lua: + +```lua +updates.differenceEmpty={_='updates.differenceEmpty', date=int, seq=int} + +``` + + diff --git a/old_docs/API_docs_v38/constructors/updates.differenceSlice.md b/old_docs/API_docs_v38/constructors/updates.differenceSlice.md new file mode 100644 index 00000000..9daf7a75 --- /dev/null +++ b/old_docs/API_docs_v38/constructors/updates.differenceSlice.md @@ -0,0 +1,43 @@ +--- +title: updates.differenceSlice +description: Incomplete list of occurred events. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.differenceSlice +[Back to constructors index](index.md) + + + +Incomplete list of occurred events. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| +|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| +|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| +|intermediate\_state|[updates.State](../constructors/updates.State.md) | Yes|Intermediary state| + + + +### Type: [updates.Difference](../types/updates.Difference.md) + + +### Example: + +```php +$updates.differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'intermediate_state' => updates.State]; +``` + + +Or, if you're into Lua: + +```lua +updates.differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates.State} + +``` + + diff --git a/old_docs/API_docs_v38/constructors/updates.state.md b/old_docs/API_docs_v38/constructors/updates.state.md new file mode 100644 index 00000000..abe9ddbb --- /dev/null +++ b/old_docs/API_docs_v38/constructors/updates.state.md @@ -0,0 +1,42 @@ +--- +title: updates.state +description: Updates state. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.state +[Back to constructors index](index.md) + + + +Updates state. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| +|qts|[int](../types/int.md) | Yes|Position in a sequence of updates in secret chats. For further detailes refer to article [secret chats](https://core.telegram.org/api/end-to-end)
Parameter was added in [eigth layer](https://core.telegram.org/api/layers#layer-8).| +|date|[int](../types/int.md) | Yes|Date of condition| +|seq|[int](../types/int.md) | Yes|Number of sent updates| +|unread\_count|[int](../types/int.md) | Yes|Number of unread messages| + + + +### Type: [updates.State](../types/updates.State.md) + + +### Example: + +```php +$updates.state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int]; +``` + + +Or, if you're into Lua: + +```lua +updates.state={_='updates.state', pts=int, qts=int, date=int, seq=int, unread_count=int} + +``` + + diff --git a/old_docs/API_docs_v38/constructors/updates_channelDifference.md b/old_docs/API_docs_v38/constructors/updates_channelDifference.md deleted file mode 100644 index 22305b8d..00000000 --- a/old_docs/API_docs_v38/constructors/updates_channelDifference.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: updates.channelDifference -description: The new updates -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.channelDifference -[Back to constructors index](index.md) - - - -The new updates - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|The [PTS](https://core.telegram.org/api/updates) from which to start getting updates the next time| -|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| -|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| -|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) - - -### Example: - -```php -$updates_channelDifference = ['_' => 'updates.channelDifference', 'pts' => int, 'timeout' => int, 'new_messages' => [Message, Message], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -updates_channelDifference={_='updates.channelDifference', pts=int, timeout=int, new_messages={Message}, other_updates={Update}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v38/constructors/updates_channelDifferenceEmpty.md b/old_docs/API_docs_v38/constructors/updates_channelDifferenceEmpty.md deleted file mode 100644 index 96de94e1..00000000 --- a/old_docs/API_docs_v38/constructors/updates_channelDifferenceEmpty.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: updates.channelDifferenceEmpty -description: There are no new updates -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.channelDifferenceEmpty -[Back to constructors index](index.md) - - - -There are no new updates - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|The latest [PTS](https://core.telegram.org/api/updates)| -|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| - - - -### Type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) - - -### Example: - -```php -$updates_channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'pts' => int, 'timeout' => int]; -``` - - -Or, if you're into Lua: - -```lua -updates_channelDifferenceEmpty={_='updates.channelDifferenceEmpty', pts=int, timeout=int} - -``` - - diff --git a/old_docs/API_docs_v38/constructors/updates_channelDifferenceTooLong.md b/old_docs/API_docs_v38/constructors/updates_channelDifferenceTooLong.md deleted file mode 100644 index 02fb8688..00000000 --- a/old_docs/API_docs_v38/constructors/updates_channelDifferenceTooLong.md +++ /dev/null @@ -1,57 +0,0 @@ ---- -title: updates.channelDifferenceTooLong -description: The provided `pts + limit < remote pts`. Simply, there are too many updates to be fetched (more than `limit`), the client has to resolve the update gap in one of the following ways: - -1. Delete all known messages in the chat, begin from scratch by refetching all messages manually with [getHistory](../methods/messages.getHistory.md). It is easy to implement, but suddenly disappearing messages looks awful for the user. -2. Save all messages loaded in the memory until application restart, but delete all messages from database. Messages left in the memory must be lazily updated using calls to [getHistory](../methods/messages.getHistory.md). It looks much smoothly for the user, he will need to redownload messages only after client restart. Unsynchronized messages left in the memory shouldn't be saved to database, results of [getHistory](../methods/messages.getHistory.md) and [getMessages](../methods/messages.getMessages.md) must be used to update state of deleted and edited messages left in the memory. -3. Save all messages loaded in the memory and stored in the database without saving that some messages form continuous ranges. Messages in the database will be excluded from results of getChatHistory and searchChatMessages after application restart and will be available only through getMessage. Every message should still be checked using getHistory. It has more disadvantages over 2) than advantages. -4. Save all messages with saving all data about continuous message ranges. Messages from the database may be used as results of getChatHistory and (if implemented continuous ranges support for searching shared media) searchChatMessages. The messages should still be lazily checked using getHistory, but they are still available offline. It is the best way for gaps support, but it is pretty hard to implement correctly. It should be also noted that some messages like live location messages shouldn't be deleted. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.channelDifferenceTooLong -[Back to constructors index](index.md) - - - -The provided `pts + limit < remote pts`. Simply, there are too many updates to be fetched (more than `limit`), the client has to resolve the update gap in one of the following ways: - -1. Delete all known messages in the chat, begin from scratch by refetching all messages manually with [getHistory](../methods/messages.getHistory.md). It is easy to implement, but suddenly disappearing messages looks awful for the user. -2. Save all messages loaded in the memory until application restart, but delete all messages from database. Messages left in the memory must be lazily updated using calls to [getHistory](../methods/messages.getHistory.md). It looks much smoothly for the user, he will need to redownload messages only after client restart. Unsynchronized messages left in the memory shouldn't be saved to database, results of [getHistory](../methods/messages.getHistory.md) and [getMessages](../methods/messages.getMessages.md) must be used to update state of deleted and edited messages left in the memory. -3. Save all messages loaded in the memory and stored in the database without saving that some messages form continuous ranges. Messages in the database will be excluded from results of getChatHistory and searchChatMessages after application restart and will be available only through getMessage. Every message should still be checked using getHistory. It has more disadvantages over 2) than advantages. -4. Save all messages with saving all data about continuous message ranges. Messages from the database may be used as results of getChatHistory and (if implemented continuous ranges support for searching shared media) searchChatMessages. The messages should still be lazily checked using getHistory, but they are still available offline. It is the best way for gaps support, but it is pretty hard to implement correctly. It should be also noted that some messages like live location messages shouldn't be deleted. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|Pts| -|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| -|top\_message|[int](../types/int.md) | Yes|Top message| -|top\_important\_message|[int](../types/int.md) | Yes|Top important message| -|read\_inbox\_max\_id|[int](../types/int.md) | Yes|Read inbox max ID| -|unread\_count|[int](../types/int.md) | Yes|Unread count| -|unread\_important\_count|[int](../types/int.md) | Yes|Unread important count| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) - - -### Example: - -```php -$updates_channelDifferenceTooLong = ['_' => 'updates.channelDifferenceTooLong', 'pts' => int, 'timeout' => int, 'top_message' => int, 'top_important_message' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'unread_important_count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -updates_channelDifferenceTooLong={_='updates.channelDifferenceTooLong', pts=int, timeout=int, top_message=int, top_important_message=int, read_inbox_max_id=int, unread_count=int, unread_important_count=int, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v38/constructors/updates_difference.md b/old_docs/API_docs_v38/constructors/updates_difference.md deleted file mode 100644 index 71ac7d4c..00000000 --- a/old_docs/API_docs_v38/constructors/updates_difference.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: updates.difference -description: Full list of occurred events. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.difference -[Back to constructors index](index.md) - - - -Full list of occurred events. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| -|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| -|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| -|state|[updates\_State](../types/updates_State.md) | Yes|Current state| - - - -### Type: [updates\_Difference](../types/updates_Difference.md) - - -### Example: - -```php -$updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates_State]; -``` - - -Or, if you're into Lua: - -```lua -updates_difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates_State} - -``` - - diff --git a/old_docs/API_docs_v38/constructors/updates_differenceEmpty.md b/old_docs/API_docs_v38/constructors/updates_differenceEmpty.md deleted file mode 100644 index c3c95c5a..00000000 --- a/old_docs/API_docs_v38/constructors/updates_differenceEmpty.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: updates.differenceEmpty -description: No events. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.differenceEmpty -[Back to constructors index](index.md) - - - -No events. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Current date| -|seq|[int](../types/int.md) | Yes|Number of sent updates| - - - -### Type: [updates\_Difference](../types/updates_Difference.md) - - -### Example: - -```php -$updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int]; -``` - - -Or, if you're into Lua: - -```lua -updates_differenceEmpty={_='updates.differenceEmpty', date=int, seq=int} - -``` - - diff --git a/old_docs/API_docs_v38/constructors/updates_differenceSlice.md b/old_docs/API_docs_v38/constructors/updates_differenceSlice.md deleted file mode 100644 index 8b12a369..00000000 --- a/old_docs/API_docs_v38/constructors/updates_differenceSlice.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: updates.differenceSlice -description: Incomplete list of occurred events. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.differenceSlice -[Back to constructors index](index.md) - - - -Incomplete list of occurred events. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| -|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| -|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| -|intermediate\_state|[updates\_State](../types/updates_State.md) | Yes|Intermediary state| - - - -### Type: [updates\_Difference](../types/updates_Difference.md) - - -### Example: - -```php -$updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'intermediate_state' => updates_State]; -``` - - -Or, if you're into Lua: - -```lua -updates_differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates_State} - -``` - - diff --git a/old_docs/API_docs_v38/constructors/updates_state.md b/old_docs/API_docs_v38/constructors/updates_state.md deleted file mode 100644 index ef3698e2..00000000 --- a/old_docs/API_docs_v38/constructors/updates_state.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: updates.state -description: Updates state. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.state -[Back to constructors index](index.md) - - - -Updates state. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| -|qts|[int](../types/int.md) | Yes|Position in a sequence of updates in secret chats. For further detailes refer to article [secret chats](https://core.telegram.org/api/end-to-end)
Parameter was added in [eigth layer](https://core.telegram.org/api/layers#layer-8).| -|date|[int](../types/int.md) | Yes|Date of condition| -|seq|[int](../types/int.md) | Yes|Number of sent updates| -|unread\_count|[int](../types/int.md) | Yes|Number of unread messages| - - - -### Type: [updates\_State](../types/updates_State.md) - - -### Example: - -```php -$updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int]; -``` - - -Or, if you're into Lua: - -```lua -updates_state={_='updates.state', pts=int, qts=int, date=int, seq=int, unread_count=int} - -``` - - diff --git a/old_docs/API_docs_v38/constructors/upload.file.md b/old_docs/API_docs_v38/constructors/upload.file.md new file mode 100644 index 00000000..145a4c24 --- /dev/null +++ b/old_docs/API_docs_v38/constructors/upload.file.md @@ -0,0 +1,40 @@ +--- +title: upload.file +description: File content. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: upload.file +[Back to constructors index](index.md) + + + +File content. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|type|[storage.FileType](../constructors/storage.FileType.md) | Yes|File type| +|mtime|[int](../types/int.md) | Yes|Modification type| +|bytes|[bytes](../types/bytes.md) | Yes|Binary data, file content| + + + +### Type: [upload.File](../types/upload.File.md) + + +### Example: + +```php +$upload.file = ['_' => 'upload.file', 'type' => storage.FileType, 'mtime' => int, 'bytes' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +upload.file={_='upload.file', type=storage.FileType, mtime=int, bytes='bytes'} + +``` + + diff --git a/old_docs/API_docs_v38/constructors/upload_file.md b/old_docs/API_docs_v38/constructors/upload_file.md deleted file mode 100644 index 1e07d9fb..00000000 --- a/old_docs/API_docs_v38/constructors/upload_file.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: upload.file -description: File content. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: upload.file -[Back to constructors index](index.md) - - - -File content. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|type|[storage\_FileType](../types/storage_FileType.md) | Yes|File type| -|mtime|[int](../types/int.md) | Yes|Modification type| -|bytes|[bytes](../types/bytes.md) | Yes|Binary data, file content| - - - -### Type: [upload\_File](../types/upload_File.md) - - -### Example: - -```php -$upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int, 'bytes' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -upload_file={_='upload.file', type=storage_FileType, mtime=int, bytes='bytes'} - -``` - - diff --git a/old_docs/API_docs_v38/constructors/userFull.md b/old_docs/API_docs_v38/constructors/userFull.md index 67913fec..129a02d0 100644 --- a/old_docs/API_docs_v38/constructors/userFull.md +++ b/old_docs/API_docs_v38/constructors/userFull.md @@ -15,7 +15,7 @@ Extended user info | Name | Type | Required | Description | |----------|---------------|----------|-------------| |user|[User](../types/User.md) | Optional|Remaining user info| -|link|[contacts\_Link](../types/contacts_Link.md) | Yes|Link| +|link|[contacts.Link](../constructors/contacts.Link.md) | Yes|Link| |profile\_photo|[Photo](../types/Photo.md) | Optional|Profile photo| |notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Optional|Notification settings| |blocked|[Bool](../types/Bool.md) | Yes|Blocked?| @@ -29,14 +29,14 @@ Extended user info ### Example: ```php -$userFull = ['_' => 'userFull', 'user' => User, 'link' => contacts_Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'blocked' => Bool, 'bot_info' => BotInfo]; +$userFull = ['_' => 'userFull', 'user' => User, 'link' => contacts.Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'blocked' => Bool, 'bot_info' => BotInfo]; ``` Or, if you're into Lua: ```lua -userFull={_='userFull', user=User, link=contacts_Link, profile_photo=Photo, notify_settings=PeerNotifySettings, blocked=Bool, bot_info=BotInfo} +userFull={_='userFull', user=User, link=contacts.Link, profile_photo=Photo, notify_settings=PeerNotifySettings, blocked=Bool, bot_info=BotInfo} ``` diff --git a/old_docs/API_docs_v38/methods/account.getAuthorizations.md b/old_docs/API_docs_v38/methods/account.getAuthorizations.md index f69c130a..fad3a7ae 100644 --- a/old_docs/API_docs_v38/methods/account.getAuthorizations.md +++ b/old_docs/API_docs_v38/methods/account.getAuthorizations.md @@ -11,7 +11,7 @@ Get logged-in sessions -### Return type: [account\_Authorizations](../types/account_Authorizations.md) +### Return type: [account.Authorizations](../types/account.Authorizations.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_Authorizations = $MadelineProto->account->getAuthorizations(); +$account.Authorizations = $MadelineProto->account->getAuthorizations(); ``` Or, if you're into Lua: ```lua -account_Authorizations = account.getAuthorizations({}) +account.Authorizations = account.getAuthorizations({}) ``` diff --git a/old_docs/API_docs_v38/methods/account.getPassword.md b/old_docs/API_docs_v38/methods/account.getPassword.md index eed4aee3..621271b6 100644 --- a/old_docs/API_docs_v38/methods/account.getPassword.md +++ b/old_docs/API_docs_v38/methods/account.getPassword.md @@ -11,7 +11,7 @@ Obtain configuration for two-factor authorization with password -### Return type: [account\_Password](../types/account_Password.md) +### Return type: [account.Password](../types/account.Password.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_Password = $MadelineProto->account->getPassword(); +$account.Password = $MadelineProto->account->getPassword(); ``` Or, if you're into Lua: ```lua -account_Password = account.getPassword({}) +account.Password = account.getPassword({}) ``` diff --git a/old_docs/API_docs_v38/methods/account.getPasswordSettings.md b/old_docs/API_docs_v38/methods/account.getPasswordSettings.md index dcdae61a..3d3cce08 100644 --- a/old_docs/API_docs_v38/methods/account.getPasswordSettings.md +++ b/old_docs/API_docs_v38/methods/account.getPasswordSettings.md @@ -16,7 +16,7 @@ You cannot use this method directly; use $MadelineProto->update_2fa($params), in |current\_password\_hash|[bytes](../types/bytes.md) | You cannot use this method directly; use $MadelineProto->update_2fa($params), instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [account\_PasswordSettings](../types/account_PasswordSettings.md) +### Return type: [account.PasswordSettings](../types/account.PasswordSettings.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_PasswordSettings = $MadelineProto->account->getPasswordSettings(['current_password_hash' => 'bytes', ]); +$account.PasswordSettings = $MadelineProto->account->getPasswordSettings(['current_password_hash' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -account_PasswordSettings = account.getPasswordSettings({current_password_hash='bytes', }) +account.PasswordSettings = account.getPasswordSettings({current_password_hash='bytes', }) ``` ### Errors diff --git a/old_docs/API_docs_v38/methods/account.getPrivacy.md b/old_docs/API_docs_v38/methods/account.getPrivacy.md index 6a240129..e20c292c 100644 --- a/old_docs/API_docs_v38/methods/account.getPrivacy.md +++ b/old_docs/API_docs_v38/methods/account.getPrivacy.md @@ -16,7 +16,7 @@ Get privacy settings of current account |key|[InputPrivacyKey](../types/InputPrivacyKey.md) | Peer category whose privacy settings should be fetched | Yes| -### Return type: [account\_PrivacyRules](../types/account_PrivacyRules.md) +### Return type: [account.PrivacyRules](../types/account.PrivacyRules.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_PrivacyRules = $MadelineProto->account->getPrivacy(['key' => InputPrivacyKey, ]); +$account.PrivacyRules = $MadelineProto->account->getPrivacy(['key' => InputPrivacyKey, ]); ``` Or, if you're into Lua: ```lua -account_PrivacyRules = account.getPrivacy({key=InputPrivacyKey, }) +account.PrivacyRules = account.getPrivacy({key=InputPrivacyKey, }) ``` ### Errors diff --git a/old_docs/API_docs_v38/methods/account.sendChangePhoneCode.md b/old_docs/API_docs_v38/methods/account.sendChangePhoneCode.md index 169fa15b..e70372de 100644 --- a/old_docs/API_docs_v38/methods/account.sendChangePhoneCode.md +++ b/old_docs/API_docs_v38/methods/account.sendChangePhoneCode.md @@ -16,7 +16,7 @@ Verify a new phone number to associate to the current account |phone\_number|[string](../types/string.md) | New phone number | Yes| -### Return type: [account\_SentChangePhoneCode](../types/account_SentChangePhoneCode.md) +### Return type: [account.SentChangePhoneCode](../types/account.SentChangePhoneCode.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_SentChangePhoneCode = $MadelineProto->account->sendChangePhoneCode(['phone_number' => 'string', ]); +$account.SentChangePhoneCode = $MadelineProto->account->sendChangePhoneCode(['phone_number' => 'string', ]); ``` Or, if you're into Lua: ```lua -account_SentChangePhoneCode = account.sendChangePhoneCode({phone_number='string', }) +account.SentChangePhoneCode = account.sendChangePhoneCode({phone_number='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v38/methods/account.setPrivacy.md b/old_docs/API_docs_v38/methods/account.setPrivacy.md index 7c4cfba7..096d373e 100644 --- a/old_docs/API_docs_v38/methods/account.setPrivacy.md +++ b/old_docs/API_docs_v38/methods/account.setPrivacy.md @@ -17,7 +17,7 @@ Change privacy settings of current account |rules|Array of [InputPrivacyRule](../types/InputPrivacyRule.md) | Privacy settings | Yes| -### Return type: [account\_PrivacyRules](../types/account_PrivacyRules.md) +### Return type: [account.PrivacyRules](../types/account.PrivacyRules.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_PrivacyRules = $MadelineProto->account->setPrivacy(['key' => InputPrivacyKey, 'rules' => [InputPrivacyRule, InputPrivacyRule], ]); +$account.PrivacyRules = $MadelineProto->account->setPrivacy(['key' => InputPrivacyKey, 'rules' => [InputPrivacyRule, InputPrivacyRule], ]); ``` Or, if you're into Lua: ```lua -account_PrivacyRules = account.setPrivacy({key=InputPrivacyKey, rules={InputPrivacyRule}, }) +account.PrivacyRules = account.setPrivacy({key=InputPrivacyKey, rules={InputPrivacyRule}, }) ``` ### Errors diff --git a/old_docs/API_docs_v38/methods/api_README.md b/old_docs/API_docs_v38/methods/api_README.md index b0da7695..4d7dbbb3 100644 --- a/old_docs/API_docs_v38/methods/api_README.md +++ b/old_docs/API_docs_v38/methods/api_README.md @@ -52,7 +52,7 @@ $MadelineProto->[account->getAccountTTL](account.getAccountTTL.md)(\[\]) === [$A ***

-$MadelineProto->[account->getAuthorizations](account.getAuthorizations.md)(\[\]) === [$account\_Authorizations](../types/account_Authorizations.md) +$MadelineProto->[account->getAuthorizations](account.getAuthorizations.md)(\[\]) === [$account.Authorizations](../types/account.Authorizations.md) ***

@@ -60,15 +60,15 @@ $MadelineProto->[account->getNotifySettings](account.getNotifySettings.md)(\['pe ***

-$MadelineProto->[account->getPassword](account.getPassword.md)(\[\]) === [$account\_Password](../types/account_Password.md) +$MadelineProto->[account->getPassword](account.getPassword.md)(\[\]) === [$account.Password](../types/account.Password.md) ***

-$MadelineProto->[account->getPasswordSettings](account.getPasswordSettings.md)(\['current_password_hash' => [bytes](../types/bytes.md), \]) === [$account\_PasswordSettings](../types/account_PasswordSettings.md) +$MadelineProto->[account->getPasswordSettings](account.getPasswordSettings.md)(\['current_password_hash' => [bytes](../types/bytes.md), \]) === [$account.PasswordSettings](../types/account.PasswordSettings.md) ***

-$MadelineProto->[account->getPrivacy](account.getPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), \]) === [$account\_PrivacyRules](../types/account_PrivacyRules.md) +$MadelineProto->[account->getPrivacy](account.getPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), \]) === [$account.PrivacyRules](../types/account.PrivacyRules.md) ***

@@ -88,7 +88,7 @@ $MadelineProto->[account->resetNotifySettings](account.resetNotifySettings.md)(\ ***

-$MadelineProto->[account->sendChangePhoneCode](account.sendChangePhoneCode.md)(\['phone_number' => [string](../types/string.md), \]) === [$account\_SentChangePhoneCode](../types/account_SentChangePhoneCode.md) +$MadelineProto->[account->sendChangePhoneCode](account.sendChangePhoneCode.md)(\['phone_number' => [string](../types/string.md), \]) === [$account.SentChangePhoneCode](../types/account.SentChangePhoneCode.md) ***

@@ -96,7 +96,7 @@ $MadelineProto->[account->setAccountTTL](account.setAccountTTL.md)(\['ttl' => [A ***

-$MadelineProto->[account->setPrivacy](account.setPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), 'rules' => \[[InputPrivacyRule](../types/InputPrivacyRule.md)\], \]) === [$account\_PrivacyRules](../types/account_PrivacyRules.md) +$MadelineProto->[account->setPrivacy](account.setPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), 'rules' => \[[InputPrivacyRule](../types/InputPrivacyRule.md)\], \]) === [$account.PrivacyRules](../types/account.PrivacyRules.md) ***

@@ -132,23 +132,23 @@ $MadelineProto->[auth->bindTempAuthKey](auth.bindTempAuthKey.md)(\['perm_auth_ke ***

-$MadelineProto->[auth->checkPassword](auth.checkPassword.md)(\['password_hash' => [bytes](../types/bytes.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->checkPassword](auth.checkPassword.md)(\['password_hash' => [bytes](../types/bytes.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

-$MadelineProto->[auth->checkPhone](auth.checkPhone.md)(\['phone_number' => [string](../types/string.md), \]) === [$auth\_CheckedPhone](../types/auth_CheckedPhone.md) +$MadelineProto->[auth->checkPhone](auth.checkPhone.md)(\['phone_number' => [string](../types/string.md), \]) === [$auth.CheckedPhone](../types/auth.CheckedPhone.md) ***

-$MadelineProto->[auth->exportAuthorization](auth.exportAuthorization.md)(\['dc_id' => [int](../types/int.md), \]) === [$auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) +$MadelineProto->[auth->exportAuthorization](auth.exportAuthorization.md)(\['dc_id' => [int](../types/int.md), \]) === [$auth.ExportedAuthorization](../types/auth.ExportedAuthorization.md) ***

-$MadelineProto->[auth->importAuthorization](auth.importAuthorization.md)(\['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->importAuthorization](auth.importAuthorization.md)(\['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

-$MadelineProto->[auth->importBotAuthorization](auth.importBotAuthorization.md)(\['api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), 'bot_auth_token' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->importBotAuthorization](auth.importBotAuthorization.md)(\['api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), 'bot_auth_token' => [string](../types/string.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

@@ -156,11 +156,11 @@ $MadelineProto->[auth->logOut](auth.logOut.md)(\[\]) === [$Bool](../types/Bool.m ***

-$MadelineProto->[auth->recoverPassword](auth.recoverPassword.md)(\['code' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->recoverPassword](auth.recoverPassword.md)(\['code' => [string](../types/string.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

-$MadelineProto->[auth->requestPasswordRecovery](auth.requestPasswordRecovery.md)(\[\]) === [$auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) +$MadelineProto->[auth->requestPasswordRecovery](auth.requestPasswordRecovery.md)(\[\]) === [$auth.PasswordRecovery](../types/auth.PasswordRecovery.md) ***

@@ -172,7 +172,7 @@ $MadelineProto->[auth->sendCall](auth.sendCall.md)(\['phone_number' => [string]( ***

-$MadelineProto->[auth->sendCode](auth.sendCode.md)(\['phone_number' => [string](../types/string.md), 'sms_type' => [int](../types/int.md), 'api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) === [$auth\_SentCode](../types/auth_SentCode.md) +$MadelineProto->[auth->sendCode](auth.sendCode.md)(\['phone_number' => [string](../types/string.md), 'sms_type' => [int](../types/int.md), 'api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) === [$auth.SentCode](../types/auth.SentCode.md) ***

@@ -184,11 +184,11 @@ $MadelineProto->[auth->sendSms](auth.sendSms.md)(\['phone_number' => [string](.. ***

-$MadelineProto->[auth->signIn](auth.signIn.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->signIn](auth.signIn.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

-$MadelineProto->[auth->signUp](auth.signUp.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->signUp](auth.signUp.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

@@ -204,11 +204,11 @@ $MadelineProto->[channels->deleteChannel](channels.deleteChannel.md)(\['channel' ***

-$MadelineProto->[channels->deleteMessages](channels.deleteMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) +$MadelineProto->[channels->deleteMessages](channels.deleteMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages.AffectedMessages](../types/messages.AffectedMessages.md) ***

-$MadelineProto->[channels->deleteUserHistory](channels.deleteUserHistory.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages\_AffectedHistory](../types/messages_AffectedHistory.md) +$MadelineProto->[channels->deleteUserHistory](channels.deleteUserHistory.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages.AffectedHistory](../types/messages.AffectedHistory.md) ***

@@ -232,31 +232,31 @@ $MadelineProto->[channels->exportInvite](channels.exportInvite.md)(\['channel' = ***

-$MadelineProto->[channels->getChannels](channels.getChannels.md)(\['id' => \[[InputChannel](../types/InputChannel.md)\], \]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[channels->getChannels](channels.getChannels.md)(\['id' => \[[InputChannel](../types/InputChannel.md)\], \]) === [$messages.Chats](../types/messages.Chats.md) ***

-$MadelineProto->[channels->getDialogs](channels.getDialogs.md)(\['offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages\_Dialogs](../types/messages_Dialogs.md) +$MadelineProto->[channels->getDialogs](channels.getDialogs.md)(\['offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages.Dialogs](../types/messages.Dialogs.md) ***

-$MadelineProto->[channels->getFullChannel](channels.getFullChannel.md)(\['channel' => [InputChannel](../types/InputChannel.md), \]) === [$messages\_ChatFull](../types/messages_ChatFull.md) +$MadelineProto->[channels->getFullChannel](channels.getFullChannel.md)(\['channel' => [InputChannel](../types/InputChannel.md), \]) === [$messages.ChatFull](../types/messages.ChatFull.md) ***

-$MadelineProto->[channels->getImportantHistory](channels.getImportantHistory.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'offset_id' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[channels->getImportantHistory](channels.getImportantHistory.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'offset_id' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[channels->getMessages](channels.getMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[channels->getMessages](channels.getMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[channels->getParticipant](channels.getParticipant.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$channels\_ChannelParticipant](../types/channels_ChannelParticipant.md) +$MadelineProto->[channels->getParticipant](channels.getParticipant.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$channels.ChannelParticipant](../types/channels.ChannelParticipant.md) ***

-$MadelineProto->[channels->getParticipants](channels.getParticipants.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$channels\_ChannelParticipants](../types/channels_ChannelParticipants.md) +$MadelineProto->[channels->getParticipants](channels.getParticipants.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$channels.ChannelParticipants](../types/channels.ChannelParticipants.md) ***

@@ -296,7 +296,7 @@ $MadelineProto->[contacts->block](contacts.block.md)(\['id' => [InputUser](../ty ***

-$MadelineProto->[contacts->deleteContact](contacts.deleteContact.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$contacts\_Link](../types/contacts_Link.md) +$MadelineProto->[contacts->deleteContact](contacts.deleteContact.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$contacts.Link](../types/contacts.Link.md) ***

@@ -308,11 +308,11 @@ $MadelineProto->[contacts->exportCard](contacts.exportCard.md)(\[\]) === [$Vecto ***

-$MadelineProto->[contacts->getBlocked](contacts.getBlocked.md)(\['offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$contacts\_Blocked](../types/contacts_Blocked.md) +$MadelineProto->[contacts->getBlocked](contacts.getBlocked.md)(\['offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$contacts.Blocked](../types/contacts.Blocked.md) ***

-$MadelineProto->[contacts->getContacts](contacts.getContacts.md)(\['hash' => [string](../types/string.md), \]) === [$contacts\_Contacts](../types/contacts_Contacts.md) +$MadelineProto->[contacts->getContacts](contacts.getContacts.md)(\['hash' => [string](../types/string.md), \]) === [$contacts.Contacts](../types/contacts.Contacts.md) ***

@@ -320,7 +320,7 @@ $MadelineProto->[contacts->getStatuses](contacts.getStatuses.md)(\[\]) === [$Vec ***

-$MadelineProto->[contacts->getSuggested](contacts.getSuggested.md)(\['limit' => [int](../types/int.md), \]) === [$contacts\_Suggested](../types/contacts_Suggested.md) +$MadelineProto->[contacts->getSuggested](contacts.getSuggested.md)(\['limit' => [int](../types/int.md), \]) === [$contacts.Suggested](../types/contacts.Suggested.md) ***

@@ -328,15 +328,15 @@ $MadelineProto->[contacts->importCard](contacts.importCard.md)(\['export_card' = ***

-$MadelineProto->[contacts->importContacts](contacts.importContacts.md)(\['contacts' => \[[InputContact](../types/InputContact.md)\], 'replace' => [Bool](../types/Bool.md), \]) === [$contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) +$MadelineProto->[contacts->importContacts](contacts.importContacts.md)(\['contacts' => \[[InputContact](../types/InputContact.md)\], 'replace' => [Bool](../types/Bool.md), \]) === [$contacts.ImportedContacts](../types/contacts.ImportedContacts.md) ***

-$MadelineProto->[contacts->resolveUsername](contacts.resolveUsername.md)(\['username' => [string](../types/string.md), \]) === [$contacts\_ResolvedPeer](../types/contacts_ResolvedPeer.md) +$MadelineProto->[contacts->resolveUsername](contacts.resolveUsername.md)(\['username' => [string](../types/string.md), \]) === [$contacts.ResolvedPeer](../types/contacts.ResolvedPeer.md) ***

-$MadelineProto->[contacts->search](contacts.search.md)(\['q' => [string](../types/string.md), 'limit' => [int](../types/int.md), \]) === [$contacts\_Found](../types/contacts_Found.md) +$MadelineProto->[contacts->search](contacts.search.md)(\['q' => [string](../types/string.md), 'limit' => [int](../types/int.md), \]) === [$contacts.Found](../types/contacts.Found.md) ***

@@ -344,11 +344,11 @@ $MadelineProto->[contacts->unblock](contacts.unblock.md)(\['id' => [InputUser](. ***

-$MadelineProto->[help->getAppChangelog](help.getAppChangelog.md)(\['device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) === [$help\_AppChangelog](../types/help_AppChangelog.md) +$MadelineProto->[help->getAppChangelog](help.getAppChangelog.md)(\['device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) === [$help.AppChangelog](../types/help.AppChangelog.md) ***

-$MadelineProto->[help->getAppUpdate](help.getAppUpdate.md)(\['device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) === [$help\_AppUpdate](../types/help_AppUpdate.md) +$MadelineProto->[help->getAppUpdate](help.getAppUpdate.md)(\['device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) === [$help.AppUpdate](../types/help.AppUpdate.md) ***

@@ -356,7 +356,7 @@ $MadelineProto->[help->getConfig](help.getConfig.md)(\[\]) === [$Config](../type ***

-$MadelineProto->[help->getInviteText](help.getInviteText.md)(\['lang_code' => [string](../types/string.md), \]) === [$help\_InviteText](../types/help_InviteText.md) +$MadelineProto->[help->getInviteText](help.getInviteText.md)(\['lang_code' => [string](../types/string.md), \]) === [$help.InviteText](../types/help.InviteText.md) ***

@@ -364,7 +364,7 @@ $MadelineProto->[help->getNearestDc](help.getNearestDc.md)(\[\]) === [$NearestDc ***

-$MadelineProto->[help->getSupport](help.getSupport.md)(\[\]) === [$help\_Support](../types/help_Support.md) +$MadelineProto->[help->getSupport](help.getSupport.md)(\[\]) === [$help.Support](../types/help.Support.md) ***

@@ -412,11 +412,11 @@ $MadelineProto->[messages->deleteChatUser](messages.deleteChatUser.md)(\['chat_i ***

-$MadelineProto->[messages->deleteHistory](messages.deleteHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset' => [int](../types/int.md), \]) === [$messages\_AffectedHistory](../types/messages_AffectedHistory.md) +$MadelineProto->[messages->deleteHistory](messages.deleteHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset' => [int](../types/int.md), \]) === [$messages.AffectedHistory](../types/messages.AffectedHistory.md) ***

-$MadelineProto->[messages->deleteMessages](messages.deleteMessages.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) +$MadelineProto->[messages->deleteMessages](messages.deleteMessages.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages.AffectedMessages](../types/messages.AffectedMessages.md) ***

@@ -444,31 +444,31 @@ $MadelineProto->[messages->forwardMessages](messages.forwardMessages.md)(\['from ***

-$MadelineProto->[messages->getAllStickers](messages.getAllStickers.md)(\['hash' => [string](../types/string.md), \]) === [$messages\_AllStickers](../types/messages_AllStickers.md) +$MadelineProto->[messages->getAllStickers](messages.getAllStickers.md)(\['hash' => [string](../types/string.md), \]) === [$messages.AllStickers](../types/messages.AllStickers.md) ***

-$MadelineProto->[messages->getChats](messages.getChats.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[messages->getChats](messages.getChats.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages.Chats](../types/messages.Chats.md) ***

-$MadelineProto->[messages->getDhConfig](messages.getDhConfig.md)(\['version' => [int](../types/int.md), 'random_length' => [int](../types/int.md), \]) === [$messages\_DhConfig](../types/messages_DhConfig.md) +$MadelineProto->[messages->getDhConfig](messages.getDhConfig.md)(\['version' => [int](../types/int.md), 'random_length' => [int](../types/int.md), \]) === [$messages.DhConfig](../types/messages.DhConfig.md) ***

-$MadelineProto->[messages->getDialogs](messages.getDialogs.md)(\['offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages\_Dialogs](../types/messages_Dialogs.md) +$MadelineProto->[messages->getDialogs](messages.getDialogs.md)(\['offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages.Dialogs](../types/messages.Dialogs.md) ***

-$MadelineProto->[messages->getFullChat](messages.getFullChat.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), \]) === [$messages\_ChatFull](../types/messages_ChatFull.md) +$MadelineProto->[messages->getFullChat](messages.getFullChat.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), \]) === [$messages.ChatFull](../types/messages.ChatFull.md) ***

-$MadelineProto->[messages->getHistory](messages.getHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->getHistory](messages.getHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[messages->getMessages](messages.getMessages.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->getMessages](messages.getMessages.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages.Messages](../types/messages.Messages.md) ***

@@ -476,11 +476,11 @@ $MadelineProto->[messages->getMessagesViews](messages.getMessagesViews.md)(\['pe ***

-$MadelineProto->[messages->getStickerSet](messages.getStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), \]) === [$messages\_StickerSet](../types/messages_StickerSet.md) +$MadelineProto->[messages->getStickerSet](messages.getStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), \]) === [$messages.StickerSet](../types/messages.StickerSet.md) ***

-$MadelineProto->[messages->getStickers](messages.getStickers.md)(\['emoticon' => [string](../types/string.md), 'hash' => [string](../types/string.md), \]) === [$messages\_Stickers](../types/messages_Stickers.md) +$MadelineProto->[messages->getStickers](messages.getStickers.md)(\['emoticon' => [string](../types/string.md), 'hash' => [string](../types/string.md), \]) === [$messages.Stickers](../types/messages.Stickers.md) ***

@@ -500,11 +500,11 @@ $MadelineProto->[messages->readEncryptedHistory](messages.readEncryptedHistory.m ***

-$MadelineProto->[messages->readHistory](messages.readHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), 'offset' => [int](../types/int.md), \]) === [$messages\_AffectedHistory](../types/messages_AffectedHistory.md) +$MadelineProto->[messages->readHistory](messages.readHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), 'offset' => [int](../types/int.md), \]) === [$messages.AffectedHistory](../types/messages.AffectedHistory.md) ***

-$MadelineProto->[messages->readMessageContents](messages.readMessageContents.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) +$MadelineProto->[messages->readMessageContents](messages.readMessageContents.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages.AffectedMessages](../types/messages.AffectedMessages.md) ***

@@ -524,7 +524,7 @@ $MadelineProto->[messages->requestEncryption](messages.requestEncryption.md)(\[' ***

-$MadelineProto->[messages->search](messages.search.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'q' => [string](../types/string.md), 'filter' => [MessagesFilter](../types/MessagesFilter.md), 'min_date' => [int](../types/int.md), 'max_date' => [int](../types/int.md), 'offset' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->search](messages.search.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'q' => [string](../types/string.md), 'filter' => [MessagesFilter](../types/MessagesFilter.md), 'min_date' => [int](../types/int.md), 'max_date' => [int](../types/int.md), 'offset' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

@@ -532,15 +532,15 @@ $MadelineProto->[messages->sendBroadcast](messages.sendBroadcast.md)(\['contacts ***

-$MadelineProto->[messages->sendEncrypted](messages.sendEncrypted.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'message' => [DecryptedMessage](../types/DecryptedMessage.md), \]) === [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +$MadelineProto->[messages->sendEncrypted](messages.sendEncrypted.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), \]) === [$messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ***

-$MadelineProto->[messages->sendEncryptedFile](messages.sendEncryptedFile.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'message' => [DecryptedMessage](../types/DecryptedMessage.md), 'file' => [InputEncryptedFile](../types/InputEncryptedFile.md), \]) === [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +$MadelineProto->[messages->sendEncryptedFile](messages.sendEncryptedFile.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), 'file' => [InputEncryptedFile](../types/InputEncryptedFile.md), \]) === [$messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ***

-$MadelineProto->[messages->sendEncryptedService](messages.sendEncryptedService.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'message' => [DecryptedMessage](../types/DecryptedMessage.md), \]) === [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +$MadelineProto->[messages->sendEncryptedService](messages.sendEncryptedService.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), \]) === [$messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ***

@@ -572,7 +572,7 @@ $MadelineProto->[photos->deletePhotos](photos.deletePhotos.md)(\['id' => \[[Inpu ***

-$MadelineProto->[photos->getUserPhotos](photos.getUserPhotos.md)(\['user_id' => [InputUser](../types/InputUser.md), 'offset' => [int](../types/int.md), 'max_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$photos\_Photos](../types/photos_Photos.md) +$MadelineProto->[photos->getUserPhotos](photos.getUserPhotos.md)(\['user_id' => [InputUser](../types/InputUser.md), 'offset' => [int](../types/int.md), 'max_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$photos.Photos](../types/photos.Photos.md) ***

@@ -580,23 +580,23 @@ $MadelineProto->[photos->updateProfilePhoto](photos.updateProfilePhoto.md)(\['id ***

-$MadelineProto->[photos->uploadProfilePhoto](photos.uploadProfilePhoto.md)(\['file' => [InputFile](../types/InputFile.md), 'caption' => [string](../types/string.md), 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'crop' => [InputPhotoCrop](../types/InputPhotoCrop.md), \]) === [$photos\_Photo](../types/photos_Photo.md) +$MadelineProto->[photos->uploadProfilePhoto](photos.uploadProfilePhoto.md)(\['file' => [InputFile](../types/InputFile.md), 'caption' => [string](../types/string.md), 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'crop' => [InputPhotoCrop](../types/InputPhotoCrop.md), \]) === [$photos.Photo](../types/photos.Photo.md) ***

-$MadelineProto->[updates->getChannelDifference](updates.getChannelDifference.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$updates\_ChannelDifference](../types/updates_ChannelDifference.md) +$MadelineProto->[updates->getChannelDifference](updates.getChannelDifference.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$updates.ChannelDifference](../types/updates.ChannelDifference.md) ***

-$MadelineProto->[updates->getDifference](updates.getDifference.md)(\['pts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) === [$updates\_Difference](../types/updates_Difference.md) +$MadelineProto->[updates->getDifference](updates.getDifference.md)(\['pts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) === [$updates.Difference](../types/updates.Difference.md) ***

-$MadelineProto->[updates->getState](updates.getState.md)(\[\]) === [$updates\_State](../types/updates_State.md) +$MadelineProto->[updates->getState](updates.getState.md)(\[\]) === [$updates.State](../types/updates.State.md) ***

-$MadelineProto->[upload->getFile](upload.getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_File](../types/upload_File.md) +$MadelineProto->[upload->getFile](upload.getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload.File](../types/upload.File.md) ***

diff --git a/old_docs/API_docs_v38/methods/auth.checkPassword.md b/old_docs/API_docs_v38/methods/auth.checkPassword.md index db65cb56..eeeed171 100644 --- a/old_docs/API_docs_v38/methods/auth.checkPassword.md +++ b/old_docs/API_docs_v38/methods/auth.checkPassword.md @@ -16,7 +16,7 @@ You cannot use this method directly, use the complete_2fa_login method instead ( |password\_hash|[bytes](../types/bytes.md) | You cannot use this method directly, use the complete_2fa_login method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->checkPassword(['password_hash' => 'bytes', ]); +$auth.Authorization = $MadelineProto->auth->checkPassword(['password_hash' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.checkPassword({password_hash='bytes', }) +auth.Authorization = auth.checkPassword({password_hash='bytes', }) ``` ### Errors diff --git a/old_docs/API_docs_v38/methods/auth.checkPhone.md b/old_docs/API_docs_v38/methods/auth.checkPhone.md index 227358cb..51d4cba6 100644 --- a/old_docs/API_docs_v38/methods/auth.checkPhone.md +++ b/old_docs/API_docs_v38/methods/auth.checkPhone.md @@ -16,7 +16,7 @@ Check if this phone number is registered on telegram |phone\_number|[string](../types/string.md) | The phone number to check | Yes| -### Return type: [auth\_CheckedPhone](../types/auth_CheckedPhone.md) +### Return type: [auth.CheckedPhone](../types/auth.CheckedPhone.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => 'string', ]); +$auth.CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_CheckedPhone = auth.checkPhone({phone_number='string', }) +auth.CheckedPhone = auth.checkPhone({phone_number='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v38/methods/auth.exportAuthorization.md b/old_docs/API_docs_v38/methods/auth.exportAuthorization.md index 72063a2b..41a1f87d 100644 --- a/old_docs/API_docs_v38/methods/auth.exportAuthorization.md +++ b/old_docs/API_docs_v38/methods/auth.exportAuthorization.md @@ -16,7 +16,7 @@ You cannot use this method directly, use $MadelineProto->exportAuthorization() i |dc\_id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| -### Return type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) +### Return type: [auth.ExportedAuthorization](../types/auth.ExportedAuthorization.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_ExportedAuthorization = $MadelineProto->auth->exportAuthorization(['dc_id' => int, ]); +$auth.ExportedAuthorization = $MadelineProto->auth->exportAuthorization(['dc_id' => int, ]); ``` Or, if you're into Lua: ```lua -auth_ExportedAuthorization = auth.exportAuthorization({dc_id=int, }) +auth.ExportedAuthorization = auth.exportAuthorization({dc_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v38/methods/auth.importAuthorization.md b/old_docs/API_docs_v38/methods/auth.importAuthorization.md index d9c13751..5257e0b0 100644 --- a/old_docs/API_docs_v38/methods/auth.importAuthorization.md +++ b/old_docs/API_docs_v38/methods/auth.importAuthorization.md @@ -17,7 +17,7 @@ You cannot use this method directly, use $MadelineProto->importAuthorization($au |bytes|[bytes](../types/bytes.md) | You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => 'bytes', ]); +$auth.Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.importAuthorization({id=int, bytes='bytes', }) +auth.Authorization = auth.importAuthorization({id=int, bytes='bytes', }) ``` ### Errors diff --git a/old_docs/API_docs_v38/methods/auth.importBotAuthorization.md b/old_docs/API_docs_v38/methods/auth.importBotAuthorization.md index 3161d6be..a4ea8027 100644 --- a/old_docs/API_docs_v38/methods/auth.importBotAuthorization.md +++ b/old_docs/API_docs_v38/methods/auth.importBotAuthorization.md @@ -18,7 +18,7 @@ You cannot use this method directly, use the botLogin method instead (see https: |bot\_auth\_token|[string](../types/string.md) | You cannot use this method directly, use the botLogin method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **YES** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->importBotAuthorization(['api_id' => int, 'api_hash' => 'string', 'bot_auth_token' => 'string', ]); +$auth.Authorization = $MadelineProto->auth->importBotAuthorization(['api_id' => int, 'api_hash' => 'string', 'bot_auth_token' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.importBotAuthorization({api_id=int, api_hash='string', bot_auth_token='string', }) +auth.Authorization = auth.importBotAuthorization({api_id=int, api_hash='string', bot_auth_token='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v38/methods/auth.recoverPassword.md b/old_docs/API_docs_v38/methods/auth.recoverPassword.md index f7cbf4a4..2e78444b 100644 --- a/old_docs/API_docs_v38/methods/auth.recoverPassword.md +++ b/old_docs/API_docs_v38/methods/auth.recoverPassword.md @@ -16,7 +16,7 @@ Reset the [2FA password](https://core.telegram.org/api/srp) using the recovery c |code|[string](../types/string.md) | Code received via email | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->recoverPassword(['code' => 'string', ]); +$auth.Authorization = $MadelineProto->auth->recoverPassword(['code' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.recoverPassword({code='string', }) +auth.Authorization = auth.recoverPassword({code='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v38/methods/auth.requestPasswordRecovery.md b/old_docs/API_docs_v38/methods/auth.requestPasswordRecovery.md index 5cd77936..ff1ecc02 100644 --- a/old_docs/API_docs_v38/methods/auth.requestPasswordRecovery.md +++ b/old_docs/API_docs_v38/methods/auth.requestPasswordRecovery.md @@ -11,7 +11,7 @@ Request recovery code of a [2FA password](https://core.telegram.org/api/srp), on -### Return type: [auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) +### Return type: [auth.PasswordRecovery](../types/auth.PasswordRecovery.md) ### Can bots use this method: **NO** @@ -28,13 +28,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_PasswordRecovery = $MadelineProto->auth->requestPasswordRecovery(); +$auth.PasswordRecovery = $MadelineProto->auth->requestPasswordRecovery(); ``` Or, if you're into Lua: ```lua -auth_PasswordRecovery = auth.requestPasswordRecovery({}) +auth.PasswordRecovery = auth.requestPasswordRecovery({}) ``` ### Errors diff --git a/old_docs/API_docs_v38/methods/auth.sendCode.md b/old_docs/API_docs_v38/methods/auth.sendCode.md index 9fa1a0c7..68b6ff31 100644 --- a/old_docs/API_docs_v38/methods/auth.sendCode.md +++ b/old_docs/API_docs_v38/methods/auth.sendCode.md @@ -20,7 +20,7 @@ You cannot use this method directly, use the phoneLogin method instead (see http |lang\_code|[string](../types/string.md) | You cannot use this method directly, use the phoneLogin method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_SentCode](../types/auth_SentCode.md) +### Return type: [auth.SentCode](../types/auth.SentCode.md) ### Can bots use this method: **NO** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_SentCode = $MadelineProto->auth->sendCode(['phone_number' => 'string', 'sms_type' => int, 'api_id' => int, 'api_hash' => 'string', 'lang_code' => 'string', ]); +$auth.SentCode = $MadelineProto->auth->sendCode(['phone_number' => 'string', 'sms_type' => int, 'api_id' => int, 'api_hash' => 'string', 'lang_code' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_SentCode = auth.sendCode({phone_number='string', sms_type=int, api_id=int, api_hash='string', lang_code='string', }) +auth.SentCode = auth.sendCode({phone_number='string', sms_type=int, api_id=int, api_hash='string', lang_code='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v38/methods/auth.signIn.md b/old_docs/API_docs_v38/methods/auth.signIn.md index 54812a2e..95b14f32 100644 --- a/old_docs/API_docs_v38/methods/auth.signIn.md +++ b/old_docs/API_docs_v38/methods/auth.signIn.md @@ -18,7 +18,7 @@ You cannot use this method directly, use the completePhoneLogin method instead ( |phone\_code|[string](../types/string.md) | You cannot use this method directly, use the completePhoneLogin method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->signIn(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', ]); +$auth.Authorization = $MadelineProto->auth->signIn(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.signIn({phone_number='string', phone_code_hash='string', phone_code='string', }) +auth.Authorization = auth.signIn({phone_number='string', phone_code_hash='string', phone_code='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v38/methods/auth.signUp.md b/old_docs/API_docs_v38/methods/auth.signUp.md index 2aca2bfa..fdb5d628 100644 --- a/old_docs/API_docs_v38/methods/auth.signUp.md +++ b/old_docs/API_docs_v38/methods/auth.signUp.md @@ -20,7 +20,7 @@ You cannot use this method directly, use the completeSignup method instead (see |last\_name|[string](../types/string.md) | You cannot use this method directly, use the completeSignup method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **NO** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->signUp(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', 'first_name' => 'string', 'last_name' => 'string', ]); +$auth.Authorization = $MadelineProto->auth->signUp(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', 'first_name' => 'string', 'last_name' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.signUp({phone_number='string', phone_code_hash='string', phone_code='string', first_name='string', last_name='string', }) +auth.Authorization = auth.signUp({phone_number='string', phone_code_hash='string', phone_code='string', first_name='string', last_name='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v38/methods/channels.deleteMessages.md b/old_docs/API_docs_v38/methods/channels.deleteMessages.md index 10a439fb..8583e560 100644 --- a/old_docs/API_docs_v38/methods/channels.deleteMessages.md +++ b/old_docs/API_docs_v38/methods/channels.deleteMessages.md @@ -17,7 +17,7 @@ Delete messages in a [channel/supergroup](https://core.telegram.org/api/channel) |id|Array of [int](../types/int.md) | The IDs of messages to delete | Yes| -### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) +### Return type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedMessages = $MadelineProto->channels->deleteMessages(['channel' => InputChannel, 'id' => [int, int], ]); +$messages.AffectedMessages = $MadelineProto->channels->deleteMessages(['channel' => InputChannel, 'id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AffectedMessages = channels.deleteMessages({channel=InputChannel, id={int}, }) +messages.AffectedMessages = channels.deleteMessages({channel=InputChannel, id={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v38/methods/channels.deleteUserHistory.md b/old_docs/API_docs_v38/methods/channels.deleteUserHistory.md index 9b8b159f..6ccaf7dd 100644 --- a/old_docs/API_docs_v38/methods/channels.deleteUserHistory.md +++ b/old_docs/API_docs_v38/methods/channels.deleteUserHistory.md @@ -17,7 +17,7 @@ Delete all messages sent by a certain user in a [supergroup](https://core.telegr |user\_id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | User whose messages should be deleted | Optional| -### Return type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) +### Return type: [messages.AffectedHistory](../types/messages.AffectedHistory.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedHistory = $MadelineProto->channels->deleteUserHistory(['channel' => InputChannel, 'user_id' => InputUser, ]); +$messages.AffectedHistory = $MadelineProto->channels->deleteUserHistory(['channel' => InputChannel, 'user_id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -messages_AffectedHistory = channels.deleteUserHistory({channel=InputChannel, user_id=InputUser, }) +messages.AffectedHistory = channels.deleteUserHistory({channel=InputChannel, user_id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v38/methods/channels.getChannels.md b/old_docs/API_docs_v38/methods/channels.getChannels.md index 368c96ce..ed9cf4a7 100644 --- a/old_docs/API_docs_v38/methods/channels.getChannels.md +++ b/old_docs/API_docs_v38/methods/channels.getChannels.md @@ -16,7 +16,7 @@ Get info about [channels/supergroups](https://core.telegram.org/api/channel) |id|Array of [Username, chat ID, Update, Message or InputChannel](../types/InputChannel.md) | The channel/supergroup MTProto IDs | Yes| -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->channels->getChannels(['id' => [InputChannel, InputChannel], ]); +$messages.Chats = $MadelineProto->channels->getChannels(['id' => [InputChannel, InputChannel], ]); ``` Or, if you're into Lua: ```lua -messages_Chats = channels.getChannels({id={InputChannel}, }) +messages.Chats = channels.getChannels({id={InputChannel}, }) ``` ### Errors diff --git a/old_docs/API_docs_v38/methods/channels.getDialogs.md b/old_docs/API_docs_v38/methods/channels.getDialogs.md index b75c785d..b9bfe655 100644 --- a/old_docs/API_docs_v38/methods/channels.getDialogs.md +++ b/old_docs/API_docs_v38/methods/channels.getDialogs.md @@ -17,7 +17,7 @@ Get channel dialogs |limit|[int](../types/int.md) | Number of results to return | Yes| -### Return type: [messages\_Dialogs](../types/messages_Dialogs.md) +### Return type: [messages.Dialogs](../types/messages.Dialogs.md) ### Can bots use this method: **YES** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Dialogs = $MadelineProto->channels->getDialogs(['offset' => int, 'limit' => int, ]); +$messages.Dialogs = $MadelineProto->channels->getDialogs(['offset' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Dialogs = channels.getDialogs({offset=int, limit=int, }) +messages.Dialogs = channels.getDialogs({offset=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v38/methods/channels.getFullChannel.md b/old_docs/API_docs_v38/methods/channels.getFullChannel.md index 08dc21bb..1369e0a0 100644 --- a/old_docs/API_docs_v38/methods/channels.getFullChannel.md +++ b/old_docs/API_docs_v38/methods/channels.getFullChannel.md @@ -16,7 +16,7 @@ You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo me |channel|[Username, chat ID, Update, Message or InputChannel](../types/InputChannel.md) | You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo methods instead (see https://docs.madelineproto.xyz for more info) | Optional| -### Return type: [messages\_ChatFull](../types/messages_ChatFull.md) +### Return type: [messages.ChatFull](../types/messages.ChatFull.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_ChatFull = $MadelineProto->channels->getFullChannel(['channel' => InputChannel, ]); +$messages.ChatFull = $MadelineProto->channels->getFullChannel(['channel' => InputChannel, ]); ``` Or, if you're into Lua: ```lua -messages_ChatFull = channels.getFullChannel({channel=InputChannel, }) +messages.ChatFull = channels.getFullChannel({channel=InputChannel, }) ``` ### Errors diff --git a/old_docs/API_docs_v38/methods/channels.getImportantHistory.md b/old_docs/API_docs_v38/methods/channels.getImportantHistory.md index 7375a015..5fe317b8 100644 --- a/old_docs/API_docs_v38/methods/channels.getImportantHistory.md +++ b/old_docs/API_docs_v38/methods/channels.getImportantHistory.md @@ -21,7 +21,7 @@ Get important channel/supergroup history |min\_id|[int](../types/int.md) | Minumum message ID | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **YES** @@ -38,12 +38,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->channels->getImportantHistory(['channel' => InputChannel, 'offset_id' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); +$messages.Messages = $MadelineProto->channels->getImportantHistory(['channel' => InputChannel, 'offset_id' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Messages = channels.getImportantHistory({channel=InputChannel, offset_id=int, add_offset=int, limit=int, max_id=int, min_id=int, }) +messages.Messages = channels.getImportantHistory({channel=InputChannel, offset_id=int, add_offset=int, limit=int, max_id=int, min_id=int, }) ``` diff --git a/old_docs/API_docs_v38/methods/channels.getMessages.md b/old_docs/API_docs_v38/methods/channels.getMessages.md index 379e0e9d..5023ea1a 100644 --- a/old_docs/API_docs_v38/methods/channels.getMessages.md +++ b/old_docs/API_docs_v38/methods/channels.getMessages.md @@ -17,7 +17,7 @@ Get [channel/supergroup](https://core.telegram.org/api/channel) messages |id|Array of [int](../types/int.md) | The message IDs | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->channels->getMessages(['channel' => InputChannel, 'id' => [int, int], ]); +$messages.Messages = $MadelineProto->channels->getMessages(['channel' => InputChannel, 'id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Messages = channels.getMessages({channel=InputChannel, id={int}, }) +messages.Messages = channels.getMessages({channel=InputChannel, id={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v38/methods/channels.getParticipant.md b/old_docs/API_docs_v38/methods/channels.getParticipant.md index aa2ce655..cf6a7771 100644 --- a/old_docs/API_docs_v38/methods/channels.getParticipant.md +++ b/old_docs/API_docs_v38/methods/channels.getParticipant.md @@ -17,7 +17,7 @@ Get info about a [channel/supergroup](https://core.telegram.org/api/channel) par |user\_id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | ID of participant to get info about | Optional| -### Return type: [channels\_ChannelParticipant](../types/channels_ChannelParticipant.md) +### Return type: [channels.ChannelParticipant](../types/channels.ChannelParticipant.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$channels_ChannelParticipant = $MadelineProto->channels->getParticipant(['channel' => InputChannel, 'user_id' => InputUser, ]); +$channels.ChannelParticipant = $MadelineProto->channels->getParticipant(['channel' => InputChannel, 'user_id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -channels_ChannelParticipant = channels.getParticipant({channel=InputChannel, user_id=InputUser, }) +channels.ChannelParticipant = channels.getParticipant({channel=InputChannel, user_id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v38/methods/channels.getParticipants.md b/old_docs/API_docs_v38/methods/channels.getParticipants.md index 9be95921..bfeccd48 100644 --- a/old_docs/API_docs_v38/methods/channels.getParticipants.md +++ b/old_docs/API_docs_v38/methods/channels.getParticipants.md @@ -19,7 +19,7 @@ Get the participants of a channel |limit|[int](../types/int.md) | [Limit](https://core.telegram.org/api/offsets) | Yes| -### Return type: [channels\_ChannelParticipants](../types/channels_ChannelParticipants.md) +### Return type: [channels.ChannelParticipants](../types/channels.ChannelParticipants.md) ### Can bots use this method: **YES** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$channels_ChannelParticipants = $MadelineProto->channels->getParticipants(['channel' => InputChannel, 'filter' => ChannelParticipantsFilter, 'offset' => int, 'limit' => int, ]); +$channels.ChannelParticipants = $MadelineProto->channels->getParticipants(['channel' => InputChannel, 'filter' => ChannelParticipantsFilter, 'offset' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -channels_ChannelParticipants = channels.getParticipants({channel=InputChannel, filter=ChannelParticipantsFilter, offset=int, limit=int, }) +channels.ChannelParticipants = channels.getParticipants({channel=InputChannel, filter=ChannelParticipantsFilter, offset=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v38/methods/contacts.deleteContact.md b/old_docs/API_docs_v38/methods/contacts.deleteContact.md index a9321d64..9169e1e0 100644 --- a/old_docs/API_docs_v38/methods/contacts.deleteContact.md +++ b/old_docs/API_docs_v38/methods/contacts.deleteContact.md @@ -16,7 +16,7 @@ Delete a contact |id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | The contact to delete | Optional| -### Return type: [contacts\_Link](../types/contacts_Link.md) +### Return type: [contacts.Link](../types/contacts.Link.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Link = $MadelineProto->contacts->deleteContact(['id' => InputUser, ]); +$contacts.Link = $MadelineProto->contacts->deleteContact(['id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -contacts_Link = contacts.deleteContact({id=InputUser, }) +contacts.Link = contacts.deleteContact({id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v38/methods/contacts.getBlocked.md b/old_docs/API_docs_v38/methods/contacts.getBlocked.md index 92f2f331..6ac1c343 100644 --- a/old_docs/API_docs_v38/methods/contacts.getBlocked.md +++ b/old_docs/API_docs_v38/methods/contacts.getBlocked.md @@ -17,7 +17,7 @@ Returns the list of blocked users. |limit|[int](../types/int.md) | The number of list elements to be returned | Yes| -### Return type: [contacts\_Blocked](../types/contacts_Blocked.md) +### Return type: [contacts.Blocked](../types/contacts.Blocked.md) ### Can bots use this method: **NO** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Blocked = $MadelineProto->contacts->getBlocked(['offset' => int, 'limit' => int, ]); +$contacts.Blocked = $MadelineProto->contacts->getBlocked(['offset' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -contacts_Blocked = contacts.getBlocked({offset=int, limit=int, }) +contacts.Blocked = contacts.getBlocked({offset=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v38/methods/contacts.getContacts.md b/old_docs/API_docs_v38/methods/contacts.getContacts.md index caee7aa8..a2fcd412 100644 --- a/old_docs/API_docs_v38/methods/contacts.getContacts.md +++ b/old_docs/API_docs_v38/methods/contacts.getContacts.md @@ -16,7 +16,7 @@ Returns the current user's contact list. |hash|[string](../types/string.md) | List of contact user IDs you already cached | Yes| -### Return type: [contacts\_Contacts](../types/contacts_Contacts.md) +### Return type: [contacts.Contacts](../types/contacts.Contacts.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Contacts = $MadelineProto->contacts->getContacts(['hash' => 'string', ]); +$contacts.Contacts = $MadelineProto->contacts->getContacts(['hash' => 'string', ]); ``` Or, if you're into Lua: ```lua -contacts_Contacts = contacts.getContacts({hash='string', }) +contacts.Contacts = contacts.getContacts({hash='string', }) ``` diff --git a/old_docs/API_docs_v38/methods/contacts.getSuggested.md b/old_docs/API_docs_v38/methods/contacts.getSuggested.md index 32e96621..ede222d4 100644 --- a/old_docs/API_docs_v38/methods/contacts.getSuggested.md +++ b/old_docs/API_docs_v38/methods/contacts.getSuggested.md @@ -16,7 +16,7 @@ Get suggested contacts |limit|[int](../types/int.md) | Number of results to return | Yes| -### Return type: [contacts\_Suggested](../types/contacts_Suggested.md) +### Return type: [contacts.Suggested](../types/contacts.Suggested.md) ### Can bots use this method: **YES** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Suggested = $MadelineProto->contacts->getSuggested(['limit' => int, ]); +$contacts.Suggested = $MadelineProto->contacts->getSuggested(['limit' => int, ]); ``` Or, if you're into Lua: ```lua -contacts_Suggested = contacts.getSuggested({limit=int, }) +contacts.Suggested = contacts.getSuggested({limit=int, }) ``` diff --git a/old_docs/API_docs_v38/methods/contacts.importContacts.md b/old_docs/API_docs_v38/methods/contacts.importContacts.md index 572df9fb..975d0565 100644 --- a/old_docs/API_docs_v38/methods/contacts.importContacts.md +++ b/old_docs/API_docs_v38/methods/contacts.importContacts.md @@ -17,7 +17,7 @@ Imports contacts: saves a full list on the server, adds already registered conta |replace|[Bool](../types/Bool.md) | Replace contacts? | Yes| -### Return type: [contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) +### Return type: [contacts.ImportedContacts](../types/contacts.ImportedContacts.md) ### Can bots use this method: **NO** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_ImportedContacts = $MadelineProto->contacts->importContacts(['contacts' => [InputContact, InputContact], 'replace' => Bool, ]); +$contacts.ImportedContacts = $MadelineProto->contacts->importContacts(['contacts' => [InputContact, InputContact], 'replace' => Bool, ]); ``` Or, if you're into Lua: ```lua -contacts_ImportedContacts = contacts.importContacts({contacts={InputContact}, replace=Bool, }) +contacts.ImportedContacts = contacts.importContacts({contacts={InputContact}, replace=Bool, }) ``` diff --git a/old_docs/API_docs_v38/methods/contacts.resolveUsername.md b/old_docs/API_docs_v38/methods/contacts.resolveUsername.md index 05e3d854..46f1eb50 100644 --- a/old_docs/API_docs_v38/methods/contacts.resolveUsername.md +++ b/old_docs/API_docs_v38/methods/contacts.resolveUsername.md @@ -16,7 +16,7 @@ You cannot use this method directly, use the resolveUsername, getPwrChat, getInf |username|[string](../types/string.md) | You cannot use this method directly, use the resolveUsername, getPwrChat, getInfo, getFullInfo methods instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [contacts\_ResolvedPeer](../types/contacts_ResolvedPeer.md) +### Return type: [contacts.ResolvedPeer](../types/contacts.ResolvedPeer.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_ResolvedPeer = $MadelineProto->contacts->resolveUsername(['username' => 'string', ]); +$contacts.ResolvedPeer = $MadelineProto->contacts->resolveUsername(['username' => 'string', ]); ``` Or, if you're into Lua: ```lua -contacts_ResolvedPeer = contacts.resolveUsername({username='string', }) +contacts.ResolvedPeer = contacts.resolveUsername({username='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v38/methods/contacts.search.md b/old_docs/API_docs_v38/methods/contacts.search.md index 2f39d6f1..ec04c7f9 100644 --- a/old_docs/API_docs_v38/methods/contacts.search.md +++ b/old_docs/API_docs_v38/methods/contacts.search.md @@ -17,7 +17,7 @@ Returns users found by username substring. |limit|[int](../types/int.md) | Maximum number of users to be returned | Yes| -### Return type: [contacts\_Found](../types/contacts_Found.md) +### Return type: [contacts.Found](../types/contacts.Found.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Found = $MadelineProto->contacts->search(['q' => 'string', 'limit' => int, ]); +$contacts.Found = $MadelineProto->contacts->search(['q' => 'string', 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -contacts_Found = contacts.search({q='string', limit=int, }) +contacts.Found = contacts.search({q='string', limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v38/methods/help.getAppChangelog.md b/old_docs/API_docs_v38/methods/help.getAppChangelog.md index 890e3a4b..29bee8fb 100644 --- a/old_docs/API_docs_v38/methods/help.getAppChangelog.md +++ b/old_docs/API_docs_v38/methods/help.getAppChangelog.md @@ -19,7 +19,7 @@ Get changelog of current app |lang\_code|[string](../types/string.md) | Language code | Yes| -### Return type: [help\_AppChangelog](../types/help_AppChangelog.md) +### Return type: [help.AppChangelog](../types/help.AppChangelog.md) ### Can bots use this method: **NO** @@ -36,12 +36,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_AppChangelog = $MadelineProto->help->getAppChangelog(['device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'lang_code' => 'string', ]); +$help.AppChangelog = $MadelineProto->help->getAppChangelog(['device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'lang_code' => 'string', ]); ``` Or, if you're into Lua: ```lua -help_AppChangelog = help.getAppChangelog({device_model='string', system_version='string', app_version='string', lang_code='string', }) +help.AppChangelog = help.getAppChangelog({device_model='string', system_version='string', app_version='string', lang_code='string', }) ``` diff --git a/old_docs/API_docs_v38/methods/help.getAppUpdate.md b/old_docs/API_docs_v38/methods/help.getAppUpdate.md index 0f844391..bfbed19e 100644 --- a/old_docs/API_docs_v38/methods/help.getAppUpdate.md +++ b/old_docs/API_docs_v38/methods/help.getAppUpdate.md @@ -19,7 +19,7 @@ Returns information on update availability for the current application. |lang\_code|[string](../types/string.md) | Langauge code | Yes| -### Return type: [help\_AppUpdate](../types/help_AppUpdate.md) +### Return type: [help.AppUpdate](../types/help.AppUpdate.md) ### Can bots use this method: **NO** @@ -36,12 +36,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_AppUpdate = $MadelineProto->help->getAppUpdate(['device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'lang_code' => 'string', ]); +$help.AppUpdate = $MadelineProto->help->getAppUpdate(['device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'lang_code' => 'string', ]); ``` Or, if you're into Lua: ```lua -help_AppUpdate = help.getAppUpdate({device_model='string', system_version='string', app_version='string', lang_code='string', }) +help.AppUpdate = help.getAppUpdate({device_model='string', system_version='string', app_version='string', lang_code='string', }) ``` diff --git a/old_docs/API_docs_v38/methods/help.getInviteText.md b/old_docs/API_docs_v38/methods/help.getInviteText.md index 482afbc0..f84b2e82 100644 --- a/old_docs/API_docs_v38/methods/help.getInviteText.md +++ b/old_docs/API_docs_v38/methods/help.getInviteText.md @@ -16,7 +16,7 @@ Returns text of a text message with an invitation. |lang\_code|[string](../types/string.md) | Language | Yes| -### Return type: [help\_InviteText](../types/help_InviteText.md) +### Return type: [help.InviteText](../types/help.InviteText.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_InviteText = $MadelineProto->help->getInviteText(['lang_code' => 'string', ]); +$help.InviteText = $MadelineProto->help->getInviteText(['lang_code' => 'string', ]); ``` Or, if you're into Lua: ```lua -help_InviteText = help.getInviteText({lang_code='string', }) +help.InviteText = help.getInviteText({lang_code='string', }) ``` diff --git a/old_docs/API_docs_v38/methods/help.getSupport.md b/old_docs/API_docs_v38/methods/help.getSupport.md index 7a577892..8a8df916 100644 --- a/old_docs/API_docs_v38/methods/help.getSupport.md +++ b/old_docs/API_docs_v38/methods/help.getSupport.md @@ -11,7 +11,7 @@ Returns the support user for the 'ask a question' feature. -### Return type: [help\_Support](../types/help_Support.md) +### Return type: [help.Support](../types/help.Support.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_Support = $MadelineProto->help->getSupport(); +$help.Support = $MadelineProto->help->getSupport(); ``` Or, if you're into Lua: ```lua -help_Support = help.getSupport({}) +help.Support = help.getSupport({}) ``` diff --git a/old_docs/API_docs_v38/methods/messages.deleteHistory.md b/old_docs/API_docs_v38/methods/messages.deleteHistory.md index 974b7e3c..93badc83 100644 --- a/old_docs/API_docs_v38/methods/messages.deleteHistory.md +++ b/old_docs/API_docs_v38/methods/messages.deleteHistory.md @@ -17,7 +17,7 @@ Deletes communication history. |offset|[int](../types/int.md) | Offset | Yes| -### Return type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) +### Return type: [messages.AffectedHistory](../types/messages.AffectedHistory.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedHistory = $MadelineProto->messages->deleteHistory(['peer' => InputPeer, 'offset' => int, ]); +$messages.AffectedHistory = $MadelineProto->messages->deleteHistory(['peer' => InputPeer, 'offset' => int, ]); ``` Or, if you're into Lua: ```lua -messages_AffectedHistory = messages.deleteHistory({peer=InputPeer, offset=int, }) +messages.AffectedHistory = messages.deleteHistory({peer=InputPeer, offset=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v38/methods/messages.deleteMessages.md b/old_docs/API_docs_v38/methods/messages.deleteMessages.md index 355b2ff8..cc432cc1 100644 --- a/old_docs/API_docs_v38/methods/messages.deleteMessages.md +++ b/old_docs/API_docs_v38/methods/messages.deleteMessages.md @@ -16,7 +16,7 @@ Deletes messages by their identifiers. |id|Array of [int](../types/int.md) | IDs of messages to delete, use channels->deleteMessages for supergroups | Yes| -### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) +### Return type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedMessages = $MadelineProto->messages->deleteMessages(['id' => [int, int], ]); +$messages.AffectedMessages = $MadelineProto->messages->deleteMessages(['id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AffectedMessages = messages.deleteMessages({id={int}, }) +messages.AffectedMessages = messages.deleteMessages({id={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v38/methods/messages.getAllStickers.md b/old_docs/API_docs_v38/methods/messages.getAllStickers.md index 3bbfd91b..bdf1bab0 100644 --- a/old_docs/API_docs_v38/methods/messages.getAllStickers.md +++ b/old_docs/API_docs_v38/methods/messages.getAllStickers.md @@ -16,7 +16,7 @@ Get all installed stickers |hash|[string](../types/string.md) | Previously fetched stickers | Yes| -### Return type: [messages\_AllStickers](../types/messages_AllStickers.md) +### Return type: [messages.AllStickers](../types/messages.AllStickers.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AllStickers = $MadelineProto->messages->getAllStickers(['hash' => 'string', ]); +$messages.AllStickers = $MadelineProto->messages->getAllStickers(['hash' => 'string', ]); ``` Or, if you're into Lua: ```lua -messages_AllStickers = messages.getAllStickers({hash='string', }) +messages.AllStickers = messages.getAllStickers({hash='string', }) ``` diff --git a/old_docs/API_docs_v38/methods/messages.getChats.md b/old_docs/API_docs_v38/methods/messages.getChats.md index c34b0488..146341f5 100644 --- a/old_docs/API_docs_v38/methods/messages.getChats.md +++ b/old_docs/API_docs_v38/methods/messages.getChats.md @@ -16,7 +16,7 @@ Returns chat basic info on their IDs. |id|Array of [int](../types/int.md) | The MTProto IDs of chats to fetch info about | Yes| -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->messages->getChats(['id' => [int, int], ]); +$messages.Chats = $MadelineProto->messages->getChats(['id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Chats = messages.getChats({id={int}, }) +messages.Chats = messages.getChats({id={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v38/methods/messages.getDhConfig.md b/old_docs/API_docs_v38/methods/messages.getDhConfig.md index 88ea4ab3..7b9da566 100644 --- a/old_docs/API_docs_v38/methods/messages.getDhConfig.md +++ b/old_docs/API_docs_v38/methods/messages.getDhConfig.md @@ -17,7 +17,7 @@ You cannot use this method directly, instead use $MadelineProto->getDhConfig(); |random\_length|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->getDhConfig(); | Yes| -### Return type: [messages\_DhConfig](../types/messages_DhConfig.md) +### Return type: [messages.DhConfig](../types/messages.DhConfig.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_DhConfig = $MadelineProto->messages->getDhConfig(['version' => int, 'random_length' => int, ]); +$messages.DhConfig = $MadelineProto->messages->getDhConfig(['version' => int, 'random_length' => int, ]); ``` Or, if you're into Lua: ```lua -messages_DhConfig = messages.getDhConfig({version=int, random_length=int, }) +messages.DhConfig = messages.getDhConfig({version=int, random_length=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v38/methods/messages.getDialogs.md b/old_docs/API_docs_v38/methods/messages.getDialogs.md index 6dd1b558..394b4c3c 100644 --- a/old_docs/API_docs_v38/methods/messages.getDialogs.md +++ b/old_docs/API_docs_v38/methods/messages.getDialogs.md @@ -17,7 +17,7 @@ Returns the current user dialog list. |limit|[int](../types/int.md) | Number of list elements to be returned | Yes| -### Return type: [messages\_Dialogs](../types/messages_Dialogs.md) +### Return type: [messages.Dialogs](../types/messages.Dialogs.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Dialogs = $MadelineProto->messages->getDialogs(['offset' => int, 'limit' => int, ]); +$messages.Dialogs = $MadelineProto->messages->getDialogs(['offset' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Dialogs = messages.getDialogs({offset=int, limit=int, }) +messages.Dialogs = messages.getDialogs({offset=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v38/methods/messages.getFullChat.md b/old_docs/API_docs_v38/methods/messages.getFullChat.md index abf23e21..de543651 100644 --- a/old_docs/API_docs_v38/methods/messages.getFullChat.md +++ b/old_docs/API_docs_v38/methods/messages.getFullChat.md @@ -16,7 +16,7 @@ You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo me |chat\_id|[Username, chat ID, Update, Message or InputPeer](../types/InputPeer.md) | You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo methods instead (see https://docs.madelineproto.xyz for more info) | Optional| -### Return type: [messages\_ChatFull](../types/messages_ChatFull.md) +### Return type: [messages.ChatFull](../types/messages.ChatFull.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_ChatFull = $MadelineProto->messages->getFullChat(['chat_id' => InputPeer, ]); +$messages.ChatFull = $MadelineProto->messages->getFullChat(['chat_id' => InputPeer, ]); ``` Or, if you're into Lua: ```lua -messages_ChatFull = messages.getFullChat({chat_id=InputPeer, }) +messages.ChatFull = messages.getFullChat({chat_id=InputPeer, }) ``` ### Errors diff --git a/old_docs/API_docs_v38/methods/messages.getHistory.md b/old_docs/API_docs_v38/methods/messages.getHistory.md index c6d7a647..1e13bc34 100644 --- a/old_docs/API_docs_v38/methods/messages.getHistory.md +++ b/old_docs/API_docs_v38/methods/messages.getHistory.md @@ -21,7 +21,7 @@ Gets back the conversation history with one interlocutor / within a chat |min\_id|[int](../types/int.md) | If a positive value was transferred, the method will return only messages with IDs more than **min\_id** | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **NO** @@ -38,13 +38,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->getHistory(['peer' => InputPeer, 'offset_id' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); +$messages.Messages = $MadelineProto->messages->getHistory(['peer' => InputPeer, 'offset_id' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.getHistory({peer=InputPeer, offset_id=int, add_offset=int, limit=int, max_id=int, min_id=int, }) +messages.Messages = messages.getHistory({peer=InputPeer, offset_id=int, add_offset=int, limit=int, max_id=int, min_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v38/methods/messages.getMessages.md b/old_docs/API_docs_v38/methods/messages.getMessages.md index a3139513..c7760d7e 100644 --- a/old_docs/API_docs_v38/methods/messages.getMessages.md +++ b/old_docs/API_docs_v38/methods/messages.getMessages.md @@ -16,7 +16,7 @@ Returns the list of messages by their IDs. |id|Array of [int](../types/int.md) | The IDs of messages to fetch (only for users and normal groups) | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **YES** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->getMessages(['id' => [int, int], ]); +$messages.Messages = $MadelineProto->messages->getMessages(['id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.getMessages({id={int}, }) +messages.Messages = messages.getMessages({id={int}, }) ``` diff --git a/old_docs/API_docs_v38/methods/messages.getStickerSet.md b/old_docs/API_docs_v38/methods/messages.getStickerSet.md index 45fca60f..f11887ee 100644 --- a/old_docs/API_docs_v38/methods/messages.getStickerSet.md +++ b/old_docs/API_docs_v38/methods/messages.getStickerSet.md @@ -16,7 +16,7 @@ Get info about a stickerset |stickerset|[InputStickerSet](../types/InputStickerSet.md) | Stickerset | Optional| -### Return type: [messages\_StickerSet](../types/messages_StickerSet.md) +### Return type: [messages.StickerSet](../types/messages.StickerSet.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StickerSet = $MadelineProto->messages->getStickerSet(['stickerset' => InputStickerSet, ]); +$messages.StickerSet = $MadelineProto->messages->getStickerSet(['stickerset' => InputStickerSet, ]); ``` Or, if you're into Lua: ```lua -messages_StickerSet = messages.getStickerSet({stickerset=InputStickerSet, }) +messages.StickerSet = messages.getStickerSet({stickerset=InputStickerSet, }) ``` ### Errors diff --git a/old_docs/API_docs_v38/methods/messages.getStickers.md b/old_docs/API_docs_v38/methods/messages.getStickers.md index aa149fc3..6fab91a5 100644 --- a/old_docs/API_docs_v38/methods/messages.getStickers.md +++ b/old_docs/API_docs_v38/methods/messages.getStickers.md @@ -17,7 +17,7 @@ Get stickers by emoji |hash|[string](../types/string.md) | Previously fetched sticker IDs | Yes| -### Return type: [messages\_Stickers](../types/messages_Stickers.md) +### Return type: [messages.Stickers](../types/messages.Stickers.md) ### Can bots use this method: **NO** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Stickers = $MadelineProto->messages->getStickers(['emoticon' => 'string', 'hash' => 'string', ]); +$messages.Stickers = $MadelineProto->messages->getStickers(['emoticon' => 'string', 'hash' => 'string', ]); ``` Or, if you're into Lua: ```lua -messages_Stickers = messages.getStickers({emoticon='string', hash='string', }) +messages.Stickers = messages.getStickers({emoticon='string', hash='string', }) ``` diff --git a/old_docs/API_docs_v38/methods/messages.readHistory.md b/old_docs/API_docs_v38/methods/messages.readHistory.md index b351bcc1..46969611 100644 --- a/old_docs/API_docs_v38/methods/messages.readHistory.md +++ b/old_docs/API_docs_v38/methods/messages.readHistory.md @@ -18,7 +18,7 @@ Marks message history as read. |offset|[int](../types/int.md) | Offset | Yes| -### Return type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) +### Return type: [messages.AffectedHistory](../types/messages.AffectedHistory.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedHistory = $MadelineProto->messages->readHistory(['peer' => InputPeer, 'max_id' => int, 'offset' => int, ]); +$messages.AffectedHistory = $MadelineProto->messages->readHistory(['peer' => InputPeer, 'max_id' => int, 'offset' => int, ]); ``` Or, if you're into Lua: ```lua -messages_AffectedHistory = messages.readHistory({peer=InputPeer, max_id=int, offset=int, }) +messages.AffectedHistory = messages.readHistory({peer=InputPeer, max_id=int, offset=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v38/methods/messages.readMessageContents.md b/old_docs/API_docs_v38/methods/messages.readMessageContents.md index c479cafe..9798e661 100644 --- a/old_docs/API_docs_v38/methods/messages.readMessageContents.md +++ b/old_docs/API_docs_v38/methods/messages.readMessageContents.md @@ -16,7 +16,7 @@ Notifies the sender about the recipient having listened a voice message or watch |id|Array of [int](../types/int.md) | The messages to mark as read (only users and normal chats, not supergroups) | Yes| -### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) +### Return type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedMessages = $MadelineProto->messages->readMessageContents(['id' => [int, int], ]); +$messages.AffectedMessages = $MadelineProto->messages->readMessageContents(['id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AffectedMessages = messages.readMessageContents({id={int}, }) +messages.AffectedMessages = messages.readMessageContents({id={int}, }) ``` diff --git a/old_docs/API_docs_v38/methods/messages.search.md b/old_docs/API_docs_v38/methods/messages.search.md index 4fda6636..7ebe6a9a 100644 --- a/old_docs/API_docs_v38/methods/messages.search.md +++ b/old_docs/API_docs_v38/methods/messages.search.md @@ -23,7 +23,7 @@ Gets back found messages |limit|[int](../types/int.md) | [Number of results to return](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **NO** @@ -40,13 +40,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->search(['peer' => InputPeer, 'q' => 'string', 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); +$messages.Messages = $MadelineProto->messages->search(['peer' => InputPeer, 'q' => 'string', 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.search({peer=InputPeer, q='string', filter=MessagesFilter, min_date=int, max_date=int, offset=int, max_id=int, limit=int, }) +messages.Messages = messages.search({peer=InputPeer, q='string', filter=MessagesFilter, min_date=int, max_date=int, offset=int, max_id=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v38/methods/messages.sendEncrypted.md b/old_docs/API_docs_v38/methods/messages.sendEncrypted.md index 47b5ef29..6a68b563 100644 --- a/old_docs/API_docs_v38/methods/messages.sendEncrypted.md +++ b/old_docs/API_docs_v38/methods/messages.sendEncrypted.md @@ -14,10 +14,10 @@ Sends a text message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|message|[DecryptedMessage](../types/DecryptedMessage.md) | The message to send | Yes| +|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key that was created during chat initialization | Yes| -### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ### Can bots use this method: **NO** @@ -34,21 +34,15 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncrypted(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); +$messages.SentEncryptedMessage = $MadelineProto->messages->sendEncrypted(['peer' => InputEncryptedChat, 'data' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -messages_SentEncryptedMessage = messages.sendEncrypted({peer=InputEncryptedChat, message=DecryptedMessage, }) +messages.SentEncryptedMessage = messages.sendEncrypted({peer=InputEncryptedChat, data='bytes', }) ``` - -## Return value - -If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) will be returned instead. - - ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v38/methods/messages.sendEncryptedFile.md b/old_docs/API_docs_v38/methods/messages.sendEncryptedFile.md index 4e0f7b7f..87185ba4 100644 --- a/old_docs/API_docs_v38/methods/messages.sendEncryptedFile.md +++ b/old_docs/API_docs_v38/methods/messages.sendEncryptedFile.md @@ -14,11 +14,11 @@ Sends a message with a file attachment to a secret chat | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|message|[DecryptedMessage](../types/DecryptedMessage.md) | The message with the file | Yes| +|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| |file|[File path or InputEncryptedFile](../types/InputEncryptedFile.md) | File attachment for the secret chat | Optional| -### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ### Can bots use this method: **NO** @@ -35,21 +35,15 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedFile(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, 'file' => InputEncryptedFile, ]); +$messages.SentEncryptedMessage = $MadelineProto->messages->sendEncryptedFile(['peer' => InputEncryptedChat, 'data' => 'bytes', 'file' => InputEncryptedFile, ]); ``` Or, if you're into Lua: ```lua -messages_SentEncryptedMessage = messages.sendEncryptedFile({peer=InputEncryptedChat, message=DecryptedMessage, file=InputEncryptedFile, }) +messages.SentEncryptedMessage = messages.sendEncryptedFile({peer=InputEncryptedChat, data='bytes', file=InputEncryptedFile, }) ``` - -## Return value - -If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) will be returned instead. - - ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v38/methods/messages.sendEncryptedService.md b/old_docs/API_docs_v38/methods/messages.sendEncryptedService.md index 86925ae3..38171272 100644 --- a/old_docs/API_docs_v38/methods/messages.sendEncryptedService.md +++ b/old_docs/API_docs_v38/methods/messages.sendEncryptedService.md @@ -14,10 +14,10 @@ Sends a service message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|message|[DecryptedMessage](../types/DecryptedMessage.md) | The service message | Yes| +|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| -### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ### Can bots use this method: **NO** @@ -34,21 +34,15 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedService(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); +$messages.SentEncryptedMessage = $MadelineProto->messages->sendEncryptedService(['peer' => InputEncryptedChat, 'data' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -messages_SentEncryptedMessage = messages.sendEncryptedService({peer=InputEncryptedChat, message=DecryptedMessage, }) +messages.SentEncryptedMessage = messages.sendEncryptedService({peer=InputEncryptedChat, data='bytes', }) ``` - -## Return value - -If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) will be returned instead. - - ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v38/methods/photos.getUserPhotos.md b/old_docs/API_docs_v38/methods/photos.getUserPhotos.md index a1dec2ed..1f8d5c64 100644 --- a/old_docs/API_docs_v38/methods/photos.getUserPhotos.md +++ b/old_docs/API_docs_v38/methods/photos.getUserPhotos.md @@ -19,7 +19,7 @@ Returns the list of user photos. |limit|[int](../types/int.md) | Number of list elements to be returned | Yes| -### Return type: [photos\_Photos](../types/photos_Photos.md) +### Return type: [photos.Photos](../types/photos.Photos.md) ### Can bots use this method: **YES** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$photos_Photos = $MadelineProto->photos->getUserPhotos(['user_id' => InputUser, 'offset' => int, 'max_id' => long, 'limit' => int, ]); +$photos.Photos = $MadelineProto->photos->getUserPhotos(['user_id' => InputUser, 'offset' => int, 'max_id' => long, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -photos_Photos = photos.getUserPhotos({user_id=InputUser, offset=int, max_id=long, limit=int, }) +photos.Photos = photos.getUserPhotos({user_id=InputUser, offset=int, max_id=long, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v38/methods/photos.uploadProfilePhoto.md b/old_docs/API_docs_v38/methods/photos.uploadProfilePhoto.md index 337dcc21..18b2b4c6 100644 --- a/old_docs/API_docs_v38/methods/photos.uploadProfilePhoto.md +++ b/old_docs/API_docs_v38/methods/photos.uploadProfilePhoto.md @@ -19,7 +19,7 @@ Updates current user profile photo. |crop|[InputPhotoCrop](../types/InputPhotoCrop.md) | Cropping info | Yes| -### Return type: [photos\_Photo](../types/photos_Photo.md) +### Return type: [photos.Photo](../types/photos.Photo.md) ### Can bots use this method: **NO** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$photos_Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, 'caption' => 'string', 'geo_point' => InputGeoPoint, 'crop' => InputPhotoCrop, ]); +$photos.Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, 'caption' => 'string', 'geo_point' => InputGeoPoint, 'crop' => InputPhotoCrop, ]); ``` Or, if you're into Lua: ```lua -photos_Photo = photos.uploadProfilePhoto({file=InputFile, caption='string', geo_point=InputGeoPoint, crop=InputPhotoCrop, }) +photos.Photo = photos.uploadProfilePhoto({file=InputFile, caption='string', geo_point=InputGeoPoint, crop=InputPhotoCrop, }) ``` ### Errors diff --git a/old_docs/API_docs_v38/methods/updates.getChannelDifference.md b/old_docs/API_docs_v38/methods/updates.getChannelDifference.md index 77a45636..79adf4b1 100644 --- a/old_docs/API_docs_v38/methods/updates.getChannelDifference.md +++ b/old_docs/API_docs_v38/methods/updates.getChannelDifference.md @@ -19,7 +19,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz for more |limit|[int](../types/int.md) | You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates | Yes| -### Return type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) +### Return type: [updates.ChannelDifference](../types/updates.ChannelDifference.md) ### Can bots use this method: **YES** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$updates_ChannelDifference = $MadelineProto->updates->getChannelDifference(['channel' => InputChannel, 'filter' => ChannelMessagesFilter, 'pts' => int, 'limit' => int, ]); +$updates.ChannelDifference = $MadelineProto->updates->getChannelDifference(['channel' => InputChannel, 'filter' => ChannelMessagesFilter, 'pts' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -updates_ChannelDifference = updates.getChannelDifference({channel=InputChannel, filter=ChannelMessagesFilter, pts=int, limit=int, }) +updates.ChannelDifference = updates.getChannelDifference({channel=InputChannel, filter=ChannelMessagesFilter, pts=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v38/methods/updates.getDifference.md b/old_docs/API_docs_v38/methods/updates.getDifference.md index 57ea6d99..061a5c8f 100644 --- a/old_docs/API_docs_v38/methods/updates.getDifference.md +++ b/old_docs/API_docs_v38/methods/updates.getDifference.md @@ -18,7 +18,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz for more |qts|[int](../types/int.md) | You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates | Yes| -### Return type: [updates\_Difference](../types/updates_Difference.md) +### Return type: [updates.Difference](../types/updates.Difference.md) ### Can bots use this method: **YES** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$updates_Difference = $MadelineProto->updates->getDifference(['pts' => int, 'date' => int, 'qts' => int, ]); +$updates.Difference = $MadelineProto->updates->getDifference(['pts' => int, 'date' => int, 'qts' => int, ]); ``` Or, if you're into Lua: ```lua -updates_Difference = updates.getDifference({pts=int, date=int, qts=int, }) +updates.Difference = updates.getDifference({pts=int, date=int, qts=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v38/methods/updates.getState.md b/old_docs/API_docs_v38/methods/updates.getState.md index c591408a..9a7d2f34 100644 --- a/old_docs/API_docs_v38/methods/updates.getState.md +++ b/old_docs/API_docs_v38/methods/updates.getState.md @@ -11,7 +11,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz for more -### Return type: [updates\_State](../types/updates_State.md) +### Return type: [updates.State](../types/updates.State.md) ### Can bots use this method: **YES** @@ -28,13 +28,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$updates_State = $MadelineProto->updates->getState(); +$updates.State = $MadelineProto->updates->getState(); ``` Or, if you're into Lua: ```lua -updates_State = updates.getState({}) +updates.State = updates.getState({}) ``` ### Errors diff --git a/old_docs/API_docs_v38/methods/upload.getFile.md b/old_docs/API_docs_v38/methods/upload.getFile.md index 8aba03d4..ab9f4fe2 100644 --- a/old_docs/API_docs_v38/methods/upload.getFile.md +++ b/old_docs/API_docs_v38/methods/upload.getFile.md @@ -18,7 +18,7 @@ You cannot use this method directly, use the upload, downloadToStream, downloadT |limit|[int](../types/int.md) | You cannot use this method directly, use the upload, downloadToStream, downloadToFile, downloadToDir methods instead; see https://docs.madelineproto.xyz for more info | Yes| -### Return type: [upload\_File](../types/upload_File.md) +### Return type: [upload.File](../types/upload.File.md) ### Can bots use this method: **YES** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$upload_File = $MadelineProto->upload->getFile(['location' => InputFileLocation, 'offset' => int, 'limit' => int, ]); +$upload.File = $MadelineProto->upload->getFile(['location' => InputFileLocation, 'offset' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -upload_File = upload.getFile({location=InputFileLocation, offset=int, limit=int, }) +upload.File = upload.getFile({location=InputFileLocation, offset=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v38/types/AccountDaysTTL.md b/old_docs/API_docs_v38/types/AccountDaysTTL.md index 12a10190..f3494aac 100644 --- a/old_docs/API_docs_v38/types/AccountDaysTTL.md +++ b/old_docs/API_docs_v38/types/AccountDaysTTL.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->account->getAccountTTL](../methods/account_getAccountTTL.md) +[$MadelineProto->account->getAccountTTL](../methods/account.getAccountTTL.md) diff --git a/old_docs/API_docs_v38/types/ChatInvite.md b/old_docs/API_docs_v38/types/ChatInvite.md index 5022a2f0..9fafabb4 100644 --- a/old_docs/API_docs_v38/types/ChatInvite.md +++ b/old_docs/API_docs_v38/types/ChatInvite.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->checkChatInvite](../methods/messages_checkChatInvite.md) +[$MadelineProto->messages->checkChatInvite](../methods/messages.checkChatInvite.md) diff --git a/old_docs/API_docs_v38/types/Config.md b/old_docs/API_docs_v38/types/Config.md index 0f7fbe70..3a23b7b7 100644 --- a/old_docs/API_docs_v38/types/Config.md +++ b/old_docs/API_docs_v38/types/Config.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->help->getConfig](../methods/help_getConfig.md) +[$MadelineProto->help->getConfig](../methods/help.getConfig.md) diff --git a/old_docs/API_docs_v38/types/ContactStatus.md b/old_docs/API_docs_v38/types/ContactStatus.md index c5f5d658..30aee6e2 100644 --- a/old_docs/API_docs_v38/types/ContactStatus.md +++ b/old_docs/API_docs_v38/types/ContactStatus.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->contacts->getStatuses](../methods/contacts_getStatuses.md) +[$MadelineProto->contacts->getStatuses](../methods/contacts.getStatuses.md) diff --git a/old_docs/API_docs_v38/types/EncryptedChat.md b/old_docs/API_docs_v38/types/EncryptedChat.md index fd2277f6..19cf52b0 100644 --- a/old_docs/API_docs_v38/types/EncryptedChat.md +++ b/old_docs/API_docs_v38/types/EncryptedChat.md @@ -24,9 +24,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->requestEncryption](../methods/messages_requestEncryption.md) +[$MadelineProto->messages->requestEncryption](../methods/messages.requestEncryption.md) -[$MadelineProto->messages->acceptEncryption](../methods/messages_acceptEncryption.md) +[$MadelineProto->messages->acceptEncryption](../methods/messages.acceptEncryption.md) diff --git a/old_docs/API_docs_v38/types/ExportedChatInvite.md b/old_docs/API_docs_v38/types/ExportedChatInvite.md index 4213a78f..53ce5f59 100644 --- a/old_docs/API_docs_v38/types/ExportedChatInvite.md +++ b/old_docs/API_docs_v38/types/ExportedChatInvite.md @@ -18,9 +18,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->exportChatInvite](../methods/messages_exportChatInvite.md) +[$MadelineProto->messages->exportChatInvite](../methods/messages.exportChatInvite.md) -[$MadelineProto->channels->exportInvite](../methods/channels_exportInvite.md) +[$MadelineProto->channels->exportInvite](../methods/channels.exportInvite.md) diff --git a/old_docs/API_docs_v38/types/MessageMedia.md b/old_docs/API_docs_v38/types/MessageMedia.md index 51c2f3c9..9c8475d7 100644 --- a/old_docs/API_docs_v38/types/MessageMedia.md +++ b/old_docs/API_docs_v38/types/MessageMedia.md @@ -34,7 +34,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getWebPagePreview](../methods/messages_getWebPagePreview.md) +[$MadelineProto->messages->getWebPagePreview](../methods/messages.getWebPagePreview.md) diff --git a/old_docs/API_docs_v38/types/NearestDc.md b/old_docs/API_docs_v38/types/NearestDc.md index 31f24377..296a4dff 100644 --- a/old_docs/API_docs_v38/types/NearestDc.md +++ b/old_docs/API_docs_v38/types/NearestDc.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->help->getNearestDc](../methods/help_getNearestDc.md) +[$MadelineProto->help->getNearestDc](../methods/help.getNearestDc.md) diff --git a/old_docs/API_docs_v38/types/PeerNotifySettings.md b/old_docs/API_docs_v38/types/PeerNotifySettings.md index 769de075..3d72b7c5 100644 --- a/old_docs/API_docs_v38/types/PeerNotifySettings.md +++ b/old_docs/API_docs_v38/types/PeerNotifySettings.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->account->getNotifySettings](../methods/account_getNotifySettings.md) +[$MadelineProto->account->getNotifySettings](../methods/account.getNotifySettings.md) diff --git a/old_docs/API_docs_v38/types/README.md b/old_docs/API_docs_v38/types/README.md index 6171912c..aa50147c 100644 --- a/old_docs/API_docs_v38/types/README.md +++ b/old_docs/API_docs_v38/types/README.md @@ -193,91 +193,91 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png [X](X.md) -[account\_Authorizations](account_Authorizations.md) +[account.Authorizations](account.Authorizations.md) -[account\_Password](account_Password.md) +[account.Password](account.Password.md) -[account\_PasswordInputSettings](account_PasswordInputSettings.md) +[account.PasswordInputSettings](account.PasswordInputSettings.md) -[account\_PasswordSettings](account_PasswordSettings.md) +[account.PasswordSettings](account.PasswordSettings.md) -[account\_PrivacyRules](account_PrivacyRules.md) +[account.PrivacyRules](account.PrivacyRules.md) -[account\_SentChangePhoneCode](account_SentChangePhoneCode.md) +[account.SentChangePhoneCode](account.SentChangePhoneCode.md) -[auth\_Authorization](auth_Authorization.md) +[auth.Authorization](auth.Authorization.md) -[auth\_CheckedPhone](auth_CheckedPhone.md) +[auth.CheckedPhone](auth.CheckedPhone.md) -[auth\_ExportedAuthorization](auth_ExportedAuthorization.md) +[auth.ExportedAuthorization](auth.ExportedAuthorization.md) -[auth\_PasswordRecovery](auth_PasswordRecovery.md) +[auth.PasswordRecovery](auth.PasswordRecovery.md) -[auth\_SentCode](auth_SentCode.md) +[auth.SentCode](auth.SentCode.md) -[channels\_ChannelParticipant](channels_ChannelParticipant.md) +[channels.ChannelParticipant](channels.ChannelParticipant.md) -[channels\_ChannelParticipants](channels_ChannelParticipants.md) +[channels.ChannelParticipants](channels.ChannelParticipants.md) -[contacts\_Blocked](contacts_Blocked.md) +[contacts.Blocked](contacts.Blocked.md) -[contacts\_Contacts](contacts_Contacts.md) +[contacts.Contacts](contacts.Contacts.md) -[contacts\_Found](contacts_Found.md) +[contacts.Found](contacts.Found.md) -[contacts\_ImportedContacts](contacts_ImportedContacts.md) +[contacts.ImportedContacts](contacts.ImportedContacts.md) -[contacts\_Link](contacts_Link.md) +[contacts.Link](contacts.Link.md) -[contacts\_ResolvedPeer](contacts_ResolvedPeer.md) +[contacts.ResolvedPeer](contacts.ResolvedPeer.md) -[contacts\_Suggested](contacts_Suggested.md) +[contacts.Suggested](contacts.Suggested.md) -[help\_AppChangelog](help_AppChangelog.md) +[help.AppChangelog](help.AppChangelog.md) -[help\_AppUpdate](help_AppUpdate.md) +[help.AppUpdate](help.AppUpdate.md) -[help\_InviteText](help_InviteText.md) +[help.InviteText](help.InviteText.md) -[help\_Support](help_Support.md) +[help.Support](help.Support.md) [int](int.md) [long](long.md) -[messages\_AffectedHistory](messages_AffectedHistory.md) +[messages.AffectedHistory](messages.AffectedHistory.md) -[messages\_AffectedMessages](messages_AffectedMessages.md) +[messages.AffectedMessages](messages.AffectedMessages.md) -[messages\_AllStickers](messages_AllStickers.md) +[messages.AllStickers](messages.AllStickers.md) -[messages\_ChatFull](messages_ChatFull.md) +[messages.ChatFull](messages.ChatFull.md) -[messages\_Chats](messages_Chats.md) +[messages.Chats](messages.Chats.md) -[messages\_DhConfig](messages_DhConfig.md) +[messages.DhConfig](messages.DhConfig.md) -[messages\_Dialogs](messages_Dialogs.md) +[messages.Dialogs](messages.Dialogs.md) -[messages\_Messages](messages_Messages.md) +[messages.Messages](messages.Messages.md) -[messages\_SentEncryptedMessage](messages_SentEncryptedMessage.md) +[messages.SentEncryptedMessage](messages.SentEncryptedMessage.md) -[messages\_StickerSet](messages_StickerSet.md) +[messages.StickerSet](messages.StickerSet.md) -[messages\_Stickers](messages_Stickers.md) +[messages.Stickers](messages.Stickers.md) -[photos\_Photo](photos_Photo.md) +[photos.Photo](photos.Photo.md) -[photos\_Photos](photos_Photos.md) +[photos.Photos](photos.Photos.md) -[storage\_FileType](storage_FileType.md) +[storage.FileType](storage.FileType.md) -[updates\_ChannelDifference](updates_ChannelDifference.md) +[updates.ChannelDifference](updates.ChannelDifference.md) -[updates\_Difference](updates_Difference.md) +[updates.Difference](updates.Difference.md) -[updates\_State](updates_State.md) +[updates.State](updates.State.md) -[upload\_File](upload_File.md) +[upload.File](upload.File.md) diff --git a/old_docs/API_docs_v38/types/ReceivedNotifyMessage.md b/old_docs/API_docs_v38/types/ReceivedNotifyMessage.md index c7fc3b8c..416aa275 100644 --- a/old_docs/API_docs_v38/types/ReceivedNotifyMessage.md +++ b/old_docs/API_docs_v38/types/ReceivedNotifyMessage.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->receivedMessages](../methods/messages_receivedMessages.md) +[$MadelineProto->messages->receivedMessages](../methods/messages.receivedMessages.md) diff --git a/old_docs/API_docs_v38/types/Updates.md b/old_docs/API_docs_v38/types/Updates.md index d93b9dfa..072b3388 100644 --- a/old_docs/API_docs_v38/types/Updates.md +++ b/old_docs/API_docs_v38/types/Updates.md @@ -28,47 +28,47 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->sendMessage](../methods/messages_sendMessage.md) +[$MadelineProto->messages->sendMessage](../methods/messages.sendMessage.md) -[$MadelineProto->messages->sendMedia](../methods/messages_sendMedia.md) +[$MadelineProto->messages->sendMedia](../methods/messages.sendMedia.md) -[$MadelineProto->messages->forwardMessages](../methods/messages_forwardMessages.md) +[$MadelineProto->messages->forwardMessages](../methods/messages.forwardMessages.md) -[$MadelineProto->messages->editChatTitle](../methods/messages_editChatTitle.md) +[$MadelineProto->messages->editChatTitle](../methods/messages.editChatTitle.md) -[$MadelineProto->messages->editChatPhoto](../methods/messages_editChatPhoto.md) +[$MadelineProto->messages->editChatPhoto](../methods/messages.editChatPhoto.md) -[$MadelineProto->messages->addChatUser](../methods/messages_addChatUser.md) +[$MadelineProto->messages->addChatUser](../methods/messages.addChatUser.md) -[$MadelineProto->messages->deleteChatUser](../methods/messages_deleteChatUser.md) +[$MadelineProto->messages->deleteChatUser](../methods/messages.deleteChatUser.md) -[$MadelineProto->messages->createChat](../methods/messages_createChat.md) +[$MadelineProto->messages->createChat](../methods/messages.createChat.md) -[$MadelineProto->messages->forwardMessage](../methods/messages_forwardMessage.md) +[$MadelineProto->messages->forwardMessage](../methods/messages.forwardMessage.md) -[$MadelineProto->messages->sendBroadcast](../methods/messages_sendBroadcast.md) +[$MadelineProto->messages->sendBroadcast](../methods/messages.sendBroadcast.md) -[$MadelineProto->messages->importChatInvite](../methods/messages_importChatInvite.md) +[$MadelineProto->messages->importChatInvite](../methods/messages.importChatInvite.md) -[$MadelineProto->messages->startBot](../methods/messages_startBot.md) +[$MadelineProto->messages->startBot](../methods/messages.startBot.md) -[$MadelineProto->channels->createChannel](../methods/channels_createChannel.md) +[$MadelineProto->channels->createChannel](../methods/channels.createChannel.md) -[$MadelineProto->channels->editTitle](../methods/channels_editTitle.md) +[$MadelineProto->channels->editTitle](../methods/channels.editTitle.md) -[$MadelineProto->channels->editPhoto](../methods/channels_editPhoto.md) +[$MadelineProto->channels->editPhoto](../methods/channels.editPhoto.md) -[$MadelineProto->channels->toggleComments](../methods/channels_toggleComments.md) +[$MadelineProto->channels->toggleComments](../methods/channels.toggleComments.md) -[$MadelineProto->channels->joinChannel](../methods/channels_joinChannel.md) +[$MadelineProto->channels->joinChannel](../methods/channels.joinChannel.md) -[$MadelineProto->channels->leaveChannel](../methods/channels_leaveChannel.md) +[$MadelineProto->channels->leaveChannel](../methods/channels.leaveChannel.md) -[$MadelineProto->channels->inviteToChannel](../methods/channels_inviteToChannel.md) +[$MadelineProto->channels->inviteToChannel](../methods/channels.inviteToChannel.md) -[$MadelineProto->channels->kickFromChannel](../methods/channels_kickFromChannel.md) +[$MadelineProto->channels->kickFromChannel](../methods/channels.kickFromChannel.md) -[$MadelineProto->channels->deleteChannel](../methods/channels_deleteChannel.md) +[$MadelineProto->channels->deleteChannel](../methods/channels.deleteChannel.md) diff --git a/old_docs/API_docs_v38/types/User.md b/old_docs/API_docs_v38/types/User.md index b145a3f8..30349c87 100644 --- a/old_docs/API_docs_v38/types/User.md +++ b/old_docs/API_docs_v38/types/User.md @@ -42,15 +42,15 @@ A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDia ### Methods that return an object of this type (methods): -[$MadelineProto->account->updateProfile](../methods/account_updateProfile.md) +[$MadelineProto->account->updateProfile](../methods/account.updateProfile.md) -[$MadelineProto->users->getUsers](../methods/users_getUsers.md) +[$MadelineProto->users->getUsers](../methods/users.getUsers.md) -[$MadelineProto->contacts->importCard](../methods/contacts_importCard.md) +[$MadelineProto->contacts->importCard](../methods/contacts.importCard.md) -[$MadelineProto->account->updateUsername](../methods/account_updateUsername.md) +[$MadelineProto->account->updateUsername](../methods/account.updateUsername.md) -[$MadelineProto->account->changePhone](../methods/account_changePhone.md) +[$MadelineProto->account->changePhone](../methods/account.changePhone.md) diff --git a/old_docs/API_docs_v38/types/UserFull.md b/old_docs/API_docs_v38/types/UserFull.md index 79ad30bb..ac50052f 100644 --- a/old_docs/API_docs_v38/types/UserFull.md +++ b/old_docs/API_docs_v38/types/UserFull.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->users->getFullUser](../methods/users_getFullUser.md) +[$MadelineProto->users->getFullUser](../methods/users.getFullUser.md) diff --git a/old_docs/API_docs_v38/types/UserProfilePhoto.md b/old_docs/API_docs_v38/types/UserProfilePhoto.md index e5243a2e..e81e92fd 100644 --- a/old_docs/API_docs_v38/types/UserProfilePhoto.md +++ b/old_docs/API_docs_v38/types/UserProfilePhoto.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->photos->updateProfilePhoto](../methods/photos_updateProfilePhoto.md) +[$MadelineProto->photos->updateProfilePhoto](../methods/photos.updateProfilePhoto.md) diff --git a/old_docs/API_docs_v38/types/WallPaper.md b/old_docs/API_docs_v38/types/WallPaper.md index 8c5ac7cf..45337565 100644 --- a/old_docs/API_docs_v38/types/WallPaper.md +++ b/old_docs/API_docs_v38/types/WallPaper.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->account->getWallPapers](../methods/account_getWallPapers.md) +[$MadelineProto->account->getWallPapers](../methods/account.getWallPapers.md) diff --git a/old_docs/API_docs_v38/types/account.Authorizations.md b/old_docs/API_docs_v38/types/account.Authorizations.md new file mode 100644 index 00000000..f9112038 --- /dev/null +++ b/old_docs/API_docs_v38/types/account.Authorizations.md @@ -0,0 +1,22 @@ +--- +title: account.Authorizations +description: constructors and methods of type account.Authorizations +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.Authorizations +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.authorizations](../constructors/account.authorizations.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getAuthorizations](../methods/account.getAuthorizations.md) + + + diff --git a/old_docs/API_docs_v38/types/account.Password.md b/old_docs/API_docs_v38/types/account.Password.md new file mode 100644 index 00000000..5217ab5e --- /dev/null +++ b/old_docs/API_docs_v38/types/account.Password.md @@ -0,0 +1,24 @@ +--- +title: account.Password +description: constructors and methods of type account.Password +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.Password +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.noPassword](../constructors/account.noPassword.md) + +[account.password](../constructors/account.password.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getPassword](../methods/account.getPassword.md) + + + diff --git a/old_docs/API_docs_v38/types/account.PasswordInputSettings.md b/old_docs/API_docs_v38/types/account.PasswordInputSettings.md new file mode 100644 index 00000000..72e11fdc --- /dev/null +++ b/old_docs/API_docs_v38/types/account.PasswordInputSettings.md @@ -0,0 +1,20 @@ +--- +title: account.PasswordInputSettings +description: constructors and methods of type account.PasswordInputSettings +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.PasswordInputSettings +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.passwordInputSettings](../constructors/account.passwordInputSettings.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v38/types/account.PasswordSettings.md b/old_docs/API_docs_v38/types/account.PasswordSettings.md new file mode 100644 index 00000000..47016832 --- /dev/null +++ b/old_docs/API_docs_v38/types/account.PasswordSettings.md @@ -0,0 +1,22 @@ +--- +title: account.PasswordSettings +description: constructors and methods of type account.PasswordSettings +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.PasswordSettings +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.passwordSettings](../constructors/account.passwordSettings.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getPasswordSettings](../methods/account.getPasswordSettings.md) + + + diff --git a/old_docs/API_docs_v38/types/account.PrivacyRules.md b/old_docs/API_docs_v38/types/account.PrivacyRules.md new file mode 100644 index 00000000..738651ad --- /dev/null +++ b/old_docs/API_docs_v38/types/account.PrivacyRules.md @@ -0,0 +1,24 @@ +--- +title: account.PrivacyRules +description: constructors and methods of type account.PrivacyRules +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.PrivacyRules +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.privacyRules](../constructors/account.privacyRules.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getPrivacy](../methods/account.getPrivacy.md) + +[$MadelineProto->account->setPrivacy](../methods/account.setPrivacy.md) + + + diff --git a/old_docs/API_docs_v38/types/account.SentChangePhoneCode.md b/old_docs/API_docs_v38/types/account.SentChangePhoneCode.md new file mode 100644 index 00000000..659b0feb --- /dev/null +++ b/old_docs/API_docs_v38/types/account.SentChangePhoneCode.md @@ -0,0 +1,22 @@ +--- +title: account.SentChangePhoneCode +description: constructors and methods of type account.SentChangePhoneCode +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.SentChangePhoneCode +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.sentChangePhoneCode](../constructors/account.sentChangePhoneCode.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->sendChangePhoneCode](../methods/account.sendChangePhoneCode.md) + + + diff --git a/old_docs/API_docs_v38/types/account_Authorizations.md b/old_docs/API_docs_v38/types/account_Authorizations.md deleted file mode 100644 index 4709ddb5..00000000 --- a/old_docs/API_docs_v38/types/account_Authorizations.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_Authorizations -description: constructors and methods of type account_Authorizations -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_Authorizations -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_authorizations](../constructors/account_authorizations.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getAuthorizations](../methods/account_getAuthorizations.md) - - - diff --git a/old_docs/API_docs_v38/types/account_Password.md b/old_docs/API_docs_v38/types/account_Password.md deleted file mode 100644 index 23e05987..00000000 --- a/old_docs/API_docs_v38/types/account_Password.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: account_Password -description: constructors and methods of type account_Password -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_Password -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_noPassword](../constructors/account_noPassword.md) - -[account\_password](../constructors/account_password.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getPassword](../methods/account_getPassword.md) - - - diff --git a/old_docs/API_docs_v38/types/account_PasswordInputSettings.md b/old_docs/API_docs_v38/types/account_PasswordInputSettings.md deleted file mode 100644 index a6455eb8..00000000 --- a/old_docs/API_docs_v38/types/account_PasswordInputSettings.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: account_PasswordInputSettings -description: constructors and methods of type account_PasswordInputSettings -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_PasswordInputSettings -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_passwordInputSettings](../constructors/account_passwordInputSettings.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v38/types/account_PasswordSettings.md b/old_docs/API_docs_v38/types/account_PasswordSettings.md deleted file mode 100644 index 687eb217..00000000 --- a/old_docs/API_docs_v38/types/account_PasswordSettings.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_PasswordSettings -description: constructors and methods of type account_PasswordSettings -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_PasswordSettings -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_passwordSettings](../constructors/account_passwordSettings.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getPasswordSettings](../methods/account_getPasswordSettings.md) - - - diff --git a/old_docs/API_docs_v38/types/account_PrivacyRules.md b/old_docs/API_docs_v38/types/account_PrivacyRules.md deleted file mode 100644 index 40b00077..00000000 --- a/old_docs/API_docs_v38/types/account_PrivacyRules.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: account_PrivacyRules -description: constructors and methods of type account_PrivacyRules -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_PrivacyRules -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_privacyRules](../constructors/account_privacyRules.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getPrivacy](../methods/account_getPrivacy.md) - -[$MadelineProto->account->setPrivacy](../methods/account_setPrivacy.md) - - - diff --git a/old_docs/API_docs_v38/types/account_SentChangePhoneCode.md b/old_docs/API_docs_v38/types/account_SentChangePhoneCode.md deleted file mode 100644 index ead3e28c..00000000 --- a/old_docs/API_docs_v38/types/account_SentChangePhoneCode.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_SentChangePhoneCode -description: constructors and methods of type account_SentChangePhoneCode -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_SentChangePhoneCode -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_sentChangePhoneCode](../constructors/account_sentChangePhoneCode.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->sendChangePhoneCode](../methods/account_sendChangePhoneCode.md) - - - diff --git a/old_docs/API_docs_v38/types/auth.Authorization.md b/old_docs/API_docs_v38/types/auth.Authorization.md new file mode 100644 index 00000000..adcfa7d3 --- /dev/null +++ b/old_docs/API_docs_v38/types/auth.Authorization.md @@ -0,0 +1,32 @@ +--- +title: auth.Authorization +description: constructors and methods of type auth.Authorization +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.Authorization +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.authorization](../constructors/auth.authorization.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->signUp](../methods/auth.signUp.md) + +[$MadelineProto->auth->signIn](../methods/auth.signIn.md) + +[$MadelineProto->auth->importAuthorization](../methods/auth.importAuthorization.md) + +[$MadelineProto->auth->importBotAuthorization](../methods/auth.importBotAuthorization.md) + +[$MadelineProto->auth->checkPassword](../methods/auth.checkPassword.md) + +[$MadelineProto->auth->recoverPassword](../methods/auth.recoverPassword.md) + + + diff --git a/old_docs/API_docs_v38/types/auth.CheckedPhone.md b/old_docs/API_docs_v38/types/auth.CheckedPhone.md new file mode 100644 index 00000000..94af3915 --- /dev/null +++ b/old_docs/API_docs_v38/types/auth.CheckedPhone.md @@ -0,0 +1,22 @@ +--- +title: auth.CheckedPhone +description: constructors and methods of type auth.CheckedPhone +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.CheckedPhone +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.checkedPhone](../constructors/auth.checkedPhone.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->checkPhone](../methods/auth.checkPhone.md) + + + diff --git a/old_docs/API_docs_v38/types/auth.ExportedAuthorization.md b/old_docs/API_docs_v38/types/auth.ExportedAuthorization.md new file mode 100644 index 00000000..ccb38d60 --- /dev/null +++ b/old_docs/API_docs_v38/types/auth.ExportedAuthorization.md @@ -0,0 +1,22 @@ +--- +title: auth.ExportedAuthorization +description: constructors and methods of type auth.ExportedAuthorization +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.ExportedAuthorization +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.exportedAuthorization](../constructors/auth.exportedAuthorization.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->exportAuthorization](../methods/auth.exportAuthorization.md) + + + diff --git a/old_docs/API_docs_v38/types/auth.PasswordRecovery.md b/old_docs/API_docs_v38/types/auth.PasswordRecovery.md new file mode 100644 index 00000000..c1c18992 --- /dev/null +++ b/old_docs/API_docs_v38/types/auth.PasswordRecovery.md @@ -0,0 +1,22 @@ +--- +title: auth.PasswordRecovery +description: constructors and methods of type auth.PasswordRecovery +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.PasswordRecovery +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.passwordRecovery](../constructors/auth.passwordRecovery.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->requestPasswordRecovery](../methods/auth.requestPasswordRecovery.md) + + + diff --git a/old_docs/API_docs_v38/types/auth.SentCode.md b/old_docs/API_docs_v38/types/auth.SentCode.md new file mode 100644 index 00000000..9fd32a73 --- /dev/null +++ b/old_docs/API_docs_v38/types/auth.SentCode.md @@ -0,0 +1,24 @@ +--- +title: auth.SentCode +description: constructors and methods of type auth.SentCode +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.SentCode +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.sentCode](../constructors/auth.sentCode.md) + +[auth.sentAppCode](../constructors/auth.sentAppCode.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->sendCode](../methods/auth.sendCode.md) + + + diff --git a/old_docs/API_docs_v38/types/auth_Authorization.md b/old_docs/API_docs_v38/types/auth_Authorization.md deleted file mode 100644 index 5a34fc2d..00000000 --- a/old_docs/API_docs_v38/types/auth_Authorization.md +++ /dev/null @@ -1,32 +0,0 @@ ---- -title: auth_Authorization -description: constructors and methods of type auth_Authorization -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_Authorization -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_authorization](../constructors/auth_authorization.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->signUp](../methods/auth_signUp.md) - -[$MadelineProto->auth->signIn](../methods/auth_signIn.md) - -[$MadelineProto->auth->importAuthorization](../methods/auth_importAuthorization.md) - -[$MadelineProto->auth->importBotAuthorization](../methods/auth_importBotAuthorization.md) - -[$MadelineProto->auth->checkPassword](../methods/auth_checkPassword.md) - -[$MadelineProto->auth->recoverPassword](../methods/auth_recoverPassword.md) - - - diff --git a/old_docs/API_docs_v38/types/auth_CheckedPhone.md b/old_docs/API_docs_v38/types/auth_CheckedPhone.md deleted file mode 100644 index e9b0def4..00000000 --- a/old_docs/API_docs_v38/types/auth_CheckedPhone.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: auth_CheckedPhone -description: constructors and methods of type auth_CheckedPhone -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_CheckedPhone -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_checkedPhone](../constructors/auth_checkedPhone.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->checkPhone](../methods/auth_checkPhone.md) - - - diff --git a/old_docs/API_docs_v38/types/auth_ExportedAuthorization.md b/old_docs/API_docs_v38/types/auth_ExportedAuthorization.md deleted file mode 100644 index 69e5c42e..00000000 --- a/old_docs/API_docs_v38/types/auth_ExportedAuthorization.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: auth_ExportedAuthorization -description: constructors and methods of type auth_ExportedAuthorization -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_ExportedAuthorization -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_exportedAuthorization](../constructors/auth_exportedAuthorization.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->exportAuthorization](../methods/auth_exportAuthorization.md) - - - diff --git a/old_docs/API_docs_v38/types/auth_PasswordRecovery.md b/old_docs/API_docs_v38/types/auth_PasswordRecovery.md deleted file mode 100644 index 4962bf42..00000000 --- a/old_docs/API_docs_v38/types/auth_PasswordRecovery.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: auth_PasswordRecovery -description: constructors and methods of type auth_PasswordRecovery -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_PasswordRecovery -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_passwordRecovery](../constructors/auth_passwordRecovery.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->requestPasswordRecovery](../methods/auth_requestPasswordRecovery.md) - - - diff --git a/old_docs/API_docs_v38/types/auth_SentCode.md b/old_docs/API_docs_v38/types/auth_SentCode.md deleted file mode 100644 index 85b8d351..00000000 --- a/old_docs/API_docs_v38/types/auth_SentCode.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: auth_SentCode -description: constructors and methods of type auth_SentCode -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_SentCode -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_sentCode](../constructors/auth_sentCode.md) - -[auth\_sentAppCode](../constructors/auth_sentAppCode.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->sendCode](../methods/auth_sendCode.md) - - - diff --git a/old_docs/API_docs_v38/types/channels.ChannelParticipant.md b/old_docs/API_docs_v38/types/channels.ChannelParticipant.md new file mode 100644 index 00000000..8dc7f7e6 --- /dev/null +++ b/old_docs/API_docs_v38/types/channels.ChannelParticipant.md @@ -0,0 +1,22 @@ +--- +title: channels.ChannelParticipant +description: constructors and methods of type channels.ChannelParticipant +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: channels.ChannelParticipant +[Back to types index](index.md) + + + +### Possible values (constructors): + +[channels.channelParticipant](../constructors/channels.channelParticipant.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->channels->getParticipant](../methods/channels.getParticipant.md) + + + diff --git a/old_docs/API_docs_v38/types/channels.ChannelParticipants.md b/old_docs/API_docs_v38/types/channels.ChannelParticipants.md new file mode 100644 index 00000000..996ab6a6 --- /dev/null +++ b/old_docs/API_docs_v38/types/channels.ChannelParticipants.md @@ -0,0 +1,22 @@ +--- +title: channels.ChannelParticipants +description: constructors and methods of type channels.ChannelParticipants +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: channels.ChannelParticipants +[Back to types index](index.md) + + + +### Possible values (constructors): + +[channels.channelParticipants](../constructors/channels.channelParticipants.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->channels->getParticipants](../methods/channels.getParticipants.md) + + + diff --git a/old_docs/API_docs_v38/types/channels_ChannelParticipant.md b/old_docs/API_docs_v38/types/channels_ChannelParticipant.md deleted file mode 100644 index 3d4667c3..00000000 --- a/old_docs/API_docs_v38/types/channels_ChannelParticipant.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: channels_ChannelParticipant -description: constructors and methods of type channels_ChannelParticipant -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: channels\_ChannelParticipant -[Back to types index](index.md) - - - -### Possible values (constructors): - -[channels\_channelParticipant](../constructors/channels_channelParticipant.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->channels->getParticipant](../methods/channels_getParticipant.md) - - - diff --git a/old_docs/API_docs_v38/types/channels_ChannelParticipants.md b/old_docs/API_docs_v38/types/channels_ChannelParticipants.md deleted file mode 100644 index 0500c2cb..00000000 --- a/old_docs/API_docs_v38/types/channels_ChannelParticipants.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: channels_ChannelParticipants -description: constructors and methods of type channels_ChannelParticipants -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: channels\_ChannelParticipants -[Back to types index](index.md) - - - -### Possible values (constructors): - -[channels\_channelParticipants](../constructors/channels_channelParticipants.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->channels->getParticipants](../methods/channels_getParticipants.md) - - - diff --git a/old_docs/API_docs_v38/types/contacts.Blocked.md b/old_docs/API_docs_v38/types/contacts.Blocked.md new file mode 100644 index 00000000..cb2af80f --- /dev/null +++ b/old_docs/API_docs_v38/types/contacts.Blocked.md @@ -0,0 +1,24 @@ +--- +title: contacts.Blocked +description: constructors and methods of type contacts.Blocked +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Blocked +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.blocked](../constructors/contacts.blocked.md) + +[contacts.blockedSlice](../constructors/contacts.blockedSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getBlocked](../methods/contacts.getBlocked.md) + + + diff --git a/old_docs/API_docs_v38/types/contacts.Contacts.md b/old_docs/API_docs_v38/types/contacts.Contacts.md new file mode 100644 index 00000000..5f695d8e --- /dev/null +++ b/old_docs/API_docs_v38/types/contacts.Contacts.md @@ -0,0 +1,24 @@ +--- +title: contacts.Contacts +description: constructors and methods of type contacts.Contacts +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Contacts +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.contactsNotModified](../constructors/contacts.contactsNotModified.md) + +[contacts.contacts](../constructors/contacts.contacts.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getContacts](../methods/contacts.getContacts.md) + + + diff --git a/old_docs/API_docs_v38/types/contacts.Found.md b/old_docs/API_docs_v38/types/contacts.Found.md new file mode 100644 index 00000000..7df98927 --- /dev/null +++ b/old_docs/API_docs_v38/types/contacts.Found.md @@ -0,0 +1,22 @@ +--- +title: contacts.Found +description: constructors and methods of type contacts.Found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Found +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.found](../constructors/contacts.found.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->search](../methods/contacts.search.md) + + + diff --git a/old_docs/API_docs_v38/types/contacts.ImportedContacts.md b/old_docs/API_docs_v38/types/contacts.ImportedContacts.md new file mode 100644 index 00000000..16795bab --- /dev/null +++ b/old_docs/API_docs_v38/types/contacts.ImportedContacts.md @@ -0,0 +1,22 @@ +--- +title: contacts.ImportedContacts +description: constructors and methods of type contacts.ImportedContacts +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.ImportedContacts +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.importedContacts](../constructors/contacts.importedContacts.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->importContacts](../methods/contacts.importContacts.md) + + + diff --git a/old_docs/API_docs_v38/types/contacts.Link.md b/old_docs/API_docs_v38/types/contacts.Link.md new file mode 100644 index 00000000..eb9da683 --- /dev/null +++ b/old_docs/API_docs_v38/types/contacts.Link.md @@ -0,0 +1,22 @@ +--- +title: contacts.Link +description: constructors and methods of type contacts.Link +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Link +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.link](../constructors/contacts.link.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->deleteContact](../methods/contacts.deleteContact.md) + + + diff --git a/old_docs/API_docs_v38/types/contacts.ResolvedPeer.md b/old_docs/API_docs_v38/types/contacts.ResolvedPeer.md new file mode 100644 index 00000000..13630d54 --- /dev/null +++ b/old_docs/API_docs_v38/types/contacts.ResolvedPeer.md @@ -0,0 +1,22 @@ +--- +title: contacts.ResolvedPeer +description: constructors and methods of type contacts.ResolvedPeer +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.ResolvedPeer +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.resolvedPeer](../constructors/contacts.resolvedPeer.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->resolveUsername](../methods/contacts.resolveUsername.md) + + + diff --git a/old_docs/API_docs_v38/types/contacts.Suggested.md b/old_docs/API_docs_v38/types/contacts.Suggested.md new file mode 100644 index 00000000..a462dae5 --- /dev/null +++ b/old_docs/API_docs_v38/types/contacts.Suggested.md @@ -0,0 +1,22 @@ +--- +title: contacts.Suggested +description: constructors and methods of type contacts.Suggested +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Suggested +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.suggested](../constructors/contacts.suggested.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getSuggested](../methods/contacts.getSuggested.md) + + + diff --git a/old_docs/API_docs_v38/types/contacts_Blocked.md b/old_docs/API_docs_v38/types/contacts_Blocked.md deleted file mode 100644 index 3e1f02eb..00000000 --- a/old_docs/API_docs_v38/types/contacts_Blocked.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: contacts_Blocked -description: constructors and methods of type contacts_Blocked -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Blocked -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_blocked](../constructors/contacts_blocked.md) - -[contacts\_blockedSlice](../constructors/contacts_blockedSlice.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->getBlocked](../methods/contacts_getBlocked.md) - - - diff --git a/old_docs/API_docs_v38/types/contacts_Contacts.md b/old_docs/API_docs_v38/types/contacts_Contacts.md deleted file mode 100644 index 5d6c9506..00000000 --- a/old_docs/API_docs_v38/types/contacts_Contacts.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: contacts_Contacts -description: constructors and methods of type contacts_Contacts -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Contacts -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_contactsNotModified](../constructors/contacts_contactsNotModified.md) - -[contacts\_contacts](../constructors/contacts_contacts.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->getContacts](../methods/contacts_getContacts.md) - - - diff --git a/old_docs/API_docs_v38/types/contacts_Found.md b/old_docs/API_docs_v38/types/contacts_Found.md deleted file mode 100644 index 806101cf..00000000 --- a/old_docs/API_docs_v38/types/contacts_Found.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_Found -description: constructors and methods of type contacts_Found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Found -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_found](../constructors/contacts_found.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->search](../methods/contacts_search.md) - - - diff --git a/old_docs/API_docs_v38/types/contacts_ImportedContacts.md b/old_docs/API_docs_v38/types/contacts_ImportedContacts.md deleted file mode 100644 index faf7e615..00000000 --- a/old_docs/API_docs_v38/types/contacts_ImportedContacts.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_ImportedContacts -description: constructors and methods of type contacts_ImportedContacts -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_ImportedContacts -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_importedContacts](../constructors/contacts_importedContacts.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->importContacts](../methods/contacts_importContacts.md) - - - diff --git a/old_docs/API_docs_v38/types/contacts_Link.md b/old_docs/API_docs_v38/types/contacts_Link.md deleted file mode 100644 index 01556606..00000000 --- a/old_docs/API_docs_v38/types/contacts_Link.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_Link -description: constructors and methods of type contacts_Link -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Link -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_link](../constructors/contacts_link.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->deleteContact](../methods/contacts_deleteContact.md) - - - diff --git a/old_docs/API_docs_v38/types/contacts_ResolvedPeer.md b/old_docs/API_docs_v38/types/contacts_ResolvedPeer.md deleted file mode 100644 index cf107f7c..00000000 --- a/old_docs/API_docs_v38/types/contacts_ResolvedPeer.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_ResolvedPeer -description: constructors and methods of type contacts_ResolvedPeer -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_ResolvedPeer -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_resolvedPeer](../constructors/contacts_resolvedPeer.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->resolveUsername](../methods/contacts_resolveUsername.md) - - - diff --git a/old_docs/API_docs_v38/types/contacts_Suggested.md b/old_docs/API_docs_v38/types/contacts_Suggested.md deleted file mode 100644 index dd597b3b..00000000 --- a/old_docs/API_docs_v38/types/contacts_Suggested.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_Suggested -description: constructors and methods of type contacts_Suggested -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Suggested -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_suggested](../constructors/contacts_suggested.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->getSuggested](../methods/contacts_getSuggested.md) - - - diff --git a/old_docs/API_docs_v38/types/help.AppChangelog.md b/old_docs/API_docs_v38/types/help.AppChangelog.md new file mode 100644 index 00000000..71584fdc --- /dev/null +++ b/old_docs/API_docs_v38/types/help.AppChangelog.md @@ -0,0 +1,24 @@ +--- +title: help.AppChangelog +description: constructors and methods of type help.AppChangelog +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.AppChangelog +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.appChangelogEmpty](../constructors/help.appChangelogEmpty.md) + +[help.appChangelog](../constructors/help.appChangelog.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getAppChangelog](../methods/help.getAppChangelog.md) + + + diff --git a/old_docs/API_docs_v38/types/help.AppUpdate.md b/old_docs/API_docs_v38/types/help.AppUpdate.md new file mode 100644 index 00000000..285ec2b7 --- /dev/null +++ b/old_docs/API_docs_v38/types/help.AppUpdate.md @@ -0,0 +1,24 @@ +--- +title: help.AppUpdate +description: constructors and methods of type help.AppUpdate +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.AppUpdate +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.appUpdate](../constructors/help.appUpdate.md) + +[help.noAppUpdate](../constructors/help.noAppUpdate.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getAppUpdate](../methods/help.getAppUpdate.md) + + + diff --git a/old_docs/API_docs_v38/types/help.InviteText.md b/old_docs/API_docs_v38/types/help.InviteText.md new file mode 100644 index 00000000..43293f46 --- /dev/null +++ b/old_docs/API_docs_v38/types/help.InviteText.md @@ -0,0 +1,22 @@ +--- +title: help.InviteText +description: constructors and methods of type help.InviteText +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.InviteText +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.inviteText](../constructors/help.inviteText.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getInviteText](../methods/help.getInviteText.md) + + + diff --git a/old_docs/API_docs_v38/types/help.Support.md b/old_docs/API_docs_v38/types/help.Support.md new file mode 100644 index 00000000..42c20483 --- /dev/null +++ b/old_docs/API_docs_v38/types/help.Support.md @@ -0,0 +1,22 @@ +--- +title: help.Support +description: constructors and methods of type help.Support +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.Support +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.support](../constructors/help.support.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getSupport](../methods/help.getSupport.md) + + + diff --git a/old_docs/API_docs_v38/types/help_AppChangelog.md b/old_docs/API_docs_v38/types/help_AppChangelog.md deleted file mode 100644 index 350cb644..00000000 --- a/old_docs/API_docs_v38/types/help_AppChangelog.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: help_AppChangelog -description: constructors and methods of type help_AppChangelog -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_AppChangelog -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_appChangelogEmpty](../constructors/help_appChangelogEmpty.md) - -[help\_appChangelog](../constructors/help_appChangelog.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getAppChangelog](../methods/help_getAppChangelog.md) - - - diff --git a/old_docs/API_docs_v38/types/help_AppUpdate.md b/old_docs/API_docs_v38/types/help_AppUpdate.md deleted file mode 100644 index 1f296a70..00000000 --- a/old_docs/API_docs_v38/types/help_AppUpdate.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: help_AppUpdate -description: constructors and methods of type help_AppUpdate -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_AppUpdate -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_appUpdate](../constructors/help_appUpdate.md) - -[help\_noAppUpdate](../constructors/help_noAppUpdate.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getAppUpdate](../methods/help_getAppUpdate.md) - - - diff --git a/old_docs/API_docs_v38/types/help_InviteText.md b/old_docs/API_docs_v38/types/help_InviteText.md deleted file mode 100644 index 018d35bf..00000000 --- a/old_docs/API_docs_v38/types/help_InviteText.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: help_InviteText -description: constructors and methods of type help_InviteText -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_InviteText -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_inviteText](../constructors/help_inviteText.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getInviteText](../methods/help_getInviteText.md) - - - diff --git a/old_docs/API_docs_v38/types/help_Support.md b/old_docs/API_docs_v38/types/help_Support.md deleted file mode 100644 index 26de447b..00000000 --- a/old_docs/API_docs_v38/types/help_Support.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: help_Support -description: constructors and methods of type help_Support -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_Support -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_support](../constructors/help_support.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getSupport](../methods/help_getSupport.md) - - - diff --git a/old_docs/API_docs_v38/types/messages.AffectedHistory.md b/old_docs/API_docs_v38/types/messages.AffectedHistory.md new file mode 100644 index 00000000..ea39c422 --- /dev/null +++ b/old_docs/API_docs_v38/types/messages.AffectedHistory.md @@ -0,0 +1,26 @@ +--- +title: messages.AffectedHistory +description: constructors and methods of type messages.AffectedHistory +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.AffectedHistory +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.affectedHistory](../constructors/messages.affectedHistory.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->readHistory](../methods/messages.readHistory.md) + +[$MadelineProto->messages->deleteHistory](../methods/messages.deleteHistory.md) + +[$MadelineProto->channels->deleteUserHistory](../methods/channels.deleteUserHistory.md) + + + diff --git a/old_docs/API_docs_v38/types/messages.AffectedMessages.md b/old_docs/API_docs_v38/types/messages.AffectedMessages.md new file mode 100644 index 00000000..d78f3cd4 --- /dev/null +++ b/old_docs/API_docs_v38/types/messages.AffectedMessages.md @@ -0,0 +1,26 @@ +--- +title: messages.AffectedMessages +description: constructors and methods of type messages.AffectedMessages +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.AffectedMessages +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.affectedMessages](../constructors/messages.affectedMessages.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->deleteMessages](../methods/messages.deleteMessages.md) + +[$MadelineProto->messages->readMessageContents](../methods/messages.readMessageContents.md) + +[$MadelineProto->channels->deleteMessages](../methods/channels.deleteMessages.md) + + + diff --git a/old_docs/API_docs_v38/types/messages.AllStickers.md b/old_docs/API_docs_v38/types/messages.AllStickers.md new file mode 100644 index 00000000..5ece92c0 --- /dev/null +++ b/old_docs/API_docs_v38/types/messages.AllStickers.md @@ -0,0 +1,24 @@ +--- +title: messages.AllStickers +description: constructors and methods of type messages.AllStickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.AllStickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.allStickersNotModified](../constructors/messages.allStickersNotModified.md) + +[messages.allStickers](../constructors/messages.allStickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getAllStickers](../methods/messages.getAllStickers.md) + + + diff --git a/old_docs/API_docs_v38/types/messages.ChatFull.md b/old_docs/API_docs_v38/types/messages.ChatFull.md new file mode 100644 index 00000000..3ad38748 --- /dev/null +++ b/old_docs/API_docs_v38/types/messages.ChatFull.md @@ -0,0 +1,24 @@ +--- +title: messages.ChatFull +description: constructors and methods of type messages.ChatFull +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.ChatFull +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.chatFull](../constructors/messages.chatFull.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getFullChat](../methods/messages.getFullChat.md) + +[$MadelineProto->channels->getFullChannel](../methods/channels.getFullChannel.md) + + + diff --git a/old_docs/API_docs_v38/types/messages.Chats.md b/old_docs/API_docs_v38/types/messages.Chats.md new file mode 100644 index 00000000..c2bfab5d --- /dev/null +++ b/old_docs/API_docs_v38/types/messages.Chats.md @@ -0,0 +1,24 @@ +--- +title: messages.Chats +description: constructors and methods of type messages.Chats +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Chats +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.chats](../constructors/messages.chats.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getChats](../methods/messages.getChats.md) + +[$MadelineProto->channels->getChannels](../methods/channels.getChannels.md) + + + diff --git a/old_docs/API_docs_v38/types/messages.DhConfig.md b/old_docs/API_docs_v38/types/messages.DhConfig.md new file mode 100644 index 00000000..77188ab7 --- /dev/null +++ b/old_docs/API_docs_v38/types/messages.DhConfig.md @@ -0,0 +1,24 @@ +--- +title: messages.DhConfig +description: constructors and methods of type messages.DhConfig +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.DhConfig +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.dhConfigNotModified](../constructors/messages.dhConfigNotModified.md) + +[messages.dhConfig](../constructors/messages.dhConfig.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getDhConfig](../methods/messages.getDhConfig.md) + + + diff --git a/old_docs/API_docs_v38/types/messages.Dialogs.md b/old_docs/API_docs_v38/types/messages.Dialogs.md new file mode 100644 index 00000000..f70ca7d8 --- /dev/null +++ b/old_docs/API_docs_v38/types/messages.Dialogs.md @@ -0,0 +1,26 @@ +--- +title: messages.Dialogs +description: constructors and methods of type messages.Dialogs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Dialogs +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.dialogs](../constructors/messages.dialogs.md) + +[messages.dialogsSlice](../constructors/messages.dialogsSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getDialogs](../methods/messages.getDialogs.md) + +[$MadelineProto->channels->getDialogs](../methods/channels.getDialogs.md) + + + diff --git a/old_docs/API_docs_v38/types/messages.Messages.md b/old_docs/API_docs_v38/types/messages.Messages.md new file mode 100644 index 00000000..9202408a --- /dev/null +++ b/old_docs/API_docs_v38/types/messages.Messages.md @@ -0,0 +1,34 @@ +--- +title: messages.Messages +description: constructors and methods of type messages.Messages +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Messages +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.messages](../constructors/messages.messages.md) + +[messages.messagesSlice](../constructors/messages.messagesSlice.md) + +[messages.channelMessages](../constructors/messages.channelMessages.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getMessages](../methods/messages.getMessages.md) + +[$MadelineProto->messages->getHistory](../methods/messages.getHistory.md) + +[$MadelineProto->messages->search](../methods/messages.search.md) + +[$MadelineProto->channels->getImportantHistory](../methods/channels.getImportantHistory.md) + +[$MadelineProto->channels->getMessages](../methods/channels.getMessages.md) + + + diff --git a/old_docs/API_docs_v38/types/messages.SentEncryptedMessage.md b/old_docs/API_docs_v38/types/messages.SentEncryptedMessage.md new file mode 100644 index 00000000..b6d05b1f --- /dev/null +++ b/old_docs/API_docs_v38/types/messages.SentEncryptedMessage.md @@ -0,0 +1,28 @@ +--- +title: messages.SentEncryptedMessage +description: constructors and methods of type messages.SentEncryptedMessage +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.SentEncryptedMessage +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.sentEncryptedMessage](../constructors/messages.sentEncryptedMessage.md) + +[messages.sentEncryptedFile](../constructors/messages.sentEncryptedFile.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->sendEncrypted](../methods/messages.sendEncrypted.md) + +[$MadelineProto->messages->sendEncryptedFile](../methods/messages.sendEncryptedFile.md) + +[$MadelineProto->messages->sendEncryptedService](../methods/messages.sendEncryptedService.md) + + + diff --git a/old_docs/API_docs_v38/types/messages.StickerSet.md b/old_docs/API_docs_v38/types/messages.StickerSet.md new file mode 100644 index 00000000..8de24a76 --- /dev/null +++ b/old_docs/API_docs_v38/types/messages.StickerSet.md @@ -0,0 +1,22 @@ +--- +title: messages.StickerSet +description: constructors and methods of type messages.StickerSet +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.StickerSet +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.stickerSet](../constructors/messages.stickerSet.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getStickerSet](../methods/messages.getStickerSet.md) + + + diff --git a/old_docs/API_docs_v38/types/messages.Stickers.md b/old_docs/API_docs_v38/types/messages.Stickers.md new file mode 100644 index 00000000..43bddf06 --- /dev/null +++ b/old_docs/API_docs_v38/types/messages.Stickers.md @@ -0,0 +1,24 @@ +--- +title: messages.Stickers +description: constructors and methods of type messages.Stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Stickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.stickersNotModified](../constructors/messages.stickersNotModified.md) + +[messages.stickers](../constructors/messages.stickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getStickers](../methods/messages.getStickers.md) + + + diff --git a/old_docs/API_docs_v38/types/messages_AffectedHistory.md b/old_docs/API_docs_v38/types/messages_AffectedHistory.md deleted file mode 100644 index f2079a33..00000000 --- a/old_docs/API_docs_v38/types/messages_AffectedHistory.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: messages_AffectedHistory -description: constructors and methods of type messages_AffectedHistory -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_AffectedHistory -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_affectedHistory](../constructors/messages_affectedHistory.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->readHistory](../methods/messages_readHistory.md) - -[$MadelineProto->messages->deleteHistory](../methods/messages_deleteHistory.md) - -[$MadelineProto->channels->deleteUserHistory](../methods/channels_deleteUserHistory.md) - - - diff --git a/old_docs/API_docs_v38/types/messages_AffectedMessages.md b/old_docs/API_docs_v38/types/messages_AffectedMessages.md deleted file mode 100644 index d98fd2a7..00000000 --- a/old_docs/API_docs_v38/types/messages_AffectedMessages.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: messages_AffectedMessages -description: constructors and methods of type messages_AffectedMessages -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_AffectedMessages -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_affectedMessages](../constructors/messages_affectedMessages.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->deleteMessages](../methods/messages_deleteMessages.md) - -[$MadelineProto->messages->readMessageContents](../methods/messages_readMessageContents.md) - -[$MadelineProto->channels->deleteMessages](../methods/channels_deleteMessages.md) - - - diff --git a/old_docs/API_docs_v38/types/messages_AllStickers.md b/old_docs/API_docs_v38/types/messages_AllStickers.md deleted file mode 100644 index 59d19759..00000000 --- a/old_docs/API_docs_v38/types/messages_AllStickers.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_AllStickers -description: constructors and methods of type messages_AllStickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_AllStickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_allStickersNotModified](../constructors/messages_allStickersNotModified.md) - -[messages\_allStickers](../constructors/messages_allStickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getAllStickers](../methods/messages_getAllStickers.md) - - - diff --git a/old_docs/API_docs_v38/types/messages_ChatFull.md b/old_docs/API_docs_v38/types/messages_ChatFull.md deleted file mode 100644 index e4add41e..00000000 --- a/old_docs/API_docs_v38/types/messages_ChatFull.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_ChatFull -description: constructors and methods of type messages_ChatFull -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_ChatFull -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_chatFull](../constructors/messages_chatFull.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getFullChat](../methods/messages_getFullChat.md) - -[$MadelineProto->channels->getFullChannel](../methods/channels_getFullChannel.md) - - - diff --git a/old_docs/API_docs_v38/types/messages_Chats.md b/old_docs/API_docs_v38/types/messages_Chats.md deleted file mode 100644 index 18b8c0d7..00000000 --- a/old_docs/API_docs_v38/types/messages_Chats.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_Chats -description: constructors and methods of type messages_Chats -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Chats -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_chats](../constructors/messages_chats.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getChats](../methods/messages_getChats.md) - -[$MadelineProto->channels->getChannels](../methods/channels_getChannels.md) - - - diff --git a/old_docs/API_docs_v38/types/messages_DhConfig.md b/old_docs/API_docs_v38/types/messages_DhConfig.md deleted file mode 100644 index ce237411..00000000 --- a/old_docs/API_docs_v38/types/messages_DhConfig.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_DhConfig -description: constructors and methods of type messages_DhConfig -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_DhConfig -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_dhConfigNotModified](../constructors/messages_dhConfigNotModified.md) - -[messages\_dhConfig](../constructors/messages_dhConfig.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getDhConfig](../methods/messages_getDhConfig.md) - - - diff --git a/old_docs/API_docs_v38/types/messages_Dialogs.md b/old_docs/API_docs_v38/types/messages_Dialogs.md deleted file mode 100644 index 188c4e55..00000000 --- a/old_docs/API_docs_v38/types/messages_Dialogs.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: messages_Dialogs -description: constructors and methods of type messages_Dialogs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Dialogs -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_dialogs](../constructors/messages_dialogs.md) - -[messages\_dialogsSlice](../constructors/messages_dialogsSlice.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getDialogs](../methods/messages_getDialogs.md) - -[$MadelineProto->channels->getDialogs](../methods/channels_getDialogs.md) - - - diff --git a/old_docs/API_docs_v38/types/messages_Messages.md b/old_docs/API_docs_v38/types/messages_Messages.md deleted file mode 100644 index b8f945de..00000000 --- a/old_docs/API_docs_v38/types/messages_Messages.md +++ /dev/null @@ -1,34 +0,0 @@ ---- -title: messages_Messages -description: constructors and methods of type messages_Messages -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Messages -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_messages](../constructors/messages_messages.md) - -[messages\_messagesSlice](../constructors/messages_messagesSlice.md) - -[messages\_channelMessages](../constructors/messages_channelMessages.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getMessages](../methods/messages_getMessages.md) - -[$MadelineProto->messages->getHistory](../methods/messages_getHistory.md) - -[$MadelineProto->messages->search](../methods/messages_search.md) - -[$MadelineProto->channels->getImportantHistory](../methods/channels_getImportantHistory.md) - -[$MadelineProto->channels->getMessages](../methods/channels_getMessages.md) - - - diff --git a/old_docs/API_docs_v38/types/messages_SentEncryptedMessage.md b/old_docs/API_docs_v38/types/messages_SentEncryptedMessage.md deleted file mode 100644 index 9f7ab935..00000000 --- a/old_docs/API_docs_v38/types/messages_SentEncryptedMessage.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: messages_SentEncryptedMessage -description: constructors and methods of type messages_SentEncryptedMessage -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_SentEncryptedMessage -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_sentEncryptedMessage](../constructors/messages_sentEncryptedMessage.md) - -[messages\_sentEncryptedFile](../constructors/messages_sentEncryptedFile.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->sendEncrypted](../methods/messages_sendEncrypted.md) - -[$MadelineProto->messages->sendEncryptedFile](../methods/messages_sendEncryptedFile.md) - -[$MadelineProto->messages->sendEncryptedService](../methods/messages_sendEncryptedService.md) - - - diff --git a/old_docs/API_docs_v38/types/messages_StickerSet.md b/old_docs/API_docs_v38/types/messages_StickerSet.md deleted file mode 100644 index e04ee8bf..00000000 --- a/old_docs/API_docs_v38/types/messages_StickerSet.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_StickerSet -description: constructors and methods of type messages_StickerSet -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_StickerSet -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_stickerSet](../constructors/messages_stickerSet.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getStickerSet](../methods/messages_getStickerSet.md) - - - diff --git a/old_docs/API_docs_v38/types/messages_Stickers.md b/old_docs/API_docs_v38/types/messages_Stickers.md deleted file mode 100644 index cf53f57b..00000000 --- a/old_docs/API_docs_v38/types/messages_Stickers.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_Stickers -description: constructors and methods of type messages_Stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Stickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_stickersNotModified](../constructors/messages_stickersNotModified.md) - -[messages\_stickers](../constructors/messages_stickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getStickers](../methods/messages_getStickers.md) - - - diff --git a/old_docs/API_docs_v38/types/photos.Photo.md b/old_docs/API_docs_v38/types/photos.Photo.md new file mode 100644 index 00000000..d60f203c --- /dev/null +++ b/old_docs/API_docs_v38/types/photos.Photo.md @@ -0,0 +1,22 @@ +--- +title: photos.Photo +description: constructors and methods of type photos.Photo +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: photos.Photo +[Back to types index](index.md) + + + +### Possible values (constructors): + +[photos.photo](../constructors/photos.photo.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->photos->uploadProfilePhoto](../methods/photos.uploadProfilePhoto.md) + + + diff --git a/old_docs/API_docs_v38/types/photos.Photos.md b/old_docs/API_docs_v38/types/photos.Photos.md new file mode 100644 index 00000000..fff0e296 --- /dev/null +++ b/old_docs/API_docs_v38/types/photos.Photos.md @@ -0,0 +1,24 @@ +--- +title: photos.Photos +description: constructors and methods of type photos.Photos +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: photos.Photos +[Back to types index](index.md) + + + +### Possible values (constructors): + +[photos.photos](../constructors/photos.photos.md) + +[photos.photosSlice](../constructors/photos.photosSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->photos->getUserPhotos](../methods/photos.getUserPhotos.md) + + + diff --git a/old_docs/API_docs_v38/types/photos_Photo.md b/old_docs/API_docs_v38/types/photos_Photo.md deleted file mode 100644 index d11bbdef..00000000 --- a/old_docs/API_docs_v38/types/photos_Photo.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: photos_Photo -description: constructors and methods of type photos_Photo -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: photos\_Photo -[Back to types index](index.md) - - - -### Possible values (constructors): - -[photos\_photo](../constructors/photos_photo.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->photos->uploadProfilePhoto](../methods/photos_uploadProfilePhoto.md) - - - diff --git a/old_docs/API_docs_v38/types/photos_Photos.md b/old_docs/API_docs_v38/types/photos_Photos.md deleted file mode 100644 index 9875ad70..00000000 --- a/old_docs/API_docs_v38/types/photos_Photos.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: photos_Photos -description: constructors and methods of type photos_Photos -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: photos\_Photos -[Back to types index](index.md) - - - -### Possible values (constructors): - -[photos\_photos](../constructors/photos_photos.md) - -[photos\_photosSlice](../constructors/photos_photosSlice.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->photos->getUserPhotos](../methods/photos_getUserPhotos.md) - - - diff --git a/old_docs/API_docs_v38/types/storage.FileType.md b/old_docs/API_docs_v38/types/storage.FileType.md new file mode 100644 index 00000000..73dc8a92 --- /dev/null +++ b/old_docs/API_docs_v38/types/storage.FileType.md @@ -0,0 +1,38 @@ +--- +title: storage.FileType +description: constructors and methods of type storage.FileType +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: storage.FileType +[Back to types index](index.md) + + + +### Possible values (constructors): + +[storage.fileUnknown](../constructors/storage.fileUnknown.md) + +[storage.fileJpeg](../constructors/storage.fileJpeg.md) + +[storage.fileGif](../constructors/storage.fileGif.md) + +[storage.filePng](../constructors/storage.filePng.md) + +[storage.filePdf](../constructors/storage.filePdf.md) + +[storage.fileMp3](../constructors/storage.fileMp3.md) + +[storage.fileMov](../constructors/storage.fileMov.md) + +[storage.filePartial](../constructors/storage.filePartial.md) + +[storage.fileMp4](../constructors/storage.fileMp4.md) + +[storage.fileWebp](../constructors/storage.fileWebp.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v38/types/storage_FileType.md b/old_docs/API_docs_v38/types/storage_FileType.md deleted file mode 100644 index 076c52a4..00000000 --- a/old_docs/API_docs_v38/types/storage_FileType.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: storage_FileType -description: constructors and methods of type storage_FileType -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: storage\_FileType -[Back to types index](index.md) - - - -### Possible values (constructors): - -[storage\_fileUnknown](../constructors/storage_fileUnknown.md) - -[storage\_fileJpeg](../constructors/storage_fileJpeg.md) - -[storage\_fileGif](../constructors/storage_fileGif.md) - -[storage\_filePng](../constructors/storage_filePng.md) - -[storage\_filePdf](../constructors/storage_filePdf.md) - -[storage\_fileMp3](../constructors/storage_fileMp3.md) - -[storage\_fileMov](../constructors/storage_fileMov.md) - -[storage\_filePartial](../constructors/storage_filePartial.md) - -[storage\_fileMp4](../constructors/storage_fileMp4.md) - -[storage\_fileWebp](../constructors/storage_fileWebp.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v38/types/updates.ChannelDifference.md b/old_docs/API_docs_v38/types/updates.ChannelDifference.md new file mode 100644 index 00000000..ac889a1e --- /dev/null +++ b/old_docs/API_docs_v38/types/updates.ChannelDifference.md @@ -0,0 +1,26 @@ +--- +title: updates.ChannelDifference +description: constructors and methods of type updates.ChannelDifference +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: updates.ChannelDifference +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updates.channelDifferenceEmpty](../constructors/updates.channelDifferenceEmpty.md) + +[updates.channelDifferenceTooLong](../constructors/updates.channelDifferenceTooLong.md) + +[updates.channelDifference](../constructors/updates.channelDifference.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->updates->getChannelDifference](../methods/updates.getChannelDifference.md) + + + diff --git a/old_docs/API_docs_v38/types/updates.Difference.md b/old_docs/API_docs_v38/types/updates.Difference.md new file mode 100644 index 00000000..35998855 --- /dev/null +++ b/old_docs/API_docs_v38/types/updates.Difference.md @@ -0,0 +1,26 @@ +--- +title: updates.Difference +description: constructors and methods of type updates.Difference +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: updates.Difference +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updates.differenceEmpty](../constructors/updates.differenceEmpty.md) + +[updates.difference](../constructors/updates.difference.md) + +[updates.differenceSlice](../constructors/updates.differenceSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->updates->getDifference](../methods/updates.getDifference.md) + + + diff --git a/old_docs/API_docs_v38/types/updates.State.md b/old_docs/API_docs_v38/types/updates.State.md new file mode 100644 index 00000000..49bbb7fd --- /dev/null +++ b/old_docs/API_docs_v38/types/updates.State.md @@ -0,0 +1,22 @@ +--- +title: updates.State +description: constructors and methods of type updates.State +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: updates.State +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updates.state](../constructors/updates.state.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->updates->getState](../methods/updates.getState.md) + + + diff --git a/old_docs/API_docs_v38/types/updates_ChannelDifference.md b/old_docs/API_docs_v38/types/updates_ChannelDifference.md deleted file mode 100644 index dc988692..00000000 --- a/old_docs/API_docs_v38/types/updates_ChannelDifference.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: updates_ChannelDifference -description: constructors and methods of type updates_ChannelDifference -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: updates\_ChannelDifference -[Back to types index](index.md) - - - -### Possible values (constructors): - -[updates\_channelDifferenceEmpty](../constructors/updates_channelDifferenceEmpty.md) - -[updates\_channelDifferenceTooLong](../constructors/updates_channelDifferenceTooLong.md) - -[updates\_channelDifference](../constructors/updates_channelDifference.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->updates->getChannelDifference](../methods/updates_getChannelDifference.md) - - - diff --git a/old_docs/API_docs_v38/types/updates_Difference.md b/old_docs/API_docs_v38/types/updates_Difference.md deleted file mode 100644 index 0190189b..00000000 --- a/old_docs/API_docs_v38/types/updates_Difference.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: updates_Difference -description: constructors and methods of type updates_Difference -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: updates\_Difference -[Back to types index](index.md) - - - -### Possible values (constructors): - -[updates\_differenceEmpty](../constructors/updates_differenceEmpty.md) - -[updates\_difference](../constructors/updates_difference.md) - -[updates\_differenceSlice](../constructors/updates_differenceSlice.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->updates->getDifference](../methods/updates_getDifference.md) - - - diff --git a/old_docs/API_docs_v38/types/updates_State.md b/old_docs/API_docs_v38/types/updates_State.md deleted file mode 100644 index 7a441145..00000000 --- a/old_docs/API_docs_v38/types/updates_State.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: updates_State -description: constructors and methods of type updates_State -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: updates\_State -[Back to types index](index.md) - - - -### Possible values (constructors): - -[updates\_state](../constructors/updates_state.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->updates->getState](../methods/updates_getState.md) - - - diff --git a/old_docs/API_docs_v38/types/upload.File.md b/old_docs/API_docs_v38/types/upload.File.md new file mode 100644 index 00000000..922e6c7a --- /dev/null +++ b/old_docs/API_docs_v38/types/upload.File.md @@ -0,0 +1,22 @@ +--- +title: upload.File +description: constructors and methods of type upload.File +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: upload.File +[Back to types index](index.md) + + + +### Possible values (constructors): + +[upload.file](../constructors/upload.file.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->upload->getFile](../methods/upload.getFile.md) + + + diff --git a/old_docs/API_docs_v38/types/upload_File.md b/old_docs/API_docs_v38/types/upload_File.md deleted file mode 100644 index 6e3bc38d..00000000 --- a/old_docs/API_docs_v38/types/upload_File.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: upload_File -description: constructors and methods of type upload_File -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: upload\_File -[Back to types index](index.md) - - - -### Possible values (constructors): - -[upload\_file](../constructors/upload_file.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->upload->getFile](../methods/upload_getFile.md) - - - diff --git a/old_docs/API_docs_v40/constructors/README.md b/old_docs/API_docs_v40/constructors/README.md index ae92d981..f22f0dbf 100644 --- a/old_docs/API_docs_v40/constructors/README.md +++ b/old_docs/API_docs_v40/constructors/README.md @@ -7,22 +7,28 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png [Back to API documentation index](..) *** -

[$accountDaysTTL](../constructors/accountDaysTTL.md) = \['days' => [int](../types/int.md), \]; +

[$account.authorizations](../constructors/account.authorizations.md) = \['authorizations' => \[[Authorization](../types/Authorization.md)\], \]; *** -

[$account\_authorizations](../constructors/account_authorizations.md) = \['authorizations' => \[[Authorization](../types/Authorization.md)\], \]; +

[$account.noPassword](../constructors/account.noPassword.md) = \['new_salt' => [bytes](../types/bytes.md), 'email_unconfirmed_pattern' => [string](../types/string.md), \]; -[$account\_noPassword](../constructors/account_noPassword.md) = \['new_salt' => [bytes](../types/bytes.md), 'email_unconfirmed_pattern' => [string](../types/string.md), \]; +*** +

[$account.password](../constructors/account.password.md) = \['current_salt' => [bytes](../types/bytes.md), 'new_salt' => [bytes](../types/bytes.md), 'hint' => [string](../types/string.md), 'has_recovery' => [Bool](../types/Bool.md), 'email_unconfirmed_pattern' => [string](../types/string.md), \]; -[$account\_password](../constructors/account_password.md) = \['current_salt' => [bytes](../types/bytes.md), 'new_salt' => [bytes](../types/bytes.md), 'hint' => [string](../types/string.md), 'has_recovery' => [Bool](../types/Bool.md), 'email_unconfirmed_pattern' => [string](../types/string.md), \]; +*** +

[$account.passwordInputSettings](../constructors/account.passwordInputSettings.md) = \['new_salt' => [bytes](../types/bytes.md), 'new_password_hash' => [bytes](../types/bytes.md), 'hint' => [string](../types/string.md), 'email' => [string](../types/string.md), \]; -[$account\_passwordInputSettings](../constructors/account_passwordInputSettings.md) = \['new_salt' => [bytes](../types/bytes.md), 'new_password_hash' => [bytes](../types/bytes.md), 'hint' => [string](../types/string.md), 'email' => [string](../types/string.md), \]; +*** +

[$account.passwordSettings](../constructors/account.passwordSettings.md) = \['email' => [string](../types/string.md), \]; -[$account\_passwordSettings](../constructors/account_passwordSettings.md) = \['email' => [string](../types/string.md), \]; +*** +

[$account.privacyRules](../constructors/account.privacyRules.md) = \['rules' => \[[PrivacyRule](../types/PrivacyRule.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$account\_privacyRules](../constructors/account_privacyRules.md) = \['rules' => \[[PrivacyRule](../types/PrivacyRule.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$account.sentChangePhoneCode](../constructors/account.sentChangePhoneCode.md) = \['phone_code_hash' => [string](../types/string.md), 'send_call_timeout' => [int](../types/int.md), \]; -[$account\_sentChangePhoneCode](../constructors/account_sentChangePhoneCode.md) = \['phone_code_hash' => [string](../types/string.md), 'send_call_timeout' => [int](../types/int.md), \]; +*** +

[$accountDaysTTL](../constructors/accountDaysTTL.md) = \['days' => [int](../types/int.md), \]; ***

[$audio](../constructors/audio.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'date' => [int](../types/int.md), 'duration' => [int](../types/int.md), 'mime_type' => [string](../types/string.md), 'size' => [int](../types/int.md), 'dc_id' => [int](../types/int.md), \]; @@ -31,17 +37,22 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$audioEmpty](../constructors/audioEmpty.md) = \['id' => [long](../types/long.md), \]; *** -

[$auth\_authorization](../constructors/auth_authorization.md) = \['user' => [User](../types/User.md), \]; +

[$auth.authorization](../constructors/auth.authorization.md) = \['user' => [User](../types/User.md), \]; -[$auth\_checkedPhone](../constructors/auth_checkedPhone.md) = \['phone_registered' => [Bool](../types/Bool.md), \]; +*** +

[$auth.checkedPhone](../constructors/auth.checkedPhone.md) = \['phone_registered' => [Bool](../types/Bool.md), \]; -[$auth\_exportedAuthorization](../constructors/auth_exportedAuthorization.md) = \['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; +*** +

[$auth.exportedAuthorization](../constructors/auth.exportedAuthorization.md) = \['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; -[$auth\_passwordRecovery](../constructors/auth_passwordRecovery.md) = \['email_pattern' => [string](../types/string.md), \]; +*** +

[$auth.passwordRecovery](../constructors/auth.passwordRecovery.md) = \['email_pattern' => [string](../types/string.md), \]; -[$auth\_sentAppCode](../constructors/auth_sentAppCode.md) = \['phone_registered' => [Bool](../types/Bool.md), 'phone_code_hash' => [string](../types/string.md), 'send_call_timeout' => [int](../types/int.md), 'is_password' => [Bool](../types/Bool.md), \]; +*** +

[$auth.sentAppCode](../constructors/auth.sentAppCode.md) = \['phone_registered' => [Bool](../types/Bool.md), 'phone_code_hash' => [string](../types/string.md), 'send_call_timeout' => [int](../types/int.md), 'is_password' => [Bool](../types/Bool.md), \]; -[$auth\_sentCode](../constructors/auth_sentCode.md) = \['phone_registered' => [Bool](../types/Bool.md), 'phone_code_hash' => [string](../types/string.md), 'send_call_timeout' => [int](../types/int.md), 'is_password' => [Bool](../types/Bool.md), \]; +*** +

[$auth.sentCode](../constructors/auth.sentCode.md) = \['phone_registered' => [Bool](../types/Bool.md), 'phone_code_hash' => [string](../types/string.md), 'send_call_timeout' => [int](../types/int.md), 'is_password' => [Bool](../types/Bool.md), \]; ***

[$authorization](../constructors/authorization.md) = \['hash' => [long](../types/long.md), 'device_model' => [string](../types/string.md), 'platform' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'api_id' => [int](../types/int.md), 'app_name' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'date_created' => [int](../types/int.md), 'date_active' => [int](../types/int.md), 'ip' => [string](../types/string.md), 'country' => [string](../types/string.md), 'region' => [string](../types/string.md), \]; @@ -143,21 +154,28 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$contactSuggested](../constructors/contactSuggested.md) = \['user_id' => [int](../types/int.md), 'mutual_contacts' => [int](../types/int.md), \]; *** -

[$contacts\_blocked](../constructors/contacts_blocked.md) = \['blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; +

[$contacts.blocked](../constructors/contacts.blocked.md) = \['blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_blockedSlice](../constructors/contacts_blockedSlice.md) = \['count' => [int](../types/int.md), 'blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.blockedSlice](../constructors/contacts.blockedSlice.md) = \['count' => [int](../types/int.md), 'blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_contacts](../constructors/contacts_contacts.md) = \['contacts' => \[[Contact](../types/Contact.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.contacts](../constructors/contacts.contacts.md) = \['contacts' => \[[Contact](../types/Contact.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_contactsNotModified](../constructors/contacts_contactsNotModified.md) = \[\]; +*** +

[$contacts.contactsNotModified](../constructors/contacts.contactsNotModified.md) = \[\]; -[$contacts\_found](../constructors/contacts_found.md) = \['results' => \[[ContactFound](../types/ContactFound.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.found](../constructors/contacts.found.md) = \['results' => \[[ContactFound](../types/ContactFound.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_importedContacts](../constructors/contacts_importedContacts.md) = \['imported' => \[[ImportedContact](../types/ImportedContact.md)\], 'retry_contacts' => \[[long](../types/long.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.importedContacts](../constructors/contacts.importedContacts.md) = \['imported' => \[[ImportedContact](../types/ImportedContact.md)\], 'retry_contacts' => \[[long](../types/long.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_link](../constructors/contacts_link.md) = \['my_link' => [ContactLink](../types/ContactLink.md), 'foreign_link' => [ContactLink](../types/ContactLink.md), 'user' => [User](../types/User.md), \]; +*** +

[$contacts.link](../constructors/contacts.link.md) = \['my_link' => [ContactLink](../types/ContactLink.md), 'foreign_link' => [ContactLink](../types/ContactLink.md), 'user' => [User](../types/User.md), \]; -[$contacts\_suggested](../constructors/contacts_suggested.md) = \['results' => \[[ContactSuggested](../types/ContactSuggested.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.suggested](../constructors/contacts.suggested.md) = \['results' => \[[ContactSuggested](../types/ContactSuggested.md)\], 'users' => \[[User](../types/User.md)\], \]; ***

[$dcOption](../constructors/dcOption.md) = \['id' => [int](../types/int.md), 'ip_address' => [string](../types/string.md), 'port' => [int](../types/int.md), \]; @@ -238,17 +256,22 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$geoPointEmpty](../constructors/geoPointEmpty.md) = \[\]; *** -

[$help\_appChangelog](../constructors/help_appChangelog.md) = \['text' => [string](../types/string.md), \]; +

[$help.appChangelog](../constructors/help.appChangelog.md) = \['text' => [string](../types/string.md), \]; -[$help\_appChangelogEmpty](../constructors/help_appChangelogEmpty.md) = \[\]; +*** +

[$help.appChangelogEmpty](../constructors/help.appChangelogEmpty.md) = \[\]; -[$help\_appUpdate](../constructors/help_appUpdate.md) = \['id' => [int](../types/int.md), 'critical' => [Bool](../types/Bool.md), 'url' => [string](../types/string.md), 'text' => [string](../types/string.md), \]; +*** +

[$help.appUpdate](../constructors/help.appUpdate.md) = \['id' => [int](../types/int.md), 'critical' => [Bool](../types/Bool.md), 'url' => [string](../types/string.md), 'text' => [string](../types/string.md), \]; -[$help\_inviteText](../constructors/help_inviteText.md) = \['message' => [string](../types/string.md), \]; +*** +

[$help.inviteText](../constructors/help.inviteText.md) = \['message' => [string](../types/string.md), \]; -[$help\_noAppUpdate](../constructors/help_noAppUpdate.md) = \[\]; +*** +

[$help.noAppUpdate](../constructors/help.noAppUpdate.md) = \[\]; -[$help\_support](../constructors/help_support.md) = \['phone_number' => [string](../types/string.md), 'user' => [User](../types/User.md), \]; +*** +

[$help.support](../constructors/help.support.md) = \['phone_number' => [string](../types/string.md), 'user' => [User](../types/User.md), \]; ***

[$importedContact](../constructors/importedContact.md) = \['user_id' => [int](../types/int.md), 'client_id' => [long](../types/long.md), \]; @@ -605,41 +628,58 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$messageService](../constructors/messageService.md) = \['id' => [int](../types/int.md), 'from_id' => [int](../types/int.md), 'to_id' => [Peer](../types/Peer.md), 'date' => [int](../types/int.md), 'action' => [MessageAction](../types/MessageAction.md), \]; *** -

[$messages\_affectedHistory](../constructors/messages_affectedHistory.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), 'offset' => [int](../types/int.md), \]; +

[$messages.affectedHistory](../constructors/messages.affectedHistory.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), 'offset' => [int](../types/int.md), \]; -[$messages\_affectedMessages](../constructors/messages_affectedMessages.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; +*** +

[$messages.affectedMessages](../constructors/messages.affectedMessages.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; -[$messages\_allStickers](../constructors/messages_allStickers.md) = \['hash' => [string](../types/string.md), 'sets' => \[[StickerSet](../types/StickerSet.md)\], \]; +*** +

[$messages.allStickers](../constructors/messages.allStickers.md) = \['hash' => [string](../types/string.md), 'sets' => \[[StickerSet](../types/StickerSet.md)\], \]; -[$messages\_allStickersNotModified](../constructors/messages_allStickersNotModified.md) = \[\]; +*** +

[$messages.allStickersNotModified](../constructors/messages.allStickersNotModified.md) = \[\]; -[$messages\_channelMessages](../constructors/messages_channelMessages.md) = \['pts' => [int](../types/int.md), 'count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'collapsed' => \[[MessageGroup](../types/MessageGroup.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.channelMessages](../constructors/messages.channelMessages.md) = \['pts' => [int](../types/int.md), 'count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'collapsed' => \[[MessageGroup](../types/MessageGroup.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_chatFull](../constructors/messages_chatFull.md) = \['full_chat' => [ChatFull](../types/ChatFull.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.chatFull](../constructors/messages.chatFull.md) = \['full_chat' => [ChatFull](../types/ChatFull.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_chats](../constructors/messages_chats.md) = \['chats' => \[[Chat](../types/Chat.md)\], \]; +*** +

[$messages.chats](../constructors/messages.chats.md) = \['chats' => \[[Chat](../types/Chat.md)\], \]; -[$messages\_dhConfig](../constructors/messages_dhConfig.md) = \['g' => [int](../types/int.md), 'p' => [bytes](../types/bytes.md), 'version' => [int](../types/int.md), 'random' => [bytes](../types/bytes.md), \]; +*** +

[$messages.dhConfig](../constructors/messages.dhConfig.md) = \['g' => [int](../types/int.md), 'p' => [bytes](../types/bytes.md), 'version' => [int](../types/int.md), 'random' => [bytes](../types/bytes.md), \]; -[$messages\_dhConfigNotModified](../constructors/messages_dhConfigNotModified.md) = \['random' => [bytes](../types/bytes.md), \]; +*** +

[$messages.dhConfigNotModified](../constructors/messages.dhConfigNotModified.md) = \['random' => [bytes](../types/bytes.md), \]; -[$messages\_dialogs](../constructors/messages_dialogs.md) = \['dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.dialogs](../constructors/messages.dialogs.md) = \['dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_dialogsSlice](../constructors/messages_dialogsSlice.md) = \['count' => [int](../types/int.md), 'dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.dialogsSlice](../constructors/messages.dialogsSlice.md) = \['count' => [int](../types/int.md), 'dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_messages](../constructors/messages_messages.md) = \['messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.messages](../constructors/messages.messages.md) = \['messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_messagesSlice](../constructors/messages_messagesSlice.md) = \['count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.messagesSlice](../constructors/messages.messagesSlice.md) = \['count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_sentEncryptedFile](../constructors/messages_sentEncryptedFile.md) = \['date' => [int](../types/int.md), 'file' => [EncryptedFile](../types/EncryptedFile.md), \]; +*** +

[$messages.sentEncryptedFile](../constructors/messages.sentEncryptedFile.md) = \['date' => [int](../types/int.md), 'file' => [EncryptedFile](../types/EncryptedFile.md), \]; -[$messages\_sentEncryptedMessage](../constructors/messages_sentEncryptedMessage.md) = \['date' => [int](../types/int.md), \]; +*** +

[$messages.sentEncryptedMessage](../constructors/messages.sentEncryptedMessage.md) = \['date' => [int](../types/int.md), \]; -[$messages\_stickerSet](../constructors/messages_stickerSet.md) = \['set' => [StickerSet](../types/StickerSet.md), 'packs' => \[[StickerPack](../types/StickerPack.md)\], 'documents' => \[[Document](../types/Document.md)\], \]; +*** +

[$messages.stickerSet](../constructors/messages.stickerSet.md) = \['set' => [StickerSet](../types/StickerSet.md), 'packs' => \[[StickerPack](../types/StickerPack.md)\], 'documents' => \[[Document](../types/Document.md)\], \]; -[$messages\_stickers](../constructors/messages_stickers.md) = \['hash' => [string](../types/string.md), 'stickers' => \[[Document](../types/Document.md)\], \]; +*** +

[$messages.stickers](../constructors/messages.stickers.md) = \['hash' => [string](../types/string.md), 'stickers' => \[[Document](../types/Document.md)\], \]; -[$messages\_stickersNotModified](../constructors/messages_stickersNotModified.md) = \[\]; +*** +

[$messages.stickersNotModified](../constructors/messages.stickersNotModified.md) = \[\]; ***

[$nearestDc](../constructors/nearestDc.md) = \['country' => [string](../types/string.md), 'this_dc' => [int](../types/int.md), 'nearest_dc' => [int](../types/int.md), \]; @@ -696,11 +736,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$photoSizeEmpty](../constructors/photoSizeEmpty.md) = \['type' => [string](../types/string.md), \]; *** -

[$photos\_photo](../constructors/photos_photo.md) = \['photo' => [Photo](../types/Photo.md), 'users' => \[[User](../types/User.md)\], \]; +

[$photos.photo](../constructors/photos.photo.md) = \['photo' => [Photo](../types/Photo.md), 'users' => \[[User](../types/User.md)\], \]; -[$photos\_photos](../constructors/photos_photos.md) = \['photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$photos.photos](../constructors/photos.photos.md) = \['photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$photos\_photosSlice](../constructors/photos_photosSlice.md) = \['count' => [int](../types/int.md), 'photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$photos.photosSlice](../constructors/photos.photosSlice.md) = \['count' => [int](../types/int.md), 'photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; ***

[$privacyKeyStatusTimestamp](../constructors/privacyKeyStatusTimestamp.md) = \[\]; @@ -772,25 +814,34 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$stickerSet](../constructors/stickerSet.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'title' => [string](../types/string.md), 'short_name' => [string](../types/string.md), 'count' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]; *** -

[$storage\_fileGif](../constructors/storage_fileGif.md) = \[\]; +

[$storage.fileGif](../constructors/storage.fileGif.md) = \[\]; -[$storage\_fileJpeg](../constructors/storage_fileJpeg.md) = \[\]; +*** +

[$storage.fileJpeg](../constructors/storage.fileJpeg.md) = \[\]; -[$storage\_fileMov](../constructors/storage_fileMov.md) = \[\]; +*** +

[$storage.fileMov](../constructors/storage.fileMov.md) = \[\]; -[$storage\_fileMp3](../constructors/storage_fileMp3.md) = \[\]; +*** +

[$storage.fileMp3](../constructors/storage.fileMp3.md) = \[\]; -[$storage\_fileMp4](../constructors/storage_fileMp4.md) = \[\]; +*** +

[$storage.fileMp4](../constructors/storage.fileMp4.md) = \[\]; -[$storage\_filePartial](../constructors/storage_filePartial.md) = \[\]; +*** +

[$storage.filePartial](../constructors/storage.filePartial.md) = \[\]; -[$storage\_filePdf](../constructors/storage_filePdf.md) = \[\]; +*** +

[$storage.filePdf](../constructors/storage.filePdf.md) = \[\]; -[$storage\_filePng](../constructors/storage_filePng.md) = \[\]; +*** +

[$storage.filePng](../constructors/storage.filePng.md) = \[\]; -[$storage\_fileUnknown](../constructors/storage_fileUnknown.md) = \[\]; +*** +

[$storage.fileUnknown](../constructors/storage.fileUnknown.md) = \[\]; -[$storage\_fileWebp](../constructors/storage_fileWebp.md) = \[\]; +*** +

[$storage.fileWebp](../constructors/storage.fileWebp.md) = \[\]; ***

[$updateChannelTooLong](../constructors/updateChannelTooLong.md) = \['channel_id' => [int](../types/int.md), \]; @@ -903,6 +954,27 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ***

[$updates](../constructors/updates.md) = \['updates' => \[[Update](../types/Update.md)\], 'users' => \[[User](../types/User.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'date' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; +*** +

[$updates.channelDifference](../constructors/updates.channelDifference.md) = \['pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), 'new_messages' => \[[Message](../types/Message.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +*** +

[$updates.channelDifferenceEmpty](../constructors/updates.channelDifferenceEmpty.md) = \['pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), \]; + +*** +

[$updates.channelDifferenceTooLong](../constructors/updates.channelDifferenceTooLong.md) = \['pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), 'top_message' => [int](../types/int.md), 'top_important_message' => [int](../types/int.md), 'read_inbox_max_id' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), 'unread_important_count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +*** +

[$updates.difference](../constructors/updates.difference.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'state' => [updates.State](../types/updates.State.md), \]; + +*** +

[$updates.differenceEmpty](../constructors/updates.differenceEmpty.md) = \['date' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; + +*** +

[$updates.differenceSlice](../constructors/updates.differenceSlice.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'intermediate_state' => [updates.State](../types/updates.State.md), \]; + +*** +

[$updates.state](../constructors/updates.state.md) = \['pts' => [int](../types/int.md), 'qts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'seq' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), \]; + ***

[$updatesCombined](../constructors/updatesCombined.md) = \['updates' => \[[Update](../types/Update.md)\], 'users' => \[[User](../types/User.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'date' => [int](../types/int.md), 'seq_start' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; @@ -910,22 +982,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$updatesTooLong](../constructors/updatesTooLong.md) = \[\]; *** -

[$updates\_channelDifference](../constructors/updates_channelDifference.md) = \['pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), 'new_messages' => \[[Message](../types/Message.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; - -[$updates\_channelDifferenceEmpty](../constructors/updates_channelDifferenceEmpty.md) = \['pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), \]; - -[$updates\_channelDifferenceTooLong](../constructors/updates_channelDifferenceTooLong.md) = \['pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), 'top_message' => [int](../types/int.md), 'top_important_message' => [int](../types/int.md), 'read_inbox_max_id' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), 'unread_important_count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; - -[$updates\_difference](../constructors/updates_difference.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'state' => [updates.State](../types/updates.State.md), \]; - -[$updates\_differenceEmpty](../constructors/updates_differenceEmpty.md) = \['date' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; - -[$updates\_differenceSlice](../constructors/updates_differenceSlice.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'intermediate_state' => [updates.State](../types/updates.State.md), \]; - -[$updates\_state](../constructors/updates_state.md) = \['pts' => [int](../types/int.md), 'qts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'seq' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), \]; - -*** -

[$upload\_file](../constructors/upload_file.md) = \['type' => [storage.FileType](../types/storage.FileType.md), 'mtime' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; +

[$upload.file](../constructors/upload.file.md) = \['type' => [storage.FileType](../types/storage.FileType.md), 'mtime' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; ***

[$user](../constructors/user.md) = \['id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), 'username' => [string](../types/string.md), 'phone' => [string](../types/string.md), 'photo' => [UserProfilePhoto](../types/UserProfilePhoto.md), 'status' => [UserStatus](../types/UserStatus.md), 'bot_info_version' => [int](../types/int.md), \]; diff --git a/old_docs/API_docs_v40/constructors/account.authorizations.md b/old_docs/API_docs_v40/constructors/account.authorizations.md new file mode 100644 index 00000000..53c961f0 --- /dev/null +++ b/old_docs/API_docs_v40/constructors/account.authorizations.md @@ -0,0 +1,38 @@ +--- +title: account.authorizations +description: Logged-in sessions +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.authorizations +[Back to constructors index](index.md) + + + +Logged-in sessions + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|authorizations|Array of [Authorization](../types/Authorization.md) | Yes|Authorizations| + + + +### Type: [account.Authorizations](../types/account.Authorizations.md) + + +### Example: + +```php +$account.authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization, Authorization]]; +``` + + +Or, if you're into Lua: + +```lua +account.authorizations={_='account.authorizations', authorizations={Authorization}} + +``` + + diff --git a/old_docs/API_docs_v40/constructors/account.noPassword.md b/old_docs/API_docs_v40/constructors/account.noPassword.md new file mode 100644 index 00000000..4dcdc515 --- /dev/null +++ b/old_docs/API_docs_v40/constructors/account.noPassword.md @@ -0,0 +1,39 @@ +--- +title: account.noPassword +description: No password +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.noPassword +[Back to constructors index](index.md) + + + +No password + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|new\_salt|[bytes](../types/bytes.md) | Yes|New salt| +|email\_unconfirmed\_pattern|[string](../types/string.md) | Yes|Email unconfirmed pattern| + + + +### Type: [account.Password](../types/account.Password.md) + + +### Example: + +```php +$account.noPassword = ['_' => 'account.noPassword', 'new_salt' => 'bytes', 'email_unconfirmed_pattern' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +account.noPassword={_='account.noPassword', new_salt='bytes', email_unconfirmed_pattern='string'} + +``` + + diff --git a/old_docs/API_docs_v40/constructors/account.password.md b/old_docs/API_docs_v40/constructors/account.password.md new file mode 100644 index 00000000..9e86a73a --- /dev/null +++ b/old_docs/API_docs_v40/constructors/account.password.md @@ -0,0 +1,42 @@ +--- +title: account.password +description: Configuration for two-factor authorization +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.password +[Back to constructors index](index.md) + + + +Configuration for two-factor authorization + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|current\_salt|[bytes](../types/bytes.md) | Yes|Current salt| +|new\_salt|[bytes](../types/bytes.md) | Yes|New salt| +|hint|[string](../types/string.md) | Yes|Text hint for the password| +|has\_recovery|[Bool](../types/Bool.md) | Yes|Has recovery?| +|email\_unconfirmed\_pattern|[string](../types/string.md) | Yes|A [password recovery email](https://core.telegram.org/api/srp#email-verification) with the specified [pattern](https://core.telegram.org/api/pattern) is still awaiting verification| + + + +### Type: [account.Password](../types/account.Password.md) + + +### Example: + +```php +$account.password = ['_' => 'account.password', 'current_salt' => 'bytes', 'new_salt' => 'bytes', 'hint' => 'string', 'has_recovery' => Bool, 'email_unconfirmed_pattern' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +account.password={_='account.password', current_salt='bytes', new_salt='bytes', hint='string', has_recovery=Bool, email_unconfirmed_pattern='string'} + +``` + + diff --git a/old_docs/API_docs_v40/constructors/account.passwordInputSettings.md b/old_docs/API_docs_v40/constructors/account.passwordInputSettings.md new file mode 100644 index 00000000..c440115a --- /dev/null +++ b/old_docs/API_docs_v40/constructors/account.passwordInputSettings.md @@ -0,0 +1,41 @@ +--- +title: account.passwordInputSettings +description: Settings for setting up a new password +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.passwordInputSettings +[Back to constructors index](index.md) + + + +Settings for setting up a new password + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|new\_salt|[bytes](../types/bytes.md) | Optional|`$new_salt = $MadelineProto->account->getPassword()['new_salt'].$MadelineProto->random(8);`| +|new\_password\_hash|[bytes](../types/bytes.md) | Optional|The [computed password hash](https://core.telegram.org/api/srp)| +|hint|[string](../types/string.md) | Optional|Text hint for the password| +|email|[string](../types/string.md) | Optional|Password recovery email| + + + +### Type: [account.PasswordInputSettings](../types/account.PasswordInputSettings.md) + + +### Example: + +```php +$account.passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_salt' => 'bytes', 'new_password_hash' => 'bytes', 'hint' => 'string', 'email' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +account.passwordInputSettings={_='account.passwordInputSettings', new_salt='bytes', new_password_hash='bytes', hint='string', email='string'} + +``` + + diff --git a/old_docs/API_docs_v40/constructors/account.passwordSettings.md b/old_docs/API_docs_v40/constructors/account.passwordSettings.md new file mode 100644 index 00000000..be899d34 --- /dev/null +++ b/old_docs/API_docs_v40/constructors/account.passwordSettings.md @@ -0,0 +1,38 @@ +--- +title: account.passwordSettings +description: Private info associated to the password info (recovery email, telegram [passport](https://core.telegram.org/passport) info & so on) +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.passwordSettings +[Back to constructors index](index.md) + + + +Private info associated to the password info (recovery email, telegram [passport](https://core.telegram.org/passport) info & so on) + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|email|[string](../types/string.md) | Yes|[2FA Recovery email](https://core.telegram.org/api/srp#email-verification)| + + + +### Type: [account.PasswordSettings](../types/account.PasswordSettings.md) + + +### Example: + +```php +$account.passwordSettings = ['_' => 'account.passwordSettings', 'email' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +account.passwordSettings={_='account.passwordSettings', email='string'} + +``` + + diff --git a/old_docs/API_docs_v40/constructors/account.privacyRules.md b/old_docs/API_docs_v40/constructors/account.privacyRules.md new file mode 100644 index 00000000..7ae04abb --- /dev/null +++ b/old_docs/API_docs_v40/constructors/account.privacyRules.md @@ -0,0 +1,39 @@ +--- +title: account.privacyRules +description: Privacy rules +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.privacyRules +[Back to constructors index](index.md) + + + +Privacy rules + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|rules|Array of [PrivacyRule](../types/PrivacyRule.md) | Yes|Rules| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [account.PrivacyRules](../types/account.PrivacyRules.md) + + +### Example: + +```php +$account.privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule, PrivacyRule], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +account.privacyRules={_='account.privacyRules', rules={PrivacyRule}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v40/constructors/account.sentChangePhoneCode.md b/old_docs/API_docs_v40/constructors/account.sentChangePhoneCode.md new file mode 100644 index 00000000..119f6af6 --- /dev/null +++ b/old_docs/API_docs_v40/constructors/account.sentChangePhoneCode.md @@ -0,0 +1,39 @@ +--- +title: account.sentChangePhoneCode +description: Sent change phone code +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.sentChangePhoneCode +[Back to constructors index](index.md) + + + +Sent change phone code + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_code\_hash|[string](../types/string.md) | Yes|Phone code hash| +|send\_call\_timeout|[int](../types/int.md) | Yes|Send call timeout| + + + +### Type: [account.SentChangePhoneCode](../types/account.SentChangePhoneCode.md) + + +### Example: + +```php +$account.sentChangePhoneCode = ['_' => 'account.sentChangePhoneCode', 'phone_code_hash' => 'string', 'send_call_timeout' => int]; +``` + + +Or, if you're into Lua: + +```lua +account.sentChangePhoneCode={_='account.sentChangePhoneCode', phone_code_hash='string', send_call_timeout=int} + +``` + + diff --git a/old_docs/API_docs_v40/constructors/account_authorizations.md b/old_docs/API_docs_v40/constructors/account_authorizations.md deleted file mode 100644 index aeae48f3..00000000 --- a/old_docs/API_docs_v40/constructors/account_authorizations.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: account.authorizations -description: Logged-in sessions -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.authorizations -[Back to constructors index](index.md) - - - -Logged-in sessions - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|authorizations|Array of [Authorization](../types/Authorization.md) | Yes|Authorizations| - - - -### Type: [account\_Authorizations](../types/account_Authorizations.md) - - -### Example: - -```php -$account_authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization, Authorization]]; -``` - - -Or, if you're into Lua: - -```lua -account_authorizations={_='account.authorizations', authorizations={Authorization}} - -``` - - diff --git a/old_docs/API_docs_v40/constructors/account_noPassword.md b/old_docs/API_docs_v40/constructors/account_noPassword.md deleted file mode 100644 index 10ef7b2a..00000000 --- a/old_docs/API_docs_v40/constructors/account_noPassword.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: account.noPassword -description: No password -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.noPassword -[Back to constructors index](index.md) - - - -No password - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|new\_salt|[bytes](../types/bytes.md) | Yes|New salt| -|email\_unconfirmed\_pattern|[string](../types/string.md) | Yes|Email unconfirmed pattern| - - - -### Type: [account\_Password](../types/account_Password.md) - - -### Example: - -```php -$account_noPassword = ['_' => 'account.noPassword', 'new_salt' => 'bytes', 'email_unconfirmed_pattern' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -account_noPassword={_='account.noPassword', new_salt='bytes', email_unconfirmed_pattern='string'} - -``` - - diff --git a/old_docs/API_docs_v40/constructors/account_password.md b/old_docs/API_docs_v40/constructors/account_password.md deleted file mode 100644 index a9f512e8..00000000 --- a/old_docs/API_docs_v40/constructors/account_password.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: account.password -description: Configuration for two-factor authorization -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.password -[Back to constructors index](index.md) - - - -Configuration for two-factor authorization - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|current\_salt|[bytes](../types/bytes.md) | Yes|Current salt| -|new\_salt|[bytes](../types/bytes.md) | Yes|New salt| -|hint|[string](../types/string.md) | Yes|Text hint for the password| -|has\_recovery|[Bool](../types/Bool.md) | Yes|Has recovery?| -|email\_unconfirmed\_pattern|[string](../types/string.md) | Yes|A [password recovery email](https://core.telegram.org/api/srp#email-verification) with the specified [pattern](https://core.telegram.org/api/pattern) is still awaiting verification| - - - -### Type: [account\_Password](../types/account_Password.md) - - -### Example: - -```php -$account_password = ['_' => 'account.password', 'current_salt' => 'bytes', 'new_salt' => 'bytes', 'hint' => 'string', 'has_recovery' => Bool, 'email_unconfirmed_pattern' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -account_password={_='account.password', current_salt='bytes', new_salt='bytes', hint='string', has_recovery=Bool, email_unconfirmed_pattern='string'} - -``` - - diff --git a/old_docs/API_docs_v40/constructors/account_passwordInputSettings.md b/old_docs/API_docs_v40/constructors/account_passwordInputSettings.md deleted file mode 100644 index 05ec666b..00000000 --- a/old_docs/API_docs_v40/constructors/account_passwordInputSettings.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: account.passwordInputSettings -description: Settings for setting up a new password -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.passwordInputSettings -[Back to constructors index](index.md) - - - -Settings for setting up a new password - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|new\_salt|[bytes](../types/bytes.md) | Optional|`$new_salt = $MadelineProto->account->getPassword()['new_salt'].$MadelineProto->random(8);`| -|new\_password\_hash|[bytes](../types/bytes.md) | Optional|The [computed password hash](https://core.telegram.org/api/srp)| -|hint|[string](../types/string.md) | Optional|Text hint for the password| -|email|[string](../types/string.md) | Optional|Password recovery email| - - - -### Type: [account\_PasswordInputSettings](../types/account_PasswordInputSettings.md) - - -### Example: - -```php -$account_passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_salt' => 'bytes', 'new_password_hash' => 'bytes', 'hint' => 'string', 'email' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -account_passwordInputSettings={_='account.passwordInputSettings', new_salt='bytes', new_password_hash='bytes', hint='string', email='string'} - -``` - - diff --git a/old_docs/API_docs_v40/constructors/account_passwordSettings.md b/old_docs/API_docs_v40/constructors/account_passwordSettings.md deleted file mode 100644 index e22f9cc4..00000000 --- a/old_docs/API_docs_v40/constructors/account_passwordSettings.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: account.passwordSettings -description: Private info associated to the password info (recovery email, telegram [passport](https://core.telegram.org/passport) info & so on) -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.passwordSettings -[Back to constructors index](index.md) - - - -Private info associated to the password info (recovery email, telegram [passport](https://core.telegram.org/passport) info & so on) - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|email|[string](../types/string.md) | Yes|[2FA Recovery email](https://core.telegram.org/api/srp#email-verification)| - - - -### Type: [account\_PasswordSettings](../types/account_PasswordSettings.md) - - -### Example: - -```php -$account_passwordSettings = ['_' => 'account.passwordSettings', 'email' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -account_passwordSettings={_='account.passwordSettings', email='string'} - -``` - - diff --git a/old_docs/API_docs_v40/constructors/account_privacyRules.md b/old_docs/API_docs_v40/constructors/account_privacyRules.md deleted file mode 100644 index 28b260b7..00000000 --- a/old_docs/API_docs_v40/constructors/account_privacyRules.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: account.privacyRules -description: Privacy rules -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.privacyRules -[Back to constructors index](index.md) - - - -Privacy rules - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|rules|Array of [PrivacyRule](../types/PrivacyRule.md) | Yes|Rules| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [account\_PrivacyRules](../types/account_PrivacyRules.md) - - -### Example: - -```php -$account_privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule, PrivacyRule], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -account_privacyRules={_='account.privacyRules', rules={PrivacyRule}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v40/constructors/account_sentChangePhoneCode.md b/old_docs/API_docs_v40/constructors/account_sentChangePhoneCode.md deleted file mode 100644 index 052ce817..00000000 --- a/old_docs/API_docs_v40/constructors/account_sentChangePhoneCode.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: account.sentChangePhoneCode -description: Sent change phone code -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.sentChangePhoneCode -[Back to constructors index](index.md) - - - -Sent change phone code - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_code\_hash|[string](../types/string.md) | Yes|Phone code hash| -|send\_call\_timeout|[int](../types/int.md) | Yes|Send call timeout| - - - -### Type: [account\_SentChangePhoneCode](../types/account_SentChangePhoneCode.md) - - -### Example: - -```php -$account_sentChangePhoneCode = ['_' => 'account.sentChangePhoneCode', 'phone_code_hash' => 'string', 'send_call_timeout' => int]; -``` - - -Or, if you're into Lua: - -```lua -account_sentChangePhoneCode={_='account.sentChangePhoneCode', phone_code_hash='string', send_call_timeout=int} - -``` - - diff --git a/old_docs/API_docs_v40/constructors/auth.authorization.md b/old_docs/API_docs_v40/constructors/auth.authorization.md new file mode 100644 index 00000000..bd034fc5 --- /dev/null +++ b/old_docs/API_docs_v40/constructors/auth.authorization.md @@ -0,0 +1,38 @@ +--- +title: auth.authorization +description: Contains user authorization info. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.authorization +[Back to constructors index](index.md) + + + +Contains user authorization info. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|user|[User](../types/User.md) | Optional|Info on authorized user| + + + +### Type: [auth.Authorization](../types/auth.Authorization.md) + + +### Example: + +```php +$auth.authorization = ['_' => 'auth.authorization', 'user' => User]; +``` + + +Or, if you're into Lua: + +```lua +auth.authorization={_='auth.authorization', user=User} + +``` + + diff --git a/old_docs/API_docs_v40/constructors/auth.checkedPhone.md b/old_docs/API_docs_v40/constructors/auth.checkedPhone.md new file mode 100644 index 00000000..23e84cf9 --- /dev/null +++ b/old_docs/API_docs_v40/constructors/auth.checkedPhone.md @@ -0,0 +1,38 @@ +--- +title: auth.checkedPhone +description: Checked phone +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.checkedPhone +[Back to constructors index](index.md) + + + +Checked phone + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_registered|[Bool](../types/Bool.md) | Yes|Phone registered?| + + + +### Type: [auth.CheckedPhone](../types/auth.CheckedPhone.md) + + +### Example: + +```php +$auth.checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool]; +``` + + +Or, if you're into Lua: + +```lua +auth.checkedPhone={_='auth.checkedPhone', phone_registered=Bool} + +``` + + diff --git a/old_docs/API_docs_v40/constructors/auth.exportedAuthorization.md b/old_docs/API_docs_v40/constructors/auth.exportedAuthorization.md new file mode 100644 index 00000000..2a4a9896 --- /dev/null +++ b/old_docs/API_docs_v40/constructors/auth.exportedAuthorization.md @@ -0,0 +1,39 @@ +--- +title: auth.exportedAuthorization +description: Data for copying of authorization between data centres. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.exportedAuthorization +[Back to constructors index](index.md) + + + +Data for copying of authorization between data centres. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|id|[int](../types/int.md) | Yes|Current user identifier| +|bytes|[bytes](../types/bytes.md) | Yes|Authorizes key| + + + +### Type: [auth.ExportedAuthorization](../types/auth.ExportedAuthorization.md) + + +### Example: + +```php +$auth.exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +auth.exportedAuthorization={_='auth.exportedAuthorization', id=int, bytes='bytes'} + +``` + + diff --git a/old_docs/API_docs_v40/constructors/auth.passwordRecovery.md b/old_docs/API_docs_v40/constructors/auth.passwordRecovery.md new file mode 100644 index 00000000..61de922d --- /dev/null +++ b/old_docs/API_docs_v40/constructors/auth.passwordRecovery.md @@ -0,0 +1,38 @@ +--- +title: auth.passwordRecovery +description: Recovery info of a [2FA password](https://core.telegram.org/api/srp), only for accounts with a [recovery email configured](https://core.telegram.org/api/srp#email-verification). +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.passwordRecovery +[Back to constructors index](index.md) + + + +Recovery info of a [2FA password](https://core.telegram.org/api/srp), only for accounts with a [recovery email configured](https://core.telegram.org/api/srp#email-verification). + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|email\_pattern|[string](../types/string.md) | Yes|The email to which the recovery code was sent must match this [pattern](https://core.telegram.org/api/pattern).| + + + +### Type: [auth.PasswordRecovery](../types/auth.PasswordRecovery.md) + + +### Example: + +```php +$auth.passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +auth.passwordRecovery={_='auth.passwordRecovery', email_pattern='string'} + +``` + + diff --git a/old_docs/API_docs_v40/constructors/auth.sentAppCode.md b/old_docs/API_docs_v40/constructors/auth.sentAppCode.md new file mode 100644 index 00000000..e4cd5ef0 --- /dev/null +++ b/old_docs/API_docs_v40/constructors/auth.sentAppCode.md @@ -0,0 +1,41 @@ +--- +title: auth.sentAppCode +description: Sent app code +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentAppCode +[Back to constructors index](index.md) + + + +Sent app code + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_registered|[Bool](../types/Bool.md) | Yes|Phone registered?| +|phone\_code\_hash|[string](../types/string.md) | Yes|Phone code hash| +|send\_call\_timeout|[int](../types/int.md) | Yes|Send call timeout| +|is\_password|[Bool](../types/Bool.md) | Yes|Is password?| + + + +### Type: [auth.SentCode](../types/auth.SentCode.md) + + +### Example: + +```php +$auth.sentAppCode = ['_' => 'auth.sentAppCode', 'phone_registered' => Bool, 'phone_code_hash' => 'string', 'send_call_timeout' => int, 'is_password' => Bool]; +``` + + +Or, if you're into Lua: + +```lua +auth.sentAppCode={_='auth.sentAppCode', phone_registered=Bool, phone_code_hash='string', send_call_timeout=int, is_password=Bool} + +``` + + diff --git a/old_docs/API_docs_v40/constructors/auth.sentCode.md b/old_docs/API_docs_v40/constructors/auth.sentCode.md new file mode 100644 index 00000000..c81a8042 --- /dev/null +++ b/old_docs/API_docs_v40/constructors/auth.sentCode.md @@ -0,0 +1,41 @@ +--- +title: auth.sentCode +description: Contains info about a sent verification code. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentCode +[Back to constructors index](index.md) + + + +Contains info about a sent verification code. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_registered|[Bool](../types/Bool.md) | Yes|Phone registered?| +|phone\_code\_hash|[string](../types/string.md) | Yes|Phone code hash, to be stored and later re-used with [auth.signIn](../methods/auth.signIn.md)| +|send\_call\_timeout|[int](../types/int.md) | Yes|Send call timeout| +|is\_password|[Bool](../types/Bool.md) | Yes|Is password?| + + + +### Type: [auth.SentCode](../types/auth.SentCode.md) + + +### Example: + +```php +$auth.sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'phone_code_hash' => 'string', 'send_call_timeout' => int, 'is_password' => Bool]; +``` + + +Or, if you're into Lua: + +```lua +auth.sentCode={_='auth.sentCode', phone_registered=Bool, phone_code_hash='string', send_call_timeout=int, is_password=Bool} + +``` + + diff --git a/old_docs/API_docs_v40/constructors/auth_authorization.md b/old_docs/API_docs_v40/constructors/auth_authorization.md deleted file mode 100644 index 07d223a1..00000000 --- a/old_docs/API_docs_v40/constructors/auth_authorization.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.authorization -description: Contains user authorization info. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.authorization -[Back to constructors index](index.md) - - - -Contains user authorization info. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|user|[User](../types/User.md) | Optional|Info on authorized user| - - - -### Type: [auth\_Authorization](../types/auth_Authorization.md) - - -### Example: - -```php -$auth_authorization = ['_' => 'auth.authorization', 'user' => User]; -``` - - -Or, if you're into Lua: - -```lua -auth_authorization={_='auth.authorization', user=User} - -``` - - diff --git a/old_docs/API_docs_v40/constructors/auth_checkedPhone.md b/old_docs/API_docs_v40/constructors/auth_checkedPhone.md deleted file mode 100644 index c77becf6..00000000 --- a/old_docs/API_docs_v40/constructors/auth_checkedPhone.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.checkedPhone -description: Checked phone -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.checkedPhone -[Back to constructors index](index.md) - - - -Checked phone - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_registered|[Bool](../types/Bool.md) | Yes|Phone registered?| - - - -### Type: [auth\_CheckedPhone](../types/auth_CheckedPhone.md) - - -### Example: - -```php -$auth_checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool]; -``` - - -Or, if you're into Lua: - -```lua -auth_checkedPhone={_='auth.checkedPhone', phone_registered=Bool} - -``` - - diff --git a/old_docs/API_docs_v40/constructors/auth_exportedAuthorization.md b/old_docs/API_docs_v40/constructors/auth_exportedAuthorization.md deleted file mode 100644 index 8d18916e..00000000 --- a/old_docs/API_docs_v40/constructors/auth_exportedAuthorization.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: auth.exportedAuthorization -description: Data for copying of authorization between data centres. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.exportedAuthorization -[Back to constructors index](index.md) - - - -Data for copying of authorization between data centres. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|id|[int](../types/int.md) | Yes|Current user identifier| -|bytes|[bytes](../types/bytes.md) | Yes|Authorizes key| - - - -### Type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) - - -### Example: - -```php -$auth_exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -auth_exportedAuthorization={_='auth.exportedAuthorization', id=int, bytes='bytes'} - -``` - - diff --git a/old_docs/API_docs_v40/constructors/auth_passwordRecovery.md b/old_docs/API_docs_v40/constructors/auth_passwordRecovery.md deleted file mode 100644 index c40f375e..00000000 --- a/old_docs/API_docs_v40/constructors/auth_passwordRecovery.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.passwordRecovery -description: Recovery info of a [2FA password](https://core.telegram.org/api/srp), only for accounts with a [recovery email configured](https://core.telegram.org/api/srp#email-verification). -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.passwordRecovery -[Back to constructors index](index.md) - - - -Recovery info of a [2FA password](https://core.telegram.org/api/srp), only for accounts with a [recovery email configured](https://core.telegram.org/api/srp#email-verification). - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|email\_pattern|[string](../types/string.md) | Yes|The email to which the recovery code was sent must match this [pattern](https://core.telegram.org/api/pattern).| - - - -### Type: [auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) - - -### Example: - -```php -$auth_passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -auth_passwordRecovery={_='auth.passwordRecovery', email_pattern='string'} - -``` - - diff --git a/old_docs/API_docs_v40/constructors/auth_sentAppCode.md b/old_docs/API_docs_v40/constructors/auth_sentAppCode.md deleted file mode 100644 index f61b0eb9..00000000 --- a/old_docs/API_docs_v40/constructors/auth_sentAppCode.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: auth.sentAppCode -description: Sent app code -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentAppCode -[Back to constructors index](index.md) - - - -Sent app code - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_registered|[Bool](../types/Bool.md) | Yes|Phone registered?| -|phone\_code\_hash|[string](../types/string.md) | Yes|Phone code hash| -|send\_call\_timeout|[int](../types/int.md) | Yes|Send call timeout| -|is\_password|[Bool](../types/Bool.md) | Yes|Is password?| - - - -### Type: [auth\_SentCode](../types/auth_SentCode.md) - - -### Example: - -```php -$auth_sentAppCode = ['_' => 'auth.sentAppCode', 'phone_registered' => Bool, 'phone_code_hash' => 'string', 'send_call_timeout' => int, 'is_password' => Bool]; -``` - - -Or, if you're into Lua: - -```lua -auth_sentAppCode={_='auth.sentAppCode', phone_registered=Bool, phone_code_hash='string', send_call_timeout=int, is_password=Bool} - -``` - - diff --git a/old_docs/API_docs_v40/constructors/auth_sentCode.md b/old_docs/API_docs_v40/constructors/auth_sentCode.md deleted file mode 100644 index 28a9ac2f..00000000 --- a/old_docs/API_docs_v40/constructors/auth_sentCode.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: auth.sentCode -description: Contains info about a sent verification code. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentCode -[Back to constructors index](index.md) - - - -Contains info about a sent verification code. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_registered|[Bool](../types/Bool.md) | Yes|Phone registered?| -|phone\_code\_hash|[string](../types/string.md) | Yes|Phone code hash, to be stored and later re-used with [auth.signIn](../methods/auth.signIn.md)| -|send\_call\_timeout|[int](../types/int.md) | Yes|Send call timeout| -|is\_password|[Bool](../types/Bool.md) | Yes|Is password?| - - - -### Type: [auth\_SentCode](../types/auth_SentCode.md) - - -### Example: - -```php -$auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'phone_code_hash' => 'string', 'send_call_timeout' => int, 'is_password' => Bool]; -``` - - -Or, if you're into Lua: - -```lua -auth_sentCode={_='auth.sentCode', phone_registered=Bool, phone_code_hash='string', send_call_timeout=int, is_password=Bool} - -``` - - diff --git a/old_docs/API_docs_v40/constructors/contacts.blocked.md b/old_docs/API_docs_v40/constructors/contacts.blocked.md new file mode 100644 index 00000000..d2b3f680 --- /dev/null +++ b/old_docs/API_docs_v40/constructors/contacts.blocked.md @@ -0,0 +1,39 @@ +--- +title: contacts.blocked +description: Full list of blocked users. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.blocked +[Back to constructors index](index.md) + + + +Full list of blocked users. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Blocked](../types/contacts.Blocked.md) + + +### Example: + +```php +$contacts.blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.blocked={_='contacts.blocked', blocked={ContactBlocked}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v40/constructors/contacts.blockedSlice.md b/old_docs/API_docs_v40/constructors/contacts.blockedSlice.md new file mode 100644 index 00000000..92d19c72 --- /dev/null +++ b/old_docs/API_docs_v40/constructors/contacts.blockedSlice.md @@ -0,0 +1,40 @@ +--- +title: contacts.blockedSlice +description: Incomplete list of blocked users. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.blockedSlice +[Back to constructors index](index.md) + + + +Incomplete list of blocked users. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of elements in the list| +|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Blocked](../types/contacts.Blocked.md) + + +### Example: + +```php +$contacts.blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.blockedSlice={_='contacts.blockedSlice', count=int, blocked={ContactBlocked}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v40/constructors/contacts.contacts.md b/old_docs/API_docs_v40/constructors/contacts.contacts.md new file mode 100644 index 00000000..d4ccc018 --- /dev/null +++ b/old_docs/API_docs_v40/constructors/contacts.contacts.md @@ -0,0 +1,39 @@ +--- +title: contacts.contacts +description: The current user's contact list and info on users. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.contacts +[Back to constructors index](index.md) + + + +The current user's contact list and info on users. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|contacts|Array of [Contact](../types/Contact.md) | Yes|Contacts| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Contacts](../types/contacts.Contacts.md) + + +### Example: + +```php +$contacts.contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact, Contact], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.contacts={_='contacts.contacts', contacts={Contact}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v40/constructors/contacts.contactsNotModified.md b/old_docs/API_docs_v40/constructors/contacts.contactsNotModified.md new file mode 100644 index 00000000..e2149396 --- /dev/null +++ b/old_docs/API_docs_v40/constructors/contacts.contactsNotModified.md @@ -0,0 +1,33 @@ +--- +title: contacts.contactsNotModified +description: Contact list on the server is the same as the list on the client. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.contactsNotModified +[Back to constructors index](index.md) + + + +Contact list on the server is the same as the list on the client. + + + + +### Type: [contacts.Contacts](../types/contacts.Contacts.md) + + +### Example: + +```php +$contacts.contactsNotModified = ['_' => 'contacts.contactsNotModified']; +``` + + +Or, if you're into Lua: + +```lua +contacts.contactsNotModified={_='contacts.contactsNotModified'} + +``` + + diff --git a/old_docs/API_docs_v40/constructors/contacts.found.md b/old_docs/API_docs_v40/constructors/contacts.found.md new file mode 100644 index 00000000..e7820220 --- /dev/null +++ b/old_docs/API_docs_v40/constructors/contacts.found.md @@ -0,0 +1,39 @@ +--- +title: contacts.found +description: Users found by name substring and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.found +[Back to constructors index](index.md) + + + +Users found by name substring and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|results|Array of [ContactFound](../types/ContactFound.md) | Yes|Results| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Found](../types/contacts.Found.md) + + +### Example: + +```php +$contacts.found = ['_' => 'contacts.found', 'results' => [ContactFound, ContactFound], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.found={_='contacts.found', results={ContactFound}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v40/constructors/contacts.importedContacts.md b/old_docs/API_docs_v40/constructors/contacts.importedContacts.md new file mode 100644 index 00000000..1cbff59a --- /dev/null +++ b/old_docs/API_docs_v40/constructors/contacts.importedContacts.md @@ -0,0 +1,40 @@ +--- +title: contacts.importedContacts +description: Info on succesfully imported contacts. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.importedContacts +[Back to constructors index](index.md) + + + +Info on succesfully imported contacts. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|imported|Array of [ImportedContact](../types/ImportedContact.md) | Yes|Imported| +|retry\_contacts|Array of [long](../types/long.md) | Yes|Retry importing contacts whose client IDs appear here| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.ImportedContacts](../types/contacts.ImportedContacts.md) + + +### Example: + +```php +$contacts.importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact, ImportedContact], 'retry_contacts' => [long, long], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.importedContacts={_='contacts.importedContacts', imported={ImportedContact}, retry_contacts={long}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v40/constructors/contacts.link.md b/old_docs/API_docs_v40/constructors/contacts.link.md new file mode 100644 index 00000000..ab150a0d --- /dev/null +++ b/old_docs/API_docs_v40/constructors/contacts.link.md @@ -0,0 +1,40 @@ +--- +title: contacts.link +description: Link +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.link +[Back to constructors index](index.md) + + + +Link + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|my\_link|[ContactLink](../types/ContactLink.md) | Yes|My link| +|foreign\_link|[ContactLink](../types/ContactLink.md) | Yes|Foreign link| +|user|[User](../types/User.md) | Optional|User| + + + +### Type: [contacts.Link](../types/contacts.Link.md) + + +### Example: + +```php +$contacts.link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User]; +``` + + +Or, if you're into Lua: + +```lua +contacts.link={_='contacts.link', my_link=ContactLink, foreign_link=ContactLink, user=User} + +``` + + diff --git a/old_docs/API_docs_v40/constructors/contacts.suggested.md b/old_docs/API_docs_v40/constructors/contacts.suggested.md new file mode 100644 index 00000000..b9a56bec --- /dev/null +++ b/old_docs/API_docs_v40/constructors/contacts.suggested.md @@ -0,0 +1,39 @@ +--- +title: contacts.suggested +description: Suggested +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.suggested +[Back to constructors index](index.md) + + + +Suggested + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|results|Array of [ContactSuggested](../types/ContactSuggested.md) | Yes|Results| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Suggested](../types/contacts.Suggested.md) + + +### Example: + +```php +$contacts.suggested = ['_' => 'contacts.suggested', 'results' => [ContactSuggested, ContactSuggested], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.suggested={_='contacts.suggested', results={ContactSuggested}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v40/constructors/contacts_blocked.md b/old_docs/API_docs_v40/constructors/contacts_blocked.md deleted file mode 100644 index 20e33002..00000000 --- a/old_docs/API_docs_v40/constructors/contacts_blocked.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: contacts.blocked -description: Full list of blocked users. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.blocked -[Back to constructors index](index.md) - - - -Full list of blocked users. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Blocked](../types/contacts_Blocked.md) - - -### Example: - -```php -$contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_blocked={_='contacts.blocked', blocked={ContactBlocked}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v40/constructors/contacts_blockedSlice.md b/old_docs/API_docs_v40/constructors/contacts_blockedSlice.md deleted file mode 100644 index fcab9a28..00000000 --- a/old_docs/API_docs_v40/constructors/contacts_blockedSlice.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.blockedSlice -description: Incomplete list of blocked users. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.blockedSlice -[Back to constructors index](index.md) - - - -Incomplete list of blocked users. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of elements in the list| -|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Blocked](../types/contacts_Blocked.md) - - -### Example: - -```php -$contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_blockedSlice={_='contacts.blockedSlice', count=int, blocked={ContactBlocked}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v40/constructors/contacts_contacts.md b/old_docs/API_docs_v40/constructors/contacts_contacts.md deleted file mode 100644 index f101b34b..00000000 --- a/old_docs/API_docs_v40/constructors/contacts_contacts.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: contacts.contacts -description: The current user's contact list and info on users. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.contacts -[Back to constructors index](index.md) - - - -The current user's contact list and info on users. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|contacts|Array of [Contact](../types/Contact.md) | Yes|Contacts| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Contacts](../types/contacts_Contacts.md) - - -### Example: - -```php -$contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact, Contact], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_contacts={_='contacts.contacts', contacts={Contact}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v40/constructors/contacts_contactsNotModified.md b/old_docs/API_docs_v40/constructors/contacts_contactsNotModified.md deleted file mode 100644 index 17e76ac3..00000000 --- a/old_docs/API_docs_v40/constructors/contacts_contactsNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: contacts.contactsNotModified -description: Contact list on the server is the same as the list on the client. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.contactsNotModified -[Back to constructors index](index.md) - - - -Contact list on the server is the same as the list on the client. - - - - -### Type: [contacts\_Contacts](../types/contacts_Contacts.md) - - -### Example: - -```php -$contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified']; -``` - - -Or, if you're into Lua: - -```lua -contacts_contactsNotModified={_='contacts.contactsNotModified'} - -``` - - diff --git a/old_docs/API_docs_v40/constructors/contacts_found.md b/old_docs/API_docs_v40/constructors/contacts_found.md deleted file mode 100644 index a3f36963..00000000 --- a/old_docs/API_docs_v40/constructors/contacts_found.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: contacts.found -description: Users found by name substring and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.found -[Back to constructors index](index.md) - - - -Users found by name substring and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|results|Array of [ContactFound](../types/ContactFound.md) | Yes|Results| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Found](../types/contacts_Found.md) - - -### Example: - -```php -$contacts_found = ['_' => 'contacts.found', 'results' => [ContactFound, ContactFound], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_found={_='contacts.found', results={ContactFound}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v40/constructors/contacts_importedContacts.md b/old_docs/API_docs_v40/constructors/contacts_importedContacts.md deleted file mode 100644 index 121d96d1..00000000 --- a/old_docs/API_docs_v40/constructors/contacts_importedContacts.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.importedContacts -description: Info on succesfully imported contacts. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.importedContacts -[Back to constructors index](index.md) - - - -Info on succesfully imported contacts. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|imported|Array of [ImportedContact](../types/ImportedContact.md) | Yes|Imported| -|retry\_contacts|Array of [long](../types/long.md) | Yes|Retry importing contacts whose client IDs appear here| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) - - -### Example: - -```php -$contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact, ImportedContact], 'retry_contacts' => [long, long], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_importedContacts={_='contacts.importedContacts', imported={ImportedContact}, retry_contacts={long}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v40/constructors/contacts_link.md b/old_docs/API_docs_v40/constructors/contacts_link.md deleted file mode 100644 index cfc566c7..00000000 --- a/old_docs/API_docs_v40/constructors/contacts_link.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.link -description: Link -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.link -[Back to constructors index](index.md) - - - -Link - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|my\_link|[ContactLink](../types/ContactLink.md) | Yes|My link| -|foreign\_link|[ContactLink](../types/ContactLink.md) | Yes|Foreign link| -|user|[User](../types/User.md) | Optional|User| - - - -### Type: [contacts\_Link](../types/contacts_Link.md) - - -### Example: - -```php -$contacts_link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User]; -``` - - -Or, if you're into Lua: - -```lua -contacts_link={_='contacts.link', my_link=ContactLink, foreign_link=ContactLink, user=User} - -``` - - diff --git a/old_docs/API_docs_v40/constructors/contacts_suggested.md b/old_docs/API_docs_v40/constructors/contacts_suggested.md deleted file mode 100644 index 9bdba0b7..00000000 --- a/old_docs/API_docs_v40/constructors/contacts_suggested.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: contacts.suggested -description: Suggested -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.suggested -[Back to constructors index](index.md) - - - -Suggested - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|results|Array of [ContactSuggested](../types/ContactSuggested.md) | Yes|Results| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Suggested](../types/contacts_Suggested.md) - - -### Example: - -```php -$contacts_suggested = ['_' => 'contacts.suggested', 'results' => [ContactSuggested, ContactSuggested], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_suggested={_='contacts.suggested', results={ContactSuggested}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v40/constructors/help.appChangelog.md b/old_docs/API_docs_v40/constructors/help.appChangelog.md new file mode 100644 index 00000000..dec6b96c --- /dev/null +++ b/old_docs/API_docs_v40/constructors/help.appChangelog.md @@ -0,0 +1,38 @@ +--- +title: help.appChangelog +description: App changelog +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.appChangelog +[Back to constructors index](index.md) + + + +App changelog + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|text|[string](../types/string.md) | Yes|Text| + + + +### Type: [help.AppChangelog](../types/help.AppChangelog.md) + + +### Example: + +```php +$help.appChangelog = ['_' => 'help.appChangelog', 'text' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +help.appChangelog={_='help.appChangelog', text='string'} + +``` + + diff --git a/old_docs/API_docs_v40/constructors/help.appChangelogEmpty.md b/old_docs/API_docs_v40/constructors/help.appChangelogEmpty.md new file mode 100644 index 00000000..6ecb71af --- /dev/null +++ b/old_docs/API_docs_v40/constructors/help.appChangelogEmpty.md @@ -0,0 +1,33 @@ +--- +title: help.appChangelogEmpty +description: Empty app changelog +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.appChangelogEmpty +[Back to constructors index](index.md) + + + +Empty app changelog + + + + +### Type: [help.AppChangelog](../types/help.AppChangelog.md) + + +### Example: + +```php +$help.appChangelogEmpty = ['_' => 'help.appChangelogEmpty']; +``` + + +Or, if you're into Lua: + +```lua +help.appChangelogEmpty={_='help.appChangelogEmpty'} + +``` + + diff --git a/old_docs/API_docs_v40/constructors/help.appUpdate.md b/old_docs/API_docs_v40/constructors/help.appUpdate.md new file mode 100644 index 00000000..14b2d75b --- /dev/null +++ b/old_docs/API_docs_v40/constructors/help.appUpdate.md @@ -0,0 +1,41 @@ +--- +title: help.appUpdate +description: An update is available for the application. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.appUpdate +[Back to constructors index](index.md) + + + +An update is available for the application. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|id|[int](../types/int.md) | Yes|Update ID| +|critical|[Bool](../types/Bool.md) | Yes|Critical?| +|url|[string](../types/string.md) | Yes|Application download URL| +|text|[string](../types/string.md) | Yes|Text description of the update| + + + +### Type: [help.AppUpdate](../types/help.AppUpdate.md) + + +### Example: + +```php +$help.appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'url' => 'string', 'text' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +help.appUpdate={_='help.appUpdate', id=int, critical=Bool, url='string', text='string'} + +``` + + diff --git a/old_docs/API_docs_v40/constructors/help.inviteText.md b/old_docs/API_docs_v40/constructors/help.inviteText.md new file mode 100644 index 00000000..6a6261c1 --- /dev/null +++ b/old_docs/API_docs_v40/constructors/help.inviteText.md @@ -0,0 +1,38 @@ +--- +title: help.inviteText +description: Text of a text message with an invitation to install application. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.inviteText +[Back to constructors index](index.md) + + + +Text of a text message with an invitation to install application. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|message|[string](../types/string.md) | Yes|Text of a message| + + + +### Type: [help.InviteText](../types/help.InviteText.md) + + +### Example: + +```php +$help.inviteText = ['_' => 'help.inviteText', 'message' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +help.inviteText={_='help.inviteText', message='string'} + +``` + + diff --git a/old_docs/API_docs_v40/constructors/help.noAppUpdate.md b/old_docs/API_docs_v40/constructors/help.noAppUpdate.md new file mode 100644 index 00000000..1b69ac9a --- /dev/null +++ b/old_docs/API_docs_v40/constructors/help.noAppUpdate.md @@ -0,0 +1,33 @@ +--- +title: help.noAppUpdate +description: No updates are available for the application. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.noAppUpdate +[Back to constructors index](index.md) + + + +No updates are available for the application. + + + + +### Type: [help.AppUpdate](../types/help.AppUpdate.md) + + +### Example: + +```php +$help.noAppUpdate = ['_' => 'help.noAppUpdate']; +``` + + +Or, if you're into Lua: + +```lua +help.noAppUpdate={_='help.noAppUpdate'} + +``` + + diff --git a/old_docs/API_docs_v40/constructors/help.support.md b/old_docs/API_docs_v40/constructors/help.support.md new file mode 100644 index 00000000..4d4f85fb --- /dev/null +++ b/old_docs/API_docs_v40/constructors/help.support.md @@ -0,0 +1,39 @@ +--- +title: help.support +description: Info on support user. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.support +[Back to constructors index](index.md) + + + +Info on support user. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_number|[string](../types/string.md) | Yes|Phone number| +|user|[User](../types/User.md) | Optional|User| + + + +### Type: [help.Support](../types/help.Support.md) + + +### Example: + +```php +$help.support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => User]; +``` + + +Or, if you're into Lua: + +```lua +help.support={_='help.support', phone_number='string', user=User} + +``` + + diff --git a/old_docs/API_docs_v40/constructors/help_appChangelog.md b/old_docs/API_docs_v40/constructors/help_appChangelog.md deleted file mode 100644 index 793a8fc4..00000000 --- a/old_docs/API_docs_v40/constructors/help_appChangelog.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: help.appChangelog -description: App changelog -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.appChangelog -[Back to constructors index](index.md) - - - -App changelog - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|text|[string](../types/string.md) | Yes|Text| - - - -### Type: [help\_AppChangelog](../types/help_AppChangelog.md) - - -### Example: - -```php -$help_appChangelog = ['_' => 'help.appChangelog', 'text' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -help_appChangelog={_='help.appChangelog', text='string'} - -``` - - diff --git a/old_docs/API_docs_v40/constructors/help_appChangelogEmpty.md b/old_docs/API_docs_v40/constructors/help_appChangelogEmpty.md deleted file mode 100644 index 62a195bb..00000000 --- a/old_docs/API_docs_v40/constructors/help_appChangelogEmpty.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: help.appChangelogEmpty -description: Empty app changelog -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.appChangelogEmpty -[Back to constructors index](index.md) - - - -Empty app changelog - - - - -### Type: [help\_AppChangelog](../types/help_AppChangelog.md) - - -### Example: - -```php -$help_appChangelogEmpty = ['_' => 'help.appChangelogEmpty']; -``` - - -Or, if you're into Lua: - -```lua -help_appChangelogEmpty={_='help.appChangelogEmpty'} - -``` - - diff --git a/old_docs/API_docs_v40/constructors/help_appUpdate.md b/old_docs/API_docs_v40/constructors/help_appUpdate.md deleted file mode 100644 index efba9bdb..00000000 --- a/old_docs/API_docs_v40/constructors/help_appUpdate.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: help.appUpdate -description: An update is available for the application. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.appUpdate -[Back to constructors index](index.md) - - - -An update is available for the application. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|id|[int](../types/int.md) | Yes|Update ID| -|critical|[Bool](../types/Bool.md) | Yes|Critical?| -|url|[string](../types/string.md) | Yes|Application download URL| -|text|[string](../types/string.md) | Yes|Text description of the update| - - - -### Type: [help\_AppUpdate](../types/help_AppUpdate.md) - - -### Example: - -```php -$help_appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'url' => 'string', 'text' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -help_appUpdate={_='help.appUpdate', id=int, critical=Bool, url='string', text='string'} - -``` - - diff --git a/old_docs/API_docs_v40/constructors/help_inviteText.md b/old_docs/API_docs_v40/constructors/help_inviteText.md deleted file mode 100644 index b8317ce3..00000000 --- a/old_docs/API_docs_v40/constructors/help_inviteText.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: help.inviteText -description: Text of a text message with an invitation to install application. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.inviteText -[Back to constructors index](index.md) - - - -Text of a text message with an invitation to install application. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|message|[string](../types/string.md) | Yes|Text of a message| - - - -### Type: [help\_InviteText](../types/help_InviteText.md) - - -### Example: - -```php -$help_inviteText = ['_' => 'help.inviteText', 'message' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -help_inviteText={_='help.inviteText', message='string'} - -``` - - diff --git a/old_docs/API_docs_v40/constructors/help_noAppUpdate.md b/old_docs/API_docs_v40/constructors/help_noAppUpdate.md deleted file mode 100644 index 51505e52..00000000 --- a/old_docs/API_docs_v40/constructors/help_noAppUpdate.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: help.noAppUpdate -description: No updates are available for the application. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.noAppUpdate -[Back to constructors index](index.md) - - - -No updates are available for the application. - - - - -### Type: [help\_AppUpdate](../types/help_AppUpdate.md) - - -### Example: - -```php -$help_noAppUpdate = ['_' => 'help.noAppUpdate']; -``` - - -Or, if you're into Lua: - -```lua -help_noAppUpdate={_='help.noAppUpdate'} - -``` - - diff --git a/old_docs/API_docs_v40/constructors/help_support.md b/old_docs/API_docs_v40/constructors/help_support.md deleted file mode 100644 index 148f7f42..00000000 --- a/old_docs/API_docs_v40/constructors/help_support.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: help.support -description: Info on support user. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.support -[Back to constructors index](index.md) - - - -Info on support user. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_number|[string](../types/string.md) | Yes|Phone number| -|user|[User](../types/User.md) | Optional|User| - - - -### Type: [help\_Support](../types/help_Support.md) - - -### Example: - -```php -$help_support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => User]; -``` - - -Or, if you're into Lua: - -```lua -help_support={_='help.support', phone_number='string', user=User} - -``` - - diff --git a/old_docs/API_docs_v40/constructors/messages.affectedHistory.md b/old_docs/API_docs_v40/constructors/messages.affectedHistory.md new file mode 100644 index 00000000..5fc8acec --- /dev/null +++ b/old_docs/API_docs_v40/constructors/messages.affectedHistory.md @@ -0,0 +1,40 @@ +--- +title: messages.affectedHistory +description: Affected part of communication history with the user or in a chat. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.affectedHistory +[Back to constructors index](index.md) + + + +Affected part of communication history with the user or in a chat. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| +|pts\_count|[int](../types/int.md) | Yes|Number of affected events| +|offset|[int](../types/int.md) | Yes|If a parameter contains positive value, it is necessary to repeat the method call using the given value; during the proceeding of all the history the value itself shall gradually decrease| + + + +### Type: [messages.AffectedHistory](../types/messages.AffectedHistory.md) + + +### Example: + +```php +$messages.affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.affectedHistory={_='messages.affectedHistory', pts=int, pts_count=int, offset=int} + +``` + + diff --git a/old_docs/API_docs_v40/constructors/messages.affectedMessages.md b/old_docs/API_docs_v40/constructors/messages.affectedMessages.md new file mode 100644 index 00000000..a0e60bdf --- /dev/null +++ b/old_docs/API_docs_v40/constructors/messages.affectedMessages.md @@ -0,0 +1,39 @@ +--- +title: messages.affectedMessages +description: Events affected by operation +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.affectedMessages +[Back to constructors index](index.md) + + + +Events affected by operation + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|[Event count after generation](https://core.telegram.org/api/updates)| +|pts\_count|[int](../types/int.md) | Yes|[Number of events that were generated](https://core.telegram.org/api/updates)| + + + +### Type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) + + +### Example: + +```php +$messages.affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.affectedMessages={_='messages.affectedMessages', pts=int, pts_count=int} + +``` + + diff --git a/old_docs/API_docs_v40/constructors/messages.allStickers.md b/old_docs/API_docs_v40/constructors/messages.allStickers.md new file mode 100644 index 00000000..2f9cc6e8 --- /dev/null +++ b/old_docs/API_docs_v40/constructors/messages.allStickers.md @@ -0,0 +1,39 @@ +--- +title: messages.allStickers +description: Info about all installed stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.allStickers +[Back to constructors index](index.md) + + + +Info about all installed stickers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[string](../types/string.md) | Yes|Hash| +|sets|Array of [StickerSet](../types/StickerSet.md) | Yes|Sets| + + + +### Type: [messages.AllStickers](../types/messages.AllStickers.md) + + +### Example: + +```php +$messages.allStickers = ['_' => 'messages.allStickers', 'hash' => 'string', 'sets' => [StickerSet, StickerSet]]; +``` + + +Or, if you're into Lua: + +```lua +messages.allStickers={_='messages.allStickers', hash='string', sets={StickerSet}} + +``` + + diff --git a/old_docs/API_docs_v40/constructors/messages.allStickersNotModified.md b/old_docs/API_docs_v40/constructors/messages.allStickersNotModified.md new file mode 100644 index 00000000..d3db088b --- /dev/null +++ b/old_docs/API_docs_v40/constructors/messages.allStickersNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.allStickersNotModified +description: Info about all installed stickers hasn't changed +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.allStickersNotModified +[Back to constructors index](index.md) + + + +Info about all installed stickers hasn't changed + + + + +### Type: [messages.AllStickers](../types/messages.AllStickers.md) + + +### Example: + +```php +$messages.allStickersNotModified = ['_' => 'messages.allStickersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.allStickersNotModified={_='messages.allStickersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v40/constructors/messages.channelMessages.md b/old_docs/API_docs_v40/constructors/messages.channelMessages.md new file mode 100644 index 00000000..26b60293 --- /dev/null +++ b/old_docs/API_docs_v40/constructors/messages.channelMessages.md @@ -0,0 +1,43 @@ +--- +title: messages.channelMessages +description: Channel messages +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.channelMessages +[Back to constructors index](index.md) + + + +Channel messages + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|[Event count after generation](https://core.telegram.org/api/updates)| +|count|[int](../types/int.md) | Yes|Total number of results were found server-side (may not be all included here)| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|collapsed|Array of [MessageGroup](../types/MessageGroup.md) | Optional|Collapsed| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Messages](../types/messages.Messages.md) + + +### Example: + +```php +$messages.channelMessages = ['_' => 'messages.channelMessages', 'pts' => int, 'count' => int, 'messages' => [Message, Message], 'collapsed' => [MessageGroup, MessageGroup], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.channelMessages={_='messages.channelMessages', pts=int, count=int, messages={Message}, collapsed={MessageGroup}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v40/constructors/messages.chatFull.md b/old_docs/API_docs_v40/constructors/messages.chatFull.md new file mode 100644 index 00000000..3906cc54 --- /dev/null +++ b/old_docs/API_docs_v40/constructors/messages.chatFull.md @@ -0,0 +1,40 @@ +--- +title: messages.chatFull +description: Extended info on chat and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.chatFull +[Back to constructors index](index.md) + + + +Extended info on chat and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|full\_chat|[ChatFull](../types/ChatFull.md) | Yes|Extended info on a chat| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.ChatFull](../types/messages.ChatFull.md) + + +### Example: + +```php +$messages.chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.chatFull={_='messages.chatFull', full_chat=ChatFull, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v40/constructors/messages.chats.md b/old_docs/API_docs_v40/constructors/messages.chats.md new file mode 100644 index 00000000..9ede9ff2 --- /dev/null +++ b/old_docs/API_docs_v40/constructors/messages.chats.md @@ -0,0 +1,38 @@ +--- +title: messages.chats +description: List of chats with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.chats +[Back to constructors index](index.md) + + + +List of chats with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| + + + +### Type: [messages.Chats](../types/messages.Chats.md) + + +### Example: + +```php +$messages.chats = ['_' => 'messages.chats', 'chats' => [Chat, Chat]]; +``` + + +Or, if you're into Lua: + +```lua +messages.chats={_='messages.chats', chats={Chat}} + +``` + + diff --git a/old_docs/API_docs_v40/constructors/messages.dhConfig.md b/old_docs/API_docs_v40/constructors/messages.dhConfig.md new file mode 100644 index 00000000..58344f64 --- /dev/null +++ b/old_docs/API_docs_v40/constructors/messages.dhConfig.md @@ -0,0 +1,41 @@ +--- +title: messages.dhConfig +description: New set of configuring parameters. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dhConfig +[Back to constructors index](index.md) + + + +New set of configuring parameters. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|g|[int](../types/int.md) | Yes|New value **prime**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| +|p|[bytes](../types/bytes.md) | Yes|New value **primitive root**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| +|version|[int](../types/int.md) | Yes|Vestion of set of parameters| +|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| + + + +### Type: [messages.DhConfig](../types/messages.DhConfig.md) + + +### Example: + +```php +$messages.dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'version' => int, 'random' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +messages.dhConfig={_='messages.dhConfig', g=int, p='bytes', version=int, random='bytes'} + +``` + + diff --git a/old_docs/API_docs_v40/constructors/messages.dhConfigNotModified.md b/old_docs/API_docs_v40/constructors/messages.dhConfigNotModified.md new file mode 100644 index 00000000..a9a95389 --- /dev/null +++ b/old_docs/API_docs_v40/constructors/messages.dhConfigNotModified.md @@ -0,0 +1,38 @@ +--- +title: messages.dhConfigNotModified +description: Configuring parameters did not change. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dhConfigNotModified +[Back to constructors index](index.md) + + + +Configuring parameters did not change. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| + + + +### Type: [messages.DhConfig](../types/messages.DhConfig.md) + + +### Example: + +```php +$messages.dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +messages.dhConfigNotModified={_='messages.dhConfigNotModified', random='bytes'} + +``` + + diff --git a/old_docs/API_docs_v40/constructors/messages.dialogs.md b/old_docs/API_docs_v40/constructors/messages.dialogs.md new file mode 100644 index 00000000..a72eabce --- /dev/null +++ b/old_docs/API_docs_v40/constructors/messages.dialogs.md @@ -0,0 +1,41 @@ +--- +title: messages.dialogs +description: Full list of chats with messages and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dialogs +[Back to constructors index](index.md) + + + +Full list of chats with messages and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Dialogs](../types/messages.Dialogs.md) + + +### Example: + +```php +$messages.dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.dialogs={_='messages.dialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v40/constructors/messages.dialogsSlice.md b/old_docs/API_docs_v40/constructors/messages.dialogsSlice.md new file mode 100644 index 00000000..26227d2c --- /dev/null +++ b/old_docs/API_docs_v40/constructors/messages.dialogsSlice.md @@ -0,0 +1,42 @@ +--- +title: messages.dialogsSlice +description: Incomplete list of dialogs with messages and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dialogsSlice +[Back to constructors index](index.md) + + + +Incomplete list of dialogs with messages and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of dialogs| +|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Dialogs](../types/messages.Dialogs.md) + + +### Example: + +```php +$messages.dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.dialogsSlice={_='messages.dialogsSlice', count=int, dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v40/constructors/messages.messages.md b/old_docs/API_docs_v40/constructors/messages.messages.md new file mode 100644 index 00000000..3af71dca --- /dev/null +++ b/old_docs/API_docs_v40/constructors/messages.messages.md @@ -0,0 +1,40 @@ +--- +title: messages.messages +description: Full list of messages with auxilary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.messages +[Back to constructors index](index.md) + + + +Full list of messages with auxilary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Messages](../types/messages.Messages.md) + + +### Example: + +```php +$messages.messages = ['_' => 'messages.messages', 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.messages={_='messages.messages', messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v40/constructors/messages.messagesSlice.md b/old_docs/API_docs_v40/constructors/messages.messagesSlice.md new file mode 100644 index 00000000..2fe91df0 --- /dev/null +++ b/old_docs/API_docs_v40/constructors/messages.messagesSlice.md @@ -0,0 +1,41 @@ +--- +title: messages.messagesSlice +description: Incomplete list of messages and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.messagesSlice +[Back to constructors index](index.md) + + + +Incomplete list of messages and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of messages in the list| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Messages](../types/messages.Messages.md) + + +### Example: + +```php +$messages.messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.messagesSlice={_='messages.messagesSlice', count=int, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v40/constructors/messages.sentEncryptedFile.md b/old_docs/API_docs_v40/constructors/messages.sentEncryptedFile.md new file mode 100644 index 00000000..1f0e43c6 --- /dev/null +++ b/old_docs/API_docs_v40/constructors/messages.sentEncryptedFile.md @@ -0,0 +1,39 @@ +--- +title: messages.sentEncryptedFile +description: Message with a file enclosure sent to a protected chat +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.sentEncryptedFile +[Back to constructors index](index.md) + + + +Message with a file enclosure sent to a protected chat + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Sending date| +|file|[EncryptedFile](../types/EncryptedFile.md) | Optional|Attached file| + + + +### Type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) + + +### Example: + +```php +$messages.sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile]; +``` + + +Or, if you're into Lua: + +```lua +messages.sentEncryptedFile={_='messages.sentEncryptedFile', date=int, file=EncryptedFile} + +``` + + diff --git a/old_docs/API_docs_v40/constructors/messages.sentEncryptedMessage.md b/old_docs/API_docs_v40/constructors/messages.sentEncryptedMessage.md new file mode 100644 index 00000000..3d5eb40c --- /dev/null +++ b/old_docs/API_docs_v40/constructors/messages.sentEncryptedMessage.md @@ -0,0 +1,38 @@ +--- +title: messages.sentEncryptedMessage +description: Message without file attachemts sent to an encrypted file. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.sentEncryptedMessage +[Back to constructors index](index.md) + + + +Message without file attachemts sent to an encrypted file. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Date of sending| + + + +### Type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) + + +### Example: + +```php +$messages.sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.sentEncryptedMessage={_='messages.sentEncryptedMessage', date=int} + +``` + + diff --git a/old_docs/API_docs_v40/constructors/messages.stickerSet.md b/old_docs/API_docs_v40/constructors/messages.stickerSet.md new file mode 100644 index 00000000..fbc154d0 --- /dev/null +++ b/old_docs/API_docs_v40/constructors/messages.stickerSet.md @@ -0,0 +1,40 @@ +--- +title: messages.stickerSet +description: Stickerset and stickers inside it +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickerSet +[Back to constructors index](index.md) + + + +Stickerset and stickers inside it + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|set|[StickerSet](../types/StickerSet.md) | Yes|The stickerset| +|packs|Array of [StickerPack](../types/StickerPack.md) | Yes|Packs| +|documents|Array of [Document](../types/Document.md) | Yes|Documents| + + + +### Type: [messages.StickerSet](../types/messages.StickerSet.md) + + +### Example: + +```php +$messages.stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'packs' => [StickerPack, StickerPack], 'documents' => [Document, Document]]; +``` + + +Or, if you're into Lua: + +```lua +messages.stickerSet={_='messages.stickerSet', set=StickerSet, packs={StickerPack}, documents={Document}} + +``` + + diff --git a/old_docs/API_docs_v40/constructors/messages.stickers.md b/old_docs/API_docs_v40/constructors/messages.stickers.md new file mode 100644 index 00000000..310b64b0 --- /dev/null +++ b/old_docs/API_docs_v40/constructors/messages.stickers.md @@ -0,0 +1,39 @@ +--- +title: messages.stickers +description: Found stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickers +[Back to constructors index](index.md) + + + +Found stickers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[string](../types/string.md) | Yes|Hash| +|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| + + + +### Type: [messages.Stickers](../types/messages.Stickers.md) + + +### Example: + +```php +$messages.stickers = ['_' => 'messages.stickers', 'hash' => 'string', 'stickers' => [Document, Document]]; +``` + + +Or, if you're into Lua: + +```lua +messages.stickers={_='messages.stickers', hash='string', stickers={Document}} + +``` + + diff --git a/old_docs/API_docs_v40/constructors/messages.stickersNotModified.md b/old_docs/API_docs_v40/constructors/messages.stickersNotModified.md new file mode 100644 index 00000000..e8c7766c --- /dev/null +++ b/old_docs/API_docs_v40/constructors/messages.stickersNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.stickersNotModified +description: No new stickers were found for the given query +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickersNotModified +[Back to constructors index](index.md) + + + +No new stickers were found for the given query + + + + +### Type: [messages.Stickers](../types/messages.Stickers.md) + + +### Example: + +```php +$messages.stickersNotModified = ['_' => 'messages.stickersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.stickersNotModified={_='messages.stickersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v40/constructors/messages_affectedHistory.md b/old_docs/API_docs_v40/constructors/messages_affectedHistory.md deleted file mode 100644 index 449a7e3f..00000000 --- a/old_docs/API_docs_v40/constructors/messages_affectedHistory.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.affectedHistory -description: Affected part of communication history with the user or in a chat. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.affectedHistory -[Back to constructors index](index.md) - - - -Affected part of communication history with the user or in a chat. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| -|pts\_count|[int](../types/int.md) | Yes|Number of affected events| -|offset|[int](../types/int.md) | Yes|If a parameter contains positive value, it is necessary to repeat the method call using the given value; during the proceeding of all the history the value itself shall gradually decrease| - - - -### Type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) - - -### Example: - -```php -$messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_affectedHistory={_='messages.affectedHistory', pts=int, pts_count=int, offset=int} - -``` - - diff --git a/old_docs/API_docs_v40/constructors/messages_affectedMessages.md b/old_docs/API_docs_v40/constructors/messages_affectedMessages.md deleted file mode 100644 index 86760581..00000000 --- a/old_docs/API_docs_v40/constructors/messages_affectedMessages.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.affectedMessages -description: Events affected by operation -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.affectedMessages -[Back to constructors index](index.md) - - - -Events affected by operation - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|[Event count after generation](https://core.telegram.org/api/updates)| -|pts\_count|[int](../types/int.md) | Yes|[Number of events that were generated](https://core.telegram.org/api/updates)| - - - -### Type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) - - -### Example: - -```php -$messages_affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_affectedMessages={_='messages.affectedMessages', pts=int, pts_count=int} - -``` - - diff --git a/old_docs/API_docs_v40/constructors/messages_allStickers.md b/old_docs/API_docs_v40/constructors/messages_allStickers.md deleted file mode 100644 index dfbaf47e..00000000 --- a/old_docs/API_docs_v40/constructors/messages_allStickers.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.allStickers -description: Info about all installed stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.allStickers -[Back to constructors index](index.md) - - - -Info about all installed stickers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[string](../types/string.md) | Yes|Hash| -|sets|Array of [StickerSet](../types/StickerSet.md) | Yes|Sets| - - - -### Type: [messages\_AllStickers](../types/messages_AllStickers.md) - - -### Example: - -```php -$messages_allStickers = ['_' => 'messages.allStickers', 'hash' => 'string', 'sets' => [StickerSet, StickerSet]]; -``` - - -Or, if you're into Lua: - -```lua -messages_allStickers={_='messages.allStickers', hash='string', sets={StickerSet}} - -``` - - diff --git a/old_docs/API_docs_v40/constructors/messages_allStickersNotModified.md b/old_docs/API_docs_v40/constructors/messages_allStickersNotModified.md deleted file mode 100644 index c4da85ab..00000000 --- a/old_docs/API_docs_v40/constructors/messages_allStickersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.allStickersNotModified -description: Info about all installed stickers hasn't changed -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.allStickersNotModified -[Back to constructors index](index.md) - - - -Info about all installed stickers hasn't changed - - - - -### Type: [messages\_AllStickers](../types/messages_AllStickers.md) - - -### Example: - -```php -$messages_allStickersNotModified = ['_' => 'messages.allStickersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_allStickersNotModified={_='messages.allStickersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v40/constructors/messages_channelMessages.md b/old_docs/API_docs_v40/constructors/messages_channelMessages.md deleted file mode 100644 index f59dea09..00000000 --- a/old_docs/API_docs_v40/constructors/messages_channelMessages.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: messages.channelMessages -description: Channel messages -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.channelMessages -[Back to constructors index](index.md) - - - -Channel messages - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|[Event count after generation](https://core.telegram.org/api/updates)| -|count|[int](../types/int.md) | Yes|Total number of results were found server-side (may not be all included here)| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|collapsed|Array of [MessageGroup](../types/MessageGroup.md) | Optional|Collapsed| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Messages](../types/messages_Messages.md) - - -### Example: - -```php -$messages_channelMessages = ['_' => 'messages.channelMessages', 'pts' => int, 'count' => int, 'messages' => [Message, Message], 'collapsed' => [MessageGroup, MessageGroup], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_channelMessages={_='messages.channelMessages', pts=int, count=int, messages={Message}, collapsed={MessageGroup}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v40/constructors/messages_chatFull.md b/old_docs/API_docs_v40/constructors/messages_chatFull.md deleted file mode 100644 index 02f1acdf..00000000 --- a/old_docs/API_docs_v40/constructors/messages_chatFull.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.chatFull -description: Extended info on chat and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.chatFull -[Back to constructors index](index.md) - - - -Extended info on chat and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|full\_chat|[ChatFull](../types/ChatFull.md) | Yes|Extended info on a chat| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_ChatFull](../types/messages_ChatFull.md) - - -### Example: - -```php -$messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_chatFull={_='messages.chatFull', full_chat=ChatFull, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v40/constructors/messages_chats.md b/old_docs/API_docs_v40/constructors/messages_chats.md deleted file mode 100644 index ef3690a9..00000000 --- a/old_docs/API_docs_v40/constructors/messages_chats.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.chats -description: List of chats with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.chats -[Back to constructors index](index.md) - - - -List of chats with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| - - - -### Type: [messages\_Chats](../types/messages_Chats.md) - - -### Example: - -```php -$messages_chats = ['_' => 'messages.chats', 'chats' => [Chat, Chat]]; -``` - - -Or, if you're into Lua: - -```lua -messages_chats={_='messages.chats', chats={Chat}} - -``` - - diff --git a/old_docs/API_docs_v40/constructors/messages_dhConfig.md b/old_docs/API_docs_v40/constructors/messages_dhConfig.md deleted file mode 100644 index 42c2feb1..00000000 --- a/old_docs/API_docs_v40/constructors/messages_dhConfig.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: messages.dhConfig -description: New set of configuring parameters. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dhConfig -[Back to constructors index](index.md) - - - -New set of configuring parameters. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|g|[int](../types/int.md) | Yes|New value **prime**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| -|p|[bytes](../types/bytes.md) | Yes|New value **primitive root**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| -|version|[int](../types/int.md) | Yes|Vestion of set of parameters| -|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| - - - -### Type: [messages\_DhConfig](../types/messages_DhConfig.md) - - -### Example: - -```php -$messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'version' => int, 'random' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -messages_dhConfig={_='messages.dhConfig', g=int, p='bytes', version=int, random='bytes'} - -``` - - diff --git a/old_docs/API_docs_v40/constructors/messages_dhConfigNotModified.md b/old_docs/API_docs_v40/constructors/messages_dhConfigNotModified.md deleted file mode 100644 index 5bf64230..00000000 --- a/old_docs/API_docs_v40/constructors/messages_dhConfigNotModified.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.dhConfigNotModified -description: Configuring parameters did not change. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dhConfigNotModified -[Back to constructors index](index.md) - - - -Configuring parameters did not change. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| - - - -### Type: [messages\_DhConfig](../types/messages_DhConfig.md) - - -### Example: - -```php -$messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -messages_dhConfigNotModified={_='messages.dhConfigNotModified', random='bytes'} - -``` - - diff --git a/old_docs/API_docs_v40/constructors/messages_dialogs.md b/old_docs/API_docs_v40/constructors/messages_dialogs.md deleted file mode 100644 index e6a431b4..00000000 --- a/old_docs/API_docs_v40/constructors/messages_dialogs.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: messages.dialogs -description: Full list of chats with messages and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dialogs -[Back to constructors index](index.md) - - - -Full list of chats with messages and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Dialogs](../types/messages_Dialogs.md) - - -### Example: - -```php -$messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_dialogs={_='messages.dialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v40/constructors/messages_dialogsSlice.md b/old_docs/API_docs_v40/constructors/messages_dialogsSlice.md deleted file mode 100644 index f183b9a8..00000000 --- a/old_docs/API_docs_v40/constructors/messages_dialogsSlice.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: messages.dialogsSlice -description: Incomplete list of dialogs with messages and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dialogsSlice -[Back to constructors index](index.md) - - - -Incomplete list of dialogs with messages and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of dialogs| -|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Dialogs](../types/messages_Dialogs.md) - - -### Example: - -```php -$messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_dialogsSlice={_='messages.dialogsSlice', count=int, dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v40/constructors/messages_messages.md b/old_docs/API_docs_v40/constructors/messages_messages.md deleted file mode 100644 index 3e369e1a..00000000 --- a/old_docs/API_docs_v40/constructors/messages_messages.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.messages -description: Full list of messages with auxilary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.messages -[Back to constructors index](index.md) - - - -Full list of messages with auxilary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Messages](../types/messages_Messages.md) - - -### Example: - -```php -$messages_messages = ['_' => 'messages.messages', 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_messages={_='messages.messages', messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v40/constructors/messages_messagesSlice.md b/old_docs/API_docs_v40/constructors/messages_messagesSlice.md deleted file mode 100644 index f9b8dc18..00000000 --- a/old_docs/API_docs_v40/constructors/messages_messagesSlice.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: messages.messagesSlice -description: Incomplete list of messages and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.messagesSlice -[Back to constructors index](index.md) - - - -Incomplete list of messages and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of messages in the list| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Messages](../types/messages_Messages.md) - - -### Example: - -```php -$messages_messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_messagesSlice={_='messages.messagesSlice', count=int, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v40/constructors/messages_sentEncryptedFile.md b/old_docs/API_docs_v40/constructors/messages_sentEncryptedFile.md deleted file mode 100644 index fdc2a11e..00000000 --- a/old_docs/API_docs_v40/constructors/messages_sentEncryptedFile.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.sentEncryptedFile -description: Message with a file enclosure sent to a protected chat -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.sentEncryptedFile -[Back to constructors index](index.md) - - - -Message with a file enclosure sent to a protected chat - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Sending date| -|file|[EncryptedFile](../types/EncryptedFile.md) | Optional|Attached file| - - - -### Type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) - - -### Example: - -```php -$messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile]; -``` - - -Or, if you're into Lua: - -```lua -messages_sentEncryptedFile={_='messages.sentEncryptedFile', date=int, file=EncryptedFile} - -``` - - diff --git a/old_docs/API_docs_v40/constructors/messages_sentEncryptedMessage.md b/old_docs/API_docs_v40/constructors/messages_sentEncryptedMessage.md deleted file mode 100644 index 36b2bbff..00000000 --- a/old_docs/API_docs_v40/constructors/messages_sentEncryptedMessage.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.sentEncryptedMessage -description: Message without file attachemts sent to an encrypted file. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.sentEncryptedMessage -[Back to constructors index](index.md) - - - -Message without file attachemts sent to an encrypted file. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Date of sending| - - - -### Type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) - - -### Example: - -```php -$messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_sentEncryptedMessage={_='messages.sentEncryptedMessage', date=int} - -``` - - diff --git a/old_docs/API_docs_v40/constructors/messages_stickerSet.md b/old_docs/API_docs_v40/constructors/messages_stickerSet.md deleted file mode 100644 index 127191de..00000000 --- a/old_docs/API_docs_v40/constructors/messages_stickerSet.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.stickerSet -description: Stickerset and stickers inside it -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickerSet -[Back to constructors index](index.md) - - - -Stickerset and stickers inside it - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|set|[StickerSet](../types/StickerSet.md) | Yes|The stickerset| -|packs|Array of [StickerPack](../types/StickerPack.md) | Yes|Packs| -|documents|Array of [Document](../types/Document.md) | Yes|Documents| - - - -### Type: [messages\_StickerSet](../types/messages_StickerSet.md) - - -### Example: - -```php -$messages_stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'packs' => [StickerPack, StickerPack], 'documents' => [Document, Document]]; -``` - - -Or, if you're into Lua: - -```lua -messages_stickerSet={_='messages.stickerSet', set=StickerSet, packs={StickerPack}, documents={Document}} - -``` - - diff --git a/old_docs/API_docs_v40/constructors/messages_stickers.md b/old_docs/API_docs_v40/constructors/messages_stickers.md deleted file mode 100644 index 1c007df2..00000000 --- a/old_docs/API_docs_v40/constructors/messages_stickers.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.stickers -description: Found stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickers -[Back to constructors index](index.md) - - - -Found stickers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[string](../types/string.md) | Yes|Hash| -|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| - - - -### Type: [messages\_Stickers](../types/messages_Stickers.md) - - -### Example: - -```php -$messages_stickers = ['_' => 'messages.stickers', 'hash' => 'string', 'stickers' => [Document, Document]]; -``` - - -Or, if you're into Lua: - -```lua -messages_stickers={_='messages.stickers', hash='string', stickers={Document}} - -``` - - diff --git a/old_docs/API_docs_v40/constructors/messages_stickersNotModified.md b/old_docs/API_docs_v40/constructors/messages_stickersNotModified.md deleted file mode 100644 index 3d434a79..00000000 --- a/old_docs/API_docs_v40/constructors/messages_stickersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.stickersNotModified -description: No new stickers were found for the given query -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickersNotModified -[Back to constructors index](index.md) - - - -No new stickers were found for the given query - - - - -### Type: [messages\_Stickers](../types/messages_Stickers.md) - - -### Example: - -```php -$messages_stickersNotModified = ['_' => 'messages.stickersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_stickersNotModified={_='messages.stickersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v40/constructors/photos.photo.md b/old_docs/API_docs_v40/constructors/photos.photo.md new file mode 100644 index 00000000..43d3efc7 --- /dev/null +++ b/old_docs/API_docs_v40/constructors/photos.photo.md @@ -0,0 +1,39 @@ +--- +title: photos.photo +description: Photo with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: photos.photo +[Back to constructors index](index.md) + + + +Photo with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|photo|[Photo](../types/Photo.md) | Optional|Photo| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [photos.Photo](../types/photos.Photo.md) + + +### Example: + +```php +$photos.photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +photos.photo={_='photos.photo', photo=Photo, users={User}} + +``` + + diff --git a/old_docs/API_docs_v40/constructors/photos.photos.md b/old_docs/API_docs_v40/constructors/photos.photos.md new file mode 100644 index 00000000..901a9693 --- /dev/null +++ b/old_docs/API_docs_v40/constructors/photos.photos.md @@ -0,0 +1,39 @@ +--- +title: photos.photos +description: Full list of photos with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: photos.photos +[Back to constructors index](index.md) + + + +Full list of photos with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [photos.Photos](../types/photos.Photos.md) + + +### Example: + +```php +$photos.photos = ['_' => 'photos.photos', 'photos' => [Photo, Photo], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +photos.photos={_='photos.photos', photos={Photo}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v40/constructors/photos.photosSlice.md b/old_docs/API_docs_v40/constructors/photos.photosSlice.md new file mode 100644 index 00000000..2cca3546 --- /dev/null +++ b/old_docs/API_docs_v40/constructors/photos.photosSlice.md @@ -0,0 +1,40 @@ +--- +title: photos.photosSlice +description: Incomplete list of photos with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: photos.photosSlice +[Back to constructors index](index.md) + + + +Incomplete list of photos with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of photos| +|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [photos.Photos](../types/photos.Photos.md) + + +### Example: + +```php +$photos.photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo, Photo], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +photos.photosSlice={_='photos.photosSlice', count=int, photos={Photo}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v40/constructors/photos_photo.md b/old_docs/API_docs_v40/constructors/photos_photo.md deleted file mode 100644 index d5ad61d9..00000000 --- a/old_docs/API_docs_v40/constructors/photos_photo.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: photos.photo -description: Photo with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: photos.photo -[Back to constructors index](index.md) - - - -Photo with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|photo|[Photo](../types/Photo.md) | Optional|Photo| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [photos\_Photo](../types/photos_Photo.md) - - -### Example: - -```php -$photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -photos_photo={_='photos.photo', photo=Photo, users={User}} - -``` - - diff --git a/old_docs/API_docs_v40/constructors/photos_photos.md b/old_docs/API_docs_v40/constructors/photos_photos.md deleted file mode 100644 index 6ae5d048..00000000 --- a/old_docs/API_docs_v40/constructors/photos_photos.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: photos.photos -description: Full list of photos with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: photos.photos -[Back to constructors index](index.md) - - - -Full list of photos with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [photos\_Photos](../types/photos_Photos.md) - - -### Example: - -```php -$photos_photos = ['_' => 'photos.photos', 'photos' => [Photo, Photo], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -photos_photos={_='photos.photos', photos={Photo}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v40/constructors/photos_photosSlice.md b/old_docs/API_docs_v40/constructors/photos_photosSlice.md deleted file mode 100644 index 5c465c21..00000000 --- a/old_docs/API_docs_v40/constructors/photos_photosSlice.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: photos.photosSlice -description: Incomplete list of photos with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: photos.photosSlice -[Back to constructors index](index.md) - - - -Incomplete list of photos with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of photos| -|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [photos\_Photos](../types/photos_Photos.md) - - -### Example: - -```php -$photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo, Photo], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -photos_photosSlice={_='photos.photosSlice', count=int, photos={Photo}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v40/constructors/storage.fileGif.md b/old_docs/API_docs_v40/constructors/storage.fileGif.md new file mode 100644 index 00000000..8193bd25 --- /dev/null +++ b/old_docs/API_docs_v40/constructors/storage.fileGif.md @@ -0,0 +1,33 @@ +--- +title: storage.fileGif +description: GIF image. MIME type: `image/gif`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileGif +[Back to constructors index](index.md) + + + +GIF image. MIME type: `image/gif`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileGif = ['_' => 'storage.fileGif']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileGif={_='storage.fileGif'} + +``` + + diff --git a/old_docs/API_docs_v40/constructors/storage.fileJpeg.md b/old_docs/API_docs_v40/constructors/storage.fileJpeg.md new file mode 100644 index 00000000..7f125963 --- /dev/null +++ b/old_docs/API_docs_v40/constructors/storage.fileJpeg.md @@ -0,0 +1,33 @@ +--- +title: storage.fileJpeg +description: JPEG image. MIME type: `image/jpeg`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileJpeg +[Back to constructors index](index.md) + + + +JPEG image. MIME type: `image/jpeg`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileJpeg = ['_' => 'storage.fileJpeg']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileJpeg={_='storage.fileJpeg'} + +``` + + diff --git a/old_docs/API_docs_v40/constructors/storage.fileMov.md b/old_docs/API_docs_v40/constructors/storage.fileMov.md new file mode 100644 index 00000000..cb3742e0 --- /dev/null +++ b/old_docs/API_docs_v40/constructors/storage.fileMov.md @@ -0,0 +1,33 @@ +--- +title: storage.fileMov +description: Quicktime video. MIME type: `video/quicktime`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileMov +[Back to constructors index](index.md) + + + +Quicktime video. MIME type: `video/quicktime`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileMov = ['_' => 'storage.fileMov']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileMov={_='storage.fileMov'} + +``` + + diff --git a/old_docs/API_docs_v40/constructors/storage.fileMp3.md b/old_docs/API_docs_v40/constructors/storage.fileMp3.md new file mode 100644 index 00000000..617f2d39 --- /dev/null +++ b/old_docs/API_docs_v40/constructors/storage.fileMp3.md @@ -0,0 +1,33 @@ +--- +title: storage.fileMp3 +description: Mp3 audio. MIME type: `audio/mpeg`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileMp3 +[Back to constructors index](index.md) + + + +Mp3 audio. MIME type: `audio/mpeg`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileMp3 = ['_' => 'storage.fileMp3']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileMp3={_='storage.fileMp3'} + +``` + + diff --git a/old_docs/API_docs_v40/constructors/storage.fileMp4.md b/old_docs/API_docs_v40/constructors/storage.fileMp4.md new file mode 100644 index 00000000..37038176 --- /dev/null +++ b/old_docs/API_docs_v40/constructors/storage.fileMp4.md @@ -0,0 +1,33 @@ +--- +title: storage.fileMp4 +description: MPEG-4 video. MIME type: `video/mp4`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileMp4 +[Back to constructors index](index.md) + + + +MPEG-4 video. MIME type: `video/mp4`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileMp4 = ['_' => 'storage.fileMp4']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileMp4={_='storage.fileMp4'} + +``` + + diff --git a/old_docs/API_docs_v40/constructors/storage.filePartial.md b/old_docs/API_docs_v40/constructors/storage.filePartial.md new file mode 100644 index 00000000..98779e71 --- /dev/null +++ b/old_docs/API_docs_v40/constructors/storage.filePartial.md @@ -0,0 +1,33 @@ +--- +title: storage.filePartial +description: Part of a bigger file. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.filePartial +[Back to constructors index](index.md) + + + +Part of a bigger file. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.filePartial = ['_' => 'storage.filePartial']; +``` + + +Or, if you're into Lua: + +```lua +storage.filePartial={_='storage.filePartial'} + +``` + + diff --git a/old_docs/API_docs_v40/constructors/storage.filePdf.md b/old_docs/API_docs_v40/constructors/storage.filePdf.md new file mode 100644 index 00000000..136c0614 --- /dev/null +++ b/old_docs/API_docs_v40/constructors/storage.filePdf.md @@ -0,0 +1,33 @@ +--- +title: storage.filePdf +description: PDF document image. MIME type: `application/pdf`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.filePdf +[Back to constructors index](index.md) + + + +PDF document image. MIME type: `application/pdf`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.filePdf = ['_' => 'storage.filePdf']; +``` + + +Or, if you're into Lua: + +```lua +storage.filePdf={_='storage.filePdf'} + +``` + + diff --git a/old_docs/API_docs_v40/constructors/storage.filePng.md b/old_docs/API_docs_v40/constructors/storage.filePng.md new file mode 100644 index 00000000..db01ce0e --- /dev/null +++ b/old_docs/API_docs_v40/constructors/storage.filePng.md @@ -0,0 +1,33 @@ +--- +title: storage.filePng +description: PNG image. MIME type: `image/png`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.filePng +[Back to constructors index](index.md) + + + +PNG image. MIME type: `image/png`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.filePng = ['_' => 'storage.filePng']; +``` + + +Or, if you're into Lua: + +```lua +storage.filePng={_='storage.filePng'} + +``` + + diff --git a/old_docs/API_docs_v40/constructors/storage.fileUnknown.md b/old_docs/API_docs_v40/constructors/storage.fileUnknown.md new file mode 100644 index 00000000..26f0a5ae --- /dev/null +++ b/old_docs/API_docs_v40/constructors/storage.fileUnknown.md @@ -0,0 +1,33 @@ +--- +title: storage.fileUnknown +description: Unknown type. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileUnknown +[Back to constructors index](index.md) + + + +Unknown type. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileUnknown = ['_' => 'storage.fileUnknown']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileUnknown={_='storage.fileUnknown'} + +``` + + diff --git a/old_docs/API_docs_v40/constructors/storage.fileWebp.md b/old_docs/API_docs_v40/constructors/storage.fileWebp.md new file mode 100644 index 00000000..63c9ded1 --- /dev/null +++ b/old_docs/API_docs_v40/constructors/storage.fileWebp.md @@ -0,0 +1,33 @@ +--- +title: storage.fileWebp +description: WEBP image. MIME type: `image/webp`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileWebp +[Back to constructors index](index.md) + + + +WEBP image. MIME type: `image/webp`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileWebp = ['_' => 'storage.fileWebp']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileWebp={_='storage.fileWebp'} + +``` + + diff --git a/old_docs/API_docs_v40/constructors/storage_fileGif.md b/old_docs/API_docs_v40/constructors/storage_fileGif.md deleted file mode 100644 index 218c7491..00000000 --- a/old_docs/API_docs_v40/constructors/storage_fileGif.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileGif -description: GIF image. MIME type: `image/gif`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileGif -[Back to constructors index](index.md) - - - -GIF image. MIME type: `image/gif`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileGif = ['_' => 'storage.fileGif']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileGif={_='storage.fileGif'} - -``` - - diff --git a/old_docs/API_docs_v40/constructors/storage_fileJpeg.md b/old_docs/API_docs_v40/constructors/storage_fileJpeg.md deleted file mode 100644 index 925531cd..00000000 --- a/old_docs/API_docs_v40/constructors/storage_fileJpeg.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileJpeg -description: JPEG image. MIME type: `image/jpeg`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileJpeg -[Back to constructors index](index.md) - - - -JPEG image. MIME type: `image/jpeg`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileJpeg = ['_' => 'storage.fileJpeg']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileJpeg={_='storage.fileJpeg'} - -``` - - diff --git a/old_docs/API_docs_v40/constructors/storage_fileMov.md b/old_docs/API_docs_v40/constructors/storage_fileMov.md deleted file mode 100644 index eaf2a6ff..00000000 --- a/old_docs/API_docs_v40/constructors/storage_fileMov.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileMov -description: Quicktime video. MIME type: `video/quicktime`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileMov -[Back to constructors index](index.md) - - - -Quicktime video. MIME type: `video/quicktime`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileMov = ['_' => 'storage.fileMov']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileMov={_='storage.fileMov'} - -``` - - diff --git a/old_docs/API_docs_v40/constructors/storage_fileMp3.md b/old_docs/API_docs_v40/constructors/storage_fileMp3.md deleted file mode 100644 index 9afcefbb..00000000 --- a/old_docs/API_docs_v40/constructors/storage_fileMp3.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileMp3 -description: Mp3 audio. MIME type: `audio/mpeg`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileMp3 -[Back to constructors index](index.md) - - - -Mp3 audio. MIME type: `audio/mpeg`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileMp3 = ['_' => 'storage.fileMp3']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileMp3={_='storage.fileMp3'} - -``` - - diff --git a/old_docs/API_docs_v40/constructors/storage_fileMp4.md b/old_docs/API_docs_v40/constructors/storage_fileMp4.md deleted file mode 100644 index cdc0e783..00000000 --- a/old_docs/API_docs_v40/constructors/storage_fileMp4.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileMp4 -description: MPEG-4 video. MIME type: `video/mp4`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileMp4 -[Back to constructors index](index.md) - - - -MPEG-4 video. MIME type: `video/mp4`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileMp4 = ['_' => 'storage.fileMp4']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileMp4={_='storage.fileMp4'} - -``` - - diff --git a/old_docs/API_docs_v40/constructors/storage_filePartial.md b/old_docs/API_docs_v40/constructors/storage_filePartial.md deleted file mode 100644 index 9bfadf63..00000000 --- a/old_docs/API_docs_v40/constructors/storage_filePartial.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.filePartial -description: Part of a bigger file. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.filePartial -[Back to constructors index](index.md) - - - -Part of a bigger file. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_filePartial = ['_' => 'storage.filePartial']; -``` - - -Or, if you're into Lua: - -```lua -storage_filePartial={_='storage.filePartial'} - -``` - - diff --git a/old_docs/API_docs_v40/constructors/storage_filePdf.md b/old_docs/API_docs_v40/constructors/storage_filePdf.md deleted file mode 100644 index efb022cc..00000000 --- a/old_docs/API_docs_v40/constructors/storage_filePdf.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.filePdf -description: PDF document image. MIME type: `application/pdf`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.filePdf -[Back to constructors index](index.md) - - - -PDF document image. MIME type: `application/pdf`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_filePdf = ['_' => 'storage.filePdf']; -``` - - -Or, if you're into Lua: - -```lua -storage_filePdf={_='storage.filePdf'} - -``` - - diff --git a/old_docs/API_docs_v40/constructors/storage_filePng.md b/old_docs/API_docs_v40/constructors/storage_filePng.md deleted file mode 100644 index 412759e4..00000000 --- a/old_docs/API_docs_v40/constructors/storage_filePng.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.filePng -description: PNG image. MIME type: `image/png`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.filePng -[Back to constructors index](index.md) - - - -PNG image. MIME type: `image/png`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_filePng = ['_' => 'storage.filePng']; -``` - - -Or, if you're into Lua: - -```lua -storage_filePng={_='storage.filePng'} - -``` - - diff --git a/old_docs/API_docs_v40/constructors/storage_fileUnknown.md b/old_docs/API_docs_v40/constructors/storage_fileUnknown.md deleted file mode 100644 index ed33dd5e..00000000 --- a/old_docs/API_docs_v40/constructors/storage_fileUnknown.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileUnknown -description: Unknown type. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileUnknown -[Back to constructors index](index.md) - - - -Unknown type. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileUnknown = ['_' => 'storage.fileUnknown']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileUnknown={_='storage.fileUnknown'} - -``` - - diff --git a/old_docs/API_docs_v40/constructors/storage_fileWebp.md b/old_docs/API_docs_v40/constructors/storage_fileWebp.md deleted file mode 100644 index 04dcad74..00000000 --- a/old_docs/API_docs_v40/constructors/storage_fileWebp.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileWebp -description: WEBP image. MIME type: `image/webp`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileWebp -[Back to constructors index](index.md) - - - -WEBP image. MIME type: `image/webp`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileWebp = ['_' => 'storage.fileWebp']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileWebp={_='storage.fileWebp'} - -``` - - diff --git a/old_docs/API_docs_v40/constructors/updates.channelDifference.md b/old_docs/API_docs_v40/constructors/updates.channelDifference.md new file mode 100644 index 00000000..91e0f4a9 --- /dev/null +++ b/old_docs/API_docs_v40/constructors/updates.channelDifference.md @@ -0,0 +1,43 @@ +--- +title: updates.channelDifference +description: The new updates +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.channelDifference +[Back to constructors index](index.md) + + + +The new updates + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|The [PTS](https://core.telegram.org/api/updates) from which to start getting updates the next time| +|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| +|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| +|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [updates.ChannelDifference](../types/updates.ChannelDifference.md) + + +### Example: + +```php +$updates.channelDifference = ['_' => 'updates.channelDifference', 'pts' => int, 'timeout' => int, 'new_messages' => [Message, Message], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +updates.channelDifference={_='updates.channelDifference', pts=int, timeout=int, new_messages={Message}, other_updates={Update}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v40/constructors/updates.channelDifferenceEmpty.md b/old_docs/API_docs_v40/constructors/updates.channelDifferenceEmpty.md new file mode 100644 index 00000000..4a30432a --- /dev/null +++ b/old_docs/API_docs_v40/constructors/updates.channelDifferenceEmpty.md @@ -0,0 +1,39 @@ +--- +title: updates.channelDifferenceEmpty +description: There are no new updates +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.channelDifferenceEmpty +[Back to constructors index](index.md) + + + +There are no new updates + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|The latest [PTS](https://core.telegram.org/api/updates)| +|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| + + + +### Type: [updates.ChannelDifference](../types/updates.ChannelDifference.md) + + +### Example: + +```php +$updates.channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'pts' => int, 'timeout' => int]; +``` + + +Or, if you're into Lua: + +```lua +updates.channelDifferenceEmpty={_='updates.channelDifferenceEmpty', pts=int, timeout=int} + +``` + + diff --git a/old_docs/API_docs_v40/constructors/updates.channelDifferenceTooLong.md b/old_docs/API_docs_v40/constructors/updates.channelDifferenceTooLong.md new file mode 100644 index 00000000..68bb9f01 --- /dev/null +++ b/old_docs/API_docs_v40/constructors/updates.channelDifferenceTooLong.md @@ -0,0 +1,57 @@ +--- +title: updates.channelDifferenceTooLong +description: The provided `pts + limit < remote pts`. Simply, there are too many updates to be fetched (more than `limit`), the client has to resolve the update gap in one of the following ways: + +1. Delete all known messages in the chat, begin from scratch by refetching all messages manually with [getHistory](../methods/messages.getHistory.md). It is easy to implement, but suddenly disappearing messages looks awful for the user. +2. Save all messages loaded in the memory until application restart, but delete all messages from database. Messages left in the memory must be lazily updated using calls to [getHistory](../methods/messages.getHistory.md). It looks much smoothly for the user, he will need to redownload messages only after client restart. Unsynchronized messages left in the memory shouldn't be saved to database, results of [getHistory](../methods/messages.getHistory.md) and [getMessages](../methods/messages.getMessages.md) must be used to update state of deleted and edited messages left in the memory. +3. Save all messages loaded in the memory and stored in the database without saving that some messages form continuous ranges. Messages in the database will be excluded from results of getChatHistory and searchChatMessages after application restart and will be available only through getMessage. Every message should still be checked using getHistory. It has more disadvantages over 2) than advantages. +4. Save all messages with saving all data about continuous message ranges. Messages from the database may be used as results of getChatHistory and (if implemented continuous ranges support for searching shared media) searchChatMessages. The messages should still be lazily checked using getHistory, but they are still available offline. It is the best way for gaps support, but it is pretty hard to implement correctly. It should be also noted that some messages like live location messages shouldn't be deleted. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.channelDifferenceTooLong +[Back to constructors index](index.md) + + + +The provided `pts + limit < remote pts`. Simply, there are too many updates to be fetched (more than `limit`), the client has to resolve the update gap in one of the following ways: + +1. Delete all known messages in the chat, begin from scratch by refetching all messages manually with [getHistory](../methods/messages.getHistory.md). It is easy to implement, but suddenly disappearing messages looks awful for the user. +2. Save all messages loaded in the memory until application restart, but delete all messages from database. Messages left in the memory must be lazily updated using calls to [getHistory](../methods/messages.getHistory.md). It looks much smoothly for the user, he will need to redownload messages only after client restart. Unsynchronized messages left in the memory shouldn't be saved to database, results of [getHistory](../methods/messages.getHistory.md) and [getMessages](../methods/messages.getMessages.md) must be used to update state of deleted and edited messages left in the memory. +3. Save all messages loaded in the memory and stored in the database without saving that some messages form continuous ranges. Messages in the database will be excluded from results of getChatHistory and searchChatMessages after application restart and will be available only through getMessage. Every message should still be checked using getHistory. It has more disadvantages over 2) than advantages. +4. Save all messages with saving all data about continuous message ranges. Messages from the database may be used as results of getChatHistory and (if implemented continuous ranges support for searching shared media) searchChatMessages. The messages should still be lazily checked using getHistory, but they are still available offline. It is the best way for gaps support, but it is pretty hard to implement correctly. It should be also noted that some messages like live location messages shouldn't be deleted. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|Pts| +|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| +|top\_message|[int](../types/int.md) | Yes|Top message| +|top\_important\_message|[int](../types/int.md) | Yes|Top important message| +|read\_inbox\_max\_id|[int](../types/int.md) | Yes|Read inbox max ID| +|unread\_count|[int](../types/int.md) | Yes|Unread count| +|unread\_important\_count|[int](../types/int.md) | Yes|Unread important count| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [updates.ChannelDifference](../types/updates.ChannelDifference.md) + + +### Example: + +```php +$updates.channelDifferenceTooLong = ['_' => 'updates.channelDifferenceTooLong', 'pts' => int, 'timeout' => int, 'top_message' => int, 'top_important_message' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'unread_important_count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +updates.channelDifferenceTooLong={_='updates.channelDifferenceTooLong', pts=int, timeout=int, top_message=int, top_important_message=int, read_inbox_max_id=int, unread_count=int, unread_important_count=int, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v40/constructors/updates.difference.md b/old_docs/API_docs_v40/constructors/updates.difference.md new file mode 100644 index 00000000..82541b51 --- /dev/null +++ b/old_docs/API_docs_v40/constructors/updates.difference.md @@ -0,0 +1,43 @@ +--- +title: updates.difference +description: Full list of occurred events. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.difference +[Back to constructors index](index.md) + + + +Full list of occurred events. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| +|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| +|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| +|state|[updates.State](../constructors/updates.State.md) | Yes|Current state| + + + +### Type: [updates.Difference](../types/updates.Difference.md) + + +### Example: + +```php +$updates.difference = ['_' => 'updates.difference', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates.State]; +``` + + +Or, if you're into Lua: + +```lua +updates.difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates.State} + +``` + + diff --git a/old_docs/API_docs_v40/constructors/updates.differenceEmpty.md b/old_docs/API_docs_v40/constructors/updates.differenceEmpty.md new file mode 100644 index 00000000..a9dc3bd0 --- /dev/null +++ b/old_docs/API_docs_v40/constructors/updates.differenceEmpty.md @@ -0,0 +1,39 @@ +--- +title: updates.differenceEmpty +description: No events. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.differenceEmpty +[Back to constructors index](index.md) + + + +No events. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Current date| +|seq|[int](../types/int.md) | Yes|Number of sent updates| + + + +### Type: [updates.Difference](../types/updates.Difference.md) + + +### Example: + +```php +$updates.differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int]; +``` + + +Or, if you're into Lua: + +```lua +updates.differenceEmpty={_='updates.differenceEmpty', date=int, seq=int} + +``` + + diff --git a/old_docs/API_docs_v40/constructors/updates.differenceSlice.md b/old_docs/API_docs_v40/constructors/updates.differenceSlice.md new file mode 100644 index 00000000..9daf7a75 --- /dev/null +++ b/old_docs/API_docs_v40/constructors/updates.differenceSlice.md @@ -0,0 +1,43 @@ +--- +title: updates.differenceSlice +description: Incomplete list of occurred events. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.differenceSlice +[Back to constructors index](index.md) + + + +Incomplete list of occurred events. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| +|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| +|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| +|intermediate\_state|[updates.State](../constructors/updates.State.md) | Yes|Intermediary state| + + + +### Type: [updates.Difference](../types/updates.Difference.md) + + +### Example: + +```php +$updates.differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'intermediate_state' => updates.State]; +``` + + +Or, if you're into Lua: + +```lua +updates.differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates.State} + +``` + + diff --git a/old_docs/API_docs_v40/constructors/updates.state.md b/old_docs/API_docs_v40/constructors/updates.state.md new file mode 100644 index 00000000..abe9ddbb --- /dev/null +++ b/old_docs/API_docs_v40/constructors/updates.state.md @@ -0,0 +1,42 @@ +--- +title: updates.state +description: Updates state. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.state +[Back to constructors index](index.md) + + + +Updates state. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| +|qts|[int](../types/int.md) | Yes|Position in a sequence of updates in secret chats. For further detailes refer to article [secret chats](https://core.telegram.org/api/end-to-end)
Parameter was added in [eigth layer](https://core.telegram.org/api/layers#layer-8).| +|date|[int](../types/int.md) | Yes|Date of condition| +|seq|[int](../types/int.md) | Yes|Number of sent updates| +|unread\_count|[int](../types/int.md) | Yes|Number of unread messages| + + + +### Type: [updates.State](../types/updates.State.md) + + +### Example: + +```php +$updates.state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int]; +``` + + +Or, if you're into Lua: + +```lua +updates.state={_='updates.state', pts=int, qts=int, date=int, seq=int, unread_count=int} + +``` + + diff --git a/old_docs/API_docs_v40/constructors/updates_channelDifference.md b/old_docs/API_docs_v40/constructors/updates_channelDifference.md deleted file mode 100644 index 22305b8d..00000000 --- a/old_docs/API_docs_v40/constructors/updates_channelDifference.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: updates.channelDifference -description: The new updates -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.channelDifference -[Back to constructors index](index.md) - - - -The new updates - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|The [PTS](https://core.telegram.org/api/updates) from which to start getting updates the next time| -|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| -|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| -|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) - - -### Example: - -```php -$updates_channelDifference = ['_' => 'updates.channelDifference', 'pts' => int, 'timeout' => int, 'new_messages' => [Message, Message], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -updates_channelDifference={_='updates.channelDifference', pts=int, timeout=int, new_messages={Message}, other_updates={Update}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v40/constructors/updates_channelDifferenceEmpty.md b/old_docs/API_docs_v40/constructors/updates_channelDifferenceEmpty.md deleted file mode 100644 index 96de94e1..00000000 --- a/old_docs/API_docs_v40/constructors/updates_channelDifferenceEmpty.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: updates.channelDifferenceEmpty -description: There are no new updates -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.channelDifferenceEmpty -[Back to constructors index](index.md) - - - -There are no new updates - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|The latest [PTS](https://core.telegram.org/api/updates)| -|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| - - - -### Type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) - - -### Example: - -```php -$updates_channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'pts' => int, 'timeout' => int]; -``` - - -Or, if you're into Lua: - -```lua -updates_channelDifferenceEmpty={_='updates.channelDifferenceEmpty', pts=int, timeout=int} - -``` - - diff --git a/old_docs/API_docs_v40/constructors/updates_channelDifferenceTooLong.md b/old_docs/API_docs_v40/constructors/updates_channelDifferenceTooLong.md deleted file mode 100644 index 02fb8688..00000000 --- a/old_docs/API_docs_v40/constructors/updates_channelDifferenceTooLong.md +++ /dev/null @@ -1,57 +0,0 @@ ---- -title: updates.channelDifferenceTooLong -description: The provided `pts + limit < remote pts`. Simply, there are too many updates to be fetched (more than `limit`), the client has to resolve the update gap in one of the following ways: - -1. Delete all known messages in the chat, begin from scratch by refetching all messages manually with [getHistory](../methods/messages.getHistory.md). It is easy to implement, but suddenly disappearing messages looks awful for the user. -2. Save all messages loaded in the memory until application restart, but delete all messages from database. Messages left in the memory must be lazily updated using calls to [getHistory](../methods/messages.getHistory.md). It looks much smoothly for the user, he will need to redownload messages only after client restart. Unsynchronized messages left in the memory shouldn't be saved to database, results of [getHistory](../methods/messages.getHistory.md) and [getMessages](../methods/messages.getMessages.md) must be used to update state of deleted and edited messages left in the memory. -3. Save all messages loaded in the memory and stored in the database without saving that some messages form continuous ranges. Messages in the database will be excluded from results of getChatHistory and searchChatMessages after application restart and will be available only through getMessage. Every message should still be checked using getHistory. It has more disadvantages over 2) than advantages. -4. Save all messages with saving all data about continuous message ranges. Messages from the database may be used as results of getChatHistory and (if implemented continuous ranges support for searching shared media) searchChatMessages. The messages should still be lazily checked using getHistory, but they are still available offline. It is the best way for gaps support, but it is pretty hard to implement correctly. It should be also noted that some messages like live location messages shouldn't be deleted. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.channelDifferenceTooLong -[Back to constructors index](index.md) - - - -The provided `pts + limit < remote pts`. Simply, there are too many updates to be fetched (more than `limit`), the client has to resolve the update gap in one of the following ways: - -1. Delete all known messages in the chat, begin from scratch by refetching all messages manually with [getHistory](../methods/messages.getHistory.md). It is easy to implement, but suddenly disappearing messages looks awful for the user. -2. Save all messages loaded in the memory until application restart, but delete all messages from database. Messages left in the memory must be lazily updated using calls to [getHistory](../methods/messages.getHistory.md). It looks much smoothly for the user, he will need to redownload messages only after client restart. Unsynchronized messages left in the memory shouldn't be saved to database, results of [getHistory](../methods/messages.getHistory.md) and [getMessages](../methods/messages.getMessages.md) must be used to update state of deleted and edited messages left in the memory. -3. Save all messages loaded in the memory and stored in the database without saving that some messages form continuous ranges. Messages in the database will be excluded from results of getChatHistory and searchChatMessages after application restart and will be available only through getMessage. Every message should still be checked using getHistory. It has more disadvantages over 2) than advantages. -4. Save all messages with saving all data about continuous message ranges. Messages from the database may be used as results of getChatHistory and (if implemented continuous ranges support for searching shared media) searchChatMessages. The messages should still be lazily checked using getHistory, but they are still available offline. It is the best way for gaps support, but it is pretty hard to implement correctly. It should be also noted that some messages like live location messages shouldn't be deleted. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|Pts| -|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| -|top\_message|[int](../types/int.md) | Yes|Top message| -|top\_important\_message|[int](../types/int.md) | Yes|Top important message| -|read\_inbox\_max\_id|[int](../types/int.md) | Yes|Read inbox max ID| -|unread\_count|[int](../types/int.md) | Yes|Unread count| -|unread\_important\_count|[int](../types/int.md) | Yes|Unread important count| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) - - -### Example: - -```php -$updates_channelDifferenceTooLong = ['_' => 'updates.channelDifferenceTooLong', 'pts' => int, 'timeout' => int, 'top_message' => int, 'top_important_message' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'unread_important_count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -updates_channelDifferenceTooLong={_='updates.channelDifferenceTooLong', pts=int, timeout=int, top_message=int, top_important_message=int, read_inbox_max_id=int, unread_count=int, unread_important_count=int, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v40/constructors/updates_difference.md b/old_docs/API_docs_v40/constructors/updates_difference.md deleted file mode 100644 index 71ac7d4c..00000000 --- a/old_docs/API_docs_v40/constructors/updates_difference.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: updates.difference -description: Full list of occurred events. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.difference -[Back to constructors index](index.md) - - - -Full list of occurred events. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| -|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| -|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| -|state|[updates\_State](../types/updates_State.md) | Yes|Current state| - - - -### Type: [updates\_Difference](../types/updates_Difference.md) - - -### Example: - -```php -$updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates_State]; -``` - - -Or, if you're into Lua: - -```lua -updates_difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates_State} - -``` - - diff --git a/old_docs/API_docs_v40/constructors/updates_differenceEmpty.md b/old_docs/API_docs_v40/constructors/updates_differenceEmpty.md deleted file mode 100644 index c3c95c5a..00000000 --- a/old_docs/API_docs_v40/constructors/updates_differenceEmpty.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: updates.differenceEmpty -description: No events. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.differenceEmpty -[Back to constructors index](index.md) - - - -No events. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Current date| -|seq|[int](../types/int.md) | Yes|Number of sent updates| - - - -### Type: [updates\_Difference](../types/updates_Difference.md) - - -### Example: - -```php -$updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int]; -``` - - -Or, if you're into Lua: - -```lua -updates_differenceEmpty={_='updates.differenceEmpty', date=int, seq=int} - -``` - - diff --git a/old_docs/API_docs_v40/constructors/updates_differenceSlice.md b/old_docs/API_docs_v40/constructors/updates_differenceSlice.md deleted file mode 100644 index 8b12a369..00000000 --- a/old_docs/API_docs_v40/constructors/updates_differenceSlice.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: updates.differenceSlice -description: Incomplete list of occurred events. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.differenceSlice -[Back to constructors index](index.md) - - - -Incomplete list of occurred events. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| -|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| -|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| -|intermediate\_state|[updates\_State](../types/updates_State.md) | Yes|Intermediary state| - - - -### Type: [updates\_Difference](../types/updates_Difference.md) - - -### Example: - -```php -$updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'intermediate_state' => updates_State]; -``` - - -Or, if you're into Lua: - -```lua -updates_differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates_State} - -``` - - diff --git a/old_docs/API_docs_v40/constructors/updates_state.md b/old_docs/API_docs_v40/constructors/updates_state.md deleted file mode 100644 index ef3698e2..00000000 --- a/old_docs/API_docs_v40/constructors/updates_state.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: updates.state -description: Updates state. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.state -[Back to constructors index](index.md) - - - -Updates state. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| -|qts|[int](../types/int.md) | Yes|Position in a sequence of updates in secret chats. For further detailes refer to article [secret chats](https://core.telegram.org/api/end-to-end)
Parameter was added in [eigth layer](https://core.telegram.org/api/layers#layer-8).| -|date|[int](../types/int.md) | Yes|Date of condition| -|seq|[int](../types/int.md) | Yes|Number of sent updates| -|unread\_count|[int](../types/int.md) | Yes|Number of unread messages| - - - -### Type: [updates\_State](../types/updates_State.md) - - -### Example: - -```php -$updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int]; -``` - - -Or, if you're into Lua: - -```lua -updates_state={_='updates.state', pts=int, qts=int, date=int, seq=int, unread_count=int} - -``` - - diff --git a/old_docs/API_docs_v40/constructors/upload.file.md b/old_docs/API_docs_v40/constructors/upload.file.md new file mode 100644 index 00000000..145a4c24 --- /dev/null +++ b/old_docs/API_docs_v40/constructors/upload.file.md @@ -0,0 +1,40 @@ +--- +title: upload.file +description: File content. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: upload.file +[Back to constructors index](index.md) + + + +File content. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|type|[storage.FileType](../constructors/storage.FileType.md) | Yes|File type| +|mtime|[int](../types/int.md) | Yes|Modification type| +|bytes|[bytes](../types/bytes.md) | Yes|Binary data, file content| + + + +### Type: [upload.File](../types/upload.File.md) + + +### Example: + +```php +$upload.file = ['_' => 'upload.file', 'type' => storage.FileType, 'mtime' => int, 'bytes' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +upload.file={_='upload.file', type=storage.FileType, mtime=int, bytes='bytes'} + +``` + + diff --git a/old_docs/API_docs_v40/constructors/upload_file.md b/old_docs/API_docs_v40/constructors/upload_file.md deleted file mode 100644 index 1e07d9fb..00000000 --- a/old_docs/API_docs_v40/constructors/upload_file.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: upload.file -description: File content. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: upload.file -[Back to constructors index](index.md) - - - -File content. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|type|[storage\_FileType](../types/storage_FileType.md) | Yes|File type| -|mtime|[int](../types/int.md) | Yes|Modification type| -|bytes|[bytes](../types/bytes.md) | Yes|Binary data, file content| - - - -### Type: [upload\_File](../types/upload_File.md) - - -### Example: - -```php -$upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int, 'bytes' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -upload_file={_='upload.file', type=storage_FileType, mtime=int, bytes='bytes'} - -``` - - diff --git a/old_docs/API_docs_v40/constructors/userFull.md b/old_docs/API_docs_v40/constructors/userFull.md index 67913fec..129a02d0 100644 --- a/old_docs/API_docs_v40/constructors/userFull.md +++ b/old_docs/API_docs_v40/constructors/userFull.md @@ -15,7 +15,7 @@ Extended user info | Name | Type | Required | Description | |----------|---------------|----------|-------------| |user|[User](../types/User.md) | Optional|Remaining user info| -|link|[contacts\_Link](../types/contacts_Link.md) | Yes|Link| +|link|[contacts.Link](../constructors/contacts.Link.md) | Yes|Link| |profile\_photo|[Photo](../types/Photo.md) | Optional|Profile photo| |notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Optional|Notification settings| |blocked|[Bool](../types/Bool.md) | Yes|Blocked?| @@ -29,14 +29,14 @@ Extended user info ### Example: ```php -$userFull = ['_' => 'userFull', 'user' => User, 'link' => contacts_Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'blocked' => Bool, 'bot_info' => BotInfo]; +$userFull = ['_' => 'userFull', 'user' => User, 'link' => contacts.Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'blocked' => Bool, 'bot_info' => BotInfo]; ``` Or, if you're into Lua: ```lua -userFull={_='userFull', user=User, link=contacts_Link, profile_photo=Photo, notify_settings=PeerNotifySettings, blocked=Bool, bot_info=BotInfo} +userFull={_='userFull', user=User, link=contacts.Link, profile_photo=Photo, notify_settings=PeerNotifySettings, blocked=Bool, bot_info=BotInfo} ``` diff --git a/old_docs/API_docs_v40/methods/account.getAuthorizations.md b/old_docs/API_docs_v40/methods/account.getAuthorizations.md index f69c130a..fad3a7ae 100644 --- a/old_docs/API_docs_v40/methods/account.getAuthorizations.md +++ b/old_docs/API_docs_v40/methods/account.getAuthorizations.md @@ -11,7 +11,7 @@ Get logged-in sessions -### Return type: [account\_Authorizations](../types/account_Authorizations.md) +### Return type: [account.Authorizations](../types/account.Authorizations.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_Authorizations = $MadelineProto->account->getAuthorizations(); +$account.Authorizations = $MadelineProto->account->getAuthorizations(); ``` Or, if you're into Lua: ```lua -account_Authorizations = account.getAuthorizations({}) +account.Authorizations = account.getAuthorizations({}) ``` diff --git a/old_docs/API_docs_v40/methods/account.getPassword.md b/old_docs/API_docs_v40/methods/account.getPassword.md index eed4aee3..621271b6 100644 --- a/old_docs/API_docs_v40/methods/account.getPassword.md +++ b/old_docs/API_docs_v40/methods/account.getPassword.md @@ -11,7 +11,7 @@ Obtain configuration for two-factor authorization with password -### Return type: [account\_Password](../types/account_Password.md) +### Return type: [account.Password](../types/account.Password.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_Password = $MadelineProto->account->getPassword(); +$account.Password = $MadelineProto->account->getPassword(); ``` Or, if you're into Lua: ```lua -account_Password = account.getPassword({}) +account.Password = account.getPassword({}) ``` diff --git a/old_docs/API_docs_v40/methods/account.getPasswordSettings.md b/old_docs/API_docs_v40/methods/account.getPasswordSettings.md index dcdae61a..3d3cce08 100644 --- a/old_docs/API_docs_v40/methods/account.getPasswordSettings.md +++ b/old_docs/API_docs_v40/methods/account.getPasswordSettings.md @@ -16,7 +16,7 @@ You cannot use this method directly; use $MadelineProto->update_2fa($params), in |current\_password\_hash|[bytes](../types/bytes.md) | You cannot use this method directly; use $MadelineProto->update_2fa($params), instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [account\_PasswordSettings](../types/account_PasswordSettings.md) +### Return type: [account.PasswordSettings](../types/account.PasswordSettings.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_PasswordSettings = $MadelineProto->account->getPasswordSettings(['current_password_hash' => 'bytes', ]); +$account.PasswordSettings = $MadelineProto->account->getPasswordSettings(['current_password_hash' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -account_PasswordSettings = account.getPasswordSettings({current_password_hash='bytes', }) +account.PasswordSettings = account.getPasswordSettings({current_password_hash='bytes', }) ``` ### Errors diff --git a/old_docs/API_docs_v40/methods/account.getPrivacy.md b/old_docs/API_docs_v40/methods/account.getPrivacy.md index 6a240129..e20c292c 100644 --- a/old_docs/API_docs_v40/methods/account.getPrivacy.md +++ b/old_docs/API_docs_v40/methods/account.getPrivacy.md @@ -16,7 +16,7 @@ Get privacy settings of current account |key|[InputPrivacyKey](../types/InputPrivacyKey.md) | Peer category whose privacy settings should be fetched | Yes| -### Return type: [account\_PrivacyRules](../types/account_PrivacyRules.md) +### Return type: [account.PrivacyRules](../types/account.PrivacyRules.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_PrivacyRules = $MadelineProto->account->getPrivacy(['key' => InputPrivacyKey, ]); +$account.PrivacyRules = $MadelineProto->account->getPrivacy(['key' => InputPrivacyKey, ]); ``` Or, if you're into Lua: ```lua -account_PrivacyRules = account.getPrivacy({key=InputPrivacyKey, }) +account.PrivacyRules = account.getPrivacy({key=InputPrivacyKey, }) ``` ### Errors diff --git a/old_docs/API_docs_v40/methods/account.sendChangePhoneCode.md b/old_docs/API_docs_v40/methods/account.sendChangePhoneCode.md index 169fa15b..e70372de 100644 --- a/old_docs/API_docs_v40/methods/account.sendChangePhoneCode.md +++ b/old_docs/API_docs_v40/methods/account.sendChangePhoneCode.md @@ -16,7 +16,7 @@ Verify a new phone number to associate to the current account |phone\_number|[string](../types/string.md) | New phone number | Yes| -### Return type: [account\_SentChangePhoneCode](../types/account_SentChangePhoneCode.md) +### Return type: [account.SentChangePhoneCode](../types/account.SentChangePhoneCode.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_SentChangePhoneCode = $MadelineProto->account->sendChangePhoneCode(['phone_number' => 'string', ]); +$account.SentChangePhoneCode = $MadelineProto->account->sendChangePhoneCode(['phone_number' => 'string', ]); ``` Or, if you're into Lua: ```lua -account_SentChangePhoneCode = account.sendChangePhoneCode({phone_number='string', }) +account.SentChangePhoneCode = account.sendChangePhoneCode({phone_number='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v40/methods/account.setPrivacy.md b/old_docs/API_docs_v40/methods/account.setPrivacy.md index 7c4cfba7..096d373e 100644 --- a/old_docs/API_docs_v40/methods/account.setPrivacy.md +++ b/old_docs/API_docs_v40/methods/account.setPrivacy.md @@ -17,7 +17,7 @@ Change privacy settings of current account |rules|Array of [InputPrivacyRule](../types/InputPrivacyRule.md) | Privacy settings | Yes| -### Return type: [account\_PrivacyRules](../types/account_PrivacyRules.md) +### Return type: [account.PrivacyRules](../types/account.PrivacyRules.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_PrivacyRules = $MadelineProto->account->setPrivacy(['key' => InputPrivacyKey, 'rules' => [InputPrivacyRule, InputPrivacyRule], ]); +$account.PrivacyRules = $MadelineProto->account->setPrivacy(['key' => InputPrivacyKey, 'rules' => [InputPrivacyRule, InputPrivacyRule], ]); ``` Or, if you're into Lua: ```lua -account_PrivacyRules = account.setPrivacy({key=InputPrivacyKey, rules={InputPrivacyRule}, }) +account.PrivacyRules = account.setPrivacy({key=InputPrivacyKey, rules={InputPrivacyRule}, }) ``` ### Errors diff --git a/old_docs/API_docs_v40/methods/api_README.md b/old_docs/API_docs_v40/methods/api_README.md index 231d24c7..c8d6c9ab 100644 --- a/old_docs/API_docs_v40/methods/api_README.md +++ b/old_docs/API_docs_v40/methods/api_README.md @@ -52,7 +52,7 @@ $MadelineProto->[account->getAccountTTL](account.getAccountTTL.md)(\[\]) === [$A ***

-$MadelineProto->[account->getAuthorizations](account.getAuthorizations.md)(\[\]) === [$account\_Authorizations](../types/account_Authorizations.md) +$MadelineProto->[account->getAuthorizations](account.getAuthorizations.md)(\[\]) === [$account.Authorizations](../types/account.Authorizations.md) ***

@@ -60,15 +60,15 @@ $MadelineProto->[account->getNotifySettings](account.getNotifySettings.md)(\['pe ***

-$MadelineProto->[account->getPassword](account.getPassword.md)(\[\]) === [$account\_Password](../types/account_Password.md) +$MadelineProto->[account->getPassword](account.getPassword.md)(\[\]) === [$account.Password](../types/account.Password.md) ***

-$MadelineProto->[account->getPasswordSettings](account.getPasswordSettings.md)(\['current_password_hash' => [bytes](../types/bytes.md), \]) === [$account\_PasswordSettings](../types/account_PasswordSettings.md) +$MadelineProto->[account->getPasswordSettings](account.getPasswordSettings.md)(\['current_password_hash' => [bytes](../types/bytes.md), \]) === [$account.PasswordSettings](../types/account.PasswordSettings.md) ***

-$MadelineProto->[account->getPrivacy](account.getPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), \]) === [$account\_PrivacyRules](../types/account_PrivacyRules.md) +$MadelineProto->[account->getPrivacy](account.getPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), \]) === [$account.PrivacyRules](../types/account.PrivacyRules.md) ***

@@ -88,7 +88,7 @@ $MadelineProto->[account->resetNotifySettings](account.resetNotifySettings.md)(\ ***

-$MadelineProto->[account->sendChangePhoneCode](account.sendChangePhoneCode.md)(\['phone_number' => [string](../types/string.md), \]) === [$account\_SentChangePhoneCode](../types/account_SentChangePhoneCode.md) +$MadelineProto->[account->sendChangePhoneCode](account.sendChangePhoneCode.md)(\['phone_number' => [string](../types/string.md), \]) === [$account.SentChangePhoneCode](../types/account.SentChangePhoneCode.md) ***

@@ -96,7 +96,7 @@ $MadelineProto->[account->setAccountTTL](account.setAccountTTL.md)(\['ttl' => [A ***

-$MadelineProto->[account->setPrivacy](account.setPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), 'rules' => \[[InputPrivacyRule](../types/InputPrivacyRule.md)\], \]) === [$account\_PrivacyRules](../types/account_PrivacyRules.md) +$MadelineProto->[account->setPrivacy](account.setPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), 'rules' => \[[InputPrivacyRule](../types/InputPrivacyRule.md)\], \]) === [$account.PrivacyRules](../types/account.PrivacyRules.md) ***

@@ -132,23 +132,23 @@ $MadelineProto->[auth->bindTempAuthKey](auth.bindTempAuthKey.md)(\['perm_auth_ke ***

-$MadelineProto->[auth->checkPassword](auth.checkPassword.md)(\['password_hash' => [bytes](../types/bytes.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->checkPassword](auth.checkPassword.md)(\['password_hash' => [bytes](../types/bytes.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

-$MadelineProto->[auth->checkPhone](auth.checkPhone.md)(\['phone_number' => [string](../types/string.md), \]) === [$auth\_CheckedPhone](../types/auth_CheckedPhone.md) +$MadelineProto->[auth->checkPhone](auth.checkPhone.md)(\['phone_number' => [string](../types/string.md), \]) === [$auth.CheckedPhone](../types/auth.CheckedPhone.md) ***

-$MadelineProto->[auth->exportAuthorization](auth.exportAuthorization.md)(\['dc_id' => [int](../types/int.md), \]) === [$auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) +$MadelineProto->[auth->exportAuthorization](auth.exportAuthorization.md)(\['dc_id' => [int](../types/int.md), \]) === [$auth.ExportedAuthorization](../types/auth.ExportedAuthorization.md) ***

-$MadelineProto->[auth->importAuthorization](auth.importAuthorization.md)(\['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->importAuthorization](auth.importAuthorization.md)(\['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

-$MadelineProto->[auth->importBotAuthorization](auth.importBotAuthorization.md)(\['api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), 'bot_auth_token' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->importBotAuthorization](auth.importBotAuthorization.md)(\['api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), 'bot_auth_token' => [string](../types/string.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

@@ -156,11 +156,11 @@ $MadelineProto->[auth->logOut](auth.logOut.md)(\[\]) === [$Bool](../types/Bool.m ***

-$MadelineProto->[auth->recoverPassword](auth.recoverPassword.md)(\['code' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->recoverPassword](auth.recoverPassword.md)(\['code' => [string](../types/string.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

-$MadelineProto->[auth->requestPasswordRecovery](auth.requestPasswordRecovery.md)(\[\]) === [$auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) +$MadelineProto->[auth->requestPasswordRecovery](auth.requestPasswordRecovery.md)(\[\]) === [$auth.PasswordRecovery](../types/auth.PasswordRecovery.md) ***

@@ -172,7 +172,7 @@ $MadelineProto->[auth->sendCall](auth.sendCall.md)(\['phone_number' => [string]( ***

-$MadelineProto->[auth->sendCode](auth.sendCode.md)(\['phone_number' => [string](../types/string.md), 'sms_type' => [int](../types/int.md), 'api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) === [$auth\_SentCode](../types/auth_SentCode.md) +$MadelineProto->[auth->sendCode](auth.sendCode.md)(\['phone_number' => [string](../types/string.md), 'sms_type' => [int](../types/int.md), 'api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) === [$auth.SentCode](../types/auth.SentCode.md) ***

@@ -184,11 +184,11 @@ $MadelineProto->[auth->sendSms](auth.sendSms.md)(\['phone_number' => [string](.. ***

-$MadelineProto->[auth->signIn](auth.signIn.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->signIn](auth.signIn.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

-$MadelineProto->[auth->signUp](auth.signUp.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->signUp](auth.signUp.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

@@ -196,7 +196,7 @@ $MadelineProto->[contacts->block](contacts.block.md)(\['id' => [InputUser](../ty ***

-$MadelineProto->[contacts->deleteContact](contacts.deleteContact.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$contacts\_Link](../types/contacts_Link.md) +$MadelineProto->[contacts->deleteContact](contacts.deleteContact.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$contacts.Link](../types/contacts.Link.md) ***

@@ -208,11 +208,11 @@ $MadelineProto->[contacts->exportCard](contacts.exportCard.md)(\[\]) === [$Vecto ***

-$MadelineProto->[contacts->getBlocked](contacts.getBlocked.md)(\['offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$contacts\_Blocked](../types/contacts_Blocked.md) +$MadelineProto->[contacts->getBlocked](contacts.getBlocked.md)(\['offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$contacts.Blocked](../types/contacts.Blocked.md) ***

-$MadelineProto->[contacts->getContacts](contacts.getContacts.md)(\['hash' => [string](../types/string.md), \]) === [$contacts\_Contacts](../types/contacts_Contacts.md) +$MadelineProto->[contacts->getContacts](contacts.getContacts.md)(\['hash' => [string](../types/string.md), \]) === [$contacts.Contacts](../types/contacts.Contacts.md) ***

@@ -220,7 +220,7 @@ $MadelineProto->[contacts->getStatuses](contacts.getStatuses.md)(\[\]) === [$Vec ***

-$MadelineProto->[contacts->getSuggested](contacts.getSuggested.md)(\['limit' => [int](../types/int.md), \]) === [$contacts\_Suggested](../types/contacts_Suggested.md) +$MadelineProto->[contacts->getSuggested](contacts.getSuggested.md)(\['limit' => [int](../types/int.md), \]) === [$contacts.Suggested](../types/contacts.Suggested.md) ***

@@ -228,7 +228,7 @@ $MadelineProto->[contacts->importCard](contacts.importCard.md)(\['export_card' = ***

-$MadelineProto->[contacts->importContacts](contacts.importContacts.md)(\['contacts' => \[[InputContact](../types/InputContact.md)\], 'replace' => [Bool](../types/Bool.md), \]) === [$contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) +$MadelineProto->[contacts->importContacts](contacts.importContacts.md)(\['contacts' => \[[InputContact](../types/InputContact.md)\], 'replace' => [Bool](../types/Bool.md), \]) === [$contacts.ImportedContacts](../types/contacts.ImportedContacts.md) ***

@@ -236,7 +236,7 @@ $MadelineProto->[contacts->resolveUsername](contacts.resolveUsername.md)(\['user ***

-$MadelineProto->[contacts->search](contacts.search.md)(\['q' => [string](../types/string.md), 'limit' => [int](../types/int.md), \]) === [$contacts\_Found](../types/contacts_Found.md) +$MadelineProto->[contacts->search](contacts.search.md)(\['q' => [string](../types/string.md), 'limit' => [int](../types/int.md), \]) === [$contacts.Found](../types/contacts.Found.md) ***

@@ -244,11 +244,11 @@ $MadelineProto->[contacts->unblock](contacts.unblock.md)(\['id' => [InputUser](. ***

-$MadelineProto->[help->getAppChangelog](help.getAppChangelog.md)(\['device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) === [$help\_AppChangelog](../types/help_AppChangelog.md) +$MadelineProto->[help->getAppChangelog](help.getAppChangelog.md)(\['device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) === [$help.AppChangelog](../types/help.AppChangelog.md) ***

-$MadelineProto->[help->getAppUpdate](help.getAppUpdate.md)(\['device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) === [$help\_AppUpdate](../types/help_AppUpdate.md) +$MadelineProto->[help->getAppUpdate](help.getAppUpdate.md)(\['device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) === [$help.AppUpdate](../types/help.AppUpdate.md) ***

@@ -256,7 +256,7 @@ $MadelineProto->[help->getConfig](help.getConfig.md)(\[\]) === [$Config](../type ***

-$MadelineProto->[help->getInviteText](help.getInviteText.md)(\['lang_code' => [string](../types/string.md), \]) === [$help\_InviteText](../types/help_InviteText.md) +$MadelineProto->[help->getInviteText](help.getInviteText.md)(\['lang_code' => [string](../types/string.md), \]) === [$help.InviteText](../types/help.InviteText.md) ***

@@ -264,7 +264,7 @@ $MadelineProto->[help->getNearestDc](help.getNearestDc.md)(\[\]) === [$NearestDc ***

-$MadelineProto->[help->getSupport](help.getSupport.md)(\[\]) === [$help\_Support](../types/help_Support.md) +$MadelineProto->[help->getSupport](help.getSupport.md)(\[\]) === [$help.Support](../types/help.Support.md) ***

@@ -312,7 +312,7 @@ $MadelineProto->[messages->createChat](messages.createChat.md)(\['users' => \[[I ***

-$MadelineProto->[messages->deleteChannelMessages](messages.deleteChannelMessages.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) +$MadelineProto->[messages->deleteChannelMessages](messages.deleteChannelMessages.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages.AffectedMessages](../types/messages.AffectedMessages.md) ***

@@ -320,11 +320,11 @@ $MadelineProto->[messages->deleteChatUser](messages.deleteChatUser.md)(\['chat_i ***

-$MadelineProto->[messages->deleteHistory](messages.deleteHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset' => [int](../types/int.md), \]) === [$messages\_AffectedHistory](../types/messages_AffectedHistory.md) +$MadelineProto->[messages->deleteHistory](messages.deleteHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset' => [int](../types/int.md), \]) === [$messages.AffectedHistory](../types/messages.AffectedHistory.md) ***

-$MadelineProto->[messages->deleteMessages](messages.deleteMessages.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) +$MadelineProto->[messages->deleteMessages](messages.deleteMessages.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages.AffectedMessages](../types/messages.AffectedMessages.md) ***

@@ -352,47 +352,47 @@ $MadelineProto->[messages->forwardMessages](messages.forwardMessages.md)(\['peer ***

-$MadelineProto->[messages->getAllStickers](messages.getAllStickers.md)(\['hash' => [string](../types/string.md), \]) === [$messages\_AllStickers](../types/messages_AllStickers.md) +$MadelineProto->[messages->getAllStickers](messages.getAllStickers.md)(\['hash' => [string](../types/string.md), \]) === [$messages.AllStickers](../types/messages.AllStickers.md) ***

-$MadelineProto->[messages->getChannelDialogs](messages.getChannelDialogs.md)(\['offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages\_Dialogs](../types/messages_Dialogs.md) +$MadelineProto->[messages->getChannelDialogs](messages.getChannelDialogs.md)(\['offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages.Dialogs](../types/messages.Dialogs.md) ***

-$MadelineProto->[messages->getChats](messages.getChats.md)(\['id' => \[[InputChat](../types/InputChat.md)\], \]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[messages->getChats](messages.getChats.md)(\['id' => \[[InputChat](../types/InputChat.md)\], \]) === [$messages.Chats](../types/messages.Chats.md) ***

-$MadelineProto->[messages->getDhConfig](messages.getDhConfig.md)(\['version' => [int](../types/int.md), 'random_length' => [int](../types/int.md), \]) === [$messages\_DhConfig](../types/messages_DhConfig.md) +$MadelineProto->[messages->getDhConfig](messages.getDhConfig.md)(\['version' => [int](../types/int.md), 'random_length' => [int](../types/int.md), \]) === [$messages.DhConfig](../types/messages.DhConfig.md) ***

-$MadelineProto->[messages->getDialogs](messages.getDialogs.md)(\['offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages\_Dialogs](../types/messages_Dialogs.md) +$MadelineProto->[messages->getDialogs](messages.getDialogs.md)(\['offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages.Dialogs](../types/messages.Dialogs.md) ***

-$MadelineProto->[messages->getFullChat](messages.getFullChat.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), \]) === [$messages\_ChatFull](../types/messages_ChatFull.md) +$MadelineProto->[messages->getFullChat](messages.getFullChat.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), \]) === [$messages.ChatFull](../types/messages.ChatFull.md) ***

-$MadelineProto->[messages->getHistory](messages.getHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->getHistory](messages.getHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[messages->getImportantHistory](messages.getImportantHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->getImportantHistory](messages.getImportantHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[messages->getMessages](messages.getMessages.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->getMessages](messages.getMessages.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[messages->getStickerSet](messages.getStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), \]) === [$messages\_StickerSet](../types/messages_StickerSet.md) +$MadelineProto->[messages->getStickerSet](messages.getStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), \]) === [$messages.StickerSet](../types/messages.StickerSet.md) ***

-$MadelineProto->[messages->getStickers](messages.getStickers.md)(\['emoticon' => [string](../types/string.md), 'hash' => [string](../types/string.md), \]) === [$messages\_Stickers](../types/messages_Stickers.md) +$MadelineProto->[messages->getStickers](messages.getStickers.md)(\['emoticon' => [string](../types/string.md), 'hash' => [string](../types/string.md), \]) === [$messages.Stickers](../types/messages.Stickers.md) ***

@@ -416,11 +416,11 @@ $MadelineProto->[messages->readEncryptedHistory](messages.readEncryptedHistory.m ***

-$MadelineProto->[messages->readHistory](messages.readHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), 'offset' => [int](../types/int.md), \]) === [$messages\_AffectedHistory](../types/messages_AffectedHistory.md) +$MadelineProto->[messages->readHistory](messages.readHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), 'offset' => [int](../types/int.md), \]) === [$messages.AffectedHistory](../types/messages.AffectedHistory.md) ***

-$MadelineProto->[messages->readMessageContents](messages.readMessageContents.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) +$MadelineProto->[messages->readMessageContents](messages.readMessageContents.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages.AffectedMessages](../types/messages.AffectedMessages.md) ***

@@ -436,7 +436,7 @@ $MadelineProto->[messages->requestEncryption](messages.requestEncryption.md)(\[' ***

-$MadelineProto->[messages->search](messages.search.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'q' => [string](../types/string.md), 'filter' => [MessagesFilter](../types/MessagesFilter.md), 'min_date' => [int](../types/int.md), 'max_date' => [int](../types/int.md), 'offset' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->search](messages.search.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'q' => [string](../types/string.md), 'filter' => [MessagesFilter](../types/MessagesFilter.md), 'min_date' => [int](../types/int.md), 'max_date' => [int](../types/int.md), 'offset' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

@@ -444,15 +444,15 @@ $MadelineProto->[messages->sendBroadcast](messages.sendBroadcast.md)(\['contacts ***

-$MadelineProto->[messages->sendEncrypted](messages.sendEncrypted.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'message' => [DecryptedMessage](../types/DecryptedMessage.md), \]) === [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +$MadelineProto->[messages->sendEncrypted](messages.sendEncrypted.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), \]) === [$messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ***

-$MadelineProto->[messages->sendEncryptedFile](messages.sendEncryptedFile.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'message' => [DecryptedMessage](../types/DecryptedMessage.md), 'file' => [InputEncryptedFile](../types/InputEncryptedFile.md), \]) === [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +$MadelineProto->[messages->sendEncryptedFile](messages.sendEncryptedFile.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), 'file' => [InputEncryptedFile](../types/InputEncryptedFile.md), \]) === [$messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ***

-$MadelineProto->[messages->sendEncryptedService](messages.sendEncryptedService.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'message' => [DecryptedMessage](../types/DecryptedMessage.md), \]) === [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +$MadelineProto->[messages->sendEncryptedService](messages.sendEncryptedService.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), \]) === [$messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ***

@@ -484,7 +484,7 @@ $MadelineProto->[photos->deletePhotos](photos.deletePhotos.md)(\['id' => \[[Inpu ***

-$MadelineProto->[photos->getUserPhotos](photos.getUserPhotos.md)(\['user_id' => [InputUser](../types/InputUser.md), 'offset' => [int](../types/int.md), 'max_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$photos\_Photos](../types/photos_Photos.md) +$MadelineProto->[photos->getUserPhotos](photos.getUserPhotos.md)(\['user_id' => [InputUser](../types/InputUser.md), 'offset' => [int](../types/int.md), 'max_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$photos.Photos](../types/photos.Photos.md) ***

@@ -492,23 +492,23 @@ $MadelineProto->[photos->updateProfilePhoto](photos.updateProfilePhoto.md)(\['id ***

-$MadelineProto->[photos->uploadProfilePhoto](photos.uploadProfilePhoto.md)(\['file' => [InputFile](../types/InputFile.md), 'caption' => [string](../types/string.md), 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'crop' => [InputPhotoCrop](../types/InputPhotoCrop.md), \]) === [$photos\_Photo](../types/photos_Photo.md) +$MadelineProto->[photos->uploadProfilePhoto](photos.uploadProfilePhoto.md)(\['file' => [InputFile](../types/InputFile.md), 'caption' => [string](../types/string.md), 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'crop' => [InputPhotoCrop](../types/InputPhotoCrop.md), \]) === [$photos.Photo](../types/photos.Photo.md) ***

-$MadelineProto->[updates->getChannelDifference](updates.getChannelDifference.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$updates\_ChannelDifference](../types/updates_ChannelDifference.md) +$MadelineProto->[updates->getChannelDifference](updates.getChannelDifference.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$updates.ChannelDifference](../types/updates.ChannelDifference.md) ***

-$MadelineProto->[updates->getDifference](updates.getDifference.md)(\['pts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) === [$updates\_Difference](../types/updates_Difference.md) +$MadelineProto->[updates->getDifference](updates.getDifference.md)(\['pts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) === [$updates.Difference](../types/updates.Difference.md) ***

-$MadelineProto->[updates->getState](updates.getState.md)(\[\]) === [$updates\_State](../types/updates_State.md) +$MadelineProto->[updates->getState](updates.getState.md)(\[\]) === [$updates.State](../types/updates.State.md) ***

-$MadelineProto->[upload->getFile](upload.getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_File](../types/upload_File.md) +$MadelineProto->[upload->getFile](upload.getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload.File](../types/upload.File.md) ***

diff --git a/old_docs/API_docs_v40/methods/auth.checkPassword.md b/old_docs/API_docs_v40/methods/auth.checkPassword.md index db65cb56..eeeed171 100644 --- a/old_docs/API_docs_v40/methods/auth.checkPassword.md +++ b/old_docs/API_docs_v40/methods/auth.checkPassword.md @@ -16,7 +16,7 @@ You cannot use this method directly, use the complete_2fa_login method instead ( |password\_hash|[bytes](../types/bytes.md) | You cannot use this method directly, use the complete_2fa_login method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->checkPassword(['password_hash' => 'bytes', ]); +$auth.Authorization = $MadelineProto->auth->checkPassword(['password_hash' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.checkPassword({password_hash='bytes', }) +auth.Authorization = auth.checkPassword({password_hash='bytes', }) ``` ### Errors diff --git a/old_docs/API_docs_v40/methods/auth.checkPhone.md b/old_docs/API_docs_v40/methods/auth.checkPhone.md index 227358cb..51d4cba6 100644 --- a/old_docs/API_docs_v40/methods/auth.checkPhone.md +++ b/old_docs/API_docs_v40/methods/auth.checkPhone.md @@ -16,7 +16,7 @@ Check if this phone number is registered on telegram |phone\_number|[string](../types/string.md) | The phone number to check | Yes| -### Return type: [auth\_CheckedPhone](../types/auth_CheckedPhone.md) +### Return type: [auth.CheckedPhone](../types/auth.CheckedPhone.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => 'string', ]); +$auth.CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_CheckedPhone = auth.checkPhone({phone_number='string', }) +auth.CheckedPhone = auth.checkPhone({phone_number='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v40/methods/auth.exportAuthorization.md b/old_docs/API_docs_v40/methods/auth.exportAuthorization.md index 72063a2b..41a1f87d 100644 --- a/old_docs/API_docs_v40/methods/auth.exportAuthorization.md +++ b/old_docs/API_docs_v40/methods/auth.exportAuthorization.md @@ -16,7 +16,7 @@ You cannot use this method directly, use $MadelineProto->exportAuthorization() i |dc\_id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| -### Return type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) +### Return type: [auth.ExportedAuthorization](../types/auth.ExportedAuthorization.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_ExportedAuthorization = $MadelineProto->auth->exportAuthorization(['dc_id' => int, ]); +$auth.ExportedAuthorization = $MadelineProto->auth->exportAuthorization(['dc_id' => int, ]); ``` Or, if you're into Lua: ```lua -auth_ExportedAuthorization = auth.exportAuthorization({dc_id=int, }) +auth.ExportedAuthorization = auth.exportAuthorization({dc_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v40/methods/auth.importAuthorization.md b/old_docs/API_docs_v40/methods/auth.importAuthorization.md index d9c13751..5257e0b0 100644 --- a/old_docs/API_docs_v40/methods/auth.importAuthorization.md +++ b/old_docs/API_docs_v40/methods/auth.importAuthorization.md @@ -17,7 +17,7 @@ You cannot use this method directly, use $MadelineProto->importAuthorization($au |bytes|[bytes](../types/bytes.md) | You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => 'bytes', ]); +$auth.Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.importAuthorization({id=int, bytes='bytes', }) +auth.Authorization = auth.importAuthorization({id=int, bytes='bytes', }) ``` ### Errors diff --git a/old_docs/API_docs_v40/methods/auth.importBotAuthorization.md b/old_docs/API_docs_v40/methods/auth.importBotAuthorization.md index 3161d6be..a4ea8027 100644 --- a/old_docs/API_docs_v40/methods/auth.importBotAuthorization.md +++ b/old_docs/API_docs_v40/methods/auth.importBotAuthorization.md @@ -18,7 +18,7 @@ You cannot use this method directly, use the botLogin method instead (see https: |bot\_auth\_token|[string](../types/string.md) | You cannot use this method directly, use the botLogin method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **YES** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->importBotAuthorization(['api_id' => int, 'api_hash' => 'string', 'bot_auth_token' => 'string', ]); +$auth.Authorization = $MadelineProto->auth->importBotAuthorization(['api_id' => int, 'api_hash' => 'string', 'bot_auth_token' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.importBotAuthorization({api_id=int, api_hash='string', bot_auth_token='string', }) +auth.Authorization = auth.importBotAuthorization({api_id=int, api_hash='string', bot_auth_token='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v40/methods/auth.recoverPassword.md b/old_docs/API_docs_v40/methods/auth.recoverPassword.md index f7cbf4a4..2e78444b 100644 --- a/old_docs/API_docs_v40/methods/auth.recoverPassword.md +++ b/old_docs/API_docs_v40/methods/auth.recoverPassword.md @@ -16,7 +16,7 @@ Reset the [2FA password](https://core.telegram.org/api/srp) using the recovery c |code|[string](../types/string.md) | Code received via email | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->recoverPassword(['code' => 'string', ]); +$auth.Authorization = $MadelineProto->auth->recoverPassword(['code' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.recoverPassword({code='string', }) +auth.Authorization = auth.recoverPassword({code='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v40/methods/auth.requestPasswordRecovery.md b/old_docs/API_docs_v40/methods/auth.requestPasswordRecovery.md index 5cd77936..ff1ecc02 100644 --- a/old_docs/API_docs_v40/methods/auth.requestPasswordRecovery.md +++ b/old_docs/API_docs_v40/methods/auth.requestPasswordRecovery.md @@ -11,7 +11,7 @@ Request recovery code of a [2FA password](https://core.telegram.org/api/srp), on -### Return type: [auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) +### Return type: [auth.PasswordRecovery](../types/auth.PasswordRecovery.md) ### Can bots use this method: **NO** @@ -28,13 +28,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_PasswordRecovery = $MadelineProto->auth->requestPasswordRecovery(); +$auth.PasswordRecovery = $MadelineProto->auth->requestPasswordRecovery(); ``` Or, if you're into Lua: ```lua -auth_PasswordRecovery = auth.requestPasswordRecovery({}) +auth.PasswordRecovery = auth.requestPasswordRecovery({}) ``` ### Errors diff --git a/old_docs/API_docs_v40/methods/auth.sendCode.md b/old_docs/API_docs_v40/methods/auth.sendCode.md index 9fa1a0c7..68b6ff31 100644 --- a/old_docs/API_docs_v40/methods/auth.sendCode.md +++ b/old_docs/API_docs_v40/methods/auth.sendCode.md @@ -20,7 +20,7 @@ You cannot use this method directly, use the phoneLogin method instead (see http |lang\_code|[string](../types/string.md) | You cannot use this method directly, use the phoneLogin method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_SentCode](../types/auth_SentCode.md) +### Return type: [auth.SentCode](../types/auth.SentCode.md) ### Can bots use this method: **NO** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_SentCode = $MadelineProto->auth->sendCode(['phone_number' => 'string', 'sms_type' => int, 'api_id' => int, 'api_hash' => 'string', 'lang_code' => 'string', ]); +$auth.SentCode = $MadelineProto->auth->sendCode(['phone_number' => 'string', 'sms_type' => int, 'api_id' => int, 'api_hash' => 'string', 'lang_code' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_SentCode = auth.sendCode({phone_number='string', sms_type=int, api_id=int, api_hash='string', lang_code='string', }) +auth.SentCode = auth.sendCode({phone_number='string', sms_type=int, api_id=int, api_hash='string', lang_code='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v40/methods/auth.signIn.md b/old_docs/API_docs_v40/methods/auth.signIn.md index 54812a2e..95b14f32 100644 --- a/old_docs/API_docs_v40/methods/auth.signIn.md +++ b/old_docs/API_docs_v40/methods/auth.signIn.md @@ -18,7 +18,7 @@ You cannot use this method directly, use the completePhoneLogin method instead ( |phone\_code|[string](../types/string.md) | You cannot use this method directly, use the completePhoneLogin method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->signIn(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', ]); +$auth.Authorization = $MadelineProto->auth->signIn(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.signIn({phone_number='string', phone_code_hash='string', phone_code='string', }) +auth.Authorization = auth.signIn({phone_number='string', phone_code_hash='string', phone_code='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v40/methods/auth.signUp.md b/old_docs/API_docs_v40/methods/auth.signUp.md index 2aca2bfa..fdb5d628 100644 --- a/old_docs/API_docs_v40/methods/auth.signUp.md +++ b/old_docs/API_docs_v40/methods/auth.signUp.md @@ -20,7 +20,7 @@ You cannot use this method directly, use the completeSignup method instead (see |last\_name|[string](../types/string.md) | You cannot use this method directly, use the completeSignup method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **NO** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->signUp(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', 'first_name' => 'string', 'last_name' => 'string', ]); +$auth.Authorization = $MadelineProto->auth->signUp(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', 'first_name' => 'string', 'last_name' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.signUp({phone_number='string', phone_code_hash='string', phone_code='string', first_name='string', last_name='string', }) +auth.Authorization = auth.signUp({phone_number='string', phone_code_hash='string', phone_code='string', first_name='string', last_name='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v40/methods/contacts.deleteContact.md b/old_docs/API_docs_v40/methods/contacts.deleteContact.md index a9321d64..9169e1e0 100644 --- a/old_docs/API_docs_v40/methods/contacts.deleteContact.md +++ b/old_docs/API_docs_v40/methods/contacts.deleteContact.md @@ -16,7 +16,7 @@ Delete a contact |id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | The contact to delete | Optional| -### Return type: [contacts\_Link](../types/contacts_Link.md) +### Return type: [contacts.Link](../types/contacts.Link.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Link = $MadelineProto->contacts->deleteContact(['id' => InputUser, ]); +$contacts.Link = $MadelineProto->contacts->deleteContact(['id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -contacts_Link = contacts.deleteContact({id=InputUser, }) +contacts.Link = contacts.deleteContact({id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v40/methods/contacts.getBlocked.md b/old_docs/API_docs_v40/methods/contacts.getBlocked.md index 92f2f331..6ac1c343 100644 --- a/old_docs/API_docs_v40/methods/contacts.getBlocked.md +++ b/old_docs/API_docs_v40/methods/contacts.getBlocked.md @@ -17,7 +17,7 @@ Returns the list of blocked users. |limit|[int](../types/int.md) | The number of list elements to be returned | Yes| -### Return type: [contacts\_Blocked](../types/contacts_Blocked.md) +### Return type: [contacts.Blocked](../types/contacts.Blocked.md) ### Can bots use this method: **NO** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Blocked = $MadelineProto->contacts->getBlocked(['offset' => int, 'limit' => int, ]); +$contacts.Blocked = $MadelineProto->contacts->getBlocked(['offset' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -contacts_Blocked = contacts.getBlocked({offset=int, limit=int, }) +contacts.Blocked = contacts.getBlocked({offset=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v40/methods/contacts.getContacts.md b/old_docs/API_docs_v40/methods/contacts.getContacts.md index caee7aa8..a2fcd412 100644 --- a/old_docs/API_docs_v40/methods/contacts.getContacts.md +++ b/old_docs/API_docs_v40/methods/contacts.getContacts.md @@ -16,7 +16,7 @@ Returns the current user's contact list. |hash|[string](../types/string.md) | List of contact user IDs you already cached | Yes| -### Return type: [contacts\_Contacts](../types/contacts_Contacts.md) +### Return type: [contacts.Contacts](../types/contacts.Contacts.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Contacts = $MadelineProto->contacts->getContacts(['hash' => 'string', ]); +$contacts.Contacts = $MadelineProto->contacts->getContacts(['hash' => 'string', ]); ``` Or, if you're into Lua: ```lua -contacts_Contacts = contacts.getContacts({hash='string', }) +contacts.Contacts = contacts.getContacts({hash='string', }) ``` diff --git a/old_docs/API_docs_v40/methods/contacts.getSuggested.md b/old_docs/API_docs_v40/methods/contacts.getSuggested.md index 32e96621..ede222d4 100644 --- a/old_docs/API_docs_v40/methods/contacts.getSuggested.md +++ b/old_docs/API_docs_v40/methods/contacts.getSuggested.md @@ -16,7 +16,7 @@ Get suggested contacts |limit|[int](../types/int.md) | Number of results to return | Yes| -### Return type: [contacts\_Suggested](../types/contacts_Suggested.md) +### Return type: [contacts.Suggested](../types/contacts.Suggested.md) ### Can bots use this method: **YES** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Suggested = $MadelineProto->contacts->getSuggested(['limit' => int, ]); +$contacts.Suggested = $MadelineProto->contacts->getSuggested(['limit' => int, ]); ``` Or, if you're into Lua: ```lua -contacts_Suggested = contacts.getSuggested({limit=int, }) +contacts.Suggested = contacts.getSuggested({limit=int, }) ``` diff --git a/old_docs/API_docs_v40/methods/contacts.importContacts.md b/old_docs/API_docs_v40/methods/contacts.importContacts.md index 572df9fb..975d0565 100644 --- a/old_docs/API_docs_v40/methods/contacts.importContacts.md +++ b/old_docs/API_docs_v40/methods/contacts.importContacts.md @@ -17,7 +17,7 @@ Imports contacts: saves a full list on the server, adds already registered conta |replace|[Bool](../types/Bool.md) | Replace contacts? | Yes| -### Return type: [contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) +### Return type: [contacts.ImportedContacts](../types/contacts.ImportedContacts.md) ### Can bots use this method: **NO** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_ImportedContacts = $MadelineProto->contacts->importContacts(['contacts' => [InputContact, InputContact], 'replace' => Bool, ]); +$contacts.ImportedContacts = $MadelineProto->contacts->importContacts(['contacts' => [InputContact, InputContact], 'replace' => Bool, ]); ``` Or, if you're into Lua: ```lua -contacts_ImportedContacts = contacts.importContacts({contacts={InputContact}, replace=Bool, }) +contacts.ImportedContacts = contacts.importContacts({contacts={InputContact}, replace=Bool, }) ``` diff --git a/old_docs/API_docs_v40/methods/contacts.search.md b/old_docs/API_docs_v40/methods/contacts.search.md index 2f39d6f1..ec04c7f9 100644 --- a/old_docs/API_docs_v40/methods/contacts.search.md +++ b/old_docs/API_docs_v40/methods/contacts.search.md @@ -17,7 +17,7 @@ Returns users found by username substring. |limit|[int](../types/int.md) | Maximum number of users to be returned | Yes| -### Return type: [contacts\_Found](../types/contacts_Found.md) +### Return type: [contacts.Found](../types/contacts.Found.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Found = $MadelineProto->contacts->search(['q' => 'string', 'limit' => int, ]); +$contacts.Found = $MadelineProto->contacts->search(['q' => 'string', 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -contacts_Found = contacts.search({q='string', limit=int, }) +contacts.Found = contacts.search({q='string', limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v40/methods/help.getAppChangelog.md b/old_docs/API_docs_v40/methods/help.getAppChangelog.md index 890e3a4b..29bee8fb 100644 --- a/old_docs/API_docs_v40/methods/help.getAppChangelog.md +++ b/old_docs/API_docs_v40/methods/help.getAppChangelog.md @@ -19,7 +19,7 @@ Get changelog of current app |lang\_code|[string](../types/string.md) | Language code | Yes| -### Return type: [help\_AppChangelog](../types/help_AppChangelog.md) +### Return type: [help.AppChangelog](../types/help.AppChangelog.md) ### Can bots use this method: **NO** @@ -36,12 +36,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_AppChangelog = $MadelineProto->help->getAppChangelog(['device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'lang_code' => 'string', ]); +$help.AppChangelog = $MadelineProto->help->getAppChangelog(['device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'lang_code' => 'string', ]); ``` Or, if you're into Lua: ```lua -help_AppChangelog = help.getAppChangelog({device_model='string', system_version='string', app_version='string', lang_code='string', }) +help.AppChangelog = help.getAppChangelog({device_model='string', system_version='string', app_version='string', lang_code='string', }) ``` diff --git a/old_docs/API_docs_v40/methods/help.getAppUpdate.md b/old_docs/API_docs_v40/methods/help.getAppUpdate.md index 0f844391..bfbed19e 100644 --- a/old_docs/API_docs_v40/methods/help.getAppUpdate.md +++ b/old_docs/API_docs_v40/methods/help.getAppUpdate.md @@ -19,7 +19,7 @@ Returns information on update availability for the current application. |lang\_code|[string](../types/string.md) | Langauge code | Yes| -### Return type: [help\_AppUpdate](../types/help_AppUpdate.md) +### Return type: [help.AppUpdate](../types/help.AppUpdate.md) ### Can bots use this method: **NO** @@ -36,12 +36,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_AppUpdate = $MadelineProto->help->getAppUpdate(['device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'lang_code' => 'string', ]); +$help.AppUpdate = $MadelineProto->help->getAppUpdate(['device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'lang_code' => 'string', ]); ``` Or, if you're into Lua: ```lua -help_AppUpdate = help.getAppUpdate({device_model='string', system_version='string', app_version='string', lang_code='string', }) +help.AppUpdate = help.getAppUpdate({device_model='string', system_version='string', app_version='string', lang_code='string', }) ``` diff --git a/old_docs/API_docs_v40/methods/help.getInviteText.md b/old_docs/API_docs_v40/methods/help.getInviteText.md index 482afbc0..f84b2e82 100644 --- a/old_docs/API_docs_v40/methods/help.getInviteText.md +++ b/old_docs/API_docs_v40/methods/help.getInviteText.md @@ -16,7 +16,7 @@ Returns text of a text message with an invitation. |lang\_code|[string](../types/string.md) | Language | Yes| -### Return type: [help\_InviteText](../types/help_InviteText.md) +### Return type: [help.InviteText](../types/help.InviteText.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_InviteText = $MadelineProto->help->getInviteText(['lang_code' => 'string', ]); +$help.InviteText = $MadelineProto->help->getInviteText(['lang_code' => 'string', ]); ``` Or, if you're into Lua: ```lua -help_InviteText = help.getInviteText({lang_code='string', }) +help.InviteText = help.getInviteText({lang_code='string', }) ``` diff --git a/old_docs/API_docs_v40/methods/help.getSupport.md b/old_docs/API_docs_v40/methods/help.getSupport.md index 7a577892..8a8df916 100644 --- a/old_docs/API_docs_v40/methods/help.getSupport.md +++ b/old_docs/API_docs_v40/methods/help.getSupport.md @@ -11,7 +11,7 @@ Returns the support user for the 'ask a question' feature. -### Return type: [help\_Support](../types/help_Support.md) +### Return type: [help.Support](../types/help.Support.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_Support = $MadelineProto->help->getSupport(); +$help.Support = $MadelineProto->help->getSupport(); ``` Or, if you're into Lua: ```lua -help_Support = help.getSupport({}) +help.Support = help.getSupport({}) ``` diff --git a/old_docs/API_docs_v40/methods/messages.deleteChannelMessages.md b/old_docs/API_docs_v40/methods/messages.deleteChannelMessages.md index 735bb758..08c2c06d 100644 --- a/old_docs/API_docs_v40/methods/messages.deleteChannelMessages.md +++ b/old_docs/API_docs_v40/methods/messages.deleteChannelMessages.md @@ -17,7 +17,7 @@ Delete channel messages |id|Array of [int](../types/int.md) | The IDs of messages to delete | Yes| -### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) +### Return type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) ### Can bots use this method: **YES** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedMessages = $MadelineProto->messages->deleteChannelMessages(['peer' => InputPeer, 'id' => [int, int], ]); +$messages.AffectedMessages = $MadelineProto->messages->deleteChannelMessages(['peer' => InputPeer, 'id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AffectedMessages = messages.deleteChannelMessages({peer=InputPeer, id={int}, }) +messages.AffectedMessages = messages.deleteChannelMessages({peer=InputPeer, id={int}, }) ``` diff --git a/old_docs/API_docs_v40/methods/messages.deleteHistory.md b/old_docs/API_docs_v40/methods/messages.deleteHistory.md index 974b7e3c..93badc83 100644 --- a/old_docs/API_docs_v40/methods/messages.deleteHistory.md +++ b/old_docs/API_docs_v40/methods/messages.deleteHistory.md @@ -17,7 +17,7 @@ Deletes communication history. |offset|[int](../types/int.md) | Offset | Yes| -### Return type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) +### Return type: [messages.AffectedHistory](../types/messages.AffectedHistory.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedHistory = $MadelineProto->messages->deleteHistory(['peer' => InputPeer, 'offset' => int, ]); +$messages.AffectedHistory = $MadelineProto->messages->deleteHistory(['peer' => InputPeer, 'offset' => int, ]); ``` Or, if you're into Lua: ```lua -messages_AffectedHistory = messages.deleteHistory({peer=InputPeer, offset=int, }) +messages.AffectedHistory = messages.deleteHistory({peer=InputPeer, offset=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v40/methods/messages.deleteMessages.md b/old_docs/API_docs_v40/methods/messages.deleteMessages.md index 355b2ff8..cc432cc1 100644 --- a/old_docs/API_docs_v40/methods/messages.deleteMessages.md +++ b/old_docs/API_docs_v40/methods/messages.deleteMessages.md @@ -16,7 +16,7 @@ Deletes messages by their identifiers. |id|Array of [int](../types/int.md) | IDs of messages to delete, use channels->deleteMessages for supergroups | Yes| -### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) +### Return type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedMessages = $MadelineProto->messages->deleteMessages(['id' => [int, int], ]); +$messages.AffectedMessages = $MadelineProto->messages->deleteMessages(['id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AffectedMessages = messages.deleteMessages({id={int}, }) +messages.AffectedMessages = messages.deleteMessages({id={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v40/methods/messages.getAllStickers.md b/old_docs/API_docs_v40/methods/messages.getAllStickers.md index 3bbfd91b..bdf1bab0 100644 --- a/old_docs/API_docs_v40/methods/messages.getAllStickers.md +++ b/old_docs/API_docs_v40/methods/messages.getAllStickers.md @@ -16,7 +16,7 @@ Get all installed stickers |hash|[string](../types/string.md) | Previously fetched stickers | Yes| -### Return type: [messages\_AllStickers](../types/messages_AllStickers.md) +### Return type: [messages.AllStickers](../types/messages.AllStickers.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AllStickers = $MadelineProto->messages->getAllStickers(['hash' => 'string', ]); +$messages.AllStickers = $MadelineProto->messages->getAllStickers(['hash' => 'string', ]); ``` Or, if you're into Lua: ```lua -messages_AllStickers = messages.getAllStickers({hash='string', }) +messages.AllStickers = messages.getAllStickers({hash='string', }) ``` diff --git a/old_docs/API_docs_v40/methods/messages.getChannelDialogs.md b/old_docs/API_docs_v40/methods/messages.getChannelDialogs.md index 3ba2029c..288ce18e 100644 --- a/old_docs/API_docs_v40/methods/messages.getChannelDialogs.md +++ b/old_docs/API_docs_v40/methods/messages.getChannelDialogs.md @@ -17,7 +17,7 @@ Get channel/supergruop dialogs |limit|[int](../types/int.md) | Number of results to return | Yes| -### Return type: [messages\_Dialogs](../types/messages_Dialogs.md) +### Return type: [messages.Dialogs](../types/messages.Dialogs.md) ### Can bots use this method: **YES** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Dialogs = $MadelineProto->messages->getChannelDialogs(['offset' => int, 'limit' => int, ]); +$messages.Dialogs = $MadelineProto->messages->getChannelDialogs(['offset' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Dialogs = messages.getChannelDialogs({offset=int, limit=int, }) +messages.Dialogs = messages.getChannelDialogs({offset=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v40/methods/messages.getChats.md b/old_docs/API_docs_v40/methods/messages.getChats.md index c13bd935..efcd7be8 100644 --- a/old_docs/API_docs_v40/methods/messages.getChats.md +++ b/old_docs/API_docs_v40/methods/messages.getChats.md @@ -16,7 +16,7 @@ Returns chat basic info on their IDs. |id|Array of [InputChat](../types/InputChat.md) | The MTProto IDs of chats to fetch info about | Yes| -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->messages->getChats(['id' => [InputChat, InputChat], ]); +$messages.Chats = $MadelineProto->messages->getChats(['id' => [InputChat, InputChat], ]); ``` Or, if you're into Lua: ```lua -messages_Chats = messages.getChats({id={InputChat}, }) +messages.Chats = messages.getChats({id={InputChat}, }) ``` ### Errors diff --git a/old_docs/API_docs_v40/methods/messages.getDhConfig.md b/old_docs/API_docs_v40/methods/messages.getDhConfig.md index 88ea4ab3..7b9da566 100644 --- a/old_docs/API_docs_v40/methods/messages.getDhConfig.md +++ b/old_docs/API_docs_v40/methods/messages.getDhConfig.md @@ -17,7 +17,7 @@ You cannot use this method directly, instead use $MadelineProto->getDhConfig(); |random\_length|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->getDhConfig(); | Yes| -### Return type: [messages\_DhConfig](../types/messages_DhConfig.md) +### Return type: [messages.DhConfig](../types/messages.DhConfig.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_DhConfig = $MadelineProto->messages->getDhConfig(['version' => int, 'random_length' => int, ]); +$messages.DhConfig = $MadelineProto->messages->getDhConfig(['version' => int, 'random_length' => int, ]); ``` Or, if you're into Lua: ```lua -messages_DhConfig = messages.getDhConfig({version=int, random_length=int, }) +messages.DhConfig = messages.getDhConfig({version=int, random_length=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v40/methods/messages.getDialogs.md b/old_docs/API_docs_v40/methods/messages.getDialogs.md index 6dd1b558..394b4c3c 100644 --- a/old_docs/API_docs_v40/methods/messages.getDialogs.md +++ b/old_docs/API_docs_v40/methods/messages.getDialogs.md @@ -17,7 +17,7 @@ Returns the current user dialog list. |limit|[int](../types/int.md) | Number of list elements to be returned | Yes| -### Return type: [messages\_Dialogs](../types/messages_Dialogs.md) +### Return type: [messages.Dialogs](../types/messages.Dialogs.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Dialogs = $MadelineProto->messages->getDialogs(['offset' => int, 'limit' => int, ]); +$messages.Dialogs = $MadelineProto->messages->getDialogs(['offset' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Dialogs = messages.getDialogs({offset=int, limit=int, }) +messages.Dialogs = messages.getDialogs({offset=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v40/methods/messages.getFullChat.md b/old_docs/API_docs_v40/methods/messages.getFullChat.md index abf23e21..de543651 100644 --- a/old_docs/API_docs_v40/methods/messages.getFullChat.md +++ b/old_docs/API_docs_v40/methods/messages.getFullChat.md @@ -16,7 +16,7 @@ You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo me |chat\_id|[Username, chat ID, Update, Message or InputPeer](../types/InputPeer.md) | You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo methods instead (see https://docs.madelineproto.xyz for more info) | Optional| -### Return type: [messages\_ChatFull](../types/messages_ChatFull.md) +### Return type: [messages.ChatFull](../types/messages.ChatFull.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_ChatFull = $MadelineProto->messages->getFullChat(['chat_id' => InputPeer, ]); +$messages.ChatFull = $MadelineProto->messages->getFullChat(['chat_id' => InputPeer, ]); ``` Or, if you're into Lua: ```lua -messages_ChatFull = messages.getFullChat({chat_id=InputPeer, }) +messages.ChatFull = messages.getFullChat({chat_id=InputPeer, }) ``` ### Errors diff --git a/old_docs/API_docs_v40/methods/messages.getHistory.md b/old_docs/API_docs_v40/methods/messages.getHistory.md index f225e37e..30183e4d 100644 --- a/old_docs/API_docs_v40/methods/messages.getHistory.md +++ b/old_docs/API_docs_v40/methods/messages.getHistory.md @@ -20,7 +20,7 @@ Gets back the conversation history with one interlocutor / within a chat |limit|[int](../types/int.md) | Number of results to return | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **NO** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->getHistory(['peer' => InputPeer, 'offset' => int, 'max_id' => int, 'min_id' => int, 'limit' => int, ]); +$messages.Messages = $MadelineProto->messages->getHistory(['peer' => InputPeer, 'offset' => int, 'max_id' => int, 'min_id' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.getHistory({peer=InputPeer, offset=int, max_id=int, min_id=int, limit=int, }) +messages.Messages = messages.getHistory({peer=InputPeer, offset=int, max_id=int, min_id=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v40/methods/messages.getImportantHistory.md b/old_docs/API_docs_v40/methods/messages.getImportantHistory.md index e3b20c18..2167331f 100644 --- a/old_docs/API_docs_v40/methods/messages.getImportantHistory.md +++ b/old_docs/API_docs_v40/methods/messages.getImportantHistory.md @@ -19,7 +19,7 @@ Get important message history |limit|[int](../types/int.md) | Number of results to fetch | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **YES** @@ -36,12 +36,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->getImportantHistory(['peer' => InputPeer, 'max_id' => int, 'min_id' => int, 'limit' => int, ]); +$messages.Messages = $MadelineProto->messages->getImportantHistory(['peer' => InputPeer, 'max_id' => int, 'min_id' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.getImportantHistory({peer=InputPeer, max_id=int, min_id=int, limit=int, }) +messages.Messages = messages.getImportantHistory({peer=InputPeer, max_id=int, min_id=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v40/methods/messages.getMessages.md b/old_docs/API_docs_v40/methods/messages.getMessages.md index a3139513..c7760d7e 100644 --- a/old_docs/API_docs_v40/methods/messages.getMessages.md +++ b/old_docs/API_docs_v40/methods/messages.getMessages.md @@ -16,7 +16,7 @@ Returns the list of messages by their IDs. |id|Array of [int](../types/int.md) | The IDs of messages to fetch (only for users and normal groups) | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **YES** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->getMessages(['id' => [int, int], ]); +$messages.Messages = $MadelineProto->messages->getMessages(['id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.getMessages({id={int}, }) +messages.Messages = messages.getMessages({id={int}, }) ``` diff --git a/old_docs/API_docs_v40/methods/messages.getStickerSet.md b/old_docs/API_docs_v40/methods/messages.getStickerSet.md index 45fca60f..f11887ee 100644 --- a/old_docs/API_docs_v40/methods/messages.getStickerSet.md +++ b/old_docs/API_docs_v40/methods/messages.getStickerSet.md @@ -16,7 +16,7 @@ Get info about a stickerset |stickerset|[InputStickerSet](../types/InputStickerSet.md) | Stickerset | Optional| -### Return type: [messages\_StickerSet](../types/messages_StickerSet.md) +### Return type: [messages.StickerSet](../types/messages.StickerSet.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StickerSet = $MadelineProto->messages->getStickerSet(['stickerset' => InputStickerSet, ]); +$messages.StickerSet = $MadelineProto->messages->getStickerSet(['stickerset' => InputStickerSet, ]); ``` Or, if you're into Lua: ```lua -messages_StickerSet = messages.getStickerSet({stickerset=InputStickerSet, }) +messages.StickerSet = messages.getStickerSet({stickerset=InputStickerSet, }) ``` ### Errors diff --git a/old_docs/API_docs_v40/methods/messages.getStickers.md b/old_docs/API_docs_v40/methods/messages.getStickers.md index aa149fc3..6fab91a5 100644 --- a/old_docs/API_docs_v40/methods/messages.getStickers.md +++ b/old_docs/API_docs_v40/methods/messages.getStickers.md @@ -17,7 +17,7 @@ Get stickers by emoji |hash|[string](../types/string.md) | Previously fetched sticker IDs | Yes| -### Return type: [messages\_Stickers](../types/messages_Stickers.md) +### Return type: [messages.Stickers](../types/messages.Stickers.md) ### Can bots use this method: **NO** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Stickers = $MadelineProto->messages->getStickers(['emoticon' => 'string', 'hash' => 'string', ]); +$messages.Stickers = $MadelineProto->messages->getStickers(['emoticon' => 'string', 'hash' => 'string', ]); ``` Or, if you're into Lua: ```lua -messages_Stickers = messages.getStickers({emoticon='string', hash='string', }) +messages.Stickers = messages.getStickers({emoticon='string', hash='string', }) ``` diff --git a/old_docs/API_docs_v40/methods/messages.readHistory.md b/old_docs/API_docs_v40/methods/messages.readHistory.md index b351bcc1..46969611 100644 --- a/old_docs/API_docs_v40/methods/messages.readHistory.md +++ b/old_docs/API_docs_v40/methods/messages.readHistory.md @@ -18,7 +18,7 @@ Marks message history as read. |offset|[int](../types/int.md) | Offset | Yes| -### Return type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) +### Return type: [messages.AffectedHistory](../types/messages.AffectedHistory.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedHistory = $MadelineProto->messages->readHistory(['peer' => InputPeer, 'max_id' => int, 'offset' => int, ]); +$messages.AffectedHistory = $MadelineProto->messages->readHistory(['peer' => InputPeer, 'max_id' => int, 'offset' => int, ]); ``` Or, if you're into Lua: ```lua -messages_AffectedHistory = messages.readHistory({peer=InputPeer, max_id=int, offset=int, }) +messages.AffectedHistory = messages.readHistory({peer=InputPeer, max_id=int, offset=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v40/methods/messages.readMessageContents.md b/old_docs/API_docs_v40/methods/messages.readMessageContents.md index c479cafe..9798e661 100644 --- a/old_docs/API_docs_v40/methods/messages.readMessageContents.md +++ b/old_docs/API_docs_v40/methods/messages.readMessageContents.md @@ -16,7 +16,7 @@ Notifies the sender about the recipient having listened a voice message or watch |id|Array of [int](../types/int.md) | The messages to mark as read (only users and normal chats, not supergroups) | Yes| -### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) +### Return type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedMessages = $MadelineProto->messages->readMessageContents(['id' => [int, int], ]); +$messages.AffectedMessages = $MadelineProto->messages->readMessageContents(['id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AffectedMessages = messages.readMessageContents({id={int}, }) +messages.AffectedMessages = messages.readMessageContents({id={int}, }) ``` diff --git a/old_docs/API_docs_v40/methods/messages.search.md b/old_docs/API_docs_v40/methods/messages.search.md index 4fda6636..7ebe6a9a 100644 --- a/old_docs/API_docs_v40/methods/messages.search.md +++ b/old_docs/API_docs_v40/methods/messages.search.md @@ -23,7 +23,7 @@ Gets back found messages |limit|[int](../types/int.md) | [Number of results to return](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **NO** @@ -40,13 +40,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->search(['peer' => InputPeer, 'q' => 'string', 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); +$messages.Messages = $MadelineProto->messages->search(['peer' => InputPeer, 'q' => 'string', 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.search({peer=InputPeer, q='string', filter=MessagesFilter, min_date=int, max_date=int, offset=int, max_id=int, limit=int, }) +messages.Messages = messages.search({peer=InputPeer, q='string', filter=MessagesFilter, min_date=int, max_date=int, offset=int, max_id=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v40/methods/messages.sendEncrypted.md b/old_docs/API_docs_v40/methods/messages.sendEncrypted.md index 47b5ef29..6a68b563 100644 --- a/old_docs/API_docs_v40/methods/messages.sendEncrypted.md +++ b/old_docs/API_docs_v40/methods/messages.sendEncrypted.md @@ -14,10 +14,10 @@ Sends a text message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|message|[DecryptedMessage](../types/DecryptedMessage.md) | The message to send | Yes| +|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key that was created during chat initialization | Yes| -### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ### Can bots use this method: **NO** @@ -34,21 +34,15 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncrypted(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); +$messages.SentEncryptedMessage = $MadelineProto->messages->sendEncrypted(['peer' => InputEncryptedChat, 'data' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -messages_SentEncryptedMessage = messages.sendEncrypted({peer=InputEncryptedChat, message=DecryptedMessage, }) +messages.SentEncryptedMessage = messages.sendEncrypted({peer=InputEncryptedChat, data='bytes', }) ``` - -## Return value - -If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) will be returned instead. - - ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v40/methods/messages.sendEncryptedFile.md b/old_docs/API_docs_v40/methods/messages.sendEncryptedFile.md index 4e0f7b7f..87185ba4 100644 --- a/old_docs/API_docs_v40/methods/messages.sendEncryptedFile.md +++ b/old_docs/API_docs_v40/methods/messages.sendEncryptedFile.md @@ -14,11 +14,11 @@ Sends a message with a file attachment to a secret chat | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|message|[DecryptedMessage](../types/DecryptedMessage.md) | The message with the file | Yes| +|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| |file|[File path or InputEncryptedFile](../types/InputEncryptedFile.md) | File attachment for the secret chat | Optional| -### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ### Can bots use this method: **NO** @@ -35,21 +35,15 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedFile(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, 'file' => InputEncryptedFile, ]); +$messages.SentEncryptedMessage = $MadelineProto->messages->sendEncryptedFile(['peer' => InputEncryptedChat, 'data' => 'bytes', 'file' => InputEncryptedFile, ]); ``` Or, if you're into Lua: ```lua -messages_SentEncryptedMessage = messages.sendEncryptedFile({peer=InputEncryptedChat, message=DecryptedMessage, file=InputEncryptedFile, }) +messages.SentEncryptedMessage = messages.sendEncryptedFile({peer=InputEncryptedChat, data='bytes', file=InputEncryptedFile, }) ``` - -## Return value - -If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) will be returned instead. - - ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v40/methods/messages.sendEncryptedService.md b/old_docs/API_docs_v40/methods/messages.sendEncryptedService.md index 86925ae3..38171272 100644 --- a/old_docs/API_docs_v40/methods/messages.sendEncryptedService.md +++ b/old_docs/API_docs_v40/methods/messages.sendEncryptedService.md @@ -14,10 +14,10 @@ Sends a service message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|message|[DecryptedMessage](../types/DecryptedMessage.md) | The service message | Yes| +|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| -### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ### Can bots use this method: **NO** @@ -34,21 +34,15 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedService(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); +$messages.SentEncryptedMessage = $MadelineProto->messages->sendEncryptedService(['peer' => InputEncryptedChat, 'data' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -messages_SentEncryptedMessage = messages.sendEncryptedService({peer=InputEncryptedChat, message=DecryptedMessage, }) +messages.SentEncryptedMessage = messages.sendEncryptedService({peer=InputEncryptedChat, data='bytes', }) ``` - -## Return value - -If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) will be returned instead. - - ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v40/methods/photos.getUserPhotos.md b/old_docs/API_docs_v40/methods/photos.getUserPhotos.md index a1dec2ed..1f8d5c64 100644 --- a/old_docs/API_docs_v40/methods/photos.getUserPhotos.md +++ b/old_docs/API_docs_v40/methods/photos.getUserPhotos.md @@ -19,7 +19,7 @@ Returns the list of user photos. |limit|[int](../types/int.md) | Number of list elements to be returned | Yes| -### Return type: [photos\_Photos](../types/photos_Photos.md) +### Return type: [photos.Photos](../types/photos.Photos.md) ### Can bots use this method: **YES** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$photos_Photos = $MadelineProto->photos->getUserPhotos(['user_id' => InputUser, 'offset' => int, 'max_id' => long, 'limit' => int, ]); +$photos.Photos = $MadelineProto->photos->getUserPhotos(['user_id' => InputUser, 'offset' => int, 'max_id' => long, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -photos_Photos = photos.getUserPhotos({user_id=InputUser, offset=int, max_id=long, limit=int, }) +photos.Photos = photos.getUserPhotos({user_id=InputUser, offset=int, max_id=long, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v40/methods/photos.uploadProfilePhoto.md b/old_docs/API_docs_v40/methods/photos.uploadProfilePhoto.md index 337dcc21..18b2b4c6 100644 --- a/old_docs/API_docs_v40/methods/photos.uploadProfilePhoto.md +++ b/old_docs/API_docs_v40/methods/photos.uploadProfilePhoto.md @@ -19,7 +19,7 @@ Updates current user profile photo. |crop|[InputPhotoCrop](../types/InputPhotoCrop.md) | Cropping info | Yes| -### Return type: [photos\_Photo](../types/photos_Photo.md) +### Return type: [photos.Photo](../types/photos.Photo.md) ### Can bots use this method: **NO** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$photos_Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, 'caption' => 'string', 'geo_point' => InputGeoPoint, 'crop' => InputPhotoCrop, ]); +$photos.Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, 'caption' => 'string', 'geo_point' => InputGeoPoint, 'crop' => InputPhotoCrop, ]); ``` Or, if you're into Lua: ```lua -photos_Photo = photos.uploadProfilePhoto({file=InputFile, caption='string', geo_point=InputGeoPoint, crop=InputPhotoCrop, }) +photos.Photo = photos.uploadProfilePhoto({file=InputFile, caption='string', geo_point=InputGeoPoint, crop=InputPhotoCrop, }) ``` ### Errors diff --git a/old_docs/API_docs_v40/methods/updates.getChannelDifference.md b/old_docs/API_docs_v40/methods/updates.getChannelDifference.md index 62203fd1..dda79ed3 100644 --- a/old_docs/API_docs_v40/methods/updates.getChannelDifference.md +++ b/old_docs/API_docs_v40/methods/updates.getChannelDifference.md @@ -19,7 +19,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz for more |limit|[int](../types/int.md) | You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates | Yes| -### Return type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) +### Return type: [updates.ChannelDifference](../types/updates.ChannelDifference.md) ### Can bots use this method: **YES** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$updates_ChannelDifference = $MadelineProto->updates->getChannelDifference(['peer' => InputPeer, 'filter' => ChannelMessagesFilter, 'pts' => int, 'limit' => int, ]); +$updates.ChannelDifference = $MadelineProto->updates->getChannelDifference(['peer' => InputPeer, 'filter' => ChannelMessagesFilter, 'pts' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -updates_ChannelDifference = updates.getChannelDifference({peer=InputPeer, filter=ChannelMessagesFilter, pts=int, limit=int, }) +updates.ChannelDifference = updates.getChannelDifference({peer=InputPeer, filter=ChannelMessagesFilter, pts=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v40/methods/updates.getDifference.md b/old_docs/API_docs_v40/methods/updates.getDifference.md index 57ea6d99..061a5c8f 100644 --- a/old_docs/API_docs_v40/methods/updates.getDifference.md +++ b/old_docs/API_docs_v40/methods/updates.getDifference.md @@ -18,7 +18,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz for more |qts|[int](../types/int.md) | You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates | Yes| -### Return type: [updates\_Difference](../types/updates_Difference.md) +### Return type: [updates.Difference](../types/updates.Difference.md) ### Can bots use this method: **YES** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$updates_Difference = $MadelineProto->updates->getDifference(['pts' => int, 'date' => int, 'qts' => int, ]); +$updates.Difference = $MadelineProto->updates->getDifference(['pts' => int, 'date' => int, 'qts' => int, ]); ``` Or, if you're into Lua: ```lua -updates_Difference = updates.getDifference({pts=int, date=int, qts=int, }) +updates.Difference = updates.getDifference({pts=int, date=int, qts=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v40/methods/updates.getState.md b/old_docs/API_docs_v40/methods/updates.getState.md index c591408a..9a7d2f34 100644 --- a/old_docs/API_docs_v40/methods/updates.getState.md +++ b/old_docs/API_docs_v40/methods/updates.getState.md @@ -11,7 +11,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz for more -### Return type: [updates\_State](../types/updates_State.md) +### Return type: [updates.State](../types/updates.State.md) ### Can bots use this method: **YES** @@ -28,13 +28,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$updates_State = $MadelineProto->updates->getState(); +$updates.State = $MadelineProto->updates->getState(); ``` Or, if you're into Lua: ```lua -updates_State = updates.getState({}) +updates.State = updates.getState({}) ``` ### Errors diff --git a/old_docs/API_docs_v40/methods/upload.getFile.md b/old_docs/API_docs_v40/methods/upload.getFile.md index 8aba03d4..ab9f4fe2 100644 --- a/old_docs/API_docs_v40/methods/upload.getFile.md +++ b/old_docs/API_docs_v40/methods/upload.getFile.md @@ -18,7 +18,7 @@ You cannot use this method directly, use the upload, downloadToStream, downloadT |limit|[int](../types/int.md) | You cannot use this method directly, use the upload, downloadToStream, downloadToFile, downloadToDir methods instead; see https://docs.madelineproto.xyz for more info | Yes| -### Return type: [upload\_File](../types/upload_File.md) +### Return type: [upload.File](../types/upload.File.md) ### Can bots use this method: **YES** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$upload_File = $MadelineProto->upload->getFile(['location' => InputFileLocation, 'offset' => int, 'limit' => int, ]); +$upload.File = $MadelineProto->upload->getFile(['location' => InputFileLocation, 'offset' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -upload_File = upload.getFile({location=InputFileLocation, offset=int, limit=int, }) +upload.File = upload.getFile({location=InputFileLocation, offset=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v40/types/AccountDaysTTL.md b/old_docs/API_docs_v40/types/AccountDaysTTL.md index 12a10190..f3494aac 100644 --- a/old_docs/API_docs_v40/types/AccountDaysTTL.md +++ b/old_docs/API_docs_v40/types/AccountDaysTTL.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->account->getAccountTTL](../methods/account_getAccountTTL.md) +[$MadelineProto->account->getAccountTTL](../methods/account.getAccountTTL.md) diff --git a/old_docs/API_docs_v40/types/ChatInvite.md b/old_docs/API_docs_v40/types/ChatInvite.md index 5022a2f0..9fafabb4 100644 --- a/old_docs/API_docs_v40/types/ChatInvite.md +++ b/old_docs/API_docs_v40/types/ChatInvite.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->checkChatInvite](../methods/messages_checkChatInvite.md) +[$MadelineProto->messages->checkChatInvite](../methods/messages.checkChatInvite.md) diff --git a/old_docs/API_docs_v40/types/Config.md b/old_docs/API_docs_v40/types/Config.md index 0f7fbe70..3a23b7b7 100644 --- a/old_docs/API_docs_v40/types/Config.md +++ b/old_docs/API_docs_v40/types/Config.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->help->getConfig](../methods/help_getConfig.md) +[$MadelineProto->help->getConfig](../methods/help.getConfig.md) diff --git a/old_docs/API_docs_v40/types/ContactStatus.md b/old_docs/API_docs_v40/types/ContactStatus.md index c5f5d658..30aee6e2 100644 --- a/old_docs/API_docs_v40/types/ContactStatus.md +++ b/old_docs/API_docs_v40/types/ContactStatus.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->contacts->getStatuses](../methods/contacts_getStatuses.md) +[$MadelineProto->contacts->getStatuses](../methods/contacts.getStatuses.md) diff --git a/old_docs/API_docs_v40/types/EncryptedChat.md b/old_docs/API_docs_v40/types/EncryptedChat.md index fd2277f6..19cf52b0 100644 --- a/old_docs/API_docs_v40/types/EncryptedChat.md +++ b/old_docs/API_docs_v40/types/EncryptedChat.md @@ -24,9 +24,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->requestEncryption](../methods/messages_requestEncryption.md) +[$MadelineProto->messages->requestEncryption](../methods/messages.requestEncryption.md) -[$MadelineProto->messages->acceptEncryption](../methods/messages_acceptEncryption.md) +[$MadelineProto->messages->acceptEncryption](../methods/messages.acceptEncryption.md) diff --git a/old_docs/API_docs_v40/types/ExportedChatInvite.md b/old_docs/API_docs_v40/types/ExportedChatInvite.md index 16a273d1..f5a43739 100644 --- a/old_docs/API_docs_v40/types/ExportedChatInvite.md +++ b/old_docs/API_docs_v40/types/ExportedChatInvite.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->exportChatInvite](../methods/messages_exportChatInvite.md) +[$MadelineProto->messages->exportChatInvite](../methods/messages.exportChatInvite.md) diff --git a/old_docs/API_docs_v40/types/MessageMedia.md b/old_docs/API_docs_v40/types/MessageMedia.md index 51c2f3c9..9c8475d7 100644 --- a/old_docs/API_docs_v40/types/MessageMedia.md +++ b/old_docs/API_docs_v40/types/MessageMedia.md @@ -34,7 +34,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getWebPagePreview](../methods/messages_getWebPagePreview.md) +[$MadelineProto->messages->getWebPagePreview](../methods/messages.getWebPagePreview.md) diff --git a/old_docs/API_docs_v40/types/NearestDc.md b/old_docs/API_docs_v40/types/NearestDc.md index 31f24377..296a4dff 100644 --- a/old_docs/API_docs_v40/types/NearestDc.md +++ b/old_docs/API_docs_v40/types/NearestDc.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->help->getNearestDc](../methods/help_getNearestDc.md) +[$MadelineProto->help->getNearestDc](../methods/help.getNearestDc.md) diff --git a/old_docs/API_docs_v40/types/PeerNotifySettings.md b/old_docs/API_docs_v40/types/PeerNotifySettings.md index 769de075..3d72b7c5 100644 --- a/old_docs/API_docs_v40/types/PeerNotifySettings.md +++ b/old_docs/API_docs_v40/types/PeerNotifySettings.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->account->getNotifySettings](../methods/account_getNotifySettings.md) +[$MadelineProto->account->getNotifySettings](../methods/account.getNotifySettings.md) diff --git a/old_docs/API_docs_v40/types/README.md b/old_docs/API_docs_v40/types/README.md index 9a6e12e3..1ed506c9 100644 --- a/old_docs/API_docs_v40/types/README.md +++ b/old_docs/API_docs_v40/types/README.md @@ -189,85 +189,85 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png [X](X.md) -[account\_Authorizations](account_Authorizations.md) +[account.Authorizations](account.Authorizations.md) -[account\_Password](account_Password.md) +[account.Password](account.Password.md) -[account\_PasswordInputSettings](account_PasswordInputSettings.md) +[account.PasswordInputSettings](account.PasswordInputSettings.md) -[account\_PasswordSettings](account_PasswordSettings.md) +[account.PasswordSettings](account.PasswordSettings.md) -[account\_PrivacyRules](account_PrivacyRules.md) +[account.PrivacyRules](account.PrivacyRules.md) -[account\_SentChangePhoneCode](account_SentChangePhoneCode.md) +[account.SentChangePhoneCode](account.SentChangePhoneCode.md) -[auth\_Authorization](auth_Authorization.md) +[auth.Authorization](auth.Authorization.md) -[auth\_CheckedPhone](auth_CheckedPhone.md) +[auth.CheckedPhone](auth.CheckedPhone.md) -[auth\_ExportedAuthorization](auth_ExportedAuthorization.md) +[auth.ExportedAuthorization](auth.ExportedAuthorization.md) -[auth\_PasswordRecovery](auth_PasswordRecovery.md) +[auth.PasswordRecovery](auth.PasswordRecovery.md) -[auth\_SentCode](auth_SentCode.md) +[auth.SentCode](auth.SentCode.md) -[contacts\_Blocked](contacts_Blocked.md) +[contacts.Blocked](contacts.Blocked.md) -[contacts\_Contacts](contacts_Contacts.md) +[contacts.Contacts](contacts.Contacts.md) -[contacts\_Found](contacts_Found.md) +[contacts.Found](contacts.Found.md) -[contacts\_ImportedContacts](contacts_ImportedContacts.md) +[contacts.ImportedContacts](contacts.ImportedContacts.md) -[contacts\_Link](contacts_Link.md) +[contacts.Link](contacts.Link.md) -[contacts\_Suggested](contacts_Suggested.md) +[contacts.Suggested](contacts.Suggested.md) -[help\_AppChangelog](help_AppChangelog.md) +[help.AppChangelog](help.AppChangelog.md) -[help\_AppUpdate](help_AppUpdate.md) +[help.AppUpdate](help.AppUpdate.md) -[help\_InviteText](help_InviteText.md) +[help.InviteText](help.InviteText.md) -[help\_Support](help_Support.md) +[help.Support](help.Support.md) [int](int.md) [long](long.md) -[messages\_AffectedHistory](messages_AffectedHistory.md) +[messages.AffectedHistory](messages.AffectedHistory.md) -[messages\_AffectedMessages](messages_AffectedMessages.md) +[messages.AffectedMessages](messages.AffectedMessages.md) -[messages\_AllStickers](messages_AllStickers.md) +[messages.AllStickers](messages.AllStickers.md) -[messages\_ChatFull](messages_ChatFull.md) +[messages.ChatFull](messages.ChatFull.md) -[messages\_Chats](messages_Chats.md) +[messages.Chats](messages.Chats.md) -[messages\_DhConfig](messages_DhConfig.md) +[messages.DhConfig](messages.DhConfig.md) -[messages\_Dialogs](messages_Dialogs.md) +[messages.Dialogs](messages.Dialogs.md) -[messages\_Messages](messages_Messages.md) +[messages.Messages](messages.Messages.md) -[messages\_SentEncryptedMessage](messages_SentEncryptedMessage.md) +[messages.SentEncryptedMessage](messages.SentEncryptedMessage.md) -[messages\_StickerSet](messages_StickerSet.md) +[messages.StickerSet](messages.StickerSet.md) -[messages\_Stickers](messages_Stickers.md) +[messages.Stickers](messages.Stickers.md) -[photos\_Photo](photos_Photo.md) +[photos.Photo](photos.Photo.md) -[photos\_Photos](photos_Photos.md) +[photos.Photos](photos.Photos.md) -[storage\_FileType](storage_FileType.md) +[storage.FileType](storage.FileType.md) -[updates\_ChannelDifference](updates_ChannelDifference.md) +[updates.ChannelDifference](updates.ChannelDifference.md) -[updates\_Difference](updates_Difference.md) +[updates.Difference](updates.Difference.md) -[updates\_State](updates_State.md) +[updates.State](updates.State.md) -[upload\_File](upload_File.md) +[upload.File](upload.File.md) diff --git a/old_docs/API_docs_v40/types/ReceivedNotifyMessage.md b/old_docs/API_docs_v40/types/ReceivedNotifyMessage.md index c7fc3b8c..416aa275 100644 --- a/old_docs/API_docs_v40/types/ReceivedNotifyMessage.md +++ b/old_docs/API_docs_v40/types/ReceivedNotifyMessage.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->receivedMessages](../methods/messages_receivedMessages.md) +[$MadelineProto->messages->receivedMessages](../methods/messages.receivedMessages.md) diff --git a/old_docs/API_docs_v40/types/Updates.md b/old_docs/API_docs_v40/types/Updates.md index 20ce85ea..f24f27b4 100644 --- a/old_docs/API_docs_v40/types/Updates.md +++ b/old_docs/API_docs_v40/types/Updates.md @@ -28,31 +28,31 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->sendMessage](../methods/messages_sendMessage.md) +[$MadelineProto->messages->sendMessage](../methods/messages.sendMessage.md) -[$MadelineProto->messages->sendMedia](../methods/messages_sendMedia.md) +[$MadelineProto->messages->sendMedia](../methods/messages.sendMedia.md) -[$MadelineProto->messages->forwardMessages](../methods/messages_forwardMessages.md) +[$MadelineProto->messages->forwardMessages](../methods/messages.forwardMessages.md) -[$MadelineProto->messages->editChatTitle](../methods/messages_editChatTitle.md) +[$MadelineProto->messages->editChatTitle](../methods/messages.editChatTitle.md) -[$MadelineProto->messages->editChatPhoto](../methods/messages_editChatPhoto.md) +[$MadelineProto->messages->editChatPhoto](../methods/messages.editChatPhoto.md) -[$MadelineProto->messages->addChatUser](../methods/messages_addChatUser.md) +[$MadelineProto->messages->addChatUser](../methods/messages.addChatUser.md) -[$MadelineProto->messages->deleteChatUser](../methods/messages_deleteChatUser.md) +[$MadelineProto->messages->deleteChatUser](../methods/messages.deleteChatUser.md) -[$MadelineProto->messages->createChat](../methods/messages_createChat.md) +[$MadelineProto->messages->createChat](../methods/messages.createChat.md) -[$MadelineProto->messages->forwardMessage](../methods/messages_forwardMessage.md) +[$MadelineProto->messages->forwardMessage](../methods/messages.forwardMessage.md) -[$MadelineProto->messages->sendBroadcast](../methods/messages_sendBroadcast.md) +[$MadelineProto->messages->sendBroadcast](../methods/messages.sendBroadcast.md) -[$MadelineProto->messages->importChatInvite](../methods/messages_importChatInvite.md) +[$MadelineProto->messages->importChatInvite](../methods/messages.importChatInvite.md) -[$MadelineProto->messages->startBot](../methods/messages_startBot.md) +[$MadelineProto->messages->startBot](../methods/messages.startBot.md) -[$MadelineProto->messages->createChannel](../methods/messages_createChannel.md) +[$MadelineProto->messages->createChannel](../methods/messages.createChannel.md) diff --git a/old_docs/API_docs_v40/types/User.md b/old_docs/API_docs_v40/types/User.md index d82488f8..ab0bc88e 100644 --- a/old_docs/API_docs_v40/types/User.md +++ b/old_docs/API_docs_v40/types/User.md @@ -42,17 +42,17 @@ A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDia ### Methods that return an object of this type (methods): -[$MadelineProto->account->updateProfile](../methods/account_updateProfile.md) +[$MadelineProto->account->updateProfile](../methods/account.updateProfile.md) -[$MadelineProto->users->getUsers](../methods/users_getUsers.md) +[$MadelineProto->users->getUsers](../methods/users.getUsers.md) -[$MadelineProto->contacts->importCard](../methods/contacts_importCard.md) +[$MadelineProto->contacts->importCard](../methods/contacts.importCard.md) -[$MadelineProto->account->updateUsername](../methods/account_updateUsername.md) +[$MadelineProto->account->updateUsername](../methods/account.updateUsername.md) -[$MadelineProto->contacts->resolveUsername](../methods/contacts_resolveUsername.md) +[$MadelineProto->contacts->resolveUsername](../methods/contacts.resolveUsername.md) -[$MadelineProto->account->changePhone](../methods/account_changePhone.md) +[$MadelineProto->account->changePhone](../methods/account.changePhone.md) diff --git a/old_docs/API_docs_v40/types/UserFull.md b/old_docs/API_docs_v40/types/UserFull.md index 79ad30bb..ac50052f 100644 --- a/old_docs/API_docs_v40/types/UserFull.md +++ b/old_docs/API_docs_v40/types/UserFull.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->users->getFullUser](../methods/users_getFullUser.md) +[$MadelineProto->users->getFullUser](../methods/users.getFullUser.md) diff --git a/old_docs/API_docs_v40/types/UserProfilePhoto.md b/old_docs/API_docs_v40/types/UserProfilePhoto.md index e5243a2e..e81e92fd 100644 --- a/old_docs/API_docs_v40/types/UserProfilePhoto.md +++ b/old_docs/API_docs_v40/types/UserProfilePhoto.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->photos->updateProfilePhoto](../methods/photos_updateProfilePhoto.md) +[$MadelineProto->photos->updateProfilePhoto](../methods/photos.updateProfilePhoto.md) diff --git a/old_docs/API_docs_v40/types/WallPaper.md b/old_docs/API_docs_v40/types/WallPaper.md index 8c5ac7cf..45337565 100644 --- a/old_docs/API_docs_v40/types/WallPaper.md +++ b/old_docs/API_docs_v40/types/WallPaper.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->account->getWallPapers](../methods/account_getWallPapers.md) +[$MadelineProto->account->getWallPapers](../methods/account.getWallPapers.md) diff --git a/old_docs/API_docs_v40/types/account.Authorizations.md b/old_docs/API_docs_v40/types/account.Authorizations.md new file mode 100644 index 00000000..f9112038 --- /dev/null +++ b/old_docs/API_docs_v40/types/account.Authorizations.md @@ -0,0 +1,22 @@ +--- +title: account.Authorizations +description: constructors and methods of type account.Authorizations +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.Authorizations +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.authorizations](../constructors/account.authorizations.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getAuthorizations](../methods/account.getAuthorizations.md) + + + diff --git a/old_docs/API_docs_v40/types/account.Password.md b/old_docs/API_docs_v40/types/account.Password.md new file mode 100644 index 00000000..5217ab5e --- /dev/null +++ b/old_docs/API_docs_v40/types/account.Password.md @@ -0,0 +1,24 @@ +--- +title: account.Password +description: constructors and methods of type account.Password +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.Password +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.noPassword](../constructors/account.noPassword.md) + +[account.password](../constructors/account.password.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getPassword](../methods/account.getPassword.md) + + + diff --git a/old_docs/API_docs_v40/types/account.PasswordInputSettings.md b/old_docs/API_docs_v40/types/account.PasswordInputSettings.md new file mode 100644 index 00000000..72e11fdc --- /dev/null +++ b/old_docs/API_docs_v40/types/account.PasswordInputSettings.md @@ -0,0 +1,20 @@ +--- +title: account.PasswordInputSettings +description: constructors and methods of type account.PasswordInputSettings +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.PasswordInputSettings +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.passwordInputSettings](../constructors/account.passwordInputSettings.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v40/types/account.PasswordSettings.md b/old_docs/API_docs_v40/types/account.PasswordSettings.md new file mode 100644 index 00000000..47016832 --- /dev/null +++ b/old_docs/API_docs_v40/types/account.PasswordSettings.md @@ -0,0 +1,22 @@ +--- +title: account.PasswordSettings +description: constructors and methods of type account.PasswordSettings +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.PasswordSettings +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.passwordSettings](../constructors/account.passwordSettings.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getPasswordSettings](../methods/account.getPasswordSettings.md) + + + diff --git a/old_docs/API_docs_v40/types/account.PrivacyRules.md b/old_docs/API_docs_v40/types/account.PrivacyRules.md new file mode 100644 index 00000000..738651ad --- /dev/null +++ b/old_docs/API_docs_v40/types/account.PrivacyRules.md @@ -0,0 +1,24 @@ +--- +title: account.PrivacyRules +description: constructors and methods of type account.PrivacyRules +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.PrivacyRules +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.privacyRules](../constructors/account.privacyRules.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getPrivacy](../methods/account.getPrivacy.md) + +[$MadelineProto->account->setPrivacy](../methods/account.setPrivacy.md) + + + diff --git a/old_docs/API_docs_v40/types/account.SentChangePhoneCode.md b/old_docs/API_docs_v40/types/account.SentChangePhoneCode.md new file mode 100644 index 00000000..659b0feb --- /dev/null +++ b/old_docs/API_docs_v40/types/account.SentChangePhoneCode.md @@ -0,0 +1,22 @@ +--- +title: account.SentChangePhoneCode +description: constructors and methods of type account.SentChangePhoneCode +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.SentChangePhoneCode +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.sentChangePhoneCode](../constructors/account.sentChangePhoneCode.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->sendChangePhoneCode](../methods/account.sendChangePhoneCode.md) + + + diff --git a/old_docs/API_docs_v40/types/account_Authorizations.md b/old_docs/API_docs_v40/types/account_Authorizations.md deleted file mode 100644 index 4709ddb5..00000000 --- a/old_docs/API_docs_v40/types/account_Authorizations.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_Authorizations -description: constructors and methods of type account_Authorizations -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_Authorizations -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_authorizations](../constructors/account_authorizations.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getAuthorizations](../methods/account_getAuthorizations.md) - - - diff --git a/old_docs/API_docs_v40/types/account_Password.md b/old_docs/API_docs_v40/types/account_Password.md deleted file mode 100644 index 23e05987..00000000 --- a/old_docs/API_docs_v40/types/account_Password.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: account_Password -description: constructors and methods of type account_Password -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_Password -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_noPassword](../constructors/account_noPassword.md) - -[account\_password](../constructors/account_password.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getPassword](../methods/account_getPassword.md) - - - diff --git a/old_docs/API_docs_v40/types/account_PasswordInputSettings.md b/old_docs/API_docs_v40/types/account_PasswordInputSettings.md deleted file mode 100644 index a6455eb8..00000000 --- a/old_docs/API_docs_v40/types/account_PasswordInputSettings.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: account_PasswordInputSettings -description: constructors and methods of type account_PasswordInputSettings -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_PasswordInputSettings -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_passwordInputSettings](../constructors/account_passwordInputSettings.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v40/types/account_PasswordSettings.md b/old_docs/API_docs_v40/types/account_PasswordSettings.md deleted file mode 100644 index 687eb217..00000000 --- a/old_docs/API_docs_v40/types/account_PasswordSettings.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_PasswordSettings -description: constructors and methods of type account_PasswordSettings -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_PasswordSettings -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_passwordSettings](../constructors/account_passwordSettings.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getPasswordSettings](../methods/account_getPasswordSettings.md) - - - diff --git a/old_docs/API_docs_v40/types/account_PrivacyRules.md b/old_docs/API_docs_v40/types/account_PrivacyRules.md deleted file mode 100644 index 40b00077..00000000 --- a/old_docs/API_docs_v40/types/account_PrivacyRules.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: account_PrivacyRules -description: constructors and methods of type account_PrivacyRules -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_PrivacyRules -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_privacyRules](../constructors/account_privacyRules.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getPrivacy](../methods/account_getPrivacy.md) - -[$MadelineProto->account->setPrivacy](../methods/account_setPrivacy.md) - - - diff --git a/old_docs/API_docs_v40/types/account_SentChangePhoneCode.md b/old_docs/API_docs_v40/types/account_SentChangePhoneCode.md deleted file mode 100644 index ead3e28c..00000000 --- a/old_docs/API_docs_v40/types/account_SentChangePhoneCode.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_SentChangePhoneCode -description: constructors and methods of type account_SentChangePhoneCode -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_SentChangePhoneCode -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_sentChangePhoneCode](../constructors/account_sentChangePhoneCode.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->sendChangePhoneCode](../methods/account_sendChangePhoneCode.md) - - - diff --git a/old_docs/API_docs_v40/types/auth.Authorization.md b/old_docs/API_docs_v40/types/auth.Authorization.md new file mode 100644 index 00000000..adcfa7d3 --- /dev/null +++ b/old_docs/API_docs_v40/types/auth.Authorization.md @@ -0,0 +1,32 @@ +--- +title: auth.Authorization +description: constructors and methods of type auth.Authorization +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.Authorization +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.authorization](../constructors/auth.authorization.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->signUp](../methods/auth.signUp.md) + +[$MadelineProto->auth->signIn](../methods/auth.signIn.md) + +[$MadelineProto->auth->importAuthorization](../methods/auth.importAuthorization.md) + +[$MadelineProto->auth->importBotAuthorization](../methods/auth.importBotAuthorization.md) + +[$MadelineProto->auth->checkPassword](../methods/auth.checkPassword.md) + +[$MadelineProto->auth->recoverPassword](../methods/auth.recoverPassword.md) + + + diff --git a/old_docs/API_docs_v40/types/auth.CheckedPhone.md b/old_docs/API_docs_v40/types/auth.CheckedPhone.md new file mode 100644 index 00000000..94af3915 --- /dev/null +++ b/old_docs/API_docs_v40/types/auth.CheckedPhone.md @@ -0,0 +1,22 @@ +--- +title: auth.CheckedPhone +description: constructors and methods of type auth.CheckedPhone +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.CheckedPhone +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.checkedPhone](../constructors/auth.checkedPhone.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->checkPhone](../methods/auth.checkPhone.md) + + + diff --git a/old_docs/API_docs_v40/types/auth.ExportedAuthorization.md b/old_docs/API_docs_v40/types/auth.ExportedAuthorization.md new file mode 100644 index 00000000..ccb38d60 --- /dev/null +++ b/old_docs/API_docs_v40/types/auth.ExportedAuthorization.md @@ -0,0 +1,22 @@ +--- +title: auth.ExportedAuthorization +description: constructors and methods of type auth.ExportedAuthorization +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.ExportedAuthorization +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.exportedAuthorization](../constructors/auth.exportedAuthorization.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->exportAuthorization](../methods/auth.exportAuthorization.md) + + + diff --git a/old_docs/API_docs_v40/types/auth.PasswordRecovery.md b/old_docs/API_docs_v40/types/auth.PasswordRecovery.md new file mode 100644 index 00000000..c1c18992 --- /dev/null +++ b/old_docs/API_docs_v40/types/auth.PasswordRecovery.md @@ -0,0 +1,22 @@ +--- +title: auth.PasswordRecovery +description: constructors and methods of type auth.PasswordRecovery +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.PasswordRecovery +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.passwordRecovery](../constructors/auth.passwordRecovery.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->requestPasswordRecovery](../methods/auth.requestPasswordRecovery.md) + + + diff --git a/old_docs/API_docs_v40/types/auth.SentCode.md b/old_docs/API_docs_v40/types/auth.SentCode.md new file mode 100644 index 00000000..9fd32a73 --- /dev/null +++ b/old_docs/API_docs_v40/types/auth.SentCode.md @@ -0,0 +1,24 @@ +--- +title: auth.SentCode +description: constructors and methods of type auth.SentCode +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.SentCode +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.sentCode](../constructors/auth.sentCode.md) + +[auth.sentAppCode](../constructors/auth.sentAppCode.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->sendCode](../methods/auth.sendCode.md) + + + diff --git a/old_docs/API_docs_v40/types/auth_Authorization.md b/old_docs/API_docs_v40/types/auth_Authorization.md deleted file mode 100644 index 5a34fc2d..00000000 --- a/old_docs/API_docs_v40/types/auth_Authorization.md +++ /dev/null @@ -1,32 +0,0 @@ ---- -title: auth_Authorization -description: constructors and methods of type auth_Authorization -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_Authorization -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_authorization](../constructors/auth_authorization.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->signUp](../methods/auth_signUp.md) - -[$MadelineProto->auth->signIn](../methods/auth_signIn.md) - -[$MadelineProto->auth->importAuthorization](../methods/auth_importAuthorization.md) - -[$MadelineProto->auth->importBotAuthorization](../methods/auth_importBotAuthorization.md) - -[$MadelineProto->auth->checkPassword](../methods/auth_checkPassword.md) - -[$MadelineProto->auth->recoverPassword](../methods/auth_recoverPassword.md) - - - diff --git a/old_docs/API_docs_v40/types/auth_CheckedPhone.md b/old_docs/API_docs_v40/types/auth_CheckedPhone.md deleted file mode 100644 index e9b0def4..00000000 --- a/old_docs/API_docs_v40/types/auth_CheckedPhone.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: auth_CheckedPhone -description: constructors and methods of type auth_CheckedPhone -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_CheckedPhone -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_checkedPhone](../constructors/auth_checkedPhone.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->checkPhone](../methods/auth_checkPhone.md) - - - diff --git a/old_docs/API_docs_v40/types/auth_ExportedAuthorization.md b/old_docs/API_docs_v40/types/auth_ExportedAuthorization.md deleted file mode 100644 index 69e5c42e..00000000 --- a/old_docs/API_docs_v40/types/auth_ExportedAuthorization.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: auth_ExportedAuthorization -description: constructors and methods of type auth_ExportedAuthorization -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_ExportedAuthorization -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_exportedAuthorization](../constructors/auth_exportedAuthorization.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->exportAuthorization](../methods/auth_exportAuthorization.md) - - - diff --git a/old_docs/API_docs_v40/types/auth_PasswordRecovery.md b/old_docs/API_docs_v40/types/auth_PasswordRecovery.md deleted file mode 100644 index 4962bf42..00000000 --- a/old_docs/API_docs_v40/types/auth_PasswordRecovery.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: auth_PasswordRecovery -description: constructors and methods of type auth_PasswordRecovery -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_PasswordRecovery -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_passwordRecovery](../constructors/auth_passwordRecovery.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->requestPasswordRecovery](../methods/auth_requestPasswordRecovery.md) - - - diff --git a/old_docs/API_docs_v40/types/auth_SentCode.md b/old_docs/API_docs_v40/types/auth_SentCode.md deleted file mode 100644 index 85b8d351..00000000 --- a/old_docs/API_docs_v40/types/auth_SentCode.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: auth_SentCode -description: constructors and methods of type auth_SentCode -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_SentCode -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_sentCode](../constructors/auth_sentCode.md) - -[auth\_sentAppCode](../constructors/auth_sentAppCode.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->sendCode](../methods/auth_sendCode.md) - - - diff --git a/old_docs/API_docs_v40/types/contacts.Blocked.md b/old_docs/API_docs_v40/types/contacts.Blocked.md new file mode 100644 index 00000000..cb2af80f --- /dev/null +++ b/old_docs/API_docs_v40/types/contacts.Blocked.md @@ -0,0 +1,24 @@ +--- +title: contacts.Blocked +description: constructors and methods of type contacts.Blocked +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Blocked +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.blocked](../constructors/contacts.blocked.md) + +[contacts.blockedSlice](../constructors/contacts.blockedSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getBlocked](../methods/contacts.getBlocked.md) + + + diff --git a/old_docs/API_docs_v40/types/contacts.Contacts.md b/old_docs/API_docs_v40/types/contacts.Contacts.md new file mode 100644 index 00000000..5f695d8e --- /dev/null +++ b/old_docs/API_docs_v40/types/contacts.Contacts.md @@ -0,0 +1,24 @@ +--- +title: contacts.Contacts +description: constructors and methods of type contacts.Contacts +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Contacts +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.contactsNotModified](../constructors/contacts.contactsNotModified.md) + +[contacts.contacts](../constructors/contacts.contacts.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getContacts](../methods/contacts.getContacts.md) + + + diff --git a/old_docs/API_docs_v40/types/contacts.Found.md b/old_docs/API_docs_v40/types/contacts.Found.md new file mode 100644 index 00000000..7df98927 --- /dev/null +++ b/old_docs/API_docs_v40/types/contacts.Found.md @@ -0,0 +1,22 @@ +--- +title: contacts.Found +description: constructors and methods of type contacts.Found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Found +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.found](../constructors/contacts.found.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->search](../methods/contacts.search.md) + + + diff --git a/old_docs/API_docs_v40/types/contacts.ImportedContacts.md b/old_docs/API_docs_v40/types/contacts.ImportedContacts.md new file mode 100644 index 00000000..16795bab --- /dev/null +++ b/old_docs/API_docs_v40/types/contacts.ImportedContacts.md @@ -0,0 +1,22 @@ +--- +title: contacts.ImportedContacts +description: constructors and methods of type contacts.ImportedContacts +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.ImportedContacts +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.importedContacts](../constructors/contacts.importedContacts.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->importContacts](../methods/contacts.importContacts.md) + + + diff --git a/old_docs/API_docs_v40/types/contacts.Link.md b/old_docs/API_docs_v40/types/contacts.Link.md new file mode 100644 index 00000000..eb9da683 --- /dev/null +++ b/old_docs/API_docs_v40/types/contacts.Link.md @@ -0,0 +1,22 @@ +--- +title: contacts.Link +description: constructors and methods of type contacts.Link +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Link +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.link](../constructors/contacts.link.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->deleteContact](../methods/contacts.deleteContact.md) + + + diff --git a/old_docs/API_docs_v40/types/contacts.Suggested.md b/old_docs/API_docs_v40/types/contacts.Suggested.md new file mode 100644 index 00000000..a462dae5 --- /dev/null +++ b/old_docs/API_docs_v40/types/contacts.Suggested.md @@ -0,0 +1,22 @@ +--- +title: contacts.Suggested +description: constructors and methods of type contacts.Suggested +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Suggested +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.suggested](../constructors/contacts.suggested.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getSuggested](../methods/contacts.getSuggested.md) + + + diff --git a/old_docs/API_docs_v40/types/contacts_Blocked.md b/old_docs/API_docs_v40/types/contacts_Blocked.md deleted file mode 100644 index 3e1f02eb..00000000 --- a/old_docs/API_docs_v40/types/contacts_Blocked.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: contacts_Blocked -description: constructors and methods of type contacts_Blocked -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Blocked -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_blocked](../constructors/contacts_blocked.md) - -[contacts\_blockedSlice](../constructors/contacts_blockedSlice.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->getBlocked](../methods/contacts_getBlocked.md) - - - diff --git a/old_docs/API_docs_v40/types/contacts_Contacts.md b/old_docs/API_docs_v40/types/contacts_Contacts.md deleted file mode 100644 index 5d6c9506..00000000 --- a/old_docs/API_docs_v40/types/contacts_Contacts.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: contacts_Contacts -description: constructors and methods of type contacts_Contacts -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Contacts -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_contactsNotModified](../constructors/contacts_contactsNotModified.md) - -[contacts\_contacts](../constructors/contacts_contacts.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->getContacts](../methods/contacts_getContacts.md) - - - diff --git a/old_docs/API_docs_v40/types/contacts_Found.md b/old_docs/API_docs_v40/types/contacts_Found.md deleted file mode 100644 index 806101cf..00000000 --- a/old_docs/API_docs_v40/types/contacts_Found.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_Found -description: constructors and methods of type contacts_Found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Found -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_found](../constructors/contacts_found.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->search](../methods/contacts_search.md) - - - diff --git a/old_docs/API_docs_v40/types/contacts_ImportedContacts.md b/old_docs/API_docs_v40/types/contacts_ImportedContacts.md deleted file mode 100644 index faf7e615..00000000 --- a/old_docs/API_docs_v40/types/contacts_ImportedContacts.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_ImportedContacts -description: constructors and methods of type contacts_ImportedContacts -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_ImportedContacts -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_importedContacts](../constructors/contacts_importedContacts.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->importContacts](../methods/contacts_importContacts.md) - - - diff --git a/old_docs/API_docs_v40/types/contacts_Link.md b/old_docs/API_docs_v40/types/contacts_Link.md deleted file mode 100644 index 01556606..00000000 --- a/old_docs/API_docs_v40/types/contacts_Link.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_Link -description: constructors and methods of type contacts_Link -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Link -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_link](../constructors/contacts_link.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->deleteContact](../methods/contacts_deleteContact.md) - - - diff --git a/old_docs/API_docs_v40/types/contacts_Suggested.md b/old_docs/API_docs_v40/types/contacts_Suggested.md deleted file mode 100644 index dd597b3b..00000000 --- a/old_docs/API_docs_v40/types/contacts_Suggested.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_Suggested -description: constructors and methods of type contacts_Suggested -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Suggested -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_suggested](../constructors/contacts_suggested.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->getSuggested](../methods/contacts_getSuggested.md) - - - diff --git a/old_docs/API_docs_v40/types/help.AppChangelog.md b/old_docs/API_docs_v40/types/help.AppChangelog.md new file mode 100644 index 00000000..71584fdc --- /dev/null +++ b/old_docs/API_docs_v40/types/help.AppChangelog.md @@ -0,0 +1,24 @@ +--- +title: help.AppChangelog +description: constructors and methods of type help.AppChangelog +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.AppChangelog +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.appChangelogEmpty](../constructors/help.appChangelogEmpty.md) + +[help.appChangelog](../constructors/help.appChangelog.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getAppChangelog](../methods/help.getAppChangelog.md) + + + diff --git a/old_docs/API_docs_v40/types/help.AppUpdate.md b/old_docs/API_docs_v40/types/help.AppUpdate.md new file mode 100644 index 00000000..285ec2b7 --- /dev/null +++ b/old_docs/API_docs_v40/types/help.AppUpdate.md @@ -0,0 +1,24 @@ +--- +title: help.AppUpdate +description: constructors and methods of type help.AppUpdate +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.AppUpdate +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.appUpdate](../constructors/help.appUpdate.md) + +[help.noAppUpdate](../constructors/help.noAppUpdate.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getAppUpdate](../methods/help.getAppUpdate.md) + + + diff --git a/old_docs/API_docs_v40/types/help.InviteText.md b/old_docs/API_docs_v40/types/help.InviteText.md new file mode 100644 index 00000000..43293f46 --- /dev/null +++ b/old_docs/API_docs_v40/types/help.InviteText.md @@ -0,0 +1,22 @@ +--- +title: help.InviteText +description: constructors and methods of type help.InviteText +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.InviteText +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.inviteText](../constructors/help.inviteText.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getInviteText](../methods/help.getInviteText.md) + + + diff --git a/old_docs/API_docs_v40/types/help.Support.md b/old_docs/API_docs_v40/types/help.Support.md new file mode 100644 index 00000000..42c20483 --- /dev/null +++ b/old_docs/API_docs_v40/types/help.Support.md @@ -0,0 +1,22 @@ +--- +title: help.Support +description: constructors and methods of type help.Support +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.Support +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.support](../constructors/help.support.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getSupport](../methods/help.getSupport.md) + + + diff --git a/old_docs/API_docs_v40/types/help_AppChangelog.md b/old_docs/API_docs_v40/types/help_AppChangelog.md deleted file mode 100644 index 350cb644..00000000 --- a/old_docs/API_docs_v40/types/help_AppChangelog.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: help_AppChangelog -description: constructors and methods of type help_AppChangelog -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_AppChangelog -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_appChangelogEmpty](../constructors/help_appChangelogEmpty.md) - -[help\_appChangelog](../constructors/help_appChangelog.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getAppChangelog](../methods/help_getAppChangelog.md) - - - diff --git a/old_docs/API_docs_v40/types/help_AppUpdate.md b/old_docs/API_docs_v40/types/help_AppUpdate.md deleted file mode 100644 index 1f296a70..00000000 --- a/old_docs/API_docs_v40/types/help_AppUpdate.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: help_AppUpdate -description: constructors and methods of type help_AppUpdate -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_AppUpdate -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_appUpdate](../constructors/help_appUpdate.md) - -[help\_noAppUpdate](../constructors/help_noAppUpdate.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getAppUpdate](../methods/help_getAppUpdate.md) - - - diff --git a/old_docs/API_docs_v40/types/help_InviteText.md b/old_docs/API_docs_v40/types/help_InviteText.md deleted file mode 100644 index 018d35bf..00000000 --- a/old_docs/API_docs_v40/types/help_InviteText.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: help_InviteText -description: constructors and methods of type help_InviteText -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_InviteText -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_inviteText](../constructors/help_inviteText.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getInviteText](../methods/help_getInviteText.md) - - - diff --git a/old_docs/API_docs_v40/types/help_Support.md b/old_docs/API_docs_v40/types/help_Support.md deleted file mode 100644 index 26de447b..00000000 --- a/old_docs/API_docs_v40/types/help_Support.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: help_Support -description: constructors and methods of type help_Support -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_Support -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_support](../constructors/help_support.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getSupport](../methods/help_getSupport.md) - - - diff --git a/old_docs/API_docs_v40/types/messages.AffectedHistory.md b/old_docs/API_docs_v40/types/messages.AffectedHistory.md new file mode 100644 index 00000000..f6746759 --- /dev/null +++ b/old_docs/API_docs_v40/types/messages.AffectedHistory.md @@ -0,0 +1,24 @@ +--- +title: messages.AffectedHistory +description: constructors and methods of type messages.AffectedHistory +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.AffectedHistory +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.affectedHistory](../constructors/messages.affectedHistory.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->readHistory](../methods/messages.readHistory.md) + +[$MadelineProto->messages->deleteHistory](../methods/messages.deleteHistory.md) + + + diff --git a/old_docs/API_docs_v40/types/messages.AffectedMessages.md b/old_docs/API_docs_v40/types/messages.AffectedMessages.md new file mode 100644 index 00000000..37850035 --- /dev/null +++ b/old_docs/API_docs_v40/types/messages.AffectedMessages.md @@ -0,0 +1,26 @@ +--- +title: messages.AffectedMessages +description: constructors and methods of type messages.AffectedMessages +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.AffectedMessages +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.affectedMessages](../constructors/messages.affectedMessages.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->deleteMessages](../methods/messages.deleteMessages.md) + +[$MadelineProto->messages->readMessageContents](../methods/messages.readMessageContents.md) + +[$MadelineProto->messages->deleteChannelMessages](../methods/messages.deleteChannelMessages.md) + + + diff --git a/old_docs/API_docs_v40/types/messages.AllStickers.md b/old_docs/API_docs_v40/types/messages.AllStickers.md new file mode 100644 index 00000000..5ece92c0 --- /dev/null +++ b/old_docs/API_docs_v40/types/messages.AllStickers.md @@ -0,0 +1,24 @@ +--- +title: messages.AllStickers +description: constructors and methods of type messages.AllStickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.AllStickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.allStickersNotModified](../constructors/messages.allStickersNotModified.md) + +[messages.allStickers](../constructors/messages.allStickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getAllStickers](../methods/messages.getAllStickers.md) + + + diff --git a/old_docs/API_docs_v40/types/messages.ChatFull.md b/old_docs/API_docs_v40/types/messages.ChatFull.md new file mode 100644 index 00000000..1b5ab0cc --- /dev/null +++ b/old_docs/API_docs_v40/types/messages.ChatFull.md @@ -0,0 +1,22 @@ +--- +title: messages.ChatFull +description: constructors and methods of type messages.ChatFull +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.ChatFull +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.chatFull](../constructors/messages.chatFull.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getFullChat](../methods/messages.getFullChat.md) + + + diff --git a/old_docs/API_docs_v40/types/messages.Chats.md b/old_docs/API_docs_v40/types/messages.Chats.md new file mode 100644 index 00000000..6052dc4f --- /dev/null +++ b/old_docs/API_docs_v40/types/messages.Chats.md @@ -0,0 +1,22 @@ +--- +title: messages.Chats +description: constructors and methods of type messages.Chats +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Chats +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.chats](../constructors/messages.chats.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getChats](../methods/messages.getChats.md) + + + diff --git a/old_docs/API_docs_v40/types/messages.DhConfig.md b/old_docs/API_docs_v40/types/messages.DhConfig.md new file mode 100644 index 00000000..77188ab7 --- /dev/null +++ b/old_docs/API_docs_v40/types/messages.DhConfig.md @@ -0,0 +1,24 @@ +--- +title: messages.DhConfig +description: constructors and methods of type messages.DhConfig +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.DhConfig +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.dhConfigNotModified](../constructors/messages.dhConfigNotModified.md) + +[messages.dhConfig](../constructors/messages.dhConfig.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getDhConfig](../methods/messages.getDhConfig.md) + + + diff --git a/old_docs/API_docs_v40/types/messages.Dialogs.md b/old_docs/API_docs_v40/types/messages.Dialogs.md new file mode 100644 index 00000000..f5d94b84 --- /dev/null +++ b/old_docs/API_docs_v40/types/messages.Dialogs.md @@ -0,0 +1,26 @@ +--- +title: messages.Dialogs +description: constructors and methods of type messages.Dialogs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Dialogs +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.dialogs](../constructors/messages.dialogs.md) + +[messages.dialogsSlice](../constructors/messages.dialogsSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getDialogs](../methods/messages.getDialogs.md) + +[$MadelineProto->messages->getChannelDialogs](../methods/messages.getChannelDialogs.md) + + + diff --git a/old_docs/API_docs_v40/types/messages.Messages.md b/old_docs/API_docs_v40/types/messages.Messages.md new file mode 100644 index 00000000..bec54891 --- /dev/null +++ b/old_docs/API_docs_v40/types/messages.Messages.md @@ -0,0 +1,32 @@ +--- +title: messages.Messages +description: constructors and methods of type messages.Messages +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Messages +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.messages](../constructors/messages.messages.md) + +[messages.messagesSlice](../constructors/messages.messagesSlice.md) + +[messages.channelMessages](../constructors/messages.channelMessages.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getMessages](../methods/messages.getMessages.md) + +[$MadelineProto->messages->getHistory](../methods/messages.getHistory.md) + +[$MadelineProto->messages->search](../methods/messages.search.md) + +[$MadelineProto->messages->getImportantHistory](../methods/messages.getImportantHistory.md) + + + diff --git a/old_docs/API_docs_v40/types/messages.SentEncryptedMessage.md b/old_docs/API_docs_v40/types/messages.SentEncryptedMessage.md new file mode 100644 index 00000000..b6d05b1f --- /dev/null +++ b/old_docs/API_docs_v40/types/messages.SentEncryptedMessage.md @@ -0,0 +1,28 @@ +--- +title: messages.SentEncryptedMessage +description: constructors and methods of type messages.SentEncryptedMessage +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.SentEncryptedMessage +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.sentEncryptedMessage](../constructors/messages.sentEncryptedMessage.md) + +[messages.sentEncryptedFile](../constructors/messages.sentEncryptedFile.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->sendEncrypted](../methods/messages.sendEncrypted.md) + +[$MadelineProto->messages->sendEncryptedFile](../methods/messages.sendEncryptedFile.md) + +[$MadelineProto->messages->sendEncryptedService](../methods/messages.sendEncryptedService.md) + + + diff --git a/old_docs/API_docs_v40/types/messages.StickerSet.md b/old_docs/API_docs_v40/types/messages.StickerSet.md new file mode 100644 index 00000000..8de24a76 --- /dev/null +++ b/old_docs/API_docs_v40/types/messages.StickerSet.md @@ -0,0 +1,22 @@ +--- +title: messages.StickerSet +description: constructors and methods of type messages.StickerSet +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.StickerSet +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.stickerSet](../constructors/messages.stickerSet.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getStickerSet](../methods/messages.getStickerSet.md) + + + diff --git a/old_docs/API_docs_v40/types/messages.Stickers.md b/old_docs/API_docs_v40/types/messages.Stickers.md new file mode 100644 index 00000000..43bddf06 --- /dev/null +++ b/old_docs/API_docs_v40/types/messages.Stickers.md @@ -0,0 +1,24 @@ +--- +title: messages.Stickers +description: constructors and methods of type messages.Stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Stickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.stickersNotModified](../constructors/messages.stickersNotModified.md) + +[messages.stickers](../constructors/messages.stickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getStickers](../methods/messages.getStickers.md) + + + diff --git a/old_docs/API_docs_v40/types/messages_AffectedHistory.md b/old_docs/API_docs_v40/types/messages_AffectedHistory.md deleted file mode 100644 index 0d1098b8..00000000 --- a/old_docs/API_docs_v40/types/messages_AffectedHistory.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_AffectedHistory -description: constructors and methods of type messages_AffectedHistory -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_AffectedHistory -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_affectedHistory](../constructors/messages_affectedHistory.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->readHistory](../methods/messages_readHistory.md) - -[$MadelineProto->messages->deleteHistory](../methods/messages_deleteHistory.md) - - - diff --git a/old_docs/API_docs_v40/types/messages_AffectedMessages.md b/old_docs/API_docs_v40/types/messages_AffectedMessages.md deleted file mode 100644 index df06647d..00000000 --- a/old_docs/API_docs_v40/types/messages_AffectedMessages.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: messages_AffectedMessages -description: constructors and methods of type messages_AffectedMessages -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_AffectedMessages -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_affectedMessages](../constructors/messages_affectedMessages.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->deleteMessages](../methods/messages_deleteMessages.md) - -[$MadelineProto->messages->readMessageContents](../methods/messages_readMessageContents.md) - -[$MadelineProto->messages->deleteChannelMessages](../methods/messages_deleteChannelMessages.md) - - - diff --git a/old_docs/API_docs_v40/types/messages_AllStickers.md b/old_docs/API_docs_v40/types/messages_AllStickers.md deleted file mode 100644 index 59d19759..00000000 --- a/old_docs/API_docs_v40/types/messages_AllStickers.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_AllStickers -description: constructors and methods of type messages_AllStickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_AllStickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_allStickersNotModified](../constructors/messages_allStickersNotModified.md) - -[messages\_allStickers](../constructors/messages_allStickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getAllStickers](../methods/messages_getAllStickers.md) - - - diff --git a/old_docs/API_docs_v40/types/messages_ChatFull.md b/old_docs/API_docs_v40/types/messages_ChatFull.md deleted file mode 100644 index 056c6641..00000000 --- a/old_docs/API_docs_v40/types/messages_ChatFull.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_ChatFull -description: constructors and methods of type messages_ChatFull -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_ChatFull -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_chatFull](../constructors/messages_chatFull.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getFullChat](../methods/messages_getFullChat.md) - - - diff --git a/old_docs/API_docs_v40/types/messages_Chats.md b/old_docs/API_docs_v40/types/messages_Chats.md deleted file mode 100644 index 0b3113b7..00000000 --- a/old_docs/API_docs_v40/types/messages_Chats.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_Chats -description: constructors and methods of type messages_Chats -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Chats -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_chats](../constructors/messages_chats.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getChats](../methods/messages_getChats.md) - - - diff --git a/old_docs/API_docs_v40/types/messages_DhConfig.md b/old_docs/API_docs_v40/types/messages_DhConfig.md deleted file mode 100644 index ce237411..00000000 --- a/old_docs/API_docs_v40/types/messages_DhConfig.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_DhConfig -description: constructors and methods of type messages_DhConfig -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_DhConfig -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_dhConfigNotModified](../constructors/messages_dhConfigNotModified.md) - -[messages\_dhConfig](../constructors/messages_dhConfig.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getDhConfig](../methods/messages_getDhConfig.md) - - - diff --git a/old_docs/API_docs_v40/types/messages_Dialogs.md b/old_docs/API_docs_v40/types/messages_Dialogs.md deleted file mode 100644 index 4530bf30..00000000 --- a/old_docs/API_docs_v40/types/messages_Dialogs.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: messages_Dialogs -description: constructors and methods of type messages_Dialogs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Dialogs -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_dialogs](../constructors/messages_dialogs.md) - -[messages\_dialogsSlice](../constructors/messages_dialogsSlice.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getDialogs](../methods/messages_getDialogs.md) - -[$MadelineProto->messages->getChannelDialogs](../methods/messages_getChannelDialogs.md) - - - diff --git a/old_docs/API_docs_v40/types/messages_Messages.md b/old_docs/API_docs_v40/types/messages_Messages.md deleted file mode 100644 index cd4dfcb3..00000000 --- a/old_docs/API_docs_v40/types/messages_Messages.md +++ /dev/null @@ -1,32 +0,0 @@ ---- -title: messages_Messages -description: constructors and methods of type messages_Messages -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Messages -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_messages](../constructors/messages_messages.md) - -[messages\_messagesSlice](../constructors/messages_messagesSlice.md) - -[messages\_channelMessages](../constructors/messages_channelMessages.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getMessages](../methods/messages_getMessages.md) - -[$MadelineProto->messages->getHistory](../methods/messages_getHistory.md) - -[$MadelineProto->messages->search](../methods/messages_search.md) - -[$MadelineProto->messages->getImportantHistory](../methods/messages_getImportantHistory.md) - - - diff --git a/old_docs/API_docs_v40/types/messages_SentEncryptedMessage.md b/old_docs/API_docs_v40/types/messages_SentEncryptedMessage.md deleted file mode 100644 index 9f7ab935..00000000 --- a/old_docs/API_docs_v40/types/messages_SentEncryptedMessage.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: messages_SentEncryptedMessage -description: constructors and methods of type messages_SentEncryptedMessage -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_SentEncryptedMessage -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_sentEncryptedMessage](../constructors/messages_sentEncryptedMessage.md) - -[messages\_sentEncryptedFile](../constructors/messages_sentEncryptedFile.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->sendEncrypted](../methods/messages_sendEncrypted.md) - -[$MadelineProto->messages->sendEncryptedFile](../methods/messages_sendEncryptedFile.md) - -[$MadelineProto->messages->sendEncryptedService](../methods/messages_sendEncryptedService.md) - - - diff --git a/old_docs/API_docs_v40/types/messages_StickerSet.md b/old_docs/API_docs_v40/types/messages_StickerSet.md deleted file mode 100644 index e04ee8bf..00000000 --- a/old_docs/API_docs_v40/types/messages_StickerSet.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_StickerSet -description: constructors and methods of type messages_StickerSet -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_StickerSet -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_stickerSet](../constructors/messages_stickerSet.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getStickerSet](../methods/messages_getStickerSet.md) - - - diff --git a/old_docs/API_docs_v40/types/messages_Stickers.md b/old_docs/API_docs_v40/types/messages_Stickers.md deleted file mode 100644 index cf53f57b..00000000 --- a/old_docs/API_docs_v40/types/messages_Stickers.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_Stickers -description: constructors and methods of type messages_Stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Stickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_stickersNotModified](../constructors/messages_stickersNotModified.md) - -[messages\_stickers](../constructors/messages_stickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getStickers](../methods/messages_getStickers.md) - - - diff --git a/old_docs/API_docs_v40/types/photos.Photo.md b/old_docs/API_docs_v40/types/photos.Photo.md new file mode 100644 index 00000000..d60f203c --- /dev/null +++ b/old_docs/API_docs_v40/types/photos.Photo.md @@ -0,0 +1,22 @@ +--- +title: photos.Photo +description: constructors and methods of type photos.Photo +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: photos.Photo +[Back to types index](index.md) + + + +### Possible values (constructors): + +[photos.photo](../constructors/photos.photo.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->photos->uploadProfilePhoto](../methods/photos.uploadProfilePhoto.md) + + + diff --git a/old_docs/API_docs_v40/types/photos.Photos.md b/old_docs/API_docs_v40/types/photos.Photos.md new file mode 100644 index 00000000..fff0e296 --- /dev/null +++ b/old_docs/API_docs_v40/types/photos.Photos.md @@ -0,0 +1,24 @@ +--- +title: photos.Photos +description: constructors and methods of type photos.Photos +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: photos.Photos +[Back to types index](index.md) + + + +### Possible values (constructors): + +[photos.photos](../constructors/photos.photos.md) + +[photos.photosSlice](../constructors/photos.photosSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->photos->getUserPhotos](../methods/photos.getUserPhotos.md) + + + diff --git a/old_docs/API_docs_v40/types/photos_Photo.md b/old_docs/API_docs_v40/types/photos_Photo.md deleted file mode 100644 index d11bbdef..00000000 --- a/old_docs/API_docs_v40/types/photos_Photo.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: photos_Photo -description: constructors and methods of type photos_Photo -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: photos\_Photo -[Back to types index](index.md) - - - -### Possible values (constructors): - -[photos\_photo](../constructors/photos_photo.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->photos->uploadProfilePhoto](../methods/photos_uploadProfilePhoto.md) - - - diff --git a/old_docs/API_docs_v40/types/photos_Photos.md b/old_docs/API_docs_v40/types/photos_Photos.md deleted file mode 100644 index 9875ad70..00000000 --- a/old_docs/API_docs_v40/types/photos_Photos.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: photos_Photos -description: constructors and methods of type photos_Photos -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: photos\_Photos -[Back to types index](index.md) - - - -### Possible values (constructors): - -[photos\_photos](../constructors/photos_photos.md) - -[photos\_photosSlice](../constructors/photos_photosSlice.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->photos->getUserPhotos](../methods/photos_getUserPhotos.md) - - - diff --git a/old_docs/API_docs_v40/types/storage.FileType.md b/old_docs/API_docs_v40/types/storage.FileType.md new file mode 100644 index 00000000..73dc8a92 --- /dev/null +++ b/old_docs/API_docs_v40/types/storage.FileType.md @@ -0,0 +1,38 @@ +--- +title: storage.FileType +description: constructors and methods of type storage.FileType +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: storage.FileType +[Back to types index](index.md) + + + +### Possible values (constructors): + +[storage.fileUnknown](../constructors/storage.fileUnknown.md) + +[storage.fileJpeg](../constructors/storage.fileJpeg.md) + +[storage.fileGif](../constructors/storage.fileGif.md) + +[storage.filePng](../constructors/storage.filePng.md) + +[storage.filePdf](../constructors/storage.filePdf.md) + +[storage.fileMp3](../constructors/storage.fileMp3.md) + +[storage.fileMov](../constructors/storage.fileMov.md) + +[storage.filePartial](../constructors/storage.filePartial.md) + +[storage.fileMp4](../constructors/storage.fileMp4.md) + +[storage.fileWebp](../constructors/storage.fileWebp.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v40/types/storage_FileType.md b/old_docs/API_docs_v40/types/storage_FileType.md deleted file mode 100644 index 076c52a4..00000000 --- a/old_docs/API_docs_v40/types/storage_FileType.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: storage_FileType -description: constructors and methods of type storage_FileType -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: storage\_FileType -[Back to types index](index.md) - - - -### Possible values (constructors): - -[storage\_fileUnknown](../constructors/storage_fileUnknown.md) - -[storage\_fileJpeg](../constructors/storage_fileJpeg.md) - -[storage\_fileGif](../constructors/storage_fileGif.md) - -[storage\_filePng](../constructors/storage_filePng.md) - -[storage\_filePdf](../constructors/storage_filePdf.md) - -[storage\_fileMp3](../constructors/storage_fileMp3.md) - -[storage\_fileMov](../constructors/storage_fileMov.md) - -[storage\_filePartial](../constructors/storage_filePartial.md) - -[storage\_fileMp4](../constructors/storage_fileMp4.md) - -[storage\_fileWebp](../constructors/storage_fileWebp.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v40/types/updates.ChannelDifference.md b/old_docs/API_docs_v40/types/updates.ChannelDifference.md new file mode 100644 index 00000000..ac889a1e --- /dev/null +++ b/old_docs/API_docs_v40/types/updates.ChannelDifference.md @@ -0,0 +1,26 @@ +--- +title: updates.ChannelDifference +description: constructors and methods of type updates.ChannelDifference +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: updates.ChannelDifference +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updates.channelDifferenceEmpty](../constructors/updates.channelDifferenceEmpty.md) + +[updates.channelDifferenceTooLong](../constructors/updates.channelDifferenceTooLong.md) + +[updates.channelDifference](../constructors/updates.channelDifference.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->updates->getChannelDifference](../methods/updates.getChannelDifference.md) + + + diff --git a/old_docs/API_docs_v40/types/updates.Difference.md b/old_docs/API_docs_v40/types/updates.Difference.md new file mode 100644 index 00000000..35998855 --- /dev/null +++ b/old_docs/API_docs_v40/types/updates.Difference.md @@ -0,0 +1,26 @@ +--- +title: updates.Difference +description: constructors and methods of type updates.Difference +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: updates.Difference +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updates.differenceEmpty](../constructors/updates.differenceEmpty.md) + +[updates.difference](../constructors/updates.difference.md) + +[updates.differenceSlice](../constructors/updates.differenceSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->updates->getDifference](../methods/updates.getDifference.md) + + + diff --git a/old_docs/API_docs_v40/types/updates.State.md b/old_docs/API_docs_v40/types/updates.State.md new file mode 100644 index 00000000..49bbb7fd --- /dev/null +++ b/old_docs/API_docs_v40/types/updates.State.md @@ -0,0 +1,22 @@ +--- +title: updates.State +description: constructors and methods of type updates.State +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: updates.State +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updates.state](../constructors/updates.state.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->updates->getState](../methods/updates.getState.md) + + + diff --git a/old_docs/API_docs_v40/types/updates_ChannelDifference.md b/old_docs/API_docs_v40/types/updates_ChannelDifference.md deleted file mode 100644 index dc988692..00000000 --- a/old_docs/API_docs_v40/types/updates_ChannelDifference.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: updates_ChannelDifference -description: constructors and methods of type updates_ChannelDifference -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: updates\_ChannelDifference -[Back to types index](index.md) - - - -### Possible values (constructors): - -[updates\_channelDifferenceEmpty](../constructors/updates_channelDifferenceEmpty.md) - -[updates\_channelDifferenceTooLong](../constructors/updates_channelDifferenceTooLong.md) - -[updates\_channelDifference](../constructors/updates_channelDifference.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->updates->getChannelDifference](../methods/updates_getChannelDifference.md) - - - diff --git a/old_docs/API_docs_v40/types/updates_Difference.md b/old_docs/API_docs_v40/types/updates_Difference.md deleted file mode 100644 index 0190189b..00000000 --- a/old_docs/API_docs_v40/types/updates_Difference.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: updates_Difference -description: constructors and methods of type updates_Difference -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: updates\_Difference -[Back to types index](index.md) - - - -### Possible values (constructors): - -[updates\_differenceEmpty](../constructors/updates_differenceEmpty.md) - -[updates\_difference](../constructors/updates_difference.md) - -[updates\_differenceSlice](../constructors/updates_differenceSlice.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->updates->getDifference](../methods/updates_getDifference.md) - - - diff --git a/old_docs/API_docs_v40/types/updates_State.md b/old_docs/API_docs_v40/types/updates_State.md deleted file mode 100644 index 7a441145..00000000 --- a/old_docs/API_docs_v40/types/updates_State.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: updates_State -description: constructors and methods of type updates_State -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: updates\_State -[Back to types index](index.md) - - - -### Possible values (constructors): - -[updates\_state](../constructors/updates_state.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->updates->getState](../methods/updates_getState.md) - - - diff --git a/old_docs/API_docs_v40/types/upload.File.md b/old_docs/API_docs_v40/types/upload.File.md new file mode 100644 index 00000000..922e6c7a --- /dev/null +++ b/old_docs/API_docs_v40/types/upload.File.md @@ -0,0 +1,22 @@ +--- +title: upload.File +description: constructors and methods of type upload.File +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: upload.File +[Back to types index](index.md) + + + +### Possible values (constructors): + +[upload.file](../constructors/upload.file.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->upload->getFile](../methods/upload.getFile.md) + + + diff --git a/old_docs/API_docs_v40/types/upload_File.md b/old_docs/API_docs_v40/types/upload_File.md deleted file mode 100644 index 6e3bc38d..00000000 --- a/old_docs/API_docs_v40/types/upload_File.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: upload_File -description: constructors and methods of type upload_File -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: upload\_File -[Back to types index](index.md) - - - -### Possible values (constructors): - -[upload\_file](../constructors/upload_file.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->upload->getFile](../methods/upload_getFile.md) - - - diff --git a/old_docs/API_docs_v41/constructors/README.md b/old_docs/API_docs_v41/constructors/README.md index 7f16c977..bec29194 100644 --- a/old_docs/API_docs_v41/constructors/README.md +++ b/old_docs/API_docs_v41/constructors/README.md @@ -7,22 +7,28 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png [Back to API documentation index](..) *** -

[$accountDaysTTL](../constructors/accountDaysTTL.md) = \['days' => [int](../types/int.md), \]; +

[$account.authorizations](../constructors/account.authorizations.md) = \['authorizations' => \[[Authorization](../types/Authorization.md)\], \]; *** -

[$account\_authorizations](../constructors/account_authorizations.md) = \['authorizations' => \[[Authorization](../types/Authorization.md)\], \]; +

[$account.noPassword](../constructors/account.noPassword.md) = \['new_salt' => [bytes](../types/bytes.md), 'email_unconfirmed_pattern' => [string](../types/string.md), \]; -[$account\_noPassword](../constructors/account_noPassword.md) = \['new_salt' => [bytes](../types/bytes.md), 'email_unconfirmed_pattern' => [string](../types/string.md), \]; +*** +

[$account.password](../constructors/account.password.md) = \['current_salt' => [bytes](../types/bytes.md), 'new_salt' => [bytes](../types/bytes.md), 'hint' => [string](../types/string.md), 'has_recovery' => [Bool](../types/Bool.md), 'email_unconfirmed_pattern' => [string](../types/string.md), \]; -[$account\_password](../constructors/account_password.md) = \['current_salt' => [bytes](../types/bytes.md), 'new_salt' => [bytes](../types/bytes.md), 'hint' => [string](../types/string.md), 'has_recovery' => [Bool](../types/Bool.md), 'email_unconfirmed_pattern' => [string](../types/string.md), \]; +*** +

[$account.passwordInputSettings](../constructors/account.passwordInputSettings.md) = \['new_salt' => [bytes](../types/bytes.md), 'new_password_hash' => [bytes](../types/bytes.md), 'hint' => [string](../types/string.md), 'email' => [string](../types/string.md), \]; -[$account\_passwordInputSettings](../constructors/account_passwordInputSettings.md) = \['new_salt' => [bytes](../types/bytes.md), 'new_password_hash' => [bytes](../types/bytes.md), 'hint' => [string](../types/string.md), 'email' => [string](../types/string.md), \]; +*** +

[$account.passwordSettings](../constructors/account.passwordSettings.md) = \['email' => [string](../types/string.md), \]; -[$account\_passwordSettings](../constructors/account_passwordSettings.md) = \['email' => [string](../types/string.md), \]; +*** +

[$account.privacyRules](../constructors/account.privacyRules.md) = \['rules' => \[[PrivacyRule](../types/PrivacyRule.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$account\_privacyRules](../constructors/account_privacyRules.md) = \['rules' => \[[PrivacyRule](../types/PrivacyRule.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$account.sentChangePhoneCode](../constructors/account.sentChangePhoneCode.md) = \['phone_code_hash' => [string](../types/string.md), 'send_call_timeout' => [int](../types/int.md), \]; -[$account\_sentChangePhoneCode](../constructors/account_sentChangePhoneCode.md) = \['phone_code_hash' => [string](../types/string.md), 'send_call_timeout' => [int](../types/int.md), \]; +*** +

[$accountDaysTTL](../constructors/accountDaysTTL.md) = \['days' => [int](../types/int.md), \]; ***

[$audio](../constructors/audio.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'date' => [int](../types/int.md), 'duration' => [int](../types/int.md), 'mime_type' => [string](../types/string.md), 'size' => [int](../types/int.md), 'dc_id' => [int](../types/int.md), \]; @@ -31,17 +37,22 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$audioEmpty](../constructors/audioEmpty.md) = \['id' => [long](../types/long.md), \]; *** -

[$auth\_authorization](../constructors/auth_authorization.md) = \['user' => [User](../types/User.md), \]; +

[$auth.authorization](../constructors/auth.authorization.md) = \['user' => [User](../types/User.md), \]; -[$auth\_checkedPhone](../constructors/auth_checkedPhone.md) = \['phone_registered' => [Bool](../types/Bool.md), \]; +*** +

[$auth.checkedPhone](../constructors/auth.checkedPhone.md) = \['phone_registered' => [Bool](../types/Bool.md), \]; -[$auth\_exportedAuthorization](../constructors/auth_exportedAuthorization.md) = \['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; +*** +

[$auth.exportedAuthorization](../constructors/auth.exportedAuthorization.md) = \['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; -[$auth\_passwordRecovery](../constructors/auth_passwordRecovery.md) = \['email_pattern' => [string](../types/string.md), \]; +*** +

[$auth.passwordRecovery](../constructors/auth.passwordRecovery.md) = \['email_pattern' => [string](../types/string.md), \]; -[$auth\_sentAppCode](../constructors/auth_sentAppCode.md) = \['phone_registered' => [Bool](../types/Bool.md), 'phone_code_hash' => [string](../types/string.md), 'send_call_timeout' => [int](../types/int.md), 'is_password' => [Bool](../types/Bool.md), \]; +*** +

[$auth.sentAppCode](../constructors/auth.sentAppCode.md) = \['phone_registered' => [Bool](../types/Bool.md), 'phone_code_hash' => [string](../types/string.md), 'send_call_timeout' => [int](../types/int.md), 'is_password' => [Bool](../types/Bool.md), \]; -[$auth\_sentCode](../constructors/auth_sentCode.md) = \['phone_registered' => [Bool](../types/Bool.md), 'phone_code_hash' => [string](../types/string.md), 'send_call_timeout' => [int](../types/int.md), 'is_password' => [Bool](../types/Bool.md), \]; +*** +

[$auth.sentCode](../constructors/auth.sentCode.md) = \['phone_registered' => [Bool](../types/Bool.md), 'phone_code_hash' => [string](../types/string.md), 'send_call_timeout' => [int](../types/int.md), 'is_password' => [Bool](../types/Bool.md), \]; ***

[$authorization](../constructors/authorization.md) = \['hash' => [long](../types/long.md), 'device_model' => [string](../types/string.md), 'platform' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'api_id' => [int](../types/int.md), 'app_name' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'date_created' => [int](../types/int.md), 'date_active' => [int](../types/int.md), 'ip' => [string](../types/string.md), 'country' => [string](../types/string.md), 'region' => [string](../types/string.md), \]; @@ -119,9 +130,10 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$channelRoleModerator](../constructors/channelRoleModerator.md) = \[\]; *** -

[$channels\_channelParticipant](../constructors/channels_channelParticipant.md) = \['participant' => [ChannelParticipant](../types/ChannelParticipant.md), 'users' => \[[User](../types/User.md)\], \]; +

[$channels.channelParticipant](../constructors/channels.channelParticipant.md) = \['participant' => [ChannelParticipant](../types/ChannelParticipant.md), 'users' => \[[User](../types/User.md)\], \]; -[$channels\_channelParticipants](../constructors/channels_channelParticipants.md) = \['count' => [int](../types/int.md), 'participants' => \[[ChannelParticipant](../types/ChannelParticipant.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$channels.channelParticipants](../constructors/channels.channelParticipants.md) = \['count' => [int](../types/int.md), 'participants' => \[[ChannelParticipant](../types/ChannelParticipant.md)\], 'users' => \[[User](../types/User.md)\], \]; ***

[$chat](../constructors/chat.md) = \['creator' => [Bool](../types/Bool.md), 'kicked' => [Bool](../types/Bool.md), 'left' => [Bool](../types/Bool.md), 'admins_enabled' => [Bool](../types/Bool.md), 'admin' => [Bool](../types/Bool.md), 'deactivated' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'title' => [string](../types/string.md), 'photo' => [ChatPhoto](../types/ChatPhoto.md), 'participants_count' => [int](../types/int.md), 'date' => [int](../types/int.md), 'version' => [int](../types/int.md), 'migrated_to' => [InputChannel](../types/InputChannel.md), \]; @@ -196,23 +208,31 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$contactSuggested](../constructors/contactSuggested.md) = \['user_id' => [int](../types/int.md), 'mutual_contacts' => [int](../types/int.md), \]; *** -

[$contacts\_blocked](../constructors/contacts_blocked.md) = \['blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; +

[$contacts.blocked](../constructors/contacts.blocked.md) = \['blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_blockedSlice](../constructors/contacts_blockedSlice.md) = \['count' => [int](../types/int.md), 'blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.blockedSlice](../constructors/contacts.blockedSlice.md) = \['count' => [int](../types/int.md), 'blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_contacts](../constructors/contacts_contacts.md) = \['contacts' => \[[Contact](../types/Contact.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.contacts](../constructors/contacts.contacts.md) = \['contacts' => \[[Contact](../types/Contact.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_contactsNotModified](../constructors/contacts_contactsNotModified.md) = \[\]; +*** +

[$contacts.contactsNotModified](../constructors/contacts.contactsNotModified.md) = \[\]; -[$contacts\_found](../constructors/contacts_found.md) = \['results' => \[[Peer](../types/Peer.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.found](../constructors/contacts.found.md) = \['results' => \[[Peer](../types/Peer.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_importedContacts](../constructors/contacts_importedContacts.md) = \['imported' => \[[ImportedContact](../types/ImportedContact.md)\], 'retry_contacts' => \[[long](../types/long.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.importedContacts](../constructors/contacts.importedContacts.md) = \['imported' => \[[ImportedContact](../types/ImportedContact.md)\], 'retry_contacts' => \[[long](../types/long.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_link](../constructors/contacts_link.md) = \['my_link' => [ContactLink](../types/ContactLink.md), 'foreign_link' => [ContactLink](../types/ContactLink.md), 'user' => [User](../types/User.md), \]; +*** +

[$contacts.link](../constructors/contacts.link.md) = \['my_link' => [ContactLink](../types/ContactLink.md), 'foreign_link' => [ContactLink](../types/ContactLink.md), 'user' => [User](../types/User.md), \]; -[$contacts\_resolvedPeer](../constructors/contacts_resolvedPeer.md) = \['peer' => [Peer](../types/Peer.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.resolvedPeer](../constructors/contacts.resolvedPeer.md) = \['peer' => [Peer](../types/Peer.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_suggested](../constructors/contacts_suggested.md) = \['results' => \[[ContactSuggested](../types/ContactSuggested.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.suggested](../constructors/contacts.suggested.md) = \['results' => \[[ContactSuggested](../types/ContactSuggested.md)\], 'users' => \[[User](../types/User.md)\], \]; ***

[$dcOption](../constructors/dcOption.md) = \['ipv6' => [Bool](../types/Bool.md), 'media_only' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'ip_address' => [string](../types/string.md), 'port' => [int](../types/int.md), \]; @@ -293,17 +313,22 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$geoPointEmpty](../constructors/geoPointEmpty.md) = \[\]; *** -

[$help\_appChangelog](../constructors/help_appChangelog.md) = \['text' => [string](../types/string.md), \]; +

[$help.appChangelog](../constructors/help.appChangelog.md) = \['text' => [string](../types/string.md), \]; -[$help\_appChangelogEmpty](../constructors/help_appChangelogEmpty.md) = \[\]; +*** +

[$help.appChangelogEmpty](../constructors/help.appChangelogEmpty.md) = \[\]; -[$help\_appUpdate](../constructors/help_appUpdate.md) = \['id' => [int](../types/int.md), 'critical' => [Bool](../types/Bool.md), 'url' => [string](../types/string.md), 'text' => [string](../types/string.md), \]; +*** +

[$help.appUpdate](../constructors/help.appUpdate.md) = \['id' => [int](../types/int.md), 'critical' => [Bool](../types/Bool.md), 'url' => [string](../types/string.md), 'text' => [string](../types/string.md), \]; -[$help\_inviteText](../constructors/help_inviteText.md) = \['message' => [string](../types/string.md), \]; +*** +

[$help.inviteText](../constructors/help.inviteText.md) = \['message' => [string](../types/string.md), \]; -[$help\_noAppUpdate](../constructors/help_noAppUpdate.md) = \[\]; +*** +

[$help.noAppUpdate](../constructors/help.noAppUpdate.md) = \[\]; -[$help\_support](../constructors/help_support.md) = \['phone_number' => [string](../types/string.md), 'user' => [User](../types/User.md), \]; +*** +

[$help.support](../constructors/help.support.md) = \['phone_number' => [string](../types/string.md), 'user' => [User](../types/User.md), \]; ***

[$importedContact](../constructors/importedContact.md) = \['user_id' => [int](../types/int.md), 'client_id' => [long](../types/long.md), \]; @@ -669,41 +694,58 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$messageService](../constructors/messageService.md) = \['unread' => [Bool](../types/Bool.md), 'out' => [Bool](../types/Bool.md), 'mentioned' => [Bool](../types/Bool.md), 'media_unread' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'from_id' => [int](../types/int.md), 'to_id' => [Peer](../types/Peer.md), 'date' => [int](../types/int.md), 'action' => [MessageAction](../types/MessageAction.md), \]; *** -

[$messages\_affectedHistory](../constructors/messages_affectedHistory.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), 'offset' => [int](../types/int.md), \]; +

[$messages.affectedHistory](../constructors/messages.affectedHistory.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), 'offset' => [int](../types/int.md), \]; -[$messages\_affectedMessages](../constructors/messages_affectedMessages.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; +*** +

[$messages.affectedMessages](../constructors/messages.affectedMessages.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; -[$messages\_allStickers](../constructors/messages_allStickers.md) = \['hash' => [string](../types/string.md), 'sets' => \[[StickerSet](../types/StickerSet.md)\], \]; +*** +

[$messages.allStickers](../constructors/messages.allStickers.md) = \['hash' => [string](../types/string.md), 'sets' => \[[StickerSet](../types/StickerSet.md)\], \]; -[$messages\_allStickersNotModified](../constructors/messages_allStickersNotModified.md) = \[\]; +*** +

[$messages.allStickersNotModified](../constructors/messages.allStickersNotModified.md) = \[\]; -[$messages\_channelMessages](../constructors/messages_channelMessages.md) = \['pts' => [int](../types/int.md), 'count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'collapsed' => \[[MessageGroup](../types/MessageGroup.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.channelMessages](../constructors/messages.channelMessages.md) = \['pts' => [int](../types/int.md), 'count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'collapsed' => \[[MessageGroup](../types/MessageGroup.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_chatFull](../constructors/messages_chatFull.md) = \['full_chat' => [ChatFull](../types/ChatFull.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.chatFull](../constructors/messages.chatFull.md) = \['full_chat' => [ChatFull](../types/ChatFull.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_chats](../constructors/messages_chats.md) = \['chats' => \[[Chat](../types/Chat.md)\], \]; +*** +

[$messages.chats](../constructors/messages.chats.md) = \['chats' => \[[Chat](../types/Chat.md)\], \]; -[$messages\_dhConfig](../constructors/messages_dhConfig.md) = \['g' => [int](../types/int.md), 'p' => [bytes](../types/bytes.md), 'version' => [int](../types/int.md), 'random' => [bytes](../types/bytes.md), \]; +*** +

[$messages.dhConfig](../constructors/messages.dhConfig.md) = \['g' => [int](../types/int.md), 'p' => [bytes](../types/bytes.md), 'version' => [int](../types/int.md), 'random' => [bytes](../types/bytes.md), \]; -[$messages\_dhConfigNotModified](../constructors/messages_dhConfigNotModified.md) = \['random' => [bytes](../types/bytes.md), \]; +*** +

[$messages.dhConfigNotModified](../constructors/messages.dhConfigNotModified.md) = \['random' => [bytes](../types/bytes.md), \]; -[$messages\_dialogs](../constructors/messages_dialogs.md) = \['dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.dialogs](../constructors/messages.dialogs.md) = \['dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_dialogsSlice](../constructors/messages_dialogsSlice.md) = \['count' => [int](../types/int.md), 'dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.dialogsSlice](../constructors/messages.dialogsSlice.md) = \['count' => [int](../types/int.md), 'dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_messages](../constructors/messages_messages.md) = \['messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.messages](../constructors/messages.messages.md) = \['messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_messagesSlice](../constructors/messages_messagesSlice.md) = \['count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.messagesSlice](../constructors/messages.messagesSlice.md) = \['count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_sentEncryptedFile](../constructors/messages_sentEncryptedFile.md) = \['date' => [int](../types/int.md), 'file' => [EncryptedFile](../types/EncryptedFile.md), \]; +*** +

[$messages.sentEncryptedFile](../constructors/messages.sentEncryptedFile.md) = \['date' => [int](../types/int.md), 'file' => [EncryptedFile](../types/EncryptedFile.md), \]; -[$messages\_sentEncryptedMessage](../constructors/messages_sentEncryptedMessage.md) = \['date' => [int](../types/int.md), \]; +*** +

[$messages.sentEncryptedMessage](../constructors/messages.sentEncryptedMessage.md) = \['date' => [int](../types/int.md), \]; -[$messages\_stickerSet](../constructors/messages_stickerSet.md) = \['set' => [StickerSet](../types/StickerSet.md), 'packs' => \[[StickerPack](../types/StickerPack.md)\], 'documents' => \[[Document](../types/Document.md)\], \]; +*** +

[$messages.stickerSet](../constructors/messages.stickerSet.md) = \['set' => [StickerSet](../types/StickerSet.md), 'packs' => \[[StickerPack](../types/StickerPack.md)\], 'documents' => \[[Document](../types/Document.md)\], \]; -[$messages\_stickers](../constructors/messages_stickers.md) = \['hash' => [string](../types/string.md), 'stickers' => \[[Document](../types/Document.md)\], \]; +*** +

[$messages.stickers](../constructors/messages.stickers.md) = \['hash' => [string](../types/string.md), 'stickers' => \[[Document](../types/Document.md)\], \]; -[$messages\_stickersNotModified](../constructors/messages_stickersNotModified.md) = \[\]; +*** +

[$messages.stickersNotModified](../constructors/messages.stickersNotModified.md) = \[\]; ***

[$nearestDc](../constructors/nearestDc.md) = \['country' => [string](../types/string.md), 'this_dc' => [int](../types/int.md), 'nearest_dc' => [int](../types/int.md), \]; @@ -760,11 +802,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$photoSizeEmpty](../constructors/photoSizeEmpty.md) = \['type' => [string](../types/string.md), \]; *** -

[$photos\_photo](../constructors/photos_photo.md) = \['photo' => [Photo](../types/Photo.md), 'users' => \[[User](../types/User.md)\], \]; +

[$photos.photo](../constructors/photos.photo.md) = \['photo' => [Photo](../types/Photo.md), 'users' => \[[User](../types/User.md)\], \]; -[$photos\_photos](../constructors/photos_photos.md) = \['photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$photos.photos](../constructors/photos.photos.md) = \['photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$photos\_photosSlice](../constructors/photos_photosSlice.md) = \['count' => [int](../types/int.md), 'photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$photos.photosSlice](../constructors/photos.photosSlice.md) = \['count' => [int](../types/int.md), 'photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; ***

[$privacyKeyStatusTimestamp](../constructors/privacyKeyStatusTimestamp.md) = \[\]; @@ -836,25 +880,34 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$stickerSet](../constructors/stickerSet.md) = \['installed' => [Bool](../types/Bool.md), 'disabled' => [Bool](../types/Bool.md), 'official' => [Bool](../types/Bool.md), 'id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'title' => [string](../types/string.md), 'short_name' => [string](../types/string.md), 'count' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]; *** -

[$storage\_fileGif](../constructors/storage_fileGif.md) = \[\]; +

[$storage.fileGif](../constructors/storage.fileGif.md) = \[\]; -[$storage\_fileJpeg](../constructors/storage_fileJpeg.md) = \[\]; +*** +

[$storage.fileJpeg](../constructors/storage.fileJpeg.md) = \[\]; -[$storage\_fileMov](../constructors/storage_fileMov.md) = \[\]; +*** +

[$storage.fileMov](../constructors/storage.fileMov.md) = \[\]; -[$storage\_fileMp3](../constructors/storage_fileMp3.md) = \[\]; +*** +

[$storage.fileMp3](../constructors/storage.fileMp3.md) = \[\]; -[$storage\_fileMp4](../constructors/storage_fileMp4.md) = \[\]; +*** +

[$storage.fileMp4](../constructors/storage.fileMp4.md) = \[\]; -[$storage\_filePartial](../constructors/storage_filePartial.md) = \[\]; +*** +

[$storage.filePartial](../constructors/storage.filePartial.md) = \[\]; -[$storage\_filePdf](../constructors/storage_filePdf.md) = \[\]; +*** +

[$storage.filePdf](../constructors/storage.filePdf.md) = \[\]; -[$storage\_filePng](../constructors/storage_filePng.md) = \[\]; +*** +

[$storage.filePng](../constructors/storage.filePng.md) = \[\]; -[$storage\_fileUnknown](../constructors/storage_fileUnknown.md) = \[\]; +*** +

[$storage.fileUnknown](../constructors/storage.fileUnknown.md) = \[\]; -[$storage\_fileWebp](../constructors/storage_fileWebp.md) = \[\]; +*** +

[$storage.fileWebp](../constructors/storage.fileWebp.md) = \[\]; ***

[$true](../constructors/true.md) = \[\]; @@ -985,6 +1038,27 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ***

[$updates](../constructors/updates.md) = \['updates' => \[[Update](../types/Update.md)\], 'users' => \[[User](../types/User.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'date' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; +*** +

[$updates.channelDifference](../constructors/updates.channelDifference.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), 'new_messages' => \[[Message](../types/Message.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +*** +

[$updates.channelDifferenceEmpty](../constructors/updates.channelDifferenceEmpty.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), \]; + +*** +

[$updates.channelDifferenceTooLong](../constructors/updates.channelDifferenceTooLong.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), 'top_message' => [int](../types/int.md), 'top_important_message' => [int](../types/int.md), 'read_inbox_max_id' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), 'unread_important_count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +*** +

[$updates.difference](../constructors/updates.difference.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'state' => [updates.State](../types/updates.State.md), \]; + +*** +

[$updates.differenceEmpty](../constructors/updates.differenceEmpty.md) = \['date' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; + +*** +

[$updates.differenceSlice](../constructors/updates.differenceSlice.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'intermediate_state' => [updates.State](../types/updates.State.md), \]; + +*** +

[$updates.state](../constructors/updates.state.md) = \['pts' => [int](../types/int.md), 'qts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'seq' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), \]; + ***

[$updatesCombined](../constructors/updatesCombined.md) = \['updates' => \[[Update](../types/Update.md)\], 'users' => \[[User](../types/User.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'date' => [int](../types/int.md), 'seq_start' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; @@ -992,22 +1066,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$updatesTooLong](../constructors/updatesTooLong.md) = \[\]; *** -

[$updates\_channelDifference](../constructors/updates_channelDifference.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), 'new_messages' => \[[Message](../types/Message.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; - -[$updates\_channelDifferenceEmpty](../constructors/updates_channelDifferenceEmpty.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), \]; - -[$updates\_channelDifferenceTooLong](../constructors/updates_channelDifferenceTooLong.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), 'top_message' => [int](../types/int.md), 'top_important_message' => [int](../types/int.md), 'read_inbox_max_id' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), 'unread_important_count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; - -[$updates\_difference](../constructors/updates_difference.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'state' => [updates.State](../types/updates.State.md), \]; - -[$updates\_differenceEmpty](../constructors/updates_differenceEmpty.md) = \['date' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; - -[$updates\_differenceSlice](../constructors/updates_differenceSlice.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'intermediate_state' => [updates.State](../types/updates.State.md), \]; - -[$updates\_state](../constructors/updates_state.md) = \['pts' => [int](../types/int.md), 'qts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'seq' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), \]; - -*** -

[$upload\_file](../constructors/upload_file.md) = \['type' => [storage.FileType](../types/storage.FileType.md), 'mtime' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; +

[$upload.file](../constructors/upload.file.md) = \['type' => [storage.FileType](../types/storage.FileType.md), 'mtime' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; ***

[$user](../constructors/user.md) = \['self' => [Bool](../types/Bool.md), 'contact' => [Bool](../types/Bool.md), 'mutual_contact' => [Bool](../types/Bool.md), 'deleted' => [Bool](../types/Bool.md), 'bot' => [Bool](../types/Bool.md), 'bot_chat_history' => [Bool](../types/Bool.md), 'bot_nochats' => [Bool](../types/Bool.md), 'verified' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), 'username' => [string](../types/string.md), 'phone' => [string](../types/string.md), 'photo' => [UserProfilePhoto](../types/UserProfilePhoto.md), 'status' => [UserStatus](../types/UserStatus.md), 'bot_info_version' => [int](../types/int.md), \]; diff --git a/old_docs/API_docs_v41/constructors/account.authorizations.md b/old_docs/API_docs_v41/constructors/account.authorizations.md new file mode 100644 index 00000000..53c961f0 --- /dev/null +++ b/old_docs/API_docs_v41/constructors/account.authorizations.md @@ -0,0 +1,38 @@ +--- +title: account.authorizations +description: Logged-in sessions +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.authorizations +[Back to constructors index](index.md) + + + +Logged-in sessions + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|authorizations|Array of [Authorization](../types/Authorization.md) | Yes|Authorizations| + + + +### Type: [account.Authorizations](../types/account.Authorizations.md) + + +### Example: + +```php +$account.authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization, Authorization]]; +``` + + +Or, if you're into Lua: + +```lua +account.authorizations={_='account.authorizations', authorizations={Authorization}} + +``` + + diff --git a/old_docs/API_docs_v41/constructors/account.noPassword.md b/old_docs/API_docs_v41/constructors/account.noPassword.md new file mode 100644 index 00000000..4dcdc515 --- /dev/null +++ b/old_docs/API_docs_v41/constructors/account.noPassword.md @@ -0,0 +1,39 @@ +--- +title: account.noPassword +description: No password +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.noPassword +[Back to constructors index](index.md) + + + +No password + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|new\_salt|[bytes](../types/bytes.md) | Yes|New salt| +|email\_unconfirmed\_pattern|[string](../types/string.md) | Yes|Email unconfirmed pattern| + + + +### Type: [account.Password](../types/account.Password.md) + + +### Example: + +```php +$account.noPassword = ['_' => 'account.noPassword', 'new_salt' => 'bytes', 'email_unconfirmed_pattern' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +account.noPassword={_='account.noPassword', new_salt='bytes', email_unconfirmed_pattern='string'} + +``` + + diff --git a/old_docs/API_docs_v41/constructors/account.password.md b/old_docs/API_docs_v41/constructors/account.password.md new file mode 100644 index 00000000..9e86a73a --- /dev/null +++ b/old_docs/API_docs_v41/constructors/account.password.md @@ -0,0 +1,42 @@ +--- +title: account.password +description: Configuration for two-factor authorization +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.password +[Back to constructors index](index.md) + + + +Configuration for two-factor authorization + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|current\_salt|[bytes](../types/bytes.md) | Yes|Current salt| +|new\_salt|[bytes](../types/bytes.md) | Yes|New salt| +|hint|[string](../types/string.md) | Yes|Text hint for the password| +|has\_recovery|[Bool](../types/Bool.md) | Yes|Has recovery?| +|email\_unconfirmed\_pattern|[string](../types/string.md) | Yes|A [password recovery email](https://core.telegram.org/api/srp#email-verification) with the specified [pattern](https://core.telegram.org/api/pattern) is still awaiting verification| + + + +### Type: [account.Password](../types/account.Password.md) + + +### Example: + +```php +$account.password = ['_' => 'account.password', 'current_salt' => 'bytes', 'new_salt' => 'bytes', 'hint' => 'string', 'has_recovery' => Bool, 'email_unconfirmed_pattern' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +account.password={_='account.password', current_salt='bytes', new_salt='bytes', hint='string', has_recovery=Bool, email_unconfirmed_pattern='string'} + +``` + + diff --git a/old_docs/API_docs_v41/constructors/account.passwordInputSettings.md b/old_docs/API_docs_v41/constructors/account.passwordInputSettings.md new file mode 100644 index 00000000..c440115a --- /dev/null +++ b/old_docs/API_docs_v41/constructors/account.passwordInputSettings.md @@ -0,0 +1,41 @@ +--- +title: account.passwordInputSettings +description: Settings for setting up a new password +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.passwordInputSettings +[Back to constructors index](index.md) + + + +Settings for setting up a new password + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|new\_salt|[bytes](../types/bytes.md) | Optional|`$new_salt = $MadelineProto->account->getPassword()['new_salt'].$MadelineProto->random(8);`| +|new\_password\_hash|[bytes](../types/bytes.md) | Optional|The [computed password hash](https://core.telegram.org/api/srp)| +|hint|[string](../types/string.md) | Optional|Text hint for the password| +|email|[string](../types/string.md) | Optional|Password recovery email| + + + +### Type: [account.PasswordInputSettings](../types/account.PasswordInputSettings.md) + + +### Example: + +```php +$account.passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_salt' => 'bytes', 'new_password_hash' => 'bytes', 'hint' => 'string', 'email' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +account.passwordInputSettings={_='account.passwordInputSettings', new_salt='bytes', new_password_hash='bytes', hint='string', email='string'} + +``` + + diff --git a/old_docs/API_docs_v41/constructors/account.passwordSettings.md b/old_docs/API_docs_v41/constructors/account.passwordSettings.md new file mode 100644 index 00000000..be899d34 --- /dev/null +++ b/old_docs/API_docs_v41/constructors/account.passwordSettings.md @@ -0,0 +1,38 @@ +--- +title: account.passwordSettings +description: Private info associated to the password info (recovery email, telegram [passport](https://core.telegram.org/passport) info & so on) +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.passwordSettings +[Back to constructors index](index.md) + + + +Private info associated to the password info (recovery email, telegram [passport](https://core.telegram.org/passport) info & so on) + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|email|[string](../types/string.md) | Yes|[2FA Recovery email](https://core.telegram.org/api/srp#email-verification)| + + + +### Type: [account.PasswordSettings](../types/account.PasswordSettings.md) + + +### Example: + +```php +$account.passwordSettings = ['_' => 'account.passwordSettings', 'email' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +account.passwordSettings={_='account.passwordSettings', email='string'} + +``` + + diff --git a/old_docs/API_docs_v41/constructors/account.privacyRules.md b/old_docs/API_docs_v41/constructors/account.privacyRules.md new file mode 100644 index 00000000..7ae04abb --- /dev/null +++ b/old_docs/API_docs_v41/constructors/account.privacyRules.md @@ -0,0 +1,39 @@ +--- +title: account.privacyRules +description: Privacy rules +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.privacyRules +[Back to constructors index](index.md) + + + +Privacy rules + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|rules|Array of [PrivacyRule](../types/PrivacyRule.md) | Yes|Rules| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [account.PrivacyRules](../types/account.PrivacyRules.md) + + +### Example: + +```php +$account.privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule, PrivacyRule], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +account.privacyRules={_='account.privacyRules', rules={PrivacyRule}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v41/constructors/account.sentChangePhoneCode.md b/old_docs/API_docs_v41/constructors/account.sentChangePhoneCode.md new file mode 100644 index 00000000..119f6af6 --- /dev/null +++ b/old_docs/API_docs_v41/constructors/account.sentChangePhoneCode.md @@ -0,0 +1,39 @@ +--- +title: account.sentChangePhoneCode +description: Sent change phone code +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.sentChangePhoneCode +[Back to constructors index](index.md) + + + +Sent change phone code + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_code\_hash|[string](../types/string.md) | Yes|Phone code hash| +|send\_call\_timeout|[int](../types/int.md) | Yes|Send call timeout| + + + +### Type: [account.SentChangePhoneCode](../types/account.SentChangePhoneCode.md) + + +### Example: + +```php +$account.sentChangePhoneCode = ['_' => 'account.sentChangePhoneCode', 'phone_code_hash' => 'string', 'send_call_timeout' => int]; +``` + + +Or, if you're into Lua: + +```lua +account.sentChangePhoneCode={_='account.sentChangePhoneCode', phone_code_hash='string', send_call_timeout=int} + +``` + + diff --git a/old_docs/API_docs_v41/constructors/account_authorizations.md b/old_docs/API_docs_v41/constructors/account_authorizations.md deleted file mode 100644 index aeae48f3..00000000 --- a/old_docs/API_docs_v41/constructors/account_authorizations.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: account.authorizations -description: Logged-in sessions -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.authorizations -[Back to constructors index](index.md) - - - -Logged-in sessions - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|authorizations|Array of [Authorization](../types/Authorization.md) | Yes|Authorizations| - - - -### Type: [account\_Authorizations](../types/account_Authorizations.md) - - -### Example: - -```php -$account_authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization, Authorization]]; -``` - - -Or, if you're into Lua: - -```lua -account_authorizations={_='account.authorizations', authorizations={Authorization}} - -``` - - diff --git a/old_docs/API_docs_v41/constructors/account_noPassword.md b/old_docs/API_docs_v41/constructors/account_noPassword.md deleted file mode 100644 index 10ef7b2a..00000000 --- a/old_docs/API_docs_v41/constructors/account_noPassword.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: account.noPassword -description: No password -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.noPassword -[Back to constructors index](index.md) - - - -No password - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|new\_salt|[bytes](../types/bytes.md) | Yes|New salt| -|email\_unconfirmed\_pattern|[string](../types/string.md) | Yes|Email unconfirmed pattern| - - - -### Type: [account\_Password](../types/account_Password.md) - - -### Example: - -```php -$account_noPassword = ['_' => 'account.noPassword', 'new_salt' => 'bytes', 'email_unconfirmed_pattern' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -account_noPassword={_='account.noPassword', new_salt='bytes', email_unconfirmed_pattern='string'} - -``` - - diff --git a/old_docs/API_docs_v41/constructors/account_password.md b/old_docs/API_docs_v41/constructors/account_password.md deleted file mode 100644 index a9f512e8..00000000 --- a/old_docs/API_docs_v41/constructors/account_password.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: account.password -description: Configuration for two-factor authorization -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.password -[Back to constructors index](index.md) - - - -Configuration for two-factor authorization - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|current\_salt|[bytes](../types/bytes.md) | Yes|Current salt| -|new\_salt|[bytes](../types/bytes.md) | Yes|New salt| -|hint|[string](../types/string.md) | Yes|Text hint for the password| -|has\_recovery|[Bool](../types/Bool.md) | Yes|Has recovery?| -|email\_unconfirmed\_pattern|[string](../types/string.md) | Yes|A [password recovery email](https://core.telegram.org/api/srp#email-verification) with the specified [pattern](https://core.telegram.org/api/pattern) is still awaiting verification| - - - -### Type: [account\_Password](../types/account_Password.md) - - -### Example: - -```php -$account_password = ['_' => 'account.password', 'current_salt' => 'bytes', 'new_salt' => 'bytes', 'hint' => 'string', 'has_recovery' => Bool, 'email_unconfirmed_pattern' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -account_password={_='account.password', current_salt='bytes', new_salt='bytes', hint='string', has_recovery=Bool, email_unconfirmed_pattern='string'} - -``` - - diff --git a/old_docs/API_docs_v41/constructors/account_passwordInputSettings.md b/old_docs/API_docs_v41/constructors/account_passwordInputSettings.md deleted file mode 100644 index 05ec666b..00000000 --- a/old_docs/API_docs_v41/constructors/account_passwordInputSettings.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: account.passwordInputSettings -description: Settings for setting up a new password -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.passwordInputSettings -[Back to constructors index](index.md) - - - -Settings for setting up a new password - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|new\_salt|[bytes](../types/bytes.md) | Optional|`$new_salt = $MadelineProto->account->getPassword()['new_salt'].$MadelineProto->random(8);`| -|new\_password\_hash|[bytes](../types/bytes.md) | Optional|The [computed password hash](https://core.telegram.org/api/srp)| -|hint|[string](../types/string.md) | Optional|Text hint for the password| -|email|[string](../types/string.md) | Optional|Password recovery email| - - - -### Type: [account\_PasswordInputSettings](../types/account_PasswordInputSettings.md) - - -### Example: - -```php -$account_passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_salt' => 'bytes', 'new_password_hash' => 'bytes', 'hint' => 'string', 'email' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -account_passwordInputSettings={_='account.passwordInputSettings', new_salt='bytes', new_password_hash='bytes', hint='string', email='string'} - -``` - - diff --git a/old_docs/API_docs_v41/constructors/account_passwordSettings.md b/old_docs/API_docs_v41/constructors/account_passwordSettings.md deleted file mode 100644 index e22f9cc4..00000000 --- a/old_docs/API_docs_v41/constructors/account_passwordSettings.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: account.passwordSettings -description: Private info associated to the password info (recovery email, telegram [passport](https://core.telegram.org/passport) info & so on) -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.passwordSettings -[Back to constructors index](index.md) - - - -Private info associated to the password info (recovery email, telegram [passport](https://core.telegram.org/passport) info & so on) - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|email|[string](../types/string.md) | Yes|[2FA Recovery email](https://core.telegram.org/api/srp#email-verification)| - - - -### Type: [account\_PasswordSettings](../types/account_PasswordSettings.md) - - -### Example: - -```php -$account_passwordSettings = ['_' => 'account.passwordSettings', 'email' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -account_passwordSettings={_='account.passwordSettings', email='string'} - -``` - - diff --git a/old_docs/API_docs_v41/constructors/account_privacyRules.md b/old_docs/API_docs_v41/constructors/account_privacyRules.md deleted file mode 100644 index 28b260b7..00000000 --- a/old_docs/API_docs_v41/constructors/account_privacyRules.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: account.privacyRules -description: Privacy rules -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.privacyRules -[Back to constructors index](index.md) - - - -Privacy rules - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|rules|Array of [PrivacyRule](../types/PrivacyRule.md) | Yes|Rules| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [account\_PrivacyRules](../types/account_PrivacyRules.md) - - -### Example: - -```php -$account_privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule, PrivacyRule], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -account_privacyRules={_='account.privacyRules', rules={PrivacyRule}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v41/constructors/account_sentChangePhoneCode.md b/old_docs/API_docs_v41/constructors/account_sentChangePhoneCode.md deleted file mode 100644 index 052ce817..00000000 --- a/old_docs/API_docs_v41/constructors/account_sentChangePhoneCode.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: account.sentChangePhoneCode -description: Sent change phone code -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.sentChangePhoneCode -[Back to constructors index](index.md) - - - -Sent change phone code - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_code\_hash|[string](../types/string.md) | Yes|Phone code hash| -|send\_call\_timeout|[int](../types/int.md) | Yes|Send call timeout| - - - -### Type: [account\_SentChangePhoneCode](../types/account_SentChangePhoneCode.md) - - -### Example: - -```php -$account_sentChangePhoneCode = ['_' => 'account.sentChangePhoneCode', 'phone_code_hash' => 'string', 'send_call_timeout' => int]; -``` - - -Or, if you're into Lua: - -```lua -account_sentChangePhoneCode={_='account.sentChangePhoneCode', phone_code_hash='string', send_call_timeout=int} - -``` - - diff --git a/old_docs/API_docs_v41/constructors/auth.authorization.md b/old_docs/API_docs_v41/constructors/auth.authorization.md new file mode 100644 index 00000000..bd034fc5 --- /dev/null +++ b/old_docs/API_docs_v41/constructors/auth.authorization.md @@ -0,0 +1,38 @@ +--- +title: auth.authorization +description: Contains user authorization info. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.authorization +[Back to constructors index](index.md) + + + +Contains user authorization info. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|user|[User](../types/User.md) | Optional|Info on authorized user| + + + +### Type: [auth.Authorization](../types/auth.Authorization.md) + + +### Example: + +```php +$auth.authorization = ['_' => 'auth.authorization', 'user' => User]; +``` + + +Or, if you're into Lua: + +```lua +auth.authorization={_='auth.authorization', user=User} + +``` + + diff --git a/old_docs/API_docs_v41/constructors/auth.checkedPhone.md b/old_docs/API_docs_v41/constructors/auth.checkedPhone.md new file mode 100644 index 00000000..23e84cf9 --- /dev/null +++ b/old_docs/API_docs_v41/constructors/auth.checkedPhone.md @@ -0,0 +1,38 @@ +--- +title: auth.checkedPhone +description: Checked phone +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.checkedPhone +[Back to constructors index](index.md) + + + +Checked phone + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_registered|[Bool](../types/Bool.md) | Yes|Phone registered?| + + + +### Type: [auth.CheckedPhone](../types/auth.CheckedPhone.md) + + +### Example: + +```php +$auth.checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool]; +``` + + +Or, if you're into Lua: + +```lua +auth.checkedPhone={_='auth.checkedPhone', phone_registered=Bool} + +``` + + diff --git a/old_docs/API_docs_v41/constructors/auth.exportedAuthorization.md b/old_docs/API_docs_v41/constructors/auth.exportedAuthorization.md new file mode 100644 index 00000000..2a4a9896 --- /dev/null +++ b/old_docs/API_docs_v41/constructors/auth.exportedAuthorization.md @@ -0,0 +1,39 @@ +--- +title: auth.exportedAuthorization +description: Data for copying of authorization between data centres. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.exportedAuthorization +[Back to constructors index](index.md) + + + +Data for copying of authorization between data centres. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|id|[int](../types/int.md) | Yes|Current user identifier| +|bytes|[bytes](../types/bytes.md) | Yes|Authorizes key| + + + +### Type: [auth.ExportedAuthorization](../types/auth.ExportedAuthorization.md) + + +### Example: + +```php +$auth.exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +auth.exportedAuthorization={_='auth.exportedAuthorization', id=int, bytes='bytes'} + +``` + + diff --git a/old_docs/API_docs_v41/constructors/auth.passwordRecovery.md b/old_docs/API_docs_v41/constructors/auth.passwordRecovery.md new file mode 100644 index 00000000..61de922d --- /dev/null +++ b/old_docs/API_docs_v41/constructors/auth.passwordRecovery.md @@ -0,0 +1,38 @@ +--- +title: auth.passwordRecovery +description: Recovery info of a [2FA password](https://core.telegram.org/api/srp), only for accounts with a [recovery email configured](https://core.telegram.org/api/srp#email-verification). +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.passwordRecovery +[Back to constructors index](index.md) + + + +Recovery info of a [2FA password](https://core.telegram.org/api/srp), only for accounts with a [recovery email configured](https://core.telegram.org/api/srp#email-verification). + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|email\_pattern|[string](../types/string.md) | Yes|The email to which the recovery code was sent must match this [pattern](https://core.telegram.org/api/pattern).| + + + +### Type: [auth.PasswordRecovery](../types/auth.PasswordRecovery.md) + + +### Example: + +```php +$auth.passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +auth.passwordRecovery={_='auth.passwordRecovery', email_pattern='string'} + +``` + + diff --git a/old_docs/API_docs_v41/constructors/auth.sentAppCode.md b/old_docs/API_docs_v41/constructors/auth.sentAppCode.md new file mode 100644 index 00000000..e4cd5ef0 --- /dev/null +++ b/old_docs/API_docs_v41/constructors/auth.sentAppCode.md @@ -0,0 +1,41 @@ +--- +title: auth.sentAppCode +description: Sent app code +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentAppCode +[Back to constructors index](index.md) + + + +Sent app code + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_registered|[Bool](../types/Bool.md) | Yes|Phone registered?| +|phone\_code\_hash|[string](../types/string.md) | Yes|Phone code hash| +|send\_call\_timeout|[int](../types/int.md) | Yes|Send call timeout| +|is\_password|[Bool](../types/Bool.md) | Yes|Is password?| + + + +### Type: [auth.SentCode](../types/auth.SentCode.md) + + +### Example: + +```php +$auth.sentAppCode = ['_' => 'auth.sentAppCode', 'phone_registered' => Bool, 'phone_code_hash' => 'string', 'send_call_timeout' => int, 'is_password' => Bool]; +``` + + +Or, if you're into Lua: + +```lua +auth.sentAppCode={_='auth.sentAppCode', phone_registered=Bool, phone_code_hash='string', send_call_timeout=int, is_password=Bool} + +``` + + diff --git a/old_docs/API_docs_v41/constructors/auth.sentCode.md b/old_docs/API_docs_v41/constructors/auth.sentCode.md new file mode 100644 index 00000000..c81a8042 --- /dev/null +++ b/old_docs/API_docs_v41/constructors/auth.sentCode.md @@ -0,0 +1,41 @@ +--- +title: auth.sentCode +description: Contains info about a sent verification code. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentCode +[Back to constructors index](index.md) + + + +Contains info about a sent verification code. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_registered|[Bool](../types/Bool.md) | Yes|Phone registered?| +|phone\_code\_hash|[string](../types/string.md) | Yes|Phone code hash, to be stored and later re-used with [auth.signIn](../methods/auth.signIn.md)| +|send\_call\_timeout|[int](../types/int.md) | Yes|Send call timeout| +|is\_password|[Bool](../types/Bool.md) | Yes|Is password?| + + + +### Type: [auth.SentCode](../types/auth.SentCode.md) + + +### Example: + +```php +$auth.sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'phone_code_hash' => 'string', 'send_call_timeout' => int, 'is_password' => Bool]; +``` + + +Or, if you're into Lua: + +```lua +auth.sentCode={_='auth.sentCode', phone_registered=Bool, phone_code_hash='string', send_call_timeout=int, is_password=Bool} + +``` + + diff --git a/old_docs/API_docs_v41/constructors/auth_authorization.md b/old_docs/API_docs_v41/constructors/auth_authorization.md deleted file mode 100644 index 07d223a1..00000000 --- a/old_docs/API_docs_v41/constructors/auth_authorization.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.authorization -description: Contains user authorization info. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.authorization -[Back to constructors index](index.md) - - - -Contains user authorization info. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|user|[User](../types/User.md) | Optional|Info on authorized user| - - - -### Type: [auth\_Authorization](../types/auth_Authorization.md) - - -### Example: - -```php -$auth_authorization = ['_' => 'auth.authorization', 'user' => User]; -``` - - -Or, if you're into Lua: - -```lua -auth_authorization={_='auth.authorization', user=User} - -``` - - diff --git a/old_docs/API_docs_v41/constructors/auth_checkedPhone.md b/old_docs/API_docs_v41/constructors/auth_checkedPhone.md deleted file mode 100644 index c77becf6..00000000 --- a/old_docs/API_docs_v41/constructors/auth_checkedPhone.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.checkedPhone -description: Checked phone -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.checkedPhone -[Back to constructors index](index.md) - - - -Checked phone - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_registered|[Bool](../types/Bool.md) | Yes|Phone registered?| - - - -### Type: [auth\_CheckedPhone](../types/auth_CheckedPhone.md) - - -### Example: - -```php -$auth_checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool]; -``` - - -Or, if you're into Lua: - -```lua -auth_checkedPhone={_='auth.checkedPhone', phone_registered=Bool} - -``` - - diff --git a/old_docs/API_docs_v41/constructors/auth_exportedAuthorization.md b/old_docs/API_docs_v41/constructors/auth_exportedAuthorization.md deleted file mode 100644 index 8d18916e..00000000 --- a/old_docs/API_docs_v41/constructors/auth_exportedAuthorization.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: auth.exportedAuthorization -description: Data for copying of authorization between data centres. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.exportedAuthorization -[Back to constructors index](index.md) - - - -Data for copying of authorization between data centres. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|id|[int](../types/int.md) | Yes|Current user identifier| -|bytes|[bytes](../types/bytes.md) | Yes|Authorizes key| - - - -### Type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) - - -### Example: - -```php -$auth_exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -auth_exportedAuthorization={_='auth.exportedAuthorization', id=int, bytes='bytes'} - -``` - - diff --git a/old_docs/API_docs_v41/constructors/auth_passwordRecovery.md b/old_docs/API_docs_v41/constructors/auth_passwordRecovery.md deleted file mode 100644 index c40f375e..00000000 --- a/old_docs/API_docs_v41/constructors/auth_passwordRecovery.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.passwordRecovery -description: Recovery info of a [2FA password](https://core.telegram.org/api/srp), only for accounts with a [recovery email configured](https://core.telegram.org/api/srp#email-verification). -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.passwordRecovery -[Back to constructors index](index.md) - - - -Recovery info of a [2FA password](https://core.telegram.org/api/srp), only for accounts with a [recovery email configured](https://core.telegram.org/api/srp#email-verification). - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|email\_pattern|[string](../types/string.md) | Yes|The email to which the recovery code was sent must match this [pattern](https://core.telegram.org/api/pattern).| - - - -### Type: [auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) - - -### Example: - -```php -$auth_passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -auth_passwordRecovery={_='auth.passwordRecovery', email_pattern='string'} - -``` - - diff --git a/old_docs/API_docs_v41/constructors/auth_sentAppCode.md b/old_docs/API_docs_v41/constructors/auth_sentAppCode.md deleted file mode 100644 index f61b0eb9..00000000 --- a/old_docs/API_docs_v41/constructors/auth_sentAppCode.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: auth.sentAppCode -description: Sent app code -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentAppCode -[Back to constructors index](index.md) - - - -Sent app code - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_registered|[Bool](../types/Bool.md) | Yes|Phone registered?| -|phone\_code\_hash|[string](../types/string.md) | Yes|Phone code hash| -|send\_call\_timeout|[int](../types/int.md) | Yes|Send call timeout| -|is\_password|[Bool](../types/Bool.md) | Yes|Is password?| - - - -### Type: [auth\_SentCode](../types/auth_SentCode.md) - - -### Example: - -```php -$auth_sentAppCode = ['_' => 'auth.sentAppCode', 'phone_registered' => Bool, 'phone_code_hash' => 'string', 'send_call_timeout' => int, 'is_password' => Bool]; -``` - - -Or, if you're into Lua: - -```lua -auth_sentAppCode={_='auth.sentAppCode', phone_registered=Bool, phone_code_hash='string', send_call_timeout=int, is_password=Bool} - -``` - - diff --git a/old_docs/API_docs_v41/constructors/auth_sentCode.md b/old_docs/API_docs_v41/constructors/auth_sentCode.md deleted file mode 100644 index 28a9ac2f..00000000 --- a/old_docs/API_docs_v41/constructors/auth_sentCode.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: auth.sentCode -description: Contains info about a sent verification code. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentCode -[Back to constructors index](index.md) - - - -Contains info about a sent verification code. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_registered|[Bool](../types/Bool.md) | Yes|Phone registered?| -|phone\_code\_hash|[string](../types/string.md) | Yes|Phone code hash, to be stored and later re-used with [auth.signIn](../methods/auth.signIn.md)| -|send\_call\_timeout|[int](../types/int.md) | Yes|Send call timeout| -|is\_password|[Bool](../types/Bool.md) | Yes|Is password?| - - - -### Type: [auth\_SentCode](../types/auth_SentCode.md) - - -### Example: - -```php -$auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'phone_code_hash' => 'string', 'send_call_timeout' => int, 'is_password' => Bool]; -``` - - -Or, if you're into Lua: - -```lua -auth_sentCode={_='auth.sentCode', phone_registered=Bool, phone_code_hash='string', send_call_timeout=int, is_password=Bool} - -``` - - diff --git a/old_docs/API_docs_v41/constructors/channels.channelParticipant.md b/old_docs/API_docs_v41/constructors/channels.channelParticipant.md new file mode 100644 index 00000000..0f09777f --- /dev/null +++ b/old_docs/API_docs_v41/constructors/channels.channelParticipant.md @@ -0,0 +1,39 @@ +--- +title: channels.channelParticipant +description: Represents a channel participant +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: channels.channelParticipant +[Back to constructors index](index.md) + + + +Represents a channel participant + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|participant|[ChannelParticipant](../types/ChannelParticipant.md) | Yes|The channel participant| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [channels.ChannelParticipant](../types/channels.ChannelParticipant.md) + + +### Example: + +```php +$channels.channelParticipant = ['_' => 'channels.channelParticipant', 'participant' => ChannelParticipant, 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +channels.channelParticipant={_='channels.channelParticipant', participant=ChannelParticipant, users={User}} + +``` + + diff --git a/old_docs/API_docs_v41/constructors/channels.channelParticipants.md b/old_docs/API_docs_v41/constructors/channels.channelParticipants.md new file mode 100644 index 00000000..6ee1a8b3 --- /dev/null +++ b/old_docs/API_docs_v41/constructors/channels.channelParticipants.md @@ -0,0 +1,40 @@ +--- +title: channels.channelParticipants +description: Represents multiple channel participants +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: channels.channelParticipants +[Back to constructors index](index.md) + + + +Represents multiple channel participants + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of participants that correspond to the given query| +|participants|Array of [ChannelParticipant](../types/ChannelParticipant.md) | Yes|Participants| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [channels.ChannelParticipants](../types/channels.ChannelParticipants.md) + + +### Example: + +```php +$channels.channelParticipants = ['_' => 'channels.channelParticipants', 'count' => int, 'participants' => [ChannelParticipant, ChannelParticipant], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +channels.channelParticipants={_='channels.channelParticipants', count=int, participants={ChannelParticipant}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v41/constructors/channels_channelParticipant.md b/old_docs/API_docs_v41/constructors/channels_channelParticipant.md deleted file mode 100644 index 15fe46a4..00000000 --- a/old_docs/API_docs_v41/constructors/channels_channelParticipant.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: channels.channelParticipant -description: Represents a channel participant -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: channels.channelParticipant -[Back to constructors index](index.md) - - - -Represents a channel participant - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|participant|[ChannelParticipant](../types/ChannelParticipant.md) | Yes|The channel participant| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [channels\_ChannelParticipant](../types/channels_ChannelParticipant.md) - - -### Example: - -```php -$channels_channelParticipant = ['_' => 'channels.channelParticipant', 'participant' => ChannelParticipant, 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -channels_channelParticipant={_='channels.channelParticipant', participant=ChannelParticipant, users={User}} - -``` - - diff --git a/old_docs/API_docs_v41/constructors/channels_channelParticipants.md b/old_docs/API_docs_v41/constructors/channels_channelParticipants.md deleted file mode 100644 index 1848a04f..00000000 --- a/old_docs/API_docs_v41/constructors/channels_channelParticipants.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: channels.channelParticipants -description: Represents multiple channel participants -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: channels.channelParticipants -[Back to constructors index](index.md) - - - -Represents multiple channel participants - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of participants that correspond to the given query| -|participants|Array of [ChannelParticipant](../types/ChannelParticipant.md) | Yes|Participants| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [channels\_ChannelParticipants](../types/channels_ChannelParticipants.md) - - -### Example: - -```php -$channels_channelParticipants = ['_' => 'channels.channelParticipants', 'count' => int, 'participants' => [ChannelParticipant, ChannelParticipant], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -channels_channelParticipants={_='channels.channelParticipants', count=int, participants={ChannelParticipant}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v41/constructors/contacts.blocked.md b/old_docs/API_docs_v41/constructors/contacts.blocked.md new file mode 100644 index 00000000..d2b3f680 --- /dev/null +++ b/old_docs/API_docs_v41/constructors/contacts.blocked.md @@ -0,0 +1,39 @@ +--- +title: contacts.blocked +description: Full list of blocked users. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.blocked +[Back to constructors index](index.md) + + + +Full list of blocked users. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Blocked](../types/contacts.Blocked.md) + + +### Example: + +```php +$contacts.blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.blocked={_='contacts.blocked', blocked={ContactBlocked}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v41/constructors/contacts.blockedSlice.md b/old_docs/API_docs_v41/constructors/contacts.blockedSlice.md new file mode 100644 index 00000000..92d19c72 --- /dev/null +++ b/old_docs/API_docs_v41/constructors/contacts.blockedSlice.md @@ -0,0 +1,40 @@ +--- +title: contacts.blockedSlice +description: Incomplete list of blocked users. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.blockedSlice +[Back to constructors index](index.md) + + + +Incomplete list of blocked users. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of elements in the list| +|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Blocked](../types/contacts.Blocked.md) + + +### Example: + +```php +$contacts.blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.blockedSlice={_='contacts.blockedSlice', count=int, blocked={ContactBlocked}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v41/constructors/contacts.contacts.md b/old_docs/API_docs_v41/constructors/contacts.contacts.md new file mode 100644 index 00000000..d4ccc018 --- /dev/null +++ b/old_docs/API_docs_v41/constructors/contacts.contacts.md @@ -0,0 +1,39 @@ +--- +title: contacts.contacts +description: The current user's contact list and info on users. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.contacts +[Back to constructors index](index.md) + + + +The current user's contact list and info on users. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|contacts|Array of [Contact](../types/Contact.md) | Yes|Contacts| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Contacts](../types/contacts.Contacts.md) + + +### Example: + +```php +$contacts.contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact, Contact], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.contacts={_='contacts.contacts', contacts={Contact}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v41/constructors/contacts.contactsNotModified.md b/old_docs/API_docs_v41/constructors/contacts.contactsNotModified.md new file mode 100644 index 00000000..e2149396 --- /dev/null +++ b/old_docs/API_docs_v41/constructors/contacts.contactsNotModified.md @@ -0,0 +1,33 @@ +--- +title: contacts.contactsNotModified +description: Contact list on the server is the same as the list on the client. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.contactsNotModified +[Back to constructors index](index.md) + + + +Contact list on the server is the same as the list on the client. + + + + +### Type: [contacts.Contacts](../types/contacts.Contacts.md) + + +### Example: + +```php +$contacts.contactsNotModified = ['_' => 'contacts.contactsNotModified']; +``` + + +Or, if you're into Lua: + +```lua +contacts.contactsNotModified={_='contacts.contactsNotModified'} + +``` + + diff --git a/old_docs/API_docs_v41/constructors/contacts.found.md b/old_docs/API_docs_v41/constructors/contacts.found.md new file mode 100644 index 00000000..1eaa93b7 --- /dev/null +++ b/old_docs/API_docs_v41/constructors/contacts.found.md @@ -0,0 +1,40 @@ +--- +title: contacts.found +description: Users found by name substring and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.found +[Back to constructors index](index.md) + + + +Users found by name substring and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|results|Array of [Peer](../types/Peer.md) | Yes|Results| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Found](../types/contacts.Found.md) + + +### Example: + +```php +$contacts.found = ['_' => 'contacts.found', 'results' => [Peer, Peer], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.found={_='contacts.found', results={Peer}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v41/constructors/contacts.importedContacts.md b/old_docs/API_docs_v41/constructors/contacts.importedContacts.md new file mode 100644 index 00000000..1cbff59a --- /dev/null +++ b/old_docs/API_docs_v41/constructors/contacts.importedContacts.md @@ -0,0 +1,40 @@ +--- +title: contacts.importedContacts +description: Info on succesfully imported contacts. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.importedContacts +[Back to constructors index](index.md) + + + +Info on succesfully imported contacts. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|imported|Array of [ImportedContact](../types/ImportedContact.md) | Yes|Imported| +|retry\_contacts|Array of [long](../types/long.md) | Yes|Retry importing contacts whose client IDs appear here| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.ImportedContacts](../types/contacts.ImportedContacts.md) + + +### Example: + +```php +$contacts.importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact, ImportedContact], 'retry_contacts' => [long, long], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.importedContacts={_='contacts.importedContacts', imported={ImportedContact}, retry_contacts={long}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v41/constructors/contacts.link.md b/old_docs/API_docs_v41/constructors/contacts.link.md new file mode 100644 index 00000000..ab150a0d --- /dev/null +++ b/old_docs/API_docs_v41/constructors/contacts.link.md @@ -0,0 +1,40 @@ +--- +title: contacts.link +description: Link +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.link +[Back to constructors index](index.md) + + + +Link + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|my\_link|[ContactLink](../types/ContactLink.md) | Yes|My link| +|foreign\_link|[ContactLink](../types/ContactLink.md) | Yes|Foreign link| +|user|[User](../types/User.md) | Optional|User| + + + +### Type: [contacts.Link](../types/contacts.Link.md) + + +### Example: + +```php +$contacts.link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User]; +``` + + +Or, if you're into Lua: + +```lua +contacts.link={_='contacts.link', my_link=ContactLink, foreign_link=ContactLink, user=User} + +``` + + diff --git a/old_docs/API_docs_v41/constructors/contacts.resolvedPeer.md b/old_docs/API_docs_v41/constructors/contacts.resolvedPeer.md new file mode 100644 index 00000000..35d88481 --- /dev/null +++ b/old_docs/API_docs_v41/constructors/contacts.resolvedPeer.md @@ -0,0 +1,40 @@ +--- +title: contacts.resolvedPeer +description: Resolved peer +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.resolvedPeer +[Back to constructors index](index.md) + + + +Resolved peer + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|peer|[Peer](../types/Peer.md) | Yes|The peer| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.ResolvedPeer](../types/contacts.ResolvedPeer.md) + + +### Example: + +```php +$contacts.resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.resolvedPeer={_='contacts.resolvedPeer', peer=Peer, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v41/constructors/contacts.suggested.md b/old_docs/API_docs_v41/constructors/contacts.suggested.md new file mode 100644 index 00000000..b9a56bec --- /dev/null +++ b/old_docs/API_docs_v41/constructors/contacts.suggested.md @@ -0,0 +1,39 @@ +--- +title: contacts.suggested +description: Suggested +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.suggested +[Back to constructors index](index.md) + + + +Suggested + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|results|Array of [ContactSuggested](../types/ContactSuggested.md) | Yes|Results| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Suggested](../types/contacts.Suggested.md) + + +### Example: + +```php +$contacts.suggested = ['_' => 'contacts.suggested', 'results' => [ContactSuggested, ContactSuggested], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.suggested={_='contacts.suggested', results={ContactSuggested}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v41/constructors/contacts_blocked.md b/old_docs/API_docs_v41/constructors/contacts_blocked.md deleted file mode 100644 index 20e33002..00000000 --- a/old_docs/API_docs_v41/constructors/contacts_blocked.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: contacts.blocked -description: Full list of blocked users. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.blocked -[Back to constructors index](index.md) - - - -Full list of blocked users. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Blocked](../types/contacts_Blocked.md) - - -### Example: - -```php -$contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_blocked={_='contacts.blocked', blocked={ContactBlocked}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v41/constructors/contacts_blockedSlice.md b/old_docs/API_docs_v41/constructors/contacts_blockedSlice.md deleted file mode 100644 index fcab9a28..00000000 --- a/old_docs/API_docs_v41/constructors/contacts_blockedSlice.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.blockedSlice -description: Incomplete list of blocked users. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.blockedSlice -[Back to constructors index](index.md) - - - -Incomplete list of blocked users. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of elements in the list| -|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Blocked](../types/contacts_Blocked.md) - - -### Example: - -```php -$contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_blockedSlice={_='contacts.blockedSlice', count=int, blocked={ContactBlocked}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v41/constructors/contacts_contacts.md b/old_docs/API_docs_v41/constructors/contacts_contacts.md deleted file mode 100644 index f101b34b..00000000 --- a/old_docs/API_docs_v41/constructors/contacts_contacts.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: contacts.contacts -description: The current user's contact list and info on users. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.contacts -[Back to constructors index](index.md) - - - -The current user's contact list and info on users. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|contacts|Array of [Contact](../types/Contact.md) | Yes|Contacts| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Contacts](../types/contacts_Contacts.md) - - -### Example: - -```php -$contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact, Contact], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_contacts={_='contacts.contacts', contacts={Contact}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v41/constructors/contacts_contactsNotModified.md b/old_docs/API_docs_v41/constructors/contacts_contactsNotModified.md deleted file mode 100644 index 17e76ac3..00000000 --- a/old_docs/API_docs_v41/constructors/contacts_contactsNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: contacts.contactsNotModified -description: Contact list on the server is the same as the list on the client. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.contactsNotModified -[Back to constructors index](index.md) - - - -Contact list on the server is the same as the list on the client. - - - - -### Type: [contacts\_Contacts](../types/contacts_Contacts.md) - - -### Example: - -```php -$contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified']; -``` - - -Or, if you're into Lua: - -```lua -contacts_contactsNotModified={_='contacts.contactsNotModified'} - -``` - - diff --git a/old_docs/API_docs_v41/constructors/contacts_found.md b/old_docs/API_docs_v41/constructors/contacts_found.md deleted file mode 100644 index 0674aabf..00000000 --- a/old_docs/API_docs_v41/constructors/contacts_found.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.found -description: Users found by name substring and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.found -[Back to constructors index](index.md) - - - -Users found by name substring and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|results|Array of [Peer](../types/Peer.md) | Yes|Results| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Found](../types/contacts_Found.md) - - -### Example: - -```php -$contacts_found = ['_' => 'contacts.found', 'results' => [Peer, Peer], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_found={_='contacts.found', results={Peer}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v41/constructors/contacts_importedContacts.md b/old_docs/API_docs_v41/constructors/contacts_importedContacts.md deleted file mode 100644 index 121d96d1..00000000 --- a/old_docs/API_docs_v41/constructors/contacts_importedContacts.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.importedContacts -description: Info on succesfully imported contacts. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.importedContacts -[Back to constructors index](index.md) - - - -Info on succesfully imported contacts. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|imported|Array of [ImportedContact](../types/ImportedContact.md) | Yes|Imported| -|retry\_contacts|Array of [long](../types/long.md) | Yes|Retry importing contacts whose client IDs appear here| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) - - -### Example: - -```php -$contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact, ImportedContact], 'retry_contacts' => [long, long], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_importedContacts={_='contacts.importedContacts', imported={ImportedContact}, retry_contacts={long}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v41/constructors/contacts_link.md b/old_docs/API_docs_v41/constructors/contacts_link.md deleted file mode 100644 index cfc566c7..00000000 --- a/old_docs/API_docs_v41/constructors/contacts_link.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.link -description: Link -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.link -[Back to constructors index](index.md) - - - -Link - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|my\_link|[ContactLink](../types/ContactLink.md) | Yes|My link| -|foreign\_link|[ContactLink](../types/ContactLink.md) | Yes|Foreign link| -|user|[User](../types/User.md) | Optional|User| - - - -### Type: [contacts\_Link](../types/contacts_Link.md) - - -### Example: - -```php -$contacts_link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User]; -``` - - -Or, if you're into Lua: - -```lua -contacts_link={_='contacts.link', my_link=ContactLink, foreign_link=ContactLink, user=User} - -``` - - diff --git a/old_docs/API_docs_v41/constructors/contacts_resolvedPeer.md b/old_docs/API_docs_v41/constructors/contacts_resolvedPeer.md deleted file mode 100644 index aae3c7af..00000000 --- a/old_docs/API_docs_v41/constructors/contacts_resolvedPeer.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.resolvedPeer -description: Resolved peer -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.resolvedPeer -[Back to constructors index](index.md) - - - -Resolved peer - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|peer|[Peer](../types/Peer.md) | Yes|The peer| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_ResolvedPeer](../types/contacts_ResolvedPeer.md) - - -### Example: - -```php -$contacts_resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_resolvedPeer={_='contacts.resolvedPeer', peer=Peer, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v41/constructors/contacts_suggested.md b/old_docs/API_docs_v41/constructors/contacts_suggested.md deleted file mode 100644 index 9bdba0b7..00000000 --- a/old_docs/API_docs_v41/constructors/contacts_suggested.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: contacts.suggested -description: Suggested -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.suggested -[Back to constructors index](index.md) - - - -Suggested - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|results|Array of [ContactSuggested](../types/ContactSuggested.md) | Yes|Results| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Suggested](../types/contacts_Suggested.md) - - -### Example: - -```php -$contacts_suggested = ['_' => 'contacts.suggested', 'results' => [ContactSuggested, ContactSuggested], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_suggested={_='contacts.suggested', results={ContactSuggested}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v41/constructors/help.appChangelog.md b/old_docs/API_docs_v41/constructors/help.appChangelog.md new file mode 100644 index 00000000..dec6b96c --- /dev/null +++ b/old_docs/API_docs_v41/constructors/help.appChangelog.md @@ -0,0 +1,38 @@ +--- +title: help.appChangelog +description: App changelog +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.appChangelog +[Back to constructors index](index.md) + + + +App changelog + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|text|[string](../types/string.md) | Yes|Text| + + + +### Type: [help.AppChangelog](../types/help.AppChangelog.md) + + +### Example: + +```php +$help.appChangelog = ['_' => 'help.appChangelog', 'text' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +help.appChangelog={_='help.appChangelog', text='string'} + +``` + + diff --git a/old_docs/API_docs_v41/constructors/help.appChangelogEmpty.md b/old_docs/API_docs_v41/constructors/help.appChangelogEmpty.md new file mode 100644 index 00000000..6ecb71af --- /dev/null +++ b/old_docs/API_docs_v41/constructors/help.appChangelogEmpty.md @@ -0,0 +1,33 @@ +--- +title: help.appChangelogEmpty +description: Empty app changelog +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.appChangelogEmpty +[Back to constructors index](index.md) + + + +Empty app changelog + + + + +### Type: [help.AppChangelog](../types/help.AppChangelog.md) + + +### Example: + +```php +$help.appChangelogEmpty = ['_' => 'help.appChangelogEmpty']; +``` + + +Or, if you're into Lua: + +```lua +help.appChangelogEmpty={_='help.appChangelogEmpty'} + +``` + + diff --git a/old_docs/API_docs_v41/constructors/help.appUpdate.md b/old_docs/API_docs_v41/constructors/help.appUpdate.md new file mode 100644 index 00000000..14b2d75b --- /dev/null +++ b/old_docs/API_docs_v41/constructors/help.appUpdate.md @@ -0,0 +1,41 @@ +--- +title: help.appUpdate +description: An update is available for the application. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.appUpdate +[Back to constructors index](index.md) + + + +An update is available for the application. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|id|[int](../types/int.md) | Yes|Update ID| +|critical|[Bool](../types/Bool.md) | Yes|Critical?| +|url|[string](../types/string.md) | Yes|Application download URL| +|text|[string](../types/string.md) | Yes|Text description of the update| + + + +### Type: [help.AppUpdate](../types/help.AppUpdate.md) + + +### Example: + +```php +$help.appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'url' => 'string', 'text' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +help.appUpdate={_='help.appUpdate', id=int, critical=Bool, url='string', text='string'} + +``` + + diff --git a/old_docs/API_docs_v41/constructors/help.inviteText.md b/old_docs/API_docs_v41/constructors/help.inviteText.md new file mode 100644 index 00000000..6a6261c1 --- /dev/null +++ b/old_docs/API_docs_v41/constructors/help.inviteText.md @@ -0,0 +1,38 @@ +--- +title: help.inviteText +description: Text of a text message with an invitation to install application. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.inviteText +[Back to constructors index](index.md) + + + +Text of a text message with an invitation to install application. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|message|[string](../types/string.md) | Yes|Text of a message| + + + +### Type: [help.InviteText](../types/help.InviteText.md) + + +### Example: + +```php +$help.inviteText = ['_' => 'help.inviteText', 'message' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +help.inviteText={_='help.inviteText', message='string'} + +``` + + diff --git a/old_docs/API_docs_v41/constructors/help.noAppUpdate.md b/old_docs/API_docs_v41/constructors/help.noAppUpdate.md new file mode 100644 index 00000000..1b69ac9a --- /dev/null +++ b/old_docs/API_docs_v41/constructors/help.noAppUpdate.md @@ -0,0 +1,33 @@ +--- +title: help.noAppUpdate +description: No updates are available for the application. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.noAppUpdate +[Back to constructors index](index.md) + + + +No updates are available for the application. + + + + +### Type: [help.AppUpdate](../types/help.AppUpdate.md) + + +### Example: + +```php +$help.noAppUpdate = ['_' => 'help.noAppUpdate']; +``` + + +Or, if you're into Lua: + +```lua +help.noAppUpdate={_='help.noAppUpdate'} + +``` + + diff --git a/old_docs/API_docs_v41/constructors/help.support.md b/old_docs/API_docs_v41/constructors/help.support.md new file mode 100644 index 00000000..4d4f85fb --- /dev/null +++ b/old_docs/API_docs_v41/constructors/help.support.md @@ -0,0 +1,39 @@ +--- +title: help.support +description: Info on support user. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.support +[Back to constructors index](index.md) + + + +Info on support user. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_number|[string](../types/string.md) | Yes|Phone number| +|user|[User](../types/User.md) | Optional|User| + + + +### Type: [help.Support](../types/help.Support.md) + + +### Example: + +```php +$help.support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => User]; +``` + + +Or, if you're into Lua: + +```lua +help.support={_='help.support', phone_number='string', user=User} + +``` + + diff --git a/old_docs/API_docs_v41/constructors/help_appChangelog.md b/old_docs/API_docs_v41/constructors/help_appChangelog.md deleted file mode 100644 index 793a8fc4..00000000 --- a/old_docs/API_docs_v41/constructors/help_appChangelog.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: help.appChangelog -description: App changelog -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.appChangelog -[Back to constructors index](index.md) - - - -App changelog - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|text|[string](../types/string.md) | Yes|Text| - - - -### Type: [help\_AppChangelog](../types/help_AppChangelog.md) - - -### Example: - -```php -$help_appChangelog = ['_' => 'help.appChangelog', 'text' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -help_appChangelog={_='help.appChangelog', text='string'} - -``` - - diff --git a/old_docs/API_docs_v41/constructors/help_appChangelogEmpty.md b/old_docs/API_docs_v41/constructors/help_appChangelogEmpty.md deleted file mode 100644 index 62a195bb..00000000 --- a/old_docs/API_docs_v41/constructors/help_appChangelogEmpty.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: help.appChangelogEmpty -description: Empty app changelog -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.appChangelogEmpty -[Back to constructors index](index.md) - - - -Empty app changelog - - - - -### Type: [help\_AppChangelog](../types/help_AppChangelog.md) - - -### Example: - -```php -$help_appChangelogEmpty = ['_' => 'help.appChangelogEmpty']; -``` - - -Or, if you're into Lua: - -```lua -help_appChangelogEmpty={_='help.appChangelogEmpty'} - -``` - - diff --git a/old_docs/API_docs_v41/constructors/help_appUpdate.md b/old_docs/API_docs_v41/constructors/help_appUpdate.md deleted file mode 100644 index efba9bdb..00000000 --- a/old_docs/API_docs_v41/constructors/help_appUpdate.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: help.appUpdate -description: An update is available for the application. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.appUpdate -[Back to constructors index](index.md) - - - -An update is available for the application. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|id|[int](../types/int.md) | Yes|Update ID| -|critical|[Bool](../types/Bool.md) | Yes|Critical?| -|url|[string](../types/string.md) | Yes|Application download URL| -|text|[string](../types/string.md) | Yes|Text description of the update| - - - -### Type: [help\_AppUpdate](../types/help_AppUpdate.md) - - -### Example: - -```php -$help_appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'url' => 'string', 'text' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -help_appUpdate={_='help.appUpdate', id=int, critical=Bool, url='string', text='string'} - -``` - - diff --git a/old_docs/API_docs_v41/constructors/help_inviteText.md b/old_docs/API_docs_v41/constructors/help_inviteText.md deleted file mode 100644 index b8317ce3..00000000 --- a/old_docs/API_docs_v41/constructors/help_inviteText.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: help.inviteText -description: Text of a text message with an invitation to install application. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.inviteText -[Back to constructors index](index.md) - - - -Text of a text message with an invitation to install application. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|message|[string](../types/string.md) | Yes|Text of a message| - - - -### Type: [help\_InviteText](../types/help_InviteText.md) - - -### Example: - -```php -$help_inviteText = ['_' => 'help.inviteText', 'message' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -help_inviteText={_='help.inviteText', message='string'} - -``` - - diff --git a/old_docs/API_docs_v41/constructors/help_noAppUpdate.md b/old_docs/API_docs_v41/constructors/help_noAppUpdate.md deleted file mode 100644 index 51505e52..00000000 --- a/old_docs/API_docs_v41/constructors/help_noAppUpdate.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: help.noAppUpdate -description: No updates are available for the application. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.noAppUpdate -[Back to constructors index](index.md) - - - -No updates are available for the application. - - - - -### Type: [help\_AppUpdate](../types/help_AppUpdate.md) - - -### Example: - -```php -$help_noAppUpdate = ['_' => 'help.noAppUpdate']; -``` - - -Or, if you're into Lua: - -```lua -help_noAppUpdate={_='help.noAppUpdate'} - -``` - - diff --git a/old_docs/API_docs_v41/constructors/help_support.md b/old_docs/API_docs_v41/constructors/help_support.md deleted file mode 100644 index 148f7f42..00000000 --- a/old_docs/API_docs_v41/constructors/help_support.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: help.support -description: Info on support user. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.support -[Back to constructors index](index.md) - - - -Info on support user. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_number|[string](../types/string.md) | Yes|Phone number| -|user|[User](../types/User.md) | Optional|User| - - - -### Type: [help\_Support](../types/help_Support.md) - - -### Example: - -```php -$help_support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => User]; -``` - - -Or, if you're into Lua: - -```lua -help_support={_='help.support', phone_number='string', user=User} - -``` - - diff --git a/old_docs/API_docs_v41/constructors/messages.affectedHistory.md b/old_docs/API_docs_v41/constructors/messages.affectedHistory.md new file mode 100644 index 00000000..5fc8acec --- /dev/null +++ b/old_docs/API_docs_v41/constructors/messages.affectedHistory.md @@ -0,0 +1,40 @@ +--- +title: messages.affectedHistory +description: Affected part of communication history with the user or in a chat. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.affectedHistory +[Back to constructors index](index.md) + + + +Affected part of communication history with the user or in a chat. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| +|pts\_count|[int](../types/int.md) | Yes|Number of affected events| +|offset|[int](../types/int.md) | Yes|If a parameter contains positive value, it is necessary to repeat the method call using the given value; during the proceeding of all the history the value itself shall gradually decrease| + + + +### Type: [messages.AffectedHistory](../types/messages.AffectedHistory.md) + + +### Example: + +```php +$messages.affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.affectedHistory={_='messages.affectedHistory', pts=int, pts_count=int, offset=int} + +``` + + diff --git a/old_docs/API_docs_v41/constructors/messages.affectedMessages.md b/old_docs/API_docs_v41/constructors/messages.affectedMessages.md new file mode 100644 index 00000000..a0e60bdf --- /dev/null +++ b/old_docs/API_docs_v41/constructors/messages.affectedMessages.md @@ -0,0 +1,39 @@ +--- +title: messages.affectedMessages +description: Events affected by operation +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.affectedMessages +[Back to constructors index](index.md) + + + +Events affected by operation + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|[Event count after generation](https://core.telegram.org/api/updates)| +|pts\_count|[int](../types/int.md) | Yes|[Number of events that were generated](https://core.telegram.org/api/updates)| + + + +### Type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) + + +### Example: + +```php +$messages.affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.affectedMessages={_='messages.affectedMessages', pts=int, pts_count=int} + +``` + + diff --git a/old_docs/API_docs_v41/constructors/messages.allStickers.md b/old_docs/API_docs_v41/constructors/messages.allStickers.md new file mode 100644 index 00000000..2f9cc6e8 --- /dev/null +++ b/old_docs/API_docs_v41/constructors/messages.allStickers.md @@ -0,0 +1,39 @@ +--- +title: messages.allStickers +description: Info about all installed stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.allStickers +[Back to constructors index](index.md) + + + +Info about all installed stickers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[string](../types/string.md) | Yes|Hash| +|sets|Array of [StickerSet](../types/StickerSet.md) | Yes|Sets| + + + +### Type: [messages.AllStickers](../types/messages.AllStickers.md) + + +### Example: + +```php +$messages.allStickers = ['_' => 'messages.allStickers', 'hash' => 'string', 'sets' => [StickerSet, StickerSet]]; +``` + + +Or, if you're into Lua: + +```lua +messages.allStickers={_='messages.allStickers', hash='string', sets={StickerSet}} + +``` + + diff --git a/old_docs/API_docs_v41/constructors/messages.allStickersNotModified.md b/old_docs/API_docs_v41/constructors/messages.allStickersNotModified.md new file mode 100644 index 00000000..d3db088b --- /dev/null +++ b/old_docs/API_docs_v41/constructors/messages.allStickersNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.allStickersNotModified +description: Info about all installed stickers hasn't changed +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.allStickersNotModified +[Back to constructors index](index.md) + + + +Info about all installed stickers hasn't changed + + + + +### Type: [messages.AllStickers](../types/messages.AllStickers.md) + + +### Example: + +```php +$messages.allStickersNotModified = ['_' => 'messages.allStickersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.allStickersNotModified={_='messages.allStickersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v41/constructors/messages.channelMessages.md b/old_docs/API_docs_v41/constructors/messages.channelMessages.md new file mode 100644 index 00000000..26b60293 --- /dev/null +++ b/old_docs/API_docs_v41/constructors/messages.channelMessages.md @@ -0,0 +1,43 @@ +--- +title: messages.channelMessages +description: Channel messages +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.channelMessages +[Back to constructors index](index.md) + + + +Channel messages + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|[Event count after generation](https://core.telegram.org/api/updates)| +|count|[int](../types/int.md) | Yes|Total number of results were found server-side (may not be all included here)| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|collapsed|Array of [MessageGroup](../types/MessageGroup.md) | Optional|Collapsed| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Messages](../types/messages.Messages.md) + + +### Example: + +```php +$messages.channelMessages = ['_' => 'messages.channelMessages', 'pts' => int, 'count' => int, 'messages' => [Message, Message], 'collapsed' => [MessageGroup, MessageGroup], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.channelMessages={_='messages.channelMessages', pts=int, count=int, messages={Message}, collapsed={MessageGroup}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v41/constructors/messages.chatFull.md b/old_docs/API_docs_v41/constructors/messages.chatFull.md new file mode 100644 index 00000000..3906cc54 --- /dev/null +++ b/old_docs/API_docs_v41/constructors/messages.chatFull.md @@ -0,0 +1,40 @@ +--- +title: messages.chatFull +description: Extended info on chat and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.chatFull +[Back to constructors index](index.md) + + + +Extended info on chat and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|full\_chat|[ChatFull](../types/ChatFull.md) | Yes|Extended info on a chat| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.ChatFull](../types/messages.ChatFull.md) + + +### Example: + +```php +$messages.chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.chatFull={_='messages.chatFull', full_chat=ChatFull, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v41/constructors/messages.chats.md b/old_docs/API_docs_v41/constructors/messages.chats.md new file mode 100644 index 00000000..9ede9ff2 --- /dev/null +++ b/old_docs/API_docs_v41/constructors/messages.chats.md @@ -0,0 +1,38 @@ +--- +title: messages.chats +description: List of chats with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.chats +[Back to constructors index](index.md) + + + +List of chats with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| + + + +### Type: [messages.Chats](../types/messages.Chats.md) + + +### Example: + +```php +$messages.chats = ['_' => 'messages.chats', 'chats' => [Chat, Chat]]; +``` + + +Or, if you're into Lua: + +```lua +messages.chats={_='messages.chats', chats={Chat}} + +``` + + diff --git a/old_docs/API_docs_v41/constructors/messages.dhConfig.md b/old_docs/API_docs_v41/constructors/messages.dhConfig.md new file mode 100644 index 00000000..58344f64 --- /dev/null +++ b/old_docs/API_docs_v41/constructors/messages.dhConfig.md @@ -0,0 +1,41 @@ +--- +title: messages.dhConfig +description: New set of configuring parameters. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dhConfig +[Back to constructors index](index.md) + + + +New set of configuring parameters. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|g|[int](../types/int.md) | Yes|New value **prime**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| +|p|[bytes](../types/bytes.md) | Yes|New value **primitive root**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| +|version|[int](../types/int.md) | Yes|Vestion of set of parameters| +|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| + + + +### Type: [messages.DhConfig](../types/messages.DhConfig.md) + + +### Example: + +```php +$messages.dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'version' => int, 'random' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +messages.dhConfig={_='messages.dhConfig', g=int, p='bytes', version=int, random='bytes'} + +``` + + diff --git a/old_docs/API_docs_v41/constructors/messages.dhConfigNotModified.md b/old_docs/API_docs_v41/constructors/messages.dhConfigNotModified.md new file mode 100644 index 00000000..a9a95389 --- /dev/null +++ b/old_docs/API_docs_v41/constructors/messages.dhConfigNotModified.md @@ -0,0 +1,38 @@ +--- +title: messages.dhConfigNotModified +description: Configuring parameters did not change. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dhConfigNotModified +[Back to constructors index](index.md) + + + +Configuring parameters did not change. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| + + + +### Type: [messages.DhConfig](../types/messages.DhConfig.md) + + +### Example: + +```php +$messages.dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +messages.dhConfigNotModified={_='messages.dhConfigNotModified', random='bytes'} + +``` + + diff --git a/old_docs/API_docs_v41/constructors/messages.dialogs.md b/old_docs/API_docs_v41/constructors/messages.dialogs.md new file mode 100644 index 00000000..a72eabce --- /dev/null +++ b/old_docs/API_docs_v41/constructors/messages.dialogs.md @@ -0,0 +1,41 @@ +--- +title: messages.dialogs +description: Full list of chats with messages and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dialogs +[Back to constructors index](index.md) + + + +Full list of chats with messages and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Dialogs](../types/messages.Dialogs.md) + + +### Example: + +```php +$messages.dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.dialogs={_='messages.dialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v41/constructors/messages.dialogsSlice.md b/old_docs/API_docs_v41/constructors/messages.dialogsSlice.md new file mode 100644 index 00000000..26227d2c --- /dev/null +++ b/old_docs/API_docs_v41/constructors/messages.dialogsSlice.md @@ -0,0 +1,42 @@ +--- +title: messages.dialogsSlice +description: Incomplete list of dialogs with messages and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dialogsSlice +[Back to constructors index](index.md) + + + +Incomplete list of dialogs with messages and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of dialogs| +|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Dialogs](../types/messages.Dialogs.md) + + +### Example: + +```php +$messages.dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.dialogsSlice={_='messages.dialogsSlice', count=int, dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v41/constructors/messages.messages.md b/old_docs/API_docs_v41/constructors/messages.messages.md new file mode 100644 index 00000000..3af71dca --- /dev/null +++ b/old_docs/API_docs_v41/constructors/messages.messages.md @@ -0,0 +1,40 @@ +--- +title: messages.messages +description: Full list of messages with auxilary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.messages +[Back to constructors index](index.md) + + + +Full list of messages with auxilary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Messages](../types/messages.Messages.md) + + +### Example: + +```php +$messages.messages = ['_' => 'messages.messages', 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.messages={_='messages.messages', messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v41/constructors/messages.messagesSlice.md b/old_docs/API_docs_v41/constructors/messages.messagesSlice.md new file mode 100644 index 00000000..2fe91df0 --- /dev/null +++ b/old_docs/API_docs_v41/constructors/messages.messagesSlice.md @@ -0,0 +1,41 @@ +--- +title: messages.messagesSlice +description: Incomplete list of messages and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.messagesSlice +[Back to constructors index](index.md) + + + +Incomplete list of messages and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of messages in the list| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Messages](../types/messages.Messages.md) + + +### Example: + +```php +$messages.messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.messagesSlice={_='messages.messagesSlice', count=int, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v41/constructors/messages.sentEncryptedFile.md b/old_docs/API_docs_v41/constructors/messages.sentEncryptedFile.md new file mode 100644 index 00000000..1f0e43c6 --- /dev/null +++ b/old_docs/API_docs_v41/constructors/messages.sentEncryptedFile.md @@ -0,0 +1,39 @@ +--- +title: messages.sentEncryptedFile +description: Message with a file enclosure sent to a protected chat +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.sentEncryptedFile +[Back to constructors index](index.md) + + + +Message with a file enclosure sent to a protected chat + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Sending date| +|file|[EncryptedFile](../types/EncryptedFile.md) | Optional|Attached file| + + + +### Type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) + + +### Example: + +```php +$messages.sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile]; +``` + + +Or, if you're into Lua: + +```lua +messages.sentEncryptedFile={_='messages.sentEncryptedFile', date=int, file=EncryptedFile} + +``` + + diff --git a/old_docs/API_docs_v41/constructors/messages.sentEncryptedMessage.md b/old_docs/API_docs_v41/constructors/messages.sentEncryptedMessage.md new file mode 100644 index 00000000..3d5eb40c --- /dev/null +++ b/old_docs/API_docs_v41/constructors/messages.sentEncryptedMessage.md @@ -0,0 +1,38 @@ +--- +title: messages.sentEncryptedMessage +description: Message without file attachemts sent to an encrypted file. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.sentEncryptedMessage +[Back to constructors index](index.md) + + + +Message without file attachemts sent to an encrypted file. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Date of sending| + + + +### Type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) + + +### Example: + +```php +$messages.sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.sentEncryptedMessage={_='messages.sentEncryptedMessage', date=int} + +``` + + diff --git a/old_docs/API_docs_v41/constructors/messages.stickerSet.md b/old_docs/API_docs_v41/constructors/messages.stickerSet.md new file mode 100644 index 00000000..fbc154d0 --- /dev/null +++ b/old_docs/API_docs_v41/constructors/messages.stickerSet.md @@ -0,0 +1,40 @@ +--- +title: messages.stickerSet +description: Stickerset and stickers inside it +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickerSet +[Back to constructors index](index.md) + + + +Stickerset and stickers inside it + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|set|[StickerSet](../types/StickerSet.md) | Yes|The stickerset| +|packs|Array of [StickerPack](../types/StickerPack.md) | Yes|Packs| +|documents|Array of [Document](../types/Document.md) | Yes|Documents| + + + +### Type: [messages.StickerSet](../types/messages.StickerSet.md) + + +### Example: + +```php +$messages.stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'packs' => [StickerPack, StickerPack], 'documents' => [Document, Document]]; +``` + + +Or, if you're into Lua: + +```lua +messages.stickerSet={_='messages.stickerSet', set=StickerSet, packs={StickerPack}, documents={Document}} + +``` + + diff --git a/old_docs/API_docs_v41/constructors/messages.stickers.md b/old_docs/API_docs_v41/constructors/messages.stickers.md new file mode 100644 index 00000000..310b64b0 --- /dev/null +++ b/old_docs/API_docs_v41/constructors/messages.stickers.md @@ -0,0 +1,39 @@ +--- +title: messages.stickers +description: Found stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickers +[Back to constructors index](index.md) + + + +Found stickers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[string](../types/string.md) | Yes|Hash| +|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| + + + +### Type: [messages.Stickers](../types/messages.Stickers.md) + + +### Example: + +```php +$messages.stickers = ['_' => 'messages.stickers', 'hash' => 'string', 'stickers' => [Document, Document]]; +``` + + +Or, if you're into Lua: + +```lua +messages.stickers={_='messages.stickers', hash='string', stickers={Document}} + +``` + + diff --git a/old_docs/API_docs_v41/constructors/messages.stickersNotModified.md b/old_docs/API_docs_v41/constructors/messages.stickersNotModified.md new file mode 100644 index 00000000..e8c7766c --- /dev/null +++ b/old_docs/API_docs_v41/constructors/messages.stickersNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.stickersNotModified +description: No new stickers were found for the given query +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickersNotModified +[Back to constructors index](index.md) + + + +No new stickers were found for the given query + + + + +### Type: [messages.Stickers](../types/messages.Stickers.md) + + +### Example: + +```php +$messages.stickersNotModified = ['_' => 'messages.stickersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.stickersNotModified={_='messages.stickersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v41/constructors/messages_affectedHistory.md b/old_docs/API_docs_v41/constructors/messages_affectedHistory.md deleted file mode 100644 index 449a7e3f..00000000 --- a/old_docs/API_docs_v41/constructors/messages_affectedHistory.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.affectedHistory -description: Affected part of communication history with the user or in a chat. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.affectedHistory -[Back to constructors index](index.md) - - - -Affected part of communication history with the user or in a chat. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| -|pts\_count|[int](../types/int.md) | Yes|Number of affected events| -|offset|[int](../types/int.md) | Yes|If a parameter contains positive value, it is necessary to repeat the method call using the given value; during the proceeding of all the history the value itself shall gradually decrease| - - - -### Type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) - - -### Example: - -```php -$messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_affectedHistory={_='messages.affectedHistory', pts=int, pts_count=int, offset=int} - -``` - - diff --git a/old_docs/API_docs_v41/constructors/messages_affectedMessages.md b/old_docs/API_docs_v41/constructors/messages_affectedMessages.md deleted file mode 100644 index 86760581..00000000 --- a/old_docs/API_docs_v41/constructors/messages_affectedMessages.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.affectedMessages -description: Events affected by operation -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.affectedMessages -[Back to constructors index](index.md) - - - -Events affected by operation - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|[Event count after generation](https://core.telegram.org/api/updates)| -|pts\_count|[int](../types/int.md) | Yes|[Number of events that were generated](https://core.telegram.org/api/updates)| - - - -### Type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) - - -### Example: - -```php -$messages_affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_affectedMessages={_='messages.affectedMessages', pts=int, pts_count=int} - -``` - - diff --git a/old_docs/API_docs_v41/constructors/messages_allStickers.md b/old_docs/API_docs_v41/constructors/messages_allStickers.md deleted file mode 100644 index dfbaf47e..00000000 --- a/old_docs/API_docs_v41/constructors/messages_allStickers.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.allStickers -description: Info about all installed stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.allStickers -[Back to constructors index](index.md) - - - -Info about all installed stickers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[string](../types/string.md) | Yes|Hash| -|sets|Array of [StickerSet](../types/StickerSet.md) | Yes|Sets| - - - -### Type: [messages\_AllStickers](../types/messages_AllStickers.md) - - -### Example: - -```php -$messages_allStickers = ['_' => 'messages.allStickers', 'hash' => 'string', 'sets' => [StickerSet, StickerSet]]; -``` - - -Or, if you're into Lua: - -```lua -messages_allStickers={_='messages.allStickers', hash='string', sets={StickerSet}} - -``` - - diff --git a/old_docs/API_docs_v41/constructors/messages_allStickersNotModified.md b/old_docs/API_docs_v41/constructors/messages_allStickersNotModified.md deleted file mode 100644 index c4da85ab..00000000 --- a/old_docs/API_docs_v41/constructors/messages_allStickersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.allStickersNotModified -description: Info about all installed stickers hasn't changed -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.allStickersNotModified -[Back to constructors index](index.md) - - - -Info about all installed stickers hasn't changed - - - - -### Type: [messages\_AllStickers](../types/messages_AllStickers.md) - - -### Example: - -```php -$messages_allStickersNotModified = ['_' => 'messages.allStickersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_allStickersNotModified={_='messages.allStickersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v41/constructors/messages_channelMessages.md b/old_docs/API_docs_v41/constructors/messages_channelMessages.md deleted file mode 100644 index f59dea09..00000000 --- a/old_docs/API_docs_v41/constructors/messages_channelMessages.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: messages.channelMessages -description: Channel messages -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.channelMessages -[Back to constructors index](index.md) - - - -Channel messages - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|[Event count after generation](https://core.telegram.org/api/updates)| -|count|[int](../types/int.md) | Yes|Total number of results were found server-side (may not be all included here)| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|collapsed|Array of [MessageGroup](../types/MessageGroup.md) | Optional|Collapsed| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Messages](../types/messages_Messages.md) - - -### Example: - -```php -$messages_channelMessages = ['_' => 'messages.channelMessages', 'pts' => int, 'count' => int, 'messages' => [Message, Message], 'collapsed' => [MessageGroup, MessageGroup], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_channelMessages={_='messages.channelMessages', pts=int, count=int, messages={Message}, collapsed={MessageGroup}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v41/constructors/messages_chatFull.md b/old_docs/API_docs_v41/constructors/messages_chatFull.md deleted file mode 100644 index 02f1acdf..00000000 --- a/old_docs/API_docs_v41/constructors/messages_chatFull.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.chatFull -description: Extended info on chat and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.chatFull -[Back to constructors index](index.md) - - - -Extended info on chat and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|full\_chat|[ChatFull](../types/ChatFull.md) | Yes|Extended info on a chat| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_ChatFull](../types/messages_ChatFull.md) - - -### Example: - -```php -$messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_chatFull={_='messages.chatFull', full_chat=ChatFull, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v41/constructors/messages_chats.md b/old_docs/API_docs_v41/constructors/messages_chats.md deleted file mode 100644 index ef3690a9..00000000 --- a/old_docs/API_docs_v41/constructors/messages_chats.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.chats -description: List of chats with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.chats -[Back to constructors index](index.md) - - - -List of chats with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| - - - -### Type: [messages\_Chats](../types/messages_Chats.md) - - -### Example: - -```php -$messages_chats = ['_' => 'messages.chats', 'chats' => [Chat, Chat]]; -``` - - -Or, if you're into Lua: - -```lua -messages_chats={_='messages.chats', chats={Chat}} - -``` - - diff --git a/old_docs/API_docs_v41/constructors/messages_dhConfig.md b/old_docs/API_docs_v41/constructors/messages_dhConfig.md deleted file mode 100644 index 42c2feb1..00000000 --- a/old_docs/API_docs_v41/constructors/messages_dhConfig.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: messages.dhConfig -description: New set of configuring parameters. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dhConfig -[Back to constructors index](index.md) - - - -New set of configuring parameters. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|g|[int](../types/int.md) | Yes|New value **prime**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| -|p|[bytes](../types/bytes.md) | Yes|New value **primitive root**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| -|version|[int](../types/int.md) | Yes|Vestion of set of parameters| -|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| - - - -### Type: [messages\_DhConfig](../types/messages_DhConfig.md) - - -### Example: - -```php -$messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'version' => int, 'random' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -messages_dhConfig={_='messages.dhConfig', g=int, p='bytes', version=int, random='bytes'} - -``` - - diff --git a/old_docs/API_docs_v41/constructors/messages_dhConfigNotModified.md b/old_docs/API_docs_v41/constructors/messages_dhConfigNotModified.md deleted file mode 100644 index 5bf64230..00000000 --- a/old_docs/API_docs_v41/constructors/messages_dhConfigNotModified.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.dhConfigNotModified -description: Configuring parameters did not change. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dhConfigNotModified -[Back to constructors index](index.md) - - - -Configuring parameters did not change. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| - - - -### Type: [messages\_DhConfig](../types/messages_DhConfig.md) - - -### Example: - -```php -$messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -messages_dhConfigNotModified={_='messages.dhConfigNotModified', random='bytes'} - -``` - - diff --git a/old_docs/API_docs_v41/constructors/messages_dialogs.md b/old_docs/API_docs_v41/constructors/messages_dialogs.md deleted file mode 100644 index e6a431b4..00000000 --- a/old_docs/API_docs_v41/constructors/messages_dialogs.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: messages.dialogs -description: Full list of chats with messages and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dialogs -[Back to constructors index](index.md) - - - -Full list of chats with messages and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Dialogs](../types/messages_Dialogs.md) - - -### Example: - -```php -$messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_dialogs={_='messages.dialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v41/constructors/messages_dialogsSlice.md b/old_docs/API_docs_v41/constructors/messages_dialogsSlice.md deleted file mode 100644 index f183b9a8..00000000 --- a/old_docs/API_docs_v41/constructors/messages_dialogsSlice.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: messages.dialogsSlice -description: Incomplete list of dialogs with messages and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dialogsSlice -[Back to constructors index](index.md) - - - -Incomplete list of dialogs with messages and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of dialogs| -|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Dialogs](../types/messages_Dialogs.md) - - -### Example: - -```php -$messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_dialogsSlice={_='messages.dialogsSlice', count=int, dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v41/constructors/messages_messages.md b/old_docs/API_docs_v41/constructors/messages_messages.md deleted file mode 100644 index 3e369e1a..00000000 --- a/old_docs/API_docs_v41/constructors/messages_messages.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.messages -description: Full list of messages with auxilary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.messages -[Back to constructors index](index.md) - - - -Full list of messages with auxilary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Messages](../types/messages_Messages.md) - - -### Example: - -```php -$messages_messages = ['_' => 'messages.messages', 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_messages={_='messages.messages', messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v41/constructors/messages_messagesSlice.md b/old_docs/API_docs_v41/constructors/messages_messagesSlice.md deleted file mode 100644 index f9b8dc18..00000000 --- a/old_docs/API_docs_v41/constructors/messages_messagesSlice.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: messages.messagesSlice -description: Incomplete list of messages and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.messagesSlice -[Back to constructors index](index.md) - - - -Incomplete list of messages and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of messages in the list| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Messages](../types/messages_Messages.md) - - -### Example: - -```php -$messages_messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_messagesSlice={_='messages.messagesSlice', count=int, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v41/constructors/messages_sentEncryptedFile.md b/old_docs/API_docs_v41/constructors/messages_sentEncryptedFile.md deleted file mode 100644 index fdc2a11e..00000000 --- a/old_docs/API_docs_v41/constructors/messages_sentEncryptedFile.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.sentEncryptedFile -description: Message with a file enclosure sent to a protected chat -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.sentEncryptedFile -[Back to constructors index](index.md) - - - -Message with a file enclosure sent to a protected chat - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Sending date| -|file|[EncryptedFile](../types/EncryptedFile.md) | Optional|Attached file| - - - -### Type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) - - -### Example: - -```php -$messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile]; -``` - - -Or, if you're into Lua: - -```lua -messages_sentEncryptedFile={_='messages.sentEncryptedFile', date=int, file=EncryptedFile} - -``` - - diff --git a/old_docs/API_docs_v41/constructors/messages_sentEncryptedMessage.md b/old_docs/API_docs_v41/constructors/messages_sentEncryptedMessage.md deleted file mode 100644 index 36b2bbff..00000000 --- a/old_docs/API_docs_v41/constructors/messages_sentEncryptedMessage.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.sentEncryptedMessage -description: Message without file attachemts sent to an encrypted file. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.sentEncryptedMessage -[Back to constructors index](index.md) - - - -Message without file attachemts sent to an encrypted file. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Date of sending| - - - -### Type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) - - -### Example: - -```php -$messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_sentEncryptedMessage={_='messages.sentEncryptedMessage', date=int} - -``` - - diff --git a/old_docs/API_docs_v41/constructors/messages_stickerSet.md b/old_docs/API_docs_v41/constructors/messages_stickerSet.md deleted file mode 100644 index 127191de..00000000 --- a/old_docs/API_docs_v41/constructors/messages_stickerSet.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.stickerSet -description: Stickerset and stickers inside it -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickerSet -[Back to constructors index](index.md) - - - -Stickerset and stickers inside it - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|set|[StickerSet](../types/StickerSet.md) | Yes|The stickerset| -|packs|Array of [StickerPack](../types/StickerPack.md) | Yes|Packs| -|documents|Array of [Document](../types/Document.md) | Yes|Documents| - - - -### Type: [messages\_StickerSet](../types/messages_StickerSet.md) - - -### Example: - -```php -$messages_stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'packs' => [StickerPack, StickerPack], 'documents' => [Document, Document]]; -``` - - -Or, if you're into Lua: - -```lua -messages_stickerSet={_='messages.stickerSet', set=StickerSet, packs={StickerPack}, documents={Document}} - -``` - - diff --git a/old_docs/API_docs_v41/constructors/messages_stickers.md b/old_docs/API_docs_v41/constructors/messages_stickers.md deleted file mode 100644 index 1c007df2..00000000 --- a/old_docs/API_docs_v41/constructors/messages_stickers.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.stickers -description: Found stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickers -[Back to constructors index](index.md) - - - -Found stickers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[string](../types/string.md) | Yes|Hash| -|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| - - - -### Type: [messages\_Stickers](../types/messages_Stickers.md) - - -### Example: - -```php -$messages_stickers = ['_' => 'messages.stickers', 'hash' => 'string', 'stickers' => [Document, Document]]; -``` - - -Or, if you're into Lua: - -```lua -messages_stickers={_='messages.stickers', hash='string', stickers={Document}} - -``` - - diff --git a/old_docs/API_docs_v41/constructors/messages_stickersNotModified.md b/old_docs/API_docs_v41/constructors/messages_stickersNotModified.md deleted file mode 100644 index 3d434a79..00000000 --- a/old_docs/API_docs_v41/constructors/messages_stickersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.stickersNotModified -description: No new stickers were found for the given query -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickersNotModified -[Back to constructors index](index.md) - - - -No new stickers were found for the given query - - - - -### Type: [messages\_Stickers](../types/messages_Stickers.md) - - -### Example: - -```php -$messages_stickersNotModified = ['_' => 'messages.stickersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_stickersNotModified={_='messages.stickersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v41/constructors/photos.photo.md b/old_docs/API_docs_v41/constructors/photos.photo.md new file mode 100644 index 00000000..43d3efc7 --- /dev/null +++ b/old_docs/API_docs_v41/constructors/photos.photo.md @@ -0,0 +1,39 @@ +--- +title: photos.photo +description: Photo with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: photos.photo +[Back to constructors index](index.md) + + + +Photo with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|photo|[Photo](../types/Photo.md) | Optional|Photo| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [photos.Photo](../types/photos.Photo.md) + + +### Example: + +```php +$photos.photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +photos.photo={_='photos.photo', photo=Photo, users={User}} + +``` + + diff --git a/old_docs/API_docs_v41/constructors/photos.photos.md b/old_docs/API_docs_v41/constructors/photos.photos.md new file mode 100644 index 00000000..901a9693 --- /dev/null +++ b/old_docs/API_docs_v41/constructors/photos.photos.md @@ -0,0 +1,39 @@ +--- +title: photos.photos +description: Full list of photos with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: photos.photos +[Back to constructors index](index.md) + + + +Full list of photos with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [photos.Photos](../types/photos.Photos.md) + + +### Example: + +```php +$photos.photos = ['_' => 'photos.photos', 'photos' => [Photo, Photo], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +photos.photos={_='photos.photos', photos={Photo}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v41/constructors/photos.photosSlice.md b/old_docs/API_docs_v41/constructors/photos.photosSlice.md new file mode 100644 index 00000000..2cca3546 --- /dev/null +++ b/old_docs/API_docs_v41/constructors/photos.photosSlice.md @@ -0,0 +1,40 @@ +--- +title: photos.photosSlice +description: Incomplete list of photos with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: photos.photosSlice +[Back to constructors index](index.md) + + + +Incomplete list of photos with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of photos| +|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [photos.Photos](../types/photos.Photos.md) + + +### Example: + +```php +$photos.photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo, Photo], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +photos.photosSlice={_='photos.photosSlice', count=int, photos={Photo}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v41/constructors/photos_photo.md b/old_docs/API_docs_v41/constructors/photos_photo.md deleted file mode 100644 index d5ad61d9..00000000 --- a/old_docs/API_docs_v41/constructors/photos_photo.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: photos.photo -description: Photo with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: photos.photo -[Back to constructors index](index.md) - - - -Photo with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|photo|[Photo](../types/Photo.md) | Optional|Photo| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [photos\_Photo](../types/photos_Photo.md) - - -### Example: - -```php -$photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -photos_photo={_='photos.photo', photo=Photo, users={User}} - -``` - - diff --git a/old_docs/API_docs_v41/constructors/photos_photos.md b/old_docs/API_docs_v41/constructors/photos_photos.md deleted file mode 100644 index 6ae5d048..00000000 --- a/old_docs/API_docs_v41/constructors/photos_photos.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: photos.photos -description: Full list of photos with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: photos.photos -[Back to constructors index](index.md) - - - -Full list of photos with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [photos\_Photos](../types/photos_Photos.md) - - -### Example: - -```php -$photos_photos = ['_' => 'photos.photos', 'photos' => [Photo, Photo], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -photos_photos={_='photos.photos', photos={Photo}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v41/constructors/photos_photosSlice.md b/old_docs/API_docs_v41/constructors/photos_photosSlice.md deleted file mode 100644 index 5c465c21..00000000 --- a/old_docs/API_docs_v41/constructors/photos_photosSlice.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: photos.photosSlice -description: Incomplete list of photos with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: photos.photosSlice -[Back to constructors index](index.md) - - - -Incomplete list of photos with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of photos| -|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [photos\_Photos](../types/photos_Photos.md) - - -### Example: - -```php -$photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo, Photo], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -photos_photosSlice={_='photos.photosSlice', count=int, photos={Photo}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v41/constructors/storage.fileGif.md b/old_docs/API_docs_v41/constructors/storage.fileGif.md new file mode 100644 index 00000000..8193bd25 --- /dev/null +++ b/old_docs/API_docs_v41/constructors/storage.fileGif.md @@ -0,0 +1,33 @@ +--- +title: storage.fileGif +description: GIF image. MIME type: `image/gif`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileGif +[Back to constructors index](index.md) + + + +GIF image. MIME type: `image/gif`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileGif = ['_' => 'storage.fileGif']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileGif={_='storage.fileGif'} + +``` + + diff --git a/old_docs/API_docs_v41/constructors/storage.fileJpeg.md b/old_docs/API_docs_v41/constructors/storage.fileJpeg.md new file mode 100644 index 00000000..7f125963 --- /dev/null +++ b/old_docs/API_docs_v41/constructors/storage.fileJpeg.md @@ -0,0 +1,33 @@ +--- +title: storage.fileJpeg +description: JPEG image. MIME type: `image/jpeg`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileJpeg +[Back to constructors index](index.md) + + + +JPEG image. MIME type: `image/jpeg`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileJpeg = ['_' => 'storage.fileJpeg']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileJpeg={_='storage.fileJpeg'} + +``` + + diff --git a/old_docs/API_docs_v41/constructors/storage.fileMov.md b/old_docs/API_docs_v41/constructors/storage.fileMov.md new file mode 100644 index 00000000..cb3742e0 --- /dev/null +++ b/old_docs/API_docs_v41/constructors/storage.fileMov.md @@ -0,0 +1,33 @@ +--- +title: storage.fileMov +description: Quicktime video. MIME type: `video/quicktime`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileMov +[Back to constructors index](index.md) + + + +Quicktime video. MIME type: `video/quicktime`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileMov = ['_' => 'storage.fileMov']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileMov={_='storage.fileMov'} + +``` + + diff --git a/old_docs/API_docs_v41/constructors/storage.fileMp3.md b/old_docs/API_docs_v41/constructors/storage.fileMp3.md new file mode 100644 index 00000000..617f2d39 --- /dev/null +++ b/old_docs/API_docs_v41/constructors/storage.fileMp3.md @@ -0,0 +1,33 @@ +--- +title: storage.fileMp3 +description: Mp3 audio. MIME type: `audio/mpeg`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileMp3 +[Back to constructors index](index.md) + + + +Mp3 audio. MIME type: `audio/mpeg`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileMp3 = ['_' => 'storage.fileMp3']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileMp3={_='storage.fileMp3'} + +``` + + diff --git a/old_docs/API_docs_v41/constructors/storage.fileMp4.md b/old_docs/API_docs_v41/constructors/storage.fileMp4.md new file mode 100644 index 00000000..37038176 --- /dev/null +++ b/old_docs/API_docs_v41/constructors/storage.fileMp4.md @@ -0,0 +1,33 @@ +--- +title: storage.fileMp4 +description: MPEG-4 video. MIME type: `video/mp4`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileMp4 +[Back to constructors index](index.md) + + + +MPEG-4 video. MIME type: `video/mp4`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileMp4 = ['_' => 'storage.fileMp4']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileMp4={_='storage.fileMp4'} + +``` + + diff --git a/old_docs/API_docs_v41/constructors/storage.filePartial.md b/old_docs/API_docs_v41/constructors/storage.filePartial.md new file mode 100644 index 00000000..98779e71 --- /dev/null +++ b/old_docs/API_docs_v41/constructors/storage.filePartial.md @@ -0,0 +1,33 @@ +--- +title: storage.filePartial +description: Part of a bigger file. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.filePartial +[Back to constructors index](index.md) + + + +Part of a bigger file. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.filePartial = ['_' => 'storage.filePartial']; +``` + + +Or, if you're into Lua: + +```lua +storage.filePartial={_='storage.filePartial'} + +``` + + diff --git a/old_docs/API_docs_v41/constructors/storage.filePdf.md b/old_docs/API_docs_v41/constructors/storage.filePdf.md new file mode 100644 index 00000000..136c0614 --- /dev/null +++ b/old_docs/API_docs_v41/constructors/storage.filePdf.md @@ -0,0 +1,33 @@ +--- +title: storage.filePdf +description: PDF document image. MIME type: `application/pdf`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.filePdf +[Back to constructors index](index.md) + + + +PDF document image. MIME type: `application/pdf`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.filePdf = ['_' => 'storage.filePdf']; +``` + + +Or, if you're into Lua: + +```lua +storage.filePdf={_='storage.filePdf'} + +``` + + diff --git a/old_docs/API_docs_v41/constructors/storage.filePng.md b/old_docs/API_docs_v41/constructors/storage.filePng.md new file mode 100644 index 00000000..db01ce0e --- /dev/null +++ b/old_docs/API_docs_v41/constructors/storage.filePng.md @@ -0,0 +1,33 @@ +--- +title: storage.filePng +description: PNG image. MIME type: `image/png`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.filePng +[Back to constructors index](index.md) + + + +PNG image. MIME type: `image/png`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.filePng = ['_' => 'storage.filePng']; +``` + + +Or, if you're into Lua: + +```lua +storage.filePng={_='storage.filePng'} + +``` + + diff --git a/old_docs/API_docs_v41/constructors/storage.fileUnknown.md b/old_docs/API_docs_v41/constructors/storage.fileUnknown.md new file mode 100644 index 00000000..26f0a5ae --- /dev/null +++ b/old_docs/API_docs_v41/constructors/storage.fileUnknown.md @@ -0,0 +1,33 @@ +--- +title: storage.fileUnknown +description: Unknown type. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileUnknown +[Back to constructors index](index.md) + + + +Unknown type. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileUnknown = ['_' => 'storage.fileUnknown']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileUnknown={_='storage.fileUnknown'} + +``` + + diff --git a/old_docs/API_docs_v41/constructors/storage.fileWebp.md b/old_docs/API_docs_v41/constructors/storage.fileWebp.md new file mode 100644 index 00000000..63c9ded1 --- /dev/null +++ b/old_docs/API_docs_v41/constructors/storage.fileWebp.md @@ -0,0 +1,33 @@ +--- +title: storage.fileWebp +description: WEBP image. MIME type: `image/webp`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileWebp +[Back to constructors index](index.md) + + + +WEBP image. MIME type: `image/webp`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileWebp = ['_' => 'storage.fileWebp']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileWebp={_='storage.fileWebp'} + +``` + + diff --git a/old_docs/API_docs_v41/constructors/storage_fileGif.md b/old_docs/API_docs_v41/constructors/storage_fileGif.md deleted file mode 100644 index 218c7491..00000000 --- a/old_docs/API_docs_v41/constructors/storage_fileGif.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileGif -description: GIF image. MIME type: `image/gif`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileGif -[Back to constructors index](index.md) - - - -GIF image. MIME type: `image/gif`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileGif = ['_' => 'storage.fileGif']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileGif={_='storage.fileGif'} - -``` - - diff --git a/old_docs/API_docs_v41/constructors/storage_fileJpeg.md b/old_docs/API_docs_v41/constructors/storage_fileJpeg.md deleted file mode 100644 index 925531cd..00000000 --- a/old_docs/API_docs_v41/constructors/storage_fileJpeg.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileJpeg -description: JPEG image. MIME type: `image/jpeg`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileJpeg -[Back to constructors index](index.md) - - - -JPEG image. MIME type: `image/jpeg`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileJpeg = ['_' => 'storage.fileJpeg']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileJpeg={_='storage.fileJpeg'} - -``` - - diff --git a/old_docs/API_docs_v41/constructors/storage_fileMov.md b/old_docs/API_docs_v41/constructors/storage_fileMov.md deleted file mode 100644 index eaf2a6ff..00000000 --- a/old_docs/API_docs_v41/constructors/storage_fileMov.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileMov -description: Quicktime video. MIME type: `video/quicktime`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileMov -[Back to constructors index](index.md) - - - -Quicktime video. MIME type: `video/quicktime`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileMov = ['_' => 'storage.fileMov']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileMov={_='storage.fileMov'} - -``` - - diff --git a/old_docs/API_docs_v41/constructors/storage_fileMp3.md b/old_docs/API_docs_v41/constructors/storage_fileMp3.md deleted file mode 100644 index 9afcefbb..00000000 --- a/old_docs/API_docs_v41/constructors/storage_fileMp3.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileMp3 -description: Mp3 audio. MIME type: `audio/mpeg`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileMp3 -[Back to constructors index](index.md) - - - -Mp3 audio. MIME type: `audio/mpeg`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileMp3 = ['_' => 'storage.fileMp3']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileMp3={_='storage.fileMp3'} - -``` - - diff --git a/old_docs/API_docs_v41/constructors/storage_fileMp4.md b/old_docs/API_docs_v41/constructors/storage_fileMp4.md deleted file mode 100644 index cdc0e783..00000000 --- a/old_docs/API_docs_v41/constructors/storage_fileMp4.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileMp4 -description: MPEG-4 video. MIME type: `video/mp4`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileMp4 -[Back to constructors index](index.md) - - - -MPEG-4 video. MIME type: `video/mp4`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileMp4 = ['_' => 'storage.fileMp4']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileMp4={_='storage.fileMp4'} - -``` - - diff --git a/old_docs/API_docs_v41/constructors/storage_filePartial.md b/old_docs/API_docs_v41/constructors/storage_filePartial.md deleted file mode 100644 index 9bfadf63..00000000 --- a/old_docs/API_docs_v41/constructors/storage_filePartial.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.filePartial -description: Part of a bigger file. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.filePartial -[Back to constructors index](index.md) - - - -Part of a bigger file. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_filePartial = ['_' => 'storage.filePartial']; -``` - - -Or, if you're into Lua: - -```lua -storage_filePartial={_='storage.filePartial'} - -``` - - diff --git a/old_docs/API_docs_v41/constructors/storage_filePdf.md b/old_docs/API_docs_v41/constructors/storage_filePdf.md deleted file mode 100644 index efb022cc..00000000 --- a/old_docs/API_docs_v41/constructors/storage_filePdf.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.filePdf -description: PDF document image. MIME type: `application/pdf`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.filePdf -[Back to constructors index](index.md) - - - -PDF document image. MIME type: `application/pdf`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_filePdf = ['_' => 'storage.filePdf']; -``` - - -Or, if you're into Lua: - -```lua -storage_filePdf={_='storage.filePdf'} - -``` - - diff --git a/old_docs/API_docs_v41/constructors/storage_filePng.md b/old_docs/API_docs_v41/constructors/storage_filePng.md deleted file mode 100644 index 412759e4..00000000 --- a/old_docs/API_docs_v41/constructors/storage_filePng.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.filePng -description: PNG image. MIME type: `image/png`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.filePng -[Back to constructors index](index.md) - - - -PNG image. MIME type: `image/png`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_filePng = ['_' => 'storage.filePng']; -``` - - -Or, if you're into Lua: - -```lua -storage_filePng={_='storage.filePng'} - -``` - - diff --git a/old_docs/API_docs_v41/constructors/storage_fileUnknown.md b/old_docs/API_docs_v41/constructors/storage_fileUnknown.md deleted file mode 100644 index ed33dd5e..00000000 --- a/old_docs/API_docs_v41/constructors/storage_fileUnknown.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileUnknown -description: Unknown type. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileUnknown -[Back to constructors index](index.md) - - - -Unknown type. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileUnknown = ['_' => 'storage.fileUnknown']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileUnknown={_='storage.fileUnknown'} - -``` - - diff --git a/old_docs/API_docs_v41/constructors/storage_fileWebp.md b/old_docs/API_docs_v41/constructors/storage_fileWebp.md deleted file mode 100644 index 04dcad74..00000000 --- a/old_docs/API_docs_v41/constructors/storage_fileWebp.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileWebp -description: WEBP image. MIME type: `image/webp`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileWebp -[Back to constructors index](index.md) - - - -WEBP image. MIME type: `image/webp`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileWebp = ['_' => 'storage.fileWebp']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileWebp={_='storage.fileWebp'} - -``` - - diff --git a/old_docs/API_docs_v41/constructors/updates.channelDifference.md b/old_docs/API_docs_v41/constructors/updates.channelDifference.md new file mode 100644 index 00000000..5a13791c --- /dev/null +++ b/old_docs/API_docs_v41/constructors/updates.channelDifference.md @@ -0,0 +1,44 @@ +--- +title: updates.channelDifference +description: The new updates +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.channelDifference +[Back to constructors index](index.md) + + + +The new updates + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates to be fetched using getDifference, starting from the provided `pts`| +|pts|[int](../types/int.md) | Yes|The [PTS](https://core.telegram.org/api/updates) from which to start getting updates the next time| +|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| +|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| +|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [updates.ChannelDifference](../types/updates.ChannelDifference.md) + + +### Example: + +```php +$updates.channelDifference = ['_' => 'updates.channelDifference', 'final' => Bool, 'pts' => int, 'timeout' => int, 'new_messages' => [Message, Message], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +updates.channelDifference={_='updates.channelDifference', final=Bool, pts=int, timeout=int, new_messages={Message}, other_updates={Update}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v41/constructors/updates.channelDifferenceEmpty.md b/old_docs/API_docs_v41/constructors/updates.channelDifferenceEmpty.md new file mode 100644 index 00000000..8ce43da4 --- /dev/null +++ b/old_docs/API_docs_v41/constructors/updates.channelDifferenceEmpty.md @@ -0,0 +1,40 @@ +--- +title: updates.channelDifferenceEmpty +description: There are no new updates +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.channelDifferenceEmpty +[Back to constructors index](index.md) + + + +There are no new updates + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates that must be fetched (always false)| +|pts|[int](../types/int.md) | Yes|The latest [PTS](https://core.telegram.org/api/updates)| +|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| + + + +### Type: [updates.ChannelDifference](../types/updates.ChannelDifference.md) + + +### Example: + +```php +$updates.channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'final' => Bool, 'pts' => int, 'timeout' => int]; +``` + + +Or, if you're into Lua: + +```lua +updates.channelDifferenceEmpty={_='updates.channelDifferenceEmpty', final=Bool, pts=int, timeout=int} + +``` + + diff --git a/old_docs/API_docs_v41/constructors/updates.channelDifferenceTooLong.md b/old_docs/API_docs_v41/constructors/updates.channelDifferenceTooLong.md new file mode 100644 index 00000000..eecd8aba --- /dev/null +++ b/old_docs/API_docs_v41/constructors/updates.channelDifferenceTooLong.md @@ -0,0 +1,58 @@ +--- +title: updates.channelDifferenceTooLong +description: The provided `pts + limit < remote pts`. Simply, there are too many updates to be fetched (more than `limit`), the client has to resolve the update gap in one of the following ways: + +1. Delete all known messages in the chat, begin from scratch by refetching all messages manually with [getHistory](../methods/messages.getHistory.md). It is easy to implement, but suddenly disappearing messages looks awful for the user. +2. Save all messages loaded in the memory until application restart, but delete all messages from database. Messages left in the memory must be lazily updated using calls to [getHistory](../methods/messages.getHistory.md). It looks much smoothly for the user, he will need to redownload messages only after client restart. Unsynchronized messages left in the memory shouldn't be saved to database, results of [getHistory](../methods/messages.getHistory.md) and [getMessages](../methods/messages.getMessages.md) must be used to update state of deleted and edited messages left in the memory. +3. Save all messages loaded in the memory and stored in the database without saving that some messages form continuous ranges. Messages in the database will be excluded from results of getChatHistory and searchChatMessages after application restart and will be available only through getMessage. Every message should still be checked using getHistory. It has more disadvantages over 2) than advantages. +4. Save all messages with saving all data about continuous message ranges. Messages from the database may be used as results of getChatHistory and (if implemented continuous ranges support for searching shared media) searchChatMessages. The messages should still be lazily checked using getHistory, but they are still available offline. It is the best way for gaps support, but it is pretty hard to implement correctly. It should be also noted that some messages like live location messages shouldn't be deleted. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.channelDifferenceTooLong +[Back to constructors index](index.md) + + + +The provided `pts + limit < remote pts`. Simply, there are too many updates to be fetched (more than `limit`), the client has to resolve the update gap in one of the following ways: + +1. Delete all known messages in the chat, begin from scratch by refetching all messages manually with [getHistory](../methods/messages.getHistory.md). It is easy to implement, but suddenly disappearing messages looks awful for the user. +2. Save all messages loaded in the memory until application restart, but delete all messages from database. Messages left in the memory must be lazily updated using calls to [getHistory](../methods/messages.getHistory.md). It looks much smoothly for the user, he will need to redownload messages only after client restart. Unsynchronized messages left in the memory shouldn't be saved to database, results of [getHistory](../methods/messages.getHistory.md) and [getMessages](../methods/messages.getMessages.md) must be used to update state of deleted and edited messages left in the memory. +3. Save all messages loaded in the memory and stored in the database without saving that some messages form continuous ranges. Messages in the database will be excluded from results of getChatHistory and searchChatMessages after application restart and will be available only through getMessage. Every message should still be checked using getHistory. It has more disadvantages over 2) than advantages. +4. Save all messages with saving all data about continuous message ranges. Messages from the database may be used as results of getChatHistory and (if implemented continuous ranges support for searching shared media) searchChatMessages. The messages should still be lazily checked using getHistory, but they are still available offline. It is the best way for gaps support, but it is pretty hard to implement correctly. It should be also noted that some messages like live location messages shouldn't be deleted. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates that must be fetched (always false)| +|pts|[int](../types/int.md) | Yes|Pts| +|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| +|top\_message|[int](../types/int.md) | Yes|Top message| +|top\_important\_message|[int](../types/int.md) | Yes|Top important message| +|read\_inbox\_max\_id|[int](../types/int.md) | Yes|Read inbox max ID| +|unread\_count|[int](../types/int.md) | Yes|Unread count| +|unread\_important\_count|[int](../types/int.md) | Yes|Unread important count| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [updates.ChannelDifference](../types/updates.ChannelDifference.md) + + +### Example: + +```php +$updates.channelDifferenceTooLong = ['_' => 'updates.channelDifferenceTooLong', 'final' => Bool, 'pts' => int, 'timeout' => int, 'top_message' => int, 'top_important_message' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'unread_important_count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +updates.channelDifferenceTooLong={_='updates.channelDifferenceTooLong', final=Bool, pts=int, timeout=int, top_message=int, top_important_message=int, read_inbox_max_id=int, unread_count=int, unread_important_count=int, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v41/constructors/updates.difference.md b/old_docs/API_docs_v41/constructors/updates.difference.md new file mode 100644 index 00000000..82541b51 --- /dev/null +++ b/old_docs/API_docs_v41/constructors/updates.difference.md @@ -0,0 +1,43 @@ +--- +title: updates.difference +description: Full list of occurred events. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.difference +[Back to constructors index](index.md) + + + +Full list of occurred events. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| +|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| +|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| +|state|[updates.State](../constructors/updates.State.md) | Yes|Current state| + + + +### Type: [updates.Difference](../types/updates.Difference.md) + + +### Example: + +```php +$updates.difference = ['_' => 'updates.difference', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates.State]; +``` + + +Or, if you're into Lua: + +```lua +updates.difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates.State} + +``` + + diff --git a/old_docs/API_docs_v41/constructors/updates.differenceEmpty.md b/old_docs/API_docs_v41/constructors/updates.differenceEmpty.md new file mode 100644 index 00000000..a9dc3bd0 --- /dev/null +++ b/old_docs/API_docs_v41/constructors/updates.differenceEmpty.md @@ -0,0 +1,39 @@ +--- +title: updates.differenceEmpty +description: No events. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.differenceEmpty +[Back to constructors index](index.md) + + + +No events. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Current date| +|seq|[int](../types/int.md) | Yes|Number of sent updates| + + + +### Type: [updates.Difference](../types/updates.Difference.md) + + +### Example: + +```php +$updates.differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int]; +``` + + +Or, if you're into Lua: + +```lua +updates.differenceEmpty={_='updates.differenceEmpty', date=int, seq=int} + +``` + + diff --git a/old_docs/API_docs_v41/constructors/updates.differenceSlice.md b/old_docs/API_docs_v41/constructors/updates.differenceSlice.md new file mode 100644 index 00000000..9daf7a75 --- /dev/null +++ b/old_docs/API_docs_v41/constructors/updates.differenceSlice.md @@ -0,0 +1,43 @@ +--- +title: updates.differenceSlice +description: Incomplete list of occurred events. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.differenceSlice +[Back to constructors index](index.md) + + + +Incomplete list of occurred events. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| +|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| +|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| +|intermediate\_state|[updates.State](../constructors/updates.State.md) | Yes|Intermediary state| + + + +### Type: [updates.Difference](../types/updates.Difference.md) + + +### Example: + +```php +$updates.differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'intermediate_state' => updates.State]; +``` + + +Or, if you're into Lua: + +```lua +updates.differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates.State} + +``` + + diff --git a/old_docs/API_docs_v41/constructors/updates.state.md b/old_docs/API_docs_v41/constructors/updates.state.md new file mode 100644 index 00000000..abe9ddbb --- /dev/null +++ b/old_docs/API_docs_v41/constructors/updates.state.md @@ -0,0 +1,42 @@ +--- +title: updates.state +description: Updates state. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.state +[Back to constructors index](index.md) + + + +Updates state. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| +|qts|[int](../types/int.md) | Yes|Position in a sequence of updates in secret chats. For further detailes refer to article [secret chats](https://core.telegram.org/api/end-to-end)
Parameter was added in [eigth layer](https://core.telegram.org/api/layers#layer-8).| +|date|[int](../types/int.md) | Yes|Date of condition| +|seq|[int](../types/int.md) | Yes|Number of sent updates| +|unread\_count|[int](../types/int.md) | Yes|Number of unread messages| + + + +### Type: [updates.State](../types/updates.State.md) + + +### Example: + +```php +$updates.state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int]; +``` + + +Or, if you're into Lua: + +```lua +updates.state={_='updates.state', pts=int, qts=int, date=int, seq=int, unread_count=int} + +``` + + diff --git a/old_docs/API_docs_v41/constructors/updates_channelDifference.md b/old_docs/API_docs_v41/constructors/updates_channelDifference.md deleted file mode 100644 index 1b50fbf3..00000000 --- a/old_docs/API_docs_v41/constructors/updates_channelDifference.md +++ /dev/null @@ -1,44 +0,0 @@ ---- -title: updates.channelDifference -description: The new updates -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.channelDifference -[Back to constructors index](index.md) - - - -The new updates - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates to be fetched using getDifference, starting from the provided `pts`| -|pts|[int](../types/int.md) | Yes|The [PTS](https://core.telegram.org/api/updates) from which to start getting updates the next time| -|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| -|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| -|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) - - -### Example: - -```php -$updates_channelDifference = ['_' => 'updates.channelDifference', 'final' => Bool, 'pts' => int, 'timeout' => int, 'new_messages' => [Message, Message], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -updates_channelDifference={_='updates.channelDifference', final=Bool, pts=int, timeout=int, new_messages={Message}, other_updates={Update}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v41/constructors/updates_channelDifferenceEmpty.md b/old_docs/API_docs_v41/constructors/updates_channelDifferenceEmpty.md deleted file mode 100644 index 713137aa..00000000 --- a/old_docs/API_docs_v41/constructors/updates_channelDifferenceEmpty.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: updates.channelDifferenceEmpty -description: There are no new updates -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.channelDifferenceEmpty -[Back to constructors index](index.md) - - - -There are no new updates - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates that must be fetched (always false)| -|pts|[int](../types/int.md) | Yes|The latest [PTS](https://core.telegram.org/api/updates)| -|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| - - - -### Type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) - - -### Example: - -```php -$updates_channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'final' => Bool, 'pts' => int, 'timeout' => int]; -``` - - -Or, if you're into Lua: - -```lua -updates_channelDifferenceEmpty={_='updates.channelDifferenceEmpty', final=Bool, pts=int, timeout=int} - -``` - - diff --git a/old_docs/API_docs_v41/constructors/updates_channelDifferenceTooLong.md b/old_docs/API_docs_v41/constructors/updates_channelDifferenceTooLong.md deleted file mode 100644 index 08ddaa5b..00000000 --- a/old_docs/API_docs_v41/constructors/updates_channelDifferenceTooLong.md +++ /dev/null @@ -1,58 +0,0 @@ ---- -title: updates.channelDifferenceTooLong -description: The provided `pts + limit < remote pts`. Simply, there are too many updates to be fetched (more than `limit`), the client has to resolve the update gap in one of the following ways: - -1. Delete all known messages in the chat, begin from scratch by refetching all messages manually with [getHistory](../methods/messages.getHistory.md). It is easy to implement, but suddenly disappearing messages looks awful for the user. -2. Save all messages loaded in the memory until application restart, but delete all messages from database. Messages left in the memory must be lazily updated using calls to [getHistory](../methods/messages.getHistory.md). It looks much smoothly for the user, he will need to redownload messages only after client restart. Unsynchronized messages left in the memory shouldn't be saved to database, results of [getHistory](../methods/messages.getHistory.md) and [getMessages](../methods/messages.getMessages.md) must be used to update state of deleted and edited messages left in the memory. -3. Save all messages loaded in the memory and stored in the database without saving that some messages form continuous ranges. Messages in the database will be excluded from results of getChatHistory and searchChatMessages after application restart and will be available only through getMessage. Every message should still be checked using getHistory. It has more disadvantages over 2) than advantages. -4. Save all messages with saving all data about continuous message ranges. Messages from the database may be used as results of getChatHistory and (if implemented continuous ranges support for searching shared media) searchChatMessages. The messages should still be lazily checked using getHistory, but they are still available offline. It is the best way for gaps support, but it is pretty hard to implement correctly. It should be also noted that some messages like live location messages shouldn't be deleted. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.channelDifferenceTooLong -[Back to constructors index](index.md) - - - -The provided `pts + limit < remote pts`. Simply, there are too many updates to be fetched (more than `limit`), the client has to resolve the update gap in one of the following ways: - -1. Delete all known messages in the chat, begin from scratch by refetching all messages manually with [getHistory](../methods/messages.getHistory.md). It is easy to implement, but suddenly disappearing messages looks awful for the user. -2. Save all messages loaded in the memory until application restart, but delete all messages from database. Messages left in the memory must be lazily updated using calls to [getHistory](../methods/messages.getHistory.md). It looks much smoothly for the user, he will need to redownload messages only after client restart. Unsynchronized messages left in the memory shouldn't be saved to database, results of [getHistory](../methods/messages.getHistory.md) and [getMessages](../methods/messages.getMessages.md) must be used to update state of deleted and edited messages left in the memory. -3. Save all messages loaded in the memory and stored in the database without saving that some messages form continuous ranges. Messages in the database will be excluded from results of getChatHistory and searchChatMessages after application restart and will be available only through getMessage. Every message should still be checked using getHistory. It has more disadvantages over 2) than advantages. -4. Save all messages with saving all data about continuous message ranges. Messages from the database may be used as results of getChatHistory and (if implemented continuous ranges support for searching shared media) searchChatMessages. The messages should still be lazily checked using getHistory, but they are still available offline. It is the best way for gaps support, but it is pretty hard to implement correctly. It should be also noted that some messages like live location messages shouldn't be deleted. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates that must be fetched (always false)| -|pts|[int](../types/int.md) | Yes|Pts| -|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| -|top\_message|[int](../types/int.md) | Yes|Top message| -|top\_important\_message|[int](../types/int.md) | Yes|Top important message| -|read\_inbox\_max\_id|[int](../types/int.md) | Yes|Read inbox max ID| -|unread\_count|[int](../types/int.md) | Yes|Unread count| -|unread\_important\_count|[int](../types/int.md) | Yes|Unread important count| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) - - -### Example: - -```php -$updates_channelDifferenceTooLong = ['_' => 'updates.channelDifferenceTooLong', 'final' => Bool, 'pts' => int, 'timeout' => int, 'top_message' => int, 'top_important_message' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'unread_important_count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -updates_channelDifferenceTooLong={_='updates.channelDifferenceTooLong', final=Bool, pts=int, timeout=int, top_message=int, top_important_message=int, read_inbox_max_id=int, unread_count=int, unread_important_count=int, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v41/constructors/updates_difference.md b/old_docs/API_docs_v41/constructors/updates_difference.md deleted file mode 100644 index 71ac7d4c..00000000 --- a/old_docs/API_docs_v41/constructors/updates_difference.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: updates.difference -description: Full list of occurred events. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.difference -[Back to constructors index](index.md) - - - -Full list of occurred events. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| -|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| -|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| -|state|[updates\_State](../types/updates_State.md) | Yes|Current state| - - - -### Type: [updates\_Difference](../types/updates_Difference.md) - - -### Example: - -```php -$updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates_State]; -``` - - -Or, if you're into Lua: - -```lua -updates_difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates_State} - -``` - - diff --git a/old_docs/API_docs_v41/constructors/updates_differenceEmpty.md b/old_docs/API_docs_v41/constructors/updates_differenceEmpty.md deleted file mode 100644 index c3c95c5a..00000000 --- a/old_docs/API_docs_v41/constructors/updates_differenceEmpty.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: updates.differenceEmpty -description: No events. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.differenceEmpty -[Back to constructors index](index.md) - - - -No events. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Current date| -|seq|[int](../types/int.md) | Yes|Number of sent updates| - - - -### Type: [updates\_Difference](../types/updates_Difference.md) - - -### Example: - -```php -$updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int]; -``` - - -Or, if you're into Lua: - -```lua -updates_differenceEmpty={_='updates.differenceEmpty', date=int, seq=int} - -``` - - diff --git a/old_docs/API_docs_v41/constructors/updates_differenceSlice.md b/old_docs/API_docs_v41/constructors/updates_differenceSlice.md deleted file mode 100644 index 8b12a369..00000000 --- a/old_docs/API_docs_v41/constructors/updates_differenceSlice.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: updates.differenceSlice -description: Incomplete list of occurred events. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.differenceSlice -[Back to constructors index](index.md) - - - -Incomplete list of occurred events. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| -|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| -|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| -|intermediate\_state|[updates\_State](../types/updates_State.md) | Yes|Intermediary state| - - - -### Type: [updates\_Difference](../types/updates_Difference.md) - - -### Example: - -```php -$updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'intermediate_state' => updates_State]; -``` - - -Or, if you're into Lua: - -```lua -updates_differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates_State} - -``` - - diff --git a/old_docs/API_docs_v41/constructors/updates_state.md b/old_docs/API_docs_v41/constructors/updates_state.md deleted file mode 100644 index ef3698e2..00000000 --- a/old_docs/API_docs_v41/constructors/updates_state.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: updates.state -description: Updates state. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.state -[Back to constructors index](index.md) - - - -Updates state. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| -|qts|[int](../types/int.md) | Yes|Position in a sequence of updates in secret chats. For further detailes refer to article [secret chats](https://core.telegram.org/api/end-to-end)
Parameter was added in [eigth layer](https://core.telegram.org/api/layers#layer-8).| -|date|[int](../types/int.md) | Yes|Date of condition| -|seq|[int](../types/int.md) | Yes|Number of sent updates| -|unread\_count|[int](../types/int.md) | Yes|Number of unread messages| - - - -### Type: [updates\_State](../types/updates_State.md) - - -### Example: - -```php -$updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int]; -``` - - -Or, if you're into Lua: - -```lua -updates_state={_='updates.state', pts=int, qts=int, date=int, seq=int, unread_count=int} - -``` - - diff --git a/old_docs/API_docs_v41/constructors/upload.file.md b/old_docs/API_docs_v41/constructors/upload.file.md new file mode 100644 index 00000000..145a4c24 --- /dev/null +++ b/old_docs/API_docs_v41/constructors/upload.file.md @@ -0,0 +1,40 @@ +--- +title: upload.file +description: File content. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: upload.file +[Back to constructors index](index.md) + + + +File content. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|type|[storage.FileType](../constructors/storage.FileType.md) | Yes|File type| +|mtime|[int](../types/int.md) | Yes|Modification type| +|bytes|[bytes](../types/bytes.md) | Yes|Binary data, file content| + + + +### Type: [upload.File](../types/upload.File.md) + + +### Example: + +```php +$upload.file = ['_' => 'upload.file', 'type' => storage.FileType, 'mtime' => int, 'bytes' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +upload.file={_='upload.file', type=storage.FileType, mtime=int, bytes='bytes'} + +``` + + diff --git a/old_docs/API_docs_v41/constructors/upload_file.md b/old_docs/API_docs_v41/constructors/upload_file.md deleted file mode 100644 index 1e07d9fb..00000000 --- a/old_docs/API_docs_v41/constructors/upload_file.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: upload.file -description: File content. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: upload.file -[Back to constructors index](index.md) - - - -File content. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|type|[storage\_FileType](../types/storage_FileType.md) | Yes|File type| -|mtime|[int](../types/int.md) | Yes|Modification type| -|bytes|[bytes](../types/bytes.md) | Yes|Binary data, file content| - - - -### Type: [upload\_File](../types/upload_File.md) - - -### Example: - -```php -$upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int, 'bytes' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -upload_file={_='upload.file', type=storage_FileType, mtime=int, bytes='bytes'} - -``` - - diff --git a/old_docs/API_docs_v41/constructors/userFull.md b/old_docs/API_docs_v41/constructors/userFull.md index 67913fec..129a02d0 100644 --- a/old_docs/API_docs_v41/constructors/userFull.md +++ b/old_docs/API_docs_v41/constructors/userFull.md @@ -15,7 +15,7 @@ Extended user info | Name | Type | Required | Description | |----------|---------------|----------|-------------| |user|[User](../types/User.md) | Optional|Remaining user info| -|link|[contacts\_Link](../types/contacts_Link.md) | Yes|Link| +|link|[contacts.Link](../constructors/contacts.Link.md) | Yes|Link| |profile\_photo|[Photo](../types/Photo.md) | Optional|Profile photo| |notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Optional|Notification settings| |blocked|[Bool](../types/Bool.md) | Yes|Blocked?| @@ -29,14 +29,14 @@ Extended user info ### Example: ```php -$userFull = ['_' => 'userFull', 'user' => User, 'link' => contacts_Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'blocked' => Bool, 'bot_info' => BotInfo]; +$userFull = ['_' => 'userFull', 'user' => User, 'link' => contacts.Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'blocked' => Bool, 'bot_info' => BotInfo]; ``` Or, if you're into Lua: ```lua -userFull={_='userFull', user=User, link=contacts_Link, profile_photo=Photo, notify_settings=PeerNotifySettings, blocked=Bool, bot_info=BotInfo} +userFull={_='userFull', user=User, link=contacts.Link, profile_photo=Photo, notify_settings=PeerNotifySettings, blocked=Bool, bot_info=BotInfo} ``` diff --git a/old_docs/API_docs_v41/methods/account.getAuthorizations.md b/old_docs/API_docs_v41/methods/account.getAuthorizations.md index f69c130a..fad3a7ae 100644 --- a/old_docs/API_docs_v41/methods/account.getAuthorizations.md +++ b/old_docs/API_docs_v41/methods/account.getAuthorizations.md @@ -11,7 +11,7 @@ Get logged-in sessions -### Return type: [account\_Authorizations](../types/account_Authorizations.md) +### Return type: [account.Authorizations](../types/account.Authorizations.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_Authorizations = $MadelineProto->account->getAuthorizations(); +$account.Authorizations = $MadelineProto->account->getAuthorizations(); ``` Or, if you're into Lua: ```lua -account_Authorizations = account.getAuthorizations({}) +account.Authorizations = account.getAuthorizations({}) ``` diff --git a/old_docs/API_docs_v41/methods/account.getPassword.md b/old_docs/API_docs_v41/methods/account.getPassword.md index eed4aee3..621271b6 100644 --- a/old_docs/API_docs_v41/methods/account.getPassword.md +++ b/old_docs/API_docs_v41/methods/account.getPassword.md @@ -11,7 +11,7 @@ Obtain configuration for two-factor authorization with password -### Return type: [account\_Password](../types/account_Password.md) +### Return type: [account.Password](../types/account.Password.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_Password = $MadelineProto->account->getPassword(); +$account.Password = $MadelineProto->account->getPassword(); ``` Or, if you're into Lua: ```lua -account_Password = account.getPassword({}) +account.Password = account.getPassword({}) ``` diff --git a/old_docs/API_docs_v41/methods/account.getPasswordSettings.md b/old_docs/API_docs_v41/methods/account.getPasswordSettings.md index dcdae61a..3d3cce08 100644 --- a/old_docs/API_docs_v41/methods/account.getPasswordSettings.md +++ b/old_docs/API_docs_v41/methods/account.getPasswordSettings.md @@ -16,7 +16,7 @@ You cannot use this method directly; use $MadelineProto->update_2fa($params), in |current\_password\_hash|[bytes](../types/bytes.md) | You cannot use this method directly; use $MadelineProto->update_2fa($params), instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [account\_PasswordSettings](../types/account_PasswordSettings.md) +### Return type: [account.PasswordSettings](../types/account.PasswordSettings.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_PasswordSettings = $MadelineProto->account->getPasswordSettings(['current_password_hash' => 'bytes', ]); +$account.PasswordSettings = $MadelineProto->account->getPasswordSettings(['current_password_hash' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -account_PasswordSettings = account.getPasswordSettings({current_password_hash='bytes', }) +account.PasswordSettings = account.getPasswordSettings({current_password_hash='bytes', }) ``` ### Errors diff --git a/old_docs/API_docs_v41/methods/account.getPrivacy.md b/old_docs/API_docs_v41/methods/account.getPrivacy.md index 6a240129..e20c292c 100644 --- a/old_docs/API_docs_v41/methods/account.getPrivacy.md +++ b/old_docs/API_docs_v41/methods/account.getPrivacy.md @@ -16,7 +16,7 @@ Get privacy settings of current account |key|[InputPrivacyKey](../types/InputPrivacyKey.md) | Peer category whose privacy settings should be fetched | Yes| -### Return type: [account\_PrivacyRules](../types/account_PrivacyRules.md) +### Return type: [account.PrivacyRules](../types/account.PrivacyRules.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_PrivacyRules = $MadelineProto->account->getPrivacy(['key' => InputPrivacyKey, ]); +$account.PrivacyRules = $MadelineProto->account->getPrivacy(['key' => InputPrivacyKey, ]); ``` Or, if you're into Lua: ```lua -account_PrivacyRules = account.getPrivacy({key=InputPrivacyKey, }) +account.PrivacyRules = account.getPrivacy({key=InputPrivacyKey, }) ``` ### Errors diff --git a/old_docs/API_docs_v41/methods/account.sendChangePhoneCode.md b/old_docs/API_docs_v41/methods/account.sendChangePhoneCode.md index 169fa15b..e70372de 100644 --- a/old_docs/API_docs_v41/methods/account.sendChangePhoneCode.md +++ b/old_docs/API_docs_v41/methods/account.sendChangePhoneCode.md @@ -16,7 +16,7 @@ Verify a new phone number to associate to the current account |phone\_number|[string](../types/string.md) | New phone number | Yes| -### Return type: [account\_SentChangePhoneCode](../types/account_SentChangePhoneCode.md) +### Return type: [account.SentChangePhoneCode](../types/account.SentChangePhoneCode.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_SentChangePhoneCode = $MadelineProto->account->sendChangePhoneCode(['phone_number' => 'string', ]); +$account.SentChangePhoneCode = $MadelineProto->account->sendChangePhoneCode(['phone_number' => 'string', ]); ``` Or, if you're into Lua: ```lua -account_SentChangePhoneCode = account.sendChangePhoneCode({phone_number='string', }) +account.SentChangePhoneCode = account.sendChangePhoneCode({phone_number='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v41/methods/account.setPrivacy.md b/old_docs/API_docs_v41/methods/account.setPrivacy.md index 7c4cfba7..096d373e 100644 --- a/old_docs/API_docs_v41/methods/account.setPrivacy.md +++ b/old_docs/API_docs_v41/methods/account.setPrivacy.md @@ -17,7 +17,7 @@ Change privacy settings of current account |rules|Array of [InputPrivacyRule](../types/InputPrivacyRule.md) | Privacy settings | Yes| -### Return type: [account\_PrivacyRules](../types/account_PrivacyRules.md) +### Return type: [account.PrivacyRules](../types/account.PrivacyRules.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_PrivacyRules = $MadelineProto->account->setPrivacy(['key' => InputPrivacyKey, 'rules' => [InputPrivacyRule, InputPrivacyRule], ]); +$account.PrivacyRules = $MadelineProto->account->setPrivacy(['key' => InputPrivacyKey, 'rules' => [InputPrivacyRule, InputPrivacyRule], ]); ``` Or, if you're into Lua: ```lua -account_PrivacyRules = account.setPrivacy({key=InputPrivacyKey, rules={InputPrivacyRule}, }) +account.PrivacyRules = account.setPrivacy({key=InputPrivacyKey, rules={InputPrivacyRule}, }) ``` ### Errors diff --git a/old_docs/API_docs_v41/methods/api_README.md b/old_docs/API_docs_v41/methods/api_README.md index 63a32f01..1563a06f 100644 --- a/old_docs/API_docs_v41/methods/api_README.md +++ b/old_docs/API_docs_v41/methods/api_README.md @@ -52,7 +52,7 @@ $MadelineProto->[account->getAccountTTL](account.getAccountTTL.md)(\[\]) === [$A ***

-$MadelineProto->[account->getAuthorizations](account.getAuthorizations.md)(\[\]) === [$account\_Authorizations](../types/account_Authorizations.md) +$MadelineProto->[account->getAuthorizations](account.getAuthorizations.md)(\[\]) === [$account.Authorizations](../types/account.Authorizations.md) ***

@@ -60,15 +60,15 @@ $MadelineProto->[account->getNotifySettings](account.getNotifySettings.md)(\['pe ***

-$MadelineProto->[account->getPassword](account.getPassword.md)(\[\]) === [$account\_Password](../types/account_Password.md) +$MadelineProto->[account->getPassword](account.getPassword.md)(\[\]) === [$account.Password](../types/account.Password.md) ***

-$MadelineProto->[account->getPasswordSettings](account.getPasswordSettings.md)(\['current_password_hash' => [bytes](../types/bytes.md), \]) === [$account\_PasswordSettings](../types/account_PasswordSettings.md) +$MadelineProto->[account->getPasswordSettings](account.getPasswordSettings.md)(\['current_password_hash' => [bytes](../types/bytes.md), \]) === [$account.PasswordSettings](../types/account.PasswordSettings.md) ***

-$MadelineProto->[account->getPrivacy](account.getPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), \]) === [$account\_PrivacyRules](../types/account_PrivacyRules.md) +$MadelineProto->[account->getPrivacy](account.getPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), \]) === [$account.PrivacyRules](../types/account.PrivacyRules.md) ***

@@ -88,7 +88,7 @@ $MadelineProto->[account->resetNotifySettings](account.resetNotifySettings.md)(\ ***

-$MadelineProto->[account->sendChangePhoneCode](account.sendChangePhoneCode.md)(\['phone_number' => [string](../types/string.md), \]) === [$account\_SentChangePhoneCode](../types/account_SentChangePhoneCode.md) +$MadelineProto->[account->sendChangePhoneCode](account.sendChangePhoneCode.md)(\['phone_number' => [string](../types/string.md), \]) === [$account.SentChangePhoneCode](../types/account.SentChangePhoneCode.md) ***

@@ -96,7 +96,7 @@ $MadelineProto->[account->setAccountTTL](account.setAccountTTL.md)(\['ttl' => [A ***

-$MadelineProto->[account->setPrivacy](account.setPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), 'rules' => \[[InputPrivacyRule](../types/InputPrivacyRule.md)\], \]) === [$account\_PrivacyRules](../types/account_PrivacyRules.md) +$MadelineProto->[account->setPrivacy](account.setPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), 'rules' => \[[InputPrivacyRule](../types/InputPrivacyRule.md)\], \]) === [$account.PrivacyRules](../types/account.PrivacyRules.md) ***

@@ -132,23 +132,23 @@ $MadelineProto->[auth->bindTempAuthKey](auth.bindTempAuthKey.md)(\['perm_auth_ke ***

-$MadelineProto->[auth->checkPassword](auth.checkPassword.md)(\['password_hash' => [bytes](../types/bytes.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->checkPassword](auth.checkPassword.md)(\['password_hash' => [bytes](../types/bytes.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

-$MadelineProto->[auth->checkPhone](auth.checkPhone.md)(\['phone_number' => [string](../types/string.md), \]) === [$auth\_CheckedPhone](../types/auth_CheckedPhone.md) +$MadelineProto->[auth->checkPhone](auth.checkPhone.md)(\['phone_number' => [string](../types/string.md), \]) === [$auth.CheckedPhone](../types/auth.CheckedPhone.md) ***

-$MadelineProto->[auth->exportAuthorization](auth.exportAuthorization.md)(\['dc_id' => [int](../types/int.md), \]) === [$auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) +$MadelineProto->[auth->exportAuthorization](auth.exportAuthorization.md)(\['dc_id' => [int](../types/int.md), \]) === [$auth.ExportedAuthorization](../types/auth.ExportedAuthorization.md) ***

-$MadelineProto->[auth->importAuthorization](auth.importAuthorization.md)(\['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->importAuthorization](auth.importAuthorization.md)(\['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

-$MadelineProto->[auth->importBotAuthorization](auth.importBotAuthorization.md)(\['api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), 'bot_auth_token' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->importBotAuthorization](auth.importBotAuthorization.md)(\['api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), 'bot_auth_token' => [string](../types/string.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

@@ -156,11 +156,11 @@ $MadelineProto->[auth->logOut](auth.logOut.md)(\[\]) === [$Bool](../types/Bool.m ***

-$MadelineProto->[auth->recoverPassword](auth.recoverPassword.md)(\['code' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->recoverPassword](auth.recoverPassword.md)(\['code' => [string](../types/string.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

-$MadelineProto->[auth->requestPasswordRecovery](auth.requestPasswordRecovery.md)(\[\]) === [$auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) +$MadelineProto->[auth->requestPasswordRecovery](auth.requestPasswordRecovery.md)(\[\]) === [$auth.PasswordRecovery](../types/auth.PasswordRecovery.md) ***

@@ -172,7 +172,7 @@ $MadelineProto->[auth->sendCall](auth.sendCall.md)(\['phone_number' => [string]( ***

-$MadelineProto->[auth->sendCode](auth.sendCode.md)(\['phone_number' => [string](../types/string.md), 'sms_type' => [int](../types/int.md), 'api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) === [$auth\_SentCode](../types/auth_SentCode.md) +$MadelineProto->[auth->sendCode](auth.sendCode.md)(\['phone_number' => [string](../types/string.md), 'sms_type' => [int](../types/int.md), 'api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) === [$auth.SentCode](../types/auth.SentCode.md) ***

@@ -184,11 +184,11 @@ $MadelineProto->[auth->sendSms](auth.sendSms.md)(\['phone_number' => [string](.. ***

-$MadelineProto->[auth->signIn](auth.signIn.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->signIn](auth.signIn.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

-$MadelineProto->[auth->signUp](auth.signUp.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->signUp](auth.signUp.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

@@ -204,11 +204,11 @@ $MadelineProto->[channels->deleteChannel](channels.deleteChannel.md)(\['channel' ***

-$MadelineProto->[channels->deleteMessages](channels.deleteMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) +$MadelineProto->[channels->deleteMessages](channels.deleteMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages.AffectedMessages](../types/messages.AffectedMessages.md) ***

-$MadelineProto->[channels->deleteUserHistory](channels.deleteUserHistory.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages\_AffectedHistory](../types/messages_AffectedHistory.md) +$MadelineProto->[channels->deleteUserHistory](channels.deleteUserHistory.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages.AffectedHistory](../types/messages.AffectedHistory.md) ***

@@ -232,31 +232,31 @@ $MadelineProto->[channels->exportInvite](channels.exportInvite.md)(\['channel' = ***

-$MadelineProto->[channels->getChannels](channels.getChannels.md)(\['id' => \[[InputChannel](../types/InputChannel.md)\], \]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[channels->getChannels](channels.getChannels.md)(\['id' => \[[InputChannel](../types/InputChannel.md)\], \]) === [$messages.Chats](../types/messages.Chats.md) ***

-$MadelineProto->[channels->getDialogs](channels.getDialogs.md)(\['offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages\_Dialogs](../types/messages_Dialogs.md) +$MadelineProto->[channels->getDialogs](channels.getDialogs.md)(\['offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages.Dialogs](../types/messages.Dialogs.md) ***

-$MadelineProto->[channels->getFullChannel](channels.getFullChannel.md)(\['channel' => [InputChannel](../types/InputChannel.md), \]) === [$messages\_ChatFull](../types/messages_ChatFull.md) +$MadelineProto->[channels->getFullChannel](channels.getFullChannel.md)(\['channel' => [InputChannel](../types/InputChannel.md), \]) === [$messages.ChatFull](../types/messages.ChatFull.md) ***

-$MadelineProto->[channels->getImportantHistory](channels.getImportantHistory.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'offset_id' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[channels->getImportantHistory](channels.getImportantHistory.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'offset_id' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[channels->getMessages](channels.getMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[channels->getMessages](channels.getMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[channels->getParticipant](channels.getParticipant.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$channels\_ChannelParticipant](../types/channels_ChannelParticipant.md) +$MadelineProto->[channels->getParticipant](channels.getParticipant.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$channels.ChannelParticipant](../types/channels.ChannelParticipant.md) ***

-$MadelineProto->[channels->getParticipants](channels.getParticipants.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$channels\_ChannelParticipants](../types/channels_ChannelParticipants.md) +$MadelineProto->[channels->getParticipants](channels.getParticipants.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$channels.ChannelParticipants](../types/channels.ChannelParticipants.md) ***

@@ -296,7 +296,7 @@ $MadelineProto->[contacts->block](contacts.block.md)(\['id' => [InputUser](../ty ***

-$MadelineProto->[contacts->deleteContact](contacts.deleteContact.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$contacts\_Link](../types/contacts_Link.md) +$MadelineProto->[contacts->deleteContact](contacts.deleteContact.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$contacts.Link](../types/contacts.Link.md) ***

@@ -308,11 +308,11 @@ $MadelineProto->[contacts->exportCard](contacts.exportCard.md)(\[\]) === [$Vecto ***

-$MadelineProto->[contacts->getBlocked](contacts.getBlocked.md)(\['offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$contacts\_Blocked](../types/contacts_Blocked.md) +$MadelineProto->[contacts->getBlocked](contacts.getBlocked.md)(\['offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$contacts.Blocked](../types/contacts.Blocked.md) ***

-$MadelineProto->[contacts->getContacts](contacts.getContacts.md)(\['hash' => [string](../types/string.md), \]) === [$contacts\_Contacts](../types/contacts_Contacts.md) +$MadelineProto->[contacts->getContacts](contacts.getContacts.md)(\['hash' => [string](../types/string.md), \]) === [$contacts.Contacts](../types/contacts.Contacts.md) ***

@@ -320,7 +320,7 @@ $MadelineProto->[contacts->getStatuses](contacts.getStatuses.md)(\[\]) === [$Vec ***

-$MadelineProto->[contacts->getSuggested](contacts.getSuggested.md)(\['limit' => [int](../types/int.md), \]) === [$contacts\_Suggested](../types/contacts_Suggested.md) +$MadelineProto->[contacts->getSuggested](contacts.getSuggested.md)(\['limit' => [int](../types/int.md), \]) === [$contacts.Suggested](../types/contacts.Suggested.md) ***

@@ -328,15 +328,15 @@ $MadelineProto->[contacts->importCard](contacts.importCard.md)(\['export_card' = ***

-$MadelineProto->[contacts->importContacts](contacts.importContacts.md)(\['contacts' => \[[InputContact](../types/InputContact.md)\], 'replace' => [Bool](../types/Bool.md), \]) === [$contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) +$MadelineProto->[contacts->importContacts](contacts.importContacts.md)(\['contacts' => \[[InputContact](../types/InputContact.md)\], 'replace' => [Bool](../types/Bool.md), \]) === [$contacts.ImportedContacts](../types/contacts.ImportedContacts.md) ***

-$MadelineProto->[contacts->resolveUsername](contacts.resolveUsername.md)(\['username' => [string](../types/string.md), \]) === [$contacts\_ResolvedPeer](../types/contacts_ResolvedPeer.md) +$MadelineProto->[contacts->resolveUsername](contacts.resolveUsername.md)(\['username' => [string](../types/string.md), \]) === [$contacts.ResolvedPeer](../types/contacts.ResolvedPeer.md) ***

-$MadelineProto->[contacts->search](contacts.search.md)(\['q' => [string](../types/string.md), 'limit' => [int](../types/int.md), \]) === [$contacts\_Found](../types/contacts_Found.md) +$MadelineProto->[contacts->search](contacts.search.md)(\['q' => [string](../types/string.md), 'limit' => [int](../types/int.md), \]) === [$contacts.Found](../types/contacts.Found.md) ***

@@ -344,11 +344,11 @@ $MadelineProto->[contacts->unblock](contacts.unblock.md)(\['id' => [InputUser](. ***

-$MadelineProto->[help->getAppChangelog](help.getAppChangelog.md)(\['device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) === [$help\_AppChangelog](../types/help_AppChangelog.md) +$MadelineProto->[help->getAppChangelog](help.getAppChangelog.md)(\['device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) === [$help.AppChangelog](../types/help.AppChangelog.md) ***

-$MadelineProto->[help->getAppUpdate](help.getAppUpdate.md)(\['device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) === [$help\_AppUpdate](../types/help_AppUpdate.md) +$MadelineProto->[help->getAppUpdate](help.getAppUpdate.md)(\['device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) === [$help.AppUpdate](../types/help.AppUpdate.md) ***

@@ -356,7 +356,7 @@ $MadelineProto->[help->getConfig](help.getConfig.md)(\[\]) === [$Config](../type ***

-$MadelineProto->[help->getInviteText](help.getInviteText.md)(\['lang_code' => [string](../types/string.md), \]) === [$help\_InviteText](../types/help_InviteText.md) +$MadelineProto->[help->getInviteText](help.getInviteText.md)(\['lang_code' => [string](../types/string.md), \]) === [$help.InviteText](../types/help.InviteText.md) ***

@@ -364,7 +364,7 @@ $MadelineProto->[help->getNearestDc](help.getNearestDc.md)(\[\]) === [$NearestDc ***

-$MadelineProto->[help->getSupport](help.getSupport.md)(\[\]) === [$help\_Support](../types/help_Support.md) +$MadelineProto->[help->getSupport](help.getSupport.md)(\[\]) === [$help.Support](../types/help.Support.md) ***

@@ -416,11 +416,11 @@ $MadelineProto->[messages->deleteChatUser](messages.deleteChatUser.md)(\['chat_i ***

-$MadelineProto->[messages->deleteHistory](messages.deleteHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), \]) === [$messages\_AffectedHistory](../types/messages_AffectedHistory.md) +$MadelineProto->[messages->deleteHistory](messages.deleteHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), \]) === [$messages.AffectedHistory](../types/messages.AffectedHistory.md) ***

-$MadelineProto->[messages->deleteMessages](messages.deleteMessages.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) +$MadelineProto->[messages->deleteMessages](messages.deleteMessages.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages.AffectedMessages](../types/messages.AffectedMessages.md) ***

@@ -452,31 +452,31 @@ $MadelineProto->[messages->forwardMessages](messages.forwardMessages.md)(\['broa ***

-$MadelineProto->[messages->getAllStickers](messages.getAllStickers.md)(\['hash' => [string](../types/string.md), \]) === [$messages\_AllStickers](../types/messages_AllStickers.md) +$MadelineProto->[messages->getAllStickers](messages.getAllStickers.md)(\['hash' => [string](../types/string.md), \]) === [$messages.AllStickers](../types/messages.AllStickers.md) ***

-$MadelineProto->[messages->getChats](messages.getChats.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[messages->getChats](messages.getChats.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages.Chats](../types/messages.Chats.md) ***

-$MadelineProto->[messages->getDhConfig](messages.getDhConfig.md)(\['version' => [int](../types/int.md), 'random_length' => [int](../types/int.md), \]) === [$messages\_DhConfig](../types/messages_DhConfig.md) +$MadelineProto->[messages->getDhConfig](messages.getDhConfig.md)(\['version' => [int](../types/int.md), 'random_length' => [int](../types/int.md), \]) === [$messages.DhConfig](../types/messages.DhConfig.md) ***

-$MadelineProto->[messages->getDialogs](messages.getDialogs.md)(\['offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages\_Dialogs](../types/messages_Dialogs.md) +$MadelineProto->[messages->getDialogs](messages.getDialogs.md)(\['offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages.Dialogs](../types/messages.Dialogs.md) ***

-$MadelineProto->[messages->getFullChat](messages.getFullChat.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), \]) === [$messages\_ChatFull](../types/messages_ChatFull.md) +$MadelineProto->[messages->getFullChat](messages.getFullChat.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), \]) === [$messages.ChatFull](../types/messages.ChatFull.md) ***

-$MadelineProto->[messages->getHistory](messages.getHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->getHistory](messages.getHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[messages->getMessages](messages.getMessages.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->getMessages](messages.getMessages.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages.Messages](../types/messages.Messages.md) ***

@@ -484,11 +484,11 @@ $MadelineProto->[messages->getMessagesViews](messages.getMessagesViews.md)(\['pe ***

-$MadelineProto->[messages->getStickerSet](messages.getStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), \]) === [$messages\_StickerSet](../types/messages_StickerSet.md) +$MadelineProto->[messages->getStickerSet](messages.getStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), \]) === [$messages.StickerSet](../types/messages.StickerSet.md) ***

-$MadelineProto->[messages->getStickers](messages.getStickers.md)(\['emoticon' => [string](../types/string.md), 'hash' => [string](../types/string.md), \]) === [$messages\_Stickers](../types/messages_Stickers.md) +$MadelineProto->[messages->getStickers](messages.getStickers.md)(\['emoticon' => [string](../types/string.md), 'hash' => [string](../types/string.md), \]) === [$messages.Stickers](../types/messages.Stickers.md) ***

@@ -512,11 +512,11 @@ $MadelineProto->[messages->readEncryptedHistory](messages.readEncryptedHistory.m ***

-$MadelineProto->[messages->readHistory](messages.readHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), \]) === [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) +$MadelineProto->[messages->readHistory](messages.readHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), \]) === [$messages.AffectedMessages](../types/messages.AffectedMessages.md) ***

-$MadelineProto->[messages->readMessageContents](messages.readMessageContents.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) +$MadelineProto->[messages->readMessageContents](messages.readMessageContents.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages.AffectedMessages](../types/messages.AffectedMessages.md) ***

@@ -536,11 +536,11 @@ $MadelineProto->[messages->requestEncryption](messages.requestEncryption.md)(\[' ***

-$MadelineProto->[messages->search](messages.search.md)(\['important_only' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'q' => [string](../types/string.md), 'filter' => [MessagesFilter](../types/MessagesFilter.md), 'min_date' => [int](../types/int.md), 'max_date' => [int](../types/int.md), 'offset' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->search](messages.search.md)(\['important_only' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'q' => [string](../types/string.md), 'filter' => [MessagesFilter](../types/MessagesFilter.md), 'min_date' => [int](../types/int.md), 'max_date' => [int](../types/int.md), 'offset' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[messages->searchGlobal](messages.searchGlobal.md)(\['q' => [string](../types/string.md), 'offset_date' => [int](../types/int.md), 'offset_peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->searchGlobal](messages.searchGlobal.md)(\['q' => [string](../types/string.md), 'offset_date' => [int](../types/int.md), 'offset_peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

@@ -548,15 +548,15 @@ $MadelineProto->[messages->sendBroadcast](messages.sendBroadcast.md)(\['contacts ***

-$MadelineProto->[messages->sendEncrypted](messages.sendEncrypted.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'message' => [DecryptedMessage](../types/DecryptedMessage.md), \]) === [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +$MadelineProto->[messages->sendEncrypted](messages.sendEncrypted.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), \]) === [$messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ***

-$MadelineProto->[messages->sendEncryptedFile](messages.sendEncryptedFile.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'message' => [DecryptedMessage](../types/DecryptedMessage.md), 'file' => [InputEncryptedFile](../types/InputEncryptedFile.md), \]) === [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +$MadelineProto->[messages->sendEncryptedFile](messages.sendEncryptedFile.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), 'file' => [InputEncryptedFile](../types/InputEncryptedFile.md), \]) === [$messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ***

-$MadelineProto->[messages->sendEncryptedService](messages.sendEncryptedService.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'message' => [DecryptedMessage](../types/DecryptedMessage.md), \]) === [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +$MadelineProto->[messages->sendEncryptedService](messages.sendEncryptedService.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), \]) === [$messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ***

@@ -592,7 +592,7 @@ $MadelineProto->[photos->deletePhotos](photos.deletePhotos.md)(\['id' => \[[Inpu ***

-$MadelineProto->[photos->getUserPhotos](photos.getUserPhotos.md)(\['user_id' => [InputUser](../types/InputUser.md), 'offset' => [int](../types/int.md), 'max_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$photos\_Photos](../types/photos_Photos.md) +$MadelineProto->[photos->getUserPhotos](photos.getUserPhotos.md)(\['user_id' => [InputUser](../types/InputUser.md), 'offset' => [int](../types/int.md), 'max_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$photos.Photos](../types/photos.Photos.md) ***

@@ -600,23 +600,23 @@ $MadelineProto->[photos->updateProfilePhoto](photos.updateProfilePhoto.md)(\['id ***

-$MadelineProto->[photos->uploadProfilePhoto](photos.uploadProfilePhoto.md)(\['file' => [InputFile](../types/InputFile.md), 'caption' => [string](../types/string.md), 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'crop' => [InputPhotoCrop](../types/InputPhotoCrop.md), \]) === [$photos\_Photo](../types/photos_Photo.md) +$MadelineProto->[photos->uploadProfilePhoto](photos.uploadProfilePhoto.md)(\['file' => [InputFile](../types/InputFile.md), 'caption' => [string](../types/string.md), 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'crop' => [InputPhotoCrop](../types/InputPhotoCrop.md), \]) === [$photos.Photo](../types/photos.Photo.md) ***

-$MadelineProto->[updates->getChannelDifference](updates.getChannelDifference.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$updates\_ChannelDifference](../types/updates_ChannelDifference.md) +$MadelineProto->[updates->getChannelDifference](updates.getChannelDifference.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$updates.ChannelDifference](../types/updates.ChannelDifference.md) ***

-$MadelineProto->[updates->getDifference](updates.getDifference.md)(\['pts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) === [$updates\_Difference](../types/updates_Difference.md) +$MadelineProto->[updates->getDifference](updates.getDifference.md)(\['pts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) === [$updates.Difference](../types/updates.Difference.md) ***

-$MadelineProto->[updates->getState](updates.getState.md)(\[\]) === [$updates\_State](../types/updates_State.md) +$MadelineProto->[updates->getState](updates.getState.md)(\[\]) === [$updates.State](../types/updates.State.md) ***

-$MadelineProto->[upload->getFile](upload.getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_File](../types/upload_File.md) +$MadelineProto->[upload->getFile](upload.getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload.File](../types/upload.File.md) ***

diff --git a/old_docs/API_docs_v41/methods/auth.checkPassword.md b/old_docs/API_docs_v41/methods/auth.checkPassword.md index db65cb56..eeeed171 100644 --- a/old_docs/API_docs_v41/methods/auth.checkPassword.md +++ b/old_docs/API_docs_v41/methods/auth.checkPassword.md @@ -16,7 +16,7 @@ You cannot use this method directly, use the complete_2fa_login method instead ( |password\_hash|[bytes](../types/bytes.md) | You cannot use this method directly, use the complete_2fa_login method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->checkPassword(['password_hash' => 'bytes', ]); +$auth.Authorization = $MadelineProto->auth->checkPassword(['password_hash' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.checkPassword({password_hash='bytes', }) +auth.Authorization = auth.checkPassword({password_hash='bytes', }) ``` ### Errors diff --git a/old_docs/API_docs_v41/methods/auth.checkPhone.md b/old_docs/API_docs_v41/methods/auth.checkPhone.md index 227358cb..51d4cba6 100644 --- a/old_docs/API_docs_v41/methods/auth.checkPhone.md +++ b/old_docs/API_docs_v41/methods/auth.checkPhone.md @@ -16,7 +16,7 @@ Check if this phone number is registered on telegram |phone\_number|[string](../types/string.md) | The phone number to check | Yes| -### Return type: [auth\_CheckedPhone](../types/auth_CheckedPhone.md) +### Return type: [auth.CheckedPhone](../types/auth.CheckedPhone.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => 'string', ]); +$auth.CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_CheckedPhone = auth.checkPhone({phone_number='string', }) +auth.CheckedPhone = auth.checkPhone({phone_number='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v41/methods/auth.exportAuthorization.md b/old_docs/API_docs_v41/methods/auth.exportAuthorization.md index 72063a2b..41a1f87d 100644 --- a/old_docs/API_docs_v41/methods/auth.exportAuthorization.md +++ b/old_docs/API_docs_v41/methods/auth.exportAuthorization.md @@ -16,7 +16,7 @@ You cannot use this method directly, use $MadelineProto->exportAuthorization() i |dc\_id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| -### Return type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) +### Return type: [auth.ExportedAuthorization](../types/auth.ExportedAuthorization.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_ExportedAuthorization = $MadelineProto->auth->exportAuthorization(['dc_id' => int, ]); +$auth.ExportedAuthorization = $MadelineProto->auth->exportAuthorization(['dc_id' => int, ]); ``` Or, if you're into Lua: ```lua -auth_ExportedAuthorization = auth.exportAuthorization({dc_id=int, }) +auth.ExportedAuthorization = auth.exportAuthorization({dc_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v41/methods/auth.importAuthorization.md b/old_docs/API_docs_v41/methods/auth.importAuthorization.md index d9c13751..5257e0b0 100644 --- a/old_docs/API_docs_v41/methods/auth.importAuthorization.md +++ b/old_docs/API_docs_v41/methods/auth.importAuthorization.md @@ -17,7 +17,7 @@ You cannot use this method directly, use $MadelineProto->importAuthorization($au |bytes|[bytes](../types/bytes.md) | You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => 'bytes', ]); +$auth.Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.importAuthorization({id=int, bytes='bytes', }) +auth.Authorization = auth.importAuthorization({id=int, bytes='bytes', }) ``` ### Errors diff --git a/old_docs/API_docs_v41/methods/auth.importBotAuthorization.md b/old_docs/API_docs_v41/methods/auth.importBotAuthorization.md index 3161d6be..a4ea8027 100644 --- a/old_docs/API_docs_v41/methods/auth.importBotAuthorization.md +++ b/old_docs/API_docs_v41/methods/auth.importBotAuthorization.md @@ -18,7 +18,7 @@ You cannot use this method directly, use the botLogin method instead (see https: |bot\_auth\_token|[string](../types/string.md) | You cannot use this method directly, use the botLogin method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **YES** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->importBotAuthorization(['api_id' => int, 'api_hash' => 'string', 'bot_auth_token' => 'string', ]); +$auth.Authorization = $MadelineProto->auth->importBotAuthorization(['api_id' => int, 'api_hash' => 'string', 'bot_auth_token' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.importBotAuthorization({api_id=int, api_hash='string', bot_auth_token='string', }) +auth.Authorization = auth.importBotAuthorization({api_id=int, api_hash='string', bot_auth_token='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v41/methods/auth.recoverPassword.md b/old_docs/API_docs_v41/methods/auth.recoverPassword.md index f7cbf4a4..2e78444b 100644 --- a/old_docs/API_docs_v41/methods/auth.recoverPassword.md +++ b/old_docs/API_docs_v41/methods/auth.recoverPassword.md @@ -16,7 +16,7 @@ Reset the [2FA password](https://core.telegram.org/api/srp) using the recovery c |code|[string](../types/string.md) | Code received via email | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->recoverPassword(['code' => 'string', ]); +$auth.Authorization = $MadelineProto->auth->recoverPassword(['code' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.recoverPassword({code='string', }) +auth.Authorization = auth.recoverPassword({code='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v41/methods/auth.requestPasswordRecovery.md b/old_docs/API_docs_v41/methods/auth.requestPasswordRecovery.md index 5cd77936..ff1ecc02 100644 --- a/old_docs/API_docs_v41/methods/auth.requestPasswordRecovery.md +++ b/old_docs/API_docs_v41/methods/auth.requestPasswordRecovery.md @@ -11,7 +11,7 @@ Request recovery code of a [2FA password](https://core.telegram.org/api/srp), on -### Return type: [auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) +### Return type: [auth.PasswordRecovery](../types/auth.PasswordRecovery.md) ### Can bots use this method: **NO** @@ -28,13 +28,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_PasswordRecovery = $MadelineProto->auth->requestPasswordRecovery(); +$auth.PasswordRecovery = $MadelineProto->auth->requestPasswordRecovery(); ``` Or, if you're into Lua: ```lua -auth_PasswordRecovery = auth.requestPasswordRecovery({}) +auth.PasswordRecovery = auth.requestPasswordRecovery({}) ``` ### Errors diff --git a/old_docs/API_docs_v41/methods/auth.sendCode.md b/old_docs/API_docs_v41/methods/auth.sendCode.md index 9fa1a0c7..68b6ff31 100644 --- a/old_docs/API_docs_v41/methods/auth.sendCode.md +++ b/old_docs/API_docs_v41/methods/auth.sendCode.md @@ -20,7 +20,7 @@ You cannot use this method directly, use the phoneLogin method instead (see http |lang\_code|[string](../types/string.md) | You cannot use this method directly, use the phoneLogin method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_SentCode](../types/auth_SentCode.md) +### Return type: [auth.SentCode](../types/auth.SentCode.md) ### Can bots use this method: **NO** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_SentCode = $MadelineProto->auth->sendCode(['phone_number' => 'string', 'sms_type' => int, 'api_id' => int, 'api_hash' => 'string', 'lang_code' => 'string', ]); +$auth.SentCode = $MadelineProto->auth->sendCode(['phone_number' => 'string', 'sms_type' => int, 'api_id' => int, 'api_hash' => 'string', 'lang_code' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_SentCode = auth.sendCode({phone_number='string', sms_type=int, api_id=int, api_hash='string', lang_code='string', }) +auth.SentCode = auth.sendCode({phone_number='string', sms_type=int, api_id=int, api_hash='string', lang_code='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v41/methods/auth.signIn.md b/old_docs/API_docs_v41/methods/auth.signIn.md index 54812a2e..95b14f32 100644 --- a/old_docs/API_docs_v41/methods/auth.signIn.md +++ b/old_docs/API_docs_v41/methods/auth.signIn.md @@ -18,7 +18,7 @@ You cannot use this method directly, use the completePhoneLogin method instead ( |phone\_code|[string](../types/string.md) | You cannot use this method directly, use the completePhoneLogin method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->signIn(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', ]); +$auth.Authorization = $MadelineProto->auth->signIn(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.signIn({phone_number='string', phone_code_hash='string', phone_code='string', }) +auth.Authorization = auth.signIn({phone_number='string', phone_code_hash='string', phone_code='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v41/methods/auth.signUp.md b/old_docs/API_docs_v41/methods/auth.signUp.md index 2aca2bfa..fdb5d628 100644 --- a/old_docs/API_docs_v41/methods/auth.signUp.md +++ b/old_docs/API_docs_v41/methods/auth.signUp.md @@ -20,7 +20,7 @@ You cannot use this method directly, use the completeSignup method instead (see |last\_name|[string](../types/string.md) | You cannot use this method directly, use the completeSignup method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **NO** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->signUp(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', 'first_name' => 'string', 'last_name' => 'string', ]); +$auth.Authorization = $MadelineProto->auth->signUp(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', 'first_name' => 'string', 'last_name' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.signUp({phone_number='string', phone_code_hash='string', phone_code='string', first_name='string', last_name='string', }) +auth.Authorization = auth.signUp({phone_number='string', phone_code_hash='string', phone_code='string', first_name='string', last_name='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v41/methods/channels.deleteMessages.md b/old_docs/API_docs_v41/methods/channels.deleteMessages.md index 10a439fb..8583e560 100644 --- a/old_docs/API_docs_v41/methods/channels.deleteMessages.md +++ b/old_docs/API_docs_v41/methods/channels.deleteMessages.md @@ -17,7 +17,7 @@ Delete messages in a [channel/supergroup](https://core.telegram.org/api/channel) |id|Array of [int](../types/int.md) | The IDs of messages to delete | Yes| -### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) +### Return type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedMessages = $MadelineProto->channels->deleteMessages(['channel' => InputChannel, 'id' => [int, int], ]); +$messages.AffectedMessages = $MadelineProto->channels->deleteMessages(['channel' => InputChannel, 'id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AffectedMessages = channels.deleteMessages({channel=InputChannel, id={int}, }) +messages.AffectedMessages = channels.deleteMessages({channel=InputChannel, id={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v41/methods/channels.deleteUserHistory.md b/old_docs/API_docs_v41/methods/channels.deleteUserHistory.md index 9b8b159f..6ccaf7dd 100644 --- a/old_docs/API_docs_v41/methods/channels.deleteUserHistory.md +++ b/old_docs/API_docs_v41/methods/channels.deleteUserHistory.md @@ -17,7 +17,7 @@ Delete all messages sent by a certain user in a [supergroup](https://core.telegr |user\_id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | User whose messages should be deleted | Optional| -### Return type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) +### Return type: [messages.AffectedHistory](../types/messages.AffectedHistory.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedHistory = $MadelineProto->channels->deleteUserHistory(['channel' => InputChannel, 'user_id' => InputUser, ]); +$messages.AffectedHistory = $MadelineProto->channels->deleteUserHistory(['channel' => InputChannel, 'user_id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -messages_AffectedHistory = channels.deleteUserHistory({channel=InputChannel, user_id=InputUser, }) +messages.AffectedHistory = channels.deleteUserHistory({channel=InputChannel, user_id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v41/methods/channels.getChannels.md b/old_docs/API_docs_v41/methods/channels.getChannels.md index 368c96ce..ed9cf4a7 100644 --- a/old_docs/API_docs_v41/methods/channels.getChannels.md +++ b/old_docs/API_docs_v41/methods/channels.getChannels.md @@ -16,7 +16,7 @@ Get info about [channels/supergroups](https://core.telegram.org/api/channel) |id|Array of [Username, chat ID, Update, Message or InputChannel](../types/InputChannel.md) | The channel/supergroup MTProto IDs | Yes| -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->channels->getChannels(['id' => [InputChannel, InputChannel], ]); +$messages.Chats = $MadelineProto->channels->getChannels(['id' => [InputChannel, InputChannel], ]); ``` Or, if you're into Lua: ```lua -messages_Chats = channels.getChannels({id={InputChannel}, }) +messages.Chats = channels.getChannels({id={InputChannel}, }) ``` ### Errors diff --git a/old_docs/API_docs_v41/methods/channels.getDialogs.md b/old_docs/API_docs_v41/methods/channels.getDialogs.md index b75c785d..b9bfe655 100644 --- a/old_docs/API_docs_v41/methods/channels.getDialogs.md +++ b/old_docs/API_docs_v41/methods/channels.getDialogs.md @@ -17,7 +17,7 @@ Get channel dialogs |limit|[int](../types/int.md) | Number of results to return | Yes| -### Return type: [messages\_Dialogs](../types/messages_Dialogs.md) +### Return type: [messages.Dialogs](../types/messages.Dialogs.md) ### Can bots use this method: **YES** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Dialogs = $MadelineProto->channels->getDialogs(['offset' => int, 'limit' => int, ]); +$messages.Dialogs = $MadelineProto->channels->getDialogs(['offset' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Dialogs = channels.getDialogs({offset=int, limit=int, }) +messages.Dialogs = channels.getDialogs({offset=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v41/methods/channels.getFullChannel.md b/old_docs/API_docs_v41/methods/channels.getFullChannel.md index 08dc21bb..1369e0a0 100644 --- a/old_docs/API_docs_v41/methods/channels.getFullChannel.md +++ b/old_docs/API_docs_v41/methods/channels.getFullChannel.md @@ -16,7 +16,7 @@ You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo me |channel|[Username, chat ID, Update, Message or InputChannel](../types/InputChannel.md) | You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo methods instead (see https://docs.madelineproto.xyz for more info) | Optional| -### Return type: [messages\_ChatFull](../types/messages_ChatFull.md) +### Return type: [messages.ChatFull](../types/messages.ChatFull.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_ChatFull = $MadelineProto->channels->getFullChannel(['channel' => InputChannel, ]); +$messages.ChatFull = $MadelineProto->channels->getFullChannel(['channel' => InputChannel, ]); ``` Or, if you're into Lua: ```lua -messages_ChatFull = channels.getFullChannel({channel=InputChannel, }) +messages.ChatFull = channels.getFullChannel({channel=InputChannel, }) ``` ### Errors diff --git a/old_docs/API_docs_v41/methods/channels.getImportantHistory.md b/old_docs/API_docs_v41/methods/channels.getImportantHistory.md index 7375a015..5fe317b8 100644 --- a/old_docs/API_docs_v41/methods/channels.getImportantHistory.md +++ b/old_docs/API_docs_v41/methods/channels.getImportantHistory.md @@ -21,7 +21,7 @@ Get important channel/supergroup history |min\_id|[int](../types/int.md) | Minumum message ID | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **YES** @@ -38,12 +38,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->channels->getImportantHistory(['channel' => InputChannel, 'offset_id' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); +$messages.Messages = $MadelineProto->channels->getImportantHistory(['channel' => InputChannel, 'offset_id' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Messages = channels.getImportantHistory({channel=InputChannel, offset_id=int, add_offset=int, limit=int, max_id=int, min_id=int, }) +messages.Messages = channels.getImportantHistory({channel=InputChannel, offset_id=int, add_offset=int, limit=int, max_id=int, min_id=int, }) ``` diff --git a/old_docs/API_docs_v41/methods/channels.getMessages.md b/old_docs/API_docs_v41/methods/channels.getMessages.md index 379e0e9d..5023ea1a 100644 --- a/old_docs/API_docs_v41/methods/channels.getMessages.md +++ b/old_docs/API_docs_v41/methods/channels.getMessages.md @@ -17,7 +17,7 @@ Get [channel/supergroup](https://core.telegram.org/api/channel) messages |id|Array of [int](../types/int.md) | The message IDs | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->channels->getMessages(['channel' => InputChannel, 'id' => [int, int], ]); +$messages.Messages = $MadelineProto->channels->getMessages(['channel' => InputChannel, 'id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Messages = channels.getMessages({channel=InputChannel, id={int}, }) +messages.Messages = channels.getMessages({channel=InputChannel, id={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v41/methods/channels.getParticipant.md b/old_docs/API_docs_v41/methods/channels.getParticipant.md index aa2ce655..cf6a7771 100644 --- a/old_docs/API_docs_v41/methods/channels.getParticipant.md +++ b/old_docs/API_docs_v41/methods/channels.getParticipant.md @@ -17,7 +17,7 @@ Get info about a [channel/supergroup](https://core.telegram.org/api/channel) par |user\_id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | ID of participant to get info about | Optional| -### Return type: [channels\_ChannelParticipant](../types/channels_ChannelParticipant.md) +### Return type: [channels.ChannelParticipant](../types/channels.ChannelParticipant.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$channels_ChannelParticipant = $MadelineProto->channels->getParticipant(['channel' => InputChannel, 'user_id' => InputUser, ]); +$channels.ChannelParticipant = $MadelineProto->channels->getParticipant(['channel' => InputChannel, 'user_id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -channels_ChannelParticipant = channels.getParticipant({channel=InputChannel, user_id=InputUser, }) +channels.ChannelParticipant = channels.getParticipant({channel=InputChannel, user_id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v41/methods/channels.getParticipants.md b/old_docs/API_docs_v41/methods/channels.getParticipants.md index 9be95921..bfeccd48 100644 --- a/old_docs/API_docs_v41/methods/channels.getParticipants.md +++ b/old_docs/API_docs_v41/methods/channels.getParticipants.md @@ -19,7 +19,7 @@ Get the participants of a channel |limit|[int](../types/int.md) | [Limit](https://core.telegram.org/api/offsets) | Yes| -### Return type: [channels\_ChannelParticipants](../types/channels_ChannelParticipants.md) +### Return type: [channels.ChannelParticipants](../types/channels.ChannelParticipants.md) ### Can bots use this method: **YES** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$channels_ChannelParticipants = $MadelineProto->channels->getParticipants(['channel' => InputChannel, 'filter' => ChannelParticipantsFilter, 'offset' => int, 'limit' => int, ]); +$channels.ChannelParticipants = $MadelineProto->channels->getParticipants(['channel' => InputChannel, 'filter' => ChannelParticipantsFilter, 'offset' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -channels_ChannelParticipants = channels.getParticipants({channel=InputChannel, filter=ChannelParticipantsFilter, offset=int, limit=int, }) +channels.ChannelParticipants = channels.getParticipants({channel=InputChannel, filter=ChannelParticipantsFilter, offset=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v41/methods/contacts.deleteContact.md b/old_docs/API_docs_v41/methods/contacts.deleteContact.md index a9321d64..9169e1e0 100644 --- a/old_docs/API_docs_v41/methods/contacts.deleteContact.md +++ b/old_docs/API_docs_v41/methods/contacts.deleteContact.md @@ -16,7 +16,7 @@ Delete a contact |id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | The contact to delete | Optional| -### Return type: [contacts\_Link](../types/contacts_Link.md) +### Return type: [contacts.Link](../types/contacts.Link.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Link = $MadelineProto->contacts->deleteContact(['id' => InputUser, ]); +$contacts.Link = $MadelineProto->contacts->deleteContact(['id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -contacts_Link = contacts.deleteContact({id=InputUser, }) +contacts.Link = contacts.deleteContact({id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v41/methods/contacts.getBlocked.md b/old_docs/API_docs_v41/methods/contacts.getBlocked.md index 92f2f331..6ac1c343 100644 --- a/old_docs/API_docs_v41/methods/contacts.getBlocked.md +++ b/old_docs/API_docs_v41/methods/contacts.getBlocked.md @@ -17,7 +17,7 @@ Returns the list of blocked users. |limit|[int](../types/int.md) | The number of list elements to be returned | Yes| -### Return type: [contacts\_Blocked](../types/contacts_Blocked.md) +### Return type: [contacts.Blocked](../types/contacts.Blocked.md) ### Can bots use this method: **NO** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Blocked = $MadelineProto->contacts->getBlocked(['offset' => int, 'limit' => int, ]); +$contacts.Blocked = $MadelineProto->contacts->getBlocked(['offset' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -contacts_Blocked = contacts.getBlocked({offset=int, limit=int, }) +contacts.Blocked = contacts.getBlocked({offset=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v41/methods/contacts.getContacts.md b/old_docs/API_docs_v41/methods/contacts.getContacts.md index caee7aa8..a2fcd412 100644 --- a/old_docs/API_docs_v41/methods/contacts.getContacts.md +++ b/old_docs/API_docs_v41/methods/contacts.getContacts.md @@ -16,7 +16,7 @@ Returns the current user's contact list. |hash|[string](../types/string.md) | List of contact user IDs you already cached | Yes| -### Return type: [contacts\_Contacts](../types/contacts_Contacts.md) +### Return type: [contacts.Contacts](../types/contacts.Contacts.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Contacts = $MadelineProto->contacts->getContacts(['hash' => 'string', ]); +$contacts.Contacts = $MadelineProto->contacts->getContacts(['hash' => 'string', ]); ``` Or, if you're into Lua: ```lua -contacts_Contacts = contacts.getContacts({hash='string', }) +contacts.Contacts = contacts.getContacts({hash='string', }) ``` diff --git a/old_docs/API_docs_v41/methods/contacts.getSuggested.md b/old_docs/API_docs_v41/methods/contacts.getSuggested.md index 32e96621..ede222d4 100644 --- a/old_docs/API_docs_v41/methods/contacts.getSuggested.md +++ b/old_docs/API_docs_v41/methods/contacts.getSuggested.md @@ -16,7 +16,7 @@ Get suggested contacts |limit|[int](../types/int.md) | Number of results to return | Yes| -### Return type: [contacts\_Suggested](../types/contacts_Suggested.md) +### Return type: [contacts.Suggested](../types/contacts.Suggested.md) ### Can bots use this method: **YES** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Suggested = $MadelineProto->contacts->getSuggested(['limit' => int, ]); +$contacts.Suggested = $MadelineProto->contacts->getSuggested(['limit' => int, ]); ``` Or, if you're into Lua: ```lua -contacts_Suggested = contacts.getSuggested({limit=int, }) +contacts.Suggested = contacts.getSuggested({limit=int, }) ``` diff --git a/old_docs/API_docs_v41/methods/contacts.importContacts.md b/old_docs/API_docs_v41/methods/contacts.importContacts.md index 572df9fb..975d0565 100644 --- a/old_docs/API_docs_v41/methods/contacts.importContacts.md +++ b/old_docs/API_docs_v41/methods/contacts.importContacts.md @@ -17,7 +17,7 @@ Imports contacts: saves a full list on the server, adds already registered conta |replace|[Bool](../types/Bool.md) | Replace contacts? | Yes| -### Return type: [contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) +### Return type: [contacts.ImportedContacts](../types/contacts.ImportedContacts.md) ### Can bots use this method: **NO** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_ImportedContacts = $MadelineProto->contacts->importContacts(['contacts' => [InputContact, InputContact], 'replace' => Bool, ]); +$contacts.ImportedContacts = $MadelineProto->contacts->importContacts(['contacts' => [InputContact, InputContact], 'replace' => Bool, ]); ``` Or, if you're into Lua: ```lua -contacts_ImportedContacts = contacts.importContacts({contacts={InputContact}, replace=Bool, }) +contacts.ImportedContacts = contacts.importContacts({contacts={InputContact}, replace=Bool, }) ``` diff --git a/old_docs/API_docs_v41/methods/contacts.resolveUsername.md b/old_docs/API_docs_v41/methods/contacts.resolveUsername.md index 05e3d854..46f1eb50 100644 --- a/old_docs/API_docs_v41/methods/contacts.resolveUsername.md +++ b/old_docs/API_docs_v41/methods/contacts.resolveUsername.md @@ -16,7 +16,7 @@ You cannot use this method directly, use the resolveUsername, getPwrChat, getInf |username|[string](../types/string.md) | You cannot use this method directly, use the resolveUsername, getPwrChat, getInfo, getFullInfo methods instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [contacts\_ResolvedPeer](../types/contacts_ResolvedPeer.md) +### Return type: [contacts.ResolvedPeer](../types/contacts.ResolvedPeer.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_ResolvedPeer = $MadelineProto->contacts->resolveUsername(['username' => 'string', ]); +$contacts.ResolvedPeer = $MadelineProto->contacts->resolveUsername(['username' => 'string', ]); ``` Or, if you're into Lua: ```lua -contacts_ResolvedPeer = contacts.resolveUsername({username='string', }) +contacts.ResolvedPeer = contacts.resolveUsername({username='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v41/methods/contacts.search.md b/old_docs/API_docs_v41/methods/contacts.search.md index 2f39d6f1..ec04c7f9 100644 --- a/old_docs/API_docs_v41/methods/contacts.search.md +++ b/old_docs/API_docs_v41/methods/contacts.search.md @@ -17,7 +17,7 @@ Returns users found by username substring. |limit|[int](../types/int.md) | Maximum number of users to be returned | Yes| -### Return type: [contacts\_Found](../types/contacts_Found.md) +### Return type: [contacts.Found](../types/contacts.Found.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Found = $MadelineProto->contacts->search(['q' => 'string', 'limit' => int, ]); +$contacts.Found = $MadelineProto->contacts->search(['q' => 'string', 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -contacts_Found = contacts.search({q='string', limit=int, }) +contacts.Found = contacts.search({q='string', limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v41/methods/help.getAppChangelog.md b/old_docs/API_docs_v41/methods/help.getAppChangelog.md index 890e3a4b..29bee8fb 100644 --- a/old_docs/API_docs_v41/methods/help.getAppChangelog.md +++ b/old_docs/API_docs_v41/methods/help.getAppChangelog.md @@ -19,7 +19,7 @@ Get changelog of current app |lang\_code|[string](../types/string.md) | Language code | Yes| -### Return type: [help\_AppChangelog](../types/help_AppChangelog.md) +### Return type: [help.AppChangelog](../types/help.AppChangelog.md) ### Can bots use this method: **NO** @@ -36,12 +36,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_AppChangelog = $MadelineProto->help->getAppChangelog(['device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'lang_code' => 'string', ]); +$help.AppChangelog = $MadelineProto->help->getAppChangelog(['device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'lang_code' => 'string', ]); ``` Or, if you're into Lua: ```lua -help_AppChangelog = help.getAppChangelog({device_model='string', system_version='string', app_version='string', lang_code='string', }) +help.AppChangelog = help.getAppChangelog({device_model='string', system_version='string', app_version='string', lang_code='string', }) ``` diff --git a/old_docs/API_docs_v41/methods/help.getAppUpdate.md b/old_docs/API_docs_v41/methods/help.getAppUpdate.md index 0f844391..bfbed19e 100644 --- a/old_docs/API_docs_v41/methods/help.getAppUpdate.md +++ b/old_docs/API_docs_v41/methods/help.getAppUpdate.md @@ -19,7 +19,7 @@ Returns information on update availability for the current application. |lang\_code|[string](../types/string.md) | Langauge code | Yes| -### Return type: [help\_AppUpdate](../types/help_AppUpdate.md) +### Return type: [help.AppUpdate](../types/help.AppUpdate.md) ### Can bots use this method: **NO** @@ -36,12 +36,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_AppUpdate = $MadelineProto->help->getAppUpdate(['device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'lang_code' => 'string', ]); +$help.AppUpdate = $MadelineProto->help->getAppUpdate(['device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'lang_code' => 'string', ]); ``` Or, if you're into Lua: ```lua -help_AppUpdate = help.getAppUpdate({device_model='string', system_version='string', app_version='string', lang_code='string', }) +help.AppUpdate = help.getAppUpdate({device_model='string', system_version='string', app_version='string', lang_code='string', }) ``` diff --git a/old_docs/API_docs_v41/methods/help.getInviteText.md b/old_docs/API_docs_v41/methods/help.getInviteText.md index 482afbc0..f84b2e82 100644 --- a/old_docs/API_docs_v41/methods/help.getInviteText.md +++ b/old_docs/API_docs_v41/methods/help.getInviteText.md @@ -16,7 +16,7 @@ Returns text of a text message with an invitation. |lang\_code|[string](../types/string.md) | Language | Yes| -### Return type: [help\_InviteText](../types/help_InviteText.md) +### Return type: [help.InviteText](../types/help.InviteText.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_InviteText = $MadelineProto->help->getInviteText(['lang_code' => 'string', ]); +$help.InviteText = $MadelineProto->help->getInviteText(['lang_code' => 'string', ]); ``` Or, if you're into Lua: ```lua -help_InviteText = help.getInviteText({lang_code='string', }) +help.InviteText = help.getInviteText({lang_code='string', }) ``` diff --git a/old_docs/API_docs_v41/methods/help.getSupport.md b/old_docs/API_docs_v41/methods/help.getSupport.md index 7a577892..8a8df916 100644 --- a/old_docs/API_docs_v41/methods/help.getSupport.md +++ b/old_docs/API_docs_v41/methods/help.getSupport.md @@ -11,7 +11,7 @@ Returns the support user for the 'ask a question' feature. -### Return type: [help\_Support](../types/help_Support.md) +### Return type: [help.Support](../types/help.Support.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_Support = $MadelineProto->help->getSupport(); +$help.Support = $MadelineProto->help->getSupport(); ``` Or, if you're into Lua: ```lua -help_Support = help.getSupport({}) +help.Support = help.getSupport({}) ``` diff --git a/old_docs/API_docs_v41/methods/messages.deleteHistory.md b/old_docs/API_docs_v41/methods/messages.deleteHistory.md index f7f34456..9515d31c 100644 --- a/old_docs/API_docs_v41/methods/messages.deleteHistory.md +++ b/old_docs/API_docs_v41/methods/messages.deleteHistory.md @@ -17,7 +17,7 @@ Deletes communication history. |max\_id|[int](../types/int.md) | Maximum ID of message to delete | Yes| -### Return type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) +### Return type: [messages.AffectedHistory](../types/messages.AffectedHistory.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedHistory = $MadelineProto->messages->deleteHistory(['peer' => InputPeer, 'max_id' => int, ]); +$messages.AffectedHistory = $MadelineProto->messages->deleteHistory(['peer' => InputPeer, 'max_id' => int, ]); ``` Or, if you're into Lua: ```lua -messages_AffectedHistory = messages.deleteHistory({peer=InputPeer, max_id=int, }) +messages.AffectedHistory = messages.deleteHistory({peer=InputPeer, max_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v41/methods/messages.deleteMessages.md b/old_docs/API_docs_v41/methods/messages.deleteMessages.md index 355b2ff8..cc432cc1 100644 --- a/old_docs/API_docs_v41/methods/messages.deleteMessages.md +++ b/old_docs/API_docs_v41/methods/messages.deleteMessages.md @@ -16,7 +16,7 @@ Deletes messages by their identifiers. |id|Array of [int](../types/int.md) | IDs of messages to delete, use channels->deleteMessages for supergroups | Yes| -### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) +### Return type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedMessages = $MadelineProto->messages->deleteMessages(['id' => [int, int], ]); +$messages.AffectedMessages = $MadelineProto->messages->deleteMessages(['id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AffectedMessages = messages.deleteMessages({id={int}, }) +messages.AffectedMessages = messages.deleteMessages({id={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v41/methods/messages.getAllStickers.md b/old_docs/API_docs_v41/methods/messages.getAllStickers.md index 3bbfd91b..bdf1bab0 100644 --- a/old_docs/API_docs_v41/methods/messages.getAllStickers.md +++ b/old_docs/API_docs_v41/methods/messages.getAllStickers.md @@ -16,7 +16,7 @@ Get all installed stickers |hash|[string](../types/string.md) | Previously fetched stickers | Yes| -### Return type: [messages\_AllStickers](../types/messages_AllStickers.md) +### Return type: [messages.AllStickers](../types/messages.AllStickers.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AllStickers = $MadelineProto->messages->getAllStickers(['hash' => 'string', ]); +$messages.AllStickers = $MadelineProto->messages->getAllStickers(['hash' => 'string', ]); ``` Or, if you're into Lua: ```lua -messages_AllStickers = messages.getAllStickers({hash='string', }) +messages.AllStickers = messages.getAllStickers({hash='string', }) ``` diff --git a/old_docs/API_docs_v41/methods/messages.getChats.md b/old_docs/API_docs_v41/methods/messages.getChats.md index c34b0488..146341f5 100644 --- a/old_docs/API_docs_v41/methods/messages.getChats.md +++ b/old_docs/API_docs_v41/methods/messages.getChats.md @@ -16,7 +16,7 @@ Returns chat basic info on their IDs. |id|Array of [int](../types/int.md) | The MTProto IDs of chats to fetch info about | Yes| -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->messages->getChats(['id' => [int, int], ]); +$messages.Chats = $MadelineProto->messages->getChats(['id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Chats = messages.getChats({id={int}, }) +messages.Chats = messages.getChats({id={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v41/methods/messages.getDhConfig.md b/old_docs/API_docs_v41/methods/messages.getDhConfig.md index 88ea4ab3..7b9da566 100644 --- a/old_docs/API_docs_v41/methods/messages.getDhConfig.md +++ b/old_docs/API_docs_v41/methods/messages.getDhConfig.md @@ -17,7 +17,7 @@ You cannot use this method directly, instead use $MadelineProto->getDhConfig(); |random\_length|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->getDhConfig(); | Yes| -### Return type: [messages\_DhConfig](../types/messages_DhConfig.md) +### Return type: [messages.DhConfig](../types/messages.DhConfig.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_DhConfig = $MadelineProto->messages->getDhConfig(['version' => int, 'random_length' => int, ]); +$messages.DhConfig = $MadelineProto->messages->getDhConfig(['version' => int, 'random_length' => int, ]); ``` Or, if you're into Lua: ```lua -messages_DhConfig = messages.getDhConfig({version=int, random_length=int, }) +messages.DhConfig = messages.getDhConfig({version=int, random_length=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v41/methods/messages.getDialogs.md b/old_docs/API_docs_v41/methods/messages.getDialogs.md index 6dd1b558..394b4c3c 100644 --- a/old_docs/API_docs_v41/methods/messages.getDialogs.md +++ b/old_docs/API_docs_v41/methods/messages.getDialogs.md @@ -17,7 +17,7 @@ Returns the current user dialog list. |limit|[int](../types/int.md) | Number of list elements to be returned | Yes| -### Return type: [messages\_Dialogs](../types/messages_Dialogs.md) +### Return type: [messages.Dialogs](../types/messages.Dialogs.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Dialogs = $MadelineProto->messages->getDialogs(['offset' => int, 'limit' => int, ]); +$messages.Dialogs = $MadelineProto->messages->getDialogs(['offset' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Dialogs = messages.getDialogs({offset=int, limit=int, }) +messages.Dialogs = messages.getDialogs({offset=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v41/methods/messages.getFullChat.md b/old_docs/API_docs_v41/methods/messages.getFullChat.md index abf23e21..de543651 100644 --- a/old_docs/API_docs_v41/methods/messages.getFullChat.md +++ b/old_docs/API_docs_v41/methods/messages.getFullChat.md @@ -16,7 +16,7 @@ You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo me |chat\_id|[Username, chat ID, Update, Message or InputPeer](../types/InputPeer.md) | You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo methods instead (see https://docs.madelineproto.xyz for more info) | Optional| -### Return type: [messages\_ChatFull](../types/messages_ChatFull.md) +### Return type: [messages.ChatFull](../types/messages.ChatFull.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_ChatFull = $MadelineProto->messages->getFullChat(['chat_id' => InputPeer, ]); +$messages.ChatFull = $MadelineProto->messages->getFullChat(['chat_id' => InputPeer, ]); ``` Or, if you're into Lua: ```lua -messages_ChatFull = messages.getFullChat({chat_id=InputPeer, }) +messages.ChatFull = messages.getFullChat({chat_id=InputPeer, }) ``` ### Errors diff --git a/old_docs/API_docs_v41/methods/messages.getHistory.md b/old_docs/API_docs_v41/methods/messages.getHistory.md index c6d7a647..1e13bc34 100644 --- a/old_docs/API_docs_v41/methods/messages.getHistory.md +++ b/old_docs/API_docs_v41/methods/messages.getHistory.md @@ -21,7 +21,7 @@ Gets back the conversation history with one interlocutor / within a chat |min\_id|[int](../types/int.md) | If a positive value was transferred, the method will return only messages with IDs more than **min\_id** | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **NO** @@ -38,13 +38,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->getHistory(['peer' => InputPeer, 'offset_id' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); +$messages.Messages = $MadelineProto->messages->getHistory(['peer' => InputPeer, 'offset_id' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.getHistory({peer=InputPeer, offset_id=int, add_offset=int, limit=int, max_id=int, min_id=int, }) +messages.Messages = messages.getHistory({peer=InputPeer, offset_id=int, add_offset=int, limit=int, max_id=int, min_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v41/methods/messages.getMessages.md b/old_docs/API_docs_v41/methods/messages.getMessages.md index a3139513..c7760d7e 100644 --- a/old_docs/API_docs_v41/methods/messages.getMessages.md +++ b/old_docs/API_docs_v41/methods/messages.getMessages.md @@ -16,7 +16,7 @@ Returns the list of messages by their IDs. |id|Array of [int](../types/int.md) | The IDs of messages to fetch (only for users and normal groups) | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **YES** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->getMessages(['id' => [int, int], ]); +$messages.Messages = $MadelineProto->messages->getMessages(['id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.getMessages({id={int}, }) +messages.Messages = messages.getMessages({id={int}, }) ``` diff --git a/old_docs/API_docs_v41/methods/messages.getStickerSet.md b/old_docs/API_docs_v41/methods/messages.getStickerSet.md index 45fca60f..f11887ee 100644 --- a/old_docs/API_docs_v41/methods/messages.getStickerSet.md +++ b/old_docs/API_docs_v41/methods/messages.getStickerSet.md @@ -16,7 +16,7 @@ Get info about a stickerset |stickerset|[InputStickerSet](../types/InputStickerSet.md) | Stickerset | Optional| -### Return type: [messages\_StickerSet](../types/messages_StickerSet.md) +### Return type: [messages.StickerSet](../types/messages.StickerSet.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StickerSet = $MadelineProto->messages->getStickerSet(['stickerset' => InputStickerSet, ]); +$messages.StickerSet = $MadelineProto->messages->getStickerSet(['stickerset' => InputStickerSet, ]); ``` Or, if you're into Lua: ```lua -messages_StickerSet = messages.getStickerSet({stickerset=InputStickerSet, }) +messages.StickerSet = messages.getStickerSet({stickerset=InputStickerSet, }) ``` ### Errors diff --git a/old_docs/API_docs_v41/methods/messages.getStickers.md b/old_docs/API_docs_v41/methods/messages.getStickers.md index aa149fc3..6fab91a5 100644 --- a/old_docs/API_docs_v41/methods/messages.getStickers.md +++ b/old_docs/API_docs_v41/methods/messages.getStickers.md @@ -17,7 +17,7 @@ Get stickers by emoji |hash|[string](../types/string.md) | Previously fetched sticker IDs | Yes| -### Return type: [messages\_Stickers](../types/messages_Stickers.md) +### Return type: [messages.Stickers](../types/messages.Stickers.md) ### Can bots use this method: **NO** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Stickers = $MadelineProto->messages->getStickers(['emoticon' => 'string', 'hash' => 'string', ]); +$messages.Stickers = $MadelineProto->messages->getStickers(['emoticon' => 'string', 'hash' => 'string', ]); ``` Or, if you're into Lua: ```lua -messages_Stickers = messages.getStickers({emoticon='string', hash='string', }) +messages.Stickers = messages.getStickers({emoticon='string', hash='string', }) ``` diff --git a/old_docs/API_docs_v41/methods/messages.readHistory.md b/old_docs/API_docs_v41/methods/messages.readHistory.md index 39753375..52030c68 100644 --- a/old_docs/API_docs_v41/methods/messages.readHistory.md +++ b/old_docs/API_docs_v41/methods/messages.readHistory.md @@ -17,7 +17,7 @@ Marks message history as read. |max\_id|[int](../types/int.md) | If a positive value is passed, only messages with identifiers less or equal than the given one will be read | Yes| -### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) +### Return type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedMessages = $MadelineProto->messages->readHistory(['peer' => InputPeer, 'max_id' => int, ]); +$messages.AffectedMessages = $MadelineProto->messages->readHistory(['peer' => InputPeer, 'max_id' => int, ]); ``` Or, if you're into Lua: ```lua -messages_AffectedMessages = messages.readHistory({peer=InputPeer, max_id=int, }) +messages.AffectedMessages = messages.readHistory({peer=InputPeer, max_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v41/methods/messages.readMessageContents.md b/old_docs/API_docs_v41/methods/messages.readMessageContents.md index c479cafe..9798e661 100644 --- a/old_docs/API_docs_v41/methods/messages.readMessageContents.md +++ b/old_docs/API_docs_v41/methods/messages.readMessageContents.md @@ -16,7 +16,7 @@ Notifies the sender about the recipient having listened a voice message or watch |id|Array of [int](../types/int.md) | The messages to mark as read (only users and normal chats, not supergroups) | Yes| -### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) +### Return type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedMessages = $MadelineProto->messages->readMessageContents(['id' => [int, int], ]); +$messages.AffectedMessages = $MadelineProto->messages->readMessageContents(['id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AffectedMessages = messages.readMessageContents({id={int}, }) +messages.AffectedMessages = messages.readMessageContents({id={int}, }) ``` diff --git a/old_docs/API_docs_v41/methods/messages.search.md b/old_docs/API_docs_v41/methods/messages.search.md index 1210be77..28664a8d 100644 --- a/old_docs/API_docs_v41/methods/messages.search.md +++ b/old_docs/API_docs_v41/methods/messages.search.md @@ -24,7 +24,7 @@ Gets back found messages |limit|[int](../types/int.md) | [Number of results to return](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **NO** @@ -41,13 +41,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->search(['important_only' => Bool, 'peer' => InputPeer, 'q' => 'string', 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); +$messages.Messages = $MadelineProto->messages->search(['important_only' => Bool, 'peer' => InputPeer, 'q' => 'string', 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.search({important_only=Bool, peer=InputPeer, q='string', filter=MessagesFilter, min_date=int, max_date=int, offset=int, max_id=int, limit=int, }) +messages.Messages = messages.search({important_only=Bool, peer=InputPeer, q='string', filter=MessagesFilter, min_date=int, max_date=int, offset=int, max_id=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v41/methods/messages.searchGlobal.md b/old_docs/API_docs_v41/methods/messages.searchGlobal.md index 4bd59f25..1a3b736d 100644 --- a/old_docs/API_docs_v41/methods/messages.searchGlobal.md +++ b/old_docs/API_docs_v41/methods/messages.searchGlobal.md @@ -20,7 +20,7 @@ Search for messages and peers globally |limit|[int](../types/int.md) | [Offsets for pagination, for more info click here](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **NO** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->searchGlobal(['q' => 'string', 'offset_date' => int, 'offset_peer' => InputPeer, 'offset_id' => int, 'limit' => int, ]); +$messages.Messages = $MadelineProto->messages->searchGlobal(['q' => 'string', 'offset_date' => int, 'offset_peer' => InputPeer, 'offset_id' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.searchGlobal({q='string', offset_date=int, offset_peer=InputPeer, offset_id=int, limit=int, }) +messages.Messages = messages.searchGlobal({q='string', offset_date=int, offset_peer=InputPeer, offset_id=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v41/methods/messages.sendEncrypted.md b/old_docs/API_docs_v41/methods/messages.sendEncrypted.md index 47b5ef29..6a68b563 100644 --- a/old_docs/API_docs_v41/methods/messages.sendEncrypted.md +++ b/old_docs/API_docs_v41/methods/messages.sendEncrypted.md @@ -14,10 +14,10 @@ Sends a text message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|message|[DecryptedMessage](../types/DecryptedMessage.md) | The message to send | Yes| +|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key that was created during chat initialization | Yes| -### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ### Can bots use this method: **NO** @@ -34,21 +34,15 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncrypted(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); +$messages.SentEncryptedMessage = $MadelineProto->messages->sendEncrypted(['peer' => InputEncryptedChat, 'data' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -messages_SentEncryptedMessage = messages.sendEncrypted({peer=InputEncryptedChat, message=DecryptedMessage, }) +messages.SentEncryptedMessage = messages.sendEncrypted({peer=InputEncryptedChat, data='bytes', }) ``` - -## Return value - -If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) will be returned instead. - - ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v41/methods/messages.sendEncryptedFile.md b/old_docs/API_docs_v41/methods/messages.sendEncryptedFile.md index 4e0f7b7f..87185ba4 100644 --- a/old_docs/API_docs_v41/methods/messages.sendEncryptedFile.md +++ b/old_docs/API_docs_v41/methods/messages.sendEncryptedFile.md @@ -14,11 +14,11 @@ Sends a message with a file attachment to a secret chat | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|message|[DecryptedMessage](../types/DecryptedMessage.md) | The message with the file | Yes| +|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| |file|[File path or InputEncryptedFile](../types/InputEncryptedFile.md) | File attachment for the secret chat | Optional| -### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ### Can bots use this method: **NO** @@ -35,21 +35,15 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedFile(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, 'file' => InputEncryptedFile, ]); +$messages.SentEncryptedMessage = $MadelineProto->messages->sendEncryptedFile(['peer' => InputEncryptedChat, 'data' => 'bytes', 'file' => InputEncryptedFile, ]); ``` Or, if you're into Lua: ```lua -messages_SentEncryptedMessage = messages.sendEncryptedFile({peer=InputEncryptedChat, message=DecryptedMessage, file=InputEncryptedFile, }) +messages.SentEncryptedMessage = messages.sendEncryptedFile({peer=InputEncryptedChat, data='bytes', file=InputEncryptedFile, }) ``` - -## Return value - -If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) will be returned instead. - - ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v41/methods/messages.sendEncryptedService.md b/old_docs/API_docs_v41/methods/messages.sendEncryptedService.md index 86925ae3..38171272 100644 --- a/old_docs/API_docs_v41/methods/messages.sendEncryptedService.md +++ b/old_docs/API_docs_v41/methods/messages.sendEncryptedService.md @@ -14,10 +14,10 @@ Sends a service message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|message|[DecryptedMessage](../types/DecryptedMessage.md) | The service message | Yes| +|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| -### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ### Can bots use this method: **NO** @@ -34,21 +34,15 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedService(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); +$messages.SentEncryptedMessage = $MadelineProto->messages->sendEncryptedService(['peer' => InputEncryptedChat, 'data' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -messages_SentEncryptedMessage = messages.sendEncryptedService({peer=InputEncryptedChat, message=DecryptedMessage, }) +messages.SentEncryptedMessage = messages.sendEncryptedService({peer=InputEncryptedChat, data='bytes', }) ``` - -## Return value - -If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) will be returned instead. - - ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v41/methods/photos.getUserPhotos.md b/old_docs/API_docs_v41/methods/photos.getUserPhotos.md index a1dec2ed..1f8d5c64 100644 --- a/old_docs/API_docs_v41/methods/photos.getUserPhotos.md +++ b/old_docs/API_docs_v41/methods/photos.getUserPhotos.md @@ -19,7 +19,7 @@ Returns the list of user photos. |limit|[int](../types/int.md) | Number of list elements to be returned | Yes| -### Return type: [photos\_Photos](../types/photos_Photos.md) +### Return type: [photos.Photos](../types/photos.Photos.md) ### Can bots use this method: **YES** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$photos_Photos = $MadelineProto->photos->getUserPhotos(['user_id' => InputUser, 'offset' => int, 'max_id' => long, 'limit' => int, ]); +$photos.Photos = $MadelineProto->photos->getUserPhotos(['user_id' => InputUser, 'offset' => int, 'max_id' => long, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -photos_Photos = photos.getUserPhotos({user_id=InputUser, offset=int, max_id=long, limit=int, }) +photos.Photos = photos.getUserPhotos({user_id=InputUser, offset=int, max_id=long, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v41/methods/photos.uploadProfilePhoto.md b/old_docs/API_docs_v41/methods/photos.uploadProfilePhoto.md index 337dcc21..18b2b4c6 100644 --- a/old_docs/API_docs_v41/methods/photos.uploadProfilePhoto.md +++ b/old_docs/API_docs_v41/methods/photos.uploadProfilePhoto.md @@ -19,7 +19,7 @@ Updates current user profile photo. |crop|[InputPhotoCrop](../types/InputPhotoCrop.md) | Cropping info | Yes| -### Return type: [photos\_Photo](../types/photos_Photo.md) +### Return type: [photos.Photo](../types/photos.Photo.md) ### Can bots use this method: **NO** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$photos_Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, 'caption' => 'string', 'geo_point' => InputGeoPoint, 'crop' => InputPhotoCrop, ]); +$photos.Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, 'caption' => 'string', 'geo_point' => InputGeoPoint, 'crop' => InputPhotoCrop, ]); ``` Or, if you're into Lua: ```lua -photos_Photo = photos.uploadProfilePhoto({file=InputFile, caption='string', geo_point=InputGeoPoint, crop=InputPhotoCrop, }) +photos.Photo = photos.uploadProfilePhoto({file=InputFile, caption='string', geo_point=InputGeoPoint, crop=InputPhotoCrop, }) ``` ### Errors diff --git a/old_docs/API_docs_v41/methods/updates.getChannelDifference.md b/old_docs/API_docs_v41/methods/updates.getChannelDifference.md index 77a45636..79adf4b1 100644 --- a/old_docs/API_docs_v41/methods/updates.getChannelDifference.md +++ b/old_docs/API_docs_v41/methods/updates.getChannelDifference.md @@ -19,7 +19,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz for more |limit|[int](../types/int.md) | You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates | Yes| -### Return type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) +### Return type: [updates.ChannelDifference](../types/updates.ChannelDifference.md) ### Can bots use this method: **YES** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$updates_ChannelDifference = $MadelineProto->updates->getChannelDifference(['channel' => InputChannel, 'filter' => ChannelMessagesFilter, 'pts' => int, 'limit' => int, ]); +$updates.ChannelDifference = $MadelineProto->updates->getChannelDifference(['channel' => InputChannel, 'filter' => ChannelMessagesFilter, 'pts' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -updates_ChannelDifference = updates.getChannelDifference({channel=InputChannel, filter=ChannelMessagesFilter, pts=int, limit=int, }) +updates.ChannelDifference = updates.getChannelDifference({channel=InputChannel, filter=ChannelMessagesFilter, pts=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v41/methods/updates.getDifference.md b/old_docs/API_docs_v41/methods/updates.getDifference.md index 57ea6d99..061a5c8f 100644 --- a/old_docs/API_docs_v41/methods/updates.getDifference.md +++ b/old_docs/API_docs_v41/methods/updates.getDifference.md @@ -18,7 +18,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz for more |qts|[int](../types/int.md) | You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates | Yes| -### Return type: [updates\_Difference](../types/updates_Difference.md) +### Return type: [updates.Difference](../types/updates.Difference.md) ### Can bots use this method: **YES** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$updates_Difference = $MadelineProto->updates->getDifference(['pts' => int, 'date' => int, 'qts' => int, ]); +$updates.Difference = $MadelineProto->updates->getDifference(['pts' => int, 'date' => int, 'qts' => int, ]); ``` Or, if you're into Lua: ```lua -updates_Difference = updates.getDifference({pts=int, date=int, qts=int, }) +updates.Difference = updates.getDifference({pts=int, date=int, qts=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v41/methods/updates.getState.md b/old_docs/API_docs_v41/methods/updates.getState.md index c591408a..9a7d2f34 100644 --- a/old_docs/API_docs_v41/methods/updates.getState.md +++ b/old_docs/API_docs_v41/methods/updates.getState.md @@ -11,7 +11,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz for more -### Return type: [updates\_State](../types/updates_State.md) +### Return type: [updates.State](../types/updates.State.md) ### Can bots use this method: **YES** @@ -28,13 +28,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$updates_State = $MadelineProto->updates->getState(); +$updates.State = $MadelineProto->updates->getState(); ``` Or, if you're into Lua: ```lua -updates_State = updates.getState({}) +updates.State = updates.getState({}) ``` ### Errors diff --git a/old_docs/API_docs_v41/methods/upload.getFile.md b/old_docs/API_docs_v41/methods/upload.getFile.md index 8aba03d4..ab9f4fe2 100644 --- a/old_docs/API_docs_v41/methods/upload.getFile.md +++ b/old_docs/API_docs_v41/methods/upload.getFile.md @@ -18,7 +18,7 @@ You cannot use this method directly, use the upload, downloadToStream, downloadT |limit|[int](../types/int.md) | You cannot use this method directly, use the upload, downloadToStream, downloadToFile, downloadToDir methods instead; see https://docs.madelineproto.xyz for more info | Yes| -### Return type: [upload\_File](../types/upload_File.md) +### Return type: [upload.File](../types/upload.File.md) ### Can bots use this method: **YES** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$upload_File = $MadelineProto->upload->getFile(['location' => InputFileLocation, 'offset' => int, 'limit' => int, ]); +$upload.File = $MadelineProto->upload->getFile(['location' => InputFileLocation, 'offset' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -upload_File = upload.getFile({location=InputFileLocation, offset=int, limit=int, }) +upload.File = upload.getFile({location=InputFileLocation, offset=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v41/types/AccountDaysTTL.md b/old_docs/API_docs_v41/types/AccountDaysTTL.md index 12a10190..f3494aac 100644 --- a/old_docs/API_docs_v41/types/AccountDaysTTL.md +++ b/old_docs/API_docs_v41/types/AccountDaysTTL.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->account->getAccountTTL](../methods/account_getAccountTTL.md) +[$MadelineProto->account->getAccountTTL](../methods/account.getAccountTTL.md) diff --git a/old_docs/API_docs_v41/types/ChatInvite.md b/old_docs/API_docs_v41/types/ChatInvite.md index 5022a2f0..9fafabb4 100644 --- a/old_docs/API_docs_v41/types/ChatInvite.md +++ b/old_docs/API_docs_v41/types/ChatInvite.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->checkChatInvite](../methods/messages_checkChatInvite.md) +[$MadelineProto->messages->checkChatInvite](../methods/messages.checkChatInvite.md) diff --git a/old_docs/API_docs_v41/types/Config.md b/old_docs/API_docs_v41/types/Config.md index 0f7fbe70..3a23b7b7 100644 --- a/old_docs/API_docs_v41/types/Config.md +++ b/old_docs/API_docs_v41/types/Config.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->help->getConfig](../methods/help_getConfig.md) +[$MadelineProto->help->getConfig](../methods/help.getConfig.md) diff --git a/old_docs/API_docs_v41/types/ContactStatus.md b/old_docs/API_docs_v41/types/ContactStatus.md index c5f5d658..30aee6e2 100644 --- a/old_docs/API_docs_v41/types/ContactStatus.md +++ b/old_docs/API_docs_v41/types/ContactStatus.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->contacts->getStatuses](../methods/contacts_getStatuses.md) +[$MadelineProto->contacts->getStatuses](../methods/contacts.getStatuses.md) diff --git a/old_docs/API_docs_v41/types/EncryptedChat.md b/old_docs/API_docs_v41/types/EncryptedChat.md index fd2277f6..19cf52b0 100644 --- a/old_docs/API_docs_v41/types/EncryptedChat.md +++ b/old_docs/API_docs_v41/types/EncryptedChat.md @@ -24,9 +24,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->requestEncryption](../methods/messages_requestEncryption.md) +[$MadelineProto->messages->requestEncryption](../methods/messages.requestEncryption.md) -[$MadelineProto->messages->acceptEncryption](../methods/messages_acceptEncryption.md) +[$MadelineProto->messages->acceptEncryption](../methods/messages.acceptEncryption.md) diff --git a/old_docs/API_docs_v41/types/ExportedChatInvite.md b/old_docs/API_docs_v41/types/ExportedChatInvite.md index 4213a78f..53ce5f59 100644 --- a/old_docs/API_docs_v41/types/ExportedChatInvite.md +++ b/old_docs/API_docs_v41/types/ExportedChatInvite.md @@ -18,9 +18,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->exportChatInvite](../methods/messages_exportChatInvite.md) +[$MadelineProto->messages->exportChatInvite](../methods/messages.exportChatInvite.md) -[$MadelineProto->channels->exportInvite](../methods/channels_exportInvite.md) +[$MadelineProto->channels->exportInvite](../methods/channels.exportInvite.md) diff --git a/old_docs/API_docs_v41/types/MessageMedia.md b/old_docs/API_docs_v41/types/MessageMedia.md index 51c2f3c9..9c8475d7 100644 --- a/old_docs/API_docs_v41/types/MessageMedia.md +++ b/old_docs/API_docs_v41/types/MessageMedia.md @@ -34,7 +34,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getWebPagePreview](../methods/messages_getWebPagePreview.md) +[$MadelineProto->messages->getWebPagePreview](../methods/messages.getWebPagePreview.md) diff --git a/old_docs/API_docs_v41/types/NearestDc.md b/old_docs/API_docs_v41/types/NearestDc.md index 31f24377..296a4dff 100644 --- a/old_docs/API_docs_v41/types/NearestDc.md +++ b/old_docs/API_docs_v41/types/NearestDc.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->help->getNearestDc](../methods/help_getNearestDc.md) +[$MadelineProto->help->getNearestDc](../methods/help.getNearestDc.md) diff --git a/old_docs/API_docs_v41/types/PeerNotifySettings.md b/old_docs/API_docs_v41/types/PeerNotifySettings.md index 769de075..3d72b7c5 100644 --- a/old_docs/API_docs_v41/types/PeerNotifySettings.md +++ b/old_docs/API_docs_v41/types/PeerNotifySettings.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->account->getNotifySettings](../methods/account_getNotifySettings.md) +[$MadelineProto->account->getNotifySettings](../methods/account.getNotifySettings.md) diff --git a/old_docs/API_docs_v41/types/README.md b/old_docs/API_docs_v41/types/README.md index 7bb8c60a..7f9d8b9d 100644 --- a/old_docs/API_docs_v41/types/README.md +++ b/old_docs/API_docs_v41/types/README.md @@ -195,91 +195,91 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png [X](X.md) -[account\_Authorizations](account_Authorizations.md) +[account.Authorizations](account.Authorizations.md) -[account\_Password](account_Password.md) +[account.Password](account.Password.md) -[account\_PasswordInputSettings](account_PasswordInputSettings.md) +[account.PasswordInputSettings](account.PasswordInputSettings.md) -[account\_PasswordSettings](account_PasswordSettings.md) +[account.PasswordSettings](account.PasswordSettings.md) -[account\_PrivacyRules](account_PrivacyRules.md) +[account.PrivacyRules](account.PrivacyRules.md) -[account\_SentChangePhoneCode](account_SentChangePhoneCode.md) +[account.SentChangePhoneCode](account.SentChangePhoneCode.md) -[auth\_Authorization](auth_Authorization.md) +[auth.Authorization](auth.Authorization.md) -[auth\_CheckedPhone](auth_CheckedPhone.md) +[auth.CheckedPhone](auth.CheckedPhone.md) -[auth\_ExportedAuthorization](auth_ExportedAuthorization.md) +[auth.ExportedAuthorization](auth.ExportedAuthorization.md) -[auth\_PasswordRecovery](auth_PasswordRecovery.md) +[auth.PasswordRecovery](auth.PasswordRecovery.md) -[auth\_SentCode](auth_SentCode.md) +[auth.SentCode](auth.SentCode.md) -[channels\_ChannelParticipant](channels_ChannelParticipant.md) +[channels.ChannelParticipant](channels.ChannelParticipant.md) -[channels\_ChannelParticipants](channels_ChannelParticipants.md) +[channels.ChannelParticipants](channels.ChannelParticipants.md) -[contacts\_Blocked](contacts_Blocked.md) +[contacts.Blocked](contacts.Blocked.md) -[contacts\_Contacts](contacts_Contacts.md) +[contacts.Contacts](contacts.Contacts.md) -[contacts\_Found](contacts_Found.md) +[contacts.Found](contacts.Found.md) -[contacts\_ImportedContacts](contacts_ImportedContacts.md) +[contacts.ImportedContacts](contacts.ImportedContacts.md) -[contacts\_Link](contacts_Link.md) +[contacts.Link](contacts.Link.md) -[contacts\_ResolvedPeer](contacts_ResolvedPeer.md) +[contacts.ResolvedPeer](contacts.ResolvedPeer.md) -[contacts\_Suggested](contacts_Suggested.md) +[contacts.Suggested](contacts.Suggested.md) -[help\_AppChangelog](help_AppChangelog.md) +[help.AppChangelog](help.AppChangelog.md) -[help\_AppUpdate](help_AppUpdate.md) +[help.AppUpdate](help.AppUpdate.md) -[help\_InviteText](help_InviteText.md) +[help.InviteText](help.InviteText.md) -[help\_Support](help_Support.md) +[help.Support](help.Support.md) [int](int.md) [long](long.md) -[messages\_AffectedHistory](messages_AffectedHistory.md) +[messages.AffectedHistory](messages.AffectedHistory.md) -[messages\_AffectedMessages](messages_AffectedMessages.md) +[messages.AffectedMessages](messages.AffectedMessages.md) -[messages\_AllStickers](messages_AllStickers.md) +[messages.AllStickers](messages.AllStickers.md) -[messages\_ChatFull](messages_ChatFull.md) +[messages.ChatFull](messages.ChatFull.md) -[messages\_Chats](messages_Chats.md) +[messages.Chats](messages.Chats.md) -[messages\_DhConfig](messages_DhConfig.md) +[messages.DhConfig](messages.DhConfig.md) -[messages\_Dialogs](messages_Dialogs.md) +[messages.Dialogs](messages.Dialogs.md) -[messages\_Messages](messages_Messages.md) +[messages.Messages](messages.Messages.md) -[messages\_SentEncryptedMessage](messages_SentEncryptedMessage.md) +[messages.SentEncryptedMessage](messages.SentEncryptedMessage.md) -[messages\_StickerSet](messages_StickerSet.md) +[messages.StickerSet](messages.StickerSet.md) -[messages\_Stickers](messages_Stickers.md) +[messages.Stickers](messages.Stickers.md) -[photos\_Photo](photos_Photo.md) +[photos.Photo](photos.Photo.md) -[photos\_Photos](photos_Photos.md) +[photos.Photos](photos.Photos.md) -[storage\_FileType](storage_FileType.md) +[storage.FileType](storage.FileType.md) -[updates\_ChannelDifference](updates_ChannelDifference.md) +[updates.ChannelDifference](updates.ChannelDifference.md) -[updates\_Difference](updates_Difference.md) +[updates.Difference](updates.Difference.md) -[updates\_State](updates_State.md) +[updates.State](updates.State.md) -[upload\_File](upload_File.md) +[upload.File](upload.File.md) diff --git a/old_docs/API_docs_v41/types/ReceivedNotifyMessage.md b/old_docs/API_docs_v41/types/ReceivedNotifyMessage.md index c7fc3b8c..416aa275 100644 --- a/old_docs/API_docs_v41/types/ReceivedNotifyMessage.md +++ b/old_docs/API_docs_v41/types/ReceivedNotifyMessage.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->receivedMessages](../methods/messages_receivedMessages.md) +[$MadelineProto->messages->receivedMessages](../methods/messages.receivedMessages.md) diff --git a/old_docs/API_docs_v41/types/Updates.md b/old_docs/API_docs_v41/types/Updates.md index 33604098..a46b3b3f 100644 --- a/old_docs/API_docs_v41/types/Updates.md +++ b/old_docs/API_docs_v41/types/Updates.md @@ -28,53 +28,53 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->sendMessage](../methods/messages_sendMessage.md) +[$MadelineProto->messages->sendMessage](../methods/messages.sendMessage.md) -[$MadelineProto->messages->sendMedia](../methods/messages_sendMedia.md) +[$MadelineProto->messages->sendMedia](../methods/messages.sendMedia.md) -[$MadelineProto->messages->forwardMessages](../methods/messages_forwardMessages.md) +[$MadelineProto->messages->forwardMessages](../methods/messages.forwardMessages.md) -[$MadelineProto->messages->editChatTitle](../methods/messages_editChatTitle.md) +[$MadelineProto->messages->editChatTitle](../methods/messages.editChatTitle.md) -[$MadelineProto->messages->editChatPhoto](../methods/messages_editChatPhoto.md) +[$MadelineProto->messages->editChatPhoto](../methods/messages.editChatPhoto.md) -[$MadelineProto->messages->addChatUser](../methods/messages_addChatUser.md) +[$MadelineProto->messages->addChatUser](../methods/messages.addChatUser.md) -[$MadelineProto->messages->deleteChatUser](../methods/messages_deleteChatUser.md) +[$MadelineProto->messages->deleteChatUser](../methods/messages.deleteChatUser.md) -[$MadelineProto->messages->createChat](../methods/messages_createChat.md) +[$MadelineProto->messages->createChat](../methods/messages.createChat.md) -[$MadelineProto->messages->forwardMessage](../methods/messages_forwardMessage.md) +[$MadelineProto->messages->forwardMessage](../methods/messages.forwardMessage.md) -[$MadelineProto->messages->sendBroadcast](../methods/messages_sendBroadcast.md) +[$MadelineProto->messages->sendBroadcast](../methods/messages.sendBroadcast.md) -[$MadelineProto->messages->importChatInvite](../methods/messages_importChatInvite.md) +[$MadelineProto->messages->importChatInvite](../methods/messages.importChatInvite.md) -[$MadelineProto->messages->startBot](../methods/messages_startBot.md) +[$MadelineProto->messages->startBot](../methods/messages.startBot.md) -[$MadelineProto->channels->createChannel](../methods/channels_createChannel.md) +[$MadelineProto->channels->createChannel](../methods/channels.createChannel.md) -[$MadelineProto->channels->editTitle](../methods/channels_editTitle.md) +[$MadelineProto->channels->editTitle](../methods/channels.editTitle.md) -[$MadelineProto->channels->editPhoto](../methods/channels_editPhoto.md) +[$MadelineProto->channels->editPhoto](../methods/channels.editPhoto.md) -[$MadelineProto->channels->toggleComments](../methods/channels_toggleComments.md) +[$MadelineProto->channels->toggleComments](../methods/channels.toggleComments.md) -[$MadelineProto->channels->joinChannel](../methods/channels_joinChannel.md) +[$MadelineProto->channels->joinChannel](../methods/channels.joinChannel.md) -[$MadelineProto->channels->leaveChannel](../methods/channels_leaveChannel.md) +[$MadelineProto->channels->leaveChannel](../methods/channels.leaveChannel.md) -[$MadelineProto->channels->inviteToChannel](../methods/channels_inviteToChannel.md) +[$MadelineProto->channels->inviteToChannel](../methods/channels.inviteToChannel.md) -[$MadelineProto->channels->kickFromChannel](../methods/channels_kickFromChannel.md) +[$MadelineProto->channels->kickFromChannel](../methods/channels.kickFromChannel.md) -[$MadelineProto->channels->deleteChannel](../methods/channels_deleteChannel.md) +[$MadelineProto->channels->deleteChannel](../methods/channels.deleteChannel.md) -[$MadelineProto->messages->toggleChatAdmins](../methods/messages_toggleChatAdmins.md) +[$MadelineProto->messages->toggleChatAdmins](../methods/messages.toggleChatAdmins.md) -[$MadelineProto->messages->deactivateChat](../methods/messages_deactivateChat.md) +[$MadelineProto->messages->deactivateChat](../methods/messages.deactivateChat.md) -[$MadelineProto->messages->migrateChat](../methods/messages_migrateChat.md) +[$MadelineProto->messages->migrateChat](../methods/messages.migrateChat.md) diff --git a/old_docs/API_docs_v41/types/User.md b/old_docs/API_docs_v41/types/User.md index b145a3f8..30349c87 100644 --- a/old_docs/API_docs_v41/types/User.md +++ b/old_docs/API_docs_v41/types/User.md @@ -42,15 +42,15 @@ A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDia ### Methods that return an object of this type (methods): -[$MadelineProto->account->updateProfile](../methods/account_updateProfile.md) +[$MadelineProto->account->updateProfile](../methods/account.updateProfile.md) -[$MadelineProto->users->getUsers](../methods/users_getUsers.md) +[$MadelineProto->users->getUsers](../methods/users.getUsers.md) -[$MadelineProto->contacts->importCard](../methods/contacts_importCard.md) +[$MadelineProto->contacts->importCard](../methods/contacts.importCard.md) -[$MadelineProto->account->updateUsername](../methods/account_updateUsername.md) +[$MadelineProto->account->updateUsername](../methods/account.updateUsername.md) -[$MadelineProto->account->changePhone](../methods/account_changePhone.md) +[$MadelineProto->account->changePhone](../methods/account.changePhone.md) diff --git a/old_docs/API_docs_v41/types/UserFull.md b/old_docs/API_docs_v41/types/UserFull.md index 79ad30bb..ac50052f 100644 --- a/old_docs/API_docs_v41/types/UserFull.md +++ b/old_docs/API_docs_v41/types/UserFull.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->users->getFullUser](../methods/users_getFullUser.md) +[$MadelineProto->users->getFullUser](../methods/users.getFullUser.md) diff --git a/old_docs/API_docs_v41/types/UserProfilePhoto.md b/old_docs/API_docs_v41/types/UserProfilePhoto.md index e5243a2e..e81e92fd 100644 --- a/old_docs/API_docs_v41/types/UserProfilePhoto.md +++ b/old_docs/API_docs_v41/types/UserProfilePhoto.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->photos->updateProfilePhoto](../methods/photos_updateProfilePhoto.md) +[$MadelineProto->photos->updateProfilePhoto](../methods/photos.updateProfilePhoto.md) diff --git a/old_docs/API_docs_v41/types/WallPaper.md b/old_docs/API_docs_v41/types/WallPaper.md index 8c5ac7cf..45337565 100644 --- a/old_docs/API_docs_v41/types/WallPaper.md +++ b/old_docs/API_docs_v41/types/WallPaper.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->account->getWallPapers](../methods/account_getWallPapers.md) +[$MadelineProto->account->getWallPapers](../methods/account.getWallPapers.md) diff --git a/old_docs/API_docs_v41/types/account.Authorizations.md b/old_docs/API_docs_v41/types/account.Authorizations.md new file mode 100644 index 00000000..f9112038 --- /dev/null +++ b/old_docs/API_docs_v41/types/account.Authorizations.md @@ -0,0 +1,22 @@ +--- +title: account.Authorizations +description: constructors and methods of type account.Authorizations +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.Authorizations +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.authorizations](../constructors/account.authorizations.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getAuthorizations](../methods/account.getAuthorizations.md) + + + diff --git a/old_docs/API_docs_v41/types/account.Password.md b/old_docs/API_docs_v41/types/account.Password.md new file mode 100644 index 00000000..5217ab5e --- /dev/null +++ b/old_docs/API_docs_v41/types/account.Password.md @@ -0,0 +1,24 @@ +--- +title: account.Password +description: constructors and methods of type account.Password +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.Password +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.noPassword](../constructors/account.noPassword.md) + +[account.password](../constructors/account.password.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getPassword](../methods/account.getPassword.md) + + + diff --git a/old_docs/API_docs_v41/types/account.PasswordInputSettings.md b/old_docs/API_docs_v41/types/account.PasswordInputSettings.md new file mode 100644 index 00000000..72e11fdc --- /dev/null +++ b/old_docs/API_docs_v41/types/account.PasswordInputSettings.md @@ -0,0 +1,20 @@ +--- +title: account.PasswordInputSettings +description: constructors and methods of type account.PasswordInputSettings +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.PasswordInputSettings +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.passwordInputSettings](../constructors/account.passwordInputSettings.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v41/types/account.PasswordSettings.md b/old_docs/API_docs_v41/types/account.PasswordSettings.md new file mode 100644 index 00000000..47016832 --- /dev/null +++ b/old_docs/API_docs_v41/types/account.PasswordSettings.md @@ -0,0 +1,22 @@ +--- +title: account.PasswordSettings +description: constructors and methods of type account.PasswordSettings +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.PasswordSettings +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.passwordSettings](../constructors/account.passwordSettings.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getPasswordSettings](../methods/account.getPasswordSettings.md) + + + diff --git a/old_docs/API_docs_v41/types/account.PrivacyRules.md b/old_docs/API_docs_v41/types/account.PrivacyRules.md new file mode 100644 index 00000000..738651ad --- /dev/null +++ b/old_docs/API_docs_v41/types/account.PrivacyRules.md @@ -0,0 +1,24 @@ +--- +title: account.PrivacyRules +description: constructors and methods of type account.PrivacyRules +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.PrivacyRules +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.privacyRules](../constructors/account.privacyRules.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getPrivacy](../methods/account.getPrivacy.md) + +[$MadelineProto->account->setPrivacy](../methods/account.setPrivacy.md) + + + diff --git a/old_docs/API_docs_v41/types/account.SentChangePhoneCode.md b/old_docs/API_docs_v41/types/account.SentChangePhoneCode.md new file mode 100644 index 00000000..659b0feb --- /dev/null +++ b/old_docs/API_docs_v41/types/account.SentChangePhoneCode.md @@ -0,0 +1,22 @@ +--- +title: account.SentChangePhoneCode +description: constructors and methods of type account.SentChangePhoneCode +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.SentChangePhoneCode +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.sentChangePhoneCode](../constructors/account.sentChangePhoneCode.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->sendChangePhoneCode](../methods/account.sendChangePhoneCode.md) + + + diff --git a/old_docs/API_docs_v41/types/account_Authorizations.md b/old_docs/API_docs_v41/types/account_Authorizations.md deleted file mode 100644 index 4709ddb5..00000000 --- a/old_docs/API_docs_v41/types/account_Authorizations.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_Authorizations -description: constructors and methods of type account_Authorizations -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_Authorizations -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_authorizations](../constructors/account_authorizations.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getAuthorizations](../methods/account_getAuthorizations.md) - - - diff --git a/old_docs/API_docs_v41/types/account_Password.md b/old_docs/API_docs_v41/types/account_Password.md deleted file mode 100644 index 23e05987..00000000 --- a/old_docs/API_docs_v41/types/account_Password.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: account_Password -description: constructors and methods of type account_Password -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_Password -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_noPassword](../constructors/account_noPassword.md) - -[account\_password](../constructors/account_password.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getPassword](../methods/account_getPassword.md) - - - diff --git a/old_docs/API_docs_v41/types/account_PasswordInputSettings.md b/old_docs/API_docs_v41/types/account_PasswordInputSettings.md deleted file mode 100644 index a6455eb8..00000000 --- a/old_docs/API_docs_v41/types/account_PasswordInputSettings.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: account_PasswordInputSettings -description: constructors and methods of type account_PasswordInputSettings -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_PasswordInputSettings -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_passwordInputSettings](../constructors/account_passwordInputSettings.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v41/types/account_PasswordSettings.md b/old_docs/API_docs_v41/types/account_PasswordSettings.md deleted file mode 100644 index 687eb217..00000000 --- a/old_docs/API_docs_v41/types/account_PasswordSettings.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_PasswordSettings -description: constructors and methods of type account_PasswordSettings -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_PasswordSettings -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_passwordSettings](../constructors/account_passwordSettings.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getPasswordSettings](../methods/account_getPasswordSettings.md) - - - diff --git a/old_docs/API_docs_v41/types/account_PrivacyRules.md b/old_docs/API_docs_v41/types/account_PrivacyRules.md deleted file mode 100644 index 40b00077..00000000 --- a/old_docs/API_docs_v41/types/account_PrivacyRules.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: account_PrivacyRules -description: constructors and methods of type account_PrivacyRules -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_PrivacyRules -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_privacyRules](../constructors/account_privacyRules.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getPrivacy](../methods/account_getPrivacy.md) - -[$MadelineProto->account->setPrivacy](../methods/account_setPrivacy.md) - - - diff --git a/old_docs/API_docs_v41/types/account_SentChangePhoneCode.md b/old_docs/API_docs_v41/types/account_SentChangePhoneCode.md deleted file mode 100644 index ead3e28c..00000000 --- a/old_docs/API_docs_v41/types/account_SentChangePhoneCode.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_SentChangePhoneCode -description: constructors and methods of type account_SentChangePhoneCode -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_SentChangePhoneCode -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_sentChangePhoneCode](../constructors/account_sentChangePhoneCode.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->sendChangePhoneCode](../methods/account_sendChangePhoneCode.md) - - - diff --git a/old_docs/API_docs_v41/types/auth.Authorization.md b/old_docs/API_docs_v41/types/auth.Authorization.md new file mode 100644 index 00000000..adcfa7d3 --- /dev/null +++ b/old_docs/API_docs_v41/types/auth.Authorization.md @@ -0,0 +1,32 @@ +--- +title: auth.Authorization +description: constructors and methods of type auth.Authorization +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.Authorization +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.authorization](../constructors/auth.authorization.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->signUp](../methods/auth.signUp.md) + +[$MadelineProto->auth->signIn](../methods/auth.signIn.md) + +[$MadelineProto->auth->importAuthorization](../methods/auth.importAuthorization.md) + +[$MadelineProto->auth->importBotAuthorization](../methods/auth.importBotAuthorization.md) + +[$MadelineProto->auth->checkPassword](../methods/auth.checkPassword.md) + +[$MadelineProto->auth->recoverPassword](../methods/auth.recoverPassword.md) + + + diff --git a/old_docs/API_docs_v41/types/auth.CheckedPhone.md b/old_docs/API_docs_v41/types/auth.CheckedPhone.md new file mode 100644 index 00000000..94af3915 --- /dev/null +++ b/old_docs/API_docs_v41/types/auth.CheckedPhone.md @@ -0,0 +1,22 @@ +--- +title: auth.CheckedPhone +description: constructors and methods of type auth.CheckedPhone +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.CheckedPhone +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.checkedPhone](../constructors/auth.checkedPhone.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->checkPhone](../methods/auth.checkPhone.md) + + + diff --git a/old_docs/API_docs_v41/types/auth.ExportedAuthorization.md b/old_docs/API_docs_v41/types/auth.ExportedAuthorization.md new file mode 100644 index 00000000..ccb38d60 --- /dev/null +++ b/old_docs/API_docs_v41/types/auth.ExportedAuthorization.md @@ -0,0 +1,22 @@ +--- +title: auth.ExportedAuthorization +description: constructors and methods of type auth.ExportedAuthorization +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.ExportedAuthorization +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.exportedAuthorization](../constructors/auth.exportedAuthorization.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->exportAuthorization](../methods/auth.exportAuthorization.md) + + + diff --git a/old_docs/API_docs_v41/types/auth.PasswordRecovery.md b/old_docs/API_docs_v41/types/auth.PasswordRecovery.md new file mode 100644 index 00000000..c1c18992 --- /dev/null +++ b/old_docs/API_docs_v41/types/auth.PasswordRecovery.md @@ -0,0 +1,22 @@ +--- +title: auth.PasswordRecovery +description: constructors and methods of type auth.PasswordRecovery +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.PasswordRecovery +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.passwordRecovery](../constructors/auth.passwordRecovery.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->requestPasswordRecovery](../methods/auth.requestPasswordRecovery.md) + + + diff --git a/old_docs/API_docs_v41/types/auth.SentCode.md b/old_docs/API_docs_v41/types/auth.SentCode.md new file mode 100644 index 00000000..9fd32a73 --- /dev/null +++ b/old_docs/API_docs_v41/types/auth.SentCode.md @@ -0,0 +1,24 @@ +--- +title: auth.SentCode +description: constructors and methods of type auth.SentCode +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.SentCode +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.sentCode](../constructors/auth.sentCode.md) + +[auth.sentAppCode](../constructors/auth.sentAppCode.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->sendCode](../methods/auth.sendCode.md) + + + diff --git a/old_docs/API_docs_v41/types/auth_Authorization.md b/old_docs/API_docs_v41/types/auth_Authorization.md deleted file mode 100644 index 5a34fc2d..00000000 --- a/old_docs/API_docs_v41/types/auth_Authorization.md +++ /dev/null @@ -1,32 +0,0 @@ ---- -title: auth_Authorization -description: constructors and methods of type auth_Authorization -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_Authorization -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_authorization](../constructors/auth_authorization.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->signUp](../methods/auth_signUp.md) - -[$MadelineProto->auth->signIn](../methods/auth_signIn.md) - -[$MadelineProto->auth->importAuthorization](../methods/auth_importAuthorization.md) - -[$MadelineProto->auth->importBotAuthorization](../methods/auth_importBotAuthorization.md) - -[$MadelineProto->auth->checkPassword](../methods/auth_checkPassword.md) - -[$MadelineProto->auth->recoverPassword](../methods/auth_recoverPassword.md) - - - diff --git a/old_docs/API_docs_v41/types/auth_CheckedPhone.md b/old_docs/API_docs_v41/types/auth_CheckedPhone.md deleted file mode 100644 index e9b0def4..00000000 --- a/old_docs/API_docs_v41/types/auth_CheckedPhone.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: auth_CheckedPhone -description: constructors and methods of type auth_CheckedPhone -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_CheckedPhone -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_checkedPhone](../constructors/auth_checkedPhone.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->checkPhone](../methods/auth_checkPhone.md) - - - diff --git a/old_docs/API_docs_v41/types/auth_ExportedAuthorization.md b/old_docs/API_docs_v41/types/auth_ExportedAuthorization.md deleted file mode 100644 index 69e5c42e..00000000 --- a/old_docs/API_docs_v41/types/auth_ExportedAuthorization.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: auth_ExportedAuthorization -description: constructors and methods of type auth_ExportedAuthorization -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_ExportedAuthorization -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_exportedAuthorization](../constructors/auth_exportedAuthorization.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->exportAuthorization](../methods/auth_exportAuthorization.md) - - - diff --git a/old_docs/API_docs_v41/types/auth_PasswordRecovery.md b/old_docs/API_docs_v41/types/auth_PasswordRecovery.md deleted file mode 100644 index 4962bf42..00000000 --- a/old_docs/API_docs_v41/types/auth_PasswordRecovery.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: auth_PasswordRecovery -description: constructors and methods of type auth_PasswordRecovery -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_PasswordRecovery -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_passwordRecovery](../constructors/auth_passwordRecovery.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->requestPasswordRecovery](../methods/auth_requestPasswordRecovery.md) - - - diff --git a/old_docs/API_docs_v41/types/auth_SentCode.md b/old_docs/API_docs_v41/types/auth_SentCode.md deleted file mode 100644 index 85b8d351..00000000 --- a/old_docs/API_docs_v41/types/auth_SentCode.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: auth_SentCode -description: constructors and methods of type auth_SentCode -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_SentCode -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_sentCode](../constructors/auth_sentCode.md) - -[auth\_sentAppCode](../constructors/auth_sentAppCode.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->sendCode](../methods/auth_sendCode.md) - - - diff --git a/old_docs/API_docs_v41/types/channels.ChannelParticipant.md b/old_docs/API_docs_v41/types/channels.ChannelParticipant.md new file mode 100644 index 00000000..8dc7f7e6 --- /dev/null +++ b/old_docs/API_docs_v41/types/channels.ChannelParticipant.md @@ -0,0 +1,22 @@ +--- +title: channels.ChannelParticipant +description: constructors and methods of type channels.ChannelParticipant +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: channels.ChannelParticipant +[Back to types index](index.md) + + + +### Possible values (constructors): + +[channels.channelParticipant](../constructors/channels.channelParticipant.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->channels->getParticipant](../methods/channels.getParticipant.md) + + + diff --git a/old_docs/API_docs_v41/types/channels.ChannelParticipants.md b/old_docs/API_docs_v41/types/channels.ChannelParticipants.md new file mode 100644 index 00000000..996ab6a6 --- /dev/null +++ b/old_docs/API_docs_v41/types/channels.ChannelParticipants.md @@ -0,0 +1,22 @@ +--- +title: channels.ChannelParticipants +description: constructors and methods of type channels.ChannelParticipants +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: channels.ChannelParticipants +[Back to types index](index.md) + + + +### Possible values (constructors): + +[channels.channelParticipants](../constructors/channels.channelParticipants.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->channels->getParticipants](../methods/channels.getParticipants.md) + + + diff --git a/old_docs/API_docs_v41/types/channels_ChannelParticipant.md b/old_docs/API_docs_v41/types/channels_ChannelParticipant.md deleted file mode 100644 index 3d4667c3..00000000 --- a/old_docs/API_docs_v41/types/channels_ChannelParticipant.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: channels_ChannelParticipant -description: constructors and methods of type channels_ChannelParticipant -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: channels\_ChannelParticipant -[Back to types index](index.md) - - - -### Possible values (constructors): - -[channels\_channelParticipant](../constructors/channels_channelParticipant.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->channels->getParticipant](../methods/channels_getParticipant.md) - - - diff --git a/old_docs/API_docs_v41/types/channels_ChannelParticipants.md b/old_docs/API_docs_v41/types/channels_ChannelParticipants.md deleted file mode 100644 index 0500c2cb..00000000 --- a/old_docs/API_docs_v41/types/channels_ChannelParticipants.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: channels_ChannelParticipants -description: constructors and methods of type channels_ChannelParticipants -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: channels\_ChannelParticipants -[Back to types index](index.md) - - - -### Possible values (constructors): - -[channels\_channelParticipants](../constructors/channels_channelParticipants.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->channels->getParticipants](../methods/channels_getParticipants.md) - - - diff --git a/old_docs/API_docs_v41/types/contacts.Blocked.md b/old_docs/API_docs_v41/types/contacts.Blocked.md new file mode 100644 index 00000000..cb2af80f --- /dev/null +++ b/old_docs/API_docs_v41/types/contacts.Blocked.md @@ -0,0 +1,24 @@ +--- +title: contacts.Blocked +description: constructors and methods of type contacts.Blocked +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Blocked +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.blocked](../constructors/contacts.blocked.md) + +[contacts.blockedSlice](../constructors/contacts.blockedSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getBlocked](../methods/contacts.getBlocked.md) + + + diff --git a/old_docs/API_docs_v41/types/contacts.Contacts.md b/old_docs/API_docs_v41/types/contacts.Contacts.md new file mode 100644 index 00000000..5f695d8e --- /dev/null +++ b/old_docs/API_docs_v41/types/contacts.Contacts.md @@ -0,0 +1,24 @@ +--- +title: contacts.Contacts +description: constructors and methods of type contacts.Contacts +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Contacts +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.contactsNotModified](../constructors/contacts.contactsNotModified.md) + +[contacts.contacts](../constructors/contacts.contacts.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getContacts](../methods/contacts.getContacts.md) + + + diff --git a/old_docs/API_docs_v41/types/contacts.Found.md b/old_docs/API_docs_v41/types/contacts.Found.md new file mode 100644 index 00000000..7df98927 --- /dev/null +++ b/old_docs/API_docs_v41/types/contacts.Found.md @@ -0,0 +1,22 @@ +--- +title: contacts.Found +description: constructors and methods of type contacts.Found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Found +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.found](../constructors/contacts.found.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->search](../methods/contacts.search.md) + + + diff --git a/old_docs/API_docs_v41/types/contacts.ImportedContacts.md b/old_docs/API_docs_v41/types/contacts.ImportedContacts.md new file mode 100644 index 00000000..16795bab --- /dev/null +++ b/old_docs/API_docs_v41/types/contacts.ImportedContacts.md @@ -0,0 +1,22 @@ +--- +title: contacts.ImportedContacts +description: constructors and methods of type contacts.ImportedContacts +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.ImportedContacts +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.importedContacts](../constructors/contacts.importedContacts.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->importContacts](../methods/contacts.importContacts.md) + + + diff --git a/old_docs/API_docs_v41/types/contacts.Link.md b/old_docs/API_docs_v41/types/contacts.Link.md new file mode 100644 index 00000000..eb9da683 --- /dev/null +++ b/old_docs/API_docs_v41/types/contacts.Link.md @@ -0,0 +1,22 @@ +--- +title: contacts.Link +description: constructors and methods of type contacts.Link +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Link +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.link](../constructors/contacts.link.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->deleteContact](../methods/contacts.deleteContact.md) + + + diff --git a/old_docs/API_docs_v41/types/contacts.ResolvedPeer.md b/old_docs/API_docs_v41/types/contacts.ResolvedPeer.md new file mode 100644 index 00000000..13630d54 --- /dev/null +++ b/old_docs/API_docs_v41/types/contacts.ResolvedPeer.md @@ -0,0 +1,22 @@ +--- +title: contacts.ResolvedPeer +description: constructors and methods of type contacts.ResolvedPeer +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.ResolvedPeer +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.resolvedPeer](../constructors/contacts.resolvedPeer.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->resolveUsername](../methods/contacts.resolveUsername.md) + + + diff --git a/old_docs/API_docs_v41/types/contacts.Suggested.md b/old_docs/API_docs_v41/types/contacts.Suggested.md new file mode 100644 index 00000000..a462dae5 --- /dev/null +++ b/old_docs/API_docs_v41/types/contacts.Suggested.md @@ -0,0 +1,22 @@ +--- +title: contacts.Suggested +description: constructors and methods of type contacts.Suggested +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Suggested +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.suggested](../constructors/contacts.suggested.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getSuggested](../methods/contacts.getSuggested.md) + + + diff --git a/old_docs/API_docs_v41/types/contacts_Blocked.md b/old_docs/API_docs_v41/types/contacts_Blocked.md deleted file mode 100644 index 3e1f02eb..00000000 --- a/old_docs/API_docs_v41/types/contacts_Blocked.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: contacts_Blocked -description: constructors and methods of type contacts_Blocked -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Blocked -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_blocked](../constructors/contacts_blocked.md) - -[contacts\_blockedSlice](../constructors/contacts_blockedSlice.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->getBlocked](../methods/contacts_getBlocked.md) - - - diff --git a/old_docs/API_docs_v41/types/contacts_Contacts.md b/old_docs/API_docs_v41/types/contacts_Contacts.md deleted file mode 100644 index 5d6c9506..00000000 --- a/old_docs/API_docs_v41/types/contacts_Contacts.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: contacts_Contacts -description: constructors and methods of type contacts_Contacts -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Contacts -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_contactsNotModified](../constructors/contacts_contactsNotModified.md) - -[contacts\_contacts](../constructors/contacts_contacts.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->getContacts](../methods/contacts_getContacts.md) - - - diff --git a/old_docs/API_docs_v41/types/contacts_Found.md b/old_docs/API_docs_v41/types/contacts_Found.md deleted file mode 100644 index 806101cf..00000000 --- a/old_docs/API_docs_v41/types/contacts_Found.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_Found -description: constructors and methods of type contacts_Found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Found -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_found](../constructors/contacts_found.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->search](../methods/contacts_search.md) - - - diff --git a/old_docs/API_docs_v41/types/contacts_ImportedContacts.md b/old_docs/API_docs_v41/types/contacts_ImportedContacts.md deleted file mode 100644 index faf7e615..00000000 --- a/old_docs/API_docs_v41/types/contacts_ImportedContacts.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_ImportedContacts -description: constructors and methods of type contacts_ImportedContacts -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_ImportedContacts -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_importedContacts](../constructors/contacts_importedContacts.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->importContacts](../methods/contacts_importContacts.md) - - - diff --git a/old_docs/API_docs_v41/types/contacts_Link.md b/old_docs/API_docs_v41/types/contacts_Link.md deleted file mode 100644 index 01556606..00000000 --- a/old_docs/API_docs_v41/types/contacts_Link.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_Link -description: constructors and methods of type contacts_Link -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Link -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_link](../constructors/contacts_link.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->deleteContact](../methods/contacts_deleteContact.md) - - - diff --git a/old_docs/API_docs_v41/types/contacts_ResolvedPeer.md b/old_docs/API_docs_v41/types/contacts_ResolvedPeer.md deleted file mode 100644 index cf107f7c..00000000 --- a/old_docs/API_docs_v41/types/contacts_ResolvedPeer.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_ResolvedPeer -description: constructors and methods of type contacts_ResolvedPeer -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_ResolvedPeer -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_resolvedPeer](../constructors/contacts_resolvedPeer.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->resolveUsername](../methods/contacts_resolveUsername.md) - - - diff --git a/old_docs/API_docs_v41/types/contacts_Suggested.md b/old_docs/API_docs_v41/types/contacts_Suggested.md deleted file mode 100644 index dd597b3b..00000000 --- a/old_docs/API_docs_v41/types/contacts_Suggested.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_Suggested -description: constructors and methods of type contacts_Suggested -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Suggested -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_suggested](../constructors/contacts_suggested.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->getSuggested](../methods/contacts_getSuggested.md) - - - diff --git a/old_docs/API_docs_v41/types/help.AppChangelog.md b/old_docs/API_docs_v41/types/help.AppChangelog.md new file mode 100644 index 00000000..71584fdc --- /dev/null +++ b/old_docs/API_docs_v41/types/help.AppChangelog.md @@ -0,0 +1,24 @@ +--- +title: help.AppChangelog +description: constructors and methods of type help.AppChangelog +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.AppChangelog +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.appChangelogEmpty](../constructors/help.appChangelogEmpty.md) + +[help.appChangelog](../constructors/help.appChangelog.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getAppChangelog](../methods/help.getAppChangelog.md) + + + diff --git a/old_docs/API_docs_v41/types/help.AppUpdate.md b/old_docs/API_docs_v41/types/help.AppUpdate.md new file mode 100644 index 00000000..285ec2b7 --- /dev/null +++ b/old_docs/API_docs_v41/types/help.AppUpdate.md @@ -0,0 +1,24 @@ +--- +title: help.AppUpdate +description: constructors and methods of type help.AppUpdate +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.AppUpdate +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.appUpdate](../constructors/help.appUpdate.md) + +[help.noAppUpdate](../constructors/help.noAppUpdate.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getAppUpdate](../methods/help.getAppUpdate.md) + + + diff --git a/old_docs/API_docs_v41/types/help.InviteText.md b/old_docs/API_docs_v41/types/help.InviteText.md new file mode 100644 index 00000000..43293f46 --- /dev/null +++ b/old_docs/API_docs_v41/types/help.InviteText.md @@ -0,0 +1,22 @@ +--- +title: help.InviteText +description: constructors and methods of type help.InviteText +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.InviteText +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.inviteText](../constructors/help.inviteText.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getInviteText](../methods/help.getInviteText.md) + + + diff --git a/old_docs/API_docs_v41/types/help.Support.md b/old_docs/API_docs_v41/types/help.Support.md new file mode 100644 index 00000000..42c20483 --- /dev/null +++ b/old_docs/API_docs_v41/types/help.Support.md @@ -0,0 +1,22 @@ +--- +title: help.Support +description: constructors and methods of type help.Support +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.Support +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.support](../constructors/help.support.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getSupport](../methods/help.getSupport.md) + + + diff --git a/old_docs/API_docs_v41/types/help_AppChangelog.md b/old_docs/API_docs_v41/types/help_AppChangelog.md deleted file mode 100644 index 350cb644..00000000 --- a/old_docs/API_docs_v41/types/help_AppChangelog.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: help_AppChangelog -description: constructors and methods of type help_AppChangelog -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_AppChangelog -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_appChangelogEmpty](../constructors/help_appChangelogEmpty.md) - -[help\_appChangelog](../constructors/help_appChangelog.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getAppChangelog](../methods/help_getAppChangelog.md) - - - diff --git a/old_docs/API_docs_v41/types/help_AppUpdate.md b/old_docs/API_docs_v41/types/help_AppUpdate.md deleted file mode 100644 index 1f296a70..00000000 --- a/old_docs/API_docs_v41/types/help_AppUpdate.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: help_AppUpdate -description: constructors and methods of type help_AppUpdate -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_AppUpdate -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_appUpdate](../constructors/help_appUpdate.md) - -[help\_noAppUpdate](../constructors/help_noAppUpdate.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getAppUpdate](../methods/help_getAppUpdate.md) - - - diff --git a/old_docs/API_docs_v41/types/help_InviteText.md b/old_docs/API_docs_v41/types/help_InviteText.md deleted file mode 100644 index 018d35bf..00000000 --- a/old_docs/API_docs_v41/types/help_InviteText.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: help_InviteText -description: constructors and methods of type help_InviteText -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_InviteText -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_inviteText](../constructors/help_inviteText.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getInviteText](../methods/help_getInviteText.md) - - - diff --git a/old_docs/API_docs_v41/types/help_Support.md b/old_docs/API_docs_v41/types/help_Support.md deleted file mode 100644 index 26de447b..00000000 --- a/old_docs/API_docs_v41/types/help_Support.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: help_Support -description: constructors and methods of type help_Support -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_Support -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_support](../constructors/help_support.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getSupport](../methods/help_getSupport.md) - - - diff --git a/old_docs/API_docs_v41/types/messages.AffectedHistory.md b/old_docs/API_docs_v41/types/messages.AffectedHistory.md new file mode 100644 index 00000000..f0411b4d --- /dev/null +++ b/old_docs/API_docs_v41/types/messages.AffectedHistory.md @@ -0,0 +1,24 @@ +--- +title: messages.AffectedHistory +description: constructors and methods of type messages.AffectedHistory +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.AffectedHistory +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.affectedHistory](../constructors/messages.affectedHistory.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->deleteHistory](../methods/messages.deleteHistory.md) + +[$MadelineProto->channels->deleteUserHistory](../methods/channels.deleteUserHistory.md) + + + diff --git a/old_docs/API_docs_v41/types/messages.AffectedMessages.md b/old_docs/API_docs_v41/types/messages.AffectedMessages.md new file mode 100644 index 00000000..a9159de3 --- /dev/null +++ b/old_docs/API_docs_v41/types/messages.AffectedMessages.md @@ -0,0 +1,28 @@ +--- +title: messages.AffectedMessages +description: constructors and methods of type messages.AffectedMessages +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.AffectedMessages +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.affectedMessages](../constructors/messages.affectedMessages.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->readHistory](../methods/messages.readHistory.md) + +[$MadelineProto->messages->deleteMessages](../methods/messages.deleteMessages.md) + +[$MadelineProto->messages->readMessageContents](../methods/messages.readMessageContents.md) + +[$MadelineProto->channels->deleteMessages](../methods/channels.deleteMessages.md) + + + diff --git a/old_docs/API_docs_v41/types/messages.AllStickers.md b/old_docs/API_docs_v41/types/messages.AllStickers.md new file mode 100644 index 00000000..5ece92c0 --- /dev/null +++ b/old_docs/API_docs_v41/types/messages.AllStickers.md @@ -0,0 +1,24 @@ +--- +title: messages.AllStickers +description: constructors and methods of type messages.AllStickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.AllStickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.allStickersNotModified](../constructors/messages.allStickersNotModified.md) + +[messages.allStickers](../constructors/messages.allStickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getAllStickers](../methods/messages.getAllStickers.md) + + + diff --git a/old_docs/API_docs_v41/types/messages.ChatFull.md b/old_docs/API_docs_v41/types/messages.ChatFull.md new file mode 100644 index 00000000..3ad38748 --- /dev/null +++ b/old_docs/API_docs_v41/types/messages.ChatFull.md @@ -0,0 +1,24 @@ +--- +title: messages.ChatFull +description: constructors and methods of type messages.ChatFull +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.ChatFull +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.chatFull](../constructors/messages.chatFull.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getFullChat](../methods/messages.getFullChat.md) + +[$MadelineProto->channels->getFullChannel](../methods/channels.getFullChannel.md) + + + diff --git a/old_docs/API_docs_v41/types/messages.Chats.md b/old_docs/API_docs_v41/types/messages.Chats.md new file mode 100644 index 00000000..c2bfab5d --- /dev/null +++ b/old_docs/API_docs_v41/types/messages.Chats.md @@ -0,0 +1,24 @@ +--- +title: messages.Chats +description: constructors and methods of type messages.Chats +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Chats +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.chats](../constructors/messages.chats.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getChats](../methods/messages.getChats.md) + +[$MadelineProto->channels->getChannels](../methods/channels.getChannels.md) + + + diff --git a/old_docs/API_docs_v41/types/messages.DhConfig.md b/old_docs/API_docs_v41/types/messages.DhConfig.md new file mode 100644 index 00000000..77188ab7 --- /dev/null +++ b/old_docs/API_docs_v41/types/messages.DhConfig.md @@ -0,0 +1,24 @@ +--- +title: messages.DhConfig +description: constructors and methods of type messages.DhConfig +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.DhConfig +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.dhConfigNotModified](../constructors/messages.dhConfigNotModified.md) + +[messages.dhConfig](../constructors/messages.dhConfig.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getDhConfig](../methods/messages.getDhConfig.md) + + + diff --git a/old_docs/API_docs_v41/types/messages.Dialogs.md b/old_docs/API_docs_v41/types/messages.Dialogs.md new file mode 100644 index 00000000..f70ca7d8 --- /dev/null +++ b/old_docs/API_docs_v41/types/messages.Dialogs.md @@ -0,0 +1,26 @@ +--- +title: messages.Dialogs +description: constructors and methods of type messages.Dialogs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Dialogs +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.dialogs](../constructors/messages.dialogs.md) + +[messages.dialogsSlice](../constructors/messages.dialogsSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getDialogs](../methods/messages.getDialogs.md) + +[$MadelineProto->channels->getDialogs](../methods/channels.getDialogs.md) + + + diff --git a/old_docs/API_docs_v41/types/messages.Messages.md b/old_docs/API_docs_v41/types/messages.Messages.md new file mode 100644 index 00000000..181fbae5 --- /dev/null +++ b/old_docs/API_docs_v41/types/messages.Messages.md @@ -0,0 +1,36 @@ +--- +title: messages.Messages +description: constructors and methods of type messages.Messages +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Messages +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.messages](../constructors/messages.messages.md) + +[messages.messagesSlice](../constructors/messages.messagesSlice.md) + +[messages.channelMessages](../constructors/messages.channelMessages.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getMessages](../methods/messages.getMessages.md) + +[$MadelineProto->messages->getHistory](../methods/messages.getHistory.md) + +[$MadelineProto->messages->search](../methods/messages.search.md) + +[$MadelineProto->channels->getImportantHistory](../methods/channels.getImportantHistory.md) + +[$MadelineProto->channels->getMessages](../methods/channels.getMessages.md) + +[$MadelineProto->messages->searchGlobal](../methods/messages.searchGlobal.md) + + + diff --git a/old_docs/API_docs_v41/types/messages.SentEncryptedMessage.md b/old_docs/API_docs_v41/types/messages.SentEncryptedMessage.md new file mode 100644 index 00000000..b6d05b1f --- /dev/null +++ b/old_docs/API_docs_v41/types/messages.SentEncryptedMessage.md @@ -0,0 +1,28 @@ +--- +title: messages.SentEncryptedMessage +description: constructors and methods of type messages.SentEncryptedMessage +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.SentEncryptedMessage +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.sentEncryptedMessage](../constructors/messages.sentEncryptedMessage.md) + +[messages.sentEncryptedFile](../constructors/messages.sentEncryptedFile.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->sendEncrypted](../methods/messages.sendEncrypted.md) + +[$MadelineProto->messages->sendEncryptedFile](../methods/messages.sendEncryptedFile.md) + +[$MadelineProto->messages->sendEncryptedService](../methods/messages.sendEncryptedService.md) + + + diff --git a/old_docs/API_docs_v41/types/messages.StickerSet.md b/old_docs/API_docs_v41/types/messages.StickerSet.md new file mode 100644 index 00000000..8de24a76 --- /dev/null +++ b/old_docs/API_docs_v41/types/messages.StickerSet.md @@ -0,0 +1,22 @@ +--- +title: messages.StickerSet +description: constructors and methods of type messages.StickerSet +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.StickerSet +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.stickerSet](../constructors/messages.stickerSet.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getStickerSet](../methods/messages.getStickerSet.md) + + + diff --git a/old_docs/API_docs_v41/types/messages.Stickers.md b/old_docs/API_docs_v41/types/messages.Stickers.md new file mode 100644 index 00000000..43bddf06 --- /dev/null +++ b/old_docs/API_docs_v41/types/messages.Stickers.md @@ -0,0 +1,24 @@ +--- +title: messages.Stickers +description: constructors and methods of type messages.Stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Stickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.stickersNotModified](../constructors/messages.stickersNotModified.md) + +[messages.stickers](../constructors/messages.stickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getStickers](../methods/messages.getStickers.md) + + + diff --git a/old_docs/API_docs_v41/types/messages_AffectedHistory.md b/old_docs/API_docs_v41/types/messages_AffectedHistory.md deleted file mode 100644 index a2d75894..00000000 --- a/old_docs/API_docs_v41/types/messages_AffectedHistory.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_AffectedHistory -description: constructors and methods of type messages_AffectedHistory -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_AffectedHistory -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_affectedHistory](../constructors/messages_affectedHistory.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->deleteHistory](../methods/messages_deleteHistory.md) - -[$MadelineProto->channels->deleteUserHistory](../methods/channels_deleteUserHistory.md) - - - diff --git a/old_docs/API_docs_v41/types/messages_AffectedMessages.md b/old_docs/API_docs_v41/types/messages_AffectedMessages.md deleted file mode 100644 index dcbea721..00000000 --- a/old_docs/API_docs_v41/types/messages_AffectedMessages.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: messages_AffectedMessages -description: constructors and methods of type messages_AffectedMessages -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_AffectedMessages -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_affectedMessages](../constructors/messages_affectedMessages.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->readHistory](../methods/messages_readHistory.md) - -[$MadelineProto->messages->deleteMessages](../methods/messages_deleteMessages.md) - -[$MadelineProto->messages->readMessageContents](../methods/messages_readMessageContents.md) - -[$MadelineProto->channels->deleteMessages](../methods/channels_deleteMessages.md) - - - diff --git a/old_docs/API_docs_v41/types/messages_AllStickers.md b/old_docs/API_docs_v41/types/messages_AllStickers.md deleted file mode 100644 index 59d19759..00000000 --- a/old_docs/API_docs_v41/types/messages_AllStickers.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_AllStickers -description: constructors and methods of type messages_AllStickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_AllStickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_allStickersNotModified](../constructors/messages_allStickersNotModified.md) - -[messages\_allStickers](../constructors/messages_allStickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getAllStickers](../methods/messages_getAllStickers.md) - - - diff --git a/old_docs/API_docs_v41/types/messages_ChatFull.md b/old_docs/API_docs_v41/types/messages_ChatFull.md deleted file mode 100644 index e4add41e..00000000 --- a/old_docs/API_docs_v41/types/messages_ChatFull.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_ChatFull -description: constructors and methods of type messages_ChatFull -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_ChatFull -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_chatFull](../constructors/messages_chatFull.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getFullChat](../methods/messages_getFullChat.md) - -[$MadelineProto->channels->getFullChannel](../methods/channels_getFullChannel.md) - - - diff --git a/old_docs/API_docs_v41/types/messages_Chats.md b/old_docs/API_docs_v41/types/messages_Chats.md deleted file mode 100644 index 18b8c0d7..00000000 --- a/old_docs/API_docs_v41/types/messages_Chats.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_Chats -description: constructors and methods of type messages_Chats -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Chats -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_chats](../constructors/messages_chats.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getChats](../methods/messages_getChats.md) - -[$MadelineProto->channels->getChannels](../methods/channels_getChannels.md) - - - diff --git a/old_docs/API_docs_v41/types/messages_DhConfig.md b/old_docs/API_docs_v41/types/messages_DhConfig.md deleted file mode 100644 index ce237411..00000000 --- a/old_docs/API_docs_v41/types/messages_DhConfig.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_DhConfig -description: constructors and methods of type messages_DhConfig -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_DhConfig -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_dhConfigNotModified](../constructors/messages_dhConfigNotModified.md) - -[messages\_dhConfig](../constructors/messages_dhConfig.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getDhConfig](../methods/messages_getDhConfig.md) - - - diff --git a/old_docs/API_docs_v41/types/messages_Dialogs.md b/old_docs/API_docs_v41/types/messages_Dialogs.md deleted file mode 100644 index 188c4e55..00000000 --- a/old_docs/API_docs_v41/types/messages_Dialogs.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: messages_Dialogs -description: constructors and methods of type messages_Dialogs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Dialogs -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_dialogs](../constructors/messages_dialogs.md) - -[messages\_dialogsSlice](../constructors/messages_dialogsSlice.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getDialogs](../methods/messages_getDialogs.md) - -[$MadelineProto->channels->getDialogs](../methods/channels_getDialogs.md) - - - diff --git a/old_docs/API_docs_v41/types/messages_Messages.md b/old_docs/API_docs_v41/types/messages_Messages.md deleted file mode 100644 index 6c5cb04f..00000000 --- a/old_docs/API_docs_v41/types/messages_Messages.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -title: messages_Messages -description: constructors and methods of type messages_Messages -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Messages -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_messages](../constructors/messages_messages.md) - -[messages\_messagesSlice](../constructors/messages_messagesSlice.md) - -[messages\_channelMessages](../constructors/messages_channelMessages.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getMessages](../methods/messages_getMessages.md) - -[$MadelineProto->messages->getHistory](../methods/messages_getHistory.md) - -[$MadelineProto->messages->search](../methods/messages_search.md) - -[$MadelineProto->channels->getImportantHistory](../methods/channels_getImportantHistory.md) - -[$MadelineProto->channels->getMessages](../methods/channels_getMessages.md) - -[$MadelineProto->messages->searchGlobal](../methods/messages_searchGlobal.md) - - - diff --git a/old_docs/API_docs_v41/types/messages_SentEncryptedMessage.md b/old_docs/API_docs_v41/types/messages_SentEncryptedMessage.md deleted file mode 100644 index 9f7ab935..00000000 --- a/old_docs/API_docs_v41/types/messages_SentEncryptedMessage.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: messages_SentEncryptedMessage -description: constructors and methods of type messages_SentEncryptedMessage -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_SentEncryptedMessage -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_sentEncryptedMessage](../constructors/messages_sentEncryptedMessage.md) - -[messages\_sentEncryptedFile](../constructors/messages_sentEncryptedFile.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->sendEncrypted](../methods/messages_sendEncrypted.md) - -[$MadelineProto->messages->sendEncryptedFile](../methods/messages_sendEncryptedFile.md) - -[$MadelineProto->messages->sendEncryptedService](../methods/messages_sendEncryptedService.md) - - - diff --git a/old_docs/API_docs_v41/types/messages_StickerSet.md b/old_docs/API_docs_v41/types/messages_StickerSet.md deleted file mode 100644 index e04ee8bf..00000000 --- a/old_docs/API_docs_v41/types/messages_StickerSet.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_StickerSet -description: constructors and methods of type messages_StickerSet -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_StickerSet -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_stickerSet](../constructors/messages_stickerSet.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getStickerSet](../methods/messages_getStickerSet.md) - - - diff --git a/old_docs/API_docs_v41/types/messages_Stickers.md b/old_docs/API_docs_v41/types/messages_Stickers.md deleted file mode 100644 index cf53f57b..00000000 --- a/old_docs/API_docs_v41/types/messages_Stickers.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_Stickers -description: constructors and methods of type messages_Stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Stickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_stickersNotModified](../constructors/messages_stickersNotModified.md) - -[messages\_stickers](../constructors/messages_stickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getStickers](../methods/messages_getStickers.md) - - - diff --git a/old_docs/API_docs_v41/types/photos.Photo.md b/old_docs/API_docs_v41/types/photos.Photo.md new file mode 100644 index 00000000..d60f203c --- /dev/null +++ b/old_docs/API_docs_v41/types/photos.Photo.md @@ -0,0 +1,22 @@ +--- +title: photos.Photo +description: constructors and methods of type photos.Photo +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: photos.Photo +[Back to types index](index.md) + + + +### Possible values (constructors): + +[photos.photo](../constructors/photos.photo.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->photos->uploadProfilePhoto](../methods/photos.uploadProfilePhoto.md) + + + diff --git a/old_docs/API_docs_v41/types/photos.Photos.md b/old_docs/API_docs_v41/types/photos.Photos.md new file mode 100644 index 00000000..fff0e296 --- /dev/null +++ b/old_docs/API_docs_v41/types/photos.Photos.md @@ -0,0 +1,24 @@ +--- +title: photos.Photos +description: constructors and methods of type photos.Photos +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: photos.Photos +[Back to types index](index.md) + + + +### Possible values (constructors): + +[photos.photos](../constructors/photos.photos.md) + +[photos.photosSlice](../constructors/photos.photosSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->photos->getUserPhotos](../methods/photos.getUserPhotos.md) + + + diff --git a/old_docs/API_docs_v41/types/photos_Photo.md b/old_docs/API_docs_v41/types/photos_Photo.md deleted file mode 100644 index d11bbdef..00000000 --- a/old_docs/API_docs_v41/types/photos_Photo.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: photos_Photo -description: constructors and methods of type photos_Photo -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: photos\_Photo -[Back to types index](index.md) - - - -### Possible values (constructors): - -[photos\_photo](../constructors/photos_photo.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->photos->uploadProfilePhoto](../methods/photos_uploadProfilePhoto.md) - - - diff --git a/old_docs/API_docs_v41/types/photos_Photos.md b/old_docs/API_docs_v41/types/photos_Photos.md deleted file mode 100644 index 9875ad70..00000000 --- a/old_docs/API_docs_v41/types/photos_Photos.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: photos_Photos -description: constructors and methods of type photos_Photos -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: photos\_Photos -[Back to types index](index.md) - - - -### Possible values (constructors): - -[photos\_photos](../constructors/photos_photos.md) - -[photos\_photosSlice](../constructors/photos_photosSlice.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->photos->getUserPhotos](../methods/photos_getUserPhotos.md) - - - diff --git a/old_docs/API_docs_v41/types/storage.FileType.md b/old_docs/API_docs_v41/types/storage.FileType.md new file mode 100644 index 00000000..73dc8a92 --- /dev/null +++ b/old_docs/API_docs_v41/types/storage.FileType.md @@ -0,0 +1,38 @@ +--- +title: storage.FileType +description: constructors and methods of type storage.FileType +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: storage.FileType +[Back to types index](index.md) + + + +### Possible values (constructors): + +[storage.fileUnknown](../constructors/storage.fileUnknown.md) + +[storage.fileJpeg](../constructors/storage.fileJpeg.md) + +[storage.fileGif](../constructors/storage.fileGif.md) + +[storage.filePng](../constructors/storage.filePng.md) + +[storage.filePdf](../constructors/storage.filePdf.md) + +[storage.fileMp3](../constructors/storage.fileMp3.md) + +[storage.fileMov](../constructors/storage.fileMov.md) + +[storage.filePartial](../constructors/storage.filePartial.md) + +[storage.fileMp4](../constructors/storage.fileMp4.md) + +[storage.fileWebp](../constructors/storage.fileWebp.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v41/types/storage_FileType.md b/old_docs/API_docs_v41/types/storage_FileType.md deleted file mode 100644 index 076c52a4..00000000 --- a/old_docs/API_docs_v41/types/storage_FileType.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: storage_FileType -description: constructors and methods of type storage_FileType -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: storage\_FileType -[Back to types index](index.md) - - - -### Possible values (constructors): - -[storage\_fileUnknown](../constructors/storage_fileUnknown.md) - -[storage\_fileJpeg](../constructors/storage_fileJpeg.md) - -[storage\_fileGif](../constructors/storage_fileGif.md) - -[storage\_filePng](../constructors/storage_filePng.md) - -[storage\_filePdf](../constructors/storage_filePdf.md) - -[storage\_fileMp3](../constructors/storage_fileMp3.md) - -[storage\_fileMov](../constructors/storage_fileMov.md) - -[storage\_filePartial](../constructors/storage_filePartial.md) - -[storage\_fileMp4](../constructors/storage_fileMp4.md) - -[storage\_fileWebp](../constructors/storage_fileWebp.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v41/types/updates.ChannelDifference.md b/old_docs/API_docs_v41/types/updates.ChannelDifference.md new file mode 100644 index 00000000..ac889a1e --- /dev/null +++ b/old_docs/API_docs_v41/types/updates.ChannelDifference.md @@ -0,0 +1,26 @@ +--- +title: updates.ChannelDifference +description: constructors and methods of type updates.ChannelDifference +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: updates.ChannelDifference +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updates.channelDifferenceEmpty](../constructors/updates.channelDifferenceEmpty.md) + +[updates.channelDifferenceTooLong](../constructors/updates.channelDifferenceTooLong.md) + +[updates.channelDifference](../constructors/updates.channelDifference.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->updates->getChannelDifference](../methods/updates.getChannelDifference.md) + + + diff --git a/old_docs/API_docs_v41/types/updates.Difference.md b/old_docs/API_docs_v41/types/updates.Difference.md new file mode 100644 index 00000000..35998855 --- /dev/null +++ b/old_docs/API_docs_v41/types/updates.Difference.md @@ -0,0 +1,26 @@ +--- +title: updates.Difference +description: constructors and methods of type updates.Difference +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: updates.Difference +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updates.differenceEmpty](../constructors/updates.differenceEmpty.md) + +[updates.difference](../constructors/updates.difference.md) + +[updates.differenceSlice](../constructors/updates.differenceSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->updates->getDifference](../methods/updates.getDifference.md) + + + diff --git a/old_docs/API_docs_v41/types/updates.State.md b/old_docs/API_docs_v41/types/updates.State.md new file mode 100644 index 00000000..49bbb7fd --- /dev/null +++ b/old_docs/API_docs_v41/types/updates.State.md @@ -0,0 +1,22 @@ +--- +title: updates.State +description: constructors and methods of type updates.State +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: updates.State +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updates.state](../constructors/updates.state.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->updates->getState](../methods/updates.getState.md) + + + diff --git a/old_docs/API_docs_v41/types/updates_ChannelDifference.md b/old_docs/API_docs_v41/types/updates_ChannelDifference.md deleted file mode 100644 index dc988692..00000000 --- a/old_docs/API_docs_v41/types/updates_ChannelDifference.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: updates_ChannelDifference -description: constructors and methods of type updates_ChannelDifference -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: updates\_ChannelDifference -[Back to types index](index.md) - - - -### Possible values (constructors): - -[updates\_channelDifferenceEmpty](../constructors/updates_channelDifferenceEmpty.md) - -[updates\_channelDifferenceTooLong](../constructors/updates_channelDifferenceTooLong.md) - -[updates\_channelDifference](../constructors/updates_channelDifference.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->updates->getChannelDifference](../methods/updates_getChannelDifference.md) - - - diff --git a/old_docs/API_docs_v41/types/updates_Difference.md b/old_docs/API_docs_v41/types/updates_Difference.md deleted file mode 100644 index 0190189b..00000000 --- a/old_docs/API_docs_v41/types/updates_Difference.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: updates_Difference -description: constructors and methods of type updates_Difference -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: updates\_Difference -[Back to types index](index.md) - - - -### Possible values (constructors): - -[updates\_differenceEmpty](../constructors/updates_differenceEmpty.md) - -[updates\_difference](../constructors/updates_difference.md) - -[updates\_differenceSlice](../constructors/updates_differenceSlice.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->updates->getDifference](../methods/updates_getDifference.md) - - - diff --git a/old_docs/API_docs_v41/types/updates_State.md b/old_docs/API_docs_v41/types/updates_State.md deleted file mode 100644 index 7a441145..00000000 --- a/old_docs/API_docs_v41/types/updates_State.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: updates_State -description: constructors and methods of type updates_State -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: updates\_State -[Back to types index](index.md) - - - -### Possible values (constructors): - -[updates\_state](../constructors/updates_state.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->updates->getState](../methods/updates_getState.md) - - - diff --git a/old_docs/API_docs_v41/types/upload.File.md b/old_docs/API_docs_v41/types/upload.File.md new file mode 100644 index 00000000..922e6c7a --- /dev/null +++ b/old_docs/API_docs_v41/types/upload.File.md @@ -0,0 +1,22 @@ +--- +title: upload.File +description: constructors and methods of type upload.File +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: upload.File +[Back to types index](index.md) + + + +### Possible values (constructors): + +[upload.file](../constructors/upload.file.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->upload->getFile](../methods/upload.getFile.md) + + + diff --git a/old_docs/API_docs_v41/types/upload_File.md b/old_docs/API_docs_v41/types/upload_File.md deleted file mode 100644 index 6e3bc38d..00000000 --- a/old_docs/API_docs_v41/types/upload_File.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: upload_File -description: constructors and methods of type upload_File -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: upload\_File -[Back to types index](index.md) - - - -### Possible values (constructors): - -[upload\_file](../constructors/upload_file.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->upload->getFile](../methods/upload_getFile.md) - - - diff --git a/old_docs/API_docs_v42/constructors/README.md b/old_docs/API_docs_v42/constructors/README.md index b37d08a1..f0ca444e 100644 --- a/old_docs/API_docs_v42/constructors/README.md +++ b/old_docs/API_docs_v42/constructors/README.md @@ -7,22 +7,28 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png [Back to API documentation index](..) *** -

[$accountDaysTTL](../constructors/accountDaysTTL.md) = \['days' => [int](../types/int.md), \]; +

[$account.authorizations](../constructors/account.authorizations.md) = \['authorizations' => \[[Authorization](../types/Authorization.md)\], \]; *** -

[$account\_authorizations](../constructors/account_authorizations.md) = \['authorizations' => \[[Authorization](../types/Authorization.md)\], \]; +

[$account.noPassword](../constructors/account.noPassword.md) = \['new_salt' => [bytes](../types/bytes.md), 'email_unconfirmed_pattern' => [string](../types/string.md), \]; -[$account\_noPassword](../constructors/account_noPassword.md) = \['new_salt' => [bytes](../types/bytes.md), 'email_unconfirmed_pattern' => [string](../types/string.md), \]; +*** +

[$account.password](../constructors/account.password.md) = \['current_salt' => [bytes](../types/bytes.md), 'new_salt' => [bytes](../types/bytes.md), 'hint' => [string](../types/string.md), 'has_recovery' => [Bool](../types/Bool.md), 'email_unconfirmed_pattern' => [string](../types/string.md), \]; -[$account\_password](../constructors/account_password.md) = \['current_salt' => [bytes](../types/bytes.md), 'new_salt' => [bytes](../types/bytes.md), 'hint' => [string](../types/string.md), 'has_recovery' => [Bool](../types/Bool.md), 'email_unconfirmed_pattern' => [string](../types/string.md), \]; +*** +

[$account.passwordInputSettings](../constructors/account.passwordInputSettings.md) = \['new_salt' => [bytes](../types/bytes.md), 'new_password_hash' => [bytes](../types/bytes.md), 'hint' => [string](../types/string.md), 'email' => [string](../types/string.md), \]; -[$account\_passwordInputSettings](../constructors/account_passwordInputSettings.md) = \['new_salt' => [bytes](../types/bytes.md), 'new_password_hash' => [bytes](../types/bytes.md), 'hint' => [string](../types/string.md), 'email' => [string](../types/string.md), \]; +*** +

[$account.passwordSettings](../constructors/account.passwordSettings.md) = \['email' => [string](../types/string.md), \]; -[$account\_passwordSettings](../constructors/account_passwordSettings.md) = \['email' => [string](../types/string.md), \]; +*** +

[$account.privacyRules](../constructors/account.privacyRules.md) = \['rules' => \[[PrivacyRule](../types/PrivacyRule.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$account\_privacyRules](../constructors/account_privacyRules.md) = \['rules' => \[[PrivacyRule](../types/PrivacyRule.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$account.sentChangePhoneCode](../constructors/account.sentChangePhoneCode.md) = \['phone_code_hash' => [string](../types/string.md), 'send_call_timeout' => [int](../types/int.md), \]; -[$account\_sentChangePhoneCode](../constructors/account_sentChangePhoneCode.md) = \['phone_code_hash' => [string](../types/string.md), 'send_call_timeout' => [int](../types/int.md), \]; +*** +

[$accountDaysTTL](../constructors/accountDaysTTL.md) = \['days' => [int](../types/int.md), \]; ***

[$audio](../constructors/audio.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'date' => [int](../types/int.md), 'duration' => [int](../types/int.md), 'mime_type' => [string](../types/string.md), 'size' => [int](../types/int.md), 'dc_id' => [int](../types/int.md), \]; @@ -31,17 +37,22 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$audioEmpty](../constructors/audioEmpty.md) = \['id' => [long](../types/long.md), \]; *** -

[$auth\_authorization](../constructors/auth_authorization.md) = \['user' => [User](../types/User.md), \]; +

[$auth.authorization](../constructors/auth.authorization.md) = \['user' => [User](../types/User.md), \]; -[$auth\_checkedPhone](../constructors/auth_checkedPhone.md) = \['phone_registered' => [Bool](../types/Bool.md), \]; +*** +

[$auth.checkedPhone](../constructors/auth.checkedPhone.md) = \['phone_registered' => [Bool](../types/Bool.md), \]; -[$auth\_exportedAuthorization](../constructors/auth_exportedAuthorization.md) = \['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; +*** +

[$auth.exportedAuthorization](../constructors/auth.exportedAuthorization.md) = \['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; -[$auth\_passwordRecovery](../constructors/auth_passwordRecovery.md) = \['email_pattern' => [string](../types/string.md), \]; +*** +

[$auth.passwordRecovery](../constructors/auth.passwordRecovery.md) = \['email_pattern' => [string](../types/string.md), \]; -[$auth\_sentAppCode](../constructors/auth_sentAppCode.md) = \['phone_registered' => [Bool](../types/Bool.md), 'phone_code_hash' => [string](../types/string.md), 'send_call_timeout' => [int](../types/int.md), 'is_password' => [Bool](../types/Bool.md), \]; +*** +

[$auth.sentAppCode](../constructors/auth.sentAppCode.md) = \['phone_registered' => [Bool](../types/Bool.md), 'phone_code_hash' => [string](../types/string.md), 'send_call_timeout' => [int](../types/int.md), 'is_password' => [Bool](../types/Bool.md), \]; -[$auth\_sentCode](../constructors/auth_sentCode.md) = \['phone_registered' => [Bool](../types/Bool.md), 'phone_code_hash' => [string](../types/string.md), 'send_call_timeout' => [int](../types/int.md), 'is_password' => [Bool](../types/Bool.md), \]; +*** +

[$auth.sentCode](../constructors/auth.sentCode.md) = \['phone_registered' => [Bool](../types/Bool.md), 'phone_code_hash' => [string](../types/string.md), 'send_call_timeout' => [int](../types/int.md), 'is_password' => [Bool](../types/Bool.md), \]; ***

[$authorization](../constructors/authorization.md) = \['hash' => [long](../types/long.md), 'device_model' => [string](../types/string.md), 'platform' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'api_id' => [int](../types/int.md), 'app_name' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'date_created' => [int](../types/int.md), 'date_active' => [int](../types/int.md), 'ip' => [string](../types/string.md), 'country' => [string](../types/string.md), 'region' => [string](../types/string.md), \]; @@ -119,9 +130,10 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$channelRoleModerator](../constructors/channelRoleModerator.md) = \[\]; *** -

[$channels\_channelParticipant](../constructors/channels_channelParticipant.md) = \['participant' => [ChannelParticipant](../types/ChannelParticipant.md), 'users' => \[[User](../types/User.md)\], \]; +

[$channels.channelParticipant](../constructors/channels.channelParticipant.md) = \['participant' => [ChannelParticipant](../types/ChannelParticipant.md), 'users' => \[[User](../types/User.md)\], \]; -[$channels\_channelParticipants](../constructors/channels_channelParticipants.md) = \['count' => [int](../types/int.md), 'participants' => \[[ChannelParticipant](../types/ChannelParticipant.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$channels.channelParticipants](../constructors/channels.channelParticipants.md) = \['count' => [int](../types/int.md), 'participants' => \[[ChannelParticipant](../types/ChannelParticipant.md)\], 'users' => \[[User](../types/User.md)\], \]; ***

[$chat](../constructors/chat.md) = \['creator' => [Bool](../types/Bool.md), 'kicked' => [Bool](../types/Bool.md), 'left' => [Bool](../types/Bool.md), 'admins_enabled' => [Bool](../types/Bool.md), 'admin' => [Bool](../types/Bool.md), 'deactivated' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'title' => [string](../types/string.md), 'photo' => [ChatPhoto](../types/ChatPhoto.md), 'participants_count' => [int](../types/int.md), 'date' => [int](../types/int.md), 'version' => [int](../types/int.md), 'migrated_to' => [InputChannel](../types/InputChannel.md), \]; @@ -196,23 +208,31 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$contactSuggested](../constructors/contactSuggested.md) = \['user_id' => [int](../types/int.md), 'mutual_contacts' => [int](../types/int.md), \]; *** -

[$contacts\_blocked](../constructors/contacts_blocked.md) = \['blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; +

[$contacts.blocked](../constructors/contacts.blocked.md) = \['blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_blockedSlice](../constructors/contacts_blockedSlice.md) = \['count' => [int](../types/int.md), 'blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.blockedSlice](../constructors/contacts.blockedSlice.md) = \['count' => [int](../types/int.md), 'blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_contacts](../constructors/contacts_contacts.md) = \['contacts' => \[[Contact](../types/Contact.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.contacts](../constructors/contacts.contacts.md) = \['contacts' => \[[Contact](../types/Contact.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_contactsNotModified](../constructors/contacts_contactsNotModified.md) = \[\]; +*** +

[$contacts.contactsNotModified](../constructors/contacts.contactsNotModified.md) = \[\]; -[$contacts\_found](../constructors/contacts_found.md) = \['results' => \[[Peer](../types/Peer.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.found](../constructors/contacts.found.md) = \['results' => \[[Peer](../types/Peer.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_importedContacts](../constructors/contacts_importedContacts.md) = \['imported' => \[[ImportedContact](../types/ImportedContact.md)\], 'retry_contacts' => \[[long](../types/long.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.importedContacts](../constructors/contacts.importedContacts.md) = \['imported' => \[[ImportedContact](../types/ImportedContact.md)\], 'retry_contacts' => \[[long](../types/long.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_link](../constructors/contacts_link.md) = \['my_link' => [ContactLink](../types/ContactLink.md), 'foreign_link' => [ContactLink](../types/ContactLink.md), 'user' => [User](../types/User.md), \]; +*** +

[$contacts.link](../constructors/contacts.link.md) = \['my_link' => [ContactLink](../types/ContactLink.md), 'foreign_link' => [ContactLink](../types/ContactLink.md), 'user' => [User](../types/User.md), \]; -[$contacts\_resolvedPeer](../constructors/contacts_resolvedPeer.md) = \['peer' => [Peer](../types/Peer.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.resolvedPeer](../constructors/contacts.resolvedPeer.md) = \['peer' => [Peer](../types/Peer.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_suggested](../constructors/contacts_suggested.md) = \['results' => \[[ContactSuggested](../types/ContactSuggested.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.suggested](../constructors/contacts.suggested.md) = \['results' => \[[ContactSuggested](../types/ContactSuggested.md)\], 'users' => \[[User](../types/User.md)\], \]; ***

[$dcOption](../constructors/dcOption.md) = \['ipv6' => [Bool](../types/Bool.md), 'media_only' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'ip_address' => [string](../types/string.md), 'port' => [int](../types/int.md), \]; @@ -293,17 +313,22 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$geoPointEmpty](../constructors/geoPointEmpty.md) = \[\]; *** -

[$help\_appChangelog](../constructors/help_appChangelog.md) = \['text' => [string](../types/string.md), \]; +

[$help.appChangelog](../constructors/help.appChangelog.md) = \['text' => [string](../types/string.md), \]; -[$help\_appChangelogEmpty](../constructors/help_appChangelogEmpty.md) = \[\]; +*** +

[$help.appChangelogEmpty](../constructors/help.appChangelogEmpty.md) = \[\]; -[$help\_appUpdate](../constructors/help_appUpdate.md) = \['id' => [int](../types/int.md), 'critical' => [Bool](../types/Bool.md), 'url' => [string](../types/string.md), 'text' => [string](../types/string.md), \]; +*** +

[$help.appUpdate](../constructors/help.appUpdate.md) = \['id' => [int](../types/int.md), 'critical' => [Bool](../types/Bool.md), 'url' => [string](../types/string.md), 'text' => [string](../types/string.md), \]; -[$help\_inviteText](../constructors/help_inviteText.md) = \['message' => [string](../types/string.md), \]; +*** +

[$help.inviteText](../constructors/help.inviteText.md) = \['message' => [string](../types/string.md), \]; -[$help\_noAppUpdate](../constructors/help_noAppUpdate.md) = \[\]; +*** +

[$help.noAppUpdate](../constructors/help.noAppUpdate.md) = \[\]; -[$help\_support](../constructors/help_support.md) = \['phone_number' => [string](../types/string.md), 'user' => [User](../types/User.md), \]; +*** +

[$help.support](../constructors/help.support.md) = \['phone_number' => [string](../types/string.md), 'user' => [User](../types/User.md), \]; ***

[$importedContact](../constructors/importedContact.md) = \['user_id' => [int](../types/int.md), 'client_id' => [long](../types/long.md), \]; @@ -663,41 +688,58 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$messageService](../constructors/messageService.md) = \['unread' => [Bool](../types/Bool.md), 'out' => [Bool](../types/Bool.md), 'mentioned' => [Bool](../types/Bool.md), 'media_unread' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'from_id' => [int](../types/int.md), 'to_id' => [Peer](../types/Peer.md), 'date' => [int](../types/int.md), 'action' => [MessageAction](../types/MessageAction.md), \]; *** -

[$messages\_affectedHistory](../constructors/messages_affectedHistory.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), 'offset' => [int](../types/int.md), \]; +

[$messages.affectedHistory](../constructors/messages.affectedHistory.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), 'offset' => [int](../types/int.md), \]; -[$messages\_affectedMessages](../constructors/messages_affectedMessages.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; +*** +

[$messages.affectedMessages](../constructors/messages.affectedMessages.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; -[$messages\_allStickers](../constructors/messages_allStickers.md) = \['hash' => [string](../types/string.md), 'sets' => \[[StickerSet](../types/StickerSet.md)\], \]; +*** +

[$messages.allStickers](../constructors/messages.allStickers.md) = \['hash' => [string](../types/string.md), 'sets' => \[[StickerSet](../types/StickerSet.md)\], \]; -[$messages\_allStickersNotModified](../constructors/messages_allStickersNotModified.md) = \[\]; +*** +

[$messages.allStickersNotModified](../constructors/messages.allStickersNotModified.md) = \[\]; -[$messages\_channelMessages](../constructors/messages_channelMessages.md) = \['pts' => [int](../types/int.md), 'count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'collapsed' => \[[MessageGroup](../types/MessageGroup.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.channelMessages](../constructors/messages.channelMessages.md) = \['pts' => [int](../types/int.md), 'count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'collapsed' => \[[MessageGroup](../types/MessageGroup.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_chatFull](../constructors/messages_chatFull.md) = \['full_chat' => [ChatFull](../types/ChatFull.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.chatFull](../constructors/messages.chatFull.md) = \['full_chat' => [ChatFull](../types/ChatFull.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_chats](../constructors/messages_chats.md) = \['chats' => \[[Chat](../types/Chat.md)\], \]; +*** +

[$messages.chats](../constructors/messages.chats.md) = \['chats' => \[[Chat](../types/Chat.md)\], \]; -[$messages\_dhConfig](../constructors/messages_dhConfig.md) = \['g' => [int](../types/int.md), 'p' => [bytes](../types/bytes.md), 'version' => [int](../types/int.md), 'random' => [bytes](../types/bytes.md), \]; +*** +

[$messages.dhConfig](../constructors/messages.dhConfig.md) = \['g' => [int](../types/int.md), 'p' => [bytes](../types/bytes.md), 'version' => [int](../types/int.md), 'random' => [bytes](../types/bytes.md), \]; -[$messages\_dhConfigNotModified](../constructors/messages_dhConfigNotModified.md) = \['random' => [bytes](../types/bytes.md), \]; +*** +

[$messages.dhConfigNotModified](../constructors/messages.dhConfigNotModified.md) = \['random' => [bytes](../types/bytes.md), \]; -[$messages\_dialogs](../constructors/messages_dialogs.md) = \['dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.dialogs](../constructors/messages.dialogs.md) = \['dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_dialogsSlice](../constructors/messages_dialogsSlice.md) = \['count' => [int](../types/int.md), 'dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.dialogsSlice](../constructors/messages.dialogsSlice.md) = \['count' => [int](../types/int.md), 'dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_messages](../constructors/messages_messages.md) = \['messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.messages](../constructors/messages.messages.md) = \['messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_messagesSlice](../constructors/messages_messagesSlice.md) = \['count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.messagesSlice](../constructors/messages.messagesSlice.md) = \['count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_sentEncryptedFile](../constructors/messages_sentEncryptedFile.md) = \['date' => [int](../types/int.md), 'file' => [EncryptedFile](../types/EncryptedFile.md), \]; +*** +

[$messages.sentEncryptedFile](../constructors/messages.sentEncryptedFile.md) = \['date' => [int](../types/int.md), 'file' => [EncryptedFile](../types/EncryptedFile.md), \]; -[$messages\_sentEncryptedMessage](../constructors/messages_sentEncryptedMessage.md) = \['date' => [int](../types/int.md), \]; +*** +

[$messages.sentEncryptedMessage](../constructors/messages.sentEncryptedMessage.md) = \['date' => [int](../types/int.md), \]; -[$messages\_stickerSet](../constructors/messages_stickerSet.md) = \['set' => [StickerSet](../types/StickerSet.md), 'packs' => \[[StickerPack](../types/StickerPack.md)\], 'documents' => \[[Document](../types/Document.md)\], \]; +*** +

[$messages.stickerSet](../constructors/messages.stickerSet.md) = \['set' => [StickerSet](../types/StickerSet.md), 'packs' => \[[StickerPack](../types/StickerPack.md)\], 'documents' => \[[Document](../types/Document.md)\], \]; -[$messages\_stickers](../constructors/messages_stickers.md) = \['hash' => [string](../types/string.md), 'stickers' => \[[Document](../types/Document.md)\], \]; +*** +

[$messages.stickers](../constructors/messages.stickers.md) = \['hash' => [string](../types/string.md), 'stickers' => \[[Document](../types/Document.md)\], \]; -[$messages\_stickersNotModified](../constructors/messages_stickersNotModified.md) = \[\]; +*** +

[$messages.stickersNotModified](../constructors/messages.stickersNotModified.md) = \[\]; ***

[$nearestDc](../constructors/nearestDc.md) = \['country' => [string](../types/string.md), 'this_dc' => [int](../types/int.md), 'nearest_dc' => [int](../types/int.md), \]; @@ -754,11 +796,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$photoSizeEmpty](../constructors/photoSizeEmpty.md) = \['type' => [string](../types/string.md), \]; *** -

[$photos\_photo](../constructors/photos_photo.md) = \['photo' => [Photo](../types/Photo.md), 'users' => \[[User](../types/User.md)\], \]; +

[$photos.photo](../constructors/photos.photo.md) = \['photo' => [Photo](../types/Photo.md), 'users' => \[[User](../types/User.md)\], \]; -[$photos\_photos](../constructors/photos_photos.md) = \['photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$photos.photos](../constructors/photos.photos.md) = \['photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$photos\_photosSlice](../constructors/photos_photosSlice.md) = \['count' => [int](../types/int.md), 'photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$photos.photosSlice](../constructors/photos.photosSlice.md) = \['count' => [int](../types/int.md), 'photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; ***

[$privacyKeyStatusTimestamp](../constructors/privacyKeyStatusTimestamp.md) = \[\]; @@ -830,25 +874,34 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$stickerSet](../constructors/stickerSet.md) = \['installed' => [Bool](../types/Bool.md), 'disabled' => [Bool](../types/Bool.md), 'official' => [Bool](../types/Bool.md), 'id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'title' => [string](../types/string.md), 'short_name' => [string](../types/string.md), 'count' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]; *** -

[$storage\_fileGif](../constructors/storage_fileGif.md) = \[\]; +

[$storage.fileGif](../constructors/storage.fileGif.md) = \[\]; -[$storage\_fileJpeg](../constructors/storage_fileJpeg.md) = \[\]; +*** +

[$storage.fileJpeg](../constructors/storage.fileJpeg.md) = \[\]; -[$storage\_fileMov](../constructors/storage_fileMov.md) = \[\]; +*** +

[$storage.fileMov](../constructors/storage.fileMov.md) = \[\]; -[$storage\_fileMp3](../constructors/storage_fileMp3.md) = \[\]; +*** +

[$storage.fileMp3](../constructors/storage.fileMp3.md) = \[\]; -[$storage\_fileMp4](../constructors/storage_fileMp4.md) = \[\]; +*** +

[$storage.fileMp4](../constructors/storage.fileMp4.md) = \[\]; -[$storage\_filePartial](../constructors/storage_filePartial.md) = \[\]; +*** +

[$storage.filePartial](../constructors/storage.filePartial.md) = \[\]; -[$storage\_filePdf](../constructors/storage_filePdf.md) = \[\]; +*** +

[$storage.filePdf](../constructors/storage.filePdf.md) = \[\]; -[$storage\_filePng](../constructors/storage_filePng.md) = \[\]; +*** +

[$storage.filePng](../constructors/storage.filePng.md) = \[\]; -[$storage\_fileUnknown](../constructors/storage_fileUnknown.md) = \[\]; +*** +

[$storage.fileUnknown](../constructors/storage.fileUnknown.md) = \[\]; -[$storage\_fileWebp](../constructors/storage_fileWebp.md) = \[\]; +*** +

[$storage.fileWebp](../constructors/storage.fileWebp.md) = \[\]; ***

[$true](../constructors/true.md) = \[\]; @@ -979,6 +1032,27 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ***

[$updates](../constructors/updates.md) = \['updates' => \[[Update](../types/Update.md)\], 'users' => \[[User](../types/User.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'date' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; +*** +

[$updates.channelDifference](../constructors/updates.channelDifference.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), 'new_messages' => \[[Message](../types/Message.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +*** +

[$updates.channelDifferenceEmpty](../constructors/updates.channelDifferenceEmpty.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), \]; + +*** +

[$updates.channelDifferenceTooLong](../constructors/updates.channelDifferenceTooLong.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), 'top_message' => [int](../types/int.md), 'top_important_message' => [int](../types/int.md), 'read_inbox_max_id' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), 'unread_important_count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +*** +

[$updates.difference](../constructors/updates.difference.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'state' => [updates.State](../types/updates.State.md), \]; + +*** +

[$updates.differenceEmpty](../constructors/updates.differenceEmpty.md) = \['date' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; + +*** +

[$updates.differenceSlice](../constructors/updates.differenceSlice.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'intermediate_state' => [updates.State](../types/updates.State.md), \]; + +*** +

[$updates.state](../constructors/updates.state.md) = \['pts' => [int](../types/int.md), 'qts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'seq' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), \]; + ***

[$updatesCombined](../constructors/updatesCombined.md) = \['updates' => \[[Update](../types/Update.md)\], 'users' => \[[User](../types/User.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'date' => [int](../types/int.md), 'seq_start' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; @@ -986,22 +1060,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$updatesTooLong](../constructors/updatesTooLong.md) = \[\]; *** -

[$updates\_channelDifference](../constructors/updates_channelDifference.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), 'new_messages' => \[[Message](../types/Message.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; - -[$updates\_channelDifferenceEmpty](../constructors/updates_channelDifferenceEmpty.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), \]; - -[$updates\_channelDifferenceTooLong](../constructors/updates_channelDifferenceTooLong.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), 'top_message' => [int](../types/int.md), 'top_important_message' => [int](../types/int.md), 'read_inbox_max_id' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), 'unread_important_count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; - -[$updates\_difference](../constructors/updates_difference.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'state' => [updates.State](../types/updates.State.md), \]; - -[$updates\_differenceEmpty](../constructors/updates_differenceEmpty.md) = \['date' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; - -[$updates\_differenceSlice](../constructors/updates_differenceSlice.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'intermediate_state' => [updates.State](../types/updates.State.md), \]; - -[$updates\_state](../constructors/updates_state.md) = \['pts' => [int](../types/int.md), 'qts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'seq' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), \]; - -*** -

[$upload\_file](../constructors/upload_file.md) = \['type' => [storage.FileType](../types/storage.FileType.md), 'mtime' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; +

[$upload.file](../constructors/upload.file.md) = \['type' => [storage.FileType](../types/storage.FileType.md), 'mtime' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; ***

[$user](../constructors/user.md) = \['self' => [Bool](../types/Bool.md), 'contact' => [Bool](../types/Bool.md), 'mutual_contact' => [Bool](../types/Bool.md), 'deleted' => [Bool](../types/Bool.md), 'bot' => [Bool](../types/Bool.md), 'bot_chat_history' => [Bool](../types/Bool.md), 'bot_nochats' => [Bool](../types/Bool.md), 'verified' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), 'username' => [string](../types/string.md), 'phone' => [string](../types/string.md), 'photo' => [UserProfilePhoto](../types/UserProfilePhoto.md), 'status' => [UserStatus](../types/UserStatus.md), 'bot_info_version' => [int](../types/int.md), \]; diff --git a/old_docs/API_docs_v42/constructors/account.authorizations.md b/old_docs/API_docs_v42/constructors/account.authorizations.md new file mode 100644 index 00000000..53c961f0 --- /dev/null +++ b/old_docs/API_docs_v42/constructors/account.authorizations.md @@ -0,0 +1,38 @@ +--- +title: account.authorizations +description: Logged-in sessions +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.authorizations +[Back to constructors index](index.md) + + + +Logged-in sessions + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|authorizations|Array of [Authorization](../types/Authorization.md) | Yes|Authorizations| + + + +### Type: [account.Authorizations](../types/account.Authorizations.md) + + +### Example: + +```php +$account.authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization, Authorization]]; +``` + + +Or, if you're into Lua: + +```lua +account.authorizations={_='account.authorizations', authorizations={Authorization}} + +``` + + diff --git a/old_docs/API_docs_v42/constructors/account.noPassword.md b/old_docs/API_docs_v42/constructors/account.noPassword.md new file mode 100644 index 00000000..4dcdc515 --- /dev/null +++ b/old_docs/API_docs_v42/constructors/account.noPassword.md @@ -0,0 +1,39 @@ +--- +title: account.noPassword +description: No password +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.noPassword +[Back to constructors index](index.md) + + + +No password + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|new\_salt|[bytes](../types/bytes.md) | Yes|New salt| +|email\_unconfirmed\_pattern|[string](../types/string.md) | Yes|Email unconfirmed pattern| + + + +### Type: [account.Password](../types/account.Password.md) + + +### Example: + +```php +$account.noPassword = ['_' => 'account.noPassword', 'new_salt' => 'bytes', 'email_unconfirmed_pattern' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +account.noPassword={_='account.noPassword', new_salt='bytes', email_unconfirmed_pattern='string'} + +``` + + diff --git a/old_docs/API_docs_v42/constructors/account.password.md b/old_docs/API_docs_v42/constructors/account.password.md new file mode 100644 index 00000000..9e86a73a --- /dev/null +++ b/old_docs/API_docs_v42/constructors/account.password.md @@ -0,0 +1,42 @@ +--- +title: account.password +description: Configuration for two-factor authorization +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.password +[Back to constructors index](index.md) + + + +Configuration for two-factor authorization + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|current\_salt|[bytes](../types/bytes.md) | Yes|Current salt| +|new\_salt|[bytes](../types/bytes.md) | Yes|New salt| +|hint|[string](../types/string.md) | Yes|Text hint for the password| +|has\_recovery|[Bool](../types/Bool.md) | Yes|Has recovery?| +|email\_unconfirmed\_pattern|[string](../types/string.md) | Yes|A [password recovery email](https://core.telegram.org/api/srp#email-verification) with the specified [pattern](https://core.telegram.org/api/pattern) is still awaiting verification| + + + +### Type: [account.Password](../types/account.Password.md) + + +### Example: + +```php +$account.password = ['_' => 'account.password', 'current_salt' => 'bytes', 'new_salt' => 'bytes', 'hint' => 'string', 'has_recovery' => Bool, 'email_unconfirmed_pattern' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +account.password={_='account.password', current_salt='bytes', new_salt='bytes', hint='string', has_recovery=Bool, email_unconfirmed_pattern='string'} + +``` + + diff --git a/old_docs/API_docs_v42/constructors/account.passwordInputSettings.md b/old_docs/API_docs_v42/constructors/account.passwordInputSettings.md new file mode 100644 index 00000000..c440115a --- /dev/null +++ b/old_docs/API_docs_v42/constructors/account.passwordInputSettings.md @@ -0,0 +1,41 @@ +--- +title: account.passwordInputSettings +description: Settings for setting up a new password +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.passwordInputSettings +[Back to constructors index](index.md) + + + +Settings for setting up a new password + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|new\_salt|[bytes](../types/bytes.md) | Optional|`$new_salt = $MadelineProto->account->getPassword()['new_salt'].$MadelineProto->random(8);`| +|new\_password\_hash|[bytes](../types/bytes.md) | Optional|The [computed password hash](https://core.telegram.org/api/srp)| +|hint|[string](../types/string.md) | Optional|Text hint for the password| +|email|[string](../types/string.md) | Optional|Password recovery email| + + + +### Type: [account.PasswordInputSettings](../types/account.PasswordInputSettings.md) + + +### Example: + +```php +$account.passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_salt' => 'bytes', 'new_password_hash' => 'bytes', 'hint' => 'string', 'email' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +account.passwordInputSettings={_='account.passwordInputSettings', new_salt='bytes', new_password_hash='bytes', hint='string', email='string'} + +``` + + diff --git a/old_docs/API_docs_v42/constructors/account.passwordSettings.md b/old_docs/API_docs_v42/constructors/account.passwordSettings.md new file mode 100644 index 00000000..be899d34 --- /dev/null +++ b/old_docs/API_docs_v42/constructors/account.passwordSettings.md @@ -0,0 +1,38 @@ +--- +title: account.passwordSettings +description: Private info associated to the password info (recovery email, telegram [passport](https://core.telegram.org/passport) info & so on) +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.passwordSettings +[Back to constructors index](index.md) + + + +Private info associated to the password info (recovery email, telegram [passport](https://core.telegram.org/passport) info & so on) + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|email|[string](../types/string.md) | Yes|[2FA Recovery email](https://core.telegram.org/api/srp#email-verification)| + + + +### Type: [account.PasswordSettings](../types/account.PasswordSettings.md) + + +### Example: + +```php +$account.passwordSettings = ['_' => 'account.passwordSettings', 'email' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +account.passwordSettings={_='account.passwordSettings', email='string'} + +``` + + diff --git a/old_docs/API_docs_v42/constructors/account.privacyRules.md b/old_docs/API_docs_v42/constructors/account.privacyRules.md new file mode 100644 index 00000000..7ae04abb --- /dev/null +++ b/old_docs/API_docs_v42/constructors/account.privacyRules.md @@ -0,0 +1,39 @@ +--- +title: account.privacyRules +description: Privacy rules +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.privacyRules +[Back to constructors index](index.md) + + + +Privacy rules + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|rules|Array of [PrivacyRule](../types/PrivacyRule.md) | Yes|Rules| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [account.PrivacyRules](../types/account.PrivacyRules.md) + + +### Example: + +```php +$account.privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule, PrivacyRule], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +account.privacyRules={_='account.privacyRules', rules={PrivacyRule}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v42/constructors/account.sentChangePhoneCode.md b/old_docs/API_docs_v42/constructors/account.sentChangePhoneCode.md new file mode 100644 index 00000000..119f6af6 --- /dev/null +++ b/old_docs/API_docs_v42/constructors/account.sentChangePhoneCode.md @@ -0,0 +1,39 @@ +--- +title: account.sentChangePhoneCode +description: Sent change phone code +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.sentChangePhoneCode +[Back to constructors index](index.md) + + + +Sent change phone code + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_code\_hash|[string](../types/string.md) | Yes|Phone code hash| +|send\_call\_timeout|[int](../types/int.md) | Yes|Send call timeout| + + + +### Type: [account.SentChangePhoneCode](../types/account.SentChangePhoneCode.md) + + +### Example: + +```php +$account.sentChangePhoneCode = ['_' => 'account.sentChangePhoneCode', 'phone_code_hash' => 'string', 'send_call_timeout' => int]; +``` + + +Or, if you're into Lua: + +```lua +account.sentChangePhoneCode={_='account.sentChangePhoneCode', phone_code_hash='string', send_call_timeout=int} + +``` + + diff --git a/old_docs/API_docs_v42/constructors/account_authorizations.md b/old_docs/API_docs_v42/constructors/account_authorizations.md deleted file mode 100644 index aeae48f3..00000000 --- a/old_docs/API_docs_v42/constructors/account_authorizations.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: account.authorizations -description: Logged-in sessions -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.authorizations -[Back to constructors index](index.md) - - - -Logged-in sessions - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|authorizations|Array of [Authorization](../types/Authorization.md) | Yes|Authorizations| - - - -### Type: [account\_Authorizations](../types/account_Authorizations.md) - - -### Example: - -```php -$account_authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization, Authorization]]; -``` - - -Or, if you're into Lua: - -```lua -account_authorizations={_='account.authorizations', authorizations={Authorization}} - -``` - - diff --git a/old_docs/API_docs_v42/constructors/account_noPassword.md b/old_docs/API_docs_v42/constructors/account_noPassword.md deleted file mode 100644 index 10ef7b2a..00000000 --- a/old_docs/API_docs_v42/constructors/account_noPassword.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: account.noPassword -description: No password -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.noPassword -[Back to constructors index](index.md) - - - -No password - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|new\_salt|[bytes](../types/bytes.md) | Yes|New salt| -|email\_unconfirmed\_pattern|[string](../types/string.md) | Yes|Email unconfirmed pattern| - - - -### Type: [account\_Password](../types/account_Password.md) - - -### Example: - -```php -$account_noPassword = ['_' => 'account.noPassword', 'new_salt' => 'bytes', 'email_unconfirmed_pattern' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -account_noPassword={_='account.noPassword', new_salt='bytes', email_unconfirmed_pattern='string'} - -``` - - diff --git a/old_docs/API_docs_v42/constructors/account_password.md b/old_docs/API_docs_v42/constructors/account_password.md deleted file mode 100644 index a9f512e8..00000000 --- a/old_docs/API_docs_v42/constructors/account_password.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: account.password -description: Configuration for two-factor authorization -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.password -[Back to constructors index](index.md) - - - -Configuration for two-factor authorization - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|current\_salt|[bytes](../types/bytes.md) | Yes|Current salt| -|new\_salt|[bytes](../types/bytes.md) | Yes|New salt| -|hint|[string](../types/string.md) | Yes|Text hint for the password| -|has\_recovery|[Bool](../types/Bool.md) | Yes|Has recovery?| -|email\_unconfirmed\_pattern|[string](../types/string.md) | Yes|A [password recovery email](https://core.telegram.org/api/srp#email-verification) with the specified [pattern](https://core.telegram.org/api/pattern) is still awaiting verification| - - - -### Type: [account\_Password](../types/account_Password.md) - - -### Example: - -```php -$account_password = ['_' => 'account.password', 'current_salt' => 'bytes', 'new_salt' => 'bytes', 'hint' => 'string', 'has_recovery' => Bool, 'email_unconfirmed_pattern' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -account_password={_='account.password', current_salt='bytes', new_salt='bytes', hint='string', has_recovery=Bool, email_unconfirmed_pattern='string'} - -``` - - diff --git a/old_docs/API_docs_v42/constructors/account_passwordInputSettings.md b/old_docs/API_docs_v42/constructors/account_passwordInputSettings.md deleted file mode 100644 index 05ec666b..00000000 --- a/old_docs/API_docs_v42/constructors/account_passwordInputSettings.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: account.passwordInputSettings -description: Settings for setting up a new password -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.passwordInputSettings -[Back to constructors index](index.md) - - - -Settings for setting up a new password - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|new\_salt|[bytes](../types/bytes.md) | Optional|`$new_salt = $MadelineProto->account->getPassword()['new_salt'].$MadelineProto->random(8);`| -|new\_password\_hash|[bytes](../types/bytes.md) | Optional|The [computed password hash](https://core.telegram.org/api/srp)| -|hint|[string](../types/string.md) | Optional|Text hint for the password| -|email|[string](../types/string.md) | Optional|Password recovery email| - - - -### Type: [account\_PasswordInputSettings](../types/account_PasswordInputSettings.md) - - -### Example: - -```php -$account_passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_salt' => 'bytes', 'new_password_hash' => 'bytes', 'hint' => 'string', 'email' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -account_passwordInputSettings={_='account.passwordInputSettings', new_salt='bytes', new_password_hash='bytes', hint='string', email='string'} - -``` - - diff --git a/old_docs/API_docs_v42/constructors/account_passwordSettings.md b/old_docs/API_docs_v42/constructors/account_passwordSettings.md deleted file mode 100644 index e22f9cc4..00000000 --- a/old_docs/API_docs_v42/constructors/account_passwordSettings.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: account.passwordSettings -description: Private info associated to the password info (recovery email, telegram [passport](https://core.telegram.org/passport) info & so on) -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.passwordSettings -[Back to constructors index](index.md) - - - -Private info associated to the password info (recovery email, telegram [passport](https://core.telegram.org/passport) info & so on) - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|email|[string](../types/string.md) | Yes|[2FA Recovery email](https://core.telegram.org/api/srp#email-verification)| - - - -### Type: [account\_PasswordSettings](../types/account_PasswordSettings.md) - - -### Example: - -```php -$account_passwordSettings = ['_' => 'account.passwordSettings', 'email' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -account_passwordSettings={_='account.passwordSettings', email='string'} - -``` - - diff --git a/old_docs/API_docs_v42/constructors/account_privacyRules.md b/old_docs/API_docs_v42/constructors/account_privacyRules.md deleted file mode 100644 index 28b260b7..00000000 --- a/old_docs/API_docs_v42/constructors/account_privacyRules.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: account.privacyRules -description: Privacy rules -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.privacyRules -[Back to constructors index](index.md) - - - -Privacy rules - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|rules|Array of [PrivacyRule](../types/PrivacyRule.md) | Yes|Rules| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [account\_PrivacyRules](../types/account_PrivacyRules.md) - - -### Example: - -```php -$account_privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule, PrivacyRule], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -account_privacyRules={_='account.privacyRules', rules={PrivacyRule}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v42/constructors/account_sentChangePhoneCode.md b/old_docs/API_docs_v42/constructors/account_sentChangePhoneCode.md deleted file mode 100644 index 052ce817..00000000 --- a/old_docs/API_docs_v42/constructors/account_sentChangePhoneCode.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: account.sentChangePhoneCode -description: Sent change phone code -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.sentChangePhoneCode -[Back to constructors index](index.md) - - - -Sent change phone code - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_code\_hash|[string](../types/string.md) | Yes|Phone code hash| -|send\_call\_timeout|[int](../types/int.md) | Yes|Send call timeout| - - - -### Type: [account\_SentChangePhoneCode](../types/account_SentChangePhoneCode.md) - - -### Example: - -```php -$account_sentChangePhoneCode = ['_' => 'account.sentChangePhoneCode', 'phone_code_hash' => 'string', 'send_call_timeout' => int]; -``` - - -Or, if you're into Lua: - -```lua -account_sentChangePhoneCode={_='account.sentChangePhoneCode', phone_code_hash='string', send_call_timeout=int} - -``` - - diff --git a/old_docs/API_docs_v42/constructors/auth.authorization.md b/old_docs/API_docs_v42/constructors/auth.authorization.md new file mode 100644 index 00000000..bd034fc5 --- /dev/null +++ b/old_docs/API_docs_v42/constructors/auth.authorization.md @@ -0,0 +1,38 @@ +--- +title: auth.authorization +description: Contains user authorization info. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.authorization +[Back to constructors index](index.md) + + + +Contains user authorization info. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|user|[User](../types/User.md) | Optional|Info on authorized user| + + + +### Type: [auth.Authorization](../types/auth.Authorization.md) + + +### Example: + +```php +$auth.authorization = ['_' => 'auth.authorization', 'user' => User]; +``` + + +Or, if you're into Lua: + +```lua +auth.authorization={_='auth.authorization', user=User} + +``` + + diff --git a/old_docs/API_docs_v42/constructors/auth.checkedPhone.md b/old_docs/API_docs_v42/constructors/auth.checkedPhone.md new file mode 100644 index 00000000..23e84cf9 --- /dev/null +++ b/old_docs/API_docs_v42/constructors/auth.checkedPhone.md @@ -0,0 +1,38 @@ +--- +title: auth.checkedPhone +description: Checked phone +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.checkedPhone +[Back to constructors index](index.md) + + + +Checked phone + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_registered|[Bool](../types/Bool.md) | Yes|Phone registered?| + + + +### Type: [auth.CheckedPhone](../types/auth.CheckedPhone.md) + + +### Example: + +```php +$auth.checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool]; +``` + + +Or, if you're into Lua: + +```lua +auth.checkedPhone={_='auth.checkedPhone', phone_registered=Bool} + +``` + + diff --git a/old_docs/API_docs_v42/constructors/auth.exportedAuthorization.md b/old_docs/API_docs_v42/constructors/auth.exportedAuthorization.md new file mode 100644 index 00000000..2a4a9896 --- /dev/null +++ b/old_docs/API_docs_v42/constructors/auth.exportedAuthorization.md @@ -0,0 +1,39 @@ +--- +title: auth.exportedAuthorization +description: Data for copying of authorization between data centres. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.exportedAuthorization +[Back to constructors index](index.md) + + + +Data for copying of authorization between data centres. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|id|[int](../types/int.md) | Yes|Current user identifier| +|bytes|[bytes](../types/bytes.md) | Yes|Authorizes key| + + + +### Type: [auth.ExportedAuthorization](../types/auth.ExportedAuthorization.md) + + +### Example: + +```php +$auth.exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +auth.exportedAuthorization={_='auth.exportedAuthorization', id=int, bytes='bytes'} + +``` + + diff --git a/old_docs/API_docs_v42/constructors/auth.passwordRecovery.md b/old_docs/API_docs_v42/constructors/auth.passwordRecovery.md new file mode 100644 index 00000000..61de922d --- /dev/null +++ b/old_docs/API_docs_v42/constructors/auth.passwordRecovery.md @@ -0,0 +1,38 @@ +--- +title: auth.passwordRecovery +description: Recovery info of a [2FA password](https://core.telegram.org/api/srp), only for accounts with a [recovery email configured](https://core.telegram.org/api/srp#email-verification). +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.passwordRecovery +[Back to constructors index](index.md) + + + +Recovery info of a [2FA password](https://core.telegram.org/api/srp), only for accounts with a [recovery email configured](https://core.telegram.org/api/srp#email-verification). + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|email\_pattern|[string](../types/string.md) | Yes|The email to which the recovery code was sent must match this [pattern](https://core.telegram.org/api/pattern).| + + + +### Type: [auth.PasswordRecovery](../types/auth.PasswordRecovery.md) + + +### Example: + +```php +$auth.passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +auth.passwordRecovery={_='auth.passwordRecovery', email_pattern='string'} + +``` + + diff --git a/old_docs/API_docs_v42/constructors/auth.sentAppCode.md b/old_docs/API_docs_v42/constructors/auth.sentAppCode.md new file mode 100644 index 00000000..e4cd5ef0 --- /dev/null +++ b/old_docs/API_docs_v42/constructors/auth.sentAppCode.md @@ -0,0 +1,41 @@ +--- +title: auth.sentAppCode +description: Sent app code +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentAppCode +[Back to constructors index](index.md) + + + +Sent app code + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_registered|[Bool](../types/Bool.md) | Yes|Phone registered?| +|phone\_code\_hash|[string](../types/string.md) | Yes|Phone code hash| +|send\_call\_timeout|[int](../types/int.md) | Yes|Send call timeout| +|is\_password|[Bool](../types/Bool.md) | Yes|Is password?| + + + +### Type: [auth.SentCode](../types/auth.SentCode.md) + + +### Example: + +```php +$auth.sentAppCode = ['_' => 'auth.sentAppCode', 'phone_registered' => Bool, 'phone_code_hash' => 'string', 'send_call_timeout' => int, 'is_password' => Bool]; +``` + + +Or, if you're into Lua: + +```lua +auth.sentAppCode={_='auth.sentAppCode', phone_registered=Bool, phone_code_hash='string', send_call_timeout=int, is_password=Bool} + +``` + + diff --git a/old_docs/API_docs_v42/constructors/auth.sentCode.md b/old_docs/API_docs_v42/constructors/auth.sentCode.md new file mode 100644 index 00000000..c81a8042 --- /dev/null +++ b/old_docs/API_docs_v42/constructors/auth.sentCode.md @@ -0,0 +1,41 @@ +--- +title: auth.sentCode +description: Contains info about a sent verification code. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentCode +[Back to constructors index](index.md) + + + +Contains info about a sent verification code. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_registered|[Bool](../types/Bool.md) | Yes|Phone registered?| +|phone\_code\_hash|[string](../types/string.md) | Yes|Phone code hash, to be stored and later re-used with [auth.signIn](../methods/auth.signIn.md)| +|send\_call\_timeout|[int](../types/int.md) | Yes|Send call timeout| +|is\_password|[Bool](../types/Bool.md) | Yes|Is password?| + + + +### Type: [auth.SentCode](../types/auth.SentCode.md) + + +### Example: + +```php +$auth.sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'phone_code_hash' => 'string', 'send_call_timeout' => int, 'is_password' => Bool]; +``` + + +Or, if you're into Lua: + +```lua +auth.sentCode={_='auth.sentCode', phone_registered=Bool, phone_code_hash='string', send_call_timeout=int, is_password=Bool} + +``` + + diff --git a/old_docs/API_docs_v42/constructors/auth_authorization.md b/old_docs/API_docs_v42/constructors/auth_authorization.md deleted file mode 100644 index 07d223a1..00000000 --- a/old_docs/API_docs_v42/constructors/auth_authorization.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.authorization -description: Contains user authorization info. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.authorization -[Back to constructors index](index.md) - - - -Contains user authorization info. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|user|[User](../types/User.md) | Optional|Info on authorized user| - - - -### Type: [auth\_Authorization](../types/auth_Authorization.md) - - -### Example: - -```php -$auth_authorization = ['_' => 'auth.authorization', 'user' => User]; -``` - - -Or, if you're into Lua: - -```lua -auth_authorization={_='auth.authorization', user=User} - -``` - - diff --git a/old_docs/API_docs_v42/constructors/auth_checkedPhone.md b/old_docs/API_docs_v42/constructors/auth_checkedPhone.md deleted file mode 100644 index c77becf6..00000000 --- a/old_docs/API_docs_v42/constructors/auth_checkedPhone.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.checkedPhone -description: Checked phone -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.checkedPhone -[Back to constructors index](index.md) - - - -Checked phone - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_registered|[Bool](../types/Bool.md) | Yes|Phone registered?| - - - -### Type: [auth\_CheckedPhone](../types/auth_CheckedPhone.md) - - -### Example: - -```php -$auth_checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool]; -``` - - -Or, if you're into Lua: - -```lua -auth_checkedPhone={_='auth.checkedPhone', phone_registered=Bool} - -``` - - diff --git a/old_docs/API_docs_v42/constructors/auth_exportedAuthorization.md b/old_docs/API_docs_v42/constructors/auth_exportedAuthorization.md deleted file mode 100644 index 8d18916e..00000000 --- a/old_docs/API_docs_v42/constructors/auth_exportedAuthorization.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: auth.exportedAuthorization -description: Data for copying of authorization between data centres. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.exportedAuthorization -[Back to constructors index](index.md) - - - -Data for copying of authorization between data centres. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|id|[int](../types/int.md) | Yes|Current user identifier| -|bytes|[bytes](../types/bytes.md) | Yes|Authorizes key| - - - -### Type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) - - -### Example: - -```php -$auth_exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -auth_exportedAuthorization={_='auth.exportedAuthorization', id=int, bytes='bytes'} - -``` - - diff --git a/old_docs/API_docs_v42/constructors/auth_passwordRecovery.md b/old_docs/API_docs_v42/constructors/auth_passwordRecovery.md deleted file mode 100644 index c40f375e..00000000 --- a/old_docs/API_docs_v42/constructors/auth_passwordRecovery.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.passwordRecovery -description: Recovery info of a [2FA password](https://core.telegram.org/api/srp), only for accounts with a [recovery email configured](https://core.telegram.org/api/srp#email-verification). -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.passwordRecovery -[Back to constructors index](index.md) - - - -Recovery info of a [2FA password](https://core.telegram.org/api/srp), only for accounts with a [recovery email configured](https://core.telegram.org/api/srp#email-verification). - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|email\_pattern|[string](../types/string.md) | Yes|The email to which the recovery code was sent must match this [pattern](https://core.telegram.org/api/pattern).| - - - -### Type: [auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) - - -### Example: - -```php -$auth_passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -auth_passwordRecovery={_='auth.passwordRecovery', email_pattern='string'} - -``` - - diff --git a/old_docs/API_docs_v42/constructors/auth_sentAppCode.md b/old_docs/API_docs_v42/constructors/auth_sentAppCode.md deleted file mode 100644 index f61b0eb9..00000000 --- a/old_docs/API_docs_v42/constructors/auth_sentAppCode.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: auth.sentAppCode -description: Sent app code -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentAppCode -[Back to constructors index](index.md) - - - -Sent app code - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_registered|[Bool](../types/Bool.md) | Yes|Phone registered?| -|phone\_code\_hash|[string](../types/string.md) | Yes|Phone code hash| -|send\_call\_timeout|[int](../types/int.md) | Yes|Send call timeout| -|is\_password|[Bool](../types/Bool.md) | Yes|Is password?| - - - -### Type: [auth\_SentCode](../types/auth_SentCode.md) - - -### Example: - -```php -$auth_sentAppCode = ['_' => 'auth.sentAppCode', 'phone_registered' => Bool, 'phone_code_hash' => 'string', 'send_call_timeout' => int, 'is_password' => Bool]; -``` - - -Or, if you're into Lua: - -```lua -auth_sentAppCode={_='auth.sentAppCode', phone_registered=Bool, phone_code_hash='string', send_call_timeout=int, is_password=Bool} - -``` - - diff --git a/old_docs/API_docs_v42/constructors/auth_sentCode.md b/old_docs/API_docs_v42/constructors/auth_sentCode.md deleted file mode 100644 index 28a9ac2f..00000000 --- a/old_docs/API_docs_v42/constructors/auth_sentCode.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: auth.sentCode -description: Contains info about a sent verification code. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentCode -[Back to constructors index](index.md) - - - -Contains info about a sent verification code. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_registered|[Bool](../types/Bool.md) | Yes|Phone registered?| -|phone\_code\_hash|[string](../types/string.md) | Yes|Phone code hash, to be stored and later re-used with [auth.signIn](../methods/auth.signIn.md)| -|send\_call\_timeout|[int](../types/int.md) | Yes|Send call timeout| -|is\_password|[Bool](../types/Bool.md) | Yes|Is password?| - - - -### Type: [auth\_SentCode](../types/auth_SentCode.md) - - -### Example: - -```php -$auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'phone_code_hash' => 'string', 'send_call_timeout' => int, 'is_password' => Bool]; -``` - - -Or, if you're into Lua: - -```lua -auth_sentCode={_='auth.sentCode', phone_registered=Bool, phone_code_hash='string', send_call_timeout=int, is_password=Bool} - -``` - - diff --git a/old_docs/API_docs_v42/constructors/channels.channelParticipant.md b/old_docs/API_docs_v42/constructors/channels.channelParticipant.md new file mode 100644 index 00000000..0f09777f --- /dev/null +++ b/old_docs/API_docs_v42/constructors/channels.channelParticipant.md @@ -0,0 +1,39 @@ +--- +title: channels.channelParticipant +description: Represents a channel participant +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: channels.channelParticipant +[Back to constructors index](index.md) + + + +Represents a channel participant + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|participant|[ChannelParticipant](../types/ChannelParticipant.md) | Yes|The channel participant| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [channels.ChannelParticipant](../types/channels.ChannelParticipant.md) + + +### Example: + +```php +$channels.channelParticipant = ['_' => 'channels.channelParticipant', 'participant' => ChannelParticipant, 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +channels.channelParticipant={_='channels.channelParticipant', participant=ChannelParticipant, users={User}} + +``` + + diff --git a/old_docs/API_docs_v42/constructors/channels.channelParticipants.md b/old_docs/API_docs_v42/constructors/channels.channelParticipants.md new file mode 100644 index 00000000..6ee1a8b3 --- /dev/null +++ b/old_docs/API_docs_v42/constructors/channels.channelParticipants.md @@ -0,0 +1,40 @@ +--- +title: channels.channelParticipants +description: Represents multiple channel participants +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: channels.channelParticipants +[Back to constructors index](index.md) + + + +Represents multiple channel participants + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of participants that correspond to the given query| +|participants|Array of [ChannelParticipant](../types/ChannelParticipant.md) | Yes|Participants| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [channels.ChannelParticipants](../types/channels.ChannelParticipants.md) + + +### Example: + +```php +$channels.channelParticipants = ['_' => 'channels.channelParticipants', 'count' => int, 'participants' => [ChannelParticipant, ChannelParticipant], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +channels.channelParticipants={_='channels.channelParticipants', count=int, participants={ChannelParticipant}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v42/constructors/channels_channelParticipant.md b/old_docs/API_docs_v42/constructors/channels_channelParticipant.md deleted file mode 100644 index 15fe46a4..00000000 --- a/old_docs/API_docs_v42/constructors/channels_channelParticipant.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: channels.channelParticipant -description: Represents a channel participant -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: channels.channelParticipant -[Back to constructors index](index.md) - - - -Represents a channel participant - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|participant|[ChannelParticipant](../types/ChannelParticipant.md) | Yes|The channel participant| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [channels\_ChannelParticipant](../types/channels_ChannelParticipant.md) - - -### Example: - -```php -$channels_channelParticipant = ['_' => 'channels.channelParticipant', 'participant' => ChannelParticipant, 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -channels_channelParticipant={_='channels.channelParticipant', participant=ChannelParticipant, users={User}} - -``` - - diff --git a/old_docs/API_docs_v42/constructors/channels_channelParticipants.md b/old_docs/API_docs_v42/constructors/channels_channelParticipants.md deleted file mode 100644 index 1848a04f..00000000 --- a/old_docs/API_docs_v42/constructors/channels_channelParticipants.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: channels.channelParticipants -description: Represents multiple channel participants -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: channels.channelParticipants -[Back to constructors index](index.md) - - - -Represents multiple channel participants - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of participants that correspond to the given query| -|participants|Array of [ChannelParticipant](../types/ChannelParticipant.md) | Yes|Participants| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [channels\_ChannelParticipants](../types/channels_ChannelParticipants.md) - - -### Example: - -```php -$channels_channelParticipants = ['_' => 'channels.channelParticipants', 'count' => int, 'participants' => [ChannelParticipant, ChannelParticipant], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -channels_channelParticipants={_='channels.channelParticipants', count=int, participants={ChannelParticipant}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v42/constructors/contacts.blocked.md b/old_docs/API_docs_v42/constructors/contacts.blocked.md new file mode 100644 index 00000000..d2b3f680 --- /dev/null +++ b/old_docs/API_docs_v42/constructors/contacts.blocked.md @@ -0,0 +1,39 @@ +--- +title: contacts.blocked +description: Full list of blocked users. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.blocked +[Back to constructors index](index.md) + + + +Full list of blocked users. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Blocked](../types/contacts.Blocked.md) + + +### Example: + +```php +$contacts.blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.blocked={_='contacts.blocked', blocked={ContactBlocked}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v42/constructors/contacts.blockedSlice.md b/old_docs/API_docs_v42/constructors/contacts.blockedSlice.md new file mode 100644 index 00000000..92d19c72 --- /dev/null +++ b/old_docs/API_docs_v42/constructors/contacts.blockedSlice.md @@ -0,0 +1,40 @@ +--- +title: contacts.blockedSlice +description: Incomplete list of blocked users. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.blockedSlice +[Back to constructors index](index.md) + + + +Incomplete list of blocked users. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of elements in the list| +|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Blocked](../types/contacts.Blocked.md) + + +### Example: + +```php +$contacts.blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.blockedSlice={_='contacts.blockedSlice', count=int, blocked={ContactBlocked}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v42/constructors/contacts.contacts.md b/old_docs/API_docs_v42/constructors/contacts.contacts.md new file mode 100644 index 00000000..d4ccc018 --- /dev/null +++ b/old_docs/API_docs_v42/constructors/contacts.contacts.md @@ -0,0 +1,39 @@ +--- +title: contacts.contacts +description: The current user's contact list and info on users. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.contacts +[Back to constructors index](index.md) + + + +The current user's contact list and info on users. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|contacts|Array of [Contact](../types/Contact.md) | Yes|Contacts| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Contacts](../types/contacts.Contacts.md) + + +### Example: + +```php +$contacts.contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact, Contact], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.contacts={_='contacts.contacts', contacts={Contact}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v42/constructors/contacts.contactsNotModified.md b/old_docs/API_docs_v42/constructors/contacts.contactsNotModified.md new file mode 100644 index 00000000..e2149396 --- /dev/null +++ b/old_docs/API_docs_v42/constructors/contacts.contactsNotModified.md @@ -0,0 +1,33 @@ +--- +title: contacts.contactsNotModified +description: Contact list on the server is the same as the list on the client. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.contactsNotModified +[Back to constructors index](index.md) + + + +Contact list on the server is the same as the list on the client. + + + + +### Type: [contacts.Contacts](../types/contacts.Contacts.md) + + +### Example: + +```php +$contacts.contactsNotModified = ['_' => 'contacts.contactsNotModified']; +``` + + +Or, if you're into Lua: + +```lua +contacts.contactsNotModified={_='contacts.contactsNotModified'} + +``` + + diff --git a/old_docs/API_docs_v42/constructors/contacts.found.md b/old_docs/API_docs_v42/constructors/contacts.found.md new file mode 100644 index 00000000..1eaa93b7 --- /dev/null +++ b/old_docs/API_docs_v42/constructors/contacts.found.md @@ -0,0 +1,40 @@ +--- +title: contacts.found +description: Users found by name substring and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.found +[Back to constructors index](index.md) + + + +Users found by name substring and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|results|Array of [Peer](../types/Peer.md) | Yes|Results| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Found](../types/contacts.Found.md) + + +### Example: + +```php +$contacts.found = ['_' => 'contacts.found', 'results' => [Peer, Peer], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.found={_='contacts.found', results={Peer}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v42/constructors/contacts.importedContacts.md b/old_docs/API_docs_v42/constructors/contacts.importedContacts.md new file mode 100644 index 00000000..1cbff59a --- /dev/null +++ b/old_docs/API_docs_v42/constructors/contacts.importedContacts.md @@ -0,0 +1,40 @@ +--- +title: contacts.importedContacts +description: Info on succesfully imported contacts. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.importedContacts +[Back to constructors index](index.md) + + + +Info on succesfully imported contacts. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|imported|Array of [ImportedContact](../types/ImportedContact.md) | Yes|Imported| +|retry\_contacts|Array of [long](../types/long.md) | Yes|Retry importing contacts whose client IDs appear here| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.ImportedContacts](../types/contacts.ImportedContacts.md) + + +### Example: + +```php +$contacts.importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact, ImportedContact], 'retry_contacts' => [long, long], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.importedContacts={_='contacts.importedContacts', imported={ImportedContact}, retry_contacts={long}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v42/constructors/contacts.link.md b/old_docs/API_docs_v42/constructors/contacts.link.md new file mode 100644 index 00000000..ab150a0d --- /dev/null +++ b/old_docs/API_docs_v42/constructors/contacts.link.md @@ -0,0 +1,40 @@ +--- +title: contacts.link +description: Link +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.link +[Back to constructors index](index.md) + + + +Link + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|my\_link|[ContactLink](../types/ContactLink.md) | Yes|My link| +|foreign\_link|[ContactLink](../types/ContactLink.md) | Yes|Foreign link| +|user|[User](../types/User.md) | Optional|User| + + + +### Type: [contacts.Link](../types/contacts.Link.md) + + +### Example: + +```php +$contacts.link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User]; +``` + + +Or, if you're into Lua: + +```lua +contacts.link={_='contacts.link', my_link=ContactLink, foreign_link=ContactLink, user=User} + +``` + + diff --git a/old_docs/API_docs_v42/constructors/contacts.resolvedPeer.md b/old_docs/API_docs_v42/constructors/contacts.resolvedPeer.md new file mode 100644 index 00000000..35d88481 --- /dev/null +++ b/old_docs/API_docs_v42/constructors/contacts.resolvedPeer.md @@ -0,0 +1,40 @@ +--- +title: contacts.resolvedPeer +description: Resolved peer +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.resolvedPeer +[Back to constructors index](index.md) + + + +Resolved peer + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|peer|[Peer](../types/Peer.md) | Yes|The peer| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.ResolvedPeer](../types/contacts.ResolvedPeer.md) + + +### Example: + +```php +$contacts.resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.resolvedPeer={_='contacts.resolvedPeer', peer=Peer, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v42/constructors/contacts.suggested.md b/old_docs/API_docs_v42/constructors/contacts.suggested.md new file mode 100644 index 00000000..b9a56bec --- /dev/null +++ b/old_docs/API_docs_v42/constructors/contacts.suggested.md @@ -0,0 +1,39 @@ +--- +title: contacts.suggested +description: Suggested +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.suggested +[Back to constructors index](index.md) + + + +Suggested + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|results|Array of [ContactSuggested](../types/ContactSuggested.md) | Yes|Results| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Suggested](../types/contacts.Suggested.md) + + +### Example: + +```php +$contacts.suggested = ['_' => 'contacts.suggested', 'results' => [ContactSuggested, ContactSuggested], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.suggested={_='contacts.suggested', results={ContactSuggested}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v42/constructors/contacts_blocked.md b/old_docs/API_docs_v42/constructors/contacts_blocked.md deleted file mode 100644 index 20e33002..00000000 --- a/old_docs/API_docs_v42/constructors/contacts_blocked.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: contacts.blocked -description: Full list of blocked users. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.blocked -[Back to constructors index](index.md) - - - -Full list of blocked users. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Blocked](../types/contacts_Blocked.md) - - -### Example: - -```php -$contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_blocked={_='contacts.blocked', blocked={ContactBlocked}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v42/constructors/contacts_blockedSlice.md b/old_docs/API_docs_v42/constructors/contacts_blockedSlice.md deleted file mode 100644 index fcab9a28..00000000 --- a/old_docs/API_docs_v42/constructors/contacts_blockedSlice.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.blockedSlice -description: Incomplete list of blocked users. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.blockedSlice -[Back to constructors index](index.md) - - - -Incomplete list of blocked users. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of elements in the list| -|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Blocked](../types/contacts_Blocked.md) - - -### Example: - -```php -$contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_blockedSlice={_='contacts.blockedSlice', count=int, blocked={ContactBlocked}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v42/constructors/contacts_contacts.md b/old_docs/API_docs_v42/constructors/contacts_contacts.md deleted file mode 100644 index f101b34b..00000000 --- a/old_docs/API_docs_v42/constructors/contacts_contacts.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: contacts.contacts -description: The current user's contact list and info on users. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.contacts -[Back to constructors index](index.md) - - - -The current user's contact list and info on users. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|contacts|Array of [Contact](../types/Contact.md) | Yes|Contacts| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Contacts](../types/contacts_Contacts.md) - - -### Example: - -```php -$contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact, Contact], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_contacts={_='contacts.contacts', contacts={Contact}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v42/constructors/contacts_contactsNotModified.md b/old_docs/API_docs_v42/constructors/contacts_contactsNotModified.md deleted file mode 100644 index 17e76ac3..00000000 --- a/old_docs/API_docs_v42/constructors/contacts_contactsNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: contacts.contactsNotModified -description: Contact list on the server is the same as the list on the client. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.contactsNotModified -[Back to constructors index](index.md) - - - -Contact list on the server is the same as the list on the client. - - - - -### Type: [contacts\_Contacts](../types/contacts_Contacts.md) - - -### Example: - -```php -$contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified']; -``` - - -Or, if you're into Lua: - -```lua -contacts_contactsNotModified={_='contacts.contactsNotModified'} - -``` - - diff --git a/old_docs/API_docs_v42/constructors/contacts_found.md b/old_docs/API_docs_v42/constructors/contacts_found.md deleted file mode 100644 index 0674aabf..00000000 --- a/old_docs/API_docs_v42/constructors/contacts_found.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.found -description: Users found by name substring and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.found -[Back to constructors index](index.md) - - - -Users found by name substring and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|results|Array of [Peer](../types/Peer.md) | Yes|Results| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Found](../types/contacts_Found.md) - - -### Example: - -```php -$contacts_found = ['_' => 'contacts.found', 'results' => [Peer, Peer], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_found={_='contacts.found', results={Peer}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v42/constructors/contacts_importedContacts.md b/old_docs/API_docs_v42/constructors/contacts_importedContacts.md deleted file mode 100644 index 121d96d1..00000000 --- a/old_docs/API_docs_v42/constructors/contacts_importedContacts.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.importedContacts -description: Info on succesfully imported contacts. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.importedContacts -[Back to constructors index](index.md) - - - -Info on succesfully imported contacts. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|imported|Array of [ImportedContact](../types/ImportedContact.md) | Yes|Imported| -|retry\_contacts|Array of [long](../types/long.md) | Yes|Retry importing contacts whose client IDs appear here| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) - - -### Example: - -```php -$contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact, ImportedContact], 'retry_contacts' => [long, long], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_importedContacts={_='contacts.importedContacts', imported={ImportedContact}, retry_contacts={long}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v42/constructors/contacts_link.md b/old_docs/API_docs_v42/constructors/contacts_link.md deleted file mode 100644 index cfc566c7..00000000 --- a/old_docs/API_docs_v42/constructors/contacts_link.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.link -description: Link -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.link -[Back to constructors index](index.md) - - - -Link - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|my\_link|[ContactLink](../types/ContactLink.md) | Yes|My link| -|foreign\_link|[ContactLink](../types/ContactLink.md) | Yes|Foreign link| -|user|[User](../types/User.md) | Optional|User| - - - -### Type: [contacts\_Link](../types/contacts_Link.md) - - -### Example: - -```php -$contacts_link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User]; -``` - - -Or, if you're into Lua: - -```lua -contacts_link={_='contacts.link', my_link=ContactLink, foreign_link=ContactLink, user=User} - -``` - - diff --git a/old_docs/API_docs_v42/constructors/contacts_resolvedPeer.md b/old_docs/API_docs_v42/constructors/contacts_resolvedPeer.md deleted file mode 100644 index aae3c7af..00000000 --- a/old_docs/API_docs_v42/constructors/contacts_resolvedPeer.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.resolvedPeer -description: Resolved peer -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.resolvedPeer -[Back to constructors index](index.md) - - - -Resolved peer - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|peer|[Peer](../types/Peer.md) | Yes|The peer| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_ResolvedPeer](../types/contacts_ResolvedPeer.md) - - -### Example: - -```php -$contacts_resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_resolvedPeer={_='contacts.resolvedPeer', peer=Peer, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v42/constructors/contacts_suggested.md b/old_docs/API_docs_v42/constructors/contacts_suggested.md deleted file mode 100644 index 9bdba0b7..00000000 --- a/old_docs/API_docs_v42/constructors/contacts_suggested.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: contacts.suggested -description: Suggested -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.suggested -[Back to constructors index](index.md) - - - -Suggested - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|results|Array of [ContactSuggested](../types/ContactSuggested.md) | Yes|Results| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Suggested](../types/contacts_Suggested.md) - - -### Example: - -```php -$contacts_suggested = ['_' => 'contacts.suggested', 'results' => [ContactSuggested, ContactSuggested], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_suggested={_='contacts.suggested', results={ContactSuggested}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v42/constructors/help.appChangelog.md b/old_docs/API_docs_v42/constructors/help.appChangelog.md new file mode 100644 index 00000000..dec6b96c --- /dev/null +++ b/old_docs/API_docs_v42/constructors/help.appChangelog.md @@ -0,0 +1,38 @@ +--- +title: help.appChangelog +description: App changelog +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.appChangelog +[Back to constructors index](index.md) + + + +App changelog + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|text|[string](../types/string.md) | Yes|Text| + + + +### Type: [help.AppChangelog](../types/help.AppChangelog.md) + + +### Example: + +```php +$help.appChangelog = ['_' => 'help.appChangelog', 'text' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +help.appChangelog={_='help.appChangelog', text='string'} + +``` + + diff --git a/old_docs/API_docs_v42/constructors/help.appChangelogEmpty.md b/old_docs/API_docs_v42/constructors/help.appChangelogEmpty.md new file mode 100644 index 00000000..6ecb71af --- /dev/null +++ b/old_docs/API_docs_v42/constructors/help.appChangelogEmpty.md @@ -0,0 +1,33 @@ +--- +title: help.appChangelogEmpty +description: Empty app changelog +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.appChangelogEmpty +[Back to constructors index](index.md) + + + +Empty app changelog + + + + +### Type: [help.AppChangelog](../types/help.AppChangelog.md) + + +### Example: + +```php +$help.appChangelogEmpty = ['_' => 'help.appChangelogEmpty']; +``` + + +Or, if you're into Lua: + +```lua +help.appChangelogEmpty={_='help.appChangelogEmpty'} + +``` + + diff --git a/old_docs/API_docs_v42/constructors/help.appUpdate.md b/old_docs/API_docs_v42/constructors/help.appUpdate.md new file mode 100644 index 00000000..14b2d75b --- /dev/null +++ b/old_docs/API_docs_v42/constructors/help.appUpdate.md @@ -0,0 +1,41 @@ +--- +title: help.appUpdate +description: An update is available for the application. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.appUpdate +[Back to constructors index](index.md) + + + +An update is available for the application. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|id|[int](../types/int.md) | Yes|Update ID| +|critical|[Bool](../types/Bool.md) | Yes|Critical?| +|url|[string](../types/string.md) | Yes|Application download URL| +|text|[string](../types/string.md) | Yes|Text description of the update| + + + +### Type: [help.AppUpdate](../types/help.AppUpdate.md) + + +### Example: + +```php +$help.appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'url' => 'string', 'text' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +help.appUpdate={_='help.appUpdate', id=int, critical=Bool, url='string', text='string'} + +``` + + diff --git a/old_docs/API_docs_v42/constructors/help.inviteText.md b/old_docs/API_docs_v42/constructors/help.inviteText.md new file mode 100644 index 00000000..6a6261c1 --- /dev/null +++ b/old_docs/API_docs_v42/constructors/help.inviteText.md @@ -0,0 +1,38 @@ +--- +title: help.inviteText +description: Text of a text message with an invitation to install application. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.inviteText +[Back to constructors index](index.md) + + + +Text of a text message with an invitation to install application. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|message|[string](../types/string.md) | Yes|Text of a message| + + + +### Type: [help.InviteText](../types/help.InviteText.md) + + +### Example: + +```php +$help.inviteText = ['_' => 'help.inviteText', 'message' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +help.inviteText={_='help.inviteText', message='string'} + +``` + + diff --git a/old_docs/API_docs_v42/constructors/help.noAppUpdate.md b/old_docs/API_docs_v42/constructors/help.noAppUpdate.md new file mode 100644 index 00000000..1b69ac9a --- /dev/null +++ b/old_docs/API_docs_v42/constructors/help.noAppUpdate.md @@ -0,0 +1,33 @@ +--- +title: help.noAppUpdate +description: No updates are available for the application. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.noAppUpdate +[Back to constructors index](index.md) + + + +No updates are available for the application. + + + + +### Type: [help.AppUpdate](../types/help.AppUpdate.md) + + +### Example: + +```php +$help.noAppUpdate = ['_' => 'help.noAppUpdate']; +``` + + +Or, if you're into Lua: + +```lua +help.noAppUpdate={_='help.noAppUpdate'} + +``` + + diff --git a/old_docs/API_docs_v42/constructors/help.support.md b/old_docs/API_docs_v42/constructors/help.support.md new file mode 100644 index 00000000..4d4f85fb --- /dev/null +++ b/old_docs/API_docs_v42/constructors/help.support.md @@ -0,0 +1,39 @@ +--- +title: help.support +description: Info on support user. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.support +[Back to constructors index](index.md) + + + +Info on support user. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_number|[string](../types/string.md) | Yes|Phone number| +|user|[User](../types/User.md) | Optional|User| + + + +### Type: [help.Support](../types/help.Support.md) + + +### Example: + +```php +$help.support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => User]; +``` + + +Or, if you're into Lua: + +```lua +help.support={_='help.support', phone_number='string', user=User} + +``` + + diff --git a/old_docs/API_docs_v42/constructors/help_appChangelog.md b/old_docs/API_docs_v42/constructors/help_appChangelog.md deleted file mode 100644 index 793a8fc4..00000000 --- a/old_docs/API_docs_v42/constructors/help_appChangelog.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: help.appChangelog -description: App changelog -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.appChangelog -[Back to constructors index](index.md) - - - -App changelog - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|text|[string](../types/string.md) | Yes|Text| - - - -### Type: [help\_AppChangelog](../types/help_AppChangelog.md) - - -### Example: - -```php -$help_appChangelog = ['_' => 'help.appChangelog', 'text' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -help_appChangelog={_='help.appChangelog', text='string'} - -``` - - diff --git a/old_docs/API_docs_v42/constructors/help_appChangelogEmpty.md b/old_docs/API_docs_v42/constructors/help_appChangelogEmpty.md deleted file mode 100644 index 62a195bb..00000000 --- a/old_docs/API_docs_v42/constructors/help_appChangelogEmpty.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: help.appChangelogEmpty -description: Empty app changelog -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.appChangelogEmpty -[Back to constructors index](index.md) - - - -Empty app changelog - - - - -### Type: [help\_AppChangelog](../types/help_AppChangelog.md) - - -### Example: - -```php -$help_appChangelogEmpty = ['_' => 'help.appChangelogEmpty']; -``` - - -Or, if you're into Lua: - -```lua -help_appChangelogEmpty={_='help.appChangelogEmpty'} - -``` - - diff --git a/old_docs/API_docs_v42/constructors/help_appUpdate.md b/old_docs/API_docs_v42/constructors/help_appUpdate.md deleted file mode 100644 index efba9bdb..00000000 --- a/old_docs/API_docs_v42/constructors/help_appUpdate.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: help.appUpdate -description: An update is available for the application. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.appUpdate -[Back to constructors index](index.md) - - - -An update is available for the application. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|id|[int](../types/int.md) | Yes|Update ID| -|critical|[Bool](../types/Bool.md) | Yes|Critical?| -|url|[string](../types/string.md) | Yes|Application download URL| -|text|[string](../types/string.md) | Yes|Text description of the update| - - - -### Type: [help\_AppUpdate](../types/help_AppUpdate.md) - - -### Example: - -```php -$help_appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'url' => 'string', 'text' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -help_appUpdate={_='help.appUpdate', id=int, critical=Bool, url='string', text='string'} - -``` - - diff --git a/old_docs/API_docs_v42/constructors/help_inviteText.md b/old_docs/API_docs_v42/constructors/help_inviteText.md deleted file mode 100644 index b8317ce3..00000000 --- a/old_docs/API_docs_v42/constructors/help_inviteText.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: help.inviteText -description: Text of a text message with an invitation to install application. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.inviteText -[Back to constructors index](index.md) - - - -Text of a text message with an invitation to install application. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|message|[string](../types/string.md) | Yes|Text of a message| - - - -### Type: [help\_InviteText](../types/help_InviteText.md) - - -### Example: - -```php -$help_inviteText = ['_' => 'help.inviteText', 'message' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -help_inviteText={_='help.inviteText', message='string'} - -``` - - diff --git a/old_docs/API_docs_v42/constructors/help_noAppUpdate.md b/old_docs/API_docs_v42/constructors/help_noAppUpdate.md deleted file mode 100644 index 51505e52..00000000 --- a/old_docs/API_docs_v42/constructors/help_noAppUpdate.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: help.noAppUpdate -description: No updates are available for the application. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.noAppUpdate -[Back to constructors index](index.md) - - - -No updates are available for the application. - - - - -### Type: [help\_AppUpdate](../types/help_AppUpdate.md) - - -### Example: - -```php -$help_noAppUpdate = ['_' => 'help.noAppUpdate']; -``` - - -Or, if you're into Lua: - -```lua -help_noAppUpdate={_='help.noAppUpdate'} - -``` - - diff --git a/old_docs/API_docs_v42/constructors/help_support.md b/old_docs/API_docs_v42/constructors/help_support.md deleted file mode 100644 index 148f7f42..00000000 --- a/old_docs/API_docs_v42/constructors/help_support.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: help.support -description: Info on support user. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.support -[Back to constructors index](index.md) - - - -Info on support user. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_number|[string](../types/string.md) | Yes|Phone number| -|user|[User](../types/User.md) | Optional|User| - - - -### Type: [help\_Support](../types/help_Support.md) - - -### Example: - -```php -$help_support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => User]; -``` - - -Or, if you're into Lua: - -```lua -help_support={_='help.support', phone_number='string', user=User} - -``` - - diff --git a/old_docs/API_docs_v42/constructors/messages.affectedHistory.md b/old_docs/API_docs_v42/constructors/messages.affectedHistory.md new file mode 100644 index 00000000..5fc8acec --- /dev/null +++ b/old_docs/API_docs_v42/constructors/messages.affectedHistory.md @@ -0,0 +1,40 @@ +--- +title: messages.affectedHistory +description: Affected part of communication history with the user or in a chat. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.affectedHistory +[Back to constructors index](index.md) + + + +Affected part of communication history with the user or in a chat. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| +|pts\_count|[int](../types/int.md) | Yes|Number of affected events| +|offset|[int](../types/int.md) | Yes|If a parameter contains positive value, it is necessary to repeat the method call using the given value; during the proceeding of all the history the value itself shall gradually decrease| + + + +### Type: [messages.AffectedHistory](../types/messages.AffectedHistory.md) + + +### Example: + +```php +$messages.affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.affectedHistory={_='messages.affectedHistory', pts=int, pts_count=int, offset=int} + +``` + + diff --git a/old_docs/API_docs_v42/constructors/messages.affectedMessages.md b/old_docs/API_docs_v42/constructors/messages.affectedMessages.md new file mode 100644 index 00000000..a0e60bdf --- /dev/null +++ b/old_docs/API_docs_v42/constructors/messages.affectedMessages.md @@ -0,0 +1,39 @@ +--- +title: messages.affectedMessages +description: Events affected by operation +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.affectedMessages +[Back to constructors index](index.md) + + + +Events affected by operation + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|[Event count after generation](https://core.telegram.org/api/updates)| +|pts\_count|[int](../types/int.md) | Yes|[Number of events that were generated](https://core.telegram.org/api/updates)| + + + +### Type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) + + +### Example: + +```php +$messages.affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.affectedMessages={_='messages.affectedMessages', pts=int, pts_count=int} + +``` + + diff --git a/old_docs/API_docs_v42/constructors/messages.allStickers.md b/old_docs/API_docs_v42/constructors/messages.allStickers.md new file mode 100644 index 00000000..2f9cc6e8 --- /dev/null +++ b/old_docs/API_docs_v42/constructors/messages.allStickers.md @@ -0,0 +1,39 @@ +--- +title: messages.allStickers +description: Info about all installed stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.allStickers +[Back to constructors index](index.md) + + + +Info about all installed stickers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[string](../types/string.md) | Yes|Hash| +|sets|Array of [StickerSet](../types/StickerSet.md) | Yes|Sets| + + + +### Type: [messages.AllStickers](../types/messages.AllStickers.md) + + +### Example: + +```php +$messages.allStickers = ['_' => 'messages.allStickers', 'hash' => 'string', 'sets' => [StickerSet, StickerSet]]; +``` + + +Or, if you're into Lua: + +```lua +messages.allStickers={_='messages.allStickers', hash='string', sets={StickerSet}} + +``` + + diff --git a/old_docs/API_docs_v42/constructors/messages.allStickersNotModified.md b/old_docs/API_docs_v42/constructors/messages.allStickersNotModified.md new file mode 100644 index 00000000..d3db088b --- /dev/null +++ b/old_docs/API_docs_v42/constructors/messages.allStickersNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.allStickersNotModified +description: Info about all installed stickers hasn't changed +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.allStickersNotModified +[Back to constructors index](index.md) + + + +Info about all installed stickers hasn't changed + + + + +### Type: [messages.AllStickers](../types/messages.AllStickers.md) + + +### Example: + +```php +$messages.allStickersNotModified = ['_' => 'messages.allStickersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.allStickersNotModified={_='messages.allStickersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v42/constructors/messages.channelMessages.md b/old_docs/API_docs_v42/constructors/messages.channelMessages.md new file mode 100644 index 00000000..26b60293 --- /dev/null +++ b/old_docs/API_docs_v42/constructors/messages.channelMessages.md @@ -0,0 +1,43 @@ +--- +title: messages.channelMessages +description: Channel messages +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.channelMessages +[Back to constructors index](index.md) + + + +Channel messages + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|[Event count after generation](https://core.telegram.org/api/updates)| +|count|[int](../types/int.md) | Yes|Total number of results were found server-side (may not be all included here)| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|collapsed|Array of [MessageGroup](../types/MessageGroup.md) | Optional|Collapsed| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Messages](../types/messages.Messages.md) + + +### Example: + +```php +$messages.channelMessages = ['_' => 'messages.channelMessages', 'pts' => int, 'count' => int, 'messages' => [Message, Message], 'collapsed' => [MessageGroup, MessageGroup], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.channelMessages={_='messages.channelMessages', pts=int, count=int, messages={Message}, collapsed={MessageGroup}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v42/constructors/messages.chatFull.md b/old_docs/API_docs_v42/constructors/messages.chatFull.md new file mode 100644 index 00000000..3906cc54 --- /dev/null +++ b/old_docs/API_docs_v42/constructors/messages.chatFull.md @@ -0,0 +1,40 @@ +--- +title: messages.chatFull +description: Extended info on chat and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.chatFull +[Back to constructors index](index.md) + + + +Extended info on chat and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|full\_chat|[ChatFull](../types/ChatFull.md) | Yes|Extended info on a chat| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.ChatFull](../types/messages.ChatFull.md) + + +### Example: + +```php +$messages.chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.chatFull={_='messages.chatFull', full_chat=ChatFull, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v42/constructors/messages.chats.md b/old_docs/API_docs_v42/constructors/messages.chats.md new file mode 100644 index 00000000..9ede9ff2 --- /dev/null +++ b/old_docs/API_docs_v42/constructors/messages.chats.md @@ -0,0 +1,38 @@ +--- +title: messages.chats +description: List of chats with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.chats +[Back to constructors index](index.md) + + + +List of chats with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| + + + +### Type: [messages.Chats](../types/messages.Chats.md) + + +### Example: + +```php +$messages.chats = ['_' => 'messages.chats', 'chats' => [Chat, Chat]]; +``` + + +Or, if you're into Lua: + +```lua +messages.chats={_='messages.chats', chats={Chat}} + +``` + + diff --git a/old_docs/API_docs_v42/constructors/messages.dhConfig.md b/old_docs/API_docs_v42/constructors/messages.dhConfig.md new file mode 100644 index 00000000..58344f64 --- /dev/null +++ b/old_docs/API_docs_v42/constructors/messages.dhConfig.md @@ -0,0 +1,41 @@ +--- +title: messages.dhConfig +description: New set of configuring parameters. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dhConfig +[Back to constructors index](index.md) + + + +New set of configuring parameters. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|g|[int](../types/int.md) | Yes|New value **prime**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| +|p|[bytes](../types/bytes.md) | Yes|New value **primitive root**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| +|version|[int](../types/int.md) | Yes|Vestion of set of parameters| +|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| + + + +### Type: [messages.DhConfig](../types/messages.DhConfig.md) + + +### Example: + +```php +$messages.dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'version' => int, 'random' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +messages.dhConfig={_='messages.dhConfig', g=int, p='bytes', version=int, random='bytes'} + +``` + + diff --git a/old_docs/API_docs_v42/constructors/messages.dhConfigNotModified.md b/old_docs/API_docs_v42/constructors/messages.dhConfigNotModified.md new file mode 100644 index 00000000..a9a95389 --- /dev/null +++ b/old_docs/API_docs_v42/constructors/messages.dhConfigNotModified.md @@ -0,0 +1,38 @@ +--- +title: messages.dhConfigNotModified +description: Configuring parameters did not change. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dhConfigNotModified +[Back to constructors index](index.md) + + + +Configuring parameters did not change. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| + + + +### Type: [messages.DhConfig](../types/messages.DhConfig.md) + + +### Example: + +```php +$messages.dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +messages.dhConfigNotModified={_='messages.dhConfigNotModified', random='bytes'} + +``` + + diff --git a/old_docs/API_docs_v42/constructors/messages.dialogs.md b/old_docs/API_docs_v42/constructors/messages.dialogs.md new file mode 100644 index 00000000..a72eabce --- /dev/null +++ b/old_docs/API_docs_v42/constructors/messages.dialogs.md @@ -0,0 +1,41 @@ +--- +title: messages.dialogs +description: Full list of chats with messages and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dialogs +[Back to constructors index](index.md) + + + +Full list of chats with messages and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Dialogs](../types/messages.Dialogs.md) + + +### Example: + +```php +$messages.dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.dialogs={_='messages.dialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v42/constructors/messages.dialogsSlice.md b/old_docs/API_docs_v42/constructors/messages.dialogsSlice.md new file mode 100644 index 00000000..26227d2c --- /dev/null +++ b/old_docs/API_docs_v42/constructors/messages.dialogsSlice.md @@ -0,0 +1,42 @@ +--- +title: messages.dialogsSlice +description: Incomplete list of dialogs with messages and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dialogsSlice +[Back to constructors index](index.md) + + + +Incomplete list of dialogs with messages and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of dialogs| +|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Dialogs](../types/messages.Dialogs.md) + + +### Example: + +```php +$messages.dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.dialogsSlice={_='messages.dialogsSlice', count=int, dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v42/constructors/messages.messages.md b/old_docs/API_docs_v42/constructors/messages.messages.md new file mode 100644 index 00000000..3af71dca --- /dev/null +++ b/old_docs/API_docs_v42/constructors/messages.messages.md @@ -0,0 +1,40 @@ +--- +title: messages.messages +description: Full list of messages with auxilary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.messages +[Back to constructors index](index.md) + + + +Full list of messages with auxilary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Messages](../types/messages.Messages.md) + + +### Example: + +```php +$messages.messages = ['_' => 'messages.messages', 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.messages={_='messages.messages', messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v42/constructors/messages.messagesSlice.md b/old_docs/API_docs_v42/constructors/messages.messagesSlice.md new file mode 100644 index 00000000..2fe91df0 --- /dev/null +++ b/old_docs/API_docs_v42/constructors/messages.messagesSlice.md @@ -0,0 +1,41 @@ +--- +title: messages.messagesSlice +description: Incomplete list of messages and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.messagesSlice +[Back to constructors index](index.md) + + + +Incomplete list of messages and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of messages in the list| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Messages](../types/messages.Messages.md) + + +### Example: + +```php +$messages.messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.messagesSlice={_='messages.messagesSlice', count=int, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v42/constructors/messages.sentEncryptedFile.md b/old_docs/API_docs_v42/constructors/messages.sentEncryptedFile.md new file mode 100644 index 00000000..1f0e43c6 --- /dev/null +++ b/old_docs/API_docs_v42/constructors/messages.sentEncryptedFile.md @@ -0,0 +1,39 @@ +--- +title: messages.sentEncryptedFile +description: Message with a file enclosure sent to a protected chat +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.sentEncryptedFile +[Back to constructors index](index.md) + + + +Message with a file enclosure sent to a protected chat + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Sending date| +|file|[EncryptedFile](../types/EncryptedFile.md) | Optional|Attached file| + + + +### Type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) + + +### Example: + +```php +$messages.sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile]; +``` + + +Or, if you're into Lua: + +```lua +messages.sentEncryptedFile={_='messages.sentEncryptedFile', date=int, file=EncryptedFile} + +``` + + diff --git a/old_docs/API_docs_v42/constructors/messages.sentEncryptedMessage.md b/old_docs/API_docs_v42/constructors/messages.sentEncryptedMessage.md new file mode 100644 index 00000000..3d5eb40c --- /dev/null +++ b/old_docs/API_docs_v42/constructors/messages.sentEncryptedMessage.md @@ -0,0 +1,38 @@ +--- +title: messages.sentEncryptedMessage +description: Message without file attachemts sent to an encrypted file. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.sentEncryptedMessage +[Back to constructors index](index.md) + + + +Message without file attachemts sent to an encrypted file. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Date of sending| + + + +### Type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) + + +### Example: + +```php +$messages.sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.sentEncryptedMessage={_='messages.sentEncryptedMessage', date=int} + +``` + + diff --git a/old_docs/API_docs_v42/constructors/messages.stickerSet.md b/old_docs/API_docs_v42/constructors/messages.stickerSet.md new file mode 100644 index 00000000..fbc154d0 --- /dev/null +++ b/old_docs/API_docs_v42/constructors/messages.stickerSet.md @@ -0,0 +1,40 @@ +--- +title: messages.stickerSet +description: Stickerset and stickers inside it +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickerSet +[Back to constructors index](index.md) + + + +Stickerset and stickers inside it + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|set|[StickerSet](../types/StickerSet.md) | Yes|The stickerset| +|packs|Array of [StickerPack](../types/StickerPack.md) | Yes|Packs| +|documents|Array of [Document](../types/Document.md) | Yes|Documents| + + + +### Type: [messages.StickerSet](../types/messages.StickerSet.md) + + +### Example: + +```php +$messages.stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'packs' => [StickerPack, StickerPack], 'documents' => [Document, Document]]; +``` + + +Or, if you're into Lua: + +```lua +messages.stickerSet={_='messages.stickerSet', set=StickerSet, packs={StickerPack}, documents={Document}} + +``` + + diff --git a/old_docs/API_docs_v42/constructors/messages.stickers.md b/old_docs/API_docs_v42/constructors/messages.stickers.md new file mode 100644 index 00000000..310b64b0 --- /dev/null +++ b/old_docs/API_docs_v42/constructors/messages.stickers.md @@ -0,0 +1,39 @@ +--- +title: messages.stickers +description: Found stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickers +[Back to constructors index](index.md) + + + +Found stickers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[string](../types/string.md) | Yes|Hash| +|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| + + + +### Type: [messages.Stickers](../types/messages.Stickers.md) + + +### Example: + +```php +$messages.stickers = ['_' => 'messages.stickers', 'hash' => 'string', 'stickers' => [Document, Document]]; +``` + + +Or, if you're into Lua: + +```lua +messages.stickers={_='messages.stickers', hash='string', stickers={Document}} + +``` + + diff --git a/old_docs/API_docs_v42/constructors/messages.stickersNotModified.md b/old_docs/API_docs_v42/constructors/messages.stickersNotModified.md new file mode 100644 index 00000000..e8c7766c --- /dev/null +++ b/old_docs/API_docs_v42/constructors/messages.stickersNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.stickersNotModified +description: No new stickers were found for the given query +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickersNotModified +[Back to constructors index](index.md) + + + +No new stickers were found for the given query + + + + +### Type: [messages.Stickers](../types/messages.Stickers.md) + + +### Example: + +```php +$messages.stickersNotModified = ['_' => 'messages.stickersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.stickersNotModified={_='messages.stickersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v42/constructors/messages_affectedHistory.md b/old_docs/API_docs_v42/constructors/messages_affectedHistory.md deleted file mode 100644 index 449a7e3f..00000000 --- a/old_docs/API_docs_v42/constructors/messages_affectedHistory.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.affectedHistory -description: Affected part of communication history with the user or in a chat. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.affectedHistory -[Back to constructors index](index.md) - - - -Affected part of communication history with the user or in a chat. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| -|pts\_count|[int](../types/int.md) | Yes|Number of affected events| -|offset|[int](../types/int.md) | Yes|If a parameter contains positive value, it is necessary to repeat the method call using the given value; during the proceeding of all the history the value itself shall gradually decrease| - - - -### Type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) - - -### Example: - -```php -$messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_affectedHistory={_='messages.affectedHistory', pts=int, pts_count=int, offset=int} - -``` - - diff --git a/old_docs/API_docs_v42/constructors/messages_affectedMessages.md b/old_docs/API_docs_v42/constructors/messages_affectedMessages.md deleted file mode 100644 index 86760581..00000000 --- a/old_docs/API_docs_v42/constructors/messages_affectedMessages.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.affectedMessages -description: Events affected by operation -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.affectedMessages -[Back to constructors index](index.md) - - - -Events affected by operation - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|[Event count after generation](https://core.telegram.org/api/updates)| -|pts\_count|[int](../types/int.md) | Yes|[Number of events that were generated](https://core.telegram.org/api/updates)| - - - -### Type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) - - -### Example: - -```php -$messages_affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_affectedMessages={_='messages.affectedMessages', pts=int, pts_count=int} - -``` - - diff --git a/old_docs/API_docs_v42/constructors/messages_allStickers.md b/old_docs/API_docs_v42/constructors/messages_allStickers.md deleted file mode 100644 index dfbaf47e..00000000 --- a/old_docs/API_docs_v42/constructors/messages_allStickers.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.allStickers -description: Info about all installed stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.allStickers -[Back to constructors index](index.md) - - - -Info about all installed stickers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[string](../types/string.md) | Yes|Hash| -|sets|Array of [StickerSet](../types/StickerSet.md) | Yes|Sets| - - - -### Type: [messages\_AllStickers](../types/messages_AllStickers.md) - - -### Example: - -```php -$messages_allStickers = ['_' => 'messages.allStickers', 'hash' => 'string', 'sets' => [StickerSet, StickerSet]]; -``` - - -Or, if you're into Lua: - -```lua -messages_allStickers={_='messages.allStickers', hash='string', sets={StickerSet}} - -``` - - diff --git a/old_docs/API_docs_v42/constructors/messages_allStickersNotModified.md b/old_docs/API_docs_v42/constructors/messages_allStickersNotModified.md deleted file mode 100644 index c4da85ab..00000000 --- a/old_docs/API_docs_v42/constructors/messages_allStickersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.allStickersNotModified -description: Info about all installed stickers hasn't changed -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.allStickersNotModified -[Back to constructors index](index.md) - - - -Info about all installed stickers hasn't changed - - - - -### Type: [messages\_AllStickers](../types/messages_AllStickers.md) - - -### Example: - -```php -$messages_allStickersNotModified = ['_' => 'messages.allStickersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_allStickersNotModified={_='messages.allStickersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v42/constructors/messages_channelMessages.md b/old_docs/API_docs_v42/constructors/messages_channelMessages.md deleted file mode 100644 index f59dea09..00000000 --- a/old_docs/API_docs_v42/constructors/messages_channelMessages.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: messages.channelMessages -description: Channel messages -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.channelMessages -[Back to constructors index](index.md) - - - -Channel messages - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|[Event count after generation](https://core.telegram.org/api/updates)| -|count|[int](../types/int.md) | Yes|Total number of results were found server-side (may not be all included here)| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|collapsed|Array of [MessageGroup](../types/MessageGroup.md) | Optional|Collapsed| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Messages](../types/messages_Messages.md) - - -### Example: - -```php -$messages_channelMessages = ['_' => 'messages.channelMessages', 'pts' => int, 'count' => int, 'messages' => [Message, Message], 'collapsed' => [MessageGroup, MessageGroup], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_channelMessages={_='messages.channelMessages', pts=int, count=int, messages={Message}, collapsed={MessageGroup}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v42/constructors/messages_chatFull.md b/old_docs/API_docs_v42/constructors/messages_chatFull.md deleted file mode 100644 index 02f1acdf..00000000 --- a/old_docs/API_docs_v42/constructors/messages_chatFull.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.chatFull -description: Extended info on chat and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.chatFull -[Back to constructors index](index.md) - - - -Extended info on chat and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|full\_chat|[ChatFull](../types/ChatFull.md) | Yes|Extended info on a chat| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_ChatFull](../types/messages_ChatFull.md) - - -### Example: - -```php -$messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_chatFull={_='messages.chatFull', full_chat=ChatFull, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v42/constructors/messages_chats.md b/old_docs/API_docs_v42/constructors/messages_chats.md deleted file mode 100644 index ef3690a9..00000000 --- a/old_docs/API_docs_v42/constructors/messages_chats.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.chats -description: List of chats with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.chats -[Back to constructors index](index.md) - - - -List of chats with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| - - - -### Type: [messages\_Chats](../types/messages_Chats.md) - - -### Example: - -```php -$messages_chats = ['_' => 'messages.chats', 'chats' => [Chat, Chat]]; -``` - - -Or, if you're into Lua: - -```lua -messages_chats={_='messages.chats', chats={Chat}} - -``` - - diff --git a/old_docs/API_docs_v42/constructors/messages_dhConfig.md b/old_docs/API_docs_v42/constructors/messages_dhConfig.md deleted file mode 100644 index 42c2feb1..00000000 --- a/old_docs/API_docs_v42/constructors/messages_dhConfig.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: messages.dhConfig -description: New set of configuring parameters. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dhConfig -[Back to constructors index](index.md) - - - -New set of configuring parameters. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|g|[int](../types/int.md) | Yes|New value **prime**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| -|p|[bytes](../types/bytes.md) | Yes|New value **primitive root**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| -|version|[int](../types/int.md) | Yes|Vestion of set of parameters| -|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| - - - -### Type: [messages\_DhConfig](../types/messages_DhConfig.md) - - -### Example: - -```php -$messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'version' => int, 'random' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -messages_dhConfig={_='messages.dhConfig', g=int, p='bytes', version=int, random='bytes'} - -``` - - diff --git a/old_docs/API_docs_v42/constructors/messages_dhConfigNotModified.md b/old_docs/API_docs_v42/constructors/messages_dhConfigNotModified.md deleted file mode 100644 index 5bf64230..00000000 --- a/old_docs/API_docs_v42/constructors/messages_dhConfigNotModified.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.dhConfigNotModified -description: Configuring parameters did not change. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dhConfigNotModified -[Back to constructors index](index.md) - - - -Configuring parameters did not change. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| - - - -### Type: [messages\_DhConfig](../types/messages_DhConfig.md) - - -### Example: - -```php -$messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -messages_dhConfigNotModified={_='messages.dhConfigNotModified', random='bytes'} - -``` - - diff --git a/old_docs/API_docs_v42/constructors/messages_dialogs.md b/old_docs/API_docs_v42/constructors/messages_dialogs.md deleted file mode 100644 index e6a431b4..00000000 --- a/old_docs/API_docs_v42/constructors/messages_dialogs.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: messages.dialogs -description: Full list of chats with messages and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dialogs -[Back to constructors index](index.md) - - - -Full list of chats with messages and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Dialogs](../types/messages_Dialogs.md) - - -### Example: - -```php -$messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_dialogs={_='messages.dialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v42/constructors/messages_dialogsSlice.md b/old_docs/API_docs_v42/constructors/messages_dialogsSlice.md deleted file mode 100644 index f183b9a8..00000000 --- a/old_docs/API_docs_v42/constructors/messages_dialogsSlice.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: messages.dialogsSlice -description: Incomplete list of dialogs with messages and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dialogsSlice -[Back to constructors index](index.md) - - - -Incomplete list of dialogs with messages and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of dialogs| -|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Dialogs](../types/messages_Dialogs.md) - - -### Example: - -```php -$messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_dialogsSlice={_='messages.dialogsSlice', count=int, dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v42/constructors/messages_messages.md b/old_docs/API_docs_v42/constructors/messages_messages.md deleted file mode 100644 index 3e369e1a..00000000 --- a/old_docs/API_docs_v42/constructors/messages_messages.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.messages -description: Full list of messages with auxilary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.messages -[Back to constructors index](index.md) - - - -Full list of messages with auxilary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Messages](../types/messages_Messages.md) - - -### Example: - -```php -$messages_messages = ['_' => 'messages.messages', 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_messages={_='messages.messages', messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v42/constructors/messages_messagesSlice.md b/old_docs/API_docs_v42/constructors/messages_messagesSlice.md deleted file mode 100644 index f9b8dc18..00000000 --- a/old_docs/API_docs_v42/constructors/messages_messagesSlice.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: messages.messagesSlice -description: Incomplete list of messages and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.messagesSlice -[Back to constructors index](index.md) - - - -Incomplete list of messages and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of messages in the list| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Messages](../types/messages_Messages.md) - - -### Example: - -```php -$messages_messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_messagesSlice={_='messages.messagesSlice', count=int, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v42/constructors/messages_sentEncryptedFile.md b/old_docs/API_docs_v42/constructors/messages_sentEncryptedFile.md deleted file mode 100644 index fdc2a11e..00000000 --- a/old_docs/API_docs_v42/constructors/messages_sentEncryptedFile.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.sentEncryptedFile -description: Message with a file enclosure sent to a protected chat -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.sentEncryptedFile -[Back to constructors index](index.md) - - - -Message with a file enclosure sent to a protected chat - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Sending date| -|file|[EncryptedFile](../types/EncryptedFile.md) | Optional|Attached file| - - - -### Type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) - - -### Example: - -```php -$messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile]; -``` - - -Or, if you're into Lua: - -```lua -messages_sentEncryptedFile={_='messages.sentEncryptedFile', date=int, file=EncryptedFile} - -``` - - diff --git a/old_docs/API_docs_v42/constructors/messages_sentEncryptedMessage.md b/old_docs/API_docs_v42/constructors/messages_sentEncryptedMessage.md deleted file mode 100644 index 36b2bbff..00000000 --- a/old_docs/API_docs_v42/constructors/messages_sentEncryptedMessage.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.sentEncryptedMessage -description: Message without file attachemts sent to an encrypted file. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.sentEncryptedMessage -[Back to constructors index](index.md) - - - -Message without file attachemts sent to an encrypted file. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Date of sending| - - - -### Type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) - - -### Example: - -```php -$messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_sentEncryptedMessage={_='messages.sentEncryptedMessage', date=int} - -``` - - diff --git a/old_docs/API_docs_v42/constructors/messages_stickerSet.md b/old_docs/API_docs_v42/constructors/messages_stickerSet.md deleted file mode 100644 index 127191de..00000000 --- a/old_docs/API_docs_v42/constructors/messages_stickerSet.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.stickerSet -description: Stickerset and stickers inside it -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickerSet -[Back to constructors index](index.md) - - - -Stickerset and stickers inside it - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|set|[StickerSet](../types/StickerSet.md) | Yes|The stickerset| -|packs|Array of [StickerPack](../types/StickerPack.md) | Yes|Packs| -|documents|Array of [Document](../types/Document.md) | Yes|Documents| - - - -### Type: [messages\_StickerSet](../types/messages_StickerSet.md) - - -### Example: - -```php -$messages_stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'packs' => [StickerPack, StickerPack], 'documents' => [Document, Document]]; -``` - - -Or, if you're into Lua: - -```lua -messages_stickerSet={_='messages.stickerSet', set=StickerSet, packs={StickerPack}, documents={Document}} - -``` - - diff --git a/old_docs/API_docs_v42/constructors/messages_stickers.md b/old_docs/API_docs_v42/constructors/messages_stickers.md deleted file mode 100644 index 1c007df2..00000000 --- a/old_docs/API_docs_v42/constructors/messages_stickers.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.stickers -description: Found stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickers -[Back to constructors index](index.md) - - - -Found stickers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[string](../types/string.md) | Yes|Hash| -|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| - - - -### Type: [messages\_Stickers](../types/messages_Stickers.md) - - -### Example: - -```php -$messages_stickers = ['_' => 'messages.stickers', 'hash' => 'string', 'stickers' => [Document, Document]]; -``` - - -Or, if you're into Lua: - -```lua -messages_stickers={_='messages.stickers', hash='string', stickers={Document}} - -``` - - diff --git a/old_docs/API_docs_v42/constructors/messages_stickersNotModified.md b/old_docs/API_docs_v42/constructors/messages_stickersNotModified.md deleted file mode 100644 index 3d434a79..00000000 --- a/old_docs/API_docs_v42/constructors/messages_stickersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.stickersNotModified -description: No new stickers were found for the given query -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickersNotModified -[Back to constructors index](index.md) - - - -No new stickers were found for the given query - - - - -### Type: [messages\_Stickers](../types/messages_Stickers.md) - - -### Example: - -```php -$messages_stickersNotModified = ['_' => 'messages.stickersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_stickersNotModified={_='messages.stickersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v42/constructors/photos.photo.md b/old_docs/API_docs_v42/constructors/photos.photo.md new file mode 100644 index 00000000..43d3efc7 --- /dev/null +++ b/old_docs/API_docs_v42/constructors/photos.photo.md @@ -0,0 +1,39 @@ +--- +title: photos.photo +description: Photo with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: photos.photo +[Back to constructors index](index.md) + + + +Photo with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|photo|[Photo](../types/Photo.md) | Optional|Photo| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [photos.Photo](../types/photos.Photo.md) + + +### Example: + +```php +$photos.photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +photos.photo={_='photos.photo', photo=Photo, users={User}} + +``` + + diff --git a/old_docs/API_docs_v42/constructors/photos.photos.md b/old_docs/API_docs_v42/constructors/photos.photos.md new file mode 100644 index 00000000..901a9693 --- /dev/null +++ b/old_docs/API_docs_v42/constructors/photos.photos.md @@ -0,0 +1,39 @@ +--- +title: photos.photos +description: Full list of photos with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: photos.photos +[Back to constructors index](index.md) + + + +Full list of photos with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [photos.Photos](../types/photos.Photos.md) + + +### Example: + +```php +$photos.photos = ['_' => 'photos.photos', 'photos' => [Photo, Photo], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +photos.photos={_='photos.photos', photos={Photo}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v42/constructors/photos.photosSlice.md b/old_docs/API_docs_v42/constructors/photos.photosSlice.md new file mode 100644 index 00000000..2cca3546 --- /dev/null +++ b/old_docs/API_docs_v42/constructors/photos.photosSlice.md @@ -0,0 +1,40 @@ +--- +title: photos.photosSlice +description: Incomplete list of photos with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: photos.photosSlice +[Back to constructors index](index.md) + + + +Incomplete list of photos with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of photos| +|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [photos.Photos](../types/photos.Photos.md) + + +### Example: + +```php +$photos.photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo, Photo], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +photos.photosSlice={_='photos.photosSlice', count=int, photos={Photo}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v42/constructors/photos_photo.md b/old_docs/API_docs_v42/constructors/photos_photo.md deleted file mode 100644 index d5ad61d9..00000000 --- a/old_docs/API_docs_v42/constructors/photos_photo.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: photos.photo -description: Photo with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: photos.photo -[Back to constructors index](index.md) - - - -Photo with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|photo|[Photo](../types/Photo.md) | Optional|Photo| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [photos\_Photo](../types/photos_Photo.md) - - -### Example: - -```php -$photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -photos_photo={_='photos.photo', photo=Photo, users={User}} - -``` - - diff --git a/old_docs/API_docs_v42/constructors/photos_photos.md b/old_docs/API_docs_v42/constructors/photos_photos.md deleted file mode 100644 index 6ae5d048..00000000 --- a/old_docs/API_docs_v42/constructors/photos_photos.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: photos.photos -description: Full list of photos with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: photos.photos -[Back to constructors index](index.md) - - - -Full list of photos with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [photos\_Photos](../types/photos_Photos.md) - - -### Example: - -```php -$photos_photos = ['_' => 'photos.photos', 'photos' => [Photo, Photo], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -photos_photos={_='photos.photos', photos={Photo}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v42/constructors/photos_photosSlice.md b/old_docs/API_docs_v42/constructors/photos_photosSlice.md deleted file mode 100644 index 5c465c21..00000000 --- a/old_docs/API_docs_v42/constructors/photos_photosSlice.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: photos.photosSlice -description: Incomplete list of photos with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: photos.photosSlice -[Back to constructors index](index.md) - - - -Incomplete list of photos with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of photos| -|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [photos\_Photos](../types/photos_Photos.md) - - -### Example: - -```php -$photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo, Photo], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -photos_photosSlice={_='photos.photosSlice', count=int, photos={Photo}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v42/constructors/storage.fileGif.md b/old_docs/API_docs_v42/constructors/storage.fileGif.md new file mode 100644 index 00000000..8193bd25 --- /dev/null +++ b/old_docs/API_docs_v42/constructors/storage.fileGif.md @@ -0,0 +1,33 @@ +--- +title: storage.fileGif +description: GIF image. MIME type: `image/gif`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileGif +[Back to constructors index](index.md) + + + +GIF image. MIME type: `image/gif`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileGif = ['_' => 'storage.fileGif']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileGif={_='storage.fileGif'} + +``` + + diff --git a/old_docs/API_docs_v42/constructors/storage.fileJpeg.md b/old_docs/API_docs_v42/constructors/storage.fileJpeg.md new file mode 100644 index 00000000..7f125963 --- /dev/null +++ b/old_docs/API_docs_v42/constructors/storage.fileJpeg.md @@ -0,0 +1,33 @@ +--- +title: storage.fileJpeg +description: JPEG image. MIME type: `image/jpeg`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileJpeg +[Back to constructors index](index.md) + + + +JPEG image. MIME type: `image/jpeg`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileJpeg = ['_' => 'storage.fileJpeg']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileJpeg={_='storage.fileJpeg'} + +``` + + diff --git a/old_docs/API_docs_v42/constructors/storage.fileMov.md b/old_docs/API_docs_v42/constructors/storage.fileMov.md new file mode 100644 index 00000000..cb3742e0 --- /dev/null +++ b/old_docs/API_docs_v42/constructors/storage.fileMov.md @@ -0,0 +1,33 @@ +--- +title: storage.fileMov +description: Quicktime video. MIME type: `video/quicktime`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileMov +[Back to constructors index](index.md) + + + +Quicktime video. MIME type: `video/quicktime`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileMov = ['_' => 'storage.fileMov']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileMov={_='storage.fileMov'} + +``` + + diff --git a/old_docs/API_docs_v42/constructors/storage.fileMp3.md b/old_docs/API_docs_v42/constructors/storage.fileMp3.md new file mode 100644 index 00000000..617f2d39 --- /dev/null +++ b/old_docs/API_docs_v42/constructors/storage.fileMp3.md @@ -0,0 +1,33 @@ +--- +title: storage.fileMp3 +description: Mp3 audio. MIME type: `audio/mpeg`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileMp3 +[Back to constructors index](index.md) + + + +Mp3 audio. MIME type: `audio/mpeg`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileMp3 = ['_' => 'storage.fileMp3']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileMp3={_='storage.fileMp3'} + +``` + + diff --git a/old_docs/API_docs_v42/constructors/storage.fileMp4.md b/old_docs/API_docs_v42/constructors/storage.fileMp4.md new file mode 100644 index 00000000..37038176 --- /dev/null +++ b/old_docs/API_docs_v42/constructors/storage.fileMp4.md @@ -0,0 +1,33 @@ +--- +title: storage.fileMp4 +description: MPEG-4 video. MIME type: `video/mp4`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileMp4 +[Back to constructors index](index.md) + + + +MPEG-4 video. MIME type: `video/mp4`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileMp4 = ['_' => 'storage.fileMp4']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileMp4={_='storage.fileMp4'} + +``` + + diff --git a/old_docs/API_docs_v42/constructors/storage.filePartial.md b/old_docs/API_docs_v42/constructors/storage.filePartial.md new file mode 100644 index 00000000..98779e71 --- /dev/null +++ b/old_docs/API_docs_v42/constructors/storage.filePartial.md @@ -0,0 +1,33 @@ +--- +title: storage.filePartial +description: Part of a bigger file. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.filePartial +[Back to constructors index](index.md) + + + +Part of a bigger file. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.filePartial = ['_' => 'storage.filePartial']; +``` + + +Or, if you're into Lua: + +```lua +storage.filePartial={_='storage.filePartial'} + +``` + + diff --git a/old_docs/API_docs_v42/constructors/storage.filePdf.md b/old_docs/API_docs_v42/constructors/storage.filePdf.md new file mode 100644 index 00000000..136c0614 --- /dev/null +++ b/old_docs/API_docs_v42/constructors/storage.filePdf.md @@ -0,0 +1,33 @@ +--- +title: storage.filePdf +description: PDF document image. MIME type: `application/pdf`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.filePdf +[Back to constructors index](index.md) + + + +PDF document image. MIME type: `application/pdf`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.filePdf = ['_' => 'storage.filePdf']; +``` + + +Or, if you're into Lua: + +```lua +storage.filePdf={_='storage.filePdf'} + +``` + + diff --git a/old_docs/API_docs_v42/constructors/storage.filePng.md b/old_docs/API_docs_v42/constructors/storage.filePng.md new file mode 100644 index 00000000..db01ce0e --- /dev/null +++ b/old_docs/API_docs_v42/constructors/storage.filePng.md @@ -0,0 +1,33 @@ +--- +title: storage.filePng +description: PNG image. MIME type: `image/png`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.filePng +[Back to constructors index](index.md) + + + +PNG image. MIME type: `image/png`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.filePng = ['_' => 'storage.filePng']; +``` + + +Or, if you're into Lua: + +```lua +storage.filePng={_='storage.filePng'} + +``` + + diff --git a/old_docs/API_docs_v42/constructors/storage.fileUnknown.md b/old_docs/API_docs_v42/constructors/storage.fileUnknown.md new file mode 100644 index 00000000..26f0a5ae --- /dev/null +++ b/old_docs/API_docs_v42/constructors/storage.fileUnknown.md @@ -0,0 +1,33 @@ +--- +title: storage.fileUnknown +description: Unknown type. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileUnknown +[Back to constructors index](index.md) + + + +Unknown type. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileUnknown = ['_' => 'storage.fileUnknown']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileUnknown={_='storage.fileUnknown'} + +``` + + diff --git a/old_docs/API_docs_v42/constructors/storage.fileWebp.md b/old_docs/API_docs_v42/constructors/storage.fileWebp.md new file mode 100644 index 00000000..63c9ded1 --- /dev/null +++ b/old_docs/API_docs_v42/constructors/storage.fileWebp.md @@ -0,0 +1,33 @@ +--- +title: storage.fileWebp +description: WEBP image. MIME type: `image/webp`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileWebp +[Back to constructors index](index.md) + + + +WEBP image. MIME type: `image/webp`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileWebp = ['_' => 'storage.fileWebp']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileWebp={_='storage.fileWebp'} + +``` + + diff --git a/old_docs/API_docs_v42/constructors/storage_fileGif.md b/old_docs/API_docs_v42/constructors/storage_fileGif.md deleted file mode 100644 index 218c7491..00000000 --- a/old_docs/API_docs_v42/constructors/storage_fileGif.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileGif -description: GIF image. MIME type: `image/gif`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileGif -[Back to constructors index](index.md) - - - -GIF image. MIME type: `image/gif`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileGif = ['_' => 'storage.fileGif']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileGif={_='storage.fileGif'} - -``` - - diff --git a/old_docs/API_docs_v42/constructors/storage_fileJpeg.md b/old_docs/API_docs_v42/constructors/storage_fileJpeg.md deleted file mode 100644 index 925531cd..00000000 --- a/old_docs/API_docs_v42/constructors/storage_fileJpeg.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileJpeg -description: JPEG image. MIME type: `image/jpeg`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileJpeg -[Back to constructors index](index.md) - - - -JPEG image. MIME type: `image/jpeg`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileJpeg = ['_' => 'storage.fileJpeg']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileJpeg={_='storage.fileJpeg'} - -``` - - diff --git a/old_docs/API_docs_v42/constructors/storage_fileMov.md b/old_docs/API_docs_v42/constructors/storage_fileMov.md deleted file mode 100644 index eaf2a6ff..00000000 --- a/old_docs/API_docs_v42/constructors/storage_fileMov.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileMov -description: Quicktime video. MIME type: `video/quicktime`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileMov -[Back to constructors index](index.md) - - - -Quicktime video. MIME type: `video/quicktime`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileMov = ['_' => 'storage.fileMov']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileMov={_='storage.fileMov'} - -``` - - diff --git a/old_docs/API_docs_v42/constructors/storage_fileMp3.md b/old_docs/API_docs_v42/constructors/storage_fileMp3.md deleted file mode 100644 index 9afcefbb..00000000 --- a/old_docs/API_docs_v42/constructors/storage_fileMp3.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileMp3 -description: Mp3 audio. MIME type: `audio/mpeg`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileMp3 -[Back to constructors index](index.md) - - - -Mp3 audio. MIME type: `audio/mpeg`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileMp3 = ['_' => 'storage.fileMp3']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileMp3={_='storage.fileMp3'} - -``` - - diff --git a/old_docs/API_docs_v42/constructors/storage_fileMp4.md b/old_docs/API_docs_v42/constructors/storage_fileMp4.md deleted file mode 100644 index cdc0e783..00000000 --- a/old_docs/API_docs_v42/constructors/storage_fileMp4.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileMp4 -description: MPEG-4 video. MIME type: `video/mp4`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileMp4 -[Back to constructors index](index.md) - - - -MPEG-4 video. MIME type: `video/mp4`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileMp4 = ['_' => 'storage.fileMp4']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileMp4={_='storage.fileMp4'} - -``` - - diff --git a/old_docs/API_docs_v42/constructors/storage_filePartial.md b/old_docs/API_docs_v42/constructors/storage_filePartial.md deleted file mode 100644 index 9bfadf63..00000000 --- a/old_docs/API_docs_v42/constructors/storage_filePartial.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.filePartial -description: Part of a bigger file. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.filePartial -[Back to constructors index](index.md) - - - -Part of a bigger file. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_filePartial = ['_' => 'storage.filePartial']; -``` - - -Or, if you're into Lua: - -```lua -storage_filePartial={_='storage.filePartial'} - -``` - - diff --git a/old_docs/API_docs_v42/constructors/storage_filePdf.md b/old_docs/API_docs_v42/constructors/storage_filePdf.md deleted file mode 100644 index efb022cc..00000000 --- a/old_docs/API_docs_v42/constructors/storage_filePdf.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.filePdf -description: PDF document image. MIME type: `application/pdf`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.filePdf -[Back to constructors index](index.md) - - - -PDF document image. MIME type: `application/pdf`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_filePdf = ['_' => 'storage.filePdf']; -``` - - -Or, if you're into Lua: - -```lua -storage_filePdf={_='storage.filePdf'} - -``` - - diff --git a/old_docs/API_docs_v42/constructors/storage_filePng.md b/old_docs/API_docs_v42/constructors/storage_filePng.md deleted file mode 100644 index 412759e4..00000000 --- a/old_docs/API_docs_v42/constructors/storage_filePng.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.filePng -description: PNG image. MIME type: `image/png`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.filePng -[Back to constructors index](index.md) - - - -PNG image. MIME type: `image/png`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_filePng = ['_' => 'storage.filePng']; -``` - - -Or, if you're into Lua: - -```lua -storage_filePng={_='storage.filePng'} - -``` - - diff --git a/old_docs/API_docs_v42/constructors/storage_fileUnknown.md b/old_docs/API_docs_v42/constructors/storage_fileUnknown.md deleted file mode 100644 index ed33dd5e..00000000 --- a/old_docs/API_docs_v42/constructors/storage_fileUnknown.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileUnknown -description: Unknown type. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileUnknown -[Back to constructors index](index.md) - - - -Unknown type. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileUnknown = ['_' => 'storage.fileUnknown']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileUnknown={_='storage.fileUnknown'} - -``` - - diff --git a/old_docs/API_docs_v42/constructors/storage_fileWebp.md b/old_docs/API_docs_v42/constructors/storage_fileWebp.md deleted file mode 100644 index 04dcad74..00000000 --- a/old_docs/API_docs_v42/constructors/storage_fileWebp.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileWebp -description: WEBP image. MIME type: `image/webp`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileWebp -[Back to constructors index](index.md) - - - -WEBP image. MIME type: `image/webp`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileWebp = ['_' => 'storage.fileWebp']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileWebp={_='storage.fileWebp'} - -``` - - diff --git a/old_docs/API_docs_v42/constructors/updates.channelDifference.md b/old_docs/API_docs_v42/constructors/updates.channelDifference.md new file mode 100644 index 00000000..5a13791c --- /dev/null +++ b/old_docs/API_docs_v42/constructors/updates.channelDifference.md @@ -0,0 +1,44 @@ +--- +title: updates.channelDifference +description: The new updates +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.channelDifference +[Back to constructors index](index.md) + + + +The new updates + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates to be fetched using getDifference, starting from the provided `pts`| +|pts|[int](../types/int.md) | Yes|The [PTS](https://core.telegram.org/api/updates) from which to start getting updates the next time| +|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| +|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| +|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [updates.ChannelDifference](../types/updates.ChannelDifference.md) + + +### Example: + +```php +$updates.channelDifference = ['_' => 'updates.channelDifference', 'final' => Bool, 'pts' => int, 'timeout' => int, 'new_messages' => [Message, Message], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +updates.channelDifference={_='updates.channelDifference', final=Bool, pts=int, timeout=int, new_messages={Message}, other_updates={Update}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v42/constructors/updates.channelDifferenceEmpty.md b/old_docs/API_docs_v42/constructors/updates.channelDifferenceEmpty.md new file mode 100644 index 00000000..8ce43da4 --- /dev/null +++ b/old_docs/API_docs_v42/constructors/updates.channelDifferenceEmpty.md @@ -0,0 +1,40 @@ +--- +title: updates.channelDifferenceEmpty +description: There are no new updates +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.channelDifferenceEmpty +[Back to constructors index](index.md) + + + +There are no new updates + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates that must be fetched (always false)| +|pts|[int](../types/int.md) | Yes|The latest [PTS](https://core.telegram.org/api/updates)| +|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| + + + +### Type: [updates.ChannelDifference](../types/updates.ChannelDifference.md) + + +### Example: + +```php +$updates.channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'final' => Bool, 'pts' => int, 'timeout' => int]; +``` + + +Or, if you're into Lua: + +```lua +updates.channelDifferenceEmpty={_='updates.channelDifferenceEmpty', final=Bool, pts=int, timeout=int} + +``` + + diff --git a/old_docs/API_docs_v42/constructors/updates.channelDifferenceTooLong.md b/old_docs/API_docs_v42/constructors/updates.channelDifferenceTooLong.md new file mode 100644 index 00000000..eecd8aba --- /dev/null +++ b/old_docs/API_docs_v42/constructors/updates.channelDifferenceTooLong.md @@ -0,0 +1,58 @@ +--- +title: updates.channelDifferenceTooLong +description: The provided `pts + limit < remote pts`. Simply, there are too many updates to be fetched (more than `limit`), the client has to resolve the update gap in one of the following ways: + +1. Delete all known messages in the chat, begin from scratch by refetching all messages manually with [getHistory](../methods/messages.getHistory.md). It is easy to implement, but suddenly disappearing messages looks awful for the user. +2. Save all messages loaded in the memory until application restart, but delete all messages from database. Messages left in the memory must be lazily updated using calls to [getHistory](../methods/messages.getHistory.md). It looks much smoothly for the user, he will need to redownload messages only after client restart. Unsynchronized messages left in the memory shouldn't be saved to database, results of [getHistory](../methods/messages.getHistory.md) and [getMessages](../methods/messages.getMessages.md) must be used to update state of deleted and edited messages left in the memory. +3. Save all messages loaded in the memory and stored in the database without saving that some messages form continuous ranges. Messages in the database will be excluded from results of getChatHistory and searchChatMessages after application restart and will be available only through getMessage. Every message should still be checked using getHistory. It has more disadvantages over 2) than advantages. +4. Save all messages with saving all data about continuous message ranges. Messages from the database may be used as results of getChatHistory and (if implemented continuous ranges support for searching shared media) searchChatMessages. The messages should still be lazily checked using getHistory, but they are still available offline. It is the best way for gaps support, but it is pretty hard to implement correctly. It should be also noted that some messages like live location messages shouldn't be deleted. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.channelDifferenceTooLong +[Back to constructors index](index.md) + + + +The provided `pts + limit < remote pts`. Simply, there are too many updates to be fetched (more than `limit`), the client has to resolve the update gap in one of the following ways: + +1. Delete all known messages in the chat, begin from scratch by refetching all messages manually with [getHistory](../methods/messages.getHistory.md). It is easy to implement, but suddenly disappearing messages looks awful for the user. +2. Save all messages loaded in the memory until application restart, but delete all messages from database. Messages left in the memory must be lazily updated using calls to [getHistory](../methods/messages.getHistory.md). It looks much smoothly for the user, he will need to redownload messages only after client restart. Unsynchronized messages left in the memory shouldn't be saved to database, results of [getHistory](../methods/messages.getHistory.md) and [getMessages](../methods/messages.getMessages.md) must be used to update state of deleted and edited messages left in the memory. +3. Save all messages loaded in the memory and stored in the database without saving that some messages form continuous ranges. Messages in the database will be excluded from results of getChatHistory and searchChatMessages after application restart and will be available only through getMessage. Every message should still be checked using getHistory. It has more disadvantages over 2) than advantages. +4. Save all messages with saving all data about continuous message ranges. Messages from the database may be used as results of getChatHistory and (if implemented continuous ranges support for searching shared media) searchChatMessages. The messages should still be lazily checked using getHistory, but they are still available offline. It is the best way for gaps support, but it is pretty hard to implement correctly. It should be also noted that some messages like live location messages shouldn't be deleted. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates that must be fetched (always false)| +|pts|[int](../types/int.md) | Yes|Pts| +|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| +|top\_message|[int](../types/int.md) | Yes|Top message| +|top\_important\_message|[int](../types/int.md) | Yes|Top important message| +|read\_inbox\_max\_id|[int](../types/int.md) | Yes|Read inbox max ID| +|unread\_count|[int](../types/int.md) | Yes|Unread count| +|unread\_important\_count|[int](../types/int.md) | Yes|Unread important count| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [updates.ChannelDifference](../types/updates.ChannelDifference.md) + + +### Example: + +```php +$updates.channelDifferenceTooLong = ['_' => 'updates.channelDifferenceTooLong', 'final' => Bool, 'pts' => int, 'timeout' => int, 'top_message' => int, 'top_important_message' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'unread_important_count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +updates.channelDifferenceTooLong={_='updates.channelDifferenceTooLong', final=Bool, pts=int, timeout=int, top_message=int, top_important_message=int, read_inbox_max_id=int, unread_count=int, unread_important_count=int, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v42/constructors/updates.difference.md b/old_docs/API_docs_v42/constructors/updates.difference.md new file mode 100644 index 00000000..82541b51 --- /dev/null +++ b/old_docs/API_docs_v42/constructors/updates.difference.md @@ -0,0 +1,43 @@ +--- +title: updates.difference +description: Full list of occurred events. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.difference +[Back to constructors index](index.md) + + + +Full list of occurred events. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| +|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| +|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| +|state|[updates.State](../constructors/updates.State.md) | Yes|Current state| + + + +### Type: [updates.Difference](../types/updates.Difference.md) + + +### Example: + +```php +$updates.difference = ['_' => 'updates.difference', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates.State]; +``` + + +Or, if you're into Lua: + +```lua +updates.difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates.State} + +``` + + diff --git a/old_docs/API_docs_v42/constructors/updates.differenceEmpty.md b/old_docs/API_docs_v42/constructors/updates.differenceEmpty.md new file mode 100644 index 00000000..a9dc3bd0 --- /dev/null +++ b/old_docs/API_docs_v42/constructors/updates.differenceEmpty.md @@ -0,0 +1,39 @@ +--- +title: updates.differenceEmpty +description: No events. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.differenceEmpty +[Back to constructors index](index.md) + + + +No events. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Current date| +|seq|[int](../types/int.md) | Yes|Number of sent updates| + + + +### Type: [updates.Difference](../types/updates.Difference.md) + + +### Example: + +```php +$updates.differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int]; +``` + + +Or, if you're into Lua: + +```lua +updates.differenceEmpty={_='updates.differenceEmpty', date=int, seq=int} + +``` + + diff --git a/old_docs/API_docs_v42/constructors/updates.differenceSlice.md b/old_docs/API_docs_v42/constructors/updates.differenceSlice.md new file mode 100644 index 00000000..9daf7a75 --- /dev/null +++ b/old_docs/API_docs_v42/constructors/updates.differenceSlice.md @@ -0,0 +1,43 @@ +--- +title: updates.differenceSlice +description: Incomplete list of occurred events. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.differenceSlice +[Back to constructors index](index.md) + + + +Incomplete list of occurred events. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| +|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| +|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| +|intermediate\_state|[updates.State](../constructors/updates.State.md) | Yes|Intermediary state| + + + +### Type: [updates.Difference](../types/updates.Difference.md) + + +### Example: + +```php +$updates.differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'intermediate_state' => updates.State]; +``` + + +Or, if you're into Lua: + +```lua +updates.differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates.State} + +``` + + diff --git a/old_docs/API_docs_v42/constructors/updates.state.md b/old_docs/API_docs_v42/constructors/updates.state.md new file mode 100644 index 00000000..abe9ddbb --- /dev/null +++ b/old_docs/API_docs_v42/constructors/updates.state.md @@ -0,0 +1,42 @@ +--- +title: updates.state +description: Updates state. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.state +[Back to constructors index](index.md) + + + +Updates state. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| +|qts|[int](../types/int.md) | Yes|Position in a sequence of updates in secret chats. For further detailes refer to article [secret chats](https://core.telegram.org/api/end-to-end)
Parameter was added in [eigth layer](https://core.telegram.org/api/layers#layer-8).| +|date|[int](../types/int.md) | Yes|Date of condition| +|seq|[int](../types/int.md) | Yes|Number of sent updates| +|unread\_count|[int](../types/int.md) | Yes|Number of unread messages| + + + +### Type: [updates.State](../types/updates.State.md) + + +### Example: + +```php +$updates.state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int]; +``` + + +Or, if you're into Lua: + +```lua +updates.state={_='updates.state', pts=int, qts=int, date=int, seq=int, unread_count=int} + +``` + + diff --git a/old_docs/API_docs_v42/constructors/updates_channelDifference.md b/old_docs/API_docs_v42/constructors/updates_channelDifference.md deleted file mode 100644 index 1b50fbf3..00000000 --- a/old_docs/API_docs_v42/constructors/updates_channelDifference.md +++ /dev/null @@ -1,44 +0,0 @@ ---- -title: updates.channelDifference -description: The new updates -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.channelDifference -[Back to constructors index](index.md) - - - -The new updates - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates to be fetched using getDifference, starting from the provided `pts`| -|pts|[int](../types/int.md) | Yes|The [PTS](https://core.telegram.org/api/updates) from which to start getting updates the next time| -|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| -|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| -|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) - - -### Example: - -```php -$updates_channelDifference = ['_' => 'updates.channelDifference', 'final' => Bool, 'pts' => int, 'timeout' => int, 'new_messages' => [Message, Message], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -updates_channelDifference={_='updates.channelDifference', final=Bool, pts=int, timeout=int, new_messages={Message}, other_updates={Update}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v42/constructors/updates_channelDifferenceEmpty.md b/old_docs/API_docs_v42/constructors/updates_channelDifferenceEmpty.md deleted file mode 100644 index 713137aa..00000000 --- a/old_docs/API_docs_v42/constructors/updates_channelDifferenceEmpty.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: updates.channelDifferenceEmpty -description: There are no new updates -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.channelDifferenceEmpty -[Back to constructors index](index.md) - - - -There are no new updates - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates that must be fetched (always false)| -|pts|[int](../types/int.md) | Yes|The latest [PTS](https://core.telegram.org/api/updates)| -|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| - - - -### Type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) - - -### Example: - -```php -$updates_channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'final' => Bool, 'pts' => int, 'timeout' => int]; -``` - - -Or, if you're into Lua: - -```lua -updates_channelDifferenceEmpty={_='updates.channelDifferenceEmpty', final=Bool, pts=int, timeout=int} - -``` - - diff --git a/old_docs/API_docs_v42/constructors/updates_channelDifferenceTooLong.md b/old_docs/API_docs_v42/constructors/updates_channelDifferenceTooLong.md deleted file mode 100644 index 08ddaa5b..00000000 --- a/old_docs/API_docs_v42/constructors/updates_channelDifferenceTooLong.md +++ /dev/null @@ -1,58 +0,0 @@ ---- -title: updates.channelDifferenceTooLong -description: The provided `pts + limit < remote pts`. Simply, there are too many updates to be fetched (more than `limit`), the client has to resolve the update gap in one of the following ways: - -1. Delete all known messages in the chat, begin from scratch by refetching all messages manually with [getHistory](../methods/messages.getHistory.md). It is easy to implement, but suddenly disappearing messages looks awful for the user. -2. Save all messages loaded in the memory until application restart, but delete all messages from database. Messages left in the memory must be lazily updated using calls to [getHistory](../methods/messages.getHistory.md). It looks much smoothly for the user, he will need to redownload messages only after client restart. Unsynchronized messages left in the memory shouldn't be saved to database, results of [getHistory](../methods/messages.getHistory.md) and [getMessages](../methods/messages.getMessages.md) must be used to update state of deleted and edited messages left in the memory. -3. Save all messages loaded in the memory and stored in the database without saving that some messages form continuous ranges. Messages in the database will be excluded from results of getChatHistory and searchChatMessages after application restart and will be available only through getMessage. Every message should still be checked using getHistory. It has more disadvantages over 2) than advantages. -4. Save all messages with saving all data about continuous message ranges. Messages from the database may be used as results of getChatHistory and (if implemented continuous ranges support for searching shared media) searchChatMessages. The messages should still be lazily checked using getHistory, but they are still available offline. It is the best way for gaps support, but it is pretty hard to implement correctly. It should be also noted that some messages like live location messages shouldn't be deleted. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.channelDifferenceTooLong -[Back to constructors index](index.md) - - - -The provided `pts + limit < remote pts`. Simply, there are too many updates to be fetched (more than `limit`), the client has to resolve the update gap in one of the following ways: - -1. Delete all known messages in the chat, begin from scratch by refetching all messages manually with [getHistory](../methods/messages.getHistory.md). It is easy to implement, but suddenly disappearing messages looks awful for the user. -2. Save all messages loaded in the memory until application restart, but delete all messages from database. Messages left in the memory must be lazily updated using calls to [getHistory](../methods/messages.getHistory.md). It looks much smoothly for the user, he will need to redownload messages only after client restart. Unsynchronized messages left in the memory shouldn't be saved to database, results of [getHistory](../methods/messages.getHistory.md) and [getMessages](../methods/messages.getMessages.md) must be used to update state of deleted and edited messages left in the memory. -3. Save all messages loaded in the memory and stored in the database without saving that some messages form continuous ranges. Messages in the database will be excluded from results of getChatHistory and searchChatMessages after application restart and will be available only through getMessage. Every message should still be checked using getHistory. It has more disadvantages over 2) than advantages. -4. Save all messages with saving all data about continuous message ranges. Messages from the database may be used as results of getChatHistory and (if implemented continuous ranges support for searching shared media) searchChatMessages. The messages should still be lazily checked using getHistory, but they are still available offline. It is the best way for gaps support, but it is pretty hard to implement correctly. It should be also noted that some messages like live location messages shouldn't be deleted. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates that must be fetched (always false)| -|pts|[int](../types/int.md) | Yes|Pts| -|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| -|top\_message|[int](../types/int.md) | Yes|Top message| -|top\_important\_message|[int](../types/int.md) | Yes|Top important message| -|read\_inbox\_max\_id|[int](../types/int.md) | Yes|Read inbox max ID| -|unread\_count|[int](../types/int.md) | Yes|Unread count| -|unread\_important\_count|[int](../types/int.md) | Yes|Unread important count| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) - - -### Example: - -```php -$updates_channelDifferenceTooLong = ['_' => 'updates.channelDifferenceTooLong', 'final' => Bool, 'pts' => int, 'timeout' => int, 'top_message' => int, 'top_important_message' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'unread_important_count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -updates_channelDifferenceTooLong={_='updates.channelDifferenceTooLong', final=Bool, pts=int, timeout=int, top_message=int, top_important_message=int, read_inbox_max_id=int, unread_count=int, unread_important_count=int, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v42/constructors/updates_difference.md b/old_docs/API_docs_v42/constructors/updates_difference.md deleted file mode 100644 index 71ac7d4c..00000000 --- a/old_docs/API_docs_v42/constructors/updates_difference.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: updates.difference -description: Full list of occurred events. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.difference -[Back to constructors index](index.md) - - - -Full list of occurred events. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| -|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| -|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| -|state|[updates\_State](../types/updates_State.md) | Yes|Current state| - - - -### Type: [updates\_Difference](../types/updates_Difference.md) - - -### Example: - -```php -$updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates_State]; -``` - - -Or, if you're into Lua: - -```lua -updates_difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates_State} - -``` - - diff --git a/old_docs/API_docs_v42/constructors/updates_differenceEmpty.md b/old_docs/API_docs_v42/constructors/updates_differenceEmpty.md deleted file mode 100644 index c3c95c5a..00000000 --- a/old_docs/API_docs_v42/constructors/updates_differenceEmpty.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: updates.differenceEmpty -description: No events. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.differenceEmpty -[Back to constructors index](index.md) - - - -No events. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Current date| -|seq|[int](../types/int.md) | Yes|Number of sent updates| - - - -### Type: [updates\_Difference](../types/updates_Difference.md) - - -### Example: - -```php -$updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int]; -``` - - -Or, if you're into Lua: - -```lua -updates_differenceEmpty={_='updates.differenceEmpty', date=int, seq=int} - -``` - - diff --git a/old_docs/API_docs_v42/constructors/updates_differenceSlice.md b/old_docs/API_docs_v42/constructors/updates_differenceSlice.md deleted file mode 100644 index 8b12a369..00000000 --- a/old_docs/API_docs_v42/constructors/updates_differenceSlice.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: updates.differenceSlice -description: Incomplete list of occurred events. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.differenceSlice -[Back to constructors index](index.md) - - - -Incomplete list of occurred events. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| -|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| -|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| -|intermediate\_state|[updates\_State](../types/updates_State.md) | Yes|Intermediary state| - - - -### Type: [updates\_Difference](../types/updates_Difference.md) - - -### Example: - -```php -$updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'intermediate_state' => updates_State]; -``` - - -Or, if you're into Lua: - -```lua -updates_differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates_State} - -``` - - diff --git a/old_docs/API_docs_v42/constructors/updates_state.md b/old_docs/API_docs_v42/constructors/updates_state.md deleted file mode 100644 index ef3698e2..00000000 --- a/old_docs/API_docs_v42/constructors/updates_state.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: updates.state -description: Updates state. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.state -[Back to constructors index](index.md) - - - -Updates state. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| -|qts|[int](../types/int.md) | Yes|Position in a sequence of updates in secret chats. For further detailes refer to article [secret chats](https://core.telegram.org/api/end-to-end)
Parameter was added in [eigth layer](https://core.telegram.org/api/layers#layer-8).| -|date|[int](../types/int.md) | Yes|Date of condition| -|seq|[int](../types/int.md) | Yes|Number of sent updates| -|unread\_count|[int](../types/int.md) | Yes|Number of unread messages| - - - -### Type: [updates\_State](../types/updates_State.md) - - -### Example: - -```php -$updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int]; -``` - - -Or, if you're into Lua: - -```lua -updates_state={_='updates.state', pts=int, qts=int, date=int, seq=int, unread_count=int} - -``` - - diff --git a/old_docs/API_docs_v42/constructors/upload.file.md b/old_docs/API_docs_v42/constructors/upload.file.md new file mode 100644 index 00000000..145a4c24 --- /dev/null +++ b/old_docs/API_docs_v42/constructors/upload.file.md @@ -0,0 +1,40 @@ +--- +title: upload.file +description: File content. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: upload.file +[Back to constructors index](index.md) + + + +File content. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|type|[storage.FileType](../constructors/storage.FileType.md) | Yes|File type| +|mtime|[int](../types/int.md) | Yes|Modification type| +|bytes|[bytes](../types/bytes.md) | Yes|Binary data, file content| + + + +### Type: [upload.File](../types/upload.File.md) + + +### Example: + +```php +$upload.file = ['_' => 'upload.file', 'type' => storage.FileType, 'mtime' => int, 'bytes' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +upload.file={_='upload.file', type=storage.FileType, mtime=int, bytes='bytes'} + +``` + + diff --git a/old_docs/API_docs_v42/constructors/upload_file.md b/old_docs/API_docs_v42/constructors/upload_file.md deleted file mode 100644 index 1e07d9fb..00000000 --- a/old_docs/API_docs_v42/constructors/upload_file.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: upload.file -description: File content. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: upload.file -[Back to constructors index](index.md) - - - -File content. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|type|[storage\_FileType](../types/storage_FileType.md) | Yes|File type| -|mtime|[int](../types/int.md) | Yes|Modification type| -|bytes|[bytes](../types/bytes.md) | Yes|Binary data, file content| - - - -### Type: [upload\_File](../types/upload_File.md) - - -### Example: - -```php -$upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int, 'bytes' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -upload_file={_='upload.file', type=storage_FileType, mtime=int, bytes='bytes'} - -``` - - diff --git a/old_docs/API_docs_v42/constructors/userFull.md b/old_docs/API_docs_v42/constructors/userFull.md index 67913fec..129a02d0 100644 --- a/old_docs/API_docs_v42/constructors/userFull.md +++ b/old_docs/API_docs_v42/constructors/userFull.md @@ -15,7 +15,7 @@ Extended user info | Name | Type | Required | Description | |----------|---------------|----------|-------------| |user|[User](../types/User.md) | Optional|Remaining user info| -|link|[contacts\_Link](../types/contacts_Link.md) | Yes|Link| +|link|[contacts.Link](../constructors/contacts.Link.md) | Yes|Link| |profile\_photo|[Photo](../types/Photo.md) | Optional|Profile photo| |notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Optional|Notification settings| |blocked|[Bool](../types/Bool.md) | Yes|Blocked?| @@ -29,14 +29,14 @@ Extended user info ### Example: ```php -$userFull = ['_' => 'userFull', 'user' => User, 'link' => contacts_Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'blocked' => Bool, 'bot_info' => BotInfo]; +$userFull = ['_' => 'userFull', 'user' => User, 'link' => contacts.Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'blocked' => Bool, 'bot_info' => BotInfo]; ``` Or, if you're into Lua: ```lua -userFull={_='userFull', user=User, link=contacts_Link, profile_photo=Photo, notify_settings=PeerNotifySettings, blocked=Bool, bot_info=BotInfo} +userFull={_='userFull', user=User, link=contacts.Link, profile_photo=Photo, notify_settings=PeerNotifySettings, blocked=Bool, bot_info=BotInfo} ``` diff --git a/old_docs/API_docs_v42/methods/account.getAuthorizations.md b/old_docs/API_docs_v42/methods/account.getAuthorizations.md index f69c130a..fad3a7ae 100644 --- a/old_docs/API_docs_v42/methods/account.getAuthorizations.md +++ b/old_docs/API_docs_v42/methods/account.getAuthorizations.md @@ -11,7 +11,7 @@ Get logged-in sessions -### Return type: [account\_Authorizations](../types/account_Authorizations.md) +### Return type: [account.Authorizations](../types/account.Authorizations.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_Authorizations = $MadelineProto->account->getAuthorizations(); +$account.Authorizations = $MadelineProto->account->getAuthorizations(); ``` Or, if you're into Lua: ```lua -account_Authorizations = account.getAuthorizations({}) +account.Authorizations = account.getAuthorizations({}) ``` diff --git a/old_docs/API_docs_v42/methods/account.getPassword.md b/old_docs/API_docs_v42/methods/account.getPassword.md index eed4aee3..621271b6 100644 --- a/old_docs/API_docs_v42/methods/account.getPassword.md +++ b/old_docs/API_docs_v42/methods/account.getPassword.md @@ -11,7 +11,7 @@ Obtain configuration for two-factor authorization with password -### Return type: [account\_Password](../types/account_Password.md) +### Return type: [account.Password](../types/account.Password.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_Password = $MadelineProto->account->getPassword(); +$account.Password = $MadelineProto->account->getPassword(); ``` Or, if you're into Lua: ```lua -account_Password = account.getPassword({}) +account.Password = account.getPassword({}) ``` diff --git a/old_docs/API_docs_v42/methods/account.getPasswordSettings.md b/old_docs/API_docs_v42/methods/account.getPasswordSettings.md index dcdae61a..3d3cce08 100644 --- a/old_docs/API_docs_v42/methods/account.getPasswordSettings.md +++ b/old_docs/API_docs_v42/methods/account.getPasswordSettings.md @@ -16,7 +16,7 @@ You cannot use this method directly; use $MadelineProto->update_2fa($params), in |current\_password\_hash|[bytes](../types/bytes.md) | You cannot use this method directly; use $MadelineProto->update_2fa($params), instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [account\_PasswordSettings](../types/account_PasswordSettings.md) +### Return type: [account.PasswordSettings](../types/account.PasswordSettings.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_PasswordSettings = $MadelineProto->account->getPasswordSettings(['current_password_hash' => 'bytes', ]); +$account.PasswordSettings = $MadelineProto->account->getPasswordSettings(['current_password_hash' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -account_PasswordSettings = account.getPasswordSettings({current_password_hash='bytes', }) +account.PasswordSettings = account.getPasswordSettings({current_password_hash='bytes', }) ``` ### Errors diff --git a/old_docs/API_docs_v42/methods/account.getPrivacy.md b/old_docs/API_docs_v42/methods/account.getPrivacy.md index 6a240129..e20c292c 100644 --- a/old_docs/API_docs_v42/methods/account.getPrivacy.md +++ b/old_docs/API_docs_v42/methods/account.getPrivacy.md @@ -16,7 +16,7 @@ Get privacy settings of current account |key|[InputPrivacyKey](../types/InputPrivacyKey.md) | Peer category whose privacy settings should be fetched | Yes| -### Return type: [account\_PrivacyRules](../types/account_PrivacyRules.md) +### Return type: [account.PrivacyRules](../types/account.PrivacyRules.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_PrivacyRules = $MadelineProto->account->getPrivacy(['key' => InputPrivacyKey, ]); +$account.PrivacyRules = $MadelineProto->account->getPrivacy(['key' => InputPrivacyKey, ]); ``` Or, if you're into Lua: ```lua -account_PrivacyRules = account.getPrivacy({key=InputPrivacyKey, }) +account.PrivacyRules = account.getPrivacy({key=InputPrivacyKey, }) ``` ### Errors diff --git a/old_docs/API_docs_v42/methods/account.sendChangePhoneCode.md b/old_docs/API_docs_v42/methods/account.sendChangePhoneCode.md index 169fa15b..e70372de 100644 --- a/old_docs/API_docs_v42/methods/account.sendChangePhoneCode.md +++ b/old_docs/API_docs_v42/methods/account.sendChangePhoneCode.md @@ -16,7 +16,7 @@ Verify a new phone number to associate to the current account |phone\_number|[string](../types/string.md) | New phone number | Yes| -### Return type: [account\_SentChangePhoneCode](../types/account_SentChangePhoneCode.md) +### Return type: [account.SentChangePhoneCode](../types/account.SentChangePhoneCode.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_SentChangePhoneCode = $MadelineProto->account->sendChangePhoneCode(['phone_number' => 'string', ]); +$account.SentChangePhoneCode = $MadelineProto->account->sendChangePhoneCode(['phone_number' => 'string', ]); ``` Or, if you're into Lua: ```lua -account_SentChangePhoneCode = account.sendChangePhoneCode({phone_number='string', }) +account.SentChangePhoneCode = account.sendChangePhoneCode({phone_number='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v42/methods/account.setPrivacy.md b/old_docs/API_docs_v42/methods/account.setPrivacy.md index 7c4cfba7..096d373e 100644 --- a/old_docs/API_docs_v42/methods/account.setPrivacy.md +++ b/old_docs/API_docs_v42/methods/account.setPrivacy.md @@ -17,7 +17,7 @@ Change privacy settings of current account |rules|Array of [InputPrivacyRule](../types/InputPrivacyRule.md) | Privacy settings | Yes| -### Return type: [account\_PrivacyRules](../types/account_PrivacyRules.md) +### Return type: [account.PrivacyRules](../types/account.PrivacyRules.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_PrivacyRules = $MadelineProto->account->setPrivacy(['key' => InputPrivacyKey, 'rules' => [InputPrivacyRule, InputPrivacyRule], ]); +$account.PrivacyRules = $MadelineProto->account->setPrivacy(['key' => InputPrivacyKey, 'rules' => [InputPrivacyRule, InputPrivacyRule], ]); ``` Or, if you're into Lua: ```lua -account_PrivacyRules = account.setPrivacy({key=InputPrivacyKey, rules={InputPrivacyRule}, }) +account.PrivacyRules = account.setPrivacy({key=InputPrivacyKey, rules={InputPrivacyRule}, }) ``` ### Errors diff --git a/old_docs/API_docs_v42/methods/api_README.md b/old_docs/API_docs_v42/methods/api_README.md index fa516241..8a0f0b0f 100644 --- a/old_docs/API_docs_v42/methods/api_README.md +++ b/old_docs/API_docs_v42/methods/api_README.md @@ -52,7 +52,7 @@ $MadelineProto->[account->getAccountTTL](account.getAccountTTL.md)(\[\]) === [$A ***

-$MadelineProto->[account->getAuthorizations](account.getAuthorizations.md)(\[\]) === [$account\_Authorizations](../types/account_Authorizations.md) +$MadelineProto->[account->getAuthorizations](account.getAuthorizations.md)(\[\]) === [$account.Authorizations](../types/account.Authorizations.md) ***

@@ -60,15 +60,15 @@ $MadelineProto->[account->getNotifySettings](account.getNotifySettings.md)(\['pe ***

-$MadelineProto->[account->getPassword](account.getPassword.md)(\[\]) === [$account\_Password](../types/account_Password.md) +$MadelineProto->[account->getPassword](account.getPassword.md)(\[\]) === [$account.Password](../types/account.Password.md) ***

-$MadelineProto->[account->getPasswordSettings](account.getPasswordSettings.md)(\['current_password_hash' => [bytes](../types/bytes.md), \]) === [$account\_PasswordSettings](../types/account_PasswordSettings.md) +$MadelineProto->[account->getPasswordSettings](account.getPasswordSettings.md)(\['current_password_hash' => [bytes](../types/bytes.md), \]) === [$account.PasswordSettings](../types/account.PasswordSettings.md) ***

-$MadelineProto->[account->getPrivacy](account.getPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), \]) === [$account\_PrivacyRules](../types/account_PrivacyRules.md) +$MadelineProto->[account->getPrivacy](account.getPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), \]) === [$account.PrivacyRules](../types/account.PrivacyRules.md) ***

@@ -88,7 +88,7 @@ $MadelineProto->[account->resetNotifySettings](account.resetNotifySettings.md)(\ ***

-$MadelineProto->[account->sendChangePhoneCode](account.sendChangePhoneCode.md)(\['phone_number' => [string](../types/string.md), \]) === [$account\_SentChangePhoneCode](../types/account_SentChangePhoneCode.md) +$MadelineProto->[account->sendChangePhoneCode](account.sendChangePhoneCode.md)(\['phone_number' => [string](../types/string.md), \]) === [$account.SentChangePhoneCode](../types/account.SentChangePhoneCode.md) ***

@@ -96,7 +96,7 @@ $MadelineProto->[account->setAccountTTL](account.setAccountTTL.md)(\['ttl' => [A ***

-$MadelineProto->[account->setPrivacy](account.setPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), 'rules' => \[[InputPrivacyRule](../types/InputPrivacyRule.md)\], \]) === [$account\_PrivacyRules](../types/account_PrivacyRules.md) +$MadelineProto->[account->setPrivacy](account.setPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), 'rules' => \[[InputPrivacyRule](../types/InputPrivacyRule.md)\], \]) === [$account.PrivacyRules](../types/account.PrivacyRules.md) ***

@@ -132,23 +132,23 @@ $MadelineProto->[auth->bindTempAuthKey](auth.bindTempAuthKey.md)(\['perm_auth_ke ***

-$MadelineProto->[auth->checkPassword](auth.checkPassword.md)(\['password_hash' => [bytes](../types/bytes.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->checkPassword](auth.checkPassword.md)(\['password_hash' => [bytes](../types/bytes.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

-$MadelineProto->[auth->checkPhone](auth.checkPhone.md)(\['phone_number' => [string](../types/string.md), \]) === [$auth\_CheckedPhone](../types/auth_CheckedPhone.md) +$MadelineProto->[auth->checkPhone](auth.checkPhone.md)(\['phone_number' => [string](../types/string.md), \]) === [$auth.CheckedPhone](../types/auth.CheckedPhone.md) ***

-$MadelineProto->[auth->exportAuthorization](auth.exportAuthorization.md)(\['dc_id' => [int](../types/int.md), \]) === [$auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) +$MadelineProto->[auth->exportAuthorization](auth.exportAuthorization.md)(\['dc_id' => [int](../types/int.md), \]) === [$auth.ExportedAuthorization](../types/auth.ExportedAuthorization.md) ***

-$MadelineProto->[auth->importAuthorization](auth.importAuthorization.md)(\['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->importAuthorization](auth.importAuthorization.md)(\['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

-$MadelineProto->[auth->importBotAuthorization](auth.importBotAuthorization.md)(\['api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), 'bot_auth_token' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->importBotAuthorization](auth.importBotAuthorization.md)(\['api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), 'bot_auth_token' => [string](../types/string.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

@@ -156,11 +156,11 @@ $MadelineProto->[auth->logOut](auth.logOut.md)(\[\]) === [$Bool](../types/Bool.m ***

-$MadelineProto->[auth->recoverPassword](auth.recoverPassword.md)(\['code' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->recoverPassword](auth.recoverPassword.md)(\['code' => [string](../types/string.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

-$MadelineProto->[auth->requestPasswordRecovery](auth.requestPasswordRecovery.md)(\[\]) === [$auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) +$MadelineProto->[auth->requestPasswordRecovery](auth.requestPasswordRecovery.md)(\[\]) === [$auth.PasswordRecovery](../types/auth.PasswordRecovery.md) ***

@@ -172,7 +172,7 @@ $MadelineProto->[auth->sendCall](auth.sendCall.md)(\['phone_number' => [string]( ***

-$MadelineProto->[auth->sendCode](auth.sendCode.md)(\['phone_number' => [string](../types/string.md), 'sms_type' => [int](../types/int.md), 'api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) === [$auth\_SentCode](../types/auth_SentCode.md) +$MadelineProto->[auth->sendCode](auth.sendCode.md)(\['phone_number' => [string](../types/string.md), 'sms_type' => [int](../types/int.md), 'api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) === [$auth.SentCode](../types/auth.SentCode.md) ***

@@ -184,11 +184,11 @@ $MadelineProto->[auth->sendSms](auth.sendSms.md)(\['phone_number' => [string](.. ***

-$MadelineProto->[auth->signIn](auth.signIn.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->signIn](auth.signIn.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

-$MadelineProto->[auth->signUp](auth.signUp.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->signUp](auth.signUp.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

@@ -204,11 +204,11 @@ $MadelineProto->[channels->deleteChannel](channels.deleteChannel.md)(\['channel' ***

-$MadelineProto->[channels->deleteMessages](channels.deleteMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) +$MadelineProto->[channels->deleteMessages](channels.deleteMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages.AffectedMessages](../types/messages.AffectedMessages.md) ***

-$MadelineProto->[channels->deleteUserHistory](channels.deleteUserHistory.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages\_AffectedHistory](../types/messages_AffectedHistory.md) +$MadelineProto->[channels->deleteUserHistory](channels.deleteUserHistory.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages.AffectedHistory](../types/messages.AffectedHistory.md) ***

@@ -232,31 +232,31 @@ $MadelineProto->[channels->exportInvite](channels.exportInvite.md)(\['channel' = ***

-$MadelineProto->[channels->getChannels](channels.getChannels.md)(\['id' => \[[InputChannel](../types/InputChannel.md)\], \]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[channels->getChannels](channels.getChannels.md)(\['id' => \[[InputChannel](../types/InputChannel.md)\], \]) === [$messages.Chats](../types/messages.Chats.md) ***

-$MadelineProto->[channels->getDialogs](channels.getDialogs.md)(\['offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages\_Dialogs](../types/messages_Dialogs.md) +$MadelineProto->[channels->getDialogs](channels.getDialogs.md)(\['offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages.Dialogs](../types/messages.Dialogs.md) ***

-$MadelineProto->[channels->getFullChannel](channels.getFullChannel.md)(\['channel' => [InputChannel](../types/InputChannel.md), \]) === [$messages\_ChatFull](../types/messages_ChatFull.md) +$MadelineProto->[channels->getFullChannel](channels.getFullChannel.md)(\['channel' => [InputChannel](../types/InputChannel.md), \]) === [$messages.ChatFull](../types/messages.ChatFull.md) ***

-$MadelineProto->[channels->getImportantHistory](channels.getImportantHistory.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'offset_id' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[channels->getImportantHistory](channels.getImportantHistory.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'offset_id' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[channels->getMessages](channels.getMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[channels->getMessages](channels.getMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[channels->getParticipant](channels.getParticipant.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$channels\_ChannelParticipant](../types/channels_ChannelParticipant.md) +$MadelineProto->[channels->getParticipant](channels.getParticipant.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$channels.ChannelParticipant](../types/channels.ChannelParticipant.md) ***

-$MadelineProto->[channels->getParticipants](channels.getParticipants.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$channels\_ChannelParticipants](../types/channels_ChannelParticipants.md) +$MadelineProto->[channels->getParticipants](channels.getParticipants.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$channels.ChannelParticipants](../types/channels.ChannelParticipants.md) ***

@@ -296,7 +296,7 @@ $MadelineProto->[contacts->block](contacts.block.md)(\['id' => [InputUser](../ty ***

-$MadelineProto->[contacts->deleteContact](contacts.deleteContact.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$contacts\_Link](../types/contacts_Link.md) +$MadelineProto->[contacts->deleteContact](contacts.deleteContact.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$contacts.Link](../types/contacts.Link.md) ***

@@ -308,11 +308,11 @@ $MadelineProto->[contacts->exportCard](contacts.exportCard.md)(\[\]) === [$Vecto ***

-$MadelineProto->[contacts->getBlocked](contacts.getBlocked.md)(\['offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$contacts\_Blocked](../types/contacts_Blocked.md) +$MadelineProto->[contacts->getBlocked](contacts.getBlocked.md)(\['offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$contacts.Blocked](../types/contacts.Blocked.md) ***

-$MadelineProto->[contacts->getContacts](contacts.getContacts.md)(\['hash' => [string](../types/string.md), \]) === [$contacts\_Contacts](../types/contacts_Contacts.md) +$MadelineProto->[contacts->getContacts](contacts.getContacts.md)(\['hash' => [string](../types/string.md), \]) === [$contacts.Contacts](../types/contacts.Contacts.md) ***

@@ -320,7 +320,7 @@ $MadelineProto->[contacts->getStatuses](contacts.getStatuses.md)(\[\]) === [$Vec ***

-$MadelineProto->[contacts->getSuggested](contacts.getSuggested.md)(\['limit' => [int](../types/int.md), \]) === [$contacts\_Suggested](../types/contacts_Suggested.md) +$MadelineProto->[contacts->getSuggested](contacts.getSuggested.md)(\['limit' => [int](../types/int.md), \]) === [$contacts.Suggested](../types/contacts.Suggested.md) ***

@@ -328,15 +328,15 @@ $MadelineProto->[contacts->importCard](contacts.importCard.md)(\['export_card' = ***

-$MadelineProto->[contacts->importContacts](contacts.importContacts.md)(\['contacts' => \[[InputContact](../types/InputContact.md)\], 'replace' => [Bool](../types/Bool.md), \]) === [$contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) +$MadelineProto->[contacts->importContacts](contacts.importContacts.md)(\['contacts' => \[[InputContact](../types/InputContact.md)\], 'replace' => [Bool](../types/Bool.md), \]) === [$contacts.ImportedContacts](../types/contacts.ImportedContacts.md) ***

-$MadelineProto->[contacts->resolveUsername](contacts.resolveUsername.md)(\['username' => [string](../types/string.md), \]) === [$contacts\_ResolvedPeer](../types/contacts_ResolvedPeer.md) +$MadelineProto->[contacts->resolveUsername](contacts.resolveUsername.md)(\['username' => [string](../types/string.md), \]) === [$contacts.ResolvedPeer](../types/contacts.ResolvedPeer.md) ***

-$MadelineProto->[contacts->search](contacts.search.md)(\['q' => [string](../types/string.md), 'limit' => [int](../types/int.md), \]) === [$contacts\_Found](../types/contacts_Found.md) +$MadelineProto->[contacts->search](contacts.search.md)(\['q' => [string](../types/string.md), 'limit' => [int](../types/int.md), \]) === [$contacts.Found](../types/contacts.Found.md) ***

@@ -344,11 +344,11 @@ $MadelineProto->[contacts->unblock](contacts.unblock.md)(\['id' => [InputUser](. ***

-$MadelineProto->[help->getAppChangelog](help.getAppChangelog.md)(\['device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) === [$help\_AppChangelog](../types/help_AppChangelog.md) +$MadelineProto->[help->getAppChangelog](help.getAppChangelog.md)(\['device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) === [$help.AppChangelog](../types/help.AppChangelog.md) ***

-$MadelineProto->[help->getAppUpdate](help.getAppUpdate.md)(\['device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) === [$help\_AppUpdate](../types/help_AppUpdate.md) +$MadelineProto->[help->getAppUpdate](help.getAppUpdate.md)(\['device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) === [$help.AppUpdate](../types/help.AppUpdate.md) ***

@@ -356,7 +356,7 @@ $MadelineProto->[help->getConfig](help.getConfig.md)(\[\]) === [$Config](../type ***

-$MadelineProto->[help->getInviteText](help.getInviteText.md)(\['lang_code' => [string](../types/string.md), \]) === [$help\_InviteText](../types/help_InviteText.md) +$MadelineProto->[help->getInviteText](help.getInviteText.md)(\['lang_code' => [string](../types/string.md), \]) === [$help.InviteText](../types/help.InviteText.md) ***

@@ -364,7 +364,7 @@ $MadelineProto->[help->getNearestDc](help.getNearestDc.md)(\[\]) === [$NearestDc ***

-$MadelineProto->[help->getSupport](help.getSupport.md)(\[\]) === [$help\_Support](../types/help_Support.md) +$MadelineProto->[help->getSupport](help.getSupport.md)(\[\]) === [$help.Support](../types/help.Support.md) ***

@@ -412,11 +412,11 @@ $MadelineProto->[messages->deleteChatUser](messages.deleteChatUser.md)(\['chat_i ***

-$MadelineProto->[messages->deleteHistory](messages.deleteHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), \]) === [$messages\_AffectedHistory](../types/messages_AffectedHistory.md) +$MadelineProto->[messages->deleteHistory](messages.deleteHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), \]) === [$messages.AffectedHistory](../types/messages.AffectedHistory.md) ***

-$MadelineProto->[messages->deleteMessages](messages.deleteMessages.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) +$MadelineProto->[messages->deleteMessages](messages.deleteMessages.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages.AffectedMessages](../types/messages.AffectedMessages.md) ***

@@ -448,31 +448,31 @@ $MadelineProto->[messages->forwardMessages](messages.forwardMessages.md)(\['broa ***

-$MadelineProto->[messages->getAllStickers](messages.getAllStickers.md)(\['hash' => [string](../types/string.md), \]) === [$messages\_AllStickers](../types/messages_AllStickers.md) +$MadelineProto->[messages->getAllStickers](messages.getAllStickers.md)(\['hash' => [string](../types/string.md), \]) === [$messages.AllStickers](../types/messages.AllStickers.md) ***

-$MadelineProto->[messages->getChats](messages.getChats.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[messages->getChats](messages.getChats.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages.Chats](../types/messages.Chats.md) ***

-$MadelineProto->[messages->getDhConfig](messages.getDhConfig.md)(\['version' => [int](../types/int.md), 'random_length' => [int](../types/int.md), \]) === [$messages\_DhConfig](../types/messages_DhConfig.md) +$MadelineProto->[messages->getDhConfig](messages.getDhConfig.md)(\['version' => [int](../types/int.md), 'random_length' => [int](../types/int.md), \]) === [$messages.DhConfig](../types/messages.DhConfig.md) ***

-$MadelineProto->[messages->getDialogs](messages.getDialogs.md)(\['offset_date' => [int](../types/int.md), 'offset_id' => [int](../types/int.md), 'offset_peer' => [InputPeer](../types/InputPeer.md), 'limit' => [int](../types/int.md), \]) === [$messages\_Dialogs](../types/messages_Dialogs.md) +$MadelineProto->[messages->getDialogs](messages.getDialogs.md)(\['offset_date' => [int](../types/int.md), 'offset_id' => [int](../types/int.md), 'offset_peer' => [InputPeer](../types/InputPeer.md), 'limit' => [int](../types/int.md), \]) === [$messages.Dialogs](../types/messages.Dialogs.md) ***

-$MadelineProto->[messages->getFullChat](messages.getFullChat.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), \]) === [$messages\_ChatFull](../types/messages_ChatFull.md) +$MadelineProto->[messages->getFullChat](messages.getFullChat.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), \]) === [$messages.ChatFull](../types/messages.ChatFull.md) ***

-$MadelineProto->[messages->getHistory](messages.getHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->getHistory](messages.getHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[messages->getMessages](messages.getMessages.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->getMessages](messages.getMessages.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages.Messages](../types/messages.Messages.md) ***

@@ -480,11 +480,11 @@ $MadelineProto->[messages->getMessagesViews](messages.getMessagesViews.md)(\['pe ***

-$MadelineProto->[messages->getStickerSet](messages.getStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), \]) === [$messages\_StickerSet](../types/messages_StickerSet.md) +$MadelineProto->[messages->getStickerSet](messages.getStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), \]) === [$messages.StickerSet](../types/messages.StickerSet.md) ***

-$MadelineProto->[messages->getStickers](messages.getStickers.md)(\['emoticon' => [string](../types/string.md), 'hash' => [string](../types/string.md), \]) === [$messages\_Stickers](../types/messages_Stickers.md) +$MadelineProto->[messages->getStickers](messages.getStickers.md)(\['emoticon' => [string](../types/string.md), 'hash' => [string](../types/string.md), \]) === [$messages.Stickers](../types/messages.Stickers.md) ***

@@ -508,11 +508,11 @@ $MadelineProto->[messages->readEncryptedHistory](messages.readEncryptedHistory.m ***

-$MadelineProto->[messages->readHistory](messages.readHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), \]) === [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) +$MadelineProto->[messages->readHistory](messages.readHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), \]) === [$messages.AffectedMessages](../types/messages.AffectedMessages.md) ***

-$MadelineProto->[messages->readMessageContents](messages.readMessageContents.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) +$MadelineProto->[messages->readMessageContents](messages.readMessageContents.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages.AffectedMessages](../types/messages.AffectedMessages.md) ***

@@ -532,11 +532,11 @@ $MadelineProto->[messages->requestEncryption](messages.requestEncryption.md)(\[' ***

-$MadelineProto->[messages->search](messages.search.md)(\['important_only' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'q' => [string](../types/string.md), 'filter' => [MessagesFilter](../types/MessagesFilter.md), 'min_date' => [int](../types/int.md), 'max_date' => [int](../types/int.md), 'offset' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->search](messages.search.md)(\['important_only' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'q' => [string](../types/string.md), 'filter' => [MessagesFilter](../types/MessagesFilter.md), 'min_date' => [int](../types/int.md), 'max_date' => [int](../types/int.md), 'offset' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[messages->searchGlobal](messages.searchGlobal.md)(\['q' => [string](../types/string.md), 'offset_date' => [int](../types/int.md), 'offset_peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->searchGlobal](messages.searchGlobal.md)(\['q' => [string](../types/string.md), 'offset_date' => [int](../types/int.md), 'offset_peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

@@ -544,15 +544,15 @@ $MadelineProto->[messages->sendBroadcast](messages.sendBroadcast.md)(\['contacts ***

-$MadelineProto->[messages->sendEncrypted](messages.sendEncrypted.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'message' => [DecryptedMessage](../types/DecryptedMessage.md), \]) === [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +$MadelineProto->[messages->sendEncrypted](messages.sendEncrypted.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), \]) === [$messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ***

-$MadelineProto->[messages->sendEncryptedFile](messages.sendEncryptedFile.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'message' => [DecryptedMessage](../types/DecryptedMessage.md), 'file' => [InputEncryptedFile](../types/InputEncryptedFile.md), \]) === [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +$MadelineProto->[messages->sendEncryptedFile](messages.sendEncryptedFile.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), 'file' => [InputEncryptedFile](../types/InputEncryptedFile.md), \]) === [$messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ***

-$MadelineProto->[messages->sendEncryptedService](messages.sendEncryptedService.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'message' => [DecryptedMessage](../types/DecryptedMessage.md), \]) === [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +$MadelineProto->[messages->sendEncryptedService](messages.sendEncryptedService.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), \]) === [$messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ***

@@ -588,7 +588,7 @@ $MadelineProto->[photos->deletePhotos](photos.deletePhotos.md)(\['id' => \[[Inpu ***

-$MadelineProto->[photos->getUserPhotos](photos.getUserPhotos.md)(\['user_id' => [InputUser](../types/InputUser.md), 'offset' => [int](../types/int.md), 'max_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$photos\_Photos](../types/photos_Photos.md) +$MadelineProto->[photos->getUserPhotos](photos.getUserPhotos.md)(\['user_id' => [InputUser](../types/InputUser.md), 'offset' => [int](../types/int.md), 'max_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$photos.Photos](../types/photos.Photos.md) ***

@@ -596,23 +596,23 @@ $MadelineProto->[photos->updateProfilePhoto](photos.updateProfilePhoto.md)(\['id ***

-$MadelineProto->[photos->uploadProfilePhoto](photos.uploadProfilePhoto.md)(\['file' => [InputFile](../types/InputFile.md), 'caption' => [string](../types/string.md), 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'crop' => [InputPhotoCrop](../types/InputPhotoCrop.md), \]) === [$photos\_Photo](../types/photos_Photo.md) +$MadelineProto->[photos->uploadProfilePhoto](photos.uploadProfilePhoto.md)(\['file' => [InputFile](../types/InputFile.md), 'caption' => [string](../types/string.md), 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'crop' => [InputPhotoCrop](../types/InputPhotoCrop.md), \]) === [$photos.Photo](../types/photos.Photo.md) ***

-$MadelineProto->[updates->getChannelDifference](updates.getChannelDifference.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$updates\_ChannelDifference](../types/updates_ChannelDifference.md) +$MadelineProto->[updates->getChannelDifference](updates.getChannelDifference.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$updates.ChannelDifference](../types/updates.ChannelDifference.md) ***

-$MadelineProto->[updates->getDifference](updates.getDifference.md)(\['pts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) === [$updates\_Difference](../types/updates_Difference.md) +$MadelineProto->[updates->getDifference](updates.getDifference.md)(\['pts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) === [$updates.Difference](../types/updates.Difference.md) ***

-$MadelineProto->[updates->getState](updates.getState.md)(\[\]) === [$updates\_State](../types/updates_State.md) +$MadelineProto->[updates->getState](updates.getState.md)(\[\]) === [$updates.State](../types/updates.State.md) ***

-$MadelineProto->[upload->getFile](upload.getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_File](../types/upload_File.md) +$MadelineProto->[upload->getFile](upload.getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload.File](../types/upload.File.md) ***

diff --git a/old_docs/API_docs_v42/methods/auth.checkPassword.md b/old_docs/API_docs_v42/methods/auth.checkPassword.md index db65cb56..eeeed171 100644 --- a/old_docs/API_docs_v42/methods/auth.checkPassword.md +++ b/old_docs/API_docs_v42/methods/auth.checkPassword.md @@ -16,7 +16,7 @@ You cannot use this method directly, use the complete_2fa_login method instead ( |password\_hash|[bytes](../types/bytes.md) | You cannot use this method directly, use the complete_2fa_login method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->checkPassword(['password_hash' => 'bytes', ]); +$auth.Authorization = $MadelineProto->auth->checkPassword(['password_hash' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.checkPassword({password_hash='bytes', }) +auth.Authorization = auth.checkPassword({password_hash='bytes', }) ``` ### Errors diff --git a/old_docs/API_docs_v42/methods/auth.checkPhone.md b/old_docs/API_docs_v42/methods/auth.checkPhone.md index 227358cb..51d4cba6 100644 --- a/old_docs/API_docs_v42/methods/auth.checkPhone.md +++ b/old_docs/API_docs_v42/methods/auth.checkPhone.md @@ -16,7 +16,7 @@ Check if this phone number is registered on telegram |phone\_number|[string](../types/string.md) | The phone number to check | Yes| -### Return type: [auth\_CheckedPhone](../types/auth_CheckedPhone.md) +### Return type: [auth.CheckedPhone](../types/auth.CheckedPhone.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => 'string', ]); +$auth.CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_CheckedPhone = auth.checkPhone({phone_number='string', }) +auth.CheckedPhone = auth.checkPhone({phone_number='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v42/methods/auth.exportAuthorization.md b/old_docs/API_docs_v42/methods/auth.exportAuthorization.md index 72063a2b..41a1f87d 100644 --- a/old_docs/API_docs_v42/methods/auth.exportAuthorization.md +++ b/old_docs/API_docs_v42/methods/auth.exportAuthorization.md @@ -16,7 +16,7 @@ You cannot use this method directly, use $MadelineProto->exportAuthorization() i |dc\_id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| -### Return type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) +### Return type: [auth.ExportedAuthorization](../types/auth.ExportedAuthorization.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_ExportedAuthorization = $MadelineProto->auth->exportAuthorization(['dc_id' => int, ]); +$auth.ExportedAuthorization = $MadelineProto->auth->exportAuthorization(['dc_id' => int, ]); ``` Or, if you're into Lua: ```lua -auth_ExportedAuthorization = auth.exportAuthorization({dc_id=int, }) +auth.ExportedAuthorization = auth.exportAuthorization({dc_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v42/methods/auth.importAuthorization.md b/old_docs/API_docs_v42/methods/auth.importAuthorization.md index d9c13751..5257e0b0 100644 --- a/old_docs/API_docs_v42/methods/auth.importAuthorization.md +++ b/old_docs/API_docs_v42/methods/auth.importAuthorization.md @@ -17,7 +17,7 @@ You cannot use this method directly, use $MadelineProto->importAuthorization($au |bytes|[bytes](../types/bytes.md) | You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => 'bytes', ]); +$auth.Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.importAuthorization({id=int, bytes='bytes', }) +auth.Authorization = auth.importAuthorization({id=int, bytes='bytes', }) ``` ### Errors diff --git a/old_docs/API_docs_v42/methods/auth.importBotAuthorization.md b/old_docs/API_docs_v42/methods/auth.importBotAuthorization.md index 3161d6be..a4ea8027 100644 --- a/old_docs/API_docs_v42/methods/auth.importBotAuthorization.md +++ b/old_docs/API_docs_v42/methods/auth.importBotAuthorization.md @@ -18,7 +18,7 @@ You cannot use this method directly, use the botLogin method instead (see https: |bot\_auth\_token|[string](../types/string.md) | You cannot use this method directly, use the botLogin method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **YES** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->importBotAuthorization(['api_id' => int, 'api_hash' => 'string', 'bot_auth_token' => 'string', ]); +$auth.Authorization = $MadelineProto->auth->importBotAuthorization(['api_id' => int, 'api_hash' => 'string', 'bot_auth_token' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.importBotAuthorization({api_id=int, api_hash='string', bot_auth_token='string', }) +auth.Authorization = auth.importBotAuthorization({api_id=int, api_hash='string', bot_auth_token='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v42/methods/auth.recoverPassword.md b/old_docs/API_docs_v42/methods/auth.recoverPassword.md index f7cbf4a4..2e78444b 100644 --- a/old_docs/API_docs_v42/methods/auth.recoverPassword.md +++ b/old_docs/API_docs_v42/methods/auth.recoverPassword.md @@ -16,7 +16,7 @@ Reset the [2FA password](https://core.telegram.org/api/srp) using the recovery c |code|[string](../types/string.md) | Code received via email | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->recoverPassword(['code' => 'string', ]); +$auth.Authorization = $MadelineProto->auth->recoverPassword(['code' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.recoverPassword({code='string', }) +auth.Authorization = auth.recoverPassword({code='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v42/methods/auth.requestPasswordRecovery.md b/old_docs/API_docs_v42/methods/auth.requestPasswordRecovery.md index 5cd77936..ff1ecc02 100644 --- a/old_docs/API_docs_v42/methods/auth.requestPasswordRecovery.md +++ b/old_docs/API_docs_v42/methods/auth.requestPasswordRecovery.md @@ -11,7 +11,7 @@ Request recovery code of a [2FA password](https://core.telegram.org/api/srp), on -### Return type: [auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) +### Return type: [auth.PasswordRecovery](../types/auth.PasswordRecovery.md) ### Can bots use this method: **NO** @@ -28,13 +28,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_PasswordRecovery = $MadelineProto->auth->requestPasswordRecovery(); +$auth.PasswordRecovery = $MadelineProto->auth->requestPasswordRecovery(); ``` Or, if you're into Lua: ```lua -auth_PasswordRecovery = auth.requestPasswordRecovery({}) +auth.PasswordRecovery = auth.requestPasswordRecovery({}) ``` ### Errors diff --git a/old_docs/API_docs_v42/methods/auth.sendCode.md b/old_docs/API_docs_v42/methods/auth.sendCode.md index 9fa1a0c7..68b6ff31 100644 --- a/old_docs/API_docs_v42/methods/auth.sendCode.md +++ b/old_docs/API_docs_v42/methods/auth.sendCode.md @@ -20,7 +20,7 @@ You cannot use this method directly, use the phoneLogin method instead (see http |lang\_code|[string](../types/string.md) | You cannot use this method directly, use the phoneLogin method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_SentCode](../types/auth_SentCode.md) +### Return type: [auth.SentCode](../types/auth.SentCode.md) ### Can bots use this method: **NO** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_SentCode = $MadelineProto->auth->sendCode(['phone_number' => 'string', 'sms_type' => int, 'api_id' => int, 'api_hash' => 'string', 'lang_code' => 'string', ]); +$auth.SentCode = $MadelineProto->auth->sendCode(['phone_number' => 'string', 'sms_type' => int, 'api_id' => int, 'api_hash' => 'string', 'lang_code' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_SentCode = auth.sendCode({phone_number='string', sms_type=int, api_id=int, api_hash='string', lang_code='string', }) +auth.SentCode = auth.sendCode({phone_number='string', sms_type=int, api_id=int, api_hash='string', lang_code='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v42/methods/auth.signIn.md b/old_docs/API_docs_v42/methods/auth.signIn.md index 54812a2e..95b14f32 100644 --- a/old_docs/API_docs_v42/methods/auth.signIn.md +++ b/old_docs/API_docs_v42/methods/auth.signIn.md @@ -18,7 +18,7 @@ You cannot use this method directly, use the completePhoneLogin method instead ( |phone\_code|[string](../types/string.md) | You cannot use this method directly, use the completePhoneLogin method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->signIn(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', ]); +$auth.Authorization = $MadelineProto->auth->signIn(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.signIn({phone_number='string', phone_code_hash='string', phone_code='string', }) +auth.Authorization = auth.signIn({phone_number='string', phone_code_hash='string', phone_code='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v42/methods/auth.signUp.md b/old_docs/API_docs_v42/methods/auth.signUp.md index 2aca2bfa..fdb5d628 100644 --- a/old_docs/API_docs_v42/methods/auth.signUp.md +++ b/old_docs/API_docs_v42/methods/auth.signUp.md @@ -20,7 +20,7 @@ You cannot use this method directly, use the completeSignup method instead (see |last\_name|[string](../types/string.md) | You cannot use this method directly, use the completeSignup method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **NO** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->signUp(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', 'first_name' => 'string', 'last_name' => 'string', ]); +$auth.Authorization = $MadelineProto->auth->signUp(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', 'first_name' => 'string', 'last_name' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.signUp({phone_number='string', phone_code_hash='string', phone_code='string', first_name='string', last_name='string', }) +auth.Authorization = auth.signUp({phone_number='string', phone_code_hash='string', phone_code='string', first_name='string', last_name='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v42/methods/channels.deleteMessages.md b/old_docs/API_docs_v42/methods/channels.deleteMessages.md index 10a439fb..8583e560 100644 --- a/old_docs/API_docs_v42/methods/channels.deleteMessages.md +++ b/old_docs/API_docs_v42/methods/channels.deleteMessages.md @@ -17,7 +17,7 @@ Delete messages in a [channel/supergroup](https://core.telegram.org/api/channel) |id|Array of [int](../types/int.md) | The IDs of messages to delete | Yes| -### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) +### Return type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedMessages = $MadelineProto->channels->deleteMessages(['channel' => InputChannel, 'id' => [int, int], ]); +$messages.AffectedMessages = $MadelineProto->channels->deleteMessages(['channel' => InputChannel, 'id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AffectedMessages = channels.deleteMessages({channel=InputChannel, id={int}, }) +messages.AffectedMessages = channels.deleteMessages({channel=InputChannel, id={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v42/methods/channels.deleteUserHistory.md b/old_docs/API_docs_v42/methods/channels.deleteUserHistory.md index 9b8b159f..6ccaf7dd 100644 --- a/old_docs/API_docs_v42/methods/channels.deleteUserHistory.md +++ b/old_docs/API_docs_v42/methods/channels.deleteUserHistory.md @@ -17,7 +17,7 @@ Delete all messages sent by a certain user in a [supergroup](https://core.telegr |user\_id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | User whose messages should be deleted | Optional| -### Return type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) +### Return type: [messages.AffectedHistory](../types/messages.AffectedHistory.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedHistory = $MadelineProto->channels->deleteUserHistory(['channel' => InputChannel, 'user_id' => InputUser, ]); +$messages.AffectedHistory = $MadelineProto->channels->deleteUserHistory(['channel' => InputChannel, 'user_id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -messages_AffectedHistory = channels.deleteUserHistory({channel=InputChannel, user_id=InputUser, }) +messages.AffectedHistory = channels.deleteUserHistory({channel=InputChannel, user_id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v42/methods/channels.getChannels.md b/old_docs/API_docs_v42/methods/channels.getChannels.md index 368c96ce..ed9cf4a7 100644 --- a/old_docs/API_docs_v42/methods/channels.getChannels.md +++ b/old_docs/API_docs_v42/methods/channels.getChannels.md @@ -16,7 +16,7 @@ Get info about [channels/supergroups](https://core.telegram.org/api/channel) |id|Array of [Username, chat ID, Update, Message or InputChannel](../types/InputChannel.md) | The channel/supergroup MTProto IDs | Yes| -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->channels->getChannels(['id' => [InputChannel, InputChannel], ]); +$messages.Chats = $MadelineProto->channels->getChannels(['id' => [InputChannel, InputChannel], ]); ``` Or, if you're into Lua: ```lua -messages_Chats = channels.getChannels({id={InputChannel}, }) +messages.Chats = channels.getChannels({id={InputChannel}, }) ``` ### Errors diff --git a/old_docs/API_docs_v42/methods/channels.getDialogs.md b/old_docs/API_docs_v42/methods/channels.getDialogs.md index b75c785d..b9bfe655 100644 --- a/old_docs/API_docs_v42/methods/channels.getDialogs.md +++ b/old_docs/API_docs_v42/methods/channels.getDialogs.md @@ -17,7 +17,7 @@ Get channel dialogs |limit|[int](../types/int.md) | Number of results to return | Yes| -### Return type: [messages\_Dialogs](../types/messages_Dialogs.md) +### Return type: [messages.Dialogs](../types/messages.Dialogs.md) ### Can bots use this method: **YES** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Dialogs = $MadelineProto->channels->getDialogs(['offset' => int, 'limit' => int, ]); +$messages.Dialogs = $MadelineProto->channels->getDialogs(['offset' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Dialogs = channels.getDialogs({offset=int, limit=int, }) +messages.Dialogs = channels.getDialogs({offset=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v42/methods/channels.getFullChannel.md b/old_docs/API_docs_v42/methods/channels.getFullChannel.md index 08dc21bb..1369e0a0 100644 --- a/old_docs/API_docs_v42/methods/channels.getFullChannel.md +++ b/old_docs/API_docs_v42/methods/channels.getFullChannel.md @@ -16,7 +16,7 @@ You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo me |channel|[Username, chat ID, Update, Message or InputChannel](../types/InputChannel.md) | You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo methods instead (see https://docs.madelineproto.xyz for more info) | Optional| -### Return type: [messages\_ChatFull](../types/messages_ChatFull.md) +### Return type: [messages.ChatFull](../types/messages.ChatFull.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_ChatFull = $MadelineProto->channels->getFullChannel(['channel' => InputChannel, ]); +$messages.ChatFull = $MadelineProto->channels->getFullChannel(['channel' => InputChannel, ]); ``` Or, if you're into Lua: ```lua -messages_ChatFull = channels.getFullChannel({channel=InputChannel, }) +messages.ChatFull = channels.getFullChannel({channel=InputChannel, }) ``` ### Errors diff --git a/old_docs/API_docs_v42/methods/channels.getImportantHistory.md b/old_docs/API_docs_v42/methods/channels.getImportantHistory.md index 7375a015..5fe317b8 100644 --- a/old_docs/API_docs_v42/methods/channels.getImportantHistory.md +++ b/old_docs/API_docs_v42/methods/channels.getImportantHistory.md @@ -21,7 +21,7 @@ Get important channel/supergroup history |min\_id|[int](../types/int.md) | Minumum message ID | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **YES** @@ -38,12 +38,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->channels->getImportantHistory(['channel' => InputChannel, 'offset_id' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); +$messages.Messages = $MadelineProto->channels->getImportantHistory(['channel' => InputChannel, 'offset_id' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Messages = channels.getImportantHistory({channel=InputChannel, offset_id=int, add_offset=int, limit=int, max_id=int, min_id=int, }) +messages.Messages = channels.getImportantHistory({channel=InputChannel, offset_id=int, add_offset=int, limit=int, max_id=int, min_id=int, }) ``` diff --git a/old_docs/API_docs_v42/methods/channels.getMessages.md b/old_docs/API_docs_v42/methods/channels.getMessages.md index 379e0e9d..5023ea1a 100644 --- a/old_docs/API_docs_v42/methods/channels.getMessages.md +++ b/old_docs/API_docs_v42/methods/channels.getMessages.md @@ -17,7 +17,7 @@ Get [channel/supergroup](https://core.telegram.org/api/channel) messages |id|Array of [int](../types/int.md) | The message IDs | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->channels->getMessages(['channel' => InputChannel, 'id' => [int, int], ]); +$messages.Messages = $MadelineProto->channels->getMessages(['channel' => InputChannel, 'id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Messages = channels.getMessages({channel=InputChannel, id={int}, }) +messages.Messages = channels.getMessages({channel=InputChannel, id={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v42/methods/channels.getParticipant.md b/old_docs/API_docs_v42/methods/channels.getParticipant.md index aa2ce655..cf6a7771 100644 --- a/old_docs/API_docs_v42/methods/channels.getParticipant.md +++ b/old_docs/API_docs_v42/methods/channels.getParticipant.md @@ -17,7 +17,7 @@ Get info about a [channel/supergroup](https://core.telegram.org/api/channel) par |user\_id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | ID of participant to get info about | Optional| -### Return type: [channels\_ChannelParticipant](../types/channels_ChannelParticipant.md) +### Return type: [channels.ChannelParticipant](../types/channels.ChannelParticipant.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$channels_ChannelParticipant = $MadelineProto->channels->getParticipant(['channel' => InputChannel, 'user_id' => InputUser, ]); +$channels.ChannelParticipant = $MadelineProto->channels->getParticipant(['channel' => InputChannel, 'user_id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -channels_ChannelParticipant = channels.getParticipant({channel=InputChannel, user_id=InputUser, }) +channels.ChannelParticipant = channels.getParticipant({channel=InputChannel, user_id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v42/methods/channels.getParticipants.md b/old_docs/API_docs_v42/methods/channels.getParticipants.md index 9be95921..bfeccd48 100644 --- a/old_docs/API_docs_v42/methods/channels.getParticipants.md +++ b/old_docs/API_docs_v42/methods/channels.getParticipants.md @@ -19,7 +19,7 @@ Get the participants of a channel |limit|[int](../types/int.md) | [Limit](https://core.telegram.org/api/offsets) | Yes| -### Return type: [channels\_ChannelParticipants](../types/channels_ChannelParticipants.md) +### Return type: [channels.ChannelParticipants](../types/channels.ChannelParticipants.md) ### Can bots use this method: **YES** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$channels_ChannelParticipants = $MadelineProto->channels->getParticipants(['channel' => InputChannel, 'filter' => ChannelParticipantsFilter, 'offset' => int, 'limit' => int, ]); +$channels.ChannelParticipants = $MadelineProto->channels->getParticipants(['channel' => InputChannel, 'filter' => ChannelParticipantsFilter, 'offset' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -channels_ChannelParticipants = channels.getParticipants({channel=InputChannel, filter=ChannelParticipantsFilter, offset=int, limit=int, }) +channels.ChannelParticipants = channels.getParticipants({channel=InputChannel, filter=ChannelParticipantsFilter, offset=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v42/methods/contacts.deleteContact.md b/old_docs/API_docs_v42/methods/contacts.deleteContact.md index a9321d64..9169e1e0 100644 --- a/old_docs/API_docs_v42/methods/contacts.deleteContact.md +++ b/old_docs/API_docs_v42/methods/contacts.deleteContact.md @@ -16,7 +16,7 @@ Delete a contact |id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | The contact to delete | Optional| -### Return type: [contacts\_Link](../types/contacts_Link.md) +### Return type: [contacts.Link](../types/contacts.Link.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Link = $MadelineProto->contacts->deleteContact(['id' => InputUser, ]); +$contacts.Link = $MadelineProto->contacts->deleteContact(['id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -contacts_Link = contacts.deleteContact({id=InputUser, }) +contacts.Link = contacts.deleteContact({id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v42/methods/contacts.getBlocked.md b/old_docs/API_docs_v42/methods/contacts.getBlocked.md index 92f2f331..6ac1c343 100644 --- a/old_docs/API_docs_v42/methods/contacts.getBlocked.md +++ b/old_docs/API_docs_v42/methods/contacts.getBlocked.md @@ -17,7 +17,7 @@ Returns the list of blocked users. |limit|[int](../types/int.md) | The number of list elements to be returned | Yes| -### Return type: [contacts\_Blocked](../types/contacts_Blocked.md) +### Return type: [contacts.Blocked](../types/contacts.Blocked.md) ### Can bots use this method: **NO** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Blocked = $MadelineProto->contacts->getBlocked(['offset' => int, 'limit' => int, ]); +$contacts.Blocked = $MadelineProto->contacts->getBlocked(['offset' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -contacts_Blocked = contacts.getBlocked({offset=int, limit=int, }) +contacts.Blocked = contacts.getBlocked({offset=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v42/methods/contacts.getContacts.md b/old_docs/API_docs_v42/methods/contacts.getContacts.md index caee7aa8..a2fcd412 100644 --- a/old_docs/API_docs_v42/methods/contacts.getContacts.md +++ b/old_docs/API_docs_v42/methods/contacts.getContacts.md @@ -16,7 +16,7 @@ Returns the current user's contact list. |hash|[string](../types/string.md) | List of contact user IDs you already cached | Yes| -### Return type: [contacts\_Contacts](../types/contacts_Contacts.md) +### Return type: [contacts.Contacts](../types/contacts.Contacts.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Contacts = $MadelineProto->contacts->getContacts(['hash' => 'string', ]); +$contacts.Contacts = $MadelineProto->contacts->getContacts(['hash' => 'string', ]); ``` Or, if you're into Lua: ```lua -contacts_Contacts = contacts.getContacts({hash='string', }) +contacts.Contacts = contacts.getContacts({hash='string', }) ``` diff --git a/old_docs/API_docs_v42/methods/contacts.getSuggested.md b/old_docs/API_docs_v42/methods/contacts.getSuggested.md index 32e96621..ede222d4 100644 --- a/old_docs/API_docs_v42/methods/contacts.getSuggested.md +++ b/old_docs/API_docs_v42/methods/contacts.getSuggested.md @@ -16,7 +16,7 @@ Get suggested contacts |limit|[int](../types/int.md) | Number of results to return | Yes| -### Return type: [contacts\_Suggested](../types/contacts_Suggested.md) +### Return type: [contacts.Suggested](../types/contacts.Suggested.md) ### Can bots use this method: **YES** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Suggested = $MadelineProto->contacts->getSuggested(['limit' => int, ]); +$contacts.Suggested = $MadelineProto->contacts->getSuggested(['limit' => int, ]); ``` Or, if you're into Lua: ```lua -contacts_Suggested = contacts.getSuggested({limit=int, }) +contacts.Suggested = contacts.getSuggested({limit=int, }) ``` diff --git a/old_docs/API_docs_v42/methods/contacts.importContacts.md b/old_docs/API_docs_v42/methods/contacts.importContacts.md index 572df9fb..975d0565 100644 --- a/old_docs/API_docs_v42/methods/contacts.importContacts.md +++ b/old_docs/API_docs_v42/methods/contacts.importContacts.md @@ -17,7 +17,7 @@ Imports contacts: saves a full list on the server, adds already registered conta |replace|[Bool](../types/Bool.md) | Replace contacts? | Yes| -### Return type: [contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) +### Return type: [contacts.ImportedContacts](../types/contacts.ImportedContacts.md) ### Can bots use this method: **NO** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_ImportedContacts = $MadelineProto->contacts->importContacts(['contacts' => [InputContact, InputContact], 'replace' => Bool, ]); +$contacts.ImportedContacts = $MadelineProto->contacts->importContacts(['contacts' => [InputContact, InputContact], 'replace' => Bool, ]); ``` Or, if you're into Lua: ```lua -contacts_ImportedContacts = contacts.importContacts({contacts={InputContact}, replace=Bool, }) +contacts.ImportedContacts = contacts.importContacts({contacts={InputContact}, replace=Bool, }) ``` diff --git a/old_docs/API_docs_v42/methods/contacts.resolveUsername.md b/old_docs/API_docs_v42/methods/contacts.resolveUsername.md index 05e3d854..46f1eb50 100644 --- a/old_docs/API_docs_v42/methods/contacts.resolveUsername.md +++ b/old_docs/API_docs_v42/methods/contacts.resolveUsername.md @@ -16,7 +16,7 @@ You cannot use this method directly, use the resolveUsername, getPwrChat, getInf |username|[string](../types/string.md) | You cannot use this method directly, use the resolveUsername, getPwrChat, getInfo, getFullInfo methods instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [contacts\_ResolvedPeer](../types/contacts_ResolvedPeer.md) +### Return type: [contacts.ResolvedPeer](../types/contacts.ResolvedPeer.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_ResolvedPeer = $MadelineProto->contacts->resolveUsername(['username' => 'string', ]); +$contacts.ResolvedPeer = $MadelineProto->contacts->resolveUsername(['username' => 'string', ]); ``` Or, if you're into Lua: ```lua -contacts_ResolvedPeer = contacts.resolveUsername({username='string', }) +contacts.ResolvedPeer = contacts.resolveUsername({username='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v42/methods/contacts.search.md b/old_docs/API_docs_v42/methods/contacts.search.md index 2f39d6f1..ec04c7f9 100644 --- a/old_docs/API_docs_v42/methods/contacts.search.md +++ b/old_docs/API_docs_v42/methods/contacts.search.md @@ -17,7 +17,7 @@ Returns users found by username substring. |limit|[int](../types/int.md) | Maximum number of users to be returned | Yes| -### Return type: [contacts\_Found](../types/contacts_Found.md) +### Return type: [contacts.Found](../types/contacts.Found.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Found = $MadelineProto->contacts->search(['q' => 'string', 'limit' => int, ]); +$contacts.Found = $MadelineProto->contacts->search(['q' => 'string', 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -contacts_Found = contacts.search({q='string', limit=int, }) +contacts.Found = contacts.search({q='string', limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v42/methods/help.getAppChangelog.md b/old_docs/API_docs_v42/methods/help.getAppChangelog.md index 890e3a4b..29bee8fb 100644 --- a/old_docs/API_docs_v42/methods/help.getAppChangelog.md +++ b/old_docs/API_docs_v42/methods/help.getAppChangelog.md @@ -19,7 +19,7 @@ Get changelog of current app |lang\_code|[string](../types/string.md) | Language code | Yes| -### Return type: [help\_AppChangelog](../types/help_AppChangelog.md) +### Return type: [help.AppChangelog](../types/help.AppChangelog.md) ### Can bots use this method: **NO** @@ -36,12 +36,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_AppChangelog = $MadelineProto->help->getAppChangelog(['device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'lang_code' => 'string', ]); +$help.AppChangelog = $MadelineProto->help->getAppChangelog(['device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'lang_code' => 'string', ]); ``` Or, if you're into Lua: ```lua -help_AppChangelog = help.getAppChangelog({device_model='string', system_version='string', app_version='string', lang_code='string', }) +help.AppChangelog = help.getAppChangelog({device_model='string', system_version='string', app_version='string', lang_code='string', }) ``` diff --git a/old_docs/API_docs_v42/methods/help.getAppUpdate.md b/old_docs/API_docs_v42/methods/help.getAppUpdate.md index 0f844391..bfbed19e 100644 --- a/old_docs/API_docs_v42/methods/help.getAppUpdate.md +++ b/old_docs/API_docs_v42/methods/help.getAppUpdate.md @@ -19,7 +19,7 @@ Returns information on update availability for the current application. |lang\_code|[string](../types/string.md) | Langauge code | Yes| -### Return type: [help\_AppUpdate](../types/help_AppUpdate.md) +### Return type: [help.AppUpdate](../types/help.AppUpdate.md) ### Can bots use this method: **NO** @@ -36,12 +36,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_AppUpdate = $MadelineProto->help->getAppUpdate(['device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'lang_code' => 'string', ]); +$help.AppUpdate = $MadelineProto->help->getAppUpdate(['device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'lang_code' => 'string', ]); ``` Or, if you're into Lua: ```lua -help_AppUpdate = help.getAppUpdate({device_model='string', system_version='string', app_version='string', lang_code='string', }) +help.AppUpdate = help.getAppUpdate({device_model='string', system_version='string', app_version='string', lang_code='string', }) ``` diff --git a/old_docs/API_docs_v42/methods/help.getInviteText.md b/old_docs/API_docs_v42/methods/help.getInviteText.md index 482afbc0..f84b2e82 100644 --- a/old_docs/API_docs_v42/methods/help.getInviteText.md +++ b/old_docs/API_docs_v42/methods/help.getInviteText.md @@ -16,7 +16,7 @@ Returns text of a text message with an invitation. |lang\_code|[string](../types/string.md) | Language | Yes| -### Return type: [help\_InviteText](../types/help_InviteText.md) +### Return type: [help.InviteText](../types/help.InviteText.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_InviteText = $MadelineProto->help->getInviteText(['lang_code' => 'string', ]); +$help.InviteText = $MadelineProto->help->getInviteText(['lang_code' => 'string', ]); ``` Or, if you're into Lua: ```lua -help_InviteText = help.getInviteText({lang_code='string', }) +help.InviteText = help.getInviteText({lang_code='string', }) ``` diff --git a/old_docs/API_docs_v42/methods/help.getSupport.md b/old_docs/API_docs_v42/methods/help.getSupport.md index 7a577892..8a8df916 100644 --- a/old_docs/API_docs_v42/methods/help.getSupport.md +++ b/old_docs/API_docs_v42/methods/help.getSupport.md @@ -11,7 +11,7 @@ Returns the support user for the 'ask a question' feature. -### Return type: [help\_Support](../types/help_Support.md) +### Return type: [help.Support](../types/help.Support.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_Support = $MadelineProto->help->getSupport(); +$help.Support = $MadelineProto->help->getSupport(); ``` Or, if you're into Lua: ```lua -help_Support = help.getSupport({}) +help.Support = help.getSupport({}) ``` diff --git a/old_docs/API_docs_v42/methods/messages.deleteHistory.md b/old_docs/API_docs_v42/methods/messages.deleteHistory.md index f7f34456..9515d31c 100644 --- a/old_docs/API_docs_v42/methods/messages.deleteHistory.md +++ b/old_docs/API_docs_v42/methods/messages.deleteHistory.md @@ -17,7 +17,7 @@ Deletes communication history. |max\_id|[int](../types/int.md) | Maximum ID of message to delete | Yes| -### Return type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) +### Return type: [messages.AffectedHistory](../types/messages.AffectedHistory.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedHistory = $MadelineProto->messages->deleteHistory(['peer' => InputPeer, 'max_id' => int, ]); +$messages.AffectedHistory = $MadelineProto->messages->deleteHistory(['peer' => InputPeer, 'max_id' => int, ]); ``` Or, if you're into Lua: ```lua -messages_AffectedHistory = messages.deleteHistory({peer=InputPeer, max_id=int, }) +messages.AffectedHistory = messages.deleteHistory({peer=InputPeer, max_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v42/methods/messages.deleteMessages.md b/old_docs/API_docs_v42/methods/messages.deleteMessages.md index 355b2ff8..cc432cc1 100644 --- a/old_docs/API_docs_v42/methods/messages.deleteMessages.md +++ b/old_docs/API_docs_v42/methods/messages.deleteMessages.md @@ -16,7 +16,7 @@ Deletes messages by their identifiers. |id|Array of [int](../types/int.md) | IDs of messages to delete, use channels->deleteMessages for supergroups | Yes| -### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) +### Return type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedMessages = $MadelineProto->messages->deleteMessages(['id' => [int, int], ]); +$messages.AffectedMessages = $MadelineProto->messages->deleteMessages(['id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AffectedMessages = messages.deleteMessages({id={int}, }) +messages.AffectedMessages = messages.deleteMessages({id={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v42/methods/messages.getAllStickers.md b/old_docs/API_docs_v42/methods/messages.getAllStickers.md index 3bbfd91b..bdf1bab0 100644 --- a/old_docs/API_docs_v42/methods/messages.getAllStickers.md +++ b/old_docs/API_docs_v42/methods/messages.getAllStickers.md @@ -16,7 +16,7 @@ Get all installed stickers |hash|[string](../types/string.md) | Previously fetched stickers | Yes| -### Return type: [messages\_AllStickers](../types/messages_AllStickers.md) +### Return type: [messages.AllStickers](../types/messages.AllStickers.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AllStickers = $MadelineProto->messages->getAllStickers(['hash' => 'string', ]); +$messages.AllStickers = $MadelineProto->messages->getAllStickers(['hash' => 'string', ]); ``` Or, if you're into Lua: ```lua -messages_AllStickers = messages.getAllStickers({hash='string', }) +messages.AllStickers = messages.getAllStickers({hash='string', }) ``` diff --git a/old_docs/API_docs_v42/methods/messages.getChats.md b/old_docs/API_docs_v42/methods/messages.getChats.md index c34b0488..146341f5 100644 --- a/old_docs/API_docs_v42/methods/messages.getChats.md +++ b/old_docs/API_docs_v42/methods/messages.getChats.md @@ -16,7 +16,7 @@ Returns chat basic info on their IDs. |id|Array of [int](../types/int.md) | The MTProto IDs of chats to fetch info about | Yes| -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->messages->getChats(['id' => [int, int], ]); +$messages.Chats = $MadelineProto->messages->getChats(['id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Chats = messages.getChats({id={int}, }) +messages.Chats = messages.getChats({id={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v42/methods/messages.getDhConfig.md b/old_docs/API_docs_v42/methods/messages.getDhConfig.md index 88ea4ab3..7b9da566 100644 --- a/old_docs/API_docs_v42/methods/messages.getDhConfig.md +++ b/old_docs/API_docs_v42/methods/messages.getDhConfig.md @@ -17,7 +17,7 @@ You cannot use this method directly, instead use $MadelineProto->getDhConfig(); |random\_length|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->getDhConfig(); | Yes| -### Return type: [messages\_DhConfig](../types/messages_DhConfig.md) +### Return type: [messages.DhConfig](../types/messages.DhConfig.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_DhConfig = $MadelineProto->messages->getDhConfig(['version' => int, 'random_length' => int, ]); +$messages.DhConfig = $MadelineProto->messages->getDhConfig(['version' => int, 'random_length' => int, ]); ``` Or, if you're into Lua: ```lua -messages_DhConfig = messages.getDhConfig({version=int, random_length=int, }) +messages.DhConfig = messages.getDhConfig({version=int, random_length=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v42/methods/messages.getDialogs.md b/old_docs/API_docs_v42/methods/messages.getDialogs.md index f262b574..6e246feb 100644 --- a/old_docs/API_docs_v42/methods/messages.getDialogs.md +++ b/old_docs/API_docs_v42/methods/messages.getDialogs.md @@ -19,7 +19,7 @@ Returns the current user dialog list. |limit|[int](../types/int.md) | Number of list elements to be returned | Yes| -### Return type: [messages\_Dialogs](../types/messages_Dialogs.md) +### Return type: [messages.Dialogs](../types/messages.Dialogs.md) ### Can bots use this method: **NO** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Dialogs = $MadelineProto->messages->getDialogs(['offset_date' => int, 'offset_id' => int, 'offset_peer' => InputPeer, 'limit' => int, ]); +$messages.Dialogs = $MadelineProto->messages->getDialogs(['offset_date' => int, 'offset_id' => int, 'offset_peer' => InputPeer, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Dialogs = messages.getDialogs({offset_date=int, offset_id=int, offset_peer=InputPeer, limit=int, }) +messages.Dialogs = messages.getDialogs({offset_date=int, offset_id=int, offset_peer=InputPeer, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v42/methods/messages.getFullChat.md b/old_docs/API_docs_v42/methods/messages.getFullChat.md index abf23e21..de543651 100644 --- a/old_docs/API_docs_v42/methods/messages.getFullChat.md +++ b/old_docs/API_docs_v42/methods/messages.getFullChat.md @@ -16,7 +16,7 @@ You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo me |chat\_id|[Username, chat ID, Update, Message or InputPeer](../types/InputPeer.md) | You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo methods instead (see https://docs.madelineproto.xyz for more info) | Optional| -### Return type: [messages\_ChatFull](../types/messages_ChatFull.md) +### Return type: [messages.ChatFull](../types/messages.ChatFull.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_ChatFull = $MadelineProto->messages->getFullChat(['chat_id' => InputPeer, ]); +$messages.ChatFull = $MadelineProto->messages->getFullChat(['chat_id' => InputPeer, ]); ``` Or, if you're into Lua: ```lua -messages_ChatFull = messages.getFullChat({chat_id=InputPeer, }) +messages.ChatFull = messages.getFullChat({chat_id=InputPeer, }) ``` ### Errors diff --git a/old_docs/API_docs_v42/methods/messages.getHistory.md b/old_docs/API_docs_v42/methods/messages.getHistory.md index c6d7a647..1e13bc34 100644 --- a/old_docs/API_docs_v42/methods/messages.getHistory.md +++ b/old_docs/API_docs_v42/methods/messages.getHistory.md @@ -21,7 +21,7 @@ Gets back the conversation history with one interlocutor / within a chat |min\_id|[int](../types/int.md) | If a positive value was transferred, the method will return only messages with IDs more than **min\_id** | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **NO** @@ -38,13 +38,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->getHistory(['peer' => InputPeer, 'offset_id' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); +$messages.Messages = $MadelineProto->messages->getHistory(['peer' => InputPeer, 'offset_id' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.getHistory({peer=InputPeer, offset_id=int, add_offset=int, limit=int, max_id=int, min_id=int, }) +messages.Messages = messages.getHistory({peer=InputPeer, offset_id=int, add_offset=int, limit=int, max_id=int, min_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v42/methods/messages.getMessages.md b/old_docs/API_docs_v42/methods/messages.getMessages.md index a3139513..c7760d7e 100644 --- a/old_docs/API_docs_v42/methods/messages.getMessages.md +++ b/old_docs/API_docs_v42/methods/messages.getMessages.md @@ -16,7 +16,7 @@ Returns the list of messages by their IDs. |id|Array of [int](../types/int.md) | The IDs of messages to fetch (only for users and normal groups) | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **YES** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->getMessages(['id' => [int, int], ]); +$messages.Messages = $MadelineProto->messages->getMessages(['id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.getMessages({id={int}, }) +messages.Messages = messages.getMessages({id={int}, }) ``` diff --git a/old_docs/API_docs_v42/methods/messages.getStickerSet.md b/old_docs/API_docs_v42/methods/messages.getStickerSet.md index 45fca60f..f11887ee 100644 --- a/old_docs/API_docs_v42/methods/messages.getStickerSet.md +++ b/old_docs/API_docs_v42/methods/messages.getStickerSet.md @@ -16,7 +16,7 @@ Get info about a stickerset |stickerset|[InputStickerSet](../types/InputStickerSet.md) | Stickerset | Optional| -### Return type: [messages\_StickerSet](../types/messages_StickerSet.md) +### Return type: [messages.StickerSet](../types/messages.StickerSet.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StickerSet = $MadelineProto->messages->getStickerSet(['stickerset' => InputStickerSet, ]); +$messages.StickerSet = $MadelineProto->messages->getStickerSet(['stickerset' => InputStickerSet, ]); ``` Or, if you're into Lua: ```lua -messages_StickerSet = messages.getStickerSet({stickerset=InputStickerSet, }) +messages.StickerSet = messages.getStickerSet({stickerset=InputStickerSet, }) ``` ### Errors diff --git a/old_docs/API_docs_v42/methods/messages.getStickers.md b/old_docs/API_docs_v42/methods/messages.getStickers.md index aa149fc3..6fab91a5 100644 --- a/old_docs/API_docs_v42/methods/messages.getStickers.md +++ b/old_docs/API_docs_v42/methods/messages.getStickers.md @@ -17,7 +17,7 @@ Get stickers by emoji |hash|[string](../types/string.md) | Previously fetched sticker IDs | Yes| -### Return type: [messages\_Stickers](../types/messages_Stickers.md) +### Return type: [messages.Stickers](../types/messages.Stickers.md) ### Can bots use this method: **NO** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Stickers = $MadelineProto->messages->getStickers(['emoticon' => 'string', 'hash' => 'string', ]); +$messages.Stickers = $MadelineProto->messages->getStickers(['emoticon' => 'string', 'hash' => 'string', ]); ``` Or, if you're into Lua: ```lua -messages_Stickers = messages.getStickers({emoticon='string', hash='string', }) +messages.Stickers = messages.getStickers({emoticon='string', hash='string', }) ``` diff --git a/old_docs/API_docs_v42/methods/messages.readHistory.md b/old_docs/API_docs_v42/methods/messages.readHistory.md index 39753375..52030c68 100644 --- a/old_docs/API_docs_v42/methods/messages.readHistory.md +++ b/old_docs/API_docs_v42/methods/messages.readHistory.md @@ -17,7 +17,7 @@ Marks message history as read. |max\_id|[int](../types/int.md) | If a positive value is passed, only messages with identifiers less or equal than the given one will be read | Yes| -### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) +### Return type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedMessages = $MadelineProto->messages->readHistory(['peer' => InputPeer, 'max_id' => int, ]); +$messages.AffectedMessages = $MadelineProto->messages->readHistory(['peer' => InputPeer, 'max_id' => int, ]); ``` Or, if you're into Lua: ```lua -messages_AffectedMessages = messages.readHistory({peer=InputPeer, max_id=int, }) +messages.AffectedMessages = messages.readHistory({peer=InputPeer, max_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v42/methods/messages.readMessageContents.md b/old_docs/API_docs_v42/methods/messages.readMessageContents.md index c479cafe..9798e661 100644 --- a/old_docs/API_docs_v42/methods/messages.readMessageContents.md +++ b/old_docs/API_docs_v42/methods/messages.readMessageContents.md @@ -16,7 +16,7 @@ Notifies the sender about the recipient having listened a voice message or watch |id|Array of [int](../types/int.md) | The messages to mark as read (only users and normal chats, not supergroups) | Yes| -### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) +### Return type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedMessages = $MadelineProto->messages->readMessageContents(['id' => [int, int], ]); +$messages.AffectedMessages = $MadelineProto->messages->readMessageContents(['id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AffectedMessages = messages.readMessageContents({id={int}, }) +messages.AffectedMessages = messages.readMessageContents({id={int}, }) ``` diff --git a/old_docs/API_docs_v42/methods/messages.search.md b/old_docs/API_docs_v42/methods/messages.search.md index 1210be77..28664a8d 100644 --- a/old_docs/API_docs_v42/methods/messages.search.md +++ b/old_docs/API_docs_v42/methods/messages.search.md @@ -24,7 +24,7 @@ Gets back found messages |limit|[int](../types/int.md) | [Number of results to return](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **NO** @@ -41,13 +41,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->search(['important_only' => Bool, 'peer' => InputPeer, 'q' => 'string', 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); +$messages.Messages = $MadelineProto->messages->search(['important_only' => Bool, 'peer' => InputPeer, 'q' => 'string', 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.search({important_only=Bool, peer=InputPeer, q='string', filter=MessagesFilter, min_date=int, max_date=int, offset=int, max_id=int, limit=int, }) +messages.Messages = messages.search({important_only=Bool, peer=InputPeer, q='string', filter=MessagesFilter, min_date=int, max_date=int, offset=int, max_id=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v42/methods/messages.searchGlobal.md b/old_docs/API_docs_v42/methods/messages.searchGlobal.md index 4bd59f25..1a3b736d 100644 --- a/old_docs/API_docs_v42/methods/messages.searchGlobal.md +++ b/old_docs/API_docs_v42/methods/messages.searchGlobal.md @@ -20,7 +20,7 @@ Search for messages and peers globally |limit|[int](../types/int.md) | [Offsets for pagination, for more info click here](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **NO** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->searchGlobal(['q' => 'string', 'offset_date' => int, 'offset_peer' => InputPeer, 'offset_id' => int, 'limit' => int, ]); +$messages.Messages = $MadelineProto->messages->searchGlobal(['q' => 'string', 'offset_date' => int, 'offset_peer' => InputPeer, 'offset_id' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.searchGlobal({q='string', offset_date=int, offset_peer=InputPeer, offset_id=int, limit=int, }) +messages.Messages = messages.searchGlobal({q='string', offset_date=int, offset_peer=InputPeer, offset_id=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v42/methods/messages.sendEncrypted.md b/old_docs/API_docs_v42/methods/messages.sendEncrypted.md index 47b5ef29..6a68b563 100644 --- a/old_docs/API_docs_v42/methods/messages.sendEncrypted.md +++ b/old_docs/API_docs_v42/methods/messages.sendEncrypted.md @@ -14,10 +14,10 @@ Sends a text message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|message|[DecryptedMessage](../types/DecryptedMessage.md) | The message to send | Yes| +|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key that was created during chat initialization | Yes| -### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ### Can bots use this method: **NO** @@ -34,21 +34,15 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncrypted(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); +$messages.SentEncryptedMessage = $MadelineProto->messages->sendEncrypted(['peer' => InputEncryptedChat, 'data' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -messages_SentEncryptedMessage = messages.sendEncrypted({peer=InputEncryptedChat, message=DecryptedMessage, }) +messages.SentEncryptedMessage = messages.sendEncrypted({peer=InputEncryptedChat, data='bytes', }) ``` - -## Return value - -If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) will be returned instead. - - ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v42/methods/messages.sendEncryptedFile.md b/old_docs/API_docs_v42/methods/messages.sendEncryptedFile.md index 4e0f7b7f..87185ba4 100644 --- a/old_docs/API_docs_v42/methods/messages.sendEncryptedFile.md +++ b/old_docs/API_docs_v42/methods/messages.sendEncryptedFile.md @@ -14,11 +14,11 @@ Sends a message with a file attachment to a secret chat | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|message|[DecryptedMessage](../types/DecryptedMessage.md) | The message with the file | Yes| +|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| |file|[File path or InputEncryptedFile](../types/InputEncryptedFile.md) | File attachment for the secret chat | Optional| -### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ### Can bots use this method: **NO** @@ -35,21 +35,15 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedFile(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, 'file' => InputEncryptedFile, ]); +$messages.SentEncryptedMessage = $MadelineProto->messages->sendEncryptedFile(['peer' => InputEncryptedChat, 'data' => 'bytes', 'file' => InputEncryptedFile, ]); ``` Or, if you're into Lua: ```lua -messages_SentEncryptedMessage = messages.sendEncryptedFile({peer=InputEncryptedChat, message=DecryptedMessage, file=InputEncryptedFile, }) +messages.SentEncryptedMessage = messages.sendEncryptedFile({peer=InputEncryptedChat, data='bytes', file=InputEncryptedFile, }) ``` - -## Return value - -If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) will be returned instead. - - ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v42/methods/messages.sendEncryptedService.md b/old_docs/API_docs_v42/methods/messages.sendEncryptedService.md index 86925ae3..38171272 100644 --- a/old_docs/API_docs_v42/methods/messages.sendEncryptedService.md +++ b/old_docs/API_docs_v42/methods/messages.sendEncryptedService.md @@ -14,10 +14,10 @@ Sends a service message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|message|[DecryptedMessage](../types/DecryptedMessage.md) | The service message | Yes| +|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| -### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ### Can bots use this method: **NO** @@ -34,21 +34,15 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedService(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); +$messages.SentEncryptedMessage = $MadelineProto->messages->sendEncryptedService(['peer' => InputEncryptedChat, 'data' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -messages_SentEncryptedMessage = messages.sendEncryptedService({peer=InputEncryptedChat, message=DecryptedMessage, }) +messages.SentEncryptedMessage = messages.sendEncryptedService({peer=InputEncryptedChat, data='bytes', }) ``` - -## Return value - -If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) will be returned instead. - - ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v42/methods/photos.getUserPhotos.md b/old_docs/API_docs_v42/methods/photos.getUserPhotos.md index a1dec2ed..1f8d5c64 100644 --- a/old_docs/API_docs_v42/methods/photos.getUserPhotos.md +++ b/old_docs/API_docs_v42/methods/photos.getUserPhotos.md @@ -19,7 +19,7 @@ Returns the list of user photos. |limit|[int](../types/int.md) | Number of list elements to be returned | Yes| -### Return type: [photos\_Photos](../types/photos_Photos.md) +### Return type: [photos.Photos](../types/photos.Photos.md) ### Can bots use this method: **YES** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$photos_Photos = $MadelineProto->photos->getUserPhotos(['user_id' => InputUser, 'offset' => int, 'max_id' => long, 'limit' => int, ]); +$photos.Photos = $MadelineProto->photos->getUserPhotos(['user_id' => InputUser, 'offset' => int, 'max_id' => long, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -photos_Photos = photos.getUserPhotos({user_id=InputUser, offset=int, max_id=long, limit=int, }) +photos.Photos = photos.getUserPhotos({user_id=InputUser, offset=int, max_id=long, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v42/methods/photos.uploadProfilePhoto.md b/old_docs/API_docs_v42/methods/photos.uploadProfilePhoto.md index 337dcc21..18b2b4c6 100644 --- a/old_docs/API_docs_v42/methods/photos.uploadProfilePhoto.md +++ b/old_docs/API_docs_v42/methods/photos.uploadProfilePhoto.md @@ -19,7 +19,7 @@ Updates current user profile photo. |crop|[InputPhotoCrop](../types/InputPhotoCrop.md) | Cropping info | Yes| -### Return type: [photos\_Photo](../types/photos_Photo.md) +### Return type: [photos.Photo](../types/photos.Photo.md) ### Can bots use this method: **NO** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$photos_Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, 'caption' => 'string', 'geo_point' => InputGeoPoint, 'crop' => InputPhotoCrop, ]); +$photos.Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, 'caption' => 'string', 'geo_point' => InputGeoPoint, 'crop' => InputPhotoCrop, ]); ``` Or, if you're into Lua: ```lua -photos_Photo = photos.uploadProfilePhoto({file=InputFile, caption='string', geo_point=InputGeoPoint, crop=InputPhotoCrop, }) +photos.Photo = photos.uploadProfilePhoto({file=InputFile, caption='string', geo_point=InputGeoPoint, crop=InputPhotoCrop, }) ``` ### Errors diff --git a/old_docs/API_docs_v42/methods/updates.getChannelDifference.md b/old_docs/API_docs_v42/methods/updates.getChannelDifference.md index 77a45636..79adf4b1 100644 --- a/old_docs/API_docs_v42/methods/updates.getChannelDifference.md +++ b/old_docs/API_docs_v42/methods/updates.getChannelDifference.md @@ -19,7 +19,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz for more |limit|[int](../types/int.md) | You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates | Yes| -### Return type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) +### Return type: [updates.ChannelDifference](../types/updates.ChannelDifference.md) ### Can bots use this method: **YES** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$updates_ChannelDifference = $MadelineProto->updates->getChannelDifference(['channel' => InputChannel, 'filter' => ChannelMessagesFilter, 'pts' => int, 'limit' => int, ]); +$updates.ChannelDifference = $MadelineProto->updates->getChannelDifference(['channel' => InputChannel, 'filter' => ChannelMessagesFilter, 'pts' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -updates_ChannelDifference = updates.getChannelDifference({channel=InputChannel, filter=ChannelMessagesFilter, pts=int, limit=int, }) +updates.ChannelDifference = updates.getChannelDifference({channel=InputChannel, filter=ChannelMessagesFilter, pts=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v42/methods/updates.getDifference.md b/old_docs/API_docs_v42/methods/updates.getDifference.md index 57ea6d99..061a5c8f 100644 --- a/old_docs/API_docs_v42/methods/updates.getDifference.md +++ b/old_docs/API_docs_v42/methods/updates.getDifference.md @@ -18,7 +18,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz for more |qts|[int](../types/int.md) | You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates | Yes| -### Return type: [updates\_Difference](../types/updates_Difference.md) +### Return type: [updates.Difference](../types/updates.Difference.md) ### Can bots use this method: **YES** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$updates_Difference = $MadelineProto->updates->getDifference(['pts' => int, 'date' => int, 'qts' => int, ]); +$updates.Difference = $MadelineProto->updates->getDifference(['pts' => int, 'date' => int, 'qts' => int, ]); ``` Or, if you're into Lua: ```lua -updates_Difference = updates.getDifference({pts=int, date=int, qts=int, }) +updates.Difference = updates.getDifference({pts=int, date=int, qts=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v42/methods/updates.getState.md b/old_docs/API_docs_v42/methods/updates.getState.md index c591408a..9a7d2f34 100644 --- a/old_docs/API_docs_v42/methods/updates.getState.md +++ b/old_docs/API_docs_v42/methods/updates.getState.md @@ -11,7 +11,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz for more -### Return type: [updates\_State](../types/updates_State.md) +### Return type: [updates.State](../types/updates.State.md) ### Can bots use this method: **YES** @@ -28,13 +28,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$updates_State = $MadelineProto->updates->getState(); +$updates.State = $MadelineProto->updates->getState(); ``` Or, if you're into Lua: ```lua -updates_State = updates.getState({}) +updates.State = updates.getState({}) ``` ### Errors diff --git a/old_docs/API_docs_v42/methods/upload.getFile.md b/old_docs/API_docs_v42/methods/upload.getFile.md index 8aba03d4..ab9f4fe2 100644 --- a/old_docs/API_docs_v42/methods/upload.getFile.md +++ b/old_docs/API_docs_v42/methods/upload.getFile.md @@ -18,7 +18,7 @@ You cannot use this method directly, use the upload, downloadToStream, downloadT |limit|[int](../types/int.md) | You cannot use this method directly, use the upload, downloadToStream, downloadToFile, downloadToDir methods instead; see https://docs.madelineproto.xyz for more info | Yes| -### Return type: [upload\_File](../types/upload_File.md) +### Return type: [upload.File](../types/upload.File.md) ### Can bots use this method: **YES** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$upload_File = $MadelineProto->upload->getFile(['location' => InputFileLocation, 'offset' => int, 'limit' => int, ]); +$upload.File = $MadelineProto->upload->getFile(['location' => InputFileLocation, 'offset' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -upload_File = upload.getFile({location=InputFileLocation, offset=int, limit=int, }) +upload.File = upload.getFile({location=InputFileLocation, offset=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v42/types/AccountDaysTTL.md b/old_docs/API_docs_v42/types/AccountDaysTTL.md index 12a10190..f3494aac 100644 --- a/old_docs/API_docs_v42/types/AccountDaysTTL.md +++ b/old_docs/API_docs_v42/types/AccountDaysTTL.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->account->getAccountTTL](../methods/account_getAccountTTL.md) +[$MadelineProto->account->getAccountTTL](../methods/account.getAccountTTL.md) diff --git a/old_docs/API_docs_v42/types/ChatInvite.md b/old_docs/API_docs_v42/types/ChatInvite.md index 5022a2f0..9fafabb4 100644 --- a/old_docs/API_docs_v42/types/ChatInvite.md +++ b/old_docs/API_docs_v42/types/ChatInvite.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->checkChatInvite](../methods/messages_checkChatInvite.md) +[$MadelineProto->messages->checkChatInvite](../methods/messages.checkChatInvite.md) diff --git a/old_docs/API_docs_v42/types/Config.md b/old_docs/API_docs_v42/types/Config.md index 0f7fbe70..3a23b7b7 100644 --- a/old_docs/API_docs_v42/types/Config.md +++ b/old_docs/API_docs_v42/types/Config.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->help->getConfig](../methods/help_getConfig.md) +[$MadelineProto->help->getConfig](../methods/help.getConfig.md) diff --git a/old_docs/API_docs_v42/types/ContactStatus.md b/old_docs/API_docs_v42/types/ContactStatus.md index c5f5d658..30aee6e2 100644 --- a/old_docs/API_docs_v42/types/ContactStatus.md +++ b/old_docs/API_docs_v42/types/ContactStatus.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->contacts->getStatuses](../methods/contacts_getStatuses.md) +[$MadelineProto->contacts->getStatuses](../methods/contacts.getStatuses.md) diff --git a/old_docs/API_docs_v42/types/EncryptedChat.md b/old_docs/API_docs_v42/types/EncryptedChat.md index fd2277f6..19cf52b0 100644 --- a/old_docs/API_docs_v42/types/EncryptedChat.md +++ b/old_docs/API_docs_v42/types/EncryptedChat.md @@ -24,9 +24,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->requestEncryption](../methods/messages_requestEncryption.md) +[$MadelineProto->messages->requestEncryption](../methods/messages.requestEncryption.md) -[$MadelineProto->messages->acceptEncryption](../methods/messages_acceptEncryption.md) +[$MadelineProto->messages->acceptEncryption](../methods/messages.acceptEncryption.md) diff --git a/old_docs/API_docs_v42/types/ExportedChatInvite.md b/old_docs/API_docs_v42/types/ExportedChatInvite.md index 4213a78f..53ce5f59 100644 --- a/old_docs/API_docs_v42/types/ExportedChatInvite.md +++ b/old_docs/API_docs_v42/types/ExportedChatInvite.md @@ -18,9 +18,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->exportChatInvite](../methods/messages_exportChatInvite.md) +[$MadelineProto->messages->exportChatInvite](../methods/messages.exportChatInvite.md) -[$MadelineProto->channels->exportInvite](../methods/channels_exportInvite.md) +[$MadelineProto->channels->exportInvite](../methods/channels.exportInvite.md) diff --git a/old_docs/API_docs_v42/types/MessageMedia.md b/old_docs/API_docs_v42/types/MessageMedia.md index 51c2f3c9..9c8475d7 100644 --- a/old_docs/API_docs_v42/types/MessageMedia.md +++ b/old_docs/API_docs_v42/types/MessageMedia.md @@ -34,7 +34,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getWebPagePreview](../methods/messages_getWebPagePreview.md) +[$MadelineProto->messages->getWebPagePreview](../methods/messages.getWebPagePreview.md) diff --git a/old_docs/API_docs_v42/types/NearestDc.md b/old_docs/API_docs_v42/types/NearestDc.md index 31f24377..296a4dff 100644 --- a/old_docs/API_docs_v42/types/NearestDc.md +++ b/old_docs/API_docs_v42/types/NearestDc.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->help->getNearestDc](../methods/help_getNearestDc.md) +[$MadelineProto->help->getNearestDc](../methods/help.getNearestDc.md) diff --git a/old_docs/API_docs_v42/types/PeerNotifySettings.md b/old_docs/API_docs_v42/types/PeerNotifySettings.md index 769de075..3d72b7c5 100644 --- a/old_docs/API_docs_v42/types/PeerNotifySettings.md +++ b/old_docs/API_docs_v42/types/PeerNotifySettings.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->account->getNotifySettings](../methods/account_getNotifySettings.md) +[$MadelineProto->account->getNotifySettings](../methods/account.getNotifySettings.md) diff --git a/old_docs/API_docs_v42/types/README.md b/old_docs/API_docs_v42/types/README.md index 7bb8c60a..7f9d8b9d 100644 --- a/old_docs/API_docs_v42/types/README.md +++ b/old_docs/API_docs_v42/types/README.md @@ -195,91 +195,91 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png [X](X.md) -[account\_Authorizations](account_Authorizations.md) +[account.Authorizations](account.Authorizations.md) -[account\_Password](account_Password.md) +[account.Password](account.Password.md) -[account\_PasswordInputSettings](account_PasswordInputSettings.md) +[account.PasswordInputSettings](account.PasswordInputSettings.md) -[account\_PasswordSettings](account_PasswordSettings.md) +[account.PasswordSettings](account.PasswordSettings.md) -[account\_PrivacyRules](account_PrivacyRules.md) +[account.PrivacyRules](account.PrivacyRules.md) -[account\_SentChangePhoneCode](account_SentChangePhoneCode.md) +[account.SentChangePhoneCode](account.SentChangePhoneCode.md) -[auth\_Authorization](auth_Authorization.md) +[auth.Authorization](auth.Authorization.md) -[auth\_CheckedPhone](auth_CheckedPhone.md) +[auth.CheckedPhone](auth.CheckedPhone.md) -[auth\_ExportedAuthorization](auth_ExportedAuthorization.md) +[auth.ExportedAuthorization](auth.ExportedAuthorization.md) -[auth\_PasswordRecovery](auth_PasswordRecovery.md) +[auth.PasswordRecovery](auth.PasswordRecovery.md) -[auth\_SentCode](auth_SentCode.md) +[auth.SentCode](auth.SentCode.md) -[channels\_ChannelParticipant](channels_ChannelParticipant.md) +[channels.ChannelParticipant](channels.ChannelParticipant.md) -[channels\_ChannelParticipants](channels_ChannelParticipants.md) +[channels.ChannelParticipants](channels.ChannelParticipants.md) -[contacts\_Blocked](contacts_Blocked.md) +[contacts.Blocked](contacts.Blocked.md) -[contacts\_Contacts](contacts_Contacts.md) +[contacts.Contacts](contacts.Contacts.md) -[contacts\_Found](contacts_Found.md) +[contacts.Found](contacts.Found.md) -[contacts\_ImportedContacts](contacts_ImportedContacts.md) +[contacts.ImportedContacts](contacts.ImportedContacts.md) -[contacts\_Link](contacts_Link.md) +[contacts.Link](contacts.Link.md) -[contacts\_ResolvedPeer](contacts_ResolvedPeer.md) +[contacts.ResolvedPeer](contacts.ResolvedPeer.md) -[contacts\_Suggested](contacts_Suggested.md) +[contacts.Suggested](contacts.Suggested.md) -[help\_AppChangelog](help_AppChangelog.md) +[help.AppChangelog](help.AppChangelog.md) -[help\_AppUpdate](help_AppUpdate.md) +[help.AppUpdate](help.AppUpdate.md) -[help\_InviteText](help_InviteText.md) +[help.InviteText](help.InviteText.md) -[help\_Support](help_Support.md) +[help.Support](help.Support.md) [int](int.md) [long](long.md) -[messages\_AffectedHistory](messages_AffectedHistory.md) +[messages.AffectedHistory](messages.AffectedHistory.md) -[messages\_AffectedMessages](messages_AffectedMessages.md) +[messages.AffectedMessages](messages.AffectedMessages.md) -[messages\_AllStickers](messages_AllStickers.md) +[messages.AllStickers](messages.AllStickers.md) -[messages\_ChatFull](messages_ChatFull.md) +[messages.ChatFull](messages.ChatFull.md) -[messages\_Chats](messages_Chats.md) +[messages.Chats](messages.Chats.md) -[messages\_DhConfig](messages_DhConfig.md) +[messages.DhConfig](messages.DhConfig.md) -[messages\_Dialogs](messages_Dialogs.md) +[messages.Dialogs](messages.Dialogs.md) -[messages\_Messages](messages_Messages.md) +[messages.Messages](messages.Messages.md) -[messages\_SentEncryptedMessage](messages_SentEncryptedMessage.md) +[messages.SentEncryptedMessage](messages.SentEncryptedMessage.md) -[messages\_StickerSet](messages_StickerSet.md) +[messages.StickerSet](messages.StickerSet.md) -[messages\_Stickers](messages_Stickers.md) +[messages.Stickers](messages.Stickers.md) -[photos\_Photo](photos_Photo.md) +[photos.Photo](photos.Photo.md) -[photos\_Photos](photos_Photos.md) +[photos.Photos](photos.Photos.md) -[storage\_FileType](storage_FileType.md) +[storage.FileType](storage.FileType.md) -[updates\_ChannelDifference](updates_ChannelDifference.md) +[updates.ChannelDifference](updates.ChannelDifference.md) -[updates\_Difference](updates_Difference.md) +[updates.Difference](updates.Difference.md) -[updates\_State](updates_State.md) +[updates.State](updates.State.md) -[upload\_File](upload_File.md) +[upload.File](upload.File.md) diff --git a/old_docs/API_docs_v42/types/ReceivedNotifyMessage.md b/old_docs/API_docs_v42/types/ReceivedNotifyMessage.md index c7fc3b8c..416aa275 100644 --- a/old_docs/API_docs_v42/types/ReceivedNotifyMessage.md +++ b/old_docs/API_docs_v42/types/ReceivedNotifyMessage.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->receivedMessages](../methods/messages_receivedMessages.md) +[$MadelineProto->messages->receivedMessages](../methods/messages.receivedMessages.md) diff --git a/old_docs/API_docs_v42/types/Updates.md b/old_docs/API_docs_v42/types/Updates.md index b3427003..edac3968 100644 --- a/old_docs/API_docs_v42/types/Updates.md +++ b/old_docs/API_docs_v42/types/Updates.md @@ -28,53 +28,53 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->sendMessage](../methods/messages_sendMessage.md) +[$MadelineProto->messages->sendMessage](../methods/messages.sendMessage.md) -[$MadelineProto->messages->sendMedia](../methods/messages_sendMedia.md) +[$MadelineProto->messages->sendMedia](../methods/messages.sendMedia.md) -[$MadelineProto->messages->forwardMessages](../methods/messages_forwardMessages.md) +[$MadelineProto->messages->forwardMessages](../methods/messages.forwardMessages.md) -[$MadelineProto->messages->editChatTitle](../methods/messages_editChatTitle.md) +[$MadelineProto->messages->editChatTitle](../methods/messages.editChatTitle.md) -[$MadelineProto->messages->editChatPhoto](../methods/messages_editChatPhoto.md) +[$MadelineProto->messages->editChatPhoto](../methods/messages.editChatPhoto.md) -[$MadelineProto->messages->addChatUser](../methods/messages_addChatUser.md) +[$MadelineProto->messages->addChatUser](../methods/messages.addChatUser.md) -[$MadelineProto->messages->deleteChatUser](../methods/messages_deleteChatUser.md) +[$MadelineProto->messages->deleteChatUser](../methods/messages.deleteChatUser.md) -[$MadelineProto->messages->createChat](../methods/messages_createChat.md) +[$MadelineProto->messages->createChat](../methods/messages.createChat.md) -[$MadelineProto->messages->forwardMessage](../methods/messages_forwardMessage.md) +[$MadelineProto->messages->forwardMessage](../methods/messages.forwardMessage.md) -[$MadelineProto->messages->sendBroadcast](../methods/messages_sendBroadcast.md) +[$MadelineProto->messages->sendBroadcast](../methods/messages.sendBroadcast.md) -[$MadelineProto->messages->importChatInvite](../methods/messages_importChatInvite.md) +[$MadelineProto->messages->importChatInvite](../methods/messages.importChatInvite.md) -[$MadelineProto->messages->startBot](../methods/messages_startBot.md) +[$MadelineProto->messages->startBot](../methods/messages.startBot.md) -[$MadelineProto->channels->createChannel](../methods/channels_createChannel.md) +[$MadelineProto->channels->createChannel](../methods/channels.createChannel.md) -[$MadelineProto->channels->editAdmin](../methods/channels_editAdmin.md) +[$MadelineProto->channels->editAdmin](../methods/channels.editAdmin.md) -[$MadelineProto->channels->editTitle](../methods/channels_editTitle.md) +[$MadelineProto->channels->editTitle](../methods/channels.editTitle.md) -[$MadelineProto->channels->editPhoto](../methods/channels_editPhoto.md) +[$MadelineProto->channels->editPhoto](../methods/channels.editPhoto.md) -[$MadelineProto->channels->toggleComments](../methods/channels_toggleComments.md) +[$MadelineProto->channels->toggleComments](../methods/channels.toggleComments.md) -[$MadelineProto->channels->joinChannel](../methods/channels_joinChannel.md) +[$MadelineProto->channels->joinChannel](../methods/channels.joinChannel.md) -[$MadelineProto->channels->leaveChannel](../methods/channels_leaveChannel.md) +[$MadelineProto->channels->leaveChannel](../methods/channels.leaveChannel.md) -[$MadelineProto->channels->inviteToChannel](../methods/channels_inviteToChannel.md) +[$MadelineProto->channels->inviteToChannel](../methods/channels.inviteToChannel.md) -[$MadelineProto->channels->kickFromChannel](../methods/channels_kickFromChannel.md) +[$MadelineProto->channels->kickFromChannel](../methods/channels.kickFromChannel.md) -[$MadelineProto->channels->deleteChannel](../methods/channels_deleteChannel.md) +[$MadelineProto->channels->deleteChannel](../methods/channels.deleteChannel.md) -[$MadelineProto->messages->toggleChatAdmins](../methods/messages_toggleChatAdmins.md) +[$MadelineProto->messages->toggleChatAdmins](../methods/messages.toggleChatAdmins.md) -[$MadelineProto->messages->migrateChat](../methods/messages_migrateChat.md) +[$MadelineProto->messages->migrateChat](../methods/messages.migrateChat.md) diff --git a/old_docs/API_docs_v42/types/User.md b/old_docs/API_docs_v42/types/User.md index b145a3f8..30349c87 100644 --- a/old_docs/API_docs_v42/types/User.md +++ b/old_docs/API_docs_v42/types/User.md @@ -42,15 +42,15 @@ A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDia ### Methods that return an object of this type (methods): -[$MadelineProto->account->updateProfile](../methods/account_updateProfile.md) +[$MadelineProto->account->updateProfile](../methods/account.updateProfile.md) -[$MadelineProto->users->getUsers](../methods/users_getUsers.md) +[$MadelineProto->users->getUsers](../methods/users.getUsers.md) -[$MadelineProto->contacts->importCard](../methods/contacts_importCard.md) +[$MadelineProto->contacts->importCard](../methods/contacts.importCard.md) -[$MadelineProto->account->updateUsername](../methods/account_updateUsername.md) +[$MadelineProto->account->updateUsername](../methods/account.updateUsername.md) -[$MadelineProto->account->changePhone](../methods/account_changePhone.md) +[$MadelineProto->account->changePhone](../methods/account.changePhone.md) diff --git a/old_docs/API_docs_v42/types/UserFull.md b/old_docs/API_docs_v42/types/UserFull.md index 79ad30bb..ac50052f 100644 --- a/old_docs/API_docs_v42/types/UserFull.md +++ b/old_docs/API_docs_v42/types/UserFull.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->users->getFullUser](../methods/users_getFullUser.md) +[$MadelineProto->users->getFullUser](../methods/users.getFullUser.md) diff --git a/old_docs/API_docs_v42/types/UserProfilePhoto.md b/old_docs/API_docs_v42/types/UserProfilePhoto.md index e5243a2e..e81e92fd 100644 --- a/old_docs/API_docs_v42/types/UserProfilePhoto.md +++ b/old_docs/API_docs_v42/types/UserProfilePhoto.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->photos->updateProfilePhoto](../methods/photos_updateProfilePhoto.md) +[$MadelineProto->photos->updateProfilePhoto](../methods/photos.updateProfilePhoto.md) diff --git a/old_docs/API_docs_v42/types/WallPaper.md b/old_docs/API_docs_v42/types/WallPaper.md index 8c5ac7cf..45337565 100644 --- a/old_docs/API_docs_v42/types/WallPaper.md +++ b/old_docs/API_docs_v42/types/WallPaper.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->account->getWallPapers](../methods/account_getWallPapers.md) +[$MadelineProto->account->getWallPapers](../methods/account.getWallPapers.md) diff --git a/old_docs/API_docs_v42/types/account.Authorizations.md b/old_docs/API_docs_v42/types/account.Authorizations.md new file mode 100644 index 00000000..f9112038 --- /dev/null +++ b/old_docs/API_docs_v42/types/account.Authorizations.md @@ -0,0 +1,22 @@ +--- +title: account.Authorizations +description: constructors and methods of type account.Authorizations +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.Authorizations +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.authorizations](../constructors/account.authorizations.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getAuthorizations](../methods/account.getAuthorizations.md) + + + diff --git a/old_docs/API_docs_v42/types/account.Password.md b/old_docs/API_docs_v42/types/account.Password.md new file mode 100644 index 00000000..5217ab5e --- /dev/null +++ b/old_docs/API_docs_v42/types/account.Password.md @@ -0,0 +1,24 @@ +--- +title: account.Password +description: constructors and methods of type account.Password +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.Password +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.noPassword](../constructors/account.noPassword.md) + +[account.password](../constructors/account.password.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getPassword](../methods/account.getPassword.md) + + + diff --git a/old_docs/API_docs_v42/types/account.PasswordInputSettings.md b/old_docs/API_docs_v42/types/account.PasswordInputSettings.md new file mode 100644 index 00000000..72e11fdc --- /dev/null +++ b/old_docs/API_docs_v42/types/account.PasswordInputSettings.md @@ -0,0 +1,20 @@ +--- +title: account.PasswordInputSettings +description: constructors and methods of type account.PasswordInputSettings +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.PasswordInputSettings +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.passwordInputSettings](../constructors/account.passwordInputSettings.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v42/types/account.PasswordSettings.md b/old_docs/API_docs_v42/types/account.PasswordSettings.md new file mode 100644 index 00000000..47016832 --- /dev/null +++ b/old_docs/API_docs_v42/types/account.PasswordSettings.md @@ -0,0 +1,22 @@ +--- +title: account.PasswordSettings +description: constructors and methods of type account.PasswordSettings +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.PasswordSettings +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.passwordSettings](../constructors/account.passwordSettings.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getPasswordSettings](../methods/account.getPasswordSettings.md) + + + diff --git a/old_docs/API_docs_v42/types/account.PrivacyRules.md b/old_docs/API_docs_v42/types/account.PrivacyRules.md new file mode 100644 index 00000000..738651ad --- /dev/null +++ b/old_docs/API_docs_v42/types/account.PrivacyRules.md @@ -0,0 +1,24 @@ +--- +title: account.PrivacyRules +description: constructors and methods of type account.PrivacyRules +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.PrivacyRules +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.privacyRules](../constructors/account.privacyRules.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getPrivacy](../methods/account.getPrivacy.md) + +[$MadelineProto->account->setPrivacy](../methods/account.setPrivacy.md) + + + diff --git a/old_docs/API_docs_v42/types/account.SentChangePhoneCode.md b/old_docs/API_docs_v42/types/account.SentChangePhoneCode.md new file mode 100644 index 00000000..659b0feb --- /dev/null +++ b/old_docs/API_docs_v42/types/account.SentChangePhoneCode.md @@ -0,0 +1,22 @@ +--- +title: account.SentChangePhoneCode +description: constructors and methods of type account.SentChangePhoneCode +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.SentChangePhoneCode +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.sentChangePhoneCode](../constructors/account.sentChangePhoneCode.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->sendChangePhoneCode](../methods/account.sendChangePhoneCode.md) + + + diff --git a/old_docs/API_docs_v42/types/account_Authorizations.md b/old_docs/API_docs_v42/types/account_Authorizations.md deleted file mode 100644 index 4709ddb5..00000000 --- a/old_docs/API_docs_v42/types/account_Authorizations.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_Authorizations -description: constructors and methods of type account_Authorizations -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_Authorizations -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_authorizations](../constructors/account_authorizations.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getAuthorizations](../methods/account_getAuthorizations.md) - - - diff --git a/old_docs/API_docs_v42/types/account_Password.md b/old_docs/API_docs_v42/types/account_Password.md deleted file mode 100644 index 23e05987..00000000 --- a/old_docs/API_docs_v42/types/account_Password.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: account_Password -description: constructors and methods of type account_Password -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_Password -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_noPassword](../constructors/account_noPassword.md) - -[account\_password](../constructors/account_password.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getPassword](../methods/account_getPassword.md) - - - diff --git a/old_docs/API_docs_v42/types/account_PasswordInputSettings.md b/old_docs/API_docs_v42/types/account_PasswordInputSettings.md deleted file mode 100644 index a6455eb8..00000000 --- a/old_docs/API_docs_v42/types/account_PasswordInputSettings.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: account_PasswordInputSettings -description: constructors and methods of type account_PasswordInputSettings -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_PasswordInputSettings -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_passwordInputSettings](../constructors/account_passwordInputSettings.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v42/types/account_PasswordSettings.md b/old_docs/API_docs_v42/types/account_PasswordSettings.md deleted file mode 100644 index 687eb217..00000000 --- a/old_docs/API_docs_v42/types/account_PasswordSettings.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_PasswordSettings -description: constructors and methods of type account_PasswordSettings -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_PasswordSettings -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_passwordSettings](../constructors/account_passwordSettings.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getPasswordSettings](../methods/account_getPasswordSettings.md) - - - diff --git a/old_docs/API_docs_v42/types/account_PrivacyRules.md b/old_docs/API_docs_v42/types/account_PrivacyRules.md deleted file mode 100644 index 40b00077..00000000 --- a/old_docs/API_docs_v42/types/account_PrivacyRules.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: account_PrivacyRules -description: constructors and methods of type account_PrivacyRules -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_PrivacyRules -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_privacyRules](../constructors/account_privacyRules.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getPrivacy](../methods/account_getPrivacy.md) - -[$MadelineProto->account->setPrivacy](../methods/account_setPrivacy.md) - - - diff --git a/old_docs/API_docs_v42/types/account_SentChangePhoneCode.md b/old_docs/API_docs_v42/types/account_SentChangePhoneCode.md deleted file mode 100644 index ead3e28c..00000000 --- a/old_docs/API_docs_v42/types/account_SentChangePhoneCode.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_SentChangePhoneCode -description: constructors and methods of type account_SentChangePhoneCode -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_SentChangePhoneCode -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_sentChangePhoneCode](../constructors/account_sentChangePhoneCode.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->sendChangePhoneCode](../methods/account_sendChangePhoneCode.md) - - - diff --git a/old_docs/API_docs_v42/types/auth.Authorization.md b/old_docs/API_docs_v42/types/auth.Authorization.md new file mode 100644 index 00000000..adcfa7d3 --- /dev/null +++ b/old_docs/API_docs_v42/types/auth.Authorization.md @@ -0,0 +1,32 @@ +--- +title: auth.Authorization +description: constructors and methods of type auth.Authorization +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.Authorization +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.authorization](../constructors/auth.authorization.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->signUp](../methods/auth.signUp.md) + +[$MadelineProto->auth->signIn](../methods/auth.signIn.md) + +[$MadelineProto->auth->importAuthorization](../methods/auth.importAuthorization.md) + +[$MadelineProto->auth->importBotAuthorization](../methods/auth.importBotAuthorization.md) + +[$MadelineProto->auth->checkPassword](../methods/auth.checkPassword.md) + +[$MadelineProto->auth->recoverPassword](../methods/auth.recoverPassword.md) + + + diff --git a/old_docs/API_docs_v42/types/auth.CheckedPhone.md b/old_docs/API_docs_v42/types/auth.CheckedPhone.md new file mode 100644 index 00000000..94af3915 --- /dev/null +++ b/old_docs/API_docs_v42/types/auth.CheckedPhone.md @@ -0,0 +1,22 @@ +--- +title: auth.CheckedPhone +description: constructors and methods of type auth.CheckedPhone +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.CheckedPhone +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.checkedPhone](../constructors/auth.checkedPhone.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->checkPhone](../methods/auth.checkPhone.md) + + + diff --git a/old_docs/API_docs_v42/types/auth.ExportedAuthorization.md b/old_docs/API_docs_v42/types/auth.ExportedAuthorization.md new file mode 100644 index 00000000..ccb38d60 --- /dev/null +++ b/old_docs/API_docs_v42/types/auth.ExportedAuthorization.md @@ -0,0 +1,22 @@ +--- +title: auth.ExportedAuthorization +description: constructors and methods of type auth.ExportedAuthorization +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.ExportedAuthorization +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.exportedAuthorization](../constructors/auth.exportedAuthorization.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->exportAuthorization](../methods/auth.exportAuthorization.md) + + + diff --git a/old_docs/API_docs_v42/types/auth.PasswordRecovery.md b/old_docs/API_docs_v42/types/auth.PasswordRecovery.md new file mode 100644 index 00000000..c1c18992 --- /dev/null +++ b/old_docs/API_docs_v42/types/auth.PasswordRecovery.md @@ -0,0 +1,22 @@ +--- +title: auth.PasswordRecovery +description: constructors and methods of type auth.PasswordRecovery +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.PasswordRecovery +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.passwordRecovery](../constructors/auth.passwordRecovery.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->requestPasswordRecovery](../methods/auth.requestPasswordRecovery.md) + + + diff --git a/old_docs/API_docs_v42/types/auth.SentCode.md b/old_docs/API_docs_v42/types/auth.SentCode.md new file mode 100644 index 00000000..9fd32a73 --- /dev/null +++ b/old_docs/API_docs_v42/types/auth.SentCode.md @@ -0,0 +1,24 @@ +--- +title: auth.SentCode +description: constructors and methods of type auth.SentCode +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.SentCode +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.sentCode](../constructors/auth.sentCode.md) + +[auth.sentAppCode](../constructors/auth.sentAppCode.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->sendCode](../methods/auth.sendCode.md) + + + diff --git a/old_docs/API_docs_v42/types/auth_Authorization.md b/old_docs/API_docs_v42/types/auth_Authorization.md deleted file mode 100644 index 5a34fc2d..00000000 --- a/old_docs/API_docs_v42/types/auth_Authorization.md +++ /dev/null @@ -1,32 +0,0 @@ ---- -title: auth_Authorization -description: constructors and methods of type auth_Authorization -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_Authorization -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_authorization](../constructors/auth_authorization.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->signUp](../methods/auth_signUp.md) - -[$MadelineProto->auth->signIn](../methods/auth_signIn.md) - -[$MadelineProto->auth->importAuthorization](../methods/auth_importAuthorization.md) - -[$MadelineProto->auth->importBotAuthorization](../methods/auth_importBotAuthorization.md) - -[$MadelineProto->auth->checkPassword](../methods/auth_checkPassword.md) - -[$MadelineProto->auth->recoverPassword](../methods/auth_recoverPassword.md) - - - diff --git a/old_docs/API_docs_v42/types/auth_CheckedPhone.md b/old_docs/API_docs_v42/types/auth_CheckedPhone.md deleted file mode 100644 index e9b0def4..00000000 --- a/old_docs/API_docs_v42/types/auth_CheckedPhone.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: auth_CheckedPhone -description: constructors and methods of type auth_CheckedPhone -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_CheckedPhone -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_checkedPhone](../constructors/auth_checkedPhone.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->checkPhone](../methods/auth_checkPhone.md) - - - diff --git a/old_docs/API_docs_v42/types/auth_ExportedAuthorization.md b/old_docs/API_docs_v42/types/auth_ExportedAuthorization.md deleted file mode 100644 index 69e5c42e..00000000 --- a/old_docs/API_docs_v42/types/auth_ExportedAuthorization.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: auth_ExportedAuthorization -description: constructors and methods of type auth_ExportedAuthorization -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_ExportedAuthorization -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_exportedAuthorization](../constructors/auth_exportedAuthorization.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->exportAuthorization](../methods/auth_exportAuthorization.md) - - - diff --git a/old_docs/API_docs_v42/types/auth_PasswordRecovery.md b/old_docs/API_docs_v42/types/auth_PasswordRecovery.md deleted file mode 100644 index 4962bf42..00000000 --- a/old_docs/API_docs_v42/types/auth_PasswordRecovery.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: auth_PasswordRecovery -description: constructors and methods of type auth_PasswordRecovery -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_PasswordRecovery -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_passwordRecovery](../constructors/auth_passwordRecovery.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->requestPasswordRecovery](../methods/auth_requestPasswordRecovery.md) - - - diff --git a/old_docs/API_docs_v42/types/auth_SentCode.md b/old_docs/API_docs_v42/types/auth_SentCode.md deleted file mode 100644 index 85b8d351..00000000 --- a/old_docs/API_docs_v42/types/auth_SentCode.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: auth_SentCode -description: constructors and methods of type auth_SentCode -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_SentCode -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_sentCode](../constructors/auth_sentCode.md) - -[auth\_sentAppCode](../constructors/auth_sentAppCode.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->sendCode](../methods/auth_sendCode.md) - - - diff --git a/old_docs/API_docs_v42/types/channels.ChannelParticipant.md b/old_docs/API_docs_v42/types/channels.ChannelParticipant.md new file mode 100644 index 00000000..8dc7f7e6 --- /dev/null +++ b/old_docs/API_docs_v42/types/channels.ChannelParticipant.md @@ -0,0 +1,22 @@ +--- +title: channels.ChannelParticipant +description: constructors and methods of type channels.ChannelParticipant +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: channels.ChannelParticipant +[Back to types index](index.md) + + + +### Possible values (constructors): + +[channels.channelParticipant](../constructors/channels.channelParticipant.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->channels->getParticipant](../methods/channels.getParticipant.md) + + + diff --git a/old_docs/API_docs_v42/types/channels.ChannelParticipants.md b/old_docs/API_docs_v42/types/channels.ChannelParticipants.md new file mode 100644 index 00000000..996ab6a6 --- /dev/null +++ b/old_docs/API_docs_v42/types/channels.ChannelParticipants.md @@ -0,0 +1,22 @@ +--- +title: channels.ChannelParticipants +description: constructors and methods of type channels.ChannelParticipants +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: channels.ChannelParticipants +[Back to types index](index.md) + + + +### Possible values (constructors): + +[channels.channelParticipants](../constructors/channels.channelParticipants.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->channels->getParticipants](../methods/channels.getParticipants.md) + + + diff --git a/old_docs/API_docs_v42/types/channels_ChannelParticipant.md b/old_docs/API_docs_v42/types/channels_ChannelParticipant.md deleted file mode 100644 index 3d4667c3..00000000 --- a/old_docs/API_docs_v42/types/channels_ChannelParticipant.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: channels_ChannelParticipant -description: constructors and methods of type channels_ChannelParticipant -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: channels\_ChannelParticipant -[Back to types index](index.md) - - - -### Possible values (constructors): - -[channels\_channelParticipant](../constructors/channels_channelParticipant.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->channels->getParticipant](../methods/channels_getParticipant.md) - - - diff --git a/old_docs/API_docs_v42/types/channels_ChannelParticipants.md b/old_docs/API_docs_v42/types/channels_ChannelParticipants.md deleted file mode 100644 index 0500c2cb..00000000 --- a/old_docs/API_docs_v42/types/channels_ChannelParticipants.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: channels_ChannelParticipants -description: constructors and methods of type channels_ChannelParticipants -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: channels\_ChannelParticipants -[Back to types index](index.md) - - - -### Possible values (constructors): - -[channels\_channelParticipants](../constructors/channels_channelParticipants.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->channels->getParticipants](../methods/channels_getParticipants.md) - - - diff --git a/old_docs/API_docs_v42/types/contacts.Blocked.md b/old_docs/API_docs_v42/types/contacts.Blocked.md new file mode 100644 index 00000000..cb2af80f --- /dev/null +++ b/old_docs/API_docs_v42/types/contacts.Blocked.md @@ -0,0 +1,24 @@ +--- +title: contacts.Blocked +description: constructors and methods of type contacts.Blocked +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Blocked +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.blocked](../constructors/contacts.blocked.md) + +[contacts.blockedSlice](../constructors/contacts.blockedSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getBlocked](../methods/contacts.getBlocked.md) + + + diff --git a/old_docs/API_docs_v42/types/contacts.Contacts.md b/old_docs/API_docs_v42/types/contacts.Contacts.md new file mode 100644 index 00000000..5f695d8e --- /dev/null +++ b/old_docs/API_docs_v42/types/contacts.Contacts.md @@ -0,0 +1,24 @@ +--- +title: contacts.Contacts +description: constructors and methods of type contacts.Contacts +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Contacts +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.contactsNotModified](../constructors/contacts.contactsNotModified.md) + +[contacts.contacts](../constructors/contacts.contacts.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getContacts](../methods/contacts.getContacts.md) + + + diff --git a/old_docs/API_docs_v42/types/contacts.Found.md b/old_docs/API_docs_v42/types/contacts.Found.md new file mode 100644 index 00000000..7df98927 --- /dev/null +++ b/old_docs/API_docs_v42/types/contacts.Found.md @@ -0,0 +1,22 @@ +--- +title: contacts.Found +description: constructors and methods of type contacts.Found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Found +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.found](../constructors/contacts.found.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->search](../methods/contacts.search.md) + + + diff --git a/old_docs/API_docs_v42/types/contacts.ImportedContacts.md b/old_docs/API_docs_v42/types/contacts.ImportedContacts.md new file mode 100644 index 00000000..16795bab --- /dev/null +++ b/old_docs/API_docs_v42/types/contacts.ImportedContacts.md @@ -0,0 +1,22 @@ +--- +title: contacts.ImportedContacts +description: constructors and methods of type contacts.ImportedContacts +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.ImportedContacts +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.importedContacts](../constructors/contacts.importedContacts.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->importContacts](../methods/contacts.importContacts.md) + + + diff --git a/old_docs/API_docs_v42/types/contacts.Link.md b/old_docs/API_docs_v42/types/contacts.Link.md new file mode 100644 index 00000000..eb9da683 --- /dev/null +++ b/old_docs/API_docs_v42/types/contacts.Link.md @@ -0,0 +1,22 @@ +--- +title: contacts.Link +description: constructors and methods of type contacts.Link +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Link +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.link](../constructors/contacts.link.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->deleteContact](../methods/contacts.deleteContact.md) + + + diff --git a/old_docs/API_docs_v42/types/contacts.ResolvedPeer.md b/old_docs/API_docs_v42/types/contacts.ResolvedPeer.md new file mode 100644 index 00000000..13630d54 --- /dev/null +++ b/old_docs/API_docs_v42/types/contacts.ResolvedPeer.md @@ -0,0 +1,22 @@ +--- +title: contacts.ResolvedPeer +description: constructors and methods of type contacts.ResolvedPeer +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.ResolvedPeer +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.resolvedPeer](../constructors/contacts.resolvedPeer.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->resolveUsername](../methods/contacts.resolveUsername.md) + + + diff --git a/old_docs/API_docs_v42/types/contacts.Suggested.md b/old_docs/API_docs_v42/types/contacts.Suggested.md new file mode 100644 index 00000000..a462dae5 --- /dev/null +++ b/old_docs/API_docs_v42/types/contacts.Suggested.md @@ -0,0 +1,22 @@ +--- +title: contacts.Suggested +description: constructors and methods of type contacts.Suggested +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Suggested +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.suggested](../constructors/contacts.suggested.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getSuggested](../methods/contacts.getSuggested.md) + + + diff --git a/old_docs/API_docs_v42/types/contacts_Blocked.md b/old_docs/API_docs_v42/types/contacts_Blocked.md deleted file mode 100644 index 3e1f02eb..00000000 --- a/old_docs/API_docs_v42/types/contacts_Blocked.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: contacts_Blocked -description: constructors and methods of type contacts_Blocked -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Blocked -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_blocked](../constructors/contacts_blocked.md) - -[contacts\_blockedSlice](../constructors/contacts_blockedSlice.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->getBlocked](../methods/contacts_getBlocked.md) - - - diff --git a/old_docs/API_docs_v42/types/contacts_Contacts.md b/old_docs/API_docs_v42/types/contacts_Contacts.md deleted file mode 100644 index 5d6c9506..00000000 --- a/old_docs/API_docs_v42/types/contacts_Contacts.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: contacts_Contacts -description: constructors and methods of type contacts_Contacts -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Contacts -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_contactsNotModified](../constructors/contacts_contactsNotModified.md) - -[contacts\_contacts](../constructors/contacts_contacts.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->getContacts](../methods/contacts_getContacts.md) - - - diff --git a/old_docs/API_docs_v42/types/contacts_Found.md b/old_docs/API_docs_v42/types/contacts_Found.md deleted file mode 100644 index 806101cf..00000000 --- a/old_docs/API_docs_v42/types/contacts_Found.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_Found -description: constructors and methods of type contacts_Found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Found -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_found](../constructors/contacts_found.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->search](../methods/contacts_search.md) - - - diff --git a/old_docs/API_docs_v42/types/contacts_ImportedContacts.md b/old_docs/API_docs_v42/types/contacts_ImportedContacts.md deleted file mode 100644 index faf7e615..00000000 --- a/old_docs/API_docs_v42/types/contacts_ImportedContacts.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_ImportedContacts -description: constructors and methods of type contacts_ImportedContacts -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_ImportedContacts -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_importedContacts](../constructors/contacts_importedContacts.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->importContacts](../methods/contacts_importContacts.md) - - - diff --git a/old_docs/API_docs_v42/types/contacts_Link.md b/old_docs/API_docs_v42/types/contacts_Link.md deleted file mode 100644 index 01556606..00000000 --- a/old_docs/API_docs_v42/types/contacts_Link.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_Link -description: constructors and methods of type contacts_Link -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Link -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_link](../constructors/contacts_link.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->deleteContact](../methods/contacts_deleteContact.md) - - - diff --git a/old_docs/API_docs_v42/types/contacts_ResolvedPeer.md b/old_docs/API_docs_v42/types/contacts_ResolvedPeer.md deleted file mode 100644 index cf107f7c..00000000 --- a/old_docs/API_docs_v42/types/contacts_ResolvedPeer.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_ResolvedPeer -description: constructors and methods of type contacts_ResolvedPeer -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_ResolvedPeer -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_resolvedPeer](../constructors/contacts_resolvedPeer.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->resolveUsername](../methods/contacts_resolveUsername.md) - - - diff --git a/old_docs/API_docs_v42/types/contacts_Suggested.md b/old_docs/API_docs_v42/types/contacts_Suggested.md deleted file mode 100644 index dd597b3b..00000000 --- a/old_docs/API_docs_v42/types/contacts_Suggested.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_Suggested -description: constructors and methods of type contacts_Suggested -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Suggested -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_suggested](../constructors/contacts_suggested.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->getSuggested](../methods/contacts_getSuggested.md) - - - diff --git a/old_docs/API_docs_v42/types/help.AppChangelog.md b/old_docs/API_docs_v42/types/help.AppChangelog.md new file mode 100644 index 00000000..71584fdc --- /dev/null +++ b/old_docs/API_docs_v42/types/help.AppChangelog.md @@ -0,0 +1,24 @@ +--- +title: help.AppChangelog +description: constructors and methods of type help.AppChangelog +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.AppChangelog +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.appChangelogEmpty](../constructors/help.appChangelogEmpty.md) + +[help.appChangelog](../constructors/help.appChangelog.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getAppChangelog](../methods/help.getAppChangelog.md) + + + diff --git a/old_docs/API_docs_v42/types/help.AppUpdate.md b/old_docs/API_docs_v42/types/help.AppUpdate.md new file mode 100644 index 00000000..285ec2b7 --- /dev/null +++ b/old_docs/API_docs_v42/types/help.AppUpdate.md @@ -0,0 +1,24 @@ +--- +title: help.AppUpdate +description: constructors and methods of type help.AppUpdate +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.AppUpdate +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.appUpdate](../constructors/help.appUpdate.md) + +[help.noAppUpdate](../constructors/help.noAppUpdate.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getAppUpdate](../methods/help.getAppUpdate.md) + + + diff --git a/old_docs/API_docs_v42/types/help.InviteText.md b/old_docs/API_docs_v42/types/help.InviteText.md new file mode 100644 index 00000000..43293f46 --- /dev/null +++ b/old_docs/API_docs_v42/types/help.InviteText.md @@ -0,0 +1,22 @@ +--- +title: help.InviteText +description: constructors and methods of type help.InviteText +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.InviteText +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.inviteText](../constructors/help.inviteText.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getInviteText](../methods/help.getInviteText.md) + + + diff --git a/old_docs/API_docs_v42/types/help.Support.md b/old_docs/API_docs_v42/types/help.Support.md new file mode 100644 index 00000000..42c20483 --- /dev/null +++ b/old_docs/API_docs_v42/types/help.Support.md @@ -0,0 +1,22 @@ +--- +title: help.Support +description: constructors and methods of type help.Support +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.Support +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.support](../constructors/help.support.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getSupport](../methods/help.getSupport.md) + + + diff --git a/old_docs/API_docs_v42/types/help_AppChangelog.md b/old_docs/API_docs_v42/types/help_AppChangelog.md deleted file mode 100644 index 350cb644..00000000 --- a/old_docs/API_docs_v42/types/help_AppChangelog.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: help_AppChangelog -description: constructors and methods of type help_AppChangelog -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_AppChangelog -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_appChangelogEmpty](../constructors/help_appChangelogEmpty.md) - -[help\_appChangelog](../constructors/help_appChangelog.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getAppChangelog](../methods/help_getAppChangelog.md) - - - diff --git a/old_docs/API_docs_v42/types/help_AppUpdate.md b/old_docs/API_docs_v42/types/help_AppUpdate.md deleted file mode 100644 index 1f296a70..00000000 --- a/old_docs/API_docs_v42/types/help_AppUpdate.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: help_AppUpdate -description: constructors and methods of type help_AppUpdate -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_AppUpdate -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_appUpdate](../constructors/help_appUpdate.md) - -[help\_noAppUpdate](../constructors/help_noAppUpdate.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getAppUpdate](../methods/help_getAppUpdate.md) - - - diff --git a/old_docs/API_docs_v42/types/help_InviteText.md b/old_docs/API_docs_v42/types/help_InviteText.md deleted file mode 100644 index 018d35bf..00000000 --- a/old_docs/API_docs_v42/types/help_InviteText.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: help_InviteText -description: constructors and methods of type help_InviteText -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_InviteText -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_inviteText](../constructors/help_inviteText.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getInviteText](../methods/help_getInviteText.md) - - - diff --git a/old_docs/API_docs_v42/types/help_Support.md b/old_docs/API_docs_v42/types/help_Support.md deleted file mode 100644 index 26de447b..00000000 --- a/old_docs/API_docs_v42/types/help_Support.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: help_Support -description: constructors and methods of type help_Support -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_Support -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_support](../constructors/help_support.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getSupport](../methods/help_getSupport.md) - - - diff --git a/old_docs/API_docs_v42/types/messages.AffectedHistory.md b/old_docs/API_docs_v42/types/messages.AffectedHistory.md new file mode 100644 index 00000000..f0411b4d --- /dev/null +++ b/old_docs/API_docs_v42/types/messages.AffectedHistory.md @@ -0,0 +1,24 @@ +--- +title: messages.AffectedHistory +description: constructors and methods of type messages.AffectedHistory +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.AffectedHistory +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.affectedHistory](../constructors/messages.affectedHistory.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->deleteHistory](../methods/messages.deleteHistory.md) + +[$MadelineProto->channels->deleteUserHistory](../methods/channels.deleteUserHistory.md) + + + diff --git a/old_docs/API_docs_v42/types/messages.AffectedMessages.md b/old_docs/API_docs_v42/types/messages.AffectedMessages.md new file mode 100644 index 00000000..a9159de3 --- /dev/null +++ b/old_docs/API_docs_v42/types/messages.AffectedMessages.md @@ -0,0 +1,28 @@ +--- +title: messages.AffectedMessages +description: constructors and methods of type messages.AffectedMessages +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.AffectedMessages +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.affectedMessages](../constructors/messages.affectedMessages.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->readHistory](../methods/messages.readHistory.md) + +[$MadelineProto->messages->deleteMessages](../methods/messages.deleteMessages.md) + +[$MadelineProto->messages->readMessageContents](../methods/messages.readMessageContents.md) + +[$MadelineProto->channels->deleteMessages](../methods/channels.deleteMessages.md) + + + diff --git a/old_docs/API_docs_v42/types/messages.AllStickers.md b/old_docs/API_docs_v42/types/messages.AllStickers.md new file mode 100644 index 00000000..5ece92c0 --- /dev/null +++ b/old_docs/API_docs_v42/types/messages.AllStickers.md @@ -0,0 +1,24 @@ +--- +title: messages.AllStickers +description: constructors and methods of type messages.AllStickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.AllStickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.allStickersNotModified](../constructors/messages.allStickersNotModified.md) + +[messages.allStickers](../constructors/messages.allStickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getAllStickers](../methods/messages.getAllStickers.md) + + + diff --git a/old_docs/API_docs_v42/types/messages.ChatFull.md b/old_docs/API_docs_v42/types/messages.ChatFull.md new file mode 100644 index 00000000..3ad38748 --- /dev/null +++ b/old_docs/API_docs_v42/types/messages.ChatFull.md @@ -0,0 +1,24 @@ +--- +title: messages.ChatFull +description: constructors and methods of type messages.ChatFull +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.ChatFull +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.chatFull](../constructors/messages.chatFull.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getFullChat](../methods/messages.getFullChat.md) + +[$MadelineProto->channels->getFullChannel](../methods/channels.getFullChannel.md) + + + diff --git a/old_docs/API_docs_v42/types/messages.Chats.md b/old_docs/API_docs_v42/types/messages.Chats.md new file mode 100644 index 00000000..c2bfab5d --- /dev/null +++ b/old_docs/API_docs_v42/types/messages.Chats.md @@ -0,0 +1,24 @@ +--- +title: messages.Chats +description: constructors and methods of type messages.Chats +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Chats +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.chats](../constructors/messages.chats.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getChats](../methods/messages.getChats.md) + +[$MadelineProto->channels->getChannels](../methods/channels.getChannels.md) + + + diff --git a/old_docs/API_docs_v42/types/messages.DhConfig.md b/old_docs/API_docs_v42/types/messages.DhConfig.md new file mode 100644 index 00000000..77188ab7 --- /dev/null +++ b/old_docs/API_docs_v42/types/messages.DhConfig.md @@ -0,0 +1,24 @@ +--- +title: messages.DhConfig +description: constructors and methods of type messages.DhConfig +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.DhConfig +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.dhConfigNotModified](../constructors/messages.dhConfigNotModified.md) + +[messages.dhConfig](../constructors/messages.dhConfig.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getDhConfig](../methods/messages.getDhConfig.md) + + + diff --git a/old_docs/API_docs_v42/types/messages.Dialogs.md b/old_docs/API_docs_v42/types/messages.Dialogs.md new file mode 100644 index 00000000..f70ca7d8 --- /dev/null +++ b/old_docs/API_docs_v42/types/messages.Dialogs.md @@ -0,0 +1,26 @@ +--- +title: messages.Dialogs +description: constructors and methods of type messages.Dialogs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Dialogs +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.dialogs](../constructors/messages.dialogs.md) + +[messages.dialogsSlice](../constructors/messages.dialogsSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getDialogs](../methods/messages.getDialogs.md) + +[$MadelineProto->channels->getDialogs](../methods/channels.getDialogs.md) + + + diff --git a/old_docs/API_docs_v42/types/messages.Messages.md b/old_docs/API_docs_v42/types/messages.Messages.md new file mode 100644 index 00000000..181fbae5 --- /dev/null +++ b/old_docs/API_docs_v42/types/messages.Messages.md @@ -0,0 +1,36 @@ +--- +title: messages.Messages +description: constructors and methods of type messages.Messages +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Messages +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.messages](../constructors/messages.messages.md) + +[messages.messagesSlice](../constructors/messages.messagesSlice.md) + +[messages.channelMessages](../constructors/messages.channelMessages.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getMessages](../methods/messages.getMessages.md) + +[$MadelineProto->messages->getHistory](../methods/messages.getHistory.md) + +[$MadelineProto->messages->search](../methods/messages.search.md) + +[$MadelineProto->channels->getImportantHistory](../methods/channels.getImportantHistory.md) + +[$MadelineProto->channels->getMessages](../methods/channels.getMessages.md) + +[$MadelineProto->messages->searchGlobal](../methods/messages.searchGlobal.md) + + + diff --git a/old_docs/API_docs_v42/types/messages.SentEncryptedMessage.md b/old_docs/API_docs_v42/types/messages.SentEncryptedMessage.md new file mode 100644 index 00000000..b6d05b1f --- /dev/null +++ b/old_docs/API_docs_v42/types/messages.SentEncryptedMessage.md @@ -0,0 +1,28 @@ +--- +title: messages.SentEncryptedMessage +description: constructors and methods of type messages.SentEncryptedMessage +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.SentEncryptedMessage +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.sentEncryptedMessage](../constructors/messages.sentEncryptedMessage.md) + +[messages.sentEncryptedFile](../constructors/messages.sentEncryptedFile.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->sendEncrypted](../methods/messages.sendEncrypted.md) + +[$MadelineProto->messages->sendEncryptedFile](../methods/messages.sendEncryptedFile.md) + +[$MadelineProto->messages->sendEncryptedService](../methods/messages.sendEncryptedService.md) + + + diff --git a/old_docs/API_docs_v42/types/messages.StickerSet.md b/old_docs/API_docs_v42/types/messages.StickerSet.md new file mode 100644 index 00000000..8de24a76 --- /dev/null +++ b/old_docs/API_docs_v42/types/messages.StickerSet.md @@ -0,0 +1,22 @@ +--- +title: messages.StickerSet +description: constructors and methods of type messages.StickerSet +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.StickerSet +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.stickerSet](../constructors/messages.stickerSet.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getStickerSet](../methods/messages.getStickerSet.md) + + + diff --git a/old_docs/API_docs_v42/types/messages.Stickers.md b/old_docs/API_docs_v42/types/messages.Stickers.md new file mode 100644 index 00000000..43bddf06 --- /dev/null +++ b/old_docs/API_docs_v42/types/messages.Stickers.md @@ -0,0 +1,24 @@ +--- +title: messages.Stickers +description: constructors and methods of type messages.Stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Stickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.stickersNotModified](../constructors/messages.stickersNotModified.md) + +[messages.stickers](../constructors/messages.stickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getStickers](../methods/messages.getStickers.md) + + + diff --git a/old_docs/API_docs_v42/types/messages_AffectedHistory.md b/old_docs/API_docs_v42/types/messages_AffectedHistory.md deleted file mode 100644 index a2d75894..00000000 --- a/old_docs/API_docs_v42/types/messages_AffectedHistory.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_AffectedHistory -description: constructors and methods of type messages_AffectedHistory -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_AffectedHistory -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_affectedHistory](../constructors/messages_affectedHistory.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->deleteHistory](../methods/messages_deleteHistory.md) - -[$MadelineProto->channels->deleteUserHistory](../methods/channels_deleteUserHistory.md) - - - diff --git a/old_docs/API_docs_v42/types/messages_AffectedMessages.md b/old_docs/API_docs_v42/types/messages_AffectedMessages.md deleted file mode 100644 index dcbea721..00000000 --- a/old_docs/API_docs_v42/types/messages_AffectedMessages.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: messages_AffectedMessages -description: constructors and methods of type messages_AffectedMessages -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_AffectedMessages -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_affectedMessages](../constructors/messages_affectedMessages.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->readHistory](../methods/messages_readHistory.md) - -[$MadelineProto->messages->deleteMessages](../methods/messages_deleteMessages.md) - -[$MadelineProto->messages->readMessageContents](../methods/messages_readMessageContents.md) - -[$MadelineProto->channels->deleteMessages](../methods/channels_deleteMessages.md) - - - diff --git a/old_docs/API_docs_v42/types/messages_AllStickers.md b/old_docs/API_docs_v42/types/messages_AllStickers.md deleted file mode 100644 index 59d19759..00000000 --- a/old_docs/API_docs_v42/types/messages_AllStickers.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_AllStickers -description: constructors and methods of type messages_AllStickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_AllStickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_allStickersNotModified](../constructors/messages_allStickersNotModified.md) - -[messages\_allStickers](../constructors/messages_allStickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getAllStickers](../methods/messages_getAllStickers.md) - - - diff --git a/old_docs/API_docs_v42/types/messages_ChatFull.md b/old_docs/API_docs_v42/types/messages_ChatFull.md deleted file mode 100644 index e4add41e..00000000 --- a/old_docs/API_docs_v42/types/messages_ChatFull.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_ChatFull -description: constructors and methods of type messages_ChatFull -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_ChatFull -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_chatFull](../constructors/messages_chatFull.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getFullChat](../methods/messages_getFullChat.md) - -[$MadelineProto->channels->getFullChannel](../methods/channels_getFullChannel.md) - - - diff --git a/old_docs/API_docs_v42/types/messages_Chats.md b/old_docs/API_docs_v42/types/messages_Chats.md deleted file mode 100644 index 18b8c0d7..00000000 --- a/old_docs/API_docs_v42/types/messages_Chats.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_Chats -description: constructors and methods of type messages_Chats -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Chats -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_chats](../constructors/messages_chats.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getChats](../methods/messages_getChats.md) - -[$MadelineProto->channels->getChannels](../methods/channels_getChannels.md) - - - diff --git a/old_docs/API_docs_v42/types/messages_DhConfig.md b/old_docs/API_docs_v42/types/messages_DhConfig.md deleted file mode 100644 index ce237411..00000000 --- a/old_docs/API_docs_v42/types/messages_DhConfig.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_DhConfig -description: constructors and methods of type messages_DhConfig -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_DhConfig -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_dhConfigNotModified](../constructors/messages_dhConfigNotModified.md) - -[messages\_dhConfig](../constructors/messages_dhConfig.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getDhConfig](../methods/messages_getDhConfig.md) - - - diff --git a/old_docs/API_docs_v42/types/messages_Dialogs.md b/old_docs/API_docs_v42/types/messages_Dialogs.md deleted file mode 100644 index 188c4e55..00000000 --- a/old_docs/API_docs_v42/types/messages_Dialogs.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: messages_Dialogs -description: constructors and methods of type messages_Dialogs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Dialogs -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_dialogs](../constructors/messages_dialogs.md) - -[messages\_dialogsSlice](../constructors/messages_dialogsSlice.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getDialogs](../methods/messages_getDialogs.md) - -[$MadelineProto->channels->getDialogs](../methods/channels_getDialogs.md) - - - diff --git a/old_docs/API_docs_v42/types/messages_Messages.md b/old_docs/API_docs_v42/types/messages_Messages.md deleted file mode 100644 index 6c5cb04f..00000000 --- a/old_docs/API_docs_v42/types/messages_Messages.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -title: messages_Messages -description: constructors and methods of type messages_Messages -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Messages -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_messages](../constructors/messages_messages.md) - -[messages\_messagesSlice](../constructors/messages_messagesSlice.md) - -[messages\_channelMessages](../constructors/messages_channelMessages.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getMessages](../methods/messages_getMessages.md) - -[$MadelineProto->messages->getHistory](../methods/messages_getHistory.md) - -[$MadelineProto->messages->search](../methods/messages_search.md) - -[$MadelineProto->channels->getImportantHistory](../methods/channels_getImportantHistory.md) - -[$MadelineProto->channels->getMessages](../methods/channels_getMessages.md) - -[$MadelineProto->messages->searchGlobal](../methods/messages_searchGlobal.md) - - - diff --git a/old_docs/API_docs_v42/types/messages_SentEncryptedMessage.md b/old_docs/API_docs_v42/types/messages_SentEncryptedMessage.md deleted file mode 100644 index 9f7ab935..00000000 --- a/old_docs/API_docs_v42/types/messages_SentEncryptedMessage.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: messages_SentEncryptedMessage -description: constructors and methods of type messages_SentEncryptedMessage -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_SentEncryptedMessage -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_sentEncryptedMessage](../constructors/messages_sentEncryptedMessage.md) - -[messages\_sentEncryptedFile](../constructors/messages_sentEncryptedFile.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->sendEncrypted](../methods/messages_sendEncrypted.md) - -[$MadelineProto->messages->sendEncryptedFile](../methods/messages_sendEncryptedFile.md) - -[$MadelineProto->messages->sendEncryptedService](../methods/messages_sendEncryptedService.md) - - - diff --git a/old_docs/API_docs_v42/types/messages_StickerSet.md b/old_docs/API_docs_v42/types/messages_StickerSet.md deleted file mode 100644 index e04ee8bf..00000000 --- a/old_docs/API_docs_v42/types/messages_StickerSet.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_StickerSet -description: constructors and methods of type messages_StickerSet -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_StickerSet -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_stickerSet](../constructors/messages_stickerSet.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getStickerSet](../methods/messages_getStickerSet.md) - - - diff --git a/old_docs/API_docs_v42/types/messages_Stickers.md b/old_docs/API_docs_v42/types/messages_Stickers.md deleted file mode 100644 index cf53f57b..00000000 --- a/old_docs/API_docs_v42/types/messages_Stickers.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_Stickers -description: constructors and methods of type messages_Stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Stickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_stickersNotModified](../constructors/messages_stickersNotModified.md) - -[messages\_stickers](../constructors/messages_stickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getStickers](../methods/messages_getStickers.md) - - - diff --git a/old_docs/API_docs_v42/types/photos.Photo.md b/old_docs/API_docs_v42/types/photos.Photo.md new file mode 100644 index 00000000..d60f203c --- /dev/null +++ b/old_docs/API_docs_v42/types/photos.Photo.md @@ -0,0 +1,22 @@ +--- +title: photos.Photo +description: constructors and methods of type photos.Photo +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: photos.Photo +[Back to types index](index.md) + + + +### Possible values (constructors): + +[photos.photo](../constructors/photos.photo.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->photos->uploadProfilePhoto](../methods/photos.uploadProfilePhoto.md) + + + diff --git a/old_docs/API_docs_v42/types/photos.Photos.md b/old_docs/API_docs_v42/types/photos.Photos.md new file mode 100644 index 00000000..fff0e296 --- /dev/null +++ b/old_docs/API_docs_v42/types/photos.Photos.md @@ -0,0 +1,24 @@ +--- +title: photos.Photos +description: constructors and methods of type photos.Photos +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: photos.Photos +[Back to types index](index.md) + + + +### Possible values (constructors): + +[photos.photos](../constructors/photos.photos.md) + +[photos.photosSlice](../constructors/photos.photosSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->photos->getUserPhotos](../methods/photos.getUserPhotos.md) + + + diff --git a/old_docs/API_docs_v42/types/photos_Photo.md b/old_docs/API_docs_v42/types/photos_Photo.md deleted file mode 100644 index d11bbdef..00000000 --- a/old_docs/API_docs_v42/types/photos_Photo.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: photos_Photo -description: constructors and methods of type photos_Photo -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: photos\_Photo -[Back to types index](index.md) - - - -### Possible values (constructors): - -[photos\_photo](../constructors/photos_photo.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->photos->uploadProfilePhoto](../methods/photos_uploadProfilePhoto.md) - - - diff --git a/old_docs/API_docs_v42/types/photos_Photos.md b/old_docs/API_docs_v42/types/photos_Photos.md deleted file mode 100644 index 9875ad70..00000000 --- a/old_docs/API_docs_v42/types/photos_Photos.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: photos_Photos -description: constructors and methods of type photos_Photos -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: photos\_Photos -[Back to types index](index.md) - - - -### Possible values (constructors): - -[photos\_photos](../constructors/photos_photos.md) - -[photos\_photosSlice](../constructors/photos_photosSlice.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->photos->getUserPhotos](../methods/photos_getUserPhotos.md) - - - diff --git a/old_docs/API_docs_v42/types/storage.FileType.md b/old_docs/API_docs_v42/types/storage.FileType.md new file mode 100644 index 00000000..73dc8a92 --- /dev/null +++ b/old_docs/API_docs_v42/types/storage.FileType.md @@ -0,0 +1,38 @@ +--- +title: storage.FileType +description: constructors and methods of type storage.FileType +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: storage.FileType +[Back to types index](index.md) + + + +### Possible values (constructors): + +[storage.fileUnknown](../constructors/storage.fileUnknown.md) + +[storage.fileJpeg](../constructors/storage.fileJpeg.md) + +[storage.fileGif](../constructors/storage.fileGif.md) + +[storage.filePng](../constructors/storage.filePng.md) + +[storage.filePdf](../constructors/storage.filePdf.md) + +[storage.fileMp3](../constructors/storage.fileMp3.md) + +[storage.fileMov](../constructors/storage.fileMov.md) + +[storage.filePartial](../constructors/storage.filePartial.md) + +[storage.fileMp4](../constructors/storage.fileMp4.md) + +[storage.fileWebp](../constructors/storage.fileWebp.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v42/types/storage_FileType.md b/old_docs/API_docs_v42/types/storage_FileType.md deleted file mode 100644 index 076c52a4..00000000 --- a/old_docs/API_docs_v42/types/storage_FileType.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: storage_FileType -description: constructors and methods of type storage_FileType -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: storage\_FileType -[Back to types index](index.md) - - - -### Possible values (constructors): - -[storage\_fileUnknown](../constructors/storage_fileUnknown.md) - -[storage\_fileJpeg](../constructors/storage_fileJpeg.md) - -[storage\_fileGif](../constructors/storage_fileGif.md) - -[storage\_filePng](../constructors/storage_filePng.md) - -[storage\_filePdf](../constructors/storage_filePdf.md) - -[storage\_fileMp3](../constructors/storage_fileMp3.md) - -[storage\_fileMov](../constructors/storage_fileMov.md) - -[storage\_filePartial](../constructors/storage_filePartial.md) - -[storage\_fileMp4](../constructors/storage_fileMp4.md) - -[storage\_fileWebp](../constructors/storage_fileWebp.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v42/types/updates.ChannelDifference.md b/old_docs/API_docs_v42/types/updates.ChannelDifference.md new file mode 100644 index 00000000..ac889a1e --- /dev/null +++ b/old_docs/API_docs_v42/types/updates.ChannelDifference.md @@ -0,0 +1,26 @@ +--- +title: updates.ChannelDifference +description: constructors and methods of type updates.ChannelDifference +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: updates.ChannelDifference +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updates.channelDifferenceEmpty](../constructors/updates.channelDifferenceEmpty.md) + +[updates.channelDifferenceTooLong](../constructors/updates.channelDifferenceTooLong.md) + +[updates.channelDifference](../constructors/updates.channelDifference.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->updates->getChannelDifference](../methods/updates.getChannelDifference.md) + + + diff --git a/old_docs/API_docs_v42/types/updates.Difference.md b/old_docs/API_docs_v42/types/updates.Difference.md new file mode 100644 index 00000000..35998855 --- /dev/null +++ b/old_docs/API_docs_v42/types/updates.Difference.md @@ -0,0 +1,26 @@ +--- +title: updates.Difference +description: constructors and methods of type updates.Difference +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: updates.Difference +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updates.differenceEmpty](../constructors/updates.differenceEmpty.md) + +[updates.difference](../constructors/updates.difference.md) + +[updates.differenceSlice](../constructors/updates.differenceSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->updates->getDifference](../methods/updates.getDifference.md) + + + diff --git a/old_docs/API_docs_v42/types/updates.State.md b/old_docs/API_docs_v42/types/updates.State.md new file mode 100644 index 00000000..49bbb7fd --- /dev/null +++ b/old_docs/API_docs_v42/types/updates.State.md @@ -0,0 +1,22 @@ +--- +title: updates.State +description: constructors and methods of type updates.State +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: updates.State +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updates.state](../constructors/updates.state.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->updates->getState](../methods/updates.getState.md) + + + diff --git a/old_docs/API_docs_v42/types/updates_ChannelDifference.md b/old_docs/API_docs_v42/types/updates_ChannelDifference.md deleted file mode 100644 index dc988692..00000000 --- a/old_docs/API_docs_v42/types/updates_ChannelDifference.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: updates_ChannelDifference -description: constructors and methods of type updates_ChannelDifference -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: updates\_ChannelDifference -[Back to types index](index.md) - - - -### Possible values (constructors): - -[updates\_channelDifferenceEmpty](../constructors/updates_channelDifferenceEmpty.md) - -[updates\_channelDifferenceTooLong](../constructors/updates_channelDifferenceTooLong.md) - -[updates\_channelDifference](../constructors/updates_channelDifference.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->updates->getChannelDifference](../methods/updates_getChannelDifference.md) - - - diff --git a/old_docs/API_docs_v42/types/updates_Difference.md b/old_docs/API_docs_v42/types/updates_Difference.md deleted file mode 100644 index 0190189b..00000000 --- a/old_docs/API_docs_v42/types/updates_Difference.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: updates_Difference -description: constructors and methods of type updates_Difference -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: updates\_Difference -[Back to types index](index.md) - - - -### Possible values (constructors): - -[updates\_differenceEmpty](../constructors/updates_differenceEmpty.md) - -[updates\_difference](../constructors/updates_difference.md) - -[updates\_differenceSlice](../constructors/updates_differenceSlice.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->updates->getDifference](../methods/updates_getDifference.md) - - - diff --git a/old_docs/API_docs_v42/types/updates_State.md b/old_docs/API_docs_v42/types/updates_State.md deleted file mode 100644 index 7a441145..00000000 --- a/old_docs/API_docs_v42/types/updates_State.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: updates_State -description: constructors and methods of type updates_State -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: updates\_State -[Back to types index](index.md) - - - -### Possible values (constructors): - -[updates\_state](../constructors/updates_state.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->updates->getState](../methods/updates_getState.md) - - - diff --git a/old_docs/API_docs_v42/types/upload.File.md b/old_docs/API_docs_v42/types/upload.File.md new file mode 100644 index 00000000..922e6c7a --- /dev/null +++ b/old_docs/API_docs_v42/types/upload.File.md @@ -0,0 +1,22 @@ +--- +title: upload.File +description: constructors and methods of type upload.File +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: upload.File +[Back to types index](index.md) + + + +### Possible values (constructors): + +[upload.file](../constructors/upload.file.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->upload->getFile](../methods/upload.getFile.md) + + + diff --git a/old_docs/API_docs_v42/types/upload_File.md b/old_docs/API_docs_v42/types/upload_File.md deleted file mode 100644 index 6e3bc38d..00000000 --- a/old_docs/API_docs_v42/types/upload_File.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: upload_File -description: constructors and methods of type upload_File -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: upload\_File -[Back to types index](index.md) - - - -### Possible values (constructors): - -[upload\_file](../constructors/upload_file.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->upload->getFile](../methods/upload_getFile.md) - - - diff --git a/old_docs/API_docs_v44/constructors/README.md b/old_docs/API_docs_v44/constructors/README.md index 5f8cb5da..10ae5932 100644 --- a/old_docs/API_docs_v44/constructors/README.md +++ b/old_docs/API_docs_v44/constructors/README.md @@ -7,22 +7,28 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png [Back to API documentation index](..) *** -

[$accountDaysTTL](../constructors/accountDaysTTL.md) = \['days' => [int](../types/int.md), \]; +

[$account.authorizations](../constructors/account.authorizations.md) = \['authorizations' => \[[Authorization](../types/Authorization.md)\], \]; *** -

[$account\_authorizations](../constructors/account_authorizations.md) = \['authorizations' => \[[Authorization](../types/Authorization.md)\], \]; +

[$account.noPassword](../constructors/account.noPassword.md) = \['new_salt' => [bytes](../types/bytes.md), 'email_unconfirmed_pattern' => [string](../types/string.md), \]; -[$account\_noPassword](../constructors/account_noPassword.md) = \['new_salt' => [bytes](../types/bytes.md), 'email_unconfirmed_pattern' => [string](../types/string.md), \]; +*** +

[$account.password](../constructors/account.password.md) = \['current_salt' => [bytes](../types/bytes.md), 'new_salt' => [bytes](../types/bytes.md), 'hint' => [string](../types/string.md), 'has_recovery' => [Bool](../types/Bool.md), 'email_unconfirmed_pattern' => [string](../types/string.md), \]; -[$account\_password](../constructors/account_password.md) = \['current_salt' => [bytes](../types/bytes.md), 'new_salt' => [bytes](../types/bytes.md), 'hint' => [string](../types/string.md), 'has_recovery' => [Bool](../types/Bool.md), 'email_unconfirmed_pattern' => [string](../types/string.md), \]; +*** +

[$account.passwordInputSettings](../constructors/account.passwordInputSettings.md) = \['new_salt' => [bytes](../types/bytes.md), 'new_password_hash' => [bytes](../types/bytes.md), 'hint' => [string](../types/string.md), 'email' => [string](../types/string.md), \]; -[$account\_passwordInputSettings](../constructors/account_passwordInputSettings.md) = \['new_salt' => [bytes](../types/bytes.md), 'new_password_hash' => [bytes](../types/bytes.md), 'hint' => [string](../types/string.md), 'email' => [string](../types/string.md), \]; +*** +

[$account.passwordSettings](../constructors/account.passwordSettings.md) = \['email' => [string](../types/string.md), \]; -[$account\_passwordSettings](../constructors/account_passwordSettings.md) = \['email' => [string](../types/string.md), \]; +*** +

[$account.privacyRules](../constructors/account.privacyRules.md) = \['rules' => \[[PrivacyRule](../types/PrivacyRule.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$account\_privacyRules](../constructors/account_privacyRules.md) = \['rules' => \[[PrivacyRule](../types/PrivacyRule.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$account.sentChangePhoneCode](../constructors/account.sentChangePhoneCode.md) = \['phone_code_hash' => [string](../types/string.md), 'send_call_timeout' => [int](../types/int.md), \]; -[$account\_sentChangePhoneCode](../constructors/account_sentChangePhoneCode.md) = \['phone_code_hash' => [string](../types/string.md), 'send_call_timeout' => [int](../types/int.md), \]; +*** +

[$accountDaysTTL](../constructors/accountDaysTTL.md) = \['days' => [int](../types/int.md), \]; ***

[$audio](../constructors/audio.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'date' => [int](../types/int.md), 'duration' => [int](../types/int.md), 'mime_type' => [string](../types/string.md), 'size' => [int](../types/int.md), 'dc_id' => [int](../types/int.md), \]; @@ -31,17 +37,22 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$audioEmpty](../constructors/audioEmpty.md) = \['id' => [long](../types/long.md), \]; *** -

[$auth\_authorization](../constructors/auth_authorization.md) = \['user' => [User](../types/User.md), \]; +

[$auth.authorization](../constructors/auth.authorization.md) = \['user' => [User](../types/User.md), \]; -[$auth\_checkedPhone](../constructors/auth_checkedPhone.md) = \['phone_registered' => [Bool](../types/Bool.md), \]; +*** +

[$auth.checkedPhone](../constructors/auth.checkedPhone.md) = \['phone_registered' => [Bool](../types/Bool.md), \]; -[$auth\_exportedAuthorization](../constructors/auth_exportedAuthorization.md) = \['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; +*** +

[$auth.exportedAuthorization](../constructors/auth.exportedAuthorization.md) = \['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; -[$auth\_passwordRecovery](../constructors/auth_passwordRecovery.md) = \['email_pattern' => [string](../types/string.md), \]; +*** +

[$auth.passwordRecovery](../constructors/auth.passwordRecovery.md) = \['email_pattern' => [string](../types/string.md), \]; -[$auth\_sentAppCode](../constructors/auth_sentAppCode.md) = \['phone_registered' => [Bool](../types/Bool.md), 'phone_code_hash' => [string](../types/string.md), 'send_call_timeout' => [int](../types/int.md), 'is_password' => [Bool](../types/Bool.md), \]; +*** +

[$auth.sentAppCode](../constructors/auth.sentAppCode.md) = \['phone_registered' => [Bool](../types/Bool.md), 'phone_code_hash' => [string](../types/string.md), 'send_call_timeout' => [int](../types/int.md), 'is_password' => [Bool](../types/Bool.md), \]; -[$auth\_sentCode](../constructors/auth_sentCode.md) = \['phone_registered' => [Bool](../types/Bool.md), 'phone_code_hash' => [string](../types/string.md), 'send_call_timeout' => [int](../types/int.md), 'is_password' => [Bool](../types/Bool.md), \]; +*** +

[$auth.sentCode](../constructors/auth.sentCode.md) = \['phone_registered' => [Bool](../types/Bool.md), 'phone_code_hash' => [string](../types/string.md), 'send_call_timeout' => [int](../types/int.md), 'is_password' => [Bool](../types/Bool.md), \]; ***

[$authorization](../constructors/authorization.md) = \['hash' => [long](../types/long.md), 'device_model' => [string](../types/string.md), 'platform' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'api_id' => [int](../types/int.md), 'app_name' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'date_created' => [int](../types/int.md), 'date_active' => [int](../types/int.md), 'ip' => [string](../types/string.md), 'country' => [string](../types/string.md), 'region' => [string](../types/string.md), \]; @@ -119,9 +130,10 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$channelRoleModerator](../constructors/channelRoleModerator.md) = \[\]; *** -

[$channels\_channelParticipant](../constructors/channels_channelParticipant.md) = \['participant' => [ChannelParticipant](../types/ChannelParticipant.md), 'users' => \[[User](../types/User.md)\], \]; +

[$channels.channelParticipant](../constructors/channels.channelParticipant.md) = \['participant' => [ChannelParticipant](../types/ChannelParticipant.md), 'users' => \[[User](../types/User.md)\], \]; -[$channels\_channelParticipants](../constructors/channels_channelParticipants.md) = \['count' => [int](../types/int.md), 'participants' => \[[ChannelParticipant](../types/ChannelParticipant.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$channels.channelParticipants](../constructors/channels.channelParticipants.md) = \['count' => [int](../types/int.md), 'participants' => \[[ChannelParticipant](../types/ChannelParticipant.md)\], 'users' => \[[User](../types/User.md)\], \]; ***

[$chat](../constructors/chat.md) = \['creator' => [Bool](../types/Bool.md), 'kicked' => [Bool](../types/Bool.md), 'left' => [Bool](../types/Bool.md), 'admins_enabled' => [Bool](../types/Bool.md), 'admin' => [Bool](../types/Bool.md), 'deactivated' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'title' => [string](../types/string.md), 'photo' => [ChatPhoto](../types/ChatPhoto.md), 'participants_count' => [int](../types/int.md), 'date' => [int](../types/int.md), 'version' => [int](../types/int.md), 'migrated_to' => [InputChannel](../types/InputChannel.md), \]; @@ -196,23 +208,31 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$contactSuggested](../constructors/contactSuggested.md) = \['user_id' => [int](../types/int.md), 'mutual_contacts' => [int](../types/int.md), \]; *** -

[$contacts\_blocked](../constructors/contacts_blocked.md) = \['blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; +

[$contacts.blocked](../constructors/contacts.blocked.md) = \['blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_blockedSlice](../constructors/contacts_blockedSlice.md) = \['count' => [int](../types/int.md), 'blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.blockedSlice](../constructors/contacts.blockedSlice.md) = \['count' => [int](../types/int.md), 'blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_contacts](../constructors/contacts_contacts.md) = \['contacts' => \[[Contact](../types/Contact.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.contacts](../constructors/contacts.contacts.md) = \['contacts' => \[[Contact](../types/Contact.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_contactsNotModified](../constructors/contacts_contactsNotModified.md) = \[\]; +*** +

[$contacts.contactsNotModified](../constructors/contacts.contactsNotModified.md) = \[\]; -[$contacts\_found](../constructors/contacts_found.md) = \['results' => \[[Peer](../types/Peer.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.found](../constructors/contacts.found.md) = \['results' => \[[Peer](../types/Peer.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_importedContacts](../constructors/contacts_importedContacts.md) = \['imported' => \[[ImportedContact](../types/ImportedContact.md)\], 'retry_contacts' => \[[long](../types/long.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.importedContacts](../constructors/contacts.importedContacts.md) = \['imported' => \[[ImportedContact](../types/ImportedContact.md)\], 'retry_contacts' => \[[long](../types/long.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_link](../constructors/contacts_link.md) = \['my_link' => [ContactLink](../types/ContactLink.md), 'foreign_link' => [ContactLink](../types/ContactLink.md), 'user' => [User](../types/User.md), \]; +*** +

[$contacts.link](../constructors/contacts.link.md) = \['my_link' => [ContactLink](../types/ContactLink.md), 'foreign_link' => [ContactLink](../types/ContactLink.md), 'user' => [User](../types/User.md), \]; -[$contacts\_resolvedPeer](../constructors/contacts_resolvedPeer.md) = \['peer' => [Peer](../types/Peer.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.resolvedPeer](../constructors/contacts.resolvedPeer.md) = \['peer' => [Peer](../types/Peer.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_suggested](../constructors/contacts_suggested.md) = \['results' => \[[ContactSuggested](../types/ContactSuggested.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.suggested](../constructors/contacts.suggested.md) = \['results' => \[[ContactSuggested](../types/ContactSuggested.md)\], 'users' => \[[User](../types/User.md)\], \]; ***

[$dcOption](../constructors/dcOption.md) = \['ipv6' => [Bool](../types/Bool.md), 'media_only' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'ip_address' => [string](../types/string.md), 'port' => [int](../types/int.md), \]; @@ -296,19 +316,25 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$geoPointEmpty](../constructors/geoPointEmpty.md) = \[\]; *** -

[$help\_appChangelog](../constructors/help_appChangelog.md) = \['text' => [string](../types/string.md), \]; +

[$help.appChangelog](../constructors/help.appChangelog.md) = \['text' => [string](../types/string.md), \]; -[$help\_appChangelogEmpty](../constructors/help_appChangelogEmpty.md) = \[\]; +*** +

[$help.appChangelogEmpty](../constructors/help.appChangelogEmpty.md) = \[\]; -[$help\_appUpdate](../constructors/help_appUpdate.md) = \['id' => [int](../types/int.md), 'critical' => [Bool](../types/Bool.md), 'url' => [string](../types/string.md), 'text' => [string](../types/string.md), \]; +*** +

[$help.appUpdate](../constructors/help.appUpdate.md) = \['id' => [int](../types/int.md), 'critical' => [Bool](../types/Bool.md), 'url' => [string](../types/string.md), 'text' => [string](../types/string.md), \]; -[$help\_inviteText](../constructors/help_inviteText.md) = \['message' => [string](../types/string.md), \]; +*** +

[$help.inviteText](../constructors/help.inviteText.md) = \['message' => [string](../types/string.md), \]; -[$help\_noAppUpdate](../constructors/help_noAppUpdate.md) = \[\]; +*** +

[$help.noAppUpdate](../constructors/help.noAppUpdate.md) = \[\]; -[$help\_support](../constructors/help_support.md) = \['phone_number' => [string](../types/string.md), 'user' => [User](../types/User.md), \]; +*** +

[$help.support](../constructors/help.support.md) = \['phone_number' => [string](../types/string.md), 'user' => [User](../types/User.md), \]; -[$help\_termsOfService](../constructors/help_termsOfService.md) = \['text' => [string](../types/string.md), \]; +*** +

[$help.termsOfService](../constructors/help.termsOfService.md) = \['text' => [string](../types/string.md), \]; ***

[$importedContact](../constructors/importedContact.md) = \['user_id' => [int](../types/int.md), 'client_id' => [long](../types/long.md), \]; @@ -683,43 +709,61 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$messageService](../constructors/messageService.md) = \['unread' => [Bool](../types/Bool.md), 'out' => [Bool](../types/Bool.md), 'mentioned' => [Bool](../types/Bool.md), 'media_unread' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'from_id' => [int](../types/int.md), 'to_id' => [Peer](../types/Peer.md), 'date' => [int](../types/int.md), 'action' => [MessageAction](../types/MessageAction.md), \]; *** -

[$messages\_affectedHistory](../constructors/messages_affectedHistory.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), 'offset' => [int](../types/int.md), \]; +

[$messages.affectedHistory](../constructors/messages.affectedHistory.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), 'offset' => [int](../types/int.md), \]; -[$messages\_affectedMessages](../constructors/messages_affectedMessages.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; +*** +

[$messages.affectedMessages](../constructors/messages.affectedMessages.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; -[$messages\_allStickers](../constructors/messages_allStickers.md) = \['hash' => [int](../types/int.md), 'sets' => \[[StickerSet](../types/StickerSet.md)\], \]; +*** +

[$messages.allStickers](../constructors/messages.allStickers.md) = \['hash' => [int](../types/int.md), 'sets' => \[[StickerSet](../types/StickerSet.md)\], \]; -[$messages\_allStickersNotModified](../constructors/messages_allStickersNotModified.md) = \[\]; +*** +

[$messages.allStickersNotModified](../constructors/messages.allStickersNotModified.md) = \[\]; -[$messages\_channelMessages](../constructors/messages_channelMessages.md) = \['pts' => [int](../types/int.md), 'count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'collapsed' => \[[MessageGroup](../types/MessageGroup.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.channelMessages](../constructors/messages.channelMessages.md) = \['pts' => [int](../types/int.md), 'count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'collapsed' => \[[MessageGroup](../types/MessageGroup.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_chatFull](../constructors/messages_chatFull.md) = \['full_chat' => [ChatFull](../types/ChatFull.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.chatFull](../constructors/messages.chatFull.md) = \['full_chat' => [ChatFull](../types/ChatFull.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_chats](../constructors/messages_chats.md) = \['chats' => \[[Chat](../types/Chat.md)\], \]; +*** +

[$messages.chats](../constructors/messages.chats.md) = \['chats' => \[[Chat](../types/Chat.md)\], \]; -[$messages\_dhConfig](../constructors/messages_dhConfig.md) = \['g' => [int](../types/int.md), 'p' => [bytes](../types/bytes.md), 'version' => [int](../types/int.md), 'random' => [bytes](../types/bytes.md), \]; +*** +

[$messages.dhConfig](../constructors/messages.dhConfig.md) = \['g' => [int](../types/int.md), 'p' => [bytes](../types/bytes.md), 'version' => [int](../types/int.md), 'random' => [bytes](../types/bytes.md), \]; -[$messages\_dhConfigNotModified](../constructors/messages_dhConfigNotModified.md) = \['random' => [bytes](../types/bytes.md), \]; +*** +

[$messages.dhConfigNotModified](../constructors/messages.dhConfigNotModified.md) = \['random' => [bytes](../types/bytes.md), \]; -[$messages\_dialogs](../constructors/messages_dialogs.md) = \['dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.dialogs](../constructors/messages.dialogs.md) = \['dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_dialogsSlice](../constructors/messages_dialogsSlice.md) = \['count' => [int](../types/int.md), 'dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.dialogsSlice](../constructors/messages.dialogsSlice.md) = \['count' => [int](../types/int.md), 'dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_foundGifs](../constructors/messages_foundGifs.md) = \['next_offset' => [int](../types/int.md), 'results' => \[[FoundGif](../types/FoundGif.md)\], \]; +*** +

[$messages.foundGifs](../constructors/messages.foundGifs.md) = \['next_offset' => [int](../types/int.md), 'results' => \[[FoundGif](../types/FoundGif.md)\], \]; -[$messages\_messages](../constructors/messages_messages.md) = \['messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.messages](../constructors/messages.messages.md) = \['messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_messagesSlice](../constructors/messages_messagesSlice.md) = \['count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.messagesSlice](../constructors/messages.messagesSlice.md) = \['count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_sentEncryptedFile](../constructors/messages_sentEncryptedFile.md) = \['date' => [int](../types/int.md), 'file' => [EncryptedFile](../types/EncryptedFile.md), \]; +*** +

[$messages.sentEncryptedFile](../constructors/messages.sentEncryptedFile.md) = \['date' => [int](../types/int.md), 'file' => [EncryptedFile](../types/EncryptedFile.md), \]; -[$messages\_sentEncryptedMessage](../constructors/messages_sentEncryptedMessage.md) = \['date' => [int](../types/int.md), \]; +*** +

[$messages.sentEncryptedMessage](../constructors/messages.sentEncryptedMessage.md) = \['date' => [int](../types/int.md), \]; -[$messages\_stickerSet](../constructors/messages_stickerSet.md) = \['set' => [StickerSet](../types/StickerSet.md), 'packs' => \[[StickerPack](../types/StickerPack.md)\], 'documents' => \[[Document](../types/Document.md)\], \]; +*** +

[$messages.stickerSet](../constructors/messages.stickerSet.md) = \['set' => [StickerSet](../types/StickerSet.md), 'packs' => \[[StickerPack](../types/StickerPack.md)\], 'documents' => \[[Document](../types/Document.md)\], \]; -[$messages\_stickers](../constructors/messages_stickers.md) = \['hash' => [string](../types/string.md), 'stickers' => \[[Document](../types/Document.md)\], \]; +*** +

[$messages.stickers](../constructors/messages.stickers.md) = \['hash' => [string](../types/string.md), 'stickers' => \[[Document](../types/Document.md)\], \]; -[$messages\_stickersNotModified](../constructors/messages_stickersNotModified.md) = \[\]; +*** +

[$messages.stickersNotModified](../constructors/messages.stickersNotModified.md) = \[\]; ***

[$nearestDc](../constructors/nearestDc.md) = \['country' => [string](../types/string.md), 'this_dc' => [int](../types/int.md), 'nearest_dc' => [int](../types/int.md), \]; @@ -776,11 +820,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$photoSizeEmpty](../constructors/photoSizeEmpty.md) = \['type' => [string](../types/string.md), \]; *** -

[$photos\_photo](../constructors/photos_photo.md) = \['photo' => [Photo](../types/Photo.md), 'users' => \[[User](../types/User.md)\], \]; +

[$photos.photo](../constructors/photos.photo.md) = \['photo' => [Photo](../types/Photo.md), 'users' => \[[User](../types/User.md)\], \]; -[$photos\_photos](../constructors/photos_photos.md) = \['photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$photos.photos](../constructors/photos.photos.md) = \['photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$photos\_photosSlice](../constructors/photos_photosSlice.md) = \['count' => [int](../types/int.md), 'photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$photos.photosSlice](../constructors/photos.photosSlice.md) = \['count' => [int](../types/int.md), 'photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; ***

[$privacyKeyStatusTimestamp](../constructors/privacyKeyStatusTimestamp.md) = \[\]; @@ -852,25 +898,34 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$stickerSet](../constructors/stickerSet.md) = \['installed' => [Bool](../types/Bool.md), 'disabled' => [Bool](../types/Bool.md), 'official' => [Bool](../types/Bool.md), 'id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'title' => [string](../types/string.md), 'short_name' => [string](../types/string.md), 'count' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]; *** -

[$storage\_fileGif](../constructors/storage_fileGif.md) = \[\]; +

[$storage.fileGif](../constructors/storage.fileGif.md) = \[\]; -[$storage\_fileJpeg](../constructors/storage_fileJpeg.md) = \[\]; +*** +

[$storage.fileJpeg](../constructors/storage.fileJpeg.md) = \[\]; -[$storage\_fileMov](../constructors/storage_fileMov.md) = \[\]; +*** +

[$storage.fileMov](../constructors/storage.fileMov.md) = \[\]; -[$storage\_fileMp3](../constructors/storage_fileMp3.md) = \[\]; +*** +

[$storage.fileMp3](../constructors/storage.fileMp3.md) = \[\]; -[$storage\_fileMp4](../constructors/storage_fileMp4.md) = \[\]; +*** +

[$storage.fileMp4](../constructors/storage.fileMp4.md) = \[\]; -[$storage\_filePartial](../constructors/storage_filePartial.md) = \[\]; +*** +

[$storage.filePartial](../constructors/storage.filePartial.md) = \[\]; -[$storage\_filePdf](../constructors/storage_filePdf.md) = \[\]; +*** +

[$storage.filePdf](../constructors/storage.filePdf.md) = \[\]; -[$storage\_filePng](../constructors/storage_filePng.md) = \[\]; +*** +

[$storage.filePng](../constructors/storage.filePng.md) = \[\]; -[$storage\_fileUnknown](../constructors/storage_fileUnknown.md) = \[\]; +*** +

[$storage.fileUnknown](../constructors/storage.fileUnknown.md) = \[\]; -[$storage\_fileWebp](../constructors/storage_fileWebp.md) = \[\]; +*** +

[$storage.fileWebp](../constructors/storage.fileWebp.md) = \[\]; ***

[$true](../constructors/true.md) = \[\]; @@ -1010,6 +1065,27 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ***

[$updates](../constructors/updates.md) = \['updates' => \[[Update](../types/Update.md)\], 'users' => \[[User](../types/User.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'date' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; +*** +

[$updates.channelDifference](../constructors/updates.channelDifference.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), 'new_messages' => \[[Message](../types/Message.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +*** +

[$updates.channelDifferenceEmpty](../constructors/updates.channelDifferenceEmpty.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), \]; + +*** +

[$updates.channelDifferenceTooLong](../constructors/updates.channelDifferenceTooLong.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), 'top_message' => [int](../types/int.md), 'top_important_message' => [int](../types/int.md), 'read_inbox_max_id' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), 'unread_important_count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +*** +

[$updates.difference](../constructors/updates.difference.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'state' => [updates.State](../types/updates.State.md), \]; + +*** +

[$updates.differenceEmpty](../constructors/updates.differenceEmpty.md) = \['date' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; + +*** +

[$updates.differenceSlice](../constructors/updates.differenceSlice.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'intermediate_state' => [updates.State](../types/updates.State.md), \]; + +*** +

[$updates.state](../constructors/updates.state.md) = \['pts' => [int](../types/int.md), 'qts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'seq' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), \]; + ***

[$updatesCombined](../constructors/updatesCombined.md) = \['updates' => \[[Update](../types/Update.md)\], 'users' => \[[User](../types/User.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'date' => [int](../types/int.md), 'seq_start' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; @@ -1017,22 +1093,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$updatesTooLong](../constructors/updatesTooLong.md) = \[\]; *** -

[$updates\_channelDifference](../constructors/updates_channelDifference.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), 'new_messages' => \[[Message](../types/Message.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; - -[$updates\_channelDifferenceEmpty](../constructors/updates_channelDifferenceEmpty.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), \]; - -[$updates\_channelDifferenceTooLong](../constructors/updates_channelDifferenceTooLong.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), 'top_message' => [int](../types/int.md), 'top_important_message' => [int](../types/int.md), 'read_inbox_max_id' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), 'unread_important_count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; - -[$updates\_difference](../constructors/updates_difference.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'state' => [updates.State](../types/updates.State.md), \]; - -[$updates\_differenceEmpty](../constructors/updates_differenceEmpty.md) = \['date' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; - -[$updates\_differenceSlice](../constructors/updates_differenceSlice.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'intermediate_state' => [updates.State](../types/updates.State.md), \]; - -[$updates\_state](../constructors/updates_state.md) = \['pts' => [int](../types/int.md), 'qts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'seq' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), \]; - -*** -

[$upload\_file](../constructors/upload_file.md) = \['type' => [storage.FileType](../types/storage.FileType.md), 'mtime' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; +

[$upload.file](../constructors/upload.file.md) = \['type' => [storage.FileType](../types/storage.FileType.md), 'mtime' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; ***

[$user](../constructors/user.md) = \['self' => [Bool](../types/Bool.md), 'contact' => [Bool](../types/Bool.md), 'mutual_contact' => [Bool](../types/Bool.md), 'deleted' => [Bool](../types/Bool.md), 'bot' => [Bool](../types/Bool.md), 'bot_chat_history' => [Bool](../types/Bool.md), 'bot_nochats' => [Bool](../types/Bool.md), 'verified' => [Bool](../types/Bool.md), 'restricted' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), 'username' => [string](../types/string.md), 'phone' => [string](../types/string.md), 'photo' => [UserProfilePhoto](../types/UserProfilePhoto.md), 'status' => [UserStatus](../types/UserStatus.md), 'bot_info_version' => [int](../types/int.md), 'restiction_reason' => [string](../types/string.md), \]; diff --git a/old_docs/API_docs_v44/constructors/account.authorizations.md b/old_docs/API_docs_v44/constructors/account.authorizations.md new file mode 100644 index 00000000..53c961f0 --- /dev/null +++ b/old_docs/API_docs_v44/constructors/account.authorizations.md @@ -0,0 +1,38 @@ +--- +title: account.authorizations +description: Logged-in sessions +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.authorizations +[Back to constructors index](index.md) + + + +Logged-in sessions + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|authorizations|Array of [Authorization](../types/Authorization.md) | Yes|Authorizations| + + + +### Type: [account.Authorizations](../types/account.Authorizations.md) + + +### Example: + +```php +$account.authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization, Authorization]]; +``` + + +Or, if you're into Lua: + +```lua +account.authorizations={_='account.authorizations', authorizations={Authorization}} + +``` + + diff --git a/old_docs/API_docs_v44/constructors/account.noPassword.md b/old_docs/API_docs_v44/constructors/account.noPassword.md new file mode 100644 index 00000000..4dcdc515 --- /dev/null +++ b/old_docs/API_docs_v44/constructors/account.noPassword.md @@ -0,0 +1,39 @@ +--- +title: account.noPassword +description: No password +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.noPassword +[Back to constructors index](index.md) + + + +No password + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|new\_salt|[bytes](../types/bytes.md) | Yes|New salt| +|email\_unconfirmed\_pattern|[string](../types/string.md) | Yes|Email unconfirmed pattern| + + + +### Type: [account.Password](../types/account.Password.md) + + +### Example: + +```php +$account.noPassword = ['_' => 'account.noPassword', 'new_salt' => 'bytes', 'email_unconfirmed_pattern' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +account.noPassword={_='account.noPassword', new_salt='bytes', email_unconfirmed_pattern='string'} + +``` + + diff --git a/old_docs/API_docs_v44/constructors/account.password.md b/old_docs/API_docs_v44/constructors/account.password.md new file mode 100644 index 00000000..9e86a73a --- /dev/null +++ b/old_docs/API_docs_v44/constructors/account.password.md @@ -0,0 +1,42 @@ +--- +title: account.password +description: Configuration for two-factor authorization +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.password +[Back to constructors index](index.md) + + + +Configuration for two-factor authorization + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|current\_salt|[bytes](../types/bytes.md) | Yes|Current salt| +|new\_salt|[bytes](../types/bytes.md) | Yes|New salt| +|hint|[string](../types/string.md) | Yes|Text hint for the password| +|has\_recovery|[Bool](../types/Bool.md) | Yes|Has recovery?| +|email\_unconfirmed\_pattern|[string](../types/string.md) | Yes|A [password recovery email](https://core.telegram.org/api/srp#email-verification) with the specified [pattern](https://core.telegram.org/api/pattern) is still awaiting verification| + + + +### Type: [account.Password](../types/account.Password.md) + + +### Example: + +```php +$account.password = ['_' => 'account.password', 'current_salt' => 'bytes', 'new_salt' => 'bytes', 'hint' => 'string', 'has_recovery' => Bool, 'email_unconfirmed_pattern' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +account.password={_='account.password', current_salt='bytes', new_salt='bytes', hint='string', has_recovery=Bool, email_unconfirmed_pattern='string'} + +``` + + diff --git a/old_docs/API_docs_v44/constructors/account.passwordInputSettings.md b/old_docs/API_docs_v44/constructors/account.passwordInputSettings.md new file mode 100644 index 00000000..c440115a --- /dev/null +++ b/old_docs/API_docs_v44/constructors/account.passwordInputSettings.md @@ -0,0 +1,41 @@ +--- +title: account.passwordInputSettings +description: Settings for setting up a new password +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.passwordInputSettings +[Back to constructors index](index.md) + + + +Settings for setting up a new password + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|new\_salt|[bytes](../types/bytes.md) | Optional|`$new_salt = $MadelineProto->account->getPassword()['new_salt'].$MadelineProto->random(8);`| +|new\_password\_hash|[bytes](../types/bytes.md) | Optional|The [computed password hash](https://core.telegram.org/api/srp)| +|hint|[string](../types/string.md) | Optional|Text hint for the password| +|email|[string](../types/string.md) | Optional|Password recovery email| + + + +### Type: [account.PasswordInputSettings](../types/account.PasswordInputSettings.md) + + +### Example: + +```php +$account.passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_salt' => 'bytes', 'new_password_hash' => 'bytes', 'hint' => 'string', 'email' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +account.passwordInputSettings={_='account.passwordInputSettings', new_salt='bytes', new_password_hash='bytes', hint='string', email='string'} + +``` + + diff --git a/old_docs/API_docs_v44/constructors/account.passwordSettings.md b/old_docs/API_docs_v44/constructors/account.passwordSettings.md new file mode 100644 index 00000000..be899d34 --- /dev/null +++ b/old_docs/API_docs_v44/constructors/account.passwordSettings.md @@ -0,0 +1,38 @@ +--- +title: account.passwordSettings +description: Private info associated to the password info (recovery email, telegram [passport](https://core.telegram.org/passport) info & so on) +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.passwordSettings +[Back to constructors index](index.md) + + + +Private info associated to the password info (recovery email, telegram [passport](https://core.telegram.org/passport) info & so on) + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|email|[string](../types/string.md) | Yes|[2FA Recovery email](https://core.telegram.org/api/srp#email-verification)| + + + +### Type: [account.PasswordSettings](../types/account.PasswordSettings.md) + + +### Example: + +```php +$account.passwordSettings = ['_' => 'account.passwordSettings', 'email' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +account.passwordSettings={_='account.passwordSettings', email='string'} + +``` + + diff --git a/old_docs/API_docs_v44/constructors/account.privacyRules.md b/old_docs/API_docs_v44/constructors/account.privacyRules.md new file mode 100644 index 00000000..7ae04abb --- /dev/null +++ b/old_docs/API_docs_v44/constructors/account.privacyRules.md @@ -0,0 +1,39 @@ +--- +title: account.privacyRules +description: Privacy rules +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.privacyRules +[Back to constructors index](index.md) + + + +Privacy rules + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|rules|Array of [PrivacyRule](../types/PrivacyRule.md) | Yes|Rules| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [account.PrivacyRules](../types/account.PrivacyRules.md) + + +### Example: + +```php +$account.privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule, PrivacyRule], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +account.privacyRules={_='account.privacyRules', rules={PrivacyRule}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v44/constructors/account.sentChangePhoneCode.md b/old_docs/API_docs_v44/constructors/account.sentChangePhoneCode.md new file mode 100644 index 00000000..119f6af6 --- /dev/null +++ b/old_docs/API_docs_v44/constructors/account.sentChangePhoneCode.md @@ -0,0 +1,39 @@ +--- +title: account.sentChangePhoneCode +description: Sent change phone code +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.sentChangePhoneCode +[Back to constructors index](index.md) + + + +Sent change phone code + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_code\_hash|[string](../types/string.md) | Yes|Phone code hash| +|send\_call\_timeout|[int](../types/int.md) | Yes|Send call timeout| + + + +### Type: [account.SentChangePhoneCode](../types/account.SentChangePhoneCode.md) + + +### Example: + +```php +$account.sentChangePhoneCode = ['_' => 'account.sentChangePhoneCode', 'phone_code_hash' => 'string', 'send_call_timeout' => int]; +``` + + +Or, if you're into Lua: + +```lua +account.sentChangePhoneCode={_='account.sentChangePhoneCode', phone_code_hash='string', send_call_timeout=int} + +``` + + diff --git a/old_docs/API_docs_v44/constructors/account_authorizations.md b/old_docs/API_docs_v44/constructors/account_authorizations.md deleted file mode 100644 index aeae48f3..00000000 --- a/old_docs/API_docs_v44/constructors/account_authorizations.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: account.authorizations -description: Logged-in sessions -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.authorizations -[Back to constructors index](index.md) - - - -Logged-in sessions - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|authorizations|Array of [Authorization](../types/Authorization.md) | Yes|Authorizations| - - - -### Type: [account\_Authorizations](../types/account_Authorizations.md) - - -### Example: - -```php -$account_authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization, Authorization]]; -``` - - -Or, if you're into Lua: - -```lua -account_authorizations={_='account.authorizations', authorizations={Authorization}} - -``` - - diff --git a/old_docs/API_docs_v44/constructors/account_noPassword.md b/old_docs/API_docs_v44/constructors/account_noPassword.md deleted file mode 100644 index 10ef7b2a..00000000 --- a/old_docs/API_docs_v44/constructors/account_noPassword.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: account.noPassword -description: No password -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.noPassword -[Back to constructors index](index.md) - - - -No password - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|new\_salt|[bytes](../types/bytes.md) | Yes|New salt| -|email\_unconfirmed\_pattern|[string](../types/string.md) | Yes|Email unconfirmed pattern| - - - -### Type: [account\_Password](../types/account_Password.md) - - -### Example: - -```php -$account_noPassword = ['_' => 'account.noPassword', 'new_salt' => 'bytes', 'email_unconfirmed_pattern' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -account_noPassword={_='account.noPassword', new_salt='bytes', email_unconfirmed_pattern='string'} - -``` - - diff --git a/old_docs/API_docs_v44/constructors/account_password.md b/old_docs/API_docs_v44/constructors/account_password.md deleted file mode 100644 index a9f512e8..00000000 --- a/old_docs/API_docs_v44/constructors/account_password.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: account.password -description: Configuration for two-factor authorization -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.password -[Back to constructors index](index.md) - - - -Configuration for two-factor authorization - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|current\_salt|[bytes](../types/bytes.md) | Yes|Current salt| -|new\_salt|[bytes](../types/bytes.md) | Yes|New salt| -|hint|[string](../types/string.md) | Yes|Text hint for the password| -|has\_recovery|[Bool](../types/Bool.md) | Yes|Has recovery?| -|email\_unconfirmed\_pattern|[string](../types/string.md) | Yes|A [password recovery email](https://core.telegram.org/api/srp#email-verification) with the specified [pattern](https://core.telegram.org/api/pattern) is still awaiting verification| - - - -### Type: [account\_Password](../types/account_Password.md) - - -### Example: - -```php -$account_password = ['_' => 'account.password', 'current_salt' => 'bytes', 'new_salt' => 'bytes', 'hint' => 'string', 'has_recovery' => Bool, 'email_unconfirmed_pattern' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -account_password={_='account.password', current_salt='bytes', new_salt='bytes', hint='string', has_recovery=Bool, email_unconfirmed_pattern='string'} - -``` - - diff --git a/old_docs/API_docs_v44/constructors/account_passwordInputSettings.md b/old_docs/API_docs_v44/constructors/account_passwordInputSettings.md deleted file mode 100644 index 05ec666b..00000000 --- a/old_docs/API_docs_v44/constructors/account_passwordInputSettings.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: account.passwordInputSettings -description: Settings for setting up a new password -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.passwordInputSettings -[Back to constructors index](index.md) - - - -Settings for setting up a new password - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|new\_salt|[bytes](../types/bytes.md) | Optional|`$new_salt = $MadelineProto->account->getPassword()['new_salt'].$MadelineProto->random(8);`| -|new\_password\_hash|[bytes](../types/bytes.md) | Optional|The [computed password hash](https://core.telegram.org/api/srp)| -|hint|[string](../types/string.md) | Optional|Text hint for the password| -|email|[string](../types/string.md) | Optional|Password recovery email| - - - -### Type: [account\_PasswordInputSettings](../types/account_PasswordInputSettings.md) - - -### Example: - -```php -$account_passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_salt' => 'bytes', 'new_password_hash' => 'bytes', 'hint' => 'string', 'email' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -account_passwordInputSettings={_='account.passwordInputSettings', new_salt='bytes', new_password_hash='bytes', hint='string', email='string'} - -``` - - diff --git a/old_docs/API_docs_v44/constructors/account_passwordSettings.md b/old_docs/API_docs_v44/constructors/account_passwordSettings.md deleted file mode 100644 index e22f9cc4..00000000 --- a/old_docs/API_docs_v44/constructors/account_passwordSettings.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: account.passwordSettings -description: Private info associated to the password info (recovery email, telegram [passport](https://core.telegram.org/passport) info & so on) -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.passwordSettings -[Back to constructors index](index.md) - - - -Private info associated to the password info (recovery email, telegram [passport](https://core.telegram.org/passport) info & so on) - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|email|[string](../types/string.md) | Yes|[2FA Recovery email](https://core.telegram.org/api/srp#email-verification)| - - - -### Type: [account\_PasswordSettings](../types/account_PasswordSettings.md) - - -### Example: - -```php -$account_passwordSettings = ['_' => 'account.passwordSettings', 'email' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -account_passwordSettings={_='account.passwordSettings', email='string'} - -``` - - diff --git a/old_docs/API_docs_v44/constructors/account_privacyRules.md b/old_docs/API_docs_v44/constructors/account_privacyRules.md deleted file mode 100644 index 28b260b7..00000000 --- a/old_docs/API_docs_v44/constructors/account_privacyRules.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: account.privacyRules -description: Privacy rules -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.privacyRules -[Back to constructors index](index.md) - - - -Privacy rules - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|rules|Array of [PrivacyRule](../types/PrivacyRule.md) | Yes|Rules| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [account\_PrivacyRules](../types/account_PrivacyRules.md) - - -### Example: - -```php -$account_privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule, PrivacyRule], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -account_privacyRules={_='account.privacyRules', rules={PrivacyRule}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v44/constructors/account_sentChangePhoneCode.md b/old_docs/API_docs_v44/constructors/account_sentChangePhoneCode.md deleted file mode 100644 index 052ce817..00000000 --- a/old_docs/API_docs_v44/constructors/account_sentChangePhoneCode.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: account.sentChangePhoneCode -description: Sent change phone code -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.sentChangePhoneCode -[Back to constructors index](index.md) - - - -Sent change phone code - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_code\_hash|[string](../types/string.md) | Yes|Phone code hash| -|send\_call\_timeout|[int](../types/int.md) | Yes|Send call timeout| - - - -### Type: [account\_SentChangePhoneCode](../types/account_SentChangePhoneCode.md) - - -### Example: - -```php -$account_sentChangePhoneCode = ['_' => 'account.sentChangePhoneCode', 'phone_code_hash' => 'string', 'send_call_timeout' => int]; -``` - - -Or, if you're into Lua: - -```lua -account_sentChangePhoneCode={_='account.sentChangePhoneCode', phone_code_hash='string', send_call_timeout=int} - -``` - - diff --git a/old_docs/API_docs_v44/constructors/auth.authorization.md b/old_docs/API_docs_v44/constructors/auth.authorization.md new file mode 100644 index 00000000..bd034fc5 --- /dev/null +++ b/old_docs/API_docs_v44/constructors/auth.authorization.md @@ -0,0 +1,38 @@ +--- +title: auth.authorization +description: Contains user authorization info. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.authorization +[Back to constructors index](index.md) + + + +Contains user authorization info. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|user|[User](../types/User.md) | Optional|Info on authorized user| + + + +### Type: [auth.Authorization](../types/auth.Authorization.md) + + +### Example: + +```php +$auth.authorization = ['_' => 'auth.authorization', 'user' => User]; +``` + + +Or, if you're into Lua: + +```lua +auth.authorization={_='auth.authorization', user=User} + +``` + + diff --git a/old_docs/API_docs_v44/constructors/auth.checkedPhone.md b/old_docs/API_docs_v44/constructors/auth.checkedPhone.md new file mode 100644 index 00000000..23e84cf9 --- /dev/null +++ b/old_docs/API_docs_v44/constructors/auth.checkedPhone.md @@ -0,0 +1,38 @@ +--- +title: auth.checkedPhone +description: Checked phone +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.checkedPhone +[Back to constructors index](index.md) + + + +Checked phone + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_registered|[Bool](../types/Bool.md) | Yes|Phone registered?| + + + +### Type: [auth.CheckedPhone](../types/auth.CheckedPhone.md) + + +### Example: + +```php +$auth.checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool]; +``` + + +Or, if you're into Lua: + +```lua +auth.checkedPhone={_='auth.checkedPhone', phone_registered=Bool} + +``` + + diff --git a/old_docs/API_docs_v44/constructors/auth.exportedAuthorization.md b/old_docs/API_docs_v44/constructors/auth.exportedAuthorization.md new file mode 100644 index 00000000..2a4a9896 --- /dev/null +++ b/old_docs/API_docs_v44/constructors/auth.exportedAuthorization.md @@ -0,0 +1,39 @@ +--- +title: auth.exportedAuthorization +description: Data for copying of authorization between data centres. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.exportedAuthorization +[Back to constructors index](index.md) + + + +Data for copying of authorization between data centres. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|id|[int](../types/int.md) | Yes|Current user identifier| +|bytes|[bytes](../types/bytes.md) | Yes|Authorizes key| + + + +### Type: [auth.ExportedAuthorization](../types/auth.ExportedAuthorization.md) + + +### Example: + +```php +$auth.exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +auth.exportedAuthorization={_='auth.exportedAuthorization', id=int, bytes='bytes'} + +``` + + diff --git a/old_docs/API_docs_v44/constructors/auth.passwordRecovery.md b/old_docs/API_docs_v44/constructors/auth.passwordRecovery.md new file mode 100644 index 00000000..61de922d --- /dev/null +++ b/old_docs/API_docs_v44/constructors/auth.passwordRecovery.md @@ -0,0 +1,38 @@ +--- +title: auth.passwordRecovery +description: Recovery info of a [2FA password](https://core.telegram.org/api/srp), only for accounts with a [recovery email configured](https://core.telegram.org/api/srp#email-verification). +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.passwordRecovery +[Back to constructors index](index.md) + + + +Recovery info of a [2FA password](https://core.telegram.org/api/srp), only for accounts with a [recovery email configured](https://core.telegram.org/api/srp#email-verification). + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|email\_pattern|[string](../types/string.md) | Yes|The email to which the recovery code was sent must match this [pattern](https://core.telegram.org/api/pattern).| + + + +### Type: [auth.PasswordRecovery](../types/auth.PasswordRecovery.md) + + +### Example: + +```php +$auth.passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +auth.passwordRecovery={_='auth.passwordRecovery', email_pattern='string'} + +``` + + diff --git a/old_docs/API_docs_v44/constructors/auth.sentAppCode.md b/old_docs/API_docs_v44/constructors/auth.sentAppCode.md new file mode 100644 index 00000000..e4cd5ef0 --- /dev/null +++ b/old_docs/API_docs_v44/constructors/auth.sentAppCode.md @@ -0,0 +1,41 @@ +--- +title: auth.sentAppCode +description: Sent app code +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentAppCode +[Back to constructors index](index.md) + + + +Sent app code + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_registered|[Bool](../types/Bool.md) | Yes|Phone registered?| +|phone\_code\_hash|[string](../types/string.md) | Yes|Phone code hash| +|send\_call\_timeout|[int](../types/int.md) | Yes|Send call timeout| +|is\_password|[Bool](../types/Bool.md) | Yes|Is password?| + + + +### Type: [auth.SentCode](../types/auth.SentCode.md) + + +### Example: + +```php +$auth.sentAppCode = ['_' => 'auth.sentAppCode', 'phone_registered' => Bool, 'phone_code_hash' => 'string', 'send_call_timeout' => int, 'is_password' => Bool]; +``` + + +Or, if you're into Lua: + +```lua +auth.sentAppCode={_='auth.sentAppCode', phone_registered=Bool, phone_code_hash='string', send_call_timeout=int, is_password=Bool} + +``` + + diff --git a/old_docs/API_docs_v44/constructors/auth.sentCode.md b/old_docs/API_docs_v44/constructors/auth.sentCode.md new file mode 100644 index 00000000..c81a8042 --- /dev/null +++ b/old_docs/API_docs_v44/constructors/auth.sentCode.md @@ -0,0 +1,41 @@ +--- +title: auth.sentCode +description: Contains info about a sent verification code. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentCode +[Back to constructors index](index.md) + + + +Contains info about a sent verification code. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_registered|[Bool](../types/Bool.md) | Yes|Phone registered?| +|phone\_code\_hash|[string](../types/string.md) | Yes|Phone code hash, to be stored and later re-used with [auth.signIn](../methods/auth.signIn.md)| +|send\_call\_timeout|[int](../types/int.md) | Yes|Send call timeout| +|is\_password|[Bool](../types/Bool.md) | Yes|Is password?| + + + +### Type: [auth.SentCode](../types/auth.SentCode.md) + + +### Example: + +```php +$auth.sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'phone_code_hash' => 'string', 'send_call_timeout' => int, 'is_password' => Bool]; +``` + + +Or, if you're into Lua: + +```lua +auth.sentCode={_='auth.sentCode', phone_registered=Bool, phone_code_hash='string', send_call_timeout=int, is_password=Bool} + +``` + + diff --git a/old_docs/API_docs_v44/constructors/auth_authorization.md b/old_docs/API_docs_v44/constructors/auth_authorization.md deleted file mode 100644 index 07d223a1..00000000 --- a/old_docs/API_docs_v44/constructors/auth_authorization.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.authorization -description: Contains user authorization info. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.authorization -[Back to constructors index](index.md) - - - -Contains user authorization info. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|user|[User](../types/User.md) | Optional|Info on authorized user| - - - -### Type: [auth\_Authorization](../types/auth_Authorization.md) - - -### Example: - -```php -$auth_authorization = ['_' => 'auth.authorization', 'user' => User]; -``` - - -Or, if you're into Lua: - -```lua -auth_authorization={_='auth.authorization', user=User} - -``` - - diff --git a/old_docs/API_docs_v44/constructors/auth_checkedPhone.md b/old_docs/API_docs_v44/constructors/auth_checkedPhone.md deleted file mode 100644 index c77becf6..00000000 --- a/old_docs/API_docs_v44/constructors/auth_checkedPhone.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.checkedPhone -description: Checked phone -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.checkedPhone -[Back to constructors index](index.md) - - - -Checked phone - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_registered|[Bool](../types/Bool.md) | Yes|Phone registered?| - - - -### Type: [auth\_CheckedPhone](../types/auth_CheckedPhone.md) - - -### Example: - -```php -$auth_checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool]; -``` - - -Or, if you're into Lua: - -```lua -auth_checkedPhone={_='auth.checkedPhone', phone_registered=Bool} - -``` - - diff --git a/old_docs/API_docs_v44/constructors/auth_exportedAuthorization.md b/old_docs/API_docs_v44/constructors/auth_exportedAuthorization.md deleted file mode 100644 index 8d18916e..00000000 --- a/old_docs/API_docs_v44/constructors/auth_exportedAuthorization.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: auth.exportedAuthorization -description: Data for copying of authorization between data centres. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.exportedAuthorization -[Back to constructors index](index.md) - - - -Data for copying of authorization between data centres. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|id|[int](../types/int.md) | Yes|Current user identifier| -|bytes|[bytes](../types/bytes.md) | Yes|Authorizes key| - - - -### Type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) - - -### Example: - -```php -$auth_exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -auth_exportedAuthorization={_='auth.exportedAuthorization', id=int, bytes='bytes'} - -``` - - diff --git a/old_docs/API_docs_v44/constructors/auth_passwordRecovery.md b/old_docs/API_docs_v44/constructors/auth_passwordRecovery.md deleted file mode 100644 index c40f375e..00000000 --- a/old_docs/API_docs_v44/constructors/auth_passwordRecovery.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.passwordRecovery -description: Recovery info of a [2FA password](https://core.telegram.org/api/srp), only for accounts with a [recovery email configured](https://core.telegram.org/api/srp#email-verification). -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.passwordRecovery -[Back to constructors index](index.md) - - - -Recovery info of a [2FA password](https://core.telegram.org/api/srp), only for accounts with a [recovery email configured](https://core.telegram.org/api/srp#email-verification). - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|email\_pattern|[string](../types/string.md) | Yes|The email to which the recovery code was sent must match this [pattern](https://core.telegram.org/api/pattern).| - - - -### Type: [auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) - - -### Example: - -```php -$auth_passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -auth_passwordRecovery={_='auth.passwordRecovery', email_pattern='string'} - -``` - - diff --git a/old_docs/API_docs_v44/constructors/auth_sentAppCode.md b/old_docs/API_docs_v44/constructors/auth_sentAppCode.md deleted file mode 100644 index f61b0eb9..00000000 --- a/old_docs/API_docs_v44/constructors/auth_sentAppCode.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: auth.sentAppCode -description: Sent app code -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentAppCode -[Back to constructors index](index.md) - - - -Sent app code - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_registered|[Bool](../types/Bool.md) | Yes|Phone registered?| -|phone\_code\_hash|[string](../types/string.md) | Yes|Phone code hash| -|send\_call\_timeout|[int](../types/int.md) | Yes|Send call timeout| -|is\_password|[Bool](../types/Bool.md) | Yes|Is password?| - - - -### Type: [auth\_SentCode](../types/auth_SentCode.md) - - -### Example: - -```php -$auth_sentAppCode = ['_' => 'auth.sentAppCode', 'phone_registered' => Bool, 'phone_code_hash' => 'string', 'send_call_timeout' => int, 'is_password' => Bool]; -``` - - -Or, if you're into Lua: - -```lua -auth_sentAppCode={_='auth.sentAppCode', phone_registered=Bool, phone_code_hash='string', send_call_timeout=int, is_password=Bool} - -``` - - diff --git a/old_docs/API_docs_v44/constructors/auth_sentCode.md b/old_docs/API_docs_v44/constructors/auth_sentCode.md deleted file mode 100644 index 28a9ac2f..00000000 --- a/old_docs/API_docs_v44/constructors/auth_sentCode.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: auth.sentCode -description: Contains info about a sent verification code. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentCode -[Back to constructors index](index.md) - - - -Contains info about a sent verification code. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_registered|[Bool](../types/Bool.md) | Yes|Phone registered?| -|phone\_code\_hash|[string](../types/string.md) | Yes|Phone code hash, to be stored and later re-used with [auth.signIn](../methods/auth.signIn.md)| -|send\_call\_timeout|[int](../types/int.md) | Yes|Send call timeout| -|is\_password|[Bool](../types/Bool.md) | Yes|Is password?| - - - -### Type: [auth\_SentCode](../types/auth_SentCode.md) - - -### Example: - -```php -$auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'phone_code_hash' => 'string', 'send_call_timeout' => int, 'is_password' => Bool]; -``` - - -Or, if you're into Lua: - -```lua -auth_sentCode={_='auth.sentCode', phone_registered=Bool, phone_code_hash='string', send_call_timeout=int, is_password=Bool} - -``` - - diff --git a/old_docs/API_docs_v44/constructors/channels.channelParticipant.md b/old_docs/API_docs_v44/constructors/channels.channelParticipant.md new file mode 100644 index 00000000..0f09777f --- /dev/null +++ b/old_docs/API_docs_v44/constructors/channels.channelParticipant.md @@ -0,0 +1,39 @@ +--- +title: channels.channelParticipant +description: Represents a channel participant +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: channels.channelParticipant +[Back to constructors index](index.md) + + + +Represents a channel participant + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|participant|[ChannelParticipant](../types/ChannelParticipant.md) | Yes|The channel participant| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [channels.ChannelParticipant](../types/channels.ChannelParticipant.md) + + +### Example: + +```php +$channels.channelParticipant = ['_' => 'channels.channelParticipant', 'participant' => ChannelParticipant, 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +channels.channelParticipant={_='channels.channelParticipant', participant=ChannelParticipant, users={User}} + +``` + + diff --git a/old_docs/API_docs_v44/constructors/channels.channelParticipants.md b/old_docs/API_docs_v44/constructors/channels.channelParticipants.md new file mode 100644 index 00000000..6ee1a8b3 --- /dev/null +++ b/old_docs/API_docs_v44/constructors/channels.channelParticipants.md @@ -0,0 +1,40 @@ +--- +title: channels.channelParticipants +description: Represents multiple channel participants +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: channels.channelParticipants +[Back to constructors index](index.md) + + + +Represents multiple channel participants + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of participants that correspond to the given query| +|participants|Array of [ChannelParticipant](../types/ChannelParticipant.md) | Yes|Participants| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [channels.ChannelParticipants](../types/channels.ChannelParticipants.md) + + +### Example: + +```php +$channels.channelParticipants = ['_' => 'channels.channelParticipants', 'count' => int, 'participants' => [ChannelParticipant, ChannelParticipant], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +channels.channelParticipants={_='channels.channelParticipants', count=int, participants={ChannelParticipant}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v44/constructors/channels_channelParticipant.md b/old_docs/API_docs_v44/constructors/channels_channelParticipant.md deleted file mode 100644 index 15fe46a4..00000000 --- a/old_docs/API_docs_v44/constructors/channels_channelParticipant.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: channels.channelParticipant -description: Represents a channel participant -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: channels.channelParticipant -[Back to constructors index](index.md) - - - -Represents a channel participant - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|participant|[ChannelParticipant](../types/ChannelParticipant.md) | Yes|The channel participant| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [channels\_ChannelParticipant](../types/channels_ChannelParticipant.md) - - -### Example: - -```php -$channels_channelParticipant = ['_' => 'channels.channelParticipant', 'participant' => ChannelParticipant, 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -channels_channelParticipant={_='channels.channelParticipant', participant=ChannelParticipant, users={User}} - -``` - - diff --git a/old_docs/API_docs_v44/constructors/channels_channelParticipants.md b/old_docs/API_docs_v44/constructors/channels_channelParticipants.md deleted file mode 100644 index 1848a04f..00000000 --- a/old_docs/API_docs_v44/constructors/channels_channelParticipants.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: channels.channelParticipants -description: Represents multiple channel participants -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: channels.channelParticipants -[Back to constructors index](index.md) - - - -Represents multiple channel participants - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of participants that correspond to the given query| -|participants|Array of [ChannelParticipant](../types/ChannelParticipant.md) | Yes|Participants| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [channels\_ChannelParticipants](../types/channels_ChannelParticipants.md) - - -### Example: - -```php -$channels_channelParticipants = ['_' => 'channels.channelParticipants', 'count' => int, 'participants' => [ChannelParticipant, ChannelParticipant], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -channels_channelParticipants={_='channels.channelParticipants', count=int, participants={ChannelParticipant}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v44/constructors/contacts.blocked.md b/old_docs/API_docs_v44/constructors/contacts.blocked.md new file mode 100644 index 00000000..d2b3f680 --- /dev/null +++ b/old_docs/API_docs_v44/constructors/contacts.blocked.md @@ -0,0 +1,39 @@ +--- +title: contacts.blocked +description: Full list of blocked users. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.blocked +[Back to constructors index](index.md) + + + +Full list of blocked users. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Blocked](../types/contacts.Blocked.md) + + +### Example: + +```php +$contacts.blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.blocked={_='contacts.blocked', blocked={ContactBlocked}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v44/constructors/contacts.blockedSlice.md b/old_docs/API_docs_v44/constructors/contacts.blockedSlice.md new file mode 100644 index 00000000..92d19c72 --- /dev/null +++ b/old_docs/API_docs_v44/constructors/contacts.blockedSlice.md @@ -0,0 +1,40 @@ +--- +title: contacts.blockedSlice +description: Incomplete list of blocked users. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.blockedSlice +[Back to constructors index](index.md) + + + +Incomplete list of blocked users. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of elements in the list| +|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Blocked](../types/contacts.Blocked.md) + + +### Example: + +```php +$contacts.blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.blockedSlice={_='contacts.blockedSlice', count=int, blocked={ContactBlocked}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v44/constructors/contacts.contacts.md b/old_docs/API_docs_v44/constructors/contacts.contacts.md new file mode 100644 index 00000000..d4ccc018 --- /dev/null +++ b/old_docs/API_docs_v44/constructors/contacts.contacts.md @@ -0,0 +1,39 @@ +--- +title: contacts.contacts +description: The current user's contact list and info on users. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.contacts +[Back to constructors index](index.md) + + + +The current user's contact list and info on users. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|contacts|Array of [Contact](../types/Contact.md) | Yes|Contacts| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Contacts](../types/contacts.Contacts.md) + + +### Example: + +```php +$contacts.contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact, Contact], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.contacts={_='contacts.contacts', contacts={Contact}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v44/constructors/contacts.contactsNotModified.md b/old_docs/API_docs_v44/constructors/contacts.contactsNotModified.md new file mode 100644 index 00000000..e2149396 --- /dev/null +++ b/old_docs/API_docs_v44/constructors/contacts.contactsNotModified.md @@ -0,0 +1,33 @@ +--- +title: contacts.contactsNotModified +description: Contact list on the server is the same as the list on the client. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.contactsNotModified +[Back to constructors index](index.md) + + + +Contact list on the server is the same as the list on the client. + + + + +### Type: [contacts.Contacts](../types/contacts.Contacts.md) + + +### Example: + +```php +$contacts.contactsNotModified = ['_' => 'contacts.contactsNotModified']; +``` + + +Or, if you're into Lua: + +```lua +contacts.contactsNotModified={_='contacts.contactsNotModified'} + +``` + + diff --git a/old_docs/API_docs_v44/constructors/contacts.found.md b/old_docs/API_docs_v44/constructors/contacts.found.md new file mode 100644 index 00000000..1eaa93b7 --- /dev/null +++ b/old_docs/API_docs_v44/constructors/contacts.found.md @@ -0,0 +1,40 @@ +--- +title: contacts.found +description: Users found by name substring and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.found +[Back to constructors index](index.md) + + + +Users found by name substring and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|results|Array of [Peer](../types/Peer.md) | Yes|Results| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Found](../types/contacts.Found.md) + + +### Example: + +```php +$contacts.found = ['_' => 'contacts.found', 'results' => [Peer, Peer], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.found={_='contacts.found', results={Peer}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v44/constructors/contacts.importedContacts.md b/old_docs/API_docs_v44/constructors/contacts.importedContacts.md new file mode 100644 index 00000000..1cbff59a --- /dev/null +++ b/old_docs/API_docs_v44/constructors/contacts.importedContacts.md @@ -0,0 +1,40 @@ +--- +title: contacts.importedContacts +description: Info on succesfully imported contacts. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.importedContacts +[Back to constructors index](index.md) + + + +Info on succesfully imported contacts. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|imported|Array of [ImportedContact](../types/ImportedContact.md) | Yes|Imported| +|retry\_contacts|Array of [long](../types/long.md) | Yes|Retry importing contacts whose client IDs appear here| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.ImportedContacts](../types/contacts.ImportedContacts.md) + + +### Example: + +```php +$contacts.importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact, ImportedContact], 'retry_contacts' => [long, long], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.importedContacts={_='contacts.importedContacts', imported={ImportedContact}, retry_contacts={long}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v44/constructors/contacts.link.md b/old_docs/API_docs_v44/constructors/contacts.link.md new file mode 100644 index 00000000..ab150a0d --- /dev/null +++ b/old_docs/API_docs_v44/constructors/contacts.link.md @@ -0,0 +1,40 @@ +--- +title: contacts.link +description: Link +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.link +[Back to constructors index](index.md) + + + +Link + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|my\_link|[ContactLink](../types/ContactLink.md) | Yes|My link| +|foreign\_link|[ContactLink](../types/ContactLink.md) | Yes|Foreign link| +|user|[User](../types/User.md) | Optional|User| + + + +### Type: [contacts.Link](../types/contacts.Link.md) + + +### Example: + +```php +$contacts.link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User]; +``` + + +Or, if you're into Lua: + +```lua +contacts.link={_='contacts.link', my_link=ContactLink, foreign_link=ContactLink, user=User} + +``` + + diff --git a/old_docs/API_docs_v44/constructors/contacts.resolvedPeer.md b/old_docs/API_docs_v44/constructors/contacts.resolvedPeer.md new file mode 100644 index 00000000..35d88481 --- /dev/null +++ b/old_docs/API_docs_v44/constructors/contacts.resolvedPeer.md @@ -0,0 +1,40 @@ +--- +title: contacts.resolvedPeer +description: Resolved peer +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.resolvedPeer +[Back to constructors index](index.md) + + + +Resolved peer + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|peer|[Peer](../types/Peer.md) | Yes|The peer| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.ResolvedPeer](../types/contacts.ResolvedPeer.md) + + +### Example: + +```php +$contacts.resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.resolvedPeer={_='contacts.resolvedPeer', peer=Peer, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v44/constructors/contacts.suggested.md b/old_docs/API_docs_v44/constructors/contacts.suggested.md new file mode 100644 index 00000000..b9a56bec --- /dev/null +++ b/old_docs/API_docs_v44/constructors/contacts.suggested.md @@ -0,0 +1,39 @@ +--- +title: contacts.suggested +description: Suggested +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.suggested +[Back to constructors index](index.md) + + + +Suggested + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|results|Array of [ContactSuggested](../types/ContactSuggested.md) | Yes|Results| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Suggested](../types/contacts.Suggested.md) + + +### Example: + +```php +$contacts.suggested = ['_' => 'contacts.suggested', 'results' => [ContactSuggested, ContactSuggested], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.suggested={_='contacts.suggested', results={ContactSuggested}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v44/constructors/contacts_blocked.md b/old_docs/API_docs_v44/constructors/contacts_blocked.md deleted file mode 100644 index 20e33002..00000000 --- a/old_docs/API_docs_v44/constructors/contacts_blocked.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: contacts.blocked -description: Full list of blocked users. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.blocked -[Back to constructors index](index.md) - - - -Full list of blocked users. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Blocked](../types/contacts_Blocked.md) - - -### Example: - -```php -$contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_blocked={_='contacts.blocked', blocked={ContactBlocked}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v44/constructors/contacts_blockedSlice.md b/old_docs/API_docs_v44/constructors/contacts_blockedSlice.md deleted file mode 100644 index fcab9a28..00000000 --- a/old_docs/API_docs_v44/constructors/contacts_blockedSlice.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.blockedSlice -description: Incomplete list of blocked users. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.blockedSlice -[Back to constructors index](index.md) - - - -Incomplete list of blocked users. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of elements in the list| -|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Blocked](../types/contacts_Blocked.md) - - -### Example: - -```php -$contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_blockedSlice={_='contacts.blockedSlice', count=int, blocked={ContactBlocked}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v44/constructors/contacts_contacts.md b/old_docs/API_docs_v44/constructors/contacts_contacts.md deleted file mode 100644 index f101b34b..00000000 --- a/old_docs/API_docs_v44/constructors/contacts_contacts.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: contacts.contacts -description: The current user's contact list and info on users. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.contacts -[Back to constructors index](index.md) - - - -The current user's contact list and info on users. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|contacts|Array of [Contact](../types/Contact.md) | Yes|Contacts| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Contacts](../types/contacts_Contacts.md) - - -### Example: - -```php -$contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact, Contact], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_contacts={_='contacts.contacts', contacts={Contact}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v44/constructors/contacts_contactsNotModified.md b/old_docs/API_docs_v44/constructors/contacts_contactsNotModified.md deleted file mode 100644 index 17e76ac3..00000000 --- a/old_docs/API_docs_v44/constructors/contacts_contactsNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: contacts.contactsNotModified -description: Contact list on the server is the same as the list on the client. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.contactsNotModified -[Back to constructors index](index.md) - - - -Contact list on the server is the same as the list on the client. - - - - -### Type: [contacts\_Contacts](../types/contacts_Contacts.md) - - -### Example: - -```php -$contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified']; -``` - - -Or, if you're into Lua: - -```lua -contacts_contactsNotModified={_='contacts.contactsNotModified'} - -``` - - diff --git a/old_docs/API_docs_v44/constructors/contacts_found.md b/old_docs/API_docs_v44/constructors/contacts_found.md deleted file mode 100644 index 0674aabf..00000000 --- a/old_docs/API_docs_v44/constructors/contacts_found.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.found -description: Users found by name substring and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.found -[Back to constructors index](index.md) - - - -Users found by name substring and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|results|Array of [Peer](../types/Peer.md) | Yes|Results| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Found](../types/contacts_Found.md) - - -### Example: - -```php -$contacts_found = ['_' => 'contacts.found', 'results' => [Peer, Peer], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_found={_='contacts.found', results={Peer}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v44/constructors/contacts_importedContacts.md b/old_docs/API_docs_v44/constructors/contacts_importedContacts.md deleted file mode 100644 index 121d96d1..00000000 --- a/old_docs/API_docs_v44/constructors/contacts_importedContacts.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.importedContacts -description: Info on succesfully imported contacts. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.importedContacts -[Back to constructors index](index.md) - - - -Info on succesfully imported contacts. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|imported|Array of [ImportedContact](../types/ImportedContact.md) | Yes|Imported| -|retry\_contacts|Array of [long](../types/long.md) | Yes|Retry importing contacts whose client IDs appear here| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) - - -### Example: - -```php -$contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact, ImportedContact], 'retry_contacts' => [long, long], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_importedContacts={_='contacts.importedContacts', imported={ImportedContact}, retry_contacts={long}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v44/constructors/contacts_link.md b/old_docs/API_docs_v44/constructors/contacts_link.md deleted file mode 100644 index cfc566c7..00000000 --- a/old_docs/API_docs_v44/constructors/contacts_link.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.link -description: Link -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.link -[Back to constructors index](index.md) - - - -Link - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|my\_link|[ContactLink](../types/ContactLink.md) | Yes|My link| -|foreign\_link|[ContactLink](../types/ContactLink.md) | Yes|Foreign link| -|user|[User](../types/User.md) | Optional|User| - - - -### Type: [contacts\_Link](../types/contacts_Link.md) - - -### Example: - -```php -$contacts_link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User]; -``` - - -Or, if you're into Lua: - -```lua -contacts_link={_='contacts.link', my_link=ContactLink, foreign_link=ContactLink, user=User} - -``` - - diff --git a/old_docs/API_docs_v44/constructors/contacts_resolvedPeer.md b/old_docs/API_docs_v44/constructors/contacts_resolvedPeer.md deleted file mode 100644 index aae3c7af..00000000 --- a/old_docs/API_docs_v44/constructors/contacts_resolvedPeer.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.resolvedPeer -description: Resolved peer -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.resolvedPeer -[Back to constructors index](index.md) - - - -Resolved peer - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|peer|[Peer](../types/Peer.md) | Yes|The peer| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_ResolvedPeer](../types/contacts_ResolvedPeer.md) - - -### Example: - -```php -$contacts_resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_resolvedPeer={_='contacts.resolvedPeer', peer=Peer, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v44/constructors/contacts_suggested.md b/old_docs/API_docs_v44/constructors/contacts_suggested.md deleted file mode 100644 index 9bdba0b7..00000000 --- a/old_docs/API_docs_v44/constructors/contacts_suggested.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: contacts.suggested -description: Suggested -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.suggested -[Back to constructors index](index.md) - - - -Suggested - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|results|Array of [ContactSuggested](../types/ContactSuggested.md) | Yes|Results| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Suggested](../types/contacts_Suggested.md) - - -### Example: - -```php -$contacts_suggested = ['_' => 'contacts.suggested', 'results' => [ContactSuggested, ContactSuggested], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_suggested={_='contacts.suggested', results={ContactSuggested}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v44/constructors/help.appChangelog.md b/old_docs/API_docs_v44/constructors/help.appChangelog.md new file mode 100644 index 00000000..dec6b96c --- /dev/null +++ b/old_docs/API_docs_v44/constructors/help.appChangelog.md @@ -0,0 +1,38 @@ +--- +title: help.appChangelog +description: App changelog +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.appChangelog +[Back to constructors index](index.md) + + + +App changelog + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|text|[string](../types/string.md) | Yes|Text| + + + +### Type: [help.AppChangelog](../types/help.AppChangelog.md) + + +### Example: + +```php +$help.appChangelog = ['_' => 'help.appChangelog', 'text' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +help.appChangelog={_='help.appChangelog', text='string'} + +``` + + diff --git a/old_docs/API_docs_v44/constructors/help.appChangelogEmpty.md b/old_docs/API_docs_v44/constructors/help.appChangelogEmpty.md new file mode 100644 index 00000000..6ecb71af --- /dev/null +++ b/old_docs/API_docs_v44/constructors/help.appChangelogEmpty.md @@ -0,0 +1,33 @@ +--- +title: help.appChangelogEmpty +description: Empty app changelog +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.appChangelogEmpty +[Back to constructors index](index.md) + + + +Empty app changelog + + + + +### Type: [help.AppChangelog](../types/help.AppChangelog.md) + + +### Example: + +```php +$help.appChangelogEmpty = ['_' => 'help.appChangelogEmpty']; +``` + + +Or, if you're into Lua: + +```lua +help.appChangelogEmpty={_='help.appChangelogEmpty'} + +``` + + diff --git a/old_docs/API_docs_v44/constructors/help.appUpdate.md b/old_docs/API_docs_v44/constructors/help.appUpdate.md new file mode 100644 index 00000000..14b2d75b --- /dev/null +++ b/old_docs/API_docs_v44/constructors/help.appUpdate.md @@ -0,0 +1,41 @@ +--- +title: help.appUpdate +description: An update is available for the application. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.appUpdate +[Back to constructors index](index.md) + + + +An update is available for the application. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|id|[int](../types/int.md) | Yes|Update ID| +|critical|[Bool](../types/Bool.md) | Yes|Critical?| +|url|[string](../types/string.md) | Yes|Application download URL| +|text|[string](../types/string.md) | Yes|Text description of the update| + + + +### Type: [help.AppUpdate](../types/help.AppUpdate.md) + + +### Example: + +```php +$help.appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'url' => 'string', 'text' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +help.appUpdate={_='help.appUpdate', id=int, critical=Bool, url='string', text='string'} + +``` + + diff --git a/old_docs/API_docs_v44/constructors/help.inviteText.md b/old_docs/API_docs_v44/constructors/help.inviteText.md new file mode 100644 index 00000000..6a6261c1 --- /dev/null +++ b/old_docs/API_docs_v44/constructors/help.inviteText.md @@ -0,0 +1,38 @@ +--- +title: help.inviteText +description: Text of a text message with an invitation to install application. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.inviteText +[Back to constructors index](index.md) + + + +Text of a text message with an invitation to install application. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|message|[string](../types/string.md) | Yes|Text of a message| + + + +### Type: [help.InviteText](../types/help.InviteText.md) + + +### Example: + +```php +$help.inviteText = ['_' => 'help.inviteText', 'message' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +help.inviteText={_='help.inviteText', message='string'} + +``` + + diff --git a/old_docs/API_docs_v44/constructors/help.noAppUpdate.md b/old_docs/API_docs_v44/constructors/help.noAppUpdate.md new file mode 100644 index 00000000..1b69ac9a --- /dev/null +++ b/old_docs/API_docs_v44/constructors/help.noAppUpdate.md @@ -0,0 +1,33 @@ +--- +title: help.noAppUpdate +description: No updates are available for the application. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.noAppUpdate +[Back to constructors index](index.md) + + + +No updates are available for the application. + + + + +### Type: [help.AppUpdate](../types/help.AppUpdate.md) + + +### Example: + +```php +$help.noAppUpdate = ['_' => 'help.noAppUpdate']; +``` + + +Or, if you're into Lua: + +```lua +help.noAppUpdate={_='help.noAppUpdate'} + +``` + + diff --git a/old_docs/API_docs_v44/constructors/help.support.md b/old_docs/API_docs_v44/constructors/help.support.md new file mode 100644 index 00000000..4d4f85fb --- /dev/null +++ b/old_docs/API_docs_v44/constructors/help.support.md @@ -0,0 +1,39 @@ +--- +title: help.support +description: Info on support user. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.support +[Back to constructors index](index.md) + + + +Info on support user. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_number|[string](../types/string.md) | Yes|Phone number| +|user|[User](../types/User.md) | Optional|User| + + + +### Type: [help.Support](../types/help.Support.md) + + +### Example: + +```php +$help.support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => User]; +``` + + +Or, if you're into Lua: + +```lua +help.support={_='help.support', phone_number='string', user=User} + +``` + + diff --git a/old_docs/API_docs_v44/constructors/help.termsOfService.md b/old_docs/API_docs_v44/constructors/help.termsOfService.md new file mode 100644 index 00000000..cab1f128 --- /dev/null +++ b/old_docs/API_docs_v44/constructors/help.termsOfService.md @@ -0,0 +1,38 @@ +--- +title: help.termsOfService +description: Info about the latest telegram Terms Of Service +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.termsOfService +[Back to constructors index](index.md) + + + +Info about the latest telegram Terms Of Service + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|text|[string](../types/string.md) | Yes|Text of the new terms| + + + +### Type: [help.TermsOfService](../types/help.TermsOfService.md) + + +### Example: + +```php +$help.termsOfService = ['_' => 'help.termsOfService', 'text' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +help.termsOfService={_='help.termsOfService', text='string'} + +``` + + diff --git a/old_docs/API_docs_v44/constructors/help_appChangelog.md b/old_docs/API_docs_v44/constructors/help_appChangelog.md deleted file mode 100644 index 793a8fc4..00000000 --- a/old_docs/API_docs_v44/constructors/help_appChangelog.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: help.appChangelog -description: App changelog -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.appChangelog -[Back to constructors index](index.md) - - - -App changelog - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|text|[string](../types/string.md) | Yes|Text| - - - -### Type: [help\_AppChangelog](../types/help_AppChangelog.md) - - -### Example: - -```php -$help_appChangelog = ['_' => 'help.appChangelog', 'text' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -help_appChangelog={_='help.appChangelog', text='string'} - -``` - - diff --git a/old_docs/API_docs_v44/constructors/help_appChangelogEmpty.md b/old_docs/API_docs_v44/constructors/help_appChangelogEmpty.md deleted file mode 100644 index 62a195bb..00000000 --- a/old_docs/API_docs_v44/constructors/help_appChangelogEmpty.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: help.appChangelogEmpty -description: Empty app changelog -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.appChangelogEmpty -[Back to constructors index](index.md) - - - -Empty app changelog - - - - -### Type: [help\_AppChangelog](../types/help_AppChangelog.md) - - -### Example: - -```php -$help_appChangelogEmpty = ['_' => 'help.appChangelogEmpty']; -``` - - -Or, if you're into Lua: - -```lua -help_appChangelogEmpty={_='help.appChangelogEmpty'} - -``` - - diff --git a/old_docs/API_docs_v44/constructors/help_appUpdate.md b/old_docs/API_docs_v44/constructors/help_appUpdate.md deleted file mode 100644 index efba9bdb..00000000 --- a/old_docs/API_docs_v44/constructors/help_appUpdate.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: help.appUpdate -description: An update is available for the application. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.appUpdate -[Back to constructors index](index.md) - - - -An update is available for the application. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|id|[int](../types/int.md) | Yes|Update ID| -|critical|[Bool](../types/Bool.md) | Yes|Critical?| -|url|[string](../types/string.md) | Yes|Application download URL| -|text|[string](../types/string.md) | Yes|Text description of the update| - - - -### Type: [help\_AppUpdate](../types/help_AppUpdate.md) - - -### Example: - -```php -$help_appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'url' => 'string', 'text' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -help_appUpdate={_='help.appUpdate', id=int, critical=Bool, url='string', text='string'} - -``` - - diff --git a/old_docs/API_docs_v44/constructors/help_inviteText.md b/old_docs/API_docs_v44/constructors/help_inviteText.md deleted file mode 100644 index b8317ce3..00000000 --- a/old_docs/API_docs_v44/constructors/help_inviteText.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: help.inviteText -description: Text of a text message with an invitation to install application. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.inviteText -[Back to constructors index](index.md) - - - -Text of a text message with an invitation to install application. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|message|[string](../types/string.md) | Yes|Text of a message| - - - -### Type: [help\_InviteText](../types/help_InviteText.md) - - -### Example: - -```php -$help_inviteText = ['_' => 'help.inviteText', 'message' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -help_inviteText={_='help.inviteText', message='string'} - -``` - - diff --git a/old_docs/API_docs_v44/constructors/help_noAppUpdate.md b/old_docs/API_docs_v44/constructors/help_noAppUpdate.md deleted file mode 100644 index 51505e52..00000000 --- a/old_docs/API_docs_v44/constructors/help_noAppUpdate.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: help.noAppUpdate -description: No updates are available for the application. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.noAppUpdate -[Back to constructors index](index.md) - - - -No updates are available for the application. - - - - -### Type: [help\_AppUpdate](../types/help_AppUpdate.md) - - -### Example: - -```php -$help_noAppUpdate = ['_' => 'help.noAppUpdate']; -``` - - -Or, if you're into Lua: - -```lua -help_noAppUpdate={_='help.noAppUpdate'} - -``` - - diff --git a/old_docs/API_docs_v44/constructors/help_support.md b/old_docs/API_docs_v44/constructors/help_support.md deleted file mode 100644 index 148f7f42..00000000 --- a/old_docs/API_docs_v44/constructors/help_support.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: help.support -description: Info on support user. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.support -[Back to constructors index](index.md) - - - -Info on support user. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_number|[string](../types/string.md) | Yes|Phone number| -|user|[User](../types/User.md) | Optional|User| - - - -### Type: [help\_Support](../types/help_Support.md) - - -### Example: - -```php -$help_support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => User]; -``` - - -Or, if you're into Lua: - -```lua -help_support={_='help.support', phone_number='string', user=User} - -``` - - diff --git a/old_docs/API_docs_v44/constructors/help_termsOfService.md b/old_docs/API_docs_v44/constructors/help_termsOfService.md deleted file mode 100644 index 2ac763b3..00000000 --- a/old_docs/API_docs_v44/constructors/help_termsOfService.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: help.termsOfService -description: Info about the latest telegram Terms Of Service -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.termsOfService -[Back to constructors index](index.md) - - - -Info about the latest telegram Terms Of Service - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|text|[string](../types/string.md) | Yes|Text of the new terms| - - - -### Type: [help\_TermsOfService](../types/help_TermsOfService.md) - - -### Example: - -```php -$help_termsOfService = ['_' => 'help.termsOfService', 'text' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -help_termsOfService={_='help.termsOfService', text='string'} - -``` - - diff --git a/old_docs/API_docs_v44/constructors/messages.affectedHistory.md b/old_docs/API_docs_v44/constructors/messages.affectedHistory.md new file mode 100644 index 00000000..5fc8acec --- /dev/null +++ b/old_docs/API_docs_v44/constructors/messages.affectedHistory.md @@ -0,0 +1,40 @@ +--- +title: messages.affectedHistory +description: Affected part of communication history with the user or in a chat. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.affectedHistory +[Back to constructors index](index.md) + + + +Affected part of communication history with the user or in a chat. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| +|pts\_count|[int](../types/int.md) | Yes|Number of affected events| +|offset|[int](../types/int.md) | Yes|If a parameter contains positive value, it is necessary to repeat the method call using the given value; during the proceeding of all the history the value itself shall gradually decrease| + + + +### Type: [messages.AffectedHistory](../types/messages.AffectedHistory.md) + + +### Example: + +```php +$messages.affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.affectedHistory={_='messages.affectedHistory', pts=int, pts_count=int, offset=int} + +``` + + diff --git a/old_docs/API_docs_v44/constructors/messages.affectedMessages.md b/old_docs/API_docs_v44/constructors/messages.affectedMessages.md new file mode 100644 index 00000000..a0e60bdf --- /dev/null +++ b/old_docs/API_docs_v44/constructors/messages.affectedMessages.md @@ -0,0 +1,39 @@ +--- +title: messages.affectedMessages +description: Events affected by operation +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.affectedMessages +[Back to constructors index](index.md) + + + +Events affected by operation + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|[Event count after generation](https://core.telegram.org/api/updates)| +|pts\_count|[int](../types/int.md) | Yes|[Number of events that were generated](https://core.telegram.org/api/updates)| + + + +### Type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) + + +### Example: + +```php +$messages.affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.affectedMessages={_='messages.affectedMessages', pts=int, pts_count=int} + +``` + + diff --git a/old_docs/API_docs_v44/constructors/messages.allStickers.md b/old_docs/API_docs_v44/constructors/messages.allStickers.md new file mode 100644 index 00000000..5f13bfde --- /dev/null +++ b/old_docs/API_docs_v44/constructors/messages.allStickers.md @@ -0,0 +1,39 @@ +--- +title: messages.allStickers +description: Info about all installed stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.allStickers +[Back to constructors index](index.md) + + + +Info about all installed stickers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|sets|Array of [StickerSet](../types/StickerSet.md) | Yes|Sets| + + + +### Type: [messages.AllStickers](../types/messages.AllStickers.md) + + +### Example: + +```php +$messages.allStickers = ['_' => 'messages.allStickers', 'hash' => int, 'sets' => [StickerSet, StickerSet]]; +``` + + +Or, if you're into Lua: + +```lua +messages.allStickers={_='messages.allStickers', hash=int, sets={StickerSet}} + +``` + + diff --git a/old_docs/API_docs_v44/constructors/messages.allStickersNotModified.md b/old_docs/API_docs_v44/constructors/messages.allStickersNotModified.md new file mode 100644 index 00000000..d3db088b --- /dev/null +++ b/old_docs/API_docs_v44/constructors/messages.allStickersNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.allStickersNotModified +description: Info about all installed stickers hasn't changed +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.allStickersNotModified +[Back to constructors index](index.md) + + + +Info about all installed stickers hasn't changed + + + + +### Type: [messages.AllStickers](../types/messages.AllStickers.md) + + +### Example: + +```php +$messages.allStickersNotModified = ['_' => 'messages.allStickersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.allStickersNotModified={_='messages.allStickersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v44/constructors/messages.channelMessages.md b/old_docs/API_docs_v44/constructors/messages.channelMessages.md new file mode 100644 index 00000000..26b60293 --- /dev/null +++ b/old_docs/API_docs_v44/constructors/messages.channelMessages.md @@ -0,0 +1,43 @@ +--- +title: messages.channelMessages +description: Channel messages +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.channelMessages +[Back to constructors index](index.md) + + + +Channel messages + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|[Event count after generation](https://core.telegram.org/api/updates)| +|count|[int](../types/int.md) | Yes|Total number of results were found server-side (may not be all included here)| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|collapsed|Array of [MessageGroup](../types/MessageGroup.md) | Optional|Collapsed| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Messages](../types/messages.Messages.md) + + +### Example: + +```php +$messages.channelMessages = ['_' => 'messages.channelMessages', 'pts' => int, 'count' => int, 'messages' => [Message, Message], 'collapsed' => [MessageGroup, MessageGroup], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.channelMessages={_='messages.channelMessages', pts=int, count=int, messages={Message}, collapsed={MessageGroup}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v44/constructors/messages.chatFull.md b/old_docs/API_docs_v44/constructors/messages.chatFull.md new file mode 100644 index 00000000..3906cc54 --- /dev/null +++ b/old_docs/API_docs_v44/constructors/messages.chatFull.md @@ -0,0 +1,40 @@ +--- +title: messages.chatFull +description: Extended info on chat and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.chatFull +[Back to constructors index](index.md) + + + +Extended info on chat and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|full\_chat|[ChatFull](../types/ChatFull.md) | Yes|Extended info on a chat| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.ChatFull](../types/messages.ChatFull.md) + + +### Example: + +```php +$messages.chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.chatFull={_='messages.chatFull', full_chat=ChatFull, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v44/constructors/messages.chats.md b/old_docs/API_docs_v44/constructors/messages.chats.md new file mode 100644 index 00000000..9ede9ff2 --- /dev/null +++ b/old_docs/API_docs_v44/constructors/messages.chats.md @@ -0,0 +1,38 @@ +--- +title: messages.chats +description: List of chats with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.chats +[Back to constructors index](index.md) + + + +List of chats with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| + + + +### Type: [messages.Chats](../types/messages.Chats.md) + + +### Example: + +```php +$messages.chats = ['_' => 'messages.chats', 'chats' => [Chat, Chat]]; +``` + + +Or, if you're into Lua: + +```lua +messages.chats={_='messages.chats', chats={Chat}} + +``` + + diff --git a/old_docs/API_docs_v44/constructors/messages.dhConfig.md b/old_docs/API_docs_v44/constructors/messages.dhConfig.md new file mode 100644 index 00000000..58344f64 --- /dev/null +++ b/old_docs/API_docs_v44/constructors/messages.dhConfig.md @@ -0,0 +1,41 @@ +--- +title: messages.dhConfig +description: New set of configuring parameters. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dhConfig +[Back to constructors index](index.md) + + + +New set of configuring parameters. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|g|[int](../types/int.md) | Yes|New value **prime**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| +|p|[bytes](../types/bytes.md) | Yes|New value **primitive root**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| +|version|[int](../types/int.md) | Yes|Vestion of set of parameters| +|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| + + + +### Type: [messages.DhConfig](../types/messages.DhConfig.md) + + +### Example: + +```php +$messages.dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'version' => int, 'random' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +messages.dhConfig={_='messages.dhConfig', g=int, p='bytes', version=int, random='bytes'} + +``` + + diff --git a/old_docs/API_docs_v44/constructors/messages.dhConfigNotModified.md b/old_docs/API_docs_v44/constructors/messages.dhConfigNotModified.md new file mode 100644 index 00000000..a9a95389 --- /dev/null +++ b/old_docs/API_docs_v44/constructors/messages.dhConfigNotModified.md @@ -0,0 +1,38 @@ +--- +title: messages.dhConfigNotModified +description: Configuring parameters did not change. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dhConfigNotModified +[Back to constructors index](index.md) + + + +Configuring parameters did not change. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| + + + +### Type: [messages.DhConfig](../types/messages.DhConfig.md) + + +### Example: + +```php +$messages.dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +messages.dhConfigNotModified={_='messages.dhConfigNotModified', random='bytes'} + +``` + + diff --git a/old_docs/API_docs_v44/constructors/messages.dialogs.md b/old_docs/API_docs_v44/constructors/messages.dialogs.md new file mode 100644 index 00000000..a72eabce --- /dev/null +++ b/old_docs/API_docs_v44/constructors/messages.dialogs.md @@ -0,0 +1,41 @@ +--- +title: messages.dialogs +description: Full list of chats with messages and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dialogs +[Back to constructors index](index.md) + + + +Full list of chats with messages and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Dialogs](../types/messages.Dialogs.md) + + +### Example: + +```php +$messages.dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.dialogs={_='messages.dialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v44/constructors/messages.dialogsSlice.md b/old_docs/API_docs_v44/constructors/messages.dialogsSlice.md new file mode 100644 index 00000000..26227d2c --- /dev/null +++ b/old_docs/API_docs_v44/constructors/messages.dialogsSlice.md @@ -0,0 +1,42 @@ +--- +title: messages.dialogsSlice +description: Incomplete list of dialogs with messages and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dialogsSlice +[Back to constructors index](index.md) + + + +Incomplete list of dialogs with messages and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of dialogs| +|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Dialogs](../types/messages.Dialogs.md) + + +### Example: + +```php +$messages.dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.dialogsSlice={_='messages.dialogsSlice', count=int, dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v44/constructors/messages.foundGifs.md b/old_docs/API_docs_v44/constructors/messages.foundGifs.md new file mode 100644 index 00000000..c75e36f9 --- /dev/null +++ b/old_docs/API_docs_v44/constructors/messages.foundGifs.md @@ -0,0 +1,39 @@ +--- +title: messages.foundGifs +description: Found GIFs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.foundGifs +[Back to constructors index](index.md) + + + +Found GIFs + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|next\_offset|[int](../types/int.md) | Yes|Next offset to use when trying to [load more results](../methods/messages.searchGifs.md)| +|results|Array of [FoundGif](../types/FoundGif.md) | Yes|Results| + + + +### Type: [messages.FoundGifs](../types/messages.FoundGifs.md) + + +### Example: + +```php +$messages.foundGifs = ['_' => 'messages.foundGifs', 'next_offset' => int, 'results' => [FoundGif, FoundGif]]; +``` + + +Or, if you're into Lua: + +```lua +messages.foundGifs={_='messages.foundGifs', next_offset=int, results={FoundGif}} + +``` + + diff --git a/old_docs/API_docs_v44/constructors/messages.messages.md b/old_docs/API_docs_v44/constructors/messages.messages.md new file mode 100644 index 00000000..3af71dca --- /dev/null +++ b/old_docs/API_docs_v44/constructors/messages.messages.md @@ -0,0 +1,40 @@ +--- +title: messages.messages +description: Full list of messages with auxilary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.messages +[Back to constructors index](index.md) + + + +Full list of messages with auxilary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Messages](../types/messages.Messages.md) + + +### Example: + +```php +$messages.messages = ['_' => 'messages.messages', 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.messages={_='messages.messages', messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v44/constructors/messages.messagesSlice.md b/old_docs/API_docs_v44/constructors/messages.messagesSlice.md new file mode 100644 index 00000000..2fe91df0 --- /dev/null +++ b/old_docs/API_docs_v44/constructors/messages.messagesSlice.md @@ -0,0 +1,41 @@ +--- +title: messages.messagesSlice +description: Incomplete list of messages and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.messagesSlice +[Back to constructors index](index.md) + + + +Incomplete list of messages and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of messages in the list| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Messages](../types/messages.Messages.md) + + +### Example: + +```php +$messages.messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.messagesSlice={_='messages.messagesSlice', count=int, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v44/constructors/messages.sentEncryptedFile.md b/old_docs/API_docs_v44/constructors/messages.sentEncryptedFile.md new file mode 100644 index 00000000..1f0e43c6 --- /dev/null +++ b/old_docs/API_docs_v44/constructors/messages.sentEncryptedFile.md @@ -0,0 +1,39 @@ +--- +title: messages.sentEncryptedFile +description: Message with a file enclosure sent to a protected chat +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.sentEncryptedFile +[Back to constructors index](index.md) + + + +Message with a file enclosure sent to a protected chat + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Sending date| +|file|[EncryptedFile](../types/EncryptedFile.md) | Optional|Attached file| + + + +### Type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) + + +### Example: + +```php +$messages.sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile]; +``` + + +Or, if you're into Lua: + +```lua +messages.sentEncryptedFile={_='messages.sentEncryptedFile', date=int, file=EncryptedFile} + +``` + + diff --git a/old_docs/API_docs_v44/constructors/messages.sentEncryptedMessage.md b/old_docs/API_docs_v44/constructors/messages.sentEncryptedMessage.md new file mode 100644 index 00000000..3d5eb40c --- /dev/null +++ b/old_docs/API_docs_v44/constructors/messages.sentEncryptedMessage.md @@ -0,0 +1,38 @@ +--- +title: messages.sentEncryptedMessage +description: Message without file attachemts sent to an encrypted file. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.sentEncryptedMessage +[Back to constructors index](index.md) + + + +Message without file attachemts sent to an encrypted file. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Date of sending| + + + +### Type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) + + +### Example: + +```php +$messages.sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.sentEncryptedMessage={_='messages.sentEncryptedMessage', date=int} + +``` + + diff --git a/old_docs/API_docs_v44/constructors/messages.stickerSet.md b/old_docs/API_docs_v44/constructors/messages.stickerSet.md new file mode 100644 index 00000000..fbc154d0 --- /dev/null +++ b/old_docs/API_docs_v44/constructors/messages.stickerSet.md @@ -0,0 +1,40 @@ +--- +title: messages.stickerSet +description: Stickerset and stickers inside it +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickerSet +[Back to constructors index](index.md) + + + +Stickerset and stickers inside it + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|set|[StickerSet](../types/StickerSet.md) | Yes|The stickerset| +|packs|Array of [StickerPack](../types/StickerPack.md) | Yes|Packs| +|documents|Array of [Document](../types/Document.md) | Yes|Documents| + + + +### Type: [messages.StickerSet](../types/messages.StickerSet.md) + + +### Example: + +```php +$messages.stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'packs' => [StickerPack, StickerPack], 'documents' => [Document, Document]]; +``` + + +Or, if you're into Lua: + +```lua +messages.stickerSet={_='messages.stickerSet', set=StickerSet, packs={StickerPack}, documents={Document}} + +``` + + diff --git a/old_docs/API_docs_v44/constructors/messages.stickers.md b/old_docs/API_docs_v44/constructors/messages.stickers.md new file mode 100644 index 00000000..310b64b0 --- /dev/null +++ b/old_docs/API_docs_v44/constructors/messages.stickers.md @@ -0,0 +1,39 @@ +--- +title: messages.stickers +description: Found stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickers +[Back to constructors index](index.md) + + + +Found stickers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[string](../types/string.md) | Yes|Hash| +|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| + + + +### Type: [messages.Stickers](../types/messages.Stickers.md) + + +### Example: + +```php +$messages.stickers = ['_' => 'messages.stickers', 'hash' => 'string', 'stickers' => [Document, Document]]; +``` + + +Or, if you're into Lua: + +```lua +messages.stickers={_='messages.stickers', hash='string', stickers={Document}} + +``` + + diff --git a/old_docs/API_docs_v44/constructors/messages.stickersNotModified.md b/old_docs/API_docs_v44/constructors/messages.stickersNotModified.md new file mode 100644 index 00000000..e8c7766c --- /dev/null +++ b/old_docs/API_docs_v44/constructors/messages.stickersNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.stickersNotModified +description: No new stickers were found for the given query +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickersNotModified +[Back to constructors index](index.md) + + + +No new stickers were found for the given query + + + + +### Type: [messages.Stickers](../types/messages.Stickers.md) + + +### Example: + +```php +$messages.stickersNotModified = ['_' => 'messages.stickersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.stickersNotModified={_='messages.stickersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v44/constructors/messages_affectedHistory.md b/old_docs/API_docs_v44/constructors/messages_affectedHistory.md deleted file mode 100644 index 449a7e3f..00000000 --- a/old_docs/API_docs_v44/constructors/messages_affectedHistory.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.affectedHistory -description: Affected part of communication history with the user or in a chat. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.affectedHistory -[Back to constructors index](index.md) - - - -Affected part of communication history with the user or in a chat. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| -|pts\_count|[int](../types/int.md) | Yes|Number of affected events| -|offset|[int](../types/int.md) | Yes|If a parameter contains positive value, it is necessary to repeat the method call using the given value; during the proceeding of all the history the value itself shall gradually decrease| - - - -### Type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) - - -### Example: - -```php -$messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_affectedHistory={_='messages.affectedHistory', pts=int, pts_count=int, offset=int} - -``` - - diff --git a/old_docs/API_docs_v44/constructors/messages_affectedMessages.md b/old_docs/API_docs_v44/constructors/messages_affectedMessages.md deleted file mode 100644 index 86760581..00000000 --- a/old_docs/API_docs_v44/constructors/messages_affectedMessages.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.affectedMessages -description: Events affected by operation -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.affectedMessages -[Back to constructors index](index.md) - - - -Events affected by operation - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|[Event count after generation](https://core.telegram.org/api/updates)| -|pts\_count|[int](../types/int.md) | Yes|[Number of events that were generated](https://core.telegram.org/api/updates)| - - - -### Type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) - - -### Example: - -```php -$messages_affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_affectedMessages={_='messages.affectedMessages', pts=int, pts_count=int} - -``` - - diff --git a/old_docs/API_docs_v44/constructors/messages_allStickers.md b/old_docs/API_docs_v44/constructors/messages_allStickers.md deleted file mode 100644 index 2e64f46e..00000000 --- a/old_docs/API_docs_v44/constructors/messages_allStickers.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.allStickers -description: Info about all installed stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.allStickers -[Back to constructors index](index.md) - - - -Info about all installed stickers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|sets|Array of [StickerSet](../types/StickerSet.md) | Yes|Sets| - - - -### Type: [messages\_AllStickers](../types/messages_AllStickers.md) - - -### Example: - -```php -$messages_allStickers = ['_' => 'messages.allStickers', 'hash' => int, 'sets' => [StickerSet, StickerSet]]; -``` - - -Or, if you're into Lua: - -```lua -messages_allStickers={_='messages.allStickers', hash=int, sets={StickerSet}} - -``` - - diff --git a/old_docs/API_docs_v44/constructors/messages_allStickersNotModified.md b/old_docs/API_docs_v44/constructors/messages_allStickersNotModified.md deleted file mode 100644 index c4da85ab..00000000 --- a/old_docs/API_docs_v44/constructors/messages_allStickersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.allStickersNotModified -description: Info about all installed stickers hasn't changed -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.allStickersNotModified -[Back to constructors index](index.md) - - - -Info about all installed stickers hasn't changed - - - - -### Type: [messages\_AllStickers](../types/messages_AllStickers.md) - - -### Example: - -```php -$messages_allStickersNotModified = ['_' => 'messages.allStickersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_allStickersNotModified={_='messages.allStickersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v44/constructors/messages_channelMessages.md b/old_docs/API_docs_v44/constructors/messages_channelMessages.md deleted file mode 100644 index f59dea09..00000000 --- a/old_docs/API_docs_v44/constructors/messages_channelMessages.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: messages.channelMessages -description: Channel messages -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.channelMessages -[Back to constructors index](index.md) - - - -Channel messages - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|[Event count after generation](https://core.telegram.org/api/updates)| -|count|[int](../types/int.md) | Yes|Total number of results were found server-side (may not be all included here)| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|collapsed|Array of [MessageGroup](../types/MessageGroup.md) | Optional|Collapsed| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Messages](../types/messages_Messages.md) - - -### Example: - -```php -$messages_channelMessages = ['_' => 'messages.channelMessages', 'pts' => int, 'count' => int, 'messages' => [Message, Message], 'collapsed' => [MessageGroup, MessageGroup], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_channelMessages={_='messages.channelMessages', pts=int, count=int, messages={Message}, collapsed={MessageGroup}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v44/constructors/messages_chatFull.md b/old_docs/API_docs_v44/constructors/messages_chatFull.md deleted file mode 100644 index 02f1acdf..00000000 --- a/old_docs/API_docs_v44/constructors/messages_chatFull.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.chatFull -description: Extended info on chat and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.chatFull -[Back to constructors index](index.md) - - - -Extended info on chat and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|full\_chat|[ChatFull](../types/ChatFull.md) | Yes|Extended info on a chat| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_ChatFull](../types/messages_ChatFull.md) - - -### Example: - -```php -$messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_chatFull={_='messages.chatFull', full_chat=ChatFull, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v44/constructors/messages_chats.md b/old_docs/API_docs_v44/constructors/messages_chats.md deleted file mode 100644 index ef3690a9..00000000 --- a/old_docs/API_docs_v44/constructors/messages_chats.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.chats -description: List of chats with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.chats -[Back to constructors index](index.md) - - - -List of chats with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| - - - -### Type: [messages\_Chats](../types/messages_Chats.md) - - -### Example: - -```php -$messages_chats = ['_' => 'messages.chats', 'chats' => [Chat, Chat]]; -``` - - -Or, if you're into Lua: - -```lua -messages_chats={_='messages.chats', chats={Chat}} - -``` - - diff --git a/old_docs/API_docs_v44/constructors/messages_dhConfig.md b/old_docs/API_docs_v44/constructors/messages_dhConfig.md deleted file mode 100644 index 42c2feb1..00000000 --- a/old_docs/API_docs_v44/constructors/messages_dhConfig.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: messages.dhConfig -description: New set of configuring parameters. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dhConfig -[Back to constructors index](index.md) - - - -New set of configuring parameters. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|g|[int](../types/int.md) | Yes|New value **prime**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| -|p|[bytes](../types/bytes.md) | Yes|New value **primitive root**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| -|version|[int](../types/int.md) | Yes|Vestion of set of parameters| -|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| - - - -### Type: [messages\_DhConfig](../types/messages_DhConfig.md) - - -### Example: - -```php -$messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'version' => int, 'random' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -messages_dhConfig={_='messages.dhConfig', g=int, p='bytes', version=int, random='bytes'} - -``` - - diff --git a/old_docs/API_docs_v44/constructors/messages_dhConfigNotModified.md b/old_docs/API_docs_v44/constructors/messages_dhConfigNotModified.md deleted file mode 100644 index 5bf64230..00000000 --- a/old_docs/API_docs_v44/constructors/messages_dhConfigNotModified.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.dhConfigNotModified -description: Configuring parameters did not change. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dhConfigNotModified -[Back to constructors index](index.md) - - - -Configuring parameters did not change. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| - - - -### Type: [messages\_DhConfig](../types/messages_DhConfig.md) - - -### Example: - -```php -$messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -messages_dhConfigNotModified={_='messages.dhConfigNotModified', random='bytes'} - -``` - - diff --git a/old_docs/API_docs_v44/constructors/messages_dialogs.md b/old_docs/API_docs_v44/constructors/messages_dialogs.md deleted file mode 100644 index e6a431b4..00000000 --- a/old_docs/API_docs_v44/constructors/messages_dialogs.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: messages.dialogs -description: Full list of chats with messages and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dialogs -[Back to constructors index](index.md) - - - -Full list of chats with messages and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Dialogs](../types/messages_Dialogs.md) - - -### Example: - -```php -$messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_dialogs={_='messages.dialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v44/constructors/messages_dialogsSlice.md b/old_docs/API_docs_v44/constructors/messages_dialogsSlice.md deleted file mode 100644 index f183b9a8..00000000 --- a/old_docs/API_docs_v44/constructors/messages_dialogsSlice.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: messages.dialogsSlice -description: Incomplete list of dialogs with messages and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dialogsSlice -[Back to constructors index](index.md) - - - -Incomplete list of dialogs with messages and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of dialogs| -|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Dialogs](../types/messages_Dialogs.md) - - -### Example: - -```php -$messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_dialogsSlice={_='messages.dialogsSlice', count=int, dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v44/constructors/messages_foundGifs.md b/old_docs/API_docs_v44/constructors/messages_foundGifs.md deleted file mode 100644 index eb3603ca..00000000 --- a/old_docs/API_docs_v44/constructors/messages_foundGifs.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.foundGifs -description: Found GIFs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.foundGifs -[Back to constructors index](index.md) - - - -Found GIFs - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|next\_offset|[int](../types/int.md) | Yes|Next offset to use when trying to [load more results](../methods/messages.searchGifs.md)| -|results|Array of [FoundGif](../types/FoundGif.md) | Yes|Results| - - - -### Type: [messages\_FoundGifs](../types/messages_FoundGifs.md) - - -### Example: - -```php -$messages_foundGifs = ['_' => 'messages.foundGifs', 'next_offset' => int, 'results' => [FoundGif, FoundGif]]; -``` - - -Or, if you're into Lua: - -```lua -messages_foundGifs={_='messages.foundGifs', next_offset=int, results={FoundGif}} - -``` - - diff --git a/old_docs/API_docs_v44/constructors/messages_messages.md b/old_docs/API_docs_v44/constructors/messages_messages.md deleted file mode 100644 index 3e369e1a..00000000 --- a/old_docs/API_docs_v44/constructors/messages_messages.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.messages -description: Full list of messages with auxilary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.messages -[Back to constructors index](index.md) - - - -Full list of messages with auxilary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Messages](../types/messages_Messages.md) - - -### Example: - -```php -$messages_messages = ['_' => 'messages.messages', 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_messages={_='messages.messages', messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v44/constructors/messages_messagesSlice.md b/old_docs/API_docs_v44/constructors/messages_messagesSlice.md deleted file mode 100644 index f9b8dc18..00000000 --- a/old_docs/API_docs_v44/constructors/messages_messagesSlice.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: messages.messagesSlice -description: Incomplete list of messages and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.messagesSlice -[Back to constructors index](index.md) - - - -Incomplete list of messages and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of messages in the list| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Messages](../types/messages_Messages.md) - - -### Example: - -```php -$messages_messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_messagesSlice={_='messages.messagesSlice', count=int, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v44/constructors/messages_sentEncryptedFile.md b/old_docs/API_docs_v44/constructors/messages_sentEncryptedFile.md deleted file mode 100644 index fdc2a11e..00000000 --- a/old_docs/API_docs_v44/constructors/messages_sentEncryptedFile.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.sentEncryptedFile -description: Message with a file enclosure sent to a protected chat -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.sentEncryptedFile -[Back to constructors index](index.md) - - - -Message with a file enclosure sent to a protected chat - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Sending date| -|file|[EncryptedFile](../types/EncryptedFile.md) | Optional|Attached file| - - - -### Type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) - - -### Example: - -```php -$messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile]; -``` - - -Or, if you're into Lua: - -```lua -messages_sentEncryptedFile={_='messages.sentEncryptedFile', date=int, file=EncryptedFile} - -``` - - diff --git a/old_docs/API_docs_v44/constructors/messages_sentEncryptedMessage.md b/old_docs/API_docs_v44/constructors/messages_sentEncryptedMessage.md deleted file mode 100644 index 36b2bbff..00000000 --- a/old_docs/API_docs_v44/constructors/messages_sentEncryptedMessage.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.sentEncryptedMessage -description: Message without file attachemts sent to an encrypted file. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.sentEncryptedMessage -[Back to constructors index](index.md) - - - -Message without file attachemts sent to an encrypted file. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Date of sending| - - - -### Type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) - - -### Example: - -```php -$messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_sentEncryptedMessage={_='messages.sentEncryptedMessage', date=int} - -``` - - diff --git a/old_docs/API_docs_v44/constructors/messages_stickerSet.md b/old_docs/API_docs_v44/constructors/messages_stickerSet.md deleted file mode 100644 index 127191de..00000000 --- a/old_docs/API_docs_v44/constructors/messages_stickerSet.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.stickerSet -description: Stickerset and stickers inside it -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickerSet -[Back to constructors index](index.md) - - - -Stickerset and stickers inside it - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|set|[StickerSet](../types/StickerSet.md) | Yes|The stickerset| -|packs|Array of [StickerPack](../types/StickerPack.md) | Yes|Packs| -|documents|Array of [Document](../types/Document.md) | Yes|Documents| - - - -### Type: [messages\_StickerSet](../types/messages_StickerSet.md) - - -### Example: - -```php -$messages_stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'packs' => [StickerPack, StickerPack], 'documents' => [Document, Document]]; -``` - - -Or, if you're into Lua: - -```lua -messages_stickerSet={_='messages.stickerSet', set=StickerSet, packs={StickerPack}, documents={Document}} - -``` - - diff --git a/old_docs/API_docs_v44/constructors/messages_stickers.md b/old_docs/API_docs_v44/constructors/messages_stickers.md deleted file mode 100644 index 1c007df2..00000000 --- a/old_docs/API_docs_v44/constructors/messages_stickers.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.stickers -description: Found stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickers -[Back to constructors index](index.md) - - - -Found stickers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[string](../types/string.md) | Yes|Hash| -|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| - - - -### Type: [messages\_Stickers](../types/messages_Stickers.md) - - -### Example: - -```php -$messages_stickers = ['_' => 'messages.stickers', 'hash' => 'string', 'stickers' => [Document, Document]]; -``` - - -Or, if you're into Lua: - -```lua -messages_stickers={_='messages.stickers', hash='string', stickers={Document}} - -``` - - diff --git a/old_docs/API_docs_v44/constructors/messages_stickersNotModified.md b/old_docs/API_docs_v44/constructors/messages_stickersNotModified.md deleted file mode 100644 index 3d434a79..00000000 --- a/old_docs/API_docs_v44/constructors/messages_stickersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.stickersNotModified -description: No new stickers were found for the given query -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickersNotModified -[Back to constructors index](index.md) - - - -No new stickers were found for the given query - - - - -### Type: [messages\_Stickers](../types/messages_Stickers.md) - - -### Example: - -```php -$messages_stickersNotModified = ['_' => 'messages.stickersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_stickersNotModified={_='messages.stickersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v44/constructors/photos.photo.md b/old_docs/API_docs_v44/constructors/photos.photo.md new file mode 100644 index 00000000..43d3efc7 --- /dev/null +++ b/old_docs/API_docs_v44/constructors/photos.photo.md @@ -0,0 +1,39 @@ +--- +title: photos.photo +description: Photo with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: photos.photo +[Back to constructors index](index.md) + + + +Photo with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|photo|[Photo](../types/Photo.md) | Optional|Photo| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [photos.Photo](../types/photos.Photo.md) + + +### Example: + +```php +$photos.photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +photos.photo={_='photos.photo', photo=Photo, users={User}} + +``` + + diff --git a/old_docs/API_docs_v44/constructors/photos.photos.md b/old_docs/API_docs_v44/constructors/photos.photos.md new file mode 100644 index 00000000..901a9693 --- /dev/null +++ b/old_docs/API_docs_v44/constructors/photos.photos.md @@ -0,0 +1,39 @@ +--- +title: photos.photos +description: Full list of photos with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: photos.photos +[Back to constructors index](index.md) + + + +Full list of photos with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [photos.Photos](../types/photos.Photos.md) + + +### Example: + +```php +$photos.photos = ['_' => 'photos.photos', 'photos' => [Photo, Photo], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +photos.photos={_='photos.photos', photos={Photo}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v44/constructors/photos.photosSlice.md b/old_docs/API_docs_v44/constructors/photos.photosSlice.md new file mode 100644 index 00000000..2cca3546 --- /dev/null +++ b/old_docs/API_docs_v44/constructors/photos.photosSlice.md @@ -0,0 +1,40 @@ +--- +title: photos.photosSlice +description: Incomplete list of photos with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: photos.photosSlice +[Back to constructors index](index.md) + + + +Incomplete list of photos with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of photos| +|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [photos.Photos](../types/photos.Photos.md) + + +### Example: + +```php +$photos.photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo, Photo], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +photos.photosSlice={_='photos.photosSlice', count=int, photos={Photo}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v44/constructors/photos_photo.md b/old_docs/API_docs_v44/constructors/photos_photo.md deleted file mode 100644 index d5ad61d9..00000000 --- a/old_docs/API_docs_v44/constructors/photos_photo.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: photos.photo -description: Photo with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: photos.photo -[Back to constructors index](index.md) - - - -Photo with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|photo|[Photo](../types/Photo.md) | Optional|Photo| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [photos\_Photo](../types/photos_Photo.md) - - -### Example: - -```php -$photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -photos_photo={_='photos.photo', photo=Photo, users={User}} - -``` - - diff --git a/old_docs/API_docs_v44/constructors/photos_photos.md b/old_docs/API_docs_v44/constructors/photos_photos.md deleted file mode 100644 index 6ae5d048..00000000 --- a/old_docs/API_docs_v44/constructors/photos_photos.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: photos.photos -description: Full list of photos with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: photos.photos -[Back to constructors index](index.md) - - - -Full list of photos with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [photos\_Photos](../types/photos_Photos.md) - - -### Example: - -```php -$photos_photos = ['_' => 'photos.photos', 'photos' => [Photo, Photo], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -photos_photos={_='photos.photos', photos={Photo}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v44/constructors/photos_photosSlice.md b/old_docs/API_docs_v44/constructors/photos_photosSlice.md deleted file mode 100644 index 5c465c21..00000000 --- a/old_docs/API_docs_v44/constructors/photos_photosSlice.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: photos.photosSlice -description: Incomplete list of photos with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: photos.photosSlice -[Back to constructors index](index.md) - - - -Incomplete list of photos with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of photos| -|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [photos\_Photos](../types/photos_Photos.md) - - -### Example: - -```php -$photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo, Photo], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -photos_photosSlice={_='photos.photosSlice', count=int, photos={Photo}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v44/constructors/storage.fileGif.md b/old_docs/API_docs_v44/constructors/storage.fileGif.md new file mode 100644 index 00000000..8193bd25 --- /dev/null +++ b/old_docs/API_docs_v44/constructors/storage.fileGif.md @@ -0,0 +1,33 @@ +--- +title: storage.fileGif +description: GIF image. MIME type: `image/gif`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileGif +[Back to constructors index](index.md) + + + +GIF image. MIME type: `image/gif`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileGif = ['_' => 'storage.fileGif']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileGif={_='storage.fileGif'} + +``` + + diff --git a/old_docs/API_docs_v44/constructors/storage.fileJpeg.md b/old_docs/API_docs_v44/constructors/storage.fileJpeg.md new file mode 100644 index 00000000..7f125963 --- /dev/null +++ b/old_docs/API_docs_v44/constructors/storage.fileJpeg.md @@ -0,0 +1,33 @@ +--- +title: storage.fileJpeg +description: JPEG image. MIME type: `image/jpeg`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileJpeg +[Back to constructors index](index.md) + + + +JPEG image. MIME type: `image/jpeg`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileJpeg = ['_' => 'storage.fileJpeg']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileJpeg={_='storage.fileJpeg'} + +``` + + diff --git a/old_docs/API_docs_v44/constructors/storage.fileMov.md b/old_docs/API_docs_v44/constructors/storage.fileMov.md new file mode 100644 index 00000000..cb3742e0 --- /dev/null +++ b/old_docs/API_docs_v44/constructors/storage.fileMov.md @@ -0,0 +1,33 @@ +--- +title: storage.fileMov +description: Quicktime video. MIME type: `video/quicktime`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileMov +[Back to constructors index](index.md) + + + +Quicktime video. MIME type: `video/quicktime`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileMov = ['_' => 'storage.fileMov']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileMov={_='storage.fileMov'} + +``` + + diff --git a/old_docs/API_docs_v44/constructors/storage.fileMp3.md b/old_docs/API_docs_v44/constructors/storage.fileMp3.md new file mode 100644 index 00000000..617f2d39 --- /dev/null +++ b/old_docs/API_docs_v44/constructors/storage.fileMp3.md @@ -0,0 +1,33 @@ +--- +title: storage.fileMp3 +description: Mp3 audio. MIME type: `audio/mpeg`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileMp3 +[Back to constructors index](index.md) + + + +Mp3 audio. MIME type: `audio/mpeg`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileMp3 = ['_' => 'storage.fileMp3']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileMp3={_='storage.fileMp3'} + +``` + + diff --git a/old_docs/API_docs_v44/constructors/storage.fileMp4.md b/old_docs/API_docs_v44/constructors/storage.fileMp4.md new file mode 100644 index 00000000..37038176 --- /dev/null +++ b/old_docs/API_docs_v44/constructors/storage.fileMp4.md @@ -0,0 +1,33 @@ +--- +title: storage.fileMp4 +description: MPEG-4 video. MIME type: `video/mp4`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileMp4 +[Back to constructors index](index.md) + + + +MPEG-4 video. MIME type: `video/mp4`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileMp4 = ['_' => 'storage.fileMp4']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileMp4={_='storage.fileMp4'} + +``` + + diff --git a/old_docs/API_docs_v44/constructors/storage.filePartial.md b/old_docs/API_docs_v44/constructors/storage.filePartial.md new file mode 100644 index 00000000..98779e71 --- /dev/null +++ b/old_docs/API_docs_v44/constructors/storage.filePartial.md @@ -0,0 +1,33 @@ +--- +title: storage.filePartial +description: Part of a bigger file. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.filePartial +[Back to constructors index](index.md) + + + +Part of a bigger file. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.filePartial = ['_' => 'storage.filePartial']; +``` + + +Or, if you're into Lua: + +```lua +storage.filePartial={_='storage.filePartial'} + +``` + + diff --git a/old_docs/API_docs_v44/constructors/storage.filePdf.md b/old_docs/API_docs_v44/constructors/storage.filePdf.md new file mode 100644 index 00000000..136c0614 --- /dev/null +++ b/old_docs/API_docs_v44/constructors/storage.filePdf.md @@ -0,0 +1,33 @@ +--- +title: storage.filePdf +description: PDF document image. MIME type: `application/pdf`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.filePdf +[Back to constructors index](index.md) + + + +PDF document image. MIME type: `application/pdf`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.filePdf = ['_' => 'storage.filePdf']; +``` + + +Or, if you're into Lua: + +```lua +storage.filePdf={_='storage.filePdf'} + +``` + + diff --git a/old_docs/API_docs_v44/constructors/storage.filePng.md b/old_docs/API_docs_v44/constructors/storage.filePng.md new file mode 100644 index 00000000..db01ce0e --- /dev/null +++ b/old_docs/API_docs_v44/constructors/storage.filePng.md @@ -0,0 +1,33 @@ +--- +title: storage.filePng +description: PNG image. MIME type: `image/png`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.filePng +[Back to constructors index](index.md) + + + +PNG image. MIME type: `image/png`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.filePng = ['_' => 'storage.filePng']; +``` + + +Or, if you're into Lua: + +```lua +storage.filePng={_='storage.filePng'} + +``` + + diff --git a/old_docs/API_docs_v44/constructors/storage.fileUnknown.md b/old_docs/API_docs_v44/constructors/storage.fileUnknown.md new file mode 100644 index 00000000..26f0a5ae --- /dev/null +++ b/old_docs/API_docs_v44/constructors/storage.fileUnknown.md @@ -0,0 +1,33 @@ +--- +title: storage.fileUnknown +description: Unknown type. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileUnknown +[Back to constructors index](index.md) + + + +Unknown type. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileUnknown = ['_' => 'storage.fileUnknown']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileUnknown={_='storage.fileUnknown'} + +``` + + diff --git a/old_docs/API_docs_v44/constructors/storage.fileWebp.md b/old_docs/API_docs_v44/constructors/storage.fileWebp.md new file mode 100644 index 00000000..63c9ded1 --- /dev/null +++ b/old_docs/API_docs_v44/constructors/storage.fileWebp.md @@ -0,0 +1,33 @@ +--- +title: storage.fileWebp +description: WEBP image. MIME type: `image/webp`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileWebp +[Back to constructors index](index.md) + + + +WEBP image. MIME type: `image/webp`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileWebp = ['_' => 'storage.fileWebp']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileWebp={_='storage.fileWebp'} + +``` + + diff --git a/old_docs/API_docs_v44/constructors/storage_fileGif.md b/old_docs/API_docs_v44/constructors/storage_fileGif.md deleted file mode 100644 index 218c7491..00000000 --- a/old_docs/API_docs_v44/constructors/storage_fileGif.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileGif -description: GIF image. MIME type: `image/gif`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileGif -[Back to constructors index](index.md) - - - -GIF image. MIME type: `image/gif`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileGif = ['_' => 'storage.fileGif']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileGif={_='storage.fileGif'} - -``` - - diff --git a/old_docs/API_docs_v44/constructors/storage_fileJpeg.md b/old_docs/API_docs_v44/constructors/storage_fileJpeg.md deleted file mode 100644 index 925531cd..00000000 --- a/old_docs/API_docs_v44/constructors/storage_fileJpeg.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileJpeg -description: JPEG image. MIME type: `image/jpeg`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileJpeg -[Back to constructors index](index.md) - - - -JPEG image. MIME type: `image/jpeg`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileJpeg = ['_' => 'storage.fileJpeg']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileJpeg={_='storage.fileJpeg'} - -``` - - diff --git a/old_docs/API_docs_v44/constructors/storage_fileMov.md b/old_docs/API_docs_v44/constructors/storage_fileMov.md deleted file mode 100644 index eaf2a6ff..00000000 --- a/old_docs/API_docs_v44/constructors/storage_fileMov.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileMov -description: Quicktime video. MIME type: `video/quicktime`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileMov -[Back to constructors index](index.md) - - - -Quicktime video. MIME type: `video/quicktime`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileMov = ['_' => 'storage.fileMov']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileMov={_='storage.fileMov'} - -``` - - diff --git a/old_docs/API_docs_v44/constructors/storage_fileMp3.md b/old_docs/API_docs_v44/constructors/storage_fileMp3.md deleted file mode 100644 index 9afcefbb..00000000 --- a/old_docs/API_docs_v44/constructors/storage_fileMp3.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileMp3 -description: Mp3 audio. MIME type: `audio/mpeg`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileMp3 -[Back to constructors index](index.md) - - - -Mp3 audio. MIME type: `audio/mpeg`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileMp3 = ['_' => 'storage.fileMp3']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileMp3={_='storage.fileMp3'} - -``` - - diff --git a/old_docs/API_docs_v44/constructors/storage_fileMp4.md b/old_docs/API_docs_v44/constructors/storage_fileMp4.md deleted file mode 100644 index cdc0e783..00000000 --- a/old_docs/API_docs_v44/constructors/storage_fileMp4.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileMp4 -description: MPEG-4 video. MIME type: `video/mp4`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileMp4 -[Back to constructors index](index.md) - - - -MPEG-4 video. MIME type: `video/mp4`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileMp4 = ['_' => 'storage.fileMp4']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileMp4={_='storage.fileMp4'} - -``` - - diff --git a/old_docs/API_docs_v44/constructors/storage_filePartial.md b/old_docs/API_docs_v44/constructors/storage_filePartial.md deleted file mode 100644 index 9bfadf63..00000000 --- a/old_docs/API_docs_v44/constructors/storage_filePartial.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.filePartial -description: Part of a bigger file. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.filePartial -[Back to constructors index](index.md) - - - -Part of a bigger file. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_filePartial = ['_' => 'storage.filePartial']; -``` - - -Or, if you're into Lua: - -```lua -storage_filePartial={_='storage.filePartial'} - -``` - - diff --git a/old_docs/API_docs_v44/constructors/storage_filePdf.md b/old_docs/API_docs_v44/constructors/storage_filePdf.md deleted file mode 100644 index efb022cc..00000000 --- a/old_docs/API_docs_v44/constructors/storage_filePdf.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.filePdf -description: PDF document image. MIME type: `application/pdf`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.filePdf -[Back to constructors index](index.md) - - - -PDF document image. MIME type: `application/pdf`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_filePdf = ['_' => 'storage.filePdf']; -``` - - -Or, if you're into Lua: - -```lua -storage_filePdf={_='storage.filePdf'} - -``` - - diff --git a/old_docs/API_docs_v44/constructors/storage_filePng.md b/old_docs/API_docs_v44/constructors/storage_filePng.md deleted file mode 100644 index 412759e4..00000000 --- a/old_docs/API_docs_v44/constructors/storage_filePng.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.filePng -description: PNG image. MIME type: `image/png`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.filePng -[Back to constructors index](index.md) - - - -PNG image. MIME type: `image/png`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_filePng = ['_' => 'storage.filePng']; -``` - - -Or, if you're into Lua: - -```lua -storage_filePng={_='storage.filePng'} - -``` - - diff --git a/old_docs/API_docs_v44/constructors/storage_fileUnknown.md b/old_docs/API_docs_v44/constructors/storage_fileUnknown.md deleted file mode 100644 index ed33dd5e..00000000 --- a/old_docs/API_docs_v44/constructors/storage_fileUnknown.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileUnknown -description: Unknown type. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileUnknown -[Back to constructors index](index.md) - - - -Unknown type. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileUnknown = ['_' => 'storage.fileUnknown']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileUnknown={_='storage.fileUnknown'} - -``` - - diff --git a/old_docs/API_docs_v44/constructors/storage_fileWebp.md b/old_docs/API_docs_v44/constructors/storage_fileWebp.md deleted file mode 100644 index 04dcad74..00000000 --- a/old_docs/API_docs_v44/constructors/storage_fileWebp.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileWebp -description: WEBP image. MIME type: `image/webp`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileWebp -[Back to constructors index](index.md) - - - -WEBP image. MIME type: `image/webp`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileWebp = ['_' => 'storage.fileWebp']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileWebp={_='storage.fileWebp'} - -``` - - diff --git a/old_docs/API_docs_v44/constructors/updateNewStickerSet.md b/old_docs/API_docs_v44/constructors/updateNewStickerSet.md index 8a99a363..c32c41ff 100644 --- a/old_docs/API_docs_v44/constructors/updateNewStickerSet.md +++ b/old_docs/API_docs_v44/constructors/updateNewStickerSet.md @@ -14,7 +14,7 @@ A new stickerset was installed | Name | Type | Required | Description | |----------|---------------|----------|-------------| -|stickerset|[messages\_StickerSet](../types/messages_StickerSet.md) | Yes|The installed stickerset| +|stickerset|[messages.StickerSet](../constructors/messages.StickerSet.md) | Yes|The installed stickerset| @@ -24,14 +24,14 @@ A new stickerset was installed ### Example: ```php -$updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages_StickerSet]; +$updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages.StickerSet]; ``` Or, if you're into Lua: ```lua -updateNewStickerSet={_='updateNewStickerSet', stickerset=messages_StickerSet} +updateNewStickerSet={_='updateNewStickerSet', stickerset=messages.StickerSet} ``` diff --git a/old_docs/API_docs_v44/constructors/updates.channelDifference.md b/old_docs/API_docs_v44/constructors/updates.channelDifference.md new file mode 100644 index 00000000..5a13791c --- /dev/null +++ b/old_docs/API_docs_v44/constructors/updates.channelDifference.md @@ -0,0 +1,44 @@ +--- +title: updates.channelDifference +description: The new updates +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.channelDifference +[Back to constructors index](index.md) + + + +The new updates + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates to be fetched using getDifference, starting from the provided `pts`| +|pts|[int](../types/int.md) | Yes|The [PTS](https://core.telegram.org/api/updates) from which to start getting updates the next time| +|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| +|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| +|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [updates.ChannelDifference](../types/updates.ChannelDifference.md) + + +### Example: + +```php +$updates.channelDifference = ['_' => 'updates.channelDifference', 'final' => Bool, 'pts' => int, 'timeout' => int, 'new_messages' => [Message, Message], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +updates.channelDifference={_='updates.channelDifference', final=Bool, pts=int, timeout=int, new_messages={Message}, other_updates={Update}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v44/constructors/updates.channelDifferenceEmpty.md b/old_docs/API_docs_v44/constructors/updates.channelDifferenceEmpty.md new file mode 100644 index 00000000..8ce43da4 --- /dev/null +++ b/old_docs/API_docs_v44/constructors/updates.channelDifferenceEmpty.md @@ -0,0 +1,40 @@ +--- +title: updates.channelDifferenceEmpty +description: There are no new updates +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.channelDifferenceEmpty +[Back to constructors index](index.md) + + + +There are no new updates + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates that must be fetched (always false)| +|pts|[int](../types/int.md) | Yes|The latest [PTS](https://core.telegram.org/api/updates)| +|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| + + + +### Type: [updates.ChannelDifference](../types/updates.ChannelDifference.md) + + +### Example: + +```php +$updates.channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'final' => Bool, 'pts' => int, 'timeout' => int]; +``` + + +Or, if you're into Lua: + +```lua +updates.channelDifferenceEmpty={_='updates.channelDifferenceEmpty', final=Bool, pts=int, timeout=int} + +``` + + diff --git a/old_docs/API_docs_v44/constructors/updates.channelDifferenceTooLong.md b/old_docs/API_docs_v44/constructors/updates.channelDifferenceTooLong.md new file mode 100644 index 00000000..eecd8aba --- /dev/null +++ b/old_docs/API_docs_v44/constructors/updates.channelDifferenceTooLong.md @@ -0,0 +1,58 @@ +--- +title: updates.channelDifferenceTooLong +description: The provided `pts + limit < remote pts`. Simply, there are too many updates to be fetched (more than `limit`), the client has to resolve the update gap in one of the following ways: + +1. Delete all known messages in the chat, begin from scratch by refetching all messages manually with [getHistory](../methods/messages.getHistory.md). It is easy to implement, but suddenly disappearing messages looks awful for the user. +2. Save all messages loaded in the memory until application restart, but delete all messages from database. Messages left in the memory must be lazily updated using calls to [getHistory](../methods/messages.getHistory.md). It looks much smoothly for the user, he will need to redownload messages only after client restart. Unsynchronized messages left in the memory shouldn't be saved to database, results of [getHistory](../methods/messages.getHistory.md) and [getMessages](../methods/messages.getMessages.md) must be used to update state of deleted and edited messages left in the memory. +3. Save all messages loaded in the memory and stored in the database without saving that some messages form continuous ranges. Messages in the database will be excluded from results of getChatHistory and searchChatMessages after application restart and will be available only through getMessage. Every message should still be checked using getHistory. It has more disadvantages over 2) than advantages. +4. Save all messages with saving all data about continuous message ranges. Messages from the database may be used as results of getChatHistory and (if implemented continuous ranges support for searching shared media) searchChatMessages. The messages should still be lazily checked using getHistory, but they are still available offline. It is the best way for gaps support, but it is pretty hard to implement correctly. It should be also noted that some messages like live location messages shouldn't be deleted. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.channelDifferenceTooLong +[Back to constructors index](index.md) + + + +The provided `pts + limit < remote pts`. Simply, there are too many updates to be fetched (more than `limit`), the client has to resolve the update gap in one of the following ways: + +1. Delete all known messages in the chat, begin from scratch by refetching all messages manually with [getHistory](../methods/messages.getHistory.md). It is easy to implement, but suddenly disappearing messages looks awful for the user. +2. Save all messages loaded in the memory until application restart, but delete all messages from database. Messages left in the memory must be lazily updated using calls to [getHistory](../methods/messages.getHistory.md). It looks much smoothly for the user, he will need to redownload messages only after client restart. Unsynchronized messages left in the memory shouldn't be saved to database, results of [getHistory](../methods/messages.getHistory.md) and [getMessages](../methods/messages.getMessages.md) must be used to update state of deleted and edited messages left in the memory. +3. Save all messages loaded in the memory and stored in the database without saving that some messages form continuous ranges. Messages in the database will be excluded from results of getChatHistory and searchChatMessages after application restart and will be available only through getMessage. Every message should still be checked using getHistory. It has more disadvantages over 2) than advantages. +4. Save all messages with saving all data about continuous message ranges. Messages from the database may be used as results of getChatHistory and (if implemented continuous ranges support for searching shared media) searchChatMessages. The messages should still be lazily checked using getHistory, but they are still available offline. It is the best way for gaps support, but it is pretty hard to implement correctly. It should be also noted that some messages like live location messages shouldn't be deleted. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates that must be fetched (always false)| +|pts|[int](../types/int.md) | Yes|Pts| +|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| +|top\_message|[int](../types/int.md) | Yes|Top message| +|top\_important\_message|[int](../types/int.md) | Yes|Top important message| +|read\_inbox\_max\_id|[int](../types/int.md) | Yes|Read inbox max ID| +|unread\_count|[int](../types/int.md) | Yes|Unread count| +|unread\_important\_count|[int](../types/int.md) | Yes|Unread important count| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [updates.ChannelDifference](../types/updates.ChannelDifference.md) + + +### Example: + +```php +$updates.channelDifferenceTooLong = ['_' => 'updates.channelDifferenceTooLong', 'final' => Bool, 'pts' => int, 'timeout' => int, 'top_message' => int, 'top_important_message' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'unread_important_count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +updates.channelDifferenceTooLong={_='updates.channelDifferenceTooLong', final=Bool, pts=int, timeout=int, top_message=int, top_important_message=int, read_inbox_max_id=int, unread_count=int, unread_important_count=int, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v44/constructors/updates.difference.md b/old_docs/API_docs_v44/constructors/updates.difference.md new file mode 100644 index 00000000..82541b51 --- /dev/null +++ b/old_docs/API_docs_v44/constructors/updates.difference.md @@ -0,0 +1,43 @@ +--- +title: updates.difference +description: Full list of occurred events. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.difference +[Back to constructors index](index.md) + + + +Full list of occurred events. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| +|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| +|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| +|state|[updates.State](../constructors/updates.State.md) | Yes|Current state| + + + +### Type: [updates.Difference](../types/updates.Difference.md) + + +### Example: + +```php +$updates.difference = ['_' => 'updates.difference', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates.State]; +``` + + +Or, if you're into Lua: + +```lua +updates.difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates.State} + +``` + + diff --git a/old_docs/API_docs_v44/constructors/updates.differenceEmpty.md b/old_docs/API_docs_v44/constructors/updates.differenceEmpty.md new file mode 100644 index 00000000..a9dc3bd0 --- /dev/null +++ b/old_docs/API_docs_v44/constructors/updates.differenceEmpty.md @@ -0,0 +1,39 @@ +--- +title: updates.differenceEmpty +description: No events. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.differenceEmpty +[Back to constructors index](index.md) + + + +No events. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Current date| +|seq|[int](../types/int.md) | Yes|Number of sent updates| + + + +### Type: [updates.Difference](../types/updates.Difference.md) + + +### Example: + +```php +$updates.differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int]; +``` + + +Or, if you're into Lua: + +```lua +updates.differenceEmpty={_='updates.differenceEmpty', date=int, seq=int} + +``` + + diff --git a/old_docs/API_docs_v44/constructors/updates.differenceSlice.md b/old_docs/API_docs_v44/constructors/updates.differenceSlice.md new file mode 100644 index 00000000..9daf7a75 --- /dev/null +++ b/old_docs/API_docs_v44/constructors/updates.differenceSlice.md @@ -0,0 +1,43 @@ +--- +title: updates.differenceSlice +description: Incomplete list of occurred events. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.differenceSlice +[Back to constructors index](index.md) + + + +Incomplete list of occurred events. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| +|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| +|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| +|intermediate\_state|[updates.State](../constructors/updates.State.md) | Yes|Intermediary state| + + + +### Type: [updates.Difference](../types/updates.Difference.md) + + +### Example: + +```php +$updates.differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'intermediate_state' => updates.State]; +``` + + +Or, if you're into Lua: + +```lua +updates.differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates.State} + +``` + + diff --git a/old_docs/API_docs_v44/constructors/updates.state.md b/old_docs/API_docs_v44/constructors/updates.state.md new file mode 100644 index 00000000..abe9ddbb --- /dev/null +++ b/old_docs/API_docs_v44/constructors/updates.state.md @@ -0,0 +1,42 @@ +--- +title: updates.state +description: Updates state. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.state +[Back to constructors index](index.md) + + + +Updates state. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| +|qts|[int](../types/int.md) | Yes|Position in a sequence of updates in secret chats. For further detailes refer to article [secret chats](https://core.telegram.org/api/end-to-end)
Parameter was added in [eigth layer](https://core.telegram.org/api/layers#layer-8).| +|date|[int](../types/int.md) | Yes|Date of condition| +|seq|[int](../types/int.md) | Yes|Number of sent updates| +|unread\_count|[int](../types/int.md) | Yes|Number of unread messages| + + + +### Type: [updates.State](../types/updates.State.md) + + +### Example: + +```php +$updates.state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int]; +``` + + +Or, if you're into Lua: + +```lua +updates.state={_='updates.state', pts=int, qts=int, date=int, seq=int, unread_count=int} + +``` + + diff --git a/old_docs/API_docs_v44/constructors/updates_channelDifference.md b/old_docs/API_docs_v44/constructors/updates_channelDifference.md deleted file mode 100644 index 1b50fbf3..00000000 --- a/old_docs/API_docs_v44/constructors/updates_channelDifference.md +++ /dev/null @@ -1,44 +0,0 @@ ---- -title: updates.channelDifference -description: The new updates -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.channelDifference -[Back to constructors index](index.md) - - - -The new updates - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates to be fetched using getDifference, starting from the provided `pts`| -|pts|[int](../types/int.md) | Yes|The [PTS](https://core.telegram.org/api/updates) from which to start getting updates the next time| -|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| -|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| -|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) - - -### Example: - -```php -$updates_channelDifference = ['_' => 'updates.channelDifference', 'final' => Bool, 'pts' => int, 'timeout' => int, 'new_messages' => [Message, Message], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -updates_channelDifference={_='updates.channelDifference', final=Bool, pts=int, timeout=int, new_messages={Message}, other_updates={Update}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v44/constructors/updates_channelDifferenceEmpty.md b/old_docs/API_docs_v44/constructors/updates_channelDifferenceEmpty.md deleted file mode 100644 index 713137aa..00000000 --- a/old_docs/API_docs_v44/constructors/updates_channelDifferenceEmpty.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: updates.channelDifferenceEmpty -description: There are no new updates -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.channelDifferenceEmpty -[Back to constructors index](index.md) - - - -There are no new updates - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates that must be fetched (always false)| -|pts|[int](../types/int.md) | Yes|The latest [PTS](https://core.telegram.org/api/updates)| -|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| - - - -### Type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) - - -### Example: - -```php -$updates_channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'final' => Bool, 'pts' => int, 'timeout' => int]; -``` - - -Or, if you're into Lua: - -```lua -updates_channelDifferenceEmpty={_='updates.channelDifferenceEmpty', final=Bool, pts=int, timeout=int} - -``` - - diff --git a/old_docs/API_docs_v44/constructors/updates_channelDifferenceTooLong.md b/old_docs/API_docs_v44/constructors/updates_channelDifferenceTooLong.md deleted file mode 100644 index 08ddaa5b..00000000 --- a/old_docs/API_docs_v44/constructors/updates_channelDifferenceTooLong.md +++ /dev/null @@ -1,58 +0,0 @@ ---- -title: updates.channelDifferenceTooLong -description: The provided `pts + limit < remote pts`. Simply, there are too many updates to be fetched (more than `limit`), the client has to resolve the update gap in one of the following ways: - -1. Delete all known messages in the chat, begin from scratch by refetching all messages manually with [getHistory](../methods/messages.getHistory.md). It is easy to implement, but suddenly disappearing messages looks awful for the user. -2. Save all messages loaded in the memory until application restart, but delete all messages from database. Messages left in the memory must be lazily updated using calls to [getHistory](../methods/messages.getHistory.md). It looks much smoothly for the user, he will need to redownload messages only after client restart. Unsynchronized messages left in the memory shouldn't be saved to database, results of [getHistory](../methods/messages.getHistory.md) and [getMessages](../methods/messages.getMessages.md) must be used to update state of deleted and edited messages left in the memory. -3. Save all messages loaded in the memory and stored in the database without saving that some messages form continuous ranges. Messages in the database will be excluded from results of getChatHistory and searchChatMessages after application restart and will be available only through getMessage. Every message should still be checked using getHistory. It has more disadvantages over 2) than advantages. -4. Save all messages with saving all data about continuous message ranges. Messages from the database may be used as results of getChatHistory and (if implemented continuous ranges support for searching shared media) searchChatMessages. The messages should still be lazily checked using getHistory, but they are still available offline. It is the best way for gaps support, but it is pretty hard to implement correctly. It should be also noted that some messages like live location messages shouldn't be deleted. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.channelDifferenceTooLong -[Back to constructors index](index.md) - - - -The provided `pts + limit < remote pts`. Simply, there are too many updates to be fetched (more than `limit`), the client has to resolve the update gap in one of the following ways: - -1. Delete all known messages in the chat, begin from scratch by refetching all messages manually with [getHistory](../methods/messages.getHistory.md). It is easy to implement, but suddenly disappearing messages looks awful for the user. -2. Save all messages loaded in the memory until application restart, but delete all messages from database. Messages left in the memory must be lazily updated using calls to [getHistory](../methods/messages.getHistory.md). It looks much smoothly for the user, he will need to redownload messages only after client restart. Unsynchronized messages left in the memory shouldn't be saved to database, results of [getHistory](../methods/messages.getHistory.md) and [getMessages](../methods/messages.getMessages.md) must be used to update state of deleted and edited messages left in the memory. -3. Save all messages loaded in the memory and stored in the database without saving that some messages form continuous ranges. Messages in the database will be excluded from results of getChatHistory and searchChatMessages after application restart and will be available only through getMessage. Every message should still be checked using getHistory. It has more disadvantages over 2) than advantages. -4. Save all messages with saving all data about continuous message ranges. Messages from the database may be used as results of getChatHistory and (if implemented continuous ranges support for searching shared media) searchChatMessages. The messages should still be lazily checked using getHistory, but they are still available offline. It is the best way for gaps support, but it is pretty hard to implement correctly. It should be also noted that some messages like live location messages shouldn't be deleted. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates that must be fetched (always false)| -|pts|[int](../types/int.md) | Yes|Pts| -|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| -|top\_message|[int](../types/int.md) | Yes|Top message| -|top\_important\_message|[int](../types/int.md) | Yes|Top important message| -|read\_inbox\_max\_id|[int](../types/int.md) | Yes|Read inbox max ID| -|unread\_count|[int](../types/int.md) | Yes|Unread count| -|unread\_important\_count|[int](../types/int.md) | Yes|Unread important count| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) - - -### Example: - -```php -$updates_channelDifferenceTooLong = ['_' => 'updates.channelDifferenceTooLong', 'final' => Bool, 'pts' => int, 'timeout' => int, 'top_message' => int, 'top_important_message' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'unread_important_count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -updates_channelDifferenceTooLong={_='updates.channelDifferenceTooLong', final=Bool, pts=int, timeout=int, top_message=int, top_important_message=int, read_inbox_max_id=int, unread_count=int, unread_important_count=int, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v44/constructors/updates_difference.md b/old_docs/API_docs_v44/constructors/updates_difference.md deleted file mode 100644 index 71ac7d4c..00000000 --- a/old_docs/API_docs_v44/constructors/updates_difference.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: updates.difference -description: Full list of occurred events. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.difference -[Back to constructors index](index.md) - - - -Full list of occurred events. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| -|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| -|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| -|state|[updates\_State](../types/updates_State.md) | Yes|Current state| - - - -### Type: [updates\_Difference](../types/updates_Difference.md) - - -### Example: - -```php -$updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates_State]; -``` - - -Or, if you're into Lua: - -```lua -updates_difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates_State} - -``` - - diff --git a/old_docs/API_docs_v44/constructors/updates_differenceEmpty.md b/old_docs/API_docs_v44/constructors/updates_differenceEmpty.md deleted file mode 100644 index c3c95c5a..00000000 --- a/old_docs/API_docs_v44/constructors/updates_differenceEmpty.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: updates.differenceEmpty -description: No events. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.differenceEmpty -[Back to constructors index](index.md) - - - -No events. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Current date| -|seq|[int](../types/int.md) | Yes|Number of sent updates| - - - -### Type: [updates\_Difference](../types/updates_Difference.md) - - -### Example: - -```php -$updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int]; -``` - - -Or, if you're into Lua: - -```lua -updates_differenceEmpty={_='updates.differenceEmpty', date=int, seq=int} - -``` - - diff --git a/old_docs/API_docs_v44/constructors/updates_differenceSlice.md b/old_docs/API_docs_v44/constructors/updates_differenceSlice.md deleted file mode 100644 index 8b12a369..00000000 --- a/old_docs/API_docs_v44/constructors/updates_differenceSlice.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: updates.differenceSlice -description: Incomplete list of occurred events. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.differenceSlice -[Back to constructors index](index.md) - - - -Incomplete list of occurred events. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| -|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| -|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| -|intermediate\_state|[updates\_State](../types/updates_State.md) | Yes|Intermediary state| - - - -### Type: [updates\_Difference](../types/updates_Difference.md) - - -### Example: - -```php -$updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'intermediate_state' => updates_State]; -``` - - -Or, if you're into Lua: - -```lua -updates_differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates_State} - -``` - - diff --git a/old_docs/API_docs_v44/constructors/updates_state.md b/old_docs/API_docs_v44/constructors/updates_state.md deleted file mode 100644 index ef3698e2..00000000 --- a/old_docs/API_docs_v44/constructors/updates_state.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: updates.state -description: Updates state. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.state -[Back to constructors index](index.md) - - - -Updates state. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| -|qts|[int](../types/int.md) | Yes|Position in a sequence of updates in secret chats. For further detailes refer to article [secret chats](https://core.telegram.org/api/end-to-end)
Parameter was added in [eigth layer](https://core.telegram.org/api/layers#layer-8).| -|date|[int](../types/int.md) | Yes|Date of condition| -|seq|[int](../types/int.md) | Yes|Number of sent updates| -|unread\_count|[int](../types/int.md) | Yes|Number of unread messages| - - - -### Type: [updates\_State](../types/updates_State.md) - - -### Example: - -```php -$updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int]; -``` - - -Or, if you're into Lua: - -```lua -updates_state={_='updates.state', pts=int, qts=int, date=int, seq=int, unread_count=int} - -``` - - diff --git a/old_docs/API_docs_v44/constructors/upload.file.md b/old_docs/API_docs_v44/constructors/upload.file.md new file mode 100644 index 00000000..145a4c24 --- /dev/null +++ b/old_docs/API_docs_v44/constructors/upload.file.md @@ -0,0 +1,40 @@ +--- +title: upload.file +description: File content. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: upload.file +[Back to constructors index](index.md) + + + +File content. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|type|[storage.FileType](../constructors/storage.FileType.md) | Yes|File type| +|mtime|[int](../types/int.md) | Yes|Modification type| +|bytes|[bytes](../types/bytes.md) | Yes|Binary data, file content| + + + +### Type: [upload.File](../types/upload.File.md) + + +### Example: + +```php +$upload.file = ['_' => 'upload.file', 'type' => storage.FileType, 'mtime' => int, 'bytes' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +upload.file={_='upload.file', type=storage.FileType, mtime=int, bytes='bytes'} + +``` + + diff --git a/old_docs/API_docs_v44/constructors/upload_file.md b/old_docs/API_docs_v44/constructors/upload_file.md deleted file mode 100644 index 1e07d9fb..00000000 --- a/old_docs/API_docs_v44/constructors/upload_file.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: upload.file -description: File content. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: upload.file -[Back to constructors index](index.md) - - - -File content. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|type|[storage\_FileType](../types/storage_FileType.md) | Yes|File type| -|mtime|[int](../types/int.md) | Yes|Modification type| -|bytes|[bytes](../types/bytes.md) | Yes|Binary data, file content| - - - -### Type: [upload\_File](../types/upload_File.md) - - -### Example: - -```php -$upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int, 'bytes' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -upload_file={_='upload.file', type=storage_FileType, mtime=int, bytes='bytes'} - -``` - - diff --git a/old_docs/API_docs_v44/constructors/userFull.md b/old_docs/API_docs_v44/constructors/userFull.md index 67913fec..129a02d0 100644 --- a/old_docs/API_docs_v44/constructors/userFull.md +++ b/old_docs/API_docs_v44/constructors/userFull.md @@ -15,7 +15,7 @@ Extended user info | Name | Type | Required | Description | |----------|---------------|----------|-------------| |user|[User](../types/User.md) | Optional|Remaining user info| -|link|[contacts\_Link](../types/contacts_Link.md) | Yes|Link| +|link|[contacts.Link](../constructors/contacts.Link.md) | Yes|Link| |profile\_photo|[Photo](../types/Photo.md) | Optional|Profile photo| |notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Optional|Notification settings| |blocked|[Bool](../types/Bool.md) | Yes|Blocked?| @@ -29,14 +29,14 @@ Extended user info ### Example: ```php -$userFull = ['_' => 'userFull', 'user' => User, 'link' => contacts_Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'blocked' => Bool, 'bot_info' => BotInfo]; +$userFull = ['_' => 'userFull', 'user' => User, 'link' => contacts.Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'blocked' => Bool, 'bot_info' => BotInfo]; ``` Or, if you're into Lua: ```lua -userFull={_='userFull', user=User, link=contacts_Link, profile_photo=Photo, notify_settings=PeerNotifySettings, blocked=Bool, bot_info=BotInfo} +userFull={_='userFull', user=User, link=contacts.Link, profile_photo=Photo, notify_settings=PeerNotifySettings, blocked=Bool, bot_info=BotInfo} ``` diff --git a/old_docs/API_docs_v44/methods/account.getAuthorizations.md b/old_docs/API_docs_v44/methods/account.getAuthorizations.md index f69c130a..fad3a7ae 100644 --- a/old_docs/API_docs_v44/methods/account.getAuthorizations.md +++ b/old_docs/API_docs_v44/methods/account.getAuthorizations.md @@ -11,7 +11,7 @@ Get logged-in sessions -### Return type: [account\_Authorizations](../types/account_Authorizations.md) +### Return type: [account.Authorizations](../types/account.Authorizations.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_Authorizations = $MadelineProto->account->getAuthorizations(); +$account.Authorizations = $MadelineProto->account->getAuthorizations(); ``` Or, if you're into Lua: ```lua -account_Authorizations = account.getAuthorizations({}) +account.Authorizations = account.getAuthorizations({}) ``` diff --git a/old_docs/API_docs_v44/methods/account.getPassword.md b/old_docs/API_docs_v44/methods/account.getPassword.md index eed4aee3..621271b6 100644 --- a/old_docs/API_docs_v44/methods/account.getPassword.md +++ b/old_docs/API_docs_v44/methods/account.getPassword.md @@ -11,7 +11,7 @@ Obtain configuration for two-factor authorization with password -### Return type: [account\_Password](../types/account_Password.md) +### Return type: [account.Password](../types/account.Password.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_Password = $MadelineProto->account->getPassword(); +$account.Password = $MadelineProto->account->getPassword(); ``` Or, if you're into Lua: ```lua -account_Password = account.getPassword({}) +account.Password = account.getPassword({}) ``` diff --git a/old_docs/API_docs_v44/methods/account.getPasswordSettings.md b/old_docs/API_docs_v44/methods/account.getPasswordSettings.md index dcdae61a..3d3cce08 100644 --- a/old_docs/API_docs_v44/methods/account.getPasswordSettings.md +++ b/old_docs/API_docs_v44/methods/account.getPasswordSettings.md @@ -16,7 +16,7 @@ You cannot use this method directly; use $MadelineProto->update_2fa($params), in |current\_password\_hash|[bytes](../types/bytes.md) | You cannot use this method directly; use $MadelineProto->update_2fa($params), instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [account\_PasswordSettings](../types/account_PasswordSettings.md) +### Return type: [account.PasswordSettings](../types/account.PasswordSettings.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_PasswordSettings = $MadelineProto->account->getPasswordSettings(['current_password_hash' => 'bytes', ]); +$account.PasswordSettings = $MadelineProto->account->getPasswordSettings(['current_password_hash' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -account_PasswordSettings = account.getPasswordSettings({current_password_hash='bytes', }) +account.PasswordSettings = account.getPasswordSettings({current_password_hash='bytes', }) ``` ### Errors diff --git a/old_docs/API_docs_v44/methods/account.getPrivacy.md b/old_docs/API_docs_v44/methods/account.getPrivacy.md index 6a240129..e20c292c 100644 --- a/old_docs/API_docs_v44/methods/account.getPrivacy.md +++ b/old_docs/API_docs_v44/methods/account.getPrivacy.md @@ -16,7 +16,7 @@ Get privacy settings of current account |key|[InputPrivacyKey](../types/InputPrivacyKey.md) | Peer category whose privacy settings should be fetched | Yes| -### Return type: [account\_PrivacyRules](../types/account_PrivacyRules.md) +### Return type: [account.PrivacyRules](../types/account.PrivacyRules.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_PrivacyRules = $MadelineProto->account->getPrivacy(['key' => InputPrivacyKey, ]); +$account.PrivacyRules = $MadelineProto->account->getPrivacy(['key' => InputPrivacyKey, ]); ``` Or, if you're into Lua: ```lua -account_PrivacyRules = account.getPrivacy({key=InputPrivacyKey, }) +account.PrivacyRules = account.getPrivacy({key=InputPrivacyKey, }) ``` ### Errors diff --git a/old_docs/API_docs_v44/methods/account.sendChangePhoneCode.md b/old_docs/API_docs_v44/methods/account.sendChangePhoneCode.md index 169fa15b..e70372de 100644 --- a/old_docs/API_docs_v44/methods/account.sendChangePhoneCode.md +++ b/old_docs/API_docs_v44/methods/account.sendChangePhoneCode.md @@ -16,7 +16,7 @@ Verify a new phone number to associate to the current account |phone\_number|[string](../types/string.md) | New phone number | Yes| -### Return type: [account\_SentChangePhoneCode](../types/account_SentChangePhoneCode.md) +### Return type: [account.SentChangePhoneCode](../types/account.SentChangePhoneCode.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_SentChangePhoneCode = $MadelineProto->account->sendChangePhoneCode(['phone_number' => 'string', ]); +$account.SentChangePhoneCode = $MadelineProto->account->sendChangePhoneCode(['phone_number' => 'string', ]); ``` Or, if you're into Lua: ```lua -account_SentChangePhoneCode = account.sendChangePhoneCode({phone_number='string', }) +account.SentChangePhoneCode = account.sendChangePhoneCode({phone_number='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v44/methods/account.setPrivacy.md b/old_docs/API_docs_v44/methods/account.setPrivacy.md index 7c4cfba7..096d373e 100644 --- a/old_docs/API_docs_v44/methods/account.setPrivacy.md +++ b/old_docs/API_docs_v44/methods/account.setPrivacy.md @@ -17,7 +17,7 @@ Change privacy settings of current account |rules|Array of [InputPrivacyRule](../types/InputPrivacyRule.md) | Privacy settings | Yes| -### Return type: [account\_PrivacyRules](../types/account_PrivacyRules.md) +### Return type: [account.PrivacyRules](../types/account.PrivacyRules.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_PrivacyRules = $MadelineProto->account->setPrivacy(['key' => InputPrivacyKey, 'rules' => [InputPrivacyRule, InputPrivacyRule], ]); +$account.PrivacyRules = $MadelineProto->account->setPrivacy(['key' => InputPrivacyKey, 'rules' => [InputPrivacyRule, InputPrivacyRule], ]); ``` Or, if you're into Lua: ```lua -account_PrivacyRules = account.setPrivacy({key=InputPrivacyKey, rules={InputPrivacyRule}, }) +account.PrivacyRules = account.setPrivacy({key=InputPrivacyKey, rules={InputPrivacyRule}, }) ``` ### Errors diff --git a/old_docs/API_docs_v44/methods/api_README.md b/old_docs/API_docs_v44/methods/api_README.md index e53b676f..a1a5c20b 100644 --- a/old_docs/API_docs_v44/methods/api_README.md +++ b/old_docs/API_docs_v44/methods/api_README.md @@ -52,7 +52,7 @@ $MadelineProto->[account->getAccountTTL](account.getAccountTTL.md)(\[\]) === [$A ***

-$MadelineProto->[account->getAuthorizations](account.getAuthorizations.md)(\[\]) === [$account\_Authorizations](../types/account_Authorizations.md) +$MadelineProto->[account->getAuthorizations](account.getAuthorizations.md)(\[\]) === [$account.Authorizations](../types/account.Authorizations.md) ***

@@ -60,15 +60,15 @@ $MadelineProto->[account->getNotifySettings](account.getNotifySettings.md)(\['pe ***

-$MadelineProto->[account->getPassword](account.getPassword.md)(\[\]) === [$account\_Password](../types/account_Password.md) +$MadelineProto->[account->getPassword](account.getPassword.md)(\[\]) === [$account.Password](../types/account.Password.md) ***

-$MadelineProto->[account->getPasswordSettings](account.getPasswordSettings.md)(\['current_password_hash' => [bytes](../types/bytes.md), \]) === [$account\_PasswordSettings](../types/account_PasswordSettings.md) +$MadelineProto->[account->getPasswordSettings](account.getPasswordSettings.md)(\['current_password_hash' => [bytes](../types/bytes.md), \]) === [$account.PasswordSettings](../types/account.PasswordSettings.md) ***

-$MadelineProto->[account->getPrivacy](account.getPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), \]) === [$account\_PrivacyRules](../types/account_PrivacyRules.md) +$MadelineProto->[account->getPrivacy](account.getPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), \]) === [$account.PrivacyRules](../types/account.PrivacyRules.md) ***

@@ -92,7 +92,7 @@ $MadelineProto->[account->resetNotifySettings](account.resetNotifySettings.md)(\ ***

-$MadelineProto->[account->sendChangePhoneCode](account.sendChangePhoneCode.md)(\['phone_number' => [string](../types/string.md), \]) === [$account\_SentChangePhoneCode](../types/account_SentChangePhoneCode.md) +$MadelineProto->[account->sendChangePhoneCode](account.sendChangePhoneCode.md)(\['phone_number' => [string](../types/string.md), \]) === [$account.SentChangePhoneCode](../types/account.SentChangePhoneCode.md) ***

@@ -100,7 +100,7 @@ $MadelineProto->[account->setAccountTTL](account.setAccountTTL.md)(\['ttl' => [A ***

-$MadelineProto->[account->setPrivacy](account.setPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), 'rules' => \[[InputPrivacyRule](../types/InputPrivacyRule.md)\], \]) === [$account\_PrivacyRules](../types/account_PrivacyRules.md) +$MadelineProto->[account->setPrivacy](account.setPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), 'rules' => \[[InputPrivacyRule](../types/InputPrivacyRule.md)\], \]) === [$account.PrivacyRules](../types/account.PrivacyRules.md) ***

@@ -136,23 +136,23 @@ $MadelineProto->[auth->bindTempAuthKey](auth.bindTempAuthKey.md)(\['perm_auth_ke ***

-$MadelineProto->[auth->checkPassword](auth.checkPassword.md)(\['password_hash' => [bytes](../types/bytes.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->checkPassword](auth.checkPassword.md)(\['password_hash' => [bytes](../types/bytes.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

-$MadelineProto->[auth->checkPhone](auth.checkPhone.md)(\['phone_number' => [string](../types/string.md), \]) === [$auth\_CheckedPhone](../types/auth_CheckedPhone.md) +$MadelineProto->[auth->checkPhone](auth.checkPhone.md)(\['phone_number' => [string](../types/string.md), \]) === [$auth.CheckedPhone](../types/auth.CheckedPhone.md) ***

-$MadelineProto->[auth->exportAuthorization](auth.exportAuthorization.md)(\['dc_id' => [int](../types/int.md), \]) === [$auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) +$MadelineProto->[auth->exportAuthorization](auth.exportAuthorization.md)(\['dc_id' => [int](../types/int.md), \]) === [$auth.ExportedAuthorization](../types/auth.ExportedAuthorization.md) ***

-$MadelineProto->[auth->importAuthorization](auth.importAuthorization.md)(\['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->importAuthorization](auth.importAuthorization.md)(\['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

-$MadelineProto->[auth->importBotAuthorization](auth.importBotAuthorization.md)(\['api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), 'bot_auth_token' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->importBotAuthorization](auth.importBotAuthorization.md)(\['api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), 'bot_auth_token' => [string](../types/string.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

@@ -160,11 +160,11 @@ $MadelineProto->[auth->logOut](auth.logOut.md)(\[\]) === [$Bool](../types/Bool.m ***

-$MadelineProto->[auth->recoverPassword](auth.recoverPassword.md)(\['code' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->recoverPassword](auth.recoverPassword.md)(\['code' => [string](../types/string.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

-$MadelineProto->[auth->requestPasswordRecovery](auth.requestPasswordRecovery.md)(\[\]) === [$auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) +$MadelineProto->[auth->requestPasswordRecovery](auth.requestPasswordRecovery.md)(\[\]) === [$auth.PasswordRecovery](../types/auth.PasswordRecovery.md) ***

@@ -176,7 +176,7 @@ $MadelineProto->[auth->sendCall](auth.sendCall.md)(\['phone_number' => [string]( ***

-$MadelineProto->[auth->sendCode](auth.sendCode.md)(\['phone_number' => [string](../types/string.md), 'sms_type' => [int](../types/int.md), 'api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) === [$auth\_SentCode](../types/auth_SentCode.md) +$MadelineProto->[auth->sendCode](auth.sendCode.md)(\['phone_number' => [string](../types/string.md), 'sms_type' => [int](../types/int.md), 'api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) === [$auth.SentCode](../types/auth.SentCode.md) ***

@@ -188,11 +188,11 @@ $MadelineProto->[auth->sendSms](auth.sendSms.md)(\['phone_number' => [string](.. ***

-$MadelineProto->[auth->signIn](auth.signIn.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->signIn](auth.signIn.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

-$MadelineProto->[auth->signUp](auth.signUp.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->signUp](auth.signUp.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

@@ -208,11 +208,11 @@ $MadelineProto->[channels->deleteChannel](channels.deleteChannel.md)(\['channel' ***

-$MadelineProto->[channels->deleteMessages](channels.deleteMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) +$MadelineProto->[channels->deleteMessages](channels.deleteMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages.AffectedMessages](../types/messages.AffectedMessages.md) ***

-$MadelineProto->[channels->deleteUserHistory](channels.deleteUserHistory.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages\_AffectedHistory](../types/messages_AffectedHistory.md) +$MadelineProto->[channels->deleteUserHistory](channels.deleteUserHistory.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages.AffectedHistory](../types/messages.AffectedHistory.md) ***

@@ -236,31 +236,31 @@ $MadelineProto->[channels->exportInvite](channels.exportInvite.md)(\['channel' = ***

-$MadelineProto->[channels->getChannels](channels.getChannels.md)(\['id' => \[[InputChannel](../types/InputChannel.md)\], \]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[channels->getChannels](channels.getChannels.md)(\['id' => \[[InputChannel](../types/InputChannel.md)\], \]) === [$messages.Chats](../types/messages.Chats.md) ***

-$MadelineProto->[channels->getDialogs](channels.getDialogs.md)(\['offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages\_Dialogs](../types/messages_Dialogs.md) +$MadelineProto->[channels->getDialogs](channels.getDialogs.md)(\['offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages.Dialogs](../types/messages.Dialogs.md) ***

-$MadelineProto->[channels->getFullChannel](channels.getFullChannel.md)(\['channel' => [InputChannel](../types/InputChannel.md), \]) === [$messages\_ChatFull](../types/messages_ChatFull.md) +$MadelineProto->[channels->getFullChannel](channels.getFullChannel.md)(\['channel' => [InputChannel](../types/InputChannel.md), \]) === [$messages.ChatFull](../types/messages.ChatFull.md) ***

-$MadelineProto->[channels->getImportantHistory](channels.getImportantHistory.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'offset_id' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[channels->getImportantHistory](channels.getImportantHistory.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'offset_id' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[channels->getMessages](channels.getMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[channels->getMessages](channels.getMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[channels->getParticipant](channels.getParticipant.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$channels\_ChannelParticipant](../types/channels_ChannelParticipant.md) +$MadelineProto->[channels->getParticipant](channels.getParticipant.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$channels.ChannelParticipant](../types/channels.ChannelParticipant.md) ***

-$MadelineProto->[channels->getParticipants](channels.getParticipants.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$channels\_ChannelParticipants](../types/channels_ChannelParticipants.md) +$MadelineProto->[channels->getParticipants](channels.getParticipants.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$channels.ChannelParticipants](../types/channels.ChannelParticipants.md) ***

@@ -300,7 +300,7 @@ $MadelineProto->[contacts->block](contacts.block.md)(\['id' => [InputUser](../ty ***

-$MadelineProto->[contacts->deleteContact](contacts.deleteContact.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$contacts\_Link](../types/contacts_Link.md) +$MadelineProto->[contacts->deleteContact](contacts.deleteContact.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$contacts.Link](../types/contacts.Link.md) ***

@@ -312,11 +312,11 @@ $MadelineProto->[contacts->exportCard](contacts.exportCard.md)(\[\]) === [$Vecto ***

-$MadelineProto->[contacts->getBlocked](contacts.getBlocked.md)(\['offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$contacts\_Blocked](../types/contacts_Blocked.md) +$MadelineProto->[contacts->getBlocked](contacts.getBlocked.md)(\['offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$contacts.Blocked](../types/contacts.Blocked.md) ***

-$MadelineProto->[contacts->getContacts](contacts.getContacts.md)(\['hash' => [string](../types/string.md), \]) === [$contacts\_Contacts](../types/contacts_Contacts.md) +$MadelineProto->[contacts->getContacts](contacts.getContacts.md)(\['hash' => [string](../types/string.md), \]) === [$contacts.Contacts](../types/contacts.Contacts.md) ***

@@ -324,7 +324,7 @@ $MadelineProto->[contacts->getStatuses](contacts.getStatuses.md)(\[\]) === [$Vec ***

-$MadelineProto->[contacts->getSuggested](contacts.getSuggested.md)(\['limit' => [int](../types/int.md), \]) === [$contacts\_Suggested](../types/contacts_Suggested.md) +$MadelineProto->[contacts->getSuggested](contacts.getSuggested.md)(\['limit' => [int](../types/int.md), \]) === [$contacts.Suggested](../types/contacts.Suggested.md) ***

@@ -332,15 +332,15 @@ $MadelineProto->[contacts->importCard](contacts.importCard.md)(\['export_card' = ***

-$MadelineProto->[contacts->importContacts](contacts.importContacts.md)(\['contacts' => \[[InputContact](../types/InputContact.md)\], 'replace' => [Bool](../types/Bool.md), \]) === [$contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) +$MadelineProto->[contacts->importContacts](contacts.importContacts.md)(\['contacts' => \[[InputContact](../types/InputContact.md)\], 'replace' => [Bool](../types/Bool.md), \]) === [$contacts.ImportedContacts](../types/contacts.ImportedContacts.md) ***

-$MadelineProto->[contacts->resolveUsername](contacts.resolveUsername.md)(\['username' => [string](../types/string.md), \]) === [$contacts\_ResolvedPeer](../types/contacts_ResolvedPeer.md) +$MadelineProto->[contacts->resolveUsername](contacts.resolveUsername.md)(\['username' => [string](../types/string.md), \]) === [$contacts.ResolvedPeer](../types/contacts.ResolvedPeer.md) ***

-$MadelineProto->[contacts->search](contacts.search.md)(\['q' => [string](../types/string.md), 'limit' => [int](../types/int.md), \]) === [$contacts\_Found](../types/contacts_Found.md) +$MadelineProto->[contacts->search](contacts.search.md)(\['q' => [string](../types/string.md), 'limit' => [int](../types/int.md), \]) === [$contacts.Found](../types/contacts.Found.md) ***

@@ -348,11 +348,11 @@ $MadelineProto->[contacts->unblock](contacts.unblock.md)(\['id' => [InputUser](. ***

-$MadelineProto->[help->getAppChangelog](help.getAppChangelog.md)(\['device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) === [$help\_AppChangelog](../types/help_AppChangelog.md) +$MadelineProto->[help->getAppChangelog](help.getAppChangelog.md)(\['device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) === [$help.AppChangelog](../types/help.AppChangelog.md) ***

-$MadelineProto->[help->getAppUpdate](help.getAppUpdate.md)(\['device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) === [$help\_AppUpdate](../types/help_AppUpdate.md) +$MadelineProto->[help->getAppUpdate](help.getAppUpdate.md)(\['device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) === [$help.AppUpdate](../types/help.AppUpdate.md) ***

@@ -360,7 +360,7 @@ $MadelineProto->[help->getConfig](help.getConfig.md)(\[\]) === [$Config](../type ***

-$MadelineProto->[help->getInviteText](help.getInviteText.md)(\['lang_code' => [string](../types/string.md), \]) === [$help\_InviteText](../types/help_InviteText.md) +$MadelineProto->[help->getInviteText](help.getInviteText.md)(\['lang_code' => [string](../types/string.md), \]) === [$help.InviteText](../types/help.InviteText.md) ***

@@ -368,11 +368,11 @@ $MadelineProto->[help->getNearestDc](help.getNearestDc.md)(\[\]) === [$NearestDc ***

-$MadelineProto->[help->getSupport](help.getSupport.md)(\[\]) === [$help\_Support](../types/help_Support.md) +$MadelineProto->[help->getSupport](help.getSupport.md)(\[\]) === [$help.Support](../types/help.Support.md) ***

-$MadelineProto->[help->getTermsOfService](help.getTermsOfService.md)(\['lang_code' => [string](../types/string.md), \]) === [$help\_TermsOfService](../types/help_TermsOfService.md) +$MadelineProto->[help->getTermsOfService](help.getTermsOfService.md)(\['lang_code' => [string](../types/string.md), \]) === [$help.TermsOfService](../types/help.TermsOfService.md) ***

@@ -420,11 +420,11 @@ $MadelineProto->[messages->deleteChatUser](messages.deleteChatUser.md)(\['chat_i ***

-$MadelineProto->[messages->deleteHistory](messages.deleteHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), \]) === [$messages\_AffectedHistory](../types/messages_AffectedHistory.md) +$MadelineProto->[messages->deleteHistory](messages.deleteHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), \]) === [$messages.AffectedHistory](../types/messages.AffectedHistory.md) ***

-$MadelineProto->[messages->deleteMessages](messages.deleteMessages.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) +$MadelineProto->[messages->deleteMessages](messages.deleteMessages.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages.AffectedMessages](../types/messages.AffectedMessages.md) ***

@@ -456,19 +456,19 @@ $MadelineProto->[messages->forwardMessages](messages.forwardMessages.md)(\['broa ***

-$MadelineProto->[messages->getAllStickers](messages.getAllStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages\_AllStickers](../types/messages_AllStickers.md) +$MadelineProto->[messages->getAllStickers](messages.getAllStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages.AllStickers](../types/messages.AllStickers.md) ***

-$MadelineProto->[messages->getChats](messages.getChats.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[messages->getChats](messages.getChats.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages.Chats](../types/messages.Chats.md) ***

-$MadelineProto->[messages->getDhConfig](messages.getDhConfig.md)(\['version' => [int](../types/int.md), 'random_length' => [int](../types/int.md), \]) === [$messages\_DhConfig](../types/messages_DhConfig.md) +$MadelineProto->[messages->getDhConfig](messages.getDhConfig.md)(\['version' => [int](../types/int.md), 'random_length' => [int](../types/int.md), \]) === [$messages.DhConfig](../types/messages.DhConfig.md) ***

-$MadelineProto->[messages->getDialogs](messages.getDialogs.md)(\['offset_date' => [int](../types/int.md), 'offset_id' => [int](../types/int.md), 'offset_peer' => [InputPeer](../types/InputPeer.md), 'limit' => [int](../types/int.md), \]) === [$messages\_Dialogs](../types/messages_Dialogs.md) +$MadelineProto->[messages->getDialogs](messages.getDialogs.md)(\['offset_date' => [int](../types/int.md), 'offset_id' => [int](../types/int.md), 'offset_peer' => [InputPeer](../types/InputPeer.md), 'limit' => [int](../types/int.md), \]) === [$messages.Dialogs](../types/messages.Dialogs.md) ***

@@ -476,15 +476,15 @@ $MadelineProto->[messages->getDocumentByHash](messages.getDocumentByHash.md)(\[' ***

-$MadelineProto->[messages->getFullChat](messages.getFullChat.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), \]) === [$messages\_ChatFull](../types/messages_ChatFull.md) +$MadelineProto->[messages->getFullChat](messages.getFullChat.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), \]) === [$messages.ChatFull](../types/messages.ChatFull.md) ***

-$MadelineProto->[messages->getHistory](messages.getHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->getHistory](messages.getHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[messages->getMessages](messages.getMessages.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->getMessages](messages.getMessages.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages.Messages](../types/messages.Messages.md) ***

@@ -492,11 +492,11 @@ $MadelineProto->[messages->getMessagesViews](messages.getMessagesViews.md)(\['pe ***

-$MadelineProto->[messages->getStickerSet](messages.getStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), \]) === [$messages\_StickerSet](../types/messages_StickerSet.md) +$MadelineProto->[messages->getStickerSet](messages.getStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), \]) === [$messages.StickerSet](../types/messages.StickerSet.md) ***

-$MadelineProto->[messages->getStickers](messages.getStickers.md)(\['emoticon' => [string](../types/string.md), 'hash' => [string](../types/string.md), \]) === [$messages\_Stickers](../types/messages_Stickers.md) +$MadelineProto->[messages->getStickers](messages.getStickers.md)(\['emoticon' => [string](../types/string.md), 'hash' => [string](../types/string.md), \]) === [$messages.Stickers](../types/messages.Stickers.md) ***

@@ -520,11 +520,11 @@ $MadelineProto->[messages->readEncryptedHistory](messages.readEncryptedHistory.m ***

-$MadelineProto->[messages->readHistory](messages.readHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), \]) === [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) +$MadelineProto->[messages->readHistory](messages.readHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), \]) === [$messages.AffectedMessages](../types/messages.AffectedMessages.md) ***

-$MadelineProto->[messages->readMessageContents](messages.readMessageContents.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) +$MadelineProto->[messages->readMessageContents](messages.readMessageContents.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages.AffectedMessages](../types/messages.AffectedMessages.md) ***

@@ -548,15 +548,15 @@ $MadelineProto->[messages->requestEncryption](messages.requestEncryption.md)(\[' ***

-$MadelineProto->[messages->search](messages.search.md)(\['important_only' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'q' => [string](../types/string.md), 'filter' => [MessagesFilter](../types/MessagesFilter.md), 'min_date' => [int](../types/int.md), 'max_date' => [int](../types/int.md), 'offset' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->search](messages.search.md)(\['important_only' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'q' => [string](../types/string.md), 'filter' => [MessagesFilter](../types/MessagesFilter.md), 'min_date' => [int](../types/int.md), 'max_date' => [int](../types/int.md), 'offset' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[messages->searchGifs](messages.searchGifs.md)(\['q' => [string](../types/string.md), 'offset' => [int](../types/int.md), \]) === [$messages\_FoundGifs](../types/messages_FoundGifs.md) +$MadelineProto->[messages->searchGifs](messages.searchGifs.md)(\['q' => [string](../types/string.md), 'offset' => [int](../types/int.md), \]) === [$messages.FoundGifs](../types/messages.FoundGifs.md) ***

-$MadelineProto->[messages->searchGlobal](messages.searchGlobal.md)(\['q' => [string](../types/string.md), 'offset_date' => [int](../types/int.md), 'offset_peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->searchGlobal](messages.searchGlobal.md)(\['q' => [string](../types/string.md), 'offset_date' => [int](../types/int.md), 'offset_peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

@@ -564,15 +564,15 @@ $MadelineProto->[messages->sendBroadcast](messages.sendBroadcast.md)(\['contacts ***

-$MadelineProto->[messages->sendEncrypted](messages.sendEncrypted.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'message' => [DecryptedMessage](../types/DecryptedMessage.md), \]) === [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +$MadelineProto->[messages->sendEncrypted](messages.sendEncrypted.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), \]) === [$messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ***

-$MadelineProto->[messages->sendEncryptedFile](messages.sendEncryptedFile.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'message' => [DecryptedMessage](../types/DecryptedMessage.md), 'file' => [InputEncryptedFile](../types/InputEncryptedFile.md), \]) === [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +$MadelineProto->[messages->sendEncryptedFile](messages.sendEncryptedFile.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), 'file' => [InputEncryptedFile](../types/InputEncryptedFile.md), \]) === [$messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ***

-$MadelineProto->[messages->sendEncryptedService](messages.sendEncryptedService.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'message' => [DecryptedMessage](../types/DecryptedMessage.md), \]) === [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +$MadelineProto->[messages->sendEncryptedService](messages.sendEncryptedService.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), \]) === [$messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ***

@@ -608,7 +608,7 @@ $MadelineProto->[photos->deletePhotos](photos.deletePhotos.md)(\['id' => \[[Inpu ***

-$MadelineProto->[photos->getUserPhotos](photos.getUserPhotos.md)(\['user_id' => [InputUser](../types/InputUser.md), 'offset' => [int](../types/int.md), 'max_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$photos\_Photos](../types/photos_Photos.md) +$MadelineProto->[photos->getUserPhotos](photos.getUserPhotos.md)(\['user_id' => [InputUser](../types/InputUser.md), 'offset' => [int](../types/int.md), 'max_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$photos.Photos](../types/photos.Photos.md) ***

@@ -616,23 +616,23 @@ $MadelineProto->[photos->updateProfilePhoto](photos.updateProfilePhoto.md)(\['id ***

-$MadelineProto->[photos->uploadProfilePhoto](photos.uploadProfilePhoto.md)(\['file' => [InputFile](../types/InputFile.md), 'caption' => [string](../types/string.md), 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'crop' => [InputPhotoCrop](../types/InputPhotoCrop.md), \]) === [$photos\_Photo](../types/photos_Photo.md) +$MadelineProto->[photos->uploadProfilePhoto](photos.uploadProfilePhoto.md)(\['file' => [InputFile](../types/InputFile.md), 'caption' => [string](../types/string.md), 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'crop' => [InputPhotoCrop](../types/InputPhotoCrop.md), \]) === [$photos.Photo](../types/photos.Photo.md) ***

-$MadelineProto->[updates->getChannelDifference](updates.getChannelDifference.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$updates\_ChannelDifference](../types/updates_ChannelDifference.md) +$MadelineProto->[updates->getChannelDifference](updates.getChannelDifference.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$updates.ChannelDifference](../types/updates.ChannelDifference.md) ***

-$MadelineProto->[updates->getDifference](updates.getDifference.md)(\['pts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) === [$updates\_Difference](../types/updates_Difference.md) +$MadelineProto->[updates->getDifference](updates.getDifference.md)(\['pts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) === [$updates.Difference](../types/updates.Difference.md) ***

-$MadelineProto->[updates->getState](updates.getState.md)(\[\]) === [$updates\_State](../types/updates_State.md) +$MadelineProto->[updates->getState](updates.getState.md)(\[\]) === [$updates.State](../types/updates.State.md) ***

-$MadelineProto->[upload->getFile](upload.getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_File](../types/upload_File.md) +$MadelineProto->[upload->getFile](upload.getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload.File](../types/upload.File.md) ***

diff --git a/old_docs/API_docs_v44/methods/auth.checkPassword.md b/old_docs/API_docs_v44/methods/auth.checkPassword.md index db65cb56..eeeed171 100644 --- a/old_docs/API_docs_v44/methods/auth.checkPassword.md +++ b/old_docs/API_docs_v44/methods/auth.checkPassword.md @@ -16,7 +16,7 @@ You cannot use this method directly, use the complete_2fa_login method instead ( |password\_hash|[bytes](../types/bytes.md) | You cannot use this method directly, use the complete_2fa_login method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->checkPassword(['password_hash' => 'bytes', ]); +$auth.Authorization = $MadelineProto->auth->checkPassword(['password_hash' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.checkPassword({password_hash='bytes', }) +auth.Authorization = auth.checkPassword({password_hash='bytes', }) ``` ### Errors diff --git a/old_docs/API_docs_v44/methods/auth.checkPhone.md b/old_docs/API_docs_v44/methods/auth.checkPhone.md index 227358cb..51d4cba6 100644 --- a/old_docs/API_docs_v44/methods/auth.checkPhone.md +++ b/old_docs/API_docs_v44/methods/auth.checkPhone.md @@ -16,7 +16,7 @@ Check if this phone number is registered on telegram |phone\_number|[string](../types/string.md) | The phone number to check | Yes| -### Return type: [auth\_CheckedPhone](../types/auth_CheckedPhone.md) +### Return type: [auth.CheckedPhone](../types/auth.CheckedPhone.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => 'string', ]); +$auth.CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_CheckedPhone = auth.checkPhone({phone_number='string', }) +auth.CheckedPhone = auth.checkPhone({phone_number='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v44/methods/auth.exportAuthorization.md b/old_docs/API_docs_v44/methods/auth.exportAuthorization.md index 72063a2b..41a1f87d 100644 --- a/old_docs/API_docs_v44/methods/auth.exportAuthorization.md +++ b/old_docs/API_docs_v44/methods/auth.exportAuthorization.md @@ -16,7 +16,7 @@ You cannot use this method directly, use $MadelineProto->exportAuthorization() i |dc\_id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| -### Return type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) +### Return type: [auth.ExportedAuthorization](../types/auth.ExportedAuthorization.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_ExportedAuthorization = $MadelineProto->auth->exportAuthorization(['dc_id' => int, ]); +$auth.ExportedAuthorization = $MadelineProto->auth->exportAuthorization(['dc_id' => int, ]); ``` Or, if you're into Lua: ```lua -auth_ExportedAuthorization = auth.exportAuthorization({dc_id=int, }) +auth.ExportedAuthorization = auth.exportAuthorization({dc_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v44/methods/auth.importAuthorization.md b/old_docs/API_docs_v44/methods/auth.importAuthorization.md index d9c13751..5257e0b0 100644 --- a/old_docs/API_docs_v44/methods/auth.importAuthorization.md +++ b/old_docs/API_docs_v44/methods/auth.importAuthorization.md @@ -17,7 +17,7 @@ You cannot use this method directly, use $MadelineProto->importAuthorization($au |bytes|[bytes](../types/bytes.md) | You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => 'bytes', ]); +$auth.Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.importAuthorization({id=int, bytes='bytes', }) +auth.Authorization = auth.importAuthorization({id=int, bytes='bytes', }) ``` ### Errors diff --git a/old_docs/API_docs_v44/methods/auth.importBotAuthorization.md b/old_docs/API_docs_v44/methods/auth.importBotAuthorization.md index 3161d6be..a4ea8027 100644 --- a/old_docs/API_docs_v44/methods/auth.importBotAuthorization.md +++ b/old_docs/API_docs_v44/methods/auth.importBotAuthorization.md @@ -18,7 +18,7 @@ You cannot use this method directly, use the botLogin method instead (see https: |bot\_auth\_token|[string](../types/string.md) | You cannot use this method directly, use the botLogin method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **YES** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->importBotAuthorization(['api_id' => int, 'api_hash' => 'string', 'bot_auth_token' => 'string', ]); +$auth.Authorization = $MadelineProto->auth->importBotAuthorization(['api_id' => int, 'api_hash' => 'string', 'bot_auth_token' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.importBotAuthorization({api_id=int, api_hash='string', bot_auth_token='string', }) +auth.Authorization = auth.importBotAuthorization({api_id=int, api_hash='string', bot_auth_token='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v44/methods/auth.recoverPassword.md b/old_docs/API_docs_v44/methods/auth.recoverPassword.md index f7cbf4a4..2e78444b 100644 --- a/old_docs/API_docs_v44/methods/auth.recoverPassword.md +++ b/old_docs/API_docs_v44/methods/auth.recoverPassword.md @@ -16,7 +16,7 @@ Reset the [2FA password](https://core.telegram.org/api/srp) using the recovery c |code|[string](../types/string.md) | Code received via email | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->recoverPassword(['code' => 'string', ]); +$auth.Authorization = $MadelineProto->auth->recoverPassword(['code' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.recoverPassword({code='string', }) +auth.Authorization = auth.recoverPassword({code='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v44/methods/auth.requestPasswordRecovery.md b/old_docs/API_docs_v44/methods/auth.requestPasswordRecovery.md index 5cd77936..ff1ecc02 100644 --- a/old_docs/API_docs_v44/methods/auth.requestPasswordRecovery.md +++ b/old_docs/API_docs_v44/methods/auth.requestPasswordRecovery.md @@ -11,7 +11,7 @@ Request recovery code of a [2FA password](https://core.telegram.org/api/srp), on -### Return type: [auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) +### Return type: [auth.PasswordRecovery](../types/auth.PasswordRecovery.md) ### Can bots use this method: **NO** @@ -28,13 +28,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_PasswordRecovery = $MadelineProto->auth->requestPasswordRecovery(); +$auth.PasswordRecovery = $MadelineProto->auth->requestPasswordRecovery(); ``` Or, if you're into Lua: ```lua -auth_PasswordRecovery = auth.requestPasswordRecovery({}) +auth.PasswordRecovery = auth.requestPasswordRecovery({}) ``` ### Errors diff --git a/old_docs/API_docs_v44/methods/auth.sendCode.md b/old_docs/API_docs_v44/methods/auth.sendCode.md index 9fa1a0c7..68b6ff31 100644 --- a/old_docs/API_docs_v44/methods/auth.sendCode.md +++ b/old_docs/API_docs_v44/methods/auth.sendCode.md @@ -20,7 +20,7 @@ You cannot use this method directly, use the phoneLogin method instead (see http |lang\_code|[string](../types/string.md) | You cannot use this method directly, use the phoneLogin method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_SentCode](../types/auth_SentCode.md) +### Return type: [auth.SentCode](../types/auth.SentCode.md) ### Can bots use this method: **NO** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_SentCode = $MadelineProto->auth->sendCode(['phone_number' => 'string', 'sms_type' => int, 'api_id' => int, 'api_hash' => 'string', 'lang_code' => 'string', ]); +$auth.SentCode = $MadelineProto->auth->sendCode(['phone_number' => 'string', 'sms_type' => int, 'api_id' => int, 'api_hash' => 'string', 'lang_code' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_SentCode = auth.sendCode({phone_number='string', sms_type=int, api_id=int, api_hash='string', lang_code='string', }) +auth.SentCode = auth.sendCode({phone_number='string', sms_type=int, api_id=int, api_hash='string', lang_code='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v44/methods/auth.signIn.md b/old_docs/API_docs_v44/methods/auth.signIn.md index 54812a2e..95b14f32 100644 --- a/old_docs/API_docs_v44/methods/auth.signIn.md +++ b/old_docs/API_docs_v44/methods/auth.signIn.md @@ -18,7 +18,7 @@ You cannot use this method directly, use the completePhoneLogin method instead ( |phone\_code|[string](../types/string.md) | You cannot use this method directly, use the completePhoneLogin method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->signIn(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', ]); +$auth.Authorization = $MadelineProto->auth->signIn(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.signIn({phone_number='string', phone_code_hash='string', phone_code='string', }) +auth.Authorization = auth.signIn({phone_number='string', phone_code_hash='string', phone_code='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v44/methods/auth.signUp.md b/old_docs/API_docs_v44/methods/auth.signUp.md index 2aca2bfa..fdb5d628 100644 --- a/old_docs/API_docs_v44/methods/auth.signUp.md +++ b/old_docs/API_docs_v44/methods/auth.signUp.md @@ -20,7 +20,7 @@ You cannot use this method directly, use the completeSignup method instead (see |last\_name|[string](../types/string.md) | You cannot use this method directly, use the completeSignup method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **NO** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->signUp(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', 'first_name' => 'string', 'last_name' => 'string', ]); +$auth.Authorization = $MadelineProto->auth->signUp(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', 'first_name' => 'string', 'last_name' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.signUp({phone_number='string', phone_code_hash='string', phone_code='string', first_name='string', last_name='string', }) +auth.Authorization = auth.signUp({phone_number='string', phone_code_hash='string', phone_code='string', first_name='string', last_name='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v44/methods/channels.deleteMessages.md b/old_docs/API_docs_v44/methods/channels.deleteMessages.md index 10a439fb..8583e560 100644 --- a/old_docs/API_docs_v44/methods/channels.deleteMessages.md +++ b/old_docs/API_docs_v44/methods/channels.deleteMessages.md @@ -17,7 +17,7 @@ Delete messages in a [channel/supergroup](https://core.telegram.org/api/channel) |id|Array of [int](../types/int.md) | The IDs of messages to delete | Yes| -### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) +### Return type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedMessages = $MadelineProto->channels->deleteMessages(['channel' => InputChannel, 'id' => [int, int], ]); +$messages.AffectedMessages = $MadelineProto->channels->deleteMessages(['channel' => InputChannel, 'id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AffectedMessages = channels.deleteMessages({channel=InputChannel, id={int}, }) +messages.AffectedMessages = channels.deleteMessages({channel=InputChannel, id={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v44/methods/channels.deleteUserHistory.md b/old_docs/API_docs_v44/methods/channels.deleteUserHistory.md index 9b8b159f..6ccaf7dd 100644 --- a/old_docs/API_docs_v44/methods/channels.deleteUserHistory.md +++ b/old_docs/API_docs_v44/methods/channels.deleteUserHistory.md @@ -17,7 +17,7 @@ Delete all messages sent by a certain user in a [supergroup](https://core.telegr |user\_id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | User whose messages should be deleted | Optional| -### Return type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) +### Return type: [messages.AffectedHistory](../types/messages.AffectedHistory.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedHistory = $MadelineProto->channels->deleteUserHistory(['channel' => InputChannel, 'user_id' => InputUser, ]); +$messages.AffectedHistory = $MadelineProto->channels->deleteUserHistory(['channel' => InputChannel, 'user_id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -messages_AffectedHistory = channels.deleteUserHistory({channel=InputChannel, user_id=InputUser, }) +messages.AffectedHistory = channels.deleteUserHistory({channel=InputChannel, user_id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v44/methods/channels.getChannels.md b/old_docs/API_docs_v44/methods/channels.getChannels.md index 368c96ce..ed9cf4a7 100644 --- a/old_docs/API_docs_v44/methods/channels.getChannels.md +++ b/old_docs/API_docs_v44/methods/channels.getChannels.md @@ -16,7 +16,7 @@ Get info about [channels/supergroups](https://core.telegram.org/api/channel) |id|Array of [Username, chat ID, Update, Message or InputChannel](../types/InputChannel.md) | The channel/supergroup MTProto IDs | Yes| -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->channels->getChannels(['id' => [InputChannel, InputChannel], ]); +$messages.Chats = $MadelineProto->channels->getChannels(['id' => [InputChannel, InputChannel], ]); ``` Or, if you're into Lua: ```lua -messages_Chats = channels.getChannels({id={InputChannel}, }) +messages.Chats = channels.getChannels({id={InputChannel}, }) ``` ### Errors diff --git a/old_docs/API_docs_v44/methods/channels.getDialogs.md b/old_docs/API_docs_v44/methods/channels.getDialogs.md index b75c785d..b9bfe655 100644 --- a/old_docs/API_docs_v44/methods/channels.getDialogs.md +++ b/old_docs/API_docs_v44/methods/channels.getDialogs.md @@ -17,7 +17,7 @@ Get channel dialogs |limit|[int](../types/int.md) | Number of results to return | Yes| -### Return type: [messages\_Dialogs](../types/messages_Dialogs.md) +### Return type: [messages.Dialogs](../types/messages.Dialogs.md) ### Can bots use this method: **YES** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Dialogs = $MadelineProto->channels->getDialogs(['offset' => int, 'limit' => int, ]); +$messages.Dialogs = $MadelineProto->channels->getDialogs(['offset' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Dialogs = channels.getDialogs({offset=int, limit=int, }) +messages.Dialogs = channels.getDialogs({offset=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v44/methods/channels.getFullChannel.md b/old_docs/API_docs_v44/methods/channels.getFullChannel.md index 08dc21bb..1369e0a0 100644 --- a/old_docs/API_docs_v44/methods/channels.getFullChannel.md +++ b/old_docs/API_docs_v44/methods/channels.getFullChannel.md @@ -16,7 +16,7 @@ You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo me |channel|[Username, chat ID, Update, Message or InputChannel](../types/InputChannel.md) | You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo methods instead (see https://docs.madelineproto.xyz for more info) | Optional| -### Return type: [messages\_ChatFull](../types/messages_ChatFull.md) +### Return type: [messages.ChatFull](../types/messages.ChatFull.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_ChatFull = $MadelineProto->channels->getFullChannel(['channel' => InputChannel, ]); +$messages.ChatFull = $MadelineProto->channels->getFullChannel(['channel' => InputChannel, ]); ``` Or, if you're into Lua: ```lua -messages_ChatFull = channels.getFullChannel({channel=InputChannel, }) +messages.ChatFull = channels.getFullChannel({channel=InputChannel, }) ``` ### Errors diff --git a/old_docs/API_docs_v44/methods/channels.getImportantHistory.md b/old_docs/API_docs_v44/methods/channels.getImportantHistory.md index 7375a015..5fe317b8 100644 --- a/old_docs/API_docs_v44/methods/channels.getImportantHistory.md +++ b/old_docs/API_docs_v44/methods/channels.getImportantHistory.md @@ -21,7 +21,7 @@ Get important channel/supergroup history |min\_id|[int](../types/int.md) | Minumum message ID | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **YES** @@ -38,12 +38,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->channels->getImportantHistory(['channel' => InputChannel, 'offset_id' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); +$messages.Messages = $MadelineProto->channels->getImportantHistory(['channel' => InputChannel, 'offset_id' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Messages = channels.getImportantHistory({channel=InputChannel, offset_id=int, add_offset=int, limit=int, max_id=int, min_id=int, }) +messages.Messages = channels.getImportantHistory({channel=InputChannel, offset_id=int, add_offset=int, limit=int, max_id=int, min_id=int, }) ``` diff --git a/old_docs/API_docs_v44/methods/channels.getMessages.md b/old_docs/API_docs_v44/methods/channels.getMessages.md index 379e0e9d..5023ea1a 100644 --- a/old_docs/API_docs_v44/methods/channels.getMessages.md +++ b/old_docs/API_docs_v44/methods/channels.getMessages.md @@ -17,7 +17,7 @@ Get [channel/supergroup](https://core.telegram.org/api/channel) messages |id|Array of [int](../types/int.md) | The message IDs | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->channels->getMessages(['channel' => InputChannel, 'id' => [int, int], ]); +$messages.Messages = $MadelineProto->channels->getMessages(['channel' => InputChannel, 'id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Messages = channels.getMessages({channel=InputChannel, id={int}, }) +messages.Messages = channels.getMessages({channel=InputChannel, id={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v44/methods/channels.getParticipant.md b/old_docs/API_docs_v44/methods/channels.getParticipant.md index aa2ce655..cf6a7771 100644 --- a/old_docs/API_docs_v44/methods/channels.getParticipant.md +++ b/old_docs/API_docs_v44/methods/channels.getParticipant.md @@ -17,7 +17,7 @@ Get info about a [channel/supergroup](https://core.telegram.org/api/channel) par |user\_id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | ID of participant to get info about | Optional| -### Return type: [channels\_ChannelParticipant](../types/channels_ChannelParticipant.md) +### Return type: [channels.ChannelParticipant](../types/channels.ChannelParticipant.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$channels_ChannelParticipant = $MadelineProto->channels->getParticipant(['channel' => InputChannel, 'user_id' => InputUser, ]); +$channels.ChannelParticipant = $MadelineProto->channels->getParticipant(['channel' => InputChannel, 'user_id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -channels_ChannelParticipant = channels.getParticipant({channel=InputChannel, user_id=InputUser, }) +channels.ChannelParticipant = channels.getParticipant({channel=InputChannel, user_id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v44/methods/channels.getParticipants.md b/old_docs/API_docs_v44/methods/channels.getParticipants.md index 9be95921..bfeccd48 100644 --- a/old_docs/API_docs_v44/methods/channels.getParticipants.md +++ b/old_docs/API_docs_v44/methods/channels.getParticipants.md @@ -19,7 +19,7 @@ Get the participants of a channel |limit|[int](../types/int.md) | [Limit](https://core.telegram.org/api/offsets) | Yes| -### Return type: [channels\_ChannelParticipants](../types/channels_ChannelParticipants.md) +### Return type: [channels.ChannelParticipants](../types/channels.ChannelParticipants.md) ### Can bots use this method: **YES** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$channels_ChannelParticipants = $MadelineProto->channels->getParticipants(['channel' => InputChannel, 'filter' => ChannelParticipantsFilter, 'offset' => int, 'limit' => int, ]); +$channels.ChannelParticipants = $MadelineProto->channels->getParticipants(['channel' => InputChannel, 'filter' => ChannelParticipantsFilter, 'offset' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -channels_ChannelParticipants = channels.getParticipants({channel=InputChannel, filter=ChannelParticipantsFilter, offset=int, limit=int, }) +channels.ChannelParticipants = channels.getParticipants({channel=InputChannel, filter=ChannelParticipantsFilter, offset=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v44/methods/contacts.deleteContact.md b/old_docs/API_docs_v44/methods/contacts.deleteContact.md index a9321d64..9169e1e0 100644 --- a/old_docs/API_docs_v44/methods/contacts.deleteContact.md +++ b/old_docs/API_docs_v44/methods/contacts.deleteContact.md @@ -16,7 +16,7 @@ Delete a contact |id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | The contact to delete | Optional| -### Return type: [contacts\_Link](../types/contacts_Link.md) +### Return type: [contacts.Link](../types/contacts.Link.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Link = $MadelineProto->contacts->deleteContact(['id' => InputUser, ]); +$contacts.Link = $MadelineProto->contacts->deleteContact(['id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -contacts_Link = contacts.deleteContact({id=InputUser, }) +contacts.Link = contacts.deleteContact({id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v44/methods/contacts.getBlocked.md b/old_docs/API_docs_v44/methods/contacts.getBlocked.md index 92f2f331..6ac1c343 100644 --- a/old_docs/API_docs_v44/methods/contacts.getBlocked.md +++ b/old_docs/API_docs_v44/methods/contacts.getBlocked.md @@ -17,7 +17,7 @@ Returns the list of blocked users. |limit|[int](../types/int.md) | The number of list elements to be returned | Yes| -### Return type: [contacts\_Blocked](../types/contacts_Blocked.md) +### Return type: [contacts.Blocked](../types/contacts.Blocked.md) ### Can bots use this method: **NO** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Blocked = $MadelineProto->contacts->getBlocked(['offset' => int, 'limit' => int, ]); +$contacts.Blocked = $MadelineProto->contacts->getBlocked(['offset' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -contacts_Blocked = contacts.getBlocked({offset=int, limit=int, }) +contacts.Blocked = contacts.getBlocked({offset=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v44/methods/contacts.getContacts.md b/old_docs/API_docs_v44/methods/contacts.getContacts.md index caee7aa8..a2fcd412 100644 --- a/old_docs/API_docs_v44/methods/contacts.getContacts.md +++ b/old_docs/API_docs_v44/methods/contacts.getContacts.md @@ -16,7 +16,7 @@ Returns the current user's contact list. |hash|[string](../types/string.md) | List of contact user IDs you already cached | Yes| -### Return type: [contacts\_Contacts](../types/contacts_Contacts.md) +### Return type: [contacts.Contacts](../types/contacts.Contacts.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Contacts = $MadelineProto->contacts->getContacts(['hash' => 'string', ]); +$contacts.Contacts = $MadelineProto->contacts->getContacts(['hash' => 'string', ]); ``` Or, if you're into Lua: ```lua -contacts_Contacts = contacts.getContacts({hash='string', }) +contacts.Contacts = contacts.getContacts({hash='string', }) ``` diff --git a/old_docs/API_docs_v44/methods/contacts.getSuggested.md b/old_docs/API_docs_v44/methods/contacts.getSuggested.md index 32e96621..ede222d4 100644 --- a/old_docs/API_docs_v44/methods/contacts.getSuggested.md +++ b/old_docs/API_docs_v44/methods/contacts.getSuggested.md @@ -16,7 +16,7 @@ Get suggested contacts |limit|[int](../types/int.md) | Number of results to return | Yes| -### Return type: [contacts\_Suggested](../types/contacts_Suggested.md) +### Return type: [contacts.Suggested](../types/contacts.Suggested.md) ### Can bots use this method: **YES** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Suggested = $MadelineProto->contacts->getSuggested(['limit' => int, ]); +$contacts.Suggested = $MadelineProto->contacts->getSuggested(['limit' => int, ]); ``` Or, if you're into Lua: ```lua -contacts_Suggested = contacts.getSuggested({limit=int, }) +contacts.Suggested = contacts.getSuggested({limit=int, }) ``` diff --git a/old_docs/API_docs_v44/methods/contacts.importContacts.md b/old_docs/API_docs_v44/methods/contacts.importContacts.md index 572df9fb..975d0565 100644 --- a/old_docs/API_docs_v44/methods/contacts.importContacts.md +++ b/old_docs/API_docs_v44/methods/contacts.importContacts.md @@ -17,7 +17,7 @@ Imports contacts: saves a full list on the server, adds already registered conta |replace|[Bool](../types/Bool.md) | Replace contacts? | Yes| -### Return type: [contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) +### Return type: [contacts.ImportedContacts](../types/contacts.ImportedContacts.md) ### Can bots use this method: **NO** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_ImportedContacts = $MadelineProto->contacts->importContacts(['contacts' => [InputContact, InputContact], 'replace' => Bool, ]); +$contacts.ImportedContacts = $MadelineProto->contacts->importContacts(['contacts' => [InputContact, InputContact], 'replace' => Bool, ]); ``` Or, if you're into Lua: ```lua -contacts_ImportedContacts = contacts.importContacts({contacts={InputContact}, replace=Bool, }) +contacts.ImportedContacts = contacts.importContacts({contacts={InputContact}, replace=Bool, }) ``` diff --git a/old_docs/API_docs_v44/methods/contacts.resolveUsername.md b/old_docs/API_docs_v44/methods/contacts.resolveUsername.md index 05e3d854..46f1eb50 100644 --- a/old_docs/API_docs_v44/methods/contacts.resolveUsername.md +++ b/old_docs/API_docs_v44/methods/contacts.resolveUsername.md @@ -16,7 +16,7 @@ You cannot use this method directly, use the resolveUsername, getPwrChat, getInf |username|[string](../types/string.md) | You cannot use this method directly, use the resolveUsername, getPwrChat, getInfo, getFullInfo methods instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [contacts\_ResolvedPeer](../types/contacts_ResolvedPeer.md) +### Return type: [contacts.ResolvedPeer](../types/contacts.ResolvedPeer.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_ResolvedPeer = $MadelineProto->contacts->resolveUsername(['username' => 'string', ]); +$contacts.ResolvedPeer = $MadelineProto->contacts->resolveUsername(['username' => 'string', ]); ``` Or, if you're into Lua: ```lua -contacts_ResolvedPeer = contacts.resolveUsername({username='string', }) +contacts.ResolvedPeer = contacts.resolveUsername({username='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v44/methods/contacts.search.md b/old_docs/API_docs_v44/methods/contacts.search.md index 2f39d6f1..ec04c7f9 100644 --- a/old_docs/API_docs_v44/methods/contacts.search.md +++ b/old_docs/API_docs_v44/methods/contacts.search.md @@ -17,7 +17,7 @@ Returns users found by username substring. |limit|[int](../types/int.md) | Maximum number of users to be returned | Yes| -### Return type: [contacts\_Found](../types/contacts_Found.md) +### Return type: [contacts.Found](../types/contacts.Found.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Found = $MadelineProto->contacts->search(['q' => 'string', 'limit' => int, ]); +$contacts.Found = $MadelineProto->contacts->search(['q' => 'string', 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -contacts_Found = contacts.search({q='string', limit=int, }) +contacts.Found = contacts.search({q='string', limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v44/methods/help.getAppChangelog.md b/old_docs/API_docs_v44/methods/help.getAppChangelog.md index 890e3a4b..29bee8fb 100644 --- a/old_docs/API_docs_v44/methods/help.getAppChangelog.md +++ b/old_docs/API_docs_v44/methods/help.getAppChangelog.md @@ -19,7 +19,7 @@ Get changelog of current app |lang\_code|[string](../types/string.md) | Language code | Yes| -### Return type: [help\_AppChangelog](../types/help_AppChangelog.md) +### Return type: [help.AppChangelog](../types/help.AppChangelog.md) ### Can bots use this method: **NO** @@ -36,12 +36,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_AppChangelog = $MadelineProto->help->getAppChangelog(['device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'lang_code' => 'string', ]); +$help.AppChangelog = $MadelineProto->help->getAppChangelog(['device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'lang_code' => 'string', ]); ``` Or, if you're into Lua: ```lua -help_AppChangelog = help.getAppChangelog({device_model='string', system_version='string', app_version='string', lang_code='string', }) +help.AppChangelog = help.getAppChangelog({device_model='string', system_version='string', app_version='string', lang_code='string', }) ``` diff --git a/old_docs/API_docs_v44/methods/help.getAppUpdate.md b/old_docs/API_docs_v44/methods/help.getAppUpdate.md index 0f844391..bfbed19e 100644 --- a/old_docs/API_docs_v44/methods/help.getAppUpdate.md +++ b/old_docs/API_docs_v44/methods/help.getAppUpdate.md @@ -19,7 +19,7 @@ Returns information on update availability for the current application. |lang\_code|[string](../types/string.md) | Langauge code | Yes| -### Return type: [help\_AppUpdate](../types/help_AppUpdate.md) +### Return type: [help.AppUpdate](../types/help.AppUpdate.md) ### Can bots use this method: **NO** @@ -36,12 +36,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_AppUpdate = $MadelineProto->help->getAppUpdate(['device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'lang_code' => 'string', ]); +$help.AppUpdate = $MadelineProto->help->getAppUpdate(['device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'lang_code' => 'string', ]); ``` Or, if you're into Lua: ```lua -help_AppUpdate = help.getAppUpdate({device_model='string', system_version='string', app_version='string', lang_code='string', }) +help.AppUpdate = help.getAppUpdate({device_model='string', system_version='string', app_version='string', lang_code='string', }) ``` diff --git a/old_docs/API_docs_v44/methods/help.getInviteText.md b/old_docs/API_docs_v44/methods/help.getInviteText.md index 482afbc0..f84b2e82 100644 --- a/old_docs/API_docs_v44/methods/help.getInviteText.md +++ b/old_docs/API_docs_v44/methods/help.getInviteText.md @@ -16,7 +16,7 @@ Returns text of a text message with an invitation. |lang\_code|[string](../types/string.md) | Language | Yes| -### Return type: [help\_InviteText](../types/help_InviteText.md) +### Return type: [help.InviteText](../types/help.InviteText.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_InviteText = $MadelineProto->help->getInviteText(['lang_code' => 'string', ]); +$help.InviteText = $MadelineProto->help->getInviteText(['lang_code' => 'string', ]); ``` Or, if you're into Lua: ```lua -help_InviteText = help.getInviteText({lang_code='string', }) +help.InviteText = help.getInviteText({lang_code='string', }) ``` diff --git a/old_docs/API_docs_v44/methods/help.getSupport.md b/old_docs/API_docs_v44/methods/help.getSupport.md index 7a577892..8a8df916 100644 --- a/old_docs/API_docs_v44/methods/help.getSupport.md +++ b/old_docs/API_docs_v44/methods/help.getSupport.md @@ -11,7 +11,7 @@ Returns the support user for the 'ask a question' feature. -### Return type: [help\_Support](../types/help_Support.md) +### Return type: [help.Support](../types/help.Support.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_Support = $MadelineProto->help->getSupport(); +$help.Support = $MadelineProto->help->getSupport(); ``` Or, if you're into Lua: ```lua -help_Support = help.getSupport({}) +help.Support = help.getSupport({}) ``` diff --git a/old_docs/API_docs_v44/methods/help.getTermsOfService.md b/old_docs/API_docs_v44/methods/help.getTermsOfService.md index b6ae8378..fe267c6f 100644 --- a/old_docs/API_docs_v44/methods/help.getTermsOfService.md +++ b/old_docs/API_docs_v44/methods/help.getTermsOfService.md @@ -16,7 +16,7 @@ Get terms of service |lang\_code|[string](../types/string.md) | Language code | Yes| -### Return type: [help\_TermsOfService](../types/help_TermsOfService.md) +### Return type: [help.TermsOfService](../types/help.TermsOfService.md) ### Can bots use this method: **YES** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_TermsOfService = $MadelineProto->help->getTermsOfService(['lang_code' => 'string', ]); +$help.TermsOfService = $MadelineProto->help->getTermsOfService(['lang_code' => 'string', ]); ``` Or, if you're into Lua: ```lua -help_TermsOfService = help.getTermsOfService({lang_code='string', }) +help.TermsOfService = help.getTermsOfService({lang_code='string', }) ``` diff --git a/old_docs/API_docs_v44/methods/messages.deleteHistory.md b/old_docs/API_docs_v44/methods/messages.deleteHistory.md index f7f34456..9515d31c 100644 --- a/old_docs/API_docs_v44/methods/messages.deleteHistory.md +++ b/old_docs/API_docs_v44/methods/messages.deleteHistory.md @@ -17,7 +17,7 @@ Deletes communication history. |max\_id|[int](../types/int.md) | Maximum ID of message to delete | Yes| -### Return type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) +### Return type: [messages.AffectedHistory](../types/messages.AffectedHistory.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedHistory = $MadelineProto->messages->deleteHistory(['peer' => InputPeer, 'max_id' => int, ]); +$messages.AffectedHistory = $MadelineProto->messages->deleteHistory(['peer' => InputPeer, 'max_id' => int, ]); ``` Or, if you're into Lua: ```lua -messages_AffectedHistory = messages.deleteHistory({peer=InputPeer, max_id=int, }) +messages.AffectedHistory = messages.deleteHistory({peer=InputPeer, max_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v44/methods/messages.deleteMessages.md b/old_docs/API_docs_v44/methods/messages.deleteMessages.md index 355b2ff8..cc432cc1 100644 --- a/old_docs/API_docs_v44/methods/messages.deleteMessages.md +++ b/old_docs/API_docs_v44/methods/messages.deleteMessages.md @@ -16,7 +16,7 @@ Deletes messages by their identifiers. |id|Array of [int](../types/int.md) | IDs of messages to delete, use channels->deleteMessages for supergroups | Yes| -### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) +### Return type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedMessages = $MadelineProto->messages->deleteMessages(['id' => [int, int], ]); +$messages.AffectedMessages = $MadelineProto->messages->deleteMessages(['id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AffectedMessages = messages.deleteMessages({id={int}, }) +messages.AffectedMessages = messages.deleteMessages({id={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v44/methods/messages.getAllStickers.md b/old_docs/API_docs_v44/methods/messages.getAllStickers.md index 329b70be..0f0de7f1 100644 --- a/old_docs/API_docs_v44/methods/messages.getAllStickers.md +++ b/old_docs/API_docs_v44/methods/messages.getAllStickers.md @@ -16,7 +16,7 @@ Get all installed stickers |hash|Array of [int](../types/int.md) | The hash parameter of the previous result of this method | Optional| -### Return type: [messages\_AllStickers](../types/messages_AllStickers.md) +### Return type: [messages.AllStickers](../types/messages.AllStickers.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AllStickers = $MadelineProto->messages->getAllStickers(['hash' => [int, int], ]); +$messages.AllStickers = $MadelineProto->messages->getAllStickers(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AllStickers = messages.getAllStickers({hash={int}, }) +messages.AllStickers = messages.getAllStickers({hash={int}, }) ``` diff --git a/old_docs/API_docs_v44/methods/messages.getChats.md b/old_docs/API_docs_v44/methods/messages.getChats.md index c34b0488..146341f5 100644 --- a/old_docs/API_docs_v44/methods/messages.getChats.md +++ b/old_docs/API_docs_v44/methods/messages.getChats.md @@ -16,7 +16,7 @@ Returns chat basic info on their IDs. |id|Array of [int](../types/int.md) | The MTProto IDs of chats to fetch info about | Yes| -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->messages->getChats(['id' => [int, int], ]); +$messages.Chats = $MadelineProto->messages->getChats(['id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Chats = messages.getChats({id={int}, }) +messages.Chats = messages.getChats({id={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v44/methods/messages.getDhConfig.md b/old_docs/API_docs_v44/methods/messages.getDhConfig.md index 88ea4ab3..7b9da566 100644 --- a/old_docs/API_docs_v44/methods/messages.getDhConfig.md +++ b/old_docs/API_docs_v44/methods/messages.getDhConfig.md @@ -17,7 +17,7 @@ You cannot use this method directly, instead use $MadelineProto->getDhConfig(); |random\_length|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->getDhConfig(); | Yes| -### Return type: [messages\_DhConfig](../types/messages_DhConfig.md) +### Return type: [messages.DhConfig](../types/messages.DhConfig.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_DhConfig = $MadelineProto->messages->getDhConfig(['version' => int, 'random_length' => int, ]); +$messages.DhConfig = $MadelineProto->messages->getDhConfig(['version' => int, 'random_length' => int, ]); ``` Or, if you're into Lua: ```lua -messages_DhConfig = messages.getDhConfig({version=int, random_length=int, }) +messages.DhConfig = messages.getDhConfig({version=int, random_length=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v44/methods/messages.getDialogs.md b/old_docs/API_docs_v44/methods/messages.getDialogs.md index f262b574..6e246feb 100644 --- a/old_docs/API_docs_v44/methods/messages.getDialogs.md +++ b/old_docs/API_docs_v44/methods/messages.getDialogs.md @@ -19,7 +19,7 @@ Returns the current user dialog list. |limit|[int](../types/int.md) | Number of list elements to be returned | Yes| -### Return type: [messages\_Dialogs](../types/messages_Dialogs.md) +### Return type: [messages.Dialogs](../types/messages.Dialogs.md) ### Can bots use this method: **NO** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Dialogs = $MadelineProto->messages->getDialogs(['offset_date' => int, 'offset_id' => int, 'offset_peer' => InputPeer, 'limit' => int, ]); +$messages.Dialogs = $MadelineProto->messages->getDialogs(['offset_date' => int, 'offset_id' => int, 'offset_peer' => InputPeer, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Dialogs = messages.getDialogs({offset_date=int, offset_id=int, offset_peer=InputPeer, limit=int, }) +messages.Dialogs = messages.getDialogs({offset_date=int, offset_id=int, offset_peer=InputPeer, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v44/methods/messages.getFullChat.md b/old_docs/API_docs_v44/methods/messages.getFullChat.md index abf23e21..de543651 100644 --- a/old_docs/API_docs_v44/methods/messages.getFullChat.md +++ b/old_docs/API_docs_v44/methods/messages.getFullChat.md @@ -16,7 +16,7 @@ You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo me |chat\_id|[Username, chat ID, Update, Message or InputPeer](../types/InputPeer.md) | You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo methods instead (see https://docs.madelineproto.xyz for more info) | Optional| -### Return type: [messages\_ChatFull](../types/messages_ChatFull.md) +### Return type: [messages.ChatFull](../types/messages.ChatFull.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_ChatFull = $MadelineProto->messages->getFullChat(['chat_id' => InputPeer, ]); +$messages.ChatFull = $MadelineProto->messages->getFullChat(['chat_id' => InputPeer, ]); ``` Or, if you're into Lua: ```lua -messages_ChatFull = messages.getFullChat({chat_id=InputPeer, }) +messages.ChatFull = messages.getFullChat({chat_id=InputPeer, }) ``` ### Errors diff --git a/old_docs/API_docs_v44/methods/messages.getHistory.md b/old_docs/API_docs_v44/methods/messages.getHistory.md index c6d7a647..1e13bc34 100644 --- a/old_docs/API_docs_v44/methods/messages.getHistory.md +++ b/old_docs/API_docs_v44/methods/messages.getHistory.md @@ -21,7 +21,7 @@ Gets back the conversation history with one interlocutor / within a chat |min\_id|[int](../types/int.md) | If a positive value was transferred, the method will return only messages with IDs more than **min\_id** | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **NO** @@ -38,13 +38,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->getHistory(['peer' => InputPeer, 'offset_id' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); +$messages.Messages = $MadelineProto->messages->getHistory(['peer' => InputPeer, 'offset_id' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.getHistory({peer=InputPeer, offset_id=int, add_offset=int, limit=int, max_id=int, min_id=int, }) +messages.Messages = messages.getHistory({peer=InputPeer, offset_id=int, add_offset=int, limit=int, max_id=int, min_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v44/methods/messages.getMessages.md b/old_docs/API_docs_v44/methods/messages.getMessages.md index a3139513..c7760d7e 100644 --- a/old_docs/API_docs_v44/methods/messages.getMessages.md +++ b/old_docs/API_docs_v44/methods/messages.getMessages.md @@ -16,7 +16,7 @@ Returns the list of messages by their IDs. |id|Array of [int](../types/int.md) | The IDs of messages to fetch (only for users and normal groups) | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **YES** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->getMessages(['id' => [int, int], ]); +$messages.Messages = $MadelineProto->messages->getMessages(['id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.getMessages({id={int}, }) +messages.Messages = messages.getMessages({id={int}, }) ``` diff --git a/old_docs/API_docs_v44/methods/messages.getStickerSet.md b/old_docs/API_docs_v44/methods/messages.getStickerSet.md index 45fca60f..f11887ee 100644 --- a/old_docs/API_docs_v44/methods/messages.getStickerSet.md +++ b/old_docs/API_docs_v44/methods/messages.getStickerSet.md @@ -16,7 +16,7 @@ Get info about a stickerset |stickerset|[InputStickerSet](../types/InputStickerSet.md) | Stickerset | Optional| -### Return type: [messages\_StickerSet](../types/messages_StickerSet.md) +### Return type: [messages.StickerSet](../types/messages.StickerSet.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StickerSet = $MadelineProto->messages->getStickerSet(['stickerset' => InputStickerSet, ]); +$messages.StickerSet = $MadelineProto->messages->getStickerSet(['stickerset' => InputStickerSet, ]); ``` Or, if you're into Lua: ```lua -messages_StickerSet = messages.getStickerSet({stickerset=InputStickerSet, }) +messages.StickerSet = messages.getStickerSet({stickerset=InputStickerSet, }) ``` ### Errors diff --git a/old_docs/API_docs_v44/methods/messages.getStickers.md b/old_docs/API_docs_v44/methods/messages.getStickers.md index aa149fc3..6fab91a5 100644 --- a/old_docs/API_docs_v44/methods/messages.getStickers.md +++ b/old_docs/API_docs_v44/methods/messages.getStickers.md @@ -17,7 +17,7 @@ Get stickers by emoji |hash|[string](../types/string.md) | Previously fetched sticker IDs | Yes| -### Return type: [messages\_Stickers](../types/messages_Stickers.md) +### Return type: [messages.Stickers](../types/messages.Stickers.md) ### Can bots use this method: **NO** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Stickers = $MadelineProto->messages->getStickers(['emoticon' => 'string', 'hash' => 'string', ]); +$messages.Stickers = $MadelineProto->messages->getStickers(['emoticon' => 'string', 'hash' => 'string', ]); ``` Or, if you're into Lua: ```lua -messages_Stickers = messages.getStickers({emoticon='string', hash='string', }) +messages.Stickers = messages.getStickers({emoticon='string', hash='string', }) ``` diff --git a/old_docs/API_docs_v44/methods/messages.readHistory.md b/old_docs/API_docs_v44/methods/messages.readHistory.md index 39753375..52030c68 100644 --- a/old_docs/API_docs_v44/methods/messages.readHistory.md +++ b/old_docs/API_docs_v44/methods/messages.readHistory.md @@ -17,7 +17,7 @@ Marks message history as read. |max\_id|[int](../types/int.md) | If a positive value is passed, only messages with identifiers less or equal than the given one will be read | Yes| -### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) +### Return type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedMessages = $MadelineProto->messages->readHistory(['peer' => InputPeer, 'max_id' => int, ]); +$messages.AffectedMessages = $MadelineProto->messages->readHistory(['peer' => InputPeer, 'max_id' => int, ]); ``` Or, if you're into Lua: ```lua -messages_AffectedMessages = messages.readHistory({peer=InputPeer, max_id=int, }) +messages.AffectedMessages = messages.readHistory({peer=InputPeer, max_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v44/methods/messages.readMessageContents.md b/old_docs/API_docs_v44/methods/messages.readMessageContents.md index c479cafe..9798e661 100644 --- a/old_docs/API_docs_v44/methods/messages.readMessageContents.md +++ b/old_docs/API_docs_v44/methods/messages.readMessageContents.md @@ -16,7 +16,7 @@ Notifies the sender about the recipient having listened a voice message or watch |id|Array of [int](../types/int.md) | The messages to mark as read (only users and normal chats, not supergroups) | Yes| -### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) +### Return type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedMessages = $MadelineProto->messages->readMessageContents(['id' => [int, int], ]); +$messages.AffectedMessages = $MadelineProto->messages->readMessageContents(['id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AffectedMessages = messages.readMessageContents({id={int}, }) +messages.AffectedMessages = messages.readMessageContents({id={int}, }) ``` diff --git a/old_docs/API_docs_v44/methods/messages.search.md b/old_docs/API_docs_v44/methods/messages.search.md index 1210be77..28664a8d 100644 --- a/old_docs/API_docs_v44/methods/messages.search.md +++ b/old_docs/API_docs_v44/methods/messages.search.md @@ -24,7 +24,7 @@ Gets back found messages |limit|[int](../types/int.md) | [Number of results to return](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **NO** @@ -41,13 +41,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->search(['important_only' => Bool, 'peer' => InputPeer, 'q' => 'string', 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); +$messages.Messages = $MadelineProto->messages->search(['important_only' => Bool, 'peer' => InputPeer, 'q' => 'string', 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.search({important_only=Bool, peer=InputPeer, q='string', filter=MessagesFilter, min_date=int, max_date=int, offset=int, max_id=int, limit=int, }) +messages.Messages = messages.search({important_only=Bool, peer=InputPeer, q='string', filter=MessagesFilter, min_date=int, max_date=int, offset=int, max_id=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v44/methods/messages.searchGifs.md b/old_docs/API_docs_v44/methods/messages.searchGifs.md index 851371d7..193a0cd4 100644 --- a/old_docs/API_docs_v44/methods/messages.searchGifs.md +++ b/old_docs/API_docs_v44/methods/messages.searchGifs.md @@ -17,7 +17,7 @@ Search for GIFs |offset|[int](../types/int.md) | Offset for [pagination »](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_FoundGifs](../types/messages_FoundGifs.md) +### Return type: [messages.FoundGifs](../types/messages.FoundGifs.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_FoundGifs = $MadelineProto->messages->searchGifs(['q' => 'string', 'offset' => int, ]); +$messages.FoundGifs = $MadelineProto->messages->searchGifs(['q' => 'string', 'offset' => int, ]); ``` Or, if you're into Lua: ```lua -messages_FoundGifs = messages.searchGifs({q='string', offset=int, }) +messages.FoundGifs = messages.searchGifs({q='string', offset=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v44/methods/messages.searchGlobal.md b/old_docs/API_docs_v44/methods/messages.searchGlobal.md index 4bd59f25..1a3b736d 100644 --- a/old_docs/API_docs_v44/methods/messages.searchGlobal.md +++ b/old_docs/API_docs_v44/methods/messages.searchGlobal.md @@ -20,7 +20,7 @@ Search for messages and peers globally |limit|[int](../types/int.md) | [Offsets for pagination, for more info click here](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **NO** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->searchGlobal(['q' => 'string', 'offset_date' => int, 'offset_peer' => InputPeer, 'offset_id' => int, 'limit' => int, ]); +$messages.Messages = $MadelineProto->messages->searchGlobal(['q' => 'string', 'offset_date' => int, 'offset_peer' => InputPeer, 'offset_id' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.searchGlobal({q='string', offset_date=int, offset_peer=InputPeer, offset_id=int, limit=int, }) +messages.Messages = messages.searchGlobal({q='string', offset_date=int, offset_peer=InputPeer, offset_id=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v44/methods/messages.sendEncrypted.md b/old_docs/API_docs_v44/methods/messages.sendEncrypted.md index 47b5ef29..6a68b563 100644 --- a/old_docs/API_docs_v44/methods/messages.sendEncrypted.md +++ b/old_docs/API_docs_v44/methods/messages.sendEncrypted.md @@ -14,10 +14,10 @@ Sends a text message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|message|[DecryptedMessage](../types/DecryptedMessage.md) | The message to send | Yes| +|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key that was created during chat initialization | Yes| -### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ### Can bots use this method: **NO** @@ -34,21 +34,15 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncrypted(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); +$messages.SentEncryptedMessage = $MadelineProto->messages->sendEncrypted(['peer' => InputEncryptedChat, 'data' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -messages_SentEncryptedMessage = messages.sendEncrypted({peer=InputEncryptedChat, message=DecryptedMessage, }) +messages.SentEncryptedMessage = messages.sendEncrypted({peer=InputEncryptedChat, data='bytes', }) ``` - -## Return value - -If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) will be returned instead. - - ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v44/methods/messages.sendEncryptedFile.md b/old_docs/API_docs_v44/methods/messages.sendEncryptedFile.md index 4e0f7b7f..87185ba4 100644 --- a/old_docs/API_docs_v44/methods/messages.sendEncryptedFile.md +++ b/old_docs/API_docs_v44/methods/messages.sendEncryptedFile.md @@ -14,11 +14,11 @@ Sends a message with a file attachment to a secret chat | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|message|[DecryptedMessage](../types/DecryptedMessage.md) | The message with the file | Yes| +|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| |file|[File path or InputEncryptedFile](../types/InputEncryptedFile.md) | File attachment for the secret chat | Optional| -### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ### Can bots use this method: **NO** @@ -35,21 +35,15 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedFile(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, 'file' => InputEncryptedFile, ]); +$messages.SentEncryptedMessage = $MadelineProto->messages->sendEncryptedFile(['peer' => InputEncryptedChat, 'data' => 'bytes', 'file' => InputEncryptedFile, ]); ``` Or, if you're into Lua: ```lua -messages_SentEncryptedMessage = messages.sendEncryptedFile({peer=InputEncryptedChat, message=DecryptedMessage, file=InputEncryptedFile, }) +messages.SentEncryptedMessage = messages.sendEncryptedFile({peer=InputEncryptedChat, data='bytes', file=InputEncryptedFile, }) ``` - -## Return value - -If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) will be returned instead. - - ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v44/methods/messages.sendEncryptedService.md b/old_docs/API_docs_v44/methods/messages.sendEncryptedService.md index 86925ae3..38171272 100644 --- a/old_docs/API_docs_v44/methods/messages.sendEncryptedService.md +++ b/old_docs/API_docs_v44/methods/messages.sendEncryptedService.md @@ -14,10 +14,10 @@ Sends a service message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|message|[DecryptedMessage](../types/DecryptedMessage.md) | The service message | Yes| +|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| -### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ### Can bots use this method: **NO** @@ -34,21 +34,15 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedService(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); +$messages.SentEncryptedMessage = $MadelineProto->messages->sendEncryptedService(['peer' => InputEncryptedChat, 'data' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -messages_SentEncryptedMessage = messages.sendEncryptedService({peer=InputEncryptedChat, message=DecryptedMessage, }) +messages.SentEncryptedMessage = messages.sendEncryptedService({peer=InputEncryptedChat, data='bytes', }) ``` - -## Return value - -If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) will be returned instead. - - ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v44/methods/photos.getUserPhotos.md b/old_docs/API_docs_v44/methods/photos.getUserPhotos.md index a1dec2ed..1f8d5c64 100644 --- a/old_docs/API_docs_v44/methods/photos.getUserPhotos.md +++ b/old_docs/API_docs_v44/methods/photos.getUserPhotos.md @@ -19,7 +19,7 @@ Returns the list of user photos. |limit|[int](../types/int.md) | Number of list elements to be returned | Yes| -### Return type: [photos\_Photos](../types/photos_Photos.md) +### Return type: [photos.Photos](../types/photos.Photos.md) ### Can bots use this method: **YES** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$photos_Photos = $MadelineProto->photos->getUserPhotos(['user_id' => InputUser, 'offset' => int, 'max_id' => long, 'limit' => int, ]); +$photos.Photos = $MadelineProto->photos->getUserPhotos(['user_id' => InputUser, 'offset' => int, 'max_id' => long, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -photos_Photos = photos.getUserPhotos({user_id=InputUser, offset=int, max_id=long, limit=int, }) +photos.Photos = photos.getUserPhotos({user_id=InputUser, offset=int, max_id=long, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v44/methods/photos.uploadProfilePhoto.md b/old_docs/API_docs_v44/methods/photos.uploadProfilePhoto.md index 337dcc21..18b2b4c6 100644 --- a/old_docs/API_docs_v44/methods/photos.uploadProfilePhoto.md +++ b/old_docs/API_docs_v44/methods/photos.uploadProfilePhoto.md @@ -19,7 +19,7 @@ Updates current user profile photo. |crop|[InputPhotoCrop](../types/InputPhotoCrop.md) | Cropping info | Yes| -### Return type: [photos\_Photo](../types/photos_Photo.md) +### Return type: [photos.Photo](../types/photos.Photo.md) ### Can bots use this method: **NO** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$photos_Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, 'caption' => 'string', 'geo_point' => InputGeoPoint, 'crop' => InputPhotoCrop, ]); +$photos.Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, 'caption' => 'string', 'geo_point' => InputGeoPoint, 'crop' => InputPhotoCrop, ]); ``` Or, if you're into Lua: ```lua -photos_Photo = photos.uploadProfilePhoto({file=InputFile, caption='string', geo_point=InputGeoPoint, crop=InputPhotoCrop, }) +photos.Photo = photos.uploadProfilePhoto({file=InputFile, caption='string', geo_point=InputGeoPoint, crop=InputPhotoCrop, }) ``` ### Errors diff --git a/old_docs/API_docs_v44/methods/updates.getChannelDifference.md b/old_docs/API_docs_v44/methods/updates.getChannelDifference.md index 77a45636..79adf4b1 100644 --- a/old_docs/API_docs_v44/methods/updates.getChannelDifference.md +++ b/old_docs/API_docs_v44/methods/updates.getChannelDifference.md @@ -19,7 +19,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz for more |limit|[int](../types/int.md) | You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates | Yes| -### Return type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) +### Return type: [updates.ChannelDifference](../types/updates.ChannelDifference.md) ### Can bots use this method: **YES** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$updates_ChannelDifference = $MadelineProto->updates->getChannelDifference(['channel' => InputChannel, 'filter' => ChannelMessagesFilter, 'pts' => int, 'limit' => int, ]); +$updates.ChannelDifference = $MadelineProto->updates->getChannelDifference(['channel' => InputChannel, 'filter' => ChannelMessagesFilter, 'pts' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -updates_ChannelDifference = updates.getChannelDifference({channel=InputChannel, filter=ChannelMessagesFilter, pts=int, limit=int, }) +updates.ChannelDifference = updates.getChannelDifference({channel=InputChannel, filter=ChannelMessagesFilter, pts=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v44/methods/updates.getDifference.md b/old_docs/API_docs_v44/methods/updates.getDifference.md index 57ea6d99..061a5c8f 100644 --- a/old_docs/API_docs_v44/methods/updates.getDifference.md +++ b/old_docs/API_docs_v44/methods/updates.getDifference.md @@ -18,7 +18,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz for more |qts|[int](../types/int.md) | You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates | Yes| -### Return type: [updates\_Difference](../types/updates_Difference.md) +### Return type: [updates.Difference](../types/updates.Difference.md) ### Can bots use this method: **YES** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$updates_Difference = $MadelineProto->updates->getDifference(['pts' => int, 'date' => int, 'qts' => int, ]); +$updates.Difference = $MadelineProto->updates->getDifference(['pts' => int, 'date' => int, 'qts' => int, ]); ``` Or, if you're into Lua: ```lua -updates_Difference = updates.getDifference({pts=int, date=int, qts=int, }) +updates.Difference = updates.getDifference({pts=int, date=int, qts=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v44/methods/updates.getState.md b/old_docs/API_docs_v44/methods/updates.getState.md index c591408a..9a7d2f34 100644 --- a/old_docs/API_docs_v44/methods/updates.getState.md +++ b/old_docs/API_docs_v44/methods/updates.getState.md @@ -11,7 +11,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz for more -### Return type: [updates\_State](../types/updates_State.md) +### Return type: [updates.State](../types/updates.State.md) ### Can bots use this method: **YES** @@ -28,13 +28,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$updates_State = $MadelineProto->updates->getState(); +$updates.State = $MadelineProto->updates->getState(); ``` Or, if you're into Lua: ```lua -updates_State = updates.getState({}) +updates.State = updates.getState({}) ``` ### Errors diff --git a/old_docs/API_docs_v44/methods/upload.getFile.md b/old_docs/API_docs_v44/methods/upload.getFile.md index 8aba03d4..ab9f4fe2 100644 --- a/old_docs/API_docs_v44/methods/upload.getFile.md +++ b/old_docs/API_docs_v44/methods/upload.getFile.md @@ -18,7 +18,7 @@ You cannot use this method directly, use the upload, downloadToStream, downloadT |limit|[int](../types/int.md) | You cannot use this method directly, use the upload, downloadToStream, downloadToFile, downloadToDir methods instead; see https://docs.madelineproto.xyz for more info | Yes| -### Return type: [upload\_File](../types/upload_File.md) +### Return type: [upload.File](../types/upload.File.md) ### Can bots use this method: **YES** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$upload_File = $MadelineProto->upload->getFile(['location' => InputFileLocation, 'offset' => int, 'limit' => int, ]); +$upload.File = $MadelineProto->upload->getFile(['location' => InputFileLocation, 'offset' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -upload_File = upload.getFile({location=InputFileLocation, offset=int, limit=int, }) +upload.File = upload.getFile({location=InputFileLocation, offset=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v44/types/AccountDaysTTL.md b/old_docs/API_docs_v44/types/AccountDaysTTL.md index 12a10190..f3494aac 100644 --- a/old_docs/API_docs_v44/types/AccountDaysTTL.md +++ b/old_docs/API_docs_v44/types/AccountDaysTTL.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->account->getAccountTTL](../methods/account_getAccountTTL.md) +[$MadelineProto->account->getAccountTTL](../methods/account.getAccountTTL.md) diff --git a/old_docs/API_docs_v44/types/ChatInvite.md b/old_docs/API_docs_v44/types/ChatInvite.md index 5022a2f0..9fafabb4 100644 --- a/old_docs/API_docs_v44/types/ChatInvite.md +++ b/old_docs/API_docs_v44/types/ChatInvite.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->checkChatInvite](../methods/messages_checkChatInvite.md) +[$MadelineProto->messages->checkChatInvite](../methods/messages.checkChatInvite.md) diff --git a/old_docs/API_docs_v44/types/Config.md b/old_docs/API_docs_v44/types/Config.md index 0f7fbe70..3a23b7b7 100644 --- a/old_docs/API_docs_v44/types/Config.md +++ b/old_docs/API_docs_v44/types/Config.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->help->getConfig](../methods/help_getConfig.md) +[$MadelineProto->help->getConfig](../methods/help.getConfig.md) diff --git a/old_docs/API_docs_v44/types/ContactStatus.md b/old_docs/API_docs_v44/types/ContactStatus.md index c5f5d658..30aee6e2 100644 --- a/old_docs/API_docs_v44/types/ContactStatus.md +++ b/old_docs/API_docs_v44/types/ContactStatus.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->contacts->getStatuses](../methods/contacts_getStatuses.md) +[$MadelineProto->contacts->getStatuses](../methods/contacts.getStatuses.md) diff --git a/old_docs/API_docs_v44/types/Document.md b/old_docs/API_docs_v44/types/Document.md index f68b7aa4..2cb85623 100644 --- a/old_docs/API_docs_v44/types/Document.md +++ b/old_docs/API_docs_v44/types/Document.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getDocumentByHash](../methods/messages_getDocumentByHash.md) +[$MadelineProto->messages->getDocumentByHash](../methods/messages.getDocumentByHash.md) diff --git a/old_docs/API_docs_v44/types/EncryptedChat.md b/old_docs/API_docs_v44/types/EncryptedChat.md index fd2277f6..19cf52b0 100644 --- a/old_docs/API_docs_v44/types/EncryptedChat.md +++ b/old_docs/API_docs_v44/types/EncryptedChat.md @@ -24,9 +24,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->requestEncryption](../methods/messages_requestEncryption.md) +[$MadelineProto->messages->requestEncryption](../methods/messages.requestEncryption.md) -[$MadelineProto->messages->acceptEncryption](../methods/messages_acceptEncryption.md) +[$MadelineProto->messages->acceptEncryption](../methods/messages.acceptEncryption.md) diff --git a/old_docs/API_docs_v44/types/ExportedChatInvite.md b/old_docs/API_docs_v44/types/ExportedChatInvite.md index 4213a78f..53ce5f59 100644 --- a/old_docs/API_docs_v44/types/ExportedChatInvite.md +++ b/old_docs/API_docs_v44/types/ExportedChatInvite.md @@ -18,9 +18,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->exportChatInvite](../methods/messages_exportChatInvite.md) +[$MadelineProto->messages->exportChatInvite](../methods/messages.exportChatInvite.md) -[$MadelineProto->channels->exportInvite](../methods/channels_exportInvite.md) +[$MadelineProto->channels->exportInvite](../methods/channels.exportInvite.md) diff --git a/old_docs/API_docs_v44/types/MessageMedia.md b/old_docs/API_docs_v44/types/MessageMedia.md index 51c2f3c9..9c8475d7 100644 --- a/old_docs/API_docs_v44/types/MessageMedia.md +++ b/old_docs/API_docs_v44/types/MessageMedia.md @@ -34,7 +34,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getWebPagePreview](../methods/messages_getWebPagePreview.md) +[$MadelineProto->messages->getWebPagePreview](../methods/messages.getWebPagePreview.md) diff --git a/old_docs/API_docs_v44/types/NearestDc.md b/old_docs/API_docs_v44/types/NearestDc.md index 31f24377..296a4dff 100644 --- a/old_docs/API_docs_v44/types/NearestDc.md +++ b/old_docs/API_docs_v44/types/NearestDc.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->help->getNearestDc](../methods/help_getNearestDc.md) +[$MadelineProto->help->getNearestDc](../methods/help.getNearestDc.md) diff --git a/old_docs/API_docs_v44/types/PeerNotifySettings.md b/old_docs/API_docs_v44/types/PeerNotifySettings.md index 769de075..3d72b7c5 100644 --- a/old_docs/API_docs_v44/types/PeerNotifySettings.md +++ b/old_docs/API_docs_v44/types/PeerNotifySettings.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->account->getNotifySettings](../methods/account_getNotifySettings.md) +[$MadelineProto->account->getNotifySettings](../methods/account.getNotifySettings.md) diff --git a/old_docs/API_docs_v44/types/README.md b/old_docs/API_docs_v44/types/README.md index 5a12be36..0bde238e 100644 --- a/old_docs/API_docs_v44/types/README.md +++ b/old_docs/API_docs_v44/types/README.md @@ -199,95 +199,95 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png [X](X.md) -[account\_Authorizations](account_Authorizations.md) +[account.Authorizations](account.Authorizations.md) -[account\_Password](account_Password.md) +[account.Password](account.Password.md) -[account\_PasswordInputSettings](account_PasswordInputSettings.md) +[account.PasswordInputSettings](account.PasswordInputSettings.md) -[account\_PasswordSettings](account_PasswordSettings.md) +[account.PasswordSettings](account.PasswordSettings.md) -[account\_PrivacyRules](account_PrivacyRules.md) +[account.PrivacyRules](account.PrivacyRules.md) -[account\_SentChangePhoneCode](account_SentChangePhoneCode.md) +[account.SentChangePhoneCode](account.SentChangePhoneCode.md) -[auth\_Authorization](auth_Authorization.md) +[auth.Authorization](auth.Authorization.md) -[auth\_CheckedPhone](auth_CheckedPhone.md) +[auth.CheckedPhone](auth.CheckedPhone.md) -[auth\_ExportedAuthorization](auth_ExportedAuthorization.md) +[auth.ExportedAuthorization](auth.ExportedAuthorization.md) -[auth\_PasswordRecovery](auth_PasswordRecovery.md) +[auth.PasswordRecovery](auth.PasswordRecovery.md) -[auth\_SentCode](auth_SentCode.md) +[auth.SentCode](auth.SentCode.md) -[channels\_ChannelParticipant](channels_ChannelParticipant.md) +[channels.ChannelParticipant](channels.ChannelParticipant.md) -[channels\_ChannelParticipants](channels_ChannelParticipants.md) +[channels.ChannelParticipants](channels.ChannelParticipants.md) -[contacts\_Blocked](contacts_Blocked.md) +[contacts.Blocked](contacts.Blocked.md) -[contacts\_Contacts](contacts_Contacts.md) +[contacts.Contacts](contacts.Contacts.md) -[contacts\_Found](contacts_Found.md) +[contacts.Found](contacts.Found.md) -[contacts\_ImportedContacts](contacts_ImportedContacts.md) +[contacts.ImportedContacts](contacts.ImportedContacts.md) -[contacts\_Link](contacts_Link.md) +[contacts.Link](contacts.Link.md) -[contacts\_ResolvedPeer](contacts_ResolvedPeer.md) +[contacts.ResolvedPeer](contacts.ResolvedPeer.md) -[contacts\_Suggested](contacts_Suggested.md) +[contacts.Suggested](contacts.Suggested.md) -[help\_AppChangelog](help_AppChangelog.md) +[help.AppChangelog](help.AppChangelog.md) -[help\_AppUpdate](help_AppUpdate.md) +[help.AppUpdate](help.AppUpdate.md) -[help\_InviteText](help_InviteText.md) +[help.InviteText](help.InviteText.md) -[help\_Support](help_Support.md) +[help.Support](help.Support.md) -[help\_TermsOfService](help_TermsOfService.md) +[help.TermsOfService](help.TermsOfService.md) [int](int.md) [long](long.md) -[messages\_AffectedHistory](messages_AffectedHistory.md) +[messages.AffectedHistory](messages.AffectedHistory.md) -[messages\_AffectedMessages](messages_AffectedMessages.md) +[messages.AffectedMessages](messages.AffectedMessages.md) -[messages\_AllStickers](messages_AllStickers.md) +[messages.AllStickers](messages.AllStickers.md) -[messages\_ChatFull](messages_ChatFull.md) +[messages.ChatFull](messages.ChatFull.md) -[messages\_Chats](messages_Chats.md) +[messages.Chats](messages.Chats.md) -[messages\_DhConfig](messages_DhConfig.md) +[messages.DhConfig](messages.DhConfig.md) -[messages\_Dialogs](messages_Dialogs.md) +[messages.Dialogs](messages.Dialogs.md) -[messages\_FoundGifs](messages_FoundGifs.md) +[messages.FoundGifs](messages.FoundGifs.md) -[messages\_Messages](messages_Messages.md) +[messages.Messages](messages.Messages.md) -[messages\_SentEncryptedMessage](messages_SentEncryptedMessage.md) +[messages.SentEncryptedMessage](messages.SentEncryptedMessage.md) -[messages\_StickerSet](messages_StickerSet.md) +[messages.StickerSet](messages.StickerSet.md) -[messages\_Stickers](messages_Stickers.md) +[messages.Stickers](messages.Stickers.md) -[photos\_Photo](photos_Photo.md) +[photos.Photo](photos.Photo.md) -[photos\_Photos](photos_Photos.md) +[photos.Photos](photos.Photos.md) -[storage\_FileType](storage_FileType.md) +[storage.FileType](storage.FileType.md) -[updates\_ChannelDifference](updates_ChannelDifference.md) +[updates.ChannelDifference](updates.ChannelDifference.md) -[updates\_Difference](updates_Difference.md) +[updates.Difference](updates.Difference.md) -[updates\_State](updates_State.md) +[updates.State](updates.State.md) -[upload\_File](upload_File.md) +[upload.File](upload.File.md) diff --git a/old_docs/API_docs_v44/types/ReceivedNotifyMessage.md b/old_docs/API_docs_v44/types/ReceivedNotifyMessage.md index c7fc3b8c..416aa275 100644 --- a/old_docs/API_docs_v44/types/ReceivedNotifyMessage.md +++ b/old_docs/API_docs_v44/types/ReceivedNotifyMessage.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->receivedMessages](../methods/messages_receivedMessages.md) +[$MadelineProto->messages->receivedMessages](../methods/messages.receivedMessages.md) diff --git a/old_docs/API_docs_v44/types/Updates.md b/old_docs/API_docs_v44/types/Updates.md index b3427003..edac3968 100644 --- a/old_docs/API_docs_v44/types/Updates.md +++ b/old_docs/API_docs_v44/types/Updates.md @@ -28,53 +28,53 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->sendMessage](../methods/messages_sendMessage.md) +[$MadelineProto->messages->sendMessage](../methods/messages.sendMessage.md) -[$MadelineProto->messages->sendMedia](../methods/messages_sendMedia.md) +[$MadelineProto->messages->sendMedia](../methods/messages.sendMedia.md) -[$MadelineProto->messages->forwardMessages](../methods/messages_forwardMessages.md) +[$MadelineProto->messages->forwardMessages](../methods/messages.forwardMessages.md) -[$MadelineProto->messages->editChatTitle](../methods/messages_editChatTitle.md) +[$MadelineProto->messages->editChatTitle](../methods/messages.editChatTitle.md) -[$MadelineProto->messages->editChatPhoto](../methods/messages_editChatPhoto.md) +[$MadelineProto->messages->editChatPhoto](../methods/messages.editChatPhoto.md) -[$MadelineProto->messages->addChatUser](../methods/messages_addChatUser.md) +[$MadelineProto->messages->addChatUser](../methods/messages.addChatUser.md) -[$MadelineProto->messages->deleteChatUser](../methods/messages_deleteChatUser.md) +[$MadelineProto->messages->deleteChatUser](../methods/messages.deleteChatUser.md) -[$MadelineProto->messages->createChat](../methods/messages_createChat.md) +[$MadelineProto->messages->createChat](../methods/messages.createChat.md) -[$MadelineProto->messages->forwardMessage](../methods/messages_forwardMessage.md) +[$MadelineProto->messages->forwardMessage](../methods/messages.forwardMessage.md) -[$MadelineProto->messages->sendBroadcast](../methods/messages_sendBroadcast.md) +[$MadelineProto->messages->sendBroadcast](../methods/messages.sendBroadcast.md) -[$MadelineProto->messages->importChatInvite](../methods/messages_importChatInvite.md) +[$MadelineProto->messages->importChatInvite](../methods/messages.importChatInvite.md) -[$MadelineProto->messages->startBot](../methods/messages_startBot.md) +[$MadelineProto->messages->startBot](../methods/messages.startBot.md) -[$MadelineProto->channels->createChannel](../methods/channels_createChannel.md) +[$MadelineProto->channels->createChannel](../methods/channels.createChannel.md) -[$MadelineProto->channels->editAdmin](../methods/channels_editAdmin.md) +[$MadelineProto->channels->editAdmin](../methods/channels.editAdmin.md) -[$MadelineProto->channels->editTitle](../methods/channels_editTitle.md) +[$MadelineProto->channels->editTitle](../methods/channels.editTitle.md) -[$MadelineProto->channels->editPhoto](../methods/channels_editPhoto.md) +[$MadelineProto->channels->editPhoto](../methods/channels.editPhoto.md) -[$MadelineProto->channels->toggleComments](../methods/channels_toggleComments.md) +[$MadelineProto->channels->toggleComments](../methods/channels.toggleComments.md) -[$MadelineProto->channels->joinChannel](../methods/channels_joinChannel.md) +[$MadelineProto->channels->joinChannel](../methods/channels.joinChannel.md) -[$MadelineProto->channels->leaveChannel](../methods/channels_leaveChannel.md) +[$MadelineProto->channels->leaveChannel](../methods/channels.leaveChannel.md) -[$MadelineProto->channels->inviteToChannel](../methods/channels_inviteToChannel.md) +[$MadelineProto->channels->inviteToChannel](../methods/channels.inviteToChannel.md) -[$MadelineProto->channels->kickFromChannel](../methods/channels_kickFromChannel.md) +[$MadelineProto->channels->kickFromChannel](../methods/channels.kickFromChannel.md) -[$MadelineProto->channels->deleteChannel](../methods/channels_deleteChannel.md) +[$MadelineProto->channels->deleteChannel](../methods/channels.deleteChannel.md) -[$MadelineProto->messages->toggleChatAdmins](../methods/messages_toggleChatAdmins.md) +[$MadelineProto->messages->toggleChatAdmins](../methods/messages.toggleChatAdmins.md) -[$MadelineProto->messages->migrateChat](../methods/messages_migrateChat.md) +[$MadelineProto->messages->migrateChat](../methods/messages.migrateChat.md) diff --git a/old_docs/API_docs_v44/types/User.md b/old_docs/API_docs_v44/types/User.md index b145a3f8..30349c87 100644 --- a/old_docs/API_docs_v44/types/User.md +++ b/old_docs/API_docs_v44/types/User.md @@ -42,15 +42,15 @@ A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDia ### Methods that return an object of this type (methods): -[$MadelineProto->account->updateProfile](../methods/account_updateProfile.md) +[$MadelineProto->account->updateProfile](../methods/account.updateProfile.md) -[$MadelineProto->users->getUsers](../methods/users_getUsers.md) +[$MadelineProto->users->getUsers](../methods/users.getUsers.md) -[$MadelineProto->contacts->importCard](../methods/contacts_importCard.md) +[$MadelineProto->contacts->importCard](../methods/contacts.importCard.md) -[$MadelineProto->account->updateUsername](../methods/account_updateUsername.md) +[$MadelineProto->account->updateUsername](../methods/account.updateUsername.md) -[$MadelineProto->account->changePhone](../methods/account_changePhone.md) +[$MadelineProto->account->changePhone](../methods/account.changePhone.md) diff --git a/old_docs/API_docs_v44/types/UserFull.md b/old_docs/API_docs_v44/types/UserFull.md index 79ad30bb..ac50052f 100644 --- a/old_docs/API_docs_v44/types/UserFull.md +++ b/old_docs/API_docs_v44/types/UserFull.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->users->getFullUser](../methods/users_getFullUser.md) +[$MadelineProto->users->getFullUser](../methods/users.getFullUser.md) diff --git a/old_docs/API_docs_v44/types/UserProfilePhoto.md b/old_docs/API_docs_v44/types/UserProfilePhoto.md index e5243a2e..e81e92fd 100644 --- a/old_docs/API_docs_v44/types/UserProfilePhoto.md +++ b/old_docs/API_docs_v44/types/UserProfilePhoto.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->photos->updateProfilePhoto](../methods/photos_updateProfilePhoto.md) +[$MadelineProto->photos->updateProfilePhoto](../methods/photos.updateProfilePhoto.md) diff --git a/old_docs/API_docs_v44/types/WallPaper.md b/old_docs/API_docs_v44/types/WallPaper.md index 8c5ac7cf..45337565 100644 --- a/old_docs/API_docs_v44/types/WallPaper.md +++ b/old_docs/API_docs_v44/types/WallPaper.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->account->getWallPapers](../methods/account_getWallPapers.md) +[$MadelineProto->account->getWallPapers](../methods/account.getWallPapers.md) diff --git a/old_docs/API_docs_v44/types/account.Authorizations.md b/old_docs/API_docs_v44/types/account.Authorizations.md new file mode 100644 index 00000000..f9112038 --- /dev/null +++ b/old_docs/API_docs_v44/types/account.Authorizations.md @@ -0,0 +1,22 @@ +--- +title: account.Authorizations +description: constructors and methods of type account.Authorizations +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.Authorizations +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.authorizations](../constructors/account.authorizations.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getAuthorizations](../methods/account.getAuthorizations.md) + + + diff --git a/old_docs/API_docs_v44/types/account.Password.md b/old_docs/API_docs_v44/types/account.Password.md new file mode 100644 index 00000000..5217ab5e --- /dev/null +++ b/old_docs/API_docs_v44/types/account.Password.md @@ -0,0 +1,24 @@ +--- +title: account.Password +description: constructors and methods of type account.Password +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.Password +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.noPassword](../constructors/account.noPassword.md) + +[account.password](../constructors/account.password.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getPassword](../methods/account.getPassword.md) + + + diff --git a/old_docs/API_docs_v44/types/account.PasswordInputSettings.md b/old_docs/API_docs_v44/types/account.PasswordInputSettings.md new file mode 100644 index 00000000..72e11fdc --- /dev/null +++ b/old_docs/API_docs_v44/types/account.PasswordInputSettings.md @@ -0,0 +1,20 @@ +--- +title: account.PasswordInputSettings +description: constructors and methods of type account.PasswordInputSettings +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.PasswordInputSettings +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.passwordInputSettings](../constructors/account.passwordInputSettings.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v44/types/account.PasswordSettings.md b/old_docs/API_docs_v44/types/account.PasswordSettings.md new file mode 100644 index 00000000..47016832 --- /dev/null +++ b/old_docs/API_docs_v44/types/account.PasswordSettings.md @@ -0,0 +1,22 @@ +--- +title: account.PasswordSettings +description: constructors and methods of type account.PasswordSettings +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.PasswordSettings +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.passwordSettings](../constructors/account.passwordSettings.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getPasswordSettings](../methods/account.getPasswordSettings.md) + + + diff --git a/old_docs/API_docs_v44/types/account.PrivacyRules.md b/old_docs/API_docs_v44/types/account.PrivacyRules.md new file mode 100644 index 00000000..738651ad --- /dev/null +++ b/old_docs/API_docs_v44/types/account.PrivacyRules.md @@ -0,0 +1,24 @@ +--- +title: account.PrivacyRules +description: constructors and methods of type account.PrivacyRules +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.PrivacyRules +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.privacyRules](../constructors/account.privacyRules.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getPrivacy](../methods/account.getPrivacy.md) + +[$MadelineProto->account->setPrivacy](../methods/account.setPrivacy.md) + + + diff --git a/old_docs/API_docs_v44/types/account.SentChangePhoneCode.md b/old_docs/API_docs_v44/types/account.SentChangePhoneCode.md new file mode 100644 index 00000000..659b0feb --- /dev/null +++ b/old_docs/API_docs_v44/types/account.SentChangePhoneCode.md @@ -0,0 +1,22 @@ +--- +title: account.SentChangePhoneCode +description: constructors and methods of type account.SentChangePhoneCode +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.SentChangePhoneCode +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.sentChangePhoneCode](../constructors/account.sentChangePhoneCode.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->sendChangePhoneCode](../methods/account.sendChangePhoneCode.md) + + + diff --git a/old_docs/API_docs_v44/types/account_Authorizations.md b/old_docs/API_docs_v44/types/account_Authorizations.md deleted file mode 100644 index 4709ddb5..00000000 --- a/old_docs/API_docs_v44/types/account_Authorizations.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_Authorizations -description: constructors and methods of type account_Authorizations -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_Authorizations -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_authorizations](../constructors/account_authorizations.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getAuthorizations](../methods/account_getAuthorizations.md) - - - diff --git a/old_docs/API_docs_v44/types/account_Password.md b/old_docs/API_docs_v44/types/account_Password.md deleted file mode 100644 index 23e05987..00000000 --- a/old_docs/API_docs_v44/types/account_Password.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: account_Password -description: constructors and methods of type account_Password -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_Password -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_noPassword](../constructors/account_noPassword.md) - -[account\_password](../constructors/account_password.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getPassword](../methods/account_getPassword.md) - - - diff --git a/old_docs/API_docs_v44/types/account_PasswordInputSettings.md b/old_docs/API_docs_v44/types/account_PasswordInputSettings.md deleted file mode 100644 index a6455eb8..00000000 --- a/old_docs/API_docs_v44/types/account_PasswordInputSettings.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: account_PasswordInputSettings -description: constructors and methods of type account_PasswordInputSettings -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_PasswordInputSettings -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_passwordInputSettings](../constructors/account_passwordInputSettings.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v44/types/account_PasswordSettings.md b/old_docs/API_docs_v44/types/account_PasswordSettings.md deleted file mode 100644 index 687eb217..00000000 --- a/old_docs/API_docs_v44/types/account_PasswordSettings.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_PasswordSettings -description: constructors and methods of type account_PasswordSettings -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_PasswordSettings -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_passwordSettings](../constructors/account_passwordSettings.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getPasswordSettings](../methods/account_getPasswordSettings.md) - - - diff --git a/old_docs/API_docs_v44/types/account_PrivacyRules.md b/old_docs/API_docs_v44/types/account_PrivacyRules.md deleted file mode 100644 index 40b00077..00000000 --- a/old_docs/API_docs_v44/types/account_PrivacyRules.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: account_PrivacyRules -description: constructors and methods of type account_PrivacyRules -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_PrivacyRules -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_privacyRules](../constructors/account_privacyRules.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getPrivacy](../methods/account_getPrivacy.md) - -[$MadelineProto->account->setPrivacy](../methods/account_setPrivacy.md) - - - diff --git a/old_docs/API_docs_v44/types/account_SentChangePhoneCode.md b/old_docs/API_docs_v44/types/account_SentChangePhoneCode.md deleted file mode 100644 index ead3e28c..00000000 --- a/old_docs/API_docs_v44/types/account_SentChangePhoneCode.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_SentChangePhoneCode -description: constructors and methods of type account_SentChangePhoneCode -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_SentChangePhoneCode -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_sentChangePhoneCode](../constructors/account_sentChangePhoneCode.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->sendChangePhoneCode](../methods/account_sendChangePhoneCode.md) - - - diff --git a/old_docs/API_docs_v44/types/auth.Authorization.md b/old_docs/API_docs_v44/types/auth.Authorization.md new file mode 100644 index 00000000..adcfa7d3 --- /dev/null +++ b/old_docs/API_docs_v44/types/auth.Authorization.md @@ -0,0 +1,32 @@ +--- +title: auth.Authorization +description: constructors and methods of type auth.Authorization +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.Authorization +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.authorization](../constructors/auth.authorization.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->signUp](../methods/auth.signUp.md) + +[$MadelineProto->auth->signIn](../methods/auth.signIn.md) + +[$MadelineProto->auth->importAuthorization](../methods/auth.importAuthorization.md) + +[$MadelineProto->auth->importBotAuthorization](../methods/auth.importBotAuthorization.md) + +[$MadelineProto->auth->checkPassword](../methods/auth.checkPassword.md) + +[$MadelineProto->auth->recoverPassword](../methods/auth.recoverPassword.md) + + + diff --git a/old_docs/API_docs_v44/types/auth.CheckedPhone.md b/old_docs/API_docs_v44/types/auth.CheckedPhone.md new file mode 100644 index 00000000..94af3915 --- /dev/null +++ b/old_docs/API_docs_v44/types/auth.CheckedPhone.md @@ -0,0 +1,22 @@ +--- +title: auth.CheckedPhone +description: constructors and methods of type auth.CheckedPhone +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.CheckedPhone +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.checkedPhone](../constructors/auth.checkedPhone.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->checkPhone](../methods/auth.checkPhone.md) + + + diff --git a/old_docs/API_docs_v44/types/auth.ExportedAuthorization.md b/old_docs/API_docs_v44/types/auth.ExportedAuthorization.md new file mode 100644 index 00000000..ccb38d60 --- /dev/null +++ b/old_docs/API_docs_v44/types/auth.ExportedAuthorization.md @@ -0,0 +1,22 @@ +--- +title: auth.ExportedAuthorization +description: constructors and methods of type auth.ExportedAuthorization +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.ExportedAuthorization +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.exportedAuthorization](../constructors/auth.exportedAuthorization.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->exportAuthorization](../methods/auth.exportAuthorization.md) + + + diff --git a/old_docs/API_docs_v44/types/auth.PasswordRecovery.md b/old_docs/API_docs_v44/types/auth.PasswordRecovery.md new file mode 100644 index 00000000..c1c18992 --- /dev/null +++ b/old_docs/API_docs_v44/types/auth.PasswordRecovery.md @@ -0,0 +1,22 @@ +--- +title: auth.PasswordRecovery +description: constructors and methods of type auth.PasswordRecovery +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.PasswordRecovery +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.passwordRecovery](../constructors/auth.passwordRecovery.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->requestPasswordRecovery](../methods/auth.requestPasswordRecovery.md) + + + diff --git a/old_docs/API_docs_v44/types/auth.SentCode.md b/old_docs/API_docs_v44/types/auth.SentCode.md new file mode 100644 index 00000000..9fd32a73 --- /dev/null +++ b/old_docs/API_docs_v44/types/auth.SentCode.md @@ -0,0 +1,24 @@ +--- +title: auth.SentCode +description: constructors and methods of type auth.SentCode +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.SentCode +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.sentCode](../constructors/auth.sentCode.md) + +[auth.sentAppCode](../constructors/auth.sentAppCode.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->sendCode](../methods/auth.sendCode.md) + + + diff --git a/old_docs/API_docs_v44/types/auth_Authorization.md b/old_docs/API_docs_v44/types/auth_Authorization.md deleted file mode 100644 index 5a34fc2d..00000000 --- a/old_docs/API_docs_v44/types/auth_Authorization.md +++ /dev/null @@ -1,32 +0,0 @@ ---- -title: auth_Authorization -description: constructors and methods of type auth_Authorization -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_Authorization -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_authorization](../constructors/auth_authorization.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->signUp](../methods/auth_signUp.md) - -[$MadelineProto->auth->signIn](../methods/auth_signIn.md) - -[$MadelineProto->auth->importAuthorization](../methods/auth_importAuthorization.md) - -[$MadelineProto->auth->importBotAuthorization](../methods/auth_importBotAuthorization.md) - -[$MadelineProto->auth->checkPassword](../methods/auth_checkPassword.md) - -[$MadelineProto->auth->recoverPassword](../methods/auth_recoverPassword.md) - - - diff --git a/old_docs/API_docs_v44/types/auth_CheckedPhone.md b/old_docs/API_docs_v44/types/auth_CheckedPhone.md deleted file mode 100644 index e9b0def4..00000000 --- a/old_docs/API_docs_v44/types/auth_CheckedPhone.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: auth_CheckedPhone -description: constructors and methods of type auth_CheckedPhone -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_CheckedPhone -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_checkedPhone](../constructors/auth_checkedPhone.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->checkPhone](../methods/auth_checkPhone.md) - - - diff --git a/old_docs/API_docs_v44/types/auth_ExportedAuthorization.md b/old_docs/API_docs_v44/types/auth_ExportedAuthorization.md deleted file mode 100644 index 69e5c42e..00000000 --- a/old_docs/API_docs_v44/types/auth_ExportedAuthorization.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: auth_ExportedAuthorization -description: constructors and methods of type auth_ExportedAuthorization -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_ExportedAuthorization -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_exportedAuthorization](../constructors/auth_exportedAuthorization.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->exportAuthorization](../methods/auth_exportAuthorization.md) - - - diff --git a/old_docs/API_docs_v44/types/auth_PasswordRecovery.md b/old_docs/API_docs_v44/types/auth_PasswordRecovery.md deleted file mode 100644 index 4962bf42..00000000 --- a/old_docs/API_docs_v44/types/auth_PasswordRecovery.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: auth_PasswordRecovery -description: constructors and methods of type auth_PasswordRecovery -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_PasswordRecovery -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_passwordRecovery](../constructors/auth_passwordRecovery.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->requestPasswordRecovery](../methods/auth_requestPasswordRecovery.md) - - - diff --git a/old_docs/API_docs_v44/types/auth_SentCode.md b/old_docs/API_docs_v44/types/auth_SentCode.md deleted file mode 100644 index 85b8d351..00000000 --- a/old_docs/API_docs_v44/types/auth_SentCode.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: auth_SentCode -description: constructors and methods of type auth_SentCode -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_SentCode -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_sentCode](../constructors/auth_sentCode.md) - -[auth\_sentAppCode](../constructors/auth_sentAppCode.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->sendCode](../methods/auth_sendCode.md) - - - diff --git a/old_docs/API_docs_v44/types/channels.ChannelParticipant.md b/old_docs/API_docs_v44/types/channels.ChannelParticipant.md new file mode 100644 index 00000000..8dc7f7e6 --- /dev/null +++ b/old_docs/API_docs_v44/types/channels.ChannelParticipant.md @@ -0,0 +1,22 @@ +--- +title: channels.ChannelParticipant +description: constructors and methods of type channels.ChannelParticipant +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: channels.ChannelParticipant +[Back to types index](index.md) + + + +### Possible values (constructors): + +[channels.channelParticipant](../constructors/channels.channelParticipant.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->channels->getParticipant](../methods/channels.getParticipant.md) + + + diff --git a/old_docs/API_docs_v44/types/channels.ChannelParticipants.md b/old_docs/API_docs_v44/types/channels.ChannelParticipants.md new file mode 100644 index 00000000..996ab6a6 --- /dev/null +++ b/old_docs/API_docs_v44/types/channels.ChannelParticipants.md @@ -0,0 +1,22 @@ +--- +title: channels.ChannelParticipants +description: constructors and methods of type channels.ChannelParticipants +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: channels.ChannelParticipants +[Back to types index](index.md) + + + +### Possible values (constructors): + +[channels.channelParticipants](../constructors/channels.channelParticipants.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->channels->getParticipants](../methods/channels.getParticipants.md) + + + diff --git a/old_docs/API_docs_v44/types/channels_ChannelParticipant.md b/old_docs/API_docs_v44/types/channels_ChannelParticipant.md deleted file mode 100644 index 3d4667c3..00000000 --- a/old_docs/API_docs_v44/types/channels_ChannelParticipant.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: channels_ChannelParticipant -description: constructors and methods of type channels_ChannelParticipant -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: channels\_ChannelParticipant -[Back to types index](index.md) - - - -### Possible values (constructors): - -[channels\_channelParticipant](../constructors/channels_channelParticipant.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->channels->getParticipant](../methods/channels_getParticipant.md) - - - diff --git a/old_docs/API_docs_v44/types/channels_ChannelParticipants.md b/old_docs/API_docs_v44/types/channels_ChannelParticipants.md deleted file mode 100644 index 0500c2cb..00000000 --- a/old_docs/API_docs_v44/types/channels_ChannelParticipants.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: channels_ChannelParticipants -description: constructors and methods of type channels_ChannelParticipants -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: channels\_ChannelParticipants -[Back to types index](index.md) - - - -### Possible values (constructors): - -[channels\_channelParticipants](../constructors/channels_channelParticipants.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->channels->getParticipants](../methods/channels_getParticipants.md) - - - diff --git a/old_docs/API_docs_v44/types/contacts.Blocked.md b/old_docs/API_docs_v44/types/contacts.Blocked.md new file mode 100644 index 00000000..cb2af80f --- /dev/null +++ b/old_docs/API_docs_v44/types/contacts.Blocked.md @@ -0,0 +1,24 @@ +--- +title: contacts.Blocked +description: constructors and methods of type contacts.Blocked +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Blocked +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.blocked](../constructors/contacts.blocked.md) + +[contacts.blockedSlice](../constructors/contacts.blockedSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getBlocked](../methods/contacts.getBlocked.md) + + + diff --git a/old_docs/API_docs_v44/types/contacts.Contacts.md b/old_docs/API_docs_v44/types/contacts.Contacts.md new file mode 100644 index 00000000..5f695d8e --- /dev/null +++ b/old_docs/API_docs_v44/types/contacts.Contacts.md @@ -0,0 +1,24 @@ +--- +title: contacts.Contacts +description: constructors and methods of type contacts.Contacts +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Contacts +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.contactsNotModified](../constructors/contacts.contactsNotModified.md) + +[contacts.contacts](../constructors/contacts.contacts.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getContacts](../methods/contacts.getContacts.md) + + + diff --git a/old_docs/API_docs_v44/types/contacts.Found.md b/old_docs/API_docs_v44/types/contacts.Found.md new file mode 100644 index 00000000..7df98927 --- /dev/null +++ b/old_docs/API_docs_v44/types/contacts.Found.md @@ -0,0 +1,22 @@ +--- +title: contacts.Found +description: constructors and methods of type contacts.Found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Found +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.found](../constructors/contacts.found.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->search](../methods/contacts.search.md) + + + diff --git a/old_docs/API_docs_v44/types/contacts.ImportedContacts.md b/old_docs/API_docs_v44/types/contacts.ImportedContacts.md new file mode 100644 index 00000000..16795bab --- /dev/null +++ b/old_docs/API_docs_v44/types/contacts.ImportedContacts.md @@ -0,0 +1,22 @@ +--- +title: contacts.ImportedContacts +description: constructors and methods of type contacts.ImportedContacts +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.ImportedContacts +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.importedContacts](../constructors/contacts.importedContacts.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->importContacts](../methods/contacts.importContacts.md) + + + diff --git a/old_docs/API_docs_v44/types/contacts.Link.md b/old_docs/API_docs_v44/types/contacts.Link.md new file mode 100644 index 00000000..eb9da683 --- /dev/null +++ b/old_docs/API_docs_v44/types/contacts.Link.md @@ -0,0 +1,22 @@ +--- +title: contacts.Link +description: constructors and methods of type contacts.Link +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Link +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.link](../constructors/contacts.link.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->deleteContact](../methods/contacts.deleteContact.md) + + + diff --git a/old_docs/API_docs_v44/types/contacts.ResolvedPeer.md b/old_docs/API_docs_v44/types/contacts.ResolvedPeer.md new file mode 100644 index 00000000..13630d54 --- /dev/null +++ b/old_docs/API_docs_v44/types/contacts.ResolvedPeer.md @@ -0,0 +1,22 @@ +--- +title: contacts.ResolvedPeer +description: constructors and methods of type contacts.ResolvedPeer +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.ResolvedPeer +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.resolvedPeer](../constructors/contacts.resolvedPeer.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->resolveUsername](../methods/contacts.resolveUsername.md) + + + diff --git a/old_docs/API_docs_v44/types/contacts.Suggested.md b/old_docs/API_docs_v44/types/contacts.Suggested.md new file mode 100644 index 00000000..a462dae5 --- /dev/null +++ b/old_docs/API_docs_v44/types/contacts.Suggested.md @@ -0,0 +1,22 @@ +--- +title: contacts.Suggested +description: constructors and methods of type contacts.Suggested +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Suggested +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.suggested](../constructors/contacts.suggested.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getSuggested](../methods/contacts.getSuggested.md) + + + diff --git a/old_docs/API_docs_v44/types/contacts_Blocked.md b/old_docs/API_docs_v44/types/contacts_Blocked.md deleted file mode 100644 index 3e1f02eb..00000000 --- a/old_docs/API_docs_v44/types/contacts_Blocked.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: contacts_Blocked -description: constructors and methods of type contacts_Blocked -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Blocked -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_blocked](../constructors/contacts_blocked.md) - -[contacts\_blockedSlice](../constructors/contacts_blockedSlice.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->getBlocked](../methods/contacts_getBlocked.md) - - - diff --git a/old_docs/API_docs_v44/types/contacts_Contacts.md b/old_docs/API_docs_v44/types/contacts_Contacts.md deleted file mode 100644 index 5d6c9506..00000000 --- a/old_docs/API_docs_v44/types/contacts_Contacts.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: contacts_Contacts -description: constructors and methods of type contacts_Contacts -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Contacts -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_contactsNotModified](../constructors/contacts_contactsNotModified.md) - -[contacts\_contacts](../constructors/contacts_contacts.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->getContacts](../methods/contacts_getContacts.md) - - - diff --git a/old_docs/API_docs_v44/types/contacts_Found.md b/old_docs/API_docs_v44/types/contacts_Found.md deleted file mode 100644 index 806101cf..00000000 --- a/old_docs/API_docs_v44/types/contacts_Found.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_Found -description: constructors and methods of type contacts_Found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Found -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_found](../constructors/contacts_found.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->search](../methods/contacts_search.md) - - - diff --git a/old_docs/API_docs_v44/types/contacts_ImportedContacts.md b/old_docs/API_docs_v44/types/contacts_ImportedContacts.md deleted file mode 100644 index faf7e615..00000000 --- a/old_docs/API_docs_v44/types/contacts_ImportedContacts.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_ImportedContacts -description: constructors and methods of type contacts_ImportedContacts -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_ImportedContacts -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_importedContacts](../constructors/contacts_importedContacts.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->importContacts](../methods/contacts_importContacts.md) - - - diff --git a/old_docs/API_docs_v44/types/contacts_Link.md b/old_docs/API_docs_v44/types/contacts_Link.md deleted file mode 100644 index 01556606..00000000 --- a/old_docs/API_docs_v44/types/contacts_Link.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_Link -description: constructors and methods of type contacts_Link -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Link -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_link](../constructors/contacts_link.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->deleteContact](../methods/contacts_deleteContact.md) - - - diff --git a/old_docs/API_docs_v44/types/contacts_ResolvedPeer.md b/old_docs/API_docs_v44/types/contacts_ResolvedPeer.md deleted file mode 100644 index cf107f7c..00000000 --- a/old_docs/API_docs_v44/types/contacts_ResolvedPeer.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_ResolvedPeer -description: constructors and methods of type contacts_ResolvedPeer -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_ResolvedPeer -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_resolvedPeer](../constructors/contacts_resolvedPeer.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->resolveUsername](../methods/contacts_resolveUsername.md) - - - diff --git a/old_docs/API_docs_v44/types/contacts_Suggested.md b/old_docs/API_docs_v44/types/contacts_Suggested.md deleted file mode 100644 index dd597b3b..00000000 --- a/old_docs/API_docs_v44/types/contacts_Suggested.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_Suggested -description: constructors and methods of type contacts_Suggested -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Suggested -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_suggested](../constructors/contacts_suggested.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->getSuggested](../methods/contacts_getSuggested.md) - - - diff --git a/old_docs/API_docs_v44/types/help.AppChangelog.md b/old_docs/API_docs_v44/types/help.AppChangelog.md new file mode 100644 index 00000000..71584fdc --- /dev/null +++ b/old_docs/API_docs_v44/types/help.AppChangelog.md @@ -0,0 +1,24 @@ +--- +title: help.AppChangelog +description: constructors and methods of type help.AppChangelog +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.AppChangelog +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.appChangelogEmpty](../constructors/help.appChangelogEmpty.md) + +[help.appChangelog](../constructors/help.appChangelog.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getAppChangelog](../methods/help.getAppChangelog.md) + + + diff --git a/old_docs/API_docs_v44/types/help.AppUpdate.md b/old_docs/API_docs_v44/types/help.AppUpdate.md new file mode 100644 index 00000000..285ec2b7 --- /dev/null +++ b/old_docs/API_docs_v44/types/help.AppUpdate.md @@ -0,0 +1,24 @@ +--- +title: help.AppUpdate +description: constructors and methods of type help.AppUpdate +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.AppUpdate +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.appUpdate](../constructors/help.appUpdate.md) + +[help.noAppUpdate](../constructors/help.noAppUpdate.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getAppUpdate](../methods/help.getAppUpdate.md) + + + diff --git a/old_docs/API_docs_v44/types/help.InviteText.md b/old_docs/API_docs_v44/types/help.InviteText.md new file mode 100644 index 00000000..43293f46 --- /dev/null +++ b/old_docs/API_docs_v44/types/help.InviteText.md @@ -0,0 +1,22 @@ +--- +title: help.InviteText +description: constructors and methods of type help.InviteText +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.InviteText +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.inviteText](../constructors/help.inviteText.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getInviteText](../methods/help.getInviteText.md) + + + diff --git a/old_docs/API_docs_v44/types/help.Support.md b/old_docs/API_docs_v44/types/help.Support.md new file mode 100644 index 00000000..42c20483 --- /dev/null +++ b/old_docs/API_docs_v44/types/help.Support.md @@ -0,0 +1,22 @@ +--- +title: help.Support +description: constructors and methods of type help.Support +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.Support +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.support](../constructors/help.support.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getSupport](../methods/help.getSupport.md) + + + diff --git a/old_docs/API_docs_v44/types/help.TermsOfService.md b/old_docs/API_docs_v44/types/help.TermsOfService.md new file mode 100644 index 00000000..6c29d2e6 --- /dev/null +++ b/old_docs/API_docs_v44/types/help.TermsOfService.md @@ -0,0 +1,22 @@ +--- +title: help.TermsOfService +description: constructors and methods of type help.TermsOfService +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.TermsOfService +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.termsOfService](../constructors/help.termsOfService.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getTermsOfService](../methods/help.getTermsOfService.md) + + + diff --git a/old_docs/API_docs_v44/types/help_AppChangelog.md b/old_docs/API_docs_v44/types/help_AppChangelog.md deleted file mode 100644 index 350cb644..00000000 --- a/old_docs/API_docs_v44/types/help_AppChangelog.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: help_AppChangelog -description: constructors and methods of type help_AppChangelog -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_AppChangelog -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_appChangelogEmpty](../constructors/help_appChangelogEmpty.md) - -[help\_appChangelog](../constructors/help_appChangelog.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getAppChangelog](../methods/help_getAppChangelog.md) - - - diff --git a/old_docs/API_docs_v44/types/help_AppUpdate.md b/old_docs/API_docs_v44/types/help_AppUpdate.md deleted file mode 100644 index 1f296a70..00000000 --- a/old_docs/API_docs_v44/types/help_AppUpdate.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: help_AppUpdate -description: constructors and methods of type help_AppUpdate -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_AppUpdate -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_appUpdate](../constructors/help_appUpdate.md) - -[help\_noAppUpdate](../constructors/help_noAppUpdate.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getAppUpdate](../methods/help_getAppUpdate.md) - - - diff --git a/old_docs/API_docs_v44/types/help_InviteText.md b/old_docs/API_docs_v44/types/help_InviteText.md deleted file mode 100644 index 018d35bf..00000000 --- a/old_docs/API_docs_v44/types/help_InviteText.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: help_InviteText -description: constructors and methods of type help_InviteText -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_InviteText -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_inviteText](../constructors/help_inviteText.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getInviteText](../methods/help_getInviteText.md) - - - diff --git a/old_docs/API_docs_v44/types/help_Support.md b/old_docs/API_docs_v44/types/help_Support.md deleted file mode 100644 index 26de447b..00000000 --- a/old_docs/API_docs_v44/types/help_Support.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: help_Support -description: constructors and methods of type help_Support -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_Support -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_support](../constructors/help_support.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getSupport](../methods/help_getSupport.md) - - - diff --git a/old_docs/API_docs_v44/types/help_TermsOfService.md b/old_docs/API_docs_v44/types/help_TermsOfService.md deleted file mode 100644 index 84a05df3..00000000 --- a/old_docs/API_docs_v44/types/help_TermsOfService.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: help_TermsOfService -description: constructors and methods of type help_TermsOfService -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_TermsOfService -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_termsOfService](../constructors/help_termsOfService.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getTermsOfService](../methods/help_getTermsOfService.md) - - - diff --git a/old_docs/API_docs_v44/types/messages.AffectedHistory.md b/old_docs/API_docs_v44/types/messages.AffectedHistory.md new file mode 100644 index 00000000..f0411b4d --- /dev/null +++ b/old_docs/API_docs_v44/types/messages.AffectedHistory.md @@ -0,0 +1,24 @@ +--- +title: messages.AffectedHistory +description: constructors and methods of type messages.AffectedHistory +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.AffectedHistory +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.affectedHistory](../constructors/messages.affectedHistory.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->deleteHistory](../methods/messages.deleteHistory.md) + +[$MadelineProto->channels->deleteUserHistory](../methods/channels.deleteUserHistory.md) + + + diff --git a/old_docs/API_docs_v44/types/messages.AffectedMessages.md b/old_docs/API_docs_v44/types/messages.AffectedMessages.md new file mode 100644 index 00000000..a9159de3 --- /dev/null +++ b/old_docs/API_docs_v44/types/messages.AffectedMessages.md @@ -0,0 +1,28 @@ +--- +title: messages.AffectedMessages +description: constructors and methods of type messages.AffectedMessages +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.AffectedMessages +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.affectedMessages](../constructors/messages.affectedMessages.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->readHistory](../methods/messages.readHistory.md) + +[$MadelineProto->messages->deleteMessages](../methods/messages.deleteMessages.md) + +[$MadelineProto->messages->readMessageContents](../methods/messages.readMessageContents.md) + +[$MadelineProto->channels->deleteMessages](../methods/channels.deleteMessages.md) + + + diff --git a/old_docs/API_docs_v44/types/messages.AllStickers.md b/old_docs/API_docs_v44/types/messages.AllStickers.md new file mode 100644 index 00000000..5ece92c0 --- /dev/null +++ b/old_docs/API_docs_v44/types/messages.AllStickers.md @@ -0,0 +1,24 @@ +--- +title: messages.AllStickers +description: constructors and methods of type messages.AllStickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.AllStickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.allStickersNotModified](../constructors/messages.allStickersNotModified.md) + +[messages.allStickers](../constructors/messages.allStickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getAllStickers](../methods/messages.getAllStickers.md) + + + diff --git a/old_docs/API_docs_v44/types/messages.ChatFull.md b/old_docs/API_docs_v44/types/messages.ChatFull.md new file mode 100644 index 00000000..3ad38748 --- /dev/null +++ b/old_docs/API_docs_v44/types/messages.ChatFull.md @@ -0,0 +1,24 @@ +--- +title: messages.ChatFull +description: constructors and methods of type messages.ChatFull +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.ChatFull +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.chatFull](../constructors/messages.chatFull.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getFullChat](../methods/messages.getFullChat.md) + +[$MadelineProto->channels->getFullChannel](../methods/channels.getFullChannel.md) + + + diff --git a/old_docs/API_docs_v44/types/messages.Chats.md b/old_docs/API_docs_v44/types/messages.Chats.md new file mode 100644 index 00000000..c2bfab5d --- /dev/null +++ b/old_docs/API_docs_v44/types/messages.Chats.md @@ -0,0 +1,24 @@ +--- +title: messages.Chats +description: constructors and methods of type messages.Chats +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Chats +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.chats](../constructors/messages.chats.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getChats](../methods/messages.getChats.md) + +[$MadelineProto->channels->getChannels](../methods/channels.getChannels.md) + + + diff --git a/old_docs/API_docs_v44/types/messages.DhConfig.md b/old_docs/API_docs_v44/types/messages.DhConfig.md new file mode 100644 index 00000000..77188ab7 --- /dev/null +++ b/old_docs/API_docs_v44/types/messages.DhConfig.md @@ -0,0 +1,24 @@ +--- +title: messages.DhConfig +description: constructors and methods of type messages.DhConfig +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.DhConfig +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.dhConfigNotModified](../constructors/messages.dhConfigNotModified.md) + +[messages.dhConfig](../constructors/messages.dhConfig.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getDhConfig](../methods/messages.getDhConfig.md) + + + diff --git a/old_docs/API_docs_v44/types/messages.Dialogs.md b/old_docs/API_docs_v44/types/messages.Dialogs.md new file mode 100644 index 00000000..f70ca7d8 --- /dev/null +++ b/old_docs/API_docs_v44/types/messages.Dialogs.md @@ -0,0 +1,26 @@ +--- +title: messages.Dialogs +description: constructors and methods of type messages.Dialogs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Dialogs +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.dialogs](../constructors/messages.dialogs.md) + +[messages.dialogsSlice](../constructors/messages.dialogsSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getDialogs](../methods/messages.getDialogs.md) + +[$MadelineProto->channels->getDialogs](../methods/channels.getDialogs.md) + + + diff --git a/old_docs/API_docs_v44/types/messages.FoundGifs.md b/old_docs/API_docs_v44/types/messages.FoundGifs.md new file mode 100644 index 00000000..b5176a5d --- /dev/null +++ b/old_docs/API_docs_v44/types/messages.FoundGifs.md @@ -0,0 +1,22 @@ +--- +title: messages.FoundGifs +description: constructors and methods of type messages.FoundGifs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.FoundGifs +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.foundGifs](../constructors/messages.foundGifs.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->searchGifs](../methods/messages.searchGifs.md) + + + diff --git a/old_docs/API_docs_v44/types/messages.Messages.md b/old_docs/API_docs_v44/types/messages.Messages.md new file mode 100644 index 00000000..181fbae5 --- /dev/null +++ b/old_docs/API_docs_v44/types/messages.Messages.md @@ -0,0 +1,36 @@ +--- +title: messages.Messages +description: constructors and methods of type messages.Messages +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Messages +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.messages](../constructors/messages.messages.md) + +[messages.messagesSlice](../constructors/messages.messagesSlice.md) + +[messages.channelMessages](../constructors/messages.channelMessages.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getMessages](../methods/messages.getMessages.md) + +[$MadelineProto->messages->getHistory](../methods/messages.getHistory.md) + +[$MadelineProto->messages->search](../methods/messages.search.md) + +[$MadelineProto->channels->getImportantHistory](../methods/channels.getImportantHistory.md) + +[$MadelineProto->channels->getMessages](../methods/channels.getMessages.md) + +[$MadelineProto->messages->searchGlobal](../methods/messages.searchGlobal.md) + + + diff --git a/old_docs/API_docs_v44/types/messages.SentEncryptedMessage.md b/old_docs/API_docs_v44/types/messages.SentEncryptedMessage.md new file mode 100644 index 00000000..b6d05b1f --- /dev/null +++ b/old_docs/API_docs_v44/types/messages.SentEncryptedMessage.md @@ -0,0 +1,28 @@ +--- +title: messages.SentEncryptedMessage +description: constructors and methods of type messages.SentEncryptedMessage +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.SentEncryptedMessage +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.sentEncryptedMessage](../constructors/messages.sentEncryptedMessage.md) + +[messages.sentEncryptedFile](../constructors/messages.sentEncryptedFile.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->sendEncrypted](../methods/messages.sendEncrypted.md) + +[$MadelineProto->messages->sendEncryptedFile](../methods/messages.sendEncryptedFile.md) + +[$MadelineProto->messages->sendEncryptedService](../methods/messages.sendEncryptedService.md) + + + diff --git a/old_docs/API_docs_v44/types/messages.StickerSet.md b/old_docs/API_docs_v44/types/messages.StickerSet.md new file mode 100644 index 00000000..8de24a76 --- /dev/null +++ b/old_docs/API_docs_v44/types/messages.StickerSet.md @@ -0,0 +1,22 @@ +--- +title: messages.StickerSet +description: constructors and methods of type messages.StickerSet +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.StickerSet +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.stickerSet](../constructors/messages.stickerSet.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getStickerSet](../methods/messages.getStickerSet.md) + + + diff --git a/old_docs/API_docs_v44/types/messages.Stickers.md b/old_docs/API_docs_v44/types/messages.Stickers.md new file mode 100644 index 00000000..43bddf06 --- /dev/null +++ b/old_docs/API_docs_v44/types/messages.Stickers.md @@ -0,0 +1,24 @@ +--- +title: messages.Stickers +description: constructors and methods of type messages.Stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Stickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.stickersNotModified](../constructors/messages.stickersNotModified.md) + +[messages.stickers](../constructors/messages.stickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getStickers](../methods/messages.getStickers.md) + + + diff --git a/old_docs/API_docs_v44/types/messages_AffectedHistory.md b/old_docs/API_docs_v44/types/messages_AffectedHistory.md deleted file mode 100644 index a2d75894..00000000 --- a/old_docs/API_docs_v44/types/messages_AffectedHistory.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_AffectedHistory -description: constructors and methods of type messages_AffectedHistory -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_AffectedHistory -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_affectedHistory](../constructors/messages_affectedHistory.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->deleteHistory](../methods/messages_deleteHistory.md) - -[$MadelineProto->channels->deleteUserHistory](../methods/channels_deleteUserHistory.md) - - - diff --git a/old_docs/API_docs_v44/types/messages_AffectedMessages.md b/old_docs/API_docs_v44/types/messages_AffectedMessages.md deleted file mode 100644 index dcbea721..00000000 --- a/old_docs/API_docs_v44/types/messages_AffectedMessages.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: messages_AffectedMessages -description: constructors and methods of type messages_AffectedMessages -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_AffectedMessages -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_affectedMessages](../constructors/messages_affectedMessages.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->readHistory](../methods/messages_readHistory.md) - -[$MadelineProto->messages->deleteMessages](../methods/messages_deleteMessages.md) - -[$MadelineProto->messages->readMessageContents](../methods/messages_readMessageContents.md) - -[$MadelineProto->channels->deleteMessages](../methods/channels_deleteMessages.md) - - - diff --git a/old_docs/API_docs_v44/types/messages_AllStickers.md b/old_docs/API_docs_v44/types/messages_AllStickers.md deleted file mode 100644 index 59d19759..00000000 --- a/old_docs/API_docs_v44/types/messages_AllStickers.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_AllStickers -description: constructors and methods of type messages_AllStickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_AllStickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_allStickersNotModified](../constructors/messages_allStickersNotModified.md) - -[messages\_allStickers](../constructors/messages_allStickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getAllStickers](../methods/messages_getAllStickers.md) - - - diff --git a/old_docs/API_docs_v44/types/messages_ChatFull.md b/old_docs/API_docs_v44/types/messages_ChatFull.md deleted file mode 100644 index e4add41e..00000000 --- a/old_docs/API_docs_v44/types/messages_ChatFull.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_ChatFull -description: constructors and methods of type messages_ChatFull -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_ChatFull -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_chatFull](../constructors/messages_chatFull.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getFullChat](../methods/messages_getFullChat.md) - -[$MadelineProto->channels->getFullChannel](../methods/channels_getFullChannel.md) - - - diff --git a/old_docs/API_docs_v44/types/messages_Chats.md b/old_docs/API_docs_v44/types/messages_Chats.md deleted file mode 100644 index 18b8c0d7..00000000 --- a/old_docs/API_docs_v44/types/messages_Chats.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_Chats -description: constructors and methods of type messages_Chats -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Chats -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_chats](../constructors/messages_chats.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getChats](../methods/messages_getChats.md) - -[$MadelineProto->channels->getChannels](../methods/channels_getChannels.md) - - - diff --git a/old_docs/API_docs_v44/types/messages_DhConfig.md b/old_docs/API_docs_v44/types/messages_DhConfig.md deleted file mode 100644 index ce237411..00000000 --- a/old_docs/API_docs_v44/types/messages_DhConfig.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_DhConfig -description: constructors and methods of type messages_DhConfig -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_DhConfig -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_dhConfigNotModified](../constructors/messages_dhConfigNotModified.md) - -[messages\_dhConfig](../constructors/messages_dhConfig.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getDhConfig](../methods/messages_getDhConfig.md) - - - diff --git a/old_docs/API_docs_v44/types/messages_Dialogs.md b/old_docs/API_docs_v44/types/messages_Dialogs.md deleted file mode 100644 index 188c4e55..00000000 --- a/old_docs/API_docs_v44/types/messages_Dialogs.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: messages_Dialogs -description: constructors and methods of type messages_Dialogs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Dialogs -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_dialogs](../constructors/messages_dialogs.md) - -[messages\_dialogsSlice](../constructors/messages_dialogsSlice.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getDialogs](../methods/messages_getDialogs.md) - -[$MadelineProto->channels->getDialogs](../methods/channels_getDialogs.md) - - - diff --git a/old_docs/API_docs_v44/types/messages_FoundGifs.md b/old_docs/API_docs_v44/types/messages_FoundGifs.md deleted file mode 100644 index 9dd088ba..00000000 --- a/old_docs/API_docs_v44/types/messages_FoundGifs.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_FoundGifs -description: constructors and methods of type messages_FoundGifs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_FoundGifs -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_foundGifs](../constructors/messages_foundGifs.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->searchGifs](../methods/messages_searchGifs.md) - - - diff --git a/old_docs/API_docs_v44/types/messages_Messages.md b/old_docs/API_docs_v44/types/messages_Messages.md deleted file mode 100644 index 6c5cb04f..00000000 --- a/old_docs/API_docs_v44/types/messages_Messages.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -title: messages_Messages -description: constructors and methods of type messages_Messages -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Messages -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_messages](../constructors/messages_messages.md) - -[messages\_messagesSlice](../constructors/messages_messagesSlice.md) - -[messages\_channelMessages](../constructors/messages_channelMessages.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getMessages](../methods/messages_getMessages.md) - -[$MadelineProto->messages->getHistory](../methods/messages_getHistory.md) - -[$MadelineProto->messages->search](../methods/messages_search.md) - -[$MadelineProto->channels->getImportantHistory](../methods/channels_getImportantHistory.md) - -[$MadelineProto->channels->getMessages](../methods/channels_getMessages.md) - -[$MadelineProto->messages->searchGlobal](../methods/messages_searchGlobal.md) - - - diff --git a/old_docs/API_docs_v44/types/messages_SentEncryptedMessage.md b/old_docs/API_docs_v44/types/messages_SentEncryptedMessage.md deleted file mode 100644 index 9f7ab935..00000000 --- a/old_docs/API_docs_v44/types/messages_SentEncryptedMessage.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: messages_SentEncryptedMessage -description: constructors and methods of type messages_SentEncryptedMessage -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_SentEncryptedMessage -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_sentEncryptedMessage](../constructors/messages_sentEncryptedMessage.md) - -[messages\_sentEncryptedFile](../constructors/messages_sentEncryptedFile.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->sendEncrypted](../methods/messages_sendEncrypted.md) - -[$MadelineProto->messages->sendEncryptedFile](../methods/messages_sendEncryptedFile.md) - -[$MadelineProto->messages->sendEncryptedService](../methods/messages_sendEncryptedService.md) - - - diff --git a/old_docs/API_docs_v44/types/messages_StickerSet.md b/old_docs/API_docs_v44/types/messages_StickerSet.md deleted file mode 100644 index e04ee8bf..00000000 --- a/old_docs/API_docs_v44/types/messages_StickerSet.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_StickerSet -description: constructors and methods of type messages_StickerSet -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_StickerSet -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_stickerSet](../constructors/messages_stickerSet.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getStickerSet](../methods/messages_getStickerSet.md) - - - diff --git a/old_docs/API_docs_v44/types/messages_Stickers.md b/old_docs/API_docs_v44/types/messages_Stickers.md deleted file mode 100644 index cf53f57b..00000000 --- a/old_docs/API_docs_v44/types/messages_Stickers.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_Stickers -description: constructors and methods of type messages_Stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Stickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_stickersNotModified](../constructors/messages_stickersNotModified.md) - -[messages\_stickers](../constructors/messages_stickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getStickers](../methods/messages_getStickers.md) - - - diff --git a/old_docs/API_docs_v44/types/photos.Photo.md b/old_docs/API_docs_v44/types/photos.Photo.md new file mode 100644 index 00000000..d60f203c --- /dev/null +++ b/old_docs/API_docs_v44/types/photos.Photo.md @@ -0,0 +1,22 @@ +--- +title: photos.Photo +description: constructors and methods of type photos.Photo +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: photos.Photo +[Back to types index](index.md) + + + +### Possible values (constructors): + +[photos.photo](../constructors/photos.photo.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->photos->uploadProfilePhoto](../methods/photos.uploadProfilePhoto.md) + + + diff --git a/old_docs/API_docs_v44/types/photos.Photos.md b/old_docs/API_docs_v44/types/photos.Photos.md new file mode 100644 index 00000000..fff0e296 --- /dev/null +++ b/old_docs/API_docs_v44/types/photos.Photos.md @@ -0,0 +1,24 @@ +--- +title: photos.Photos +description: constructors and methods of type photos.Photos +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: photos.Photos +[Back to types index](index.md) + + + +### Possible values (constructors): + +[photos.photos](../constructors/photos.photos.md) + +[photos.photosSlice](../constructors/photos.photosSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->photos->getUserPhotos](../methods/photos.getUserPhotos.md) + + + diff --git a/old_docs/API_docs_v44/types/photos_Photo.md b/old_docs/API_docs_v44/types/photos_Photo.md deleted file mode 100644 index d11bbdef..00000000 --- a/old_docs/API_docs_v44/types/photos_Photo.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: photos_Photo -description: constructors and methods of type photos_Photo -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: photos\_Photo -[Back to types index](index.md) - - - -### Possible values (constructors): - -[photos\_photo](../constructors/photos_photo.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->photos->uploadProfilePhoto](../methods/photos_uploadProfilePhoto.md) - - - diff --git a/old_docs/API_docs_v44/types/photos_Photos.md b/old_docs/API_docs_v44/types/photos_Photos.md deleted file mode 100644 index 9875ad70..00000000 --- a/old_docs/API_docs_v44/types/photos_Photos.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: photos_Photos -description: constructors and methods of type photos_Photos -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: photos\_Photos -[Back to types index](index.md) - - - -### Possible values (constructors): - -[photos\_photos](../constructors/photos_photos.md) - -[photos\_photosSlice](../constructors/photos_photosSlice.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->photos->getUserPhotos](../methods/photos_getUserPhotos.md) - - - diff --git a/old_docs/API_docs_v44/types/storage.FileType.md b/old_docs/API_docs_v44/types/storage.FileType.md new file mode 100644 index 00000000..73dc8a92 --- /dev/null +++ b/old_docs/API_docs_v44/types/storage.FileType.md @@ -0,0 +1,38 @@ +--- +title: storage.FileType +description: constructors and methods of type storage.FileType +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: storage.FileType +[Back to types index](index.md) + + + +### Possible values (constructors): + +[storage.fileUnknown](../constructors/storage.fileUnknown.md) + +[storage.fileJpeg](../constructors/storage.fileJpeg.md) + +[storage.fileGif](../constructors/storage.fileGif.md) + +[storage.filePng](../constructors/storage.filePng.md) + +[storage.filePdf](../constructors/storage.filePdf.md) + +[storage.fileMp3](../constructors/storage.fileMp3.md) + +[storage.fileMov](../constructors/storage.fileMov.md) + +[storage.filePartial](../constructors/storage.filePartial.md) + +[storage.fileMp4](../constructors/storage.fileMp4.md) + +[storage.fileWebp](../constructors/storage.fileWebp.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v44/types/storage_FileType.md b/old_docs/API_docs_v44/types/storage_FileType.md deleted file mode 100644 index 076c52a4..00000000 --- a/old_docs/API_docs_v44/types/storage_FileType.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: storage_FileType -description: constructors and methods of type storage_FileType -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: storage\_FileType -[Back to types index](index.md) - - - -### Possible values (constructors): - -[storage\_fileUnknown](../constructors/storage_fileUnknown.md) - -[storage\_fileJpeg](../constructors/storage_fileJpeg.md) - -[storage\_fileGif](../constructors/storage_fileGif.md) - -[storage\_filePng](../constructors/storage_filePng.md) - -[storage\_filePdf](../constructors/storage_filePdf.md) - -[storage\_fileMp3](../constructors/storage_fileMp3.md) - -[storage\_fileMov](../constructors/storage_fileMov.md) - -[storage\_filePartial](../constructors/storage_filePartial.md) - -[storage\_fileMp4](../constructors/storage_fileMp4.md) - -[storage\_fileWebp](../constructors/storage_fileWebp.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v44/types/updates.ChannelDifference.md b/old_docs/API_docs_v44/types/updates.ChannelDifference.md new file mode 100644 index 00000000..ac889a1e --- /dev/null +++ b/old_docs/API_docs_v44/types/updates.ChannelDifference.md @@ -0,0 +1,26 @@ +--- +title: updates.ChannelDifference +description: constructors and methods of type updates.ChannelDifference +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: updates.ChannelDifference +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updates.channelDifferenceEmpty](../constructors/updates.channelDifferenceEmpty.md) + +[updates.channelDifferenceTooLong](../constructors/updates.channelDifferenceTooLong.md) + +[updates.channelDifference](../constructors/updates.channelDifference.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->updates->getChannelDifference](../methods/updates.getChannelDifference.md) + + + diff --git a/old_docs/API_docs_v44/types/updates.Difference.md b/old_docs/API_docs_v44/types/updates.Difference.md new file mode 100644 index 00000000..35998855 --- /dev/null +++ b/old_docs/API_docs_v44/types/updates.Difference.md @@ -0,0 +1,26 @@ +--- +title: updates.Difference +description: constructors and methods of type updates.Difference +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: updates.Difference +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updates.differenceEmpty](../constructors/updates.differenceEmpty.md) + +[updates.difference](../constructors/updates.difference.md) + +[updates.differenceSlice](../constructors/updates.differenceSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->updates->getDifference](../methods/updates.getDifference.md) + + + diff --git a/old_docs/API_docs_v44/types/updates.State.md b/old_docs/API_docs_v44/types/updates.State.md new file mode 100644 index 00000000..49bbb7fd --- /dev/null +++ b/old_docs/API_docs_v44/types/updates.State.md @@ -0,0 +1,22 @@ +--- +title: updates.State +description: constructors and methods of type updates.State +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: updates.State +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updates.state](../constructors/updates.state.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->updates->getState](../methods/updates.getState.md) + + + diff --git a/old_docs/API_docs_v44/types/updates_ChannelDifference.md b/old_docs/API_docs_v44/types/updates_ChannelDifference.md deleted file mode 100644 index dc988692..00000000 --- a/old_docs/API_docs_v44/types/updates_ChannelDifference.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: updates_ChannelDifference -description: constructors and methods of type updates_ChannelDifference -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: updates\_ChannelDifference -[Back to types index](index.md) - - - -### Possible values (constructors): - -[updates\_channelDifferenceEmpty](../constructors/updates_channelDifferenceEmpty.md) - -[updates\_channelDifferenceTooLong](../constructors/updates_channelDifferenceTooLong.md) - -[updates\_channelDifference](../constructors/updates_channelDifference.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->updates->getChannelDifference](../methods/updates_getChannelDifference.md) - - - diff --git a/old_docs/API_docs_v44/types/updates_Difference.md b/old_docs/API_docs_v44/types/updates_Difference.md deleted file mode 100644 index 0190189b..00000000 --- a/old_docs/API_docs_v44/types/updates_Difference.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: updates_Difference -description: constructors and methods of type updates_Difference -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: updates\_Difference -[Back to types index](index.md) - - - -### Possible values (constructors): - -[updates\_differenceEmpty](../constructors/updates_differenceEmpty.md) - -[updates\_difference](../constructors/updates_difference.md) - -[updates\_differenceSlice](../constructors/updates_differenceSlice.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->updates->getDifference](../methods/updates_getDifference.md) - - - diff --git a/old_docs/API_docs_v44/types/updates_State.md b/old_docs/API_docs_v44/types/updates_State.md deleted file mode 100644 index 7a441145..00000000 --- a/old_docs/API_docs_v44/types/updates_State.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: updates_State -description: constructors and methods of type updates_State -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: updates\_State -[Back to types index](index.md) - - - -### Possible values (constructors): - -[updates\_state](../constructors/updates_state.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->updates->getState](../methods/updates_getState.md) - - - diff --git a/old_docs/API_docs_v44/types/upload.File.md b/old_docs/API_docs_v44/types/upload.File.md new file mode 100644 index 00000000..922e6c7a --- /dev/null +++ b/old_docs/API_docs_v44/types/upload.File.md @@ -0,0 +1,22 @@ +--- +title: upload.File +description: constructors and methods of type upload.File +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: upload.File +[Back to types index](index.md) + + + +### Possible values (constructors): + +[upload.file](../constructors/upload.file.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->upload->getFile](../methods/upload.getFile.md) + + + diff --git a/old_docs/API_docs_v44/types/upload_File.md b/old_docs/API_docs_v44/types/upload_File.md deleted file mode 100644 index 6e3bc38d..00000000 --- a/old_docs/API_docs_v44/types/upload_File.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: upload_File -description: constructors and methods of type upload_File -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: upload\_File -[Back to types index](index.md) - - - -### Possible values (constructors): - -[upload\_file](../constructors/upload_file.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->upload->getFile](../methods/upload_getFile.md) - - - diff --git a/old_docs/API_docs_v45/constructors/README.md b/old_docs/API_docs_v45/constructors/README.md index 89d12fc2..ac6fe609 100644 --- a/old_docs/API_docs_v45/constructors/README.md +++ b/old_docs/API_docs_v45/constructors/README.md @@ -7,22 +7,28 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png [Back to API documentation index](..) *** -

[$accountDaysTTL](../constructors/accountDaysTTL.md) = \['days' => [int](../types/int.md), \]; +

[$account.authorizations](../constructors/account.authorizations.md) = \['authorizations' => \[[Authorization](../types/Authorization.md)\], \]; *** -

[$account\_authorizations](../constructors/account_authorizations.md) = \['authorizations' => \[[Authorization](../types/Authorization.md)\], \]; +

[$account.noPassword](../constructors/account.noPassword.md) = \['new_salt' => [bytes](../types/bytes.md), 'email_unconfirmed_pattern' => [string](../types/string.md), \]; -[$account\_noPassword](../constructors/account_noPassword.md) = \['new_salt' => [bytes](../types/bytes.md), 'email_unconfirmed_pattern' => [string](../types/string.md), \]; +*** +

[$account.password](../constructors/account.password.md) = \['current_salt' => [bytes](../types/bytes.md), 'new_salt' => [bytes](../types/bytes.md), 'hint' => [string](../types/string.md), 'has_recovery' => [Bool](../types/Bool.md), 'email_unconfirmed_pattern' => [string](../types/string.md), \]; -[$account\_password](../constructors/account_password.md) = \['current_salt' => [bytes](../types/bytes.md), 'new_salt' => [bytes](../types/bytes.md), 'hint' => [string](../types/string.md), 'has_recovery' => [Bool](../types/Bool.md), 'email_unconfirmed_pattern' => [string](../types/string.md), \]; +*** +

[$account.passwordInputSettings](../constructors/account.passwordInputSettings.md) = \['new_salt' => [bytes](../types/bytes.md), 'new_password_hash' => [bytes](../types/bytes.md), 'hint' => [string](../types/string.md), 'email' => [string](../types/string.md), \]; -[$account\_passwordInputSettings](../constructors/account_passwordInputSettings.md) = \['new_salt' => [bytes](../types/bytes.md), 'new_password_hash' => [bytes](../types/bytes.md), 'hint' => [string](../types/string.md), 'email' => [string](../types/string.md), \]; +*** +

[$account.passwordSettings](../constructors/account.passwordSettings.md) = \['email' => [string](../types/string.md), \]; -[$account\_passwordSettings](../constructors/account_passwordSettings.md) = \['email' => [string](../types/string.md), \]; +*** +

[$account.privacyRules](../constructors/account.privacyRules.md) = \['rules' => \[[PrivacyRule](../types/PrivacyRule.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$account\_privacyRules](../constructors/account_privacyRules.md) = \['rules' => \[[PrivacyRule](../types/PrivacyRule.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$account.sentChangePhoneCode](../constructors/account.sentChangePhoneCode.md) = \['phone_code_hash' => [string](../types/string.md), 'send_call_timeout' => [int](../types/int.md), \]; -[$account\_sentChangePhoneCode](../constructors/account_sentChangePhoneCode.md) = \['phone_code_hash' => [string](../types/string.md), 'send_call_timeout' => [int](../types/int.md), \]; +*** +

[$accountDaysTTL](../constructors/accountDaysTTL.md) = \['days' => [int](../types/int.md), \]; ***

[$audio](../constructors/audio.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'date' => [int](../types/int.md), 'duration' => [int](../types/int.md), 'mime_type' => [string](../types/string.md), 'size' => [int](../types/int.md), 'dc_id' => [int](../types/int.md), \]; @@ -31,17 +37,22 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$audioEmpty](../constructors/audioEmpty.md) = \['id' => [long](../types/long.md), \]; *** -

[$auth\_authorization](../constructors/auth_authorization.md) = \['user' => [User](../types/User.md), \]; +

[$auth.authorization](../constructors/auth.authorization.md) = \['user' => [User](../types/User.md), \]; -[$auth\_checkedPhone](../constructors/auth_checkedPhone.md) = \['phone_registered' => [Bool](../types/Bool.md), \]; +*** +

[$auth.checkedPhone](../constructors/auth.checkedPhone.md) = \['phone_registered' => [Bool](../types/Bool.md), \]; -[$auth\_exportedAuthorization](../constructors/auth_exportedAuthorization.md) = \['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; +*** +

[$auth.exportedAuthorization](../constructors/auth.exportedAuthorization.md) = \['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; -[$auth\_passwordRecovery](../constructors/auth_passwordRecovery.md) = \['email_pattern' => [string](../types/string.md), \]; +*** +

[$auth.passwordRecovery](../constructors/auth.passwordRecovery.md) = \['email_pattern' => [string](../types/string.md), \]; -[$auth\_sentAppCode](../constructors/auth_sentAppCode.md) = \['phone_registered' => [Bool](../types/Bool.md), 'phone_code_hash' => [string](../types/string.md), 'send_call_timeout' => [int](../types/int.md), 'is_password' => [Bool](../types/Bool.md), \]; +*** +

[$auth.sentAppCode](../constructors/auth.sentAppCode.md) = \['phone_registered' => [Bool](../types/Bool.md), 'phone_code_hash' => [string](../types/string.md), 'send_call_timeout' => [int](../types/int.md), 'is_password' => [Bool](../types/Bool.md), \]; -[$auth\_sentCode](../constructors/auth_sentCode.md) = \['phone_registered' => [Bool](../types/Bool.md), 'phone_code_hash' => [string](../types/string.md), 'send_call_timeout' => [int](../types/int.md), 'is_password' => [Bool](../types/Bool.md), \]; +*** +

[$auth.sentCode](../constructors/auth.sentCode.md) = \['phone_registered' => [Bool](../types/Bool.md), 'phone_code_hash' => [string](../types/string.md), 'send_call_timeout' => [int](../types/int.md), 'is_password' => [Bool](../types/Bool.md), \]; ***

[$authorization](../constructors/authorization.md) = \['hash' => [long](../types/long.md), 'device_model' => [string](../types/string.md), 'platform' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'api_id' => [int](../types/int.md), 'app_name' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'date_created' => [int](../types/int.md), 'date_active' => [int](../types/int.md), 'ip' => [string](../types/string.md), 'country' => [string](../types/string.md), 'region' => [string](../types/string.md), \]; @@ -134,9 +145,10 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$channelRoleModerator](../constructors/channelRoleModerator.md) = \[\]; *** -

[$channels\_channelParticipant](../constructors/channels_channelParticipant.md) = \['participant' => [ChannelParticipant](../types/ChannelParticipant.md), 'users' => \[[User](../types/User.md)\], \]; +

[$channels.channelParticipant](../constructors/channels.channelParticipant.md) = \['participant' => [ChannelParticipant](../types/ChannelParticipant.md), 'users' => \[[User](../types/User.md)\], \]; -[$channels\_channelParticipants](../constructors/channels_channelParticipants.md) = \['count' => [int](../types/int.md), 'participants' => \[[ChannelParticipant](../types/ChannelParticipant.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$channels.channelParticipants](../constructors/channels.channelParticipants.md) = \['count' => [int](../types/int.md), 'participants' => \[[ChannelParticipant](../types/ChannelParticipant.md)\], 'users' => \[[User](../types/User.md)\], \]; ***

[$chat](../constructors/chat.md) = \['creator' => [Bool](../types/Bool.md), 'kicked' => [Bool](../types/Bool.md), 'left' => [Bool](../types/Bool.md), 'admins_enabled' => [Bool](../types/Bool.md), 'admin' => [Bool](../types/Bool.md), 'deactivated' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'title' => [string](../types/string.md), 'photo' => [ChatPhoto](../types/ChatPhoto.md), 'participants_count' => [int](../types/int.md), 'date' => [int](../types/int.md), 'version' => [int](../types/int.md), 'migrated_to' => [InputChannel](../types/InputChannel.md), \]; @@ -211,23 +223,31 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$contactSuggested](../constructors/contactSuggested.md) = \['user_id' => [int](../types/int.md), 'mutual_contacts' => [int](../types/int.md), \]; *** -

[$contacts\_blocked](../constructors/contacts_blocked.md) = \['blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; +

[$contacts.blocked](../constructors/contacts.blocked.md) = \['blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_blockedSlice](../constructors/contacts_blockedSlice.md) = \['count' => [int](../types/int.md), 'blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.blockedSlice](../constructors/contacts.blockedSlice.md) = \['count' => [int](../types/int.md), 'blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_contacts](../constructors/contacts_contacts.md) = \['contacts' => \[[Contact](../types/Contact.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.contacts](../constructors/contacts.contacts.md) = \['contacts' => \[[Contact](../types/Contact.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_contactsNotModified](../constructors/contacts_contactsNotModified.md) = \[\]; +*** +

[$contacts.contactsNotModified](../constructors/contacts.contactsNotModified.md) = \[\]; -[$contacts\_found](../constructors/contacts_found.md) = \['results' => \[[Peer](../types/Peer.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.found](../constructors/contacts.found.md) = \['results' => \[[Peer](../types/Peer.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_importedContacts](../constructors/contacts_importedContacts.md) = \['imported' => \[[ImportedContact](../types/ImportedContact.md)\], 'retry_contacts' => \[[long](../types/long.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.importedContacts](../constructors/contacts.importedContacts.md) = \['imported' => \[[ImportedContact](../types/ImportedContact.md)\], 'retry_contacts' => \[[long](../types/long.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_link](../constructors/contacts_link.md) = \['my_link' => [ContactLink](../types/ContactLink.md), 'foreign_link' => [ContactLink](../types/ContactLink.md), 'user' => [User](../types/User.md), \]; +*** +

[$contacts.link](../constructors/contacts.link.md) = \['my_link' => [ContactLink](../types/ContactLink.md), 'foreign_link' => [ContactLink](../types/ContactLink.md), 'user' => [User](../types/User.md), \]; -[$contacts\_resolvedPeer](../constructors/contacts_resolvedPeer.md) = \['peer' => [Peer](../types/Peer.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.resolvedPeer](../constructors/contacts.resolvedPeer.md) = \['peer' => [Peer](../types/Peer.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_suggested](../constructors/contacts_suggested.md) = \['results' => \[[ContactSuggested](../types/ContactSuggested.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.suggested](../constructors/contacts.suggested.md) = \['results' => \[[ContactSuggested](../types/ContactSuggested.md)\], 'users' => \[[User](../types/User.md)\], \]; ***

[$dcOption](../constructors/dcOption.md) = \['ipv6' => [Bool](../types/Bool.md), 'media_only' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'ip_address' => [string](../types/string.md), 'port' => [int](../types/int.md), \]; @@ -314,19 +334,25 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$geoPointEmpty](../constructors/geoPointEmpty.md) = \[\]; *** -

[$help\_appChangelog](../constructors/help_appChangelog.md) = \['text' => [string](../types/string.md), \]; +

[$help.appChangelog](../constructors/help.appChangelog.md) = \['text' => [string](../types/string.md), \]; -[$help\_appChangelogEmpty](../constructors/help_appChangelogEmpty.md) = \[\]; +*** +

[$help.appChangelogEmpty](../constructors/help.appChangelogEmpty.md) = \[\]; -[$help\_appUpdate](../constructors/help_appUpdate.md) = \['id' => [int](../types/int.md), 'critical' => [Bool](../types/Bool.md), 'url' => [string](../types/string.md), 'text' => [string](../types/string.md), \]; +*** +

[$help.appUpdate](../constructors/help.appUpdate.md) = \['id' => [int](../types/int.md), 'critical' => [Bool](../types/Bool.md), 'url' => [string](../types/string.md), 'text' => [string](../types/string.md), \]; -[$help\_inviteText](../constructors/help_inviteText.md) = \['message' => [string](../types/string.md), \]; +*** +

[$help.inviteText](../constructors/help.inviteText.md) = \['message' => [string](../types/string.md), \]; -[$help\_noAppUpdate](../constructors/help_noAppUpdate.md) = \[\]; +*** +

[$help.noAppUpdate](../constructors/help.noAppUpdate.md) = \[\]; -[$help\_support](../constructors/help_support.md) = \['phone_number' => [string](../types/string.md), 'user' => [User](../types/User.md), \]; +*** +

[$help.support](../constructors/help.support.md) = \['phone_number' => [string](../types/string.md), 'user' => [User](../types/User.md), \]; -[$help\_termsOfService](../constructors/help_termsOfService.md) = \['text' => [string](../types/string.md), \]; +*** +

[$help.termsOfService](../constructors/help.termsOfService.md) = \['text' => [string](../types/string.md), \]; ***

[$importedContact](../constructors/importedContact.md) = \['user_id' => [int](../types/int.md), 'client_id' => [long](../types/long.md), \]; @@ -713,49 +739,70 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$messageService](../constructors/messageService.md) = \['unread' => [Bool](../types/Bool.md), 'out' => [Bool](../types/Bool.md), 'mentioned' => [Bool](../types/Bool.md), 'media_unread' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'from_id' => [int](../types/int.md), 'to_id' => [Peer](../types/Peer.md), 'date' => [int](../types/int.md), 'action' => [MessageAction](../types/MessageAction.md), \]; *** -

[$messages\_affectedHistory](../constructors/messages_affectedHistory.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), 'offset' => [int](../types/int.md), \]; +

[$messages.affectedHistory](../constructors/messages.affectedHistory.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), 'offset' => [int](../types/int.md), \]; -[$messages\_affectedMessages](../constructors/messages_affectedMessages.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; +*** +

[$messages.affectedMessages](../constructors/messages.affectedMessages.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; -[$messages\_allStickers](../constructors/messages_allStickers.md) = \['hash' => [int](../types/int.md), 'sets' => \[[StickerSet](../types/StickerSet.md)\], \]; +*** +

[$messages.allStickers](../constructors/messages.allStickers.md) = \['hash' => [int](../types/int.md), 'sets' => \[[StickerSet](../types/StickerSet.md)\], \]; -[$messages\_allStickersNotModified](../constructors/messages_allStickersNotModified.md) = \[\]; +*** +

[$messages.allStickersNotModified](../constructors/messages.allStickersNotModified.md) = \[\]; -[$messages\_botResults](../constructors/messages_botResults.md) = \['gallery' => [Bool](../types/Bool.md), 'query_id' => [long](../types/long.md), 'next_offset' => [string](../types/string.md), 'results' => \[[BotInlineResult](../types/BotInlineResult.md)\], \]; +*** +

[$messages.botResults](../constructors/messages.botResults.md) = \['gallery' => [Bool](../types/Bool.md), 'query_id' => [long](../types/long.md), 'next_offset' => [string](../types/string.md), 'results' => \[[BotInlineResult](../types/BotInlineResult.md)\], \]; -[$messages\_channelMessages](../constructors/messages_channelMessages.md) = \['pts' => [int](../types/int.md), 'count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'collapsed' => \[[MessageGroup](../types/MessageGroup.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.channelMessages](../constructors/messages.channelMessages.md) = \['pts' => [int](../types/int.md), 'count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'collapsed' => \[[MessageGroup](../types/MessageGroup.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_chatFull](../constructors/messages_chatFull.md) = \['full_chat' => [ChatFull](../types/ChatFull.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.chatFull](../constructors/messages.chatFull.md) = \['full_chat' => [ChatFull](../types/ChatFull.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_chats](../constructors/messages_chats.md) = \['chats' => \[[Chat](../types/Chat.md)\], \]; +*** +

[$messages.chats](../constructors/messages.chats.md) = \['chats' => \[[Chat](../types/Chat.md)\], \]; -[$messages\_dhConfig](../constructors/messages_dhConfig.md) = \['g' => [int](../types/int.md), 'p' => [bytes](../types/bytes.md), 'version' => [int](../types/int.md), 'random' => [bytes](../types/bytes.md), \]; +*** +

[$messages.dhConfig](../constructors/messages.dhConfig.md) = \['g' => [int](../types/int.md), 'p' => [bytes](../types/bytes.md), 'version' => [int](../types/int.md), 'random' => [bytes](../types/bytes.md), \]; -[$messages\_dhConfigNotModified](../constructors/messages_dhConfigNotModified.md) = \['random' => [bytes](../types/bytes.md), \]; +*** +

[$messages.dhConfigNotModified](../constructors/messages.dhConfigNotModified.md) = \['random' => [bytes](../types/bytes.md), \]; -[$messages\_dialogs](../constructors/messages_dialogs.md) = \['dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.dialogs](../constructors/messages.dialogs.md) = \['dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_dialogsSlice](../constructors/messages_dialogsSlice.md) = \['count' => [int](../types/int.md), 'dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.dialogsSlice](../constructors/messages.dialogsSlice.md) = \['count' => [int](../types/int.md), 'dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_foundGifs](../constructors/messages_foundGifs.md) = \['next_offset' => [int](../types/int.md), 'results' => \[[FoundGif](../types/FoundGif.md)\], \]; +*** +

[$messages.foundGifs](../constructors/messages.foundGifs.md) = \['next_offset' => [int](../types/int.md), 'results' => \[[FoundGif](../types/FoundGif.md)\], \]; -[$messages\_messages](../constructors/messages_messages.md) = \['messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.messages](../constructors/messages.messages.md) = \['messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_messagesSlice](../constructors/messages_messagesSlice.md) = \['count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.messagesSlice](../constructors/messages.messagesSlice.md) = \['count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_savedGifs](../constructors/messages_savedGifs.md) = \['hash' => [int](../types/int.md), 'gifs' => \[[Document](../types/Document.md)\], \]; +*** +

[$messages.savedGifs](../constructors/messages.savedGifs.md) = \['hash' => [int](../types/int.md), 'gifs' => \[[Document](../types/Document.md)\], \]; -[$messages\_savedGifsNotModified](../constructors/messages_savedGifsNotModified.md) = \[\]; +*** +

[$messages.savedGifsNotModified](../constructors/messages.savedGifsNotModified.md) = \[\]; -[$messages\_sentEncryptedFile](../constructors/messages_sentEncryptedFile.md) = \['date' => [int](../types/int.md), 'file' => [EncryptedFile](../types/EncryptedFile.md), \]; +*** +

[$messages.sentEncryptedFile](../constructors/messages.sentEncryptedFile.md) = \['date' => [int](../types/int.md), 'file' => [EncryptedFile](../types/EncryptedFile.md), \]; -[$messages\_sentEncryptedMessage](../constructors/messages_sentEncryptedMessage.md) = \['date' => [int](../types/int.md), \]; +*** +

[$messages.sentEncryptedMessage](../constructors/messages.sentEncryptedMessage.md) = \['date' => [int](../types/int.md), \]; -[$messages\_stickerSet](../constructors/messages_stickerSet.md) = \['set' => [StickerSet](../types/StickerSet.md), 'packs' => \[[StickerPack](../types/StickerPack.md)\], 'documents' => \[[Document](../types/Document.md)\], \]; +*** +

[$messages.stickerSet](../constructors/messages.stickerSet.md) = \['set' => [StickerSet](../types/StickerSet.md), 'packs' => \[[StickerPack](../types/StickerPack.md)\], 'documents' => \[[Document](../types/Document.md)\], \]; -[$messages\_stickers](../constructors/messages_stickers.md) = \['hash' => [string](../types/string.md), 'stickers' => \[[Document](../types/Document.md)\], \]; +*** +

[$messages.stickers](../constructors/messages.stickers.md) = \['hash' => [string](../types/string.md), 'stickers' => \[[Document](../types/Document.md)\], \]; -[$messages\_stickersNotModified](../constructors/messages_stickersNotModified.md) = \[\]; +*** +

[$messages.stickersNotModified](../constructors/messages.stickersNotModified.md) = \[\]; ***

[$nearestDc](../constructors/nearestDc.md) = \['country' => [string](../types/string.md), 'this_dc' => [int](../types/int.md), 'nearest_dc' => [int](../types/int.md), \]; @@ -812,11 +859,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$photoSizeEmpty](../constructors/photoSizeEmpty.md) = \['type' => [string](../types/string.md), \]; *** -

[$photos\_photo](../constructors/photos_photo.md) = \['photo' => [Photo](../types/Photo.md), 'users' => \[[User](../types/User.md)\], \]; +

[$photos.photo](../constructors/photos.photo.md) = \['photo' => [Photo](../types/Photo.md), 'users' => \[[User](../types/User.md)\], \]; -[$photos\_photos](../constructors/photos_photos.md) = \['photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$photos.photos](../constructors/photos.photos.md) = \['photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$photos\_photosSlice](../constructors/photos_photosSlice.md) = \['count' => [int](../types/int.md), 'photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$photos.photosSlice](../constructors/photos.photosSlice.md) = \['count' => [int](../types/int.md), 'photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; ***

[$privacyKeyStatusTimestamp](../constructors/privacyKeyStatusTimestamp.md) = \[\]; @@ -888,25 +937,34 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$stickerSet](../constructors/stickerSet.md) = \['installed' => [Bool](../types/Bool.md), 'disabled' => [Bool](../types/Bool.md), 'official' => [Bool](../types/Bool.md), 'id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'title' => [string](../types/string.md), 'short_name' => [string](../types/string.md), 'count' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]; *** -

[$storage\_fileGif](../constructors/storage_fileGif.md) = \[\]; +

[$storage.fileGif](../constructors/storage.fileGif.md) = \[\]; -[$storage\_fileJpeg](../constructors/storage_fileJpeg.md) = \[\]; +*** +

[$storage.fileJpeg](../constructors/storage.fileJpeg.md) = \[\]; -[$storage\_fileMov](../constructors/storage_fileMov.md) = \[\]; +*** +

[$storage.fileMov](../constructors/storage.fileMov.md) = \[\]; -[$storage\_fileMp3](../constructors/storage_fileMp3.md) = \[\]; +*** +

[$storage.fileMp3](../constructors/storage.fileMp3.md) = \[\]; -[$storage\_fileMp4](../constructors/storage_fileMp4.md) = \[\]; +*** +

[$storage.fileMp4](../constructors/storage.fileMp4.md) = \[\]; -[$storage\_filePartial](../constructors/storage_filePartial.md) = \[\]; +*** +

[$storage.filePartial](../constructors/storage.filePartial.md) = \[\]; -[$storage\_filePdf](../constructors/storage_filePdf.md) = \[\]; +*** +

[$storage.filePdf](../constructors/storage.filePdf.md) = \[\]; -[$storage\_filePng](../constructors/storage_filePng.md) = \[\]; +*** +

[$storage.filePng](../constructors/storage.filePng.md) = \[\]; -[$storage\_fileUnknown](../constructors/storage_fileUnknown.md) = \[\]; +*** +

[$storage.fileUnknown](../constructors/storage.fileUnknown.md) = \[\]; -[$storage\_fileWebp](../constructors/storage_fileWebp.md) = \[\]; +*** +

[$storage.fileWebp](../constructors/storage.fileWebp.md) = \[\]; ***

[$true](../constructors/true.md) = \[\]; @@ -1055,6 +1113,27 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ***

[$updates](../constructors/updates.md) = \['updates' => \[[Update](../types/Update.md)\], 'users' => \[[User](../types/User.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'date' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; +*** +

[$updates.channelDifference](../constructors/updates.channelDifference.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), 'new_messages' => \[[Message](../types/Message.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +*** +

[$updates.channelDifferenceEmpty](../constructors/updates.channelDifferenceEmpty.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), \]; + +*** +

[$updates.channelDifferenceTooLong](../constructors/updates.channelDifferenceTooLong.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), 'top_message' => [int](../types/int.md), 'top_important_message' => [int](../types/int.md), 'read_inbox_max_id' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), 'unread_important_count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +*** +

[$updates.difference](../constructors/updates.difference.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'state' => [updates.State](../types/updates.State.md), \]; + +*** +

[$updates.differenceEmpty](../constructors/updates.differenceEmpty.md) = \['date' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; + +*** +

[$updates.differenceSlice](../constructors/updates.differenceSlice.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'intermediate_state' => [updates.State](../types/updates.State.md), \]; + +*** +

[$updates.state](../constructors/updates.state.md) = \['pts' => [int](../types/int.md), 'qts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'seq' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), \]; + ***

[$updatesCombined](../constructors/updatesCombined.md) = \['updates' => \[[Update](../types/Update.md)\], 'users' => \[[User](../types/User.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'date' => [int](../types/int.md), 'seq_start' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; @@ -1062,22 +1141,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$updatesTooLong](../constructors/updatesTooLong.md) = \[\]; *** -

[$updates\_channelDifference](../constructors/updates_channelDifference.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), 'new_messages' => \[[Message](../types/Message.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; - -[$updates\_channelDifferenceEmpty](../constructors/updates_channelDifferenceEmpty.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), \]; - -[$updates\_channelDifferenceTooLong](../constructors/updates_channelDifferenceTooLong.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), 'top_message' => [int](../types/int.md), 'top_important_message' => [int](../types/int.md), 'read_inbox_max_id' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), 'unread_important_count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; - -[$updates\_difference](../constructors/updates_difference.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'state' => [updates.State](../types/updates.State.md), \]; - -[$updates\_differenceEmpty](../constructors/updates_differenceEmpty.md) = \['date' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; - -[$updates\_differenceSlice](../constructors/updates_differenceSlice.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'intermediate_state' => [updates.State](../types/updates.State.md), \]; - -[$updates\_state](../constructors/updates_state.md) = \['pts' => [int](../types/int.md), 'qts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'seq' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), \]; - -*** -

[$upload\_file](../constructors/upload_file.md) = \['type' => [storage.FileType](../types/storage.FileType.md), 'mtime' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; +

[$upload.file](../constructors/upload.file.md) = \['type' => [storage.FileType](../types/storage.FileType.md), 'mtime' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; ***

[$user](../constructors/user.md) = \['self' => [Bool](../types/Bool.md), 'contact' => [Bool](../types/Bool.md), 'mutual_contact' => [Bool](../types/Bool.md), 'deleted' => [Bool](../types/Bool.md), 'bot' => [Bool](../types/Bool.md), 'bot_chat_history' => [Bool](../types/Bool.md), 'bot_nochats' => [Bool](../types/Bool.md), 'verified' => [Bool](../types/Bool.md), 'restricted' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), 'username' => [string](../types/string.md), 'phone' => [string](../types/string.md), 'photo' => [UserProfilePhoto](../types/UserProfilePhoto.md), 'status' => [UserStatus](../types/UserStatus.md), 'bot_info_version' => [int](../types/int.md), 'restriction_reason' => [string](../types/string.md), 'bot_inline_placeholder' => [string](../types/string.md), \]; diff --git a/old_docs/API_docs_v45/constructors/account.authorizations.md b/old_docs/API_docs_v45/constructors/account.authorizations.md new file mode 100644 index 00000000..53c961f0 --- /dev/null +++ b/old_docs/API_docs_v45/constructors/account.authorizations.md @@ -0,0 +1,38 @@ +--- +title: account.authorizations +description: Logged-in sessions +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.authorizations +[Back to constructors index](index.md) + + + +Logged-in sessions + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|authorizations|Array of [Authorization](../types/Authorization.md) | Yes|Authorizations| + + + +### Type: [account.Authorizations](../types/account.Authorizations.md) + + +### Example: + +```php +$account.authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization, Authorization]]; +``` + + +Or, if you're into Lua: + +```lua +account.authorizations={_='account.authorizations', authorizations={Authorization}} + +``` + + diff --git a/old_docs/API_docs_v45/constructors/account.noPassword.md b/old_docs/API_docs_v45/constructors/account.noPassword.md new file mode 100644 index 00000000..4dcdc515 --- /dev/null +++ b/old_docs/API_docs_v45/constructors/account.noPassword.md @@ -0,0 +1,39 @@ +--- +title: account.noPassword +description: No password +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.noPassword +[Back to constructors index](index.md) + + + +No password + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|new\_salt|[bytes](../types/bytes.md) | Yes|New salt| +|email\_unconfirmed\_pattern|[string](../types/string.md) | Yes|Email unconfirmed pattern| + + + +### Type: [account.Password](../types/account.Password.md) + + +### Example: + +```php +$account.noPassword = ['_' => 'account.noPassword', 'new_salt' => 'bytes', 'email_unconfirmed_pattern' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +account.noPassword={_='account.noPassword', new_salt='bytes', email_unconfirmed_pattern='string'} + +``` + + diff --git a/old_docs/API_docs_v45/constructors/account.password.md b/old_docs/API_docs_v45/constructors/account.password.md new file mode 100644 index 00000000..9e86a73a --- /dev/null +++ b/old_docs/API_docs_v45/constructors/account.password.md @@ -0,0 +1,42 @@ +--- +title: account.password +description: Configuration for two-factor authorization +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.password +[Back to constructors index](index.md) + + + +Configuration for two-factor authorization + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|current\_salt|[bytes](../types/bytes.md) | Yes|Current salt| +|new\_salt|[bytes](../types/bytes.md) | Yes|New salt| +|hint|[string](../types/string.md) | Yes|Text hint for the password| +|has\_recovery|[Bool](../types/Bool.md) | Yes|Has recovery?| +|email\_unconfirmed\_pattern|[string](../types/string.md) | Yes|A [password recovery email](https://core.telegram.org/api/srp#email-verification) with the specified [pattern](https://core.telegram.org/api/pattern) is still awaiting verification| + + + +### Type: [account.Password](../types/account.Password.md) + + +### Example: + +```php +$account.password = ['_' => 'account.password', 'current_salt' => 'bytes', 'new_salt' => 'bytes', 'hint' => 'string', 'has_recovery' => Bool, 'email_unconfirmed_pattern' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +account.password={_='account.password', current_salt='bytes', new_salt='bytes', hint='string', has_recovery=Bool, email_unconfirmed_pattern='string'} + +``` + + diff --git a/old_docs/API_docs_v45/constructors/account.passwordInputSettings.md b/old_docs/API_docs_v45/constructors/account.passwordInputSettings.md new file mode 100644 index 00000000..c440115a --- /dev/null +++ b/old_docs/API_docs_v45/constructors/account.passwordInputSettings.md @@ -0,0 +1,41 @@ +--- +title: account.passwordInputSettings +description: Settings for setting up a new password +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.passwordInputSettings +[Back to constructors index](index.md) + + + +Settings for setting up a new password + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|new\_salt|[bytes](../types/bytes.md) | Optional|`$new_salt = $MadelineProto->account->getPassword()['new_salt'].$MadelineProto->random(8);`| +|new\_password\_hash|[bytes](../types/bytes.md) | Optional|The [computed password hash](https://core.telegram.org/api/srp)| +|hint|[string](../types/string.md) | Optional|Text hint for the password| +|email|[string](../types/string.md) | Optional|Password recovery email| + + + +### Type: [account.PasswordInputSettings](../types/account.PasswordInputSettings.md) + + +### Example: + +```php +$account.passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_salt' => 'bytes', 'new_password_hash' => 'bytes', 'hint' => 'string', 'email' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +account.passwordInputSettings={_='account.passwordInputSettings', new_salt='bytes', new_password_hash='bytes', hint='string', email='string'} + +``` + + diff --git a/old_docs/API_docs_v45/constructors/account.passwordSettings.md b/old_docs/API_docs_v45/constructors/account.passwordSettings.md new file mode 100644 index 00000000..be899d34 --- /dev/null +++ b/old_docs/API_docs_v45/constructors/account.passwordSettings.md @@ -0,0 +1,38 @@ +--- +title: account.passwordSettings +description: Private info associated to the password info (recovery email, telegram [passport](https://core.telegram.org/passport) info & so on) +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.passwordSettings +[Back to constructors index](index.md) + + + +Private info associated to the password info (recovery email, telegram [passport](https://core.telegram.org/passport) info & so on) + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|email|[string](../types/string.md) | Yes|[2FA Recovery email](https://core.telegram.org/api/srp#email-verification)| + + + +### Type: [account.PasswordSettings](../types/account.PasswordSettings.md) + + +### Example: + +```php +$account.passwordSettings = ['_' => 'account.passwordSettings', 'email' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +account.passwordSettings={_='account.passwordSettings', email='string'} + +``` + + diff --git a/old_docs/API_docs_v45/constructors/account.privacyRules.md b/old_docs/API_docs_v45/constructors/account.privacyRules.md new file mode 100644 index 00000000..7ae04abb --- /dev/null +++ b/old_docs/API_docs_v45/constructors/account.privacyRules.md @@ -0,0 +1,39 @@ +--- +title: account.privacyRules +description: Privacy rules +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.privacyRules +[Back to constructors index](index.md) + + + +Privacy rules + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|rules|Array of [PrivacyRule](../types/PrivacyRule.md) | Yes|Rules| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [account.PrivacyRules](../types/account.PrivacyRules.md) + + +### Example: + +```php +$account.privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule, PrivacyRule], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +account.privacyRules={_='account.privacyRules', rules={PrivacyRule}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v45/constructors/account.sentChangePhoneCode.md b/old_docs/API_docs_v45/constructors/account.sentChangePhoneCode.md new file mode 100644 index 00000000..119f6af6 --- /dev/null +++ b/old_docs/API_docs_v45/constructors/account.sentChangePhoneCode.md @@ -0,0 +1,39 @@ +--- +title: account.sentChangePhoneCode +description: Sent change phone code +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.sentChangePhoneCode +[Back to constructors index](index.md) + + + +Sent change phone code + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_code\_hash|[string](../types/string.md) | Yes|Phone code hash| +|send\_call\_timeout|[int](../types/int.md) | Yes|Send call timeout| + + + +### Type: [account.SentChangePhoneCode](../types/account.SentChangePhoneCode.md) + + +### Example: + +```php +$account.sentChangePhoneCode = ['_' => 'account.sentChangePhoneCode', 'phone_code_hash' => 'string', 'send_call_timeout' => int]; +``` + + +Or, if you're into Lua: + +```lua +account.sentChangePhoneCode={_='account.sentChangePhoneCode', phone_code_hash='string', send_call_timeout=int} + +``` + + diff --git a/old_docs/API_docs_v45/constructors/account_authorizations.md b/old_docs/API_docs_v45/constructors/account_authorizations.md deleted file mode 100644 index aeae48f3..00000000 --- a/old_docs/API_docs_v45/constructors/account_authorizations.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: account.authorizations -description: Logged-in sessions -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.authorizations -[Back to constructors index](index.md) - - - -Logged-in sessions - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|authorizations|Array of [Authorization](../types/Authorization.md) | Yes|Authorizations| - - - -### Type: [account\_Authorizations](../types/account_Authorizations.md) - - -### Example: - -```php -$account_authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization, Authorization]]; -``` - - -Or, if you're into Lua: - -```lua -account_authorizations={_='account.authorizations', authorizations={Authorization}} - -``` - - diff --git a/old_docs/API_docs_v45/constructors/account_noPassword.md b/old_docs/API_docs_v45/constructors/account_noPassword.md deleted file mode 100644 index 10ef7b2a..00000000 --- a/old_docs/API_docs_v45/constructors/account_noPassword.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: account.noPassword -description: No password -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.noPassword -[Back to constructors index](index.md) - - - -No password - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|new\_salt|[bytes](../types/bytes.md) | Yes|New salt| -|email\_unconfirmed\_pattern|[string](../types/string.md) | Yes|Email unconfirmed pattern| - - - -### Type: [account\_Password](../types/account_Password.md) - - -### Example: - -```php -$account_noPassword = ['_' => 'account.noPassword', 'new_salt' => 'bytes', 'email_unconfirmed_pattern' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -account_noPassword={_='account.noPassword', new_salt='bytes', email_unconfirmed_pattern='string'} - -``` - - diff --git a/old_docs/API_docs_v45/constructors/account_password.md b/old_docs/API_docs_v45/constructors/account_password.md deleted file mode 100644 index a9f512e8..00000000 --- a/old_docs/API_docs_v45/constructors/account_password.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: account.password -description: Configuration for two-factor authorization -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.password -[Back to constructors index](index.md) - - - -Configuration for two-factor authorization - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|current\_salt|[bytes](../types/bytes.md) | Yes|Current salt| -|new\_salt|[bytes](../types/bytes.md) | Yes|New salt| -|hint|[string](../types/string.md) | Yes|Text hint for the password| -|has\_recovery|[Bool](../types/Bool.md) | Yes|Has recovery?| -|email\_unconfirmed\_pattern|[string](../types/string.md) | Yes|A [password recovery email](https://core.telegram.org/api/srp#email-verification) with the specified [pattern](https://core.telegram.org/api/pattern) is still awaiting verification| - - - -### Type: [account\_Password](../types/account_Password.md) - - -### Example: - -```php -$account_password = ['_' => 'account.password', 'current_salt' => 'bytes', 'new_salt' => 'bytes', 'hint' => 'string', 'has_recovery' => Bool, 'email_unconfirmed_pattern' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -account_password={_='account.password', current_salt='bytes', new_salt='bytes', hint='string', has_recovery=Bool, email_unconfirmed_pattern='string'} - -``` - - diff --git a/old_docs/API_docs_v45/constructors/account_passwordInputSettings.md b/old_docs/API_docs_v45/constructors/account_passwordInputSettings.md deleted file mode 100644 index 05ec666b..00000000 --- a/old_docs/API_docs_v45/constructors/account_passwordInputSettings.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: account.passwordInputSettings -description: Settings for setting up a new password -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.passwordInputSettings -[Back to constructors index](index.md) - - - -Settings for setting up a new password - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|new\_salt|[bytes](../types/bytes.md) | Optional|`$new_salt = $MadelineProto->account->getPassword()['new_salt'].$MadelineProto->random(8);`| -|new\_password\_hash|[bytes](../types/bytes.md) | Optional|The [computed password hash](https://core.telegram.org/api/srp)| -|hint|[string](../types/string.md) | Optional|Text hint for the password| -|email|[string](../types/string.md) | Optional|Password recovery email| - - - -### Type: [account\_PasswordInputSettings](../types/account_PasswordInputSettings.md) - - -### Example: - -```php -$account_passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_salt' => 'bytes', 'new_password_hash' => 'bytes', 'hint' => 'string', 'email' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -account_passwordInputSettings={_='account.passwordInputSettings', new_salt='bytes', new_password_hash='bytes', hint='string', email='string'} - -``` - - diff --git a/old_docs/API_docs_v45/constructors/account_passwordSettings.md b/old_docs/API_docs_v45/constructors/account_passwordSettings.md deleted file mode 100644 index e22f9cc4..00000000 --- a/old_docs/API_docs_v45/constructors/account_passwordSettings.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: account.passwordSettings -description: Private info associated to the password info (recovery email, telegram [passport](https://core.telegram.org/passport) info & so on) -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.passwordSettings -[Back to constructors index](index.md) - - - -Private info associated to the password info (recovery email, telegram [passport](https://core.telegram.org/passport) info & so on) - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|email|[string](../types/string.md) | Yes|[2FA Recovery email](https://core.telegram.org/api/srp#email-verification)| - - - -### Type: [account\_PasswordSettings](../types/account_PasswordSettings.md) - - -### Example: - -```php -$account_passwordSettings = ['_' => 'account.passwordSettings', 'email' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -account_passwordSettings={_='account.passwordSettings', email='string'} - -``` - - diff --git a/old_docs/API_docs_v45/constructors/account_privacyRules.md b/old_docs/API_docs_v45/constructors/account_privacyRules.md deleted file mode 100644 index 28b260b7..00000000 --- a/old_docs/API_docs_v45/constructors/account_privacyRules.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: account.privacyRules -description: Privacy rules -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.privacyRules -[Back to constructors index](index.md) - - - -Privacy rules - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|rules|Array of [PrivacyRule](../types/PrivacyRule.md) | Yes|Rules| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [account\_PrivacyRules](../types/account_PrivacyRules.md) - - -### Example: - -```php -$account_privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule, PrivacyRule], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -account_privacyRules={_='account.privacyRules', rules={PrivacyRule}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v45/constructors/account_sentChangePhoneCode.md b/old_docs/API_docs_v45/constructors/account_sentChangePhoneCode.md deleted file mode 100644 index 052ce817..00000000 --- a/old_docs/API_docs_v45/constructors/account_sentChangePhoneCode.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: account.sentChangePhoneCode -description: Sent change phone code -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.sentChangePhoneCode -[Back to constructors index](index.md) - - - -Sent change phone code - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_code\_hash|[string](../types/string.md) | Yes|Phone code hash| -|send\_call\_timeout|[int](../types/int.md) | Yes|Send call timeout| - - - -### Type: [account\_SentChangePhoneCode](../types/account_SentChangePhoneCode.md) - - -### Example: - -```php -$account_sentChangePhoneCode = ['_' => 'account.sentChangePhoneCode', 'phone_code_hash' => 'string', 'send_call_timeout' => int]; -``` - - -Or, if you're into Lua: - -```lua -account_sentChangePhoneCode={_='account.sentChangePhoneCode', phone_code_hash='string', send_call_timeout=int} - -``` - - diff --git a/old_docs/API_docs_v45/constructors/auth.authorization.md b/old_docs/API_docs_v45/constructors/auth.authorization.md new file mode 100644 index 00000000..bd034fc5 --- /dev/null +++ b/old_docs/API_docs_v45/constructors/auth.authorization.md @@ -0,0 +1,38 @@ +--- +title: auth.authorization +description: Contains user authorization info. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.authorization +[Back to constructors index](index.md) + + + +Contains user authorization info. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|user|[User](../types/User.md) | Optional|Info on authorized user| + + + +### Type: [auth.Authorization](../types/auth.Authorization.md) + + +### Example: + +```php +$auth.authorization = ['_' => 'auth.authorization', 'user' => User]; +``` + + +Or, if you're into Lua: + +```lua +auth.authorization={_='auth.authorization', user=User} + +``` + + diff --git a/old_docs/API_docs_v45/constructors/auth.checkedPhone.md b/old_docs/API_docs_v45/constructors/auth.checkedPhone.md new file mode 100644 index 00000000..23e84cf9 --- /dev/null +++ b/old_docs/API_docs_v45/constructors/auth.checkedPhone.md @@ -0,0 +1,38 @@ +--- +title: auth.checkedPhone +description: Checked phone +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.checkedPhone +[Back to constructors index](index.md) + + + +Checked phone + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_registered|[Bool](../types/Bool.md) | Yes|Phone registered?| + + + +### Type: [auth.CheckedPhone](../types/auth.CheckedPhone.md) + + +### Example: + +```php +$auth.checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool]; +``` + + +Or, if you're into Lua: + +```lua +auth.checkedPhone={_='auth.checkedPhone', phone_registered=Bool} + +``` + + diff --git a/old_docs/API_docs_v45/constructors/auth.exportedAuthorization.md b/old_docs/API_docs_v45/constructors/auth.exportedAuthorization.md new file mode 100644 index 00000000..2a4a9896 --- /dev/null +++ b/old_docs/API_docs_v45/constructors/auth.exportedAuthorization.md @@ -0,0 +1,39 @@ +--- +title: auth.exportedAuthorization +description: Data for copying of authorization between data centres. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.exportedAuthorization +[Back to constructors index](index.md) + + + +Data for copying of authorization between data centres. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|id|[int](../types/int.md) | Yes|Current user identifier| +|bytes|[bytes](../types/bytes.md) | Yes|Authorizes key| + + + +### Type: [auth.ExportedAuthorization](../types/auth.ExportedAuthorization.md) + + +### Example: + +```php +$auth.exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +auth.exportedAuthorization={_='auth.exportedAuthorization', id=int, bytes='bytes'} + +``` + + diff --git a/old_docs/API_docs_v45/constructors/auth.passwordRecovery.md b/old_docs/API_docs_v45/constructors/auth.passwordRecovery.md new file mode 100644 index 00000000..61de922d --- /dev/null +++ b/old_docs/API_docs_v45/constructors/auth.passwordRecovery.md @@ -0,0 +1,38 @@ +--- +title: auth.passwordRecovery +description: Recovery info of a [2FA password](https://core.telegram.org/api/srp), only for accounts with a [recovery email configured](https://core.telegram.org/api/srp#email-verification). +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.passwordRecovery +[Back to constructors index](index.md) + + + +Recovery info of a [2FA password](https://core.telegram.org/api/srp), only for accounts with a [recovery email configured](https://core.telegram.org/api/srp#email-verification). + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|email\_pattern|[string](../types/string.md) | Yes|The email to which the recovery code was sent must match this [pattern](https://core.telegram.org/api/pattern).| + + + +### Type: [auth.PasswordRecovery](../types/auth.PasswordRecovery.md) + + +### Example: + +```php +$auth.passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +auth.passwordRecovery={_='auth.passwordRecovery', email_pattern='string'} + +``` + + diff --git a/old_docs/API_docs_v45/constructors/auth.sentAppCode.md b/old_docs/API_docs_v45/constructors/auth.sentAppCode.md new file mode 100644 index 00000000..e4cd5ef0 --- /dev/null +++ b/old_docs/API_docs_v45/constructors/auth.sentAppCode.md @@ -0,0 +1,41 @@ +--- +title: auth.sentAppCode +description: Sent app code +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentAppCode +[Back to constructors index](index.md) + + + +Sent app code + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_registered|[Bool](../types/Bool.md) | Yes|Phone registered?| +|phone\_code\_hash|[string](../types/string.md) | Yes|Phone code hash| +|send\_call\_timeout|[int](../types/int.md) | Yes|Send call timeout| +|is\_password|[Bool](../types/Bool.md) | Yes|Is password?| + + + +### Type: [auth.SentCode](../types/auth.SentCode.md) + + +### Example: + +```php +$auth.sentAppCode = ['_' => 'auth.sentAppCode', 'phone_registered' => Bool, 'phone_code_hash' => 'string', 'send_call_timeout' => int, 'is_password' => Bool]; +``` + + +Or, if you're into Lua: + +```lua +auth.sentAppCode={_='auth.sentAppCode', phone_registered=Bool, phone_code_hash='string', send_call_timeout=int, is_password=Bool} + +``` + + diff --git a/old_docs/API_docs_v45/constructors/auth.sentCode.md b/old_docs/API_docs_v45/constructors/auth.sentCode.md new file mode 100644 index 00000000..c81a8042 --- /dev/null +++ b/old_docs/API_docs_v45/constructors/auth.sentCode.md @@ -0,0 +1,41 @@ +--- +title: auth.sentCode +description: Contains info about a sent verification code. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentCode +[Back to constructors index](index.md) + + + +Contains info about a sent verification code. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_registered|[Bool](../types/Bool.md) | Yes|Phone registered?| +|phone\_code\_hash|[string](../types/string.md) | Yes|Phone code hash, to be stored and later re-used with [auth.signIn](../methods/auth.signIn.md)| +|send\_call\_timeout|[int](../types/int.md) | Yes|Send call timeout| +|is\_password|[Bool](../types/Bool.md) | Yes|Is password?| + + + +### Type: [auth.SentCode](../types/auth.SentCode.md) + + +### Example: + +```php +$auth.sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'phone_code_hash' => 'string', 'send_call_timeout' => int, 'is_password' => Bool]; +``` + + +Or, if you're into Lua: + +```lua +auth.sentCode={_='auth.sentCode', phone_registered=Bool, phone_code_hash='string', send_call_timeout=int, is_password=Bool} + +``` + + diff --git a/old_docs/API_docs_v45/constructors/auth_authorization.md b/old_docs/API_docs_v45/constructors/auth_authorization.md deleted file mode 100644 index 07d223a1..00000000 --- a/old_docs/API_docs_v45/constructors/auth_authorization.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.authorization -description: Contains user authorization info. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.authorization -[Back to constructors index](index.md) - - - -Contains user authorization info. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|user|[User](../types/User.md) | Optional|Info on authorized user| - - - -### Type: [auth\_Authorization](../types/auth_Authorization.md) - - -### Example: - -```php -$auth_authorization = ['_' => 'auth.authorization', 'user' => User]; -``` - - -Or, if you're into Lua: - -```lua -auth_authorization={_='auth.authorization', user=User} - -``` - - diff --git a/old_docs/API_docs_v45/constructors/auth_checkedPhone.md b/old_docs/API_docs_v45/constructors/auth_checkedPhone.md deleted file mode 100644 index c77becf6..00000000 --- a/old_docs/API_docs_v45/constructors/auth_checkedPhone.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.checkedPhone -description: Checked phone -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.checkedPhone -[Back to constructors index](index.md) - - - -Checked phone - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_registered|[Bool](../types/Bool.md) | Yes|Phone registered?| - - - -### Type: [auth\_CheckedPhone](../types/auth_CheckedPhone.md) - - -### Example: - -```php -$auth_checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool]; -``` - - -Or, if you're into Lua: - -```lua -auth_checkedPhone={_='auth.checkedPhone', phone_registered=Bool} - -``` - - diff --git a/old_docs/API_docs_v45/constructors/auth_exportedAuthorization.md b/old_docs/API_docs_v45/constructors/auth_exportedAuthorization.md deleted file mode 100644 index 8d18916e..00000000 --- a/old_docs/API_docs_v45/constructors/auth_exportedAuthorization.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: auth.exportedAuthorization -description: Data for copying of authorization between data centres. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.exportedAuthorization -[Back to constructors index](index.md) - - - -Data for copying of authorization between data centres. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|id|[int](../types/int.md) | Yes|Current user identifier| -|bytes|[bytes](../types/bytes.md) | Yes|Authorizes key| - - - -### Type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) - - -### Example: - -```php -$auth_exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -auth_exportedAuthorization={_='auth.exportedAuthorization', id=int, bytes='bytes'} - -``` - - diff --git a/old_docs/API_docs_v45/constructors/auth_passwordRecovery.md b/old_docs/API_docs_v45/constructors/auth_passwordRecovery.md deleted file mode 100644 index c40f375e..00000000 --- a/old_docs/API_docs_v45/constructors/auth_passwordRecovery.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.passwordRecovery -description: Recovery info of a [2FA password](https://core.telegram.org/api/srp), only for accounts with a [recovery email configured](https://core.telegram.org/api/srp#email-verification). -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.passwordRecovery -[Back to constructors index](index.md) - - - -Recovery info of a [2FA password](https://core.telegram.org/api/srp), only for accounts with a [recovery email configured](https://core.telegram.org/api/srp#email-verification). - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|email\_pattern|[string](../types/string.md) | Yes|The email to which the recovery code was sent must match this [pattern](https://core.telegram.org/api/pattern).| - - - -### Type: [auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) - - -### Example: - -```php -$auth_passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -auth_passwordRecovery={_='auth.passwordRecovery', email_pattern='string'} - -``` - - diff --git a/old_docs/API_docs_v45/constructors/auth_sentAppCode.md b/old_docs/API_docs_v45/constructors/auth_sentAppCode.md deleted file mode 100644 index f61b0eb9..00000000 --- a/old_docs/API_docs_v45/constructors/auth_sentAppCode.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: auth.sentAppCode -description: Sent app code -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentAppCode -[Back to constructors index](index.md) - - - -Sent app code - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_registered|[Bool](../types/Bool.md) | Yes|Phone registered?| -|phone\_code\_hash|[string](../types/string.md) | Yes|Phone code hash| -|send\_call\_timeout|[int](../types/int.md) | Yes|Send call timeout| -|is\_password|[Bool](../types/Bool.md) | Yes|Is password?| - - - -### Type: [auth\_SentCode](../types/auth_SentCode.md) - - -### Example: - -```php -$auth_sentAppCode = ['_' => 'auth.sentAppCode', 'phone_registered' => Bool, 'phone_code_hash' => 'string', 'send_call_timeout' => int, 'is_password' => Bool]; -``` - - -Or, if you're into Lua: - -```lua -auth_sentAppCode={_='auth.sentAppCode', phone_registered=Bool, phone_code_hash='string', send_call_timeout=int, is_password=Bool} - -``` - - diff --git a/old_docs/API_docs_v45/constructors/auth_sentCode.md b/old_docs/API_docs_v45/constructors/auth_sentCode.md deleted file mode 100644 index 28a9ac2f..00000000 --- a/old_docs/API_docs_v45/constructors/auth_sentCode.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: auth.sentCode -description: Contains info about a sent verification code. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentCode -[Back to constructors index](index.md) - - - -Contains info about a sent verification code. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_registered|[Bool](../types/Bool.md) | Yes|Phone registered?| -|phone\_code\_hash|[string](../types/string.md) | Yes|Phone code hash, to be stored and later re-used with [auth.signIn](../methods/auth.signIn.md)| -|send\_call\_timeout|[int](../types/int.md) | Yes|Send call timeout| -|is\_password|[Bool](../types/Bool.md) | Yes|Is password?| - - - -### Type: [auth\_SentCode](../types/auth_SentCode.md) - - -### Example: - -```php -$auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'phone_code_hash' => 'string', 'send_call_timeout' => int, 'is_password' => Bool]; -``` - - -Or, if you're into Lua: - -```lua -auth_sentCode={_='auth.sentCode', phone_registered=Bool, phone_code_hash='string', send_call_timeout=int, is_password=Bool} - -``` - - diff --git a/old_docs/API_docs_v45/constructors/channels.channelParticipant.md b/old_docs/API_docs_v45/constructors/channels.channelParticipant.md new file mode 100644 index 00000000..0f09777f --- /dev/null +++ b/old_docs/API_docs_v45/constructors/channels.channelParticipant.md @@ -0,0 +1,39 @@ +--- +title: channels.channelParticipant +description: Represents a channel participant +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: channels.channelParticipant +[Back to constructors index](index.md) + + + +Represents a channel participant + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|participant|[ChannelParticipant](../types/ChannelParticipant.md) | Yes|The channel participant| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [channels.ChannelParticipant](../types/channels.ChannelParticipant.md) + + +### Example: + +```php +$channels.channelParticipant = ['_' => 'channels.channelParticipant', 'participant' => ChannelParticipant, 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +channels.channelParticipant={_='channels.channelParticipant', participant=ChannelParticipant, users={User}} + +``` + + diff --git a/old_docs/API_docs_v45/constructors/channels.channelParticipants.md b/old_docs/API_docs_v45/constructors/channels.channelParticipants.md new file mode 100644 index 00000000..6ee1a8b3 --- /dev/null +++ b/old_docs/API_docs_v45/constructors/channels.channelParticipants.md @@ -0,0 +1,40 @@ +--- +title: channels.channelParticipants +description: Represents multiple channel participants +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: channels.channelParticipants +[Back to constructors index](index.md) + + + +Represents multiple channel participants + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of participants that correspond to the given query| +|participants|Array of [ChannelParticipant](../types/ChannelParticipant.md) | Yes|Participants| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [channels.ChannelParticipants](../types/channels.ChannelParticipants.md) + + +### Example: + +```php +$channels.channelParticipants = ['_' => 'channels.channelParticipants', 'count' => int, 'participants' => [ChannelParticipant, ChannelParticipant], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +channels.channelParticipants={_='channels.channelParticipants', count=int, participants={ChannelParticipant}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v45/constructors/channels_channelParticipant.md b/old_docs/API_docs_v45/constructors/channels_channelParticipant.md deleted file mode 100644 index 15fe46a4..00000000 --- a/old_docs/API_docs_v45/constructors/channels_channelParticipant.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: channels.channelParticipant -description: Represents a channel participant -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: channels.channelParticipant -[Back to constructors index](index.md) - - - -Represents a channel participant - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|participant|[ChannelParticipant](../types/ChannelParticipant.md) | Yes|The channel participant| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [channels\_ChannelParticipant](../types/channels_ChannelParticipant.md) - - -### Example: - -```php -$channels_channelParticipant = ['_' => 'channels.channelParticipant', 'participant' => ChannelParticipant, 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -channels_channelParticipant={_='channels.channelParticipant', participant=ChannelParticipant, users={User}} - -``` - - diff --git a/old_docs/API_docs_v45/constructors/channels_channelParticipants.md b/old_docs/API_docs_v45/constructors/channels_channelParticipants.md deleted file mode 100644 index 1848a04f..00000000 --- a/old_docs/API_docs_v45/constructors/channels_channelParticipants.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: channels.channelParticipants -description: Represents multiple channel participants -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: channels.channelParticipants -[Back to constructors index](index.md) - - - -Represents multiple channel participants - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of participants that correspond to the given query| -|participants|Array of [ChannelParticipant](../types/ChannelParticipant.md) | Yes|Participants| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [channels\_ChannelParticipants](../types/channels_ChannelParticipants.md) - - -### Example: - -```php -$channels_channelParticipants = ['_' => 'channels.channelParticipants', 'count' => int, 'participants' => [ChannelParticipant, ChannelParticipant], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -channels_channelParticipants={_='channels.channelParticipants', count=int, participants={ChannelParticipant}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v45/constructors/contacts.blocked.md b/old_docs/API_docs_v45/constructors/contacts.blocked.md new file mode 100644 index 00000000..d2b3f680 --- /dev/null +++ b/old_docs/API_docs_v45/constructors/contacts.blocked.md @@ -0,0 +1,39 @@ +--- +title: contacts.blocked +description: Full list of blocked users. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.blocked +[Back to constructors index](index.md) + + + +Full list of blocked users. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Blocked](../types/contacts.Blocked.md) + + +### Example: + +```php +$contacts.blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.blocked={_='contacts.blocked', blocked={ContactBlocked}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v45/constructors/contacts.blockedSlice.md b/old_docs/API_docs_v45/constructors/contacts.blockedSlice.md new file mode 100644 index 00000000..92d19c72 --- /dev/null +++ b/old_docs/API_docs_v45/constructors/contacts.blockedSlice.md @@ -0,0 +1,40 @@ +--- +title: contacts.blockedSlice +description: Incomplete list of blocked users. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.blockedSlice +[Back to constructors index](index.md) + + + +Incomplete list of blocked users. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of elements in the list| +|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Blocked](../types/contacts.Blocked.md) + + +### Example: + +```php +$contacts.blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.blockedSlice={_='contacts.blockedSlice', count=int, blocked={ContactBlocked}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v45/constructors/contacts.contacts.md b/old_docs/API_docs_v45/constructors/contacts.contacts.md new file mode 100644 index 00000000..d4ccc018 --- /dev/null +++ b/old_docs/API_docs_v45/constructors/contacts.contacts.md @@ -0,0 +1,39 @@ +--- +title: contacts.contacts +description: The current user's contact list and info on users. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.contacts +[Back to constructors index](index.md) + + + +The current user's contact list and info on users. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|contacts|Array of [Contact](../types/Contact.md) | Yes|Contacts| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Contacts](../types/contacts.Contacts.md) + + +### Example: + +```php +$contacts.contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact, Contact], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.contacts={_='contacts.contacts', contacts={Contact}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v45/constructors/contacts.contactsNotModified.md b/old_docs/API_docs_v45/constructors/contacts.contactsNotModified.md new file mode 100644 index 00000000..e2149396 --- /dev/null +++ b/old_docs/API_docs_v45/constructors/contacts.contactsNotModified.md @@ -0,0 +1,33 @@ +--- +title: contacts.contactsNotModified +description: Contact list on the server is the same as the list on the client. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.contactsNotModified +[Back to constructors index](index.md) + + + +Contact list on the server is the same as the list on the client. + + + + +### Type: [contacts.Contacts](../types/contacts.Contacts.md) + + +### Example: + +```php +$contacts.contactsNotModified = ['_' => 'contacts.contactsNotModified']; +``` + + +Or, if you're into Lua: + +```lua +contacts.contactsNotModified={_='contacts.contactsNotModified'} + +``` + + diff --git a/old_docs/API_docs_v45/constructors/contacts.found.md b/old_docs/API_docs_v45/constructors/contacts.found.md new file mode 100644 index 00000000..1eaa93b7 --- /dev/null +++ b/old_docs/API_docs_v45/constructors/contacts.found.md @@ -0,0 +1,40 @@ +--- +title: contacts.found +description: Users found by name substring and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.found +[Back to constructors index](index.md) + + + +Users found by name substring and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|results|Array of [Peer](../types/Peer.md) | Yes|Results| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Found](../types/contacts.Found.md) + + +### Example: + +```php +$contacts.found = ['_' => 'contacts.found', 'results' => [Peer, Peer], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.found={_='contacts.found', results={Peer}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v45/constructors/contacts.importedContacts.md b/old_docs/API_docs_v45/constructors/contacts.importedContacts.md new file mode 100644 index 00000000..1cbff59a --- /dev/null +++ b/old_docs/API_docs_v45/constructors/contacts.importedContacts.md @@ -0,0 +1,40 @@ +--- +title: contacts.importedContacts +description: Info on succesfully imported contacts. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.importedContacts +[Back to constructors index](index.md) + + + +Info on succesfully imported contacts. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|imported|Array of [ImportedContact](../types/ImportedContact.md) | Yes|Imported| +|retry\_contacts|Array of [long](../types/long.md) | Yes|Retry importing contacts whose client IDs appear here| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.ImportedContacts](../types/contacts.ImportedContacts.md) + + +### Example: + +```php +$contacts.importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact, ImportedContact], 'retry_contacts' => [long, long], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.importedContacts={_='contacts.importedContacts', imported={ImportedContact}, retry_contacts={long}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v45/constructors/contacts.link.md b/old_docs/API_docs_v45/constructors/contacts.link.md new file mode 100644 index 00000000..ab150a0d --- /dev/null +++ b/old_docs/API_docs_v45/constructors/contacts.link.md @@ -0,0 +1,40 @@ +--- +title: contacts.link +description: Link +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.link +[Back to constructors index](index.md) + + + +Link + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|my\_link|[ContactLink](../types/ContactLink.md) | Yes|My link| +|foreign\_link|[ContactLink](../types/ContactLink.md) | Yes|Foreign link| +|user|[User](../types/User.md) | Optional|User| + + + +### Type: [contacts.Link](../types/contacts.Link.md) + + +### Example: + +```php +$contacts.link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User]; +``` + + +Or, if you're into Lua: + +```lua +contacts.link={_='contacts.link', my_link=ContactLink, foreign_link=ContactLink, user=User} + +``` + + diff --git a/old_docs/API_docs_v45/constructors/contacts.resolvedPeer.md b/old_docs/API_docs_v45/constructors/contacts.resolvedPeer.md new file mode 100644 index 00000000..35d88481 --- /dev/null +++ b/old_docs/API_docs_v45/constructors/contacts.resolvedPeer.md @@ -0,0 +1,40 @@ +--- +title: contacts.resolvedPeer +description: Resolved peer +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.resolvedPeer +[Back to constructors index](index.md) + + + +Resolved peer + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|peer|[Peer](../types/Peer.md) | Yes|The peer| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.ResolvedPeer](../types/contacts.ResolvedPeer.md) + + +### Example: + +```php +$contacts.resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.resolvedPeer={_='contacts.resolvedPeer', peer=Peer, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v45/constructors/contacts.suggested.md b/old_docs/API_docs_v45/constructors/contacts.suggested.md new file mode 100644 index 00000000..b9a56bec --- /dev/null +++ b/old_docs/API_docs_v45/constructors/contacts.suggested.md @@ -0,0 +1,39 @@ +--- +title: contacts.suggested +description: Suggested +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.suggested +[Back to constructors index](index.md) + + + +Suggested + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|results|Array of [ContactSuggested](../types/ContactSuggested.md) | Yes|Results| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Suggested](../types/contacts.Suggested.md) + + +### Example: + +```php +$contacts.suggested = ['_' => 'contacts.suggested', 'results' => [ContactSuggested, ContactSuggested], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.suggested={_='contacts.suggested', results={ContactSuggested}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v45/constructors/contacts_blocked.md b/old_docs/API_docs_v45/constructors/contacts_blocked.md deleted file mode 100644 index 20e33002..00000000 --- a/old_docs/API_docs_v45/constructors/contacts_blocked.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: contacts.blocked -description: Full list of blocked users. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.blocked -[Back to constructors index](index.md) - - - -Full list of blocked users. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Blocked](../types/contacts_Blocked.md) - - -### Example: - -```php -$contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_blocked={_='contacts.blocked', blocked={ContactBlocked}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v45/constructors/contacts_blockedSlice.md b/old_docs/API_docs_v45/constructors/contacts_blockedSlice.md deleted file mode 100644 index fcab9a28..00000000 --- a/old_docs/API_docs_v45/constructors/contacts_blockedSlice.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.blockedSlice -description: Incomplete list of blocked users. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.blockedSlice -[Back to constructors index](index.md) - - - -Incomplete list of blocked users. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of elements in the list| -|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Blocked](../types/contacts_Blocked.md) - - -### Example: - -```php -$contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_blockedSlice={_='contacts.blockedSlice', count=int, blocked={ContactBlocked}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v45/constructors/contacts_contacts.md b/old_docs/API_docs_v45/constructors/contacts_contacts.md deleted file mode 100644 index f101b34b..00000000 --- a/old_docs/API_docs_v45/constructors/contacts_contacts.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: contacts.contacts -description: The current user's contact list and info on users. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.contacts -[Back to constructors index](index.md) - - - -The current user's contact list and info on users. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|contacts|Array of [Contact](../types/Contact.md) | Yes|Contacts| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Contacts](../types/contacts_Contacts.md) - - -### Example: - -```php -$contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact, Contact], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_contacts={_='contacts.contacts', contacts={Contact}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v45/constructors/contacts_contactsNotModified.md b/old_docs/API_docs_v45/constructors/contacts_contactsNotModified.md deleted file mode 100644 index 17e76ac3..00000000 --- a/old_docs/API_docs_v45/constructors/contacts_contactsNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: contacts.contactsNotModified -description: Contact list on the server is the same as the list on the client. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.contactsNotModified -[Back to constructors index](index.md) - - - -Contact list on the server is the same as the list on the client. - - - - -### Type: [contacts\_Contacts](../types/contacts_Contacts.md) - - -### Example: - -```php -$contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified']; -``` - - -Or, if you're into Lua: - -```lua -contacts_contactsNotModified={_='contacts.contactsNotModified'} - -``` - - diff --git a/old_docs/API_docs_v45/constructors/contacts_found.md b/old_docs/API_docs_v45/constructors/contacts_found.md deleted file mode 100644 index 0674aabf..00000000 --- a/old_docs/API_docs_v45/constructors/contacts_found.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.found -description: Users found by name substring and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.found -[Back to constructors index](index.md) - - - -Users found by name substring and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|results|Array of [Peer](../types/Peer.md) | Yes|Results| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Found](../types/contacts_Found.md) - - -### Example: - -```php -$contacts_found = ['_' => 'contacts.found', 'results' => [Peer, Peer], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_found={_='contacts.found', results={Peer}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v45/constructors/contacts_importedContacts.md b/old_docs/API_docs_v45/constructors/contacts_importedContacts.md deleted file mode 100644 index 121d96d1..00000000 --- a/old_docs/API_docs_v45/constructors/contacts_importedContacts.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.importedContacts -description: Info on succesfully imported contacts. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.importedContacts -[Back to constructors index](index.md) - - - -Info on succesfully imported contacts. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|imported|Array of [ImportedContact](../types/ImportedContact.md) | Yes|Imported| -|retry\_contacts|Array of [long](../types/long.md) | Yes|Retry importing contacts whose client IDs appear here| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) - - -### Example: - -```php -$contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact, ImportedContact], 'retry_contacts' => [long, long], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_importedContacts={_='contacts.importedContacts', imported={ImportedContact}, retry_contacts={long}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v45/constructors/contacts_link.md b/old_docs/API_docs_v45/constructors/contacts_link.md deleted file mode 100644 index cfc566c7..00000000 --- a/old_docs/API_docs_v45/constructors/contacts_link.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.link -description: Link -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.link -[Back to constructors index](index.md) - - - -Link - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|my\_link|[ContactLink](../types/ContactLink.md) | Yes|My link| -|foreign\_link|[ContactLink](../types/ContactLink.md) | Yes|Foreign link| -|user|[User](../types/User.md) | Optional|User| - - - -### Type: [contacts\_Link](../types/contacts_Link.md) - - -### Example: - -```php -$contacts_link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User]; -``` - - -Or, if you're into Lua: - -```lua -contacts_link={_='contacts.link', my_link=ContactLink, foreign_link=ContactLink, user=User} - -``` - - diff --git a/old_docs/API_docs_v45/constructors/contacts_resolvedPeer.md b/old_docs/API_docs_v45/constructors/contacts_resolvedPeer.md deleted file mode 100644 index aae3c7af..00000000 --- a/old_docs/API_docs_v45/constructors/contacts_resolvedPeer.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.resolvedPeer -description: Resolved peer -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.resolvedPeer -[Back to constructors index](index.md) - - - -Resolved peer - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|peer|[Peer](../types/Peer.md) | Yes|The peer| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_ResolvedPeer](../types/contacts_ResolvedPeer.md) - - -### Example: - -```php -$contacts_resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_resolvedPeer={_='contacts.resolvedPeer', peer=Peer, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v45/constructors/contacts_suggested.md b/old_docs/API_docs_v45/constructors/contacts_suggested.md deleted file mode 100644 index 9bdba0b7..00000000 --- a/old_docs/API_docs_v45/constructors/contacts_suggested.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: contacts.suggested -description: Suggested -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.suggested -[Back to constructors index](index.md) - - - -Suggested - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|results|Array of [ContactSuggested](../types/ContactSuggested.md) | Yes|Results| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Suggested](../types/contacts_Suggested.md) - - -### Example: - -```php -$contacts_suggested = ['_' => 'contacts.suggested', 'results' => [ContactSuggested, ContactSuggested], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_suggested={_='contacts.suggested', results={ContactSuggested}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v45/constructors/help.appChangelog.md b/old_docs/API_docs_v45/constructors/help.appChangelog.md new file mode 100644 index 00000000..dec6b96c --- /dev/null +++ b/old_docs/API_docs_v45/constructors/help.appChangelog.md @@ -0,0 +1,38 @@ +--- +title: help.appChangelog +description: App changelog +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.appChangelog +[Back to constructors index](index.md) + + + +App changelog + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|text|[string](../types/string.md) | Yes|Text| + + + +### Type: [help.AppChangelog](../types/help.AppChangelog.md) + + +### Example: + +```php +$help.appChangelog = ['_' => 'help.appChangelog', 'text' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +help.appChangelog={_='help.appChangelog', text='string'} + +``` + + diff --git a/old_docs/API_docs_v45/constructors/help.appChangelogEmpty.md b/old_docs/API_docs_v45/constructors/help.appChangelogEmpty.md new file mode 100644 index 00000000..6ecb71af --- /dev/null +++ b/old_docs/API_docs_v45/constructors/help.appChangelogEmpty.md @@ -0,0 +1,33 @@ +--- +title: help.appChangelogEmpty +description: Empty app changelog +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.appChangelogEmpty +[Back to constructors index](index.md) + + + +Empty app changelog + + + + +### Type: [help.AppChangelog](../types/help.AppChangelog.md) + + +### Example: + +```php +$help.appChangelogEmpty = ['_' => 'help.appChangelogEmpty']; +``` + + +Or, if you're into Lua: + +```lua +help.appChangelogEmpty={_='help.appChangelogEmpty'} + +``` + + diff --git a/old_docs/API_docs_v45/constructors/help.appUpdate.md b/old_docs/API_docs_v45/constructors/help.appUpdate.md new file mode 100644 index 00000000..14b2d75b --- /dev/null +++ b/old_docs/API_docs_v45/constructors/help.appUpdate.md @@ -0,0 +1,41 @@ +--- +title: help.appUpdate +description: An update is available for the application. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.appUpdate +[Back to constructors index](index.md) + + + +An update is available for the application. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|id|[int](../types/int.md) | Yes|Update ID| +|critical|[Bool](../types/Bool.md) | Yes|Critical?| +|url|[string](../types/string.md) | Yes|Application download URL| +|text|[string](../types/string.md) | Yes|Text description of the update| + + + +### Type: [help.AppUpdate](../types/help.AppUpdate.md) + + +### Example: + +```php +$help.appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'url' => 'string', 'text' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +help.appUpdate={_='help.appUpdate', id=int, critical=Bool, url='string', text='string'} + +``` + + diff --git a/old_docs/API_docs_v45/constructors/help.inviteText.md b/old_docs/API_docs_v45/constructors/help.inviteText.md new file mode 100644 index 00000000..6a6261c1 --- /dev/null +++ b/old_docs/API_docs_v45/constructors/help.inviteText.md @@ -0,0 +1,38 @@ +--- +title: help.inviteText +description: Text of a text message with an invitation to install application. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.inviteText +[Back to constructors index](index.md) + + + +Text of a text message with an invitation to install application. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|message|[string](../types/string.md) | Yes|Text of a message| + + + +### Type: [help.InviteText](../types/help.InviteText.md) + + +### Example: + +```php +$help.inviteText = ['_' => 'help.inviteText', 'message' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +help.inviteText={_='help.inviteText', message='string'} + +``` + + diff --git a/old_docs/API_docs_v45/constructors/help.noAppUpdate.md b/old_docs/API_docs_v45/constructors/help.noAppUpdate.md new file mode 100644 index 00000000..1b69ac9a --- /dev/null +++ b/old_docs/API_docs_v45/constructors/help.noAppUpdate.md @@ -0,0 +1,33 @@ +--- +title: help.noAppUpdate +description: No updates are available for the application. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.noAppUpdate +[Back to constructors index](index.md) + + + +No updates are available for the application. + + + + +### Type: [help.AppUpdate](../types/help.AppUpdate.md) + + +### Example: + +```php +$help.noAppUpdate = ['_' => 'help.noAppUpdate']; +``` + + +Or, if you're into Lua: + +```lua +help.noAppUpdate={_='help.noAppUpdate'} + +``` + + diff --git a/old_docs/API_docs_v45/constructors/help.support.md b/old_docs/API_docs_v45/constructors/help.support.md new file mode 100644 index 00000000..4d4f85fb --- /dev/null +++ b/old_docs/API_docs_v45/constructors/help.support.md @@ -0,0 +1,39 @@ +--- +title: help.support +description: Info on support user. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.support +[Back to constructors index](index.md) + + + +Info on support user. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_number|[string](../types/string.md) | Yes|Phone number| +|user|[User](../types/User.md) | Optional|User| + + + +### Type: [help.Support](../types/help.Support.md) + + +### Example: + +```php +$help.support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => User]; +``` + + +Or, if you're into Lua: + +```lua +help.support={_='help.support', phone_number='string', user=User} + +``` + + diff --git a/old_docs/API_docs_v45/constructors/help.termsOfService.md b/old_docs/API_docs_v45/constructors/help.termsOfService.md new file mode 100644 index 00000000..cab1f128 --- /dev/null +++ b/old_docs/API_docs_v45/constructors/help.termsOfService.md @@ -0,0 +1,38 @@ +--- +title: help.termsOfService +description: Info about the latest telegram Terms Of Service +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.termsOfService +[Back to constructors index](index.md) + + + +Info about the latest telegram Terms Of Service + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|text|[string](../types/string.md) | Yes|Text of the new terms| + + + +### Type: [help.TermsOfService](../types/help.TermsOfService.md) + + +### Example: + +```php +$help.termsOfService = ['_' => 'help.termsOfService', 'text' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +help.termsOfService={_='help.termsOfService', text='string'} + +``` + + diff --git a/old_docs/API_docs_v45/constructors/help_appChangelog.md b/old_docs/API_docs_v45/constructors/help_appChangelog.md deleted file mode 100644 index 793a8fc4..00000000 --- a/old_docs/API_docs_v45/constructors/help_appChangelog.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: help.appChangelog -description: App changelog -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.appChangelog -[Back to constructors index](index.md) - - - -App changelog - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|text|[string](../types/string.md) | Yes|Text| - - - -### Type: [help\_AppChangelog](../types/help_AppChangelog.md) - - -### Example: - -```php -$help_appChangelog = ['_' => 'help.appChangelog', 'text' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -help_appChangelog={_='help.appChangelog', text='string'} - -``` - - diff --git a/old_docs/API_docs_v45/constructors/help_appChangelogEmpty.md b/old_docs/API_docs_v45/constructors/help_appChangelogEmpty.md deleted file mode 100644 index 62a195bb..00000000 --- a/old_docs/API_docs_v45/constructors/help_appChangelogEmpty.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: help.appChangelogEmpty -description: Empty app changelog -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.appChangelogEmpty -[Back to constructors index](index.md) - - - -Empty app changelog - - - - -### Type: [help\_AppChangelog](../types/help_AppChangelog.md) - - -### Example: - -```php -$help_appChangelogEmpty = ['_' => 'help.appChangelogEmpty']; -``` - - -Or, if you're into Lua: - -```lua -help_appChangelogEmpty={_='help.appChangelogEmpty'} - -``` - - diff --git a/old_docs/API_docs_v45/constructors/help_appUpdate.md b/old_docs/API_docs_v45/constructors/help_appUpdate.md deleted file mode 100644 index efba9bdb..00000000 --- a/old_docs/API_docs_v45/constructors/help_appUpdate.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: help.appUpdate -description: An update is available for the application. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.appUpdate -[Back to constructors index](index.md) - - - -An update is available for the application. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|id|[int](../types/int.md) | Yes|Update ID| -|critical|[Bool](../types/Bool.md) | Yes|Critical?| -|url|[string](../types/string.md) | Yes|Application download URL| -|text|[string](../types/string.md) | Yes|Text description of the update| - - - -### Type: [help\_AppUpdate](../types/help_AppUpdate.md) - - -### Example: - -```php -$help_appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'url' => 'string', 'text' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -help_appUpdate={_='help.appUpdate', id=int, critical=Bool, url='string', text='string'} - -``` - - diff --git a/old_docs/API_docs_v45/constructors/help_inviteText.md b/old_docs/API_docs_v45/constructors/help_inviteText.md deleted file mode 100644 index b8317ce3..00000000 --- a/old_docs/API_docs_v45/constructors/help_inviteText.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: help.inviteText -description: Text of a text message with an invitation to install application. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.inviteText -[Back to constructors index](index.md) - - - -Text of a text message with an invitation to install application. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|message|[string](../types/string.md) | Yes|Text of a message| - - - -### Type: [help\_InviteText](../types/help_InviteText.md) - - -### Example: - -```php -$help_inviteText = ['_' => 'help.inviteText', 'message' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -help_inviteText={_='help.inviteText', message='string'} - -``` - - diff --git a/old_docs/API_docs_v45/constructors/help_noAppUpdate.md b/old_docs/API_docs_v45/constructors/help_noAppUpdate.md deleted file mode 100644 index 51505e52..00000000 --- a/old_docs/API_docs_v45/constructors/help_noAppUpdate.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: help.noAppUpdate -description: No updates are available for the application. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.noAppUpdate -[Back to constructors index](index.md) - - - -No updates are available for the application. - - - - -### Type: [help\_AppUpdate](../types/help_AppUpdate.md) - - -### Example: - -```php -$help_noAppUpdate = ['_' => 'help.noAppUpdate']; -``` - - -Or, if you're into Lua: - -```lua -help_noAppUpdate={_='help.noAppUpdate'} - -``` - - diff --git a/old_docs/API_docs_v45/constructors/help_support.md b/old_docs/API_docs_v45/constructors/help_support.md deleted file mode 100644 index 148f7f42..00000000 --- a/old_docs/API_docs_v45/constructors/help_support.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: help.support -description: Info on support user. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.support -[Back to constructors index](index.md) - - - -Info on support user. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_number|[string](../types/string.md) | Yes|Phone number| -|user|[User](../types/User.md) | Optional|User| - - - -### Type: [help\_Support](../types/help_Support.md) - - -### Example: - -```php -$help_support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => User]; -``` - - -Or, if you're into Lua: - -```lua -help_support={_='help.support', phone_number='string', user=User} - -``` - - diff --git a/old_docs/API_docs_v45/constructors/help_termsOfService.md b/old_docs/API_docs_v45/constructors/help_termsOfService.md deleted file mode 100644 index 2ac763b3..00000000 --- a/old_docs/API_docs_v45/constructors/help_termsOfService.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: help.termsOfService -description: Info about the latest telegram Terms Of Service -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.termsOfService -[Back to constructors index](index.md) - - - -Info about the latest telegram Terms Of Service - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|text|[string](../types/string.md) | Yes|Text of the new terms| - - - -### Type: [help\_TermsOfService](../types/help_TermsOfService.md) - - -### Example: - -```php -$help_termsOfService = ['_' => 'help.termsOfService', 'text' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -help_termsOfService={_='help.termsOfService', text='string'} - -``` - - diff --git a/old_docs/API_docs_v45/constructors/messages.affectedHistory.md b/old_docs/API_docs_v45/constructors/messages.affectedHistory.md new file mode 100644 index 00000000..5fc8acec --- /dev/null +++ b/old_docs/API_docs_v45/constructors/messages.affectedHistory.md @@ -0,0 +1,40 @@ +--- +title: messages.affectedHistory +description: Affected part of communication history with the user or in a chat. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.affectedHistory +[Back to constructors index](index.md) + + + +Affected part of communication history with the user or in a chat. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| +|pts\_count|[int](../types/int.md) | Yes|Number of affected events| +|offset|[int](../types/int.md) | Yes|If a parameter contains positive value, it is necessary to repeat the method call using the given value; during the proceeding of all the history the value itself shall gradually decrease| + + + +### Type: [messages.AffectedHistory](../types/messages.AffectedHistory.md) + + +### Example: + +```php +$messages.affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.affectedHistory={_='messages.affectedHistory', pts=int, pts_count=int, offset=int} + +``` + + diff --git a/old_docs/API_docs_v45/constructors/messages.affectedMessages.md b/old_docs/API_docs_v45/constructors/messages.affectedMessages.md new file mode 100644 index 00000000..a0e60bdf --- /dev/null +++ b/old_docs/API_docs_v45/constructors/messages.affectedMessages.md @@ -0,0 +1,39 @@ +--- +title: messages.affectedMessages +description: Events affected by operation +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.affectedMessages +[Back to constructors index](index.md) + + + +Events affected by operation + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|[Event count after generation](https://core.telegram.org/api/updates)| +|pts\_count|[int](../types/int.md) | Yes|[Number of events that were generated](https://core.telegram.org/api/updates)| + + + +### Type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) + + +### Example: + +```php +$messages.affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.affectedMessages={_='messages.affectedMessages', pts=int, pts_count=int} + +``` + + diff --git a/old_docs/API_docs_v45/constructors/messages.allStickers.md b/old_docs/API_docs_v45/constructors/messages.allStickers.md new file mode 100644 index 00000000..5f13bfde --- /dev/null +++ b/old_docs/API_docs_v45/constructors/messages.allStickers.md @@ -0,0 +1,39 @@ +--- +title: messages.allStickers +description: Info about all installed stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.allStickers +[Back to constructors index](index.md) + + + +Info about all installed stickers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|sets|Array of [StickerSet](../types/StickerSet.md) | Yes|Sets| + + + +### Type: [messages.AllStickers](../types/messages.AllStickers.md) + + +### Example: + +```php +$messages.allStickers = ['_' => 'messages.allStickers', 'hash' => int, 'sets' => [StickerSet, StickerSet]]; +``` + + +Or, if you're into Lua: + +```lua +messages.allStickers={_='messages.allStickers', hash=int, sets={StickerSet}} + +``` + + diff --git a/old_docs/API_docs_v45/constructors/messages.allStickersNotModified.md b/old_docs/API_docs_v45/constructors/messages.allStickersNotModified.md new file mode 100644 index 00000000..d3db088b --- /dev/null +++ b/old_docs/API_docs_v45/constructors/messages.allStickersNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.allStickersNotModified +description: Info about all installed stickers hasn't changed +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.allStickersNotModified +[Back to constructors index](index.md) + + + +Info about all installed stickers hasn't changed + + + + +### Type: [messages.AllStickers](../types/messages.AllStickers.md) + + +### Example: + +```php +$messages.allStickersNotModified = ['_' => 'messages.allStickersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.allStickersNotModified={_='messages.allStickersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v45/constructors/messages.botResults.md b/old_docs/API_docs_v45/constructors/messages.botResults.md new file mode 100644 index 00000000..37e62498 --- /dev/null +++ b/old_docs/API_docs_v45/constructors/messages.botResults.md @@ -0,0 +1,41 @@ +--- +title: messages.botResults +description: Result of a query to an inline bot +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.botResults +[Back to constructors index](index.md) + + + +Result of a query to an inline bot + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|gallery|[Bool](../types/Bool.md) | Optional|Whether the result is a picture gallery| +|query\_id|[long](../types/long.md) | Yes|Query ID| +|next\_offset|[string](../types/string.md) | Optional|The next offset to use when navigating through results| +|results|Array of [BotInlineResult](../types/BotInlineResult.md) | Yes|Results| + + + +### Type: [messages.BotResults](../types/messages.BotResults.md) + + +### Example: + +```php +$messages.botResults = ['_' => 'messages.botResults', 'gallery' => Bool, 'query_id' => long, 'next_offset' => 'string', 'results' => [BotInlineResult, BotInlineResult]]; +``` + + +Or, if you're into Lua: + +```lua +messages.botResults={_='messages.botResults', gallery=Bool, query_id=long, next_offset='string', results={BotInlineResult}} + +``` + + diff --git a/old_docs/API_docs_v45/constructors/messages.channelMessages.md b/old_docs/API_docs_v45/constructors/messages.channelMessages.md new file mode 100644 index 00000000..26b60293 --- /dev/null +++ b/old_docs/API_docs_v45/constructors/messages.channelMessages.md @@ -0,0 +1,43 @@ +--- +title: messages.channelMessages +description: Channel messages +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.channelMessages +[Back to constructors index](index.md) + + + +Channel messages + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|[Event count after generation](https://core.telegram.org/api/updates)| +|count|[int](../types/int.md) | Yes|Total number of results were found server-side (may not be all included here)| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|collapsed|Array of [MessageGroup](../types/MessageGroup.md) | Optional|Collapsed| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Messages](../types/messages.Messages.md) + + +### Example: + +```php +$messages.channelMessages = ['_' => 'messages.channelMessages', 'pts' => int, 'count' => int, 'messages' => [Message, Message], 'collapsed' => [MessageGroup, MessageGroup], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.channelMessages={_='messages.channelMessages', pts=int, count=int, messages={Message}, collapsed={MessageGroup}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v45/constructors/messages.chatFull.md b/old_docs/API_docs_v45/constructors/messages.chatFull.md new file mode 100644 index 00000000..3906cc54 --- /dev/null +++ b/old_docs/API_docs_v45/constructors/messages.chatFull.md @@ -0,0 +1,40 @@ +--- +title: messages.chatFull +description: Extended info on chat and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.chatFull +[Back to constructors index](index.md) + + + +Extended info on chat and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|full\_chat|[ChatFull](../types/ChatFull.md) | Yes|Extended info on a chat| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.ChatFull](../types/messages.ChatFull.md) + + +### Example: + +```php +$messages.chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.chatFull={_='messages.chatFull', full_chat=ChatFull, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v45/constructors/messages.chats.md b/old_docs/API_docs_v45/constructors/messages.chats.md new file mode 100644 index 00000000..9ede9ff2 --- /dev/null +++ b/old_docs/API_docs_v45/constructors/messages.chats.md @@ -0,0 +1,38 @@ +--- +title: messages.chats +description: List of chats with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.chats +[Back to constructors index](index.md) + + + +List of chats with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| + + + +### Type: [messages.Chats](../types/messages.Chats.md) + + +### Example: + +```php +$messages.chats = ['_' => 'messages.chats', 'chats' => [Chat, Chat]]; +``` + + +Or, if you're into Lua: + +```lua +messages.chats={_='messages.chats', chats={Chat}} + +``` + + diff --git a/old_docs/API_docs_v45/constructors/messages.dhConfig.md b/old_docs/API_docs_v45/constructors/messages.dhConfig.md new file mode 100644 index 00000000..58344f64 --- /dev/null +++ b/old_docs/API_docs_v45/constructors/messages.dhConfig.md @@ -0,0 +1,41 @@ +--- +title: messages.dhConfig +description: New set of configuring parameters. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dhConfig +[Back to constructors index](index.md) + + + +New set of configuring parameters. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|g|[int](../types/int.md) | Yes|New value **prime**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| +|p|[bytes](../types/bytes.md) | Yes|New value **primitive root**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| +|version|[int](../types/int.md) | Yes|Vestion of set of parameters| +|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| + + + +### Type: [messages.DhConfig](../types/messages.DhConfig.md) + + +### Example: + +```php +$messages.dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'version' => int, 'random' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +messages.dhConfig={_='messages.dhConfig', g=int, p='bytes', version=int, random='bytes'} + +``` + + diff --git a/old_docs/API_docs_v45/constructors/messages.dhConfigNotModified.md b/old_docs/API_docs_v45/constructors/messages.dhConfigNotModified.md new file mode 100644 index 00000000..a9a95389 --- /dev/null +++ b/old_docs/API_docs_v45/constructors/messages.dhConfigNotModified.md @@ -0,0 +1,38 @@ +--- +title: messages.dhConfigNotModified +description: Configuring parameters did not change. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dhConfigNotModified +[Back to constructors index](index.md) + + + +Configuring parameters did not change. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| + + + +### Type: [messages.DhConfig](../types/messages.DhConfig.md) + + +### Example: + +```php +$messages.dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +messages.dhConfigNotModified={_='messages.dhConfigNotModified', random='bytes'} + +``` + + diff --git a/old_docs/API_docs_v45/constructors/messages.dialogs.md b/old_docs/API_docs_v45/constructors/messages.dialogs.md new file mode 100644 index 00000000..a72eabce --- /dev/null +++ b/old_docs/API_docs_v45/constructors/messages.dialogs.md @@ -0,0 +1,41 @@ +--- +title: messages.dialogs +description: Full list of chats with messages and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dialogs +[Back to constructors index](index.md) + + + +Full list of chats with messages and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Dialogs](../types/messages.Dialogs.md) + + +### Example: + +```php +$messages.dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.dialogs={_='messages.dialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v45/constructors/messages.dialogsSlice.md b/old_docs/API_docs_v45/constructors/messages.dialogsSlice.md new file mode 100644 index 00000000..26227d2c --- /dev/null +++ b/old_docs/API_docs_v45/constructors/messages.dialogsSlice.md @@ -0,0 +1,42 @@ +--- +title: messages.dialogsSlice +description: Incomplete list of dialogs with messages and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dialogsSlice +[Back to constructors index](index.md) + + + +Incomplete list of dialogs with messages and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of dialogs| +|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Dialogs](../types/messages.Dialogs.md) + + +### Example: + +```php +$messages.dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.dialogsSlice={_='messages.dialogsSlice', count=int, dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v45/constructors/messages.foundGifs.md b/old_docs/API_docs_v45/constructors/messages.foundGifs.md new file mode 100644 index 00000000..c75e36f9 --- /dev/null +++ b/old_docs/API_docs_v45/constructors/messages.foundGifs.md @@ -0,0 +1,39 @@ +--- +title: messages.foundGifs +description: Found GIFs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.foundGifs +[Back to constructors index](index.md) + + + +Found GIFs + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|next\_offset|[int](../types/int.md) | Yes|Next offset to use when trying to [load more results](../methods/messages.searchGifs.md)| +|results|Array of [FoundGif](../types/FoundGif.md) | Yes|Results| + + + +### Type: [messages.FoundGifs](../types/messages.FoundGifs.md) + + +### Example: + +```php +$messages.foundGifs = ['_' => 'messages.foundGifs', 'next_offset' => int, 'results' => [FoundGif, FoundGif]]; +``` + + +Or, if you're into Lua: + +```lua +messages.foundGifs={_='messages.foundGifs', next_offset=int, results={FoundGif}} + +``` + + diff --git a/old_docs/API_docs_v45/constructors/messages.messages.md b/old_docs/API_docs_v45/constructors/messages.messages.md new file mode 100644 index 00000000..3af71dca --- /dev/null +++ b/old_docs/API_docs_v45/constructors/messages.messages.md @@ -0,0 +1,40 @@ +--- +title: messages.messages +description: Full list of messages with auxilary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.messages +[Back to constructors index](index.md) + + + +Full list of messages with auxilary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Messages](../types/messages.Messages.md) + + +### Example: + +```php +$messages.messages = ['_' => 'messages.messages', 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.messages={_='messages.messages', messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v45/constructors/messages.messagesSlice.md b/old_docs/API_docs_v45/constructors/messages.messagesSlice.md new file mode 100644 index 00000000..2fe91df0 --- /dev/null +++ b/old_docs/API_docs_v45/constructors/messages.messagesSlice.md @@ -0,0 +1,41 @@ +--- +title: messages.messagesSlice +description: Incomplete list of messages and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.messagesSlice +[Back to constructors index](index.md) + + + +Incomplete list of messages and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of messages in the list| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Messages](../types/messages.Messages.md) + + +### Example: + +```php +$messages.messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.messagesSlice={_='messages.messagesSlice', count=int, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v45/constructors/messages.savedGifs.md b/old_docs/API_docs_v45/constructors/messages.savedGifs.md new file mode 100644 index 00000000..c82929a3 --- /dev/null +++ b/old_docs/API_docs_v45/constructors/messages.savedGifs.md @@ -0,0 +1,39 @@ +--- +title: messages.savedGifs +description: Saved gifs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.savedGifs +[Back to constructors index](index.md) + + + +Saved gifs + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|gifs|Array of [Document](../types/Document.md) | Yes|Gifs| + + + +### Type: [messages.SavedGifs](../types/messages.SavedGifs.md) + + +### Example: + +```php +$messages.savedGifs = ['_' => 'messages.savedGifs', 'hash' => int, 'gifs' => [Document, Document]]; +``` + + +Or, if you're into Lua: + +```lua +messages.savedGifs={_='messages.savedGifs', hash=int, gifs={Document}} + +``` + + diff --git a/old_docs/API_docs_v45/constructors/messages.savedGifsNotModified.md b/old_docs/API_docs_v45/constructors/messages.savedGifsNotModified.md new file mode 100644 index 00000000..0fbccacc --- /dev/null +++ b/old_docs/API_docs_v45/constructors/messages.savedGifsNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.savedGifsNotModified +description: No new saved gifs were found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.savedGifsNotModified +[Back to constructors index](index.md) + + + +No new saved gifs were found + + + + +### Type: [messages.SavedGifs](../types/messages.SavedGifs.md) + + +### Example: + +```php +$messages.savedGifsNotModified = ['_' => 'messages.savedGifsNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.savedGifsNotModified={_='messages.savedGifsNotModified'} + +``` + + diff --git a/old_docs/API_docs_v45/constructors/messages.sentEncryptedFile.md b/old_docs/API_docs_v45/constructors/messages.sentEncryptedFile.md new file mode 100644 index 00000000..1f0e43c6 --- /dev/null +++ b/old_docs/API_docs_v45/constructors/messages.sentEncryptedFile.md @@ -0,0 +1,39 @@ +--- +title: messages.sentEncryptedFile +description: Message with a file enclosure sent to a protected chat +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.sentEncryptedFile +[Back to constructors index](index.md) + + + +Message with a file enclosure sent to a protected chat + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Sending date| +|file|[EncryptedFile](../types/EncryptedFile.md) | Optional|Attached file| + + + +### Type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) + + +### Example: + +```php +$messages.sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile]; +``` + + +Or, if you're into Lua: + +```lua +messages.sentEncryptedFile={_='messages.sentEncryptedFile', date=int, file=EncryptedFile} + +``` + + diff --git a/old_docs/API_docs_v45/constructors/messages.sentEncryptedMessage.md b/old_docs/API_docs_v45/constructors/messages.sentEncryptedMessage.md new file mode 100644 index 00000000..3d5eb40c --- /dev/null +++ b/old_docs/API_docs_v45/constructors/messages.sentEncryptedMessage.md @@ -0,0 +1,38 @@ +--- +title: messages.sentEncryptedMessage +description: Message without file attachemts sent to an encrypted file. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.sentEncryptedMessage +[Back to constructors index](index.md) + + + +Message without file attachemts sent to an encrypted file. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Date of sending| + + + +### Type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) + + +### Example: + +```php +$messages.sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.sentEncryptedMessage={_='messages.sentEncryptedMessage', date=int} + +``` + + diff --git a/old_docs/API_docs_v45/constructors/messages.stickerSet.md b/old_docs/API_docs_v45/constructors/messages.stickerSet.md new file mode 100644 index 00000000..fbc154d0 --- /dev/null +++ b/old_docs/API_docs_v45/constructors/messages.stickerSet.md @@ -0,0 +1,40 @@ +--- +title: messages.stickerSet +description: Stickerset and stickers inside it +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickerSet +[Back to constructors index](index.md) + + + +Stickerset and stickers inside it + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|set|[StickerSet](../types/StickerSet.md) | Yes|The stickerset| +|packs|Array of [StickerPack](../types/StickerPack.md) | Yes|Packs| +|documents|Array of [Document](../types/Document.md) | Yes|Documents| + + + +### Type: [messages.StickerSet](../types/messages.StickerSet.md) + + +### Example: + +```php +$messages.stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'packs' => [StickerPack, StickerPack], 'documents' => [Document, Document]]; +``` + + +Or, if you're into Lua: + +```lua +messages.stickerSet={_='messages.stickerSet', set=StickerSet, packs={StickerPack}, documents={Document}} + +``` + + diff --git a/old_docs/API_docs_v45/constructors/messages.stickers.md b/old_docs/API_docs_v45/constructors/messages.stickers.md new file mode 100644 index 00000000..310b64b0 --- /dev/null +++ b/old_docs/API_docs_v45/constructors/messages.stickers.md @@ -0,0 +1,39 @@ +--- +title: messages.stickers +description: Found stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickers +[Back to constructors index](index.md) + + + +Found stickers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[string](../types/string.md) | Yes|Hash| +|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| + + + +### Type: [messages.Stickers](../types/messages.Stickers.md) + + +### Example: + +```php +$messages.stickers = ['_' => 'messages.stickers', 'hash' => 'string', 'stickers' => [Document, Document]]; +``` + + +Or, if you're into Lua: + +```lua +messages.stickers={_='messages.stickers', hash='string', stickers={Document}} + +``` + + diff --git a/old_docs/API_docs_v45/constructors/messages.stickersNotModified.md b/old_docs/API_docs_v45/constructors/messages.stickersNotModified.md new file mode 100644 index 00000000..e8c7766c --- /dev/null +++ b/old_docs/API_docs_v45/constructors/messages.stickersNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.stickersNotModified +description: No new stickers were found for the given query +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickersNotModified +[Back to constructors index](index.md) + + + +No new stickers were found for the given query + + + + +### Type: [messages.Stickers](../types/messages.Stickers.md) + + +### Example: + +```php +$messages.stickersNotModified = ['_' => 'messages.stickersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.stickersNotModified={_='messages.stickersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v45/constructors/messages_affectedHistory.md b/old_docs/API_docs_v45/constructors/messages_affectedHistory.md deleted file mode 100644 index 449a7e3f..00000000 --- a/old_docs/API_docs_v45/constructors/messages_affectedHistory.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.affectedHistory -description: Affected part of communication history with the user or in a chat. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.affectedHistory -[Back to constructors index](index.md) - - - -Affected part of communication history with the user or in a chat. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| -|pts\_count|[int](../types/int.md) | Yes|Number of affected events| -|offset|[int](../types/int.md) | Yes|If a parameter contains positive value, it is necessary to repeat the method call using the given value; during the proceeding of all the history the value itself shall gradually decrease| - - - -### Type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) - - -### Example: - -```php -$messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_affectedHistory={_='messages.affectedHistory', pts=int, pts_count=int, offset=int} - -``` - - diff --git a/old_docs/API_docs_v45/constructors/messages_affectedMessages.md b/old_docs/API_docs_v45/constructors/messages_affectedMessages.md deleted file mode 100644 index 86760581..00000000 --- a/old_docs/API_docs_v45/constructors/messages_affectedMessages.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.affectedMessages -description: Events affected by operation -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.affectedMessages -[Back to constructors index](index.md) - - - -Events affected by operation - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|[Event count after generation](https://core.telegram.org/api/updates)| -|pts\_count|[int](../types/int.md) | Yes|[Number of events that were generated](https://core.telegram.org/api/updates)| - - - -### Type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) - - -### Example: - -```php -$messages_affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_affectedMessages={_='messages.affectedMessages', pts=int, pts_count=int} - -``` - - diff --git a/old_docs/API_docs_v45/constructors/messages_allStickers.md b/old_docs/API_docs_v45/constructors/messages_allStickers.md deleted file mode 100644 index 2e64f46e..00000000 --- a/old_docs/API_docs_v45/constructors/messages_allStickers.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.allStickers -description: Info about all installed stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.allStickers -[Back to constructors index](index.md) - - - -Info about all installed stickers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|sets|Array of [StickerSet](../types/StickerSet.md) | Yes|Sets| - - - -### Type: [messages\_AllStickers](../types/messages_AllStickers.md) - - -### Example: - -```php -$messages_allStickers = ['_' => 'messages.allStickers', 'hash' => int, 'sets' => [StickerSet, StickerSet]]; -``` - - -Or, if you're into Lua: - -```lua -messages_allStickers={_='messages.allStickers', hash=int, sets={StickerSet}} - -``` - - diff --git a/old_docs/API_docs_v45/constructors/messages_allStickersNotModified.md b/old_docs/API_docs_v45/constructors/messages_allStickersNotModified.md deleted file mode 100644 index c4da85ab..00000000 --- a/old_docs/API_docs_v45/constructors/messages_allStickersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.allStickersNotModified -description: Info about all installed stickers hasn't changed -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.allStickersNotModified -[Back to constructors index](index.md) - - - -Info about all installed stickers hasn't changed - - - - -### Type: [messages\_AllStickers](../types/messages_AllStickers.md) - - -### Example: - -```php -$messages_allStickersNotModified = ['_' => 'messages.allStickersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_allStickersNotModified={_='messages.allStickersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v45/constructors/messages_botResults.md b/old_docs/API_docs_v45/constructors/messages_botResults.md deleted file mode 100644 index 3314ffe8..00000000 --- a/old_docs/API_docs_v45/constructors/messages_botResults.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: messages.botResults -description: Result of a query to an inline bot -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.botResults -[Back to constructors index](index.md) - - - -Result of a query to an inline bot - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|gallery|[Bool](../types/Bool.md) | Optional|Whether the result is a picture gallery| -|query\_id|[long](../types/long.md) | Yes|Query ID| -|next\_offset|[string](../types/string.md) | Optional|The next offset to use when navigating through results| -|results|Array of [BotInlineResult](../types/BotInlineResult.md) | Yes|Results| - - - -### Type: [messages\_BotResults](../types/messages_BotResults.md) - - -### Example: - -```php -$messages_botResults = ['_' => 'messages.botResults', 'gallery' => Bool, 'query_id' => long, 'next_offset' => 'string', 'results' => [BotInlineResult, BotInlineResult]]; -``` - - -Or, if you're into Lua: - -```lua -messages_botResults={_='messages.botResults', gallery=Bool, query_id=long, next_offset='string', results={BotInlineResult}} - -``` - - diff --git a/old_docs/API_docs_v45/constructors/messages_channelMessages.md b/old_docs/API_docs_v45/constructors/messages_channelMessages.md deleted file mode 100644 index f59dea09..00000000 --- a/old_docs/API_docs_v45/constructors/messages_channelMessages.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: messages.channelMessages -description: Channel messages -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.channelMessages -[Back to constructors index](index.md) - - - -Channel messages - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|[Event count after generation](https://core.telegram.org/api/updates)| -|count|[int](../types/int.md) | Yes|Total number of results were found server-side (may not be all included here)| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|collapsed|Array of [MessageGroup](../types/MessageGroup.md) | Optional|Collapsed| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Messages](../types/messages_Messages.md) - - -### Example: - -```php -$messages_channelMessages = ['_' => 'messages.channelMessages', 'pts' => int, 'count' => int, 'messages' => [Message, Message], 'collapsed' => [MessageGroup, MessageGroup], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_channelMessages={_='messages.channelMessages', pts=int, count=int, messages={Message}, collapsed={MessageGroup}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v45/constructors/messages_chatFull.md b/old_docs/API_docs_v45/constructors/messages_chatFull.md deleted file mode 100644 index 02f1acdf..00000000 --- a/old_docs/API_docs_v45/constructors/messages_chatFull.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.chatFull -description: Extended info on chat and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.chatFull -[Back to constructors index](index.md) - - - -Extended info on chat and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|full\_chat|[ChatFull](../types/ChatFull.md) | Yes|Extended info on a chat| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_ChatFull](../types/messages_ChatFull.md) - - -### Example: - -```php -$messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_chatFull={_='messages.chatFull', full_chat=ChatFull, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v45/constructors/messages_chats.md b/old_docs/API_docs_v45/constructors/messages_chats.md deleted file mode 100644 index ef3690a9..00000000 --- a/old_docs/API_docs_v45/constructors/messages_chats.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.chats -description: List of chats with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.chats -[Back to constructors index](index.md) - - - -List of chats with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| - - - -### Type: [messages\_Chats](../types/messages_Chats.md) - - -### Example: - -```php -$messages_chats = ['_' => 'messages.chats', 'chats' => [Chat, Chat]]; -``` - - -Or, if you're into Lua: - -```lua -messages_chats={_='messages.chats', chats={Chat}} - -``` - - diff --git a/old_docs/API_docs_v45/constructors/messages_dhConfig.md b/old_docs/API_docs_v45/constructors/messages_dhConfig.md deleted file mode 100644 index 42c2feb1..00000000 --- a/old_docs/API_docs_v45/constructors/messages_dhConfig.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: messages.dhConfig -description: New set of configuring parameters. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dhConfig -[Back to constructors index](index.md) - - - -New set of configuring parameters. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|g|[int](../types/int.md) | Yes|New value **prime**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| -|p|[bytes](../types/bytes.md) | Yes|New value **primitive root**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| -|version|[int](../types/int.md) | Yes|Vestion of set of parameters| -|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| - - - -### Type: [messages\_DhConfig](../types/messages_DhConfig.md) - - -### Example: - -```php -$messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'version' => int, 'random' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -messages_dhConfig={_='messages.dhConfig', g=int, p='bytes', version=int, random='bytes'} - -``` - - diff --git a/old_docs/API_docs_v45/constructors/messages_dhConfigNotModified.md b/old_docs/API_docs_v45/constructors/messages_dhConfigNotModified.md deleted file mode 100644 index 5bf64230..00000000 --- a/old_docs/API_docs_v45/constructors/messages_dhConfigNotModified.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.dhConfigNotModified -description: Configuring parameters did not change. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dhConfigNotModified -[Back to constructors index](index.md) - - - -Configuring parameters did not change. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| - - - -### Type: [messages\_DhConfig](../types/messages_DhConfig.md) - - -### Example: - -```php -$messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -messages_dhConfigNotModified={_='messages.dhConfigNotModified', random='bytes'} - -``` - - diff --git a/old_docs/API_docs_v45/constructors/messages_dialogs.md b/old_docs/API_docs_v45/constructors/messages_dialogs.md deleted file mode 100644 index e6a431b4..00000000 --- a/old_docs/API_docs_v45/constructors/messages_dialogs.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: messages.dialogs -description: Full list of chats with messages and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dialogs -[Back to constructors index](index.md) - - - -Full list of chats with messages and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Dialogs](../types/messages_Dialogs.md) - - -### Example: - -```php -$messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_dialogs={_='messages.dialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v45/constructors/messages_dialogsSlice.md b/old_docs/API_docs_v45/constructors/messages_dialogsSlice.md deleted file mode 100644 index f183b9a8..00000000 --- a/old_docs/API_docs_v45/constructors/messages_dialogsSlice.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: messages.dialogsSlice -description: Incomplete list of dialogs with messages and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dialogsSlice -[Back to constructors index](index.md) - - - -Incomplete list of dialogs with messages and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of dialogs| -|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Dialogs](../types/messages_Dialogs.md) - - -### Example: - -```php -$messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_dialogsSlice={_='messages.dialogsSlice', count=int, dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v45/constructors/messages_foundGifs.md b/old_docs/API_docs_v45/constructors/messages_foundGifs.md deleted file mode 100644 index eb3603ca..00000000 --- a/old_docs/API_docs_v45/constructors/messages_foundGifs.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.foundGifs -description: Found GIFs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.foundGifs -[Back to constructors index](index.md) - - - -Found GIFs - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|next\_offset|[int](../types/int.md) | Yes|Next offset to use when trying to [load more results](../methods/messages.searchGifs.md)| -|results|Array of [FoundGif](../types/FoundGif.md) | Yes|Results| - - - -### Type: [messages\_FoundGifs](../types/messages_FoundGifs.md) - - -### Example: - -```php -$messages_foundGifs = ['_' => 'messages.foundGifs', 'next_offset' => int, 'results' => [FoundGif, FoundGif]]; -``` - - -Or, if you're into Lua: - -```lua -messages_foundGifs={_='messages.foundGifs', next_offset=int, results={FoundGif}} - -``` - - diff --git a/old_docs/API_docs_v45/constructors/messages_messages.md b/old_docs/API_docs_v45/constructors/messages_messages.md deleted file mode 100644 index 3e369e1a..00000000 --- a/old_docs/API_docs_v45/constructors/messages_messages.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.messages -description: Full list of messages with auxilary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.messages -[Back to constructors index](index.md) - - - -Full list of messages with auxilary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Messages](../types/messages_Messages.md) - - -### Example: - -```php -$messages_messages = ['_' => 'messages.messages', 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_messages={_='messages.messages', messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v45/constructors/messages_messagesSlice.md b/old_docs/API_docs_v45/constructors/messages_messagesSlice.md deleted file mode 100644 index f9b8dc18..00000000 --- a/old_docs/API_docs_v45/constructors/messages_messagesSlice.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: messages.messagesSlice -description: Incomplete list of messages and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.messagesSlice -[Back to constructors index](index.md) - - - -Incomplete list of messages and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of messages in the list| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Messages](../types/messages_Messages.md) - - -### Example: - -```php -$messages_messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_messagesSlice={_='messages.messagesSlice', count=int, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v45/constructors/messages_savedGifs.md b/old_docs/API_docs_v45/constructors/messages_savedGifs.md deleted file mode 100644 index ed3e8ea3..00000000 --- a/old_docs/API_docs_v45/constructors/messages_savedGifs.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.savedGifs -description: Saved gifs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.savedGifs -[Back to constructors index](index.md) - - - -Saved gifs - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|gifs|Array of [Document](../types/Document.md) | Yes|Gifs| - - - -### Type: [messages\_SavedGifs](../types/messages_SavedGifs.md) - - -### Example: - -```php -$messages_savedGifs = ['_' => 'messages.savedGifs', 'hash' => int, 'gifs' => [Document, Document]]; -``` - - -Or, if you're into Lua: - -```lua -messages_savedGifs={_='messages.savedGifs', hash=int, gifs={Document}} - -``` - - diff --git a/old_docs/API_docs_v45/constructors/messages_savedGifsNotModified.md b/old_docs/API_docs_v45/constructors/messages_savedGifsNotModified.md deleted file mode 100644 index 0f843a0c..00000000 --- a/old_docs/API_docs_v45/constructors/messages_savedGifsNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.savedGifsNotModified -description: No new saved gifs were found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.savedGifsNotModified -[Back to constructors index](index.md) - - - -No new saved gifs were found - - - - -### Type: [messages\_SavedGifs](../types/messages_SavedGifs.md) - - -### Example: - -```php -$messages_savedGifsNotModified = ['_' => 'messages.savedGifsNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_savedGifsNotModified={_='messages.savedGifsNotModified'} - -``` - - diff --git a/old_docs/API_docs_v45/constructors/messages_sentEncryptedFile.md b/old_docs/API_docs_v45/constructors/messages_sentEncryptedFile.md deleted file mode 100644 index fdc2a11e..00000000 --- a/old_docs/API_docs_v45/constructors/messages_sentEncryptedFile.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.sentEncryptedFile -description: Message with a file enclosure sent to a protected chat -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.sentEncryptedFile -[Back to constructors index](index.md) - - - -Message with a file enclosure sent to a protected chat - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Sending date| -|file|[EncryptedFile](../types/EncryptedFile.md) | Optional|Attached file| - - - -### Type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) - - -### Example: - -```php -$messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile]; -``` - - -Or, if you're into Lua: - -```lua -messages_sentEncryptedFile={_='messages.sentEncryptedFile', date=int, file=EncryptedFile} - -``` - - diff --git a/old_docs/API_docs_v45/constructors/messages_sentEncryptedMessage.md b/old_docs/API_docs_v45/constructors/messages_sentEncryptedMessage.md deleted file mode 100644 index 36b2bbff..00000000 --- a/old_docs/API_docs_v45/constructors/messages_sentEncryptedMessage.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.sentEncryptedMessage -description: Message without file attachemts sent to an encrypted file. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.sentEncryptedMessage -[Back to constructors index](index.md) - - - -Message without file attachemts sent to an encrypted file. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Date of sending| - - - -### Type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) - - -### Example: - -```php -$messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_sentEncryptedMessage={_='messages.sentEncryptedMessage', date=int} - -``` - - diff --git a/old_docs/API_docs_v45/constructors/messages_stickerSet.md b/old_docs/API_docs_v45/constructors/messages_stickerSet.md deleted file mode 100644 index 127191de..00000000 --- a/old_docs/API_docs_v45/constructors/messages_stickerSet.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.stickerSet -description: Stickerset and stickers inside it -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickerSet -[Back to constructors index](index.md) - - - -Stickerset and stickers inside it - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|set|[StickerSet](../types/StickerSet.md) | Yes|The stickerset| -|packs|Array of [StickerPack](../types/StickerPack.md) | Yes|Packs| -|documents|Array of [Document](../types/Document.md) | Yes|Documents| - - - -### Type: [messages\_StickerSet](../types/messages_StickerSet.md) - - -### Example: - -```php -$messages_stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'packs' => [StickerPack, StickerPack], 'documents' => [Document, Document]]; -``` - - -Or, if you're into Lua: - -```lua -messages_stickerSet={_='messages.stickerSet', set=StickerSet, packs={StickerPack}, documents={Document}} - -``` - - diff --git a/old_docs/API_docs_v45/constructors/messages_stickers.md b/old_docs/API_docs_v45/constructors/messages_stickers.md deleted file mode 100644 index 1c007df2..00000000 --- a/old_docs/API_docs_v45/constructors/messages_stickers.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.stickers -description: Found stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickers -[Back to constructors index](index.md) - - - -Found stickers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[string](../types/string.md) | Yes|Hash| -|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| - - - -### Type: [messages\_Stickers](../types/messages_Stickers.md) - - -### Example: - -```php -$messages_stickers = ['_' => 'messages.stickers', 'hash' => 'string', 'stickers' => [Document, Document]]; -``` - - -Or, if you're into Lua: - -```lua -messages_stickers={_='messages.stickers', hash='string', stickers={Document}} - -``` - - diff --git a/old_docs/API_docs_v45/constructors/messages_stickersNotModified.md b/old_docs/API_docs_v45/constructors/messages_stickersNotModified.md deleted file mode 100644 index 3d434a79..00000000 --- a/old_docs/API_docs_v45/constructors/messages_stickersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.stickersNotModified -description: No new stickers were found for the given query -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickersNotModified -[Back to constructors index](index.md) - - - -No new stickers were found for the given query - - - - -### Type: [messages\_Stickers](../types/messages_Stickers.md) - - -### Example: - -```php -$messages_stickersNotModified = ['_' => 'messages.stickersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_stickersNotModified={_='messages.stickersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v45/constructors/photos.photo.md b/old_docs/API_docs_v45/constructors/photos.photo.md new file mode 100644 index 00000000..43d3efc7 --- /dev/null +++ b/old_docs/API_docs_v45/constructors/photos.photo.md @@ -0,0 +1,39 @@ +--- +title: photos.photo +description: Photo with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: photos.photo +[Back to constructors index](index.md) + + + +Photo with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|photo|[Photo](../types/Photo.md) | Optional|Photo| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [photos.Photo](../types/photos.Photo.md) + + +### Example: + +```php +$photos.photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +photos.photo={_='photos.photo', photo=Photo, users={User}} + +``` + + diff --git a/old_docs/API_docs_v45/constructors/photos.photos.md b/old_docs/API_docs_v45/constructors/photos.photos.md new file mode 100644 index 00000000..901a9693 --- /dev/null +++ b/old_docs/API_docs_v45/constructors/photos.photos.md @@ -0,0 +1,39 @@ +--- +title: photos.photos +description: Full list of photos with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: photos.photos +[Back to constructors index](index.md) + + + +Full list of photos with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [photos.Photos](../types/photos.Photos.md) + + +### Example: + +```php +$photos.photos = ['_' => 'photos.photos', 'photos' => [Photo, Photo], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +photos.photos={_='photos.photos', photos={Photo}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v45/constructors/photos.photosSlice.md b/old_docs/API_docs_v45/constructors/photos.photosSlice.md new file mode 100644 index 00000000..2cca3546 --- /dev/null +++ b/old_docs/API_docs_v45/constructors/photos.photosSlice.md @@ -0,0 +1,40 @@ +--- +title: photos.photosSlice +description: Incomplete list of photos with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: photos.photosSlice +[Back to constructors index](index.md) + + + +Incomplete list of photos with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of photos| +|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [photos.Photos](../types/photos.Photos.md) + + +### Example: + +```php +$photos.photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo, Photo], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +photos.photosSlice={_='photos.photosSlice', count=int, photos={Photo}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v45/constructors/photos_photo.md b/old_docs/API_docs_v45/constructors/photos_photo.md deleted file mode 100644 index d5ad61d9..00000000 --- a/old_docs/API_docs_v45/constructors/photos_photo.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: photos.photo -description: Photo with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: photos.photo -[Back to constructors index](index.md) - - - -Photo with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|photo|[Photo](../types/Photo.md) | Optional|Photo| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [photos\_Photo](../types/photos_Photo.md) - - -### Example: - -```php -$photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -photos_photo={_='photos.photo', photo=Photo, users={User}} - -``` - - diff --git a/old_docs/API_docs_v45/constructors/photos_photos.md b/old_docs/API_docs_v45/constructors/photos_photos.md deleted file mode 100644 index 6ae5d048..00000000 --- a/old_docs/API_docs_v45/constructors/photos_photos.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: photos.photos -description: Full list of photos with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: photos.photos -[Back to constructors index](index.md) - - - -Full list of photos with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [photos\_Photos](../types/photos_Photos.md) - - -### Example: - -```php -$photos_photos = ['_' => 'photos.photos', 'photos' => [Photo, Photo], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -photos_photos={_='photos.photos', photos={Photo}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v45/constructors/photos_photosSlice.md b/old_docs/API_docs_v45/constructors/photos_photosSlice.md deleted file mode 100644 index 5c465c21..00000000 --- a/old_docs/API_docs_v45/constructors/photos_photosSlice.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: photos.photosSlice -description: Incomplete list of photos with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: photos.photosSlice -[Back to constructors index](index.md) - - - -Incomplete list of photos with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of photos| -|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [photos\_Photos](../types/photos_Photos.md) - - -### Example: - -```php -$photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo, Photo], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -photos_photosSlice={_='photos.photosSlice', count=int, photos={Photo}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v45/constructors/storage.fileGif.md b/old_docs/API_docs_v45/constructors/storage.fileGif.md new file mode 100644 index 00000000..8193bd25 --- /dev/null +++ b/old_docs/API_docs_v45/constructors/storage.fileGif.md @@ -0,0 +1,33 @@ +--- +title: storage.fileGif +description: GIF image. MIME type: `image/gif`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileGif +[Back to constructors index](index.md) + + + +GIF image. MIME type: `image/gif`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileGif = ['_' => 'storage.fileGif']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileGif={_='storage.fileGif'} + +``` + + diff --git a/old_docs/API_docs_v45/constructors/storage.fileJpeg.md b/old_docs/API_docs_v45/constructors/storage.fileJpeg.md new file mode 100644 index 00000000..7f125963 --- /dev/null +++ b/old_docs/API_docs_v45/constructors/storage.fileJpeg.md @@ -0,0 +1,33 @@ +--- +title: storage.fileJpeg +description: JPEG image. MIME type: `image/jpeg`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileJpeg +[Back to constructors index](index.md) + + + +JPEG image. MIME type: `image/jpeg`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileJpeg = ['_' => 'storage.fileJpeg']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileJpeg={_='storage.fileJpeg'} + +``` + + diff --git a/old_docs/API_docs_v45/constructors/storage.fileMov.md b/old_docs/API_docs_v45/constructors/storage.fileMov.md new file mode 100644 index 00000000..cb3742e0 --- /dev/null +++ b/old_docs/API_docs_v45/constructors/storage.fileMov.md @@ -0,0 +1,33 @@ +--- +title: storage.fileMov +description: Quicktime video. MIME type: `video/quicktime`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileMov +[Back to constructors index](index.md) + + + +Quicktime video. MIME type: `video/quicktime`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileMov = ['_' => 'storage.fileMov']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileMov={_='storage.fileMov'} + +``` + + diff --git a/old_docs/API_docs_v45/constructors/storage.fileMp3.md b/old_docs/API_docs_v45/constructors/storage.fileMp3.md new file mode 100644 index 00000000..617f2d39 --- /dev/null +++ b/old_docs/API_docs_v45/constructors/storage.fileMp3.md @@ -0,0 +1,33 @@ +--- +title: storage.fileMp3 +description: Mp3 audio. MIME type: `audio/mpeg`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileMp3 +[Back to constructors index](index.md) + + + +Mp3 audio. MIME type: `audio/mpeg`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileMp3 = ['_' => 'storage.fileMp3']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileMp3={_='storage.fileMp3'} + +``` + + diff --git a/old_docs/API_docs_v45/constructors/storage.fileMp4.md b/old_docs/API_docs_v45/constructors/storage.fileMp4.md new file mode 100644 index 00000000..37038176 --- /dev/null +++ b/old_docs/API_docs_v45/constructors/storage.fileMp4.md @@ -0,0 +1,33 @@ +--- +title: storage.fileMp4 +description: MPEG-4 video. MIME type: `video/mp4`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileMp4 +[Back to constructors index](index.md) + + + +MPEG-4 video. MIME type: `video/mp4`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileMp4 = ['_' => 'storage.fileMp4']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileMp4={_='storage.fileMp4'} + +``` + + diff --git a/old_docs/API_docs_v45/constructors/storage.filePartial.md b/old_docs/API_docs_v45/constructors/storage.filePartial.md new file mode 100644 index 00000000..98779e71 --- /dev/null +++ b/old_docs/API_docs_v45/constructors/storage.filePartial.md @@ -0,0 +1,33 @@ +--- +title: storage.filePartial +description: Part of a bigger file. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.filePartial +[Back to constructors index](index.md) + + + +Part of a bigger file. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.filePartial = ['_' => 'storage.filePartial']; +``` + + +Or, if you're into Lua: + +```lua +storage.filePartial={_='storage.filePartial'} + +``` + + diff --git a/old_docs/API_docs_v45/constructors/storage.filePdf.md b/old_docs/API_docs_v45/constructors/storage.filePdf.md new file mode 100644 index 00000000..136c0614 --- /dev/null +++ b/old_docs/API_docs_v45/constructors/storage.filePdf.md @@ -0,0 +1,33 @@ +--- +title: storage.filePdf +description: PDF document image. MIME type: `application/pdf`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.filePdf +[Back to constructors index](index.md) + + + +PDF document image. MIME type: `application/pdf`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.filePdf = ['_' => 'storage.filePdf']; +``` + + +Or, if you're into Lua: + +```lua +storage.filePdf={_='storage.filePdf'} + +``` + + diff --git a/old_docs/API_docs_v45/constructors/storage.filePng.md b/old_docs/API_docs_v45/constructors/storage.filePng.md new file mode 100644 index 00000000..db01ce0e --- /dev/null +++ b/old_docs/API_docs_v45/constructors/storage.filePng.md @@ -0,0 +1,33 @@ +--- +title: storage.filePng +description: PNG image. MIME type: `image/png`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.filePng +[Back to constructors index](index.md) + + + +PNG image. MIME type: `image/png`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.filePng = ['_' => 'storage.filePng']; +``` + + +Or, if you're into Lua: + +```lua +storage.filePng={_='storage.filePng'} + +``` + + diff --git a/old_docs/API_docs_v45/constructors/storage.fileUnknown.md b/old_docs/API_docs_v45/constructors/storage.fileUnknown.md new file mode 100644 index 00000000..26f0a5ae --- /dev/null +++ b/old_docs/API_docs_v45/constructors/storage.fileUnknown.md @@ -0,0 +1,33 @@ +--- +title: storage.fileUnknown +description: Unknown type. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileUnknown +[Back to constructors index](index.md) + + + +Unknown type. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileUnknown = ['_' => 'storage.fileUnknown']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileUnknown={_='storage.fileUnknown'} + +``` + + diff --git a/old_docs/API_docs_v45/constructors/storage.fileWebp.md b/old_docs/API_docs_v45/constructors/storage.fileWebp.md new file mode 100644 index 00000000..63c9ded1 --- /dev/null +++ b/old_docs/API_docs_v45/constructors/storage.fileWebp.md @@ -0,0 +1,33 @@ +--- +title: storage.fileWebp +description: WEBP image. MIME type: `image/webp`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileWebp +[Back to constructors index](index.md) + + + +WEBP image. MIME type: `image/webp`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileWebp = ['_' => 'storage.fileWebp']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileWebp={_='storage.fileWebp'} + +``` + + diff --git a/old_docs/API_docs_v45/constructors/storage_fileGif.md b/old_docs/API_docs_v45/constructors/storage_fileGif.md deleted file mode 100644 index 218c7491..00000000 --- a/old_docs/API_docs_v45/constructors/storage_fileGif.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileGif -description: GIF image. MIME type: `image/gif`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileGif -[Back to constructors index](index.md) - - - -GIF image. MIME type: `image/gif`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileGif = ['_' => 'storage.fileGif']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileGif={_='storage.fileGif'} - -``` - - diff --git a/old_docs/API_docs_v45/constructors/storage_fileJpeg.md b/old_docs/API_docs_v45/constructors/storage_fileJpeg.md deleted file mode 100644 index 925531cd..00000000 --- a/old_docs/API_docs_v45/constructors/storage_fileJpeg.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileJpeg -description: JPEG image. MIME type: `image/jpeg`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileJpeg -[Back to constructors index](index.md) - - - -JPEG image. MIME type: `image/jpeg`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileJpeg = ['_' => 'storage.fileJpeg']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileJpeg={_='storage.fileJpeg'} - -``` - - diff --git a/old_docs/API_docs_v45/constructors/storage_fileMov.md b/old_docs/API_docs_v45/constructors/storage_fileMov.md deleted file mode 100644 index eaf2a6ff..00000000 --- a/old_docs/API_docs_v45/constructors/storage_fileMov.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileMov -description: Quicktime video. MIME type: `video/quicktime`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileMov -[Back to constructors index](index.md) - - - -Quicktime video. MIME type: `video/quicktime`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileMov = ['_' => 'storage.fileMov']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileMov={_='storage.fileMov'} - -``` - - diff --git a/old_docs/API_docs_v45/constructors/storage_fileMp3.md b/old_docs/API_docs_v45/constructors/storage_fileMp3.md deleted file mode 100644 index 9afcefbb..00000000 --- a/old_docs/API_docs_v45/constructors/storage_fileMp3.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileMp3 -description: Mp3 audio. MIME type: `audio/mpeg`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileMp3 -[Back to constructors index](index.md) - - - -Mp3 audio. MIME type: `audio/mpeg`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileMp3 = ['_' => 'storage.fileMp3']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileMp3={_='storage.fileMp3'} - -``` - - diff --git a/old_docs/API_docs_v45/constructors/storage_fileMp4.md b/old_docs/API_docs_v45/constructors/storage_fileMp4.md deleted file mode 100644 index cdc0e783..00000000 --- a/old_docs/API_docs_v45/constructors/storage_fileMp4.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileMp4 -description: MPEG-4 video. MIME type: `video/mp4`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileMp4 -[Back to constructors index](index.md) - - - -MPEG-4 video. MIME type: `video/mp4`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileMp4 = ['_' => 'storage.fileMp4']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileMp4={_='storage.fileMp4'} - -``` - - diff --git a/old_docs/API_docs_v45/constructors/storage_filePartial.md b/old_docs/API_docs_v45/constructors/storage_filePartial.md deleted file mode 100644 index 9bfadf63..00000000 --- a/old_docs/API_docs_v45/constructors/storage_filePartial.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.filePartial -description: Part of a bigger file. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.filePartial -[Back to constructors index](index.md) - - - -Part of a bigger file. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_filePartial = ['_' => 'storage.filePartial']; -``` - - -Or, if you're into Lua: - -```lua -storage_filePartial={_='storage.filePartial'} - -``` - - diff --git a/old_docs/API_docs_v45/constructors/storage_filePdf.md b/old_docs/API_docs_v45/constructors/storage_filePdf.md deleted file mode 100644 index efb022cc..00000000 --- a/old_docs/API_docs_v45/constructors/storage_filePdf.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.filePdf -description: PDF document image. MIME type: `application/pdf`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.filePdf -[Back to constructors index](index.md) - - - -PDF document image. MIME type: `application/pdf`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_filePdf = ['_' => 'storage.filePdf']; -``` - - -Or, if you're into Lua: - -```lua -storage_filePdf={_='storage.filePdf'} - -``` - - diff --git a/old_docs/API_docs_v45/constructors/storage_filePng.md b/old_docs/API_docs_v45/constructors/storage_filePng.md deleted file mode 100644 index 412759e4..00000000 --- a/old_docs/API_docs_v45/constructors/storage_filePng.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.filePng -description: PNG image. MIME type: `image/png`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.filePng -[Back to constructors index](index.md) - - - -PNG image. MIME type: `image/png`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_filePng = ['_' => 'storage.filePng']; -``` - - -Or, if you're into Lua: - -```lua -storage_filePng={_='storage.filePng'} - -``` - - diff --git a/old_docs/API_docs_v45/constructors/storage_fileUnknown.md b/old_docs/API_docs_v45/constructors/storage_fileUnknown.md deleted file mode 100644 index ed33dd5e..00000000 --- a/old_docs/API_docs_v45/constructors/storage_fileUnknown.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileUnknown -description: Unknown type. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileUnknown -[Back to constructors index](index.md) - - - -Unknown type. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileUnknown = ['_' => 'storage.fileUnknown']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileUnknown={_='storage.fileUnknown'} - -``` - - diff --git a/old_docs/API_docs_v45/constructors/storage_fileWebp.md b/old_docs/API_docs_v45/constructors/storage_fileWebp.md deleted file mode 100644 index 04dcad74..00000000 --- a/old_docs/API_docs_v45/constructors/storage_fileWebp.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileWebp -description: WEBP image. MIME type: `image/webp`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileWebp -[Back to constructors index](index.md) - - - -WEBP image. MIME type: `image/webp`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileWebp = ['_' => 'storage.fileWebp']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileWebp={_='storage.fileWebp'} - -``` - - diff --git a/old_docs/API_docs_v45/constructors/updateNewStickerSet.md b/old_docs/API_docs_v45/constructors/updateNewStickerSet.md index 8a99a363..c32c41ff 100644 --- a/old_docs/API_docs_v45/constructors/updateNewStickerSet.md +++ b/old_docs/API_docs_v45/constructors/updateNewStickerSet.md @@ -14,7 +14,7 @@ A new stickerset was installed | Name | Type | Required | Description | |----------|---------------|----------|-------------| -|stickerset|[messages\_StickerSet](../types/messages_StickerSet.md) | Yes|The installed stickerset| +|stickerset|[messages.StickerSet](../constructors/messages.StickerSet.md) | Yes|The installed stickerset| @@ -24,14 +24,14 @@ A new stickerset was installed ### Example: ```php -$updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages_StickerSet]; +$updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages.StickerSet]; ``` Or, if you're into Lua: ```lua -updateNewStickerSet={_='updateNewStickerSet', stickerset=messages_StickerSet} +updateNewStickerSet={_='updateNewStickerSet', stickerset=messages.StickerSet} ``` diff --git a/old_docs/API_docs_v45/constructors/updates.channelDifference.md b/old_docs/API_docs_v45/constructors/updates.channelDifference.md new file mode 100644 index 00000000..5a13791c --- /dev/null +++ b/old_docs/API_docs_v45/constructors/updates.channelDifference.md @@ -0,0 +1,44 @@ +--- +title: updates.channelDifference +description: The new updates +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.channelDifference +[Back to constructors index](index.md) + + + +The new updates + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates to be fetched using getDifference, starting from the provided `pts`| +|pts|[int](../types/int.md) | Yes|The [PTS](https://core.telegram.org/api/updates) from which to start getting updates the next time| +|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| +|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| +|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [updates.ChannelDifference](../types/updates.ChannelDifference.md) + + +### Example: + +```php +$updates.channelDifference = ['_' => 'updates.channelDifference', 'final' => Bool, 'pts' => int, 'timeout' => int, 'new_messages' => [Message, Message], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +updates.channelDifference={_='updates.channelDifference', final=Bool, pts=int, timeout=int, new_messages={Message}, other_updates={Update}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v45/constructors/updates.channelDifferenceEmpty.md b/old_docs/API_docs_v45/constructors/updates.channelDifferenceEmpty.md new file mode 100644 index 00000000..8ce43da4 --- /dev/null +++ b/old_docs/API_docs_v45/constructors/updates.channelDifferenceEmpty.md @@ -0,0 +1,40 @@ +--- +title: updates.channelDifferenceEmpty +description: There are no new updates +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.channelDifferenceEmpty +[Back to constructors index](index.md) + + + +There are no new updates + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates that must be fetched (always false)| +|pts|[int](../types/int.md) | Yes|The latest [PTS](https://core.telegram.org/api/updates)| +|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| + + + +### Type: [updates.ChannelDifference](../types/updates.ChannelDifference.md) + + +### Example: + +```php +$updates.channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'final' => Bool, 'pts' => int, 'timeout' => int]; +``` + + +Or, if you're into Lua: + +```lua +updates.channelDifferenceEmpty={_='updates.channelDifferenceEmpty', final=Bool, pts=int, timeout=int} + +``` + + diff --git a/old_docs/API_docs_v45/constructors/updates.channelDifferenceTooLong.md b/old_docs/API_docs_v45/constructors/updates.channelDifferenceTooLong.md new file mode 100644 index 00000000..eecd8aba --- /dev/null +++ b/old_docs/API_docs_v45/constructors/updates.channelDifferenceTooLong.md @@ -0,0 +1,58 @@ +--- +title: updates.channelDifferenceTooLong +description: The provided `pts + limit < remote pts`. Simply, there are too many updates to be fetched (more than `limit`), the client has to resolve the update gap in one of the following ways: + +1. Delete all known messages in the chat, begin from scratch by refetching all messages manually with [getHistory](../methods/messages.getHistory.md). It is easy to implement, but suddenly disappearing messages looks awful for the user. +2. Save all messages loaded in the memory until application restart, but delete all messages from database. Messages left in the memory must be lazily updated using calls to [getHistory](../methods/messages.getHistory.md). It looks much smoothly for the user, he will need to redownload messages only after client restart. Unsynchronized messages left in the memory shouldn't be saved to database, results of [getHistory](../methods/messages.getHistory.md) and [getMessages](../methods/messages.getMessages.md) must be used to update state of deleted and edited messages left in the memory. +3. Save all messages loaded in the memory and stored in the database without saving that some messages form continuous ranges. Messages in the database will be excluded from results of getChatHistory and searchChatMessages after application restart and will be available only through getMessage. Every message should still be checked using getHistory. It has more disadvantages over 2) than advantages. +4. Save all messages with saving all data about continuous message ranges. Messages from the database may be used as results of getChatHistory and (if implemented continuous ranges support for searching shared media) searchChatMessages. The messages should still be lazily checked using getHistory, but they are still available offline. It is the best way for gaps support, but it is pretty hard to implement correctly. It should be also noted that some messages like live location messages shouldn't be deleted. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.channelDifferenceTooLong +[Back to constructors index](index.md) + + + +The provided `pts + limit < remote pts`. Simply, there are too many updates to be fetched (more than `limit`), the client has to resolve the update gap in one of the following ways: + +1. Delete all known messages in the chat, begin from scratch by refetching all messages manually with [getHistory](../methods/messages.getHistory.md). It is easy to implement, but suddenly disappearing messages looks awful for the user. +2. Save all messages loaded in the memory until application restart, but delete all messages from database. Messages left in the memory must be lazily updated using calls to [getHistory](../methods/messages.getHistory.md). It looks much smoothly for the user, he will need to redownload messages only after client restart. Unsynchronized messages left in the memory shouldn't be saved to database, results of [getHistory](../methods/messages.getHistory.md) and [getMessages](../methods/messages.getMessages.md) must be used to update state of deleted and edited messages left in the memory. +3. Save all messages loaded in the memory and stored in the database without saving that some messages form continuous ranges. Messages in the database will be excluded from results of getChatHistory and searchChatMessages after application restart and will be available only through getMessage. Every message should still be checked using getHistory. It has more disadvantages over 2) than advantages. +4. Save all messages with saving all data about continuous message ranges. Messages from the database may be used as results of getChatHistory and (if implemented continuous ranges support for searching shared media) searchChatMessages. The messages should still be lazily checked using getHistory, but they are still available offline. It is the best way for gaps support, but it is pretty hard to implement correctly. It should be also noted that some messages like live location messages shouldn't be deleted. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates that must be fetched (always false)| +|pts|[int](../types/int.md) | Yes|Pts| +|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| +|top\_message|[int](../types/int.md) | Yes|Top message| +|top\_important\_message|[int](../types/int.md) | Yes|Top important message| +|read\_inbox\_max\_id|[int](../types/int.md) | Yes|Read inbox max ID| +|unread\_count|[int](../types/int.md) | Yes|Unread count| +|unread\_important\_count|[int](../types/int.md) | Yes|Unread important count| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [updates.ChannelDifference](../types/updates.ChannelDifference.md) + + +### Example: + +```php +$updates.channelDifferenceTooLong = ['_' => 'updates.channelDifferenceTooLong', 'final' => Bool, 'pts' => int, 'timeout' => int, 'top_message' => int, 'top_important_message' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'unread_important_count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +updates.channelDifferenceTooLong={_='updates.channelDifferenceTooLong', final=Bool, pts=int, timeout=int, top_message=int, top_important_message=int, read_inbox_max_id=int, unread_count=int, unread_important_count=int, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v45/constructors/updates.difference.md b/old_docs/API_docs_v45/constructors/updates.difference.md new file mode 100644 index 00000000..82541b51 --- /dev/null +++ b/old_docs/API_docs_v45/constructors/updates.difference.md @@ -0,0 +1,43 @@ +--- +title: updates.difference +description: Full list of occurred events. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.difference +[Back to constructors index](index.md) + + + +Full list of occurred events. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| +|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| +|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| +|state|[updates.State](../constructors/updates.State.md) | Yes|Current state| + + + +### Type: [updates.Difference](../types/updates.Difference.md) + + +### Example: + +```php +$updates.difference = ['_' => 'updates.difference', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates.State]; +``` + + +Or, if you're into Lua: + +```lua +updates.difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates.State} + +``` + + diff --git a/old_docs/API_docs_v45/constructors/updates.differenceEmpty.md b/old_docs/API_docs_v45/constructors/updates.differenceEmpty.md new file mode 100644 index 00000000..a9dc3bd0 --- /dev/null +++ b/old_docs/API_docs_v45/constructors/updates.differenceEmpty.md @@ -0,0 +1,39 @@ +--- +title: updates.differenceEmpty +description: No events. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.differenceEmpty +[Back to constructors index](index.md) + + + +No events. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Current date| +|seq|[int](../types/int.md) | Yes|Number of sent updates| + + + +### Type: [updates.Difference](../types/updates.Difference.md) + + +### Example: + +```php +$updates.differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int]; +``` + + +Or, if you're into Lua: + +```lua +updates.differenceEmpty={_='updates.differenceEmpty', date=int, seq=int} + +``` + + diff --git a/old_docs/API_docs_v45/constructors/updates.differenceSlice.md b/old_docs/API_docs_v45/constructors/updates.differenceSlice.md new file mode 100644 index 00000000..9daf7a75 --- /dev/null +++ b/old_docs/API_docs_v45/constructors/updates.differenceSlice.md @@ -0,0 +1,43 @@ +--- +title: updates.differenceSlice +description: Incomplete list of occurred events. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.differenceSlice +[Back to constructors index](index.md) + + + +Incomplete list of occurred events. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| +|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| +|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| +|intermediate\_state|[updates.State](../constructors/updates.State.md) | Yes|Intermediary state| + + + +### Type: [updates.Difference](../types/updates.Difference.md) + + +### Example: + +```php +$updates.differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'intermediate_state' => updates.State]; +``` + + +Or, if you're into Lua: + +```lua +updates.differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates.State} + +``` + + diff --git a/old_docs/API_docs_v45/constructors/updates.state.md b/old_docs/API_docs_v45/constructors/updates.state.md new file mode 100644 index 00000000..abe9ddbb --- /dev/null +++ b/old_docs/API_docs_v45/constructors/updates.state.md @@ -0,0 +1,42 @@ +--- +title: updates.state +description: Updates state. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.state +[Back to constructors index](index.md) + + + +Updates state. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| +|qts|[int](../types/int.md) | Yes|Position in a sequence of updates in secret chats. For further detailes refer to article [secret chats](https://core.telegram.org/api/end-to-end)
Parameter was added in [eigth layer](https://core.telegram.org/api/layers#layer-8).| +|date|[int](../types/int.md) | Yes|Date of condition| +|seq|[int](../types/int.md) | Yes|Number of sent updates| +|unread\_count|[int](../types/int.md) | Yes|Number of unread messages| + + + +### Type: [updates.State](../types/updates.State.md) + + +### Example: + +```php +$updates.state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int]; +``` + + +Or, if you're into Lua: + +```lua +updates.state={_='updates.state', pts=int, qts=int, date=int, seq=int, unread_count=int} + +``` + + diff --git a/old_docs/API_docs_v45/constructors/updates_channelDifference.md b/old_docs/API_docs_v45/constructors/updates_channelDifference.md deleted file mode 100644 index 1b50fbf3..00000000 --- a/old_docs/API_docs_v45/constructors/updates_channelDifference.md +++ /dev/null @@ -1,44 +0,0 @@ ---- -title: updates.channelDifference -description: The new updates -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.channelDifference -[Back to constructors index](index.md) - - - -The new updates - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates to be fetched using getDifference, starting from the provided `pts`| -|pts|[int](../types/int.md) | Yes|The [PTS](https://core.telegram.org/api/updates) from which to start getting updates the next time| -|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| -|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| -|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) - - -### Example: - -```php -$updates_channelDifference = ['_' => 'updates.channelDifference', 'final' => Bool, 'pts' => int, 'timeout' => int, 'new_messages' => [Message, Message], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -updates_channelDifference={_='updates.channelDifference', final=Bool, pts=int, timeout=int, new_messages={Message}, other_updates={Update}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v45/constructors/updates_channelDifferenceEmpty.md b/old_docs/API_docs_v45/constructors/updates_channelDifferenceEmpty.md deleted file mode 100644 index 713137aa..00000000 --- a/old_docs/API_docs_v45/constructors/updates_channelDifferenceEmpty.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: updates.channelDifferenceEmpty -description: There are no new updates -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.channelDifferenceEmpty -[Back to constructors index](index.md) - - - -There are no new updates - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates that must be fetched (always false)| -|pts|[int](../types/int.md) | Yes|The latest [PTS](https://core.telegram.org/api/updates)| -|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| - - - -### Type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) - - -### Example: - -```php -$updates_channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'final' => Bool, 'pts' => int, 'timeout' => int]; -``` - - -Or, if you're into Lua: - -```lua -updates_channelDifferenceEmpty={_='updates.channelDifferenceEmpty', final=Bool, pts=int, timeout=int} - -``` - - diff --git a/old_docs/API_docs_v45/constructors/updates_channelDifferenceTooLong.md b/old_docs/API_docs_v45/constructors/updates_channelDifferenceTooLong.md deleted file mode 100644 index 08ddaa5b..00000000 --- a/old_docs/API_docs_v45/constructors/updates_channelDifferenceTooLong.md +++ /dev/null @@ -1,58 +0,0 @@ ---- -title: updates.channelDifferenceTooLong -description: The provided `pts + limit < remote pts`. Simply, there are too many updates to be fetched (more than `limit`), the client has to resolve the update gap in one of the following ways: - -1. Delete all known messages in the chat, begin from scratch by refetching all messages manually with [getHistory](../methods/messages.getHistory.md). It is easy to implement, but suddenly disappearing messages looks awful for the user. -2. Save all messages loaded in the memory until application restart, but delete all messages from database. Messages left in the memory must be lazily updated using calls to [getHistory](../methods/messages.getHistory.md). It looks much smoothly for the user, he will need to redownload messages only after client restart. Unsynchronized messages left in the memory shouldn't be saved to database, results of [getHistory](../methods/messages.getHistory.md) and [getMessages](../methods/messages.getMessages.md) must be used to update state of deleted and edited messages left in the memory. -3. Save all messages loaded in the memory and stored in the database without saving that some messages form continuous ranges. Messages in the database will be excluded from results of getChatHistory and searchChatMessages after application restart and will be available only through getMessage. Every message should still be checked using getHistory. It has more disadvantages over 2) than advantages. -4. Save all messages with saving all data about continuous message ranges. Messages from the database may be used as results of getChatHistory and (if implemented continuous ranges support for searching shared media) searchChatMessages. The messages should still be lazily checked using getHistory, but they are still available offline. It is the best way for gaps support, but it is pretty hard to implement correctly. It should be also noted that some messages like live location messages shouldn't be deleted. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.channelDifferenceTooLong -[Back to constructors index](index.md) - - - -The provided `pts + limit < remote pts`. Simply, there are too many updates to be fetched (more than `limit`), the client has to resolve the update gap in one of the following ways: - -1. Delete all known messages in the chat, begin from scratch by refetching all messages manually with [getHistory](../methods/messages.getHistory.md). It is easy to implement, but suddenly disappearing messages looks awful for the user. -2. Save all messages loaded in the memory until application restart, but delete all messages from database. Messages left in the memory must be lazily updated using calls to [getHistory](../methods/messages.getHistory.md). It looks much smoothly for the user, he will need to redownload messages only after client restart. Unsynchronized messages left in the memory shouldn't be saved to database, results of [getHistory](../methods/messages.getHistory.md) and [getMessages](../methods/messages.getMessages.md) must be used to update state of deleted and edited messages left in the memory. -3. Save all messages loaded in the memory and stored in the database without saving that some messages form continuous ranges. Messages in the database will be excluded from results of getChatHistory and searchChatMessages after application restart and will be available only through getMessage. Every message should still be checked using getHistory. It has more disadvantages over 2) than advantages. -4. Save all messages with saving all data about continuous message ranges. Messages from the database may be used as results of getChatHistory and (if implemented continuous ranges support for searching shared media) searchChatMessages. The messages should still be lazily checked using getHistory, but they are still available offline. It is the best way for gaps support, but it is pretty hard to implement correctly. It should be also noted that some messages like live location messages shouldn't be deleted. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates that must be fetched (always false)| -|pts|[int](../types/int.md) | Yes|Pts| -|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| -|top\_message|[int](../types/int.md) | Yes|Top message| -|top\_important\_message|[int](../types/int.md) | Yes|Top important message| -|read\_inbox\_max\_id|[int](../types/int.md) | Yes|Read inbox max ID| -|unread\_count|[int](../types/int.md) | Yes|Unread count| -|unread\_important\_count|[int](../types/int.md) | Yes|Unread important count| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) - - -### Example: - -```php -$updates_channelDifferenceTooLong = ['_' => 'updates.channelDifferenceTooLong', 'final' => Bool, 'pts' => int, 'timeout' => int, 'top_message' => int, 'top_important_message' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'unread_important_count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -updates_channelDifferenceTooLong={_='updates.channelDifferenceTooLong', final=Bool, pts=int, timeout=int, top_message=int, top_important_message=int, read_inbox_max_id=int, unread_count=int, unread_important_count=int, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v45/constructors/updates_difference.md b/old_docs/API_docs_v45/constructors/updates_difference.md deleted file mode 100644 index 71ac7d4c..00000000 --- a/old_docs/API_docs_v45/constructors/updates_difference.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: updates.difference -description: Full list of occurred events. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.difference -[Back to constructors index](index.md) - - - -Full list of occurred events. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| -|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| -|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| -|state|[updates\_State](../types/updates_State.md) | Yes|Current state| - - - -### Type: [updates\_Difference](../types/updates_Difference.md) - - -### Example: - -```php -$updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates_State]; -``` - - -Or, if you're into Lua: - -```lua -updates_difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates_State} - -``` - - diff --git a/old_docs/API_docs_v45/constructors/updates_differenceEmpty.md b/old_docs/API_docs_v45/constructors/updates_differenceEmpty.md deleted file mode 100644 index c3c95c5a..00000000 --- a/old_docs/API_docs_v45/constructors/updates_differenceEmpty.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: updates.differenceEmpty -description: No events. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.differenceEmpty -[Back to constructors index](index.md) - - - -No events. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Current date| -|seq|[int](../types/int.md) | Yes|Number of sent updates| - - - -### Type: [updates\_Difference](../types/updates_Difference.md) - - -### Example: - -```php -$updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int]; -``` - - -Or, if you're into Lua: - -```lua -updates_differenceEmpty={_='updates.differenceEmpty', date=int, seq=int} - -``` - - diff --git a/old_docs/API_docs_v45/constructors/updates_differenceSlice.md b/old_docs/API_docs_v45/constructors/updates_differenceSlice.md deleted file mode 100644 index 8b12a369..00000000 --- a/old_docs/API_docs_v45/constructors/updates_differenceSlice.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: updates.differenceSlice -description: Incomplete list of occurred events. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.differenceSlice -[Back to constructors index](index.md) - - - -Incomplete list of occurred events. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| -|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| -|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| -|intermediate\_state|[updates\_State](../types/updates_State.md) | Yes|Intermediary state| - - - -### Type: [updates\_Difference](../types/updates_Difference.md) - - -### Example: - -```php -$updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'intermediate_state' => updates_State]; -``` - - -Or, if you're into Lua: - -```lua -updates_differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates_State} - -``` - - diff --git a/old_docs/API_docs_v45/constructors/updates_state.md b/old_docs/API_docs_v45/constructors/updates_state.md deleted file mode 100644 index ef3698e2..00000000 --- a/old_docs/API_docs_v45/constructors/updates_state.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: updates.state -description: Updates state. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.state -[Back to constructors index](index.md) - - - -Updates state. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| -|qts|[int](../types/int.md) | Yes|Position in a sequence of updates in secret chats. For further detailes refer to article [secret chats](https://core.telegram.org/api/end-to-end)
Parameter was added in [eigth layer](https://core.telegram.org/api/layers#layer-8).| -|date|[int](../types/int.md) | Yes|Date of condition| -|seq|[int](../types/int.md) | Yes|Number of sent updates| -|unread\_count|[int](../types/int.md) | Yes|Number of unread messages| - - - -### Type: [updates\_State](../types/updates_State.md) - - -### Example: - -```php -$updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int]; -``` - - -Or, if you're into Lua: - -```lua -updates_state={_='updates.state', pts=int, qts=int, date=int, seq=int, unread_count=int} - -``` - - diff --git a/old_docs/API_docs_v45/constructors/upload.file.md b/old_docs/API_docs_v45/constructors/upload.file.md new file mode 100644 index 00000000..145a4c24 --- /dev/null +++ b/old_docs/API_docs_v45/constructors/upload.file.md @@ -0,0 +1,40 @@ +--- +title: upload.file +description: File content. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: upload.file +[Back to constructors index](index.md) + + + +File content. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|type|[storage.FileType](../constructors/storage.FileType.md) | Yes|File type| +|mtime|[int](../types/int.md) | Yes|Modification type| +|bytes|[bytes](../types/bytes.md) | Yes|Binary data, file content| + + + +### Type: [upload.File](../types/upload.File.md) + + +### Example: + +```php +$upload.file = ['_' => 'upload.file', 'type' => storage.FileType, 'mtime' => int, 'bytes' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +upload.file={_='upload.file', type=storage.FileType, mtime=int, bytes='bytes'} + +``` + + diff --git a/old_docs/API_docs_v45/constructors/upload_file.md b/old_docs/API_docs_v45/constructors/upload_file.md deleted file mode 100644 index 1e07d9fb..00000000 --- a/old_docs/API_docs_v45/constructors/upload_file.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: upload.file -description: File content. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: upload.file -[Back to constructors index](index.md) - - - -File content. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|type|[storage\_FileType](../types/storage_FileType.md) | Yes|File type| -|mtime|[int](../types/int.md) | Yes|Modification type| -|bytes|[bytes](../types/bytes.md) | Yes|Binary data, file content| - - - -### Type: [upload\_File](../types/upload_File.md) - - -### Example: - -```php -$upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int, 'bytes' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -upload_file={_='upload.file', type=storage_FileType, mtime=int, bytes='bytes'} - -``` - - diff --git a/old_docs/API_docs_v45/constructors/userFull.md b/old_docs/API_docs_v45/constructors/userFull.md index 67913fec..129a02d0 100644 --- a/old_docs/API_docs_v45/constructors/userFull.md +++ b/old_docs/API_docs_v45/constructors/userFull.md @@ -15,7 +15,7 @@ Extended user info | Name | Type | Required | Description | |----------|---------------|----------|-------------| |user|[User](../types/User.md) | Optional|Remaining user info| -|link|[contacts\_Link](../types/contacts_Link.md) | Yes|Link| +|link|[contacts.Link](../constructors/contacts.Link.md) | Yes|Link| |profile\_photo|[Photo](../types/Photo.md) | Optional|Profile photo| |notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Optional|Notification settings| |blocked|[Bool](../types/Bool.md) | Yes|Blocked?| @@ -29,14 +29,14 @@ Extended user info ### Example: ```php -$userFull = ['_' => 'userFull', 'user' => User, 'link' => contacts_Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'blocked' => Bool, 'bot_info' => BotInfo]; +$userFull = ['_' => 'userFull', 'user' => User, 'link' => contacts.Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'blocked' => Bool, 'bot_info' => BotInfo]; ``` Or, if you're into Lua: ```lua -userFull={_='userFull', user=User, link=contacts_Link, profile_photo=Photo, notify_settings=PeerNotifySettings, blocked=Bool, bot_info=BotInfo} +userFull={_='userFull', user=User, link=contacts.Link, profile_photo=Photo, notify_settings=PeerNotifySettings, blocked=Bool, bot_info=BotInfo} ``` diff --git a/old_docs/API_docs_v45/methods/account.getAuthorizations.md b/old_docs/API_docs_v45/methods/account.getAuthorizations.md index f69c130a..fad3a7ae 100644 --- a/old_docs/API_docs_v45/methods/account.getAuthorizations.md +++ b/old_docs/API_docs_v45/methods/account.getAuthorizations.md @@ -11,7 +11,7 @@ Get logged-in sessions -### Return type: [account\_Authorizations](../types/account_Authorizations.md) +### Return type: [account.Authorizations](../types/account.Authorizations.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_Authorizations = $MadelineProto->account->getAuthorizations(); +$account.Authorizations = $MadelineProto->account->getAuthorizations(); ``` Or, if you're into Lua: ```lua -account_Authorizations = account.getAuthorizations({}) +account.Authorizations = account.getAuthorizations({}) ``` diff --git a/old_docs/API_docs_v45/methods/account.getPassword.md b/old_docs/API_docs_v45/methods/account.getPassword.md index eed4aee3..621271b6 100644 --- a/old_docs/API_docs_v45/methods/account.getPassword.md +++ b/old_docs/API_docs_v45/methods/account.getPassword.md @@ -11,7 +11,7 @@ Obtain configuration for two-factor authorization with password -### Return type: [account\_Password](../types/account_Password.md) +### Return type: [account.Password](../types/account.Password.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_Password = $MadelineProto->account->getPassword(); +$account.Password = $MadelineProto->account->getPassword(); ``` Or, if you're into Lua: ```lua -account_Password = account.getPassword({}) +account.Password = account.getPassword({}) ``` diff --git a/old_docs/API_docs_v45/methods/account.getPasswordSettings.md b/old_docs/API_docs_v45/methods/account.getPasswordSettings.md index dcdae61a..3d3cce08 100644 --- a/old_docs/API_docs_v45/methods/account.getPasswordSettings.md +++ b/old_docs/API_docs_v45/methods/account.getPasswordSettings.md @@ -16,7 +16,7 @@ You cannot use this method directly; use $MadelineProto->update_2fa($params), in |current\_password\_hash|[bytes](../types/bytes.md) | You cannot use this method directly; use $MadelineProto->update_2fa($params), instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [account\_PasswordSettings](../types/account_PasswordSettings.md) +### Return type: [account.PasswordSettings](../types/account.PasswordSettings.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_PasswordSettings = $MadelineProto->account->getPasswordSettings(['current_password_hash' => 'bytes', ]); +$account.PasswordSettings = $MadelineProto->account->getPasswordSettings(['current_password_hash' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -account_PasswordSettings = account.getPasswordSettings({current_password_hash='bytes', }) +account.PasswordSettings = account.getPasswordSettings({current_password_hash='bytes', }) ``` ### Errors diff --git a/old_docs/API_docs_v45/methods/account.getPrivacy.md b/old_docs/API_docs_v45/methods/account.getPrivacy.md index 6a240129..e20c292c 100644 --- a/old_docs/API_docs_v45/methods/account.getPrivacy.md +++ b/old_docs/API_docs_v45/methods/account.getPrivacy.md @@ -16,7 +16,7 @@ Get privacy settings of current account |key|[InputPrivacyKey](../types/InputPrivacyKey.md) | Peer category whose privacy settings should be fetched | Yes| -### Return type: [account\_PrivacyRules](../types/account_PrivacyRules.md) +### Return type: [account.PrivacyRules](../types/account.PrivacyRules.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_PrivacyRules = $MadelineProto->account->getPrivacy(['key' => InputPrivacyKey, ]); +$account.PrivacyRules = $MadelineProto->account->getPrivacy(['key' => InputPrivacyKey, ]); ``` Or, if you're into Lua: ```lua -account_PrivacyRules = account.getPrivacy({key=InputPrivacyKey, }) +account.PrivacyRules = account.getPrivacy({key=InputPrivacyKey, }) ``` ### Errors diff --git a/old_docs/API_docs_v45/methods/account.sendChangePhoneCode.md b/old_docs/API_docs_v45/methods/account.sendChangePhoneCode.md index 169fa15b..e70372de 100644 --- a/old_docs/API_docs_v45/methods/account.sendChangePhoneCode.md +++ b/old_docs/API_docs_v45/methods/account.sendChangePhoneCode.md @@ -16,7 +16,7 @@ Verify a new phone number to associate to the current account |phone\_number|[string](../types/string.md) | New phone number | Yes| -### Return type: [account\_SentChangePhoneCode](../types/account_SentChangePhoneCode.md) +### Return type: [account.SentChangePhoneCode](../types/account.SentChangePhoneCode.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_SentChangePhoneCode = $MadelineProto->account->sendChangePhoneCode(['phone_number' => 'string', ]); +$account.SentChangePhoneCode = $MadelineProto->account->sendChangePhoneCode(['phone_number' => 'string', ]); ``` Or, if you're into Lua: ```lua -account_SentChangePhoneCode = account.sendChangePhoneCode({phone_number='string', }) +account.SentChangePhoneCode = account.sendChangePhoneCode({phone_number='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v45/methods/account.setPrivacy.md b/old_docs/API_docs_v45/methods/account.setPrivacy.md index 7c4cfba7..096d373e 100644 --- a/old_docs/API_docs_v45/methods/account.setPrivacy.md +++ b/old_docs/API_docs_v45/methods/account.setPrivacy.md @@ -17,7 +17,7 @@ Change privacy settings of current account |rules|Array of [InputPrivacyRule](../types/InputPrivacyRule.md) | Privacy settings | Yes| -### Return type: [account\_PrivacyRules](../types/account_PrivacyRules.md) +### Return type: [account.PrivacyRules](../types/account.PrivacyRules.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_PrivacyRules = $MadelineProto->account->setPrivacy(['key' => InputPrivacyKey, 'rules' => [InputPrivacyRule, InputPrivacyRule], ]); +$account.PrivacyRules = $MadelineProto->account->setPrivacy(['key' => InputPrivacyKey, 'rules' => [InputPrivacyRule, InputPrivacyRule], ]); ``` Or, if you're into Lua: ```lua -account_PrivacyRules = account.setPrivacy({key=InputPrivacyKey, rules={InputPrivacyRule}, }) +account.PrivacyRules = account.setPrivacy({key=InputPrivacyKey, rules={InputPrivacyRule}, }) ``` ### Errors diff --git a/old_docs/API_docs_v45/methods/api_README.md b/old_docs/API_docs_v45/methods/api_README.md index 4d92d9cb..eed2f3f4 100644 --- a/old_docs/API_docs_v45/methods/api_README.md +++ b/old_docs/API_docs_v45/methods/api_README.md @@ -52,7 +52,7 @@ $MadelineProto->[account->getAccountTTL](account.getAccountTTL.md)(\[\]) === [$A ***

-$MadelineProto->[account->getAuthorizations](account.getAuthorizations.md)(\[\]) === [$account\_Authorizations](../types/account_Authorizations.md) +$MadelineProto->[account->getAuthorizations](account.getAuthorizations.md)(\[\]) === [$account.Authorizations](../types/account.Authorizations.md) ***

@@ -60,15 +60,15 @@ $MadelineProto->[account->getNotifySettings](account.getNotifySettings.md)(\['pe ***

-$MadelineProto->[account->getPassword](account.getPassword.md)(\[\]) === [$account\_Password](../types/account_Password.md) +$MadelineProto->[account->getPassword](account.getPassword.md)(\[\]) === [$account.Password](../types/account.Password.md) ***

-$MadelineProto->[account->getPasswordSettings](account.getPasswordSettings.md)(\['current_password_hash' => [bytes](../types/bytes.md), \]) === [$account\_PasswordSettings](../types/account_PasswordSettings.md) +$MadelineProto->[account->getPasswordSettings](account.getPasswordSettings.md)(\['current_password_hash' => [bytes](../types/bytes.md), \]) === [$account.PasswordSettings](../types/account.PasswordSettings.md) ***

-$MadelineProto->[account->getPrivacy](account.getPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), \]) === [$account\_PrivacyRules](../types/account_PrivacyRules.md) +$MadelineProto->[account->getPrivacy](account.getPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), \]) === [$account.PrivacyRules](../types/account.PrivacyRules.md) ***

@@ -92,7 +92,7 @@ $MadelineProto->[account->resetNotifySettings](account.resetNotifySettings.md)(\ ***

-$MadelineProto->[account->sendChangePhoneCode](account.sendChangePhoneCode.md)(\['phone_number' => [string](../types/string.md), \]) === [$account\_SentChangePhoneCode](../types/account_SentChangePhoneCode.md) +$MadelineProto->[account->sendChangePhoneCode](account.sendChangePhoneCode.md)(\['phone_number' => [string](../types/string.md), \]) === [$account.SentChangePhoneCode](../types/account.SentChangePhoneCode.md) ***

@@ -100,7 +100,7 @@ $MadelineProto->[account->setAccountTTL](account.setAccountTTL.md)(\['ttl' => [A ***

-$MadelineProto->[account->setPrivacy](account.setPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), 'rules' => \[[InputPrivacyRule](../types/InputPrivacyRule.md)\], \]) === [$account\_PrivacyRules](../types/account_PrivacyRules.md) +$MadelineProto->[account->setPrivacy](account.setPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), 'rules' => \[[InputPrivacyRule](../types/InputPrivacyRule.md)\], \]) === [$account.PrivacyRules](../types/account.PrivacyRules.md) ***

@@ -136,23 +136,23 @@ $MadelineProto->[auth->bindTempAuthKey](auth.bindTempAuthKey.md)(\['perm_auth_ke ***

-$MadelineProto->[auth->checkPassword](auth.checkPassword.md)(\['password_hash' => [bytes](../types/bytes.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->checkPassword](auth.checkPassword.md)(\['password_hash' => [bytes](../types/bytes.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

-$MadelineProto->[auth->checkPhone](auth.checkPhone.md)(\['phone_number' => [string](../types/string.md), \]) === [$auth\_CheckedPhone](../types/auth_CheckedPhone.md) +$MadelineProto->[auth->checkPhone](auth.checkPhone.md)(\['phone_number' => [string](../types/string.md), \]) === [$auth.CheckedPhone](../types/auth.CheckedPhone.md) ***

-$MadelineProto->[auth->exportAuthorization](auth.exportAuthorization.md)(\['dc_id' => [int](../types/int.md), \]) === [$auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) +$MadelineProto->[auth->exportAuthorization](auth.exportAuthorization.md)(\['dc_id' => [int](../types/int.md), \]) === [$auth.ExportedAuthorization](../types/auth.ExportedAuthorization.md) ***

-$MadelineProto->[auth->importAuthorization](auth.importAuthorization.md)(\['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->importAuthorization](auth.importAuthorization.md)(\['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

-$MadelineProto->[auth->importBotAuthorization](auth.importBotAuthorization.md)(\['api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), 'bot_auth_token' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->importBotAuthorization](auth.importBotAuthorization.md)(\['api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), 'bot_auth_token' => [string](../types/string.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

@@ -160,11 +160,11 @@ $MadelineProto->[auth->logOut](auth.logOut.md)(\[\]) === [$Bool](../types/Bool.m ***

-$MadelineProto->[auth->recoverPassword](auth.recoverPassword.md)(\['code' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->recoverPassword](auth.recoverPassword.md)(\['code' => [string](../types/string.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

-$MadelineProto->[auth->requestPasswordRecovery](auth.requestPasswordRecovery.md)(\[\]) === [$auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) +$MadelineProto->[auth->requestPasswordRecovery](auth.requestPasswordRecovery.md)(\[\]) === [$auth.PasswordRecovery](../types/auth.PasswordRecovery.md) ***

@@ -176,7 +176,7 @@ $MadelineProto->[auth->sendCall](auth.sendCall.md)(\['phone_number' => [string]( ***

-$MadelineProto->[auth->sendCode](auth.sendCode.md)(\['phone_number' => [string](../types/string.md), 'sms_type' => [int](../types/int.md), 'api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) === [$auth\_SentCode](../types/auth_SentCode.md) +$MadelineProto->[auth->sendCode](auth.sendCode.md)(\['phone_number' => [string](../types/string.md), 'sms_type' => [int](../types/int.md), 'api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) === [$auth.SentCode](../types/auth.SentCode.md) ***

@@ -188,11 +188,11 @@ $MadelineProto->[auth->sendSms](auth.sendSms.md)(\['phone_number' => [string](.. ***

-$MadelineProto->[auth->signIn](auth.signIn.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->signIn](auth.signIn.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

-$MadelineProto->[auth->signUp](auth.signUp.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->signUp](auth.signUp.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

@@ -208,11 +208,11 @@ $MadelineProto->[channels->deleteChannel](channels.deleteChannel.md)(\['channel' ***

-$MadelineProto->[channels->deleteMessages](channels.deleteMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) +$MadelineProto->[channels->deleteMessages](channels.deleteMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages.AffectedMessages](../types/messages.AffectedMessages.md) ***

-$MadelineProto->[channels->deleteUserHistory](channels.deleteUserHistory.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages\_AffectedHistory](../types/messages_AffectedHistory.md) +$MadelineProto->[channels->deleteUserHistory](channels.deleteUserHistory.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages.AffectedHistory](../types/messages.AffectedHistory.md) ***

@@ -236,31 +236,31 @@ $MadelineProto->[channels->exportInvite](channels.exportInvite.md)(\['channel' = ***

-$MadelineProto->[channels->getChannels](channels.getChannels.md)(\['id' => \[[InputChannel](../types/InputChannel.md)\], \]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[channels->getChannels](channels.getChannels.md)(\['id' => \[[InputChannel](../types/InputChannel.md)\], \]) === [$messages.Chats](../types/messages.Chats.md) ***

-$MadelineProto->[channels->getDialogs](channels.getDialogs.md)(\['offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages\_Dialogs](../types/messages_Dialogs.md) +$MadelineProto->[channels->getDialogs](channels.getDialogs.md)(\['offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages.Dialogs](../types/messages.Dialogs.md) ***

-$MadelineProto->[channels->getFullChannel](channels.getFullChannel.md)(\['channel' => [InputChannel](../types/InputChannel.md), \]) === [$messages\_ChatFull](../types/messages_ChatFull.md) +$MadelineProto->[channels->getFullChannel](channels.getFullChannel.md)(\['channel' => [InputChannel](../types/InputChannel.md), \]) === [$messages.ChatFull](../types/messages.ChatFull.md) ***

-$MadelineProto->[channels->getImportantHistory](channels.getImportantHistory.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'offset_id' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[channels->getImportantHistory](channels.getImportantHistory.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'offset_id' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[channels->getMessages](channels.getMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[channels->getMessages](channels.getMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[channels->getParticipant](channels.getParticipant.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$channels\_ChannelParticipant](../types/channels_ChannelParticipant.md) +$MadelineProto->[channels->getParticipant](channels.getParticipant.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$channels.ChannelParticipant](../types/channels.ChannelParticipant.md) ***

-$MadelineProto->[channels->getParticipants](channels.getParticipants.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$channels\_ChannelParticipants](../types/channels_ChannelParticipants.md) +$MadelineProto->[channels->getParticipants](channels.getParticipants.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$channels.ChannelParticipants](../types/channels.ChannelParticipants.md) ***

@@ -300,7 +300,7 @@ $MadelineProto->[contacts->block](contacts.block.md)(\['id' => [InputUser](../ty ***

-$MadelineProto->[contacts->deleteContact](contacts.deleteContact.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$contacts\_Link](../types/contacts_Link.md) +$MadelineProto->[contacts->deleteContact](contacts.deleteContact.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$contacts.Link](../types/contacts.Link.md) ***

@@ -312,11 +312,11 @@ $MadelineProto->[contacts->exportCard](contacts.exportCard.md)(\[\]) === [$Vecto ***

-$MadelineProto->[contacts->getBlocked](contacts.getBlocked.md)(\['offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$contacts\_Blocked](../types/contacts_Blocked.md) +$MadelineProto->[contacts->getBlocked](contacts.getBlocked.md)(\['offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$contacts.Blocked](../types/contacts.Blocked.md) ***

-$MadelineProto->[contacts->getContacts](contacts.getContacts.md)(\['hash' => [string](../types/string.md), \]) === [$contacts\_Contacts](../types/contacts_Contacts.md) +$MadelineProto->[contacts->getContacts](contacts.getContacts.md)(\['hash' => [string](../types/string.md), \]) === [$contacts.Contacts](../types/contacts.Contacts.md) ***

@@ -324,7 +324,7 @@ $MadelineProto->[contacts->getStatuses](contacts.getStatuses.md)(\[\]) === [$Vec ***

-$MadelineProto->[contacts->getSuggested](contacts.getSuggested.md)(\['limit' => [int](../types/int.md), \]) === [$contacts\_Suggested](../types/contacts_Suggested.md) +$MadelineProto->[contacts->getSuggested](contacts.getSuggested.md)(\['limit' => [int](../types/int.md), \]) === [$contacts.Suggested](../types/contacts.Suggested.md) ***

@@ -332,15 +332,15 @@ $MadelineProto->[contacts->importCard](contacts.importCard.md)(\['export_card' = ***

-$MadelineProto->[contacts->importContacts](contacts.importContacts.md)(\['contacts' => \[[InputContact](../types/InputContact.md)\], 'replace' => [Bool](../types/Bool.md), \]) === [$contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) +$MadelineProto->[contacts->importContacts](contacts.importContacts.md)(\['contacts' => \[[InputContact](../types/InputContact.md)\], 'replace' => [Bool](../types/Bool.md), \]) === [$contacts.ImportedContacts](../types/contacts.ImportedContacts.md) ***

-$MadelineProto->[contacts->resolveUsername](contacts.resolveUsername.md)(\['username' => [string](../types/string.md), \]) === [$contacts\_ResolvedPeer](../types/contacts_ResolvedPeer.md) +$MadelineProto->[contacts->resolveUsername](contacts.resolveUsername.md)(\['username' => [string](../types/string.md), \]) === [$contacts.ResolvedPeer](../types/contacts.ResolvedPeer.md) ***

-$MadelineProto->[contacts->search](contacts.search.md)(\['q' => [string](../types/string.md), 'limit' => [int](../types/int.md), \]) === [$contacts\_Found](../types/contacts_Found.md) +$MadelineProto->[contacts->search](contacts.search.md)(\['q' => [string](../types/string.md), 'limit' => [int](../types/int.md), \]) === [$contacts.Found](../types/contacts.Found.md) ***

@@ -348,11 +348,11 @@ $MadelineProto->[contacts->unblock](contacts.unblock.md)(\['id' => [InputUser](. ***

-$MadelineProto->[help->getAppChangelog](help.getAppChangelog.md)(\['device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) === [$help\_AppChangelog](../types/help_AppChangelog.md) +$MadelineProto->[help->getAppChangelog](help.getAppChangelog.md)(\['device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) === [$help.AppChangelog](../types/help.AppChangelog.md) ***

-$MadelineProto->[help->getAppUpdate](help.getAppUpdate.md)(\['device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) === [$help\_AppUpdate](../types/help_AppUpdate.md) +$MadelineProto->[help->getAppUpdate](help.getAppUpdate.md)(\['device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) === [$help.AppUpdate](../types/help.AppUpdate.md) ***

@@ -360,7 +360,7 @@ $MadelineProto->[help->getConfig](help.getConfig.md)(\[\]) === [$Config](../type ***

-$MadelineProto->[help->getInviteText](help.getInviteText.md)(\['lang_code' => [string](../types/string.md), \]) === [$help\_InviteText](../types/help_InviteText.md) +$MadelineProto->[help->getInviteText](help.getInviteText.md)(\['lang_code' => [string](../types/string.md), \]) === [$help.InviteText](../types/help.InviteText.md) ***

@@ -368,11 +368,11 @@ $MadelineProto->[help->getNearestDc](help.getNearestDc.md)(\[\]) === [$NearestDc ***

-$MadelineProto->[help->getSupport](help.getSupport.md)(\[\]) === [$help\_Support](../types/help_Support.md) +$MadelineProto->[help->getSupport](help.getSupport.md)(\[\]) === [$help.Support](../types/help.Support.md) ***

-$MadelineProto->[help->getTermsOfService](help.getTermsOfService.md)(\['lang_code' => [string](../types/string.md), \]) === [$help\_TermsOfService](../types/help_TermsOfService.md) +$MadelineProto->[help->getTermsOfService](help.getTermsOfService.md)(\['lang_code' => [string](../types/string.md), \]) === [$help.TermsOfService](../types/help.TermsOfService.md) ***

@@ -420,11 +420,11 @@ $MadelineProto->[messages->deleteChatUser](messages.deleteChatUser.md)(\['chat_i ***

-$MadelineProto->[messages->deleteHistory](messages.deleteHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), \]) === [$messages\_AffectedHistory](../types/messages_AffectedHistory.md) +$MadelineProto->[messages->deleteHistory](messages.deleteHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), \]) === [$messages.AffectedHistory](../types/messages.AffectedHistory.md) ***

-$MadelineProto->[messages->deleteMessages](messages.deleteMessages.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) +$MadelineProto->[messages->deleteMessages](messages.deleteMessages.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages.AffectedMessages](../types/messages.AffectedMessages.md) ***

@@ -456,19 +456,19 @@ $MadelineProto->[messages->forwardMessages](messages.forwardMessages.md)(\['broa ***

-$MadelineProto->[messages->getAllStickers](messages.getAllStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages\_AllStickers](../types/messages_AllStickers.md) +$MadelineProto->[messages->getAllStickers](messages.getAllStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages.AllStickers](../types/messages.AllStickers.md) ***

-$MadelineProto->[messages->getChats](messages.getChats.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[messages->getChats](messages.getChats.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages.Chats](../types/messages.Chats.md) ***

-$MadelineProto->[messages->getDhConfig](messages.getDhConfig.md)(\['version' => [int](../types/int.md), 'random_length' => [int](../types/int.md), \]) === [$messages\_DhConfig](../types/messages_DhConfig.md) +$MadelineProto->[messages->getDhConfig](messages.getDhConfig.md)(\['version' => [int](../types/int.md), 'random_length' => [int](../types/int.md), \]) === [$messages.DhConfig](../types/messages.DhConfig.md) ***

-$MadelineProto->[messages->getDialogs](messages.getDialogs.md)(\['offset_date' => [int](../types/int.md), 'offset_id' => [int](../types/int.md), 'offset_peer' => [InputPeer](../types/InputPeer.md), 'limit' => [int](../types/int.md), \]) === [$messages\_Dialogs](../types/messages_Dialogs.md) +$MadelineProto->[messages->getDialogs](messages.getDialogs.md)(\['offset_date' => [int](../types/int.md), 'offset_id' => [int](../types/int.md), 'offset_peer' => [InputPeer](../types/InputPeer.md), 'limit' => [int](../types/int.md), \]) === [$messages.Dialogs](../types/messages.Dialogs.md) ***

@@ -476,19 +476,19 @@ $MadelineProto->[messages->getDocumentByHash](messages.getDocumentByHash.md)(\[' ***

-$MadelineProto->[messages->getFullChat](messages.getFullChat.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), \]) === [$messages\_ChatFull](../types/messages_ChatFull.md) +$MadelineProto->[messages->getFullChat](messages.getFullChat.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), \]) === [$messages.ChatFull](../types/messages.ChatFull.md) ***

-$MadelineProto->[messages->getHistory](messages.getHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->getHistory](messages.getHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[messages->getInlineBotResults](messages.getInlineBotResults.md)(\['bot' => [InputUser](../types/InputUser.md), 'query' => [string](../types/string.md), 'offset' => [string](../types/string.md), \]) === [$messages\_BotResults](../types/messages_BotResults.md) +$MadelineProto->[messages->getInlineBotResults](messages.getInlineBotResults.md)(\['bot' => [InputUser](../types/InputUser.md), 'query' => [string](../types/string.md), 'offset' => [string](../types/string.md), \]) === [$messages.BotResults](../types/messages.BotResults.md) ***

-$MadelineProto->[messages->getMessages](messages.getMessages.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->getMessages](messages.getMessages.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages.Messages](../types/messages.Messages.md) ***

@@ -496,15 +496,15 @@ $MadelineProto->[messages->getMessagesViews](messages.getMessagesViews.md)(\['pe ***

-$MadelineProto->[messages->getSavedGifs](messages.getSavedGifs.md)(\['hash' => [int](../types/int.md), \]) === [$messages\_SavedGifs](../types/messages_SavedGifs.md) +$MadelineProto->[messages->getSavedGifs](messages.getSavedGifs.md)(\['hash' => [int](../types/int.md), \]) === [$messages.SavedGifs](../types/messages.SavedGifs.md) ***

-$MadelineProto->[messages->getStickerSet](messages.getStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), \]) === [$messages\_StickerSet](../types/messages_StickerSet.md) +$MadelineProto->[messages->getStickerSet](messages.getStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), \]) === [$messages.StickerSet](../types/messages.StickerSet.md) ***

-$MadelineProto->[messages->getStickers](messages.getStickers.md)(\['emoticon' => [string](../types/string.md), 'hash' => [string](../types/string.md), \]) === [$messages\_Stickers](../types/messages_Stickers.md) +$MadelineProto->[messages->getStickers](messages.getStickers.md)(\['emoticon' => [string](../types/string.md), 'hash' => [string](../types/string.md), \]) === [$messages.Stickers](../types/messages.Stickers.md) ***

@@ -528,11 +528,11 @@ $MadelineProto->[messages->readEncryptedHistory](messages.readEncryptedHistory.m ***

-$MadelineProto->[messages->readHistory](messages.readHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), \]) === [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) +$MadelineProto->[messages->readHistory](messages.readHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), \]) === [$messages.AffectedMessages](../types/messages.AffectedMessages.md) ***

-$MadelineProto->[messages->readMessageContents](messages.readMessageContents.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) +$MadelineProto->[messages->readMessageContents](messages.readMessageContents.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages.AffectedMessages](../types/messages.AffectedMessages.md) ***

@@ -560,15 +560,15 @@ $MadelineProto->[messages->saveGif](messages.saveGif.md)(\['id' => [InputDocumen ***

-$MadelineProto->[messages->search](messages.search.md)(\['important_only' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'q' => [string](../types/string.md), 'filter' => [MessagesFilter](../types/MessagesFilter.md), 'min_date' => [int](../types/int.md), 'max_date' => [int](../types/int.md), 'offset' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->search](messages.search.md)(\['important_only' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'q' => [string](../types/string.md), 'filter' => [MessagesFilter](../types/MessagesFilter.md), 'min_date' => [int](../types/int.md), 'max_date' => [int](../types/int.md), 'offset' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[messages->searchGifs](messages.searchGifs.md)(\['q' => [string](../types/string.md), 'offset' => [int](../types/int.md), \]) === [$messages\_FoundGifs](../types/messages_FoundGifs.md) +$MadelineProto->[messages->searchGifs](messages.searchGifs.md)(\['q' => [string](../types/string.md), 'offset' => [int](../types/int.md), \]) === [$messages.FoundGifs](../types/messages.FoundGifs.md) ***

-$MadelineProto->[messages->searchGlobal](messages.searchGlobal.md)(\['q' => [string](../types/string.md), 'offset_date' => [int](../types/int.md), 'offset_peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->searchGlobal](messages.searchGlobal.md)(\['q' => [string](../types/string.md), 'offset_date' => [int](../types/int.md), 'offset_peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

@@ -576,15 +576,15 @@ $MadelineProto->[messages->sendBroadcast](messages.sendBroadcast.md)(\['contacts ***

-$MadelineProto->[messages->sendEncrypted](messages.sendEncrypted.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'message' => [DecryptedMessage](../types/DecryptedMessage.md), \]) === [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +$MadelineProto->[messages->sendEncrypted](messages.sendEncrypted.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), \]) === [$messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ***

-$MadelineProto->[messages->sendEncryptedFile](messages.sendEncryptedFile.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'message' => [DecryptedMessage](../types/DecryptedMessage.md), 'file' => [InputEncryptedFile](../types/InputEncryptedFile.md), \]) === [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +$MadelineProto->[messages->sendEncryptedFile](messages.sendEncryptedFile.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), 'file' => [InputEncryptedFile](../types/InputEncryptedFile.md), \]) === [$messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ***

-$MadelineProto->[messages->sendEncryptedService](messages.sendEncryptedService.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'message' => [DecryptedMessage](../types/DecryptedMessage.md), \]) === [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +$MadelineProto->[messages->sendEncryptedService](messages.sendEncryptedService.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), \]) === [$messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ***

@@ -628,7 +628,7 @@ $MadelineProto->[photos->deletePhotos](photos.deletePhotos.md)(\['id' => \[[Inpu ***

-$MadelineProto->[photos->getUserPhotos](photos.getUserPhotos.md)(\['user_id' => [InputUser](../types/InputUser.md), 'offset' => [int](../types/int.md), 'max_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$photos\_Photos](../types/photos_Photos.md) +$MadelineProto->[photos->getUserPhotos](photos.getUserPhotos.md)(\['user_id' => [InputUser](../types/InputUser.md), 'offset' => [int](../types/int.md), 'max_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$photos.Photos](../types/photos.Photos.md) ***

@@ -636,23 +636,23 @@ $MadelineProto->[photos->updateProfilePhoto](photos.updateProfilePhoto.md)(\['id ***

-$MadelineProto->[photos->uploadProfilePhoto](photos.uploadProfilePhoto.md)(\['file' => [InputFile](../types/InputFile.md), 'caption' => [string](../types/string.md), 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'crop' => [InputPhotoCrop](../types/InputPhotoCrop.md), \]) === [$photos\_Photo](../types/photos_Photo.md) +$MadelineProto->[photos->uploadProfilePhoto](photos.uploadProfilePhoto.md)(\['file' => [InputFile](../types/InputFile.md), 'caption' => [string](../types/string.md), 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'crop' => [InputPhotoCrop](../types/InputPhotoCrop.md), \]) === [$photos.Photo](../types/photos.Photo.md) ***

-$MadelineProto->[updates->getChannelDifference](updates.getChannelDifference.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$updates\_ChannelDifference](../types/updates_ChannelDifference.md) +$MadelineProto->[updates->getChannelDifference](updates.getChannelDifference.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$updates.ChannelDifference](../types/updates.ChannelDifference.md) ***

-$MadelineProto->[updates->getDifference](updates.getDifference.md)(\['pts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) === [$updates\_Difference](../types/updates_Difference.md) +$MadelineProto->[updates->getDifference](updates.getDifference.md)(\['pts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) === [$updates.Difference](../types/updates.Difference.md) ***

-$MadelineProto->[updates->getState](updates.getState.md)(\[\]) === [$updates\_State](../types/updates_State.md) +$MadelineProto->[updates->getState](updates.getState.md)(\[\]) === [$updates.State](../types/updates.State.md) ***

-$MadelineProto->[upload->getFile](upload.getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_File](../types/upload_File.md) +$MadelineProto->[upload->getFile](upload.getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload.File](../types/upload.File.md) ***

diff --git a/old_docs/API_docs_v45/methods/auth.checkPassword.md b/old_docs/API_docs_v45/methods/auth.checkPassword.md index db65cb56..eeeed171 100644 --- a/old_docs/API_docs_v45/methods/auth.checkPassword.md +++ b/old_docs/API_docs_v45/methods/auth.checkPassword.md @@ -16,7 +16,7 @@ You cannot use this method directly, use the complete_2fa_login method instead ( |password\_hash|[bytes](../types/bytes.md) | You cannot use this method directly, use the complete_2fa_login method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->checkPassword(['password_hash' => 'bytes', ]); +$auth.Authorization = $MadelineProto->auth->checkPassword(['password_hash' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.checkPassword({password_hash='bytes', }) +auth.Authorization = auth.checkPassword({password_hash='bytes', }) ``` ### Errors diff --git a/old_docs/API_docs_v45/methods/auth.checkPhone.md b/old_docs/API_docs_v45/methods/auth.checkPhone.md index 227358cb..51d4cba6 100644 --- a/old_docs/API_docs_v45/methods/auth.checkPhone.md +++ b/old_docs/API_docs_v45/methods/auth.checkPhone.md @@ -16,7 +16,7 @@ Check if this phone number is registered on telegram |phone\_number|[string](../types/string.md) | The phone number to check | Yes| -### Return type: [auth\_CheckedPhone](../types/auth_CheckedPhone.md) +### Return type: [auth.CheckedPhone](../types/auth.CheckedPhone.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => 'string', ]); +$auth.CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_CheckedPhone = auth.checkPhone({phone_number='string', }) +auth.CheckedPhone = auth.checkPhone({phone_number='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v45/methods/auth.exportAuthorization.md b/old_docs/API_docs_v45/methods/auth.exportAuthorization.md index 72063a2b..41a1f87d 100644 --- a/old_docs/API_docs_v45/methods/auth.exportAuthorization.md +++ b/old_docs/API_docs_v45/methods/auth.exportAuthorization.md @@ -16,7 +16,7 @@ You cannot use this method directly, use $MadelineProto->exportAuthorization() i |dc\_id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| -### Return type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) +### Return type: [auth.ExportedAuthorization](../types/auth.ExportedAuthorization.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_ExportedAuthorization = $MadelineProto->auth->exportAuthorization(['dc_id' => int, ]); +$auth.ExportedAuthorization = $MadelineProto->auth->exportAuthorization(['dc_id' => int, ]); ``` Or, if you're into Lua: ```lua -auth_ExportedAuthorization = auth.exportAuthorization({dc_id=int, }) +auth.ExportedAuthorization = auth.exportAuthorization({dc_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v45/methods/auth.importAuthorization.md b/old_docs/API_docs_v45/methods/auth.importAuthorization.md index d9c13751..5257e0b0 100644 --- a/old_docs/API_docs_v45/methods/auth.importAuthorization.md +++ b/old_docs/API_docs_v45/methods/auth.importAuthorization.md @@ -17,7 +17,7 @@ You cannot use this method directly, use $MadelineProto->importAuthorization($au |bytes|[bytes](../types/bytes.md) | You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => 'bytes', ]); +$auth.Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.importAuthorization({id=int, bytes='bytes', }) +auth.Authorization = auth.importAuthorization({id=int, bytes='bytes', }) ``` ### Errors diff --git a/old_docs/API_docs_v45/methods/auth.importBotAuthorization.md b/old_docs/API_docs_v45/methods/auth.importBotAuthorization.md index 3161d6be..a4ea8027 100644 --- a/old_docs/API_docs_v45/methods/auth.importBotAuthorization.md +++ b/old_docs/API_docs_v45/methods/auth.importBotAuthorization.md @@ -18,7 +18,7 @@ You cannot use this method directly, use the botLogin method instead (see https: |bot\_auth\_token|[string](../types/string.md) | You cannot use this method directly, use the botLogin method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **YES** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->importBotAuthorization(['api_id' => int, 'api_hash' => 'string', 'bot_auth_token' => 'string', ]); +$auth.Authorization = $MadelineProto->auth->importBotAuthorization(['api_id' => int, 'api_hash' => 'string', 'bot_auth_token' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.importBotAuthorization({api_id=int, api_hash='string', bot_auth_token='string', }) +auth.Authorization = auth.importBotAuthorization({api_id=int, api_hash='string', bot_auth_token='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v45/methods/auth.recoverPassword.md b/old_docs/API_docs_v45/methods/auth.recoverPassword.md index f7cbf4a4..2e78444b 100644 --- a/old_docs/API_docs_v45/methods/auth.recoverPassword.md +++ b/old_docs/API_docs_v45/methods/auth.recoverPassword.md @@ -16,7 +16,7 @@ Reset the [2FA password](https://core.telegram.org/api/srp) using the recovery c |code|[string](../types/string.md) | Code received via email | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->recoverPassword(['code' => 'string', ]); +$auth.Authorization = $MadelineProto->auth->recoverPassword(['code' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.recoverPassword({code='string', }) +auth.Authorization = auth.recoverPassword({code='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v45/methods/auth.requestPasswordRecovery.md b/old_docs/API_docs_v45/methods/auth.requestPasswordRecovery.md index 5cd77936..ff1ecc02 100644 --- a/old_docs/API_docs_v45/methods/auth.requestPasswordRecovery.md +++ b/old_docs/API_docs_v45/methods/auth.requestPasswordRecovery.md @@ -11,7 +11,7 @@ Request recovery code of a [2FA password](https://core.telegram.org/api/srp), on -### Return type: [auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) +### Return type: [auth.PasswordRecovery](../types/auth.PasswordRecovery.md) ### Can bots use this method: **NO** @@ -28,13 +28,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_PasswordRecovery = $MadelineProto->auth->requestPasswordRecovery(); +$auth.PasswordRecovery = $MadelineProto->auth->requestPasswordRecovery(); ``` Or, if you're into Lua: ```lua -auth_PasswordRecovery = auth.requestPasswordRecovery({}) +auth.PasswordRecovery = auth.requestPasswordRecovery({}) ``` ### Errors diff --git a/old_docs/API_docs_v45/methods/auth.sendCode.md b/old_docs/API_docs_v45/methods/auth.sendCode.md index 9fa1a0c7..68b6ff31 100644 --- a/old_docs/API_docs_v45/methods/auth.sendCode.md +++ b/old_docs/API_docs_v45/methods/auth.sendCode.md @@ -20,7 +20,7 @@ You cannot use this method directly, use the phoneLogin method instead (see http |lang\_code|[string](../types/string.md) | You cannot use this method directly, use the phoneLogin method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_SentCode](../types/auth_SentCode.md) +### Return type: [auth.SentCode](../types/auth.SentCode.md) ### Can bots use this method: **NO** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_SentCode = $MadelineProto->auth->sendCode(['phone_number' => 'string', 'sms_type' => int, 'api_id' => int, 'api_hash' => 'string', 'lang_code' => 'string', ]); +$auth.SentCode = $MadelineProto->auth->sendCode(['phone_number' => 'string', 'sms_type' => int, 'api_id' => int, 'api_hash' => 'string', 'lang_code' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_SentCode = auth.sendCode({phone_number='string', sms_type=int, api_id=int, api_hash='string', lang_code='string', }) +auth.SentCode = auth.sendCode({phone_number='string', sms_type=int, api_id=int, api_hash='string', lang_code='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v45/methods/auth.signIn.md b/old_docs/API_docs_v45/methods/auth.signIn.md index 54812a2e..95b14f32 100644 --- a/old_docs/API_docs_v45/methods/auth.signIn.md +++ b/old_docs/API_docs_v45/methods/auth.signIn.md @@ -18,7 +18,7 @@ You cannot use this method directly, use the completePhoneLogin method instead ( |phone\_code|[string](../types/string.md) | You cannot use this method directly, use the completePhoneLogin method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->signIn(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', ]); +$auth.Authorization = $MadelineProto->auth->signIn(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.signIn({phone_number='string', phone_code_hash='string', phone_code='string', }) +auth.Authorization = auth.signIn({phone_number='string', phone_code_hash='string', phone_code='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v45/methods/auth.signUp.md b/old_docs/API_docs_v45/methods/auth.signUp.md index 2aca2bfa..fdb5d628 100644 --- a/old_docs/API_docs_v45/methods/auth.signUp.md +++ b/old_docs/API_docs_v45/methods/auth.signUp.md @@ -20,7 +20,7 @@ You cannot use this method directly, use the completeSignup method instead (see |last\_name|[string](../types/string.md) | You cannot use this method directly, use the completeSignup method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **NO** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->signUp(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', 'first_name' => 'string', 'last_name' => 'string', ]); +$auth.Authorization = $MadelineProto->auth->signUp(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', 'first_name' => 'string', 'last_name' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.signUp({phone_number='string', phone_code_hash='string', phone_code='string', first_name='string', last_name='string', }) +auth.Authorization = auth.signUp({phone_number='string', phone_code_hash='string', phone_code='string', first_name='string', last_name='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v45/methods/channels.deleteMessages.md b/old_docs/API_docs_v45/methods/channels.deleteMessages.md index 10a439fb..8583e560 100644 --- a/old_docs/API_docs_v45/methods/channels.deleteMessages.md +++ b/old_docs/API_docs_v45/methods/channels.deleteMessages.md @@ -17,7 +17,7 @@ Delete messages in a [channel/supergroup](https://core.telegram.org/api/channel) |id|Array of [int](../types/int.md) | The IDs of messages to delete | Yes| -### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) +### Return type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedMessages = $MadelineProto->channels->deleteMessages(['channel' => InputChannel, 'id' => [int, int], ]); +$messages.AffectedMessages = $MadelineProto->channels->deleteMessages(['channel' => InputChannel, 'id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AffectedMessages = channels.deleteMessages({channel=InputChannel, id={int}, }) +messages.AffectedMessages = channels.deleteMessages({channel=InputChannel, id={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v45/methods/channels.deleteUserHistory.md b/old_docs/API_docs_v45/methods/channels.deleteUserHistory.md index 9b8b159f..6ccaf7dd 100644 --- a/old_docs/API_docs_v45/methods/channels.deleteUserHistory.md +++ b/old_docs/API_docs_v45/methods/channels.deleteUserHistory.md @@ -17,7 +17,7 @@ Delete all messages sent by a certain user in a [supergroup](https://core.telegr |user\_id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | User whose messages should be deleted | Optional| -### Return type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) +### Return type: [messages.AffectedHistory](../types/messages.AffectedHistory.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedHistory = $MadelineProto->channels->deleteUserHistory(['channel' => InputChannel, 'user_id' => InputUser, ]); +$messages.AffectedHistory = $MadelineProto->channels->deleteUserHistory(['channel' => InputChannel, 'user_id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -messages_AffectedHistory = channels.deleteUserHistory({channel=InputChannel, user_id=InputUser, }) +messages.AffectedHistory = channels.deleteUserHistory({channel=InputChannel, user_id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v45/methods/channels.getChannels.md b/old_docs/API_docs_v45/methods/channels.getChannels.md index 368c96ce..ed9cf4a7 100644 --- a/old_docs/API_docs_v45/methods/channels.getChannels.md +++ b/old_docs/API_docs_v45/methods/channels.getChannels.md @@ -16,7 +16,7 @@ Get info about [channels/supergroups](https://core.telegram.org/api/channel) |id|Array of [Username, chat ID, Update, Message or InputChannel](../types/InputChannel.md) | The channel/supergroup MTProto IDs | Yes| -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->channels->getChannels(['id' => [InputChannel, InputChannel], ]); +$messages.Chats = $MadelineProto->channels->getChannels(['id' => [InputChannel, InputChannel], ]); ``` Or, if you're into Lua: ```lua -messages_Chats = channels.getChannels({id={InputChannel}, }) +messages.Chats = channels.getChannels({id={InputChannel}, }) ``` ### Errors diff --git a/old_docs/API_docs_v45/methods/channels.getDialogs.md b/old_docs/API_docs_v45/methods/channels.getDialogs.md index b75c785d..b9bfe655 100644 --- a/old_docs/API_docs_v45/methods/channels.getDialogs.md +++ b/old_docs/API_docs_v45/methods/channels.getDialogs.md @@ -17,7 +17,7 @@ Get channel dialogs |limit|[int](../types/int.md) | Number of results to return | Yes| -### Return type: [messages\_Dialogs](../types/messages_Dialogs.md) +### Return type: [messages.Dialogs](../types/messages.Dialogs.md) ### Can bots use this method: **YES** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Dialogs = $MadelineProto->channels->getDialogs(['offset' => int, 'limit' => int, ]); +$messages.Dialogs = $MadelineProto->channels->getDialogs(['offset' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Dialogs = channels.getDialogs({offset=int, limit=int, }) +messages.Dialogs = channels.getDialogs({offset=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v45/methods/channels.getFullChannel.md b/old_docs/API_docs_v45/methods/channels.getFullChannel.md index 08dc21bb..1369e0a0 100644 --- a/old_docs/API_docs_v45/methods/channels.getFullChannel.md +++ b/old_docs/API_docs_v45/methods/channels.getFullChannel.md @@ -16,7 +16,7 @@ You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo me |channel|[Username, chat ID, Update, Message or InputChannel](../types/InputChannel.md) | You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo methods instead (see https://docs.madelineproto.xyz for more info) | Optional| -### Return type: [messages\_ChatFull](../types/messages_ChatFull.md) +### Return type: [messages.ChatFull](../types/messages.ChatFull.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_ChatFull = $MadelineProto->channels->getFullChannel(['channel' => InputChannel, ]); +$messages.ChatFull = $MadelineProto->channels->getFullChannel(['channel' => InputChannel, ]); ``` Or, if you're into Lua: ```lua -messages_ChatFull = channels.getFullChannel({channel=InputChannel, }) +messages.ChatFull = channels.getFullChannel({channel=InputChannel, }) ``` ### Errors diff --git a/old_docs/API_docs_v45/methods/channels.getImportantHistory.md b/old_docs/API_docs_v45/methods/channels.getImportantHistory.md index 7375a015..5fe317b8 100644 --- a/old_docs/API_docs_v45/methods/channels.getImportantHistory.md +++ b/old_docs/API_docs_v45/methods/channels.getImportantHistory.md @@ -21,7 +21,7 @@ Get important channel/supergroup history |min\_id|[int](../types/int.md) | Minumum message ID | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **YES** @@ -38,12 +38,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->channels->getImportantHistory(['channel' => InputChannel, 'offset_id' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); +$messages.Messages = $MadelineProto->channels->getImportantHistory(['channel' => InputChannel, 'offset_id' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Messages = channels.getImportantHistory({channel=InputChannel, offset_id=int, add_offset=int, limit=int, max_id=int, min_id=int, }) +messages.Messages = channels.getImportantHistory({channel=InputChannel, offset_id=int, add_offset=int, limit=int, max_id=int, min_id=int, }) ``` diff --git a/old_docs/API_docs_v45/methods/channels.getMessages.md b/old_docs/API_docs_v45/methods/channels.getMessages.md index 379e0e9d..5023ea1a 100644 --- a/old_docs/API_docs_v45/methods/channels.getMessages.md +++ b/old_docs/API_docs_v45/methods/channels.getMessages.md @@ -17,7 +17,7 @@ Get [channel/supergroup](https://core.telegram.org/api/channel) messages |id|Array of [int](../types/int.md) | The message IDs | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->channels->getMessages(['channel' => InputChannel, 'id' => [int, int], ]); +$messages.Messages = $MadelineProto->channels->getMessages(['channel' => InputChannel, 'id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Messages = channels.getMessages({channel=InputChannel, id={int}, }) +messages.Messages = channels.getMessages({channel=InputChannel, id={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v45/methods/channels.getParticipant.md b/old_docs/API_docs_v45/methods/channels.getParticipant.md index aa2ce655..cf6a7771 100644 --- a/old_docs/API_docs_v45/methods/channels.getParticipant.md +++ b/old_docs/API_docs_v45/methods/channels.getParticipant.md @@ -17,7 +17,7 @@ Get info about a [channel/supergroup](https://core.telegram.org/api/channel) par |user\_id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | ID of participant to get info about | Optional| -### Return type: [channels\_ChannelParticipant](../types/channels_ChannelParticipant.md) +### Return type: [channels.ChannelParticipant](../types/channels.ChannelParticipant.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$channels_ChannelParticipant = $MadelineProto->channels->getParticipant(['channel' => InputChannel, 'user_id' => InputUser, ]); +$channels.ChannelParticipant = $MadelineProto->channels->getParticipant(['channel' => InputChannel, 'user_id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -channels_ChannelParticipant = channels.getParticipant({channel=InputChannel, user_id=InputUser, }) +channels.ChannelParticipant = channels.getParticipant({channel=InputChannel, user_id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v45/methods/channels.getParticipants.md b/old_docs/API_docs_v45/methods/channels.getParticipants.md index 9be95921..bfeccd48 100644 --- a/old_docs/API_docs_v45/methods/channels.getParticipants.md +++ b/old_docs/API_docs_v45/methods/channels.getParticipants.md @@ -19,7 +19,7 @@ Get the participants of a channel |limit|[int](../types/int.md) | [Limit](https://core.telegram.org/api/offsets) | Yes| -### Return type: [channels\_ChannelParticipants](../types/channels_ChannelParticipants.md) +### Return type: [channels.ChannelParticipants](../types/channels.ChannelParticipants.md) ### Can bots use this method: **YES** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$channels_ChannelParticipants = $MadelineProto->channels->getParticipants(['channel' => InputChannel, 'filter' => ChannelParticipantsFilter, 'offset' => int, 'limit' => int, ]); +$channels.ChannelParticipants = $MadelineProto->channels->getParticipants(['channel' => InputChannel, 'filter' => ChannelParticipantsFilter, 'offset' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -channels_ChannelParticipants = channels.getParticipants({channel=InputChannel, filter=ChannelParticipantsFilter, offset=int, limit=int, }) +channels.ChannelParticipants = channels.getParticipants({channel=InputChannel, filter=ChannelParticipantsFilter, offset=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v45/methods/contacts.deleteContact.md b/old_docs/API_docs_v45/methods/contacts.deleteContact.md index a9321d64..9169e1e0 100644 --- a/old_docs/API_docs_v45/methods/contacts.deleteContact.md +++ b/old_docs/API_docs_v45/methods/contacts.deleteContact.md @@ -16,7 +16,7 @@ Delete a contact |id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | The contact to delete | Optional| -### Return type: [contacts\_Link](../types/contacts_Link.md) +### Return type: [contacts.Link](../types/contacts.Link.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Link = $MadelineProto->contacts->deleteContact(['id' => InputUser, ]); +$contacts.Link = $MadelineProto->contacts->deleteContact(['id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -contacts_Link = contacts.deleteContact({id=InputUser, }) +contacts.Link = contacts.deleteContact({id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v45/methods/contacts.getBlocked.md b/old_docs/API_docs_v45/methods/contacts.getBlocked.md index 92f2f331..6ac1c343 100644 --- a/old_docs/API_docs_v45/methods/contacts.getBlocked.md +++ b/old_docs/API_docs_v45/methods/contacts.getBlocked.md @@ -17,7 +17,7 @@ Returns the list of blocked users. |limit|[int](../types/int.md) | The number of list elements to be returned | Yes| -### Return type: [contacts\_Blocked](../types/contacts_Blocked.md) +### Return type: [contacts.Blocked](../types/contacts.Blocked.md) ### Can bots use this method: **NO** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Blocked = $MadelineProto->contacts->getBlocked(['offset' => int, 'limit' => int, ]); +$contacts.Blocked = $MadelineProto->contacts->getBlocked(['offset' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -contacts_Blocked = contacts.getBlocked({offset=int, limit=int, }) +contacts.Blocked = contacts.getBlocked({offset=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v45/methods/contacts.getContacts.md b/old_docs/API_docs_v45/methods/contacts.getContacts.md index caee7aa8..a2fcd412 100644 --- a/old_docs/API_docs_v45/methods/contacts.getContacts.md +++ b/old_docs/API_docs_v45/methods/contacts.getContacts.md @@ -16,7 +16,7 @@ Returns the current user's contact list. |hash|[string](../types/string.md) | List of contact user IDs you already cached | Yes| -### Return type: [contacts\_Contacts](../types/contacts_Contacts.md) +### Return type: [contacts.Contacts](../types/contacts.Contacts.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Contacts = $MadelineProto->contacts->getContacts(['hash' => 'string', ]); +$contacts.Contacts = $MadelineProto->contacts->getContacts(['hash' => 'string', ]); ``` Or, if you're into Lua: ```lua -contacts_Contacts = contacts.getContacts({hash='string', }) +contacts.Contacts = contacts.getContacts({hash='string', }) ``` diff --git a/old_docs/API_docs_v45/methods/contacts.getSuggested.md b/old_docs/API_docs_v45/methods/contacts.getSuggested.md index 32e96621..ede222d4 100644 --- a/old_docs/API_docs_v45/methods/contacts.getSuggested.md +++ b/old_docs/API_docs_v45/methods/contacts.getSuggested.md @@ -16,7 +16,7 @@ Get suggested contacts |limit|[int](../types/int.md) | Number of results to return | Yes| -### Return type: [contacts\_Suggested](../types/contacts_Suggested.md) +### Return type: [contacts.Suggested](../types/contacts.Suggested.md) ### Can bots use this method: **YES** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Suggested = $MadelineProto->contacts->getSuggested(['limit' => int, ]); +$contacts.Suggested = $MadelineProto->contacts->getSuggested(['limit' => int, ]); ``` Or, if you're into Lua: ```lua -contacts_Suggested = contacts.getSuggested({limit=int, }) +contacts.Suggested = contacts.getSuggested({limit=int, }) ``` diff --git a/old_docs/API_docs_v45/methods/contacts.importContacts.md b/old_docs/API_docs_v45/methods/contacts.importContacts.md index 572df9fb..975d0565 100644 --- a/old_docs/API_docs_v45/methods/contacts.importContacts.md +++ b/old_docs/API_docs_v45/methods/contacts.importContacts.md @@ -17,7 +17,7 @@ Imports contacts: saves a full list on the server, adds already registered conta |replace|[Bool](../types/Bool.md) | Replace contacts? | Yes| -### Return type: [contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) +### Return type: [contacts.ImportedContacts](../types/contacts.ImportedContacts.md) ### Can bots use this method: **NO** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_ImportedContacts = $MadelineProto->contacts->importContacts(['contacts' => [InputContact, InputContact], 'replace' => Bool, ]); +$contacts.ImportedContacts = $MadelineProto->contacts->importContacts(['contacts' => [InputContact, InputContact], 'replace' => Bool, ]); ``` Or, if you're into Lua: ```lua -contacts_ImportedContacts = contacts.importContacts({contacts={InputContact}, replace=Bool, }) +contacts.ImportedContacts = contacts.importContacts({contacts={InputContact}, replace=Bool, }) ``` diff --git a/old_docs/API_docs_v45/methods/contacts.resolveUsername.md b/old_docs/API_docs_v45/methods/contacts.resolveUsername.md index 05e3d854..46f1eb50 100644 --- a/old_docs/API_docs_v45/methods/contacts.resolveUsername.md +++ b/old_docs/API_docs_v45/methods/contacts.resolveUsername.md @@ -16,7 +16,7 @@ You cannot use this method directly, use the resolveUsername, getPwrChat, getInf |username|[string](../types/string.md) | You cannot use this method directly, use the resolveUsername, getPwrChat, getInfo, getFullInfo methods instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [contacts\_ResolvedPeer](../types/contacts_ResolvedPeer.md) +### Return type: [contacts.ResolvedPeer](../types/contacts.ResolvedPeer.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_ResolvedPeer = $MadelineProto->contacts->resolveUsername(['username' => 'string', ]); +$contacts.ResolvedPeer = $MadelineProto->contacts->resolveUsername(['username' => 'string', ]); ``` Or, if you're into Lua: ```lua -contacts_ResolvedPeer = contacts.resolveUsername({username='string', }) +contacts.ResolvedPeer = contacts.resolveUsername({username='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v45/methods/contacts.search.md b/old_docs/API_docs_v45/methods/contacts.search.md index 2f39d6f1..ec04c7f9 100644 --- a/old_docs/API_docs_v45/methods/contacts.search.md +++ b/old_docs/API_docs_v45/methods/contacts.search.md @@ -17,7 +17,7 @@ Returns users found by username substring. |limit|[int](../types/int.md) | Maximum number of users to be returned | Yes| -### Return type: [contacts\_Found](../types/contacts_Found.md) +### Return type: [contacts.Found](../types/contacts.Found.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Found = $MadelineProto->contacts->search(['q' => 'string', 'limit' => int, ]); +$contacts.Found = $MadelineProto->contacts->search(['q' => 'string', 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -contacts_Found = contacts.search({q='string', limit=int, }) +contacts.Found = contacts.search({q='string', limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v45/methods/help.getAppChangelog.md b/old_docs/API_docs_v45/methods/help.getAppChangelog.md index 890e3a4b..29bee8fb 100644 --- a/old_docs/API_docs_v45/methods/help.getAppChangelog.md +++ b/old_docs/API_docs_v45/methods/help.getAppChangelog.md @@ -19,7 +19,7 @@ Get changelog of current app |lang\_code|[string](../types/string.md) | Language code | Yes| -### Return type: [help\_AppChangelog](../types/help_AppChangelog.md) +### Return type: [help.AppChangelog](../types/help.AppChangelog.md) ### Can bots use this method: **NO** @@ -36,12 +36,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_AppChangelog = $MadelineProto->help->getAppChangelog(['device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'lang_code' => 'string', ]); +$help.AppChangelog = $MadelineProto->help->getAppChangelog(['device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'lang_code' => 'string', ]); ``` Or, if you're into Lua: ```lua -help_AppChangelog = help.getAppChangelog({device_model='string', system_version='string', app_version='string', lang_code='string', }) +help.AppChangelog = help.getAppChangelog({device_model='string', system_version='string', app_version='string', lang_code='string', }) ``` diff --git a/old_docs/API_docs_v45/methods/help.getAppUpdate.md b/old_docs/API_docs_v45/methods/help.getAppUpdate.md index 0f844391..bfbed19e 100644 --- a/old_docs/API_docs_v45/methods/help.getAppUpdate.md +++ b/old_docs/API_docs_v45/methods/help.getAppUpdate.md @@ -19,7 +19,7 @@ Returns information on update availability for the current application. |lang\_code|[string](../types/string.md) | Langauge code | Yes| -### Return type: [help\_AppUpdate](../types/help_AppUpdate.md) +### Return type: [help.AppUpdate](../types/help.AppUpdate.md) ### Can bots use this method: **NO** @@ -36,12 +36,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_AppUpdate = $MadelineProto->help->getAppUpdate(['device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'lang_code' => 'string', ]); +$help.AppUpdate = $MadelineProto->help->getAppUpdate(['device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'lang_code' => 'string', ]); ``` Or, if you're into Lua: ```lua -help_AppUpdate = help.getAppUpdate({device_model='string', system_version='string', app_version='string', lang_code='string', }) +help.AppUpdate = help.getAppUpdate({device_model='string', system_version='string', app_version='string', lang_code='string', }) ``` diff --git a/old_docs/API_docs_v45/methods/help.getInviteText.md b/old_docs/API_docs_v45/methods/help.getInviteText.md index 482afbc0..f84b2e82 100644 --- a/old_docs/API_docs_v45/methods/help.getInviteText.md +++ b/old_docs/API_docs_v45/methods/help.getInviteText.md @@ -16,7 +16,7 @@ Returns text of a text message with an invitation. |lang\_code|[string](../types/string.md) | Language | Yes| -### Return type: [help\_InviteText](../types/help_InviteText.md) +### Return type: [help.InviteText](../types/help.InviteText.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_InviteText = $MadelineProto->help->getInviteText(['lang_code' => 'string', ]); +$help.InviteText = $MadelineProto->help->getInviteText(['lang_code' => 'string', ]); ``` Or, if you're into Lua: ```lua -help_InviteText = help.getInviteText({lang_code='string', }) +help.InviteText = help.getInviteText({lang_code='string', }) ``` diff --git a/old_docs/API_docs_v45/methods/help.getSupport.md b/old_docs/API_docs_v45/methods/help.getSupport.md index 7a577892..8a8df916 100644 --- a/old_docs/API_docs_v45/methods/help.getSupport.md +++ b/old_docs/API_docs_v45/methods/help.getSupport.md @@ -11,7 +11,7 @@ Returns the support user for the 'ask a question' feature. -### Return type: [help\_Support](../types/help_Support.md) +### Return type: [help.Support](../types/help.Support.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_Support = $MadelineProto->help->getSupport(); +$help.Support = $MadelineProto->help->getSupport(); ``` Or, if you're into Lua: ```lua -help_Support = help.getSupport({}) +help.Support = help.getSupport({}) ``` diff --git a/old_docs/API_docs_v45/methods/help.getTermsOfService.md b/old_docs/API_docs_v45/methods/help.getTermsOfService.md index b6ae8378..fe267c6f 100644 --- a/old_docs/API_docs_v45/methods/help.getTermsOfService.md +++ b/old_docs/API_docs_v45/methods/help.getTermsOfService.md @@ -16,7 +16,7 @@ Get terms of service |lang\_code|[string](../types/string.md) | Language code | Yes| -### Return type: [help\_TermsOfService](../types/help_TermsOfService.md) +### Return type: [help.TermsOfService](../types/help.TermsOfService.md) ### Can bots use this method: **YES** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_TermsOfService = $MadelineProto->help->getTermsOfService(['lang_code' => 'string', ]); +$help.TermsOfService = $MadelineProto->help->getTermsOfService(['lang_code' => 'string', ]); ``` Or, if you're into Lua: ```lua -help_TermsOfService = help.getTermsOfService({lang_code='string', }) +help.TermsOfService = help.getTermsOfService({lang_code='string', }) ``` diff --git a/old_docs/API_docs_v45/methods/messages.deleteHistory.md b/old_docs/API_docs_v45/methods/messages.deleteHistory.md index f7f34456..9515d31c 100644 --- a/old_docs/API_docs_v45/methods/messages.deleteHistory.md +++ b/old_docs/API_docs_v45/methods/messages.deleteHistory.md @@ -17,7 +17,7 @@ Deletes communication history. |max\_id|[int](../types/int.md) | Maximum ID of message to delete | Yes| -### Return type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) +### Return type: [messages.AffectedHistory](../types/messages.AffectedHistory.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedHistory = $MadelineProto->messages->deleteHistory(['peer' => InputPeer, 'max_id' => int, ]); +$messages.AffectedHistory = $MadelineProto->messages->deleteHistory(['peer' => InputPeer, 'max_id' => int, ]); ``` Or, if you're into Lua: ```lua -messages_AffectedHistory = messages.deleteHistory({peer=InputPeer, max_id=int, }) +messages.AffectedHistory = messages.deleteHistory({peer=InputPeer, max_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v45/methods/messages.deleteMessages.md b/old_docs/API_docs_v45/methods/messages.deleteMessages.md index 355b2ff8..cc432cc1 100644 --- a/old_docs/API_docs_v45/methods/messages.deleteMessages.md +++ b/old_docs/API_docs_v45/methods/messages.deleteMessages.md @@ -16,7 +16,7 @@ Deletes messages by their identifiers. |id|Array of [int](../types/int.md) | IDs of messages to delete, use channels->deleteMessages for supergroups | Yes| -### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) +### Return type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedMessages = $MadelineProto->messages->deleteMessages(['id' => [int, int], ]); +$messages.AffectedMessages = $MadelineProto->messages->deleteMessages(['id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AffectedMessages = messages.deleteMessages({id={int}, }) +messages.AffectedMessages = messages.deleteMessages({id={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v45/methods/messages.getAllStickers.md b/old_docs/API_docs_v45/methods/messages.getAllStickers.md index 329b70be..0f0de7f1 100644 --- a/old_docs/API_docs_v45/methods/messages.getAllStickers.md +++ b/old_docs/API_docs_v45/methods/messages.getAllStickers.md @@ -16,7 +16,7 @@ Get all installed stickers |hash|Array of [int](../types/int.md) | The hash parameter of the previous result of this method | Optional| -### Return type: [messages\_AllStickers](../types/messages_AllStickers.md) +### Return type: [messages.AllStickers](../types/messages.AllStickers.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AllStickers = $MadelineProto->messages->getAllStickers(['hash' => [int, int], ]); +$messages.AllStickers = $MadelineProto->messages->getAllStickers(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AllStickers = messages.getAllStickers({hash={int}, }) +messages.AllStickers = messages.getAllStickers({hash={int}, }) ``` diff --git a/old_docs/API_docs_v45/methods/messages.getChats.md b/old_docs/API_docs_v45/methods/messages.getChats.md index c34b0488..146341f5 100644 --- a/old_docs/API_docs_v45/methods/messages.getChats.md +++ b/old_docs/API_docs_v45/methods/messages.getChats.md @@ -16,7 +16,7 @@ Returns chat basic info on their IDs. |id|Array of [int](../types/int.md) | The MTProto IDs of chats to fetch info about | Yes| -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->messages->getChats(['id' => [int, int], ]); +$messages.Chats = $MadelineProto->messages->getChats(['id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Chats = messages.getChats({id={int}, }) +messages.Chats = messages.getChats({id={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v45/methods/messages.getDhConfig.md b/old_docs/API_docs_v45/methods/messages.getDhConfig.md index 88ea4ab3..7b9da566 100644 --- a/old_docs/API_docs_v45/methods/messages.getDhConfig.md +++ b/old_docs/API_docs_v45/methods/messages.getDhConfig.md @@ -17,7 +17,7 @@ You cannot use this method directly, instead use $MadelineProto->getDhConfig(); |random\_length|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->getDhConfig(); | Yes| -### Return type: [messages\_DhConfig](../types/messages_DhConfig.md) +### Return type: [messages.DhConfig](../types/messages.DhConfig.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_DhConfig = $MadelineProto->messages->getDhConfig(['version' => int, 'random_length' => int, ]); +$messages.DhConfig = $MadelineProto->messages->getDhConfig(['version' => int, 'random_length' => int, ]); ``` Or, if you're into Lua: ```lua -messages_DhConfig = messages.getDhConfig({version=int, random_length=int, }) +messages.DhConfig = messages.getDhConfig({version=int, random_length=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v45/methods/messages.getDialogs.md b/old_docs/API_docs_v45/methods/messages.getDialogs.md index f262b574..6e246feb 100644 --- a/old_docs/API_docs_v45/methods/messages.getDialogs.md +++ b/old_docs/API_docs_v45/methods/messages.getDialogs.md @@ -19,7 +19,7 @@ Returns the current user dialog list. |limit|[int](../types/int.md) | Number of list elements to be returned | Yes| -### Return type: [messages\_Dialogs](../types/messages_Dialogs.md) +### Return type: [messages.Dialogs](../types/messages.Dialogs.md) ### Can bots use this method: **NO** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Dialogs = $MadelineProto->messages->getDialogs(['offset_date' => int, 'offset_id' => int, 'offset_peer' => InputPeer, 'limit' => int, ]); +$messages.Dialogs = $MadelineProto->messages->getDialogs(['offset_date' => int, 'offset_id' => int, 'offset_peer' => InputPeer, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Dialogs = messages.getDialogs({offset_date=int, offset_id=int, offset_peer=InputPeer, limit=int, }) +messages.Dialogs = messages.getDialogs({offset_date=int, offset_id=int, offset_peer=InputPeer, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v45/methods/messages.getFullChat.md b/old_docs/API_docs_v45/methods/messages.getFullChat.md index abf23e21..de543651 100644 --- a/old_docs/API_docs_v45/methods/messages.getFullChat.md +++ b/old_docs/API_docs_v45/methods/messages.getFullChat.md @@ -16,7 +16,7 @@ You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo me |chat\_id|[Username, chat ID, Update, Message or InputPeer](../types/InputPeer.md) | You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo methods instead (see https://docs.madelineproto.xyz for more info) | Optional| -### Return type: [messages\_ChatFull](../types/messages_ChatFull.md) +### Return type: [messages.ChatFull](../types/messages.ChatFull.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_ChatFull = $MadelineProto->messages->getFullChat(['chat_id' => InputPeer, ]); +$messages.ChatFull = $MadelineProto->messages->getFullChat(['chat_id' => InputPeer, ]); ``` Or, if you're into Lua: ```lua -messages_ChatFull = messages.getFullChat({chat_id=InputPeer, }) +messages.ChatFull = messages.getFullChat({chat_id=InputPeer, }) ``` ### Errors diff --git a/old_docs/API_docs_v45/methods/messages.getHistory.md b/old_docs/API_docs_v45/methods/messages.getHistory.md index c6d7a647..1e13bc34 100644 --- a/old_docs/API_docs_v45/methods/messages.getHistory.md +++ b/old_docs/API_docs_v45/methods/messages.getHistory.md @@ -21,7 +21,7 @@ Gets back the conversation history with one interlocutor / within a chat |min\_id|[int](../types/int.md) | If a positive value was transferred, the method will return only messages with IDs more than **min\_id** | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **NO** @@ -38,13 +38,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->getHistory(['peer' => InputPeer, 'offset_id' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); +$messages.Messages = $MadelineProto->messages->getHistory(['peer' => InputPeer, 'offset_id' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.getHistory({peer=InputPeer, offset_id=int, add_offset=int, limit=int, max_id=int, min_id=int, }) +messages.Messages = messages.getHistory({peer=InputPeer, offset_id=int, add_offset=int, limit=int, max_id=int, min_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v45/methods/messages.getInlineBotResults.md b/old_docs/API_docs_v45/methods/messages.getInlineBotResults.md index b5f2934e..9b5a2db5 100644 --- a/old_docs/API_docs_v45/methods/messages.getInlineBotResults.md +++ b/old_docs/API_docs_v45/methods/messages.getInlineBotResults.md @@ -18,7 +18,7 @@ Query an inline bot |offset|[string](../types/string.md) | The offset within the results, will be passed directly as-is to the bot. | Yes| -### Return type: [messages\_BotResults](../types/messages_BotResults.md) +### Return type: [messages.BotResults](../types/messages.BotResults.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_BotResults = $MadelineProto->messages->getInlineBotResults(['bot' => InputUser, 'query' => 'string', 'offset' => 'string', ]); +$messages.BotResults = $MadelineProto->messages->getInlineBotResults(['bot' => InputUser, 'query' => 'string', 'offset' => 'string', ]); ``` Or, if you're into Lua: ```lua -messages_BotResults = messages.getInlineBotResults({bot=InputUser, query='string', offset='string', }) +messages.BotResults = messages.getInlineBotResults({bot=InputUser, query='string', offset='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v45/methods/messages.getMessages.md b/old_docs/API_docs_v45/methods/messages.getMessages.md index a3139513..c7760d7e 100644 --- a/old_docs/API_docs_v45/methods/messages.getMessages.md +++ b/old_docs/API_docs_v45/methods/messages.getMessages.md @@ -16,7 +16,7 @@ Returns the list of messages by their IDs. |id|Array of [int](../types/int.md) | The IDs of messages to fetch (only for users and normal groups) | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **YES** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->getMessages(['id' => [int, int], ]); +$messages.Messages = $MadelineProto->messages->getMessages(['id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.getMessages({id={int}, }) +messages.Messages = messages.getMessages({id={int}, }) ``` diff --git a/old_docs/API_docs_v45/methods/messages.getSavedGifs.md b/old_docs/API_docs_v45/methods/messages.getSavedGifs.md index 1df7f37c..8b31f7b8 100644 --- a/old_docs/API_docs_v45/methods/messages.getSavedGifs.md +++ b/old_docs/API_docs_v45/methods/messages.getSavedGifs.md @@ -16,7 +16,7 @@ Get saved GIFs |hash|Array of [int](../types/int.md) | the hash parameter of the previous result of this method | Optional| -### Return type: [messages\_SavedGifs](../types/messages_SavedGifs.md) +### Return type: [messages.SavedGifs](../types/messages.SavedGifs.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_SavedGifs = $MadelineProto->messages->getSavedGifs(['hash' => [int, int], ]); +$messages.SavedGifs = $MadelineProto->messages->getSavedGifs(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_SavedGifs = messages.getSavedGifs({hash={int}, }) +messages.SavedGifs = messages.getSavedGifs({hash={int}, }) ``` diff --git a/old_docs/API_docs_v45/methods/messages.getStickerSet.md b/old_docs/API_docs_v45/methods/messages.getStickerSet.md index 45fca60f..f11887ee 100644 --- a/old_docs/API_docs_v45/methods/messages.getStickerSet.md +++ b/old_docs/API_docs_v45/methods/messages.getStickerSet.md @@ -16,7 +16,7 @@ Get info about a stickerset |stickerset|[InputStickerSet](../types/InputStickerSet.md) | Stickerset | Optional| -### Return type: [messages\_StickerSet](../types/messages_StickerSet.md) +### Return type: [messages.StickerSet](../types/messages.StickerSet.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StickerSet = $MadelineProto->messages->getStickerSet(['stickerset' => InputStickerSet, ]); +$messages.StickerSet = $MadelineProto->messages->getStickerSet(['stickerset' => InputStickerSet, ]); ``` Or, if you're into Lua: ```lua -messages_StickerSet = messages.getStickerSet({stickerset=InputStickerSet, }) +messages.StickerSet = messages.getStickerSet({stickerset=InputStickerSet, }) ``` ### Errors diff --git a/old_docs/API_docs_v45/methods/messages.getStickers.md b/old_docs/API_docs_v45/methods/messages.getStickers.md index aa149fc3..6fab91a5 100644 --- a/old_docs/API_docs_v45/methods/messages.getStickers.md +++ b/old_docs/API_docs_v45/methods/messages.getStickers.md @@ -17,7 +17,7 @@ Get stickers by emoji |hash|[string](../types/string.md) | Previously fetched sticker IDs | Yes| -### Return type: [messages\_Stickers](../types/messages_Stickers.md) +### Return type: [messages.Stickers](../types/messages.Stickers.md) ### Can bots use this method: **NO** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Stickers = $MadelineProto->messages->getStickers(['emoticon' => 'string', 'hash' => 'string', ]); +$messages.Stickers = $MadelineProto->messages->getStickers(['emoticon' => 'string', 'hash' => 'string', ]); ``` Or, if you're into Lua: ```lua -messages_Stickers = messages.getStickers({emoticon='string', hash='string', }) +messages.Stickers = messages.getStickers({emoticon='string', hash='string', }) ``` diff --git a/old_docs/API_docs_v45/methods/messages.readHistory.md b/old_docs/API_docs_v45/methods/messages.readHistory.md index 39753375..52030c68 100644 --- a/old_docs/API_docs_v45/methods/messages.readHistory.md +++ b/old_docs/API_docs_v45/methods/messages.readHistory.md @@ -17,7 +17,7 @@ Marks message history as read. |max\_id|[int](../types/int.md) | If a positive value is passed, only messages with identifiers less or equal than the given one will be read | Yes| -### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) +### Return type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedMessages = $MadelineProto->messages->readHistory(['peer' => InputPeer, 'max_id' => int, ]); +$messages.AffectedMessages = $MadelineProto->messages->readHistory(['peer' => InputPeer, 'max_id' => int, ]); ``` Or, if you're into Lua: ```lua -messages_AffectedMessages = messages.readHistory({peer=InputPeer, max_id=int, }) +messages.AffectedMessages = messages.readHistory({peer=InputPeer, max_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v45/methods/messages.readMessageContents.md b/old_docs/API_docs_v45/methods/messages.readMessageContents.md index c479cafe..9798e661 100644 --- a/old_docs/API_docs_v45/methods/messages.readMessageContents.md +++ b/old_docs/API_docs_v45/methods/messages.readMessageContents.md @@ -16,7 +16,7 @@ Notifies the sender about the recipient having listened a voice message or watch |id|Array of [int](../types/int.md) | The messages to mark as read (only users and normal chats, not supergroups) | Yes| -### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) +### Return type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedMessages = $MadelineProto->messages->readMessageContents(['id' => [int, int], ]); +$messages.AffectedMessages = $MadelineProto->messages->readMessageContents(['id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AffectedMessages = messages.readMessageContents({id={int}, }) +messages.AffectedMessages = messages.readMessageContents({id={int}, }) ``` diff --git a/old_docs/API_docs_v45/methods/messages.search.md b/old_docs/API_docs_v45/methods/messages.search.md index 1210be77..28664a8d 100644 --- a/old_docs/API_docs_v45/methods/messages.search.md +++ b/old_docs/API_docs_v45/methods/messages.search.md @@ -24,7 +24,7 @@ Gets back found messages |limit|[int](../types/int.md) | [Number of results to return](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **NO** @@ -41,13 +41,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->search(['important_only' => Bool, 'peer' => InputPeer, 'q' => 'string', 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); +$messages.Messages = $MadelineProto->messages->search(['important_only' => Bool, 'peer' => InputPeer, 'q' => 'string', 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.search({important_only=Bool, peer=InputPeer, q='string', filter=MessagesFilter, min_date=int, max_date=int, offset=int, max_id=int, limit=int, }) +messages.Messages = messages.search({important_only=Bool, peer=InputPeer, q='string', filter=MessagesFilter, min_date=int, max_date=int, offset=int, max_id=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v45/methods/messages.searchGifs.md b/old_docs/API_docs_v45/methods/messages.searchGifs.md index 851371d7..193a0cd4 100644 --- a/old_docs/API_docs_v45/methods/messages.searchGifs.md +++ b/old_docs/API_docs_v45/methods/messages.searchGifs.md @@ -17,7 +17,7 @@ Search for GIFs |offset|[int](../types/int.md) | Offset for [pagination »](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_FoundGifs](../types/messages_FoundGifs.md) +### Return type: [messages.FoundGifs](../types/messages.FoundGifs.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_FoundGifs = $MadelineProto->messages->searchGifs(['q' => 'string', 'offset' => int, ]); +$messages.FoundGifs = $MadelineProto->messages->searchGifs(['q' => 'string', 'offset' => int, ]); ``` Or, if you're into Lua: ```lua -messages_FoundGifs = messages.searchGifs({q='string', offset=int, }) +messages.FoundGifs = messages.searchGifs({q='string', offset=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v45/methods/messages.searchGlobal.md b/old_docs/API_docs_v45/methods/messages.searchGlobal.md index 4bd59f25..1a3b736d 100644 --- a/old_docs/API_docs_v45/methods/messages.searchGlobal.md +++ b/old_docs/API_docs_v45/methods/messages.searchGlobal.md @@ -20,7 +20,7 @@ Search for messages and peers globally |limit|[int](../types/int.md) | [Offsets for pagination, for more info click here](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **NO** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->searchGlobal(['q' => 'string', 'offset_date' => int, 'offset_peer' => InputPeer, 'offset_id' => int, 'limit' => int, ]); +$messages.Messages = $MadelineProto->messages->searchGlobal(['q' => 'string', 'offset_date' => int, 'offset_peer' => InputPeer, 'offset_id' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.searchGlobal({q='string', offset_date=int, offset_peer=InputPeer, offset_id=int, limit=int, }) +messages.Messages = messages.searchGlobal({q='string', offset_date=int, offset_peer=InputPeer, offset_id=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v45/methods/messages.sendEncrypted.md b/old_docs/API_docs_v45/methods/messages.sendEncrypted.md index 47b5ef29..6a68b563 100644 --- a/old_docs/API_docs_v45/methods/messages.sendEncrypted.md +++ b/old_docs/API_docs_v45/methods/messages.sendEncrypted.md @@ -14,10 +14,10 @@ Sends a text message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|message|[DecryptedMessage](../types/DecryptedMessage.md) | The message to send | Yes| +|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key that was created during chat initialization | Yes| -### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ### Can bots use this method: **NO** @@ -34,21 +34,15 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncrypted(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); +$messages.SentEncryptedMessage = $MadelineProto->messages->sendEncrypted(['peer' => InputEncryptedChat, 'data' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -messages_SentEncryptedMessage = messages.sendEncrypted({peer=InputEncryptedChat, message=DecryptedMessage, }) +messages.SentEncryptedMessage = messages.sendEncrypted({peer=InputEncryptedChat, data='bytes', }) ``` - -## Return value - -If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) will be returned instead. - - ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v45/methods/messages.sendEncryptedFile.md b/old_docs/API_docs_v45/methods/messages.sendEncryptedFile.md index 4e0f7b7f..87185ba4 100644 --- a/old_docs/API_docs_v45/methods/messages.sendEncryptedFile.md +++ b/old_docs/API_docs_v45/methods/messages.sendEncryptedFile.md @@ -14,11 +14,11 @@ Sends a message with a file attachment to a secret chat | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|message|[DecryptedMessage](../types/DecryptedMessage.md) | The message with the file | Yes| +|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| |file|[File path or InputEncryptedFile](../types/InputEncryptedFile.md) | File attachment for the secret chat | Optional| -### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ### Can bots use this method: **NO** @@ -35,21 +35,15 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedFile(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, 'file' => InputEncryptedFile, ]); +$messages.SentEncryptedMessage = $MadelineProto->messages->sendEncryptedFile(['peer' => InputEncryptedChat, 'data' => 'bytes', 'file' => InputEncryptedFile, ]); ``` Or, if you're into Lua: ```lua -messages_SentEncryptedMessage = messages.sendEncryptedFile({peer=InputEncryptedChat, message=DecryptedMessage, file=InputEncryptedFile, }) +messages.SentEncryptedMessage = messages.sendEncryptedFile({peer=InputEncryptedChat, data='bytes', file=InputEncryptedFile, }) ``` - -## Return value - -If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) will be returned instead. - - ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v45/methods/messages.sendEncryptedService.md b/old_docs/API_docs_v45/methods/messages.sendEncryptedService.md index 86925ae3..38171272 100644 --- a/old_docs/API_docs_v45/methods/messages.sendEncryptedService.md +++ b/old_docs/API_docs_v45/methods/messages.sendEncryptedService.md @@ -14,10 +14,10 @@ Sends a service message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|message|[DecryptedMessage](../types/DecryptedMessage.md) | The service message | Yes| +|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| -### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ### Can bots use this method: **NO** @@ -34,21 +34,15 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedService(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); +$messages.SentEncryptedMessage = $MadelineProto->messages->sendEncryptedService(['peer' => InputEncryptedChat, 'data' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -messages_SentEncryptedMessage = messages.sendEncryptedService({peer=InputEncryptedChat, message=DecryptedMessage, }) +messages.SentEncryptedMessage = messages.sendEncryptedService({peer=InputEncryptedChat, data='bytes', }) ``` - -## Return value - -If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) will be returned instead. - - ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v45/methods/photos.getUserPhotos.md b/old_docs/API_docs_v45/methods/photos.getUserPhotos.md index a1dec2ed..1f8d5c64 100644 --- a/old_docs/API_docs_v45/methods/photos.getUserPhotos.md +++ b/old_docs/API_docs_v45/methods/photos.getUserPhotos.md @@ -19,7 +19,7 @@ Returns the list of user photos. |limit|[int](../types/int.md) | Number of list elements to be returned | Yes| -### Return type: [photos\_Photos](../types/photos_Photos.md) +### Return type: [photos.Photos](../types/photos.Photos.md) ### Can bots use this method: **YES** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$photos_Photos = $MadelineProto->photos->getUserPhotos(['user_id' => InputUser, 'offset' => int, 'max_id' => long, 'limit' => int, ]); +$photos.Photos = $MadelineProto->photos->getUserPhotos(['user_id' => InputUser, 'offset' => int, 'max_id' => long, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -photos_Photos = photos.getUserPhotos({user_id=InputUser, offset=int, max_id=long, limit=int, }) +photos.Photos = photos.getUserPhotos({user_id=InputUser, offset=int, max_id=long, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v45/methods/photos.uploadProfilePhoto.md b/old_docs/API_docs_v45/methods/photos.uploadProfilePhoto.md index 337dcc21..18b2b4c6 100644 --- a/old_docs/API_docs_v45/methods/photos.uploadProfilePhoto.md +++ b/old_docs/API_docs_v45/methods/photos.uploadProfilePhoto.md @@ -19,7 +19,7 @@ Updates current user profile photo. |crop|[InputPhotoCrop](../types/InputPhotoCrop.md) | Cropping info | Yes| -### Return type: [photos\_Photo](../types/photos_Photo.md) +### Return type: [photos.Photo](../types/photos.Photo.md) ### Can bots use this method: **NO** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$photos_Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, 'caption' => 'string', 'geo_point' => InputGeoPoint, 'crop' => InputPhotoCrop, ]); +$photos.Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, 'caption' => 'string', 'geo_point' => InputGeoPoint, 'crop' => InputPhotoCrop, ]); ``` Or, if you're into Lua: ```lua -photos_Photo = photos.uploadProfilePhoto({file=InputFile, caption='string', geo_point=InputGeoPoint, crop=InputPhotoCrop, }) +photos.Photo = photos.uploadProfilePhoto({file=InputFile, caption='string', geo_point=InputGeoPoint, crop=InputPhotoCrop, }) ``` ### Errors diff --git a/old_docs/API_docs_v45/methods/updates.getChannelDifference.md b/old_docs/API_docs_v45/methods/updates.getChannelDifference.md index 77a45636..79adf4b1 100644 --- a/old_docs/API_docs_v45/methods/updates.getChannelDifference.md +++ b/old_docs/API_docs_v45/methods/updates.getChannelDifference.md @@ -19,7 +19,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz for more |limit|[int](../types/int.md) | You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates | Yes| -### Return type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) +### Return type: [updates.ChannelDifference](../types/updates.ChannelDifference.md) ### Can bots use this method: **YES** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$updates_ChannelDifference = $MadelineProto->updates->getChannelDifference(['channel' => InputChannel, 'filter' => ChannelMessagesFilter, 'pts' => int, 'limit' => int, ]); +$updates.ChannelDifference = $MadelineProto->updates->getChannelDifference(['channel' => InputChannel, 'filter' => ChannelMessagesFilter, 'pts' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -updates_ChannelDifference = updates.getChannelDifference({channel=InputChannel, filter=ChannelMessagesFilter, pts=int, limit=int, }) +updates.ChannelDifference = updates.getChannelDifference({channel=InputChannel, filter=ChannelMessagesFilter, pts=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v45/methods/updates.getDifference.md b/old_docs/API_docs_v45/methods/updates.getDifference.md index 57ea6d99..061a5c8f 100644 --- a/old_docs/API_docs_v45/methods/updates.getDifference.md +++ b/old_docs/API_docs_v45/methods/updates.getDifference.md @@ -18,7 +18,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz for more |qts|[int](../types/int.md) | You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates | Yes| -### Return type: [updates\_Difference](../types/updates_Difference.md) +### Return type: [updates.Difference](../types/updates.Difference.md) ### Can bots use this method: **YES** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$updates_Difference = $MadelineProto->updates->getDifference(['pts' => int, 'date' => int, 'qts' => int, ]); +$updates.Difference = $MadelineProto->updates->getDifference(['pts' => int, 'date' => int, 'qts' => int, ]); ``` Or, if you're into Lua: ```lua -updates_Difference = updates.getDifference({pts=int, date=int, qts=int, }) +updates.Difference = updates.getDifference({pts=int, date=int, qts=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v45/methods/updates.getState.md b/old_docs/API_docs_v45/methods/updates.getState.md index c591408a..9a7d2f34 100644 --- a/old_docs/API_docs_v45/methods/updates.getState.md +++ b/old_docs/API_docs_v45/methods/updates.getState.md @@ -11,7 +11,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz for more -### Return type: [updates\_State](../types/updates_State.md) +### Return type: [updates.State](../types/updates.State.md) ### Can bots use this method: **YES** @@ -28,13 +28,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$updates_State = $MadelineProto->updates->getState(); +$updates.State = $MadelineProto->updates->getState(); ``` Or, if you're into Lua: ```lua -updates_State = updates.getState({}) +updates.State = updates.getState({}) ``` ### Errors diff --git a/old_docs/API_docs_v45/methods/upload.getFile.md b/old_docs/API_docs_v45/methods/upload.getFile.md index 8aba03d4..ab9f4fe2 100644 --- a/old_docs/API_docs_v45/methods/upload.getFile.md +++ b/old_docs/API_docs_v45/methods/upload.getFile.md @@ -18,7 +18,7 @@ You cannot use this method directly, use the upload, downloadToStream, downloadT |limit|[int](../types/int.md) | You cannot use this method directly, use the upload, downloadToStream, downloadToFile, downloadToDir methods instead; see https://docs.madelineproto.xyz for more info | Yes| -### Return type: [upload\_File](../types/upload_File.md) +### Return type: [upload.File](../types/upload.File.md) ### Can bots use this method: **YES** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$upload_File = $MadelineProto->upload->getFile(['location' => InputFileLocation, 'offset' => int, 'limit' => int, ]); +$upload.File = $MadelineProto->upload->getFile(['location' => InputFileLocation, 'offset' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -upload_File = upload.getFile({location=InputFileLocation, offset=int, limit=int, }) +upload.File = upload.getFile({location=InputFileLocation, offset=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v45/types/AccountDaysTTL.md b/old_docs/API_docs_v45/types/AccountDaysTTL.md index 12a10190..f3494aac 100644 --- a/old_docs/API_docs_v45/types/AccountDaysTTL.md +++ b/old_docs/API_docs_v45/types/AccountDaysTTL.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->account->getAccountTTL](../methods/account_getAccountTTL.md) +[$MadelineProto->account->getAccountTTL](../methods/account.getAccountTTL.md) diff --git a/old_docs/API_docs_v45/types/ChatInvite.md b/old_docs/API_docs_v45/types/ChatInvite.md index 5022a2f0..9fafabb4 100644 --- a/old_docs/API_docs_v45/types/ChatInvite.md +++ b/old_docs/API_docs_v45/types/ChatInvite.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->checkChatInvite](../methods/messages_checkChatInvite.md) +[$MadelineProto->messages->checkChatInvite](../methods/messages.checkChatInvite.md) diff --git a/old_docs/API_docs_v45/types/Config.md b/old_docs/API_docs_v45/types/Config.md index 0f7fbe70..3a23b7b7 100644 --- a/old_docs/API_docs_v45/types/Config.md +++ b/old_docs/API_docs_v45/types/Config.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->help->getConfig](../methods/help_getConfig.md) +[$MadelineProto->help->getConfig](../methods/help.getConfig.md) diff --git a/old_docs/API_docs_v45/types/ContactStatus.md b/old_docs/API_docs_v45/types/ContactStatus.md index c5f5d658..30aee6e2 100644 --- a/old_docs/API_docs_v45/types/ContactStatus.md +++ b/old_docs/API_docs_v45/types/ContactStatus.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->contacts->getStatuses](../methods/contacts_getStatuses.md) +[$MadelineProto->contacts->getStatuses](../methods/contacts.getStatuses.md) diff --git a/old_docs/API_docs_v45/types/Document.md b/old_docs/API_docs_v45/types/Document.md index f68b7aa4..2cb85623 100644 --- a/old_docs/API_docs_v45/types/Document.md +++ b/old_docs/API_docs_v45/types/Document.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getDocumentByHash](../methods/messages_getDocumentByHash.md) +[$MadelineProto->messages->getDocumentByHash](../methods/messages.getDocumentByHash.md) diff --git a/old_docs/API_docs_v45/types/EncryptedChat.md b/old_docs/API_docs_v45/types/EncryptedChat.md index fd2277f6..19cf52b0 100644 --- a/old_docs/API_docs_v45/types/EncryptedChat.md +++ b/old_docs/API_docs_v45/types/EncryptedChat.md @@ -24,9 +24,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->requestEncryption](../methods/messages_requestEncryption.md) +[$MadelineProto->messages->requestEncryption](../methods/messages.requestEncryption.md) -[$MadelineProto->messages->acceptEncryption](../methods/messages_acceptEncryption.md) +[$MadelineProto->messages->acceptEncryption](../methods/messages.acceptEncryption.md) diff --git a/old_docs/API_docs_v45/types/ExportedChatInvite.md b/old_docs/API_docs_v45/types/ExportedChatInvite.md index 4213a78f..53ce5f59 100644 --- a/old_docs/API_docs_v45/types/ExportedChatInvite.md +++ b/old_docs/API_docs_v45/types/ExportedChatInvite.md @@ -18,9 +18,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->exportChatInvite](../methods/messages_exportChatInvite.md) +[$MadelineProto->messages->exportChatInvite](../methods/messages.exportChatInvite.md) -[$MadelineProto->channels->exportInvite](../methods/channels_exportInvite.md) +[$MadelineProto->channels->exportInvite](../methods/channels.exportInvite.md) diff --git a/old_docs/API_docs_v45/types/MessageMedia.md b/old_docs/API_docs_v45/types/MessageMedia.md index 51c2f3c9..9c8475d7 100644 --- a/old_docs/API_docs_v45/types/MessageMedia.md +++ b/old_docs/API_docs_v45/types/MessageMedia.md @@ -34,7 +34,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getWebPagePreview](../methods/messages_getWebPagePreview.md) +[$MadelineProto->messages->getWebPagePreview](../methods/messages.getWebPagePreview.md) diff --git a/old_docs/API_docs_v45/types/NearestDc.md b/old_docs/API_docs_v45/types/NearestDc.md index 31f24377..296a4dff 100644 --- a/old_docs/API_docs_v45/types/NearestDc.md +++ b/old_docs/API_docs_v45/types/NearestDc.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->help->getNearestDc](../methods/help_getNearestDc.md) +[$MadelineProto->help->getNearestDc](../methods/help.getNearestDc.md) diff --git a/old_docs/API_docs_v45/types/PeerNotifySettings.md b/old_docs/API_docs_v45/types/PeerNotifySettings.md index 769de075..3d72b7c5 100644 --- a/old_docs/API_docs_v45/types/PeerNotifySettings.md +++ b/old_docs/API_docs_v45/types/PeerNotifySettings.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->account->getNotifySettings](../methods/account_getNotifySettings.md) +[$MadelineProto->account->getNotifySettings](../methods/account.getNotifySettings.md) diff --git a/old_docs/API_docs_v45/types/README.md b/old_docs/API_docs_v45/types/README.md index b441cab8..a06bce08 100644 --- a/old_docs/API_docs_v45/types/README.md +++ b/old_docs/API_docs_v45/types/README.md @@ -207,99 +207,99 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png [X](X.md) -[account\_Authorizations](account_Authorizations.md) +[account.Authorizations](account.Authorizations.md) -[account\_Password](account_Password.md) +[account.Password](account.Password.md) -[account\_PasswordInputSettings](account_PasswordInputSettings.md) +[account.PasswordInputSettings](account.PasswordInputSettings.md) -[account\_PasswordSettings](account_PasswordSettings.md) +[account.PasswordSettings](account.PasswordSettings.md) -[account\_PrivacyRules](account_PrivacyRules.md) +[account.PrivacyRules](account.PrivacyRules.md) -[account\_SentChangePhoneCode](account_SentChangePhoneCode.md) +[account.SentChangePhoneCode](account.SentChangePhoneCode.md) -[auth\_Authorization](auth_Authorization.md) +[auth.Authorization](auth.Authorization.md) -[auth\_CheckedPhone](auth_CheckedPhone.md) +[auth.CheckedPhone](auth.CheckedPhone.md) -[auth\_ExportedAuthorization](auth_ExportedAuthorization.md) +[auth.ExportedAuthorization](auth.ExportedAuthorization.md) -[auth\_PasswordRecovery](auth_PasswordRecovery.md) +[auth.PasswordRecovery](auth.PasswordRecovery.md) -[auth\_SentCode](auth_SentCode.md) +[auth.SentCode](auth.SentCode.md) -[channels\_ChannelParticipant](channels_ChannelParticipant.md) +[channels.ChannelParticipant](channels.ChannelParticipant.md) -[channels\_ChannelParticipants](channels_ChannelParticipants.md) +[channels.ChannelParticipants](channels.ChannelParticipants.md) -[contacts\_Blocked](contacts_Blocked.md) +[contacts.Blocked](contacts.Blocked.md) -[contacts\_Contacts](contacts_Contacts.md) +[contacts.Contacts](contacts.Contacts.md) -[contacts\_Found](contacts_Found.md) +[contacts.Found](contacts.Found.md) -[contacts\_ImportedContacts](contacts_ImportedContacts.md) +[contacts.ImportedContacts](contacts.ImportedContacts.md) -[contacts\_Link](contacts_Link.md) +[contacts.Link](contacts.Link.md) -[contacts\_ResolvedPeer](contacts_ResolvedPeer.md) +[contacts.ResolvedPeer](contacts.ResolvedPeer.md) -[contacts\_Suggested](contacts_Suggested.md) +[contacts.Suggested](contacts.Suggested.md) -[help\_AppChangelog](help_AppChangelog.md) +[help.AppChangelog](help.AppChangelog.md) -[help\_AppUpdate](help_AppUpdate.md) +[help.AppUpdate](help.AppUpdate.md) -[help\_InviteText](help_InviteText.md) +[help.InviteText](help.InviteText.md) -[help\_Support](help_Support.md) +[help.Support](help.Support.md) -[help\_TermsOfService](help_TermsOfService.md) +[help.TermsOfService](help.TermsOfService.md) [int](int.md) [long](long.md) -[messages\_AffectedHistory](messages_AffectedHistory.md) +[messages.AffectedHistory](messages.AffectedHistory.md) -[messages\_AffectedMessages](messages_AffectedMessages.md) +[messages.AffectedMessages](messages.AffectedMessages.md) -[messages\_AllStickers](messages_AllStickers.md) +[messages.AllStickers](messages.AllStickers.md) -[messages\_BotResults](messages_BotResults.md) +[messages.BotResults](messages.BotResults.md) -[messages\_ChatFull](messages_ChatFull.md) +[messages.ChatFull](messages.ChatFull.md) -[messages\_Chats](messages_Chats.md) +[messages.Chats](messages.Chats.md) -[messages\_DhConfig](messages_DhConfig.md) +[messages.DhConfig](messages.DhConfig.md) -[messages\_Dialogs](messages_Dialogs.md) +[messages.Dialogs](messages.Dialogs.md) -[messages\_FoundGifs](messages_FoundGifs.md) +[messages.FoundGifs](messages.FoundGifs.md) -[messages\_Messages](messages_Messages.md) +[messages.Messages](messages.Messages.md) -[messages\_SavedGifs](messages_SavedGifs.md) +[messages.SavedGifs](messages.SavedGifs.md) -[messages\_SentEncryptedMessage](messages_SentEncryptedMessage.md) +[messages.SentEncryptedMessage](messages.SentEncryptedMessage.md) -[messages\_StickerSet](messages_StickerSet.md) +[messages.StickerSet](messages.StickerSet.md) -[messages\_Stickers](messages_Stickers.md) +[messages.Stickers](messages.Stickers.md) -[photos\_Photo](photos_Photo.md) +[photos.Photo](photos.Photo.md) -[photos\_Photos](photos_Photos.md) +[photos.Photos](photos.Photos.md) -[storage\_FileType](storage_FileType.md) +[storage.FileType](storage.FileType.md) -[updates\_ChannelDifference](updates_ChannelDifference.md) +[updates.ChannelDifference](updates.ChannelDifference.md) -[updates\_Difference](updates_Difference.md) +[updates.Difference](updates.Difference.md) -[updates\_State](updates_State.md) +[updates.State](updates.State.md) -[upload\_File](upload_File.md) +[upload.File](upload.File.md) diff --git a/old_docs/API_docs_v45/types/ReceivedNotifyMessage.md b/old_docs/API_docs_v45/types/ReceivedNotifyMessage.md index c7fc3b8c..416aa275 100644 --- a/old_docs/API_docs_v45/types/ReceivedNotifyMessage.md +++ b/old_docs/API_docs_v45/types/ReceivedNotifyMessage.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->receivedMessages](../methods/messages_receivedMessages.md) +[$MadelineProto->messages->receivedMessages](../methods/messages.receivedMessages.md) diff --git a/old_docs/API_docs_v45/types/Updates.md b/old_docs/API_docs_v45/types/Updates.md index 5c114ea3..af65544f 100644 --- a/old_docs/API_docs_v45/types/Updates.md +++ b/old_docs/API_docs_v45/types/Updates.md @@ -28,55 +28,55 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->sendMessage](../methods/messages_sendMessage.md) +[$MadelineProto->messages->sendMessage](../methods/messages.sendMessage.md) -[$MadelineProto->messages->sendMedia](../methods/messages_sendMedia.md) +[$MadelineProto->messages->sendMedia](../methods/messages.sendMedia.md) -[$MadelineProto->messages->forwardMessages](../methods/messages_forwardMessages.md) +[$MadelineProto->messages->forwardMessages](../methods/messages.forwardMessages.md) -[$MadelineProto->messages->editChatTitle](../methods/messages_editChatTitle.md) +[$MadelineProto->messages->editChatTitle](../methods/messages.editChatTitle.md) -[$MadelineProto->messages->editChatPhoto](../methods/messages_editChatPhoto.md) +[$MadelineProto->messages->editChatPhoto](../methods/messages.editChatPhoto.md) -[$MadelineProto->messages->addChatUser](../methods/messages_addChatUser.md) +[$MadelineProto->messages->addChatUser](../methods/messages.addChatUser.md) -[$MadelineProto->messages->deleteChatUser](../methods/messages_deleteChatUser.md) +[$MadelineProto->messages->deleteChatUser](../methods/messages.deleteChatUser.md) -[$MadelineProto->messages->createChat](../methods/messages_createChat.md) +[$MadelineProto->messages->createChat](../methods/messages.createChat.md) -[$MadelineProto->messages->forwardMessage](../methods/messages_forwardMessage.md) +[$MadelineProto->messages->forwardMessage](../methods/messages.forwardMessage.md) -[$MadelineProto->messages->sendBroadcast](../methods/messages_sendBroadcast.md) +[$MadelineProto->messages->sendBroadcast](../methods/messages.sendBroadcast.md) -[$MadelineProto->messages->importChatInvite](../methods/messages_importChatInvite.md) +[$MadelineProto->messages->importChatInvite](../methods/messages.importChatInvite.md) -[$MadelineProto->messages->startBot](../methods/messages_startBot.md) +[$MadelineProto->messages->startBot](../methods/messages.startBot.md) -[$MadelineProto->channels->createChannel](../methods/channels_createChannel.md) +[$MadelineProto->channels->createChannel](../methods/channels.createChannel.md) -[$MadelineProto->channels->editAdmin](../methods/channels_editAdmin.md) +[$MadelineProto->channels->editAdmin](../methods/channels.editAdmin.md) -[$MadelineProto->channels->editTitle](../methods/channels_editTitle.md) +[$MadelineProto->channels->editTitle](../methods/channels.editTitle.md) -[$MadelineProto->channels->editPhoto](../methods/channels_editPhoto.md) +[$MadelineProto->channels->editPhoto](../methods/channels.editPhoto.md) -[$MadelineProto->channels->toggleComments](../methods/channels_toggleComments.md) +[$MadelineProto->channels->toggleComments](../methods/channels.toggleComments.md) -[$MadelineProto->channels->joinChannel](../methods/channels_joinChannel.md) +[$MadelineProto->channels->joinChannel](../methods/channels.joinChannel.md) -[$MadelineProto->channels->leaveChannel](../methods/channels_leaveChannel.md) +[$MadelineProto->channels->leaveChannel](../methods/channels.leaveChannel.md) -[$MadelineProto->channels->inviteToChannel](../methods/channels_inviteToChannel.md) +[$MadelineProto->channels->inviteToChannel](../methods/channels.inviteToChannel.md) -[$MadelineProto->channels->kickFromChannel](../methods/channels_kickFromChannel.md) +[$MadelineProto->channels->kickFromChannel](../methods/channels.kickFromChannel.md) -[$MadelineProto->channels->deleteChannel](../methods/channels_deleteChannel.md) +[$MadelineProto->channels->deleteChannel](../methods/channels.deleteChannel.md) -[$MadelineProto->messages->toggleChatAdmins](../methods/messages_toggleChatAdmins.md) +[$MadelineProto->messages->toggleChatAdmins](../methods/messages.toggleChatAdmins.md) -[$MadelineProto->messages->migrateChat](../methods/messages_migrateChat.md) +[$MadelineProto->messages->migrateChat](../methods/messages.migrateChat.md) -[$MadelineProto->messages->sendInlineBotResult](../methods/messages_sendInlineBotResult.md) +[$MadelineProto->messages->sendInlineBotResult](../methods/messages.sendInlineBotResult.md) diff --git a/old_docs/API_docs_v45/types/User.md b/old_docs/API_docs_v45/types/User.md index b145a3f8..30349c87 100644 --- a/old_docs/API_docs_v45/types/User.md +++ b/old_docs/API_docs_v45/types/User.md @@ -42,15 +42,15 @@ A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDia ### Methods that return an object of this type (methods): -[$MadelineProto->account->updateProfile](../methods/account_updateProfile.md) +[$MadelineProto->account->updateProfile](../methods/account.updateProfile.md) -[$MadelineProto->users->getUsers](../methods/users_getUsers.md) +[$MadelineProto->users->getUsers](../methods/users.getUsers.md) -[$MadelineProto->contacts->importCard](../methods/contacts_importCard.md) +[$MadelineProto->contacts->importCard](../methods/contacts.importCard.md) -[$MadelineProto->account->updateUsername](../methods/account_updateUsername.md) +[$MadelineProto->account->updateUsername](../methods/account.updateUsername.md) -[$MadelineProto->account->changePhone](../methods/account_changePhone.md) +[$MadelineProto->account->changePhone](../methods/account.changePhone.md) diff --git a/old_docs/API_docs_v45/types/UserFull.md b/old_docs/API_docs_v45/types/UserFull.md index 79ad30bb..ac50052f 100644 --- a/old_docs/API_docs_v45/types/UserFull.md +++ b/old_docs/API_docs_v45/types/UserFull.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->users->getFullUser](../methods/users_getFullUser.md) +[$MadelineProto->users->getFullUser](../methods/users.getFullUser.md) diff --git a/old_docs/API_docs_v45/types/UserProfilePhoto.md b/old_docs/API_docs_v45/types/UserProfilePhoto.md index e5243a2e..e81e92fd 100644 --- a/old_docs/API_docs_v45/types/UserProfilePhoto.md +++ b/old_docs/API_docs_v45/types/UserProfilePhoto.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->photos->updateProfilePhoto](../methods/photos_updateProfilePhoto.md) +[$MadelineProto->photos->updateProfilePhoto](../methods/photos.updateProfilePhoto.md) diff --git a/old_docs/API_docs_v45/types/WallPaper.md b/old_docs/API_docs_v45/types/WallPaper.md index 8c5ac7cf..45337565 100644 --- a/old_docs/API_docs_v45/types/WallPaper.md +++ b/old_docs/API_docs_v45/types/WallPaper.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->account->getWallPapers](../methods/account_getWallPapers.md) +[$MadelineProto->account->getWallPapers](../methods/account.getWallPapers.md) diff --git a/old_docs/API_docs_v45/types/account.Authorizations.md b/old_docs/API_docs_v45/types/account.Authorizations.md new file mode 100644 index 00000000..f9112038 --- /dev/null +++ b/old_docs/API_docs_v45/types/account.Authorizations.md @@ -0,0 +1,22 @@ +--- +title: account.Authorizations +description: constructors and methods of type account.Authorizations +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.Authorizations +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.authorizations](../constructors/account.authorizations.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getAuthorizations](../methods/account.getAuthorizations.md) + + + diff --git a/old_docs/API_docs_v45/types/account.Password.md b/old_docs/API_docs_v45/types/account.Password.md new file mode 100644 index 00000000..5217ab5e --- /dev/null +++ b/old_docs/API_docs_v45/types/account.Password.md @@ -0,0 +1,24 @@ +--- +title: account.Password +description: constructors and methods of type account.Password +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.Password +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.noPassword](../constructors/account.noPassword.md) + +[account.password](../constructors/account.password.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getPassword](../methods/account.getPassword.md) + + + diff --git a/old_docs/API_docs_v45/types/account.PasswordInputSettings.md b/old_docs/API_docs_v45/types/account.PasswordInputSettings.md new file mode 100644 index 00000000..72e11fdc --- /dev/null +++ b/old_docs/API_docs_v45/types/account.PasswordInputSettings.md @@ -0,0 +1,20 @@ +--- +title: account.PasswordInputSettings +description: constructors and methods of type account.PasswordInputSettings +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.PasswordInputSettings +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.passwordInputSettings](../constructors/account.passwordInputSettings.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v45/types/account.PasswordSettings.md b/old_docs/API_docs_v45/types/account.PasswordSettings.md new file mode 100644 index 00000000..47016832 --- /dev/null +++ b/old_docs/API_docs_v45/types/account.PasswordSettings.md @@ -0,0 +1,22 @@ +--- +title: account.PasswordSettings +description: constructors and methods of type account.PasswordSettings +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.PasswordSettings +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.passwordSettings](../constructors/account.passwordSettings.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getPasswordSettings](../methods/account.getPasswordSettings.md) + + + diff --git a/old_docs/API_docs_v45/types/account.PrivacyRules.md b/old_docs/API_docs_v45/types/account.PrivacyRules.md new file mode 100644 index 00000000..738651ad --- /dev/null +++ b/old_docs/API_docs_v45/types/account.PrivacyRules.md @@ -0,0 +1,24 @@ +--- +title: account.PrivacyRules +description: constructors and methods of type account.PrivacyRules +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.PrivacyRules +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.privacyRules](../constructors/account.privacyRules.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getPrivacy](../methods/account.getPrivacy.md) + +[$MadelineProto->account->setPrivacy](../methods/account.setPrivacy.md) + + + diff --git a/old_docs/API_docs_v45/types/account.SentChangePhoneCode.md b/old_docs/API_docs_v45/types/account.SentChangePhoneCode.md new file mode 100644 index 00000000..659b0feb --- /dev/null +++ b/old_docs/API_docs_v45/types/account.SentChangePhoneCode.md @@ -0,0 +1,22 @@ +--- +title: account.SentChangePhoneCode +description: constructors and methods of type account.SentChangePhoneCode +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.SentChangePhoneCode +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.sentChangePhoneCode](../constructors/account.sentChangePhoneCode.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->sendChangePhoneCode](../methods/account.sendChangePhoneCode.md) + + + diff --git a/old_docs/API_docs_v45/types/account_Authorizations.md b/old_docs/API_docs_v45/types/account_Authorizations.md deleted file mode 100644 index 4709ddb5..00000000 --- a/old_docs/API_docs_v45/types/account_Authorizations.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_Authorizations -description: constructors and methods of type account_Authorizations -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_Authorizations -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_authorizations](../constructors/account_authorizations.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getAuthorizations](../methods/account_getAuthorizations.md) - - - diff --git a/old_docs/API_docs_v45/types/account_Password.md b/old_docs/API_docs_v45/types/account_Password.md deleted file mode 100644 index 23e05987..00000000 --- a/old_docs/API_docs_v45/types/account_Password.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: account_Password -description: constructors and methods of type account_Password -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_Password -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_noPassword](../constructors/account_noPassword.md) - -[account\_password](../constructors/account_password.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getPassword](../methods/account_getPassword.md) - - - diff --git a/old_docs/API_docs_v45/types/account_PasswordInputSettings.md b/old_docs/API_docs_v45/types/account_PasswordInputSettings.md deleted file mode 100644 index a6455eb8..00000000 --- a/old_docs/API_docs_v45/types/account_PasswordInputSettings.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: account_PasswordInputSettings -description: constructors and methods of type account_PasswordInputSettings -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_PasswordInputSettings -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_passwordInputSettings](../constructors/account_passwordInputSettings.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v45/types/account_PasswordSettings.md b/old_docs/API_docs_v45/types/account_PasswordSettings.md deleted file mode 100644 index 687eb217..00000000 --- a/old_docs/API_docs_v45/types/account_PasswordSettings.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_PasswordSettings -description: constructors and methods of type account_PasswordSettings -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_PasswordSettings -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_passwordSettings](../constructors/account_passwordSettings.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getPasswordSettings](../methods/account_getPasswordSettings.md) - - - diff --git a/old_docs/API_docs_v45/types/account_PrivacyRules.md b/old_docs/API_docs_v45/types/account_PrivacyRules.md deleted file mode 100644 index 40b00077..00000000 --- a/old_docs/API_docs_v45/types/account_PrivacyRules.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: account_PrivacyRules -description: constructors and methods of type account_PrivacyRules -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_PrivacyRules -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_privacyRules](../constructors/account_privacyRules.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getPrivacy](../methods/account_getPrivacy.md) - -[$MadelineProto->account->setPrivacy](../methods/account_setPrivacy.md) - - - diff --git a/old_docs/API_docs_v45/types/account_SentChangePhoneCode.md b/old_docs/API_docs_v45/types/account_SentChangePhoneCode.md deleted file mode 100644 index ead3e28c..00000000 --- a/old_docs/API_docs_v45/types/account_SentChangePhoneCode.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_SentChangePhoneCode -description: constructors and methods of type account_SentChangePhoneCode -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_SentChangePhoneCode -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_sentChangePhoneCode](../constructors/account_sentChangePhoneCode.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->sendChangePhoneCode](../methods/account_sendChangePhoneCode.md) - - - diff --git a/old_docs/API_docs_v45/types/auth.Authorization.md b/old_docs/API_docs_v45/types/auth.Authorization.md new file mode 100644 index 00000000..adcfa7d3 --- /dev/null +++ b/old_docs/API_docs_v45/types/auth.Authorization.md @@ -0,0 +1,32 @@ +--- +title: auth.Authorization +description: constructors and methods of type auth.Authorization +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.Authorization +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.authorization](../constructors/auth.authorization.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->signUp](../methods/auth.signUp.md) + +[$MadelineProto->auth->signIn](../methods/auth.signIn.md) + +[$MadelineProto->auth->importAuthorization](../methods/auth.importAuthorization.md) + +[$MadelineProto->auth->importBotAuthorization](../methods/auth.importBotAuthorization.md) + +[$MadelineProto->auth->checkPassword](../methods/auth.checkPassword.md) + +[$MadelineProto->auth->recoverPassword](../methods/auth.recoverPassword.md) + + + diff --git a/old_docs/API_docs_v45/types/auth.CheckedPhone.md b/old_docs/API_docs_v45/types/auth.CheckedPhone.md new file mode 100644 index 00000000..94af3915 --- /dev/null +++ b/old_docs/API_docs_v45/types/auth.CheckedPhone.md @@ -0,0 +1,22 @@ +--- +title: auth.CheckedPhone +description: constructors and methods of type auth.CheckedPhone +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.CheckedPhone +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.checkedPhone](../constructors/auth.checkedPhone.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->checkPhone](../methods/auth.checkPhone.md) + + + diff --git a/old_docs/API_docs_v45/types/auth.ExportedAuthorization.md b/old_docs/API_docs_v45/types/auth.ExportedAuthorization.md new file mode 100644 index 00000000..ccb38d60 --- /dev/null +++ b/old_docs/API_docs_v45/types/auth.ExportedAuthorization.md @@ -0,0 +1,22 @@ +--- +title: auth.ExportedAuthorization +description: constructors and methods of type auth.ExportedAuthorization +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.ExportedAuthorization +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.exportedAuthorization](../constructors/auth.exportedAuthorization.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->exportAuthorization](../methods/auth.exportAuthorization.md) + + + diff --git a/old_docs/API_docs_v45/types/auth.PasswordRecovery.md b/old_docs/API_docs_v45/types/auth.PasswordRecovery.md new file mode 100644 index 00000000..c1c18992 --- /dev/null +++ b/old_docs/API_docs_v45/types/auth.PasswordRecovery.md @@ -0,0 +1,22 @@ +--- +title: auth.PasswordRecovery +description: constructors and methods of type auth.PasswordRecovery +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.PasswordRecovery +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.passwordRecovery](../constructors/auth.passwordRecovery.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->requestPasswordRecovery](../methods/auth.requestPasswordRecovery.md) + + + diff --git a/old_docs/API_docs_v45/types/auth.SentCode.md b/old_docs/API_docs_v45/types/auth.SentCode.md new file mode 100644 index 00000000..9fd32a73 --- /dev/null +++ b/old_docs/API_docs_v45/types/auth.SentCode.md @@ -0,0 +1,24 @@ +--- +title: auth.SentCode +description: constructors and methods of type auth.SentCode +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.SentCode +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.sentCode](../constructors/auth.sentCode.md) + +[auth.sentAppCode](../constructors/auth.sentAppCode.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->sendCode](../methods/auth.sendCode.md) + + + diff --git a/old_docs/API_docs_v45/types/auth_Authorization.md b/old_docs/API_docs_v45/types/auth_Authorization.md deleted file mode 100644 index 5a34fc2d..00000000 --- a/old_docs/API_docs_v45/types/auth_Authorization.md +++ /dev/null @@ -1,32 +0,0 @@ ---- -title: auth_Authorization -description: constructors and methods of type auth_Authorization -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_Authorization -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_authorization](../constructors/auth_authorization.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->signUp](../methods/auth_signUp.md) - -[$MadelineProto->auth->signIn](../methods/auth_signIn.md) - -[$MadelineProto->auth->importAuthorization](../methods/auth_importAuthorization.md) - -[$MadelineProto->auth->importBotAuthorization](../methods/auth_importBotAuthorization.md) - -[$MadelineProto->auth->checkPassword](../methods/auth_checkPassword.md) - -[$MadelineProto->auth->recoverPassword](../methods/auth_recoverPassword.md) - - - diff --git a/old_docs/API_docs_v45/types/auth_CheckedPhone.md b/old_docs/API_docs_v45/types/auth_CheckedPhone.md deleted file mode 100644 index e9b0def4..00000000 --- a/old_docs/API_docs_v45/types/auth_CheckedPhone.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: auth_CheckedPhone -description: constructors and methods of type auth_CheckedPhone -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_CheckedPhone -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_checkedPhone](../constructors/auth_checkedPhone.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->checkPhone](../methods/auth_checkPhone.md) - - - diff --git a/old_docs/API_docs_v45/types/auth_ExportedAuthorization.md b/old_docs/API_docs_v45/types/auth_ExportedAuthorization.md deleted file mode 100644 index 69e5c42e..00000000 --- a/old_docs/API_docs_v45/types/auth_ExportedAuthorization.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: auth_ExportedAuthorization -description: constructors and methods of type auth_ExportedAuthorization -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_ExportedAuthorization -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_exportedAuthorization](../constructors/auth_exportedAuthorization.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->exportAuthorization](../methods/auth_exportAuthorization.md) - - - diff --git a/old_docs/API_docs_v45/types/auth_PasswordRecovery.md b/old_docs/API_docs_v45/types/auth_PasswordRecovery.md deleted file mode 100644 index 4962bf42..00000000 --- a/old_docs/API_docs_v45/types/auth_PasswordRecovery.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: auth_PasswordRecovery -description: constructors and methods of type auth_PasswordRecovery -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_PasswordRecovery -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_passwordRecovery](../constructors/auth_passwordRecovery.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->requestPasswordRecovery](../methods/auth_requestPasswordRecovery.md) - - - diff --git a/old_docs/API_docs_v45/types/auth_SentCode.md b/old_docs/API_docs_v45/types/auth_SentCode.md deleted file mode 100644 index 85b8d351..00000000 --- a/old_docs/API_docs_v45/types/auth_SentCode.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: auth_SentCode -description: constructors and methods of type auth_SentCode -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_SentCode -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_sentCode](../constructors/auth_sentCode.md) - -[auth\_sentAppCode](../constructors/auth_sentAppCode.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->sendCode](../methods/auth_sendCode.md) - - - diff --git a/old_docs/API_docs_v45/types/channels.ChannelParticipant.md b/old_docs/API_docs_v45/types/channels.ChannelParticipant.md new file mode 100644 index 00000000..8dc7f7e6 --- /dev/null +++ b/old_docs/API_docs_v45/types/channels.ChannelParticipant.md @@ -0,0 +1,22 @@ +--- +title: channels.ChannelParticipant +description: constructors and methods of type channels.ChannelParticipant +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: channels.ChannelParticipant +[Back to types index](index.md) + + + +### Possible values (constructors): + +[channels.channelParticipant](../constructors/channels.channelParticipant.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->channels->getParticipant](../methods/channels.getParticipant.md) + + + diff --git a/old_docs/API_docs_v45/types/channels.ChannelParticipants.md b/old_docs/API_docs_v45/types/channels.ChannelParticipants.md new file mode 100644 index 00000000..996ab6a6 --- /dev/null +++ b/old_docs/API_docs_v45/types/channels.ChannelParticipants.md @@ -0,0 +1,22 @@ +--- +title: channels.ChannelParticipants +description: constructors and methods of type channels.ChannelParticipants +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: channels.ChannelParticipants +[Back to types index](index.md) + + + +### Possible values (constructors): + +[channels.channelParticipants](../constructors/channels.channelParticipants.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->channels->getParticipants](../methods/channels.getParticipants.md) + + + diff --git a/old_docs/API_docs_v45/types/channels_ChannelParticipant.md b/old_docs/API_docs_v45/types/channels_ChannelParticipant.md deleted file mode 100644 index 3d4667c3..00000000 --- a/old_docs/API_docs_v45/types/channels_ChannelParticipant.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: channels_ChannelParticipant -description: constructors and methods of type channels_ChannelParticipant -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: channels\_ChannelParticipant -[Back to types index](index.md) - - - -### Possible values (constructors): - -[channels\_channelParticipant](../constructors/channels_channelParticipant.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->channels->getParticipant](../methods/channels_getParticipant.md) - - - diff --git a/old_docs/API_docs_v45/types/channels_ChannelParticipants.md b/old_docs/API_docs_v45/types/channels_ChannelParticipants.md deleted file mode 100644 index 0500c2cb..00000000 --- a/old_docs/API_docs_v45/types/channels_ChannelParticipants.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: channels_ChannelParticipants -description: constructors and methods of type channels_ChannelParticipants -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: channels\_ChannelParticipants -[Back to types index](index.md) - - - -### Possible values (constructors): - -[channels\_channelParticipants](../constructors/channels_channelParticipants.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->channels->getParticipants](../methods/channels_getParticipants.md) - - - diff --git a/old_docs/API_docs_v45/types/contacts.Blocked.md b/old_docs/API_docs_v45/types/contacts.Blocked.md new file mode 100644 index 00000000..cb2af80f --- /dev/null +++ b/old_docs/API_docs_v45/types/contacts.Blocked.md @@ -0,0 +1,24 @@ +--- +title: contacts.Blocked +description: constructors and methods of type contacts.Blocked +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Blocked +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.blocked](../constructors/contacts.blocked.md) + +[contacts.blockedSlice](../constructors/contacts.blockedSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getBlocked](../methods/contacts.getBlocked.md) + + + diff --git a/old_docs/API_docs_v45/types/contacts.Contacts.md b/old_docs/API_docs_v45/types/contacts.Contacts.md new file mode 100644 index 00000000..5f695d8e --- /dev/null +++ b/old_docs/API_docs_v45/types/contacts.Contacts.md @@ -0,0 +1,24 @@ +--- +title: contacts.Contacts +description: constructors and methods of type contacts.Contacts +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Contacts +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.contactsNotModified](../constructors/contacts.contactsNotModified.md) + +[contacts.contacts](../constructors/contacts.contacts.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getContacts](../methods/contacts.getContacts.md) + + + diff --git a/old_docs/API_docs_v45/types/contacts.Found.md b/old_docs/API_docs_v45/types/contacts.Found.md new file mode 100644 index 00000000..7df98927 --- /dev/null +++ b/old_docs/API_docs_v45/types/contacts.Found.md @@ -0,0 +1,22 @@ +--- +title: contacts.Found +description: constructors and methods of type contacts.Found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Found +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.found](../constructors/contacts.found.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->search](../methods/contacts.search.md) + + + diff --git a/old_docs/API_docs_v45/types/contacts.ImportedContacts.md b/old_docs/API_docs_v45/types/contacts.ImportedContacts.md new file mode 100644 index 00000000..16795bab --- /dev/null +++ b/old_docs/API_docs_v45/types/contacts.ImportedContacts.md @@ -0,0 +1,22 @@ +--- +title: contacts.ImportedContacts +description: constructors and methods of type contacts.ImportedContacts +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.ImportedContacts +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.importedContacts](../constructors/contacts.importedContacts.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->importContacts](../methods/contacts.importContacts.md) + + + diff --git a/old_docs/API_docs_v45/types/contacts.Link.md b/old_docs/API_docs_v45/types/contacts.Link.md new file mode 100644 index 00000000..eb9da683 --- /dev/null +++ b/old_docs/API_docs_v45/types/contacts.Link.md @@ -0,0 +1,22 @@ +--- +title: contacts.Link +description: constructors and methods of type contacts.Link +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Link +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.link](../constructors/contacts.link.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->deleteContact](../methods/contacts.deleteContact.md) + + + diff --git a/old_docs/API_docs_v45/types/contacts.ResolvedPeer.md b/old_docs/API_docs_v45/types/contacts.ResolvedPeer.md new file mode 100644 index 00000000..13630d54 --- /dev/null +++ b/old_docs/API_docs_v45/types/contacts.ResolvedPeer.md @@ -0,0 +1,22 @@ +--- +title: contacts.ResolvedPeer +description: constructors and methods of type contacts.ResolvedPeer +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.ResolvedPeer +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.resolvedPeer](../constructors/contacts.resolvedPeer.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->resolveUsername](../methods/contacts.resolveUsername.md) + + + diff --git a/old_docs/API_docs_v45/types/contacts.Suggested.md b/old_docs/API_docs_v45/types/contacts.Suggested.md new file mode 100644 index 00000000..a462dae5 --- /dev/null +++ b/old_docs/API_docs_v45/types/contacts.Suggested.md @@ -0,0 +1,22 @@ +--- +title: contacts.Suggested +description: constructors and methods of type contacts.Suggested +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Suggested +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.suggested](../constructors/contacts.suggested.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getSuggested](../methods/contacts.getSuggested.md) + + + diff --git a/old_docs/API_docs_v45/types/contacts_Blocked.md b/old_docs/API_docs_v45/types/contacts_Blocked.md deleted file mode 100644 index 3e1f02eb..00000000 --- a/old_docs/API_docs_v45/types/contacts_Blocked.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: contacts_Blocked -description: constructors and methods of type contacts_Blocked -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Blocked -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_blocked](../constructors/contacts_blocked.md) - -[contacts\_blockedSlice](../constructors/contacts_blockedSlice.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->getBlocked](../methods/contacts_getBlocked.md) - - - diff --git a/old_docs/API_docs_v45/types/contacts_Contacts.md b/old_docs/API_docs_v45/types/contacts_Contacts.md deleted file mode 100644 index 5d6c9506..00000000 --- a/old_docs/API_docs_v45/types/contacts_Contacts.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: contacts_Contacts -description: constructors and methods of type contacts_Contacts -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Contacts -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_contactsNotModified](../constructors/contacts_contactsNotModified.md) - -[contacts\_contacts](../constructors/contacts_contacts.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->getContacts](../methods/contacts_getContacts.md) - - - diff --git a/old_docs/API_docs_v45/types/contacts_Found.md b/old_docs/API_docs_v45/types/contacts_Found.md deleted file mode 100644 index 806101cf..00000000 --- a/old_docs/API_docs_v45/types/contacts_Found.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_Found -description: constructors and methods of type contacts_Found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Found -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_found](../constructors/contacts_found.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->search](../methods/contacts_search.md) - - - diff --git a/old_docs/API_docs_v45/types/contacts_ImportedContacts.md b/old_docs/API_docs_v45/types/contacts_ImportedContacts.md deleted file mode 100644 index faf7e615..00000000 --- a/old_docs/API_docs_v45/types/contacts_ImportedContacts.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_ImportedContacts -description: constructors and methods of type contacts_ImportedContacts -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_ImportedContacts -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_importedContacts](../constructors/contacts_importedContacts.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->importContacts](../methods/contacts_importContacts.md) - - - diff --git a/old_docs/API_docs_v45/types/contacts_Link.md b/old_docs/API_docs_v45/types/contacts_Link.md deleted file mode 100644 index 01556606..00000000 --- a/old_docs/API_docs_v45/types/contacts_Link.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_Link -description: constructors and methods of type contacts_Link -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Link -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_link](../constructors/contacts_link.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->deleteContact](../methods/contacts_deleteContact.md) - - - diff --git a/old_docs/API_docs_v45/types/contacts_ResolvedPeer.md b/old_docs/API_docs_v45/types/contacts_ResolvedPeer.md deleted file mode 100644 index cf107f7c..00000000 --- a/old_docs/API_docs_v45/types/contacts_ResolvedPeer.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_ResolvedPeer -description: constructors and methods of type contacts_ResolvedPeer -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_ResolvedPeer -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_resolvedPeer](../constructors/contacts_resolvedPeer.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->resolveUsername](../methods/contacts_resolveUsername.md) - - - diff --git a/old_docs/API_docs_v45/types/contacts_Suggested.md b/old_docs/API_docs_v45/types/contacts_Suggested.md deleted file mode 100644 index dd597b3b..00000000 --- a/old_docs/API_docs_v45/types/contacts_Suggested.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_Suggested -description: constructors and methods of type contacts_Suggested -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Suggested -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_suggested](../constructors/contacts_suggested.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->getSuggested](../methods/contacts_getSuggested.md) - - - diff --git a/old_docs/API_docs_v45/types/help.AppChangelog.md b/old_docs/API_docs_v45/types/help.AppChangelog.md new file mode 100644 index 00000000..71584fdc --- /dev/null +++ b/old_docs/API_docs_v45/types/help.AppChangelog.md @@ -0,0 +1,24 @@ +--- +title: help.AppChangelog +description: constructors and methods of type help.AppChangelog +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.AppChangelog +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.appChangelogEmpty](../constructors/help.appChangelogEmpty.md) + +[help.appChangelog](../constructors/help.appChangelog.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getAppChangelog](../methods/help.getAppChangelog.md) + + + diff --git a/old_docs/API_docs_v45/types/help.AppUpdate.md b/old_docs/API_docs_v45/types/help.AppUpdate.md new file mode 100644 index 00000000..285ec2b7 --- /dev/null +++ b/old_docs/API_docs_v45/types/help.AppUpdate.md @@ -0,0 +1,24 @@ +--- +title: help.AppUpdate +description: constructors and methods of type help.AppUpdate +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.AppUpdate +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.appUpdate](../constructors/help.appUpdate.md) + +[help.noAppUpdate](../constructors/help.noAppUpdate.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getAppUpdate](../methods/help.getAppUpdate.md) + + + diff --git a/old_docs/API_docs_v45/types/help.InviteText.md b/old_docs/API_docs_v45/types/help.InviteText.md new file mode 100644 index 00000000..43293f46 --- /dev/null +++ b/old_docs/API_docs_v45/types/help.InviteText.md @@ -0,0 +1,22 @@ +--- +title: help.InviteText +description: constructors and methods of type help.InviteText +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.InviteText +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.inviteText](../constructors/help.inviteText.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getInviteText](../methods/help.getInviteText.md) + + + diff --git a/old_docs/API_docs_v45/types/help.Support.md b/old_docs/API_docs_v45/types/help.Support.md new file mode 100644 index 00000000..42c20483 --- /dev/null +++ b/old_docs/API_docs_v45/types/help.Support.md @@ -0,0 +1,22 @@ +--- +title: help.Support +description: constructors and methods of type help.Support +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.Support +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.support](../constructors/help.support.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getSupport](../methods/help.getSupport.md) + + + diff --git a/old_docs/API_docs_v45/types/help.TermsOfService.md b/old_docs/API_docs_v45/types/help.TermsOfService.md new file mode 100644 index 00000000..6c29d2e6 --- /dev/null +++ b/old_docs/API_docs_v45/types/help.TermsOfService.md @@ -0,0 +1,22 @@ +--- +title: help.TermsOfService +description: constructors and methods of type help.TermsOfService +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.TermsOfService +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.termsOfService](../constructors/help.termsOfService.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getTermsOfService](../methods/help.getTermsOfService.md) + + + diff --git a/old_docs/API_docs_v45/types/help_AppChangelog.md b/old_docs/API_docs_v45/types/help_AppChangelog.md deleted file mode 100644 index 350cb644..00000000 --- a/old_docs/API_docs_v45/types/help_AppChangelog.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: help_AppChangelog -description: constructors and methods of type help_AppChangelog -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_AppChangelog -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_appChangelogEmpty](../constructors/help_appChangelogEmpty.md) - -[help\_appChangelog](../constructors/help_appChangelog.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getAppChangelog](../methods/help_getAppChangelog.md) - - - diff --git a/old_docs/API_docs_v45/types/help_AppUpdate.md b/old_docs/API_docs_v45/types/help_AppUpdate.md deleted file mode 100644 index 1f296a70..00000000 --- a/old_docs/API_docs_v45/types/help_AppUpdate.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: help_AppUpdate -description: constructors and methods of type help_AppUpdate -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_AppUpdate -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_appUpdate](../constructors/help_appUpdate.md) - -[help\_noAppUpdate](../constructors/help_noAppUpdate.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getAppUpdate](../methods/help_getAppUpdate.md) - - - diff --git a/old_docs/API_docs_v45/types/help_InviteText.md b/old_docs/API_docs_v45/types/help_InviteText.md deleted file mode 100644 index 018d35bf..00000000 --- a/old_docs/API_docs_v45/types/help_InviteText.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: help_InviteText -description: constructors and methods of type help_InviteText -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_InviteText -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_inviteText](../constructors/help_inviteText.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getInviteText](../methods/help_getInviteText.md) - - - diff --git a/old_docs/API_docs_v45/types/help_Support.md b/old_docs/API_docs_v45/types/help_Support.md deleted file mode 100644 index 26de447b..00000000 --- a/old_docs/API_docs_v45/types/help_Support.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: help_Support -description: constructors and methods of type help_Support -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_Support -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_support](../constructors/help_support.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getSupport](../methods/help_getSupport.md) - - - diff --git a/old_docs/API_docs_v45/types/help_TermsOfService.md b/old_docs/API_docs_v45/types/help_TermsOfService.md deleted file mode 100644 index 84a05df3..00000000 --- a/old_docs/API_docs_v45/types/help_TermsOfService.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: help_TermsOfService -description: constructors and methods of type help_TermsOfService -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_TermsOfService -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_termsOfService](../constructors/help_termsOfService.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getTermsOfService](../methods/help_getTermsOfService.md) - - - diff --git a/old_docs/API_docs_v45/types/messages.AffectedHistory.md b/old_docs/API_docs_v45/types/messages.AffectedHistory.md new file mode 100644 index 00000000..f0411b4d --- /dev/null +++ b/old_docs/API_docs_v45/types/messages.AffectedHistory.md @@ -0,0 +1,24 @@ +--- +title: messages.AffectedHistory +description: constructors and methods of type messages.AffectedHistory +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.AffectedHistory +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.affectedHistory](../constructors/messages.affectedHistory.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->deleteHistory](../methods/messages.deleteHistory.md) + +[$MadelineProto->channels->deleteUserHistory](../methods/channels.deleteUserHistory.md) + + + diff --git a/old_docs/API_docs_v45/types/messages.AffectedMessages.md b/old_docs/API_docs_v45/types/messages.AffectedMessages.md new file mode 100644 index 00000000..a9159de3 --- /dev/null +++ b/old_docs/API_docs_v45/types/messages.AffectedMessages.md @@ -0,0 +1,28 @@ +--- +title: messages.AffectedMessages +description: constructors and methods of type messages.AffectedMessages +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.AffectedMessages +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.affectedMessages](../constructors/messages.affectedMessages.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->readHistory](../methods/messages.readHistory.md) + +[$MadelineProto->messages->deleteMessages](../methods/messages.deleteMessages.md) + +[$MadelineProto->messages->readMessageContents](../methods/messages.readMessageContents.md) + +[$MadelineProto->channels->deleteMessages](../methods/channels.deleteMessages.md) + + + diff --git a/old_docs/API_docs_v45/types/messages.AllStickers.md b/old_docs/API_docs_v45/types/messages.AllStickers.md new file mode 100644 index 00000000..5ece92c0 --- /dev/null +++ b/old_docs/API_docs_v45/types/messages.AllStickers.md @@ -0,0 +1,24 @@ +--- +title: messages.AllStickers +description: constructors and methods of type messages.AllStickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.AllStickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.allStickersNotModified](../constructors/messages.allStickersNotModified.md) + +[messages.allStickers](../constructors/messages.allStickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getAllStickers](../methods/messages.getAllStickers.md) + + + diff --git a/old_docs/API_docs_v45/types/messages.BotResults.md b/old_docs/API_docs_v45/types/messages.BotResults.md new file mode 100644 index 00000000..76ee2b99 --- /dev/null +++ b/old_docs/API_docs_v45/types/messages.BotResults.md @@ -0,0 +1,22 @@ +--- +title: messages.BotResults +description: constructors and methods of type messages.BotResults +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.BotResults +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.botResults](../constructors/messages.botResults.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getInlineBotResults](../methods/messages.getInlineBotResults.md) + + + diff --git a/old_docs/API_docs_v45/types/messages.ChatFull.md b/old_docs/API_docs_v45/types/messages.ChatFull.md new file mode 100644 index 00000000..3ad38748 --- /dev/null +++ b/old_docs/API_docs_v45/types/messages.ChatFull.md @@ -0,0 +1,24 @@ +--- +title: messages.ChatFull +description: constructors and methods of type messages.ChatFull +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.ChatFull +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.chatFull](../constructors/messages.chatFull.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getFullChat](../methods/messages.getFullChat.md) + +[$MadelineProto->channels->getFullChannel](../methods/channels.getFullChannel.md) + + + diff --git a/old_docs/API_docs_v45/types/messages.Chats.md b/old_docs/API_docs_v45/types/messages.Chats.md new file mode 100644 index 00000000..c2bfab5d --- /dev/null +++ b/old_docs/API_docs_v45/types/messages.Chats.md @@ -0,0 +1,24 @@ +--- +title: messages.Chats +description: constructors and methods of type messages.Chats +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Chats +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.chats](../constructors/messages.chats.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getChats](../methods/messages.getChats.md) + +[$MadelineProto->channels->getChannels](../methods/channels.getChannels.md) + + + diff --git a/old_docs/API_docs_v45/types/messages.DhConfig.md b/old_docs/API_docs_v45/types/messages.DhConfig.md new file mode 100644 index 00000000..77188ab7 --- /dev/null +++ b/old_docs/API_docs_v45/types/messages.DhConfig.md @@ -0,0 +1,24 @@ +--- +title: messages.DhConfig +description: constructors and methods of type messages.DhConfig +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.DhConfig +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.dhConfigNotModified](../constructors/messages.dhConfigNotModified.md) + +[messages.dhConfig](../constructors/messages.dhConfig.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getDhConfig](../methods/messages.getDhConfig.md) + + + diff --git a/old_docs/API_docs_v45/types/messages.Dialogs.md b/old_docs/API_docs_v45/types/messages.Dialogs.md new file mode 100644 index 00000000..f70ca7d8 --- /dev/null +++ b/old_docs/API_docs_v45/types/messages.Dialogs.md @@ -0,0 +1,26 @@ +--- +title: messages.Dialogs +description: constructors and methods of type messages.Dialogs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Dialogs +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.dialogs](../constructors/messages.dialogs.md) + +[messages.dialogsSlice](../constructors/messages.dialogsSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getDialogs](../methods/messages.getDialogs.md) + +[$MadelineProto->channels->getDialogs](../methods/channels.getDialogs.md) + + + diff --git a/old_docs/API_docs_v45/types/messages.FoundGifs.md b/old_docs/API_docs_v45/types/messages.FoundGifs.md new file mode 100644 index 00000000..b5176a5d --- /dev/null +++ b/old_docs/API_docs_v45/types/messages.FoundGifs.md @@ -0,0 +1,22 @@ +--- +title: messages.FoundGifs +description: constructors and methods of type messages.FoundGifs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.FoundGifs +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.foundGifs](../constructors/messages.foundGifs.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->searchGifs](../methods/messages.searchGifs.md) + + + diff --git a/old_docs/API_docs_v45/types/messages.Messages.md b/old_docs/API_docs_v45/types/messages.Messages.md new file mode 100644 index 00000000..181fbae5 --- /dev/null +++ b/old_docs/API_docs_v45/types/messages.Messages.md @@ -0,0 +1,36 @@ +--- +title: messages.Messages +description: constructors and methods of type messages.Messages +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Messages +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.messages](../constructors/messages.messages.md) + +[messages.messagesSlice](../constructors/messages.messagesSlice.md) + +[messages.channelMessages](../constructors/messages.channelMessages.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getMessages](../methods/messages.getMessages.md) + +[$MadelineProto->messages->getHistory](../methods/messages.getHistory.md) + +[$MadelineProto->messages->search](../methods/messages.search.md) + +[$MadelineProto->channels->getImportantHistory](../methods/channels.getImportantHistory.md) + +[$MadelineProto->channels->getMessages](../methods/channels.getMessages.md) + +[$MadelineProto->messages->searchGlobal](../methods/messages.searchGlobal.md) + + + diff --git a/old_docs/API_docs_v45/types/messages.SavedGifs.md b/old_docs/API_docs_v45/types/messages.SavedGifs.md new file mode 100644 index 00000000..99844c98 --- /dev/null +++ b/old_docs/API_docs_v45/types/messages.SavedGifs.md @@ -0,0 +1,24 @@ +--- +title: messages.SavedGifs +description: constructors and methods of type messages.SavedGifs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.SavedGifs +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.savedGifsNotModified](../constructors/messages.savedGifsNotModified.md) + +[messages.savedGifs](../constructors/messages.savedGifs.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getSavedGifs](../methods/messages.getSavedGifs.md) + + + diff --git a/old_docs/API_docs_v45/types/messages.SentEncryptedMessage.md b/old_docs/API_docs_v45/types/messages.SentEncryptedMessage.md new file mode 100644 index 00000000..b6d05b1f --- /dev/null +++ b/old_docs/API_docs_v45/types/messages.SentEncryptedMessage.md @@ -0,0 +1,28 @@ +--- +title: messages.SentEncryptedMessage +description: constructors and methods of type messages.SentEncryptedMessage +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.SentEncryptedMessage +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.sentEncryptedMessage](../constructors/messages.sentEncryptedMessage.md) + +[messages.sentEncryptedFile](../constructors/messages.sentEncryptedFile.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->sendEncrypted](../methods/messages.sendEncrypted.md) + +[$MadelineProto->messages->sendEncryptedFile](../methods/messages.sendEncryptedFile.md) + +[$MadelineProto->messages->sendEncryptedService](../methods/messages.sendEncryptedService.md) + + + diff --git a/old_docs/API_docs_v45/types/messages.StickerSet.md b/old_docs/API_docs_v45/types/messages.StickerSet.md new file mode 100644 index 00000000..8de24a76 --- /dev/null +++ b/old_docs/API_docs_v45/types/messages.StickerSet.md @@ -0,0 +1,22 @@ +--- +title: messages.StickerSet +description: constructors and methods of type messages.StickerSet +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.StickerSet +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.stickerSet](../constructors/messages.stickerSet.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getStickerSet](../methods/messages.getStickerSet.md) + + + diff --git a/old_docs/API_docs_v45/types/messages.Stickers.md b/old_docs/API_docs_v45/types/messages.Stickers.md new file mode 100644 index 00000000..43bddf06 --- /dev/null +++ b/old_docs/API_docs_v45/types/messages.Stickers.md @@ -0,0 +1,24 @@ +--- +title: messages.Stickers +description: constructors and methods of type messages.Stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Stickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.stickersNotModified](../constructors/messages.stickersNotModified.md) + +[messages.stickers](../constructors/messages.stickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getStickers](../methods/messages.getStickers.md) + + + diff --git a/old_docs/API_docs_v45/types/messages_AffectedHistory.md b/old_docs/API_docs_v45/types/messages_AffectedHistory.md deleted file mode 100644 index a2d75894..00000000 --- a/old_docs/API_docs_v45/types/messages_AffectedHistory.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_AffectedHistory -description: constructors and methods of type messages_AffectedHistory -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_AffectedHistory -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_affectedHistory](../constructors/messages_affectedHistory.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->deleteHistory](../methods/messages_deleteHistory.md) - -[$MadelineProto->channels->deleteUserHistory](../methods/channels_deleteUserHistory.md) - - - diff --git a/old_docs/API_docs_v45/types/messages_AffectedMessages.md b/old_docs/API_docs_v45/types/messages_AffectedMessages.md deleted file mode 100644 index dcbea721..00000000 --- a/old_docs/API_docs_v45/types/messages_AffectedMessages.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: messages_AffectedMessages -description: constructors and methods of type messages_AffectedMessages -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_AffectedMessages -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_affectedMessages](../constructors/messages_affectedMessages.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->readHistory](../methods/messages_readHistory.md) - -[$MadelineProto->messages->deleteMessages](../methods/messages_deleteMessages.md) - -[$MadelineProto->messages->readMessageContents](../methods/messages_readMessageContents.md) - -[$MadelineProto->channels->deleteMessages](../methods/channels_deleteMessages.md) - - - diff --git a/old_docs/API_docs_v45/types/messages_AllStickers.md b/old_docs/API_docs_v45/types/messages_AllStickers.md deleted file mode 100644 index 59d19759..00000000 --- a/old_docs/API_docs_v45/types/messages_AllStickers.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_AllStickers -description: constructors and methods of type messages_AllStickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_AllStickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_allStickersNotModified](../constructors/messages_allStickersNotModified.md) - -[messages\_allStickers](../constructors/messages_allStickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getAllStickers](../methods/messages_getAllStickers.md) - - - diff --git a/old_docs/API_docs_v45/types/messages_BotResults.md b/old_docs/API_docs_v45/types/messages_BotResults.md deleted file mode 100644 index c346c5bd..00000000 --- a/old_docs/API_docs_v45/types/messages_BotResults.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_BotResults -description: constructors and methods of type messages_BotResults -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_BotResults -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_botResults](../constructors/messages_botResults.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getInlineBotResults](../methods/messages_getInlineBotResults.md) - - - diff --git a/old_docs/API_docs_v45/types/messages_ChatFull.md b/old_docs/API_docs_v45/types/messages_ChatFull.md deleted file mode 100644 index e4add41e..00000000 --- a/old_docs/API_docs_v45/types/messages_ChatFull.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_ChatFull -description: constructors and methods of type messages_ChatFull -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_ChatFull -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_chatFull](../constructors/messages_chatFull.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getFullChat](../methods/messages_getFullChat.md) - -[$MadelineProto->channels->getFullChannel](../methods/channels_getFullChannel.md) - - - diff --git a/old_docs/API_docs_v45/types/messages_Chats.md b/old_docs/API_docs_v45/types/messages_Chats.md deleted file mode 100644 index 18b8c0d7..00000000 --- a/old_docs/API_docs_v45/types/messages_Chats.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_Chats -description: constructors and methods of type messages_Chats -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Chats -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_chats](../constructors/messages_chats.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getChats](../methods/messages_getChats.md) - -[$MadelineProto->channels->getChannels](../methods/channels_getChannels.md) - - - diff --git a/old_docs/API_docs_v45/types/messages_DhConfig.md b/old_docs/API_docs_v45/types/messages_DhConfig.md deleted file mode 100644 index ce237411..00000000 --- a/old_docs/API_docs_v45/types/messages_DhConfig.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_DhConfig -description: constructors and methods of type messages_DhConfig -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_DhConfig -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_dhConfigNotModified](../constructors/messages_dhConfigNotModified.md) - -[messages\_dhConfig](../constructors/messages_dhConfig.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getDhConfig](../methods/messages_getDhConfig.md) - - - diff --git a/old_docs/API_docs_v45/types/messages_Dialogs.md b/old_docs/API_docs_v45/types/messages_Dialogs.md deleted file mode 100644 index 188c4e55..00000000 --- a/old_docs/API_docs_v45/types/messages_Dialogs.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: messages_Dialogs -description: constructors and methods of type messages_Dialogs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Dialogs -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_dialogs](../constructors/messages_dialogs.md) - -[messages\_dialogsSlice](../constructors/messages_dialogsSlice.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getDialogs](../methods/messages_getDialogs.md) - -[$MadelineProto->channels->getDialogs](../methods/channels_getDialogs.md) - - - diff --git a/old_docs/API_docs_v45/types/messages_FoundGifs.md b/old_docs/API_docs_v45/types/messages_FoundGifs.md deleted file mode 100644 index 9dd088ba..00000000 --- a/old_docs/API_docs_v45/types/messages_FoundGifs.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_FoundGifs -description: constructors and methods of type messages_FoundGifs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_FoundGifs -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_foundGifs](../constructors/messages_foundGifs.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->searchGifs](../methods/messages_searchGifs.md) - - - diff --git a/old_docs/API_docs_v45/types/messages_Messages.md b/old_docs/API_docs_v45/types/messages_Messages.md deleted file mode 100644 index 6c5cb04f..00000000 --- a/old_docs/API_docs_v45/types/messages_Messages.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -title: messages_Messages -description: constructors and methods of type messages_Messages -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Messages -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_messages](../constructors/messages_messages.md) - -[messages\_messagesSlice](../constructors/messages_messagesSlice.md) - -[messages\_channelMessages](../constructors/messages_channelMessages.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getMessages](../methods/messages_getMessages.md) - -[$MadelineProto->messages->getHistory](../methods/messages_getHistory.md) - -[$MadelineProto->messages->search](../methods/messages_search.md) - -[$MadelineProto->channels->getImportantHistory](../methods/channels_getImportantHistory.md) - -[$MadelineProto->channels->getMessages](../methods/channels_getMessages.md) - -[$MadelineProto->messages->searchGlobal](../methods/messages_searchGlobal.md) - - - diff --git a/old_docs/API_docs_v45/types/messages_SavedGifs.md b/old_docs/API_docs_v45/types/messages_SavedGifs.md deleted file mode 100644 index ffb000aa..00000000 --- a/old_docs/API_docs_v45/types/messages_SavedGifs.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_SavedGifs -description: constructors and methods of type messages_SavedGifs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_SavedGifs -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_savedGifsNotModified](../constructors/messages_savedGifsNotModified.md) - -[messages\_savedGifs](../constructors/messages_savedGifs.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getSavedGifs](../methods/messages_getSavedGifs.md) - - - diff --git a/old_docs/API_docs_v45/types/messages_SentEncryptedMessage.md b/old_docs/API_docs_v45/types/messages_SentEncryptedMessage.md deleted file mode 100644 index 9f7ab935..00000000 --- a/old_docs/API_docs_v45/types/messages_SentEncryptedMessage.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: messages_SentEncryptedMessage -description: constructors and methods of type messages_SentEncryptedMessage -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_SentEncryptedMessage -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_sentEncryptedMessage](../constructors/messages_sentEncryptedMessage.md) - -[messages\_sentEncryptedFile](../constructors/messages_sentEncryptedFile.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->sendEncrypted](../methods/messages_sendEncrypted.md) - -[$MadelineProto->messages->sendEncryptedFile](../methods/messages_sendEncryptedFile.md) - -[$MadelineProto->messages->sendEncryptedService](../methods/messages_sendEncryptedService.md) - - - diff --git a/old_docs/API_docs_v45/types/messages_StickerSet.md b/old_docs/API_docs_v45/types/messages_StickerSet.md deleted file mode 100644 index e04ee8bf..00000000 --- a/old_docs/API_docs_v45/types/messages_StickerSet.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_StickerSet -description: constructors and methods of type messages_StickerSet -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_StickerSet -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_stickerSet](../constructors/messages_stickerSet.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getStickerSet](../methods/messages_getStickerSet.md) - - - diff --git a/old_docs/API_docs_v45/types/messages_Stickers.md b/old_docs/API_docs_v45/types/messages_Stickers.md deleted file mode 100644 index cf53f57b..00000000 --- a/old_docs/API_docs_v45/types/messages_Stickers.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_Stickers -description: constructors and methods of type messages_Stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Stickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_stickersNotModified](../constructors/messages_stickersNotModified.md) - -[messages\_stickers](../constructors/messages_stickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getStickers](../methods/messages_getStickers.md) - - - diff --git a/old_docs/API_docs_v45/types/photos.Photo.md b/old_docs/API_docs_v45/types/photos.Photo.md new file mode 100644 index 00000000..d60f203c --- /dev/null +++ b/old_docs/API_docs_v45/types/photos.Photo.md @@ -0,0 +1,22 @@ +--- +title: photos.Photo +description: constructors and methods of type photos.Photo +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: photos.Photo +[Back to types index](index.md) + + + +### Possible values (constructors): + +[photos.photo](../constructors/photos.photo.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->photos->uploadProfilePhoto](../methods/photos.uploadProfilePhoto.md) + + + diff --git a/old_docs/API_docs_v45/types/photos.Photos.md b/old_docs/API_docs_v45/types/photos.Photos.md new file mode 100644 index 00000000..fff0e296 --- /dev/null +++ b/old_docs/API_docs_v45/types/photos.Photos.md @@ -0,0 +1,24 @@ +--- +title: photos.Photos +description: constructors and methods of type photos.Photos +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: photos.Photos +[Back to types index](index.md) + + + +### Possible values (constructors): + +[photos.photos](../constructors/photos.photos.md) + +[photos.photosSlice](../constructors/photos.photosSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->photos->getUserPhotos](../methods/photos.getUserPhotos.md) + + + diff --git a/old_docs/API_docs_v45/types/photos_Photo.md b/old_docs/API_docs_v45/types/photos_Photo.md deleted file mode 100644 index d11bbdef..00000000 --- a/old_docs/API_docs_v45/types/photos_Photo.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: photos_Photo -description: constructors and methods of type photos_Photo -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: photos\_Photo -[Back to types index](index.md) - - - -### Possible values (constructors): - -[photos\_photo](../constructors/photos_photo.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->photos->uploadProfilePhoto](../methods/photos_uploadProfilePhoto.md) - - - diff --git a/old_docs/API_docs_v45/types/photos_Photos.md b/old_docs/API_docs_v45/types/photos_Photos.md deleted file mode 100644 index 9875ad70..00000000 --- a/old_docs/API_docs_v45/types/photos_Photos.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: photos_Photos -description: constructors and methods of type photos_Photos -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: photos\_Photos -[Back to types index](index.md) - - - -### Possible values (constructors): - -[photos\_photos](../constructors/photos_photos.md) - -[photos\_photosSlice](../constructors/photos_photosSlice.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->photos->getUserPhotos](../methods/photos_getUserPhotos.md) - - - diff --git a/old_docs/API_docs_v45/types/storage.FileType.md b/old_docs/API_docs_v45/types/storage.FileType.md new file mode 100644 index 00000000..73dc8a92 --- /dev/null +++ b/old_docs/API_docs_v45/types/storage.FileType.md @@ -0,0 +1,38 @@ +--- +title: storage.FileType +description: constructors and methods of type storage.FileType +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: storage.FileType +[Back to types index](index.md) + + + +### Possible values (constructors): + +[storage.fileUnknown](../constructors/storage.fileUnknown.md) + +[storage.fileJpeg](../constructors/storage.fileJpeg.md) + +[storage.fileGif](../constructors/storage.fileGif.md) + +[storage.filePng](../constructors/storage.filePng.md) + +[storage.filePdf](../constructors/storage.filePdf.md) + +[storage.fileMp3](../constructors/storage.fileMp3.md) + +[storage.fileMov](../constructors/storage.fileMov.md) + +[storage.filePartial](../constructors/storage.filePartial.md) + +[storage.fileMp4](../constructors/storage.fileMp4.md) + +[storage.fileWebp](../constructors/storage.fileWebp.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v45/types/storage_FileType.md b/old_docs/API_docs_v45/types/storage_FileType.md deleted file mode 100644 index 076c52a4..00000000 --- a/old_docs/API_docs_v45/types/storage_FileType.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: storage_FileType -description: constructors and methods of type storage_FileType -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: storage\_FileType -[Back to types index](index.md) - - - -### Possible values (constructors): - -[storage\_fileUnknown](../constructors/storage_fileUnknown.md) - -[storage\_fileJpeg](../constructors/storage_fileJpeg.md) - -[storage\_fileGif](../constructors/storage_fileGif.md) - -[storage\_filePng](../constructors/storage_filePng.md) - -[storage\_filePdf](../constructors/storage_filePdf.md) - -[storage\_fileMp3](../constructors/storage_fileMp3.md) - -[storage\_fileMov](../constructors/storage_fileMov.md) - -[storage\_filePartial](../constructors/storage_filePartial.md) - -[storage\_fileMp4](../constructors/storage_fileMp4.md) - -[storage\_fileWebp](../constructors/storage_fileWebp.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v45/types/updates.ChannelDifference.md b/old_docs/API_docs_v45/types/updates.ChannelDifference.md new file mode 100644 index 00000000..ac889a1e --- /dev/null +++ b/old_docs/API_docs_v45/types/updates.ChannelDifference.md @@ -0,0 +1,26 @@ +--- +title: updates.ChannelDifference +description: constructors and methods of type updates.ChannelDifference +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: updates.ChannelDifference +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updates.channelDifferenceEmpty](../constructors/updates.channelDifferenceEmpty.md) + +[updates.channelDifferenceTooLong](../constructors/updates.channelDifferenceTooLong.md) + +[updates.channelDifference](../constructors/updates.channelDifference.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->updates->getChannelDifference](../methods/updates.getChannelDifference.md) + + + diff --git a/old_docs/API_docs_v45/types/updates.Difference.md b/old_docs/API_docs_v45/types/updates.Difference.md new file mode 100644 index 00000000..35998855 --- /dev/null +++ b/old_docs/API_docs_v45/types/updates.Difference.md @@ -0,0 +1,26 @@ +--- +title: updates.Difference +description: constructors and methods of type updates.Difference +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: updates.Difference +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updates.differenceEmpty](../constructors/updates.differenceEmpty.md) + +[updates.difference](../constructors/updates.difference.md) + +[updates.differenceSlice](../constructors/updates.differenceSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->updates->getDifference](../methods/updates.getDifference.md) + + + diff --git a/old_docs/API_docs_v45/types/updates.State.md b/old_docs/API_docs_v45/types/updates.State.md new file mode 100644 index 00000000..49bbb7fd --- /dev/null +++ b/old_docs/API_docs_v45/types/updates.State.md @@ -0,0 +1,22 @@ +--- +title: updates.State +description: constructors and methods of type updates.State +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: updates.State +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updates.state](../constructors/updates.state.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->updates->getState](../methods/updates.getState.md) + + + diff --git a/old_docs/API_docs_v45/types/updates_ChannelDifference.md b/old_docs/API_docs_v45/types/updates_ChannelDifference.md deleted file mode 100644 index dc988692..00000000 --- a/old_docs/API_docs_v45/types/updates_ChannelDifference.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: updates_ChannelDifference -description: constructors and methods of type updates_ChannelDifference -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: updates\_ChannelDifference -[Back to types index](index.md) - - - -### Possible values (constructors): - -[updates\_channelDifferenceEmpty](../constructors/updates_channelDifferenceEmpty.md) - -[updates\_channelDifferenceTooLong](../constructors/updates_channelDifferenceTooLong.md) - -[updates\_channelDifference](../constructors/updates_channelDifference.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->updates->getChannelDifference](../methods/updates_getChannelDifference.md) - - - diff --git a/old_docs/API_docs_v45/types/updates_Difference.md b/old_docs/API_docs_v45/types/updates_Difference.md deleted file mode 100644 index 0190189b..00000000 --- a/old_docs/API_docs_v45/types/updates_Difference.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: updates_Difference -description: constructors and methods of type updates_Difference -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: updates\_Difference -[Back to types index](index.md) - - - -### Possible values (constructors): - -[updates\_differenceEmpty](../constructors/updates_differenceEmpty.md) - -[updates\_difference](../constructors/updates_difference.md) - -[updates\_differenceSlice](../constructors/updates_differenceSlice.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->updates->getDifference](../methods/updates_getDifference.md) - - - diff --git a/old_docs/API_docs_v45/types/updates_State.md b/old_docs/API_docs_v45/types/updates_State.md deleted file mode 100644 index 7a441145..00000000 --- a/old_docs/API_docs_v45/types/updates_State.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: updates_State -description: constructors and methods of type updates_State -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: updates\_State -[Back to types index](index.md) - - - -### Possible values (constructors): - -[updates\_state](../constructors/updates_state.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->updates->getState](../methods/updates_getState.md) - - - diff --git a/old_docs/API_docs_v45/types/upload.File.md b/old_docs/API_docs_v45/types/upload.File.md new file mode 100644 index 00000000..922e6c7a --- /dev/null +++ b/old_docs/API_docs_v45/types/upload.File.md @@ -0,0 +1,22 @@ +--- +title: upload.File +description: constructors and methods of type upload.File +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: upload.File +[Back to types index](index.md) + + + +### Possible values (constructors): + +[upload.file](../constructors/upload.file.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->upload->getFile](../methods/upload.getFile.md) + + + diff --git a/old_docs/API_docs_v45/types/upload_File.md b/old_docs/API_docs_v45/types/upload_File.md deleted file mode 100644 index 6e3bc38d..00000000 --- a/old_docs/API_docs_v45/types/upload_File.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: upload_File -description: constructors and methods of type upload_File -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: upload\_File -[Back to types index](index.md) - - - -### Possible values (constructors): - -[upload\_file](../constructors/upload_file.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->upload->getFile](../methods/upload_getFile.md) - - - diff --git a/old_docs/API_docs_v46/constructors/README.md b/old_docs/API_docs_v46/constructors/README.md index ecf18b81..7eda5017 100644 --- a/old_docs/API_docs_v46/constructors/README.md +++ b/old_docs/API_docs_v46/constructors/README.md @@ -7,22 +7,28 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png [Back to API documentation index](..) *** -

[$accountDaysTTL](../constructors/accountDaysTTL.md) = \['days' => [int](../types/int.md), \]; +

[$account.authorizations](../constructors/account.authorizations.md) = \['authorizations' => \[[Authorization](../types/Authorization.md)\], \]; *** -

[$account\_authorizations](../constructors/account_authorizations.md) = \['authorizations' => \[[Authorization](../types/Authorization.md)\], \]; +

[$account.noPassword](../constructors/account.noPassword.md) = \['new_salt' => [bytes](../types/bytes.md), 'email_unconfirmed_pattern' => [string](../types/string.md), \]; -[$account\_noPassword](../constructors/account_noPassword.md) = \['new_salt' => [bytes](../types/bytes.md), 'email_unconfirmed_pattern' => [string](../types/string.md), \]; +*** +

[$account.password](../constructors/account.password.md) = \['current_salt' => [bytes](../types/bytes.md), 'new_salt' => [bytes](../types/bytes.md), 'hint' => [string](../types/string.md), 'has_recovery' => [Bool](../types/Bool.md), 'email_unconfirmed_pattern' => [string](../types/string.md), \]; -[$account\_password](../constructors/account_password.md) = \['current_salt' => [bytes](../types/bytes.md), 'new_salt' => [bytes](../types/bytes.md), 'hint' => [string](../types/string.md), 'has_recovery' => [Bool](../types/Bool.md), 'email_unconfirmed_pattern' => [string](../types/string.md), \]; +*** +

[$account.passwordInputSettings](../constructors/account.passwordInputSettings.md) = \['new_salt' => [bytes](../types/bytes.md), 'new_password_hash' => [bytes](../types/bytes.md), 'hint' => [string](../types/string.md), 'email' => [string](../types/string.md), \]; -[$account\_passwordInputSettings](../constructors/account_passwordInputSettings.md) = \['new_salt' => [bytes](../types/bytes.md), 'new_password_hash' => [bytes](../types/bytes.md), 'hint' => [string](../types/string.md), 'email' => [string](../types/string.md), \]; +*** +

[$account.passwordSettings](../constructors/account.passwordSettings.md) = \['email' => [string](../types/string.md), \]; -[$account\_passwordSettings](../constructors/account_passwordSettings.md) = \['email' => [string](../types/string.md), \]; +*** +

[$account.privacyRules](../constructors/account.privacyRules.md) = \['rules' => \[[PrivacyRule](../types/PrivacyRule.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$account\_privacyRules](../constructors/account_privacyRules.md) = \['rules' => \[[PrivacyRule](../types/PrivacyRule.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$account.sentChangePhoneCode](../constructors/account.sentChangePhoneCode.md) = \['phone_code_hash' => [string](../types/string.md), 'send_call_timeout' => [int](../types/int.md), \]; -[$account\_sentChangePhoneCode](../constructors/account_sentChangePhoneCode.md) = \['phone_code_hash' => [string](../types/string.md), 'send_call_timeout' => [int](../types/int.md), \]; +*** +

[$accountDaysTTL](../constructors/accountDaysTTL.md) = \['days' => [int](../types/int.md), \]; ***

[$audio](../constructors/audio.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'date' => [int](../types/int.md), 'duration' => [int](../types/int.md), 'mime_type' => [string](../types/string.md), 'size' => [int](../types/int.md), 'dc_id' => [int](../types/int.md), \]; @@ -31,17 +37,22 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$audioEmpty](../constructors/audioEmpty.md) = \['id' => [long](../types/long.md), \]; *** -

[$auth\_authorization](../constructors/auth_authorization.md) = \['user' => [User](../types/User.md), \]; +

[$auth.authorization](../constructors/auth.authorization.md) = \['user' => [User](../types/User.md), \]; -[$auth\_checkedPhone](../constructors/auth_checkedPhone.md) = \['phone_registered' => [Bool](../types/Bool.md), \]; +*** +

[$auth.checkedPhone](../constructors/auth.checkedPhone.md) = \['phone_registered' => [Bool](../types/Bool.md), \]; -[$auth\_exportedAuthorization](../constructors/auth_exportedAuthorization.md) = \['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; +*** +

[$auth.exportedAuthorization](../constructors/auth.exportedAuthorization.md) = \['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; -[$auth\_passwordRecovery](../constructors/auth_passwordRecovery.md) = \['email_pattern' => [string](../types/string.md), \]; +*** +

[$auth.passwordRecovery](../constructors/auth.passwordRecovery.md) = \['email_pattern' => [string](../types/string.md), \]; -[$auth\_sentAppCode](../constructors/auth_sentAppCode.md) = \['phone_registered' => [Bool](../types/Bool.md), 'phone_code_hash' => [string](../types/string.md), 'send_call_timeout' => [int](../types/int.md), 'is_password' => [Bool](../types/Bool.md), \]; +*** +

[$auth.sentAppCode](../constructors/auth.sentAppCode.md) = \['phone_registered' => [Bool](../types/Bool.md), 'phone_code_hash' => [string](../types/string.md), 'send_call_timeout' => [int](../types/int.md), 'is_password' => [Bool](../types/Bool.md), \]; -[$auth\_sentCode](../constructors/auth_sentCode.md) = \['phone_registered' => [Bool](../types/Bool.md), 'phone_code_hash' => [string](../types/string.md), 'send_call_timeout' => [int](../types/int.md), 'is_password' => [Bool](../types/Bool.md), \]; +*** +

[$auth.sentCode](../constructors/auth.sentCode.md) = \['phone_registered' => [Bool](../types/Bool.md), 'phone_code_hash' => [string](../types/string.md), 'send_call_timeout' => [int](../types/int.md), 'is_password' => [Bool](../types/Bool.md), \]; ***

[$authorization](../constructors/authorization.md) = \['hash' => [long](../types/long.md), 'device_model' => [string](../types/string.md), 'platform' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'api_id' => [int](../types/int.md), 'app_name' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'date_created' => [int](../types/int.md), 'date_active' => [int](../types/int.md), 'ip' => [string](../types/string.md), 'country' => [string](../types/string.md), 'region' => [string](../types/string.md), \]; @@ -134,9 +145,10 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$channelRoleModerator](../constructors/channelRoleModerator.md) = \[\]; *** -

[$channels\_channelParticipant](../constructors/channels_channelParticipant.md) = \['participant' => [ChannelParticipant](../types/ChannelParticipant.md), 'users' => \[[User](../types/User.md)\], \]; +

[$channels.channelParticipant](../constructors/channels.channelParticipant.md) = \['participant' => [ChannelParticipant](../types/ChannelParticipant.md), 'users' => \[[User](../types/User.md)\], \]; -[$channels\_channelParticipants](../constructors/channels_channelParticipants.md) = \['count' => [int](../types/int.md), 'participants' => \[[ChannelParticipant](../types/ChannelParticipant.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$channels.channelParticipants](../constructors/channels.channelParticipants.md) = \['count' => [int](../types/int.md), 'participants' => \[[ChannelParticipant](../types/ChannelParticipant.md)\], 'users' => \[[User](../types/User.md)\], \]; ***

[$chat](../constructors/chat.md) = \['creator' => [Bool](../types/Bool.md), 'kicked' => [Bool](../types/Bool.md), 'left' => [Bool](../types/Bool.md), 'admins_enabled' => [Bool](../types/Bool.md), 'admin' => [Bool](../types/Bool.md), 'deactivated' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'title' => [string](../types/string.md), 'photo' => [ChatPhoto](../types/ChatPhoto.md), 'participants_count' => [int](../types/int.md), 'date' => [int](../types/int.md), 'version' => [int](../types/int.md), 'migrated_to' => [InputChannel](../types/InputChannel.md), \]; @@ -211,23 +223,31 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$contactSuggested](../constructors/contactSuggested.md) = \['user_id' => [int](../types/int.md), 'mutual_contacts' => [int](../types/int.md), \]; *** -

[$contacts\_blocked](../constructors/contacts_blocked.md) = \['blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; +

[$contacts.blocked](../constructors/contacts.blocked.md) = \['blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_blockedSlice](../constructors/contacts_blockedSlice.md) = \['count' => [int](../types/int.md), 'blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.blockedSlice](../constructors/contacts.blockedSlice.md) = \['count' => [int](../types/int.md), 'blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_contacts](../constructors/contacts_contacts.md) = \['contacts' => \[[Contact](../types/Contact.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.contacts](../constructors/contacts.contacts.md) = \['contacts' => \[[Contact](../types/Contact.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_contactsNotModified](../constructors/contacts_contactsNotModified.md) = \[\]; +*** +

[$contacts.contactsNotModified](../constructors/contacts.contactsNotModified.md) = \[\]; -[$contacts\_found](../constructors/contacts_found.md) = \['results' => \[[Peer](../types/Peer.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.found](../constructors/contacts.found.md) = \['results' => \[[Peer](../types/Peer.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_importedContacts](../constructors/contacts_importedContacts.md) = \['imported' => \[[ImportedContact](../types/ImportedContact.md)\], 'retry_contacts' => \[[long](../types/long.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.importedContacts](../constructors/contacts.importedContacts.md) = \['imported' => \[[ImportedContact](../types/ImportedContact.md)\], 'retry_contacts' => \[[long](../types/long.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_link](../constructors/contacts_link.md) = \['my_link' => [ContactLink](../types/ContactLink.md), 'foreign_link' => [ContactLink](../types/ContactLink.md), 'user' => [User](../types/User.md), \]; +*** +

[$contacts.link](../constructors/contacts.link.md) = \['my_link' => [ContactLink](../types/ContactLink.md), 'foreign_link' => [ContactLink](../types/ContactLink.md), 'user' => [User](../types/User.md), \]; -[$contacts\_resolvedPeer](../constructors/contacts_resolvedPeer.md) = \['peer' => [Peer](../types/Peer.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.resolvedPeer](../constructors/contacts.resolvedPeer.md) = \['peer' => [Peer](../types/Peer.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_suggested](../constructors/contacts_suggested.md) = \['results' => \[[ContactSuggested](../types/ContactSuggested.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.suggested](../constructors/contacts.suggested.md) = \['results' => \[[ContactSuggested](../types/ContactSuggested.md)\], 'users' => \[[User](../types/User.md)\], \]; ***

[$dcOption](../constructors/dcOption.md) = \['ipv6' => [Bool](../types/Bool.md), 'media_only' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'ip_address' => [string](../types/string.md), 'port' => [int](../types/int.md), \]; @@ -314,19 +334,25 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$geoPointEmpty](../constructors/geoPointEmpty.md) = \[\]; *** -

[$help\_appChangelog](../constructors/help_appChangelog.md) = \['text' => [string](../types/string.md), \]; +

[$help.appChangelog](../constructors/help.appChangelog.md) = \['text' => [string](../types/string.md), \]; -[$help\_appChangelogEmpty](../constructors/help_appChangelogEmpty.md) = \[\]; +*** +

[$help.appChangelogEmpty](../constructors/help.appChangelogEmpty.md) = \[\]; -[$help\_appUpdate](../constructors/help_appUpdate.md) = \['id' => [int](../types/int.md), 'critical' => [Bool](../types/Bool.md), 'url' => [string](../types/string.md), 'text' => [string](../types/string.md), \]; +*** +

[$help.appUpdate](../constructors/help.appUpdate.md) = \['id' => [int](../types/int.md), 'critical' => [Bool](../types/Bool.md), 'url' => [string](../types/string.md), 'text' => [string](../types/string.md), \]; -[$help\_inviteText](../constructors/help_inviteText.md) = \['message' => [string](../types/string.md), \]; +*** +

[$help.inviteText](../constructors/help.inviteText.md) = \['message' => [string](../types/string.md), \]; -[$help\_noAppUpdate](../constructors/help_noAppUpdate.md) = \[\]; +*** +

[$help.noAppUpdate](../constructors/help.noAppUpdate.md) = \[\]; -[$help\_support](../constructors/help_support.md) = \['phone_number' => [string](../types/string.md), 'user' => [User](../types/User.md), \]; +*** +

[$help.support](../constructors/help.support.md) = \['phone_number' => [string](../types/string.md), 'user' => [User](../types/User.md), \]; -[$help\_termsOfService](../constructors/help_termsOfService.md) = \['text' => [string](../types/string.md), \]; +*** +

[$help.termsOfService](../constructors/help.termsOfService.md) = \['text' => [string](../types/string.md), \]; ***

[$importedContact](../constructors/importedContact.md) = \['user_id' => [int](../types/int.md), 'client_id' => [long](../types/long.md), \]; @@ -713,49 +739,70 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$messageService](../constructors/messageService.md) = \['unread' => [Bool](../types/Bool.md), 'out' => [Bool](../types/Bool.md), 'mentioned' => [Bool](../types/Bool.md), 'media_unread' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'from_id' => [int](../types/int.md), 'to_id' => [Peer](../types/Peer.md), 'date' => [int](../types/int.md), 'action' => [MessageAction](../types/MessageAction.md), \]; *** -

[$messages\_affectedHistory](../constructors/messages_affectedHistory.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), 'offset' => [int](../types/int.md), \]; +

[$messages.affectedHistory](../constructors/messages.affectedHistory.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), 'offset' => [int](../types/int.md), \]; -[$messages\_affectedMessages](../constructors/messages_affectedMessages.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; +*** +

[$messages.affectedMessages](../constructors/messages.affectedMessages.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; -[$messages\_allStickers](../constructors/messages_allStickers.md) = \['hash' => [int](../types/int.md), 'sets' => \[[StickerSet](../types/StickerSet.md)\], \]; +*** +

[$messages.allStickers](../constructors/messages.allStickers.md) = \['hash' => [int](../types/int.md), 'sets' => \[[StickerSet](../types/StickerSet.md)\], \]; -[$messages\_allStickersNotModified](../constructors/messages_allStickersNotModified.md) = \[\]; +*** +

[$messages.allStickersNotModified](../constructors/messages.allStickersNotModified.md) = \[\]; -[$messages\_botResults](../constructors/messages_botResults.md) = \['gallery' => [Bool](../types/Bool.md), 'query_id' => [long](../types/long.md), 'next_offset' => [string](../types/string.md), 'results' => \[[BotInlineResult](../types/BotInlineResult.md)\], \]; +*** +

[$messages.botResults](../constructors/messages.botResults.md) = \['gallery' => [Bool](../types/Bool.md), 'query_id' => [long](../types/long.md), 'next_offset' => [string](../types/string.md), 'results' => \[[BotInlineResult](../types/BotInlineResult.md)\], \]; -[$messages\_channelMessages](../constructors/messages_channelMessages.md) = \['pts' => [int](../types/int.md), 'count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'collapsed' => \[[MessageGroup](../types/MessageGroup.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.channelMessages](../constructors/messages.channelMessages.md) = \['pts' => [int](../types/int.md), 'count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'collapsed' => \[[MessageGroup](../types/MessageGroup.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_chatFull](../constructors/messages_chatFull.md) = \['full_chat' => [ChatFull](../types/ChatFull.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.chatFull](../constructors/messages.chatFull.md) = \['full_chat' => [ChatFull](../types/ChatFull.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_chats](../constructors/messages_chats.md) = \['chats' => \[[Chat](../types/Chat.md)\], \]; +*** +

[$messages.chats](../constructors/messages.chats.md) = \['chats' => \[[Chat](../types/Chat.md)\], \]; -[$messages\_dhConfig](../constructors/messages_dhConfig.md) = \['g' => [int](../types/int.md), 'p' => [bytes](../types/bytes.md), 'version' => [int](../types/int.md), 'random' => [bytes](../types/bytes.md), \]; +*** +

[$messages.dhConfig](../constructors/messages.dhConfig.md) = \['g' => [int](../types/int.md), 'p' => [bytes](../types/bytes.md), 'version' => [int](../types/int.md), 'random' => [bytes](../types/bytes.md), \]; -[$messages\_dhConfigNotModified](../constructors/messages_dhConfigNotModified.md) = \['random' => [bytes](../types/bytes.md), \]; +*** +

[$messages.dhConfigNotModified](../constructors/messages.dhConfigNotModified.md) = \['random' => [bytes](../types/bytes.md), \]; -[$messages\_dialogs](../constructors/messages_dialogs.md) = \['dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.dialogs](../constructors/messages.dialogs.md) = \['dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_dialogsSlice](../constructors/messages_dialogsSlice.md) = \['count' => [int](../types/int.md), 'dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.dialogsSlice](../constructors/messages.dialogsSlice.md) = \['count' => [int](../types/int.md), 'dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_foundGifs](../constructors/messages_foundGifs.md) = \['next_offset' => [int](../types/int.md), 'results' => \[[FoundGif](../types/FoundGif.md)\], \]; +*** +

[$messages.foundGifs](../constructors/messages.foundGifs.md) = \['next_offset' => [int](../types/int.md), 'results' => \[[FoundGif](../types/FoundGif.md)\], \]; -[$messages\_messages](../constructors/messages_messages.md) = \['messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.messages](../constructors/messages.messages.md) = \['messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_messagesSlice](../constructors/messages_messagesSlice.md) = \['count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.messagesSlice](../constructors/messages.messagesSlice.md) = \['count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_savedGifs](../constructors/messages_savedGifs.md) = \['hash' => [int](../types/int.md), 'gifs' => \[[Document](../types/Document.md)\], \]; +*** +

[$messages.savedGifs](../constructors/messages.savedGifs.md) = \['hash' => [int](../types/int.md), 'gifs' => \[[Document](../types/Document.md)\], \]; -[$messages\_savedGifsNotModified](../constructors/messages_savedGifsNotModified.md) = \[\]; +*** +

[$messages.savedGifsNotModified](../constructors/messages.savedGifsNotModified.md) = \[\]; -[$messages\_sentEncryptedFile](../constructors/messages_sentEncryptedFile.md) = \['date' => [int](../types/int.md), 'file' => [EncryptedFile](../types/EncryptedFile.md), \]; +*** +

[$messages.sentEncryptedFile](../constructors/messages.sentEncryptedFile.md) = \['date' => [int](../types/int.md), 'file' => [EncryptedFile](../types/EncryptedFile.md), \]; -[$messages\_sentEncryptedMessage](../constructors/messages_sentEncryptedMessage.md) = \['date' => [int](../types/int.md), \]; +*** +

[$messages.sentEncryptedMessage](../constructors/messages.sentEncryptedMessage.md) = \['date' => [int](../types/int.md), \]; -[$messages\_stickerSet](../constructors/messages_stickerSet.md) = \['set' => [StickerSet](../types/StickerSet.md), 'packs' => \[[StickerPack](../types/StickerPack.md)\], 'documents' => \[[Document](../types/Document.md)\], \]; +*** +

[$messages.stickerSet](../constructors/messages.stickerSet.md) = \['set' => [StickerSet](../types/StickerSet.md), 'packs' => \[[StickerPack](../types/StickerPack.md)\], 'documents' => \[[Document](../types/Document.md)\], \]; -[$messages\_stickers](../constructors/messages_stickers.md) = \['hash' => [string](../types/string.md), 'stickers' => \[[Document](../types/Document.md)\], \]; +*** +

[$messages.stickers](../constructors/messages.stickers.md) = \['hash' => [string](../types/string.md), 'stickers' => \[[Document](../types/Document.md)\], \]; -[$messages\_stickersNotModified](../constructors/messages_stickersNotModified.md) = \[\]; +*** +

[$messages.stickersNotModified](../constructors/messages.stickersNotModified.md) = \[\]; ***

[$nearestDc](../constructors/nearestDc.md) = \['country' => [string](../types/string.md), 'this_dc' => [int](../types/int.md), 'nearest_dc' => [int](../types/int.md), \]; @@ -812,11 +859,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$photoSizeEmpty](../constructors/photoSizeEmpty.md) = \['type' => [string](../types/string.md), \]; *** -

[$photos\_photo](../constructors/photos_photo.md) = \['photo' => [Photo](../types/Photo.md), 'users' => \[[User](../types/User.md)\], \]; +

[$photos.photo](../constructors/photos.photo.md) = \['photo' => [Photo](../types/Photo.md), 'users' => \[[User](../types/User.md)\], \]; -[$photos\_photos](../constructors/photos_photos.md) = \['photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$photos.photos](../constructors/photos.photos.md) = \['photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$photos\_photosSlice](../constructors/photos_photosSlice.md) = \['count' => [int](../types/int.md), 'photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$photos.photosSlice](../constructors/photos.photosSlice.md) = \['count' => [int](../types/int.md), 'photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; ***

[$privacyKeyStatusTimestamp](../constructors/privacyKeyStatusTimestamp.md) = \[\]; @@ -888,25 +937,34 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$stickerSet](../constructors/stickerSet.md) = \['installed' => [Bool](../types/Bool.md), 'disabled' => [Bool](../types/Bool.md), 'official' => [Bool](../types/Bool.md), 'id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'title' => [string](../types/string.md), 'short_name' => [string](../types/string.md), 'count' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]; *** -

[$storage\_fileGif](../constructors/storage_fileGif.md) = \[\]; +

[$storage.fileGif](../constructors/storage.fileGif.md) = \[\]; -[$storage\_fileJpeg](../constructors/storage_fileJpeg.md) = \[\]; +*** +

[$storage.fileJpeg](../constructors/storage.fileJpeg.md) = \[\]; -[$storage\_fileMov](../constructors/storage_fileMov.md) = \[\]; +*** +

[$storage.fileMov](../constructors/storage.fileMov.md) = \[\]; -[$storage\_fileMp3](../constructors/storage_fileMp3.md) = \[\]; +*** +

[$storage.fileMp3](../constructors/storage.fileMp3.md) = \[\]; -[$storage\_fileMp4](../constructors/storage_fileMp4.md) = \[\]; +*** +

[$storage.fileMp4](../constructors/storage.fileMp4.md) = \[\]; -[$storage\_filePartial](../constructors/storage_filePartial.md) = \[\]; +*** +

[$storage.filePartial](../constructors/storage.filePartial.md) = \[\]; -[$storage\_filePdf](../constructors/storage_filePdf.md) = \[\]; +*** +

[$storage.filePdf](../constructors/storage.filePdf.md) = \[\]; -[$storage\_filePng](../constructors/storage_filePng.md) = \[\]; +*** +

[$storage.filePng](../constructors/storage.filePng.md) = \[\]; -[$storage\_fileUnknown](../constructors/storage_fileUnknown.md) = \[\]; +*** +

[$storage.fileUnknown](../constructors/storage.fileUnknown.md) = \[\]; -[$storage\_fileWebp](../constructors/storage_fileWebp.md) = \[\]; +*** +

[$storage.fileWebp](../constructors/storage.fileWebp.md) = \[\]; ***

[$true](../constructors/true.md) = \[\]; @@ -1052,6 +1110,27 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ***

[$updates](../constructors/updates.md) = \['updates' => \[[Update](../types/Update.md)\], 'users' => \[[User](../types/User.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'date' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; +*** +

[$updates.channelDifference](../constructors/updates.channelDifference.md) = \['final' => [Bool](../types/Bool.md), 'channel_pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), 'new_messages' => \[[Message](../types/Message.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +*** +

[$updates.channelDifferenceEmpty](../constructors/updates.channelDifferenceEmpty.md) = \['final' => [Bool](../types/Bool.md), 'channel_pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), \]; + +*** +

[$updates.channelDifferenceTooLong](../constructors/updates.channelDifferenceTooLong.md) = \['final' => [Bool](../types/Bool.md), 'channel_pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), 'top_message' => [int](../types/int.md), 'top_important_message' => [int](../types/int.md), 'read_inbox_max_id' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), 'unread_important_count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +*** +

[$updates.difference](../constructors/updates.difference.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'state' => [updates.State](../types/updates.State.md), \]; + +*** +

[$updates.differenceEmpty](../constructors/updates.differenceEmpty.md) = \['date' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; + +*** +

[$updates.differenceSlice](../constructors/updates.differenceSlice.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'intermediate_state' => [updates.State](../types/updates.State.md), \]; + +*** +

[$updates.state](../constructors/updates.state.md) = \['pts' => [int](../types/int.md), 'qts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'seq' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), \]; + ***

[$updatesCombined](../constructors/updatesCombined.md) = \['updates' => \[[Update](../types/Update.md)\], 'users' => \[[User](../types/User.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'date' => [int](../types/int.md), 'seq_start' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; @@ -1059,22 +1138,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$updatesTooLong](../constructors/updatesTooLong.md) = \[\]; *** -

[$updates\_channelDifference](../constructors/updates_channelDifference.md) = \['final' => [Bool](../types/Bool.md), 'channel_pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), 'new_messages' => \[[Message](../types/Message.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; - -[$updates\_channelDifferenceEmpty](../constructors/updates_channelDifferenceEmpty.md) = \['final' => [Bool](../types/Bool.md), 'channel_pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), \]; - -[$updates\_channelDifferenceTooLong](../constructors/updates_channelDifferenceTooLong.md) = \['final' => [Bool](../types/Bool.md), 'channel_pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), 'top_message' => [int](../types/int.md), 'top_important_message' => [int](../types/int.md), 'read_inbox_max_id' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), 'unread_important_count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; - -[$updates\_difference](../constructors/updates_difference.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'state' => [updates.State](../types/updates.State.md), \]; - -[$updates\_differenceEmpty](../constructors/updates_differenceEmpty.md) = \['date' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; - -[$updates\_differenceSlice](../constructors/updates_differenceSlice.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'intermediate_state' => [updates.State](../types/updates.State.md), \]; - -[$updates\_state](../constructors/updates_state.md) = \['pts' => [int](../types/int.md), 'qts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'seq' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), \]; - -*** -

[$upload\_file](../constructors/upload_file.md) = \['type' => [storage.FileType](../types/storage.FileType.md), 'mtime' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; +

[$upload.file](../constructors/upload.file.md) = \['type' => [storage.FileType](../types/storage.FileType.md), 'mtime' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; ***

[$user](../constructors/user.md) = \['self' => [Bool](../types/Bool.md), 'contact' => [Bool](../types/Bool.md), 'mutual_contact' => [Bool](../types/Bool.md), 'deleted' => [Bool](../types/Bool.md), 'bot' => [Bool](../types/Bool.md), 'bot_chat_history' => [Bool](../types/Bool.md), 'bot_nochats' => [Bool](../types/Bool.md), 'verified' => [Bool](../types/Bool.md), 'restricted' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), 'username' => [string](../types/string.md), 'phone' => [string](../types/string.md), 'photo' => [UserProfilePhoto](../types/UserProfilePhoto.md), 'status' => [UserStatus](../types/UserStatus.md), 'bot_info_version' => [int](../types/int.md), 'restriction_reason' => [string](../types/string.md), 'bot_inline_placeholder' => [string](../types/string.md), \]; diff --git a/old_docs/API_docs_v46/constructors/account.authorizations.md b/old_docs/API_docs_v46/constructors/account.authorizations.md new file mode 100644 index 00000000..53c961f0 --- /dev/null +++ b/old_docs/API_docs_v46/constructors/account.authorizations.md @@ -0,0 +1,38 @@ +--- +title: account.authorizations +description: Logged-in sessions +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.authorizations +[Back to constructors index](index.md) + + + +Logged-in sessions + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|authorizations|Array of [Authorization](../types/Authorization.md) | Yes|Authorizations| + + + +### Type: [account.Authorizations](../types/account.Authorizations.md) + + +### Example: + +```php +$account.authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization, Authorization]]; +``` + + +Or, if you're into Lua: + +```lua +account.authorizations={_='account.authorizations', authorizations={Authorization}} + +``` + + diff --git a/old_docs/API_docs_v46/constructors/account.noPassword.md b/old_docs/API_docs_v46/constructors/account.noPassword.md new file mode 100644 index 00000000..4dcdc515 --- /dev/null +++ b/old_docs/API_docs_v46/constructors/account.noPassword.md @@ -0,0 +1,39 @@ +--- +title: account.noPassword +description: No password +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.noPassword +[Back to constructors index](index.md) + + + +No password + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|new\_salt|[bytes](../types/bytes.md) | Yes|New salt| +|email\_unconfirmed\_pattern|[string](../types/string.md) | Yes|Email unconfirmed pattern| + + + +### Type: [account.Password](../types/account.Password.md) + + +### Example: + +```php +$account.noPassword = ['_' => 'account.noPassword', 'new_salt' => 'bytes', 'email_unconfirmed_pattern' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +account.noPassword={_='account.noPassword', new_salt='bytes', email_unconfirmed_pattern='string'} + +``` + + diff --git a/old_docs/API_docs_v46/constructors/account.password.md b/old_docs/API_docs_v46/constructors/account.password.md new file mode 100644 index 00000000..9e86a73a --- /dev/null +++ b/old_docs/API_docs_v46/constructors/account.password.md @@ -0,0 +1,42 @@ +--- +title: account.password +description: Configuration for two-factor authorization +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.password +[Back to constructors index](index.md) + + + +Configuration for two-factor authorization + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|current\_salt|[bytes](../types/bytes.md) | Yes|Current salt| +|new\_salt|[bytes](../types/bytes.md) | Yes|New salt| +|hint|[string](../types/string.md) | Yes|Text hint for the password| +|has\_recovery|[Bool](../types/Bool.md) | Yes|Has recovery?| +|email\_unconfirmed\_pattern|[string](../types/string.md) | Yes|A [password recovery email](https://core.telegram.org/api/srp#email-verification) with the specified [pattern](https://core.telegram.org/api/pattern) is still awaiting verification| + + + +### Type: [account.Password](../types/account.Password.md) + + +### Example: + +```php +$account.password = ['_' => 'account.password', 'current_salt' => 'bytes', 'new_salt' => 'bytes', 'hint' => 'string', 'has_recovery' => Bool, 'email_unconfirmed_pattern' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +account.password={_='account.password', current_salt='bytes', new_salt='bytes', hint='string', has_recovery=Bool, email_unconfirmed_pattern='string'} + +``` + + diff --git a/old_docs/API_docs_v46/constructors/account.passwordInputSettings.md b/old_docs/API_docs_v46/constructors/account.passwordInputSettings.md new file mode 100644 index 00000000..c440115a --- /dev/null +++ b/old_docs/API_docs_v46/constructors/account.passwordInputSettings.md @@ -0,0 +1,41 @@ +--- +title: account.passwordInputSettings +description: Settings for setting up a new password +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.passwordInputSettings +[Back to constructors index](index.md) + + + +Settings for setting up a new password + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|new\_salt|[bytes](../types/bytes.md) | Optional|`$new_salt = $MadelineProto->account->getPassword()['new_salt'].$MadelineProto->random(8);`| +|new\_password\_hash|[bytes](../types/bytes.md) | Optional|The [computed password hash](https://core.telegram.org/api/srp)| +|hint|[string](../types/string.md) | Optional|Text hint for the password| +|email|[string](../types/string.md) | Optional|Password recovery email| + + + +### Type: [account.PasswordInputSettings](../types/account.PasswordInputSettings.md) + + +### Example: + +```php +$account.passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_salt' => 'bytes', 'new_password_hash' => 'bytes', 'hint' => 'string', 'email' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +account.passwordInputSettings={_='account.passwordInputSettings', new_salt='bytes', new_password_hash='bytes', hint='string', email='string'} + +``` + + diff --git a/old_docs/API_docs_v46/constructors/account.passwordSettings.md b/old_docs/API_docs_v46/constructors/account.passwordSettings.md new file mode 100644 index 00000000..be899d34 --- /dev/null +++ b/old_docs/API_docs_v46/constructors/account.passwordSettings.md @@ -0,0 +1,38 @@ +--- +title: account.passwordSettings +description: Private info associated to the password info (recovery email, telegram [passport](https://core.telegram.org/passport) info & so on) +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.passwordSettings +[Back to constructors index](index.md) + + + +Private info associated to the password info (recovery email, telegram [passport](https://core.telegram.org/passport) info & so on) + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|email|[string](../types/string.md) | Yes|[2FA Recovery email](https://core.telegram.org/api/srp#email-verification)| + + + +### Type: [account.PasswordSettings](../types/account.PasswordSettings.md) + + +### Example: + +```php +$account.passwordSettings = ['_' => 'account.passwordSettings', 'email' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +account.passwordSettings={_='account.passwordSettings', email='string'} + +``` + + diff --git a/old_docs/API_docs_v46/constructors/account.privacyRules.md b/old_docs/API_docs_v46/constructors/account.privacyRules.md new file mode 100644 index 00000000..7ae04abb --- /dev/null +++ b/old_docs/API_docs_v46/constructors/account.privacyRules.md @@ -0,0 +1,39 @@ +--- +title: account.privacyRules +description: Privacy rules +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.privacyRules +[Back to constructors index](index.md) + + + +Privacy rules + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|rules|Array of [PrivacyRule](../types/PrivacyRule.md) | Yes|Rules| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [account.PrivacyRules](../types/account.PrivacyRules.md) + + +### Example: + +```php +$account.privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule, PrivacyRule], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +account.privacyRules={_='account.privacyRules', rules={PrivacyRule}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v46/constructors/account.sentChangePhoneCode.md b/old_docs/API_docs_v46/constructors/account.sentChangePhoneCode.md new file mode 100644 index 00000000..119f6af6 --- /dev/null +++ b/old_docs/API_docs_v46/constructors/account.sentChangePhoneCode.md @@ -0,0 +1,39 @@ +--- +title: account.sentChangePhoneCode +description: Sent change phone code +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.sentChangePhoneCode +[Back to constructors index](index.md) + + + +Sent change phone code + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_code\_hash|[string](../types/string.md) | Yes|Phone code hash| +|send\_call\_timeout|[int](../types/int.md) | Yes|Send call timeout| + + + +### Type: [account.SentChangePhoneCode](../types/account.SentChangePhoneCode.md) + + +### Example: + +```php +$account.sentChangePhoneCode = ['_' => 'account.sentChangePhoneCode', 'phone_code_hash' => 'string', 'send_call_timeout' => int]; +``` + + +Or, if you're into Lua: + +```lua +account.sentChangePhoneCode={_='account.sentChangePhoneCode', phone_code_hash='string', send_call_timeout=int} + +``` + + diff --git a/old_docs/API_docs_v46/constructors/account_authorizations.md b/old_docs/API_docs_v46/constructors/account_authorizations.md deleted file mode 100644 index aeae48f3..00000000 --- a/old_docs/API_docs_v46/constructors/account_authorizations.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: account.authorizations -description: Logged-in sessions -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.authorizations -[Back to constructors index](index.md) - - - -Logged-in sessions - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|authorizations|Array of [Authorization](../types/Authorization.md) | Yes|Authorizations| - - - -### Type: [account\_Authorizations](../types/account_Authorizations.md) - - -### Example: - -```php -$account_authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization, Authorization]]; -``` - - -Or, if you're into Lua: - -```lua -account_authorizations={_='account.authorizations', authorizations={Authorization}} - -``` - - diff --git a/old_docs/API_docs_v46/constructors/account_noPassword.md b/old_docs/API_docs_v46/constructors/account_noPassword.md deleted file mode 100644 index 10ef7b2a..00000000 --- a/old_docs/API_docs_v46/constructors/account_noPassword.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: account.noPassword -description: No password -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.noPassword -[Back to constructors index](index.md) - - - -No password - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|new\_salt|[bytes](../types/bytes.md) | Yes|New salt| -|email\_unconfirmed\_pattern|[string](../types/string.md) | Yes|Email unconfirmed pattern| - - - -### Type: [account\_Password](../types/account_Password.md) - - -### Example: - -```php -$account_noPassword = ['_' => 'account.noPassword', 'new_salt' => 'bytes', 'email_unconfirmed_pattern' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -account_noPassword={_='account.noPassword', new_salt='bytes', email_unconfirmed_pattern='string'} - -``` - - diff --git a/old_docs/API_docs_v46/constructors/account_password.md b/old_docs/API_docs_v46/constructors/account_password.md deleted file mode 100644 index a9f512e8..00000000 --- a/old_docs/API_docs_v46/constructors/account_password.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: account.password -description: Configuration for two-factor authorization -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.password -[Back to constructors index](index.md) - - - -Configuration for two-factor authorization - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|current\_salt|[bytes](../types/bytes.md) | Yes|Current salt| -|new\_salt|[bytes](../types/bytes.md) | Yes|New salt| -|hint|[string](../types/string.md) | Yes|Text hint for the password| -|has\_recovery|[Bool](../types/Bool.md) | Yes|Has recovery?| -|email\_unconfirmed\_pattern|[string](../types/string.md) | Yes|A [password recovery email](https://core.telegram.org/api/srp#email-verification) with the specified [pattern](https://core.telegram.org/api/pattern) is still awaiting verification| - - - -### Type: [account\_Password](../types/account_Password.md) - - -### Example: - -```php -$account_password = ['_' => 'account.password', 'current_salt' => 'bytes', 'new_salt' => 'bytes', 'hint' => 'string', 'has_recovery' => Bool, 'email_unconfirmed_pattern' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -account_password={_='account.password', current_salt='bytes', new_salt='bytes', hint='string', has_recovery=Bool, email_unconfirmed_pattern='string'} - -``` - - diff --git a/old_docs/API_docs_v46/constructors/account_passwordInputSettings.md b/old_docs/API_docs_v46/constructors/account_passwordInputSettings.md deleted file mode 100644 index 05ec666b..00000000 --- a/old_docs/API_docs_v46/constructors/account_passwordInputSettings.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: account.passwordInputSettings -description: Settings for setting up a new password -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.passwordInputSettings -[Back to constructors index](index.md) - - - -Settings for setting up a new password - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|new\_salt|[bytes](../types/bytes.md) | Optional|`$new_salt = $MadelineProto->account->getPassword()['new_salt'].$MadelineProto->random(8);`| -|new\_password\_hash|[bytes](../types/bytes.md) | Optional|The [computed password hash](https://core.telegram.org/api/srp)| -|hint|[string](../types/string.md) | Optional|Text hint for the password| -|email|[string](../types/string.md) | Optional|Password recovery email| - - - -### Type: [account\_PasswordInputSettings](../types/account_PasswordInputSettings.md) - - -### Example: - -```php -$account_passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_salt' => 'bytes', 'new_password_hash' => 'bytes', 'hint' => 'string', 'email' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -account_passwordInputSettings={_='account.passwordInputSettings', new_salt='bytes', new_password_hash='bytes', hint='string', email='string'} - -``` - - diff --git a/old_docs/API_docs_v46/constructors/account_passwordSettings.md b/old_docs/API_docs_v46/constructors/account_passwordSettings.md deleted file mode 100644 index e22f9cc4..00000000 --- a/old_docs/API_docs_v46/constructors/account_passwordSettings.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: account.passwordSettings -description: Private info associated to the password info (recovery email, telegram [passport](https://core.telegram.org/passport) info & so on) -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.passwordSettings -[Back to constructors index](index.md) - - - -Private info associated to the password info (recovery email, telegram [passport](https://core.telegram.org/passport) info & so on) - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|email|[string](../types/string.md) | Yes|[2FA Recovery email](https://core.telegram.org/api/srp#email-verification)| - - - -### Type: [account\_PasswordSettings](../types/account_PasswordSettings.md) - - -### Example: - -```php -$account_passwordSettings = ['_' => 'account.passwordSettings', 'email' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -account_passwordSettings={_='account.passwordSettings', email='string'} - -``` - - diff --git a/old_docs/API_docs_v46/constructors/account_privacyRules.md b/old_docs/API_docs_v46/constructors/account_privacyRules.md deleted file mode 100644 index 28b260b7..00000000 --- a/old_docs/API_docs_v46/constructors/account_privacyRules.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: account.privacyRules -description: Privacy rules -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.privacyRules -[Back to constructors index](index.md) - - - -Privacy rules - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|rules|Array of [PrivacyRule](../types/PrivacyRule.md) | Yes|Rules| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [account\_PrivacyRules](../types/account_PrivacyRules.md) - - -### Example: - -```php -$account_privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule, PrivacyRule], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -account_privacyRules={_='account.privacyRules', rules={PrivacyRule}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v46/constructors/account_sentChangePhoneCode.md b/old_docs/API_docs_v46/constructors/account_sentChangePhoneCode.md deleted file mode 100644 index 052ce817..00000000 --- a/old_docs/API_docs_v46/constructors/account_sentChangePhoneCode.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: account.sentChangePhoneCode -description: Sent change phone code -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.sentChangePhoneCode -[Back to constructors index](index.md) - - - -Sent change phone code - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_code\_hash|[string](../types/string.md) | Yes|Phone code hash| -|send\_call\_timeout|[int](../types/int.md) | Yes|Send call timeout| - - - -### Type: [account\_SentChangePhoneCode](../types/account_SentChangePhoneCode.md) - - -### Example: - -```php -$account_sentChangePhoneCode = ['_' => 'account.sentChangePhoneCode', 'phone_code_hash' => 'string', 'send_call_timeout' => int]; -``` - - -Or, if you're into Lua: - -```lua -account_sentChangePhoneCode={_='account.sentChangePhoneCode', phone_code_hash='string', send_call_timeout=int} - -``` - - diff --git a/old_docs/API_docs_v46/constructors/auth.authorization.md b/old_docs/API_docs_v46/constructors/auth.authorization.md new file mode 100644 index 00000000..bd034fc5 --- /dev/null +++ b/old_docs/API_docs_v46/constructors/auth.authorization.md @@ -0,0 +1,38 @@ +--- +title: auth.authorization +description: Contains user authorization info. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.authorization +[Back to constructors index](index.md) + + + +Contains user authorization info. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|user|[User](../types/User.md) | Optional|Info on authorized user| + + + +### Type: [auth.Authorization](../types/auth.Authorization.md) + + +### Example: + +```php +$auth.authorization = ['_' => 'auth.authorization', 'user' => User]; +``` + + +Or, if you're into Lua: + +```lua +auth.authorization={_='auth.authorization', user=User} + +``` + + diff --git a/old_docs/API_docs_v46/constructors/auth.checkedPhone.md b/old_docs/API_docs_v46/constructors/auth.checkedPhone.md new file mode 100644 index 00000000..23e84cf9 --- /dev/null +++ b/old_docs/API_docs_v46/constructors/auth.checkedPhone.md @@ -0,0 +1,38 @@ +--- +title: auth.checkedPhone +description: Checked phone +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.checkedPhone +[Back to constructors index](index.md) + + + +Checked phone + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_registered|[Bool](../types/Bool.md) | Yes|Phone registered?| + + + +### Type: [auth.CheckedPhone](../types/auth.CheckedPhone.md) + + +### Example: + +```php +$auth.checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool]; +``` + + +Or, if you're into Lua: + +```lua +auth.checkedPhone={_='auth.checkedPhone', phone_registered=Bool} + +``` + + diff --git a/old_docs/API_docs_v46/constructors/auth.exportedAuthorization.md b/old_docs/API_docs_v46/constructors/auth.exportedAuthorization.md new file mode 100644 index 00000000..2a4a9896 --- /dev/null +++ b/old_docs/API_docs_v46/constructors/auth.exportedAuthorization.md @@ -0,0 +1,39 @@ +--- +title: auth.exportedAuthorization +description: Data for copying of authorization between data centres. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.exportedAuthorization +[Back to constructors index](index.md) + + + +Data for copying of authorization between data centres. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|id|[int](../types/int.md) | Yes|Current user identifier| +|bytes|[bytes](../types/bytes.md) | Yes|Authorizes key| + + + +### Type: [auth.ExportedAuthorization](../types/auth.ExportedAuthorization.md) + + +### Example: + +```php +$auth.exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +auth.exportedAuthorization={_='auth.exportedAuthorization', id=int, bytes='bytes'} + +``` + + diff --git a/old_docs/API_docs_v46/constructors/auth.passwordRecovery.md b/old_docs/API_docs_v46/constructors/auth.passwordRecovery.md new file mode 100644 index 00000000..61de922d --- /dev/null +++ b/old_docs/API_docs_v46/constructors/auth.passwordRecovery.md @@ -0,0 +1,38 @@ +--- +title: auth.passwordRecovery +description: Recovery info of a [2FA password](https://core.telegram.org/api/srp), only for accounts with a [recovery email configured](https://core.telegram.org/api/srp#email-verification). +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.passwordRecovery +[Back to constructors index](index.md) + + + +Recovery info of a [2FA password](https://core.telegram.org/api/srp), only for accounts with a [recovery email configured](https://core.telegram.org/api/srp#email-verification). + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|email\_pattern|[string](../types/string.md) | Yes|The email to which the recovery code was sent must match this [pattern](https://core.telegram.org/api/pattern).| + + + +### Type: [auth.PasswordRecovery](../types/auth.PasswordRecovery.md) + + +### Example: + +```php +$auth.passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +auth.passwordRecovery={_='auth.passwordRecovery', email_pattern='string'} + +``` + + diff --git a/old_docs/API_docs_v46/constructors/auth.sentAppCode.md b/old_docs/API_docs_v46/constructors/auth.sentAppCode.md new file mode 100644 index 00000000..e4cd5ef0 --- /dev/null +++ b/old_docs/API_docs_v46/constructors/auth.sentAppCode.md @@ -0,0 +1,41 @@ +--- +title: auth.sentAppCode +description: Sent app code +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentAppCode +[Back to constructors index](index.md) + + + +Sent app code + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_registered|[Bool](../types/Bool.md) | Yes|Phone registered?| +|phone\_code\_hash|[string](../types/string.md) | Yes|Phone code hash| +|send\_call\_timeout|[int](../types/int.md) | Yes|Send call timeout| +|is\_password|[Bool](../types/Bool.md) | Yes|Is password?| + + + +### Type: [auth.SentCode](../types/auth.SentCode.md) + + +### Example: + +```php +$auth.sentAppCode = ['_' => 'auth.sentAppCode', 'phone_registered' => Bool, 'phone_code_hash' => 'string', 'send_call_timeout' => int, 'is_password' => Bool]; +``` + + +Or, if you're into Lua: + +```lua +auth.sentAppCode={_='auth.sentAppCode', phone_registered=Bool, phone_code_hash='string', send_call_timeout=int, is_password=Bool} + +``` + + diff --git a/old_docs/API_docs_v46/constructors/auth.sentCode.md b/old_docs/API_docs_v46/constructors/auth.sentCode.md new file mode 100644 index 00000000..c81a8042 --- /dev/null +++ b/old_docs/API_docs_v46/constructors/auth.sentCode.md @@ -0,0 +1,41 @@ +--- +title: auth.sentCode +description: Contains info about a sent verification code. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentCode +[Back to constructors index](index.md) + + + +Contains info about a sent verification code. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_registered|[Bool](../types/Bool.md) | Yes|Phone registered?| +|phone\_code\_hash|[string](../types/string.md) | Yes|Phone code hash, to be stored and later re-used with [auth.signIn](../methods/auth.signIn.md)| +|send\_call\_timeout|[int](../types/int.md) | Yes|Send call timeout| +|is\_password|[Bool](../types/Bool.md) | Yes|Is password?| + + + +### Type: [auth.SentCode](../types/auth.SentCode.md) + + +### Example: + +```php +$auth.sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'phone_code_hash' => 'string', 'send_call_timeout' => int, 'is_password' => Bool]; +``` + + +Or, if you're into Lua: + +```lua +auth.sentCode={_='auth.sentCode', phone_registered=Bool, phone_code_hash='string', send_call_timeout=int, is_password=Bool} + +``` + + diff --git a/old_docs/API_docs_v46/constructors/auth_authorization.md b/old_docs/API_docs_v46/constructors/auth_authorization.md deleted file mode 100644 index 07d223a1..00000000 --- a/old_docs/API_docs_v46/constructors/auth_authorization.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.authorization -description: Contains user authorization info. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.authorization -[Back to constructors index](index.md) - - - -Contains user authorization info. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|user|[User](../types/User.md) | Optional|Info on authorized user| - - - -### Type: [auth\_Authorization](../types/auth_Authorization.md) - - -### Example: - -```php -$auth_authorization = ['_' => 'auth.authorization', 'user' => User]; -``` - - -Or, if you're into Lua: - -```lua -auth_authorization={_='auth.authorization', user=User} - -``` - - diff --git a/old_docs/API_docs_v46/constructors/auth_checkedPhone.md b/old_docs/API_docs_v46/constructors/auth_checkedPhone.md deleted file mode 100644 index c77becf6..00000000 --- a/old_docs/API_docs_v46/constructors/auth_checkedPhone.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.checkedPhone -description: Checked phone -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.checkedPhone -[Back to constructors index](index.md) - - - -Checked phone - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_registered|[Bool](../types/Bool.md) | Yes|Phone registered?| - - - -### Type: [auth\_CheckedPhone](../types/auth_CheckedPhone.md) - - -### Example: - -```php -$auth_checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool]; -``` - - -Or, if you're into Lua: - -```lua -auth_checkedPhone={_='auth.checkedPhone', phone_registered=Bool} - -``` - - diff --git a/old_docs/API_docs_v46/constructors/auth_exportedAuthorization.md b/old_docs/API_docs_v46/constructors/auth_exportedAuthorization.md deleted file mode 100644 index 8d18916e..00000000 --- a/old_docs/API_docs_v46/constructors/auth_exportedAuthorization.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: auth.exportedAuthorization -description: Data for copying of authorization between data centres. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.exportedAuthorization -[Back to constructors index](index.md) - - - -Data for copying of authorization between data centres. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|id|[int](../types/int.md) | Yes|Current user identifier| -|bytes|[bytes](../types/bytes.md) | Yes|Authorizes key| - - - -### Type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) - - -### Example: - -```php -$auth_exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -auth_exportedAuthorization={_='auth.exportedAuthorization', id=int, bytes='bytes'} - -``` - - diff --git a/old_docs/API_docs_v46/constructors/auth_passwordRecovery.md b/old_docs/API_docs_v46/constructors/auth_passwordRecovery.md deleted file mode 100644 index c40f375e..00000000 --- a/old_docs/API_docs_v46/constructors/auth_passwordRecovery.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.passwordRecovery -description: Recovery info of a [2FA password](https://core.telegram.org/api/srp), only for accounts with a [recovery email configured](https://core.telegram.org/api/srp#email-verification). -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.passwordRecovery -[Back to constructors index](index.md) - - - -Recovery info of a [2FA password](https://core.telegram.org/api/srp), only for accounts with a [recovery email configured](https://core.telegram.org/api/srp#email-verification). - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|email\_pattern|[string](../types/string.md) | Yes|The email to which the recovery code was sent must match this [pattern](https://core.telegram.org/api/pattern).| - - - -### Type: [auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) - - -### Example: - -```php -$auth_passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -auth_passwordRecovery={_='auth.passwordRecovery', email_pattern='string'} - -``` - - diff --git a/old_docs/API_docs_v46/constructors/auth_sentAppCode.md b/old_docs/API_docs_v46/constructors/auth_sentAppCode.md deleted file mode 100644 index f61b0eb9..00000000 --- a/old_docs/API_docs_v46/constructors/auth_sentAppCode.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: auth.sentAppCode -description: Sent app code -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentAppCode -[Back to constructors index](index.md) - - - -Sent app code - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_registered|[Bool](../types/Bool.md) | Yes|Phone registered?| -|phone\_code\_hash|[string](../types/string.md) | Yes|Phone code hash| -|send\_call\_timeout|[int](../types/int.md) | Yes|Send call timeout| -|is\_password|[Bool](../types/Bool.md) | Yes|Is password?| - - - -### Type: [auth\_SentCode](../types/auth_SentCode.md) - - -### Example: - -```php -$auth_sentAppCode = ['_' => 'auth.sentAppCode', 'phone_registered' => Bool, 'phone_code_hash' => 'string', 'send_call_timeout' => int, 'is_password' => Bool]; -``` - - -Or, if you're into Lua: - -```lua -auth_sentAppCode={_='auth.sentAppCode', phone_registered=Bool, phone_code_hash='string', send_call_timeout=int, is_password=Bool} - -``` - - diff --git a/old_docs/API_docs_v46/constructors/auth_sentCode.md b/old_docs/API_docs_v46/constructors/auth_sentCode.md deleted file mode 100644 index 28a9ac2f..00000000 --- a/old_docs/API_docs_v46/constructors/auth_sentCode.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: auth.sentCode -description: Contains info about a sent verification code. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentCode -[Back to constructors index](index.md) - - - -Contains info about a sent verification code. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_registered|[Bool](../types/Bool.md) | Yes|Phone registered?| -|phone\_code\_hash|[string](../types/string.md) | Yes|Phone code hash, to be stored and later re-used with [auth.signIn](../methods/auth.signIn.md)| -|send\_call\_timeout|[int](../types/int.md) | Yes|Send call timeout| -|is\_password|[Bool](../types/Bool.md) | Yes|Is password?| - - - -### Type: [auth\_SentCode](../types/auth_SentCode.md) - - -### Example: - -```php -$auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'phone_code_hash' => 'string', 'send_call_timeout' => int, 'is_password' => Bool]; -``` - - -Or, if you're into Lua: - -```lua -auth_sentCode={_='auth.sentCode', phone_registered=Bool, phone_code_hash='string', send_call_timeout=int, is_password=Bool} - -``` - - diff --git a/old_docs/API_docs_v46/constructors/channels.channelParticipant.md b/old_docs/API_docs_v46/constructors/channels.channelParticipant.md new file mode 100644 index 00000000..0f09777f --- /dev/null +++ b/old_docs/API_docs_v46/constructors/channels.channelParticipant.md @@ -0,0 +1,39 @@ +--- +title: channels.channelParticipant +description: Represents a channel participant +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: channels.channelParticipant +[Back to constructors index](index.md) + + + +Represents a channel participant + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|participant|[ChannelParticipant](../types/ChannelParticipant.md) | Yes|The channel participant| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [channels.ChannelParticipant](../types/channels.ChannelParticipant.md) + + +### Example: + +```php +$channels.channelParticipant = ['_' => 'channels.channelParticipant', 'participant' => ChannelParticipant, 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +channels.channelParticipant={_='channels.channelParticipant', participant=ChannelParticipant, users={User}} + +``` + + diff --git a/old_docs/API_docs_v46/constructors/channels.channelParticipants.md b/old_docs/API_docs_v46/constructors/channels.channelParticipants.md new file mode 100644 index 00000000..6ee1a8b3 --- /dev/null +++ b/old_docs/API_docs_v46/constructors/channels.channelParticipants.md @@ -0,0 +1,40 @@ +--- +title: channels.channelParticipants +description: Represents multiple channel participants +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: channels.channelParticipants +[Back to constructors index](index.md) + + + +Represents multiple channel participants + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of participants that correspond to the given query| +|participants|Array of [ChannelParticipant](../types/ChannelParticipant.md) | Yes|Participants| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [channels.ChannelParticipants](../types/channels.ChannelParticipants.md) + + +### Example: + +```php +$channels.channelParticipants = ['_' => 'channels.channelParticipants', 'count' => int, 'participants' => [ChannelParticipant, ChannelParticipant], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +channels.channelParticipants={_='channels.channelParticipants', count=int, participants={ChannelParticipant}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v46/constructors/channels_channelParticipant.md b/old_docs/API_docs_v46/constructors/channels_channelParticipant.md deleted file mode 100644 index 15fe46a4..00000000 --- a/old_docs/API_docs_v46/constructors/channels_channelParticipant.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: channels.channelParticipant -description: Represents a channel participant -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: channels.channelParticipant -[Back to constructors index](index.md) - - - -Represents a channel participant - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|participant|[ChannelParticipant](../types/ChannelParticipant.md) | Yes|The channel participant| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [channels\_ChannelParticipant](../types/channels_ChannelParticipant.md) - - -### Example: - -```php -$channels_channelParticipant = ['_' => 'channels.channelParticipant', 'participant' => ChannelParticipant, 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -channels_channelParticipant={_='channels.channelParticipant', participant=ChannelParticipant, users={User}} - -``` - - diff --git a/old_docs/API_docs_v46/constructors/channels_channelParticipants.md b/old_docs/API_docs_v46/constructors/channels_channelParticipants.md deleted file mode 100644 index 1848a04f..00000000 --- a/old_docs/API_docs_v46/constructors/channels_channelParticipants.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: channels.channelParticipants -description: Represents multiple channel participants -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: channels.channelParticipants -[Back to constructors index](index.md) - - - -Represents multiple channel participants - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of participants that correspond to the given query| -|participants|Array of [ChannelParticipant](../types/ChannelParticipant.md) | Yes|Participants| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [channels\_ChannelParticipants](../types/channels_ChannelParticipants.md) - - -### Example: - -```php -$channels_channelParticipants = ['_' => 'channels.channelParticipants', 'count' => int, 'participants' => [ChannelParticipant, ChannelParticipant], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -channels_channelParticipants={_='channels.channelParticipants', count=int, participants={ChannelParticipant}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v46/constructors/contacts.blocked.md b/old_docs/API_docs_v46/constructors/contacts.blocked.md new file mode 100644 index 00000000..d2b3f680 --- /dev/null +++ b/old_docs/API_docs_v46/constructors/contacts.blocked.md @@ -0,0 +1,39 @@ +--- +title: contacts.blocked +description: Full list of blocked users. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.blocked +[Back to constructors index](index.md) + + + +Full list of blocked users. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Blocked](../types/contacts.Blocked.md) + + +### Example: + +```php +$contacts.blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.blocked={_='contacts.blocked', blocked={ContactBlocked}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v46/constructors/contacts.blockedSlice.md b/old_docs/API_docs_v46/constructors/contacts.blockedSlice.md new file mode 100644 index 00000000..92d19c72 --- /dev/null +++ b/old_docs/API_docs_v46/constructors/contacts.blockedSlice.md @@ -0,0 +1,40 @@ +--- +title: contacts.blockedSlice +description: Incomplete list of blocked users. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.blockedSlice +[Back to constructors index](index.md) + + + +Incomplete list of blocked users. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of elements in the list| +|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Blocked](../types/contacts.Blocked.md) + + +### Example: + +```php +$contacts.blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.blockedSlice={_='contacts.blockedSlice', count=int, blocked={ContactBlocked}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v46/constructors/contacts.contacts.md b/old_docs/API_docs_v46/constructors/contacts.contacts.md new file mode 100644 index 00000000..d4ccc018 --- /dev/null +++ b/old_docs/API_docs_v46/constructors/contacts.contacts.md @@ -0,0 +1,39 @@ +--- +title: contacts.contacts +description: The current user's contact list and info on users. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.contacts +[Back to constructors index](index.md) + + + +The current user's contact list and info on users. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|contacts|Array of [Contact](../types/Contact.md) | Yes|Contacts| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Contacts](../types/contacts.Contacts.md) + + +### Example: + +```php +$contacts.contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact, Contact], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.contacts={_='contacts.contacts', contacts={Contact}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v46/constructors/contacts.contactsNotModified.md b/old_docs/API_docs_v46/constructors/contacts.contactsNotModified.md new file mode 100644 index 00000000..e2149396 --- /dev/null +++ b/old_docs/API_docs_v46/constructors/contacts.contactsNotModified.md @@ -0,0 +1,33 @@ +--- +title: contacts.contactsNotModified +description: Contact list on the server is the same as the list on the client. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.contactsNotModified +[Back to constructors index](index.md) + + + +Contact list on the server is the same as the list on the client. + + + + +### Type: [contacts.Contacts](../types/contacts.Contacts.md) + + +### Example: + +```php +$contacts.contactsNotModified = ['_' => 'contacts.contactsNotModified']; +``` + + +Or, if you're into Lua: + +```lua +contacts.contactsNotModified={_='contacts.contactsNotModified'} + +``` + + diff --git a/old_docs/API_docs_v46/constructors/contacts.found.md b/old_docs/API_docs_v46/constructors/contacts.found.md new file mode 100644 index 00000000..1eaa93b7 --- /dev/null +++ b/old_docs/API_docs_v46/constructors/contacts.found.md @@ -0,0 +1,40 @@ +--- +title: contacts.found +description: Users found by name substring and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.found +[Back to constructors index](index.md) + + + +Users found by name substring and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|results|Array of [Peer](../types/Peer.md) | Yes|Results| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Found](../types/contacts.Found.md) + + +### Example: + +```php +$contacts.found = ['_' => 'contacts.found', 'results' => [Peer, Peer], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.found={_='contacts.found', results={Peer}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v46/constructors/contacts.importedContacts.md b/old_docs/API_docs_v46/constructors/contacts.importedContacts.md new file mode 100644 index 00000000..1cbff59a --- /dev/null +++ b/old_docs/API_docs_v46/constructors/contacts.importedContacts.md @@ -0,0 +1,40 @@ +--- +title: contacts.importedContacts +description: Info on succesfully imported contacts. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.importedContacts +[Back to constructors index](index.md) + + + +Info on succesfully imported contacts. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|imported|Array of [ImportedContact](../types/ImportedContact.md) | Yes|Imported| +|retry\_contacts|Array of [long](../types/long.md) | Yes|Retry importing contacts whose client IDs appear here| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.ImportedContacts](../types/contacts.ImportedContacts.md) + + +### Example: + +```php +$contacts.importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact, ImportedContact], 'retry_contacts' => [long, long], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.importedContacts={_='contacts.importedContacts', imported={ImportedContact}, retry_contacts={long}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v46/constructors/contacts.link.md b/old_docs/API_docs_v46/constructors/contacts.link.md new file mode 100644 index 00000000..ab150a0d --- /dev/null +++ b/old_docs/API_docs_v46/constructors/contacts.link.md @@ -0,0 +1,40 @@ +--- +title: contacts.link +description: Link +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.link +[Back to constructors index](index.md) + + + +Link + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|my\_link|[ContactLink](../types/ContactLink.md) | Yes|My link| +|foreign\_link|[ContactLink](../types/ContactLink.md) | Yes|Foreign link| +|user|[User](../types/User.md) | Optional|User| + + + +### Type: [contacts.Link](../types/contacts.Link.md) + + +### Example: + +```php +$contacts.link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User]; +``` + + +Or, if you're into Lua: + +```lua +contacts.link={_='contacts.link', my_link=ContactLink, foreign_link=ContactLink, user=User} + +``` + + diff --git a/old_docs/API_docs_v46/constructors/contacts.resolvedPeer.md b/old_docs/API_docs_v46/constructors/contacts.resolvedPeer.md new file mode 100644 index 00000000..35d88481 --- /dev/null +++ b/old_docs/API_docs_v46/constructors/contacts.resolvedPeer.md @@ -0,0 +1,40 @@ +--- +title: contacts.resolvedPeer +description: Resolved peer +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.resolvedPeer +[Back to constructors index](index.md) + + + +Resolved peer + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|peer|[Peer](../types/Peer.md) | Yes|The peer| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.ResolvedPeer](../types/contacts.ResolvedPeer.md) + + +### Example: + +```php +$contacts.resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.resolvedPeer={_='contacts.resolvedPeer', peer=Peer, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v46/constructors/contacts.suggested.md b/old_docs/API_docs_v46/constructors/contacts.suggested.md new file mode 100644 index 00000000..b9a56bec --- /dev/null +++ b/old_docs/API_docs_v46/constructors/contacts.suggested.md @@ -0,0 +1,39 @@ +--- +title: contacts.suggested +description: Suggested +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.suggested +[Back to constructors index](index.md) + + + +Suggested + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|results|Array of [ContactSuggested](../types/ContactSuggested.md) | Yes|Results| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Suggested](../types/contacts.Suggested.md) + + +### Example: + +```php +$contacts.suggested = ['_' => 'contacts.suggested', 'results' => [ContactSuggested, ContactSuggested], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.suggested={_='contacts.suggested', results={ContactSuggested}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v46/constructors/contacts_blocked.md b/old_docs/API_docs_v46/constructors/contacts_blocked.md deleted file mode 100644 index 20e33002..00000000 --- a/old_docs/API_docs_v46/constructors/contacts_blocked.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: contacts.blocked -description: Full list of blocked users. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.blocked -[Back to constructors index](index.md) - - - -Full list of blocked users. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Blocked](../types/contacts_Blocked.md) - - -### Example: - -```php -$contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_blocked={_='contacts.blocked', blocked={ContactBlocked}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v46/constructors/contacts_blockedSlice.md b/old_docs/API_docs_v46/constructors/contacts_blockedSlice.md deleted file mode 100644 index fcab9a28..00000000 --- a/old_docs/API_docs_v46/constructors/contacts_blockedSlice.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.blockedSlice -description: Incomplete list of blocked users. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.blockedSlice -[Back to constructors index](index.md) - - - -Incomplete list of blocked users. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of elements in the list| -|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Blocked](../types/contacts_Blocked.md) - - -### Example: - -```php -$contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_blockedSlice={_='contacts.blockedSlice', count=int, blocked={ContactBlocked}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v46/constructors/contacts_contacts.md b/old_docs/API_docs_v46/constructors/contacts_contacts.md deleted file mode 100644 index f101b34b..00000000 --- a/old_docs/API_docs_v46/constructors/contacts_contacts.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: contacts.contacts -description: The current user's contact list and info on users. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.contacts -[Back to constructors index](index.md) - - - -The current user's contact list and info on users. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|contacts|Array of [Contact](../types/Contact.md) | Yes|Contacts| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Contacts](../types/contacts_Contacts.md) - - -### Example: - -```php -$contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact, Contact], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_contacts={_='contacts.contacts', contacts={Contact}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v46/constructors/contacts_contactsNotModified.md b/old_docs/API_docs_v46/constructors/contacts_contactsNotModified.md deleted file mode 100644 index 17e76ac3..00000000 --- a/old_docs/API_docs_v46/constructors/contacts_contactsNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: contacts.contactsNotModified -description: Contact list on the server is the same as the list on the client. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.contactsNotModified -[Back to constructors index](index.md) - - - -Contact list on the server is the same as the list on the client. - - - - -### Type: [contacts\_Contacts](../types/contacts_Contacts.md) - - -### Example: - -```php -$contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified']; -``` - - -Or, if you're into Lua: - -```lua -contacts_contactsNotModified={_='contacts.contactsNotModified'} - -``` - - diff --git a/old_docs/API_docs_v46/constructors/contacts_found.md b/old_docs/API_docs_v46/constructors/contacts_found.md deleted file mode 100644 index 0674aabf..00000000 --- a/old_docs/API_docs_v46/constructors/contacts_found.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.found -description: Users found by name substring and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.found -[Back to constructors index](index.md) - - - -Users found by name substring and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|results|Array of [Peer](../types/Peer.md) | Yes|Results| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Found](../types/contacts_Found.md) - - -### Example: - -```php -$contacts_found = ['_' => 'contacts.found', 'results' => [Peer, Peer], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_found={_='contacts.found', results={Peer}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v46/constructors/contacts_importedContacts.md b/old_docs/API_docs_v46/constructors/contacts_importedContacts.md deleted file mode 100644 index 121d96d1..00000000 --- a/old_docs/API_docs_v46/constructors/contacts_importedContacts.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.importedContacts -description: Info on succesfully imported contacts. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.importedContacts -[Back to constructors index](index.md) - - - -Info on succesfully imported contacts. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|imported|Array of [ImportedContact](../types/ImportedContact.md) | Yes|Imported| -|retry\_contacts|Array of [long](../types/long.md) | Yes|Retry importing contacts whose client IDs appear here| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) - - -### Example: - -```php -$contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact, ImportedContact], 'retry_contacts' => [long, long], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_importedContacts={_='contacts.importedContacts', imported={ImportedContact}, retry_contacts={long}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v46/constructors/contacts_link.md b/old_docs/API_docs_v46/constructors/contacts_link.md deleted file mode 100644 index cfc566c7..00000000 --- a/old_docs/API_docs_v46/constructors/contacts_link.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.link -description: Link -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.link -[Back to constructors index](index.md) - - - -Link - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|my\_link|[ContactLink](../types/ContactLink.md) | Yes|My link| -|foreign\_link|[ContactLink](../types/ContactLink.md) | Yes|Foreign link| -|user|[User](../types/User.md) | Optional|User| - - - -### Type: [contacts\_Link](../types/contacts_Link.md) - - -### Example: - -```php -$contacts_link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User]; -``` - - -Or, if you're into Lua: - -```lua -contacts_link={_='contacts.link', my_link=ContactLink, foreign_link=ContactLink, user=User} - -``` - - diff --git a/old_docs/API_docs_v46/constructors/contacts_resolvedPeer.md b/old_docs/API_docs_v46/constructors/contacts_resolvedPeer.md deleted file mode 100644 index aae3c7af..00000000 --- a/old_docs/API_docs_v46/constructors/contacts_resolvedPeer.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.resolvedPeer -description: Resolved peer -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.resolvedPeer -[Back to constructors index](index.md) - - - -Resolved peer - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|peer|[Peer](../types/Peer.md) | Yes|The peer| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_ResolvedPeer](../types/contacts_ResolvedPeer.md) - - -### Example: - -```php -$contacts_resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_resolvedPeer={_='contacts.resolvedPeer', peer=Peer, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v46/constructors/contacts_suggested.md b/old_docs/API_docs_v46/constructors/contacts_suggested.md deleted file mode 100644 index 9bdba0b7..00000000 --- a/old_docs/API_docs_v46/constructors/contacts_suggested.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: contacts.suggested -description: Suggested -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.suggested -[Back to constructors index](index.md) - - - -Suggested - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|results|Array of [ContactSuggested](../types/ContactSuggested.md) | Yes|Results| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Suggested](../types/contacts_Suggested.md) - - -### Example: - -```php -$contacts_suggested = ['_' => 'contacts.suggested', 'results' => [ContactSuggested, ContactSuggested], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_suggested={_='contacts.suggested', results={ContactSuggested}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v46/constructors/help.appChangelog.md b/old_docs/API_docs_v46/constructors/help.appChangelog.md new file mode 100644 index 00000000..dec6b96c --- /dev/null +++ b/old_docs/API_docs_v46/constructors/help.appChangelog.md @@ -0,0 +1,38 @@ +--- +title: help.appChangelog +description: App changelog +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.appChangelog +[Back to constructors index](index.md) + + + +App changelog + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|text|[string](../types/string.md) | Yes|Text| + + + +### Type: [help.AppChangelog](../types/help.AppChangelog.md) + + +### Example: + +```php +$help.appChangelog = ['_' => 'help.appChangelog', 'text' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +help.appChangelog={_='help.appChangelog', text='string'} + +``` + + diff --git a/old_docs/API_docs_v46/constructors/help.appChangelogEmpty.md b/old_docs/API_docs_v46/constructors/help.appChangelogEmpty.md new file mode 100644 index 00000000..6ecb71af --- /dev/null +++ b/old_docs/API_docs_v46/constructors/help.appChangelogEmpty.md @@ -0,0 +1,33 @@ +--- +title: help.appChangelogEmpty +description: Empty app changelog +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.appChangelogEmpty +[Back to constructors index](index.md) + + + +Empty app changelog + + + + +### Type: [help.AppChangelog](../types/help.AppChangelog.md) + + +### Example: + +```php +$help.appChangelogEmpty = ['_' => 'help.appChangelogEmpty']; +``` + + +Or, if you're into Lua: + +```lua +help.appChangelogEmpty={_='help.appChangelogEmpty'} + +``` + + diff --git a/old_docs/API_docs_v46/constructors/help.appUpdate.md b/old_docs/API_docs_v46/constructors/help.appUpdate.md new file mode 100644 index 00000000..14b2d75b --- /dev/null +++ b/old_docs/API_docs_v46/constructors/help.appUpdate.md @@ -0,0 +1,41 @@ +--- +title: help.appUpdate +description: An update is available for the application. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.appUpdate +[Back to constructors index](index.md) + + + +An update is available for the application. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|id|[int](../types/int.md) | Yes|Update ID| +|critical|[Bool](../types/Bool.md) | Yes|Critical?| +|url|[string](../types/string.md) | Yes|Application download URL| +|text|[string](../types/string.md) | Yes|Text description of the update| + + + +### Type: [help.AppUpdate](../types/help.AppUpdate.md) + + +### Example: + +```php +$help.appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'url' => 'string', 'text' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +help.appUpdate={_='help.appUpdate', id=int, critical=Bool, url='string', text='string'} + +``` + + diff --git a/old_docs/API_docs_v46/constructors/help.inviteText.md b/old_docs/API_docs_v46/constructors/help.inviteText.md new file mode 100644 index 00000000..6a6261c1 --- /dev/null +++ b/old_docs/API_docs_v46/constructors/help.inviteText.md @@ -0,0 +1,38 @@ +--- +title: help.inviteText +description: Text of a text message with an invitation to install application. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.inviteText +[Back to constructors index](index.md) + + + +Text of a text message with an invitation to install application. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|message|[string](../types/string.md) | Yes|Text of a message| + + + +### Type: [help.InviteText](../types/help.InviteText.md) + + +### Example: + +```php +$help.inviteText = ['_' => 'help.inviteText', 'message' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +help.inviteText={_='help.inviteText', message='string'} + +``` + + diff --git a/old_docs/API_docs_v46/constructors/help.noAppUpdate.md b/old_docs/API_docs_v46/constructors/help.noAppUpdate.md new file mode 100644 index 00000000..1b69ac9a --- /dev/null +++ b/old_docs/API_docs_v46/constructors/help.noAppUpdate.md @@ -0,0 +1,33 @@ +--- +title: help.noAppUpdate +description: No updates are available for the application. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.noAppUpdate +[Back to constructors index](index.md) + + + +No updates are available for the application. + + + + +### Type: [help.AppUpdate](../types/help.AppUpdate.md) + + +### Example: + +```php +$help.noAppUpdate = ['_' => 'help.noAppUpdate']; +``` + + +Or, if you're into Lua: + +```lua +help.noAppUpdate={_='help.noAppUpdate'} + +``` + + diff --git a/old_docs/API_docs_v46/constructors/help.support.md b/old_docs/API_docs_v46/constructors/help.support.md new file mode 100644 index 00000000..4d4f85fb --- /dev/null +++ b/old_docs/API_docs_v46/constructors/help.support.md @@ -0,0 +1,39 @@ +--- +title: help.support +description: Info on support user. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.support +[Back to constructors index](index.md) + + + +Info on support user. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_number|[string](../types/string.md) | Yes|Phone number| +|user|[User](../types/User.md) | Optional|User| + + + +### Type: [help.Support](../types/help.Support.md) + + +### Example: + +```php +$help.support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => User]; +``` + + +Or, if you're into Lua: + +```lua +help.support={_='help.support', phone_number='string', user=User} + +``` + + diff --git a/old_docs/API_docs_v46/constructors/help.termsOfService.md b/old_docs/API_docs_v46/constructors/help.termsOfService.md new file mode 100644 index 00000000..cab1f128 --- /dev/null +++ b/old_docs/API_docs_v46/constructors/help.termsOfService.md @@ -0,0 +1,38 @@ +--- +title: help.termsOfService +description: Info about the latest telegram Terms Of Service +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.termsOfService +[Back to constructors index](index.md) + + + +Info about the latest telegram Terms Of Service + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|text|[string](../types/string.md) | Yes|Text of the new terms| + + + +### Type: [help.TermsOfService](../types/help.TermsOfService.md) + + +### Example: + +```php +$help.termsOfService = ['_' => 'help.termsOfService', 'text' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +help.termsOfService={_='help.termsOfService', text='string'} + +``` + + diff --git a/old_docs/API_docs_v46/constructors/help_appChangelog.md b/old_docs/API_docs_v46/constructors/help_appChangelog.md deleted file mode 100644 index 793a8fc4..00000000 --- a/old_docs/API_docs_v46/constructors/help_appChangelog.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: help.appChangelog -description: App changelog -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.appChangelog -[Back to constructors index](index.md) - - - -App changelog - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|text|[string](../types/string.md) | Yes|Text| - - - -### Type: [help\_AppChangelog](../types/help_AppChangelog.md) - - -### Example: - -```php -$help_appChangelog = ['_' => 'help.appChangelog', 'text' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -help_appChangelog={_='help.appChangelog', text='string'} - -``` - - diff --git a/old_docs/API_docs_v46/constructors/help_appChangelogEmpty.md b/old_docs/API_docs_v46/constructors/help_appChangelogEmpty.md deleted file mode 100644 index 62a195bb..00000000 --- a/old_docs/API_docs_v46/constructors/help_appChangelogEmpty.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: help.appChangelogEmpty -description: Empty app changelog -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.appChangelogEmpty -[Back to constructors index](index.md) - - - -Empty app changelog - - - - -### Type: [help\_AppChangelog](../types/help_AppChangelog.md) - - -### Example: - -```php -$help_appChangelogEmpty = ['_' => 'help.appChangelogEmpty']; -``` - - -Or, if you're into Lua: - -```lua -help_appChangelogEmpty={_='help.appChangelogEmpty'} - -``` - - diff --git a/old_docs/API_docs_v46/constructors/help_appUpdate.md b/old_docs/API_docs_v46/constructors/help_appUpdate.md deleted file mode 100644 index efba9bdb..00000000 --- a/old_docs/API_docs_v46/constructors/help_appUpdate.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: help.appUpdate -description: An update is available for the application. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.appUpdate -[Back to constructors index](index.md) - - - -An update is available for the application. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|id|[int](../types/int.md) | Yes|Update ID| -|critical|[Bool](../types/Bool.md) | Yes|Critical?| -|url|[string](../types/string.md) | Yes|Application download URL| -|text|[string](../types/string.md) | Yes|Text description of the update| - - - -### Type: [help\_AppUpdate](../types/help_AppUpdate.md) - - -### Example: - -```php -$help_appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'url' => 'string', 'text' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -help_appUpdate={_='help.appUpdate', id=int, critical=Bool, url='string', text='string'} - -``` - - diff --git a/old_docs/API_docs_v46/constructors/help_inviteText.md b/old_docs/API_docs_v46/constructors/help_inviteText.md deleted file mode 100644 index b8317ce3..00000000 --- a/old_docs/API_docs_v46/constructors/help_inviteText.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: help.inviteText -description: Text of a text message with an invitation to install application. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.inviteText -[Back to constructors index](index.md) - - - -Text of a text message with an invitation to install application. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|message|[string](../types/string.md) | Yes|Text of a message| - - - -### Type: [help\_InviteText](../types/help_InviteText.md) - - -### Example: - -```php -$help_inviteText = ['_' => 'help.inviteText', 'message' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -help_inviteText={_='help.inviteText', message='string'} - -``` - - diff --git a/old_docs/API_docs_v46/constructors/help_noAppUpdate.md b/old_docs/API_docs_v46/constructors/help_noAppUpdate.md deleted file mode 100644 index 51505e52..00000000 --- a/old_docs/API_docs_v46/constructors/help_noAppUpdate.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: help.noAppUpdate -description: No updates are available for the application. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.noAppUpdate -[Back to constructors index](index.md) - - - -No updates are available for the application. - - - - -### Type: [help\_AppUpdate](../types/help_AppUpdate.md) - - -### Example: - -```php -$help_noAppUpdate = ['_' => 'help.noAppUpdate']; -``` - - -Or, if you're into Lua: - -```lua -help_noAppUpdate={_='help.noAppUpdate'} - -``` - - diff --git a/old_docs/API_docs_v46/constructors/help_support.md b/old_docs/API_docs_v46/constructors/help_support.md deleted file mode 100644 index 148f7f42..00000000 --- a/old_docs/API_docs_v46/constructors/help_support.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: help.support -description: Info on support user. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.support -[Back to constructors index](index.md) - - - -Info on support user. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_number|[string](../types/string.md) | Yes|Phone number| -|user|[User](../types/User.md) | Optional|User| - - - -### Type: [help\_Support](../types/help_Support.md) - - -### Example: - -```php -$help_support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => User]; -``` - - -Or, if you're into Lua: - -```lua -help_support={_='help.support', phone_number='string', user=User} - -``` - - diff --git a/old_docs/API_docs_v46/constructors/help_termsOfService.md b/old_docs/API_docs_v46/constructors/help_termsOfService.md deleted file mode 100644 index 2ac763b3..00000000 --- a/old_docs/API_docs_v46/constructors/help_termsOfService.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: help.termsOfService -description: Info about the latest telegram Terms Of Service -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.termsOfService -[Back to constructors index](index.md) - - - -Info about the latest telegram Terms Of Service - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|text|[string](../types/string.md) | Yes|Text of the new terms| - - - -### Type: [help\_TermsOfService](../types/help_TermsOfService.md) - - -### Example: - -```php -$help_termsOfService = ['_' => 'help.termsOfService', 'text' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -help_termsOfService={_='help.termsOfService', text='string'} - -``` - - diff --git a/old_docs/API_docs_v46/constructors/messages.affectedHistory.md b/old_docs/API_docs_v46/constructors/messages.affectedHistory.md new file mode 100644 index 00000000..5fc8acec --- /dev/null +++ b/old_docs/API_docs_v46/constructors/messages.affectedHistory.md @@ -0,0 +1,40 @@ +--- +title: messages.affectedHistory +description: Affected part of communication history with the user or in a chat. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.affectedHistory +[Back to constructors index](index.md) + + + +Affected part of communication history with the user or in a chat. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| +|pts\_count|[int](../types/int.md) | Yes|Number of affected events| +|offset|[int](../types/int.md) | Yes|If a parameter contains positive value, it is necessary to repeat the method call using the given value; during the proceeding of all the history the value itself shall gradually decrease| + + + +### Type: [messages.AffectedHistory](../types/messages.AffectedHistory.md) + + +### Example: + +```php +$messages.affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.affectedHistory={_='messages.affectedHistory', pts=int, pts_count=int, offset=int} + +``` + + diff --git a/old_docs/API_docs_v46/constructors/messages.affectedMessages.md b/old_docs/API_docs_v46/constructors/messages.affectedMessages.md new file mode 100644 index 00000000..a0e60bdf --- /dev/null +++ b/old_docs/API_docs_v46/constructors/messages.affectedMessages.md @@ -0,0 +1,39 @@ +--- +title: messages.affectedMessages +description: Events affected by operation +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.affectedMessages +[Back to constructors index](index.md) + + + +Events affected by operation + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|[Event count after generation](https://core.telegram.org/api/updates)| +|pts\_count|[int](../types/int.md) | Yes|[Number of events that were generated](https://core.telegram.org/api/updates)| + + + +### Type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) + + +### Example: + +```php +$messages.affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.affectedMessages={_='messages.affectedMessages', pts=int, pts_count=int} + +``` + + diff --git a/old_docs/API_docs_v46/constructors/messages.allStickers.md b/old_docs/API_docs_v46/constructors/messages.allStickers.md new file mode 100644 index 00000000..5f13bfde --- /dev/null +++ b/old_docs/API_docs_v46/constructors/messages.allStickers.md @@ -0,0 +1,39 @@ +--- +title: messages.allStickers +description: Info about all installed stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.allStickers +[Back to constructors index](index.md) + + + +Info about all installed stickers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|sets|Array of [StickerSet](../types/StickerSet.md) | Yes|Sets| + + + +### Type: [messages.AllStickers](../types/messages.AllStickers.md) + + +### Example: + +```php +$messages.allStickers = ['_' => 'messages.allStickers', 'hash' => int, 'sets' => [StickerSet, StickerSet]]; +``` + + +Or, if you're into Lua: + +```lua +messages.allStickers={_='messages.allStickers', hash=int, sets={StickerSet}} + +``` + + diff --git a/old_docs/API_docs_v46/constructors/messages.allStickersNotModified.md b/old_docs/API_docs_v46/constructors/messages.allStickersNotModified.md new file mode 100644 index 00000000..d3db088b --- /dev/null +++ b/old_docs/API_docs_v46/constructors/messages.allStickersNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.allStickersNotModified +description: Info about all installed stickers hasn't changed +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.allStickersNotModified +[Back to constructors index](index.md) + + + +Info about all installed stickers hasn't changed + + + + +### Type: [messages.AllStickers](../types/messages.AllStickers.md) + + +### Example: + +```php +$messages.allStickersNotModified = ['_' => 'messages.allStickersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.allStickersNotModified={_='messages.allStickersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v46/constructors/messages.botResults.md b/old_docs/API_docs_v46/constructors/messages.botResults.md new file mode 100644 index 00000000..37e62498 --- /dev/null +++ b/old_docs/API_docs_v46/constructors/messages.botResults.md @@ -0,0 +1,41 @@ +--- +title: messages.botResults +description: Result of a query to an inline bot +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.botResults +[Back to constructors index](index.md) + + + +Result of a query to an inline bot + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|gallery|[Bool](../types/Bool.md) | Optional|Whether the result is a picture gallery| +|query\_id|[long](../types/long.md) | Yes|Query ID| +|next\_offset|[string](../types/string.md) | Optional|The next offset to use when navigating through results| +|results|Array of [BotInlineResult](../types/BotInlineResult.md) | Yes|Results| + + + +### Type: [messages.BotResults](../types/messages.BotResults.md) + + +### Example: + +```php +$messages.botResults = ['_' => 'messages.botResults', 'gallery' => Bool, 'query_id' => long, 'next_offset' => 'string', 'results' => [BotInlineResult, BotInlineResult]]; +``` + + +Or, if you're into Lua: + +```lua +messages.botResults={_='messages.botResults', gallery=Bool, query_id=long, next_offset='string', results={BotInlineResult}} + +``` + + diff --git a/old_docs/API_docs_v46/constructors/messages.channelMessages.md b/old_docs/API_docs_v46/constructors/messages.channelMessages.md new file mode 100644 index 00000000..26b60293 --- /dev/null +++ b/old_docs/API_docs_v46/constructors/messages.channelMessages.md @@ -0,0 +1,43 @@ +--- +title: messages.channelMessages +description: Channel messages +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.channelMessages +[Back to constructors index](index.md) + + + +Channel messages + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|[Event count after generation](https://core.telegram.org/api/updates)| +|count|[int](../types/int.md) | Yes|Total number of results were found server-side (may not be all included here)| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|collapsed|Array of [MessageGroup](../types/MessageGroup.md) | Optional|Collapsed| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Messages](../types/messages.Messages.md) + + +### Example: + +```php +$messages.channelMessages = ['_' => 'messages.channelMessages', 'pts' => int, 'count' => int, 'messages' => [Message, Message], 'collapsed' => [MessageGroup, MessageGroup], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.channelMessages={_='messages.channelMessages', pts=int, count=int, messages={Message}, collapsed={MessageGroup}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v46/constructors/messages.chatFull.md b/old_docs/API_docs_v46/constructors/messages.chatFull.md new file mode 100644 index 00000000..3906cc54 --- /dev/null +++ b/old_docs/API_docs_v46/constructors/messages.chatFull.md @@ -0,0 +1,40 @@ +--- +title: messages.chatFull +description: Extended info on chat and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.chatFull +[Back to constructors index](index.md) + + + +Extended info on chat and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|full\_chat|[ChatFull](../types/ChatFull.md) | Yes|Extended info on a chat| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.ChatFull](../types/messages.ChatFull.md) + + +### Example: + +```php +$messages.chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.chatFull={_='messages.chatFull', full_chat=ChatFull, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v46/constructors/messages.chats.md b/old_docs/API_docs_v46/constructors/messages.chats.md new file mode 100644 index 00000000..9ede9ff2 --- /dev/null +++ b/old_docs/API_docs_v46/constructors/messages.chats.md @@ -0,0 +1,38 @@ +--- +title: messages.chats +description: List of chats with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.chats +[Back to constructors index](index.md) + + + +List of chats with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| + + + +### Type: [messages.Chats](../types/messages.Chats.md) + + +### Example: + +```php +$messages.chats = ['_' => 'messages.chats', 'chats' => [Chat, Chat]]; +``` + + +Or, if you're into Lua: + +```lua +messages.chats={_='messages.chats', chats={Chat}} + +``` + + diff --git a/old_docs/API_docs_v46/constructors/messages.dhConfig.md b/old_docs/API_docs_v46/constructors/messages.dhConfig.md new file mode 100644 index 00000000..58344f64 --- /dev/null +++ b/old_docs/API_docs_v46/constructors/messages.dhConfig.md @@ -0,0 +1,41 @@ +--- +title: messages.dhConfig +description: New set of configuring parameters. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dhConfig +[Back to constructors index](index.md) + + + +New set of configuring parameters. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|g|[int](../types/int.md) | Yes|New value **prime**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| +|p|[bytes](../types/bytes.md) | Yes|New value **primitive root**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| +|version|[int](../types/int.md) | Yes|Vestion of set of parameters| +|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| + + + +### Type: [messages.DhConfig](../types/messages.DhConfig.md) + + +### Example: + +```php +$messages.dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'version' => int, 'random' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +messages.dhConfig={_='messages.dhConfig', g=int, p='bytes', version=int, random='bytes'} + +``` + + diff --git a/old_docs/API_docs_v46/constructors/messages.dhConfigNotModified.md b/old_docs/API_docs_v46/constructors/messages.dhConfigNotModified.md new file mode 100644 index 00000000..a9a95389 --- /dev/null +++ b/old_docs/API_docs_v46/constructors/messages.dhConfigNotModified.md @@ -0,0 +1,38 @@ +--- +title: messages.dhConfigNotModified +description: Configuring parameters did not change. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dhConfigNotModified +[Back to constructors index](index.md) + + + +Configuring parameters did not change. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| + + + +### Type: [messages.DhConfig](../types/messages.DhConfig.md) + + +### Example: + +```php +$messages.dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +messages.dhConfigNotModified={_='messages.dhConfigNotModified', random='bytes'} + +``` + + diff --git a/old_docs/API_docs_v46/constructors/messages.dialogs.md b/old_docs/API_docs_v46/constructors/messages.dialogs.md new file mode 100644 index 00000000..a72eabce --- /dev/null +++ b/old_docs/API_docs_v46/constructors/messages.dialogs.md @@ -0,0 +1,41 @@ +--- +title: messages.dialogs +description: Full list of chats with messages and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dialogs +[Back to constructors index](index.md) + + + +Full list of chats with messages and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Dialogs](../types/messages.Dialogs.md) + + +### Example: + +```php +$messages.dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.dialogs={_='messages.dialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v46/constructors/messages.dialogsSlice.md b/old_docs/API_docs_v46/constructors/messages.dialogsSlice.md new file mode 100644 index 00000000..26227d2c --- /dev/null +++ b/old_docs/API_docs_v46/constructors/messages.dialogsSlice.md @@ -0,0 +1,42 @@ +--- +title: messages.dialogsSlice +description: Incomplete list of dialogs with messages and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dialogsSlice +[Back to constructors index](index.md) + + + +Incomplete list of dialogs with messages and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of dialogs| +|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Dialogs](../types/messages.Dialogs.md) + + +### Example: + +```php +$messages.dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.dialogsSlice={_='messages.dialogsSlice', count=int, dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v46/constructors/messages.foundGifs.md b/old_docs/API_docs_v46/constructors/messages.foundGifs.md new file mode 100644 index 00000000..c75e36f9 --- /dev/null +++ b/old_docs/API_docs_v46/constructors/messages.foundGifs.md @@ -0,0 +1,39 @@ +--- +title: messages.foundGifs +description: Found GIFs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.foundGifs +[Back to constructors index](index.md) + + + +Found GIFs + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|next\_offset|[int](../types/int.md) | Yes|Next offset to use when trying to [load more results](../methods/messages.searchGifs.md)| +|results|Array of [FoundGif](../types/FoundGif.md) | Yes|Results| + + + +### Type: [messages.FoundGifs](../types/messages.FoundGifs.md) + + +### Example: + +```php +$messages.foundGifs = ['_' => 'messages.foundGifs', 'next_offset' => int, 'results' => [FoundGif, FoundGif]]; +``` + + +Or, if you're into Lua: + +```lua +messages.foundGifs={_='messages.foundGifs', next_offset=int, results={FoundGif}} + +``` + + diff --git a/old_docs/API_docs_v46/constructors/messages.messages.md b/old_docs/API_docs_v46/constructors/messages.messages.md new file mode 100644 index 00000000..3af71dca --- /dev/null +++ b/old_docs/API_docs_v46/constructors/messages.messages.md @@ -0,0 +1,40 @@ +--- +title: messages.messages +description: Full list of messages with auxilary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.messages +[Back to constructors index](index.md) + + + +Full list of messages with auxilary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Messages](../types/messages.Messages.md) + + +### Example: + +```php +$messages.messages = ['_' => 'messages.messages', 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.messages={_='messages.messages', messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v46/constructors/messages.messagesSlice.md b/old_docs/API_docs_v46/constructors/messages.messagesSlice.md new file mode 100644 index 00000000..2fe91df0 --- /dev/null +++ b/old_docs/API_docs_v46/constructors/messages.messagesSlice.md @@ -0,0 +1,41 @@ +--- +title: messages.messagesSlice +description: Incomplete list of messages and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.messagesSlice +[Back to constructors index](index.md) + + + +Incomplete list of messages and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of messages in the list| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Messages](../types/messages.Messages.md) + + +### Example: + +```php +$messages.messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.messagesSlice={_='messages.messagesSlice', count=int, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v46/constructors/messages.savedGifs.md b/old_docs/API_docs_v46/constructors/messages.savedGifs.md new file mode 100644 index 00000000..c82929a3 --- /dev/null +++ b/old_docs/API_docs_v46/constructors/messages.savedGifs.md @@ -0,0 +1,39 @@ +--- +title: messages.savedGifs +description: Saved gifs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.savedGifs +[Back to constructors index](index.md) + + + +Saved gifs + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|gifs|Array of [Document](../types/Document.md) | Yes|Gifs| + + + +### Type: [messages.SavedGifs](../types/messages.SavedGifs.md) + + +### Example: + +```php +$messages.savedGifs = ['_' => 'messages.savedGifs', 'hash' => int, 'gifs' => [Document, Document]]; +``` + + +Or, if you're into Lua: + +```lua +messages.savedGifs={_='messages.savedGifs', hash=int, gifs={Document}} + +``` + + diff --git a/old_docs/API_docs_v46/constructors/messages.savedGifsNotModified.md b/old_docs/API_docs_v46/constructors/messages.savedGifsNotModified.md new file mode 100644 index 00000000..0fbccacc --- /dev/null +++ b/old_docs/API_docs_v46/constructors/messages.savedGifsNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.savedGifsNotModified +description: No new saved gifs were found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.savedGifsNotModified +[Back to constructors index](index.md) + + + +No new saved gifs were found + + + + +### Type: [messages.SavedGifs](../types/messages.SavedGifs.md) + + +### Example: + +```php +$messages.savedGifsNotModified = ['_' => 'messages.savedGifsNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.savedGifsNotModified={_='messages.savedGifsNotModified'} + +``` + + diff --git a/old_docs/API_docs_v46/constructors/messages.sentEncryptedFile.md b/old_docs/API_docs_v46/constructors/messages.sentEncryptedFile.md new file mode 100644 index 00000000..1f0e43c6 --- /dev/null +++ b/old_docs/API_docs_v46/constructors/messages.sentEncryptedFile.md @@ -0,0 +1,39 @@ +--- +title: messages.sentEncryptedFile +description: Message with a file enclosure sent to a protected chat +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.sentEncryptedFile +[Back to constructors index](index.md) + + + +Message with a file enclosure sent to a protected chat + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Sending date| +|file|[EncryptedFile](../types/EncryptedFile.md) | Optional|Attached file| + + + +### Type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) + + +### Example: + +```php +$messages.sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile]; +``` + + +Or, if you're into Lua: + +```lua +messages.sentEncryptedFile={_='messages.sentEncryptedFile', date=int, file=EncryptedFile} + +``` + + diff --git a/old_docs/API_docs_v46/constructors/messages.sentEncryptedMessage.md b/old_docs/API_docs_v46/constructors/messages.sentEncryptedMessage.md new file mode 100644 index 00000000..3d5eb40c --- /dev/null +++ b/old_docs/API_docs_v46/constructors/messages.sentEncryptedMessage.md @@ -0,0 +1,38 @@ +--- +title: messages.sentEncryptedMessage +description: Message without file attachemts sent to an encrypted file. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.sentEncryptedMessage +[Back to constructors index](index.md) + + + +Message without file attachemts sent to an encrypted file. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Date of sending| + + + +### Type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) + + +### Example: + +```php +$messages.sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.sentEncryptedMessage={_='messages.sentEncryptedMessage', date=int} + +``` + + diff --git a/old_docs/API_docs_v46/constructors/messages.stickerSet.md b/old_docs/API_docs_v46/constructors/messages.stickerSet.md new file mode 100644 index 00000000..fbc154d0 --- /dev/null +++ b/old_docs/API_docs_v46/constructors/messages.stickerSet.md @@ -0,0 +1,40 @@ +--- +title: messages.stickerSet +description: Stickerset and stickers inside it +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickerSet +[Back to constructors index](index.md) + + + +Stickerset and stickers inside it + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|set|[StickerSet](../types/StickerSet.md) | Yes|The stickerset| +|packs|Array of [StickerPack](../types/StickerPack.md) | Yes|Packs| +|documents|Array of [Document](../types/Document.md) | Yes|Documents| + + + +### Type: [messages.StickerSet](../types/messages.StickerSet.md) + + +### Example: + +```php +$messages.stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'packs' => [StickerPack, StickerPack], 'documents' => [Document, Document]]; +``` + + +Or, if you're into Lua: + +```lua +messages.stickerSet={_='messages.stickerSet', set=StickerSet, packs={StickerPack}, documents={Document}} + +``` + + diff --git a/old_docs/API_docs_v46/constructors/messages.stickers.md b/old_docs/API_docs_v46/constructors/messages.stickers.md new file mode 100644 index 00000000..310b64b0 --- /dev/null +++ b/old_docs/API_docs_v46/constructors/messages.stickers.md @@ -0,0 +1,39 @@ +--- +title: messages.stickers +description: Found stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickers +[Back to constructors index](index.md) + + + +Found stickers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[string](../types/string.md) | Yes|Hash| +|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| + + + +### Type: [messages.Stickers](../types/messages.Stickers.md) + + +### Example: + +```php +$messages.stickers = ['_' => 'messages.stickers', 'hash' => 'string', 'stickers' => [Document, Document]]; +``` + + +Or, if you're into Lua: + +```lua +messages.stickers={_='messages.stickers', hash='string', stickers={Document}} + +``` + + diff --git a/old_docs/API_docs_v46/constructors/messages.stickersNotModified.md b/old_docs/API_docs_v46/constructors/messages.stickersNotModified.md new file mode 100644 index 00000000..e8c7766c --- /dev/null +++ b/old_docs/API_docs_v46/constructors/messages.stickersNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.stickersNotModified +description: No new stickers were found for the given query +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickersNotModified +[Back to constructors index](index.md) + + + +No new stickers were found for the given query + + + + +### Type: [messages.Stickers](../types/messages.Stickers.md) + + +### Example: + +```php +$messages.stickersNotModified = ['_' => 'messages.stickersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.stickersNotModified={_='messages.stickersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v46/constructors/messages_affectedHistory.md b/old_docs/API_docs_v46/constructors/messages_affectedHistory.md deleted file mode 100644 index 449a7e3f..00000000 --- a/old_docs/API_docs_v46/constructors/messages_affectedHistory.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.affectedHistory -description: Affected part of communication history with the user or in a chat. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.affectedHistory -[Back to constructors index](index.md) - - - -Affected part of communication history with the user or in a chat. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| -|pts\_count|[int](../types/int.md) | Yes|Number of affected events| -|offset|[int](../types/int.md) | Yes|If a parameter contains positive value, it is necessary to repeat the method call using the given value; during the proceeding of all the history the value itself shall gradually decrease| - - - -### Type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) - - -### Example: - -```php -$messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_affectedHistory={_='messages.affectedHistory', pts=int, pts_count=int, offset=int} - -``` - - diff --git a/old_docs/API_docs_v46/constructors/messages_affectedMessages.md b/old_docs/API_docs_v46/constructors/messages_affectedMessages.md deleted file mode 100644 index 86760581..00000000 --- a/old_docs/API_docs_v46/constructors/messages_affectedMessages.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.affectedMessages -description: Events affected by operation -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.affectedMessages -[Back to constructors index](index.md) - - - -Events affected by operation - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|[Event count after generation](https://core.telegram.org/api/updates)| -|pts\_count|[int](../types/int.md) | Yes|[Number of events that were generated](https://core.telegram.org/api/updates)| - - - -### Type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) - - -### Example: - -```php -$messages_affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_affectedMessages={_='messages.affectedMessages', pts=int, pts_count=int} - -``` - - diff --git a/old_docs/API_docs_v46/constructors/messages_allStickers.md b/old_docs/API_docs_v46/constructors/messages_allStickers.md deleted file mode 100644 index 2e64f46e..00000000 --- a/old_docs/API_docs_v46/constructors/messages_allStickers.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.allStickers -description: Info about all installed stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.allStickers -[Back to constructors index](index.md) - - - -Info about all installed stickers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|sets|Array of [StickerSet](../types/StickerSet.md) | Yes|Sets| - - - -### Type: [messages\_AllStickers](../types/messages_AllStickers.md) - - -### Example: - -```php -$messages_allStickers = ['_' => 'messages.allStickers', 'hash' => int, 'sets' => [StickerSet, StickerSet]]; -``` - - -Or, if you're into Lua: - -```lua -messages_allStickers={_='messages.allStickers', hash=int, sets={StickerSet}} - -``` - - diff --git a/old_docs/API_docs_v46/constructors/messages_allStickersNotModified.md b/old_docs/API_docs_v46/constructors/messages_allStickersNotModified.md deleted file mode 100644 index c4da85ab..00000000 --- a/old_docs/API_docs_v46/constructors/messages_allStickersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.allStickersNotModified -description: Info about all installed stickers hasn't changed -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.allStickersNotModified -[Back to constructors index](index.md) - - - -Info about all installed stickers hasn't changed - - - - -### Type: [messages\_AllStickers](../types/messages_AllStickers.md) - - -### Example: - -```php -$messages_allStickersNotModified = ['_' => 'messages.allStickersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_allStickersNotModified={_='messages.allStickersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v46/constructors/messages_botResults.md b/old_docs/API_docs_v46/constructors/messages_botResults.md deleted file mode 100644 index 3314ffe8..00000000 --- a/old_docs/API_docs_v46/constructors/messages_botResults.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: messages.botResults -description: Result of a query to an inline bot -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.botResults -[Back to constructors index](index.md) - - - -Result of a query to an inline bot - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|gallery|[Bool](../types/Bool.md) | Optional|Whether the result is a picture gallery| -|query\_id|[long](../types/long.md) | Yes|Query ID| -|next\_offset|[string](../types/string.md) | Optional|The next offset to use when navigating through results| -|results|Array of [BotInlineResult](../types/BotInlineResult.md) | Yes|Results| - - - -### Type: [messages\_BotResults](../types/messages_BotResults.md) - - -### Example: - -```php -$messages_botResults = ['_' => 'messages.botResults', 'gallery' => Bool, 'query_id' => long, 'next_offset' => 'string', 'results' => [BotInlineResult, BotInlineResult]]; -``` - - -Or, if you're into Lua: - -```lua -messages_botResults={_='messages.botResults', gallery=Bool, query_id=long, next_offset='string', results={BotInlineResult}} - -``` - - diff --git a/old_docs/API_docs_v46/constructors/messages_channelMessages.md b/old_docs/API_docs_v46/constructors/messages_channelMessages.md deleted file mode 100644 index f59dea09..00000000 --- a/old_docs/API_docs_v46/constructors/messages_channelMessages.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: messages.channelMessages -description: Channel messages -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.channelMessages -[Back to constructors index](index.md) - - - -Channel messages - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|[Event count after generation](https://core.telegram.org/api/updates)| -|count|[int](../types/int.md) | Yes|Total number of results were found server-side (may not be all included here)| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|collapsed|Array of [MessageGroup](../types/MessageGroup.md) | Optional|Collapsed| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Messages](../types/messages_Messages.md) - - -### Example: - -```php -$messages_channelMessages = ['_' => 'messages.channelMessages', 'pts' => int, 'count' => int, 'messages' => [Message, Message], 'collapsed' => [MessageGroup, MessageGroup], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_channelMessages={_='messages.channelMessages', pts=int, count=int, messages={Message}, collapsed={MessageGroup}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v46/constructors/messages_chatFull.md b/old_docs/API_docs_v46/constructors/messages_chatFull.md deleted file mode 100644 index 02f1acdf..00000000 --- a/old_docs/API_docs_v46/constructors/messages_chatFull.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.chatFull -description: Extended info on chat and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.chatFull -[Back to constructors index](index.md) - - - -Extended info on chat and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|full\_chat|[ChatFull](../types/ChatFull.md) | Yes|Extended info on a chat| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_ChatFull](../types/messages_ChatFull.md) - - -### Example: - -```php -$messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_chatFull={_='messages.chatFull', full_chat=ChatFull, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v46/constructors/messages_chats.md b/old_docs/API_docs_v46/constructors/messages_chats.md deleted file mode 100644 index ef3690a9..00000000 --- a/old_docs/API_docs_v46/constructors/messages_chats.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.chats -description: List of chats with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.chats -[Back to constructors index](index.md) - - - -List of chats with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| - - - -### Type: [messages\_Chats](../types/messages_Chats.md) - - -### Example: - -```php -$messages_chats = ['_' => 'messages.chats', 'chats' => [Chat, Chat]]; -``` - - -Or, if you're into Lua: - -```lua -messages_chats={_='messages.chats', chats={Chat}} - -``` - - diff --git a/old_docs/API_docs_v46/constructors/messages_dhConfig.md b/old_docs/API_docs_v46/constructors/messages_dhConfig.md deleted file mode 100644 index 42c2feb1..00000000 --- a/old_docs/API_docs_v46/constructors/messages_dhConfig.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: messages.dhConfig -description: New set of configuring parameters. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dhConfig -[Back to constructors index](index.md) - - - -New set of configuring parameters. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|g|[int](../types/int.md) | Yes|New value **prime**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| -|p|[bytes](../types/bytes.md) | Yes|New value **primitive root**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| -|version|[int](../types/int.md) | Yes|Vestion of set of parameters| -|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| - - - -### Type: [messages\_DhConfig](../types/messages_DhConfig.md) - - -### Example: - -```php -$messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'version' => int, 'random' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -messages_dhConfig={_='messages.dhConfig', g=int, p='bytes', version=int, random='bytes'} - -``` - - diff --git a/old_docs/API_docs_v46/constructors/messages_dhConfigNotModified.md b/old_docs/API_docs_v46/constructors/messages_dhConfigNotModified.md deleted file mode 100644 index 5bf64230..00000000 --- a/old_docs/API_docs_v46/constructors/messages_dhConfigNotModified.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.dhConfigNotModified -description: Configuring parameters did not change. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dhConfigNotModified -[Back to constructors index](index.md) - - - -Configuring parameters did not change. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| - - - -### Type: [messages\_DhConfig](../types/messages_DhConfig.md) - - -### Example: - -```php -$messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -messages_dhConfigNotModified={_='messages.dhConfigNotModified', random='bytes'} - -``` - - diff --git a/old_docs/API_docs_v46/constructors/messages_dialogs.md b/old_docs/API_docs_v46/constructors/messages_dialogs.md deleted file mode 100644 index e6a431b4..00000000 --- a/old_docs/API_docs_v46/constructors/messages_dialogs.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: messages.dialogs -description: Full list of chats with messages and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dialogs -[Back to constructors index](index.md) - - - -Full list of chats with messages and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Dialogs](../types/messages_Dialogs.md) - - -### Example: - -```php -$messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_dialogs={_='messages.dialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v46/constructors/messages_dialogsSlice.md b/old_docs/API_docs_v46/constructors/messages_dialogsSlice.md deleted file mode 100644 index f183b9a8..00000000 --- a/old_docs/API_docs_v46/constructors/messages_dialogsSlice.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: messages.dialogsSlice -description: Incomplete list of dialogs with messages and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dialogsSlice -[Back to constructors index](index.md) - - - -Incomplete list of dialogs with messages and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of dialogs| -|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Dialogs](../types/messages_Dialogs.md) - - -### Example: - -```php -$messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_dialogsSlice={_='messages.dialogsSlice', count=int, dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v46/constructors/messages_foundGifs.md b/old_docs/API_docs_v46/constructors/messages_foundGifs.md deleted file mode 100644 index eb3603ca..00000000 --- a/old_docs/API_docs_v46/constructors/messages_foundGifs.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.foundGifs -description: Found GIFs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.foundGifs -[Back to constructors index](index.md) - - - -Found GIFs - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|next\_offset|[int](../types/int.md) | Yes|Next offset to use when trying to [load more results](../methods/messages.searchGifs.md)| -|results|Array of [FoundGif](../types/FoundGif.md) | Yes|Results| - - - -### Type: [messages\_FoundGifs](../types/messages_FoundGifs.md) - - -### Example: - -```php -$messages_foundGifs = ['_' => 'messages.foundGifs', 'next_offset' => int, 'results' => [FoundGif, FoundGif]]; -``` - - -Or, if you're into Lua: - -```lua -messages_foundGifs={_='messages.foundGifs', next_offset=int, results={FoundGif}} - -``` - - diff --git a/old_docs/API_docs_v46/constructors/messages_messages.md b/old_docs/API_docs_v46/constructors/messages_messages.md deleted file mode 100644 index 3e369e1a..00000000 --- a/old_docs/API_docs_v46/constructors/messages_messages.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.messages -description: Full list of messages with auxilary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.messages -[Back to constructors index](index.md) - - - -Full list of messages with auxilary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Messages](../types/messages_Messages.md) - - -### Example: - -```php -$messages_messages = ['_' => 'messages.messages', 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_messages={_='messages.messages', messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v46/constructors/messages_messagesSlice.md b/old_docs/API_docs_v46/constructors/messages_messagesSlice.md deleted file mode 100644 index f9b8dc18..00000000 --- a/old_docs/API_docs_v46/constructors/messages_messagesSlice.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: messages.messagesSlice -description: Incomplete list of messages and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.messagesSlice -[Back to constructors index](index.md) - - - -Incomplete list of messages and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of messages in the list| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Messages](../types/messages_Messages.md) - - -### Example: - -```php -$messages_messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_messagesSlice={_='messages.messagesSlice', count=int, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v46/constructors/messages_savedGifs.md b/old_docs/API_docs_v46/constructors/messages_savedGifs.md deleted file mode 100644 index ed3e8ea3..00000000 --- a/old_docs/API_docs_v46/constructors/messages_savedGifs.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.savedGifs -description: Saved gifs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.savedGifs -[Back to constructors index](index.md) - - - -Saved gifs - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|gifs|Array of [Document](../types/Document.md) | Yes|Gifs| - - - -### Type: [messages\_SavedGifs](../types/messages_SavedGifs.md) - - -### Example: - -```php -$messages_savedGifs = ['_' => 'messages.savedGifs', 'hash' => int, 'gifs' => [Document, Document]]; -``` - - -Or, if you're into Lua: - -```lua -messages_savedGifs={_='messages.savedGifs', hash=int, gifs={Document}} - -``` - - diff --git a/old_docs/API_docs_v46/constructors/messages_savedGifsNotModified.md b/old_docs/API_docs_v46/constructors/messages_savedGifsNotModified.md deleted file mode 100644 index 0f843a0c..00000000 --- a/old_docs/API_docs_v46/constructors/messages_savedGifsNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.savedGifsNotModified -description: No new saved gifs were found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.savedGifsNotModified -[Back to constructors index](index.md) - - - -No new saved gifs were found - - - - -### Type: [messages\_SavedGifs](../types/messages_SavedGifs.md) - - -### Example: - -```php -$messages_savedGifsNotModified = ['_' => 'messages.savedGifsNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_savedGifsNotModified={_='messages.savedGifsNotModified'} - -``` - - diff --git a/old_docs/API_docs_v46/constructors/messages_sentEncryptedFile.md b/old_docs/API_docs_v46/constructors/messages_sentEncryptedFile.md deleted file mode 100644 index fdc2a11e..00000000 --- a/old_docs/API_docs_v46/constructors/messages_sentEncryptedFile.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.sentEncryptedFile -description: Message with a file enclosure sent to a protected chat -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.sentEncryptedFile -[Back to constructors index](index.md) - - - -Message with a file enclosure sent to a protected chat - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Sending date| -|file|[EncryptedFile](../types/EncryptedFile.md) | Optional|Attached file| - - - -### Type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) - - -### Example: - -```php -$messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile]; -``` - - -Or, if you're into Lua: - -```lua -messages_sentEncryptedFile={_='messages.sentEncryptedFile', date=int, file=EncryptedFile} - -``` - - diff --git a/old_docs/API_docs_v46/constructors/messages_sentEncryptedMessage.md b/old_docs/API_docs_v46/constructors/messages_sentEncryptedMessage.md deleted file mode 100644 index 36b2bbff..00000000 --- a/old_docs/API_docs_v46/constructors/messages_sentEncryptedMessage.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.sentEncryptedMessage -description: Message without file attachemts sent to an encrypted file. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.sentEncryptedMessage -[Back to constructors index](index.md) - - - -Message without file attachemts sent to an encrypted file. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Date of sending| - - - -### Type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) - - -### Example: - -```php -$messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_sentEncryptedMessage={_='messages.sentEncryptedMessage', date=int} - -``` - - diff --git a/old_docs/API_docs_v46/constructors/messages_stickerSet.md b/old_docs/API_docs_v46/constructors/messages_stickerSet.md deleted file mode 100644 index 127191de..00000000 --- a/old_docs/API_docs_v46/constructors/messages_stickerSet.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.stickerSet -description: Stickerset and stickers inside it -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickerSet -[Back to constructors index](index.md) - - - -Stickerset and stickers inside it - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|set|[StickerSet](../types/StickerSet.md) | Yes|The stickerset| -|packs|Array of [StickerPack](../types/StickerPack.md) | Yes|Packs| -|documents|Array of [Document](../types/Document.md) | Yes|Documents| - - - -### Type: [messages\_StickerSet](../types/messages_StickerSet.md) - - -### Example: - -```php -$messages_stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'packs' => [StickerPack, StickerPack], 'documents' => [Document, Document]]; -``` - - -Or, if you're into Lua: - -```lua -messages_stickerSet={_='messages.stickerSet', set=StickerSet, packs={StickerPack}, documents={Document}} - -``` - - diff --git a/old_docs/API_docs_v46/constructors/messages_stickers.md b/old_docs/API_docs_v46/constructors/messages_stickers.md deleted file mode 100644 index 1c007df2..00000000 --- a/old_docs/API_docs_v46/constructors/messages_stickers.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.stickers -description: Found stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickers -[Back to constructors index](index.md) - - - -Found stickers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[string](../types/string.md) | Yes|Hash| -|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| - - - -### Type: [messages\_Stickers](../types/messages_Stickers.md) - - -### Example: - -```php -$messages_stickers = ['_' => 'messages.stickers', 'hash' => 'string', 'stickers' => [Document, Document]]; -``` - - -Or, if you're into Lua: - -```lua -messages_stickers={_='messages.stickers', hash='string', stickers={Document}} - -``` - - diff --git a/old_docs/API_docs_v46/constructors/messages_stickersNotModified.md b/old_docs/API_docs_v46/constructors/messages_stickersNotModified.md deleted file mode 100644 index 3d434a79..00000000 --- a/old_docs/API_docs_v46/constructors/messages_stickersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.stickersNotModified -description: No new stickers were found for the given query -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickersNotModified -[Back to constructors index](index.md) - - - -No new stickers were found for the given query - - - - -### Type: [messages\_Stickers](../types/messages_Stickers.md) - - -### Example: - -```php -$messages_stickersNotModified = ['_' => 'messages.stickersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_stickersNotModified={_='messages.stickersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v46/constructors/photos.photo.md b/old_docs/API_docs_v46/constructors/photos.photo.md new file mode 100644 index 00000000..43d3efc7 --- /dev/null +++ b/old_docs/API_docs_v46/constructors/photos.photo.md @@ -0,0 +1,39 @@ +--- +title: photos.photo +description: Photo with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: photos.photo +[Back to constructors index](index.md) + + + +Photo with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|photo|[Photo](../types/Photo.md) | Optional|Photo| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [photos.Photo](../types/photos.Photo.md) + + +### Example: + +```php +$photos.photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +photos.photo={_='photos.photo', photo=Photo, users={User}} + +``` + + diff --git a/old_docs/API_docs_v46/constructors/photos.photos.md b/old_docs/API_docs_v46/constructors/photos.photos.md new file mode 100644 index 00000000..901a9693 --- /dev/null +++ b/old_docs/API_docs_v46/constructors/photos.photos.md @@ -0,0 +1,39 @@ +--- +title: photos.photos +description: Full list of photos with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: photos.photos +[Back to constructors index](index.md) + + + +Full list of photos with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [photos.Photos](../types/photos.Photos.md) + + +### Example: + +```php +$photos.photos = ['_' => 'photos.photos', 'photos' => [Photo, Photo], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +photos.photos={_='photos.photos', photos={Photo}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v46/constructors/photos.photosSlice.md b/old_docs/API_docs_v46/constructors/photos.photosSlice.md new file mode 100644 index 00000000..2cca3546 --- /dev/null +++ b/old_docs/API_docs_v46/constructors/photos.photosSlice.md @@ -0,0 +1,40 @@ +--- +title: photos.photosSlice +description: Incomplete list of photos with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: photos.photosSlice +[Back to constructors index](index.md) + + + +Incomplete list of photos with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of photos| +|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [photos.Photos](../types/photos.Photos.md) + + +### Example: + +```php +$photos.photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo, Photo], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +photos.photosSlice={_='photos.photosSlice', count=int, photos={Photo}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v46/constructors/photos_photo.md b/old_docs/API_docs_v46/constructors/photos_photo.md deleted file mode 100644 index d5ad61d9..00000000 --- a/old_docs/API_docs_v46/constructors/photos_photo.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: photos.photo -description: Photo with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: photos.photo -[Back to constructors index](index.md) - - - -Photo with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|photo|[Photo](../types/Photo.md) | Optional|Photo| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [photos\_Photo](../types/photos_Photo.md) - - -### Example: - -```php -$photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -photos_photo={_='photos.photo', photo=Photo, users={User}} - -``` - - diff --git a/old_docs/API_docs_v46/constructors/photos_photos.md b/old_docs/API_docs_v46/constructors/photos_photos.md deleted file mode 100644 index 6ae5d048..00000000 --- a/old_docs/API_docs_v46/constructors/photos_photos.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: photos.photos -description: Full list of photos with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: photos.photos -[Back to constructors index](index.md) - - - -Full list of photos with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [photos\_Photos](../types/photos_Photos.md) - - -### Example: - -```php -$photos_photos = ['_' => 'photos.photos', 'photos' => [Photo, Photo], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -photos_photos={_='photos.photos', photos={Photo}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v46/constructors/photos_photosSlice.md b/old_docs/API_docs_v46/constructors/photos_photosSlice.md deleted file mode 100644 index 5c465c21..00000000 --- a/old_docs/API_docs_v46/constructors/photos_photosSlice.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: photos.photosSlice -description: Incomplete list of photos with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: photos.photosSlice -[Back to constructors index](index.md) - - - -Incomplete list of photos with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of photos| -|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [photos\_Photos](../types/photos_Photos.md) - - -### Example: - -```php -$photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo, Photo], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -photos_photosSlice={_='photos.photosSlice', count=int, photos={Photo}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v46/constructors/storage.fileGif.md b/old_docs/API_docs_v46/constructors/storage.fileGif.md new file mode 100644 index 00000000..8193bd25 --- /dev/null +++ b/old_docs/API_docs_v46/constructors/storage.fileGif.md @@ -0,0 +1,33 @@ +--- +title: storage.fileGif +description: GIF image. MIME type: `image/gif`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileGif +[Back to constructors index](index.md) + + + +GIF image. MIME type: `image/gif`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileGif = ['_' => 'storage.fileGif']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileGif={_='storage.fileGif'} + +``` + + diff --git a/old_docs/API_docs_v46/constructors/storage.fileJpeg.md b/old_docs/API_docs_v46/constructors/storage.fileJpeg.md new file mode 100644 index 00000000..7f125963 --- /dev/null +++ b/old_docs/API_docs_v46/constructors/storage.fileJpeg.md @@ -0,0 +1,33 @@ +--- +title: storage.fileJpeg +description: JPEG image. MIME type: `image/jpeg`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileJpeg +[Back to constructors index](index.md) + + + +JPEG image. MIME type: `image/jpeg`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileJpeg = ['_' => 'storage.fileJpeg']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileJpeg={_='storage.fileJpeg'} + +``` + + diff --git a/old_docs/API_docs_v46/constructors/storage.fileMov.md b/old_docs/API_docs_v46/constructors/storage.fileMov.md new file mode 100644 index 00000000..cb3742e0 --- /dev/null +++ b/old_docs/API_docs_v46/constructors/storage.fileMov.md @@ -0,0 +1,33 @@ +--- +title: storage.fileMov +description: Quicktime video. MIME type: `video/quicktime`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileMov +[Back to constructors index](index.md) + + + +Quicktime video. MIME type: `video/quicktime`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileMov = ['_' => 'storage.fileMov']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileMov={_='storage.fileMov'} + +``` + + diff --git a/old_docs/API_docs_v46/constructors/storage.fileMp3.md b/old_docs/API_docs_v46/constructors/storage.fileMp3.md new file mode 100644 index 00000000..617f2d39 --- /dev/null +++ b/old_docs/API_docs_v46/constructors/storage.fileMp3.md @@ -0,0 +1,33 @@ +--- +title: storage.fileMp3 +description: Mp3 audio. MIME type: `audio/mpeg`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileMp3 +[Back to constructors index](index.md) + + + +Mp3 audio. MIME type: `audio/mpeg`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileMp3 = ['_' => 'storage.fileMp3']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileMp3={_='storage.fileMp3'} + +``` + + diff --git a/old_docs/API_docs_v46/constructors/storage.fileMp4.md b/old_docs/API_docs_v46/constructors/storage.fileMp4.md new file mode 100644 index 00000000..37038176 --- /dev/null +++ b/old_docs/API_docs_v46/constructors/storage.fileMp4.md @@ -0,0 +1,33 @@ +--- +title: storage.fileMp4 +description: MPEG-4 video. MIME type: `video/mp4`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileMp4 +[Back to constructors index](index.md) + + + +MPEG-4 video. MIME type: `video/mp4`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileMp4 = ['_' => 'storage.fileMp4']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileMp4={_='storage.fileMp4'} + +``` + + diff --git a/old_docs/API_docs_v46/constructors/storage.filePartial.md b/old_docs/API_docs_v46/constructors/storage.filePartial.md new file mode 100644 index 00000000..98779e71 --- /dev/null +++ b/old_docs/API_docs_v46/constructors/storage.filePartial.md @@ -0,0 +1,33 @@ +--- +title: storage.filePartial +description: Part of a bigger file. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.filePartial +[Back to constructors index](index.md) + + + +Part of a bigger file. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.filePartial = ['_' => 'storage.filePartial']; +``` + + +Or, if you're into Lua: + +```lua +storage.filePartial={_='storage.filePartial'} + +``` + + diff --git a/old_docs/API_docs_v46/constructors/storage.filePdf.md b/old_docs/API_docs_v46/constructors/storage.filePdf.md new file mode 100644 index 00000000..136c0614 --- /dev/null +++ b/old_docs/API_docs_v46/constructors/storage.filePdf.md @@ -0,0 +1,33 @@ +--- +title: storage.filePdf +description: PDF document image. MIME type: `application/pdf`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.filePdf +[Back to constructors index](index.md) + + + +PDF document image. MIME type: `application/pdf`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.filePdf = ['_' => 'storage.filePdf']; +``` + + +Or, if you're into Lua: + +```lua +storage.filePdf={_='storage.filePdf'} + +``` + + diff --git a/old_docs/API_docs_v46/constructors/storage.filePng.md b/old_docs/API_docs_v46/constructors/storage.filePng.md new file mode 100644 index 00000000..db01ce0e --- /dev/null +++ b/old_docs/API_docs_v46/constructors/storage.filePng.md @@ -0,0 +1,33 @@ +--- +title: storage.filePng +description: PNG image. MIME type: `image/png`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.filePng +[Back to constructors index](index.md) + + + +PNG image. MIME type: `image/png`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.filePng = ['_' => 'storage.filePng']; +``` + + +Or, if you're into Lua: + +```lua +storage.filePng={_='storage.filePng'} + +``` + + diff --git a/old_docs/API_docs_v46/constructors/storage.fileUnknown.md b/old_docs/API_docs_v46/constructors/storage.fileUnknown.md new file mode 100644 index 00000000..26f0a5ae --- /dev/null +++ b/old_docs/API_docs_v46/constructors/storage.fileUnknown.md @@ -0,0 +1,33 @@ +--- +title: storage.fileUnknown +description: Unknown type. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileUnknown +[Back to constructors index](index.md) + + + +Unknown type. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileUnknown = ['_' => 'storage.fileUnknown']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileUnknown={_='storage.fileUnknown'} + +``` + + diff --git a/old_docs/API_docs_v46/constructors/storage.fileWebp.md b/old_docs/API_docs_v46/constructors/storage.fileWebp.md new file mode 100644 index 00000000..63c9ded1 --- /dev/null +++ b/old_docs/API_docs_v46/constructors/storage.fileWebp.md @@ -0,0 +1,33 @@ +--- +title: storage.fileWebp +description: WEBP image. MIME type: `image/webp`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileWebp +[Back to constructors index](index.md) + + + +WEBP image. MIME type: `image/webp`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileWebp = ['_' => 'storage.fileWebp']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileWebp={_='storage.fileWebp'} + +``` + + diff --git a/old_docs/API_docs_v46/constructors/storage_fileGif.md b/old_docs/API_docs_v46/constructors/storage_fileGif.md deleted file mode 100644 index 218c7491..00000000 --- a/old_docs/API_docs_v46/constructors/storage_fileGif.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileGif -description: GIF image. MIME type: `image/gif`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileGif -[Back to constructors index](index.md) - - - -GIF image. MIME type: `image/gif`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileGif = ['_' => 'storage.fileGif']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileGif={_='storage.fileGif'} - -``` - - diff --git a/old_docs/API_docs_v46/constructors/storage_fileJpeg.md b/old_docs/API_docs_v46/constructors/storage_fileJpeg.md deleted file mode 100644 index 925531cd..00000000 --- a/old_docs/API_docs_v46/constructors/storage_fileJpeg.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileJpeg -description: JPEG image. MIME type: `image/jpeg`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileJpeg -[Back to constructors index](index.md) - - - -JPEG image. MIME type: `image/jpeg`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileJpeg = ['_' => 'storage.fileJpeg']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileJpeg={_='storage.fileJpeg'} - -``` - - diff --git a/old_docs/API_docs_v46/constructors/storage_fileMov.md b/old_docs/API_docs_v46/constructors/storage_fileMov.md deleted file mode 100644 index eaf2a6ff..00000000 --- a/old_docs/API_docs_v46/constructors/storage_fileMov.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileMov -description: Quicktime video. MIME type: `video/quicktime`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileMov -[Back to constructors index](index.md) - - - -Quicktime video. MIME type: `video/quicktime`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileMov = ['_' => 'storage.fileMov']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileMov={_='storage.fileMov'} - -``` - - diff --git a/old_docs/API_docs_v46/constructors/storage_fileMp3.md b/old_docs/API_docs_v46/constructors/storage_fileMp3.md deleted file mode 100644 index 9afcefbb..00000000 --- a/old_docs/API_docs_v46/constructors/storage_fileMp3.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileMp3 -description: Mp3 audio. MIME type: `audio/mpeg`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileMp3 -[Back to constructors index](index.md) - - - -Mp3 audio. MIME type: `audio/mpeg`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileMp3 = ['_' => 'storage.fileMp3']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileMp3={_='storage.fileMp3'} - -``` - - diff --git a/old_docs/API_docs_v46/constructors/storage_fileMp4.md b/old_docs/API_docs_v46/constructors/storage_fileMp4.md deleted file mode 100644 index cdc0e783..00000000 --- a/old_docs/API_docs_v46/constructors/storage_fileMp4.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileMp4 -description: MPEG-4 video. MIME type: `video/mp4`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileMp4 -[Back to constructors index](index.md) - - - -MPEG-4 video. MIME type: `video/mp4`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileMp4 = ['_' => 'storage.fileMp4']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileMp4={_='storage.fileMp4'} - -``` - - diff --git a/old_docs/API_docs_v46/constructors/storage_filePartial.md b/old_docs/API_docs_v46/constructors/storage_filePartial.md deleted file mode 100644 index 9bfadf63..00000000 --- a/old_docs/API_docs_v46/constructors/storage_filePartial.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.filePartial -description: Part of a bigger file. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.filePartial -[Back to constructors index](index.md) - - - -Part of a bigger file. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_filePartial = ['_' => 'storage.filePartial']; -``` - - -Or, if you're into Lua: - -```lua -storage_filePartial={_='storage.filePartial'} - -``` - - diff --git a/old_docs/API_docs_v46/constructors/storage_filePdf.md b/old_docs/API_docs_v46/constructors/storage_filePdf.md deleted file mode 100644 index efb022cc..00000000 --- a/old_docs/API_docs_v46/constructors/storage_filePdf.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.filePdf -description: PDF document image. MIME type: `application/pdf`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.filePdf -[Back to constructors index](index.md) - - - -PDF document image. MIME type: `application/pdf`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_filePdf = ['_' => 'storage.filePdf']; -``` - - -Or, if you're into Lua: - -```lua -storage_filePdf={_='storage.filePdf'} - -``` - - diff --git a/old_docs/API_docs_v46/constructors/storage_filePng.md b/old_docs/API_docs_v46/constructors/storage_filePng.md deleted file mode 100644 index 412759e4..00000000 --- a/old_docs/API_docs_v46/constructors/storage_filePng.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.filePng -description: PNG image. MIME type: `image/png`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.filePng -[Back to constructors index](index.md) - - - -PNG image. MIME type: `image/png`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_filePng = ['_' => 'storage.filePng']; -``` - - -Or, if you're into Lua: - -```lua -storage_filePng={_='storage.filePng'} - -``` - - diff --git a/old_docs/API_docs_v46/constructors/storage_fileUnknown.md b/old_docs/API_docs_v46/constructors/storage_fileUnknown.md deleted file mode 100644 index ed33dd5e..00000000 --- a/old_docs/API_docs_v46/constructors/storage_fileUnknown.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileUnknown -description: Unknown type. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileUnknown -[Back to constructors index](index.md) - - - -Unknown type. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileUnknown = ['_' => 'storage.fileUnknown']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileUnknown={_='storage.fileUnknown'} - -``` - - diff --git a/old_docs/API_docs_v46/constructors/storage_fileWebp.md b/old_docs/API_docs_v46/constructors/storage_fileWebp.md deleted file mode 100644 index 04dcad74..00000000 --- a/old_docs/API_docs_v46/constructors/storage_fileWebp.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileWebp -description: WEBP image. MIME type: `image/webp`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileWebp -[Back to constructors index](index.md) - - - -WEBP image. MIME type: `image/webp`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileWebp = ['_' => 'storage.fileWebp']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileWebp={_='storage.fileWebp'} - -``` - - diff --git a/old_docs/API_docs_v46/constructors/updateNewStickerSet.md b/old_docs/API_docs_v46/constructors/updateNewStickerSet.md index 8a99a363..c32c41ff 100644 --- a/old_docs/API_docs_v46/constructors/updateNewStickerSet.md +++ b/old_docs/API_docs_v46/constructors/updateNewStickerSet.md @@ -14,7 +14,7 @@ A new stickerset was installed | Name | Type | Required | Description | |----------|---------------|----------|-------------| -|stickerset|[messages\_StickerSet](../types/messages_StickerSet.md) | Yes|The installed stickerset| +|stickerset|[messages.StickerSet](../constructors/messages.StickerSet.md) | Yes|The installed stickerset| @@ -24,14 +24,14 @@ A new stickerset was installed ### Example: ```php -$updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages_StickerSet]; +$updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages.StickerSet]; ``` Or, if you're into Lua: ```lua -updateNewStickerSet={_='updateNewStickerSet', stickerset=messages_StickerSet} +updateNewStickerSet={_='updateNewStickerSet', stickerset=messages.StickerSet} ``` diff --git a/old_docs/API_docs_v46/constructors/updates.channelDifference.md b/old_docs/API_docs_v46/constructors/updates.channelDifference.md new file mode 100644 index 00000000..d024b0dd --- /dev/null +++ b/old_docs/API_docs_v46/constructors/updates.channelDifference.md @@ -0,0 +1,44 @@ +--- +title: updates.channelDifference +description: The new updates +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.channelDifference +[Back to constructors index](index.md) + + + +The new updates + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates to be fetched using getDifference, starting from the provided `pts`| +|channel\_pts|[int](../types/int.md) | Yes|Channel pts| +|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| +|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| +|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [updates.ChannelDifference](../types/updates.ChannelDifference.md) + + +### Example: + +```php +$updates.channelDifference = ['_' => 'updates.channelDifference', 'final' => Bool, 'channel_pts' => int, 'timeout' => int, 'new_messages' => [Message, Message], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +updates.channelDifference={_='updates.channelDifference', final=Bool, channel_pts=int, timeout=int, new_messages={Message}, other_updates={Update}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v46/constructors/updates.channelDifferenceEmpty.md b/old_docs/API_docs_v46/constructors/updates.channelDifferenceEmpty.md new file mode 100644 index 00000000..32d35f7f --- /dev/null +++ b/old_docs/API_docs_v46/constructors/updates.channelDifferenceEmpty.md @@ -0,0 +1,40 @@ +--- +title: updates.channelDifferenceEmpty +description: There are no new updates +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.channelDifferenceEmpty +[Back to constructors index](index.md) + + + +There are no new updates + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates that must be fetched (always false)| +|channel\_pts|[int](../types/int.md) | Yes|Channel pts| +|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| + + + +### Type: [updates.ChannelDifference](../types/updates.ChannelDifference.md) + + +### Example: + +```php +$updates.channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'final' => Bool, 'channel_pts' => int, 'timeout' => int]; +``` + + +Or, if you're into Lua: + +```lua +updates.channelDifferenceEmpty={_='updates.channelDifferenceEmpty', final=Bool, channel_pts=int, timeout=int} + +``` + + diff --git a/old_docs/API_docs_v46/constructors/updates.channelDifferenceTooLong.md b/old_docs/API_docs_v46/constructors/updates.channelDifferenceTooLong.md new file mode 100644 index 00000000..8b06b864 --- /dev/null +++ b/old_docs/API_docs_v46/constructors/updates.channelDifferenceTooLong.md @@ -0,0 +1,58 @@ +--- +title: updates.channelDifferenceTooLong +description: The provided `pts + limit < remote pts`. Simply, there are too many updates to be fetched (more than `limit`), the client has to resolve the update gap in one of the following ways: + +1. Delete all known messages in the chat, begin from scratch by refetching all messages manually with [getHistory](../methods/messages.getHistory.md). It is easy to implement, but suddenly disappearing messages looks awful for the user. +2. Save all messages loaded in the memory until application restart, but delete all messages from database. Messages left in the memory must be lazily updated using calls to [getHistory](../methods/messages.getHistory.md). It looks much smoothly for the user, he will need to redownload messages only after client restart. Unsynchronized messages left in the memory shouldn't be saved to database, results of [getHistory](../methods/messages.getHistory.md) and [getMessages](../methods/messages.getMessages.md) must be used to update state of deleted and edited messages left in the memory. +3. Save all messages loaded in the memory and stored in the database without saving that some messages form continuous ranges. Messages in the database will be excluded from results of getChatHistory and searchChatMessages after application restart and will be available only through getMessage. Every message should still be checked using getHistory. It has more disadvantages over 2) than advantages. +4. Save all messages with saving all data about continuous message ranges. Messages from the database may be used as results of getChatHistory and (if implemented continuous ranges support for searching shared media) searchChatMessages. The messages should still be lazily checked using getHistory, but they are still available offline. It is the best way for gaps support, but it is pretty hard to implement correctly. It should be also noted that some messages like live location messages shouldn't be deleted. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.channelDifferenceTooLong +[Back to constructors index](index.md) + + + +The provided `pts + limit < remote pts`. Simply, there are too many updates to be fetched (more than `limit`), the client has to resolve the update gap in one of the following ways: + +1. Delete all known messages in the chat, begin from scratch by refetching all messages manually with [getHistory](../methods/messages.getHistory.md). It is easy to implement, but suddenly disappearing messages looks awful for the user. +2. Save all messages loaded in the memory until application restart, but delete all messages from database. Messages left in the memory must be lazily updated using calls to [getHistory](../methods/messages.getHistory.md). It looks much smoothly for the user, he will need to redownload messages only after client restart. Unsynchronized messages left in the memory shouldn't be saved to database, results of [getHistory](../methods/messages.getHistory.md) and [getMessages](../methods/messages.getMessages.md) must be used to update state of deleted and edited messages left in the memory. +3. Save all messages loaded in the memory and stored in the database without saving that some messages form continuous ranges. Messages in the database will be excluded from results of getChatHistory and searchChatMessages after application restart and will be available only through getMessage. Every message should still be checked using getHistory. It has more disadvantages over 2) than advantages. +4. Save all messages with saving all data about continuous message ranges. Messages from the database may be used as results of getChatHistory and (if implemented continuous ranges support for searching shared media) searchChatMessages. The messages should still be lazily checked using getHistory, but they are still available offline. It is the best way for gaps support, but it is pretty hard to implement correctly. It should be also noted that some messages like live location messages shouldn't be deleted. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates that must be fetched (always false)| +|channel\_pts|[int](../types/int.md) | Yes|Channel pts| +|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| +|top\_message|[int](../types/int.md) | Yes|Top message| +|top\_important\_message|[int](../types/int.md) | Yes|Top important message| +|read\_inbox\_max\_id|[int](../types/int.md) | Yes|Read inbox max ID| +|unread\_count|[int](../types/int.md) | Yes|Unread count| +|unread\_important\_count|[int](../types/int.md) | Yes|Unread important count| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [updates.ChannelDifference](../types/updates.ChannelDifference.md) + + +### Example: + +```php +$updates.channelDifferenceTooLong = ['_' => 'updates.channelDifferenceTooLong', 'final' => Bool, 'channel_pts' => int, 'timeout' => int, 'top_message' => int, 'top_important_message' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'unread_important_count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +updates.channelDifferenceTooLong={_='updates.channelDifferenceTooLong', final=Bool, channel_pts=int, timeout=int, top_message=int, top_important_message=int, read_inbox_max_id=int, unread_count=int, unread_important_count=int, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v46/constructors/updates.difference.md b/old_docs/API_docs_v46/constructors/updates.difference.md new file mode 100644 index 00000000..82541b51 --- /dev/null +++ b/old_docs/API_docs_v46/constructors/updates.difference.md @@ -0,0 +1,43 @@ +--- +title: updates.difference +description: Full list of occurred events. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.difference +[Back to constructors index](index.md) + + + +Full list of occurred events. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| +|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| +|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| +|state|[updates.State](../constructors/updates.State.md) | Yes|Current state| + + + +### Type: [updates.Difference](../types/updates.Difference.md) + + +### Example: + +```php +$updates.difference = ['_' => 'updates.difference', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates.State]; +``` + + +Or, if you're into Lua: + +```lua +updates.difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates.State} + +``` + + diff --git a/old_docs/API_docs_v46/constructors/updates.differenceEmpty.md b/old_docs/API_docs_v46/constructors/updates.differenceEmpty.md new file mode 100644 index 00000000..a9dc3bd0 --- /dev/null +++ b/old_docs/API_docs_v46/constructors/updates.differenceEmpty.md @@ -0,0 +1,39 @@ +--- +title: updates.differenceEmpty +description: No events. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.differenceEmpty +[Back to constructors index](index.md) + + + +No events. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Current date| +|seq|[int](../types/int.md) | Yes|Number of sent updates| + + + +### Type: [updates.Difference](../types/updates.Difference.md) + + +### Example: + +```php +$updates.differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int]; +``` + + +Or, if you're into Lua: + +```lua +updates.differenceEmpty={_='updates.differenceEmpty', date=int, seq=int} + +``` + + diff --git a/old_docs/API_docs_v46/constructors/updates.differenceSlice.md b/old_docs/API_docs_v46/constructors/updates.differenceSlice.md new file mode 100644 index 00000000..9daf7a75 --- /dev/null +++ b/old_docs/API_docs_v46/constructors/updates.differenceSlice.md @@ -0,0 +1,43 @@ +--- +title: updates.differenceSlice +description: Incomplete list of occurred events. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.differenceSlice +[Back to constructors index](index.md) + + + +Incomplete list of occurred events. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| +|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| +|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| +|intermediate\_state|[updates.State](../constructors/updates.State.md) | Yes|Intermediary state| + + + +### Type: [updates.Difference](../types/updates.Difference.md) + + +### Example: + +```php +$updates.differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'intermediate_state' => updates.State]; +``` + + +Or, if you're into Lua: + +```lua +updates.differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates.State} + +``` + + diff --git a/old_docs/API_docs_v46/constructors/updates.state.md b/old_docs/API_docs_v46/constructors/updates.state.md new file mode 100644 index 00000000..abe9ddbb --- /dev/null +++ b/old_docs/API_docs_v46/constructors/updates.state.md @@ -0,0 +1,42 @@ +--- +title: updates.state +description: Updates state. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.state +[Back to constructors index](index.md) + + + +Updates state. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| +|qts|[int](../types/int.md) | Yes|Position in a sequence of updates in secret chats. For further detailes refer to article [secret chats](https://core.telegram.org/api/end-to-end)
Parameter was added in [eigth layer](https://core.telegram.org/api/layers#layer-8).| +|date|[int](../types/int.md) | Yes|Date of condition| +|seq|[int](../types/int.md) | Yes|Number of sent updates| +|unread\_count|[int](../types/int.md) | Yes|Number of unread messages| + + + +### Type: [updates.State](../types/updates.State.md) + + +### Example: + +```php +$updates.state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int]; +``` + + +Or, if you're into Lua: + +```lua +updates.state={_='updates.state', pts=int, qts=int, date=int, seq=int, unread_count=int} + +``` + + diff --git a/old_docs/API_docs_v46/constructors/updates_channelDifference.md b/old_docs/API_docs_v46/constructors/updates_channelDifference.md deleted file mode 100644 index 247e4f77..00000000 --- a/old_docs/API_docs_v46/constructors/updates_channelDifference.md +++ /dev/null @@ -1,44 +0,0 @@ ---- -title: updates.channelDifference -description: The new updates -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.channelDifference -[Back to constructors index](index.md) - - - -The new updates - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates to be fetched using getDifference, starting from the provided `pts`| -|channel\_pts|[int](../types/int.md) | Yes|Channel pts| -|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| -|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| -|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) - - -### Example: - -```php -$updates_channelDifference = ['_' => 'updates.channelDifference', 'final' => Bool, 'channel_pts' => int, 'timeout' => int, 'new_messages' => [Message, Message], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -updates_channelDifference={_='updates.channelDifference', final=Bool, channel_pts=int, timeout=int, new_messages={Message}, other_updates={Update}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v46/constructors/updates_channelDifferenceEmpty.md b/old_docs/API_docs_v46/constructors/updates_channelDifferenceEmpty.md deleted file mode 100644 index b1180075..00000000 --- a/old_docs/API_docs_v46/constructors/updates_channelDifferenceEmpty.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: updates.channelDifferenceEmpty -description: There are no new updates -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.channelDifferenceEmpty -[Back to constructors index](index.md) - - - -There are no new updates - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates that must be fetched (always false)| -|channel\_pts|[int](../types/int.md) | Yes|Channel pts| -|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| - - - -### Type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) - - -### Example: - -```php -$updates_channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'final' => Bool, 'channel_pts' => int, 'timeout' => int]; -``` - - -Or, if you're into Lua: - -```lua -updates_channelDifferenceEmpty={_='updates.channelDifferenceEmpty', final=Bool, channel_pts=int, timeout=int} - -``` - - diff --git a/old_docs/API_docs_v46/constructors/updates_channelDifferenceTooLong.md b/old_docs/API_docs_v46/constructors/updates_channelDifferenceTooLong.md deleted file mode 100644 index 9b053fb4..00000000 --- a/old_docs/API_docs_v46/constructors/updates_channelDifferenceTooLong.md +++ /dev/null @@ -1,58 +0,0 @@ ---- -title: updates.channelDifferenceTooLong -description: The provided `pts + limit < remote pts`. Simply, there are too many updates to be fetched (more than `limit`), the client has to resolve the update gap in one of the following ways: - -1. Delete all known messages in the chat, begin from scratch by refetching all messages manually with [getHistory](../methods/messages.getHistory.md). It is easy to implement, but suddenly disappearing messages looks awful for the user. -2. Save all messages loaded in the memory until application restart, but delete all messages from database. Messages left in the memory must be lazily updated using calls to [getHistory](../methods/messages.getHistory.md). It looks much smoothly for the user, he will need to redownload messages only after client restart. Unsynchronized messages left in the memory shouldn't be saved to database, results of [getHistory](../methods/messages.getHistory.md) and [getMessages](../methods/messages.getMessages.md) must be used to update state of deleted and edited messages left in the memory. -3. Save all messages loaded in the memory and stored in the database without saving that some messages form continuous ranges. Messages in the database will be excluded from results of getChatHistory and searchChatMessages after application restart and will be available only through getMessage. Every message should still be checked using getHistory. It has more disadvantages over 2) than advantages. -4. Save all messages with saving all data about continuous message ranges. Messages from the database may be used as results of getChatHistory and (if implemented continuous ranges support for searching shared media) searchChatMessages. The messages should still be lazily checked using getHistory, but they are still available offline. It is the best way for gaps support, but it is pretty hard to implement correctly. It should be also noted that some messages like live location messages shouldn't be deleted. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.channelDifferenceTooLong -[Back to constructors index](index.md) - - - -The provided `pts + limit < remote pts`. Simply, there are too many updates to be fetched (more than `limit`), the client has to resolve the update gap in one of the following ways: - -1. Delete all known messages in the chat, begin from scratch by refetching all messages manually with [getHistory](../methods/messages.getHistory.md). It is easy to implement, but suddenly disappearing messages looks awful for the user. -2. Save all messages loaded in the memory until application restart, but delete all messages from database. Messages left in the memory must be lazily updated using calls to [getHistory](../methods/messages.getHistory.md). It looks much smoothly for the user, he will need to redownload messages only after client restart. Unsynchronized messages left in the memory shouldn't be saved to database, results of [getHistory](../methods/messages.getHistory.md) and [getMessages](../methods/messages.getMessages.md) must be used to update state of deleted and edited messages left in the memory. -3. Save all messages loaded in the memory and stored in the database without saving that some messages form continuous ranges. Messages in the database will be excluded from results of getChatHistory and searchChatMessages after application restart and will be available only through getMessage. Every message should still be checked using getHistory. It has more disadvantages over 2) than advantages. -4. Save all messages with saving all data about continuous message ranges. Messages from the database may be used as results of getChatHistory and (if implemented continuous ranges support for searching shared media) searchChatMessages. The messages should still be lazily checked using getHistory, but they are still available offline. It is the best way for gaps support, but it is pretty hard to implement correctly. It should be also noted that some messages like live location messages shouldn't be deleted. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates that must be fetched (always false)| -|channel\_pts|[int](../types/int.md) | Yes|Channel pts| -|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| -|top\_message|[int](../types/int.md) | Yes|Top message| -|top\_important\_message|[int](../types/int.md) | Yes|Top important message| -|read\_inbox\_max\_id|[int](../types/int.md) | Yes|Read inbox max ID| -|unread\_count|[int](../types/int.md) | Yes|Unread count| -|unread\_important\_count|[int](../types/int.md) | Yes|Unread important count| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) - - -### Example: - -```php -$updates_channelDifferenceTooLong = ['_' => 'updates.channelDifferenceTooLong', 'final' => Bool, 'channel_pts' => int, 'timeout' => int, 'top_message' => int, 'top_important_message' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'unread_important_count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -updates_channelDifferenceTooLong={_='updates.channelDifferenceTooLong', final=Bool, channel_pts=int, timeout=int, top_message=int, top_important_message=int, read_inbox_max_id=int, unread_count=int, unread_important_count=int, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v46/constructors/updates_difference.md b/old_docs/API_docs_v46/constructors/updates_difference.md deleted file mode 100644 index 71ac7d4c..00000000 --- a/old_docs/API_docs_v46/constructors/updates_difference.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: updates.difference -description: Full list of occurred events. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.difference -[Back to constructors index](index.md) - - - -Full list of occurred events. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| -|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| -|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| -|state|[updates\_State](../types/updates_State.md) | Yes|Current state| - - - -### Type: [updates\_Difference](../types/updates_Difference.md) - - -### Example: - -```php -$updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates_State]; -``` - - -Or, if you're into Lua: - -```lua -updates_difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates_State} - -``` - - diff --git a/old_docs/API_docs_v46/constructors/updates_differenceEmpty.md b/old_docs/API_docs_v46/constructors/updates_differenceEmpty.md deleted file mode 100644 index c3c95c5a..00000000 --- a/old_docs/API_docs_v46/constructors/updates_differenceEmpty.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: updates.differenceEmpty -description: No events. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.differenceEmpty -[Back to constructors index](index.md) - - - -No events. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Current date| -|seq|[int](../types/int.md) | Yes|Number of sent updates| - - - -### Type: [updates\_Difference](../types/updates_Difference.md) - - -### Example: - -```php -$updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int]; -``` - - -Or, if you're into Lua: - -```lua -updates_differenceEmpty={_='updates.differenceEmpty', date=int, seq=int} - -``` - - diff --git a/old_docs/API_docs_v46/constructors/updates_differenceSlice.md b/old_docs/API_docs_v46/constructors/updates_differenceSlice.md deleted file mode 100644 index 8b12a369..00000000 --- a/old_docs/API_docs_v46/constructors/updates_differenceSlice.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: updates.differenceSlice -description: Incomplete list of occurred events. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.differenceSlice -[Back to constructors index](index.md) - - - -Incomplete list of occurred events. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| -|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| -|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| -|intermediate\_state|[updates\_State](../types/updates_State.md) | Yes|Intermediary state| - - - -### Type: [updates\_Difference](../types/updates_Difference.md) - - -### Example: - -```php -$updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'intermediate_state' => updates_State]; -``` - - -Or, if you're into Lua: - -```lua -updates_differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates_State} - -``` - - diff --git a/old_docs/API_docs_v46/constructors/updates_state.md b/old_docs/API_docs_v46/constructors/updates_state.md deleted file mode 100644 index ef3698e2..00000000 --- a/old_docs/API_docs_v46/constructors/updates_state.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: updates.state -description: Updates state. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.state -[Back to constructors index](index.md) - - - -Updates state. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| -|qts|[int](../types/int.md) | Yes|Position in a sequence of updates in secret chats. For further detailes refer to article [secret chats](https://core.telegram.org/api/end-to-end)
Parameter was added in [eigth layer](https://core.telegram.org/api/layers#layer-8).| -|date|[int](../types/int.md) | Yes|Date of condition| -|seq|[int](../types/int.md) | Yes|Number of sent updates| -|unread\_count|[int](../types/int.md) | Yes|Number of unread messages| - - - -### Type: [updates\_State](../types/updates_State.md) - - -### Example: - -```php -$updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int]; -``` - - -Or, if you're into Lua: - -```lua -updates_state={_='updates.state', pts=int, qts=int, date=int, seq=int, unread_count=int} - -``` - - diff --git a/old_docs/API_docs_v46/constructors/upload.file.md b/old_docs/API_docs_v46/constructors/upload.file.md new file mode 100644 index 00000000..145a4c24 --- /dev/null +++ b/old_docs/API_docs_v46/constructors/upload.file.md @@ -0,0 +1,40 @@ +--- +title: upload.file +description: File content. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: upload.file +[Back to constructors index](index.md) + + + +File content. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|type|[storage.FileType](../constructors/storage.FileType.md) | Yes|File type| +|mtime|[int](../types/int.md) | Yes|Modification type| +|bytes|[bytes](../types/bytes.md) | Yes|Binary data, file content| + + + +### Type: [upload.File](../types/upload.File.md) + + +### Example: + +```php +$upload.file = ['_' => 'upload.file', 'type' => storage.FileType, 'mtime' => int, 'bytes' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +upload.file={_='upload.file', type=storage.FileType, mtime=int, bytes='bytes'} + +``` + + diff --git a/old_docs/API_docs_v46/constructors/upload_file.md b/old_docs/API_docs_v46/constructors/upload_file.md deleted file mode 100644 index 1e07d9fb..00000000 --- a/old_docs/API_docs_v46/constructors/upload_file.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: upload.file -description: File content. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: upload.file -[Back to constructors index](index.md) - - - -File content. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|type|[storage\_FileType](../types/storage_FileType.md) | Yes|File type| -|mtime|[int](../types/int.md) | Yes|Modification type| -|bytes|[bytes](../types/bytes.md) | Yes|Binary data, file content| - - - -### Type: [upload\_File](../types/upload_File.md) - - -### Example: - -```php -$upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int, 'bytes' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -upload_file={_='upload.file', type=storage_FileType, mtime=int, bytes='bytes'} - -``` - - diff --git a/old_docs/API_docs_v46/constructors/userFull.md b/old_docs/API_docs_v46/constructors/userFull.md index 67913fec..129a02d0 100644 --- a/old_docs/API_docs_v46/constructors/userFull.md +++ b/old_docs/API_docs_v46/constructors/userFull.md @@ -15,7 +15,7 @@ Extended user info | Name | Type | Required | Description | |----------|---------------|----------|-------------| |user|[User](../types/User.md) | Optional|Remaining user info| -|link|[contacts\_Link](../types/contacts_Link.md) | Yes|Link| +|link|[contacts.Link](../constructors/contacts.Link.md) | Yes|Link| |profile\_photo|[Photo](../types/Photo.md) | Optional|Profile photo| |notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Optional|Notification settings| |blocked|[Bool](../types/Bool.md) | Yes|Blocked?| @@ -29,14 +29,14 @@ Extended user info ### Example: ```php -$userFull = ['_' => 'userFull', 'user' => User, 'link' => contacts_Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'blocked' => Bool, 'bot_info' => BotInfo]; +$userFull = ['_' => 'userFull', 'user' => User, 'link' => contacts.Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'blocked' => Bool, 'bot_info' => BotInfo]; ``` Or, if you're into Lua: ```lua -userFull={_='userFull', user=User, link=contacts_Link, profile_photo=Photo, notify_settings=PeerNotifySettings, blocked=Bool, bot_info=BotInfo} +userFull={_='userFull', user=User, link=contacts.Link, profile_photo=Photo, notify_settings=PeerNotifySettings, blocked=Bool, bot_info=BotInfo} ``` diff --git a/old_docs/API_docs_v46/methods/account.getAuthorizations.md b/old_docs/API_docs_v46/methods/account.getAuthorizations.md index f69c130a..fad3a7ae 100644 --- a/old_docs/API_docs_v46/methods/account.getAuthorizations.md +++ b/old_docs/API_docs_v46/methods/account.getAuthorizations.md @@ -11,7 +11,7 @@ Get logged-in sessions -### Return type: [account\_Authorizations](../types/account_Authorizations.md) +### Return type: [account.Authorizations](../types/account.Authorizations.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_Authorizations = $MadelineProto->account->getAuthorizations(); +$account.Authorizations = $MadelineProto->account->getAuthorizations(); ``` Or, if you're into Lua: ```lua -account_Authorizations = account.getAuthorizations({}) +account.Authorizations = account.getAuthorizations({}) ``` diff --git a/old_docs/API_docs_v46/methods/account.getPassword.md b/old_docs/API_docs_v46/methods/account.getPassword.md index eed4aee3..621271b6 100644 --- a/old_docs/API_docs_v46/methods/account.getPassword.md +++ b/old_docs/API_docs_v46/methods/account.getPassword.md @@ -11,7 +11,7 @@ Obtain configuration for two-factor authorization with password -### Return type: [account\_Password](../types/account_Password.md) +### Return type: [account.Password](../types/account.Password.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_Password = $MadelineProto->account->getPassword(); +$account.Password = $MadelineProto->account->getPassword(); ``` Or, if you're into Lua: ```lua -account_Password = account.getPassword({}) +account.Password = account.getPassword({}) ``` diff --git a/old_docs/API_docs_v46/methods/account.getPasswordSettings.md b/old_docs/API_docs_v46/methods/account.getPasswordSettings.md index dcdae61a..3d3cce08 100644 --- a/old_docs/API_docs_v46/methods/account.getPasswordSettings.md +++ b/old_docs/API_docs_v46/methods/account.getPasswordSettings.md @@ -16,7 +16,7 @@ You cannot use this method directly; use $MadelineProto->update_2fa($params), in |current\_password\_hash|[bytes](../types/bytes.md) | You cannot use this method directly; use $MadelineProto->update_2fa($params), instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [account\_PasswordSettings](../types/account_PasswordSettings.md) +### Return type: [account.PasswordSettings](../types/account.PasswordSettings.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_PasswordSettings = $MadelineProto->account->getPasswordSettings(['current_password_hash' => 'bytes', ]); +$account.PasswordSettings = $MadelineProto->account->getPasswordSettings(['current_password_hash' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -account_PasswordSettings = account.getPasswordSettings({current_password_hash='bytes', }) +account.PasswordSettings = account.getPasswordSettings({current_password_hash='bytes', }) ``` ### Errors diff --git a/old_docs/API_docs_v46/methods/account.getPrivacy.md b/old_docs/API_docs_v46/methods/account.getPrivacy.md index 6a240129..e20c292c 100644 --- a/old_docs/API_docs_v46/methods/account.getPrivacy.md +++ b/old_docs/API_docs_v46/methods/account.getPrivacy.md @@ -16,7 +16,7 @@ Get privacy settings of current account |key|[InputPrivacyKey](../types/InputPrivacyKey.md) | Peer category whose privacy settings should be fetched | Yes| -### Return type: [account\_PrivacyRules](../types/account_PrivacyRules.md) +### Return type: [account.PrivacyRules](../types/account.PrivacyRules.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_PrivacyRules = $MadelineProto->account->getPrivacy(['key' => InputPrivacyKey, ]); +$account.PrivacyRules = $MadelineProto->account->getPrivacy(['key' => InputPrivacyKey, ]); ``` Or, if you're into Lua: ```lua -account_PrivacyRules = account.getPrivacy({key=InputPrivacyKey, }) +account.PrivacyRules = account.getPrivacy({key=InputPrivacyKey, }) ``` ### Errors diff --git a/old_docs/API_docs_v46/methods/account.sendChangePhoneCode.md b/old_docs/API_docs_v46/methods/account.sendChangePhoneCode.md index 169fa15b..e70372de 100644 --- a/old_docs/API_docs_v46/methods/account.sendChangePhoneCode.md +++ b/old_docs/API_docs_v46/methods/account.sendChangePhoneCode.md @@ -16,7 +16,7 @@ Verify a new phone number to associate to the current account |phone\_number|[string](../types/string.md) | New phone number | Yes| -### Return type: [account\_SentChangePhoneCode](../types/account_SentChangePhoneCode.md) +### Return type: [account.SentChangePhoneCode](../types/account.SentChangePhoneCode.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_SentChangePhoneCode = $MadelineProto->account->sendChangePhoneCode(['phone_number' => 'string', ]); +$account.SentChangePhoneCode = $MadelineProto->account->sendChangePhoneCode(['phone_number' => 'string', ]); ``` Or, if you're into Lua: ```lua -account_SentChangePhoneCode = account.sendChangePhoneCode({phone_number='string', }) +account.SentChangePhoneCode = account.sendChangePhoneCode({phone_number='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v46/methods/account.setPrivacy.md b/old_docs/API_docs_v46/methods/account.setPrivacy.md index 7c4cfba7..096d373e 100644 --- a/old_docs/API_docs_v46/methods/account.setPrivacy.md +++ b/old_docs/API_docs_v46/methods/account.setPrivacy.md @@ -17,7 +17,7 @@ Change privacy settings of current account |rules|Array of [InputPrivacyRule](../types/InputPrivacyRule.md) | Privacy settings | Yes| -### Return type: [account\_PrivacyRules](../types/account_PrivacyRules.md) +### Return type: [account.PrivacyRules](../types/account.PrivacyRules.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_PrivacyRules = $MadelineProto->account->setPrivacy(['key' => InputPrivacyKey, 'rules' => [InputPrivacyRule, InputPrivacyRule], ]); +$account.PrivacyRules = $MadelineProto->account->setPrivacy(['key' => InputPrivacyKey, 'rules' => [InputPrivacyRule, InputPrivacyRule], ]); ``` Or, if you're into Lua: ```lua -account_PrivacyRules = account.setPrivacy({key=InputPrivacyKey, rules={InputPrivacyRule}, }) +account.PrivacyRules = account.setPrivacy({key=InputPrivacyKey, rules={InputPrivacyRule}, }) ``` ### Errors diff --git a/old_docs/API_docs_v46/methods/api_README.md b/old_docs/API_docs_v46/methods/api_README.md index 4d92d9cb..eed2f3f4 100644 --- a/old_docs/API_docs_v46/methods/api_README.md +++ b/old_docs/API_docs_v46/methods/api_README.md @@ -52,7 +52,7 @@ $MadelineProto->[account->getAccountTTL](account.getAccountTTL.md)(\[\]) === [$A ***

-$MadelineProto->[account->getAuthorizations](account.getAuthorizations.md)(\[\]) === [$account\_Authorizations](../types/account_Authorizations.md) +$MadelineProto->[account->getAuthorizations](account.getAuthorizations.md)(\[\]) === [$account.Authorizations](../types/account.Authorizations.md) ***

@@ -60,15 +60,15 @@ $MadelineProto->[account->getNotifySettings](account.getNotifySettings.md)(\['pe ***

-$MadelineProto->[account->getPassword](account.getPassword.md)(\[\]) === [$account\_Password](../types/account_Password.md) +$MadelineProto->[account->getPassword](account.getPassword.md)(\[\]) === [$account.Password](../types/account.Password.md) ***

-$MadelineProto->[account->getPasswordSettings](account.getPasswordSettings.md)(\['current_password_hash' => [bytes](../types/bytes.md), \]) === [$account\_PasswordSettings](../types/account_PasswordSettings.md) +$MadelineProto->[account->getPasswordSettings](account.getPasswordSettings.md)(\['current_password_hash' => [bytes](../types/bytes.md), \]) === [$account.PasswordSettings](../types/account.PasswordSettings.md) ***

-$MadelineProto->[account->getPrivacy](account.getPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), \]) === [$account\_PrivacyRules](../types/account_PrivacyRules.md) +$MadelineProto->[account->getPrivacy](account.getPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), \]) === [$account.PrivacyRules](../types/account.PrivacyRules.md) ***

@@ -92,7 +92,7 @@ $MadelineProto->[account->resetNotifySettings](account.resetNotifySettings.md)(\ ***

-$MadelineProto->[account->sendChangePhoneCode](account.sendChangePhoneCode.md)(\['phone_number' => [string](../types/string.md), \]) === [$account\_SentChangePhoneCode](../types/account_SentChangePhoneCode.md) +$MadelineProto->[account->sendChangePhoneCode](account.sendChangePhoneCode.md)(\['phone_number' => [string](../types/string.md), \]) === [$account.SentChangePhoneCode](../types/account.SentChangePhoneCode.md) ***

@@ -100,7 +100,7 @@ $MadelineProto->[account->setAccountTTL](account.setAccountTTL.md)(\['ttl' => [A ***

-$MadelineProto->[account->setPrivacy](account.setPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), 'rules' => \[[InputPrivacyRule](../types/InputPrivacyRule.md)\], \]) === [$account\_PrivacyRules](../types/account_PrivacyRules.md) +$MadelineProto->[account->setPrivacy](account.setPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), 'rules' => \[[InputPrivacyRule](../types/InputPrivacyRule.md)\], \]) === [$account.PrivacyRules](../types/account.PrivacyRules.md) ***

@@ -136,23 +136,23 @@ $MadelineProto->[auth->bindTempAuthKey](auth.bindTempAuthKey.md)(\['perm_auth_ke ***

-$MadelineProto->[auth->checkPassword](auth.checkPassword.md)(\['password_hash' => [bytes](../types/bytes.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->checkPassword](auth.checkPassword.md)(\['password_hash' => [bytes](../types/bytes.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

-$MadelineProto->[auth->checkPhone](auth.checkPhone.md)(\['phone_number' => [string](../types/string.md), \]) === [$auth\_CheckedPhone](../types/auth_CheckedPhone.md) +$MadelineProto->[auth->checkPhone](auth.checkPhone.md)(\['phone_number' => [string](../types/string.md), \]) === [$auth.CheckedPhone](../types/auth.CheckedPhone.md) ***

-$MadelineProto->[auth->exportAuthorization](auth.exportAuthorization.md)(\['dc_id' => [int](../types/int.md), \]) === [$auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) +$MadelineProto->[auth->exportAuthorization](auth.exportAuthorization.md)(\['dc_id' => [int](../types/int.md), \]) === [$auth.ExportedAuthorization](../types/auth.ExportedAuthorization.md) ***

-$MadelineProto->[auth->importAuthorization](auth.importAuthorization.md)(\['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->importAuthorization](auth.importAuthorization.md)(\['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

-$MadelineProto->[auth->importBotAuthorization](auth.importBotAuthorization.md)(\['api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), 'bot_auth_token' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->importBotAuthorization](auth.importBotAuthorization.md)(\['api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), 'bot_auth_token' => [string](../types/string.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

@@ -160,11 +160,11 @@ $MadelineProto->[auth->logOut](auth.logOut.md)(\[\]) === [$Bool](../types/Bool.m ***

-$MadelineProto->[auth->recoverPassword](auth.recoverPassword.md)(\['code' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->recoverPassword](auth.recoverPassword.md)(\['code' => [string](../types/string.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

-$MadelineProto->[auth->requestPasswordRecovery](auth.requestPasswordRecovery.md)(\[\]) === [$auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) +$MadelineProto->[auth->requestPasswordRecovery](auth.requestPasswordRecovery.md)(\[\]) === [$auth.PasswordRecovery](../types/auth.PasswordRecovery.md) ***

@@ -176,7 +176,7 @@ $MadelineProto->[auth->sendCall](auth.sendCall.md)(\['phone_number' => [string]( ***

-$MadelineProto->[auth->sendCode](auth.sendCode.md)(\['phone_number' => [string](../types/string.md), 'sms_type' => [int](../types/int.md), 'api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) === [$auth\_SentCode](../types/auth_SentCode.md) +$MadelineProto->[auth->sendCode](auth.sendCode.md)(\['phone_number' => [string](../types/string.md), 'sms_type' => [int](../types/int.md), 'api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) === [$auth.SentCode](../types/auth.SentCode.md) ***

@@ -188,11 +188,11 @@ $MadelineProto->[auth->sendSms](auth.sendSms.md)(\['phone_number' => [string](.. ***

-$MadelineProto->[auth->signIn](auth.signIn.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->signIn](auth.signIn.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

-$MadelineProto->[auth->signUp](auth.signUp.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->signUp](auth.signUp.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

@@ -208,11 +208,11 @@ $MadelineProto->[channels->deleteChannel](channels.deleteChannel.md)(\['channel' ***

-$MadelineProto->[channels->deleteMessages](channels.deleteMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) +$MadelineProto->[channels->deleteMessages](channels.deleteMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages.AffectedMessages](../types/messages.AffectedMessages.md) ***

-$MadelineProto->[channels->deleteUserHistory](channels.deleteUserHistory.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages\_AffectedHistory](../types/messages_AffectedHistory.md) +$MadelineProto->[channels->deleteUserHistory](channels.deleteUserHistory.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages.AffectedHistory](../types/messages.AffectedHistory.md) ***

@@ -236,31 +236,31 @@ $MadelineProto->[channels->exportInvite](channels.exportInvite.md)(\['channel' = ***

-$MadelineProto->[channels->getChannels](channels.getChannels.md)(\['id' => \[[InputChannel](../types/InputChannel.md)\], \]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[channels->getChannels](channels.getChannels.md)(\['id' => \[[InputChannel](../types/InputChannel.md)\], \]) === [$messages.Chats](../types/messages.Chats.md) ***

-$MadelineProto->[channels->getDialogs](channels.getDialogs.md)(\['offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages\_Dialogs](../types/messages_Dialogs.md) +$MadelineProto->[channels->getDialogs](channels.getDialogs.md)(\['offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages.Dialogs](../types/messages.Dialogs.md) ***

-$MadelineProto->[channels->getFullChannel](channels.getFullChannel.md)(\['channel' => [InputChannel](../types/InputChannel.md), \]) === [$messages\_ChatFull](../types/messages_ChatFull.md) +$MadelineProto->[channels->getFullChannel](channels.getFullChannel.md)(\['channel' => [InputChannel](../types/InputChannel.md), \]) === [$messages.ChatFull](../types/messages.ChatFull.md) ***

-$MadelineProto->[channels->getImportantHistory](channels.getImportantHistory.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'offset_id' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[channels->getImportantHistory](channels.getImportantHistory.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'offset_id' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[channels->getMessages](channels.getMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[channels->getMessages](channels.getMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[channels->getParticipant](channels.getParticipant.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$channels\_ChannelParticipant](../types/channels_ChannelParticipant.md) +$MadelineProto->[channels->getParticipant](channels.getParticipant.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$channels.ChannelParticipant](../types/channels.ChannelParticipant.md) ***

-$MadelineProto->[channels->getParticipants](channels.getParticipants.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$channels\_ChannelParticipants](../types/channels_ChannelParticipants.md) +$MadelineProto->[channels->getParticipants](channels.getParticipants.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$channels.ChannelParticipants](../types/channels.ChannelParticipants.md) ***

@@ -300,7 +300,7 @@ $MadelineProto->[contacts->block](contacts.block.md)(\['id' => [InputUser](../ty ***

-$MadelineProto->[contacts->deleteContact](contacts.deleteContact.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$contacts\_Link](../types/contacts_Link.md) +$MadelineProto->[contacts->deleteContact](contacts.deleteContact.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$contacts.Link](../types/contacts.Link.md) ***

@@ -312,11 +312,11 @@ $MadelineProto->[contacts->exportCard](contacts.exportCard.md)(\[\]) === [$Vecto ***

-$MadelineProto->[contacts->getBlocked](contacts.getBlocked.md)(\['offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$contacts\_Blocked](../types/contacts_Blocked.md) +$MadelineProto->[contacts->getBlocked](contacts.getBlocked.md)(\['offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$contacts.Blocked](../types/contacts.Blocked.md) ***

-$MadelineProto->[contacts->getContacts](contacts.getContacts.md)(\['hash' => [string](../types/string.md), \]) === [$contacts\_Contacts](../types/contacts_Contacts.md) +$MadelineProto->[contacts->getContacts](contacts.getContacts.md)(\['hash' => [string](../types/string.md), \]) === [$contacts.Contacts](../types/contacts.Contacts.md) ***

@@ -324,7 +324,7 @@ $MadelineProto->[contacts->getStatuses](contacts.getStatuses.md)(\[\]) === [$Vec ***

-$MadelineProto->[contacts->getSuggested](contacts.getSuggested.md)(\['limit' => [int](../types/int.md), \]) === [$contacts\_Suggested](../types/contacts_Suggested.md) +$MadelineProto->[contacts->getSuggested](contacts.getSuggested.md)(\['limit' => [int](../types/int.md), \]) === [$contacts.Suggested](../types/contacts.Suggested.md) ***

@@ -332,15 +332,15 @@ $MadelineProto->[contacts->importCard](contacts.importCard.md)(\['export_card' = ***

-$MadelineProto->[contacts->importContacts](contacts.importContacts.md)(\['contacts' => \[[InputContact](../types/InputContact.md)\], 'replace' => [Bool](../types/Bool.md), \]) === [$contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) +$MadelineProto->[contacts->importContacts](contacts.importContacts.md)(\['contacts' => \[[InputContact](../types/InputContact.md)\], 'replace' => [Bool](../types/Bool.md), \]) === [$contacts.ImportedContacts](../types/contacts.ImportedContacts.md) ***

-$MadelineProto->[contacts->resolveUsername](contacts.resolveUsername.md)(\['username' => [string](../types/string.md), \]) === [$contacts\_ResolvedPeer](../types/contacts_ResolvedPeer.md) +$MadelineProto->[contacts->resolveUsername](contacts.resolveUsername.md)(\['username' => [string](../types/string.md), \]) === [$contacts.ResolvedPeer](../types/contacts.ResolvedPeer.md) ***

-$MadelineProto->[contacts->search](contacts.search.md)(\['q' => [string](../types/string.md), 'limit' => [int](../types/int.md), \]) === [$contacts\_Found](../types/contacts_Found.md) +$MadelineProto->[contacts->search](contacts.search.md)(\['q' => [string](../types/string.md), 'limit' => [int](../types/int.md), \]) === [$contacts.Found](../types/contacts.Found.md) ***

@@ -348,11 +348,11 @@ $MadelineProto->[contacts->unblock](contacts.unblock.md)(\['id' => [InputUser](. ***

-$MadelineProto->[help->getAppChangelog](help.getAppChangelog.md)(\['device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) === [$help\_AppChangelog](../types/help_AppChangelog.md) +$MadelineProto->[help->getAppChangelog](help.getAppChangelog.md)(\['device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) === [$help.AppChangelog](../types/help.AppChangelog.md) ***

-$MadelineProto->[help->getAppUpdate](help.getAppUpdate.md)(\['device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) === [$help\_AppUpdate](../types/help_AppUpdate.md) +$MadelineProto->[help->getAppUpdate](help.getAppUpdate.md)(\['device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) === [$help.AppUpdate](../types/help.AppUpdate.md) ***

@@ -360,7 +360,7 @@ $MadelineProto->[help->getConfig](help.getConfig.md)(\[\]) === [$Config](../type ***

-$MadelineProto->[help->getInviteText](help.getInviteText.md)(\['lang_code' => [string](../types/string.md), \]) === [$help\_InviteText](../types/help_InviteText.md) +$MadelineProto->[help->getInviteText](help.getInviteText.md)(\['lang_code' => [string](../types/string.md), \]) === [$help.InviteText](../types/help.InviteText.md) ***

@@ -368,11 +368,11 @@ $MadelineProto->[help->getNearestDc](help.getNearestDc.md)(\[\]) === [$NearestDc ***

-$MadelineProto->[help->getSupport](help.getSupport.md)(\[\]) === [$help\_Support](../types/help_Support.md) +$MadelineProto->[help->getSupport](help.getSupport.md)(\[\]) === [$help.Support](../types/help.Support.md) ***

-$MadelineProto->[help->getTermsOfService](help.getTermsOfService.md)(\['lang_code' => [string](../types/string.md), \]) === [$help\_TermsOfService](../types/help_TermsOfService.md) +$MadelineProto->[help->getTermsOfService](help.getTermsOfService.md)(\['lang_code' => [string](../types/string.md), \]) === [$help.TermsOfService](../types/help.TermsOfService.md) ***

@@ -420,11 +420,11 @@ $MadelineProto->[messages->deleteChatUser](messages.deleteChatUser.md)(\['chat_i ***

-$MadelineProto->[messages->deleteHistory](messages.deleteHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), \]) === [$messages\_AffectedHistory](../types/messages_AffectedHistory.md) +$MadelineProto->[messages->deleteHistory](messages.deleteHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), \]) === [$messages.AffectedHistory](../types/messages.AffectedHistory.md) ***

-$MadelineProto->[messages->deleteMessages](messages.deleteMessages.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) +$MadelineProto->[messages->deleteMessages](messages.deleteMessages.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages.AffectedMessages](../types/messages.AffectedMessages.md) ***

@@ -456,19 +456,19 @@ $MadelineProto->[messages->forwardMessages](messages.forwardMessages.md)(\['broa ***

-$MadelineProto->[messages->getAllStickers](messages.getAllStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages\_AllStickers](../types/messages_AllStickers.md) +$MadelineProto->[messages->getAllStickers](messages.getAllStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages.AllStickers](../types/messages.AllStickers.md) ***

-$MadelineProto->[messages->getChats](messages.getChats.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[messages->getChats](messages.getChats.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages.Chats](../types/messages.Chats.md) ***

-$MadelineProto->[messages->getDhConfig](messages.getDhConfig.md)(\['version' => [int](../types/int.md), 'random_length' => [int](../types/int.md), \]) === [$messages\_DhConfig](../types/messages_DhConfig.md) +$MadelineProto->[messages->getDhConfig](messages.getDhConfig.md)(\['version' => [int](../types/int.md), 'random_length' => [int](../types/int.md), \]) === [$messages.DhConfig](../types/messages.DhConfig.md) ***

-$MadelineProto->[messages->getDialogs](messages.getDialogs.md)(\['offset_date' => [int](../types/int.md), 'offset_id' => [int](../types/int.md), 'offset_peer' => [InputPeer](../types/InputPeer.md), 'limit' => [int](../types/int.md), \]) === [$messages\_Dialogs](../types/messages_Dialogs.md) +$MadelineProto->[messages->getDialogs](messages.getDialogs.md)(\['offset_date' => [int](../types/int.md), 'offset_id' => [int](../types/int.md), 'offset_peer' => [InputPeer](../types/InputPeer.md), 'limit' => [int](../types/int.md), \]) === [$messages.Dialogs](../types/messages.Dialogs.md) ***

@@ -476,19 +476,19 @@ $MadelineProto->[messages->getDocumentByHash](messages.getDocumentByHash.md)(\[' ***

-$MadelineProto->[messages->getFullChat](messages.getFullChat.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), \]) === [$messages\_ChatFull](../types/messages_ChatFull.md) +$MadelineProto->[messages->getFullChat](messages.getFullChat.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), \]) === [$messages.ChatFull](../types/messages.ChatFull.md) ***

-$MadelineProto->[messages->getHistory](messages.getHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->getHistory](messages.getHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[messages->getInlineBotResults](messages.getInlineBotResults.md)(\['bot' => [InputUser](../types/InputUser.md), 'query' => [string](../types/string.md), 'offset' => [string](../types/string.md), \]) === [$messages\_BotResults](../types/messages_BotResults.md) +$MadelineProto->[messages->getInlineBotResults](messages.getInlineBotResults.md)(\['bot' => [InputUser](../types/InputUser.md), 'query' => [string](../types/string.md), 'offset' => [string](../types/string.md), \]) === [$messages.BotResults](../types/messages.BotResults.md) ***

-$MadelineProto->[messages->getMessages](messages.getMessages.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->getMessages](messages.getMessages.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages.Messages](../types/messages.Messages.md) ***

@@ -496,15 +496,15 @@ $MadelineProto->[messages->getMessagesViews](messages.getMessagesViews.md)(\['pe ***

-$MadelineProto->[messages->getSavedGifs](messages.getSavedGifs.md)(\['hash' => [int](../types/int.md), \]) === [$messages\_SavedGifs](../types/messages_SavedGifs.md) +$MadelineProto->[messages->getSavedGifs](messages.getSavedGifs.md)(\['hash' => [int](../types/int.md), \]) === [$messages.SavedGifs](../types/messages.SavedGifs.md) ***

-$MadelineProto->[messages->getStickerSet](messages.getStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), \]) === [$messages\_StickerSet](../types/messages_StickerSet.md) +$MadelineProto->[messages->getStickerSet](messages.getStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), \]) === [$messages.StickerSet](../types/messages.StickerSet.md) ***

-$MadelineProto->[messages->getStickers](messages.getStickers.md)(\['emoticon' => [string](../types/string.md), 'hash' => [string](../types/string.md), \]) === [$messages\_Stickers](../types/messages_Stickers.md) +$MadelineProto->[messages->getStickers](messages.getStickers.md)(\['emoticon' => [string](../types/string.md), 'hash' => [string](../types/string.md), \]) === [$messages.Stickers](../types/messages.Stickers.md) ***

@@ -528,11 +528,11 @@ $MadelineProto->[messages->readEncryptedHistory](messages.readEncryptedHistory.m ***

-$MadelineProto->[messages->readHistory](messages.readHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), \]) === [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) +$MadelineProto->[messages->readHistory](messages.readHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), \]) === [$messages.AffectedMessages](../types/messages.AffectedMessages.md) ***

-$MadelineProto->[messages->readMessageContents](messages.readMessageContents.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) +$MadelineProto->[messages->readMessageContents](messages.readMessageContents.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages.AffectedMessages](../types/messages.AffectedMessages.md) ***

@@ -560,15 +560,15 @@ $MadelineProto->[messages->saveGif](messages.saveGif.md)(\['id' => [InputDocumen ***

-$MadelineProto->[messages->search](messages.search.md)(\['important_only' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'q' => [string](../types/string.md), 'filter' => [MessagesFilter](../types/MessagesFilter.md), 'min_date' => [int](../types/int.md), 'max_date' => [int](../types/int.md), 'offset' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->search](messages.search.md)(\['important_only' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'q' => [string](../types/string.md), 'filter' => [MessagesFilter](../types/MessagesFilter.md), 'min_date' => [int](../types/int.md), 'max_date' => [int](../types/int.md), 'offset' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[messages->searchGifs](messages.searchGifs.md)(\['q' => [string](../types/string.md), 'offset' => [int](../types/int.md), \]) === [$messages\_FoundGifs](../types/messages_FoundGifs.md) +$MadelineProto->[messages->searchGifs](messages.searchGifs.md)(\['q' => [string](../types/string.md), 'offset' => [int](../types/int.md), \]) === [$messages.FoundGifs](../types/messages.FoundGifs.md) ***

-$MadelineProto->[messages->searchGlobal](messages.searchGlobal.md)(\['q' => [string](../types/string.md), 'offset_date' => [int](../types/int.md), 'offset_peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->searchGlobal](messages.searchGlobal.md)(\['q' => [string](../types/string.md), 'offset_date' => [int](../types/int.md), 'offset_peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

@@ -576,15 +576,15 @@ $MadelineProto->[messages->sendBroadcast](messages.sendBroadcast.md)(\['contacts ***

-$MadelineProto->[messages->sendEncrypted](messages.sendEncrypted.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'message' => [DecryptedMessage](../types/DecryptedMessage.md), \]) === [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +$MadelineProto->[messages->sendEncrypted](messages.sendEncrypted.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), \]) === [$messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ***

-$MadelineProto->[messages->sendEncryptedFile](messages.sendEncryptedFile.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'message' => [DecryptedMessage](../types/DecryptedMessage.md), 'file' => [InputEncryptedFile](../types/InputEncryptedFile.md), \]) === [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +$MadelineProto->[messages->sendEncryptedFile](messages.sendEncryptedFile.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), 'file' => [InputEncryptedFile](../types/InputEncryptedFile.md), \]) === [$messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ***

-$MadelineProto->[messages->sendEncryptedService](messages.sendEncryptedService.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'message' => [DecryptedMessage](../types/DecryptedMessage.md), \]) === [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +$MadelineProto->[messages->sendEncryptedService](messages.sendEncryptedService.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), \]) === [$messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ***

@@ -628,7 +628,7 @@ $MadelineProto->[photos->deletePhotos](photos.deletePhotos.md)(\['id' => \[[Inpu ***

-$MadelineProto->[photos->getUserPhotos](photos.getUserPhotos.md)(\['user_id' => [InputUser](../types/InputUser.md), 'offset' => [int](../types/int.md), 'max_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$photos\_Photos](../types/photos_Photos.md) +$MadelineProto->[photos->getUserPhotos](photos.getUserPhotos.md)(\['user_id' => [InputUser](../types/InputUser.md), 'offset' => [int](../types/int.md), 'max_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$photos.Photos](../types/photos.Photos.md) ***

@@ -636,23 +636,23 @@ $MadelineProto->[photos->updateProfilePhoto](photos.updateProfilePhoto.md)(\['id ***

-$MadelineProto->[photos->uploadProfilePhoto](photos.uploadProfilePhoto.md)(\['file' => [InputFile](../types/InputFile.md), 'caption' => [string](../types/string.md), 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'crop' => [InputPhotoCrop](../types/InputPhotoCrop.md), \]) === [$photos\_Photo](../types/photos_Photo.md) +$MadelineProto->[photos->uploadProfilePhoto](photos.uploadProfilePhoto.md)(\['file' => [InputFile](../types/InputFile.md), 'caption' => [string](../types/string.md), 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'crop' => [InputPhotoCrop](../types/InputPhotoCrop.md), \]) === [$photos.Photo](../types/photos.Photo.md) ***

-$MadelineProto->[updates->getChannelDifference](updates.getChannelDifference.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$updates\_ChannelDifference](../types/updates_ChannelDifference.md) +$MadelineProto->[updates->getChannelDifference](updates.getChannelDifference.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$updates.ChannelDifference](../types/updates.ChannelDifference.md) ***

-$MadelineProto->[updates->getDifference](updates.getDifference.md)(\['pts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) === [$updates\_Difference](../types/updates_Difference.md) +$MadelineProto->[updates->getDifference](updates.getDifference.md)(\['pts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) === [$updates.Difference](../types/updates.Difference.md) ***

-$MadelineProto->[updates->getState](updates.getState.md)(\[\]) === [$updates\_State](../types/updates_State.md) +$MadelineProto->[updates->getState](updates.getState.md)(\[\]) === [$updates.State](../types/updates.State.md) ***

-$MadelineProto->[upload->getFile](upload.getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_File](../types/upload_File.md) +$MadelineProto->[upload->getFile](upload.getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload.File](../types/upload.File.md) ***

diff --git a/old_docs/API_docs_v46/methods/auth.checkPassword.md b/old_docs/API_docs_v46/methods/auth.checkPassword.md index db65cb56..eeeed171 100644 --- a/old_docs/API_docs_v46/methods/auth.checkPassword.md +++ b/old_docs/API_docs_v46/methods/auth.checkPassword.md @@ -16,7 +16,7 @@ You cannot use this method directly, use the complete_2fa_login method instead ( |password\_hash|[bytes](../types/bytes.md) | You cannot use this method directly, use the complete_2fa_login method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->checkPassword(['password_hash' => 'bytes', ]); +$auth.Authorization = $MadelineProto->auth->checkPassword(['password_hash' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.checkPassword({password_hash='bytes', }) +auth.Authorization = auth.checkPassword({password_hash='bytes', }) ``` ### Errors diff --git a/old_docs/API_docs_v46/methods/auth.checkPhone.md b/old_docs/API_docs_v46/methods/auth.checkPhone.md index 227358cb..51d4cba6 100644 --- a/old_docs/API_docs_v46/methods/auth.checkPhone.md +++ b/old_docs/API_docs_v46/methods/auth.checkPhone.md @@ -16,7 +16,7 @@ Check if this phone number is registered on telegram |phone\_number|[string](../types/string.md) | The phone number to check | Yes| -### Return type: [auth\_CheckedPhone](../types/auth_CheckedPhone.md) +### Return type: [auth.CheckedPhone](../types/auth.CheckedPhone.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => 'string', ]); +$auth.CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_CheckedPhone = auth.checkPhone({phone_number='string', }) +auth.CheckedPhone = auth.checkPhone({phone_number='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v46/methods/auth.exportAuthorization.md b/old_docs/API_docs_v46/methods/auth.exportAuthorization.md index 72063a2b..41a1f87d 100644 --- a/old_docs/API_docs_v46/methods/auth.exportAuthorization.md +++ b/old_docs/API_docs_v46/methods/auth.exportAuthorization.md @@ -16,7 +16,7 @@ You cannot use this method directly, use $MadelineProto->exportAuthorization() i |dc\_id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| -### Return type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) +### Return type: [auth.ExportedAuthorization](../types/auth.ExportedAuthorization.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_ExportedAuthorization = $MadelineProto->auth->exportAuthorization(['dc_id' => int, ]); +$auth.ExportedAuthorization = $MadelineProto->auth->exportAuthorization(['dc_id' => int, ]); ``` Or, if you're into Lua: ```lua -auth_ExportedAuthorization = auth.exportAuthorization({dc_id=int, }) +auth.ExportedAuthorization = auth.exportAuthorization({dc_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v46/methods/auth.importAuthorization.md b/old_docs/API_docs_v46/methods/auth.importAuthorization.md index d9c13751..5257e0b0 100644 --- a/old_docs/API_docs_v46/methods/auth.importAuthorization.md +++ b/old_docs/API_docs_v46/methods/auth.importAuthorization.md @@ -17,7 +17,7 @@ You cannot use this method directly, use $MadelineProto->importAuthorization($au |bytes|[bytes](../types/bytes.md) | You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => 'bytes', ]); +$auth.Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.importAuthorization({id=int, bytes='bytes', }) +auth.Authorization = auth.importAuthorization({id=int, bytes='bytes', }) ``` ### Errors diff --git a/old_docs/API_docs_v46/methods/auth.importBotAuthorization.md b/old_docs/API_docs_v46/methods/auth.importBotAuthorization.md index 3161d6be..a4ea8027 100644 --- a/old_docs/API_docs_v46/methods/auth.importBotAuthorization.md +++ b/old_docs/API_docs_v46/methods/auth.importBotAuthorization.md @@ -18,7 +18,7 @@ You cannot use this method directly, use the botLogin method instead (see https: |bot\_auth\_token|[string](../types/string.md) | You cannot use this method directly, use the botLogin method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **YES** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->importBotAuthorization(['api_id' => int, 'api_hash' => 'string', 'bot_auth_token' => 'string', ]); +$auth.Authorization = $MadelineProto->auth->importBotAuthorization(['api_id' => int, 'api_hash' => 'string', 'bot_auth_token' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.importBotAuthorization({api_id=int, api_hash='string', bot_auth_token='string', }) +auth.Authorization = auth.importBotAuthorization({api_id=int, api_hash='string', bot_auth_token='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v46/methods/auth.recoverPassword.md b/old_docs/API_docs_v46/methods/auth.recoverPassword.md index f7cbf4a4..2e78444b 100644 --- a/old_docs/API_docs_v46/methods/auth.recoverPassword.md +++ b/old_docs/API_docs_v46/methods/auth.recoverPassword.md @@ -16,7 +16,7 @@ Reset the [2FA password](https://core.telegram.org/api/srp) using the recovery c |code|[string](../types/string.md) | Code received via email | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->recoverPassword(['code' => 'string', ]); +$auth.Authorization = $MadelineProto->auth->recoverPassword(['code' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.recoverPassword({code='string', }) +auth.Authorization = auth.recoverPassword({code='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v46/methods/auth.requestPasswordRecovery.md b/old_docs/API_docs_v46/methods/auth.requestPasswordRecovery.md index 5cd77936..ff1ecc02 100644 --- a/old_docs/API_docs_v46/methods/auth.requestPasswordRecovery.md +++ b/old_docs/API_docs_v46/methods/auth.requestPasswordRecovery.md @@ -11,7 +11,7 @@ Request recovery code of a [2FA password](https://core.telegram.org/api/srp), on -### Return type: [auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) +### Return type: [auth.PasswordRecovery](../types/auth.PasswordRecovery.md) ### Can bots use this method: **NO** @@ -28,13 +28,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_PasswordRecovery = $MadelineProto->auth->requestPasswordRecovery(); +$auth.PasswordRecovery = $MadelineProto->auth->requestPasswordRecovery(); ``` Or, if you're into Lua: ```lua -auth_PasswordRecovery = auth.requestPasswordRecovery({}) +auth.PasswordRecovery = auth.requestPasswordRecovery({}) ``` ### Errors diff --git a/old_docs/API_docs_v46/methods/auth.sendCode.md b/old_docs/API_docs_v46/methods/auth.sendCode.md index 9fa1a0c7..68b6ff31 100644 --- a/old_docs/API_docs_v46/methods/auth.sendCode.md +++ b/old_docs/API_docs_v46/methods/auth.sendCode.md @@ -20,7 +20,7 @@ You cannot use this method directly, use the phoneLogin method instead (see http |lang\_code|[string](../types/string.md) | You cannot use this method directly, use the phoneLogin method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_SentCode](../types/auth_SentCode.md) +### Return type: [auth.SentCode](../types/auth.SentCode.md) ### Can bots use this method: **NO** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_SentCode = $MadelineProto->auth->sendCode(['phone_number' => 'string', 'sms_type' => int, 'api_id' => int, 'api_hash' => 'string', 'lang_code' => 'string', ]); +$auth.SentCode = $MadelineProto->auth->sendCode(['phone_number' => 'string', 'sms_type' => int, 'api_id' => int, 'api_hash' => 'string', 'lang_code' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_SentCode = auth.sendCode({phone_number='string', sms_type=int, api_id=int, api_hash='string', lang_code='string', }) +auth.SentCode = auth.sendCode({phone_number='string', sms_type=int, api_id=int, api_hash='string', lang_code='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v46/methods/auth.signIn.md b/old_docs/API_docs_v46/methods/auth.signIn.md index 54812a2e..95b14f32 100644 --- a/old_docs/API_docs_v46/methods/auth.signIn.md +++ b/old_docs/API_docs_v46/methods/auth.signIn.md @@ -18,7 +18,7 @@ You cannot use this method directly, use the completePhoneLogin method instead ( |phone\_code|[string](../types/string.md) | You cannot use this method directly, use the completePhoneLogin method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->signIn(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', ]); +$auth.Authorization = $MadelineProto->auth->signIn(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.signIn({phone_number='string', phone_code_hash='string', phone_code='string', }) +auth.Authorization = auth.signIn({phone_number='string', phone_code_hash='string', phone_code='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v46/methods/auth.signUp.md b/old_docs/API_docs_v46/methods/auth.signUp.md index 2aca2bfa..fdb5d628 100644 --- a/old_docs/API_docs_v46/methods/auth.signUp.md +++ b/old_docs/API_docs_v46/methods/auth.signUp.md @@ -20,7 +20,7 @@ You cannot use this method directly, use the completeSignup method instead (see |last\_name|[string](../types/string.md) | You cannot use this method directly, use the completeSignup method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **NO** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->signUp(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', 'first_name' => 'string', 'last_name' => 'string', ]); +$auth.Authorization = $MadelineProto->auth->signUp(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', 'first_name' => 'string', 'last_name' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.signUp({phone_number='string', phone_code_hash='string', phone_code='string', first_name='string', last_name='string', }) +auth.Authorization = auth.signUp({phone_number='string', phone_code_hash='string', phone_code='string', first_name='string', last_name='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v46/methods/channels.deleteMessages.md b/old_docs/API_docs_v46/methods/channels.deleteMessages.md index 10a439fb..8583e560 100644 --- a/old_docs/API_docs_v46/methods/channels.deleteMessages.md +++ b/old_docs/API_docs_v46/methods/channels.deleteMessages.md @@ -17,7 +17,7 @@ Delete messages in a [channel/supergroup](https://core.telegram.org/api/channel) |id|Array of [int](../types/int.md) | The IDs of messages to delete | Yes| -### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) +### Return type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedMessages = $MadelineProto->channels->deleteMessages(['channel' => InputChannel, 'id' => [int, int], ]); +$messages.AffectedMessages = $MadelineProto->channels->deleteMessages(['channel' => InputChannel, 'id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AffectedMessages = channels.deleteMessages({channel=InputChannel, id={int}, }) +messages.AffectedMessages = channels.deleteMessages({channel=InputChannel, id={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v46/methods/channels.deleteUserHistory.md b/old_docs/API_docs_v46/methods/channels.deleteUserHistory.md index 9b8b159f..6ccaf7dd 100644 --- a/old_docs/API_docs_v46/methods/channels.deleteUserHistory.md +++ b/old_docs/API_docs_v46/methods/channels.deleteUserHistory.md @@ -17,7 +17,7 @@ Delete all messages sent by a certain user in a [supergroup](https://core.telegr |user\_id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | User whose messages should be deleted | Optional| -### Return type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) +### Return type: [messages.AffectedHistory](../types/messages.AffectedHistory.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedHistory = $MadelineProto->channels->deleteUserHistory(['channel' => InputChannel, 'user_id' => InputUser, ]); +$messages.AffectedHistory = $MadelineProto->channels->deleteUserHistory(['channel' => InputChannel, 'user_id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -messages_AffectedHistory = channels.deleteUserHistory({channel=InputChannel, user_id=InputUser, }) +messages.AffectedHistory = channels.deleteUserHistory({channel=InputChannel, user_id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v46/methods/channels.getChannels.md b/old_docs/API_docs_v46/methods/channels.getChannels.md index 368c96ce..ed9cf4a7 100644 --- a/old_docs/API_docs_v46/methods/channels.getChannels.md +++ b/old_docs/API_docs_v46/methods/channels.getChannels.md @@ -16,7 +16,7 @@ Get info about [channels/supergroups](https://core.telegram.org/api/channel) |id|Array of [Username, chat ID, Update, Message or InputChannel](../types/InputChannel.md) | The channel/supergroup MTProto IDs | Yes| -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->channels->getChannels(['id' => [InputChannel, InputChannel], ]); +$messages.Chats = $MadelineProto->channels->getChannels(['id' => [InputChannel, InputChannel], ]); ``` Or, if you're into Lua: ```lua -messages_Chats = channels.getChannels({id={InputChannel}, }) +messages.Chats = channels.getChannels({id={InputChannel}, }) ``` ### Errors diff --git a/old_docs/API_docs_v46/methods/channels.getDialogs.md b/old_docs/API_docs_v46/methods/channels.getDialogs.md index b75c785d..b9bfe655 100644 --- a/old_docs/API_docs_v46/methods/channels.getDialogs.md +++ b/old_docs/API_docs_v46/methods/channels.getDialogs.md @@ -17,7 +17,7 @@ Get channel dialogs |limit|[int](../types/int.md) | Number of results to return | Yes| -### Return type: [messages\_Dialogs](../types/messages_Dialogs.md) +### Return type: [messages.Dialogs](../types/messages.Dialogs.md) ### Can bots use this method: **YES** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Dialogs = $MadelineProto->channels->getDialogs(['offset' => int, 'limit' => int, ]); +$messages.Dialogs = $MadelineProto->channels->getDialogs(['offset' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Dialogs = channels.getDialogs({offset=int, limit=int, }) +messages.Dialogs = channels.getDialogs({offset=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v46/methods/channels.getFullChannel.md b/old_docs/API_docs_v46/methods/channels.getFullChannel.md index 08dc21bb..1369e0a0 100644 --- a/old_docs/API_docs_v46/methods/channels.getFullChannel.md +++ b/old_docs/API_docs_v46/methods/channels.getFullChannel.md @@ -16,7 +16,7 @@ You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo me |channel|[Username, chat ID, Update, Message or InputChannel](../types/InputChannel.md) | You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo methods instead (see https://docs.madelineproto.xyz for more info) | Optional| -### Return type: [messages\_ChatFull](../types/messages_ChatFull.md) +### Return type: [messages.ChatFull](../types/messages.ChatFull.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_ChatFull = $MadelineProto->channels->getFullChannel(['channel' => InputChannel, ]); +$messages.ChatFull = $MadelineProto->channels->getFullChannel(['channel' => InputChannel, ]); ``` Or, if you're into Lua: ```lua -messages_ChatFull = channels.getFullChannel({channel=InputChannel, }) +messages.ChatFull = channels.getFullChannel({channel=InputChannel, }) ``` ### Errors diff --git a/old_docs/API_docs_v46/methods/channels.getImportantHistory.md b/old_docs/API_docs_v46/methods/channels.getImportantHistory.md index 7375a015..5fe317b8 100644 --- a/old_docs/API_docs_v46/methods/channels.getImportantHistory.md +++ b/old_docs/API_docs_v46/methods/channels.getImportantHistory.md @@ -21,7 +21,7 @@ Get important channel/supergroup history |min\_id|[int](../types/int.md) | Minumum message ID | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **YES** @@ -38,12 +38,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->channels->getImportantHistory(['channel' => InputChannel, 'offset_id' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); +$messages.Messages = $MadelineProto->channels->getImportantHistory(['channel' => InputChannel, 'offset_id' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Messages = channels.getImportantHistory({channel=InputChannel, offset_id=int, add_offset=int, limit=int, max_id=int, min_id=int, }) +messages.Messages = channels.getImportantHistory({channel=InputChannel, offset_id=int, add_offset=int, limit=int, max_id=int, min_id=int, }) ``` diff --git a/old_docs/API_docs_v46/methods/channels.getMessages.md b/old_docs/API_docs_v46/methods/channels.getMessages.md index 379e0e9d..5023ea1a 100644 --- a/old_docs/API_docs_v46/methods/channels.getMessages.md +++ b/old_docs/API_docs_v46/methods/channels.getMessages.md @@ -17,7 +17,7 @@ Get [channel/supergroup](https://core.telegram.org/api/channel) messages |id|Array of [int](../types/int.md) | The message IDs | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->channels->getMessages(['channel' => InputChannel, 'id' => [int, int], ]); +$messages.Messages = $MadelineProto->channels->getMessages(['channel' => InputChannel, 'id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Messages = channels.getMessages({channel=InputChannel, id={int}, }) +messages.Messages = channels.getMessages({channel=InputChannel, id={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v46/methods/channels.getParticipant.md b/old_docs/API_docs_v46/methods/channels.getParticipant.md index aa2ce655..cf6a7771 100644 --- a/old_docs/API_docs_v46/methods/channels.getParticipant.md +++ b/old_docs/API_docs_v46/methods/channels.getParticipant.md @@ -17,7 +17,7 @@ Get info about a [channel/supergroup](https://core.telegram.org/api/channel) par |user\_id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | ID of participant to get info about | Optional| -### Return type: [channels\_ChannelParticipant](../types/channels_ChannelParticipant.md) +### Return type: [channels.ChannelParticipant](../types/channels.ChannelParticipant.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$channels_ChannelParticipant = $MadelineProto->channels->getParticipant(['channel' => InputChannel, 'user_id' => InputUser, ]); +$channels.ChannelParticipant = $MadelineProto->channels->getParticipant(['channel' => InputChannel, 'user_id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -channels_ChannelParticipant = channels.getParticipant({channel=InputChannel, user_id=InputUser, }) +channels.ChannelParticipant = channels.getParticipant({channel=InputChannel, user_id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v46/methods/channels.getParticipants.md b/old_docs/API_docs_v46/methods/channels.getParticipants.md index 9be95921..bfeccd48 100644 --- a/old_docs/API_docs_v46/methods/channels.getParticipants.md +++ b/old_docs/API_docs_v46/methods/channels.getParticipants.md @@ -19,7 +19,7 @@ Get the participants of a channel |limit|[int](../types/int.md) | [Limit](https://core.telegram.org/api/offsets) | Yes| -### Return type: [channels\_ChannelParticipants](../types/channels_ChannelParticipants.md) +### Return type: [channels.ChannelParticipants](../types/channels.ChannelParticipants.md) ### Can bots use this method: **YES** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$channels_ChannelParticipants = $MadelineProto->channels->getParticipants(['channel' => InputChannel, 'filter' => ChannelParticipantsFilter, 'offset' => int, 'limit' => int, ]); +$channels.ChannelParticipants = $MadelineProto->channels->getParticipants(['channel' => InputChannel, 'filter' => ChannelParticipantsFilter, 'offset' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -channels_ChannelParticipants = channels.getParticipants({channel=InputChannel, filter=ChannelParticipantsFilter, offset=int, limit=int, }) +channels.ChannelParticipants = channels.getParticipants({channel=InputChannel, filter=ChannelParticipantsFilter, offset=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v46/methods/contacts.deleteContact.md b/old_docs/API_docs_v46/methods/contacts.deleteContact.md index a9321d64..9169e1e0 100644 --- a/old_docs/API_docs_v46/methods/contacts.deleteContact.md +++ b/old_docs/API_docs_v46/methods/contacts.deleteContact.md @@ -16,7 +16,7 @@ Delete a contact |id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | The contact to delete | Optional| -### Return type: [contacts\_Link](../types/contacts_Link.md) +### Return type: [contacts.Link](../types/contacts.Link.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Link = $MadelineProto->contacts->deleteContact(['id' => InputUser, ]); +$contacts.Link = $MadelineProto->contacts->deleteContact(['id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -contacts_Link = contacts.deleteContact({id=InputUser, }) +contacts.Link = contacts.deleteContact({id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v46/methods/contacts.getBlocked.md b/old_docs/API_docs_v46/methods/contacts.getBlocked.md index 92f2f331..6ac1c343 100644 --- a/old_docs/API_docs_v46/methods/contacts.getBlocked.md +++ b/old_docs/API_docs_v46/methods/contacts.getBlocked.md @@ -17,7 +17,7 @@ Returns the list of blocked users. |limit|[int](../types/int.md) | The number of list elements to be returned | Yes| -### Return type: [contacts\_Blocked](../types/contacts_Blocked.md) +### Return type: [contacts.Blocked](../types/contacts.Blocked.md) ### Can bots use this method: **NO** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Blocked = $MadelineProto->contacts->getBlocked(['offset' => int, 'limit' => int, ]); +$contacts.Blocked = $MadelineProto->contacts->getBlocked(['offset' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -contacts_Blocked = contacts.getBlocked({offset=int, limit=int, }) +contacts.Blocked = contacts.getBlocked({offset=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v46/methods/contacts.getContacts.md b/old_docs/API_docs_v46/methods/contacts.getContacts.md index caee7aa8..a2fcd412 100644 --- a/old_docs/API_docs_v46/methods/contacts.getContacts.md +++ b/old_docs/API_docs_v46/methods/contacts.getContacts.md @@ -16,7 +16,7 @@ Returns the current user's contact list. |hash|[string](../types/string.md) | List of contact user IDs you already cached | Yes| -### Return type: [contacts\_Contacts](../types/contacts_Contacts.md) +### Return type: [contacts.Contacts](../types/contacts.Contacts.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Contacts = $MadelineProto->contacts->getContacts(['hash' => 'string', ]); +$contacts.Contacts = $MadelineProto->contacts->getContacts(['hash' => 'string', ]); ``` Or, if you're into Lua: ```lua -contacts_Contacts = contacts.getContacts({hash='string', }) +contacts.Contacts = contacts.getContacts({hash='string', }) ``` diff --git a/old_docs/API_docs_v46/methods/contacts.getSuggested.md b/old_docs/API_docs_v46/methods/contacts.getSuggested.md index 32e96621..ede222d4 100644 --- a/old_docs/API_docs_v46/methods/contacts.getSuggested.md +++ b/old_docs/API_docs_v46/methods/contacts.getSuggested.md @@ -16,7 +16,7 @@ Get suggested contacts |limit|[int](../types/int.md) | Number of results to return | Yes| -### Return type: [contacts\_Suggested](../types/contacts_Suggested.md) +### Return type: [contacts.Suggested](../types/contacts.Suggested.md) ### Can bots use this method: **YES** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Suggested = $MadelineProto->contacts->getSuggested(['limit' => int, ]); +$contacts.Suggested = $MadelineProto->contacts->getSuggested(['limit' => int, ]); ``` Or, if you're into Lua: ```lua -contacts_Suggested = contacts.getSuggested({limit=int, }) +contacts.Suggested = contacts.getSuggested({limit=int, }) ``` diff --git a/old_docs/API_docs_v46/methods/contacts.importContacts.md b/old_docs/API_docs_v46/methods/contacts.importContacts.md index 572df9fb..975d0565 100644 --- a/old_docs/API_docs_v46/methods/contacts.importContacts.md +++ b/old_docs/API_docs_v46/methods/contacts.importContacts.md @@ -17,7 +17,7 @@ Imports contacts: saves a full list on the server, adds already registered conta |replace|[Bool](../types/Bool.md) | Replace contacts? | Yes| -### Return type: [contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) +### Return type: [contacts.ImportedContacts](../types/contacts.ImportedContacts.md) ### Can bots use this method: **NO** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_ImportedContacts = $MadelineProto->contacts->importContacts(['contacts' => [InputContact, InputContact], 'replace' => Bool, ]); +$contacts.ImportedContacts = $MadelineProto->contacts->importContacts(['contacts' => [InputContact, InputContact], 'replace' => Bool, ]); ``` Or, if you're into Lua: ```lua -contacts_ImportedContacts = contacts.importContacts({contacts={InputContact}, replace=Bool, }) +contacts.ImportedContacts = contacts.importContacts({contacts={InputContact}, replace=Bool, }) ``` diff --git a/old_docs/API_docs_v46/methods/contacts.resolveUsername.md b/old_docs/API_docs_v46/methods/contacts.resolveUsername.md index 05e3d854..46f1eb50 100644 --- a/old_docs/API_docs_v46/methods/contacts.resolveUsername.md +++ b/old_docs/API_docs_v46/methods/contacts.resolveUsername.md @@ -16,7 +16,7 @@ You cannot use this method directly, use the resolveUsername, getPwrChat, getInf |username|[string](../types/string.md) | You cannot use this method directly, use the resolveUsername, getPwrChat, getInfo, getFullInfo methods instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [contacts\_ResolvedPeer](../types/contacts_ResolvedPeer.md) +### Return type: [contacts.ResolvedPeer](../types/contacts.ResolvedPeer.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_ResolvedPeer = $MadelineProto->contacts->resolveUsername(['username' => 'string', ]); +$contacts.ResolvedPeer = $MadelineProto->contacts->resolveUsername(['username' => 'string', ]); ``` Or, if you're into Lua: ```lua -contacts_ResolvedPeer = contacts.resolveUsername({username='string', }) +contacts.ResolvedPeer = contacts.resolveUsername({username='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v46/methods/contacts.search.md b/old_docs/API_docs_v46/methods/contacts.search.md index 2f39d6f1..ec04c7f9 100644 --- a/old_docs/API_docs_v46/methods/contacts.search.md +++ b/old_docs/API_docs_v46/methods/contacts.search.md @@ -17,7 +17,7 @@ Returns users found by username substring. |limit|[int](../types/int.md) | Maximum number of users to be returned | Yes| -### Return type: [contacts\_Found](../types/contacts_Found.md) +### Return type: [contacts.Found](../types/contacts.Found.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Found = $MadelineProto->contacts->search(['q' => 'string', 'limit' => int, ]); +$contacts.Found = $MadelineProto->contacts->search(['q' => 'string', 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -contacts_Found = contacts.search({q='string', limit=int, }) +contacts.Found = contacts.search({q='string', limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v46/methods/help.getAppChangelog.md b/old_docs/API_docs_v46/methods/help.getAppChangelog.md index 890e3a4b..29bee8fb 100644 --- a/old_docs/API_docs_v46/methods/help.getAppChangelog.md +++ b/old_docs/API_docs_v46/methods/help.getAppChangelog.md @@ -19,7 +19,7 @@ Get changelog of current app |lang\_code|[string](../types/string.md) | Language code | Yes| -### Return type: [help\_AppChangelog](../types/help_AppChangelog.md) +### Return type: [help.AppChangelog](../types/help.AppChangelog.md) ### Can bots use this method: **NO** @@ -36,12 +36,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_AppChangelog = $MadelineProto->help->getAppChangelog(['device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'lang_code' => 'string', ]); +$help.AppChangelog = $MadelineProto->help->getAppChangelog(['device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'lang_code' => 'string', ]); ``` Or, if you're into Lua: ```lua -help_AppChangelog = help.getAppChangelog({device_model='string', system_version='string', app_version='string', lang_code='string', }) +help.AppChangelog = help.getAppChangelog({device_model='string', system_version='string', app_version='string', lang_code='string', }) ``` diff --git a/old_docs/API_docs_v46/methods/help.getAppUpdate.md b/old_docs/API_docs_v46/methods/help.getAppUpdate.md index 0f844391..bfbed19e 100644 --- a/old_docs/API_docs_v46/methods/help.getAppUpdate.md +++ b/old_docs/API_docs_v46/methods/help.getAppUpdate.md @@ -19,7 +19,7 @@ Returns information on update availability for the current application. |lang\_code|[string](../types/string.md) | Langauge code | Yes| -### Return type: [help\_AppUpdate](../types/help_AppUpdate.md) +### Return type: [help.AppUpdate](../types/help.AppUpdate.md) ### Can bots use this method: **NO** @@ -36,12 +36,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_AppUpdate = $MadelineProto->help->getAppUpdate(['device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'lang_code' => 'string', ]); +$help.AppUpdate = $MadelineProto->help->getAppUpdate(['device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'lang_code' => 'string', ]); ``` Or, if you're into Lua: ```lua -help_AppUpdate = help.getAppUpdate({device_model='string', system_version='string', app_version='string', lang_code='string', }) +help.AppUpdate = help.getAppUpdate({device_model='string', system_version='string', app_version='string', lang_code='string', }) ``` diff --git a/old_docs/API_docs_v46/methods/help.getInviteText.md b/old_docs/API_docs_v46/methods/help.getInviteText.md index 482afbc0..f84b2e82 100644 --- a/old_docs/API_docs_v46/methods/help.getInviteText.md +++ b/old_docs/API_docs_v46/methods/help.getInviteText.md @@ -16,7 +16,7 @@ Returns text of a text message with an invitation. |lang\_code|[string](../types/string.md) | Language | Yes| -### Return type: [help\_InviteText](../types/help_InviteText.md) +### Return type: [help.InviteText](../types/help.InviteText.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_InviteText = $MadelineProto->help->getInviteText(['lang_code' => 'string', ]); +$help.InviteText = $MadelineProto->help->getInviteText(['lang_code' => 'string', ]); ``` Or, if you're into Lua: ```lua -help_InviteText = help.getInviteText({lang_code='string', }) +help.InviteText = help.getInviteText({lang_code='string', }) ``` diff --git a/old_docs/API_docs_v46/methods/help.getSupport.md b/old_docs/API_docs_v46/methods/help.getSupport.md index 7a577892..8a8df916 100644 --- a/old_docs/API_docs_v46/methods/help.getSupport.md +++ b/old_docs/API_docs_v46/methods/help.getSupport.md @@ -11,7 +11,7 @@ Returns the support user for the 'ask a question' feature. -### Return type: [help\_Support](../types/help_Support.md) +### Return type: [help.Support](../types/help.Support.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_Support = $MadelineProto->help->getSupport(); +$help.Support = $MadelineProto->help->getSupport(); ``` Or, if you're into Lua: ```lua -help_Support = help.getSupport({}) +help.Support = help.getSupport({}) ``` diff --git a/old_docs/API_docs_v46/methods/help.getTermsOfService.md b/old_docs/API_docs_v46/methods/help.getTermsOfService.md index b6ae8378..fe267c6f 100644 --- a/old_docs/API_docs_v46/methods/help.getTermsOfService.md +++ b/old_docs/API_docs_v46/methods/help.getTermsOfService.md @@ -16,7 +16,7 @@ Get terms of service |lang\_code|[string](../types/string.md) | Language code | Yes| -### Return type: [help\_TermsOfService](../types/help_TermsOfService.md) +### Return type: [help.TermsOfService](../types/help.TermsOfService.md) ### Can bots use this method: **YES** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_TermsOfService = $MadelineProto->help->getTermsOfService(['lang_code' => 'string', ]); +$help.TermsOfService = $MadelineProto->help->getTermsOfService(['lang_code' => 'string', ]); ``` Or, if you're into Lua: ```lua -help_TermsOfService = help.getTermsOfService({lang_code='string', }) +help.TermsOfService = help.getTermsOfService({lang_code='string', }) ``` diff --git a/old_docs/API_docs_v46/methods/messages.deleteHistory.md b/old_docs/API_docs_v46/methods/messages.deleteHistory.md index f7f34456..9515d31c 100644 --- a/old_docs/API_docs_v46/methods/messages.deleteHistory.md +++ b/old_docs/API_docs_v46/methods/messages.deleteHistory.md @@ -17,7 +17,7 @@ Deletes communication history. |max\_id|[int](../types/int.md) | Maximum ID of message to delete | Yes| -### Return type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) +### Return type: [messages.AffectedHistory](../types/messages.AffectedHistory.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedHistory = $MadelineProto->messages->deleteHistory(['peer' => InputPeer, 'max_id' => int, ]); +$messages.AffectedHistory = $MadelineProto->messages->deleteHistory(['peer' => InputPeer, 'max_id' => int, ]); ``` Or, if you're into Lua: ```lua -messages_AffectedHistory = messages.deleteHistory({peer=InputPeer, max_id=int, }) +messages.AffectedHistory = messages.deleteHistory({peer=InputPeer, max_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v46/methods/messages.deleteMessages.md b/old_docs/API_docs_v46/methods/messages.deleteMessages.md index 355b2ff8..cc432cc1 100644 --- a/old_docs/API_docs_v46/methods/messages.deleteMessages.md +++ b/old_docs/API_docs_v46/methods/messages.deleteMessages.md @@ -16,7 +16,7 @@ Deletes messages by their identifiers. |id|Array of [int](../types/int.md) | IDs of messages to delete, use channels->deleteMessages for supergroups | Yes| -### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) +### Return type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedMessages = $MadelineProto->messages->deleteMessages(['id' => [int, int], ]); +$messages.AffectedMessages = $MadelineProto->messages->deleteMessages(['id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AffectedMessages = messages.deleteMessages({id={int}, }) +messages.AffectedMessages = messages.deleteMessages({id={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v46/methods/messages.getAllStickers.md b/old_docs/API_docs_v46/methods/messages.getAllStickers.md index 329b70be..0f0de7f1 100644 --- a/old_docs/API_docs_v46/methods/messages.getAllStickers.md +++ b/old_docs/API_docs_v46/methods/messages.getAllStickers.md @@ -16,7 +16,7 @@ Get all installed stickers |hash|Array of [int](../types/int.md) | The hash parameter of the previous result of this method | Optional| -### Return type: [messages\_AllStickers](../types/messages_AllStickers.md) +### Return type: [messages.AllStickers](../types/messages.AllStickers.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AllStickers = $MadelineProto->messages->getAllStickers(['hash' => [int, int], ]); +$messages.AllStickers = $MadelineProto->messages->getAllStickers(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AllStickers = messages.getAllStickers({hash={int}, }) +messages.AllStickers = messages.getAllStickers({hash={int}, }) ``` diff --git a/old_docs/API_docs_v46/methods/messages.getChats.md b/old_docs/API_docs_v46/methods/messages.getChats.md index c34b0488..146341f5 100644 --- a/old_docs/API_docs_v46/methods/messages.getChats.md +++ b/old_docs/API_docs_v46/methods/messages.getChats.md @@ -16,7 +16,7 @@ Returns chat basic info on their IDs. |id|Array of [int](../types/int.md) | The MTProto IDs of chats to fetch info about | Yes| -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->messages->getChats(['id' => [int, int], ]); +$messages.Chats = $MadelineProto->messages->getChats(['id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Chats = messages.getChats({id={int}, }) +messages.Chats = messages.getChats({id={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v46/methods/messages.getDhConfig.md b/old_docs/API_docs_v46/methods/messages.getDhConfig.md index 88ea4ab3..7b9da566 100644 --- a/old_docs/API_docs_v46/methods/messages.getDhConfig.md +++ b/old_docs/API_docs_v46/methods/messages.getDhConfig.md @@ -17,7 +17,7 @@ You cannot use this method directly, instead use $MadelineProto->getDhConfig(); |random\_length|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->getDhConfig(); | Yes| -### Return type: [messages\_DhConfig](../types/messages_DhConfig.md) +### Return type: [messages.DhConfig](../types/messages.DhConfig.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_DhConfig = $MadelineProto->messages->getDhConfig(['version' => int, 'random_length' => int, ]); +$messages.DhConfig = $MadelineProto->messages->getDhConfig(['version' => int, 'random_length' => int, ]); ``` Or, if you're into Lua: ```lua -messages_DhConfig = messages.getDhConfig({version=int, random_length=int, }) +messages.DhConfig = messages.getDhConfig({version=int, random_length=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v46/methods/messages.getDialogs.md b/old_docs/API_docs_v46/methods/messages.getDialogs.md index f262b574..6e246feb 100644 --- a/old_docs/API_docs_v46/methods/messages.getDialogs.md +++ b/old_docs/API_docs_v46/methods/messages.getDialogs.md @@ -19,7 +19,7 @@ Returns the current user dialog list. |limit|[int](../types/int.md) | Number of list elements to be returned | Yes| -### Return type: [messages\_Dialogs](../types/messages_Dialogs.md) +### Return type: [messages.Dialogs](../types/messages.Dialogs.md) ### Can bots use this method: **NO** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Dialogs = $MadelineProto->messages->getDialogs(['offset_date' => int, 'offset_id' => int, 'offset_peer' => InputPeer, 'limit' => int, ]); +$messages.Dialogs = $MadelineProto->messages->getDialogs(['offset_date' => int, 'offset_id' => int, 'offset_peer' => InputPeer, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Dialogs = messages.getDialogs({offset_date=int, offset_id=int, offset_peer=InputPeer, limit=int, }) +messages.Dialogs = messages.getDialogs({offset_date=int, offset_id=int, offset_peer=InputPeer, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v46/methods/messages.getFullChat.md b/old_docs/API_docs_v46/methods/messages.getFullChat.md index abf23e21..de543651 100644 --- a/old_docs/API_docs_v46/methods/messages.getFullChat.md +++ b/old_docs/API_docs_v46/methods/messages.getFullChat.md @@ -16,7 +16,7 @@ You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo me |chat\_id|[Username, chat ID, Update, Message or InputPeer](../types/InputPeer.md) | You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo methods instead (see https://docs.madelineproto.xyz for more info) | Optional| -### Return type: [messages\_ChatFull](../types/messages_ChatFull.md) +### Return type: [messages.ChatFull](../types/messages.ChatFull.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_ChatFull = $MadelineProto->messages->getFullChat(['chat_id' => InputPeer, ]); +$messages.ChatFull = $MadelineProto->messages->getFullChat(['chat_id' => InputPeer, ]); ``` Or, if you're into Lua: ```lua -messages_ChatFull = messages.getFullChat({chat_id=InputPeer, }) +messages.ChatFull = messages.getFullChat({chat_id=InputPeer, }) ``` ### Errors diff --git a/old_docs/API_docs_v46/methods/messages.getHistory.md b/old_docs/API_docs_v46/methods/messages.getHistory.md index c6d7a647..1e13bc34 100644 --- a/old_docs/API_docs_v46/methods/messages.getHistory.md +++ b/old_docs/API_docs_v46/methods/messages.getHistory.md @@ -21,7 +21,7 @@ Gets back the conversation history with one interlocutor / within a chat |min\_id|[int](../types/int.md) | If a positive value was transferred, the method will return only messages with IDs more than **min\_id** | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **NO** @@ -38,13 +38,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->getHistory(['peer' => InputPeer, 'offset_id' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); +$messages.Messages = $MadelineProto->messages->getHistory(['peer' => InputPeer, 'offset_id' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.getHistory({peer=InputPeer, offset_id=int, add_offset=int, limit=int, max_id=int, min_id=int, }) +messages.Messages = messages.getHistory({peer=InputPeer, offset_id=int, add_offset=int, limit=int, max_id=int, min_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v46/methods/messages.getInlineBotResults.md b/old_docs/API_docs_v46/methods/messages.getInlineBotResults.md index b5f2934e..9b5a2db5 100644 --- a/old_docs/API_docs_v46/methods/messages.getInlineBotResults.md +++ b/old_docs/API_docs_v46/methods/messages.getInlineBotResults.md @@ -18,7 +18,7 @@ Query an inline bot |offset|[string](../types/string.md) | The offset within the results, will be passed directly as-is to the bot. | Yes| -### Return type: [messages\_BotResults](../types/messages_BotResults.md) +### Return type: [messages.BotResults](../types/messages.BotResults.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_BotResults = $MadelineProto->messages->getInlineBotResults(['bot' => InputUser, 'query' => 'string', 'offset' => 'string', ]); +$messages.BotResults = $MadelineProto->messages->getInlineBotResults(['bot' => InputUser, 'query' => 'string', 'offset' => 'string', ]); ``` Or, if you're into Lua: ```lua -messages_BotResults = messages.getInlineBotResults({bot=InputUser, query='string', offset='string', }) +messages.BotResults = messages.getInlineBotResults({bot=InputUser, query='string', offset='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v46/methods/messages.getMessages.md b/old_docs/API_docs_v46/methods/messages.getMessages.md index a3139513..c7760d7e 100644 --- a/old_docs/API_docs_v46/methods/messages.getMessages.md +++ b/old_docs/API_docs_v46/methods/messages.getMessages.md @@ -16,7 +16,7 @@ Returns the list of messages by their IDs. |id|Array of [int](../types/int.md) | The IDs of messages to fetch (only for users and normal groups) | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **YES** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->getMessages(['id' => [int, int], ]); +$messages.Messages = $MadelineProto->messages->getMessages(['id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.getMessages({id={int}, }) +messages.Messages = messages.getMessages({id={int}, }) ``` diff --git a/old_docs/API_docs_v46/methods/messages.getSavedGifs.md b/old_docs/API_docs_v46/methods/messages.getSavedGifs.md index 1df7f37c..8b31f7b8 100644 --- a/old_docs/API_docs_v46/methods/messages.getSavedGifs.md +++ b/old_docs/API_docs_v46/methods/messages.getSavedGifs.md @@ -16,7 +16,7 @@ Get saved GIFs |hash|Array of [int](../types/int.md) | the hash parameter of the previous result of this method | Optional| -### Return type: [messages\_SavedGifs](../types/messages_SavedGifs.md) +### Return type: [messages.SavedGifs](../types/messages.SavedGifs.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_SavedGifs = $MadelineProto->messages->getSavedGifs(['hash' => [int, int], ]); +$messages.SavedGifs = $MadelineProto->messages->getSavedGifs(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_SavedGifs = messages.getSavedGifs({hash={int}, }) +messages.SavedGifs = messages.getSavedGifs({hash={int}, }) ``` diff --git a/old_docs/API_docs_v46/methods/messages.getStickerSet.md b/old_docs/API_docs_v46/methods/messages.getStickerSet.md index 45fca60f..f11887ee 100644 --- a/old_docs/API_docs_v46/methods/messages.getStickerSet.md +++ b/old_docs/API_docs_v46/methods/messages.getStickerSet.md @@ -16,7 +16,7 @@ Get info about a stickerset |stickerset|[InputStickerSet](../types/InputStickerSet.md) | Stickerset | Optional| -### Return type: [messages\_StickerSet](../types/messages_StickerSet.md) +### Return type: [messages.StickerSet](../types/messages.StickerSet.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StickerSet = $MadelineProto->messages->getStickerSet(['stickerset' => InputStickerSet, ]); +$messages.StickerSet = $MadelineProto->messages->getStickerSet(['stickerset' => InputStickerSet, ]); ``` Or, if you're into Lua: ```lua -messages_StickerSet = messages.getStickerSet({stickerset=InputStickerSet, }) +messages.StickerSet = messages.getStickerSet({stickerset=InputStickerSet, }) ``` ### Errors diff --git a/old_docs/API_docs_v46/methods/messages.getStickers.md b/old_docs/API_docs_v46/methods/messages.getStickers.md index aa149fc3..6fab91a5 100644 --- a/old_docs/API_docs_v46/methods/messages.getStickers.md +++ b/old_docs/API_docs_v46/methods/messages.getStickers.md @@ -17,7 +17,7 @@ Get stickers by emoji |hash|[string](../types/string.md) | Previously fetched sticker IDs | Yes| -### Return type: [messages\_Stickers](../types/messages_Stickers.md) +### Return type: [messages.Stickers](../types/messages.Stickers.md) ### Can bots use this method: **NO** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Stickers = $MadelineProto->messages->getStickers(['emoticon' => 'string', 'hash' => 'string', ]); +$messages.Stickers = $MadelineProto->messages->getStickers(['emoticon' => 'string', 'hash' => 'string', ]); ``` Or, if you're into Lua: ```lua -messages_Stickers = messages.getStickers({emoticon='string', hash='string', }) +messages.Stickers = messages.getStickers({emoticon='string', hash='string', }) ``` diff --git a/old_docs/API_docs_v46/methods/messages.readHistory.md b/old_docs/API_docs_v46/methods/messages.readHistory.md index 39753375..52030c68 100644 --- a/old_docs/API_docs_v46/methods/messages.readHistory.md +++ b/old_docs/API_docs_v46/methods/messages.readHistory.md @@ -17,7 +17,7 @@ Marks message history as read. |max\_id|[int](../types/int.md) | If a positive value is passed, only messages with identifiers less or equal than the given one will be read | Yes| -### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) +### Return type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedMessages = $MadelineProto->messages->readHistory(['peer' => InputPeer, 'max_id' => int, ]); +$messages.AffectedMessages = $MadelineProto->messages->readHistory(['peer' => InputPeer, 'max_id' => int, ]); ``` Or, if you're into Lua: ```lua -messages_AffectedMessages = messages.readHistory({peer=InputPeer, max_id=int, }) +messages.AffectedMessages = messages.readHistory({peer=InputPeer, max_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v46/methods/messages.readMessageContents.md b/old_docs/API_docs_v46/methods/messages.readMessageContents.md index c479cafe..9798e661 100644 --- a/old_docs/API_docs_v46/methods/messages.readMessageContents.md +++ b/old_docs/API_docs_v46/methods/messages.readMessageContents.md @@ -16,7 +16,7 @@ Notifies the sender about the recipient having listened a voice message or watch |id|Array of [int](../types/int.md) | The messages to mark as read (only users and normal chats, not supergroups) | Yes| -### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) +### Return type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedMessages = $MadelineProto->messages->readMessageContents(['id' => [int, int], ]); +$messages.AffectedMessages = $MadelineProto->messages->readMessageContents(['id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AffectedMessages = messages.readMessageContents({id={int}, }) +messages.AffectedMessages = messages.readMessageContents({id={int}, }) ``` diff --git a/old_docs/API_docs_v46/methods/messages.search.md b/old_docs/API_docs_v46/methods/messages.search.md index 1210be77..28664a8d 100644 --- a/old_docs/API_docs_v46/methods/messages.search.md +++ b/old_docs/API_docs_v46/methods/messages.search.md @@ -24,7 +24,7 @@ Gets back found messages |limit|[int](../types/int.md) | [Number of results to return](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **NO** @@ -41,13 +41,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->search(['important_only' => Bool, 'peer' => InputPeer, 'q' => 'string', 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); +$messages.Messages = $MadelineProto->messages->search(['important_only' => Bool, 'peer' => InputPeer, 'q' => 'string', 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.search({important_only=Bool, peer=InputPeer, q='string', filter=MessagesFilter, min_date=int, max_date=int, offset=int, max_id=int, limit=int, }) +messages.Messages = messages.search({important_only=Bool, peer=InputPeer, q='string', filter=MessagesFilter, min_date=int, max_date=int, offset=int, max_id=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v46/methods/messages.searchGifs.md b/old_docs/API_docs_v46/methods/messages.searchGifs.md index 851371d7..193a0cd4 100644 --- a/old_docs/API_docs_v46/methods/messages.searchGifs.md +++ b/old_docs/API_docs_v46/methods/messages.searchGifs.md @@ -17,7 +17,7 @@ Search for GIFs |offset|[int](../types/int.md) | Offset for [pagination »](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_FoundGifs](../types/messages_FoundGifs.md) +### Return type: [messages.FoundGifs](../types/messages.FoundGifs.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_FoundGifs = $MadelineProto->messages->searchGifs(['q' => 'string', 'offset' => int, ]); +$messages.FoundGifs = $MadelineProto->messages->searchGifs(['q' => 'string', 'offset' => int, ]); ``` Or, if you're into Lua: ```lua -messages_FoundGifs = messages.searchGifs({q='string', offset=int, }) +messages.FoundGifs = messages.searchGifs({q='string', offset=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v46/methods/messages.searchGlobal.md b/old_docs/API_docs_v46/methods/messages.searchGlobal.md index 4bd59f25..1a3b736d 100644 --- a/old_docs/API_docs_v46/methods/messages.searchGlobal.md +++ b/old_docs/API_docs_v46/methods/messages.searchGlobal.md @@ -20,7 +20,7 @@ Search for messages and peers globally |limit|[int](../types/int.md) | [Offsets for pagination, for more info click here](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **NO** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->searchGlobal(['q' => 'string', 'offset_date' => int, 'offset_peer' => InputPeer, 'offset_id' => int, 'limit' => int, ]); +$messages.Messages = $MadelineProto->messages->searchGlobal(['q' => 'string', 'offset_date' => int, 'offset_peer' => InputPeer, 'offset_id' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.searchGlobal({q='string', offset_date=int, offset_peer=InputPeer, offset_id=int, limit=int, }) +messages.Messages = messages.searchGlobal({q='string', offset_date=int, offset_peer=InputPeer, offset_id=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v46/methods/messages.sendEncrypted.md b/old_docs/API_docs_v46/methods/messages.sendEncrypted.md index 47b5ef29..6a68b563 100644 --- a/old_docs/API_docs_v46/methods/messages.sendEncrypted.md +++ b/old_docs/API_docs_v46/methods/messages.sendEncrypted.md @@ -14,10 +14,10 @@ Sends a text message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|message|[DecryptedMessage](../types/DecryptedMessage.md) | The message to send | Yes| +|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key that was created during chat initialization | Yes| -### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ### Can bots use this method: **NO** @@ -34,21 +34,15 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncrypted(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); +$messages.SentEncryptedMessage = $MadelineProto->messages->sendEncrypted(['peer' => InputEncryptedChat, 'data' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -messages_SentEncryptedMessage = messages.sendEncrypted({peer=InputEncryptedChat, message=DecryptedMessage, }) +messages.SentEncryptedMessage = messages.sendEncrypted({peer=InputEncryptedChat, data='bytes', }) ``` - -## Return value - -If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) will be returned instead. - - ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v46/methods/messages.sendEncryptedFile.md b/old_docs/API_docs_v46/methods/messages.sendEncryptedFile.md index 4e0f7b7f..87185ba4 100644 --- a/old_docs/API_docs_v46/methods/messages.sendEncryptedFile.md +++ b/old_docs/API_docs_v46/methods/messages.sendEncryptedFile.md @@ -14,11 +14,11 @@ Sends a message with a file attachment to a secret chat | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|message|[DecryptedMessage](../types/DecryptedMessage.md) | The message with the file | Yes| +|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| |file|[File path or InputEncryptedFile](../types/InputEncryptedFile.md) | File attachment for the secret chat | Optional| -### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ### Can bots use this method: **NO** @@ -35,21 +35,15 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedFile(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, 'file' => InputEncryptedFile, ]); +$messages.SentEncryptedMessage = $MadelineProto->messages->sendEncryptedFile(['peer' => InputEncryptedChat, 'data' => 'bytes', 'file' => InputEncryptedFile, ]); ``` Or, if you're into Lua: ```lua -messages_SentEncryptedMessage = messages.sendEncryptedFile({peer=InputEncryptedChat, message=DecryptedMessage, file=InputEncryptedFile, }) +messages.SentEncryptedMessage = messages.sendEncryptedFile({peer=InputEncryptedChat, data='bytes', file=InputEncryptedFile, }) ``` - -## Return value - -If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) will be returned instead. - - ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v46/methods/messages.sendEncryptedService.md b/old_docs/API_docs_v46/methods/messages.sendEncryptedService.md index 86925ae3..38171272 100644 --- a/old_docs/API_docs_v46/methods/messages.sendEncryptedService.md +++ b/old_docs/API_docs_v46/methods/messages.sendEncryptedService.md @@ -14,10 +14,10 @@ Sends a service message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|message|[DecryptedMessage](../types/DecryptedMessage.md) | The service message | Yes| +|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| -### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ### Can bots use this method: **NO** @@ -34,21 +34,15 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedService(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); +$messages.SentEncryptedMessage = $MadelineProto->messages->sendEncryptedService(['peer' => InputEncryptedChat, 'data' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -messages_SentEncryptedMessage = messages.sendEncryptedService({peer=InputEncryptedChat, message=DecryptedMessage, }) +messages.SentEncryptedMessage = messages.sendEncryptedService({peer=InputEncryptedChat, data='bytes', }) ``` - -## Return value - -If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) will be returned instead. - - ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v46/methods/photos.getUserPhotos.md b/old_docs/API_docs_v46/methods/photos.getUserPhotos.md index a1dec2ed..1f8d5c64 100644 --- a/old_docs/API_docs_v46/methods/photos.getUserPhotos.md +++ b/old_docs/API_docs_v46/methods/photos.getUserPhotos.md @@ -19,7 +19,7 @@ Returns the list of user photos. |limit|[int](../types/int.md) | Number of list elements to be returned | Yes| -### Return type: [photos\_Photos](../types/photos_Photos.md) +### Return type: [photos.Photos](../types/photos.Photos.md) ### Can bots use this method: **YES** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$photos_Photos = $MadelineProto->photos->getUserPhotos(['user_id' => InputUser, 'offset' => int, 'max_id' => long, 'limit' => int, ]); +$photos.Photos = $MadelineProto->photos->getUserPhotos(['user_id' => InputUser, 'offset' => int, 'max_id' => long, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -photos_Photos = photos.getUserPhotos({user_id=InputUser, offset=int, max_id=long, limit=int, }) +photos.Photos = photos.getUserPhotos({user_id=InputUser, offset=int, max_id=long, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v46/methods/photos.uploadProfilePhoto.md b/old_docs/API_docs_v46/methods/photos.uploadProfilePhoto.md index 337dcc21..18b2b4c6 100644 --- a/old_docs/API_docs_v46/methods/photos.uploadProfilePhoto.md +++ b/old_docs/API_docs_v46/methods/photos.uploadProfilePhoto.md @@ -19,7 +19,7 @@ Updates current user profile photo. |crop|[InputPhotoCrop](../types/InputPhotoCrop.md) | Cropping info | Yes| -### Return type: [photos\_Photo](../types/photos_Photo.md) +### Return type: [photos.Photo](../types/photos.Photo.md) ### Can bots use this method: **NO** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$photos_Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, 'caption' => 'string', 'geo_point' => InputGeoPoint, 'crop' => InputPhotoCrop, ]); +$photos.Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, 'caption' => 'string', 'geo_point' => InputGeoPoint, 'crop' => InputPhotoCrop, ]); ``` Or, if you're into Lua: ```lua -photos_Photo = photos.uploadProfilePhoto({file=InputFile, caption='string', geo_point=InputGeoPoint, crop=InputPhotoCrop, }) +photos.Photo = photos.uploadProfilePhoto({file=InputFile, caption='string', geo_point=InputGeoPoint, crop=InputPhotoCrop, }) ``` ### Errors diff --git a/old_docs/API_docs_v46/methods/updates.getChannelDifference.md b/old_docs/API_docs_v46/methods/updates.getChannelDifference.md index 77a45636..79adf4b1 100644 --- a/old_docs/API_docs_v46/methods/updates.getChannelDifference.md +++ b/old_docs/API_docs_v46/methods/updates.getChannelDifference.md @@ -19,7 +19,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz for more |limit|[int](../types/int.md) | You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates | Yes| -### Return type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) +### Return type: [updates.ChannelDifference](../types/updates.ChannelDifference.md) ### Can bots use this method: **YES** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$updates_ChannelDifference = $MadelineProto->updates->getChannelDifference(['channel' => InputChannel, 'filter' => ChannelMessagesFilter, 'pts' => int, 'limit' => int, ]); +$updates.ChannelDifference = $MadelineProto->updates->getChannelDifference(['channel' => InputChannel, 'filter' => ChannelMessagesFilter, 'pts' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -updates_ChannelDifference = updates.getChannelDifference({channel=InputChannel, filter=ChannelMessagesFilter, pts=int, limit=int, }) +updates.ChannelDifference = updates.getChannelDifference({channel=InputChannel, filter=ChannelMessagesFilter, pts=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v46/methods/updates.getDifference.md b/old_docs/API_docs_v46/methods/updates.getDifference.md index 57ea6d99..061a5c8f 100644 --- a/old_docs/API_docs_v46/methods/updates.getDifference.md +++ b/old_docs/API_docs_v46/methods/updates.getDifference.md @@ -18,7 +18,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz for more |qts|[int](../types/int.md) | You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates | Yes| -### Return type: [updates\_Difference](../types/updates_Difference.md) +### Return type: [updates.Difference](../types/updates.Difference.md) ### Can bots use this method: **YES** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$updates_Difference = $MadelineProto->updates->getDifference(['pts' => int, 'date' => int, 'qts' => int, ]); +$updates.Difference = $MadelineProto->updates->getDifference(['pts' => int, 'date' => int, 'qts' => int, ]); ``` Or, if you're into Lua: ```lua -updates_Difference = updates.getDifference({pts=int, date=int, qts=int, }) +updates.Difference = updates.getDifference({pts=int, date=int, qts=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v46/methods/updates.getState.md b/old_docs/API_docs_v46/methods/updates.getState.md index c591408a..9a7d2f34 100644 --- a/old_docs/API_docs_v46/methods/updates.getState.md +++ b/old_docs/API_docs_v46/methods/updates.getState.md @@ -11,7 +11,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz for more -### Return type: [updates\_State](../types/updates_State.md) +### Return type: [updates.State](../types/updates.State.md) ### Can bots use this method: **YES** @@ -28,13 +28,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$updates_State = $MadelineProto->updates->getState(); +$updates.State = $MadelineProto->updates->getState(); ``` Or, if you're into Lua: ```lua -updates_State = updates.getState({}) +updates.State = updates.getState({}) ``` ### Errors diff --git a/old_docs/API_docs_v46/methods/upload.getFile.md b/old_docs/API_docs_v46/methods/upload.getFile.md index 8aba03d4..ab9f4fe2 100644 --- a/old_docs/API_docs_v46/methods/upload.getFile.md +++ b/old_docs/API_docs_v46/methods/upload.getFile.md @@ -18,7 +18,7 @@ You cannot use this method directly, use the upload, downloadToStream, downloadT |limit|[int](../types/int.md) | You cannot use this method directly, use the upload, downloadToStream, downloadToFile, downloadToDir methods instead; see https://docs.madelineproto.xyz for more info | Yes| -### Return type: [upload\_File](../types/upload_File.md) +### Return type: [upload.File](../types/upload.File.md) ### Can bots use this method: **YES** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$upload_File = $MadelineProto->upload->getFile(['location' => InputFileLocation, 'offset' => int, 'limit' => int, ]); +$upload.File = $MadelineProto->upload->getFile(['location' => InputFileLocation, 'offset' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -upload_File = upload.getFile({location=InputFileLocation, offset=int, limit=int, }) +upload.File = upload.getFile({location=InputFileLocation, offset=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v46/types/AccountDaysTTL.md b/old_docs/API_docs_v46/types/AccountDaysTTL.md index 12a10190..f3494aac 100644 --- a/old_docs/API_docs_v46/types/AccountDaysTTL.md +++ b/old_docs/API_docs_v46/types/AccountDaysTTL.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->account->getAccountTTL](../methods/account_getAccountTTL.md) +[$MadelineProto->account->getAccountTTL](../methods/account.getAccountTTL.md) diff --git a/old_docs/API_docs_v46/types/ChatInvite.md b/old_docs/API_docs_v46/types/ChatInvite.md index 5022a2f0..9fafabb4 100644 --- a/old_docs/API_docs_v46/types/ChatInvite.md +++ b/old_docs/API_docs_v46/types/ChatInvite.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->checkChatInvite](../methods/messages_checkChatInvite.md) +[$MadelineProto->messages->checkChatInvite](../methods/messages.checkChatInvite.md) diff --git a/old_docs/API_docs_v46/types/Config.md b/old_docs/API_docs_v46/types/Config.md index 0f7fbe70..3a23b7b7 100644 --- a/old_docs/API_docs_v46/types/Config.md +++ b/old_docs/API_docs_v46/types/Config.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->help->getConfig](../methods/help_getConfig.md) +[$MadelineProto->help->getConfig](../methods/help.getConfig.md) diff --git a/old_docs/API_docs_v46/types/ContactStatus.md b/old_docs/API_docs_v46/types/ContactStatus.md index c5f5d658..30aee6e2 100644 --- a/old_docs/API_docs_v46/types/ContactStatus.md +++ b/old_docs/API_docs_v46/types/ContactStatus.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->contacts->getStatuses](../methods/contacts_getStatuses.md) +[$MadelineProto->contacts->getStatuses](../methods/contacts.getStatuses.md) diff --git a/old_docs/API_docs_v46/types/Document.md b/old_docs/API_docs_v46/types/Document.md index f68b7aa4..2cb85623 100644 --- a/old_docs/API_docs_v46/types/Document.md +++ b/old_docs/API_docs_v46/types/Document.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getDocumentByHash](../methods/messages_getDocumentByHash.md) +[$MadelineProto->messages->getDocumentByHash](../methods/messages.getDocumentByHash.md) diff --git a/old_docs/API_docs_v46/types/EncryptedChat.md b/old_docs/API_docs_v46/types/EncryptedChat.md index fd2277f6..19cf52b0 100644 --- a/old_docs/API_docs_v46/types/EncryptedChat.md +++ b/old_docs/API_docs_v46/types/EncryptedChat.md @@ -24,9 +24,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->requestEncryption](../methods/messages_requestEncryption.md) +[$MadelineProto->messages->requestEncryption](../methods/messages.requestEncryption.md) -[$MadelineProto->messages->acceptEncryption](../methods/messages_acceptEncryption.md) +[$MadelineProto->messages->acceptEncryption](../methods/messages.acceptEncryption.md) diff --git a/old_docs/API_docs_v46/types/ExportedChatInvite.md b/old_docs/API_docs_v46/types/ExportedChatInvite.md index 4213a78f..53ce5f59 100644 --- a/old_docs/API_docs_v46/types/ExportedChatInvite.md +++ b/old_docs/API_docs_v46/types/ExportedChatInvite.md @@ -18,9 +18,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->exportChatInvite](../methods/messages_exportChatInvite.md) +[$MadelineProto->messages->exportChatInvite](../methods/messages.exportChatInvite.md) -[$MadelineProto->channels->exportInvite](../methods/channels_exportInvite.md) +[$MadelineProto->channels->exportInvite](../methods/channels.exportInvite.md) diff --git a/old_docs/API_docs_v46/types/MessageMedia.md b/old_docs/API_docs_v46/types/MessageMedia.md index 51c2f3c9..9c8475d7 100644 --- a/old_docs/API_docs_v46/types/MessageMedia.md +++ b/old_docs/API_docs_v46/types/MessageMedia.md @@ -34,7 +34,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getWebPagePreview](../methods/messages_getWebPagePreview.md) +[$MadelineProto->messages->getWebPagePreview](../methods/messages.getWebPagePreview.md) diff --git a/old_docs/API_docs_v46/types/NearestDc.md b/old_docs/API_docs_v46/types/NearestDc.md index 31f24377..296a4dff 100644 --- a/old_docs/API_docs_v46/types/NearestDc.md +++ b/old_docs/API_docs_v46/types/NearestDc.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->help->getNearestDc](../methods/help_getNearestDc.md) +[$MadelineProto->help->getNearestDc](../methods/help.getNearestDc.md) diff --git a/old_docs/API_docs_v46/types/PeerNotifySettings.md b/old_docs/API_docs_v46/types/PeerNotifySettings.md index 769de075..3d72b7c5 100644 --- a/old_docs/API_docs_v46/types/PeerNotifySettings.md +++ b/old_docs/API_docs_v46/types/PeerNotifySettings.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->account->getNotifySettings](../methods/account_getNotifySettings.md) +[$MadelineProto->account->getNotifySettings](../methods/account.getNotifySettings.md) diff --git a/old_docs/API_docs_v46/types/README.md b/old_docs/API_docs_v46/types/README.md index 062b0383..8a345354 100644 --- a/old_docs/API_docs_v46/types/README.md +++ b/old_docs/API_docs_v46/types/README.md @@ -205,99 +205,99 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png [X](X.md) -[account\_Authorizations](account_Authorizations.md) +[account.Authorizations](account.Authorizations.md) -[account\_Password](account_Password.md) +[account.Password](account.Password.md) -[account\_PasswordInputSettings](account_PasswordInputSettings.md) +[account.PasswordInputSettings](account.PasswordInputSettings.md) -[account\_PasswordSettings](account_PasswordSettings.md) +[account.PasswordSettings](account.PasswordSettings.md) -[account\_PrivacyRules](account_PrivacyRules.md) +[account.PrivacyRules](account.PrivacyRules.md) -[account\_SentChangePhoneCode](account_SentChangePhoneCode.md) +[account.SentChangePhoneCode](account.SentChangePhoneCode.md) -[auth\_Authorization](auth_Authorization.md) +[auth.Authorization](auth.Authorization.md) -[auth\_CheckedPhone](auth_CheckedPhone.md) +[auth.CheckedPhone](auth.CheckedPhone.md) -[auth\_ExportedAuthorization](auth_ExportedAuthorization.md) +[auth.ExportedAuthorization](auth.ExportedAuthorization.md) -[auth\_PasswordRecovery](auth_PasswordRecovery.md) +[auth.PasswordRecovery](auth.PasswordRecovery.md) -[auth\_SentCode](auth_SentCode.md) +[auth.SentCode](auth.SentCode.md) -[channels\_ChannelParticipant](channels_ChannelParticipant.md) +[channels.ChannelParticipant](channels.ChannelParticipant.md) -[channels\_ChannelParticipants](channels_ChannelParticipants.md) +[channels.ChannelParticipants](channels.ChannelParticipants.md) -[contacts\_Blocked](contacts_Blocked.md) +[contacts.Blocked](contacts.Blocked.md) -[contacts\_Contacts](contacts_Contacts.md) +[contacts.Contacts](contacts.Contacts.md) -[contacts\_Found](contacts_Found.md) +[contacts.Found](contacts.Found.md) -[contacts\_ImportedContacts](contacts_ImportedContacts.md) +[contacts.ImportedContacts](contacts.ImportedContacts.md) -[contacts\_Link](contacts_Link.md) +[contacts.Link](contacts.Link.md) -[contacts\_ResolvedPeer](contacts_ResolvedPeer.md) +[contacts.ResolvedPeer](contacts.ResolvedPeer.md) -[contacts\_Suggested](contacts_Suggested.md) +[contacts.Suggested](contacts.Suggested.md) -[help\_AppChangelog](help_AppChangelog.md) +[help.AppChangelog](help.AppChangelog.md) -[help\_AppUpdate](help_AppUpdate.md) +[help.AppUpdate](help.AppUpdate.md) -[help\_InviteText](help_InviteText.md) +[help.InviteText](help.InviteText.md) -[help\_Support](help_Support.md) +[help.Support](help.Support.md) -[help\_TermsOfService](help_TermsOfService.md) +[help.TermsOfService](help.TermsOfService.md) [int](int.md) [long](long.md) -[messages\_AffectedHistory](messages_AffectedHistory.md) +[messages.AffectedHistory](messages.AffectedHistory.md) -[messages\_AffectedMessages](messages_AffectedMessages.md) +[messages.AffectedMessages](messages.AffectedMessages.md) -[messages\_AllStickers](messages_AllStickers.md) +[messages.AllStickers](messages.AllStickers.md) -[messages\_BotResults](messages_BotResults.md) +[messages.BotResults](messages.BotResults.md) -[messages\_ChatFull](messages_ChatFull.md) +[messages.ChatFull](messages.ChatFull.md) -[messages\_Chats](messages_Chats.md) +[messages.Chats](messages.Chats.md) -[messages\_DhConfig](messages_DhConfig.md) +[messages.DhConfig](messages.DhConfig.md) -[messages\_Dialogs](messages_Dialogs.md) +[messages.Dialogs](messages.Dialogs.md) -[messages\_FoundGifs](messages_FoundGifs.md) +[messages.FoundGifs](messages.FoundGifs.md) -[messages\_Messages](messages_Messages.md) +[messages.Messages](messages.Messages.md) -[messages\_SavedGifs](messages_SavedGifs.md) +[messages.SavedGifs](messages.SavedGifs.md) -[messages\_SentEncryptedMessage](messages_SentEncryptedMessage.md) +[messages.SentEncryptedMessage](messages.SentEncryptedMessage.md) -[messages\_StickerSet](messages_StickerSet.md) +[messages.StickerSet](messages.StickerSet.md) -[messages\_Stickers](messages_Stickers.md) +[messages.Stickers](messages.Stickers.md) -[photos\_Photo](photos_Photo.md) +[photos.Photo](photos.Photo.md) -[photos\_Photos](photos_Photos.md) +[photos.Photos](photos.Photos.md) -[storage\_FileType](storage_FileType.md) +[storage.FileType](storage.FileType.md) -[updates\_ChannelDifference](updates_ChannelDifference.md) +[updates.ChannelDifference](updates.ChannelDifference.md) -[updates\_Difference](updates_Difference.md) +[updates.Difference](updates.Difference.md) -[updates\_State](updates_State.md) +[updates.State](updates.State.md) -[upload\_File](upload_File.md) +[upload.File](upload.File.md) diff --git a/old_docs/API_docs_v46/types/ReceivedNotifyMessage.md b/old_docs/API_docs_v46/types/ReceivedNotifyMessage.md index c7fc3b8c..416aa275 100644 --- a/old_docs/API_docs_v46/types/ReceivedNotifyMessage.md +++ b/old_docs/API_docs_v46/types/ReceivedNotifyMessage.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->receivedMessages](../methods/messages_receivedMessages.md) +[$MadelineProto->messages->receivedMessages](../methods/messages.receivedMessages.md) diff --git a/old_docs/API_docs_v46/types/Updates.md b/old_docs/API_docs_v46/types/Updates.md index 7815059a..d1f9461b 100644 --- a/old_docs/API_docs_v46/types/Updates.md +++ b/old_docs/API_docs_v46/types/Updates.md @@ -28,55 +28,55 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->sendMessage](../methods/messages_sendMessage.md) +[$MadelineProto->messages->sendMessage](../methods/messages.sendMessage.md) -[$MadelineProto->messages->sendMedia](../methods/messages_sendMedia.md) +[$MadelineProto->messages->sendMedia](../methods/messages.sendMedia.md) -[$MadelineProto->messages->forwardMessages](../methods/messages_forwardMessages.md) +[$MadelineProto->messages->forwardMessages](../methods/messages.forwardMessages.md) -[$MadelineProto->messages->editChatTitle](../methods/messages_editChatTitle.md) +[$MadelineProto->messages->editChatTitle](../methods/messages.editChatTitle.md) -[$MadelineProto->messages->editChatPhoto](../methods/messages_editChatPhoto.md) +[$MadelineProto->messages->editChatPhoto](../methods/messages.editChatPhoto.md) -[$MadelineProto->messages->addChatUser](../methods/messages_addChatUser.md) +[$MadelineProto->messages->addChatUser](../methods/messages.addChatUser.md) -[$MadelineProto->messages->deleteChatUser](../methods/messages_deleteChatUser.md) +[$MadelineProto->messages->deleteChatUser](../methods/messages.deleteChatUser.md) -[$MadelineProto->messages->createChat](../methods/messages_createChat.md) +[$MadelineProto->messages->createChat](../methods/messages.createChat.md) -[$MadelineProto->messages->forwardMessage](../methods/messages_forwardMessage.md) +[$MadelineProto->messages->forwardMessage](../methods/messages.forwardMessage.md) -[$MadelineProto->messages->sendBroadcast](../methods/messages_sendBroadcast.md) +[$MadelineProto->messages->sendBroadcast](../methods/messages.sendBroadcast.md) -[$MadelineProto->messages->importChatInvite](../methods/messages_importChatInvite.md) +[$MadelineProto->messages->importChatInvite](../methods/messages.importChatInvite.md) -[$MadelineProto->messages->startBot](../methods/messages_startBot.md) +[$MadelineProto->messages->startBot](../methods/messages.startBot.md) -[$MadelineProto->messages->toggleChatAdmins](../methods/messages_toggleChatAdmins.md) +[$MadelineProto->messages->toggleChatAdmins](../methods/messages.toggleChatAdmins.md) -[$MadelineProto->messages->migrateChat](../methods/messages_migrateChat.md) +[$MadelineProto->messages->migrateChat](../methods/messages.migrateChat.md) -[$MadelineProto->messages->sendInlineBotResult](../methods/messages_sendInlineBotResult.md) +[$MadelineProto->messages->sendInlineBotResult](../methods/messages.sendInlineBotResult.md) -[$MadelineProto->channels->createChannel](../methods/channels_createChannel.md) +[$MadelineProto->channels->createChannel](../methods/channels.createChannel.md) -[$MadelineProto->channels->editAdmin](../methods/channels_editAdmin.md) +[$MadelineProto->channels->editAdmin](../methods/channels.editAdmin.md) -[$MadelineProto->channels->editTitle](../methods/channels_editTitle.md) +[$MadelineProto->channels->editTitle](../methods/channels.editTitle.md) -[$MadelineProto->channels->editPhoto](../methods/channels_editPhoto.md) +[$MadelineProto->channels->editPhoto](../methods/channels.editPhoto.md) -[$MadelineProto->channels->toggleComments](../methods/channels_toggleComments.md) +[$MadelineProto->channels->toggleComments](../methods/channels.toggleComments.md) -[$MadelineProto->channels->joinChannel](../methods/channels_joinChannel.md) +[$MadelineProto->channels->joinChannel](../methods/channels.joinChannel.md) -[$MadelineProto->channels->leaveChannel](../methods/channels_leaveChannel.md) +[$MadelineProto->channels->leaveChannel](../methods/channels.leaveChannel.md) -[$MadelineProto->channels->inviteToChannel](../methods/channels_inviteToChannel.md) +[$MadelineProto->channels->inviteToChannel](../methods/channels.inviteToChannel.md) -[$MadelineProto->channels->kickFromChannel](../methods/channels_kickFromChannel.md) +[$MadelineProto->channels->kickFromChannel](../methods/channels.kickFromChannel.md) -[$MadelineProto->channels->deleteChannel](../methods/channels_deleteChannel.md) +[$MadelineProto->channels->deleteChannel](../methods/channels.deleteChannel.md) diff --git a/old_docs/API_docs_v46/types/User.md b/old_docs/API_docs_v46/types/User.md index 3abd182f..a2e028f4 100644 --- a/old_docs/API_docs_v46/types/User.md +++ b/old_docs/API_docs_v46/types/User.md @@ -42,15 +42,15 @@ A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDia ### Methods that return an object of this type (methods): -[$MadelineProto->account->updateProfile](../methods/account_updateProfile.md) +[$MadelineProto->account->updateProfile](../methods/account.updateProfile.md) -[$MadelineProto->account->updateUsername](../methods/account_updateUsername.md) +[$MadelineProto->account->updateUsername](../methods/account.updateUsername.md) -[$MadelineProto->account->changePhone](../methods/account_changePhone.md) +[$MadelineProto->account->changePhone](../methods/account.changePhone.md) -[$MadelineProto->users->getUsers](../methods/users_getUsers.md) +[$MadelineProto->users->getUsers](../methods/users.getUsers.md) -[$MadelineProto->contacts->importCard](../methods/contacts_importCard.md) +[$MadelineProto->contacts->importCard](../methods/contacts.importCard.md) diff --git a/old_docs/API_docs_v46/types/UserFull.md b/old_docs/API_docs_v46/types/UserFull.md index 79ad30bb..ac50052f 100644 --- a/old_docs/API_docs_v46/types/UserFull.md +++ b/old_docs/API_docs_v46/types/UserFull.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->users->getFullUser](../methods/users_getFullUser.md) +[$MadelineProto->users->getFullUser](../methods/users.getFullUser.md) diff --git a/old_docs/API_docs_v46/types/UserProfilePhoto.md b/old_docs/API_docs_v46/types/UserProfilePhoto.md index e5243a2e..e81e92fd 100644 --- a/old_docs/API_docs_v46/types/UserProfilePhoto.md +++ b/old_docs/API_docs_v46/types/UserProfilePhoto.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->photos->updateProfilePhoto](../methods/photos_updateProfilePhoto.md) +[$MadelineProto->photos->updateProfilePhoto](../methods/photos.updateProfilePhoto.md) diff --git a/old_docs/API_docs_v46/types/WallPaper.md b/old_docs/API_docs_v46/types/WallPaper.md index 8c5ac7cf..45337565 100644 --- a/old_docs/API_docs_v46/types/WallPaper.md +++ b/old_docs/API_docs_v46/types/WallPaper.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->account->getWallPapers](../methods/account_getWallPapers.md) +[$MadelineProto->account->getWallPapers](../methods/account.getWallPapers.md) diff --git a/old_docs/API_docs_v46/types/account.Authorizations.md b/old_docs/API_docs_v46/types/account.Authorizations.md new file mode 100644 index 00000000..f9112038 --- /dev/null +++ b/old_docs/API_docs_v46/types/account.Authorizations.md @@ -0,0 +1,22 @@ +--- +title: account.Authorizations +description: constructors and methods of type account.Authorizations +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.Authorizations +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.authorizations](../constructors/account.authorizations.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getAuthorizations](../methods/account.getAuthorizations.md) + + + diff --git a/old_docs/API_docs_v46/types/account.Password.md b/old_docs/API_docs_v46/types/account.Password.md new file mode 100644 index 00000000..5217ab5e --- /dev/null +++ b/old_docs/API_docs_v46/types/account.Password.md @@ -0,0 +1,24 @@ +--- +title: account.Password +description: constructors and methods of type account.Password +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.Password +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.noPassword](../constructors/account.noPassword.md) + +[account.password](../constructors/account.password.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getPassword](../methods/account.getPassword.md) + + + diff --git a/old_docs/API_docs_v46/types/account.PasswordInputSettings.md b/old_docs/API_docs_v46/types/account.PasswordInputSettings.md new file mode 100644 index 00000000..72e11fdc --- /dev/null +++ b/old_docs/API_docs_v46/types/account.PasswordInputSettings.md @@ -0,0 +1,20 @@ +--- +title: account.PasswordInputSettings +description: constructors and methods of type account.PasswordInputSettings +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.PasswordInputSettings +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.passwordInputSettings](../constructors/account.passwordInputSettings.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v46/types/account.PasswordSettings.md b/old_docs/API_docs_v46/types/account.PasswordSettings.md new file mode 100644 index 00000000..47016832 --- /dev/null +++ b/old_docs/API_docs_v46/types/account.PasswordSettings.md @@ -0,0 +1,22 @@ +--- +title: account.PasswordSettings +description: constructors and methods of type account.PasswordSettings +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.PasswordSettings +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.passwordSettings](../constructors/account.passwordSettings.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getPasswordSettings](../methods/account.getPasswordSettings.md) + + + diff --git a/old_docs/API_docs_v46/types/account.PrivacyRules.md b/old_docs/API_docs_v46/types/account.PrivacyRules.md new file mode 100644 index 00000000..738651ad --- /dev/null +++ b/old_docs/API_docs_v46/types/account.PrivacyRules.md @@ -0,0 +1,24 @@ +--- +title: account.PrivacyRules +description: constructors and methods of type account.PrivacyRules +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.PrivacyRules +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.privacyRules](../constructors/account.privacyRules.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getPrivacy](../methods/account.getPrivacy.md) + +[$MadelineProto->account->setPrivacy](../methods/account.setPrivacy.md) + + + diff --git a/old_docs/API_docs_v46/types/account.SentChangePhoneCode.md b/old_docs/API_docs_v46/types/account.SentChangePhoneCode.md new file mode 100644 index 00000000..659b0feb --- /dev/null +++ b/old_docs/API_docs_v46/types/account.SentChangePhoneCode.md @@ -0,0 +1,22 @@ +--- +title: account.SentChangePhoneCode +description: constructors and methods of type account.SentChangePhoneCode +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.SentChangePhoneCode +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.sentChangePhoneCode](../constructors/account.sentChangePhoneCode.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->sendChangePhoneCode](../methods/account.sendChangePhoneCode.md) + + + diff --git a/old_docs/API_docs_v46/types/account_Authorizations.md b/old_docs/API_docs_v46/types/account_Authorizations.md deleted file mode 100644 index 4709ddb5..00000000 --- a/old_docs/API_docs_v46/types/account_Authorizations.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_Authorizations -description: constructors and methods of type account_Authorizations -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_Authorizations -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_authorizations](../constructors/account_authorizations.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getAuthorizations](../methods/account_getAuthorizations.md) - - - diff --git a/old_docs/API_docs_v46/types/account_Password.md b/old_docs/API_docs_v46/types/account_Password.md deleted file mode 100644 index 23e05987..00000000 --- a/old_docs/API_docs_v46/types/account_Password.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: account_Password -description: constructors and methods of type account_Password -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_Password -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_noPassword](../constructors/account_noPassword.md) - -[account\_password](../constructors/account_password.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getPassword](../methods/account_getPassword.md) - - - diff --git a/old_docs/API_docs_v46/types/account_PasswordInputSettings.md b/old_docs/API_docs_v46/types/account_PasswordInputSettings.md deleted file mode 100644 index a6455eb8..00000000 --- a/old_docs/API_docs_v46/types/account_PasswordInputSettings.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: account_PasswordInputSettings -description: constructors and methods of type account_PasswordInputSettings -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_PasswordInputSettings -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_passwordInputSettings](../constructors/account_passwordInputSettings.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v46/types/account_PasswordSettings.md b/old_docs/API_docs_v46/types/account_PasswordSettings.md deleted file mode 100644 index 687eb217..00000000 --- a/old_docs/API_docs_v46/types/account_PasswordSettings.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_PasswordSettings -description: constructors and methods of type account_PasswordSettings -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_PasswordSettings -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_passwordSettings](../constructors/account_passwordSettings.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getPasswordSettings](../methods/account_getPasswordSettings.md) - - - diff --git a/old_docs/API_docs_v46/types/account_PrivacyRules.md b/old_docs/API_docs_v46/types/account_PrivacyRules.md deleted file mode 100644 index 40b00077..00000000 --- a/old_docs/API_docs_v46/types/account_PrivacyRules.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: account_PrivacyRules -description: constructors and methods of type account_PrivacyRules -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_PrivacyRules -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_privacyRules](../constructors/account_privacyRules.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getPrivacy](../methods/account_getPrivacy.md) - -[$MadelineProto->account->setPrivacy](../methods/account_setPrivacy.md) - - - diff --git a/old_docs/API_docs_v46/types/account_SentChangePhoneCode.md b/old_docs/API_docs_v46/types/account_SentChangePhoneCode.md deleted file mode 100644 index ead3e28c..00000000 --- a/old_docs/API_docs_v46/types/account_SentChangePhoneCode.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_SentChangePhoneCode -description: constructors and methods of type account_SentChangePhoneCode -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_SentChangePhoneCode -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_sentChangePhoneCode](../constructors/account_sentChangePhoneCode.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->sendChangePhoneCode](../methods/account_sendChangePhoneCode.md) - - - diff --git a/old_docs/API_docs_v46/types/auth.Authorization.md b/old_docs/API_docs_v46/types/auth.Authorization.md new file mode 100644 index 00000000..adcfa7d3 --- /dev/null +++ b/old_docs/API_docs_v46/types/auth.Authorization.md @@ -0,0 +1,32 @@ +--- +title: auth.Authorization +description: constructors and methods of type auth.Authorization +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.Authorization +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.authorization](../constructors/auth.authorization.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->signUp](../methods/auth.signUp.md) + +[$MadelineProto->auth->signIn](../methods/auth.signIn.md) + +[$MadelineProto->auth->importAuthorization](../methods/auth.importAuthorization.md) + +[$MadelineProto->auth->importBotAuthorization](../methods/auth.importBotAuthorization.md) + +[$MadelineProto->auth->checkPassword](../methods/auth.checkPassword.md) + +[$MadelineProto->auth->recoverPassword](../methods/auth.recoverPassword.md) + + + diff --git a/old_docs/API_docs_v46/types/auth.CheckedPhone.md b/old_docs/API_docs_v46/types/auth.CheckedPhone.md new file mode 100644 index 00000000..94af3915 --- /dev/null +++ b/old_docs/API_docs_v46/types/auth.CheckedPhone.md @@ -0,0 +1,22 @@ +--- +title: auth.CheckedPhone +description: constructors and methods of type auth.CheckedPhone +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.CheckedPhone +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.checkedPhone](../constructors/auth.checkedPhone.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->checkPhone](../methods/auth.checkPhone.md) + + + diff --git a/old_docs/API_docs_v46/types/auth.ExportedAuthorization.md b/old_docs/API_docs_v46/types/auth.ExportedAuthorization.md new file mode 100644 index 00000000..ccb38d60 --- /dev/null +++ b/old_docs/API_docs_v46/types/auth.ExportedAuthorization.md @@ -0,0 +1,22 @@ +--- +title: auth.ExportedAuthorization +description: constructors and methods of type auth.ExportedAuthorization +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.ExportedAuthorization +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.exportedAuthorization](../constructors/auth.exportedAuthorization.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->exportAuthorization](../methods/auth.exportAuthorization.md) + + + diff --git a/old_docs/API_docs_v46/types/auth.PasswordRecovery.md b/old_docs/API_docs_v46/types/auth.PasswordRecovery.md new file mode 100644 index 00000000..c1c18992 --- /dev/null +++ b/old_docs/API_docs_v46/types/auth.PasswordRecovery.md @@ -0,0 +1,22 @@ +--- +title: auth.PasswordRecovery +description: constructors and methods of type auth.PasswordRecovery +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.PasswordRecovery +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.passwordRecovery](../constructors/auth.passwordRecovery.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->requestPasswordRecovery](../methods/auth.requestPasswordRecovery.md) + + + diff --git a/old_docs/API_docs_v46/types/auth.SentCode.md b/old_docs/API_docs_v46/types/auth.SentCode.md new file mode 100644 index 00000000..9fd32a73 --- /dev/null +++ b/old_docs/API_docs_v46/types/auth.SentCode.md @@ -0,0 +1,24 @@ +--- +title: auth.SentCode +description: constructors and methods of type auth.SentCode +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.SentCode +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.sentCode](../constructors/auth.sentCode.md) + +[auth.sentAppCode](../constructors/auth.sentAppCode.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->sendCode](../methods/auth.sendCode.md) + + + diff --git a/old_docs/API_docs_v46/types/auth_Authorization.md b/old_docs/API_docs_v46/types/auth_Authorization.md deleted file mode 100644 index 5a34fc2d..00000000 --- a/old_docs/API_docs_v46/types/auth_Authorization.md +++ /dev/null @@ -1,32 +0,0 @@ ---- -title: auth_Authorization -description: constructors and methods of type auth_Authorization -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_Authorization -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_authorization](../constructors/auth_authorization.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->signUp](../methods/auth_signUp.md) - -[$MadelineProto->auth->signIn](../methods/auth_signIn.md) - -[$MadelineProto->auth->importAuthorization](../methods/auth_importAuthorization.md) - -[$MadelineProto->auth->importBotAuthorization](../methods/auth_importBotAuthorization.md) - -[$MadelineProto->auth->checkPassword](../methods/auth_checkPassword.md) - -[$MadelineProto->auth->recoverPassword](../methods/auth_recoverPassword.md) - - - diff --git a/old_docs/API_docs_v46/types/auth_CheckedPhone.md b/old_docs/API_docs_v46/types/auth_CheckedPhone.md deleted file mode 100644 index e9b0def4..00000000 --- a/old_docs/API_docs_v46/types/auth_CheckedPhone.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: auth_CheckedPhone -description: constructors and methods of type auth_CheckedPhone -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_CheckedPhone -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_checkedPhone](../constructors/auth_checkedPhone.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->checkPhone](../methods/auth_checkPhone.md) - - - diff --git a/old_docs/API_docs_v46/types/auth_ExportedAuthorization.md b/old_docs/API_docs_v46/types/auth_ExportedAuthorization.md deleted file mode 100644 index 69e5c42e..00000000 --- a/old_docs/API_docs_v46/types/auth_ExportedAuthorization.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: auth_ExportedAuthorization -description: constructors and methods of type auth_ExportedAuthorization -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_ExportedAuthorization -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_exportedAuthorization](../constructors/auth_exportedAuthorization.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->exportAuthorization](../methods/auth_exportAuthorization.md) - - - diff --git a/old_docs/API_docs_v46/types/auth_PasswordRecovery.md b/old_docs/API_docs_v46/types/auth_PasswordRecovery.md deleted file mode 100644 index 4962bf42..00000000 --- a/old_docs/API_docs_v46/types/auth_PasswordRecovery.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: auth_PasswordRecovery -description: constructors and methods of type auth_PasswordRecovery -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_PasswordRecovery -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_passwordRecovery](../constructors/auth_passwordRecovery.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->requestPasswordRecovery](../methods/auth_requestPasswordRecovery.md) - - - diff --git a/old_docs/API_docs_v46/types/auth_SentCode.md b/old_docs/API_docs_v46/types/auth_SentCode.md deleted file mode 100644 index 85b8d351..00000000 --- a/old_docs/API_docs_v46/types/auth_SentCode.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: auth_SentCode -description: constructors and methods of type auth_SentCode -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_SentCode -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_sentCode](../constructors/auth_sentCode.md) - -[auth\_sentAppCode](../constructors/auth_sentAppCode.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->sendCode](../methods/auth_sendCode.md) - - - diff --git a/old_docs/API_docs_v46/types/channels.ChannelParticipant.md b/old_docs/API_docs_v46/types/channels.ChannelParticipant.md new file mode 100644 index 00000000..8dc7f7e6 --- /dev/null +++ b/old_docs/API_docs_v46/types/channels.ChannelParticipant.md @@ -0,0 +1,22 @@ +--- +title: channels.ChannelParticipant +description: constructors and methods of type channels.ChannelParticipant +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: channels.ChannelParticipant +[Back to types index](index.md) + + + +### Possible values (constructors): + +[channels.channelParticipant](../constructors/channels.channelParticipant.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->channels->getParticipant](../methods/channels.getParticipant.md) + + + diff --git a/old_docs/API_docs_v46/types/channels.ChannelParticipants.md b/old_docs/API_docs_v46/types/channels.ChannelParticipants.md new file mode 100644 index 00000000..996ab6a6 --- /dev/null +++ b/old_docs/API_docs_v46/types/channels.ChannelParticipants.md @@ -0,0 +1,22 @@ +--- +title: channels.ChannelParticipants +description: constructors and methods of type channels.ChannelParticipants +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: channels.ChannelParticipants +[Back to types index](index.md) + + + +### Possible values (constructors): + +[channels.channelParticipants](../constructors/channels.channelParticipants.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->channels->getParticipants](../methods/channels.getParticipants.md) + + + diff --git a/old_docs/API_docs_v46/types/channels_ChannelParticipant.md b/old_docs/API_docs_v46/types/channels_ChannelParticipant.md deleted file mode 100644 index 3d4667c3..00000000 --- a/old_docs/API_docs_v46/types/channels_ChannelParticipant.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: channels_ChannelParticipant -description: constructors and methods of type channels_ChannelParticipant -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: channels\_ChannelParticipant -[Back to types index](index.md) - - - -### Possible values (constructors): - -[channels\_channelParticipant](../constructors/channels_channelParticipant.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->channels->getParticipant](../methods/channels_getParticipant.md) - - - diff --git a/old_docs/API_docs_v46/types/channels_ChannelParticipants.md b/old_docs/API_docs_v46/types/channels_ChannelParticipants.md deleted file mode 100644 index 0500c2cb..00000000 --- a/old_docs/API_docs_v46/types/channels_ChannelParticipants.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: channels_ChannelParticipants -description: constructors and methods of type channels_ChannelParticipants -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: channels\_ChannelParticipants -[Back to types index](index.md) - - - -### Possible values (constructors): - -[channels\_channelParticipants](../constructors/channels_channelParticipants.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->channels->getParticipants](../methods/channels_getParticipants.md) - - - diff --git a/old_docs/API_docs_v46/types/contacts.Blocked.md b/old_docs/API_docs_v46/types/contacts.Blocked.md new file mode 100644 index 00000000..cb2af80f --- /dev/null +++ b/old_docs/API_docs_v46/types/contacts.Blocked.md @@ -0,0 +1,24 @@ +--- +title: contacts.Blocked +description: constructors and methods of type contacts.Blocked +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Blocked +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.blocked](../constructors/contacts.blocked.md) + +[contacts.blockedSlice](../constructors/contacts.blockedSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getBlocked](../methods/contacts.getBlocked.md) + + + diff --git a/old_docs/API_docs_v46/types/contacts.Contacts.md b/old_docs/API_docs_v46/types/contacts.Contacts.md new file mode 100644 index 00000000..5f695d8e --- /dev/null +++ b/old_docs/API_docs_v46/types/contacts.Contacts.md @@ -0,0 +1,24 @@ +--- +title: contacts.Contacts +description: constructors and methods of type contacts.Contacts +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Contacts +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.contactsNotModified](../constructors/contacts.contactsNotModified.md) + +[contacts.contacts](../constructors/contacts.contacts.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getContacts](../methods/contacts.getContacts.md) + + + diff --git a/old_docs/API_docs_v46/types/contacts.Found.md b/old_docs/API_docs_v46/types/contacts.Found.md new file mode 100644 index 00000000..7df98927 --- /dev/null +++ b/old_docs/API_docs_v46/types/contacts.Found.md @@ -0,0 +1,22 @@ +--- +title: contacts.Found +description: constructors and methods of type contacts.Found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Found +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.found](../constructors/contacts.found.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->search](../methods/contacts.search.md) + + + diff --git a/old_docs/API_docs_v46/types/contacts.ImportedContacts.md b/old_docs/API_docs_v46/types/contacts.ImportedContacts.md new file mode 100644 index 00000000..16795bab --- /dev/null +++ b/old_docs/API_docs_v46/types/contacts.ImportedContacts.md @@ -0,0 +1,22 @@ +--- +title: contacts.ImportedContacts +description: constructors and methods of type contacts.ImportedContacts +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.ImportedContacts +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.importedContacts](../constructors/contacts.importedContacts.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->importContacts](../methods/contacts.importContacts.md) + + + diff --git a/old_docs/API_docs_v46/types/contacts.Link.md b/old_docs/API_docs_v46/types/contacts.Link.md new file mode 100644 index 00000000..eb9da683 --- /dev/null +++ b/old_docs/API_docs_v46/types/contacts.Link.md @@ -0,0 +1,22 @@ +--- +title: contacts.Link +description: constructors and methods of type contacts.Link +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Link +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.link](../constructors/contacts.link.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->deleteContact](../methods/contacts.deleteContact.md) + + + diff --git a/old_docs/API_docs_v46/types/contacts.ResolvedPeer.md b/old_docs/API_docs_v46/types/contacts.ResolvedPeer.md new file mode 100644 index 00000000..13630d54 --- /dev/null +++ b/old_docs/API_docs_v46/types/contacts.ResolvedPeer.md @@ -0,0 +1,22 @@ +--- +title: contacts.ResolvedPeer +description: constructors and methods of type contacts.ResolvedPeer +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.ResolvedPeer +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.resolvedPeer](../constructors/contacts.resolvedPeer.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->resolveUsername](../methods/contacts.resolveUsername.md) + + + diff --git a/old_docs/API_docs_v46/types/contacts.Suggested.md b/old_docs/API_docs_v46/types/contacts.Suggested.md new file mode 100644 index 00000000..a462dae5 --- /dev/null +++ b/old_docs/API_docs_v46/types/contacts.Suggested.md @@ -0,0 +1,22 @@ +--- +title: contacts.Suggested +description: constructors and methods of type contacts.Suggested +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Suggested +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.suggested](../constructors/contacts.suggested.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getSuggested](../methods/contacts.getSuggested.md) + + + diff --git a/old_docs/API_docs_v46/types/contacts_Blocked.md b/old_docs/API_docs_v46/types/contacts_Blocked.md deleted file mode 100644 index 3e1f02eb..00000000 --- a/old_docs/API_docs_v46/types/contacts_Blocked.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: contacts_Blocked -description: constructors and methods of type contacts_Blocked -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Blocked -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_blocked](../constructors/contacts_blocked.md) - -[contacts\_blockedSlice](../constructors/contacts_blockedSlice.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->getBlocked](../methods/contacts_getBlocked.md) - - - diff --git a/old_docs/API_docs_v46/types/contacts_Contacts.md b/old_docs/API_docs_v46/types/contacts_Contacts.md deleted file mode 100644 index 5d6c9506..00000000 --- a/old_docs/API_docs_v46/types/contacts_Contacts.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: contacts_Contacts -description: constructors and methods of type contacts_Contacts -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Contacts -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_contactsNotModified](../constructors/contacts_contactsNotModified.md) - -[contacts\_contacts](../constructors/contacts_contacts.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->getContacts](../methods/contacts_getContacts.md) - - - diff --git a/old_docs/API_docs_v46/types/contacts_Found.md b/old_docs/API_docs_v46/types/contacts_Found.md deleted file mode 100644 index 806101cf..00000000 --- a/old_docs/API_docs_v46/types/contacts_Found.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_Found -description: constructors and methods of type contacts_Found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Found -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_found](../constructors/contacts_found.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->search](../methods/contacts_search.md) - - - diff --git a/old_docs/API_docs_v46/types/contacts_ImportedContacts.md b/old_docs/API_docs_v46/types/contacts_ImportedContacts.md deleted file mode 100644 index faf7e615..00000000 --- a/old_docs/API_docs_v46/types/contacts_ImportedContacts.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_ImportedContacts -description: constructors and methods of type contacts_ImportedContacts -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_ImportedContacts -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_importedContacts](../constructors/contacts_importedContacts.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->importContacts](../methods/contacts_importContacts.md) - - - diff --git a/old_docs/API_docs_v46/types/contacts_Link.md b/old_docs/API_docs_v46/types/contacts_Link.md deleted file mode 100644 index 01556606..00000000 --- a/old_docs/API_docs_v46/types/contacts_Link.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_Link -description: constructors and methods of type contacts_Link -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Link -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_link](../constructors/contacts_link.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->deleteContact](../methods/contacts_deleteContact.md) - - - diff --git a/old_docs/API_docs_v46/types/contacts_ResolvedPeer.md b/old_docs/API_docs_v46/types/contacts_ResolvedPeer.md deleted file mode 100644 index cf107f7c..00000000 --- a/old_docs/API_docs_v46/types/contacts_ResolvedPeer.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_ResolvedPeer -description: constructors and methods of type contacts_ResolvedPeer -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_ResolvedPeer -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_resolvedPeer](../constructors/contacts_resolvedPeer.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->resolveUsername](../methods/contacts_resolveUsername.md) - - - diff --git a/old_docs/API_docs_v46/types/contacts_Suggested.md b/old_docs/API_docs_v46/types/contacts_Suggested.md deleted file mode 100644 index dd597b3b..00000000 --- a/old_docs/API_docs_v46/types/contacts_Suggested.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_Suggested -description: constructors and methods of type contacts_Suggested -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Suggested -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_suggested](../constructors/contacts_suggested.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->getSuggested](../methods/contacts_getSuggested.md) - - - diff --git a/old_docs/API_docs_v46/types/help.AppChangelog.md b/old_docs/API_docs_v46/types/help.AppChangelog.md new file mode 100644 index 00000000..71584fdc --- /dev/null +++ b/old_docs/API_docs_v46/types/help.AppChangelog.md @@ -0,0 +1,24 @@ +--- +title: help.AppChangelog +description: constructors and methods of type help.AppChangelog +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.AppChangelog +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.appChangelogEmpty](../constructors/help.appChangelogEmpty.md) + +[help.appChangelog](../constructors/help.appChangelog.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getAppChangelog](../methods/help.getAppChangelog.md) + + + diff --git a/old_docs/API_docs_v46/types/help.AppUpdate.md b/old_docs/API_docs_v46/types/help.AppUpdate.md new file mode 100644 index 00000000..285ec2b7 --- /dev/null +++ b/old_docs/API_docs_v46/types/help.AppUpdate.md @@ -0,0 +1,24 @@ +--- +title: help.AppUpdate +description: constructors and methods of type help.AppUpdate +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.AppUpdate +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.appUpdate](../constructors/help.appUpdate.md) + +[help.noAppUpdate](../constructors/help.noAppUpdate.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getAppUpdate](../methods/help.getAppUpdate.md) + + + diff --git a/old_docs/API_docs_v46/types/help.InviteText.md b/old_docs/API_docs_v46/types/help.InviteText.md new file mode 100644 index 00000000..43293f46 --- /dev/null +++ b/old_docs/API_docs_v46/types/help.InviteText.md @@ -0,0 +1,22 @@ +--- +title: help.InviteText +description: constructors and methods of type help.InviteText +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.InviteText +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.inviteText](../constructors/help.inviteText.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getInviteText](../methods/help.getInviteText.md) + + + diff --git a/old_docs/API_docs_v46/types/help.Support.md b/old_docs/API_docs_v46/types/help.Support.md new file mode 100644 index 00000000..42c20483 --- /dev/null +++ b/old_docs/API_docs_v46/types/help.Support.md @@ -0,0 +1,22 @@ +--- +title: help.Support +description: constructors and methods of type help.Support +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.Support +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.support](../constructors/help.support.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getSupport](../methods/help.getSupport.md) + + + diff --git a/old_docs/API_docs_v46/types/help.TermsOfService.md b/old_docs/API_docs_v46/types/help.TermsOfService.md new file mode 100644 index 00000000..6c29d2e6 --- /dev/null +++ b/old_docs/API_docs_v46/types/help.TermsOfService.md @@ -0,0 +1,22 @@ +--- +title: help.TermsOfService +description: constructors and methods of type help.TermsOfService +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.TermsOfService +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.termsOfService](../constructors/help.termsOfService.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getTermsOfService](../methods/help.getTermsOfService.md) + + + diff --git a/old_docs/API_docs_v46/types/help_AppChangelog.md b/old_docs/API_docs_v46/types/help_AppChangelog.md deleted file mode 100644 index 350cb644..00000000 --- a/old_docs/API_docs_v46/types/help_AppChangelog.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: help_AppChangelog -description: constructors and methods of type help_AppChangelog -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_AppChangelog -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_appChangelogEmpty](../constructors/help_appChangelogEmpty.md) - -[help\_appChangelog](../constructors/help_appChangelog.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getAppChangelog](../methods/help_getAppChangelog.md) - - - diff --git a/old_docs/API_docs_v46/types/help_AppUpdate.md b/old_docs/API_docs_v46/types/help_AppUpdate.md deleted file mode 100644 index 1f296a70..00000000 --- a/old_docs/API_docs_v46/types/help_AppUpdate.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: help_AppUpdate -description: constructors and methods of type help_AppUpdate -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_AppUpdate -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_appUpdate](../constructors/help_appUpdate.md) - -[help\_noAppUpdate](../constructors/help_noAppUpdate.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getAppUpdate](../methods/help_getAppUpdate.md) - - - diff --git a/old_docs/API_docs_v46/types/help_InviteText.md b/old_docs/API_docs_v46/types/help_InviteText.md deleted file mode 100644 index 018d35bf..00000000 --- a/old_docs/API_docs_v46/types/help_InviteText.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: help_InviteText -description: constructors and methods of type help_InviteText -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_InviteText -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_inviteText](../constructors/help_inviteText.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getInviteText](../methods/help_getInviteText.md) - - - diff --git a/old_docs/API_docs_v46/types/help_Support.md b/old_docs/API_docs_v46/types/help_Support.md deleted file mode 100644 index 26de447b..00000000 --- a/old_docs/API_docs_v46/types/help_Support.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: help_Support -description: constructors and methods of type help_Support -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_Support -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_support](../constructors/help_support.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getSupport](../methods/help_getSupport.md) - - - diff --git a/old_docs/API_docs_v46/types/help_TermsOfService.md b/old_docs/API_docs_v46/types/help_TermsOfService.md deleted file mode 100644 index 84a05df3..00000000 --- a/old_docs/API_docs_v46/types/help_TermsOfService.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: help_TermsOfService -description: constructors and methods of type help_TermsOfService -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_TermsOfService -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_termsOfService](../constructors/help_termsOfService.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getTermsOfService](../methods/help_getTermsOfService.md) - - - diff --git a/old_docs/API_docs_v46/types/messages.AffectedHistory.md b/old_docs/API_docs_v46/types/messages.AffectedHistory.md new file mode 100644 index 00000000..f0411b4d --- /dev/null +++ b/old_docs/API_docs_v46/types/messages.AffectedHistory.md @@ -0,0 +1,24 @@ +--- +title: messages.AffectedHistory +description: constructors and methods of type messages.AffectedHistory +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.AffectedHistory +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.affectedHistory](../constructors/messages.affectedHistory.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->deleteHistory](../methods/messages.deleteHistory.md) + +[$MadelineProto->channels->deleteUserHistory](../methods/channels.deleteUserHistory.md) + + + diff --git a/old_docs/API_docs_v46/types/messages.AffectedMessages.md b/old_docs/API_docs_v46/types/messages.AffectedMessages.md new file mode 100644 index 00000000..a9159de3 --- /dev/null +++ b/old_docs/API_docs_v46/types/messages.AffectedMessages.md @@ -0,0 +1,28 @@ +--- +title: messages.AffectedMessages +description: constructors and methods of type messages.AffectedMessages +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.AffectedMessages +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.affectedMessages](../constructors/messages.affectedMessages.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->readHistory](../methods/messages.readHistory.md) + +[$MadelineProto->messages->deleteMessages](../methods/messages.deleteMessages.md) + +[$MadelineProto->messages->readMessageContents](../methods/messages.readMessageContents.md) + +[$MadelineProto->channels->deleteMessages](../methods/channels.deleteMessages.md) + + + diff --git a/old_docs/API_docs_v46/types/messages.AllStickers.md b/old_docs/API_docs_v46/types/messages.AllStickers.md new file mode 100644 index 00000000..5ece92c0 --- /dev/null +++ b/old_docs/API_docs_v46/types/messages.AllStickers.md @@ -0,0 +1,24 @@ +--- +title: messages.AllStickers +description: constructors and methods of type messages.AllStickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.AllStickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.allStickersNotModified](../constructors/messages.allStickersNotModified.md) + +[messages.allStickers](../constructors/messages.allStickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getAllStickers](../methods/messages.getAllStickers.md) + + + diff --git a/old_docs/API_docs_v46/types/messages.BotResults.md b/old_docs/API_docs_v46/types/messages.BotResults.md new file mode 100644 index 00000000..76ee2b99 --- /dev/null +++ b/old_docs/API_docs_v46/types/messages.BotResults.md @@ -0,0 +1,22 @@ +--- +title: messages.BotResults +description: constructors and methods of type messages.BotResults +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.BotResults +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.botResults](../constructors/messages.botResults.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getInlineBotResults](../methods/messages.getInlineBotResults.md) + + + diff --git a/old_docs/API_docs_v46/types/messages.ChatFull.md b/old_docs/API_docs_v46/types/messages.ChatFull.md new file mode 100644 index 00000000..3ad38748 --- /dev/null +++ b/old_docs/API_docs_v46/types/messages.ChatFull.md @@ -0,0 +1,24 @@ +--- +title: messages.ChatFull +description: constructors and methods of type messages.ChatFull +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.ChatFull +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.chatFull](../constructors/messages.chatFull.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getFullChat](../methods/messages.getFullChat.md) + +[$MadelineProto->channels->getFullChannel](../methods/channels.getFullChannel.md) + + + diff --git a/old_docs/API_docs_v46/types/messages.Chats.md b/old_docs/API_docs_v46/types/messages.Chats.md new file mode 100644 index 00000000..c2bfab5d --- /dev/null +++ b/old_docs/API_docs_v46/types/messages.Chats.md @@ -0,0 +1,24 @@ +--- +title: messages.Chats +description: constructors and methods of type messages.Chats +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Chats +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.chats](../constructors/messages.chats.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getChats](../methods/messages.getChats.md) + +[$MadelineProto->channels->getChannels](../methods/channels.getChannels.md) + + + diff --git a/old_docs/API_docs_v46/types/messages.DhConfig.md b/old_docs/API_docs_v46/types/messages.DhConfig.md new file mode 100644 index 00000000..77188ab7 --- /dev/null +++ b/old_docs/API_docs_v46/types/messages.DhConfig.md @@ -0,0 +1,24 @@ +--- +title: messages.DhConfig +description: constructors and methods of type messages.DhConfig +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.DhConfig +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.dhConfigNotModified](../constructors/messages.dhConfigNotModified.md) + +[messages.dhConfig](../constructors/messages.dhConfig.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getDhConfig](../methods/messages.getDhConfig.md) + + + diff --git a/old_docs/API_docs_v46/types/messages.Dialogs.md b/old_docs/API_docs_v46/types/messages.Dialogs.md new file mode 100644 index 00000000..f70ca7d8 --- /dev/null +++ b/old_docs/API_docs_v46/types/messages.Dialogs.md @@ -0,0 +1,26 @@ +--- +title: messages.Dialogs +description: constructors and methods of type messages.Dialogs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Dialogs +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.dialogs](../constructors/messages.dialogs.md) + +[messages.dialogsSlice](../constructors/messages.dialogsSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getDialogs](../methods/messages.getDialogs.md) + +[$MadelineProto->channels->getDialogs](../methods/channels.getDialogs.md) + + + diff --git a/old_docs/API_docs_v46/types/messages.FoundGifs.md b/old_docs/API_docs_v46/types/messages.FoundGifs.md new file mode 100644 index 00000000..b5176a5d --- /dev/null +++ b/old_docs/API_docs_v46/types/messages.FoundGifs.md @@ -0,0 +1,22 @@ +--- +title: messages.FoundGifs +description: constructors and methods of type messages.FoundGifs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.FoundGifs +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.foundGifs](../constructors/messages.foundGifs.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->searchGifs](../methods/messages.searchGifs.md) + + + diff --git a/old_docs/API_docs_v46/types/messages.Messages.md b/old_docs/API_docs_v46/types/messages.Messages.md new file mode 100644 index 00000000..6639e20c --- /dev/null +++ b/old_docs/API_docs_v46/types/messages.Messages.md @@ -0,0 +1,36 @@ +--- +title: messages.Messages +description: constructors and methods of type messages.Messages +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Messages +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.messages](../constructors/messages.messages.md) + +[messages.messagesSlice](../constructors/messages.messagesSlice.md) + +[messages.channelMessages](../constructors/messages.channelMessages.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getMessages](../methods/messages.getMessages.md) + +[$MadelineProto->messages->getHistory](../methods/messages.getHistory.md) + +[$MadelineProto->messages->search](../methods/messages.search.md) + +[$MadelineProto->messages->searchGlobal](../methods/messages.searchGlobal.md) + +[$MadelineProto->channels->getImportantHistory](../methods/channels.getImportantHistory.md) + +[$MadelineProto->channels->getMessages](../methods/channels.getMessages.md) + + + diff --git a/old_docs/API_docs_v46/types/messages.SavedGifs.md b/old_docs/API_docs_v46/types/messages.SavedGifs.md new file mode 100644 index 00000000..99844c98 --- /dev/null +++ b/old_docs/API_docs_v46/types/messages.SavedGifs.md @@ -0,0 +1,24 @@ +--- +title: messages.SavedGifs +description: constructors and methods of type messages.SavedGifs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.SavedGifs +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.savedGifsNotModified](../constructors/messages.savedGifsNotModified.md) + +[messages.savedGifs](../constructors/messages.savedGifs.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getSavedGifs](../methods/messages.getSavedGifs.md) + + + diff --git a/old_docs/API_docs_v46/types/messages.SentEncryptedMessage.md b/old_docs/API_docs_v46/types/messages.SentEncryptedMessage.md new file mode 100644 index 00000000..b6d05b1f --- /dev/null +++ b/old_docs/API_docs_v46/types/messages.SentEncryptedMessage.md @@ -0,0 +1,28 @@ +--- +title: messages.SentEncryptedMessage +description: constructors and methods of type messages.SentEncryptedMessage +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.SentEncryptedMessage +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.sentEncryptedMessage](../constructors/messages.sentEncryptedMessage.md) + +[messages.sentEncryptedFile](../constructors/messages.sentEncryptedFile.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->sendEncrypted](../methods/messages.sendEncrypted.md) + +[$MadelineProto->messages->sendEncryptedFile](../methods/messages.sendEncryptedFile.md) + +[$MadelineProto->messages->sendEncryptedService](../methods/messages.sendEncryptedService.md) + + + diff --git a/old_docs/API_docs_v46/types/messages.StickerSet.md b/old_docs/API_docs_v46/types/messages.StickerSet.md new file mode 100644 index 00000000..8de24a76 --- /dev/null +++ b/old_docs/API_docs_v46/types/messages.StickerSet.md @@ -0,0 +1,22 @@ +--- +title: messages.StickerSet +description: constructors and methods of type messages.StickerSet +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.StickerSet +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.stickerSet](../constructors/messages.stickerSet.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getStickerSet](../methods/messages.getStickerSet.md) + + + diff --git a/old_docs/API_docs_v46/types/messages.Stickers.md b/old_docs/API_docs_v46/types/messages.Stickers.md new file mode 100644 index 00000000..43bddf06 --- /dev/null +++ b/old_docs/API_docs_v46/types/messages.Stickers.md @@ -0,0 +1,24 @@ +--- +title: messages.Stickers +description: constructors and methods of type messages.Stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Stickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.stickersNotModified](../constructors/messages.stickersNotModified.md) + +[messages.stickers](../constructors/messages.stickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getStickers](../methods/messages.getStickers.md) + + + diff --git a/old_docs/API_docs_v46/types/messages_AffectedHistory.md b/old_docs/API_docs_v46/types/messages_AffectedHistory.md deleted file mode 100644 index a2d75894..00000000 --- a/old_docs/API_docs_v46/types/messages_AffectedHistory.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_AffectedHistory -description: constructors and methods of type messages_AffectedHistory -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_AffectedHistory -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_affectedHistory](../constructors/messages_affectedHistory.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->deleteHistory](../methods/messages_deleteHistory.md) - -[$MadelineProto->channels->deleteUserHistory](../methods/channels_deleteUserHistory.md) - - - diff --git a/old_docs/API_docs_v46/types/messages_AffectedMessages.md b/old_docs/API_docs_v46/types/messages_AffectedMessages.md deleted file mode 100644 index dcbea721..00000000 --- a/old_docs/API_docs_v46/types/messages_AffectedMessages.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: messages_AffectedMessages -description: constructors and methods of type messages_AffectedMessages -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_AffectedMessages -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_affectedMessages](../constructors/messages_affectedMessages.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->readHistory](../methods/messages_readHistory.md) - -[$MadelineProto->messages->deleteMessages](../methods/messages_deleteMessages.md) - -[$MadelineProto->messages->readMessageContents](../methods/messages_readMessageContents.md) - -[$MadelineProto->channels->deleteMessages](../methods/channels_deleteMessages.md) - - - diff --git a/old_docs/API_docs_v46/types/messages_AllStickers.md b/old_docs/API_docs_v46/types/messages_AllStickers.md deleted file mode 100644 index 59d19759..00000000 --- a/old_docs/API_docs_v46/types/messages_AllStickers.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_AllStickers -description: constructors and methods of type messages_AllStickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_AllStickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_allStickersNotModified](../constructors/messages_allStickersNotModified.md) - -[messages\_allStickers](../constructors/messages_allStickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getAllStickers](../methods/messages_getAllStickers.md) - - - diff --git a/old_docs/API_docs_v46/types/messages_BotResults.md b/old_docs/API_docs_v46/types/messages_BotResults.md deleted file mode 100644 index c346c5bd..00000000 --- a/old_docs/API_docs_v46/types/messages_BotResults.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_BotResults -description: constructors and methods of type messages_BotResults -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_BotResults -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_botResults](../constructors/messages_botResults.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getInlineBotResults](../methods/messages_getInlineBotResults.md) - - - diff --git a/old_docs/API_docs_v46/types/messages_ChatFull.md b/old_docs/API_docs_v46/types/messages_ChatFull.md deleted file mode 100644 index e4add41e..00000000 --- a/old_docs/API_docs_v46/types/messages_ChatFull.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_ChatFull -description: constructors and methods of type messages_ChatFull -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_ChatFull -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_chatFull](../constructors/messages_chatFull.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getFullChat](../methods/messages_getFullChat.md) - -[$MadelineProto->channels->getFullChannel](../methods/channels_getFullChannel.md) - - - diff --git a/old_docs/API_docs_v46/types/messages_Chats.md b/old_docs/API_docs_v46/types/messages_Chats.md deleted file mode 100644 index 18b8c0d7..00000000 --- a/old_docs/API_docs_v46/types/messages_Chats.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_Chats -description: constructors and methods of type messages_Chats -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Chats -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_chats](../constructors/messages_chats.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getChats](../methods/messages_getChats.md) - -[$MadelineProto->channels->getChannels](../methods/channels_getChannels.md) - - - diff --git a/old_docs/API_docs_v46/types/messages_DhConfig.md b/old_docs/API_docs_v46/types/messages_DhConfig.md deleted file mode 100644 index ce237411..00000000 --- a/old_docs/API_docs_v46/types/messages_DhConfig.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_DhConfig -description: constructors and methods of type messages_DhConfig -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_DhConfig -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_dhConfigNotModified](../constructors/messages_dhConfigNotModified.md) - -[messages\_dhConfig](../constructors/messages_dhConfig.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getDhConfig](../methods/messages_getDhConfig.md) - - - diff --git a/old_docs/API_docs_v46/types/messages_Dialogs.md b/old_docs/API_docs_v46/types/messages_Dialogs.md deleted file mode 100644 index 188c4e55..00000000 --- a/old_docs/API_docs_v46/types/messages_Dialogs.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: messages_Dialogs -description: constructors and methods of type messages_Dialogs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Dialogs -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_dialogs](../constructors/messages_dialogs.md) - -[messages\_dialogsSlice](../constructors/messages_dialogsSlice.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getDialogs](../methods/messages_getDialogs.md) - -[$MadelineProto->channels->getDialogs](../methods/channels_getDialogs.md) - - - diff --git a/old_docs/API_docs_v46/types/messages_FoundGifs.md b/old_docs/API_docs_v46/types/messages_FoundGifs.md deleted file mode 100644 index 9dd088ba..00000000 --- a/old_docs/API_docs_v46/types/messages_FoundGifs.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_FoundGifs -description: constructors and methods of type messages_FoundGifs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_FoundGifs -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_foundGifs](../constructors/messages_foundGifs.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->searchGifs](../methods/messages_searchGifs.md) - - - diff --git a/old_docs/API_docs_v46/types/messages_Messages.md b/old_docs/API_docs_v46/types/messages_Messages.md deleted file mode 100644 index 4039a408..00000000 --- a/old_docs/API_docs_v46/types/messages_Messages.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -title: messages_Messages -description: constructors and methods of type messages_Messages -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Messages -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_messages](../constructors/messages_messages.md) - -[messages\_messagesSlice](../constructors/messages_messagesSlice.md) - -[messages\_channelMessages](../constructors/messages_channelMessages.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getMessages](../methods/messages_getMessages.md) - -[$MadelineProto->messages->getHistory](../methods/messages_getHistory.md) - -[$MadelineProto->messages->search](../methods/messages_search.md) - -[$MadelineProto->messages->searchGlobal](../methods/messages_searchGlobal.md) - -[$MadelineProto->channels->getImportantHistory](../methods/channels_getImportantHistory.md) - -[$MadelineProto->channels->getMessages](../methods/channels_getMessages.md) - - - diff --git a/old_docs/API_docs_v46/types/messages_SavedGifs.md b/old_docs/API_docs_v46/types/messages_SavedGifs.md deleted file mode 100644 index ffb000aa..00000000 --- a/old_docs/API_docs_v46/types/messages_SavedGifs.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_SavedGifs -description: constructors and methods of type messages_SavedGifs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_SavedGifs -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_savedGifsNotModified](../constructors/messages_savedGifsNotModified.md) - -[messages\_savedGifs](../constructors/messages_savedGifs.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getSavedGifs](../methods/messages_getSavedGifs.md) - - - diff --git a/old_docs/API_docs_v46/types/messages_SentEncryptedMessage.md b/old_docs/API_docs_v46/types/messages_SentEncryptedMessage.md deleted file mode 100644 index 9f7ab935..00000000 --- a/old_docs/API_docs_v46/types/messages_SentEncryptedMessage.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: messages_SentEncryptedMessage -description: constructors and methods of type messages_SentEncryptedMessage -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_SentEncryptedMessage -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_sentEncryptedMessage](../constructors/messages_sentEncryptedMessage.md) - -[messages\_sentEncryptedFile](../constructors/messages_sentEncryptedFile.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->sendEncrypted](../methods/messages_sendEncrypted.md) - -[$MadelineProto->messages->sendEncryptedFile](../methods/messages_sendEncryptedFile.md) - -[$MadelineProto->messages->sendEncryptedService](../methods/messages_sendEncryptedService.md) - - - diff --git a/old_docs/API_docs_v46/types/messages_StickerSet.md b/old_docs/API_docs_v46/types/messages_StickerSet.md deleted file mode 100644 index e04ee8bf..00000000 --- a/old_docs/API_docs_v46/types/messages_StickerSet.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_StickerSet -description: constructors and methods of type messages_StickerSet -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_StickerSet -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_stickerSet](../constructors/messages_stickerSet.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getStickerSet](../methods/messages_getStickerSet.md) - - - diff --git a/old_docs/API_docs_v46/types/messages_Stickers.md b/old_docs/API_docs_v46/types/messages_Stickers.md deleted file mode 100644 index cf53f57b..00000000 --- a/old_docs/API_docs_v46/types/messages_Stickers.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_Stickers -description: constructors and methods of type messages_Stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Stickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_stickersNotModified](../constructors/messages_stickersNotModified.md) - -[messages\_stickers](../constructors/messages_stickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getStickers](../methods/messages_getStickers.md) - - - diff --git a/old_docs/API_docs_v46/types/photos.Photo.md b/old_docs/API_docs_v46/types/photos.Photo.md new file mode 100644 index 00000000..d60f203c --- /dev/null +++ b/old_docs/API_docs_v46/types/photos.Photo.md @@ -0,0 +1,22 @@ +--- +title: photos.Photo +description: constructors and methods of type photos.Photo +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: photos.Photo +[Back to types index](index.md) + + + +### Possible values (constructors): + +[photos.photo](../constructors/photos.photo.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->photos->uploadProfilePhoto](../methods/photos.uploadProfilePhoto.md) + + + diff --git a/old_docs/API_docs_v46/types/photos.Photos.md b/old_docs/API_docs_v46/types/photos.Photos.md new file mode 100644 index 00000000..fff0e296 --- /dev/null +++ b/old_docs/API_docs_v46/types/photos.Photos.md @@ -0,0 +1,24 @@ +--- +title: photos.Photos +description: constructors and methods of type photos.Photos +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: photos.Photos +[Back to types index](index.md) + + + +### Possible values (constructors): + +[photos.photos](../constructors/photos.photos.md) + +[photos.photosSlice](../constructors/photos.photosSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->photos->getUserPhotos](../methods/photos.getUserPhotos.md) + + + diff --git a/old_docs/API_docs_v46/types/photos_Photo.md b/old_docs/API_docs_v46/types/photos_Photo.md deleted file mode 100644 index d11bbdef..00000000 --- a/old_docs/API_docs_v46/types/photos_Photo.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: photos_Photo -description: constructors and methods of type photos_Photo -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: photos\_Photo -[Back to types index](index.md) - - - -### Possible values (constructors): - -[photos\_photo](../constructors/photos_photo.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->photos->uploadProfilePhoto](../methods/photos_uploadProfilePhoto.md) - - - diff --git a/old_docs/API_docs_v46/types/photos_Photos.md b/old_docs/API_docs_v46/types/photos_Photos.md deleted file mode 100644 index 9875ad70..00000000 --- a/old_docs/API_docs_v46/types/photos_Photos.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: photos_Photos -description: constructors and methods of type photos_Photos -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: photos\_Photos -[Back to types index](index.md) - - - -### Possible values (constructors): - -[photos\_photos](../constructors/photos_photos.md) - -[photos\_photosSlice](../constructors/photos_photosSlice.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->photos->getUserPhotos](../methods/photos_getUserPhotos.md) - - - diff --git a/old_docs/API_docs_v46/types/storage.FileType.md b/old_docs/API_docs_v46/types/storage.FileType.md new file mode 100644 index 00000000..73dc8a92 --- /dev/null +++ b/old_docs/API_docs_v46/types/storage.FileType.md @@ -0,0 +1,38 @@ +--- +title: storage.FileType +description: constructors and methods of type storage.FileType +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: storage.FileType +[Back to types index](index.md) + + + +### Possible values (constructors): + +[storage.fileUnknown](../constructors/storage.fileUnknown.md) + +[storage.fileJpeg](../constructors/storage.fileJpeg.md) + +[storage.fileGif](../constructors/storage.fileGif.md) + +[storage.filePng](../constructors/storage.filePng.md) + +[storage.filePdf](../constructors/storage.filePdf.md) + +[storage.fileMp3](../constructors/storage.fileMp3.md) + +[storage.fileMov](../constructors/storage.fileMov.md) + +[storage.filePartial](../constructors/storage.filePartial.md) + +[storage.fileMp4](../constructors/storage.fileMp4.md) + +[storage.fileWebp](../constructors/storage.fileWebp.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v46/types/storage_FileType.md b/old_docs/API_docs_v46/types/storage_FileType.md deleted file mode 100644 index 076c52a4..00000000 --- a/old_docs/API_docs_v46/types/storage_FileType.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: storage_FileType -description: constructors and methods of type storage_FileType -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: storage\_FileType -[Back to types index](index.md) - - - -### Possible values (constructors): - -[storage\_fileUnknown](../constructors/storage_fileUnknown.md) - -[storage\_fileJpeg](../constructors/storage_fileJpeg.md) - -[storage\_fileGif](../constructors/storage_fileGif.md) - -[storage\_filePng](../constructors/storage_filePng.md) - -[storage\_filePdf](../constructors/storage_filePdf.md) - -[storage\_fileMp3](../constructors/storage_fileMp3.md) - -[storage\_fileMov](../constructors/storage_fileMov.md) - -[storage\_filePartial](../constructors/storage_filePartial.md) - -[storage\_fileMp4](../constructors/storage_fileMp4.md) - -[storage\_fileWebp](../constructors/storage_fileWebp.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v46/types/updates.ChannelDifference.md b/old_docs/API_docs_v46/types/updates.ChannelDifference.md new file mode 100644 index 00000000..ac889a1e --- /dev/null +++ b/old_docs/API_docs_v46/types/updates.ChannelDifference.md @@ -0,0 +1,26 @@ +--- +title: updates.ChannelDifference +description: constructors and methods of type updates.ChannelDifference +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: updates.ChannelDifference +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updates.channelDifferenceEmpty](../constructors/updates.channelDifferenceEmpty.md) + +[updates.channelDifferenceTooLong](../constructors/updates.channelDifferenceTooLong.md) + +[updates.channelDifference](../constructors/updates.channelDifference.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->updates->getChannelDifference](../methods/updates.getChannelDifference.md) + + + diff --git a/old_docs/API_docs_v46/types/updates.Difference.md b/old_docs/API_docs_v46/types/updates.Difference.md new file mode 100644 index 00000000..35998855 --- /dev/null +++ b/old_docs/API_docs_v46/types/updates.Difference.md @@ -0,0 +1,26 @@ +--- +title: updates.Difference +description: constructors and methods of type updates.Difference +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: updates.Difference +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updates.differenceEmpty](../constructors/updates.differenceEmpty.md) + +[updates.difference](../constructors/updates.difference.md) + +[updates.differenceSlice](../constructors/updates.differenceSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->updates->getDifference](../methods/updates.getDifference.md) + + + diff --git a/old_docs/API_docs_v46/types/updates.State.md b/old_docs/API_docs_v46/types/updates.State.md new file mode 100644 index 00000000..49bbb7fd --- /dev/null +++ b/old_docs/API_docs_v46/types/updates.State.md @@ -0,0 +1,22 @@ +--- +title: updates.State +description: constructors and methods of type updates.State +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: updates.State +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updates.state](../constructors/updates.state.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->updates->getState](../methods/updates.getState.md) + + + diff --git a/old_docs/API_docs_v46/types/updates_ChannelDifference.md b/old_docs/API_docs_v46/types/updates_ChannelDifference.md deleted file mode 100644 index dc988692..00000000 --- a/old_docs/API_docs_v46/types/updates_ChannelDifference.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: updates_ChannelDifference -description: constructors and methods of type updates_ChannelDifference -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: updates\_ChannelDifference -[Back to types index](index.md) - - - -### Possible values (constructors): - -[updates\_channelDifferenceEmpty](../constructors/updates_channelDifferenceEmpty.md) - -[updates\_channelDifferenceTooLong](../constructors/updates_channelDifferenceTooLong.md) - -[updates\_channelDifference](../constructors/updates_channelDifference.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->updates->getChannelDifference](../methods/updates_getChannelDifference.md) - - - diff --git a/old_docs/API_docs_v46/types/updates_Difference.md b/old_docs/API_docs_v46/types/updates_Difference.md deleted file mode 100644 index 0190189b..00000000 --- a/old_docs/API_docs_v46/types/updates_Difference.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: updates_Difference -description: constructors and methods of type updates_Difference -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: updates\_Difference -[Back to types index](index.md) - - - -### Possible values (constructors): - -[updates\_differenceEmpty](../constructors/updates_differenceEmpty.md) - -[updates\_difference](../constructors/updates_difference.md) - -[updates\_differenceSlice](../constructors/updates_differenceSlice.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->updates->getDifference](../methods/updates_getDifference.md) - - - diff --git a/old_docs/API_docs_v46/types/updates_State.md b/old_docs/API_docs_v46/types/updates_State.md deleted file mode 100644 index 7a441145..00000000 --- a/old_docs/API_docs_v46/types/updates_State.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: updates_State -description: constructors and methods of type updates_State -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: updates\_State -[Back to types index](index.md) - - - -### Possible values (constructors): - -[updates\_state](../constructors/updates_state.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->updates->getState](../methods/updates_getState.md) - - - diff --git a/old_docs/API_docs_v46/types/upload.File.md b/old_docs/API_docs_v46/types/upload.File.md new file mode 100644 index 00000000..922e6c7a --- /dev/null +++ b/old_docs/API_docs_v46/types/upload.File.md @@ -0,0 +1,22 @@ +--- +title: upload.File +description: constructors and methods of type upload.File +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: upload.File +[Back to types index](index.md) + + + +### Possible values (constructors): + +[upload.file](../constructors/upload.file.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->upload->getFile](../methods/upload.getFile.md) + + + diff --git a/old_docs/API_docs_v46/types/upload_File.md b/old_docs/API_docs_v46/types/upload_File.md deleted file mode 100644 index 6e3bc38d..00000000 --- a/old_docs/API_docs_v46/types/upload_File.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: upload_File -description: constructors and methods of type upload_File -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: upload\_File -[Back to types index](index.md) - - - -### Possible values (constructors): - -[upload\_file](../constructors/upload_file.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->upload->getFile](../methods/upload_getFile.md) - - - diff --git a/old_docs/API_docs_v51/constructors/README.md b/old_docs/API_docs_v51/constructors/README.md index dbc61d10..efeb5f62 100644 --- a/old_docs/API_docs_v51/constructors/README.md +++ b/old_docs/API_docs_v51/constructors/README.md @@ -6,46 +6,62 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png # Constructors [Back to API documentation index](..) +*** +

[$account.authorizations](../constructors/account.authorizations.md) = \['authorizations' => \[[Authorization](../types/Authorization.md)\], \]; + +*** +

[$account.noPassword](../constructors/account.noPassword.md) = \['new_salt' => [bytes](../types/bytes.md), 'email_unconfirmed_pattern' => [string](../types/string.md), \]; + +*** +

[$account.password](../constructors/account.password.md) = \['current_salt' => [bytes](../types/bytes.md), 'new_salt' => [bytes](../types/bytes.md), 'hint' => [string](../types/string.md), 'has_recovery' => [Bool](../types/Bool.md), 'email_unconfirmed_pattern' => [string](../types/string.md), \]; + +*** +

[$account.passwordInputSettings](../constructors/account.passwordInputSettings.md) = \['new_salt' => [bytes](../types/bytes.md), 'new_password_hash' => [bytes](../types/bytes.md), 'hint' => [string](../types/string.md), 'email' => [string](../types/string.md), \]; + +*** +

[$account.passwordSettings](../constructors/account.passwordSettings.md) = \['email' => [string](../types/string.md), \]; + +*** +

[$account.privacyRules](../constructors/account.privacyRules.md) = \['rules' => \[[PrivacyRule](../types/PrivacyRule.md)\], 'users' => \[[User](../types/User.md)\], \]; + ***

[$accountDaysTTL](../constructors/accountDaysTTL.md) = \['days' => [int](../types/int.md), \]; *** -

[$account\_authorizations](../constructors/account_authorizations.md) = \['authorizations' => \[[Authorization](../types/Authorization.md)\], \]; - -[$account\_noPassword](../constructors/account_noPassword.md) = \['new_salt' => [bytes](../types/bytes.md), 'email_unconfirmed_pattern' => [string](../types/string.md), \]; - -[$account\_password](../constructors/account_password.md) = \['current_salt' => [bytes](../types/bytes.md), 'new_salt' => [bytes](../types/bytes.md), 'hint' => [string](../types/string.md), 'has_recovery' => [Bool](../types/Bool.md), 'email_unconfirmed_pattern' => [string](../types/string.md), \]; - -[$account\_passwordInputSettings](../constructors/account_passwordInputSettings.md) = \['new_salt' => [bytes](../types/bytes.md), 'new_password_hash' => [bytes](../types/bytes.md), 'hint' => [string](../types/string.md), 'email' => [string](../types/string.md), \]; - -[$account\_passwordSettings](../constructors/account_passwordSettings.md) = \['email' => [string](../types/string.md), \]; - -[$account\_privacyRules](../constructors/account_privacyRules.md) = \['rules' => \[[PrivacyRule](../types/PrivacyRule.md)\], 'users' => \[[User](../types/User.md)\], \]; +

[$auth.authorization](../constructors/auth.authorization.md) = \['user' => [User](../types/User.md), \]; *** -

[$auth\_authorization](../constructors/auth_authorization.md) = \['user' => [User](../types/User.md), \]; +

[$auth.checkedPhone](../constructors/auth.checkedPhone.md) = \['phone_registered' => [Bool](../types/Bool.md), \]; -[$auth\_checkedPhone](../constructors/auth_checkedPhone.md) = \['phone_registered' => [Bool](../types/Bool.md), \]; +*** +

[$auth.codeTypeCall](../constructors/auth.codeTypeCall.md) = \[\]; -[$auth\_codeTypeCall](../constructors/auth_codeTypeCall.md) = \[\]; +*** +

[$auth.codeTypeFlashCall](../constructors/auth.codeTypeFlashCall.md) = \[\]; -[$auth\_codeTypeFlashCall](../constructors/auth_codeTypeFlashCall.md) = \[\]; +*** +

[$auth.codeTypeSms](../constructors/auth.codeTypeSms.md) = \[\]; -[$auth\_codeTypeSms](../constructors/auth_codeTypeSms.md) = \[\]; +*** +

[$auth.exportedAuthorization](../constructors/auth.exportedAuthorization.md) = \['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; -[$auth\_exportedAuthorization](../constructors/auth_exportedAuthorization.md) = \['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; +*** +

[$auth.passwordRecovery](../constructors/auth.passwordRecovery.md) = \['email_pattern' => [string](../types/string.md), \]; -[$auth\_passwordRecovery](../constructors/auth_passwordRecovery.md) = \['email_pattern' => [string](../types/string.md), \]; +*** +

[$auth.sentCode](../constructors/auth.sentCode.md) = \['phone_registered' => [Bool](../types/Bool.md), 'type' => [auth.SentCodeType](../types/auth.SentCodeType.md), 'phone_code_hash' => [string](../types/string.md), 'next_type' => [auth.CodeType](../types/auth.CodeType.md), 'timeout' => [int](../types/int.md), \]; -[$auth\_sentCode](../constructors/auth_sentCode.md) = \['phone_registered' => [Bool](../types/Bool.md), 'type' => [auth.SentCodeType](../types/auth.SentCodeType.md), 'phone_code_hash' => [string](../types/string.md), 'next_type' => [auth.CodeType](../types/auth.CodeType.md), 'timeout' => [int](../types/int.md), \]; +*** +

[$auth.sentCodeTypeApp](../constructors/auth.sentCodeTypeApp.md) = \['length' => [int](../types/int.md), \]; -[$auth\_sentCodeTypeApp](../constructors/auth_sentCodeTypeApp.md) = \['length' => [int](../types/int.md), \]; +*** +

[$auth.sentCodeTypeCall](../constructors/auth.sentCodeTypeCall.md) = \['length' => [int](../types/int.md), \]; -[$auth\_sentCodeTypeCall](../constructors/auth_sentCodeTypeCall.md) = \['length' => [int](../types/int.md), \]; +*** +

[$auth.sentCodeTypeFlashCall](../constructors/auth.sentCodeTypeFlashCall.md) = \['pattern' => [string](../types/string.md), \]; -[$auth\_sentCodeTypeFlashCall](../constructors/auth_sentCodeTypeFlashCall.md) = \['pattern' => [string](../types/string.md), \]; - -[$auth\_sentCodeTypeSms](../constructors/auth_sentCodeTypeSms.md) = \['length' => [int](../types/int.md), \]; +*** +

[$auth.sentCodeTypeSms](../constructors/auth.sentCodeTypeSms.md) = \['length' => [int](../types/int.md), \]; ***

[$authorization](../constructors/authorization.md) = \['hash' => [long](../types/long.md), 'device_model' => [string](../types/string.md), 'platform' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'api_id' => [int](../types/int.md), 'app_name' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'date_created' => [int](../types/int.md), 'date_active' => [int](../types/int.md), 'ip' => [string](../types/string.md), 'country' => [string](../types/string.md), 'region' => [string](../types/string.md), \]; @@ -141,9 +157,10 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$channelRoleModerator](../constructors/channelRoleModerator.md) = \[\]; *** -

[$channels\_channelParticipant](../constructors/channels_channelParticipant.md) = \['participant' => [ChannelParticipant](../types/ChannelParticipant.md), 'users' => \[[User](../types/User.md)\], \]; +

[$channels.channelParticipant](../constructors/channels.channelParticipant.md) = \['participant' => [ChannelParticipant](../types/ChannelParticipant.md), 'users' => \[[User](../types/User.md)\], \]; -[$channels\_channelParticipants](../constructors/channels_channelParticipants.md) = \['count' => [int](../types/int.md), 'participants' => \[[ChannelParticipant](../types/ChannelParticipant.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$channels.channelParticipants](../constructors/channels.channelParticipants.md) = \['count' => [int](../types/int.md), 'participants' => \[[ChannelParticipant](../types/ChannelParticipant.md)\], 'users' => \[[User](../types/User.md)\], \]; ***

[$chat](../constructors/chat.md) = \['creator' => [Bool](../types/Bool.md), 'kicked' => [Bool](../types/Bool.md), 'left' => [Bool](../types/Bool.md), 'admins_enabled' => [Bool](../types/Bool.md), 'admin' => [Bool](../types/Bool.md), 'deactivated' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'title' => [string](../types/string.md), 'photo' => [ChatPhoto](../types/ChatPhoto.md), 'participants_count' => [int](../types/int.md), 'date' => [int](../types/int.md), 'version' => [int](../types/int.md), 'migrated_to' => [InputChannel](../types/InputChannel.md), \]; @@ -215,21 +232,28 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$contactStatus](../constructors/contactStatus.md) = \['user_id' => [int](../types/int.md), 'status' => [UserStatus](../types/UserStatus.md), \]; *** -

[$contacts\_blocked](../constructors/contacts_blocked.md) = \['blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; +

[$contacts.blocked](../constructors/contacts.blocked.md) = \['blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_blockedSlice](../constructors/contacts_blockedSlice.md) = \['count' => [int](../types/int.md), 'blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.blockedSlice](../constructors/contacts.blockedSlice.md) = \['count' => [int](../types/int.md), 'blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_contacts](../constructors/contacts_contacts.md) = \['contacts' => \[[Contact](../types/Contact.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.contacts](../constructors/contacts.contacts.md) = \['contacts' => \[[Contact](../types/Contact.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_contactsNotModified](../constructors/contacts_contactsNotModified.md) = \[\]; +*** +

[$contacts.contactsNotModified](../constructors/contacts.contactsNotModified.md) = \[\]; -[$contacts\_found](../constructors/contacts_found.md) = \['results' => \[[Peer](../types/Peer.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.found](../constructors/contacts.found.md) = \['results' => \[[Peer](../types/Peer.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_importedContacts](../constructors/contacts_importedContacts.md) = \['imported' => \[[ImportedContact](../types/ImportedContact.md)\], 'retry_contacts' => \[[long](../types/long.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.importedContacts](../constructors/contacts.importedContacts.md) = \['imported' => \[[ImportedContact](../types/ImportedContact.md)\], 'retry_contacts' => \[[long](../types/long.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_link](../constructors/contacts_link.md) = \['my_link' => [ContactLink](../types/ContactLink.md), 'foreign_link' => [ContactLink](../types/ContactLink.md), 'user' => [User](../types/User.md), \]; +*** +

[$contacts.link](../constructors/contacts.link.md) = \['my_link' => [ContactLink](../types/ContactLink.md), 'foreign_link' => [ContactLink](../types/ContactLink.md), 'user' => [User](../types/User.md), \]; -[$contacts\_resolvedPeer](../constructors/contacts_resolvedPeer.md) = \['peer' => [Peer](../types/Peer.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.resolvedPeer](../constructors/contacts.resolvedPeer.md) = \['peer' => [Peer](../types/Peer.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; ***

[$dcOption](../constructors/dcOption.md) = \['ipv6' => [Bool](../types/Bool.md), 'media_only' => [Bool](../types/Bool.md), 'tcpo_only' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'ip_address' => [string](../types/string.md), 'port' => [int](../types/int.md), \]; @@ -319,19 +343,25 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$geoPointEmpty](../constructors/geoPointEmpty.md) = \[\]; *** -

[$help\_appChangelog](../constructors/help_appChangelog.md) = \['text' => [string](../types/string.md), \]; +

[$help.appChangelog](../constructors/help.appChangelog.md) = \['text' => [string](../types/string.md), \]; -[$help\_appChangelogEmpty](../constructors/help_appChangelogEmpty.md) = \[\]; +*** +

[$help.appChangelogEmpty](../constructors/help.appChangelogEmpty.md) = \[\]; -[$help\_appUpdate](../constructors/help_appUpdate.md) = \['id' => [int](../types/int.md), 'critical' => [Bool](../types/Bool.md), 'url' => [string](../types/string.md), 'text' => [string](../types/string.md), \]; +*** +

[$help.appUpdate](../constructors/help.appUpdate.md) = \['id' => [int](../types/int.md), 'critical' => [Bool](../types/Bool.md), 'url' => [string](../types/string.md), 'text' => [string](../types/string.md), \]; -[$help\_inviteText](../constructors/help_inviteText.md) = \['message' => [string](../types/string.md), \]; +*** +

[$help.inviteText](../constructors/help.inviteText.md) = \['message' => [string](../types/string.md), \]; -[$help\_noAppUpdate](../constructors/help_noAppUpdate.md) = \[\]; +*** +

[$help.noAppUpdate](../constructors/help.noAppUpdate.md) = \[\]; -[$help\_support](../constructors/help_support.md) = \['phone_number' => [string](../types/string.md), 'user' => [User](../types/User.md), \]; +*** +

[$help.support](../constructors/help.support.md) = \['phone_number' => [string](../types/string.md), 'user' => [User](../types/User.md), \]; -[$help\_termsOfService](../constructors/help_termsOfService.md) = \['text' => [string](../types/string.md), \]; +*** +

[$help.termsOfService](../constructors/help.termsOfService.md) = \['text' => [string](../types/string.md), \]; ***

[$importedContact](../constructors/importedContact.md) = \['user_id' => [int](../types/int.md), 'client_id' => [long](../types/long.md), \]; @@ -724,53 +754,76 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$messageService](../constructors/messageService.md) = \['unread' => [Bool](../types/Bool.md), 'out' => [Bool](../types/Bool.md), 'mentioned' => [Bool](../types/Bool.md), 'media_unread' => [Bool](../types/Bool.md), 'silent' => [Bool](../types/Bool.md), 'post' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'from_id' => [int](../types/int.md), 'to_id' => [Peer](../types/Peer.md), 'reply_to_msg_id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'action' => [MessageAction](../types/MessageAction.md), \]; *** -

[$messages\_affectedHistory](../constructors/messages_affectedHistory.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), 'offset' => [int](../types/int.md), \]; +

[$messages.affectedHistory](../constructors/messages.affectedHistory.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), 'offset' => [int](../types/int.md), \]; -[$messages\_affectedMessages](../constructors/messages_affectedMessages.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; +*** +

[$messages.affectedMessages](../constructors/messages.affectedMessages.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; -[$messages\_allStickers](../constructors/messages_allStickers.md) = \['hash' => [int](../types/int.md), 'sets' => \[[StickerSet](../types/StickerSet.md)\], \]; +*** +

[$messages.allStickers](../constructors/messages.allStickers.md) = \['hash' => [int](../types/int.md), 'sets' => \[[StickerSet](../types/StickerSet.md)\], \]; -[$messages\_allStickersNotModified](../constructors/messages_allStickersNotModified.md) = \[\]; +*** +

[$messages.allStickersNotModified](../constructors/messages.allStickersNotModified.md) = \[\]; -[$messages\_botCallbackAnswer](../constructors/messages_botCallbackAnswer.md) = \['alert' => [Bool](../types/Bool.md), 'message' => [string](../types/string.md), \]; +*** +

[$messages.botCallbackAnswer](../constructors/messages.botCallbackAnswer.md) = \['alert' => [Bool](../types/Bool.md), 'message' => [string](../types/string.md), \]; -[$messages\_botResults](../constructors/messages_botResults.md) = \['gallery' => [Bool](../types/Bool.md), 'query_id' => [long](../types/long.md), 'next_offset' => [string](../types/string.md), 'switch_pm' => [InlineBotSwitchPM](../types/InlineBotSwitchPM.md), 'results' => \[[BotInlineResult](../types/BotInlineResult.md)\], \]; +*** +

[$messages.botResults](../constructors/messages.botResults.md) = \['gallery' => [Bool](../types/Bool.md), 'query_id' => [long](../types/long.md), 'next_offset' => [string](../types/string.md), 'switch_pm' => [InlineBotSwitchPM](../types/InlineBotSwitchPM.md), 'results' => \[[BotInlineResult](../types/BotInlineResult.md)\], \]; -[$messages\_channelMessages](../constructors/messages_channelMessages.md) = \['pts' => [int](../types/int.md), 'count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'collapsed' => \[[MessageGroup](../types/MessageGroup.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.channelMessages](../constructors/messages.channelMessages.md) = \['pts' => [int](../types/int.md), 'count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'collapsed' => \[[MessageGroup](../types/MessageGroup.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_chatFull](../constructors/messages_chatFull.md) = \['full_chat' => [ChatFull](../types/ChatFull.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.chatFull](../constructors/messages.chatFull.md) = \['full_chat' => [ChatFull](../types/ChatFull.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_chats](../constructors/messages_chats.md) = \['chats' => \[[Chat](../types/Chat.md)\], \]; +*** +

[$messages.chats](../constructors/messages.chats.md) = \['chats' => \[[Chat](../types/Chat.md)\], \]; -[$messages\_dhConfig](../constructors/messages_dhConfig.md) = \['g' => [int](../types/int.md), 'p' => [bytes](../types/bytes.md), 'version' => [int](../types/int.md), 'random' => [bytes](../types/bytes.md), \]; +*** +

[$messages.dhConfig](../constructors/messages.dhConfig.md) = \['g' => [int](../types/int.md), 'p' => [bytes](../types/bytes.md), 'version' => [int](../types/int.md), 'random' => [bytes](../types/bytes.md), \]; -[$messages\_dhConfigNotModified](../constructors/messages_dhConfigNotModified.md) = \['random' => [bytes](../types/bytes.md), \]; +*** +

[$messages.dhConfigNotModified](../constructors/messages.dhConfigNotModified.md) = \['random' => [bytes](../types/bytes.md), \]; -[$messages\_dialogs](../constructors/messages_dialogs.md) = \['dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.dialogs](../constructors/messages.dialogs.md) = \['dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_dialogsSlice](../constructors/messages_dialogsSlice.md) = \['count' => [int](../types/int.md), 'dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.dialogsSlice](../constructors/messages.dialogsSlice.md) = \['count' => [int](../types/int.md), 'dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_foundGifs](../constructors/messages_foundGifs.md) = \['next_offset' => [int](../types/int.md), 'results' => \[[FoundGif](../types/FoundGif.md)\], \]; +*** +

[$messages.foundGifs](../constructors/messages.foundGifs.md) = \['next_offset' => [int](../types/int.md), 'results' => \[[FoundGif](../types/FoundGif.md)\], \]; -[$messages\_messageEditData](../constructors/messages_messageEditData.md) = \['caption' => [Bool](../types/Bool.md), \]; +*** +

[$messages.messageEditData](../constructors/messages.messageEditData.md) = \['caption' => [Bool](../types/Bool.md), \]; -[$messages\_messages](../constructors/messages_messages.md) = \['messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.messages](../constructors/messages.messages.md) = \['messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_messagesSlice](../constructors/messages_messagesSlice.md) = \['count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.messagesSlice](../constructors/messages.messagesSlice.md) = \['count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_savedGifs](../constructors/messages_savedGifs.md) = \['hash' => [int](../types/int.md), 'gifs' => \[[Document](../types/Document.md)\], \]; +*** +

[$messages.savedGifs](../constructors/messages.savedGifs.md) = \['hash' => [int](../types/int.md), 'gifs' => \[[Document](../types/Document.md)\], \]; -[$messages\_savedGifsNotModified](../constructors/messages_savedGifsNotModified.md) = \[\]; +*** +

[$messages.savedGifsNotModified](../constructors/messages.savedGifsNotModified.md) = \[\]; -[$messages\_sentEncryptedFile](../constructors/messages_sentEncryptedFile.md) = \['date' => [int](../types/int.md), 'file' => [EncryptedFile](../types/EncryptedFile.md), \]; +*** +

[$messages.sentEncryptedFile](../constructors/messages.sentEncryptedFile.md) = \['date' => [int](../types/int.md), 'file' => [EncryptedFile](../types/EncryptedFile.md), \]; -[$messages\_sentEncryptedMessage](../constructors/messages_sentEncryptedMessage.md) = \['date' => [int](../types/int.md), \]; +*** +

[$messages.sentEncryptedMessage](../constructors/messages.sentEncryptedMessage.md) = \['date' => [int](../types/int.md), \]; -[$messages\_stickerSet](../constructors/messages_stickerSet.md) = \['set' => [StickerSet](../types/StickerSet.md), 'packs' => \[[StickerPack](../types/StickerPack.md)\], 'documents' => \[[Document](../types/Document.md)\], \]; +*** +

[$messages.stickerSet](../constructors/messages.stickerSet.md) = \['set' => [StickerSet](../types/StickerSet.md), 'packs' => \[[StickerPack](../types/StickerPack.md)\], 'documents' => \[[Document](../types/Document.md)\], \]; -[$messages\_stickers](../constructors/messages_stickers.md) = \['hash' => [string](../types/string.md), 'stickers' => \[[Document](../types/Document.md)\], \]; +*** +

[$messages.stickers](../constructors/messages.stickers.md) = \['hash' => [string](../types/string.md), 'stickers' => \[[Document](../types/Document.md)\], \]; -[$messages\_stickersNotModified](../constructors/messages_stickersNotModified.md) = \[\]; +*** +

[$messages.stickersNotModified](../constructors/messages.stickersNotModified.md) = \[\]; ***

[$nearestDc](../constructors/nearestDc.md) = \['country' => [string](../types/string.md), 'this_dc' => [int](../types/int.md), 'nearest_dc' => [int](../types/int.md), \]; @@ -830,11 +883,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$photoSizeEmpty](../constructors/photoSizeEmpty.md) = \['type' => [string](../types/string.md), \]; *** -

[$photos\_photo](../constructors/photos_photo.md) = \['photo' => [Photo](../types/Photo.md), 'users' => \[[User](../types/User.md)\], \]; +

[$photos.photo](../constructors/photos.photo.md) = \['photo' => [Photo](../types/Photo.md), 'users' => \[[User](../types/User.md)\], \]; -[$photos\_photos](../constructors/photos_photos.md) = \['photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$photos.photos](../constructors/photos.photos.md) = \['photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$photos\_photosSlice](../constructors/photos_photosSlice.md) = \['count' => [int](../types/int.md), 'photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$photos.photosSlice](../constructors/photos.photosSlice.md) = \['count' => [int](../types/int.md), 'photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; ***

[$privacyKeyChatInvite](../constructors/privacyKeyChatInvite.md) = \[\]; @@ -912,25 +967,34 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$stickerSet](../constructors/stickerSet.md) = \['installed' => [Bool](../types/Bool.md), 'disabled' => [Bool](../types/Bool.md), 'official' => [Bool](../types/Bool.md), 'id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'title' => [string](../types/string.md), 'short_name' => [string](../types/string.md), 'count' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]; *** -

[$storage\_fileGif](../constructors/storage_fileGif.md) = \[\]; +

[$storage.fileGif](../constructors/storage.fileGif.md) = \[\]; -[$storage\_fileJpeg](../constructors/storage_fileJpeg.md) = \[\]; +*** +

[$storage.fileJpeg](../constructors/storage.fileJpeg.md) = \[\]; -[$storage\_fileMov](../constructors/storage_fileMov.md) = \[\]; +*** +

[$storage.fileMov](../constructors/storage.fileMov.md) = \[\]; -[$storage\_fileMp3](../constructors/storage_fileMp3.md) = \[\]; +*** +

[$storage.fileMp3](../constructors/storage.fileMp3.md) = \[\]; -[$storage\_fileMp4](../constructors/storage_fileMp4.md) = \[\]; +*** +

[$storage.fileMp4](../constructors/storage.fileMp4.md) = \[\]; -[$storage\_filePartial](../constructors/storage_filePartial.md) = \[\]; +*** +

[$storage.filePartial](../constructors/storage.filePartial.md) = \[\]; -[$storage\_filePdf](../constructors/storage_filePdf.md) = \[\]; +*** +

[$storage.filePdf](../constructors/storage.filePdf.md) = \[\]; -[$storage\_filePng](../constructors/storage_filePng.md) = \[\]; +*** +

[$storage.filePng](../constructors/storage.filePng.md) = \[\]; -[$storage\_fileUnknown](../constructors/storage_fileUnknown.md) = \[\]; +*** +

[$storage.fileUnknown](../constructors/storage.fileUnknown.md) = \[\]; -[$storage\_fileWebp](../constructors/storage_fileWebp.md) = \[\]; +*** +

[$storage.fileWebp](../constructors/storage.fileWebp.md) = \[\]; ***

[$true](../constructors/true.md) = \[\]; @@ -1094,6 +1158,27 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ***

[$updates](../constructors/updates.md) = \['updates' => \[[Update](../types/Update.md)\], 'users' => \[[User](../types/User.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'date' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; +*** +

[$updates.channelDifference](../constructors/updates.channelDifference.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), 'new_messages' => \[[Message](../types/Message.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +*** +

[$updates.channelDifferenceEmpty](../constructors/updates.channelDifferenceEmpty.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), \]; + +*** +

[$updates.channelDifferenceTooLong](../constructors/updates.channelDifferenceTooLong.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), 'top_message' => [int](../types/int.md), 'top_important_message' => [int](../types/int.md), 'read_inbox_max_id' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), 'unread_important_count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +*** +

[$updates.difference](../constructors/updates.difference.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'state' => [updates.State](../types/updates.State.md), \]; + +*** +

[$updates.differenceEmpty](../constructors/updates.differenceEmpty.md) = \['date' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; + +*** +

[$updates.differenceSlice](../constructors/updates.differenceSlice.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'intermediate_state' => [updates.State](../types/updates.State.md), \]; + +*** +

[$updates.state](../constructors/updates.state.md) = \['pts' => [int](../types/int.md), 'qts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'seq' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), \]; + ***

[$updatesCombined](../constructors/updatesCombined.md) = \['updates' => \[[Update](../types/Update.md)\], 'users' => \[[User](../types/User.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'date' => [int](../types/int.md), 'seq_start' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; @@ -1101,22 +1186,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$updatesTooLong](../constructors/updatesTooLong.md) = \[\]; *** -

[$updates\_channelDifference](../constructors/updates_channelDifference.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), 'new_messages' => \[[Message](../types/Message.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; - -[$updates\_channelDifferenceEmpty](../constructors/updates_channelDifferenceEmpty.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), \]; - -[$updates\_channelDifferenceTooLong](../constructors/updates_channelDifferenceTooLong.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), 'top_message' => [int](../types/int.md), 'top_important_message' => [int](../types/int.md), 'read_inbox_max_id' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), 'unread_important_count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; - -[$updates\_difference](../constructors/updates_difference.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'state' => [updates.State](../types/updates.State.md), \]; - -[$updates\_differenceEmpty](../constructors/updates_differenceEmpty.md) = \['date' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; - -[$updates\_differenceSlice](../constructors/updates_differenceSlice.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'intermediate_state' => [updates.State](../types/updates.State.md), \]; - -[$updates\_state](../constructors/updates_state.md) = \['pts' => [int](../types/int.md), 'qts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'seq' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), \]; - -*** -

[$upload\_file](../constructors/upload_file.md) = \['type' => [storage.FileType](../types/storage.FileType.md), 'mtime' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; +

[$upload.file](../constructors/upload.file.md) = \['type' => [storage.FileType](../types/storage.FileType.md), 'mtime' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; ***

[$user](../constructors/user.md) = \['self' => [Bool](../types/Bool.md), 'contact' => [Bool](../types/Bool.md), 'mutual_contact' => [Bool](../types/Bool.md), 'deleted' => [Bool](../types/Bool.md), 'bot' => [Bool](../types/Bool.md), 'bot_chat_history' => [Bool](../types/Bool.md), 'bot_nochats' => [Bool](../types/Bool.md), 'verified' => [Bool](../types/Bool.md), 'restricted' => [Bool](../types/Bool.md), 'min' => [Bool](../types/Bool.md), 'bot_inline_geo' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), 'username' => [string](../types/string.md), 'phone' => [string](../types/string.md), 'photo' => [UserProfilePhoto](../types/UserProfilePhoto.md), 'status' => [UserStatus](../types/UserStatus.md), 'bot_info_version' => [int](../types/int.md), 'restriction_reason' => [string](../types/string.md), 'bot_inline_placeholder' => [string](../types/string.md), \]; diff --git a/old_docs/API_docs_v51/constructors/account.authorizations.md b/old_docs/API_docs_v51/constructors/account.authorizations.md new file mode 100644 index 00000000..53c961f0 --- /dev/null +++ b/old_docs/API_docs_v51/constructors/account.authorizations.md @@ -0,0 +1,38 @@ +--- +title: account.authorizations +description: Logged-in sessions +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.authorizations +[Back to constructors index](index.md) + + + +Logged-in sessions + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|authorizations|Array of [Authorization](../types/Authorization.md) | Yes|Authorizations| + + + +### Type: [account.Authorizations](../types/account.Authorizations.md) + + +### Example: + +```php +$account.authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization, Authorization]]; +``` + + +Or, if you're into Lua: + +```lua +account.authorizations={_='account.authorizations', authorizations={Authorization}} + +``` + + diff --git a/old_docs/API_docs_v51/constructors/account.noPassword.md b/old_docs/API_docs_v51/constructors/account.noPassword.md new file mode 100644 index 00000000..4dcdc515 --- /dev/null +++ b/old_docs/API_docs_v51/constructors/account.noPassword.md @@ -0,0 +1,39 @@ +--- +title: account.noPassword +description: No password +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.noPassword +[Back to constructors index](index.md) + + + +No password + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|new\_salt|[bytes](../types/bytes.md) | Yes|New salt| +|email\_unconfirmed\_pattern|[string](../types/string.md) | Yes|Email unconfirmed pattern| + + + +### Type: [account.Password](../types/account.Password.md) + + +### Example: + +```php +$account.noPassword = ['_' => 'account.noPassword', 'new_salt' => 'bytes', 'email_unconfirmed_pattern' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +account.noPassword={_='account.noPassword', new_salt='bytes', email_unconfirmed_pattern='string'} + +``` + + diff --git a/old_docs/API_docs_v51/constructors/account.password.md b/old_docs/API_docs_v51/constructors/account.password.md new file mode 100644 index 00000000..9e86a73a --- /dev/null +++ b/old_docs/API_docs_v51/constructors/account.password.md @@ -0,0 +1,42 @@ +--- +title: account.password +description: Configuration for two-factor authorization +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.password +[Back to constructors index](index.md) + + + +Configuration for two-factor authorization + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|current\_salt|[bytes](../types/bytes.md) | Yes|Current salt| +|new\_salt|[bytes](../types/bytes.md) | Yes|New salt| +|hint|[string](../types/string.md) | Yes|Text hint for the password| +|has\_recovery|[Bool](../types/Bool.md) | Yes|Has recovery?| +|email\_unconfirmed\_pattern|[string](../types/string.md) | Yes|A [password recovery email](https://core.telegram.org/api/srp#email-verification) with the specified [pattern](https://core.telegram.org/api/pattern) is still awaiting verification| + + + +### Type: [account.Password](../types/account.Password.md) + + +### Example: + +```php +$account.password = ['_' => 'account.password', 'current_salt' => 'bytes', 'new_salt' => 'bytes', 'hint' => 'string', 'has_recovery' => Bool, 'email_unconfirmed_pattern' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +account.password={_='account.password', current_salt='bytes', new_salt='bytes', hint='string', has_recovery=Bool, email_unconfirmed_pattern='string'} + +``` + + diff --git a/old_docs/API_docs_v51/constructors/account.passwordInputSettings.md b/old_docs/API_docs_v51/constructors/account.passwordInputSettings.md new file mode 100644 index 00000000..c440115a --- /dev/null +++ b/old_docs/API_docs_v51/constructors/account.passwordInputSettings.md @@ -0,0 +1,41 @@ +--- +title: account.passwordInputSettings +description: Settings for setting up a new password +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.passwordInputSettings +[Back to constructors index](index.md) + + + +Settings for setting up a new password + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|new\_salt|[bytes](../types/bytes.md) | Optional|`$new_salt = $MadelineProto->account->getPassword()['new_salt'].$MadelineProto->random(8);`| +|new\_password\_hash|[bytes](../types/bytes.md) | Optional|The [computed password hash](https://core.telegram.org/api/srp)| +|hint|[string](../types/string.md) | Optional|Text hint for the password| +|email|[string](../types/string.md) | Optional|Password recovery email| + + + +### Type: [account.PasswordInputSettings](../types/account.PasswordInputSettings.md) + + +### Example: + +```php +$account.passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_salt' => 'bytes', 'new_password_hash' => 'bytes', 'hint' => 'string', 'email' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +account.passwordInputSettings={_='account.passwordInputSettings', new_salt='bytes', new_password_hash='bytes', hint='string', email='string'} + +``` + + diff --git a/old_docs/API_docs_v51/constructors/account.passwordSettings.md b/old_docs/API_docs_v51/constructors/account.passwordSettings.md new file mode 100644 index 00000000..be899d34 --- /dev/null +++ b/old_docs/API_docs_v51/constructors/account.passwordSettings.md @@ -0,0 +1,38 @@ +--- +title: account.passwordSettings +description: Private info associated to the password info (recovery email, telegram [passport](https://core.telegram.org/passport) info & so on) +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.passwordSettings +[Back to constructors index](index.md) + + + +Private info associated to the password info (recovery email, telegram [passport](https://core.telegram.org/passport) info & so on) + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|email|[string](../types/string.md) | Yes|[2FA Recovery email](https://core.telegram.org/api/srp#email-verification)| + + + +### Type: [account.PasswordSettings](../types/account.PasswordSettings.md) + + +### Example: + +```php +$account.passwordSettings = ['_' => 'account.passwordSettings', 'email' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +account.passwordSettings={_='account.passwordSettings', email='string'} + +``` + + diff --git a/old_docs/API_docs_v51/constructors/account.privacyRules.md b/old_docs/API_docs_v51/constructors/account.privacyRules.md new file mode 100644 index 00000000..7ae04abb --- /dev/null +++ b/old_docs/API_docs_v51/constructors/account.privacyRules.md @@ -0,0 +1,39 @@ +--- +title: account.privacyRules +description: Privacy rules +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.privacyRules +[Back to constructors index](index.md) + + + +Privacy rules + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|rules|Array of [PrivacyRule](../types/PrivacyRule.md) | Yes|Rules| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [account.PrivacyRules](../types/account.PrivacyRules.md) + + +### Example: + +```php +$account.privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule, PrivacyRule], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +account.privacyRules={_='account.privacyRules', rules={PrivacyRule}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v51/constructors/account_authorizations.md b/old_docs/API_docs_v51/constructors/account_authorizations.md deleted file mode 100644 index aeae48f3..00000000 --- a/old_docs/API_docs_v51/constructors/account_authorizations.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: account.authorizations -description: Logged-in sessions -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.authorizations -[Back to constructors index](index.md) - - - -Logged-in sessions - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|authorizations|Array of [Authorization](../types/Authorization.md) | Yes|Authorizations| - - - -### Type: [account\_Authorizations](../types/account_Authorizations.md) - - -### Example: - -```php -$account_authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization, Authorization]]; -``` - - -Or, if you're into Lua: - -```lua -account_authorizations={_='account.authorizations', authorizations={Authorization}} - -``` - - diff --git a/old_docs/API_docs_v51/constructors/account_noPassword.md b/old_docs/API_docs_v51/constructors/account_noPassword.md deleted file mode 100644 index 10ef7b2a..00000000 --- a/old_docs/API_docs_v51/constructors/account_noPassword.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: account.noPassword -description: No password -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.noPassword -[Back to constructors index](index.md) - - - -No password - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|new\_salt|[bytes](../types/bytes.md) | Yes|New salt| -|email\_unconfirmed\_pattern|[string](../types/string.md) | Yes|Email unconfirmed pattern| - - - -### Type: [account\_Password](../types/account_Password.md) - - -### Example: - -```php -$account_noPassword = ['_' => 'account.noPassword', 'new_salt' => 'bytes', 'email_unconfirmed_pattern' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -account_noPassword={_='account.noPassword', new_salt='bytes', email_unconfirmed_pattern='string'} - -``` - - diff --git a/old_docs/API_docs_v51/constructors/account_password.md b/old_docs/API_docs_v51/constructors/account_password.md deleted file mode 100644 index a9f512e8..00000000 --- a/old_docs/API_docs_v51/constructors/account_password.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: account.password -description: Configuration for two-factor authorization -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.password -[Back to constructors index](index.md) - - - -Configuration for two-factor authorization - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|current\_salt|[bytes](../types/bytes.md) | Yes|Current salt| -|new\_salt|[bytes](../types/bytes.md) | Yes|New salt| -|hint|[string](../types/string.md) | Yes|Text hint for the password| -|has\_recovery|[Bool](../types/Bool.md) | Yes|Has recovery?| -|email\_unconfirmed\_pattern|[string](../types/string.md) | Yes|A [password recovery email](https://core.telegram.org/api/srp#email-verification) with the specified [pattern](https://core.telegram.org/api/pattern) is still awaiting verification| - - - -### Type: [account\_Password](../types/account_Password.md) - - -### Example: - -```php -$account_password = ['_' => 'account.password', 'current_salt' => 'bytes', 'new_salt' => 'bytes', 'hint' => 'string', 'has_recovery' => Bool, 'email_unconfirmed_pattern' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -account_password={_='account.password', current_salt='bytes', new_salt='bytes', hint='string', has_recovery=Bool, email_unconfirmed_pattern='string'} - -``` - - diff --git a/old_docs/API_docs_v51/constructors/account_passwordInputSettings.md b/old_docs/API_docs_v51/constructors/account_passwordInputSettings.md deleted file mode 100644 index 05ec666b..00000000 --- a/old_docs/API_docs_v51/constructors/account_passwordInputSettings.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: account.passwordInputSettings -description: Settings for setting up a new password -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.passwordInputSettings -[Back to constructors index](index.md) - - - -Settings for setting up a new password - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|new\_salt|[bytes](../types/bytes.md) | Optional|`$new_salt = $MadelineProto->account->getPassword()['new_salt'].$MadelineProto->random(8);`| -|new\_password\_hash|[bytes](../types/bytes.md) | Optional|The [computed password hash](https://core.telegram.org/api/srp)| -|hint|[string](../types/string.md) | Optional|Text hint for the password| -|email|[string](../types/string.md) | Optional|Password recovery email| - - - -### Type: [account\_PasswordInputSettings](../types/account_PasswordInputSettings.md) - - -### Example: - -```php -$account_passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_salt' => 'bytes', 'new_password_hash' => 'bytes', 'hint' => 'string', 'email' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -account_passwordInputSettings={_='account.passwordInputSettings', new_salt='bytes', new_password_hash='bytes', hint='string', email='string'} - -``` - - diff --git a/old_docs/API_docs_v51/constructors/account_passwordSettings.md b/old_docs/API_docs_v51/constructors/account_passwordSettings.md deleted file mode 100644 index e22f9cc4..00000000 --- a/old_docs/API_docs_v51/constructors/account_passwordSettings.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: account.passwordSettings -description: Private info associated to the password info (recovery email, telegram [passport](https://core.telegram.org/passport) info & so on) -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.passwordSettings -[Back to constructors index](index.md) - - - -Private info associated to the password info (recovery email, telegram [passport](https://core.telegram.org/passport) info & so on) - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|email|[string](../types/string.md) | Yes|[2FA Recovery email](https://core.telegram.org/api/srp#email-verification)| - - - -### Type: [account\_PasswordSettings](../types/account_PasswordSettings.md) - - -### Example: - -```php -$account_passwordSettings = ['_' => 'account.passwordSettings', 'email' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -account_passwordSettings={_='account.passwordSettings', email='string'} - -``` - - diff --git a/old_docs/API_docs_v51/constructors/account_privacyRules.md b/old_docs/API_docs_v51/constructors/account_privacyRules.md deleted file mode 100644 index 28b260b7..00000000 --- a/old_docs/API_docs_v51/constructors/account_privacyRules.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: account.privacyRules -description: Privacy rules -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.privacyRules -[Back to constructors index](index.md) - - - -Privacy rules - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|rules|Array of [PrivacyRule](../types/PrivacyRule.md) | Yes|Rules| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [account\_PrivacyRules](../types/account_PrivacyRules.md) - - -### Example: - -```php -$account_privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule, PrivacyRule], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -account_privacyRules={_='account.privacyRules', rules={PrivacyRule}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v51/constructors/auth.authorization.md b/old_docs/API_docs_v51/constructors/auth.authorization.md new file mode 100644 index 00000000..bd034fc5 --- /dev/null +++ b/old_docs/API_docs_v51/constructors/auth.authorization.md @@ -0,0 +1,38 @@ +--- +title: auth.authorization +description: Contains user authorization info. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.authorization +[Back to constructors index](index.md) + + + +Contains user authorization info. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|user|[User](../types/User.md) | Optional|Info on authorized user| + + + +### Type: [auth.Authorization](../types/auth.Authorization.md) + + +### Example: + +```php +$auth.authorization = ['_' => 'auth.authorization', 'user' => User]; +``` + + +Or, if you're into Lua: + +```lua +auth.authorization={_='auth.authorization', user=User} + +``` + + diff --git a/old_docs/API_docs_v51/constructors/auth.checkedPhone.md b/old_docs/API_docs_v51/constructors/auth.checkedPhone.md new file mode 100644 index 00000000..23e84cf9 --- /dev/null +++ b/old_docs/API_docs_v51/constructors/auth.checkedPhone.md @@ -0,0 +1,38 @@ +--- +title: auth.checkedPhone +description: Checked phone +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.checkedPhone +[Back to constructors index](index.md) + + + +Checked phone + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_registered|[Bool](../types/Bool.md) | Yes|Phone registered?| + + + +### Type: [auth.CheckedPhone](../types/auth.CheckedPhone.md) + + +### Example: + +```php +$auth.checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool]; +``` + + +Or, if you're into Lua: + +```lua +auth.checkedPhone={_='auth.checkedPhone', phone_registered=Bool} + +``` + + diff --git a/old_docs/API_docs_v51/constructors/auth.codeTypeCall.md b/old_docs/API_docs_v51/constructors/auth.codeTypeCall.md new file mode 100644 index 00000000..4b4a1cdc --- /dev/null +++ b/old_docs/API_docs_v51/constructors/auth.codeTypeCall.md @@ -0,0 +1,33 @@ +--- +title: auth.codeTypeCall +description: Type of verification code that will be sent next if you call the resendCode method: SMS code +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.codeTypeCall +[Back to constructors index](index.md) + + + +Type of verification code that will be sent next if you call the resendCode method: SMS code + + + + +### Type: [auth.CodeType](../types/auth.CodeType.md) + + +### Example: + +```php +$auth.codeTypeCall = ['_' => 'auth.codeTypeCall']; +``` + + +Or, if you're into Lua: + +```lua +auth.codeTypeCall={_='auth.codeTypeCall'} + +``` + + diff --git a/old_docs/API_docs_v51/constructors/auth.codeTypeFlashCall.md b/old_docs/API_docs_v51/constructors/auth.codeTypeFlashCall.md new file mode 100644 index 00000000..ef97e034 --- /dev/null +++ b/old_docs/API_docs_v51/constructors/auth.codeTypeFlashCall.md @@ -0,0 +1,33 @@ +--- +title: auth.codeTypeFlashCall +description: Type of verification code that will be sent next if you call the resendCode method: SMS code +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.codeTypeFlashCall +[Back to constructors index](index.md) + + + +Type of verification code that will be sent next if you call the resendCode method: SMS code + + + + +### Type: [auth.CodeType](../types/auth.CodeType.md) + + +### Example: + +```php +$auth.codeTypeFlashCall = ['_' => 'auth.codeTypeFlashCall']; +``` + + +Or, if you're into Lua: + +```lua +auth.codeTypeFlashCall={_='auth.codeTypeFlashCall'} + +``` + + diff --git a/old_docs/API_docs_v51/constructors/auth.codeTypeSms.md b/old_docs/API_docs_v51/constructors/auth.codeTypeSms.md new file mode 100644 index 00000000..bab9a5a4 --- /dev/null +++ b/old_docs/API_docs_v51/constructors/auth.codeTypeSms.md @@ -0,0 +1,33 @@ +--- +title: auth.codeTypeSms +description: Type of verification code that will be sent next if you call the resendCode method: SMS code +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.codeTypeSms +[Back to constructors index](index.md) + + + +Type of verification code that will be sent next if you call the resendCode method: SMS code + + + + +### Type: [auth.CodeType](../types/auth.CodeType.md) + + +### Example: + +```php +$auth.codeTypeSms = ['_' => 'auth.codeTypeSms']; +``` + + +Or, if you're into Lua: + +```lua +auth.codeTypeSms={_='auth.codeTypeSms'} + +``` + + diff --git a/old_docs/API_docs_v51/constructors/auth.exportedAuthorization.md b/old_docs/API_docs_v51/constructors/auth.exportedAuthorization.md new file mode 100644 index 00000000..2a4a9896 --- /dev/null +++ b/old_docs/API_docs_v51/constructors/auth.exportedAuthorization.md @@ -0,0 +1,39 @@ +--- +title: auth.exportedAuthorization +description: Data for copying of authorization between data centres. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.exportedAuthorization +[Back to constructors index](index.md) + + + +Data for copying of authorization between data centres. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|id|[int](../types/int.md) | Yes|Current user identifier| +|bytes|[bytes](../types/bytes.md) | Yes|Authorizes key| + + + +### Type: [auth.ExportedAuthorization](../types/auth.ExportedAuthorization.md) + + +### Example: + +```php +$auth.exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +auth.exportedAuthorization={_='auth.exportedAuthorization', id=int, bytes='bytes'} + +``` + + diff --git a/old_docs/API_docs_v51/constructors/auth.passwordRecovery.md b/old_docs/API_docs_v51/constructors/auth.passwordRecovery.md new file mode 100644 index 00000000..61de922d --- /dev/null +++ b/old_docs/API_docs_v51/constructors/auth.passwordRecovery.md @@ -0,0 +1,38 @@ +--- +title: auth.passwordRecovery +description: Recovery info of a [2FA password](https://core.telegram.org/api/srp), only for accounts with a [recovery email configured](https://core.telegram.org/api/srp#email-verification). +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.passwordRecovery +[Back to constructors index](index.md) + + + +Recovery info of a [2FA password](https://core.telegram.org/api/srp), only for accounts with a [recovery email configured](https://core.telegram.org/api/srp#email-verification). + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|email\_pattern|[string](../types/string.md) | Yes|The email to which the recovery code was sent must match this [pattern](https://core.telegram.org/api/pattern).| + + + +### Type: [auth.PasswordRecovery](../types/auth.PasswordRecovery.md) + + +### Example: + +```php +$auth.passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +auth.passwordRecovery={_='auth.passwordRecovery', email_pattern='string'} + +``` + + diff --git a/old_docs/API_docs_v51/constructors/auth.sentCode.md b/old_docs/API_docs_v51/constructors/auth.sentCode.md new file mode 100644 index 00000000..25e94704 --- /dev/null +++ b/old_docs/API_docs_v51/constructors/auth.sentCode.md @@ -0,0 +1,42 @@ +--- +title: auth.sentCode +description: Contains info about a sent verification code. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentCode +[Back to constructors index](index.md) + + + +Contains info about a sent verification code. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_registered|[Bool](../types/Bool.md) | Optional|Phone registered?| +|type|[auth.SentCodeType](../constructors/auth.SentCodeType.md) | Yes|Phone code type| +|phone\_code\_hash|[string](../types/string.md) | Yes|Phone code hash, to be stored and later re-used with [auth.signIn](../methods/auth.signIn.md)| +|next\_type|[auth.CodeType](../constructors/auth.CodeType.md) | Optional|Phone code type that will be sent next, if the phone code is not received within `timeout` seconds: to send it use [auth.resendCode](../methods/auth.resendCode.md)| +|timeout|[int](../types/int.md) | Optional|Timeout for reception of the phone code| + + + +### Type: [auth.SentCode](../types/auth.SentCode.md) + + +### Example: + +```php +$auth.sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'type' => auth.SentCodeType, 'phone_code_hash' => 'string', 'next_type' => auth.CodeType, 'timeout' => int]; +``` + + +Or, if you're into Lua: + +```lua +auth.sentCode={_='auth.sentCode', phone_registered=Bool, type=auth.SentCodeType, phone_code_hash='string', next_type=auth.CodeType, timeout=int} + +``` + + diff --git a/old_docs/API_docs_v51/constructors/auth.sentCodeTypeApp.md b/old_docs/API_docs_v51/constructors/auth.sentCodeTypeApp.md new file mode 100644 index 00000000..5f2d4aa3 --- /dev/null +++ b/old_docs/API_docs_v51/constructors/auth.sentCodeTypeApp.md @@ -0,0 +1,38 @@ +--- +title: auth.sentCodeTypeApp +description: The code was sent through the telegram app +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentCodeTypeApp +[Back to constructors index](index.md) + + + +The code was sent through the telegram app + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|length|[int](../types/int.md) | Yes|Length of the code in bytes| + + + +### Type: [auth.SentCodeType](../types/auth.SentCodeType.md) + + +### Example: + +```php +$auth.sentCodeTypeApp = ['_' => 'auth.sentCodeTypeApp', 'length' => int]; +``` + + +Or, if you're into Lua: + +```lua +auth.sentCodeTypeApp={_='auth.sentCodeTypeApp', length=int} + +``` + + diff --git a/old_docs/API_docs_v51/constructors/auth.sentCodeTypeCall.md b/old_docs/API_docs_v51/constructors/auth.sentCodeTypeCall.md new file mode 100644 index 00000000..9843b3df --- /dev/null +++ b/old_docs/API_docs_v51/constructors/auth.sentCodeTypeCall.md @@ -0,0 +1,38 @@ +--- +title: auth.sentCodeTypeCall +description: The code will be sent via a phone call: a synthesized voice will tell the user which verification code to input. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentCodeTypeCall +[Back to constructors index](index.md) + + + +The code will be sent via a phone call: a synthesized voice will tell the user which verification code to input. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|length|[int](../types/int.md) | Yes|Length of the verification code| + + + +### Type: [auth.SentCodeType](../types/auth.SentCodeType.md) + + +### Example: + +```php +$auth.sentCodeTypeCall = ['_' => 'auth.sentCodeTypeCall', 'length' => int]; +``` + + +Or, if you're into Lua: + +```lua +auth.sentCodeTypeCall={_='auth.sentCodeTypeCall', length=int} + +``` + + diff --git a/old_docs/API_docs_v51/constructors/auth.sentCodeTypeFlashCall.md b/old_docs/API_docs_v51/constructors/auth.sentCodeTypeFlashCall.md new file mode 100644 index 00000000..0d24751d --- /dev/null +++ b/old_docs/API_docs_v51/constructors/auth.sentCodeTypeFlashCall.md @@ -0,0 +1,38 @@ +--- +title: auth.sentCodeTypeFlashCall +description: The code will be sent via a flash phone call, that will be closed immediately. The phone code will then be the phone number itself, just make sure that the phone number matches the specified pattern. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentCodeTypeFlashCall +[Back to constructors index](index.md) + + + +The code will be sent via a flash phone call, that will be closed immediately. The phone code will then be the phone number itself, just make sure that the phone number matches the specified pattern. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pattern|[string](../types/string.md) | Yes|[pattern](https://core.telegram.org/api/pattern) to match| + + + +### Type: [auth.SentCodeType](../types/auth.SentCodeType.md) + + +### Example: + +```php +$auth.sentCodeTypeFlashCall = ['_' => 'auth.sentCodeTypeFlashCall', 'pattern' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +auth.sentCodeTypeFlashCall={_='auth.sentCodeTypeFlashCall', pattern='string'} + +``` + + diff --git a/old_docs/API_docs_v51/constructors/auth.sentCodeTypeSms.md b/old_docs/API_docs_v51/constructors/auth.sentCodeTypeSms.md new file mode 100644 index 00000000..d8ecb75e --- /dev/null +++ b/old_docs/API_docs_v51/constructors/auth.sentCodeTypeSms.md @@ -0,0 +1,38 @@ +--- +title: auth.sentCodeTypeSms +description: The code was sent via SMS +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentCodeTypeSms +[Back to constructors index](index.md) + + + +The code was sent via SMS + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|length|[int](../types/int.md) | Yes|Length of the code in bytes| + + + +### Type: [auth.SentCodeType](../types/auth.SentCodeType.md) + + +### Example: + +```php +$auth.sentCodeTypeSms = ['_' => 'auth.sentCodeTypeSms', 'length' => int]; +``` + + +Or, if you're into Lua: + +```lua +auth.sentCodeTypeSms={_='auth.sentCodeTypeSms', length=int} + +``` + + diff --git a/old_docs/API_docs_v51/constructors/auth_authorization.md b/old_docs/API_docs_v51/constructors/auth_authorization.md deleted file mode 100644 index 07d223a1..00000000 --- a/old_docs/API_docs_v51/constructors/auth_authorization.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.authorization -description: Contains user authorization info. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.authorization -[Back to constructors index](index.md) - - - -Contains user authorization info. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|user|[User](../types/User.md) | Optional|Info on authorized user| - - - -### Type: [auth\_Authorization](../types/auth_Authorization.md) - - -### Example: - -```php -$auth_authorization = ['_' => 'auth.authorization', 'user' => User]; -``` - - -Or, if you're into Lua: - -```lua -auth_authorization={_='auth.authorization', user=User} - -``` - - diff --git a/old_docs/API_docs_v51/constructors/auth_checkedPhone.md b/old_docs/API_docs_v51/constructors/auth_checkedPhone.md deleted file mode 100644 index c77becf6..00000000 --- a/old_docs/API_docs_v51/constructors/auth_checkedPhone.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.checkedPhone -description: Checked phone -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.checkedPhone -[Back to constructors index](index.md) - - - -Checked phone - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_registered|[Bool](../types/Bool.md) | Yes|Phone registered?| - - - -### Type: [auth\_CheckedPhone](../types/auth_CheckedPhone.md) - - -### Example: - -```php -$auth_checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool]; -``` - - -Or, if you're into Lua: - -```lua -auth_checkedPhone={_='auth.checkedPhone', phone_registered=Bool} - -``` - - diff --git a/old_docs/API_docs_v51/constructors/auth_codeTypeCall.md b/old_docs/API_docs_v51/constructors/auth_codeTypeCall.md deleted file mode 100644 index 3e957c2a..00000000 --- a/old_docs/API_docs_v51/constructors/auth_codeTypeCall.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: auth.codeTypeCall -description: Type of verification code that will be sent next if you call the resendCode method: SMS code -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.codeTypeCall -[Back to constructors index](index.md) - - - -Type of verification code that will be sent next if you call the resendCode method: SMS code - - - - -### Type: [auth\_CodeType](../types/auth_CodeType.md) - - -### Example: - -```php -$auth_codeTypeCall = ['_' => 'auth.codeTypeCall']; -``` - - -Or, if you're into Lua: - -```lua -auth_codeTypeCall={_='auth.codeTypeCall'} - -``` - - diff --git a/old_docs/API_docs_v51/constructors/auth_codeTypeFlashCall.md b/old_docs/API_docs_v51/constructors/auth_codeTypeFlashCall.md deleted file mode 100644 index 981b2461..00000000 --- a/old_docs/API_docs_v51/constructors/auth_codeTypeFlashCall.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: auth.codeTypeFlashCall -description: Type of verification code that will be sent next if you call the resendCode method: SMS code -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.codeTypeFlashCall -[Back to constructors index](index.md) - - - -Type of verification code that will be sent next if you call the resendCode method: SMS code - - - - -### Type: [auth\_CodeType](../types/auth_CodeType.md) - - -### Example: - -```php -$auth_codeTypeFlashCall = ['_' => 'auth.codeTypeFlashCall']; -``` - - -Or, if you're into Lua: - -```lua -auth_codeTypeFlashCall={_='auth.codeTypeFlashCall'} - -``` - - diff --git a/old_docs/API_docs_v51/constructors/auth_codeTypeSms.md b/old_docs/API_docs_v51/constructors/auth_codeTypeSms.md deleted file mode 100644 index 16eb5d0d..00000000 --- a/old_docs/API_docs_v51/constructors/auth_codeTypeSms.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: auth.codeTypeSms -description: Type of verification code that will be sent next if you call the resendCode method: SMS code -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.codeTypeSms -[Back to constructors index](index.md) - - - -Type of verification code that will be sent next if you call the resendCode method: SMS code - - - - -### Type: [auth\_CodeType](../types/auth_CodeType.md) - - -### Example: - -```php -$auth_codeTypeSms = ['_' => 'auth.codeTypeSms']; -``` - - -Or, if you're into Lua: - -```lua -auth_codeTypeSms={_='auth.codeTypeSms'} - -``` - - diff --git a/old_docs/API_docs_v51/constructors/auth_exportedAuthorization.md b/old_docs/API_docs_v51/constructors/auth_exportedAuthorization.md deleted file mode 100644 index 8d18916e..00000000 --- a/old_docs/API_docs_v51/constructors/auth_exportedAuthorization.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: auth.exportedAuthorization -description: Data for copying of authorization between data centres. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.exportedAuthorization -[Back to constructors index](index.md) - - - -Data for copying of authorization between data centres. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|id|[int](../types/int.md) | Yes|Current user identifier| -|bytes|[bytes](../types/bytes.md) | Yes|Authorizes key| - - - -### Type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) - - -### Example: - -```php -$auth_exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -auth_exportedAuthorization={_='auth.exportedAuthorization', id=int, bytes='bytes'} - -``` - - diff --git a/old_docs/API_docs_v51/constructors/auth_passwordRecovery.md b/old_docs/API_docs_v51/constructors/auth_passwordRecovery.md deleted file mode 100644 index c40f375e..00000000 --- a/old_docs/API_docs_v51/constructors/auth_passwordRecovery.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.passwordRecovery -description: Recovery info of a [2FA password](https://core.telegram.org/api/srp), only for accounts with a [recovery email configured](https://core.telegram.org/api/srp#email-verification). -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.passwordRecovery -[Back to constructors index](index.md) - - - -Recovery info of a [2FA password](https://core.telegram.org/api/srp), only for accounts with a [recovery email configured](https://core.telegram.org/api/srp#email-verification). - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|email\_pattern|[string](../types/string.md) | Yes|The email to which the recovery code was sent must match this [pattern](https://core.telegram.org/api/pattern).| - - - -### Type: [auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) - - -### Example: - -```php -$auth_passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -auth_passwordRecovery={_='auth.passwordRecovery', email_pattern='string'} - -``` - - diff --git a/old_docs/API_docs_v51/constructors/auth_sentCode.md b/old_docs/API_docs_v51/constructors/auth_sentCode.md deleted file mode 100644 index 622c4137..00000000 --- a/old_docs/API_docs_v51/constructors/auth_sentCode.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: auth.sentCode -description: Contains info about a sent verification code. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentCode -[Back to constructors index](index.md) - - - -Contains info about a sent verification code. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_registered|[Bool](../types/Bool.md) | Optional|Phone registered?| -|type|[auth\_SentCodeType](../types/auth_SentCodeType.md) | Yes|Phone code type| -|phone\_code\_hash|[string](../types/string.md) | Yes|Phone code hash, to be stored and later re-used with [auth.signIn](../methods/auth.signIn.md)| -|next\_type|[auth\_CodeType](../types/auth_CodeType.md) | Optional|Phone code type that will be sent next, if the phone code is not received within `timeout` seconds: to send it use [auth.resendCode](../methods/auth.resendCode.md)| -|timeout|[int](../types/int.md) | Optional|Timeout for reception of the phone code| - - - -### Type: [auth\_SentCode](../types/auth_SentCode.md) - - -### Example: - -```php -$auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'type' => auth_SentCodeType, 'phone_code_hash' => 'string', 'next_type' => auth_CodeType, 'timeout' => int]; -``` - - -Or, if you're into Lua: - -```lua -auth_sentCode={_='auth.sentCode', phone_registered=Bool, type=auth_SentCodeType, phone_code_hash='string', next_type=auth_CodeType, timeout=int} - -``` - - diff --git a/old_docs/API_docs_v51/constructors/auth_sentCodeTypeApp.md b/old_docs/API_docs_v51/constructors/auth_sentCodeTypeApp.md deleted file mode 100644 index 6b7ad824..00000000 --- a/old_docs/API_docs_v51/constructors/auth_sentCodeTypeApp.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.sentCodeTypeApp -description: The code was sent through the telegram app -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentCodeTypeApp -[Back to constructors index](index.md) - - - -The code was sent through the telegram app - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|length|[int](../types/int.md) | Yes|Length of the code in bytes| - - - -### Type: [auth\_SentCodeType](../types/auth_SentCodeType.md) - - -### Example: - -```php -$auth_sentCodeTypeApp = ['_' => 'auth.sentCodeTypeApp', 'length' => int]; -``` - - -Or, if you're into Lua: - -```lua -auth_sentCodeTypeApp={_='auth.sentCodeTypeApp', length=int} - -``` - - diff --git a/old_docs/API_docs_v51/constructors/auth_sentCodeTypeCall.md b/old_docs/API_docs_v51/constructors/auth_sentCodeTypeCall.md deleted file mode 100644 index bf025aa5..00000000 --- a/old_docs/API_docs_v51/constructors/auth_sentCodeTypeCall.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.sentCodeTypeCall -description: The code will be sent via a phone call: a synthesized voice will tell the user which verification code to input. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentCodeTypeCall -[Back to constructors index](index.md) - - - -The code will be sent via a phone call: a synthesized voice will tell the user which verification code to input. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|length|[int](../types/int.md) | Yes|Length of the verification code| - - - -### Type: [auth\_SentCodeType](../types/auth_SentCodeType.md) - - -### Example: - -```php -$auth_sentCodeTypeCall = ['_' => 'auth.sentCodeTypeCall', 'length' => int]; -``` - - -Or, if you're into Lua: - -```lua -auth_sentCodeTypeCall={_='auth.sentCodeTypeCall', length=int} - -``` - - diff --git a/old_docs/API_docs_v51/constructors/auth_sentCodeTypeFlashCall.md b/old_docs/API_docs_v51/constructors/auth_sentCodeTypeFlashCall.md deleted file mode 100644 index efe64ce7..00000000 --- a/old_docs/API_docs_v51/constructors/auth_sentCodeTypeFlashCall.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.sentCodeTypeFlashCall -description: The code will be sent via a flash phone call, that will be closed immediately. The phone code will then be the phone number itself, just make sure that the phone number matches the specified pattern. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentCodeTypeFlashCall -[Back to constructors index](index.md) - - - -The code will be sent via a flash phone call, that will be closed immediately. The phone code will then be the phone number itself, just make sure that the phone number matches the specified pattern. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pattern|[string](../types/string.md) | Yes|[pattern](https://core.telegram.org/api/pattern) to match| - - - -### Type: [auth\_SentCodeType](../types/auth_SentCodeType.md) - - -### Example: - -```php -$auth_sentCodeTypeFlashCall = ['_' => 'auth.sentCodeTypeFlashCall', 'pattern' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -auth_sentCodeTypeFlashCall={_='auth.sentCodeTypeFlashCall', pattern='string'} - -``` - - diff --git a/old_docs/API_docs_v51/constructors/auth_sentCodeTypeSms.md b/old_docs/API_docs_v51/constructors/auth_sentCodeTypeSms.md deleted file mode 100644 index 8e27dac9..00000000 --- a/old_docs/API_docs_v51/constructors/auth_sentCodeTypeSms.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.sentCodeTypeSms -description: The code was sent via SMS -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentCodeTypeSms -[Back to constructors index](index.md) - - - -The code was sent via SMS - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|length|[int](../types/int.md) | Yes|Length of the code in bytes| - - - -### Type: [auth\_SentCodeType](../types/auth_SentCodeType.md) - - -### Example: - -```php -$auth_sentCodeTypeSms = ['_' => 'auth.sentCodeTypeSms', 'length' => int]; -``` - - -Or, if you're into Lua: - -```lua -auth_sentCodeTypeSms={_='auth.sentCodeTypeSms', length=int} - -``` - - diff --git a/old_docs/API_docs_v51/constructors/channels.channelParticipant.md b/old_docs/API_docs_v51/constructors/channels.channelParticipant.md new file mode 100644 index 00000000..0f09777f --- /dev/null +++ b/old_docs/API_docs_v51/constructors/channels.channelParticipant.md @@ -0,0 +1,39 @@ +--- +title: channels.channelParticipant +description: Represents a channel participant +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: channels.channelParticipant +[Back to constructors index](index.md) + + + +Represents a channel participant + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|participant|[ChannelParticipant](../types/ChannelParticipant.md) | Yes|The channel participant| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [channels.ChannelParticipant](../types/channels.ChannelParticipant.md) + + +### Example: + +```php +$channels.channelParticipant = ['_' => 'channels.channelParticipant', 'participant' => ChannelParticipant, 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +channels.channelParticipant={_='channels.channelParticipant', participant=ChannelParticipant, users={User}} + +``` + + diff --git a/old_docs/API_docs_v51/constructors/channels.channelParticipants.md b/old_docs/API_docs_v51/constructors/channels.channelParticipants.md new file mode 100644 index 00000000..6ee1a8b3 --- /dev/null +++ b/old_docs/API_docs_v51/constructors/channels.channelParticipants.md @@ -0,0 +1,40 @@ +--- +title: channels.channelParticipants +description: Represents multiple channel participants +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: channels.channelParticipants +[Back to constructors index](index.md) + + + +Represents multiple channel participants + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of participants that correspond to the given query| +|participants|Array of [ChannelParticipant](../types/ChannelParticipant.md) | Yes|Participants| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [channels.ChannelParticipants](../types/channels.ChannelParticipants.md) + + +### Example: + +```php +$channels.channelParticipants = ['_' => 'channels.channelParticipants', 'count' => int, 'participants' => [ChannelParticipant, ChannelParticipant], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +channels.channelParticipants={_='channels.channelParticipants', count=int, participants={ChannelParticipant}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v51/constructors/channels_channelParticipant.md b/old_docs/API_docs_v51/constructors/channels_channelParticipant.md deleted file mode 100644 index 15fe46a4..00000000 --- a/old_docs/API_docs_v51/constructors/channels_channelParticipant.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: channels.channelParticipant -description: Represents a channel participant -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: channels.channelParticipant -[Back to constructors index](index.md) - - - -Represents a channel participant - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|participant|[ChannelParticipant](../types/ChannelParticipant.md) | Yes|The channel participant| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [channels\_ChannelParticipant](../types/channels_ChannelParticipant.md) - - -### Example: - -```php -$channels_channelParticipant = ['_' => 'channels.channelParticipant', 'participant' => ChannelParticipant, 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -channels_channelParticipant={_='channels.channelParticipant', participant=ChannelParticipant, users={User}} - -``` - - diff --git a/old_docs/API_docs_v51/constructors/channels_channelParticipants.md b/old_docs/API_docs_v51/constructors/channels_channelParticipants.md deleted file mode 100644 index 1848a04f..00000000 --- a/old_docs/API_docs_v51/constructors/channels_channelParticipants.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: channels.channelParticipants -description: Represents multiple channel participants -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: channels.channelParticipants -[Back to constructors index](index.md) - - - -Represents multiple channel participants - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of participants that correspond to the given query| -|participants|Array of [ChannelParticipant](../types/ChannelParticipant.md) | Yes|Participants| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [channels\_ChannelParticipants](../types/channels_ChannelParticipants.md) - - -### Example: - -```php -$channels_channelParticipants = ['_' => 'channels.channelParticipants', 'count' => int, 'participants' => [ChannelParticipant, ChannelParticipant], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -channels_channelParticipants={_='channels.channelParticipants', count=int, participants={ChannelParticipant}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v51/constructors/contacts.blocked.md b/old_docs/API_docs_v51/constructors/contacts.blocked.md new file mode 100644 index 00000000..d2b3f680 --- /dev/null +++ b/old_docs/API_docs_v51/constructors/contacts.blocked.md @@ -0,0 +1,39 @@ +--- +title: contacts.blocked +description: Full list of blocked users. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.blocked +[Back to constructors index](index.md) + + + +Full list of blocked users. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Blocked](../types/contacts.Blocked.md) + + +### Example: + +```php +$contacts.blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.blocked={_='contacts.blocked', blocked={ContactBlocked}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v51/constructors/contacts.blockedSlice.md b/old_docs/API_docs_v51/constructors/contacts.blockedSlice.md new file mode 100644 index 00000000..92d19c72 --- /dev/null +++ b/old_docs/API_docs_v51/constructors/contacts.blockedSlice.md @@ -0,0 +1,40 @@ +--- +title: contacts.blockedSlice +description: Incomplete list of blocked users. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.blockedSlice +[Back to constructors index](index.md) + + + +Incomplete list of blocked users. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of elements in the list| +|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Blocked](../types/contacts.Blocked.md) + + +### Example: + +```php +$contacts.blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.blockedSlice={_='contacts.blockedSlice', count=int, blocked={ContactBlocked}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v51/constructors/contacts.contacts.md b/old_docs/API_docs_v51/constructors/contacts.contacts.md new file mode 100644 index 00000000..d4ccc018 --- /dev/null +++ b/old_docs/API_docs_v51/constructors/contacts.contacts.md @@ -0,0 +1,39 @@ +--- +title: contacts.contacts +description: The current user's contact list and info on users. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.contacts +[Back to constructors index](index.md) + + + +The current user's contact list and info on users. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|contacts|Array of [Contact](../types/Contact.md) | Yes|Contacts| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Contacts](../types/contacts.Contacts.md) + + +### Example: + +```php +$contacts.contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact, Contact], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.contacts={_='contacts.contacts', contacts={Contact}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v51/constructors/contacts.contactsNotModified.md b/old_docs/API_docs_v51/constructors/contacts.contactsNotModified.md new file mode 100644 index 00000000..e2149396 --- /dev/null +++ b/old_docs/API_docs_v51/constructors/contacts.contactsNotModified.md @@ -0,0 +1,33 @@ +--- +title: contacts.contactsNotModified +description: Contact list on the server is the same as the list on the client. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.contactsNotModified +[Back to constructors index](index.md) + + + +Contact list on the server is the same as the list on the client. + + + + +### Type: [contacts.Contacts](../types/contacts.Contacts.md) + + +### Example: + +```php +$contacts.contactsNotModified = ['_' => 'contacts.contactsNotModified']; +``` + + +Or, if you're into Lua: + +```lua +contacts.contactsNotModified={_='contacts.contactsNotModified'} + +``` + + diff --git a/old_docs/API_docs_v51/constructors/contacts.found.md b/old_docs/API_docs_v51/constructors/contacts.found.md new file mode 100644 index 00000000..1eaa93b7 --- /dev/null +++ b/old_docs/API_docs_v51/constructors/contacts.found.md @@ -0,0 +1,40 @@ +--- +title: contacts.found +description: Users found by name substring and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.found +[Back to constructors index](index.md) + + + +Users found by name substring and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|results|Array of [Peer](../types/Peer.md) | Yes|Results| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Found](../types/contacts.Found.md) + + +### Example: + +```php +$contacts.found = ['_' => 'contacts.found', 'results' => [Peer, Peer], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.found={_='contacts.found', results={Peer}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v51/constructors/contacts.importedContacts.md b/old_docs/API_docs_v51/constructors/contacts.importedContacts.md new file mode 100644 index 00000000..1cbff59a --- /dev/null +++ b/old_docs/API_docs_v51/constructors/contacts.importedContacts.md @@ -0,0 +1,40 @@ +--- +title: contacts.importedContacts +description: Info on succesfully imported contacts. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.importedContacts +[Back to constructors index](index.md) + + + +Info on succesfully imported contacts. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|imported|Array of [ImportedContact](../types/ImportedContact.md) | Yes|Imported| +|retry\_contacts|Array of [long](../types/long.md) | Yes|Retry importing contacts whose client IDs appear here| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.ImportedContacts](../types/contacts.ImportedContacts.md) + + +### Example: + +```php +$contacts.importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact, ImportedContact], 'retry_contacts' => [long, long], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.importedContacts={_='contacts.importedContacts', imported={ImportedContact}, retry_contacts={long}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v51/constructors/contacts.link.md b/old_docs/API_docs_v51/constructors/contacts.link.md new file mode 100644 index 00000000..ab150a0d --- /dev/null +++ b/old_docs/API_docs_v51/constructors/contacts.link.md @@ -0,0 +1,40 @@ +--- +title: contacts.link +description: Link +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.link +[Back to constructors index](index.md) + + + +Link + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|my\_link|[ContactLink](../types/ContactLink.md) | Yes|My link| +|foreign\_link|[ContactLink](../types/ContactLink.md) | Yes|Foreign link| +|user|[User](../types/User.md) | Optional|User| + + + +### Type: [contacts.Link](../types/contacts.Link.md) + + +### Example: + +```php +$contacts.link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User]; +``` + + +Or, if you're into Lua: + +```lua +contacts.link={_='contacts.link', my_link=ContactLink, foreign_link=ContactLink, user=User} + +``` + + diff --git a/old_docs/API_docs_v51/constructors/contacts.resolvedPeer.md b/old_docs/API_docs_v51/constructors/contacts.resolvedPeer.md new file mode 100644 index 00000000..35d88481 --- /dev/null +++ b/old_docs/API_docs_v51/constructors/contacts.resolvedPeer.md @@ -0,0 +1,40 @@ +--- +title: contacts.resolvedPeer +description: Resolved peer +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.resolvedPeer +[Back to constructors index](index.md) + + + +Resolved peer + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|peer|[Peer](../types/Peer.md) | Yes|The peer| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.ResolvedPeer](../types/contacts.ResolvedPeer.md) + + +### Example: + +```php +$contacts.resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.resolvedPeer={_='contacts.resolvedPeer', peer=Peer, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v51/constructors/contacts_blocked.md b/old_docs/API_docs_v51/constructors/contacts_blocked.md deleted file mode 100644 index 20e33002..00000000 --- a/old_docs/API_docs_v51/constructors/contacts_blocked.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: contacts.blocked -description: Full list of blocked users. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.blocked -[Back to constructors index](index.md) - - - -Full list of blocked users. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Blocked](../types/contacts_Blocked.md) - - -### Example: - -```php -$contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_blocked={_='contacts.blocked', blocked={ContactBlocked}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v51/constructors/contacts_blockedSlice.md b/old_docs/API_docs_v51/constructors/contacts_blockedSlice.md deleted file mode 100644 index fcab9a28..00000000 --- a/old_docs/API_docs_v51/constructors/contacts_blockedSlice.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.blockedSlice -description: Incomplete list of blocked users. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.blockedSlice -[Back to constructors index](index.md) - - - -Incomplete list of blocked users. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of elements in the list| -|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Blocked](../types/contacts_Blocked.md) - - -### Example: - -```php -$contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_blockedSlice={_='contacts.blockedSlice', count=int, blocked={ContactBlocked}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v51/constructors/contacts_contacts.md b/old_docs/API_docs_v51/constructors/contacts_contacts.md deleted file mode 100644 index f101b34b..00000000 --- a/old_docs/API_docs_v51/constructors/contacts_contacts.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: contacts.contacts -description: The current user's contact list and info on users. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.contacts -[Back to constructors index](index.md) - - - -The current user's contact list and info on users. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|contacts|Array of [Contact](../types/Contact.md) | Yes|Contacts| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Contacts](../types/contacts_Contacts.md) - - -### Example: - -```php -$contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact, Contact], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_contacts={_='contacts.contacts', contacts={Contact}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v51/constructors/contacts_contactsNotModified.md b/old_docs/API_docs_v51/constructors/contacts_contactsNotModified.md deleted file mode 100644 index 17e76ac3..00000000 --- a/old_docs/API_docs_v51/constructors/contacts_contactsNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: contacts.contactsNotModified -description: Contact list on the server is the same as the list on the client. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.contactsNotModified -[Back to constructors index](index.md) - - - -Contact list on the server is the same as the list on the client. - - - - -### Type: [contacts\_Contacts](../types/contacts_Contacts.md) - - -### Example: - -```php -$contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified']; -``` - - -Or, if you're into Lua: - -```lua -contacts_contactsNotModified={_='contacts.contactsNotModified'} - -``` - - diff --git a/old_docs/API_docs_v51/constructors/contacts_found.md b/old_docs/API_docs_v51/constructors/contacts_found.md deleted file mode 100644 index 0674aabf..00000000 --- a/old_docs/API_docs_v51/constructors/contacts_found.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.found -description: Users found by name substring and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.found -[Back to constructors index](index.md) - - - -Users found by name substring and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|results|Array of [Peer](../types/Peer.md) | Yes|Results| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Found](../types/contacts_Found.md) - - -### Example: - -```php -$contacts_found = ['_' => 'contacts.found', 'results' => [Peer, Peer], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_found={_='contacts.found', results={Peer}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v51/constructors/contacts_importedContacts.md b/old_docs/API_docs_v51/constructors/contacts_importedContacts.md deleted file mode 100644 index 121d96d1..00000000 --- a/old_docs/API_docs_v51/constructors/contacts_importedContacts.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.importedContacts -description: Info on succesfully imported contacts. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.importedContacts -[Back to constructors index](index.md) - - - -Info on succesfully imported contacts. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|imported|Array of [ImportedContact](../types/ImportedContact.md) | Yes|Imported| -|retry\_contacts|Array of [long](../types/long.md) | Yes|Retry importing contacts whose client IDs appear here| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) - - -### Example: - -```php -$contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact, ImportedContact], 'retry_contacts' => [long, long], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_importedContacts={_='contacts.importedContacts', imported={ImportedContact}, retry_contacts={long}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v51/constructors/contacts_link.md b/old_docs/API_docs_v51/constructors/contacts_link.md deleted file mode 100644 index cfc566c7..00000000 --- a/old_docs/API_docs_v51/constructors/contacts_link.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.link -description: Link -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.link -[Back to constructors index](index.md) - - - -Link - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|my\_link|[ContactLink](../types/ContactLink.md) | Yes|My link| -|foreign\_link|[ContactLink](../types/ContactLink.md) | Yes|Foreign link| -|user|[User](../types/User.md) | Optional|User| - - - -### Type: [contacts\_Link](../types/contacts_Link.md) - - -### Example: - -```php -$contacts_link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User]; -``` - - -Or, if you're into Lua: - -```lua -contacts_link={_='contacts.link', my_link=ContactLink, foreign_link=ContactLink, user=User} - -``` - - diff --git a/old_docs/API_docs_v51/constructors/contacts_resolvedPeer.md b/old_docs/API_docs_v51/constructors/contacts_resolvedPeer.md deleted file mode 100644 index aae3c7af..00000000 --- a/old_docs/API_docs_v51/constructors/contacts_resolvedPeer.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.resolvedPeer -description: Resolved peer -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.resolvedPeer -[Back to constructors index](index.md) - - - -Resolved peer - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|peer|[Peer](../types/Peer.md) | Yes|The peer| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_ResolvedPeer](../types/contacts_ResolvedPeer.md) - - -### Example: - -```php -$contacts_resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_resolvedPeer={_='contacts.resolvedPeer', peer=Peer, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v51/constructors/help.appChangelog.md b/old_docs/API_docs_v51/constructors/help.appChangelog.md new file mode 100644 index 00000000..dec6b96c --- /dev/null +++ b/old_docs/API_docs_v51/constructors/help.appChangelog.md @@ -0,0 +1,38 @@ +--- +title: help.appChangelog +description: App changelog +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.appChangelog +[Back to constructors index](index.md) + + + +App changelog + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|text|[string](../types/string.md) | Yes|Text| + + + +### Type: [help.AppChangelog](../types/help.AppChangelog.md) + + +### Example: + +```php +$help.appChangelog = ['_' => 'help.appChangelog', 'text' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +help.appChangelog={_='help.appChangelog', text='string'} + +``` + + diff --git a/old_docs/API_docs_v51/constructors/help.appChangelogEmpty.md b/old_docs/API_docs_v51/constructors/help.appChangelogEmpty.md new file mode 100644 index 00000000..6ecb71af --- /dev/null +++ b/old_docs/API_docs_v51/constructors/help.appChangelogEmpty.md @@ -0,0 +1,33 @@ +--- +title: help.appChangelogEmpty +description: Empty app changelog +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.appChangelogEmpty +[Back to constructors index](index.md) + + + +Empty app changelog + + + + +### Type: [help.AppChangelog](../types/help.AppChangelog.md) + + +### Example: + +```php +$help.appChangelogEmpty = ['_' => 'help.appChangelogEmpty']; +``` + + +Or, if you're into Lua: + +```lua +help.appChangelogEmpty={_='help.appChangelogEmpty'} + +``` + + diff --git a/old_docs/API_docs_v51/constructors/help.appUpdate.md b/old_docs/API_docs_v51/constructors/help.appUpdate.md new file mode 100644 index 00000000..14b2d75b --- /dev/null +++ b/old_docs/API_docs_v51/constructors/help.appUpdate.md @@ -0,0 +1,41 @@ +--- +title: help.appUpdate +description: An update is available for the application. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.appUpdate +[Back to constructors index](index.md) + + + +An update is available for the application. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|id|[int](../types/int.md) | Yes|Update ID| +|critical|[Bool](../types/Bool.md) | Yes|Critical?| +|url|[string](../types/string.md) | Yes|Application download URL| +|text|[string](../types/string.md) | Yes|Text description of the update| + + + +### Type: [help.AppUpdate](../types/help.AppUpdate.md) + + +### Example: + +```php +$help.appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'url' => 'string', 'text' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +help.appUpdate={_='help.appUpdate', id=int, critical=Bool, url='string', text='string'} + +``` + + diff --git a/old_docs/API_docs_v51/constructors/help.inviteText.md b/old_docs/API_docs_v51/constructors/help.inviteText.md new file mode 100644 index 00000000..6a6261c1 --- /dev/null +++ b/old_docs/API_docs_v51/constructors/help.inviteText.md @@ -0,0 +1,38 @@ +--- +title: help.inviteText +description: Text of a text message with an invitation to install application. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.inviteText +[Back to constructors index](index.md) + + + +Text of a text message with an invitation to install application. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|message|[string](../types/string.md) | Yes|Text of a message| + + + +### Type: [help.InviteText](../types/help.InviteText.md) + + +### Example: + +```php +$help.inviteText = ['_' => 'help.inviteText', 'message' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +help.inviteText={_='help.inviteText', message='string'} + +``` + + diff --git a/old_docs/API_docs_v51/constructors/help.noAppUpdate.md b/old_docs/API_docs_v51/constructors/help.noAppUpdate.md new file mode 100644 index 00000000..1b69ac9a --- /dev/null +++ b/old_docs/API_docs_v51/constructors/help.noAppUpdate.md @@ -0,0 +1,33 @@ +--- +title: help.noAppUpdate +description: No updates are available for the application. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.noAppUpdate +[Back to constructors index](index.md) + + + +No updates are available for the application. + + + + +### Type: [help.AppUpdate](../types/help.AppUpdate.md) + + +### Example: + +```php +$help.noAppUpdate = ['_' => 'help.noAppUpdate']; +``` + + +Or, if you're into Lua: + +```lua +help.noAppUpdate={_='help.noAppUpdate'} + +``` + + diff --git a/old_docs/API_docs_v51/constructors/help.support.md b/old_docs/API_docs_v51/constructors/help.support.md new file mode 100644 index 00000000..4d4f85fb --- /dev/null +++ b/old_docs/API_docs_v51/constructors/help.support.md @@ -0,0 +1,39 @@ +--- +title: help.support +description: Info on support user. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.support +[Back to constructors index](index.md) + + + +Info on support user. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_number|[string](../types/string.md) | Yes|Phone number| +|user|[User](../types/User.md) | Optional|User| + + + +### Type: [help.Support](../types/help.Support.md) + + +### Example: + +```php +$help.support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => User]; +``` + + +Or, if you're into Lua: + +```lua +help.support={_='help.support', phone_number='string', user=User} + +``` + + diff --git a/old_docs/API_docs_v51/constructors/help.termsOfService.md b/old_docs/API_docs_v51/constructors/help.termsOfService.md new file mode 100644 index 00000000..cab1f128 --- /dev/null +++ b/old_docs/API_docs_v51/constructors/help.termsOfService.md @@ -0,0 +1,38 @@ +--- +title: help.termsOfService +description: Info about the latest telegram Terms Of Service +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.termsOfService +[Back to constructors index](index.md) + + + +Info about the latest telegram Terms Of Service + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|text|[string](../types/string.md) | Yes|Text of the new terms| + + + +### Type: [help.TermsOfService](../types/help.TermsOfService.md) + + +### Example: + +```php +$help.termsOfService = ['_' => 'help.termsOfService', 'text' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +help.termsOfService={_='help.termsOfService', text='string'} + +``` + + diff --git a/old_docs/API_docs_v51/constructors/help_appChangelog.md b/old_docs/API_docs_v51/constructors/help_appChangelog.md deleted file mode 100644 index 793a8fc4..00000000 --- a/old_docs/API_docs_v51/constructors/help_appChangelog.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: help.appChangelog -description: App changelog -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.appChangelog -[Back to constructors index](index.md) - - - -App changelog - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|text|[string](../types/string.md) | Yes|Text| - - - -### Type: [help\_AppChangelog](../types/help_AppChangelog.md) - - -### Example: - -```php -$help_appChangelog = ['_' => 'help.appChangelog', 'text' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -help_appChangelog={_='help.appChangelog', text='string'} - -``` - - diff --git a/old_docs/API_docs_v51/constructors/help_appChangelogEmpty.md b/old_docs/API_docs_v51/constructors/help_appChangelogEmpty.md deleted file mode 100644 index 62a195bb..00000000 --- a/old_docs/API_docs_v51/constructors/help_appChangelogEmpty.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: help.appChangelogEmpty -description: Empty app changelog -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.appChangelogEmpty -[Back to constructors index](index.md) - - - -Empty app changelog - - - - -### Type: [help\_AppChangelog](../types/help_AppChangelog.md) - - -### Example: - -```php -$help_appChangelogEmpty = ['_' => 'help.appChangelogEmpty']; -``` - - -Or, if you're into Lua: - -```lua -help_appChangelogEmpty={_='help.appChangelogEmpty'} - -``` - - diff --git a/old_docs/API_docs_v51/constructors/help_appUpdate.md b/old_docs/API_docs_v51/constructors/help_appUpdate.md deleted file mode 100644 index efba9bdb..00000000 --- a/old_docs/API_docs_v51/constructors/help_appUpdate.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: help.appUpdate -description: An update is available for the application. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.appUpdate -[Back to constructors index](index.md) - - - -An update is available for the application. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|id|[int](../types/int.md) | Yes|Update ID| -|critical|[Bool](../types/Bool.md) | Yes|Critical?| -|url|[string](../types/string.md) | Yes|Application download URL| -|text|[string](../types/string.md) | Yes|Text description of the update| - - - -### Type: [help\_AppUpdate](../types/help_AppUpdate.md) - - -### Example: - -```php -$help_appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'url' => 'string', 'text' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -help_appUpdate={_='help.appUpdate', id=int, critical=Bool, url='string', text='string'} - -``` - - diff --git a/old_docs/API_docs_v51/constructors/help_inviteText.md b/old_docs/API_docs_v51/constructors/help_inviteText.md deleted file mode 100644 index b8317ce3..00000000 --- a/old_docs/API_docs_v51/constructors/help_inviteText.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: help.inviteText -description: Text of a text message with an invitation to install application. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.inviteText -[Back to constructors index](index.md) - - - -Text of a text message with an invitation to install application. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|message|[string](../types/string.md) | Yes|Text of a message| - - - -### Type: [help\_InviteText](../types/help_InviteText.md) - - -### Example: - -```php -$help_inviteText = ['_' => 'help.inviteText', 'message' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -help_inviteText={_='help.inviteText', message='string'} - -``` - - diff --git a/old_docs/API_docs_v51/constructors/help_noAppUpdate.md b/old_docs/API_docs_v51/constructors/help_noAppUpdate.md deleted file mode 100644 index 51505e52..00000000 --- a/old_docs/API_docs_v51/constructors/help_noAppUpdate.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: help.noAppUpdate -description: No updates are available for the application. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.noAppUpdate -[Back to constructors index](index.md) - - - -No updates are available for the application. - - - - -### Type: [help\_AppUpdate](../types/help_AppUpdate.md) - - -### Example: - -```php -$help_noAppUpdate = ['_' => 'help.noAppUpdate']; -``` - - -Or, if you're into Lua: - -```lua -help_noAppUpdate={_='help.noAppUpdate'} - -``` - - diff --git a/old_docs/API_docs_v51/constructors/help_support.md b/old_docs/API_docs_v51/constructors/help_support.md deleted file mode 100644 index 148f7f42..00000000 --- a/old_docs/API_docs_v51/constructors/help_support.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: help.support -description: Info on support user. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.support -[Back to constructors index](index.md) - - - -Info on support user. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_number|[string](../types/string.md) | Yes|Phone number| -|user|[User](../types/User.md) | Optional|User| - - - -### Type: [help\_Support](../types/help_Support.md) - - -### Example: - -```php -$help_support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => User]; -``` - - -Or, if you're into Lua: - -```lua -help_support={_='help.support', phone_number='string', user=User} - -``` - - diff --git a/old_docs/API_docs_v51/constructors/help_termsOfService.md b/old_docs/API_docs_v51/constructors/help_termsOfService.md deleted file mode 100644 index 2ac763b3..00000000 --- a/old_docs/API_docs_v51/constructors/help_termsOfService.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: help.termsOfService -description: Info about the latest telegram Terms Of Service -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.termsOfService -[Back to constructors index](index.md) - - - -Info about the latest telegram Terms Of Service - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|text|[string](../types/string.md) | Yes|Text of the new terms| - - - -### Type: [help\_TermsOfService](../types/help_TermsOfService.md) - - -### Example: - -```php -$help_termsOfService = ['_' => 'help.termsOfService', 'text' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -help_termsOfService={_='help.termsOfService', text='string'} - -``` - - diff --git a/old_docs/API_docs_v51/constructors/messages.affectedHistory.md b/old_docs/API_docs_v51/constructors/messages.affectedHistory.md new file mode 100644 index 00000000..5fc8acec --- /dev/null +++ b/old_docs/API_docs_v51/constructors/messages.affectedHistory.md @@ -0,0 +1,40 @@ +--- +title: messages.affectedHistory +description: Affected part of communication history with the user or in a chat. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.affectedHistory +[Back to constructors index](index.md) + + + +Affected part of communication history with the user or in a chat. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| +|pts\_count|[int](../types/int.md) | Yes|Number of affected events| +|offset|[int](../types/int.md) | Yes|If a parameter contains positive value, it is necessary to repeat the method call using the given value; during the proceeding of all the history the value itself shall gradually decrease| + + + +### Type: [messages.AffectedHistory](../types/messages.AffectedHistory.md) + + +### Example: + +```php +$messages.affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.affectedHistory={_='messages.affectedHistory', pts=int, pts_count=int, offset=int} + +``` + + diff --git a/old_docs/API_docs_v51/constructors/messages.affectedMessages.md b/old_docs/API_docs_v51/constructors/messages.affectedMessages.md new file mode 100644 index 00000000..a0e60bdf --- /dev/null +++ b/old_docs/API_docs_v51/constructors/messages.affectedMessages.md @@ -0,0 +1,39 @@ +--- +title: messages.affectedMessages +description: Events affected by operation +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.affectedMessages +[Back to constructors index](index.md) + + + +Events affected by operation + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|[Event count after generation](https://core.telegram.org/api/updates)| +|pts\_count|[int](../types/int.md) | Yes|[Number of events that were generated](https://core.telegram.org/api/updates)| + + + +### Type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) + + +### Example: + +```php +$messages.affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.affectedMessages={_='messages.affectedMessages', pts=int, pts_count=int} + +``` + + diff --git a/old_docs/API_docs_v51/constructors/messages.allStickers.md b/old_docs/API_docs_v51/constructors/messages.allStickers.md new file mode 100644 index 00000000..5f13bfde --- /dev/null +++ b/old_docs/API_docs_v51/constructors/messages.allStickers.md @@ -0,0 +1,39 @@ +--- +title: messages.allStickers +description: Info about all installed stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.allStickers +[Back to constructors index](index.md) + + + +Info about all installed stickers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|sets|Array of [StickerSet](../types/StickerSet.md) | Yes|Sets| + + + +### Type: [messages.AllStickers](../types/messages.AllStickers.md) + + +### Example: + +```php +$messages.allStickers = ['_' => 'messages.allStickers', 'hash' => int, 'sets' => [StickerSet, StickerSet]]; +``` + + +Or, if you're into Lua: + +```lua +messages.allStickers={_='messages.allStickers', hash=int, sets={StickerSet}} + +``` + + diff --git a/old_docs/API_docs_v51/constructors/messages.allStickersNotModified.md b/old_docs/API_docs_v51/constructors/messages.allStickersNotModified.md new file mode 100644 index 00000000..d3db088b --- /dev/null +++ b/old_docs/API_docs_v51/constructors/messages.allStickersNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.allStickersNotModified +description: Info about all installed stickers hasn't changed +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.allStickersNotModified +[Back to constructors index](index.md) + + + +Info about all installed stickers hasn't changed + + + + +### Type: [messages.AllStickers](../types/messages.AllStickers.md) + + +### Example: + +```php +$messages.allStickersNotModified = ['_' => 'messages.allStickersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.allStickersNotModified={_='messages.allStickersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v51/constructors/messages.botCallbackAnswer.md b/old_docs/API_docs_v51/constructors/messages.botCallbackAnswer.md new file mode 100644 index 00000000..508175e0 --- /dev/null +++ b/old_docs/API_docs_v51/constructors/messages.botCallbackAnswer.md @@ -0,0 +1,39 @@ +--- +title: messages.botCallbackAnswer +description: Callback answer sent by the bot in response to a button press +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.botCallbackAnswer +[Back to constructors index](index.md) + + + +Callback answer sent by the bot in response to a button press + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|alert|[Bool](../types/Bool.md) | Optional|Whether an alert should be shown to the user instead of a toast notification| +|message|[string](../types/string.md) | Optional|Alert to show| + + + +### Type: [messages.BotCallbackAnswer](../types/messages.BotCallbackAnswer.md) + + +### Example: + +```php +$messages.botCallbackAnswer = ['_' => 'messages.botCallbackAnswer', 'alert' => Bool, 'message' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +messages.botCallbackAnswer={_='messages.botCallbackAnswer', alert=Bool, message='string'} + +``` + + diff --git a/old_docs/API_docs_v51/constructors/messages.botResults.md b/old_docs/API_docs_v51/constructors/messages.botResults.md new file mode 100644 index 00000000..00597fc9 --- /dev/null +++ b/old_docs/API_docs_v51/constructors/messages.botResults.md @@ -0,0 +1,42 @@ +--- +title: messages.botResults +description: Result of a query to an inline bot +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.botResults +[Back to constructors index](index.md) + + + +Result of a query to an inline bot + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|gallery|[Bool](../types/Bool.md) | Optional|Whether the result is a picture gallery| +|query\_id|[long](../types/long.md) | Yes|Query ID| +|next\_offset|[string](../types/string.md) | Optional|The next offset to use when navigating through results| +|switch\_pm|[InlineBotSwitchPM](../types/InlineBotSwitchPM.md) | Optional|Whether the bot requested the user to message him in private| +|results|Array of [BotInlineResult](../types/BotInlineResult.md) | Yes|Results| + + + +### Type: [messages.BotResults](../types/messages.BotResults.md) + + +### Example: + +```php +$messages.botResults = ['_' => 'messages.botResults', 'gallery' => Bool, 'query_id' => long, 'next_offset' => 'string', 'switch_pm' => InlineBotSwitchPM, 'results' => [BotInlineResult, BotInlineResult]]; +``` + + +Or, if you're into Lua: + +```lua +messages.botResults={_='messages.botResults', gallery=Bool, query_id=long, next_offset='string', switch_pm=InlineBotSwitchPM, results={BotInlineResult}} + +``` + + diff --git a/old_docs/API_docs_v51/constructors/messages.channelMessages.md b/old_docs/API_docs_v51/constructors/messages.channelMessages.md new file mode 100644 index 00000000..26b60293 --- /dev/null +++ b/old_docs/API_docs_v51/constructors/messages.channelMessages.md @@ -0,0 +1,43 @@ +--- +title: messages.channelMessages +description: Channel messages +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.channelMessages +[Back to constructors index](index.md) + + + +Channel messages + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|[Event count after generation](https://core.telegram.org/api/updates)| +|count|[int](../types/int.md) | Yes|Total number of results were found server-side (may not be all included here)| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|collapsed|Array of [MessageGroup](../types/MessageGroup.md) | Optional|Collapsed| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Messages](../types/messages.Messages.md) + + +### Example: + +```php +$messages.channelMessages = ['_' => 'messages.channelMessages', 'pts' => int, 'count' => int, 'messages' => [Message, Message], 'collapsed' => [MessageGroup, MessageGroup], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.channelMessages={_='messages.channelMessages', pts=int, count=int, messages={Message}, collapsed={MessageGroup}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v51/constructors/messages.chatFull.md b/old_docs/API_docs_v51/constructors/messages.chatFull.md new file mode 100644 index 00000000..3906cc54 --- /dev/null +++ b/old_docs/API_docs_v51/constructors/messages.chatFull.md @@ -0,0 +1,40 @@ +--- +title: messages.chatFull +description: Extended info on chat and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.chatFull +[Back to constructors index](index.md) + + + +Extended info on chat and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|full\_chat|[ChatFull](../types/ChatFull.md) | Yes|Extended info on a chat| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.ChatFull](../types/messages.ChatFull.md) + + +### Example: + +```php +$messages.chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.chatFull={_='messages.chatFull', full_chat=ChatFull, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v51/constructors/messages.chats.md b/old_docs/API_docs_v51/constructors/messages.chats.md new file mode 100644 index 00000000..9ede9ff2 --- /dev/null +++ b/old_docs/API_docs_v51/constructors/messages.chats.md @@ -0,0 +1,38 @@ +--- +title: messages.chats +description: List of chats with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.chats +[Back to constructors index](index.md) + + + +List of chats with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| + + + +### Type: [messages.Chats](../types/messages.Chats.md) + + +### Example: + +```php +$messages.chats = ['_' => 'messages.chats', 'chats' => [Chat, Chat]]; +``` + + +Or, if you're into Lua: + +```lua +messages.chats={_='messages.chats', chats={Chat}} + +``` + + diff --git a/old_docs/API_docs_v51/constructors/messages.dhConfig.md b/old_docs/API_docs_v51/constructors/messages.dhConfig.md new file mode 100644 index 00000000..58344f64 --- /dev/null +++ b/old_docs/API_docs_v51/constructors/messages.dhConfig.md @@ -0,0 +1,41 @@ +--- +title: messages.dhConfig +description: New set of configuring parameters. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dhConfig +[Back to constructors index](index.md) + + + +New set of configuring parameters. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|g|[int](../types/int.md) | Yes|New value **prime**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| +|p|[bytes](../types/bytes.md) | Yes|New value **primitive root**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| +|version|[int](../types/int.md) | Yes|Vestion of set of parameters| +|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| + + + +### Type: [messages.DhConfig](../types/messages.DhConfig.md) + + +### Example: + +```php +$messages.dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'version' => int, 'random' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +messages.dhConfig={_='messages.dhConfig', g=int, p='bytes', version=int, random='bytes'} + +``` + + diff --git a/old_docs/API_docs_v51/constructors/messages.dhConfigNotModified.md b/old_docs/API_docs_v51/constructors/messages.dhConfigNotModified.md new file mode 100644 index 00000000..a9a95389 --- /dev/null +++ b/old_docs/API_docs_v51/constructors/messages.dhConfigNotModified.md @@ -0,0 +1,38 @@ +--- +title: messages.dhConfigNotModified +description: Configuring parameters did not change. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dhConfigNotModified +[Back to constructors index](index.md) + + + +Configuring parameters did not change. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| + + + +### Type: [messages.DhConfig](../types/messages.DhConfig.md) + + +### Example: + +```php +$messages.dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +messages.dhConfigNotModified={_='messages.dhConfigNotModified', random='bytes'} + +``` + + diff --git a/old_docs/API_docs_v51/constructors/messages.dialogs.md b/old_docs/API_docs_v51/constructors/messages.dialogs.md new file mode 100644 index 00000000..a72eabce --- /dev/null +++ b/old_docs/API_docs_v51/constructors/messages.dialogs.md @@ -0,0 +1,41 @@ +--- +title: messages.dialogs +description: Full list of chats with messages and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dialogs +[Back to constructors index](index.md) + + + +Full list of chats with messages and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Dialogs](../types/messages.Dialogs.md) + + +### Example: + +```php +$messages.dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.dialogs={_='messages.dialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v51/constructors/messages.dialogsSlice.md b/old_docs/API_docs_v51/constructors/messages.dialogsSlice.md new file mode 100644 index 00000000..26227d2c --- /dev/null +++ b/old_docs/API_docs_v51/constructors/messages.dialogsSlice.md @@ -0,0 +1,42 @@ +--- +title: messages.dialogsSlice +description: Incomplete list of dialogs with messages and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dialogsSlice +[Back to constructors index](index.md) + + + +Incomplete list of dialogs with messages and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of dialogs| +|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Dialogs](../types/messages.Dialogs.md) + + +### Example: + +```php +$messages.dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.dialogsSlice={_='messages.dialogsSlice', count=int, dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v51/constructors/messages.foundGifs.md b/old_docs/API_docs_v51/constructors/messages.foundGifs.md new file mode 100644 index 00000000..c75e36f9 --- /dev/null +++ b/old_docs/API_docs_v51/constructors/messages.foundGifs.md @@ -0,0 +1,39 @@ +--- +title: messages.foundGifs +description: Found GIFs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.foundGifs +[Back to constructors index](index.md) + + + +Found GIFs + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|next\_offset|[int](../types/int.md) | Yes|Next offset to use when trying to [load more results](../methods/messages.searchGifs.md)| +|results|Array of [FoundGif](../types/FoundGif.md) | Yes|Results| + + + +### Type: [messages.FoundGifs](../types/messages.FoundGifs.md) + + +### Example: + +```php +$messages.foundGifs = ['_' => 'messages.foundGifs', 'next_offset' => int, 'results' => [FoundGif, FoundGif]]; +``` + + +Or, if you're into Lua: + +```lua +messages.foundGifs={_='messages.foundGifs', next_offset=int, results={FoundGif}} + +``` + + diff --git a/old_docs/API_docs_v51/constructors/messages.messageEditData.md b/old_docs/API_docs_v51/constructors/messages.messageEditData.md new file mode 100644 index 00000000..578b53d9 --- /dev/null +++ b/old_docs/API_docs_v51/constructors/messages.messageEditData.md @@ -0,0 +1,38 @@ +--- +title: messages.messageEditData +description: Message edit data for media +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.messageEditData +[Back to constructors index](index.md) + + + +Message edit data for media + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|caption|[Bool](../types/Bool.md) | Optional|Media caption, if the specified media's caption can be edited| + + + +### Type: [messages.MessageEditData](../types/messages.MessageEditData.md) + + +### Example: + +```php +$messages.messageEditData = ['_' => 'messages.messageEditData', 'caption' => Bool]; +``` + + +Or, if you're into Lua: + +```lua +messages.messageEditData={_='messages.messageEditData', caption=Bool} + +``` + + diff --git a/old_docs/API_docs_v51/constructors/messages.messages.md b/old_docs/API_docs_v51/constructors/messages.messages.md new file mode 100644 index 00000000..3af71dca --- /dev/null +++ b/old_docs/API_docs_v51/constructors/messages.messages.md @@ -0,0 +1,40 @@ +--- +title: messages.messages +description: Full list of messages with auxilary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.messages +[Back to constructors index](index.md) + + + +Full list of messages with auxilary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Messages](../types/messages.Messages.md) + + +### Example: + +```php +$messages.messages = ['_' => 'messages.messages', 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.messages={_='messages.messages', messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v51/constructors/messages.messagesSlice.md b/old_docs/API_docs_v51/constructors/messages.messagesSlice.md new file mode 100644 index 00000000..2fe91df0 --- /dev/null +++ b/old_docs/API_docs_v51/constructors/messages.messagesSlice.md @@ -0,0 +1,41 @@ +--- +title: messages.messagesSlice +description: Incomplete list of messages and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.messagesSlice +[Back to constructors index](index.md) + + + +Incomplete list of messages and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of messages in the list| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Messages](../types/messages.Messages.md) + + +### Example: + +```php +$messages.messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.messagesSlice={_='messages.messagesSlice', count=int, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v51/constructors/messages.savedGifs.md b/old_docs/API_docs_v51/constructors/messages.savedGifs.md new file mode 100644 index 00000000..c82929a3 --- /dev/null +++ b/old_docs/API_docs_v51/constructors/messages.savedGifs.md @@ -0,0 +1,39 @@ +--- +title: messages.savedGifs +description: Saved gifs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.savedGifs +[Back to constructors index](index.md) + + + +Saved gifs + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|gifs|Array of [Document](../types/Document.md) | Yes|Gifs| + + + +### Type: [messages.SavedGifs](../types/messages.SavedGifs.md) + + +### Example: + +```php +$messages.savedGifs = ['_' => 'messages.savedGifs', 'hash' => int, 'gifs' => [Document, Document]]; +``` + + +Or, if you're into Lua: + +```lua +messages.savedGifs={_='messages.savedGifs', hash=int, gifs={Document}} + +``` + + diff --git a/old_docs/API_docs_v51/constructors/messages.savedGifsNotModified.md b/old_docs/API_docs_v51/constructors/messages.savedGifsNotModified.md new file mode 100644 index 00000000..0fbccacc --- /dev/null +++ b/old_docs/API_docs_v51/constructors/messages.savedGifsNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.savedGifsNotModified +description: No new saved gifs were found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.savedGifsNotModified +[Back to constructors index](index.md) + + + +No new saved gifs were found + + + + +### Type: [messages.SavedGifs](../types/messages.SavedGifs.md) + + +### Example: + +```php +$messages.savedGifsNotModified = ['_' => 'messages.savedGifsNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.savedGifsNotModified={_='messages.savedGifsNotModified'} + +``` + + diff --git a/old_docs/API_docs_v51/constructors/messages.sentEncryptedFile.md b/old_docs/API_docs_v51/constructors/messages.sentEncryptedFile.md new file mode 100644 index 00000000..1f0e43c6 --- /dev/null +++ b/old_docs/API_docs_v51/constructors/messages.sentEncryptedFile.md @@ -0,0 +1,39 @@ +--- +title: messages.sentEncryptedFile +description: Message with a file enclosure sent to a protected chat +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.sentEncryptedFile +[Back to constructors index](index.md) + + + +Message with a file enclosure sent to a protected chat + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Sending date| +|file|[EncryptedFile](../types/EncryptedFile.md) | Optional|Attached file| + + + +### Type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) + + +### Example: + +```php +$messages.sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile]; +``` + + +Or, if you're into Lua: + +```lua +messages.sentEncryptedFile={_='messages.sentEncryptedFile', date=int, file=EncryptedFile} + +``` + + diff --git a/old_docs/API_docs_v51/constructors/messages.sentEncryptedMessage.md b/old_docs/API_docs_v51/constructors/messages.sentEncryptedMessage.md new file mode 100644 index 00000000..3d5eb40c --- /dev/null +++ b/old_docs/API_docs_v51/constructors/messages.sentEncryptedMessage.md @@ -0,0 +1,38 @@ +--- +title: messages.sentEncryptedMessage +description: Message without file attachemts sent to an encrypted file. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.sentEncryptedMessage +[Back to constructors index](index.md) + + + +Message without file attachemts sent to an encrypted file. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Date of sending| + + + +### Type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) + + +### Example: + +```php +$messages.sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.sentEncryptedMessage={_='messages.sentEncryptedMessage', date=int} + +``` + + diff --git a/old_docs/API_docs_v51/constructors/messages.stickerSet.md b/old_docs/API_docs_v51/constructors/messages.stickerSet.md new file mode 100644 index 00000000..fbc154d0 --- /dev/null +++ b/old_docs/API_docs_v51/constructors/messages.stickerSet.md @@ -0,0 +1,40 @@ +--- +title: messages.stickerSet +description: Stickerset and stickers inside it +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickerSet +[Back to constructors index](index.md) + + + +Stickerset and stickers inside it + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|set|[StickerSet](../types/StickerSet.md) | Yes|The stickerset| +|packs|Array of [StickerPack](../types/StickerPack.md) | Yes|Packs| +|documents|Array of [Document](../types/Document.md) | Yes|Documents| + + + +### Type: [messages.StickerSet](../types/messages.StickerSet.md) + + +### Example: + +```php +$messages.stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'packs' => [StickerPack, StickerPack], 'documents' => [Document, Document]]; +``` + + +Or, if you're into Lua: + +```lua +messages.stickerSet={_='messages.stickerSet', set=StickerSet, packs={StickerPack}, documents={Document}} + +``` + + diff --git a/old_docs/API_docs_v51/constructors/messages.stickers.md b/old_docs/API_docs_v51/constructors/messages.stickers.md new file mode 100644 index 00000000..310b64b0 --- /dev/null +++ b/old_docs/API_docs_v51/constructors/messages.stickers.md @@ -0,0 +1,39 @@ +--- +title: messages.stickers +description: Found stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickers +[Back to constructors index](index.md) + + + +Found stickers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[string](../types/string.md) | Yes|Hash| +|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| + + + +### Type: [messages.Stickers](../types/messages.Stickers.md) + + +### Example: + +```php +$messages.stickers = ['_' => 'messages.stickers', 'hash' => 'string', 'stickers' => [Document, Document]]; +``` + + +Or, if you're into Lua: + +```lua +messages.stickers={_='messages.stickers', hash='string', stickers={Document}} + +``` + + diff --git a/old_docs/API_docs_v51/constructors/messages.stickersNotModified.md b/old_docs/API_docs_v51/constructors/messages.stickersNotModified.md new file mode 100644 index 00000000..e8c7766c --- /dev/null +++ b/old_docs/API_docs_v51/constructors/messages.stickersNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.stickersNotModified +description: No new stickers were found for the given query +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickersNotModified +[Back to constructors index](index.md) + + + +No new stickers were found for the given query + + + + +### Type: [messages.Stickers](../types/messages.Stickers.md) + + +### Example: + +```php +$messages.stickersNotModified = ['_' => 'messages.stickersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.stickersNotModified={_='messages.stickersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v51/constructors/messages_affectedHistory.md b/old_docs/API_docs_v51/constructors/messages_affectedHistory.md deleted file mode 100644 index 449a7e3f..00000000 --- a/old_docs/API_docs_v51/constructors/messages_affectedHistory.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.affectedHistory -description: Affected part of communication history with the user or in a chat. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.affectedHistory -[Back to constructors index](index.md) - - - -Affected part of communication history with the user or in a chat. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| -|pts\_count|[int](../types/int.md) | Yes|Number of affected events| -|offset|[int](../types/int.md) | Yes|If a parameter contains positive value, it is necessary to repeat the method call using the given value; during the proceeding of all the history the value itself shall gradually decrease| - - - -### Type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) - - -### Example: - -```php -$messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_affectedHistory={_='messages.affectedHistory', pts=int, pts_count=int, offset=int} - -``` - - diff --git a/old_docs/API_docs_v51/constructors/messages_affectedMessages.md b/old_docs/API_docs_v51/constructors/messages_affectedMessages.md deleted file mode 100644 index 86760581..00000000 --- a/old_docs/API_docs_v51/constructors/messages_affectedMessages.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.affectedMessages -description: Events affected by operation -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.affectedMessages -[Back to constructors index](index.md) - - - -Events affected by operation - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|[Event count after generation](https://core.telegram.org/api/updates)| -|pts\_count|[int](../types/int.md) | Yes|[Number of events that were generated](https://core.telegram.org/api/updates)| - - - -### Type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) - - -### Example: - -```php -$messages_affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_affectedMessages={_='messages.affectedMessages', pts=int, pts_count=int} - -``` - - diff --git a/old_docs/API_docs_v51/constructors/messages_allStickers.md b/old_docs/API_docs_v51/constructors/messages_allStickers.md deleted file mode 100644 index 2e64f46e..00000000 --- a/old_docs/API_docs_v51/constructors/messages_allStickers.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.allStickers -description: Info about all installed stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.allStickers -[Back to constructors index](index.md) - - - -Info about all installed stickers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|sets|Array of [StickerSet](../types/StickerSet.md) | Yes|Sets| - - - -### Type: [messages\_AllStickers](../types/messages_AllStickers.md) - - -### Example: - -```php -$messages_allStickers = ['_' => 'messages.allStickers', 'hash' => int, 'sets' => [StickerSet, StickerSet]]; -``` - - -Or, if you're into Lua: - -```lua -messages_allStickers={_='messages.allStickers', hash=int, sets={StickerSet}} - -``` - - diff --git a/old_docs/API_docs_v51/constructors/messages_allStickersNotModified.md b/old_docs/API_docs_v51/constructors/messages_allStickersNotModified.md deleted file mode 100644 index c4da85ab..00000000 --- a/old_docs/API_docs_v51/constructors/messages_allStickersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.allStickersNotModified -description: Info about all installed stickers hasn't changed -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.allStickersNotModified -[Back to constructors index](index.md) - - - -Info about all installed stickers hasn't changed - - - - -### Type: [messages\_AllStickers](../types/messages_AllStickers.md) - - -### Example: - -```php -$messages_allStickersNotModified = ['_' => 'messages.allStickersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_allStickersNotModified={_='messages.allStickersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v51/constructors/messages_botCallbackAnswer.md b/old_docs/API_docs_v51/constructors/messages_botCallbackAnswer.md deleted file mode 100644 index dcfa0bfb..00000000 --- a/old_docs/API_docs_v51/constructors/messages_botCallbackAnswer.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.botCallbackAnswer -description: Callback answer sent by the bot in response to a button press -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.botCallbackAnswer -[Back to constructors index](index.md) - - - -Callback answer sent by the bot in response to a button press - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|alert|[Bool](../types/Bool.md) | Optional|Whether an alert should be shown to the user instead of a toast notification| -|message|[string](../types/string.md) | Optional|Alert to show| - - - -### Type: [messages\_BotCallbackAnswer](../types/messages_BotCallbackAnswer.md) - - -### Example: - -```php -$messages_botCallbackAnswer = ['_' => 'messages.botCallbackAnswer', 'alert' => Bool, 'message' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -messages_botCallbackAnswer={_='messages.botCallbackAnswer', alert=Bool, message='string'} - -``` - - diff --git a/old_docs/API_docs_v51/constructors/messages_botResults.md b/old_docs/API_docs_v51/constructors/messages_botResults.md deleted file mode 100644 index 036ce74b..00000000 --- a/old_docs/API_docs_v51/constructors/messages_botResults.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: messages.botResults -description: Result of a query to an inline bot -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.botResults -[Back to constructors index](index.md) - - - -Result of a query to an inline bot - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|gallery|[Bool](../types/Bool.md) | Optional|Whether the result is a picture gallery| -|query\_id|[long](../types/long.md) | Yes|Query ID| -|next\_offset|[string](../types/string.md) | Optional|The next offset to use when navigating through results| -|switch\_pm|[InlineBotSwitchPM](../types/InlineBotSwitchPM.md) | Optional|Whether the bot requested the user to message him in private| -|results|Array of [BotInlineResult](../types/BotInlineResult.md) | Yes|Results| - - - -### Type: [messages\_BotResults](../types/messages_BotResults.md) - - -### Example: - -```php -$messages_botResults = ['_' => 'messages.botResults', 'gallery' => Bool, 'query_id' => long, 'next_offset' => 'string', 'switch_pm' => InlineBotSwitchPM, 'results' => [BotInlineResult, BotInlineResult]]; -``` - - -Or, if you're into Lua: - -```lua -messages_botResults={_='messages.botResults', gallery=Bool, query_id=long, next_offset='string', switch_pm=InlineBotSwitchPM, results={BotInlineResult}} - -``` - - diff --git a/old_docs/API_docs_v51/constructors/messages_channelMessages.md b/old_docs/API_docs_v51/constructors/messages_channelMessages.md deleted file mode 100644 index f59dea09..00000000 --- a/old_docs/API_docs_v51/constructors/messages_channelMessages.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: messages.channelMessages -description: Channel messages -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.channelMessages -[Back to constructors index](index.md) - - - -Channel messages - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|[Event count after generation](https://core.telegram.org/api/updates)| -|count|[int](../types/int.md) | Yes|Total number of results were found server-side (may not be all included here)| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|collapsed|Array of [MessageGroup](../types/MessageGroup.md) | Optional|Collapsed| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Messages](../types/messages_Messages.md) - - -### Example: - -```php -$messages_channelMessages = ['_' => 'messages.channelMessages', 'pts' => int, 'count' => int, 'messages' => [Message, Message], 'collapsed' => [MessageGroup, MessageGroup], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_channelMessages={_='messages.channelMessages', pts=int, count=int, messages={Message}, collapsed={MessageGroup}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v51/constructors/messages_chatFull.md b/old_docs/API_docs_v51/constructors/messages_chatFull.md deleted file mode 100644 index 02f1acdf..00000000 --- a/old_docs/API_docs_v51/constructors/messages_chatFull.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.chatFull -description: Extended info on chat and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.chatFull -[Back to constructors index](index.md) - - - -Extended info on chat and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|full\_chat|[ChatFull](../types/ChatFull.md) | Yes|Extended info on a chat| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_ChatFull](../types/messages_ChatFull.md) - - -### Example: - -```php -$messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_chatFull={_='messages.chatFull', full_chat=ChatFull, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v51/constructors/messages_chats.md b/old_docs/API_docs_v51/constructors/messages_chats.md deleted file mode 100644 index ef3690a9..00000000 --- a/old_docs/API_docs_v51/constructors/messages_chats.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.chats -description: List of chats with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.chats -[Back to constructors index](index.md) - - - -List of chats with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| - - - -### Type: [messages\_Chats](../types/messages_Chats.md) - - -### Example: - -```php -$messages_chats = ['_' => 'messages.chats', 'chats' => [Chat, Chat]]; -``` - - -Or, if you're into Lua: - -```lua -messages_chats={_='messages.chats', chats={Chat}} - -``` - - diff --git a/old_docs/API_docs_v51/constructors/messages_dhConfig.md b/old_docs/API_docs_v51/constructors/messages_dhConfig.md deleted file mode 100644 index 42c2feb1..00000000 --- a/old_docs/API_docs_v51/constructors/messages_dhConfig.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: messages.dhConfig -description: New set of configuring parameters. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dhConfig -[Back to constructors index](index.md) - - - -New set of configuring parameters. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|g|[int](../types/int.md) | Yes|New value **prime**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| -|p|[bytes](../types/bytes.md) | Yes|New value **primitive root**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| -|version|[int](../types/int.md) | Yes|Vestion of set of parameters| -|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| - - - -### Type: [messages\_DhConfig](../types/messages_DhConfig.md) - - -### Example: - -```php -$messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'version' => int, 'random' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -messages_dhConfig={_='messages.dhConfig', g=int, p='bytes', version=int, random='bytes'} - -``` - - diff --git a/old_docs/API_docs_v51/constructors/messages_dhConfigNotModified.md b/old_docs/API_docs_v51/constructors/messages_dhConfigNotModified.md deleted file mode 100644 index 5bf64230..00000000 --- a/old_docs/API_docs_v51/constructors/messages_dhConfigNotModified.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.dhConfigNotModified -description: Configuring parameters did not change. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dhConfigNotModified -[Back to constructors index](index.md) - - - -Configuring parameters did not change. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| - - - -### Type: [messages\_DhConfig](../types/messages_DhConfig.md) - - -### Example: - -```php -$messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -messages_dhConfigNotModified={_='messages.dhConfigNotModified', random='bytes'} - -``` - - diff --git a/old_docs/API_docs_v51/constructors/messages_dialogs.md b/old_docs/API_docs_v51/constructors/messages_dialogs.md deleted file mode 100644 index e6a431b4..00000000 --- a/old_docs/API_docs_v51/constructors/messages_dialogs.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: messages.dialogs -description: Full list of chats with messages and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dialogs -[Back to constructors index](index.md) - - - -Full list of chats with messages and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Dialogs](../types/messages_Dialogs.md) - - -### Example: - -```php -$messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_dialogs={_='messages.dialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v51/constructors/messages_dialogsSlice.md b/old_docs/API_docs_v51/constructors/messages_dialogsSlice.md deleted file mode 100644 index f183b9a8..00000000 --- a/old_docs/API_docs_v51/constructors/messages_dialogsSlice.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: messages.dialogsSlice -description: Incomplete list of dialogs with messages and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dialogsSlice -[Back to constructors index](index.md) - - - -Incomplete list of dialogs with messages and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of dialogs| -|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Dialogs](../types/messages_Dialogs.md) - - -### Example: - -```php -$messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_dialogsSlice={_='messages.dialogsSlice', count=int, dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v51/constructors/messages_foundGifs.md b/old_docs/API_docs_v51/constructors/messages_foundGifs.md deleted file mode 100644 index eb3603ca..00000000 --- a/old_docs/API_docs_v51/constructors/messages_foundGifs.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.foundGifs -description: Found GIFs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.foundGifs -[Back to constructors index](index.md) - - - -Found GIFs - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|next\_offset|[int](../types/int.md) | Yes|Next offset to use when trying to [load more results](../methods/messages.searchGifs.md)| -|results|Array of [FoundGif](../types/FoundGif.md) | Yes|Results| - - - -### Type: [messages\_FoundGifs](../types/messages_FoundGifs.md) - - -### Example: - -```php -$messages_foundGifs = ['_' => 'messages.foundGifs', 'next_offset' => int, 'results' => [FoundGif, FoundGif]]; -``` - - -Or, if you're into Lua: - -```lua -messages_foundGifs={_='messages.foundGifs', next_offset=int, results={FoundGif}} - -``` - - diff --git a/old_docs/API_docs_v51/constructors/messages_messageEditData.md b/old_docs/API_docs_v51/constructors/messages_messageEditData.md deleted file mode 100644 index 76aefca5..00000000 --- a/old_docs/API_docs_v51/constructors/messages_messageEditData.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.messageEditData -description: Message edit data for media -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.messageEditData -[Back to constructors index](index.md) - - - -Message edit data for media - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|caption|[Bool](../types/Bool.md) | Optional|Media caption, if the specified media's caption can be edited| - - - -### Type: [messages\_MessageEditData](../types/messages_MessageEditData.md) - - -### Example: - -```php -$messages_messageEditData = ['_' => 'messages.messageEditData', 'caption' => Bool]; -``` - - -Or, if you're into Lua: - -```lua -messages_messageEditData={_='messages.messageEditData', caption=Bool} - -``` - - diff --git a/old_docs/API_docs_v51/constructors/messages_messages.md b/old_docs/API_docs_v51/constructors/messages_messages.md deleted file mode 100644 index 3e369e1a..00000000 --- a/old_docs/API_docs_v51/constructors/messages_messages.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.messages -description: Full list of messages with auxilary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.messages -[Back to constructors index](index.md) - - - -Full list of messages with auxilary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Messages](../types/messages_Messages.md) - - -### Example: - -```php -$messages_messages = ['_' => 'messages.messages', 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_messages={_='messages.messages', messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v51/constructors/messages_messagesSlice.md b/old_docs/API_docs_v51/constructors/messages_messagesSlice.md deleted file mode 100644 index f9b8dc18..00000000 --- a/old_docs/API_docs_v51/constructors/messages_messagesSlice.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: messages.messagesSlice -description: Incomplete list of messages and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.messagesSlice -[Back to constructors index](index.md) - - - -Incomplete list of messages and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of messages in the list| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Messages](../types/messages_Messages.md) - - -### Example: - -```php -$messages_messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_messagesSlice={_='messages.messagesSlice', count=int, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v51/constructors/messages_savedGifs.md b/old_docs/API_docs_v51/constructors/messages_savedGifs.md deleted file mode 100644 index ed3e8ea3..00000000 --- a/old_docs/API_docs_v51/constructors/messages_savedGifs.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.savedGifs -description: Saved gifs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.savedGifs -[Back to constructors index](index.md) - - - -Saved gifs - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|gifs|Array of [Document](../types/Document.md) | Yes|Gifs| - - - -### Type: [messages\_SavedGifs](../types/messages_SavedGifs.md) - - -### Example: - -```php -$messages_savedGifs = ['_' => 'messages.savedGifs', 'hash' => int, 'gifs' => [Document, Document]]; -``` - - -Or, if you're into Lua: - -```lua -messages_savedGifs={_='messages.savedGifs', hash=int, gifs={Document}} - -``` - - diff --git a/old_docs/API_docs_v51/constructors/messages_savedGifsNotModified.md b/old_docs/API_docs_v51/constructors/messages_savedGifsNotModified.md deleted file mode 100644 index 0f843a0c..00000000 --- a/old_docs/API_docs_v51/constructors/messages_savedGifsNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.savedGifsNotModified -description: No new saved gifs were found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.savedGifsNotModified -[Back to constructors index](index.md) - - - -No new saved gifs were found - - - - -### Type: [messages\_SavedGifs](../types/messages_SavedGifs.md) - - -### Example: - -```php -$messages_savedGifsNotModified = ['_' => 'messages.savedGifsNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_savedGifsNotModified={_='messages.savedGifsNotModified'} - -``` - - diff --git a/old_docs/API_docs_v51/constructors/messages_sentEncryptedFile.md b/old_docs/API_docs_v51/constructors/messages_sentEncryptedFile.md deleted file mode 100644 index fdc2a11e..00000000 --- a/old_docs/API_docs_v51/constructors/messages_sentEncryptedFile.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.sentEncryptedFile -description: Message with a file enclosure sent to a protected chat -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.sentEncryptedFile -[Back to constructors index](index.md) - - - -Message with a file enclosure sent to a protected chat - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Sending date| -|file|[EncryptedFile](../types/EncryptedFile.md) | Optional|Attached file| - - - -### Type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) - - -### Example: - -```php -$messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile]; -``` - - -Or, if you're into Lua: - -```lua -messages_sentEncryptedFile={_='messages.sentEncryptedFile', date=int, file=EncryptedFile} - -``` - - diff --git a/old_docs/API_docs_v51/constructors/messages_sentEncryptedMessage.md b/old_docs/API_docs_v51/constructors/messages_sentEncryptedMessage.md deleted file mode 100644 index 36b2bbff..00000000 --- a/old_docs/API_docs_v51/constructors/messages_sentEncryptedMessage.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.sentEncryptedMessage -description: Message without file attachemts sent to an encrypted file. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.sentEncryptedMessage -[Back to constructors index](index.md) - - - -Message without file attachemts sent to an encrypted file. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Date of sending| - - - -### Type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) - - -### Example: - -```php -$messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_sentEncryptedMessage={_='messages.sentEncryptedMessage', date=int} - -``` - - diff --git a/old_docs/API_docs_v51/constructors/messages_stickerSet.md b/old_docs/API_docs_v51/constructors/messages_stickerSet.md deleted file mode 100644 index 127191de..00000000 --- a/old_docs/API_docs_v51/constructors/messages_stickerSet.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.stickerSet -description: Stickerset and stickers inside it -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickerSet -[Back to constructors index](index.md) - - - -Stickerset and stickers inside it - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|set|[StickerSet](../types/StickerSet.md) | Yes|The stickerset| -|packs|Array of [StickerPack](../types/StickerPack.md) | Yes|Packs| -|documents|Array of [Document](../types/Document.md) | Yes|Documents| - - - -### Type: [messages\_StickerSet](../types/messages_StickerSet.md) - - -### Example: - -```php -$messages_stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'packs' => [StickerPack, StickerPack], 'documents' => [Document, Document]]; -``` - - -Or, if you're into Lua: - -```lua -messages_stickerSet={_='messages.stickerSet', set=StickerSet, packs={StickerPack}, documents={Document}} - -``` - - diff --git a/old_docs/API_docs_v51/constructors/messages_stickers.md b/old_docs/API_docs_v51/constructors/messages_stickers.md deleted file mode 100644 index 1c007df2..00000000 --- a/old_docs/API_docs_v51/constructors/messages_stickers.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.stickers -description: Found stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickers -[Back to constructors index](index.md) - - - -Found stickers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[string](../types/string.md) | Yes|Hash| -|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| - - - -### Type: [messages\_Stickers](../types/messages_Stickers.md) - - -### Example: - -```php -$messages_stickers = ['_' => 'messages.stickers', 'hash' => 'string', 'stickers' => [Document, Document]]; -``` - - -Or, if you're into Lua: - -```lua -messages_stickers={_='messages.stickers', hash='string', stickers={Document}} - -``` - - diff --git a/old_docs/API_docs_v51/constructors/messages_stickersNotModified.md b/old_docs/API_docs_v51/constructors/messages_stickersNotModified.md deleted file mode 100644 index 3d434a79..00000000 --- a/old_docs/API_docs_v51/constructors/messages_stickersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.stickersNotModified -description: No new stickers were found for the given query -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickersNotModified -[Back to constructors index](index.md) - - - -No new stickers were found for the given query - - - - -### Type: [messages\_Stickers](../types/messages_Stickers.md) - - -### Example: - -```php -$messages_stickersNotModified = ['_' => 'messages.stickersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_stickersNotModified={_='messages.stickersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v51/constructors/photos.photo.md b/old_docs/API_docs_v51/constructors/photos.photo.md new file mode 100644 index 00000000..43d3efc7 --- /dev/null +++ b/old_docs/API_docs_v51/constructors/photos.photo.md @@ -0,0 +1,39 @@ +--- +title: photos.photo +description: Photo with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: photos.photo +[Back to constructors index](index.md) + + + +Photo with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|photo|[Photo](../types/Photo.md) | Optional|Photo| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [photos.Photo](../types/photos.Photo.md) + + +### Example: + +```php +$photos.photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +photos.photo={_='photos.photo', photo=Photo, users={User}} + +``` + + diff --git a/old_docs/API_docs_v51/constructors/photos.photos.md b/old_docs/API_docs_v51/constructors/photos.photos.md new file mode 100644 index 00000000..901a9693 --- /dev/null +++ b/old_docs/API_docs_v51/constructors/photos.photos.md @@ -0,0 +1,39 @@ +--- +title: photos.photos +description: Full list of photos with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: photos.photos +[Back to constructors index](index.md) + + + +Full list of photos with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [photos.Photos](../types/photos.Photos.md) + + +### Example: + +```php +$photos.photos = ['_' => 'photos.photos', 'photos' => [Photo, Photo], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +photos.photos={_='photos.photos', photos={Photo}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v51/constructors/photos.photosSlice.md b/old_docs/API_docs_v51/constructors/photos.photosSlice.md new file mode 100644 index 00000000..2cca3546 --- /dev/null +++ b/old_docs/API_docs_v51/constructors/photos.photosSlice.md @@ -0,0 +1,40 @@ +--- +title: photos.photosSlice +description: Incomplete list of photos with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: photos.photosSlice +[Back to constructors index](index.md) + + + +Incomplete list of photos with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of photos| +|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [photos.Photos](../types/photos.Photos.md) + + +### Example: + +```php +$photos.photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo, Photo], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +photos.photosSlice={_='photos.photosSlice', count=int, photos={Photo}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v51/constructors/photos_photo.md b/old_docs/API_docs_v51/constructors/photos_photo.md deleted file mode 100644 index d5ad61d9..00000000 --- a/old_docs/API_docs_v51/constructors/photos_photo.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: photos.photo -description: Photo with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: photos.photo -[Back to constructors index](index.md) - - - -Photo with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|photo|[Photo](../types/Photo.md) | Optional|Photo| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [photos\_Photo](../types/photos_Photo.md) - - -### Example: - -```php -$photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -photos_photo={_='photos.photo', photo=Photo, users={User}} - -``` - - diff --git a/old_docs/API_docs_v51/constructors/photos_photos.md b/old_docs/API_docs_v51/constructors/photos_photos.md deleted file mode 100644 index 6ae5d048..00000000 --- a/old_docs/API_docs_v51/constructors/photos_photos.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: photos.photos -description: Full list of photos with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: photos.photos -[Back to constructors index](index.md) - - - -Full list of photos with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [photos\_Photos](../types/photos_Photos.md) - - -### Example: - -```php -$photos_photos = ['_' => 'photos.photos', 'photos' => [Photo, Photo], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -photos_photos={_='photos.photos', photos={Photo}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v51/constructors/photos_photosSlice.md b/old_docs/API_docs_v51/constructors/photos_photosSlice.md deleted file mode 100644 index 5c465c21..00000000 --- a/old_docs/API_docs_v51/constructors/photos_photosSlice.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: photos.photosSlice -description: Incomplete list of photos with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: photos.photosSlice -[Back to constructors index](index.md) - - - -Incomplete list of photos with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of photos| -|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [photos\_Photos](../types/photos_Photos.md) - - -### Example: - -```php -$photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo, Photo], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -photos_photosSlice={_='photos.photosSlice', count=int, photos={Photo}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v51/constructors/storage.fileGif.md b/old_docs/API_docs_v51/constructors/storage.fileGif.md new file mode 100644 index 00000000..8193bd25 --- /dev/null +++ b/old_docs/API_docs_v51/constructors/storage.fileGif.md @@ -0,0 +1,33 @@ +--- +title: storage.fileGif +description: GIF image. MIME type: `image/gif`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileGif +[Back to constructors index](index.md) + + + +GIF image. MIME type: `image/gif`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileGif = ['_' => 'storage.fileGif']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileGif={_='storage.fileGif'} + +``` + + diff --git a/old_docs/API_docs_v51/constructors/storage.fileJpeg.md b/old_docs/API_docs_v51/constructors/storage.fileJpeg.md new file mode 100644 index 00000000..7f125963 --- /dev/null +++ b/old_docs/API_docs_v51/constructors/storage.fileJpeg.md @@ -0,0 +1,33 @@ +--- +title: storage.fileJpeg +description: JPEG image. MIME type: `image/jpeg`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileJpeg +[Back to constructors index](index.md) + + + +JPEG image. MIME type: `image/jpeg`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileJpeg = ['_' => 'storage.fileJpeg']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileJpeg={_='storage.fileJpeg'} + +``` + + diff --git a/old_docs/API_docs_v51/constructors/storage.fileMov.md b/old_docs/API_docs_v51/constructors/storage.fileMov.md new file mode 100644 index 00000000..cb3742e0 --- /dev/null +++ b/old_docs/API_docs_v51/constructors/storage.fileMov.md @@ -0,0 +1,33 @@ +--- +title: storage.fileMov +description: Quicktime video. MIME type: `video/quicktime`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileMov +[Back to constructors index](index.md) + + + +Quicktime video. MIME type: `video/quicktime`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileMov = ['_' => 'storage.fileMov']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileMov={_='storage.fileMov'} + +``` + + diff --git a/old_docs/API_docs_v51/constructors/storage.fileMp3.md b/old_docs/API_docs_v51/constructors/storage.fileMp3.md new file mode 100644 index 00000000..617f2d39 --- /dev/null +++ b/old_docs/API_docs_v51/constructors/storage.fileMp3.md @@ -0,0 +1,33 @@ +--- +title: storage.fileMp3 +description: Mp3 audio. MIME type: `audio/mpeg`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileMp3 +[Back to constructors index](index.md) + + + +Mp3 audio. MIME type: `audio/mpeg`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileMp3 = ['_' => 'storage.fileMp3']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileMp3={_='storage.fileMp3'} + +``` + + diff --git a/old_docs/API_docs_v51/constructors/storage.fileMp4.md b/old_docs/API_docs_v51/constructors/storage.fileMp4.md new file mode 100644 index 00000000..37038176 --- /dev/null +++ b/old_docs/API_docs_v51/constructors/storage.fileMp4.md @@ -0,0 +1,33 @@ +--- +title: storage.fileMp4 +description: MPEG-4 video. MIME type: `video/mp4`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileMp4 +[Back to constructors index](index.md) + + + +MPEG-4 video. MIME type: `video/mp4`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileMp4 = ['_' => 'storage.fileMp4']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileMp4={_='storage.fileMp4'} + +``` + + diff --git a/old_docs/API_docs_v51/constructors/storage.filePartial.md b/old_docs/API_docs_v51/constructors/storage.filePartial.md new file mode 100644 index 00000000..98779e71 --- /dev/null +++ b/old_docs/API_docs_v51/constructors/storage.filePartial.md @@ -0,0 +1,33 @@ +--- +title: storage.filePartial +description: Part of a bigger file. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.filePartial +[Back to constructors index](index.md) + + + +Part of a bigger file. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.filePartial = ['_' => 'storage.filePartial']; +``` + + +Or, if you're into Lua: + +```lua +storage.filePartial={_='storage.filePartial'} + +``` + + diff --git a/old_docs/API_docs_v51/constructors/storage.filePdf.md b/old_docs/API_docs_v51/constructors/storage.filePdf.md new file mode 100644 index 00000000..136c0614 --- /dev/null +++ b/old_docs/API_docs_v51/constructors/storage.filePdf.md @@ -0,0 +1,33 @@ +--- +title: storage.filePdf +description: PDF document image. MIME type: `application/pdf`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.filePdf +[Back to constructors index](index.md) + + + +PDF document image. MIME type: `application/pdf`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.filePdf = ['_' => 'storage.filePdf']; +``` + + +Or, if you're into Lua: + +```lua +storage.filePdf={_='storage.filePdf'} + +``` + + diff --git a/old_docs/API_docs_v51/constructors/storage.filePng.md b/old_docs/API_docs_v51/constructors/storage.filePng.md new file mode 100644 index 00000000..db01ce0e --- /dev/null +++ b/old_docs/API_docs_v51/constructors/storage.filePng.md @@ -0,0 +1,33 @@ +--- +title: storage.filePng +description: PNG image. MIME type: `image/png`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.filePng +[Back to constructors index](index.md) + + + +PNG image. MIME type: `image/png`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.filePng = ['_' => 'storage.filePng']; +``` + + +Or, if you're into Lua: + +```lua +storage.filePng={_='storage.filePng'} + +``` + + diff --git a/old_docs/API_docs_v51/constructors/storage.fileUnknown.md b/old_docs/API_docs_v51/constructors/storage.fileUnknown.md new file mode 100644 index 00000000..26f0a5ae --- /dev/null +++ b/old_docs/API_docs_v51/constructors/storage.fileUnknown.md @@ -0,0 +1,33 @@ +--- +title: storage.fileUnknown +description: Unknown type. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileUnknown +[Back to constructors index](index.md) + + + +Unknown type. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileUnknown = ['_' => 'storage.fileUnknown']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileUnknown={_='storage.fileUnknown'} + +``` + + diff --git a/old_docs/API_docs_v51/constructors/storage.fileWebp.md b/old_docs/API_docs_v51/constructors/storage.fileWebp.md new file mode 100644 index 00000000..63c9ded1 --- /dev/null +++ b/old_docs/API_docs_v51/constructors/storage.fileWebp.md @@ -0,0 +1,33 @@ +--- +title: storage.fileWebp +description: WEBP image. MIME type: `image/webp`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileWebp +[Back to constructors index](index.md) + + + +WEBP image. MIME type: `image/webp`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileWebp = ['_' => 'storage.fileWebp']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileWebp={_='storage.fileWebp'} + +``` + + diff --git a/old_docs/API_docs_v51/constructors/storage_fileGif.md b/old_docs/API_docs_v51/constructors/storage_fileGif.md deleted file mode 100644 index 218c7491..00000000 --- a/old_docs/API_docs_v51/constructors/storage_fileGif.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileGif -description: GIF image. MIME type: `image/gif`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileGif -[Back to constructors index](index.md) - - - -GIF image. MIME type: `image/gif`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileGif = ['_' => 'storage.fileGif']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileGif={_='storage.fileGif'} - -``` - - diff --git a/old_docs/API_docs_v51/constructors/storage_fileJpeg.md b/old_docs/API_docs_v51/constructors/storage_fileJpeg.md deleted file mode 100644 index 925531cd..00000000 --- a/old_docs/API_docs_v51/constructors/storage_fileJpeg.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileJpeg -description: JPEG image. MIME type: `image/jpeg`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileJpeg -[Back to constructors index](index.md) - - - -JPEG image. MIME type: `image/jpeg`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileJpeg = ['_' => 'storage.fileJpeg']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileJpeg={_='storage.fileJpeg'} - -``` - - diff --git a/old_docs/API_docs_v51/constructors/storage_fileMov.md b/old_docs/API_docs_v51/constructors/storage_fileMov.md deleted file mode 100644 index eaf2a6ff..00000000 --- a/old_docs/API_docs_v51/constructors/storage_fileMov.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileMov -description: Quicktime video. MIME type: `video/quicktime`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileMov -[Back to constructors index](index.md) - - - -Quicktime video. MIME type: `video/quicktime`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileMov = ['_' => 'storage.fileMov']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileMov={_='storage.fileMov'} - -``` - - diff --git a/old_docs/API_docs_v51/constructors/storage_fileMp3.md b/old_docs/API_docs_v51/constructors/storage_fileMp3.md deleted file mode 100644 index 9afcefbb..00000000 --- a/old_docs/API_docs_v51/constructors/storage_fileMp3.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileMp3 -description: Mp3 audio. MIME type: `audio/mpeg`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileMp3 -[Back to constructors index](index.md) - - - -Mp3 audio. MIME type: `audio/mpeg`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileMp3 = ['_' => 'storage.fileMp3']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileMp3={_='storage.fileMp3'} - -``` - - diff --git a/old_docs/API_docs_v51/constructors/storage_fileMp4.md b/old_docs/API_docs_v51/constructors/storage_fileMp4.md deleted file mode 100644 index cdc0e783..00000000 --- a/old_docs/API_docs_v51/constructors/storage_fileMp4.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileMp4 -description: MPEG-4 video. MIME type: `video/mp4`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileMp4 -[Back to constructors index](index.md) - - - -MPEG-4 video. MIME type: `video/mp4`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileMp4 = ['_' => 'storage.fileMp4']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileMp4={_='storage.fileMp4'} - -``` - - diff --git a/old_docs/API_docs_v51/constructors/storage_filePartial.md b/old_docs/API_docs_v51/constructors/storage_filePartial.md deleted file mode 100644 index 9bfadf63..00000000 --- a/old_docs/API_docs_v51/constructors/storage_filePartial.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.filePartial -description: Part of a bigger file. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.filePartial -[Back to constructors index](index.md) - - - -Part of a bigger file. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_filePartial = ['_' => 'storage.filePartial']; -``` - - -Or, if you're into Lua: - -```lua -storage_filePartial={_='storage.filePartial'} - -``` - - diff --git a/old_docs/API_docs_v51/constructors/storage_filePdf.md b/old_docs/API_docs_v51/constructors/storage_filePdf.md deleted file mode 100644 index efb022cc..00000000 --- a/old_docs/API_docs_v51/constructors/storage_filePdf.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.filePdf -description: PDF document image. MIME type: `application/pdf`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.filePdf -[Back to constructors index](index.md) - - - -PDF document image. MIME type: `application/pdf`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_filePdf = ['_' => 'storage.filePdf']; -``` - - -Or, if you're into Lua: - -```lua -storage_filePdf={_='storage.filePdf'} - -``` - - diff --git a/old_docs/API_docs_v51/constructors/storage_filePng.md b/old_docs/API_docs_v51/constructors/storage_filePng.md deleted file mode 100644 index 412759e4..00000000 --- a/old_docs/API_docs_v51/constructors/storage_filePng.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.filePng -description: PNG image. MIME type: `image/png`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.filePng -[Back to constructors index](index.md) - - - -PNG image. MIME type: `image/png`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_filePng = ['_' => 'storage.filePng']; -``` - - -Or, if you're into Lua: - -```lua -storage_filePng={_='storage.filePng'} - -``` - - diff --git a/old_docs/API_docs_v51/constructors/storage_fileUnknown.md b/old_docs/API_docs_v51/constructors/storage_fileUnknown.md deleted file mode 100644 index ed33dd5e..00000000 --- a/old_docs/API_docs_v51/constructors/storage_fileUnknown.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileUnknown -description: Unknown type. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileUnknown -[Back to constructors index](index.md) - - - -Unknown type. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileUnknown = ['_' => 'storage.fileUnknown']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileUnknown={_='storage.fileUnknown'} - -``` - - diff --git a/old_docs/API_docs_v51/constructors/storage_fileWebp.md b/old_docs/API_docs_v51/constructors/storage_fileWebp.md deleted file mode 100644 index 04dcad74..00000000 --- a/old_docs/API_docs_v51/constructors/storage_fileWebp.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileWebp -description: WEBP image. MIME type: `image/webp`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileWebp -[Back to constructors index](index.md) - - - -WEBP image. MIME type: `image/webp`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileWebp = ['_' => 'storage.fileWebp']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileWebp={_='storage.fileWebp'} - -``` - - diff --git a/old_docs/API_docs_v51/constructors/updateNewStickerSet.md b/old_docs/API_docs_v51/constructors/updateNewStickerSet.md index 8a99a363..c32c41ff 100644 --- a/old_docs/API_docs_v51/constructors/updateNewStickerSet.md +++ b/old_docs/API_docs_v51/constructors/updateNewStickerSet.md @@ -14,7 +14,7 @@ A new stickerset was installed | Name | Type | Required | Description | |----------|---------------|----------|-------------| -|stickerset|[messages\_StickerSet](../types/messages_StickerSet.md) | Yes|The installed stickerset| +|stickerset|[messages.StickerSet](../constructors/messages.StickerSet.md) | Yes|The installed stickerset| @@ -24,14 +24,14 @@ A new stickerset was installed ### Example: ```php -$updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages_StickerSet]; +$updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages.StickerSet]; ``` Or, if you're into Lua: ```lua -updateNewStickerSet={_='updateNewStickerSet', stickerset=messages_StickerSet} +updateNewStickerSet={_='updateNewStickerSet', stickerset=messages.StickerSet} ``` diff --git a/old_docs/API_docs_v51/constructors/updates.channelDifference.md b/old_docs/API_docs_v51/constructors/updates.channelDifference.md new file mode 100644 index 00000000..5a13791c --- /dev/null +++ b/old_docs/API_docs_v51/constructors/updates.channelDifference.md @@ -0,0 +1,44 @@ +--- +title: updates.channelDifference +description: The new updates +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.channelDifference +[Back to constructors index](index.md) + + + +The new updates + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates to be fetched using getDifference, starting from the provided `pts`| +|pts|[int](../types/int.md) | Yes|The [PTS](https://core.telegram.org/api/updates) from which to start getting updates the next time| +|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| +|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| +|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [updates.ChannelDifference](../types/updates.ChannelDifference.md) + + +### Example: + +```php +$updates.channelDifference = ['_' => 'updates.channelDifference', 'final' => Bool, 'pts' => int, 'timeout' => int, 'new_messages' => [Message, Message], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +updates.channelDifference={_='updates.channelDifference', final=Bool, pts=int, timeout=int, new_messages={Message}, other_updates={Update}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v51/constructors/updates.channelDifferenceEmpty.md b/old_docs/API_docs_v51/constructors/updates.channelDifferenceEmpty.md new file mode 100644 index 00000000..8ce43da4 --- /dev/null +++ b/old_docs/API_docs_v51/constructors/updates.channelDifferenceEmpty.md @@ -0,0 +1,40 @@ +--- +title: updates.channelDifferenceEmpty +description: There are no new updates +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.channelDifferenceEmpty +[Back to constructors index](index.md) + + + +There are no new updates + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates that must be fetched (always false)| +|pts|[int](../types/int.md) | Yes|The latest [PTS](https://core.telegram.org/api/updates)| +|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| + + + +### Type: [updates.ChannelDifference](../types/updates.ChannelDifference.md) + + +### Example: + +```php +$updates.channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'final' => Bool, 'pts' => int, 'timeout' => int]; +``` + + +Or, if you're into Lua: + +```lua +updates.channelDifferenceEmpty={_='updates.channelDifferenceEmpty', final=Bool, pts=int, timeout=int} + +``` + + diff --git a/old_docs/API_docs_v51/constructors/updates.channelDifferenceTooLong.md b/old_docs/API_docs_v51/constructors/updates.channelDifferenceTooLong.md new file mode 100644 index 00000000..eecd8aba --- /dev/null +++ b/old_docs/API_docs_v51/constructors/updates.channelDifferenceTooLong.md @@ -0,0 +1,58 @@ +--- +title: updates.channelDifferenceTooLong +description: The provided `pts + limit < remote pts`. Simply, there are too many updates to be fetched (more than `limit`), the client has to resolve the update gap in one of the following ways: + +1. Delete all known messages in the chat, begin from scratch by refetching all messages manually with [getHistory](../methods/messages.getHistory.md). It is easy to implement, but suddenly disappearing messages looks awful for the user. +2. Save all messages loaded in the memory until application restart, but delete all messages from database. Messages left in the memory must be lazily updated using calls to [getHistory](../methods/messages.getHistory.md). It looks much smoothly for the user, he will need to redownload messages only after client restart. Unsynchronized messages left in the memory shouldn't be saved to database, results of [getHistory](../methods/messages.getHistory.md) and [getMessages](../methods/messages.getMessages.md) must be used to update state of deleted and edited messages left in the memory. +3. Save all messages loaded in the memory and stored in the database without saving that some messages form continuous ranges. Messages in the database will be excluded from results of getChatHistory and searchChatMessages after application restart and will be available only through getMessage. Every message should still be checked using getHistory. It has more disadvantages over 2) than advantages. +4. Save all messages with saving all data about continuous message ranges. Messages from the database may be used as results of getChatHistory and (if implemented continuous ranges support for searching shared media) searchChatMessages. The messages should still be lazily checked using getHistory, but they are still available offline. It is the best way for gaps support, but it is pretty hard to implement correctly. It should be also noted that some messages like live location messages shouldn't be deleted. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.channelDifferenceTooLong +[Back to constructors index](index.md) + + + +The provided `pts + limit < remote pts`. Simply, there are too many updates to be fetched (more than `limit`), the client has to resolve the update gap in one of the following ways: + +1. Delete all known messages in the chat, begin from scratch by refetching all messages manually with [getHistory](../methods/messages.getHistory.md). It is easy to implement, but suddenly disappearing messages looks awful for the user. +2. Save all messages loaded in the memory until application restart, but delete all messages from database. Messages left in the memory must be lazily updated using calls to [getHistory](../methods/messages.getHistory.md). It looks much smoothly for the user, he will need to redownload messages only after client restart. Unsynchronized messages left in the memory shouldn't be saved to database, results of [getHistory](../methods/messages.getHistory.md) and [getMessages](../methods/messages.getMessages.md) must be used to update state of deleted and edited messages left in the memory. +3. Save all messages loaded in the memory and stored in the database without saving that some messages form continuous ranges. Messages in the database will be excluded from results of getChatHistory and searchChatMessages after application restart and will be available only through getMessage. Every message should still be checked using getHistory. It has more disadvantages over 2) than advantages. +4. Save all messages with saving all data about continuous message ranges. Messages from the database may be used as results of getChatHistory and (if implemented continuous ranges support for searching shared media) searchChatMessages. The messages should still be lazily checked using getHistory, but they are still available offline. It is the best way for gaps support, but it is pretty hard to implement correctly. It should be also noted that some messages like live location messages shouldn't be deleted. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates that must be fetched (always false)| +|pts|[int](../types/int.md) | Yes|Pts| +|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| +|top\_message|[int](../types/int.md) | Yes|Top message| +|top\_important\_message|[int](../types/int.md) | Yes|Top important message| +|read\_inbox\_max\_id|[int](../types/int.md) | Yes|Read inbox max ID| +|unread\_count|[int](../types/int.md) | Yes|Unread count| +|unread\_important\_count|[int](../types/int.md) | Yes|Unread important count| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [updates.ChannelDifference](../types/updates.ChannelDifference.md) + + +### Example: + +```php +$updates.channelDifferenceTooLong = ['_' => 'updates.channelDifferenceTooLong', 'final' => Bool, 'pts' => int, 'timeout' => int, 'top_message' => int, 'top_important_message' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'unread_important_count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +updates.channelDifferenceTooLong={_='updates.channelDifferenceTooLong', final=Bool, pts=int, timeout=int, top_message=int, top_important_message=int, read_inbox_max_id=int, unread_count=int, unread_important_count=int, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v51/constructors/updates.difference.md b/old_docs/API_docs_v51/constructors/updates.difference.md new file mode 100644 index 00000000..82541b51 --- /dev/null +++ b/old_docs/API_docs_v51/constructors/updates.difference.md @@ -0,0 +1,43 @@ +--- +title: updates.difference +description: Full list of occurred events. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.difference +[Back to constructors index](index.md) + + + +Full list of occurred events. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| +|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| +|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| +|state|[updates.State](../constructors/updates.State.md) | Yes|Current state| + + + +### Type: [updates.Difference](../types/updates.Difference.md) + + +### Example: + +```php +$updates.difference = ['_' => 'updates.difference', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates.State]; +``` + + +Or, if you're into Lua: + +```lua +updates.difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates.State} + +``` + + diff --git a/old_docs/API_docs_v51/constructors/updates.differenceEmpty.md b/old_docs/API_docs_v51/constructors/updates.differenceEmpty.md new file mode 100644 index 00000000..a9dc3bd0 --- /dev/null +++ b/old_docs/API_docs_v51/constructors/updates.differenceEmpty.md @@ -0,0 +1,39 @@ +--- +title: updates.differenceEmpty +description: No events. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.differenceEmpty +[Back to constructors index](index.md) + + + +No events. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Current date| +|seq|[int](../types/int.md) | Yes|Number of sent updates| + + + +### Type: [updates.Difference](../types/updates.Difference.md) + + +### Example: + +```php +$updates.differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int]; +``` + + +Or, if you're into Lua: + +```lua +updates.differenceEmpty={_='updates.differenceEmpty', date=int, seq=int} + +``` + + diff --git a/old_docs/API_docs_v51/constructors/updates.differenceSlice.md b/old_docs/API_docs_v51/constructors/updates.differenceSlice.md new file mode 100644 index 00000000..9daf7a75 --- /dev/null +++ b/old_docs/API_docs_v51/constructors/updates.differenceSlice.md @@ -0,0 +1,43 @@ +--- +title: updates.differenceSlice +description: Incomplete list of occurred events. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.differenceSlice +[Back to constructors index](index.md) + + + +Incomplete list of occurred events. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| +|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| +|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| +|intermediate\_state|[updates.State](../constructors/updates.State.md) | Yes|Intermediary state| + + + +### Type: [updates.Difference](../types/updates.Difference.md) + + +### Example: + +```php +$updates.differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'intermediate_state' => updates.State]; +``` + + +Or, if you're into Lua: + +```lua +updates.differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates.State} + +``` + + diff --git a/old_docs/API_docs_v51/constructors/updates.state.md b/old_docs/API_docs_v51/constructors/updates.state.md new file mode 100644 index 00000000..abe9ddbb --- /dev/null +++ b/old_docs/API_docs_v51/constructors/updates.state.md @@ -0,0 +1,42 @@ +--- +title: updates.state +description: Updates state. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.state +[Back to constructors index](index.md) + + + +Updates state. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| +|qts|[int](../types/int.md) | Yes|Position in a sequence of updates in secret chats. For further detailes refer to article [secret chats](https://core.telegram.org/api/end-to-end)
Parameter was added in [eigth layer](https://core.telegram.org/api/layers#layer-8).| +|date|[int](../types/int.md) | Yes|Date of condition| +|seq|[int](../types/int.md) | Yes|Number of sent updates| +|unread\_count|[int](../types/int.md) | Yes|Number of unread messages| + + + +### Type: [updates.State](../types/updates.State.md) + + +### Example: + +```php +$updates.state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int]; +``` + + +Or, if you're into Lua: + +```lua +updates.state={_='updates.state', pts=int, qts=int, date=int, seq=int, unread_count=int} + +``` + + diff --git a/old_docs/API_docs_v51/constructors/updates_channelDifference.md b/old_docs/API_docs_v51/constructors/updates_channelDifference.md deleted file mode 100644 index 1b50fbf3..00000000 --- a/old_docs/API_docs_v51/constructors/updates_channelDifference.md +++ /dev/null @@ -1,44 +0,0 @@ ---- -title: updates.channelDifference -description: The new updates -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.channelDifference -[Back to constructors index](index.md) - - - -The new updates - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates to be fetched using getDifference, starting from the provided `pts`| -|pts|[int](../types/int.md) | Yes|The [PTS](https://core.telegram.org/api/updates) from which to start getting updates the next time| -|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| -|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| -|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) - - -### Example: - -```php -$updates_channelDifference = ['_' => 'updates.channelDifference', 'final' => Bool, 'pts' => int, 'timeout' => int, 'new_messages' => [Message, Message], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -updates_channelDifference={_='updates.channelDifference', final=Bool, pts=int, timeout=int, new_messages={Message}, other_updates={Update}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v51/constructors/updates_channelDifferenceEmpty.md b/old_docs/API_docs_v51/constructors/updates_channelDifferenceEmpty.md deleted file mode 100644 index 713137aa..00000000 --- a/old_docs/API_docs_v51/constructors/updates_channelDifferenceEmpty.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: updates.channelDifferenceEmpty -description: There are no new updates -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.channelDifferenceEmpty -[Back to constructors index](index.md) - - - -There are no new updates - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates that must be fetched (always false)| -|pts|[int](../types/int.md) | Yes|The latest [PTS](https://core.telegram.org/api/updates)| -|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| - - - -### Type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) - - -### Example: - -```php -$updates_channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'final' => Bool, 'pts' => int, 'timeout' => int]; -``` - - -Or, if you're into Lua: - -```lua -updates_channelDifferenceEmpty={_='updates.channelDifferenceEmpty', final=Bool, pts=int, timeout=int} - -``` - - diff --git a/old_docs/API_docs_v51/constructors/updates_channelDifferenceTooLong.md b/old_docs/API_docs_v51/constructors/updates_channelDifferenceTooLong.md deleted file mode 100644 index 08ddaa5b..00000000 --- a/old_docs/API_docs_v51/constructors/updates_channelDifferenceTooLong.md +++ /dev/null @@ -1,58 +0,0 @@ ---- -title: updates.channelDifferenceTooLong -description: The provided `pts + limit < remote pts`. Simply, there are too many updates to be fetched (more than `limit`), the client has to resolve the update gap in one of the following ways: - -1. Delete all known messages in the chat, begin from scratch by refetching all messages manually with [getHistory](../methods/messages.getHistory.md). It is easy to implement, but suddenly disappearing messages looks awful for the user. -2. Save all messages loaded in the memory until application restart, but delete all messages from database. Messages left in the memory must be lazily updated using calls to [getHistory](../methods/messages.getHistory.md). It looks much smoothly for the user, he will need to redownload messages only after client restart. Unsynchronized messages left in the memory shouldn't be saved to database, results of [getHistory](../methods/messages.getHistory.md) and [getMessages](../methods/messages.getMessages.md) must be used to update state of deleted and edited messages left in the memory. -3. Save all messages loaded in the memory and stored in the database without saving that some messages form continuous ranges. Messages in the database will be excluded from results of getChatHistory and searchChatMessages after application restart and will be available only through getMessage. Every message should still be checked using getHistory. It has more disadvantages over 2) than advantages. -4. Save all messages with saving all data about continuous message ranges. Messages from the database may be used as results of getChatHistory and (if implemented continuous ranges support for searching shared media) searchChatMessages. The messages should still be lazily checked using getHistory, but they are still available offline. It is the best way for gaps support, but it is pretty hard to implement correctly. It should be also noted that some messages like live location messages shouldn't be deleted. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.channelDifferenceTooLong -[Back to constructors index](index.md) - - - -The provided `pts + limit < remote pts`. Simply, there are too many updates to be fetched (more than `limit`), the client has to resolve the update gap in one of the following ways: - -1. Delete all known messages in the chat, begin from scratch by refetching all messages manually with [getHistory](../methods/messages.getHistory.md). It is easy to implement, but suddenly disappearing messages looks awful for the user. -2. Save all messages loaded in the memory until application restart, but delete all messages from database. Messages left in the memory must be lazily updated using calls to [getHistory](../methods/messages.getHistory.md). It looks much smoothly for the user, he will need to redownload messages only after client restart. Unsynchronized messages left in the memory shouldn't be saved to database, results of [getHistory](../methods/messages.getHistory.md) and [getMessages](../methods/messages.getMessages.md) must be used to update state of deleted and edited messages left in the memory. -3. Save all messages loaded in the memory and stored in the database without saving that some messages form continuous ranges. Messages in the database will be excluded from results of getChatHistory and searchChatMessages after application restart and will be available only through getMessage. Every message should still be checked using getHistory. It has more disadvantages over 2) than advantages. -4. Save all messages with saving all data about continuous message ranges. Messages from the database may be used as results of getChatHistory and (if implemented continuous ranges support for searching shared media) searchChatMessages. The messages should still be lazily checked using getHistory, but they are still available offline. It is the best way for gaps support, but it is pretty hard to implement correctly. It should be also noted that some messages like live location messages shouldn't be deleted. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates that must be fetched (always false)| -|pts|[int](../types/int.md) | Yes|Pts| -|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| -|top\_message|[int](../types/int.md) | Yes|Top message| -|top\_important\_message|[int](../types/int.md) | Yes|Top important message| -|read\_inbox\_max\_id|[int](../types/int.md) | Yes|Read inbox max ID| -|unread\_count|[int](../types/int.md) | Yes|Unread count| -|unread\_important\_count|[int](../types/int.md) | Yes|Unread important count| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) - - -### Example: - -```php -$updates_channelDifferenceTooLong = ['_' => 'updates.channelDifferenceTooLong', 'final' => Bool, 'pts' => int, 'timeout' => int, 'top_message' => int, 'top_important_message' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'unread_important_count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -updates_channelDifferenceTooLong={_='updates.channelDifferenceTooLong', final=Bool, pts=int, timeout=int, top_message=int, top_important_message=int, read_inbox_max_id=int, unread_count=int, unread_important_count=int, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v51/constructors/updates_difference.md b/old_docs/API_docs_v51/constructors/updates_difference.md deleted file mode 100644 index 71ac7d4c..00000000 --- a/old_docs/API_docs_v51/constructors/updates_difference.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: updates.difference -description: Full list of occurred events. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.difference -[Back to constructors index](index.md) - - - -Full list of occurred events. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| -|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| -|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| -|state|[updates\_State](../types/updates_State.md) | Yes|Current state| - - - -### Type: [updates\_Difference](../types/updates_Difference.md) - - -### Example: - -```php -$updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates_State]; -``` - - -Or, if you're into Lua: - -```lua -updates_difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates_State} - -``` - - diff --git a/old_docs/API_docs_v51/constructors/updates_differenceEmpty.md b/old_docs/API_docs_v51/constructors/updates_differenceEmpty.md deleted file mode 100644 index c3c95c5a..00000000 --- a/old_docs/API_docs_v51/constructors/updates_differenceEmpty.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: updates.differenceEmpty -description: No events. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.differenceEmpty -[Back to constructors index](index.md) - - - -No events. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Current date| -|seq|[int](../types/int.md) | Yes|Number of sent updates| - - - -### Type: [updates\_Difference](../types/updates_Difference.md) - - -### Example: - -```php -$updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int]; -``` - - -Or, if you're into Lua: - -```lua -updates_differenceEmpty={_='updates.differenceEmpty', date=int, seq=int} - -``` - - diff --git a/old_docs/API_docs_v51/constructors/updates_differenceSlice.md b/old_docs/API_docs_v51/constructors/updates_differenceSlice.md deleted file mode 100644 index 8b12a369..00000000 --- a/old_docs/API_docs_v51/constructors/updates_differenceSlice.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: updates.differenceSlice -description: Incomplete list of occurred events. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.differenceSlice -[Back to constructors index](index.md) - - - -Incomplete list of occurred events. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| -|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| -|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| -|intermediate\_state|[updates\_State](../types/updates_State.md) | Yes|Intermediary state| - - - -### Type: [updates\_Difference](../types/updates_Difference.md) - - -### Example: - -```php -$updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'intermediate_state' => updates_State]; -``` - - -Or, if you're into Lua: - -```lua -updates_differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates_State} - -``` - - diff --git a/old_docs/API_docs_v51/constructors/updates_state.md b/old_docs/API_docs_v51/constructors/updates_state.md deleted file mode 100644 index ef3698e2..00000000 --- a/old_docs/API_docs_v51/constructors/updates_state.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: updates.state -description: Updates state. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.state -[Back to constructors index](index.md) - - - -Updates state. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| -|qts|[int](../types/int.md) | Yes|Position in a sequence of updates in secret chats. For further detailes refer to article [secret chats](https://core.telegram.org/api/end-to-end)
Parameter was added in [eigth layer](https://core.telegram.org/api/layers#layer-8).| -|date|[int](../types/int.md) | Yes|Date of condition| -|seq|[int](../types/int.md) | Yes|Number of sent updates| -|unread\_count|[int](../types/int.md) | Yes|Number of unread messages| - - - -### Type: [updates\_State](../types/updates_State.md) - - -### Example: - -```php -$updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int]; -``` - - -Or, if you're into Lua: - -```lua -updates_state={_='updates.state', pts=int, qts=int, date=int, seq=int, unread_count=int} - -``` - - diff --git a/old_docs/API_docs_v51/constructors/upload.file.md b/old_docs/API_docs_v51/constructors/upload.file.md new file mode 100644 index 00000000..145a4c24 --- /dev/null +++ b/old_docs/API_docs_v51/constructors/upload.file.md @@ -0,0 +1,40 @@ +--- +title: upload.file +description: File content. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: upload.file +[Back to constructors index](index.md) + + + +File content. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|type|[storage.FileType](../constructors/storage.FileType.md) | Yes|File type| +|mtime|[int](../types/int.md) | Yes|Modification type| +|bytes|[bytes](../types/bytes.md) | Yes|Binary data, file content| + + + +### Type: [upload.File](../types/upload.File.md) + + +### Example: + +```php +$upload.file = ['_' => 'upload.file', 'type' => storage.FileType, 'mtime' => int, 'bytes' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +upload.file={_='upload.file', type=storage.FileType, mtime=int, bytes='bytes'} + +``` + + diff --git a/old_docs/API_docs_v51/constructors/upload_file.md b/old_docs/API_docs_v51/constructors/upload_file.md deleted file mode 100644 index 1e07d9fb..00000000 --- a/old_docs/API_docs_v51/constructors/upload_file.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: upload.file -description: File content. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: upload.file -[Back to constructors index](index.md) - - - -File content. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|type|[storage\_FileType](../types/storage_FileType.md) | Yes|File type| -|mtime|[int](../types/int.md) | Yes|Modification type| -|bytes|[bytes](../types/bytes.md) | Yes|Binary data, file content| - - - -### Type: [upload\_File](../types/upload_File.md) - - -### Example: - -```php -$upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int, 'bytes' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -upload_file={_='upload.file', type=storage_FileType, mtime=int, bytes='bytes'} - -``` - - diff --git a/old_docs/API_docs_v51/constructors/userFull.md b/old_docs/API_docs_v51/constructors/userFull.md index eb9e7aa9..76e9e929 100644 --- a/old_docs/API_docs_v51/constructors/userFull.md +++ b/old_docs/API_docs_v51/constructors/userFull.md @@ -17,7 +17,7 @@ Extended user info |blocked|[Bool](../types/Bool.md) | Optional|Whether you have blocked this user| |user|[User](../types/User.md) | Optional|Remaining user info| |about|[string](../types/string.md) | Optional|Bio of the user| -|link|[contacts\_Link](../types/contacts_Link.md) | Yes|Link| +|link|[contacts.Link](../constructors/contacts.Link.md) | Yes|Link| |profile\_photo|[Photo](../types/Photo.md) | Optional|Profile photo| |notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Optional|Notification settings| |bot\_info|[BotInfo](../types/BotInfo.md) | Optional|For bots, info about the bot (bot commands, etc)| @@ -30,14 +30,14 @@ Extended user info ### Example: ```php -$userFull = ['_' => 'userFull', 'blocked' => Bool, 'user' => User, 'about' => 'string', 'link' => contacts_Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'bot_info' => BotInfo]; +$userFull = ['_' => 'userFull', 'blocked' => Bool, 'user' => User, 'about' => 'string', 'link' => contacts.Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'bot_info' => BotInfo]; ``` Or, if you're into Lua: ```lua -userFull={_='userFull', blocked=Bool, user=User, about='string', link=contacts_Link, profile_photo=Photo, notify_settings=PeerNotifySettings, bot_info=BotInfo} +userFull={_='userFull', blocked=Bool, user=User, about='string', link=contacts.Link, profile_photo=Photo, notify_settings=PeerNotifySettings, bot_info=BotInfo} ``` diff --git a/old_docs/API_docs_v51/methods/account.getAuthorizations.md b/old_docs/API_docs_v51/methods/account.getAuthorizations.md index f69c130a..fad3a7ae 100644 --- a/old_docs/API_docs_v51/methods/account.getAuthorizations.md +++ b/old_docs/API_docs_v51/methods/account.getAuthorizations.md @@ -11,7 +11,7 @@ Get logged-in sessions -### Return type: [account\_Authorizations](../types/account_Authorizations.md) +### Return type: [account.Authorizations](../types/account.Authorizations.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_Authorizations = $MadelineProto->account->getAuthorizations(); +$account.Authorizations = $MadelineProto->account->getAuthorizations(); ``` Or, if you're into Lua: ```lua -account_Authorizations = account.getAuthorizations({}) +account.Authorizations = account.getAuthorizations({}) ``` diff --git a/old_docs/API_docs_v51/methods/account.getPassword.md b/old_docs/API_docs_v51/methods/account.getPassword.md index eed4aee3..621271b6 100644 --- a/old_docs/API_docs_v51/methods/account.getPassword.md +++ b/old_docs/API_docs_v51/methods/account.getPassword.md @@ -11,7 +11,7 @@ Obtain configuration for two-factor authorization with password -### Return type: [account\_Password](../types/account_Password.md) +### Return type: [account.Password](../types/account.Password.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_Password = $MadelineProto->account->getPassword(); +$account.Password = $MadelineProto->account->getPassword(); ``` Or, if you're into Lua: ```lua -account_Password = account.getPassword({}) +account.Password = account.getPassword({}) ``` diff --git a/old_docs/API_docs_v51/methods/account.getPasswordSettings.md b/old_docs/API_docs_v51/methods/account.getPasswordSettings.md index dcdae61a..3d3cce08 100644 --- a/old_docs/API_docs_v51/methods/account.getPasswordSettings.md +++ b/old_docs/API_docs_v51/methods/account.getPasswordSettings.md @@ -16,7 +16,7 @@ You cannot use this method directly; use $MadelineProto->update_2fa($params), in |current\_password\_hash|[bytes](../types/bytes.md) | You cannot use this method directly; use $MadelineProto->update_2fa($params), instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [account\_PasswordSettings](../types/account_PasswordSettings.md) +### Return type: [account.PasswordSettings](../types/account.PasswordSettings.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_PasswordSettings = $MadelineProto->account->getPasswordSettings(['current_password_hash' => 'bytes', ]); +$account.PasswordSettings = $MadelineProto->account->getPasswordSettings(['current_password_hash' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -account_PasswordSettings = account.getPasswordSettings({current_password_hash='bytes', }) +account.PasswordSettings = account.getPasswordSettings({current_password_hash='bytes', }) ``` ### Errors diff --git a/old_docs/API_docs_v51/methods/account.getPrivacy.md b/old_docs/API_docs_v51/methods/account.getPrivacy.md index 6a240129..e20c292c 100644 --- a/old_docs/API_docs_v51/methods/account.getPrivacy.md +++ b/old_docs/API_docs_v51/methods/account.getPrivacy.md @@ -16,7 +16,7 @@ Get privacy settings of current account |key|[InputPrivacyKey](../types/InputPrivacyKey.md) | Peer category whose privacy settings should be fetched | Yes| -### Return type: [account\_PrivacyRules](../types/account_PrivacyRules.md) +### Return type: [account.PrivacyRules](../types/account.PrivacyRules.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_PrivacyRules = $MadelineProto->account->getPrivacy(['key' => InputPrivacyKey, ]); +$account.PrivacyRules = $MadelineProto->account->getPrivacy(['key' => InputPrivacyKey, ]); ``` Or, if you're into Lua: ```lua -account_PrivacyRules = account.getPrivacy({key=InputPrivacyKey, }) +account.PrivacyRules = account.getPrivacy({key=InputPrivacyKey, }) ``` ### Errors diff --git a/old_docs/API_docs_v51/methods/account.sendChangePhoneCode.md b/old_docs/API_docs_v51/methods/account.sendChangePhoneCode.md index 0f81306e..30589ffa 100644 --- a/old_docs/API_docs_v51/methods/account.sendChangePhoneCode.md +++ b/old_docs/API_docs_v51/methods/account.sendChangePhoneCode.md @@ -18,7 +18,7 @@ Verify a new phone number to associate to the current account |current\_number|[Bool](../types/Bool.md) | Current phone number | Optional| -### Return type: [auth\_SentCode](../types/auth_SentCode.md) +### Return type: [auth.SentCode](../types/auth.SentCode.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_SentCode = $MadelineProto->account->sendChangePhoneCode(['allow_flashcall' => Bool, 'phone_number' => 'string', 'current_number' => Bool, ]); +$auth.SentCode = $MadelineProto->account->sendChangePhoneCode(['allow_flashcall' => Bool, 'phone_number' => 'string', 'current_number' => Bool, ]); ``` Or, if you're into Lua: ```lua -auth_SentCode = account.sendChangePhoneCode({allow_flashcall=Bool, phone_number='string', current_number=Bool, }) +auth.SentCode = account.sendChangePhoneCode({allow_flashcall=Bool, phone_number='string', current_number=Bool, }) ``` ### Errors diff --git a/old_docs/API_docs_v51/methods/account.setPrivacy.md b/old_docs/API_docs_v51/methods/account.setPrivacy.md index 7c4cfba7..096d373e 100644 --- a/old_docs/API_docs_v51/methods/account.setPrivacy.md +++ b/old_docs/API_docs_v51/methods/account.setPrivacy.md @@ -17,7 +17,7 @@ Change privacy settings of current account |rules|Array of [InputPrivacyRule](../types/InputPrivacyRule.md) | Privacy settings | Yes| -### Return type: [account\_PrivacyRules](../types/account_PrivacyRules.md) +### Return type: [account.PrivacyRules](../types/account.PrivacyRules.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_PrivacyRules = $MadelineProto->account->setPrivacy(['key' => InputPrivacyKey, 'rules' => [InputPrivacyRule, InputPrivacyRule], ]); +$account.PrivacyRules = $MadelineProto->account->setPrivacy(['key' => InputPrivacyKey, 'rules' => [InputPrivacyRule, InputPrivacyRule], ]); ``` Or, if you're into Lua: ```lua -account_PrivacyRules = account.setPrivacy({key=InputPrivacyKey, rules={InputPrivacyRule}, }) +account.PrivacyRules = account.setPrivacy({key=InputPrivacyKey, rules={InputPrivacyRule}, }) ``` ### Errors diff --git a/old_docs/API_docs_v51/methods/api_README.md b/old_docs/API_docs_v51/methods/api_README.md index aa7f8afe..c827b191 100644 --- a/old_docs/API_docs_v51/methods/api_README.md +++ b/old_docs/API_docs_v51/methods/api_README.md @@ -52,7 +52,7 @@ $MadelineProto->[account->getAccountTTL](account.getAccountTTL.md)(\[\]) === [$A ***

-$MadelineProto->[account->getAuthorizations](account.getAuthorizations.md)(\[\]) === [$account\_Authorizations](../types/account_Authorizations.md) +$MadelineProto->[account->getAuthorizations](account.getAuthorizations.md)(\[\]) === [$account.Authorizations](../types/account.Authorizations.md) ***

@@ -60,15 +60,15 @@ $MadelineProto->[account->getNotifySettings](account.getNotifySettings.md)(\['pe ***

-$MadelineProto->[account->getPassword](account.getPassword.md)(\[\]) === [$account\_Password](../types/account_Password.md) +$MadelineProto->[account->getPassword](account.getPassword.md)(\[\]) === [$account.Password](../types/account.Password.md) ***

-$MadelineProto->[account->getPasswordSettings](account.getPasswordSettings.md)(\['current_password_hash' => [bytes](../types/bytes.md), \]) === [$account\_PasswordSettings](../types/account_PasswordSettings.md) +$MadelineProto->[account->getPasswordSettings](account.getPasswordSettings.md)(\['current_password_hash' => [bytes](../types/bytes.md), \]) === [$account.PasswordSettings](../types/account.PasswordSettings.md) ***

-$MadelineProto->[account->getPrivacy](account.getPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), \]) === [$account\_PrivacyRules](../types/account_PrivacyRules.md) +$MadelineProto->[account->getPrivacy](account.getPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), \]) === [$account.PrivacyRules](../types/account.PrivacyRules.md) ***

@@ -92,7 +92,7 @@ $MadelineProto->[account->resetNotifySettings](account.resetNotifySettings.md)(\ ***

-$MadelineProto->[account->sendChangePhoneCode](account.sendChangePhoneCode.md)(\['allow_flashcall' => [Bool](../types/Bool.md), 'phone_number' => [string](../types/string.md), 'current_number' => [Bool](../types/Bool.md), \]) === [$auth\_SentCode](../types/auth_SentCode.md) +$MadelineProto->[account->sendChangePhoneCode](account.sendChangePhoneCode.md)(\['allow_flashcall' => [Bool](../types/Bool.md), 'phone_number' => [string](../types/string.md), 'current_number' => [Bool](../types/Bool.md), \]) === [$auth.SentCode](../types/auth.SentCode.md) ***

@@ -100,7 +100,7 @@ $MadelineProto->[account->setAccountTTL](account.setAccountTTL.md)(\['ttl' => [A ***

-$MadelineProto->[account->setPrivacy](account.setPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), 'rules' => \[[InputPrivacyRule](../types/InputPrivacyRule.md)\], \]) === [$account\_PrivacyRules](../types/account_PrivacyRules.md) +$MadelineProto->[account->setPrivacy](account.setPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), 'rules' => \[[InputPrivacyRule](../types/InputPrivacyRule.md)\], \]) === [$account.PrivacyRules](../types/account.PrivacyRules.md) ***

@@ -140,23 +140,23 @@ $MadelineProto->[auth->cancelCode](auth.cancelCode.md)(\['phone_number' => [stri ***

-$MadelineProto->[auth->checkPassword](auth.checkPassword.md)(\['password_hash' => [bytes](../types/bytes.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->checkPassword](auth.checkPassword.md)(\['password_hash' => [bytes](../types/bytes.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

-$MadelineProto->[auth->checkPhone](auth.checkPhone.md)(\['phone_number' => [string](../types/string.md), \]) === [$auth\_CheckedPhone](../types/auth_CheckedPhone.md) +$MadelineProto->[auth->checkPhone](auth.checkPhone.md)(\['phone_number' => [string](../types/string.md), \]) === [$auth.CheckedPhone](../types/auth.CheckedPhone.md) ***

-$MadelineProto->[auth->exportAuthorization](auth.exportAuthorization.md)(\['dc_id' => [int](../types/int.md), \]) === [$auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) +$MadelineProto->[auth->exportAuthorization](auth.exportAuthorization.md)(\['dc_id' => [int](../types/int.md), \]) === [$auth.ExportedAuthorization](../types/auth.ExportedAuthorization.md) ***

-$MadelineProto->[auth->importAuthorization](auth.importAuthorization.md)(\['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->importAuthorization](auth.importAuthorization.md)(\['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

-$MadelineProto->[auth->importBotAuthorization](auth.importBotAuthorization.md)(\['api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), 'bot_auth_token' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->importBotAuthorization](auth.importBotAuthorization.md)(\['api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), 'bot_auth_token' => [string](../types/string.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

@@ -164,15 +164,15 @@ $MadelineProto->[auth->logOut](auth.logOut.md)(\[\]) === [$Bool](../types/Bool.m ***

-$MadelineProto->[auth->recoverPassword](auth.recoverPassword.md)(\['code' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->recoverPassword](auth.recoverPassword.md)(\['code' => [string](../types/string.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

-$MadelineProto->[auth->requestPasswordRecovery](auth.requestPasswordRecovery.md)(\[\]) === [$auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) +$MadelineProto->[auth->requestPasswordRecovery](auth.requestPasswordRecovery.md)(\[\]) === [$auth.PasswordRecovery](../types/auth.PasswordRecovery.md) ***

-$MadelineProto->[auth->resendCode](auth.resendCode.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), \]) === [$auth\_SentCode](../types/auth_SentCode.md) +$MadelineProto->[auth->resendCode](auth.resendCode.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), \]) === [$auth.SentCode](../types/auth.SentCode.md) ***

@@ -180,7 +180,7 @@ $MadelineProto->[auth->resetAuthorizations](auth.resetAuthorizations.md)(\[\]) = ***

-$MadelineProto->[auth->sendCode](auth.sendCode.md)(\['allow_flashcall' => [Bool](../types/Bool.md), 'phone_number' => [string](../types/string.md), 'current_number' => [Bool](../types/Bool.md), 'api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) === [$auth\_SentCode](../types/auth_SentCode.md) +$MadelineProto->[auth->sendCode](auth.sendCode.md)(\['allow_flashcall' => [Bool](../types/Bool.md), 'phone_number' => [string](../types/string.md), 'current_number' => [Bool](../types/Bool.md), 'api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) === [$auth.SentCode](../types/auth.SentCode.md) ***

@@ -188,11 +188,11 @@ $MadelineProto->[auth->sendInvites](auth.sendInvites.md)(\['phone_numbers' => \[ ***

-$MadelineProto->[auth->signIn](auth.signIn.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->signIn](auth.signIn.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

-$MadelineProto->[auth->signUp](auth.signUp.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->signUp](auth.signUp.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

@@ -208,11 +208,11 @@ $MadelineProto->[channels->deleteChannel](channels.deleteChannel.md)(\['channel' ***

-$MadelineProto->[channels->deleteMessages](channels.deleteMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) +$MadelineProto->[channels->deleteMessages](channels.deleteMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages.AffectedMessages](../types/messages.AffectedMessages.md) ***

-$MadelineProto->[channels->deleteUserHistory](channels.deleteUserHistory.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages\_AffectedHistory](../types/messages_AffectedHistory.md) +$MadelineProto->[channels->deleteUserHistory](channels.deleteUserHistory.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages.AffectedHistory](../types/messages.AffectedHistory.md) ***

@@ -240,31 +240,31 @@ $MadelineProto->[channels->exportMessageLink](channels.exportMessageLink.md)(\[' ***

-$MadelineProto->[channels->getChannels](channels.getChannels.md)(\['id' => \[[InputChannel](../types/InputChannel.md)\], \]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[channels->getChannels](channels.getChannels.md)(\['id' => \[[InputChannel](../types/InputChannel.md)\], \]) === [$messages.Chats](../types/messages.Chats.md) ***

-$MadelineProto->[channels->getDialogs](channels.getDialogs.md)(\['offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages\_Dialogs](../types/messages_Dialogs.md) +$MadelineProto->[channels->getDialogs](channels.getDialogs.md)(\['offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages.Dialogs](../types/messages.Dialogs.md) ***

-$MadelineProto->[channels->getFullChannel](channels.getFullChannel.md)(\['channel' => [InputChannel](../types/InputChannel.md), \]) === [$messages\_ChatFull](../types/messages_ChatFull.md) +$MadelineProto->[channels->getFullChannel](channels.getFullChannel.md)(\['channel' => [InputChannel](../types/InputChannel.md), \]) === [$messages.ChatFull](../types/messages.ChatFull.md) ***

-$MadelineProto->[channels->getImportantHistory](channels.getImportantHistory.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'offset_id' => [int](../types/int.md), 'offset_date' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[channels->getImportantHistory](channels.getImportantHistory.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'offset_id' => [int](../types/int.md), 'offset_date' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[channels->getMessages](channels.getMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[channels->getMessages](channels.getMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[channels->getParticipant](channels.getParticipant.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$channels\_ChannelParticipant](../types/channels_ChannelParticipant.md) +$MadelineProto->[channels->getParticipant](channels.getParticipant.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$channels.ChannelParticipant](../types/channels.ChannelParticipant.md) ***

-$MadelineProto->[channels->getParticipants](channels.getParticipants.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$channels\_ChannelParticipants](../types/channels_ChannelParticipants.md) +$MadelineProto->[channels->getParticipants](channels.getParticipants.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$channels.ChannelParticipants](../types/channels.ChannelParticipants.md) ***

@@ -316,7 +316,7 @@ $MadelineProto->[contacts->block](contacts.block.md)(\['id' => [InputUser](../ty ***

-$MadelineProto->[contacts->deleteContact](contacts.deleteContact.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$contacts\_Link](../types/contacts_Link.md) +$MadelineProto->[contacts->deleteContact](contacts.deleteContact.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$contacts.Link](../types/contacts.Link.md) ***

@@ -328,11 +328,11 @@ $MadelineProto->[contacts->exportCard](contacts.exportCard.md)(\[\]) === [$Vecto ***

-$MadelineProto->[contacts->getBlocked](contacts.getBlocked.md)(\['offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$contacts\_Blocked](../types/contacts_Blocked.md) +$MadelineProto->[contacts->getBlocked](contacts.getBlocked.md)(\['offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$contacts.Blocked](../types/contacts.Blocked.md) ***

-$MadelineProto->[contacts->getContacts](contacts.getContacts.md)(\['hash' => [string](../types/string.md), \]) === [$contacts\_Contacts](../types/contacts_Contacts.md) +$MadelineProto->[contacts->getContacts](contacts.getContacts.md)(\['hash' => [string](../types/string.md), \]) === [$contacts.Contacts](../types/contacts.Contacts.md) ***

@@ -344,15 +344,15 @@ $MadelineProto->[contacts->importCard](contacts.importCard.md)(\['export_card' = ***

-$MadelineProto->[contacts->importContacts](contacts.importContacts.md)(\['contacts' => \[[InputContact](../types/InputContact.md)\], 'replace' => [Bool](../types/Bool.md), \]) === [$contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) +$MadelineProto->[contacts->importContacts](contacts.importContacts.md)(\['contacts' => \[[InputContact](../types/InputContact.md)\], 'replace' => [Bool](../types/Bool.md), \]) === [$contacts.ImportedContacts](../types/contacts.ImportedContacts.md) ***

-$MadelineProto->[contacts->resolveUsername](contacts.resolveUsername.md)(\['username' => [string](../types/string.md), \]) === [$contacts\_ResolvedPeer](../types/contacts_ResolvedPeer.md) +$MadelineProto->[contacts->resolveUsername](contacts.resolveUsername.md)(\['username' => [string](../types/string.md), \]) === [$contacts.ResolvedPeer](../types/contacts.ResolvedPeer.md) ***

-$MadelineProto->[contacts->search](contacts.search.md)(\['q' => [string](../types/string.md), 'limit' => [int](../types/int.md), \]) === [$contacts\_Found](../types/contacts_Found.md) +$MadelineProto->[contacts->search](contacts.search.md)(\['q' => [string](../types/string.md), 'limit' => [int](../types/int.md), \]) === [$contacts.Found](../types/contacts.Found.md) ***

@@ -360,11 +360,11 @@ $MadelineProto->[contacts->unblock](contacts.unblock.md)(\['id' => [InputUser](. ***

-$MadelineProto->[help->getAppChangelog](help.getAppChangelog.md)(\['device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) === [$help\_AppChangelog](../types/help_AppChangelog.md) +$MadelineProto->[help->getAppChangelog](help.getAppChangelog.md)(\['device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) === [$help.AppChangelog](../types/help.AppChangelog.md) ***

-$MadelineProto->[help->getAppUpdate](help.getAppUpdate.md)(\['device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) === [$help\_AppUpdate](../types/help_AppUpdate.md) +$MadelineProto->[help->getAppUpdate](help.getAppUpdate.md)(\['device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) === [$help.AppUpdate](../types/help.AppUpdate.md) ***

@@ -372,7 +372,7 @@ $MadelineProto->[help->getConfig](help.getConfig.md)(\[\]) === [$Config](../type ***

-$MadelineProto->[help->getInviteText](help.getInviteText.md)(\['lang_code' => [string](../types/string.md), \]) === [$help\_InviteText](../types/help_InviteText.md) +$MadelineProto->[help->getInviteText](help.getInviteText.md)(\['lang_code' => [string](../types/string.md), \]) === [$help.InviteText](../types/help.InviteText.md) ***

@@ -380,11 +380,11 @@ $MadelineProto->[help->getNearestDc](help.getNearestDc.md)(\[\]) === [$NearestDc ***

-$MadelineProto->[help->getSupport](help.getSupport.md)(\[\]) === [$help\_Support](../types/help_Support.md) +$MadelineProto->[help->getSupport](help.getSupport.md)(\[\]) === [$help.Support](../types/help.Support.md) ***

-$MadelineProto->[help->getTermsOfService](help.getTermsOfService.md)(\['lang_code' => [string](../types/string.md), \]) === [$help\_TermsOfService](../types/help_TermsOfService.md) +$MadelineProto->[help->getTermsOfService](help.getTermsOfService.md)(\['lang_code' => [string](../types/string.md), \]) === [$help.TermsOfService](../types/help.TermsOfService.md) ***

@@ -432,11 +432,11 @@ $MadelineProto->[messages->deleteChatUser](messages.deleteChatUser.md)(\['chat_i ***

-$MadelineProto->[messages->deleteHistory](messages.deleteHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), \]) === [$messages\_AffectedHistory](../types/messages_AffectedHistory.md) +$MadelineProto->[messages->deleteHistory](messages.deleteHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), \]) === [$messages.AffectedHistory](../types/messages.AffectedHistory.md) ***

-$MadelineProto->[messages->deleteMessages](messages.deleteMessages.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) +$MadelineProto->[messages->deleteMessages](messages.deleteMessages.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages.AffectedMessages](../types/messages.AffectedMessages.md) ***

@@ -476,23 +476,23 @@ $MadelineProto->[messages->forwardMessages](messages.forwardMessages.md)(\['broa ***

-$MadelineProto->[messages->getAllStickers](messages.getAllStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages\_AllStickers](../types/messages_AllStickers.md) +$MadelineProto->[messages->getAllStickers](messages.getAllStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages.AllStickers](../types/messages.AllStickers.md) ***

-$MadelineProto->[messages->getBotCallbackAnswer](messages.getBotCallbackAnswer.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'msg_id' => [int](../types/int.md), 'data' => [bytes](../types/bytes.md), \]) === [$messages\_BotCallbackAnswer](../types/messages_BotCallbackAnswer.md) +$MadelineProto->[messages->getBotCallbackAnswer](messages.getBotCallbackAnswer.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'msg_id' => [int](../types/int.md), 'data' => [bytes](../types/bytes.md), \]) === [$messages.BotCallbackAnswer](../types/messages.BotCallbackAnswer.md) ***

-$MadelineProto->[messages->getChats](messages.getChats.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[messages->getChats](messages.getChats.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages.Chats](../types/messages.Chats.md) ***

-$MadelineProto->[messages->getDhConfig](messages.getDhConfig.md)(\['version' => [int](../types/int.md), 'random_length' => [int](../types/int.md), \]) === [$messages\_DhConfig](../types/messages_DhConfig.md) +$MadelineProto->[messages->getDhConfig](messages.getDhConfig.md)(\['version' => [int](../types/int.md), 'random_length' => [int](../types/int.md), \]) === [$messages.DhConfig](../types/messages.DhConfig.md) ***

-$MadelineProto->[messages->getDialogs](messages.getDialogs.md)(\['offset_date' => [int](../types/int.md), 'offset_id' => [int](../types/int.md), 'offset_peer' => [InputPeer](../types/InputPeer.md), 'limit' => [int](../types/int.md), \]) === [$messages\_Dialogs](../types/messages_Dialogs.md) +$MadelineProto->[messages->getDialogs](messages.getDialogs.md)(\['offset_date' => [int](../types/int.md), 'offset_id' => [int](../types/int.md), 'offset_peer' => [InputPeer](../types/InputPeer.md), 'limit' => [int](../types/int.md), \]) === [$messages.Dialogs](../types/messages.Dialogs.md) ***

@@ -500,23 +500,23 @@ $MadelineProto->[messages->getDocumentByHash](messages.getDocumentByHash.md)(\[' ***

-$MadelineProto->[messages->getFullChat](messages.getFullChat.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), \]) === [$messages\_ChatFull](../types/messages_ChatFull.md) +$MadelineProto->[messages->getFullChat](messages.getFullChat.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), \]) === [$messages.ChatFull](../types/messages.ChatFull.md) ***

-$MadelineProto->[messages->getHistory](messages.getHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'offset_date' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->getHistory](messages.getHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'offset_date' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[messages->getInlineBotResults](messages.getInlineBotResults.md)(\['bot' => [InputUser](../types/InputUser.md), 'peer' => [InputPeer](../types/InputPeer.md), 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'query' => [string](../types/string.md), 'offset' => [string](../types/string.md), \]) === [$messages\_BotResults](../types/messages_BotResults.md) +$MadelineProto->[messages->getInlineBotResults](messages.getInlineBotResults.md)(\['bot' => [InputUser](../types/InputUser.md), 'peer' => [InputPeer](../types/InputPeer.md), 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'query' => [string](../types/string.md), 'offset' => [string](../types/string.md), \]) === [$messages.BotResults](../types/messages.BotResults.md) ***

-$MadelineProto->[messages->getMessageEditData](messages.getMessageEditData.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), \]) === [$messages\_MessageEditData](../types/messages_MessageEditData.md) +$MadelineProto->[messages->getMessageEditData](messages.getMessageEditData.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), \]) === [$messages.MessageEditData](../types/messages.MessageEditData.md) ***

-$MadelineProto->[messages->getMessages](messages.getMessages.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->getMessages](messages.getMessages.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages.Messages](../types/messages.Messages.md) ***

@@ -528,15 +528,15 @@ $MadelineProto->[messages->getPeerSettings](messages.getPeerSettings.md)(\['peer ***

-$MadelineProto->[messages->getSavedGifs](messages.getSavedGifs.md)(\['hash' => [int](../types/int.md), \]) === [$messages\_SavedGifs](../types/messages_SavedGifs.md) +$MadelineProto->[messages->getSavedGifs](messages.getSavedGifs.md)(\['hash' => [int](../types/int.md), \]) === [$messages.SavedGifs](../types/messages.SavedGifs.md) ***

-$MadelineProto->[messages->getStickerSet](messages.getStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), \]) === [$messages\_StickerSet](../types/messages_StickerSet.md) +$MadelineProto->[messages->getStickerSet](messages.getStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), \]) === [$messages.StickerSet](../types/messages.StickerSet.md) ***

-$MadelineProto->[messages->getStickers](messages.getStickers.md)(\['emoticon' => [string](../types/string.md), 'hash' => [string](../types/string.md), \]) === [$messages\_Stickers](../types/messages_Stickers.md) +$MadelineProto->[messages->getStickers](messages.getStickers.md)(\['emoticon' => [string](../types/string.md), 'hash' => [string](../types/string.md), \]) === [$messages.Stickers](../types/messages.Stickers.md) ***

@@ -564,11 +564,11 @@ $MadelineProto->[messages->readEncryptedHistory](messages.readEncryptedHistory.m ***

-$MadelineProto->[messages->readHistory](messages.readHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), \]) === [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) +$MadelineProto->[messages->readHistory](messages.readHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), \]) === [$messages.AffectedMessages](../types/messages.AffectedMessages.md) ***

-$MadelineProto->[messages->readMessageContents](messages.readMessageContents.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) +$MadelineProto->[messages->readMessageContents](messages.readMessageContents.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages.AffectedMessages](../types/messages.AffectedMessages.md) ***

@@ -596,15 +596,15 @@ $MadelineProto->[messages->saveGif](messages.saveGif.md)(\['id' => [InputDocumen ***

-$MadelineProto->[messages->search](messages.search.md)(\['important_only' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'q' => [string](../types/string.md), 'filter' => [MessagesFilter](../types/MessagesFilter.md), 'min_date' => [int](../types/int.md), 'max_date' => [int](../types/int.md), 'offset' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->search](messages.search.md)(\['important_only' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'q' => [string](../types/string.md), 'filter' => [MessagesFilter](../types/MessagesFilter.md), 'min_date' => [int](../types/int.md), 'max_date' => [int](../types/int.md), 'offset' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[messages->searchGifs](messages.searchGifs.md)(\['q' => [string](../types/string.md), 'offset' => [int](../types/int.md), \]) === [$messages\_FoundGifs](../types/messages_FoundGifs.md) +$MadelineProto->[messages->searchGifs](messages.searchGifs.md)(\['q' => [string](../types/string.md), 'offset' => [int](../types/int.md), \]) === [$messages.FoundGifs](../types/messages.FoundGifs.md) ***

-$MadelineProto->[messages->searchGlobal](messages.searchGlobal.md)(\['q' => [string](../types/string.md), 'offset_date' => [int](../types/int.md), 'offset_peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->searchGlobal](messages.searchGlobal.md)(\['q' => [string](../types/string.md), 'offset_date' => [int](../types/int.md), 'offset_peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

@@ -612,15 +612,15 @@ $MadelineProto->[messages->sendBroadcast](messages.sendBroadcast.md)(\['contacts ***

-$MadelineProto->[messages->sendEncrypted](messages.sendEncrypted.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'message' => [DecryptedMessage](../types/DecryptedMessage.md), \]) === [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +$MadelineProto->[messages->sendEncrypted](messages.sendEncrypted.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), \]) === [$messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ***

-$MadelineProto->[messages->sendEncryptedFile](messages.sendEncryptedFile.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'message' => [DecryptedMessage](../types/DecryptedMessage.md), 'file' => [InputEncryptedFile](../types/InputEncryptedFile.md), \]) === [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +$MadelineProto->[messages->sendEncryptedFile](messages.sendEncryptedFile.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), 'file' => [InputEncryptedFile](../types/InputEncryptedFile.md), \]) === [$messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ***

-$MadelineProto->[messages->sendEncryptedService](messages.sendEncryptedService.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'message' => [DecryptedMessage](../types/DecryptedMessage.md), \]) === [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +$MadelineProto->[messages->sendEncryptedService](messages.sendEncryptedService.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), \]) === [$messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ***

@@ -668,7 +668,7 @@ $MadelineProto->[photos->deletePhotos](photos.deletePhotos.md)(\['id' => \[[Inpu ***

-$MadelineProto->[photos->getUserPhotos](photos.getUserPhotos.md)(\['user_id' => [InputUser](../types/InputUser.md), 'offset' => [int](../types/int.md), 'max_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$photos\_Photos](../types/photos_Photos.md) +$MadelineProto->[photos->getUserPhotos](photos.getUserPhotos.md)(\['user_id' => [InputUser](../types/InputUser.md), 'offset' => [int](../types/int.md), 'max_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$photos.Photos](../types/photos.Photos.md) ***

@@ -676,23 +676,23 @@ $MadelineProto->[photos->updateProfilePhoto](photos.updateProfilePhoto.md)(\['id ***

-$MadelineProto->[photos->uploadProfilePhoto](photos.uploadProfilePhoto.md)(\['file' => [InputFile](../types/InputFile.md), 'caption' => [string](../types/string.md), 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'crop' => [InputPhotoCrop](../types/InputPhotoCrop.md), \]) === [$photos\_Photo](../types/photos_Photo.md) +$MadelineProto->[photos->uploadProfilePhoto](photos.uploadProfilePhoto.md)(\['file' => [InputFile](../types/InputFile.md), 'caption' => [string](../types/string.md), 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'crop' => [InputPhotoCrop](../types/InputPhotoCrop.md), \]) === [$photos.Photo](../types/photos.Photo.md) ***

-$MadelineProto->[updates->getChannelDifference](updates.getChannelDifference.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$updates\_ChannelDifference](../types/updates_ChannelDifference.md) +$MadelineProto->[updates->getChannelDifference](updates.getChannelDifference.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$updates.ChannelDifference](../types/updates.ChannelDifference.md) ***

-$MadelineProto->[updates->getDifference](updates.getDifference.md)(\['pts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) === [$updates\_Difference](../types/updates_Difference.md) +$MadelineProto->[updates->getDifference](updates.getDifference.md)(\['pts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) === [$updates.Difference](../types/updates.Difference.md) ***

-$MadelineProto->[updates->getState](updates.getState.md)(\[\]) === [$updates\_State](../types/updates_State.md) +$MadelineProto->[updates->getState](updates.getState.md)(\[\]) === [$updates.State](../types/updates.State.md) ***

-$MadelineProto->[upload->getFile](upload.getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_File](../types/upload_File.md) +$MadelineProto->[upload->getFile](upload.getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload.File](../types/upload.File.md) ***

diff --git a/old_docs/API_docs_v51/methods/auth.checkPassword.md b/old_docs/API_docs_v51/methods/auth.checkPassword.md index db65cb56..eeeed171 100644 --- a/old_docs/API_docs_v51/methods/auth.checkPassword.md +++ b/old_docs/API_docs_v51/methods/auth.checkPassword.md @@ -16,7 +16,7 @@ You cannot use this method directly, use the complete_2fa_login method instead ( |password\_hash|[bytes](../types/bytes.md) | You cannot use this method directly, use the complete_2fa_login method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->checkPassword(['password_hash' => 'bytes', ]); +$auth.Authorization = $MadelineProto->auth->checkPassword(['password_hash' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.checkPassword({password_hash='bytes', }) +auth.Authorization = auth.checkPassword({password_hash='bytes', }) ``` ### Errors diff --git a/old_docs/API_docs_v51/methods/auth.checkPhone.md b/old_docs/API_docs_v51/methods/auth.checkPhone.md index 227358cb..51d4cba6 100644 --- a/old_docs/API_docs_v51/methods/auth.checkPhone.md +++ b/old_docs/API_docs_v51/methods/auth.checkPhone.md @@ -16,7 +16,7 @@ Check if this phone number is registered on telegram |phone\_number|[string](../types/string.md) | The phone number to check | Yes| -### Return type: [auth\_CheckedPhone](../types/auth_CheckedPhone.md) +### Return type: [auth.CheckedPhone](../types/auth.CheckedPhone.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => 'string', ]); +$auth.CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_CheckedPhone = auth.checkPhone({phone_number='string', }) +auth.CheckedPhone = auth.checkPhone({phone_number='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v51/methods/auth.exportAuthorization.md b/old_docs/API_docs_v51/methods/auth.exportAuthorization.md index 72063a2b..41a1f87d 100644 --- a/old_docs/API_docs_v51/methods/auth.exportAuthorization.md +++ b/old_docs/API_docs_v51/methods/auth.exportAuthorization.md @@ -16,7 +16,7 @@ You cannot use this method directly, use $MadelineProto->exportAuthorization() i |dc\_id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| -### Return type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) +### Return type: [auth.ExportedAuthorization](../types/auth.ExportedAuthorization.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_ExportedAuthorization = $MadelineProto->auth->exportAuthorization(['dc_id' => int, ]); +$auth.ExportedAuthorization = $MadelineProto->auth->exportAuthorization(['dc_id' => int, ]); ``` Or, if you're into Lua: ```lua -auth_ExportedAuthorization = auth.exportAuthorization({dc_id=int, }) +auth.ExportedAuthorization = auth.exportAuthorization({dc_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v51/methods/auth.importAuthorization.md b/old_docs/API_docs_v51/methods/auth.importAuthorization.md index d9c13751..5257e0b0 100644 --- a/old_docs/API_docs_v51/methods/auth.importAuthorization.md +++ b/old_docs/API_docs_v51/methods/auth.importAuthorization.md @@ -17,7 +17,7 @@ You cannot use this method directly, use $MadelineProto->importAuthorization($au |bytes|[bytes](../types/bytes.md) | You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => 'bytes', ]); +$auth.Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.importAuthorization({id=int, bytes='bytes', }) +auth.Authorization = auth.importAuthorization({id=int, bytes='bytes', }) ``` ### Errors diff --git a/old_docs/API_docs_v51/methods/auth.importBotAuthorization.md b/old_docs/API_docs_v51/methods/auth.importBotAuthorization.md index 3161d6be..a4ea8027 100644 --- a/old_docs/API_docs_v51/methods/auth.importBotAuthorization.md +++ b/old_docs/API_docs_v51/methods/auth.importBotAuthorization.md @@ -18,7 +18,7 @@ You cannot use this method directly, use the botLogin method instead (see https: |bot\_auth\_token|[string](../types/string.md) | You cannot use this method directly, use the botLogin method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **YES** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->importBotAuthorization(['api_id' => int, 'api_hash' => 'string', 'bot_auth_token' => 'string', ]); +$auth.Authorization = $MadelineProto->auth->importBotAuthorization(['api_id' => int, 'api_hash' => 'string', 'bot_auth_token' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.importBotAuthorization({api_id=int, api_hash='string', bot_auth_token='string', }) +auth.Authorization = auth.importBotAuthorization({api_id=int, api_hash='string', bot_auth_token='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v51/methods/auth.recoverPassword.md b/old_docs/API_docs_v51/methods/auth.recoverPassword.md index f7cbf4a4..2e78444b 100644 --- a/old_docs/API_docs_v51/methods/auth.recoverPassword.md +++ b/old_docs/API_docs_v51/methods/auth.recoverPassword.md @@ -16,7 +16,7 @@ Reset the [2FA password](https://core.telegram.org/api/srp) using the recovery c |code|[string](../types/string.md) | Code received via email | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->recoverPassword(['code' => 'string', ]); +$auth.Authorization = $MadelineProto->auth->recoverPassword(['code' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.recoverPassword({code='string', }) +auth.Authorization = auth.recoverPassword({code='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v51/methods/auth.requestPasswordRecovery.md b/old_docs/API_docs_v51/methods/auth.requestPasswordRecovery.md index 5cd77936..ff1ecc02 100644 --- a/old_docs/API_docs_v51/methods/auth.requestPasswordRecovery.md +++ b/old_docs/API_docs_v51/methods/auth.requestPasswordRecovery.md @@ -11,7 +11,7 @@ Request recovery code of a [2FA password](https://core.telegram.org/api/srp), on -### Return type: [auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) +### Return type: [auth.PasswordRecovery](../types/auth.PasswordRecovery.md) ### Can bots use this method: **NO** @@ -28,13 +28,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_PasswordRecovery = $MadelineProto->auth->requestPasswordRecovery(); +$auth.PasswordRecovery = $MadelineProto->auth->requestPasswordRecovery(); ``` Or, if you're into Lua: ```lua -auth_PasswordRecovery = auth.requestPasswordRecovery({}) +auth.PasswordRecovery = auth.requestPasswordRecovery({}) ``` ### Errors diff --git a/old_docs/API_docs_v51/methods/auth.resendCode.md b/old_docs/API_docs_v51/methods/auth.resendCode.md index a395a91b..f59f1b7b 100644 --- a/old_docs/API_docs_v51/methods/auth.resendCode.md +++ b/old_docs/API_docs_v51/methods/auth.resendCode.md @@ -17,7 +17,7 @@ Resend the login code via another medium, the phone code type is determined by t |phone\_code\_hash|[string](../types/string.md) | The phone code hash obtained from [auth.sendCode](../methods/auth.sendCode.md) | Yes| -### Return type: [auth\_SentCode](../types/auth_SentCode.md) +### Return type: [auth.SentCode](../types/auth.SentCode.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_SentCode = $MadelineProto->auth->resendCode(['phone_number' => 'string', 'phone_code_hash' => 'string', ]); +$auth.SentCode = $MadelineProto->auth->resendCode(['phone_number' => 'string', 'phone_code_hash' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_SentCode = auth.resendCode({phone_number='string', phone_code_hash='string', }) +auth.SentCode = auth.resendCode({phone_number='string', phone_code_hash='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v51/methods/auth.sendCode.md b/old_docs/API_docs_v51/methods/auth.sendCode.md index 4172fac3..01021a3a 100644 --- a/old_docs/API_docs_v51/methods/auth.sendCode.md +++ b/old_docs/API_docs_v51/methods/auth.sendCode.md @@ -21,7 +21,7 @@ You cannot use this method directly, use the phoneLogin method instead (see http |lang\_code|[string](../types/string.md) | You cannot use this method directly, use the phoneLogin method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_SentCode](../types/auth_SentCode.md) +### Return type: [auth.SentCode](../types/auth.SentCode.md) ### Can bots use this method: **NO** @@ -38,13 +38,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_SentCode = $MadelineProto->auth->sendCode(['allow_flashcall' => Bool, 'phone_number' => 'string', 'current_number' => Bool, 'api_id' => int, 'api_hash' => 'string', 'lang_code' => 'string', ]); +$auth.SentCode = $MadelineProto->auth->sendCode(['allow_flashcall' => Bool, 'phone_number' => 'string', 'current_number' => Bool, 'api_id' => int, 'api_hash' => 'string', 'lang_code' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_SentCode = auth.sendCode({allow_flashcall=Bool, phone_number='string', current_number=Bool, api_id=int, api_hash='string', lang_code='string', }) +auth.SentCode = auth.sendCode({allow_flashcall=Bool, phone_number='string', current_number=Bool, api_id=int, api_hash='string', lang_code='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v51/methods/auth.signIn.md b/old_docs/API_docs_v51/methods/auth.signIn.md index 54812a2e..95b14f32 100644 --- a/old_docs/API_docs_v51/methods/auth.signIn.md +++ b/old_docs/API_docs_v51/methods/auth.signIn.md @@ -18,7 +18,7 @@ You cannot use this method directly, use the completePhoneLogin method instead ( |phone\_code|[string](../types/string.md) | You cannot use this method directly, use the completePhoneLogin method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->signIn(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', ]); +$auth.Authorization = $MadelineProto->auth->signIn(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.signIn({phone_number='string', phone_code_hash='string', phone_code='string', }) +auth.Authorization = auth.signIn({phone_number='string', phone_code_hash='string', phone_code='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v51/methods/auth.signUp.md b/old_docs/API_docs_v51/methods/auth.signUp.md index 2aca2bfa..fdb5d628 100644 --- a/old_docs/API_docs_v51/methods/auth.signUp.md +++ b/old_docs/API_docs_v51/methods/auth.signUp.md @@ -20,7 +20,7 @@ You cannot use this method directly, use the completeSignup method instead (see |last\_name|[string](../types/string.md) | You cannot use this method directly, use the completeSignup method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **NO** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->signUp(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', 'first_name' => 'string', 'last_name' => 'string', ]); +$auth.Authorization = $MadelineProto->auth->signUp(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', 'first_name' => 'string', 'last_name' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.signUp({phone_number='string', phone_code_hash='string', phone_code='string', first_name='string', last_name='string', }) +auth.Authorization = auth.signUp({phone_number='string', phone_code_hash='string', phone_code='string', first_name='string', last_name='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v51/methods/channels.deleteMessages.md b/old_docs/API_docs_v51/methods/channels.deleteMessages.md index 10a439fb..8583e560 100644 --- a/old_docs/API_docs_v51/methods/channels.deleteMessages.md +++ b/old_docs/API_docs_v51/methods/channels.deleteMessages.md @@ -17,7 +17,7 @@ Delete messages in a [channel/supergroup](https://core.telegram.org/api/channel) |id|Array of [int](../types/int.md) | The IDs of messages to delete | Yes| -### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) +### Return type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedMessages = $MadelineProto->channels->deleteMessages(['channel' => InputChannel, 'id' => [int, int], ]); +$messages.AffectedMessages = $MadelineProto->channels->deleteMessages(['channel' => InputChannel, 'id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AffectedMessages = channels.deleteMessages({channel=InputChannel, id={int}, }) +messages.AffectedMessages = channels.deleteMessages({channel=InputChannel, id={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v51/methods/channels.deleteUserHistory.md b/old_docs/API_docs_v51/methods/channels.deleteUserHistory.md index 9b8b159f..6ccaf7dd 100644 --- a/old_docs/API_docs_v51/methods/channels.deleteUserHistory.md +++ b/old_docs/API_docs_v51/methods/channels.deleteUserHistory.md @@ -17,7 +17,7 @@ Delete all messages sent by a certain user in a [supergroup](https://core.telegr |user\_id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | User whose messages should be deleted | Optional| -### Return type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) +### Return type: [messages.AffectedHistory](../types/messages.AffectedHistory.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedHistory = $MadelineProto->channels->deleteUserHistory(['channel' => InputChannel, 'user_id' => InputUser, ]); +$messages.AffectedHistory = $MadelineProto->channels->deleteUserHistory(['channel' => InputChannel, 'user_id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -messages_AffectedHistory = channels.deleteUserHistory({channel=InputChannel, user_id=InputUser, }) +messages.AffectedHistory = channels.deleteUserHistory({channel=InputChannel, user_id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v51/methods/channels.getChannels.md b/old_docs/API_docs_v51/methods/channels.getChannels.md index 368c96ce..ed9cf4a7 100644 --- a/old_docs/API_docs_v51/methods/channels.getChannels.md +++ b/old_docs/API_docs_v51/methods/channels.getChannels.md @@ -16,7 +16,7 @@ Get info about [channels/supergroups](https://core.telegram.org/api/channel) |id|Array of [Username, chat ID, Update, Message or InputChannel](../types/InputChannel.md) | The channel/supergroup MTProto IDs | Yes| -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->channels->getChannels(['id' => [InputChannel, InputChannel], ]); +$messages.Chats = $MadelineProto->channels->getChannels(['id' => [InputChannel, InputChannel], ]); ``` Or, if you're into Lua: ```lua -messages_Chats = channels.getChannels({id={InputChannel}, }) +messages.Chats = channels.getChannels({id={InputChannel}, }) ``` ### Errors diff --git a/old_docs/API_docs_v51/methods/channels.getDialogs.md b/old_docs/API_docs_v51/methods/channels.getDialogs.md index b75c785d..b9bfe655 100644 --- a/old_docs/API_docs_v51/methods/channels.getDialogs.md +++ b/old_docs/API_docs_v51/methods/channels.getDialogs.md @@ -17,7 +17,7 @@ Get channel dialogs |limit|[int](../types/int.md) | Number of results to return | Yes| -### Return type: [messages\_Dialogs](../types/messages_Dialogs.md) +### Return type: [messages.Dialogs](../types/messages.Dialogs.md) ### Can bots use this method: **YES** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Dialogs = $MadelineProto->channels->getDialogs(['offset' => int, 'limit' => int, ]); +$messages.Dialogs = $MadelineProto->channels->getDialogs(['offset' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Dialogs = channels.getDialogs({offset=int, limit=int, }) +messages.Dialogs = channels.getDialogs({offset=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v51/methods/channels.getFullChannel.md b/old_docs/API_docs_v51/methods/channels.getFullChannel.md index 08dc21bb..1369e0a0 100644 --- a/old_docs/API_docs_v51/methods/channels.getFullChannel.md +++ b/old_docs/API_docs_v51/methods/channels.getFullChannel.md @@ -16,7 +16,7 @@ You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo me |channel|[Username, chat ID, Update, Message or InputChannel](../types/InputChannel.md) | You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo methods instead (see https://docs.madelineproto.xyz for more info) | Optional| -### Return type: [messages\_ChatFull](../types/messages_ChatFull.md) +### Return type: [messages.ChatFull](../types/messages.ChatFull.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_ChatFull = $MadelineProto->channels->getFullChannel(['channel' => InputChannel, ]); +$messages.ChatFull = $MadelineProto->channels->getFullChannel(['channel' => InputChannel, ]); ``` Or, if you're into Lua: ```lua -messages_ChatFull = channels.getFullChannel({channel=InputChannel, }) +messages.ChatFull = channels.getFullChannel({channel=InputChannel, }) ``` ### Errors diff --git a/old_docs/API_docs_v51/methods/channels.getImportantHistory.md b/old_docs/API_docs_v51/methods/channels.getImportantHistory.md index 877fad8d..cd6f0083 100644 --- a/old_docs/API_docs_v51/methods/channels.getImportantHistory.md +++ b/old_docs/API_docs_v51/methods/channels.getImportantHistory.md @@ -22,7 +22,7 @@ Get important channel/supergroup history |min\_id|[int](../types/int.md) | Minumum message ID | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **YES** @@ -39,12 +39,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->channels->getImportantHistory(['channel' => InputChannel, 'offset_id' => int, 'offset_date' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); +$messages.Messages = $MadelineProto->channels->getImportantHistory(['channel' => InputChannel, 'offset_id' => int, 'offset_date' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Messages = channels.getImportantHistory({channel=InputChannel, offset_id=int, offset_date=int, add_offset=int, limit=int, max_id=int, min_id=int, }) +messages.Messages = channels.getImportantHistory({channel=InputChannel, offset_id=int, offset_date=int, add_offset=int, limit=int, max_id=int, min_id=int, }) ``` diff --git a/old_docs/API_docs_v51/methods/channels.getMessages.md b/old_docs/API_docs_v51/methods/channels.getMessages.md index 379e0e9d..5023ea1a 100644 --- a/old_docs/API_docs_v51/methods/channels.getMessages.md +++ b/old_docs/API_docs_v51/methods/channels.getMessages.md @@ -17,7 +17,7 @@ Get [channel/supergroup](https://core.telegram.org/api/channel) messages |id|Array of [int](../types/int.md) | The message IDs | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->channels->getMessages(['channel' => InputChannel, 'id' => [int, int], ]); +$messages.Messages = $MadelineProto->channels->getMessages(['channel' => InputChannel, 'id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Messages = channels.getMessages({channel=InputChannel, id={int}, }) +messages.Messages = channels.getMessages({channel=InputChannel, id={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v51/methods/channels.getParticipant.md b/old_docs/API_docs_v51/methods/channels.getParticipant.md index aa2ce655..cf6a7771 100644 --- a/old_docs/API_docs_v51/methods/channels.getParticipant.md +++ b/old_docs/API_docs_v51/methods/channels.getParticipant.md @@ -17,7 +17,7 @@ Get info about a [channel/supergroup](https://core.telegram.org/api/channel) par |user\_id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | ID of participant to get info about | Optional| -### Return type: [channels\_ChannelParticipant](../types/channels_ChannelParticipant.md) +### Return type: [channels.ChannelParticipant](../types/channels.ChannelParticipant.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$channels_ChannelParticipant = $MadelineProto->channels->getParticipant(['channel' => InputChannel, 'user_id' => InputUser, ]); +$channels.ChannelParticipant = $MadelineProto->channels->getParticipant(['channel' => InputChannel, 'user_id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -channels_ChannelParticipant = channels.getParticipant({channel=InputChannel, user_id=InputUser, }) +channels.ChannelParticipant = channels.getParticipant({channel=InputChannel, user_id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v51/methods/channels.getParticipants.md b/old_docs/API_docs_v51/methods/channels.getParticipants.md index 9be95921..bfeccd48 100644 --- a/old_docs/API_docs_v51/methods/channels.getParticipants.md +++ b/old_docs/API_docs_v51/methods/channels.getParticipants.md @@ -19,7 +19,7 @@ Get the participants of a channel |limit|[int](../types/int.md) | [Limit](https://core.telegram.org/api/offsets) | Yes| -### Return type: [channels\_ChannelParticipants](../types/channels_ChannelParticipants.md) +### Return type: [channels.ChannelParticipants](../types/channels.ChannelParticipants.md) ### Can bots use this method: **YES** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$channels_ChannelParticipants = $MadelineProto->channels->getParticipants(['channel' => InputChannel, 'filter' => ChannelParticipantsFilter, 'offset' => int, 'limit' => int, ]); +$channels.ChannelParticipants = $MadelineProto->channels->getParticipants(['channel' => InputChannel, 'filter' => ChannelParticipantsFilter, 'offset' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -channels_ChannelParticipants = channels.getParticipants({channel=InputChannel, filter=ChannelParticipantsFilter, offset=int, limit=int, }) +channels.ChannelParticipants = channels.getParticipants({channel=InputChannel, filter=ChannelParticipantsFilter, offset=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v51/methods/contacts.deleteContact.md b/old_docs/API_docs_v51/methods/contacts.deleteContact.md index a9321d64..9169e1e0 100644 --- a/old_docs/API_docs_v51/methods/contacts.deleteContact.md +++ b/old_docs/API_docs_v51/methods/contacts.deleteContact.md @@ -16,7 +16,7 @@ Delete a contact |id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | The contact to delete | Optional| -### Return type: [contacts\_Link](../types/contacts_Link.md) +### Return type: [contacts.Link](../types/contacts.Link.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Link = $MadelineProto->contacts->deleteContact(['id' => InputUser, ]); +$contacts.Link = $MadelineProto->contacts->deleteContact(['id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -contacts_Link = contacts.deleteContact({id=InputUser, }) +contacts.Link = contacts.deleteContact({id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v51/methods/contacts.getBlocked.md b/old_docs/API_docs_v51/methods/contacts.getBlocked.md index 92f2f331..6ac1c343 100644 --- a/old_docs/API_docs_v51/methods/contacts.getBlocked.md +++ b/old_docs/API_docs_v51/methods/contacts.getBlocked.md @@ -17,7 +17,7 @@ Returns the list of blocked users. |limit|[int](../types/int.md) | The number of list elements to be returned | Yes| -### Return type: [contacts\_Blocked](../types/contacts_Blocked.md) +### Return type: [contacts.Blocked](../types/contacts.Blocked.md) ### Can bots use this method: **NO** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Blocked = $MadelineProto->contacts->getBlocked(['offset' => int, 'limit' => int, ]); +$contacts.Blocked = $MadelineProto->contacts->getBlocked(['offset' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -contacts_Blocked = contacts.getBlocked({offset=int, limit=int, }) +contacts.Blocked = contacts.getBlocked({offset=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v51/methods/contacts.getContacts.md b/old_docs/API_docs_v51/methods/contacts.getContacts.md index caee7aa8..a2fcd412 100644 --- a/old_docs/API_docs_v51/methods/contacts.getContacts.md +++ b/old_docs/API_docs_v51/methods/contacts.getContacts.md @@ -16,7 +16,7 @@ Returns the current user's contact list. |hash|[string](../types/string.md) | List of contact user IDs you already cached | Yes| -### Return type: [contacts\_Contacts](../types/contacts_Contacts.md) +### Return type: [contacts.Contacts](../types/contacts.Contacts.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Contacts = $MadelineProto->contacts->getContacts(['hash' => 'string', ]); +$contacts.Contacts = $MadelineProto->contacts->getContacts(['hash' => 'string', ]); ``` Or, if you're into Lua: ```lua -contacts_Contacts = contacts.getContacts({hash='string', }) +contacts.Contacts = contacts.getContacts({hash='string', }) ``` diff --git a/old_docs/API_docs_v51/methods/contacts.importContacts.md b/old_docs/API_docs_v51/methods/contacts.importContacts.md index 572df9fb..975d0565 100644 --- a/old_docs/API_docs_v51/methods/contacts.importContacts.md +++ b/old_docs/API_docs_v51/methods/contacts.importContacts.md @@ -17,7 +17,7 @@ Imports contacts: saves a full list on the server, adds already registered conta |replace|[Bool](../types/Bool.md) | Replace contacts? | Yes| -### Return type: [contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) +### Return type: [contacts.ImportedContacts](../types/contacts.ImportedContacts.md) ### Can bots use this method: **NO** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_ImportedContacts = $MadelineProto->contacts->importContacts(['contacts' => [InputContact, InputContact], 'replace' => Bool, ]); +$contacts.ImportedContacts = $MadelineProto->contacts->importContacts(['contacts' => [InputContact, InputContact], 'replace' => Bool, ]); ``` Or, if you're into Lua: ```lua -contacts_ImportedContacts = contacts.importContacts({contacts={InputContact}, replace=Bool, }) +contacts.ImportedContacts = contacts.importContacts({contacts={InputContact}, replace=Bool, }) ``` diff --git a/old_docs/API_docs_v51/methods/contacts.resolveUsername.md b/old_docs/API_docs_v51/methods/contacts.resolveUsername.md index 05e3d854..46f1eb50 100644 --- a/old_docs/API_docs_v51/methods/contacts.resolveUsername.md +++ b/old_docs/API_docs_v51/methods/contacts.resolveUsername.md @@ -16,7 +16,7 @@ You cannot use this method directly, use the resolveUsername, getPwrChat, getInf |username|[string](../types/string.md) | You cannot use this method directly, use the resolveUsername, getPwrChat, getInfo, getFullInfo methods instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [contacts\_ResolvedPeer](../types/contacts_ResolvedPeer.md) +### Return type: [contacts.ResolvedPeer](../types/contacts.ResolvedPeer.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_ResolvedPeer = $MadelineProto->contacts->resolveUsername(['username' => 'string', ]); +$contacts.ResolvedPeer = $MadelineProto->contacts->resolveUsername(['username' => 'string', ]); ``` Or, if you're into Lua: ```lua -contacts_ResolvedPeer = contacts.resolveUsername({username='string', }) +contacts.ResolvedPeer = contacts.resolveUsername({username='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v51/methods/contacts.search.md b/old_docs/API_docs_v51/methods/contacts.search.md index 2f39d6f1..ec04c7f9 100644 --- a/old_docs/API_docs_v51/methods/contacts.search.md +++ b/old_docs/API_docs_v51/methods/contacts.search.md @@ -17,7 +17,7 @@ Returns users found by username substring. |limit|[int](../types/int.md) | Maximum number of users to be returned | Yes| -### Return type: [contacts\_Found](../types/contacts_Found.md) +### Return type: [contacts.Found](../types/contacts.Found.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Found = $MadelineProto->contacts->search(['q' => 'string', 'limit' => int, ]); +$contacts.Found = $MadelineProto->contacts->search(['q' => 'string', 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -contacts_Found = contacts.search({q='string', limit=int, }) +contacts.Found = contacts.search({q='string', limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v51/methods/help.getAppChangelog.md b/old_docs/API_docs_v51/methods/help.getAppChangelog.md index 890e3a4b..29bee8fb 100644 --- a/old_docs/API_docs_v51/methods/help.getAppChangelog.md +++ b/old_docs/API_docs_v51/methods/help.getAppChangelog.md @@ -19,7 +19,7 @@ Get changelog of current app |lang\_code|[string](../types/string.md) | Language code | Yes| -### Return type: [help\_AppChangelog](../types/help_AppChangelog.md) +### Return type: [help.AppChangelog](../types/help.AppChangelog.md) ### Can bots use this method: **NO** @@ -36,12 +36,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_AppChangelog = $MadelineProto->help->getAppChangelog(['device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'lang_code' => 'string', ]); +$help.AppChangelog = $MadelineProto->help->getAppChangelog(['device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'lang_code' => 'string', ]); ``` Or, if you're into Lua: ```lua -help_AppChangelog = help.getAppChangelog({device_model='string', system_version='string', app_version='string', lang_code='string', }) +help.AppChangelog = help.getAppChangelog({device_model='string', system_version='string', app_version='string', lang_code='string', }) ``` diff --git a/old_docs/API_docs_v51/methods/help.getAppUpdate.md b/old_docs/API_docs_v51/methods/help.getAppUpdate.md index 0f844391..bfbed19e 100644 --- a/old_docs/API_docs_v51/methods/help.getAppUpdate.md +++ b/old_docs/API_docs_v51/methods/help.getAppUpdate.md @@ -19,7 +19,7 @@ Returns information on update availability for the current application. |lang\_code|[string](../types/string.md) | Langauge code | Yes| -### Return type: [help\_AppUpdate](../types/help_AppUpdate.md) +### Return type: [help.AppUpdate](../types/help.AppUpdate.md) ### Can bots use this method: **NO** @@ -36,12 +36,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_AppUpdate = $MadelineProto->help->getAppUpdate(['device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'lang_code' => 'string', ]); +$help.AppUpdate = $MadelineProto->help->getAppUpdate(['device_model' => 'string', 'system_version' => 'string', 'app_version' => 'string', 'lang_code' => 'string', ]); ``` Or, if you're into Lua: ```lua -help_AppUpdate = help.getAppUpdate({device_model='string', system_version='string', app_version='string', lang_code='string', }) +help.AppUpdate = help.getAppUpdate({device_model='string', system_version='string', app_version='string', lang_code='string', }) ``` diff --git a/old_docs/API_docs_v51/methods/help.getInviteText.md b/old_docs/API_docs_v51/methods/help.getInviteText.md index 482afbc0..f84b2e82 100644 --- a/old_docs/API_docs_v51/methods/help.getInviteText.md +++ b/old_docs/API_docs_v51/methods/help.getInviteText.md @@ -16,7 +16,7 @@ Returns text of a text message with an invitation. |lang\_code|[string](../types/string.md) | Language | Yes| -### Return type: [help\_InviteText](../types/help_InviteText.md) +### Return type: [help.InviteText](../types/help.InviteText.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_InviteText = $MadelineProto->help->getInviteText(['lang_code' => 'string', ]); +$help.InviteText = $MadelineProto->help->getInviteText(['lang_code' => 'string', ]); ``` Or, if you're into Lua: ```lua -help_InviteText = help.getInviteText({lang_code='string', }) +help.InviteText = help.getInviteText({lang_code='string', }) ``` diff --git a/old_docs/API_docs_v51/methods/help.getSupport.md b/old_docs/API_docs_v51/methods/help.getSupport.md index 7a577892..8a8df916 100644 --- a/old_docs/API_docs_v51/methods/help.getSupport.md +++ b/old_docs/API_docs_v51/methods/help.getSupport.md @@ -11,7 +11,7 @@ Returns the support user for the 'ask a question' feature. -### Return type: [help\_Support](../types/help_Support.md) +### Return type: [help.Support](../types/help.Support.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_Support = $MadelineProto->help->getSupport(); +$help.Support = $MadelineProto->help->getSupport(); ``` Or, if you're into Lua: ```lua -help_Support = help.getSupport({}) +help.Support = help.getSupport({}) ``` diff --git a/old_docs/API_docs_v51/methods/help.getTermsOfService.md b/old_docs/API_docs_v51/methods/help.getTermsOfService.md index b6ae8378..fe267c6f 100644 --- a/old_docs/API_docs_v51/methods/help.getTermsOfService.md +++ b/old_docs/API_docs_v51/methods/help.getTermsOfService.md @@ -16,7 +16,7 @@ Get terms of service |lang\_code|[string](../types/string.md) | Language code | Yes| -### Return type: [help\_TermsOfService](../types/help_TermsOfService.md) +### Return type: [help.TermsOfService](../types/help.TermsOfService.md) ### Can bots use this method: **YES** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_TermsOfService = $MadelineProto->help->getTermsOfService(['lang_code' => 'string', ]); +$help.TermsOfService = $MadelineProto->help->getTermsOfService(['lang_code' => 'string', ]); ``` Or, if you're into Lua: ```lua -help_TermsOfService = help.getTermsOfService({lang_code='string', }) +help.TermsOfService = help.getTermsOfService({lang_code='string', }) ``` diff --git a/old_docs/API_docs_v51/methods/messages.deleteHistory.md b/old_docs/API_docs_v51/methods/messages.deleteHistory.md index f7f34456..9515d31c 100644 --- a/old_docs/API_docs_v51/methods/messages.deleteHistory.md +++ b/old_docs/API_docs_v51/methods/messages.deleteHistory.md @@ -17,7 +17,7 @@ Deletes communication history. |max\_id|[int](../types/int.md) | Maximum ID of message to delete | Yes| -### Return type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) +### Return type: [messages.AffectedHistory](../types/messages.AffectedHistory.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedHistory = $MadelineProto->messages->deleteHistory(['peer' => InputPeer, 'max_id' => int, ]); +$messages.AffectedHistory = $MadelineProto->messages->deleteHistory(['peer' => InputPeer, 'max_id' => int, ]); ``` Or, if you're into Lua: ```lua -messages_AffectedHistory = messages.deleteHistory({peer=InputPeer, max_id=int, }) +messages.AffectedHistory = messages.deleteHistory({peer=InputPeer, max_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v51/methods/messages.deleteMessages.md b/old_docs/API_docs_v51/methods/messages.deleteMessages.md index 355b2ff8..cc432cc1 100644 --- a/old_docs/API_docs_v51/methods/messages.deleteMessages.md +++ b/old_docs/API_docs_v51/methods/messages.deleteMessages.md @@ -16,7 +16,7 @@ Deletes messages by their identifiers. |id|Array of [int](../types/int.md) | IDs of messages to delete, use channels->deleteMessages for supergroups | Yes| -### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) +### Return type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedMessages = $MadelineProto->messages->deleteMessages(['id' => [int, int], ]); +$messages.AffectedMessages = $MadelineProto->messages->deleteMessages(['id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AffectedMessages = messages.deleteMessages({id={int}, }) +messages.AffectedMessages = messages.deleteMessages({id={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v51/methods/messages.getAllStickers.md b/old_docs/API_docs_v51/methods/messages.getAllStickers.md index 329b70be..0f0de7f1 100644 --- a/old_docs/API_docs_v51/methods/messages.getAllStickers.md +++ b/old_docs/API_docs_v51/methods/messages.getAllStickers.md @@ -16,7 +16,7 @@ Get all installed stickers |hash|Array of [int](../types/int.md) | The hash parameter of the previous result of this method | Optional| -### Return type: [messages\_AllStickers](../types/messages_AllStickers.md) +### Return type: [messages.AllStickers](../types/messages.AllStickers.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AllStickers = $MadelineProto->messages->getAllStickers(['hash' => [int, int], ]); +$messages.AllStickers = $MadelineProto->messages->getAllStickers(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AllStickers = messages.getAllStickers({hash={int}, }) +messages.AllStickers = messages.getAllStickers({hash={int}, }) ``` diff --git a/old_docs/API_docs_v51/methods/messages.getBotCallbackAnswer.md b/old_docs/API_docs_v51/methods/messages.getBotCallbackAnswer.md index 6884718c..f490ce9a 100644 --- a/old_docs/API_docs_v51/methods/messages.getBotCallbackAnswer.md +++ b/old_docs/API_docs_v51/methods/messages.getBotCallbackAnswer.md @@ -18,7 +18,7 @@ Press an inline callback button and get a callback answer from the bot |data|[bytes](../types/bytes.md) | Callback data | Yes| -### Return type: [messages\_BotCallbackAnswer](../types/messages_BotCallbackAnswer.md) +### Return type: [messages.BotCallbackAnswer](../types/messages.BotCallbackAnswer.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_BotCallbackAnswer = $MadelineProto->messages->getBotCallbackAnswer(['peer' => InputPeer, 'msg_id' => int, 'data' => 'bytes', ]); +$messages.BotCallbackAnswer = $MadelineProto->messages->getBotCallbackAnswer(['peer' => InputPeer, 'msg_id' => int, 'data' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -messages_BotCallbackAnswer = messages.getBotCallbackAnswer({peer=InputPeer, msg_id=int, data='bytes', }) +messages.BotCallbackAnswer = messages.getBotCallbackAnswer({peer=InputPeer, msg_id=int, data='bytes', }) ``` ### Errors diff --git a/old_docs/API_docs_v51/methods/messages.getChats.md b/old_docs/API_docs_v51/methods/messages.getChats.md index c34b0488..146341f5 100644 --- a/old_docs/API_docs_v51/methods/messages.getChats.md +++ b/old_docs/API_docs_v51/methods/messages.getChats.md @@ -16,7 +16,7 @@ Returns chat basic info on their IDs. |id|Array of [int](../types/int.md) | The MTProto IDs of chats to fetch info about | Yes| -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->messages->getChats(['id' => [int, int], ]); +$messages.Chats = $MadelineProto->messages->getChats(['id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Chats = messages.getChats({id={int}, }) +messages.Chats = messages.getChats({id={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v51/methods/messages.getDhConfig.md b/old_docs/API_docs_v51/methods/messages.getDhConfig.md index 88ea4ab3..7b9da566 100644 --- a/old_docs/API_docs_v51/methods/messages.getDhConfig.md +++ b/old_docs/API_docs_v51/methods/messages.getDhConfig.md @@ -17,7 +17,7 @@ You cannot use this method directly, instead use $MadelineProto->getDhConfig(); |random\_length|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->getDhConfig(); | Yes| -### Return type: [messages\_DhConfig](../types/messages_DhConfig.md) +### Return type: [messages.DhConfig](../types/messages.DhConfig.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_DhConfig = $MadelineProto->messages->getDhConfig(['version' => int, 'random_length' => int, ]); +$messages.DhConfig = $MadelineProto->messages->getDhConfig(['version' => int, 'random_length' => int, ]); ``` Or, if you're into Lua: ```lua -messages_DhConfig = messages.getDhConfig({version=int, random_length=int, }) +messages.DhConfig = messages.getDhConfig({version=int, random_length=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v51/methods/messages.getDialogs.md b/old_docs/API_docs_v51/methods/messages.getDialogs.md index f262b574..6e246feb 100644 --- a/old_docs/API_docs_v51/methods/messages.getDialogs.md +++ b/old_docs/API_docs_v51/methods/messages.getDialogs.md @@ -19,7 +19,7 @@ Returns the current user dialog list. |limit|[int](../types/int.md) | Number of list elements to be returned | Yes| -### Return type: [messages\_Dialogs](../types/messages_Dialogs.md) +### Return type: [messages.Dialogs](../types/messages.Dialogs.md) ### Can bots use this method: **NO** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Dialogs = $MadelineProto->messages->getDialogs(['offset_date' => int, 'offset_id' => int, 'offset_peer' => InputPeer, 'limit' => int, ]); +$messages.Dialogs = $MadelineProto->messages->getDialogs(['offset_date' => int, 'offset_id' => int, 'offset_peer' => InputPeer, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Dialogs = messages.getDialogs({offset_date=int, offset_id=int, offset_peer=InputPeer, limit=int, }) +messages.Dialogs = messages.getDialogs({offset_date=int, offset_id=int, offset_peer=InputPeer, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v51/methods/messages.getFullChat.md b/old_docs/API_docs_v51/methods/messages.getFullChat.md index abf23e21..de543651 100644 --- a/old_docs/API_docs_v51/methods/messages.getFullChat.md +++ b/old_docs/API_docs_v51/methods/messages.getFullChat.md @@ -16,7 +16,7 @@ You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo me |chat\_id|[Username, chat ID, Update, Message or InputPeer](../types/InputPeer.md) | You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo methods instead (see https://docs.madelineproto.xyz for more info) | Optional| -### Return type: [messages\_ChatFull](../types/messages_ChatFull.md) +### Return type: [messages.ChatFull](../types/messages.ChatFull.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_ChatFull = $MadelineProto->messages->getFullChat(['chat_id' => InputPeer, ]); +$messages.ChatFull = $MadelineProto->messages->getFullChat(['chat_id' => InputPeer, ]); ``` Or, if you're into Lua: ```lua -messages_ChatFull = messages.getFullChat({chat_id=InputPeer, }) +messages.ChatFull = messages.getFullChat({chat_id=InputPeer, }) ``` ### Errors diff --git a/old_docs/API_docs_v51/methods/messages.getHistory.md b/old_docs/API_docs_v51/methods/messages.getHistory.md index 636183d2..8e012da1 100644 --- a/old_docs/API_docs_v51/methods/messages.getHistory.md +++ b/old_docs/API_docs_v51/methods/messages.getHistory.md @@ -22,7 +22,7 @@ Gets back the conversation history with one interlocutor / within a chat |min\_id|[int](../types/int.md) | If a positive value was transferred, the method will return only messages with IDs more than **min\_id** | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **NO** @@ -39,13 +39,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->getHistory(['peer' => InputPeer, 'offset_id' => int, 'offset_date' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); +$messages.Messages = $MadelineProto->messages->getHistory(['peer' => InputPeer, 'offset_id' => int, 'offset_date' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.getHistory({peer=InputPeer, offset_id=int, offset_date=int, add_offset=int, limit=int, max_id=int, min_id=int, }) +messages.Messages = messages.getHistory({peer=InputPeer, offset_id=int, offset_date=int, add_offset=int, limit=int, max_id=int, min_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v51/methods/messages.getInlineBotResults.md b/old_docs/API_docs_v51/methods/messages.getInlineBotResults.md index ac251797..8a397236 100644 --- a/old_docs/API_docs_v51/methods/messages.getInlineBotResults.md +++ b/old_docs/API_docs_v51/methods/messages.getInlineBotResults.md @@ -20,7 +20,7 @@ Query an inline bot |offset|[string](../types/string.md) | The offset within the results, will be passed directly as-is to the bot. | Yes| -### Return type: [messages\_BotResults](../types/messages_BotResults.md) +### Return type: [messages.BotResults](../types/messages.BotResults.md) ### Can bots use this method: **NO** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_BotResults = $MadelineProto->messages->getInlineBotResults(['bot' => InputUser, 'peer' => InputPeer, 'geo_point' => InputGeoPoint, 'query' => 'string', 'offset' => 'string', ]); +$messages.BotResults = $MadelineProto->messages->getInlineBotResults(['bot' => InputUser, 'peer' => InputPeer, 'geo_point' => InputGeoPoint, 'query' => 'string', 'offset' => 'string', ]); ``` Or, if you're into Lua: ```lua -messages_BotResults = messages.getInlineBotResults({bot=InputUser, peer=InputPeer, geo_point=InputGeoPoint, query='string', offset='string', }) +messages.BotResults = messages.getInlineBotResults({bot=InputUser, peer=InputPeer, geo_point=InputGeoPoint, query='string', offset='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v51/methods/messages.getMessageEditData.md b/old_docs/API_docs_v51/methods/messages.getMessageEditData.md index 1a083f08..7fd32e82 100644 --- a/old_docs/API_docs_v51/methods/messages.getMessageEditData.md +++ b/old_docs/API_docs_v51/methods/messages.getMessageEditData.md @@ -17,7 +17,7 @@ Find out if a media message's caption can be edited |id|[int](../types/int.md) | ID of message | Yes| -### Return type: [messages\_MessageEditData](../types/messages_MessageEditData.md) +### Return type: [messages.MessageEditData](../types/messages.MessageEditData.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_MessageEditData = $MadelineProto->messages->getMessageEditData(['peer' => InputPeer, 'id' => int, ]); +$messages.MessageEditData = $MadelineProto->messages->getMessageEditData(['peer' => InputPeer, 'id' => int, ]); ``` Or, if you're into Lua: ```lua -messages_MessageEditData = messages.getMessageEditData({peer=InputPeer, id=int, }) +messages.MessageEditData = messages.getMessageEditData({peer=InputPeer, id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v51/methods/messages.getMessages.md b/old_docs/API_docs_v51/methods/messages.getMessages.md index a3139513..c7760d7e 100644 --- a/old_docs/API_docs_v51/methods/messages.getMessages.md +++ b/old_docs/API_docs_v51/methods/messages.getMessages.md @@ -16,7 +16,7 @@ Returns the list of messages by their IDs. |id|Array of [int](../types/int.md) | The IDs of messages to fetch (only for users and normal groups) | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **YES** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->getMessages(['id' => [int, int], ]); +$messages.Messages = $MadelineProto->messages->getMessages(['id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.getMessages({id={int}, }) +messages.Messages = messages.getMessages({id={int}, }) ``` diff --git a/old_docs/API_docs_v51/methods/messages.getSavedGifs.md b/old_docs/API_docs_v51/methods/messages.getSavedGifs.md index 1df7f37c..8b31f7b8 100644 --- a/old_docs/API_docs_v51/methods/messages.getSavedGifs.md +++ b/old_docs/API_docs_v51/methods/messages.getSavedGifs.md @@ -16,7 +16,7 @@ Get saved GIFs |hash|Array of [int](../types/int.md) | the hash parameter of the previous result of this method | Optional| -### Return type: [messages\_SavedGifs](../types/messages_SavedGifs.md) +### Return type: [messages.SavedGifs](../types/messages.SavedGifs.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_SavedGifs = $MadelineProto->messages->getSavedGifs(['hash' => [int, int], ]); +$messages.SavedGifs = $MadelineProto->messages->getSavedGifs(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_SavedGifs = messages.getSavedGifs({hash={int}, }) +messages.SavedGifs = messages.getSavedGifs({hash={int}, }) ``` diff --git a/old_docs/API_docs_v51/methods/messages.getStickerSet.md b/old_docs/API_docs_v51/methods/messages.getStickerSet.md index 45fca60f..f11887ee 100644 --- a/old_docs/API_docs_v51/methods/messages.getStickerSet.md +++ b/old_docs/API_docs_v51/methods/messages.getStickerSet.md @@ -16,7 +16,7 @@ Get info about a stickerset |stickerset|[InputStickerSet](../types/InputStickerSet.md) | Stickerset | Optional| -### Return type: [messages\_StickerSet](../types/messages_StickerSet.md) +### Return type: [messages.StickerSet](../types/messages.StickerSet.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StickerSet = $MadelineProto->messages->getStickerSet(['stickerset' => InputStickerSet, ]); +$messages.StickerSet = $MadelineProto->messages->getStickerSet(['stickerset' => InputStickerSet, ]); ``` Or, if you're into Lua: ```lua -messages_StickerSet = messages.getStickerSet({stickerset=InputStickerSet, }) +messages.StickerSet = messages.getStickerSet({stickerset=InputStickerSet, }) ``` ### Errors diff --git a/old_docs/API_docs_v51/methods/messages.getStickers.md b/old_docs/API_docs_v51/methods/messages.getStickers.md index aa149fc3..6fab91a5 100644 --- a/old_docs/API_docs_v51/methods/messages.getStickers.md +++ b/old_docs/API_docs_v51/methods/messages.getStickers.md @@ -17,7 +17,7 @@ Get stickers by emoji |hash|[string](../types/string.md) | Previously fetched sticker IDs | Yes| -### Return type: [messages\_Stickers](../types/messages_Stickers.md) +### Return type: [messages.Stickers](../types/messages.Stickers.md) ### Can bots use this method: **NO** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Stickers = $MadelineProto->messages->getStickers(['emoticon' => 'string', 'hash' => 'string', ]); +$messages.Stickers = $MadelineProto->messages->getStickers(['emoticon' => 'string', 'hash' => 'string', ]); ``` Or, if you're into Lua: ```lua -messages_Stickers = messages.getStickers({emoticon='string', hash='string', }) +messages.Stickers = messages.getStickers({emoticon='string', hash='string', }) ``` diff --git a/old_docs/API_docs_v51/methods/messages.readHistory.md b/old_docs/API_docs_v51/methods/messages.readHistory.md index 39753375..52030c68 100644 --- a/old_docs/API_docs_v51/methods/messages.readHistory.md +++ b/old_docs/API_docs_v51/methods/messages.readHistory.md @@ -17,7 +17,7 @@ Marks message history as read. |max\_id|[int](../types/int.md) | If a positive value is passed, only messages with identifiers less or equal than the given one will be read | Yes| -### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) +### Return type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedMessages = $MadelineProto->messages->readHistory(['peer' => InputPeer, 'max_id' => int, ]); +$messages.AffectedMessages = $MadelineProto->messages->readHistory(['peer' => InputPeer, 'max_id' => int, ]); ``` Or, if you're into Lua: ```lua -messages_AffectedMessages = messages.readHistory({peer=InputPeer, max_id=int, }) +messages.AffectedMessages = messages.readHistory({peer=InputPeer, max_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v51/methods/messages.readMessageContents.md b/old_docs/API_docs_v51/methods/messages.readMessageContents.md index c479cafe..9798e661 100644 --- a/old_docs/API_docs_v51/methods/messages.readMessageContents.md +++ b/old_docs/API_docs_v51/methods/messages.readMessageContents.md @@ -16,7 +16,7 @@ Notifies the sender about the recipient having listened a voice message or watch |id|Array of [int](../types/int.md) | The messages to mark as read (only users and normal chats, not supergroups) | Yes| -### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) +### Return type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedMessages = $MadelineProto->messages->readMessageContents(['id' => [int, int], ]); +$messages.AffectedMessages = $MadelineProto->messages->readMessageContents(['id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AffectedMessages = messages.readMessageContents({id={int}, }) +messages.AffectedMessages = messages.readMessageContents({id={int}, }) ``` diff --git a/old_docs/API_docs_v51/methods/messages.search.md b/old_docs/API_docs_v51/methods/messages.search.md index 1210be77..28664a8d 100644 --- a/old_docs/API_docs_v51/methods/messages.search.md +++ b/old_docs/API_docs_v51/methods/messages.search.md @@ -24,7 +24,7 @@ Gets back found messages |limit|[int](../types/int.md) | [Number of results to return](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **NO** @@ -41,13 +41,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->search(['important_only' => Bool, 'peer' => InputPeer, 'q' => 'string', 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); +$messages.Messages = $MadelineProto->messages->search(['important_only' => Bool, 'peer' => InputPeer, 'q' => 'string', 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.search({important_only=Bool, peer=InputPeer, q='string', filter=MessagesFilter, min_date=int, max_date=int, offset=int, max_id=int, limit=int, }) +messages.Messages = messages.search({important_only=Bool, peer=InputPeer, q='string', filter=MessagesFilter, min_date=int, max_date=int, offset=int, max_id=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v51/methods/messages.searchGifs.md b/old_docs/API_docs_v51/methods/messages.searchGifs.md index 851371d7..193a0cd4 100644 --- a/old_docs/API_docs_v51/methods/messages.searchGifs.md +++ b/old_docs/API_docs_v51/methods/messages.searchGifs.md @@ -17,7 +17,7 @@ Search for GIFs |offset|[int](../types/int.md) | Offset for [pagination »](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_FoundGifs](../types/messages_FoundGifs.md) +### Return type: [messages.FoundGifs](../types/messages.FoundGifs.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_FoundGifs = $MadelineProto->messages->searchGifs(['q' => 'string', 'offset' => int, ]); +$messages.FoundGifs = $MadelineProto->messages->searchGifs(['q' => 'string', 'offset' => int, ]); ``` Or, if you're into Lua: ```lua -messages_FoundGifs = messages.searchGifs({q='string', offset=int, }) +messages.FoundGifs = messages.searchGifs({q='string', offset=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v51/methods/messages.searchGlobal.md b/old_docs/API_docs_v51/methods/messages.searchGlobal.md index 4bd59f25..1a3b736d 100644 --- a/old_docs/API_docs_v51/methods/messages.searchGlobal.md +++ b/old_docs/API_docs_v51/methods/messages.searchGlobal.md @@ -20,7 +20,7 @@ Search for messages and peers globally |limit|[int](../types/int.md) | [Offsets for pagination, for more info click here](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **NO** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->searchGlobal(['q' => 'string', 'offset_date' => int, 'offset_peer' => InputPeer, 'offset_id' => int, 'limit' => int, ]); +$messages.Messages = $MadelineProto->messages->searchGlobal(['q' => 'string', 'offset_date' => int, 'offset_peer' => InputPeer, 'offset_id' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.searchGlobal({q='string', offset_date=int, offset_peer=InputPeer, offset_id=int, limit=int, }) +messages.Messages = messages.searchGlobal({q='string', offset_date=int, offset_peer=InputPeer, offset_id=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v51/methods/messages.sendEncrypted.md b/old_docs/API_docs_v51/methods/messages.sendEncrypted.md index 47b5ef29..6a68b563 100644 --- a/old_docs/API_docs_v51/methods/messages.sendEncrypted.md +++ b/old_docs/API_docs_v51/methods/messages.sendEncrypted.md @@ -14,10 +14,10 @@ Sends a text message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|message|[DecryptedMessage](../types/DecryptedMessage.md) | The message to send | Yes| +|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key that was created during chat initialization | Yes| -### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ### Can bots use this method: **NO** @@ -34,21 +34,15 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncrypted(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); +$messages.SentEncryptedMessage = $MadelineProto->messages->sendEncrypted(['peer' => InputEncryptedChat, 'data' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -messages_SentEncryptedMessage = messages.sendEncrypted({peer=InputEncryptedChat, message=DecryptedMessage, }) +messages.SentEncryptedMessage = messages.sendEncrypted({peer=InputEncryptedChat, data='bytes', }) ``` - -## Return value - -If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) will be returned instead. - - ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v51/methods/messages.sendEncryptedFile.md b/old_docs/API_docs_v51/methods/messages.sendEncryptedFile.md index 4e0f7b7f..87185ba4 100644 --- a/old_docs/API_docs_v51/methods/messages.sendEncryptedFile.md +++ b/old_docs/API_docs_v51/methods/messages.sendEncryptedFile.md @@ -14,11 +14,11 @@ Sends a message with a file attachment to a secret chat | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|message|[DecryptedMessage](../types/DecryptedMessage.md) | The message with the file | Yes| +|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| |file|[File path or InputEncryptedFile](../types/InputEncryptedFile.md) | File attachment for the secret chat | Optional| -### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ### Can bots use this method: **NO** @@ -35,21 +35,15 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedFile(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, 'file' => InputEncryptedFile, ]); +$messages.SentEncryptedMessage = $MadelineProto->messages->sendEncryptedFile(['peer' => InputEncryptedChat, 'data' => 'bytes', 'file' => InputEncryptedFile, ]); ``` Or, if you're into Lua: ```lua -messages_SentEncryptedMessage = messages.sendEncryptedFile({peer=InputEncryptedChat, message=DecryptedMessage, file=InputEncryptedFile, }) +messages.SentEncryptedMessage = messages.sendEncryptedFile({peer=InputEncryptedChat, data='bytes', file=InputEncryptedFile, }) ``` - -## Return value - -If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) will be returned instead. - - ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v51/methods/messages.sendEncryptedService.md b/old_docs/API_docs_v51/methods/messages.sendEncryptedService.md index 86925ae3..38171272 100644 --- a/old_docs/API_docs_v51/methods/messages.sendEncryptedService.md +++ b/old_docs/API_docs_v51/methods/messages.sendEncryptedService.md @@ -14,10 +14,10 @@ Sends a service message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|message|[DecryptedMessage](../types/DecryptedMessage.md) | The service message | Yes| +|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| -### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ### Can bots use this method: **NO** @@ -34,21 +34,15 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedService(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); +$messages.SentEncryptedMessage = $MadelineProto->messages->sendEncryptedService(['peer' => InputEncryptedChat, 'data' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -messages_SentEncryptedMessage = messages.sendEncryptedService({peer=InputEncryptedChat, message=DecryptedMessage, }) +messages.SentEncryptedMessage = messages.sendEncryptedService({peer=InputEncryptedChat, data='bytes', }) ``` - -## Return value - -If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) will be returned instead. - - ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v51/methods/photos.getUserPhotos.md b/old_docs/API_docs_v51/methods/photos.getUserPhotos.md index a1dec2ed..1f8d5c64 100644 --- a/old_docs/API_docs_v51/methods/photos.getUserPhotos.md +++ b/old_docs/API_docs_v51/methods/photos.getUserPhotos.md @@ -19,7 +19,7 @@ Returns the list of user photos. |limit|[int](../types/int.md) | Number of list elements to be returned | Yes| -### Return type: [photos\_Photos](../types/photos_Photos.md) +### Return type: [photos.Photos](../types/photos.Photos.md) ### Can bots use this method: **YES** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$photos_Photos = $MadelineProto->photos->getUserPhotos(['user_id' => InputUser, 'offset' => int, 'max_id' => long, 'limit' => int, ]); +$photos.Photos = $MadelineProto->photos->getUserPhotos(['user_id' => InputUser, 'offset' => int, 'max_id' => long, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -photos_Photos = photos.getUserPhotos({user_id=InputUser, offset=int, max_id=long, limit=int, }) +photos.Photos = photos.getUserPhotos({user_id=InputUser, offset=int, max_id=long, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v51/methods/photos.uploadProfilePhoto.md b/old_docs/API_docs_v51/methods/photos.uploadProfilePhoto.md index 337dcc21..18b2b4c6 100644 --- a/old_docs/API_docs_v51/methods/photos.uploadProfilePhoto.md +++ b/old_docs/API_docs_v51/methods/photos.uploadProfilePhoto.md @@ -19,7 +19,7 @@ Updates current user profile photo. |crop|[InputPhotoCrop](../types/InputPhotoCrop.md) | Cropping info | Yes| -### Return type: [photos\_Photo](../types/photos_Photo.md) +### Return type: [photos.Photo](../types/photos.Photo.md) ### Can bots use this method: **NO** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$photos_Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, 'caption' => 'string', 'geo_point' => InputGeoPoint, 'crop' => InputPhotoCrop, ]); +$photos.Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, 'caption' => 'string', 'geo_point' => InputGeoPoint, 'crop' => InputPhotoCrop, ]); ``` Or, if you're into Lua: ```lua -photos_Photo = photos.uploadProfilePhoto({file=InputFile, caption='string', geo_point=InputGeoPoint, crop=InputPhotoCrop, }) +photos.Photo = photos.uploadProfilePhoto({file=InputFile, caption='string', geo_point=InputGeoPoint, crop=InputPhotoCrop, }) ``` ### Errors diff --git a/old_docs/API_docs_v51/methods/updates.getChannelDifference.md b/old_docs/API_docs_v51/methods/updates.getChannelDifference.md index 77a45636..79adf4b1 100644 --- a/old_docs/API_docs_v51/methods/updates.getChannelDifference.md +++ b/old_docs/API_docs_v51/methods/updates.getChannelDifference.md @@ -19,7 +19,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz for more |limit|[int](../types/int.md) | You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates | Yes| -### Return type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) +### Return type: [updates.ChannelDifference](../types/updates.ChannelDifference.md) ### Can bots use this method: **YES** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$updates_ChannelDifference = $MadelineProto->updates->getChannelDifference(['channel' => InputChannel, 'filter' => ChannelMessagesFilter, 'pts' => int, 'limit' => int, ]); +$updates.ChannelDifference = $MadelineProto->updates->getChannelDifference(['channel' => InputChannel, 'filter' => ChannelMessagesFilter, 'pts' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -updates_ChannelDifference = updates.getChannelDifference({channel=InputChannel, filter=ChannelMessagesFilter, pts=int, limit=int, }) +updates.ChannelDifference = updates.getChannelDifference({channel=InputChannel, filter=ChannelMessagesFilter, pts=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v51/methods/updates.getDifference.md b/old_docs/API_docs_v51/methods/updates.getDifference.md index 57ea6d99..061a5c8f 100644 --- a/old_docs/API_docs_v51/methods/updates.getDifference.md +++ b/old_docs/API_docs_v51/methods/updates.getDifference.md @@ -18,7 +18,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz for more |qts|[int](../types/int.md) | You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates | Yes| -### Return type: [updates\_Difference](../types/updates_Difference.md) +### Return type: [updates.Difference](../types/updates.Difference.md) ### Can bots use this method: **YES** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$updates_Difference = $MadelineProto->updates->getDifference(['pts' => int, 'date' => int, 'qts' => int, ]); +$updates.Difference = $MadelineProto->updates->getDifference(['pts' => int, 'date' => int, 'qts' => int, ]); ``` Or, if you're into Lua: ```lua -updates_Difference = updates.getDifference({pts=int, date=int, qts=int, }) +updates.Difference = updates.getDifference({pts=int, date=int, qts=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v51/methods/updates.getState.md b/old_docs/API_docs_v51/methods/updates.getState.md index c591408a..9a7d2f34 100644 --- a/old_docs/API_docs_v51/methods/updates.getState.md +++ b/old_docs/API_docs_v51/methods/updates.getState.md @@ -11,7 +11,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz for more -### Return type: [updates\_State](../types/updates_State.md) +### Return type: [updates.State](../types/updates.State.md) ### Can bots use this method: **YES** @@ -28,13 +28,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$updates_State = $MadelineProto->updates->getState(); +$updates.State = $MadelineProto->updates->getState(); ``` Or, if you're into Lua: ```lua -updates_State = updates.getState({}) +updates.State = updates.getState({}) ``` ### Errors diff --git a/old_docs/API_docs_v51/methods/upload.getFile.md b/old_docs/API_docs_v51/methods/upload.getFile.md index 8aba03d4..ab9f4fe2 100644 --- a/old_docs/API_docs_v51/methods/upload.getFile.md +++ b/old_docs/API_docs_v51/methods/upload.getFile.md @@ -18,7 +18,7 @@ You cannot use this method directly, use the upload, downloadToStream, downloadT |limit|[int](../types/int.md) | You cannot use this method directly, use the upload, downloadToStream, downloadToFile, downloadToDir methods instead; see https://docs.madelineproto.xyz for more info | Yes| -### Return type: [upload\_File](../types/upload_File.md) +### Return type: [upload.File](../types/upload.File.md) ### Can bots use this method: **YES** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$upload_File = $MadelineProto->upload->getFile(['location' => InputFileLocation, 'offset' => int, 'limit' => int, ]); +$upload.File = $MadelineProto->upload->getFile(['location' => InputFileLocation, 'offset' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -upload_File = upload.getFile({location=InputFileLocation, offset=int, limit=int, }) +upload.File = upload.getFile({location=InputFileLocation, offset=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v51/types/AccountDaysTTL.md b/old_docs/API_docs_v51/types/AccountDaysTTL.md index 12a10190..f3494aac 100644 --- a/old_docs/API_docs_v51/types/AccountDaysTTL.md +++ b/old_docs/API_docs_v51/types/AccountDaysTTL.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->account->getAccountTTL](../methods/account_getAccountTTL.md) +[$MadelineProto->account->getAccountTTL](../methods/account.getAccountTTL.md) diff --git a/old_docs/API_docs_v51/types/ChatInvite.md b/old_docs/API_docs_v51/types/ChatInvite.md index 5022a2f0..9fafabb4 100644 --- a/old_docs/API_docs_v51/types/ChatInvite.md +++ b/old_docs/API_docs_v51/types/ChatInvite.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->checkChatInvite](../methods/messages_checkChatInvite.md) +[$MadelineProto->messages->checkChatInvite](../methods/messages.checkChatInvite.md) diff --git a/old_docs/API_docs_v51/types/Config.md b/old_docs/API_docs_v51/types/Config.md index 0f7fbe70..3a23b7b7 100644 --- a/old_docs/API_docs_v51/types/Config.md +++ b/old_docs/API_docs_v51/types/Config.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->help->getConfig](../methods/help_getConfig.md) +[$MadelineProto->help->getConfig](../methods/help.getConfig.md) diff --git a/old_docs/API_docs_v51/types/ContactStatus.md b/old_docs/API_docs_v51/types/ContactStatus.md index c5f5d658..30aee6e2 100644 --- a/old_docs/API_docs_v51/types/ContactStatus.md +++ b/old_docs/API_docs_v51/types/ContactStatus.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->contacts->getStatuses](../methods/contacts_getStatuses.md) +[$MadelineProto->contacts->getStatuses](../methods/contacts.getStatuses.md) diff --git a/old_docs/API_docs_v51/types/Document.md b/old_docs/API_docs_v51/types/Document.md index f68b7aa4..2cb85623 100644 --- a/old_docs/API_docs_v51/types/Document.md +++ b/old_docs/API_docs_v51/types/Document.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getDocumentByHash](../methods/messages_getDocumentByHash.md) +[$MadelineProto->messages->getDocumentByHash](../methods/messages.getDocumentByHash.md) diff --git a/old_docs/API_docs_v51/types/EncryptedChat.md b/old_docs/API_docs_v51/types/EncryptedChat.md index fd2277f6..19cf52b0 100644 --- a/old_docs/API_docs_v51/types/EncryptedChat.md +++ b/old_docs/API_docs_v51/types/EncryptedChat.md @@ -24,9 +24,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->requestEncryption](../methods/messages_requestEncryption.md) +[$MadelineProto->messages->requestEncryption](../methods/messages.requestEncryption.md) -[$MadelineProto->messages->acceptEncryption](../methods/messages_acceptEncryption.md) +[$MadelineProto->messages->acceptEncryption](../methods/messages.acceptEncryption.md) diff --git a/old_docs/API_docs_v51/types/ExportedChatInvite.md b/old_docs/API_docs_v51/types/ExportedChatInvite.md index 4213a78f..53ce5f59 100644 --- a/old_docs/API_docs_v51/types/ExportedChatInvite.md +++ b/old_docs/API_docs_v51/types/ExportedChatInvite.md @@ -18,9 +18,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->exportChatInvite](../methods/messages_exportChatInvite.md) +[$MadelineProto->messages->exportChatInvite](../methods/messages.exportChatInvite.md) -[$MadelineProto->channels->exportInvite](../methods/channels_exportInvite.md) +[$MadelineProto->channels->exportInvite](../methods/channels.exportInvite.md) diff --git a/old_docs/API_docs_v51/types/ExportedMessageLink.md b/old_docs/API_docs_v51/types/ExportedMessageLink.md index eb2400f6..948e9c90 100644 --- a/old_docs/API_docs_v51/types/ExportedMessageLink.md +++ b/old_docs/API_docs_v51/types/ExportedMessageLink.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->channels->exportMessageLink](../methods/channels_exportMessageLink.md) +[$MadelineProto->channels->exportMessageLink](../methods/channels.exportMessageLink.md) diff --git a/old_docs/API_docs_v51/types/MessageMedia.md b/old_docs/API_docs_v51/types/MessageMedia.md index 288d00e1..872ff1ba 100644 --- a/old_docs/API_docs_v51/types/MessageMedia.md +++ b/old_docs/API_docs_v51/types/MessageMedia.md @@ -30,7 +30,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getWebPagePreview](../methods/messages_getWebPagePreview.md) +[$MadelineProto->messages->getWebPagePreview](../methods/messages.getWebPagePreview.md) diff --git a/old_docs/API_docs_v51/types/NearestDc.md b/old_docs/API_docs_v51/types/NearestDc.md index 31f24377..296a4dff 100644 --- a/old_docs/API_docs_v51/types/NearestDc.md +++ b/old_docs/API_docs_v51/types/NearestDc.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->help->getNearestDc](../methods/help_getNearestDc.md) +[$MadelineProto->help->getNearestDc](../methods/help.getNearestDc.md) diff --git a/old_docs/API_docs_v51/types/PeerNotifySettings.md b/old_docs/API_docs_v51/types/PeerNotifySettings.md index 769de075..3d72b7c5 100644 --- a/old_docs/API_docs_v51/types/PeerNotifySettings.md +++ b/old_docs/API_docs_v51/types/PeerNotifySettings.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->account->getNotifySettings](../methods/account_getNotifySettings.md) +[$MadelineProto->account->getNotifySettings](../methods/account.getNotifySettings.md) diff --git a/old_docs/API_docs_v51/types/PeerSettings.md b/old_docs/API_docs_v51/types/PeerSettings.md index 60ac3765..31ef7e38 100644 --- a/old_docs/API_docs_v51/types/PeerSettings.md +++ b/old_docs/API_docs_v51/types/PeerSettings.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getPeerSettings](../methods/messages_getPeerSettings.md) +[$MadelineProto->messages->getPeerSettings](../methods/messages.getPeerSettings.md) diff --git a/old_docs/API_docs_v51/types/README.md b/old_docs/API_docs_v51/types/README.md index 8df47f1b..5a1e486a 100644 --- a/old_docs/API_docs_v51/types/README.md +++ b/old_docs/API_docs_v51/types/README.md @@ -207,103 +207,103 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png [X](X.md) -[account\_Authorizations](account_Authorizations.md) +[account.Authorizations](account.Authorizations.md) -[account\_Password](account_Password.md) +[account.Password](account.Password.md) -[account\_PasswordInputSettings](account_PasswordInputSettings.md) +[account.PasswordInputSettings](account.PasswordInputSettings.md) -[account\_PasswordSettings](account_PasswordSettings.md) +[account.PasswordSettings](account.PasswordSettings.md) -[account\_PrivacyRules](account_PrivacyRules.md) +[account.PrivacyRules](account.PrivacyRules.md) -[auth\_Authorization](auth_Authorization.md) +[auth.Authorization](auth.Authorization.md) -[auth\_CheckedPhone](auth_CheckedPhone.md) +[auth.CheckedPhone](auth.CheckedPhone.md) -[auth\_CodeType](auth_CodeType.md) +[auth.CodeType](auth.CodeType.md) -[auth\_ExportedAuthorization](auth_ExportedAuthorization.md) +[auth.ExportedAuthorization](auth.ExportedAuthorization.md) -[auth\_PasswordRecovery](auth_PasswordRecovery.md) +[auth.PasswordRecovery](auth.PasswordRecovery.md) -[auth\_SentCode](auth_SentCode.md) +[auth.SentCode](auth.SentCode.md) -[auth\_SentCodeType](auth_SentCodeType.md) +[auth.SentCodeType](auth.SentCodeType.md) -[channels\_ChannelParticipant](channels_ChannelParticipant.md) +[channels.ChannelParticipant](channels.ChannelParticipant.md) -[channels\_ChannelParticipants](channels_ChannelParticipants.md) +[channels.ChannelParticipants](channels.ChannelParticipants.md) -[contacts\_Blocked](contacts_Blocked.md) +[contacts.Blocked](contacts.Blocked.md) -[contacts\_Contacts](contacts_Contacts.md) +[contacts.Contacts](contacts.Contacts.md) -[contacts\_Found](contacts_Found.md) +[contacts.Found](contacts.Found.md) -[contacts\_ImportedContacts](contacts_ImportedContacts.md) +[contacts.ImportedContacts](contacts.ImportedContacts.md) -[contacts\_Link](contacts_Link.md) +[contacts.Link](contacts.Link.md) -[contacts\_ResolvedPeer](contacts_ResolvedPeer.md) +[contacts.ResolvedPeer](contacts.ResolvedPeer.md) -[help\_AppChangelog](help_AppChangelog.md) +[help.AppChangelog](help.AppChangelog.md) -[help\_AppUpdate](help_AppUpdate.md) +[help.AppUpdate](help.AppUpdate.md) -[help\_InviteText](help_InviteText.md) +[help.InviteText](help.InviteText.md) -[help\_Support](help_Support.md) +[help.Support](help.Support.md) -[help\_TermsOfService](help_TermsOfService.md) +[help.TermsOfService](help.TermsOfService.md) [int](int.md) [long](long.md) -[messages\_AffectedHistory](messages_AffectedHistory.md) +[messages.AffectedHistory](messages.AffectedHistory.md) -[messages\_AffectedMessages](messages_AffectedMessages.md) +[messages.AffectedMessages](messages.AffectedMessages.md) -[messages\_AllStickers](messages_AllStickers.md) +[messages.AllStickers](messages.AllStickers.md) -[messages\_BotCallbackAnswer](messages_BotCallbackAnswer.md) +[messages.BotCallbackAnswer](messages.BotCallbackAnswer.md) -[messages\_BotResults](messages_BotResults.md) +[messages.BotResults](messages.BotResults.md) -[messages\_ChatFull](messages_ChatFull.md) +[messages.ChatFull](messages.ChatFull.md) -[messages\_Chats](messages_Chats.md) +[messages.Chats](messages.Chats.md) -[messages\_DhConfig](messages_DhConfig.md) +[messages.DhConfig](messages.DhConfig.md) -[messages\_Dialogs](messages_Dialogs.md) +[messages.Dialogs](messages.Dialogs.md) -[messages\_FoundGifs](messages_FoundGifs.md) +[messages.FoundGifs](messages.FoundGifs.md) -[messages\_MessageEditData](messages_MessageEditData.md) +[messages.MessageEditData](messages.MessageEditData.md) -[messages\_Messages](messages_Messages.md) +[messages.Messages](messages.Messages.md) -[messages\_SavedGifs](messages_SavedGifs.md) +[messages.SavedGifs](messages.SavedGifs.md) -[messages\_SentEncryptedMessage](messages_SentEncryptedMessage.md) +[messages.SentEncryptedMessage](messages.SentEncryptedMessage.md) -[messages\_StickerSet](messages_StickerSet.md) +[messages.StickerSet](messages.StickerSet.md) -[messages\_Stickers](messages_Stickers.md) +[messages.Stickers](messages.Stickers.md) -[photos\_Photo](photos_Photo.md) +[photos.Photo](photos.Photo.md) -[photos\_Photos](photos_Photos.md) +[photos.Photos](photos.Photos.md) -[storage\_FileType](storage_FileType.md) +[storage.FileType](storage.FileType.md) -[updates\_ChannelDifference](updates_ChannelDifference.md) +[updates.ChannelDifference](updates.ChannelDifference.md) -[updates\_Difference](updates_Difference.md) +[updates.Difference](updates.Difference.md) -[updates\_State](updates_State.md) +[updates.State](updates.State.md) -[upload\_File](upload_File.md) +[upload.File](upload.File.md) diff --git a/old_docs/API_docs_v51/types/ReceivedNotifyMessage.md b/old_docs/API_docs_v51/types/ReceivedNotifyMessage.md index c7fc3b8c..416aa275 100644 --- a/old_docs/API_docs_v51/types/ReceivedNotifyMessage.md +++ b/old_docs/API_docs_v51/types/ReceivedNotifyMessage.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->receivedMessages](../methods/messages_receivedMessages.md) +[$MadelineProto->messages->receivedMessages](../methods/messages.receivedMessages.md) diff --git a/old_docs/API_docs_v51/types/Updates.md b/old_docs/API_docs_v51/types/Updates.md index bb519ed5..6c547def 100644 --- a/old_docs/API_docs_v51/types/Updates.md +++ b/old_docs/API_docs_v51/types/Updates.md @@ -28,63 +28,63 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->sendMessage](../methods/messages_sendMessage.md) +[$MadelineProto->messages->sendMessage](../methods/messages.sendMessage.md) -[$MadelineProto->messages->sendMedia](../methods/messages_sendMedia.md) +[$MadelineProto->messages->sendMedia](../methods/messages.sendMedia.md) -[$MadelineProto->messages->forwardMessages](../methods/messages_forwardMessages.md) +[$MadelineProto->messages->forwardMessages](../methods/messages.forwardMessages.md) -[$MadelineProto->messages->editChatTitle](../methods/messages_editChatTitle.md) +[$MadelineProto->messages->editChatTitle](../methods/messages.editChatTitle.md) -[$MadelineProto->messages->editChatPhoto](../methods/messages_editChatPhoto.md) +[$MadelineProto->messages->editChatPhoto](../methods/messages.editChatPhoto.md) -[$MadelineProto->messages->addChatUser](../methods/messages_addChatUser.md) +[$MadelineProto->messages->addChatUser](../methods/messages.addChatUser.md) -[$MadelineProto->messages->deleteChatUser](../methods/messages_deleteChatUser.md) +[$MadelineProto->messages->deleteChatUser](../methods/messages.deleteChatUser.md) -[$MadelineProto->messages->createChat](../methods/messages_createChat.md) +[$MadelineProto->messages->createChat](../methods/messages.createChat.md) -[$MadelineProto->messages->forwardMessage](../methods/messages_forwardMessage.md) +[$MadelineProto->messages->forwardMessage](../methods/messages.forwardMessage.md) -[$MadelineProto->messages->sendBroadcast](../methods/messages_sendBroadcast.md) +[$MadelineProto->messages->sendBroadcast](../methods/messages.sendBroadcast.md) -[$MadelineProto->messages->importChatInvite](../methods/messages_importChatInvite.md) +[$MadelineProto->messages->importChatInvite](../methods/messages.importChatInvite.md) -[$MadelineProto->messages->startBot](../methods/messages_startBot.md) +[$MadelineProto->messages->startBot](../methods/messages.startBot.md) -[$MadelineProto->channels->createChannel](../methods/channels_createChannel.md) +[$MadelineProto->channels->createChannel](../methods/channels.createChannel.md) -[$MadelineProto->channels->editAdmin](../methods/channels_editAdmin.md) +[$MadelineProto->channels->editAdmin](../methods/channels.editAdmin.md) -[$MadelineProto->channels->editTitle](../methods/channels_editTitle.md) +[$MadelineProto->channels->editTitle](../methods/channels.editTitle.md) -[$MadelineProto->channels->editPhoto](../methods/channels_editPhoto.md) +[$MadelineProto->channels->editPhoto](../methods/channels.editPhoto.md) -[$MadelineProto->channels->toggleComments](../methods/channels_toggleComments.md) +[$MadelineProto->channels->toggleComments](../methods/channels.toggleComments.md) -[$MadelineProto->channels->joinChannel](../methods/channels_joinChannel.md) +[$MadelineProto->channels->joinChannel](../methods/channels.joinChannel.md) -[$MadelineProto->channels->leaveChannel](../methods/channels_leaveChannel.md) +[$MadelineProto->channels->leaveChannel](../methods/channels.leaveChannel.md) -[$MadelineProto->channels->inviteToChannel](../methods/channels_inviteToChannel.md) +[$MadelineProto->channels->inviteToChannel](../methods/channels.inviteToChannel.md) -[$MadelineProto->channels->kickFromChannel](../methods/channels_kickFromChannel.md) +[$MadelineProto->channels->kickFromChannel](../methods/channels.kickFromChannel.md) -[$MadelineProto->channels->deleteChannel](../methods/channels_deleteChannel.md) +[$MadelineProto->channels->deleteChannel](../methods/channels.deleteChannel.md) -[$MadelineProto->messages->toggleChatAdmins](../methods/messages_toggleChatAdmins.md) +[$MadelineProto->messages->toggleChatAdmins](../methods/messages.toggleChatAdmins.md) -[$MadelineProto->messages->migrateChat](../methods/messages_migrateChat.md) +[$MadelineProto->messages->migrateChat](../methods/messages.migrateChat.md) -[$MadelineProto->messages->sendInlineBotResult](../methods/messages_sendInlineBotResult.md) +[$MadelineProto->messages->sendInlineBotResult](../methods/messages.sendInlineBotResult.md) -[$MadelineProto->channels->toggleInvites](../methods/channels_toggleInvites.md) +[$MadelineProto->channels->toggleInvites](../methods/channels.toggleInvites.md) -[$MadelineProto->channels->toggleSignatures](../methods/channels_toggleSignatures.md) +[$MadelineProto->channels->toggleSignatures](../methods/channels.toggleSignatures.md) -[$MadelineProto->channels->updatePinnedMessage](../methods/channels_updatePinnedMessage.md) +[$MadelineProto->channels->updatePinnedMessage](../methods/channels.updatePinnedMessage.md) -[$MadelineProto->messages->editMessage](../methods/messages_editMessage.md) +[$MadelineProto->messages->editMessage](../methods/messages.editMessage.md) diff --git a/old_docs/API_docs_v51/types/User.md b/old_docs/API_docs_v51/types/User.md index b145a3f8..30349c87 100644 --- a/old_docs/API_docs_v51/types/User.md +++ b/old_docs/API_docs_v51/types/User.md @@ -42,15 +42,15 @@ A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDia ### Methods that return an object of this type (methods): -[$MadelineProto->account->updateProfile](../methods/account_updateProfile.md) +[$MadelineProto->account->updateProfile](../methods/account.updateProfile.md) -[$MadelineProto->users->getUsers](../methods/users_getUsers.md) +[$MadelineProto->users->getUsers](../methods/users.getUsers.md) -[$MadelineProto->contacts->importCard](../methods/contacts_importCard.md) +[$MadelineProto->contacts->importCard](../methods/contacts.importCard.md) -[$MadelineProto->account->updateUsername](../methods/account_updateUsername.md) +[$MadelineProto->account->updateUsername](../methods/account.updateUsername.md) -[$MadelineProto->account->changePhone](../methods/account_changePhone.md) +[$MadelineProto->account->changePhone](../methods/account.changePhone.md) diff --git a/old_docs/API_docs_v51/types/UserFull.md b/old_docs/API_docs_v51/types/UserFull.md index 79ad30bb..ac50052f 100644 --- a/old_docs/API_docs_v51/types/UserFull.md +++ b/old_docs/API_docs_v51/types/UserFull.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->users->getFullUser](../methods/users_getFullUser.md) +[$MadelineProto->users->getFullUser](../methods/users.getFullUser.md) diff --git a/old_docs/API_docs_v51/types/UserProfilePhoto.md b/old_docs/API_docs_v51/types/UserProfilePhoto.md index e5243a2e..e81e92fd 100644 --- a/old_docs/API_docs_v51/types/UserProfilePhoto.md +++ b/old_docs/API_docs_v51/types/UserProfilePhoto.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->photos->updateProfilePhoto](../methods/photos_updateProfilePhoto.md) +[$MadelineProto->photos->updateProfilePhoto](../methods/photos.updateProfilePhoto.md) diff --git a/old_docs/API_docs_v51/types/WallPaper.md b/old_docs/API_docs_v51/types/WallPaper.md index 8c5ac7cf..45337565 100644 --- a/old_docs/API_docs_v51/types/WallPaper.md +++ b/old_docs/API_docs_v51/types/WallPaper.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->account->getWallPapers](../methods/account_getWallPapers.md) +[$MadelineProto->account->getWallPapers](../methods/account.getWallPapers.md) diff --git a/old_docs/API_docs_v51/types/account.Authorizations.md b/old_docs/API_docs_v51/types/account.Authorizations.md new file mode 100644 index 00000000..f9112038 --- /dev/null +++ b/old_docs/API_docs_v51/types/account.Authorizations.md @@ -0,0 +1,22 @@ +--- +title: account.Authorizations +description: constructors and methods of type account.Authorizations +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.Authorizations +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.authorizations](../constructors/account.authorizations.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getAuthorizations](../methods/account.getAuthorizations.md) + + + diff --git a/old_docs/API_docs_v51/types/account.Password.md b/old_docs/API_docs_v51/types/account.Password.md new file mode 100644 index 00000000..5217ab5e --- /dev/null +++ b/old_docs/API_docs_v51/types/account.Password.md @@ -0,0 +1,24 @@ +--- +title: account.Password +description: constructors and methods of type account.Password +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.Password +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.noPassword](../constructors/account.noPassword.md) + +[account.password](../constructors/account.password.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getPassword](../methods/account.getPassword.md) + + + diff --git a/old_docs/API_docs_v51/types/account.PasswordInputSettings.md b/old_docs/API_docs_v51/types/account.PasswordInputSettings.md new file mode 100644 index 00000000..72e11fdc --- /dev/null +++ b/old_docs/API_docs_v51/types/account.PasswordInputSettings.md @@ -0,0 +1,20 @@ +--- +title: account.PasswordInputSettings +description: constructors and methods of type account.PasswordInputSettings +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.PasswordInputSettings +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.passwordInputSettings](../constructors/account.passwordInputSettings.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v51/types/account.PasswordSettings.md b/old_docs/API_docs_v51/types/account.PasswordSettings.md new file mode 100644 index 00000000..47016832 --- /dev/null +++ b/old_docs/API_docs_v51/types/account.PasswordSettings.md @@ -0,0 +1,22 @@ +--- +title: account.PasswordSettings +description: constructors and methods of type account.PasswordSettings +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.PasswordSettings +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.passwordSettings](../constructors/account.passwordSettings.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getPasswordSettings](../methods/account.getPasswordSettings.md) + + + diff --git a/old_docs/API_docs_v51/types/account.PrivacyRules.md b/old_docs/API_docs_v51/types/account.PrivacyRules.md new file mode 100644 index 00000000..738651ad --- /dev/null +++ b/old_docs/API_docs_v51/types/account.PrivacyRules.md @@ -0,0 +1,24 @@ +--- +title: account.PrivacyRules +description: constructors and methods of type account.PrivacyRules +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.PrivacyRules +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.privacyRules](../constructors/account.privacyRules.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getPrivacy](../methods/account.getPrivacy.md) + +[$MadelineProto->account->setPrivacy](../methods/account.setPrivacy.md) + + + diff --git a/old_docs/API_docs_v51/types/account_Authorizations.md b/old_docs/API_docs_v51/types/account_Authorizations.md deleted file mode 100644 index 4709ddb5..00000000 --- a/old_docs/API_docs_v51/types/account_Authorizations.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_Authorizations -description: constructors and methods of type account_Authorizations -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_Authorizations -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_authorizations](../constructors/account_authorizations.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getAuthorizations](../methods/account_getAuthorizations.md) - - - diff --git a/old_docs/API_docs_v51/types/account_Password.md b/old_docs/API_docs_v51/types/account_Password.md deleted file mode 100644 index 23e05987..00000000 --- a/old_docs/API_docs_v51/types/account_Password.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: account_Password -description: constructors and methods of type account_Password -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_Password -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_noPassword](../constructors/account_noPassword.md) - -[account\_password](../constructors/account_password.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getPassword](../methods/account_getPassword.md) - - - diff --git a/old_docs/API_docs_v51/types/account_PasswordInputSettings.md b/old_docs/API_docs_v51/types/account_PasswordInputSettings.md deleted file mode 100644 index a6455eb8..00000000 --- a/old_docs/API_docs_v51/types/account_PasswordInputSettings.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: account_PasswordInputSettings -description: constructors and methods of type account_PasswordInputSettings -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_PasswordInputSettings -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_passwordInputSettings](../constructors/account_passwordInputSettings.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v51/types/account_PasswordSettings.md b/old_docs/API_docs_v51/types/account_PasswordSettings.md deleted file mode 100644 index 687eb217..00000000 --- a/old_docs/API_docs_v51/types/account_PasswordSettings.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_PasswordSettings -description: constructors and methods of type account_PasswordSettings -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_PasswordSettings -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_passwordSettings](../constructors/account_passwordSettings.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getPasswordSettings](../methods/account_getPasswordSettings.md) - - - diff --git a/old_docs/API_docs_v51/types/account_PrivacyRules.md b/old_docs/API_docs_v51/types/account_PrivacyRules.md deleted file mode 100644 index 40b00077..00000000 --- a/old_docs/API_docs_v51/types/account_PrivacyRules.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: account_PrivacyRules -description: constructors and methods of type account_PrivacyRules -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_PrivacyRules -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_privacyRules](../constructors/account_privacyRules.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getPrivacy](../methods/account_getPrivacy.md) - -[$MadelineProto->account->setPrivacy](../methods/account_setPrivacy.md) - - - diff --git a/old_docs/API_docs_v51/types/auth.Authorization.md b/old_docs/API_docs_v51/types/auth.Authorization.md new file mode 100644 index 00000000..adcfa7d3 --- /dev/null +++ b/old_docs/API_docs_v51/types/auth.Authorization.md @@ -0,0 +1,32 @@ +--- +title: auth.Authorization +description: constructors and methods of type auth.Authorization +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.Authorization +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.authorization](../constructors/auth.authorization.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->signUp](../methods/auth.signUp.md) + +[$MadelineProto->auth->signIn](../methods/auth.signIn.md) + +[$MadelineProto->auth->importAuthorization](../methods/auth.importAuthorization.md) + +[$MadelineProto->auth->importBotAuthorization](../methods/auth.importBotAuthorization.md) + +[$MadelineProto->auth->checkPassword](../methods/auth.checkPassword.md) + +[$MadelineProto->auth->recoverPassword](../methods/auth.recoverPassword.md) + + + diff --git a/old_docs/API_docs_v51/types/auth.CheckedPhone.md b/old_docs/API_docs_v51/types/auth.CheckedPhone.md new file mode 100644 index 00000000..94af3915 --- /dev/null +++ b/old_docs/API_docs_v51/types/auth.CheckedPhone.md @@ -0,0 +1,22 @@ +--- +title: auth.CheckedPhone +description: constructors and methods of type auth.CheckedPhone +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.CheckedPhone +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.checkedPhone](../constructors/auth.checkedPhone.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->checkPhone](../methods/auth.checkPhone.md) + + + diff --git a/old_docs/API_docs_v51/types/auth.CodeType.md b/old_docs/API_docs_v51/types/auth.CodeType.md new file mode 100644 index 00000000..8d2b308d --- /dev/null +++ b/old_docs/API_docs_v51/types/auth.CodeType.md @@ -0,0 +1,24 @@ +--- +title: auth.CodeType +description: constructors and methods of type auth.CodeType +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.CodeType +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.codeTypeSms](../constructors/auth.codeTypeSms.md) + +[auth.codeTypeCall](../constructors/auth.codeTypeCall.md) + +[auth.codeTypeFlashCall](../constructors/auth.codeTypeFlashCall.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v51/types/auth.ExportedAuthorization.md b/old_docs/API_docs_v51/types/auth.ExportedAuthorization.md new file mode 100644 index 00000000..ccb38d60 --- /dev/null +++ b/old_docs/API_docs_v51/types/auth.ExportedAuthorization.md @@ -0,0 +1,22 @@ +--- +title: auth.ExportedAuthorization +description: constructors and methods of type auth.ExportedAuthorization +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.ExportedAuthorization +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.exportedAuthorization](../constructors/auth.exportedAuthorization.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->exportAuthorization](../methods/auth.exportAuthorization.md) + + + diff --git a/old_docs/API_docs_v51/types/auth.PasswordRecovery.md b/old_docs/API_docs_v51/types/auth.PasswordRecovery.md new file mode 100644 index 00000000..c1c18992 --- /dev/null +++ b/old_docs/API_docs_v51/types/auth.PasswordRecovery.md @@ -0,0 +1,22 @@ +--- +title: auth.PasswordRecovery +description: constructors and methods of type auth.PasswordRecovery +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.PasswordRecovery +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.passwordRecovery](../constructors/auth.passwordRecovery.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->requestPasswordRecovery](../methods/auth.requestPasswordRecovery.md) + + + diff --git a/old_docs/API_docs_v51/types/auth.SentCode.md b/old_docs/API_docs_v51/types/auth.SentCode.md new file mode 100644 index 00000000..f97a939c --- /dev/null +++ b/old_docs/API_docs_v51/types/auth.SentCode.md @@ -0,0 +1,26 @@ +--- +title: auth.SentCode +description: constructors and methods of type auth.SentCode +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.SentCode +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.sentCode](../constructors/auth.sentCode.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->sendCode](../methods/auth.sendCode.md) + +[$MadelineProto->account->sendChangePhoneCode](../methods/account.sendChangePhoneCode.md) + +[$MadelineProto->auth->resendCode](../methods/auth.resendCode.md) + + + diff --git a/old_docs/API_docs_v51/types/auth.SentCodeType.md b/old_docs/API_docs_v51/types/auth.SentCodeType.md new file mode 100644 index 00000000..7c7c534e --- /dev/null +++ b/old_docs/API_docs_v51/types/auth.SentCodeType.md @@ -0,0 +1,26 @@ +--- +title: auth.SentCodeType +description: constructors and methods of type auth.SentCodeType +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.SentCodeType +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.sentCodeTypeApp](../constructors/auth.sentCodeTypeApp.md) + +[auth.sentCodeTypeSms](../constructors/auth.sentCodeTypeSms.md) + +[auth.sentCodeTypeCall](../constructors/auth.sentCodeTypeCall.md) + +[auth.sentCodeTypeFlashCall](../constructors/auth.sentCodeTypeFlashCall.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v51/types/auth_Authorization.md b/old_docs/API_docs_v51/types/auth_Authorization.md deleted file mode 100644 index 5a34fc2d..00000000 --- a/old_docs/API_docs_v51/types/auth_Authorization.md +++ /dev/null @@ -1,32 +0,0 @@ ---- -title: auth_Authorization -description: constructors and methods of type auth_Authorization -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_Authorization -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_authorization](../constructors/auth_authorization.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->signUp](../methods/auth_signUp.md) - -[$MadelineProto->auth->signIn](../methods/auth_signIn.md) - -[$MadelineProto->auth->importAuthorization](../methods/auth_importAuthorization.md) - -[$MadelineProto->auth->importBotAuthorization](../methods/auth_importBotAuthorization.md) - -[$MadelineProto->auth->checkPassword](../methods/auth_checkPassword.md) - -[$MadelineProto->auth->recoverPassword](../methods/auth_recoverPassword.md) - - - diff --git a/old_docs/API_docs_v51/types/auth_CheckedPhone.md b/old_docs/API_docs_v51/types/auth_CheckedPhone.md deleted file mode 100644 index e9b0def4..00000000 --- a/old_docs/API_docs_v51/types/auth_CheckedPhone.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: auth_CheckedPhone -description: constructors and methods of type auth_CheckedPhone -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_CheckedPhone -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_checkedPhone](../constructors/auth_checkedPhone.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->checkPhone](../methods/auth_checkPhone.md) - - - diff --git a/old_docs/API_docs_v51/types/auth_CodeType.md b/old_docs/API_docs_v51/types/auth_CodeType.md deleted file mode 100644 index 3cd9a7b7..00000000 --- a/old_docs/API_docs_v51/types/auth_CodeType.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: auth_CodeType -description: constructors and methods of type auth_CodeType -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_CodeType -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_codeTypeSms](../constructors/auth_codeTypeSms.md) - -[auth\_codeTypeCall](../constructors/auth_codeTypeCall.md) - -[auth\_codeTypeFlashCall](../constructors/auth_codeTypeFlashCall.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v51/types/auth_ExportedAuthorization.md b/old_docs/API_docs_v51/types/auth_ExportedAuthorization.md deleted file mode 100644 index 69e5c42e..00000000 --- a/old_docs/API_docs_v51/types/auth_ExportedAuthorization.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: auth_ExportedAuthorization -description: constructors and methods of type auth_ExportedAuthorization -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_ExportedAuthorization -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_exportedAuthorization](../constructors/auth_exportedAuthorization.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->exportAuthorization](../methods/auth_exportAuthorization.md) - - - diff --git a/old_docs/API_docs_v51/types/auth_PasswordRecovery.md b/old_docs/API_docs_v51/types/auth_PasswordRecovery.md deleted file mode 100644 index 4962bf42..00000000 --- a/old_docs/API_docs_v51/types/auth_PasswordRecovery.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: auth_PasswordRecovery -description: constructors and methods of type auth_PasswordRecovery -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_PasswordRecovery -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_passwordRecovery](../constructors/auth_passwordRecovery.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->requestPasswordRecovery](../methods/auth_requestPasswordRecovery.md) - - - diff --git a/old_docs/API_docs_v51/types/auth_SentCode.md b/old_docs/API_docs_v51/types/auth_SentCode.md deleted file mode 100644 index 058f4c39..00000000 --- a/old_docs/API_docs_v51/types/auth_SentCode.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: auth_SentCode -description: constructors and methods of type auth_SentCode -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_SentCode -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_sentCode](../constructors/auth_sentCode.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->sendCode](../methods/auth_sendCode.md) - -[$MadelineProto->account->sendChangePhoneCode](../methods/account_sendChangePhoneCode.md) - -[$MadelineProto->auth->resendCode](../methods/auth_resendCode.md) - - - diff --git a/old_docs/API_docs_v51/types/auth_SentCodeType.md b/old_docs/API_docs_v51/types/auth_SentCodeType.md deleted file mode 100644 index 8dfcb93b..00000000 --- a/old_docs/API_docs_v51/types/auth_SentCodeType.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: auth_SentCodeType -description: constructors and methods of type auth_SentCodeType -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_SentCodeType -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_sentCodeTypeApp](../constructors/auth_sentCodeTypeApp.md) - -[auth\_sentCodeTypeSms](../constructors/auth_sentCodeTypeSms.md) - -[auth\_sentCodeTypeCall](../constructors/auth_sentCodeTypeCall.md) - -[auth\_sentCodeTypeFlashCall](../constructors/auth_sentCodeTypeFlashCall.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v51/types/channels.ChannelParticipant.md b/old_docs/API_docs_v51/types/channels.ChannelParticipant.md new file mode 100644 index 00000000..8dc7f7e6 --- /dev/null +++ b/old_docs/API_docs_v51/types/channels.ChannelParticipant.md @@ -0,0 +1,22 @@ +--- +title: channels.ChannelParticipant +description: constructors and methods of type channels.ChannelParticipant +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: channels.ChannelParticipant +[Back to types index](index.md) + + + +### Possible values (constructors): + +[channels.channelParticipant](../constructors/channels.channelParticipant.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->channels->getParticipant](../methods/channels.getParticipant.md) + + + diff --git a/old_docs/API_docs_v51/types/channels.ChannelParticipants.md b/old_docs/API_docs_v51/types/channels.ChannelParticipants.md new file mode 100644 index 00000000..996ab6a6 --- /dev/null +++ b/old_docs/API_docs_v51/types/channels.ChannelParticipants.md @@ -0,0 +1,22 @@ +--- +title: channels.ChannelParticipants +description: constructors and methods of type channels.ChannelParticipants +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: channels.ChannelParticipants +[Back to types index](index.md) + + + +### Possible values (constructors): + +[channels.channelParticipants](../constructors/channels.channelParticipants.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->channels->getParticipants](../methods/channels.getParticipants.md) + + + diff --git a/old_docs/API_docs_v51/types/channels_ChannelParticipant.md b/old_docs/API_docs_v51/types/channels_ChannelParticipant.md deleted file mode 100644 index 3d4667c3..00000000 --- a/old_docs/API_docs_v51/types/channels_ChannelParticipant.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: channels_ChannelParticipant -description: constructors and methods of type channels_ChannelParticipant -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: channels\_ChannelParticipant -[Back to types index](index.md) - - - -### Possible values (constructors): - -[channels\_channelParticipant](../constructors/channels_channelParticipant.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->channels->getParticipant](../methods/channels_getParticipant.md) - - - diff --git a/old_docs/API_docs_v51/types/channels_ChannelParticipants.md b/old_docs/API_docs_v51/types/channels_ChannelParticipants.md deleted file mode 100644 index 0500c2cb..00000000 --- a/old_docs/API_docs_v51/types/channels_ChannelParticipants.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: channels_ChannelParticipants -description: constructors and methods of type channels_ChannelParticipants -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: channels\_ChannelParticipants -[Back to types index](index.md) - - - -### Possible values (constructors): - -[channels\_channelParticipants](../constructors/channels_channelParticipants.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->channels->getParticipants](../methods/channels_getParticipants.md) - - - diff --git a/old_docs/API_docs_v51/types/contacts.Blocked.md b/old_docs/API_docs_v51/types/contacts.Blocked.md new file mode 100644 index 00000000..cb2af80f --- /dev/null +++ b/old_docs/API_docs_v51/types/contacts.Blocked.md @@ -0,0 +1,24 @@ +--- +title: contacts.Blocked +description: constructors and methods of type contacts.Blocked +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Blocked +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.blocked](../constructors/contacts.blocked.md) + +[contacts.blockedSlice](../constructors/contacts.blockedSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getBlocked](../methods/contacts.getBlocked.md) + + + diff --git a/old_docs/API_docs_v51/types/contacts.Contacts.md b/old_docs/API_docs_v51/types/contacts.Contacts.md new file mode 100644 index 00000000..5f695d8e --- /dev/null +++ b/old_docs/API_docs_v51/types/contacts.Contacts.md @@ -0,0 +1,24 @@ +--- +title: contacts.Contacts +description: constructors and methods of type contacts.Contacts +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Contacts +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.contactsNotModified](../constructors/contacts.contactsNotModified.md) + +[contacts.contacts](../constructors/contacts.contacts.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getContacts](../methods/contacts.getContacts.md) + + + diff --git a/old_docs/API_docs_v51/types/contacts.Found.md b/old_docs/API_docs_v51/types/contacts.Found.md new file mode 100644 index 00000000..7df98927 --- /dev/null +++ b/old_docs/API_docs_v51/types/contacts.Found.md @@ -0,0 +1,22 @@ +--- +title: contacts.Found +description: constructors and methods of type contacts.Found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Found +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.found](../constructors/contacts.found.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->search](../methods/contacts.search.md) + + + diff --git a/old_docs/API_docs_v51/types/contacts.ImportedContacts.md b/old_docs/API_docs_v51/types/contacts.ImportedContacts.md new file mode 100644 index 00000000..16795bab --- /dev/null +++ b/old_docs/API_docs_v51/types/contacts.ImportedContacts.md @@ -0,0 +1,22 @@ +--- +title: contacts.ImportedContacts +description: constructors and methods of type contacts.ImportedContacts +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.ImportedContacts +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.importedContacts](../constructors/contacts.importedContacts.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->importContacts](../methods/contacts.importContacts.md) + + + diff --git a/old_docs/API_docs_v51/types/contacts.Link.md b/old_docs/API_docs_v51/types/contacts.Link.md new file mode 100644 index 00000000..eb9da683 --- /dev/null +++ b/old_docs/API_docs_v51/types/contacts.Link.md @@ -0,0 +1,22 @@ +--- +title: contacts.Link +description: constructors and methods of type contacts.Link +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Link +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.link](../constructors/contacts.link.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->deleteContact](../methods/contacts.deleteContact.md) + + + diff --git a/old_docs/API_docs_v51/types/contacts.ResolvedPeer.md b/old_docs/API_docs_v51/types/contacts.ResolvedPeer.md new file mode 100644 index 00000000..13630d54 --- /dev/null +++ b/old_docs/API_docs_v51/types/contacts.ResolvedPeer.md @@ -0,0 +1,22 @@ +--- +title: contacts.ResolvedPeer +description: constructors and methods of type contacts.ResolvedPeer +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.ResolvedPeer +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.resolvedPeer](../constructors/contacts.resolvedPeer.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->resolveUsername](../methods/contacts.resolveUsername.md) + + + diff --git a/old_docs/API_docs_v51/types/contacts_Blocked.md b/old_docs/API_docs_v51/types/contacts_Blocked.md deleted file mode 100644 index 3e1f02eb..00000000 --- a/old_docs/API_docs_v51/types/contacts_Blocked.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: contacts_Blocked -description: constructors and methods of type contacts_Blocked -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Blocked -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_blocked](../constructors/contacts_blocked.md) - -[contacts\_blockedSlice](../constructors/contacts_blockedSlice.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->getBlocked](../methods/contacts_getBlocked.md) - - - diff --git a/old_docs/API_docs_v51/types/contacts_Contacts.md b/old_docs/API_docs_v51/types/contacts_Contacts.md deleted file mode 100644 index 5d6c9506..00000000 --- a/old_docs/API_docs_v51/types/contacts_Contacts.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: contacts_Contacts -description: constructors and methods of type contacts_Contacts -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Contacts -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_contactsNotModified](../constructors/contacts_contactsNotModified.md) - -[contacts\_contacts](../constructors/contacts_contacts.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->getContacts](../methods/contacts_getContacts.md) - - - diff --git a/old_docs/API_docs_v51/types/contacts_Found.md b/old_docs/API_docs_v51/types/contacts_Found.md deleted file mode 100644 index 806101cf..00000000 --- a/old_docs/API_docs_v51/types/contacts_Found.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_Found -description: constructors and methods of type contacts_Found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Found -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_found](../constructors/contacts_found.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->search](../methods/contacts_search.md) - - - diff --git a/old_docs/API_docs_v51/types/contacts_ImportedContacts.md b/old_docs/API_docs_v51/types/contacts_ImportedContacts.md deleted file mode 100644 index faf7e615..00000000 --- a/old_docs/API_docs_v51/types/contacts_ImportedContacts.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_ImportedContacts -description: constructors and methods of type contacts_ImportedContacts -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_ImportedContacts -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_importedContacts](../constructors/contacts_importedContacts.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->importContacts](../methods/contacts_importContacts.md) - - - diff --git a/old_docs/API_docs_v51/types/contacts_Link.md b/old_docs/API_docs_v51/types/contacts_Link.md deleted file mode 100644 index 01556606..00000000 --- a/old_docs/API_docs_v51/types/contacts_Link.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_Link -description: constructors and methods of type contacts_Link -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Link -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_link](../constructors/contacts_link.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->deleteContact](../methods/contacts_deleteContact.md) - - - diff --git a/old_docs/API_docs_v51/types/contacts_ResolvedPeer.md b/old_docs/API_docs_v51/types/contacts_ResolvedPeer.md deleted file mode 100644 index cf107f7c..00000000 --- a/old_docs/API_docs_v51/types/contacts_ResolvedPeer.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_ResolvedPeer -description: constructors and methods of type contacts_ResolvedPeer -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_ResolvedPeer -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_resolvedPeer](../constructors/contacts_resolvedPeer.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->resolveUsername](../methods/contacts_resolveUsername.md) - - - diff --git a/old_docs/API_docs_v51/types/help.AppChangelog.md b/old_docs/API_docs_v51/types/help.AppChangelog.md new file mode 100644 index 00000000..71584fdc --- /dev/null +++ b/old_docs/API_docs_v51/types/help.AppChangelog.md @@ -0,0 +1,24 @@ +--- +title: help.AppChangelog +description: constructors and methods of type help.AppChangelog +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.AppChangelog +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.appChangelogEmpty](../constructors/help.appChangelogEmpty.md) + +[help.appChangelog](../constructors/help.appChangelog.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getAppChangelog](../methods/help.getAppChangelog.md) + + + diff --git a/old_docs/API_docs_v51/types/help.AppUpdate.md b/old_docs/API_docs_v51/types/help.AppUpdate.md new file mode 100644 index 00000000..285ec2b7 --- /dev/null +++ b/old_docs/API_docs_v51/types/help.AppUpdate.md @@ -0,0 +1,24 @@ +--- +title: help.AppUpdate +description: constructors and methods of type help.AppUpdate +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.AppUpdate +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.appUpdate](../constructors/help.appUpdate.md) + +[help.noAppUpdate](../constructors/help.noAppUpdate.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getAppUpdate](../methods/help.getAppUpdate.md) + + + diff --git a/old_docs/API_docs_v51/types/help.InviteText.md b/old_docs/API_docs_v51/types/help.InviteText.md new file mode 100644 index 00000000..43293f46 --- /dev/null +++ b/old_docs/API_docs_v51/types/help.InviteText.md @@ -0,0 +1,22 @@ +--- +title: help.InviteText +description: constructors and methods of type help.InviteText +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.InviteText +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.inviteText](../constructors/help.inviteText.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getInviteText](../methods/help.getInviteText.md) + + + diff --git a/old_docs/API_docs_v51/types/help.Support.md b/old_docs/API_docs_v51/types/help.Support.md new file mode 100644 index 00000000..42c20483 --- /dev/null +++ b/old_docs/API_docs_v51/types/help.Support.md @@ -0,0 +1,22 @@ +--- +title: help.Support +description: constructors and methods of type help.Support +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.Support +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.support](../constructors/help.support.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getSupport](../methods/help.getSupport.md) + + + diff --git a/old_docs/API_docs_v51/types/help.TermsOfService.md b/old_docs/API_docs_v51/types/help.TermsOfService.md new file mode 100644 index 00000000..6c29d2e6 --- /dev/null +++ b/old_docs/API_docs_v51/types/help.TermsOfService.md @@ -0,0 +1,22 @@ +--- +title: help.TermsOfService +description: constructors and methods of type help.TermsOfService +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.TermsOfService +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.termsOfService](../constructors/help.termsOfService.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getTermsOfService](../methods/help.getTermsOfService.md) + + + diff --git a/old_docs/API_docs_v51/types/help_AppChangelog.md b/old_docs/API_docs_v51/types/help_AppChangelog.md deleted file mode 100644 index 350cb644..00000000 --- a/old_docs/API_docs_v51/types/help_AppChangelog.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: help_AppChangelog -description: constructors and methods of type help_AppChangelog -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_AppChangelog -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_appChangelogEmpty](../constructors/help_appChangelogEmpty.md) - -[help\_appChangelog](../constructors/help_appChangelog.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getAppChangelog](../methods/help_getAppChangelog.md) - - - diff --git a/old_docs/API_docs_v51/types/help_AppUpdate.md b/old_docs/API_docs_v51/types/help_AppUpdate.md deleted file mode 100644 index 1f296a70..00000000 --- a/old_docs/API_docs_v51/types/help_AppUpdate.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: help_AppUpdate -description: constructors and methods of type help_AppUpdate -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_AppUpdate -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_appUpdate](../constructors/help_appUpdate.md) - -[help\_noAppUpdate](../constructors/help_noAppUpdate.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getAppUpdate](../methods/help_getAppUpdate.md) - - - diff --git a/old_docs/API_docs_v51/types/help_InviteText.md b/old_docs/API_docs_v51/types/help_InviteText.md deleted file mode 100644 index 018d35bf..00000000 --- a/old_docs/API_docs_v51/types/help_InviteText.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: help_InviteText -description: constructors and methods of type help_InviteText -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_InviteText -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_inviteText](../constructors/help_inviteText.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getInviteText](../methods/help_getInviteText.md) - - - diff --git a/old_docs/API_docs_v51/types/help_Support.md b/old_docs/API_docs_v51/types/help_Support.md deleted file mode 100644 index 26de447b..00000000 --- a/old_docs/API_docs_v51/types/help_Support.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: help_Support -description: constructors and methods of type help_Support -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_Support -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_support](../constructors/help_support.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getSupport](../methods/help_getSupport.md) - - - diff --git a/old_docs/API_docs_v51/types/help_TermsOfService.md b/old_docs/API_docs_v51/types/help_TermsOfService.md deleted file mode 100644 index 84a05df3..00000000 --- a/old_docs/API_docs_v51/types/help_TermsOfService.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: help_TermsOfService -description: constructors and methods of type help_TermsOfService -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_TermsOfService -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_termsOfService](../constructors/help_termsOfService.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getTermsOfService](../methods/help_getTermsOfService.md) - - - diff --git a/old_docs/API_docs_v51/types/messages.AffectedHistory.md b/old_docs/API_docs_v51/types/messages.AffectedHistory.md new file mode 100644 index 00000000..f0411b4d --- /dev/null +++ b/old_docs/API_docs_v51/types/messages.AffectedHistory.md @@ -0,0 +1,24 @@ +--- +title: messages.AffectedHistory +description: constructors and methods of type messages.AffectedHistory +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.AffectedHistory +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.affectedHistory](../constructors/messages.affectedHistory.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->deleteHistory](../methods/messages.deleteHistory.md) + +[$MadelineProto->channels->deleteUserHistory](../methods/channels.deleteUserHistory.md) + + + diff --git a/old_docs/API_docs_v51/types/messages.AffectedMessages.md b/old_docs/API_docs_v51/types/messages.AffectedMessages.md new file mode 100644 index 00000000..a9159de3 --- /dev/null +++ b/old_docs/API_docs_v51/types/messages.AffectedMessages.md @@ -0,0 +1,28 @@ +--- +title: messages.AffectedMessages +description: constructors and methods of type messages.AffectedMessages +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.AffectedMessages +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.affectedMessages](../constructors/messages.affectedMessages.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->readHistory](../methods/messages.readHistory.md) + +[$MadelineProto->messages->deleteMessages](../methods/messages.deleteMessages.md) + +[$MadelineProto->messages->readMessageContents](../methods/messages.readMessageContents.md) + +[$MadelineProto->channels->deleteMessages](../methods/channels.deleteMessages.md) + + + diff --git a/old_docs/API_docs_v51/types/messages.AllStickers.md b/old_docs/API_docs_v51/types/messages.AllStickers.md new file mode 100644 index 00000000..5ece92c0 --- /dev/null +++ b/old_docs/API_docs_v51/types/messages.AllStickers.md @@ -0,0 +1,24 @@ +--- +title: messages.AllStickers +description: constructors and methods of type messages.AllStickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.AllStickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.allStickersNotModified](../constructors/messages.allStickersNotModified.md) + +[messages.allStickers](../constructors/messages.allStickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getAllStickers](../methods/messages.getAllStickers.md) + + + diff --git a/old_docs/API_docs_v51/types/messages.BotCallbackAnswer.md b/old_docs/API_docs_v51/types/messages.BotCallbackAnswer.md new file mode 100644 index 00000000..ef30fbfb --- /dev/null +++ b/old_docs/API_docs_v51/types/messages.BotCallbackAnswer.md @@ -0,0 +1,22 @@ +--- +title: messages.BotCallbackAnswer +description: constructors and methods of type messages.BotCallbackAnswer +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.BotCallbackAnswer +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.botCallbackAnswer](../constructors/messages.botCallbackAnswer.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getBotCallbackAnswer](../methods/messages.getBotCallbackAnswer.md) + + + diff --git a/old_docs/API_docs_v51/types/messages.BotResults.md b/old_docs/API_docs_v51/types/messages.BotResults.md new file mode 100644 index 00000000..76ee2b99 --- /dev/null +++ b/old_docs/API_docs_v51/types/messages.BotResults.md @@ -0,0 +1,22 @@ +--- +title: messages.BotResults +description: constructors and methods of type messages.BotResults +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.BotResults +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.botResults](../constructors/messages.botResults.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getInlineBotResults](../methods/messages.getInlineBotResults.md) + + + diff --git a/old_docs/API_docs_v51/types/messages.ChatFull.md b/old_docs/API_docs_v51/types/messages.ChatFull.md new file mode 100644 index 00000000..3ad38748 --- /dev/null +++ b/old_docs/API_docs_v51/types/messages.ChatFull.md @@ -0,0 +1,24 @@ +--- +title: messages.ChatFull +description: constructors and methods of type messages.ChatFull +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.ChatFull +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.chatFull](../constructors/messages.chatFull.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getFullChat](../methods/messages.getFullChat.md) + +[$MadelineProto->channels->getFullChannel](../methods/channels.getFullChannel.md) + + + diff --git a/old_docs/API_docs_v51/types/messages.Chats.md b/old_docs/API_docs_v51/types/messages.Chats.md new file mode 100644 index 00000000..c2bfab5d --- /dev/null +++ b/old_docs/API_docs_v51/types/messages.Chats.md @@ -0,0 +1,24 @@ +--- +title: messages.Chats +description: constructors and methods of type messages.Chats +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Chats +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.chats](../constructors/messages.chats.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getChats](../methods/messages.getChats.md) + +[$MadelineProto->channels->getChannels](../methods/channels.getChannels.md) + + + diff --git a/old_docs/API_docs_v51/types/messages.DhConfig.md b/old_docs/API_docs_v51/types/messages.DhConfig.md new file mode 100644 index 00000000..77188ab7 --- /dev/null +++ b/old_docs/API_docs_v51/types/messages.DhConfig.md @@ -0,0 +1,24 @@ +--- +title: messages.DhConfig +description: constructors and methods of type messages.DhConfig +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.DhConfig +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.dhConfigNotModified](../constructors/messages.dhConfigNotModified.md) + +[messages.dhConfig](../constructors/messages.dhConfig.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getDhConfig](../methods/messages.getDhConfig.md) + + + diff --git a/old_docs/API_docs_v51/types/messages.Dialogs.md b/old_docs/API_docs_v51/types/messages.Dialogs.md new file mode 100644 index 00000000..f70ca7d8 --- /dev/null +++ b/old_docs/API_docs_v51/types/messages.Dialogs.md @@ -0,0 +1,26 @@ +--- +title: messages.Dialogs +description: constructors and methods of type messages.Dialogs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Dialogs +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.dialogs](../constructors/messages.dialogs.md) + +[messages.dialogsSlice](../constructors/messages.dialogsSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getDialogs](../methods/messages.getDialogs.md) + +[$MadelineProto->channels->getDialogs](../methods/channels.getDialogs.md) + + + diff --git a/old_docs/API_docs_v51/types/messages.FoundGifs.md b/old_docs/API_docs_v51/types/messages.FoundGifs.md new file mode 100644 index 00000000..b5176a5d --- /dev/null +++ b/old_docs/API_docs_v51/types/messages.FoundGifs.md @@ -0,0 +1,22 @@ +--- +title: messages.FoundGifs +description: constructors and methods of type messages.FoundGifs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.FoundGifs +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.foundGifs](../constructors/messages.foundGifs.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->searchGifs](../methods/messages.searchGifs.md) + + + diff --git a/old_docs/API_docs_v51/types/messages.MessageEditData.md b/old_docs/API_docs_v51/types/messages.MessageEditData.md new file mode 100644 index 00000000..feb572f1 --- /dev/null +++ b/old_docs/API_docs_v51/types/messages.MessageEditData.md @@ -0,0 +1,22 @@ +--- +title: messages.MessageEditData +description: constructors and methods of type messages.MessageEditData +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.MessageEditData +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.messageEditData](../constructors/messages.messageEditData.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getMessageEditData](../methods/messages.getMessageEditData.md) + + + diff --git a/old_docs/API_docs_v51/types/messages.Messages.md b/old_docs/API_docs_v51/types/messages.Messages.md new file mode 100644 index 00000000..181fbae5 --- /dev/null +++ b/old_docs/API_docs_v51/types/messages.Messages.md @@ -0,0 +1,36 @@ +--- +title: messages.Messages +description: constructors and methods of type messages.Messages +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Messages +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.messages](../constructors/messages.messages.md) + +[messages.messagesSlice](../constructors/messages.messagesSlice.md) + +[messages.channelMessages](../constructors/messages.channelMessages.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getMessages](../methods/messages.getMessages.md) + +[$MadelineProto->messages->getHistory](../methods/messages.getHistory.md) + +[$MadelineProto->messages->search](../methods/messages.search.md) + +[$MadelineProto->channels->getImportantHistory](../methods/channels.getImportantHistory.md) + +[$MadelineProto->channels->getMessages](../methods/channels.getMessages.md) + +[$MadelineProto->messages->searchGlobal](../methods/messages.searchGlobal.md) + + + diff --git a/old_docs/API_docs_v51/types/messages.SavedGifs.md b/old_docs/API_docs_v51/types/messages.SavedGifs.md new file mode 100644 index 00000000..99844c98 --- /dev/null +++ b/old_docs/API_docs_v51/types/messages.SavedGifs.md @@ -0,0 +1,24 @@ +--- +title: messages.SavedGifs +description: constructors and methods of type messages.SavedGifs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.SavedGifs +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.savedGifsNotModified](../constructors/messages.savedGifsNotModified.md) + +[messages.savedGifs](../constructors/messages.savedGifs.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getSavedGifs](../methods/messages.getSavedGifs.md) + + + diff --git a/old_docs/API_docs_v51/types/messages.SentEncryptedMessage.md b/old_docs/API_docs_v51/types/messages.SentEncryptedMessage.md new file mode 100644 index 00000000..b6d05b1f --- /dev/null +++ b/old_docs/API_docs_v51/types/messages.SentEncryptedMessage.md @@ -0,0 +1,28 @@ +--- +title: messages.SentEncryptedMessage +description: constructors and methods of type messages.SentEncryptedMessage +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.SentEncryptedMessage +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.sentEncryptedMessage](../constructors/messages.sentEncryptedMessage.md) + +[messages.sentEncryptedFile](../constructors/messages.sentEncryptedFile.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->sendEncrypted](../methods/messages.sendEncrypted.md) + +[$MadelineProto->messages->sendEncryptedFile](../methods/messages.sendEncryptedFile.md) + +[$MadelineProto->messages->sendEncryptedService](../methods/messages.sendEncryptedService.md) + + + diff --git a/old_docs/API_docs_v51/types/messages.StickerSet.md b/old_docs/API_docs_v51/types/messages.StickerSet.md new file mode 100644 index 00000000..8de24a76 --- /dev/null +++ b/old_docs/API_docs_v51/types/messages.StickerSet.md @@ -0,0 +1,22 @@ +--- +title: messages.StickerSet +description: constructors and methods of type messages.StickerSet +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.StickerSet +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.stickerSet](../constructors/messages.stickerSet.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getStickerSet](../methods/messages.getStickerSet.md) + + + diff --git a/old_docs/API_docs_v51/types/messages.Stickers.md b/old_docs/API_docs_v51/types/messages.Stickers.md new file mode 100644 index 00000000..43bddf06 --- /dev/null +++ b/old_docs/API_docs_v51/types/messages.Stickers.md @@ -0,0 +1,24 @@ +--- +title: messages.Stickers +description: constructors and methods of type messages.Stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Stickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.stickersNotModified](../constructors/messages.stickersNotModified.md) + +[messages.stickers](../constructors/messages.stickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getStickers](../methods/messages.getStickers.md) + + + diff --git a/old_docs/API_docs_v51/types/messages_AffectedHistory.md b/old_docs/API_docs_v51/types/messages_AffectedHistory.md deleted file mode 100644 index a2d75894..00000000 --- a/old_docs/API_docs_v51/types/messages_AffectedHistory.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_AffectedHistory -description: constructors and methods of type messages_AffectedHistory -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_AffectedHistory -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_affectedHistory](../constructors/messages_affectedHistory.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->deleteHistory](../methods/messages_deleteHistory.md) - -[$MadelineProto->channels->deleteUserHistory](../methods/channels_deleteUserHistory.md) - - - diff --git a/old_docs/API_docs_v51/types/messages_AffectedMessages.md b/old_docs/API_docs_v51/types/messages_AffectedMessages.md deleted file mode 100644 index dcbea721..00000000 --- a/old_docs/API_docs_v51/types/messages_AffectedMessages.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: messages_AffectedMessages -description: constructors and methods of type messages_AffectedMessages -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_AffectedMessages -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_affectedMessages](../constructors/messages_affectedMessages.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->readHistory](../methods/messages_readHistory.md) - -[$MadelineProto->messages->deleteMessages](../methods/messages_deleteMessages.md) - -[$MadelineProto->messages->readMessageContents](../methods/messages_readMessageContents.md) - -[$MadelineProto->channels->deleteMessages](../methods/channels_deleteMessages.md) - - - diff --git a/old_docs/API_docs_v51/types/messages_AllStickers.md b/old_docs/API_docs_v51/types/messages_AllStickers.md deleted file mode 100644 index 59d19759..00000000 --- a/old_docs/API_docs_v51/types/messages_AllStickers.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_AllStickers -description: constructors and methods of type messages_AllStickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_AllStickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_allStickersNotModified](../constructors/messages_allStickersNotModified.md) - -[messages\_allStickers](../constructors/messages_allStickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getAllStickers](../methods/messages_getAllStickers.md) - - - diff --git a/old_docs/API_docs_v51/types/messages_BotCallbackAnswer.md b/old_docs/API_docs_v51/types/messages_BotCallbackAnswer.md deleted file mode 100644 index f8d424d0..00000000 --- a/old_docs/API_docs_v51/types/messages_BotCallbackAnswer.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_BotCallbackAnswer -description: constructors and methods of type messages_BotCallbackAnswer -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_BotCallbackAnswer -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_botCallbackAnswer](../constructors/messages_botCallbackAnswer.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getBotCallbackAnswer](../methods/messages_getBotCallbackAnswer.md) - - - diff --git a/old_docs/API_docs_v51/types/messages_BotResults.md b/old_docs/API_docs_v51/types/messages_BotResults.md deleted file mode 100644 index c346c5bd..00000000 --- a/old_docs/API_docs_v51/types/messages_BotResults.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_BotResults -description: constructors and methods of type messages_BotResults -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_BotResults -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_botResults](../constructors/messages_botResults.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getInlineBotResults](../methods/messages_getInlineBotResults.md) - - - diff --git a/old_docs/API_docs_v51/types/messages_ChatFull.md b/old_docs/API_docs_v51/types/messages_ChatFull.md deleted file mode 100644 index e4add41e..00000000 --- a/old_docs/API_docs_v51/types/messages_ChatFull.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_ChatFull -description: constructors and methods of type messages_ChatFull -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_ChatFull -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_chatFull](../constructors/messages_chatFull.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getFullChat](../methods/messages_getFullChat.md) - -[$MadelineProto->channels->getFullChannel](../methods/channels_getFullChannel.md) - - - diff --git a/old_docs/API_docs_v51/types/messages_Chats.md b/old_docs/API_docs_v51/types/messages_Chats.md deleted file mode 100644 index 18b8c0d7..00000000 --- a/old_docs/API_docs_v51/types/messages_Chats.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_Chats -description: constructors and methods of type messages_Chats -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Chats -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_chats](../constructors/messages_chats.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getChats](../methods/messages_getChats.md) - -[$MadelineProto->channels->getChannels](../methods/channels_getChannels.md) - - - diff --git a/old_docs/API_docs_v51/types/messages_DhConfig.md b/old_docs/API_docs_v51/types/messages_DhConfig.md deleted file mode 100644 index ce237411..00000000 --- a/old_docs/API_docs_v51/types/messages_DhConfig.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_DhConfig -description: constructors and methods of type messages_DhConfig -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_DhConfig -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_dhConfigNotModified](../constructors/messages_dhConfigNotModified.md) - -[messages\_dhConfig](../constructors/messages_dhConfig.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getDhConfig](../methods/messages_getDhConfig.md) - - - diff --git a/old_docs/API_docs_v51/types/messages_Dialogs.md b/old_docs/API_docs_v51/types/messages_Dialogs.md deleted file mode 100644 index 188c4e55..00000000 --- a/old_docs/API_docs_v51/types/messages_Dialogs.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: messages_Dialogs -description: constructors and methods of type messages_Dialogs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Dialogs -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_dialogs](../constructors/messages_dialogs.md) - -[messages\_dialogsSlice](../constructors/messages_dialogsSlice.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getDialogs](../methods/messages_getDialogs.md) - -[$MadelineProto->channels->getDialogs](../methods/channels_getDialogs.md) - - - diff --git a/old_docs/API_docs_v51/types/messages_FoundGifs.md b/old_docs/API_docs_v51/types/messages_FoundGifs.md deleted file mode 100644 index 9dd088ba..00000000 --- a/old_docs/API_docs_v51/types/messages_FoundGifs.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_FoundGifs -description: constructors and methods of type messages_FoundGifs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_FoundGifs -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_foundGifs](../constructors/messages_foundGifs.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->searchGifs](../methods/messages_searchGifs.md) - - - diff --git a/old_docs/API_docs_v51/types/messages_MessageEditData.md b/old_docs/API_docs_v51/types/messages_MessageEditData.md deleted file mode 100644 index ed3c507a..00000000 --- a/old_docs/API_docs_v51/types/messages_MessageEditData.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_MessageEditData -description: constructors and methods of type messages_MessageEditData -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_MessageEditData -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_messageEditData](../constructors/messages_messageEditData.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getMessageEditData](../methods/messages_getMessageEditData.md) - - - diff --git a/old_docs/API_docs_v51/types/messages_Messages.md b/old_docs/API_docs_v51/types/messages_Messages.md deleted file mode 100644 index 6c5cb04f..00000000 --- a/old_docs/API_docs_v51/types/messages_Messages.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -title: messages_Messages -description: constructors and methods of type messages_Messages -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Messages -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_messages](../constructors/messages_messages.md) - -[messages\_messagesSlice](../constructors/messages_messagesSlice.md) - -[messages\_channelMessages](../constructors/messages_channelMessages.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getMessages](../methods/messages_getMessages.md) - -[$MadelineProto->messages->getHistory](../methods/messages_getHistory.md) - -[$MadelineProto->messages->search](../methods/messages_search.md) - -[$MadelineProto->channels->getImportantHistory](../methods/channels_getImportantHistory.md) - -[$MadelineProto->channels->getMessages](../methods/channels_getMessages.md) - -[$MadelineProto->messages->searchGlobal](../methods/messages_searchGlobal.md) - - - diff --git a/old_docs/API_docs_v51/types/messages_SavedGifs.md b/old_docs/API_docs_v51/types/messages_SavedGifs.md deleted file mode 100644 index ffb000aa..00000000 --- a/old_docs/API_docs_v51/types/messages_SavedGifs.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_SavedGifs -description: constructors and methods of type messages_SavedGifs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_SavedGifs -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_savedGifsNotModified](../constructors/messages_savedGifsNotModified.md) - -[messages\_savedGifs](../constructors/messages_savedGifs.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getSavedGifs](../methods/messages_getSavedGifs.md) - - - diff --git a/old_docs/API_docs_v51/types/messages_SentEncryptedMessage.md b/old_docs/API_docs_v51/types/messages_SentEncryptedMessage.md deleted file mode 100644 index 9f7ab935..00000000 --- a/old_docs/API_docs_v51/types/messages_SentEncryptedMessage.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: messages_SentEncryptedMessage -description: constructors and methods of type messages_SentEncryptedMessage -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_SentEncryptedMessage -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_sentEncryptedMessage](../constructors/messages_sentEncryptedMessage.md) - -[messages\_sentEncryptedFile](../constructors/messages_sentEncryptedFile.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->sendEncrypted](../methods/messages_sendEncrypted.md) - -[$MadelineProto->messages->sendEncryptedFile](../methods/messages_sendEncryptedFile.md) - -[$MadelineProto->messages->sendEncryptedService](../methods/messages_sendEncryptedService.md) - - - diff --git a/old_docs/API_docs_v51/types/messages_StickerSet.md b/old_docs/API_docs_v51/types/messages_StickerSet.md deleted file mode 100644 index e04ee8bf..00000000 --- a/old_docs/API_docs_v51/types/messages_StickerSet.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_StickerSet -description: constructors and methods of type messages_StickerSet -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_StickerSet -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_stickerSet](../constructors/messages_stickerSet.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getStickerSet](../methods/messages_getStickerSet.md) - - - diff --git a/old_docs/API_docs_v51/types/messages_Stickers.md b/old_docs/API_docs_v51/types/messages_Stickers.md deleted file mode 100644 index cf53f57b..00000000 --- a/old_docs/API_docs_v51/types/messages_Stickers.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_Stickers -description: constructors and methods of type messages_Stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Stickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_stickersNotModified](../constructors/messages_stickersNotModified.md) - -[messages\_stickers](../constructors/messages_stickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getStickers](../methods/messages_getStickers.md) - - - diff --git a/old_docs/API_docs_v51/types/photos.Photo.md b/old_docs/API_docs_v51/types/photos.Photo.md new file mode 100644 index 00000000..d60f203c --- /dev/null +++ b/old_docs/API_docs_v51/types/photos.Photo.md @@ -0,0 +1,22 @@ +--- +title: photos.Photo +description: constructors and methods of type photos.Photo +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: photos.Photo +[Back to types index](index.md) + + + +### Possible values (constructors): + +[photos.photo](../constructors/photos.photo.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->photos->uploadProfilePhoto](../methods/photos.uploadProfilePhoto.md) + + + diff --git a/old_docs/API_docs_v51/types/photos.Photos.md b/old_docs/API_docs_v51/types/photos.Photos.md new file mode 100644 index 00000000..fff0e296 --- /dev/null +++ b/old_docs/API_docs_v51/types/photos.Photos.md @@ -0,0 +1,24 @@ +--- +title: photos.Photos +description: constructors and methods of type photos.Photos +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: photos.Photos +[Back to types index](index.md) + + + +### Possible values (constructors): + +[photos.photos](../constructors/photos.photos.md) + +[photos.photosSlice](../constructors/photos.photosSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->photos->getUserPhotos](../methods/photos.getUserPhotos.md) + + + diff --git a/old_docs/API_docs_v51/types/photos_Photo.md b/old_docs/API_docs_v51/types/photos_Photo.md deleted file mode 100644 index d11bbdef..00000000 --- a/old_docs/API_docs_v51/types/photos_Photo.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: photos_Photo -description: constructors and methods of type photos_Photo -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: photos\_Photo -[Back to types index](index.md) - - - -### Possible values (constructors): - -[photos\_photo](../constructors/photos_photo.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->photos->uploadProfilePhoto](../methods/photos_uploadProfilePhoto.md) - - - diff --git a/old_docs/API_docs_v51/types/photos_Photos.md b/old_docs/API_docs_v51/types/photos_Photos.md deleted file mode 100644 index 9875ad70..00000000 --- a/old_docs/API_docs_v51/types/photos_Photos.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: photos_Photos -description: constructors and methods of type photos_Photos -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: photos\_Photos -[Back to types index](index.md) - - - -### Possible values (constructors): - -[photos\_photos](../constructors/photos_photos.md) - -[photos\_photosSlice](../constructors/photos_photosSlice.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->photos->getUserPhotos](../methods/photos_getUserPhotos.md) - - - diff --git a/old_docs/API_docs_v51/types/storage.FileType.md b/old_docs/API_docs_v51/types/storage.FileType.md new file mode 100644 index 00000000..73dc8a92 --- /dev/null +++ b/old_docs/API_docs_v51/types/storage.FileType.md @@ -0,0 +1,38 @@ +--- +title: storage.FileType +description: constructors and methods of type storage.FileType +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: storage.FileType +[Back to types index](index.md) + + + +### Possible values (constructors): + +[storage.fileUnknown](../constructors/storage.fileUnknown.md) + +[storage.fileJpeg](../constructors/storage.fileJpeg.md) + +[storage.fileGif](../constructors/storage.fileGif.md) + +[storage.filePng](../constructors/storage.filePng.md) + +[storage.filePdf](../constructors/storage.filePdf.md) + +[storage.fileMp3](../constructors/storage.fileMp3.md) + +[storage.fileMov](../constructors/storage.fileMov.md) + +[storage.filePartial](../constructors/storage.filePartial.md) + +[storage.fileMp4](../constructors/storage.fileMp4.md) + +[storage.fileWebp](../constructors/storage.fileWebp.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v51/types/storage_FileType.md b/old_docs/API_docs_v51/types/storage_FileType.md deleted file mode 100644 index 076c52a4..00000000 --- a/old_docs/API_docs_v51/types/storage_FileType.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: storage_FileType -description: constructors and methods of type storage_FileType -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: storage\_FileType -[Back to types index](index.md) - - - -### Possible values (constructors): - -[storage\_fileUnknown](../constructors/storage_fileUnknown.md) - -[storage\_fileJpeg](../constructors/storage_fileJpeg.md) - -[storage\_fileGif](../constructors/storage_fileGif.md) - -[storage\_filePng](../constructors/storage_filePng.md) - -[storage\_filePdf](../constructors/storage_filePdf.md) - -[storage\_fileMp3](../constructors/storage_fileMp3.md) - -[storage\_fileMov](../constructors/storage_fileMov.md) - -[storage\_filePartial](../constructors/storage_filePartial.md) - -[storage\_fileMp4](../constructors/storage_fileMp4.md) - -[storage\_fileWebp](../constructors/storage_fileWebp.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v51/types/updates.ChannelDifference.md b/old_docs/API_docs_v51/types/updates.ChannelDifference.md new file mode 100644 index 00000000..ac889a1e --- /dev/null +++ b/old_docs/API_docs_v51/types/updates.ChannelDifference.md @@ -0,0 +1,26 @@ +--- +title: updates.ChannelDifference +description: constructors and methods of type updates.ChannelDifference +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: updates.ChannelDifference +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updates.channelDifferenceEmpty](../constructors/updates.channelDifferenceEmpty.md) + +[updates.channelDifferenceTooLong](../constructors/updates.channelDifferenceTooLong.md) + +[updates.channelDifference](../constructors/updates.channelDifference.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->updates->getChannelDifference](../methods/updates.getChannelDifference.md) + + + diff --git a/old_docs/API_docs_v51/types/updates.Difference.md b/old_docs/API_docs_v51/types/updates.Difference.md new file mode 100644 index 00000000..35998855 --- /dev/null +++ b/old_docs/API_docs_v51/types/updates.Difference.md @@ -0,0 +1,26 @@ +--- +title: updates.Difference +description: constructors and methods of type updates.Difference +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: updates.Difference +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updates.differenceEmpty](../constructors/updates.differenceEmpty.md) + +[updates.difference](../constructors/updates.difference.md) + +[updates.differenceSlice](../constructors/updates.differenceSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->updates->getDifference](../methods/updates.getDifference.md) + + + diff --git a/old_docs/API_docs_v51/types/updates.State.md b/old_docs/API_docs_v51/types/updates.State.md new file mode 100644 index 00000000..49bbb7fd --- /dev/null +++ b/old_docs/API_docs_v51/types/updates.State.md @@ -0,0 +1,22 @@ +--- +title: updates.State +description: constructors and methods of type updates.State +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: updates.State +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updates.state](../constructors/updates.state.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->updates->getState](../methods/updates.getState.md) + + + diff --git a/old_docs/API_docs_v51/types/updates_ChannelDifference.md b/old_docs/API_docs_v51/types/updates_ChannelDifference.md deleted file mode 100644 index dc988692..00000000 --- a/old_docs/API_docs_v51/types/updates_ChannelDifference.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: updates_ChannelDifference -description: constructors and methods of type updates_ChannelDifference -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: updates\_ChannelDifference -[Back to types index](index.md) - - - -### Possible values (constructors): - -[updates\_channelDifferenceEmpty](../constructors/updates_channelDifferenceEmpty.md) - -[updates\_channelDifferenceTooLong](../constructors/updates_channelDifferenceTooLong.md) - -[updates\_channelDifference](../constructors/updates_channelDifference.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->updates->getChannelDifference](../methods/updates_getChannelDifference.md) - - - diff --git a/old_docs/API_docs_v51/types/updates_Difference.md b/old_docs/API_docs_v51/types/updates_Difference.md deleted file mode 100644 index 0190189b..00000000 --- a/old_docs/API_docs_v51/types/updates_Difference.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: updates_Difference -description: constructors and methods of type updates_Difference -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: updates\_Difference -[Back to types index](index.md) - - - -### Possible values (constructors): - -[updates\_differenceEmpty](../constructors/updates_differenceEmpty.md) - -[updates\_difference](../constructors/updates_difference.md) - -[updates\_differenceSlice](../constructors/updates_differenceSlice.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->updates->getDifference](../methods/updates_getDifference.md) - - - diff --git a/old_docs/API_docs_v51/types/updates_State.md b/old_docs/API_docs_v51/types/updates_State.md deleted file mode 100644 index 7a441145..00000000 --- a/old_docs/API_docs_v51/types/updates_State.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: updates_State -description: constructors and methods of type updates_State -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: updates\_State -[Back to types index](index.md) - - - -### Possible values (constructors): - -[updates\_state](../constructors/updates_state.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->updates->getState](../methods/updates_getState.md) - - - diff --git a/old_docs/API_docs_v51/types/upload.File.md b/old_docs/API_docs_v51/types/upload.File.md new file mode 100644 index 00000000..922e6c7a --- /dev/null +++ b/old_docs/API_docs_v51/types/upload.File.md @@ -0,0 +1,22 @@ +--- +title: upload.File +description: constructors and methods of type upload.File +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: upload.File +[Back to types index](index.md) + + + +### Possible values (constructors): + +[upload.file](../constructors/upload.file.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->upload->getFile](../methods/upload.getFile.md) + + + diff --git a/old_docs/API_docs_v51/types/upload_File.md b/old_docs/API_docs_v51/types/upload_File.md deleted file mode 100644 index 6e3bc38d..00000000 --- a/old_docs/API_docs_v51/types/upload_File.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: upload_File -description: constructors and methods of type upload_File -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: upload\_File -[Back to types index](index.md) - - - -### Possible values (constructors): - -[upload\_file](../constructors/upload_file.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->upload->getFile](../methods/upload_getFile.md) - - - diff --git a/old_docs/API_docs_v53/constructors/README.md b/old_docs/API_docs_v53/constructors/README.md index 12b016db..bfec621b 100644 --- a/old_docs/API_docs_v53/constructors/README.md +++ b/old_docs/API_docs_v53/constructors/README.md @@ -6,46 +6,62 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png # Constructors [Back to API documentation index](..) +*** +

[$account.authorizations](../constructors/account.authorizations.md) = \['authorizations' => \[[Authorization](../types/Authorization.md)\], \]; + +*** +

[$account.noPassword](../constructors/account.noPassword.md) = \['new_salt' => [bytes](../types/bytes.md), 'email_unconfirmed_pattern' => [string](../types/string.md), \]; + +*** +

[$account.password](../constructors/account.password.md) = \['current_salt' => [bytes](../types/bytes.md), 'new_salt' => [bytes](../types/bytes.md), 'hint' => [string](../types/string.md), 'has_recovery' => [Bool](../types/Bool.md), 'email_unconfirmed_pattern' => [string](../types/string.md), \]; + +*** +

[$account.passwordInputSettings](../constructors/account.passwordInputSettings.md) = \['new_salt' => [bytes](../types/bytes.md), 'new_password_hash' => [bytes](../types/bytes.md), 'hint' => [string](../types/string.md), 'email' => [string](../types/string.md), \]; + +*** +

[$account.passwordSettings](../constructors/account.passwordSettings.md) = \['email' => [string](../types/string.md), \]; + +*** +

[$account.privacyRules](../constructors/account.privacyRules.md) = \['rules' => \[[PrivacyRule](../types/PrivacyRule.md)\], 'users' => \[[User](../types/User.md)\], \]; + ***

[$accountDaysTTL](../constructors/accountDaysTTL.md) = \['days' => [int](../types/int.md), \]; *** -

[$account\_authorizations](../constructors/account_authorizations.md) = \['authorizations' => \[[Authorization](../types/Authorization.md)\], \]; - -[$account\_noPassword](../constructors/account_noPassword.md) = \['new_salt' => [bytes](../types/bytes.md), 'email_unconfirmed_pattern' => [string](../types/string.md), \]; - -[$account\_password](../constructors/account_password.md) = \['current_salt' => [bytes](../types/bytes.md), 'new_salt' => [bytes](../types/bytes.md), 'hint' => [string](../types/string.md), 'has_recovery' => [Bool](../types/Bool.md), 'email_unconfirmed_pattern' => [string](../types/string.md), \]; - -[$account\_passwordInputSettings](../constructors/account_passwordInputSettings.md) = \['new_salt' => [bytes](../types/bytes.md), 'new_password_hash' => [bytes](../types/bytes.md), 'hint' => [string](../types/string.md), 'email' => [string](../types/string.md), \]; - -[$account\_passwordSettings](../constructors/account_passwordSettings.md) = \['email' => [string](../types/string.md), \]; - -[$account\_privacyRules](../constructors/account_privacyRules.md) = \['rules' => \[[PrivacyRule](../types/PrivacyRule.md)\], 'users' => \[[User](../types/User.md)\], \]; +

[$auth.authorization](../constructors/auth.authorization.md) = \['user' => [User](../types/User.md), \]; *** -

[$auth\_authorization](../constructors/auth_authorization.md) = \['user' => [User](../types/User.md), \]; +

[$auth.checkedPhone](../constructors/auth.checkedPhone.md) = \['phone_registered' => [Bool](../types/Bool.md), \]; -[$auth\_checkedPhone](../constructors/auth_checkedPhone.md) = \['phone_registered' => [Bool](../types/Bool.md), \]; +*** +

[$auth.codeTypeCall](../constructors/auth.codeTypeCall.md) = \[\]; -[$auth\_codeTypeCall](../constructors/auth_codeTypeCall.md) = \[\]; +*** +

[$auth.codeTypeFlashCall](../constructors/auth.codeTypeFlashCall.md) = \[\]; -[$auth\_codeTypeFlashCall](../constructors/auth_codeTypeFlashCall.md) = \[\]; +*** +

[$auth.codeTypeSms](../constructors/auth.codeTypeSms.md) = \[\]; -[$auth\_codeTypeSms](../constructors/auth_codeTypeSms.md) = \[\]; +*** +

[$auth.exportedAuthorization](../constructors/auth.exportedAuthorization.md) = \['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; -[$auth\_exportedAuthorization](../constructors/auth_exportedAuthorization.md) = \['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; +*** +

[$auth.passwordRecovery](../constructors/auth.passwordRecovery.md) = \['email_pattern' => [string](../types/string.md), \]; -[$auth\_passwordRecovery](../constructors/auth_passwordRecovery.md) = \['email_pattern' => [string](../types/string.md), \]; +*** +

[$auth.sentCode](../constructors/auth.sentCode.md) = \['phone_registered' => [Bool](../types/Bool.md), 'type' => [auth.SentCodeType](../types/auth.SentCodeType.md), 'phone_code_hash' => [string](../types/string.md), 'next_type' => [auth.CodeType](../types/auth.CodeType.md), 'timeout' => [int](../types/int.md), \]; -[$auth\_sentCode](../constructors/auth_sentCode.md) = \['phone_registered' => [Bool](../types/Bool.md), 'type' => [auth.SentCodeType](../types/auth.SentCodeType.md), 'phone_code_hash' => [string](../types/string.md), 'next_type' => [auth.CodeType](../types/auth.CodeType.md), 'timeout' => [int](../types/int.md), \]; +*** +

[$auth.sentCodeTypeApp](../constructors/auth.sentCodeTypeApp.md) = \['length' => [int](../types/int.md), \]; -[$auth\_sentCodeTypeApp](../constructors/auth_sentCodeTypeApp.md) = \['length' => [int](../types/int.md), \]; +*** +

[$auth.sentCodeTypeCall](../constructors/auth.sentCodeTypeCall.md) = \['length' => [int](../types/int.md), \]; -[$auth\_sentCodeTypeCall](../constructors/auth_sentCodeTypeCall.md) = \['length' => [int](../types/int.md), \]; +*** +

[$auth.sentCodeTypeFlashCall](../constructors/auth.sentCodeTypeFlashCall.md) = \['pattern' => [string](../types/string.md), \]; -[$auth\_sentCodeTypeFlashCall](../constructors/auth_sentCodeTypeFlashCall.md) = \['pattern' => [string](../types/string.md), \]; - -[$auth\_sentCodeTypeSms](../constructors/auth_sentCodeTypeSms.md) = \['length' => [int](../types/int.md), \]; +*** +

[$auth.sentCodeTypeSms](../constructors/auth.sentCodeTypeSms.md) = \['length' => [int](../types/int.md), \]; ***

[$authorization](../constructors/authorization.md) = \['hash' => [long](../types/long.md), 'device_model' => [string](../types/string.md), 'platform' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'api_id' => [int](../types/int.md), 'app_name' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'date_created' => [int](../types/int.md), 'date_active' => [int](../types/int.md), 'ip' => [string](../types/string.md), 'country' => [string](../types/string.md), 'region' => [string](../types/string.md), \]; @@ -138,9 +154,10 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$channelRoleModerator](../constructors/channelRoleModerator.md) = \[\]; *** -

[$channels\_channelParticipant](../constructors/channels_channelParticipant.md) = \['participant' => [ChannelParticipant](../types/ChannelParticipant.md), 'users' => \[[User](../types/User.md)\], \]; +

[$channels.channelParticipant](../constructors/channels.channelParticipant.md) = \['participant' => [ChannelParticipant](../types/ChannelParticipant.md), 'users' => \[[User](../types/User.md)\], \]; -[$channels\_channelParticipants](../constructors/channels_channelParticipants.md) = \['count' => [int](../types/int.md), 'participants' => \[[ChannelParticipant](../types/ChannelParticipant.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$channels.channelParticipants](../constructors/channels.channelParticipants.md) = \['count' => [int](../types/int.md), 'participants' => \[[ChannelParticipant](../types/ChannelParticipant.md)\], 'users' => \[[User](../types/User.md)\], \]; ***

[$chat](../constructors/chat.md) = \['creator' => [Bool](../types/Bool.md), 'kicked' => [Bool](../types/Bool.md), 'left' => [Bool](../types/Bool.md), 'admins_enabled' => [Bool](../types/Bool.md), 'admin' => [Bool](../types/Bool.md), 'deactivated' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'title' => [string](../types/string.md), 'photo' => [ChatPhoto](../types/ChatPhoto.md), 'participants_count' => [int](../types/int.md), 'date' => [int](../types/int.md), 'version' => [int](../types/int.md), 'migrated_to' => [InputChannel](../types/InputChannel.md), \]; @@ -212,25 +229,34 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$contactStatus](../constructors/contactStatus.md) = \['user_id' => [int](../types/int.md), 'status' => [UserStatus](../types/UserStatus.md), \]; *** -

[$contacts\_blocked](../constructors/contacts_blocked.md) = \['blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; +

[$contacts.blocked](../constructors/contacts.blocked.md) = \['blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_blockedSlice](../constructors/contacts_blockedSlice.md) = \['count' => [int](../types/int.md), 'blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.blockedSlice](../constructors/contacts.blockedSlice.md) = \['count' => [int](../types/int.md), 'blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_contacts](../constructors/contacts_contacts.md) = \['contacts' => \[[Contact](../types/Contact.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.contacts](../constructors/contacts.contacts.md) = \['contacts' => \[[Contact](../types/Contact.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_contactsNotModified](../constructors/contacts_contactsNotModified.md) = \[\]; +*** +

[$contacts.contactsNotModified](../constructors/contacts.contactsNotModified.md) = \[\]; -[$contacts\_found](../constructors/contacts_found.md) = \['results' => \[[Peer](../types/Peer.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.found](../constructors/contacts.found.md) = \['results' => \[[Peer](../types/Peer.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_importedContacts](../constructors/contacts_importedContacts.md) = \['imported' => \[[ImportedContact](../types/ImportedContact.md)\], 'retry_contacts' => \[[long](../types/long.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.importedContacts](../constructors/contacts.importedContacts.md) = \['imported' => \[[ImportedContact](../types/ImportedContact.md)\], 'retry_contacts' => \[[long](../types/long.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_link](../constructors/contacts_link.md) = \['my_link' => [ContactLink](../types/ContactLink.md), 'foreign_link' => [ContactLink](../types/ContactLink.md), 'user' => [User](../types/User.md), \]; +*** +

[$contacts.link](../constructors/contacts.link.md) = \['my_link' => [ContactLink](../types/ContactLink.md), 'foreign_link' => [ContactLink](../types/ContactLink.md), 'user' => [User](../types/User.md), \]; -[$contacts\_resolvedPeer](../constructors/contacts_resolvedPeer.md) = \['peer' => [Peer](../types/Peer.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.resolvedPeer](../constructors/contacts.resolvedPeer.md) = \['peer' => [Peer](../types/Peer.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_topPeers](../constructors/contacts_topPeers.md) = \['categories' => \[[TopPeerCategoryPeers](../types/TopPeerCategoryPeers.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.topPeers](../constructors/contacts.topPeers.md) = \['categories' => \[[TopPeerCategoryPeers](../types/TopPeerCategoryPeers.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_topPeersNotModified](../constructors/contacts_topPeersNotModified.md) = \[\]; +*** +

[$contacts.topPeersNotModified](../constructors/contacts.topPeersNotModified.md) = \[\]; ***

[$dcOption](../constructors/dcOption.md) = \['ipv6' => [Bool](../types/Bool.md), 'media_only' => [Bool](../types/Bool.md), 'tcpo_only' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'ip_address' => [string](../types/string.md), 'port' => [int](../types/int.md), \]; @@ -323,19 +349,25 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$geoPointEmpty](../constructors/geoPointEmpty.md) = \[\]; *** -

[$help\_appChangelog](../constructors/help_appChangelog.md) = \['text' => [string](../types/string.md), \]; +

[$help.appChangelog](../constructors/help.appChangelog.md) = \['text' => [string](../types/string.md), \]; -[$help\_appChangelogEmpty](../constructors/help_appChangelogEmpty.md) = \[\]; +*** +

[$help.appChangelogEmpty](../constructors/help.appChangelogEmpty.md) = \[\]; -[$help\_appUpdate](../constructors/help_appUpdate.md) = \['id' => [int](../types/int.md), 'critical' => [Bool](../types/Bool.md), 'url' => [string](../types/string.md), 'text' => [string](../types/string.md), \]; +*** +

[$help.appUpdate](../constructors/help.appUpdate.md) = \['id' => [int](../types/int.md), 'critical' => [Bool](../types/Bool.md), 'url' => [string](../types/string.md), 'text' => [string](../types/string.md), \]; -[$help\_inviteText](../constructors/help_inviteText.md) = \['message' => [string](../types/string.md), \]; +*** +

[$help.inviteText](../constructors/help.inviteText.md) = \['message' => [string](../types/string.md), \]; -[$help\_noAppUpdate](../constructors/help_noAppUpdate.md) = \[\]; +*** +

[$help.noAppUpdate](../constructors/help.noAppUpdate.md) = \[\]; -[$help\_support](../constructors/help_support.md) = \['phone_number' => [string](../types/string.md), 'user' => [User](../types/User.md), \]; +*** +

[$help.support](../constructors/help.support.md) = \['phone_number' => [string](../types/string.md), 'user' => [User](../types/User.md), \]; -[$help\_termsOfService](../constructors/help_termsOfService.md) = \['text' => [string](../types/string.md), \]; +*** +

[$help.termsOfService](../constructors/help.termsOfService.md) = \['text' => [string](../types/string.md), \]; ***

[$importedContact](../constructors/importedContact.md) = \['user_id' => [int](../types/int.md), 'client_id' => [long](../types/long.md), \]; @@ -737,55 +769,79 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$messageService](../constructors/messageService.md) = \['out' => [Bool](../types/Bool.md), 'mentioned' => [Bool](../types/Bool.md), 'media_unread' => [Bool](../types/Bool.md), 'silent' => [Bool](../types/Bool.md), 'post' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'from_id' => [int](../types/int.md), 'to_id' => [Peer](../types/Peer.md), 'reply_to_msg_id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'action' => [MessageAction](../types/MessageAction.md), \]; *** -

[$messages\_affectedHistory](../constructors/messages_affectedHistory.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), 'offset' => [int](../types/int.md), \]; +

[$messages.affectedHistory](../constructors/messages.affectedHistory.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), 'offset' => [int](../types/int.md), \]; -[$messages\_affectedMessages](../constructors/messages_affectedMessages.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; +*** +

[$messages.affectedMessages](../constructors/messages.affectedMessages.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; -[$messages\_allStickers](../constructors/messages_allStickers.md) = \['hash' => [int](../types/int.md), 'sets' => \[[StickerSet](../types/StickerSet.md)\], \]; +*** +

[$messages.allStickers](../constructors/messages.allStickers.md) = \['hash' => [int](../types/int.md), 'sets' => \[[StickerSet](../types/StickerSet.md)\], \]; -[$messages\_allStickersNotModified](../constructors/messages_allStickersNotModified.md) = \[\]; +*** +

[$messages.allStickersNotModified](../constructors/messages.allStickersNotModified.md) = \[\]; -[$messages\_botCallbackAnswer](../constructors/messages_botCallbackAnswer.md) = \['alert' => [Bool](../types/Bool.md), 'message' => [string](../types/string.md), \]; +*** +

[$messages.botCallbackAnswer](../constructors/messages.botCallbackAnswer.md) = \['alert' => [Bool](../types/Bool.md), 'message' => [string](../types/string.md), \]; -[$messages\_botResults](../constructors/messages_botResults.md) = \['gallery' => [Bool](../types/Bool.md), 'query_id' => [long](../types/long.md), 'next_offset' => [string](../types/string.md), 'switch_pm' => [InlineBotSwitchPM](../types/InlineBotSwitchPM.md), 'results' => \[[BotInlineResult](../types/BotInlineResult.md)\], \]; +*** +

[$messages.botResults](../constructors/messages.botResults.md) = \['gallery' => [Bool](../types/Bool.md), 'query_id' => [long](../types/long.md), 'next_offset' => [string](../types/string.md), 'switch_pm' => [InlineBotSwitchPM](../types/InlineBotSwitchPM.md), 'results' => \[[BotInlineResult](../types/BotInlineResult.md)\], \]; -[$messages\_channelMessages](../constructors/messages_channelMessages.md) = \['pts' => [int](../types/int.md), 'count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.channelMessages](../constructors/messages.channelMessages.md) = \['pts' => [int](../types/int.md), 'count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_chatFull](../constructors/messages_chatFull.md) = \['full_chat' => [ChatFull](../types/ChatFull.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.chatFull](../constructors/messages.chatFull.md) = \['full_chat' => [ChatFull](../types/ChatFull.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_chats](../constructors/messages_chats.md) = \['chats' => \[[Chat](../types/Chat.md)\], \]; +*** +

[$messages.chats](../constructors/messages.chats.md) = \['chats' => \[[Chat](../types/Chat.md)\], \]; -[$messages\_dhConfig](../constructors/messages_dhConfig.md) = \['g' => [int](../types/int.md), 'p' => [bytes](../types/bytes.md), 'version' => [int](../types/int.md), 'random' => [bytes](../types/bytes.md), \]; +*** +

[$messages.dhConfig](../constructors/messages.dhConfig.md) = \['g' => [int](../types/int.md), 'p' => [bytes](../types/bytes.md), 'version' => [int](../types/int.md), 'random' => [bytes](../types/bytes.md), \]; -[$messages\_dhConfigNotModified](../constructors/messages_dhConfigNotModified.md) = \['random' => [bytes](../types/bytes.md), \]; +*** +

[$messages.dhConfigNotModified](../constructors/messages.dhConfigNotModified.md) = \['random' => [bytes](../types/bytes.md), \]; -[$messages\_dialogs](../constructors/messages_dialogs.md) = \['dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.dialogs](../constructors/messages.dialogs.md) = \['dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_dialogsSlice](../constructors/messages_dialogsSlice.md) = \['count' => [int](../types/int.md), 'dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.dialogsSlice](../constructors/messages.dialogsSlice.md) = \['count' => [int](../types/int.md), 'dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_foundGifs](../constructors/messages_foundGifs.md) = \['next_offset' => [int](../types/int.md), 'results' => \[[FoundGif](../types/FoundGif.md)\], \]; +*** +

[$messages.foundGifs](../constructors/messages.foundGifs.md) = \['next_offset' => [int](../types/int.md), 'results' => \[[FoundGif](../types/FoundGif.md)\], \]; -[$messages\_messageEditData](../constructors/messages_messageEditData.md) = \['caption' => [Bool](../types/Bool.md), \]; +*** +

[$messages.messageEditData](../constructors/messages.messageEditData.md) = \['caption' => [Bool](../types/Bool.md), \]; -[$messages\_messages](../constructors/messages_messages.md) = \['messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.messages](../constructors/messages.messages.md) = \['messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_messagesSlice](../constructors/messages_messagesSlice.md) = \['count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.messagesSlice](../constructors/messages.messagesSlice.md) = \['count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_peerDialogs](../constructors/messages_peerDialogs.md) = \['dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'state' => [updates.State](../types/updates.State.md), \]; +*** +

[$messages.peerDialogs](../constructors/messages.peerDialogs.md) = \['dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'state' => [updates.State](../types/updates.State.md), \]; -[$messages\_savedGifs](../constructors/messages_savedGifs.md) = \['hash' => [int](../types/int.md), 'gifs' => \[[Document](../types/Document.md)\], \]; +*** +

[$messages.savedGifs](../constructors/messages.savedGifs.md) = \['hash' => [int](../types/int.md), 'gifs' => \[[Document](../types/Document.md)\], \]; -[$messages\_savedGifsNotModified](../constructors/messages_savedGifsNotModified.md) = \[\]; +*** +

[$messages.savedGifsNotModified](../constructors/messages.savedGifsNotModified.md) = \[\]; -[$messages\_sentEncryptedFile](../constructors/messages_sentEncryptedFile.md) = \['date' => [int](../types/int.md), 'file' => [EncryptedFile](../types/EncryptedFile.md), \]; +*** +

[$messages.sentEncryptedFile](../constructors/messages.sentEncryptedFile.md) = \['date' => [int](../types/int.md), 'file' => [EncryptedFile](../types/EncryptedFile.md), \]; -[$messages\_sentEncryptedMessage](../constructors/messages_sentEncryptedMessage.md) = \['date' => [int](../types/int.md), \]; +*** +

[$messages.sentEncryptedMessage](../constructors/messages.sentEncryptedMessage.md) = \['date' => [int](../types/int.md), \]; -[$messages\_stickerSet](../constructors/messages_stickerSet.md) = \['set' => [StickerSet](../types/StickerSet.md), 'packs' => \[[StickerPack](../types/StickerPack.md)\], 'documents' => \[[Document](../types/Document.md)\], \]; +*** +

[$messages.stickerSet](../constructors/messages.stickerSet.md) = \['set' => [StickerSet](../types/StickerSet.md), 'packs' => \[[StickerPack](../types/StickerPack.md)\], 'documents' => \[[Document](../types/Document.md)\], \]; -[$messages\_stickers](../constructors/messages_stickers.md) = \['hash' => [string](../types/string.md), 'stickers' => \[[Document](../types/Document.md)\], \]; +*** +

[$messages.stickers](../constructors/messages.stickers.md) = \['hash' => [string](../types/string.md), 'stickers' => \[[Document](../types/Document.md)\], \]; -[$messages\_stickersNotModified](../constructors/messages_stickersNotModified.md) = \[\]; +*** +

[$messages.stickersNotModified](../constructors/messages.stickersNotModified.md) = \[\]; ***

[$nearestDc](../constructors/nearestDc.md) = \['country' => [string](../types/string.md), 'this_dc' => [int](../types/int.md), 'nearest_dc' => [int](../types/int.md), \]; @@ -845,11 +901,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$photoSizeEmpty](../constructors/photoSizeEmpty.md) = \['type' => [string](../types/string.md), \]; *** -

[$photos\_photo](../constructors/photos_photo.md) = \['photo' => [Photo](../types/Photo.md), 'users' => \[[User](../types/User.md)\], \]; +

[$photos.photo](../constructors/photos.photo.md) = \['photo' => [Photo](../types/Photo.md), 'users' => \[[User](../types/User.md)\], \]; -[$photos\_photos](../constructors/photos_photos.md) = \['photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$photos.photos](../constructors/photos.photos.md) = \['photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$photos\_photosSlice](../constructors/photos_photosSlice.md) = \['count' => [int](../types/int.md), 'photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$photos.photosSlice](../constructors/photos.photosSlice.md) = \['count' => [int](../types/int.md), 'photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; ***

[$privacyKeyChatInvite](../constructors/privacyKeyChatInvite.md) = \[\]; @@ -927,25 +985,34 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$stickerSet](../constructors/stickerSet.md) = \['installed' => [Bool](../types/Bool.md), 'disabled' => [Bool](../types/Bool.md), 'official' => [Bool](../types/Bool.md), 'id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'title' => [string](../types/string.md), 'short_name' => [string](../types/string.md), 'count' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]; *** -

[$storage\_fileGif](../constructors/storage_fileGif.md) = \[\]; +

[$storage.fileGif](../constructors/storage.fileGif.md) = \[\]; -[$storage\_fileJpeg](../constructors/storage_fileJpeg.md) = \[\]; +*** +

[$storage.fileJpeg](../constructors/storage.fileJpeg.md) = \[\]; -[$storage\_fileMov](../constructors/storage_fileMov.md) = \[\]; +*** +

[$storage.fileMov](../constructors/storage.fileMov.md) = \[\]; -[$storage\_fileMp3](../constructors/storage_fileMp3.md) = \[\]; +*** +

[$storage.fileMp3](../constructors/storage.fileMp3.md) = \[\]; -[$storage\_fileMp4](../constructors/storage_fileMp4.md) = \[\]; +*** +

[$storage.fileMp4](../constructors/storage.fileMp4.md) = \[\]; -[$storage\_filePartial](../constructors/storage_filePartial.md) = \[\]; +*** +

[$storage.filePartial](../constructors/storage.filePartial.md) = \[\]; -[$storage\_filePdf](../constructors/storage_filePdf.md) = \[\]; +*** +

[$storage.filePdf](../constructors/storage.filePdf.md) = \[\]; -[$storage\_filePng](../constructors/storage_filePng.md) = \[\]; +*** +

[$storage.filePng](../constructors/storage.filePng.md) = \[\]; -[$storage\_fileUnknown](../constructors/storage_fileUnknown.md) = \[\]; +*** +

[$storage.fileUnknown](../constructors/storage.fileUnknown.md) = \[\]; -[$storage\_fileWebp](../constructors/storage_fileWebp.md) = \[\]; +*** +

[$storage.fileWebp](../constructors/storage.fileWebp.md) = \[\]; ***

[$topPeer](../constructors/topPeer.md) = \['peer' => [Peer](../types/Peer.md), 'rating' => [double](../types/double.md), \]; @@ -1133,6 +1200,27 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ***

[$updates](../constructors/updates.md) = \['updates' => \[[Update](../types/Update.md)\], 'users' => \[[User](../types/User.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'date' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; +*** +

[$updates.channelDifference](../constructors/updates.channelDifference.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), 'new_messages' => \[[Message](../types/Message.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +*** +

[$updates.channelDifferenceEmpty](../constructors/updates.channelDifferenceEmpty.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), \]; + +*** +

[$updates.channelDifferenceTooLong](../constructors/updates.channelDifferenceTooLong.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), 'top_message' => [int](../types/int.md), 'read_inbox_max_id' => [int](../types/int.md), 'read_outbox_max_id' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +*** +

[$updates.difference](../constructors/updates.difference.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'state' => [updates.State](../types/updates.State.md), \]; + +*** +

[$updates.differenceEmpty](../constructors/updates.differenceEmpty.md) = \['date' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; + +*** +

[$updates.differenceSlice](../constructors/updates.differenceSlice.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'intermediate_state' => [updates.State](../types/updates.State.md), \]; + +*** +

[$updates.state](../constructors/updates.state.md) = \['pts' => [int](../types/int.md), 'qts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'seq' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), \]; + ***

[$updatesCombined](../constructors/updatesCombined.md) = \['updates' => \[[Update](../types/Update.md)\], 'users' => \[[User](../types/User.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'date' => [int](../types/int.md), 'seq_start' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; @@ -1140,22 +1228,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$updatesTooLong](../constructors/updatesTooLong.md) = \[\]; *** -

[$updates\_channelDifference](../constructors/updates_channelDifference.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), 'new_messages' => \[[Message](../types/Message.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; - -[$updates\_channelDifferenceEmpty](../constructors/updates_channelDifferenceEmpty.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), \]; - -[$updates\_channelDifferenceTooLong](../constructors/updates_channelDifferenceTooLong.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), 'top_message' => [int](../types/int.md), 'read_inbox_max_id' => [int](../types/int.md), 'read_outbox_max_id' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; - -[$updates\_difference](../constructors/updates_difference.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'state' => [updates.State](../types/updates.State.md), \]; - -[$updates\_differenceEmpty](../constructors/updates_differenceEmpty.md) = \['date' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; - -[$updates\_differenceSlice](../constructors/updates_differenceSlice.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'intermediate_state' => [updates.State](../types/updates.State.md), \]; - -[$updates\_state](../constructors/updates_state.md) = \['pts' => [int](../types/int.md), 'qts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'seq' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), \]; - -*** -

[$upload\_file](../constructors/upload_file.md) = \['type' => [storage.FileType](../types/storage.FileType.md), 'mtime' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; +

[$upload.file](../constructors/upload.file.md) = \['type' => [storage.FileType](../types/storage.FileType.md), 'mtime' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; ***

[$user](../constructors/user.md) = \['self' => [Bool](../types/Bool.md), 'contact' => [Bool](../types/Bool.md), 'mutual_contact' => [Bool](../types/Bool.md), 'deleted' => [Bool](../types/Bool.md), 'bot' => [Bool](../types/Bool.md), 'bot_chat_history' => [Bool](../types/Bool.md), 'bot_nochats' => [Bool](../types/Bool.md), 'verified' => [Bool](../types/Bool.md), 'restricted' => [Bool](../types/Bool.md), 'min' => [Bool](../types/Bool.md), 'bot_inline_geo' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), 'username' => [string](../types/string.md), 'phone' => [string](../types/string.md), 'photo' => [UserProfilePhoto](../types/UserProfilePhoto.md), 'status' => [UserStatus](../types/UserStatus.md), 'bot_info_version' => [int](../types/int.md), 'restriction_reason' => [string](../types/string.md), 'bot_inline_placeholder' => [string](../types/string.md), \]; diff --git a/old_docs/API_docs_v53/constructors/account.authorizations.md b/old_docs/API_docs_v53/constructors/account.authorizations.md new file mode 100644 index 00000000..53c961f0 --- /dev/null +++ b/old_docs/API_docs_v53/constructors/account.authorizations.md @@ -0,0 +1,38 @@ +--- +title: account.authorizations +description: Logged-in sessions +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.authorizations +[Back to constructors index](index.md) + + + +Logged-in sessions + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|authorizations|Array of [Authorization](../types/Authorization.md) | Yes|Authorizations| + + + +### Type: [account.Authorizations](../types/account.Authorizations.md) + + +### Example: + +```php +$account.authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization, Authorization]]; +``` + + +Or, if you're into Lua: + +```lua +account.authorizations={_='account.authorizations', authorizations={Authorization}} + +``` + + diff --git a/old_docs/API_docs_v53/constructors/account.noPassword.md b/old_docs/API_docs_v53/constructors/account.noPassword.md new file mode 100644 index 00000000..4dcdc515 --- /dev/null +++ b/old_docs/API_docs_v53/constructors/account.noPassword.md @@ -0,0 +1,39 @@ +--- +title: account.noPassword +description: No password +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.noPassword +[Back to constructors index](index.md) + + + +No password + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|new\_salt|[bytes](../types/bytes.md) | Yes|New salt| +|email\_unconfirmed\_pattern|[string](../types/string.md) | Yes|Email unconfirmed pattern| + + + +### Type: [account.Password](../types/account.Password.md) + + +### Example: + +```php +$account.noPassword = ['_' => 'account.noPassword', 'new_salt' => 'bytes', 'email_unconfirmed_pattern' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +account.noPassword={_='account.noPassword', new_salt='bytes', email_unconfirmed_pattern='string'} + +``` + + diff --git a/old_docs/API_docs_v53/constructors/account.password.md b/old_docs/API_docs_v53/constructors/account.password.md new file mode 100644 index 00000000..9e86a73a --- /dev/null +++ b/old_docs/API_docs_v53/constructors/account.password.md @@ -0,0 +1,42 @@ +--- +title: account.password +description: Configuration for two-factor authorization +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.password +[Back to constructors index](index.md) + + + +Configuration for two-factor authorization + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|current\_salt|[bytes](../types/bytes.md) | Yes|Current salt| +|new\_salt|[bytes](../types/bytes.md) | Yes|New salt| +|hint|[string](../types/string.md) | Yes|Text hint for the password| +|has\_recovery|[Bool](../types/Bool.md) | Yes|Has recovery?| +|email\_unconfirmed\_pattern|[string](../types/string.md) | Yes|A [password recovery email](https://core.telegram.org/api/srp#email-verification) with the specified [pattern](https://core.telegram.org/api/pattern) is still awaiting verification| + + + +### Type: [account.Password](../types/account.Password.md) + + +### Example: + +```php +$account.password = ['_' => 'account.password', 'current_salt' => 'bytes', 'new_salt' => 'bytes', 'hint' => 'string', 'has_recovery' => Bool, 'email_unconfirmed_pattern' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +account.password={_='account.password', current_salt='bytes', new_salt='bytes', hint='string', has_recovery=Bool, email_unconfirmed_pattern='string'} + +``` + + diff --git a/old_docs/API_docs_v53/constructors/account.passwordInputSettings.md b/old_docs/API_docs_v53/constructors/account.passwordInputSettings.md new file mode 100644 index 00000000..c440115a --- /dev/null +++ b/old_docs/API_docs_v53/constructors/account.passwordInputSettings.md @@ -0,0 +1,41 @@ +--- +title: account.passwordInputSettings +description: Settings for setting up a new password +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.passwordInputSettings +[Back to constructors index](index.md) + + + +Settings for setting up a new password + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|new\_salt|[bytes](../types/bytes.md) | Optional|`$new_salt = $MadelineProto->account->getPassword()['new_salt'].$MadelineProto->random(8);`| +|new\_password\_hash|[bytes](../types/bytes.md) | Optional|The [computed password hash](https://core.telegram.org/api/srp)| +|hint|[string](../types/string.md) | Optional|Text hint for the password| +|email|[string](../types/string.md) | Optional|Password recovery email| + + + +### Type: [account.PasswordInputSettings](../types/account.PasswordInputSettings.md) + + +### Example: + +```php +$account.passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_salt' => 'bytes', 'new_password_hash' => 'bytes', 'hint' => 'string', 'email' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +account.passwordInputSettings={_='account.passwordInputSettings', new_salt='bytes', new_password_hash='bytes', hint='string', email='string'} + +``` + + diff --git a/old_docs/API_docs_v53/constructors/account.passwordSettings.md b/old_docs/API_docs_v53/constructors/account.passwordSettings.md new file mode 100644 index 00000000..be899d34 --- /dev/null +++ b/old_docs/API_docs_v53/constructors/account.passwordSettings.md @@ -0,0 +1,38 @@ +--- +title: account.passwordSettings +description: Private info associated to the password info (recovery email, telegram [passport](https://core.telegram.org/passport) info & so on) +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.passwordSettings +[Back to constructors index](index.md) + + + +Private info associated to the password info (recovery email, telegram [passport](https://core.telegram.org/passport) info & so on) + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|email|[string](../types/string.md) | Yes|[2FA Recovery email](https://core.telegram.org/api/srp#email-verification)| + + + +### Type: [account.PasswordSettings](../types/account.PasswordSettings.md) + + +### Example: + +```php +$account.passwordSettings = ['_' => 'account.passwordSettings', 'email' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +account.passwordSettings={_='account.passwordSettings', email='string'} + +``` + + diff --git a/old_docs/API_docs_v53/constructors/account.privacyRules.md b/old_docs/API_docs_v53/constructors/account.privacyRules.md new file mode 100644 index 00000000..7ae04abb --- /dev/null +++ b/old_docs/API_docs_v53/constructors/account.privacyRules.md @@ -0,0 +1,39 @@ +--- +title: account.privacyRules +description: Privacy rules +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.privacyRules +[Back to constructors index](index.md) + + + +Privacy rules + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|rules|Array of [PrivacyRule](../types/PrivacyRule.md) | Yes|Rules| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [account.PrivacyRules](../types/account.PrivacyRules.md) + + +### Example: + +```php +$account.privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule, PrivacyRule], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +account.privacyRules={_='account.privacyRules', rules={PrivacyRule}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v53/constructors/account_authorizations.md b/old_docs/API_docs_v53/constructors/account_authorizations.md deleted file mode 100644 index aeae48f3..00000000 --- a/old_docs/API_docs_v53/constructors/account_authorizations.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: account.authorizations -description: Logged-in sessions -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.authorizations -[Back to constructors index](index.md) - - - -Logged-in sessions - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|authorizations|Array of [Authorization](../types/Authorization.md) | Yes|Authorizations| - - - -### Type: [account\_Authorizations](../types/account_Authorizations.md) - - -### Example: - -```php -$account_authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization, Authorization]]; -``` - - -Or, if you're into Lua: - -```lua -account_authorizations={_='account.authorizations', authorizations={Authorization}} - -``` - - diff --git a/old_docs/API_docs_v53/constructors/account_noPassword.md b/old_docs/API_docs_v53/constructors/account_noPassword.md deleted file mode 100644 index 10ef7b2a..00000000 --- a/old_docs/API_docs_v53/constructors/account_noPassword.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: account.noPassword -description: No password -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.noPassword -[Back to constructors index](index.md) - - - -No password - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|new\_salt|[bytes](../types/bytes.md) | Yes|New salt| -|email\_unconfirmed\_pattern|[string](../types/string.md) | Yes|Email unconfirmed pattern| - - - -### Type: [account\_Password](../types/account_Password.md) - - -### Example: - -```php -$account_noPassword = ['_' => 'account.noPassword', 'new_salt' => 'bytes', 'email_unconfirmed_pattern' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -account_noPassword={_='account.noPassword', new_salt='bytes', email_unconfirmed_pattern='string'} - -``` - - diff --git a/old_docs/API_docs_v53/constructors/account_password.md b/old_docs/API_docs_v53/constructors/account_password.md deleted file mode 100644 index a9f512e8..00000000 --- a/old_docs/API_docs_v53/constructors/account_password.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: account.password -description: Configuration for two-factor authorization -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.password -[Back to constructors index](index.md) - - - -Configuration for two-factor authorization - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|current\_salt|[bytes](../types/bytes.md) | Yes|Current salt| -|new\_salt|[bytes](../types/bytes.md) | Yes|New salt| -|hint|[string](../types/string.md) | Yes|Text hint for the password| -|has\_recovery|[Bool](../types/Bool.md) | Yes|Has recovery?| -|email\_unconfirmed\_pattern|[string](../types/string.md) | Yes|A [password recovery email](https://core.telegram.org/api/srp#email-verification) with the specified [pattern](https://core.telegram.org/api/pattern) is still awaiting verification| - - - -### Type: [account\_Password](../types/account_Password.md) - - -### Example: - -```php -$account_password = ['_' => 'account.password', 'current_salt' => 'bytes', 'new_salt' => 'bytes', 'hint' => 'string', 'has_recovery' => Bool, 'email_unconfirmed_pattern' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -account_password={_='account.password', current_salt='bytes', new_salt='bytes', hint='string', has_recovery=Bool, email_unconfirmed_pattern='string'} - -``` - - diff --git a/old_docs/API_docs_v53/constructors/account_passwordInputSettings.md b/old_docs/API_docs_v53/constructors/account_passwordInputSettings.md deleted file mode 100644 index 05ec666b..00000000 --- a/old_docs/API_docs_v53/constructors/account_passwordInputSettings.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: account.passwordInputSettings -description: Settings for setting up a new password -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.passwordInputSettings -[Back to constructors index](index.md) - - - -Settings for setting up a new password - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|new\_salt|[bytes](../types/bytes.md) | Optional|`$new_salt = $MadelineProto->account->getPassword()['new_salt'].$MadelineProto->random(8);`| -|new\_password\_hash|[bytes](../types/bytes.md) | Optional|The [computed password hash](https://core.telegram.org/api/srp)| -|hint|[string](../types/string.md) | Optional|Text hint for the password| -|email|[string](../types/string.md) | Optional|Password recovery email| - - - -### Type: [account\_PasswordInputSettings](../types/account_PasswordInputSettings.md) - - -### Example: - -```php -$account_passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_salt' => 'bytes', 'new_password_hash' => 'bytes', 'hint' => 'string', 'email' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -account_passwordInputSettings={_='account.passwordInputSettings', new_salt='bytes', new_password_hash='bytes', hint='string', email='string'} - -``` - - diff --git a/old_docs/API_docs_v53/constructors/account_passwordSettings.md b/old_docs/API_docs_v53/constructors/account_passwordSettings.md deleted file mode 100644 index e22f9cc4..00000000 --- a/old_docs/API_docs_v53/constructors/account_passwordSettings.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: account.passwordSettings -description: Private info associated to the password info (recovery email, telegram [passport](https://core.telegram.org/passport) info & so on) -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.passwordSettings -[Back to constructors index](index.md) - - - -Private info associated to the password info (recovery email, telegram [passport](https://core.telegram.org/passport) info & so on) - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|email|[string](../types/string.md) | Yes|[2FA Recovery email](https://core.telegram.org/api/srp#email-verification)| - - - -### Type: [account\_PasswordSettings](../types/account_PasswordSettings.md) - - -### Example: - -```php -$account_passwordSettings = ['_' => 'account.passwordSettings', 'email' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -account_passwordSettings={_='account.passwordSettings', email='string'} - -``` - - diff --git a/old_docs/API_docs_v53/constructors/account_privacyRules.md b/old_docs/API_docs_v53/constructors/account_privacyRules.md deleted file mode 100644 index 28b260b7..00000000 --- a/old_docs/API_docs_v53/constructors/account_privacyRules.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: account.privacyRules -description: Privacy rules -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.privacyRules -[Back to constructors index](index.md) - - - -Privacy rules - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|rules|Array of [PrivacyRule](../types/PrivacyRule.md) | Yes|Rules| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [account\_PrivacyRules](../types/account_PrivacyRules.md) - - -### Example: - -```php -$account_privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule, PrivacyRule], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -account_privacyRules={_='account.privacyRules', rules={PrivacyRule}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v53/constructors/auth.authorization.md b/old_docs/API_docs_v53/constructors/auth.authorization.md new file mode 100644 index 00000000..bd034fc5 --- /dev/null +++ b/old_docs/API_docs_v53/constructors/auth.authorization.md @@ -0,0 +1,38 @@ +--- +title: auth.authorization +description: Contains user authorization info. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.authorization +[Back to constructors index](index.md) + + + +Contains user authorization info. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|user|[User](../types/User.md) | Optional|Info on authorized user| + + + +### Type: [auth.Authorization](../types/auth.Authorization.md) + + +### Example: + +```php +$auth.authorization = ['_' => 'auth.authorization', 'user' => User]; +``` + + +Or, if you're into Lua: + +```lua +auth.authorization={_='auth.authorization', user=User} + +``` + + diff --git a/old_docs/API_docs_v53/constructors/auth.checkedPhone.md b/old_docs/API_docs_v53/constructors/auth.checkedPhone.md new file mode 100644 index 00000000..23e84cf9 --- /dev/null +++ b/old_docs/API_docs_v53/constructors/auth.checkedPhone.md @@ -0,0 +1,38 @@ +--- +title: auth.checkedPhone +description: Checked phone +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.checkedPhone +[Back to constructors index](index.md) + + + +Checked phone + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_registered|[Bool](../types/Bool.md) | Yes|Phone registered?| + + + +### Type: [auth.CheckedPhone](../types/auth.CheckedPhone.md) + + +### Example: + +```php +$auth.checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool]; +``` + + +Or, if you're into Lua: + +```lua +auth.checkedPhone={_='auth.checkedPhone', phone_registered=Bool} + +``` + + diff --git a/old_docs/API_docs_v53/constructors/auth.codeTypeCall.md b/old_docs/API_docs_v53/constructors/auth.codeTypeCall.md new file mode 100644 index 00000000..4b4a1cdc --- /dev/null +++ b/old_docs/API_docs_v53/constructors/auth.codeTypeCall.md @@ -0,0 +1,33 @@ +--- +title: auth.codeTypeCall +description: Type of verification code that will be sent next if you call the resendCode method: SMS code +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.codeTypeCall +[Back to constructors index](index.md) + + + +Type of verification code that will be sent next if you call the resendCode method: SMS code + + + + +### Type: [auth.CodeType](../types/auth.CodeType.md) + + +### Example: + +```php +$auth.codeTypeCall = ['_' => 'auth.codeTypeCall']; +``` + + +Or, if you're into Lua: + +```lua +auth.codeTypeCall={_='auth.codeTypeCall'} + +``` + + diff --git a/old_docs/API_docs_v53/constructors/auth.codeTypeFlashCall.md b/old_docs/API_docs_v53/constructors/auth.codeTypeFlashCall.md new file mode 100644 index 00000000..ef97e034 --- /dev/null +++ b/old_docs/API_docs_v53/constructors/auth.codeTypeFlashCall.md @@ -0,0 +1,33 @@ +--- +title: auth.codeTypeFlashCall +description: Type of verification code that will be sent next if you call the resendCode method: SMS code +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.codeTypeFlashCall +[Back to constructors index](index.md) + + + +Type of verification code that will be sent next if you call the resendCode method: SMS code + + + + +### Type: [auth.CodeType](../types/auth.CodeType.md) + + +### Example: + +```php +$auth.codeTypeFlashCall = ['_' => 'auth.codeTypeFlashCall']; +``` + + +Or, if you're into Lua: + +```lua +auth.codeTypeFlashCall={_='auth.codeTypeFlashCall'} + +``` + + diff --git a/old_docs/API_docs_v53/constructors/auth.codeTypeSms.md b/old_docs/API_docs_v53/constructors/auth.codeTypeSms.md new file mode 100644 index 00000000..bab9a5a4 --- /dev/null +++ b/old_docs/API_docs_v53/constructors/auth.codeTypeSms.md @@ -0,0 +1,33 @@ +--- +title: auth.codeTypeSms +description: Type of verification code that will be sent next if you call the resendCode method: SMS code +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.codeTypeSms +[Back to constructors index](index.md) + + + +Type of verification code that will be sent next if you call the resendCode method: SMS code + + + + +### Type: [auth.CodeType](../types/auth.CodeType.md) + + +### Example: + +```php +$auth.codeTypeSms = ['_' => 'auth.codeTypeSms']; +``` + + +Or, if you're into Lua: + +```lua +auth.codeTypeSms={_='auth.codeTypeSms'} + +``` + + diff --git a/old_docs/API_docs_v53/constructors/auth.exportedAuthorization.md b/old_docs/API_docs_v53/constructors/auth.exportedAuthorization.md new file mode 100644 index 00000000..2a4a9896 --- /dev/null +++ b/old_docs/API_docs_v53/constructors/auth.exportedAuthorization.md @@ -0,0 +1,39 @@ +--- +title: auth.exportedAuthorization +description: Data for copying of authorization between data centres. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.exportedAuthorization +[Back to constructors index](index.md) + + + +Data for copying of authorization between data centres. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|id|[int](../types/int.md) | Yes|Current user identifier| +|bytes|[bytes](../types/bytes.md) | Yes|Authorizes key| + + + +### Type: [auth.ExportedAuthorization](../types/auth.ExportedAuthorization.md) + + +### Example: + +```php +$auth.exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +auth.exportedAuthorization={_='auth.exportedAuthorization', id=int, bytes='bytes'} + +``` + + diff --git a/old_docs/API_docs_v53/constructors/auth.passwordRecovery.md b/old_docs/API_docs_v53/constructors/auth.passwordRecovery.md new file mode 100644 index 00000000..61de922d --- /dev/null +++ b/old_docs/API_docs_v53/constructors/auth.passwordRecovery.md @@ -0,0 +1,38 @@ +--- +title: auth.passwordRecovery +description: Recovery info of a [2FA password](https://core.telegram.org/api/srp), only for accounts with a [recovery email configured](https://core.telegram.org/api/srp#email-verification). +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.passwordRecovery +[Back to constructors index](index.md) + + + +Recovery info of a [2FA password](https://core.telegram.org/api/srp), only for accounts with a [recovery email configured](https://core.telegram.org/api/srp#email-verification). + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|email\_pattern|[string](../types/string.md) | Yes|The email to which the recovery code was sent must match this [pattern](https://core.telegram.org/api/pattern).| + + + +### Type: [auth.PasswordRecovery](../types/auth.PasswordRecovery.md) + + +### Example: + +```php +$auth.passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +auth.passwordRecovery={_='auth.passwordRecovery', email_pattern='string'} + +``` + + diff --git a/old_docs/API_docs_v53/constructors/auth.sentCode.md b/old_docs/API_docs_v53/constructors/auth.sentCode.md new file mode 100644 index 00000000..25e94704 --- /dev/null +++ b/old_docs/API_docs_v53/constructors/auth.sentCode.md @@ -0,0 +1,42 @@ +--- +title: auth.sentCode +description: Contains info about a sent verification code. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentCode +[Back to constructors index](index.md) + + + +Contains info about a sent verification code. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_registered|[Bool](../types/Bool.md) | Optional|Phone registered?| +|type|[auth.SentCodeType](../constructors/auth.SentCodeType.md) | Yes|Phone code type| +|phone\_code\_hash|[string](../types/string.md) | Yes|Phone code hash, to be stored and later re-used with [auth.signIn](../methods/auth.signIn.md)| +|next\_type|[auth.CodeType](../constructors/auth.CodeType.md) | Optional|Phone code type that will be sent next, if the phone code is not received within `timeout` seconds: to send it use [auth.resendCode](../methods/auth.resendCode.md)| +|timeout|[int](../types/int.md) | Optional|Timeout for reception of the phone code| + + + +### Type: [auth.SentCode](../types/auth.SentCode.md) + + +### Example: + +```php +$auth.sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'type' => auth.SentCodeType, 'phone_code_hash' => 'string', 'next_type' => auth.CodeType, 'timeout' => int]; +``` + + +Or, if you're into Lua: + +```lua +auth.sentCode={_='auth.sentCode', phone_registered=Bool, type=auth.SentCodeType, phone_code_hash='string', next_type=auth.CodeType, timeout=int} + +``` + + diff --git a/old_docs/API_docs_v53/constructors/auth.sentCodeTypeApp.md b/old_docs/API_docs_v53/constructors/auth.sentCodeTypeApp.md new file mode 100644 index 00000000..5f2d4aa3 --- /dev/null +++ b/old_docs/API_docs_v53/constructors/auth.sentCodeTypeApp.md @@ -0,0 +1,38 @@ +--- +title: auth.sentCodeTypeApp +description: The code was sent through the telegram app +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentCodeTypeApp +[Back to constructors index](index.md) + + + +The code was sent through the telegram app + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|length|[int](../types/int.md) | Yes|Length of the code in bytes| + + + +### Type: [auth.SentCodeType](../types/auth.SentCodeType.md) + + +### Example: + +```php +$auth.sentCodeTypeApp = ['_' => 'auth.sentCodeTypeApp', 'length' => int]; +``` + + +Or, if you're into Lua: + +```lua +auth.sentCodeTypeApp={_='auth.sentCodeTypeApp', length=int} + +``` + + diff --git a/old_docs/API_docs_v53/constructors/auth.sentCodeTypeCall.md b/old_docs/API_docs_v53/constructors/auth.sentCodeTypeCall.md new file mode 100644 index 00000000..9843b3df --- /dev/null +++ b/old_docs/API_docs_v53/constructors/auth.sentCodeTypeCall.md @@ -0,0 +1,38 @@ +--- +title: auth.sentCodeTypeCall +description: The code will be sent via a phone call: a synthesized voice will tell the user which verification code to input. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentCodeTypeCall +[Back to constructors index](index.md) + + + +The code will be sent via a phone call: a synthesized voice will tell the user which verification code to input. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|length|[int](../types/int.md) | Yes|Length of the verification code| + + + +### Type: [auth.SentCodeType](../types/auth.SentCodeType.md) + + +### Example: + +```php +$auth.sentCodeTypeCall = ['_' => 'auth.sentCodeTypeCall', 'length' => int]; +``` + + +Or, if you're into Lua: + +```lua +auth.sentCodeTypeCall={_='auth.sentCodeTypeCall', length=int} + +``` + + diff --git a/old_docs/API_docs_v53/constructors/auth.sentCodeTypeFlashCall.md b/old_docs/API_docs_v53/constructors/auth.sentCodeTypeFlashCall.md new file mode 100644 index 00000000..0d24751d --- /dev/null +++ b/old_docs/API_docs_v53/constructors/auth.sentCodeTypeFlashCall.md @@ -0,0 +1,38 @@ +--- +title: auth.sentCodeTypeFlashCall +description: The code will be sent via a flash phone call, that will be closed immediately. The phone code will then be the phone number itself, just make sure that the phone number matches the specified pattern. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentCodeTypeFlashCall +[Back to constructors index](index.md) + + + +The code will be sent via a flash phone call, that will be closed immediately. The phone code will then be the phone number itself, just make sure that the phone number matches the specified pattern. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pattern|[string](../types/string.md) | Yes|[pattern](https://core.telegram.org/api/pattern) to match| + + + +### Type: [auth.SentCodeType](../types/auth.SentCodeType.md) + + +### Example: + +```php +$auth.sentCodeTypeFlashCall = ['_' => 'auth.sentCodeTypeFlashCall', 'pattern' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +auth.sentCodeTypeFlashCall={_='auth.sentCodeTypeFlashCall', pattern='string'} + +``` + + diff --git a/old_docs/API_docs_v53/constructors/auth.sentCodeTypeSms.md b/old_docs/API_docs_v53/constructors/auth.sentCodeTypeSms.md new file mode 100644 index 00000000..d8ecb75e --- /dev/null +++ b/old_docs/API_docs_v53/constructors/auth.sentCodeTypeSms.md @@ -0,0 +1,38 @@ +--- +title: auth.sentCodeTypeSms +description: The code was sent via SMS +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentCodeTypeSms +[Back to constructors index](index.md) + + + +The code was sent via SMS + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|length|[int](../types/int.md) | Yes|Length of the code in bytes| + + + +### Type: [auth.SentCodeType](../types/auth.SentCodeType.md) + + +### Example: + +```php +$auth.sentCodeTypeSms = ['_' => 'auth.sentCodeTypeSms', 'length' => int]; +``` + + +Or, if you're into Lua: + +```lua +auth.sentCodeTypeSms={_='auth.sentCodeTypeSms', length=int} + +``` + + diff --git a/old_docs/API_docs_v53/constructors/auth_authorization.md b/old_docs/API_docs_v53/constructors/auth_authorization.md deleted file mode 100644 index 07d223a1..00000000 --- a/old_docs/API_docs_v53/constructors/auth_authorization.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.authorization -description: Contains user authorization info. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.authorization -[Back to constructors index](index.md) - - - -Contains user authorization info. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|user|[User](../types/User.md) | Optional|Info on authorized user| - - - -### Type: [auth\_Authorization](../types/auth_Authorization.md) - - -### Example: - -```php -$auth_authorization = ['_' => 'auth.authorization', 'user' => User]; -``` - - -Or, if you're into Lua: - -```lua -auth_authorization={_='auth.authorization', user=User} - -``` - - diff --git a/old_docs/API_docs_v53/constructors/auth_checkedPhone.md b/old_docs/API_docs_v53/constructors/auth_checkedPhone.md deleted file mode 100644 index c77becf6..00000000 --- a/old_docs/API_docs_v53/constructors/auth_checkedPhone.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.checkedPhone -description: Checked phone -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.checkedPhone -[Back to constructors index](index.md) - - - -Checked phone - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_registered|[Bool](../types/Bool.md) | Yes|Phone registered?| - - - -### Type: [auth\_CheckedPhone](../types/auth_CheckedPhone.md) - - -### Example: - -```php -$auth_checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool]; -``` - - -Or, if you're into Lua: - -```lua -auth_checkedPhone={_='auth.checkedPhone', phone_registered=Bool} - -``` - - diff --git a/old_docs/API_docs_v53/constructors/auth_codeTypeCall.md b/old_docs/API_docs_v53/constructors/auth_codeTypeCall.md deleted file mode 100644 index 3e957c2a..00000000 --- a/old_docs/API_docs_v53/constructors/auth_codeTypeCall.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: auth.codeTypeCall -description: Type of verification code that will be sent next if you call the resendCode method: SMS code -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.codeTypeCall -[Back to constructors index](index.md) - - - -Type of verification code that will be sent next if you call the resendCode method: SMS code - - - - -### Type: [auth\_CodeType](../types/auth_CodeType.md) - - -### Example: - -```php -$auth_codeTypeCall = ['_' => 'auth.codeTypeCall']; -``` - - -Or, if you're into Lua: - -```lua -auth_codeTypeCall={_='auth.codeTypeCall'} - -``` - - diff --git a/old_docs/API_docs_v53/constructors/auth_codeTypeFlashCall.md b/old_docs/API_docs_v53/constructors/auth_codeTypeFlashCall.md deleted file mode 100644 index 981b2461..00000000 --- a/old_docs/API_docs_v53/constructors/auth_codeTypeFlashCall.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: auth.codeTypeFlashCall -description: Type of verification code that will be sent next if you call the resendCode method: SMS code -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.codeTypeFlashCall -[Back to constructors index](index.md) - - - -Type of verification code that will be sent next if you call the resendCode method: SMS code - - - - -### Type: [auth\_CodeType](../types/auth_CodeType.md) - - -### Example: - -```php -$auth_codeTypeFlashCall = ['_' => 'auth.codeTypeFlashCall']; -``` - - -Or, if you're into Lua: - -```lua -auth_codeTypeFlashCall={_='auth.codeTypeFlashCall'} - -``` - - diff --git a/old_docs/API_docs_v53/constructors/auth_codeTypeSms.md b/old_docs/API_docs_v53/constructors/auth_codeTypeSms.md deleted file mode 100644 index 16eb5d0d..00000000 --- a/old_docs/API_docs_v53/constructors/auth_codeTypeSms.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: auth.codeTypeSms -description: Type of verification code that will be sent next if you call the resendCode method: SMS code -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.codeTypeSms -[Back to constructors index](index.md) - - - -Type of verification code that will be sent next if you call the resendCode method: SMS code - - - - -### Type: [auth\_CodeType](../types/auth_CodeType.md) - - -### Example: - -```php -$auth_codeTypeSms = ['_' => 'auth.codeTypeSms']; -``` - - -Or, if you're into Lua: - -```lua -auth_codeTypeSms={_='auth.codeTypeSms'} - -``` - - diff --git a/old_docs/API_docs_v53/constructors/auth_exportedAuthorization.md b/old_docs/API_docs_v53/constructors/auth_exportedAuthorization.md deleted file mode 100644 index 8d18916e..00000000 --- a/old_docs/API_docs_v53/constructors/auth_exportedAuthorization.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: auth.exportedAuthorization -description: Data for copying of authorization between data centres. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.exportedAuthorization -[Back to constructors index](index.md) - - - -Data for copying of authorization between data centres. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|id|[int](../types/int.md) | Yes|Current user identifier| -|bytes|[bytes](../types/bytes.md) | Yes|Authorizes key| - - - -### Type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) - - -### Example: - -```php -$auth_exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -auth_exportedAuthorization={_='auth.exportedAuthorization', id=int, bytes='bytes'} - -``` - - diff --git a/old_docs/API_docs_v53/constructors/auth_passwordRecovery.md b/old_docs/API_docs_v53/constructors/auth_passwordRecovery.md deleted file mode 100644 index c40f375e..00000000 --- a/old_docs/API_docs_v53/constructors/auth_passwordRecovery.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.passwordRecovery -description: Recovery info of a [2FA password](https://core.telegram.org/api/srp), only for accounts with a [recovery email configured](https://core.telegram.org/api/srp#email-verification). -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.passwordRecovery -[Back to constructors index](index.md) - - - -Recovery info of a [2FA password](https://core.telegram.org/api/srp), only for accounts with a [recovery email configured](https://core.telegram.org/api/srp#email-verification). - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|email\_pattern|[string](../types/string.md) | Yes|The email to which the recovery code was sent must match this [pattern](https://core.telegram.org/api/pattern).| - - - -### Type: [auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) - - -### Example: - -```php -$auth_passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -auth_passwordRecovery={_='auth.passwordRecovery', email_pattern='string'} - -``` - - diff --git a/old_docs/API_docs_v53/constructors/auth_sentCode.md b/old_docs/API_docs_v53/constructors/auth_sentCode.md deleted file mode 100644 index 622c4137..00000000 --- a/old_docs/API_docs_v53/constructors/auth_sentCode.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: auth.sentCode -description: Contains info about a sent verification code. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentCode -[Back to constructors index](index.md) - - - -Contains info about a sent verification code. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_registered|[Bool](../types/Bool.md) | Optional|Phone registered?| -|type|[auth\_SentCodeType](../types/auth_SentCodeType.md) | Yes|Phone code type| -|phone\_code\_hash|[string](../types/string.md) | Yes|Phone code hash, to be stored and later re-used with [auth.signIn](../methods/auth.signIn.md)| -|next\_type|[auth\_CodeType](../types/auth_CodeType.md) | Optional|Phone code type that will be sent next, if the phone code is not received within `timeout` seconds: to send it use [auth.resendCode](../methods/auth.resendCode.md)| -|timeout|[int](../types/int.md) | Optional|Timeout for reception of the phone code| - - - -### Type: [auth\_SentCode](../types/auth_SentCode.md) - - -### Example: - -```php -$auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'type' => auth_SentCodeType, 'phone_code_hash' => 'string', 'next_type' => auth_CodeType, 'timeout' => int]; -``` - - -Or, if you're into Lua: - -```lua -auth_sentCode={_='auth.sentCode', phone_registered=Bool, type=auth_SentCodeType, phone_code_hash='string', next_type=auth_CodeType, timeout=int} - -``` - - diff --git a/old_docs/API_docs_v53/constructors/auth_sentCodeTypeApp.md b/old_docs/API_docs_v53/constructors/auth_sentCodeTypeApp.md deleted file mode 100644 index 6b7ad824..00000000 --- a/old_docs/API_docs_v53/constructors/auth_sentCodeTypeApp.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.sentCodeTypeApp -description: The code was sent through the telegram app -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentCodeTypeApp -[Back to constructors index](index.md) - - - -The code was sent through the telegram app - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|length|[int](../types/int.md) | Yes|Length of the code in bytes| - - - -### Type: [auth\_SentCodeType](../types/auth_SentCodeType.md) - - -### Example: - -```php -$auth_sentCodeTypeApp = ['_' => 'auth.sentCodeTypeApp', 'length' => int]; -``` - - -Or, if you're into Lua: - -```lua -auth_sentCodeTypeApp={_='auth.sentCodeTypeApp', length=int} - -``` - - diff --git a/old_docs/API_docs_v53/constructors/auth_sentCodeTypeCall.md b/old_docs/API_docs_v53/constructors/auth_sentCodeTypeCall.md deleted file mode 100644 index bf025aa5..00000000 --- a/old_docs/API_docs_v53/constructors/auth_sentCodeTypeCall.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.sentCodeTypeCall -description: The code will be sent via a phone call: a synthesized voice will tell the user which verification code to input. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentCodeTypeCall -[Back to constructors index](index.md) - - - -The code will be sent via a phone call: a synthesized voice will tell the user which verification code to input. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|length|[int](../types/int.md) | Yes|Length of the verification code| - - - -### Type: [auth\_SentCodeType](../types/auth_SentCodeType.md) - - -### Example: - -```php -$auth_sentCodeTypeCall = ['_' => 'auth.sentCodeTypeCall', 'length' => int]; -``` - - -Or, if you're into Lua: - -```lua -auth_sentCodeTypeCall={_='auth.sentCodeTypeCall', length=int} - -``` - - diff --git a/old_docs/API_docs_v53/constructors/auth_sentCodeTypeFlashCall.md b/old_docs/API_docs_v53/constructors/auth_sentCodeTypeFlashCall.md deleted file mode 100644 index efe64ce7..00000000 --- a/old_docs/API_docs_v53/constructors/auth_sentCodeTypeFlashCall.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.sentCodeTypeFlashCall -description: The code will be sent via a flash phone call, that will be closed immediately. The phone code will then be the phone number itself, just make sure that the phone number matches the specified pattern. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentCodeTypeFlashCall -[Back to constructors index](index.md) - - - -The code will be sent via a flash phone call, that will be closed immediately. The phone code will then be the phone number itself, just make sure that the phone number matches the specified pattern. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pattern|[string](../types/string.md) | Yes|[pattern](https://core.telegram.org/api/pattern) to match| - - - -### Type: [auth\_SentCodeType](../types/auth_SentCodeType.md) - - -### Example: - -```php -$auth_sentCodeTypeFlashCall = ['_' => 'auth.sentCodeTypeFlashCall', 'pattern' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -auth_sentCodeTypeFlashCall={_='auth.sentCodeTypeFlashCall', pattern='string'} - -``` - - diff --git a/old_docs/API_docs_v53/constructors/auth_sentCodeTypeSms.md b/old_docs/API_docs_v53/constructors/auth_sentCodeTypeSms.md deleted file mode 100644 index 8e27dac9..00000000 --- a/old_docs/API_docs_v53/constructors/auth_sentCodeTypeSms.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.sentCodeTypeSms -description: The code was sent via SMS -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentCodeTypeSms -[Back to constructors index](index.md) - - - -The code was sent via SMS - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|length|[int](../types/int.md) | Yes|Length of the code in bytes| - - - -### Type: [auth\_SentCodeType](../types/auth_SentCodeType.md) - - -### Example: - -```php -$auth_sentCodeTypeSms = ['_' => 'auth.sentCodeTypeSms', 'length' => int]; -``` - - -Or, if you're into Lua: - -```lua -auth_sentCodeTypeSms={_='auth.sentCodeTypeSms', length=int} - -``` - - diff --git a/old_docs/API_docs_v53/constructors/channels.channelParticipant.md b/old_docs/API_docs_v53/constructors/channels.channelParticipant.md new file mode 100644 index 00000000..0f09777f --- /dev/null +++ b/old_docs/API_docs_v53/constructors/channels.channelParticipant.md @@ -0,0 +1,39 @@ +--- +title: channels.channelParticipant +description: Represents a channel participant +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: channels.channelParticipant +[Back to constructors index](index.md) + + + +Represents a channel participant + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|participant|[ChannelParticipant](../types/ChannelParticipant.md) | Yes|The channel participant| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [channels.ChannelParticipant](../types/channels.ChannelParticipant.md) + + +### Example: + +```php +$channels.channelParticipant = ['_' => 'channels.channelParticipant', 'participant' => ChannelParticipant, 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +channels.channelParticipant={_='channels.channelParticipant', participant=ChannelParticipant, users={User}} + +``` + + diff --git a/old_docs/API_docs_v53/constructors/channels.channelParticipants.md b/old_docs/API_docs_v53/constructors/channels.channelParticipants.md new file mode 100644 index 00000000..6ee1a8b3 --- /dev/null +++ b/old_docs/API_docs_v53/constructors/channels.channelParticipants.md @@ -0,0 +1,40 @@ +--- +title: channels.channelParticipants +description: Represents multiple channel participants +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: channels.channelParticipants +[Back to constructors index](index.md) + + + +Represents multiple channel participants + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of participants that correspond to the given query| +|participants|Array of [ChannelParticipant](../types/ChannelParticipant.md) | Yes|Participants| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [channels.ChannelParticipants](../types/channels.ChannelParticipants.md) + + +### Example: + +```php +$channels.channelParticipants = ['_' => 'channels.channelParticipants', 'count' => int, 'participants' => [ChannelParticipant, ChannelParticipant], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +channels.channelParticipants={_='channels.channelParticipants', count=int, participants={ChannelParticipant}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v53/constructors/channels_channelParticipant.md b/old_docs/API_docs_v53/constructors/channels_channelParticipant.md deleted file mode 100644 index 15fe46a4..00000000 --- a/old_docs/API_docs_v53/constructors/channels_channelParticipant.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: channels.channelParticipant -description: Represents a channel participant -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: channels.channelParticipant -[Back to constructors index](index.md) - - - -Represents a channel participant - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|participant|[ChannelParticipant](../types/ChannelParticipant.md) | Yes|The channel participant| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [channels\_ChannelParticipant](../types/channels_ChannelParticipant.md) - - -### Example: - -```php -$channels_channelParticipant = ['_' => 'channels.channelParticipant', 'participant' => ChannelParticipant, 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -channels_channelParticipant={_='channels.channelParticipant', participant=ChannelParticipant, users={User}} - -``` - - diff --git a/old_docs/API_docs_v53/constructors/channels_channelParticipants.md b/old_docs/API_docs_v53/constructors/channels_channelParticipants.md deleted file mode 100644 index 1848a04f..00000000 --- a/old_docs/API_docs_v53/constructors/channels_channelParticipants.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: channels.channelParticipants -description: Represents multiple channel participants -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: channels.channelParticipants -[Back to constructors index](index.md) - - - -Represents multiple channel participants - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of participants that correspond to the given query| -|participants|Array of [ChannelParticipant](../types/ChannelParticipant.md) | Yes|Participants| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [channels\_ChannelParticipants](../types/channels_ChannelParticipants.md) - - -### Example: - -```php -$channels_channelParticipants = ['_' => 'channels.channelParticipants', 'count' => int, 'participants' => [ChannelParticipant, ChannelParticipant], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -channels_channelParticipants={_='channels.channelParticipants', count=int, participants={ChannelParticipant}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v53/constructors/contacts.blocked.md b/old_docs/API_docs_v53/constructors/contacts.blocked.md new file mode 100644 index 00000000..d2b3f680 --- /dev/null +++ b/old_docs/API_docs_v53/constructors/contacts.blocked.md @@ -0,0 +1,39 @@ +--- +title: contacts.blocked +description: Full list of blocked users. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.blocked +[Back to constructors index](index.md) + + + +Full list of blocked users. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Blocked](../types/contacts.Blocked.md) + + +### Example: + +```php +$contacts.blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.blocked={_='contacts.blocked', blocked={ContactBlocked}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v53/constructors/contacts.blockedSlice.md b/old_docs/API_docs_v53/constructors/contacts.blockedSlice.md new file mode 100644 index 00000000..92d19c72 --- /dev/null +++ b/old_docs/API_docs_v53/constructors/contacts.blockedSlice.md @@ -0,0 +1,40 @@ +--- +title: contacts.blockedSlice +description: Incomplete list of blocked users. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.blockedSlice +[Back to constructors index](index.md) + + + +Incomplete list of blocked users. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of elements in the list| +|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Blocked](../types/contacts.Blocked.md) + + +### Example: + +```php +$contacts.blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.blockedSlice={_='contacts.blockedSlice', count=int, blocked={ContactBlocked}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v53/constructors/contacts.contacts.md b/old_docs/API_docs_v53/constructors/contacts.contacts.md new file mode 100644 index 00000000..d4ccc018 --- /dev/null +++ b/old_docs/API_docs_v53/constructors/contacts.contacts.md @@ -0,0 +1,39 @@ +--- +title: contacts.contacts +description: The current user's contact list and info on users. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.contacts +[Back to constructors index](index.md) + + + +The current user's contact list and info on users. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|contacts|Array of [Contact](../types/Contact.md) | Yes|Contacts| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Contacts](../types/contacts.Contacts.md) + + +### Example: + +```php +$contacts.contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact, Contact], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.contacts={_='contacts.contacts', contacts={Contact}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v53/constructors/contacts.contactsNotModified.md b/old_docs/API_docs_v53/constructors/contacts.contactsNotModified.md new file mode 100644 index 00000000..e2149396 --- /dev/null +++ b/old_docs/API_docs_v53/constructors/contacts.contactsNotModified.md @@ -0,0 +1,33 @@ +--- +title: contacts.contactsNotModified +description: Contact list on the server is the same as the list on the client. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.contactsNotModified +[Back to constructors index](index.md) + + + +Contact list on the server is the same as the list on the client. + + + + +### Type: [contacts.Contacts](../types/contacts.Contacts.md) + + +### Example: + +```php +$contacts.contactsNotModified = ['_' => 'contacts.contactsNotModified']; +``` + + +Or, if you're into Lua: + +```lua +contacts.contactsNotModified={_='contacts.contactsNotModified'} + +``` + + diff --git a/old_docs/API_docs_v53/constructors/contacts.found.md b/old_docs/API_docs_v53/constructors/contacts.found.md new file mode 100644 index 00000000..1eaa93b7 --- /dev/null +++ b/old_docs/API_docs_v53/constructors/contacts.found.md @@ -0,0 +1,40 @@ +--- +title: contacts.found +description: Users found by name substring and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.found +[Back to constructors index](index.md) + + + +Users found by name substring and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|results|Array of [Peer](../types/Peer.md) | Yes|Results| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Found](../types/contacts.Found.md) + + +### Example: + +```php +$contacts.found = ['_' => 'contacts.found', 'results' => [Peer, Peer], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.found={_='contacts.found', results={Peer}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v53/constructors/contacts.importedContacts.md b/old_docs/API_docs_v53/constructors/contacts.importedContacts.md new file mode 100644 index 00000000..1cbff59a --- /dev/null +++ b/old_docs/API_docs_v53/constructors/contacts.importedContacts.md @@ -0,0 +1,40 @@ +--- +title: contacts.importedContacts +description: Info on succesfully imported contacts. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.importedContacts +[Back to constructors index](index.md) + + + +Info on succesfully imported contacts. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|imported|Array of [ImportedContact](../types/ImportedContact.md) | Yes|Imported| +|retry\_contacts|Array of [long](../types/long.md) | Yes|Retry importing contacts whose client IDs appear here| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.ImportedContacts](../types/contacts.ImportedContacts.md) + + +### Example: + +```php +$contacts.importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact, ImportedContact], 'retry_contacts' => [long, long], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.importedContacts={_='contacts.importedContacts', imported={ImportedContact}, retry_contacts={long}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v53/constructors/contacts.link.md b/old_docs/API_docs_v53/constructors/contacts.link.md new file mode 100644 index 00000000..ab150a0d --- /dev/null +++ b/old_docs/API_docs_v53/constructors/contacts.link.md @@ -0,0 +1,40 @@ +--- +title: contacts.link +description: Link +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.link +[Back to constructors index](index.md) + + + +Link + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|my\_link|[ContactLink](../types/ContactLink.md) | Yes|My link| +|foreign\_link|[ContactLink](../types/ContactLink.md) | Yes|Foreign link| +|user|[User](../types/User.md) | Optional|User| + + + +### Type: [contacts.Link](../types/contacts.Link.md) + + +### Example: + +```php +$contacts.link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User]; +``` + + +Or, if you're into Lua: + +```lua +contacts.link={_='contacts.link', my_link=ContactLink, foreign_link=ContactLink, user=User} + +``` + + diff --git a/old_docs/API_docs_v53/constructors/contacts.resolvedPeer.md b/old_docs/API_docs_v53/constructors/contacts.resolvedPeer.md new file mode 100644 index 00000000..35d88481 --- /dev/null +++ b/old_docs/API_docs_v53/constructors/contacts.resolvedPeer.md @@ -0,0 +1,40 @@ +--- +title: contacts.resolvedPeer +description: Resolved peer +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.resolvedPeer +[Back to constructors index](index.md) + + + +Resolved peer + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|peer|[Peer](../types/Peer.md) | Yes|The peer| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.ResolvedPeer](../types/contacts.ResolvedPeer.md) + + +### Example: + +```php +$contacts.resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.resolvedPeer={_='contacts.resolvedPeer', peer=Peer, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v53/constructors/contacts.topPeers.md b/old_docs/API_docs_v53/constructors/contacts.topPeers.md new file mode 100644 index 00000000..19d9c712 --- /dev/null +++ b/old_docs/API_docs_v53/constructors/contacts.topPeers.md @@ -0,0 +1,40 @@ +--- +title: contacts.topPeers +description: Top peers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.topPeers +[Back to constructors index](index.md) + + + +Top peers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|categories|Array of [TopPeerCategoryPeers](../types/TopPeerCategoryPeers.md) | Yes|Categories| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.TopPeers](../types/contacts.TopPeers.md) + + +### Example: + +```php +$contacts.topPeers = ['_' => 'contacts.topPeers', 'categories' => [TopPeerCategoryPeers, TopPeerCategoryPeers], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.topPeers={_='contacts.topPeers', categories={TopPeerCategoryPeers}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v53/constructors/contacts.topPeersNotModified.md b/old_docs/API_docs_v53/constructors/contacts.topPeersNotModified.md new file mode 100644 index 00000000..77c5eb4d --- /dev/null +++ b/old_docs/API_docs_v53/constructors/contacts.topPeersNotModified.md @@ -0,0 +1,33 @@ +--- +title: contacts.topPeersNotModified +description: Top peer info hasn't changed +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.topPeersNotModified +[Back to constructors index](index.md) + + + +Top peer info hasn't changed + + + + +### Type: [contacts.TopPeers](../types/contacts.TopPeers.md) + + +### Example: + +```php +$contacts.topPeersNotModified = ['_' => 'contacts.topPeersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +contacts.topPeersNotModified={_='contacts.topPeersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v53/constructors/contacts_blocked.md b/old_docs/API_docs_v53/constructors/contacts_blocked.md deleted file mode 100644 index 20e33002..00000000 --- a/old_docs/API_docs_v53/constructors/contacts_blocked.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: contacts.blocked -description: Full list of blocked users. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.blocked -[Back to constructors index](index.md) - - - -Full list of blocked users. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Blocked](../types/contacts_Blocked.md) - - -### Example: - -```php -$contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_blocked={_='contacts.blocked', blocked={ContactBlocked}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v53/constructors/contacts_blockedSlice.md b/old_docs/API_docs_v53/constructors/contacts_blockedSlice.md deleted file mode 100644 index fcab9a28..00000000 --- a/old_docs/API_docs_v53/constructors/contacts_blockedSlice.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.blockedSlice -description: Incomplete list of blocked users. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.blockedSlice -[Back to constructors index](index.md) - - - -Incomplete list of blocked users. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of elements in the list| -|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Blocked](../types/contacts_Blocked.md) - - -### Example: - -```php -$contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_blockedSlice={_='contacts.blockedSlice', count=int, blocked={ContactBlocked}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v53/constructors/contacts_contacts.md b/old_docs/API_docs_v53/constructors/contacts_contacts.md deleted file mode 100644 index f101b34b..00000000 --- a/old_docs/API_docs_v53/constructors/contacts_contacts.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: contacts.contacts -description: The current user's contact list and info on users. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.contacts -[Back to constructors index](index.md) - - - -The current user's contact list and info on users. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|contacts|Array of [Contact](../types/Contact.md) | Yes|Contacts| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Contacts](../types/contacts_Contacts.md) - - -### Example: - -```php -$contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact, Contact], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_contacts={_='contacts.contacts', contacts={Contact}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v53/constructors/contacts_contactsNotModified.md b/old_docs/API_docs_v53/constructors/contacts_contactsNotModified.md deleted file mode 100644 index 17e76ac3..00000000 --- a/old_docs/API_docs_v53/constructors/contacts_contactsNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: contacts.contactsNotModified -description: Contact list on the server is the same as the list on the client. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.contactsNotModified -[Back to constructors index](index.md) - - - -Contact list on the server is the same as the list on the client. - - - - -### Type: [contacts\_Contacts](../types/contacts_Contacts.md) - - -### Example: - -```php -$contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified']; -``` - - -Or, if you're into Lua: - -```lua -contacts_contactsNotModified={_='contacts.contactsNotModified'} - -``` - - diff --git a/old_docs/API_docs_v53/constructors/contacts_found.md b/old_docs/API_docs_v53/constructors/contacts_found.md deleted file mode 100644 index 0674aabf..00000000 --- a/old_docs/API_docs_v53/constructors/contacts_found.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.found -description: Users found by name substring and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.found -[Back to constructors index](index.md) - - - -Users found by name substring and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|results|Array of [Peer](../types/Peer.md) | Yes|Results| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Found](../types/contacts_Found.md) - - -### Example: - -```php -$contacts_found = ['_' => 'contacts.found', 'results' => [Peer, Peer], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_found={_='contacts.found', results={Peer}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v53/constructors/contacts_importedContacts.md b/old_docs/API_docs_v53/constructors/contacts_importedContacts.md deleted file mode 100644 index 121d96d1..00000000 --- a/old_docs/API_docs_v53/constructors/contacts_importedContacts.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.importedContacts -description: Info on succesfully imported contacts. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.importedContacts -[Back to constructors index](index.md) - - - -Info on succesfully imported contacts. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|imported|Array of [ImportedContact](../types/ImportedContact.md) | Yes|Imported| -|retry\_contacts|Array of [long](../types/long.md) | Yes|Retry importing contacts whose client IDs appear here| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) - - -### Example: - -```php -$contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact, ImportedContact], 'retry_contacts' => [long, long], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_importedContacts={_='contacts.importedContacts', imported={ImportedContact}, retry_contacts={long}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v53/constructors/contacts_link.md b/old_docs/API_docs_v53/constructors/contacts_link.md deleted file mode 100644 index cfc566c7..00000000 --- a/old_docs/API_docs_v53/constructors/contacts_link.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.link -description: Link -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.link -[Back to constructors index](index.md) - - - -Link - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|my\_link|[ContactLink](../types/ContactLink.md) | Yes|My link| -|foreign\_link|[ContactLink](../types/ContactLink.md) | Yes|Foreign link| -|user|[User](../types/User.md) | Optional|User| - - - -### Type: [contacts\_Link](../types/contacts_Link.md) - - -### Example: - -```php -$contacts_link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User]; -``` - - -Or, if you're into Lua: - -```lua -contacts_link={_='contacts.link', my_link=ContactLink, foreign_link=ContactLink, user=User} - -``` - - diff --git a/old_docs/API_docs_v53/constructors/contacts_resolvedPeer.md b/old_docs/API_docs_v53/constructors/contacts_resolvedPeer.md deleted file mode 100644 index aae3c7af..00000000 --- a/old_docs/API_docs_v53/constructors/contacts_resolvedPeer.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.resolvedPeer -description: Resolved peer -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.resolvedPeer -[Back to constructors index](index.md) - - - -Resolved peer - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|peer|[Peer](../types/Peer.md) | Yes|The peer| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_ResolvedPeer](../types/contacts_ResolvedPeer.md) - - -### Example: - -```php -$contacts_resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_resolvedPeer={_='contacts.resolvedPeer', peer=Peer, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v53/constructors/contacts_topPeers.md b/old_docs/API_docs_v53/constructors/contacts_topPeers.md deleted file mode 100644 index 77bc07d3..00000000 --- a/old_docs/API_docs_v53/constructors/contacts_topPeers.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.topPeers -description: Top peers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.topPeers -[Back to constructors index](index.md) - - - -Top peers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|categories|Array of [TopPeerCategoryPeers](../types/TopPeerCategoryPeers.md) | Yes|Categories| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_TopPeers](../types/contacts_TopPeers.md) - - -### Example: - -```php -$contacts_topPeers = ['_' => 'contacts.topPeers', 'categories' => [TopPeerCategoryPeers, TopPeerCategoryPeers], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_topPeers={_='contacts.topPeers', categories={TopPeerCategoryPeers}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v53/constructors/contacts_topPeersNotModified.md b/old_docs/API_docs_v53/constructors/contacts_topPeersNotModified.md deleted file mode 100644 index 43eae59d..00000000 --- a/old_docs/API_docs_v53/constructors/contacts_topPeersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: contacts.topPeersNotModified -description: Top peer info hasn't changed -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.topPeersNotModified -[Back to constructors index](index.md) - - - -Top peer info hasn't changed - - - - -### Type: [contacts\_TopPeers](../types/contacts_TopPeers.md) - - -### Example: - -```php -$contacts_topPeersNotModified = ['_' => 'contacts.topPeersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -contacts_topPeersNotModified={_='contacts.topPeersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v53/constructors/help.appChangelog.md b/old_docs/API_docs_v53/constructors/help.appChangelog.md new file mode 100644 index 00000000..dec6b96c --- /dev/null +++ b/old_docs/API_docs_v53/constructors/help.appChangelog.md @@ -0,0 +1,38 @@ +--- +title: help.appChangelog +description: App changelog +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.appChangelog +[Back to constructors index](index.md) + + + +App changelog + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|text|[string](../types/string.md) | Yes|Text| + + + +### Type: [help.AppChangelog](../types/help.AppChangelog.md) + + +### Example: + +```php +$help.appChangelog = ['_' => 'help.appChangelog', 'text' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +help.appChangelog={_='help.appChangelog', text='string'} + +``` + + diff --git a/old_docs/API_docs_v53/constructors/help.appChangelogEmpty.md b/old_docs/API_docs_v53/constructors/help.appChangelogEmpty.md new file mode 100644 index 00000000..6ecb71af --- /dev/null +++ b/old_docs/API_docs_v53/constructors/help.appChangelogEmpty.md @@ -0,0 +1,33 @@ +--- +title: help.appChangelogEmpty +description: Empty app changelog +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.appChangelogEmpty +[Back to constructors index](index.md) + + + +Empty app changelog + + + + +### Type: [help.AppChangelog](../types/help.AppChangelog.md) + + +### Example: + +```php +$help.appChangelogEmpty = ['_' => 'help.appChangelogEmpty']; +``` + + +Or, if you're into Lua: + +```lua +help.appChangelogEmpty={_='help.appChangelogEmpty'} + +``` + + diff --git a/old_docs/API_docs_v53/constructors/help.appUpdate.md b/old_docs/API_docs_v53/constructors/help.appUpdate.md new file mode 100644 index 00000000..14b2d75b --- /dev/null +++ b/old_docs/API_docs_v53/constructors/help.appUpdate.md @@ -0,0 +1,41 @@ +--- +title: help.appUpdate +description: An update is available for the application. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.appUpdate +[Back to constructors index](index.md) + + + +An update is available for the application. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|id|[int](../types/int.md) | Yes|Update ID| +|critical|[Bool](../types/Bool.md) | Yes|Critical?| +|url|[string](../types/string.md) | Yes|Application download URL| +|text|[string](../types/string.md) | Yes|Text description of the update| + + + +### Type: [help.AppUpdate](../types/help.AppUpdate.md) + + +### Example: + +```php +$help.appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'url' => 'string', 'text' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +help.appUpdate={_='help.appUpdate', id=int, critical=Bool, url='string', text='string'} + +``` + + diff --git a/old_docs/API_docs_v53/constructors/help.inviteText.md b/old_docs/API_docs_v53/constructors/help.inviteText.md new file mode 100644 index 00000000..6a6261c1 --- /dev/null +++ b/old_docs/API_docs_v53/constructors/help.inviteText.md @@ -0,0 +1,38 @@ +--- +title: help.inviteText +description: Text of a text message with an invitation to install application. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.inviteText +[Back to constructors index](index.md) + + + +Text of a text message with an invitation to install application. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|message|[string](../types/string.md) | Yes|Text of a message| + + + +### Type: [help.InviteText](../types/help.InviteText.md) + + +### Example: + +```php +$help.inviteText = ['_' => 'help.inviteText', 'message' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +help.inviteText={_='help.inviteText', message='string'} + +``` + + diff --git a/old_docs/API_docs_v53/constructors/help.noAppUpdate.md b/old_docs/API_docs_v53/constructors/help.noAppUpdate.md new file mode 100644 index 00000000..1b69ac9a --- /dev/null +++ b/old_docs/API_docs_v53/constructors/help.noAppUpdate.md @@ -0,0 +1,33 @@ +--- +title: help.noAppUpdate +description: No updates are available for the application. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.noAppUpdate +[Back to constructors index](index.md) + + + +No updates are available for the application. + + + + +### Type: [help.AppUpdate](../types/help.AppUpdate.md) + + +### Example: + +```php +$help.noAppUpdate = ['_' => 'help.noAppUpdate']; +``` + + +Or, if you're into Lua: + +```lua +help.noAppUpdate={_='help.noAppUpdate'} + +``` + + diff --git a/old_docs/API_docs_v53/constructors/help.support.md b/old_docs/API_docs_v53/constructors/help.support.md new file mode 100644 index 00000000..4d4f85fb --- /dev/null +++ b/old_docs/API_docs_v53/constructors/help.support.md @@ -0,0 +1,39 @@ +--- +title: help.support +description: Info on support user. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.support +[Back to constructors index](index.md) + + + +Info on support user. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_number|[string](../types/string.md) | Yes|Phone number| +|user|[User](../types/User.md) | Optional|User| + + + +### Type: [help.Support](../types/help.Support.md) + + +### Example: + +```php +$help.support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => User]; +``` + + +Or, if you're into Lua: + +```lua +help.support={_='help.support', phone_number='string', user=User} + +``` + + diff --git a/old_docs/API_docs_v53/constructors/help.termsOfService.md b/old_docs/API_docs_v53/constructors/help.termsOfService.md new file mode 100644 index 00000000..cab1f128 --- /dev/null +++ b/old_docs/API_docs_v53/constructors/help.termsOfService.md @@ -0,0 +1,38 @@ +--- +title: help.termsOfService +description: Info about the latest telegram Terms Of Service +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.termsOfService +[Back to constructors index](index.md) + + + +Info about the latest telegram Terms Of Service + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|text|[string](../types/string.md) | Yes|Text of the new terms| + + + +### Type: [help.TermsOfService](../types/help.TermsOfService.md) + + +### Example: + +```php +$help.termsOfService = ['_' => 'help.termsOfService', 'text' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +help.termsOfService={_='help.termsOfService', text='string'} + +``` + + diff --git a/old_docs/API_docs_v53/constructors/help_appChangelog.md b/old_docs/API_docs_v53/constructors/help_appChangelog.md deleted file mode 100644 index 793a8fc4..00000000 --- a/old_docs/API_docs_v53/constructors/help_appChangelog.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: help.appChangelog -description: App changelog -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.appChangelog -[Back to constructors index](index.md) - - - -App changelog - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|text|[string](../types/string.md) | Yes|Text| - - - -### Type: [help\_AppChangelog](../types/help_AppChangelog.md) - - -### Example: - -```php -$help_appChangelog = ['_' => 'help.appChangelog', 'text' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -help_appChangelog={_='help.appChangelog', text='string'} - -``` - - diff --git a/old_docs/API_docs_v53/constructors/help_appChangelogEmpty.md b/old_docs/API_docs_v53/constructors/help_appChangelogEmpty.md deleted file mode 100644 index 62a195bb..00000000 --- a/old_docs/API_docs_v53/constructors/help_appChangelogEmpty.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: help.appChangelogEmpty -description: Empty app changelog -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.appChangelogEmpty -[Back to constructors index](index.md) - - - -Empty app changelog - - - - -### Type: [help\_AppChangelog](../types/help_AppChangelog.md) - - -### Example: - -```php -$help_appChangelogEmpty = ['_' => 'help.appChangelogEmpty']; -``` - - -Or, if you're into Lua: - -```lua -help_appChangelogEmpty={_='help.appChangelogEmpty'} - -``` - - diff --git a/old_docs/API_docs_v53/constructors/help_appUpdate.md b/old_docs/API_docs_v53/constructors/help_appUpdate.md deleted file mode 100644 index efba9bdb..00000000 --- a/old_docs/API_docs_v53/constructors/help_appUpdate.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: help.appUpdate -description: An update is available for the application. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.appUpdate -[Back to constructors index](index.md) - - - -An update is available for the application. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|id|[int](../types/int.md) | Yes|Update ID| -|critical|[Bool](../types/Bool.md) | Yes|Critical?| -|url|[string](../types/string.md) | Yes|Application download URL| -|text|[string](../types/string.md) | Yes|Text description of the update| - - - -### Type: [help\_AppUpdate](../types/help_AppUpdate.md) - - -### Example: - -```php -$help_appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'url' => 'string', 'text' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -help_appUpdate={_='help.appUpdate', id=int, critical=Bool, url='string', text='string'} - -``` - - diff --git a/old_docs/API_docs_v53/constructors/help_inviteText.md b/old_docs/API_docs_v53/constructors/help_inviteText.md deleted file mode 100644 index b8317ce3..00000000 --- a/old_docs/API_docs_v53/constructors/help_inviteText.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: help.inviteText -description: Text of a text message with an invitation to install application. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.inviteText -[Back to constructors index](index.md) - - - -Text of a text message with an invitation to install application. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|message|[string](../types/string.md) | Yes|Text of a message| - - - -### Type: [help\_InviteText](../types/help_InviteText.md) - - -### Example: - -```php -$help_inviteText = ['_' => 'help.inviteText', 'message' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -help_inviteText={_='help.inviteText', message='string'} - -``` - - diff --git a/old_docs/API_docs_v53/constructors/help_noAppUpdate.md b/old_docs/API_docs_v53/constructors/help_noAppUpdate.md deleted file mode 100644 index 51505e52..00000000 --- a/old_docs/API_docs_v53/constructors/help_noAppUpdate.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: help.noAppUpdate -description: No updates are available for the application. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.noAppUpdate -[Back to constructors index](index.md) - - - -No updates are available for the application. - - - - -### Type: [help\_AppUpdate](../types/help_AppUpdate.md) - - -### Example: - -```php -$help_noAppUpdate = ['_' => 'help.noAppUpdate']; -``` - - -Or, if you're into Lua: - -```lua -help_noAppUpdate={_='help.noAppUpdate'} - -``` - - diff --git a/old_docs/API_docs_v53/constructors/help_support.md b/old_docs/API_docs_v53/constructors/help_support.md deleted file mode 100644 index 148f7f42..00000000 --- a/old_docs/API_docs_v53/constructors/help_support.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: help.support -description: Info on support user. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.support -[Back to constructors index](index.md) - - - -Info on support user. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_number|[string](../types/string.md) | Yes|Phone number| -|user|[User](../types/User.md) | Optional|User| - - - -### Type: [help\_Support](../types/help_Support.md) - - -### Example: - -```php -$help_support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => User]; -``` - - -Or, if you're into Lua: - -```lua -help_support={_='help.support', phone_number='string', user=User} - -``` - - diff --git a/old_docs/API_docs_v53/constructors/help_termsOfService.md b/old_docs/API_docs_v53/constructors/help_termsOfService.md deleted file mode 100644 index 2ac763b3..00000000 --- a/old_docs/API_docs_v53/constructors/help_termsOfService.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: help.termsOfService -description: Info about the latest telegram Terms Of Service -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.termsOfService -[Back to constructors index](index.md) - - - -Info about the latest telegram Terms Of Service - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|text|[string](../types/string.md) | Yes|Text of the new terms| - - - -### Type: [help\_TermsOfService](../types/help_TermsOfService.md) - - -### Example: - -```php -$help_termsOfService = ['_' => 'help.termsOfService', 'text' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -help_termsOfService={_='help.termsOfService', text='string'} - -``` - - diff --git a/old_docs/API_docs_v53/constructors/messages.affectedHistory.md b/old_docs/API_docs_v53/constructors/messages.affectedHistory.md new file mode 100644 index 00000000..5fc8acec --- /dev/null +++ b/old_docs/API_docs_v53/constructors/messages.affectedHistory.md @@ -0,0 +1,40 @@ +--- +title: messages.affectedHistory +description: Affected part of communication history with the user or in a chat. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.affectedHistory +[Back to constructors index](index.md) + + + +Affected part of communication history with the user or in a chat. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| +|pts\_count|[int](../types/int.md) | Yes|Number of affected events| +|offset|[int](../types/int.md) | Yes|If a parameter contains positive value, it is necessary to repeat the method call using the given value; during the proceeding of all the history the value itself shall gradually decrease| + + + +### Type: [messages.AffectedHistory](../types/messages.AffectedHistory.md) + + +### Example: + +```php +$messages.affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.affectedHistory={_='messages.affectedHistory', pts=int, pts_count=int, offset=int} + +``` + + diff --git a/old_docs/API_docs_v53/constructors/messages.affectedMessages.md b/old_docs/API_docs_v53/constructors/messages.affectedMessages.md new file mode 100644 index 00000000..a0e60bdf --- /dev/null +++ b/old_docs/API_docs_v53/constructors/messages.affectedMessages.md @@ -0,0 +1,39 @@ +--- +title: messages.affectedMessages +description: Events affected by operation +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.affectedMessages +[Back to constructors index](index.md) + + + +Events affected by operation + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|[Event count after generation](https://core.telegram.org/api/updates)| +|pts\_count|[int](../types/int.md) | Yes|[Number of events that were generated](https://core.telegram.org/api/updates)| + + + +### Type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) + + +### Example: + +```php +$messages.affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.affectedMessages={_='messages.affectedMessages', pts=int, pts_count=int} + +``` + + diff --git a/old_docs/API_docs_v53/constructors/messages.allStickers.md b/old_docs/API_docs_v53/constructors/messages.allStickers.md new file mode 100644 index 00000000..5f13bfde --- /dev/null +++ b/old_docs/API_docs_v53/constructors/messages.allStickers.md @@ -0,0 +1,39 @@ +--- +title: messages.allStickers +description: Info about all installed stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.allStickers +[Back to constructors index](index.md) + + + +Info about all installed stickers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|sets|Array of [StickerSet](../types/StickerSet.md) | Yes|Sets| + + + +### Type: [messages.AllStickers](../types/messages.AllStickers.md) + + +### Example: + +```php +$messages.allStickers = ['_' => 'messages.allStickers', 'hash' => int, 'sets' => [StickerSet, StickerSet]]; +``` + + +Or, if you're into Lua: + +```lua +messages.allStickers={_='messages.allStickers', hash=int, sets={StickerSet}} + +``` + + diff --git a/old_docs/API_docs_v53/constructors/messages.allStickersNotModified.md b/old_docs/API_docs_v53/constructors/messages.allStickersNotModified.md new file mode 100644 index 00000000..d3db088b --- /dev/null +++ b/old_docs/API_docs_v53/constructors/messages.allStickersNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.allStickersNotModified +description: Info about all installed stickers hasn't changed +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.allStickersNotModified +[Back to constructors index](index.md) + + + +Info about all installed stickers hasn't changed + + + + +### Type: [messages.AllStickers](../types/messages.AllStickers.md) + + +### Example: + +```php +$messages.allStickersNotModified = ['_' => 'messages.allStickersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.allStickersNotModified={_='messages.allStickersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v53/constructors/messages.botCallbackAnswer.md b/old_docs/API_docs_v53/constructors/messages.botCallbackAnswer.md new file mode 100644 index 00000000..508175e0 --- /dev/null +++ b/old_docs/API_docs_v53/constructors/messages.botCallbackAnswer.md @@ -0,0 +1,39 @@ +--- +title: messages.botCallbackAnswer +description: Callback answer sent by the bot in response to a button press +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.botCallbackAnswer +[Back to constructors index](index.md) + + + +Callback answer sent by the bot in response to a button press + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|alert|[Bool](../types/Bool.md) | Optional|Whether an alert should be shown to the user instead of a toast notification| +|message|[string](../types/string.md) | Optional|Alert to show| + + + +### Type: [messages.BotCallbackAnswer](../types/messages.BotCallbackAnswer.md) + + +### Example: + +```php +$messages.botCallbackAnswer = ['_' => 'messages.botCallbackAnswer', 'alert' => Bool, 'message' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +messages.botCallbackAnswer={_='messages.botCallbackAnswer', alert=Bool, message='string'} + +``` + + diff --git a/old_docs/API_docs_v53/constructors/messages.botResults.md b/old_docs/API_docs_v53/constructors/messages.botResults.md new file mode 100644 index 00000000..00597fc9 --- /dev/null +++ b/old_docs/API_docs_v53/constructors/messages.botResults.md @@ -0,0 +1,42 @@ +--- +title: messages.botResults +description: Result of a query to an inline bot +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.botResults +[Back to constructors index](index.md) + + + +Result of a query to an inline bot + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|gallery|[Bool](../types/Bool.md) | Optional|Whether the result is a picture gallery| +|query\_id|[long](../types/long.md) | Yes|Query ID| +|next\_offset|[string](../types/string.md) | Optional|The next offset to use when navigating through results| +|switch\_pm|[InlineBotSwitchPM](../types/InlineBotSwitchPM.md) | Optional|Whether the bot requested the user to message him in private| +|results|Array of [BotInlineResult](../types/BotInlineResult.md) | Yes|Results| + + + +### Type: [messages.BotResults](../types/messages.BotResults.md) + + +### Example: + +```php +$messages.botResults = ['_' => 'messages.botResults', 'gallery' => Bool, 'query_id' => long, 'next_offset' => 'string', 'switch_pm' => InlineBotSwitchPM, 'results' => [BotInlineResult, BotInlineResult]]; +``` + + +Or, if you're into Lua: + +```lua +messages.botResults={_='messages.botResults', gallery=Bool, query_id=long, next_offset='string', switch_pm=InlineBotSwitchPM, results={BotInlineResult}} + +``` + + diff --git a/old_docs/API_docs_v53/constructors/messages.channelMessages.md b/old_docs/API_docs_v53/constructors/messages.channelMessages.md new file mode 100644 index 00000000..95633336 --- /dev/null +++ b/old_docs/API_docs_v53/constructors/messages.channelMessages.md @@ -0,0 +1,42 @@ +--- +title: messages.channelMessages +description: Channel messages +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.channelMessages +[Back to constructors index](index.md) + + + +Channel messages + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|[Event count after generation](https://core.telegram.org/api/updates)| +|count|[int](../types/int.md) | Yes|Total number of results were found server-side (may not be all included here)| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Messages](../types/messages.Messages.md) + + +### Example: + +```php +$messages.channelMessages = ['_' => 'messages.channelMessages', 'pts' => int, 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.channelMessages={_='messages.channelMessages', pts=int, count=int, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v53/constructors/messages.chatFull.md b/old_docs/API_docs_v53/constructors/messages.chatFull.md new file mode 100644 index 00000000..3906cc54 --- /dev/null +++ b/old_docs/API_docs_v53/constructors/messages.chatFull.md @@ -0,0 +1,40 @@ +--- +title: messages.chatFull +description: Extended info on chat and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.chatFull +[Back to constructors index](index.md) + + + +Extended info on chat and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|full\_chat|[ChatFull](../types/ChatFull.md) | Yes|Extended info on a chat| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.ChatFull](../types/messages.ChatFull.md) + + +### Example: + +```php +$messages.chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.chatFull={_='messages.chatFull', full_chat=ChatFull, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v53/constructors/messages.chats.md b/old_docs/API_docs_v53/constructors/messages.chats.md new file mode 100644 index 00000000..9ede9ff2 --- /dev/null +++ b/old_docs/API_docs_v53/constructors/messages.chats.md @@ -0,0 +1,38 @@ +--- +title: messages.chats +description: List of chats with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.chats +[Back to constructors index](index.md) + + + +List of chats with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| + + + +### Type: [messages.Chats](../types/messages.Chats.md) + + +### Example: + +```php +$messages.chats = ['_' => 'messages.chats', 'chats' => [Chat, Chat]]; +``` + + +Or, if you're into Lua: + +```lua +messages.chats={_='messages.chats', chats={Chat}} + +``` + + diff --git a/old_docs/API_docs_v53/constructors/messages.dhConfig.md b/old_docs/API_docs_v53/constructors/messages.dhConfig.md new file mode 100644 index 00000000..58344f64 --- /dev/null +++ b/old_docs/API_docs_v53/constructors/messages.dhConfig.md @@ -0,0 +1,41 @@ +--- +title: messages.dhConfig +description: New set of configuring parameters. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dhConfig +[Back to constructors index](index.md) + + + +New set of configuring parameters. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|g|[int](../types/int.md) | Yes|New value **prime**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| +|p|[bytes](../types/bytes.md) | Yes|New value **primitive root**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| +|version|[int](../types/int.md) | Yes|Vestion of set of parameters| +|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| + + + +### Type: [messages.DhConfig](../types/messages.DhConfig.md) + + +### Example: + +```php +$messages.dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'version' => int, 'random' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +messages.dhConfig={_='messages.dhConfig', g=int, p='bytes', version=int, random='bytes'} + +``` + + diff --git a/old_docs/API_docs_v53/constructors/messages.dhConfigNotModified.md b/old_docs/API_docs_v53/constructors/messages.dhConfigNotModified.md new file mode 100644 index 00000000..a9a95389 --- /dev/null +++ b/old_docs/API_docs_v53/constructors/messages.dhConfigNotModified.md @@ -0,0 +1,38 @@ +--- +title: messages.dhConfigNotModified +description: Configuring parameters did not change. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dhConfigNotModified +[Back to constructors index](index.md) + + + +Configuring parameters did not change. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| + + + +### Type: [messages.DhConfig](../types/messages.DhConfig.md) + + +### Example: + +```php +$messages.dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +messages.dhConfigNotModified={_='messages.dhConfigNotModified', random='bytes'} + +``` + + diff --git a/old_docs/API_docs_v53/constructors/messages.dialogs.md b/old_docs/API_docs_v53/constructors/messages.dialogs.md new file mode 100644 index 00000000..a72eabce --- /dev/null +++ b/old_docs/API_docs_v53/constructors/messages.dialogs.md @@ -0,0 +1,41 @@ +--- +title: messages.dialogs +description: Full list of chats with messages and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dialogs +[Back to constructors index](index.md) + + + +Full list of chats with messages and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Dialogs](../types/messages.Dialogs.md) + + +### Example: + +```php +$messages.dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.dialogs={_='messages.dialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v53/constructors/messages.dialogsSlice.md b/old_docs/API_docs_v53/constructors/messages.dialogsSlice.md new file mode 100644 index 00000000..26227d2c --- /dev/null +++ b/old_docs/API_docs_v53/constructors/messages.dialogsSlice.md @@ -0,0 +1,42 @@ +--- +title: messages.dialogsSlice +description: Incomplete list of dialogs with messages and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dialogsSlice +[Back to constructors index](index.md) + + + +Incomplete list of dialogs with messages and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of dialogs| +|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Dialogs](../types/messages.Dialogs.md) + + +### Example: + +```php +$messages.dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.dialogsSlice={_='messages.dialogsSlice', count=int, dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v53/constructors/messages.foundGifs.md b/old_docs/API_docs_v53/constructors/messages.foundGifs.md new file mode 100644 index 00000000..c75e36f9 --- /dev/null +++ b/old_docs/API_docs_v53/constructors/messages.foundGifs.md @@ -0,0 +1,39 @@ +--- +title: messages.foundGifs +description: Found GIFs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.foundGifs +[Back to constructors index](index.md) + + + +Found GIFs + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|next\_offset|[int](../types/int.md) | Yes|Next offset to use when trying to [load more results](../methods/messages.searchGifs.md)| +|results|Array of [FoundGif](../types/FoundGif.md) | Yes|Results| + + + +### Type: [messages.FoundGifs](../types/messages.FoundGifs.md) + + +### Example: + +```php +$messages.foundGifs = ['_' => 'messages.foundGifs', 'next_offset' => int, 'results' => [FoundGif, FoundGif]]; +``` + + +Or, if you're into Lua: + +```lua +messages.foundGifs={_='messages.foundGifs', next_offset=int, results={FoundGif}} + +``` + + diff --git a/old_docs/API_docs_v53/constructors/messages.messageEditData.md b/old_docs/API_docs_v53/constructors/messages.messageEditData.md new file mode 100644 index 00000000..578b53d9 --- /dev/null +++ b/old_docs/API_docs_v53/constructors/messages.messageEditData.md @@ -0,0 +1,38 @@ +--- +title: messages.messageEditData +description: Message edit data for media +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.messageEditData +[Back to constructors index](index.md) + + + +Message edit data for media + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|caption|[Bool](../types/Bool.md) | Optional|Media caption, if the specified media's caption can be edited| + + + +### Type: [messages.MessageEditData](../types/messages.MessageEditData.md) + + +### Example: + +```php +$messages.messageEditData = ['_' => 'messages.messageEditData', 'caption' => Bool]; +``` + + +Or, if you're into Lua: + +```lua +messages.messageEditData={_='messages.messageEditData', caption=Bool} + +``` + + diff --git a/old_docs/API_docs_v53/constructors/messages.messages.md b/old_docs/API_docs_v53/constructors/messages.messages.md new file mode 100644 index 00000000..3af71dca --- /dev/null +++ b/old_docs/API_docs_v53/constructors/messages.messages.md @@ -0,0 +1,40 @@ +--- +title: messages.messages +description: Full list of messages with auxilary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.messages +[Back to constructors index](index.md) + + + +Full list of messages with auxilary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Messages](../types/messages.Messages.md) + + +### Example: + +```php +$messages.messages = ['_' => 'messages.messages', 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.messages={_='messages.messages', messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v53/constructors/messages.messagesSlice.md b/old_docs/API_docs_v53/constructors/messages.messagesSlice.md new file mode 100644 index 00000000..2fe91df0 --- /dev/null +++ b/old_docs/API_docs_v53/constructors/messages.messagesSlice.md @@ -0,0 +1,41 @@ +--- +title: messages.messagesSlice +description: Incomplete list of messages and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.messagesSlice +[Back to constructors index](index.md) + + + +Incomplete list of messages and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of messages in the list| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Messages](../types/messages.Messages.md) + + +### Example: + +```php +$messages.messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.messagesSlice={_='messages.messagesSlice', count=int, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v53/constructors/messages.peerDialogs.md b/old_docs/API_docs_v53/constructors/messages.peerDialogs.md new file mode 100644 index 00000000..39cb71f8 --- /dev/null +++ b/old_docs/API_docs_v53/constructors/messages.peerDialogs.md @@ -0,0 +1,42 @@ +--- +title: messages.peerDialogs +description: Dialog info of multiple peers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.peerDialogs +[Back to constructors index](index.md) + + + +Dialog info of multiple peers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| +|state|[updates.State](../constructors/updates.State.md) | Yes|Current [update state of dialog](https://core.telegram.org/api/updates)| + + + +### Type: [messages.PeerDialogs](../types/messages.PeerDialogs.md) + + +### Example: + +```php +$messages.peerDialogs = ['_' => 'messages.peerDialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates.State]; +``` + + +Or, if you're into Lua: + +```lua +messages.peerDialogs={_='messages.peerDialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}, state=updates.State} + +``` + + diff --git a/old_docs/API_docs_v53/constructors/messages.savedGifs.md b/old_docs/API_docs_v53/constructors/messages.savedGifs.md new file mode 100644 index 00000000..c82929a3 --- /dev/null +++ b/old_docs/API_docs_v53/constructors/messages.savedGifs.md @@ -0,0 +1,39 @@ +--- +title: messages.savedGifs +description: Saved gifs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.savedGifs +[Back to constructors index](index.md) + + + +Saved gifs + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|gifs|Array of [Document](../types/Document.md) | Yes|Gifs| + + + +### Type: [messages.SavedGifs](../types/messages.SavedGifs.md) + + +### Example: + +```php +$messages.savedGifs = ['_' => 'messages.savedGifs', 'hash' => int, 'gifs' => [Document, Document]]; +``` + + +Or, if you're into Lua: + +```lua +messages.savedGifs={_='messages.savedGifs', hash=int, gifs={Document}} + +``` + + diff --git a/old_docs/API_docs_v53/constructors/messages.savedGifsNotModified.md b/old_docs/API_docs_v53/constructors/messages.savedGifsNotModified.md new file mode 100644 index 00000000..0fbccacc --- /dev/null +++ b/old_docs/API_docs_v53/constructors/messages.savedGifsNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.savedGifsNotModified +description: No new saved gifs were found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.savedGifsNotModified +[Back to constructors index](index.md) + + + +No new saved gifs were found + + + + +### Type: [messages.SavedGifs](../types/messages.SavedGifs.md) + + +### Example: + +```php +$messages.savedGifsNotModified = ['_' => 'messages.savedGifsNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.savedGifsNotModified={_='messages.savedGifsNotModified'} + +``` + + diff --git a/old_docs/API_docs_v53/constructors/messages.sentEncryptedFile.md b/old_docs/API_docs_v53/constructors/messages.sentEncryptedFile.md new file mode 100644 index 00000000..1f0e43c6 --- /dev/null +++ b/old_docs/API_docs_v53/constructors/messages.sentEncryptedFile.md @@ -0,0 +1,39 @@ +--- +title: messages.sentEncryptedFile +description: Message with a file enclosure sent to a protected chat +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.sentEncryptedFile +[Back to constructors index](index.md) + + + +Message with a file enclosure sent to a protected chat + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Sending date| +|file|[EncryptedFile](../types/EncryptedFile.md) | Optional|Attached file| + + + +### Type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) + + +### Example: + +```php +$messages.sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile]; +``` + + +Or, if you're into Lua: + +```lua +messages.sentEncryptedFile={_='messages.sentEncryptedFile', date=int, file=EncryptedFile} + +``` + + diff --git a/old_docs/API_docs_v53/constructors/messages.sentEncryptedMessage.md b/old_docs/API_docs_v53/constructors/messages.sentEncryptedMessage.md new file mode 100644 index 00000000..3d5eb40c --- /dev/null +++ b/old_docs/API_docs_v53/constructors/messages.sentEncryptedMessage.md @@ -0,0 +1,38 @@ +--- +title: messages.sentEncryptedMessage +description: Message without file attachemts sent to an encrypted file. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.sentEncryptedMessage +[Back to constructors index](index.md) + + + +Message without file attachemts sent to an encrypted file. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Date of sending| + + + +### Type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) + + +### Example: + +```php +$messages.sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.sentEncryptedMessage={_='messages.sentEncryptedMessage', date=int} + +``` + + diff --git a/old_docs/API_docs_v53/constructors/messages.stickerSet.md b/old_docs/API_docs_v53/constructors/messages.stickerSet.md new file mode 100644 index 00000000..fbc154d0 --- /dev/null +++ b/old_docs/API_docs_v53/constructors/messages.stickerSet.md @@ -0,0 +1,40 @@ +--- +title: messages.stickerSet +description: Stickerset and stickers inside it +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickerSet +[Back to constructors index](index.md) + + + +Stickerset and stickers inside it + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|set|[StickerSet](../types/StickerSet.md) | Yes|The stickerset| +|packs|Array of [StickerPack](../types/StickerPack.md) | Yes|Packs| +|documents|Array of [Document](../types/Document.md) | Yes|Documents| + + + +### Type: [messages.StickerSet](../types/messages.StickerSet.md) + + +### Example: + +```php +$messages.stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'packs' => [StickerPack, StickerPack], 'documents' => [Document, Document]]; +``` + + +Or, if you're into Lua: + +```lua +messages.stickerSet={_='messages.stickerSet', set=StickerSet, packs={StickerPack}, documents={Document}} + +``` + + diff --git a/old_docs/API_docs_v53/constructors/messages.stickers.md b/old_docs/API_docs_v53/constructors/messages.stickers.md new file mode 100644 index 00000000..310b64b0 --- /dev/null +++ b/old_docs/API_docs_v53/constructors/messages.stickers.md @@ -0,0 +1,39 @@ +--- +title: messages.stickers +description: Found stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickers +[Back to constructors index](index.md) + + + +Found stickers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[string](../types/string.md) | Yes|Hash| +|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| + + + +### Type: [messages.Stickers](../types/messages.Stickers.md) + + +### Example: + +```php +$messages.stickers = ['_' => 'messages.stickers', 'hash' => 'string', 'stickers' => [Document, Document]]; +``` + + +Or, if you're into Lua: + +```lua +messages.stickers={_='messages.stickers', hash='string', stickers={Document}} + +``` + + diff --git a/old_docs/API_docs_v53/constructors/messages.stickersNotModified.md b/old_docs/API_docs_v53/constructors/messages.stickersNotModified.md new file mode 100644 index 00000000..e8c7766c --- /dev/null +++ b/old_docs/API_docs_v53/constructors/messages.stickersNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.stickersNotModified +description: No new stickers were found for the given query +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickersNotModified +[Back to constructors index](index.md) + + + +No new stickers were found for the given query + + + + +### Type: [messages.Stickers](../types/messages.Stickers.md) + + +### Example: + +```php +$messages.stickersNotModified = ['_' => 'messages.stickersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.stickersNotModified={_='messages.stickersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v53/constructors/messages_affectedHistory.md b/old_docs/API_docs_v53/constructors/messages_affectedHistory.md deleted file mode 100644 index 449a7e3f..00000000 --- a/old_docs/API_docs_v53/constructors/messages_affectedHistory.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.affectedHistory -description: Affected part of communication history with the user or in a chat. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.affectedHistory -[Back to constructors index](index.md) - - - -Affected part of communication history with the user or in a chat. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| -|pts\_count|[int](../types/int.md) | Yes|Number of affected events| -|offset|[int](../types/int.md) | Yes|If a parameter contains positive value, it is necessary to repeat the method call using the given value; during the proceeding of all the history the value itself shall gradually decrease| - - - -### Type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) - - -### Example: - -```php -$messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_affectedHistory={_='messages.affectedHistory', pts=int, pts_count=int, offset=int} - -``` - - diff --git a/old_docs/API_docs_v53/constructors/messages_affectedMessages.md b/old_docs/API_docs_v53/constructors/messages_affectedMessages.md deleted file mode 100644 index 86760581..00000000 --- a/old_docs/API_docs_v53/constructors/messages_affectedMessages.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.affectedMessages -description: Events affected by operation -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.affectedMessages -[Back to constructors index](index.md) - - - -Events affected by operation - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|[Event count after generation](https://core.telegram.org/api/updates)| -|pts\_count|[int](../types/int.md) | Yes|[Number of events that were generated](https://core.telegram.org/api/updates)| - - - -### Type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) - - -### Example: - -```php -$messages_affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_affectedMessages={_='messages.affectedMessages', pts=int, pts_count=int} - -``` - - diff --git a/old_docs/API_docs_v53/constructors/messages_allStickers.md b/old_docs/API_docs_v53/constructors/messages_allStickers.md deleted file mode 100644 index 2e64f46e..00000000 --- a/old_docs/API_docs_v53/constructors/messages_allStickers.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.allStickers -description: Info about all installed stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.allStickers -[Back to constructors index](index.md) - - - -Info about all installed stickers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|sets|Array of [StickerSet](../types/StickerSet.md) | Yes|Sets| - - - -### Type: [messages\_AllStickers](../types/messages_AllStickers.md) - - -### Example: - -```php -$messages_allStickers = ['_' => 'messages.allStickers', 'hash' => int, 'sets' => [StickerSet, StickerSet]]; -``` - - -Or, if you're into Lua: - -```lua -messages_allStickers={_='messages.allStickers', hash=int, sets={StickerSet}} - -``` - - diff --git a/old_docs/API_docs_v53/constructors/messages_allStickersNotModified.md b/old_docs/API_docs_v53/constructors/messages_allStickersNotModified.md deleted file mode 100644 index c4da85ab..00000000 --- a/old_docs/API_docs_v53/constructors/messages_allStickersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.allStickersNotModified -description: Info about all installed stickers hasn't changed -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.allStickersNotModified -[Back to constructors index](index.md) - - - -Info about all installed stickers hasn't changed - - - - -### Type: [messages\_AllStickers](../types/messages_AllStickers.md) - - -### Example: - -```php -$messages_allStickersNotModified = ['_' => 'messages.allStickersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_allStickersNotModified={_='messages.allStickersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v53/constructors/messages_botCallbackAnswer.md b/old_docs/API_docs_v53/constructors/messages_botCallbackAnswer.md deleted file mode 100644 index dcfa0bfb..00000000 --- a/old_docs/API_docs_v53/constructors/messages_botCallbackAnswer.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.botCallbackAnswer -description: Callback answer sent by the bot in response to a button press -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.botCallbackAnswer -[Back to constructors index](index.md) - - - -Callback answer sent by the bot in response to a button press - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|alert|[Bool](../types/Bool.md) | Optional|Whether an alert should be shown to the user instead of a toast notification| -|message|[string](../types/string.md) | Optional|Alert to show| - - - -### Type: [messages\_BotCallbackAnswer](../types/messages_BotCallbackAnswer.md) - - -### Example: - -```php -$messages_botCallbackAnswer = ['_' => 'messages.botCallbackAnswer', 'alert' => Bool, 'message' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -messages_botCallbackAnswer={_='messages.botCallbackAnswer', alert=Bool, message='string'} - -``` - - diff --git a/old_docs/API_docs_v53/constructors/messages_botResults.md b/old_docs/API_docs_v53/constructors/messages_botResults.md deleted file mode 100644 index 036ce74b..00000000 --- a/old_docs/API_docs_v53/constructors/messages_botResults.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: messages.botResults -description: Result of a query to an inline bot -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.botResults -[Back to constructors index](index.md) - - - -Result of a query to an inline bot - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|gallery|[Bool](../types/Bool.md) | Optional|Whether the result is a picture gallery| -|query\_id|[long](../types/long.md) | Yes|Query ID| -|next\_offset|[string](../types/string.md) | Optional|The next offset to use when navigating through results| -|switch\_pm|[InlineBotSwitchPM](../types/InlineBotSwitchPM.md) | Optional|Whether the bot requested the user to message him in private| -|results|Array of [BotInlineResult](../types/BotInlineResult.md) | Yes|Results| - - - -### Type: [messages\_BotResults](../types/messages_BotResults.md) - - -### Example: - -```php -$messages_botResults = ['_' => 'messages.botResults', 'gallery' => Bool, 'query_id' => long, 'next_offset' => 'string', 'switch_pm' => InlineBotSwitchPM, 'results' => [BotInlineResult, BotInlineResult]]; -``` - - -Or, if you're into Lua: - -```lua -messages_botResults={_='messages.botResults', gallery=Bool, query_id=long, next_offset='string', switch_pm=InlineBotSwitchPM, results={BotInlineResult}} - -``` - - diff --git a/old_docs/API_docs_v53/constructors/messages_channelMessages.md b/old_docs/API_docs_v53/constructors/messages_channelMessages.md deleted file mode 100644 index 12cdb9cd..00000000 --- a/old_docs/API_docs_v53/constructors/messages_channelMessages.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: messages.channelMessages -description: Channel messages -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.channelMessages -[Back to constructors index](index.md) - - - -Channel messages - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|[Event count after generation](https://core.telegram.org/api/updates)| -|count|[int](../types/int.md) | Yes|Total number of results were found server-side (may not be all included here)| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Messages](../types/messages_Messages.md) - - -### Example: - -```php -$messages_channelMessages = ['_' => 'messages.channelMessages', 'pts' => int, 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_channelMessages={_='messages.channelMessages', pts=int, count=int, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v53/constructors/messages_chatFull.md b/old_docs/API_docs_v53/constructors/messages_chatFull.md deleted file mode 100644 index 02f1acdf..00000000 --- a/old_docs/API_docs_v53/constructors/messages_chatFull.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.chatFull -description: Extended info on chat and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.chatFull -[Back to constructors index](index.md) - - - -Extended info on chat and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|full\_chat|[ChatFull](../types/ChatFull.md) | Yes|Extended info on a chat| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_ChatFull](../types/messages_ChatFull.md) - - -### Example: - -```php -$messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_chatFull={_='messages.chatFull', full_chat=ChatFull, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v53/constructors/messages_chats.md b/old_docs/API_docs_v53/constructors/messages_chats.md deleted file mode 100644 index ef3690a9..00000000 --- a/old_docs/API_docs_v53/constructors/messages_chats.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.chats -description: List of chats with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.chats -[Back to constructors index](index.md) - - - -List of chats with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| - - - -### Type: [messages\_Chats](../types/messages_Chats.md) - - -### Example: - -```php -$messages_chats = ['_' => 'messages.chats', 'chats' => [Chat, Chat]]; -``` - - -Or, if you're into Lua: - -```lua -messages_chats={_='messages.chats', chats={Chat}} - -``` - - diff --git a/old_docs/API_docs_v53/constructors/messages_dhConfig.md b/old_docs/API_docs_v53/constructors/messages_dhConfig.md deleted file mode 100644 index 42c2feb1..00000000 --- a/old_docs/API_docs_v53/constructors/messages_dhConfig.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: messages.dhConfig -description: New set of configuring parameters. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dhConfig -[Back to constructors index](index.md) - - - -New set of configuring parameters. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|g|[int](../types/int.md) | Yes|New value **prime**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| -|p|[bytes](../types/bytes.md) | Yes|New value **primitive root**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| -|version|[int](../types/int.md) | Yes|Vestion of set of parameters| -|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| - - - -### Type: [messages\_DhConfig](../types/messages_DhConfig.md) - - -### Example: - -```php -$messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'version' => int, 'random' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -messages_dhConfig={_='messages.dhConfig', g=int, p='bytes', version=int, random='bytes'} - -``` - - diff --git a/old_docs/API_docs_v53/constructors/messages_dhConfigNotModified.md b/old_docs/API_docs_v53/constructors/messages_dhConfigNotModified.md deleted file mode 100644 index 5bf64230..00000000 --- a/old_docs/API_docs_v53/constructors/messages_dhConfigNotModified.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.dhConfigNotModified -description: Configuring parameters did not change. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dhConfigNotModified -[Back to constructors index](index.md) - - - -Configuring parameters did not change. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| - - - -### Type: [messages\_DhConfig](../types/messages_DhConfig.md) - - -### Example: - -```php -$messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -messages_dhConfigNotModified={_='messages.dhConfigNotModified', random='bytes'} - -``` - - diff --git a/old_docs/API_docs_v53/constructors/messages_dialogs.md b/old_docs/API_docs_v53/constructors/messages_dialogs.md deleted file mode 100644 index e6a431b4..00000000 --- a/old_docs/API_docs_v53/constructors/messages_dialogs.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: messages.dialogs -description: Full list of chats with messages and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dialogs -[Back to constructors index](index.md) - - - -Full list of chats with messages and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Dialogs](../types/messages_Dialogs.md) - - -### Example: - -```php -$messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_dialogs={_='messages.dialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v53/constructors/messages_dialogsSlice.md b/old_docs/API_docs_v53/constructors/messages_dialogsSlice.md deleted file mode 100644 index f183b9a8..00000000 --- a/old_docs/API_docs_v53/constructors/messages_dialogsSlice.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: messages.dialogsSlice -description: Incomplete list of dialogs with messages and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dialogsSlice -[Back to constructors index](index.md) - - - -Incomplete list of dialogs with messages and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of dialogs| -|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Dialogs](../types/messages_Dialogs.md) - - -### Example: - -```php -$messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_dialogsSlice={_='messages.dialogsSlice', count=int, dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v53/constructors/messages_foundGifs.md b/old_docs/API_docs_v53/constructors/messages_foundGifs.md deleted file mode 100644 index eb3603ca..00000000 --- a/old_docs/API_docs_v53/constructors/messages_foundGifs.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.foundGifs -description: Found GIFs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.foundGifs -[Back to constructors index](index.md) - - - -Found GIFs - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|next\_offset|[int](../types/int.md) | Yes|Next offset to use when trying to [load more results](../methods/messages.searchGifs.md)| -|results|Array of [FoundGif](../types/FoundGif.md) | Yes|Results| - - - -### Type: [messages\_FoundGifs](../types/messages_FoundGifs.md) - - -### Example: - -```php -$messages_foundGifs = ['_' => 'messages.foundGifs', 'next_offset' => int, 'results' => [FoundGif, FoundGif]]; -``` - - -Or, if you're into Lua: - -```lua -messages_foundGifs={_='messages.foundGifs', next_offset=int, results={FoundGif}} - -``` - - diff --git a/old_docs/API_docs_v53/constructors/messages_messageEditData.md b/old_docs/API_docs_v53/constructors/messages_messageEditData.md deleted file mode 100644 index 76aefca5..00000000 --- a/old_docs/API_docs_v53/constructors/messages_messageEditData.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.messageEditData -description: Message edit data for media -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.messageEditData -[Back to constructors index](index.md) - - - -Message edit data for media - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|caption|[Bool](../types/Bool.md) | Optional|Media caption, if the specified media's caption can be edited| - - - -### Type: [messages\_MessageEditData](../types/messages_MessageEditData.md) - - -### Example: - -```php -$messages_messageEditData = ['_' => 'messages.messageEditData', 'caption' => Bool]; -``` - - -Or, if you're into Lua: - -```lua -messages_messageEditData={_='messages.messageEditData', caption=Bool} - -``` - - diff --git a/old_docs/API_docs_v53/constructors/messages_messages.md b/old_docs/API_docs_v53/constructors/messages_messages.md deleted file mode 100644 index 3e369e1a..00000000 --- a/old_docs/API_docs_v53/constructors/messages_messages.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.messages -description: Full list of messages with auxilary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.messages -[Back to constructors index](index.md) - - - -Full list of messages with auxilary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Messages](../types/messages_Messages.md) - - -### Example: - -```php -$messages_messages = ['_' => 'messages.messages', 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_messages={_='messages.messages', messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v53/constructors/messages_messagesSlice.md b/old_docs/API_docs_v53/constructors/messages_messagesSlice.md deleted file mode 100644 index f9b8dc18..00000000 --- a/old_docs/API_docs_v53/constructors/messages_messagesSlice.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: messages.messagesSlice -description: Incomplete list of messages and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.messagesSlice -[Back to constructors index](index.md) - - - -Incomplete list of messages and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of messages in the list| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Messages](../types/messages_Messages.md) - - -### Example: - -```php -$messages_messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_messagesSlice={_='messages.messagesSlice', count=int, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v53/constructors/messages_peerDialogs.md b/old_docs/API_docs_v53/constructors/messages_peerDialogs.md deleted file mode 100644 index 29b4b842..00000000 --- a/old_docs/API_docs_v53/constructors/messages_peerDialogs.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: messages.peerDialogs -description: Dialog info of multiple peers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.peerDialogs -[Back to constructors index](index.md) - - - -Dialog info of multiple peers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| -|state|[updates\_State](../types/updates_State.md) | Yes|Current [update state of dialog](https://core.telegram.org/api/updates)| - - - -### Type: [messages\_PeerDialogs](../types/messages_PeerDialogs.md) - - -### Example: - -```php -$messages_peerDialogs = ['_' => 'messages.peerDialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates_State]; -``` - - -Or, if you're into Lua: - -```lua -messages_peerDialogs={_='messages.peerDialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}, state=updates_State} - -``` - - diff --git a/old_docs/API_docs_v53/constructors/messages_savedGifs.md b/old_docs/API_docs_v53/constructors/messages_savedGifs.md deleted file mode 100644 index ed3e8ea3..00000000 --- a/old_docs/API_docs_v53/constructors/messages_savedGifs.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.savedGifs -description: Saved gifs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.savedGifs -[Back to constructors index](index.md) - - - -Saved gifs - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|gifs|Array of [Document](../types/Document.md) | Yes|Gifs| - - - -### Type: [messages\_SavedGifs](../types/messages_SavedGifs.md) - - -### Example: - -```php -$messages_savedGifs = ['_' => 'messages.savedGifs', 'hash' => int, 'gifs' => [Document, Document]]; -``` - - -Or, if you're into Lua: - -```lua -messages_savedGifs={_='messages.savedGifs', hash=int, gifs={Document}} - -``` - - diff --git a/old_docs/API_docs_v53/constructors/messages_savedGifsNotModified.md b/old_docs/API_docs_v53/constructors/messages_savedGifsNotModified.md deleted file mode 100644 index 0f843a0c..00000000 --- a/old_docs/API_docs_v53/constructors/messages_savedGifsNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.savedGifsNotModified -description: No new saved gifs were found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.savedGifsNotModified -[Back to constructors index](index.md) - - - -No new saved gifs were found - - - - -### Type: [messages\_SavedGifs](../types/messages_SavedGifs.md) - - -### Example: - -```php -$messages_savedGifsNotModified = ['_' => 'messages.savedGifsNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_savedGifsNotModified={_='messages.savedGifsNotModified'} - -``` - - diff --git a/old_docs/API_docs_v53/constructors/messages_sentEncryptedFile.md b/old_docs/API_docs_v53/constructors/messages_sentEncryptedFile.md deleted file mode 100644 index fdc2a11e..00000000 --- a/old_docs/API_docs_v53/constructors/messages_sentEncryptedFile.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.sentEncryptedFile -description: Message with a file enclosure sent to a protected chat -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.sentEncryptedFile -[Back to constructors index](index.md) - - - -Message with a file enclosure sent to a protected chat - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Sending date| -|file|[EncryptedFile](../types/EncryptedFile.md) | Optional|Attached file| - - - -### Type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) - - -### Example: - -```php -$messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile]; -``` - - -Or, if you're into Lua: - -```lua -messages_sentEncryptedFile={_='messages.sentEncryptedFile', date=int, file=EncryptedFile} - -``` - - diff --git a/old_docs/API_docs_v53/constructors/messages_sentEncryptedMessage.md b/old_docs/API_docs_v53/constructors/messages_sentEncryptedMessage.md deleted file mode 100644 index 36b2bbff..00000000 --- a/old_docs/API_docs_v53/constructors/messages_sentEncryptedMessage.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.sentEncryptedMessage -description: Message without file attachemts sent to an encrypted file. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.sentEncryptedMessage -[Back to constructors index](index.md) - - - -Message without file attachemts sent to an encrypted file. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Date of sending| - - - -### Type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) - - -### Example: - -```php -$messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_sentEncryptedMessage={_='messages.sentEncryptedMessage', date=int} - -``` - - diff --git a/old_docs/API_docs_v53/constructors/messages_stickerSet.md b/old_docs/API_docs_v53/constructors/messages_stickerSet.md deleted file mode 100644 index 127191de..00000000 --- a/old_docs/API_docs_v53/constructors/messages_stickerSet.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.stickerSet -description: Stickerset and stickers inside it -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickerSet -[Back to constructors index](index.md) - - - -Stickerset and stickers inside it - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|set|[StickerSet](../types/StickerSet.md) | Yes|The stickerset| -|packs|Array of [StickerPack](../types/StickerPack.md) | Yes|Packs| -|documents|Array of [Document](../types/Document.md) | Yes|Documents| - - - -### Type: [messages\_StickerSet](../types/messages_StickerSet.md) - - -### Example: - -```php -$messages_stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'packs' => [StickerPack, StickerPack], 'documents' => [Document, Document]]; -``` - - -Or, if you're into Lua: - -```lua -messages_stickerSet={_='messages.stickerSet', set=StickerSet, packs={StickerPack}, documents={Document}} - -``` - - diff --git a/old_docs/API_docs_v53/constructors/messages_stickers.md b/old_docs/API_docs_v53/constructors/messages_stickers.md deleted file mode 100644 index 1c007df2..00000000 --- a/old_docs/API_docs_v53/constructors/messages_stickers.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.stickers -description: Found stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickers -[Back to constructors index](index.md) - - - -Found stickers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[string](../types/string.md) | Yes|Hash| -|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| - - - -### Type: [messages\_Stickers](../types/messages_Stickers.md) - - -### Example: - -```php -$messages_stickers = ['_' => 'messages.stickers', 'hash' => 'string', 'stickers' => [Document, Document]]; -``` - - -Or, if you're into Lua: - -```lua -messages_stickers={_='messages.stickers', hash='string', stickers={Document}} - -``` - - diff --git a/old_docs/API_docs_v53/constructors/messages_stickersNotModified.md b/old_docs/API_docs_v53/constructors/messages_stickersNotModified.md deleted file mode 100644 index 3d434a79..00000000 --- a/old_docs/API_docs_v53/constructors/messages_stickersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.stickersNotModified -description: No new stickers were found for the given query -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickersNotModified -[Back to constructors index](index.md) - - - -No new stickers were found for the given query - - - - -### Type: [messages\_Stickers](../types/messages_Stickers.md) - - -### Example: - -```php -$messages_stickersNotModified = ['_' => 'messages.stickersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_stickersNotModified={_='messages.stickersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v53/constructors/photos.photo.md b/old_docs/API_docs_v53/constructors/photos.photo.md new file mode 100644 index 00000000..43d3efc7 --- /dev/null +++ b/old_docs/API_docs_v53/constructors/photos.photo.md @@ -0,0 +1,39 @@ +--- +title: photos.photo +description: Photo with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: photos.photo +[Back to constructors index](index.md) + + + +Photo with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|photo|[Photo](../types/Photo.md) | Optional|Photo| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [photos.Photo](../types/photos.Photo.md) + + +### Example: + +```php +$photos.photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +photos.photo={_='photos.photo', photo=Photo, users={User}} + +``` + + diff --git a/old_docs/API_docs_v53/constructors/photos.photos.md b/old_docs/API_docs_v53/constructors/photos.photos.md new file mode 100644 index 00000000..901a9693 --- /dev/null +++ b/old_docs/API_docs_v53/constructors/photos.photos.md @@ -0,0 +1,39 @@ +--- +title: photos.photos +description: Full list of photos with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: photos.photos +[Back to constructors index](index.md) + + + +Full list of photos with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [photos.Photos](../types/photos.Photos.md) + + +### Example: + +```php +$photos.photos = ['_' => 'photos.photos', 'photos' => [Photo, Photo], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +photos.photos={_='photos.photos', photos={Photo}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v53/constructors/photos.photosSlice.md b/old_docs/API_docs_v53/constructors/photos.photosSlice.md new file mode 100644 index 00000000..2cca3546 --- /dev/null +++ b/old_docs/API_docs_v53/constructors/photos.photosSlice.md @@ -0,0 +1,40 @@ +--- +title: photos.photosSlice +description: Incomplete list of photos with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: photos.photosSlice +[Back to constructors index](index.md) + + + +Incomplete list of photos with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of photos| +|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [photos.Photos](../types/photos.Photos.md) + + +### Example: + +```php +$photos.photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo, Photo], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +photos.photosSlice={_='photos.photosSlice', count=int, photos={Photo}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v53/constructors/photos_photo.md b/old_docs/API_docs_v53/constructors/photos_photo.md deleted file mode 100644 index d5ad61d9..00000000 --- a/old_docs/API_docs_v53/constructors/photos_photo.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: photos.photo -description: Photo with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: photos.photo -[Back to constructors index](index.md) - - - -Photo with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|photo|[Photo](../types/Photo.md) | Optional|Photo| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [photos\_Photo](../types/photos_Photo.md) - - -### Example: - -```php -$photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -photos_photo={_='photos.photo', photo=Photo, users={User}} - -``` - - diff --git a/old_docs/API_docs_v53/constructors/photos_photos.md b/old_docs/API_docs_v53/constructors/photos_photos.md deleted file mode 100644 index 6ae5d048..00000000 --- a/old_docs/API_docs_v53/constructors/photos_photos.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: photos.photos -description: Full list of photos with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: photos.photos -[Back to constructors index](index.md) - - - -Full list of photos with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [photos\_Photos](../types/photos_Photos.md) - - -### Example: - -```php -$photos_photos = ['_' => 'photos.photos', 'photos' => [Photo, Photo], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -photos_photos={_='photos.photos', photos={Photo}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v53/constructors/photos_photosSlice.md b/old_docs/API_docs_v53/constructors/photos_photosSlice.md deleted file mode 100644 index 5c465c21..00000000 --- a/old_docs/API_docs_v53/constructors/photos_photosSlice.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: photos.photosSlice -description: Incomplete list of photos with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: photos.photosSlice -[Back to constructors index](index.md) - - - -Incomplete list of photos with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of photos| -|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [photos\_Photos](../types/photos_Photos.md) - - -### Example: - -```php -$photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo, Photo], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -photos_photosSlice={_='photos.photosSlice', count=int, photos={Photo}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v53/constructors/storage.fileGif.md b/old_docs/API_docs_v53/constructors/storage.fileGif.md new file mode 100644 index 00000000..8193bd25 --- /dev/null +++ b/old_docs/API_docs_v53/constructors/storage.fileGif.md @@ -0,0 +1,33 @@ +--- +title: storage.fileGif +description: GIF image. MIME type: `image/gif`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileGif +[Back to constructors index](index.md) + + + +GIF image. MIME type: `image/gif`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileGif = ['_' => 'storage.fileGif']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileGif={_='storage.fileGif'} + +``` + + diff --git a/old_docs/API_docs_v53/constructors/storage.fileJpeg.md b/old_docs/API_docs_v53/constructors/storage.fileJpeg.md new file mode 100644 index 00000000..7f125963 --- /dev/null +++ b/old_docs/API_docs_v53/constructors/storage.fileJpeg.md @@ -0,0 +1,33 @@ +--- +title: storage.fileJpeg +description: JPEG image. MIME type: `image/jpeg`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileJpeg +[Back to constructors index](index.md) + + + +JPEG image. MIME type: `image/jpeg`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileJpeg = ['_' => 'storage.fileJpeg']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileJpeg={_='storage.fileJpeg'} + +``` + + diff --git a/old_docs/API_docs_v53/constructors/storage.fileMov.md b/old_docs/API_docs_v53/constructors/storage.fileMov.md new file mode 100644 index 00000000..cb3742e0 --- /dev/null +++ b/old_docs/API_docs_v53/constructors/storage.fileMov.md @@ -0,0 +1,33 @@ +--- +title: storage.fileMov +description: Quicktime video. MIME type: `video/quicktime`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileMov +[Back to constructors index](index.md) + + + +Quicktime video. MIME type: `video/quicktime`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileMov = ['_' => 'storage.fileMov']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileMov={_='storage.fileMov'} + +``` + + diff --git a/old_docs/API_docs_v53/constructors/storage.fileMp3.md b/old_docs/API_docs_v53/constructors/storage.fileMp3.md new file mode 100644 index 00000000..617f2d39 --- /dev/null +++ b/old_docs/API_docs_v53/constructors/storage.fileMp3.md @@ -0,0 +1,33 @@ +--- +title: storage.fileMp3 +description: Mp3 audio. MIME type: `audio/mpeg`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileMp3 +[Back to constructors index](index.md) + + + +Mp3 audio. MIME type: `audio/mpeg`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileMp3 = ['_' => 'storage.fileMp3']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileMp3={_='storage.fileMp3'} + +``` + + diff --git a/old_docs/API_docs_v53/constructors/storage.fileMp4.md b/old_docs/API_docs_v53/constructors/storage.fileMp4.md new file mode 100644 index 00000000..37038176 --- /dev/null +++ b/old_docs/API_docs_v53/constructors/storage.fileMp4.md @@ -0,0 +1,33 @@ +--- +title: storage.fileMp4 +description: MPEG-4 video. MIME type: `video/mp4`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileMp4 +[Back to constructors index](index.md) + + + +MPEG-4 video. MIME type: `video/mp4`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileMp4 = ['_' => 'storage.fileMp4']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileMp4={_='storage.fileMp4'} + +``` + + diff --git a/old_docs/API_docs_v53/constructors/storage.filePartial.md b/old_docs/API_docs_v53/constructors/storage.filePartial.md new file mode 100644 index 00000000..98779e71 --- /dev/null +++ b/old_docs/API_docs_v53/constructors/storage.filePartial.md @@ -0,0 +1,33 @@ +--- +title: storage.filePartial +description: Part of a bigger file. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.filePartial +[Back to constructors index](index.md) + + + +Part of a bigger file. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.filePartial = ['_' => 'storage.filePartial']; +``` + + +Or, if you're into Lua: + +```lua +storage.filePartial={_='storage.filePartial'} + +``` + + diff --git a/old_docs/API_docs_v53/constructors/storage.filePdf.md b/old_docs/API_docs_v53/constructors/storage.filePdf.md new file mode 100644 index 00000000..136c0614 --- /dev/null +++ b/old_docs/API_docs_v53/constructors/storage.filePdf.md @@ -0,0 +1,33 @@ +--- +title: storage.filePdf +description: PDF document image. MIME type: `application/pdf`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.filePdf +[Back to constructors index](index.md) + + + +PDF document image. MIME type: `application/pdf`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.filePdf = ['_' => 'storage.filePdf']; +``` + + +Or, if you're into Lua: + +```lua +storage.filePdf={_='storage.filePdf'} + +``` + + diff --git a/old_docs/API_docs_v53/constructors/storage.filePng.md b/old_docs/API_docs_v53/constructors/storage.filePng.md new file mode 100644 index 00000000..db01ce0e --- /dev/null +++ b/old_docs/API_docs_v53/constructors/storage.filePng.md @@ -0,0 +1,33 @@ +--- +title: storage.filePng +description: PNG image. MIME type: `image/png`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.filePng +[Back to constructors index](index.md) + + + +PNG image. MIME type: `image/png`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.filePng = ['_' => 'storage.filePng']; +``` + + +Or, if you're into Lua: + +```lua +storage.filePng={_='storage.filePng'} + +``` + + diff --git a/old_docs/API_docs_v53/constructors/storage.fileUnknown.md b/old_docs/API_docs_v53/constructors/storage.fileUnknown.md new file mode 100644 index 00000000..26f0a5ae --- /dev/null +++ b/old_docs/API_docs_v53/constructors/storage.fileUnknown.md @@ -0,0 +1,33 @@ +--- +title: storage.fileUnknown +description: Unknown type. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileUnknown +[Back to constructors index](index.md) + + + +Unknown type. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileUnknown = ['_' => 'storage.fileUnknown']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileUnknown={_='storage.fileUnknown'} + +``` + + diff --git a/old_docs/API_docs_v53/constructors/storage.fileWebp.md b/old_docs/API_docs_v53/constructors/storage.fileWebp.md new file mode 100644 index 00000000..63c9ded1 --- /dev/null +++ b/old_docs/API_docs_v53/constructors/storage.fileWebp.md @@ -0,0 +1,33 @@ +--- +title: storage.fileWebp +description: WEBP image. MIME type: `image/webp`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileWebp +[Back to constructors index](index.md) + + + +WEBP image. MIME type: `image/webp`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileWebp = ['_' => 'storage.fileWebp']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileWebp={_='storage.fileWebp'} + +``` + + diff --git a/old_docs/API_docs_v53/constructors/storage_fileGif.md b/old_docs/API_docs_v53/constructors/storage_fileGif.md deleted file mode 100644 index 218c7491..00000000 --- a/old_docs/API_docs_v53/constructors/storage_fileGif.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileGif -description: GIF image. MIME type: `image/gif`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileGif -[Back to constructors index](index.md) - - - -GIF image. MIME type: `image/gif`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileGif = ['_' => 'storage.fileGif']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileGif={_='storage.fileGif'} - -``` - - diff --git a/old_docs/API_docs_v53/constructors/storage_fileJpeg.md b/old_docs/API_docs_v53/constructors/storage_fileJpeg.md deleted file mode 100644 index 925531cd..00000000 --- a/old_docs/API_docs_v53/constructors/storage_fileJpeg.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileJpeg -description: JPEG image. MIME type: `image/jpeg`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileJpeg -[Back to constructors index](index.md) - - - -JPEG image. MIME type: `image/jpeg`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileJpeg = ['_' => 'storage.fileJpeg']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileJpeg={_='storage.fileJpeg'} - -``` - - diff --git a/old_docs/API_docs_v53/constructors/storage_fileMov.md b/old_docs/API_docs_v53/constructors/storage_fileMov.md deleted file mode 100644 index eaf2a6ff..00000000 --- a/old_docs/API_docs_v53/constructors/storage_fileMov.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileMov -description: Quicktime video. MIME type: `video/quicktime`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileMov -[Back to constructors index](index.md) - - - -Quicktime video. MIME type: `video/quicktime`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileMov = ['_' => 'storage.fileMov']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileMov={_='storage.fileMov'} - -``` - - diff --git a/old_docs/API_docs_v53/constructors/storage_fileMp3.md b/old_docs/API_docs_v53/constructors/storage_fileMp3.md deleted file mode 100644 index 9afcefbb..00000000 --- a/old_docs/API_docs_v53/constructors/storage_fileMp3.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileMp3 -description: Mp3 audio. MIME type: `audio/mpeg`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileMp3 -[Back to constructors index](index.md) - - - -Mp3 audio. MIME type: `audio/mpeg`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileMp3 = ['_' => 'storage.fileMp3']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileMp3={_='storage.fileMp3'} - -``` - - diff --git a/old_docs/API_docs_v53/constructors/storage_fileMp4.md b/old_docs/API_docs_v53/constructors/storage_fileMp4.md deleted file mode 100644 index cdc0e783..00000000 --- a/old_docs/API_docs_v53/constructors/storage_fileMp4.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileMp4 -description: MPEG-4 video. MIME type: `video/mp4`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileMp4 -[Back to constructors index](index.md) - - - -MPEG-4 video. MIME type: `video/mp4`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileMp4 = ['_' => 'storage.fileMp4']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileMp4={_='storage.fileMp4'} - -``` - - diff --git a/old_docs/API_docs_v53/constructors/storage_filePartial.md b/old_docs/API_docs_v53/constructors/storage_filePartial.md deleted file mode 100644 index 9bfadf63..00000000 --- a/old_docs/API_docs_v53/constructors/storage_filePartial.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.filePartial -description: Part of a bigger file. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.filePartial -[Back to constructors index](index.md) - - - -Part of a bigger file. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_filePartial = ['_' => 'storage.filePartial']; -``` - - -Or, if you're into Lua: - -```lua -storage_filePartial={_='storage.filePartial'} - -``` - - diff --git a/old_docs/API_docs_v53/constructors/storage_filePdf.md b/old_docs/API_docs_v53/constructors/storage_filePdf.md deleted file mode 100644 index efb022cc..00000000 --- a/old_docs/API_docs_v53/constructors/storage_filePdf.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.filePdf -description: PDF document image. MIME type: `application/pdf`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.filePdf -[Back to constructors index](index.md) - - - -PDF document image. MIME type: `application/pdf`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_filePdf = ['_' => 'storage.filePdf']; -``` - - -Or, if you're into Lua: - -```lua -storage_filePdf={_='storage.filePdf'} - -``` - - diff --git a/old_docs/API_docs_v53/constructors/storage_filePng.md b/old_docs/API_docs_v53/constructors/storage_filePng.md deleted file mode 100644 index 412759e4..00000000 --- a/old_docs/API_docs_v53/constructors/storage_filePng.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.filePng -description: PNG image. MIME type: `image/png`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.filePng -[Back to constructors index](index.md) - - - -PNG image. MIME type: `image/png`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_filePng = ['_' => 'storage.filePng']; -``` - - -Or, if you're into Lua: - -```lua -storage_filePng={_='storage.filePng'} - -``` - - diff --git a/old_docs/API_docs_v53/constructors/storage_fileUnknown.md b/old_docs/API_docs_v53/constructors/storage_fileUnknown.md deleted file mode 100644 index ed33dd5e..00000000 --- a/old_docs/API_docs_v53/constructors/storage_fileUnknown.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileUnknown -description: Unknown type. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileUnknown -[Back to constructors index](index.md) - - - -Unknown type. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileUnknown = ['_' => 'storage.fileUnknown']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileUnknown={_='storage.fileUnknown'} - -``` - - diff --git a/old_docs/API_docs_v53/constructors/storage_fileWebp.md b/old_docs/API_docs_v53/constructors/storage_fileWebp.md deleted file mode 100644 index 04dcad74..00000000 --- a/old_docs/API_docs_v53/constructors/storage_fileWebp.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileWebp -description: WEBP image. MIME type: `image/webp`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileWebp -[Back to constructors index](index.md) - - - -WEBP image. MIME type: `image/webp`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileWebp = ['_' => 'storage.fileWebp']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileWebp={_='storage.fileWebp'} - -``` - - diff --git a/old_docs/API_docs_v53/constructors/updateNewStickerSet.md b/old_docs/API_docs_v53/constructors/updateNewStickerSet.md index 8a99a363..c32c41ff 100644 --- a/old_docs/API_docs_v53/constructors/updateNewStickerSet.md +++ b/old_docs/API_docs_v53/constructors/updateNewStickerSet.md @@ -14,7 +14,7 @@ A new stickerset was installed | Name | Type | Required | Description | |----------|---------------|----------|-------------| -|stickerset|[messages\_StickerSet](../types/messages_StickerSet.md) | Yes|The installed stickerset| +|stickerset|[messages.StickerSet](../constructors/messages.StickerSet.md) | Yes|The installed stickerset| @@ -24,14 +24,14 @@ A new stickerset was installed ### Example: ```php -$updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages_StickerSet]; +$updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages.StickerSet]; ``` Or, if you're into Lua: ```lua -updateNewStickerSet={_='updateNewStickerSet', stickerset=messages_StickerSet} +updateNewStickerSet={_='updateNewStickerSet', stickerset=messages.StickerSet} ``` diff --git a/old_docs/API_docs_v53/constructors/updates.channelDifference.md b/old_docs/API_docs_v53/constructors/updates.channelDifference.md new file mode 100644 index 00000000..5a13791c --- /dev/null +++ b/old_docs/API_docs_v53/constructors/updates.channelDifference.md @@ -0,0 +1,44 @@ +--- +title: updates.channelDifference +description: The new updates +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.channelDifference +[Back to constructors index](index.md) + + + +The new updates + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates to be fetched using getDifference, starting from the provided `pts`| +|pts|[int](../types/int.md) | Yes|The [PTS](https://core.telegram.org/api/updates) from which to start getting updates the next time| +|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| +|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| +|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [updates.ChannelDifference](../types/updates.ChannelDifference.md) + + +### Example: + +```php +$updates.channelDifference = ['_' => 'updates.channelDifference', 'final' => Bool, 'pts' => int, 'timeout' => int, 'new_messages' => [Message, Message], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +updates.channelDifference={_='updates.channelDifference', final=Bool, pts=int, timeout=int, new_messages={Message}, other_updates={Update}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v53/constructors/updates.channelDifferenceEmpty.md b/old_docs/API_docs_v53/constructors/updates.channelDifferenceEmpty.md new file mode 100644 index 00000000..8ce43da4 --- /dev/null +++ b/old_docs/API_docs_v53/constructors/updates.channelDifferenceEmpty.md @@ -0,0 +1,40 @@ +--- +title: updates.channelDifferenceEmpty +description: There are no new updates +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.channelDifferenceEmpty +[Back to constructors index](index.md) + + + +There are no new updates + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates that must be fetched (always false)| +|pts|[int](../types/int.md) | Yes|The latest [PTS](https://core.telegram.org/api/updates)| +|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| + + + +### Type: [updates.ChannelDifference](../types/updates.ChannelDifference.md) + + +### Example: + +```php +$updates.channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'final' => Bool, 'pts' => int, 'timeout' => int]; +``` + + +Or, if you're into Lua: + +```lua +updates.channelDifferenceEmpty={_='updates.channelDifferenceEmpty', final=Bool, pts=int, timeout=int} + +``` + + diff --git a/old_docs/API_docs_v53/constructors/updates.channelDifferenceTooLong.md b/old_docs/API_docs_v53/constructors/updates.channelDifferenceTooLong.md new file mode 100644 index 00000000..3d47a6df --- /dev/null +++ b/old_docs/API_docs_v53/constructors/updates.channelDifferenceTooLong.md @@ -0,0 +1,57 @@ +--- +title: updates.channelDifferenceTooLong +description: The provided `pts + limit < remote pts`. Simply, there are too many updates to be fetched (more than `limit`), the client has to resolve the update gap in one of the following ways: + +1. Delete all known messages in the chat, begin from scratch by refetching all messages manually with [getHistory](../methods/messages.getHistory.md). It is easy to implement, but suddenly disappearing messages looks awful for the user. +2. Save all messages loaded in the memory until application restart, but delete all messages from database. Messages left in the memory must be lazily updated using calls to [getHistory](../methods/messages.getHistory.md). It looks much smoothly for the user, he will need to redownload messages only after client restart. Unsynchronized messages left in the memory shouldn't be saved to database, results of [getHistory](../methods/messages.getHistory.md) and [getMessages](../methods/messages.getMessages.md) must be used to update state of deleted and edited messages left in the memory. +3. Save all messages loaded in the memory and stored in the database without saving that some messages form continuous ranges. Messages in the database will be excluded from results of getChatHistory and searchChatMessages after application restart and will be available only through getMessage. Every message should still be checked using getHistory. It has more disadvantages over 2) than advantages. +4. Save all messages with saving all data about continuous message ranges. Messages from the database may be used as results of getChatHistory and (if implemented continuous ranges support for searching shared media) searchChatMessages. The messages should still be lazily checked using getHistory, but they are still available offline. It is the best way for gaps support, but it is pretty hard to implement correctly. It should be also noted that some messages like live location messages shouldn't be deleted. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.channelDifferenceTooLong +[Back to constructors index](index.md) + + + +The provided `pts + limit < remote pts`. Simply, there are too many updates to be fetched (more than `limit`), the client has to resolve the update gap in one of the following ways: + +1. Delete all known messages in the chat, begin from scratch by refetching all messages manually with [getHistory](../methods/messages.getHistory.md). It is easy to implement, but suddenly disappearing messages looks awful for the user. +2. Save all messages loaded in the memory until application restart, but delete all messages from database. Messages left in the memory must be lazily updated using calls to [getHistory](../methods/messages.getHistory.md). It looks much smoothly for the user, he will need to redownload messages only after client restart. Unsynchronized messages left in the memory shouldn't be saved to database, results of [getHistory](../methods/messages.getHistory.md) and [getMessages](../methods/messages.getMessages.md) must be used to update state of deleted and edited messages left in the memory. +3. Save all messages loaded in the memory and stored in the database without saving that some messages form continuous ranges. Messages in the database will be excluded from results of getChatHistory and searchChatMessages after application restart and will be available only through getMessage. Every message should still be checked using getHistory. It has more disadvantages over 2) than advantages. +4. Save all messages with saving all data about continuous message ranges. Messages from the database may be used as results of getChatHistory and (if implemented continuous ranges support for searching shared media) searchChatMessages. The messages should still be lazily checked using getHistory, but they are still available offline. It is the best way for gaps support, but it is pretty hard to implement correctly. It should be also noted that some messages like live location messages shouldn't be deleted. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates that must be fetched (always false)| +|pts|[int](../types/int.md) | Yes|Pts| +|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| +|top\_message|[int](../types/int.md) | Yes|Top message| +|read\_inbox\_max\_id|[int](../types/int.md) | Yes|Read inbox max ID| +|read\_outbox\_max\_id|[int](../types/int.md) | Yes|Read outbox max ID| +|unread\_count|[int](../types/int.md) | Yes|Unread count| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [updates.ChannelDifference](../types/updates.ChannelDifference.md) + + +### Example: + +```php +$updates.channelDifferenceTooLong = ['_' => 'updates.channelDifferenceTooLong', 'final' => Bool, 'pts' => int, 'timeout' => int, 'top_message' => int, 'read_inbox_max_id' => int, 'read_outbox_max_id' => int, 'unread_count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +updates.channelDifferenceTooLong={_='updates.channelDifferenceTooLong', final=Bool, pts=int, timeout=int, top_message=int, read_inbox_max_id=int, read_outbox_max_id=int, unread_count=int, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v53/constructors/updates.difference.md b/old_docs/API_docs_v53/constructors/updates.difference.md new file mode 100644 index 00000000..82541b51 --- /dev/null +++ b/old_docs/API_docs_v53/constructors/updates.difference.md @@ -0,0 +1,43 @@ +--- +title: updates.difference +description: Full list of occurred events. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.difference +[Back to constructors index](index.md) + + + +Full list of occurred events. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| +|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| +|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| +|state|[updates.State](../constructors/updates.State.md) | Yes|Current state| + + + +### Type: [updates.Difference](../types/updates.Difference.md) + + +### Example: + +```php +$updates.difference = ['_' => 'updates.difference', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates.State]; +``` + + +Or, if you're into Lua: + +```lua +updates.difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates.State} + +``` + + diff --git a/old_docs/API_docs_v53/constructors/updates.differenceEmpty.md b/old_docs/API_docs_v53/constructors/updates.differenceEmpty.md new file mode 100644 index 00000000..a9dc3bd0 --- /dev/null +++ b/old_docs/API_docs_v53/constructors/updates.differenceEmpty.md @@ -0,0 +1,39 @@ +--- +title: updates.differenceEmpty +description: No events. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.differenceEmpty +[Back to constructors index](index.md) + + + +No events. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Current date| +|seq|[int](../types/int.md) | Yes|Number of sent updates| + + + +### Type: [updates.Difference](../types/updates.Difference.md) + + +### Example: + +```php +$updates.differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int]; +``` + + +Or, if you're into Lua: + +```lua +updates.differenceEmpty={_='updates.differenceEmpty', date=int, seq=int} + +``` + + diff --git a/old_docs/API_docs_v53/constructors/updates.differenceSlice.md b/old_docs/API_docs_v53/constructors/updates.differenceSlice.md new file mode 100644 index 00000000..9daf7a75 --- /dev/null +++ b/old_docs/API_docs_v53/constructors/updates.differenceSlice.md @@ -0,0 +1,43 @@ +--- +title: updates.differenceSlice +description: Incomplete list of occurred events. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.differenceSlice +[Back to constructors index](index.md) + + + +Incomplete list of occurred events. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| +|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| +|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| +|intermediate\_state|[updates.State](../constructors/updates.State.md) | Yes|Intermediary state| + + + +### Type: [updates.Difference](../types/updates.Difference.md) + + +### Example: + +```php +$updates.differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'intermediate_state' => updates.State]; +``` + + +Or, if you're into Lua: + +```lua +updates.differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates.State} + +``` + + diff --git a/old_docs/API_docs_v53/constructors/updates.state.md b/old_docs/API_docs_v53/constructors/updates.state.md new file mode 100644 index 00000000..abe9ddbb --- /dev/null +++ b/old_docs/API_docs_v53/constructors/updates.state.md @@ -0,0 +1,42 @@ +--- +title: updates.state +description: Updates state. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.state +[Back to constructors index](index.md) + + + +Updates state. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| +|qts|[int](../types/int.md) | Yes|Position in a sequence of updates in secret chats. For further detailes refer to article [secret chats](https://core.telegram.org/api/end-to-end)
Parameter was added in [eigth layer](https://core.telegram.org/api/layers#layer-8).| +|date|[int](../types/int.md) | Yes|Date of condition| +|seq|[int](../types/int.md) | Yes|Number of sent updates| +|unread\_count|[int](../types/int.md) | Yes|Number of unread messages| + + + +### Type: [updates.State](../types/updates.State.md) + + +### Example: + +```php +$updates.state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int]; +``` + + +Or, if you're into Lua: + +```lua +updates.state={_='updates.state', pts=int, qts=int, date=int, seq=int, unread_count=int} + +``` + + diff --git a/old_docs/API_docs_v53/constructors/updates_channelDifference.md b/old_docs/API_docs_v53/constructors/updates_channelDifference.md deleted file mode 100644 index 1b50fbf3..00000000 --- a/old_docs/API_docs_v53/constructors/updates_channelDifference.md +++ /dev/null @@ -1,44 +0,0 @@ ---- -title: updates.channelDifference -description: The new updates -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.channelDifference -[Back to constructors index](index.md) - - - -The new updates - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates to be fetched using getDifference, starting from the provided `pts`| -|pts|[int](../types/int.md) | Yes|The [PTS](https://core.telegram.org/api/updates) from which to start getting updates the next time| -|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| -|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| -|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) - - -### Example: - -```php -$updates_channelDifference = ['_' => 'updates.channelDifference', 'final' => Bool, 'pts' => int, 'timeout' => int, 'new_messages' => [Message, Message], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -updates_channelDifference={_='updates.channelDifference', final=Bool, pts=int, timeout=int, new_messages={Message}, other_updates={Update}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v53/constructors/updates_channelDifferenceEmpty.md b/old_docs/API_docs_v53/constructors/updates_channelDifferenceEmpty.md deleted file mode 100644 index 713137aa..00000000 --- a/old_docs/API_docs_v53/constructors/updates_channelDifferenceEmpty.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: updates.channelDifferenceEmpty -description: There are no new updates -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.channelDifferenceEmpty -[Back to constructors index](index.md) - - - -There are no new updates - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates that must be fetched (always false)| -|pts|[int](../types/int.md) | Yes|The latest [PTS](https://core.telegram.org/api/updates)| -|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| - - - -### Type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) - - -### Example: - -```php -$updates_channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'final' => Bool, 'pts' => int, 'timeout' => int]; -``` - - -Or, if you're into Lua: - -```lua -updates_channelDifferenceEmpty={_='updates.channelDifferenceEmpty', final=Bool, pts=int, timeout=int} - -``` - - diff --git a/old_docs/API_docs_v53/constructors/updates_channelDifferenceTooLong.md b/old_docs/API_docs_v53/constructors/updates_channelDifferenceTooLong.md deleted file mode 100644 index fe561bca..00000000 --- a/old_docs/API_docs_v53/constructors/updates_channelDifferenceTooLong.md +++ /dev/null @@ -1,57 +0,0 @@ ---- -title: updates.channelDifferenceTooLong -description: The provided `pts + limit < remote pts`. Simply, there are too many updates to be fetched (more than `limit`), the client has to resolve the update gap in one of the following ways: - -1. Delete all known messages in the chat, begin from scratch by refetching all messages manually with [getHistory](../methods/messages.getHistory.md). It is easy to implement, but suddenly disappearing messages looks awful for the user. -2. Save all messages loaded in the memory until application restart, but delete all messages from database. Messages left in the memory must be lazily updated using calls to [getHistory](../methods/messages.getHistory.md). It looks much smoothly for the user, he will need to redownload messages only after client restart. Unsynchronized messages left in the memory shouldn't be saved to database, results of [getHistory](../methods/messages.getHistory.md) and [getMessages](../methods/messages.getMessages.md) must be used to update state of deleted and edited messages left in the memory. -3. Save all messages loaded in the memory and stored in the database without saving that some messages form continuous ranges. Messages in the database will be excluded from results of getChatHistory and searchChatMessages after application restart and will be available only through getMessage. Every message should still be checked using getHistory. It has more disadvantages over 2) than advantages. -4. Save all messages with saving all data about continuous message ranges. Messages from the database may be used as results of getChatHistory and (if implemented continuous ranges support for searching shared media) searchChatMessages. The messages should still be lazily checked using getHistory, but they are still available offline. It is the best way for gaps support, but it is pretty hard to implement correctly. It should be also noted that some messages like live location messages shouldn't be deleted. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.channelDifferenceTooLong -[Back to constructors index](index.md) - - - -The provided `pts + limit < remote pts`. Simply, there are too many updates to be fetched (more than `limit`), the client has to resolve the update gap in one of the following ways: - -1. Delete all known messages in the chat, begin from scratch by refetching all messages manually with [getHistory](../methods/messages.getHistory.md). It is easy to implement, but suddenly disappearing messages looks awful for the user. -2. Save all messages loaded in the memory until application restart, but delete all messages from database. Messages left in the memory must be lazily updated using calls to [getHistory](../methods/messages.getHistory.md). It looks much smoothly for the user, he will need to redownload messages only after client restart. Unsynchronized messages left in the memory shouldn't be saved to database, results of [getHistory](../methods/messages.getHistory.md) and [getMessages](../methods/messages.getMessages.md) must be used to update state of deleted and edited messages left in the memory. -3. Save all messages loaded in the memory and stored in the database without saving that some messages form continuous ranges. Messages in the database will be excluded from results of getChatHistory and searchChatMessages after application restart and will be available only through getMessage. Every message should still be checked using getHistory. It has more disadvantages over 2) than advantages. -4. Save all messages with saving all data about continuous message ranges. Messages from the database may be used as results of getChatHistory and (if implemented continuous ranges support for searching shared media) searchChatMessages. The messages should still be lazily checked using getHistory, but they are still available offline. It is the best way for gaps support, but it is pretty hard to implement correctly. It should be also noted that some messages like live location messages shouldn't be deleted. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates that must be fetched (always false)| -|pts|[int](../types/int.md) | Yes|Pts| -|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| -|top\_message|[int](../types/int.md) | Yes|Top message| -|read\_inbox\_max\_id|[int](../types/int.md) | Yes|Read inbox max ID| -|read\_outbox\_max\_id|[int](../types/int.md) | Yes|Read outbox max ID| -|unread\_count|[int](../types/int.md) | Yes|Unread count| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) - - -### Example: - -```php -$updates_channelDifferenceTooLong = ['_' => 'updates.channelDifferenceTooLong', 'final' => Bool, 'pts' => int, 'timeout' => int, 'top_message' => int, 'read_inbox_max_id' => int, 'read_outbox_max_id' => int, 'unread_count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -updates_channelDifferenceTooLong={_='updates.channelDifferenceTooLong', final=Bool, pts=int, timeout=int, top_message=int, read_inbox_max_id=int, read_outbox_max_id=int, unread_count=int, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v53/constructors/updates_difference.md b/old_docs/API_docs_v53/constructors/updates_difference.md deleted file mode 100644 index 71ac7d4c..00000000 --- a/old_docs/API_docs_v53/constructors/updates_difference.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: updates.difference -description: Full list of occurred events. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.difference -[Back to constructors index](index.md) - - - -Full list of occurred events. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| -|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| -|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| -|state|[updates\_State](../types/updates_State.md) | Yes|Current state| - - - -### Type: [updates\_Difference](../types/updates_Difference.md) - - -### Example: - -```php -$updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates_State]; -``` - - -Or, if you're into Lua: - -```lua -updates_difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates_State} - -``` - - diff --git a/old_docs/API_docs_v53/constructors/updates_differenceEmpty.md b/old_docs/API_docs_v53/constructors/updates_differenceEmpty.md deleted file mode 100644 index c3c95c5a..00000000 --- a/old_docs/API_docs_v53/constructors/updates_differenceEmpty.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: updates.differenceEmpty -description: No events. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.differenceEmpty -[Back to constructors index](index.md) - - - -No events. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Current date| -|seq|[int](../types/int.md) | Yes|Number of sent updates| - - - -### Type: [updates\_Difference](../types/updates_Difference.md) - - -### Example: - -```php -$updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int]; -``` - - -Or, if you're into Lua: - -```lua -updates_differenceEmpty={_='updates.differenceEmpty', date=int, seq=int} - -``` - - diff --git a/old_docs/API_docs_v53/constructors/updates_differenceSlice.md b/old_docs/API_docs_v53/constructors/updates_differenceSlice.md deleted file mode 100644 index 8b12a369..00000000 --- a/old_docs/API_docs_v53/constructors/updates_differenceSlice.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: updates.differenceSlice -description: Incomplete list of occurred events. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.differenceSlice -[Back to constructors index](index.md) - - - -Incomplete list of occurred events. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| -|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| -|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| -|intermediate\_state|[updates\_State](../types/updates_State.md) | Yes|Intermediary state| - - - -### Type: [updates\_Difference](../types/updates_Difference.md) - - -### Example: - -```php -$updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'intermediate_state' => updates_State]; -``` - - -Or, if you're into Lua: - -```lua -updates_differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates_State} - -``` - - diff --git a/old_docs/API_docs_v53/constructors/updates_state.md b/old_docs/API_docs_v53/constructors/updates_state.md deleted file mode 100644 index ef3698e2..00000000 --- a/old_docs/API_docs_v53/constructors/updates_state.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: updates.state -description: Updates state. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.state -[Back to constructors index](index.md) - - - -Updates state. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| -|qts|[int](../types/int.md) | Yes|Position in a sequence of updates in secret chats. For further detailes refer to article [secret chats](https://core.telegram.org/api/end-to-end)
Parameter was added in [eigth layer](https://core.telegram.org/api/layers#layer-8).| -|date|[int](../types/int.md) | Yes|Date of condition| -|seq|[int](../types/int.md) | Yes|Number of sent updates| -|unread\_count|[int](../types/int.md) | Yes|Number of unread messages| - - - -### Type: [updates\_State](../types/updates_State.md) - - -### Example: - -```php -$updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int]; -``` - - -Or, if you're into Lua: - -```lua -updates_state={_='updates.state', pts=int, qts=int, date=int, seq=int, unread_count=int} - -``` - - diff --git a/old_docs/API_docs_v53/constructors/upload.file.md b/old_docs/API_docs_v53/constructors/upload.file.md new file mode 100644 index 00000000..145a4c24 --- /dev/null +++ b/old_docs/API_docs_v53/constructors/upload.file.md @@ -0,0 +1,40 @@ +--- +title: upload.file +description: File content. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: upload.file +[Back to constructors index](index.md) + + + +File content. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|type|[storage.FileType](../constructors/storage.FileType.md) | Yes|File type| +|mtime|[int](../types/int.md) | Yes|Modification type| +|bytes|[bytes](../types/bytes.md) | Yes|Binary data, file content| + + + +### Type: [upload.File](../types/upload.File.md) + + +### Example: + +```php +$upload.file = ['_' => 'upload.file', 'type' => storage.FileType, 'mtime' => int, 'bytes' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +upload.file={_='upload.file', type=storage.FileType, mtime=int, bytes='bytes'} + +``` + + diff --git a/old_docs/API_docs_v53/constructors/upload_file.md b/old_docs/API_docs_v53/constructors/upload_file.md deleted file mode 100644 index 1e07d9fb..00000000 --- a/old_docs/API_docs_v53/constructors/upload_file.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: upload.file -description: File content. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: upload.file -[Back to constructors index](index.md) - - - -File content. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|type|[storage\_FileType](../types/storage_FileType.md) | Yes|File type| -|mtime|[int](../types/int.md) | Yes|Modification type| -|bytes|[bytes](../types/bytes.md) | Yes|Binary data, file content| - - - -### Type: [upload\_File](../types/upload_File.md) - - -### Example: - -```php -$upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int, 'bytes' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -upload_file={_='upload.file', type=storage_FileType, mtime=int, bytes='bytes'} - -``` - - diff --git a/old_docs/API_docs_v53/constructors/userFull.md b/old_docs/API_docs_v53/constructors/userFull.md index eb9e7aa9..76e9e929 100644 --- a/old_docs/API_docs_v53/constructors/userFull.md +++ b/old_docs/API_docs_v53/constructors/userFull.md @@ -17,7 +17,7 @@ Extended user info |blocked|[Bool](../types/Bool.md) | Optional|Whether you have blocked this user| |user|[User](../types/User.md) | Optional|Remaining user info| |about|[string](../types/string.md) | Optional|Bio of the user| -|link|[contacts\_Link](../types/contacts_Link.md) | Yes|Link| +|link|[contacts.Link](../constructors/contacts.Link.md) | Yes|Link| |profile\_photo|[Photo](../types/Photo.md) | Optional|Profile photo| |notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Optional|Notification settings| |bot\_info|[BotInfo](../types/BotInfo.md) | Optional|For bots, info about the bot (bot commands, etc)| @@ -30,14 +30,14 @@ Extended user info ### Example: ```php -$userFull = ['_' => 'userFull', 'blocked' => Bool, 'user' => User, 'about' => 'string', 'link' => contacts_Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'bot_info' => BotInfo]; +$userFull = ['_' => 'userFull', 'blocked' => Bool, 'user' => User, 'about' => 'string', 'link' => contacts.Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'bot_info' => BotInfo]; ``` Or, if you're into Lua: ```lua -userFull={_='userFull', blocked=Bool, user=User, about='string', link=contacts_Link, profile_photo=Photo, notify_settings=PeerNotifySettings, bot_info=BotInfo} +userFull={_='userFull', blocked=Bool, user=User, about='string', link=contacts.Link, profile_photo=Photo, notify_settings=PeerNotifySettings, bot_info=BotInfo} ``` diff --git a/old_docs/API_docs_v53/methods/account.getAuthorizations.md b/old_docs/API_docs_v53/methods/account.getAuthorizations.md index f69c130a..fad3a7ae 100644 --- a/old_docs/API_docs_v53/methods/account.getAuthorizations.md +++ b/old_docs/API_docs_v53/methods/account.getAuthorizations.md @@ -11,7 +11,7 @@ Get logged-in sessions -### Return type: [account\_Authorizations](../types/account_Authorizations.md) +### Return type: [account.Authorizations](../types/account.Authorizations.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_Authorizations = $MadelineProto->account->getAuthorizations(); +$account.Authorizations = $MadelineProto->account->getAuthorizations(); ``` Or, if you're into Lua: ```lua -account_Authorizations = account.getAuthorizations({}) +account.Authorizations = account.getAuthorizations({}) ``` diff --git a/old_docs/API_docs_v53/methods/account.getPassword.md b/old_docs/API_docs_v53/methods/account.getPassword.md index eed4aee3..621271b6 100644 --- a/old_docs/API_docs_v53/methods/account.getPassword.md +++ b/old_docs/API_docs_v53/methods/account.getPassword.md @@ -11,7 +11,7 @@ Obtain configuration for two-factor authorization with password -### Return type: [account\_Password](../types/account_Password.md) +### Return type: [account.Password](../types/account.Password.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_Password = $MadelineProto->account->getPassword(); +$account.Password = $MadelineProto->account->getPassword(); ``` Or, if you're into Lua: ```lua -account_Password = account.getPassword({}) +account.Password = account.getPassword({}) ``` diff --git a/old_docs/API_docs_v53/methods/account.getPasswordSettings.md b/old_docs/API_docs_v53/methods/account.getPasswordSettings.md index dcdae61a..3d3cce08 100644 --- a/old_docs/API_docs_v53/methods/account.getPasswordSettings.md +++ b/old_docs/API_docs_v53/methods/account.getPasswordSettings.md @@ -16,7 +16,7 @@ You cannot use this method directly; use $MadelineProto->update_2fa($params), in |current\_password\_hash|[bytes](../types/bytes.md) | You cannot use this method directly; use $MadelineProto->update_2fa($params), instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [account\_PasswordSettings](../types/account_PasswordSettings.md) +### Return type: [account.PasswordSettings](../types/account.PasswordSettings.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_PasswordSettings = $MadelineProto->account->getPasswordSettings(['current_password_hash' => 'bytes', ]); +$account.PasswordSettings = $MadelineProto->account->getPasswordSettings(['current_password_hash' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -account_PasswordSettings = account.getPasswordSettings({current_password_hash='bytes', }) +account.PasswordSettings = account.getPasswordSettings({current_password_hash='bytes', }) ``` ### Errors diff --git a/old_docs/API_docs_v53/methods/account.getPrivacy.md b/old_docs/API_docs_v53/methods/account.getPrivacy.md index 6a240129..e20c292c 100644 --- a/old_docs/API_docs_v53/methods/account.getPrivacy.md +++ b/old_docs/API_docs_v53/methods/account.getPrivacy.md @@ -16,7 +16,7 @@ Get privacy settings of current account |key|[InputPrivacyKey](../types/InputPrivacyKey.md) | Peer category whose privacy settings should be fetched | Yes| -### Return type: [account\_PrivacyRules](../types/account_PrivacyRules.md) +### Return type: [account.PrivacyRules](../types/account.PrivacyRules.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_PrivacyRules = $MadelineProto->account->getPrivacy(['key' => InputPrivacyKey, ]); +$account.PrivacyRules = $MadelineProto->account->getPrivacy(['key' => InputPrivacyKey, ]); ``` Or, if you're into Lua: ```lua -account_PrivacyRules = account.getPrivacy({key=InputPrivacyKey, }) +account.PrivacyRules = account.getPrivacy({key=InputPrivacyKey, }) ``` ### Errors diff --git a/old_docs/API_docs_v53/methods/account.sendChangePhoneCode.md b/old_docs/API_docs_v53/methods/account.sendChangePhoneCode.md index 0f81306e..30589ffa 100644 --- a/old_docs/API_docs_v53/methods/account.sendChangePhoneCode.md +++ b/old_docs/API_docs_v53/methods/account.sendChangePhoneCode.md @@ -18,7 +18,7 @@ Verify a new phone number to associate to the current account |current\_number|[Bool](../types/Bool.md) | Current phone number | Optional| -### Return type: [auth\_SentCode](../types/auth_SentCode.md) +### Return type: [auth.SentCode](../types/auth.SentCode.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_SentCode = $MadelineProto->account->sendChangePhoneCode(['allow_flashcall' => Bool, 'phone_number' => 'string', 'current_number' => Bool, ]); +$auth.SentCode = $MadelineProto->account->sendChangePhoneCode(['allow_flashcall' => Bool, 'phone_number' => 'string', 'current_number' => Bool, ]); ``` Or, if you're into Lua: ```lua -auth_SentCode = account.sendChangePhoneCode({allow_flashcall=Bool, phone_number='string', current_number=Bool, }) +auth.SentCode = account.sendChangePhoneCode({allow_flashcall=Bool, phone_number='string', current_number=Bool, }) ``` ### Errors diff --git a/old_docs/API_docs_v53/methods/account.setPrivacy.md b/old_docs/API_docs_v53/methods/account.setPrivacy.md index 7c4cfba7..096d373e 100644 --- a/old_docs/API_docs_v53/methods/account.setPrivacy.md +++ b/old_docs/API_docs_v53/methods/account.setPrivacy.md @@ -17,7 +17,7 @@ Change privacy settings of current account |rules|Array of [InputPrivacyRule](../types/InputPrivacyRule.md) | Privacy settings | Yes| -### Return type: [account\_PrivacyRules](../types/account_PrivacyRules.md) +### Return type: [account.PrivacyRules](../types/account.PrivacyRules.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_PrivacyRules = $MadelineProto->account->setPrivacy(['key' => InputPrivacyKey, 'rules' => [InputPrivacyRule, InputPrivacyRule], ]); +$account.PrivacyRules = $MadelineProto->account->setPrivacy(['key' => InputPrivacyKey, 'rules' => [InputPrivacyRule, InputPrivacyRule], ]); ``` Or, if you're into Lua: ```lua -account_PrivacyRules = account.setPrivacy({key=InputPrivacyKey, rules={InputPrivacyRule}, }) +account.PrivacyRules = account.setPrivacy({key=InputPrivacyKey, rules={InputPrivacyRule}, }) ``` ### Errors diff --git a/old_docs/API_docs_v53/methods/api_README.md b/old_docs/API_docs_v53/methods/api_README.md index da451903..814574a8 100644 --- a/old_docs/API_docs_v53/methods/api_README.md +++ b/old_docs/API_docs_v53/methods/api_README.md @@ -52,7 +52,7 @@ $MadelineProto->[account->getAccountTTL](account.getAccountTTL.md)(\[\]) === [$A ***

-$MadelineProto->[account->getAuthorizations](account.getAuthorizations.md)(\[\]) === [$account\_Authorizations](../types/account_Authorizations.md) +$MadelineProto->[account->getAuthorizations](account.getAuthorizations.md)(\[\]) === [$account.Authorizations](../types/account.Authorizations.md) ***

@@ -60,15 +60,15 @@ $MadelineProto->[account->getNotifySettings](account.getNotifySettings.md)(\['pe ***

-$MadelineProto->[account->getPassword](account.getPassword.md)(\[\]) === [$account\_Password](../types/account_Password.md) +$MadelineProto->[account->getPassword](account.getPassword.md)(\[\]) === [$account.Password](../types/account.Password.md) ***

-$MadelineProto->[account->getPasswordSettings](account.getPasswordSettings.md)(\['current_password_hash' => [bytes](../types/bytes.md), \]) === [$account\_PasswordSettings](../types/account_PasswordSettings.md) +$MadelineProto->[account->getPasswordSettings](account.getPasswordSettings.md)(\['current_password_hash' => [bytes](../types/bytes.md), \]) === [$account.PasswordSettings](../types/account.PasswordSettings.md) ***

-$MadelineProto->[account->getPrivacy](account.getPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), \]) === [$account\_PrivacyRules](../types/account_PrivacyRules.md) +$MadelineProto->[account->getPrivacy](account.getPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), \]) === [$account.PrivacyRules](../types/account.PrivacyRules.md) ***

@@ -92,7 +92,7 @@ $MadelineProto->[account->resetNotifySettings](account.resetNotifySettings.md)(\ ***

-$MadelineProto->[account->sendChangePhoneCode](account.sendChangePhoneCode.md)(\['allow_flashcall' => [Bool](../types/Bool.md), 'phone_number' => [string](../types/string.md), 'current_number' => [Bool](../types/Bool.md), \]) === [$auth\_SentCode](../types/auth_SentCode.md) +$MadelineProto->[account->sendChangePhoneCode](account.sendChangePhoneCode.md)(\['allow_flashcall' => [Bool](../types/Bool.md), 'phone_number' => [string](../types/string.md), 'current_number' => [Bool](../types/Bool.md), \]) === [$auth.SentCode](../types/auth.SentCode.md) ***

@@ -100,7 +100,7 @@ $MadelineProto->[account->setAccountTTL](account.setAccountTTL.md)(\['ttl' => [A ***

-$MadelineProto->[account->setPrivacy](account.setPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), 'rules' => \[[InputPrivacyRule](../types/InputPrivacyRule.md)\], \]) === [$account\_PrivacyRules](../types/account_PrivacyRules.md) +$MadelineProto->[account->setPrivacy](account.setPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), 'rules' => \[[InputPrivacyRule](../types/InputPrivacyRule.md)\], \]) === [$account.PrivacyRules](../types/account.PrivacyRules.md) ***

@@ -140,23 +140,23 @@ $MadelineProto->[auth->cancelCode](auth.cancelCode.md)(\['phone_number' => [stri ***

-$MadelineProto->[auth->checkPassword](auth.checkPassword.md)(\['password_hash' => [bytes](../types/bytes.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->checkPassword](auth.checkPassword.md)(\['password_hash' => [bytes](../types/bytes.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

-$MadelineProto->[auth->checkPhone](auth.checkPhone.md)(\['phone_number' => [string](../types/string.md), \]) === [$auth\_CheckedPhone](../types/auth_CheckedPhone.md) +$MadelineProto->[auth->checkPhone](auth.checkPhone.md)(\['phone_number' => [string](../types/string.md), \]) === [$auth.CheckedPhone](../types/auth.CheckedPhone.md) ***

-$MadelineProto->[auth->exportAuthorization](auth.exportAuthorization.md)(\['dc_id' => [int](../types/int.md), \]) === [$auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) +$MadelineProto->[auth->exportAuthorization](auth.exportAuthorization.md)(\['dc_id' => [int](../types/int.md), \]) === [$auth.ExportedAuthorization](../types/auth.ExportedAuthorization.md) ***

-$MadelineProto->[auth->importAuthorization](auth.importAuthorization.md)(\['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->importAuthorization](auth.importAuthorization.md)(\['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

-$MadelineProto->[auth->importBotAuthorization](auth.importBotAuthorization.md)(\['api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), 'bot_auth_token' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->importBotAuthorization](auth.importBotAuthorization.md)(\['api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), 'bot_auth_token' => [string](../types/string.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

@@ -164,15 +164,15 @@ $MadelineProto->[auth->logOut](auth.logOut.md)(\[\]) === [$Bool](../types/Bool.m ***

-$MadelineProto->[auth->recoverPassword](auth.recoverPassword.md)(\['code' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->recoverPassword](auth.recoverPassword.md)(\['code' => [string](../types/string.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

-$MadelineProto->[auth->requestPasswordRecovery](auth.requestPasswordRecovery.md)(\[\]) === [$auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) +$MadelineProto->[auth->requestPasswordRecovery](auth.requestPasswordRecovery.md)(\[\]) === [$auth.PasswordRecovery](../types/auth.PasswordRecovery.md) ***

-$MadelineProto->[auth->resendCode](auth.resendCode.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), \]) === [$auth\_SentCode](../types/auth_SentCode.md) +$MadelineProto->[auth->resendCode](auth.resendCode.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), \]) === [$auth.SentCode](../types/auth.SentCode.md) ***

@@ -180,7 +180,7 @@ $MadelineProto->[auth->resetAuthorizations](auth.resetAuthorizations.md)(\[\]) = ***

-$MadelineProto->[auth->sendCode](auth.sendCode.md)(\['allow_flashcall' => [Bool](../types/Bool.md), 'phone_number' => [string](../types/string.md), 'current_number' => [Bool](../types/Bool.md), 'api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), \]) === [$auth\_SentCode](../types/auth_SentCode.md) +$MadelineProto->[auth->sendCode](auth.sendCode.md)(\['allow_flashcall' => [Bool](../types/Bool.md), 'phone_number' => [string](../types/string.md), 'current_number' => [Bool](../types/Bool.md), 'api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), \]) === [$auth.SentCode](../types/auth.SentCode.md) ***

@@ -188,11 +188,11 @@ $MadelineProto->[auth->sendInvites](auth.sendInvites.md)(\['phone_numbers' => \[ ***

-$MadelineProto->[auth->signIn](auth.signIn.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->signIn](auth.signIn.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

-$MadelineProto->[auth->signUp](auth.signUp.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->signUp](auth.signUp.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

@@ -208,11 +208,11 @@ $MadelineProto->[channels->deleteChannel](channels.deleteChannel.md)(\['channel' ***

-$MadelineProto->[channels->deleteMessages](channels.deleteMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) +$MadelineProto->[channels->deleteMessages](channels.deleteMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages.AffectedMessages](../types/messages.AffectedMessages.md) ***

-$MadelineProto->[channels->deleteUserHistory](channels.deleteUserHistory.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages\_AffectedHistory](../types/messages_AffectedHistory.md) +$MadelineProto->[channels->deleteUserHistory](channels.deleteUserHistory.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages.AffectedHistory](../types/messages.AffectedHistory.md) ***

@@ -240,23 +240,23 @@ $MadelineProto->[channels->exportMessageLink](channels.exportMessageLink.md)(\[' ***

-$MadelineProto->[channels->getChannels](channels.getChannels.md)(\['id' => \[[InputChannel](../types/InputChannel.md)\], \]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[channels->getChannels](channels.getChannels.md)(\['id' => \[[InputChannel](../types/InputChannel.md)\], \]) === [$messages.Chats](../types/messages.Chats.md) ***

-$MadelineProto->[channels->getFullChannel](channels.getFullChannel.md)(\['channel' => [InputChannel](../types/InputChannel.md), \]) === [$messages\_ChatFull](../types/messages_ChatFull.md) +$MadelineProto->[channels->getFullChannel](channels.getFullChannel.md)(\['channel' => [InputChannel](../types/InputChannel.md), \]) === [$messages.ChatFull](../types/messages.ChatFull.md) ***

-$MadelineProto->[channels->getMessages](channels.getMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[channels->getMessages](channels.getMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[channels->getParticipant](channels.getParticipant.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$channels\_ChannelParticipant](../types/channels_ChannelParticipant.md) +$MadelineProto->[channels->getParticipant](channels.getParticipant.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$channels.ChannelParticipant](../types/channels.ChannelParticipant.md) ***

-$MadelineProto->[channels->getParticipants](channels.getParticipants.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$channels\_ChannelParticipants](../types/channels_ChannelParticipants.md) +$MadelineProto->[channels->getParticipants](channels.getParticipants.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$channels.ChannelParticipants](../types/channels.ChannelParticipants.md) ***

@@ -304,7 +304,7 @@ $MadelineProto->[contacts->block](contacts.block.md)(\['id' => [InputUser](../ty ***

-$MadelineProto->[contacts->deleteContact](contacts.deleteContact.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$contacts\_Link](../types/contacts_Link.md) +$MadelineProto->[contacts->deleteContact](contacts.deleteContact.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$contacts.Link](../types/contacts.Link.md) ***

@@ -316,11 +316,11 @@ $MadelineProto->[contacts->exportCard](contacts.exportCard.md)(\[\]) === [$Vecto ***

-$MadelineProto->[contacts->getBlocked](contacts.getBlocked.md)(\['offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$contacts\_Blocked](../types/contacts_Blocked.md) +$MadelineProto->[contacts->getBlocked](contacts.getBlocked.md)(\['offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$contacts.Blocked](../types/contacts.Blocked.md) ***

-$MadelineProto->[contacts->getContacts](contacts.getContacts.md)(\['hash' => [string](../types/string.md), \]) === [$contacts\_Contacts](../types/contacts_Contacts.md) +$MadelineProto->[contacts->getContacts](contacts.getContacts.md)(\['hash' => [string](../types/string.md), \]) === [$contacts.Contacts](../types/contacts.Contacts.md) ***

@@ -328,7 +328,7 @@ $MadelineProto->[contacts->getStatuses](contacts.getStatuses.md)(\[\]) === [$Vec ***

-$MadelineProto->[contacts->getTopPeers](contacts.getTopPeers.md)(\['correspondents' => [Bool](../types/Bool.md), 'bots_pm' => [Bool](../types/Bool.md), 'bots_inline' => [Bool](../types/Bool.md), 'groups' => [Bool](../types/Bool.md), 'channels' => [Bool](../types/Bool.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$contacts\_TopPeers](../types/contacts_TopPeers.md) +$MadelineProto->[contacts->getTopPeers](contacts.getTopPeers.md)(\['correspondents' => [Bool](../types/Bool.md), 'bots_pm' => [Bool](../types/Bool.md), 'bots_inline' => [Bool](../types/Bool.md), 'groups' => [Bool](../types/Bool.md), 'channels' => [Bool](../types/Bool.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$contacts.TopPeers](../types/contacts.TopPeers.md) ***

@@ -336,7 +336,7 @@ $MadelineProto->[contacts->importCard](contacts.importCard.md)(\['export_card' = ***

-$MadelineProto->[contacts->importContacts](contacts.importContacts.md)(\['contacts' => \[[InputContact](../types/InputContact.md)\], 'replace' => [Bool](../types/Bool.md), \]) === [$contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) +$MadelineProto->[contacts->importContacts](contacts.importContacts.md)(\['contacts' => \[[InputContact](../types/InputContact.md)\], 'replace' => [Bool](../types/Bool.md), \]) === [$contacts.ImportedContacts](../types/contacts.ImportedContacts.md) ***

@@ -344,11 +344,11 @@ $MadelineProto->[contacts->resetTopPeerRating](contacts.resetTopPeerRating.md)(\ ***

-$MadelineProto->[contacts->resolveUsername](contacts.resolveUsername.md)(\['username' => [string](../types/string.md), \]) === [$contacts\_ResolvedPeer](../types/contacts_ResolvedPeer.md) +$MadelineProto->[contacts->resolveUsername](contacts.resolveUsername.md)(\['username' => [string](../types/string.md), \]) === [$contacts.ResolvedPeer](../types/contacts.ResolvedPeer.md) ***

-$MadelineProto->[contacts->search](contacts.search.md)(\['q' => [string](../types/string.md), 'limit' => [int](../types/int.md), \]) === [$contacts\_Found](../types/contacts_Found.md) +$MadelineProto->[contacts->search](contacts.search.md)(\['q' => [string](../types/string.md), 'limit' => [int](../types/int.md), \]) === [$contacts.Found](../types/contacts.Found.md) ***

@@ -356,11 +356,11 @@ $MadelineProto->[contacts->unblock](contacts.unblock.md)(\['id' => [InputUser](. ***

-$MadelineProto->[help->getAppChangelog](help.getAppChangelog.md)(\[\]) === [$help\_AppChangelog](../types/help_AppChangelog.md) +$MadelineProto->[help->getAppChangelog](help.getAppChangelog.md)(\[\]) === [$help.AppChangelog](../types/help.AppChangelog.md) ***

-$MadelineProto->[help->getAppUpdate](help.getAppUpdate.md)(\[\]) === [$help\_AppUpdate](../types/help_AppUpdate.md) +$MadelineProto->[help->getAppUpdate](help.getAppUpdate.md)(\[\]) === [$help.AppUpdate](../types/help.AppUpdate.md) ***

@@ -368,7 +368,7 @@ $MadelineProto->[help->getConfig](help.getConfig.md)(\[\]) === [$Config](../type ***

-$MadelineProto->[help->getInviteText](help.getInviteText.md)(\[\]) === [$help\_InviteText](../types/help_InviteText.md) +$MadelineProto->[help->getInviteText](help.getInviteText.md)(\[\]) === [$help.InviteText](../types/help.InviteText.md) ***

@@ -376,11 +376,11 @@ $MadelineProto->[help->getNearestDc](help.getNearestDc.md)(\[\]) === [$NearestDc ***

-$MadelineProto->[help->getSupport](help.getSupport.md)(\[\]) === [$help\_Support](../types/help_Support.md) +$MadelineProto->[help->getSupport](help.getSupport.md)(\[\]) === [$help.Support](../types/help.Support.md) ***

-$MadelineProto->[help->getTermsOfService](help.getTermsOfService.md)(\[\]) === [$help\_TermsOfService](../types/help_TermsOfService.md) +$MadelineProto->[help->getTermsOfService](help.getTermsOfService.md)(\[\]) === [$help.TermsOfService](../types/help.TermsOfService.md) ***

@@ -428,11 +428,11 @@ $MadelineProto->[messages->deleteChatUser](messages.deleteChatUser.md)(\['chat_i ***

-$MadelineProto->[messages->deleteHistory](messages.deleteHistory.md)(\['just_clear' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), \]) === [$messages\_AffectedHistory](../types/messages_AffectedHistory.md) +$MadelineProto->[messages->deleteHistory](messages.deleteHistory.md)(\['just_clear' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), \]) === [$messages.AffectedHistory](../types/messages.AffectedHistory.md) ***

-$MadelineProto->[messages->deleteMessages](messages.deleteMessages.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) +$MadelineProto->[messages->deleteMessages](messages.deleteMessages.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages.AffectedMessages](../types/messages.AffectedMessages.md) ***

@@ -476,23 +476,23 @@ $MadelineProto->[messages->getAllDrafts](messages.getAllDrafts.md)(\[\]) === [$U ***

-$MadelineProto->[messages->getAllStickers](messages.getAllStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages\_AllStickers](../types/messages_AllStickers.md) +$MadelineProto->[messages->getAllStickers](messages.getAllStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages.AllStickers](../types/messages.AllStickers.md) ***

-$MadelineProto->[messages->getBotCallbackAnswer](messages.getBotCallbackAnswer.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'msg_id' => [int](../types/int.md), 'data' => [bytes](../types/bytes.md), \]) === [$messages\_BotCallbackAnswer](../types/messages_BotCallbackAnswer.md) +$MadelineProto->[messages->getBotCallbackAnswer](messages.getBotCallbackAnswer.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'msg_id' => [int](../types/int.md), 'data' => [bytes](../types/bytes.md), \]) === [$messages.BotCallbackAnswer](../types/messages.BotCallbackAnswer.md) ***

-$MadelineProto->[messages->getChats](messages.getChats.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[messages->getChats](messages.getChats.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages.Chats](../types/messages.Chats.md) ***

-$MadelineProto->[messages->getDhConfig](messages.getDhConfig.md)(\['version' => [int](../types/int.md), 'random_length' => [int](../types/int.md), \]) === [$messages\_DhConfig](../types/messages_DhConfig.md) +$MadelineProto->[messages->getDhConfig](messages.getDhConfig.md)(\['version' => [int](../types/int.md), 'random_length' => [int](../types/int.md), \]) === [$messages.DhConfig](../types/messages.DhConfig.md) ***

-$MadelineProto->[messages->getDialogs](messages.getDialogs.md)(\['offset_date' => [int](../types/int.md), 'offset_id' => [int](../types/int.md), 'offset_peer' => [InputPeer](../types/InputPeer.md), 'limit' => [int](../types/int.md), \]) === [$messages\_Dialogs](../types/messages_Dialogs.md) +$MadelineProto->[messages->getDialogs](messages.getDialogs.md)(\['offset_date' => [int](../types/int.md), 'offset_id' => [int](../types/int.md), 'offset_peer' => [InputPeer](../types/InputPeer.md), 'limit' => [int](../types/int.md), \]) === [$messages.Dialogs](../types/messages.Dialogs.md) ***

@@ -500,23 +500,23 @@ $MadelineProto->[messages->getDocumentByHash](messages.getDocumentByHash.md)(\[' ***

-$MadelineProto->[messages->getFullChat](messages.getFullChat.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), \]) === [$messages\_ChatFull](../types/messages_ChatFull.md) +$MadelineProto->[messages->getFullChat](messages.getFullChat.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), \]) === [$messages.ChatFull](../types/messages.ChatFull.md) ***

-$MadelineProto->[messages->getHistory](messages.getHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'offset_date' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->getHistory](messages.getHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'offset_date' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[messages->getInlineBotResults](messages.getInlineBotResults.md)(\['bot' => [InputUser](../types/InputUser.md), 'peer' => [InputPeer](../types/InputPeer.md), 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'query' => [string](../types/string.md), 'offset' => [string](../types/string.md), \]) === [$messages\_BotResults](../types/messages_BotResults.md) +$MadelineProto->[messages->getInlineBotResults](messages.getInlineBotResults.md)(\['bot' => [InputUser](../types/InputUser.md), 'peer' => [InputPeer](../types/InputPeer.md), 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'query' => [string](../types/string.md), 'offset' => [string](../types/string.md), \]) === [$messages.BotResults](../types/messages.BotResults.md) ***

-$MadelineProto->[messages->getMessageEditData](messages.getMessageEditData.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), \]) === [$messages\_MessageEditData](../types/messages_MessageEditData.md) +$MadelineProto->[messages->getMessageEditData](messages.getMessageEditData.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), \]) === [$messages.MessageEditData](../types/messages.MessageEditData.md) ***

-$MadelineProto->[messages->getMessages](messages.getMessages.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->getMessages](messages.getMessages.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages.Messages](../types/messages.Messages.md) ***

@@ -524,7 +524,7 @@ $MadelineProto->[messages->getMessagesViews](messages.getMessagesViews.md)(\['pe ***

-$MadelineProto->[messages->getPeerDialogs](messages.getPeerDialogs.md)(\['peers' => \[[InputPeer](../types/InputPeer.md)\], \]) === [$messages\_PeerDialogs](../types/messages_PeerDialogs.md) +$MadelineProto->[messages->getPeerDialogs](messages.getPeerDialogs.md)(\['peers' => \[[InputPeer](../types/InputPeer.md)\], \]) === [$messages.PeerDialogs](../types/messages.PeerDialogs.md) ***

@@ -532,15 +532,15 @@ $MadelineProto->[messages->getPeerSettings](messages.getPeerSettings.md)(\['peer ***

-$MadelineProto->[messages->getSavedGifs](messages.getSavedGifs.md)(\['hash' => [int](../types/int.md), \]) === [$messages\_SavedGifs](../types/messages_SavedGifs.md) +$MadelineProto->[messages->getSavedGifs](messages.getSavedGifs.md)(\['hash' => [int](../types/int.md), \]) === [$messages.SavedGifs](../types/messages.SavedGifs.md) ***

-$MadelineProto->[messages->getStickerSet](messages.getStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), \]) === [$messages\_StickerSet](../types/messages_StickerSet.md) +$MadelineProto->[messages->getStickerSet](messages.getStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), \]) === [$messages.StickerSet](../types/messages.StickerSet.md) ***

-$MadelineProto->[messages->getStickers](messages.getStickers.md)(\['emoticon' => [string](../types/string.md), 'hash' => [string](../types/string.md), \]) === [$messages\_Stickers](../types/messages_Stickers.md) +$MadelineProto->[messages->getStickers](messages.getStickers.md)(\['emoticon' => [string](../types/string.md), 'hash' => [string](../types/string.md), \]) === [$messages.Stickers](../types/messages.Stickers.md) ***

@@ -568,11 +568,11 @@ $MadelineProto->[messages->readEncryptedHistory](messages.readEncryptedHistory.m ***

-$MadelineProto->[messages->readHistory](messages.readHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), \]) === [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) +$MadelineProto->[messages->readHistory](messages.readHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), \]) === [$messages.AffectedMessages](../types/messages.AffectedMessages.md) ***

-$MadelineProto->[messages->readMessageContents](messages.readMessageContents.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) +$MadelineProto->[messages->readMessageContents](messages.readMessageContents.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages.AffectedMessages](../types/messages.AffectedMessages.md) ***

@@ -604,15 +604,15 @@ $MadelineProto->[messages->saveGif](messages.saveGif.md)(\['id' => [InputDocumen ***

-$MadelineProto->[messages->search](messages.search.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'q' => [string](../types/string.md), 'filter' => [MessagesFilter](../types/MessagesFilter.md), 'min_date' => [int](../types/int.md), 'max_date' => [int](../types/int.md), 'offset' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->search](messages.search.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'q' => [string](../types/string.md), 'filter' => [MessagesFilter](../types/MessagesFilter.md), 'min_date' => [int](../types/int.md), 'max_date' => [int](../types/int.md), 'offset' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[messages->searchGifs](messages.searchGifs.md)(\['q' => [string](../types/string.md), 'offset' => [int](../types/int.md), \]) === [$messages\_FoundGifs](../types/messages_FoundGifs.md) +$MadelineProto->[messages->searchGifs](messages.searchGifs.md)(\['q' => [string](../types/string.md), 'offset' => [int](../types/int.md), \]) === [$messages.FoundGifs](../types/messages.FoundGifs.md) ***

-$MadelineProto->[messages->searchGlobal](messages.searchGlobal.md)(\['q' => [string](../types/string.md), 'offset_date' => [int](../types/int.md), 'offset_peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->searchGlobal](messages.searchGlobal.md)(\['q' => [string](../types/string.md), 'offset_date' => [int](../types/int.md), 'offset_peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

@@ -620,15 +620,15 @@ $MadelineProto->[messages->sendBroadcast](messages.sendBroadcast.md)(\['contacts ***

-$MadelineProto->[messages->sendEncrypted](messages.sendEncrypted.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'message' => [DecryptedMessage](../types/DecryptedMessage.md), \]) === [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +$MadelineProto->[messages->sendEncrypted](messages.sendEncrypted.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), \]) === [$messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ***

-$MadelineProto->[messages->sendEncryptedFile](messages.sendEncryptedFile.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'message' => [DecryptedMessage](../types/DecryptedMessage.md), 'file' => [InputEncryptedFile](../types/InputEncryptedFile.md), \]) === [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +$MadelineProto->[messages->sendEncryptedFile](messages.sendEncryptedFile.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), 'file' => [InputEncryptedFile](../types/InputEncryptedFile.md), \]) === [$messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ***

-$MadelineProto->[messages->sendEncryptedService](messages.sendEncryptedService.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'message' => [DecryptedMessage](../types/DecryptedMessage.md), \]) === [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +$MadelineProto->[messages->sendEncryptedService](messages.sendEncryptedService.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), \]) === [$messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ***

@@ -676,7 +676,7 @@ $MadelineProto->[photos->deletePhotos](photos.deletePhotos.md)(\['id' => \[[Inpu ***

-$MadelineProto->[photos->getUserPhotos](photos.getUserPhotos.md)(\['user_id' => [InputUser](../types/InputUser.md), 'offset' => [int](../types/int.md), 'max_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$photos\_Photos](../types/photos_Photos.md) +$MadelineProto->[photos->getUserPhotos](photos.getUserPhotos.md)(\['user_id' => [InputUser](../types/InputUser.md), 'offset' => [int](../types/int.md), 'max_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$photos.Photos](../types/photos.Photos.md) ***

@@ -684,23 +684,23 @@ $MadelineProto->[photos->updateProfilePhoto](photos.updateProfilePhoto.md)(\['id ***

-$MadelineProto->[photos->uploadProfilePhoto](photos.uploadProfilePhoto.md)(\['file' => [InputFile](../types/InputFile.md), 'caption' => [string](../types/string.md), 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'crop' => [InputPhotoCrop](../types/InputPhotoCrop.md), \]) === [$photos\_Photo](../types/photos_Photo.md) +$MadelineProto->[photos->uploadProfilePhoto](photos.uploadProfilePhoto.md)(\['file' => [InputFile](../types/InputFile.md), 'caption' => [string](../types/string.md), 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'crop' => [InputPhotoCrop](../types/InputPhotoCrop.md), \]) === [$photos.Photo](../types/photos.Photo.md) ***

-$MadelineProto->[updates->getChannelDifference](updates.getChannelDifference.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$updates\_ChannelDifference](../types/updates_ChannelDifference.md) +$MadelineProto->[updates->getChannelDifference](updates.getChannelDifference.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$updates.ChannelDifference](../types/updates.ChannelDifference.md) ***

-$MadelineProto->[updates->getDifference](updates.getDifference.md)(\['pts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) === [$updates\_Difference](../types/updates_Difference.md) +$MadelineProto->[updates->getDifference](updates.getDifference.md)(\['pts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) === [$updates.Difference](../types/updates.Difference.md) ***

-$MadelineProto->[updates->getState](updates.getState.md)(\[\]) === [$updates\_State](../types/updates_State.md) +$MadelineProto->[updates->getState](updates.getState.md)(\[\]) === [$updates.State](../types/updates.State.md) ***

-$MadelineProto->[upload->getFile](upload.getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_File](../types/upload_File.md) +$MadelineProto->[upload->getFile](upload.getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload.File](../types/upload.File.md) ***

diff --git a/old_docs/API_docs_v53/methods/auth.checkPassword.md b/old_docs/API_docs_v53/methods/auth.checkPassword.md index db65cb56..eeeed171 100644 --- a/old_docs/API_docs_v53/methods/auth.checkPassword.md +++ b/old_docs/API_docs_v53/methods/auth.checkPassword.md @@ -16,7 +16,7 @@ You cannot use this method directly, use the complete_2fa_login method instead ( |password\_hash|[bytes](../types/bytes.md) | You cannot use this method directly, use the complete_2fa_login method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->checkPassword(['password_hash' => 'bytes', ]); +$auth.Authorization = $MadelineProto->auth->checkPassword(['password_hash' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.checkPassword({password_hash='bytes', }) +auth.Authorization = auth.checkPassword({password_hash='bytes', }) ``` ### Errors diff --git a/old_docs/API_docs_v53/methods/auth.checkPhone.md b/old_docs/API_docs_v53/methods/auth.checkPhone.md index 227358cb..51d4cba6 100644 --- a/old_docs/API_docs_v53/methods/auth.checkPhone.md +++ b/old_docs/API_docs_v53/methods/auth.checkPhone.md @@ -16,7 +16,7 @@ Check if this phone number is registered on telegram |phone\_number|[string](../types/string.md) | The phone number to check | Yes| -### Return type: [auth\_CheckedPhone](../types/auth_CheckedPhone.md) +### Return type: [auth.CheckedPhone](../types/auth.CheckedPhone.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => 'string', ]); +$auth.CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_CheckedPhone = auth.checkPhone({phone_number='string', }) +auth.CheckedPhone = auth.checkPhone({phone_number='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v53/methods/auth.exportAuthorization.md b/old_docs/API_docs_v53/methods/auth.exportAuthorization.md index 72063a2b..41a1f87d 100644 --- a/old_docs/API_docs_v53/methods/auth.exportAuthorization.md +++ b/old_docs/API_docs_v53/methods/auth.exportAuthorization.md @@ -16,7 +16,7 @@ You cannot use this method directly, use $MadelineProto->exportAuthorization() i |dc\_id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| -### Return type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) +### Return type: [auth.ExportedAuthorization](../types/auth.ExportedAuthorization.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_ExportedAuthorization = $MadelineProto->auth->exportAuthorization(['dc_id' => int, ]); +$auth.ExportedAuthorization = $MadelineProto->auth->exportAuthorization(['dc_id' => int, ]); ``` Or, if you're into Lua: ```lua -auth_ExportedAuthorization = auth.exportAuthorization({dc_id=int, }) +auth.ExportedAuthorization = auth.exportAuthorization({dc_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v53/methods/auth.importAuthorization.md b/old_docs/API_docs_v53/methods/auth.importAuthorization.md index d9c13751..5257e0b0 100644 --- a/old_docs/API_docs_v53/methods/auth.importAuthorization.md +++ b/old_docs/API_docs_v53/methods/auth.importAuthorization.md @@ -17,7 +17,7 @@ You cannot use this method directly, use $MadelineProto->importAuthorization($au |bytes|[bytes](../types/bytes.md) | You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => 'bytes', ]); +$auth.Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.importAuthorization({id=int, bytes='bytes', }) +auth.Authorization = auth.importAuthorization({id=int, bytes='bytes', }) ``` ### Errors diff --git a/old_docs/API_docs_v53/methods/auth.importBotAuthorization.md b/old_docs/API_docs_v53/methods/auth.importBotAuthorization.md index 3161d6be..a4ea8027 100644 --- a/old_docs/API_docs_v53/methods/auth.importBotAuthorization.md +++ b/old_docs/API_docs_v53/methods/auth.importBotAuthorization.md @@ -18,7 +18,7 @@ You cannot use this method directly, use the botLogin method instead (see https: |bot\_auth\_token|[string](../types/string.md) | You cannot use this method directly, use the botLogin method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **YES** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->importBotAuthorization(['api_id' => int, 'api_hash' => 'string', 'bot_auth_token' => 'string', ]); +$auth.Authorization = $MadelineProto->auth->importBotAuthorization(['api_id' => int, 'api_hash' => 'string', 'bot_auth_token' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.importBotAuthorization({api_id=int, api_hash='string', bot_auth_token='string', }) +auth.Authorization = auth.importBotAuthorization({api_id=int, api_hash='string', bot_auth_token='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v53/methods/auth.recoverPassword.md b/old_docs/API_docs_v53/methods/auth.recoverPassword.md index f7cbf4a4..2e78444b 100644 --- a/old_docs/API_docs_v53/methods/auth.recoverPassword.md +++ b/old_docs/API_docs_v53/methods/auth.recoverPassword.md @@ -16,7 +16,7 @@ Reset the [2FA password](https://core.telegram.org/api/srp) using the recovery c |code|[string](../types/string.md) | Code received via email | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->recoverPassword(['code' => 'string', ]); +$auth.Authorization = $MadelineProto->auth->recoverPassword(['code' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.recoverPassword({code='string', }) +auth.Authorization = auth.recoverPassword({code='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v53/methods/auth.requestPasswordRecovery.md b/old_docs/API_docs_v53/methods/auth.requestPasswordRecovery.md index 5cd77936..ff1ecc02 100644 --- a/old_docs/API_docs_v53/methods/auth.requestPasswordRecovery.md +++ b/old_docs/API_docs_v53/methods/auth.requestPasswordRecovery.md @@ -11,7 +11,7 @@ Request recovery code of a [2FA password](https://core.telegram.org/api/srp), on -### Return type: [auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) +### Return type: [auth.PasswordRecovery](../types/auth.PasswordRecovery.md) ### Can bots use this method: **NO** @@ -28,13 +28,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_PasswordRecovery = $MadelineProto->auth->requestPasswordRecovery(); +$auth.PasswordRecovery = $MadelineProto->auth->requestPasswordRecovery(); ``` Or, if you're into Lua: ```lua -auth_PasswordRecovery = auth.requestPasswordRecovery({}) +auth.PasswordRecovery = auth.requestPasswordRecovery({}) ``` ### Errors diff --git a/old_docs/API_docs_v53/methods/auth.resendCode.md b/old_docs/API_docs_v53/methods/auth.resendCode.md index a395a91b..f59f1b7b 100644 --- a/old_docs/API_docs_v53/methods/auth.resendCode.md +++ b/old_docs/API_docs_v53/methods/auth.resendCode.md @@ -17,7 +17,7 @@ Resend the login code via another medium, the phone code type is determined by t |phone\_code\_hash|[string](../types/string.md) | The phone code hash obtained from [auth.sendCode](../methods/auth.sendCode.md) | Yes| -### Return type: [auth\_SentCode](../types/auth_SentCode.md) +### Return type: [auth.SentCode](../types/auth.SentCode.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_SentCode = $MadelineProto->auth->resendCode(['phone_number' => 'string', 'phone_code_hash' => 'string', ]); +$auth.SentCode = $MadelineProto->auth->resendCode(['phone_number' => 'string', 'phone_code_hash' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_SentCode = auth.resendCode({phone_number='string', phone_code_hash='string', }) +auth.SentCode = auth.resendCode({phone_number='string', phone_code_hash='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v53/methods/auth.sendCode.md b/old_docs/API_docs_v53/methods/auth.sendCode.md index bd922a48..0c818fbb 100644 --- a/old_docs/API_docs_v53/methods/auth.sendCode.md +++ b/old_docs/API_docs_v53/methods/auth.sendCode.md @@ -20,7 +20,7 @@ You cannot use this method directly, use the phoneLogin method instead (see http |api\_hash|[string](../types/string.md) | You cannot use this method directly, use the phoneLogin method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_SentCode](../types/auth_SentCode.md) +### Return type: [auth.SentCode](../types/auth.SentCode.md) ### Can bots use this method: **NO** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_SentCode = $MadelineProto->auth->sendCode(['allow_flashcall' => Bool, 'phone_number' => 'string', 'current_number' => Bool, 'api_id' => int, 'api_hash' => 'string', ]); +$auth.SentCode = $MadelineProto->auth->sendCode(['allow_flashcall' => Bool, 'phone_number' => 'string', 'current_number' => Bool, 'api_id' => int, 'api_hash' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_SentCode = auth.sendCode({allow_flashcall=Bool, phone_number='string', current_number=Bool, api_id=int, api_hash='string', }) +auth.SentCode = auth.sendCode({allow_flashcall=Bool, phone_number='string', current_number=Bool, api_id=int, api_hash='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v53/methods/auth.signIn.md b/old_docs/API_docs_v53/methods/auth.signIn.md index 54812a2e..95b14f32 100644 --- a/old_docs/API_docs_v53/methods/auth.signIn.md +++ b/old_docs/API_docs_v53/methods/auth.signIn.md @@ -18,7 +18,7 @@ You cannot use this method directly, use the completePhoneLogin method instead ( |phone\_code|[string](../types/string.md) | You cannot use this method directly, use the completePhoneLogin method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->signIn(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', ]); +$auth.Authorization = $MadelineProto->auth->signIn(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.signIn({phone_number='string', phone_code_hash='string', phone_code='string', }) +auth.Authorization = auth.signIn({phone_number='string', phone_code_hash='string', phone_code='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v53/methods/auth.signUp.md b/old_docs/API_docs_v53/methods/auth.signUp.md index 2aca2bfa..fdb5d628 100644 --- a/old_docs/API_docs_v53/methods/auth.signUp.md +++ b/old_docs/API_docs_v53/methods/auth.signUp.md @@ -20,7 +20,7 @@ You cannot use this method directly, use the completeSignup method instead (see |last\_name|[string](../types/string.md) | You cannot use this method directly, use the completeSignup method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **NO** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->signUp(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', 'first_name' => 'string', 'last_name' => 'string', ]); +$auth.Authorization = $MadelineProto->auth->signUp(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', 'first_name' => 'string', 'last_name' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.signUp({phone_number='string', phone_code_hash='string', phone_code='string', first_name='string', last_name='string', }) +auth.Authorization = auth.signUp({phone_number='string', phone_code_hash='string', phone_code='string', first_name='string', last_name='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v53/methods/channels.deleteMessages.md b/old_docs/API_docs_v53/methods/channels.deleteMessages.md index 10a439fb..8583e560 100644 --- a/old_docs/API_docs_v53/methods/channels.deleteMessages.md +++ b/old_docs/API_docs_v53/methods/channels.deleteMessages.md @@ -17,7 +17,7 @@ Delete messages in a [channel/supergroup](https://core.telegram.org/api/channel) |id|Array of [int](../types/int.md) | The IDs of messages to delete | Yes| -### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) +### Return type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedMessages = $MadelineProto->channels->deleteMessages(['channel' => InputChannel, 'id' => [int, int], ]); +$messages.AffectedMessages = $MadelineProto->channels->deleteMessages(['channel' => InputChannel, 'id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AffectedMessages = channels.deleteMessages({channel=InputChannel, id={int}, }) +messages.AffectedMessages = channels.deleteMessages({channel=InputChannel, id={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v53/methods/channels.deleteUserHistory.md b/old_docs/API_docs_v53/methods/channels.deleteUserHistory.md index 9b8b159f..6ccaf7dd 100644 --- a/old_docs/API_docs_v53/methods/channels.deleteUserHistory.md +++ b/old_docs/API_docs_v53/methods/channels.deleteUserHistory.md @@ -17,7 +17,7 @@ Delete all messages sent by a certain user in a [supergroup](https://core.telegr |user\_id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | User whose messages should be deleted | Optional| -### Return type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) +### Return type: [messages.AffectedHistory](../types/messages.AffectedHistory.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedHistory = $MadelineProto->channels->deleteUserHistory(['channel' => InputChannel, 'user_id' => InputUser, ]); +$messages.AffectedHistory = $MadelineProto->channels->deleteUserHistory(['channel' => InputChannel, 'user_id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -messages_AffectedHistory = channels.deleteUserHistory({channel=InputChannel, user_id=InputUser, }) +messages.AffectedHistory = channels.deleteUserHistory({channel=InputChannel, user_id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v53/methods/channels.getChannels.md b/old_docs/API_docs_v53/methods/channels.getChannels.md index 368c96ce..ed9cf4a7 100644 --- a/old_docs/API_docs_v53/methods/channels.getChannels.md +++ b/old_docs/API_docs_v53/methods/channels.getChannels.md @@ -16,7 +16,7 @@ Get info about [channels/supergroups](https://core.telegram.org/api/channel) |id|Array of [Username, chat ID, Update, Message or InputChannel](../types/InputChannel.md) | The channel/supergroup MTProto IDs | Yes| -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->channels->getChannels(['id' => [InputChannel, InputChannel], ]); +$messages.Chats = $MadelineProto->channels->getChannels(['id' => [InputChannel, InputChannel], ]); ``` Or, if you're into Lua: ```lua -messages_Chats = channels.getChannels({id={InputChannel}, }) +messages.Chats = channels.getChannels({id={InputChannel}, }) ``` ### Errors diff --git a/old_docs/API_docs_v53/methods/channels.getFullChannel.md b/old_docs/API_docs_v53/methods/channels.getFullChannel.md index 08dc21bb..1369e0a0 100644 --- a/old_docs/API_docs_v53/methods/channels.getFullChannel.md +++ b/old_docs/API_docs_v53/methods/channels.getFullChannel.md @@ -16,7 +16,7 @@ You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo me |channel|[Username, chat ID, Update, Message or InputChannel](../types/InputChannel.md) | You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo methods instead (see https://docs.madelineproto.xyz for more info) | Optional| -### Return type: [messages\_ChatFull](../types/messages_ChatFull.md) +### Return type: [messages.ChatFull](../types/messages.ChatFull.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_ChatFull = $MadelineProto->channels->getFullChannel(['channel' => InputChannel, ]); +$messages.ChatFull = $MadelineProto->channels->getFullChannel(['channel' => InputChannel, ]); ``` Or, if you're into Lua: ```lua -messages_ChatFull = channels.getFullChannel({channel=InputChannel, }) +messages.ChatFull = channels.getFullChannel({channel=InputChannel, }) ``` ### Errors diff --git a/old_docs/API_docs_v53/methods/channels.getMessages.md b/old_docs/API_docs_v53/methods/channels.getMessages.md index 379e0e9d..5023ea1a 100644 --- a/old_docs/API_docs_v53/methods/channels.getMessages.md +++ b/old_docs/API_docs_v53/methods/channels.getMessages.md @@ -17,7 +17,7 @@ Get [channel/supergroup](https://core.telegram.org/api/channel) messages |id|Array of [int](../types/int.md) | The message IDs | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->channels->getMessages(['channel' => InputChannel, 'id' => [int, int], ]); +$messages.Messages = $MadelineProto->channels->getMessages(['channel' => InputChannel, 'id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Messages = channels.getMessages({channel=InputChannel, id={int}, }) +messages.Messages = channels.getMessages({channel=InputChannel, id={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v53/methods/channels.getParticipant.md b/old_docs/API_docs_v53/methods/channels.getParticipant.md index aa2ce655..cf6a7771 100644 --- a/old_docs/API_docs_v53/methods/channels.getParticipant.md +++ b/old_docs/API_docs_v53/methods/channels.getParticipant.md @@ -17,7 +17,7 @@ Get info about a [channel/supergroup](https://core.telegram.org/api/channel) par |user\_id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | ID of participant to get info about | Optional| -### Return type: [channels\_ChannelParticipant](../types/channels_ChannelParticipant.md) +### Return type: [channels.ChannelParticipant](../types/channels.ChannelParticipant.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$channels_ChannelParticipant = $MadelineProto->channels->getParticipant(['channel' => InputChannel, 'user_id' => InputUser, ]); +$channels.ChannelParticipant = $MadelineProto->channels->getParticipant(['channel' => InputChannel, 'user_id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -channels_ChannelParticipant = channels.getParticipant({channel=InputChannel, user_id=InputUser, }) +channels.ChannelParticipant = channels.getParticipant({channel=InputChannel, user_id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v53/methods/channels.getParticipants.md b/old_docs/API_docs_v53/methods/channels.getParticipants.md index 9be95921..bfeccd48 100644 --- a/old_docs/API_docs_v53/methods/channels.getParticipants.md +++ b/old_docs/API_docs_v53/methods/channels.getParticipants.md @@ -19,7 +19,7 @@ Get the participants of a channel |limit|[int](../types/int.md) | [Limit](https://core.telegram.org/api/offsets) | Yes| -### Return type: [channels\_ChannelParticipants](../types/channels_ChannelParticipants.md) +### Return type: [channels.ChannelParticipants](../types/channels.ChannelParticipants.md) ### Can bots use this method: **YES** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$channels_ChannelParticipants = $MadelineProto->channels->getParticipants(['channel' => InputChannel, 'filter' => ChannelParticipantsFilter, 'offset' => int, 'limit' => int, ]); +$channels.ChannelParticipants = $MadelineProto->channels->getParticipants(['channel' => InputChannel, 'filter' => ChannelParticipantsFilter, 'offset' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -channels_ChannelParticipants = channels.getParticipants({channel=InputChannel, filter=ChannelParticipantsFilter, offset=int, limit=int, }) +channels.ChannelParticipants = channels.getParticipants({channel=InputChannel, filter=ChannelParticipantsFilter, offset=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v53/methods/contacts.deleteContact.md b/old_docs/API_docs_v53/methods/contacts.deleteContact.md index a9321d64..9169e1e0 100644 --- a/old_docs/API_docs_v53/methods/contacts.deleteContact.md +++ b/old_docs/API_docs_v53/methods/contacts.deleteContact.md @@ -16,7 +16,7 @@ Delete a contact |id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | The contact to delete | Optional| -### Return type: [contacts\_Link](../types/contacts_Link.md) +### Return type: [contacts.Link](../types/contacts.Link.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Link = $MadelineProto->contacts->deleteContact(['id' => InputUser, ]); +$contacts.Link = $MadelineProto->contacts->deleteContact(['id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -contacts_Link = contacts.deleteContact({id=InputUser, }) +contacts.Link = contacts.deleteContact({id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v53/methods/contacts.getBlocked.md b/old_docs/API_docs_v53/methods/contacts.getBlocked.md index 92f2f331..6ac1c343 100644 --- a/old_docs/API_docs_v53/methods/contacts.getBlocked.md +++ b/old_docs/API_docs_v53/methods/contacts.getBlocked.md @@ -17,7 +17,7 @@ Returns the list of blocked users. |limit|[int](../types/int.md) | The number of list elements to be returned | Yes| -### Return type: [contacts\_Blocked](../types/contacts_Blocked.md) +### Return type: [contacts.Blocked](../types/contacts.Blocked.md) ### Can bots use this method: **NO** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Blocked = $MadelineProto->contacts->getBlocked(['offset' => int, 'limit' => int, ]); +$contacts.Blocked = $MadelineProto->contacts->getBlocked(['offset' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -contacts_Blocked = contacts.getBlocked({offset=int, limit=int, }) +contacts.Blocked = contacts.getBlocked({offset=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v53/methods/contacts.getContacts.md b/old_docs/API_docs_v53/methods/contacts.getContacts.md index caee7aa8..a2fcd412 100644 --- a/old_docs/API_docs_v53/methods/contacts.getContacts.md +++ b/old_docs/API_docs_v53/methods/contacts.getContacts.md @@ -16,7 +16,7 @@ Returns the current user's contact list. |hash|[string](../types/string.md) | List of contact user IDs you already cached | Yes| -### Return type: [contacts\_Contacts](../types/contacts_Contacts.md) +### Return type: [contacts.Contacts](../types/contacts.Contacts.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Contacts = $MadelineProto->contacts->getContacts(['hash' => 'string', ]); +$contacts.Contacts = $MadelineProto->contacts->getContacts(['hash' => 'string', ]); ``` Or, if you're into Lua: ```lua -contacts_Contacts = contacts.getContacts({hash='string', }) +contacts.Contacts = contacts.getContacts({hash='string', }) ``` diff --git a/old_docs/API_docs_v53/methods/contacts.getTopPeers.md b/old_docs/API_docs_v53/methods/contacts.getTopPeers.md index 4875826c..c2063ea6 100644 --- a/old_docs/API_docs_v53/methods/contacts.getTopPeers.md +++ b/old_docs/API_docs_v53/methods/contacts.getTopPeers.md @@ -23,7 +23,7 @@ Get most used peers |hash|Array of [int](../types/int.md) | Peer IDs of previously cached peers | Optional| -### Return type: [contacts\_TopPeers](../types/contacts_TopPeers.md) +### Return type: [contacts.TopPeers](../types/contacts.TopPeers.md) ### Can bots use this method: **NO** @@ -40,13 +40,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_TopPeers = $MadelineProto->contacts->getTopPeers(['correspondents' => Bool, 'bots_pm' => Bool, 'bots_inline' => Bool, 'groups' => Bool, 'channels' => Bool, 'offset' => int, 'limit' => int, 'hash' => [int, int], ]); +$contacts.TopPeers = $MadelineProto->contacts->getTopPeers(['correspondents' => Bool, 'bots_pm' => Bool, 'bots_inline' => Bool, 'groups' => Bool, 'channels' => Bool, 'offset' => int, 'limit' => int, 'hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -contacts_TopPeers = contacts.getTopPeers({correspondents=Bool, bots_pm=Bool, bots_inline=Bool, groups=Bool, channels=Bool, offset=int, limit=int, hash={int}, }) +contacts.TopPeers = contacts.getTopPeers({correspondents=Bool, bots_pm=Bool, bots_inline=Bool, groups=Bool, channels=Bool, offset=int, limit=int, hash={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v53/methods/contacts.importContacts.md b/old_docs/API_docs_v53/methods/contacts.importContacts.md index 572df9fb..975d0565 100644 --- a/old_docs/API_docs_v53/methods/contacts.importContacts.md +++ b/old_docs/API_docs_v53/methods/contacts.importContacts.md @@ -17,7 +17,7 @@ Imports contacts: saves a full list on the server, adds already registered conta |replace|[Bool](../types/Bool.md) | Replace contacts? | Yes| -### Return type: [contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) +### Return type: [contacts.ImportedContacts](../types/contacts.ImportedContacts.md) ### Can bots use this method: **NO** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_ImportedContacts = $MadelineProto->contacts->importContacts(['contacts' => [InputContact, InputContact], 'replace' => Bool, ]); +$contacts.ImportedContacts = $MadelineProto->contacts->importContacts(['contacts' => [InputContact, InputContact], 'replace' => Bool, ]); ``` Or, if you're into Lua: ```lua -contacts_ImportedContacts = contacts.importContacts({contacts={InputContact}, replace=Bool, }) +contacts.ImportedContacts = contacts.importContacts({contacts={InputContact}, replace=Bool, }) ``` diff --git a/old_docs/API_docs_v53/methods/contacts.resolveUsername.md b/old_docs/API_docs_v53/methods/contacts.resolveUsername.md index 05e3d854..46f1eb50 100644 --- a/old_docs/API_docs_v53/methods/contacts.resolveUsername.md +++ b/old_docs/API_docs_v53/methods/contacts.resolveUsername.md @@ -16,7 +16,7 @@ You cannot use this method directly, use the resolveUsername, getPwrChat, getInf |username|[string](../types/string.md) | You cannot use this method directly, use the resolveUsername, getPwrChat, getInfo, getFullInfo methods instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [contacts\_ResolvedPeer](../types/contacts_ResolvedPeer.md) +### Return type: [contacts.ResolvedPeer](../types/contacts.ResolvedPeer.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_ResolvedPeer = $MadelineProto->contacts->resolveUsername(['username' => 'string', ]); +$contacts.ResolvedPeer = $MadelineProto->contacts->resolveUsername(['username' => 'string', ]); ``` Or, if you're into Lua: ```lua -contacts_ResolvedPeer = contacts.resolveUsername({username='string', }) +contacts.ResolvedPeer = contacts.resolveUsername({username='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v53/methods/contacts.search.md b/old_docs/API_docs_v53/methods/contacts.search.md index 2f39d6f1..ec04c7f9 100644 --- a/old_docs/API_docs_v53/methods/contacts.search.md +++ b/old_docs/API_docs_v53/methods/contacts.search.md @@ -17,7 +17,7 @@ Returns users found by username substring. |limit|[int](../types/int.md) | Maximum number of users to be returned | Yes| -### Return type: [contacts\_Found](../types/contacts_Found.md) +### Return type: [contacts.Found](../types/contacts.Found.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Found = $MadelineProto->contacts->search(['q' => 'string', 'limit' => int, ]); +$contacts.Found = $MadelineProto->contacts->search(['q' => 'string', 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -contacts_Found = contacts.search({q='string', limit=int, }) +contacts.Found = contacts.search({q='string', limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v53/methods/help.getAppChangelog.md b/old_docs/API_docs_v53/methods/help.getAppChangelog.md index 627d2d55..86973f04 100644 --- a/old_docs/API_docs_v53/methods/help.getAppChangelog.md +++ b/old_docs/API_docs_v53/methods/help.getAppChangelog.md @@ -11,7 +11,7 @@ Get changelog of current app -### Return type: [help\_AppChangelog](../types/help_AppChangelog.md) +### Return type: [help.AppChangelog](../types/help.AppChangelog.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_AppChangelog = $MadelineProto->help->getAppChangelog(); +$help.AppChangelog = $MadelineProto->help->getAppChangelog(); ``` Or, if you're into Lua: ```lua -help_AppChangelog = help.getAppChangelog({}) +help.AppChangelog = help.getAppChangelog({}) ``` diff --git a/old_docs/API_docs_v53/methods/help.getAppUpdate.md b/old_docs/API_docs_v53/methods/help.getAppUpdate.md index 4c58e898..b9899d71 100644 --- a/old_docs/API_docs_v53/methods/help.getAppUpdate.md +++ b/old_docs/API_docs_v53/methods/help.getAppUpdate.md @@ -11,7 +11,7 @@ Returns information on update availability for the current application. -### Return type: [help\_AppUpdate](../types/help_AppUpdate.md) +### Return type: [help.AppUpdate](../types/help.AppUpdate.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_AppUpdate = $MadelineProto->help->getAppUpdate(); +$help.AppUpdate = $MadelineProto->help->getAppUpdate(); ``` Or, if you're into Lua: ```lua -help_AppUpdate = help.getAppUpdate({}) +help.AppUpdate = help.getAppUpdate({}) ``` diff --git a/old_docs/API_docs_v53/methods/help.getInviteText.md b/old_docs/API_docs_v53/methods/help.getInviteText.md index 6fd67362..0d427974 100644 --- a/old_docs/API_docs_v53/methods/help.getInviteText.md +++ b/old_docs/API_docs_v53/methods/help.getInviteText.md @@ -11,7 +11,7 @@ Returns text of a text message with an invitation. -### Return type: [help\_InviteText](../types/help_InviteText.md) +### Return type: [help.InviteText](../types/help.InviteText.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_InviteText = $MadelineProto->help->getInviteText(); +$help.InviteText = $MadelineProto->help->getInviteText(); ``` Or, if you're into Lua: ```lua -help_InviteText = help.getInviteText({}) +help.InviteText = help.getInviteText({}) ``` diff --git a/old_docs/API_docs_v53/methods/help.getSupport.md b/old_docs/API_docs_v53/methods/help.getSupport.md index 7a577892..8a8df916 100644 --- a/old_docs/API_docs_v53/methods/help.getSupport.md +++ b/old_docs/API_docs_v53/methods/help.getSupport.md @@ -11,7 +11,7 @@ Returns the support user for the 'ask a question' feature. -### Return type: [help\_Support](../types/help_Support.md) +### Return type: [help.Support](../types/help.Support.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_Support = $MadelineProto->help->getSupport(); +$help.Support = $MadelineProto->help->getSupport(); ``` Or, if you're into Lua: ```lua -help_Support = help.getSupport({}) +help.Support = help.getSupport({}) ``` diff --git a/old_docs/API_docs_v53/methods/help.getTermsOfService.md b/old_docs/API_docs_v53/methods/help.getTermsOfService.md index f6226458..9f9b28f9 100644 --- a/old_docs/API_docs_v53/methods/help.getTermsOfService.md +++ b/old_docs/API_docs_v53/methods/help.getTermsOfService.md @@ -11,7 +11,7 @@ Get terms of service -### Return type: [help\_TermsOfService](../types/help_TermsOfService.md) +### Return type: [help.TermsOfService](../types/help.TermsOfService.md) ### Can bots use this method: **YES** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_TermsOfService = $MadelineProto->help->getTermsOfService(); +$help.TermsOfService = $MadelineProto->help->getTermsOfService(); ``` Or, if you're into Lua: ```lua -help_TermsOfService = help.getTermsOfService({}) +help.TermsOfService = help.getTermsOfService({}) ``` diff --git a/old_docs/API_docs_v53/methods/messages.deleteHistory.md b/old_docs/API_docs_v53/methods/messages.deleteHistory.md index 9ae1bae9..41460415 100644 --- a/old_docs/API_docs_v53/methods/messages.deleteHistory.md +++ b/old_docs/API_docs_v53/methods/messages.deleteHistory.md @@ -18,7 +18,7 @@ Deletes communication history. |max\_id|[int](../types/int.md) | Maximum ID of message to delete | Yes| -### Return type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) +### Return type: [messages.AffectedHistory](../types/messages.AffectedHistory.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedHistory = $MadelineProto->messages->deleteHistory(['just_clear' => Bool, 'peer' => InputPeer, 'max_id' => int, ]); +$messages.AffectedHistory = $MadelineProto->messages->deleteHistory(['just_clear' => Bool, 'peer' => InputPeer, 'max_id' => int, ]); ``` Or, if you're into Lua: ```lua -messages_AffectedHistory = messages.deleteHistory({just_clear=Bool, peer=InputPeer, max_id=int, }) +messages.AffectedHistory = messages.deleteHistory({just_clear=Bool, peer=InputPeer, max_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v53/methods/messages.deleteMessages.md b/old_docs/API_docs_v53/methods/messages.deleteMessages.md index 355b2ff8..cc432cc1 100644 --- a/old_docs/API_docs_v53/methods/messages.deleteMessages.md +++ b/old_docs/API_docs_v53/methods/messages.deleteMessages.md @@ -16,7 +16,7 @@ Deletes messages by their identifiers. |id|Array of [int](../types/int.md) | IDs of messages to delete, use channels->deleteMessages for supergroups | Yes| -### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) +### Return type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedMessages = $MadelineProto->messages->deleteMessages(['id' => [int, int], ]); +$messages.AffectedMessages = $MadelineProto->messages->deleteMessages(['id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AffectedMessages = messages.deleteMessages({id={int}, }) +messages.AffectedMessages = messages.deleteMessages({id={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v53/methods/messages.getAllStickers.md b/old_docs/API_docs_v53/methods/messages.getAllStickers.md index 329b70be..0f0de7f1 100644 --- a/old_docs/API_docs_v53/methods/messages.getAllStickers.md +++ b/old_docs/API_docs_v53/methods/messages.getAllStickers.md @@ -16,7 +16,7 @@ Get all installed stickers |hash|Array of [int](../types/int.md) | The hash parameter of the previous result of this method | Optional| -### Return type: [messages\_AllStickers](../types/messages_AllStickers.md) +### Return type: [messages.AllStickers](../types/messages.AllStickers.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AllStickers = $MadelineProto->messages->getAllStickers(['hash' => [int, int], ]); +$messages.AllStickers = $MadelineProto->messages->getAllStickers(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AllStickers = messages.getAllStickers({hash={int}, }) +messages.AllStickers = messages.getAllStickers({hash={int}, }) ``` diff --git a/old_docs/API_docs_v53/methods/messages.getBotCallbackAnswer.md b/old_docs/API_docs_v53/methods/messages.getBotCallbackAnswer.md index 6884718c..f490ce9a 100644 --- a/old_docs/API_docs_v53/methods/messages.getBotCallbackAnswer.md +++ b/old_docs/API_docs_v53/methods/messages.getBotCallbackAnswer.md @@ -18,7 +18,7 @@ Press an inline callback button and get a callback answer from the bot |data|[bytes](../types/bytes.md) | Callback data | Yes| -### Return type: [messages\_BotCallbackAnswer](../types/messages_BotCallbackAnswer.md) +### Return type: [messages.BotCallbackAnswer](../types/messages.BotCallbackAnswer.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_BotCallbackAnswer = $MadelineProto->messages->getBotCallbackAnswer(['peer' => InputPeer, 'msg_id' => int, 'data' => 'bytes', ]); +$messages.BotCallbackAnswer = $MadelineProto->messages->getBotCallbackAnswer(['peer' => InputPeer, 'msg_id' => int, 'data' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -messages_BotCallbackAnswer = messages.getBotCallbackAnswer({peer=InputPeer, msg_id=int, data='bytes', }) +messages.BotCallbackAnswer = messages.getBotCallbackAnswer({peer=InputPeer, msg_id=int, data='bytes', }) ``` ### Errors diff --git a/old_docs/API_docs_v53/methods/messages.getChats.md b/old_docs/API_docs_v53/methods/messages.getChats.md index c34b0488..146341f5 100644 --- a/old_docs/API_docs_v53/methods/messages.getChats.md +++ b/old_docs/API_docs_v53/methods/messages.getChats.md @@ -16,7 +16,7 @@ Returns chat basic info on their IDs. |id|Array of [int](../types/int.md) | The MTProto IDs of chats to fetch info about | Yes| -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->messages->getChats(['id' => [int, int], ]); +$messages.Chats = $MadelineProto->messages->getChats(['id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Chats = messages.getChats({id={int}, }) +messages.Chats = messages.getChats({id={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v53/methods/messages.getDhConfig.md b/old_docs/API_docs_v53/methods/messages.getDhConfig.md index 88ea4ab3..7b9da566 100644 --- a/old_docs/API_docs_v53/methods/messages.getDhConfig.md +++ b/old_docs/API_docs_v53/methods/messages.getDhConfig.md @@ -17,7 +17,7 @@ You cannot use this method directly, instead use $MadelineProto->getDhConfig(); |random\_length|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->getDhConfig(); | Yes| -### Return type: [messages\_DhConfig](../types/messages_DhConfig.md) +### Return type: [messages.DhConfig](../types/messages.DhConfig.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_DhConfig = $MadelineProto->messages->getDhConfig(['version' => int, 'random_length' => int, ]); +$messages.DhConfig = $MadelineProto->messages->getDhConfig(['version' => int, 'random_length' => int, ]); ``` Or, if you're into Lua: ```lua -messages_DhConfig = messages.getDhConfig({version=int, random_length=int, }) +messages.DhConfig = messages.getDhConfig({version=int, random_length=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v53/methods/messages.getDialogs.md b/old_docs/API_docs_v53/methods/messages.getDialogs.md index f262b574..6e246feb 100644 --- a/old_docs/API_docs_v53/methods/messages.getDialogs.md +++ b/old_docs/API_docs_v53/methods/messages.getDialogs.md @@ -19,7 +19,7 @@ Returns the current user dialog list. |limit|[int](../types/int.md) | Number of list elements to be returned | Yes| -### Return type: [messages\_Dialogs](../types/messages_Dialogs.md) +### Return type: [messages.Dialogs](../types/messages.Dialogs.md) ### Can bots use this method: **NO** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Dialogs = $MadelineProto->messages->getDialogs(['offset_date' => int, 'offset_id' => int, 'offset_peer' => InputPeer, 'limit' => int, ]); +$messages.Dialogs = $MadelineProto->messages->getDialogs(['offset_date' => int, 'offset_id' => int, 'offset_peer' => InputPeer, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Dialogs = messages.getDialogs({offset_date=int, offset_id=int, offset_peer=InputPeer, limit=int, }) +messages.Dialogs = messages.getDialogs({offset_date=int, offset_id=int, offset_peer=InputPeer, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v53/methods/messages.getFullChat.md b/old_docs/API_docs_v53/methods/messages.getFullChat.md index abf23e21..de543651 100644 --- a/old_docs/API_docs_v53/methods/messages.getFullChat.md +++ b/old_docs/API_docs_v53/methods/messages.getFullChat.md @@ -16,7 +16,7 @@ You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo me |chat\_id|[Username, chat ID, Update, Message or InputPeer](../types/InputPeer.md) | You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo methods instead (see https://docs.madelineproto.xyz for more info) | Optional| -### Return type: [messages\_ChatFull](../types/messages_ChatFull.md) +### Return type: [messages.ChatFull](../types/messages.ChatFull.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_ChatFull = $MadelineProto->messages->getFullChat(['chat_id' => InputPeer, ]); +$messages.ChatFull = $MadelineProto->messages->getFullChat(['chat_id' => InputPeer, ]); ``` Or, if you're into Lua: ```lua -messages_ChatFull = messages.getFullChat({chat_id=InputPeer, }) +messages.ChatFull = messages.getFullChat({chat_id=InputPeer, }) ``` ### Errors diff --git a/old_docs/API_docs_v53/methods/messages.getHistory.md b/old_docs/API_docs_v53/methods/messages.getHistory.md index 636183d2..8e012da1 100644 --- a/old_docs/API_docs_v53/methods/messages.getHistory.md +++ b/old_docs/API_docs_v53/methods/messages.getHistory.md @@ -22,7 +22,7 @@ Gets back the conversation history with one interlocutor / within a chat |min\_id|[int](../types/int.md) | If a positive value was transferred, the method will return only messages with IDs more than **min\_id** | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **NO** @@ -39,13 +39,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->getHistory(['peer' => InputPeer, 'offset_id' => int, 'offset_date' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); +$messages.Messages = $MadelineProto->messages->getHistory(['peer' => InputPeer, 'offset_id' => int, 'offset_date' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.getHistory({peer=InputPeer, offset_id=int, offset_date=int, add_offset=int, limit=int, max_id=int, min_id=int, }) +messages.Messages = messages.getHistory({peer=InputPeer, offset_id=int, offset_date=int, add_offset=int, limit=int, max_id=int, min_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v53/methods/messages.getInlineBotResults.md b/old_docs/API_docs_v53/methods/messages.getInlineBotResults.md index ac251797..8a397236 100644 --- a/old_docs/API_docs_v53/methods/messages.getInlineBotResults.md +++ b/old_docs/API_docs_v53/methods/messages.getInlineBotResults.md @@ -20,7 +20,7 @@ Query an inline bot |offset|[string](../types/string.md) | The offset within the results, will be passed directly as-is to the bot. | Yes| -### Return type: [messages\_BotResults](../types/messages_BotResults.md) +### Return type: [messages.BotResults](../types/messages.BotResults.md) ### Can bots use this method: **NO** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_BotResults = $MadelineProto->messages->getInlineBotResults(['bot' => InputUser, 'peer' => InputPeer, 'geo_point' => InputGeoPoint, 'query' => 'string', 'offset' => 'string', ]); +$messages.BotResults = $MadelineProto->messages->getInlineBotResults(['bot' => InputUser, 'peer' => InputPeer, 'geo_point' => InputGeoPoint, 'query' => 'string', 'offset' => 'string', ]); ``` Or, if you're into Lua: ```lua -messages_BotResults = messages.getInlineBotResults({bot=InputUser, peer=InputPeer, geo_point=InputGeoPoint, query='string', offset='string', }) +messages.BotResults = messages.getInlineBotResults({bot=InputUser, peer=InputPeer, geo_point=InputGeoPoint, query='string', offset='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v53/methods/messages.getMessageEditData.md b/old_docs/API_docs_v53/methods/messages.getMessageEditData.md index 1a083f08..7fd32e82 100644 --- a/old_docs/API_docs_v53/methods/messages.getMessageEditData.md +++ b/old_docs/API_docs_v53/methods/messages.getMessageEditData.md @@ -17,7 +17,7 @@ Find out if a media message's caption can be edited |id|[int](../types/int.md) | ID of message | Yes| -### Return type: [messages\_MessageEditData](../types/messages_MessageEditData.md) +### Return type: [messages.MessageEditData](../types/messages.MessageEditData.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_MessageEditData = $MadelineProto->messages->getMessageEditData(['peer' => InputPeer, 'id' => int, ]); +$messages.MessageEditData = $MadelineProto->messages->getMessageEditData(['peer' => InputPeer, 'id' => int, ]); ``` Or, if you're into Lua: ```lua -messages_MessageEditData = messages.getMessageEditData({peer=InputPeer, id=int, }) +messages.MessageEditData = messages.getMessageEditData({peer=InputPeer, id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v53/methods/messages.getMessages.md b/old_docs/API_docs_v53/methods/messages.getMessages.md index a3139513..c7760d7e 100644 --- a/old_docs/API_docs_v53/methods/messages.getMessages.md +++ b/old_docs/API_docs_v53/methods/messages.getMessages.md @@ -16,7 +16,7 @@ Returns the list of messages by their IDs. |id|Array of [int](../types/int.md) | The IDs of messages to fetch (only for users and normal groups) | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **YES** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->getMessages(['id' => [int, int], ]); +$messages.Messages = $MadelineProto->messages->getMessages(['id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.getMessages({id={int}, }) +messages.Messages = messages.getMessages({id={int}, }) ``` diff --git a/old_docs/API_docs_v53/methods/messages.getPeerDialogs.md b/old_docs/API_docs_v53/methods/messages.getPeerDialogs.md index a2c2714b..79bd7fa3 100644 --- a/old_docs/API_docs_v53/methods/messages.getPeerDialogs.md +++ b/old_docs/API_docs_v53/methods/messages.getPeerDialogs.md @@ -16,7 +16,7 @@ Get dialog info of specified peers |peers|Array of [Username, chat ID, Update, Message or InputPeer](../types/InputPeer.md) | The peers | Yes| -### Return type: [messages\_PeerDialogs](../types/messages_PeerDialogs.md) +### Return type: [messages.PeerDialogs](../types/messages.PeerDialogs.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_PeerDialogs = $MadelineProto->messages->getPeerDialogs(['peers' => [InputPeer, InputPeer], ]); +$messages.PeerDialogs = $MadelineProto->messages->getPeerDialogs(['peers' => [InputPeer, InputPeer], ]); ``` Or, if you're into Lua: ```lua -messages_PeerDialogs = messages.getPeerDialogs({peers={InputPeer}, }) +messages.PeerDialogs = messages.getPeerDialogs({peers={InputPeer}, }) ``` ### Errors diff --git a/old_docs/API_docs_v53/methods/messages.getSavedGifs.md b/old_docs/API_docs_v53/methods/messages.getSavedGifs.md index 1df7f37c..8b31f7b8 100644 --- a/old_docs/API_docs_v53/methods/messages.getSavedGifs.md +++ b/old_docs/API_docs_v53/methods/messages.getSavedGifs.md @@ -16,7 +16,7 @@ Get saved GIFs |hash|Array of [int](../types/int.md) | the hash parameter of the previous result of this method | Optional| -### Return type: [messages\_SavedGifs](../types/messages_SavedGifs.md) +### Return type: [messages.SavedGifs](../types/messages.SavedGifs.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_SavedGifs = $MadelineProto->messages->getSavedGifs(['hash' => [int, int], ]); +$messages.SavedGifs = $MadelineProto->messages->getSavedGifs(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_SavedGifs = messages.getSavedGifs({hash={int}, }) +messages.SavedGifs = messages.getSavedGifs({hash={int}, }) ``` diff --git a/old_docs/API_docs_v53/methods/messages.getStickerSet.md b/old_docs/API_docs_v53/methods/messages.getStickerSet.md index 45fca60f..f11887ee 100644 --- a/old_docs/API_docs_v53/methods/messages.getStickerSet.md +++ b/old_docs/API_docs_v53/methods/messages.getStickerSet.md @@ -16,7 +16,7 @@ Get info about a stickerset |stickerset|[InputStickerSet](../types/InputStickerSet.md) | Stickerset | Optional| -### Return type: [messages\_StickerSet](../types/messages_StickerSet.md) +### Return type: [messages.StickerSet](../types/messages.StickerSet.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StickerSet = $MadelineProto->messages->getStickerSet(['stickerset' => InputStickerSet, ]); +$messages.StickerSet = $MadelineProto->messages->getStickerSet(['stickerset' => InputStickerSet, ]); ``` Or, if you're into Lua: ```lua -messages_StickerSet = messages.getStickerSet({stickerset=InputStickerSet, }) +messages.StickerSet = messages.getStickerSet({stickerset=InputStickerSet, }) ``` ### Errors diff --git a/old_docs/API_docs_v53/methods/messages.getStickers.md b/old_docs/API_docs_v53/methods/messages.getStickers.md index aa149fc3..6fab91a5 100644 --- a/old_docs/API_docs_v53/methods/messages.getStickers.md +++ b/old_docs/API_docs_v53/methods/messages.getStickers.md @@ -17,7 +17,7 @@ Get stickers by emoji |hash|[string](../types/string.md) | Previously fetched sticker IDs | Yes| -### Return type: [messages\_Stickers](../types/messages_Stickers.md) +### Return type: [messages.Stickers](../types/messages.Stickers.md) ### Can bots use this method: **NO** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Stickers = $MadelineProto->messages->getStickers(['emoticon' => 'string', 'hash' => 'string', ]); +$messages.Stickers = $MadelineProto->messages->getStickers(['emoticon' => 'string', 'hash' => 'string', ]); ``` Or, if you're into Lua: ```lua -messages_Stickers = messages.getStickers({emoticon='string', hash='string', }) +messages.Stickers = messages.getStickers({emoticon='string', hash='string', }) ``` diff --git a/old_docs/API_docs_v53/methods/messages.readHistory.md b/old_docs/API_docs_v53/methods/messages.readHistory.md index 39753375..52030c68 100644 --- a/old_docs/API_docs_v53/methods/messages.readHistory.md +++ b/old_docs/API_docs_v53/methods/messages.readHistory.md @@ -17,7 +17,7 @@ Marks message history as read. |max\_id|[int](../types/int.md) | If a positive value is passed, only messages with identifiers less or equal than the given one will be read | Yes| -### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) +### Return type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedMessages = $MadelineProto->messages->readHistory(['peer' => InputPeer, 'max_id' => int, ]); +$messages.AffectedMessages = $MadelineProto->messages->readHistory(['peer' => InputPeer, 'max_id' => int, ]); ``` Or, if you're into Lua: ```lua -messages_AffectedMessages = messages.readHistory({peer=InputPeer, max_id=int, }) +messages.AffectedMessages = messages.readHistory({peer=InputPeer, max_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v53/methods/messages.readMessageContents.md b/old_docs/API_docs_v53/methods/messages.readMessageContents.md index c479cafe..9798e661 100644 --- a/old_docs/API_docs_v53/methods/messages.readMessageContents.md +++ b/old_docs/API_docs_v53/methods/messages.readMessageContents.md @@ -16,7 +16,7 @@ Notifies the sender about the recipient having listened a voice message or watch |id|Array of [int](../types/int.md) | The messages to mark as read (only users and normal chats, not supergroups) | Yes| -### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) +### Return type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedMessages = $MadelineProto->messages->readMessageContents(['id' => [int, int], ]); +$messages.AffectedMessages = $MadelineProto->messages->readMessageContents(['id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AffectedMessages = messages.readMessageContents({id={int}, }) +messages.AffectedMessages = messages.readMessageContents({id={int}, }) ``` diff --git a/old_docs/API_docs_v53/methods/messages.search.md b/old_docs/API_docs_v53/methods/messages.search.md index 4fda6636..7ebe6a9a 100644 --- a/old_docs/API_docs_v53/methods/messages.search.md +++ b/old_docs/API_docs_v53/methods/messages.search.md @@ -23,7 +23,7 @@ Gets back found messages |limit|[int](../types/int.md) | [Number of results to return](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **NO** @@ -40,13 +40,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->search(['peer' => InputPeer, 'q' => 'string', 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); +$messages.Messages = $MadelineProto->messages->search(['peer' => InputPeer, 'q' => 'string', 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.search({peer=InputPeer, q='string', filter=MessagesFilter, min_date=int, max_date=int, offset=int, max_id=int, limit=int, }) +messages.Messages = messages.search({peer=InputPeer, q='string', filter=MessagesFilter, min_date=int, max_date=int, offset=int, max_id=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v53/methods/messages.searchGifs.md b/old_docs/API_docs_v53/methods/messages.searchGifs.md index 851371d7..193a0cd4 100644 --- a/old_docs/API_docs_v53/methods/messages.searchGifs.md +++ b/old_docs/API_docs_v53/methods/messages.searchGifs.md @@ -17,7 +17,7 @@ Search for GIFs |offset|[int](../types/int.md) | Offset for [pagination »](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_FoundGifs](../types/messages_FoundGifs.md) +### Return type: [messages.FoundGifs](../types/messages.FoundGifs.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_FoundGifs = $MadelineProto->messages->searchGifs(['q' => 'string', 'offset' => int, ]); +$messages.FoundGifs = $MadelineProto->messages->searchGifs(['q' => 'string', 'offset' => int, ]); ``` Or, if you're into Lua: ```lua -messages_FoundGifs = messages.searchGifs({q='string', offset=int, }) +messages.FoundGifs = messages.searchGifs({q='string', offset=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v53/methods/messages.searchGlobal.md b/old_docs/API_docs_v53/methods/messages.searchGlobal.md index 4bd59f25..1a3b736d 100644 --- a/old_docs/API_docs_v53/methods/messages.searchGlobal.md +++ b/old_docs/API_docs_v53/methods/messages.searchGlobal.md @@ -20,7 +20,7 @@ Search for messages and peers globally |limit|[int](../types/int.md) | [Offsets for pagination, for more info click here](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **NO** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->searchGlobal(['q' => 'string', 'offset_date' => int, 'offset_peer' => InputPeer, 'offset_id' => int, 'limit' => int, ]); +$messages.Messages = $MadelineProto->messages->searchGlobal(['q' => 'string', 'offset_date' => int, 'offset_peer' => InputPeer, 'offset_id' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.searchGlobal({q='string', offset_date=int, offset_peer=InputPeer, offset_id=int, limit=int, }) +messages.Messages = messages.searchGlobal({q='string', offset_date=int, offset_peer=InputPeer, offset_id=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v53/methods/messages.sendEncrypted.md b/old_docs/API_docs_v53/methods/messages.sendEncrypted.md index 47b5ef29..6a68b563 100644 --- a/old_docs/API_docs_v53/methods/messages.sendEncrypted.md +++ b/old_docs/API_docs_v53/methods/messages.sendEncrypted.md @@ -14,10 +14,10 @@ Sends a text message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|message|[DecryptedMessage](../types/DecryptedMessage.md) | The message to send | Yes| +|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key that was created during chat initialization | Yes| -### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ### Can bots use this method: **NO** @@ -34,21 +34,15 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncrypted(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); +$messages.SentEncryptedMessage = $MadelineProto->messages->sendEncrypted(['peer' => InputEncryptedChat, 'data' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -messages_SentEncryptedMessage = messages.sendEncrypted({peer=InputEncryptedChat, message=DecryptedMessage, }) +messages.SentEncryptedMessage = messages.sendEncrypted({peer=InputEncryptedChat, data='bytes', }) ``` - -## Return value - -If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) will be returned instead. - - ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v53/methods/messages.sendEncryptedFile.md b/old_docs/API_docs_v53/methods/messages.sendEncryptedFile.md index 4e0f7b7f..87185ba4 100644 --- a/old_docs/API_docs_v53/methods/messages.sendEncryptedFile.md +++ b/old_docs/API_docs_v53/methods/messages.sendEncryptedFile.md @@ -14,11 +14,11 @@ Sends a message with a file attachment to a secret chat | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|message|[DecryptedMessage](../types/DecryptedMessage.md) | The message with the file | Yes| +|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| |file|[File path or InputEncryptedFile](../types/InputEncryptedFile.md) | File attachment for the secret chat | Optional| -### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ### Can bots use this method: **NO** @@ -35,21 +35,15 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedFile(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, 'file' => InputEncryptedFile, ]); +$messages.SentEncryptedMessage = $MadelineProto->messages->sendEncryptedFile(['peer' => InputEncryptedChat, 'data' => 'bytes', 'file' => InputEncryptedFile, ]); ``` Or, if you're into Lua: ```lua -messages_SentEncryptedMessage = messages.sendEncryptedFile({peer=InputEncryptedChat, message=DecryptedMessage, file=InputEncryptedFile, }) +messages.SentEncryptedMessage = messages.sendEncryptedFile({peer=InputEncryptedChat, data='bytes', file=InputEncryptedFile, }) ``` - -## Return value - -If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) will be returned instead. - - ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v53/methods/messages.sendEncryptedService.md b/old_docs/API_docs_v53/methods/messages.sendEncryptedService.md index 86925ae3..38171272 100644 --- a/old_docs/API_docs_v53/methods/messages.sendEncryptedService.md +++ b/old_docs/API_docs_v53/methods/messages.sendEncryptedService.md @@ -14,10 +14,10 @@ Sends a service message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|message|[DecryptedMessage](../types/DecryptedMessage.md) | The service message | Yes| +|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| -### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ### Can bots use this method: **NO** @@ -34,21 +34,15 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedService(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); +$messages.SentEncryptedMessage = $MadelineProto->messages->sendEncryptedService(['peer' => InputEncryptedChat, 'data' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -messages_SentEncryptedMessage = messages.sendEncryptedService({peer=InputEncryptedChat, message=DecryptedMessage, }) +messages.SentEncryptedMessage = messages.sendEncryptedService({peer=InputEncryptedChat, data='bytes', }) ``` - -## Return value - -If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) will be returned instead. - - ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v53/methods/photos.getUserPhotos.md b/old_docs/API_docs_v53/methods/photos.getUserPhotos.md index a1dec2ed..1f8d5c64 100644 --- a/old_docs/API_docs_v53/methods/photos.getUserPhotos.md +++ b/old_docs/API_docs_v53/methods/photos.getUserPhotos.md @@ -19,7 +19,7 @@ Returns the list of user photos. |limit|[int](../types/int.md) | Number of list elements to be returned | Yes| -### Return type: [photos\_Photos](../types/photos_Photos.md) +### Return type: [photos.Photos](../types/photos.Photos.md) ### Can bots use this method: **YES** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$photos_Photos = $MadelineProto->photos->getUserPhotos(['user_id' => InputUser, 'offset' => int, 'max_id' => long, 'limit' => int, ]); +$photos.Photos = $MadelineProto->photos->getUserPhotos(['user_id' => InputUser, 'offset' => int, 'max_id' => long, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -photos_Photos = photos.getUserPhotos({user_id=InputUser, offset=int, max_id=long, limit=int, }) +photos.Photos = photos.getUserPhotos({user_id=InputUser, offset=int, max_id=long, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v53/methods/photos.uploadProfilePhoto.md b/old_docs/API_docs_v53/methods/photos.uploadProfilePhoto.md index 337dcc21..18b2b4c6 100644 --- a/old_docs/API_docs_v53/methods/photos.uploadProfilePhoto.md +++ b/old_docs/API_docs_v53/methods/photos.uploadProfilePhoto.md @@ -19,7 +19,7 @@ Updates current user profile photo. |crop|[InputPhotoCrop](../types/InputPhotoCrop.md) | Cropping info | Yes| -### Return type: [photos\_Photo](../types/photos_Photo.md) +### Return type: [photos.Photo](../types/photos.Photo.md) ### Can bots use this method: **NO** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$photos_Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, 'caption' => 'string', 'geo_point' => InputGeoPoint, 'crop' => InputPhotoCrop, ]); +$photos.Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, 'caption' => 'string', 'geo_point' => InputGeoPoint, 'crop' => InputPhotoCrop, ]); ``` Or, if you're into Lua: ```lua -photos_Photo = photos.uploadProfilePhoto({file=InputFile, caption='string', geo_point=InputGeoPoint, crop=InputPhotoCrop, }) +photos.Photo = photos.uploadProfilePhoto({file=InputFile, caption='string', geo_point=InputGeoPoint, crop=InputPhotoCrop, }) ``` ### Errors diff --git a/old_docs/API_docs_v53/methods/updates.getChannelDifference.md b/old_docs/API_docs_v53/methods/updates.getChannelDifference.md index 77a45636..79adf4b1 100644 --- a/old_docs/API_docs_v53/methods/updates.getChannelDifference.md +++ b/old_docs/API_docs_v53/methods/updates.getChannelDifference.md @@ -19,7 +19,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz for more |limit|[int](../types/int.md) | You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates | Yes| -### Return type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) +### Return type: [updates.ChannelDifference](../types/updates.ChannelDifference.md) ### Can bots use this method: **YES** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$updates_ChannelDifference = $MadelineProto->updates->getChannelDifference(['channel' => InputChannel, 'filter' => ChannelMessagesFilter, 'pts' => int, 'limit' => int, ]); +$updates.ChannelDifference = $MadelineProto->updates->getChannelDifference(['channel' => InputChannel, 'filter' => ChannelMessagesFilter, 'pts' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -updates_ChannelDifference = updates.getChannelDifference({channel=InputChannel, filter=ChannelMessagesFilter, pts=int, limit=int, }) +updates.ChannelDifference = updates.getChannelDifference({channel=InputChannel, filter=ChannelMessagesFilter, pts=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v53/methods/updates.getDifference.md b/old_docs/API_docs_v53/methods/updates.getDifference.md index 57ea6d99..061a5c8f 100644 --- a/old_docs/API_docs_v53/methods/updates.getDifference.md +++ b/old_docs/API_docs_v53/methods/updates.getDifference.md @@ -18,7 +18,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz for more |qts|[int](../types/int.md) | You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates | Yes| -### Return type: [updates\_Difference](../types/updates_Difference.md) +### Return type: [updates.Difference](../types/updates.Difference.md) ### Can bots use this method: **YES** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$updates_Difference = $MadelineProto->updates->getDifference(['pts' => int, 'date' => int, 'qts' => int, ]); +$updates.Difference = $MadelineProto->updates->getDifference(['pts' => int, 'date' => int, 'qts' => int, ]); ``` Or, if you're into Lua: ```lua -updates_Difference = updates.getDifference({pts=int, date=int, qts=int, }) +updates.Difference = updates.getDifference({pts=int, date=int, qts=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v53/methods/updates.getState.md b/old_docs/API_docs_v53/methods/updates.getState.md index c591408a..9a7d2f34 100644 --- a/old_docs/API_docs_v53/methods/updates.getState.md +++ b/old_docs/API_docs_v53/methods/updates.getState.md @@ -11,7 +11,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz for more -### Return type: [updates\_State](../types/updates_State.md) +### Return type: [updates.State](../types/updates.State.md) ### Can bots use this method: **YES** @@ -28,13 +28,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$updates_State = $MadelineProto->updates->getState(); +$updates.State = $MadelineProto->updates->getState(); ``` Or, if you're into Lua: ```lua -updates_State = updates.getState({}) +updates.State = updates.getState({}) ``` ### Errors diff --git a/old_docs/API_docs_v53/methods/upload.getFile.md b/old_docs/API_docs_v53/methods/upload.getFile.md index 8aba03d4..ab9f4fe2 100644 --- a/old_docs/API_docs_v53/methods/upload.getFile.md +++ b/old_docs/API_docs_v53/methods/upload.getFile.md @@ -18,7 +18,7 @@ You cannot use this method directly, use the upload, downloadToStream, downloadT |limit|[int](../types/int.md) | You cannot use this method directly, use the upload, downloadToStream, downloadToFile, downloadToDir methods instead; see https://docs.madelineproto.xyz for more info | Yes| -### Return type: [upload\_File](../types/upload_File.md) +### Return type: [upload.File](../types/upload.File.md) ### Can bots use this method: **YES** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$upload_File = $MadelineProto->upload->getFile(['location' => InputFileLocation, 'offset' => int, 'limit' => int, ]); +$upload.File = $MadelineProto->upload->getFile(['location' => InputFileLocation, 'offset' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -upload_File = upload.getFile({location=InputFileLocation, offset=int, limit=int, }) +upload.File = upload.getFile({location=InputFileLocation, offset=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v53/types/AccountDaysTTL.md b/old_docs/API_docs_v53/types/AccountDaysTTL.md index 12a10190..f3494aac 100644 --- a/old_docs/API_docs_v53/types/AccountDaysTTL.md +++ b/old_docs/API_docs_v53/types/AccountDaysTTL.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->account->getAccountTTL](../methods/account_getAccountTTL.md) +[$MadelineProto->account->getAccountTTL](../methods/account.getAccountTTL.md) diff --git a/old_docs/API_docs_v53/types/ChatInvite.md b/old_docs/API_docs_v53/types/ChatInvite.md index 5022a2f0..9fafabb4 100644 --- a/old_docs/API_docs_v53/types/ChatInvite.md +++ b/old_docs/API_docs_v53/types/ChatInvite.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->checkChatInvite](../methods/messages_checkChatInvite.md) +[$MadelineProto->messages->checkChatInvite](../methods/messages.checkChatInvite.md) diff --git a/old_docs/API_docs_v53/types/Config.md b/old_docs/API_docs_v53/types/Config.md index 0f7fbe70..3a23b7b7 100644 --- a/old_docs/API_docs_v53/types/Config.md +++ b/old_docs/API_docs_v53/types/Config.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->help->getConfig](../methods/help_getConfig.md) +[$MadelineProto->help->getConfig](../methods/help.getConfig.md) diff --git a/old_docs/API_docs_v53/types/ContactStatus.md b/old_docs/API_docs_v53/types/ContactStatus.md index c5f5d658..30aee6e2 100644 --- a/old_docs/API_docs_v53/types/ContactStatus.md +++ b/old_docs/API_docs_v53/types/ContactStatus.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->contacts->getStatuses](../methods/contacts_getStatuses.md) +[$MadelineProto->contacts->getStatuses](../methods/contacts.getStatuses.md) diff --git a/old_docs/API_docs_v53/types/Document.md b/old_docs/API_docs_v53/types/Document.md index f68b7aa4..2cb85623 100644 --- a/old_docs/API_docs_v53/types/Document.md +++ b/old_docs/API_docs_v53/types/Document.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getDocumentByHash](../methods/messages_getDocumentByHash.md) +[$MadelineProto->messages->getDocumentByHash](../methods/messages.getDocumentByHash.md) diff --git a/old_docs/API_docs_v53/types/EncryptedChat.md b/old_docs/API_docs_v53/types/EncryptedChat.md index fd2277f6..19cf52b0 100644 --- a/old_docs/API_docs_v53/types/EncryptedChat.md +++ b/old_docs/API_docs_v53/types/EncryptedChat.md @@ -24,9 +24,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->requestEncryption](../methods/messages_requestEncryption.md) +[$MadelineProto->messages->requestEncryption](../methods/messages.requestEncryption.md) -[$MadelineProto->messages->acceptEncryption](../methods/messages_acceptEncryption.md) +[$MadelineProto->messages->acceptEncryption](../methods/messages.acceptEncryption.md) diff --git a/old_docs/API_docs_v53/types/ExportedChatInvite.md b/old_docs/API_docs_v53/types/ExportedChatInvite.md index 4213a78f..53ce5f59 100644 --- a/old_docs/API_docs_v53/types/ExportedChatInvite.md +++ b/old_docs/API_docs_v53/types/ExportedChatInvite.md @@ -18,9 +18,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->exportChatInvite](../methods/messages_exportChatInvite.md) +[$MadelineProto->messages->exportChatInvite](../methods/messages.exportChatInvite.md) -[$MadelineProto->channels->exportInvite](../methods/channels_exportInvite.md) +[$MadelineProto->channels->exportInvite](../methods/channels.exportInvite.md) diff --git a/old_docs/API_docs_v53/types/ExportedMessageLink.md b/old_docs/API_docs_v53/types/ExportedMessageLink.md index eb2400f6..948e9c90 100644 --- a/old_docs/API_docs_v53/types/ExportedMessageLink.md +++ b/old_docs/API_docs_v53/types/ExportedMessageLink.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->channels->exportMessageLink](../methods/channels_exportMessageLink.md) +[$MadelineProto->channels->exportMessageLink](../methods/channels.exportMessageLink.md) diff --git a/old_docs/API_docs_v53/types/MessageMedia.md b/old_docs/API_docs_v53/types/MessageMedia.md index 288d00e1..872ff1ba 100644 --- a/old_docs/API_docs_v53/types/MessageMedia.md +++ b/old_docs/API_docs_v53/types/MessageMedia.md @@ -30,7 +30,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getWebPagePreview](../methods/messages_getWebPagePreview.md) +[$MadelineProto->messages->getWebPagePreview](../methods/messages.getWebPagePreview.md) diff --git a/old_docs/API_docs_v53/types/NearestDc.md b/old_docs/API_docs_v53/types/NearestDc.md index 31f24377..296a4dff 100644 --- a/old_docs/API_docs_v53/types/NearestDc.md +++ b/old_docs/API_docs_v53/types/NearestDc.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->help->getNearestDc](../methods/help_getNearestDc.md) +[$MadelineProto->help->getNearestDc](../methods/help.getNearestDc.md) diff --git a/old_docs/API_docs_v53/types/PeerNotifySettings.md b/old_docs/API_docs_v53/types/PeerNotifySettings.md index 769de075..3d72b7c5 100644 --- a/old_docs/API_docs_v53/types/PeerNotifySettings.md +++ b/old_docs/API_docs_v53/types/PeerNotifySettings.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->account->getNotifySettings](../methods/account_getNotifySettings.md) +[$MadelineProto->account->getNotifySettings](../methods/account.getNotifySettings.md) diff --git a/old_docs/API_docs_v53/types/PeerSettings.md b/old_docs/API_docs_v53/types/PeerSettings.md index 60ac3765..31ef7e38 100644 --- a/old_docs/API_docs_v53/types/PeerSettings.md +++ b/old_docs/API_docs_v53/types/PeerSettings.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getPeerSettings](../methods/messages_getPeerSettings.md) +[$MadelineProto->messages->getPeerSettings](../methods/messages.getPeerSettings.md) diff --git a/old_docs/API_docs_v53/types/README.md b/old_docs/API_docs_v53/types/README.md index b61b5115..41865030 100644 --- a/old_docs/API_docs_v53/types/README.md +++ b/old_docs/API_docs_v53/types/README.md @@ -213,107 +213,107 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png [X](X.md) -[account\_Authorizations](account_Authorizations.md) +[account.Authorizations](account.Authorizations.md) -[account\_Password](account_Password.md) +[account.Password](account.Password.md) -[account\_PasswordInputSettings](account_PasswordInputSettings.md) +[account.PasswordInputSettings](account.PasswordInputSettings.md) -[account\_PasswordSettings](account_PasswordSettings.md) +[account.PasswordSettings](account.PasswordSettings.md) -[account\_PrivacyRules](account_PrivacyRules.md) +[account.PrivacyRules](account.PrivacyRules.md) -[auth\_Authorization](auth_Authorization.md) +[auth.Authorization](auth.Authorization.md) -[auth\_CheckedPhone](auth_CheckedPhone.md) +[auth.CheckedPhone](auth.CheckedPhone.md) -[auth\_CodeType](auth_CodeType.md) +[auth.CodeType](auth.CodeType.md) -[auth\_ExportedAuthorization](auth_ExportedAuthorization.md) +[auth.ExportedAuthorization](auth.ExportedAuthorization.md) -[auth\_PasswordRecovery](auth_PasswordRecovery.md) +[auth.PasswordRecovery](auth.PasswordRecovery.md) -[auth\_SentCode](auth_SentCode.md) +[auth.SentCode](auth.SentCode.md) -[auth\_SentCodeType](auth_SentCodeType.md) +[auth.SentCodeType](auth.SentCodeType.md) -[channels\_ChannelParticipant](channels_ChannelParticipant.md) +[channels.ChannelParticipant](channels.ChannelParticipant.md) -[channels\_ChannelParticipants](channels_ChannelParticipants.md) +[channels.ChannelParticipants](channels.ChannelParticipants.md) -[contacts\_Blocked](contacts_Blocked.md) +[contacts.Blocked](contacts.Blocked.md) -[contacts\_Contacts](contacts_Contacts.md) +[contacts.Contacts](contacts.Contacts.md) -[contacts\_Found](contacts_Found.md) +[contacts.Found](contacts.Found.md) -[contacts\_ImportedContacts](contacts_ImportedContacts.md) +[contacts.ImportedContacts](contacts.ImportedContacts.md) -[contacts\_Link](contacts_Link.md) +[contacts.Link](contacts.Link.md) -[contacts\_ResolvedPeer](contacts_ResolvedPeer.md) +[contacts.ResolvedPeer](contacts.ResolvedPeer.md) -[contacts\_TopPeers](contacts_TopPeers.md) +[contacts.TopPeers](contacts.TopPeers.md) -[help\_AppChangelog](help_AppChangelog.md) +[help.AppChangelog](help.AppChangelog.md) -[help\_AppUpdate](help_AppUpdate.md) +[help.AppUpdate](help.AppUpdate.md) -[help\_InviteText](help_InviteText.md) +[help.InviteText](help.InviteText.md) -[help\_Support](help_Support.md) +[help.Support](help.Support.md) -[help\_TermsOfService](help_TermsOfService.md) +[help.TermsOfService](help.TermsOfService.md) [int](int.md) [long](long.md) -[messages\_AffectedHistory](messages_AffectedHistory.md) +[messages.AffectedHistory](messages.AffectedHistory.md) -[messages\_AffectedMessages](messages_AffectedMessages.md) +[messages.AffectedMessages](messages.AffectedMessages.md) -[messages\_AllStickers](messages_AllStickers.md) +[messages.AllStickers](messages.AllStickers.md) -[messages\_BotCallbackAnswer](messages_BotCallbackAnswer.md) +[messages.BotCallbackAnswer](messages.BotCallbackAnswer.md) -[messages\_BotResults](messages_BotResults.md) +[messages.BotResults](messages.BotResults.md) -[messages\_ChatFull](messages_ChatFull.md) +[messages.ChatFull](messages.ChatFull.md) -[messages\_Chats](messages_Chats.md) +[messages.Chats](messages.Chats.md) -[messages\_DhConfig](messages_DhConfig.md) +[messages.DhConfig](messages.DhConfig.md) -[messages\_Dialogs](messages_Dialogs.md) +[messages.Dialogs](messages.Dialogs.md) -[messages\_FoundGifs](messages_FoundGifs.md) +[messages.FoundGifs](messages.FoundGifs.md) -[messages\_MessageEditData](messages_MessageEditData.md) +[messages.MessageEditData](messages.MessageEditData.md) -[messages\_Messages](messages_Messages.md) +[messages.Messages](messages.Messages.md) -[messages\_PeerDialogs](messages_PeerDialogs.md) +[messages.PeerDialogs](messages.PeerDialogs.md) -[messages\_SavedGifs](messages_SavedGifs.md) +[messages.SavedGifs](messages.SavedGifs.md) -[messages\_SentEncryptedMessage](messages_SentEncryptedMessage.md) +[messages.SentEncryptedMessage](messages.SentEncryptedMessage.md) -[messages\_StickerSet](messages_StickerSet.md) +[messages.StickerSet](messages.StickerSet.md) -[messages\_Stickers](messages_Stickers.md) +[messages.Stickers](messages.Stickers.md) -[photos\_Photo](photos_Photo.md) +[photos.Photo](photos.Photo.md) -[photos\_Photos](photos_Photos.md) +[photos.Photos](photos.Photos.md) -[storage\_FileType](storage_FileType.md) +[storage.FileType](storage.FileType.md) -[updates\_ChannelDifference](updates_ChannelDifference.md) +[updates.ChannelDifference](updates.ChannelDifference.md) -[updates\_Difference](updates_Difference.md) +[updates.Difference](updates.Difference.md) -[updates\_State](updates_State.md) +[updates.State](updates.State.md) -[upload\_File](upload_File.md) +[upload.File](upload.File.md) diff --git a/old_docs/API_docs_v53/types/ReceivedNotifyMessage.md b/old_docs/API_docs_v53/types/ReceivedNotifyMessage.md index c7fc3b8c..416aa275 100644 --- a/old_docs/API_docs_v53/types/ReceivedNotifyMessage.md +++ b/old_docs/API_docs_v53/types/ReceivedNotifyMessage.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->receivedMessages](../methods/messages_receivedMessages.md) +[$MadelineProto->messages->receivedMessages](../methods/messages.receivedMessages.md) diff --git a/old_docs/API_docs_v53/types/Updates.md b/old_docs/API_docs_v53/types/Updates.md index 4b2cd4d0..01eccdbf 100644 --- a/old_docs/API_docs_v53/types/Updates.md +++ b/old_docs/API_docs_v53/types/Updates.md @@ -28,63 +28,63 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->sendMessage](../methods/messages_sendMessage.md) +[$MadelineProto->messages->sendMessage](../methods/messages.sendMessage.md) -[$MadelineProto->messages->sendMedia](../methods/messages_sendMedia.md) +[$MadelineProto->messages->sendMedia](../methods/messages.sendMedia.md) -[$MadelineProto->messages->forwardMessages](../methods/messages_forwardMessages.md) +[$MadelineProto->messages->forwardMessages](../methods/messages.forwardMessages.md) -[$MadelineProto->messages->editChatTitle](../methods/messages_editChatTitle.md) +[$MadelineProto->messages->editChatTitle](../methods/messages.editChatTitle.md) -[$MadelineProto->messages->editChatPhoto](../methods/messages_editChatPhoto.md) +[$MadelineProto->messages->editChatPhoto](../methods/messages.editChatPhoto.md) -[$MadelineProto->messages->addChatUser](../methods/messages_addChatUser.md) +[$MadelineProto->messages->addChatUser](../methods/messages.addChatUser.md) -[$MadelineProto->messages->deleteChatUser](../methods/messages_deleteChatUser.md) +[$MadelineProto->messages->deleteChatUser](../methods/messages.deleteChatUser.md) -[$MadelineProto->messages->createChat](../methods/messages_createChat.md) +[$MadelineProto->messages->createChat](../methods/messages.createChat.md) -[$MadelineProto->messages->forwardMessage](../methods/messages_forwardMessage.md) +[$MadelineProto->messages->forwardMessage](../methods/messages.forwardMessage.md) -[$MadelineProto->messages->sendBroadcast](../methods/messages_sendBroadcast.md) +[$MadelineProto->messages->sendBroadcast](../methods/messages.sendBroadcast.md) -[$MadelineProto->messages->importChatInvite](../methods/messages_importChatInvite.md) +[$MadelineProto->messages->importChatInvite](../methods/messages.importChatInvite.md) -[$MadelineProto->messages->startBot](../methods/messages_startBot.md) +[$MadelineProto->messages->startBot](../methods/messages.startBot.md) -[$MadelineProto->channels->createChannel](../methods/channels_createChannel.md) +[$MadelineProto->channels->createChannel](../methods/channels.createChannel.md) -[$MadelineProto->channels->editAdmin](../methods/channels_editAdmin.md) +[$MadelineProto->channels->editAdmin](../methods/channels.editAdmin.md) -[$MadelineProto->channels->editTitle](../methods/channels_editTitle.md) +[$MadelineProto->channels->editTitle](../methods/channels.editTitle.md) -[$MadelineProto->channels->editPhoto](../methods/channels_editPhoto.md) +[$MadelineProto->channels->editPhoto](../methods/channels.editPhoto.md) -[$MadelineProto->channels->joinChannel](../methods/channels_joinChannel.md) +[$MadelineProto->channels->joinChannel](../methods/channels.joinChannel.md) -[$MadelineProto->channels->leaveChannel](../methods/channels_leaveChannel.md) +[$MadelineProto->channels->leaveChannel](../methods/channels.leaveChannel.md) -[$MadelineProto->channels->inviteToChannel](../methods/channels_inviteToChannel.md) +[$MadelineProto->channels->inviteToChannel](../methods/channels.inviteToChannel.md) -[$MadelineProto->channels->kickFromChannel](../methods/channels_kickFromChannel.md) +[$MadelineProto->channels->kickFromChannel](../methods/channels.kickFromChannel.md) -[$MadelineProto->channels->deleteChannel](../methods/channels_deleteChannel.md) +[$MadelineProto->channels->deleteChannel](../methods/channels.deleteChannel.md) -[$MadelineProto->messages->toggleChatAdmins](../methods/messages_toggleChatAdmins.md) +[$MadelineProto->messages->toggleChatAdmins](../methods/messages.toggleChatAdmins.md) -[$MadelineProto->messages->migrateChat](../methods/messages_migrateChat.md) +[$MadelineProto->messages->migrateChat](../methods/messages.migrateChat.md) -[$MadelineProto->messages->sendInlineBotResult](../methods/messages_sendInlineBotResult.md) +[$MadelineProto->messages->sendInlineBotResult](../methods/messages.sendInlineBotResult.md) -[$MadelineProto->channels->toggleInvites](../methods/channels_toggleInvites.md) +[$MadelineProto->channels->toggleInvites](../methods/channels.toggleInvites.md) -[$MadelineProto->channels->toggleSignatures](../methods/channels_toggleSignatures.md) +[$MadelineProto->channels->toggleSignatures](../methods/channels.toggleSignatures.md) -[$MadelineProto->channels->updatePinnedMessage](../methods/channels_updatePinnedMessage.md) +[$MadelineProto->channels->updatePinnedMessage](../methods/channels.updatePinnedMessage.md) -[$MadelineProto->messages->editMessage](../methods/messages_editMessage.md) +[$MadelineProto->messages->editMessage](../methods/messages.editMessage.md) -[$MadelineProto->messages->getAllDrafts](../methods/messages_getAllDrafts.md) +[$MadelineProto->messages->getAllDrafts](../methods/messages.getAllDrafts.md) diff --git a/old_docs/API_docs_v53/types/User.md b/old_docs/API_docs_v53/types/User.md index b145a3f8..30349c87 100644 --- a/old_docs/API_docs_v53/types/User.md +++ b/old_docs/API_docs_v53/types/User.md @@ -42,15 +42,15 @@ A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDia ### Methods that return an object of this type (methods): -[$MadelineProto->account->updateProfile](../methods/account_updateProfile.md) +[$MadelineProto->account->updateProfile](../methods/account.updateProfile.md) -[$MadelineProto->users->getUsers](../methods/users_getUsers.md) +[$MadelineProto->users->getUsers](../methods/users.getUsers.md) -[$MadelineProto->contacts->importCard](../methods/contacts_importCard.md) +[$MadelineProto->contacts->importCard](../methods/contacts.importCard.md) -[$MadelineProto->account->updateUsername](../methods/account_updateUsername.md) +[$MadelineProto->account->updateUsername](../methods/account.updateUsername.md) -[$MadelineProto->account->changePhone](../methods/account_changePhone.md) +[$MadelineProto->account->changePhone](../methods/account.changePhone.md) diff --git a/old_docs/API_docs_v53/types/UserFull.md b/old_docs/API_docs_v53/types/UserFull.md index 79ad30bb..ac50052f 100644 --- a/old_docs/API_docs_v53/types/UserFull.md +++ b/old_docs/API_docs_v53/types/UserFull.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->users->getFullUser](../methods/users_getFullUser.md) +[$MadelineProto->users->getFullUser](../methods/users.getFullUser.md) diff --git a/old_docs/API_docs_v53/types/UserProfilePhoto.md b/old_docs/API_docs_v53/types/UserProfilePhoto.md index e5243a2e..e81e92fd 100644 --- a/old_docs/API_docs_v53/types/UserProfilePhoto.md +++ b/old_docs/API_docs_v53/types/UserProfilePhoto.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->photos->updateProfilePhoto](../methods/photos_updateProfilePhoto.md) +[$MadelineProto->photos->updateProfilePhoto](../methods/photos.updateProfilePhoto.md) diff --git a/old_docs/API_docs_v53/types/WallPaper.md b/old_docs/API_docs_v53/types/WallPaper.md index 8c5ac7cf..45337565 100644 --- a/old_docs/API_docs_v53/types/WallPaper.md +++ b/old_docs/API_docs_v53/types/WallPaper.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->account->getWallPapers](../methods/account_getWallPapers.md) +[$MadelineProto->account->getWallPapers](../methods/account.getWallPapers.md) diff --git a/old_docs/API_docs_v53/types/account.Authorizations.md b/old_docs/API_docs_v53/types/account.Authorizations.md new file mode 100644 index 00000000..f9112038 --- /dev/null +++ b/old_docs/API_docs_v53/types/account.Authorizations.md @@ -0,0 +1,22 @@ +--- +title: account.Authorizations +description: constructors and methods of type account.Authorizations +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.Authorizations +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.authorizations](../constructors/account.authorizations.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getAuthorizations](../methods/account.getAuthorizations.md) + + + diff --git a/old_docs/API_docs_v53/types/account.Password.md b/old_docs/API_docs_v53/types/account.Password.md new file mode 100644 index 00000000..5217ab5e --- /dev/null +++ b/old_docs/API_docs_v53/types/account.Password.md @@ -0,0 +1,24 @@ +--- +title: account.Password +description: constructors and methods of type account.Password +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.Password +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.noPassword](../constructors/account.noPassword.md) + +[account.password](../constructors/account.password.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getPassword](../methods/account.getPassword.md) + + + diff --git a/old_docs/API_docs_v53/types/account.PasswordInputSettings.md b/old_docs/API_docs_v53/types/account.PasswordInputSettings.md new file mode 100644 index 00000000..72e11fdc --- /dev/null +++ b/old_docs/API_docs_v53/types/account.PasswordInputSettings.md @@ -0,0 +1,20 @@ +--- +title: account.PasswordInputSettings +description: constructors and methods of type account.PasswordInputSettings +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.PasswordInputSettings +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.passwordInputSettings](../constructors/account.passwordInputSettings.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v53/types/account.PasswordSettings.md b/old_docs/API_docs_v53/types/account.PasswordSettings.md new file mode 100644 index 00000000..47016832 --- /dev/null +++ b/old_docs/API_docs_v53/types/account.PasswordSettings.md @@ -0,0 +1,22 @@ +--- +title: account.PasswordSettings +description: constructors and methods of type account.PasswordSettings +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.PasswordSettings +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.passwordSettings](../constructors/account.passwordSettings.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getPasswordSettings](../methods/account.getPasswordSettings.md) + + + diff --git a/old_docs/API_docs_v53/types/account.PrivacyRules.md b/old_docs/API_docs_v53/types/account.PrivacyRules.md new file mode 100644 index 00000000..738651ad --- /dev/null +++ b/old_docs/API_docs_v53/types/account.PrivacyRules.md @@ -0,0 +1,24 @@ +--- +title: account.PrivacyRules +description: constructors and methods of type account.PrivacyRules +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.PrivacyRules +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.privacyRules](../constructors/account.privacyRules.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getPrivacy](../methods/account.getPrivacy.md) + +[$MadelineProto->account->setPrivacy](../methods/account.setPrivacy.md) + + + diff --git a/old_docs/API_docs_v53/types/account_Authorizations.md b/old_docs/API_docs_v53/types/account_Authorizations.md deleted file mode 100644 index 4709ddb5..00000000 --- a/old_docs/API_docs_v53/types/account_Authorizations.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_Authorizations -description: constructors and methods of type account_Authorizations -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_Authorizations -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_authorizations](../constructors/account_authorizations.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getAuthorizations](../methods/account_getAuthorizations.md) - - - diff --git a/old_docs/API_docs_v53/types/account_Password.md b/old_docs/API_docs_v53/types/account_Password.md deleted file mode 100644 index 23e05987..00000000 --- a/old_docs/API_docs_v53/types/account_Password.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: account_Password -description: constructors and methods of type account_Password -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_Password -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_noPassword](../constructors/account_noPassword.md) - -[account\_password](../constructors/account_password.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getPassword](../methods/account_getPassword.md) - - - diff --git a/old_docs/API_docs_v53/types/account_PasswordInputSettings.md b/old_docs/API_docs_v53/types/account_PasswordInputSettings.md deleted file mode 100644 index a6455eb8..00000000 --- a/old_docs/API_docs_v53/types/account_PasswordInputSettings.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: account_PasswordInputSettings -description: constructors and methods of type account_PasswordInputSettings -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_PasswordInputSettings -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_passwordInputSettings](../constructors/account_passwordInputSettings.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v53/types/account_PasswordSettings.md b/old_docs/API_docs_v53/types/account_PasswordSettings.md deleted file mode 100644 index 687eb217..00000000 --- a/old_docs/API_docs_v53/types/account_PasswordSettings.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_PasswordSettings -description: constructors and methods of type account_PasswordSettings -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_PasswordSettings -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_passwordSettings](../constructors/account_passwordSettings.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getPasswordSettings](../methods/account_getPasswordSettings.md) - - - diff --git a/old_docs/API_docs_v53/types/account_PrivacyRules.md b/old_docs/API_docs_v53/types/account_PrivacyRules.md deleted file mode 100644 index 40b00077..00000000 --- a/old_docs/API_docs_v53/types/account_PrivacyRules.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: account_PrivacyRules -description: constructors and methods of type account_PrivacyRules -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_PrivacyRules -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_privacyRules](../constructors/account_privacyRules.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getPrivacy](../methods/account_getPrivacy.md) - -[$MadelineProto->account->setPrivacy](../methods/account_setPrivacy.md) - - - diff --git a/old_docs/API_docs_v53/types/auth.Authorization.md b/old_docs/API_docs_v53/types/auth.Authorization.md new file mode 100644 index 00000000..adcfa7d3 --- /dev/null +++ b/old_docs/API_docs_v53/types/auth.Authorization.md @@ -0,0 +1,32 @@ +--- +title: auth.Authorization +description: constructors and methods of type auth.Authorization +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.Authorization +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.authorization](../constructors/auth.authorization.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->signUp](../methods/auth.signUp.md) + +[$MadelineProto->auth->signIn](../methods/auth.signIn.md) + +[$MadelineProto->auth->importAuthorization](../methods/auth.importAuthorization.md) + +[$MadelineProto->auth->importBotAuthorization](../methods/auth.importBotAuthorization.md) + +[$MadelineProto->auth->checkPassword](../methods/auth.checkPassword.md) + +[$MadelineProto->auth->recoverPassword](../methods/auth.recoverPassword.md) + + + diff --git a/old_docs/API_docs_v53/types/auth.CheckedPhone.md b/old_docs/API_docs_v53/types/auth.CheckedPhone.md new file mode 100644 index 00000000..94af3915 --- /dev/null +++ b/old_docs/API_docs_v53/types/auth.CheckedPhone.md @@ -0,0 +1,22 @@ +--- +title: auth.CheckedPhone +description: constructors and methods of type auth.CheckedPhone +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.CheckedPhone +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.checkedPhone](../constructors/auth.checkedPhone.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->checkPhone](../methods/auth.checkPhone.md) + + + diff --git a/old_docs/API_docs_v53/types/auth.CodeType.md b/old_docs/API_docs_v53/types/auth.CodeType.md new file mode 100644 index 00000000..8d2b308d --- /dev/null +++ b/old_docs/API_docs_v53/types/auth.CodeType.md @@ -0,0 +1,24 @@ +--- +title: auth.CodeType +description: constructors and methods of type auth.CodeType +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.CodeType +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.codeTypeSms](../constructors/auth.codeTypeSms.md) + +[auth.codeTypeCall](../constructors/auth.codeTypeCall.md) + +[auth.codeTypeFlashCall](../constructors/auth.codeTypeFlashCall.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v53/types/auth.ExportedAuthorization.md b/old_docs/API_docs_v53/types/auth.ExportedAuthorization.md new file mode 100644 index 00000000..ccb38d60 --- /dev/null +++ b/old_docs/API_docs_v53/types/auth.ExportedAuthorization.md @@ -0,0 +1,22 @@ +--- +title: auth.ExportedAuthorization +description: constructors and methods of type auth.ExportedAuthorization +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.ExportedAuthorization +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.exportedAuthorization](../constructors/auth.exportedAuthorization.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->exportAuthorization](../methods/auth.exportAuthorization.md) + + + diff --git a/old_docs/API_docs_v53/types/auth.PasswordRecovery.md b/old_docs/API_docs_v53/types/auth.PasswordRecovery.md new file mode 100644 index 00000000..c1c18992 --- /dev/null +++ b/old_docs/API_docs_v53/types/auth.PasswordRecovery.md @@ -0,0 +1,22 @@ +--- +title: auth.PasswordRecovery +description: constructors and methods of type auth.PasswordRecovery +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.PasswordRecovery +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.passwordRecovery](../constructors/auth.passwordRecovery.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->requestPasswordRecovery](../methods/auth.requestPasswordRecovery.md) + + + diff --git a/old_docs/API_docs_v53/types/auth.SentCode.md b/old_docs/API_docs_v53/types/auth.SentCode.md new file mode 100644 index 00000000..f97a939c --- /dev/null +++ b/old_docs/API_docs_v53/types/auth.SentCode.md @@ -0,0 +1,26 @@ +--- +title: auth.SentCode +description: constructors and methods of type auth.SentCode +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.SentCode +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.sentCode](../constructors/auth.sentCode.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->sendCode](../methods/auth.sendCode.md) + +[$MadelineProto->account->sendChangePhoneCode](../methods/account.sendChangePhoneCode.md) + +[$MadelineProto->auth->resendCode](../methods/auth.resendCode.md) + + + diff --git a/old_docs/API_docs_v53/types/auth.SentCodeType.md b/old_docs/API_docs_v53/types/auth.SentCodeType.md new file mode 100644 index 00000000..7c7c534e --- /dev/null +++ b/old_docs/API_docs_v53/types/auth.SentCodeType.md @@ -0,0 +1,26 @@ +--- +title: auth.SentCodeType +description: constructors and methods of type auth.SentCodeType +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.SentCodeType +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.sentCodeTypeApp](../constructors/auth.sentCodeTypeApp.md) + +[auth.sentCodeTypeSms](../constructors/auth.sentCodeTypeSms.md) + +[auth.sentCodeTypeCall](../constructors/auth.sentCodeTypeCall.md) + +[auth.sentCodeTypeFlashCall](../constructors/auth.sentCodeTypeFlashCall.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v53/types/auth_Authorization.md b/old_docs/API_docs_v53/types/auth_Authorization.md deleted file mode 100644 index 5a34fc2d..00000000 --- a/old_docs/API_docs_v53/types/auth_Authorization.md +++ /dev/null @@ -1,32 +0,0 @@ ---- -title: auth_Authorization -description: constructors and methods of type auth_Authorization -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_Authorization -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_authorization](../constructors/auth_authorization.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->signUp](../methods/auth_signUp.md) - -[$MadelineProto->auth->signIn](../methods/auth_signIn.md) - -[$MadelineProto->auth->importAuthorization](../methods/auth_importAuthorization.md) - -[$MadelineProto->auth->importBotAuthorization](../methods/auth_importBotAuthorization.md) - -[$MadelineProto->auth->checkPassword](../methods/auth_checkPassword.md) - -[$MadelineProto->auth->recoverPassword](../methods/auth_recoverPassword.md) - - - diff --git a/old_docs/API_docs_v53/types/auth_CheckedPhone.md b/old_docs/API_docs_v53/types/auth_CheckedPhone.md deleted file mode 100644 index e9b0def4..00000000 --- a/old_docs/API_docs_v53/types/auth_CheckedPhone.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: auth_CheckedPhone -description: constructors and methods of type auth_CheckedPhone -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_CheckedPhone -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_checkedPhone](../constructors/auth_checkedPhone.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->checkPhone](../methods/auth_checkPhone.md) - - - diff --git a/old_docs/API_docs_v53/types/auth_CodeType.md b/old_docs/API_docs_v53/types/auth_CodeType.md deleted file mode 100644 index 3cd9a7b7..00000000 --- a/old_docs/API_docs_v53/types/auth_CodeType.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: auth_CodeType -description: constructors and methods of type auth_CodeType -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_CodeType -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_codeTypeSms](../constructors/auth_codeTypeSms.md) - -[auth\_codeTypeCall](../constructors/auth_codeTypeCall.md) - -[auth\_codeTypeFlashCall](../constructors/auth_codeTypeFlashCall.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v53/types/auth_ExportedAuthorization.md b/old_docs/API_docs_v53/types/auth_ExportedAuthorization.md deleted file mode 100644 index 69e5c42e..00000000 --- a/old_docs/API_docs_v53/types/auth_ExportedAuthorization.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: auth_ExportedAuthorization -description: constructors and methods of type auth_ExportedAuthorization -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_ExportedAuthorization -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_exportedAuthorization](../constructors/auth_exportedAuthorization.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->exportAuthorization](../methods/auth_exportAuthorization.md) - - - diff --git a/old_docs/API_docs_v53/types/auth_PasswordRecovery.md b/old_docs/API_docs_v53/types/auth_PasswordRecovery.md deleted file mode 100644 index 4962bf42..00000000 --- a/old_docs/API_docs_v53/types/auth_PasswordRecovery.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: auth_PasswordRecovery -description: constructors and methods of type auth_PasswordRecovery -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_PasswordRecovery -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_passwordRecovery](../constructors/auth_passwordRecovery.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->requestPasswordRecovery](../methods/auth_requestPasswordRecovery.md) - - - diff --git a/old_docs/API_docs_v53/types/auth_SentCode.md b/old_docs/API_docs_v53/types/auth_SentCode.md deleted file mode 100644 index 058f4c39..00000000 --- a/old_docs/API_docs_v53/types/auth_SentCode.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: auth_SentCode -description: constructors and methods of type auth_SentCode -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_SentCode -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_sentCode](../constructors/auth_sentCode.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->sendCode](../methods/auth_sendCode.md) - -[$MadelineProto->account->sendChangePhoneCode](../methods/account_sendChangePhoneCode.md) - -[$MadelineProto->auth->resendCode](../methods/auth_resendCode.md) - - - diff --git a/old_docs/API_docs_v53/types/auth_SentCodeType.md b/old_docs/API_docs_v53/types/auth_SentCodeType.md deleted file mode 100644 index 8dfcb93b..00000000 --- a/old_docs/API_docs_v53/types/auth_SentCodeType.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: auth_SentCodeType -description: constructors and methods of type auth_SentCodeType -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_SentCodeType -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_sentCodeTypeApp](../constructors/auth_sentCodeTypeApp.md) - -[auth\_sentCodeTypeSms](../constructors/auth_sentCodeTypeSms.md) - -[auth\_sentCodeTypeCall](../constructors/auth_sentCodeTypeCall.md) - -[auth\_sentCodeTypeFlashCall](../constructors/auth_sentCodeTypeFlashCall.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v53/types/channels.ChannelParticipant.md b/old_docs/API_docs_v53/types/channels.ChannelParticipant.md new file mode 100644 index 00000000..8dc7f7e6 --- /dev/null +++ b/old_docs/API_docs_v53/types/channels.ChannelParticipant.md @@ -0,0 +1,22 @@ +--- +title: channels.ChannelParticipant +description: constructors and methods of type channels.ChannelParticipant +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: channels.ChannelParticipant +[Back to types index](index.md) + + + +### Possible values (constructors): + +[channels.channelParticipant](../constructors/channels.channelParticipant.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->channels->getParticipant](../methods/channels.getParticipant.md) + + + diff --git a/old_docs/API_docs_v53/types/channels.ChannelParticipants.md b/old_docs/API_docs_v53/types/channels.ChannelParticipants.md new file mode 100644 index 00000000..996ab6a6 --- /dev/null +++ b/old_docs/API_docs_v53/types/channels.ChannelParticipants.md @@ -0,0 +1,22 @@ +--- +title: channels.ChannelParticipants +description: constructors and methods of type channels.ChannelParticipants +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: channels.ChannelParticipants +[Back to types index](index.md) + + + +### Possible values (constructors): + +[channels.channelParticipants](../constructors/channels.channelParticipants.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->channels->getParticipants](../methods/channels.getParticipants.md) + + + diff --git a/old_docs/API_docs_v53/types/channels_ChannelParticipant.md b/old_docs/API_docs_v53/types/channels_ChannelParticipant.md deleted file mode 100644 index 3d4667c3..00000000 --- a/old_docs/API_docs_v53/types/channels_ChannelParticipant.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: channels_ChannelParticipant -description: constructors and methods of type channels_ChannelParticipant -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: channels\_ChannelParticipant -[Back to types index](index.md) - - - -### Possible values (constructors): - -[channels\_channelParticipant](../constructors/channels_channelParticipant.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->channels->getParticipant](../methods/channels_getParticipant.md) - - - diff --git a/old_docs/API_docs_v53/types/channels_ChannelParticipants.md b/old_docs/API_docs_v53/types/channels_ChannelParticipants.md deleted file mode 100644 index 0500c2cb..00000000 --- a/old_docs/API_docs_v53/types/channels_ChannelParticipants.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: channels_ChannelParticipants -description: constructors and methods of type channels_ChannelParticipants -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: channels\_ChannelParticipants -[Back to types index](index.md) - - - -### Possible values (constructors): - -[channels\_channelParticipants](../constructors/channels_channelParticipants.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->channels->getParticipants](../methods/channels_getParticipants.md) - - - diff --git a/old_docs/API_docs_v53/types/contacts.Blocked.md b/old_docs/API_docs_v53/types/contacts.Blocked.md new file mode 100644 index 00000000..cb2af80f --- /dev/null +++ b/old_docs/API_docs_v53/types/contacts.Blocked.md @@ -0,0 +1,24 @@ +--- +title: contacts.Blocked +description: constructors and methods of type contacts.Blocked +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Blocked +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.blocked](../constructors/contacts.blocked.md) + +[contacts.blockedSlice](../constructors/contacts.blockedSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getBlocked](../methods/contacts.getBlocked.md) + + + diff --git a/old_docs/API_docs_v53/types/contacts.Contacts.md b/old_docs/API_docs_v53/types/contacts.Contacts.md new file mode 100644 index 00000000..5f695d8e --- /dev/null +++ b/old_docs/API_docs_v53/types/contacts.Contacts.md @@ -0,0 +1,24 @@ +--- +title: contacts.Contacts +description: constructors and methods of type contacts.Contacts +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Contacts +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.contactsNotModified](../constructors/contacts.contactsNotModified.md) + +[contacts.contacts](../constructors/contacts.contacts.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getContacts](../methods/contacts.getContacts.md) + + + diff --git a/old_docs/API_docs_v53/types/contacts.Found.md b/old_docs/API_docs_v53/types/contacts.Found.md new file mode 100644 index 00000000..7df98927 --- /dev/null +++ b/old_docs/API_docs_v53/types/contacts.Found.md @@ -0,0 +1,22 @@ +--- +title: contacts.Found +description: constructors and methods of type contacts.Found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Found +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.found](../constructors/contacts.found.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->search](../methods/contacts.search.md) + + + diff --git a/old_docs/API_docs_v53/types/contacts.ImportedContacts.md b/old_docs/API_docs_v53/types/contacts.ImportedContacts.md new file mode 100644 index 00000000..16795bab --- /dev/null +++ b/old_docs/API_docs_v53/types/contacts.ImportedContacts.md @@ -0,0 +1,22 @@ +--- +title: contacts.ImportedContacts +description: constructors and methods of type contacts.ImportedContacts +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.ImportedContacts +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.importedContacts](../constructors/contacts.importedContacts.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->importContacts](../methods/contacts.importContacts.md) + + + diff --git a/old_docs/API_docs_v53/types/contacts.Link.md b/old_docs/API_docs_v53/types/contacts.Link.md new file mode 100644 index 00000000..eb9da683 --- /dev/null +++ b/old_docs/API_docs_v53/types/contacts.Link.md @@ -0,0 +1,22 @@ +--- +title: contacts.Link +description: constructors and methods of type contacts.Link +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Link +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.link](../constructors/contacts.link.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->deleteContact](../methods/contacts.deleteContact.md) + + + diff --git a/old_docs/API_docs_v53/types/contacts.ResolvedPeer.md b/old_docs/API_docs_v53/types/contacts.ResolvedPeer.md new file mode 100644 index 00000000..13630d54 --- /dev/null +++ b/old_docs/API_docs_v53/types/contacts.ResolvedPeer.md @@ -0,0 +1,22 @@ +--- +title: contacts.ResolvedPeer +description: constructors and methods of type contacts.ResolvedPeer +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.ResolvedPeer +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.resolvedPeer](../constructors/contacts.resolvedPeer.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->resolveUsername](../methods/contacts.resolveUsername.md) + + + diff --git a/old_docs/API_docs_v53/types/contacts.TopPeers.md b/old_docs/API_docs_v53/types/contacts.TopPeers.md new file mode 100644 index 00000000..b8107616 --- /dev/null +++ b/old_docs/API_docs_v53/types/contacts.TopPeers.md @@ -0,0 +1,24 @@ +--- +title: contacts.TopPeers +description: constructors and methods of type contacts.TopPeers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.TopPeers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.topPeersNotModified](../constructors/contacts.topPeersNotModified.md) + +[contacts.topPeers](../constructors/contacts.topPeers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getTopPeers](../methods/contacts.getTopPeers.md) + + + diff --git a/old_docs/API_docs_v53/types/contacts_Blocked.md b/old_docs/API_docs_v53/types/contacts_Blocked.md deleted file mode 100644 index 3e1f02eb..00000000 --- a/old_docs/API_docs_v53/types/contacts_Blocked.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: contacts_Blocked -description: constructors and methods of type contacts_Blocked -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Blocked -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_blocked](../constructors/contacts_blocked.md) - -[contacts\_blockedSlice](../constructors/contacts_blockedSlice.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->getBlocked](../methods/contacts_getBlocked.md) - - - diff --git a/old_docs/API_docs_v53/types/contacts_Contacts.md b/old_docs/API_docs_v53/types/contacts_Contacts.md deleted file mode 100644 index 5d6c9506..00000000 --- a/old_docs/API_docs_v53/types/contacts_Contacts.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: contacts_Contacts -description: constructors and methods of type contacts_Contacts -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Contacts -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_contactsNotModified](../constructors/contacts_contactsNotModified.md) - -[contacts\_contacts](../constructors/contacts_contacts.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->getContacts](../methods/contacts_getContacts.md) - - - diff --git a/old_docs/API_docs_v53/types/contacts_Found.md b/old_docs/API_docs_v53/types/contacts_Found.md deleted file mode 100644 index 806101cf..00000000 --- a/old_docs/API_docs_v53/types/contacts_Found.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_Found -description: constructors and methods of type contacts_Found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Found -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_found](../constructors/contacts_found.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->search](../methods/contacts_search.md) - - - diff --git a/old_docs/API_docs_v53/types/contacts_ImportedContacts.md b/old_docs/API_docs_v53/types/contacts_ImportedContacts.md deleted file mode 100644 index faf7e615..00000000 --- a/old_docs/API_docs_v53/types/contacts_ImportedContacts.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_ImportedContacts -description: constructors and methods of type contacts_ImportedContacts -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_ImportedContacts -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_importedContacts](../constructors/contacts_importedContacts.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->importContacts](../methods/contacts_importContacts.md) - - - diff --git a/old_docs/API_docs_v53/types/contacts_Link.md b/old_docs/API_docs_v53/types/contacts_Link.md deleted file mode 100644 index 01556606..00000000 --- a/old_docs/API_docs_v53/types/contacts_Link.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_Link -description: constructors and methods of type contacts_Link -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Link -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_link](../constructors/contacts_link.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->deleteContact](../methods/contacts_deleteContact.md) - - - diff --git a/old_docs/API_docs_v53/types/contacts_ResolvedPeer.md b/old_docs/API_docs_v53/types/contacts_ResolvedPeer.md deleted file mode 100644 index cf107f7c..00000000 --- a/old_docs/API_docs_v53/types/contacts_ResolvedPeer.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_ResolvedPeer -description: constructors and methods of type contacts_ResolvedPeer -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_ResolvedPeer -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_resolvedPeer](../constructors/contacts_resolvedPeer.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->resolveUsername](../methods/contacts_resolveUsername.md) - - - diff --git a/old_docs/API_docs_v53/types/contacts_TopPeers.md b/old_docs/API_docs_v53/types/contacts_TopPeers.md deleted file mode 100644 index fe4255c7..00000000 --- a/old_docs/API_docs_v53/types/contacts_TopPeers.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: contacts_TopPeers -description: constructors and methods of type contacts_TopPeers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_TopPeers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_topPeersNotModified](../constructors/contacts_topPeersNotModified.md) - -[contacts\_topPeers](../constructors/contacts_topPeers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->getTopPeers](../methods/contacts_getTopPeers.md) - - - diff --git a/old_docs/API_docs_v53/types/help.AppChangelog.md b/old_docs/API_docs_v53/types/help.AppChangelog.md new file mode 100644 index 00000000..71584fdc --- /dev/null +++ b/old_docs/API_docs_v53/types/help.AppChangelog.md @@ -0,0 +1,24 @@ +--- +title: help.AppChangelog +description: constructors and methods of type help.AppChangelog +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.AppChangelog +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.appChangelogEmpty](../constructors/help.appChangelogEmpty.md) + +[help.appChangelog](../constructors/help.appChangelog.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getAppChangelog](../methods/help.getAppChangelog.md) + + + diff --git a/old_docs/API_docs_v53/types/help.AppUpdate.md b/old_docs/API_docs_v53/types/help.AppUpdate.md new file mode 100644 index 00000000..285ec2b7 --- /dev/null +++ b/old_docs/API_docs_v53/types/help.AppUpdate.md @@ -0,0 +1,24 @@ +--- +title: help.AppUpdate +description: constructors and methods of type help.AppUpdate +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.AppUpdate +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.appUpdate](../constructors/help.appUpdate.md) + +[help.noAppUpdate](../constructors/help.noAppUpdate.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getAppUpdate](../methods/help.getAppUpdate.md) + + + diff --git a/old_docs/API_docs_v53/types/help.InviteText.md b/old_docs/API_docs_v53/types/help.InviteText.md new file mode 100644 index 00000000..43293f46 --- /dev/null +++ b/old_docs/API_docs_v53/types/help.InviteText.md @@ -0,0 +1,22 @@ +--- +title: help.InviteText +description: constructors and methods of type help.InviteText +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.InviteText +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.inviteText](../constructors/help.inviteText.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getInviteText](../methods/help.getInviteText.md) + + + diff --git a/old_docs/API_docs_v53/types/help.Support.md b/old_docs/API_docs_v53/types/help.Support.md new file mode 100644 index 00000000..42c20483 --- /dev/null +++ b/old_docs/API_docs_v53/types/help.Support.md @@ -0,0 +1,22 @@ +--- +title: help.Support +description: constructors and methods of type help.Support +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.Support +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.support](../constructors/help.support.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getSupport](../methods/help.getSupport.md) + + + diff --git a/old_docs/API_docs_v53/types/help.TermsOfService.md b/old_docs/API_docs_v53/types/help.TermsOfService.md new file mode 100644 index 00000000..6c29d2e6 --- /dev/null +++ b/old_docs/API_docs_v53/types/help.TermsOfService.md @@ -0,0 +1,22 @@ +--- +title: help.TermsOfService +description: constructors and methods of type help.TermsOfService +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.TermsOfService +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.termsOfService](../constructors/help.termsOfService.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getTermsOfService](../methods/help.getTermsOfService.md) + + + diff --git a/old_docs/API_docs_v53/types/help_AppChangelog.md b/old_docs/API_docs_v53/types/help_AppChangelog.md deleted file mode 100644 index 350cb644..00000000 --- a/old_docs/API_docs_v53/types/help_AppChangelog.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: help_AppChangelog -description: constructors and methods of type help_AppChangelog -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_AppChangelog -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_appChangelogEmpty](../constructors/help_appChangelogEmpty.md) - -[help\_appChangelog](../constructors/help_appChangelog.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getAppChangelog](../methods/help_getAppChangelog.md) - - - diff --git a/old_docs/API_docs_v53/types/help_AppUpdate.md b/old_docs/API_docs_v53/types/help_AppUpdate.md deleted file mode 100644 index 1f296a70..00000000 --- a/old_docs/API_docs_v53/types/help_AppUpdate.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: help_AppUpdate -description: constructors and methods of type help_AppUpdate -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_AppUpdate -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_appUpdate](../constructors/help_appUpdate.md) - -[help\_noAppUpdate](../constructors/help_noAppUpdate.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getAppUpdate](../methods/help_getAppUpdate.md) - - - diff --git a/old_docs/API_docs_v53/types/help_InviteText.md b/old_docs/API_docs_v53/types/help_InviteText.md deleted file mode 100644 index 018d35bf..00000000 --- a/old_docs/API_docs_v53/types/help_InviteText.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: help_InviteText -description: constructors and methods of type help_InviteText -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_InviteText -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_inviteText](../constructors/help_inviteText.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getInviteText](../methods/help_getInviteText.md) - - - diff --git a/old_docs/API_docs_v53/types/help_Support.md b/old_docs/API_docs_v53/types/help_Support.md deleted file mode 100644 index 26de447b..00000000 --- a/old_docs/API_docs_v53/types/help_Support.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: help_Support -description: constructors and methods of type help_Support -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_Support -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_support](../constructors/help_support.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getSupport](../methods/help_getSupport.md) - - - diff --git a/old_docs/API_docs_v53/types/help_TermsOfService.md b/old_docs/API_docs_v53/types/help_TermsOfService.md deleted file mode 100644 index 84a05df3..00000000 --- a/old_docs/API_docs_v53/types/help_TermsOfService.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: help_TermsOfService -description: constructors and methods of type help_TermsOfService -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_TermsOfService -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_termsOfService](../constructors/help_termsOfService.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getTermsOfService](../methods/help_getTermsOfService.md) - - - diff --git a/old_docs/API_docs_v53/types/messages.AffectedHistory.md b/old_docs/API_docs_v53/types/messages.AffectedHistory.md new file mode 100644 index 00000000..f0411b4d --- /dev/null +++ b/old_docs/API_docs_v53/types/messages.AffectedHistory.md @@ -0,0 +1,24 @@ +--- +title: messages.AffectedHistory +description: constructors and methods of type messages.AffectedHistory +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.AffectedHistory +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.affectedHistory](../constructors/messages.affectedHistory.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->deleteHistory](../methods/messages.deleteHistory.md) + +[$MadelineProto->channels->deleteUserHistory](../methods/channels.deleteUserHistory.md) + + + diff --git a/old_docs/API_docs_v53/types/messages.AffectedMessages.md b/old_docs/API_docs_v53/types/messages.AffectedMessages.md new file mode 100644 index 00000000..a9159de3 --- /dev/null +++ b/old_docs/API_docs_v53/types/messages.AffectedMessages.md @@ -0,0 +1,28 @@ +--- +title: messages.AffectedMessages +description: constructors and methods of type messages.AffectedMessages +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.AffectedMessages +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.affectedMessages](../constructors/messages.affectedMessages.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->readHistory](../methods/messages.readHistory.md) + +[$MadelineProto->messages->deleteMessages](../methods/messages.deleteMessages.md) + +[$MadelineProto->messages->readMessageContents](../methods/messages.readMessageContents.md) + +[$MadelineProto->channels->deleteMessages](../methods/channels.deleteMessages.md) + + + diff --git a/old_docs/API_docs_v53/types/messages.AllStickers.md b/old_docs/API_docs_v53/types/messages.AllStickers.md new file mode 100644 index 00000000..5ece92c0 --- /dev/null +++ b/old_docs/API_docs_v53/types/messages.AllStickers.md @@ -0,0 +1,24 @@ +--- +title: messages.AllStickers +description: constructors and methods of type messages.AllStickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.AllStickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.allStickersNotModified](../constructors/messages.allStickersNotModified.md) + +[messages.allStickers](../constructors/messages.allStickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getAllStickers](../methods/messages.getAllStickers.md) + + + diff --git a/old_docs/API_docs_v53/types/messages.BotCallbackAnswer.md b/old_docs/API_docs_v53/types/messages.BotCallbackAnswer.md new file mode 100644 index 00000000..ef30fbfb --- /dev/null +++ b/old_docs/API_docs_v53/types/messages.BotCallbackAnswer.md @@ -0,0 +1,22 @@ +--- +title: messages.BotCallbackAnswer +description: constructors and methods of type messages.BotCallbackAnswer +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.BotCallbackAnswer +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.botCallbackAnswer](../constructors/messages.botCallbackAnswer.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getBotCallbackAnswer](../methods/messages.getBotCallbackAnswer.md) + + + diff --git a/old_docs/API_docs_v53/types/messages.BotResults.md b/old_docs/API_docs_v53/types/messages.BotResults.md new file mode 100644 index 00000000..76ee2b99 --- /dev/null +++ b/old_docs/API_docs_v53/types/messages.BotResults.md @@ -0,0 +1,22 @@ +--- +title: messages.BotResults +description: constructors and methods of type messages.BotResults +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.BotResults +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.botResults](../constructors/messages.botResults.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getInlineBotResults](../methods/messages.getInlineBotResults.md) + + + diff --git a/old_docs/API_docs_v53/types/messages.ChatFull.md b/old_docs/API_docs_v53/types/messages.ChatFull.md new file mode 100644 index 00000000..3ad38748 --- /dev/null +++ b/old_docs/API_docs_v53/types/messages.ChatFull.md @@ -0,0 +1,24 @@ +--- +title: messages.ChatFull +description: constructors and methods of type messages.ChatFull +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.ChatFull +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.chatFull](../constructors/messages.chatFull.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getFullChat](../methods/messages.getFullChat.md) + +[$MadelineProto->channels->getFullChannel](../methods/channels.getFullChannel.md) + + + diff --git a/old_docs/API_docs_v53/types/messages.Chats.md b/old_docs/API_docs_v53/types/messages.Chats.md new file mode 100644 index 00000000..c2bfab5d --- /dev/null +++ b/old_docs/API_docs_v53/types/messages.Chats.md @@ -0,0 +1,24 @@ +--- +title: messages.Chats +description: constructors and methods of type messages.Chats +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Chats +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.chats](../constructors/messages.chats.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getChats](../methods/messages.getChats.md) + +[$MadelineProto->channels->getChannels](../methods/channels.getChannels.md) + + + diff --git a/old_docs/API_docs_v53/types/messages.DhConfig.md b/old_docs/API_docs_v53/types/messages.DhConfig.md new file mode 100644 index 00000000..77188ab7 --- /dev/null +++ b/old_docs/API_docs_v53/types/messages.DhConfig.md @@ -0,0 +1,24 @@ +--- +title: messages.DhConfig +description: constructors and methods of type messages.DhConfig +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.DhConfig +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.dhConfigNotModified](../constructors/messages.dhConfigNotModified.md) + +[messages.dhConfig](../constructors/messages.dhConfig.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getDhConfig](../methods/messages.getDhConfig.md) + + + diff --git a/old_docs/API_docs_v53/types/messages.Dialogs.md b/old_docs/API_docs_v53/types/messages.Dialogs.md new file mode 100644 index 00000000..1a57d535 --- /dev/null +++ b/old_docs/API_docs_v53/types/messages.Dialogs.md @@ -0,0 +1,24 @@ +--- +title: messages.Dialogs +description: constructors and methods of type messages.Dialogs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Dialogs +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.dialogs](../constructors/messages.dialogs.md) + +[messages.dialogsSlice](../constructors/messages.dialogsSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getDialogs](../methods/messages.getDialogs.md) + + + diff --git a/old_docs/API_docs_v53/types/messages.FoundGifs.md b/old_docs/API_docs_v53/types/messages.FoundGifs.md new file mode 100644 index 00000000..b5176a5d --- /dev/null +++ b/old_docs/API_docs_v53/types/messages.FoundGifs.md @@ -0,0 +1,22 @@ +--- +title: messages.FoundGifs +description: constructors and methods of type messages.FoundGifs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.FoundGifs +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.foundGifs](../constructors/messages.foundGifs.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->searchGifs](../methods/messages.searchGifs.md) + + + diff --git a/old_docs/API_docs_v53/types/messages.MessageEditData.md b/old_docs/API_docs_v53/types/messages.MessageEditData.md new file mode 100644 index 00000000..feb572f1 --- /dev/null +++ b/old_docs/API_docs_v53/types/messages.MessageEditData.md @@ -0,0 +1,22 @@ +--- +title: messages.MessageEditData +description: constructors and methods of type messages.MessageEditData +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.MessageEditData +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.messageEditData](../constructors/messages.messageEditData.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getMessageEditData](../methods/messages.getMessageEditData.md) + + + diff --git a/old_docs/API_docs_v53/types/messages.Messages.md b/old_docs/API_docs_v53/types/messages.Messages.md new file mode 100644 index 00000000..90cf4a43 --- /dev/null +++ b/old_docs/API_docs_v53/types/messages.Messages.md @@ -0,0 +1,34 @@ +--- +title: messages.Messages +description: constructors and methods of type messages.Messages +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Messages +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.messages](../constructors/messages.messages.md) + +[messages.messagesSlice](../constructors/messages.messagesSlice.md) + +[messages.channelMessages](../constructors/messages.channelMessages.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getMessages](../methods/messages.getMessages.md) + +[$MadelineProto->messages->getHistory](../methods/messages.getHistory.md) + +[$MadelineProto->messages->search](../methods/messages.search.md) + +[$MadelineProto->channels->getMessages](../methods/channels.getMessages.md) + +[$MadelineProto->messages->searchGlobal](../methods/messages.searchGlobal.md) + + + diff --git a/old_docs/API_docs_v53/types/messages.PeerDialogs.md b/old_docs/API_docs_v53/types/messages.PeerDialogs.md new file mode 100644 index 00000000..fdebf58e --- /dev/null +++ b/old_docs/API_docs_v53/types/messages.PeerDialogs.md @@ -0,0 +1,22 @@ +--- +title: messages.PeerDialogs +description: constructors and methods of type messages.PeerDialogs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.PeerDialogs +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.peerDialogs](../constructors/messages.peerDialogs.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getPeerDialogs](../methods/messages.getPeerDialogs.md) + + + diff --git a/old_docs/API_docs_v53/types/messages.SavedGifs.md b/old_docs/API_docs_v53/types/messages.SavedGifs.md new file mode 100644 index 00000000..99844c98 --- /dev/null +++ b/old_docs/API_docs_v53/types/messages.SavedGifs.md @@ -0,0 +1,24 @@ +--- +title: messages.SavedGifs +description: constructors and methods of type messages.SavedGifs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.SavedGifs +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.savedGifsNotModified](../constructors/messages.savedGifsNotModified.md) + +[messages.savedGifs](../constructors/messages.savedGifs.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getSavedGifs](../methods/messages.getSavedGifs.md) + + + diff --git a/old_docs/API_docs_v53/types/messages.SentEncryptedMessage.md b/old_docs/API_docs_v53/types/messages.SentEncryptedMessage.md new file mode 100644 index 00000000..b6d05b1f --- /dev/null +++ b/old_docs/API_docs_v53/types/messages.SentEncryptedMessage.md @@ -0,0 +1,28 @@ +--- +title: messages.SentEncryptedMessage +description: constructors and methods of type messages.SentEncryptedMessage +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.SentEncryptedMessage +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.sentEncryptedMessage](../constructors/messages.sentEncryptedMessage.md) + +[messages.sentEncryptedFile](../constructors/messages.sentEncryptedFile.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->sendEncrypted](../methods/messages.sendEncrypted.md) + +[$MadelineProto->messages->sendEncryptedFile](../methods/messages.sendEncryptedFile.md) + +[$MadelineProto->messages->sendEncryptedService](../methods/messages.sendEncryptedService.md) + + + diff --git a/old_docs/API_docs_v53/types/messages.StickerSet.md b/old_docs/API_docs_v53/types/messages.StickerSet.md new file mode 100644 index 00000000..8de24a76 --- /dev/null +++ b/old_docs/API_docs_v53/types/messages.StickerSet.md @@ -0,0 +1,22 @@ +--- +title: messages.StickerSet +description: constructors and methods of type messages.StickerSet +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.StickerSet +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.stickerSet](../constructors/messages.stickerSet.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getStickerSet](../methods/messages.getStickerSet.md) + + + diff --git a/old_docs/API_docs_v53/types/messages.Stickers.md b/old_docs/API_docs_v53/types/messages.Stickers.md new file mode 100644 index 00000000..43bddf06 --- /dev/null +++ b/old_docs/API_docs_v53/types/messages.Stickers.md @@ -0,0 +1,24 @@ +--- +title: messages.Stickers +description: constructors and methods of type messages.Stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Stickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.stickersNotModified](../constructors/messages.stickersNotModified.md) + +[messages.stickers](../constructors/messages.stickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getStickers](../methods/messages.getStickers.md) + + + diff --git a/old_docs/API_docs_v53/types/messages_AffectedHistory.md b/old_docs/API_docs_v53/types/messages_AffectedHistory.md deleted file mode 100644 index a2d75894..00000000 --- a/old_docs/API_docs_v53/types/messages_AffectedHistory.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_AffectedHistory -description: constructors and methods of type messages_AffectedHistory -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_AffectedHistory -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_affectedHistory](../constructors/messages_affectedHistory.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->deleteHistory](../methods/messages_deleteHistory.md) - -[$MadelineProto->channels->deleteUserHistory](../methods/channels_deleteUserHistory.md) - - - diff --git a/old_docs/API_docs_v53/types/messages_AffectedMessages.md b/old_docs/API_docs_v53/types/messages_AffectedMessages.md deleted file mode 100644 index dcbea721..00000000 --- a/old_docs/API_docs_v53/types/messages_AffectedMessages.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: messages_AffectedMessages -description: constructors and methods of type messages_AffectedMessages -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_AffectedMessages -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_affectedMessages](../constructors/messages_affectedMessages.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->readHistory](../methods/messages_readHistory.md) - -[$MadelineProto->messages->deleteMessages](../methods/messages_deleteMessages.md) - -[$MadelineProto->messages->readMessageContents](../methods/messages_readMessageContents.md) - -[$MadelineProto->channels->deleteMessages](../methods/channels_deleteMessages.md) - - - diff --git a/old_docs/API_docs_v53/types/messages_AllStickers.md b/old_docs/API_docs_v53/types/messages_AllStickers.md deleted file mode 100644 index 59d19759..00000000 --- a/old_docs/API_docs_v53/types/messages_AllStickers.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_AllStickers -description: constructors and methods of type messages_AllStickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_AllStickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_allStickersNotModified](../constructors/messages_allStickersNotModified.md) - -[messages\_allStickers](../constructors/messages_allStickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getAllStickers](../methods/messages_getAllStickers.md) - - - diff --git a/old_docs/API_docs_v53/types/messages_BotCallbackAnswer.md b/old_docs/API_docs_v53/types/messages_BotCallbackAnswer.md deleted file mode 100644 index f8d424d0..00000000 --- a/old_docs/API_docs_v53/types/messages_BotCallbackAnswer.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_BotCallbackAnswer -description: constructors and methods of type messages_BotCallbackAnswer -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_BotCallbackAnswer -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_botCallbackAnswer](../constructors/messages_botCallbackAnswer.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getBotCallbackAnswer](../methods/messages_getBotCallbackAnswer.md) - - - diff --git a/old_docs/API_docs_v53/types/messages_BotResults.md b/old_docs/API_docs_v53/types/messages_BotResults.md deleted file mode 100644 index c346c5bd..00000000 --- a/old_docs/API_docs_v53/types/messages_BotResults.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_BotResults -description: constructors and methods of type messages_BotResults -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_BotResults -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_botResults](../constructors/messages_botResults.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getInlineBotResults](../methods/messages_getInlineBotResults.md) - - - diff --git a/old_docs/API_docs_v53/types/messages_ChatFull.md b/old_docs/API_docs_v53/types/messages_ChatFull.md deleted file mode 100644 index e4add41e..00000000 --- a/old_docs/API_docs_v53/types/messages_ChatFull.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_ChatFull -description: constructors and methods of type messages_ChatFull -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_ChatFull -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_chatFull](../constructors/messages_chatFull.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getFullChat](../methods/messages_getFullChat.md) - -[$MadelineProto->channels->getFullChannel](../methods/channels_getFullChannel.md) - - - diff --git a/old_docs/API_docs_v53/types/messages_Chats.md b/old_docs/API_docs_v53/types/messages_Chats.md deleted file mode 100644 index 18b8c0d7..00000000 --- a/old_docs/API_docs_v53/types/messages_Chats.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_Chats -description: constructors and methods of type messages_Chats -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Chats -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_chats](../constructors/messages_chats.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getChats](../methods/messages_getChats.md) - -[$MadelineProto->channels->getChannels](../methods/channels_getChannels.md) - - - diff --git a/old_docs/API_docs_v53/types/messages_DhConfig.md b/old_docs/API_docs_v53/types/messages_DhConfig.md deleted file mode 100644 index ce237411..00000000 --- a/old_docs/API_docs_v53/types/messages_DhConfig.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_DhConfig -description: constructors and methods of type messages_DhConfig -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_DhConfig -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_dhConfigNotModified](../constructors/messages_dhConfigNotModified.md) - -[messages\_dhConfig](../constructors/messages_dhConfig.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getDhConfig](../methods/messages_getDhConfig.md) - - - diff --git a/old_docs/API_docs_v53/types/messages_Dialogs.md b/old_docs/API_docs_v53/types/messages_Dialogs.md deleted file mode 100644 index 733a42c5..00000000 --- a/old_docs/API_docs_v53/types/messages_Dialogs.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_Dialogs -description: constructors and methods of type messages_Dialogs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Dialogs -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_dialogs](../constructors/messages_dialogs.md) - -[messages\_dialogsSlice](../constructors/messages_dialogsSlice.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getDialogs](../methods/messages_getDialogs.md) - - - diff --git a/old_docs/API_docs_v53/types/messages_FoundGifs.md b/old_docs/API_docs_v53/types/messages_FoundGifs.md deleted file mode 100644 index 9dd088ba..00000000 --- a/old_docs/API_docs_v53/types/messages_FoundGifs.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_FoundGifs -description: constructors and methods of type messages_FoundGifs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_FoundGifs -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_foundGifs](../constructors/messages_foundGifs.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->searchGifs](../methods/messages_searchGifs.md) - - - diff --git a/old_docs/API_docs_v53/types/messages_MessageEditData.md b/old_docs/API_docs_v53/types/messages_MessageEditData.md deleted file mode 100644 index ed3c507a..00000000 --- a/old_docs/API_docs_v53/types/messages_MessageEditData.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_MessageEditData -description: constructors and methods of type messages_MessageEditData -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_MessageEditData -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_messageEditData](../constructors/messages_messageEditData.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getMessageEditData](../methods/messages_getMessageEditData.md) - - - diff --git a/old_docs/API_docs_v53/types/messages_Messages.md b/old_docs/API_docs_v53/types/messages_Messages.md deleted file mode 100644 index cf034a7a..00000000 --- a/old_docs/API_docs_v53/types/messages_Messages.md +++ /dev/null @@ -1,34 +0,0 @@ ---- -title: messages_Messages -description: constructors and methods of type messages_Messages -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Messages -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_messages](../constructors/messages_messages.md) - -[messages\_messagesSlice](../constructors/messages_messagesSlice.md) - -[messages\_channelMessages](../constructors/messages_channelMessages.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getMessages](../methods/messages_getMessages.md) - -[$MadelineProto->messages->getHistory](../methods/messages_getHistory.md) - -[$MadelineProto->messages->search](../methods/messages_search.md) - -[$MadelineProto->channels->getMessages](../methods/channels_getMessages.md) - -[$MadelineProto->messages->searchGlobal](../methods/messages_searchGlobal.md) - - - diff --git a/old_docs/API_docs_v53/types/messages_PeerDialogs.md b/old_docs/API_docs_v53/types/messages_PeerDialogs.md deleted file mode 100644 index a48bc1cb..00000000 --- a/old_docs/API_docs_v53/types/messages_PeerDialogs.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_PeerDialogs -description: constructors and methods of type messages_PeerDialogs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_PeerDialogs -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_peerDialogs](../constructors/messages_peerDialogs.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getPeerDialogs](../methods/messages_getPeerDialogs.md) - - - diff --git a/old_docs/API_docs_v53/types/messages_SavedGifs.md b/old_docs/API_docs_v53/types/messages_SavedGifs.md deleted file mode 100644 index ffb000aa..00000000 --- a/old_docs/API_docs_v53/types/messages_SavedGifs.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_SavedGifs -description: constructors and methods of type messages_SavedGifs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_SavedGifs -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_savedGifsNotModified](../constructors/messages_savedGifsNotModified.md) - -[messages\_savedGifs](../constructors/messages_savedGifs.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getSavedGifs](../methods/messages_getSavedGifs.md) - - - diff --git a/old_docs/API_docs_v53/types/messages_SentEncryptedMessage.md b/old_docs/API_docs_v53/types/messages_SentEncryptedMessage.md deleted file mode 100644 index 9f7ab935..00000000 --- a/old_docs/API_docs_v53/types/messages_SentEncryptedMessage.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: messages_SentEncryptedMessage -description: constructors and methods of type messages_SentEncryptedMessage -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_SentEncryptedMessage -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_sentEncryptedMessage](../constructors/messages_sentEncryptedMessage.md) - -[messages\_sentEncryptedFile](../constructors/messages_sentEncryptedFile.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->sendEncrypted](../methods/messages_sendEncrypted.md) - -[$MadelineProto->messages->sendEncryptedFile](../methods/messages_sendEncryptedFile.md) - -[$MadelineProto->messages->sendEncryptedService](../methods/messages_sendEncryptedService.md) - - - diff --git a/old_docs/API_docs_v53/types/messages_StickerSet.md b/old_docs/API_docs_v53/types/messages_StickerSet.md deleted file mode 100644 index e04ee8bf..00000000 --- a/old_docs/API_docs_v53/types/messages_StickerSet.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_StickerSet -description: constructors and methods of type messages_StickerSet -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_StickerSet -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_stickerSet](../constructors/messages_stickerSet.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getStickerSet](../methods/messages_getStickerSet.md) - - - diff --git a/old_docs/API_docs_v53/types/messages_Stickers.md b/old_docs/API_docs_v53/types/messages_Stickers.md deleted file mode 100644 index cf53f57b..00000000 --- a/old_docs/API_docs_v53/types/messages_Stickers.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_Stickers -description: constructors and methods of type messages_Stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Stickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_stickersNotModified](../constructors/messages_stickersNotModified.md) - -[messages\_stickers](../constructors/messages_stickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getStickers](../methods/messages_getStickers.md) - - - diff --git a/old_docs/API_docs_v53/types/photos.Photo.md b/old_docs/API_docs_v53/types/photos.Photo.md new file mode 100644 index 00000000..d60f203c --- /dev/null +++ b/old_docs/API_docs_v53/types/photos.Photo.md @@ -0,0 +1,22 @@ +--- +title: photos.Photo +description: constructors and methods of type photos.Photo +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: photos.Photo +[Back to types index](index.md) + + + +### Possible values (constructors): + +[photos.photo](../constructors/photos.photo.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->photos->uploadProfilePhoto](../methods/photos.uploadProfilePhoto.md) + + + diff --git a/old_docs/API_docs_v53/types/photos.Photos.md b/old_docs/API_docs_v53/types/photos.Photos.md new file mode 100644 index 00000000..fff0e296 --- /dev/null +++ b/old_docs/API_docs_v53/types/photos.Photos.md @@ -0,0 +1,24 @@ +--- +title: photos.Photos +description: constructors and methods of type photos.Photos +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: photos.Photos +[Back to types index](index.md) + + + +### Possible values (constructors): + +[photos.photos](../constructors/photos.photos.md) + +[photos.photosSlice](../constructors/photos.photosSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->photos->getUserPhotos](../methods/photos.getUserPhotos.md) + + + diff --git a/old_docs/API_docs_v53/types/photos_Photo.md b/old_docs/API_docs_v53/types/photos_Photo.md deleted file mode 100644 index d11bbdef..00000000 --- a/old_docs/API_docs_v53/types/photos_Photo.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: photos_Photo -description: constructors and methods of type photos_Photo -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: photos\_Photo -[Back to types index](index.md) - - - -### Possible values (constructors): - -[photos\_photo](../constructors/photos_photo.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->photos->uploadProfilePhoto](../methods/photos_uploadProfilePhoto.md) - - - diff --git a/old_docs/API_docs_v53/types/photos_Photos.md b/old_docs/API_docs_v53/types/photos_Photos.md deleted file mode 100644 index 9875ad70..00000000 --- a/old_docs/API_docs_v53/types/photos_Photos.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: photos_Photos -description: constructors and methods of type photos_Photos -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: photos\_Photos -[Back to types index](index.md) - - - -### Possible values (constructors): - -[photos\_photos](../constructors/photos_photos.md) - -[photos\_photosSlice](../constructors/photos_photosSlice.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->photos->getUserPhotos](../methods/photos_getUserPhotos.md) - - - diff --git a/old_docs/API_docs_v53/types/storage.FileType.md b/old_docs/API_docs_v53/types/storage.FileType.md new file mode 100644 index 00000000..73dc8a92 --- /dev/null +++ b/old_docs/API_docs_v53/types/storage.FileType.md @@ -0,0 +1,38 @@ +--- +title: storage.FileType +description: constructors and methods of type storage.FileType +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: storage.FileType +[Back to types index](index.md) + + + +### Possible values (constructors): + +[storage.fileUnknown](../constructors/storage.fileUnknown.md) + +[storage.fileJpeg](../constructors/storage.fileJpeg.md) + +[storage.fileGif](../constructors/storage.fileGif.md) + +[storage.filePng](../constructors/storage.filePng.md) + +[storage.filePdf](../constructors/storage.filePdf.md) + +[storage.fileMp3](../constructors/storage.fileMp3.md) + +[storage.fileMov](../constructors/storage.fileMov.md) + +[storage.filePartial](../constructors/storage.filePartial.md) + +[storage.fileMp4](../constructors/storage.fileMp4.md) + +[storage.fileWebp](../constructors/storage.fileWebp.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v53/types/storage_FileType.md b/old_docs/API_docs_v53/types/storage_FileType.md deleted file mode 100644 index 076c52a4..00000000 --- a/old_docs/API_docs_v53/types/storage_FileType.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: storage_FileType -description: constructors and methods of type storage_FileType -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: storage\_FileType -[Back to types index](index.md) - - - -### Possible values (constructors): - -[storage\_fileUnknown](../constructors/storage_fileUnknown.md) - -[storage\_fileJpeg](../constructors/storage_fileJpeg.md) - -[storage\_fileGif](../constructors/storage_fileGif.md) - -[storage\_filePng](../constructors/storage_filePng.md) - -[storage\_filePdf](../constructors/storage_filePdf.md) - -[storage\_fileMp3](../constructors/storage_fileMp3.md) - -[storage\_fileMov](../constructors/storage_fileMov.md) - -[storage\_filePartial](../constructors/storage_filePartial.md) - -[storage\_fileMp4](../constructors/storage_fileMp4.md) - -[storage\_fileWebp](../constructors/storage_fileWebp.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v53/types/updates.ChannelDifference.md b/old_docs/API_docs_v53/types/updates.ChannelDifference.md new file mode 100644 index 00000000..ac889a1e --- /dev/null +++ b/old_docs/API_docs_v53/types/updates.ChannelDifference.md @@ -0,0 +1,26 @@ +--- +title: updates.ChannelDifference +description: constructors and methods of type updates.ChannelDifference +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: updates.ChannelDifference +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updates.channelDifferenceEmpty](../constructors/updates.channelDifferenceEmpty.md) + +[updates.channelDifferenceTooLong](../constructors/updates.channelDifferenceTooLong.md) + +[updates.channelDifference](../constructors/updates.channelDifference.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->updates->getChannelDifference](../methods/updates.getChannelDifference.md) + + + diff --git a/old_docs/API_docs_v53/types/updates.Difference.md b/old_docs/API_docs_v53/types/updates.Difference.md new file mode 100644 index 00000000..35998855 --- /dev/null +++ b/old_docs/API_docs_v53/types/updates.Difference.md @@ -0,0 +1,26 @@ +--- +title: updates.Difference +description: constructors and methods of type updates.Difference +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: updates.Difference +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updates.differenceEmpty](../constructors/updates.differenceEmpty.md) + +[updates.difference](../constructors/updates.difference.md) + +[updates.differenceSlice](../constructors/updates.differenceSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->updates->getDifference](../methods/updates.getDifference.md) + + + diff --git a/old_docs/API_docs_v53/types/updates.State.md b/old_docs/API_docs_v53/types/updates.State.md new file mode 100644 index 00000000..49bbb7fd --- /dev/null +++ b/old_docs/API_docs_v53/types/updates.State.md @@ -0,0 +1,22 @@ +--- +title: updates.State +description: constructors and methods of type updates.State +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: updates.State +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updates.state](../constructors/updates.state.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->updates->getState](../methods/updates.getState.md) + + + diff --git a/old_docs/API_docs_v53/types/updates_ChannelDifference.md b/old_docs/API_docs_v53/types/updates_ChannelDifference.md deleted file mode 100644 index dc988692..00000000 --- a/old_docs/API_docs_v53/types/updates_ChannelDifference.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: updates_ChannelDifference -description: constructors and methods of type updates_ChannelDifference -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: updates\_ChannelDifference -[Back to types index](index.md) - - - -### Possible values (constructors): - -[updates\_channelDifferenceEmpty](../constructors/updates_channelDifferenceEmpty.md) - -[updates\_channelDifferenceTooLong](../constructors/updates_channelDifferenceTooLong.md) - -[updates\_channelDifference](../constructors/updates_channelDifference.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->updates->getChannelDifference](../methods/updates_getChannelDifference.md) - - - diff --git a/old_docs/API_docs_v53/types/updates_Difference.md b/old_docs/API_docs_v53/types/updates_Difference.md deleted file mode 100644 index 0190189b..00000000 --- a/old_docs/API_docs_v53/types/updates_Difference.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: updates_Difference -description: constructors and methods of type updates_Difference -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: updates\_Difference -[Back to types index](index.md) - - - -### Possible values (constructors): - -[updates\_differenceEmpty](../constructors/updates_differenceEmpty.md) - -[updates\_difference](../constructors/updates_difference.md) - -[updates\_differenceSlice](../constructors/updates_differenceSlice.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->updates->getDifference](../methods/updates_getDifference.md) - - - diff --git a/old_docs/API_docs_v53/types/updates_State.md b/old_docs/API_docs_v53/types/updates_State.md deleted file mode 100644 index 7a441145..00000000 --- a/old_docs/API_docs_v53/types/updates_State.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: updates_State -description: constructors and methods of type updates_State -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: updates\_State -[Back to types index](index.md) - - - -### Possible values (constructors): - -[updates\_state](../constructors/updates_state.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->updates->getState](../methods/updates_getState.md) - - - diff --git a/old_docs/API_docs_v53/types/upload.File.md b/old_docs/API_docs_v53/types/upload.File.md new file mode 100644 index 00000000..922e6c7a --- /dev/null +++ b/old_docs/API_docs_v53/types/upload.File.md @@ -0,0 +1,22 @@ +--- +title: upload.File +description: constructors and methods of type upload.File +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: upload.File +[Back to types index](index.md) + + + +### Possible values (constructors): + +[upload.file](../constructors/upload.file.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->upload->getFile](../methods/upload.getFile.md) + + + diff --git a/old_docs/API_docs_v53/types/upload_File.md b/old_docs/API_docs_v53/types/upload_File.md deleted file mode 100644 index 6e3bc38d..00000000 --- a/old_docs/API_docs_v53/types/upload_File.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: upload_File -description: constructors and methods of type upload_File -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: upload\_File -[Back to types index](index.md) - - - -### Possible values (constructors): - -[upload\_file](../constructors/upload_file.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->upload->getFile](../methods/upload_getFile.md) - - - diff --git a/old_docs/API_docs_v55/constructors/README.md b/old_docs/API_docs_v55/constructors/README.md index 77a77697..87d5f083 100644 --- a/old_docs/API_docs_v55/constructors/README.md +++ b/old_docs/API_docs_v55/constructors/README.md @@ -6,46 +6,62 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png # Constructors [Back to API documentation index](..) +*** +

[$account.authorizations](../constructors/account.authorizations.md) = \['authorizations' => \[[Authorization](../types/Authorization.md)\], \]; + +*** +

[$account.noPassword](../constructors/account.noPassword.md) = \['new_salt' => [bytes](../types/bytes.md), 'email_unconfirmed_pattern' => [string](../types/string.md), \]; + +*** +

[$account.password](../constructors/account.password.md) = \['current_salt' => [bytes](../types/bytes.md), 'new_salt' => [bytes](../types/bytes.md), 'hint' => [string](../types/string.md), 'has_recovery' => [Bool](../types/Bool.md), 'email_unconfirmed_pattern' => [string](../types/string.md), \]; + +*** +

[$account.passwordInputSettings](../constructors/account.passwordInputSettings.md) = \['new_salt' => [bytes](../types/bytes.md), 'new_password_hash' => [bytes](../types/bytes.md), 'hint' => [string](../types/string.md), 'email' => [string](../types/string.md), \]; + +*** +

[$account.passwordSettings](../constructors/account.passwordSettings.md) = \['email' => [string](../types/string.md), \]; + +*** +

[$account.privacyRules](../constructors/account.privacyRules.md) = \['rules' => \[[PrivacyRule](../types/PrivacyRule.md)\], 'users' => \[[User](../types/User.md)\], \]; + ***

[$accountDaysTTL](../constructors/accountDaysTTL.md) = \['days' => [int](../types/int.md), \]; *** -

[$account\_authorizations](../constructors/account_authorizations.md) = \['authorizations' => \[[Authorization](../types/Authorization.md)\], \]; - -[$account\_noPassword](../constructors/account_noPassword.md) = \['new_salt' => [bytes](../types/bytes.md), 'email_unconfirmed_pattern' => [string](../types/string.md), \]; - -[$account\_password](../constructors/account_password.md) = \['current_salt' => [bytes](../types/bytes.md), 'new_salt' => [bytes](../types/bytes.md), 'hint' => [string](../types/string.md), 'has_recovery' => [Bool](../types/Bool.md), 'email_unconfirmed_pattern' => [string](../types/string.md), \]; - -[$account\_passwordInputSettings](../constructors/account_passwordInputSettings.md) = \['new_salt' => [bytes](../types/bytes.md), 'new_password_hash' => [bytes](../types/bytes.md), 'hint' => [string](../types/string.md), 'email' => [string](../types/string.md), \]; - -[$account\_passwordSettings](../constructors/account_passwordSettings.md) = \['email' => [string](../types/string.md), \]; - -[$account\_privacyRules](../constructors/account_privacyRules.md) = \['rules' => \[[PrivacyRule](../types/PrivacyRule.md)\], 'users' => \[[User](../types/User.md)\], \]; +

[$auth.authorization](../constructors/auth.authorization.md) = \['tmp_sessions' => [int](../types/int.md), 'user' => [User](../types/User.md), \]; *** -

[$auth\_authorization](../constructors/auth_authorization.md) = \['tmp_sessions' => [int](../types/int.md), 'user' => [User](../types/User.md), \]; +

[$auth.checkedPhone](../constructors/auth.checkedPhone.md) = \['phone_registered' => [Bool](../types/Bool.md), \]; -[$auth\_checkedPhone](../constructors/auth_checkedPhone.md) = \['phone_registered' => [Bool](../types/Bool.md), \]; +*** +

[$auth.codeTypeCall](../constructors/auth.codeTypeCall.md) = \[\]; -[$auth\_codeTypeCall](../constructors/auth_codeTypeCall.md) = \[\]; +*** +

[$auth.codeTypeFlashCall](../constructors/auth.codeTypeFlashCall.md) = \[\]; -[$auth\_codeTypeFlashCall](../constructors/auth_codeTypeFlashCall.md) = \[\]; +*** +

[$auth.codeTypeSms](../constructors/auth.codeTypeSms.md) = \[\]; -[$auth\_codeTypeSms](../constructors/auth_codeTypeSms.md) = \[\]; +*** +

[$auth.exportedAuthorization](../constructors/auth.exportedAuthorization.md) = \['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; -[$auth\_exportedAuthorization](../constructors/auth_exportedAuthorization.md) = \['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; +*** +

[$auth.passwordRecovery](../constructors/auth.passwordRecovery.md) = \['email_pattern' => [string](../types/string.md), \]; -[$auth\_passwordRecovery](../constructors/auth_passwordRecovery.md) = \['email_pattern' => [string](../types/string.md), \]; +*** +

[$auth.sentCode](../constructors/auth.sentCode.md) = \['phone_registered' => [Bool](../types/Bool.md), 'type' => [auth.SentCodeType](../types/auth.SentCodeType.md), 'phone_code_hash' => [string](../types/string.md), 'next_type' => [auth.CodeType](../types/auth.CodeType.md), 'timeout' => [int](../types/int.md), \]; -[$auth\_sentCode](../constructors/auth_sentCode.md) = \['phone_registered' => [Bool](../types/Bool.md), 'type' => [auth.SentCodeType](../types/auth.SentCodeType.md), 'phone_code_hash' => [string](../types/string.md), 'next_type' => [auth.CodeType](../types/auth.CodeType.md), 'timeout' => [int](../types/int.md), \]; +*** +

[$auth.sentCodeTypeApp](../constructors/auth.sentCodeTypeApp.md) = \['length' => [int](../types/int.md), \]; -[$auth\_sentCodeTypeApp](../constructors/auth_sentCodeTypeApp.md) = \['length' => [int](../types/int.md), \]; +*** +

[$auth.sentCodeTypeCall](../constructors/auth.sentCodeTypeCall.md) = \['length' => [int](../types/int.md), \]; -[$auth\_sentCodeTypeCall](../constructors/auth_sentCodeTypeCall.md) = \['length' => [int](../types/int.md), \]; +*** +

[$auth.sentCodeTypeFlashCall](../constructors/auth.sentCodeTypeFlashCall.md) = \['pattern' => [string](../types/string.md), \]; -[$auth\_sentCodeTypeFlashCall](../constructors/auth_sentCodeTypeFlashCall.md) = \['pattern' => [string](../types/string.md), \]; - -[$auth\_sentCodeTypeSms](../constructors/auth_sentCodeTypeSms.md) = \['length' => [int](../types/int.md), \]; +*** +

[$auth.sentCodeTypeSms](../constructors/auth.sentCodeTypeSms.md) = \['length' => [int](../types/int.md), \]; ***

[$authorization](../constructors/authorization.md) = \['hash' => [long](../types/long.md), 'device_model' => [string](../types/string.md), 'platform' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'api_id' => [int](../types/int.md), 'app_name' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'date_created' => [int](../types/int.md), 'date_active' => [int](../types/int.md), 'ip' => [string](../types/string.md), 'country' => [string](../types/string.md), 'region' => [string](../types/string.md), \]; @@ -138,9 +154,10 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$channelRoleModerator](../constructors/channelRoleModerator.md) = \[\]; *** -

[$channels\_channelParticipant](../constructors/channels_channelParticipant.md) = \['participant' => [ChannelParticipant](../types/ChannelParticipant.md), 'users' => \[[User](../types/User.md)\], \]; +

[$channels.channelParticipant](../constructors/channels.channelParticipant.md) = \['participant' => [ChannelParticipant](../types/ChannelParticipant.md), 'users' => \[[User](../types/User.md)\], \]; -[$channels\_channelParticipants](../constructors/channels_channelParticipants.md) = \['count' => [int](../types/int.md), 'participants' => \[[ChannelParticipant](../types/ChannelParticipant.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$channels.channelParticipants](../constructors/channels.channelParticipants.md) = \['count' => [int](../types/int.md), 'participants' => \[[ChannelParticipant](../types/ChannelParticipant.md)\], 'users' => \[[User](../types/User.md)\], \]; ***

[$chat](../constructors/chat.md) = \['creator' => [Bool](../types/Bool.md), 'kicked' => [Bool](../types/Bool.md), 'left' => [Bool](../types/Bool.md), 'admins_enabled' => [Bool](../types/Bool.md), 'admin' => [Bool](../types/Bool.md), 'deactivated' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'title' => [string](../types/string.md), 'photo' => [ChatPhoto](../types/ChatPhoto.md), 'participants_count' => [int](../types/int.md), 'date' => [int](../types/int.md), 'version' => [int](../types/int.md), 'migrated_to' => [InputChannel](../types/InputChannel.md), \]; @@ -212,25 +229,34 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$contactStatus](../constructors/contactStatus.md) = \['user_id' => [int](../types/int.md), 'status' => [UserStatus](../types/UserStatus.md), \]; *** -

[$contacts\_blocked](../constructors/contacts_blocked.md) = \['blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; +

[$contacts.blocked](../constructors/contacts.blocked.md) = \['blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_blockedSlice](../constructors/contacts_blockedSlice.md) = \['count' => [int](../types/int.md), 'blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.blockedSlice](../constructors/contacts.blockedSlice.md) = \['count' => [int](../types/int.md), 'blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_contacts](../constructors/contacts_contacts.md) = \['contacts' => \[[Contact](../types/Contact.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.contacts](../constructors/contacts.contacts.md) = \['contacts' => \[[Contact](../types/Contact.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_contactsNotModified](../constructors/contacts_contactsNotModified.md) = \[\]; +*** +

[$contacts.contactsNotModified](../constructors/contacts.contactsNotModified.md) = \[\]; -[$contacts\_found](../constructors/contacts_found.md) = \['results' => \[[Peer](../types/Peer.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.found](../constructors/contacts.found.md) = \['results' => \[[Peer](../types/Peer.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_importedContacts](../constructors/contacts_importedContacts.md) = \['imported' => \[[ImportedContact](../types/ImportedContact.md)\], 'retry_contacts' => \[[long](../types/long.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.importedContacts](../constructors/contacts.importedContacts.md) = \['imported' => \[[ImportedContact](../types/ImportedContact.md)\], 'retry_contacts' => \[[long](../types/long.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_link](../constructors/contacts_link.md) = \['my_link' => [ContactLink](../types/ContactLink.md), 'foreign_link' => [ContactLink](../types/ContactLink.md), 'user' => [User](../types/User.md), \]; +*** +

[$contacts.link](../constructors/contacts.link.md) = \['my_link' => [ContactLink](../types/ContactLink.md), 'foreign_link' => [ContactLink](../types/ContactLink.md), 'user' => [User](../types/User.md), \]; -[$contacts\_resolvedPeer](../constructors/contacts_resolvedPeer.md) = \['peer' => [Peer](../types/Peer.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.resolvedPeer](../constructors/contacts.resolvedPeer.md) = \['peer' => [Peer](../types/Peer.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_topPeers](../constructors/contacts_topPeers.md) = \['categories' => \[[TopPeerCategoryPeers](../types/TopPeerCategoryPeers.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.topPeers](../constructors/contacts.topPeers.md) = \['categories' => \[[TopPeerCategoryPeers](../types/TopPeerCategoryPeers.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_topPeersNotModified](../constructors/contacts_topPeersNotModified.md) = \[\]; +*** +

[$contacts.topPeersNotModified](../constructors/contacts.topPeersNotModified.md) = \[\]; ***

[$dcOption](../constructors/dcOption.md) = \['ipv6' => [Bool](../types/Bool.md), 'media_only' => [Bool](../types/Bool.md), 'tcpo_only' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'ip_address' => [string](../types/string.md), 'port' => [int](../types/int.md), \]; @@ -323,19 +349,25 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$geoPointEmpty](../constructors/geoPointEmpty.md) = \[\]; *** -

[$help\_appChangelog](../constructors/help_appChangelog.md) = \['text' => [string](../types/string.md), \]; +

[$help.appChangelog](../constructors/help.appChangelog.md) = \['text' => [string](../types/string.md), \]; -[$help\_appChangelogEmpty](../constructors/help_appChangelogEmpty.md) = \[\]; +*** +

[$help.appChangelogEmpty](../constructors/help.appChangelogEmpty.md) = \[\]; -[$help\_appUpdate](../constructors/help_appUpdate.md) = \['id' => [int](../types/int.md), 'critical' => [Bool](../types/Bool.md), 'url' => [string](../types/string.md), 'text' => [string](../types/string.md), \]; +*** +

[$help.appUpdate](../constructors/help.appUpdate.md) = \['id' => [int](../types/int.md), 'critical' => [Bool](../types/Bool.md), 'url' => [string](../types/string.md), 'text' => [string](../types/string.md), \]; -[$help\_inviteText](../constructors/help_inviteText.md) = \['message' => [string](../types/string.md), \]; +*** +

[$help.inviteText](../constructors/help.inviteText.md) = \['message' => [string](../types/string.md), \]; -[$help\_noAppUpdate](../constructors/help_noAppUpdate.md) = \[\]; +*** +

[$help.noAppUpdate](../constructors/help.noAppUpdate.md) = \[\]; -[$help\_support](../constructors/help_support.md) = \['phone_number' => [string](../types/string.md), 'user' => [User](../types/User.md), \]; +*** +

[$help.support](../constructors/help.support.md) = \['phone_number' => [string](../types/string.md), 'user' => [User](../types/User.md), \]; -[$help\_termsOfService](../constructors/help_termsOfService.md) = \['text' => [string](../types/string.md), \]; +*** +

[$help.termsOfService](../constructors/help.termsOfService.md) = \['text' => [string](../types/string.md), \]; ***

[$importedContact](../constructors/importedContact.md) = \['user_id' => [int](../types/int.md), 'client_id' => [long](../types/long.md), \]; @@ -737,69 +769,100 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$messageService](../constructors/messageService.md) = \['out' => [Bool](../types/Bool.md), 'mentioned' => [Bool](../types/Bool.md), 'media_unread' => [Bool](../types/Bool.md), 'silent' => [Bool](../types/Bool.md), 'post' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'from_id' => [int](../types/int.md), 'to_id' => [Peer](../types/Peer.md), 'reply_to_msg_id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'action' => [MessageAction](../types/MessageAction.md), \]; *** -

[$messages\_affectedHistory](../constructors/messages_affectedHistory.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), 'offset' => [int](../types/int.md), \]; +

[$messages.affectedHistory](../constructors/messages.affectedHistory.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), 'offset' => [int](../types/int.md), \]; -[$messages\_affectedMessages](../constructors/messages_affectedMessages.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; +*** +

[$messages.affectedMessages](../constructors/messages.affectedMessages.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; -[$messages\_allStickers](../constructors/messages_allStickers.md) = \['hash' => [int](../types/int.md), 'sets' => \[[StickerSet](../types/StickerSet.md)\], \]; +*** +

[$messages.allStickers](../constructors/messages.allStickers.md) = \['hash' => [int](../types/int.md), 'sets' => \[[StickerSet](../types/StickerSet.md)\], \]; -[$messages\_allStickersNotModified](../constructors/messages_allStickersNotModified.md) = \[\]; +*** +

[$messages.allStickersNotModified](../constructors/messages.allStickersNotModified.md) = \[\]; -[$messages\_archivedStickers](../constructors/messages_archivedStickers.md) = \['count' => [int](../types/int.md), 'sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], \]; +*** +

[$messages.archivedStickers](../constructors/messages.archivedStickers.md) = \['count' => [int](../types/int.md), 'sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], \]; -[$messages\_botCallbackAnswer](../constructors/messages_botCallbackAnswer.md) = \['alert' => [Bool](../types/Bool.md), 'message' => [string](../types/string.md), 'url' => [string](../types/string.md), \]; +*** +

[$messages.botCallbackAnswer](../constructors/messages.botCallbackAnswer.md) = \['alert' => [Bool](../types/Bool.md), 'message' => [string](../types/string.md), 'url' => [string](../types/string.md), \]; -[$messages\_botResults](../constructors/messages_botResults.md) = \['gallery' => [Bool](../types/Bool.md), 'query_id' => [long](../types/long.md), 'next_offset' => [string](../types/string.md), 'switch_pm' => [InlineBotSwitchPM](../types/InlineBotSwitchPM.md), 'results' => \[[BotInlineResult](../types/BotInlineResult.md)\], \]; +*** +

[$messages.botResults](../constructors/messages.botResults.md) = \['gallery' => [Bool](../types/Bool.md), 'query_id' => [long](../types/long.md), 'next_offset' => [string](../types/string.md), 'switch_pm' => [InlineBotSwitchPM](../types/InlineBotSwitchPM.md), 'results' => \[[BotInlineResult](../types/BotInlineResult.md)\], \]; -[$messages\_channelMessages](../constructors/messages_channelMessages.md) = \['pts' => [int](../types/int.md), 'count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.channelMessages](../constructors/messages.channelMessages.md) = \['pts' => [int](../types/int.md), 'count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_chatFull](../constructors/messages_chatFull.md) = \['full_chat' => [ChatFull](../types/ChatFull.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.chatFull](../constructors/messages.chatFull.md) = \['full_chat' => [ChatFull](../types/ChatFull.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_chats](../constructors/messages_chats.md) = \['chats' => \[[Chat](../types/Chat.md)\], \]; +*** +

[$messages.chats](../constructors/messages.chats.md) = \['chats' => \[[Chat](../types/Chat.md)\], \]; -[$messages\_dhConfig](../constructors/messages_dhConfig.md) = \['g' => [int](../types/int.md), 'p' => [bytes](../types/bytes.md), 'version' => [int](../types/int.md), 'random' => [bytes](../types/bytes.md), \]; +*** +

[$messages.dhConfig](../constructors/messages.dhConfig.md) = \['g' => [int](../types/int.md), 'p' => [bytes](../types/bytes.md), 'version' => [int](../types/int.md), 'random' => [bytes](../types/bytes.md), \]; -[$messages\_dhConfigNotModified](../constructors/messages_dhConfigNotModified.md) = \['random' => [bytes](../types/bytes.md), \]; +*** +

[$messages.dhConfigNotModified](../constructors/messages.dhConfigNotModified.md) = \['random' => [bytes](../types/bytes.md), \]; -[$messages\_dialogs](../constructors/messages_dialogs.md) = \['dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.dialogs](../constructors/messages.dialogs.md) = \['dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_dialogsSlice](../constructors/messages_dialogsSlice.md) = \['count' => [int](../types/int.md), 'dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.dialogsSlice](../constructors/messages.dialogsSlice.md) = \['count' => [int](../types/int.md), 'dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_featuredStickers](../constructors/messages_featuredStickers.md) = \['hash' => [int](../types/int.md), 'sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], 'unread' => \[[long](../types/long.md)\], \]; +*** +

[$messages.featuredStickers](../constructors/messages.featuredStickers.md) = \['hash' => [int](../types/int.md), 'sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], 'unread' => \[[long](../types/long.md)\], \]; -[$messages\_featuredStickersNotModified](../constructors/messages_featuredStickersNotModified.md) = \[\]; +*** +

[$messages.featuredStickersNotModified](../constructors/messages.featuredStickersNotModified.md) = \[\]; -[$messages\_foundGifs](../constructors/messages_foundGifs.md) = \['next_offset' => [int](../types/int.md), 'results' => \[[FoundGif](../types/FoundGif.md)\], \]; +*** +

[$messages.foundGifs](../constructors/messages.foundGifs.md) = \['next_offset' => [int](../types/int.md), 'results' => \[[FoundGif](../types/FoundGif.md)\], \]; -[$messages\_messageEditData](../constructors/messages_messageEditData.md) = \['caption' => [Bool](../types/Bool.md), \]; +*** +

[$messages.messageEditData](../constructors/messages.messageEditData.md) = \['caption' => [Bool](../types/Bool.md), \]; -[$messages\_messages](../constructors/messages_messages.md) = \['messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.messages](../constructors/messages.messages.md) = \['messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_messagesSlice](../constructors/messages_messagesSlice.md) = \['count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.messagesSlice](../constructors/messages.messagesSlice.md) = \['count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_peerDialogs](../constructors/messages_peerDialogs.md) = \['dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'state' => [updates.State](../types/updates.State.md), \]; +*** +

[$messages.peerDialogs](../constructors/messages.peerDialogs.md) = \['dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'state' => [updates.State](../types/updates.State.md), \]; -[$messages\_recentStickers](../constructors/messages_recentStickers.md) = \['hash' => [int](../types/int.md), 'stickers' => \[[Document](../types/Document.md)\], \]; +*** +

[$messages.recentStickers](../constructors/messages.recentStickers.md) = \['hash' => [int](../types/int.md), 'stickers' => \[[Document](../types/Document.md)\], \]; -[$messages\_recentStickersNotModified](../constructors/messages_recentStickersNotModified.md) = \[\]; +*** +

[$messages.recentStickersNotModified](../constructors/messages.recentStickersNotModified.md) = \[\]; -[$messages\_savedGifs](../constructors/messages_savedGifs.md) = \['hash' => [int](../types/int.md), 'gifs' => \[[Document](../types/Document.md)\], \]; +*** +

[$messages.savedGifs](../constructors/messages.savedGifs.md) = \['hash' => [int](../types/int.md), 'gifs' => \[[Document](../types/Document.md)\], \]; -[$messages\_savedGifsNotModified](../constructors/messages_savedGifsNotModified.md) = \[\]; +*** +

[$messages.savedGifsNotModified](../constructors/messages.savedGifsNotModified.md) = \[\]; -[$messages\_sentEncryptedFile](../constructors/messages_sentEncryptedFile.md) = \['date' => [int](../types/int.md), 'file' => [EncryptedFile](../types/EncryptedFile.md), \]; +*** +

[$messages.sentEncryptedFile](../constructors/messages.sentEncryptedFile.md) = \['date' => [int](../types/int.md), 'file' => [EncryptedFile](../types/EncryptedFile.md), \]; -[$messages\_sentEncryptedMessage](../constructors/messages_sentEncryptedMessage.md) = \['date' => [int](../types/int.md), \]; +*** +

[$messages.sentEncryptedMessage](../constructors/messages.sentEncryptedMessage.md) = \['date' => [int](../types/int.md), \]; -[$messages\_stickerSet](../constructors/messages_stickerSet.md) = \['set' => [StickerSet](../types/StickerSet.md), 'packs' => \[[StickerPack](../types/StickerPack.md)\], 'documents' => \[[Document](../types/Document.md)\], \]; +*** +

[$messages.stickerSet](../constructors/messages.stickerSet.md) = \['set' => [StickerSet](../types/StickerSet.md), 'packs' => \[[StickerPack](../types/StickerPack.md)\], 'documents' => \[[Document](../types/Document.md)\], \]; -[$messages\_stickerSetInstallResultArchive](../constructors/messages_stickerSetInstallResultArchive.md) = \['sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], \]; +*** +

[$messages.stickerSetInstallResultArchive](../constructors/messages.stickerSetInstallResultArchive.md) = \['sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], \]; -[$messages\_stickerSetInstallResultSuccess](../constructors/messages_stickerSetInstallResultSuccess.md) = \[\]; +*** +

[$messages.stickerSetInstallResultSuccess](../constructors/messages.stickerSetInstallResultSuccess.md) = \[\]; -[$messages\_stickers](../constructors/messages_stickers.md) = \['hash' => [string](../types/string.md), 'stickers' => \[[Document](../types/Document.md)\], \]; +*** +

[$messages.stickers](../constructors/messages.stickers.md) = \['hash' => [string](../types/string.md), 'stickers' => \[[Document](../types/Document.md)\], \]; -[$messages\_stickersNotModified](../constructors/messages_stickersNotModified.md) = \[\]; +*** +

[$messages.stickersNotModified](../constructors/messages.stickersNotModified.md) = \[\]; ***

[$nearestDc](../constructors/nearestDc.md) = \['country' => [string](../types/string.md), 'this_dc' => [int](../types/int.md), 'nearest_dc' => [int](../types/int.md), \]; @@ -859,11 +922,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$photoSizeEmpty](../constructors/photoSizeEmpty.md) = \['type' => [string](../types/string.md), \]; *** -

[$photos\_photo](../constructors/photos_photo.md) = \['photo' => [Photo](../types/Photo.md), 'users' => \[[User](../types/User.md)\], \]; +

[$photos.photo](../constructors/photos.photo.md) = \['photo' => [Photo](../types/Photo.md), 'users' => \[[User](../types/User.md)\], \]; -[$photos\_photos](../constructors/photos_photos.md) = \['photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$photos.photos](../constructors/photos.photos.md) = \['photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$photos\_photosSlice](../constructors/photos_photosSlice.md) = \['count' => [int](../types/int.md), 'photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$photos.photosSlice](../constructors/photos.photosSlice.md) = \['count' => [int](../types/int.md), 'photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; ***

[$privacyKeyChatInvite](../constructors/privacyKeyChatInvite.md) = \[\]; @@ -944,25 +1009,34 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$stickerSetCovered](../constructors/stickerSetCovered.md) = \['set' => [StickerSet](../types/StickerSet.md), 'cover' => [Document](../types/Document.md), \]; *** -

[$storage\_fileGif](../constructors/storage_fileGif.md) = \[\]; +

[$storage.fileGif](../constructors/storage.fileGif.md) = \[\]; -[$storage\_fileJpeg](../constructors/storage_fileJpeg.md) = \[\]; +*** +

[$storage.fileJpeg](../constructors/storage.fileJpeg.md) = \[\]; -[$storage\_fileMov](../constructors/storage_fileMov.md) = \[\]; +*** +

[$storage.fileMov](../constructors/storage.fileMov.md) = \[\]; -[$storage\_fileMp3](../constructors/storage_fileMp3.md) = \[\]; +*** +

[$storage.fileMp3](../constructors/storage.fileMp3.md) = \[\]; -[$storage\_fileMp4](../constructors/storage_fileMp4.md) = \[\]; +*** +

[$storage.fileMp4](../constructors/storage.fileMp4.md) = \[\]; -[$storage\_filePartial](../constructors/storage_filePartial.md) = \[\]; +*** +

[$storage.filePartial](../constructors/storage.filePartial.md) = \[\]; -[$storage\_filePdf](../constructors/storage_filePdf.md) = \[\]; +*** +

[$storage.filePdf](../constructors/storage.filePdf.md) = \[\]; -[$storage\_filePng](../constructors/storage_filePng.md) = \[\]; +*** +

[$storage.filePng](../constructors/storage.filePng.md) = \[\]; -[$storage\_fileUnknown](../constructors/storage_fileUnknown.md) = \[\]; +*** +

[$storage.fileUnknown](../constructors/storage.fileUnknown.md) = \[\]; -[$storage\_fileWebp](../constructors/storage_fileWebp.md) = \[\]; +*** +

[$storage.fileWebp](../constructors/storage.fileWebp.md) = \[\]; ***

[$topPeer](../constructors/topPeer.md) = \['peer' => [Peer](../types/Peer.md), 'rating' => [double](../types/double.md), \]; @@ -1156,6 +1230,27 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ***

[$updates](../constructors/updates.md) = \['updates' => \[[Update](../types/Update.md)\], 'users' => \[[User](../types/User.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'date' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; +*** +

[$updates.channelDifference](../constructors/updates.channelDifference.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), 'new_messages' => \[[Message](../types/Message.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +*** +

[$updates.channelDifferenceEmpty](../constructors/updates.channelDifferenceEmpty.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), \]; + +*** +

[$updates.channelDifferenceTooLong](../constructors/updates.channelDifferenceTooLong.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), 'top_message' => [int](../types/int.md), 'read_inbox_max_id' => [int](../types/int.md), 'read_outbox_max_id' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +*** +

[$updates.difference](../constructors/updates.difference.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'state' => [updates.State](../types/updates.State.md), \]; + +*** +

[$updates.differenceEmpty](../constructors/updates.differenceEmpty.md) = \['date' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; + +*** +

[$updates.differenceSlice](../constructors/updates.differenceSlice.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'intermediate_state' => [updates.State](../types/updates.State.md), \]; + +*** +

[$updates.state](../constructors/updates.state.md) = \['pts' => [int](../types/int.md), 'qts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'seq' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), \]; + ***

[$updatesCombined](../constructors/updatesCombined.md) = \['updates' => \[[Update](../types/Update.md)\], 'users' => \[[User](../types/User.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'date' => [int](../types/int.md), 'seq_start' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; @@ -1163,22 +1258,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$updatesTooLong](../constructors/updatesTooLong.md) = \[\]; *** -

[$updates\_channelDifference](../constructors/updates_channelDifference.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), 'new_messages' => \[[Message](../types/Message.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; - -[$updates\_channelDifferenceEmpty](../constructors/updates_channelDifferenceEmpty.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), \]; - -[$updates\_channelDifferenceTooLong](../constructors/updates_channelDifferenceTooLong.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), 'top_message' => [int](../types/int.md), 'read_inbox_max_id' => [int](../types/int.md), 'read_outbox_max_id' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; - -[$updates\_difference](../constructors/updates_difference.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'state' => [updates.State](../types/updates.State.md), \]; - -[$updates\_differenceEmpty](../constructors/updates_differenceEmpty.md) = \['date' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; - -[$updates\_differenceSlice](../constructors/updates_differenceSlice.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'intermediate_state' => [updates.State](../types/updates.State.md), \]; - -[$updates\_state](../constructors/updates_state.md) = \['pts' => [int](../types/int.md), 'qts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'seq' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), \]; - -*** -

[$upload\_file](../constructors/upload_file.md) = \['type' => [storage.FileType](../types/storage.FileType.md), 'mtime' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; +

[$upload.file](../constructors/upload.file.md) = \['type' => [storage.FileType](../types/storage.FileType.md), 'mtime' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; ***

[$user](../constructors/user.md) = \['self' => [Bool](../types/Bool.md), 'contact' => [Bool](../types/Bool.md), 'mutual_contact' => [Bool](../types/Bool.md), 'deleted' => [Bool](../types/Bool.md), 'bot' => [Bool](../types/Bool.md), 'bot_chat_history' => [Bool](../types/Bool.md), 'bot_nochats' => [Bool](../types/Bool.md), 'verified' => [Bool](../types/Bool.md), 'restricted' => [Bool](../types/Bool.md), 'min' => [Bool](../types/Bool.md), 'bot_inline_geo' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), 'username' => [string](../types/string.md), 'phone' => [string](../types/string.md), 'photo' => [UserProfilePhoto](../types/UserProfilePhoto.md), 'status' => [UserStatus](../types/UserStatus.md), 'bot_info_version' => [int](../types/int.md), 'restriction_reason' => [string](../types/string.md), 'bot_inline_placeholder' => [string](../types/string.md), \]; diff --git a/old_docs/API_docs_v55/constructors/account.authorizations.md b/old_docs/API_docs_v55/constructors/account.authorizations.md new file mode 100644 index 00000000..53c961f0 --- /dev/null +++ b/old_docs/API_docs_v55/constructors/account.authorizations.md @@ -0,0 +1,38 @@ +--- +title: account.authorizations +description: Logged-in sessions +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.authorizations +[Back to constructors index](index.md) + + + +Logged-in sessions + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|authorizations|Array of [Authorization](../types/Authorization.md) | Yes|Authorizations| + + + +### Type: [account.Authorizations](../types/account.Authorizations.md) + + +### Example: + +```php +$account.authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization, Authorization]]; +``` + + +Or, if you're into Lua: + +```lua +account.authorizations={_='account.authorizations', authorizations={Authorization}} + +``` + + diff --git a/old_docs/API_docs_v55/constructors/account.noPassword.md b/old_docs/API_docs_v55/constructors/account.noPassword.md new file mode 100644 index 00000000..4dcdc515 --- /dev/null +++ b/old_docs/API_docs_v55/constructors/account.noPassword.md @@ -0,0 +1,39 @@ +--- +title: account.noPassword +description: No password +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.noPassword +[Back to constructors index](index.md) + + + +No password + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|new\_salt|[bytes](../types/bytes.md) | Yes|New salt| +|email\_unconfirmed\_pattern|[string](../types/string.md) | Yes|Email unconfirmed pattern| + + + +### Type: [account.Password](../types/account.Password.md) + + +### Example: + +```php +$account.noPassword = ['_' => 'account.noPassword', 'new_salt' => 'bytes', 'email_unconfirmed_pattern' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +account.noPassword={_='account.noPassword', new_salt='bytes', email_unconfirmed_pattern='string'} + +``` + + diff --git a/old_docs/API_docs_v55/constructors/account.password.md b/old_docs/API_docs_v55/constructors/account.password.md new file mode 100644 index 00000000..9e86a73a --- /dev/null +++ b/old_docs/API_docs_v55/constructors/account.password.md @@ -0,0 +1,42 @@ +--- +title: account.password +description: Configuration for two-factor authorization +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.password +[Back to constructors index](index.md) + + + +Configuration for two-factor authorization + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|current\_salt|[bytes](../types/bytes.md) | Yes|Current salt| +|new\_salt|[bytes](../types/bytes.md) | Yes|New salt| +|hint|[string](../types/string.md) | Yes|Text hint for the password| +|has\_recovery|[Bool](../types/Bool.md) | Yes|Has recovery?| +|email\_unconfirmed\_pattern|[string](../types/string.md) | Yes|A [password recovery email](https://core.telegram.org/api/srp#email-verification) with the specified [pattern](https://core.telegram.org/api/pattern) is still awaiting verification| + + + +### Type: [account.Password](../types/account.Password.md) + + +### Example: + +```php +$account.password = ['_' => 'account.password', 'current_salt' => 'bytes', 'new_salt' => 'bytes', 'hint' => 'string', 'has_recovery' => Bool, 'email_unconfirmed_pattern' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +account.password={_='account.password', current_salt='bytes', new_salt='bytes', hint='string', has_recovery=Bool, email_unconfirmed_pattern='string'} + +``` + + diff --git a/old_docs/API_docs_v55/constructors/account.passwordInputSettings.md b/old_docs/API_docs_v55/constructors/account.passwordInputSettings.md new file mode 100644 index 00000000..c440115a --- /dev/null +++ b/old_docs/API_docs_v55/constructors/account.passwordInputSettings.md @@ -0,0 +1,41 @@ +--- +title: account.passwordInputSettings +description: Settings for setting up a new password +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.passwordInputSettings +[Back to constructors index](index.md) + + + +Settings for setting up a new password + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|new\_salt|[bytes](../types/bytes.md) | Optional|`$new_salt = $MadelineProto->account->getPassword()['new_salt'].$MadelineProto->random(8);`| +|new\_password\_hash|[bytes](../types/bytes.md) | Optional|The [computed password hash](https://core.telegram.org/api/srp)| +|hint|[string](../types/string.md) | Optional|Text hint for the password| +|email|[string](../types/string.md) | Optional|Password recovery email| + + + +### Type: [account.PasswordInputSettings](../types/account.PasswordInputSettings.md) + + +### Example: + +```php +$account.passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_salt' => 'bytes', 'new_password_hash' => 'bytes', 'hint' => 'string', 'email' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +account.passwordInputSettings={_='account.passwordInputSettings', new_salt='bytes', new_password_hash='bytes', hint='string', email='string'} + +``` + + diff --git a/old_docs/API_docs_v55/constructors/account.passwordSettings.md b/old_docs/API_docs_v55/constructors/account.passwordSettings.md new file mode 100644 index 00000000..be899d34 --- /dev/null +++ b/old_docs/API_docs_v55/constructors/account.passwordSettings.md @@ -0,0 +1,38 @@ +--- +title: account.passwordSettings +description: Private info associated to the password info (recovery email, telegram [passport](https://core.telegram.org/passport) info & so on) +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.passwordSettings +[Back to constructors index](index.md) + + + +Private info associated to the password info (recovery email, telegram [passport](https://core.telegram.org/passport) info & so on) + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|email|[string](../types/string.md) | Yes|[2FA Recovery email](https://core.telegram.org/api/srp#email-verification)| + + + +### Type: [account.PasswordSettings](../types/account.PasswordSettings.md) + + +### Example: + +```php +$account.passwordSettings = ['_' => 'account.passwordSettings', 'email' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +account.passwordSettings={_='account.passwordSettings', email='string'} + +``` + + diff --git a/old_docs/API_docs_v55/constructors/account.privacyRules.md b/old_docs/API_docs_v55/constructors/account.privacyRules.md new file mode 100644 index 00000000..7ae04abb --- /dev/null +++ b/old_docs/API_docs_v55/constructors/account.privacyRules.md @@ -0,0 +1,39 @@ +--- +title: account.privacyRules +description: Privacy rules +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.privacyRules +[Back to constructors index](index.md) + + + +Privacy rules + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|rules|Array of [PrivacyRule](../types/PrivacyRule.md) | Yes|Rules| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [account.PrivacyRules](../types/account.PrivacyRules.md) + + +### Example: + +```php +$account.privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule, PrivacyRule], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +account.privacyRules={_='account.privacyRules', rules={PrivacyRule}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v55/constructors/account_authorizations.md b/old_docs/API_docs_v55/constructors/account_authorizations.md deleted file mode 100644 index aeae48f3..00000000 --- a/old_docs/API_docs_v55/constructors/account_authorizations.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: account.authorizations -description: Logged-in sessions -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.authorizations -[Back to constructors index](index.md) - - - -Logged-in sessions - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|authorizations|Array of [Authorization](../types/Authorization.md) | Yes|Authorizations| - - - -### Type: [account\_Authorizations](../types/account_Authorizations.md) - - -### Example: - -```php -$account_authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization, Authorization]]; -``` - - -Or, if you're into Lua: - -```lua -account_authorizations={_='account.authorizations', authorizations={Authorization}} - -``` - - diff --git a/old_docs/API_docs_v55/constructors/account_noPassword.md b/old_docs/API_docs_v55/constructors/account_noPassword.md deleted file mode 100644 index 10ef7b2a..00000000 --- a/old_docs/API_docs_v55/constructors/account_noPassword.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: account.noPassword -description: No password -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.noPassword -[Back to constructors index](index.md) - - - -No password - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|new\_salt|[bytes](../types/bytes.md) | Yes|New salt| -|email\_unconfirmed\_pattern|[string](../types/string.md) | Yes|Email unconfirmed pattern| - - - -### Type: [account\_Password](../types/account_Password.md) - - -### Example: - -```php -$account_noPassword = ['_' => 'account.noPassword', 'new_salt' => 'bytes', 'email_unconfirmed_pattern' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -account_noPassword={_='account.noPassword', new_salt='bytes', email_unconfirmed_pattern='string'} - -``` - - diff --git a/old_docs/API_docs_v55/constructors/account_password.md b/old_docs/API_docs_v55/constructors/account_password.md deleted file mode 100644 index a9f512e8..00000000 --- a/old_docs/API_docs_v55/constructors/account_password.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: account.password -description: Configuration for two-factor authorization -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.password -[Back to constructors index](index.md) - - - -Configuration for two-factor authorization - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|current\_salt|[bytes](../types/bytes.md) | Yes|Current salt| -|new\_salt|[bytes](../types/bytes.md) | Yes|New salt| -|hint|[string](../types/string.md) | Yes|Text hint for the password| -|has\_recovery|[Bool](../types/Bool.md) | Yes|Has recovery?| -|email\_unconfirmed\_pattern|[string](../types/string.md) | Yes|A [password recovery email](https://core.telegram.org/api/srp#email-verification) with the specified [pattern](https://core.telegram.org/api/pattern) is still awaiting verification| - - - -### Type: [account\_Password](../types/account_Password.md) - - -### Example: - -```php -$account_password = ['_' => 'account.password', 'current_salt' => 'bytes', 'new_salt' => 'bytes', 'hint' => 'string', 'has_recovery' => Bool, 'email_unconfirmed_pattern' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -account_password={_='account.password', current_salt='bytes', new_salt='bytes', hint='string', has_recovery=Bool, email_unconfirmed_pattern='string'} - -``` - - diff --git a/old_docs/API_docs_v55/constructors/account_passwordInputSettings.md b/old_docs/API_docs_v55/constructors/account_passwordInputSettings.md deleted file mode 100644 index 05ec666b..00000000 --- a/old_docs/API_docs_v55/constructors/account_passwordInputSettings.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: account.passwordInputSettings -description: Settings for setting up a new password -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.passwordInputSettings -[Back to constructors index](index.md) - - - -Settings for setting up a new password - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|new\_salt|[bytes](../types/bytes.md) | Optional|`$new_salt = $MadelineProto->account->getPassword()['new_salt'].$MadelineProto->random(8);`| -|new\_password\_hash|[bytes](../types/bytes.md) | Optional|The [computed password hash](https://core.telegram.org/api/srp)| -|hint|[string](../types/string.md) | Optional|Text hint for the password| -|email|[string](../types/string.md) | Optional|Password recovery email| - - - -### Type: [account\_PasswordInputSettings](../types/account_PasswordInputSettings.md) - - -### Example: - -```php -$account_passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_salt' => 'bytes', 'new_password_hash' => 'bytes', 'hint' => 'string', 'email' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -account_passwordInputSettings={_='account.passwordInputSettings', new_salt='bytes', new_password_hash='bytes', hint='string', email='string'} - -``` - - diff --git a/old_docs/API_docs_v55/constructors/account_passwordSettings.md b/old_docs/API_docs_v55/constructors/account_passwordSettings.md deleted file mode 100644 index e22f9cc4..00000000 --- a/old_docs/API_docs_v55/constructors/account_passwordSettings.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: account.passwordSettings -description: Private info associated to the password info (recovery email, telegram [passport](https://core.telegram.org/passport) info & so on) -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.passwordSettings -[Back to constructors index](index.md) - - - -Private info associated to the password info (recovery email, telegram [passport](https://core.telegram.org/passport) info & so on) - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|email|[string](../types/string.md) | Yes|[2FA Recovery email](https://core.telegram.org/api/srp#email-verification)| - - - -### Type: [account\_PasswordSettings](../types/account_PasswordSettings.md) - - -### Example: - -```php -$account_passwordSettings = ['_' => 'account.passwordSettings', 'email' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -account_passwordSettings={_='account.passwordSettings', email='string'} - -``` - - diff --git a/old_docs/API_docs_v55/constructors/account_privacyRules.md b/old_docs/API_docs_v55/constructors/account_privacyRules.md deleted file mode 100644 index 28b260b7..00000000 --- a/old_docs/API_docs_v55/constructors/account_privacyRules.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: account.privacyRules -description: Privacy rules -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.privacyRules -[Back to constructors index](index.md) - - - -Privacy rules - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|rules|Array of [PrivacyRule](../types/PrivacyRule.md) | Yes|Rules| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [account\_PrivacyRules](../types/account_PrivacyRules.md) - - -### Example: - -```php -$account_privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule, PrivacyRule], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -account_privacyRules={_='account.privacyRules', rules={PrivacyRule}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v55/constructors/auth.authorization.md b/old_docs/API_docs_v55/constructors/auth.authorization.md new file mode 100644 index 00000000..2a84bb12 --- /dev/null +++ b/old_docs/API_docs_v55/constructors/auth.authorization.md @@ -0,0 +1,39 @@ +--- +title: auth.authorization +description: Contains user authorization info. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.authorization +[Back to constructors index](index.md) + + + +Contains user authorization info. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|tmp\_sessions|[int](../types/int.md) | Optional|Temporary [passport](https://core.telegram.org/passport) sessions| +|user|[User](../types/User.md) | Optional|Info on authorized user| + + + +### Type: [auth.Authorization](../types/auth.Authorization.md) + + +### Example: + +```php +$auth.authorization = ['_' => 'auth.authorization', 'tmp_sessions' => int, 'user' => User]; +``` + + +Or, if you're into Lua: + +```lua +auth.authorization={_='auth.authorization', tmp_sessions=int, user=User} + +``` + + diff --git a/old_docs/API_docs_v55/constructors/auth.checkedPhone.md b/old_docs/API_docs_v55/constructors/auth.checkedPhone.md new file mode 100644 index 00000000..23e84cf9 --- /dev/null +++ b/old_docs/API_docs_v55/constructors/auth.checkedPhone.md @@ -0,0 +1,38 @@ +--- +title: auth.checkedPhone +description: Checked phone +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.checkedPhone +[Back to constructors index](index.md) + + + +Checked phone + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_registered|[Bool](../types/Bool.md) | Yes|Phone registered?| + + + +### Type: [auth.CheckedPhone](../types/auth.CheckedPhone.md) + + +### Example: + +```php +$auth.checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool]; +``` + + +Or, if you're into Lua: + +```lua +auth.checkedPhone={_='auth.checkedPhone', phone_registered=Bool} + +``` + + diff --git a/old_docs/API_docs_v55/constructors/auth.codeTypeCall.md b/old_docs/API_docs_v55/constructors/auth.codeTypeCall.md new file mode 100644 index 00000000..4b4a1cdc --- /dev/null +++ b/old_docs/API_docs_v55/constructors/auth.codeTypeCall.md @@ -0,0 +1,33 @@ +--- +title: auth.codeTypeCall +description: Type of verification code that will be sent next if you call the resendCode method: SMS code +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.codeTypeCall +[Back to constructors index](index.md) + + + +Type of verification code that will be sent next if you call the resendCode method: SMS code + + + + +### Type: [auth.CodeType](../types/auth.CodeType.md) + + +### Example: + +```php +$auth.codeTypeCall = ['_' => 'auth.codeTypeCall']; +``` + + +Or, if you're into Lua: + +```lua +auth.codeTypeCall={_='auth.codeTypeCall'} + +``` + + diff --git a/old_docs/API_docs_v55/constructors/auth.codeTypeFlashCall.md b/old_docs/API_docs_v55/constructors/auth.codeTypeFlashCall.md new file mode 100644 index 00000000..ef97e034 --- /dev/null +++ b/old_docs/API_docs_v55/constructors/auth.codeTypeFlashCall.md @@ -0,0 +1,33 @@ +--- +title: auth.codeTypeFlashCall +description: Type of verification code that will be sent next if you call the resendCode method: SMS code +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.codeTypeFlashCall +[Back to constructors index](index.md) + + + +Type of verification code that will be sent next if you call the resendCode method: SMS code + + + + +### Type: [auth.CodeType](../types/auth.CodeType.md) + + +### Example: + +```php +$auth.codeTypeFlashCall = ['_' => 'auth.codeTypeFlashCall']; +``` + + +Or, if you're into Lua: + +```lua +auth.codeTypeFlashCall={_='auth.codeTypeFlashCall'} + +``` + + diff --git a/old_docs/API_docs_v55/constructors/auth.codeTypeSms.md b/old_docs/API_docs_v55/constructors/auth.codeTypeSms.md new file mode 100644 index 00000000..bab9a5a4 --- /dev/null +++ b/old_docs/API_docs_v55/constructors/auth.codeTypeSms.md @@ -0,0 +1,33 @@ +--- +title: auth.codeTypeSms +description: Type of verification code that will be sent next if you call the resendCode method: SMS code +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.codeTypeSms +[Back to constructors index](index.md) + + + +Type of verification code that will be sent next if you call the resendCode method: SMS code + + + + +### Type: [auth.CodeType](../types/auth.CodeType.md) + + +### Example: + +```php +$auth.codeTypeSms = ['_' => 'auth.codeTypeSms']; +``` + + +Or, if you're into Lua: + +```lua +auth.codeTypeSms={_='auth.codeTypeSms'} + +``` + + diff --git a/old_docs/API_docs_v55/constructors/auth.exportedAuthorization.md b/old_docs/API_docs_v55/constructors/auth.exportedAuthorization.md new file mode 100644 index 00000000..2a4a9896 --- /dev/null +++ b/old_docs/API_docs_v55/constructors/auth.exportedAuthorization.md @@ -0,0 +1,39 @@ +--- +title: auth.exportedAuthorization +description: Data for copying of authorization between data centres. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.exportedAuthorization +[Back to constructors index](index.md) + + + +Data for copying of authorization between data centres. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|id|[int](../types/int.md) | Yes|Current user identifier| +|bytes|[bytes](../types/bytes.md) | Yes|Authorizes key| + + + +### Type: [auth.ExportedAuthorization](../types/auth.ExportedAuthorization.md) + + +### Example: + +```php +$auth.exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +auth.exportedAuthorization={_='auth.exportedAuthorization', id=int, bytes='bytes'} + +``` + + diff --git a/old_docs/API_docs_v55/constructors/auth.passwordRecovery.md b/old_docs/API_docs_v55/constructors/auth.passwordRecovery.md new file mode 100644 index 00000000..61de922d --- /dev/null +++ b/old_docs/API_docs_v55/constructors/auth.passwordRecovery.md @@ -0,0 +1,38 @@ +--- +title: auth.passwordRecovery +description: Recovery info of a [2FA password](https://core.telegram.org/api/srp), only for accounts with a [recovery email configured](https://core.telegram.org/api/srp#email-verification). +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.passwordRecovery +[Back to constructors index](index.md) + + + +Recovery info of a [2FA password](https://core.telegram.org/api/srp), only for accounts with a [recovery email configured](https://core.telegram.org/api/srp#email-verification). + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|email\_pattern|[string](../types/string.md) | Yes|The email to which the recovery code was sent must match this [pattern](https://core.telegram.org/api/pattern).| + + + +### Type: [auth.PasswordRecovery](../types/auth.PasswordRecovery.md) + + +### Example: + +```php +$auth.passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +auth.passwordRecovery={_='auth.passwordRecovery', email_pattern='string'} + +``` + + diff --git a/old_docs/API_docs_v55/constructors/auth.sentCode.md b/old_docs/API_docs_v55/constructors/auth.sentCode.md new file mode 100644 index 00000000..25e94704 --- /dev/null +++ b/old_docs/API_docs_v55/constructors/auth.sentCode.md @@ -0,0 +1,42 @@ +--- +title: auth.sentCode +description: Contains info about a sent verification code. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentCode +[Back to constructors index](index.md) + + + +Contains info about a sent verification code. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_registered|[Bool](../types/Bool.md) | Optional|Phone registered?| +|type|[auth.SentCodeType](../constructors/auth.SentCodeType.md) | Yes|Phone code type| +|phone\_code\_hash|[string](../types/string.md) | Yes|Phone code hash, to be stored and later re-used with [auth.signIn](../methods/auth.signIn.md)| +|next\_type|[auth.CodeType](../constructors/auth.CodeType.md) | Optional|Phone code type that will be sent next, if the phone code is not received within `timeout` seconds: to send it use [auth.resendCode](../methods/auth.resendCode.md)| +|timeout|[int](../types/int.md) | Optional|Timeout for reception of the phone code| + + + +### Type: [auth.SentCode](../types/auth.SentCode.md) + + +### Example: + +```php +$auth.sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'type' => auth.SentCodeType, 'phone_code_hash' => 'string', 'next_type' => auth.CodeType, 'timeout' => int]; +``` + + +Or, if you're into Lua: + +```lua +auth.sentCode={_='auth.sentCode', phone_registered=Bool, type=auth.SentCodeType, phone_code_hash='string', next_type=auth.CodeType, timeout=int} + +``` + + diff --git a/old_docs/API_docs_v55/constructors/auth.sentCodeTypeApp.md b/old_docs/API_docs_v55/constructors/auth.sentCodeTypeApp.md new file mode 100644 index 00000000..5f2d4aa3 --- /dev/null +++ b/old_docs/API_docs_v55/constructors/auth.sentCodeTypeApp.md @@ -0,0 +1,38 @@ +--- +title: auth.sentCodeTypeApp +description: The code was sent through the telegram app +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentCodeTypeApp +[Back to constructors index](index.md) + + + +The code was sent through the telegram app + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|length|[int](../types/int.md) | Yes|Length of the code in bytes| + + + +### Type: [auth.SentCodeType](../types/auth.SentCodeType.md) + + +### Example: + +```php +$auth.sentCodeTypeApp = ['_' => 'auth.sentCodeTypeApp', 'length' => int]; +``` + + +Or, if you're into Lua: + +```lua +auth.sentCodeTypeApp={_='auth.sentCodeTypeApp', length=int} + +``` + + diff --git a/old_docs/API_docs_v55/constructors/auth.sentCodeTypeCall.md b/old_docs/API_docs_v55/constructors/auth.sentCodeTypeCall.md new file mode 100644 index 00000000..9843b3df --- /dev/null +++ b/old_docs/API_docs_v55/constructors/auth.sentCodeTypeCall.md @@ -0,0 +1,38 @@ +--- +title: auth.sentCodeTypeCall +description: The code will be sent via a phone call: a synthesized voice will tell the user which verification code to input. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentCodeTypeCall +[Back to constructors index](index.md) + + + +The code will be sent via a phone call: a synthesized voice will tell the user which verification code to input. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|length|[int](../types/int.md) | Yes|Length of the verification code| + + + +### Type: [auth.SentCodeType](../types/auth.SentCodeType.md) + + +### Example: + +```php +$auth.sentCodeTypeCall = ['_' => 'auth.sentCodeTypeCall', 'length' => int]; +``` + + +Or, if you're into Lua: + +```lua +auth.sentCodeTypeCall={_='auth.sentCodeTypeCall', length=int} + +``` + + diff --git a/old_docs/API_docs_v55/constructors/auth.sentCodeTypeFlashCall.md b/old_docs/API_docs_v55/constructors/auth.sentCodeTypeFlashCall.md new file mode 100644 index 00000000..0d24751d --- /dev/null +++ b/old_docs/API_docs_v55/constructors/auth.sentCodeTypeFlashCall.md @@ -0,0 +1,38 @@ +--- +title: auth.sentCodeTypeFlashCall +description: The code will be sent via a flash phone call, that will be closed immediately. The phone code will then be the phone number itself, just make sure that the phone number matches the specified pattern. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentCodeTypeFlashCall +[Back to constructors index](index.md) + + + +The code will be sent via a flash phone call, that will be closed immediately. The phone code will then be the phone number itself, just make sure that the phone number matches the specified pattern. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pattern|[string](../types/string.md) | Yes|[pattern](https://core.telegram.org/api/pattern) to match| + + + +### Type: [auth.SentCodeType](../types/auth.SentCodeType.md) + + +### Example: + +```php +$auth.sentCodeTypeFlashCall = ['_' => 'auth.sentCodeTypeFlashCall', 'pattern' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +auth.sentCodeTypeFlashCall={_='auth.sentCodeTypeFlashCall', pattern='string'} + +``` + + diff --git a/old_docs/API_docs_v55/constructors/auth.sentCodeTypeSms.md b/old_docs/API_docs_v55/constructors/auth.sentCodeTypeSms.md new file mode 100644 index 00000000..d8ecb75e --- /dev/null +++ b/old_docs/API_docs_v55/constructors/auth.sentCodeTypeSms.md @@ -0,0 +1,38 @@ +--- +title: auth.sentCodeTypeSms +description: The code was sent via SMS +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentCodeTypeSms +[Back to constructors index](index.md) + + + +The code was sent via SMS + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|length|[int](../types/int.md) | Yes|Length of the code in bytes| + + + +### Type: [auth.SentCodeType](../types/auth.SentCodeType.md) + + +### Example: + +```php +$auth.sentCodeTypeSms = ['_' => 'auth.sentCodeTypeSms', 'length' => int]; +``` + + +Or, if you're into Lua: + +```lua +auth.sentCodeTypeSms={_='auth.sentCodeTypeSms', length=int} + +``` + + diff --git a/old_docs/API_docs_v55/constructors/auth_authorization.md b/old_docs/API_docs_v55/constructors/auth_authorization.md deleted file mode 100644 index cb72811d..00000000 --- a/old_docs/API_docs_v55/constructors/auth_authorization.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: auth.authorization -description: Contains user authorization info. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.authorization -[Back to constructors index](index.md) - - - -Contains user authorization info. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|tmp\_sessions|[int](../types/int.md) | Optional|Temporary [passport](https://core.telegram.org/passport) sessions| -|user|[User](../types/User.md) | Optional|Info on authorized user| - - - -### Type: [auth\_Authorization](../types/auth_Authorization.md) - - -### Example: - -```php -$auth_authorization = ['_' => 'auth.authorization', 'tmp_sessions' => int, 'user' => User]; -``` - - -Or, if you're into Lua: - -```lua -auth_authorization={_='auth.authorization', tmp_sessions=int, user=User} - -``` - - diff --git a/old_docs/API_docs_v55/constructors/auth_checkedPhone.md b/old_docs/API_docs_v55/constructors/auth_checkedPhone.md deleted file mode 100644 index c77becf6..00000000 --- a/old_docs/API_docs_v55/constructors/auth_checkedPhone.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.checkedPhone -description: Checked phone -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.checkedPhone -[Back to constructors index](index.md) - - - -Checked phone - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_registered|[Bool](../types/Bool.md) | Yes|Phone registered?| - - - -### Type: [auth\_CheckedPhone](../types/auth_CheckedPhone.md) - - -### Example: - -```php -$auth_checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool]; -``` - - -Or, if you're into Lua: - -```lua -auth_checkedPhone={_='auth.checkedPhone', phone_registered=Bool} - -``` - - diff --git a/old_docs/API_docs_v55/constructors/auth_codeTypeCall.md b/old_docs/API_docs_v55/constructors/auth_codeTypeCall.md deleted file mode 100644 index 3e957c2a..00000000 --- a/old_docs/API_docs_v55/constructors/auth_codeTypeCall.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: auth.codeTypeCall -description: Type of verification code that will be sent next if you call the resendCode method: SMS code -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.codeTypeCall -[Back to constructors index](index.md) - - - -Type of verification code that will be sent next if you call the resendCode method: SMS code - - - - -### Type: [auth\_CodeType](../types/auth_CodeType.md) - - -### Example: - -```php -$auth_codeTypeCall = ['_' => 'auth.codeTypeCall']; -``` - - -Or, if you're into Lua: - -```lua -auth_codeTypeCall={_='auth.codeTypeCall'} - -``` - - diff --git a/old_docs/API_docs_v55/constructors/auth_codeTypeFlashCall.md b/old_docs/API_docs_v55/constructors/auth_codeTypeFlashCall.md deleted file mode 100644 index 981b2461..00000000 --- a/old_docs/API_docs_v55/constructors/auth_codeTypeFlashCall.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: auth.codeTypeFlashCall -description: Type of verification code that will be sent next if you call the resendCode method: SMS code -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.codeTypeFlashCall -[Back to constructors index](index.md) - - - -Type of verification code that will be sent next if you call the resendCode method: SMS code - - - - -### Type: [auth\_CodeType](../types/auth_CodeType.md) - - -### Example: - -```php -$auth_codeTypeFlashCall = ['_' => 'auth.codeTypeFlashCall']; -``` - - -Or, if you're into Lua: - -```lua -auth_codeTypeFlashCall={_='auth.codeTypeFlashCall'} - -``` - - diff --git a/old_docs/API_docs_v55/constructors/auth_codeTypeSms.md b/old_docs/API_docs_v55/constructors/auth_codeTypeSms.md deleted file mode 100644 index 16eb5d0d..00000000 --- a/old_docs/API_docs_v55/constructors/auth_codeTypeSms.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: auth.codeTypeSms -description: Type of verification code that will be sent next if you call the resendCode method: SMS code -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.codeTypeSms -[Back to constructors index](index.md) - - - -Type of verification code that will be sent next if you call the resendCode method: SMS code - - - - -### Type: [auth\_CodeType](../types/auth_CodeType.md) - - -### Example: - -```php -$auth_codeTypeSms = ['_' => 'auth.codeTypeSms']; -``` - - -Or, if you're into Lua: - -```lua -auth_codeTypeSms={_='auth.codeTypeSms'} - -``` - - diff --git a/old_docs/API_docs_v55/constructors/auth_exportedAuthorization.md b/old_docs/API_docs_v55/constructors/auth_exportedAuthorization.md deleted file mode 100644 index 8d18916e..00000000 --- a/old_docs/API_docs_v55/constructors/auth_exportedAuthorization.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: auth.exportedAuthorization -description: Data for copying of authorization between data centres. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.exportedAuthorization -[Back to constructors index](index.md) - - - -Data for copying of authorization between data centres. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|id|[int](../types/int.md) | Yes|Current user identifier| -|bytes|[bytes](../types/bytes.md) | Yes|Authorizes key| - - - -### Type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) - - -### Example: - -```php -$auth_exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -auth_exportedAuthorization={_='auth.exportedAuthorization', id=int, bytes='bytes'} - -``` - - diff --git a/old_docs/API_docs_v55/constructors/auth_passwordRecovery.md b/old_docs/API_docs_v55/constructors/auth_passwordRecovery.md deleted file mode 100644 index c40f375e..00000000 --- a/old_docs/API_docs_v55/constructors/auth_passwordRecovery.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.passwordRecovery -description: Recovery info of a [2FA password](https://core.telegram.org/api/srp), only for accounts with a [recovery email configured](https://core.telegram.org/api/srp#email-verification). -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.passwordRecovery -[Back to constructors index](index.md) - - - -Recovery info of a [2FA password](https://core.telegram.org/api/srp), only for accounts with a [recovery email configured](https://core.telegram.org/api/srp#email-verification). - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|email\_pattern|[string](../types/string.md) | Yes|The email to which the recovery code was sent must match this [pattern](https://core.telegram.org/api/pattern).| - - - -### Type: [auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) - - -### Example: - -```php -$auth_passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -auth_passwordRecovery={_='auth.passwordRecovery', email_pattern='string'} - -``` - - diff --git a/old_docs/API_docs_v55/constructors/auth_sentCode.md b/old_docs/API_docs_v55/constructors/auth_sentCode.md deleted file mode 100644 index 622c4137..00000000 --- a/old_docs/API_docs_v55/constructors/auth_sentCode.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: auth.sentCode -description: Contains info about a sent verification code. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentCode -[Back to constructors index](index.md) - - - -Contains info about a sent verification code. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_registered|[Bool](../types/Bool.md) | Optional|Phone registered?| -|type|[auth\_SentCodeType](../types/auth_SentCodeType.md) | Yes|Phone code type| -|phone\_code\_hash|[string](../types/string.md) | Yes|Phone code hash, to be stored and later re-used with [auth.signIn](../methods/auth.signIn.md)| -|next\_type|[auth\_CodeType](../types/auth_CodeType.md) | Optional|Phone code type that will be sent next, if the phone code is not received within `timeout` seconds: to send it use [auth.resendCode](../methods/auth.resendCode.md)| -|timeout|[int](../types/int.md) | Optional|Timeout for reception of the phone code| - - - -### Type: [auth\_SentCode](../types/auth_SentCode.md) - - -### Example: - -```php -$auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'type' => auth_SentCodeType, 'phone_code_hash' => 'string', 'next_type' => auth_CodeType, 'timeout' => int]; -``` - - -Or, if you're into Lua: - -```lua -auth_sentCode={_='auth.sentCode', phone_registered=Bool, type=auth_SentCodeType, phone_code_hash='string', next_type=auth_CodeType, timeout=int} - -``` - - diff --git a/old_docs/API_docs_v55/constructors/auth_sentCodeTypeApp.md b/old_docs/API_docs_v55/constructors/auth_sentCodeTypeApp.md deleted file mode 100644 index 6b7ad824..00000000 --- a/old_docs/API_docs_v55/constructors/auth_sentCodeTypeApp.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.sentCodeTypeApp -description: The code was sent through the telegram app -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentCodeTypeApp -[Back to constructors index](index.md) - - - -The code was sent through the telegram app - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|length|[int](../types/int.md) | Yes|Length of the code in bytes| - - - -### Type: [auth\_SentCodeType](../types/auth_SentCodeType.md) - - -### Example: - -```php -$auth_sentCodeTypeApp = ['_' => 'auth.sentCodeTypeApp', 'length' => int]; -``` - - -Or, if you're into Lua: - -```lua -auth_sentCodeTypeApp={_='auth.sentCodeTypeApp', length=int} - -``` - - diff --git a/old_docs/API_docs_v55/constructors/auth_sentCodeTypeCall.md b/old_docs/API_docs_v55/constructors/auth_sentCodeTypeCall.md deleted file mode 100644 index bf025aa5..00000000 --- a/old_docs/API_docs_v55/constructors/auth_sentCodeTypeCall.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.sentCodeTypeCall -description: The code will be sent via a phone call: a synthesized voice will tell the user which verification code to input. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentCodeTypeCall -[Back to constructors index](index.md) - - - -The code will be sent via a phone call: a synthesized voice will tell the user which verification code to input. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|length|[int](../types/int.md) | Yes|Length of the verification code| - - - -### Type: [auth\_SentCodeType](../types/auth_SentCodeType.md) - - -### Example: - -```php -$auth_sentCodeTypeCall = ['_' => 'auth.sentCodeTypeCall', 'length' => int]; -``` - - -Or, if you're into Lua: - -```lua -auth_sentCodeTypeCall={_='auth.sentCodeTypeCall', length=int} - -``` - - diff --git a/old_docs/API_docs_v55/constructors/auth_sentCodeTypeFlashCall.md b/old_docs/API_docs_v55/constructors/auth_sentCodeTypeFlashCall.md deleted file mode 100644 index efe64ce7..00000000 --- a/old_docs/API_docs_v55/constructors/auth_sentCodeTypeFlashCall.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.sentCodeTypeFlashCall -description: The code will be sent via a flash phone call, that will be closed immediately. The phone code will then be the phone number itself, just make sure that the phone number matches the specified pattern. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentCodeTypeFlashCall -[Back to constructors index](index.md) - - - -The code will be sent via a flash phone call, that will be closed immediately. The phone code will then be the phone number itself, just make sure that the phone number matches the specified pattern. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pattern|[string](../types/string.md) | Yes|[pattern](https://core.telegram.org/api/pattern) to match| - - - -### Type: [auth\_SentCodeType](../types/auth_SentCodeType.md) - - -### Example: - -```php -$auth_sentCodeTypeFlashCall = ['_' => 'auth.sentCodeTypeFlashCall', 'pattern' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -auth_sentCodeTypeFlashCall={_='auth.sentCodeTypeFlashCall', pattern='string'} - -``` - - diff --git a/old_docs/API_docs_v55/constructors/auth_sentCodeTypeSms.md b/old_docs/API_docs_v55/constructors/auth_sentCodeTypeSms.md deleted file mode 100644 index 8e27dac9..00000000 --- a/old_docs/API_docs_v55/constructors/auth_sentCodeTypeSms.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.sentCodeTypeSms -description: The code was sent via SMS -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentCodeTypeSms -[Back to constructors index](index.md) - - - -The code was sent via SMS - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|length|[int](../types/int.md) | Yes|Length of the code in bytes| - - - -### Type: [auth\_SentCodeType](../types/auth_SentCodeType.md) - - -### Example: - -```php -$auth_sentCodeTypeSms = ['_' => 'auth.sentCodeTypeSms', 'length' => int]; -``` - - -Or, if you're into Lua: - -```lua -auth_sentCodeTypeSms={_='auth.sentCodeTypeSms', length=int} - -``` - - diff --git a/old_docs/API_docs_v55/constructors/channels.channelParticipant.md b/old_docs/API_docs_v55/constructors/channels.channelParticipant.md new file mode 100644 index 00000000..0f09777f --- /dev/null +++ b/old_docs/API_docs_v55/constructors/channels.channelParticipant.md @@ -0,0 +1,39 @@ +--- +title: channels.channelParticipant +description: Represents a channel participant +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: channels.channelParticipant +[Back to constructors index](index.md) + + + +Represents a channel participant + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|participant|[ChannelParticipant](../types/ChannelParticipant.md) | Yes|The channel participant| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [channels.ChannelParticipant](../types/channels.ChannelParticipant.md) + + +### Example: + +```php +$channels.channelParticipant = ['_' => 'channels.channelParticipant', 'participant' => ChannelParticipant, 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +channels.channelParticipant={_='channels.channelParticipant', participant=ChannelParticipant, users={User}} + +``` + + diff --git a/old_docs/API_docs_v55/constructors/channels.channelParticipants.md b/old_docs/API_docs_v55/constructors/channels.channelParticipants.md new file mode 100644 index 00000000..6ee1a8b3 --- /dev/null +++ b/old_docs/API_docs_v55/constructors/channels.channelParticipants.md @@ -0,0 +1,40 @@ +--- +title: channels.channelParticipants +description: Represents multiple channel participants +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: channels.channelParticipants +[Back to constructors index](index.md) + + + +Represents multiple channel participants + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of participants that correspond to the given query| +|participants|Array of [ChannelParticipant](../types/ChannelParticipant.md) | Yes|Participants| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [channels.ChannelParticipants](../types/channels.ChannelParticipants.md) + + +### Example: + +```php +$channels.channelParticipants = ['_' => 'channels.channelParticipants', 'count' => int, 'participants' => [ChannelParticipant, ChannelParticipant], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +channels.channelParticipants={_='channels.channelParticipants', count=int, participants={ChannelParticipant}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v55/constructors/channels_channelParticipant.md b/old_docs/API_docs_v55/constructors/channels_channelParticipant.md deleted file mode 100644 index 15fe46a4..00000000 --- a/old_docs/API_docs_v55/constructors/channels_channelParticipant.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: channels.channelParticipant -description: Represents a channel participant -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: channels.channelParticipant -[Back to constructors index](index.md) - - - -Represents a channel participant - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|participant|[ChannelParticipant](../types/ChannelParticipant.md) | Yes|The channel participant| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [channels\_ChannelParticipant](../types/channels_ChannelParticipant.md) - - -### Example: - -```php -$channels_channelParticipant = ['_' => 'channels.channelParticipant', 'participant' => ChannelParticipant, 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -channels_channelParticipant={_='channels.channelParticipant', participant=ChannelParticipant, users={User}} - -``` - - diff --git a/old_docs/API_docs_v55/constructors/channels_channelParticipants.md b/old_docs/API_docs_v55/constructors/channels_channelParticipants.md deleted file mode 100644 index 1848a04f..00000000 --- a/old_docs/API_docs_v55/constructors/channels_channelParticipants.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: channels.channelParticipants -description: Represents multiple channel participants -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: channels.channelParticipants -[Back to constructors index](index.md) - - - -Represents multiple channel participants - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of participants that correspond to the given query| -|participants|Array of [ChannelParticipant](../types/ChannelParticipant.md) | Yes|Participants| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [channels\_ChannelParticipants](../types/channels_ChannelParticipants.md) - - -### Example: - -```php -$channels_channelParticipants = ['_' => 'channels.channelParticipants', 'count' => int, 'participants' => [ChannelParticipant, ChannelParticipant], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -channels_channelParticipants={_='channels.channelParticipants', count=int, participants={ChannelParticipant}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v55/constructors/contacts.blocked.md b/old_docs/API_docs_v55/constructors/contacts.blocked.md new file mode 100644 index 00000000..d2b3f680 --- /dev/null +++ b/old_docs/API_docs_v55/constructors/contacts.blocked.md @@ -0,0 +1,39 @@ +--- +title: contacts.blocked +description: Full list of blocked users. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.blocked +[Back to constructors index](index.md) + + + +Full list of blocked users. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Blocked](../types/contacts.Blocked.md) + + +### Example: + +```php +$contacts.blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.blocked={_='contacts.blocked', blocked={ContactBlocked}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v55/constructors/contacts.blockedSlice.md b/old_docs/API_docs_v55/constructors/contacts.blockedSlice.md new file mode 100644 index 00000000..92d19c72 --- /dev/null +++ b/old_docs/API_docs_v55/constructors/contacts.blockedSlice.md @@ -0,0 +1,40 @@ +--- +title: contacts.blockedSlice +description: Incomplete list of blocked users. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.blockedSlice +[Back to constructors index](index.md) + + + +Incomplete list of blocked users. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of elements in the list| +|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Blocked](../types/contacts.Blocked.md) + + +### Example: + +```php +$contacts.blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.blockedSlice={_='contacts.blockedSlice', count=int, blocked={ContactBlocked}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v55/constructors/contacts.contacts.md b/old_docs/API_docs_v55/constructors/contacts.contacts.md new file mode 100644 index 00000000..d4ccc018 --- /dev/null +++ b/old_docs/API_docs_v55/constructors/contacts.contacts.md @@ -0,0 +1,39 @@ +--- +title: contacts.contacts +description: The current user's contact list and info on users. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.contacts +[Back to constructors index](index.md) + + + +The current user's contact list and info on users. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|contacts|Array of [Contact](../types/Contact.md) | Yes|Contacts| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Contacts](../types/contacts.Contacts.md) + + +### Example: + +```php +$contacts.contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact, Contact], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.contacts={_='contacts.contacts', contacts={Contact}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v55/constructors/contacts.contactsNotModified.md b/old_docs/API_docs_v55/constructors/contacts.contactsNotModified.md new file mode 100644 index 00000000..e2149396 --- /dev/null +++ b/old_docs/API_docs_v55/constructors/contacts.contactsNotModified.md @@ -0,0 +1,33 @@ +--- +title: contacts.contactsNotModified +description: Contact list on the server is the same as the list on the client. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.contactsNotModified +[Back to constructors index](index.md) + + + +Contact list on the server is the same as the list on the client. + + + + +### Type: [contacts.Contacts](../types/contacts.Contacts.md) + + +### Example: + +```php +$contacts.contactsNotModified = ['_' => 'contacts.contactsNotModified']; +``` + + +Or, if you're into Lua: + +```lua +contacts.contactsNotModified={_='contacts.contactsNotModified'} + +``` + + diff --git a/old_docs/API_docs_v55/constructors/contacts.found.md b/old_docs/API_docs_v55/constructors/contacts.found.md new file mode 100644 index 00000000..1eaa93b7 --- /dev/null +++ b/old_docs/API_docs_v55/constructors/contacts.found.md @@ -0,0 +1,40 @@ +--- +title: contacts.found +description: Users found by name substring and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.found +[Back to constructors index](index.md) + + + +Users found by name substring and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|results|Array of [Peer](../types/Peer.md) | Yes|Results| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Found](../types/contacts.Found.md) + + +### Example: + +```php +$contacts.found = ['_' => 'contacts.found', 'results' => [Peer, Peer], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.found={_='contacts.found', results={Peer}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v55/constructors/contacts.importedContacts.md b/old_docs/API_docs_v55/constructors/contacts.importedContacts.md new file mode 100644 index 00000000..1cbff59a --- /dev/null +++ b/old_docs/API_docs_v55/constructors/contacts.importedContacts.md @@ -0,0 +1,40 @@ +--- +title: contacts.importedContacts +description: Info on succesfully imported contacts. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.importedContacts +[Back to constructors index](index.md) + + + +Info on succesfully imported contacts. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|imported|Array of [ImportedContact](../types/ImportedContact.md) | Yes|Imported| +|retry\_contacts|Array of [long](../types/long.md) | Yes|Retry importing contacts whose client IDs appear here| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.ImportedContacts](../types/contacts.ImportedContacts.md) + + +### Example: + +```php +$contacts.importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact, ImportedContact], 'retry_contacts' => [long, long], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.importedContacts={_='contacts.importedContacts', imported={ImportedContact}, retry_contacts={long}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v55/constructors/contacts.link.md b/old_docs/API_docs_v55/constructors/contacts.link.md new file mode 100644 index 00000000..ab150a0d --- /dev/null +++ b/old_docs/API_docs_v55/constructors/contacts.link.md @@ -0,0 +1,40 @@ +--- +title: contacts.link +description: Link +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.link +[Back to constructors index](index.md) + + + +Link + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|my\_link|[ContactLink](../types/ContactLink.md) | Yes|My link| +|foreign\_link|[ContactLink](../types/ContactLink.md) | Yes|Foreign link| +|user|[User](../types/User.md) | Optional|User| + + + +### Type: [contacts.Link](../types/contacts.Link.md) + + +### Example: + +```php +$contacts.link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User]; +``` + + +Or, if you're into Lua: + +```lua +contacts.link={_='contacts.link', my_link=ContactLink, foreign_link=ContactLink, user=User} + +``` + + diff --git a/old_docs/API_docs_v55/constructors/contacts.resolvedPeer.md b/old_docs/API_docs_v55/constructors/contacts.resolvedPeer.md new file mode 100644 index 00000000..35d88481 --- /dev/null +++ b/old_docs/API_docs_v55/constructors/contacts.resolvedPeer.md @@ -0,0 +1,40 @@ +--- +title: contacts.resolvedPeer +description: Resolved peer +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.resolvedPeer +[Back to constructors index](index.md) + + + +Resolved peer + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|peer|[Peer](../types/Peer.md) | Yes|The peer| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.ResolvedPeer](../types/contacts.ResolvedPeer.md) + + +### Example: + +```php +$contacts.resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.resolvedPeer={_='contacts.resolvedPeer', peer=Peer, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v55/constructors/contacts.topPeers.md b/old_docs/API_docs_v55/constructors/contacts.topPeers.md new file mode 100644 index 00000000..19d9c712 --- /dev/null +++ b/old_docs/API_docs_v55/constructors/contacts.topPeers.md @@ -0,0 +1,40 @@ +--- +title: contacts.topPeers +description: Top peers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.topPeers +[Back to constructors index](index.md) + + + +Top peers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|categories|Array of [TopPeerCategoryPeers](../types/TopPeerCategoryPeers.md) | Yes|Categories| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.TopPeers](../types/contacts.TopPeers.md) + + +### Example: + +```php +$contacts.topPeers = ['_' => 'contacts.topPeers', 'categories' => [TopPeerCategoryPeers, TopPeerCategoryPeers], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.topPeers={_='contacts.topPeers', categories={TopPeerCategoryPeers}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v55/constructors/contacts.topPeersNotModified.md b/old_docs/API_docs_v55/constructors/contacts.topPeersNotModified.md new file mode 100644 index 00000000..77c5eb4d --- /dev/null +++ b/old_docs/API_docs_v55/constructors/contacts.topPeersNotModified.md @@ -0,0 +1,33 @@ +--- +title: contacts.topPeersNotModified +description: Top peer info hasn't changed +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.topPeersNotModified +[Back to constructors index](index.md) + + + +Top peer info hasn't changed + + + + +### Type: [contacts.TopPeers](../types/contacts.TopPeers.md) + + +### Example: + +```php +$contacts.topPeersNotModified = ['_' => 'contacts.topPeersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +contacts.topPeersNotModified={_='contacts.topPeersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v55/constructors/contacts_blocked.md b/old_docs/API_docs_v55/constructors/contacts_blocked.md deleted file mode 100644 index 20e33002..00000000 --- a/old_docs/API_docs_v55/constructors/contacts_blocked.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: contacts.blocked -description: Full list of blocked users. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.blocked -[Back to constructors index](index.md) - - - -Full list of blocked users. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Blocked](../types/contacts_Blocked.md) - - -### Example: - -```php -$contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_blocked={_='contacts.blocked', blocked={ContactBlocked}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v55/constructors/contacts_blockedSlice.md b/old_docs/API_docs_v55/constructors/contacts_blockedSlice.md deleted file mode 100644 index fcab9a28..00000000 --- a/old_docs/API_docs_v55/constructors/contacts_blockedSlice.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.blockedSlice -description: Incomplete list of blocked users. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.blockedSlice -[Back to constructors index](index.md) - - - -Incomplete list of blocked users. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of elements in the list| -|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Blocked](../types/contacts_Blocked.md) - - -### Example: - -```php -$contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_blockedSlice={_='contacts.blockedSlice', count=int, blocked={ContactBlocked}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v55/constructors/contacts_contacts.md b/old_docs/API_docs_v55/constructors/contacts_contacts.md deleted file mode 100644 index f101b34b..00000000 --- a/old_docs/API_docs_v55/constructors/contacts_contacts.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: contacts.contacts -description: The current user's contact list and info on users. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.contacts -[Back to constructors index](index.md) - - - -The current user's contact list and info on users. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|contacts|Array of [Contact](../types/Contact.md) | Yes|Contacts| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Contacts](../types/contacts_Contacts.md) - - -### Example: - -```php -$contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact, Contact], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_contacts={_='contacts.contacts', contacts={Contact}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v55/constructors/contacts_contactsNotModified.md b/old_docs/API_docs_v55/constructors/contacts_contactsNotModified.md deleted file mode 100644 index 17e76ac3..00000000 --- a/old_docs/API_docs_v55/constructors/contacts_contactsNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: contacts.contactsNotModified -description: Contact list on the server is the same as the list on the client. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.contactsNotModified -[Back to constructors index](index.md) - - - -Contact list on the server is the same as the list on the client. - - - - -### Type: [contacts\_Contacts](../types/contacts_Contacts.md) - - -### Example: - -```php -$contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified']; -``` - - -Or, if you're into Lua: - -```lua -contacts_contactsNotModified={_='contacts.contactsNotModified'} - -``` - - diff --git a/old_docs/API_docs_v55/constructors/contacts_found.md b/old_docs/API_docs_v55/constructors/contacts_found.md deleted file mode 100644 index 0674aabf..00000000 --- a/old_docs/API_docs_v55/constructors/contacts_found.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.found -description: Users found by name substring and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.found -[Back to constructors index](index.md) - - - -Users found by name substring and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|results|Array of [Peer](../types/Peer.md) | Yes|Results| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Found](../types/contacts_Found.md) - - -### Example: - -```php -$contacts_found = ['_' => 'contacts.found', 'results' => [Peer, Peer], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_found={_='contacts.found', results={Peer}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v55/constructors/contacts_importedContacts.md b/old_docs/API_docs_v55/constructors/contacts_importedContacts.md deleted file mode 100644 index 121d96d1..00000000 --- a/old_docs/API_docs_v55/constructors/contacts_importedContacts.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.importedContacts -description: Info on succesfully imported contacts. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.importedContacts -[Back to constructors index](index.md) - - - -Info on succesfully imported contacts. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|imported|Array of [ImportedContact](../types/ImportedContact.md) | Yes|Imported| -|retry\_contacts|Array of [long](../types/long.md) | Yes|Retry importing contacts whose client IDs appear here| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) - - -### Example: - -```php -$contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact, ImportedContact], 'retry_contacts' => [long, long], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_importedContacts={_='contacts.importedContacts', imported={ImportedContact}, retry_contacts={long}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v55/constructors/contacts_link.md b/old_docs/API_docs_v55/constructors/contacts_link.md deleted file mode 100644 index cfc566c7..00000000 --- a/old_docs/API_docs_v55/constructors/contacts_link.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.link -description: Link -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.link -[Back to constructors index](index.md) - - - -Link - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|my\_link|[ContactLink](../types/ContactLink.md) | Yes|My link| -|foreign\_link|[ContactLink](../types/ContactLink.md) | Yes|Foreign link| -|user|[User](../types/User.md) | Optional|User| - - - -### Type: [contacts\_Link](../types/contacts_Link.md) - - -### Example: - -```php -$contacts_link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User]; -``` - - -Or, if you're into Lua: - -```lua -contacts_link={_='contacts.link', my_link=ContactLink, foreign_link=ContactLink, user=User} - -``` - - diff --git a/old_docs/API_docs_v55/constructors/contacts_resolvedPeer.md b/old_docs/API_docs_v55/constructors/contacts_resolvedPeer.md deleted file mode 100644 index aae3c7af..00000000 --- a/old_docs/API_docs_v55/constructors/contacts_resolvedPeer.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.resolvedPeer -description: Resolved peer -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.resolvedPeer -[Back to constructors index](index.md) - - - -Resolved peer - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|peer|[Peer](../types/Peer.md) | Yes|The peer| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_ResolvedPeer](../types/contacts_ResolvedPeer.md) - - -### Example: - -```php -$contacts_resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_resolvedPeer={_='contacts.resolvedPeer', peer=Peer, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v55/constructors/contacts_topPeers.md b/old_docs/API_docs_v55/constructors/contacts_topPeers.md deleted file mode 100644 index 77bc07d3..00000000 --- a/old_docs/API_docs_v55/constructors/contacts_topPeers.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.topPeers -description: Top peers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.topPeers -[Back to constructors index](index.md) - - - -Top peers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|categories|Array of [TopPeerCategoryPeers](../types/TopPeerCategoryPeers.md) | Yes|Categories| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_TopPeers](../types/contacts_TopPeers.md) - - -### Example: - -```php -$contacts_topPeers = ['_' => 'contacts.topPeers', 'categories' => [TopPeerCategoryPeers, TopPeerCategoryPeers], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_topPeers={_='contacts.topPeers', categories={TopPeerCategoryPeers}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v55/constructors/contacts_topPeersNotModified.md b/old_docs/API_docs_v55/constructors/contacts_topPeersNotModified.md deleted file mode 100644 index 43eae59d..00000000 --- a/old_docs/API_docs_v55/constructors/contacts_topPeersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: contacts.topPeersNotModified -description: Top peer info hasn't changed -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.topPeersNotModified -[Back to constructors index](index.md) - - - -Top peer info hasn't changed - - - - -### Type: [contacts\_TopPeers](../types/contacts_TopPeers.md) - - -### Example: - -```php -$contacts_topPeersNotModified = ['_' => 'contacts.topPeersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -contacts_topPeersNotModified={_='contacts.topPeersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v55/constructors/help.appChangelog.md b/old_docs/API_docs_v55/constructors/help.appChangelog.md new file mode 100644 index 00000000..dec6b96c --- /dev/null +++ b/old_docs/API_docs_v55/constructors/help.appChangelog.md @@ -0,0 +1,38 @@ +--- +title: help.appChangelog +description: App changelog +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.appChangelog +[Back to constructors index](index.md) + + + +App changelog + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|text|[string](../types/string.md) | Yes|Text| + + + +### Type: [help.AppChangelog](../types/help.AppChangelog.md) + + +### Example: + +```php +$help.appChangelog = ['_' => 'help.appChangelog', 'text' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +help.appChangelog={_='help.appChangelog', text='string'} + +``` + + diff --git a/old_docs/API_docs_v55/constructors/help.appChangelogEmpty.md b/old_docs/API_docs_v55/constructors/help.appChangelogEmpty.md new file mode 100644 index 00000000..6ecb71af --- /dev/null +++ b/old_docs/API_docs_v55/constructors/help.appChangelogEmpty.md @@ -0,0 +1,33 @@ +--- +title: help.appChangelogEmpty +description: Empty app changelog +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.appChangelogEmpty +[Back to constructors index](index.md) + + + +Empty app changelog + + + + +### Type: [help.AppChangelog](../types/help.AppChangelog.md) + + +### Example: + +```php +$help.appChangelogEmpty = ['_' => 'help.appChangelogEmpty']; +``` + + +Or, if you're into Lua: + +```lua +help.appChangelogEmpty={_='help.appChangelogEmpty'} + +``` + + diff --git a/old_docs/API_docs_v55/constructors/help.appUpdate.md b/old_docs/API_docs_v55/constructors/help.appUpdate.md new file mode 100644 index 00000000..14b2d75b --- /dev/null +++ b/old_docs/API_docs_v55/constructors/help.appUpdate.md @@ -0,0 +1,41 @@ +--- +title: help.appUpdate +description: An update is available for the application. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.appUpdate +[Back to constructors index](index.md) + + + +An update is available for the application. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|id|[int](../types/int.md) | Yes|Update ID| +|critical|[Bool](../types/Bool.md) | Yes|Critical?| +|url|[string](../types/string.md) | Yes|Application download URL| +|text|[string](../types/string.md) | Yes|Text description of the update| + + + +### Type: [help.AppUpdate](../types/help.AppUpdate.md) + + +### Example: + +```php +$help.appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'url' => 'string', 'text' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +help.appUpdate={_='help.appUpdate', id=int, critical=Bool, url='string', text='string'} + +``` + + diff --git a/old_docs/API_docs_v55/constructors/help.inviteText.md b/old_docs/API_docs_v55/constructors/help.inviteText.md new file mode 100644 index 00000000..6a6261c1 --- /dev/null +++ b/old_docs/API_docs_v55/constructors/help.inviteText.md @@ -0,0 +1,38 @@ +--- +title: help.inviteText +description: Text of a text message with an invitation to install application. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.inviteText +[Back to constructors index](index.md) + + + +Text of a text message with an invitation to install application. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|message|[string](../types/string.md) | Yes|Text of a message| + + + +### Type: [help.InviteText](../types/help.InviteText.md) + + +### Example: + +```php +$help.inviteText = ['_' => 'help.inviteText', 'message' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +help.inviteText={_='help.inviteText', message='string'} + +``` + + diff --git a/old_docs/API_docs_v55/constructors/help.noAppUpdate.md b/old_docs/API_docs_v55/constructors/help.noAppUpdate.md new file mode 100644 index 00000000..1b69ac9a --- /dev/null +++ b/old_docs/API_docs_v55/constructors/help.noAppUpdate.md @@ -0,0 +1,33 @@ +--- +title: help.noAppUpdate +description: No updates are available for the application. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.noAppUpdate +[Back to constructors index](index.md) + + + +No updates are available for the application. + + + + +### Type: [help.AppUpdate](../types/help.AppUpdate.md) + + +### Example: + +```php +$help.noAppUpdate = ['_' => 'help.noAppUpdate']; +``` + + +Or, if you're into Lua: + +```lua +help.noAppUpdate={_='help.noAppUpdate'} + +``` + + diff --git a/old_docs/API_docs_v55/constructors/help.support.md b/old_docs/API_docs_v55/constructors/help.support.md new file mode 100644 index 00000000..4d4f85fb --- /dev/null +++ b/old_docs/API_docs_v55/constructors/help.support.md @@ -0,0 +1,39 @@ +--- +title: help.support +description: Info on support user. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.support +[Back to constructors index](index.md) + + + +Info on support user. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_number|[string](../types/string.md) | Yes|Phone number| +|user|[User](../types/User.md) | Optional|User| + + + +### Type: [help.Support](../types/help.Support.md) + + +### Example: + +```php +$help.support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => User]; +``` + + +Or, if you're into Lua: + +```lua +help.support={_='help.support', phone_number='string', user=User} + +``` + + diff --git a/old_docs/API_docs_v55/constructors/help.termsOfService.md b/old_docs/API_docs_v55/constructors/help.termsOfService.md new file mode 100644 index 00000000..cab1f128 --- /dev/null +++ b/old_docs/API_docs_v55/constructors/help.termsOfService.md @@ -0,0 +1,38 @@ +--- +title: help.termsOfService +description: Info about the latest telegram Terms Of Service +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.termsOfService +[Back to constructors index](index.md) + + + +Info about the latest telegram Terms Of Service + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|text|[string](../types/string.md) | Yes|Text of the new terms| + + + +### Type: [help.TermsOfService](../types/help.TermsOfService.md) + + +### Example: + +```php +$help.termsOfService = ['_' => 'help.termsOfService', 'text' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +help.termsOfService={_='help.termsOfService', text='string'} + +``` + + diff --git a/old_docs/API_docs_v55/constructors/help_appChangelog.md b/old_docs/API_docs_v55/constructors/help_appChangelog.md deleted file mode 100644 index 793a8fc4..00000000 --- a/old_docs/API_docs_v55/constructors/help_appChangelog.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: help.appChangelog -description: App changelog -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.appChangelog -[Back to constructors index](index.md) - - - -App changelog - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|text|[string](../types/string.md) | Yes|Text| - - - -### Type: [help\_AppChangelog](../types/help_AppChangelog.md) - - -### Example: - -```php -$help_appChangelog = ['_' => 'help.appChangelog', 'text' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -help_appChangelog={_='help.appChangelog', text='string'} - -``` - - diff --git a/old_docs/API_docs_v55/constructors/help_appChangelogEmpty.md b/old_docs/API_docs_v55/constructors/help_appChangelogEmpty.md deleted file mode 100644 index 62a195bb..00000000 --- a/old_docs/API_docs_v55/constructors/help_appChangelogEmpty.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: help.appChangelogEmpty -description: Empty app changelog -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.appChangelogEmpty -[Back to constructors index](index.md) - - - -Empty app changelog - - - - -### Type: [help\_AppChangelog](../types/help_AppChangelog.md) - - -### Example: - -```php -$help_appChangelogEmpty = ['_' => 'help.appChangelogEmpty']; -``` - - -Or, if you're into Lua: - -```lua -help_appChangelogEmpty={_='help.appChangelogEmpty'} - -``` - - diff --git a/old_docs/API_docs_v55/constructors/help_appUpdate.md b/old_docs/API_docs_v55/constructors/help_appUpdate.md deleted file mode 100644 index efba9bdb..00000000 --- a/old_docs/API_docs_v55/constructors/help_appUpdate.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: help.appUpdate -description: An update is available for the application. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.appUpdate -[Back to constructors index](index.md) - - - -An update is available for the application. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|id|[int](../types/int.md) | Yes|Update ID| -|critical|[Bool](../types/Bool.md) | Yes|Critical?| -|url|[string](../types/string.md) | Yes|Application download URL| -|text|[string](../types/string.md) | Yes|Text description of the update| - - - -### Type: [help\_AppUpdate](../types/help_AppUpdate.md) - - -### Example: - -```php -$help_appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'url' => 'string', 'text' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -help_appUpdate={_='help.appUpdate', id=int, critical=Bool, url='string', text='string'} - -``` - - diff --git a/old_docs/API_docs_v55/constructors/help_inviteText.md b/old_docs/API_docs_v55/constructors/help_inviteText.md deleted file mode 100644 index b8317ce3..00000000 --- a/old_docs/API_docs_v55/constructors/help_inviteText.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: help.inviteText -description: Text of a text message with an invitation to install application. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.inviteText -[Back to constructors index](index.md) - - - -Text of a text message with an invitation to install application. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|message|[string](../types/string.md) | Yes|Text of a message| - - - -### Type: [help\_InviteText](../types/help_InviteText.md) - - -### Example: - -```php -$help_inviteText = ['_' => 'help.inviteText', 'message' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -help_inviteText={_='help.inviteText', message='string'} - -``` - - diff --git a/old_docs/API_docs_v55/constructors/help_noAppUpdate.md b/old_docs/API_docs_v55/constructors/help_noAppUpdate.md deleted file mode 100644 index 51505e52..00000000 --- a/old_docs/API_docs_v55/constructors/help_noAppUpdate.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: help.noAppUpdate -description: No updates are available for the application. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.noAppUpdate -[Back to constructors index](index.md) - - - -No updates are available for the application. - - - - -### Type: [help\_AppUpdate](../types/help_AppUpdate.md) - - -### Example: - -```php -$help_noAppUpdate = ['_' => 'help.noAppUpdate']; -``` - - -Or, if you're into Lua: - -```lua -help_noAppUpdate={_='help.noAppUpdate'} - -``` - - diff --git a/old_docs/API_docs_v55/constructors/help_support.md b/old_docs/API_docs_v55/constructors/help_support.md deleted file mode 100644 index 148f7f42..00000000 --- a/old_docs/API_docs_v55/constructors/help_support.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: help.support -description: Info on support user. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.support -[Back to constructors index](index.md) - - - -Info on support user. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_number|[string](../types/string.md) | Yes|Phone number| -|user|[User](../types/User.md) | Optional|User| - - - -### Type: [help\_Support](../types/help_Support.md) - - -### Example: - -```php -$help_support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => User]; -``` - - -Or, if you're into Lua: - -```lua -help_support={_='help.support', phone_number='string', user=User} - -``` - - diff --git a/old_docs/API_docs_v55/constructors/help_termsOfService.md b/old_docs/API_docs_v55/constructors/help_termsOfService.md deleted file mode 100644 index 2ac763b3..00000000 --- a/old_docs/API_docs_v55/constructors/help_termsOfService.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: help.termsOfService -description: Info about the latest telegram Terms Of Service -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.termsOfService -[Back to constructors index](index.md) - - - -Info about the latest telegram Terms Of Service - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|text|[string](../types/string.md) | Yes|Text of the new terms| - - - -### Type: [help\_TermsOfService](../types/help_TermsOfService.md) - - -### Example: - -```php -$help_termsOfService = ['_' => 'help.termsOfService', 'text' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -help_termsOfService={_='help.termsOfService', text='string'} - -``` - - diff --git a/old_docs/API_docs_v55/constructors/messages.affectedHistory.md b/old_docs/API_docs_v55/constructors/messages.affectedHistory.md new file mode 100644 index 00000000..5fc8acec --- /dev/null +++ b/old_docs/API_docs_v55/constructors/messages.affectedHistory.md @@ -0,0 +1,40 @@ +--- +title: messages.affectedHistory +description: Affected part of communication history with the user or in a chat. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.affectedHistory +[Back to constructors index](index.md) + + + +Affected part of communication history with the user or in a chat. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| +|pts\_count|[int](../types/int.md) | Yes|Number of affected events| +|offset|[int](../types/int.md) | Yes|If a parameter contains positive value, it is necessary to repeat the method call using the given value; during the proceeding of all the history the value itself shall gradually decrease| + + + +### Type: [messages.AffectedHistory](../types/messages.AffectedHistory.md) + + +### Example: + +```php +$messages.affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.affectedHistory={_='messages.affectedHistory', pts=int, pts_count=int, offset=int} + +``` + + diff --git a/old_docs/API_docs_v55/constructors/messages.affectedMessages.md b/old_docs/API_docs_v55/constructors/messages.affectedMessages.md new file mode 100644 index 00000000..a0e60bdf --- /dev/null +++ b/old_docs/API_docs_v55/constructors/messages.affectedMessages.md @@ -0,0 +1,39 @@ +--- +title: messages.affectedMessages +description: Events affected by operation +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.affectedMessages +[Back to constructors index](index.md) + + + +Events affected by operation + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|[Event count after generation](https://core.telegram.org/api/updates)| +|pts\_count|[int](../types/int.md) | Yes|[Number of events that were generated](https://core.telegram.org/api/updates)| + + + +### Type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) + + +### Example: + +```php +$messages.affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.affectedMessages={_='messages.affectedMessages', pts=int, pts_count=int} + +``` + + diff --git a/old_docs/API_docs_v55/constructors/messages.allStickers.md b/old_docs/API_docs_v55/constructors/messages.allStickers.md new file mode 100644 index 00000000..5f13bfde --- /dev/null +++ b/old_docs/API_docs_v55/constructors/messages.allStickers.md @@ -0,0 +1,39 @@ +--- +title: messages.allStickers +description: Info about all installed stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.allStickers +[Back to constructors index](index.md) + + + +Info about all installed stickers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|sets|Array of [StickerSet](../types/StickerSet.md) | Yes|Sets| + + + +### Type: [messages.AllStickers](../types/messages.AllStickers.md) + + +### Example: + +```php +$messages.allStickers = ['_' => 'messages.allStickers', 'hash' => int, 'sets' => [StickerSet, StickerSet]]; +``` + + +Or, if you're into Lua: + +```lua +messages.allStickers={_='messages.allStickers', hash=int, sets={StickerSet}} + +``` + + diff --git a/old_docs/API_docs_v55/constructors/messages.allStickersNotModified.md b/old_docs/API_docs_v55/constructors/messages.allStickersNotModified.md new file mode 100644 index 00000000..d3db088b --- /dev/null +++ b/old_docs/API_docs_v55/constructors/messages.allStickersNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.allStickersNotModified +description: Info about all installed stickers hasn't changed +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.allStickersNotModified +[Back to constructors index](index.md) + + + +Info about all installed stickers hasn't changed + + + + +### Type: [messages.AllStickers](../types/messages.AllStickers.md) + + +### Example: + +```php +$messages.allStickersNotModified = ['_' => 'messages.allStickersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.allStickersNotModified={_='messages.allStickersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v55/constructors/messages.archivedStickers.md b/old_docs/API_docs_v55/constructors/messages.archivedStickers.md new file mode 100644 index 00000000..6ad9927c --- /dev/null +++ b/old_docs/API_docs_v55/constructors/messages.archivedStickers.md @@ -0,0 +1,39 @@ +--- +title: messages.archivedStickers +description: Archived stickersets +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.archivedStickers +[Back to constructors index](index.md) + + + +Archived stickersets + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Number of archived stickers| +|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| + + + +### Type: [messages.ArchivedStickers](../types/messages.ArchivedStickers.md) + + +### Example: + +```php +$messages.archivedStickers = ['_' => 'messages.archivedStickers', 'count' => int, 'sets' => [StickerSetCovered, StickerSetCovered]]; +``` + + +Or, if you're into Lua: + +```lua +messages.archivedStickers={_='messages.archivedStickers', count=int, sets={StickerSetCovered}} + +``` + + diff --git a/old_docs/API_docs_v55/constructors/messages.botCallbackAnswer.md b/old_docs/API_docs_v55/constructors/messages.botCallbackAnswer.md new file mode 100644 index 00000000..1332a51a --- /dev/null +++ b/old_docs/API_docs_v55/constructors/messages.botCallbackAnswer.md @@ -0,0 +1,40 @@ +--- +title: messages.botCallbackAnswer +description: Callback answer sent by the bot in response to a button press +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.botCallbackAnswer +[Back to constructors index](index.md) + + + +Callback answer sent by the bot in response to a button press + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|alert|[Bool](../types/Bool.md) | Optional|Whether an alert should be shown to the user instead of a toast notification| +|message|[string](../types/string.md) | Optional|Alert to show| +|url|[string](../types/string.md) | Optional|URL to open| + + + +### Type: [messages.BotCallbackAnswer](../types/messages.BotCallbackAnswer.md) + + +### Example: + +```php +$messages.botCallbackAnswer = ['_' => 'messages.botCallbackAnswer', 'alert' => Bool, 'message' => 'string', 'url' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +messages.botCallbackAnswer={_='messages.botCallbackAnswer', alert=Bool, message='string', url='string'} + +``` + + diff --git a/old_docs/API_docs_v55/constructors/messages.botResults.md b/old_docs/API_docs_v55/constructors/messages.botResults.md new file mode 100644 index 00000000..00597fc9 --- /dev/null +++ b/old_docs/API_docs_v55/constructors/messages.botResults.md @@ -0,0 +1,42 @@ +--- +title: messages.botResults +description: Result of a query to an inline bot +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.botResults +[Back to constructors index](index.md) + + + +Result of a query to an inline bot + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|gallery|[Bool](../types/Bool.md) | Optional|Whether the result is a picture gallery| +|query\_id|[long](../types/long.md) | Yes|Query ID| +|next\_offset|[string](../types/string.md) | Optional|The next offset to use when navigating through results| +|switch\_pm|[InlineBotSwitchPM](../types/InlineBotSwitchPM.md) | Optional|Whether the bot requested the user to message him in private| +|results|Array of [BotInlineResult](../types/BotInlineResult.md) | Yes|Results| + + + +### Type: [messages.BotResults](../types/messages.BotResults.md) + + +### Example: + +```php +$messages.botResults = ['_' => 'messages.botResults', 'gallery' => Bool, 'query_id' => long, 'next_offset' => 'string', 'switch_pm' => InlineBotSwitchPM, 'results' => [BotInlineResult, BotInlineResult]]; +``` + + +Or, if you're into Lua: + +```lua +messages.botResults={_='messages.botResults', gallery=Bool, query_id=long, next_offset='string', switch_pm=InlineBotSwitchPM, results={BotInlineResult}} + +``` + + diff --git a/old_docs/API_docs_v55/constructors/messages.channelMessages.md b/old_docs/API_docs_v55/constructors/messages.channelMessages.md new file mode 100644 index 00000000..95633336 --- /dev/null +++ b/old_docs/API_docs_v55/constructors/messages.channelMessages.md @@ -0,0 +1,42 @@ +--- +title: messages.channelMessages +description: Channel messages +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.channelMessages +[Back to constructors index](index.md) + + + +Channel messages + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|[Event count after generation](https://core.telegram.org/api/updates)| +|count|[int](../types/int.md) | Yes|Total number of results were found server-side (may not be all included here)| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Messages](../types/messages.Messages.md) + + +### Example: + +```php +$messages.channelMessages = ['_' => 'messages.channelMessages', 'pts' => int, 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.channelMessages={_='messages.channelMessages', pts=int, count=int, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v55/constructors/messages.chatFull.md b/old_docs/API_docs_v55/constructors/messages.chatFull.md new file mode 100644 index 00000000..3906cc54 --- /dev/null +++ b/old_docs/API_docs_v55/constructors/messages.chatFull.md @@ -0,0 +1,40 @@ +--- +title: messages.chatFull +description: Extended info on chat and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.chatFull +[Back to constructors index](index.md) + + + +Extended info on chat and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|full\_chat|[ChatFull](../types/ChatFull.md) | Yes|Extended info on a chat| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.ChatFull](../types/messages.ChatFull.md) + + +### Example: + +```php +$messages.chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.chatFull={_='messages.chatFull', full_chat=ChatFull, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v55/constructors/messages.chats.md b/old_docs/API_docs_v55/constructors/messages.chats.md new file mode 100644 index 00000000..9ede9ff2 --- /dev/null +++ b/old_docs/API_docs_v55/constructors/messages.chats.md @@ -0,0 +1,38 @@ +--- +title: messages.chats +description: List of chats with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.chats +[Back to constructors index](index.md) + + + +List of chats with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| + + + +### Type: [messages.Chats](../types/messages.Chats.md) + + +### Example: + +```php +$messages.chats = ['_' => 'messages.chats', 'chats' => [Chat, Chat]]; +``` + + +Or, if you're into Lua: + +```lua +messages.chats={_='messages.chats', chats={Chat}} + +``` + + diff --git a/old_docs/API_docs_v55/constructors/messages.dhConfig.md b/old_docs/API_docs_v55/constructors/messages.dhConfig.md new file mode 100644 index 00000000..58344f64 --- /dev/null +++ b/old_docs/API_docs_v55/constructors/messages.dhConfig.md @@ -0,0 +1,41 @@ +--- +title: messages.dhConfig +description: New set of configuring parameters. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dhConfig +[Back to constructors index](index.md) + + + +New set of configuring parameters. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|g|[int](../types/int.md) | Yes|New value **prime**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| +|p|[bytes](../types/bytes.md) | Yes|New value **primitive root**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| +|version|[int](../types/int.md) | Yes|Vestion of set of parameters| +|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| + + + +### Type: [messages.DhConfig](../types/messages.DhConfig.md) + + +### Example: + +```php +$messages.dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'version' => int, 'random' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +messages.dhConfig={_='messages.dhConfig', g=int, p='bytes', version=int, random='bytes'} + +``` + + diff --git a/old_docs/API_docs_v55/constructors/messages.dhConfigNotModified.md b/old_docs/API_docs_v55/constructors/messages.dhConfigNotModified.md new file mode 100644 index 00000000..a9a95389 --- /dev/null +++ b/old_docs/API_docs_v55/constructors/messages.dhConfigNotModified.md @@ -0,0 +1,38 @@ +--- +title: messages.dhConfigNotModified +description: Configuring parameters did not change. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dhConfigNotModified +[Back to constructors index](index.md) + + + +Configuring parameters did not change. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| + + + +### Type: [messages.DhConfig](../types/messages.DhConfig.md) + + +### Example: + +```php +$messages.dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +messages.dhConfigNotModified={_='messages.dhConfigNotModified', random='bytes'} + +``` + + diff --git a/old_docs/API_docs_v55/constructors/messages.dialogs.md b/old_docs/API_docs_v55/constructors/messages.dialogs.md new file mode 100644 index 00000000..a72eabce --- /dev/null +++ b/old_docs/API_docs_v55/constructors/messages.dialogs.md @@ -0,0 +1,41 @@ +--- +title: messages.dialogs +description: Full list of chats with messages and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dialogs +[Back to constructors index](index.md) + + + +Full list of chats with messages and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Dialogs](../types/messages.Dialogs.md) + + +### Example: + +```php +$messages.dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.dialogs={_='messages.dialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v55/constructors/messages.dialogsSlice.md b/old_docs/API_docs_v55/constructors/messages.dialogsSlice.md new file mode 100644 index 00000000..26227d2c --- /dev/null +++ b/old_docs/API_docs_v55/constructors/messages.dialogsSlice.md @@ -0,0 +1,42 @@ +--- +title: messages.dialogsSlice +description: Incomplete list of dialogs with messages and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dialogsSlice +[Back to constructors index](index.md) + + + +Incomplete list of dialogs with messages and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of dialogs| +|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Dialogs](../types/messages.Dialogs.md) + + +### Example: + +```php +$messages.dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.dialogsSlice={_='messages.dialogsSlice', count=int, dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v55/constructors/messages.featuredStickers.md b/old_docs/API_docs_v55/constructors/messages.featuredStickers.md new file mode 100644 index 00000000..344376ea --- /dev/null +++ b/old_docs/API_docs_v55/constructors/messages.featuredStickers.md @@ -0,0 +1,40 @@ +--- +title: messages.featuredStickers +description: Featured stickersets +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.featuredStickers +[Back to constructors index](index.md) + + + +Featured stickersets + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| +|unread|Array of [long](../types/long.md) | Yes|Unread| + + + +### Type: [messages.FeaturedStickers](../types/messages.FeaturedStickers.md) + + +### Example: + +```php +$messages.featuredStickers = ['_' => 'messages.featuredStickers', 'hash' => int, 'sets' => [StickerSetCovered, StickerSetCovered], 'unread' => [long, long]]; +``` + + +Or, if you're into Lua: + +```lua +messages.featuredStickers={_='messages.featuredStickers', hash=int, sets={StickerSetCovered}, unread={long}} + +``` + + diff --git a/old_docs/API_docs_v55/constructors/messages.featuredStickersNotModified.md b/old_docs/API_docs_v55/constructors/messages.featuredStickersNotModified.md new file mode 100644 index 00000000..0fe9b4d5 --- /dev/null +++ b/old_docs/API_docs_v55/constructors/messages.featuredStickersNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.featuredStickersNotModified +description: Featured stickers haven't changed +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.featuredStickersNotModified +[Back to constructors index](index.md) + + + +Featured stickers haven't changed + + + + +### Type: [messages.FeaturedStickers](../types/messages.FeaturedStickers.md) + + +### Example: + +```php +$messages.featuredStickersNotModified = ['_' => 'messages.featuredStickersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.featuredStickersNotModified={_='messages.featuredStickersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v55/constructors/messages.foundGifs.md b/old_docs/API_docs_v55/constructors/messages.foundGifs.md new file mode 100644 index 00000000..c75e36f9 --- /dev/null +++ b/old_docs/API_docs_v55/constructors/messages.foundGifs.md @@ -0,0 +1,39 @@ +--- +title: messages.foundGifs +description: Found GIFs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.foundGifs +[Back to constructors index](index.md) + + + +Found GIFs + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|next\_offset|[int](../types/int.md) | Yes|Next offset to use when trying to [load more results](../methods/messages.searchGifs.md)| +|results|Array of [FoundGif](../types/FoundGif.md) | Yes|Results| + + + +### Type: [messages.FoundGifs](../types/messages.FoundGifs.md) + + +### Example: + +```php +$messages.foundGifs = ['_' => 'messages.foundGifs', 'next_offset' => int, 'results' => [FoundGif, FoundGif]]; +``` + + +Or, if you're into Lua: + +```lua +messages.foundGifs={_='messages.foundGifs', next_offset=int, results={FoundGif}} + +``` + + diff --git a/old_docs/API_docs_v55/constructors/messages.messageEditData.md b/old_docs/API_docs_v55/constructors/messages.messageEditData.md new file mode 100644 index 00000000..578b53d9 --- /dev/null +++ b/old_docs/API_docs_v55/constructors/messages.messageEditData.md @@ -0,0 +1,38 @@ +--- +title: messages.messageEditData +description: Message edit data for media +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.messageEditData +[Back to constructors index](index.md) + + + +Message edit data for media + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|caption|[Bool](../types/Bool.md) | Optional|Media caption, if the specified media's caption can be edited| + + + +### Type: [messages.MessageEditData](../types/messages.MessageEditData.md) + + +### Example: + +```php +$messages.messageEditData = ['_' => 'messages.messageEditData', 'caption' => Bool]; +``` + + +Or, if you're into Lua: + +```lua +messages.messageEditData={_='messages.messageEditData', caption=Bool} + +``` + + diff --git a/old_docs/API_docs_v55/constructors/messages.messages.md b/old_docs/API_docs_v55/constructors/messages.messages.md new file mode 100644 index 00000000..3af71dca --- /dev/null +++ b/old_docs/API_docs_v55/constructors/messages.messages.md @@ -0,0 +1,40 @@ +--- +title: messages.messages +description: Full list of messages with auxilary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.messages +[Back to constructors index](index.md) + + + +Full list of messages with auxilary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Messages](../types/messages.Messages.md) + + +### Example: + +```php +$messages.messages = ['_' => 'messages.messages', 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.messages={_='messages.messages', messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v55/constructors/messages.messagesSlice.md b/old_docs/API_docs_v55/constructors/messages.messagesSlice.md new file mode 100644 index 00000000..2fe91df0 --- /dev/null +++ b/old_docs/API_docs_v55/constructors/messages.messagesSlice.md @@ -0,0 +1,41 @@ +--- +title: messages.messagesSlice +description: Incomplete list of messages and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.messagesSlice +[Back to constructors index](index.md) + + + +Incomplete list of messages and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of messages in the list| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Messages](../types/messages.Messages.md) + + +### Example: + +```php +$messages.messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.messagesSlice={_='messages.messagesSlice', count=int, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v55/constructors/messages.peerDialogs.md b/old_docs/API_docs_v55/constructors/messages.peerDialogs.md new file mode 100644 index 00000000..39cb71f8 --- /dev/null +++ b/old_docs/API_docs_v55/constructors/messages.peerDialogs.md @@ -0,0 +1,42 @@ +--- +title: messages.peerDialogs +description: Dialog info of multiple peers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.peerDialogs +[Back to constructors index](index.md) + + + +Dialog info of multiple peers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| +|state|[updates.State](../constructors/updates.State.md) | Yes|Current [update state of dialog](https://core.telegram.org/api/updates)| + + + +### Type: [messages.PeerDialogs](../types/messages.PeerDialogs.md) + + +### Example: + +```php +$messages.peerDialogs = ['_' => 'messages.peerDialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates.State]; +``` + + +Or, if you're into Lua: + +```lua +messages.peerDialogs={_='messages.peerDialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}, state=updates.State} + +``` + + diff --git a/old_docs/API_docs_v55/constructors/messages.recentStickers.md b/old_docs/API_docs_v55/constructors/messages.recentStickers.md new file mode 100644 index 00000000..c5c3b389 --- /dev/null +++ b/old_docs/API_docs_v55/constructors/messages.recentStickers.md @@ -0,0 +1,39 @@ +--- +title: messages.recentStickers +description: Recently used stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.recentStickers +[Back to constructors index](index.md) + + + +Recently used stickers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| + + + +### Type: [messages.RecentStickers](../types/messages.RecentStickers.md) + + +### Example: + +```php +$messages.recentStickers = ['_' => 'messages.recentStickers', 'hash' => int, 'stickers' => [Document, Document]]; +``` + + +Or, if you're into Lua: + +```lua +messages.recentStickers={_='messages.recentStickers', hash=int, stickers={Document}} + +``` + + diff --git a/old_docs/API_docs_v55/constructors/messages.recentStickersNotModified.md b/old_docs/API_docs_v55/constructors/messages.recentStickersNotModified.md new file mode 100644 index 00000000..1c3bbf5c --- /dev/null +++ b/old_docs/API_docs_v55/constructors/messages.recentStickersNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.recentStickersNotModified +description: No new recent sticker was found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.recentStickersNotModified +[Back to constructors index](index.md) + + + +No new recent sticker was found + + + + +### Type: [messages.RecentStickers](../types/messages.RecentStickers.md) + + +### Example: + +```php +$messages.recentStickersNotModified = ['_' => 'messages.recentStickersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.recentStickersNotModified={_='messages.recentStickersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v55/constructors/messages.savedGifs.md b/old_docs/API_docs_v55/constructors/messages.savedGifs.md new file mode 100644 index 00000000..c82929a3 --- /dev/null +++ b/old_docs/API_docs_v55/constructors/messages.savedGifs.md @@ -0,0 +1,39 @@ +--- +title: messages.savedGifs +description: Saved gifs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.savedGifs +[Back to constructors index](index.md) + + + +Saved gifs + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|gifs|Array of [Document](../types/Document.md) | Yes|Gifs| + + + +### Type: [messages.SavedGifs](../types/messages.SavedGifs.md) + + +### Example: + +```php +$messages.savedGifs = ['_' => 'messages.savedGifs', 'hash' => int, 'gifs' => [Document, Document]]; +``` + + +Or, if you're into Lua: + +```lua +messages.savedGifs={_='messages.savedGifs', hash=int, gifs={Document}} + +``` + + diff --git a/old_docs/API_docs_v55/constructors/messages.savedGifsNotModified.md b/old_docs/API_docs_v55/constructors/messages.savedGifsNotModified.md new file mode 100644 index 00000000..0fbccacc --- /dev/null +++ b/old_docs/API_docs_v55/constructors/messages.savedGifsNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.savedGifsNotModified +description: No new saved gifs were found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.savedGifsNotModified +[Back to constructors index](index.md) + + + +No new saved gifs were found + + + + +### Type: [messages.SavedGifs](../types/messages.SavedGifs.md) + + +### Example: + +```php +$messages.savedGifsNotModified = ['_' => 'messages.savedGifsNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.savedGifsNotModified={_='messages.savedGifsNotModified'} + +``` + + diff --git a/old_docs/API_docs_v55/constructors/messages.sentEncryptedFile.md b/old_docs/API_docs_v55/constructors/messages.sentEncryptedFile.md new file mode 100644 index 00000000..1f0e43c6 --- /dev/null +++ b/old_docs/API_docs_v55/constructors/messages.sentEncryptedFile.md @@ -0,0 +1,39 @@ +--- +title: messages.sentEncryptedFile +description: Message with a file enclosure sent to a protected chat +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.sentEncryptedFile +[Back to constructors index](index.md) + + + +Message with a file enclosure sent to a protected chat + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Sending date| +|file|[EncryptedFile](../types/EncryptedFile.md) | Optional|Attached file| + + + +### Type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) + + +### Example: + +```php +$messages.sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile]; +``` + + +Or, if you're into Lua: + +```lua +messages.sentEncryptedFile={_='messages.sentEncryptedFile', date=int, file=EncryptedFile} + +``` + + diff --git a/old_docs/API_docs_v55/constructors/messages.sentEncryptedMessage.md b/old_docs/API_docs_v55/constructors/messages.sentEncryptedMessage.md new file mode 100644 index 00000000..3d5eb40c --- /dev/null +++ b/old_docs/API_docs_v55/constructors/messages.sentEncryptedMessage.md @@ -0,0 +1,38 @@ +--- +title: messages.sentEncryptedMessage +description: Message without file attachemts sent to an encrypted file. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.sentEncryptedMessage +[Back to constructors index](index.md) + + + +Message without file attachemts sent to an encrypted file. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Date of sending| + + + +### Type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) + + +### Example: + +```php +$messages.sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.sentEncryptedMessage={_='messages.sentEncryptedMessage', date=int} + +``` + + diff --git a/old_docs/API_docs_v55/constructors/messages.stickerSet.md b/old_docs/API_docs_v55/constructors/messages.stickerSet.md new file mode 100644 index 00000000..fbc154d0 --- /dev/null +++ b/old_docs/API_docs_v55/constructors/messages.stickerSet.md @@ -0,0 +1,40 @@ +--- +title: messages.stickerSet +description: Stickerset and stickers inside it +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickerSet +[Back to constructors index](index.md) + + + +Stickerset and stickers inside it + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|set|[StickerSet](../types/StickerSet.md) | Yes|The stickerset| +|packs|Array of [StickerPack](../types/StickerPack.md) | Yes|Packs| +|documents|Array of [Document](../types/Document.md) | Yes|Documents| + + + +### Type: [messages.StickerSet](../types/messages.StickerSet.md) + + +### Example: + +```php +$messages.stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'packs' => [StickerPack, StickerPack], 'documents' => [Document, Document]]; +``` + + +Or, if you're into Lua: + +```lua +messages.stickerSet={_='messages.stickerSet', set=StickerSet, packs={StickerPack}, documents={Document}} + +``` + + diff --git a/old_docs/API_docs_v55/constructors/messages.stickerSetInstallResultArchive.md b/old_docs/API_docs_v55/constructors/messages.stickerSetInstallResultArchive.md new file mode 100644 index 00000000..fefe2270 --- /dev/null +++ b/old_docs/API_docs_v55/constructors/messages.stickerSetInstallResultArchive.md @@ -0,0 +1,38 @@ +--- +title: messages.stickerSetInstallResultArchive +description: The stickerset was installed, but since there are too many stickersets some were archived +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickerSetInstallResultArchive +[Back to constructors index](index.md) + + + +The stickerset was installed, but since there are too many stickersets some were archived + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| + + + +### Type: [messages.StickerSetInstallResult](../types/messages.StickerSetInstallResult.md) + + +### Example: + +```php +$messages.stickerSetInstallResultArchive = ['_' => 'messages.stickerSetInstallResultArchive', 'sets' => [StickerSetCovered, StickerSetCovered]]; +``` + + +Or, if you're into Lua: + +```lua +messages.stickerSetInstallResultArchive={_='messages.stickerSetInstallResultArchive', sets={StickerSetCovered}} + +``` + + diff --git a/old_docs/API_docs_v55/constructors/messages.stickerSetInstallResultSuccess.md b/old_docs/API_docs_v55/constructors/messages.stickerSetInstallResultSuccess.md new file mode 100644 index 00000000..bbe8b961 --- /dev/null +++ b/old_docs/API_docs_v55/constructors/messages.stickerSetInstallResultSuccess.md @@ -0,0 +1,33 @@ +--- +title: messages.stickerSetInstallResultSuccess +description: The stickerset was installed successfully +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickerSetInstallResultSuccess +[Back to constructors index](index.md) + + + +The stickerset was installed successfully + + + + +### Type: [messages.StickerSetInstallResult](../types/messages.StickerSetInstallResult.md) + + +### Example: + +```php +$messages.stickerSetInstallResultSuccess = ['_' => 'messages.stickerSetInstallResultSuccess']; +``` + + +Or, if you're into Lua: + +```lua +messages.stickerSetInstallResultSuccess={_='messages.stickerSetInstallResultSuccess'} + +``` + + diff --git a/old_docs/API_docs_v55/constructors/messages.stickers.md b/old_docs/API_docs_v55/constructors/messages.stickers.md new file mode 100644 index 00000000..310b64b0 --- /dev/null +++ b/old_docs/API_docs_v55/constructors/messages.stickers.md @@ -0,0 +1,39 @@ +--- +title: messages.stickers +description: Found stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickers +[Back to constructors index](index.md) + + + +Found stickers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[string](../types/string.md) | Yes|Hash| +|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| + + + +### Type: [messages.Stickers](../types/messages.Stickers.md) + + +### Example: + +```php +$messages.stickers = ['_' => 'messages.stickers', 'hash' => 'string', 'stickers' => [Document, Document]]; +``` + + +Or, if you're into Lua: + +```lua +messages.stickers={_='messages.stickers', hash='string', stickers={Document}} + +``` + + diff --git a/old_docs/API_docs_v55/constructors/messages.stickersNotModified.md b/old_docs/API_docs_v55/constructors/messages.stickersNotModified.md new file mode 100644 index 00000000..e8c7766c --- /dev/null +++ b/old_docs/API_docs_v55/constructors/messages.stickersNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.stickersNotModified +description: No new stickers were found for the given query +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickersNotModified +[Back to constructors index](index.md) + + + +No new stickers were found for the given query + + + + +### Type: [messages.Stickers](../types/messages.Stickers.md) + + +### Example: + +```php +$messages.stickersNotModified = ['_' => 'messages.stickersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.stickersNotModified={_='messages.stickersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v55/constructors/messages_affectedHistory.md b/old_docs/API_docs_v55/constructors/messages_affectedHistory.md deleted file mode 100644 index 449a7e3f..00000000 --- a/old_docs/API_docs_v55/constructors/messages_affectedHistory.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.affectedHistory -description: Affected part of communication history with the user or in a chat. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.affectedHistory -[Back to constructors index](index.md) - - - -Affected part of communication history with the user or in a chat. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| -|pts\_count|[int](../types/int.md) | Yes|Number of affected events| -|offset|[int](../types/int.md) | Yes|If a parameter contains positive value, it is necessary to repeat the method call using the given value; during the proceeding of all the history the value itself shall gradually decrease| - - - -### Type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) - - -### Example: - -```php -$messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_affectedHistory={_='messages.affectedHistory', pts=int, pts_count=int, offset=int} - -``` - - diff --git a/old_docs/API_docs_v55/constructors/messages_affectedMessages.md b/old_docs/API_docs_v55/constructors/messages_affectedMessages.md deleted file mode 100644 index 86760581..00000000 --- a/old_docs/API_docs_v55/constructors/messages_affectedMessages.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.affectedMessages -description: Events affected by operation -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.affectedMessages -[Back to constructors index](index.md) - - - -Events affected by operation - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|[Event count after generation](https://core.telegram.org/api/updates)| -|pts\_count|[int](../types/int.md) | Yes|[Number of events that were generated](https://core.telegram.org/api/updates)| - - - -### Type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) - - -### Example: - -```php -$messages_affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_affectedMessages={_='messages.affectedMessages', pts=int, pts_count=int} - -``` - - diff --git a/old_docs/API_docs_v55/constructors/messages_allStickers.md b/old_docs/API_docs_v55/constructors/messages_allStickers.md deleted file mode 100644 index 2e64f46e..00000000 --- a/old_docs/API_docs_v55/constructors/messages_allStickers.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.allStickers -description: Info about all installed stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.allStickers -[Back to constructors index](index.md) - - - -Info about all installed stickers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|sets|Array of [StickerSet](../types/StickerSet.md) | Yes|Sets| - - - -### Type: [messages\_AllStickers](../types/messages_AllStickers.md) - - -### Example: - -```php -$messages_allStickers = ['_' => 'messages.allStickers', 'hash' => int, 'sets' => [StickerSet, StickerSet]]; -``` - - -Or, if you're into Lua: - -```lua -messages_allStickers={_='messages.allStickers', hash=int, sets={StickerSet}} - -``` - - diff --git a/old_docs/API_docs_v55/constructors/messages_allStickersNotModified.md b/old_docs/API_docs_v55/constructors/messages_allStickersNotModified.md deleted file mode 100644 index c4da85ab..00000000 --- a/old_docs/API_docs_v55/constructors/messages_allStickersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.allStickersNotModified -description: Info about all installed stickers hasn't changed -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.allStickersNotModified -[Back to constructors index](index.md) - - - -Info about all installed stickers hasn't changed - - - - -### Type: [messages\_AllStickers](../types/messages_AllStickers.md) - - -### Example: - -```php -$messages_allStickersNotModified = ['_' => 'messages.allStickersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_allStickersNotModified={_='messages.allStickersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v55/constructors/messages_archivedStickers.md b/old_docs/API_docs_v55/constructors/messages_archivedStickers.md deleted file mode 100644 index 6b28c885..00000000 --- a/old_docs/API_docs_v55/constructors/messages_archivedStickers.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.archivedStickers -description: Archived stickersets -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.archivedStickers -[Back to constructors index](index.md) - - - -Archived stickersets - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Number of archived stickers| -|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| - - - -### Type: [messages\_ArchivedStickers](../types/messages_ArchivedStickers.md) - - -### Example: - -```php -$messages_archivedStickers = ['_' => 'messages.archivedStickers', 'count' => int, 'sets' => [StickerSetCovered, StickerSetCovered]]; -``` - - -Or, if you're into Lua: - -```lua -messages_archivedStickers={_='messages.archivedStickers', count=int, sets={StickerSetCovered}} - -``` - - diff --git a/old_docs/API_docs_v55/constructors/messages_botCallbackAnswer.md b/old_docs/API_docs_v55/constructors/messages_botCallbackAnswer.md deleted file mode 100644 index 5ab555e5..00000000 --- a/old_docs/API_docs_v55/constructors/messages_botCallbackAnswer.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.botCallbackAnswer -description: Callback answer sent by the bot in response to a button press -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.botCallbackAnswer -[Back to constructors index](index.md) - - - -Callback answer sent by the bot in response to a button press - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|alert|[Bool](../types/Bool.md) | Optional|Whether an alert should be shown to the user instead of a toast notification| -|message|[string](../types/string.md) | Optional|Alert to show| -|url|[string](../types/string.md) | Optional|URL to open| - - - -### Type: [messages\_BotCallbackAnswer](../types/messages_BotCallbackAnswer.md) - - -### Example: - -```php -$messages_botCallbackAnswer = ['_' => 'messages.botCallbackAnswer', 'alert' => Bool, 'message' => 'string', 'url' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -messages_botCallbackAnswer={_='messages.botCallbackAnswer', alert=Bool, message='string', url='string'} - -``` - - diff --git a/old_docs/API_docs_v55/constructors/messages_botResults.md b/old_docs/API_docs_v55/constructors/messages_botResults.md deleted file mode 100644 index 036ce74b..00000000 --- a/old_docs/API_docs_v55/constructors/messages_botResults.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: messages.botResults -description: Result of a query to an inline bot -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.botResults -[Back to constructors index](index.md) - - - -Result of a query to an inline bot - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|gallery|[Bool](../types/Bool.md) | Optional|Whether the result is a picture gallery| -|query\_id|[long](../types/long.md) | Yes|Query ID| -|next\_offset|[string](../types/string.md) | Optional|The next offset to use when navigating through results| -|switch\_pm|[InlineBotSwitchPM](../types/InlineBotSwitchPM.md) | Optional|Whether the bot requested the user to message him in private| -|results|Array of [BotInlineResult](../types/BotInlineResult.md) | Yes|Results| - - - -### Type: [messages\_BotResults](../types/messages_BotResults.md) - - -### Example: - -```php -$messages_botResults = ['_' => 'messages.botResults', 'gallery' => Bool, 'query_id' => long, 'next_offset' => 'string', 'switch_pm' => InlineBotSwitchPM, 'results' => [BotInlineResult, BotInlineResult]]; -``` - - -Or, if you're into Lua: - -```lua -messages_botResults={_='messages.botResults', gallery=Bool, query_id=long, next_offset='string', switch_pm=InlineBotSwitchPM, results={BotInlineResult}} - -``` - - diff --git a/old_docs/API_docs_v55/constructors/messages_channelMessages.md b/old_docs/API_docs_v55/constructors/messages_channelMessages.md deleted file mode 100644 index 12cdb9cd..00000000 --- a/old_docs/API_docs_v55/constructors/messages_channelMessages.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: messages.channelMessages -description: Channel messages -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.channelMessages -[Back to constructors index](index.md) - - - -Channel messages - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|[Event count after generation](https://core.telegram.org/api/updates)| -|count|[int](../types/int.md) | Yes|Total number of results were found server-side (may not be all included here)| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Messages](../types/messages_Messages.md) - - -### Example: - -```php -$messages_channelMessages = ['_' => 'messages.channelMessages', 'pts' => int, 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_channelMessages={_='messages.channelMessages', pts=int, count=int, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v55/constructors/messages_chatFull.md b/old_docs/API_docs_v55/constructors/messages_chatFull.md deleted file mode 100644 index 02f1acdf..00000000 --- a/old_docs/API_docs_v55/constructors/messages_chatFull.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.chatFull -description: Extended info on chat and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.chatFull -[Back to constructors index](index.md) - - - -Extended info on chat and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|full\_chat|[ChatFull](../types/ChatFull.md) | Yes|Extended info on a chat| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_ChatFull](../types/messages_ChatFull.md) - - -### Example: - -```php -$messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_chatFull={_='messages.chatFull', full_chat=ChatFull, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v55/constructors/messages_chats.md b/old_docs/API_docs_v55/constructors/messages_chats.md deleted file mode 100644 index ef3690a9..00000000 --- a/old_docs/API_docs_v55/constructors/messages_chats.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.chats -description: List of chats with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.chats -[Back to constructors index](index.md) - - - -List of chats with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| - - - -### Type: [messages\_Chats](../types/messages_Chats.md) - - -### Example: - -```php -$messages_chats = ['_' => 'messages.chats', 'chats' => [Chat, Chat]]; -``` - - -Or, if you're into Lua: - -```lua -messages_chats={_='messages.chats', chats={Chat}} - -``` - - diff --git a/old_docs/API_docs_v55/constructors/messages_dhConfig.md b/old_docs/API_docs_v55/constructors/messages_dhConfig.md deleted file mode 100644 index 42c2feb1..00000000 --- a/old_docs/API_docs_v55/constructors/messages_dhConfig.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: messages.dhConfig -description: New set of configuring parameters. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dhConfig -[Back to constructors index](index.md) - - - -New set of configuring parameters. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|g|[int](../types/int.md) | Yes|New value **prime**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| -|p|[bytes](../types/bytes.md) | Yes|New value **primitive root**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| -|version|[int](../types/int.md) | Yes|Vestion of set of parameters| -|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| - - - -### Type: [messages\_DhConfig](../types/messages_DhConfig.md) - - -### Example: - -```php -$messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'version' => int, 'random' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -messages_dhConfig={_='messages.dhConfig', g=int, p='bytes', version=int, random='bytes'} - -``` - - diff --git a/old_docs/API_docs_v55/constructors/messages_dhConfigNotModified.md b/old_docs/API_docs_v55/constructors/messages_dhConfigNotModified.md deleted file mode 100644 index 5bf64230..00000000 --- a/old_docs/API_docs_v55/constructors/messages_dhConfigNotModified.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.dhConfigNotModified -description: Configuring parameters did not change. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dhConfigNotModified -[Back to constructors index](index.md) - - - -Configuring parameters did not change. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| - - - -### Type: [messages\_DhConfig](../types/messages_DhConfig.md) - - -### Example: - -```php -$messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -messages_dhConfigNotModified={_='messages.dhConfigNotModified', random='bytes'} - -``` - - diff --git a/old_docs/API_docs_v55/constructors/messages_dialogs.md b/old_docs/API_docs_v55/constructors/messages_dialogs.md deleted file mode 100644 index e6a431b4..00000000 --- a/old_docs/API_docs_v55/constructors/messages_dialogs.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: messages.dialogs -description: Full list of chats with messages and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dialogs -[Back to constructors index](index.md) - - - -Full list of chats with messages and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Dialogs](../types/messages_Dialogs.md) - - -### Example: - -```php -$messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_dialogs={_='messages.dialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v55/constructors/messages_dialogsSlice.md b/old_docs/API_docs_v55/constructors/messages_dialogsSlice.md deleted file mode 100644 index f183b9a8..00000000 --- a/old_docs/API_docs_v55/constructors/messages_dialogsSlice.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: messages.dialogsSlice -description: Incomplete list of dialogs with messages and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dialogsSlice -[Back to constructors index](index.md) - - - -Incomplete list of dialogs with messages and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of dialogs| -|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Dialogs](../types/messages_Dialogs.md) - - -### Example: - -```php -$messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_dialogsSlice={_='messages.dialogsSlice', count=int, dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v55/constructors/messages_featuredStickers.md b/old_docs/API_docs_v55/constructors/messages_featuredStickers.md deleted file mode 100644 index 8ef1046e..00000000 --- a/old_docs/API_docs_v55/constructors/messages_featuredStickers.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.featuredStickers -description: Featured stickersets -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.featuredStickers -[Back to constructors index](index.md) - - - -Featured stickersets - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| -|unread|Array of [long](../types/long.md) | Yes|Unread| - - - -### Type: [messages\_FeaturedStickers](../types/messages_FeaturedStickers.md) - - -### Example: - -```php -$messages_featuredStickers = ['_' => 'messages.featuredStickers', 'hash' => int, 'sets' => [StickerSetCovered, StickerSetCovered], 'unread' => [long, long]]; -``` - - -Or, if you're into Lua: - -```lua -messages_featuredStickers={_='messages.featuredStickers', hash=int, sets={StickerSetCovered}, unread={long}} - -``` - - diff --git a/old_docs/API_docs_v55/constructors/messages_featuredStickersNotModified.md b/old_docs/API_docs_v55/constructors/messages_featuredStickersNotModified.md deleted file mode 100644 index de01131b..00000000 --- a/old_docs/API_docs_v55/constructors/messages_featuredStickersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.featuredStickersNotModified -description: Featured stickers haven't changed -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.featuredStickersNotModified -[Back to constructors index](index.md) - - - -Featured stickers haven't changed - - - - -### Type: [messages\_FeaturedStickers](../types/messages_FeaturedStickers.md) - - -### Example: - -```php -$messages_featuredStickersNotModified = ['_' => 'messages.featuredStickersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_featuredStickersNotModified={_='messages.featuredStickersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v55/constructors/messages_foundGifs.md b/old_docs/API_docs_v55/constructors/messages_foundGifs.md deleted file mode 100644 index eb3603ca..00000000 --- a/old_docs/API_docs_v55/constructors/messages_foundGifs.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.foundGifs -description: Found GIFs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.foundGifs -[Back to constructors index](index.md) - - - -Found GIFs - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|next\_offset|[int](../types/int.md) | Yes|Next offset to use when trying to [load more results](../methods/messages.searchGifs.md)| -|results|Array of [FoundGif](../types/FoundGif.md) | Yes|Results| - - - -### Type: [messages\_FoundGifs](../types/messages_FoundGifs.md) - - -### Example: - -```php -$messages_foundGifs = ['_' => 'messages.foundGifs', 'next_offset' => int, 'results' => [FoundGif, FoundGif]]; -``` - - -Or, if you're into Lua: - -```lua -messages_foundGifs={_='messages.foundGifs', next_offset=int, results={FoundGif}} - -``` - - diff --git a/old_docs/API_docs_v55/constructors/messages_messageEditData.md b/old_docs/API_docs_v55/constructors/messages_messageEditData.md deleted file mode 100644 index 76aefca5..00000000 --- a/old_docs/API_docs_v55/constructors/messages_messageEditData.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.messageEditData -description: Message edit data for media -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.messageEditData -[Back to constructors index](index.md) - - - -Message edit data for media - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|caption|[Bool](../types/Bool.md) | Optional|Media caption, if the specified media's caption can be edited| - - - -### Type: [messages\_MessageEditData](../types/messages_MessageEditData.md) - - -### Example: - -```php -$messages_messageEditData = ['_' => 'messages.messageEditData', 'caption' => Bool]; -``` - - -Or, if you're into Lua: - -```lua -messages_messageEditData={_='messages.messageEditData', caption=Bool} - -``` - - diff --git a/old_docs/API_docs_v55/constructors/messages_messages.md b/old_docs/API_docs_v55/constructors/messages_messages.md deleted file mode 100644 index 3e369e1a..00000000 --- a/old_docs/API_docs_v55/constructors/messages_messages.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.messages -description: Full list of messages with auxilary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.messages -[Back to constructors index](index.md) - - - -Full list of messages with auxilary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Messages](../types/messages_Messages.md) - - -### Example: - -```php -$messages_messages = ['_' => 'messages.messages', 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_messages={_='messages.messages', messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v55/constructors/messages_messagesSlice.md b/old_docs/API_docs_v55/constructors/messages_messagesSlice.md deleted file mode 100644 index f9b8dc18..00000000 --- a/old_docs/API_docs_v55/constructors/messages_messagesSlice.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: messages.messagesSlice -description: Incomplete list of messages and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.messagesSlice -[Back to constructors index](index.md) - - - -Incomplete list of messages and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of messages in the list| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Messages](../types/messages_Messages.md) - - -### Example: - -```php -$messages_messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_messagesSlice={_='messages.messagesSlice', count=int, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v55/constructors/messages_peerDialogs.md b/old_docs/API_docs_v55/constructors/messages_peerDialogs.md deleted file mode 100644 index 29b4b842..00000000 --- a/old_docs/API_docs_v55/constructors/messages_peerDialogs.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: messages.peerDialogs -description: Dialog info of multiple peers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.peerDialogs -[Back to constructors index](index.md) - - - -Dialog info of multiple peers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| -|state|[updates\_State](../types/updates_State.md) | Yes|Current [update state of dialog](https://core.telegram.org/api/updates)| - - - -### Type: [messages\_PeerDialogs](../types/messages_PeerDialogs.md) - - -### Example: - -```php -$messages_peerDialogs = ['_' => 'messages.peerDialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates_State]; -``` - - -Or, if you're into Lua: - -```lua -messages_peerDialogs={_='messages.peerDialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}, state=updates_State} - -``` - - diff --git a/old_docs/API_docs_v55/constructors/messages_recentStickers.md b/old_docs/API_docs_v55/constructors/messages_recentStickers.md deleted file mode 100644 index 31b059e5..00000000 --- a/old_docs/API_docs_v55/constructors/messages_recentStickers.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.recentStickers -description: Recently used stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.recentStickers -[Back to constructors index](index.md) - - - -Recently used stickers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| - - - -### Type: [messages\_RecentStickers](../types/messages_RecentStickers.md) - - -### Example: - -```php -$messages_recentStickers = ['_' => 'messages.recentStickers', 'hash' => int, 'stickers' => [Document, Document]]; -``` - - -Or, if you're into Lua: - -```lua -messages_recentStickers={_='messages.recentStickers', hash=int, stickers={Document}} - -``` - - diff --git a/old_docs/API_docs_v55/constructors/messages_recentStickersNotModified.md b/old_docs/API_docs_v55/constructors/messages_recentStickersNotModified.md deleted file mode 100644 index 3e81dceb..00000000 --- a/old_docs/API_docs_v55/constructors/messages_recentStickersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.recentStickersNotModified -description: No new recent sticker was found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.recentStickersNotModified -[Back to constructors index](index.md) - - - -No new recent sticker was found - - - - -### Type: [messages\_RecentStickers](../types/messages_RecentStickers.md) - - -### Example: - -```php -$messages_recentStickersNotModified = ['_' => 'messages.recentStickersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_recentStickersNotModified={_='messages.recentStickersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v55/constructors/messages_savedGifs.md b/old_docs/API_docs_v55/constructors/messages_savedGifs.md deleted file mode 100644 index ed3e8ea3..00000000 --- a/old_docs/API_docs_v55/constructors/messages_savedGifs.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.savedGifs -description: Saved gifs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.savedGifs -[Back to constructors index](index.md) - - - -Saved gifs - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|gifs|Array of [Document](../types/Document.md) | Yes|Gifs| - - - -### Type: [messages\_SavedGifs](../types/messages_SavedGifs.md) - - -### Example: - -```php -$messages_savedGifs = ['_' => 'messages.savedGifs', 'hash' => int, 'gifs' => [Document, Document]]; -``` - - -Or, if you're into Lua: - -```lua -messages_savedGifs={_='messages.savedGifs', hash=int, gifs={Document}} - -``` - - diff --git a/old_docs/API_docs_v55/constructors/messages_savedGifsNotModified.md b/old_docs/API_docs_v55/constructors/messages_savedGifsNotModified.md deleted file mode 100644 index 0f843a0c..00000000 --- a/old_docs/API_docs_v55/constructors/messages_savedGifsNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.savedGifsNotModified -description: No new saved gifs were found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.savedGifsNotModified -[Back to constructors index](index.md) - - - -No new saved gifs were found - - - - -### Type: [messages\_SavedGifs](../types/messages_SavedGifs.md) - - -### Example: - -```php -$messages_savedGifsNotModified = ['_' => 'messages.savedGifsNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_savedGifsNotModified={_='messages.savedGifsNotModified'} - -``` - - diff --git a/old_docs/API_docs_v55/constructors/messages_sentEncryptedFile.md b/old_docs/API_docs_v55/constructors/messages_sentEncryptedFile.md deleted file mode 100644 index fdc2a11e..00000000 --- a/old_docs/API_docs_v55/constructors/messages_sentEncryptedFile.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.sentEncryptedFile -description: Message with a file enclosure sent to a protected chat -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.sentEncryptedFile -[Back to constructors index](index.md) - - - -Message with a file enclosure sent to a protected chat - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Sending date| -|file|[EncryptedFile](../types/EncryptedFile.md) | Optional|Attached file| - - - -### Type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) - - -### Example: - -```php -$messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile]; -``` - - -Or, if you're into Lua: - -```lua -messages_sentEncryptedFile={_='messages.sentEncryptedFile', date=int, file=EncryptedFile} - -``` - - diff --git a/old_docs/API_docs_v55/constructors/messages_sentEncryptedMessage.md b/old_docs/API_docs_v55/constructors/messages_sentEncryptedMessage.md deleted file mode 100644 index 36b2bbff..00000000 --- a/old_docs/API_docs_v55/constructors/messages_sentEncryptedMessage.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.sentEncryptedMessage -description: Message without file attachemts sent to an encrypted file. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.sentEncryptedMessage -[Back to constructors index](index.md) - - - -Message without file attachemts sent to an encrypted file. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Date of sending| - - - -### Type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) - - -### Example: - -```php -$messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_sentEncryptedMessage={_='messages.sentEncryptedMessage', date=int} - -``` - - diff --git a/old_docs/API_docs_v55/constructors/messages_stickerSet.md b/old_docs/API_docs_v55/constructors/messages_stickerSet.md deleted file mode 100644 index 127191de..00000000 --- a/old_docs/API_docs_v55/constructors/messages_stickerSet.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.stickerSet -description: Stickerset and stickers inside it -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickerSet -[Back to constructors index](index.md) - - - -Stickerset and stickers inside it - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|set|[StickerSet](../types/StickerSet.md) | Yes|The stickerset| -|packs|Array of [StickerPack](../types/StickerPack.md) | Yes|Packs| -|documents|Array of [Document](../types/Document.md) | Yes|Documents| - - - -### Type: [messages\_StickerSet](../types/messages_StickerSet.md) - - -### Example: - -```php -$messages_stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'packs' => [StickerPack, StickerPack], 'documents' => [Document, Document]]; -``` - - -Or, if you're into Lua: - -```lua -messages_stickerSet={_='messages.stickerSet', set=StickerSet, packs={StickerPack}, documents={Document}} - -``` - - diff --git a/old_docs/API_docs_v55/constructors/messages_stickerSetInstallResultArchive.md b/old_docs/API_docs_v55/constructors/messages_stickerSetInstallResultArchive.md deleted file mode 100644 index 8a5f4d5d..00000000 --- a/old_docs/API_docs_v55/constructors/messages_stickerSetInstallResultArchive.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.stickerSetInstallResultArchive -description: The stickerset was installed, but since there are too many stickersets some were archived -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickerSetInstallResultArchive -[Back to constructors index](index.md) - - - -The stickerset was installed, but since there are too many stickersets some were archived - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| - - - -### Type: [messages\_StickerSetInstallResult](../types/messages_StickerSetInstallResult.md) - - -### Example: - -```php -$messages_stickerSetInstallResultArchive = ['_' => 'messages.stickerSetInstallResultArchive', 'sets' => [StickerSetCovered, StickerSetCovered]]; -``` - - -Or, if you're into Lua: - -```lua -messages_stickerSetInstallResultArchive={_='messages.stickerSetInstallResultArchive', sets={StickerSetCovered}} - -``` - - diff --git a/old_docs/API_docs_v55/constructors/messages_stickerSetInstallResultSuccess.md b/old_docs/API_docs_v55/constructors/messages_stickerSetInstallResultSuccess.md deleted file mode 100644 index 1d33b89f..00000000 --- a/old_docs/API_docs_v55/constructors/messages_stickerSetInstallResultSuccess.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.stickerSetInstallResultSuccess -description: The stickerset was installed successfully -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickerSetInstallResultSuccess -[Back to constructors index](index.md) - - - -The stickerset was installed successfully - - - - -### Type: [messages\_StickerSetInstallResult](../types/messages_StickerSetInstallResult.md) - - -### Example: - -```php -$messages_stickerSetInstallResultSuccess = ['_' => 'messages.stickerSetInstallResultSuccess']; -``` - - -Or, if you're into Lua: - -```lua -messages_stickerSetInstallResultSuccess={_='messages.stickerSetInstallResultSuccess'} - -``` - - diff --git a/old_docs/API_docs_v55/constructors/messages_stickers.md b/old_docs/API_docs_v55/constructors/messages_stickers.md deleted file mode 100644 index 1c007df2..00000000 --- a/old_docs/API_docs_v55/constructors/messages_stickers.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.stickers -description: Found stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickers -[Back to constructors index](index.md) - - - -Found stickers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[string](../types/string.md) | Yes|Hash| -|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| - - - -### Type: [messages\_Stickers](../types/messages_Stickers.md) - - -### Example: - -```php -$messages_stickers = ['_' => 'messages.stickers', 'hash' => 'string', 'stickers' => [Document, Document]]; -``` - - -Or, if you're into Lua: - -```lua -messages_stickers={_='messages.stickers', hash='string', stickers={Document}} - -``` - - diff --git a/old_docs/API_docs_v55/constructors/messages_stickersNotModified.md b/old_docs/API_docs_v55/constructors/messages_stickersNotModified.md deleted file mode 100644 index 3d434a79..00000000 --- a/old_docs/API_docs_v55/constructors/messages_stickersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.stickersNotModified -description: No new stickers were found for the given query -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickersNotModified -[Back to constructors index](index.md) - - - -No new stickers were found for the given query - - - - -### Type: [messages\_Stickers](../types/messages_Stickers.md) - - -### Example: - -```php -$messages_stickersNotModified = ['_' => 'messages.stickersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_stickersNotModified={_='messages.stickersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v55/constructors/photos.photo.md b/old_docs/API_docs_v55/constructors/photos.photo.md new file mode 100644 index 00000000..43d3efc7 --- /dev/null +++ b/old_docs/API_docs_v55/constructors/photos.photo.md @@ -0,0 +1,39 @@ +--- +title: photos.photo +description: Photo with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: photos.photo +[Back to constructors index](index.md) + + + +Photo with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|photo|[Photo](../types/Photo.md) | Optional|Photo| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [photos.Photo](../types/photos.Photo.md) + + +### Example: + +```php +$photos.photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +photos.photo={_='photos.photo', photo=Photo, users={User}} + +``` + + diff --git a/old_docs/API_docs_v55/constructors/photos.photos.md b/old_docs/API_docs_v55/constructors/photos.photos.md new file mode 100644 index 00000000..901a9693 --- /dev/null +++ b/old_docs/API_docs_v55/constructors/photos.photos.md @@ -0,0 +1,39 @@ +--- +title: photos.photos +description: Full list of photos with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: photos.photos +[Back to constructors index](index.md) + + + +Full list of photos with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [photos.Photos](../types/photos.Photos.md) + + +### Example: + +```php +$photos.photos = ['_' => 'photos.photos', 'photos' => [Photo, Photo], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +photos.photos={_='photos.photos', photos={Photo}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v55/constructors/photos.photosSlice.md b/old_docs/API_docs_v55/constructors/photos.photosSlice.md new file mode 100644 index 00000000..2cca3546 --- /dev/null +++ b/old_docs/API_docs_v55/constructors/photos.photosSlice.md @@ -0,0 +1,40 @@ +--- +title: photos.photosSlice +description: Incomplete list of photos with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: photos.photosSlice +[Back to constructors index](index.md) + + + +Incomplete list of photos with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of photos| +|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [photos.Photos](../types/photos.Photos.md) + + +### Example: + +```php +$photos.photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo, Photo], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +photos.photosSlice={_='photos.photosSlice', count=int, photos={Photo}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v55/constructors/photos_photo.md b/old_docs/API_docs_v55/constructors/photos_photo.md deleted file mode 100644 index d5ad61d9..00000000 --- a/old_docs/API_docs_v55/constructors/photos_photo.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: photos.photo -description: Photo with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: photos.photo -[Back to constructors index](index.md) - - - -Photo with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|photo|[Photo](../types/Photo.md) | Optional|Photo| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [photos\_Photo](../types/photos_Photo.md) - - -### Example: - -```php -$photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -photos_photo={_='photos.photo', photo=Photo, users={User}} - -``` - - diff --git a/old_docs/API_docs_v55/constructors/photos_photos.md b/old_docs/API_docs_v55/constructors/photos_photos.md deleted file mode 100644 index 6ae5d048..00000000 --- a/old_docs/API_docs_v55/constructors/photos_photos.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: photos.photos -description: Full list of photos with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: photos.photos -[Back to constructors index](index.md) - - - -Full list of photos with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [photos\_Photos](../types/photos_Photos.md) - - -### Example: - -```php -$photos_photos = ['_' => 'photos.photos', 'photos' => [Photo, Photo], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -photos_photos={_='photos.photos', photos={Photo}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v55/constructors/photos_photosSlice.md b/old_docs/API_docs_v55/constructors/photos_photosSlice.md deleted file mode 100644 index 5c465c21..00000000 --- a/old_docs/API_docs_v55/constructors/photos_photosSlice.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: photos.photosSlice -description: Incomplete list of photos with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: photos.photosSlice -[Back to constructors index](index.md) - - - -Incomplete list of photos with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of photos| -|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [photos\_Photos](../types/photos_Photos.md) - - -### Example: - -```php -$photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo, Photo], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -photos_photosSlice={_='photos.photosSlice', count=int, photos={Photo}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v55/constructors/storage.fileGif.md b/old_docs/API_docs_v55/constructors/storage.fileGif.md new file mode 100644 index 00000000..8193bd25 --- /dev/null +++ b/old_docs/API_docs_v55/constructors/storage.fileGif.md @@ -0,0 +1,33 @@ +--- +title: storage.fileGif +description: GIF image. MIME type: `image/gif`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileGif +[Back to constructors index](index.md) + + + +GIF image. MIME type: `image/gif`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileGif = ['_' => 'storage.fileGif']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileGif={_='storage.fileGif'} + +``` + + diff --git a/old_docs/API_docs_v55/constructors/storage.fileJpeg.md b/old_docs/API_docs_v55/constructors/storage.fileJpeg.md new file mode 100644 index 00000000..7f125963 --- /dev/null +++ b/old_docs/API_docs_v55/constructors/storage.fileJpeg.md @@ -0,0 +1,33 @@ +--- +title: storage.fileJpeg +description: JPEG image. MIME type: `image/jpeg`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileJpeg +[Back to constructors index](index.md) + + + +JPEG image. MIME type: `image/jpeg`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileJpeg = ['_' => 'storage.fileJpeg']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileJpeg={_='storage.fileJpeg'} + +``` + + diff --git a/old_docs/API_docs_v55/constructors/storage.fileMov.md b/old_docs/API_docs_v55/constructors/storage.fileMov.md new file mode 100644 index 00000000..cb3742e0 --- /dev/null +++ b/old_docs/API_docs_v55/constructors/storage.fileMov.md @@ -0,0 +1,33 @@ +--- +title: storage.fileMov +description: Quicktime video. MIME type: `video/quicktime`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileMov +[Back to constructors index](index.md) + + + +Quicktime video. MIME type: `video/quicktime`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileMov = ['_' => 'storage.fileMov']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileMov={_='storage.fileMov'} + +``` + + diff --git a/old_docs/API_docs_v55/constructors/storage.fileMp3.md b/old_docs/API_docs_v55/constructors/storage.fileMp3.md new file mode 100644 index 00000000..617f2d39 --- /dev/null +++ b/old_docs/API_docs_v55/constructors/storage.fileMp3.md @@ -0,0 +1,33 @@ +--- +title: storage.fileMp3 +description: Mp3 audio. MIME type: `audio/mpeg`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileMp3 +[Back to constructors index](index.md) + + + +Mp3 audio. MIME type: `audio/mpeg`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileMp3 = ['_' => 'storage.fileMp3']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileMp3={_='storage.fileMp3'} + +``` + + diff --git a/old_docs/API_docs_v55/constructors/storage.fileMp4.md b/old_docs/API_docs_v55/constructors/storage.fileMp4.md new file mode 100644 index 00000000..37038176 --- /dev/null +++ b/old_docs/API_docs_v55/constructors/storage.fileMp4.md @@ -0,0 +1,33 @@ +--- +title: storage.fileMp4 +description: MPEG-4 video. MIME type: `video/mp4`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileMp4 +[Back to constructors index](index.md) + + + +MPEG-4 video. MIME type: `video/mp4`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileMp4 = ['_' => 'storage.fileMp4']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileMp4={_='storage.fileMp4'} + +``` + + diff --git a/old_docs/API_docs_v55/constructors/storage.filePartial.md b/old_docs/API_docs_v55/constructors/storage.filePartial.md new file mode 100644 index 00000000..98779e71 --- /dev/null +++ b/old_docs/API_docs_v55/constructors/storage.filePartial.md @@ -0,0 +1,33 @@ +--- +title: storage.filePartial +description: Part of a bigger file. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.filePartial +[Back to constructors index](index.md) + + + +Part of a bigger file. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.filePartial = ['_' => 'storage.filePartial']; +``` + + +Or, if you're into Lua: + +```lua +storage.filePartial={_='storage.filePartial'} + +``` + + diff --git a/old_docs/API_docs_v55/constructors/storage.filePdf.md b/old_docs/API_docs_v55/constructors/storage.filePdf.md new file mode 100644 index 00000000..136c0614 --- /dev/null +++ b/old_docs/API_docs_v55/constructors/storage.filePdf.md @@ -0,0 +1,33 @@ +--- +title: storage.filePdf +description: PDF document image. MIME type: `application/pdf`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.filePdf +[Back to constructors index](index.md) + + + +PDF document image. MIME type: `application/pdf`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.filePdf = ['_' => 'storage.filePdf']; +``` + + +Or, if you're into Lua: + +```lua +storage.filePdf={_='storage.filePdf'} + +``` + + diff --git a/old_docs/API_docs_v55/constructors/storage.filePng.md b/old_docs/API_docs_v55/constructors/storage.filePng.md new file mode 100644 index 00000000..db01ce0e --- /dev/null +++ b/old_docs/API_docs_v55/constructors/storage.filePng.md @@ -0,0 +1,33 @@ +--- +title: storage.filePng +description: PNG image. MIME type: `image/png`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.filePng +[Back to constructors index](index.md) + + + +PNG image. MIME type: `image/png`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.filePng = ['_' => 'storage.filePng']; +``` + + +Or, if you're into Lua: + +```lua +storage.filePng={_='storage.filePng'} + +``` + + diff --git a/old_docs/API_docs_v55/constructors/storage.fileUnknown.md b/old_docs/API_docs_v55/constructors/storage.fileUnknown.md new file mode 100644 index 00000000..26f0a5ae --- /dev/null +++ b/old_docs/API_docs_v55/constructors/storage.fileUnknown.md @@ -0,0 +1,33 @@ +--- +title: storage.fileUnknown +description: Unknown type. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileUnknown +[Back to constructors index](index.md) + + + +Unknown type. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileUnknown = ['_' => 'storage.fileUnknown']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileUnknown={_='storage.fileUnknown'} + +``` + + diff --git a/old_docs/API_docs_v55/constructors/storage.fileWebp.md b/old_docs/API_docs_v55/constructors/storage.fileWebp.md new file mode 100644 index 00000000..63c9ded1 --- /dev/null +++ b/old_docs/API_docs_v55/constructors/storage.fileWebp.md @@ -0,0 +1,33 @@ +--- +title: storage.fileWebp +description: WEBP image. MIME type: `image/webp`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileWebp +[Back to constructors index](index.md) + + + +WEBP image. MIME type: `image/webp`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileWebp = ['_' => 'storage.fileWebp']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileWebp={_='storage.fileWebp'} + +``` + + diff --git a/old_docs/API_docs_v55/constructors/storage_fileGif.md b/old_docs/API_docs_v55/constructors/storage_fileGif.md deleted file mode 100644 index 218c7491..00000000 --- a/old_docs/API_docs_v55/constructors/storage_fileGif.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileGif -description: GIF image. MIME type: `image/gif`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileGif -[Back to constructors index](index.md) - - - -GIF image. MIME type: `image/gif`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileGif = ['_' => 'storage.fileGif']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileGif={_='storage.fileGif'} - -``` - - diff --git a/old_docs/API_docs_v55/constructors/storage_fileJpeg.md b/old_docs/API_docs_v55/constructors/storage_fileJpeg.md deleted file mode 100644 index 925531cd..00000000 --- a/old_docs/API_docs_v55/constructors/storage_fileJpeg.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileJpeg -description: JPEG image. MIME type: `image/jpeg`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileJpeg -[Back to constructors index](index.md) - - - -JPEG image. MIME type: `image/jpeg`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileJpeg = ['_' => 'storage.fileJpeg']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileJpeg={_='storage.fileJpeg'} - -``` - - diff --git a/old_docs/API_docs_v55/constructors/storage_fileMov.md b/old_docs/API_docs_v55/constructors/storage_fileMov.md deleted file mode 100644 index eaf2a6ff..00000000 --- a/old_docs/API_docs_v55/constructors/storage_fileMov.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileMov -description: Quicktime video. MIME type: `video/quicktime`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileMov -[Back to constructors index](index.md) - - - -Quicktime video. MIME type: `video/quicktime`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileMov = ['_' => 'storage.fileMov']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileMov={_='storage.fileMov'} - -``` - - diff --git a/old_docs/API_docs_v55/constructors/storage_fileMp3.md b/old_docs/API_docs_v55/constructors/storage_fileMp3.md deleted file mode 100644 index 9afcefbb..00000000 --- a/old_docs/API_docs_v55/constructors/storage_fileMp3.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileMp3 -description: Mp3 audio. MIME type: `audio/mpeg`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileMp3 -[Back to constructors index](index.md) - - - -Mp3 audio. MIME type: `audio/mpeg`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileMp3 = ['_' => 'storage.fileMp3']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileMp3={_='storage.fileMp3'} - -``` - - diff --git a/old_docs/API_docs_v55/constructors/storage_fileMp4.md b/old_docs/API_docs_v55/constructors/storage_fileMp4.md deleted file mode 100644 index cdc0e783..00000000 --- a/old_docs/API_docs_v55/constructors/storage_fileMp4.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileMp4 -description: MPEG-4 video. MIME type: `video/mp4`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileMp4 -[Back to constructors index](index.md) - - - -MPEG-4 video. MIME type: `video/mp4`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileMp4 = ['_' => 'storage.fileMp4']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileMp4={_='storage.fileMp4'} - -``` - - diff --git a/old_docs/API_docs_v55/constructors/storage_filePartial.md b/old_docs/API_docs_v55/constructors/storage_filePartial.md deleted file mode 100644 index 9bfadf63..00000000 --- a/old_docs/API_docs_v55/constructors/storage_filePartial.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.filePartial -description: Part of a bigger file. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.filePartial -[Back to constructors index](index.md) - - - -Part of a bigger file. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_filePartial = ['_' => 'storage.filePartial']; -``` - - -Or, if you're into Lua: - -```lua -storage_filePartial={_='storage.filePartial'} - -``` - - diff --git a/old_docs/API_docs_v55/constructors/storage_filePdf.md b/old_docs/API_docs_v55/constructors/storage_filePdf.md deleted file mode 100644 index efb022cc..00000000 --- a/old_docs/API_docs_v55/constructors/storage_filePdf.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.filePdf -description: PDF document image. MIME type: `application/pdf`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.filePdf -[Back to constructors index](index.md) - - - -PDF document image. MIME type: `application/pdf`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_filePdf = ['_' => 'storage.filePdf']; -``` - - -Or, if you're into Lua: - -```lua -storage_filePdf={_='storage.filePdf'} - -``` - - diff --git a/old_docs/API_docs_v55/constructors/storage_filePng.md b/old_docs/API_docs_v55/constructors/storage_filePng.md deleted file mode 100644 index 412759e4..00000000 --- a/old_docs/API_docs_v55/constructors/storage_filePng.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.filePng -description: PNG image. MIME type: `image/png`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.filePng -[Back to constructors index](index.md) - - - -PNG image. MIME type: `image/png`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_filePng = ['_' => 'storage.filePng']; -``` - - -Or, if you're into Lua: - -```lua -storage_filePng={_='storage.filePng'} - -``` - - diff --git a/old_docs/API_docs_v55/constructors/storage_fileUnknown.md b/old_docs/API_docs_v55/constructors/storage_fileUnknown.md deleted file mode 100644 index ed33dd5e..00000000 --- a/old_docs/API_docs_v55/constructors/storage_fileUnknown.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileUnknown -description: Unknown type. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileUnknown -[Back to constructors index](index.md) - - - -Unknown type. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileUnknown = ['_' => 'storage.fileUnknown']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileUnknown={_='storage.fileUnknown'} - -``` - - diff --git a/old_docs/API_docs_v55/constructors/storage_fileWebp.md b/old_docs/API_docs_v55/constructors/storage_fileWebp.md deleted file mode 100644 index 04dcad74..00000000 --- a/old_docs/API_docs_v55/constructors/storage_fileWebp.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileWebp -description: WEBP image. MIME type: `image/webp`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileWebp -[Back to constructors index](index.md) - - - -WEBP image. MIME type: `image/webp`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileWebp = ['_' => 'storage.fileWebp']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileWebp={_='storage.fileWebp'} - -``` - - diff --git a/old_docs/API_docs_v55/constructors/updateNewStickerSet.md b/old_docs/API_docs_v55/constructors/updateNewStickerSet.md index 8a99a363..c32c41ff 100644 --- a/old_docs/API_docs_v55/constructors/updateNewStickerSet.md +++ b/old_docs/API_docs_v55/constructors/updateNewStickerSet.md @@ -14,7 +14,7 @@ A new stickerset was installed | Name | Type | Required | Description | |----------|---------------|----------|-------------| -|stickerset|[messages\_StickerSet](../types/messages_StickerSet.md) | Yes|The installed stickerset| +|stickerset|[messages.StickerSet](../constructors/messages.StickerSet.md) | Yes|The installed stickerset| @@ -24,14 +24,14 @@ A new stickerset was installed ### Example: ```php -$updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages_StickerSet]; +$updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages.StickerSet]; ``` Or, if you're into Lua: ```lua -updateNewStickerSet={_='updateNewStickerSet', stickerset=messages_StickerSet} +updateNewStickerSet={_='updateNewStickerSet', stickerset=messages.StickerSet} ``` diff --git a/old_docs/API_docs_v55/constructors/updates.channelDifference.md b/old_docs/API_docs_v55/constructors/updates.channelDifference.md new file mode 100644 index 00000000..5a13791c --- /dev/null +++ b/old_docs/API_docs_v55/constructors/updates.channelDifference.md @@ -0,0 +1,44 @@ +--- +title: updates.channelDifference +description: The new updates +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.channelDifference +[Back to constructors index](index.md) + + + +The new updates + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates to be fetched using getDifference, starting from the provided `pts`| +|pts|[int](../types/int.md) | Yes|The [PTS](https://core.telegram.org/api/updates) from which to start getting updates the next time| +|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| +|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| +|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [updates.ChannelDifference](../types/updates.ChannelDifference.md) + + +### Example: + +```php +$updates.channelDifference = ['_' => 'updates.channelDifference', 'final' => Bool, 'pts' => int, 'timeout' => int, 'new_messages' => [Message, Message], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +updates.channelDifference={_='updates.channelDifference', final=Bool, pts=int, timeout=int, new_messages={Message}, other_updates={Update}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v55/constructors/updates.channelDifferenceEmpty.md b/old_docs/API_docs_v55/constructors/updates.channelDifferenceEmpty.md new file mode 100644 index 00000000..8ce43da4 --- /dev/null +++ b/old_docs/API_docs_v55/constructors/updates.channelDifferenceEmpty.md @@ -0,0 +1,40 @@ +--- +title: updates.channelDifferenceEmpty +description: There are no new updates +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.channelDifferenceEmpty +[Back to constructors index](index.md) + + + +There are no new updates + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates that must be fetched (always false)| +|pts|[int](../types/int.md) | Yes|The latest [PTS](https://core.telegram.org/api/updates)| +|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| + + + +### Type: [updates.ChannelDifference](../types/updates.ChannelDifference.md) + + +### Example: + +```php +$updates.channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'final' => Bool, 'pts' => int, 'timeout' => int]; +``` + + +Or, if you're into Lua: + +```lua +updates.channelDifferenceEmpty={_='updates.channelDifferenceEmpty', final=Bool, pts=int, timeout=int} + +``` + + diff --git a/old_docs/API_docs_v55/constructors/updates.channelDifferenceTooLong.md b/old_docs/API_docs_v55/constructors/updates.channelDifferenceTooLong.md new file mode 100644 index 00000000..3d47a6df --- /dev/null +++ b/old_docs/API_docs_v55/constructors/updates.channelDifferenceTooLong.md @@ -0,0 +1,57 @@ +--- +title: updates.channelDifferenceTooLong +description: The provided `pts + limit < remote pts`. Simply, there are too many updates to be fetched (more than `limit`), the client has to resolve the update gap in one of the following ways: + +1. Delete all known messages in the chat, begin from scratch by refetching all messages manually with [getHistory](../methods/messages.getHistory.md). It is easy to implement, but suddenly disappearing messages looks awful for the user. +2. Save all messages loaded in the memory until application restart, but delete all messages from database. Messages left in the memory must be lazily updated using calls to [getHistory](../methods/messages.getHistory.md). It looks much smoothly for the user, he will need to redownload messages only after client restart. Unsynchronized messages left in the memory shouldn't be saved to database, results of [getHistory](../methods/messages.getHistory.md) and [getMessages](../methods/messages.getMessages.md) must be used to update state of deleted and edited messages left in the memory. +3. Save all messages loaded in the memory and stored in the database without saving that some messages form continuous ranges. Messages in the database will be excluded from results of getChatHistory and searchChatMessages after application restart and will be available only through getMessage. Every message should still be checked using getHistory. It has more disadvantages over 2) than advantages. +4. Save all messages with saving all data about continuous message ranges. Messages from the database may be used as results of getChatHistory and (if implemented continuous ranges support for searching shared media) searchChatMessages. The messages should still be lazily checked using getHistory, but they are still available offline. It is the best way for gaps support, but it is pretty hard to implement correctly. It should be also noted that some messages like live location messages shouldn't be deleted. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.channelDifferenceTooLong +[Back to constructors index](index.md) + + + +The provided `pts + limit < remote pts`. Simply, there are too many updates to be fetched (more than `limit`), the client has to resolve the update gap in one of the following ways: + +1. Delete all known messages in the chat, begin from scratch by refetching all messages manually with [getHistory](../methods/messages.getHistory.md). It is easy to implement, but suddenly disappearing messages looks awful for the user. +2. Save all messages loaded in the memory until application restart, but delete all messages from database. Messages left in the memory must be lazily updated using calls to [getHistory](../methods/messages.getHistory.md). It looks much smoothly for the user, he will need to redownload messages only after client restart. Unsynchronized messages left in the memory shouldn't be saved to database, results of [getHistory](../methods/messages.getHistory.md) and [getMessages](../methods/messages.getMessages.md) must be used to update state of deleted and edited messages left in the memory. +3. Save all messages loaded in the memory and stored in the database without saving that some messages form continuous ranges. Messages in the database will be excluded from results of getChatHistory and searchChatMessages after application restart and will be available only through getMessage. Every message should still be checked using getHistory. It has more disadvantages over 2) than advantages. +4. Save all messages with saving all data about continuous message ranges. Messages from the database may be used as results of getChatHistory and (if implemented continuous ranges support for searching shared media) searchChatMessages. The messages should still be lazily checked using getHistory, but they are still available offline. It is the best way for gaps support, but it is pretty hard to implement correctly. It should be also noted that some messages like live location messages shouldn't be deleted. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates that must be fetched (always false)| +|pts|[int](../types/int.md) | Yes|Pts| +|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| +|top\_message|[int](../types/int.md) | Yes|Top message| +|read\_inbox\_max\_id|[int](../types/int.md) | Yes|Read inbox max ID| +|read\_outbox\_max\_id|[int](../types/int.md) | Yes|Read outbox max ID| +|unread\_count|[int](../types/int.md) | Yes|Unread count| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [updates.ChannelDifference](../types/updates.ChannelDifference.md) + + +### Example: + +```php +$updates.channelDifferenceTooLong = ['_' => 'updates.channelDifferenceTooLong', 'final' => Bool, 'pts' => int, 'timeout' => int, 'top_message' => int, 'read_inbox_max_id' => int, 'read_outbox_max_id' => int, 'unread_count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +updates.channelDifferenceTooLong={_='updates.channelDifferenceTooLong', final=Bool, pts=int, timeout=int, top_message=int, read_inbox_max_id=int, read_outbox_max_id=int, unread_count=int, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v55/constructors/updates.difference.md b/old_docs/API_docs_v55/constructors/updates.difference.md new file mode 100644 index 00000000..82541b51 --- /dev/null +++ b/old_docs/API_docs_v55/constructors/updates.difference.md @@ -0,0 +1,43 @@ +--- +title: updates.difference +description: Full list of occurred events. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.difference +[Back to constructors index](index.md) + + + +Full list of occurred events. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| +|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| +|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| +|state|[updates.State](../constructors/updates.State.md) | Yes|Current state| + + + +### Type: [updates.Difference](../types/updates.Difference.md) + + +### Example: + +```php +$updates.difference = ['_' => 'updates.difference', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates.State]; +``` + + +Or, if you're into Lua: + +```lua +updates.difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates.State} + +``` + + diff --git a/old_docs/API_docs_v55/constructors/updates.differenceEmpty.md b/old_docs/API_docs_v55/constructors/updates.differenceEmpty.md new file mode 100644 index 00000000..a9dc3bd0 --- /dev/null +++ b/old_docs/API_docs_v55/constructors/updates.differenceEmpty.md @@ -0,0 +1,39 @@ +--- +title: updates.differenceEmpty +description: No events. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.differenceEmpty +[Back to constructors index](index.md) + + + +No events. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Current date| +|seq|[int](../types/int.md) | Yes|Number of sent updates| + + + +### Type: [updates.Difference](../types/updates.Difference.md) + + +### Example: + +```php +$updates.differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int]; +``` + + +Or, if you're into Lua: + +```lua +updates.differenceEmpty={_='updates.differenceEmpty', date=int, seq=int} + +``` + + diff --git a/old_docs/API_docs_v55/constructors/updates.differenceSlice.md b/old_docs/API_docs_v55/constructors/updates.differenceSlice.md new file mode 100644 index 00000000..9daf7a75 --- /dev/null +++ b/old_docs/API_docs_v55/constructors/updates.differenceSlice.md @@ -0,0 +1,43 @@ +--- +title: updates.differenceSlice +description: Incomplete list of occurred events. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.differenceSlice +[Back to constructors index](index.md) + + + +Incomplete list of occurred events. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| +|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| +|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| +|intermediate\_state|[updates.State](../constructors/updates.State.md) | Yes|Intermediary state| + + + +### Type: [updates.Difference](../types/updates.Difference.md) + + +### Example: + +```php +$updates.differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'intermediate_state' => updates.State]; +``` + + +Or, if you're into Lua: + +```lua +updates.differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates.State} + +``` + + diff --git a/old_docs/API_docs_v55/constructors/updates.state.md b/old_docs/API_docs_v55/constructors/updates.state.md new file mode 100644 index 00000000..abe9ddbb --- /dev/null +++ b/old_docs/API_docs_v55/constructors/updates.state.md @@ -0,0 +1,42 @@ +--- +title: updates.state +description: Updates state. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.state +[Back to constructors index](index.md) + + + +Updates state. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| +|qts|[int](../types/int.md) | Yes|Position in a sequence of updates in secret chats. For further detailes refer to article [secret chats](https://core.telegram.org/api/end-to-end)
Parameter was added in [eigth layer](https://core.telegram.org/api/layers#layer-8).| +|date|[int](../types/int.md) | Yes|Date of condition| +|seq|[int](../types/int.md) | Yes|Number of sent updates| +|unread\_count|[int](../types/int.md) | Yes|Number of unread messages| + + + +### Type: [updates.State](../types/updates.State.md) + + +### Example: + +```php +$updates.state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int]; +``` + + +Or, if you're into Lua: + +```lua +updates.state={_='updates.state', pts=int, qts=int, date=int, seq=int, unread_count=int} + +``` + + diff --git a/old_docs/API_docs_v55/constructors/updates_channelDifference.md b/old_docs/API_docs_v55/constructors/updates_channelDifference.md deleted file mode 100644 index 1b50fbf3..00000000 --- a/old_docs/API_docs_v55/constructors/updates_channelDifference.md +++ /dev/null @@ -1,44 +0,0 @@ ---- -title: updates.channelDifference -description: The new updates -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.channelDifference -[Back to constructors index](index.md) - - - -The new updates - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates to be fetched using getDifference, starting from the provided `pts`| -|pts|[int](../types/int.md) | Yes|The [PTS](https://core.telegram.org/api/updates) from which to start getting updates the next time| -|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| -|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| -|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) - - -### Example: - -```php -$updates_channelDifference = ['_' => 'updates.channelDifference', 'final' => Bool, 'pts' => int, 'timeout' => int, 'new_messages' => [Message, Message], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -updates_channelDifference={_='updates.channelDifference', final=Bool, pts=int, timeout=int, new_messages={Message}, other_updates={Update}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v55/constructors/updates_channelDifferenceEmpty.md b/old_docs/API_docs_v55/constructors/updates_channelDifferenceEmpty.md deleted file mode 100644 index 713137aa..00000000 --- a/old_docs/API_docs_v55/constructors/updates_channelDifferenceEmpty.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: updates.channelDifferenceEmpty -description: There are no new updates -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.channelDifferenceEmpty -[Back to constructors index](index.md) - - - -There are no new updates - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates that must be fetched (always false)| -|pts|[int](../types/int.md) | Yes|The latest [PTS](https://core.telegram.org/api/updates)| -|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| - - - -### Type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) - - -### Example: - -```php -$updates_channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'final' => Bool, 'pts' => int, 'timeout' => int]; -``` - - -Or, if you're into Lua: - -```lua -updates_channelDifferenceEmpty={_='updates.channelDifferenceEmpty', final=Bool, pts=int, timeout=int} - -``` - - diff --git a/old_docs/API_docs_v55/constructors/updates_channelDifferenceTooLong.md b/old_docs/API_docs_v55/constructors/updates_channelDifferenceTooLong.md deleted file mode 100644 index fe561bca..00000000 --- a/old_docs/API_docs_v55/constructors/updates_channelDifferenceTooLong.md +++ /dev/null @@ -1,57 +0,0 @@ ---- -title: updates.channelDifferenceTooLong -description: The provided `pts + limit < remote pts`. Simply, there are too many updates to be fetched (more than `limit`), the client has to resolve the update gap in one of the following ways: - -1. Delete all known messages in the chat, begin from scratch by refetching all messages manually with [getHistory](../methods/messages.getHistory.md). It is easy to implement, but suddenly disappearing messages looks awful for the user. -2. Save all messages loaded in the memory until application restart, but delete all messages from database. Messages left in the memory must be lazily updated using calls to [getHistory](../methods/messages.getHistory.md). It looks much smoothly for the user, he will need to redownload messages only after client restart. Unsynchronized messages left in the memory shouldn't be saved to database, results of [getHistory](../methods/messages.getHistory.md) and [getMessages](../methods/messages.getMessages.md) must be used to update state of deleted and edited messages left in the memory. -3. Save all messages loaded in the memory and stored in the database without saving that some messages form continuous ranges. Messages in the database will be excluded from results of getChatHistory and searchChatMessages after application restart and will be available only through getMessage. Every message should still be checked using getHistory. It has more disadvantages over 2) than advantages. -4. Save all messages with saving all data about continuous message ranges. Messages from the database may be used as results of getChatHistory and (if implemented continuous ranges support for searching shared media) searchChatMessages. The messages should still be lazily checked using getHistory, but they are still available offline. It is the best way for gaps support, but it is pretty hard to implement correctly. It should be also noted that some messages like live location messages shouldn't be deleted. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.channelDifferenceTooLong -[Back to constructors index](index.md) - - - -The provided `pts + limit < remote pts`. Simply, there are too many updates to be fetched (more than `limit`), the client has to resolve the update gap in one of the following ways: - -1. Delete all known messages in the chat, begin from scratch by refetching all messages manually with [getHistory](../methods/messages.getHistory.md). It is easy to implement, but suddenly disappearing messages looks awful for the user. -2. Save all messages loaded in the memory until application restart, but delete all messages from database. Messages left in the memory must be lazily updated using calls to [getHistory](../methods/messages.getHistory.md). It looks much smoothly for the user, he will need to redownload messages only after client restart. Unsynchronized messages left in the memory shouldn't be saved to database, results of [getHistory](../methods/messages.getHistory.md) and [getMessages](../methods/messages.getMessages.md) must be used to update state of deleted and edited messages left in the memory. -3. Save all messages loaded in the memory and stored in the database without saving that some messages form continuous ranges. Messages in the database will be excluded from results of getChatHistory and searchChatMessages after application restart and will be available only through getMessage. Every message should still be checked using getHistory. It has more disadvantages over 2) than advantages. -4. Save all messages with saving all data about continuous message ranges. Messages from the database may be used as results of getChatHistory and (if implemented continuous ranges support for searching shared media) searchChatMessages. The messages should still be lazily checked using getHistory, but they are still available offline. It is the best way for gaps support, but it is pretty hard to implement correctly. It should be also noted that some messages like live location messages shouldn't be deleted. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates that must be fetched (always false)| -|pts|[int](../types/int.md) | Yes|Pts| -|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| -|top\_message|[int](../types/int.md) | Yes|Top message| -|read\_inbox\_max\_id|[int](../types/int.md) | Yes|Read inbox max ID| -|read\_outbox\_max\_id|[int](../types/int.md) | Yes|Read outbox max ID| -|unread\_count|[int](../types/int.md) | Yes|Unread count| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) - - -### Example: - -```php -$updates_channelDifferenceTooLong = ['_' => 'updates.channelDifferenceTooLong', 'final' => Bool, 'pts' => int, 'timeout' => int, 'top_message' => int, 'read_inbox_max_id' => int, 'read_outbox_max_id' => int, 'unread_count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -updates_channelDifferenceTooLong={_='updates.channelDifferenceTooLong', final=Bool, pts=int, timeout=int, top_message=int, read_inbox_max_id=int, read_outbox_max_id=int, unread_count=int, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v55/constructors/updates_difference.md b/old_docs/API_docs_v55/constructors/updates_difference.md deleted file mode 100644 index 71ac7d4c..00000000 --- a/old_docs/API_docs_v55/constructors/updates_difference.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: updates.difference -description: Full list of occurred events. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.difference -[Back to constructors index](index.md) - - - -Full list of occurred events. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| -|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| -|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| -|state|[updates\_State](../types/updates_State.md) | Yes|Current state| - - - -### Type: [updates\_Difference](../types/updates_Difference.md) - - -### Example: - -```php -$updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates_State]; -``` - - -Or, if you're into Lua: - -```lua -updates_difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates_State} - -``` - - diff --git a/old_docs/API_docs_v55/constructors/updates_differenceEmpty.md b/old_docs/API_docs_v55/constructors/updates_differenceEmpty.md deleted file mode 100644 index c3c95c5a..00000000 --- a/old_docs/API_docs_v55/constructors/updates_differenceEmpty.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: updates.differenceEmpty -description: No events. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.differenceEmpty -[Back to constructors index](index.md) - - - -No events. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Current date| -|seq|[int](../types/int.md) | Yes|Number of sent updates| - - - -### Type: [updates\_Difference](../types/updates_Difference.md) - - -### Example: - -```php -$updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int]; -``` - - -Or, if you're into Lua: - -```lua -updates_differenceEmpty={_='updates.differenceEmpty', date=int, seq=int} - -``` - - diff --git a/old_docs/API_docs_v55/constructors/updates_differenceSlice.md b/old_docs/API_docs_v55/constructors/updates_differenceSlice.md deleted file mode 100644 index 8b12a369..00000000 --- a/old_docs/API_docs_v55/constructors/updates_differenceSlice.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: updates.differenceSlice -description: Incomplete list of occurred events. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.differenceSlice -[Back to constructors index](index.md) - - - -Incomplete list of occurred events. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| -|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| -|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| -|intermediate\_state|[updates\_State](../types/updates_State.md) | Yes|Intermediary state| - - - -### Type: [updates\_Difference](../types/updates_Difference.md) - - -### Example: - -```php -$updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'intermediate_state' => updates_State]; -``` - - -Or, if you're into Lua: - -```lua -updates_differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates_State} - -``` - - diff --git a/old_docs/API_docs_v55/constructors/updates_state.md b/old_docs/API_docs_v55/constructors/updates_state.md deleted file mode 100644 index ef3698e2..00000000 --- a/old_docs/API_docs_v55/constructors/updates_state.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: updates.state -description: Updates state. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.state -[Back to constructors index](index.md) - - - -Updates state. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| -|qts|[int](../types/int.md) | Yes|Position in a sequence of updates in secret chats. For further detailes refer to article [secret chats](https://core.telegram.org/api/end-to-end)
Parameter was added in [eigth layer](https://core.telegram.org/api/layers#layer-8).| -|date|[int](../types/int.md) | Yes|Date of condition| -|seq|[int](../types/int.md) | Yes|Number of sent updates| -|unread\_count|[int](../types/int.md) | Yes|Number of unread messages| - - - -### Type: [updates\_State](../types/updates_State.md) - - -### Example: - -```php -$updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int]; -``` - - -Or, if you're into Lua: - -```lua -updates_state={_='updates.state', pts=int, qts=int, date=int, seq=int, unread_count=int} - -``` - - diff --git a/old_docs/API_docs_v55/constructors/upload.file.md b/old_docs/API_docs_v55/constructors/upload.file.md new file mode 100644 index 00000000..145a4c24 --- /dev/null +++ b/old_docs/API_docs_v55/constructors/upload.file.md @@ -0,0 +1,40 @@ +--- +title: upload.file +description: File content. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: upload.file +[Back to constructors index](index.md) + + + +File content. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|type|[storage.FileType](../constructors/storage.FileType.md) | Yes|File type| +|mtime|[int](../types/int.md) | Yes|Modification type| +|bytes|[bytes](../types/bytes.md) | Yes|Binary data, file content| + + + +### Type: [upload.File](../types/upload.File.md) + + +### Example: + +```php +$upload.file = ['_' => 'upload.file', 'type' => storage.FileType, 'mtime' => int, 'bytes' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +upload.file={_='upload.file', type=storage.FileType, mtime=int, bytes='bytes'} + +``` + + diff --git a/old_docs/API_docs_v55/constructors/upload_file.md b/old_docs/API_docs_v55/constructors/upload_file.md deleted file mode 100644 index 1e07d9fb..00000000 --- a/old_docs/API_docs_v55/constructors/upload_file.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: upload.file -description: File content. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: upload.file -[Back to constructors index](index.md) - - - -File content. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|type|[storage\_FileType](../types/storage_FileType.md) | Yes|File type| -|mtime|[int](../types/int.md) | Yes|Modification type| -|bytes|[bytes](../types/bytes.md) | Yes|Binary data, file content| - - - -### Type: [upload\_File](../types/upload_File.md) - - -### Example: - -```php -$upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int, 'bytes' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -upload_file={_='upload.file', type=storage_FileType, mtime=int, bytes='bytes'} - -``` - - diff --git a/old_docs/API_docs_v55/constructors/userFull.md b/old_docs/API_docs_v55/constructors/userFull.md index eb9e7aa9..76e9e929 100644 --- a/old_docs/API_docs_v55/constructors/userFull.md +++ b/old_docs/API_docs_v55/constructors/userFull.md @@ -17,7 +17,7 @@ Extended user info |blocked|[Bool](../types/Bool.md) | Optional|Whether you have blocked this user| |user|[User](../types/User.md) | Optional|Remaining user info| |about|[string](../types/string.md) | Optional|Bio of the user| -|link|[contacts\_Link](../types/contacts_Link.md) | Yes|Link| +|link|[contacts.Link](../constructors/contacts.Link.md) | Yes|Link| |profile\_photo|[Photo](../types/Photo.md) | Optional|Profile photo| |notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Optional|Notification settings| |bot\_info|[BotInfo](../types/BotInfo.md) | Optional|For bots, info about the bot (bot commands, etc)| @@ -30,14 +30,14 @@ Extended user info ### Example: ```php -$userFull = ['_' => 'userFull', 'blocked' => Bool, 'user' => User, 'about' => 'string', 'link' => contacts_Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'bot_info' => BotInfo]; +$userFull = ['_' => 'userFull', 'blocked' => Bool, 'user' => User, 'about' => 'string', 'link' => contacts.Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'bot_info' => BotInfo]; ``` Or, if you're into Lua: ```lua -userFull={_='userFull', blocked=Bool, user=User, about='string', link=contacts_Link, profile_photo=Photo, notify_settings=PeerNotifySettings, bot_info=BotInfo} +userFull={_='userFull', blocked=Bool, user=User, about='string', link=contacts.Link, profile_photo=Photo, notify_settings=PeerNotifySettings, bot_info=BotInfo} ``` diff --git a/old_docs/API_docs_v55/methods/account.getAuthorizations.md b/old_docs/API_docs_v55/methods/account.getAuthorizations.md index f69c130a..fad3a7ae 100644 --- a/old_docs/API_docs_v55/methods/account.getAuthorizations.md +++ b/old_docs/API_docs_v55/methods/account.getAuthorizations.md @@ -11,7 +11,7 @@ Get logged-in sessions -### Return type: [account\_Authorizations](../types/account_Authorizations.md) +### Return type: [account.Authorizations](../types/account.Authorizations.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_Authorizations = $MadelineProto->account->getAuthorizations(); +$account.Authorizations = $MadelineProto->account->getAuthorizations(); ``` Or, if you're into Lua: ```lua -account_Authorizations = account.getAuthorizations({}) +account.Authorizations = account.getAuthorizations({}) ``` diff --git a/old_docs/API_docs_v55/methods/account.getPassword.md b/old_docs/API_docs_v55/methods/account.getPassword.md index eed4aee3..621271b6 100644 --- a/old_docs/API_docs_v55/methods/account.getPassword.md +++ b/old_docs/API_docs_v55/methods/account.getPassword.md @@ -11,7 +11,7 @@ Obtain configuration for two-factor authorization with password -### Return type: [account\_Password](../types/account_Password.md) +### Return type: [account.Password](../types/account.Password.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_Password = $MadelineProto->account->getPassword(); +$account.Password = $MadelineProto->account->getPassword(); ``` Or, if you're into Lua: ```lua -account_Password = account.getPassword({}) +account.Password = account.getPassword({}) ``` diff --git a/old_docs/API_docs_v55/methods/account.getPasswordSettings.md b/old_docs/API_docs_v55/methods/account.getPasswordSettings.md index dcdae61a..3d3cce08 100644 --- a/old_docs/API_docs_v55/methods/account.getPasswordSettings.md +++ b/old_docs/API_docs_v55/methods/account.getPasswordSettings.md @@ -16,7 +16,7 @@ You cannot use this method directly; use $MadelineProto->update_2fa($params), in |current\_password\_hash|[bytes](../types/bytes.md) | You cannot use this method directly; use $MadelineProto->update_2fa($params), instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [account\_PasswordSettings](../types/account_PasswordSettings.md) +### Return type: [account.PasswordSettings](../types/account.PasswordSettings.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_PasswordSettings = $MadelineProto->account->getPasswordSettings(['current_password_hash' => 'bytes', ]); +$account.PasswordSettings = $MadelineProto->account->getPasswordSettings(['current_password_hash' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -account_PasswordSettings = account.getPasswordSettings({current_password_hash='bytes', }) +account.PasswordSettings = account.getPasswordSettings({current_password_hash='bytes', }) ``` ### Errors diff --git a/old_docs/API_docs_v55/methods/account.getPrivacy.md b/old_docs/API_docs_v55/methods/account.getPrivacy.md index 6a240129..e20c292c 100644 --- a/old_docs/API_docs_v55/methods/account.getPrivacy.md +++ b/old_docs/API_docs_v55/methods/account.getPrivacy.md @@ -16,7 +16,7 @@ Get privacy settings of current account |key|[InputPrivacyKey](../types/InputPrivacyKey.md) | Peer category whose privacy settings should be fetched | Yes| -### Return type: [account\_PrivacyRules](../types/account_PrivacyRules.md) +### Return type: [account.PrivacyRules](../types/account.PrivacyRules.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_PrivacyRules = $MadelineProto->account->getPrivacy(['key' => InputPrivacyKey, ]); +$account.PrivacyRules = $MadelineProto->account->getPrivacy(['key' => InputPrivacyKey, ]); ``` Or, if you're into Lua: ```lua -account_PrivacyRules = account.getPrivacy({key=InputPrivacyKey, }) +account.PrivacyRules = account.getPrivacy({key=InputPrivacyKey, }) ``` ### Errors diff --git a/old_docs/API_docs_v55/methods/account.sendChangePhoneCode.md b/old_docs/API_docs_v55/methods/account.sendChangePhoneCode.md index 0f81306e..30589ffa 100644 --- a/old_docs/API_docs_v55/methods/account.sendChangePhoneCode.md +++ b/old_docs/API_docs_v55/methods/account.sendChangePhoneCode.md @@ -18,7 +18,7 @@ Verify a new phone number to associate to the current account |current\_number|[Bool](../types/Bool.md) | Current phone number | Optional| -### Return type: [auth\_SentCode](../types/auth_SentCode.md) +### Return type: [auth.SentCode](../types/auth.SentCode.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_SentCode = $MadelineProto->account->sendChangePhoneCode(['allow_flashcall' => Bool, 'phone_number' => 'string', 'current_number' => Bool, ]); +$auth.SentCode = $MadelineProto->account->sendChangePhoneCode(['allow_flashcall' => Bool, 'phone_number' => 'string', 'current_number' => Bool, ]); ``` Or, if you're into Lua: ```lua -auth_SentCode = account.sendChangePhoneCode({allow_flashcall=Bool, phone_number='string', current_number=Bool, }) +auth.SentCode = account.sendChangePhoneCode({allow_flashcall=Bool, phone_number='string', current_number=Bool, }) ``` ### Errors diff --git a/old_docs/API_docs_v55/methods/account.sendConfirmPhoneCode.md b/old_docs/API_docs_v55/methods/account.sendConfirmPhoneCode.md index 68ba8fd3..9ec24f07 100644 --- a/old_docs/API_docs_v55/methods/account.sendConfirmPhoneCode.md +++ b/old_docs/API_docs_v55/methods/account.sendConfirmPhoneCode.md @@ -18,7 +18,7 @@ Send confirmation code to cancel account deletion, for more info [click here »] |current\_number|[Bool](../types/Bool.md) | The current phone number | Optional| -### Return type: [auth\_SentCode](../types/auth_SentCode.md) +### Return type: [auth.SentCode](../types/auth.SentCode.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_SentCode = $MadelineProto->account->sendConfirmPhoneCode(['allow_flashcall' => Bool, 'hash' => 'string', 'current_number' => Bool, ]); +$auth.SentCode = $MadelineProto->account->sendConfirmPhoneCode(['allow_flashcall' => Bool, 'hash' => 'string', 'current_number' => Bool, ]); ``` Or, if you're into Lua: ```lua -auth_SentCode = account.sendConfirmPhoneCode({allow_flashcall=Bool, hash='string', current_number=Bool, }) +auth.SentCode = account.sendConfirmPhoneCode({allow_flashcall=Bool, hash='string', current_number=Bool, }) ``` ### Errors diff --git a/old_docs/API_docs_v55/methods/account.setPrivacy.md b/old_docs/API_docs_v55/methods/account.setPrivacy.md index 7c4cfba7..096d373e 100644 --- a/old_docs/API_docs_v55/methods/account.setPrivacy.md +++ b/old_docs/API_docs_v55/methods/account.setPrivacy.md @@ -17,7 +17,7 @@ Change privacy settings of current account |rules|Array of [InputPrivacyRule](../types/InputPrivacyRule.md) | Privacy settings | Yes| -### Return type: [account\_PrivacyRules](../types/account_PrivacyRules.md) +### Return type: [account.PrivacyRules](../types/account.PrivacyRules.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_PrivacyRules = $MadelineProto->account->setPrivacy(['key' => InputPrivacyKey, 'rules' => [InputPrivacyRule, InputPrivacyRule], ]); +$account.PrivacyRules = $MadelineProto->account->setPrivacy(['key' => InputPrivacyKey, 'rules' => [InputPrivacyRule, InputPrivacyRule], ]); ``` Or, if you're into Lua: ```lua -account_PrivacyRules = account.setPrivacy({key=InputPrivacyKey, rules={InputPrivacyRule}, }) +account.PrivacyRules = account.setPrivacy({key=InputPrivacyKey, rules={InputPrivacyRule}, }) ``` ### Errors diff --git a/old_docs/API_docs_v55/methods/api_README.md b/old_docs/API_docs_v55/methods/api_README.md index 9d67df71..788b4a7f 100644 --- a/old_docs/API_docs_v55/methods/api_README.md +++ b/old_docs/API_docs_v55/methods/api_README.md @@ -56,7 +56,7 @@ $MadelineProto->[account->getAccountTTL](account.getAccountTTL.md)(\[\]) === [$A ***

-$MadelineProto->[account->getAuthorizations](account.getAuthorizations.md)(\[\]) === [$account\_Authorizations](../types/account_Authorizations.md) +$MadelineProto->[account->getAuthorizations](account.getAuthorizations.md)(\[\]) === [$account.Authorizations](../types/account.Authorizations.md) ***

@@ -64,15 +64,15 @@ $MadelineProto->[account->getNotifySettings](account.getNotifySettings.md)(\['pe ***

-$MadelineProto->[account->getPassword](account.getPassword.md)(\[\]) === [$account\_Password](../types/account_Password.md) +$MadelineProto->[account->getPassword](account.getPassword.md)(\[\]) === [$account.Password](../types/account.Password.md) ***

-$MadelineProto->[account->getPasswordSettings](account.getPasswordSettings.md)(\['current_password_hash' => [bytes](../types/bytes.md), \]) === [$account\_PasswordSettings](../types/account_PasswordSettings.md) +$MadelineProto->[account->getPasswordSettings](account.getPasswordSettings.md)(\['current_password_hash' => [bytes](../types/bytes.md), \]) === [$account.PasswordSettings](../types/account.PasswordSettings.md) ***

-$MadelineProto->[account->getPrivacy](account.getPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), \]) === [$account\_PrivacyRules](../types/account_PrivacyRules.md) +$MadelineProto->[account->getPrivacy](account.getPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), \]) === [$account.PrivacyRules](../types/account.PrivacyRules.md) ***

@@ -96,11 +96,11 @@ $MadelineProto->[account->resetNotifySettings](account.resetNotifySettings.md)(\ ***

-$MadelineProto->[account->sendChangePhoneCode](account.sendChangePhoneCode.md)(\['allow_flashcall' => [Bool](../types/Bool.md), 'phone_number' => [string](../types/string.md), 'current_number' => [Bool](../types/Bool.md), \]) === [$auth\_SentCode](../types/auth_SentCode.md) +$MadelineProto->[account->sendChangePhoneCode](account.sendChangePhoneCode.md)(\['allow_flashcall' => [Bool](../types/Bool.md), 'phone_number' => [string](../types/string.md), 'current_number' => [Bool](../types/Bool.md), \]) === [$auth.SentCode](../types/auth.SentCode.md) ***

-$MadelineProto->[account->sendConfirmPhoneCode](account.sendConfirmPhoneCode.md)(\['allow_flashcall' => [Bool](../types/Bool.md), 'hash' => [string](../types/string.md), 'current_number' => [Bool](../types/Bool.md), \]) === [$auth\_SentCode](../types/auth_SentCode.md) +$MadelineProto->[account->sendConfirmPhoneCode](account.sendConfirmPhoneCode.md)(\['allow_flashcall' => [Bool](../types/Bool.md), 'hash' => [string](../types/string.md), 'current_number' => [Bool](../types/Bool.md), \]) === [$auth.SentCode](../types/auth.SentCode.md) ***

@@ -108,7 +108,7 @@ $MadelineProto->[account->setAccountTTL](account.setAccountTTL.md)(\['ttl' => [A ***

-$MadelineProto->[account->setPrivacy](account.setPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), 'rules' => \[[InputPrivacyRule](../types/InputPrivacyRule.md)\], \]) === [$account\_PrivacyRules](../types/account_PrivacyRules.md) +$MadelineProto->[account->setPrivacy](account.setPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), 'rules' => \[[InputPrivacyRule](../types/InputPrivacyRule.md)\], \]) === [$account.PrivacyRules](../types/account.PrivacyRules.md) ***

@@ -148,23 +148,23 @@ $MadelineProto->[auth->cancelCode](auth.cancelCode.md)(\['phone_number' => [stri ***

-$MadelineProto->[auth->checkPassword](auth.checkPassword.md)(\['password_hash' => [bytes](../types/bytes.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->checkPassword](auth.checkPassword.md)(\['password_hash' => [bytes](../types/bytes.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

-$MadelineProto->[auth->checkPhone](auth.checkPhone.md)(\['phone_number' => [string](../types/string.md), \]) === [$auth\_CheckedPhone](../types/auth_CheckedPhone.md) +$MadelineProto->[auth->checkPhone](auth.checkPhone.md)(\['phone_number' => [string](../types/string.md), \]) === [$auth.CheckedPhone](../types/auth.CheckedPhone.md) ***

-$MadelineProto->[auth->exportAuthorization](auth.exportAuthorization.md)(\['dc_id' => [int](../types/int.md), \]) === [$auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) +$MadelineProto->[auth->exportAuthorization](auth.exportAuthorization.md)(\['dc_id' => [int](../types/int.md), \]) === [$auth.ExportedAuthorization](../types/auth.ExportedAuthorization.md) ***

-$MadelineProto->[auth->importAuthorization](auth.importAuthorization.md)(\['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->importAuthorization](auth.importAuthorization.md)(\['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

-$MadelineProto->[auth->importBotAuthorization](auth.importBotAuthorization.md)(\['api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), 'bot_auth_token' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->importBotAuthorization](auth.importBotAuthorization.md)(\['api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), 'bot_auth_token' => [string](../types/string.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

@@ -172,15 +172,15 @@ $MadelineProto->[auth->logOut](auth.logOut.md)(\[\]) === [$Bool](../types/Bool.m ***

-$MadelineProto->[auth->recoverPassword](auth.recoverPassword.md)(\['code' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->recoverPassword](auth.recoverPassword.md)(\['code' => [string](../types/string.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

-$MadelineProto->[auth->requestPasswordRecovery](auth.requestPasswordRecovery.md)(\[\]) === [$auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) +$MadelineProto->[auth->requestPasswordRecovery](auth.requestPasswordRecovery.md)(\[\]) === [$auth.PasswordRecovery](../types/auth.PasswordRecovery.md) ***

-$MadelineProto->[auth->resendCode](auth.resendCode.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), \]) === [$auth\_SentCode](../types/auth_SentCode.md) +$MadelineProto->[auth->resendCode](auth.resendCode.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), \]) === [$auth.SentCode](../types/auth.SentCode.md) ***

@@ -188,7 +188,7 @@ $MadelineProto->[auth->resetAuthorizations](auth.resetAuthorizations.md)(\[\]) = ***

-$MadelineProto->[auth->sendCode](auth.sendCode.md)(\['allow_flashcall' => [Bool](../types/Bool.md), 'phone_number' => [string](../types/string.md), 'current_number' => [Bool](../types/Bool.md), 'api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), \]) === [$auth\_SentCode](../types/auth_SentCode.md) +$MadelineProto->[auth->sendCode](auth.sendCode.md)(\['allow_flashcall' => [Bool](../types/Bool.md), 'phone_number' => [string](../types/string.md), 'current_number' => [Bool](../types/Bool.md), 'api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), \]) === [$auth.SentCode](../types/auth.SentCode.md) ***

@@ -196,11 +196,11 @@ $MadelineProto->[auth->sendInvites](auth.sendInvites.md)(\['phone_numbers' => \[ ***

-$MadelineProto->[auth->signIn](auth.signIn.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->signIn](auth.signIn.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

-$MadelineProto->[auth->signUp](auth.signUp.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->signUp](auth.signUp.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

@@ -216,11 +216,11 @@ $MadelineProto->[channels->deleteChannel](channels.deleteChannel.md)(\['channel' ***

-$MadelineProto->[channels->deleteMessages](channels.deleteMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) +$MadelineProto->[channels->deleteMessages](channels.deleteMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages.AffectedMessages](../types/messages.AffectedMessages.md) ***

-$MadelineProto->[channels->deleteUserHistory](channels.deleteUserHistory.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages\_AffectedHistory](../types/messages_AffectedHistory.md) +$MadelineProto->[channels->deleteUserHistory](channels.deleteUserHistory.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages.AffectedHistory](../types/messages.AffectedHistory.md) ***

@@ -248,23 +248,23 @@ $MadelineProto->[channels->exportMessageLink](channels.exportMessageLink.md)(\[' ***

-$MadelineProto->[channels->getChannels](channels.getChannels.md)(\['id' => \[[InputChannel](../types/InputChannel.md)\], \]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[channels->getChannels](channels.getChannels.md)(\['id' => \[[InputChannel](../types/InputChannel.md)\], \]) === [$messages.Chats](../types/messages.Chats.md) ***

-$MadelineProto->[channels->getFullChannel](channels.getFullChannel.md)(\['channel' => [InputChannel](../types/InputChannel.md), \]) === [$messages\_ChatFull](../types/messages_ChatFull.md) +$MadelineProto->[channels->getFullChannel](channels.getFullChannel.md)(\['channel' => [InputChannel](../types/InputChannel.md), \]) === [$messages.ChatFull](../types/messages.ChatFull.md) ***

-$MadelineProto->[channels->getMessages](channels.getMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[channels->getMessages](channels.getMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[channels->getParticipant](channels.getParticipant.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$channels\_ChannelParticipant](../types/channels_ChannelParticipant.md) +$MadelineProto->[channels->getParticipant](channels.getParticipant.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$channels.ChannelParticipant](../types/channels.ChannelParticipant.md) ***

-$MadelineProto->[channels->getParticipants](channels.getParticipants.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$channels\_ChannelParticipants](../types/channels_ChannelParticipants.md) +$MadelineProto->[channels->getParticipants](channels.getParticipants.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$channels.ChannelParticipants](../types/channels.ChannelParticipants.md) ***

@@ -312,7 +312,7 @@ $MadelineProto->[contacts->block](contacts.block.md)(\['id' => [InputUser](../ty ***

-$MadelineProto->[contacts->deleteContact](contacts.deleteContact.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$contacts\_Link](../types/contacts_Link.md) +$MadelineProto->[contacts->deleteContact](contacts.deleteContact.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$contacts.Link](../types/contacts.Link.md) ***

@@ -324,11 +324,11 @@ $MadelineProto->[contacts->exportCard](contacts.exportCard.md)(\[\]) === [$Vecto ***

-$MadelineProto->[contacts->getBlocked](contacts.getBlocked.md)(\['offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$contacts\_Blocked](../types/contacts_Blocked.md) +$MadelineProto->[contacts->getBlocked](contacts.getBlocked.md)(\['offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$contacts.Blocked](../types/contacts.Blocked.md) ***

-$MadelineProto->[contacts->getContacts](contacts.getContacts.md)(\['hash' => [string](../types/string.md), \]) === [$contacts\_Contacts](../types/contacts_Contacts.md) +$MadelineProto->[contacts->getContacts](contacts.getContacts.md)(\['hash' => [string](../types/string.md), \]) === [$contacts.Contacts](../types/contacts.Contacts.md) ***

@@ -336,7 +336,7 @@ $MadelineProto->[contacts->getStatuses](contacts.getStatuses.md)(\[\]) === [$Vec ***

-$MadelineProto->[contacts->getTopPeers](contacts.getTopPeers.md)(\['correspondents' => [Bool](../types/Bool.md), 'bots_pm' => [Bool](../types/Bool.md), 'bots_inline' => [Bool](../types/Bool.md), 'groups' => [Bool](../types/Bool.md), 'channels' => [Bool](../types/Bool.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$contacts\_TopPeers](../types/contacts_TopPeers.md) +$MadelineProto->[contacts->getTopPeers](contacts.getTopPeers.md)(\['correspondents' => [Bool](../types/Bool.md), 'bots_pm' => [Bool](../types/Bool.md), 'bots_inline' => [Bool](../types/Bool.md), 'groups' => [Bool](../types/Bool.md), 'channels' => [Bool](../types/Bool.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$contacts.TopPeers](../types/contacts.TopPeers.md) ***

@@ -344,7 +344,7 @@ $MadelineProto->[contacts->importCard](contacts.importCard.md)(\['export_card' = ***

-$MadelineProto->[contacts->importContacts](contacts.importContacts.md)(\['contacts' => \[[InputContact](../types/InputContact.md)\], 'replace' => [Bool](../types/Bool.md), \]) === [$contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) +$MadelineProto->[contacts->importContacts](contacts.importContacts.md)(\['contacts' => \[[InputContact](../types/InputContact.md)\], 'replace' => [Bool](../types/Bool.md), \]) === [$contacts.ImportedContacts](../types/contacts.ImportedContacts.md) ***

@@ -352,11 +352,11 @@ $MadelineProto->[contacts->resetTopPeerRating](contacts.resetTopPeerRating.md)(\ ***

-$MadelineProto->[contacts->resolveUsername](contacts.resolveUsername.md)(\['username' => [string](../types/string.md), \]) === [$contacts\_ResolvedPeer](../types/contacts_ResolvedPeer.md) +$MadelineProto->[contacts->resolveUsername](contacts.resolveUsername.md)(\['username' => [string](../types/string.md), \]) === [$contacts.ResolvedPeer](../types/contacts.ResolvedPeer.md) ***

-$MadelineProto->[contacts->search](contacts.search.md)(\['q' => [string](../types/string.md), 'limit' => [int](../types/int.md), \]) === [$contacts\_Found](../types/contacts_Found.md) +$MadelineProto->[contacts->search](contacts.search.md)(\['q' => [string](../types/string.md), 'limit' => [int](../types/int.md), \]) === [$contacts.Found](../types/contacts.Found.md) ***

@@ -364,11 +364,11 @@ $MadelineProto->[contacts->unblock](contacts.unblock.md)(\['id' => [InputUser](. ***

-$MadelineProto->[help->getAppChangelog](help.getAppChangelog.md)(\[\]) === [$help\_AppChangelog](../types/help_AppChangelog.md) +$MadelineProto->[help->getAppChangelog](help.getAppChangelog.md)(\[\]) === [$help.AppChangelog](../types/help.AppChangelog.md) ***

-$MadelineProto->[help->getAppUpdate](help.getAppUpdate.md)(\[\]) === [$help\_AppUpdate](../types/help_AppUpdate.md) +$MadelineProto->[help->getAppUpdate](help.getAppUpdate.md)(\[\]) === [$help.AppUpdate](../types/help.AppUpdate.md) ***

@@ -376,7 +376,7 @@ $MadelineProto->[help->getConfig](help.getConfig.md)(\[\]) === [$Config](../type ***

-$MadelineProto->[help->getInviteText](help.getInviteText.md)(\[\]) === [$help\_InviteText](../types/help_InviteText.md) +$MadelineProto->[help->getInviteText](help.getInviteText.md)(\[\]) === [$help.InviteText](../types/help.InviteText.md) ***

@@ -384,11 +384,11 @@ $MadelineProto->[help->getNearestDc](help.getNearestDc.md)(\[\]) === [$NearestDc ***

-$MadelineProto->[help->getSupport](help.getSupport.md)(\[\]) === [$help\_Support](../types/help_Support.md) +$MadelineProto->[help->getSupport](help.getSupport.md)(\[\]) === [$help.Support](../types/help.Support.md) ***

-$MadelineProto->[help->getTermsOfService](help.getTermsOfService.md)(\[\]) === [$help\_TermsOfService](../types/help_TermsOfService.md) +$MadelineProto->[help->getTermsOfService](help.getTermsOfService.md)(\[\]) === [$help.TermsOfService](../types/help.TermsOfService.md) ***

@@ -440,11 +440,11 @@ $MadelineProto->[messages->deleteChatUser](messages.deleteChatUser.md)(\['chat_i ***

-$MadelineProto->[messages->deleteHistory](messages.deleteHistory.md)(\['just_clear' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), \]) === [$messages\_AffectedHistory](../types/messages_AffectedHistory.md) +$MadelineProto->[messages->deleteHistory](messages.deleteHistory.md)(\['just_clear' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), \]) === [$messages.AffectedHistory](../types/messages.AffectedHistory.md) ***

-$MadelineProto->[messages->deleteMessages](messages.deleteMessages.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) +$MadelineProto->[messages->deleteMessages](messages.deleteMessages.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages.AffectedMessages](../types/messages.AffectedMessages.md) ***

@@ -488,27 +488,27 @@ $MadelineProto->[messages->getAllDrafts](messages.getAllDrafts.md)(\[\]) === [$U ***

-$MadelineProto->[messages->getAllStickers](messages.getAllStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages\_AllStickers](../types/messages_AllStickers.md) +$MadelineProto->[messages->getAllStickers](messages.getAllStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages.AllStickers](../types/messages.AllStickers.md) ***

-$MadelineProto->[messages->getArchivedStickers](messages.getArchivedStickers.md)(\['offset_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$messages\_ArchivedStickers](../types/messages_ArchivedStickers.md) +$MadelineProto->[messages->getArchivedStickers](messages.getArchivedStickers.md)(\['offset_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$messages.ArchivedStickers](../types/messages.ArchivedStickers.md) ***

-$MadelineProto->[messages->getBotCallbackAnswer](messages.getBotCallbackAnswer.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'msg_id' => [int](../types/int.md), 'data' => [bytes](../types/bytes.md), \]) === [$messages\_BotCallbackAnswer](../types/messages_BotCallbackAnswer.md) +$MadelineProto->[messages->getBotCallbackAnswer](messages.getBotCallbackAnswer.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'msg_id' => [int](../types/int.md), 'data' => [bytes](../types/bytes.md), \]) === [$messages.BotCallbackAnswer](../types/messages.BotCallbackAnswer.md) ***

-$MadelineProto->[messages->getChats](messages.getChats.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[messages->getChats](messages.getChats.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages.Chats](../types/messages.Chats.md) ***

-$MadelineProto->[messages->getDhConfig](messages.getDhConfig.md)(\['version' => [int](../types/int.md), 'random_length' => [int](../types/int.md), \]) === [$messages\_DhConfig](../types/messages_DhConfig.md) +$MadelineProto->[messages->getDhConfig](messages.getDhConfig.md)(\['version' => [int](../types/int.md), 'random_length' => [int](../types/int.md), \]) === [$messages.DhConfig](../types/messages.DhConfig.md) ***

-$MadelineProto->[messages->getDialogs](messages.getDialogs.md)(\['offset_date' => [int](../types/int.md), 'offset_id' => [int](../types/int.md), 'offset_peer' => [InputPeer](../types/InputPeer.md), 'limit' => [int](../types/int.md), \]) === [$messages\_Dialogs](../types/messages_Dialogs.md) +$MadelineProto->[messages->getDialogs](messages.getDialogs.md)(\['offset_date' => [int](../types/int.md), 'offset_id' => [int](../types/int.md), 'offset_peer' => [InputPeer](../types/InputPeer.md), 'limit' => [int](../types/int.md), \]) === [$messages.Dialogs](../types/messages.Dialogs.md) ***

@@ -516,27 +516,27 @@ $MadelineProto->[messages->getDocumentByHash](messages.getDocumentByHash.md)(\[' ***

-$MadelineProto->[messages->getFeaturedStickers](messages.getFeaturedStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages\_FeaturedStickers](../types/messages_FeaturedStickers.md) +$MadelineProto->[messages->getFeaturedStickers](messages.getFeaturedStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages.FeaturedStickers](../types/messages.FeaturedStickers.md) ***

-$MadelineProto->[messages->getFullChat](messages.getFullChat.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), \]) === [$messages\_ChatFull](../types/messages_ChatFull.md) +$MadelineProto->[messages->getFullChat](messages.getFullChat.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), \]) === [$messages.ChatFull](../types/messages.ChatFull.md) ***

-$MadelineProto->[messages->getHistory](messages.getHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'offset_date' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->getHistory](messages.getHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'offset_date' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[messages->getInlineBotResults](messages.getInlineBotResults.md)(\['bot' => [InputUser](../types/InputUser.md), 'peer' => [InputPeer](../types/InputPeer.md), 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'query' => [string](../types/string.md), 'offset' => [string](../types/string.md), \]) === [$messages\_BotResults](../types/messages_BotResults.md) +$MadelineProto->[messages->getInlineBotResults](messages.getInlineBotResults.md)(\['bot' => [InputUser](../types/InputUser.md), 'peer' => [InputPeer](../types/InputPeer.md), 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'query' => [string](../types/string.md), 'offset' => [string](../types/string.md), \]) === [$messages.BotResults](../types/messages.BotResults.md) ***

-$MadelineProto->[messages->getMessageEditData](messages.getMessageEditData.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), \]) === [$messages\_MessageEditData](../types/messages_MessageEditData.md) +$MadelineProto->[messages->getMessageEditData](messages.getMessageEditData.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), \]) === [$messages.MessageEditData](../types/messages.MessageEditData.md) ***

-$MadelineProto->[messages->getMessages](messages.getMessages.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->getMessages](messages.getMessages.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages.Messages](../types/messages.Messages.md) ***

@@ -544,7 +544,7 @@ $MadelineProto->[messages->getMessagesViews](messages.getMessagesViews.md)(\['pe ***

-$MadelineProto->[messages->getPeerDialogs](messages.getPeerDialogs.md)(\['peers' => \[[InputPeer](../types/InputPeer.md)\], \]) === [$messages\_PeerDialogs](../types/messages_PeerDialogs.md) +$MadelineProto->[messages->getPeerDialogs](messages.getPeerDialogs.md)(\['peers' => \[[InputPeer](../types/InputPeer.md)\], \]) === [$messages.PeerDialogs](../types/messages.PeerDialogs.md) ***

@@ -552,19 +552,19 @@ $MadelineProto->[messages->getPeerSettings](messages.getPeerSettings.md)(\['peer ***

-$MadelineProto->[messages->getRecentStickers](messages.getRecentStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages\_RecentStickers](../types/messages_RecentStickers.md) +$MadelineProto->[messages->getRecentStickers](messages.getRecentStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages.RecentStickers](../types/messages.RecentStickers.md) ***

-$MadelineProto->[messages->getSavedGifs](messages.getSavedGifs.md)(\['hash' => [int](../types/int.md), \]) === [$messages\_SavedGifs](../types/messages_SavedGifs.md) +$MadelineProto->[messages->getSavedGifs](messages.getSavedGifs.md)(\['hash' => [int](../types/int.md), \]) === [$messages.SavedGifs](../types/messages.SavedGifs.md) ***

-$MadelineProto->[messages->getStickerSet](messages.getStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), \]) === [$messages\_StickerSet](../types/messages_StickerSet.md) +$MadelineProto->[messages->getStickerSet](messages.getStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), \]) === [$messages.StickerSet](../types/messages.StickerSet.md) ***

-$MadelineProto->[messages->getStickers](messages.getStickers.md)(\['emoticon' => [string](../types/string.md), 'hash' => [string](../types/string.md), \]) === [$messages\_Stickers](../types/messages_Stickers.md) +$MadelineProto->[messages->getStickers](messages.getStickers.md)(\['emoticon' => [string](../types/string.md), 'hash' => [string](../types/string.md), \]) === [$messages.Stickers](../types/messages.Stickers.md) ***

@@ -584,7 +584,7 @@ $MadelineProto->[messages->importChatInvite](messages.importChatInvite.md)(\['ha ***

-$MadelineProto->[messages->installStickerSet](messages.installStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), 'archived' => [Bool](../types/Bool.md), \]) === [$messages\_StickerSetInstallResult](../types/messages_StickerSetInstallResult.md) +$MadelineProto->[messages->installStickerSet](messages.installStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), 'archived' => [Bool](../types/Bool.md), \]) === [$messages.StickerSetInstallResult](../types/messages.StickerSetInstallResult.md) ***

@@ -600,11 +600,11 @@ $MadelineProto->[messages->readFeaturedStickers](messages.readFeaturedStickers.m ***

-$MadelineProto->[messages->readHistory](messages.readHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), \]) === [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) +$MadelineProto->[messages->readHistory](messages.readHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), \]) === [$messages.AffectedMessages](../types/messages.AffectedMessages.md) ***

-$MadelineProto->[messages->readMessageContents](messages.readMessageContents.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) +$MadelineProto->[messages->readMessageContents](messages.readMessageContents.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages.AffectedMessages](../types/messages.AffectedMessages.md) ***

@@ -640,15 +640,15 @@ $MadelineProto->[messages->saveRecentSticker](messages.saveRecentSticker.md)(\[' ***

-$MadelineProto->[messages->search](messages.search.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'q' => [string](../types/string.md), 'filter' => [MessagesFilter](../types/MessagesFilter.md), 'min_date' => [int](../types/int.md), 'max_date' => [int](../types/int.md), 'offset' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->search](messages.search.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'q' => [string](../types/string.md), 'filter' => [MessagesFilter](../types/MessagesFilter.md), 'min_date' => [int](../types/int.md), 'max_date' => [int](../types/int.md), 'offset' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[messages->searchGifs](messages.searchGifs.md)(\['q' => [string](../types/string.md), 'offset' => [int](../types/int.md), \]) === [$messages\_FoundGifs](../types/messages_FoundGifs.md) +$MadelineProto->[messages->searchGifs](messages.searchGifs.md)(\['q' => [string](../types/string.md), 'offset' => [int](../types/int.md), \]) === [$messages.FoundGifs](../types/messages.FoundGifs.md) ***

-$MadelineProto->[messages->searchGlobal](messages.searchGlobal.md)(\['q' => [string](../types/string.md), 'offset_date' => [int](../types/int.md), 'offset_peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->searchGlobal](messages.searchGlobal.md)(\['q' => [string](../types/string.md), 'offset_date' => [int](../types/int.md), 'offset_peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

@@ -656,15 +656,15 @@ $MadelineProto->[messages->sendBroadcast](messages.sendBroadcast.md)(\['contacts ***

-$MadelineProto->[messages->sendEncrypted](messages.sendEncrypted.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'message' => [DecryptedMessage](../types/DecryptedMessage.md), \]) === [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +$MadelineProto->[messages->sendEncrypted](messages.sendEncrypted.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), \]) === [$messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ***

-$MadelineProto->[messages->sendEncryptedFile](messages.sendEncryptedFile.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'message' => [DecryptedMessage](../types/DecryptedMessage.md), 'file' => [InputEncryptedFile](../types/InputEncryptedFile.md), \]) === [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +$MadelineProto->[messages->sendEncryptedFile](messages.sendEncryptedFile.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), 'file' => [InputEncryptedFile](../types/InputEncryptedFile.md), \]) === [$messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ***

-$MadelineProto->[messages->sendEncryptedService](messages.sendEncryptedService.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'message' => [DecryptedMessage](../types/DecryptedMessage.md), \]) === [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +$MadelineProto->[messages->sendEncryptedService](messages.sendEncryptedService.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), \]) === [$messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ***

@@ -712,7 +712,7 @@ $MadelineProto->[photos->deletePhotos](photos.deletePhotos.md)(\['id' => \[[Inpu ***

-$MadelineProto->[photos->getUserPhotos](photos.getUserPhotos.md)(\['user_id' => [InputUser](../types/InputUser.md), 'offset' => [int](../types/int.md), 'max_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$photos\_Photos](../types/photos_Photos.md) +$MadelineProto->[photos->getUserPhotos](photos.getUserPhotos.md)(\['user_id' => [InputUser](../types/InputUser.md), 'offset' => [int](../types/int.md), 'max_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$photos.Photos](../types/photos.Photos.md) ***

@@ -720,23 +720,23 @@ $MadelineProto->[photos->updateProfilePhoto](photos.updateProfilePhoto.md)(\['id ***

-$MadelineProto->[photos->uploadProfilePhoto](photos.uploadProfilePhoto.md)(\['file' => [InputFile](../types/InputFile.md), 'caption' => [string](../types/string.md), 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'crop' => [InputPhotoCrop](../types/InputPhotoCrop.md), \]) === [$photos\_Photo](../types/photos_Photo.md) +$MadelineProto->[photos->uploadProfilePhoto](photos.uploadProfilePhoto.md)(\['file' => [InputFile](../types/InputFile.md), 'caption' => [string](../types/string.md), 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'crop' => [InputPhotoCrop](../types/InputPhotoCrop.md), \]) === [$photos.Photo](../types/photos.Photo.md) ***

-$MadelineProto->[updates->getChannelDifference](updates.getChannelDifference.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$updates\_ChannelDifference](../types/updates_ChannelDifference.md) +$MadelineProto->[updates->getChannelDifference](updates.getChannelDifference.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$updates.ChannelDifference](../types/updates.ChannelDifference.md) ***

-$MadelineProto->[updates->getDifference](updates.getDifference.md)(\['pts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) === [$updates\_Difference](../types/updates_Difference.md) +$MadelineProto->[updates->getDifference](updates.getDifference.md)(\['pts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) === [$updates.Difference](../types/updates.Difference.md) ***

-$MadelineProto->[updates->getState](updates.getState.md)(\[\]) === [$updates\_State](../types/updates_State.md) +$MadelineProto->[updates->getState](updates.getState.md)(\[\]) === [$updates.State](../types/updates.State.md) ***

-$MadelineProto->[upload->getFile](upload.getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_File](../types/upload_File.md) +$MadelineProto->[upload->getFile](upload.getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload.File](../types/upload.File.md) ***

diff --git a/old_docs/API_docs_v55/methods/auth.checkPassword.md b/old_docs/API_docs_v55/methods/auth.checkPassword.md index db65cb56..eeeed171 100644 --- a/old_docs/API_docs_v55/methods/auth.checkPassword.md +++ b/old_docs/API_docs_v55/methods/auth.checkPassword.md @@ -16,7 +16,7 @@ You cannot use this method directly, use the complete_2fa_login method instead ( |password\_hash|[bytes](../types/bytes.md) | You cannot use this method directly, use the complete_2fa_login method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->checkPassword(['password_hash' => 'bytes', ]); +$auth.Authorization = $MadelineProto->auth->checkPassword(['password_hash' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.checkPassword({password_hash='bytes', }) +auth.Authorization = auth.checkPassword({password_hash='bytes', }) ``` ### Errors diff --git a/old_docs/API_docs_v55/methods/auth.checkPhone.md b/old_docs/API_docs_v55/methods/auth.checkPhone.md index 227358cb..51d4cba6 100644 --- a/old_docs/API_docs_v55/methods/auth.checkPhone.md +++ b/old_docs/API_docs_v55/methods/auth.checkPhone.md @@ -16,7 +16,7 @@ Check if this phone number is registered on telegram |phone\_number|[string](../types/string.md) | The phone number to check | Yes| -### Return type: [auth\_CheckedPhone](../types/auth_CheckedPhone.md) +### Return type: [auth.CheckedPhone](../types/auth.CheckedPhone.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => 'string', ]); +$auth.CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_CheckedPhone = auth.checkPhone({phone_number='string', }) +auth.CheckedPhone = auth.checkPhone({phone_number='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v55/methods/auth.exportAuthorization.md b/old_docs/API_docs_v55/methods/auth.exportAuthorization.md index 72063a2b..41a1f87d 100644 --- a/old_docs/API_docs_v55/methods/auth.exportAuthorization.md +++ b/old_docs/API_docs_v55/methods/auth.exportAuthorization.md @@ -16,7 +16,7 @@ You cannot use this method directly, use $MadelineProto->exportAuthorization() i |dc\_id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| -### Return type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) +### Return type: [auth.ExportedAuthorization](../types/auth.ExportedAuthorization.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_ExportedAuthorization = $MadelineProto->auth->exportAuthorization(['dc_id' => int, ]); +$auth.ExportedAuthorization = $MadelineProto->auth->exportAuthorization(['dc_id' => int, ]); ``` Or, if you're into Lua: ```lua -auth_ExportedAuthorization = auth.exportAuthorization({dc_id=int, }) +auth.ExportedAuthorization = auth.exportAuthorization({dc_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v55/methods/auth.importAuthorization.md b/old_docs/API_docs_v55/methods/auth.importAuthorization.md index d9c13751..5257e0b0 100644 --- a/old_docs/API_docs_v55/methods/auth.importAuthorization.md +++ b/old_docs/API_docs_v55/methods/auth.importAuthorization.md @@ -17,7 +17,7 @@ You cannot use this method directly, use $MadelineProto->importAuthorization($au |bytes|[bytes](../types/bytes.md) | You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => 'bytes', ]); +$auth.Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.importAuthorization({id=int, bytes='bytes', }) +auth.Authorization = auth.importAuthorization({id=int, bytes='bytes', }) ``` ### Errors diff --git a/old_docs/API_docs_v55/methods/auth.importBotAuthorization.md b/old_docs/API_docs_v55/methods/auth.importBotAuthorization.md index 3161d6be..a4ea8027 100644 --- a/old_docs/API_docs_v55/methods/auth.importBotAuthorization.md +++ b/old_docs/API_docs_v55/methods/auth.importBotAuthorization.md @@ -18,7 +18,7 @@ You cannot use this method directly, use the botLogin method instead (see https: |bot\_auth\_token|[string](../types/string.md) | You cannot use this method directly, use the botLogin method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **YES** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->importBotAuthorization(['api_id' => int, 'api_hash' => 'string', 'bot_auth_token' => 'string', ]); +$auth.Authorization = $MadelineProto->auth->importBotAuthorization(['api_id' => int, 'api_hash' => 'string', 'bot_auth_token' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.importBotAuthorization({api_id=int, api_hash='string', bot_auth_token='string', }) +auth.Authorization = auth.importBotAuthorization({api_id=int, api_hash='string', bot_auth_token='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v55/methods/auth.recoverPassword.md b/old_docs/API_docs_v55/methods/auth.recoverPassword.md index f7cbf4a4..2e78444b 100644 --- a/old_docs/API_docs_v55/methods/auth.recoverPassword.md +++ b/old_docs/API_docs_v55/methods/auth.recoverPassword.md @@ -16,7 +16,7 @@ Reset the [2FA password](https://core.telegram.org/api/srp) using the recovery c |code|[string](../types/string.md) | Code received via email | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->recoverPassword(['code' => 'string', ]); +$auth.Authorization = $MadelineProto->auth->recoverPassword(['code' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.recoverPassword({code='string', }) +auth.Authorization = auth.recoverPassword({code='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v55/methods/auth.requestPasswordRecovery.md b/old_docs/API_docs_v55/methods/auth.requestPasswordRecovery.md index 5cd77936..ff1ecc02 100644 --- a/old_docs/API_docs_v55/methods/auth.requestPasswordRecovery.md +++ b/old_docs/API_docs_v55/methods/auth.requestPasswordRecovery.md @@ -11,7 +11,7 @@ Request recovery code of a [2FA password](https://core.telegram.org/api/srp), on -### Return type: [auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) +### Return type: [auth.PasswordRecovery](../types/auth.PasswordRecovery.md) ### Can bots use this method: **NO** @@ -28,13 +28,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_PasswordRecovery = $MadelineProto->auth->requestPasswordRecovery(); +$auth.PasswordRecovery = $MadelineProto->auth->requestPasswordRecovery(); ``` Or, if you're into Lua: ```lua -auth_PasswordRecovery = auth.requestPasswordRecovery({}) +auth.PasswordRecovery = auth.requestPasswordRecovery({}) ``` ### Errors diff --git a/old_docs/API_docs_v55/methods/auth.resendCode.md b/old_docs/API_docs_v55/methods/auth.resendCode.md index a395a91b..f59f1b7b 100644 --- a/old_docs/API_docs_v55/methods/auth.resendCode.md +++ b/old_docs/API_docs_v55/methods/auth.resendCode.md @@ -17,7 +17,7 @@ Resend the login code via another medium, the phone code type is determined by t |phone\_code\_hash|[string](../types/string.md) | The phone code hash obtained from [auth.sendCode](../methods/auth.sendCode.md) | Yes| -### Return type: [auth\_SentCode](../types/auth_SentCode.md) +### Return type: [auth.SentCode](../types/auth.SentCode.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_SentCode = $MadelineProto->auth->resendCode(['phone_number' => 'string', 'phone_code_hash' => 'string', ]); +$auth.SentCode = $MadelineProto->auth->resendCode(['phone_number' => 'string', 'phone_code_hash' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_SentCode = auth.resendCode({phone_number='string', phone_code_hash='string', }) +auth.SentCode = auth.resendCode({phone_number='string', phone_code_hash='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v55/methods/auth.sendCode.md b/old_docs/API_docs_v55/methods/auth.sendCode.md index bd922a48..0c818fbb 100644 --- a/old_docs/API_docs_v55/methods/auth.sendCode.md +++ b/old_docs/API_docs_v55/methods/auth.sendCode.md @@ -20,7 +20,7 @@ You cannot use this method directly, use the phoneLogin method instead (see http |api\_hash|[string](../types/string.md) | You cannot use this method directly, use the phoneLogin method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_SentCode](../types/auth_SentCode.md) +### Return type: [auth.SentCode](../types/auth.SentCode.md) ### Can bots use this method: **NO** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_SentCode = $MadelineProto->auth->sendCode(['allow_flashcall' => Bool, 'phone_number' => 'string', 'current_number' => Bool, 'api_id' => int, 'api_hash' => 'string', ]); +$auth.SentCode = $MadelineProto->auth->sendCode(['allow_flashcall' => Bool, 'phone_number' => 'string', 'current_number' => Bool, 'api_id' => int, 'api_hash' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_SentCode = auth.sendCode({allow_flashcall=Bool, phone_number='string', current_number=Bool, api_id=int, api_hash='string', }) +auth.SentCode = auth.sendCode({allow_flashcall=Bool, phone_number='string', current_number=Bool, api_id=int, api_hash='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v55/methods/auth.signIn.md b/old_docs/API_docs_v55/methods/auth.signIn.md index 54812a2e..95b14f32 100644 --- a/old_docs/API_docs_v55/methods/auth.signIn.md +++ b/old_docs/API_docs_v55/methods/auth.signIn.md @@ -18,7 +18,7 @@ You cannot use this method directly, use the completePhoneLogin method instead ( |phone\_code|[string](../types/string.md) | You cannot use this method directly, use the completePhoneLogin method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->signIn(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', ]); +$auth.Authorization = $MadelineProto->auth->signIn(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.signIn({phone_number='string', phone_code_hash='string', phone_code='string', }) +auth.Authorization = auth.signIn({phone_number='string', phone_code_hash='string', phone_code='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v55/methods/auth.signUp.md b/old_docs/API_docs_v55/methods/auth.signUp.md index 2aca2bfa..fdb5d628 100644 --- a/old_docs/API_docs_v55/methods/auth.signUp.md +++ b/old_docs/API_docs_v55/methods/auth.signUp.md @@ -20,7 +20,7 @@ You cannot use this method directly, use the completeSignup method instead (see |last\_name|[string](../types/string.md) | You cannot use this method directly, use the completeSignup method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **NO** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->signUp(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', 'first_name' => 'string', 'last_name' => 'string', ]); +$auth.Authorization = $MadelineProto->auth->signUp(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', 'first_name' => 'string', 'last_name' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.signUp({phone_number='string', phone_code_hash='string', phone_code='string', first_name='string', last_name='string', }) +auth.Authorization = auth.signUp({phone_number='string', phone_code_hash='string', phone_code='string', first_name='string', last_name='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v55/methods/channels.deleteMessages.md b/old_docs/API_docs_v55/methods/channels.deleteMessages.md index 10a439fb..8583e560 100644 --- a/old_docs/API_docs_v55/methods/channels.deleteMessages.md +++ b/old_docs/API_docs_v55/methods/channels.deleteMessages.md @@ -17,7 +17,7 @@ Delete messages in a [channel/supergroup](https://core.telegram.org/api/channel) |id|Array of [int](../types/int.md) | The IDs of messages to delete | Yes| -### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) +### Return type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedMessages = $MadelineProto->channels->deleteMessages(['channel' => InputChannel, 'id' => [int, int], ]); +$messages.AffectedMessages = $MadelineProto->channels->deleteMessages(['channel' => InputChannel, 'id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AffectedMessages = channels.deleteMessages({channel=InputChannel, id={int}, }) +messages.AffectedMessages = channels.deleteMessages({channel=InputChannel, id={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v55/methods/channels.deleteUserHistory.md b/old_docs/API_docs_v55/methods/channels.deleteUserHistory.md index 9b8b159f..6ccaf7dd 100644 --- a/old_docs/API_docs_v55/methods/channels.deleteUserHistory.md +++ b/old_docs/API_docs_v55/methods/channels.deleteUserHistory.md @@ -17,7 +17,7 @@ Delete all messages sent by a certain user in a [supergroup](https://core.telegr |user\_id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | User whose messages should be deleted | Optional| -### Return type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) +### Return type: [messages.AffectedHistory](../types/messages.AffectedHistory.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedHistory = $MadelineProto->channels->deleteUserHistory(['channel' => InputChannel, 'user_id' => InputUser, ]); +$messages.AffectedHistory = $MadelineProto->channels->deleteUserHistory(['channel' => InputChannel, 'user_id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -messages_AffectedHistory = channels.deleteUserHistory({channel=InputChannel, user_id=InputUser, }) +messages.AffectedHistory = channels.deleteUserHistory({channel=InputChannel, user_id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v55/methods/channels.getChannels.md b/old_docs/API_docs_v55/methods/channels.getChannels.md index 368c96ce..ed9cf4a7 100644 --- a/old_docs/API_docs_v55/methods/channels.getChannels.md +++ b/old_docs/API_docs_v55/methods/channels.getChannels.md @@ -16,7 +16,7 @@ Get info about [channels/supergroups](https://core.telegram.org/api/channel) |id|Array of [Username, chat ID, Update, Message or InputChannel](../types/InputChannel.md) | The channel/supergroup MTProto IDs | Yes| -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->channels->getChannels(['id' => [InputChannel, InputChannel], ]); +$messages.Chats = $MadelineProto->channels->getChannels(['id' => [InputChannel, InputChannel], ]); ``` Or, if you're into Lua: ```lua -messages_Chats = channels.getChannels({id={InputChannel}, }) +messages.Chats = channels.getChannels({id={InputChannel}, }) ``` ### Errors diff --git a/old_docs/API_docs_v55/methods/channels.getFullChannel.md b/old_docs/API_docs_v55/methods/channels.getFullChannel.md index 08dc21bb..1369e0a0 100644 --- a/old_docs/API_docs_v55/methods/channels.getFullChannel.md +++ b/old_docs/API_docs_v55/methods/channels.getFullChannel.md @@ -16,7 +16,7 @@ You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo me |channel|[Username, chat ID, Update, Message or InputChannel](../types/InputChannel.md) | You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo methods instead (see https://docs.madelineproto.xyz for more info) | Optional| -### Return type: [messages\_ChatFull](../types/messages_ChatFull.md) +### Return type: [messages.ChatFull](../types/messages.ChatFull.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_ChatFull = $MadelineProto->channels->getFullChannel(['channel' => InputChannel, ]); +$messages.ChatFull = $MadelineProto->channels->getFullChannel(['channel' => InputChannel, ]); ``` Or, if you're into Lua: ```lua -messages_ChatFull = channels.getFullChannel({channel=InputChannel, }) +messages.ChatFull = channels.getFullChannel({channel=InputChannel, }) ``` ### Errors diff --git a/old_docs/API_docs_v55/methods/channels.getMessages.md b/old_docs/API_docs_v55/methods/channels.getMessages.md index 379e0e9d..5023ea1a 100644 --- a/old_docs/API_docs_v55/methods/channels.getMessages.md +++ b/old_docs/API_docs_v55/methods/channels.getMessages.md @@ -17,7 +17,7 @@ Get [channel/supergroup](https://core.telegram.org/api/channel) messages |id|Array of [int](../types/int.md) | The message IDs | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->channels->getMessages(['channel' => InputChannel, 'id' => [int, int], ]); +$messages.Messages = $MadelineProto->channels->getMessages(['channel' => InputChannel, 'id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Messages = channels.getMessages({channel=InputChannel, id={int}, }) +messages.Messages = channels.getMessages({channel=InputChannel, id={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v55/methods/channels.getParticipant.md b/old_docs/API_docs_v55/methods/channels.getParticipant.md index aa2ce655..cf6a7771 100644 --- a/old_docs/API_docs_v55/methods/channels.getParticipant.md +++ b/old_docs/API_docs_v55/methods/channels.getParticipant.md @@ -17,7 +17,7 @@ Get info about a [channel/supergroup](https://core.telegram.org/api/channel) par |user\_id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | ID of participant to get info about | Optional| -### Return type: [channels\_ChannelParticipant](../types/channels_ChannelParticipant.md) +### Return type: [channels.ChannelParticipant](../types/channels.ChannelParticipant.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$channels_ChannelParticipant = $MadelineProto->channels->getParticipant(['channel' => InputChannel, 'user_id' => InputUser, ]); +$channels.ChannelParticipant = $MadelineProto->channels->getParticipant(['channel' => InputChannel, 'user_id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -channels_ChannelParticipant = channels.getParticipant({channel=InputChannel, user_id=InputUser, }) +channels.ChannelParticipant = channels.getParticipant({channel=InputChannel, user_id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v55/methods/channels.getParticipants.md b/old_docs/API_docs_v55/methods/channels.getParticipants.md index 9be95921..bfeccd48 100644 --- a/old_docs/API_docs_v55/methods/channels.getParticipants.md +++ b/old_docs/API_docs_v55/methods/channels.getParticipants.md @@ -19,7 +19,7 @@ Get the participants of a channel |limit|[int](../types/int.md) | [Limit](https://core.telegram.org/api/offsets) | Yes| -### Return type: [channels\_ChannelParticipants](../types/channels_ChannelParticipants.md) +### Return type: [channels.ChannelParticipants](../types/channels.ChannelParticipants.md) ### Can bots use this method: **YES** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$channels_ChannelParticipants = $MadelineProto->channels->getParticipants(['channel' => InputChannel, 'filter' => ChannelParticipantsFilter, 'offset' => int, 'limit' => int, ]); +$channels.ChannelParticipants = $MadelineProto->channels->getParticipants(['channel' => InputChannel, 'filter' => ChannelParticipantsFilter, 'offset' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -channels_ChannelParticipants = channels.getParticipants({channel=InputChannel, filter=ChannelParticipantsFilter, offset=int, limit=int, }) +channels.ChannelParticipants = channels.getParticipants({channel=InputChannel, filter=ChannelParticipantsFilter, offset=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v55/methods/contacts.deleteContact.md b/old_docs/API_docs_v55/methods/contacts.deleteContact.md index a9321d64..9169e1e0 100644 --- a/old_docs/API_docs_v55/methods/contacts.deleteContact.md +++ b/old_docs/API_docs_v55/methods/contacts.deleteContact.md @@ -16,7 +16,7 @@ Delete a contact |id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | The contact to delete | Optional| -### Return type: [contacts\_Link](../types/contacts_Link.md) +### Return type: [contacts.Link](../types/contacts.Link.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Link = $MadelineProto->contacts->deleteContact(['id' => InputUser, ]); +$contacts.Link = $MadelineProto->contacts->deleteContact(['id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -contacts_Link = contacts.deleteContact({id=InputUser, }) +contacts.Link = contacts.deleteContact({id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v55/methods/contacts.getBlocked.md b/old_docs/API_docs_v55/methods/contacts.getBlocked.md index 92f2f331..6ac1c343 100644 --- a/old_docs/API_docs_v55/methods/contacts.getBlocked.md +++ b/old_docs/API_docs_v55/methods/contacts.getBlocked.md @@ -17,7 +17,7 @@ Returns the list of blocked users. |limit|[int](../types/int.md) | The number of list elements to be returned | Yes| -### Return type: [contacts\_Blocked](../types/contacts_Blocked.md) +### Return type: [contacts.Blocked](../types/contacts.Blocked.md) ### Can bots use this method: **NO** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Blocked = $MadelineProto->contacts->getBlocked(['offset' => int, 'limit' => int, ]); +$contacts.Blocked = $MadelineProto->contacts->getBlocked(['offset' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -contacts_Blocked = contacts.getBlocked({offset=int, limit=int, }) +contacts.Blocked = contacts.getBlocked({offset=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v55/methods/contacts.getContacts.md b/old_docs/API_docs_v55/methods/contacts.getContacts.md index caee7aa8..a2fcd412 100644 --- a/old_docs/API_docs_v55/methods/contacts.getContacts.md +++ b/old_docs/API_docs_v55/methods/contacts.getContacts.md @@ -16,7 +16,7 @@ Returns the current user's contact list. |hash|[string](../types/string.md) | List of contact user IDs you already cached | Yes| -### Return type: [contacts\_Contacts](../types/contacts_Contacts.md) +### Return type: [contacts.Contacts](../types/contacts.Contacts.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Contacts = $MadelineProto->contacts->getContacts(['hash' => 'string', ]); +$contacts.Contacts = $MadelineProto->contacts->getContacts(['hash' => 'string', ]); ``` Or, if you're into Lua: ```lua -contacts_Contacts = contacts.getContacts({hash='string', }) +contacts.Contacts = contacts.getContacts({hash='string', }) ``` diff --git a/old_docs/API_docs_v55/methods/contacts.getTopPeers.md b/old_docs/API_docs_v55/methods/contacts.getTopPeers.md index 4875826c..c2063ea6 100644 --- a/old_docs/API_docs_v55/methods/contacts.getTopPeers.md +++ b/old_docs/API_docs_v55/methods/contacts.getTopPeers.md @@ -23,7 +23,7 @@ Get most used peers |hash|Array of [int](../types/int.md) | Peer IDs of previously cached peers | Optional| -### Return type: [contacts\_TopPeers](../types/contacts_TopPeers.md) +### Return type: [contacts.TopPeers](../types/contacts.TopPeers.md) ### Can bots use this method: **NO** @@ -40,13 +40,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_TopPeers = $MadelineProto->contacts->getTopPeers(['correspondents' => Bool, 'bots_pm' => Bool, 'bots_inline' => Bool, 'groups' => Bool, 'channels' => Bool, 'offset' => int, 'limit' => int, 'hash' => [int, int], ]); +$contacts.TopPeers = $MadelineProto->contacts->getTopPeers(['correspondents' => Bool, 'bots_pm' => Bool, 'bots_inline' => Bool, 'groups' => Bool, 'channels' => Bool, 'offset' => int, 'limit' => int, 'hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -contacts_TopPeers = contacts.getTopPeers({correspondents=Bool, bots_pm=Bool, bots_inline=Bool, groups=Bool, channels=Bool, offset=int, limit=int, hash={int}, }) +contacts.TopPeers = contacts.getTopPeers({correspondents=Bool, bots_pm=Bool, bots_inline=Bool, groups=Bool, channels=Bool, offset=int, limit=int, hash={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v55/methods/contacts.importContacts.md b/old_docs/API_docs_v55/methods/contacts.importContacts.md index 572df9fb..975d0565 100644 --- a/old_docs/API_docs_v55/methods/contacts.importContacts.md +++ b/old_docs/API_docs_v55/methods/contacts.importContacts.md @@ -17,7 +17,7 @@ Imports contacts: saves a full list on the server, adds already registered conta |replace|[Bool](../types/Bool.md) | Replace contacts? | Yes| -### Return type: [contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) +### Return type: [contacts.ImportedContacts](../types/contacts.ImportedContacts.md) ### Can bots use this method: **NO** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_ImportedContacts = $MadelineProto->contacts->importContacts(['contacts' => [InputContact, InputContact], 'replace' => Bool, ]); +$contacts.ImportedContacts = $MadelineProto->contacts->importContacts(['contacts' => [InputContact, InputContact], 'replace' => Bool, ]); ``` Or, if you're into Lua: ```lua -contacts_ImportedContacts = contacts.importContacts({contacts={InputContact}, replace=Bool, }) +contacts.ImportedContacts = contacts.importContacts({contacts={InputContact}, replace=Bool, }) ``` diff --git a/old_docs/API_docs_v55/methods/contacts.resolveUsername.md b/old_docs/API_docs_v55/methods/contacts.resolveUsername.md index 05e3d854..46f1eb50 100644 --- a/old_docs/API_docs_v55/methods/contacts.resolveUsername.md +++ b/old_docs/API_docs_v55/methods/contacts.resolveUsername.md @@ -16,7 +16,7 @@ You cannot use this method directly, use the resolveUsername, getPwrChat, getInf |username|[string](../types/string.md) | You cannot use this method directly, use the resolveUsername, getPwrChat, getInfo, getFullInfo methods instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [contacts\_ResolvedPeer](../types/contacts_ResolvedPeer.md) +### Return type: [contacts.ResolvedPeer](../types/contacts.ResolvedPeer.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_ResolvedPeer = $MadelineProto->contacts->resolveUsername(['username' => 'string', ]); +$contacts.ResolvedPeer = $MadelineProto->contacts->resolveUsername(['username' => 'string', ]); ``` Or, if you're into Lua: ```lua -contacts_ResolvedPeer = contacts.resolveUsername({username='string', }) +contacts.ResolvedPeer = contacts.resolveUsername({username='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v55/methods/contacts.search.md b/old_docs/API_docs_v55/methods/contacts.search.md index 2f39d6f1..ec04c7f9 100644 --- a/old_docs/API_docs_v55/methods/contacts.search.md +++ b/old_docs/API_docs_v55/methods/contacts.search.md @@ -17,7 +17,7 @@ Returns users found by username substring. |limit|[int](../types/int.md) | Maximum number of users to be returned | Yes| -### Return type: [contacts\_Found](../types/contacts_Found.md) +### Return type: [contacts.Found](../types/contacts.Found.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Found = $MadelineProto->contacts->search(['q' => 'string', 'limit' => int, ]); +$contacts.Found = $MadelineProto->contacts->search(['q' => 'string', 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -contacts_Found = contacts.search({q='string', limit=int, }) +contacts.Found = contacts.search({q='string', limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v55/methods/help.getAppChangelog.md b/old_docs/API_docs_v55/methods/help.getAppChangelog.md index 627d2d55..86973f04 100644 --- a/old_docs/API_docs_v55/methods/help.getAppChangelog.md +++ b/old_docs/API_docs_v55/methods/help.getAppChangelog.md @@ -11,7 +11,7 @@ Get changelog of current app -### Return type: [help\_AppChangelog](../types/help_AppChangelog.md) +### Return type: [help.AppChangelog](../types/help.AppChangelog.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_AppChangelog = $MadelineProto->help->getAppChangelog(); +$help.AppChangelog = $MadelineProto->help->getAppChangelog(); ``` Or, if you're into Lua: ```lua -help_AppChangelog = help.getAppChangelog({}) +help.AppChangelog = help.getAppChangelog({}) ``` diff --git a/old_docs/API_docs_v55/methods/help.getAppUpdate.md b/old_docs/API_docs_v55/methods/help.getAppUpdate.md index 4c58e898..b9899d71 100644 --- a/old_docs/API_docs_v55/methods/help.getAppUpdate.md +++ b/old_docs/API_docs_v55/methods/help.getAppUpdate.md @@ -11,7 +11,7 @@ Returns information on update availability for the current application. -### Return type: [help\_AppUpdate](../types/help_AppUpdate.md) +### Return type: [help.AppUpdate](../types/help.AppUpdate.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_AppUpdate = $MadelineProto->help->getAppUpdate(); +$help.AppUpdate = $MadelineProto->help->getAppUpdate(); ``` Or, if you're into Lua: ```lua -help_AppUpdate = help.getAppUpdate({}) +help.AppUpdate = help.getAppUpdate({}) ``` diff --git a/old_docs/API_docs_v55/methods/help.getInviteText.md b/old_docs/API_docs_v55/methods/help.getInviteText.md index 6fd67362..0d427974 100644 --- a/old_docs/API_docs_v55/methods/help.getInviteText.md +++ b/old_docs/API_docs_v55/methods/help.getInviteText.md @@ -11,7 +11,7 @@ Returns text of a text message with an invitation. -### Return type: [help\_InviteText](../types/help_InviteText.md) +### Return type: [help.InviteText](../types/help.InviteText.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_InviteText = $MadelineProto->help->getInviteText(); +$help.InviteText = $MadelineProto->help->getInviteText(); ``` Or, if you're into Lua: ```lua -help_InviteText = help.getInviteText({}) +help.InviteText = help.getInviteText({}) ``` diff --git a/old_docs/API_docs_v55/methods/help.getSupport.md b/old_docs/API_docs_v55/methods/help.getSupport.md index 7a577892..8a8df916 100644 --- a/old_docs/API_docs_v55/methods/help.getSupport.md +++ b/old_docs/API_docs_v55/methods/help.getSupport.md @@ -11,7 +11,7 @@ Returns the support user for the 'ask a question' feature. -### Return type: [help\_Support](../types/help_Support.md) +### Return type: [help.Support](../types/help.Support.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_Support = $MadelineProto->help->getSupport(); +$help.Support = $MadelineProto->help->getSupport(); ``` Or, if you're into Lua: ```lua -help_Support = help.getSupport({}) +help.Support = help.getSupport({}) ``` diff --git a/old_docs/API_docs_v55/methods/help.getTermsOfService.md b/old_docs/API_docs_v55/methods/help.getTermsOfService.md index f6226458..9f9b28f9 100644 --- a/old_docs/API_docs_v55/methods/help.getTermsOfService.md +++ b/old_docs/API_docs_v55/methods/help.getTermsOfService.md @@ -11,7 +11,7 @@ Get terms of service -### Return type: [help\_TermsOfService](../types/help_TermsOfService.md) +### Return type: [help.TermsOfService](../types/help.TermsOfService.md) ### Can bots use this method: **YES** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_TermsOfService = $MadelineProto->help->getTermsOfService(); +$help.TermsOfService = $MadelineProto->help->getTermsOfService(); ``` Or, if you're into Lua: ```lua -help_TermsOfService = help.getTermsOfService({}) +help.TermsOfService = help.getTermsOfService({}) ``` diff --git a/old_docs/API_docs_v55/methods/messages.deleteHistory.md b/old_docs/API_docs_v55/methods/messages.deleteHistory.md index 9ae1bae9..41460415 100644 --- a/old_docs/API_docs_v55/methods/messages.deleteHistory.md +++ b/old_docs/API_docs_v55/methods/messages.deleteHistory.md @@ -18,7 +18,7 @@ Deletes communication history. |max\_id|[int](../types/int.md) | Maximum ID of message to delete | Yes| -### Return type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) +### Return type: [messages.AffectedHistory](../types/messages.AffectedHistory.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedHistory = $MadelineProto->messages->deleteHistory(['just_clear' => Bool, 'peer' => InputPeer, 'max_id' => int, ]); +$messages.AffectedHistory = $MadelineProto->messages->deleteHistory(['just_clear' => Bool, 'peer' => InputPeer, 'max_id' => int, ]); ``` Or, if you're into Lua: ```lua -messages_AffectedHistory = messages.deleteHistory({just_clear=Bool, peer=InputPeer, max_id=int, }) +messages.AffectedHistory = messages.deleteHistory({just_clear=Bool, peer=InputPeer, max_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v55/methods/messages.deleteMessages.md b/old_docs/API_docs_v55/methods/messages.deleteMessages.md index 355b2ff8..cc432cc1 100644 --- a/old_docs/API_docs_v55/methods/messages.deleteMessages.md +++ b/old_docs/API_docs_v55/methods/messages.deleteMessages.md @@ -16,7 +16,7 @@ Deletes messages by their identifiers. |id|Array of [int](../types/int.md) | IDs of messages to delete, use channels->deleteMessages for supergroups | Yes| -### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) +### Return type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedMessages = $MadelineProto->messages->deleteMessages(['id' => [int, int], ]); +$messages.AffectedMessages = $MadelineProto->messages->deleteMessages(['id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AffectedMessages = messages.deleteMessages({id={int}, }) +messages.AffectedMessages = messages.deleteMessages({id={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v55/methods/messages.getAllStickers.md b/old_docs/API_docs_v55/methods/messages.getAllStickers.md index 329b70be..0f0de7f1 100644 --- a/old_docs/API_docs_v55/methods/messages.getAllStickers.md +++ b/old_docs/API_docs_v55/methods/messages.getAllStickers.md @@ -16,7 +16,7 @@ Get all installed stickers |hash|Array of [int](../types/int.md) | The hash parameter of the previous result of this method | Optional| -### Return type: [messages\_AllStickers](../types/messages_AllStickers.md) +### Return type: [messages.AllStickers](../types/messages.AllStickers.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AllStickers = $MadelineProto->messages->getAllStickers(['hash' => [int, int], ]); +$messages.AllStickers = $MadelineProto->messages->getAllStickers(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AllStickers = messages.getAllStickers({hash={int}, }) +messages.AllStickers = messages.getAllStickers({hash={int}, }) ``` diff --git a/old_docs/API_docs_v55/methods/messages.getArchivedStickers.md b/old_docs/API_docs_v55/methods/messages.getArchivedStickers.md index 12b04c09..beab05c4 100644 --- a/old_docs/API_docs_v55/methods/messages.getArchivedStickers.md +++ b/old_docs/API_docs_v55/methods/messages.getArchivedStickers.md @@ -17,7 +17,7 @@ Get all archived stickers |limit|[int](../types/int.md) | Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_ArchivedStickers](../types/messages_ArchivedStickers.md) +### Return type: [messages.ArchivedStickers](../types/messages.ArchivedStickers.md) ### Can bots use this method: **NO** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_ArchivedStickers = $MadelineProto->messages->getArchivedStickers(['offset_id' => long, 'limit' => int, ]); +$messages.ArchivedStickers = $MadelineProto->messages->getArchivedStickers(['offset_id' => long, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -messages_ArchivedStickers = messages.getArchivedStickers({offset_id=long, limit=int, }) +messages.ArchivedStickers = messages.getArchivedStickers({offset_id=long, limit=int, }) ``` diff --git a/old_docs/API_docs_v55/methods/messages.getBotCallbackAnswer.md b/old_docs/API_docs_v55/methods/messages.getBotCallbackAnswer.md index 6884718c..f490ce9a 100644 --- a/old_docs/API_docs_v55/methods/messages.getBotCallbackAnswer.md +++ b/old_docs/API_docs_v55/methods/messages.getBotCallbackAnswer.md @@ -18,7 +18,7 @@ Press an inline callback button and get a callback answer from the bot |data|[bytes](../types/bytes.md) | Callback data | Yes| -### Return type: [messages\_BotCallbackAnswer](../types/messages_BotCallbackAnswer.md) +### Return type: [messages.BotCallbackAnswer](../types/messages.BotCallbackAnswer.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_BotCallbackAnswer = $MadelineProto->messages->getBotCallbackAnswer(['peer' => InputPeer, 'msg_id' => int, 'data' => 'bytes', ]); +$messages.BotCallbackAnswer = $MadelineProto->messages->getBotCallbackAnswer(['peer' => InputPeer, 'msg_id' => int, 'data' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -messages_BotCallbackAnswer = messages.getBotCallbackAnswer({peer=InputPeer, msg_id=int, data='bytes', }) +messages.BotCallbackAnswer = messages.getBotCallbackAnswer({peer=InputPeer, msg_id=int, data='bytes', }) ``` ### Errors diff --git a/old_docs/API_docs_v55/methods/messages.getChats.md b/old_docs/API_docs_v55/methods/messages.getChats.md index c34b0488..146341f5 100644 --- a/old_docs/API_docs_v55/methods/messages.getChats.md +++ b/old_docs/API_docs_v55/methods/messages.getChats.md @@ -16,7 +16,7 @@ Returns chat basic info on their IDs. |id|Array of [int](../types/int.md) | The MTProto IDs of chats to fetch info about | Yes| -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->messages->getChats(['id' => [int, int], ]); +$messages.Chats = $MadelineProto->messages->getChats(['id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Chats = messages.getChats({id={int}, }) +messages.Chats = messages.getChats({id={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v55/methods/messages.getDhConfig.md b/old_docs/API_docs_v55/methods/messages.getDhConfig.md index 88ea4ab3..7b9da566 100644 --- a/old_docs/API_docs_v55/methods/messages.getDhConfig.md +++ b/old_docs/API_docs_v55/methods/messages.getDhConfig.md @@ -17,7 +17,7 @@ You cannot use this method directly, instead use $MadelineProto->getDhConfig(); |random\_length|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->getDhConfig(); | Yes| -### Return type: [messages\_DhConfig](../types/messages_DhConfig.md) +### Return type: [messages.DhConfig](../types/messages.DhConfig.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_DhConfig = $MadelineProto->messages->getDhConfig(['version' => int, 'random_length' => int, ]); +$messages.DhConfig = $MadelineProto->messages->getDhConfig(['version' => int, 'random_length' => int, ]); ``` Or, if you're into Lua: ```lua -messages_DhConfig = messages.getDhConfig({version=int, random_length=int, }) +messages.DhConfig = messages.getDhConfig({version=int, random_length=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v55/methods/messages.getDialogs.md b/old_docs/API_docs_v55/methods/messages.getDialogs.md index f262b574..6e246feb 100644 --- a/old_docs/API_docs_v55/methods/messages.getDialogs.md +++ b/old_docs/API_docs_v55/methods/messages.getDialogs.md @@ -19,7 +19,7 @@ Returns the current user dialog list. |limit|[int](../types/int.md) | Number of list elements to be returned | Yes| -### Return type: [messages\_Dialogs](../types/messages_Dialogs.md) +### Return type: [messages.Dialogs](../types/messages.Dialogs.md) ### Can bots use this method: **NO** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Dialogs = $MadelineProto->messages->getDialogs(['offset_date' => int, 'offset_id' => int, 'offset_peer' => InputPeer, 'limit' => int, ]); +$messages.Dialogs = $MadelineProto->messages->getDialogs(['offset_date' => int, 'offset_id' => int, 'offset_peer' => InputPeer, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Dialogs = messages.getDialogs({offset_date=int, offset_id=int, offset_peer=InputPeer, limit=int, }) +messages.Dialogs = messages.getDialogs({offset_date=int, offset_id=int, offset_peer=InputPeer, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v55/methods/messages.getFeaturedStickers.md b/old_docs/API_docs_v55/methods/messages.getFeaturedStickers.md index 8f2634c3..2d65d626 100644 --- a/old_docs/API_docs_v55/methods/messages.getFeaturedStickers.md +++ b/old_docs/API_docs_v55/methods/messages.getFeaturedStickers.md @@ -16,7 +16,7 @@ Get featured stickers |hash|Array of [int](../types/int.md) | the hash parameter of the previous result of this method | Optional| -### Return type: [messages\_FeaturedStickers](../types/messages_FeaturedStickers.md) +### Return type: [messages.FeaturedStickers](../types/messages.FeaturedStickers.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_FeaturedStickers = $MadelineProto->messages->getFeaturedStickers(['hash' => [int, int], ]); +$messages.FeaturedStickers = $MadelineProto->messages->getFeaturedStickers(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_FeaturedStickers = messages.getFeaturedStickers({hash={int}, }) +messages.FeaturedStickers = messages.getFeaturedStickers({hash={int}, }) ``` diff --git a/old_docs/API_docs_v55/methods/messages.getFullChat.md b/old_docs/API_docs_v55/methods/messages.getFullChat.md index abf23e21..de543651 100644 --- a/old_docs/API_docs_v55/methods/messages.getFullChat.md +++ b/old_docs/API_docs_v55/methods/messages.getFullChat.md @@ -16,7 +16,7 @@ You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo me |chat\_id|[Username, chat ID, Update, Message or InputPeer](../types/InputPeer.md) | You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo methods instead (see https://docs.madelineproto.xyz for more info) | Optional| -### Return type: [messages\_ChatFull](../types/messages_ChatFull.md) +### Return type: [messages.ChatFull](../types/messages.ChatFull.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_ChatFull = $MadelineProto->messages->getFullChat(['chat_id' => InputPeer, ]); +$messages.ChatFull = $MadelineProto->messages->getFullChat(['chat_id' => InputPeer, ]); ``` Or, if you're into Lua: ```lua -messages_ChatFull = messages.getFullChat({chat_id=InputPeer, }) +messages.ChatFull = messages.getFullChat({chat_id=InputPeer, }) ``` ### Errors diff --git a/old_docs/API_docs_v55/methods/messages.getHistory.md b/old_docs/API_docs_v55/methods/messages.getHistory.md index 636183d2..8e012da1 100644 --- a/old_docs/API_docs_v55/methods/messages.getHistory.md +++ b/old_docs/API_docs_v55/methods/messages.getHistory.md @@ -22,7 +22,7 @@ Gets back the conversation history with one interlocutor / within a chat |min\_id|[int](../types/int.md) | If a positive value was transferred, the method will return only messages with IDs more than **min\_id** | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **NO** @@ -39,13 +39,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->getHistory(['peer' => InputPeer, 'offset_id' => int, 'offset_date' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); +$messages.Messages = $MadelineProto->messages->getHistory(['peer' => InputPeer, 'offset_id' => int, 'offset_date' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.getHistory({peer=InputPeer, offset_id=int, offset_date=int, add_offset=int, limit=int, max_id=int, min_id=int, }) +messages.Messages = messages.getHistory({peer=InputPeer, offset_id=int, offset_date=int, add_offset=int, limit=int, max_id=int, min_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v55/methods/messages.getInlineBotResults.md b/old_docs/API_docs_v55/methods/messages.getInlineBotResults.md index ac251797..8a397236 100644 --- a/old_docs/API_docs_v55/methods/messages.getInlineBotResults.md +++ b/old_docs/API_docs_v55/methods/messages.getInlineBotResults.md @@ -20,7 +20,7 @@ Query an inline bot |offset|[string](../types/string.md) | The offset within the results, will be passed directly as-is to the bot. | Yes| -### Return type: [messages\_BotResults](../types/messages_BotResults.md) +### Return type: [messages.BotResults](../types/messages.BotResults.md) ### Can bots use this method: **NO** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_BotResults = $MadelineProto->messages->getInlineBotResults(['bot' => InputUser, 'peer' => InputPeer, 'geo_point' => InputGeoPoint, 'query' => 'string', 'offset' => 'string', ]); +$messages.BotResults = $MadelineProto->messages->getInlineBotResults(['bot' => InputUser, 'peer' => InputPeer, 'geo_point' => InputGeoPoint, 'query' => 'string', 'offset' => 'string', ]); ``` Or, if you're into Lua: ```lua -messages_BotResults = messages.getInlineBotResults({bot=InputUser, peer=InputPeer, geo_point=InputGeoPoint, query='string', offset='string', }) +messages.BotResults = messages.getInlineBotResults({bot=InputUser, peer=InputPeer, geo_point=InputGeoPoint, query='string', offset='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v55/methods/messages.getMessageEditData.md b/old_docs/API_docs_v55/methods/messages.getMessageEditData.md index 1a083f08..7fd32e82 100644 --- a/old_docs/API_docs_v55/methods/messages.getMessageEditData.md +++ b/old_docs/API_docs_v55/methods/messages.getMessageEditData.md @@ -17,7 +17,7 @@ Find out if a media message's caption can be edited |id|[int](../types/int.md) | ID of message | Yes| -### Return type: [messages\_MessageEditData](../types/messages_MessageEditData.md) +### Return type: [messages.MessageEditData](../types/messages.MessageEditData.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_MessageEditData = $MadelineProto->messages->getMessageEditData(['peer' => InputPeer, 'id' => int, ]); +$messages.MessageEditData = $MadelineProto->messages->getMessageEditData(['peer' => InputPeer, 'id' => int, ]); ``` Or, if you're into Lua: ```lua -messages_MessageEditData = messages.getMessageEditData({peer=InputPeer, id=int, }) +messages.MessageEditData = messages.getMessageEditData({peer=InputPeer, id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v55/methods/messages.getMessages.md b/old_docs/API_docs_v55/methods/messages.getMessages.md index a3139513..c7760d7e 100644 --- a/old_docs/API_docs_v55/methods/messages.getMessages.md +++ b/old_docs/API_docs_v55/methods/messages.getMessages.md @@ -16,7 +16,7 @@ Returns the list of messages by their IDs. |id|Array of [int](../types/int.md) | The IDs of messages to fetch (only for users and normal groups) | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **YES** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->getMessages(['id' => [int, int], ]); +$messages.Messages = $MadelineProto->messages->getMessages(['id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.getMessages({id={int}, }) +messages.Messages = messages.getMessages({id={int}, }) ``` diff --git a/old_docs/API_docs_v55/methods/messages.getPeerDialogs.md b/old_docs/API_docs_v55/methods/messages.getPeerDialogs.md index a2c2714b..79bd7fa3 100644 --- a/old_docs/API_docs_v55/methods/messages.getPeerDialogs.md +++ b/old_docs/API_docs_v55/methods/messages.getPeerDialogs.md @@ -16,7 +16,7 @@ Get dialog info of specified peers |peers|Array of [Username, chat ID, Update, Message or InputPeer](../types/InputPeer.md) | The peers | Yes| -### Return type: [messages\_PeerDialogs](../types/messages_PeerDialogs.md) +### Return type: [messages.PeerDialogs](../types/messages.PeerDialogs.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_PeerDialogs = $MadelineProto->messages->getPeerDialogs(['peers' => [InputPeer, InputPeer], ]); +$messages.PeerDialogs = $MadelineProto->messages->getPeerDialogs(['peers' => [InputPeer, InputPeer], ]); ``` Or, if you're into Lua: ```lua -messages_PeerDialogs = messages.getPeerDialogs({peers={InputPeer}, }) +messages.PeerDialogs = messages.getPeerDialogs({peers={InputPeer}, }) ``` ### Errors diff --git a/old_docs/API_docs_v55/methods/messages.getRecentStickers.md b/old_docs/API_docs_v55/methods/messages.getRecentStickers.md index 04db394d..fd83e15d 100644 --- a/old_docs/API_docs_v55/methods/messages.getRecentStickers.md +++ b/old_docs/API_docs_v55/methods/messages.getRecentStickers.md @@ -16,7 +16,7 @@ Get recent stickers |hash|Array of [int](../types/int.md) | IDs the hash parameter of the previous result of this method | Optional| -### Return type: [messages\_RecentStickers](../types/messages_RecentStickers.md) +### Return type: [messages.RecentStickers](../types/messages.RecentStickers.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_RecentStickers = $MadelineProto->messages->getRecentStickers(['hash' => [int, int], ]); +$messages.RecentStickers = $MadelineProto->messages->getRecentStickers(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_RecentStickers = messages.getRecentStickers({hash={int}, }) +messages.RecentStickers = messages.getRecentStickers({hash={int}, }) ``` diff --git a/old_docs/API_docs_v55/methods/messages.getSavedGifs.md b/old_docs/API_docs_v55/methods/messages.getSavedGifs.md index 1df7f37c..8b31f7b8 100644 --- a/old_docs/API_docs_v55/methods/messages.getSavedGifs.md +++ b/old_docs/API_docs_v55/methods/messages.getSavedGifs.md @@ -16,7 +16,7 @@ Get saved GIFs |hash|Array of [int](../types/int.md) | the hash parameter of the previous result of this method | Optional| -### Return type: [messages\_SavedGifs](../types/messages_SavedGifs.md) +### Return type: [messages.SavedGifs](../types/messages.SavedGifs.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_SavedGifs = $MadelineProto->messages->getSavedGifs(['hash' => [int, int], ]); +$messages.SavedGifs = $MadelineProto->messages->getSavedGifs(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_SavedGifs = messages.getSavedGifs({hash={int}, }) +messages.SavedGifs = messages.getSavedGifs({hash={int}, }) ``` diff --git a/old_docs/API_docs_v55/methods/messages.getStickerSet.md b/old_docs/API_docs_v55/methods/messages.getStickerSet.md index 45fca60f..f11887ee 100644 --- a/old_docs/API_docs_v55/methods/messages.getStickerSet.md +++ b/old_docs/API_docs_v55/methods/messages.getStickerSet.md @@ -16,7 +16,7 @@ Get info about a stickerset |stickerset|[InputStickerSet](../types/InputStickerSet.md) | Stickerset | Optional| -### Return type: [messages\_StickerSet](../types/messages_StickerSet.md) +### Return type: [messages.StickerSet](../types/messages.StickerSet.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StickerSet = $MadelineProto->messages->getStickerSet(['stickerset' => InputStickerSet, ]); +$messages.StickerSet = $MadelineProto->messages->getStickerSet(['stickerset' => InputStickerSet, ]); ``` Or, if you're into Lua: ```lua -messages_StickerSet = messages.getStickerSet({stickerset=InputStickerSet, }) +messages.StickerSet = messages.getStickerSet({stickerset=InputStickerSet, }) ``` ### Errors diff --git a/old_docs/API_docs_v55/methods/messages.getStickers.md b/old_docs/API_docs_v55/methods/messages.getStickers.md index aa149fc3..6fab91a5 100644 --- a/old_docs/API_docs_v55/methods/messages.getStickers.md +++ b/old_docs/API_docs_v55/methods/messages.getStickers.md @@ -17,7 +17,7 @@ Get stickers by emoji |hash|[string](../types/string.md) | Previously fetched sticker IDs | Yes| -### Return type: [messages\_Stickers](../types/messages_Stickers.md) +### Return type: [messages.Stickers](../types/messages.Stickers.md) ### Can bots use this method: **NO** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Stickers = $MadelineProto->messages->getStickers(['emoticon' => 'string', 'hash' => 'string', ]); +$messages.Stickers = $MadelineProto->messages->getStickers(['emoticon' => 'string', 'hash' => 'string', ]); ``` Or, if you're into Lua: ```lua -messages_Stickers = messages.getStickers({emoticon='string', hash='string', }) +messages.Stickers = messages.getStickers({emoticon='string', hash='string', }) ``` diff --git a/old_docs/API_docs_v55/methods/messages.installStickerSet.md b/old_docs/API_docs_v55/methods/messages.installStickerSet.md index 1a95ca0b..83ce2121 100644 --- a/old_docs/API_docs_v55/methods/messages.installStickerSet.md +++ b/old_docs/API_docs_v55/methods/messages.installStickerSet.md @@ -17,7 +17,7 @@ Install a stickerset |archived|[Bool](../types/Bool.md) | Whether to archive stickerset | Yes| -### Return type: [messages\_StickerSetInstallResult](../types/messages_StickerSetInstallResult.md) +### Return type: [messages.StickerSetInstallResult](../types/messages.StickerSetInstallResult.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StickerSetInstallResult = $MadelineProto->messages->installStickerSet(['stickerset' => InputStickerSet, 'archived' => Bool, ]); +$messages.StickerSetInstallResult = $MadelineProto->messages->installStickerSet(['stickerset' => InputStickerSet, 'archived' => Bool, ]); ``` Or, if you're into Lua: ```lua -messages_StickerSetInstallResult = messages.installStickerSet({stickerset=InputStickerSet, archived=Bool, }) +messages.StickerSetInstallResult = messages.installStickerSet({stickerset=InputStickerSet, archived=Bool, }) ``` ### Errors diff --git a/old_docs/API_docs_v55/methods/messages.readHistory.md b/old_docs/API_docs_v55/methods/messages.readHistory.md index 39753375..52030c68 100644 --- a/old_docs/API_docs_v55/methods/messages.readHistory.md +++ b/old_docs/API_docs_v55/methods/messages.readHistory.md @@ -17,7 +17,7 @@ Marks message history as read. |max\_id|[int](../types/int.md) | If a positive value is passed, only messages with identifiers less or equal than the given one will be read | Yes| -### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) +### Return type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedMessages = $MadelineProto->messages->readHistory(['peer' => InputPeer, 'max_id' => int, ]); +$messages.AffectedMessages = $MadelineProto->messages->readHistory(['peer' => InputPeer, 'max_id' => int, ]); ``` Or, if you're into Lua: ```lua -messages_AffectedMessages = messages.readHistory({peer=InputPeer, max_id=int, }) +messages.AffectedMessages = messages.readHistory({peer=InputPeer, max_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v55/methods/messages.readMessageContents.md b/old_docs/API_docs_v55/methods/messages.readMessageContents.md index c479cafe..9798e661 100644 --- a/old_docs/API_docs_v55/methods/messages.readMessageContents.md +++ b/old_docs/API_docs_v55/methods/messages.readMessageContents.md @@ -16,7 +16,7 @@ Notifies the sender about the recipient having listened a voice message or watch |id|Array of [int](../types/int.md) | The messages to mark as read (only users and normal chats, not supergroups) | Yes| -### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) +### Return type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedMessages = $MadelineProto->messages->readMessageContents(['id' => [int, int], ]); +$messages.AffectedMessages = $MadelineProto->messages->readMessageContents(['id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AffectedMessages = messages.readMessageContents({id={int}, }) +messages.AffectedMessages = messages.readMessageContents({id={int}, }) ``` diff --git a/old_docs/API_docs_v55/methods/messages.search.md b/old_docs/API_docs_v55/methods/messages.search.md index 4fda6636..7ebe6a9a 100644 --- a/old_docs/API_docs_v55/methods/messages.search.md +++ b/old_docs/API_docs_v55/methods/messages.search.md @@ -23,7 +23,7 @@ Gets back found messages |limit|[int](../types/int.md) | [Number of results to return](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **NO** @@ -40,13 +40,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->search(['peer' => InputPeer, 'q' => 'string', 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); +$messages.Messages = $MadelineProto->messages->search(['peer' => InputPeer, 'q' => 'string', 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.search({peer=InputPeer, q='string', filter=MessagesFilter, min_date=int, max_date=int, offset=int, max_id=int, limit=int, }) +messages.Messages = messages.search({peer=InputPeer, q='string', filter=MessagesFilter, min_date=int, max_date=int, offset=int, max_id=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v55/methods/messages.searchGifs.md b/old_docs/API_docs_v55/methods/messages.searchGifs.md index 851371d7..193a0cd4 100644 --- a/old_docs/API_docs_v55/methods/messages.searchGifs.md +++ b/old_docs/API_docs_v55/methods/messages.searchGifs.md @@ -17,7 +17,7 @@ Search for GIFs |offset|[int](../types/int.md) | Offset for [pagination »](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_FoundGifs](../types/messages_FoundGifs.md) +### Return type: [messages.FoundGifs](../types/messages.FoundGifs.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_FoundGifs = $MadelineProto->messages->searchGifs(['q' => 'string', 'offset' => int, ]); +$messages.FoundGifs = $MadelineProto->messages->searchGifs(['q' => 'string', 'offset' => int, ]); ``` Or, if you're into Lua: ```lua -messages_FoundGifs = messages.searchGifs({q='string', offset=int, }) +messages.FoundGifs = messages.searchGifs({q='string', offset=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v55/methods/messages.searchGlobal.md b/old_docs/API_docs_v55/methods/messages.searchGlobal.md index 4bd59f25..1a3b736d 100644 --- a/old_docs/API_docs_v55/methods/messages.searchGlobal.md +++ b/old_docs/API_docs_v55/methods/messages.searchGlobal.md @@ -20,7 +20,7 @@ Search for messages and peers globally |limit|[int](../types/int.md) | [Offsets for pagination, for more info click here](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **NO** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->searchGlobal(['q' => 'string', 'offset_date' => int, 'offset_peer' => InputPeer, 'offset_id' => int, 'limit' => int, ]); +$messages.Messages = $MadelineProto->messages->searchGlobal(['q' => 'string', 'offset_date' => int, 'offset_peer' => InputPeer, 'offset_id' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.searchGlobal({q='string', offset_date=int, offset_peer=InputPeer, offset_id=int, limit=int, }) +messages.Messages = messages.searchGlobal({q='string', offset_date=int, offset_peer=InputPeer, offset_id=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v55/methods/messages.sendEncrypted.md b/old_docs/API_docs_v55/methods/messages.sendEncrypted.md index 47b5ef29..6a68b563 100644 --- a/old_docs/API_docs_v55/methods/messages.sendEncrypted.md +++ b/old_docs/API_docs_v55/methods/messages.sendEncrypted.md @@ -14,10 +14,10 @@ Sends a text message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|message|[DecryptedMessage](../types/DecryptedMessage.md) | The message to send | Yes| +|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key that was created during chat initialization | Yes| -### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ### Can bots use this method: **NO** @@ -34,21 +34,15 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncrypted(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); +$messages.SentEncryptedMessage = $MadelineProto->messages->sendEncrypted(['peer' => InputEncryptedChat, 'data' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -messages_SentEncryptedMessage = messages.sendEncrypted({peer=InputEncryptedChat, message=DecryptedMessage, }) +messages.SentEncryptedMessage = messages.sendEncrypted({peer=InputEncryptedChat, data='bytes', }) ``` - -## Return value - -If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) will be returned instead. - - ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v55/methods/messages.sendEncryptedFile.md b/old_docs/API_docs_v55/methods/messages.sendEncryptedFile.md index 4e0f7b7f..87185ba4 100644 --- a/old_docs/API_docs_v55/methods/messages.sendEncryptedFile.md +++ b/old_docs/API_docs_v55/methods/messages.sendEncryptedFile.md @@ -14,11 +14,11 @@ Sends a message with a file attachment to a secret chat | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|message|[DecryptedMessage](../types/DecryptedMessage.md) | The message with the file | Yes| +|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| |file|[File path or InputEncryptedFile](../types/InputEncryptedFile.md) | File attachment for the secret chat | Optional| -### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ### Can bots use this method: **NO** @@ -35,21 +35,15 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedFile(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, 'file' => InputEncryptedFile, ]); +$messages.SentEncryptedMessage = $MadelineProto->messages->sendEncryptedFile(['peer' => InputEncryptedChat, 'data' => 'bytes', 'file' => InputEncryptedFile, ]); ``` Or, if you're into Lua: ```lua -messages_SentEncryptedMessage = messages.sendEncryptedFile({peer=InputEncryptedChat, message=DecryptedMessage, file=InputEncryptedFile, }) +messages.SentEncryptedMessage = messages.sendEncryptedFile({peer=InputEncryptedChat, data='bytes', file=InputEncryptedFile, }) ``` - -## Return value - -If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) will be returned instead. - - ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v55/methods/messages.sendEncryptedService.md b/old_docs/API_docs_v55/methods/messages.sendEncryptedService.md index 86925ae3..38171272 100644 --- a/old_docs/API_docs_v55/methods/messages.sendEncryptedService.md +++ b/old_docs/API_docs_v55/methods/messages.sendEncryptedService.md @@ -14,10 +14,10 @@ Sends a service message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|message|[DecryptedMessage](../types/DecryptedMessage.md) | The service message | Yes| +|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| -### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ### Can bots use this method: **NO** @@ -34,21 +34,15 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedService(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); +$messages.SentEncryptedMessage = $MadelineProto->messages->sendEncryptedService(['peer' => InputEncryptedChat, 'data' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -messages_SentEncryptedMessage = messages.sendEncryptedService({peer=InputEncryptedChat, message=DecryptedMessage, }) +messages.SentEncryptedMessage = messages.sendEncryptedService({peer=InputEncryptedChat, data='bytes', }) ``` - -## Return value - -If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) will be returned instead. - - ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v55/methods/photos.getUserPhotos.md b/old_docs/API_docs_v55/methods/photos.getUserPhotos.md index a1dec2ed..1f8d5c64 100644 --- a/old_docs/API_docs_v55/methods/photos.getUserPhotos.md +++ b/old_docs/API_docs_v55/methods/photos.getUserPhotos.md @@ -19,7 +19,7 @@ Returns the list of user photos. |limit|[int](../types/int.md) | Number of list elements to be returned | Yes| -### Return type: [photos\_Photos](../types/photos_Photos.md) +### Return type: [photos.Photos](../types/photos.Photos.md) ### Can bots use this method: **YES** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$photos_Photos = $MadelineProto->photos->getUserPhotos(['user_id' => InputUser, 'offset' => int, 'max_id' => long, 'limit' => int, ]); +$photos.Photos = $MadelineProto->photos->getUserPhotos(['user_id' => InputUser, 'offset' => int, 'max_id' => long, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -photos_Photos = photos.getUserPhotos({user_id=InputUser, offset=int, max_id=long, limit=int, }) +photos.Photos = photos.getUserPhotos({user_id=InputUser, offset=int, max_id=long, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v55/methods/photos.uploadProfilePhoto.md b/old_docs/API_docs_v55/methods/photos.uploadProfilePhoto.md index 337dcc21..18b2b4c6 100644 --- a/old_docs/API_docs_v55/methods/photos.uploadProfilePhoto.md +++ b/old_docs/API_docs_v55/methods/photos.uploadProfilePhoto.md @@ -19,7 +19,7 @@ Updates current user profile photo. |crop|[InputPhotoCrop](../types/InputPhotoCrop.md) | Cropping info | Yes| -### Return type: [photos\_Photo](../types/photos_Photo.md) +### Return type: [photos.Photo](../types/photos.Photo.md) ### Can bots use this method: **NO** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$photos_Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, 'caption' => 'string', 'geo_point' => InputGeoPoint, 'crop' => InputPhotoCrop, ]); +$photos.Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, 'caption' => 'string', 'geo_point' => InputGeoPoint, 'crop' => InputPhotoCrop, ]); ``` Or, if you're into Lua: ```lua -photos_Photo = photos.uploadProfilePhoto({file=InputFile, caption='string', geo_point=InputGeoPoint, crop=InputPhotoCrop, }) +photos.Photo = photos.uploadProfilePhoto({file=InputFile, caption='string', geo_point=InputGeoPoint, crop=InputPhotoCrop, }) ``` ### Errors diff --git a/old_docs/API_docs_v55/methods/updates.getChannelDifference.md b/old_docs/API_docs_v55/methods/updates.getChannelDifference.md index 77a45636..79adf4b1 100644 --- a/old_docs/API_docs_v55/methods/updates.getChannelDifference.md +++ b/old_docs/API_docs_v55/methods/updates.getChannelDifference.md @@ -19,7 +19,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz for more |limit|[int](../types/int.md) | You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates | Yes| -### Return type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) +### Return type: [updates.ChannelDifference](../types/updates.ChannelDifference.md) ### Can bots use this method: **YES** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$updates_ChannelDifference = $MadelineProto->updates->getChannelDifference(['channel' => InputChannel, 'filter' => ChannelMessagesFilter, 'pts' => int, 'limit' => int, ]); +$updates.ChannelDifference = $MadelineProto->updates->getChannelDifference(['channel' => InputChannel, 'filter' => ChannelMessagesFilter, 'pts' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -updates_ChannelDifference = updates.getChannelDifference({channel=InputChannel, filter=ChannelMessagesFilter, pts=int, limit=int, }) +updates.ChannelDifference = updates.getChannelDifference({channel=InputChannel, filter=ChannelMessagesFilter, pts=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v55/methods/updates.getDifference.md b/old_docs/API_docs_v55/methods/updates.getDifference.md index 57ea6d99..061a5c8f 100644 --- a/old_docs/API_docs_v55/methods/updates.getDifference.md +++ b/old_docs/API_docs_v55/methods/updates.getDifference.md @@ -18,7 +18,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz for more |qts|[int](../types/int.md) | You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates | Yes| -### Return type: [updates\_Difference](../types/updates_Difference.md) +### Return type: [updates.Difference](../types/updates.Difference.md) ### Can bots use this method: **YES** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$updates_Difference = $MadelineProto->updates->getDifference(['pts' => int, 'date' => int, 'qts' => int, ]); +$updates.Difference = $MadelineProto->updates->getDifference(['pts' => int, 'date' => int, 'qts' => int, ]); ``` Or, if you're into Lua: ```lua -updates_Difference = updates.getDifference({pts=int, date=int, qts=int, }) +updates.Difference = updates.getDifference({pts=int, date=int, qts=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v55/methods/updates.getState.md b/old_docs/API_docs_v55/methods/updates.getState.md index c591408a..9a7d2f34 100644 --- a/old_docs/API_docs_v55/methods/updates.getState.md +++ b/old_docs/API_docs_v55/methods/updates.getState.md @@ -11,7 +11,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz for more -### Return type: [updates\_State](../types/updates_State.md) +### Return type: [updates.State](../types/updates.State.md) ### Can bots use this method: **YES** @@ -28,13 +28,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$updates_State = $MadelineProto->updates->getState(); +$updates.State = $MadelineProto->updates->getState(); ``` Or, if you're into Lua: ```lua -updates_State = updates.getState({}) +updates.State = updates.getState({}) ``` ### Errors diff --git a/old_docs/API_docs_v55/methods/upload.getFile.md b/old_docs/API_docs_v55/methods/upload.getFile.md index 8aba03d4..ab9f4fe2 100644 --- a/old_docs/API_docs_v55/methods/upload.getFile.md +++ b/old_docs/API_docs_v55/methods/upload.getFile.md @@ -18,7 +18,7 @@ You cannot use this method directly, use the upload, downloadToStream, downloadT |limit|[int](../types/int.md) | You cannot use this method directly, use the upload, downloadToStream, downloadToFile, downloadToDir methods instead; see https://docs.madelineproto.xyz for more info | Yes| -### Return type: [upload\_File](../types/upload_File.md) +### Return type: [upload.File](../types/upload.File.md) ### Can bots use this method: **YES** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$upload_File = $MadelineProto->upload->getFile(['location' => InputFileLocation, 'offset' => int, 'limit' => int, ]); +$upload.File = $MadelineProto->upload->getFile(['location' => InputFileLocation, 'offset' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -upload_File = upload.getFile({location=InputFileLocation, offset=int, limit=int, }) +upload.File = upload.getFile({location=InputFileLocation, offset=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v55/types/AccountDaysTTL.md b/old_docs/API_docs_v55/types/AccountDaysTTL.md index 12a10190..f3494aac 100644 --- a/old_docs/API_docs_v55/types/AccountDaysTTL.md +++ b/old_docs/API_docs_v55/types/AccountDaysTTL.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->account->getAccountTTL](../methods/account_getAccountTTL.md) +[$MadelineProto->account->getAccountTTL](../methods/account.getAccountTTL.md) diff --git a/old_docs/API_docs_v55/types/ChatInvite.md b/old_docs/API_docs_v55/types/ChatInvite.md index 5022a2f0..9fafabb4 100644 --- a/old_docs/API_docs_v55/types/ChatInvite.md +++ b/old_docs/API_docs_v55/types/ChatInvite.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->checkChatInvite](../methods/messages_checkChatInvite.md) +[$MadelineProto->messages->checkChatInvite](../methods/messages.checkChatInvite.md) diff --git a/old_docs/API_docs_v55/types/Config.md b/old_docs/API_docs_v55/types/Config.md index 0f7fbe70..3a23b7b7 100644 --- a/old_docs/API_docs_v55/types/Config.md +++ b/old_docs/API_docs_v55/types/Config.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->help->getConfig](../methods/help_getConfig.md) +[$MadelineProto->help->getConfig](../methods/help.getConfig.md) diff --git a/old_docs/API_docs_v55/types/ContactStatus.md b/old_docs/API_docs_v55/types/ContactStatus.md index c5f5d658..30aee6e2 100644 --- a/old_docs/API_docs_v55/types/ContactStatus.md +++ b/old_docs/API_docs_v55/types/ContactStatus.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->contacts->getStatuses](../methods/contacts_getStatuses.md) +[$MadelineProto->contacts->getStatuses](../methods/contacts.getStatuses.md) diff --git a/old_docs/API_docs_v55/types/Document.md b/old_docs/API_docs_v55/types/Document.md index f68b7aa4..2cb85623 100644 --- a/old_docs/API_docs_v55/types/Document.md +++ b/old_docs/API_docs_v55/types/Document.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getDocumentByHash](../methods/messages_getDocumentByHash.md) +[$MadelineProto->messages->getDocumentByHash](../methods/messages.getDocumentByHash.md) diff --git a/old_docs/API_docs_v55/types/EncryptedChat.md b/old_docs/API_docs_v55/types/EncryptedChat.md index fd2277f6..19cf52b0 100644 --- a/old_docs/API_docs_v55/types/EncryptedChat.md +++ b/old_docs/API_docs_v55/types/EncryptedChat.md @@ -24,9 +24,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->requestEncryption](../methods/messages_requestEncryption.md) +[$MadelineProto->messages->requestEncryption](../methods/messages.requestEncryption.md) -[$MadelineProto->messages->acceptEncryption](../methods/messages_acceptEncryption.md) +[$MadelineProto->messages->acceptEncryption](../methods/messages.acceptEncryption.md) diff --git a/old_docs/API_docs_v55/types/ExportedChatInvite.md b/old_docs/API_docs_v55/types/ExportedChatInvite.md index 4213a78f..53ce5f59 100644 --- a/old_docs/API_docs_v55/types/ExportedChatInvite.md +++ b/old_docs/API_docs_v55/types/ExportedChatInvite.md @@ -18,9 +18,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->exportChatInvite](../methods/messages_exportChatInvite.md) +[$MadelineProto->messages->exportChatInvite](../methods/messages.exportChatInvite.md) -[$MadelineProto->channels->exportInvite](../methods/channels_exportInvite.md) +[$MadelineProto->channels->exportInvite](../methods/channels.exportInvite.md) diff --git a/old_docs/API_docs_v55/types/ExportedMessageLink.md b/old_docs/API_docs_v55/types/ExportedMessageLink.md index eb2400f6..948e9c90 100644 --- a/old_docs/API_docs_v55/types/ExportedMessageLink.md +++ b/old_docs/API_docs_v55/types/ExportedMessageLink.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->channels->exportMessageLink](../methods/channels_exportMessageLink.md) +[$MadelineProto->channels->exportMessageLink](../methods/channels.exportMessageLink.md) diff --git a/old_docs/API_docs_v55/types/MessageMedia.md b/old_docs/API_docs_v55/types/MessageMedia.md index 288d00e1..872ff1ba 100644 --- a/old_docs/API_docs_v55/types/MessageMedia.md +++ b/old_docs/API_docs_v55/types/MessageMedia.md @@ -30,7 +30,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getWebPagePreview](../methods/messages_getWebPagePreview.md) +[$MadelineProto->messages->getWebPagePreview](../methods/messages.getWebPagePreview.md) diff --git a/old_docs/API_docs_v55/types/NearestDc.md b/old_docs/API_docs_v55/types/NearestDc.md index 31f24377..296a4dff 100644 --- a/old_docs/API_docs_v55/types/NearestDc.md +++ b/old_docs/API_docs_v55/types/NearestDc.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->help->getNearestDc](../methods/help_getNearestDc.md) +[$MadelineProto->help->getNearestDc](../methods/help.getNearestDc.md) diff --git a/old_docs/API_docs_v55/types/PeerNotifySettings.md b/old_docs/API_docs_v55/types/PeerNotifySettings.md index 769de075..3d72b7c5 100644 --- a/old_docs/API_docs_v55/types/PeerNotifySettings.md +++ b/old_docs/API_docs_v55/types/PeerNotifySettings.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->account->getNotifySettings](../methods/account_getNotifySettings.md) +[$MadelineProto->account->getNotifySettings](../methods/account.getNotifySettings.md) diff --git a/old_docs/API_docs_v55/types/PeerSettings.md b/old_docs/API_docs_v55/types/PeerSettings.md index 60ac3765..31ef7e38 100644 --- a/old_docs/API_docs_v55/types/PeerSettings.md +++ b/old_docs/API_docs_v55/types/PeerSettings.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getPeerSettings](../methods/messages_getPeerSettings.md) +[$MadelineProto->messages->getPeerSettings](../methods/messages.getPeerSettings.md) diff --git a/old_docs/API_docs_v55/types/README.md b/old_docs/API_docs_v55/types/README.md index 810f1f70..e452dd33 100644 --- a/old_docs/API_docs_v55/types/README.md +++ b/old_docs/API_docs_v55/types/README.md @@ -215,115 +215,115 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png [X](X.md) -[account\_Authorizations](account_Authorizations.md) +[account.Authorizations](account.Authorizations.md) -[account\_Password](account_Password.md) +[account.Password](account.Password.md) -[account\_PasswordInputSettings](account_PasswordInputSettings.md) +[account.PasswordInputSettings](account.PasswordInputSettings.md) -[account\_PasswordSettings](account_PasswordSettings.md) +[account.PasswordSettings](account.PasswordSettings.md) -[account\_PrivacyRules](account_PrivacyRules.md) +[account.PrivacyRules](account.PrivacyRules.md) -[auth\_Authorization](auth_Authorization.md) +[auth.Authorization](auth.Authorization.md) -[auth\_CheckedPhone](auth_CheckedPhone.md) +[auth.CheckedPhone](auth.CheckedPhone.md) -[auth\_CodeType](auth_CodeType.md) +[auth.CodeType](auth.CodeType.md) -[auth\_ExportedAuthorization](auth_ExportedAuthorization.md) +[auth.ExportedAuthorization](auth.ExportedAuthorization.md) -[auth\_PasswordRecovery](auth_PasswordRecovery.md) +[auth.PasswordRecovery](auth.PasswordRecovery.md) -[auth\_SentCode](auth_SentCode.md) +[auth.SentCode](auth.SentCode.md) -[auth\_SentCodeType](auth_SentCodeType.md) +[auth.SentCodeType](auth.SentCodeType.md) -[channels\_ChannelParticipant](channels_ChannelParticipant.md) +[channels.ChannelParticipant](channels.ChannelParticipant.md) -[channels\_ChannelParticipants](channels_ChannelParticipants.md) +[channels.ChannelParticipants](channels.ChannelParticipants.md) -[contacts\_Blocked](contacts_Blocked.md) +[contacts.Blocked](contacts.Blocked.md) -[contacts\_Contacts](contacts_Contacts.md) +[contacts.Contacts](contacts.Contacts.md) -[contacts\_Found](contacts_Found.md) +[contacts.Found](contacts.Found.md) -[contacts\_ImportedContacts](contacts_ImportedContacts.md) +[contacts.ImportedContacts](contacts.ImportedContacts.md) -[contacts\_Link](contacts_Link.md) +[contacts.Link](contacts.Link.md) -[contacts\_ResolvedPeer](contacts_ResolvedPeer.md) +[contacts.ResolvedPeer](contacts.ResolvedPeer.md) -[contacts\_TopPeers](contacts_TopPeers.md) +[contacts.TopPeers](contacts.TopPeers.md) -[help\_AppChangelog](help_AppChangelog.md) +[help.AppChangelog](help.AppChangelog.md) -[help\_AppUpdate](help_AppUpdate.md) +[help.AppUpdate](help.AppUpdate.md) -[help\_InviteText](help_InviteText.md) +[help.InviteText](help.InviteText.md) -[help\_Support](help_Support.md) +[help.Support](help.Support.md) -[help\_TermsOfService](help_TermsOfService.md) +[help.TermsOfService](help.TermsOfService.md) [int](int.md) [long](long.md) -[messages\_AffectedHistory](messages_AffectedHistory.md) +[messages.AffectedHistory](messages.AffectedHistory.md) -[messages\_AffectedMessages](messages_AffectedMessages.md) +[messages.AffectedMessages](messages.AffectedMessages.md) -[messages\_AllStickers](messages_AllStickers.md) +[messages.AllStickers](messages.AllStickers.md) -[messages\_ArchivedStickers](messages_ArchivedStickers.md) +[messages.ArchivedStickers](messages.ArchivedStickers.md) -[messages\_BotCallbackAnswer](messages_BotCallbackAnswer.md) +[messages.BotCallbackAnswer](messages.BotCallbackAnswer.md) -[messages\_BotResults](messages_BotResults.md) +[messages.BotResults](messages.BotResults.md) -[messages\_ChatFull](messages_ChatFull.md) +[messages.ChatFull](messages.ChatFull.md) -[messages\_Chats](messages_Chats.md) +[messages.Chats](messages.Chats.md) -[messages\_DhConfig](messages_DhConfig.md) +[messages.DhConfig](messages.DhConfig.md) -[messages\_Dialogs](messages_Dialogs.md) +[messages.Dialogs](messages.Dialogs.md) -[messages\_FeaturedStickers](messages_FeaturedStickers.md) +[messages.FeaturedStickers](messages.FeaturedStickers.md) -[messages\_FoundGifs](messages_FoundGifs.md) +[messages.FoundGifs](messages.FoundGifs.md) -[messages\_MessageEditData](messages_MessageEditData.md) +[messages.MessageEditData](messages.MessageEditData.md) -[messages\_Messages](messages_Messages.md) +[messages.Messages](messages.Messages.md) -[messages\_PeerDialogs](messages_PeerDialogs.md) +[messages.PeerDialogs](messages.PeerDialogs.md) -[messages\_RecentStickers](messages_RecentStickers.md) +[messages.RecentStickers](messages.RecentStickers.md) -[messages\_SavedGifs](messages_SavedGifs.md) +[messages.SavedGifs](messages.SavedGifs.md) -[messages\_SentEncryptedMessage](messages_SentEncryptedMessage.md) +[messages.SentEncryptedMessage](messages.SentEncryptedMessage.md) -[messages\_StickerSet](messages_StickerSet.md) +[messages.StickerSet](messages.StickerSet.md) -[messages\_StickerSetInstallResult](messages_StickerSetInstallResult.md) +[messages.StickerSetInstallResult](messages.StickerSetInstallResult.md) -[messages\_Stickers](messages_Stickers.md) +[messages.Stickers](messages.Stickers.md) -[photos\_Photo](photos_Photo.md) +[photos.Photo](photos.Photo.md) -[photos\_Photos](photos_Photos.md) +[photos.Photos](photos.Photos.md) -[storage\_FileType](storage_FileType.md) +[storage.FileType](storage.FileType.md) -[updates\_ChannelDifference](updates_ChannelDifference.md) +[updates.ChannelDifference](updates.ChannelDifference.md) -[updates\_Difference](updates_Difference.md) +[updates.Difference](updates.Difference.md) -[updates\_State](updates_State.md) +[updates.State](updates.State.md) -[upload\_File](upload_File.md) +[upload.File](upload.File.md) diff --git a/old_docs/API_docs_v55/types/ReceivedNotifyMessage.md b/old_docs/API_docs_v55/types/ReceivedNotifyMessage.md index c7fc3b8c..416aa275 100644 --- a/old_docs/API_docs_v55/types/ReceivedNotifyMessage.md +++ b/old_docs/API_docs_v55/types/ReceivedNotifyMessage.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->receivedMessages](../methods/messages_receivedMessages.md) +[$MadelineProto->messages->receivedMessages](../methods/messages.receivedMessages.md) diff --git a/old_docs/API_docs_v55/types/StickerSetCovered.md b/old_docs/API_docs_v55/types/StickerSetCovered.md index 961f7c74..2851aa8a 100644 --- a/old_docs/API_docs_v55/types/StickerSetCovered.md +++ b/old_docs/API_docs_v55/types/StickerSetCovered.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getUnusedStickers](../methods/messages_getUnusedStickers.md) +[$MadelineProto->messages->getUnusedStickers](../methods/messages.getUnusedStickers.md) diff --git a/old_docs/API_docs_v55/types/Updates.md b/old_docs/API_docs_v55/types/Updates.md index 4b2cd4d0..01eccdbf 100644 --- a/old_docs/API_docs_v55/types/Updates.md +++ b/old_docs/API_docs_v55/types/Updates.md @@ -28,63 +28,63 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->sendMessage](../methods/messages_sendMessage.md) +[$MadelineProto->messages->sendMessage](../methods/messages.sendMessage.md) -[$MadelineProto->messages->sendMedia](../methods/messages_sendMedia.md) +[$MadelineProto->messages->sendMedia](../methods/messages.sendMedia.md) -[$MadelineProto->messages->forwardMessages](../methods/messages_forwardMessages.md) +[$MadelineProto->messages->forwardMessages](../methods/messages.forwardMessages.md) -[$MadelineProto->messages->editChatTitle](../methods/messages_editChatTitle.md) +[$MadelineProto->messages->editChatTitle](../methods/messages.editChatTitle.md) -[$MadelineProto->messages->editChatPhoto](../methods/messages_editChatPhoto.md) +[$MadelineProto->messages->editChatPhoto](../methods/messages.editChatPhoto.md) -[$MadelineProto->messages->addChatUser](../methods/messages_addChatUser.md) +[$MadelineProto->messages->addChatUser](../methods/messages.addChatUser.md) -[$MadelineProto->messages->deleteChatUser](../methods/messages_deleteChatUser.md) +[$MadelineProto->messages->deleteChatUser](../methods/messages.deleteChatUser.md) -[$MadelineProto->messages->createChat](../methods/messages_createChat.md) +[$MadelineProto->messages->createChat](../methods/messages.createChat.md) -[$MadelineProto->messages->forwardMessage](../methods/messages_forwardMessage.md) +[$MadelineProto->messages->forwardMessage](../methods/messages.forwardMessage.md) -[$MadelineProto->messages->sendBroadcast](../methods/messages_sendBroadcast.md) +[$MadelineProto->messages->sendBroadcast](../methods/messages.sendBroadcast.md) -[$MadelineProto->messages->importChatInvite](../methods/messages_importChatInvite.md) +[$MadelineProto->messages->importChatInvite](../methods/messages.importChatInvite.md) -[$MadelineProto->messages->startBot](../methods/messages_startBot.md) +[$MadelineProto->messages->startBot](../methods/messages.startBot.md) -[$MadelineProto->channels->createChannel](../methods/channels_createChannel.md) +[$MadelineProto->channels->createChannel](../methods/channels.createChannel.md) -[$MadelineProto->channels->editAdmin](../methods/channels_editAdmin.md) +[$MadelineProto->channels->editAdmin](../methods/channels.editAdmin.md) -[$MadelineProto->channels->editTitle](../methods/channels_editTitle.md) +[$MadelineProto->channels->editTitle](../methods/channels.editTitle.md) -[$MadelineProto->channels->editPhoto](../methods/channels_editPhoto.md) +[$MadelineProto->channels->editPhoto](../methods/channels.editPhoto.md) -[$MadelineProto->channels->joinChannel](../methods/channels_joinChannel.md) +[$MadelineProto->channels->joinChannel](../methods/channels.joinChannel.md) -[$MadelineProto->channels->leaveChannel](../methods/channels_leaveChannel.md) +[$MadelineProto->channels->leaveChannel](../methods/channels.leaveChannel.md) -[$MadelineProto->channels->inviteToChannel](../methods/channels_inviteToChannel.md) +[$MadelineProto->channels->inviteToChannel](../methods/channels.inviteToChannel.md) -[$MadelineProto->channels->kickFromChannel](../methods/channels_kickFromChannel.md) +[$MadelineProto->channels->kickFromChannel](../methods/channels.kickFromChannel.md) -[$MadelineProto->channels->deleteChannel](../methods/channels_deleteChannel.md) +[$MadelineProto->channels->deleteChannel](../methods/channels.deleteChannel.md) -[$MadelineProto->messages->toggleChatAdmins](../methods/messages_toggleChatAdmins.md) +[$MadelineProto->messages->toggleChatAdmins](../methods/messages.toggleChatAdmins.md) -[$MadelineProto->messages->migrateChat](../methods/messages_migrateChat.md) +[$MadelineProto->messages->migrateChat](../methods/messages.migrateChat.md) -[$MadelineProto->messages->sendInlineBotResult](../methods/messages_sendInlineBotResult.md) +[$MadelineProto->messages->sendInlineBotResult](../methods/messages.sendInlineBotResult.md) -[$MadelineProto->channels->toggleInvites](../methods/channels_toggleInvites.md) +[$MadelineProto->channels->toggleInvites](../methods/channels.toggleInvites.md) -[$MadelineProto->channels->toggleSignatures](../methods/channels_toggleSignatures.md) +[$MadelineProto->channels->toggleSignatures](../methods/channels.toggleSignatures.md) -[$MadelineProto->channels->updatePinnedMessage](../methods/channels_updatePinnedMessage.md) +[$MadelineProto->channels->updatePinnedMessage](../methods/channels.updatePinnedMessage.md) -[$MadelineProto->messages->editMessage](../methods/messages_editMessage.md) +[$MadelineProto->messages->editMessage](../methods/messages.editMessage.md) -[$MadelineProto->messages->getAllDrafts](../methods/messages_getAllDrafts.md) +[$MadelineProto->messages->getAllDrafts](../methods/messages.getAllDrafts.md) diff --git a/old_docs/API_docs_v55/types/User.md b/old_docs/API_docs_v55/types/User.md index b145a3f8..30349c87 100644 --- a/old_docs/API_docs_v55/types/User.md +++ b/old_docs/API_docs_v55/types/User.md @@ -42,15 +42,15 @@ A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDia ### Methods that return an object of this type (methods): -[$MadelineProto->account->updateProfile](../methods/account_updateProfile.md) +[$MadelineProto->account->updateProfile](../methods/account.updateProfile.md) -[$MadelineProto->users->getUsers](../methods/users_getUsers.md) +[$MadelineProto->users->getUsers](../methods/users.getUsers.md) -[$MadelineProto->contacts->importCard](../methods/contacts_importCard.md) +[$MadelineProto->contacts->importCard](../methods/contacts.importCard.md) -[$MadelineProto->account->updateUsername](../methods/account_updateUsername.md) +[$MadelineProto->account->updateUsername](../methods/account.updateUsername.md) -[$MadelineProto->account->changePhone](../methods/account_changePhone.md) +[$MadelineProto->account->changePhone](../methods/account.changePhone.md) diff --git a/old_docs/API_docs_v55/types/UserFull.md b/old_docs/API_docs_v55/types/UserFull.md index 79ad30bb..ac50052f 100644 --- a/old_docs/API_docs_v55/types/UserFull.md +++ b/old_docs/API_docs_v55/types/UserFull.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->users->getFullUser](../methods/users_getFullUser.md) +[$MadelineProto->users->getFullUser](../methods/users.getFullUser.md) diff --git a/old_docs/API_docs_v55/types/UserProfilePhoto.md b/old_docs/API_docs_v55/types/UserProfilePhoto.md index e5243a2e..e81e92fd 100644 --- a/old_docs/API_docs_v55/types/UserProfilePhoto.md +++ b/old_docs/API_docs_v55/types/UserProfilePhoto.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->photos->updateProfilePhoto](../methods/photos_updateProfilePhoto.md) +[$MadelineProto->photos->updateProfilePhoto](../methods/photos.updateProfilePhoto.md) diff --git a/old_docs/API_docs_v55/types/WallPaper.md b/old_docs/API_docs_v55/types/WallPaper.md index 8c5ac7cf..45337565 100644 --- a/old_docs/API_docs_v55/types/WallPaper.md +++ b/old_docs/API_docs_v55/types/WallPaper.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->account->getWallPapers](../methods/account_getWallPapers.md) +[$MadelineProto->account->getWallPapers](../methods/account.getWallPapers.md) diff --git a/old_docs/API_docs_v55/types/account.Authorizations.md b/old_docs/API_docs_v55/types/account.Authorizations.md new file mode 100644 index 00000000..f9112038 --- /dev/null +++ b/old_docs/API_docs_v55/types/account.Authorizations.md @@ -0,0 +1,22 @@ +--- +title: account.Authorizations +description: constructors and methods of type account.Authorizations +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.Authorizations +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.authorizations](../constructors/account.authorizations.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getAuthorizations](../methods/account.getAuthorizations.md) + + + diff --git a/old_docs/API_docs_v55/types/account.Password.md b/old_docs/API_docs_v55/types/account.Password.md new file mode 100644 index 00000000..5217ab5e --- /dev/null +++ b/old_docs/API_docs_v55/types/account.Password.md @@ -0,0 +1,24 @@ +--- +title: account.Password +description: constructors and methods of type account.Password +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.Password +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.noPassword](../constructors/account.noPassword.md) + +[account.password](../constructors/account.password.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getPassword](../methods/account.getPassword.md) + + + diff --git a/old_docs/API_docs_v55/types/account.PasswordInputSettings.md b/old_docs/API_docs_v55/types/account.PasswordInputSettings.md new file mode 100644 index 00000000..72e11fdc --- /dev/null +++ b/old_docs/API_docs_v55/types/account.PasswordInputSettings.md @@ -0,0 +1,20 @@ +--- +title: account.PasswordInputSettings +description: constructors and methods of type account.PasswordInputSettings +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.PasswordInputSettings +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.passwordInputSettings](../constructors/account.passwordInputSettings.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v55/types/account.PasswordSettings.md b/old_docs/API_docs_v55/types/account.PasswordSettings.md new file mode 100644 index 00000000..47016832 --- /dev/null +++ b/old_docs/API_docs_v55/types/account.PasswordSettings.md @@ -0,0 +1,22 @@ +--- +title: account.PasswordSettings +description: constructors and methods of type account.PasswordSettings +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.PasswordSettings +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.passwordSettings](../constructors/account.passwordSettings.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getPasswordSettings](../methods/account.getPasswordSettings.md) + + + diff --git a/old_docs/API_docs_v55/types/account.PrivacyRules.md b/old_docs/API_docs_v55/types/account.PrivacyRules.md new file mode 100644 index 00000000..738651ad --- /dev/null +++ b/old_docs/API_docs_v55/types/account.PrivacyRules.md @@ -0,0 +1,24 @@ +--- +title: account.PrivacyRules +description: constructors and methods of type account.PrivacyRules +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.PrivacyRules +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.privacyRules](../constructors/account.privacyRules.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getPrivacy](../methods/account.getPrivacy.md) + +[$MadelineProto->account->setPrivacy](../methods/account.setPrivacy.md) + + + diff --git a/old_docs/API_docs_v55/types/account_Authorizations.md b/old_docs/API_docs_v55/types/account_Authorizations.md deleted file mode 100644 index 4709ddb5..00000000 --- a/old_docs/API_docs_v55/types/account_Authorizations.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_Authorizations -description: constructors and methods of type account_Authorizations -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_Authorizations -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_authorizations](../constructors/account_authorizations.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getAuthorizations](../methods/account_getAuthorizations.md) - - - diff --git a/old_docs/API_docs_v55/types/account_Password.md b/old_docs/API_docs_v55/types/account_Password.md deleted file mode 100644 index 23e05987..00000000 --- a/old_docs/API_docs_v55/types/account_Password.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: account_Password -description: constructors and methods of type account_Password -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_Password -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_noPassword](../constructors/account_noPassword.md) - -[account\_password](../constructors/account_password.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getPassword](../methods/account_getPassword.md) - - - diff --git a/old_docs/API_docs_v55/types/account_PasswordInputSettings.md b/old_docs/API_docs_v55/types/account_PasswordInputSettings.md deleted file mode 100644 index a6455eb8..00000000 --- a/old_docs/API_docs_v55/types/account_PasswordInputSettings.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: account_PasswordInputSettings -description: constructors and methods of type account_PasswordInputSettings -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_PasswordInputSettings -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_passwordInputSettings](../constructors/account_passwordInputSettings.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v55/types/account_PasswordSettings.md b/old_docs/API_docs_v55/types/account_PasswordSettings.md deleted file mode 100644 index 687eb217..00000000 --- a/old_docs/API_docs_v55/types/account_PasswordSettings.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_PasswordSettings -description: constructors and methods of type account_PasswordSettings -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_PasswordSettings -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_passwordSettings](../constructors/account_passwordSettings.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getPasswordSettings](../methods/account_getPasswordSettings.md) - - - diff --git a/old_docs/API_docs_v55/types/account_PrivacyRules.md b/old_docs/API_docs_v55/types/account_PrivacyRules.md deleted file mode 100644 index 40b00077..00000000 --- a/old_docs/API_docs_v55/types/account_PrivacyRules.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: account_PrivacyRules -description: constructors and methods of type account_PrivacyRules -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_PrivacyRules -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_privacyRules](../constructors/account_privacyRules.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getPrivacy](../methods/account_getPrivacy.md) - -[$MadelineProto->account->setPrivacy](../methods/account_setPrivacy.md) - - - diff --git a/old_docs/API_docs_v55/types/auth.Authorization.md b/old_docs/API_docs_v55/types/auth.Authorization.md new file mode 100644 index 00000000..adcfa7d3 --- /dev/null +++ b/old_docs/API_docs_v55/types/auth.Authorization.md @@ -0,0 +1,32 @@ +--- +title: auth.Authorization +description: constructors and methods of type auth.Authorization +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.Authorization +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.authorization](../constructors/auth.authorization.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->signUp](../methods/auth.signUp.md) + +[$MadelineProto->auth->signIn](../methods/auth.signIn.md) + +[$MadelineProto->auth->importAuthorization](../methods/auth.importAuthorization.md) + +[$MadelineProto->auth->importBotAuthorization](../methods/auth.importBotAuthorization.md) + +[$MadelineProto->auth->checkPassword](../methods/auth.checkPassword.md) + +[$MadelineProto->auth->recoverPassword](../methods/auth.recoverPassword.md) + + + diff --git a/old_docs/API_docs_v55/types/auth.CheckedPhone.md b/old_docs/API_docs_v55/types/auth.CheckedPhone.md new file mode 100644 index 00000000..94af3915 --- /dev/null +++ b/old_docs/API_docs_v55/types/auth.CheckedPhone.md @@ -0,0 +1,22 @@ +--- +title: auth.CheckedPhone +description: constructors and methods of type auth.CheckedPhone +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.CheckedPhone +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.checkedPhone](../constructors/auth.checkedPhone.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->checkPhone](../methods/auth.checkPhone.md) + + + diff --git a/old_docs/API_docs_v55/types/auth.CodeType.md b/old_docs/API_docs_v55/types/auth.CodeType.md new file mode 100644 index 00000000..8d2b308d --- /dev/null +++ b/old_docs/API_docs_v55/types/auth.CodeType.md @@ -0,0 +1,24 @@ +--- +title: auth.CodeType +description: constructors and methods of type auth.CodeType +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.CodeType +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.codeTypeSms](../constructors/auth.codeTypeSms.md) + +[auth.codeTypeCall](../constructors/auth.codeTypeCall.md) + +[auth.codeTypeFlashCall](../constructors/auth.codeTypeFlashCall.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v55/types/auth.ExportedAuthorization.md b/old_docs/API_docs_v55/types/auth.ExportedAuthorization.md new file mode 100644 index 00000000..ccb38d60 --- /dev/null +++ b/old_docs/API_docs_v55/types/auth.ExportedAuthorization.md @@ -0,0 +1,22 @@ +--- +title: auth.ExportedAuthorization +description: constructors and methods of type auth.ExportedAuthorization +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.ExportedAuthorization +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.exportedAuthorization](../constructors/auth.exportedAuthorization.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->exportAuthorization](../methods/auth.exportAuthorization.md) + + + diff --git a/old_docs/API_docs_v55/types/auth.PasswordRecovery.md b/old_docs/API_docs_v55/types/auth.PasswordRecovery.md new file mode 100644 index 00000000..c1c18992 --- /dev/null +++ b/old_docs/API_docs_v55/types/auth.PasswordRecovery.md @@ -0,0 +1,22 @@ +--- +title: auth.PasswordRecovery +description: constructors and methods of type auth.PasswordRecovery +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.PasswordRecovery +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.passwordRecovery](../constructors/auth.passwordRecovery.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->requestPasswordRecovery](../methods/auth.requestPasswordRecovery.md) + + + diff --git a/old_docs/API_docs_v55/types/auth.SentCode.md b/old_docs/API_docs_v55/types/auth.SentCode.md new file mode 100644 index 00000000..4da7440e --- /dev/null +++ b/old_docs/API_docs_v55/types/auth.SentCode.md @@ -0,0 +1,28 @@ +--- +title: auth.SentCode +description: constructors and methods of type auth.SentCode +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.SentCode +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.sentCode](../constructors/auth.sentCode.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->sendCode](../methods/auth.sendCode.md) + +[$MadelineProto->account->sendChangePhoneCode](../methods/account.sendChangePhoneCode.md) + +[$MadelineProto->auth->resendCode](../methods/auth.resendCode.md) + +[$MadelineProto->account->sendConfirmPhoneCode](../methods/account.sendConfirmPhoneCode.md) + + + diff --git a/old_docs/API_docs_v55/types/auth.SentCodeType.md b/old_docs/API_docs_v55/types/auth.SentCodeType.md new file mode 100644 index 00000000..7c7c534e --- /dev/null +++ b/old_docs/API_docs_v55/types/auth.SentCodeType.md @@ -0,0 +1,26 @@ +--- +title: auth.SentCodeType +description: constructors and methods of type auth.SentCodeType +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.SentCodeType +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.sentCodeTypeApp](../constructors/auth.sentCodeTypeApp.md) + +[auth.sentCodeTypeSms](../constructors/auth.sentCodeTypeSms.md) + +[auth.sentCodeTypeCall](../constructors/auth.sentCodeTypeCall.md) + +[auth.sentCodeTypeFlashCall](../constructors/auth.sentCodeTypeFlashCall.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v55/types/auth_Authorization.md b/old_docs/API_docs_v55/types/auth_Authorization.md deleted file mode 100644 index 5a34fc2d..00000000 --- a/old_docs/API_docs_v55/types/auth_Authorization.md +++ /dev/null @@ -1,32 +0,0 @@ ---- -title: auth_Authorization -description: constructors and methods of type auth_Authorization -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_Authorization -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_authorization](../constructors/auth_authorization.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->signUp](../methods/auth_signUp.md) - -[$MadelineProto->auth->signIn](../methods/auth_signIn.md) - -[$MadelineProto->auth->importAuthorization](../methods/auth_importAuthorization.md) - -[$MadelineProto->auth->importBotAuthorization](../methods/auth_importBotAuthorization.md) - -[$MadelineProto->auth->checkPassword](../methods/auth_checkPassword.md) - -[$MadelineProto->auth->recoverPassword](../methods/auth_recoverPassword.md) - - - diff --git a/old_docs/API_docs_v55/types/auth_CheckedPhone.md b/old_docs/API_docs_v55/types/auth_CheckedPhone.md deleted file mode 100644 index e9b0def4..00000000 --- a/old_docs/API_docs_v55/types/auth_CheckedPhone.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: auth_CheckedPhone -description: constructors and methods of type auth_CheckedPhone -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_CheckedPhone -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_checkedPhone](../constructors/auth_checkedPhone.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->checkPhone](../methods/auth_checkPhone.md) - - - diff --git a/old_docs/API_docs_v55/types/auth_CodeType.md b/old_docs/API_docs_v55/types/auth_CodeType.md deleted file mode 100644 index 3cd9a7b7..00000000 --- a/old_docs/API_docs_v55/types/auth_CodeType.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: auth_CodeType -description: constructors and methods of type auth_CodeType -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_CodeType -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_codeTypeSms](../constructors/auth_codeTypeSms.md) - -[auth\_codeTypeCall](../constructors/auth_codeTypeCall.md) - -[auth\_codeTypeFlashCall](../constructors/auth_codeTypeFlashCall.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v55/types/auth_ExportedAuthorization.md b/old_docs/API_docs_v55/types/auth_ExportedAuthorization.md deleted file mode 100644 index 69e5c42e..00000000 --- a/old_docs/API_docs_v55/types/auth_ExportedAuthorization.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: auth_ExportedAuthorization -description: constructors and methods of type auth_ExportedAuthorization -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_ExportedAuthorization -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_exportedAuthorization](../constructors/auth_exportedAuthorization.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->exportAuthorization](../methods/auth_exportAuthorization.md) - - - diff --git a/old_docs/API_docs_v55/types/auth_PasswordRecovery.md b/old_docs/API_docs_v55/types/auth_PasswordRecovery.md deleted file mode 100644 index 4962bf42..00000000 --- a/old_docs/API_docs_v55/types/auth_PasswordRecovery.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: auth_PasswordRecovery -description: constructors and methods of type auth_PasswordRecovery -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_PasswordRecovery -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_passwordRecovery](../constructors/auth_passwordRecovery.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->requestPasswordRecovery](../methods/auth_requestPasswordRecovery.md) - - - diff --git a/old_docs/API_docs_v55/types/auth_SentCode.md b/old_docs/API_docs_v55/types/auth_SentCode.md deleted file mode 100644 index a9f44215..00000000 --- a/old_docs/API_docs_v55/types/auth_SentCode.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: auth_SentCode -description: constructors and methods of type auth_SentCode -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_SentCode -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_sentCode](../constructors/auth_sentCode.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->sendCode](../methods/auth_sendCode.md) - -[$MadelineProto->account->sendChangePhoneCode](../methods/account_sendChangePhoneCode.md) - -[$MadelineProto->auth->resendCode](../methods/auth_resendCode.md) - -[$MadelineProto->account->sendConfirmPhoneCode](../methods/account_sendConfirmPhoneCode.md) - - - diff --git a/old_docs/API_docs_v55/types/auth_SentCodeType.md b/old_docs/API_docs_v55/types/auth_SentCodeType.md deleted file mode 100644 index 8dfcb93b..00000000 --- a/old_docs/API_docs_v55/types/auth_SentCodeType.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: auth_SentCodeType -description: constructors and methods of type auth_SentCodeType -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_SentCodeType -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_sentCodeTypeApp](../constructors/auth_sentCodeTypeApp.md) - -[auth\_sentCodeTypeSms](../constructors/auth_sentCodeTypeSms.md) - -[auth\_sentCodeTypeCall](../constructors/auth_sentCodeTypeCall.md) - -[auth\_sentCodeTypeFlashCall](../constructors/auth_sentCodeTypeFlashCall.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v55/types/channels.ChannelParticipant.md b/old_docs/API_docs_v55/types/channels.ChannelParticipant.md new file mode 100644 index 00000000..8dc7f7e6 --- /dev/null +++ b/old_docs/API_docs_v55/types/channels.ChannelParticipant.md @@ -0,0 +1,22 @@ +--- +title: channels.ChannelParticipant +description: constructors and methods of type channels.ChannelParticipant +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: channels.ChannelParticipant +[Back to types index](index.md) + + + +### Possible values (constructors): + +[channels.channelParticipant](../constructors/channels.channelParticipant.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->channels->getParticipant](../methods/channels.getParticipant.md) + + + diff --git a/old_docs/API_docs_v55/types/channels.ChannelParticipants.md b/old_docs/API_docs_v55/types/channels.ChannelParticipants.md new file mode 100644 index 00000000..996ab6a6 --- /dev/null +++ b/old_docs/API_docs_v55/types/channels.ChannelParticipants.md @@ -0,0 +1,22 @@ +--- +title: channels.ChannelParticipants +description: constructors and methods of type channels.ChannelParticipants +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: channels.ChannelParticipants +[Back to types index](index.md) + + + +### Possible values (constructors): + +[channels.channelParticipants](../constructors/channels.channelParticipants.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->channels->getParticipants](../methods/channels.getParticipants.md) + + + diff --git a/old_docs/API_docs_v55/types/channels_ChannelParticipant.md b/old_docs/API_docs_v55/types/channels_ChannelParticipant.md deleted file mode 100644 index 3d4667c3..00000000 --- a/old_docs/API_docs_v55/types/channels_ChannelParticipant.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: channels_ChannelParticipant -description: constructors and methods of type channels_ChannelParticipant -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: channels\_ChannelParticipant -[Back to types index](index.md) - - - -### Possible values (constructors): - -[channels\_channelParticipant](../constructors/channels_channelParticipant.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->channels->getParticipant](../methods/channels_getParticipant.md) - - - diff --git a/old_docs/API_docs_v55/types/channels_ChannelParticipants.md b/old_docs/API_docs_v55/types/channels_ChannelParticipants.md deleted file mode 100644 index 0500c2cb..00000000 --- a/old_docs/API_docs_v55/types/channels_ChannelParticipants.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: channels_ChannelParticipants -description: constructors and methods of type channels_ChannelParticipants -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: channels\_ChannelParticipants -[Back to types index](index.md) - - - -### Possible values (constructors): - -[channels\_channelParticipants](../constructors/channels_channelParticipants.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->channels->getParticipants](../methods/channels_getParticipants.md) - - - diff --git a/old_docs/API_docs_v55/types/contacts.Blocked.md b/old_docs/API_docs_v55/types/contacts.Blocked.md new file mode 100644 index 00000000..cb2af80f --- /dev/null +++ b/old_docs/API_docs_v55/types/contacts.Blocked.md @@ -0,0 +1,24 @@ +--- +title: contacts.Blocked +description: constructors and methods of type contacts.Blocked +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Blocked +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.blocked](../constructors/contacts.blocked.md) + +[contacts.blockedSlice](../constructors/contacts.blockedSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getBlocked](../methods/contacts.getBlocked.md) + + + diff --git a/old_docs/API_docs_v55/types/contacts.Contacts.md b/old_docs/API_docs_v55/types/contacts.Contacts.md new file mode 100644 index 00000000..5f695d8e --- /dev/null +++ b/old_docs/API_docs_v55/types/contacts.Contacts.md @@ -0,0 +1,24 @@ +--- +title: contacts.Contacts +description: constructors and methods of type contacts.Contacts +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Contacts +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.contactsNotModified](../constructors/contacts.contactsNotModified.md) + +[contacts.contacts](../constructors/contacts.contacts.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getContacts](../methods/contacts.getContacts.md) + + + diff --git a/old_docs/API_docs_v55/types/contacts.Found.md b/old_docs/API_docs_v55/types/contacts.Found.md new file mode 100644 index 00000000..7df98927 --- /dev/null +++ b/old_docs/API_docs_v55/types/contacts.Found.md @@ -0,0 +1,22 @@ +--- +title: contacts.Found +description: constructors and methods of type contacts.Found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Found +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.found](../constructors/contacts.found.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->search](../methods/contacts.search.md) + + + diff --git a/old_docs/API_docs_v55/types/contacts.ImportedContacts.md b/old_docs/API_docs_v55/types/contacts.ImportedContacts.md new file mode 100644 index 00000000..16795bab --- /dev/null +++ b/old_docs/API_docs_v55/types/contacts.ImportedContacts.md @@ -0,0 +1,22 @@ +--- +title: contacts.ImportedContacts +description: constructors and methods of type contacts.ImportedContacts +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.ImportedContacts +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.importedContacts](../constructors/contacts.importedContacts.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->importContacts](../methods/contacts.importContacts.md) + + + diff --git a/old_docs/API_docs_v55/types/contacts.Link.md b/old_docs/API_docs_v55/types/contacts.Link.md new file mode 100644 index 00000000..eb9da683 --- /dev/null +++ b/old_docs/API_docs_v55/types/contacts.Link.md @@ -0,0 +1,22 @@ +--- +title: contacts.Link +description: constructors and methods of type contacts.Link +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Link +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.link](../constructors/contacts.link.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->deleteContact](../methods/contacts.deleteContact.md) + + + diff --git a/old_docs/API_docs_v55/types/contacts.ResolvedPeer.md b/old_docs/API_docs_v55/types/contacts.ResolvedPeer.md new file mode 100644 index 00000000..13630d54 --- /dev/null +++ b/old_docs/API_docs_v55/types/contacts.ResolvedPeer.md @@ -0,0 +1,22 @@ +--- +title: contacts.ResolvedPeer +description: constructors and methods of type contacts.ResolvedPeer +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.ResolvedPeer +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.resolvedPeer](../constructors/contacts.resolvedPeer.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->resolveUsername](../methods/contacts.resolveUsername.md) + + + diff --git a/old_docs/API_docs_v55/types/contacts.TopPeers.md b/old_docs/API_docs_v55/types/contacts.TopPeers.md new file mode 100644 index 00000000..b8107616 --- /dev/null +++ b/old_docs/API_docs_v55/types/contacts.TopPeers.md @@ -0,0 +1,24 @@ +--- +title: contacts.TopPeers +description: constructors and methods of type contacts.TopPeers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.TopPeers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.topPeersNotModified](../constructors/contacts.topPeersNotModified.md) + +[contacts.topPeers](../constructors/contacts.topPeers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getTopPeers](../methods/contacts.getTopPeers.md) + + + diff --git a/old_docs/API_docs_v55/types/contacts_Blocked.md b/old_docs/API_docs_v55/types/contacts_Blocked.md deleted file mode 100644 index 3e1f02eb..00000000 --- a/old_docs/API_docs_v55/types/contacts_Blocked.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: contacts_Blocked -description: constructors and methods of type contacts_Blocked -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Blocked -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_blocked](../constructors/contacts_blocked.md) - -[contacts\_blockedSlice](../constructors/contacts_blockedSlice.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->getBlocked](../methods/contacts_getBlocked.md) - - - diff --git a/old_docs/API_docs_v55/types/contacts_Contacts.md b/old_docs/API_docs_v55/types/contacts_Contacts.md deleted file mode 100644 index 5d6c9506..00000000 --- a/old_docs/API_docs_v55/types/contacts_Contacts.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: contacts_Contacts -description: constructors and methods of type contacts_Contacts -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Contacts -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_contactsNotModified](../constructors/contacts_contactsNotModified.md) - -[contacts\_contacts](../constructors/contacts_contacts.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->getContacts](../methods/contacts_getContacts.md) - - - diff --git a/old_docs/API_docs_v55/types/contacts_Found.md b/old_docs/API_docs_v55/types/contacts_Found.md deleted file mode 100644 index 806101cf..00000000 --- a/old_docs/API_docs_v55/types/contacts_Found.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_Found -description: constructors and methods of type contacts_Found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Found -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_found](../constructors/contacts_found.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->search](../methods/contacts_search.md) - - - diff --git a/old_docs/API_docs_v55/types/contacts_ImportedContacts.md b/old_docs/API_docs_v55/types/contacts_ImportedContacts.md deleted file mode 100644 index faf7e615..00000000 --- a/old_docs/API_docs_v55/types/contacts_ImportedContacts.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_ImportedContacts -description: constructors and methods of type contacts_ImportedContacts -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_ImportedContacts -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_importedContacts](../constructors/contacts_importedContacts.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->importContacts](../methods/contacts_importContacts.md) - - - diff --git a/old_docs/API_docs_v55/types/contacts_Link.md b/old_docs/API_docs_v55/types/contacts_Link.md deleted file mode 100644 index 01556606..00000000 --- a/old_docs/API_docs_v55/types/contacts_Link.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_Link -description: constructors and methods of type contacts_Link -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Link -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_link](../constructors/contacts_link.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->deleteContact](../methods/contacts_deleteContact.md) - - - diff --git a/old_docs/API_docs_v55/types/contacts_ResolvedPeer.md b/old_docs/API_docs_v55/types/contacts_ResolvedPeer.md deleted file mode 100644 index cf107f7c..00000000 --- a/old_docs/API_docs_v55/types/contacts_ResolvedPeer.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_ResolvedPeer -description: constructors and methods of type contacts_ResolvedPeer -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_ResolvedPeer -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_resolvedPeer](../constructors/contacts_resolvedPeer.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->resolveUsername](../methods/contacts_resolveUsername.md) - - - diff --git a/old_docs/API_docs_v55/types/contacts_TopPeers.md b/old_docs/API_docs_v55/types/contacts_TopPeers.md deleted file mode 100644 index fe4255c7..00000000 --- a/old_docs/API_docs_v55/types/contacts_TopPeers.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: contacts_TopPeers -description: constructors and methods of type contacts_TopPeers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_TopPeers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_topPeersNotModified](../constructors/contacts_topPeersNotModified.md) - -[contacts\_topPeers](../constructors/contacts_topPeers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->getTopPeers](../methods/contacts_getTopPeers.md) - - - diff --git a/old_docs/API_docs_v55/types/help.AppChangelog.md b/old_docs/API_docs_v55/types/help.AppChangelog.md new file mode 100644 index 00000000..71584fdc --- /dev/null +++ b/old_docs/API_docs_v55/types/help.AppChangelog.md @@ -0,0 +1,24 @@ +--- +title: help.AppChangelog +description: constructors and methods of type help.AppChangelog +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.AppChangelog +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.appChangelogEmpty](../constructors/help.appChangelogEmpty.md) + +[help.appChangelog](../constructors/help.appChangelog.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getAppChangelog](../methods/help.getAppChangelog.md) + + + diff --git a/old_docs/API_docs_v55/types/help.AppUpdate.md b/old_docs/API_docs_v55/types/help.AppUpdate.md new file mode 100644 index 00000000..285ec2b7 --- /dev/null +++ b/old_docs/API_docs_v55/types/help.AppUpdate.md @@ -0,0 +1,24 @@ +--- +title: help.AppUpdate +description: constructors and methods of type help.AppUpdate +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.AppUpdate +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.appUpdate](../constructors/help.appUpdate.md) + +[help.noAppUpdate](../constructors/help.noAppUpdate.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getAppUpdate](../methods/help.getAppUpdate.md) + + + diff --git a/old_docs/API_docs_v55/types/help.InviteText.md b/old_docs/API_docs_v55/types/help.InviteText.md new file mode 100644 index 00000000..43293f46 --- /dev/null +++ b/old_docs/API_docs_v55/types/help.InviteText.md @@ -0,0 +1,22 @@ +--- +title: help.InviteText +description: constructors and methods of type help.InviteText +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.InviteText +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.inviteText](../constructors/help.inviteText.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getInviteText](../methods/help.getInviteText.md) + + + diff --git a/old_docs/API_docs_v55/types/help.Support.md b/old_docs/API_docs_v55/types/help.Support.md new file mode 100644 index 00000000..42c20483 --- /dev/null +++ b/old_docs/API_docs_v55/types/help.Support.md @@ -0,0 +1,22 @@ +--- +title: help.Support +description: constructors and methods of type help.Support +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.Support +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.support](../constructors/help.support.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getSupport](../methods/help.getSupport.md) + + + diff --git a/old_docs/API_docs_v55/types/help.TermsOfService.md b/old_docs/API_docs_v55/types/help.TermsOfService.md new file mode 100644 index 00000000..6c29d2e6 --- /dev/null +++ b/old_docs/API_docs_v55/types/help.TermsOfService.md @@ -0,0 +1,22 @@ +--- +title: help.TermsOfService +description: constructors and methods of type help.TermsOfService +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.TermsOfService +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.termsOfService](../constructors/help.termsOfService.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getTermsOfService](../methods/help.getTermsOfService.md) + + + diff --git a/old_docs/API_docs_v55/types/help_AppChangelog.md b/old_docs/API_docs_v55/types/help_AppChangelog.md deleted file mode 100644 index 350cb644..00000000 --- a/old_docs/API_docs_v55/types/help_AppChangelog.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: help_AppChangelog -description: constructors and methods of type help_AppChangelog -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_AppChangelog -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_appChangelogEmpty](../constructors/help_appChangelogEmpty.md) - -[help\_appChangelog](../constructors/help_appChangelog.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getAppChangelog](../methods/help_getAppChangelog.md) - - - diff --git a/old_docs/API_docs_v55/types/help_AppUpdate.md b/old_docs/API_docs_v55/types/help_AppUpdate.md deleted file mode 100644 index 1f296a70..00000000 --- a/old_docs/API_docs_v55/types/help_AppUpdate.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: help_AppUpdate -description: constructors and methods of type help_AppUpdate -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_AppUpdate -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_appUpdate](../constructors/help_appUpdate.md) - -[help\_noAppUpdate](../constructors/help_noAppUpdate.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getAppUpdate](../methods/help_getAppUpdate.md) - - - diff --git a/old_docs/API_docs_v55/types/help_InviteText.md b/old_docs/API_docs_v55/types/help_InviteText.md deleted file mode 100644 index 018d35bf..00000000 --- a/old_docs/API_docs_v55/types/help_InviteText.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: help_InviteText -description: constructors and methods of type help_InviteText -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_InviteText -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_inviteText](../constructors/help_inviteText.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getInviteText](../methods/help_getInviteText.md) - - - diff --git a/old_docs/API_docs_v55/types/help_Support.md b/old_docs/API_docs_v55/types/help_Support.md deleted file mode 100644 index 26de447b..00000000 --- a/old_docs/API_docs_v55/types/help_Support.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: help_Support -description: constructors and methods of type help_Support -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_Support -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_support](../constructors/help_support.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getSupport](../methods/help_getSupport.md) - - - diff --git a/old_docs/API_docs_v55/types/help_TermsOfService.md b/old_docs/API_docs_v55/types/help_TermsOfService.md deleted file mode 100644 index 84a05df3..00000000 --- a/old_docs/API_docs_v55/types/help_TermsOfService.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: help_TermsOfService -description: constructors and methods of type help_TermsOfService -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_TermsOfService -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_termsOfService](../constructors/help_termsOfService.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getTermsOfService](../methods/help_getTermsOfService.md) - - - diff --git a/old_docs/API_docs_v55/types/messages.AffectedHistory.md b/old_docs/API_docs_v55/types/messages.AffectedHistory.md new file mode 100644 index 00000000..f0411b4d --- /dev/null +++ b/old_docs/API_docs_v55/types/messages.AffectedHistory.md @@ -0,0 +1,24 @@ +--- +title: messages.AffectedHistory +description: constructors and methods of type messages.AffectedHistory +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.AffectedHistory +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.affectedHistory](../constructors/messages.affectedHistory.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->deleteHistory](../methods/messages.deleteHistory.md) + +[$MadelineProto->channels->deleteUserHistory](../methods/channels.deleteUserHistory.md) + + + diff --git a/old_docs/API_docs_v55/types/messages.AffectedMessages.md b/old_docs/API_docs_v55/types/messages.AffectedMessages.md new file mode 100644 index 00000000..a9159de3 --- /dev/null +++ b/old_docs/API_docs_v55/types/messages.AffectedMessages.md @@ -0,0 +1,28 @@ +--- +title: messages.AffectedMessages +description: constructors and methods of type messages.AffectedMessages +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.AffectedMessages +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.affectedMessages](../constructors/messages.affectedMessages.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->readHistory](../methods/messages.readHistory.md) + +[$MadelineProto->messages->deleteMessages](../methods/messages.deleteMessages.md) + +[$MadelineProto->messages->readMessageContents](../methods/messages.readMessageContents.md) + +[$MadelineProto->channels->deleteMessages](../methods/channels.deleteMessages.md) + + + diff --git a/old_docs/API_docs_v55/types/messages.AllStickers.md b/old_docs/API_docs_v55/types/messages.AllStickers.md new file mode 100644 index 00000000..5ece92c0 --- /dev/null +++ b/old_docs/API_docs_v55/types/messages.AllStickers.md @@ -0,0 +1,24 @@ +--- +title: messages.AllStickers +description: constructors and methods of type messages.AllStickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.AllStickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.allStickersNotModified](../constructors/messages.allStickersNotModified.md) + +[messages.allStickers](../constructors/messages.allStickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getAllStickers](../methods/messages.getAllStickers.md) + + + diff --git a/old_docs/API_docs_v55/types/messages.ArchivedStickers.md b/old_docs/API_docs_v55/types/messages.ArchivedStickers.md new file mode 100644 index 00000000..3e017c5d --- /dev/null +++ b/old_docs/API_docs_v55/types/messages.ArchivedStickers.md @@ -0,0 +1,22 @@ +--- +title: messages.ArchivedStickers +description: constructors and methods of type messages.ArchivedStickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.ArchivedStickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.archivedStickers](../constructors/messages.archivedStickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getArchivedStickers](../methods/messages.getArchivedStickers.md) + + + diff --git a/old_docs/API_docs_v55/types/messages.BotCallbackAnswer.md b/old_docs/API_docs_v55/types/messages.BotCallbackAnswer.md new file mode 100644 index 00000000..ef30fbfb --- /dev/null +++ b/old_docs/API_docs_v55/types/messages.BotCallbackAnswer.md @@ -0,0 +1,22 @@ +--- +title: messages.BotCallbackAnswer +description: constructors and methods of type messages.BotCallbackAnswer +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.BotCallbackAnswer +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.botCallbackAnswer](../constructors/messages.botCallbackAnswer.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getBotCallbackAnswer](../methods/messages.getBotCallbackAnswer.md) + + + diff --git a/old_docs/API_docs_v55/types/messages.BotResults.md b/old_docs/API_docs_v55/types/messages.BotResults.md new file mode 100644 index 00000000..76ee2b99 --- /dev/null +++ b/old_docs/API_docs_v55/types/messages.BotResults.md @@ -0,0 +1,22 @@ +--- +title: messages.BotResults +description: constructors and methods of type messages.BotResults +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.BotResults +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.botResults](../constructors/messages.botResults.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getInlineBotResults](../methods/messages.getInlineBotResults.md) + + + diff --git a/old_docs/API_docs_v55/types/messages.ChatFull.md b/old_docs/API_docs_v55/types/messages.ChatFull.md new file mode 100644 index 00000000..3ad38748 --- /dev/null +++ b/old_docs/API_docs_v55/types/messages.ChatFull.md @@ -0,0 +1,24 @@ +--- +title: messages.ChatFull +description: constructors and methods of type messages.ChatFull +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.ChatFull +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.chatFull](../constructors/messages.chatFull.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getFullChat](../methods/messages.getFullChat.md) + +[$MadelineProto->channels->getFullChannel](../methods/channels.getFullChannel.md) + + + diff --git a/old_docs/API_docs_v55/types/messages.Chats.md b/old_docs/API_docs_v55/types/messages.Chats.md new file mode 100644 index 00000000..c2bfab5d --- /dev/null +++ b/old_docs/API_docs_v55/types/messages.Chats.md @@ -0,0 +1,24 @@ +--- +title: messages.Chats +description: constructors and methods of type messages.Chats +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Chats +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.chats](../constructors/messages.chats.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getChats](../methods/messages.getChats.md) + +[$MadelineProto->channels->getChannels](../methods/channels.getChannels.md) + + + diff --git a/old_docs/API_docs_v55/types/messages.DhConfig.md b/old_docs/API_docs_v55/types/messages.DhConfig.md new file mode 100644 index 00000000..77188ab7 --- /dev/null +++ b/old_docs/API_docs_v55/types/messages.DhConfig.md @@ -0,0 +1,24 @@ +--- +title: messages.DhConfig +description: constructors and methods of type messages.DhConfig +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.DhConfig +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.dhConfigNotModified](../constructors/messages.dhConfigNotModified.md) + +[messages.dhConfig](../constructors/messages.dhConfig.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getDhConfig](../methods/messages.getDhConfig.md) + + + diff --git a/old_docs/API_docs_v55/types/messages.Dialogs.md b/old_docs/API_docs_v55/types/messages.Dialogs.md new file mode 100644 index 00000000..1a57d535 --- /dev/null +++ b/old_docs/API_docs_v55/types/messages.Dialogs.md @@ -0,0 +1,24 @@ +--- +title: messages.Dialogs +description: constructors and methods of type messages.Dialogs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Dialogs +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.dialogs](../constructors/messages.dialogs.md) + +[messages.dialogsSlice](../constructors/messages.dialogsSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getDialogs](../methods/messages.getDialogs.md) + + + diff --git a/old_docs/API_docs_v55/types/messages.FeaturedStickers.md b/old_docs/API_docs_v55/types/messages.FeaturedStickers.md new file mode 100644 index 00000000..06ed87bb --- /dev/null +++ b/old_docs/API_docs_v55/types/messages.FeaturedStickers.md @@ -0,0 +1,24 @@ +--- +title: messages.FeaturedStickers +description: constructors and methods of type messages.FeaturedStickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.FeaturedStickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.featuredStickersNotModified](../constructors/messages.featuredStickersNotModified.md) + +[messages.featuredStickers](../constructors/messages.featuredStickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getFeaturedStickers](../methods/messages.getFeaturedStickers.md) + + + diff --git a/old_docs/API_docs_v55/types/messages.FoundGifs.md b/old_docs/API_docs_v55/types/messages.FoundGifs.md new file mode 100644 index 00000000..b5176a5d --- /dev/null +++ b/old_docs/API_docs_v55/types/messages.FoundGifs.md @@ -0,0 +1,22 @@ +--- +title: messages.FoundGifs +description: constructors and methods of type messages.FoundGifs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.FoundGifs +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.foundGifs](../constructors/messages.foundGifs.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->searchGifs](../methods/messages.searchGifs.md) + + + diff --git a/old_docs/API_docs_v55/types/messages.MessageEditData.md b/old_docs/API_docs_v55/types/messages.MessageEditData.md new file mode 100644 index 00000000..feb572f1 --- /dev/null +++ b/old_docs/API_docs_v55/types/messages.MessageEditData.md @@ -0,0 +1,22 @@ +--- +title: messages.MessageEditData +description: constructors and methods of type messages.MessageEditData +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.MessageEditData +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.messageEditData](../constructors/messages.messageEditData.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getMessageEditData](../methods/messages.getMessageEditData.md) + + + diff --git a/old_docs/API_docs_v55/types/messages.Messages.md b/old_docs/API_docs_v55/types/messages.Messages.md new file mode 100644 index 00000000..90cf4a43 --- /dev/null +++ b/old_docs/API_docs_v55/types/messages.Messages.md @@ -0,0 +1,34 @@ +--- +title: messages.Messages +description: constructors and methods of type messages.Messages +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Messages +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.messages](../constructors/messages.messages.md) + +[messages.messagesSlice](../constructors/messages.messagesSlice.md) + +[messages.channelMessages](../constructors/messages.channelMessages.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getMessages](../methods/messages.getMessages.md) + +[$MadelineProto->messages->getHistory](../methods/messages.getHistory.md) + +[$MadelineProto->messages->search](../methods/messages.search.md) + +[$MadelineProto->channels->getMessages](../methods/channels.getMessages.md) + +[$MadelineProto->messages->searchGlobal](../methods/messages.searchGlobal.md) + + + diff --git a/old_docs/API_docs_v55/types/messages.PeerDialogs.md b/old_docs/API_docs_v55/types/messages.PeerDialogs.md new file mode 100644 index 00000000..fdebf58e --- /dev/null +++ b/old_docs/API_docs_v55/types/messages.PeerDialogs.md @@ -0,0 +1,22 @@ +--- +title: messages.PeerDialogs +description: constructors and methods of type messages.PeerDialogs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.PeerDialogs +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.peerDialogs](../constructors/messages.peerDialogs.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getPeerDialogs](../methods/messages.getPeerDialogs.md) + + + diff --git a/old_docs/API_docs_v55/types/messages.RecentStickers.md b/old_docs/API_docs_v55/types/messages.RecentStickers.md new file mode 100644 index 00000000..e5c49b92 --- /dev/null +++ b/old_docs/API_docs_v55/types/messages.RecentStickers.md @@ -0,0 +1,24 @@ +--- +title: messages.RecentStickers +description: constructors and methods of type messages.RecentStickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.RecentStickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.recentStickersNotModified](../constructors/messages.recentStickersNotModified.md) + +[messages.recentStickers](../constructors/messages.recentStickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getRecentStickers](../methods/messages.getRecentStickers.md) + + + diff --git a/old_docs/API_docs_v55/types/messages.SavedGifs.md b/old_docs/API_docs_v55/types/messages.SavedGifs.md new file mode 100644 index 00000000..99844c98 --- /dev/null +++ b/old_docs/API_docs_v55/types/messages.SavedGifs.md @@ -0,0 +1,24 @@ +--- +title: messages.SavedGifs +description: constructors and methods of type messages.SavedGifs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.SavedGifs +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.savedGifsNotModified](../constructors/messages.savedGifsNotModified.md) + +[messages.savedGifs](../constructors/messages.savedGifs.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getSavedGifs](../methods/messages.getSavedGifs.md) + + + diff --git a/old_docs/API_docs_v55/types/messages.SentEncryptedMessage.md b/old_docs/API_docs_v55/types/messages.SentEncryptedMessage.md new file mode 100644 index 00000000..b6d05b1f --- /dev/null +++ b/old_docs/API_docs_v55/types/messages.SentEncryptedMessage.md @@ -0,0 +1,28 @@ +--- +title: messages.SentEncryptedMessage +description: constructors and methods of type messages.SentEncryptedMessage +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.SentEncryptedMessage +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.sentEncryptedMessage](../constructors/messages.sentEncryptedMessage.md) + +[messages.sentEncryptedFile](../constructors/messages.sentEncryptedFile.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->sendEncrypted](../methods/messages.sendEncrypted.md) + +[$MadelineProto->messages->sendEncryptedFile](../methods/messages.sendEncryptedFile.md) + +[$MadelineProto->messages->sendEncryptedService](../methods/messages.sendEncryptedService.md) + + + diff --git a/old_docs/API_docs_v55/types/messages.StickerSet.md b/old_docs/API_docs_v55/types/messages.StickerSet.md new file mode 100644 index 00000000..8de24a76 --- /dev/null +++ b/old_docs/API_docs_v55/types/messages.StickerSet.md @@ -0,0 +1,22 @@ +--- +title: messages.StickerSet +description: constructors and methods of type messages.StickerSet +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.StickerSet +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.stickerSet](../constructors/messages.stickerSet.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getStickerSet](../methods/messages.getStickerSet.md) + + + diff --git a/old_docs/API_docs_v55/types/messages.StickerSetInstallResult.md b/old_docs/API_docs_v55/types/messages.StickerSetInstallResult.md new file mode 100644 index 00000000..9e09c293 --- /dev/null +++ b/old_docs/API_docs_v55/types/messages.StickerSetInstallResult.md @@ -0,0 +1,24 @@ +--- +title: messages.StickerSetInstallResult +description: constructors and methods of type messages.StickerSetInstallResult +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.StickerSetInstallResult +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.stickerSetInstallResultSuccess](../constructors/messages.stickerSetInstallResultSuccess.md) + +[messages.stickerSetInstallResultArchive](../constructors/messages.stickerSetInstallResultArchive.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->installStickerSet](../methods/messages.installStickerSet.md) + + + diff --git a/old_docs/API_docs_v55/types/messages.Stickers.md b/old_docs/API_docs_v55/types/messages.Stickers.md new file mode 100644 index 00000000..43bddf06 --- /dev/null +++ b/old_docs/API_docs_v55/types/messages.Stickers.md @@ -0,0 +1,24 @@ +--- +title: messages.Stickers +description: constructors and methods of type messages.Stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Stickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.stickersNotModified](../constructors/messages.stickersNotModified.md) + +[messages.stickers](../constructors/messages.stickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getStickers](../methods/messages.getStickers.md) + + + diff --git a/old_docs/API_docs_v55/types/messages_AffectedHistory.md b/old_docs/API_docs_v55/types/messages_AffectedHistory.md deleted file mode 100644 index a2d75894..00000000 --- a/old_docs/API_docs_v55/types/messages_AffectedHistory.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_AffectedHistory -description: constructors and methods of type messages_AffectedHistory -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_AffectedHistory -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_affectedHistory](../constructors/messages_affectedHistory.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->deleteHistory](../methods/messages_deleteHistory.md) - -[$MadelineProto->channels->deleteUserHistory](../methods/channels_deleteUserHistory.md) - - - diff --git a/old_docs/API_docs_v55/types/messages_AffectedMessages.md b/old_docs/API_docs_v55/types/messages_AffectedMessages.md deleted file mode 100644 index dcbea721..00000000 --- a/old_docs/API_docs_v55/types/messages_AffectedMessages.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: messages_AffectedMessages -description: constructors and methods of type messages_AffectedMessages -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_AffectedMessages -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_affectedMessages](../constructors/messages_affectedMessages.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->readHistory](../methods/messages_readHistory.md) - -[$MadelineProto->messages->deleteMessages](../methods/messages_deleteMessages.md) - -[$MadelineProto->messages->readMessageContents](../methods/messages_readMessageContents.md) - -[$MadelineProto->channels->deleteMessages](../methods/channels_deleteMessages.md) - - - diff --git a/old_docs/API_docs_v55/types/messages_AllStickers.md b/old_docs/API_docs_v55/types/messages_AllStickers.md deleted file mode 100644 index 59d19759..00000000 --- a/old_docs/API_docs_v55/types/messages_AllStickers.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_AllStickers -description: constructors and methods of type messages_AllStickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_AllStickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_allStickersNotModified](../constructors/messages_allStickersNotModified.md) - -[messages\_allStickers](../constructors/messages_allStickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getAllStickers](../methods/messages_getAllStickers.md) - - - diff --git a/old_docs/API_docs_v55/types/messages_ArchivedStickers.md b/old_docs/API_docs_v55/types/messages_ArchivedStickers.md deleted file mode 100644 index c569675e..00000000 --- a/old_docs/API_docs_v55/types/messages_ArchivedStickers.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_ArchivedStickers -description: constructors and methods of type messages_ArchivedStickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_ArchivedStickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_archivedStickers](../constructors/messages_archivedStickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getArchivedStickers](../methods/messages_getArchivedStickers.md) - - - diff --git a/old_docs/API_docs_v55/types/messages_BotCallbackAnswer.md b/old_docs/API_docs_v55/types/messages_BotCallbackAnswer.md deleted file mode 100644 index f8d424d0..00000000 --- a/old_docs/API_docs_v55/types/messages_BotCallbackAnswer.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_BotCallbackAnswer -description: constructors and methods of type messages_BotCallbackAnswer -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_BotCallbackAnswer -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_botCallbackAnswer](../constructors/messages_botCallbackAnswer.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getBotCallbackAnswer](../methods/messages_getBotCallbackAnswer.md) - - - diff --git a/old_docs/API_docs_v55/types/messages_BotResults.md b/old_docs/API_docs_v55/types/messages_BotResults.md deleted file mode 100644 index c346c5bd..00000000 --- a/old_docs/API_docs_v55/types/messages_BotResults.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_BotResults -description: constructors and methods of type messages_BotResults -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_BotResults -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_botResults](../constructors/messages_botResults.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getInlineBotResults](../methods/messages_getInlineBotResults.md) - - - diff --git a/old_docs/API_docs_v55/types/messages_ChatFull.md b/old_docs/API_docs_v55/types/messages_ChatFull.md deleted file mode 100644 index e4add41e..00000000 --- a/old_docs/API_docs_v55/types/messages_ChatFull.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_ChatFull -description: constructors and methods of type messages_ChatFull -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_ChatFull -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_chatFull](../constructors/messages_chatFull.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getFullChat](../methods/messages_getFullChat.md) - -[$MadelineProto->channels->getFullChannel](../methods/channels_getFullChannel.md) - - - diff --git a/old_docs/API_docs_v55/types/messages_Chats.md b/old_docs/API_docs_v55/types/messages_Chats.md deleted file mode 100644 index 18b8c0d7..00000000 --- a/old_docs/API_docs_v55/types/messages_Chats.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_Chats -description: constructors and methods of type messages_Chats -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Chats -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_chats](../constructors/messages_chats.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getChats](../methods/messages_getChats.md) - -[$MadelineProto->channels->getChannels](../methods/channels_getChannels.md) - - - diff --git a/old_docs/API_docs_v55/types/messages_DhConfig.md b/old_docs/API_docs_v55/types/messages_DhConfig.md deleted file mode 100644 index ce237411..00000000 --- a/old_docs/API_docs_v55/types/messages_DhConfig.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_DhConfig -description: constructors and methods of type messages_DhConfig -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_DhConfig -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_dhConfigNotModified](../constructors/messages_dhConfigNotModified.md) - -[messages\_dhConfig](../constructors/messages_dhConfig.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getDhConfig](../methods/messages_getDhConfig.md) - - - diff --git a/old_docs/API_docs_v55/types/messages_Dialogs.md b/old_docs/API_docs_v55/types/messages_Dialogs.md deleted file mode 100644 index 733a42c5..00000000 --- a/old_docs/API_docs_v55/types/messages_Dialogs.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_Dialogs -description: constructors and methods of type messages_Dialogs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Dialogs -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_dialogs](../constructors/messages_dialogs.md) - -[messages\_dialogsSlice](../constructors/messages_dialogsSlice.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getDialogs](../methods/messages_getDialogs.md) - - - diff --git a/old_docs/API_docs_v55/types/messages_FeaturedStickers.md b/old_docs/API_docs_v55/types/messages_FeaturedStickers.md deleted file mode 100644 index 9b4c5002..00000000 --- a/old_docs/API_docs_v55/types/messages_FeaturedStickers.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_FeaturedStickers -description: constructors and methods of type messages_FeaturedStickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_FeaturedStickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_featuredStickersNotModified](../constructors/messages_featuredStickersNotModified.md) - -[messages\_featuredStickers](../constructors/messages_featuredStickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getFeaturedStickers](../methods/messages_getFeaturedStickers.md) - - - diff --git a/old_docs/API_docs_v55/types/messages_FoundGifs.md b/old_docs/API_docs_v55/types/messages_FoundGifs.md deleted file mode 100644 index 9dd088ba..00000000 --- a/old_docs/API_docs_v55/types/messages_FoundGifs.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_FoundGifs -description: constructors and methods of type messages_FoundGifs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_FoundGifs -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_foundGifs](../constructors/messages_foundGifs.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->searchGifs](../methods/messages_searchGifs.md) - - - diff --git a/old_docs/API_docs_v55/types/messages_MessageEditData.md b/old_docs/API_docs_v55/types/messages_MessageEditData.md deleted file mode 100644 index ed3c507a..00000000 --- a/old_docs/API_docs_v55/types/messages_MessageEditData.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_MessageEditData -description: constructors and methods of type messages_MessageEditData -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_MessageEditData -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_messageEditData](../constructors/messages_messageEditData.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getMessageEditData](../methods/messages_getMessageEditData.md) - - - diff --git a/old_docs/API_docs_v55/types/messages_Messages.md b/old_docs/API_docs_v55/types/messages_Messages.md deleted file mode 100644 index cf034a7a..00000000 --- a/old_docs/API_docs_v55/types/messages_Messages.md +++ /dev/null @@ -1,34 +0,0 @@ ---- -title: messages_Messages -description: constructors and methods of type messages_Messages -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Messages -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_messages](../constructors/messages_messages.md) - -[messages\_messagesSlice](../constructors/messages_messagesSlice.md) - -[messages\_channelMessages](../constructors/messages_channelMessages.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getMessages](../methods/messages_getMessages.md) - -[$MadelineProto->messages->getHistory](../methods/messages_getHistory.md) - -[$MadelineProto->messages->search](../methods/messages_search.md) - -[$MadelineProto->channels->getMessages](../methods/channels_getMessages.md) - -[$MadelineProto->messages->searchGlobal](../methods/messages_searchGlobal.md) - - - diff --git a/old_docs/API_docs_v55/types/messages_PeerDialogs.md b/old_docs/API_docs_v55/types/messages_PeerDialogs.md deleted file mode 100644 index a48bc1cb..00000000 --- a/old_docs/API_docs_v55/types/messages_PeerDialogs.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_PeerDialogs -description: constructors and methods of type messages_PeerDialogs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_PeerDialogs -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_peerDialogs](../constructors/messages_peerDialogs.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getPeerDialogs](../methods/messages_getPeerDialogs.md) - - - diff --git a/old_docs/API_docs_v55/types/messages_RecentStickers.md b/old_docs/API_docs_v55/types/messages_RecentStickers.md deleted file mode 100644 index 2c9db779..00000000 --- a/old_docs/API_docs_v55/types/messages_RecentStickers.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_RecentStickers -description: constructors and methods of type messages_RecentStickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_RecentStickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_recentStickersNotModified](../constructors/messages_recentStickersNotModified.md) - -[messages\_recentStickers](../constructors/messages_recentStickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getRecentStickers](../methods/messages_getRecentStickers.md) - - - diff --git a/old_docs/API_docs_v55/types/messages_SavedGifs.md b/old_docs/API_docs_v55/types/messages_SavedGifs.md deleted file mode 100644 index ffb000aa..00000000 --- a/old_docs/API_docs_v55/types/messages_SavedGifs.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_SavedGifs -description: constructors and methods of type messages_SavedGifs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_SavedGifs -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_savedGifsNotModified](../constructors/messages_savedGifsNotModified.md) - -[messages\_savedGifs](../constructors/messages_savedGifs.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getSavedGifs](../methods/messages_getSavedGifs.md) - - - diff --git a/old_docs/API_docs_v55/types/messages_SentEncryptedMessage.md b/old_docs/API_docs_v55/types/messages_SentEncryptedMessage.md deleted file mode 100644 index 9f7ab935..00000000 --- a/old_docs/API_docs_v55/types/messages_SentEncryptedMessage.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: messages_SentEncryptedMessage -description: constructors and methods of type messages_SentEncryptedMessage -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_SentEncryptedMessage -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_sentEncryptedMessage](../constructors/messages_sentEncryptedMessage.md) - -[messages\_sentEncryptedFile](../constructors/messages_sentEncryptedFile.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->sendEncrypted](../methods/messages_sendEncrypted.md) - -[$MadelineProto->messages->sendEncryptedFile](../methods/messages_sendEncryptedFile.md) - -[$MadelineProto->messages->sendEncryptedService](../methods/messages_sendEncryptedService.md) - - - diff --git a/old_docs/API_docs_v55/types/messages_StickerSet.md b/old_docs/API_docs_v55/types/messages_StickerSet.md deleted file mode 100644 index e04ee8bf..00000000 --- a/old_docs/API_docs_v55/types/messages_StickerSet.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_StickerSet -description: constructors and methods of type messages_StickerSet -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_StickerSet -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_stickerSet](../constructors/messages_stickerSet.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getStickerSet](../methods/messages_getStickerSet.md) - - - diff --git a/old_docs/API_docs_v55/types/messages_StickerSetInstallResult.md b/old_docs/API_docs_v55/types/messages_StickerSetInstallResult.md deleted file mode 100644 index bb62ec11..00000000 --- a/old_docs/API_docs_v55/types/messages_StickerSetInstallResult.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_StickerSetInstallResult -description: constructors and methods of type messages_StickerSetInstallResult -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_StickerSetInstallResult -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_stickerSetInstallResultSuccess](../constructors/messages_stickerSetInstallResultSuccess.md) - -[messages\_stickerSetInstallResultArchive](../constructors/messages_stickerSetInstallResultArchive.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->installStickerSet](../methods/messages_installStickerSet.md) - - - diff --git a/old_docs/API_docs_v55/types/messages_Stickers.md b/old_docs/API_docs_v55/types/messages_Stickers.md deleted file mode 100644 index cf53f57b..00000000 --- a/old_docs/API_docs_v55/types/messages_Stickers.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_Stickers -description: constructors and methods of type messages_Stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Stickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_stickersNotModified](../constructors/messages_stickersNotModified.md) - -[messages\_stickers](../constructors/messages_stickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getStickers](../methods/messages_getStickers.md) - - - diff --git a/old_docs/API_docs_v55/types/photos.Photo.md b/old_docs/API_docs_v55/types/photos.Photo.md new file mode 100644 index 00000000..d60f203c --- /dev/null +++ b/old_docs/API_docs_v55/types/photos.Photo.md @@ -0,0 +1,22 @@ +--- +title: photos.Photo +description: constructors and methods of type photos.Photo +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: photos.Photo +[Back to types index](index.md) + + + +### Possible values (constructors): + +[photos.photo](../constructors/photos.photo.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->photos->uploadProfilePhoto](../methods/photos.uploadProfilePhoto.md) + + + diff --git a/old_docs/API_docs_v55/types/photos.Photos.md b/old_docs/API_docs_v55/types/photos.Photos.md new file mode 100644 index 00000000..fff0e296 --- /dev/null +++ b/old_docs/API_docs_v55/types/photos.Photos.md @@ -0,0 +1,24 @@ +--- +title: photos.Photos +description: constructors and methods of type photos.Photos +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: photos.Photos +[Back to types index](index.md) + + + +### Possible values (constructors): + +[photos.photos](../constructors/photos.photos.md) + +[photos.photosSlice](../constructors/photos.photosSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->photos->getUserPhotos](../methods/photos.getUserPhotos.md) + + + diff --git a/old_docs/API_docs_v55/types/photos_Photo.md b/old_docs/API_docs_v55/types/photos_Photo.md deleted file mode 100644 index d11bbdef..00000000 --- a/old_docs/API_docs_v55/types/photos_Photo.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: photos_Photo -description: constructors and methods of type photos_Photo -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: photos\_Photo -[Back to types index](index.md) - - - -### Possible values (constructors): - -[photos\_photo](../constructors/photos_photo.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->photos->uploadProfilePhoto](../methods/photos_uploadProfilePhoto.md) - - - diff --git a/old_docs/API_docs_v55/types/photos_Photos.md b/old_docs/API_docs_v55/types/photos_Photos.md deleted file mode 100644 index 9875ad70..00000000 --- a/old_docs/API_docs_v55/types/photos_Photos.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: photos_Photos -description: constructors and methods of type photos_Photos -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: photos\_Photos -[Back to types index](index.md) - - - -### Possible values (constructors): - -[photos\_photos](../constructors/photos_photos.md) - -[photos\_photosSlice](../constructors/photos_photosSlice.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->photos->getUserPhotos](../methods/photos_getUserPhotos.md) - - - diff --git a/old_docs/API_docs_v55/types/storage.FileType.md b/old_docs/API_docs_v55/types/storage.FileType.md new file mode 100644 index 00000000..73dc8a92 --- /dev/null +++ b/old_docs/API_docs_v55/types/storage.FileType.md @@ -0,0 +1,38 @@ +--- +title: storage.FileType +description: constructors and methods of type storage.FileType +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: storage.FileType +[Back to types index](index.md) + + + +### Possible values (constructors): + +[storage.fileUnknown](../constructors/storage.fileUnknown.md) + +[storage.fileJpeg](../constructors/storage.fileJpeg.md) + +[storage.fileGif](../constructors/storage.fileGif.md) + +[storage.filePng](../constructors/storage.filePng.md) + +[storage.filePdf](../constructors/storage.filePdf.md) + +[storage.fileMp3](../constructors/storage.fileMp3.md) + +[storage.fileMov](../constructors/storage.fileMov.md) + +[storage.filePartial](../constructors/storage.filePartial.md) + +[storage.fileMp4](../constructors/storage.fileMp4.md) + +[storage.fileWebp](../constructors/storage.fileWebp.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v55/types/storage_FileType.md b/old_docs/API_docs_v55/types/storage_FileType.md deleted file mode 100644 index 076c52a4..00000000 --- a/old_docs/API_docs_v55/types/storage_FileType.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: storage_FileType -description: constructors and methods of type storage_FileType -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: storage\_FileType -[Back to types index](index.md) - - - -### Possible values (constructors): - -[storage\_fileUnknown](../constructors/storage_fileUnknown.md) - -[storage\_fileJpeg](../constructors/storage_fileJpeg.md) - -[storage\_fileGif](../constructors/storage_fileGif.md) - -[storage\_filePng](../constructors/storage_filePng.md) - -[storage\_filePdf](../constructors/storage_filePdf.md) - -[storage\_fileMp3](../constructors/storage_fileMp3.md) - -[storage\_fileMov](../constructors/storage_fileMov.md) - -[storage\_filePartial](../constructors/storage_filePartial.md) - -[storage\_fileMp4](../constructors/storage_fileMp4.md) - -[storage\_fileWebp](../constructors/storage_fileWebp.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v55/types/updates.ChannelDifference.md b/old_docs/API_docs_v55/types/updates.ChannelDifference.md new file mode 100644 index 00000000..ac889a1e --- /dev/null +++ b/old_docs/API_docs_v55/types/updates.ChannelDifference.md @@ -0,0 +1,26 @@ +--- +title: updates.ChannelDifference +description: constructors and methods of type updates.ChannelDifference +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: updates.ChannelDifference +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updates.channelDifferenceEmpty](../constructors/updates.channelDifferenceEmpty.md) + +[updates.channelDifferenceTooLong](../constructors/updates.channelDifferenceTooLong.md) + +[updates.channelDifference](../constructors/updates.channelDifference.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->updates->getChannelDifference](../methods/updates.getChannelDifference.md) + + + diff --git a/old_docs/API_docs_v55/types/updates.Difference.md b/old_docs/API_docs_v55/types/updates.Difference.md new file mode 100644 index 00000000..35998855 --- /dev/null +++ b/old_docs/API_docs_v55/types/updates.Difference.md @@ -0,0 +1,26 @@ +--- +title: updates.Difference +description: constructors and methods of type updates.Difference +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: updates.Difference +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updates.differenceEmpty](../constructors/updates.differenceEmpty.md) + +[updates.difference](../constructors/updates.difference.md) + +[updates.differenceSlice](../constructors/updates.differenceSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->updates->getDifference](../methods/updates.getDifference.md) + + + diff --git a/old_docs/API_docs_v55/types/updates.State.md b/old_docs/API_docs_v55/types/updates.State.md new file mode 100644 index 00000000..49bbb7fd --- /dev/null +++ b/old_docs/API_docs_v55/types/updates.State.md @@ -0,0 +1,22 @@ +--- +title: updates.State +description: constructors and methods of type updates.State +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: updates.State +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updates.state](../constructors/updates.state.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->updates->getState](../methods/updates.getState.md) + + + diff --git a/old_docs/API_docs_v55/types/updates_ChannelDifference.md b/old_docs/API_docs_v55/types/updates_ChannelDifference.md deleted file mode 100644 index dc988692..00000000 --- a/old_docs/API_docs_v55/types/updates_ChannelDifference.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: updates_ChannelDifference -description: constructors and methods of type updates_ChannelDifference -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: updates\_ChannelDifference -[Back to types index](index.md) - - - -### Possible values (constructors): - -[updates\_channelDifferenceEmpty](../constructors/updates_channelDifferenceEmpty.md) - -[updates\_channelDifferenceTooLong](../constructors/updates_channelDifferenceTooLong.md) - -[updates\_channelDifference](../constructors/updates_channelDifference.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->updates->getChannelDifference](../methods/updates_getChannelDifference.md) - - - diff --git a/old_docs/API_docs_v55/types/updates_Difference.md b/old_docs/API_docs_v55/types/updates_Difference.md deleted file mode 100644 index 0190189b..00000000 --- a/old_docs/API_docs_v55/types/updates_Difference.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: updates_Difference -description: constructors and methods of type updates_Difference -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: updates\_Difference -[Back to types index](index.md) - - - -### Possible values (constructors): - -[updates\_differenceEmpty](../constructors/updates_differenceEmpty.md) - -[updates\_difference](../constructors/updates_difference.md) - -[updates\_differenceSlice](../constructors/updates_differenceSlice.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->updates->getDifference](../methods/updates_getDifference.md) - - - diff --git a/old_docs/API_docs_v55/types/updates_State.md b/old_docs/API_docs_v55/types/updates_State.md deleted file mode 100644 index 7a441145..00000000 --- a/old_docs/API_docs_v55/types/updates_State.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: updates_State -description: constructors and methods of type updates_State -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: updates\_State -[Back to types index](index.md) - - - -### Possible values (constructors): - -[updates\_state](../constructors/updates_state.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->updates->getState](../methods/updates_getState.md) - - - diff --git a/old_docs/API_docs_v55/types/upload.File.md b/old_docs/API_docs_v55/types/upload.File.md new file mode 100644 index 00000000..922e6c7a --- /dev/null +++ b/old_docs/API_docs_v55/types/upload.File.md @@ -0,0 +1,22 @@ +--- +title: upload.File +description: constructors and methods of type upload.File +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: upload.File +[Back to types index](index.md) + + + +### Possible values (constructors): + +[upload.file](../constructors/upload.file.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->upload->getFile](../methods/upload.getFile.md) + + + diff --git a/old_docs/API_docs_v55/types/upload_File.md b/old_docs/API_docs_v55/types/upload_File.md deleted file mode 100644 index 6e3bc38d..00000000 --- a/old_docs/API_docs_v55/types/upload_File.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: upload_File -description: constructors and methods of type upload_File -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: upload\_File -[Back to types index](index.md) - - - -### Possible values (constructors): - -[upload\_file](../constructors/upload_file.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->upload->getFile](../methods/upload_getFile.md) - - - diff --git a/old_docs/API_docs_v57/constructors/README.md b/old_docs/API_docs_v57/constructors/README.md index e2c612c2..861a6e2c 100644 --- a/old_docs/API_docs_v57/constructors/README.md +++ b/old_docs/API_docs_v57/constructors/README.md @@ -6,46 +6,62 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png # Constructors [Back to API documentation index](..) +*** +

[$account.authorizations](../constructors/account.authorizations.md) = \['authorizations' => \[[Authorization](../types/Authorization.md)\], \]; + +*** +

[$account.noPassword](../constructors/account.noPassword.md) = \['new_salt' => [bytes](../types/bytes.md), 'email_unconfirmed_pattern' => [string](../types/string.md), \]; + +*** +

[$account.password](../constructors/account.password.md) = \['current_salt' => [bytes](../types/bytes.md), 'new_salt' => [bytes](../types/bytes.md), 'hint' => [string](../types/string.md), 'has_recovery' => [Bool](../types/Bool.md), 'email_unconfirmed_pattern' => [string](../types/string.md), \]; + +*** +

[$account.passwordInputSettings](../constructors/account.passwordInputSettings.md) = \['new_salt' => [bytes](../types/bytes.md), 'new_password_hash' => [bytes](../types/bytes.md), 'hint' => [string](../types/string.md), 'email' => [string](../types/string.md), \]; + +*** +

[$account.passwordSettings](../constructors/account.passwordSettings.md) = \['email' => [string](../types/string.md), \]; + +*** +

[$account.privacyRules](../constructors/account.privacyRules.md) = \['rules' => \[[PrivacyRule](../types/PrivacyRule.md)\], 'users' => \[[User](../types/User.md)\], \]; + ***

[$accountDaysTTL](../constructors/accountDaysTTL.md) = \['days' => [int](../types/int.md), \]; *** -

[$account\_authorizations](../constructors/account_authorizations.md) = \['authorizations' => \[[Authorization](../types/Authorization.md)\], \]; - -[$account\_noPassword](../constructors/account_noPassword.md) = \['new_salt' => [bytes](../types/bytes.md), 'email_unconfirmed_pattern' => [string](../types/string.md), \]; - -[$account\_password](../constructors/account_password.md) = \['current_salt' => [bytes](../types/bytes.md), 'new_salt' => [bytes](../types/bytes.md), 'hint' => [string](../types/string.md), 'has_recovery' => [Bool](../types/Bool.md), 'email_unconfirmed_pattern' => [string](../types/string.md), \]; - -[$account\_passwordInputSettings](../constructors/account_passwordInputSettings.md) = \['new_salt' => [bytes](../types/bytes.md), 'new_password_hash' => [bytes](../types/bytes.md), 'hint' => [string](../types/string.md), 'email' => [string](../types/string.md), \]; - -[$account\_passwordSettings](../constructors/account_passwordSettings.md) = \['email' => [string](../types/string.md), \]; - -[$account\_privacyRules](../constructors/account_privacyRules.md) = \['rules' => \[[PrivacyRule](../types/PrivacyRule.md)\], 'users' => \[[User](../types/User.md)\], \]; +

[$auth.authorization](../constructors/auth.authorization.md) = \['tmp_sessions' => [int](../types/int.md), 'user' => [User](../types/User.md), \]; *** -

[$auth\_authorization](../constructors/auth_authorization.md) = \['tmp_sessions' => [int](../types/int.md), 'user' => [User](../types/User.md), \]; +

[$auth.checkedPhone](../constructors/auth.checkedPhone.md) = \['phone_registered' => [Bool](../types/Bool.md), \]; -[$auth\_checkedPhone](../constructors/auth_checkedPhone.md) = \['phone_registered' => [Bool](../types/Bool.md), \]; +*** +

[$auth.codeTypeCall](../constructors/auth.codeTypeCall.md) = \[\]; -[$auth\_codeTypeCall](../constructors/auth_codeTypeCall.md) = \[\]; +*** +

[$auth.codeTypeFlashCall](../constructors/auth.codeTypeFlashCall.md) = \[\]; -[$auth\_codeTypeFlashCall](../constructors/auth_codeTypeFlashCall.md) = \[\]; +*** +

[$auth.codeTypeSms](../constructors/auth.codeTypeSms.md) = \[\]; -[$auth\_codeTypeSms](../constructors/auth_codeTypeSms.md) = \[\]; +*** +

[$auth.exportedAuthorization](../constructors/auth.exportedAuthorization.md) = \['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; -[$auth\_exportedAuthorization](../constructors/auth_exportedAuthorization.md) = \['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; +*** +

[$auth.passwordRecovery](../constructors/auth.passwordRecovery.md) = \['email_pattern' => [string](../types/string.md), \]; -[$auth\_passwordRecovery](../constructors/auth_passwordRecovery.md) = \['email_pattern' => [string](../types/string.md), \]; +*** +

[$auth.sentCode](../constructors/auth.sentCode.md) = \['phone_registered' => [Bool](../types/Bool.md), 'type' => [auth.SentCodeType](../types/auth.SentCodeType.md), 'phone_code_hash' => [string](../types/string.md), 'next_type' => [auth.CodeType](../types/auth.CodeType.md), 'timeout' => [int](../types/int.md), \]; -[$auth\_sentCode](../constructors/auth_sentCode.md) = \['phone_registered' => [Bool](../types/Bool.md), 'type' => [auth.SentCodeType](../types/auth.SentCodeType.md), 'phone_code_hash' => [string](../types/string.md), 'next_type' => [auth.CodeType](../types/auth.CodeType.md), 'timeout' => [int](../types/int.md), \]; +*** +

[$auth.sentCodeTypeApp](../constructors/auth.sentCodeTypeApp.md) = \['length' => [int](../types/int.md), \]; -[$auth\_sentCodeTypeApp](../constructors/auth_sentCodeTypeApp.md) = \['length' => [int](../types/int.md), \]; +*** +

[$auth.sentCodeTypeCall](../constructors/auth.sentCodeTypeCall.md) = \['length' => [int](../types/int.md), \]; -[$auth\_sentCodeTypeCall](../constructors/auth_sentCodeTypeCall.md) = \['length' => [int](../types/int.md), \]; +*** +

[$auth.sentCodeTypeFlashCall](../constructors/auth.sentCodeTypeFlashCall.md) = \['pattern' => [string](../types/string.md), \]; -[$auth\_sentCodeTypeFlashCall](../constructors/auth_sentCodeTypeFlashCall.md) = \['pattern' => [string](../types/string.md), \]; - -[$auth\_sentCodeTypeSms](../constructors/auth_sentCodeTypeSms.md) = \['length' => [int](../types/int.md), \]; +*** +

[$auth.sentCodeTypeSms](../constructors/auth.sentCodeTypeSms.md) = \['length' => [int](../types/int.md), \]; ***

[$authorization](../constructors/authorization.md) = \['hash' => [long](../types/long.md), 'device_model' => [string](../types/string.md), 'platform' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'api_id' => [int](../types/int.md), 'app_name' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'date_created' => [int](../types/int.md), 'date_active' => [int](../types/int.md), 'ip' => [string](../types/string.md), 'country' => [string](../types/string.md), 'region' => [string](../types/string.md), \]; @@ -138,9 +154,10 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$channelRoleModerator](../constructors/channelRoleModerator.md) = \[\]; *** -

[$channels\_channelParticipant](../constructors/channels_channelParticipant.md) = \['participant' => [ChannelParticipant](../types/ChannelParticipant.md), 'users' => \[[User](../types/User.md)\], \]; +

[$channels.channelParticipant](../constructors/channels.channelParticipant.md) = \['participant' => [ChannelParticipant](../types/ChannelParticipant.md), 'users' => \[[User](../types/User.md)\], \]; -[$channels\_channelParticipants](../constructors/channels_channelParticipants.md) = \['count' => [int](../types/int.md), 'participants' => \[[ChannelParticipant](../types/ChannelParticipant.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$channels.channelParticipants](../constructors/channels.channelParticipants.md) = \['count' => [int](../types/int.md), 'participants' => \[[ChannelParticipant](../types/ChannelParticipant.md)\], 'users' => \[[User](../types/User.md)\], \]; ***

[$chat](../constructors/chat.md) = \['creator' => [Bool](../types/Bool.md), 'kicked' => [Bool](../types/Bool.md), 'left' => [Bool](../types/Bool.md), 'admins_enabled' => [Bool](../types/Bool.md), 'admin' => [Bool](../types/Bool.md), 'deactivated' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'title' => [string](../types/string.md), 'photo' => [ChatPhoto](../types/ChatPhoto.md), 'participants_count' => [int](../types/int.md), 'date' => [int](../types/int.md), 'version' => [int](../types/int.md), 'migrated_to' => [InputChannel](../types/InputChannel.md), \]; @@ -212,25 +229,34 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$contactStatus](../constructors/contactStatus.md) = \['user_id' => [int](../types/int.md), 'status' => [UserStatus](../types/UserStatus.md), \]; *** -

[$contacts\_blocked](../constructors/contacts_blocked.md) = \['blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; +

[$contacts.blocked](../constructors/contacts.blocked.md) = \['blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_blockedSlice](../constructors/contacts_blockedSlice.md) = \['count' => [int](../types/int.md), 'blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.blockedSlice](../constructors/contacts.blockedSlice.md) = \['count' => [int](../types/int.md), 'blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_contacts](../constructors/contacts_contacts.md) = \['contacts' => \[[Contact](../types/Contact.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.contacts](../constructors/contacts.contacts.md) = \['contacts' => \[[Contact](../types/Contact.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_contactsNotModified](../constructors/contacts_contactsNotModified.md) = \[\]; +*** +

[$contacts.contactsNotModified](../constructors/contacts.contactsNotModified.md) = \[\]; -[$contacts\_found](../constructors/contacts_found.md) = \['results' => \[[Peer](../types/Peer.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.found](../constructors/contacts.found.md) = \['results' => \[[Peer](../types/Peer.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_importedContacts](../constructors/contacts_importedContacts.md) = \['imported' => \[[ImportedContact](../types/ImportedContact.md)\], 'retry_contacts' => \[[long](../types/long.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.importedContacts](../constructors/contacts.importedContacts.md) = \['imported' => \[[ImportedContact](../types/ImportedContact.md)\], 'retry_contacts' => \[[long](../types/long.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_link](../constructors/contacts_link.md) = \['my_link' => [ContactLink](../types/ContactLink.md), 'foreign_link' => [ContactLink](../types/ContactLink.md), 'user' => [User](../types/User.md), \]; +*** +

[$contacts.link](../constructors/contacts.link.md) = \['my_link' => [ContactLink](../types/ContactLink.md), 'foreign_link' => [ContactLink](../types/ContactLink.md), 'user' => [User](../types/User.md), \]; -[$contacts\_resolvedPeer](../constructors/contacts_resolvedPeer.md) = \['peer' => [Peer](../types/Peer.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.resolvedPeer](../constructors/contacts.resolvedPeer.md) = \['peer' => [Peer](../types/Peer.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_topPeers](../constructors/contacts_topPeers.md) = \['categories' => \[[TopPeerCategoryPeers](../types/TopPeerCategoryPeers.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.topPeers](../constructors/contacts.topPeers.md) = \['categories' => \[[TopPeerCategoryPeers](../types/TopPeerCategoryPeers.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_topPeersNotModified](../constructors/contacts_topPeersNotModified.md) = \[\]; +*** +

[$contacts.topPeersNotModified](../constructors/contacts.topPeersNotModified.md) = \[\]; ***

[$dcOption](../constructors/dcOption.md) = \['ipv6' => [Bool](../types/Bool.md), 'media_only' => [Bool](../types/Bool.md), 'tcpo_only' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'ip_address' => [string](../types/string.md), 'port' => [int](../types/int.md), \]; @@ -329,19 +355,25 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$geoPointEmpty](../constructors/geoPointEmpty.md) = \[\]; *** -

[$help\_appChangelog](../constructors/help_appChangelog.md) = \['text' => [string](../types/string.md), \]; +

[$help.appChangelog](../constructors/help.appChangelog.md) = \['text' => [string](../types/string.md), \]; -[$help\_appChangelogEmpty](../constructors/help_appChangelogEmpty.md) = \[\]; +*** +

[$help.appChangelogEmpty](../constructors/help.appChangelogEmpty.md) = \[\]; -[$help\_appUpdate](../constructors/help_appUpdate.md) = \['id' => [int](../types/int.md), 'critical' => [Bool](../types/Bool.md), 'url' => [string](../types/string.md), 'text' => [string](../types/string.md), \]; +*** +

[$help.appUpdate](../constructors/help.appUpdate.md) = \['id' => [int](../types/int.md), 'critical' => [Bool](../types/Bool.md), 'url' => [string](../types/string.md), 'text' => [string](../types/string.md), \]; -[$help\_inviteText](../constructors/help_inviteText.md) = \['message' => [string](../types/string.md), \]; +*** +

[$help.inviteText](../constructors/help.inviteText.md) = \['message' => [string](../types/string.md), \]; -[$help\_noAppUpdate](../constructors/help_noAppUpdate.md) = \[\]; +*** +

[$help.noAppUpdate](../constructors/help.noAppUpdate.md) = \[\]; -[$help\_support](../constructors/help_support.md) = \['phone_number' => [string](../types/string.md), 'user' => [User](../types/User.md), \]; +*** +

[$help.support](../constructors/help.support.md) = \['phone_number' => [string](../types/string.md), 'user' => [User](../types/User.md), \]; -[$help\_termsOfService](../constructors/help_termsOfService.md) = \['text' => [string](../types/string.md), \]; +*** +

[$help.termsOfService](../constructors/help.termsOfService.md) = \['text' => [string](../types/string.md), \]; ***

[$highScore](../constructors/highScore.md) = \['pos' => [int](../types/int.md), 'user_id' => [int](../types/int.md), 'score' => [int](../types/int.md), \]; @@ -779,71 +811,103 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$messageService](../constructors/messageService.md) = \['out' => [Bool](../types/Bool.md), 'mentioned' => [Bool](../types/Bool.md), 'media_unread' => [Bool](../types/Bool.md), 'silent' => [Bool](../types/Bool.md), 'post' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'from_id' => [int](../types/int.md), 'to_id' => [Peer](../types/Peer.md), 'reply_to_msg_id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'action' => [MessageAction](../types/MessageAction.md), \]; *** -

[$messages\_affectedHistory](../constructors/messages_affectedHistory.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), 'offset' => [int](../types/int.md), \]; +

[$messages.affectedHistory](../constructors/messages.affectedHistory.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), 'offset' => [int](../types/int.md), \]; -[$messages\_affectedMessages](../constructors/messages_affectedMessages.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; +*** +

[$messages.affectedMessages](../constructors/messages.affectedMessages.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; -[$messages\_allStickers](../constructors/messages_allStickers.md) = \['hash' => [int](../types/int.md), 'sets' => \[[StickerSet](../types/StickerSet.md)\], \]; +*** +

[$messages.allStickers](../constructors/messages.allStickers.md) = \['hash' => [int](../types/int.md), 'sets' => \[[StickerSet](../types/StickerSet.md)\], \]; -[$messages\_allStickersNotModified](../constructors/messages_allStickersNotModified.md) = \[\]; +*** +

[$messages.allStickersNotModified](../constructors/messages.allStickersNotModified.md) = \[\]; -[$messages\_archivedStickers](../constructors/messages_archivedStickers.md) = \['count' => [int](../types/int.md), 'sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], \]; +*** +

[$messages.archivedStickers](../constructors/messages.archivedStickers.md) = \['count' => [int](../types/int.md), 'sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], \]; -[$messages\_botCallbackAnswer](../constructors/messages_botCallbackAnswer.md) = \['alert' => [Bool](../types/Bool.md), 'has_url' => [Bool](../types/Bool.md), 'message' => [string](../types/string.md), 'url' => [string](../types/string.md), \]; +*** +

[$messages.botCallbackAnswer](../constructors/messages.botCallbackAnswer.md) = \['alert' => [Bool](../types/Bool.md), 'has_url' => [Bool](../types/Bool.md), 'message' => [string](../types/string.md), 'url' => [string](../types/string.md), \]; -[$messages\_botResults](../constructors/messages_botResults.md) = \['gallery' => [Bool](../types/Bool.md), 'query_id' => [long](../types/long.md), 'next_offset' => [string](../types/string.md), 'switch_pm' => [InlineBotSwitchPM](../types/InlineBotSwitchPM.md), 'results' => \[[BotInlineResult](../types/BotInlineResult.md)\], \]; +*** +

[$messages.botResults](../constructors/messages.botResults.md) = \['gallery' => [Bool](../types/Bool.md), 'query_id' => [long](../types/long.md), 'next_offset' => [string](../types/string.md), 'switch_pm' => [InlineBotSwitchPM](../types/InlineBotSwitchPM.md), 'results' => \[[BotInlineResult](../types/BotInlineResult.md)\], \]; -[$messages\_channelMessages](../constructors/messages_channelMessages.md) = \['pts' => [int](../types/int.md), 'count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.channelMessages](../constructors/messages.channelMessages.md) = \['pts' => [int](../types/int.md), 'count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_chatFull](../constructors/messages_chatFull.md) = \['full_chat' => [ChatFull](../types/ChatFull.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.chatFull](../constructors/messages.chatFull.md) = \['full_chat' => [ChatFull](../types/ChatFull.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_chats](../constructors/messages_chats.md) = \['chats' => \[[Chat](../types/Chat.md)\], \]; +*** +

[$messages.chats](../constructors/messages.chats.md) = \['chats' => \[[Chat](../types/Chat.md)\], \]; -[$messages\_dhConfig](../constructors/messages_dhConfig.md) = \['g' => [int](../types/int.md), 'p' => [bytes](../types/bytes.md), 'version' => [int](../types/int.md), 'random' => [bytes](../types/bytes.md), \]; +*** +

[$messages.dhConfig](../constructors/messages.dhConfig.md) = \['g' => [int](../types/int.md), 'p' => [bytes](../types/bytes.md), 'version' => [int](../types/int.md), 'random' => [bytes](../types/bytes.md), \]; -[$messages\_dhConfigNotModified](../constructors/messages_dhConfigNotModified.md) = \['random' => [bytes](../types/bytes.md), \]; +*** +

[$messages.dhConfigNotModified](../constructors/messages.dhConfigNotModified.md) = \['random' => [bytes](../types/bytes.md), \]; -[$messages\_dialogs](../constructors/messages_dialogs.md) = \['dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.dialogs](../constructors/messages.dialogs.md) = \['dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_dialogsSlice](../constructors/messages_dialogsSlice.md) = \['count' => [int](../types/int.md), 'dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.dialogsSlice](../constructors/messages.dialogsSlice.md) = \['count' => [int](../types/int.md), 'dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_featuredStickers](../constructors/messages_featuredStickers.md) = \['hash' => [int](../types/int.md), 'sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], 'unread' => \[[long](../types/long.md)\], \]; +*** +

[$messages.featuredStickers](../constructors/messages.featuredStickers.md) = \['hash' => [int](../types/int.md), 'sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], 'unread' => \[[long](../types/long.md)\], \]; -[$messages\_featuredStickersNotModified](../constructors/messages_featuredStickersNotModified.md) = \[\]; +*** +

[$messages.featuredStickersNotModified](../constructors/messages.featuredStickersNotModified.md) = \[\]; -[$messages\_foundGifs](../constructors/messages_foundGifs.md) = \['next_offset' => [int](../types/int.md), 'results' => \[[FoundGif](../types/FoundGif.md)\], \]; +*** +

[$messages.foundGifs](../constructors/messages.foundGifs.md) = \['next_offset' => [int](../types/int.md), 'results' => \[[FoundGif](../types/FoundGif.md)\], \]; -[$messages\_highScores](../constructors/messages_highScores.md) = \['scores' => \[[HighScore](../types/HighScore.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.highScores](../constructors/messages.highScores.md) = \['scores' => \[[HighScore](../types/HighScore.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_messageEditData](../constructors/messages_messageEditData.md) = \['caption' => [Bool](../types/Bool.md), \]; +*** +

[$messages.messageEditData](../constructors/messages.messageEditData.md) = \['caption' => [Bool](../types/Bool.md), \]; -[$messages\_messages](../constructors/messages_messages.md) = \['messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.messages](../constructors/messages.messages.md) = \['messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_messagesSlice](../constructors/messages_messagesSlice.md) = \['count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.messagesSlice](../constructors/messages.messagesSlice.md) = \['count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_peerDialogs](../constructors/messages_peerDialogs.md) = \['dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'state' => [updates.State](../types/updates.State.md), \]; +*** +

[$messages.peerDialogs](../constructors/messages.peerDialogs.md) = \['dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'state' => [updates.State](../types/updates.State.md), \]; -[$messages\_recentStickers](../constructors/messages_recentStickers.md) = \['hash' => [int](../types/int.md), 'stickers' => \[[Document](../types/Document.md)\], \]; +*** +

[$messages.recentStickers](../constructors/messages.recentStickers.md) = \['hash' => [int](../types/int.md), 'stickers' => \[[Document](../types/Document.md)\], \]; -[$messages\_recentStickersNotModified](../constructors/messages_recentStickersNotModified.md) = \[\]; +*** +

[$messages.recentStickersNotModified](../constructors/messages.recentStickersNotModified.md) = \[\]; -[$messages\_savedGifs](../constructors/messages_savedGifs.md) = \['hash' => [int](../types/int.md), 'gifs' => \[[Document](../types/Document.md)\], \]; +*** +

[$messages.savedGifs](../constructors/messages.savedGifs.md) = \['hash' => [int](../types/int.md), 'gifs' => \[[Document](../types/Document.md)\], \]; -[$messages\_savedGifsNotModified](../constructors/messages_savedGifsNotModified.md) = \[\]; +*** +

[$messages.savedGifsNotModified](../constructors/messages.savedGifsNotModified.md) = \[\]; -[$messages\_sentEncryptedFile](../constructors/messages_sentEncryptedFile.md) = \['date' => [int](../types/int.md), 'file' => [EncryptedFile](../types/EncryptedFile.md), \]; +*** +

[$messages.sentEncryptedFile](../constructors/messages.sentEncryptedFile.md) = \['date' => [int](../types/int.md), 'file' => [EncryptedFile](../types/EncryptedFile.md), \]; -[$messages\_sentEncryptedMessage](../constructors/messages_sentEncryptedMessage.md) = \['date' => [int](../types/int.md), \]; +*** +

[$messages.sentEncryptedMessage](../constructors/messages.sentEncryptedMessage.md) = \['date' => [int](../types/int.md), \]; -[$messages\_stickerSet](../constructors/messages_stickerSet.md) = \['set' => [StickerSet](../types/StickerSet.md), 'packs' => \[[StickerPack](../types/StickerPack.md)\], 'documents' => \[[Document](../types/Document.md)\], \]; +*** +

[$messages.stickerSet](../constructors/messages.stickerSet.md) = \['set' => [StickerSet](../types/StickerSet.md), 'packs' => \[[StickerPack](../types/StickerPack.md)\], 'documents' => \[[Document](../types/Document.md)\], \]; -[$messages\_stickerSetInstallResultArchive](../constructors/messages_stickerSetInstallResultArchive.md) = \['sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], \]; +*** +

[$messages.stickerSetInstallResultArchive](../constructors/messages.stickerSetInstallResultArchive.md) = \['sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], \]; -[$messages\_stickerSetInstallResultSuccess](../constructors/messages_stickerSetInstallResultSuccess.md) = \[\]; +*** +

[$messages.stickerSetInstallResultSuccess](../constructors/messages.stickerSetInstallResultSuccess.md) = \[\]; -[$messages\_stickers](../constructors/messages_stickers.md) = \['hash' => [string](../types/string.md), 'stickers' => \[[Document](../types/Document.md)\], \]; +*** +

[$messages.stickers](../constructors/messages.stickers.md) = \['hash' => [string](../types/string.md), 'stickers' => \[[Document](../types/Document.md)\], \]; -[$messages\_stickersNotModified](../constructors/messages_stickersNotModified.md) = \[\]; +*** +

[$messages.stickersNotModified](../constructors/messages.stickersNotModified.md) = \[\]; ***

[$nearestDc](../constructors/nearestDc.md) = \['country' => [string](../types/string.md), 'this_dc' => [int](../types/int.md), 'nearest_dc' => [int](../types/int.md), \]; @@ -903,11 +967,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$photoSizeEmpty](../constructors/photoSizeEmpty.md) = \['type' => [string](../types/string.md), \]; *** -

[$photos\_photo](../constructors/photos_photo.md) = \['photo' => [Photo](../types/Photo.md), 'users' => \[[User](../types/User.md)\], \]; +

[$photos.photo](../constructors/photos.photo.md) = \['photo' => [Photo](../types/Photo.md), 'users' => \[[User](../types/User.md)\], \]; -[$photos\_photos](../constructors/photos_photos.md) = \['photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$photos.photos](../constructors/photos.photos.md) = \['photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$photos\_photosSlice](../constructors/photos_photosSlice.md) = \['count' => [int](../types/int.md), 'photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$photos.photosSlice](../constructors/photos.photosSlice.md) = \['count' => [int](../types/int.md), 'photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; ***

[$privacyKeyChatInvite](../constructors/privacyKeyChatInvite.md) = \[\]; @@ -994,25 +1060,34 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$stickerSetMultiCovered](../constructors/stickerSetMultiCovered.md) = \['set' => [StickerSet](../types/StickerSet.md), 'covers' => \[[Document](../types/Document.md)\], \]; *** -

[$storage\_fileGif](../constructors/storage_fileGif.md) = \[\]; +

[$storage.fileGif](../constructors/storage.fileGif.md) = \[\]; -[$storage\_fileJpeg](../constructors/storage_fileJpeg.md) = \[\]; +*** +

[$storage.fileJpeg](../constructors/storage.fileJpeg.md) = \[\]; -[$storage\_fileMov](../constructors/storage_fileMov.md) = \[\]; +*** +

[$storage.fileMov](../constructors/storage.fileMov.md) = \[\]; -[$storage\_fileMp3](../constructors/storage_fileMp3.md) = \[\]; +*** +

[$storage.fileMp3](../constructors/storage.fileMp3.md) = \[\]; -[$storage\_fileMp4](../constructors/storage_fileMp4.md) = \[\]; +*** +

[$storage.fileMp4](../constructors/storage.fileMp4.md) = \[\]; -[$storage\_filePartial](../constructors/storage_filePartial.md) = \[\]; +*** +

[$storage.filePartial](../constructors/storage.filePartial.md) = \[\]; -[$storage\_filePdf](../constructors/storage_filePdf.md) = \[\]; +*** +

[$storage.filePdf](../constructors/storage.filePdf.md) = \[\]; -[$storage\_filePng](../constructors/storage_filePng.md) = \[\]; +*** +

[$storage.filePng](../constructors/storage.filePng.md) = \[\]; -[$storage\_fileUnknown](../constructors/storage_fileUnknown.md) = \[\]; +*** +

[$storage.fileUnknown](../constructors/storage.fileUnknown.md) = \[\]; -[$storage\_fileWebp](../constructors/storage_fileWebp.md) = \[\]; +*** +

[$storage.fileWebp](../constructors/storage.fileWebp.md) = \[\]; ***

[$topPeer](../constructors/topPeer.md) = \['peer' => [Peer](../types/Peer.md), 'rating' => [double](../types/double.md), \]; @@ -1212,6 +1287,27 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ***

[$updates](../constructors/updates.md) = \['updates' => \[[Update](../types/Update.md)\], 'users' => \[[User](../types/User.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'date' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; +*** +

[$updates.channelDifference](../constructors/updates.channelDifference.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), 'new_messages' => \[[Message](../types/Message.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +*** +

[$updates.channelDifferenceEmpty](../constructors/updates.channelDifferenceEmpty.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), \]; + +*** +

[$updates.channelDifferenceTooLong](../constructors/updates.channelDifferenceTooLong.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), 'top_message' => [int](../types/int.md), 'read_inbox_max_id' => [int](../types/int.md), 'read_outbox_max_id' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +*** +

[$updates.difference](../constructors/updates.difference.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'state' => [updates.State](../types/updates.State.md), \]; + +*** +

[$updates.differenceEmpty](../constructors/updates.differenceEmpty.md) = \['date' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; + +*** +

[$updates.differenceSlice](../constructors/updates.differenceSlice.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'intermediate_state' => [updates.State](../types/updates.State.md), \]; + +*** +

[$updates.state](../constructors/updates.state.md) = \['pts' => [int](../types/int.md), 'qts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'seq' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), \]; + ***

[$updatesCombined](../constructors/updatesCombined.md) = \['updates' => \[[Update](../types/Update.md)\], 'users' => \[[User](../types/User.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'date' => [int](../types/int.md), 'seq_start' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; @@ -1219,22 +1315,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$updatesTooLong](../constructors/updatesTooLong.md) = \[\]; *** -

[$updates\_channelDifference](../constructors/updates_channelDifference.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), 'new_messages' => \[[Message](../types/Message.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; - -[$updates\_channelDifferenceEmpty](../constructors/updates_channelDifferenceEmpty.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), \]; - -[$updates\_channelDifferenceTooLong](../constructors/updates_channelDifferenceTooLong.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), 'top_message' => [int](../types/int.md), 'read_inbox_max_id' => [int](../types/int.md), 'read_outbox_max_id' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; - -[$updates\_difference](../constructors/updates_difference.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'state' => [updates.State](../types/updates.State.md), \]; - -[$updates\_differenceEmpty](../constructors/updates_differenceEmpty.md) = \['date' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; - -[$updates\_differenceSlice](../constructors/updates_differenceSlice.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'intermediate_state' => [updates.State](../types/updates.State.md), \]; - -[$updates\_state](../constructors/updates_state.md) = \['pts' => [int](../types/int.md), 'qts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'seq' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), \]; - -*** -

[$upload\_file](../constructors/upload_file.md) = \['type' => [storage.FileType](../types/storage.FileType.md), 'mtime' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; +

[$upload.file](../constructors/upload.file.md) = \['type' => [storage.FileType](../types/storage.FileType.md), 'mtime' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; ***

[$user](../constructors/user.md) = \['self' => [Bool](../types/Bool.md), 'contact' => [Bool](../types/Bool.md), 'mutual_contact' => [Bool](../types/Bool.md), 'deleted' => [Bool](../types/Bool.md), 'bot' => [Bool](../types/Bool.md), 'bot_chat_history' => [Bool](../types/Bool.md), 'bot_nochats' => [Bool](../types/Bool.md), 'verified' => [Bool](../types/Bool.md), 'restricted' => [Bool](../types/Bool.md), 'min' => [Bool](../types/Bool.md), 'bot_inline_geo' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), 'username' => [string](../types/string.md), 'phone' => [string](../types/string.md), 'photo' => [UserProfilePhoto](../types/UserProfilePhoto.md), 'status' => [UserStatus](../types/UserStatus.md), 'bot_info_version' => [int](../types/int.md), 'restriction_reason' => [string](../types/string.md), 'bot_inline_placeholder' => [string](../types/string.md), \]; diff --git a/old_docs/API_docs_v57/constructors/account.authorizations.md b/old_docs/API_docs_v57/constructors/account.authorizations.md new file mode 100644 index 00000000..53c961f0 --- /dev/null +++ b/old_docs/API_docs_v57/constructors/account.authorizations.md @@ -0,0 +1,38 @@ +--- +title: account.authorizations +description: Logged-in sessions +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.authorizations +[Back to constructors index](index.md) + + + +Logged-in sessions + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|authorizations|Array of [Authorization](../types/Authorization.md) | Yes|Authorizations| + + + +### Type: [account.Authorizations](../types/account.Authorizations.md) + + +### Example: + +```php +$account.authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization, Authorization]]; +``` + + +Or, if you're into Lua: + +```lua +account.authorizations={_='account.authorizations', authorizations={Authorization}} + +``` + + diff --git a/old_docs/API_docs_v57/constructors/account.noPassword.md b/old_docs/API_docs_v57/constructors/account.noPassword.md new file mode 100644 index 00000000..4dcdc515 --- /dev/null +++ b/old_docs/API_docs_v57/constructors/account.noPassword.md @@ -0,0 +1,39 @@ +--- +title: account.noPassword +description: No password +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.noPassword +[Back to constructors index](index.md) + + + +No password + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|new\_salt|[bytes](../types/bytes.md) | Yes|New salt| +|email\_unconfirmed\_pattern|[string](../types/string.md) | Yes|Email unconfirmed pattern| + + + +### Type: [account.Password](../types/account.Password.md) + + +### Example: + +```php +$account.noPassword = ['_' => 'account.noPassword', 'new_salt' => 'bytes', 'email_unconfirmed_pattern' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +account.noPassword={_='account.noPassword', new_salt='bytes', email_unconfirmed_pattern='string'} + +``` + + diff --git a/old_docs/API_docs_v57/constructors/account.password.md b/old_docs/API_docs_v57/constructors/account.password.md new file mode 100644 index 00000000..9e86a73a --- /dev/null +++ b/old_docs/API_docs_v57/constructors/account.password.md @@ -0,0 +1,42 @@ +--- +title: account.password +description: Configuration for two-factor authorization +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.password +[Back to constructors index](index.md) + + + +Configuration for two-factor authorization + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|current\_salt|[bytes](../types/bytes.md) | Yes|Current salt| +|new\_salt|[bytes](../types/bytes.md) | Yes|New salt| +|hint|[string](../types/string.md) | Yes|Text hint for the password| +|has\_recovery|[Bool](../types/Bool.md) | Yes|Has recovery?| +|email\_unconfirmed\_pattern|[string](../types/string.md) | Yes|A [password recovery email](https://core.telegram.org/api/srp#email-verification) with the specified [pattern](https://core.telegram.org/api/pattern) is still awaiting verification| + + + +### Type: [account.Password](../types/account.Password.md) + + +### Example: + +```php +$account.password = ['_' => 'account.password', 'current_salt' => 'bytes', 'new_salt' => 'bytes', 'hint' => 'string', 'has_recovery' => Bool, 'email_unconfirmed_pattern' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +account.password={_='account.password', current_salt='bytes', new_salt='bytes', hint='string', has_recovery=Bool, email_unconfirmed_pattern='string'} + +``` + + diff --git a/old_docs/API_docs_v57/constructors/account.passwordInputSettings.md b/old_docs/API_docs_v57/constructors/account.passwordInputSettings.md new file mode 100644 index 00000000..c440115a --- /dev/null +++ b/old_docs/API_docs_v57/constructors/account.passwordInputSettings.md @@ -0,0 +1,41 @@ +--- +title: account.passwordInputSettings +description: Settings for setting up a new password +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.passwordInputSettings +[Back to constructors index](index.md) + + + +Settings for setting up a new password + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|new\_salt|[bytes](../types/bytes.md) | Optional|`$new_salt = $MadelineProto->account->getPassword()['new_salt'].$MadelineProto->random(8);`| +|new\_password\_hash|[bytes](../types/bytes.md) | Optional|The [computed password hash](https://core.telegram.org/api/srp)| +|hint|[string](../types/string.md) | Optional|Text hint for the password| +|email|[string](../types/string.md) | Optional|Password recovery email| + + + +### Type: [account.PasswordInputSettings](../types/account.PasswordInputSettings.md) + + +### Example: + +```php +$account.passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_salt' => 'bytes', 'new_password_hash' => 'bytes', 'hint' => 'string', 'email' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +account.passwordInputSettings={_='account.passwordInputSettings', new_salt='bytes', new_password_hash='bytes', hint='string', email='string'} + +``` + + diff --git a/old_docs/API_docs_v57/constructors/account.passwordSettings.md b/old_docs/API_docs_v57/constructors/account.passwordSettings.md new file mode 100644 index 00000000..be899d34 --- /dev/null +++ b/old_docs/API_docs_v57/constructors/account.passwordSettings.md @@ -0,0 +1,38 @@ +--- +title: account.passwordSettings +description: Private info associated to the password info (recovery email, telegram [passport](https://core.telegram.org/passport) info & so on) +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.passwordSettings +[Back to constructors index](index.md) + + + +Private info associated to the password info (recovery email, telegram [passport](https://core.telegram.org/passport) info & so on) + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|email|[string](../types/string.md) | Yes|[2FA Recovery email](https://core.telegram.org/api/srp#email-verification)| + + + +### Type: [account.PasswordSettings](../types/account.PasswordSettings.md) + + +### Example: + +```php +$account.passwordSettings = ['_' => 'account.passwordSettings', 'email' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +account.passwordSettings={_='account.passwordSettings', email='string'} + +``` + + diff --git a/old_docs/API_docs_v57/constructors/account.privacyRules.md b/old_docs/API_docs_v57/constructors/account.privacyRules.md new file mode 100644 index 00000000..7ae04abb --- /dev/null +++ b/old_docs/API_docs_v57/constructors/account.privacyRules.md @@ -0,0 +1,39 @@ +--- +title: account.privacyRules +description: Privacy rules +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.privacyRules +[Back to constructors index](index.md) + + + +Privacy rules + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|rules|Array of [PrivacyRule](../types/PrivacyRule.md) | Yes|Rules| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [account.PrivacyRules](../types/account.PrivacyRules.md) + + +### Example: + +```php +$account.privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule, PrivacyRule], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +account.privacyRules={_='account.privacyRules', rules={PrivacyRule}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v57/constructors/account_authorizations.md b/old_docs/API_docs_v57/constructors/account_authorizations.md deleted file mode 100644 index aeae48f3..00000000 --- a/old_docs/API_docs_v57/constructors/account_authorizations.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: account.authorizations -description: Logged-in sessions -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.authorizations -[Back to constructors index](index.md) - - - -Logged-in sessions - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|authorizations|Array of [Authorization](../types/Authorization.md) | Yes|Authorizations| - - - -### Type: [account\_Authorizations](../types/account_Authorizations.md) - - -### Example: - -```php -$account_authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization, Authorization]]; -``` - - -Or, if you're into Lua: - -```lua -account_authorizations={_='account.authorizations', authorizations={Authorization}} - -``` - - diff --git a/old_docs/API_docs_v57/constructors/account_noPassword.md b/old_docs/API_docs_v57/constructors/account_noPassword.md deleted file mode 100644 index 10ef7b2a..00000000 --- a/old_docs/API_docs_v57/constructors/account_noPassword.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: account.noPassword -description: No password -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.noPassword -[Back to constructors index](index.md) - - - -No password - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|new\_salt|[bytes](../types/bytes.md) | Yes|New salt| -|email\_unconfirmed\_pattern|[string](../types/string.md) | Yes|Email unconfirmed pattern| - - - -### Type: [account\_Password](../types/account_Password.md) - - -### Example: - -```php -$account_noPassword = ['_' => 'account.noPassword', 'new_salt' => 'bytes', 'email_unconfirmed_pattern' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -account_noPassword={_='account.noPassword', new_salt='bytes', email_unconfirmed_pattern='string'} - -``` - - diff --git a/old_docs/API_docs_v57/constructors/account_password.md b/old_docs/API_docs_v57/constructors/account_password.md deleted file mode 100644 index a9f512e8..00000000 --- a/old_docs/API_docs_v57/constructors/account_password.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: account.password -description: Configuration for two-factor authorization -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.password -[Back to constructors index](index.md) - - - -Configuration for two-factor authorization - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|current\_salt|[bytes](../types/bytes.md) | Yes|Current salt| -|new\_salt|[bytes](../types/bytes.md) | Yes|New salt| -|hint|[string](../types/string.md) | Yes|Text hint for the password| -|has\_recovery|[Bool](../types/Bool.md) | Yes|Has recovery?| -|email\_unconfirmed\_pattern|[string](../types/string.md) | Yes|A [password recovery email](https://core.telegram.org/api/srp#email-verification) with the specified [pattern](https://core.telegram.org/api/pattern) is still awaiting verification| - - - -### Type: [account\_Password](../types/account_Password.md) - - -### Example: - -```php -$account_password = ['_' => 'account.password', 'current_salt' => 'bytes', 'new_salt' => 'bytes', 'hint' => 'string', 'has_recovery' => Bool, 'email_unconfirmed_pattern' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -account_password={_='account.password', current_salt='bytes', new_salt='bytes', hint='string', has_recovery=Bool, email_unconfirmed_pattern='string'} - -``` - - diff --git a/old_docs/API_docs_v57/constructors/account_passwordInputSettings.md b/old_docs/API_docs_v57/constructors/account_passwordInputSettings.md deleted file mode 100644 index 05ec666b..00000000 --- a/old_docs/API_docs_v57/constructors/account_passwordInputSettings.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: account.passwordInputSettings -description: Settings for setting up a new password -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.passwordInputSettings -[Back to constructors index](index.md) - - - -Settings for setting up a new password - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|new\_salt|[bytes](../types/bytes.md) | Optional|`$new_salt = $MadelineProto->account->getPassword()['new_salt'].$MadelineProto->random(8);`| -|new\_password\_hash|[bytes](../types/bytes.md) | Optional|The [computed password hash](https://core.telegram.org/api/srp)| -|hint|[string](../types/string.md) | Optional|Text hint for the password| -|email|[string](../types/string.md) | Optional|Password recovery email| - - - -### Type: [account\_PasswordInputSettings](../types/account_PasswordInputSettings.md) - - -### Example: - -```php -$account_passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_salt' => 'bytes', 'new_password_hash' => 'bytes', 'hint' => 'string', 'email' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -account_passwordInputSettings={_='account.passwordInputSettings', new_salt='bytes', new_password_hash='bytes', hint='string', email='string'} - -``` - - diff --git a/old_docs/API_docs_v57/constructors/account_passwordSettings.md b/old_docs/API_docs_v57/constructors/account_passwordSettings.md deleted file mode 100644 index e22f9cc4..00000000 --- a/old_docs/API_docs_v57/constructors/account_passwordSettings.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: account.passwordSettings -description: Private info associated to the password info (recovery email, telegram [passport](https://core.telegram.org/passport) info & so on) -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.passwordSettings -[Back to constructors index](index.md) - - - -Private info associated to the password info (recovery email, telegram [passport](https://core.telegram.org/passport) info & so on) - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|email|[string](../types/string.md) | Yes|[2FA Recovery email](https://core.telegram.org/api/srp#email-verification)| - - - -### Type: [account\_PasswordSettings](../types/account_PasswordSettings.md) - - -### Example: - -```php -$account_passwordSettings = ['_' => 'account.passwordSettings', 'email' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -account_passwordSettings={_='account.passwordSettings', email='string'} - -``` - - diff --git a/old_docs/API_docs_v57/constructors/account_privacyRules.md b/old_docs/API_docs_v57/constructors/account_privacyRules.md deleted file mode 100644 index 28b260b7..00000000 --- a/old_docs/API_docs_v57/constructors/account_privacyRules.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: account.privacyRules -description: Privacy rules -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.privacyRules -[Back to constructors index](index.md) - - - -Privacy rules - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|rules|Array of [PrivacyRule](../types/PrivacyRule.md) | Yes|Rules| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [account\_PrivacyRules](../types/account_PrivacyRules.md) - - -### Example: - -```php -$account_privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule, PrivacyRule], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -account_privacyRules={_='account.privacyRules', rules={PrivacyRule}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v57/constructors/auth.authorization.md b/old_docs/API_docs_v57/constructors/auth.authorization.md new file mode 100644 index 00000000..2a84bb12 --- /dev/null +++ b/old_docs/API_docs_v57/constructors/auth.authorization.md @@ -0,0 +1,39 @@ +--- +title: auth.authorization +description: Contains user authorization info. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.authorization +[Back to constructors index](index.md) + + + +Contains user authorization info. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|tmp\_sessions|[int](../types/int.md) | Optional|Temporary [passport](https://core.telegram.org/passport) sessions| +|user|[User](../types/User.md) | Optional|Info on authorized user| + + + +### Type: [auth.Authorization](../types/auth.Authorization.md) + + +### Example: + +```php +$auth.authorization = ['_' => 'auth.authorization', 'tmp_sessions' => int, 'user' => User]; +``` + + +Or, if you're into Lua: + +```lua +auth.authorization={_='auth.authorization', tmp_sessions=int, user=User} + +``` + + diff --git a/old_docs/API_docs_v57/constructors/auth.checkedPhone.md b/old_docs/API_docs_v57/constructors/auth.checkedPhone.md new file mode 100644 index 00000000..23e84cf9 --- /dev/null +++ b/old_docs/API_docs_v57/constructors/auth.checkedPhone.md @@ -0,0 +1,38 @@ +--- +title: auth.checkedPhone +description: Checked phone +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.checkedPhone +[Back to constructors index](index.md) + + + +Checked phone + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_registered|[Bool](../types/Bool.md) | Yes|Phone registered?| + + + +### Type: [auth.CheckedPhone](../types/auth.CheckedPhone.md) + + +### Example: + +```php +$auth.checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool]; +``` + + +Or, if you're into Lua: + +```lua +auth.checkedPhone={_='auth.checkedPhone', phone_registered=Bool} + +``` + + diff --git a/old_docs/API_docs_v57/constructors/auth.codeTypeCall.md b/old_docs/API_docs_v57/constructors/auth.codeTypeCall.md new file mode 100644 index 00000000..4b4a1cdc --- /dev/null +++ b/old_docs/API_docs_v57/constructors/auth.codeTypeCall.md @@ -0,0 +1,33 @@ +--- +title: auth.codeTypeCall +description: Type of verification code that will be sent next if you call the resendCode method: SMS code +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.codeTypeCall +[Back to constructors index](index.md) + + + +Type of verification code that will be sent next if you call the resendCode method: SMS code + + + + +### Type: [auth.CodeType](../types/auth.CodeType.md) + + +### Example: + +```php +$auth.codeTypeCall = ['_' => 'auth.codeTypeCall']; +``` + + +Or, if you're into Lua: + +```lua +auth.codeTypeCall={_='auth.codeTypeCall'} + +``` + + diff --git a/old_docs/API_docs_v57/constructors/auth.codeTypeFlashCall.md b/old_docs/API_docs_v57/constructors/auth.codeTypeFlashCall.md new file mode 100644 index 00000000..ef97e034 --- /dev/null +++ b/old_docs/API_docs_v57/constructors/auth.codeTypeFlashCall.md @@ -0,0 +1,33 @@ +--- +title: auth.codeTypeFlashCall +description: Type of verification code that will be sent next if you call the resendCode method: SMS code +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.codeTypeFlashCall +[Back to constructors index](index.md) + + + +Type of verification code that will be sent next if you call the resendCode method: SMS code + + + + +### Type: [auth.CodeType](../types/auth.CodeType.md) + + +### Example: + +```php +$auth.codeTypeFlashCall = ['_' => 'auth.codeTypeFlashCall']; +``` + + +Or, if you're into Lua: + +```lua +auth.codeTypeFlashCall={_='auth.codeTypeFlashCall'} + +``` + + diff --git a/old_docs/API_docs_v57/constructors/auth.codeTypeSms.md b/old_docs/API_docs_v57/constructors/auth.codeTypeSms.md new file mode 100644 index 00000000..bab9a5a4 --- /dev/null +++ b/old_docs/API_docs_v57/constructors/auth.codeTypeSms.md @@ -0,0 +1,33 @@ +--- +title: auth.codeTypeSms +description: Type of verification code that will be sent next if you call the resendCode method: SMS code +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.codeTypeSms +[Back to constructors index](index.md) + + + +Type of verification code that will be sent next if you call the resendCode method: SMS code + + + + +### Type: [auth.CodeType](../types/auth.CodeType.md) + + +### Example: + +```php +$auth.codeTypeSms = ['_' => 'auth.codeTypeSms']; +``` + + +Or, if you're into Lua: + +```lua +auth.codeTypeSms={_='auth.codeTypeSms'} + +``` + + diff --git a/old_docs/API_docs_v57/constructors/auth.exportedAuthorization.md b/old_docs/API_docs_v57/constructors/auth.exportedAuthorization.md new file mode 100644 index 00000000..2a4a9896 --- /dev/null +++ b/old_docs/API_docs_v57/constructors/auth.exportedAuthorization.md @@ -0,0 +1,39 @@ +--- +title: auth.exportedAuthorization +description: Data for copying of authorization between data centres. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.exportedAuthorization +[Back to constructors index](index.md) + + + +Data for copying of authorization between data centres. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|id|[int](../types/int.md) | Yes|Current user identifier| +|bytes|[bytes](../types/bytes.md) | Yes|Authorizes key| + + + +### Type: [auth.ExportedAuthorization](../types/auth.ExportedAuthorization.md) + + +### Example: + +```php +$auth.exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +auth.exportedAuthorization={_='auth.exportedAuthorization', id=int, bytes='bytes'} + +``` + + diff --git a/old_docs/API_docs_v57/constructors/auth.passwordRecovery.md b/old_docs/API_docs_v57/constructors/auth.passwordRecovery.md new file mode 100644 index 00000000..61de922d --- /dev/null +++ b/old_docs/API_docs_v57/constructors/auth.passwordRecovery.md @@ -0,0 +1,38 @@ +--- +title: auth.passwordRecovery +description: Recovery info of a [2FA password](https://core.telegram.org/api/srp), only for accounts with a [recovery email configured](https://core.telegram.org/api/srp#email-verification). +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.passwordRecovery +[Back to constructors index](index.md) + + + +Recovery info of a [2FA password](https://core.telegram.org/api/srp), only for accounts with a [recovery email configured](https://core.telegram.org/api/srp#email-verification). + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|email\_pattern|[string](../types/string.md) | Yes|The email to which the recovery code was sent must match this [pattern](https://core.telegram.org/api/pattern).| + + + +### Type: [auth.PasswordRecovery](../types/auth.PasswordRecovery.md) + + +### Example: + +```php +$auth.passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +auth.passwordRecovery={_='auth.passwordRecovery', email_pattern='string'} + +``` + + diff --git a/old_docs/API_docs_v57/constructors/auth.sentCode.md b/old_docs/API_docs_v57/constructors/auth.sentCode.md new file mode 100644 index 00000000..25e94704 --- /dev/null +++ b/old_docs/API_docs_v57/constructors/auth.sentCode.md @@ -0,0 +1,42 @@ +--- +title: auth.sentCode +description: Contains info about a sent verification code. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentCode +[Back to constructors index](index.md) + + + +Contains info about a sent verification code. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_registered|[Bool](../types/Bool.md) | Optional|Phone registered?| +|type|[auth.SentCodeType](../constructors/auth.SentCodeType.md) | Yes|Phone code type| +|phone\_code\_hash|[string](../types/string.md) | Yes|Phone code hash, to be stored and later re-used with [auth.signIn](../methods/auth.signIn.md)| +|next\_type|[auth.CodeType](../constructors/auth.CodeType.md) | Optional|Phone code type that will be sent next, if the phone code is not received within `timeout` seconds: to send it use [auth.resendCode](../methods/auth.resendCode.md)| +|timeout|[int](../types/int.md) | Optional|Timeout for reception of the phone code| + + + +### Type: [auth.SentCode](../types/auth.SentCode.md) + + +### Example: + +```php +$auth.sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'type' => auth.SentCodeType, 'phone_code_hash' => 'string', 'next_type' => auth.CodeType, 'timeout' => int]; +``` + + +Or, if you're into Lua: + +```lua +auth.sentCode={_='auth.sentCode', phone_registered=Bool, type=auth.SentCodeType, phone_code_hash='string', next_type=auth.CodeType, timeout=int} + +``` + + diff --git a/old_docs/API_docs_v57/constructors/auth.sentCodeTypeApp.md b/old_docs/API_docs_v57/constructors/auth.sentCodeTypeApp.md new file mode 100644 index 00000000..5f2d4aa3 --- /dev/null +++ b/old_docs/API_docs_v57/constructors/auth.sentCodeTypeApp.md @@ -0,0 +1,38 @@ +--- +title: auth.sentCodeTypeApp +description: The code was sent through the telegram app +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentCodeTypeApp +[Back to constructors index](index.md) + + + +The code was sent through the telegram app + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|length|[int](../types/int.md) | Yes|Length of the code in bytes| + + + +### Type: [auth.SentCodeType](../types/auth.SentCodeType.md) + + +### Example: + +```php +$auth.sentCodeTypeApp = ['_' => 'auth.sentCodeTypeApp', 'length' => int]; +``` + + +Or, if you're into Lua: + +```lua +auth.sentCodeTypeApp={_='auth.sentCodeTypeApp', length=int} + +``` + + diff --git a/old_docs/API_docs_v57/constructors/auth.sentCodeTypeCall.md b/old_docs/API_docs_v57/constructors/auth.sentCodeTypeCall.md new file mode 100644 index 00000000..9843b3df --- /dev/null +++ b/old_docs/API_docs_v57/constructors/auth.sentCodeTypeCall.md @@ -0,0 +1,38 @@ +--- +title: auth.sentCodeTypeCall +description: The code will be sent via a phone call: a synthesized voice will tell the user which verification code to input. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentCodeTypeCall +[Back to constructors index](index.md) + + + +The code will be sent via a phone call: a synthesized voice will tell the user which verification code to input. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|length|[int](../types/int.md) | Yes|Length of the verification code| + + + +### Type: [auth.SentCodeType](../types/auth.SentCodeType.md) + + +### Example: + +```php +$auth.sentCodeTypeCall = ['_' => 'auth.sentCodeTypeCall', 'length' => int]; +``` + + +Or, if you're into Lua: + +```lua +auth.sentCodeTypeCall={_='auth.sentCodeTypeCall', length=int} + +``` + + diff --git a/old_docs/API_docs_v57/constructors/auth.sentCodeTypeFlashCall.md b/old_docs/API_docs_v57/constructors/auth.sentCodeTypeFlashCall.md new file mode 100644 index 00000000..0d24751d --- /dev/null +++ b/old_docs/API_docs_v57/constructors/auth.sentCodeTypeFlashCall.md @@ -0,0 +1,38 @@ +--- +title: auth.sentCodeTypeFlashCall +description: The code will be sent via a flash phone call, that will be closed immediately. The phone code will then be the phone number itself, just make sure that the phone number matches the specified pattern. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentCodeTypeFlashCall +[Back to constructors index](index.md) + + + +The code will be sent via a flash phone call, that will be closed immediately. The phone code will then be the phone number itself, just make sure that the phone number matches the specified pattern. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pattern|[string](../types/string.md) | Yes|[pattern](https://core.telegram.org/api/pattern) to match| + + + +### Type: [auth.SentCodeType](../types/auth.SentCodeType.md) + + +### Example: + +```php +$auth.sentCodeTypeFlashCall = ['_' => 'auth.sentCodeTypeFlashCall', 'pattern' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +auth.sentCodeTypeFlashCall={_='auth.sentCodeTypeFlashCall', pattern='string'} + +``` + + diff --git a/old_docs/API_docs_v57/constructors/auth.sentCodeTypeSms.md b/old_docs/API_docs_v57/constructors/auth.sentCodeTypeSms.md new file mode 100644 index 00000000..d8ecb75e --- /dev/null +++ b/old_docs/API_docs_v57/constructors/auth.sentCodeTypeSms.md @@ -0,0 +1,38 @@ +--- +title: auth.sentCodeTypeSms +description: The code was sent via SMS +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentCodeTypeSms +[Back to constructors index](index.md) + + + +The code was sent via SMS + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|length|[int](../types/int.md) | Yes|Length of the code in bytes| + + + +### Type: [auth.SentCodeType](../types/auth.SentCodeType.md) + + +### Example: + +```php +$auth.sentCodeTypeSms = ['_' => 'auth.sentCodeTypeSms', 'length' => int]; +``` + + +Or, if you're into Lua: + +```lua +auth.sentCodeTypeSms={_='auth.sentCodeTypeSms', length=int} + +``` + + diff --git a/old_docs/API_docs_v57/constructors/auth_authorization.md b/old_docs/API_docs_v57/constructors/auth_authorization.md deleted file mode 100644 index cb72811d..00000000 --- a/old_docs/API_docs_v57/constructors/auth_authorization.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: auth.authorization -description: Contains user authorization info. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.authorization -[Back to constructors index](index.md) - - - -Contains user authorization info. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|tmp\_sessions|[int](../types/int.md) | Optional|Temporary [passport](https://core.telegram.org/passport) sessions| -|user|[User](../types/User.md) | Optional|Info on authorized user| - - - -### Type: [auth\_Authorization](../types/auth_Authorization.md) - - -### Example: - -```php -$auth_authorization = ['_' => 'auth.authorization', 'tmp_sessions' => int, 'user' => User]; -``` - - -Or, if you're into Lua: - -```lua -auth_authorization={_='auth.authorization', tmp_sessions=int, user=User} - -``` - - diff --git a/old_docs/API_docs_v57/constructors/auth_checkedPhone.md b/old_docs/API_docs_v57/constructors/auth_checkedPhone.md deleted file mode 100644 index c77becf6..00000000 --- a/old_docs/API_docs_v57/constructors/auth_checkedPhone.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.checkedPhone -description: Checked phone -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.checkedPhone -[Back to constructors index](index.md) - - - -Checked phone - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_registered|[Bool](../types/Bool.md) | Yes|Phone registered?| - - - -### Type: [auth\_CheckedPhone](../types/auth_CheckedPhone.md) - - -### Example: - -```php -$auth_checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool]; -``` - - -Or, if you're into Lua: - -```lua -auth_checkedPhone={_='auth.checkedPhone', phone_registered=Bool} - -``` - - diff --git a/old_docs/API_docs_v57/constructors/auth_codeTypeCall.md b/old_docs/API_docs_v57/constructors/auth_codeTypeCall.md deleted file mode 100644 index 3e957c2a..00000000 --- a/old_docs/API_docs_v57/constructors/auth_codeTypeCall.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: auth.codeTypeCall -description: Type of verification code that will be sent next if you call the resendCode method: SMS code -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.codeTypeCall -[Back to constructors index](index.md) - - - -Type of verification code that will be sent next if you call the resendCode method: SMS code - - - - -### Type: [auth\_CodeType](../types/auth_CodeType.md) - - -### Example: - -```php -$auth_codeTypeCall = ['_' => 'auth.codeTypeCall']; -``` - - -Or, if you're into Lua: - -```lua -auth_codeTypeCall={_='auth.codeTypeCall'} - -``` - - diff --git a/old_docs/API_docs_v57/constructors/auth_codeTypeFlashCall.md b/old_docs/API_docs_v57/constructors/auth_codeTypeFlashCall.md deleted file mode 100644 index 981b2461..00000000 --- a/old_docs/API_docs_v57/constructors/auth_codeTypeFlashCall.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: auth.codeTypeFlashCall -description: Type of verification code that will be sent next if you call the resendCode method: SMS code -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.codeTypeFlashCall -[Back to constructors index](index.md) - - - -Type of verification code that will be sent next if you call the resendCode method: SMS code - - - - -### Type: [auth\_CodeType](../types/auth_CodeType.md) - - -### Example: - -```php -$auth_codeTypeFlashCall = ['_' => 'auth.codeTypeFlashCall']; -``` - - -Or, if you're into Lua: - -```lua -auth_codeTypeFlashCall={_='auth.codeTypeFlashCall'} - -``` - - diff --git a/old_docs/API_docs_v57/constructors/auth_codeTypeSms.md b/old_docs/API_docs_v57/constructors/auth_codeTypeSms.md deleted file mode 100644 index 16eb5d0d..00000000 --- a/old_docs/API_docs_v57/constructors/auth_codeTypeSms.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: auth.codeTypeSms -description: Type of verification code that will be sent next if you call the resendCode method: SMS code -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.codeTypeSms -[Back to constructors index](index.md) - - - -Type of verification code that will be sent next if you call the resendCode method: SMS code - - - - -### Type: [auth\_CodeType](../types/auth_CodeType.md) - - -### Example: - -```php -$auth_codeTypeSms = ['_' => 'auth.codeTypeSms']; -``` - - -Or, if you're into Lua: - -```lua -auth_codeTypeSms={_='auth.codeTypeSms'} - -``` - - diff --git a/old_docs/API_docs_v57/constructors/auth_exportedAuthorization.md b/old_docs/API_docs_v57/constructors/auth_exportedAuthorization.md deleted file mode 100644 index 8d18916e..00000000 --- a/old_docs/API_docs_v57/constructors/auth_exportedAuthorization.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: auth.exportedAuthorization -description: Data for copying of authorization between data centres. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.exportedAuthorization -[Back to constructors index](index.md) - - - -Data for copying of authorization between data centres. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|id|[int](../types/int.md) | Yes|Current user identifier| -|bytes|[bytes](../types/bytes.md) | Yes|Authorizes key| - - - -### Type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) - - -### Example: - -```php -$auth_exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -auth_exportedAuthorization={_='auth.exportedAuthorization', id=int, bytes='bytes'} - -``` - - diff --git a/old_docs/API_docs_v57/constructors/auth_passwordRecovery.md b/old_docs/API_docs_v57/constructors/auth_passwordRecovery.md deleted file mode 100644 index c40f375e..00000000 --- a/old_docs/API_docs_v57/constructors/auth_passwordRecovery.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.passwordRecovery -description: Recovery info of a [2FA password](https://core.telegram.org/api/srp), only for accounts with a [recovery email configured](https://core.telegram.org/api/srp#email-verification). -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.passwordRecovery -[Back to constructors index](index.md) - - - -Recovery info of a [2FA password](https://core.telegram.org/api/srp), only for accounts with a [recovery email configured](https://core.telegram.org/api/srp#email-verification). - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|email\_pattern|[string](../types/string.md) | Yes|The email to which the recovery code was sent must match this [pattern](https://core.telegram.org/api/pattern).| - - - -### Type: [auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) - - -### Example: - -```php -$auth_passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -auth_passwordRecovery={_='auth.passwordRecovery', email_pattern='string'} - -``` - - diff --git a/old_docs/API_docs_v57/constructors/auth_sentCode.md b/old_docs/API_docs_v57/constructors/auth_sentCode.md deleted file mode 100644 index 622c4137..00000000 --- a/old_docs/API_docs_v57/constructors/auth_sentCode.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: auth.sentCode -description: Contains info about a sent verification code. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentCode -[Back to constructors index](index.md) - - - -Contains info about a sent verification code. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_registered|[Bool](../types/Bool.md) | Optional|Phone registered?| -|type|[auth\_SentCodeType](../types/auth_SentCodeType.md) | Yes|Phone code type| -|phone\_code\_hash|[string](../types/string.md) | Yes|Phone code hash, to be stored and later re-used with [auth.signIn](../methods/auth.signIn.md)| -|next\_type|[auth\_CodeType](../types/auth_CodeType.md) | Optional|Phone code type that will be sent next, if the phone code is not received within `timeout` seconds: to send it use [auth.resendCode](../methods/auth.resendCode.md)| -|timeout|[int](../types/int.md) | Optional|Timeout for reception of the phone code| - - - -### Type: [auth\_SentCode](../types/auth_SentCode.md) - - -### Example: - -```php -$auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'type' => auth_SentCodeType, 'phone_code_hash' => 'string', 'next_type' => auth_CodeType, 'timeout' => int]; -``` - - -Or, if you're into Lua: - -```lua -auth_sentCode={_='auth.sentCode', phone_registered=Bool, type=auth_SentCodeType, phone_code_hash='string', next_type=auth_CodeType, timeout=int} - -``` - - diff --git a/old_docs/API_docs_v57/constructors/auth_sentCodeTypeApp.md b/old_docs/API_docs_v57/constructors/auth_sentCodeTypeApp.md deleted file mode 100644 index 6b7ad824..00000000 --- a/old_docs/API_docs_v57/constructors/auth_sentCodeTypeApp.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.sentCodeTypeApp -description: The code was sent through the telegram app -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentCodeTypeApp -[Back to constructors index](index.md) - - - -The code was sent through the telegram app - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|length|[int](../types/int.md) | Yes|Length of the code in bytes| - - - -### Type: [auth\_SentCodeType](../types/auth_SentCodeType.md) - - -### Example: - -```php -$auth_sentCodeTypeApp = ['_' => 'auth.sentCodeTypeApp', 'length' => int]; -``` - - -Or, if you're into Lua: - -```lua -auth_sentCodeTypeApp={_='auth.sentCodeTypeApp', length=int} - -``` - - diff --git a/old_docs/API_docs_v57/constructors/auth_sentCodeTypeCall.md b/old_docs/API_docs_v57/constructors/auth_sentCodeTypeCall.md deleted file mode 100644 index bf025aa5..00000000 --- a/old_docs/API_docs_v57/constructors/auth_sentCodeTypeCall.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.sentCodeTypeCall -description: The code will be sent via a phone call: a synthesized voice will tell the user which verification code to input. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentCodeTypeCall -[Back to constructors index](index.md) - - - -The code will be sent via a phone call: a synthesized voice will tell the user which verification code to input. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|length|[int](../types/int.md) | Yes|Length of the verification code| - - - -### Type: [auth\_SentCodeType](../types/auth_SentCodeType.md) - - -### Example: - -```php -$auth_sentCodeTypeCall = ['_' => 'auth.sentCodeTypeCall', 'length' => int]; -``` - - -Or, if you're into Lua: - -```lua -auth_sentCodeTypeCall={_='auth.sentCodeTypeCall', length=int} - -``` - - diff --git a/old_docs/API_docs_v57/constructors/auth_sentCodeTypeFlashCall.md b/old_docs/API_docs_v57/constructors/auth_sentCodeTypeFlashCall.md deleted file mode 100644 index efe64ce7..00000000 --- a/old_docs/API_docs_v57/constructors/auth_sentCodeTypeFlashCall.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.sentCodeTypeFlashCall -description: The code will be sent via a flash phone call, that will be closed immediately. The phone code will then be the phone number itself, just make sure that the phone number matches the specified pattern. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentCodeTypeFlashCall -[Back to constructors index](index.md) - - - -The code will be sent via a flash phone call, that will be closed immediately. The phone code will then be the phone number itself, just make sure that the phone number matches the specified pattern. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pattern|[string](../types/string.md) | Yes|[pattern](https://core.telegram.org/api/pattern) to match| - - - -### Type: [auth\_SentCodeType](../types/auth_SentCodeType.md) - - -### Example: - -```php -$auth_sentCodeTypeFlashCall = ['_' => 'auth.sentCodeTypeFlashCall', 'pattern' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -auth_sentCodeTypeFlashCall={_='auth.sentCodeTypeFlashCall', pattern='string'} - -``` - - diff --git a/old_docs/API_docs_v57/constructors/auth_sentCodeTypeSms.md b/old_docs/API_docs_v57/constructors/auth_sentCodeTypeSms.md deleted file mode 100644 index 8e27dac9..00000000 --- a/old_docs/API_docs_v57/constructors/auth_sentCodeTypeSms.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.sentCodeTypeSms -description: The code was sent via SMS -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentCodeTypeSms -[Back to constructors index](index.md) - - - -The code was sent via SMS - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|length|[int](../types/int.md) | Yes|Length of the code in bytes| - - - -### Type: [auth\_SentCodeType](../types/auth_SentCodeType.md) - - -### Example: - -```php -$auth_sentCodeTypeSms = ['_' => 'auth.sentCodeTypeSms', 'length' => int]; -``` - - -Or, if you're into Lua: - -```lua -auth_sentCodeTypeSms={_='auth.sentCodeTypeSms', length=int} - -``` - - diff --git a/old_docs/API_docs_v57/constructors/channels.channelParticipant.md b/old_docs/API_docs_v57/constructors/channels.channelParticipant.md new file mode 100644 index 00000000..0f09777f --- /dev/null +++ b/old_docs/API_docs_v57/constructors/channels.channelParticipant.md @@ -0,0 +1,39 @@ +--- +title: channels.channelParticipant +description: Represents a channel participant +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: channels.channelParticipant +[Back to constructors index](index.md) + + + +Represents a channel participant + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|participant|[ChannelParticipant](../types/ChannelParticipant.md) | Yes|The channel participant| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [channels.ChannelParticipant](../types/channels.ChannelParticipant.md) + + +### Example: + +```php +$channels.channelParticipant = ['_' => 'channels.channelParticipant', 'participant' => ChannelParticipant, 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +channels.channelParticipant={_='channels.channelParticipant', participant=ChannelParticipant, users={User}} + +``` + + diff --git a/old_docs/API_docs_v57/constructors/channels.channelParticipants.md b/old_docs/API_docs_v57/constructors/channels.channelParticipants.md new file mode 100644 index 00000000..6ee1a8b3 --- /dev/null +++ b/old_docs/API_docs_v57/constructors/channels.channelParticipants.md @@ -0,0 +1,40 @@ +--- +title: channels.channelParticipants +description: Represents multiple channel participants +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: channels.channelParticipants +[Back to constructors index](index.md) + + + +Represents multiple channel participants + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of participants that correspond to the given query| +|participants|Array of [ChannelParticipant](../types/ChannelParticipant.md) | Yes|Participants| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [channels.ChannelParticipants](../types/channels.ChannelParticipants.md) + + +### Example: + +```php +$channels.channelParticipants = ['_' => 'channels.channelParticipants', 'count' => int, 'participants' => [ChannelParticipant, ChannelParticipant], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +channels.channelParticipants={_='channels.channelParticipants', count=int, participants={ChannelParticipant}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v57/constructors/channels_channelParticipant.md b/old_docs/API_docs_v57/constructors/channels_channelParticipant.md deleted file mode 100644 index 15fe46a4..00000000 --- a/old_docs/API_docs_v57/constructors/channels_channelParticipant.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: channels.channelParticipant -description: Represents a channel participant -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: channels.channelParticipant -[Back to constructors index](index.md) - - - -Represents a channel participant - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|participant|[ChannelParticipant](../types/ChannelParticipant.md) | Yes|The channel participant| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [channels\_ChannelParticipant](../types/channels_ChannelParticipant.md) - - -### Example: - -```php -$channels_channelParticipant = ['_' => 'channels.channelParticipant', 'participant' => ChannelParticipant, 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -channels_channelParticipant={_='channels.channelParticipant', participant=ChannelParticipant, users={User}} - -``` - - diff --git a/old_docs/API_docs_v57/constructors/channels_channelParticipants.md b/old_docs/API_docs_v57/constructors/channels_channelParticipants.md deleted file mode 100644 index 1848a04f..00000000 --- a/old_docs/API_docs_v57/constructors/channels_channelParticipants.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: channels.channelParticipants -description: Represents multiple channel participants -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: channels.channelParticipants -[Back to constructors index](index.md) - - - -Represents multiple channel participants - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of participants that correspond to the given query| -|participants|Array of [ChannelParticipant](../types/ChannelParticipant.md) | Yes|Participants| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [channels\_ChannelParticipants](../types/channels_ChannelParticipants.md) - - -### Example: - -```php -$channels_channelParticipants = ['_' => 'channels.channelParticipants', 'count' => int, 'participants' => [ChannelParticipant, ChannelParticipant], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -channels_channelParticipants={_='channels.channelParticipants', count=int, participants={ChannelParticipant}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v57/constructors/contacts.blocked.md b/old_docs/API_docs_v57/constructors/contacts.blocked.md new file mode 100644 index 00000000..d2b3f680 --- /dev/null +++ b/old_docs/API_docs_v57/constructors/contacts.blocked.md @@ -0,0 +1,39 @@ +--- +title: contacts.blocked +description: Full list of blocked users. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.blocked +[Back to constructors index](index.md) + + + +Full list of blocked users. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Blocked](../types/contacts.Blocked.md) + + +### Example: + +```php +$contacts.blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.blocked={_='contacts.blocked', blocked={ContactBlocked}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v57/constructors/contacts.blockedSlice.md b/old_docs/API_docs_v57/constructors/contacts.blockedSlice.md new file mode 100644 index 00000000..92d19c72 --- /dev/null +++ b/old_docs/API_docs_v57/constructors/contacts.blockedSlice.md @@ -0,0 +1,40 @@ +--- +title: contacts.blockedSlice +description: Incomplete list of blocked users. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.blockedSlice +[Back to constructors index](index.md) + + + +Incomplete list of blocked users. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of elements in the list| +|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Blocked](../types/contacts.Blocked.md) + + +### Example: + +```php +$contacts.blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.blockedSlice={_='contacts.blockedSlice', count=int, blocked={ContactBlocked}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v57/constructors/contacts.contacts.md b/old_docs/API_docs_v57/constructors/contacts.contacts.md new file mode 100644 index 00000000..d4ccc018 --- /dev/null +++ b/old_docs/API_docs_v57/constructors/contacts.contacts.md @@ -0,0 +1,39 @@ +--- +title: contacts.contacts +description: The current user's contact list and info on users. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.contacts +[Back to constructors index](index.md) + + + +The current user's contact list and info on users. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|contacts|Array of [Contact](../types/Contact.md) | Yes|Contacts| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Contacts](../types/contacts.Contacts.md) + + +### Example: + +```php +$contacts.contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact, Contact], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.contacts={_='contacts.contacts', contacts={Contact}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v57/constructors/contacts.contactsNotModified.md b/old_docs/API_docs_v57/constructors/contacts.contactsNotModified.md new file mode 100644 index 00000000..e2149396 --- /dev/null +++ b/old_docs/API_docs_v57/constructors/contacts.contactsNotModified.md @@ -0,0 +1,33 @@ +--- +title: contacts.contactsNotModified +description: Contact list on the server is the same as the list on the client. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.contactsNotModified +[Back to constructors index](index.md) + + + +Contact list on the server is the same as the list on the client. + + + + +### Type: [contacts.Contacts](../types/contacts.Contacts.md) + + +### Example: + +```php +$contacts.contactsNotModified = ['_' => 'contacts.contactsNotModified']; +``` + + +Or, if you're into Lua: + +```lua +contacts.contactsNotModified={_='contacts.contactsNotModified'} + +``` + + diff --git a/old_docs/API_docs_v57/constructors/contacts.found.md b/old_docs/API_docs_v57/constructors/contacts.found.md new file mode 100644 index 00000000..1eaa93b7 --- /dev/null +++ b/old_docs/API_docs_v57/constructors/contacts.found.md @@ -0,0 +1,40 @@ +--- +title: contacts.found +description: Users found by name substring and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.found +[Back to constructors index](index.md) + + + +Users found by name substring and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|results|Array of [Peer](../types/Peer.md) | Yes|Results| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Found](../types/contacts.Found.md) + + +### Example: + +```php +$contacts.found = ['_' => 'contacts.found', 'results' => [Peer, Peer], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.found={_='contacts.found', results={Peer}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v57/constructors/contacts.importedContacts.md b/old_docs/API_docs_v57/constructors/contacts.importedContacts.md new file mode 100644 index 00000000..1cbff59a --- /dev/null +++ b/old_docs/API_docs_v57/constructors/contacts.importedContacts.md @@ -0,0 +1,40 @@ +--- +title: contacts.importedContacts +description: Info on succesfully imported contacts. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.importedContacts +[Back to constructors index](index.md) + + + +Info on succesfully imported contacts. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|imported|Array of [ImportedContact](../types/ImportedContact.md) | Yes|Imported| +|retry\_contacts|Array of [long](../types/long.md) | Yes|Retry importing contacts whose client IDs appear here| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.ImportedContacts](../types/contacts.ImportedContacts.md) + + +### Example: + +```php +$contacts.importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact, ImportedContact], 'retry_contacts' => [long, long], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.importedContacts={_='contacts.importedContacts', imported={ImportedContact}, retry_contacts={long}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v57/constructors/contacts.link.md b/old_docs/API_docs_v57/constructors/contacts.link.md new file mode 100644 index 00000000..ab150a0d --- /dev/null +++ b/old_docs/API_docs_v57/constructors/contacts.link.md @@ -0,0 +1,40 @@ +--- +title: contacts.link +description: Link +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.link +[Back to constructors index](index.md) + + + +Link + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|my\_link|[ContactLink](../types/ContactLink.md) | Yes|My link| +|foreign\_link|[ContactLink](../types/ContactLink.md) | Yes|Foreign link| +|user|[User](../types/User.md) | Optional|User| + + + +### Type: [contacts.Link](../types/contacts.Link.md) + + +### Example: + +```php +$contacts.link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User]; +``` + + +Or, if you're into Lua: + +```lua +contacts.link={_='contacts.link', my_link=ContactLink, foreign_link=ContactLink, user=User} + +``` + + diff --git a/old_docs/API_docs_v57/constructors/contacts.resolvedPeer.md b/old_docs/API_docs_v57/constructors/contacts.resolvedPeer.md new file mode 100644 index 00000000..35d88481 --- /dev/null +++ b/old_docs/API_docs_v57/constructors/contacts.resolvedPeer.md @@ -0,0 +1,40 @@ +--- +title: contacts.resolvedPeer +description: Resolved peer +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.resolvedPeer +[Back to constructors index](index.md) + + + +Resolved peer + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|peer|[Peer](../types/Peer.md) | Yes|The peer| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.ResolvedPeer](../types/contacts.ResolvedPeer.md) + + +### Example: + +```php +$contacts.resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.resolvedPeer={_='contacts.resolvedPeer', peer=Peer, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v57/constructors/contacts.topPeers.md b/old_docs/API_docs_v57/constructors/contacts.topPeers.md new file mode 100644 index 00000000..19d9c712 --- /dev/null +++ b/old_docs/API_docs_v57/constructors/contacts.topPeers.md @@ -0,0 +1,40 @@ +--- +title: contacts.topPeers +description: Top peers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.topPeers +[Back to constructors index](index.md) + + + +Top peers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|categories|Array of [TopPeerCategoryPeers](../types/TopPeerCategoryPeers.md) | Yes|Categories| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.TopPeers](../types/contacts.TopPeers.md) + + +### Example: + +```php +$contacts.topPeers = ['_' => 'contacts.topPeers', 'categories' => [TopPeerCategoryPeers, TopPeerCategoryPeers], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.topPeers={_='contacts.topPeers', categories={TopPeerCategoryPeers}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v57/constructors/contacts.topPeersNotModified.md b/old_docs/API_docs_v57/constructors/contacts.topPeersNotModified.md new file mode 100644 index 00000000..77c5eb4d --- /dev/null +++ b/old_docs/API_docs_v57/constructors/contacts.topPeersNotModified.md @@ -0,0 +1,33 @@ +--- +title: contacts.topPeersNotModified +description: Top peer info hasn't changed +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.topPeersNotModified +[Back to constructors index](index.md) + + + +Top peer info hasn't changed + + + + +### Type: [contacts.TopPeers](../types/contacts.TopPeers.md) + + +### Example: + +```php +$contacts.topPeersNotModified = ['_' => 'contacts.topPeersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +contacts.topPeersNotModified={_='contacts.topPeersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v57/constructors/contacts_blocked.md b/old_docs/API_docs_v57/constructors/contacts_blocked.md deleted file mode 100644 index 20e33002..00000000 --- a/old_docs/API_docs_v57/constructors/contacts_blocked.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: contacts.blocked -description: Full list of blocked users. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.blocked -[Back to constructors index](index.md) - - - -Full list of blocked users. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Blocked](../types/contacts_Blocked.md) - - -### Example: - -```php -$contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_blocked={_='contacts.blocked', blocked={ContactBlocked}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v57/constructors/contacts_blockedSlice.md b/old_docs/API_docs_v57/constructors/contacts_blockedSlice.md deleted file mode 100644 index fcab9a28..00000000 --- a/old_docs/API_docs_v57/constructors/contacts_blockedSlice.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.blockedSlice -description: Incomplete list of blocked users. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.blockedSlice -[Back to constructors index](index.md) - - - -Incomplete list of blocked users. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of elements in the list| -|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Blocked](../types/contacts_Blocked.md) - - -### Example: - -```php -$contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_blockedSlice={_='contacts.blockedSlice', count=int, blocked={ContactBlocked}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v57/constructors/contacts_contacts.md b/old_docs/API_docs_v57/constructors/contacts_contacts.md deleted file mode 100644 index f101b34b..00000000 --- a/old_docs/API_docs_v57/constructors/contacts_contacts.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: contacts.contacts -description: The current user's contact list and info on users. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.contacts -[Back to constructors index](index.md) - - - -The current user's contact list and info on users. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|contacts|Array of [Contact](../types/Contact.md) | Yes|Contacts| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Contacts](../types/contacts_Contacts.md) - - -### Example: - -```php -$contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact, Contact], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_contacts={_='contacts.contacts', contacts={Contact}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v57/constructors/contacts_contactsNotModified.md b/old_docs/API_docs_v57/constructors/contacts_contactsNotModified.md deleted file mode 100644 index 17e76ac3..00000000 --- a/old_docs/API_docs_v57/constructors/contacts_contactsNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: contacts.contactsNotModified -description: Contact list on the server is the same as the list on the client. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.contactsNotModified -[Back to constructors index](index.md) - - - -Contact list on the server is the same as the list on the client. - - - - -### Type: [contacts\_Contacts](../types/contacts_Contacts.md) - - -### Example: - -```php -$contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified']; -``` - - -Or, if you're into Lua: - -```lua -contacts_contactsNotModified={_='contacts.contactsNotModified'} - -``` - - diff --git a/old_docs/API_docs_v57/constructors/contacts_found.md b/old_docs/API_docs_v57/constructors/contacts_found.md deleted file mode 100644 index 0674aabf..00000000 --- a/old_docs/API_docs_v57/constructors/contacts_found.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.found -description: Users found by name substring and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.found -[Back to constructors index](index.md) - - - -Users found by name substring and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|results|Array of [Peer](../types/Peer.md) | Yes|Results| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Found](../types/contacts_Found.md) - - -### Example: - -```php -$contacts_found = ['_' => 'contacts.found', 'results' => [Peer, Peer], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_found={_='contacts.found', results={Peer}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v57/constructors/contacts_importedContacts.md b/old_docs/API_docs_v57/constructors/contacts_importedContacts.md deleted file mode 100644 index 121d96d1..00000000 --- a/old_docs/API_docs_v57/constructors/contacts_importedContacts.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.importedContacts -description: Info on succesfully imported contacts. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.importedContacts -[Back to constructors index](index.md) - - - -Info on succesfully imported contacts. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|imported|Array of [ImportedContact](../types/ImportedContact.md) | Yes|Imported| -|retry\_contacts|Array of [long](../types/long.md) | Yes|Retry importing contacts whose client IDs appear here| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) - - -### Example: - -```php -$contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact, ImportedContact], 'retry_contacts' => [long, long], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_importedContacts={_='contacts.importedContacts', imported={ImportedContact}, retry_contacts={long}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v57/constructors/contacts_link.md b/old_docs/API_docs_v57/constructors/contacts_link.md deleted file mode 100644 index cfc566c7..00000000 --- a/old_docs/API_docs_v57/constructors/contacts_link.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.link -description: Link -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.link -[Back to constructors index](index.md) - - - -Link - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|my\_link|[ContactLink](../types/ContactLink.md) | Yes|My link| -|foreign\_link|[ContactLink](../types/ContactLink.md) | Yes|Foreign link| -|user|[User](../types/User.md) | Optional|User| - - - -### Type: [contacts\_Link](../types/contacts_Link.md) - - -### Example: - -```php -$contacts_link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User]; -``` - - -Or, if you're into Lua: - -```lua -contacts_link={_='contacts.link', my_link=ContactLink, foreign_link=ContactLink, user=User} - -``` - - diff --git a/old_docs/API_docs_v57/constructors/contacts_resolvedPeer.md b/old_docs/API_docs_v57/constructors/contacts_resolvedPeer.md deleted file mode 100644 index aae3c7af..00000000 --- a/old_docs/API_docs_v57/constructors/contacts_resolvedPeer.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.resolvedPeer -description: Resolved peer -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.resolvedPeer -[Back to constructors index](index.md) - - - -Resolved peer - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|peer|[Peer](../types/Peer.md) | Yes|The peer| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_ResolvedPeer](../types/contacts_ResolvedPeer.md) - - -### Example: - -```php -$contacts_resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_resolvedPeer={_='contacts.resolvedPeer', peer=Peer, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v57/constructors/contacts_topPeers.md b/old_docs/API_docs_v57/constructors/contacts_topPeers.md deleted file mode 100644 index 77bc07d3..00000000 --- a/old_docs/API_docs_v57/constructors/contacts_topPeers.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.topPeers -description: Top peers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.topPeers -[Back to constructors index](index.md) - - - -Top peers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|categories|Array of [TopPeerCategoryPeers](../types/TopPeerCategoryPeers.md) | Yes|Categories| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_TopPeers](../types/contacts_TopPeers.md) - - -### Example: - -```php -$contacts_topPeers = ['_' => 'contacts.topPeers', 'categories' => [TopPeerCategoryPeers, TopPeerCategoryPeers], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_topPeers={_='contacts.topPeers', categories={TopPeerCategoryPeers}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v57/constructors/contacts_topPeersNotModified.md b/old_docs/API_docs_v57/constructors/contacts_topPeersNotModified.md deleted file mode 100644 index 43eae59d..00000000 --- a/old_docs/API_docs_v57/constructors/contacts_topPeersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: contacts.topPeersNotModified -description: Top peer info hasn't changed -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.topPeersNotModified -[Back to constructors index](index.md) - - - -Top peer info hasn't changed - - - - -### Type: [contacts\_TopPeers](../types/contacts_TopPeers.md) - - -### Example: - -```php -$contacts_topPeersNotModified = ['_' => 'contacts.topPeersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -contacts_topPeersNotModified={_='contacts.topPeersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v57/constructors/help.appChangelog.md b/old_docs/API_docs_v57/constructors/help.appChangelog.md new file mode 100644 index 00000000..dec6b96c --- /dev/null +++ b/old_docs/API_docs_v57/constructors/help.appChangelog.md @@ -0,0 +1,38 @@ +--- +title: help.appChangelog +description: App changelog +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.appChangelog +[Back to constructors index](index.md) + + + +App changelog + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|text|[string](../types/string.md) | Yes|Text| + + + +### Type: [help.AppChangelog](../types/help.AppChangelog.md) + + +### Example: + +```php +$help.appChangelog = ['_' => 'help.appChangelog', 'text' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +help.appChangelog={_='help.appChangelog', text='string'} + +``` + + diff --git a/old_docs/API_docs_v57/constructors/help.appChangelogEmpty.md b/old_docs/API_docs_v57/constructors/help.appChangelogEmpty.md new file mode 100644 index 00000000..6ecb71af --- /dev/null +++ b/old_docs/API_docs_v57/constructors/help.appChangelogEmpty.md @@ -0,0 +1,33 @@ +--- +title: help.appChangelogEmpty +description: Empty app changelog +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.appChangelogEmpty +[Back to constructors index](index.md) + + + +Empty app changelog + + + + +### Type: [help.AppChangelog](../types/help.AppChangelog.md) + + +### Example: + +```php +$help.appChangelogEmpty = ['_' => 'help.appChangelogEmpty']; +``` + + +Or, if you're into Lua: + +```lua +help.appChangelogEmpty={_='help.appChangelogEmpty'} + +``` + + diff --git a/old_docs/API_docs_v57/constructors/help.appUpdate.md b/old_docs/API_docs_v57/constructors/help.appUpdate.md new file mode 100644 index 00000000..14b2d75b --- /dev/null +++ b/old_docs/API_docs_v57/constructors/help.appUpdate.md @@ -0,0 +1,41 @@ +--- +title: help.appUpdate +description: An update is available for the application. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.appUpdate +[Back to constructors index](index.md) + + + +An update is available for the application. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|id|[int](../types/int.md) | Yes|Update ID| +|critical|[Bool](../types/Bool.md) | Yes|Critical?| +|url|[string](../types/string.md) | Yes|Application download URL| +|text|[string](../types/string.md) | Yes|Text description of the update| + + + +### Type: [help.AppUpdate](../types/help.AppUpdate.md) + + +### Example: + +```php +$help.appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'url' => 'string', 'text' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +help.appUpdate={_='help.appUpdate', id=int, critical=Bool, url='string', text='string'} + +``` + + diff --git a/old_docs/API_docs_v57/constructors/help.inviteText.md b/old_docs/API_docs_v57/constructors/help.inviteText.md new file mode 100644 index 00000000..6a6261c1 --- /dev/null +++ b/old_docs/API_docs_v57/constructors/help.inviteText.md @@ -0,0 +1,38 @@ +--- +title: help.inviteText +description: Text of a text message with an invitation to install application. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.inviteText +[Back to constructors index](index.md) + + + +Text of a text message with an invitation to install application. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|message|[string](../types/string.md) | Yes|Text of a message| + + + +### Type: [help.InviteText](../types/help.InviteText.md) + + +### Example: + +```php +$help.inviteText = ['_' => 'help.inviteText', 'message' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +help.inviteText={_='help.inviteText', message='string'} + +``` + + diff --git a/old_docs/API_docs_v57/constructors/help.noAppUpdate.md b/old_docs/API_docs_v57/constructors/help.noAppUpdate.md new file mode 100644 index 00000000..1b69ac9a --- /dev/null +++ b/old_docs/API_docs_v57/constructors/help.noAppUpdate.md @@ -0,0 +1,33 @@ +--- +title: help.noAppUpdate +description: No updates are available for the application. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.noAppUpdate +[Back to constructors index](index.md) + + + +No updates are available for the application. + + + + +### Type: [help.AppUpdate](../types/help.AppUpdate.md) + + +### Example: + +```php +$help.noAppUpdate = ['_' => 'help.noAppUpdate']; +``` + + +Or, if you're into Lua: + +```lua +help.noAppUpdate={_='help.noAppUpdate'} + +``` + + diff --git a/old_docs/API_docs_v57/constructors/help.support.md b/old_docs/API_docs_v57/constructors/help.support.md new file mode 100644 index 00000000..4d4f85fb --- /dev/null +++ b/old_docs/API_docs_v57/constructors/help.support.md @@ -0,0 +1,39 @@ +--- +title: help.support +description: Info on support user. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.support +[Back to constructors index](index.md) + + + +Info on support user. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_number|[string](../types/string.md) | Yes|Phone number| +|user|[User](../types/User.md) | Optional|User| + + + +### Type: [help.Support](../types/help.Support.md) + + +### Example: + +```php +$help.support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => User]; +``` + + +Or, if you're into Lua: + +```lua +help.support={_='help.support', phone_number='string', user=User} + +``` + + diff --git a/old_docs/API_docs_v57/constructors/help.termsOfService.md b/old_docs/API_docs_v57/constructors/help.termsOfService.md new file mode 100644 index 00000000..cab1f128 --- /dev/null +++ b/old_docs/API_docs_v57/constructors/help.termsOfService.md @@ -0,0 +1,38 @@ +--- +title: help.termsOfService +description: Info about the latest telegram Terms Of Service +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.termsOfService +[Back to constructors index](index.md) + + + +Info about the latest telegram Terms Of Service + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|text|[string](../types/string.md) | Yes|Text of the new terms| + + + +### Type: [help.TermsOfService](../types/help.TermsOfService.md) + + +### Example: + +```php +$help.termsOfService = ['_' => 'help.termsOfService', 'text' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +help.termsOfService={_='help.termsOfService', text='string'} + +``` + + diff --git a/old_docs/API_docs_v57/constructors/help_appChangelog.md b/old_docs/API_docs_v57/constructors/help_appChangelog.md deleted file mode 100644 index 793a8fc4..00000000 --- a/old_docs/API_docs_v57/constructors/help_appChangelog.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: help.appChangelog -description: App changelog -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.appChangelog -[Back to constructors index](index.md) - - - -App changelog - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|text|[string](../types/string.md) | Yes|Text| - - - -### Type: [help\_AppChangelog](../types/help_AppChangelog.md) - - -### Example: - -```php -$help_appChangelog = ['_' => 'help.appChangelog', 'text' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -help_appChangelog={_='help.appChangelog', text='string'} - -``` - - diff --git a/old_docs/API_docs_v57/constructors/help_appChangelogEmpty.md b/old_docs/API_docs_v57/constructors/help_appChangelogEmpty.md deleted file mode 100644 index 62a195bb..00000000 --- a/old_docs/API_docs_v57/constructors/help_appChangelogEmpty.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: help.appChangelogEmpty -description: Empty app changelog -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.appChangelogEmpty -[Back to constructors index](index.md) - - - -Empty app changelog - - - - -### Type: [help\_AppChangelog](../types/help_AppChangelog.md) - - -### Example: - -```php -$help_appChangelogEmpty = ['_' => 'help.appChangelogEmpty']; -``` - - -Or, if you're into Lua: - -```lua -help_appChangelogEmpty={_='help.appChangelogEmpty'} - -``` - - diff --git a/old_docs/API_docs_v57/constructors/help_appUpdate.md b/old_docs/API_docs_v57/constructors/help_appUpdate.md deleted file mode 100644 index efba9bdb..00000000 --- a/old_docs/API_docs_v57/constructors/help_appUpdate.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: help.appUpdate -description: An update is available for the application. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.appUpdate -[Back to constructors index](index.md) - - - -An update is available for the application. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|id|[int](../types/int.md) | Yes|Update ID| -|critical|[Bool](../types/Bool.md) | Yes|Critical?| -|url|[string](../types/string.md) | Yes|Application download URL| -|text|[string](../types/string.md) | Yes|Text description of the update| - - - -### Type: [help\_AppUpdate](../types/help_AppUpdate.md) - - -### Example: - -```php -$help_appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'url' => 'string', 'text' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -help_appUpdate={_='help.appUpdate', id=int, critical=Bool, url='string', text='string'} - -``` - - diff --git a/old_docs/API_docs_v57/constructors/help_inviteText.md b/old_docs/API_docs_v57/constructors/help_inviteText.md deleted file mode 100644 index b8317ce3..00000000 --- a/old_docs/API_docs_v57/constructors/help_inviteText.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: help.inviteText -description: Text of a text message with an invitation to install application. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.inviteText -[Back to constructors index](index.md) - - - -Text of a text message with an invitation to install application. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|message|[string](../types/string.md) | Yes|Text of a message| - - - -### Type: [help\_InviteText](../types/help_InviteText.md) - - -### Example: - -```php -$help_inviteText = ['_' => 'help.inviteText', 'message' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -help_inviteText={_='help.inviteText', message='string'} - -``` - - diff --git a/old_docs/API_docs_v57/constructors/help_noAppUpdate.md b/old_docs/API_docs_v57/constructors/help_noAppUpdate.md deleted file mode 100644 index 51505e52..00000000 --- a/old_docs/API_docs_v57/constructors/help_noAppUpdate.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: help.noAppUpdate -description: No updates are available for the application. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.noAppUpdate -[Back to constructors index](index.md) - - - -No updates are available for the application. - - - - -### Type: [help\_AppUpdate](../types/help_AppUpdate.md) - - -### Example: - -```php -$help_noAppUpdate = ['_' => 'help.noAppUpdate']; -``` - - -Or, if you're into Lua: - -```lua -help_noAppUpdate={_='help.noAppUpdate'} - -``` - - diff --git a/old_docs/API_docs_v57/constructors/help_support.md b/old_docs/API_docs_v57/constructors/help_support.md deleted file mode 100644 index 148f7f42..00000000 --- a/old_docs/API_docs_v57/constructors/help_support.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: help.support -description: Info on support user. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.support -[Back to constructors index](index.md) - - - -Info on support user. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_number|[string](../types/string.md) | Yes|Phone number| -|user|[User](../types/User.md) | Optional|User| - - - -### Type: [help\_Support](../types/help_Support.md) - - -### Example: - -```php -$help_support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => User]; -``` - - -Or, if you're into Lua: - -```lua -help_support={_='help.support', phone_number='string', user=User} - -``` - - diff --git a/old_docs/API_docs_v57/constructors/help_termsOfService.md b/old_docs/API_docs_v57/constructors/help_termsOfService.md deleted file mode 100644 index 2ac763b3..00000000 --- a/old_docs/API_docs_v57/constructors/help_termsOfService.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: help.termsOfService -description: Info about the latest telegram Terms Of Service -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.termsOfService -[Back to constructors index](index.md) - - - -Info about the latest telegram Terms Of Service - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|text|[string](../types/string.md) | Yes|Text of the new terms| - - - -### Type: [help\_TermsOfService](../types/help_TermsOfService.md) - - -### Example: - -```php -$help_termsOfService = ['_' => 'help.termsOfService', 'text' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -help_termsOfService={_='help.termsOfService', text='string'} - -``` - - diff --git a/old_docs/API_docs_v57/constructors/messages.affectedHistory.md b/old_docs/API_docs_v57/constructors/messages.affectedHistory.md new file mode 100644 index 00000000..5fc8acec --- /dev/null +++ b/old_docs/API_docs_v57/constructors/messages.affectedHistory.md @@ -0,0 +1,40 @@ +--- +title: messages.affectedHistory +description: Affected part of communication history with the user or in a chat. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.affectedHistory +[Back to constructors index](index.md) + + + +Affected part of communication history with the user or in a chat. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| +|pts\_count|[int](../types/int.md) | Yes|Number of affected events| +|offset|[int](../types/int.md) | Yes|If a parameter contains positive value, it is necessary to repeat the method call using the given value; during the proceeding of all the history the value itself shall gradually decrease| + + + +### Type: [messages.AffectedHistory](../types/messages.AffectedHistory.md) + + +### Example: + +```php +$messages.affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.affectedHistory={_='messages.affectedHistory', pts=int, pts_count=int, offset=int} + +``` + + diff --git a/old_docs/API_docs_v57/constructors/messages.affectedMessages.md b/old_docs/API_docs_v57/constructors/messages.affectedMessages.md new file mode 100644 index 00000000..a0e60bdf --- /dev/null +++ b/old_docs/API_docs_v57/constructors/messages.affectedMessages.md @@ -0,0 +1,39 @@ +--- +title: messages.affectedMessages +description: Events affected by operation +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.affectedMessages +[Back to constructors index](index.md) + + + +Events affected by operation + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|[Event count after generation](https://core.telegram.org/api/updates)| +|pts\_count|[int](../types/int.md) | Yes|[Number of events that were generated](https://core.telegram.org/api/updates)| + + + +### Type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) + + +### Example: + +```php +$messages.affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.affectedMessages={_='messages.affectedMessages', pts=int, pts_count=int} + +``` + + diff --git a/old_docs/API_docs_v57/constructors/messages.allStickers.md b/old_docs/API_docs_v57/constructors/messages.allStickers.md new file mode 100644 index 00000000..5f13bfde --- /dev/null +++ b/old_docs/API_docs_v57/constructors/messages.allStickers.md @@ -0,0 +1,39 @@ +--- +title: messages.allStickers +description: Info about all installed stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.allStickers +[Back to constructors index](index.md) + + + +Info about all installed stickers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|sets|Array of [StickerSet](../types/StickerSet.md) | Yes|Sets| + + + +### Type: [messages.AllStickers](../types/messages.AllStickers.md) + + +### Example: + +```php +$messages.allStickers = ['_' => 'messages.allStickers', 'hash' => int, 'sets' => [StickerSet, StickerSet]]; +``` + + +Or, if you're into Lua: + +```lua +messages.allStickers={_='messages.allStickers', hash=int, sets={StickerSet}} + +``` + + diff --git a/old_docs/API_docs_v57/constructors/messages.allStickersNotModified.md b/old_docs/API_docs_v57/constructors/messages.allStickersNotModified.md new file mode 100644 index 00000000..d3db088b --- /dev/null +++ b/old_docs/API_docs_v57/constructors/messages.allStickersNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.allStickersNotModified +description: Info about all installed stickers hasn't changed +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.allStickersNotModified +[Back to constructors index](index.md) + + + +Info about all installed stickers hasn't changed + + + + +### Type: [messages.AllStickers](../types/messages.AllStickers.md) + + +### Example: + +```php +$messages.allStickersNotModified = ['_' => 'messages.allStickersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.allStickersNotModified={_='messages.allStickersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v57/constructors/messages.archivedStickers.md b/old_docs/API_docs_v57/constructors/messages.archivedStickers.md new file mode 100644 index 00000000..6ad9927c --- /dev/null +++ b/old_docs/API_docs_v57/constructors/messages.archivedStickers.md @@ -0,0 +1,39 @@ +--- +title: messages.archivedStickers +description: Archived stickersets +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.archivedStickers +[Back to constructors index](index.md) + + + +Archived stickersets + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Number of archived stickers| +|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| + + + +### Type: [messages.ArchivedStickers](../types/messages.ArchivedStickers.md) + + +### Example: + +```php +$messages.archivedStickers = ['_' => 'messages.archivedStickers', 'count' => int, 'sets' => [StickerSetCovered, StickerSetCovered]]; +``` + + +Or, if you're into Lua: + +```lua +messages.archivedStickers={_='messages.archivedStickers', count=int, sets={StickerSetCovered}} + +``` + + diff --git a/old_docs/API_docs_v57/constructors/messages.botCallbackAnswer.md b/old_docs/API_docs_v57/constructors/messages.botCallbackAnswer.md new file mode 100644 index 00000000..7ea8c711 --- /dev/null +++ b/old_docs/API_docs_v57/constructors/messages.botCallbackAnswer.md @@ -0,0 +1,41 @@ +--- +title: messages.botCallbackAnswer +description: Callback answer sent by the bot in response to a button press +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.botCallbackAnswer +[Back to constructors index](index.md) + + + +Callback answer sent by the bot in response to a button press + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|alert|[Bool](../types/Bool.md) | Optional|Whether an alert should be shown to the user instead of a toast notification| +|has\_url|[Bool](../types/Bool.md) | Optional|Whether an URL is present| +|message|[string](../types/string.md) | Optional|Alert to show| +|url|[string](../types/string.md) | Optional|URL to open| + + + +### Type: [messages.BotCallbackAnswer](../types/messages.BotCallbackAnswer.md) + + +### Example: + +```php +$messages.botCallbackAnswer = ['_' => 'messages.botCallbackAnswer', 'alert' => Bool, 'has_url' => Bool, 'message' => 'string', 'url' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +messages.botCallbackAnswer={_='messages.botCallbackAnswer', alert=Bool, has_url=Bool, message='string', url='string'} + +``` + + diff --git a/old_docs/API_docs_v57/constructors/messages.botResults.md b/old_docs/API_docs_v57/constructors/messages.botResults.md new file mode 100644 index 00000000..00597fc9 --- /dev/null +++ b/old_docs/API_docs_v57/constructors/messages.botResults.md @@ -0,0 +1,42 @@ +--- +title: messages.botResults +description: Result of a query to an inline bot +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.botResults +[Back to constructors index](index.md) + + + +Result of a query to an inline bot + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|gallery|[Bool](../types/Bool.md) | Optional|Whether the result is a picture gallery| +|query\_id|[long](../types/long.md) | Yes|Query ID| +|next\_offset|[string](../types/string.md) | Optional|The next offset to use when navigating through results| +|switch\_pm|[InlineBotSwitchPM](../types/InlineBotSwitchPM.md) | Optional|Whether the bot requested the user to message him in private| +|results|Array of [BotInlineResult](../types/BotInlineResult.md) | Yes|Results| + + + +### Type: [messages.BotResults](../types/messages.BotResults.md) + + +### Example: + +```php +$messages.botResults = ['_' => 'messages.botResults', 'gallery' => Bool, 'query_id' => long, 'next_offset' => 'string', 'switch_pm' => InlineBotSwitchPM, 'results' => [BotInlineResult, BotInlineResult]]; +``` + + +Or, if you're into Lua: + +```lua +messages.botResults={_='messages.botResults', gallery=Bool, query_id=long, next_offset='string', switch_pm=InlineBotSwitchPM, results={BotInlineResult}} + +``` + + diff --git a/old_docs/API_docs_v57/constructors/messages.channelMessages.md b/old_docs/API_docs_v57/constructors/messages.channelMessages.md new file mode 100644 index 00000000..95633336 --- /dev/null +++ b/old_docs/API_docs_v57/constructors/messages.channelMessages.md @@ -0,0 +1,42 @@ +--- +title: messages.channelMessages +description: Channel messages +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.channelMessages +[Back to constructors index](index.md) + + + +Channel messages + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|[Event count after generation](https://core.telegram.org/api/updates)| +|count|[int](../types/int.md) | Yes|Total number of results were found server-side (may not be all included here)| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Messages](../types/messages.Messages.md) + + +### Example: + +```php +$messages.channelMessages = ['_' => 'messages.channelMessages', 'pts' => int, 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.channelMessages={_='messages.channelMessages', pts=int, count=int, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v57/constructors/messages.chatFull.md b/old_docs/API_docs_v57/constructors/messages.chatFull.md new file mode 100644 index 00000000..3906cc54 --- /dev/null +++ b/old_docs/API_docs_v57/constructors/messages.chatFull.md @@ -0,0 +1,40 @@ +--- +title: messages.chatFull +description: Extended info on chat and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.chatFull +[Back to constructors index](index.md) + + + +Extended info on chat and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|full\_chat|[ChatFull](../types/ChatFull.md) | Yes|Extended info on a chat| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.ChatFull](../types/messages.ChatFull.md) + + +### Example: + +```php +$messages.chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.chatFull={_='messages.chatFull', full_chat=ChatFull, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v57/constructors/messages.chats.md b/old_docs/API_docs_v57/constructors/messages.chats.md new file mode 100644 index 00000000..9ede9ff2 --- /dev/null +++ b/old_docs/API_docs_v57/constructors/messages.chats.md @@ -0,0 +1,38 @@ +--- +title: messages.chats +description: List of chats with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.chats +[Back to constructors index](index.md) + + + +List of chats with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| + + + +### Type: [messages.Chats](../types/messages.Chats.md) + + +### Example: + +```php +$messages.chats = ['_' => 'messages.chats', 'chats' => [Chat, Chat]]; +``` + + +Or, if you're into Lua: + +```lua +messages.chats={_='messages.chats', chats={Chat}} + +``` + + diff --git a/old_docs/API_docs_v57/constructors/messages.dhConfig.md b/old_docs/API_docs_v57/constructors/messages.dhConfig.md new file mode 100644 index 00000000..58344f64 --- /dev/null +++ b/old_docs/API_docs_v57/constructors/messages.dhConfig.md @@ -0,0 +1,41 @@ +--- +title: messages.dhConfig +description: New set of configuring parameters. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dhConfig +[Back to constructors index](index.md) + + + +New set of configuring parameters. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|g|[int](../types/int.md) | Yes|New value **prime**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| +|p|[bytes](../types/bytes.md) | Yes|New value **primitive root**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| +|version|[int](../types/int.md) | Yes|Vestion of set of parameters| +|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| + + + +### Type: [messages.DhConfig](../types/messages.DhConfig.md) + + +### Example: + +```php +$messages.dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'version' => int, 'random' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +messages.dhConfig={_='messages.dhConfig', g=int, p='bytes', version=int, random='bytes'} + +``` + + diff --git a/old_docs/API_docs_v57/constructors/messages.dhConfigNotModified.md b/old_docs/API_docs_v57/constructors/messages.dhConfigNotModified.md new file mode 100644 index 00000000..a9a95389 --- /dev/null +++ b/old_docs/API_docs_v57/constructors/messages.dhConfigNotModified.md @@ -0,0 +1,38 @@ +--- +title: messages.dhConfigNotModified +description: Configuring parameters did not change. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dhConfigNotModified +[Back to constructors index](index.md) + + + +Configuring parameters did not change. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| + + + +### Type: [messages.DhConfig](../types/messages.DhConfig.md) + + +### Example: + +```php +$messages.dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +messages.dhConfigNotModified={_='messages.dhConfigNotModified', random='bytes'} + +``` + + diff --git a/old_docs/API_docs_v57/constructors/messages.dialogs.md b/old_docs/API_docs_v57/constructors/messages.dialogs.md new file mode 100644 index 00000000..a72eabce --- /dev/null +++ b/old_docs/API_docs_v57/constructors/messages.dialogs.md @@ -0,0 +1,41 @@ +--- +title: messages.dialogs +description: Full list of chats with messages and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dialogs +[Back to constructors index](index.md) + + + +Full list of chats with messages and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Dialogs](../types/messages.Dialogs.md) + + +### Example: + +```php +$messages.dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.dialogs={_='messages.dialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v57/constructors/messages.dialogsSlice.md b/old_docs/API_docs_v57/constructors/messages.dialogsSlice.md new file mode 100644 index 00000000..26227d2c --- /dev/null +++ b/old_docs/API_docs_v57/constructors/messages.dialogsSlice.md @@ -0,0 +1,42 @@ +--- +title: messages.dialogsSlice +description: Incomplete list of dialogs with messages and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dialogsSlice +[Back to constructors index](index.md) + + + +Incomplete list of dialogs with messages and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of dialogs| +|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Dialogs](../types/messages.Dialogs.md) + + +### Example: + +```php +$messages.dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.dialogsSlice={_='messages.dialogsSlice', count=int, dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v57/constructors/messages.featuredStickers.md b/old_docs/API_docs_v57/constructors/messages.featuredStickers.md new file mode 100644 index 00000000..344376ea --- /dev/null +++ b/old_docs/API_docs_v57/constructors/messages.featuredStickers.md @@ -0,0 +1,40 @@ +--- +title: messages.featuredStickers +description: Featured stickersets +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.featuredStickers +[Back to constructors index](index.md) + + + +Featured stickersets + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| +|unread|Array of [long](../types/long.md) | Yes|Unread| + + + +### Type: [messages.FeaturedStickers](../types/messages.FeaturedStickers.md) + + +### Example: + +```php +$messages.featuredStickers = ['_' => 'messages.featuredStickers', 'hash' => int, 'sets' => [StickerSetCovered, StickerSetCovered], 'unread' => [long, long]]; +``` + + +Or, if you're into Lua: + +```lua +messages.featuredStickers={_='messages.featuredStickers', hash=int, sets={StickerSetCovered}, unread={long}} + +``` + + diff --git a/old_docs/API_docs_v57/constructors/messages.featuredStickersNotModified.md b/old_docs/API_docs_v57/constructors/messages.featuredStickersNotModified.md new file mode 100644 index 00000000..0fe9b4d5 --- /dev/null +++ b/old_docs/API_docs_v57/constructors/messages.featuredStickersNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.featuredStickersNotModified +description: Featured stickers haven't changed +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.featuredStickersNotModified +[Back to constructors index](index.md) + + + +Featured stickers haven't changed + + + + +### Type: [messages.FeaturedStickers](../types/messages.FeaturedStickers.md) + + +### Example: + +```php +$messages.featuredStickersNotModified = ['_' => 'messages.featuredStickersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.featuredStickersNotModified={_='messages.featuredStickersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v57/constructors/messages.foundGifs.md b/old_docs/API_docs_v57/constructors/messages.foundGifs.md new file mode 100644 index 00000000..c75e36f9 --- /dev/null +++ b/old_docs/API_docs_v57/constructors/messages.foundGifs.md @@ -0,0 +1,39 @@ +--- +title: messages.foundGifs +description: Found GIFs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.foundGifs +[Back to constructors index](index.md) + + + +Found GIFs + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|next\_offset|[int](../types/int.md) | Yes|Next offset to use when trying to [load more results](../methods/messages.searchGifs.md)| +|results|Array of [FoundGif](../types/FoundGif.md) | Yes|Results| + + + +### Type: [messages.FoundGifs](../types/messages.FoundGifs.md) + + +### Example: + +```php +$messages.foundGifs = ['_' => 'messages.foundGifs', 'next_offset' => int, 'results' => [FoundGif, FoundGif]]; +``` + + +Or, if you're into Lua: + +```lua +messages.foundGifs={_='messages.foundGifs', next_offset=int, results={FoundGif}} + +``` + + diff --git a/old_docs/API_docs_v57/constructors/messages.highScores.md b/old_docs/API_docs_v57/constructors/messages.highScores.md new file mode 100644 index 00000000..d7d25826 --- /dev/null +++ b/old_docs/API_docs_v57/constructors/messages.highScores.md @@ -0,0 +1,39 @@ +--- +title: messages.highScores +description: Highscores in a game +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.highScores +[Back to constructors index](index.md) + + + +Highscores in a game + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|scores|Array of [HighScore](../types/HighScore.md) | Yes|Scores| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.HighScores](../types/messages.HighScores.md) + + +### Example: + +```php +$messages.highScores = ['_' => 'messages.highScores', 'scores' => [HighScore, HighScore], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.highScores={_='messages.highScores', scores={HighScore}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v57/constructors/messages.messageEditData.md b/old_docs/API_docs_v57/constructors/messages.messageEditData.md new file mode 100644 index 00000000..578b53d9 --- /dev/null +++ b/old_docs/API_docs_v57/constructors/messages.messageEditData.md @@ -0,0 +1,38 @@ +--- +title: messages.messageEditData +description: Message edit data for media +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.messageEditData +[Back to constructors index](index.md) + + + +Message edit data for media + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|caption|[Bool](../types/Bool.md) | Optional|Media caption, if the specified media's caption can be edited| + + + +### Type: [messages.MessageEditData](../types/messages.MessageEditData.md) + + +### Example: + +```php +$messages.messageEditData = ['_' => 'messages.messageEditData', 'caption' => Bool]; +``` + + +Or, if you're into Lua: + +```lua +messages.messageEditData={_='messages.messageEditData', caption=Bool} + +``` + + diff --git a/old_docs/API_docs_v57/constructors/messages.messages.md b/old_docs/API_docs_v57/constructors/messages.messages.md new file mode 100644 index 00000000..3af71dca --- /dev/null +++ b/old_docs/API_docs_v57/constructors/messages.messages.md @@ -0,0 +1,40 @@ +--- +title: messages.messages +description: Full list of messages with auxilary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.messages +[Back to constructors index](index.md) + + + +Full list of messages with auxilary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Messages](../types/messages.Messages.md) + + +### Example: + +```php +$messages.messages = ['_' => 'messages.messages', 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.messages={_='messages.messages', messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v57/constructors/messages.messagesSlice.md b/old_docs/API_docs_v57/constructors/messages.messagesSlice.md new file mode 100644 index 00000000..2fe91df0 --- /dev/null +++ b/old_docs/API_docs_v57/constructors/messages.messagesSlice.md @@ -0,0 +1,41 @@ +--- +title: messages.messagesSlice +description: Incomplete list of messages and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.messagesSlice +[Back to constructors index](index.md) + + + +Incomplete list of messages and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of messages in the list| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Messages](../types/messages.Messages.md) + + +### Example: + +```php +$messages.messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.messagesSlice={_='messages.messagesSlice', count=int, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v57/constructors/messages.peerDialogs.md b/old_docs/API_docs_v57/constructors/messages.peerDialogs.md new file mode 100644 index 00000000..39cb71f8 --- /dev/null +++ b/old_docs/API_docs_v57/constructors/messages.peerDialogs.md @@ -0,0 +1,42 @@ +--- +title: messages.peerDialogs +description: Dialog info of multiple peers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.peerDialogs +[Back to constructors index](index.md) + + + +Dialog info of multiple peers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| +|state|[updates.State](../constructors/updates.State.md) | Yes|Current [update state of dialog](https://core.telegram.org/api/updates)| + + + +### Type: [messages.PeerDialogs](../types/messages.PeerDialogs.md) + + +### Example: + +```php +$messages.peerDialogs = ['_' => 'messages.peerDialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates.State]; +``` + + +Or, if you're into Lua: + +```lua +messages.peerDialogs={_='messages.peerDialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}, state=updates.State} + +``` + + diff --git a/old_docs/API_docs_v57/constructors/messages.recentStickers.md b/old_docs/API_docs_v57/constructors/messages.recentStickers.md new file mode 100644 index 00000000..c5c3b389 --- /dev/null +++ b/old_docs/API_docs_v57/constructors/messages.recentStickers.md @@ -0,0 +1,39 @@ +--- +title: messages.recentStickers +description: Recently used stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.recentStickers +[Back to constructors index](index.md) + + + +Recently used stickers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| + + + +### Type: [messages.RecentStickers](../types/messages.RecentStickers.md) + + +### Example: + +```php +$messages.recentStickers = ['_' => 'messages.recentStickers', 'hash' => int, 'stickers' => [Document, Document]]; +``` + + +Or, if you're into Lua: + +```lua +messages.recentStickers={_='messages.recentStickers', hash=int, stickers={Document}} + +``` + + diff --git a/old_docs/API_docs_v57/constructors/messages.recentStickersNotModified.md b/old_docs/API_docs_v57/constructors/messages.recentStickersNotModified.md new file mode 100644 index 00000000..1c3bbf5c --- /dev/null +++ b/old_docs/API_docs_v57/constructors/messages.recentStickersNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.recentStickersNotModified +description: No new recent sticker was found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.recentStickersNotModified +[Back to constructors index](index.md) + + + +No new recent sticker was found + + + + +### Type: [messages.RecentStickers](../types/messages.RecentStickers.md) + + +### Example: + +```php +$messages.recentStickersNotModified = ['_' => 'messages.recentStickersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.recentStickersNotModified={_='messages.recentStickersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v57/constructors/messages.savedGifs.md b/old_docs/API_docs_v57/constructors/messages.savedGifs.md new file mode 100644 index 00000000..c82929a3 --- /dev/null +++ b/old_docs/API_docs_v57/constructors/messages.savedGifs.md @@ -0,0 +1,39 @@ +--- +title: messages.savedGifs +description: Saved gifs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.savedGifs +[Back to constructors index](index.md) + + + +Saved gifs + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|gifs|Array of [Document](../types/Document.md) | Yes|Gifs| + + + +### Type: [messages.SavedGifs](../types/messages.SavedGifs.md) + + +### Example: + +```php +$messages.savedGifs = ['_' => 'messages.savedGifs', 'hash' => int, 'gifs' => [Document, Document]]; +``` + + +Or, if you're into Lua: + +```lua +messages.savedGifs={_='messages.savedGifs', hash=int, gifs={Document}} + +``` + + diff --git a/old_docs/API_docs_v57/constructors/messages.savedGifsNotModified.md b/old_docs/API_docs_v57/constructors/messages.savedGifsNotModified.md new file mode 100644 index 00000000..0fbccacc --- /dev/null +++ b/old_docs/API_docs_v57/constructors/messages.savedGifsNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.savedGifsNotModified +description: No new saved gifs were found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.savedGifsNotModified +[Back to constructors index](index.md) + + + +No new saved gifs were found + + + + +### Type: [messages.SavedGifs](../types/messages.SavedGifs.md) + + +### Example: + +```php +$messages.savedGifsNotModified = ['_' => 'messages.savedGifsNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.savedGifsNotModified={_='messages.savedGifsNotModified'} + +``` + + diff --git a/old_docs/API_docs_v57/constructors/messages.sentEncryptedFile.md b/old_docs/API_docs_v57/constructors/messages.sentEncryptedFile.md new file mode 100644 index 00000000..1f0e43c6 --- /dev/null +++ b/old_docs/API_docs_v57/constructors/messages.sentEncryptedFile.md @@ -0,0 +1,39 @@ +--- +title: messages.sentEncryptedFile +description: Message with a file enclosure sent to a protected chat +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.sentEncryptedFile +[Back to constructors index](index.md) + + + +Message with a file enclosure sent to a protected chat + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Sending date| +|file|[EncryptedFile](../types/EncryptedFile.md) | Optional|Attached file| + + + +### Type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) + + +### Example: + +```php +$messages.sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile]; +``` + + +Or, if you're into Lua: + +```lua +messages.sentEncryptedFile={_='messages.sentEncryptedFile', date=int, file=EncryptedFile} + +``` + + diff --git a/old_docs/API_docs_v57/constructors/messages.sentEncryptedMessage.md b/old_docs/API_docs_v57/constructors/messages.sentEncryptedMessage.md new file mode 100644 index 00000000..3d5eb40c --- /dev/null +++ b/old_docs/API_docs_v57/constructors/messages.sentEncryptedMessage.md @@ -0,0 +1,38 @@ +--- +title: messages.sentEncryptedMessage +description: Message without file attachemts sent to an encrypted file. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.sentEncryptedMessage +[Back to constructors index](index.md) + + + +Message without file attachemts sent to an encrypted file. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Date of sending| + + + +### Type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) + + +### Example: + +```php +$messages.sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.sentEncryptedMessage={_='messages.sentEncryptedMessage', date=int} + +``` + + diff --git a/old_docs/API_docs_v57/constructors/messages.stickerSet.md b/old_docs/API_docs_v57/constructors/messages.stickerSet.md new file mode 100644 index 00000000..fbc154d0 --- /dev/null +++ b/old_docs/API_docs_v57/constructors/messages.stickerSet.md @@ -0,0 +1,40 @@ +--- +title: messages.stickerSet +description: Stickerset and stickers inside it +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickerSet +[Back to constructors index](index.md) + + + +Stickerset and stickers inside it + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|set|[StickerSet](../types/StickerSet.md) | Yes|The stickerset| +|packs|Array of [StickerPack](../types/StickerPack.md) | Yes|Packs| +|documents|Array of [Document](../types/Document.md) | Yes|Documents| + + + +### Type: [messages.StickerSet](../types/messages.StickerSet.md) + + +### Example: + +```php +$messages.stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'packs' => [StickerPack, StickerPack], 'documents' => [Document, Document]]; +``` + + +Or, if you're into Lua: + +```lua +messages.stickerSet={_='messages.stickerSet', set=StickerSet, packs={StickerPack}, documents={Document}} + +``` + + diff --git a/old_docs/API_docs_v57/constructors/messages.stickerSetInstallResultArchive.md b/old_docs/API_docs_v57/constructors/messages.stickerSetInstallResultArchive.md new file mode 100644 index 00000000..fefe2270 --- /dev/null +++ b/old_docs/API_docs_v57/constructors/messages.stickerSetInstallResultArchive.md @@ -0,0 +1,38 @@ +--- +title: messages.stickerSetInstallResultArchive +description: The stickerset was installed, but since there are too many stickersets some were archived +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickerSetInstallResultArchive +[Back to constructors index](index.md) + + + +The stickerset was installed, but since there are too many stickersets some were archived + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| + + + +### Type: [messages.StickerSetInstallResult](../types/messages.StickerSetInstallResult.md) + + +### Example: + +```php +$messages.stickerSetInstallResultArchive = ['_' => 'messages.stickerSetInstallResultArchive', 'sets' => [StickerSetCovered, StickerSetCovered]]; +``` + + +Or, if you're into Lua: + +```lua +messages.stickerSetInstallResultArchive={_='messages.stickerSetInstallResultArchive', sets={StickerSetCovered}} + +``` + + diff --git a/old_docs/API_docs_v57/constructors/messages.stickerSetInstallResultSuccess.md b/old_docs/API_docs_v57/constructors/messages.stickerSetInstallResultSuccess.md new file mode 100644 index 00000000..bbe8b961 --- /dev/null +++ b/old_docs/API_docs_v57/constructors/messages.stickerSetInstallResultSuccess.md @@ -0,0 +1,33 @@ +--- +title: messages.stickerSetInstallResultSuccess +description: The stickerset was installed successfully +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickerSetInstallResultSuccess +[Back to constructors index](index.md) + + + +The stickerset was installed successfully + + + + +### Type: [messages.StickerSetInstallResult](../types/messages.StickerSetInstallResult.md) + + +### Example: + +```php +$messages.stickerSetInstallResultSuccess = ['_' => 'messages.stickerSetInstallResultSuccess']; +``` + + +Or, if you're into Lua: + +```lua +messages.stickerSetInstallResultSuccess={_='messages.stickerSetInstallResultSuccess'} + +``` + + diff --git a/old_docs/API_docs_v57/constructors/messages.stickers.md b/old_docs/API_docs_v57/constructors/messages.stickers.md new file mode 100644 index 00000000..310b64b0 --- /dev/null +++ b/old_docs/API_docs_v57/constructors/messages.stickers.md @@ -0,0 +1,39 @@ +--- +title: messages.stickers +description: Found stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickers +[Back to constructors index](index.md) + + + +Found stickers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[string](../types/string.md) | Yes|Hash| +|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| + + + +### Type: [messages.Stickers](../types/messages.Stickers.md) + + +### Example: + +```php +$messages.stickers = ['_' => 'messages.stickers', 'hash' => 'string', 'stickers' => [Document, Document]]; +``` + + +Or, if you're into Lua: + +```lua +messages.stickers={_='messages.stickers', hash='string', stickers={Document}} + +``` + + diff --git a/old_docs/API_docs_v57/constructors/messages.stickersNotModified.md b/old_docs/API_docs_v57/constructors/messages.stickersNotModified.md new file mode 100644 index 00000000..e8c7766c --- /dev/null +++ b/old_docs/API_docs_v57/constructors/messages.stickersNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.stickersNotModified +description: No new stickers were found for the given query +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickersNotModified +[Back to constructors index](index.md) + + + +No new stickers were found for the given query + + + + +### Type: [messages.Stickers](../types/messages.Stickers.md) + + +### Example: + +```php +$messages.stickersNotModified = ['_' => 'messages.stickersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.stickersNotModified={_='messages.stickersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v57/constructors/messages_affectedHistory.md b/old_docs/API_docs_v57/constructors/messages_affectedHistory.md deleted file mode 100644 index 449a7e3f..00000000 --- a/old_docs/API_docs_v57/constructors/messages_affectedHistory.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.affectedHistory -description: Affected part of communication history with the user or in a chat. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.affectedHistory -[Back to constructors index](index.md) - - - -Affected part of communication history with the user or in a chat. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| -|pts\_count|[int](../types/int.md) | Yes|Number of affected events| -|offset|[int](../types/int.md) | Yes|If a parameter contains positive value, it is necessary to repeat the method call using the given value; during the proceeding of all the history the value itself shall gradually decrease| - - - -### Type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) - - -### Example: - -```php -$messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_affectedHistory={_='messages.affectedHistory', pts=int, pts_count=int, offset=int} - -``` - - diff --git a/old_docs/API_docs_v57/constructors/messages_affectedMessages.md b/old_docs/API_docs_v57/constructors/messages_affectedMessages.md deleted file mode 100644 index 86760581..00000000 --- a/old_docs/API_docs_v57/constructors/messages_affectedMessages.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.affectedMessages -description: Events affected by operation -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.affectedMessages -[Back to constructors index](index.md) - - - -Events affected by operation - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|[Event count after generation](https://core.telegram.org/api/updates)| -|pts\_count|[int](../types/int.md) | Yes|[Number of events that were generated](https://core.telegram.org/api/updates)| - - - -### Type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) - - -### Example: - -```php -$messages_affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_affectedMessages={_='messages.affectedMessages', pts=int, pts_count=int} - -``` - - diff --git a/old_docs/API_docs_v57/constructors/messages_allStickers.md b/old_docs/API_docs_v57/constructors/messages_allStickers.md deleted file mode 100644 index 2e64f46e..00000000 --- a/old_docs/API_docs_v57/constructors/messages_allStickers.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.allStickers -description: Info about all installed stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.allStickers -[Back to constructors index](index.md) - - - -Info about all installed stickers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|sets|Array of [StickerSet](../types/StickerSet.md) | Yes|Sets| - - - -### Type: [messages\_AllStickers](../types/messages_AllStickers.md) - - -### Example: - -```php -$messages_allStickers = ['_' => 'messages.allStickers', 'hash' => int, 'sets' => [StickerSet, StickerSet]]; -``` - - -Or, if you're into Lua: - -```lua -messages_allStickers={_='messages.allStickers', hash=int, sets={StickerSet}} - -``` - - diff --git a/old_docs/API_docs_v57/constructors/messages_allStickersNotModified.md b/old_docs/API_docs_v57/constructors/messages_allStickersNotModified.md deleted file mode 100644 index c4da85ab..00000000 --- a/old_docs/API_docs_v57/constructors/messages_allStickersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.allStickersNotModified -description: Info about all installed stickers hasn't changed -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.allStickersNotModified -[Back to constructors index](index.md) - - - -Info about all installed stickers hasn't changed - - - - -### Type: [messages\_AllStickers](../types/messages_AllStickers.md) - - -### Example: - -```php -$messages_allStickersNotModified = ['_' => 'messages.allStickersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_allStickersNotModified={_='messages.allStickersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v57/constructors/messages_archivedStickers.md b/old_docs/API_docs_v57/constructors/messages_archivedStickers.md deleted file mode 100644 index 6b28c885..00000000 --- a/old_docs/API_docs_v57/constructors/messages_archivedStickers.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.archivedStickers -description: Archived stickersets -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.archivedStickers -[Back to constructors index](index.md) - - - -Archived stickersets - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Number of archived stickers| -|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| - - - -### Type: [messages\_ArchivedStickers](../types/messages_ArchivedStickers.md) - - -### Example: - -```php -$messages_archivedStickers = ['_' => 'messages.archivedStickers', 'count' => int, 'sets' => [StickerSetCovered, StickerSetCovered]]; -``` - - -Or, if you're into Lua: - -```lua -messages_archivedStickers={_='messages.archivedStickers', count=int, sets={StickerSetCovered}} - -``` - - diff --git a/old_docs/API_docs_v57/constructors/messages_botCallbackAnswer.md b/old_docs/API_docs_v57/constructors/messages_botCallbackAnswer.md deleted file mode 100644 index 57485ffa..00000000 --- a/old_docs/API_docs_v57/constructors/messages_botCallbackAnswer.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: messages.botCallbackAnswer -description: Callback answer sent by the bot in response to a button press -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.botCallbackAnswer -[Back to constructors index](index.md) - - - -Callback answer sent by the bot in response to a button press - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|alert|[Bool](../types/Bool.md) | Optional|Whether an alert should be shown to the user instead of a toast notification| -|has\_url|[Bool](../types/Bool.md) | Optional|Whether an URL is present| -|message|[string](../types/string.md) | Optional|Alert to show| -|url|[string](../types/string.md) | Optional|URL to open| - - - -### Type: [messages\_BotCallbackAnswer](../types/messages_BotCallbackAnswer.md) - - -### Example: - -```php -$messages_botCallbackAnswer = ['_' => 'messages.botCallbackAnswer', 'alert' => Bool, 'has_url' => Bool, 'message' => 'string', 'url' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -messages_botCallbackAnswer={_='messages.botCallbackAnswer', alert=Bool, has_url=Bool, message='string', url='string'} - -``` - - diff --git a/old_docs/API_docs_v57/constructors/messages_botResults.md b/old_docs/API_docs_v57/constructors/messages_botResults.md deleted file mode 100644 index 036ce74b..00000000 --- a/old_docs/API_docs_v57/constructors/messages_botResults.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: messages.botResults -description: Result of a query to an inline bot -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.botResults -[Back to constructors index](index.md) - - - -Result of a query to an inline bot - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|gallery|[Bool](../types/Bool.md) | Optional|Whether the result is a picture gallery| -|query\_id|[long](../types/long.md) | Yes|Query ID| -|next\_offset|[string](../types/string.md) | Optional|The next offset to use when navigating through results| -|switch\_pm|[InlineBotSwitchPM](../types/InlineBotSwitchPM.md) | Optional|Whether the bot requested the user to message him in private| -|results|Array of [BotInlineResult](../types/BotInlineResult.md) | Yes|Results| - - - -### Type: [messages\_BotResults](../types/messages_BotResults.md) - - -### Example: - -```php -$messages_botResults = ['_' => 'messages.botResults', 'gallery' => Bool, 'query_id' => long, 'next_offset' => 'string', 'switch_pm' => InlineBotSwitchPM, 'results' => [BotInlineResult, BotInlineResult]]; -``` - - -Or, if you're into Lua: - -```lua -messages_botResults={_='messages.botResults', gallery=Bool, query_id=long, next_offset='string', switch_pm=InlineBotSwitchPM, results={BotInlineResult}} - -``` - - diff --git a/old_docs/API_docs_v57/constructors/messages_channelMessages.md b/old_docs/API_docs_v57/constructors/messages_channelMessages.md deleted file mode 100644 index 12cdb9cd..00000000 --- a/old_docs/API_docs_v57/constructors/messages_channelMessages.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: messages.channelMessages -description: Channel messages -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.channelMessages -[Back to constructors index](index.md) - - - -Channel messages - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|[Event count after generation](https://core.telegram.org/api/updates)| -|count|[int](../types/int.md) | Yes|Total number of results were found server-side (may not be all included here)| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Messages](../types/messages_Messages.md) - - -### Example: - -```php -$messages_channelMessages = ['_' => 'messages.channelMessages', 'pts' => int, 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_channelMessages={_='messages.channelMessages', pts=int, count=int, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v57/constructors/messages_chatFull.md b/old_docs/API_docs_v57/constructors/messages_chatFull.md deleted file mode 100644 index 02f1acdf..00000000 --- a/old_docs/API_docs_v57/constructors/messages_chatFull.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.chatFull -description: Extended info on chat and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.chatFull -[Back to constructors index](index.md) - - - -Extended info on chat and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|full\_chat|[ChatFull](../types/ChatFull.md) | Yes|Extended info on a chat| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_ChatFull](../types/messages_ChatFull.md) - - -### Example: - -```php -$messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_chatFull={_='messages.chatFull', full_chat=ChatFull, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v57/constructors/messages_chats.md b/old_docs/API_docs_v57/constructors/messages_chats.md deleted file mode 100644 index ef3690a9..00000000 --- a/old_docs/API_docs_v57/constructors/messages_chats.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.chats -description: List of chats with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.chats -[Back to constructors index](index.md) - - - -List of chats with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| - - - -### Type: [messages\_Chats](../types/messages_Chats.md) - - -### Example: - -```php -$messages_chats = ['_' => 'messages.chats', 'chats' => [Chat, Chat]]; -``` - - -Or, if you're into Lua: - -```lua -messages_chats={_='messages.chats', chats={Chat}} - -``` - - diff --git a/old_docs/API_docs_v57/constructors/messages_dhConfig.md b/old_docs/API_docs_v57/constructors/messages_dhConfig.md deleted file mode 100644 index 42c2feb1..00000000 --- a/old_docs/API_docs_v57/constructors/messages_dhConfig.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: messages.dhConfig -description: New set of configuring parameters. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dhConfig -[Back to constructors index](index.md) - - - -New set of configuring parameters. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|g|[int](../types/int.md) | Yes|New value **prime**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| -|p|[bytes](../types/bytes.md) | Yes|New value **primitive root**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| -|version|[int](../types/int.md) | Yes|Vestion of set of parameters| -|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| - - - -### Type: [messages\_DhConfig](../types/messages_DhConfig.md) - - -### Example: - -```php -$messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'version' => int, 'random' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -messages_dhConfig={_='messages.dhConfig', g=int, p='bytes', version=int, random='bytes'} - -``` - - diff --git a/old_docs/API_docs_v57/constructors/messages_dhConfigNotModified.md b/old_docs/API_docs_v57/constructors/messages_dhConfigNotModified.md deleted file mode 100644 index 5bf64230..00000000 --- a/old_docs/API_docs_v57/constructors/messages_dhConfigNotModified.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.dhConfigNotModified -description: Configuring parameters did not change. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dhConfigNotModified -[Back to constructors index](index.md) - - - -Configuring parameters did not change. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| - - - -### Type: [messages\_DhConfig](../types/messages_DhConfig.md) - - -### Example: - -```php -$messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -messages_dhConfigNotModified={_='messages.dhConfigNotModified', random='bytes'} - -``` - - diff --git a/old_docs/API_docs_v57/constructors/messages_dialogs.md b/old_docs/API_docs_v57/constructors/messages_dialogs.md deleted file mode 100644 index e6a431b4..00000000 --- a/old_docs/API_docs_v57/constructors/messages_dialogs.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: messages.dialogs -description: Full list of chats with messages and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dialogs -[Back to constructors index](index.md) - - - -Full list of chats with messages and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Dialogs](../types/messages_Dialogs.md) - - -### Example: - -```php -$messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_dialogs={_='messages.dialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v57/constructors/messages_dialogsSlice.md b/old_docs/API_docs_v57/constructors/messages_dialogsSlice.md deleted file mode 100644 index f183b9a8..00000000 --- a/old_docs/API_docs_v57/constructors/messages_dialogsSlice.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: messages.dialogsSlice -description: Incomplete list of dialogs with messages and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dialogsSlice -[Back to constructors index](index.md) - - - -Incomplete list of dialogs with messages and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of dialogs| -|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Dialogs](../types/messages_Dialogs.md) - - -### Example: - -```php -$messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_dialogsSlice={_='messages.dialogsSlice', count=int, dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v57/constructors/messages_featuredStickers.md b/old_docs/API_docs_v57/constructors/messages_featuredStickers.md deleted file mode 100644 index 8ef1046e..00000000 --- a/old_docs/API_docs_v57/constructors/messages_featuredStickers.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.featuredStickers -description: Featured stickersets -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.featuredStickers -[Back to constructors index](index.md) - - - -Featured stickersets - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| -|unread|Array of [long](../types/long.md) | Yes|Unread| - - - -### Type: [messages\_FeaturedStickers](../types/messages_FeaturedStickers.md) - - -### Example: - -```php -$messages_featuredStickers = ['_' => 'messages.featuredStickers', 'hash' => int, 'sets' => [StickerSetCovered, StickerSetCovered], 'unread' => [long, long]]; -``` - - -Or, if you're into Lua: - -```lua -messages_featuredStickers={_='messages.featuredStickers', hash=int, sets={StickerSetCovered}, unread={long}} - -``` - - diff --git a/old_docs/API_docs_v57/constructors/messages_featuredStickersNotModified.md b/old_docs/API_docs_v57/constructors/messages_featuredStickersNotModified.md deleted file mode 100644 index de01131b..00000000 --- a/old_docs/API_docs_v57/constructors/messages_featuredStickersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.featuredStickersNotModified -description: Featured stickers haven't changed -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.featuredStickersNotModified -[Back to constructors index](index.md) - - - -Featured stickers haven't changed - - - - -### Type: [messages\_FeaturedStickers](../types/messages_FeaturedStickers.md) - - -### Example: - -```php -$messages_featuredStickersNotModified = ['_' => 'messages.featuredStickersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_featuredStickersNotModified={_='messages.featuredStickersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v57/constructors/messages_foundGifs.md b/old_docs/API_docs_v57/constructors/messages_foundGifs.md deleted file mode 100644 index eb3603ca..00000000 --- a/old_docs/API_docs_v57/constructors/messages_foundGifs.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.foundGifs -description: Found GIFs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.foundGifs -[Back to constructors index](index.md) - - - -Found GIFs - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|next\_offset|[int](../types/int.md) | Yes|Next offset to use when trying to [load more results](../methods/messages.searchGifs.md)| -|results|Array of [FoundGif](../types/FoundGif.md) | Yes|Results| - - - -### Type: [messages\_FoundGifs](../types/messages_FoundGifs.md) - - -### Example: - -```php -$messages_foundGifs = ['_' => 'messages.foundGifs', 'next_offset' => int, 'results' => [FoundGif, FoundGif]]; -``` - - -Or, if you're into Lua: - -```lua -messages_foundGifs={_='messages.foundGifs', next_offset=int, results={FoundGif}} - -``` - - diff --git a/old_docs/API_docs_v57/constructors/messages_highScores.md b/old_docs/API_docs_v57/constructors/messages_highScores.md deleted file mode 100644 index d6fc5210..00000000 --- a/old_docs/API_docs_v57/constructors/messages_highScores.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.highScores -description: Highscores in a game -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.highScores -[Back to constructors index](index.md) - - - -Highscores in a game - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|scores|Array of [HighScore](../types/HighScore.md) | Yes|Scores| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_HighScores](../types/messages_HighScores.md) - - -### Example: - -```php -$messages_highScores = ['_' => 'messages.highScores', 'scores' => [HighScore, HighScore], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_highScores={_='messages.highScores', scores={HighScore}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v57/constructors/messages_messageEditData.md b/old_docs/API_docs_v57/constructors/messages_messageEditData.md deleted file mode 100644 index 76aefca5..00000000 --- a/old_docs/API_docs_v57/constructors/messages_messageEditData.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.messageEditData -description: Message edit data for media -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.messageEditData -[Back to constructors index](index.md) - - - -Message edit data for media - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|caption|[Bool](../types/Bool.md) | Optional|Media caption, if the specified media's caption can be edited| - - - -### Type: [messages\_MessageEditData](../types/messages_MessageEditData.md) - - -### Example: - -```php -$messages_messageEditData = ['_' => 'messages.messageEditData', 'caption' => Bool]; -``` - - -Or, if you're into Lua: - -```lua -messages_messageEditData={_='messages.messageEditData', caption=Bool} - -``` - - diff --git a/old_docs/API_docs_v57/constructors/messages_messages.md b/old_docs/API_docs_v57/constructors/messages_messages.md deleted file mode 100644 index 3e369e1a..00000000 --- a/old_docs/API_docs_v57/constructors/messages_messages.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.messages -description: Full list of messages with auxilary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.messages -[Back to constructors index](index.md) - - - -Full list of messages with auxilary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Messages](../types/messages_Messages.md) - - -### Example: - -```php -$messages_messages = ['_' => 'messages.messages', 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_messages={_='messages.messages', messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v57/constructors/messages_messagesSlice.md b/old_docs/API_docs_v57/constructors/messages_messagesSlice.md deleted file mode 100644 index f9b8dc18..00000000 --- a/old_docs/API_docs_v57/constructors/messages_messagesSlice.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: messages.messagesSlice -description: Incomplete list of messages and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.messagesSlice -[Back to constructors index](index.md) - - - -Incomplete list of messages and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of messages in the list| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Messages](../types/messages_Messages.md) - - -### Example: - -```php -$messages_messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_messagesSlice={_='messages.messagesSlice', count=int, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v57/constructors/messages_peerDialogs.md b/old_docs/API_docs_v57/constructors/messages_peerDialogs.md deleted file mode 100644 index 29b4b842..00000000 --- a/old_docs/API_docs_v57/constructors/messages_peerDialogs.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: messages.peerDialogs -description: Dialog info of multiple peers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.peerDialogs -[Back to constructors index](index.md) - - - -Dialog info of multiple peers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| -|state|[updates\_State](../types/updates_State.md) | Yes|Current [update state of dialog](https://core.telegram.org/api/updates)| - - - -### Type: [messages\_PeerDialogs](../types/messages_PeerDialogs.md) - - -### Example: - -```php -$messages_peerDialogs = ['_' => 'messages.peerDialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates_State]; -``` - - -Or, if you're into Lua: - -```lua -messages_peerDialogs={_='messages.peerDialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}, state=updates_State} - -``` - - diff --git a/old_docs/API_docs_v57/constructors/messages_recentStickers.md b/old_docs/API_docs_v57/constructors/messages_recentStickers.md deleted file mode 100644 index 31b059e5..00000000 --- a/old_docs/API_docs_v57/constructors/messages_recentStickers.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.recentStickers -description: Recently used stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.recentStickers -[Back to constructors index](index.md) - - - -Recently used stickers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| - - - -### Type: [messages\_RecentStickers](../types/messages_RecentStickers.md) - - -### Example: - -```php -$messages_recentStickers = ['_' => 'messages.recentStickers', 'hash' => int, 'stickers' => [Document, Document]]; -``` - - -Or, if you're into Lua: - -```lua -messages_recentStickers={_='messages.recentStickers', hash=int, stickers={Document}} - -``` - - diff --git a/old_docs/API_docs_v57/constructors/messages_recentStickersNotModified.md b/old_docs/API_docs_v57/constructors/messages_recentStickersNotModified.md deleted file mode 100644 index 3e81dceb..00000000 --- a/old_docs/API_docs_v57/constructors/messages_recentStickersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.recentStickersNotModified -description: No new recent sticker was found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.recentStickersNotModified -[Back to constructors index](index.md) - - - -No new recent sticker was found - - - - -### Type: [messages\_RecentStickers](../types/messages_RecentStickers.md) - - -### Example: - -```php -$messages_recentStickersNotModified = ['_' => 'messages.recentStickersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_recentStickersNotModified={_='messages.recentStickersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v57/constructors/messages_savedGifs.md b/old_docs/API_docs_v57/constructors/messages_savedGifs.md deleted file mode 100644 index ed3e8ea3..00000000 --- a/old_docs/API_docs_v57/constructors/messages_savedGifs.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.savedGifs -description: Saved gifs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.savedGifs -[Back to constructors index](index.md) - - - -Saved gifs - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|gifs|Array of [Document](../types/Document.md) | Yes|Gifs| - - - -### Type: [messages\_SavedGifs](../types/messages_SavedGifs.md) - - -### Example: - -```php -$messages_savedGifs = ['_' => 'messages.savedGifs', 'hash' => int, 'gifs' => [Document, Document]]; -``` - - -Or, if you're into Lua: - -```lua -messages_savedGifs={_='messages.savedGifs', hash=int, gifs={Document}} - -``` - - diff --git a/old_docs/API_docs_v57/constructors/messages_savedGifsNotModified.md b/old_docs/API_docs_v57/constructors/messages_savedGifsNotModified.md deleted file mode 100644 index 0f843a0c..00000000 --- a/old_docs/API_docs_v57/constructors/messages_savedGifsNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.savedGifsNotModified -description: No new saved gifs were found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.savedGifsNotModified -[Back to constructors index](index.md) - - - -No new saved gifs were found - - - - -### Type: [messages\_SavedGifs](../types/messages_SavedGifs.md) - - -### Example: - -```php -$messages_savedGifsNotModified = ['_' => 'messages.savedGifsNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_savedGifsNotModified={_='messages.savedGifsNotModified'} - -``` - - diff --git a/old_docs/API_docs_v57/constructors/messages_sentEncryptedFile.md b/old_docs/API_docs_v57/constructors/messages_sentEncryptedFile.md deleted file mode 100644 index fdc2a11e..00000000 --- a/old_docs/API_docs_v57/constructors/messages_sentEncryptedFile.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.sentEncryptedFile -description: Message with a file enclosure sent to a protected chat -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.sentEncryptedFile -[Back to constructors index](index.md) - - - -Message with a file enclosure sent to a protected chat - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Sending date| -|file|[EncryptedFile](../types/EncryptedFile.md) | Optional|Attached file| - - - -### Type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) - - -### Example: - -```php -$messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile]; -``` - - -Or, if you're into Lua: - -```lua -messages_sentEncryptedFile={_='messages.sentEncryptedFile', date=int, file=EncryptedFile} - -``` - - diff --git a/old_docs/API_docs_v57/constructors/messages_sentEncryptedMessage.md b/old_docs/API_docs_v57/constructors/messages_sentEncryptedMessage.md deleted file mode 100644 index 36b2bbff..00000000 --- a/old_docs/API_docs_v57/constructors/messages_sentEncryptedMessage.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.sentEncryptedMessage -description: Message without file attachemts sent to an encrypted file. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.sentEncryptedMessage -[Back to constructors index](index.md) - - - -Message without file attachemts sent to an encrypted file. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Date of sending| - - - -### Type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) - - -### Example: - -```php -$messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_sentEncryptedMessage={_='messages.sentEncryptedMessage', date=int} - -``` - - diff --git a/old_docs/API_docs_v57/constructors/messages_stickerSet.md b/old_docs/API_docs_v57/constructors/messages_stickerSet.md deleted file mode 100644 index 127191de..00000000 --- a/old_docs/API_docs_v57/constructors/messages_stickerSet.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.stickerSet -description: Stickerset and stickers inside it -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickerSet -[Back to constructors index](index.md) - - - -Stickerset and stickers inside it - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|set|[StickerSet](../types/StickerSet.md) | Yes|The stickerset| -|packs|Array of [StickerPack](../types/StickerPack.md) | Yes|Packs| -|documents|Array of [Document](../types/Document.md) | Yes|Documents| - - - -### Type: [messages\_StickerSet](../types/messages_StickerSet.md) - - -### Example: - -```php -$messages_stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'packs' => [StickerPack, StickerPack], 'documents' => [Document, Document]]; -``` - - -Or, if you're into Lua: - -```lua -messages_stickerSet={_='messages.stickerSet', set=StickerSet, packs={StickerPack}, documents={Document}} - -``` - - diff --git a/old_docs/API_docs_v57/constructors/messages_stickerSetInstallResultArchive.md b/old_docs/API_docs_v57/constructors/messages_stickerSetInstallResultArchive.md deleted file mode 100644 index 8a5f4d5d..00000000 --- a/old_docs/API_docs_v57/constructors/messages_stickerSetInstallResultArchive.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.stickerSetInstallResultArchive -description: The stickerset was installed, but since there are too many stickersets some were archived -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickerSetInstallResultArchive -[Back to constructors index](index.md) - - - -The stickerset was installed, but since there are too many stickersets some were archived - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| - - - -### Type: [messages\_StickerSetInstallResult](../types/messages_StickerSetInstallResult.md) - - -### Example: - -```php -$messages_stickerSetInstallResultArchive = ['_' => 'messages.stickerSetInstallResultArchive', 'sets' => [StickerSetCovered, StickerSetCovered]]; -``` - - -Or, if you're into Lua: - -```lua -messages_stickerSetInstallResultArchive={_='messages.stickerSetInstallResultArchive', sets={StickerSetCovered}} - -``` - - diff --git a/old_docs/API_docs_v57/constructors/messages_stickerSetInstallResultSuccess.md b/old_docs/API_docs_v57/constructors/messages_stickerSetInstallResultSuccess.md deleted file mode 100644 index 1d33b89f..00000000 --- a/old_docs/API_docs_v57/constructors/messages_stickerSetInstallResultSuccess.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.stickerSetInstallResultSuccess -description: The stickerset was installed successfully -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickerSetInstallResultSuccess -[Back to constructors index](index.md) - - - -The stickerset was installed successfully - - - - -### Type: [messages\_StickerSetInstallResult](../types/messages_StickerSetInstallResult.md) - - -### Example: - -```php -$messages_stickerSetInstallResultSuccess = ['_' => 'messages.stickerSetInstallResultSuccess']; -``` - - -Or, if you're into Lua: - -```lua -messages_stickerSetInstallResultSuccess={_='messages.stickerSetInstallResultSuccess'} - -``` - - diff --git a/old_docs/API_docs_v57/constructors/messages_stickers.md b/old_docs/API_docs_v57/constructors/messages_stickers.md deleted file mode 100644 index 1c007df2..00000000 --- a/old_docs/API_docs_v57/constructors/messages_stickers.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.stickers -description: Found stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickers -[Back to constructors index](index.md) - - - -Found stickers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[string](../types/string.md) | Yes|Hash| -|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| - - - -### Type: [messages\_Stickers](../types/messages_Stickers.md) - - -### Example: - -```php -$messages_stickers = ['_' => 'messages.stickers', 'hash' => 'string', 'stickers' => [Document, Document]]; -``` - - -Or, if you're into Lua: - -```lua -messages_stickers={_='messages.stickers', hash='string', stickers={Document}} - -``` - - diff --git a/old_docs/API_docs_v57/constructors/messages_stickersNotModified.md b/old_docs/API_docs_v57/constructors/messages_stickersNotModified.md deleted file mode 100644 index 3d434a79..00000000 --- a/old_docs/API_docs_v57/constructors/messages_stickersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.stickersNotModified -description: No new stickers were found for the given query -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickersNotModified -[Back to constructors index](index.md) - - - -No new stickers were found for the given query - - - - -### Type: [messages\_Stickers](../types/messages_Stickers.md) - - -### Example: - -```php -$messages_stickersNotModified = ['_' => 'messages.stickersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_stickersNotModified={_='messages.stickersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v57/constructors/photos.photo.md b/old_docs/API_docs_v57/constructors/photos.photo.md new file mode 100644 index 00000000..43d3efc7 --- /dev/null +++ b/old_docs/API_docs_v57/constructors/photos.photo.md @@ -0,0 +1,39 @@ +--- +title: photos.photo +description: Photo with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: photos.photo +[Back to constructors index](index.md) + + + +Photo with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|photo|[Photo](../types/Photo.md) | Optional|Photo| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [photos.Photo](../types/photos.Photo.md) + + +### Example: + +```php +$photos.photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +photos.photo={_='photos.photo', photo=Photo, users={User}} + +``` + + diff --git a/old_docs/API_docs_v57/constructors/photos.photos.md b/old_docs/API_docs_v57/constructors/photos.photos.md new file mode 100644 index 00000000..901a9693 --- /dev/null +++ b/old_docs/API_docs_v57/constructors/photos.photos.md @@ -0,0 +1,39 @@ +--- +title: photos.photos +description: Full list of photos with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: photos.photos +[Back to constructors index](index.md) + + + +Full list of photos with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [photos.Photos](../types/photos.Photos.md) + + +### Example: + +```php +$photos.photos = ['_' => 'photos.photos', 'photos' => [Photo, Photo], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +photos.photos={_='photos.photos', photos={Photo}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v57/constructors/photos.photosSlice.md b/old_docs/API_docs_v57/constructors/photos.photosSlice.md new file mode 100644 index 00000000..2cca3546 --- /dev/null +++ b/old_docs/API_docs_v57/constructors/photos.photosSlice.md @@ -0,0 +1,40 @@ +--- +title: photos.photosSlice +description: Incomplete list of photos with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: photos.photosSlice +[Back to constructors index](index.md) + + + +Incomplete list of photos with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of photos| +|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [photos.Photos](../types/photos.Photos.md) + + +### Example: + +```php +$photos.photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo, Photo], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +photos.photosSlice={_='photos.photosSlice', count=int, photos={Photo}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v57/constructors/photos_photo.md b/old_docs/API_docs_v57/constructors/photos_photo.md deleted file mode 100644 index d5ad61d9..00000000 --- a/old_docs/API_docs_v57/constructors/photos_photo.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: photos.photo -description: Photo with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: photos.photo -[Back to constructors index](index.md) - - - -Photo with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|photo|[Photo](../types/Photo.md) | Optional|Photo| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [photos\_Photo](../types/photos_Photo.md) - - -### Example: - -```php -$photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -photos_photo={_='photos.photo', photo=Photo, users={User}} - -``` - - diff --git a/old_docs/API_docs_v57/constructors/photos_photos.md b/old_docs/API_docs_v57/constructors/photos_photos.md deleted file mode 100644 index 6ae5d048..00000000 --- a/old_docs/API_docs_v57/constructors/photos_photos.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: photos.photos -description: Full list of photos with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: photos.photos -[Back to constructors index](index.md) - - - -Full list of photos with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [photos\_Photos](../types/photos_Photos.md) - - -### Example: - -```php -$photos_photos = ['_' => 'photos.photos', 'photos' => [Photo, Photo], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -photos_photos={_='photos.photos', photos={Photo}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v57/constructors/photos_photosSlice.md b/old_docs/API_docs_v57/constructors/photos_photosSlice.md deleted file mode 100644 index 5c465c21..00000000 --- a/old_docs/API_docs_v57/constructors/photos_photosSlice.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: photos.photosSlice -description: Incomplete list of photos with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: photos.photosSlice -[Back to constructors index](index.md) - - - -Incomplete list of photos with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of photos| -|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [photos\_Photos](../types/photos_Photos.md) - - -### Example: - -```php -$photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo, Photo], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -photos_photosSlice={_='photos.photosSlice', count=int, photos={Photo}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v57/constructors/storage.fileGif.md b/old_docs/API_docs_v57/constructors/storage.fileGif.md new file mode 100644 index 00000000..8193bd25 --- /dev/null +++ b/old_docs/API_docs_v57/constructors/storage.fileGif.md @@ -0,0 +1,33 @@ +--- +title: storage.fileGif +description: GIF image. MIME type: `image/gif`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileGif +[Back to constructors index](index.md) + + + +GIF image. MIME type: `image/gif`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileGif = ['_' => 'storage.fileGif']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileGif={_='storage.fileGif'} + +``` + + diff --git a/old_docs/API_docs_v57/constructors/storage.fileJpeg.md b/old_docs/API_docs_v57/constructors/storage.fileJpeg.md new file mode 100644 index 00000000..7f125963 --- /dev/null +++ b/old_docs/API_docs_v57/constructors/storage.fileJpeg.md @@ -0,0 +1,33 @@ +--- +title: storage.fileJpeg +description: JPEG image. MIME type: `image/jpeg`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileJpeg +[Back to constructors index](index.md) + + + +JPEG image. MIME type: `image/jpeg`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileJpeg = ['_' => 'storage.fileJpeg']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileJpeg={_='storage.fileJpeg'} + +``` + + diff --git a/old_docs/API_docs_v57/constructors/storage.fileMov.md b/old_docs/API_docs_v57/constructors/storage.fileMov.md new file mode 100644 index 00000000..cb3742e0 --- /dev/null +++ b/old_docs/API_docs_v57/constructors/storage.fileMov.md @@ -0,0 +1,33 @@ +--- +title: storage.fileMov +description: Quicktime video. MIME type: `video/quicktime`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileMov +[Back to constructors index](index.md) + + + +Quicktime video. MIME type: `video/quicktime`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileMov = ['_' => 'storage.fileMov']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileMov={_='storage.fileMov'} + +``` + + diff --git a/old_docs/API_docs_v57/constructors/storage.fileMp3.md b/old_docs/API_docs_v57/constructors/storage.fileMp3.md new file mode 100644 index 00000000..617f2d39 --- /dev/null +++ b/old_docs/API_docs_v57/constructors/storage.fileMp3.md @@ -0,0 +1,33 @@ +--- +title: storage.fileMp3 +description: Mp3 audio. MIME type: `audio/mpeg`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileMp3 +[Back to constructors index](index.md) + + + +Mp3 audio. MIME type: `audio/mpeg`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileMp3 = ['_' => 'storage.fileMp3']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileMp3={_='storage.fileMp3'} + +``` + + diff --git a/old_docs/API_docs_v57/constructors/storage.fileMp4.md b/old_docs/API_docs_v57/constructors/storage.fileMp4.md new file mode 100644 index 00000000..37038176 --- /dev/null +++ b/old_docs/API_docs_v57/constructors/storage.fileMp4.md @@ -0,0 +1,33 @@ +--- +title: storage.fileMp4 +description: MPEG-4 video. MIME type: `video/mp4`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileMp4 +[Back to constructors index](index.md) + + + +MPEG-4 video. MIME type: `video/mp4`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileMp4 = ['_' => 'storage.fileMp4']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileMp4={_='storage.fileMp4'} + +``` + + diff --git a/old_docs/API_docs_v57/constructors/storage.filePartial.md b/old_docs/API_docs_v57/constructors/storage.filePartial.md new file mode 100644 index 00000000..98779e71 --- /dev/null +++ b/old_docs/API_docs_v57/constructors/storage.filePartial.md @@ -0,0 +1,33 @@ +--- +title: storage.filePartial +description: Part of a bigger file. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.filePartial +[Back to constructors index](index.md) + + + +Part of a bigger file. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.filePartial = ['_' => 'storage.filePartial']; +``` + + +Or, if you're into Lua: + +```lua +storage.filePartial={_='storage.filePartial'} + +``` + + diff --git a/old_docs/API_docs_v57/constructors/storage.filePdf.md b/old_docs/API_docs_v57/constructors/storage.filePdf.md new file mode 100644 index 00000000..136c0614 --- /dev/null +++ b/old_docs/API_docs_v57/constructors/storage.filePdf.md @@ -0,0 +1,33 @@ +--- +title: storage.filePdf +description: PDF document image. MIME type: `application/pdf`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.filePdf +[Back to constructors index](index.md) + + + +PDF document image. MIME type: `application/pdf`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.filePdf = ['_' => 'storage.filePdf']; +``` + + +Or, if you're into Lua: + +```lua +storage.filePdf={_='storage.filePdf'} + +``` + + diff --git a/old_docs/API_docs_v57/constructors/storage.filePng.md b/old_docs/API_docs_v57/constructors/storage.filePng.md new file mode 100644 index 00000000..db01ce0e --- /dev/null +++ b/old_docs/API_docs_v57/constructors/storage.filePng.md @@ -0,0 +1,33 @@ +--- +title: storage.filePng +description: PNG image. MIME type: `image/png`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.filePng +[Back to constructors index](index.md) + + + +PNG image. MIME type: `image/png`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.filePng = ['_' => 'storage.filePng']; +``` + + +Or, if you're into Lua: + +```lua +storage.filePng={_='storage.filePng'} + +``` + + diff --git a/old_docs/API_docs_v57/constructors/storage.fileUnknown.md b/old_docs/API_docs_v57/constructors/storage.fileUnknown.md new file mode 100644 index 00000000..26f0a5ae --- /dev/null +++ b/old_docs/API_docs_v57/constructors/storage.fileUnknown.md @@ -0,0 +1,33 @@ +--- +title: storage.fileUnknown +description: Unknown type. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileUnknown +[Back to constructors index](index.md) + + + +Unknown type. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileUnknown = ['_' => 'storage.fileUnknown']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileUnknown={_='storage.fileUnknown'} + +``` + + diff --git a/old_docs/API_docs_v57/constructors/storage.fileWebp.md b/old_docs/API_docs_v57/constructors/storage.fileWebp.md new file mode 100644 index 00000000..63c9ded1 --- /dev/null +++ b/old_docs/API_docs_v57/constructors/storage.fileWebp.md @@ -0,0 +1,33 @@ +--- +title: storage.fileWebp +description: WEBP image. MIME type: `image/webp`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileWebp +[Back to constructors index](index.md) + + + +WEBP image. MIME type: `image/webp`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileWebp = ['_' => 'storage.fileWebp']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileWebp={_='storage.fileWebp'} + +``` + + diff --git a/old_docs/API_docs_v57/constructors/storage_fileGif.md b/old_docs/API_docs_v57/constructors/storage_fileGif.md deleted file mode 100644 index 218c7491..00000000 --- a/old_docs/API_docs_v57/constructors/storage_fileGif.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileGif -description: GIF image. MIME type: `image/gif`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileGif -[Back to constructors index](index.md) - - - -GIF image. MIME type: `image/gif`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileGif = ['_' => 'storage.fileGif']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileGif={_='storage.fileGif'} - -``` - - diff --git a/old_docs/API_docs_v57/constructors/storage_fileJpeg.md b/old_docs/API_docs_v57/constructors/storage_fileJpeg.md deleted file mode 100644 index 925531cd..00000000 --- a/old_docs/API_docs_v57/constructors/storage_fileJpeg.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileJpeg -description: JPEG image. MIME type: `image/jpeg`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileJpeg -[Back to constructors index](index.md) - - - -JPEG image. MIME type: `image/jpeg`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileJpeg = ['_' => 'storage.fileJpeg']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileJpeg={_='storage.fileJpeg'} - -``` - - diff --git a/old_docs/API_docs_v57/constructors/storage_fileMov.md b/old_docs/API_docs_v57/constructors/storage_fileMov.md deleted file mode 100644 index eaf2a6ff..00000000 --- a/old_docs/API_docs_v57/constructors/storage_fileMov.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileMov -description: Quicktime video. MIME type: `video/quicktime`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileMov -[Back to constructors index](index.md) - - - -Quicktime video. MIME type: `video/quicktime`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileMov = ['_' => 'storage.fileMov']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileMov={_='storage.fileMov'} - -``` - - diff --git a/old_docs/API_docs_v57/constructors/storage_fileMp3.md b/old_docs/API_docs_v57/constructors/storage_fileMp3.md deleted file mode 100644 index 9afcefbb..00000000 --- a/old_docs/API_docs_v57/constructors/storage_fileMp3.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileMp3 -description: Mp3 audio. MIME type: `audio/mpeg`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileMp3 -[Back to constructors index](index.md) - - - -Mp3 audio. MIME type: `audio/mpeg`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileMp3 = ['_' => 'storage.fileMp3']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileMp3={_='storage.fileMp3'} - -``` - - diff --git a/old_docs/API_docs_v57/constructors/storage_fileMp4.md b/old_docs/API_docs_v57/constructors/storage_fileMp4.md deleted file mode 100644 index cdc0e783..00000000 --- a/old_docs/API_docs_v57/constructors/storage_fileMp4.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileMp4 -description: MPEG-4 video. MIME type: `video/mp4`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileMp4 -[Back to constructors index](index.md) - - - -MPEG-4 video. MIME type: `video/mp4`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileMp4 = ['_' => 'storage.fileMp4']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileMp4={_='storage.fileMp4'} - -``` - - diff --git a/old_docs/API_docs_v57/constructors/storage_filePartial.md b/old_docs/API_docs_v57/constructors/storage_filePartial.md deleted file mode 100644 index 9bfadf63..00000000 --- a/old_docs/API_docs_v57/constructors/storage_filePartial.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.filePartial -description: Part of a bigger file. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.filePartial -[Back to constructors index](index.md) - - - -Part of a bigger file. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_filePartial = ['_' => 'storage.filePartial']; -``` - - -Or, if you're into Lua: - -```lua -storage_filePartial={_='storage.filePartial'} - -``` - - diff --git a/old_docs/API_docs_v57/constructors/storage_filePdf.md b/old_docs/API_docs_v57/constructors/storage_filePdf.md deleted file mode 100644 index efb022cc..00000000 --- a/old_docs/API_docs_v57/constructors/storage_filePdf.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.filePdf -description: PDF document image. MIME type: `application/pdf`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.filePdf -[Back to constructors index](index.md) - - - -PDF document image. MIME type: `application/pdf`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_filePdf = ['_' => 'storage.filePdf']; -``` - - -Or, if you're into Lua: - -```lua -storage_filePdf={_='storage.filePdf'} - -``` - - diff --git a/old_docs/API_docs_v57/constructors/storage_filePng.md b/old_docs/API_docs_v57/constructors/storage_filePng.md deleted file mode 100644 index 412759e4..00000000 --- a/old_docs/API_docs_v57/constructors/storage_filePng.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.filePng -description: PNG image. MIME type: `image/png`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.filePng -[Back to constructors index](index.md) - - - -PNG image. MIME type: `image/png`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_filePng = ['_' => 'storage.filePng']; -``` - - -Or, if you're into Lua: - -```lua -storage_filePng={_='storage.filePng'} - -``` - - diff --git a/old_docs/API_docs_v57/constructors/storage_fileUnknown.md b/old_docs/API_docs_v57/constructors/storage_fileUnknown.md deleted file mode 100644 index ed33dd5e..00000000 --- a/old_docs/API_docs_v57/constructors/storage_fileUnknown.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileUnknown -description: Unknown type. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileUnknown -[Back to constructors index](index.md) - - - -Unknown type. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileUnknown = ['_' => 'storage.fileUnknown']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileUnknown={_='storage.fileUnknown'} - -``` - - diff --git a/old_docs/API_docs_v57/constructors/storage_fileWebp.md b/old_docs/API_docs_v57/constructors/storage_fileWebp.md deleted file mode 100644 index 04dcad74..00000000 --- a/old_docs/API_docs_v57/constructors/storage_fileWebp.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileWebp -description: WEBP image. MIME type: `image/webp`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileWebp -[Back to constructors index](index.md) - - - -WEBP image. MIME type: `image/webp`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileWebp = ['_' => 'storage.fileWebp']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileWebp={_='storage.fileWebp'} - -``` - - diff --git a/old_docs/API_docs_v57/constructors/updateNewStickerSet.md b/old_docs/API_docs_v57/constructors/updateNewStickerSet.md index 8a99a363..c32c41ff 100644 --- a/old_docs/API_docs_v57/constructors/updateNewStickerSet.md +++ b/old_docs/API_docs_v57/constructors/updateNewStickerSet.md @@ -14,7 +14,7 @@ A new stickerset was installed | Name | Type | Required | Description | |----------|---------------|----------|-------------| -|stickerset|[messages\_StickerSet](../types/messages_StickerSet.md) | Yes|The installed stickerset| +|stickerset|[messages.StickerSet](../constructors/messages.StickerSet.md) | Yes|The installed stickerset| @@ -24,14 +24,14 @@ A new stickerset was installed ### Example: ```php -$updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages_StickerSet]; +$updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages.StickerSet]; ``` Or, if you're into Lua: ```lua -updateNewStickerSet={_='updateNewStickerSet', stickerset=messages_StickerSet} +updateNewStickerSet={_='updateNewStickerSet', stickerset=messages.StickerSet} ``` diff --git a/old_docs/API_docs_v57/constructors/updates.channelDifference.md b/old_docs/API_docs_v57/constructors/updates.channelDifference.md new file mode 100644 index 00000000..5a13791c --- /dev/null +++ b/old_docs/API_docs_v57/constructors/updates.channelDifference.md @@ -0,0 +1,44 @@ +--- +title: updates.channelDifference +description: The new updates +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.channelDifference +[Back to constructors index](index.md) + + + +The new updates + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates to be fetched using getDifference, starting from the provided `pts`| +|pts|[int](../types/int.md) | Yes|The [PTS](https://core.telegram.org/api/updates) from which to start getting updates the next time| +|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| +|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| +|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [updates.ChannelDifference](../types/updates.ChannelDifference.md) + + +### Example: + +```php +$updates.channelDifference = ['_' => 'updates.channelDifference', 'final' => Bool, 'pts' => int, 'timeout' => int, 'new_messages' => [Message, Message], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +updates.channelDifference={_='updates.channelDifference', final=Bool, pts=int, timeout=int, new_messages={Message}, other_updates={Update}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v57/constructors/updates.channelDifferenceEmpty.md b/old_docs/API_docs_v57/constructors/updates.channelDifferenceEmpty.md new file mode 100644 index 00000000..8ce43da4 --- /dev/null +++ b/old_docs/API_docs_v57/constructors/updates.channelDifferenceEmpty.md @@ -0,0 +1,40 @@ +--- +title: updates.channelDifferenceEmpty +description: There are no new updates +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.channelDifferenceEmpty +[Back to constructors index](index.md) + + + +There are no new updates + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates that must be fetched (always false)| +|pts|[int](../types/int.md) | Yes|The latest [PTS](https://core.telegram.org/api/updates)| +|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| + + + +### Type: [updates.ChannelDifference](../types/updates.ChannelDifference.md) + + +### Example: + +```php +$updates.channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'final' => Bool, 'pts' => int, 'timeout' => int]; +``` + + +Or, if you're into Lua: + +```lua +updates.channelDifferenceEmpty={_='updates.channelDifferenceEmpty', final=Bool, pts=int, timeout=int} + +``` + + diff --git a/old_docs/API_docs_v57/constructors/updates.channelDifferenceTooLong.md b/old_docs/API_docs_v57/constructors/updates.channelDifferenceTooLong.md new file mode 100644 index 00000000..3d47a6df --- /dev/null +++ b/old_docs/API_docs_v57/constructors/updates.channelDifferenceTooLong.md @@ -0,0 +1,57 @@ +--- +title: updates.channelDifferenceTooLong +description: The provided `pts + limit < remote pts`. Simply, there are too many updates to be fetched (more than `limit`), the client has to resolve the update gap in one of the following ways: + +1. Delete all known messages in the chat, begin from scratch by refetching all messages manually with [getHistory](../methods/messages.getHistory.md). It is easy to implement, but suddenly disappearing messages looks awful for the user. +2. Save all messages loaded in the memory until application restart, but delete all messages from database. Messages left in the memory must be lazily updated using calls to [getHistory](../methods/messages.getHistory.md). It looks much smoothly for the user, he will need to redownload messages only after client restart. Unsynchronized messages left in the memory shouldn't be saved to database, results of [getHistory](../methods/messages.getHistory.md) and [getMessages](../methods/messages.getMessages.md) must be used to update state of deleted and edited messages left in the memory. +3. Save all messages loaded in the memory and stored in the database without saving that some messages form continuous ranges. Messages in the database will be excluded from results of getChatHistory and searchChatMessages after application restart and will be available only through getMessage. Every message should still be checked using getHistory. It has more disadvantages over 2) than advantages. +4. Save all messages with saving all data about continuous message ranges. Messages from the database may be used as results of getChatHistory and (if implemented continuous ranges support for searching shared media) searchChatMessages. The messages should still be lazily checked using getHistory, but they are still available offline. It is the best way for gaps support, but it is pretty hard to implement correctly. It should be also noted that some messages like live location messages shouldn't be deleted. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.channelDifferenceTooLong +[Back to constructors index](index.md) + + + +The provided `pts + limit < remote pts`. Simply, there are too many updates to be fetched (more than `limit`), the client has to resolve the update gap in one of the following ways: + +1. Delete all known messages in the chat, begin from scratch by refetching all messages manually with [getHistory](../methods/messages.getHistory.md). It is easy to implement, but suddenly disappearing messages looks awful for the user. +2. Save all messages loaded in the memory until application restart, but delete all messages from database. Messages left in the memory must be lazily updated using calls to [getHistory](../methods/messages.getHistory.md). It looks much smoothly for the user, he will need to redownload messages only after client restart. Unsynchronized messages left in the memory shouldn't be saved to database, results of [getHistory](../methods/messages.getHistory.md) and [getMessages](../methods/messages.getMessages.md) must be used to update state of deleted and edited messages left in the memory. +3. Save all messages loaded in the memory and stored in the database without saving that some messages form continuous ranges. Messages in the database will be excluded from results of getChatHistory and searchChatMessages after application restart and will be available only through getMessage. Every message should still be checked using getHistory. It has more disadvantages over 2) than advantages. +4. Save all messages with saving all data about continuous message ranges. Messages from the database may be used as results of getChatHistory and (if implemented continuous ranges support for searching shared media) searchChatMessages. The messages should still be lazily checked using getHistory, but they are still available offline. It is the best way for gaps support, but it is pretty hard to implement correctly. It should be also noted that some messages like live location messages shouldn't be deleted. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates that must be fetched (always false)| +|pts|[int](../types/int.md) | Yes|Pts| +|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| +|top\_message|[int](../types/int.md) | Yes|Top message| +|read\_inbox\_max\_id|[int](../types/int.md) | Yes|Read inbox max ID| +|read\_outbox\_max\_id|[int](../types/int.md) | Yes|Read outbox max ID| +|unread\_count|[int](../types/int.md) | Yes|Unread count| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [updates.ChannelDifference](../types/updates.ChannelDifference.md) + + +### Example: + +```php +$updates.channelDifferenceTooLong = ['_' => 'updates.channelDifferenceTooLong', 'final' => Bool, 'pts' => int, 'timeout' => int, 'top_message' => int, 'read_inbox_max_id' => int, 'read_outbox_max_id' => int, 'unread_count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +updates.channelDifferenceTooLong={_='updates.channelDifferenceTooLong', final=Bool, pts=int, timeout=int, top_message=int, read_inbox_max_id=int, read_outbox_max_id=int, unread_count=int, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v57/constructors/updates.difference.md b/old_docs/API_docs_v57/constructors/updates.difference.md new file mode 100644 index 00000000..82541b51 --- /dev/null +++ b/old_docs/API_docs_v57/constructors/updates.difference.md @@ -0,0 +1,43 @@ +--- +title: updates.difference +description: Full list of occurred events. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.difference +[Back to constructors index](index.md) + + + +Full list of occurred events. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| +|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| +|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| +|state|[updates.State](../constructors/updates.State.md) | Yes|Current state| + + + +### Type: [updates.Difference](../types/updates.Difference.md) + + +### Example: + +```php +$updates.difference = ['_' => 'updates.difference', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates.State]; +``` + + +Or, if you're into Lua: + +```lua +updates.difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates.State} + +``` + + diff --git a/old_docs/API_docs_v57/constructors/updates.differenceEmpty.md b/old_docs/API_docs_v57/constructors/updates.differenceEmpty.md new file mode 100644 index 00000000..a9dc3bd0 --- /dev/null +++ b/old_docs/API_docs_v57/constructors/updates.differenceEmpty.md @@ -0,0 +1,39 @@ +--- +title: updates.differenceEmpty +description: No events. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.differenceEmpty +[Back to constructors index](index.md) + + + +No events. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Current date| +|seq|[int](../types/int.md) | Yes|Number of sent updates| + + + +### Type: [updates.Difference](../types/updates.Difference.md) + + +### Example: + +```php +$updates.differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int]; +``` + + +Or, if you're into Lua: + +```lua +updates.differenceEmpty={_='updates.differenceEmpty', date=int, seq=int} + +``` + + diff --git a/old_docs/API_docs_v57/constructors/updates.differenceSlice.md b/old_docs/API_docs_v57/constructors/updates.differenceSlice.md new file mode 100644 index 00000000..9daf7a75 --- /dev/null +++ b/old_docs/API_docs_v57/constructors/updates.differenceSlice.md @@ -0,0 +1,43 @@ +--- +title: updates.differenceSlice +description: Incomplete list of occurred events. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.differenceSlice +[Back to constructors index](index.md) + + + +Incomplete list of occurred events. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| +|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| +|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| +|intermediate\_state|[updates.State](../constructors/updates.State.md) | Yes|Intermediary state| + + + +### Type: [updates.Difference](../types/updates.Difference.md) + + +### Example: + +```php +$updates.differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'intermediate_state' => updates.State]; +``` + + +Or, if you're into Lua: + +```lua +updates.differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates.State} + +``` + + diff --git a/old_docs/API_docs_v57/constructors/updates.state.md b/old_docs/API_docs_v57/constructors/updates.state.md new file mode 100644 index 00000000..abe9ddbb --- /dev/null +++ b/old_docs/API_docs_v57/constructors/updates.state.md @@ -0,0 +1,42 @@ +--- +title: updates.state +description: Updates state. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.state +[Back to constructors index](index.md) + + + +Updates state. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| +|qts|[int](../types/int.md) | Yes|Position in a sequence of updates in secret chats. For further detailes refer to article [secret chats](https://core.telegram.org/api/end-to-end)
Parameter was added in [eigth layer](https://core.telegram.org/api/layers#layer-8).| +|date|[int](../types/int.md) | Yes|Date of condition| +|seq|[int](../types/int.md) | Yes|Number of sent updates| +|unread\_count|[int](../types/int.md) | Yes|Number of unread messages| + + + +### Type: [updates.State](../types/updates.State.md) + + +### Example: + +```php +$updates.state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int]; +``` + + +Or, if you're into Lua: + +```lua +updates.state={_='updates.state', pts=int, qts=int, date=int, seq=int, unread_count=int} + +``` + + diff --git a/old_docs/API_docs_v57/constructors/updates_channelDifference.md b/old_docs/API_docs_v57/constructors/updates_channelDifference.md deleted file mode 100644 index 1b50fbf3..00000000 --- a/old_docs/API_docs_v57/constructors/updates_channelDifference.md +++ /dev/null @@ -1,44 +0,0 @@ ---- -title: updates.channelDifference -description: The new updates -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.channelDifference -[Back to constructors index](index.md) - - - -The new updates - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates to be fetched using getDifference, starting from the provided `pts`| -|pts|[int](../types/int.md) | Yes|The [PTS](https://core.telegram.org/api/updates) from which to start getting updates the next time| -|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| -|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| -|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) - - -### Example: - -```php -$updates_channelDifference = ['_' => 'updates.channelDifference', 'final' => Bool, 'pts' => int, 'timeout' => int, 'new_messages' => [Message, Message], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -updates_channelDifference={_='updates.channelDifference', final=Bool, pts=int, timeout=int, new_messages={Message}, other_updates={Update}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v57/constructors/updates_channelDifferenceEmpty.md b/old_docs/API_docs_v57/constructors/updates_channelDifferenceEmpty.md deleted file mode 100644 index 713137aa..00000000 --- a/old_docs/API_docs_v57/constructors/updates_channelDifferenceEmpty.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: updates.channelDifferenceEmpty -description: There are no new updates -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.channelDifferenceEmpty -[Back to constructors index](index.md) - - - -There are no new updates - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates that must be fetched (always false)| -|pts|[int](../types/int.md) | Yes|The latest [PTS](https://core.telegram.org/api/updates)| -|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| - - - -### Type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) - - -### Example: - -```php -$updates_channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'final' => Bool, 'pts' => int, 'timeout' => int]; -``` - - -Or, if you're into Lua: - -```lua -updates_channelDifferenceEmpty={_='updates.channelDifferenceEmpty', final=Bool, pts=int, timeout=int} - -``` - - diff --git a/old_docs/API_docs_v57/constructors/updates_channelDifferenceTooLong.md b/old_docs/API_docs_v57/constructors/updates_channelDifferenceTooLong.md deleted file mode 100644 index fe561bca..00000000 --- a/old_docs/API_docs_v57/constructors/updates_channelDifferenceTooLong.md +++ /dev/null @@ -1,57 +0,0 @@ ---- -title: updates.channelDifferenceTooLong -description: The provided `pts + limit < remote pts`. Simply, there are too many updates to be fetched (more than `limit`), the client has to resolve the update gap in one of the following ways: - -1. Delete all known messages in the chat, begin from scratch by refetching all messages manually with [getHistory](../methods/messages.getHistory.md). It is easy to implement, but suddenly disappearing messages looks awful for the user. -2. Save all messages loaded in the memory until application restart, but delete all messages from database. Messages left in the memory must be lazily updated using calls to [getHistory](../methods/messages.getHistory.md). It looks much smoothly for the user, he will need to redownload messages only after client restart. Unsynchronized messages left in the memory shouldn't be saved to database, results of [getHistory](../methods/messages.getHistory.md) and [getMessages](../methods/messages.getMessages.md) must be used to update state of deleted and edited messages left in the memory. -3. Save all messages loaded in the memory and stored in the database without saving that some messages form continuous ranges. Messages in the database will be excluded from results of getChatHistory and searchChatMessages after application restart and will be available only through getMessage. Every message should still be checked using getHistory. It has more disadvantages over 2) than advantages. -4. Save all messages with saving all data about continuous message ranges. Messages from the database may be used as results of getChatHistory and (if implemented continuous ranges support for searching shared media) searchChatMessages. The messages should still be lazily checked using getHistory, but they are still available offline. It is the best way for gaps support, but it is pretty hard to implement correctly. It should be also noted that some messages like live location messages shouldn't be deleted. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.channelDifferenceTooLong -[Back to constructors index](index.md) - - - -The provided `pts + limit < remote pts`. Simply, there are too many updates to be fetched (more than `limit`), the client has to resolve the update gap in one of the following ways: - -1. Delete all known messages in the chat, begin from scratch by refetching all messages manually with [getHistory](../methods/messages.getHistory.md). It is easy to implement, but suddenly disappearing messages looks awful for the user. -2. Save all messages loaded in the memory until application restart, but delete all messages from database. Messages left in the memory must be lazily updated using calls to [getHistory](../methods/messages.getHistory.md). It looks much smoothly for the user, he will need to redownload messages only after client restart. Unsynchronized messages left in the memory shouldn't be saved to database, results of [getHistory](../methods/messages.getHistory.md) and [getMessages](../methods/messages.getMessages.md) must be used to update state of deleted and edited messages left in the memory. -3. Save all messages loaded in the memory and stored in the database without saving that some messages form continuous ranges. Messages in the database will be excluded from results of getChatHistory and searchChatMessages after application restart and will be available only through getMessage. Every message should still be checked using getHistory. It has more disadvantages over 2) than advantages. -4. Save all messages with saving all data about continuous message ranges. Messages from the database may be used as results of getChatHistory and (if implemented continuous ranges support for searching shared media) searchChatMessages. The messages should still be lazily checked using getHistory, but they are still available offline. It is the best way for gaps support, but it is pretty hard to implement correctly. It should be also noted that some messages like live location messages shouldn't be deleted. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates that must be fetched (always false)| -|pts|[int](../types/int.md) | Yes|Pts| -|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| -|top\_message|[int](../types/int.md) | Yes|Top message| -|read\_inbox\_max\_id|[int](../types/int.md) | Yes|Read inbox max ID| -|read\_outbox\_max\_id|[int](../types/int.md) | Yes|Read outbox max ID| -|unread\_count|[int](../types/int.md) | Yes|Unread count| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) - - -### Example: - -```php -$updates_channelDifferenceTooLong = ['_' => 'updates.channelDifferenceTooLong', 'final' => Bool, 'pts' => int, 'timeout' => int, 'top_message' => int, 'read_inbox_max_id' => int, 'read_outbox_max_id' => int, 'unread_count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -updates_channelDifferenceTooLong={_='updates.channelDifferenceTooLong', final=Bool, pts=int, timeout=int, top_message=int, read_inbox_max_id=int, read_outbox_max_id=int, unread_count=int, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v57/constructors/updates_difference.md b/old_docs/API_docs_v57/constructors/updates_difference.md deleted file mode 100644 index 71ac7d4c..00000000 --- a/old_docs/API_docs_v57/constructors/updates_difference.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: updates.difference -description: Full list of occurred events. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.difference -[Back to constructors index](index.md) - - - -Full list of occurred events. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| -|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| -|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| -|state|[updates\_State](../types/updates_State.md) | Yes|Current state| - - - -### Type: [updates\_Difference](../types/updates_Difference.md) - - -### Example: - -```php -$updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates_State]; -``` - - -Or, if you're into Lua: - -```lua -updates_difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates_State} - -``` - - diff --git a/old_docs/API_docs_v57/constructors/updates_differenceEmpty.md b/old_docs/API_docs_v57/constructors/updates_differenceEmpty.md deleted file mode 100644 index c3c95c5a..00000000 --- a/old_docs/API_docs_v57/constructors/updates_differenceEmpty.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: updates.differenceEmpty -description: No events. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.differenceEmpty -[Back to constructors index](index.md) - - - -No events. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Current date| -|seq|[int](../types/int.md) | Yes|Number of sent updates| - - - -### Type: [updates\_Difference](../types/updates_Difference.md) - - -### Example: - -```php -$updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int]; -``` - - -Or, if you're into Lua: - -```lua -updates_differenceEmpty={_='updates.differenceEmpty', date=int, seq=int} - -``` - - diff --git a/old_docs/API_docs_v57/constructors/updates_differenceSlice.md b/old_docs/API_docs_v57/constructors/updates_differenceSlice.md deleted file mode 100644 index 8b12a369..00000000 --- a/old_docs/API_docs_v57/constructors/updates_differenceSlice.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: updates.differenceSlice -description: Incomplete list of occurred events. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.differenceSlice -[Back to constructors index](index.md) - - - -Incomplete list of occurred events. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| -|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| -|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| -|intermediate\_state|[updates\_State](../types/updates_State.md) | Yes|Intermediary state| - - - -### Type: [updates\_Difference](../types/updates_Difference.md) - - -### Example: - -```php -$updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'intermediate_state' => updates_State]; -``` - - -Or, if you're into Lua: - -```lua -updates_differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates_State} - -``` - - diff --git a/old_docs/API_docs_v57/constructors/updates_state.md b/old_docs/API_docs_v57/constructors/updates_state.md deleted file mode 100644 index ef3698e2..00000000 --- a/old_docs/API_docs_v57/constructors/updates_state.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: updates.state -description: Updates state. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.state -[Back to constructors index](index.md) - - - -Updates state. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| -|qts|[int](../types/int.md) | Yes|Position in a sequence of updates in secret chats. For further detailes refer to article [secret chats](https://core.telegram.org/api/end-to-end)
Parameter was added in [eigth layer](https://core.telegram.org/api/layers#layer-8).| -|date|[int](../types/int.md) | Yes|Date of condition| -|seq|[int](../types/int.md) | Yes|Number of sent updates| -|unread\_count|[int](../types/int.md) | Yes|Number of unread messages| - - - -### Type: [updates\_State](../types/updates_State.md) - - -### Example: - -```php -$updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int]; -``` - - -Or, if you're into Lua: - -```lua -updates_state={_='updates.state', pts=int, qts=int, date=int, seq=int, unread_count=int} - -``` - - diff --git a/old_docs/API_docs_v57/constructors/upload.file.md b/old_docs/API_docs_v57/constructors/upload.file.md new file mode 100644 index 00000000..145a4c24 --- /dev/null +++ b/old_docs/API_docs_v57/constructors/upload.file.md @@ -0,0 +1,40 @@ +--- +title: upload.file +description: File content. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: upload.file +[Back to constructors index](index.md) + + + +File content. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|type|[storage.FileType](../constructors/storage.FileType.md) | Yes|File type| +|mtime|[int](../types/int.md) | Yes|Modification type| +|bytes|[bytes](../types/bytes.md) | Yes|Binary data, file content| + + + +### Type: [upload.File](../types/upload.File.md) + + +### Example: + +```php +$upload.file = ['_' => 'upload.file', 'type' => storage.FileType, 'mtime' => int, 'bytes' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +upload.file={_='upload.file', type=storage.FileType, mtime=int, bytes='bytes'} + +``` + + diff --git a/old_docs/API_docs_v57/constructors/upload_file.md b/old_docs/API_docs_v57/constructors/upload_file.md deleted file mode 100644 index 1e07d9fb..00000000 --- a/old_docs/API_docs_v57/constructors/upload_file.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: upload.file -description: File content. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: upload.file -[Back to constructors index](index.md) - - - -File content. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|type|[storage\_FileType](../types/storage_FileType.md) | Yes|File type| -|mtime|[int](../types/int.md) | Yes|Modification type| -|bytes|[bytes](../types/bytes.md) | Yes|Binary data, file content| - - - -### Type: [upload\_File](../types/upload_File.md) - - -### Example: - -```php -$upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int, 'bytes' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -upload_file={_='upload.file', type=storage_FileType, mtime=int, bytes='bytes'} - -``` - - diff --git a/old_docs/API_docs_v57/constructors/userFull.md b/old_docs/API_docs_v57/constructors/userFull.md index eb9e7aa9..76e9e929 100644 --- a/old_docs/API_docs_v57/constructors/userFull.md +++ b/old_docs/API_docs_v57/constructors/userFull.md @@ -17,7 +17,7 @@ Extended user info |blocked|[Bool](../types/Bool.md) | Optional|Whether you have blocked this user| |user|[User](../types/User.md) | Optional|Remaining user info| |about|[string](../types/string.md) | Optional|Bio of the user| -|link|[contacts\_Link](../types/contacts_Link.md) | Yes|Link| +|link|[contacts.Link](../constructors/contacts.Link.md) | Yes|Link| |profile\_photo|[Photo](../types/Photo.md) | Optional|Profile photo| |notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Optional|Notification settings| |bot\_info|[BotInfo](../types/BotInfo.md) | Optional|For bots, info about the bot (bot commands, etc)| @@ -30,14 +30,14 @@ Extended user info ### Example: ```php -$userFull = ['_' => 'userFull', 'blocked' => Bool, 'user' => User, 'about' => 'string', 'link' => contacts_Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'bot_info' => BotInfo]; +$userFull = ['_' => 'userFull', 'blocked' => Bool, 'user' => User, 'about' => 'string', 'link' => contacts.Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'bot_info' => BotInfo]; ``` Or, if you're into Lua: ```lua -userFull={_='userFull', blocked=Bool, user=User, about='string', link=contacts_Link, profile_photo=Photo, notify_settings=PeerNotifySettings, bot_info=BotInfo} +userFull={_='userFull', blocked=Bool, user=User, about='string', link=contacts.Link, profile_photo=Photo, notify_settings=PeerNotifySettings, bot_info=BotInfo} ``` diff --git a/old_docs/API_docs_v57/methods/account.getAuthorizations.md b/old_docs/API_docs_v57/methods/account.getAuthorizations.md index f69c130a..fad3a7ae 100644 --- a/old_docs/API_docs_v57/methods/account.getAuthorizations.md +++ b/old_docs/API_docs_v57/methods/account.getAuthorizations.md @@ -11,7 +11,7 @@ Get logged-in sessions -### Return type: [account\_Authorizations](../types/account_Authorizations.md) +### Return type: [account.Authorizations](../types/account.Authorizations.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_Authorizations = $MadelineProto->account->getAuthorizations(); +$account.Authorizations = $MadelineProto->account->getAuthorizations(); ``` Or, if you're into Lua: ```lua -account_Authorizations = account.getAuthorizations({}) +account.Authorizations = account.getAuthorizations({}) ``` diff --git a/old_docs/API_docs_v57/methods/account.getPassword.md b/old_docs/API_docs_v57/methods/account.getPassword.md index eed4aee3..621271b6 100644 --- a/old_docs/API_docs_v57/methods/account.getPassword.md +++ b/old_docs/API_docs_v57/methods/account.getPassword.md @@ -11,7 +11,7 @@ Obtain configuration for two-factor authorization with password -### Return type: [account\_Password](../types/account_Password.md) +### Return type: [account.Password](../types/account.Password.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_Password = $MadelineProto->account->getPassword(); +$account.Password = $MadelineProto->account->getPassword(); ``` Or, if you're into Lua: ```lua -account_Password = account.getPassword({}) +account.Password = account.getPassword({}) ``` diff --git a/old_docs/API_docs_v57/methods/account.getPasswordSettings.md b/old_docs/API_docs_v57/methods/account.getPasswordSettings.md index dcdae61a..3d3cce08 100644 --- a/old_docs/API_docs_v57/methods/account.getPasswordSettings.md +++ b/old_docs/API_docs_v57/methods/account.getPasswordSettings.md @@ -16,7 +16,7 @@ You cannot use this method directly; use $MadelineProto->update_2fa($params), in |current\_password\_hash|[bytes](../types/bytes.md) | You cannot use this method directly; use $MadelineProto->update_2fa($params), instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [account\_PasswordSettings](../types/account_PasswordSettings.md) +### Return type: [account.PasswordSettings](../types/account.PasswordSettings.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_PasswordSettings = $MadelineProto->account->getPasswordSettings(['current_password_hash' => 'bytes', ]); +$account.PasswordSettings = $MadelineProto->account->getPasswordSettings(['current_password_hash' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -account_PasswordSettings = account.getPasswordSettings({current_password_hash='bytes', }) +account.PasswordSettings = account.getPasswordSettings({current_password_hash='bytes', }) ``` ### Errors diff --git a/old_docs/API_docs_v57/methods/account.getPrivacy.md b/old_docs/API_docs_v57/methods/account.getPrivacy.md index 6a240129..e20c292c 100644 --- a/old_docs/API_docs_v57/methods/account.getPrivacy.md +++ b/old_docs/API_docs_v57/methods/account.getPrivacy.md @@ -16,7 +16,7 @@ Get privacy settings of current account |key|[InputPrivacyKey](../types/InputPrivacyKey.md) | Peer category whose privacy settings should be fetched | Yes| -### Return type: [account\_PrivacyRules](../types/account_PrivacyRules.md) +### Return type: [account.PrivacyRules](../types/account.PrivacyRules.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_PrivacyRules = $MadelineProto->account->getPrivacy(['key' => InputPrivacyKey, ]); +$account.PrivacyRules = $MadelineProto->account->getPrivacy(['key' => InputPrivacyKey, ]); ``` Or, if you're into Lua: ```lua -account_PrivacyRules = account.getPrivacy({key=InputPrivacyKey, }) +account.PrivacyRules = account.getPrivacy({key=InputPrivacyKey, }) ``` ### Errors diff --git a/old_docs/API_docs_v57/methods/account.sendChangePhoneCode.md b/old_docs/API_docs_v57/methods/account.sendChangePhoneCode.md index 0f81306e..30589ffa 100644 --- a/old_docs/API_docs_v57/methods/account.sendChangePhoneCode.md +++ b/old_docs/API_docs_v57/methods/account.sendChangePhoneCode.md @@ -18,7 +18,7 @@ Verify a new phone number to associate to the current account |current\_number|[Bool](../types/Bool.md) | Current phone number | Optional| -### Return type: [auth\_SentCode](../types/auth_SentCode.md) +### Return type: [auth.SentCode](../types/auth.SentCode.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_SentCode = $MadelineProto->account->sendChangePhoneCode(['allow_flashcall' => Bool, 'phone_number' => 'string', 'current_number' => Bool, ]); +$auth.SentCode = $MadelineProto->account->sendChangePhoneCode(['allow_flashcall' => Bool, 'phone_number' => 'string', 'current_number' => Bool, ]); ``` Or, if you're into Lua: ```lua -auth_SentCode = account.sendChangePhoneCode({allow_flashcall=Bool, phone_number='string', current_number=Bool, }) +auth.SentCode = account.sendChangePhoneCode({allow_flashcall=Bool, phone_number='string', current_number=Bool, }) ``` ### Errors diff --git a/old_docs/API_docs_v57/methods/account.sendConfirmPhoneCode.md b/old_docs/API_docs_v57/methods/account.sendConfirmPhoneCode.md index 68ba8fd3..9ec24f07 100644 --- a/old_docs/API_docs_v57/methods/account.sendConfirmPhoneCode.md +++ b/old_docs/API_docs_v57/methods/account.sendConfirmPhoneCode.md @@ -18,7 +18,7 @@ Send confirmation code to cancel account deletion, for more info [click here »] |current\_number|[Bool](../types/Bool.md) | The current phone number | Optional| -### Return type: [auth\_SentCode](../types/auth_SentCode.md) +### Return type: [auth.SentCode](../types/auth.SentCode.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_SentCode = $MadelineProto->account->sendConfirmPhoneCode(['allow_flashcall' => Bool, 'hash' => 'string', 'current_number' => Bool, ]); +$auth.SentCode = $MadelineProto->account->sendConfirmPhoneCode(['allow_flashcall' => Bool, 'hash' => 'string', 'current_number' => Bool, ]); ``` Or, if you're into Lua: ```lua -auth_SentCode = account.sendConfirmPhoneCode({allow_flashcall=Bool, hash='string', current_number=Bool, }) +auth.SentCode = account.sendConfirmPhoneCode({allow_flashcall=Bool, hash='string', current_number=Bool, }) ``` ### Errors diff --git a/old_docs/API_docs_v57/methods/account.setPrivacy.md b/old_docs/API_docs_v57/methods/account.setPrivacy.md index 7c4cfba7..096d373e 100644 --- a/old_docs/API_docs_v57/methods/account.setPrivacy.md +++ b/old_docs/API_docs_v57/methods/account.setPrivacy.md @@ -17,7 +17,7 @@ Change privacy settings of current account |rules|Array of [InputPrivacyRule](../types/InputPrivacyRule.md) | Privacy settings | Yes| -### Return type: [account\_PrivacyRules](../types/account_PrivacyRules.md) +### Return type: [account.PrivacyRules](../types/account.PrivacyRules.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_PrivacyRules = $MadelineProto->account->setPrivacy(['key' => InputPrivacyKey, 'rules' => [InputPrivacyRule, InputPrivacyRule], ]); +$account.PrivacyRules = $MadelineProto->account->setPrivacy(['key' => InputPrivacyKey, 'rules' => [InputPrivacyRule, InputPrivacyRule], ]); ``` Or, if you're into Lua: ```lua -account_PrivacyRules = account.setPrivacy({key=InputPrivacyKey, rules={InputPrivacyRule}, }) +account.PrivacyRules = account.setPrivacy({key=InputPrivacyKey, rules={InputPrivacyRule}, }) ``` ### Errors diff --git a/old_docs/API_docs_v57/methods/api_README.md b/old_docs/API_docs_v57/methods/api_README.md index 7393deea..d87a9b8f 100644 --- a/old_docs/API_docs_v57/methods/api_README.md +++ b/old_docs/API_docs_v57/methods/api_README.md @@ -56,7 +56,7 @@ $MadelineProto->[account->getAccountTTL](account.getAccountTTL.md)(\[\]) === [$A ***

-$MadelineProto->[account->getAuthorizations](account.getAuthorizations.md)(\[\]) === [$account\_Authorizations](../types/account_Authorizations.md) +$MadelineProto->[account->getAuthorizations](account.getAuthorizations.md)(\[\]) === [$account.Authorizations](../types/account.Authorizations.md) ***

@@ -64,15 +64,15 @@ $MadelineProto->[account->getNotifySettings](account.getNotifySettings.md)(\['pe ***

-$MadelineProto->[account->getPassword](account.getPassword.md)(\[\]) === [$account\_Password](../types/account_Password.md) +$MadelineProto->[account->getPassword](account.getPassword.md)(\[\]) === [$account.Password](../types/account.Password.md) ***

-$MadelineProto->[account->getPasswordSettings](account.getPasswordSettings.md)(\['current_password_hash' => [bytes](../types/bytes.md), \]) === [$account\_PasswordSettings](../types/account_PasswordSettings.md) +$MadelineProto->[account->getPasswordSettings](account.getPasswordSettings.md)(\['current_password_hash' => [bytes](../types/bytes.md), \]) === [$account.PasswordSettings](../types/account.PasswordSettings.md) ***

-$MadelineProto->[account->getPrivacy](account.getPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), \]) === [$account\_PrivacyRules](../types/account_PrivacyRules.md) +$MadelineProto->[account->getPrivacy](account.getPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), \]) === [$account.PrivacyRules](../types/account.PrivacyRules.md) ***

@@ -96,11 +96,11 @@ $MadelineProto->[account->resetNotifySettings](account.resetNotifySettings.md)(\ ***

-$MadelineProto->[account->sendChangePhoneCode](account.sendChangePhoneCode.md)(\['allow_flashcall' => [Bool](../types/Bool.md), 'phone_number' => [string](../types/string.md), 'current_number' => [Bool](../types/Bool.md), \]) === [$auth\_SentCode](../types/auth_SentCode.md) +$MadelineProto->[account->sendChangePhoneCode](account.sendChangePhoneCode.md)(\['allow_flashcall' => [Bool](../types/Bool.md), 'phone_number' => [string](../types/string.md), 'current_number' => [Bool](../types/Bool.md), \]) === [$auth.SentCode](../types/auth.SentCode.md) ***

-$MadelineProto->[account->sendConfirmPhoneCode](account.sendConfirmPhoneCode.md)(\['allow_flashcall' => [Bool](../types/Bool.md), 'hash' => [string](../types/string.md), 'current_number' => [Bool](../types/Bool.md), \]) === [$auth\_SentCode](../types/auth_SentCode.md) +$MadelineProto->[account->sendConfirmPhoneCode](account.sendConfirmPhoneCode.md)(\['allow_flashcall' => [Bool](../types/Bool.md), 'hash' => [string](../types/string.md), 'current_number' => [Bool](../types/Bool.md), \]) === [$auth.SentCode](../types/auth.SentCode.md) ***

@@ -108,7 +108,7 @@ $MadelineProto->[account->setAccountTTL](account.setAccountTTL.md)(\['ttl' => [A ***

-$MadelineProto->[account->setPrivacy](account.setPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), 'rules' => \[[InputPrivacyRule](../types/InputPrivacyRule.md)\], \]) === [$account\_PrivacyRules](../types/account_PrivacyRules.md) +$MadelineProto->[account->setPrivacy](account.setPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), 'rules' => \[[InputPrivacyRule](../types/InputPrivacyRule.md)\], \]) === [$account.PrivacyRules](../types/account.PrivacyRules.md) ***

@@ -148,11 +148,11 @@ $MadelineProto->[auth->cancelCode](auth.cancelCode.md)(\['phone_number' => [stri ***

-$MadelineProto->[auth->checkPassword](auth.checkPassword.md)(\['password_hash' => [bytes](../types/bytes.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->checkPassword](auth.checkPassword.md)(\['password_hash' => [bytes](../types/bytes.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

-$MadelineProto->[auth->checkPhone](auth.checkPhone.md)(\['phone_number' => [string](../types/string.md), \]) === [$auth\_CheckedPhone](../types/auth_CheckedPhone.md) +$MadelineProto->[auth->checkPhone](auth.checkPhone.md)(\['phone_number' => [string](../types/string.md), \]) === [$auth.CheckedPhone](../types/auth.CheckedPhone.md) ***

@@ -160,15 +160,15 @@ $MadelineProto->[auth->dropTempAuthKeys](auth.dropTempAuthKeys.md)(\['except_aut ***

-$MadelineProto->[auth->exportAuthorization](auth.exportAuthorization.md)(\['dc_id' => [int](../types/int.md), \]) === [$auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) +$MadelineProto->[auth->exportAuthorization](auth.exportAuthorization.md)(\['dc_id' => [int](../types/int.md), \]) === [$auth.ExportedAuthorization](../types/auth.ExportedAuthorization.md) ***

-$MadelineProto->[auth->importAuthorization](auth.importAuthorization.md)(\['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->importAuthorization](auth.importAuthorization.md)(\['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

-$MadelineProto->[auth->importBotAuthorization](auth.importBotAuthorization.md)(\['api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), 'bot_auth_token' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->importBotAuthorization](auth.importBotAuthorization.md)(\['api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), 'bot_auth_token' => [string](../types/string.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

@@ -176,15 +176,15 @@ $MadelineProto->[auth->logOut](auth.logOut.md)(\[\]) === [$Bool](../types/Bool.m ***

-$MadelineProto->[auth->recoverPassword](auth.recoverPassword.md)(\['code' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->recoverPassword](auth.recoverPassword.md)(\['code' => [string](../types/string.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

-$MadelineProto->[auth->requestPasswordRecovery](auth.requestPasswordRecovery.md)(\[\]) === [$auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) +$MadelineProto->[auth->requestPasswordRecovery](auth.requestPasswordRecovery.md)(\[\]) === [$auth.PasswordRecovery](../types/auth.PasswordRecovery.md) ***

-$MadelineProto->[auth->resendCode](auth.resendCode.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), \]) === [$auth\_SentCode](../types/auth_SentCode.md) +$MadelineProto->[auth->resendCode](auth.resendCode.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), \]) === [$auth.SentCode](../types/auth.SentCode.md) ***

@@ -192,7 +192,7 @@ $MadelineProto->[auth->resetAuthorizations](auth.resetAuthorizations.md)(\[\]) = ***

-$MadelineProto->[auth->sendCode](auth.sendCode.md)(\['allow_flashcall' => [Bool](../types/Bool.md), 'phone_number' => [string](../types/string.md), 'current_number' => [Bool](../types/Bool.md), 'api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), \]) === [$auth\_SentCode](../types/auth_SentCode.md) +$MadelineProto->[auth->sendCode](auth.sendCode.md)(\['allow_flashcall' => [Bool](../types/Bool.md), 'phone_number' => [string](../types/string.md), 'current_number' => [Bool](../types/Bool.md), 'api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), \]) === [$auth.SentCode](../types/auth.SentCode.md) ***

@@ -200,11 +200,11 @@ $MadelineProto->[auth->sendInvites](auth.sendInvites.md)(\['phone_numbers' => \[ ***

-$MadelineProto->[auth->signIn](auth.signIn.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->signIn](auth.signIn.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

-$MadelineProto->[auth->signUp](auth.signUp.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->signUp](auth.signUp.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

@@ -220,11 +220,11 @@ $MadelineProto->[channels->deleteChannel](channels.deleteChannel.md)(\['channel' ***

-$MadelineProto->[channels->deleteMessages](channels.deleteMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) +$MadelineProto->[channels->deleteMessages](channels.deleteMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages.AffectedMessages](../types/messages.AffectedMessages.md) ***

-$MadelineProto->[channels->deleteUserHistory](channels.deleteUserHistory.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages\_AffectedHistory](../types/messages_AffectedHistory.md) +$MadelineProto->[channels->deleteUserHistory](channels.deleteUserHistory.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages.AffectedHistory](../types/messages.AffectedHistory.md) ***

@@ -252,27 +252,27 @@ $MadelineProto->[channels->exportMessageLink](channels.exportMessageLink.md)(\[' ***

-$MadelineProto->[channels->getAdminedPublicChannels](channels.getAdminedPublicChannels.md)(\[\]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[channels->getAdminedPublicChannels](channels.getAdminedPublicChannels.md)(\[\]) === [$messages.Chats](../types/messages.Chats.md) ***

-$MadelineProto->[channels->getChannels](channels.getChannels.md)(\['id' => \[[InputChannel](../types/InputChannel.md)\], \]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[channels->getChannels](channels.getChannels.md)(\['id' => \[[InputChannel](../types/InputChannel.md)\], \]) === [$messages.Chats](../types/messages.Chats.md) ***

-$MadelineProto->[channels->getFullChannel](channels.getFullChannel.md)(\['channel' => [InputChannel](../types/InputChannel.md), \]) === [$messages\_ChatFull](../types/messages_ChatFull.md) +$MadelineProto->[channels->getFullChannel](channels.getFullChannel.md)(\['channel' => [InputChannel](../types/InputChannel.md), \]) === [$messages.ChatFull](../types/messages.ChatFull.md) ***

-$MadelineProto->[channels->getMessages](channels.getMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[channels->getMessages](channels.getMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[channels->getParticipant](channels.getParticipant.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$channels\_ChannelParticipant](../types/channels_ChannelParticipant.md) +$MadelineProto->[channels->getParticipant](channels.getParticipant.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$channels.ChannelParticipant](../types/channels.ChannelParticipant.md) ***

-$MadelineProto->[channels->getParticipants](channels.getParticipants.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$channels\_ChannelParticipants](../types/channels_ChannelParticipants.md) +$MadelineProto->[channels->getParticipants](channels.getParticipants.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$channels.ChannelParticipants](../types/channels.ChannelParticipants.md) ***

@@ -320,7 +320,7 @@ $MadelineProto->[contacts->block](contacts.block.md)(\['id' => [InputUser](../ty ***

-$MadelineProto->[contacts->deleteContact](contacts.deleteContact.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$contacts\_Link](../types/contacts_Link.md) +$MadelineProto->[contacts->deleteContact](contacts.deleteContact.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$contacts.Link](../types/contacts.Link.md) ***

@@ -332,11 +332,11 @@ $MadelineProto->[contacts->exportCard](contacts.exportCard.md)(\[\]) === [$Vecto ***

-$MadelineProto->[contacts->getBlocked](contacts.getBlocked.md)(\['offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$contacts\_Blocked](../types/contacts_Blocked.md) +$MadelineProto->[contacts->getBlocked](contacts.getBlocked.md)(\['offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$contacts.Blocked](../types/contacts.Blocked.md) ***

-$MadelineProto->[contacts->getContacts](contacts.getContacts.md)(\['hash' => [string](../types/string.md), \]) === [$contacts\_Contacts](../types/contacts_Contacts.md) +$MadelineProto->[contacts->getContacts](contacts.getContacts.md)(\['hash' => [string](../types/string.md), \]) === [$contacts.Contacts](../types/contacts.Contacts.md) ***

@@ -344,7 +344,7 @@ $MadelineProto->[contacts->getStatuses](contacts.getStatuses.md)(\[\]) === [$Vec ***

-$MadelineProto->[contacts->getTopPeers](contacts.getTopPeers.md)(\['correspondents' => [Bool](../types/Bool.md), 'bots_pm' => [Bool](../types/Bool.md), 'bots_inline' => [Bool](../types/Bool.md), 'groups' => [Bool](../types/Bool.md), 'channels' => [Bool](../types/Bool.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$contacts\_TopPeers](../types/contacts_TopPeers.md) +$MadelineProto->[contacts->getTopPeers](contacts.getTopPeers.md)(\['correspondents' => [Bool](../types/Bool.md), 'bots_pm' => [Bool](../types/Bool.md), 'bots_inline' => [Bool](../types/Bool.md), 'groups' => [Bool](../types/Bool.md), 'channels' => [Bool](../types/Bool.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$contacts.TopPeers](../types/contacts.TopPeers.md) ***

@@ -352,7 +352,7 @@ $MadelineProto->[contacts->importCard](contacts.importCard.md)(\['export_card' = ***

-$MadelineProto->[contacts->importContacts](contacts.importContacts.md)(\['contacts' => \[[InputContact](../types/InputContact.md)\], 'replace' => [Bool](../types/Bool.md), \]) === [$contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) +$MadelineProto->[contacts->importContacts](contacts.importContacts.md)(\['contacts' => \[[InputContact](../types/InputContact.md)\], 'replace' => [Bool](../types/Bool.md), \]) === [$contacts.ImportedContacts](../types/contacts.ImportedContacts.md) ***

@@ -360,11 +360,11 @@ $MadelineProto->[contacts->resetTopPeerRating](contacts.resetTopPeerRating.md)(\ ***

-$MadelineProto->[contacts->resolveUsername](contacts.resolveUsername.md)(\['username' => [string](../types/string.md), \]) === [$contacts\_ResolvedPeer](../types/contacts_ResolvedPeer.md) +$MadelineProto->[contacts->resolveUsername](contacts.resolveUsername.md)(\['username' => [string](../types/string.md), \]) === [$contacts.ResolvedPeer](../types/contacts.ResolvedPeer.md) ***

-$MadelineProto->[contacts->search](contacts.search.md)(\['q' => [string](../types/string.md), 'limit' => [int](../types/int.md), \]) === [$contacts\_Found](../types/contacts_Found.md) +$MadelineProto->[contacts->search](contacts.search.md)(\['q' => [string](../types/string.md), 'limit' => [int](../types/int.md), \]) === [$contacts.Found](../types/contacts.Found.md) ***

@@ -372,11 +372,11 @@ $MadelineProto->[contacts->unblock](contacts.unblock.md)(\['id' => [InputUser](. ***

-$MadelineProto->[help->getAppChangelog](help.getAppChangelog.md)(\[\]) === [$help\_AppChangelog](../types/help_AppChangelog.md) +$MadelineProto->[help->getAppChangelog](help.getAppChangelog.md)(\[\]) === [$help.AppChangelog](../types/help.AppChangelog.md) ***

-$MadelineProto->[help->getAppUpdate](help.getAppUpdate.md)(\[\]) === [$help\_AppUpdate](../types/help_AppUpdate.md) +$MadelineProto->[help->getAppUpdate](help.getAppUpdate.md)(\[\]) === [$help.AppUpdate](../types/help.AppUpdate.md) ***

@@ -384,7 +384,7 @@ $MadelineProto->[help->getConfig](help.getConfig.md)(\[\]) === [$Config](../type ***

-$MadelineProto->[help->getInviteText](help.getInviteText.md)(\[\]) === [$help\_InviteText](../types/help_InviteText.md) +$MadelineProto->[help->getInviteText](help.getInviteText.md)(\[\]) === [$help.InviteText](../types/help.InviteText.md) ***

@@ -392,11 +392,11 @@ $MadelineProto->[help->getNearestDc](help.getNearestDc.md)(\[\]) === [$NearestDc ***

-$MadelineProto->[help->getSupport](help.getSupport.md)(\[\]) === [$help\_Support](../types/help_Support.md) +$MadelineProto->[help->getSupport](help.getSupport.md)(\[\]) === [$help.Support](../types/help.Support.md) ***

-$MadelineProto->[help->getTermsOfService](help.getTermsOfService.md)(\[\]) === [$help\_TermsOfService](../types/help_TermsOfService.md) +$MadelineProto->[help->getTermsOfService](help.getTermsOfService.md)(\[\]) === [$help.TermsOfService](../types/help.TermsOfService.md) ***

@@ -448,11 +448,11 @@ $MadelineProto->[messages->deleteChatUser](messages.deleteChatUser.md)(\['chat_i ***

-$MadelineProto->[messages->deleteHistory](messages.deleteHistory.md)(\['just_clear' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), \]) === [$messages\_AffectedHistory](../types/messages_AffectedHistory.md) +$MadelineProto->[messages->deleteHistory](messages.deleteHistory.md)(\['just_clear' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), \]) === [$messages.AffectedHistory](../types/messages.AffectedHistory.md) ***

-$MadelineProto->[messages->deleteMessages](messages.deleteMessages.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) +$MadelineProto->[messages->deleteMessages](messages.deleteMessages.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages.AffectedMessages](../types/messages.AffectedMessages.md) ***

@@ -496,11 +496,11 @@ $MadelineProto->[messages->getAllDrafts](messages.getAllDrafts.md)(\[\]) === [$U ***

-$MadelineProto->[messages->getAllStickers](messages.getAllStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages\_AllStickers](../types/messages_AllStickers.md) +$MadelineProto->[messages->getAllStickers](messages.getAllStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages.AllStickers](../types/messages.AllStickers.md) ***

-$MadelineProto->[messages->getArchivedStickers](messages.getArchivedStickers.md)(\['masks' => [Bool](../types/Bool.md), 'offset_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$messages\_ArchivedStickers](../types/messages_ArchivedStickers.md) +$MadelineProto->[messages->getArchivedStickers](messages.getArchivedStickers.md)(\['masks' => [Bool](../types/Bool.md), 'offset_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$messages.ArchivedStickers](../types/messages.ArchivedStickers.md) ***

@@ -508,19 +508,19 @@ $MadelineProto->[messages->getAttachedStickers](messages.getAttachedStickers.md) ***

-$MadelineProto->[messages->getBotCallbackAnswer](messages.getBotCallbackAnswer.md)(\['game' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'msg_id' => [int](../types/int.md), 'data' => [bytes](../types/bytes.md), \]) === [$messages\_BotCallbackAnswer](../types/messages_BotCallbackAnswer.md) +$MadelineProto->[messages->getBotCallbackAnswer](messages.getBotCallbackAnswer.md)(\['game' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'msg_id' => [int](../types/int.md), 'data' => [bytes](../types/bytes.md), \]) === [$messages.BotCallbackAnswer](../types/messages.BotCallbackAnswer.md) ***

-$MadelineProto->[messages->getChats](messages.getChats.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[messages->getChats](messages.getChats.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages.Chats](../types/messages.Chats.md) ***

-$MadelineProto->[messages->getDhConfig](messages.getDhConfig.md)(\['version' => [int](../types/int.md), 'random_length' => [int](../types/int.md), \]) === [$messages\_DhConfig](../types/messages_DhConfig.md) +$MadelineProto->[messages->getDhConfig](messages.getDhConfig.md)(\['version' => [int](../types/int.md), 'random_length' => [int](../types/int.md), \]) === [$messages.DhConfig](../types/messages.DhConfig.md) ***

-$MadelineProto->[messages->getDialogs](messages.getDialogs.md)(\['offset_date' => [int](../types/int.md), 'offset_id' => [int](../types/int.md), 'offset_peer' => [InputPeer](../types/InputPeer.md), 'limit' => [int](../types/int.md), \]) === [$messages\_Dialogs](../types/messages_Dialogs.md) +$MadelineProto->[messages->getDialogs](messages.getDialogs.md)(\['offset_date' => [int](../types/int.md), 'offset_id' => [int](../types/int.md), 'offset_peer' => [InputPeer](../types/InputPeer.md), 'limit' => [int](../types/int.md), \]) === [$messages.Dialogs](../types/messages.Dialogs.md) ***

@@ -528,39 +528,39 @@ $MadelineProto->[messages->getDocumentByHash](messages.getDocumentByHash.md)(\[' ***

-$MadelineProto->[messages->getFeaturedStickers](messages.getFeaturedStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages\_FeaturedStickers](../types/messages_FeaturedStickers.md) +$MadelineProto->[messages->getFeaturedStickers](messages.getFeaturedStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages.FeaturedStickers](../types/messages.FeaturedStickers.md) ***

-$MadelineProto->[messages->getFullChat](messages.getFullChat.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), \]) === [$messages\_ChatFull](../types/messages_ChatFull.md) +$MadelineProto->[messages->getFullChat](messages.getFullChat.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), \]) === [$messages.ChatFull](../types/messages.ChatFull.md) ***

-$MadelineProto->[messages->getGameHighScores](messages.getGameHighScores.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages\_HighScores](../types/messages_HighScores.md) +$MadelineProto->[messages->getGameHighScores](messages.getGameHighScores.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages.HighScores](../types/messages.HighScores.md) ***

-$MadelineProto->[messages->getHistory](messages.getHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'offset_date' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->getHistory](messages.getHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'offset_date' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[messages->getInlineBotResults](messages.getInlineBotResults.md)(\['bot' => [InputUser](../types/InputUser.md), 'peer' => [InputPeer](../types/InputPeer.md), 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'query' => [string](../types/string.md), 'offset' => [string](../types/string.md), \]) === [$messages\_BotResults](../types/messages_BotResults.md) +$MadelineProto->[messages->getInlineBotResults](messages.getInlineBotResults.md)(\['bot' => [InputUser](../types/InputUser.md), 'peer' => [InputPeer](../types/InputPeer.md), 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'query' => [string](../types/string.md), 'offset' => [string](../types/string.md), \]) === [$messages.BotResults](../types/messages.BotResults.md) ***

-$MadelineProto->[messages->getInlineGameHighScores](messages.getInlineGameHighScores.md)(\['id' => [InputBotInlineMessageID](../types/InputBotInlineMessageID.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages\_HighScores](../types/messages_HighScores.md) +$MadelineProto->[messages->getInlineGameHighScores](messages.getInlineGameHighScores.md)(\['id' => [InputBotInlineMessageID](../types/InputBotInlineMessageID.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages.HighScores](../types/messages.HighScores.md) ***

-$MadelineProto->[messages->getMaskStickers](messages.getMaskStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages\_AllStickers](../types/messages_AllStickers.md) +$MadelineProto->[messages->getMaskStickers](messages.getMaskStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages.AllStickers](../types/messages.AllStickers.md) ***

-$MadelineProto->[messages->getMessageEditData](messages.getMessageEditData.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), \]) === [$messages\_MessageEditData](../types/messages_MessageEditData.md) +$MadelineProto->[messages->getMessageEditData](messages.getMessageEditData.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), \]) === [$messages.MessageEditData](../types/messages.MessageEditData.md) ***

-$MadelineProto->[messages->getMessages](messages.getMessages.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->getMessages](messages.getMessages.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages.Messages](../types/messages.Messages.md) ***

@@ -568,7 +568,7 @@ $MadelineProto->[messages->getMessagesViews](messages.getMessagesViews.md)(\['pe ***

-$MadelineProto->[messages->getPeerDialogs](messages.getPeerDialogs.md)(\['peers' => \[[InputPeer](../types/InputPeer.md)\], \]) === [$messages\_PeerDialogs](../types/messages_PeerDialogs.md) +$MadelineProto->[messages->getPeerDialogs](messages.getPeerDialogs.md)(\['peers' => \[[InputPeer](../types/InputPeer.md)\], \]) === [$messages.PeerDialogs](../types/messages.PeerDialogs.md) ***

@@ -576,15 +576,15 @@ $MadelineProto->[messages->getPeerSettings](messages.getPeerSettings.md)(\['peer ***

-$MadelineProto->[messages->getRecentStickers](messages.getRecentStickers.md)(\['attached' => [Bool](../types/Bool.md), 'hash' => [int](../types/int.md), \]) === [$messages\_RecentStickers](../types/messages_RecentStickers.md) +$MadelineProto->[messages->getRecentStickers](messages.getRecentStickers.md)(\['attached' => [Bool](../types/Bool.md), 'hash' => [int](../types/int.md), \]) === [$messages.RecentStickers](../types/messages.RecentStickers.md) ***

-$MadelineProto->[messages->getSavedGifs](messages.getSavedGifs.md)(\['hash' => [int](../types/int.md), \]) === [$messages\_SavedGifs](../types/messages_SavedGifs.md) +$MadelineProto->[messages->getSavedGifs](messages.getSavedGifs.md)(\['hash' => [int](../types/int.md), \]) === [$messages.SavedGifs](../types/messages.SavedGifs.md) ***

-$MadelineProto->[messages->getStickerSet](messages.getStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), \]) === [$messages\_StickerSet](../types/messages_StickerSet.md) +$MadelineProto->[messages->getStickerSet](messages.getStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), \]) === [$messages.StickerSet](../types/messages.StickerSet.md) ***

@@ -600,7 +600,7 @@ $MadelineProto->[messages->importChatInvite](messages.importChatInvite.md)(\['ha ***

-$MadelineProto->[messages->installStickerSet](messages.installStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), 'archived' => [Bool](../types/Bool.md), \]) === [$messages\_StickerSetInstallResult](../types/messages_StickerSetInstallResult.md) +$MadelineProto->[messages->installStickerSet](messages.installStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), 'archived' => [Bool](../types/Bool.md), \]) === [$messages.StickerSetInstallResult](../types/messages.StickerSetInstallResult.md) ***

@@ -616,11 +616,11 @@ $MadelineProto->[messages->readFeaturedStickers](messages.readFeaturedStickers.m ***

-$MadelineProto->[messages->readHistory](messages.readHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), \]) === [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) +$MadelineProto->[messages->readHistory](messages.readHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), \]) === [$messages.AffectedMessages](../types/messages.AffectedMessages.md) ***

-$MadelineProto->[messages->readMessageContents](messages.readMessageContents.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) +$MadelineProto->[messages->readMessageContents](messages.readMessageContents.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages.AffectedMessages](../types/messages.AffectedMessages.md) ***

@@ -656,27 +656,27 @@ $MadelineProto->[messages->saveRecentSticker](messages.saveRecentSticker.md)(\[' ***

-$MadelineProto->[messages->search](messages.search.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'q' => [string](../types/string.md), 'filter' => [MessagesFilter](../types/MessagesFilter.md), 'min_date' => [int](../types/int.md), 'max_date' => [int](../types/int.md), 'offset' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->search](messages.search.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'q' => [string](../types/string.md), 'filter' => [MessagesFilter](../types/MessagesFilter.md), 'min_date' => [int](../types/int.md), 'max_date' => [int](../types/int.md), 'offset' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[messages->searchGifs](messages.searchGifs.md)(\['q' => [string](../types/string.md), 'offset' => [int](../types/int.md), \]) === [$messages\_FoundGifs](../types/messages_FoundGifs.md) +$MadelineProto->[messages->searchGifs](messages.searchGifs.md)(\['q' => [string](../types/string.md), 'offset' => [int](../types/int.md), \]) === [$messages.FoundGifs](../types/messages.FoundGifs.md) ***

-$MadelineProto->[messages->searchGlobal](messages.searchGlobal.md)(\['q' => [string](../types/string.md), 'offset_date' => [int](../types/int.md), 'offset_peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->searchGlobal](messages.searchGlobal.md)(\['q' => [string](../types/string.md), 'offset_date' => [int](../types/int.md), 'offset_peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[messages->sendEncrypted](messages.sendEncrypted.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'message' => [DecryptedMessage](../types/DecryptedMessage.md), \]) === [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +$MadelineProto->[messages->sendEncrypted](messages.sendEncrypted.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), \]) === [$messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ***

-$MadelineProto->[messages->sendEncryptedFile](messages.sendEncryptedFile.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'message' => [DecryptedMessage](../types/DecryptedMessage.md), 'file' => [InputEncryptedFile](../types/InputEncryptedFile.md), \]) === [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +$MadelineProto->[messages->sendEncryptedFile](messages.sendEncryptedFile.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), 'file' => [InputEncryptedFile](../types/InputEncryptedFile.md), \]) === [$messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ***

-$MadelineProto->[messages->sendEncryptedService](messages.sendEncryptedService.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'message' => [DecryptedMessage](../types/DecryptedMessage.md), \]) === [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +$MadelineProto->[messages->sendEncryptedService](messages.sendEncryptedService.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), \]) === [$messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ***

@@ -732,7 +732,7 @@ $MadelineProto->[photos->deletePhotos](photos.deletePhotos.md)(\['id' => \[[Inpu ***

-$MadelineProto->[photos->getUserPhotos](photos.getUserPhotos.md)(\['user_id' => [InputUser](../types/InputUser.md), 'offset' => [int](../types/int.md), 'max_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$photos\_Photos](../types/photos_Photos.md) +$MadelineProto->[photos->getUserPhotos](photos.getUserPhotos.md)(\['user_id' => [InputUser](../types/InputUser.md), 'offset' => [int](../types/int.md), 'max_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$photos.Photos](../types/photos.Photos.md) ***

@@ -740,23 +740,23 @@ $MadelineProto->[photos->updateProfilePhoto](photos.updateProfilePhoto.md)(\['id ***

-$MadelineProto->[photos->uploadProfilePhoto](photos.uploadProfilePhoto.md)(\['file' => [InputFile](../types/InputFile.md), \]) === [$photos\_Photo](../types/photos_Photo.md) +$MadelineProto->[photos->uploadProfilePhoto](photos.uploadProfilePhoto.md)(\['file' => [InputFile](../types/InputFile.md), \]) === [$photos.Photo](../types/photos.Photo.md) ***

-$MadelineProto->[updates->getChannelDifference](updates.getChannelDifference.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$updates\_ChannelDifference](../types/updates_ChannelDifference.md) +$MadelineProto->[updates->getChannelDifference](updates.getChannelDifference.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$updates.ChannelDifference](../types/updates.ChannelDifference.md) ***

-$MadelineProto->[updates->getDifference](updates.getDifference.md)(\['pts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) === [$updates\_Difference](../types/updates_Difference.md) +$MadelineProto->[updates->getDifference](updates.getDifference.md)(\['pts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) === [$updates.Difference](../types/updates.Difference.md) ***

-$MadelineProto->[updates->getState](updates.getState.md)(\[\]) === [$updates\_State](../types/updates_State.md) +$MadelineProto->[updates->getState](updates.getState.md)(\[\]) === [$updates.State](../types/updates.State.md) ***

-$MadelineProto->[upload->getFile](upload.getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_File](../types/upload_File.md) +$MadelineProto->[upload->getFile](upload.getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload.File](../types/upload.File.md) ***

diff --git a/old_docs/API_docs_v57/methods/auth.checkPassword.md b/old_docs/API_docs_v57/methods/auth.checkPassword.md index db65cb56..eeeed171 100644 --- a/old_docs/API_docs_v57/methods/auth.checkPassword.md +++ b/old_docs/API_docs_v57/methods/auth.checkPassword.md @@ -16,7 +16,7 @@ You cannot use this method directly, use the complete_2fa_login method instead ( |password\_hash|[bytes](../types/bytes.md) | You cannot use this method directly, use the complete_2fa_login method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->checkPassword(['password_hash' => 'bytes', ]); +$auth.Authorization = $MadelineProto->auth->checkPassword(['password_hash' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.checkPassword({password_hash='bytes', }) +auth.Authorization = auth.checkPassword({password_hash='bytes', }) ``` ### Errors diff --git a/old_docs/API_docs_v57/methods/auth.checkPhone.md b/old_docs/API_docs_v57/methods/auth.checkPhone.md index 227358cb..51d4cba6 100644 --- a/old_docs/API_docs_v57/methods/auth.checkPhone.md +++ b/old_docs/API_docs_v57/methods/auth.checkPhone.md @@ -16,7 +16,7 @@ Check if this phone number is registered on telegram |phone\_number|[string](../types/string.md) | The phone number to check | Yes| -### Return type: [auth\_CheckedPhone](../types/auth_CheckedPhone.md) +### Return type: [auth.CheckedPhone](../types/auth.CheckedPhone.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => 'string', ]); +$auth.CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_CheckedPhone = auth.checkPhone({phone_number='string', }) +auth.CheckedPhone = auth.checkPhone({phone_number='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v57/methods/auth.exportAuthorization.md b/old_docs/API_docs_v57/methods/auth.exportAuthorization.md index 72063a2b..41a1f87d 100644 --- a/old_docs/API_docs_v57/methods/auth.exportAuthorization.md +++ b/old_docs/API_docs_v57/methods/auth.exportAuthorization.md @@ -16,7 +16,7 @@ You cannot use this method directly, use $MadelineProto->exportAuthorization() i |dc\_id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| -### Return type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) +### Return type: [auth.ExportedAuthorization](../types/auth.ExportedAuthorization.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_ExportedAuthorization = $MadelineProto->auth->exportAuthorization(['dc_id' => int, ]); +$auth.ExportedAuthorization = $MadelineProto->auth->exportAuthorization(['dc_id' => int, ]); ``` Or, if you're into Lua: ```lua -auth_ExportedAuthorization = auth.exportAuthorization({dc_id=int, }) +auth.ExportedAuthorization = auth.exportAuthorization({dc_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v57/methods/auth.importAuthorization.md b/old_docs/API_docs_v57/methods/auth.importAuthorization.md index d9c13751..5257e0b0 100644 --- a/old_docs/API_docs_v57/methods/auth.importAuthorization.md +++ b/old_docs/API_docs_v57/methods/auth.importAuthorization.md @@ -17,7 +17,7 @@ You cannot use this method directly, use $MadelineProto->importAuthorization($au |bytes|[bytes](../types/bytes.md) | You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => 'bytes', ]); +$auth.Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.importAuthorization({id=int, bytes='bytes', }) +auth.Authorization = auth.importAuthorization({id=int, bytes='bytes', }) ``` ### Errors diff --git a/old_docs/API_docs_v57/methods/auth.importBotAuthorization.md b/old_docs/API_docs_v57/methods/auth.importBotAuthorization.md index 3161d6be..a4ea8027 100644 --- a/old_docs/API_docs_v57/methods/auth.importBotAuthorization.md +++ b/old_docs/API_docs_v57/methods/auth.importBotAuthorization.md @@ -18,7 +18,7 @@ You cannot use this method directly, use the botLogin method instead (see https: |bot\_auth\_token|[string](../types/string.md) | You cannot use this method directly, use the botLogin method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **YES** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->importBotAuthorization(['api_id' => int, 'api_hash' => 'string', 'bot_auth_token' => 'string', ]); +$auth.Authorization = $MadelineProto->auth->importBotAuthorization(['api_id' => int, 'api_hash' => 'string', 'bot_auth_token' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.importBotAuthorization({api_id=int, api_hash='string', bot_auth_token='string', }) +auth.Authorization = auth.importBotAuthorization({api_id=int, api_hash='string', bot_auth_token='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v57/methods/auth.recoverPassword.md b/old_docs/API_docs_v57/methods/auth.recoverPassword.md index f7cbf4a4..2e78444b 100644 --- a/old_docs/API_docs_v57/methods/auth.recoverPassword.md +++ b/old_docs/API_docs_v57/methods/auth.recoverPassword.md @@ -16,7 +16,7 @@ Reset the [2FA password](https://core.telegram.org/api/srp) using the recovery c |code|[string](../types/string.md) | Code received via email | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->recoverPassword(['code' => 'string', ]); +$auth.Authorization = $MadelineProto->auth->recoverPassword(['code' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.recoverPassword({code='string', }) +auth.Authorization = auth.recoverPassword({code='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v57/methods/auth.requestPasswordRecovery.md b/old_docs/API_docs_v57/methods/auth.requestPasswordRecovery.md index 5cd77936..ff1ecc02 100644 --- a/old_docs/API_docs_v57/methods/auth.requestPasswordRecovery.md +++ b/old_docs/API_docs_v57/methods/auth.requestPasswordRecovery.md @@ -11,7 +11,7 @@ Request recovery code of a [2FA password](https://core.telegram.org/api/srp), on -### Return type: [auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) +### Return type: [auth.PasswordRecovery](../types/auth.PasswordRecovery.md) ### Can bots use this method: **NO** @@ -28,13 +28,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_PasswordRecovery = $MadelineProto->auth->requestPasswordRecovery(); +$auth.PasswordRecovery = $MadelineProto->auth->requestPasswordRecovery(); ``` Or, if you're into Lua: ```lua -auth_PasswordRecovery = auth.requestPasswordRecovery({}) +auth.PasswordRecovery = auth.requestPasswordRecovery({}) ``` ### Errors diff --git a/old_docs/API_docs_v57/methods/auth.resendCode.md b/old_docs/API_docs_v57/methods/auth.resendCode.md index a395a91b..f59f1b7b 100644 --- a/old_docs/API_docs_v57/methods/auth.resendCode.md +++ b/old_docs/API_docs_v57/methods/auth.resendCode.md @@ -17,7 +17,7 @@ Resend the login code via another medium, the phone code type is determined by t |phone\_code\_hash|[string](../types/string.md) | The phone code hash obtained from [auth.sendCode](../methods/auth.sendCode.md) | Yes| -### Return type: [auth\_SentCode](../types/auth_SentCode.md) +### Return type: [auth.SentCode](../types/auth.SentCode.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_SentCode = $MadelineProto->auth->resendCode(['phone_number' => 'string', 'phone_code_hash' => 'string', ]); +$auth.SentCode = $MadelineProto->auth->resendCode(['phone_number' => 'string', 'phone_code_hash' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_SentCode = auth.resendCode({phone_number='string', phone_code_hash='string', }) +auth.SentCode = auth.resendCode({phone_number='string', phone_code_hash='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v57/methods/auth.sendCode.md b/old_docs/API_docs_v57/methods/auth.sendCode.md index bd922a48..0c818fbb 100644 --- a/old_docs/API_docs_v57/methods/auth.sendCode.md +++ b/old_docs/API_docs_v57/methods/auth.sendCode.md @@ -20,7 +20,7 @@ You cannot use this method directly, use the phoneLogin method instead (see http |api\_hash|[string](../types/string.md) | You cannot use this method directly, use the phoneLogin method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_SentCode](../types/auth_SentCode.md) +### Return type: [auth.SentCode](../types/auth.SentCode.md) ### Can bots use this method: **NO** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_SentCode = $MadelineProto->auth->sendCode(['allow_flashcall' => Bool, 'phone_number' => 'string', 'current_number' => Bool, 'api_id' => int, 'api_hash' => 'string', ]); +$auth.SentCode = $MadelineProto->auth->sendCode(['allow_flashcall' => Bool, 'phone_number' => 'string', 'current_number' => Bool, 'api_id' => int, 'api_hash' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_SentCode = auth.sendCode({allow_flashcall=Bool, phone_number='string', current_number=Bool, api_id=int, api_hash='string', }) +auth.SentCode = auth.sendCode({allow_flashcall=Bool, phone_number='string', current_number=Bool, api_id=int, api_hash='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v57/methods/auth.signIn.md b/old_docs/API_docs_v57/methods/auth.signIn.md index 54812a2e..95b14f32 100644 --- a/old_docs/API_docs_v57/methods/auth.signIn.md +++ b/old_docs/API_docs_v57/methods/auth.signIn.md @@ -18,7 +18,7 @@ You cannot use this method directly, use the completePhoneLogin method instead ( |phone\_code|[string](../types/string.md) | You cannot use this method directly, use the completePhoneLogin method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->signIn(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', ]); +$auth.Authorization = $MadelineProto->auth->signIn(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.signIn({phone_number='string', phone_code_hash='string', phone_code='string', }) +auth.Authorization = auth.signIn({phone_number='string', phone_code_hash='string', phone_code='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v57/methods/auth.signUp.md b/old_docs/API_docs_v57/methods/auth.signUp.md index 2aca2bfa..fdb5d628 100644 --- a/old_docs/API_docs_v57/methods/auth.signUp.md +++ b/old_docs/API_docs_v57/methods/auth.signUp.md @@ -20,7 +20,7 @@ You cannot use this method directly, use the completeSignup method instead (see |last\_name|[string](../types/string.md) | You cannot use this method directly, use the completeSignup method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **NO** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->signUp(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', 'first_name' => 'string', 'last_name' => 'string', ]); +$auth.Authorization = $MadelineProto->auth->signUp(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', 'first_name' => 'string', 'last_name' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.signUp({phone_number='string', phone_code_hash='string', phone_code='string', first_name='string', last_name='string', }) +auth.Authorization = auth.signUp({phone_number='string', phone_code_hash='string', phone_code='string', first_name='string', last_name='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v57/methods/channels.deleteMessages.md b/old_docs/API_docs_v57/methods/channels.deleteMessages.md index 10a439fb..8583e560 100644 --- a/old_docs/API_docs_v57/methods/channels.deleteMessages.md +++ b/old_docs/API_docs_v57/methods/channels.deleteMessages.md @@ -17,7 +17,7 @@ Delete messages in a [channel/supergroup](https://core.telegram.org/api/channel) |id|Array of [int](../types/int.md) | The IDs of messages to delete | Yes| -### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) +### Return type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedMessages = $MadelineProto->channels->deleteMessages(['channel' => InputChannel, 'id' => [int, int], ]); +$messages.AffectedMessages = $MadelineProto->channels->deleteMessages(['channel' => InputChannel, 'id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AffectedMessages = channels.deleteMessages({channel=InputChannel, id={int}, }) +messages.AffectedMessages = channels.deleteMessages({channel=InputChannel, id={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v57/methods/channels.deleteUserHistory.md b/old_docs/API_docs_v57/methods/channels.deleteUserHistory.md index 9b8b159f..6ccaf7dd 100644 --- a/old_docs/API_docs_v57/methods/channels.deleteUserHistory.md +++ b/old_docs/API_docs_v57/methods/channels.deleteUserHistory.md @@ -17,7 +17,7 @@ Delete all messages sent by a certain user in a [supergroup](https://core.telegr |user\_id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | User whose messages should be deleted | Optional| -### Return type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) +### Return type: [messages.AffectedHistory](../types/messages.AffectedHistory.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedHistory = $MadelineProto->channels->deleteUserHistory(['channel' => InputChannel, 'user_id' => InputUser, ]); +$messages.AffectedHistory = $MadelineProto->channels->deleteUserHistory(['channel' => InputChannel, 'user_id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -messages_AffectedHistory = channels.deleteUserHistory({channel=InputChannel, user_id=InputUser, }) +messages.AffectedHistory = channels.deleteUserHistory({channel=InputChannel, user_id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v57/methods/channels.getAdminedPublicChannels.md b/old_docs/API_docs_v57/methods/channels.getAdminedPublicChannels.md index 55a686ca..eb277404 100644 --- a/old_docs/API_docs_v57/methods/channels.getAdminedPublicChannels.md +++ b/old_docs/API_docs_v57/methods/channels.getAdminedPublicChannels.md @@ -11,7 +11,7 @@ Get [channels/supergroups/geogroups](https://core.telegram.org/api/channel) we'r -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->channels->getAdminedPublicChannels(); +$messages.Chats = $MadelineProto->channels->getAdminedPublicChannels(); ``` Or, if you're into Lua: ```lua -messages_Chats = channels.getAdminedPublicChannels({}) +messages.Chats = channels.getAdminedPublicChannels({}) ``` diff --git a/old_docs/API_docs_v57/methods/channels.getChannels.md b/old_docs/API_docs_v57/methods/channels.getChannels.md index 368c96ce..ed9cf4a7 100644 --- a/old_docs/API_docs_v57/methods/channels.getChannels.md +++ b/old_docs/API_docs_v57/methods/channels.getChannels.md @@ -16,7 +16,7 @@ Get info about [channels/supergroups](https://core.telegram.org/api/channel) |id|Array of [Username, chat ID, Update, Message or InputChannel](../types/InputChannel.md) | The channel/supergroup MTProto IDs | Yes| -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->channels->getChannels(['id' => [InputChannel, InputChannel], ]); +$messages.Chats = $MadelineProto->channels->getChannels(['id' => [InputChannel, InputChannel], ]); ``` Or, if you're into Lua: ```lua -messages_Chats = channels.getChannels({id={InputChannel}, }) +messages.Chats = channels.getChannels({id={InputChannel}, }) ``` ### Errors diff --git a/old_docs/API_docs_v57/methods/channels.getFullChannel.md b/old_docs/API_docs_v57/methods/channels.getFullChannel.md index 08dc21bb..1369e0a0 100644 --- a/old_docs/API_docs_v57/methods/channels.getFullChannel.md +++ b/old_docs/API_docs_v57/methods/channels.getFullChannel.md @@ -16,7 +16,7 @@ You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo me |channel|[Username, chat ID, Update, Message or InputChannel](../types/InputChannel.md) | You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo methods instead (see https://docs.madelineproto.xyz for more info) | Optional| -### Return type: [messages\_ChatFull](../types/messages_ChatFull.md) +### Return type: [messages.ChatFull](../types/messages.ChatFull.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_ChatFull = $MadelineProto->channels->getFullChannel(['channel' => InputChannel, ]); +$messages.ChatFull = $MadelineProto->channels->getFullChannel(['channel' => InputChannel, ]); ``` Or, if you're into Lua: ```lua -messages_ChatFull = channels.getFullChannel({channel=InputChannel, }) +messages.ChatFull = channels.getFullChannel({channel=InputChannel, }) ``` ### Errors diff --git a/old_docs/API_docs_v57/methods/channels.getMessages.md b/old_docs/API_docs_v57/methods/channels.getMessages.md index 379e0e9d..5023ea1a 100644 --- a/old_docs/API_docs_v57/methods/channels.getMessages.md +++ b/old_docs/API_docs_v57/methods/channels.getMessages.md @@ -17,7 +17,7 @@ Get [channel/supergroup](https://core.telegram.org/api/channel) messages |id|Array of [int](../types/int.md) | The message IDs | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->channels->getMessages(['channel' => InputChannel, 'id' => [int, int], ]); +$messages.Messages = $MadelineProto->channels->getMessages(['channel' => InputChannel, 'id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Messages = channels.getMessages({channel=InputChannel, id={int}, }) +messages.Messages = channels.getMessages({channel=InputChannel, id={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v57/methods/channels.getParticipant.md b/old_docs/API_docs_v57/methods/channels.getParticipant.md index aa2ce655..cf6a7771 100644 --- a/old_docs/API_docs_v57/methods/channels.getParticipant.md +++ b/old_docs/API_docs_v57/methods/channels.getParticipant.md @@ -17,7 +17,7 @@ Get info about a [channel/supergroup](https://core.telegram.org/api/channel) par |user\_id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | ID of participant to get info about | Optional| -### Return type: [channels\_ChannelParticipant](../types/channels_ChannelParticipant.md) +### Return type: [channels.ChannelParticipant](../types/channels.ChannelParticipant.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$channels_ChannelParticipant = $MadelineProto->channels->getParticipant(['channel' => InputChannel, 'user_id' => InputUser, ]); +$channels.ChannelParticipant = $MadelineProto->channels->getParticipant(['channel' => InputChannel, 'user_id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -channels_ChannelParticipant = channels.getParticipant({channel=InputChannel, user_id=InputUser, }) +channels.ChannelParticipant = channels.getParticipant({channel=InputChannel, user_id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v57/methods/channels.getParticipants.md b/old_docs/API_docs_v57/methods/channels.getParticipants.md index 9be95921..bfeccd48 100644 --- a/old_docs/API_docs_v57/methods/channels.getParticipants.md +++ b/old_docs/API_docs_v57/methods/channels.getParticipants.md @@ -19,7 +19,7 @@ Get the participants of a channel |limit|[int](../types/int.md) | [Limit](https://core.telegram.org/api/offsets) | Yes| -### Return type: [channels\_ChannelParticipants](../types/channels_ChannelParticipants.md) +### Return type: [channels.ChannelParticipants](../types/channels.ChannelParticipants.md) ### Can bots use this method: **YES** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$channels_ChannelParticipants = $MadelineProto->channels->getParticipants(['channel' => InputChannel, 'filter' => ChannelParticipantsFilter, 'offset' => int, 'limit' => int, ]); +$channels.ChannelParticipants = $MadelineProto->channels->getParticipants(['channel' => InputChannel, 'filter' => ChannelParticipantsFilter, 'offset' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -channels_ChannelParticipants = channels.getParticipants({channel=InputChannel, filter=ChannelParticipantsFilter, offset=int, limit=int, }) +channels.ChannelParticipants = channels.getParticipants({channel=InputChannel, filter=ChannelParticipantsFilter, offset=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v57/methods/contacts.deleteContact.md b/old_docs/API_docs_v57/methods/contacts.deleteContact.md index a9321d64..9169e1e0 100644 --- a/old_docs/API_docs_v57/methods/contacts.deleteContact.md +++ b/old_docs/API_docs_v57/methods/contacts.deleteContact.md @@ -16,7 +16,7 @@ Delete a contact |id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | The contact to delete | Optional| -### Return type: [contacts\_Link](../types/contacts_Link.md) +### Return type: [contacts.Link](../types/contacts.Link.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Link = $MadelineProto->contacts->deleteContact(['id' => InputUser, ]); +$contacts.Link = $MadelineProto->contacts->deleteContact(['id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -contacts_Link = contacts.deleteContact({id=InputUser, }) +contacts.Link = contacts.deleteContact({id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v57/methods/contacts.getBlocked.md b/old_docs/API_docs_v57/methods/contacts.getBlocked.md index 92f2f331..6ac1c343 100644 --- a/old_docs/API_docs_v57/methods/contacts.getBlocked.md +++ b/old_docs/API_docs_v57/methods/contacts.getBlocked.md @@ -17,7 +17,7 @@ Returns the list of blocked users. |limit|[int](../types/int.md) | The number of list elements to be returned | Yes| -### Return type: [contacts\_Blocked](../types/contacts_Blocked.md) +### Return type: [contacts.Blocked](../types/contacts.Blocked.md) ### Can bots use this method: **NO** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Blocked = $MadelineProto->contacts->getBlocked(['offset' => int, 'limit' => int, ]); +$contacts.Blocked = $MadelineProto->contacts->getBlocked(['offset' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -contacts_Blocked = contacts.getBlocked({offset=int, limit=int, }) +contacts.Blocked = contacts.getBlocked({offset=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v57/methods/contacts.getContacts.md b/old_docs/API_docs_v57/methods/contacts.getContacts.md index caee7aa8..a2fcd412 100644 --- a/old_docs/API_docs_v57/methods/contacts.getContacts.md +++ b/old_docs/API_docs_v57/methods/contacts.getContacts.md @@ -16,7 +16,7 @@ Returns the current user's contact list. |hash|[string](../types/string.md) | List of contact user IDs you already cached | Yes| -### Return type: [contacts\_Contacts](../types/contacts_Contacts.md) +### Return type: [contacts.Contacts](../types/contacts.Contacts.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Contacts = $MadelineProto->contacts->getContacts(['hash' => 'string', ]); +$contacts.Contacts = $MadelineProto->contacts->getContacts(['hash' => 'string', ]); ``` Or, if you're into Lua: ```lua -contacts_Contacts = contacts.getContacts({hash='string', }) +contacts.Contacts = contacts.getContacts({hash='string', }) ``` diff --git a/old_docs/API_docs_v57/methods/contacts.getTopPeers.md b/old_docs/API_docs_v57/methods/contacts.getTopPeers.md index 4875826c..c2063ea6 100644 --- a/old_docs/API_docs_v57/methods/contacts.getTopPeers.md +++ b/old_docs/API_docs_v57/methods/contacts.getTopPeers.md @@ -23,7 +23,7 @@ Get most used peers |hash|Array of [int](../types/int.md) | Peer IDs of previously cached peers | Optional| -### Return type: [contacts\_TopPeers](../types/contacts_TopPeers.md) +### Return type: [contacts.TopPeers](../types/contacts.TopPeers.md) ### Can bots use this method: **NO** @@ -40,13 +40,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_TopPeers = $MadelineProto->contacts->getTopPeers(['correspondents' => Bool, 'bots_pm' => Bool, 'bots_inline' => Bool, 'groups' => Bool, 'channels' => Bool, 'offset' => int, 'limit' => int, 'hash' => [int, int], ]); +$contacts.TopPeers = $MadelineProto->contacts->getTopPeers(['correspondents' => Bool, 'bots_pm' => Bool, 'bots_inline' => Bool, 'groups' => Bool, 'channels' => Bool, 'offset' => int, 'limit' => int, 'hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -contacts_TopPeers = contacts.getTopPeers({correspondents=Bool, bots_pm=Bool, bots_inline=Bool, groups=Bool, channels=Bool, offset=int, limit=int, hash={int}, }) +contacts.TopPeers = contacts.getTopPeers({correspondents=Bool, bots_pm=Bool, bots_inline=Bool, groups=Bool, channels=Bool, offset=int, limit=int, hash={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v57/methods/contacts.importContacts.md b/old_docs/API_docs_v57/methods/contacts.importContacts.md index 572df9fb..975d0565 100644 --- a/old_docs/API_docs_v57/methods/contacts.importContacts.md +++ b/old_docs/API_docs_v57/methods/contacts.importContacts.md @@ -17,7 +17,7 @@ Imports contacts: saves a full list on the server, adds already registered conta |replace|[Bool](../types/Bool.md) | Replace contacts? | Yes| -### Return type: [contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) +### Return type: [contacts.ImportedContacts](../types/contacts.ImportedContacts.md) ### Can bots use this method: **NO** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_ImportedContacts = $MadelineProto->contacts->importContacts(['contacts' => [InputContact, InputContact], 'replace' => Bool, ]); +$contacts.ImportedContacts = $MadelineProto->contacts->importContacts(['contacts' => [InputContact, InputContact], 'replace' => Bool, ]); ``` Or, if you're into Lua: ```lua -contacts_ImportedContacts = contacts.importContacts({contacts={InputContact}, replace=Bool, }) +contacts.ImportedContacts = contacts.importContacts({contacts={InputContact}, replace=Bool, }) ``` diff --git a/old_docs/API_docs_v57/methods/contacts.resolveUsername.md b/old_docs/API_docs_v57/methods/contacts.resolveUsername.md index 05e3d854..46f1eb50 100644 --- a/old_docs/API_docs_v57/methods/contacts.resolveUsername.md +++ b/old_docs/API_docs_v57/methods/contacts.resolveUsername.md @@ -16,7 +16,7 @@ You cannot use this method directly, use the resolveUsername, getPwrChat, getInf |username|[string](../types/string.md) | You cannot use this method directly, use the resolveUsername, getPwrChat, getInfo, getFullInfo methods instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [contacts\_ResolvedPeer](../types/contacts_ResolvedPeer.md) +### Return type: [contacts.ResolvedPeer](../types/contacts.ResolvedPeer.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_ResolvedPeer = $MadelineProto->contacts->resolveUsername(['username' => 'string', ]); +$contacts.ResolvedPeer = $MadelineProto->contacts->resolveUsername(['username' => 'string', ]); ``` Or, if you're into Lua: ```lua -contacts_ResolvedPeer = contacts.resolveUsername({username='string', }) +contacts.ResolvedPeer = contacts.resolveUsername({username='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v57/methods/contacts.search.md b/old_docs/API_docs_v57/methods/contacts.search.md index 2f39d6f1..ec04c7f9 100644 --- a/old_docs/API_docs_v57/methods/contacts.search.md +++ b/old_docs/API_docs_v57/methods/contacts.search.md @@ -17,7 +17,7 @@ Returns users found by username substring. |limit|[int](../types/int.md) | Maximum number of users to be returned | Yes| -### Return type: [contacts\_Found](../types/contacts_Found.md) +### Return type: [contacts.Found](../types/contacts.Found.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Found = $MadelineProto->contacts->search(['q' => 'string', 'limit' => int, ]); +$contacts.Found = $MadelineProto->contacts->search(['q' => 'string', 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -contacts_Found = contacts.search({q='string', limit=int, }) +contacts.Found = contacts.search({q='string', limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v57/methods/help.getAppChangelog.md b/old_docs/API_docs_v57/methods/help.getAppChangelog.md index 627d2d55..86973f04 100644 --- a/old_docs/API_docs_v57/methods/help.getAppChangelog.md +++ b/old_docs/API_docs_v57/methods/help.getAppChangelog.md @@ -11,7 +11,7 @@ Get changelog of current app -### Return type: [help\_AppChangelog](../types/help_AppChangelog.md) +### Return type: [help.AppChangelog](../types/help.AppChangelog.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_AppChangelog = $MadelineProto->help->getAppChangelog(); +$help.AppChangelog = $MadelineProto->help->getAppChangelog(); ``` Or, if you're into Lua: ```lua -help_AppChangelog = help.getAppChangelog({}) +help.AppChangelog = help.getAppChangelog({}) ``` diff --git a/old_docs/API_docs_v57/methods/help.getAppUpdate.md b/old_docs/API_docs_v57/methods/help.getAppUpdate.md index 4c58e898..b9899d71 100644 --- a/old_docs/API_docs_v57/methods/help.getAppUpdate.md +++ b/old_docs/API_docs_v57/methods/help.getAppUpdate.md @@ -11,7 +11,7 @@ Returns information on update availability for the current application. -### Return type: [help\_AppUpdate](../types/help_AppUpdate.md) +### Return type: [help.AppUpdate](../types/help.AppUpdate.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_AppUpdate = $MadelineProto->help->getAppUpdate(); +$help.AppUpdate = $MadelineProto->help->getAppUpdate(); ``` Or, if you're into Lua: ```lua -help_AppUpdate = help.getAppUpdate({}) +help.AppUpdate = help.getAppUpdate({}) ``` diff --git a/old_docs/API_docs_v57/methods/help.getInviteText.md b/old_docs/API_docs_v57/methods/help.getInviteText.md index 6fd67362..0d427974 100644 --- a/old_docs/API_docs_v57/methods/help.getInviteText.md +++ b/old_docs/API_docs_v57/methods/help.getInviteText.md @@ -11,7 +11,7 @@ Returns text of a text message with an invitation. -### Return type: [help\_InviteText](../types/help_InviteText.md) +### Return type: [help.InviteText](../types/help.InviteText.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_InviteText = $MadelineProto->help->getInviteText(); +$help.InviteText = $MadelineProto->help->getInviteText(); ``` Or, if you're into Lua: ```lua -help_InviteText = help.getInviteText({}) +help.InviteText = help.getInviteText({}) ``` diff --git a/old_docs/API_docs_v57/methods/help.getSupport.md b/old_docs/API_docs_v57/methods/help.getSupport.md index 7a577892..8a8df916 100644 --- a/old_docs/API_docs_v57/methods/help.getSupport.md +++ b/old_docs/API_docs_v57/methods/help.getSupport.md @@ -11,7 +11,7 @@ Returns the support user for the 'ask a question' feature. -### Return type: [help\_Support](../types/help_Support.md) +### Return type: [help.Support](../types/help.Support.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_Support = $MadelineProto->help->getSupport(); +$help.Support = $MadelineProto->help->getSupport(); ``` Or, if you're into Lua: ```lua -help_Support = help.getSupport({}) +help.Support = help.getSupport({}) ``` diff --git a/old_docs/API_docs_v57/methods/help.getTermsOfService.md b/old_docs/API_docs_v57/methods/help.getTermsOfService.md index f6226458..9f9b28f9 100644 --- a/old_docs/API_docs_v57/methods/help.getTermsOfService.md +++ b/old_docs/API_docs_v57/methods/help.getTermsOfService.md @@ -11,7 +11,7 @@ Get terms of service -### Return type: [help\_TermsOfService](../types/help_TermsOfService.md) +### Return type: [help.TermsOfService](../types/help.TermsOfService.md) ### Can bots use this method: **YES** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_TermsOfService = $MadelineProto->help->getTermsOfService(); +$help.TermsOfService = $MadelineProto->help->getTermsOfService(); ``` Or, if you're into Lua: ```lua -help_TermsOfService = help.getTermsOfService({}) +help.TermsOfService = help.getTermsOfService({}) ``` diff --git a/old_docs/API_docs_v57/methods/messages.deleteHistory.md b/old_docs/API_docs_v57/methods/messages.deleteHistory.md index 9ae1bae9..41460415 100644 --- a/old_docs/API_docs_v57/methods/messages.deleteHistory.md +++ b/old_docs/API_docs_v57/methods/messages.deleteHistory.md @@ -18,7 +18,7 @@ Deletes communication history. |max\_id|[int](../types/int.md) | Maximum ID of message to delete | Yes| -### Return type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) +### Return type: [messages.AffectedHistory](../types/messages.AffectedHistory.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedHistory = $MadelineProto->messages->deleteHistory(['just_clear' => Bool, 'peer' => InputPeer, 'max_id' => int, ]); +$messages.AffectedHistory = $MadelineProto->messages->deleteHistory(['just_clear' => Bool, 'peer' => InputPeer, 'max_id' => int, ]); ``` Or, if you're into Lua: ```lua -messages_AffectedHistory = messages.deleteHistory({just_clear=Bool, peer=InputPeer, max_id=int, }) +messages.AffectedHistory = messages.deleteHistory({just_clear=Bool, peer=InputPeer, max_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v57/methods/messages.deleteMessages.md b/old_docs/API_docs_v57/methods/messages.deleteMessages.md index 355b2ff8..cc432cc1 100644 --- a/old_docs/API_docs_v57/methods/messages.deleteMessages.md +++ b/old_docs/API_docs_v57/methods/messages.deleteMessages.md @@ -16,7 +16,7 @@ Deletes messages by their identifiers. |id|Array of [int](../types/int.md) | IDs of messages to delete, use channels->deleteMessages for supergroups | Yes| -### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) +### Return type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedMessages = $MadelineProto->messages->deleteMessages(['id' => [int, int], ]); +$messages.AffectedMessages = $MadelineProto->messages->deleteMessages(['id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AffectedMessages = messages.deleteMessages({id={int}, }) +messages.AffectedMessages = messages.deleteMessages({id={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v57/methods/messages.getAllStickers.md b/old_docs/API_docs_v57/methods/messages.getAllStickers.md index 329b70be..0f0de7f1 100644 --- a/old_docs/API_docs_v57/methods/messages.getAllStickers.md +++ b/old_docs/API_docs_v57/methods/messages.getAllStickers.md @@ -16,7 +16,7 @@ Get all installed stickers |hash|Array of [int](../types/int.md) | The hash parameter of the previous result of this method | Optional| -### Return type: [messages\_AllStickers](../types/messages_AllStickers.md) +### Return type: [messages.AllStickers](../types/messages.AllStickers.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AllStickers = $MadelineProto->messages->getAllStickers(['hash' => [int, int], ]); +$messages.AllStickers = $MadelineProto->messages->getAllStickers(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AllStickers = messages.getAllStickers({hash={int}, }) +messages.AllStickers = messages.getAllStickers({hash={int}, }) ``` diff --git a/old_docs/API_docs_v57/methods/messages.getArchivedStickers.md b/old_docs/API_docs_v57/methods/messages.getArchivedStickers.md index d3abe9fc..c108376e 100644 --- a/old_docs/API_docs_v57/methods/messages.getArchivedStickers.md +++ b/old_docs/API_docs_v57/methods/messages.getArchivedStickers.md @@ -18,7 +18,7 @@ Get all archived stickers |limit|[int](../types/int.md) | Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_ArchivedStickers](../types/messages_ArchivedStickers.md) +### Return type: [messages.ArchivedStickers](../types/messages.ArchivedStickers.md) ### Can bots use this method: **NO** @@ -35,12 +35,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_ArchivedStickers = $MadelineProto->messages->getArchivedStickers(['masks' => Bool, 'offset_id' => long, 'limit' => int, ]); +$messages.ArchivedStickers = $MadelineProto->messages->getArchivedStickers(['masks' => Bool, 'offset_id' => long, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -messages_ArchivedStickers = messages.getArchivedStickers({masks=Bool, offset_id=long, limit=int, }) +messages.ArchivedStickers = messages.getArchivedStickers({masks=Bool, offset_id=long, limit=int, }) ``` diff --git a/old_docs/API_docs_v57/methods/messages.getBotCallbackAnswer.md b/old_docs/API_docs_v57/methods/messages.getBotCallbackAnswer.md index 015fc46b..10072386 100644 --- a/old_docs/API_docs_v57/methods/messages.getBotCallbackAnswer.md +++ b/old_docs/API_docs_v57/methods/messages.getBotCallbackAnswer.md @@ -19,7 +19,7 @@ Press an inline callback button and get a callback answer from the bot |data|[bytes](../types/bytes.md) | Callback data | Optional| -### Return type: [messages\_BotCallbackAnswer](../types/messages_BotCallbackAnswer.md) +### Return type: [messages.BotCallbackAnswer](../types/messages.BotCallbackAnswer.md) ### Can bots use this method: **NO** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_BotCallbackAnswer = $MadelineProto->messages->getBotCallbackAnswer(['game' => Bool, 'peer' => InputPeer, 'msg_id' => int, 'data' => 'bytes', ]); +$messages.BotCallbackAnswer = $MadelineProto->messages->getBotCallbackAnswer(['game' => Bool, 'peer' => InputPeer, 'msg_id' => int, 'data' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -messages_BotCallbackAnswer = messages.getBotCallbackAnswer({game=Bool, peer=InputPeer, msg_id=int, data='bytes', }) +messages.BotCallbackAnswer = messages.getBotCallbackAnswer({game=Bool, peer=InputPeer, msg_id=int, data='bytes', }) ``` ### Errors diff --git a/old_docs/API_docs_v57/methods/messages.getChats.md b/old_docs/API_docs_v57/methods/messages.getChats.md index c34b0488..146341f5 100644 --- a/old_docs/API_docs_v57/methods/messages.getChats.md +++ b/old_docs/API_docs_v57/methods/messages.getChats.md @@ -16,7 +16,7 @@ Returns chat basic info on their IDs. |id|Array of [int](../types/int.md) | The MTProto IDs of chats to fetch info about | Yes| -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->messages->getChats(['id' => [int, int], ]); +$messages.Chats = $MadelineProto->messages->getChats(['id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Chats = messages.getChats({id={int}, }) +messages.Chats = messages.getChats({id={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v57/methods/messages.getDhConfig.md b/old_docs/API_docs_v57/methods/messages.getDhConfig.md index 88ea4ab3..7b9da566 100644 --- a/old_docs/API_docs_v57/methods/messages.getDhConfig.md +++ b/old_docs/API_docs_v57/methods/messages.getDhConfig.md @@ -17,7 +17,7 @@ You cannot use this method directly, instead use $MadelineProto->getDhConfig(); |random\_length|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->getDhConfig(); | Yes| -### Return type: [messages\_DhConfig](../types/messages_DhConfig.md) +### Return type: [messages.DhConfig](../types/messages.DhConfig.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_DhConfig = $MadelineProto->messages->getDhConfig(['version' => int, 'random_length' => int, ]); +$messages.DhConfig = $MadelineProto->messages->getDhConfig(['version' => int, 'random_length' => int, ]); ``` Or, if you're into Lua: ```lua -messages_DhConfig = messages.getDhConfig({version=int, random_length=int, }) +messages.DhConfig = messages.getDhConfig({version=int, random_length=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v57/methods/messages.getDialogs.md b/old_docs/API_docs_v57/methods/messages.getDialogs.md index f262b574..6e246feb 100644 --- a/old_docs/API_docs_v57/methods/messages.getDialogs.md +++ b/old_docs/API_docs_v57/methods/messages.getDialogs.md @@ -19,7 +19,7 @@ Returns the current user dialog list. |limit|[int](../types/int.md) | Number of list elements to be returned | Yes| -### Return type: [messages\_Dialogs](../types/messages_Dialogs.md) +### Return type: [messages.Dialogs](../types/messages.Dialogs.md) ### Can bots use this method: **NO** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Dialogs = $MadelineProto->messages->getDialogs(['offset_date' => int, 'offset_id' => int, 'offset_peer' => InputPeer, 'limit' => int, ]); +$messages.Dialogs = $MadelineProto->messages->getDialogs(['offset_date' => int, 'offset_id' => int, 'offset_peer' => InputPeer, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Dialogs = messages.getDialogs({offset_date=int, offset_id=int, offset_peer=InputPeer, limit=int, }) +messages.Dialogs = messages.getDialogs({offset_date=int, offset_id=int, offset_peer=InputPeer, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v57/methods/messages.getFeaturedStickers.md b/old_docs/API_docs_v57/methods/messages.getFeaturedStickers.md index 8f2634c3..2d65d626 100644 --- a/old_docs/API_docs_v57/methods/messages.getFeaturedStickers.md +++ b/old_docs/API_docs_v57/methods/messages.getFeaturedStickers.md @@ -16,7 +16,7 @@ Get featured stickers |hash|Array of [int](../types/int.md) | the hash parameter of the previous result of this method | Optional| -### Return type: [messages\_FeaturedStickers](../types/messages_FeaturedStickers.md) +### Return type: [messages.FeaturedStickers](../types/messages.FeaturedStickers.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_FeaturedStickers = $MadelineProto->messages->getFeaturedStickers(['hash' => [int, int], ]); +$messages.FeaturedStickers = $MadelineProto->messages->getFeaturedStickers(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_FeaturedStickers = messages.getFeaturedStickers({hash={int}, }) +messages.FeaturedStickers = messages.getFeaturedStickers({hash={int}, }) ``` diff --git a/old_docs/API_docs_v57/methods/messages.getFullChat.md b/old_docs/API_docs_v57/methods/messages.getFullChat.md index abf23e21..de543651 100644 --- a/old_docs/API_docs_v57/methods/messages.getFullChat.md +++ b/old_docs/API_docs_v57/methods/messages.getFullChat.md @@ -16,7 +16,7 @@ You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo me |chat\_id|[Username, chat ID, Update, Message or InputPeer](../types/InputPeer.md) | You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo methods instead (see https://docs.madelineproto.xyz for more info) | Optional| -### Return type: [messages\_ChatFull](../types/messages_ChatFull.md) +### Return type: [messages.ChatFull](../types/messages.ChatFull.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_ChatFull = $MadelineProto->messages->getFullChat(['chat_id' => InputPeer, ]); +$messages.ChatFull = $MadelineProto->messages->getFullChat(['chat_id' => InputPeer, ]); ``` Or, if you're into Lua: ```lua -messages_ChatFull = messages.getFullChat({chat_id=InputPeer, }) +messages.ChatFull = messages.getFullChat({chat_id=InputPeer, }) ``` ### Errors diff --git a/old_docs/API_docs_v57/methods/messages.getGameHighScores.md b/old_docs/API_docs_v57/methods/messages.getGameHighScores.md index 0ee9d754..6e4dacb2 100644 --- a/old_docs/API_docs_v57/methods/messages.getGameHighScores.md +++ b/old_docs/API_docs_v57/methods/messages.getGameHighScores.md @@ -18,7 +18,7 @@ Get highscores of a game |user\_id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | Get high scores made by a certain user | Optional| -### Return type: [messages\_HighScores](../types/messages_HighScores.md) +### Return type: [messages.HighScores](../types/messages.HighScores.md) ### Can bots use this method: **YES** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_HighScores = $MadelineProto->messages->getGameHighScores(['peer' => InputPeer, 'id' => int, 'user_id' => InputUser, ]); +$messages.HighScores = $MadelineProto->messages->getGameHighScores(['peer' => InputPeer, 'id' => int, 'user_id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -messages_HighScores = messages.getGameHighScores({peer=InputPeer, id=int, user_id=InputUser, }) +messages.HighScores = messages.getGameHighScores({peer=InputPeer, id=int, user_id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v57/methods/messages.getHistory.md b/old_docs/API_docs_v57/methods/messages.getHistory.md index 636183d2..8e012da1 100644 --- a/old_docs/API_docs_v57/methods/messages.getHistory.md +++ b/old_docs/API_docs_v57/methods/messages.getHistory.md @@ -22,7 +22,7 @@ Gets back the conversation history with one interlocutor / within a chat |min\_id|[int](../types/int.md) | If a positive value was transferred, the method will return only messages with IDs more than **min\_id** | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **NO** @@ -39,13 +39,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->getHistory(['peer' => InputPeer, 'offset_id' => int, 'offset_date' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); +$messages.Messages = $MadelineProto->messages->getHistory(['peer' => InputPeer, 'offset_id' => int, 'offset_date' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.getHistory({peer=InputPeer, offset_id=int, offset_date=int, add_offset=int, limit=int, max_id=int, min_id=int, }) +messages.Messages = messages.getHistory({peer=InputPeer, offset_id=int, offset_date=int, add_offset=int, limit=int, max_id=int, min_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v57/methods/messages.getInlineBotResults.md b/old_docs/API_docs_v57/methods/messages.getInlineBotResults.md index ac251797..8a397236 100644 --- a/old_docs/API_docs_v57/methods/messages.getInlineBotResults.md +++ b/old_docs/API_docs_v57/methods/messages.getInlineBotResults.md @@ -20,7 +20,7 @@ Query an inline bot |offset|[string](../types/string.md) | The offset within the results, will be passed directly as-is to the bot. | Yes| -### Return type: [messages\_BotResults](../types/messages_BotResults.md) +### Return type: [messages.BotResults](../types/messages.BotResults.md) ### Can bots use this method: **NO** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_BotResults = $MadelineProto->messages->getInlineBotResults(['bot' => InputUser, 'peer' => InputPeer, 'geo_point' => InputGeoPoint, 'query' => 'string', 'offset' => 'string', ]); +$messages.BotResults = $MadelineProto->messages->getInlineBotResults(['bot' => InputUser, 'peer' => InputPeer, 'geo_point' => InputGeoPoint, 'query' => 'string', 'offset' => 'string', ]); ``` Or, if you're into Lua: ```lua -messages_BotResults = messages.getInlineBotResults({bot=InputUser, peer=InputPeer, geo_point=InputGeoPoint, query='string', offset='string', }) +messages.BotResults = messages.getInlineBotResults({bot=InputUser, peer=InputPeer, geo_point=InputGeoPoint, query='string', offset='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v57/methods/messages.getInlineGameHighScores.md b/old_docs/API_docs_v57/methods/messages.getInlineGameHighScores.md index 0d02b426..dbcb2cf6 100644 --- a/old_docs/API_docs_v57/methods/messages.getInlineGameHighScores.md +++ b/old_docs/API_docs_v57/methods/messages.getInlineGameHighScores.md @@ -17,7 +17,7 @@ Get highscores of a game sent using an inline bot |user\_id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | Get high scores of a certain user | Optional| -### Return type: [messages\_HighScores](../types/messages_HighScores.md) +### Return type: [messages.HighScores](../types/messages.HighScores.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_HighScores = $MadelineProto->messages->getInlineGameHighScores(['id' => InputBotInlineMessageID, 'user_id' => InputUser, ]); +$messages.HighScores = $MadelineProto->messages->getInlineGameHighScores(['id' => InputBotInlineMessageID, 'user_id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -messages_HighScores = messages.getInlineGameHighScores({id=InputBotInlineMessageID, user_id=InputUser, }) +messages.HighScores = messages.getInlineGameHighScores({id=InputBotInlineMessageID, user_id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v57/methods/messages.getMaskStickers.md b/old_docs/API_docs_v57/methods/messages.getMaskStickers.md index a09834e1..093645f6 100644 --- a/old_docs/API_docs_v57/methods/messages.getMaskStickers.md +++ b/old_docs/API_docs_v57/methods/messages.getMaskStickers.md @@ -16,7 +16,7 @@ Get installed mask stickers |hash|Array of [int](../types/int.md) | the hash parameter of the previous result of this method | Optional| -### Return type: [messages\_AllStickers](../types/messages_AllStickers.md) +### Return type: [messages.AllStickers](../types/messages.AllStickers.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AllStickers = $MadelineProto->messages->getMaskStickers(['hash' => [int, int], ]); +$messages.AllStickers = $MadelineProto->messages->getMaskStickers(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AllStickers = messages.getMaskStickers({hash={int}, }) +messages.AllStickers = messages.getMaskStickers({hash={int}, }) ``` diff --git a/old_docs/API_docs_v57/methods/messages.getMessageEditData.md b/old_docs/API_docs_v57/methods/messages.getMessageEditData.md index 1a083f08..7fd32e82 100644 --- a/old_docs/API_docs_v57/methods/messages.getMessageEditData.md +++ b/old_docs/API_docs_v57/methods/messages.getMessageEditData.md @@ -17,7 +17,7 @@ Find out if a media message's caption can be edited |id|[int](../types/int.md) | ID of message | Yes| -### Return type: [messages\_MessageEditData](../types/messages_MessageEditData.md) +### Return type: [messages.MessageEditData](../types/messages.MessageEditData.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_MessageEditData = $MadelineProto->messages->getMessageEditData(['peer' => InputPeer, 'id' => int, ]); +$messages.MessageEditData = $MadelineProto->messages->getMessageEditData(['peer' => InputPeer, 'id' => int, ]); ``` Or, if you're into Lua: ```lua -messages_MessageEditData = messages.getMessageEditData({peer=InputPeer, id=int, }) +messages.MessageEditData = messages.getMessageEditData({peer=InputPeer, id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v57/methods/messages.getMessages.md b/old_docs/API_docs_v57/methods/messages.getMessages.md index a3139513..c7760d7e 100644 --- a/old_docs/API_docs_v57/methods/messages.getMessages.md +++ b/old_docs/API_docs_v57/methods/messages.getMessages.md @@ -16,7 +16,7 @@ Returns the list of messages by their IDs. |id|Array of [int](../types/int.md) | The IDs of messages to fetch (only for users and normal groups) | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **YES** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->getMessages(['id' => [int, int], ]); +$messages.Messages = $MadelineProto->messages->getMessages(['id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.getMessages({id={int}, }) +messages.Messages = messages.getMessages({id={int}, }) ``` diff --git a/old_docs/API_docs_v57/methods/messages.getPeerDialogs.md b/old_docs/API_docs_v57/methods/messages.getPeerDialogs.md index a2c2714b..79bd7fa3 100644 --- a/old_docs/API_docs_v57/methods/messages.getPeerDialogs.md +++ b/old_docs/API_docs_v57/methods/messages.getPeerDialogs.md @@ -16,7 +16,7 @@ Get dialog info of specified peers |peers|Array of [Username, chat ID, Update, Message or InputPeer](../types/InputPeer.md) | The peers | Yes| -### Return type: [messages\_PeerDialogs](../types/messages_PeerDialogs.md) +### Return type: [messages.PeerDialogs](../types/messages.PeerDialogs.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_PeerDialogs = $MadelineProto->messages->getPeerDialogs(['peers' => [InputPeer, InputPeer], ]); +$messages.PeerDialogs = $MadelineProto->messages->getPeerDialogs(['peers' => [InputPeer, InputPeer], ]); ``` Or, if you're into Lua: ```lua -messages_PeerDialogs = messages.getPeerDialogs({peers={InputPeer}, }) +messages.PeerDialogs = messages.getPeerDialogs({peers={InputPeer}, }) ``` ### Errors diff --git a/old_docs/API_docs_v57/methods/messages.getRecentStickers.md b/old_docs/API_docs_v57/methods/messages.getRecentStickers.md index 28a70889..39cef16a 100644 --- a/old_docs/API_docs_v57/methods/messages.getRecentStickers.md +++ b/old_docs/API_docs_v57/methods/messages.getRecentStickers.md @@ -17,7 +17,7 @@ Get recent stickers |hash|Array of [int](../types/int.md) | IDs the hash parameter of the previous result of this method | Optional| -### Return type: [messages\_RecentStickers](../types/messages_RecentStickers.md) +### Return type: [messages.RecentStickers](../types/messages.RecentStickers.md) ### Can bots use this method: **NO** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_RecentStickers = $MadelineProto->messages->getRecentStickers(['attached' => Bool, 'hash' => [int, int], ]); +$messages.RecentStickers = $MadelineProto->messages->getRecentStickers(['attached' => Bool, 'hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_RecentStickers = messages.getRecentStickers({attached=Bool, hash={int}, }) +messages.RecentStickers = messages.getRecentStickers({attached=Bool, hash={int}, }) ``` diff --git a/old_docs/API_docs_v57/methods/messages.getSavedGifs.md b/old_docs/API_docs_v57/methods/messages.getSavedGifs.md index 1df7f37c..8b31f7b8 100644 --- a/old_docs/API_docs_v57/methods/messages.getSavedGifs.md +++ b/old_docs/API_docs_v57/methods/messages.getSavedGifs.md @@ -16,7 +16,7 @@ Get saved GIFs |hash|Array of [int](../types/int.md) | the hash parameter of the previous result of this method | Optional| -### Return type: [messages\_SavedGifs](../types/messages_SavedGifs.md) +### Return type: [messages.SavedGifs](../types/messages.SavedGifs.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_SavedGifs = $MadelineProto->messages->getSavedGifs(['hash' => [int, int], ]); +$messages.SavedGifs = $MadelineProto->messages->getSavedGifs(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_SavedGifs = messages.getSavedGifs({hash={int}, }) +messages.SavedGifs = messages.getSavedGifs({hash={int}, }) ``` diff --git a/old_docs/API_docs_v57/methods/messages.getStickerSet.md b/old_docs/API_docs_v57/methods/messages.getStickerSet.md index 45fca60f..f11887ee 100644 --- a/old_docs/API_docs_v57/methods/messages.getStickerSet.md +++ b/old_docs/API_docs_v57/methods/messages.getStickerSet.md @@ -16,7 +16,7 @@ Get info about a stickerset |stickerset|[InputStickerSet](../types/InputStickerSet.md) | Stickerset | Optional| -### Return type: [messages\_StickerSet](../types/messages_StickerSet.md) +### Return type: [messages.StickerSet](../types/messages.StickerSet.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StickerSet = $MadelineProto->messages->getStickerSet(['stickerset' => InputStickerSet, ]); +$messages.StickerSet = $MadelineProto->messages->getStickerSet(['stickerset' => InputStickerSet, ]); ``` Or, if you're into Lua: ```lua -messages_StickerSet = messages.getStickerSet({stickerset=InputStickerSet, }) +messages.StickerSet = messages.getStickerSet({stickerset=InputStickerSet, }) ``` ### Errors diff --git a/old_docs/API_docs_v57/methods/messages.installStickerSet.md b/old_docs/API_docs_v57/methods/messages.installStickerSet.md index 1a95ca0b..83ce2121 100644 --- a/old_docs/API_docs_v57/methods/messages.installStickerSet.md +++ b/old_docs/API_docs_v57/methods/messages.installStickerSet.md @@ -17,7 +17,7 @@ Install a stickerset |archived|[Bool](../types/Bool.md) | Whether to archive stickerset | Yes| -### Return type: [messages\_StickerSetInstallResult](../types/messages_StickerSetInstallResult.md) +### Return type: [messages.StickerSetInstallResult](../types/messages.StickerSetInstallResult.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StickerSetInstallResult = $MadelineProto->messages->installStickerSet(['stickerset' => InputStickerSet, 'archived' => Bool, ]); +$messages.StickerSetInstallResult = $MadelineProto->messages->installStickerSet(['stickerset' => InputStickerSet, 'archived' => Bool, ]); ``` Or, if you're into Lua: ```lua -messages_StickerSetInstallResult = messages.installStickerSet({stickerset=InputStickerSet, archived=Bool, }) +messages.StickerSetInstallResult = messages.installStickerSet({stickerset=InputStickerSet, archived=Bool, }) ``` ### Errors diff --git a/old_docs/API_docs_v57/methods/messages.readHistory.md b/old_docs/API_docs_v57/methods/messages.readHistory.md index 39753375..52030c68 100644 --- a/old_docs/API_docs_v57/methods/messages.readHistory.md +++ b/old_docs/API_docs_v57/methods/messages.readHistory.md @@ -17,7 +17,7 @@ Marks message history as read. |max\_id|[int](../types/int.md) | If a positive value is passed, only messages with identifiers less or equal than the given one will be read | Yes| -### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) +### Return type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedMessages = $MadelineProto->messages->readHistory(['peer' => InputPeer, 'max_id' => int, ]); +$messages.AffectedMessages = $MadelineProto->messages->readHistory(['peer' => InputPeer, 'max_id' => int, ]); ``` Or, if you're into Lua: ```lua -messages_AffectedMessages = messages.readHistory({peer=InputPeer, max_id=int, }) +messages.AffectedMessages = messages.readHistory({peer=InputPeer, max_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v57/methods/messages.readMessageContents.md b/old_docs/API_docs_v57/methods/messages.readMessageContents.md index c479cafe..9798e661 100644 --- a/old_docs/API_docs_v57/methods/messages.readMessageContents.md +++ b/old_docs/API_docs_v57/methods/messages.readMessageContents.md @@ -16,7 +16,7 @@ Notifies the sender about the recipient having listened a voice message or watch |id|Array of [int](../types/int.md) | The messages to mark as read (only users and normal chats, not supergroups) | Yes| -### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) +### Return type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedMessages = $MadelineProto->messages->readMessageContents(['id' => [int, int], ]); +$messages.AffectedMessages = $MadelineProto->messages->readMessageContents(['id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AffectedMessages = messages.readMessageContents({id={int}, }) +messages.AffectedMessages = messages.readMessageContents({id={int}, }) ``` diff --git a/old_docs/API_docs_v57/methods/messages.search.md b/old_docs/API_docs_v57/methods/messages.search.md index 4fda6636..7ebe6a9a 100644 --- a/old_docs/API_docs_v57/methods/messages.search.md +++ b/old_docs/API_docs_v57/methods/messages.search.md @@ -23,7 +23,7 @@ Gets back found messages |limit|[int](../types/int.md) | [Number of results to return](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **NO** @@ -40,13 +40,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->search(['peer' => InputPeer, 'q' => 'string', 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); +$messages.Messages = $MadelineProto->messages->search(['peer' => InputPeer, 'q' => 'string', 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.search({peer=InputPeer, q='string', filter=MessagesFilter, min_date=int, max_date=int, offset=int, max_id=int, limit=int, }) +messages.Messages = messages.search({peer=InputPeer, q='string', filter=MessagesFilter, min_date=int, max_date=int, offset=int, max_id=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v57/methods/messages.searchGifs.md b/old_docs/API_docs_v57/methods/messages.searchGifs.md index 851371d7..193a0cd4 100644 --- a/old_docs/API_docs_v57/methods/messages.searchGifs.md +++ b/old_docs/API_docs_v57/methods/messages.searchGifs.md @@ -17,7 +17,7 @@ Search for GIFs |offset|[int](../types/int.md) | Offset for [pagination »](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_FoundGifs](../types/messages_FoundGifs.md) +### Return type: [messages.FoundGifs](../types/messages.FoundGifs.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_FoundGifs = $MadelineProto->messages->searchGifs(['q' => 'string', 'offset' => int, ]); +$messages.FoundGifs = $MadelineProto->messages->searchGifs(['q' => 'string', 'offset' => int, ]); ``` Or, if you're into Lua: ```lua -messages_FoundGifs = messages.searchGifs({q='string', offset=int, }) +messages.FoundGifs = messages.searchGifs({q='string', offset=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v57/methods/messages.searchGlobal.md b/old_docs/API_docs_v57/methods/messages.searchGlobal.md index 4bd59f25..1a3b736d 100644 --- a/old_docs/API_docs_v57/methods/messages.searchGlobal.md +++ b/old_docs/API_docs_v57/methods/messages.searchGlobal.md @@ -20,7 +20,7 @@ Search for messages and peers globally |limit|[int](../types/int.md) | [Offsets for pagination, for more info click here](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **NO** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->searchGlobal(['q' => 'string', 'offset_date' => int, 'offset_peer' => InputPeer, 'offset_id' => int, 'limit' => int, ]); +$messages.Messages = $MadelineProto->messages->searchGlobal(['q' => 'string', 'offset_date' => int, 'offset_peer' => InputPeer, 'offset_id' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.searchGlobal({q='string', offset_date=int, offset_peer=InputPeer, offset_id=int, limit=int, }) +messages.Messages = messages.searchGlobal({q='string', offset_date=int, offset_peer=InputPeer, offset_id=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v57/methods/messages.sendEncrypted.md b/old_docs/API_docs_v57/methods/messages.sendEncrypted.md index 47b5ef29..6a68b563 100644 --- a/old_docs/API_docs_v57/methods/messages.sendEncrypted.md +++ b/old_docs/API_docs_v57/methods/messages.sendEncrypted.md @@ -14,10 +14,10 @@ Sends a text message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|message|[DecryptedMessage](../types/DecryptedMessage.md) | The message to send | Yes| +|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key that was created during chat initialization | Yes| -### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ### Can bots use this method: **NO** @@ -34,21 +34,15 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncrypted(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); +$messages.SentEncryptedMessage = $MadelineProto->messages->sendEncrypted(['peer' => InputEncryptedChat, 'data' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -messages_SentEncryptedMessage = messages.sendEncrypted({peer=InputEncryptedChat, message=DecryptedMessage, }) +messages.SentEncryptedMessage = messages.sendEncrypted({peer=InputEncryptedChat, data='bytes', }) ``` - -## Return value - -If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) will be returned instead. - - ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v57/methods/messages.sendEncryptedFile.md b/old_docs/API_docs_v57/methods/messages.sendEncryptedFile.md index 4e0f7b7f..87185ba4 100644 --- a/old_docs/API_docs_v57/methods/messages.sendEncryptedFile.md +++ b/old_docs/API_docs_v57/methods/messages.sendEncryptedFile.md @@ -14,11 +14,11 @@ Sends a message with a file attachment to a secret chat | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|message|[DecryptedMessage](../types/DecryptedMessage.md) | The message with the file | Yes| +|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| |file|[File path or InputEncryptedFile](../types/InputEncryptedFile.md) | File attachment for the secret chat | Optional| -### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ### Can bots use this method: **NO** @@ -35,21 +35,15 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedFile(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, 'file' => InputEncryptedFile, ]); +$messages.SentEncryptedMessage = $MadelineProto->messages->sendEncryptedFile(['peer' => InputEncryptedChat, 'data' => 'bytes', 'file' => InputEncryptedFile, ]); ``` Or, if you're into Lua: ```lua -messages_SentEncryptedMessage = messages.sendEncryptedFile({peer=InputEncryptedChat, message=DecryptedMessage, file=InputEncryptedFile, }) +messages.SentEncryptedMessage = messages.sendEncryptedFile({peer=InputEncryptedChat, data='bytes', file=InputEncryptedFile, }) ``` - -## Return value - -If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) will be returned instead. - - ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v57/methods/messages.sendEncryptedService.md b/old_docs/API_docs_v57/methods/messages.sendEncryptedService.md index 86925ae3..38171272 100644 --- a/old_docs/API_docs_v57/methods/messages.sendEncryptedService.md +++ b/old_docs/API_docs_v57/methods/messages.sendEncryptedService.md @@ -14,10 +14,10 @@ Sends a service message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|message|[DecryptedMessage](../types/DecryptedMessage.md) | The service message | Yes| +|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| -### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ### Can bots use this method: **NO** @@ -34,21 +34,15 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedService(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); +$messages.SentEncryptedMessage = $MadelineProto->messages->sendEncryptedService(['peer' => InputEncryptedChat, 'data' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -messages_SentEncryptedMessage = messages.sendEncryptedService({peer=InputEncryptedChat, message=DecryptedMessage, }) +messages.SentEncryptedMessage = messages.sendEncryptedService({peer=InputEncryptedChat, data='bytes', }) ``` - -## Return value - -If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) will be returned instead. - - ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v57/methods/photos.getUserPhotos.md b/old_docs/API_docs_v57/methods/photos.getUserPhotos.md index a1dec2ed..1f8d5c64 100644 --- a/old_docs/API_docs_v57/methods/photos.getUserPhotos.md +++ b/old_docs/API_docs_v57/methods/photos.getUserPhotos.md @@ -19,7 +19,7 @@ Returns the list of user photos. |limit|[int](../types/int.md) | Number of list elements to be returned | Yes| -### Return type: [photos\_Photos](../types/photos_Photos.md) +### Return type: [photos.Photos](../types/photos.Photos.md) ### Can bots use this method: **YES** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$photos_Photos = $MadelineProto->photos->getUserPhotos(['user_id' => InputUser, 'offset' => int, 'max_id' => long, 'limit' => int, ]); +$photos.Photos = $MadelineProto->photos->getUserPhotos(['user_id' => InputUser, 'offset' => int, 'max_id' => long, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -photos_Photos = photos.getUserPhotos({user_id=InputUser, offset=int, max_id=long, limit=int, }) +photos.Photos = photos.getUserPhotos({user_id=InputUser, offset=int, max_id=long, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v57/methods/photos.uploadProfilePhoto.md b/old_docs/API_docs_v57/methods/photos.uploadProfilePhoto.md index b6a01ee7..4de76a24 100644 --- a/old_docs/API_docs_v57/methods/photos.uploadProfilePhoto.md +++ b/old_docs/API_docs_v57/methods/photos.uploadProfilePhoto.md @@ -16,7 +16,7 @@ Updates current user profile photo. |file|[File path or InputFile](../types/InputFile.md) | File saved in parts by means of [upload.saveFilePart](../methods/upload.saveFilePart.md) method | Yes| -### Return type: [photos\_Photo](../types/photos_Photo.md) +### Return type: [photos.Photo](../types/photos.Photo.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$photos_Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, ]); +$photos.Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, ]); ``` Or, if you're into Lua: ```lua -photos_Photo = photos.uploadProfilePhoto({file=InputFile, }) +photos.Photo = photos.uploadProfilePhoto({file=InputFile, }) ``` ### Errors diff --git a/old_docs/API_docs_v57/methods/updates.getChannelDifference.md b/old_docs/API_docs_v57/methods/updates.getChannelDifference.md index 77a45636..79adf4b1 100644 --- a/old_docs/API_docs_v57/methods/updates.getChannelDifference.md +++ b/old_docs/API_docs_v57/methods/updates.getChannelDifference.md @@ -19,7 +19,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz for more |limit|[int](../types/int.md) | You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates | Yes| -### Return type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) +### Return type: [updates.ChannelDifference](../types/updates.ChannelDifference.md) ### Can bots use this method: **YES** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$updates_ChannelDifference = $MadelineProto->updates->getChannelDifference(['channel' => InputChannel, 'filter' => ChannelMessagesFilter, 'pts' => int, 'limit' => int, ]); +$updates.ChannelDifference = $MadelineProto->updates->getChannelDifference(['channel' => InputChannel, 'filter' => ChannelMessagesFilter, 'pts' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -updates_ChannelDifference = updates.getChannelDifference({channel=InputChannel, filter=ChannelMessagesFilter, pts=int, limit=int, }) +updates.ChannelDifference = updates.getChannelDifference({channel=InputChannel, filter=ChannelMessagesFilter, pts=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v57/methods/updates.getDifference.md b/old_docs/API_docs_v57/methods/updates.getDifference.md index 57ea6d99..061a5c8f 100644 --- a/old_docs/API_docs_v57/methods/updates.getDifference.md +++ b/old_docs/API_docs_v57/methods/updates.getDifference.md @@ -18,7 +18,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz for more |qts|[int](../types/int.md) | You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates | Yes| -### Return type: [updates\_Difference](../types/updates_Difference.md) +### Return type: [updates.Difference](../types/updates.Difference.md) ### Can bots use this method: **YES** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$updates_Difference = $MadelineProto->updates->getDifference(['pts' => int, 'date' => int, 'qts' => int, ]); +$updates.Difference = $MadelineProto->updates->getDifference(['pts' => int, 'date' => int, 'qts' => int, ]); ``` Or, if you're into Lua: ```lua -updates_Difference = updates.getDifference({pts=int, date=int, qts=int, }) +updates.Difference = updates.getDifference({pts=int, date=int, qts=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v57/methods/updates.getState.md b/old_docs/API_docs_v57/methods/updates.getState.md index c591408a..9a7d2f34 100644 --- a/old_docs/API_docs_v57/methods/updates.getState.md +++ b/old_docs/API_docs_v57/methods/updates.getState.md @@ -11,7 +11,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz for more -### Return type: [updates\_State](../types/updates_State.md) +### Return type: [updates.State](../types/updates.State.md) ### Can bots use this method: **YES** @@ -28,13 +28,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$updates_State = $MadelineProto->updates->getState(); +$updates.State = $MadelineProto->updates->getState(); ``` Or, if you're into Lua: ```lua -updates_State = updates.getState({}) +updates.State = updates.getState({}) ``` ### Errors diff --git a/old_docs/API_docs_v57/methods/upload.getFile.md b/old_docs/API_docs_v57/methods/upload.getFile.md index 8aba03d4..ab9f4fe2 100644 --- a/old_docs/API_docs_v57/methods/upload.getFile.md +++ b/old_docs/API_docs_v57/methods/upload.getFile.md @@ -18,7 +18,7 @@ You cannot use this method directly, use the upload, downloadToStream, downloadT |limit|[int](../types/int.md) | You cannot use this method directly, use the upload, downloadToStream, downloadToFile, downloadToDir methods instead; see https://docs.madelineproto.xyz for more info | Yes| -### Return type: [upload\_File](../types/upload_File.md) +### Return type: [upload.File](../types/upload.File.md) ### Can bots use this method: **YES** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$upload_File = $MadelineProto->upload->getFile(['location' => InputFileLocation, 'offset' => int, 'limit' => int, ]); +$upload.File = $MadelineProto->upload->getFile(['location' => InputFileLocation, 'offset' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -upload_File = upload.getFile({location=InputFileLocation, offset=int, limit=int, }) +upload.File = upload.getFile({location=InputFileLocation, offset=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v57/types/AccountDaysTTL.md b/old_docs/API_docs_v57/types/AccountDaysTTL.md index 12a10190..f3494aac 100644 --- a/old_docs/API_docs_v57/types/AccountDaysTTL.md +++ b/old_docs/API_docs_v57/types/AccountDaysTTL.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->account->getAccountTTL](../methods/account_getAccountTTL.md) +[$MadelineProto->account->getAccountTTL](../methods/account.getAccountTTL.md) diff --git a/old_docs/API_docs_v57/types/ChatInvite.md b/old_docs/API_docs_v57/types/ChatInvite.md index 5022a2f0..9fafabb4 100644 --- a/old_docs/API_docs_v57/types/ChatInvite.md +++ b/old_docs/API_docs_v57/types/ChatInvite.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->checkChatInvite](../methods/messages_checkChatInvite.md) +[$MadelineProto->messages->checkChatInvite](../methods/messages.checkChatInvite.md) diff --git a/old_docs/API_docs_v57/types/Config.md b/old_docs/API_docs_v57/types/Config.md index 0f7fbe70..3a23b7b7 100644 --- a/old_docs/API_docs_v57/types/Config.md +++ b/old_docs/API_docs_v57/types/Config.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->help->getConfig](../methods/help_getConfig.md) +[$MadelineProto->help->getConfig](../methods/help.getConfig.md) diff --git a/old_docs/API_docs_v57/types/ContactStatus.md b/old_docs/API_docs_v57/types/ContactStatus.md index c5f5d658..30aee6e2 100644 --- a/old_docs/API_docs_v57/types/ContactStatus.md +++ b/old_docs/API_docs_v57/types/ContactStatus.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->contacts->getStatuses](../methods/contacts_getStatuses.md) +[$MadelineProto->contacts->getStatuses](../methods/contacts.getStatuses.md) diff --git a/old_docs/API_docs_v57/types/Document.md b/old_docs/API_docs_v57/types/Document.md index f68b7aa4..2cb85623 100644 --- a/old_docs/API_docs_v57/types/Document.md +++ b/old_docs/API_docs_v57/types/Document.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getDocumentByHash](../methods/messages_getDocumentByHash.md) +[$MadelineProto->messages->getDocumentByHash](../methods/messages.getDocumentByHash.md) diff --git a/old_docs/API_docs_v57/types/EncryptedChat.md b/old_docs/API_docs_v57/types/EncryptedChat.md index fd2277f6..19cf52b0 100644 --- a/old_docs/API_docs_v57/types/EncryptedChat.md +++ b/old_docs/API_docs_v57/types/EncryptedChat.md @@ -24,9 +24,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->requestEncryption](../methods/messages_requestEncryption.md) +[$MadelineProto->messages->requestEncryption](../methods/messages.requestEncryption.md) -[$MadelineProto->messages->acceptEncryption](../methods/messages_acceptEncryption.md) +[$MadelineProto->messages->acceptEncryption](../methods/messages.acceptEncryption.md) diff --git a/old_docs/API_docs_v57/types/ExportedChatInvite.md b/old_docs/API_docs_v57/types/ExportedChatInvite.md index 4213a78f..53ce5f59 100644 --- a/old_docs/API_docs_v57/types/ExportedChatInvite.md +++ b/old_docs/API_docs_v57/types/ExportedChatInvite.md @@ -18,9 +18,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->exportChatInvite](../methods/messages_exportChatInvite.md) +[$MadelineProto->messages->exportChatInvite](../methods/messages.exportChatInvite.md) -[$MadelineProto->channels->exportInvite](../methods/channels_exportInvite.md) +[$MadelineProto->channels->exportInvite](../methods/channels.exportInvite.md) diff --git a/old_docs/API_docs_v57/types/ExportedMessageLink.md b/old_docs/API_docs_v57/types/ExportedMessageLink.md index eb2400f6..948e9c90 100644 --- a/old_docs/API_docs_v57/types/ExportedMessageLink.md +++ b/old_docs/API_docs_v57/types/ExportedMessageLink.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->channels->exportMessageLink](../methods/channels_exportMessageLink.md) +[$MadelineProto->channels->exportMessageLink](../methods/channels.exportMessageLink.md) diff --git a/old_docs/API_docs_v57/types/MessageMedia.md b/old_docs/API_docs_v57/types/MessageMedia.md index f5c81355..cf85b719 100644 --- a/old_docs/API_docs_v57/types/MessageMedia.md +++ b/old_docs/API_docs_v57/types/MessageMedia.md @@ -32,7 +32,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getWebPagePreview](../methods/messages_getWebPagePreview.md) +[$MadelineProto->messages->getWebPagePreview](../methods/messages.getWebPagePreview.md) diff --git a/old_docs/API_docs_v57/types/NearestDc.md b/old_docs/API_docs_v57/types/NearestDc.md index 31f24377..296a4dff 100644 --- a/old_docs/API_docs_v57/types/NearestDc.md +++ b/old_docs/API_docs_v57/types/NearestDc.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->help->getNearestDc](../methods/help_getNearestDc.md) +[$MadelineProto->help->getNearestDc](../methods/help.getNearestDc.md) diff --git a/old_docs/API_docs_v57/types/PeerNotifySettings.md b/old_docs/API_docs_v57/types/PeerNotifySettings.md index 769de075..3d72b7c5 100644 --- a/old_docs/API_docs_v57/types/PeerNotifySettings.md +++ b/old_docs/API_docs_v57/types/PeerNotifySettings.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->account->getNotifySettings](../methods/account_getNotifySettings.md) +[$MadelineProto->account->getNotifySettings](../methods/account.getNotifySettings.md) diff --git a/old_docs/API_docs_v57/types/PeerSettings.md b/old_docs/API_docs_v57/types/PeerSettings.md index 60ac3765..31ef7e38 100644 --- a/old_docs/API_docs_v57/types/PeerSettings.md +++ b/old_docs/API_docs_v57/types/PeerSettings.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getPeerSettings](../methods/messages_getPeerSettings.md) +[$MadelineProto->messages->getPeerSettings](../methods/messages.getPeerSettings.md) diff --git a/old_docs/API_docs_v57/types/README.md b/old_docs/API_docs_v57/types/README.md index 6aef408e..ce719606 100644 --- a/old_docs/API_docs_v57/types/README.md +++ b/old_docs/API_docs_v57/types/README.md @@ -223,117 +223,117 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png [X](X.md) -[account\_Authorizations](account_Authorizations.md) +[account.Authorizations](account.Authorizations.md) -[account\_Password](account_Password.md) +[account.Password](account.Password.md) -[account\_PasswordInputSettings](account_PasswordInputSettings.md) +[account.PasswordInputSettings](account.PasswordInputSettings.md) -[account\_PasswordSettings](account_PasswordSettings.md) +[account.PasswordSettings](account.PasswordSettings.md) -[account\_PrivacyRules](account_PrivacyRules.md) +[account.PrivacyRules](account.PrivacyRules.md) -[auth\_Authorization](auth_Authorization.md) +[auth.Authorization](auth.Authorization.md) -[auth\_CheckedPhone](auth_CheckedPhone.md) +[auth.CheckedPhone](auth.CheckedPhone.md) -[auth\_CodeType](auth_CodeType.md) +[auth.CodeType](auth.CodeType.md) -[auth\_ExportedAuthorization](auth_ExportedAuthorization.md) +[auth.ExportedAuthorization](auth.ExportedAuthorization.md) -[auth\_PasswordRecovery](auth_PasswordRecovery.md) +[auth.PasswordRecovery](auth.PasswordRecovery.md) -[auth\_SentCode](auth_SentCode.md) +[auth.SentCode](auth.SentCode.md) -[auth\_SentCodeType](auth_SentCodeType.md) +[auth.SentCodeType](auth.SentCodeType.md) -[channels\_ChannelParticipant](channels_ChannelParticipant.md) +[channels.ChannelParticipant](channels.ChannelParticipant.md) -[channels\_ChannelParticipants](channels_ChannelParticipants.md) +[channels.ChannelParticipants](channels.ChannelParticipants.md) -[contacts\_Blocked](contacts_Blocked.md) +[contacts.Blocked](contacts.Blocked.md) -[contacts\_Contacts](contacts_Contacts.md) +[contacts.Contacts](contacts.Contacts.md) -[contacts\_Found](contacts_Found.md) +[contacts.Found](contacts.Found.md) -[contacts\_ImportedContacts](contacts_ImportedContacts.md) +[contacts.ImportedContacts](contacts.ImportedContacts.md) -[contacts\_Link](contacts_Link.md) +[contacts.Link](contacts.Link.md) -[contacts\_ResolvedPeer](contacts_ResolvedPeer.md) +[contacts.ResolvedPeer](contacts.ResolvedPeer.md) -[contacts\_TopPeers](contacts_TopPeers.md) +[contacts.TopPeers](contacts.TopPeers.md) -[help\_AppChangelog](help_AppChangelog.md) +[help.AppChangelog](help.AppChangelog.md) -[help\_AppUpdate](help_AppUpdate.md) +[help.AppUpdate](help.AppUpdate.md) -[help\_InviteText](help_InviteText.md) +[help.InviteText](help.InviteText.md) -[help\_Support](help_Support.md) +[help.Support](help.Support.md) -[help\_TermsOfService](help_TermsOfService.md) +[help.TermsOfService](help.TermsOfService.md) [int](int.md) [long](long.md) -[messages\_AffectedHistory](messages_AffectedHistory.md) +[messages.AffectedHistory](messages.AffectedHistory.md) -[messages\_AffectedMessages](messages_AffectedMessages.md) +[messages.AffectedMessages](messages.AffectedMessages.md) -[messages\_AllStickers](messages_AllStickers.md) +[messages.AllStickers](messages.AllStickers.md) -[messages\_ArchivedStickers](messages_ArchivedStickers.md) +[messages.ArchivedStickers](messages.ArchivedStickers.md) -[messages\_BotCallbackAnswer](messages_BotCallbackAnswer.md) +[messages.BotCallbackAnswer](messages.BotCallbackAnswer.md) -[messages\_BotResults](messages_BotResults.md) +[messages.BotResults](messages.BotResults.md) -[messages\_ChatFull](messages_ChatFull.md) +[messages.ChatFull](messages.ChatFull.md) -[messages\_Chats](messages_Chats.md) +[messages.Chats](messages.Chats.md) -[messages\_DhConfig](messages_DhConfig.md) +[messages.DhConfig](messages.DhConfig.md) -[messages\_Dialogs](messages_Dialogs.md) +[messages.Dialogs](messages.Dialogs.md) -[messages\_FeaturedStickers](messages_FeaturedStickers.md) +[messages.FeaturedStickers](messages.FeaturedStickers.md) -[messages\_FoundGifs](messages_FoundGifs.md) +[messages.FoundGifs](messages.FoundGifs.md) -[messages\_HighScores](messages_HighScores.md) +[messages.HighScores](messages.HighScores.md) -[messages\_MessageEditData](messages_MessageEditData.md) +[messages.MessageEditData](messages.MessageEditData.md) -[messages\_Messages](messages_Messages.md) +[messages.Messages](messages.Messages.md) -[messages\_PeerDialogs](messages_PeerDialogs.md) +[messages.PeerDialogs](messages.PeerDialogs.md) -[messages\_RecentStickers](messages_RecentStickers.md) +[messages.RecentStickers](messages.RecentStickers.md) -[messages\_SavedGifs](messages_SavedGifs.md) +[messages.SavedGifs](messages.SavedGifs.md) -[messages\_SentEncryptedMessage](messages_SentEncryptedMessage.md) +[messages.SentEncryptedMessage](messages.SentEncryptedMessage.md) -[messages\_StickerSet](messages_StickerSet.md) +[messages.StickerSet](messages.StickerSet.md) -[messages\_StickerSetInstallResult](messages_StickerSetInstallResult.md) +[messages.StickerSetInstallResult](messages.StickerSetInstallResult.md) -[messages\_Stickers](messages_Stickers.md) +[messages.Stickers](messages.Stickers.md) -[photos\_Photo](photos_Photo.md) +[photos.Photo](photos.Photo.md) -[photos\_Photos](photos_Photos.md) +[photos.Photos](photos.Photos.md) -[storage\_FileType](storage_FileType.md) +[storage.FileType](storage.FileType.md) -[updates\_ChannelDifference](updates_ChannelDifference.md) +[updates.ChannelDifference](updates.ChannelDifference.md) -[updates\_Difference](updates_Difference.md) +[updates.Difference](updates.Difference.md) -[updates\_State](updates_State.md) +[updates.State](updates.State.md) -[upload\_File](upload_File.md) +[upload.File](upload.File.md) diff --git a/old_docs/API_docs_v57/types/ReceivedNotifyMessage.md b/old_docs/API_docs_v57/types/ReceivedNotifyMessage.md index c7fc3b8c..416aa275 100644 --- a/old_docs/API_docs_v57/types/ReceivedNotifyMessage.md +++ b/old_docs/API_docs_v57/types/ReceivedNotifyMessage.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->receivedMessages](../methods/messages_receivedMessages.md) +[$MadelineProto->messages->receivedMessages](../methods/messages.receivedMessages.md) diff --git a/old_docs/API_docs_v57/types/StickerSetCovered.md b/old_docs/API_docs_v57/types/StickerSetCovered.md index ffd1da1f..f57cd117 100644 --- a/old_docs/API_docs_v57/types/StickerSetCovered.md +++ b/old_docs/API_docs_v57/types/StickerSetCovered.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getAttachedStickers](../methods/messages_getAttachedStickers.md) +[$MadelineProto->messages->getAttachedStickers](../methods/messages.getAttachedStickers.md) diff --git a/old_docs/API_docs_v57/types/Updates.md b/old_docs/API_docs_v57/types/Updates.md index 83d3d606..738e2b95 100644 --- a/old_docs/API_docs_v57/types/Updates.md +++ b/old_docs/API_docs_v57/types/Updates.md @@ -28,63 +28,63 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->sendMessage](../methods/messages_sendMessage.md) +[$MadelineProto->messages->sendMessage](../methods/messages.sendMessage.md) -[$MadelineProto->messages->sendMedia](../methods/messages_sendMedia.md) +[$MadelineProto->messages->sendMedia](../methods/messages.sendMedia.md) -[$MadelineProto->messages->forwardMessages](../methods/messages_forwardMessages.md) +[$MadelineProto->messages->forwardMessages](../methods/messages.forwardMessages.md) -[$MadelineProto->messages->editChatTitle](../methods/messages_editChatTitle.md) +[$MadelineProto->messages->editChatTitle](../methods/messages.editChatTitle.md) -[$MadelineProto->messages->editChatPhoto](../methods/messages_editChatPhoto.md) +[$MadelineProto->messages->editChatPhoto](../methods/messages.editChatPhoto.md) -[$MadelineProto->messages->addChatUser](../methods/messages_addChatUser.md) +[$MadelineProto->messages->addChatUser](../methods/messages.addChatUser.md) -[$MadelineProto->messages->deleteChatUser](../methods/messages_deleteChatUser.md) +[$MadelineProto->messages->deleteChatUser](../methods/messages.deleteChatUser.md) -[$MadelineProto->messages->createChat](../methods/messages_createChat.md) +[$MadelineProto->messages->createChat](../methods/messages.createChat.md) -[$MadelineProto->messages->forwardMessage](../methods/messages_forwardMessage.md) +[$MadelineProto->messages->forwardMessage](../methods/messages.forwardMessage.md) -[$MadelineProto->messages->importChatInvite](../methods/messages_importChatInvite.md) +[$MadelineProto->messages->importChatInvite](../methods/messages.importChatInvite.md) -[$MadelineProto->messages->startBot](../methods/messages_startBot.md) +[$MadelineProto->messages->startBot](../methods/messages.startBot.md) -[$MadelineProto->channels->createChannel](../methods/channels_createChannel.md) +[$MadelineProto->channels->createChannel](../methods/channels.createChannel.md) -[$MadelineProto->channels->editAdmin](../methods/channels_editAdmin.md) +[$MadelineProto->channels->editAdmin](../methods/channels.editAdmin.md) -[$MadelineProto->channels->editTitle](../methods/channels_editTitle.md) +[$MadelineProto->channels->editTitle](../methods/channels.editTitle.md) -[$MadelineProto->channels->editPhoto](../methods/channels_editPhoto.md) +[$MadelineProto->channels->editPhoto](../methods/channels.editPhoto.md) -[$MadelineProto->channels->joinChannel](../methods/channels_joinChannel.md) +[$MadelineProto->channels->joinChannel](../methods/channels.joinChannel.md) -[$MadelineProto->channels->leaveChannel](../methods/channels_leaveChannel.md) +[$MadelineProto->channels->leaveChannel](../methods/channels.leaveChannel.md) -[$MadelineProto->channels->inviteToChannel](../methods/channels_inviteToChannel.md) +[$MadelineProto->channels->inviteToChannel](../methods/channels.inviteToChannel.md) -[$MadelineProto->channels->kickFromChannel](../methods/channels_kickFromChannel.md) +[$MadelineProto->channels->kickFromChannel](../methods/channels.kickFromChannel.md) -[$MadelineProto->channels->deleteChannel](../methods/channels_deleteChannel.md) +[$MadelineProto->channels->deleteChannel](../methods/channels.deleteChannel.md) -[$MadelineProto->messages->toggleChatAdmins](../methods/messages_toggleChatAdmins.md) +[$MadelineProto->messages->toggleChatAdmins](../methods/messages.toggleChatAdmins.md) -[$MadelineProto->messages->migrateChat](../methods/messages_migrateChat.md) +[$MadelineProto->messages->migrateChat](../methods/messages.migrateChat.md) -[$MadelineProto->messages->sendInlineBotResult](../methods/messages_sendInlineBotResult.md) +[$MadelineProto->messages->sendInlineBotResult](../methods/messages.sendInlineBotResult.md) -[$MadelineProto->channels->toggleInvites](../methods/channels_toggleInvites.md) +[$MadelineProto->channels->toggleInvites](../methods/channels.toggleInvites.md) -[$MadelineProto->channels->toggleSignatures](../methods/channels_toggleSignatures.md) +[$MadelineProto->channels->toggleSignatures](../methods/channels.toggleSignatures.md) -[$MadelineProto->channels->updatePinnedMessage](../methods/channels_updatePinnedMessage.md) +[$MadelineProto->channels->updatePinnedMessage](../methods/channels.updatePinnedMessage.md) -[$MadelineProto->messages->editMessage](../methods/messages_editMessage.md) +[$MadelineProto->messages->editMessage](../methods/messages.editMessage.md) -[$MadelineProto->messages->getAllDrafts](../methods/messages_getAllDrafts.md) +[$MadelineProto->messages->getAllDrafts](../methods/messages.getAllDrafts.md) -[$MadelineProto->messages->setGameScore](../methods/messages_setGameScore.md) +[$MadelineProto->messages->setGameScore](../methods/messages.setGameScore.md) diff --git a/old_docs/API_docs_v57/types/User.md b/old_docs/API_docs_v57/types/User.md index b145a3f8..30349c87 100644 --- a/old_docs/API_docs_v57/types/User.md +++ b/old_docs/API_docs_v57/types/User.md @@ -42,15 +42,15 @@ A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDia ### Methods that return an object of this type (methods): -[$MadelineProto->account->updateProfile](../methods/account_updateProfile.md) +[$MadelineProto->account->updateProfile](../methods/account.updateProfile.md) -[$MadelineProto->users->getUsers](../methods/users_getUsers.md) +[$MadelineProto->users->getUsers](../methods/users.getUsers.md) -[$MadelineProto->contacts->importCard](../methods/contacts_importCard.md) +[$MadelineProto->contacts->importCard](../methods/contacts.importCard.md) -[$MadelineProto->account->updateUsername](../methods/account_updateUsername.md) +[$MadelineProto->account->updateUsername](../methods/account.updateUsername.md) -[$MadelineProto->account->changePhone](../methods/account_changePhone.md) +[$MadelineProto->account->changePhone](../methods/account.changePhone.md) diff --git a/old_docs/API_docs_v57/types/UserFull.md b/old_docs/API_docs_v57/types/UserFull.md index 79ad30bb..ac50052f 100644 --- a/old_docs/API_docs_v57/types/UserFull.md +++ b/old_docs/API_docs_v57/types/UserFull.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->users->getFullUser](../methods/users_getFullUser.md) +[$MadelineProto->users->getFullUser](../methods/users.getFullUser.md) diff --git a/old_docs/API_docs_v57/types/UserProfilePhoto.md b/old_docs/API_docs_v57/types/UserProfilePhoto.md index e5243a2e..e81e92fd 100644 --- a/old_docs/API_docs_v57/types/UserProfilePhoto.md +++ b/old_docs/API_docs_v57/types/UserProfilePhoto.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->photos->updateProfilePhoto](../methods/photos_updateProfilePhoto.md) +[$MadelineProto->photos->updateProfilePhoto](../methods/photos.updateProfilePhoto.md) diff --git a/old_docs/API_docs_v57/types/WallPaper.md b/old_docs/API_docs_v57/types/WallPaper.md index 8c5ac7cf..45337565 100644 --- a/old_docs/API_docs_v57/types/WallPaper.md +++ b/old_docs/API_docs_v57/types/WallPaper.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->account->getWallPapers](../methods/account_getWallPapers.md) +[$MadelineProto->account->getWallPapers](../methods/account.getWallPapers.md) diff --git a/old_docs/API_docs_v57/types/account.Authorizations.md b/old_docs/API_docs_v57/types/account.Authorizations.md new file mode 100644 index 00000000..f9112038 --- /dev/null +++ b/old_docs/API_docs_v57/types/account.Authorizations.md @@ -0,0 +1,22 @@ +--- +title: account.Authorizations +description: constructors and methods of type account.Authorizations +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.Authorizations +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.authorizations](../constructors/account.authorizations.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getAuthorizations](../methods/account.getAuthorizations.md) + + + diff --git a/old_docs/API_docs_v57/types/account.Password.md b/old_docs/API_docs_v57/types/account.Password.md new file mode 100644 index 00000000..5217ab5e --- /dev/null +++ b/old_docs/API_docs_v57/types/account.Password.md @@ -0,0 +1,24 @@ +--- +title: account.Password +description: constructors and methods of type account.Password +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.Password +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.noPassword](../constructors/account.noPassword.md) + +[account.password](../constructors/account.password.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getPassword](../methods/account.getPassword.md) + + + diff --git a/old_docs/API_docs_v57/types/account.PasswordInputSettings.md b/old_docs/API_docs_v57/types/account.PasswordInputSettings.md new file mode 100644 index 00000000..72e11fdc --- /dev/null +++ b/old_docs/API_docs_v57/types/account.PasswordInputSettings.md @@ -0,0 +1,20 @@ +--- +title: account.PasswordInputSettings +description: constructors and methods of type account.PasswordInputSettings +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.PasswordInputSettings +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.passwordInputSettings](../constructors/account.passwordInputSettings.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v57/types/account.PasswordSettings.md b/old_docs/API_docs_v57/types/account.PasswordSettings.md new file mode 100644 index 00000000..47016832 --- /dev/null +++ b/old_docs/API_docs_v57/types/account.PasswordSettings.md @@ -0,0 +1,22 @@ +--- +title: account.PasswordSettings +description: constructors and methods of type account.PasswordSettings +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.PasswordSettings +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.passwordSettings](../constructors/account.passwordSettings.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getPasswordSettings](../methods/account.getPasswordSettings.md) + + + diff --git a/old_docs/API_docs_v57/types/account.PrivacyRules.md b/old_docs/API_docs_v57/types/account.PrivacyRules.md new file mode 100644 index 00000000..738651ad --- /dev/null +++ b/old_docs/API_docs_v57/types/account.PrivacyRules.md @@ -0,0 +1,24 @@ +--- +title: account.PrivacyRules +description: constructors and methods of type account.PrivacyRules +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.PrivacyRules +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.privacyRules](../constructors/account.privacyRules.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getPrivacy](../methods/account.getPrivacy.md) + +[$MadelineProto->account->setPrivacy](../methods/account.setPrivacy.md) + + + diff --git a/old_docs/API_docs_v57/types/account_Authorizations.md b/old_docs/API_docs_v57/types/account_Authorizations.md deleted file mode 100644 index 4709ddb5..00000000 --- a/old_docs/API_docs_v57/types/account_Authorizations.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_Authorizations -description: constructors and methods of type account_Authorizations -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_Authorizations -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_authorizations](../constructors/account_authorizations.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getAuthorizations](../methods/account_getAuthorizations.md) - - - diff --git a/old_docs/API_docs_v57/types/account_Password.md b/old_docs/API_docs_v57/types/account_Password.md deleted file mode 100644 index 23e05987..00000000 --- a/old_docs/API_docs_v57/types/account_Password.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: account_Password -description: constructors and methods of type account_Password -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_Password -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_noPassword](../constructors/account_noPassword.md) - -[account\_password](../constructors/account_password.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getPassword](../methods/account_getPassword.md) - - - diff --git a/old_docs/API_docs_v57/types/account_PasswordInputSettings.md b/old_docs/API_docs_v57/types/account_PasswordInputSettings.md deleted file mode 100644 index a6455eb8..00000000 --- a/old_docs/API_docs_v57/types/account_PasswordInputSettings.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: account_PasswordInputSettings -description: constructors and methods of type account_PasswordInputSettings -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_PasswordInputSettings -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_passwordInputSettings](../constructors/account_passwordInputSettings.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v57/types/account_PasswordSettings.md b/old_docs/API_docs_v57/types/account_PasswordSettings.md deleted file mode 100644 index 687eb217..00000000 --- a/old_docs/API_docs_v57/types/account_PasswordSettings.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_PasswordSettings -description: constructors and methods of type account_PasswordSettings -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_PasswordSettings -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_passwordSettings](../constructors/account_passwordSettings.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getPasswordSettings](../methods/account_getPasswordSettings.md) - - - diff --git a/old_docs/API_docs_v57/types/account_PrivacyRules.md b/old_docs/API_docs_v57/types/account_PrivacyRules.md deleted file mode 100644 index 40b00077..00000000 --- a/old_docs/API_docs_v57/types/account_PrivacyRules.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: account_PrivacyRules -description: constructors and methods of type account_PrivacyRules -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_PrivacyRules -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_privacyRules](../constructors/account_privacyRules.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getPrivacy](../methods/account_getPrivacy.md) - -[$MadelineProto->account->setPrivacy](../methods/account_setPrivacy.md) - - - diff --git a/old_docs/API_docs_v57/types/auth.Authorization.md b/old_docs/API_docs_v57/types/auth.Authorization.md new file mode 100644 index 00000000..adcfa7d3 --- /dev/null +++ b/old_docs/API_docs_v57/types/auth.Authorization.md @@ -0,0 +1,32 @@ +--- +title: auth.Authorization +description: constructors and methods of type auth.Authorization +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.Authorization +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.authorization](../constructors/auth.authorization.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->signUp](../methods/auth.signUp.md) + +[$MadelineProto->auth->signIn](../methods/auth.signIn.md) + +[$MadelineProto->auth->importAuthorization](../methods/auth.importAuthorization.md) + +[$MadelineProto->auth->importBotAuthorization](../methods/auth.importBotAuthorization.md) + +[$MadelineProto->auth->checkPassword](../methods/auth.checkPassword.md) + +[$MadelineProto->auth->recoverPassword](../methods/auth.recoverPassword.md) + + + diff --git a/old_docs/API_docs_v57/types/auth.CheckedPhone.md b/old_docs/API_docs_v57/types/auth.CheckedPhone.md new file mode 100644 index 00000000..94af3915 --- /dev/null +++ b/old_docs/API_docs_v57/types/auth.CheckedPhone.md @@ -0,0 +1,22 @@ +--- +title: auth.CheckedPhone +description: constructors and methods of type auth.CheckedPhone +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.CheckedPhone +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.checkedPhone](../constructors/auth.checkedPhone.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->checkPhone](../methods/auth.checkPhone.md) + + + diff --git a/old_docs/API_docs_v57/types/auth.CodeType.md b/old_docs/API_docs_v57/types/auth.CodeType.md new file mode 100644 index 00000000..8d2b308d --- /dev/null +++ b/old_docs/API_docs_v57/types/auth.CodeType.md @@ -0,0 +1,24 @@ +--- +title: auth.CodeType +description: constructors and methods of type auth.CodeType +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.CodeType +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.codeTypeSms](../constructors/auth.codeTypeSms.md) + +[auth.codeTypeCall](../constructors/auth.codeTypeCall.md) + +[auth.codeTypeFlashCall](../constructors/auth.codeTypeFlashCall.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v57/types/auth.ExportedAuthorization.md b/old_docs/API_docs_v57/types/auth.ExportedAuthorization.md new file mode 100644 index 00000000..ccb38d60 --- /dev/null +++ b/old_docs/API_docs_v57/types/auth.ExportedAuthorization.md @@ -0,0 +1,22 @@ +--- +title: auth.ExportedAuthorization +description: constructors and methods of type auth.ExportedAuthorization +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.ExportedAuthorization +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.exportedAuthorization](../constructors/auth.exportedAuthorization.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->exportAuthorization](../methods/auth.exportAuthorization.md) + + + diff --git a/old_docs/API_docs_v57/types/auth.PasswordRecovery.md b/old_docs/API_docs_v57/types/auth.PasswordRecovery.md new file mode 100644 index 00000000..c1c18992 --- /dev/null +++ b/old_docs/API_docs_v57/types/auth.PasswordRecovery.md @@ -0,0 +1,22 @@ +--- +title: auth.PasswordRecovery +description: constructors and methods of type auth.PasswordRecovery +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.PasswordRecovery +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.passwordRecovery](../constructors/auth.passwordRecovery.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->requestPasswordRecovery](../methods/auth.requestPasswordRecovery.md) + + + diff --git a/old_docs/API_docs_v57/types/auth.SentCode.md b/old_docs/API_docs_v57/types/auth.SentCode.md new file mode 100644 index 00000000..4da7440e --- /dev/null +++ b/old_docs/API_docs_v57/types/auth.SentCode.md @@ -0,0 +1,28 @@ +--- +title: auth.SentCode +description: constructors and methods of type auth.SentCode +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.SentCode +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.sentCode](../constructors/auth.sentCode.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->sendCode](../methods/auth.sendCode.md) + +[$MadelineProto->account->sendChangePhoneCode](../methods/account.sendChangePhoneCode.md) + +[$MadelineProto->auth->resendCode](../methods/auth.resendCode.md) + +[$MadelineProto->account->sendConfirmPhoneCode](../methods/account.sendConfirmPhoneCode.md) + + + diff --git a/old_docs/API_docs_v57/types/auth.SentCodeType.md b/old_docs/API_docs_v57/types/auth.SentCodeType.md new file mode 100644 index 00000000..7c7c534e --- /dev/null +++ b/old_docs/API_docs_v57/types/auth.SentCodeType.md @@ -0,0 +1,26 @@ +--- +title: auth.SentCodeType +description: constructors and methods of type auth.SentCodeType +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.SentCodeType +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.sentCodeTypeApp](../constructors/auth.sentCodeTypeApp.md) + +[auth.sentCodeTypeSms](../constructors/auth.sentCodeTypeSms.md) + +[auth.sentCodeTypeCall](../constructors/auth.sentCodeTypeCall.md) + +[auth.sentCodeTypeFlashCall](../constructors/auth.sentCodeTypeFlashCall.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v57/types/auth_Authorization.md b/old_docs/API_docs_v57/types/auth_Authorization.md deleted file mode 100644 index 5a34fc2d..00000000 --- a/old_docs/API_docs_v57/types/auth_Authorization.md +++ /dev/null @@ -1,32 +0,0 @@ ---- -title: auth_Authorization -description: constructors and methods of type auth_Authorization -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_Authorization -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_authorization](../constructors/auth_authorization.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->signUp](../methods/auth_signUp.md) - -[$MadelineProto->auth->signIn](../methods/auth_signIn.md) - -[$MadelineProto->auth->importAuthorization](../methods/auth_importAuthorization.md) - -[$MadelineProto->auth->importBotAuthorization](../methods/auth_importBotAuthorization.md) - -[$MadelineProto->auth->checkPassword](../methods/auth_checkPassword.md) - -[$MadelineProto->auth->recoverPassword](../methods/auth_recoverPassword.md) - - - diff --git a/old_docs/API_docs_v57/types/auth_CheckedPhone.md b/old_docs/API_docs_v57/types/auth_CheckedPhone.md deleted file mode 100644 index e9b0def4..00000000 --- a/old_docs/API_docs_v57/types/auth_CheckedPhone.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: auth_CheckedPhone -description: constructors and methods of type auth_CheckedPhone -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_CheckedPhone -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_checkedPhone](../constructors/auth_checkedPhone.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->checkPhone](../methods/auth_checkPhone.md) - - - diff --git a/old_docs/API_docs_v57/types/auth_CodeType.md b/old_docs/API_docs_v57/types/auth_CodeType.md deleted file mode 100644 index 3cd9a7b7..00000000 --- a/old_docs/API_docs_v57/types/auth_CodeType.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: auth_CodeType -description: constructors and methods of type auth_CodeType -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_CodeType -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_codeTypeSms](../constructors/auth_codeTypeSms.md) - -[auth\_codeTypeCall](../constructors/auth_codeTypeCall.md) - -[auth\_codeTypeFlashCall](../constructors/auth_codeTypeFlashCall.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v57/types/auth_ExportedAuthorization.md b/old_docs/API_docs_v57/types/auth_ExportedAuthorization.md deleted file mode 100644 index 69e5c42e..00000000 --- a/old_docs/API_docs_v57/types/auth_ExportedAuthorization.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: auth_ExportedAuthorization -description: constructors and methods of type auth_ExportedAuthorization -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_ExportedAuthorization -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_exportedAuthorization](../constructors/auth_exportedAuthorization.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->exportAuthorization](../methods/auth_exportAuthorization.md) - - - diff --git a/old_docs/API_docs_v57/types/auth_PasswordRecovery.md b/old_docs/API_docs_v57/types/auth_PasswordRecovery.md deleted file mode 100644 index 4962bf42..00000000 --- a/old_docs/API_docs_v57/types/auth_PasswordRecovery.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: auth_PasswordRecovery -description: constructors and methods of type auth_PasswordRecovery -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_PasswordRecovery -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_passwordRecovery](../constructors/auth_passwordRecovery.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->requestPasswordRecovery](../methods/auth_requestPasswordRecovery.md) - - - diff --git a/old_docs/API_docs_v57/types/auth_SentCode.md b/old_docs/API_docs_v57/types/auth_SentCode.md deleted file mode 100644 index a9f44215..00000000 --- a/old_docs/API_docs_v57/types/auth_SentCode.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: auth_SentCode -description: constructors and methods of type auth_SentCode -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_SentCode -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_sentCode](../constructors/auth_sentCode.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->sendCode](../methods/auth_sendCode.md) - -[$MadelineProto->account->sendChangePhoneCode](../methods/account_sendChangePhoneCode.md) - -[$MadelineProto->auth->resendCode](../methods/auth_resendCode.md) - -[$MadelineProto->account->sendConfirmPhoneCode](../methods/account_sendConfirmPhoneCode.md) - - - diff --git a/old_docs/API_docs_v57/types/auth_SentCodeType.md b/old_docs/API_docs_v57/types/auth_SentCodeType.md deleted file mode 100644 index 8dfcb93b..00000000 --- a/old_docs/API_docs_v57/types/auth_SentCodeType.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: auth_SentCodeType -description: constructors and methods of type auth_SentCodeType -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_SentCodeType -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_sentCodeTypeApp](../constructors/auth_sentCodeTypeApp.md) - -[auth\_sentCodeTypeSms](../constructors/auth_sentCodeTypeSms.md) - -[auth\_sentCodeTypeCall](../constructors/auth_sentCodeTypeCall.md) - -[auth\_sentCodeTypeFlashCall](../constructors/auth_sentCodeTypeFlashCall.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v57/types/channels.ChannelParticipant.md b/old_docs/API_docs_v57/types/channels.ChannelParticipant.md new file mode 100644 index 00000000..8dc7f7e6 --- /dev/null +++ b/old_docs/API_docs_v57/types/channels.ChannelParticipant.md @@ -0,0 +1,22 @@ +--- +title: channels.ChannelParticipant +description: constructors and methods of type channels.ChannelParticipant +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: channels.ChannelParticipant +[Back to types index](index.md) + + + +### Possible values (constructors): + +[channels.channelParticipant](../constructors/channels.channelParticipant.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->channels->getParticipant](../methods/channels.getParticipant.md) + + + diff --git a/old_docs/API_docs_v57/types/channels.ChannelParticipants.md b/old_docs/API_docs_v57/types/channels.ChannelParticipants.md new file mode 100644 index 00000000..996ab6a6 --- /dev/null +++ b/old_docs/API_docs_v57/types/channels.ChannelParticipants.md @@ -0,0 +1,22 @@ +--- +title: channels.ChannelParticipants +description: constructors and methods of type channels.ChannelParticipants +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: channels.ChannelParticipants +[Back to types index](index.md) + + + +### Possible values (constructors): + +[channels.channelParticipants](../constructors/channels.channelParticipants.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->channels->getParticipants](../methods/channels.getParticipants.md) + + + diff --git a/old_docs/API_docs_v57/types/channels_ChannelParticipant.md b/old_docs/API_docs_v57/types/channels_ChannelParticipant.md deleted file mode 100644 index 3d4667c3..00000000 --- a/old_docs/API_docs_v57/types/channels_ChannelParticipant.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: channels_ChannelParticipant -description: constructors and methods of type channels_ChannelParticipant -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: channels\_ChannelParticipant -[Back to types index](index.md) - - - -### Possible values (constructors): - -[channels\_channelParticipant](../constructors/channels_channelParticipant.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->channels->getParticipant](../methods/channels_getParticipant.md) - - - diff --git a/old_docs/API_docs_v57/types/channels_ChannelParticipants.md b/old_docs/API_docs_v57/types/channels_ChannelParticipants.md deleted file mode 100644 index 0500c2cb..00000000 --- a/old_docs/API_docs_v57/types/channels_ChannelParticipants.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: channels_ChannelParticipants -description: constructors and methods of type channels_ChannelParticipants -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: channels\_ChannelParticipants -[Back to types index](index.md) - - - -### Possible values (constructors): - -[channels\_channelParticipants](../constructors/channels_channelParticipants.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->channels->getParticipants](../methods/channels_getParticipants.md) - - - diff --git a/old_docs/API_docs_v57/types/contacts.Blocked.md b/old_docs/API_docs_v57/types/contacts.Blocked.md new file mode 100644 index 00000000..cb2af80f --- /dev/null +++ b/old_docs/API_docs_v57/types/contacts.Blocked.md @@ -0,0 +1,24 @@ +--- +title: contacts.Blocked +description: constructors and methods of type contacts.Blocked +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Blocked +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.blocked](../constructors/contacts.blocked.md) + +[contacts.blockedSlice](../constructors/contacts.blockedSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getBlocked](../methods/contacts.getBlocked.md) + + + diff --git a/old_docs/API_docs_v57/types/contacts.Contacts.md b/old_docs/API_docs_v57/types/contacts.Contacts.md new file mode 100644 index 00000000..5f695d8e --- /dev/null +++ b/old_docs/API_docs_v57/types/contacts.Contacts.md @@ -0,0 +1,24 @@ +--- +title: contacts.Contacts +description: constructors and methods of type contacts.Contacts +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Contacts +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.contactsNotModified](../constructors/contacts.contactsNotModified.md) + +[contacts.contacts](../constructors/contacts.contacts.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getContacts](../methods/contacts.getContacts.md) + + + diff --git a/old_docs/API_docs_v57/types/contacts.Found.md b/old_docs/API_docs_v57/types/contacts.Found.md new file mode 100644 index 00000000..7df98927 --- /dev/null +++ b/old_docs/API_docs_v57/types/contacts.Found.md @@ -0,0 +1,22 @@ +--- +title: contacts.Found +description: constructors and methods of type contacts.Found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Found +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.found](../constructors/contacts.found.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->search](../methods/contacts.search.md) + + + diff --git a/old_docs/API_docs_v57/types/contacts.ImportedContacts.md b/old_docs/API_docs_v57/types/contacts.ImportedContacts.md new file mode 100644 index 00000000..16795bab --- /dev/null +++ b/old_docs/API_docs_v57/types/contacts.ImportedContacts.md @@ -0,0 +1,22 @@ +--- +title: contacts.ImportedContacts +description: constructors and methods of type contacts.ImportedContacts +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.ImportedContacts +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.importedContacts](../constructors/contacts.importedContacts.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->importContacts](../methods/contacts.importContacts.md) + + + diff --git a/old_docs/API_docs_v57/types/contacts.Link.md b/old_docs/API_docs_v57/types/contacts.Link.md new file mode 100644 index 00000000..eb9da683 --- /dev/null +++ b/old_docs/API_docs_v57/types/contacts.Link.md @@ -0,0 +1,22 @@ +--- +title: contacts.Link +description: constructors and methods of type contacts.Link +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Link +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.link](../constructors/contacts.link.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->deleteContact](../methods/contacts.deleteContact.md) + + + diff --git a/old_docs/API_docs_v57/types/contacts.ResolvedPeer.md b/old_docs/API_docs_v57/types/contacts.ResolvedPeer.md new file mode 100644 index 00000000..13630d54 --- /dev/null +++ b/old_docs/API_docs_v57/types/contacts.ResolvedPeer.md @@ -0,0 +1,22 @@ +--- +title: contacts.ResolvedPeer +description: constructors and methods of type contacts.ResolvedPeer +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.ResolvedPeer +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.resolvedPeer](../constructors/contacts.resolvedPeer.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->resolveUsername](../methods/contacts.resolveUsername.md) + + + diff --git a/old_docs/API_docs_v57/types/contacts.TopPeers.md b/old_docs/API_docs_v57/types/contacts.TopPeers.md new file mode 100644 index 00000000..b8107616 --- /dev/null +++ b/old_docs/API_docs_v57/types/contacts.TopPeers.md @@ -0,0 +1,24 @@ +--- +title: contacts.TopPeers +description: constructors and methods of type contacts.TopPeers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.TopPeers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.topPeersNotModified](../constructors/contacts.topPeersNotModified.md) + +[contacts.topPeers](../constructors/contacts.topPeers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getTopPeers](../methods/contacts.getTopPeers.md) + + + diff --git a/old_docs/API_docs_v57/types/contacts_Blocked.md b/old_docs/API_docs_v57/types/contacts_Blocked.md deleted file mode 100644 index 3e1f02eb..00000000 --- a/old_docs/API_docs_v57/types/contacts_Blocked.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: contacts_Blocked -description: constructors and methods of type contacts_Blocked -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Blocked -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_blocked](../constructors/contacts_blocked.md) - -[contacts\_blockedSlice](../constructors/contacts_blockedSlice.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->getBlocked](../methods/contacts_getBlocked.md) - - - diff --git a/old_docs/API_docs_v57/types/contacts_Contacts.md b/old_docs/API_docs_v57/types/contacts_Contacts.md deleted file mode 100644 index 5d6c9506..00000000 --- a/old_docs/API_docs_v57/types/contacts_Contacts.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: contacts_Contacts -description: constructors and methods of type contacts_Contacts -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Contacts -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_contactsNotModified](../constructors/contacts_contactsNotModified.md) - -[contacts\_contacts](../constructors/contacts_contacts.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->getContacts](../methods/contacts_getContacts.md) - - - diff --git a/old_docs/API_docs_v57/types/contacts_Found.md b/old_docs/API_docs_v57/types/contacts_Found.md deleted file mode 100644 index 806101cf..00000000 --- a/old_docs/API_docs_v57/types/contacts_Found.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_Found -description: constructors and methods of type contacts_Found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Found -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_found](../constructors/contacts_found.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->search](../methods/contacts_search.md) - - - diff --git a/old_docs/API_docs_v57/types/contacts_ImportedContacts.md b/old_docs/API_docs_v57/types/contacts_ImportedContacts.md deleted file mode 100644 index faf7e615..00000000 --- a/old_docs/API_docs_v57/types/contacts_ImportedContacts.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_ImportedContacts -description: constructors and methods of type contacts_ImportedContacts -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_ImportedContacts -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_importedContacts](../constructors/contacts_importedContacts.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->importContacts](../methods/contacts_importContacts.md) - - - diff --git a/old_docs/API_docs_v57/types/contacts_Link.md b/old_docs/API_docs_v57/types/contacts_Link.md deleted file mode 100644 index 01556606..00000000 --- a/old_docs/API_docs_v57/types/contacts_Link.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_Link -description: constructors and methods of type contacts_Link -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Link -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_link](../constructors/contacts_link.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->deleteContact](../methods/contacts_deleteContact.md) - - - diff --git a/old_docs/API_docs_v57/types/contacts_ResolvedPeer.md b/old_docs/API_docs_v57/types/contacts_ResolvedPeer.md deleted file mode 100644 index cf107f7c..00000000 --- a/old_docs/API_docs_v57/types/contacts_ResolvedPeer.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_ResolvedPeer -description: constructors and methods of type contacts_ResolvedPeer -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_ResolvedPeer -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_resolvedPeer](../constructors/contacts_resolvedPeer.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->resolveUsername](../methods/contacts_resolveUsername.md) - - - diff --git a/old_docs/API_docs_v57/types/contacts_TopPeers.md b/old_docs/API_docs_v57/types/contacts_TopPeers.md deleted file mode 100644 index fe4255c7..00000000 --- a/old_docs/API_docs_v57/types/contacts_TopPeers.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: contacts_TopPeers -description: constructors and methods of type contacts_TopPeers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_TopPeers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_topPeersNotModified](../constructors/contacts_topPeersNotModified.md) - -[contacts\_topPeers](../constructors/contacts_topPeers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->getTopPeers](../methods/contacts_getTopPeers.md) - - - diff --git a/old_docs/API_docs_v57/types/help.AppChangelog.md b/old_docs/API_docs_v57/types/help.AppChangelog.md new file mode 100644 index 00000000..71584fdc --- /dev/null +++ b/old_docs/API_docs_v57/types/help.AppChangelog.md @@ -0,0 +1,24 @@ +--- +title: help.AppChangelog +description: constructors and methods of type help.AppChangelog +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.AppChangelog +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.appChangelogEmpty](../constructors/help.appChangelogEmpty.md) + +[help.appChangelog](../constructors/help.appChangelog.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getAppChangelog](../methods/help.getAppChangelog.md) + + + diff --git a/old_docs/API_docs_v57/types/help.AppUpdate.md b/old_docs/API_docs_v57/types/help.AppUpdate.md new file mode 100644 index 00000000..285ec2b7 --- /dev/null +++ b/old_docs/API_docs_v57/types/help.AppUpdate.md @@ -0,0 +1,24 @@ +--- +title: help.AppUpdate +description: constructors and methods of type help.AppUpdate +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.AppUpdate +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.appUpdate](../constructors/help.appUpdate.md) + +[help.noAppUpdate](../constructors/help.noAppUpdate.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getAppUpdate](../methods/help.getAppUpdate.md) + + + diff --git a/old_docs/API_docs_v57/types/help.InviteText.md b/old_docs/API_docs_v57/types/help.InviteText.md new file mode 100644 index 00000000..43293f46 --- /dev/null +++ b/old_docs/API_docs_v57/types/help.InviteText.md @@ -0,0 +1,22 @@ +--- +title: help.InviteText +description: constructors and methods of type help.InviteText +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.InviteText +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.inviteText](../constructors/help.inviteText.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getInviteText](../methods/help.getInviteText.md) + + + diff --git a/old_docs/API_docs_v57/types/help.Support.md b/old_docs/API_docs_v57/types/help.Support.md new file mode 100644 index 00000000..42c20483 --- /dev/null +++ b/old_docs/API_docs_v57/types/help.Support.md @@ -0,0 +1,22 @@ +--- +title: help.Support +description: constructors and methods of type help.Support +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.Support +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.support](../constructors/help.support.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getSupport](../methods/help.getSupport.md) + + + diff --git a/old_docs/API_docs_v57/types/help.TermsOfService.md b/old_docs/API_docs_v57/types/help.TermsOfService.md new file mode 100644 index 00000000..6c29d2e6 --- /dev/null +++ b/old_docs/API_docs_v57/types/help.TermsOfService.md @@ -0,0 +1,22 @@ +--- +title: help.TermsOfService +description: constructors and methods of type help.TermsOfService +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.TermsOfService +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.termsOfService](../constructors/help.termsOfService.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getTermsOfService](../methods/help.getTermsOfService.md) + + + diff --git a/old_docs/API_docs_v57/types/help_AppChangelog.md b/old_docs/API_docs_v57/types/help_AppChangelog.md deleted file mode 100644 index 350cb644..00000000 --- a/old_docs/API_docs_v57/types/help_AppChangelog.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: help_AppChangelog -description: constructors and methods of type help_AppChangelog -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_AppChangelog -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_appChangelogEmpty](../constructors/help_appChangelogEmpty.md) - -[help\_appChangelog](../constructors/help_appChangelog.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getAppChangelog](../methods/help_getAppChangelog.md) - - - diff --git a/old_docs/API_docs_v57/types/help_AppUpdate.md b/old_docs/API_docs_v57/types/help_AppUpdate.md deleted file mode 100644 index 1f296a70..00000000 --- a/old_docs/API_docs_v57/types/help_AppUpdate.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: help_AppUpdate -description: constructors and methods of type help_AppUpdate -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_AppUpdate -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_appUpdate](../constructors/help_appUpdate.md) - -[help\_noAppUpdate](../constructors/help_noAppUpdate.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getAppUpdate](../methods/help_getAppUpdate.md) - - - diff --git a/old_docs/API_docs_v57/types/help_InviteText.md b/old_docs/API_docs_v57/types/help_InviteText.md deleted file mode 100644 index 018d35bf..00000000 --- a/old_docs/API_docs_v57/types/help_InviteText.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: help_InviteText -description: constructors and methods of type help_InviteText -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_InviteText -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_inviteText](../constructors/help_inviteText.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getInviteText](../methods/help_getInviteText.md) - - - diff --git a/old_docs/API_docs_v57/types/help_Support.md b/old_docs/API_docs_v57/types/help_Support.md deleted file mode 100644 index 26de447b..00000000 --- a/old_docs/API_docs_v57/types/help_Support.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: help_Support -description: constructors and methods of type help_Support -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_Support -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_support](../constructors/help_support.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getSupport](../methods/help_getSupport.md) - - - diff --git a/old_docs/API_docs_v57/types/help_TermsOfService.md b/old_docs/API_docs_v57/types/help_TermsOfService.md deleted file mode 100644 index 84a05df3..00000000 --- a/old_docs/API_docs_v57/types/help_TermsOfService.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: help_TermsOfService -description: constructors and methods of type help_TermsOfService -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_TermsOfService -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_termsOfService](../constructors/help_termsOfService.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getTermsOfService](../methods/help_getTermsOfService.md) - - - diff --git a/old_docs/API_docs_v57/types/messages.AffectedHistory.md b/old_docs/API_docs_v57/types/messages.AffectedHistory.md new file mode 100644 index 00000000..f0411b4d --- /dev/null +++ b/old_docs/API_docs_v57/types/messages.AffectedHistory.md @@ -0,0 +1,24 @@ +--- +title: messages.AffectedHistory +description: constructors and methods of type messages.AffectedHistory +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.AffectedHistory +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.affectedHistory](../constructors/messages.affectedHistory.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->deleteHistory](../methods/messages.deleteHistory.md) + +[$MadelineProto->channels->deleteUserHistory](../methods/channels.deleteUserHistory.md) + + + diff --git a/old_docs/API_docs_v57/types/messages.AffectedMessages.md b/old_docs/API_docs_v57/types/messages.AffectedMessages.md new file mode 100644 index 00000000..a9159de3 --- /dev/null +++ b/old_docs/API_docs_v57/types/messages.AffectedMessages.md @@ -0,0 +1,28 @@ +--- +title: messages.AffectedMessages +description: constructors and methods of type messages.AffectedMessages +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.AffectedMessages +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.affectedMessages](../constructors/messages.affectedMessages.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->readHistory](../methods/messages.readHistory.md) + +[$MadelineProto->messages->deleteMessages](../methods/messages.deleteMessages.md) + +[$MadelineProto->messages->readMessageContents](../methods/messages.readMessageContents.md) + +[$MadelineProto->channels->deleteMessages](../methods/channels.deleteMessages.md) + + + diff --git a/old_docs/API_docs_v57/types/messages.AllStickers.md b/old_docs/API_docs_v57/types/messages.AllStickers.md new file mode 100644 index 00000000..fd8565de --- /dev/null +++ b/old_docs/API_docs_v57/types/messages.AllStickers.md @@ -0,0 +1,26 @@ +--- +title: messages.AllStickers +description: constructors and methods of type messages.AllStickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.AllStickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.allStickersNotModified](../constructors/messages.allStickersNotModified.md) + +[messages.allStickers](../constructors/messages.allStickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getAllStickers](../methods/messages.getAllStickers.md) + +[$MadelineProto->messages->getMaskStickers](../methods/messages.getMaskStickers.md) + + + diff --git a/old_docs/API_docs_v57/types/messages.ArchivedStickers.md b/old_docs/API_docs_v57/types/messages.ArchivedStickers.md new file mode 100644 index 00000000..3e017c5d --- /dev/null +++ b/old_docs/API_docs_v57/types/messages.ArchivedStickers.md @@ -0,0 +1,22 @@ +--- +title: messages.ArchivedStickers +description: constructors and methods of type messages.ArchivedStickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.ArchivedStickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.archivedStickers](../constructors/messages.archivedStickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getArchivedStickers](../methods/messages.getArchivedStickers.md) + + + diff --git a/old_docs/API_docs_v57/types/messages.BotCallbackAnswer.md b/old_docs/API_docs_v57/types/messages.BotCallbackAnswer.md new file mode 100644 index 00000000..ef30fbfb --- /dev/null +++ b/old_docs/API_docs_v57/types/messages.BotCallbackAnswer.md @@ -0,0 +1,22 @@ +--- +title: messages.BotCallbackAnswer +description: constructors and methods of type messages.BotCallbackAnswer +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.BotCallbackAnswer +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.botCallbackAnswer](../constructors/messages.botCallbackAnswer.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getBotCallbackAnswer](../methods/messages.getBotCallbackAnswer.md) + + + diff --git a/old_docs/API_docs_v57/types/messages.BotResults.md b/old_docs/API_docs_v57/types/messages.BotResults.md new file mode 100644 index 00000000..76ee2b99 --- /dev/null +++ b/old_docs/API_docs_v57/types/messages.BotResults.md @@ -0,0 +1,22 @@ +--- +title: messages.BotResults +description: constructors and methods of type messages.BotResults +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.BotResults +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.botResults](../constructors/messages.botResults.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getInlineBotResults](../methods/messages.getInlineBotResults.md) + + + diff --git a/old_docs/API_docs_v57/types/messages.ChatFull.md b/old_docs/API_docs_v57/types/messages.ChatFull.md new file mode 100644 index 00000000..3ad38748 --- /dev/null +++ b/old_docs/API_docs_v57/types/messages.ChatFull.md @@ -0,0 +1,24 @@ +--- +title: messages.ChatFull +description: constructors and methods of type messages.ChatFull +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.ChatFull +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.chatFull](../constructors/messages.chatFull.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getFullChat](../methods/messages.getFullChat.md) + +[$MadelineProto->channels->getFullChannel](../methods/channels.getFullChannel.md) + + + diff --git a/old_docs/API_docs_v57/types/messages.Chats.md b/old_docs/API_docs_v57/types/messages.Chats.md new file mode 100644 index 00000000..f749f9cb --- /dev/null +++ b/old_docs/API_docs_v57/types/messages.Chats.md @@ -0,0 +1,26 @@ +--- +title: messages.Chats +description: constructors and methods of type messages.Chats +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Chats +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.chats](../constructors/messages.chats.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getChats](../methods/messages.getChats.md) + +[$MadelineProto->channels->getChannels](../methods/channels.getChannels.md) + +[$MadelineProto->channels->getAdminedPublicChannels](../methods/channels.getAdminedPublicChannels.md) + + + diff --git a/old_docs/API_docs_v57/types/messages.DhConfig.md b/old_docs/API_docs_v57/types/messages.DhConfig.md new file mode 100644 index 00000000..77188ab7 --- /dev/null +++ b/old_docs/API_docs_v57/types/messages.DhConfig.md @@ -0,0 +1,24 @@ +--- +title: messages.DhConfig +description: constructors and methods of type messages.DhConfig +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.DhConfig +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.dhConfigNotModified](../constructors/messages.dhConfigNotModified.md) + +[messages.dhConfig](../constructors/messages.dhConfig.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getDhConfig](../methods/messages.getDhConfig.md) + + + diff --git a/old_docs/API_docs_v57/types/messages.Dialogs.md b/old_docs/API_docs_v57/types/messages.Dialogs.md new file mode 100644 index 00000000..1a57d535 --- /dev/null +++ b/old_docs/API_docs_v57/types/messages.Dialogs.md @@ -0,0 +1,24 @@ +--- +title: messages.Dialogs +description: constructors and methods of type messages.Dialogs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Dialogs +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.dialogs](../constructors/messages.dialogs.md) + +[messages.dialogsSlice](../constructors/messages.dialogsSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getDialogs](../methods/messages.getDialogs.md) + + + diff --git a/old_docs/API_docs_v57/types/messages.FeaturedStickers.md b/old_docs/API_docs_v57/types/messages.FeaturedStickers.md new file mode 100644 index 00000000..06ed87bb --- /dev/null +++ b/old_docs/API_docs_v57/types/messages.FeaturedStickers.md @@ -0,0 +1,24 @@ +--- +title: messages.FeaturedStickers +description: constructors and methods of type messages.FeaturedStickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.FeaturedStickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.featuredStickersNotModified](../constructors/messages.featuredStickersNotModified.md) + +[messages.featuredStickers](../constructors/messages.featuredStickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getFeaturedStickers](../methods/messages.getFeaturedStickers.md) + + + diff --git a/old_docs/API_docs_v57/types/messages.FoundGifs.md b/old_docs/API_docs_v57/types/messages.FoundGifs.md new file mode 100644 index 00000000..b5176a5d --- /dev/null +++ b/old_docs/API_docs_v57/types/messages.FoundGifs.md @@ -0,0 +1,22 @@ +--- +title: messages.FoundGifs +description: constructors and methods of type messages.FoundGifs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.FoundGifs +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.foundGifs](../constructors/messages.foundGifs.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->searchGifs](../methods/messages.searchGifs.md) + + + diff --git a/old_docs/API_docs_v57/types/messages.HighScores.md b/old_docs/API_docs_v57/types/messages.HighScores.md new file mode 100644 index 00000000..eae9db66 --- /dev/null +++ b/old_docs/API_docs_v57/types/messages.HighScores.md @@ -0,0 +1,24 @@ +--- +title: messages.HighScores +description: constructors and methods of type messages.HighScores +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.HighScores +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.highScores](../constructors/messages.highScores.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getGameHighScores](../methods/messages.getGameHighScores.md) + +[$MadelineProto->messages->getInlineGameHighScores](../methods/messages.getInlineGameHighScores.md) + + + diff --git a/old_docs/API_docs_v57/types/messages.MessageEditData.md b/old_docs/API_docs_v57/types/messages.MessageEditData.md new file mode 100644 index 00000000..feb572f1 --- /dev/null +++ b/old_docs/API_docs_v57/types/messages.MessageEditData.md @@ -0,0 +1,22 @@ +--- +title: messages.MessageEditData +description: constructors and methods of type messages.MessageEditData +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.MessageEditData +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.messageEditData](../constructors/messages.messageEditData.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getMessageEditData](../methods/messages.getMessageEditData.md) + + + diff --git a/old_docs/API_docs_v57/types/messages.Messages.md b/old_docs/API_docs_v57/types/messages.Messages.md new file mode 100644 index 00000000..90cf4a43 --- /dev/null +++ b/old_docs/API_docs_v57/types/messages.Messages.md @@ -0,0 +1,34 @@ +--- +title: messages.Messages +description: constructors and methods of type messages.Messages +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Messages +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.messages](../constructors/messages.messages.md) + +[messages.messagesSlice](../constructors/messages.messagesSlice.md) + +[messages.channelMessages](../constructors/messages.channelMessages.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getMessages](../methods/messages.getMessages.md) + +[$MadelineProto->messages->getHistory](../methods/messages.getHistory.md) + +[$MadelineProto->messages->search](../methods/messages.search.md) + +[$MadelineProto->channels->getMessages](../methods/channels.getMessages.md) + +[$MadelineProto->messages->searchGlobal](../methods/messages.searchGlobal.md) + + + diff --git a/old_docs/API_docs_v57/types/messages.PeerDialogs.md b/old_docs/API_docs_v57/types/messages.PeerDialogs.md new file mode 100644 index 00000000..fdebf58e --- /dev/null +++ b/old_docs/API_docs_v57/types/messages.PeerDialogs.md @@ -0,0 +1,22 @@ +--- +title: messages.PeerDialogs +description: constructors and methods of type messages.PeerDialogs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.PeerDialogs +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.peerDialogs](../constructors/messages.peerDialogs.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getPeerDialogs](../methods/messages.getPeerDialogs.md) + + + diff --git a/old_docs/API_docs_v57/types/messages.RecentStickers.md b/old_docs/API_docs_v57/types/messages.RecentStickers.md new file mode 100644 index 00000000..e5c49b92 --- /dev/null +++ b/old_docs/API_docs_v57/types/messages.RecentStickers.md @@ -0,0 +1,24 @@ +--- +title: messages.RecentStickers +description: constructors and methods of type messages.RecentStickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.RecentStickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.recentStickersNotModified](../constructors/messages.recentStickersNotModified.md) + +[messages.recentStickers](../constructors/messages.recentStickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getRecentStickers](../methods/messages.getRecentStickers.md) + + + diff --git a/old_docs/API_docs_v57/types/messages.SavedGifs.md b/old_docs/API_docs_v57/types/messages.SavedGifs.md new file mode 100644 index 00000000..99844c98 --- /dev/null +++ b/old_docs/API_docs_v57/types/messages.SavedGifs.md @@ -0,0 +1,24 @@ +--- +title: messages.SavedGifs +description: constructors and methods of type messages.SavedGifs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.SavedGifs +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.savedGifsNotModified](../constructors/messages.savedGifsNotModified.md) + +[messages.savedGifs](../constructors/messages.savedGifs.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getSavedGifs](../methods/messages.getSavedGifs.md) + + + diff --git a/old_docs/API_docs_v57/types/messages.SentEncryptedMessage.md b/old_docs/API_docs_v57/types/messages.SentEncryptedMessage.md new file mode 100644 index 00000000..b6d05b1f --- /dev/null +++ b/old_docs/API_docs_v57/types/messages.SentEncryptedMessage.md @@ -0,0 +1,28 @@ +--- +title: messages.SentEncryptedMessage +description: constructors and methods of type messages.SentEncryptedMessage +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.SentEncryptedMessage +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.sentEncryptedMessage](../constructors/messages.sentEncryptedMessage.md) + +[messages.sentEncryptedFile](../constructors/messages.sentEncryptedFile.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->sendEncrypted](../methods/messages.sendEncrypted.md) + +[$MadelineProto->messages->sendEncryptedFile](../methods/messages.sendEncryptedFile.md) + +[$MadelineProto->messages->sendEncryptedService](../methods/messages.sendEncryptedService.md) + + + diff --git a/old_docs/API_docs_v57/types/messages.StickerSet.md b/old_docs/API_docs_v57/types/messages.StickerSet.md new file mode 100644 index 00000000..8de24a76 --- /dev/null +++ b/old_docs/API_docs_v57/types/messages.StickerSet.md @@ -0,0 +1,22 @@ +--- +title: messages.StickerSet +description: constructors and methods of type messages.StickerSet +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.StickerSet +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.stickerSet](../constructors/messages.stickerSet.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getStickerSet](../methods/messages.getStickerSet.md) + + + diff --git a/old_docs/API_docs_v57/types/messages.StickerSetInstallResult.md b/old_docs/API_docs_v57/types/messages.StickerSetInstallResult.md new file mode 100644 index 00000000..9e09c293 --- /dev/null +++ b/old_docs/API_docs_v57/types/messages.StickerSetInstallResult.md @@ -0,0 +1,24 @@ +--- +title: messages.StickerSetInstallResult +description: constructors and methods of type messages.StickerSetInstallResult +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.StickerSetInstallResult +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.stickerSetInstallResultSuccess](../constructors/messages.stickerSetInstallResultSuccess.md) + +[messages.stickerSetInstallResultArchive](../constructors/messages.stickerSetInstallResultArchive.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->installStickerSet](../methods/messages.installStickerSet.md) + + + diff --git a/old_docs/API_docs_v57/types/messages.Stickers.md b/old_docs/API_docs_v57/types/messages.Stickers.md new file mode 100644 index 00000000..0da398ca --- /dev/null +++ b/old_docs/API_docs_v57/types/messages.Stickers.md @@ -0,0 +1,22 @@ +--- +title: messages.Stickers +description: constructors and methods of type messages.Stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Stickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.stickersNotModified](../constructors/messages.stickersNotModified.md) + +[messages.stickers](../constructors/messages.stickers.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v57/types/messages_AffectedHistory.md b/old_docs/API_docs_v57/types/messages_AffectedHistory.md deleted file mode 100644 index a2d75894..00000000 --- a/old_docs/API_docs_v57/types/messages_AffectedHistory.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_AffectedHistory -description: constructors and methods of type messages_AffectedHistory -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_AffectedHistory -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_affectedHistory](../constructors/messages_affectedHistory.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->deleteHistory](../methods/messages_deleteHistory.md) - -[$MadelineProto->channels->deleteUserHistory](../methods/channels_deleteUserHistory.md) - - - diff --git a/old_docs/API_docs_v57/types/messages_AffectedMessages.md b/old_docs/API_docs_v57/types/messages_AffectedMessages.md deleted file mode 100644 index dcbea721..00000000 --- a/old_docs/API_docs_v57/types/messages_AffectedMessages.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: messages_AffectedMessages -description: constructors and methods of type messages_AffectedMessages -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_AffectedMessages -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_affectedMessages](../constructors/messages_affectedMessages.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->readHistory](../methods/messages_readHistory.md) - -[$MadelineProto->messages->deleteMessages](../methods/messages_deleteMessages.md) - -[$MadelineProto->messages->readMessageContents](../methods/messages_readMessageContents.md) - -[$MadelineProto->channels->deleteMessages](../methods/channels_deleteMessages.md) - - - diff --git a/old_docs/API_docs_v57/types/messages_AllStickers.md b/old_docs/API_docs_v57/types/messages_AllStickers.md deleted file mode 100644 index b6a322e0..00000000 --- a/old_docs/API_docs_v57/types/messages_AllStickers.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: messages_AllStickers -description: constructors and methods of type messages_AllStickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_AllStickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_allStickersNotModified](../constructors/messages_allStickersNotModified.md) - -[messages\_allStickers](../constructors/messages_allStickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getAllStickers](../methods/messages_getAllStickers.md) - -[$MadelineProto->messages->getMaskStickers](../methods/messages_getMaskStickers.md) - - - diff --git a/old_docs/API_docs_v57/types/messages_ArchivedStickers.md b/old_docs/API_docs_v57/types/messages_ArchivedStickers.md deleted file mode 100644 index c569675e..00000000 --- a/old_docs/API_docs_v57/types/messages_ArchivedStickers.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_ArchivedStickers -description: constructors and methods of type messages_ArchivedStickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_ArchivedStickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_archivedStickers](../constructors/messages_archivedStickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getArchivedStickers](../methods/messages_getArchivedStickers.md) - - - diff --git a/old_docs/API_docs_v57/types/messages_BotCallbackAnswer.md b/old_docs/API_docs_v57/types/messages_BotCallbackAnswer.md deleted file mode 100644 index f8d424d0..00000000 --- a/old_docs/API_docs_v57/types/messages_BotCallbackAnswer.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_BotCallbackAnswer -description: constructors and methods of type messages_BotCallbackAnswer -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_BotCallbackAnswer -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_botCallbackAnswer](../constructors/messages_botCallbackAnswer.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getBotCallbackAnswer](../methods/messages_getBotCallbackAnswer.md) - - - diff --git a/old_docs/API_docs_v57/types/messages_BotResults.md b/old_docs/API_docs_v57/types/messages_BotResults.md deleted file mode 100644 index c346c5bd..00000000 --- a/old_docs/API_docs_v57/types/messages_BotResults.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_BotResults -description: constructors and methods of type messages_BotResults -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_BotResults -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_botResults](../constructors/messages_botResults.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getInlineBotResults](../methods/messages_getInlineBotResults.md) - - - diff --git a/old_docs/API_docs_v57/types/messages_ChatFull.md b/old_docs/API_docs_v57/types/messages_ChatFull.md deleted file mode 100644 index e4add41e..00000000 --- a/old_docs/API_docs_v57/types/messages_ChatFull.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_ChatFull -description: constructors and methods of type messages_ChatFull -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_ChatFull -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_chatFull](../constructors/messages_chatFull.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getFullChat](../methods/messages_getFullChat.md) - -[$MadelineProto->channels->getFullChannel](../methods/channels_getFullChannel.md) - - - diff --git a/old_docs/API_docs_v57/types/messages_Chats.md b/old_docs/API_docs_v57/types/messages_Chats.md deleted file mode 100644 index 0fed3681..00000000 --- a/old_docs/API_docs_v57/types/messages_Chats.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: messages_Chats -description: constructors and methods of type messages_Chats -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Chats -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_chats](../constructors/messages_chats.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getChats](../methods/messages_getChats.md) - -[$MadelineProto->channels->getChannels](../methods/channels_getChannels.md) - -[$MadelineProto->channels->getAdminedPublicChannels](../methods/channels_getAdminedPublicChannels.md) - - - diff --git a/old_docs/API_docs_v57/types/messages_DhConfig.md b/old_docs/API_docs_v57/types/messages_DhConfig.md deleted file mode 100644 index ce237411..00000000 --- a/old_docs/API_docs_v57/types/messages_DhConfig.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_DhConfig -description: constructors and methods of type messages_DhConfig -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_DhConfig -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_dhConfigNotModified](../constructors/messages_dhConfigNotModified.md) - -[messages\_dhConfig](../constructors/messages_dhConfig.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getDhConfig](../methods/messages_getDhConfig.md) - - - diff --git a/old_docs/API_docs_v57/types/messages_Dialogs.md b/old_docs/API_docs_v57/types/messages_Dialogs.md deleted file mode 100644 index 733a42c5..00000000 --- a/old_docs/API_docs_v57/types/messages_Dialogs.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_Dialogs -description: constructors and methods of type messages_Dialogs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Dialogs -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_dialogs](../constructors/messages_dialogs.md) - -[messages\_dialogsSlice](../constructors/messages_dialogsSlice.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getDialogs](../methods/messages_getDialogs.md) - - - diff --git a/old_docs/API_docs_v57/types/messages_FeaturedStickers.md b/old_docs/API_docs_v57/types/messages_FeaturedStickers.md deleted file mode 100644 index 9b4c5002..00000000 --- a/old_docs/API_docs_v57/types/messages_FeaturedStickers.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_FeaturedStickers -description: constructors and methods of type messages_FeaturedStickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_FeaturedStickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_featuredStickersNotModified](../constructors/messages_featuredStickersNotModified.md) - -[messages\_featuredStickers](../constructors/messages_featuredStickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getFeaturedStickers](../methods/messages_getFeaturedStickers.md) - - - diff --git a/old_docs/API_docs_v57/types/messages_FoundGifs.md b/old_docs/API_docs_v57/types/messages_FoundGifs.md deleted file mode 100644 index 9dd088ba..00000000 --- a/old_docs/API_docs_v57/types/messages_FoundGifs.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_FoundGifs -description: constructors and methods of type messages_FoundGifs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_FoundGifs -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_foundGifs](../constructors/messages_foundGifs.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->searchGifs](../methods/messages_searchGifs.md) - - - diff --git a/old_docs/API_docs_v57/types/messages_HighScores.md b/old_docs/API_docs_v57/types/messages_HighScores.md deleted file mode 100644 index 9660e255..00000000 --- a/old_docs/API_docs_v57/types/messages_HighScores.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_HighScores -description: constructors and methods of type messages_HighScores -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_HighScores -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_highScores](../constructors/messages_highScores.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getGameHighScores](../methods/messages_getGameHighScores.md) - -[$MadelineProto->messages->getInlineGameHighScores](../methods/messages_getInlineGameHighScores.md) - - - diff --git a/old_docs/API_docs_v57/types/messages_MessageEditData.md b/old_docs/API_docs_v57/types/messages_MessageEditData.md deleted file mode 100644 index ed3c507a..00000000 --- a/old_docs/API_docs_v57/types/messages_MessageEditData.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_MessageEditData -description: constructors and methods of type messages_MessageEditData -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_MessageEditData -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_messageEditData](../constructors/messages_messageEditData.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getMessageEditData](../methods/messages_getMessageEditData.md) - - - diff --git a/old_docs/API_docs_v57/types/messages_Messages.md b/old_docs/API_docs_v57/types/messages_Messages.md deleted file mode 100644 index cf034a7a..00000000 --- a/old_docs/API_docs_v57/types/messages_Messages.md +++ /dev/null @@ -1,34 +0,0 @@ ---- -title: messages_Messages -description: constructors and methods of type messages_Messages -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Messages -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_messages](../constructors/messages_messages.md) - -[messages\_messagesSlice](../constructors/messages_messagesSlice.md) - -[messages\_channelMessages](../constructors/messages_channelMessages.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getMessages](../methods/messages_getMessages.md) - -[$MadelineProto->messages->getHistory](../methods/messages_getHistory.md) - -[$MadelineProto->messages->search](../methods/messages_search.md) - -[$MadelineProto->channels->getMessages](../methods/channels_getMessages.md) - -[$MadelineProto->messages->searchGlobal](../methods/messages_searchGlobal.md) - - - diff --git a/old_docs/API_docs_v57/types/messages_PeerDialogs.md b/old_docs/API_docs_v57/types/messages_PeerDialogs.md deleted file mode 100644 index a48bc1cb..00000000 --- a/old_docs/API_docs_v57/types/messages_PeerDialogs.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_PeerDialogs -description: constructors and methods of type messages_PeerDialogs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_PeerDialogs -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_peerDialogs](../constructors/messages_peerDialogs.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getPeerDialogs](../methods/messages_getPeerDialogs.md) - - - diff --git a/old_docs/API_docs_v57/types/messages_RecentStickers.md b/old_docs/API_docs_v57/types/messages_RecentStickers.md deleted file mode 100644 index 2c9db779..00000000 --- a/old_docs/API_docs_v57/types/messages_RecentStickers.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_RecentStickers -description: constructors and methods of type messages_RecentStickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_RecentStickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_recentStickersNotModified](../constructors/messages_recentStickersNotModified.md) - -[messages\_recentStickers](../constructors/messages_recentStickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getRecentStickers](../methods/messages_getRecentStickers.md) - - - diff --git a/old_docs/API_docs_v57/types/messages_SavedGifs.md b/old_docs/API_docs_v57/types/messages_SavedGifs.md deleted file mode 100644 index ffb000aa..00000000 --- a/old_docs/API_docs_v57/types/messages_SavedGifs.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_SavedGifs -description: constructors and methods of type messages_SavedGifs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_SavedGifs -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_savedGifsNotModified](../constructors/messages_savedGifsNotModified.md) - -[messages\_savedGifs](../constructors/messages_savedGifs.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getSavedGifs](../methods/messages_getSavedGifs.md) - - - diff --git a/old_docs/API_docs_v57/types/messages_SentEncryptedMessage.md b/old_docs/API_docs_v57/types/messages_SentEncryptedMessage.md deleted file mode 100644 index 9f7ab935..00000000 --- a/old_docs/API_docs_v57/types/messages_SentEncryptedMessage.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: messages_SentEncryptedMessage -description: constructors and methods of type messages_SentEncryptedMessage -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_SentEncryptedMessage -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_sentEncryptedMessage](../constructors/messages_sentEncryptedMessage.md) - -[messages\_sentEncryptedFile](../constructors/messages_sentEncryptedFile.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->sendEncrypted](../methods/messages_sendEncrypted.md) - -[$MadelineProto->messages->sendEncryptedFile](../methods/messages_sendEncryptedFile.md) - -[$MadelineProto->messages->sendEncryptedService](../methods/messages_sendEncryptedService.md) - - - diff --git a/old_docs/API_docs_v57/types/messages_StickerSet.md b/old_docs/API_docs_v57/types/messages_StickerSet.md deleted file mode 100644 index e04ee8bf..00000000 --- a/old_docs/API_docs_v57/types/messages_StickerSet.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_StickerSet -description: constructors and methods of type messages_StickerSet -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_StickerSet -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_stickerSet](../constructors/messages_stickerSet.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getStickerSet](../methods/messages_getStickerSet.md) - - - diff --git a/old_docs/API_docs_v57/types/messages_StickerSetInstallResult.md b/old_docs/API_docs_v57/types/messages_StickerSetInstallResult.md deleted file mode 100644 index bb62ec11..00000000 --- a/old_docs/API_docs_v57/types/messages_StickerSetInstallResult.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_StickerSetInstallResult -description: constructors and methods of type messages_StickerSetInstallResult -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_StickerSetInstallResult -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_stickerSetInstallResultSuccess](../constructors/messages_stickerSetInstallResultSuccess.md) - -[messages\_stickerSetInstallResultArchive](../constructors/messages_stickerSetInstallResultArchive.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->installStickerSet](../methods/messages_installStickerSet.md) - - - diff --git a/old_docs/API_docs_v57/types/messages_Stickers.md b/old_docs/API_docs_v57/types/messages_Stickers.md deleted file mode 100644 index c0fa45cc..00000000 --- a/old_docs/API_docs_v57/types/messages_Stickers.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_Stickers -description: constructors and methods of type messages_Stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Stickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_stickersNotModified](../constructors/messages_stickersNotModified.md) - -[messages\_stickers](../constructors/messages_stickers.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v57/types/photos.Photo.md b/old_docs/API_docs_v57/types/photos.Photo.md new file mode 100644 index 00000000..d60f203c --- /dev/null +++ b/old_docs/API_docs_v57/types/photos.Photo.md @@ -0,0 +1,22 @@ +--- +title: photos.Photo +description: constructors and methods of type photos.Photo +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: photos.Photo +[Back to types index](index.md) + + + +### Possible values (constructors): + +[photos.photo](../constructors/photos.photo.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->photos->uploadProfilePhoto](../methods/photos.uploadProfilePhoto.md) + + + diff --git a/old_docs/API_docs_v57/types/photos.Photos.md b/old_docs/API_docs_v57/types/photos.Photos.md new file mode 100644 index 00000000..fff0e296 --- /dev/null +++ b/old_docs/API_docs_v57/types/photos.Photos.md @@ -0,0 +1,24 @@ +--- +title: photos.Photos +description: constructors and methods of type photos.Photos +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: photos.Photos +[Back to types index](index.md) + + + +### Possible values (constructors): + +[photos.photos](../constructors/photos.photos.md) + +[photos.photosSlice](../constructors/photos.photosSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->photos->getUserPhotos](../methods/photos.getUserPhotos.md) + + + diff --git a/old_docs/API_docs_v57/types/photos_Photo.md b/old_docs/API_docs_v57/types/photos_Photo.md deleted file mode 100644 index d11bbdef..00000000 --- a/old_docs/API_docs_v57/types/photos_Photo.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: photos_Photo -description: constructors and methods of type photos_Photo -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: photos\_Photo -[Back to types index](index.md) - - - -### Possible values (constructors): - -[photos\_photo](../constructors/photos_photo.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->photos->uploadProfilePhoto](../methods/photos_uploadProfilePhoto.md) - - - diff --git a/old_docs/API_docs_v57/types/photos_Photos.md b/old_docs/API_docs_v57/types/photos_Photos.md deleted file mode 100644 index 9875ad70..00000000 --- a/old_docs/API_docs_v57/types/photos_Photos.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: photos_Photos -description: constructors and methods of type photos_Photos -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: photos\_Photos -[Back to types index](index.md) - - - -### Possible values (constructors): - -[photos\_photos](../constructors/photos_photos.md) - -[photos\_photosSlice](../constructors/photos_photosSlice.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->photos->getUserPhotos](../methods/photos_getUserPhotos.md) - - - diff --git a/old_docs/API_docs_v57/types/storage.FileType.md b/old_docs/API_docs_v57/types/storage.FileType.md new file mode 100644 index 00000000..73dc8a92 --- /dev/null +++ b/old_docs/API_docs_v57/types/storage.FileType.md @@ -0,0 +1,38 @@ +--- +title: storage.FileType +description: constructors and methods of type storage.FileType +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: storage.FileType +[Back to types index](index.md) + + + +### Possible values (constructors): + +[storage.fileUnknown](../constructors/storage.fileUnknown.md) + +[storage.fileJpeg](../constructors/storage.fileJpeg.md) + +[storage.fileGif](../constructors/storage.fileGif.md) + +[storage.filePng](../constructors/storage.filePng.md) + +[storage.filePdf](../constructors/storage.filePdf.md) + +[storage.fileMp3](../constructors/storage.fileMp3.md) + +[storage.fileMov](../constructors/storage.fileMov.md) + +[storage.filePartial](../constructors/storage.filePartial.md) + +[storage.fileMp4](../constructors/storage.fileMp4.md) + +[storage.fileWebp](../constructors/storage.fileWebp.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v57/types/storage_FileType.md b/old_docs/API_docs_v57/types/storage_FileType.md deleted file mode 100644 index 076c52a4..00000000 --- a/old_docs/API_docs_v57/types/storage_FileType.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: storage_FileType -description: constructors and methods of type storage_FileType -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: storage\_FileType -[Back to types index](index.md) - - - -### Possible values (constructors): - -[storage\_fileUnknown](../constructors/storage_fileUnknown.md) - -[storage\_fileJpeg](../constructors/storage_fileJpeg.md) - -[storage\_fileGif](../constructors/storage_fileGif.md) - -[storage\_filePng](../constructors/storage_filePng.md) - -[storage\_filePdf](../constructors/storage_filePdf.md) - -[storage\_fileMp3](../constructors/storage_fileMp3.md) - -[storage\_fileMov](../constructors/storage_fileMov.md) - -[storage\_filePartial](../constructors/storage_filePartial.md) - -[storage\_fileMp4](../constructors/storage_fileMp4.md) - -[storage\_fileWebp](../constructors/storage_fileWebp.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v57/types/updates.ChannelDifference.md b/old_docs/API_docs_v57/types/updates.ChannelDifference.md new file mode 100644 index 00000000..ac889a1e --- /dev/null +++ b/old_docs/API_docs_v57/types/updates.ChannelDifference.md @@ -0,0 +1,26 @@ +--- +title: updates.ChannelDifference +description: constructors and methods of type updates.ChannelDifference +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: updates.ChannelDifference +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updates.channelDifferenceEmpty](../constructors/updates.channelDifferenceEmpty.md) + +[updates.channelDifferenceTooLong](../constructors/updates.channelDifferenceTooLong.md) + +[updates.channelDifference](../constructors/updates.channelDifference.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->updates->getChannelDifference](../methods/updates.getChannelDifference.md) + + + diff --git a/old_docs/API_docs_v57/types/updates.Difference.md b/old_docs/API_docs_v57/types/updates.Difference.md new file mode 100644 index 00000000..35998855 --- /dev/null +++ b/old_docs/API_docs_v57/types/updates.Difference.md @@ -0,0 +1,26 @@ +--- +title: updates.Difference +description: constructors and methods of type updates.Difference +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: updates.Difference +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updates.differenceEmpty](../constructors/updates.differenceEmpty.md) + +[updates.difference](../constructors/updates.difference.md) + +[updates.differenceSlice](../constructors/updates.differenceSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->updates->getDifference](../methods/updates.getDifference.md) + + + diff --git a/old_docs/API_docs_v57/types/updates.State.md b/old_docs/API_docs_v57/types/updates.State.md new file mode 100644 index 00000000..49bbb7fd --- /dev/null +++ b/old_docs/API_docs_v57/types/updates.State.md @@ -0,0 +1,22 @@ +--- +title: updates.State +description: constructors and methods of type updates.State +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: updates.State +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updates.state](../constructors/updates.state.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->updates->getState](../methods/updates.getState.md) + + + diff --git a/old_docs/API_docs_v57/types/updates_ChannelDifference.md b/old_docs/API_docs_v57/types/updates_ChannelDifference.md deleted file mode 100644 index dc988692..00000000 --- a/old_docs/API_docs_v57/types/updates_ChannelDifference.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: updates_ChannelDifference -description: constructors and methods of type updates_ChannelDifference -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: updates\_ChannelDifference -[Back to types index](index.md) - - - -### Possible values (constructors): - -[updates\_channelDifferenceEmpty](../constructors/updates_channelDifferenceEmpty.md) - -[updates\_channelDifferenceTooLong](../constructors/updates_channelDifferenceTooLong.md) - -[updates\_channelDifference](../constructors/updates_channelDifference.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->updates->getChannelDifference](../methods/updates_getChannelDifference.md) - - - diff --git a/old_docs/API_docs_v57/types/updates_Difference.md b/old_docs/API_docs_v57/types/updates_Difference.md deleted file mode 100644 index 0190189b..00000000 --- a/old_docs/API_docs_v57/types/updates_Difference.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: updates_Difference -description: constructors and methods of type updates_Difference -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: updates\_Difference -[Back to types index](index.md) - - - -### Possible values (constructors): - -[updates\_differenceEmpty](../constructors/updates_differenceEmpty.md) - -[updates\_difference](../constructors/updates_difference.md) - -[updates\_differenceSlice](../constructors/updates_differenceSlice.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->updates->getDifference](../methods/updates_getDifference.md) - - - diff --git a/old_docs/API_docs_v57/types/updates_State.md b/old_docs/API_docs_v57/types/updates_State.md deleted file mode 100644 index 7a441145..00000000 --- a/old_docs/API_docs_v57/types/updates_State.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: updates_State -description: constructors and methods of type updates_State -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: updates\_State -[Back to types index](index.md) - - - -### Possible values (constructors): - -[updates\_state](../constructors/updates_state.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->updates->getState](../methods/updates_getState.md) - - - diff --git a/old_docs/API_docs_v57/types/upload.File.md b/old_docs/API_docs_v57/types/upload.File.md new file mode 100644 index 00000000..922e6c7a --- /dev/null +++ b/old_docs/API_docs_v57/types/upload.File.md @@ -0,0 +1,22 @@ +--- +title: upload.File +description: constructors and methods of type upload.File +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: upload.File +[Back to types index](index.md) + + + +### Possible values (constructors): + +[upload.file](../constructors/upload.file.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->upload->getFile](../methods/upload.getFile.md) + + + diff --git a/old_docs/API_docs_v57/types/upload_File.md b/old_docs/API_docs_v57/types/upload_File.md deleted file mode 100644 index 6e3bc38d..00000000 --- a/old_docs/API_docs_v57/types/upload_File.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: upload_File -description: constructors and methods of type upload_File -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: upload\_File -[Back to types index](index.md) - - - -### Possible values (constructors): - -[upload\_file](../constructors/upload_file.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->upload->getFile](../methods/upload_getFile.md) - - - diff --git a/old_docs/API_docs_v62/constructors/README.md b/old_docs/API_docs_v62/constructors/README.md index 561d4f4c..8b12778f 100644 --- a/old_docs/API_docs_v62/constructors/README.md +++ b/old_docs/API_docs_v62/constructors/README.md @@ -6,46 +6,62 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png # Constructors [Back to API documentation index](..) +*** +

[$account.authorizations](../constructors/account.authorizations.md) = \['authorizations' => \[[Authorization](../types/Authorization.md)\], \]; + +*** +

[$account.noPassword](../constructors/account.noPassword.md) = \['new_salt' => [bytes](../types/bytes.md), 'email_unconfirmed_pattern' => [string](../types/string.md), \]; + +*** +

[$account.password](../constructors/account.password.md) = \['current_salt' => [bytes](../types/bytes.md), 'new_salt' => [bytes](../types/bytes.md), 'hint' => [string](../types/string.md), 'has_recovery' => [Bool](../types/Bool.md), 'email_unconfirmed_pattern' => [string](../types/string.md), \]; + +*** +

[$account.passwordInputSettings](../constructors/account.passwordInputSettings.md) = \['new_salt' => [bytes](../types/bytes.md), 'new_password_hash' => [bytes](../types/bytes.md), 'hint' => [string](../types/string.md), 'email' => [string](../types/string.md), \]; + +*** +

[$account.passwordSettings](../constructors/account.passwordSettings.md) = \['email' => [string](../types/string.md), \]; + +*** +

[$account.privacyRules](../constructors/account.privacyRules.md) = \['rules' => \[[PrivacyRule](../types/PrivacyRule.md)\], 'users' => \[[User](../types/User.md)\], \]; + ***

[$accountDaysTTL](../constructors/accountDaysTTL.md) = \['days' => [int](../types/int.md), \]; *** -

[$account\_authorizations](../constructors/account_authorizations.md) = \['authorizations' => \[[Authorization](../types/Authorization.md)\], \]; - -[$account\_noPassword](../constructors/account_noPassword.md) = \['new_salt' => [bytes](../types/bytes.md), 'email_unconfirmed_pattern' => [string](../types/string.md), \]; - -[$account\_password](../constructors/account_password.md) = \['current_salt' => [bytes](../types/bytes.md), 'new_salt' => [bytes](../types/bytes.md), 'hint' => [string](../types/string.md), 'has_recovery' => [Bool](../types/Bool.md), 'email_unconfirmed_pattern' => [string](../types/string.md), \]; - -[$account\_passwordInputSettings](../constructors/account_passwordInputSettings.md) = \['new_salt' => [bytes](../types/bytes.md), 'new_password_hash' => [bytes](../types/bytes.md), 'hint' => [string](../types/string.md), 'email' => [string](../types/string.md), \]; - -[$account\_passwordSettings](../constructors/account_passwordSettings.md) = \['email' => [string](../types/string.md), \]; - -[$account\_privacyRules](../constructors/account_privacyRules.md) = \['rules' => \[[PrivacyRule](../types/PrivacyRule.md)\], 'users' => \[[User](../types/User.md)\], \]; +

[$auth.authorization](../constructors/auth.authorization.md) = \['tmp_sessions' => [int](../types/int.md), 'user' => [User](../types/User.md), \]; *** -

[$auth\_authorization](../constructors/auth_authorization.md) = \['tmp_sessions' => [int](../types/int.md), 'user' => [User](../types/User.md), \]; +

[$auth.checkedPhone](../constructors/auth.checkedPhone.md) = \['phone_registered' => [Bool](../types/Bool.md), \]; -[$auth\_checkedPhone](../constructors/auth_checkedPhone.md) = \['phone_registered' => [Bool](../types/Bool.md), \]; +*** +

[$auth.codeTypeCall](../constructors/auth.codeTypeCall.md) = \[\]; -[$auth\_codeTypeCall](../constructors/auth_codeTypeCall.md) = \[\]; +*** +

[$auth.codeTypeFlashCall](../constructors/auth.codeTypeFlashCall.md) = \[\]; -[$auth\_codeTypeFlashCall](../constructors/auth_codeTypeFlashCall.md) = \[\]; +*** +

[$auth.codeTypeSms](../constructors/auth.codeTypeSms.md) = \[\]; -[$auth\_codeTypeSms](../constructors/auth_codeTypeSms.md) = \[\]; +*** +

[$auth.exportedAuthorization](../constructors/auth.exportedAuthorization.md) = \['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; -[$auth\_exportedAuthorization](../constructors/auth_exportedAuthorization.md) = \['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; +*** +

[$auth.passwordRecovery](../constructors/auth.passwordRecovery.md) = \['email_pattern' => [string](../types/string.md), \]; -[$auth\_passwordRecovery](../constructors/auth_passwordRecovery.md) = \['email_pattern' => [string](../types/string.md), \]; +*** +

[$auth.sentCode](../constructors/auth.sentCode.md) = \['phone_registered' => [Bool](../types/Bool.md), 'type' => [auth.SentCodeType](../types/auth.SentCodeType.md), 'phone_code_hash' => [string](../types/string.md), 'next_type' => [auth.CodeType](../types/auth.CodeType.md), 'timeout' => [int](../types/int.md), \]; -[$auth\_sentCode](../constructors/auth_sentCode.md) = \['phone_registered' => [Bool](../types/Bool.md), 'type' => [auth.SentCodeType](../types/auth.SentCodeType.md), 'phone_code_hash' => [string](../types/string.md), 'next_type' => [auth.CodeType](../types/auth.CodeType.md), 'timeout' => [int](../types/int.md), \]; +*** +

[$auth.sentCodeTypeApp](../constructors/auth.sentCodeTypeApp.md) = \['length' => [int](../types/int.md), \]; -[$auth\_sentCodeTypeApp](../constructors/auth_sentCodeTypeApp.md) = \['length' => [int](../types/int.md), \]; +*** +

[$auth.sentCodeTypeCall](../constructors/auth.sentCodeTypeCall.md) = \['length' => [int](../types/int.md), \]; -[$auth\_sentCodeTypeCall](../constructors/auth_sentCodeTypeCall.md) = \['length' => [int](../types/int.md), \]; +*** +

[$auth.sentCodeTypeFlashCall](../constructors/auth.sentCodeTypeFlashCall.md) = \['pattern' => [string](../types/string.md), \]; -[$auth\_sentCodeTypeFlashCall](../constructors/auth_sentCodeTypeFlashCall.md) = \['pattern' => [string](../types/string.md), \]; - -[$auth\_sentCodeTypeSms](../constructors/auth_sentCodeTypeSms.md) = \['length' => [int](../types/int.md), \]; +*** +

[$auth.sentCodeTypeSms](../constructors/auth.sentCodeTypeSms.md) = \['length' => [int](../types/int.md), \]; ***

[$authorization](../constructors/authorization.md) = \['hash' => [long](../types/long.md), 'device_model' => [string](../types/string.md), 'platform' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'api_id' => [int](../types/int.md), 'app_name' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'date_created' => [int](../types/int.md), 'date_active' => [int](../types/int.md), 'ip' => [string](../types/string.md), 'country' => [string](../types/string.md), 'region' => [string](../types/string.md), \]; @@ -138,9 +154,10 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$channelRoleModerator](../constructors/channelRoleModerator.md) = \[\]; *** -

[$channels\_channelParticipant](../constructors/channels_channelParticipant.md) = \['participant' => [ChannelParticipant](../types/ChannelParticipant.md), 'users' => \[[User](../types/User.md)\], \]; +

[$channels.channelParticipant](../constructors/channels.channelParticipant.md) = \['participant' => [ChannelParticipant](../types/ChannelParticipant.md), 'users' => \[[User](../types/User.md)\], \]; -[$channels\_channelParticipants](../constructors/channels_channelParticipants.md) = \['count' => [int](../types/int.md), 'participants' => \[[ChannelParticipant](../types/ChannelParticipant.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$channels.channelParticipants](../constructors/channels.channelParticipants.md) = \['count' => [int](../types/int.md), 'participants' => \[[ChannelParticipant](../types/ChannelParticipant.md)\], 'users' => \[[User](../types/User.md)\], \]; ***

[$chat](../constructors/chat.md) = \['creator' => [Bool](../types/Bool.md), 'kicked' => [Bool](../types/Bool.md), 'left' => [Bool](../types/Bool.md), 'admins_enabled' => [Bool](../types/Bool.md), 'admin' => [Bool](../types/Bool.md), 'deactivated' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'title' => [string](../types/string.md), 'photo' => [ChatPhoto](../types/ChatPhoto.md), 'participants_count' => [int](../types/int.md), 'date' => [int](../types/int.md), 'version' => [int](../types/int.md), 'migrated_to' => [InputChannel](../types/InputChannel.md), \]; @@ -212,25 +229,34 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$contactStatus](../constructors/contactStatus.md) = \['user_id' => [int](../types/int.md), 'status' => [UserStatus](../types/UserStatus.md), \]; *** -

[$contacts\_blocked](../constructors/contacts_blocked.md) = \['blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; +

[$contacts.blocked](../constructors/contacts.blocked.md) = \['blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_blockedSlice](../constructors/contacts_blockedSlice.md) = \['count' => [int](../types/int.md), 'blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.blockedSlice](../constructors/contacts.blockedSlice.md) = \['count' => [int](../types/int.md), 'blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_contacts](../constructors/contacts_contacts.md) = \['contacts' => \[[Contact](../types/Contact.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.contacts](../constructors/contacts.contacts.md) = \['contacts' => \[[Contact](../types/Contact.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_contactsNotModified](../constructors/contacts_contactsNotModified.md) = \[\]; +*** +

[$contacts.contactsNotModified](../constructors/contacts.contactsNotModified.md) = \[\]; -[$contacts\_found](../constructors/contacts_found.md) = \['results' => \[[Peer](../types/Peer.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.found](../constructors/contacts.found.md) = \['results' => \[[Peer](../types/Peer.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_importedContacts](../constructors/contacts_importedContacts.md) = \['imported' => \[[ImportedContact](../types/ImportedContact.md)\], 'retry_contacts' => \[[long](../types/long.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.importedContacts](../constructors/contacts.importedContacts.md) = \['imported' => \[[ImportedContact](../types/ImportedContact.md)\], 'retry_contacts' => \[[long](../types/long.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_link](../constructors/contacts_link.md) = \['my_link' => [ContactLink](../types/ContactLink.md), 'foreign_link' => [ContactLink](../types/ContactLink.md), 'user' => [User](../types/User.md), \]; +*** +

[$contacts.link](../constructors/contacts.link.md) = \['my_link' => [ContactLink](../types/ContactLink.md), 'foreign_link' => [ContactLink](../types/ContactLink.md), 'user' => [User](../types/User.md), \]; -[$contacts\_resolvedPeer](../constructors/contacts_resolvedPeer.md) = \['peer' => [Peer](../types/Peer.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.resolvedPeer](../constructors/contacts.resolvedPeer.md) = \['peer' => [Peer](../types/Peer.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_topPeers](../constructors/contacts_topPeers.md) = \['categories' => \[[TopPeerCategoryPeers](../types/TopPeerCategoryPeers.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.topPeers](../constructors/contacts.topPeers.md) = \['categories' => \[[TopPeerCategoryPeers](../types/TopPeerCategoryPeers.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_topPeersNotModified](../constructors/contacts_topPeersNotModified.md) = \[\]; +*** +

[$contacts.topPeersNotModified](../constructors/contacts.topPeersNotModified.md) = \[\]; ***

[$dcOption](../constructors/dcOption.md) = \['ipv6' => [Bool](../types/Bool.md), 'media_only' => [Bool](../types/Bool.md), 'tcpo_only' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'ip_address' => [string](../types/string.md), 'port' => [int](../types/int.md), \]; @@ -336,19 +362,25 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$geoPointEmpty](../constructors/geoPointEmpty.md) = \[\]; *** -

[$help\_appChangelog](../constructors/help_appChangelog.md) = \['message' => [string](../types/string.md), 'media' => [MessageMedia](../types/MessageMedia.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], \]; +

[$help.appChangelog](../constructors/help.appChangelog.md) = \['message' => [string](../types/string.md), 'media' => [MessageMedia](../types/MessageMedia.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], \]; -[$help\_appChangelogEmpty](../constructors/help_appChangelogEmpty.md) = \[\]; +*** +

[$help.appChangelogEmpty](../constructors/help.appChangelogEmpty.md) = \[\]; -[$help\_appUpdate](../constructors/help_appUpdate.md) = \['id' => [int](../types/int.md), 'critical' => [Bool](../types/Bool.md), 'url' => [string](../types/string.md), 'text' => [string](../types/string.md), \]; +*** +

[$help.appUpdate](../constructors/help.appUpdate.md) = \['id' => [int](../types/int.md), 'critical' => [Bool](../types/Bool.md), 'url' => [string](../types/string.md), 'text' => [string](../types/string.md), \]; -[$help\_inviteText](../constructors/help_inviteText.md) = \['message' => [string](../types/string.md), \]; +*** +

[$help.inviteText](../constructors/help.inviteText.md) = \['message' => [string](../types/string.md), \]; -[$help\_noAppUpdate](../constructors/help_noAppUpdate.md) = \[\]; +*** +

[$help.noAppUpdate](../constructors/help.noAppUpdate.md) = \[\]; -[$help\_support](../constructors/help_support.md) = \['phone_number' => [string](../types/string.md), 'user' => [User](../types/User.md), \]; +*** +

[$help.support](../constructors/help.support.md) = \['phone_number' => [string](../types/string.md), 'user' => [User](../types/User.md), \]; -[$help\_termsOfService](../constructors/help_termsOfService.md) = \['text' => [string](../types/string.md), \]; +*** +

[$help.termsOfService](../constructors/help.termsOfService.md) = \['text' => [string](../types/string.md), \]; ***

[$highScore](../constructors/highScore.md) = \['pos' => [int](../types/int.md), 'user_id' => [int](../types/int.md), 'score' => [int](../types/int.md), \]; @@ -798,73 +830,106 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$messageService](../constructors/messageService.md) = \['out' => [Bool](../types/Bool.md), 'mentioned' => [Bool](../types/Bool.md), 'media_unread' => [Bool](../types/Bool.md), 'silent' => [Bool](../types/Bool.md), 'post' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'from_id' => [int](../types/int.md), 'to_id' => [Peer](../types/Peer.md), 'reply_to_msg_id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'action' => [MessageAction](../types/MessageAction.md), \]; *** -

[$messages\_affectedHistory](../constructors/messages_affectedHistory.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), 'offset' => [int](../types/int.md), \]; +

[$messages.affectedHistory](../constructors/messages.affectedHistory.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), 'offset' => [int](../types/int.md), \]; -[$messages\_affectedMessages](../constructors/messages_affectedMessages.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; +*** +

[$messages.affectedMessages](../constructors/messages.affectedMessages.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; -[$messages\_allStickers](../constructors/messages_allStickers.md) = \['hash' => [int](../types/int.md), 'sets' => \[[StickerSet](../types/StickerSet.md)\], \]; +*** +

[$messages.allStickers](../constructors/messages.allStickers.md) = \['hash' => [int](../types/int.md), 'sets' => \[[StickerSet](../types/StickerSet.md)\], \]; -[$messages\_allStickersNotModified](../constructors/messages_allStickersNotModified.md) = \[\]; +*** +

[$messages.allStickersNotModified](../constructors/messages.allStickersNotModified.md) = \[\]; -[$messages\_archivedStickers](../constructors/messages_archivedStickers.md) = \['count' => [int](../types/int.md), 'sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], \]; +*** +

[$messages.archivedStickers](../constructors/messages.archivedStickers.md) = \['count' => [int](../types/int.md), 'sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], \]; -[$messages\_botCallbackAnswer](../constructors/messages_botCallbackAnswer.md) = \['alert' => [Bool](../types/Bool.md), 'has_url' => [Bool](../types/Bool.md), 'message' => [string](../types/string.md), 'url' => [string](../types/string.md), 'cache_time' => [int](../types/int.md), \]; +*** +

[$messages.botCallbackAnswer](../constructors/messages.botCallbackAnswer.md) = \['alert' => [Bool](../types/Bool.md), 'has_url' => [Bool](../types/Bool.md), 'message' => [string](../types/string.md), 'url' => [string](../types/string.md), 'cache_time' => [int](../types/int.md), \]; -[$messages\_botResults](../constructors/messages_botResults.md) = \['gallery' => [Bool](../types/Bool.md), 'query_id' => [long](../types/long.md), 'next_offset' => [string](../types/string.md), 'switch_pm' => [InlineBotSwitchPM](../types/InlineBotSwitchPM.md), 'results' => \[[BotInlineResult](../types/BotInlineResult.md)\], 'cache_time' => [int](../types/int.md), \]; +*** +

[$messages.botResults](../constructors/messages.botResults.md) = \['gallery' => [Bool](../types/Bool.md), 'query_id' => [long](../types/long.md), 'next_offset' => [string](../types/string.md), 'switch_pm' => [InlineBotSwitchPM](../types/InlineBotSwitchPM.md), 'results' => \[[BotInlineResult](../types/BotInlineResult.md)\], 'cache_time' => [int](../types/int.md), \]; -[$messages\_channelMessages](../constructors/messages_channelMessages.md) = \['pts' => [int](../types/int.md), 'count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.channelMessages](../constructors/messages.channelMessages.md) = \['pts' => [int](../types/int.md), 'count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_chatFull](../constructors/messages_chatFull.md) = \['full_chat' => [ChatFull](../types/ChatFull.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.chatFull](../constructors/messages.chatFull.md) = \['full_chat' => [ChatFull](../types/ChatFull.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_chats](../constructors/messages_chats.md) = \['chats' => \[[Chat](../types/Chat.md)\], \]; +*** +

[$messages.chats](../constructors/messages.chats.md) = \['chats' => \[[Chat](../types/Chat.md)\], \]; -[$messages\_chatsSlice](../constructors/messages_chatsSlice.md) = \['count' => [int](../types/int.md), 'chats' => \[[Chat](../types/Chat.md)\], \]; +*** +

[$messages.chatsSlice](../constructors/messages.chatsSlice.md) = \['count' => [int](../types/int.md), 'chats' => \[[Chat](../types/Chat.md)\], \]; -[$messages\_dhConfig](../constructors/messages_dhConfig.md) = \['g' => [int](../types/int.md), 'p' => [bytes](../types/bytes.md), 'version' => [int](../types/int.md), 'random' => [bytes](../types/bytes.md), \]; +*** +

[$messages.dhConfig](../constructors/messages.dhConfig.md) = \['g' => [int](../types/int.md), 'p' => [bytes](../types/bytes.md), 'version' => [int](../types/int.md), 'random' => [bytes](../types/bytes.md), \]; -[$messages\_dhConfigNotModified](../constructors/messages_dhConfigNotModified.md) = \['random' => [bytes](../types/bytes.md), \]; +*** +

[$messages.dhConfigNotModified](../constructors/messages.dhConfigNotModified.md) = \['random' => [bytes](../types/bytes.md), \]; -[$messages\_dialogs](../constructors/messages_dialogs.md) = \['dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.dialogs](../constructors/messages.dialogs.md) = \['dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_dialogsSlice](../constructors/messages_dialogsSlice.md) = \['count' => [int](../types/int.md), 'dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.dialogsSlice](../constructors/messages.dialogsSlice.md) = \['count' => [int](../types/int.md), 'dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_featuredStickers](../constructors/messages_featuredStickers.md) = \['hash' => [int](../types/int.md), 'sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], 'unread' => \[[long](../types/long.md)\], \]; +*** +

[$messages.featuredStickers](../constructors/messages.featuredStickers.md) = \['hash' => [int](../types/int.md), 'sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], 'unread' => \[[long](../types/long.md)\], \]; -[$messages\_featuredStickersNotModified](../constructors/messages_featuredStickersNotModified.md) = \[\]; +*** +

[$messages.featuredStickersNotModified](../constructors/messages.featuredStickersNotModified.md) = \[\]; -[$messages\_foundGifs](../constructors/messages_foundGifs.md) = \['next_offset' => [int](../types/int.md), 'results' => \[[FoundGif](../types/FoundGif.md)\], \]; +*** +

[$messages.foundGifs](../constructors/messages.foundGifs.md) = \['next_offset' => [int](../types/int.md), 'results' => \[[FoundGif](../types/FoundGif.md)\], \]; -[$messages\_highScores](../constructors/messages_highScores.md) = \['scores' => \[[HighScore](../types/HighScore.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.highScores](../constructors/messages.highScores.md) = \['scores' => \[[HighScore](../types/HighScore.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_messageEditData](../constructors/messages_messageEditData.md) = \['caption' => [Bool](../types/Bool.md), \]; +*** +

[$messages.messageEditData](../constructors/messages.messageEditData.md) = \['caption' => [Bool](../types/Bool.md), \]; -[$messages\_messages](../constructors/messages_messages.md) = \['messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.messages](../constructors/messages.messages.md) = \['messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_messagesSlice](../constructors/messages_messagesSlice.md) = \['count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.messagesSlice](../constructors/messages.messagesSlice.md) = \['count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_peerDialogs](../constructors/messages_peerDialogs.md) = \['dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'state' => [updates.State](../types/updates.State.md), \]; +*** +

[$messages.peerDialogs](../constructors/messages.peerDialogs.md) = \['dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'state' => [updates.State](../types/updates.State.md), \]; -[$messages\_recentStickers](../constructors/messages_recentStickers.md) = \['hash' => [int](../types/int.md), 'stickers' => \[[Document](../types/Document.md)\], \]; +*** +

[$messages.recentStickers](../constructors/messages.recentStickers.md) = \['hash' => [int](../types/int.md), 'stickers' => \[[Document](../types/Document.md)\], \]; -[$messages\_recentStickersNotModified](../constructors/messages_recentStickersNotModified.md) = \[\]; +*** +

[$messages.recentStickersNotModified](../constructors/messages.recentStickersNotModified.md) = \[\]; -[$messages\_savedGifs](../constructors/messages_savedGifs.md) = \['hash' => [int](../types/int.md), 'gifs' => \[[Document](../types/Document.md)\], \]; +*** +

[$messages.savedGifs](../constructors/messages.savedGifs.md) = \['hash' => [int](../types/int.md), 'gifs' => \[[Document](../types/Document.md)\], \]; -[$messages\_savedGifsNotModified](../constructors/messages_savedGifsNotModified.md) = \[\]; +*** +

[$messages.savedGifsNotModified](../constructors/messages.savedGifsNotModified.md) = \[\]; -[$messages\_sentEncryptedFile](../constructors/messages_sentEncryptedFile.md) = \['date' => [int](../types/int.md), 'file' => [EncryptedFile](../types/EncryptedFile.md), \]; +*** +

[$messages.sentEncryptedFile](../constructors/messages.sentEncryptedFile.md) = \['date' => [int](../types/int.md), 'file' => [EncryptedFile](../types/EncryptedFile.md), \]; -[$messages\_sentEncryptedMessage](../constructors/messages_sentEncryptedMessage.md) = \['date' => [int](../types/int.md), \]; +*** +

[$messages.sentEncryptedMessage](../constructors/messages.sentEncryptedMessage.md) = \['date' => [int](../types/int.md), \]; -[$messages\_stickerSet](../constructors/messages_stickerSet.md) = \['set' => [StickerSet](../types/StickerSet.md), 'packs' => \[[StickerPack](../types/StickerPack.md)\], 'documents' => \[[Document](../types/Document.md)\], \]; +*** +

[$messages.stickerSet](../constructors/messages.stickerSet.md) = \['set' => [StickerSet](../types/StickerSet.md), 'packs' => \[[StickerPack](../types/StickerPack.md)\], 'documents' => \[[Document](../types/Document.md)\], \]; -[$messages\_stickerSetInstallResultArchive](../constructors/messages_stickerSetInstallResultArchive.md) = \['sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], \]; +*** +

[$messages.stickerSetInstallResultArchive](../constructors/messages.stickerSetInstallResultArchive.md) = \['sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], \]; -[$messages\_stickerSetInstallResultSuccess](../constructors/messages_stickerSetInstallResultSuccess.md) = \[\]; +*** +

[$messages.stickerSetInstallResultSuccess](../constructors/messages.stickerSetInstallResultSuccess.md) = \[\]; -[$messages\_stickers](../constructors/messages_stickers.md) = \['hash' => [string](../types/string.md), 'stickers' => \[[Document](../types/Document.md)\], \]; +*** +

[$messages.stickers](../constructors/messages.stickers.md) = \['hash' => [string](../types/string.md), 'stickers' => \[[Document](../types/Document.md)\], \]; -[$messages\_stickersNotModified](../constructors/messages_stickersNotModified.md) = \[\]; +*** +

[$messages.stickersNotModified](../constructors/messages.stickersNotModified.md) = \[\]; ***

[$nearestDc](../constructors/nearestDc.md) = \['country' => [string](../types/string.md), 'this_dc' => [int](../types/int.md), 'nearest_dc' => [int](../types/int.md), \]; @@ -977,6 +1042,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ***

[$peerUser](../constructors/peerUser.md) = \['user_id' => [int](../types/int.md), \]; +*** +

[$phone.phoneCall](../constructors/phone.phoneCall.md) = \['phone_call' => [PhoneCall](../types/PhoneCall.md), 'users' => \[[User](../types/User.md)\], \]; + ***

[$phoneCall](../constructors/phoneCall.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'date' => [int](../types/int.md), 'admin_id' => [int](../types/int.md), 'participant_id' => [int](../types/int.md), 'g_a_or_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), 'connection' => [PhoneConnection](../types/PhoneConnection.md), 'alternative_connections' => \[[PhoneConnection](../types/PhoneConnection.md)\], 'start_date' => [int](../types/int.md), \]; @@ -1010,9 +1078,6 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ***

[$phoneConnection](../constructors/phoneConnection.md) = \['id' => [long](../types/long.md), 'ip' => [string](../types/string.md), 'ipv6' => [string](../types/string.md), 'port' => [int](../types/int.md), 'peer_tag' => [bytes](../types/bytes.md), \]; -*** -

[$phone\_phoneCall](../constructors/phone_phoneCall.md) = \['phone_call' => [PhoneCall](../types/PhoneCall.md), 'users' => \[[User](../types/User.md)\], \]; - ***

[$photo](../constructors/photo.md) = \['has_stickers' => [Bool](../types/Bool.md), 'id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'date' => [int](../types/int.md), 'sizes' => \[[PhotoSize](../types/PhotoSize.md)\], \]; @@ -1029,11 +1094,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$photoSizeEmpty](../constructors/photoSizeEmpty.md) = \['type' => [string](../types/string.md), \]; *** -

[$photos\_photo](../constructors/photos_photo.md) = \['photo' => [Photo](../types/Photo.md), 'users' => \[[User](../types/User.md)\], \]; +

[$photos.photo](../constructors/photos.photo.md) = \['photo' => [Photo](../types/Photo.md), 'users' => \[[User](../types/User.md)\], \]; -[$photos\_photos](../constructors/photos_photos.md) = \['photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$photos.photos](../constructors/photos.photos.md) = \['photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$photos\_photosSlice](../constructors/photos_photosSlice.md) = \['count' => [int](../types/int.md), 'photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$photos.photosSlice](../constructors/photos.photosSlice.md) = \['count' => [int](../types/int.md), 'photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; ***

[$privacyKeyChatInvite](../constructors/privacyKeyChatInvite.md) = \[\]; @@ -1123,25 +1190,34 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$stickerSetMultiCovered](../constructors/stickerSetMultiCovered.md) = \['set' => [StickerSet](../types/StickerSet.md), 'covers' => \[[Document](../types/Document.md)\], \]; *** -

[$storage\_fileGif](../constructors/storage_fileGif.md) = \[\]; +

[$storage.fileGif](../constructors/storage.fileGif.md) = \[\]; -[$storage\_fileJpeg](../constructors/storage_fileJpeg.md) = \[\]; +*** +

[$storage.fileJpeg](../constructors/storage.fileJpeg.md) = \[\]; -[$storage\_fileMov](../constructors/storage_fileMov.md) = \[\]; +*** +

[$storage.fileMov](../constructors/storage.fileMov.md) = \[\]; -[$storage\_fileMp3](../constructors/storage_fileMp3.md) = \[\]; +*** +

[$storage.fileMp3](../constructors/storage.fileMp3.md) = \[\]; -[$storage\_fileMp4](../constructors/storage_fileMp4.md) = \[\]; +*** +

[$storage.fileMp4](../constructors/storage.fileMp4.md) = \[\]; -[$storage\_filePartial](../constructors/storage_filePartial.md) = \[\]; +*** +

[$storage.filePartial](../constructors/storage.filePartial.md) = \[\]; -[$storage\_filePdf](../constructors/storage_filePdf.md) = \[\]; +*** +

[$storage.filePdf](../constructors/storage.filePdf.md) = \[\]; -[$storage\_filePng](../constructors/storage_filePng.md) = \[\]; +*** +

[$storage.filePng](../constructors/storage.filePng.md) = \[\]; -[$storage\_fileUnknown](../constructors/storage_fileUnknown.md) = \[\]; +*** +

[$storage.fileUnknown](../constructors/storage.fileUnknown.md) = \[\]; -[$storage\_fileWebp](../constructors/storage_fileWebp.md) = \[\]; +*** +

[$storage.fileWebp](../constructors/storage.fileWebp.md) = \[\]; ***

[$textBold](../constructors/textBold.md) = \['text' => [RichText](../types/RichText.md), \]; @@ -1380,6 +1456,30 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ***

[$updates](../constructors/updates.md) = \['updates' => \[[Update](../types/Update.md)\], 'users' => \[[User](../types/User.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'date' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; +*** +

[$updates.channelDifference](../constructors/updates.channelDifference.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), 'new_messages' => \[[Message](../types/Message.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +*** +

[$updates.channelDifferenceEmpty](../constructors/updates.channelDifferenceEmpty.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), \]; + +*** +

[$updates.channelDifferenceTooLong](../constructors/updates.channelDifferenceTooLong.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), 'top_message' => [int](../types/int.md), 'read_inbox_max_id' => [int](../types/int.md), 'read_outbox_max_id' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +*** +

[$updates.difference](../constructors/updates.difference.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'state' => [updates.State](../types/updates.State.md), \]; + +*** +

[$updates.differenceEmpty](../constructors/updates.differenceEmpty.md) = \['date' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; + +*** +

[$updates.differenceSlice](../constructors/updates.differenceSlice.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'intermediate_state' => [updates.State](../types/updates.State.md), \]; + +*** +

[$updates.differenceTooLong](../constructors/updates.differenceTooLong.md) = \['pts' => [int](../types/int.md), \]; + +*** +

[$updates.state](../constructors/updates.state.md) = \['pts' => [int](../types/int.md), 'qts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'seq' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), \]; + ***

[$updatesCombined](../constructors/updatesCombined.md) = \['updates' => \[[Update](../types/Update.md)\], 'users' => \[[User](../types/User.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'date' => [int](../types/int.md), 'seq_start' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; @@ -1387,24 +1487,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$updatesTooLong](../constructors/updatesTooLong.md) = \[\]; *** -

[$updates\_channelDifference](../constructors/updates_channelDifference.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), 'new_messages' => \[[Message](../types/Message.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; - -[$updates\_channelDifferenceEmpty](../constructors/updates_channelDifferenceEmpty.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), \]; - -[$updates\_channelDifferenceTooLong](../constructors/updates_channelDifferenceTooLong.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), 'top_message' => [int](../types/int.md), 'read_inbox_max_id' => [int](../types/int.md), 'read_outbox_max_id' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; - -[$updates\_difference](../constructors/updates_difference.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'state' => [updates.State](../types/updates.State.md), \]; - -[$updates\_differenceEmpty](../constructors/updates_differenceEmpty.md) = \['date' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; - -[$updates\_differenceSlice](../constructors/updates_differenceSlice.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'intermediate_state' => [updates.State](../types/updates.State.md), \]; - -[$updates\_differenceTooLong](../constructors/updates_differenceTooLong.md) = \['pts' => [int](../types/int.md), \]; - -[$updates\_state](../constructors/updates_state.md) = \['pts' => [int](../types/int.md), 'qts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'seq' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), \]; - -*** -

[$upload\_file](../constructors/upload_file.md) = \['type' => [storage.FileType](../types/storage.FileType.md), 'mtime' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; +

[$upload.file](../constructors/upload.file.md) = \['type' => [storage.FileType](../types/storage.FileType.md), 'mtime' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; ***

[$user](../constructors/user.md) = \['self' => [Bool](../types/Bool.md), 'contact' => [Bool](../types/Bool.md), 'mutual_contact' => [Bool](../types/Bool.md), 'deleted' => [Bool](../types/Bool.md), 'bot' => [Bool](../types/Bool.md), 'bot_chat_history' => [Bool](../types/Bool.md), 'bot_nochats' => [Bool](../types/Bool.md), 'verified' => [Bool](../types/Bool.md), 'restricted' => [Bool](../types/Bool.md), 'min' => [Bool](../types/Bool.md), 'bot_inline_geo' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), 'username' => [string](../types/string.md), 'phone' => [string](../types/string.md), 'photo' => [UserProfilePhoto](../types/UserProfilePhoto.md), 'status' => [UserStatus](../types/UserStatus.md), 'bot_info_version' => [int](../types/int.md), 'restriction_reason' => [string](../types/string.md), 'bot_inline_placeholder' => [string](../types/string.md), \]; diff --git a/old_docs/API_docs_v62/constructors/account.authorizations.md b/old_docs/API_docs_v62/constructors/account.authorizations.md new file mode 100644 index 00000000..53c961f0 --- /dev/null +++ b/old_docs/API_docs_v62/constructors/account.authorizations.md @@ -0,0 +1,38 @@ +--- +title: account.authorizations +description: Logged-in sessions +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.authorizations +[Back to constructors index](index.md) + + + +Logged-in sessions + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|authorizations|Array of [Authorization](../types/Authorization.md) | Yes|Authorizations| + + + +### Type: [account.Authorizations](../types/account.Authorizations.md) + + +### Example: + +```php +$account.authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization, Authorization]]; +``` + + +Or, if you're into Lua: + +```lua +account.authorizations={_='account.authorizations', authorizations={Authorization}} + +``` + + diff --git a/old_docs/API_docs_v62/constructors/account.noPassword.md b/old_docs/API_docs_v62/constructors/account.noPassword.md new file mode 100644 index 00000000..4dcdc515 --- /dev/null +++ b/old_docs/API_docs_v62/constructors/account.noPassword.md @@ -0,0 +1,39 @@ +--- +title: account.noPassword +description: No password +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.noPassword +[Back to constructors index](index.md) + + + +No password + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|new\_salt|[bytes](../types/bytes.md) | Yes|New salt| +|email\_unconfirmed\_pattern|[string](../types/string.md) | Yes|Email unconfirmed pattern| + + + +### Type: [account.Password](../types/account.Password.md) + + +### Example: + +```php +$account.noPassword = ['_' => 'account.noPassword', 'new_salt' => 'bytes', 'email_unconfirmed_pattern' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +account.noPassword={_='account.noPassword', new_salt='bytes', email_unconfirmed_pattern='string'} + +``` + + diff --git a/old_docs/API_docs_v62/constructors/account.password.md b/old_docs/API_docs_v62/constructors/account.password.md new file mode 100644 index 00000000..9e86a73a --- /dev/null +++ b/old_docs/API_docs_v62/constructors/account.password.md @@ -0,0 +1,42 @@ +--- +title: account.password +description: Configuration for two-factor authorization +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.password +[Back to constructors index](index.md) + + + +Configuration for two-factor authorization + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|current\_salt|[bytes](../types/bytes.md) | Yes|Current salt| +|new\_salt|[bytes](../types/bytes.md) | Yes|New salt| +|hint|[string](../types/string.md) | Yes|Text hint for the password| +|has\_recovery|[Bool](../types/Bool.md) | Yes|Has recovery?| +|email\_unconfirmed\_pattern|[string](../types/string.md) | Yes|A [password recovery email](https://core.telegram.org/api/srp#email-verification) with the specified [pattern](https://core.telegram.org/api/pattern) is still awaiting verification| + + + +### Type: [account.Password](../types/account.Password.md) + + +### Example: + +```php +$account.password = ['_' => 'account.password', 'current_salt' => 'bytes', 'new_salt' => 'bytes', 'hint' => 'string', 'has_recovery' => Bool, 'email_unconfirmed_pattern' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +account.password={_='account.password', current_salt='bytes', new_salt='bytes', hint='string', has_recovery=Bool, email_unconfirmed_pattern='string'} + +``` + + diff --git a/old_docs/API_docs_v62/constructors/account.passwordInputSettings.md b/old_docs/API_docs_v62/constructors/account.passwordInputSettings.md new file mode 100644 index 00000000..c440115a --- /dev/null +++ b/old_docs/API_docs_v62/constructors/account.passwordInputSettings.md @@ -0,0 +1,41 @@ +--- +title: account.passwordInputSettings +description: Settings for setting up a new password +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.passwordInputSettings +[Back to constructors index](index.md) + + + +Settings for setting up a new password + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|new\_salt|[bytes](../types/bytes.md) | Optional|`$new_salt = $MadelineProto->account->getPassword()['new_salt'].$MadelineProto->random(8);`| +|new\_password\_hash|[bytes](../types/bytes.md) | Optional|The [computed password hash](https://core.telegram.org/api/srp)| +|hint|[string](../types/string.md) | Optional|Text hint for the password| +|email|[string](../types/string.md) | Optional|Password recovery email| + + + +### Type: [account.PasswordInputSettings](../types/account.PasswordInputSettings.md) + + +### Example: + +```php +$account.passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_salt' => 'bytes', 'new_password_hash' => 'bytes', 'hint' => 'string', 'email' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +account.passwordInputSettings={_='account.passwordInputSettings', new_salt='bytes', new_password_hash='bytes', hint='string', email='string'} + +``` + + diff --git a/old_docs/API_docs_v62/constructors/account.passwordSettings.md b/old_docs/API_docs_v62/constructors/account.passwordSettings.md new file mode 100644 index 00000000..be899d34 --- /dev/null +++ b/old_docs/API_docs_v62/constructors/account.passwordSettings.md @@ -0,0 +1,38 @@ +--- +title: account.passwordSettings +description: Private info associated to the password info (recovery email, telegram [passport](https://core.telegram.org/passport) info & so on) +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.passwordSettings +[Back to constructors index](index.md) + + + +Private info associated to the password info (recovery email, telegram [passport](https://core.telegram.org/passport) info & so on) + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|email|[string](../types/string.md) | Yes|[2FA Recovery email](https://core.telegram.org/api/srp#email-verification)| + + + +### Type: [account.PasswordSettings](../types/account.PasswordSettings.md) + + +### Example: + +```php +$account.passwordSettings = ['_' => 'account.passwordSettings', 'email' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +account.passwordSettings={_='account.passwordSettings', email='string'} + +``` + + diff --git a/old_docs/API_docs_v62/constructors/account.privacyRules.md b/old_docs/API_docs_v62/constructors/account.privacyRules.md new file mode 100644 index 00000000..7ae04abb --- /dev/null +++ b/old_docs/API_docs_v62/constructors/account.privacyRules.md @@ -0,0 +1,39 @@ +--- +title: account.privacyRules +description: Privacy rules +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.privacyRules +[Back to constructors index](index.md) + + + +Privacy rules + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|rules|Array of [PrivacyRule](../types/PrivacyRule.md) | Yes|Rules| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [account.PrivacyRules](../types/account.PrivacyRules.md) + + +### Example: + +```php +$account.privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule, PrivacyRule], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +account.privacyRules={_='account.privacyRules', rules={PrivacyRule}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v62/constructors/account_authorizations.md b/old_docs/API_docs_v62/constructors/account_authorizations.md deleted file mode 100644 index aeae48f3..00000000 --- a/old_docs/API_docs_v62/constructors/account_authorizations.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: account.authorizations -description: Logged-in sessions -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.authorizations -[Back to constructors index](index.md) - - - -Logged-in sessions - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|authorizations|Array of [Authorization](../types/Authorization.md) | Yes|Authorizations| - - - -### Type: [account\_Authorizations](../types/account_Authorizations.md) - - -### Example: - -```php -$account_authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization, Authorization]]; -``` - - -Or, if you're into Lua: - -```lua -account_authorizations={_='account.authorizations', authorizations={Authorization}} - -``` - - diff --git a/old_docs/API_docs_v62/constructors/account_noPassword.md b/old_docs/API_docs_v62/constructors/account_noPassword.md deleted file mode 100644 index 10ef7b2a..00000000 --- a/old_docs/API_docs_v62/constructors/account_noPassword.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: account.noPassword -description: No password -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.noPassword -[Back to constructors index](index.md) - - - -No password - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|new\_salt|[bytes](../types/bytes.md) | Yes|New salt| -|email\_unconfirmed\_pattern|[string](../types/string.md) | Yes|Email unconfirmed pattern| - - - -### Type: [account\_Password](../types/account_Password.md) - - -### Example: - -```php -$account_noPassword = ['_' => 'account.noPassword', 'new_salt' => 'bytes', 'email_unconfirmed_pattern' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -account_noPassword={_='account.noPassword', new_salt='bytes', email_unconfirmed_pattern='string'} - -``` - - diff --git a/old_docs/API_docs_v62/constructors/account_password.md b/old_docs/API_docs_v62/constructors/account_password.md deleted file mode 100644 index a9f512e8..00000000 --- a/old_docs/API_docs_v62/constructors/account_password.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: account.password -description: Configuration for two-factor authorization -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.password -[Back to constructors index](index.md) - - - -Configuration for two-factor authorization - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|current\_salt|[bytes](../types/bytes.md) | Yes|Current salt| -|new\_salt|[bytes](../types/bytes.md) | Yes|New salt| -|hint|[string](../types/string.md) | Yes|Text hint for the password| -|has\_recovery|[Bool](../types/Bool.md) | Yes|Has recovery?| -|email\_unconfirmed\_pattern|[string](../types/string.md) | Yes|A [password recovery email](https://core.telegram.org/api/srp#email-verification) with the specified [pattern](https://core.telegram.org/api/pattern) is still awaiting verification| - - - -### Type: [account\_Password](../types/account_Password.md) - - -### Example: - -```php -$account_password = ['_' => 'account.password', 'current_salt' => 'bytes', 'new_salt' => 'bytes', 'hint' => 'string', 'has_recovery' => Bool, 'email_unconfirmed_pattern' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -account_password={_='account.password', current_salt='bytes', new_salt='bytes', hint='string', has_recovery=Bool, email_unconfirmed_pattern='string'} - -``` - - diff --git a/old_docs/API_docs_v62/constructors/account_passwordInputSettings.md b/old_docs/API_docs_v62/constructors/account_passwordInputSettings.md deleted file mode 100644 index 05ec666b..00000000 --- a/old_docs/API_docs_v62/constructors/account_passwordInputSettings.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: account.passwordInputSettings -description: Settings for setting up a new password -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.passwordInputSettings -[Back to constructors index](index.md) - - - -Settings for setting up a new password - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|new\_salt|[bytes](../types/bytes.md) | Optional|`$new_salt = $MadelineProto->account->getPassword()['new_salt'].$MadelineProto->random(8);`| -|new\_password\_hash|[bytes](../types/bytes.md) | Optional|The [computed password hash](https://core.telegram.org/api/srp)| -|hint|[string](../types/string.md) | Optional|Text hint for the password| -|email|[string](../types/string.md) | Optional|Password recovery email| - - - -### Type: [account\_PasswordInputSettings](../types/account_PasswordInputSettings.md) - - -### Example: - -```php -$account_passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_salt' => 'bytes', 'new_password_hash' => 'bytes', 'hint' => 'string', 'email' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -account_passwordInputSettings={_='account.passwordInputSettings', new_salt='bytes', new_password_hash='bytes', hint='string', email='string'} - -``` - - diff --git a/old_docs/API_docs_v62/constructors/account_passwordSettings.md b/old_docs/API_docs_v62/constructors/account_passwordSettings.md deleted file mode 100644 index e22f9cc4..00000000 --- a/old_docs/API_docs_v62/constructors/account_passwordSettings.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: account.passwordSettings -description: Private info associated to the password info (recovery email, telegram [passport](https://core.telegram.org/passport) info & so on) -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.passwordSettings -[Back to constructors index](index.md) - - - -Private info associated to the password info (recovery email, telegram [passport](https://core.telegram.org/passport) info & so on) - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|email|[string](../types/string.md) | Yes|[2FA Recovery email](https://core.telegram.org/api/srp#email-verification)| - - - -### Type: [account\_PasswordSettings](../types/account_PasswordSettings.md) - - -### Example: - -```php -$account_passwordSettings = ['_' => 'account.passwordSettings', 'email' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -account_passwordSettings={_='account.passwordSettings', email='string'} - -``` - - diff --git a/old_docs/API_docs_v62/constructors/account_privacyRules.md b/old_docs/API_docs_v62/constructors/account_privacyRules.md deleted file mode 100644 index 28b260b7..00000000 --- a/old_docs/API_docs_v62/constructors/account_privacyRules.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: account.privacyRules -description: Privacy rules -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.privacyRules -[Back to constructors index](index.md) - - - -Privacy rules - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|rules|Array of [PrivacyRule](../types/PrivacyRule.md) | Yes|Rules| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [account\_PrivacyRules](../types/account_PrivacyRules.md) - - -### Example: - -```php -$account_privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule, PrivacyRule], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -account_privacyRules={_='account.privacyRules', rules={PrivacyRule}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v62/constructors/auth.authorization.md b/old_docs/API_docs_v62/constructors/auth.authorization.md new file mode 100644 index 00000000..2a84bb12 --- /dev/null +++ b/old_docs/API_docs_v62/constructors/auth.authorization.md @@ -0,0 +1,39 @@ +--- +title: auth.authorization +description: Contains user authorization info. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.authorization +[Back to constructors index](index.md) + + + +Contains user authorization info. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|tmp\_sessions|[int](../types/int.md) | Optional|Temporary [passport](https://core.telegram.org/passport) sessions| +|user|[User](../types/User.md) | Optional|Info on authorized user| + + + +### Type: [auth.Authorization](../types/auth.Authorization.md) + + +### Example: + +```php +$auth.authorization = ['_' => 'auth.authorization', 'tmp_sessions' => int, 'user' => User]; +``` + + +Or, if you're into Lua: + +```lua +auth.authorization={_='auth.authorization', tmp_sessions=int, user=User} + +``` + + diff --git a/old_docs/API_docs_v62/constructors/auth.checkedPhone.md b/old_docs/API_docs_v62/constructors/auth.checkedPhone.md new file mode 100644 index 00000000..23e84cf9 --- /dev/null +++ b/old_docs/API_docs_v62/constructors/auth.checkedPhone.md @@ -0,0 +1,38 @@ +--- +title: auth.checkedPhone +description: Checked phone +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.checkedPhone +[Back to constructors index](index.md) + + + +Checked phone + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_registered|[Bool](../types/Bool.md) | Yes|Phone registered?| + + + +### Type: [auth.CheckedPhone](../types/auth.CheckedPhone.md) + + +### Example: + +```php +$auth.checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool]; +``` + + +Or, if you're into Lua: + +```lua +auth.checkedPhone={_='auth.checkedPhone', phone_registered=Bool} + +``` + + diff --git a/old_docs/API_docs_v62/constructors/auth.codeTypeCall.md b/old_docs/API_docs_v62/constructors/auth.codeTypeCall.md new file mode 100644 index 00000000..4b4a1cdc --- /dev/null +++ b/old_docs/API_docs_v62/constructors/auth.codeTypeCall.md @@ -0,0 +1,33 @@ +--- +title: auth.codeTypeCall +description: Type of verification code that will be sent next if you call the resendCode method: SMS code +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.codeTypeCall +[Back to constructors index](index.md) + + + +Type of verification code that will be sent next if you call the resendCode method: SMS code + + + + +### Type: [auth.CodeType](../types/auth.CodeType.md) + + +### Example: + +```php +$auth.codeTypeCall = ['_' => 'auth.codeTypeCall']; +``` + + +Or, if you're into Lua: + +```lua +auth.codeTypeCall={_='auth.codeTypeCall'} + +``` + + diff --git a/old_docs/API_docs_v62/constructors/auth.codeTypeFlashCall.md b/old_docs/API_docs_v62/constructors/auth.codeTypeFlashCall.md new file mode 100644 index 00000000..ef97e034 --- /dev/null +++ b/old_docs/API_docs_v62/constructors/auth.codeTypeFlashCall.md @@ -0,0 +1,33 @@ +--- +title: auth.codeTypeFlashCall +description: Type of verification code that will be sent next if you call the resendCode method: SMS code +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.codeTypeFlashCall +[Back to constructors index](index.md) + + + +Type of verification code that will be sent next if you call the resendCode method: SMS code + + + + +### Type: [auth.CodeType](../types/auth.CodeType.md) + + +### Example: + +```php +$auth.codeTypeFlashCall = ['_' => 'auth.codeTypeFlashCall']; +``` + + +Or, if you're into Lua: + +```lua +auth.codeTypeFlashCall={_='auth.codeTypeFlashCall'} + +``` + + diff --git a/old_docs/API_docs_v62/constructors/auth.codeTypeSms.md b/old_docs/API_docs_v62/constructors/auth.codeTypeSms.md new file mode 100644 index 00000000..bab9a5a4 --- /dev/null +++ b/old_docs/API_docs_v62/constructors/auth.codeTypeSms.md @@ -0,0 +1,33 @@ +--- +title: auth.codeTypeSms +description: Type of verification code that will be sent next if you call the resendCode method: SMS code +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.codeTypeSms +[Back to constructors index](index.md) + + + +Type of verification code that will be sent next if you call the resendCode method: SMS code + + + + +### Type: [auth.CodeType](../types/auth.CodeType.md) + + +### Example: + +```php +$auth.codeTypeSms = ['_' => 'auth.codeTypeSms']; +``` + + +Or, if you're into Lua: + +```lua +auth.codeTypeSms={_='auth.codeTypeSms'} + +``` + + diff --git a/old_docs/API_docs_v62/constructors/auth.exportedAuthorization.md b/old_docs/API_docs_v62/constructors/auth.exportedAuthorization.md new file mode 100644 index 00000000..2a4a9896 --- /dev/null +++ b/old_docs/API_docs_v62/constructors/auth.exportedAuthorization.md @@ -0,0 +1,39 @@ +--- +title: auth.exportedAuthorization +description: Data for copying of authorization between data centres. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.exportedAuthorization +[Back to constructors index](index.md) + + + +Data for copying of authorization between data centres. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|id|[int](../types/int.md) | Yes|Current user identifier| +|bytes|[bytes](../types/bytes.md) | Yes|Authorizes key| + + + +### Type: [auth.ExportedAuthorization](../types/auth.ExportedAuthorization.md) + + +### Example: + +```php +$auth.exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +auth.exportedAuthorization={_='auth.exportedAuthorization', id=int, bytes='bytes'} + +``` + + diff --git a/old_docs/API_docs_v62/constructors/auth.passwordRecovery.md b/old_docs/API_docs_v62/constructors/auth.passwordRecovery.md new file mode 100644 index 00000000..61de922d --- /dev/null +++ b/old_docs/API_docs_v62/constructors/auth.passwordRecovery.md @@ -0,0 +1,38 @@ +--- +title: auth.passwordRecovery +description: Recovery info of a [2FA password](https://core.telegram.org/api/srp), only for accounts with a [recovery email configured](https://core.telegram.org/api/srp#email-verification). +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.passwordRecovery +[Back to constructors index](index.md) + + + +Recovery info of a [2FA password](https://core.telegram.org/api/srp), only for accounts with a [recovery email configured](https://core.telegram.org/api/srp#email-verification). + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|email\_pattern|[string](../types/string.md) | Yes|The email to which the recovery code was sent must match this [pattern](https://core.telegram.org/api/pattern).| + + + +### Type: [auth.PasswordRecovery](../types/auth.PasswordRecovery.md) + + +### Example: + +```php +$auth.passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +auth.passwordRecovery={_='auth.passwordRecovery', email_pattern='string'} + +``` + + diff --git a/old_docs/API_docs_v62/constructors/auth.sentCode.md b/old_docs/API_docs_v62/constructors/auth.sentCode.md new file mode 100644 index 00000000..25e94704 --- /dev/null +++ b/old_docs/API_docs_v62/constructors/auth.sentCode.md @@ -0,0 +1,42 @@ +--- +title: auth.sentCode +description: Contains info about a sent verification code. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentCode +[Back to constructors index](index.md) + + + +Contains info about a sent verification code. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_registered|[Bool](../types/Bool.md) | Optional|Phone registered?| +|type|[auth.SentCodeType](../constructors/auth.SentCodeType.md) | Yes|Phone code type| +|phone\_code\_hash|[string](../types/string.md) | Yes|Phone code hash, to be stored and later re-used with [auth.signIn](../methods/auth.signIn.md)| +|next\_type|[auth.CodeType](../constructors/auth.CodeType.md) | Optional|Phone code type that will be sent next, if the phone code is not received within `timeout` seconds: to send it use [auth.resendCode](../methods/auth.resendCode.md)| +|timeout|[int](../types/int.md) | Optional|Timeout for reception of the phone code| + + + +### Type: [auth.SentCode](../types/auth.SentCode.md) + + +### Example: + +```php +$auth.sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'type' => auth.SentCodeType, 'phone_code_hash' => 'string', 'next_type' => auth.CodeType, 'timeout' => int]; +``` + + +Or, if you're into Lua: + +```lua +auth.sentCode={_='auth.sentCode', phone_registered=Bool, type=auth.SentCodeType, phone_code_hash='string', next_type=auth.CodeType, timeout=int} + +``` + + diff --git a/old_docs/API_docs_v62/constructors/auth.sentCodeTypeApp.md b/old_docs/API_docs_v62/constructors/auth.sentCodeTypeApp.md new file mode 100644 index 00000000..5f2d4aa3 --- /dev/null +++ b/old_docs/API_docs_v62/constructors/auth.sentCodeTypeApp.md @@ -0,0 +1,38 @@ +--- +title: auth.sentCodeTypeApp +description: The code was sent through the telegram app +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentCodeTypeApp +[Back to constructors index](index.md) + + + +The code was sent through the telegram app + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|length|[int](../types/int.md) | Yes|Length of the code in bytes| + + + +### Type: [auth.SentCodeType](../types/auth.SentCodeType.md) + + +### Example: + +```php +$auth.sentCodeTypeApp = ['_' => 'auth.sentCodeTypeApp', 'length' => int]; +``` + + +Or, if you're into Lua: + +```lua +auth.sentCodeTypeApp={_='auth.sentCodeTypeApp', length=int} + +``` + + diff --git a/old_docs/API_docs_v62/constructors/auth.sentCodeTypeCall.md b/old_docs/API_docs_v62/constructors/auth.sentCodeTypeCall.md new file mode 100644 index 00000000..9843b3df --- /dev/null +++ b/old_docs/API_docs_v62/constructors/auth.sentCodeTypeCall.md @@ -0,0 +1,38 @@ +--- +title: auth.sentCodeTypeCall +description: The code will be sent via a phone call: a synthesized voice will tell the user which verification code to input. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentCodeTypeCall +[Back to constructors index](index.md) + + + +The code will be sent via a phone call: a synthesized voice will tell the user which verification code to input. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|length|[int](../types/int.md) | Yes|Length of the verification code| + + + +### Type: [auth.SentCodeType](../types/auth.SentCodeType.md) + + +### Example: + +```php +$auth.sentCodeTypeCall = ['_' => 'auth.sentCodeTypeCall', 'length' => int]; +``` + + +Or, if you're into Lua: + +```lua +auth.sentCodeTypeCall={_='auth.sentCodeTypeCall', length=int} + +``` + + diff --git a/old_docs/API_docs_v62/constructors/auth.sentCodeTypeFlashCall.md b/old_docs/API_docs_v62/constructors/auth.sentCodeTypeFlashCall.md new file mode 100644 index 00000000..0d24751d --- /dev/null +++ b/old_docs/API_docs_v62/constructors/auth.sentCodeTypeFlashCall.md @@ -0,0 +1,38 @@ +--- +title: auth.sentCodeTypeFlashCall +description: The code will be sent via a flash phone call, that will be closed immediately. The phone code will then be the phone number itself, just make sure that the phone number matches the specified pattern. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentCodeTypeFlashCall +[Back to constructors index](index.md) + + + +The code will be sent via a flash phone call, that will be closed immediately. The phone code will then be the phone number itself, just make sure that the phone number matches the specified pattern. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pattern|[string](../types/string.md) | Yes|[pattern](https://core.telegram.org/api/pattern) to match| + + + +### Type: [auth.SentCodeType](../types/auth.SentCodeType.md) + + +### Example: + +```php +$auth.sentCodeTypeFlashCall = ['_' => 'auth.sentCodeTypeFlashCall', 'pattern' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +auth.sentCodeTypeFlashCall={_='auth.sentCodeTypeFlashCall', pattern='string'} + +``` + + diff --git a/old_docs/API_docs_v62/constructors/auth.sentCodeTypeSms.md b/old_docs/API_docs_v62/constructors/auth.sentCodeTypeSms.md new file mode 100644 index 00000000..d8ecb75e --- /dev/null +++ b/old_docs/API_docs_v62/constructors/auth.sentCodeTypeSms.md @@ -0,0 +1,38 @@ +--- +title: auth.sentCodeTypeSms +description: The code was sent via SMS +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentCodeTypeSms +[Back to constructors index](index.md) + + + +The code was sent via SMS + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|length|[int](../types/int.md) | Yes|Length of the code in bytes| + + + +### Type: [auth.SentCodeType](../types/auth.SentCodeType.md) + + +### Example: + +```php +$auth.sentCodeTypeSms = ['_' => 'auth.sentCodeTypeSms', 'length' => int]; +``` + + +Or, if you're into Lua: + +```lua +auth.sentCodeTypeSms={_='auth.sentCodeTypeSms', length=int} + +``` + + diff --git a/old_docs/API_docs_v62/constructors/auth_authorization.md b/old_docs/API_docs_v62/constructors/auth_authorization.md deleted file mode 100644 index cb72811d..00000000 --- a/old_docs/API_docs_v62/constructors/auth_authorization.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: auth.authorization -description: Contains user authorization info. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.authorization -[Back to constructors index](index.md) - - - -Contains user authorization info. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|tmp\_sessions|[int](../types/int.md) | Optional|Temporary [passport](https://core.telegram.org/passport) sessions| -|user|[User](../types/User.md) | Optional|Info on authorized user| - - - -### Type: [auth\_Authorization](../types/auth_Authorization.md) - - -### Example: - -```php -$auth_authorization = ['_' => 'auth.authorization', 'tmp_sessions' => int, 'user' => User]; -``` - - -Or, if you're into Lua: - -```lua -auth_authorization={_='auth.authorization', tmp_sessions=int, user=User} - -``` - - diff --git a/old_docs/API_docs_v62/constructors/auth_checkedPhone.md b/old_docs/API_docs_v62/constructors/auth_checkedPhone.md deleted file mode 100644 index c77becf6..00000000 --- a/old_docs/API_docs_v62/constructors/auth_checkedPhone.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.checkedPhone -description: Checked phone -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.checkedPhone -[Back to constructors index](index.md) - - - -Checked phone - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_registered|[Bool](../types/Bool.md) | Yes|Phone registered?| - - - -### Type: [auth\_CheckedPhone](../types/auth_CheckedPhone.md) - - -### Example: - -```php -$auth_checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool]; -``` - - -Or, if you're into Lua: - -```lua -auth_checkedPhone={_='auth.checkedPhone', phone_registered=Bool} - -``` - - diff --git a/old_docs/API_docs_v62/constructors/auth_codeTypeCall.md b/old_docs/API_docs_v62/constructors/auth_codeTypeCall.md deleted file mode 100644 index 3e957c2a..00000000 --- a/old_docs/API_docs_v62/constructors/auth_codeTypeCall.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: auth.codeTypeCall -description: Type of verification code that will be sent next if you call the resendCode method: SMS code -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.codeTypeCall -[Back to constructors index](index.md) - - - -Type of verification code that will be sent next if you call the resendCode method: SMS code - - - - -### Type: [auth\_CodeType](../types/auth_CodeType.md) - - -### Example: - -```php -$auth_codeTypeCall = ['_' => 'auth.codeTypeCall']; -``` - - -Or, if you're into Lua: - -```lua -auth_codeTypeCall={_='auth.codeTypeCall'} - -``` - - diff --git a/old_docs/API_docs_v62/constructors/auth_codeTypeFlashCall.md b/old_docs/API_docs_v62/constructors/auth_codeTypeFlashCall.md deleted file mode 100644 index 981b2461..00000000 --- a/old_docs/API_docs_v62/constructors/auth_codeTypeFlashCall.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: auth.codeTypeFlashCall -description: Type of verification code that will be sent next if you call the resendCode method: SMS code -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.codeTypeFlashCall -[Back to constructors index](index.md) - - - -Type of verification code that will be sent next if you call the resendCode method: SMS code - - - - -### Type: [auth\_CodeType](../types/auth_CodeType.md) - - -### Example: - -```php -$auth_codeTypeFlashCall = ['_' => 'auth.codeTypeFlashCall']; -``` - - -Or, if you're into Lua: - -```lua -auth_codeTypeFlashCall={_='auth.codeTypeFlashCall'} - -``` - - diff --git a/old_docs/API_docs_v62/constructors/auth_codeTypeSms.md b/old_docs/API_docs_v62/constructors/auth_codeTypeSms.md deleted file mode 100644 index 16eb5d0d..00000000 --- a/old_docs/API_docs_v62/constructors/auth_codeTypeSms.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: auth.codeTypeSms -description: Type of verification code that will be sent next if you call the resendCode method: SMS code -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.codeTypeSms -[Back to constructors index](index.md) - - - -Type of verification code that will be sent next if you call the resendCode method: SMS code - - - - -### Type: [auth\_CodeType](../types/auth_CodeType.md) - - -### Example: - -```php -$auth_codeTypeSms = ['_' => 'auth.codeTypeSms']; -``` - - -Or, if you're into Lua: - -```lua -auth_codeTypeSms={_='auth.codeTypeSms'} - -``` - - diff --git a/old_docs/API_docs_v62/constructors/auth_exportedAuthorization.md b/old_docs/API_docs_v62/constructors/auth_exportedAuthorization.md deleted file mode 100644 index 8d18916e..00000000 --- a/old_docs/API_docs_v62/constructors/auth_exportedAuthorization.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: auth.exportedAuthorization -description: Data for copying of authorization between data centres. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.exportedAuthorization -[Back to constructors index](index.md) - - - -Data for copying of authorization between data centres. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|id|[int](../types/int.md) | Yes|Current user identifier| -|bytes|[bytes](../types/bytes.md) | Yes|Authorizes key| - - - -### Type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) - - -### Example: - -```php -$auth_exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -auth_exportedAuthorization={_='auth.exportedAuthorization', id=int, bytes='bytes'} - -``` - - diff --git a/old_docs/API_docs_v62/constructors/auth_passwordRecovery.md b/old_docs/API_docs_v62/constructors/auth_passwordRecovery.md deleted file mode 100644 index c40f375e..00000000 --- a/old_docs/API_docs_v62/constructors/auth_passwordRecovery.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.passwordRecovery -description: Recovery info of a [2FA password](https://core.telegram.org/api/srp), only for accounts with a [recovery email configured](https://core.telegram.org/api/srp#email-verification). -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.passwordRecovery -[Back to constructors index](index.md) - - - -Recovery info of a [2FA password](https://core.telegram.org/api/srp), only for accounts with a [recovery email configured](https://core.telegram.org/api/srp#email-verification). - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|email\_pattern|[string](../types/string.md) | Yes|The email to which the recovery code was sent must match this [pattern](https://core.telegram.org/api/pattern).| - - - -### Type: [auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) - - -### Example: - -```php -$auth_passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -auth_passwordRecovery={_='auth.passwordRecovery', email_pattern='string'} - -``` - - diff --git a/old_docs/API_docs_v62/constructors/auth_sentCode.md b/old_docs/API_docs_v62/constructors/auth_sentCode.md deleted file mode 100644 index 622c4137..00000000 --- a/old_docs/API_docs_v62/constructors/auth_sentCode.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: auth.sentCode -description: Contains info about a sent verification code. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentCode -[Back to constructors index](index.md) - - - -Contains info about a sent verification code. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_registered|[Bool](../types/Bool.md) | Optional|Phone registered?| -|type|[auth\_SentCodeType](../types/auth_SentCodeType.md) | Yes|Phone code type| -|phone\_code\_hash|[string](../types/string.md) | Yes|Phone code hash, to be stored and later re-used with [auth.signIn](../methods/auth.signIn.md)| -|next\_type|[auth\_CodeType](../types/auth_CodeType.md) | Optional|Phone code type that will be sent next, if the phone code is not received within `timeout` seconds: to send it use [auth.resendCode](../methods/auth.resendCode.md)| -|timeout|[int](../types/int.md) | Optional|Timeout for reception of the phone code| - - - -### Type: [auth\_SentCode](../types/auth_SentCode.md) - - -### Example: - -```php -$auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'type' => auth_SentCodeType, 'phone_code_hash' => 'string', 'next_type' => auth_CodeType, 'timeout' => int]; -``` - - -Or, if you're into Lua: - -```lua -auth_sentCode={_='auth.sentCode', phone_registered=Bool, type=auth_SentCodeType, phone_code_hash='string', next_type=auth_CodeType, timeout=int} - -``` - - diff --git a/old_docs/API_docs_v62/constructors/auth_sentCodeTypeApp.md b/old_docs/API_docs_v62/constructors/auth_sentCodeTypeApp.md deleted file mode 100644 index 6b7ad824..00000000 --- a/old_docs/API_docs_v62/constructors/auth_sentCodeTypeApp.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.sentCodeTypeApp -description: The code was sent through the telegram app -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentCodeTypeApp -[Back to constructors index](index.md) - - - -The code was sent through the telegram app - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|length|[int](../types/int.md) | Yes|Length of the code in bytes| - - - -### Type: [auth\_SentCodeType](../types/auth_SentCodeType.md) - - -### Example: - -```php -$auth_sentCodeTypeApp = ['_' => 'auth.sentCodeTypeApp', 'length' => int]; -``` - - -Or, if you're into Lua: - -```lua -auth_sentCodeTypeApp={_='auth.sentCodeTypeApp', length=int} - -``` - - diff --git a/old_docs/API_docs_v62/constructors/auth_sentCodeTypeCall.md b/old_docs/API_docs_v62/constructors/auth_sentCodeTypeCall.md deleted file mode 100644 index bf025aa5..00000000 --- a/old_docs/API_docs_v62/constructors/auth_sentCodeTypeCall.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.sentCodeTypeCall -description: The code will be sent via a phone call: a synthesized voice will tell the user which verification code to input. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentCodeTypeCall -[Back to constructors index](index.md) - - - -The code will be sent via a phone call: a synthesized voice will tell the user which verification code to input. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|length|[int](../types/int.md) | Yes|Length of the verification code| - - - -### Type: [auth\_SentCodeType](../types/auth_SentCodeType.md) - - -### Example: - -```php -$auth_sentCodeTypeCall = ['_' => 'auth.sentCodeTypeCall', 'length' => int]; -``` - - -Or, if you're into Lua: - -```lua -auth_sentCodeTypeCall={_='auth.sentCodeTypeCall', length=int} - -``` - - diff --git a/old_docs/API_docs_v62/constructors/auth_sentCodeTypeFlashCall.md b/old_docs/API_docs_v62/constructors/auth_sentCodeTypeFlashCall.md deleted file mode 100644 index efe64ce7..00000000 --- a/old_docs/API_docs_v62/constructors/auth_sentCodeTypeFlashCall.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.sentCodeTypeFlashCall -description: The code will be sent via a flash phone call, that will be closed immediately. The phone code will then be the phone number itself, just make sure that the phone number matches the specified pattern. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentCodeTypeFlashCall -[Back to constructors index](index.md) - - - -The code will be sent via a flash phone call, that will be closed immediately. The phone code will then be the phone number itself, just make sure that the phone number matches the specified pattern. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pattern|[string](../types/string.md) | Yes|[pattern](https://core.telegram.org/api/pattern) to match| - - - -### Type: [auth\_SentCodeType](../types/auth_SentCodeType.md) - - -### Example: - -```php -$auth_sentCodeTypeFlashCall = ['_' => 'auth.sentCodeTypeFlashCall', 'pattern' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -auth_sentCodeTypeFlashCall={_='auth.sentCodeTypeFlashCall', pattern='string'} - -``` - - diff --git a/old_docs/API_docs_v62/constructors/auth_sentCodeTypeSms.md b/old_docs/API_docs_v62/constructors/auth_sentCodeTypeSms.md deleted file mode 100644 index 8e27dac9..00000000 --- a/old_docs/API_docs_v62/constructors/auth_sentCodeTypeSms.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.sentCodeTypeSms -description: The code was sent via SMS -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentCodeTypeSms -[Back to constructors index](index.md) - - - -The code was sent via SMS - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|length|[int](../types/int.md) | Yes|Length of the code in bytes| - - - -### Type: [auth\_SentCodeType](../types/auth_SentCodeType.md) - - -### Example: - -```php -$auth_sentCodeTypeSms = ['_' => 'auth.sentCodeTypeSms', 'length' => int]; -``` - - -Or, if you're into Lua: - -```lua -auth_sentCodeTypeSms={_='auth.sentCodeTypeSms', length=int} - -``` - - diff --git a/old_docs/API_docs_v62/constructors/channels.channelParticipant.md b/old_docs/API_docs_v62/constructors/channels.channelParticipant.md new file mode 100644 index 00000000..0f09777f --- /dev/null +++ b/old_docs/API_docs_v62/constructors/channels.channelParticipant.md @@ -0,0 +1,39 @@ +--- +title: channels.channelParticipant +description: Represents a channel participant +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: channels.channelParticipant +[Back to constructors index](index.md) + + + +Represents a channel participant + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|participant|[ChannelParticipant](../types/ChannelParticipant.md) | Yes|The channel participant| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [channels.ChannelParticipant](../types/channels.ChannelParticipant.md) + + +### Example: + +```php +$channels.channelParticipant = ['_' => 'channels.channelParticipant', 'participant' => ChannelParticipant, 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +channels.channelParticipant={_='channels.channelParticipant', participant=ChannelParticipant, users={User}} + +``` + + diff --git a/old_docs/API_docs_v62/constructors/channels.channelParticipants.md b/old_docs/API_docs_v62/constructors/channels.channelParticipants.md new file mode 100644 index 00000000..6ee1a8b3 --- /dev/null +++ b/old_docs/API_docs_v62/constructors/channels.channelParticipants.md @@ -0,0 +1,40 @@ +--- +title: channels.channelParticipants +description: Represents multiple channel participants +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: channels.channelParticipants +[Back to constructors index](index.md) + + + +Represents multiple channel participants + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of participants that correspond to the given query| +|participants|Array of [ChannelParticipant](../types/ChannelParticipant.md) | Yes|Participants| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [channels.ChannelParticipants](../types/channels.ChannelParticipants.md) + + +### Example: + +```php +$channels.channelParticipants = ['_' => 'channels.channelParticipants', 'count' => int, 'participants' => [ChannelParticipant, ChannelParticipant], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +channels.channelParticipants={_='channels.channelParticipants', count=int, participants={ChannelParticipant}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v62/constructors/channels_channelParticipant.md b/old_docs/API_docs_v62/constructors/channels_channelParticipant.md deleted file mode 100644 index 15fe46a4..00000000 --- a/old_docs/API_docs_v62/constructors/channels_channelParticipant.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: channels.channelParticipant -description: Represents a channel participant -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: channels.channelParticipant -[Back to constructors index](index.md) - - - -Represents a channel participant - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|participant|[ChannelParticipant](../types/ChannelParticipant.md) | Yes|The channel participant| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [channels\_ChannelParticipant](../types/channels_ChannelParticipant.md) - - -### Example: - -```php -$channels_channelParticipant = ['_' => 'channels.channelParticipant', 'participant' => ChannelParticipant, 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -channels_channelParticipant={_='channels.channelParticipant', participant=ChannelParticipant, users={User}} - -``` - - diff --git a/old_docs/API_docs_v62/constructors/channels_channelParticipants.md b/old_docs/API_docs_v62/constructors/channels_channelParticipants.md deleted file mode 100644 index 1848a04f..00000000 --- a/old_docs/API_docs_v62/constructors/channels_channelParticipants.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: channels.channelParticipants -description: Represents multiple channel participants -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: channels.channelParticipants -[Back to constructors index](index.md) - - - -Represents multiple channel participants - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of participants that correspond to the given query| -|participants|Array of [ChannelParticipant](../types/ChannelParticipant.md) | Yes|Participants| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [channels\_ChannelParticipants](../types/channels_ChannelParticipants.md) - - -### Example: - -```php -$channels_channelParticipants = ['_' => 'channels.channelParticipants', 'count' => int, 'participants' => [ChannelParticipant, ChannelParticipant], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -channels_channelParticipants={_='channels.channelParticipants', count=int, participants={ChannelParticipant}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v62/constructors/contacts.blocked.md b/old_docs/API_docs_v62/constructors/contacts.blocked.md new file mode 100644 index 00000000..d2b3f680 --- /dev/null +++ b/old_docs/API_docs_v62/constructors/contacts.blocked.md @@ -0,0 +1,39 @@ +--- +title: contacts.blocked +description: Full list of blocked users. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.blocked +[Back to constructors index](index.md) + + + +Full list of blocked users. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Blocked](../types/contacts.Blocked.md) + + +### Example: + +```php +$contacts.blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.blocked={_='contacts.blocked', blocked={ContactBlocked}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v62/constructors/contacts.blockedSlice.md b/old_docs/API_docs_v62/constructors/contacts.blockedSlice.md new file mode 100644 index 00000000..92d19c72 --- /dev/null +++ b/old_docs/API_docs_v62/constructors/contacts.blockedSlice.md @@ -0,0 +1,40 @@ +--- +title: contacts.blockedSlice +description: Incomplete list of blocked users. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.blockedSlice +[Back to constructors index](index.md) + + + +Incomplete list of blocked users. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of elements in the list| +|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Blocked](../types/contacts.Blocked.md) + + +### Example: + +```php +$contacts.blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.blockedSlice={_='contacts.blockedSlice', count=int, blocked={ContactBlocked}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v62/constructors/contacts.contacts.md b/old_docs/API_docs_v62/constructors/contacts.contacts.md new file mode 100644 index 00000000..d4ccc018 --- /dev/null +++ b/old_docs/API_docs_v62/constructors/contacts.contacts.md @@ -0,0 +1,39 @@ +--- +title: contacts.contacts +description: The current user's contact list and info on users. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.contacts +[Back to constructors index](index.md) + + + +The current user's contact list and info on users. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|contacts|Array of [Contact](../types/Contact.md) | Yes|Contacts| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Contacts](../types/contacts.Contacts.md) + + +### Example: + +```php +$contacts.contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact, Contact], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.contacts={_='contacts.contacts', contacts={Contact}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v62/constructors/contacts.contactsNotModified.md b/old_docs/API_docs_v62/constructors/contacts.contactsNotModified.md new file mode 100644 index 00000000..e2149396 --- /dev/null +++ b/old_docs/API_docs_v62/constructors/contacts.contactsNotModified.md @@ -0,0 +1,33 @@ +--- +title: contacts.contactsNotModified +description: Contact list on the server is the same as the list on the client. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.contactsNotModified +[Back to constructors index](index.md) + + + +Contact list on the server is the same as the list on the client. + + + + +### Type: [contacts.Contacts](../types/contacts.Contacts.md) + + +### Example: + +```php +$contacts.contactsNotModified = ['_' => 'contacts.contactsNotModified']; +``` + + +Or, if you're into Lua: + +```lua +contacts.contactsNotModified={_='contacts.contactsNotModified'} + +``` + + diff --git a/old_docs/API_docs_v62/constructors/contacts.found.md b/old_docs/API_docs_v62/constructors/contacts.found.md new file mode 100644 index 00000000..1eaa93b7 --- /dev/null +++ b/old_docs/API_docs_v62/constructors/contacts.found.md @@ -0,0 +1,40 @@ +--- +title: contacts.found +description: Users found by name substring and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.found +[Back to constructors index](index.md) + + + +Users found by name substring and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|results|Array of [Peer](../types/Peer.md) | Yes|Results| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Found](../types/contacts.Found.md) + + +### Example: + +```php +$contacts.found = ['_' => 'contacts.found', 'results' => [Peer, Peer], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.found={_='contacts.found', results={Peer}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v62/constructors/contacts.importedContacts.md b/old_docs/API_docs_v62/constructors/contacts.importedContacts.md new file mode 100644 index 00000000..1cbff59a --- /dev/null +++ b/old_docs/API_docs_v62/constructors/contacts.importedContacts.md @@ -0,0 +1,40 @@ +--- +title: contacts.importedContacts +description: Info on succesfully imported contacts. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.importedContacts +[Back to constructors index](index.md) + + + +Info on succesfully imported contacts. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|imported|Array of [ImportedContact](../types/ImportedContact.md) | Yes|Imported| +|retry\_contacts|Array of [long](../types/long.md) | Yes|Retry importing contacts whose client IDs appear here| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.ImportedContacts](../types/contacts.ImportedContacts.md) + + +### Example: + +```php +$contacts.importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact, ImportedContact], 'retry_contacts' => [long, long], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.importedContacts={_='contacts.importedContacts', imported={ImportedContact}, retry_contacts={long}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v62/constructors/contacts.link.md b/old_docs/API_docs_v62/constructors/contacts.link.md new file mode 100644 index 00000000..ab150a0d --- /dev/null +++ b/old_docs/API_docs_v62/constructors/contacts.link.md @@ -0,0 +1,40 @@ +--- +title: contacts.link +description: Link +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.link +[Back to constructors index](index.md) + + + +Link + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|my\_link|[ContactLink](../types/ContactLink.md) | Yes|My link| +|foreign\_link|[ContactLink](../types/ContactLink.md) | Yes|Foreign link| +|user|[User](../types/User.md) | Optional|User| + + + +### Type: [contacts.Link](../types/contacts.Link.md) + + +### Example: + +```php +$contacts.link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User]; +``` + + +Or, if you're into Lua: + +```lua +contacts.link={_='contacts.link', my_link=ContactLink, foreign_link=ContactLink, user=User} + +``` + + diff --git a/old_docs/API_docs_v62/constructors/contacts.resolvedPeer.md b/old_docs/API_docs_v62/constructors/contacts.resolvedPeer.md new file mode 100644 index 00000000..35d88481 --- /dev/null +++ b/old_docs/API_docs_v62/constructors/contacts.resolvedPeer.md @@ -0,0 +1,40 @@ +--- +title: contacts.resolvedPeer +description: Resolved peer +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.resolvedPeer +[Back to constructors index](index.md) + + + +Resolved peer + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|peer|[Peer](../types/Peer.md) | Yes|The peer| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.ResolvedPeer](../types/contacts.ResolvedPeer.md) + + +### Example: + +```php +$contacts.resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.resolvedPeer={_='contacts.resolvedPeer', peer=Peer, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v62/constructors/contacts.topPeers.md b/old_docs/API_docs_v62/constructors/contacts.topPeers.md new file mode 100644 index 00000000..19d9c712 --- /dev/null +++ b/old_docs/API_docs_v62/constructors/contacts.topPeers.md @@ -0,0 +1,40 @@ +--- +title: contacts.topPeers +description: Top peers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.topPeers +[Back to constructors index](index.md) + + + +Top peers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|categories|Array of [TopPeerCategoryPeers](../types/TopPeerCategoryPeers.md) | Yes|Categories| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.TopPeers](../types/contacts.TopPeers.md) + + +### Example: + +```php +$contacts.topPeers = ['_' => 'contacts.topPeers', 'categories' => [TopPeerCategoryPeers, TopPeerCategoryPeers], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.topPeers={_='contacts.topPeers', categories={TopPeerCategoryPeers}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v62/constructors/contacts.topPeersNotModified.md b/old_docs/API_docs_v62/constructors/contacts.topPeersNotModified.md new file mode 100644 index 00000000..77c5eb4d --- /dev/null +++ b/old_docs/API_docs_v62/constructors/contacts.topPeersNotModified.md @@ -0,0 +1,33 @@ +--- +title: contacts.topPeersNotModified +description: Top peer info hasn't changed +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.topPeersNotModified +[Back to constructors index](index.md) + + + +Top peer info hasn't changed + + + + +### Type: [contacts.TopPeers](../types/contacts.TopPeers.md) + + +### Example: + +```php +$contacts.topPeersNotModified = ['_' => 'contacts.topPeersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +contacts.topPeersNotModified={_='contacts.topPeersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v62/constructors/contacts_blocked.md b/old_docs/API_docs_v62/constructors/contacts_blocked.md deleted file mode 100644 index 20e33002..00000000 --- a/old_docs/API_docs_v62/constructors/contacts_blocked.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: contacts.blocked -description: Full list of blocked users. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.blocked -[Back to constructors index](index.md) - - - -Full list of blocked users. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Blocked](../types/contacts_Blocked.md) - - -### Example: - -```php -$contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_blocked={_='contacts.blocked', blocked={ContactBlocked}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v62/constructors/contacts_blockedSlice.md b/old_docs/API_docs_v62/constructors/contacts_blockedSlice.md deleted file mode 100644 index fcab9a28..00000000 --- a/old_docs/API_docs_v62/constructors/contacts_blockedSlice.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.blockedSlice -description: Incomplete list of blocked users. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.blockedSlice -[Back to constructors index](index.md) - - - -Incomplete list of blocked users. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of elements in the list| -|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Blocked](../types/contacts_Blocked.md) - - -### Example: - -```php -$contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_blockedSlice={_='contacts.blockedSlice', count=int, blocked={ContactBlocked}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v62/constructors/contacts_contacts.md b/old_docs/API_docs_v62/constructors/contacts_contacts.md deleted file mode 100644 index f101b34b..00000000 --- a/old_docs/API_docs_v62/constructors/contacts_contacts.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: contacts.contacts -description: The current user's contact list and info on users. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.contacts -[Back to constructors index](index.md) - - - -The current user's contact list and info on users. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|contacts|Array of [Contact](../types/Contact.md) | Yes|Contacts| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Contacts](../types/contacts_Contacts.md) - - -### Example: - -```php -$contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact, Contact], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_contacts={_='contacts.contacts', contacts={Contact}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v62/constructors/contacts_contactsNotModified.md b/old_docs/API_docs_v62/constructors/contacts_contactsNotModified.md deleted file mode 100644 index 17e76ac3..00000000 --- a/old_docs/API_docs_v62/constructors/contacts_contactsNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: contacts.contactsNotModified -description: Contact list on the server is the same as the list on the client. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.contactsNotModified -[Back to constructors index](index.md) - - - -Contact list on the server is the same as the list on the client. - - - - -### Type: [contacts\_Contacts](../types/contacts_Contacts.md) - - -### Example: - -```php -$contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified']; -``` - - -Or, if you're into Lua: - -```lua -contacts_contactsNotModified={_='contacts.contactsNotModified'} - -``` - - diff --git a/old_docs/API_docs_v62/constructors/contacts_found.md b/old_docs/API_docs_v62/constructors/contacts_found.md deleted file mode 100644 index 0674aabf..00000000 --- a/old_docs/API_docs_v62/constructors/contacts_found.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.found -description: Users found by name substring and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.found -[Back to constructors index](index.md) - - - -Users found by name substring and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|results|Array of [Peer](../types/Peer.md) | Yes|Results| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Found](../types/contacts_Found.md) - - -### Example: - -```php -$contacts_found = ['_' => 'contacts.found', 'results' => [Peer, Peer], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_found={_='contacts.found', results={Peer}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v62/constructors/contacts_importedContacts.md b/old_docs/API_docs_v62/constructors/contacts_importedContacts.md deleted file mode 100644 index 121d96d1..00000000 --- a/old_docs/API_docs_v62/constructors/contacts_importedContacts.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.importedContacts -description: Info on succesfully imported contacts. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.importedContacts -[Back to constructors index](index.md) - - - -Info on succesfully imported contacts. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|imported|Array of [ImportedContact](../types/ImportedContact.md) | Yes|Imported| -|retry\_contacts|Array of [long](../types/long.md) | Yes|Retry importing contacts whose client IDs appear here| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) - - -### Example: - -```php -$contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact, ImportedContact], 'retry_contacts' => [long, long], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_importedContacts={_='contacts.importedContacts', imported={ImportedContact}, retry_contacts={long}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v62/constructors/contacts_link.md b/old_docs/API_docs_v62/constructors/contacts_link.md deleted file mode 100644 index cfc566c7..00000000 --- a/old_docs/API_docs_v62/constructors/contacts_link.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.link -description: Link -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.link -[Back to constructors index](index.md) - - - -Link - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|my\_link|[ContactLink](../types/ContactLink.md) | Yes|My link| -|foreign\_link|[ContactLink](../types/ContactLink.md) | Yes|Foreign link| -|user|[User](../types/User.md) | Optional|User| - - - -### Type: [contacts\_Link](../types/contacts_Link.md) - - -### Example: - -```php -$contacts_link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User]; -``` - - -Or, if you're into Lua: - -```lua -contacts_link={_='contacts.link', my_link=ContactLink, foreign_link=ContactLink, user=User} - -``` - - diff --git a/old_docs/API_docs_v62/constructors/contacts_resolvedPeer.md b/old_docs/API_docs_v62/constructors/contacts_resolvedPeer.md deleted file mode 100644 index aae3c7af..00000000 --- a/old_docs/API_docs_v62/constructors/contacts_resolvedPeer.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.resolvedPeer -description: Resolved peer -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.resolvedPeer -[Back to constructors index](index.md) - - - -Resolved peer - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|peer|[Peer](../types/Peer.md) | Yes|The peer| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_ResolvedPeer](../types/contacts_ResolvedPeer.md) - - -### Example: - -```php -$contacts_resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_resolvedPeer={_='contacts.resolvedPeer', peer=Peer, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v62/constructors/contacts_topPeers.md b/old_docs/API_docs_v62/constructors/contacts_topPeers.md deleted file mode 100644 index 77bc07d3..00000000 --- a/old_docs/API_docs_v62/constructors/contacts_topPeers.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.topPeers -description: Top peers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.topPeers -[Back to constructors index](index.md) - - - -Top peers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|categories|Array of [TopPeerCategoryPeers](../types/TopPeerCategoryPeers.md) | Yes|Categories| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_TopPeers](../types/contacts_TopPeers.md) - - -### Example: - -```php -$contacts_topPeers = ['_' => 'contacts.topPeers', 'categories' => [TopPeerCategoryPeers, TopPeerCategoryPeers], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_topPeers={_='contacts.topPeers', categories={TopPeerCategoryPeers}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v62/constructors/contacts_topPeersNotModified.md b/old_docs/API_docs_v62/constructors/contacts_topPeersNotModified.md deleted file mode 100644 index 43eae59d..00000000 --- a/old_docs/API_docs_v62/constructors/contacts_topPeersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: contacts.topPeersNotModified -description: Top peer info hasn't changed -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.topPeersNotModified -[Back to constructors index](index.md) - - - -Top peer info hasn't changed - - - - -### Type: [contacts\_TopPeers](../types/contacts_TopPeers.md) - - -### Example: - -```php -$contacts_topPeersNotModified = ['_' => 'contacts.topPeersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -contacts_topPeersNotModified={_='contacts.topPeersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v62/constructors/help.appChangelog.md b/old_docs/API_docs_v62/constructors/help.appChangelog.md new file mode 100644 index 00000000..9427aaf3 --- /dev/null +++ b/old_docs/API_docs_v62/constructors/help.appChangelog.md @@ -0,0 +1,40 @@ +--- +title: help.appChangelog +description: App changelog +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.appChangelog +[Back to constructors index](index.md) + + + +App changelog + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|message|[string](../types/string.md) | Yes|Message| +|media|[MessageMedia](../types/MessageMedia.md) | Optional|Media| +|entities|Array of [MessageEntity](../types/MessageEntity.md) | Yes|Entities| + + + +### Type: [help.AppChangelog](../types/help.AppChangelog.md) + + +### Example: + +```php +$help.appChangelog = ['_' => 'help.appChangelog', 'message' => 'string', 'media' => MessageMedia, 'entities' => [MessageEntity, MessageEntity]]; +``` + + +Or, if you're into Lua: + +```lua +help.appChangelog={_='help.appChangelog', message='string', media=MessageMedia, entities={MessageEntity}} + +``` + + diff --git a/old_docs/API_docs_v62/constructors/help.appChangelogEmpty.md b/old_docs/API_docs_v62/constructors/help.appChangelogEmpty.md new file mode 100644 index 00000000..6ecb71af --- /dev/null +++ b/old_docs/API_docs_v62/constructors/help.appChangelogEmpty.md @@ -0,0 +1,33 @@ +--- +title: help.appChangelogEmpty +description: Empty app changelog +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.appChangelogEmpty +[Back to constructors index](index.md) + + + +Empty app changelog + + + + +### Type: [help.AppChangelog](../types/help.AppChangelog.md) + + +### Example: + +```php +$help.appChangelogEmpty = ['_' => 'help.appChangelogEmpty']; +``` + + +Or, if you're into Lua: + +```lua +help.appChangelogEmpty={_='help.appChangelogEmpty'} + +``` + + diff --git a/old_docs/API_docs_v62/constructors/help.appUpdate.md b/old_docs/API_docs_v62/constructors/help.appUpdate.md new file mode 100644 index 00000000..14b2d75b --- /dev/null +++ b/old_docs/API_docs_v62/constructors/help.appUpdate.md @@ -0,0 +1,41 @@ +--- +title: help.appUpdate +description: An update is available for the application. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.appUpdate +[Back to constructors index](index.md) + + + +An update is available for the application. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|id|[int](../types/int.md) | Yes|Update ID| +|critical|[Bool](../types/Bool.md) | Yes|Critical?| +|url|[string](../types/string.md) | Yes|Application download URL| +|text|[string](../types/string.md) | Yes|Text description of the update| + + + +### Type: [help.AppUpdate](../types/help.AppUpdate.md) + + +### Example: + +```php +$help.appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'url' => 'string', 'text' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +help.appUpdate={_='help.appUpdate', id=int, critical=Bool, url='string', text='string'} + +``` + + diff --git a/old_docs/API_docs_v62/constructors/help.inviteText.md b/old_docs/API_docs_v62/constructors/help.inviteText.md new file mode 100644 index 00000000..6a6261c1 --- /dev/null +++ b/old_docs/API_docs_v62/constructors/help.inviteText.md @@ -0,0 +1,38 @@ +--- +title: help.inviteText +description: Text of a text message with an invitation to install application. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.inviteText +[Back to constructors index](index.md) + + + +Text of a text message with an invitation to install application. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|message|[string](../types/string.md) | Yes|Text of a message| + + + +### Type: [help.InviteText](../types/help.InviteText.md) + + +### Example: + +```php +$help.inviteText = ['_' => 'help.inviteText', 'message' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +help.inviteText={_='help.inviteText', message='string'} + +``` + + diff --git a/old_docs/API_docs_v62/constructors/help.noAppUpdate.md b/old_docs/API_docs_v62/constructors/help.noAppUpdate.md new file mode 100644 index 00000000..1b69ac9a --- /dev/null +++ b/old_docs/API_docs_v62/constructors/help.noAppUpdate.md @@ -0,0 +1,33 @@ +--- +title: help.noAppUpdate +description: No updates are available for the application. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.noAppUpdate +[Back to constructors index](index.md) + + + +No updates are available for the application. + + + + +### Type: [help.AppUpdate](../types/help.AppUpdate.md) + + +### Example: + +```php +$help.noAppUpdate = ['_' => 'help.noAppUpdate']; +``` + + +Or, if you're into Lua: + +```lua +help.noAppUpdate={_='help.noAppUpdate'} + +``` + + diff --git a/old_docs/API_docs_v62/constructors/help.support.md b/old_docs/API_docs_v62/constructors/help.support.md new file mode 100644 index 00000000..4d4f85fb --- /dev/null +++ b/old_docs/API_docs_v62/constructors/help.support.md @@ -0,0 +1,39 @@ +--- +title: help.support +description: Info on support user. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.support +[Back to constructors index](index.md) + + + +Info on support user. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_number|[string](../types/string.md) | Yes|Phone number| +|user|[User](../types/User.md) | Optional|User| + + + +### Type: [help.Support](../types/help.Support.md) + + +### Example: + +```php +$help.support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => User]; +``` + + +Or, if you're into Lua: + +```lua +help.support={_='help.support', phone_number='string', user=User} + +``` + + diff --git a/old_docs/API_docs_v62/constructors/help.termsOfService.md b/old_docs/API_docs_v62/constructors/help.termsOfService.md new file mode 100644 index 00000000..cab1f128 --- /dev/null +++ b/old_docs/API_docs_v62/constructors/help.termsOfService.md @@ -0,0 +1,38 @@ +--- +title: help.termsOfService +description: Info about the latest telegram Terms Of Service +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.termsOfService +[Back to constructors index](index.md) + + + +Info about the latest telegram Terms Of Service + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|text|[string](../types/string.md) | Yes|Text of the new terms| + + + +### Type: [help.TermsOfService](../types/help.TermsOfService.md) + + +### Example: + +```php +$help.termsOfService = ['_' => 'help.termsOfService', 'text' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +help.termsOfService={_='help.termsOfService', text='string'} + +``` + + diff --git a/old_docs/API_docs_v62/constructors/help_appChangelog.md b/old_docs/API_docs_v62/constructors/help_appChangelog.md deleted file mode 100644 index 88f2dfec..00000000 --- a/old_docs/API_docs_v62/constructors/help_appChangelog.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: help.appChangelog -description: App changelog -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.appChangelog -[Back to constructors index](index.md) - - - -App changelog - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|message|[string](../types/string.md) | Yes|Message| -|media|[MessageMedia](../types/MessageMedia.md) | Optional|Media| -|entities|Array of [MessageEntity](../types/MessageEntity.md) | Yes|Entities| - - - -### Type: [help\_AppChangelog](../types/help_AppChangelog.md) - - -### Example: - -```php -$help_appChangelog = ['_' => 'help.appChangelog', 'message' => 'string', 'media' => MessageMedia, 'entities' => [MessageEntity, MessageEntity]]; -``` - - -Or, if you're into Lua: - -```lua -help_appChangelog={_='help.appChangelog', message='string', media=MessageMedia, entities={MessageEntity}} - -``` - - diff --git a/old_docs/API_docs_v62/constructors/help_appChangelogEmpty.md b/old_docs/API_docs_v62/constructors/help_appChangelogEmpty.md deleted file mode 100644 index 62a195bb..00000000 --- a/old_docs/API_docs_v62/constructors/help_appChangelogEmpty.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: help.appChangelogEmpty -description: Empty app changelog -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.appChangelogEmpty -[Back to constructors index](index.md) - - - -Empty app changelog - - - - -### Type: [help\_AppChangelog](../types/help_AppChangelog.md) - - -### Example: - -```php -$help_appChangelogEmpty = ['_' => 'help.appChangelogEmpty']; -``` - - -Or, if you're into Lua: - -```lua -help_appChangelogEmpty={_='help.appChangelogEmpty'} - -``` - - diff --git a/old_docs/API_docs_v62/constructors/help_appUpdate.md b/old_docs/API_docs_v62/constructors/help_appUpdate.md deleted file mode 100644 index efba9bdb..00000000 --- a/old_docs/API_docs_v62/constructors/help_appUpdate.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: help.appUpdate -description: An update is available for the application. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.appUpdate -[Back to constructors index](index.md) - - - -An update is available for the application. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|id|[int](../types/int.md) | Yes|Update ID| -|critical|[Bool](../types/Bool.md) | Yes|Critical?| -|url|[string](../types/string.md) | Yes|Application download URL| -|text|[string](../types/string.md) | Yes|Text description of the update| - - - -### Type: [help\_AppUpdate](../types/help_AppUpdate.md) - - -### Example: - -```php -$help_appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'url' => 'string', 'text' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -help_appUpdate={_='help.appUpdate', id=int, critical=Bool, url='string', text='string'} - -``` - - diff --git a/old_docs/API_docs_v62/constructors/help_inviteText.md b/old_docs/API_docs_v62/constructors/help_inviteText.md deleted file mode 100644 index b8317ce3..00000000 --- a/old_docs/API_docs_v62/constructors/help_inviteText.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: help.inviteText -description: Text of a text message with an invitation to install application. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.inviteText -[Back to constructors index](index.md) - - - -Text of a text message with an invitation to install application. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|message|[string](../types/string.md) | Yes|Text of a message| - - - -### Type: [help\_InviteText](../types/help_InviteText.md) - - -### Example: - -```php -$help_inviteText = ['_' => 'help.inviteText', 'message' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -help_inviteText={_='help.inviteText', message='string'} - -``` - - diff --git a/old_docs/API_docs_v62/constructors/help_noAppUpdate.md b/old_docs/API_docs_v62/constructors/help_noAppUpdate.md deleted file mode 100644 index 51505e52..00000000 --- a/old_docs/API_docs_v62/constructors/help_noAppUpdate.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: help.noAppUpdate -description: No updates are available for the application. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.noAppUpdate -[Back to constructors index](index.md) - - - -No updates are available for the application. - - - - -### Type: [help\_AppUpdate](../types/help_AppUpdate.md) - - -### Example: - -```php -$help_noAppUpdate = ['_' => 'help.noAppUpdate']; -``` - - -Or, if you're into Lua: - -```lua -help_noAppUpdate={_='help.noAppUpdate'} - -``` - - diff --git a/old_docs/API_docs_v62/constructors/help_support.md b/old_docs/API_docs_v62/constructors/help_support.md deleted file mode 100644 index 148f7f42..00000000 --- a/old_docs/API_docs_v62/constructors/help_support.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: help.support -description: Info on support user. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.support -[Back to constructors index](index.md) - - - -Info on support user. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_number|[string](../types/string.md) | Yes|Phone number| -|user|[User](../types/User.md) | Optional|User| - - - -### Type: [help\_Support](../types/help_Support.md) - - -### Example: - -```php -$help_support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => User]; -``` - - -Or, if you're into Lua: - -```lua -help_support={_='help.support', phone_number='string', user=User} - -``` - - diff --git a/old_docs/API_docs_v62/constructors/help_termsOfService.md b/old_docs/API_docs_v62/constructors/help_termsOfService.md deleted file mode 100644 index 2ac763b3..00000000 --- a/old_docs/API_docs_v62/constructors/help_termsOfService.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: help.termsOfService -description: Info about the latest telegram Terms Of Service -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.termsOfService -[Back to constructors index](index.md) - - - -Info about the latest telegram Terms Of Service - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|text|[string](../types/string.md) | Yes|Text of the new terms| - - - -### Type: [help\_TermsOfService](../types/help_TermsOfService.md) - - -### Example: - -```php -$help_termsOfService = ['_' => 'help.termsOfService', 'text' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -help_termsOfService={_='help.termsOfService', text='string'} - -``` - - diff --git a/old_docs/API_docs_v62/constructors/messages.affectedHistory.md b/old_docs/API_docs_v62/constructors/messages.affectedHistory.md new file mode 100644 index 00000000..5fc8acec --- /dev/null +++ b/old_docs/API_docs_v62/constructors/messages.affectedHistory.md @@ -0,0 +1,40 @@ +--- +title: messages.affectedHistory +description: Affected part of communication history with the user or in a chat. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.affectedHistory +[Back to constructors index](index.md) + + + +Affected part of communication history with the user or in a chat. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| +|pts\_count|[int](../types/int.md) | Yes|Number of affected events| +|offset|[int](../types/int.md) | Yes|If a parameter contains positive value, it is necessary to repeat the method call using the given value; during the proceeding of all the history the value itself shall gradually decrease| + + + +### Type: [messages.AffectedHistory](../types/messages.AffectedHistory.md) + + +### Example: + +```php +$messages.affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.affectedHistory={_='messages.affectedHistory', pts=int, pts_count=int, offset=int} + +``` + + diff --git a/old_docs/API_docs_v62/constructors/messages.affectedMessages.md b/old_docs/API_docs_v62/constructors/messages.affectedMessages.md new file mode 100644 index 00000000..a0e60bdf --- /dev/null +++ b/old_docs/API_docs_v62/constructors/messages.affectedMessages.md @@ -0,0 +1,39 @@ +--- +title: messages.affectedMessages +description: Events affected by operation +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.affectedMessages +[Back to constructors index](index.md) + + + +Events affected by operation + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|[Event count after generation](https://core.telegram.org/api/updates)| +|pts\_count|[int](../types/int.md) | Yes|[Number of events that were generated](https://core.telegram.org/api/updates)| + + + +### Type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) + + +### Example: + +```php +$messages.affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.affectedMessages={_='messages.affectedMessages', pts=int, pts_count=int} + +``` + + diff --git a/old_docs/API_docs_v62/constructors/messages.allStickers.md b/old_docs/API_docs_v62/constructors/messages.allStickers.md new file mode 100644 index 00000000..5f13bfde --- /dev/null +++ b/old_docs/API_docs_v62/constructors/messages.allStickers.md @@ -0,0 +1,39 @@ +--- +title: messages.allStickers +description: Info about all installed stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.allStickers +[Back to constructors index](index.md) + + + +Info about all installed stickers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|sets|Array of [StickerSet](../types/StickerSet.md) | Yes|Sets| + + + +### Type: [messages.AllStickers](../types/messages.AllStickers.md) + + +### Example: + +```php +$messages.allStickers = ['_' => 'messages.allStickers', 'hash' => int, 'sets' => [StickerSet, StickerSet]]; +``` + + +Or, if you're into Lua: + +```lua +messages.allStickers={_='messages.allStickers', hash=int, sets={StickerSet}} + +``` + + diff --git a/old_docs/API_docs_v62/constructors/messages.allStickersNotModified.md b/old_docs/API_docs_v62/constructors/messages.allStickersNotModified.md new file mode 100644 index 00000000..d3db088b --- /dev/null +++ b/old_docs/API_docs_v62/constructors/messages.allStickersNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.allStickersNotModified +description: Info about all installed stickers hasn't changed +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.allStickersNotModified +[Back to constructors index](index.md) + + + +Info about all installed stickers hasn't changed + + + + +### Type: [messages.AllStickers](../types/messages.AllStickers.md) + + +### Example: + +```php +$messages.allStickersNotModified = ['_' => 'messages.allStickersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.allStickersNotModified={_='messages.allStickersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v62/constructors/messages.archivedStickers.md b/old_docs/API_docs_v62/constructors/messages.archivedStickers.md new file mode 100644 index 00000000..6ad9927c --- /dev/null +++ b/old_docs/API_docs_v62/constructors/messages.archivedStickers.md @@ -0,0 +1,39 @@ +--- +title: messages.archivedStickers +description: Archived stickersets +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.archivedStickers +[Back to constructors index](index.md) + + + +Archived stickersets + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Number of archived stickers| +|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| + + + +### Type: [messages.ArchivedStickers](../types/messages.ArchivedStickers.md) + + +### Example: + +```php +$messages.archivedStickers = ['_' => 'messages.archivedStickers', 'count' => int, 'sets' => [StickerSetCovered, StickerSetCovered]]; +``` + + +Or, if you're into Lua: + +```lua +messages.archivedStickers={_='messages.archivedStickers', count=int, sets={StickerSetCovered}} + +``` + + diff --git a/old_docs/API_docs_v62/constructors/messages.botCallbackAnswer.md b/old_docs/API_docs_v62/constructors/messages.botCallbackAnswer.md new file mode 100644 index 00000000..d4d00420 --- /dev/null +++ b/old_docs/API_docs_v62/constructors/messages.botCallbackAnswer.md @@ -0,0 +1,42 @@ +--- +title: messages.botCallbackAnswer +description: Callback answer sent by the bot in response to a button press +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.botCallbackAnswer +[Back to constructors index](index.md) + + + +Callback answer sent by the bot in response to a button press + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|alert|[Bool](../types/Bool.md) | Optional|Whether an alert should be shown to the user instead of a toast notification| +|has\_url|[Bool](../types/Bool.md) | Optional|Whether an URL is present| +|message|[string](../types/string.md) | Optional|Alert to show| +|url|[string](../types/string.md) | Optional|URL to open| +|cache\_time|[int](../types/int.md) | Yes|For how long should this answer be cached| + + + +### Type: [messages.BotCallbackAnswer](../types/messages.BotCallbackAnswer.md) + + +### Example: + +```php +$messages.botCallbackAnswer = ['_' => 'messages.botCallbackAnswer', 'alert' => Bool, 'has_url' => Bool, 'message' => 'string', 'url' => 'string', 'cache_time' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.botCallbackAnswer={_='messages.botCallbackAnswer', alert=Bool, has_url=Bool, message='string', url='string', cache_time=int} + +``` + + diff --git a/old_docs/API_docs_v62/constructors/messages.botResults.md b/old_docs/API_docs_v62/constructors/messages.botResults.md new file mode 100644 index 00000000..785c7260 --- /dev/null +++ b/old_docs/API_docs_v62/constructors/messages.botResults.md @@ -0,0 +1,43 @@ +--- +title: messages.botResults +description: Result of a query to an inline bot +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.botResults +[Back to constructors index](index.md) + + + +Result of a query to an inline bot + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|gallery|[Bool](../types/Bool.md) | Optional|Whether the result is a picture gallery| +|query\_id|[long](../types/long.md) | Yes|Query ID| +|next\_offset|[string](../types/string.md) | Optional|The next offset to use when navigating through results| +|switch\_pm|[InlineBotSwitchPM](../types/InlineBotSwitchPM.md) | Optional|Whether the bot requested the user to message him in private| +|results|Array of [BotInlineResult](../types/BotInlineResult.md) | Yes|Results| +|cache\_time|[int](../types/int.md) | Yes|Caching validity of the results| + + + +### Type: [messages.BotResults](../types/messages.BotResults.md) + + +### Example: + +```php +$messages.botResults = ['_' => 'messages.botResults', 'gallery' => Bool, 'query_id' => long, 'next_offset' => 'string', 'switch_pm' => InlineBotSwitchPM, 'results' => [BotInlineResult, BotInlineResult], 'cache_time' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.botResults={_='messages.botResults', gallery=Bool, query_id=long, next_offset='string', switch_pm=InlineBotSwitchPM, results={BotInlineResult}, cache_time=int} + +``` + + diff --git a/old_docs/API_docs_v62/constructors/messages.channelMessages.md b/old_docs/API_docs_v62/constructors/messages.channelMessages.md new file mode 100644 index 00000000..95633336 --- /dev/null +++ b/old_docs/API_docs_v62/constructors/messages.channelMessages.md @@ -0,0 +1,42 @@ +--- +title: messages.channelMessages +description: Channel messages +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.channelMessages +[Back to constructors index](index.md) + + + +Channel messages + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|[Event count after generation](https://core.telegram.org/api/updates)| +|count|[int](../types/int.md) | Yes|Total number of results were found server-side (may not be all included here)| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Messages](../types/messages.Messages.md) + + +### Example: + +```php +$messages.channelMessages = ['_' => 'messages.channelMessages', 'pts' => int, 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.channelMessages={_='messages.channelMessages', pts=int, count=int, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v62/constructors/messages.chatFull.md b/old_docs/API_docs_v62/constructors/messages.chatFull.md new file mode 100644 index 00000000..3906cc54 --- /dev/null +++ b/old_docs/API_docs_v62/constructors/messages.chatFull.md @@ -0,0 +1,40 @@ +--- +title: messages.chatFull +description: Extended info on chat and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.chatFull +[Back to constructors index](index.md) + + + +Extended info on chat and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|full\_chat|[ChatFull](../types/ChatFull.md) | Yes|Extended info on a chat| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.ChatFull](../types/messages.ChatFull.md) + + +### Example: + +```php +$messages.chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.chatFull={_='messages.chatFull', full_chat=ChatFull, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v62/constructors/messages.chats.md b/old_docs/API_docs_v62/constructors/messages.chats.md new file mode 100644 index 00000000..9ede9ff2 --- /dev/null +++ b/old_docs/API_docs_v62/constructors/messages.chats.md @@ -0,0 +1,38 @@ +--- +title: messages.chats +description: List of chats with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.chats +[Back to constructors index](index.md) + + + +List of chats with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| + + + +### Type: [messages.Chats](../types/messages.Chats.md) + + +### Example: + +```php +$messages.chats = ['_' => 'messages.chats', 'chats' => [Chat, Chat]]; +``` + + +Or, if you're into Lua: + +```lua +messages.chats={_='messages.chats', chats={Chat}} + +``` + + diff --git a/old_docs/API_docs_v62/constructors/messages.chatsSlice.md b/old_docs/API_docs_v62/constructors/messages.chatsSlice.md new file mode 100644 index 00000000..efd153e0 --- /dev/null +++ b/old_docs/API_docs_v62/constructors/messages.chatsSlice.md @@ -0,0 +1,39 @@ +--- +title: messages.chatsSlice +description: Partial list of chats, more would have to be fetched with [pagination](https://core.telegram.org/api/offsets) +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.chatsSlice +[Back to constructors index](index.md) + + + +Partial list of chats, more would have to be fetched with [pagination](https://core.telegram.org/api/offsets) + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of results that were found server-side (not all are included in `chats`)| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| + + + +### Type: [messages.Chats](../types/messages.Chats.md) + + +### Example: + +```php +$messages.chatsSlice = ['_' => 'messages.chatsSlice', 'count' => int, 'chats' => [Chat, Chat]]; +``` + + +Or, if you're into Lua: + +```lua +messages.chatsSlice={_='messages.chatsSlice', count=int, chats={Chat}} + +``` + + diff --git a/old_docs/API_docs_v62/constructors/messages.dhConfig.md b/old_docs/API_docs_v62/constructors/messages.dhConfig.md new file mode 100644 index 00000000..58344f64 --- /dev/null +++ b/old_docs/API_docs_v62/constructors/messages.dhConfig.md @@ -0,0 +1,41 @@ +--- +title: messages.dhConfig +description: New set of configuring parameters. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dhConfig +[Back to constructors index](index.md) + + + +New set of configuring parameters. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|g|[int](../types/int.md) | Yes|New value **prime**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| +|p|[bytes](../types/bytes.md) | Yes|New value **primitive root**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| +|version|[int](../types/int.md) | Yes|Vestion of set of parameters| +|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| + + + +### Type: [messages.DhConfig](../types/messages.DhConfig.md) + + +### Example: + +```php +$messages.dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'version' => int, 'random' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +messages.dhConfig={_='messages.dhConfig', g=int, p='bytes', version=int, random='bytes'} + +``` + + diff --git a/old_docs/API_docs_v62/constructors/messages.dhConfigNotModified.md b/old_docs/API_docs_v62/constructors/messages.dhConfigNotModified.md new file mode 100644 index 00000000..a9a95389 --- /dev/null +++ b/old_docs/API_docs_v62/constructors/messages.dhConfigNotModified.md @@ -0,0 +1,38 @@ +--- +title: messages.dhConfigNotModified +description: Configuring parameters did not change. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dhConfigNotModified +[Back to constructors index](index.md) + + + +Configuring parameters did not change. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| + + + +### Type: [messages.DhConfig](../types/messages.DhConfig.md) + + +### Example: + +```php +$messages.dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +messages.dhConfigNotModified={_='messages.dhConfigNotModified', random='bytes'} + +``` + + diff --git a/old_docs/API_docs_v62/constructors/messages.dialogs.md b/old_docs/API_docs_v62/constructors/messages.dialogs.md new file mode 100644 index 00000000..a72eabce --- /dev/null +++ b/old_docs/API_docs_v62/constructors/messages.dialogs.md @@ -0,0 +1,41 @@ +--- +title: messages.dialogs +description: Full list of chats with messages and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dialogs +[Back to constructors index](index.md) + + + +Full list of chats with messages and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Dialogs](../types/messages.Dialogs.md) + + +### Example: + +```php +$messages.dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.dialogs={_='messages.dialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v62/constructors/messages.dialogsSlice.md b/old_docs/API_docs_v62/constructors/messages.dialogsSlice.md new file mode 100644 index 00000000..26227d2c --- /dev/null +++ b/old_docs/API_docs_v62/constructors/messages.dialogsSlice.md @@ -0,0 +1,42 @@ +--- +title: messages.dialogsSlice +description: Incomplete list of dialogs with messages and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dialogsSlice +[Back to constructors index](index.md) + + + +Incomplete list of dialogs with messages and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of dialogs| +|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Dialogs](../types/messages.Dialogs.md) + + +### Example: + +```php +$messages.dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.dialogsSlice={_='messages.dialogsSlice', count=int, dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v62/constructors/messages.featuredStickers.md b/old_docs/API_docs_v62/constructors/messages.featuredStickers.md new file mode 100644 index 00000000..344376ea --- /dev/null +++ b/old_docs/API_docs_v62/constructors/messages.featuredStickers.md @@ -0,0 +1,40 @@ +--- +title: messages.featuredStickers +description: Featured stickersets +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.featuredStickers +[Back to constructors index](index.md) + + + +Featured stickersets + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| +|unread|Array of [long](../types/long.md) | Yes|Unread| + + + +### Type: [messages.FeaturedStickers](../types/messages.FeaturedStickers.md) + + +### Example: + +```php +$messages.featuredStickers = ['_' => 'messages.featuredStickers', 'hash' => int, 'sets' => [StickerSetCovered, StickerSetCovered], 'unread' => [long, long]]; +``` + + +Or, if you're into Lua: + +```lua +messages.featuredStickers={_='messages.featuredStickers', hash=int, sets={StickerSetCovered}, unread={long}} + +``` + + diff --git a/old_docs/API_docs_v62/constructors/messages.featuredStickersNotModified.md b/old_docs/API_docs_v62/constructors/messages.featuredStickersNotModified.md new file mode 100644 index 00000000..0fe9b4d5 --- /dev/null +++ b/old_docs/API_docs_v62/constructors/messages.featuredStickersNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.featuredStickersNotModified +description: Featured stickers haven't changed +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.featuredStickersNotModified +[Back to constructors index](index.md) + + + +Featured stickers haven't changed + + + + +### Type: [messages.FeaturedStickers](../types/messages.FeaturedStickers.md) + + +### Example: + +```php +$messages.featuredStickersNotModified = ['_' => 'messages.featuredStickersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.featuredStickersNotModified={_='messages.featuredStickersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v62/constructors/messages.foundGifs.md b/old_docs/API_docs_v62/constructors/messages.foundGifs.md new file mode 100644 index 00000000..c75e36f9 --- /dev/null +++ b/old_docs/API_docs_v62/constructors/messages.foundGifs.md @@ -0,0 +1,39 @@ +--- +title: messages.foundGifs +description: Found GIFs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.foundGifs +[Back to constructors index](index.md) + + + +Found GIFs + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|next\_offset|[int](../types/int.md) | Yes|Next offset to use when trying to [load more results](../methods/messages.searchGifs.md)| +|results|Array of [FoundGif](../types/FoundGif.md) | Yes|Results| + + + +### Type: [messages.FoundGifs](../types/messages.FoundGifs.md) + + +### Example: + +```php +$messages.foundGifs = ['_' => 'messages.foundGifs', 'next_offset' => int, 'results' => [FoundGif, FoundGif]]; +``` + + +Or, if you're into Lua: + +```lua +messages.foundGifs={_='messages.foundGifs', next_offset=int, results={FoundGif}} + +``` + + diff --git a/old_docs/API_docs_v62/constructors/messages.highScores.md b/old_docs/API_docs_v62/constructors/messages.highScores.md new file mode 100644 index 00000000..d7d25826 --- /dev/null +++ b/old_docs/API_docs_v62/constructors/messages.highScores.md @@ -0,0 +1,39 @@ +--- +title: messages.highScores +description: Highscores in a game +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.highScores +[Back to constructors index](index.md) + + + +Highscores in a game + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|scores|Array of [HighScore](../types/HighScore.md) | Yes|Scores| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.HighScores](../types/messages.HighScores.md) + + +### Example: + +```php +$messages.highScores = ['_' => 'messages.highScores', 'scores' => [HighScore, HighScore], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.highScores={_='messages.highScores', scores={HighScore}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v62/constructors/messages.messageEditData.md b/old_docs/API_docs_v62/constructors/messages.messageEditData.md new file mode 100644 index 00000000..578b53d9 --- /dev/null +++ b/old_docs/API_docs_v62/constructors/messages.messageEditData.md @@ -0,0 +1,38 @@ +--- +title: messages.messageEditData +description: Message edit data for media +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.messageEditData +[Back to constructors index](index.md) + + + +Message edit data for media + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|caption|[Bool](../types/Bool.md) | Optional|Media caption, if the specified media's caption can be edited| + + + +### Type: [messages.MessageEditData](../types/messages.MessageEditData.md) + + +### Example: + +```php +$messages.messageEditData = ['_' => 'messages.messageEditData', 'caption' => Bool]; +``` + + +Or, if you're into Lua: + +```lua +messages.messageEditData={_='messages.messageEditData', caption=Bool} + +``` + + diff --git a/old_docs/API_docs_v62/constructors/messages.messages.md b/old_docs/API_docs_v62/constructors/messages.messages.md new file mode 100644 index 00000000..3af71dca --- /dev/null +++ b/old_docs/API_docs_v62/constructors/messages.messages.md @@ -0,0 +1,40 @@ +--- +title: messages.messages +description: Full list of messages with auxilary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.messages +[Back to constructors index](index.md) + + + +Full list of messages with auxilary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Messages](../types/messages.Messages.md) + + +### Example: + +```php +$messages.messages = ['_' => 'messages.messages', 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.messages={_='messages.messages', messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v62/constructors/messages.messagesSlice.md b/old_docs/API_docs_v62/constructors/messages.messagesSlice.md new file mode 100644 index 00000000..2fe91df0 --- /dev/null +++ b/old_docs/API_docs_v62/constructors/messages.messagesSlice.md @@ -0,0 +1,41 @@ +--- +title: messages.messagesSlice +description: Incomplete list of messages and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.messagesSlice +[Back to constructors index](index.md) + + + +Incomplete list of messages and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of messages in the list| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Messages](../types/messages.Messages.md) + + +### Example: + +```php +$messages.messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.messagesSlice={_='messages.messagesSlice', count=int, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v62/constructors/messages.peerDialogs.md b/old_docs/API_docs_v62/constructors/messages.peerDialogs.md new file mode 100644 index 00000000..39cb71f8 --- /dev/null +++ b/old_docs/API_docs_v62/constructors/messages.peerDialogs.md @@ -0,0 +1,42 @@ +--- +title: messages.peerDialogs +description: Dialog info of multiple peers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.peerDialogs +[Back to constructors index](index.md) + + + +Dialog info of multiple peers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| +|state|[updates.State](../constructors/updates.State.md) | Yes|Current [update state of dialog](https://core.telegram.org/api/updates)| + + + +### Type: [messages.PeerDialogs](../types/messages.PeerDialogs.md) + + +### Example: + +```php +$messages.peerDialogs = ['_' => 'messages.peerDialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates.State]; +``` + + +Or, if you're into Lua: + +```lua +messages.peerDialogs={_='messages.peerDialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}, state=updates.State} + +``` + + diff --git a/old_docs/API_docs_v62/constructors/messages.recentStickers.md b/old_docs/API_docs_v62/constructors/messages.recentStickers.md new file mode 100644 index 00000000..c5c3b389 --- /dev/null +++ b/old_docs/API_docs_v62/constructors/messages.recentStickers.md @@ -0,0 +1,39 @@ +--- +title: messages.recentStickers +description: Recently used stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.recentStickers +[Back to constructors index](index.md) + + + +Recently used stickers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| + + + +### Type: [messages.RecentStickers](../types/messages.RecentStickers.md) + + +### Example: + +```php +$messages.recentStickers = ['_' => 'messages.recentStickers', 'hash' => int, 'stickers' => [Document, Document]]; +``` + + +Or, if you're into Lua: + +```lua +messages.recentStickers={_='messages.recentStickers', hash=int, stickers={Document}} + +``` + + diff --git a/old_docs/API_docs_v62/constructors/messages.recentStickersNotModified.md b/old_docs/API_docs_v62/constructors/messages.recentStickersNotModified.md new file mode 100644 index 00000000..1c3bbf5c --- /dev/null +++ b/old_docs/API_docs_v62/constructors/messages.recentStickersNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.recentStickersNotModified +description: No new recent sticker was found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.recentStickersNotModified +[Back to constructors index](index.md) + + + +No new recent sticker was found + + + + +### Type: [messages.RecentStickers](../types/messages.RecentStickers.md) + + +### Example: + +```php +$messages.recentStickersNotModified = ['_' => 'messages.recentStickersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.recentStickersNotModified={_='messages.recentStickersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v62/constructors/messages.savedGifs.md b/old_docs/API_docs_v62/constructors/messages.savedGifs.md new file mode 100644 index 00000000..c82929a3 --- /dev/null +++ b/old_docs/API_docs_v62/constructors/messages.savedGifs.md @@ -0,0 +1,39 @@ +--- +title: messages.savedGifs +description: Saved gifs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.savedGifs +[Back to constructors index](index.md) + + + +Saved gifs + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|gifs|Array of [Document](../types/Document.md) | Yes|Gifs| + + + +### Type: [messages.SavedGifs](../types/messages.SavedGifs.md) + + +### Example: + +```php +$messages.savedGifs = ['_' => 'messages.savedGifs', 'hash' => int, 'gifs' => [Document, Document]]; +``` + + +Or, if you're into Lua: + +```lua +messages.savedGifs={_='messages.savedGifs', hash=int, gifs={Document}} + +``` + + diff --git a/old_docs/API_docs_v62/constructors/messages.savedGifsNotModified.md b/old_docs/API_docs_v62/constructors/messages.savedGifsNotModified.md new file mode 100644 index 00000000..0fbccacc --- /dev/null +++ b/old_docs/API_docs_v62/constructors/messages.savedGifsNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.savedGifsNotModified +description: No new saved gifs were found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.savedGifsNotModified +[Back to constructors index](index.md) + + + +No new saved gifs were found + + + + +### Type: [messages.SavedGifs](../types/messages.SavedGifs.md) + + +### Example: + +```php +$messages.savedGifsNotModified = ['_' => 'messages.savedGifsNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.savedGifsNotModified={_='messages.savedGifsNotModified'} + +``` + + diff --git a/old_docs/API_docs_v62/constructors/messages.sentEncryptedFile.md b/old_docs/API_docs_v62/constructors/messages.sentEncryptedFile.md new file mode 100644 index 00000000..1f0e43c6 --- /dev/null +++ b/old_docs/API_docs_v62/constructors/messages.sentEncryptedFile.md @@ -0,0 +1,39 @@ +--- +title: messages.sentEncryptedFile +description: Message with a file enclosure sent to a protected chat +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.sentEncryptedFile +[Back to constructors index](index.md) + + + +Message with a file enclosure sent to a protected chat + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Sending date| +|file|[EncryptedFile](../types/EncryptedFile.md) | Optional|Attached file| + + + +### Type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) + + +### Example: + +```php +$messages.sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile]; +``` + + +Or, if you're into Lua: + +```lua +messages.sentEncryptedFile={_='messages.sentEncryptedFile', date=int, file=EncryptedFile} + +``` + + diff --git a/old_docs/API_docs_v62/constructors/messages.sentEncryptedMessage.md b/old_docs/API_docs_v62/constructors/messages.sentEncryptedMessage.md new file mode 100644 index 00000000..3d5eb40c --- /dev/null +++ b/old_docs/API_docs_v62/constructors/messages.sentEncryptedMessage.md @@ -0,0 +1,38 @@ +--- +title: messages.sentEncryptedMessage +description: Message without file attachemts sent to an encrypted file. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.sentEncryptedMessage +[Back to constructors index](index.md) + + + +Message without file attachemts sent to an encrypted file. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Date of sending| + + + +### Type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) + + +### Example: + +```php +$messages.sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.sentEncryptedMessage={_='messages.sentEncryptedMessage', date=int} + +``` + + diff --git a/old_docs/API_docs_v62/constructors/messages.stickerSet.md b/old_docs/API_docs_v62/constructors/messages.stickerSet.md new file mode 100644 index 00000000..fbc154d0 --- /dev/null +++ b/old_docs/API_docs_v62/constructors/messages.stickerSet.md @@ -0,0 +1,40 @@ +--- +title: messages.stickerSet +description: Stickerset and stickers inside it +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickerSet +[Back to constructors index](index.md) + + + +Stickerset and stickers inside it + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|set|[StickerSet](../types/StickerSet.md) | Yes|The stickerset| +|packs|Array of [StickerPack](../types/StickerPack.md) | Yes|Packs| +|documents|Array of [Document](../types/Document.md) | Yes|Documents| + + + +### Type: [messages.StickerSet](../types/messages.StickerSet.md) + + +### Example: + +```php +$messages.stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'packs' => [StickerPack, StickerPack], 'documents' => [Document, Document]]; +``` + + +Or, if you're into Lua: + +```lua +messages.stickerSet={_='messages.stickerSet', set=StickerSet, packs={StickerPack}, documents={Document}} + +``` + + diff --git a/old_docs/API_docs_v62/constructors/messages.stickerSetInstallResultArchive.md b/old_docs/API_docs_v62/constructors/messages.stickerSetInstallResultArchive.md new file mode 100644 index 00000000..fefe2270 --- /dev/null +++ b/old_docs/API_docs_v62/constructors/messages.stickerSetInstallResultArchive.md @@ -0,0 +1,38 @@ +--- +title: messages.stickerSetInstallResultArchive +description: The stickerset was installed, but since there are too many stickersets some were archived +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickerSetInstallResultArchive +[Back to constructors index](index.md) + + + +The stickerset was installed, but since there are too many stickersets some were archived + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| + + + +### Type: [messages.StickerSetInstallResult](../types/messages.StickerSetInstallResult.md) + + +### Example: + +```php +$messages.stickerSetInstallResultArchive = ['_' => 'messages.stickerSetInstallResultArchive', 'sets' => [StickerSetCovered, StickerSetCovered]]; +``` + + +Or, if you're into Lua: + +```lua +messages.stickerSetInstallResultArchive={_='messages.stickerSetInstallResultArchive', sets={StickerSetCovered}} + +``` + + diff --git a/old_docs/API_docs_v62/constructors/messages.stickerSetInstallResultSuccess.md b/old_docs/API_docs_v62/constructors/messages.stickerSetInstallResultSuccess.md new file mode 100644 index 00000000..bbe8b961 --- /dev/null +++ b/old_docs/API_docs_v62/constructors/messages.stickerSetInstallResultSuccess.md @@ -0,0 +1,33 @@ +--- +title: messages.stickerSetInstallResultSuccess +description: The stickerset was installed successfully +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickerSetInstallResultSuccess +[Back to constructors index](index.md) + + + +The stickerset was installed successfully + + + + +### Type: [messages.StickerSetInstallResult](../types/messages.StickerSetInstallResult.md) + + +### Example: + +```php +$messages.stickerSetInstallResultSuccess = ['_' => 'messages.stickerSetInstallResultSuccess']; +``` + + +Or, if you're into Lua: + +```lua +messages.stickerSetInstallResultSuccess={_='messages.stickerSetInstallResultSuccess'} + +``` + + diff --git a/old_docs/API_docs_v62/constructors/messages.stickers.md b/old_docs/API_docs_v62/constructors/messages.stickers.md new file mode 100644 index 00000000..310b64b0 --- /dev/null +++ b/old_docs/API_docs_v62/constructors/messages.stickers.md @@ -0,0 +1,39 @@ +--- +title: messages.stickers +description: Found stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickers +[Back to constructors index](index.md) + + + +Found stickers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[string](../types/string.md) | Yes|Hash| +|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| + + + +### Type: [messages.Stickers](../types/messages.Stickers.md) + + +### Example: + +```php +$messages.stickers = ['_' => 'messages.stickers', 'hash' => 'string', 'stickers' => [Document, Document]]; +``` + + +Or, if you're into Lua: + +```lua +messages.stickers={_='messages.stickers', hash='string', stickers={Document}} + +``` + + diff --git a/old_docs/API_docs_v62/constructors/messages.stickersNotModified.md b/old_docs/API_docs_v62/constructors/messages.stickersNotModified.md new file mode 100644 index 00000000..e8c7766c --- /dev/null +++ b/old_docs/API_docs_v62/constructors/messages.stickersNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.stickersNotModified +description: No new stickers were found for the given query +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickersNotModified +[Back to constructors index](index.md) + + + +No new stickers were found for the given query + + + + +### Type: [messages.Stickers](../types/messages.Stickers.md) + + +### Example: + +```php +$messages.stickersNotModified = ['_' => 'messages.stickersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.stickersNotModified={_='messages.stickersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v62/constructors/messages_affectedHistory.md b/old_docs/API_docs_v62/constructors/messages_affectedHistory.md deleted file mode 100644 index 449a7e3f..00000000 --- a/old_docs/API_docs_v62/constructors/messages_affectedHistory.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.affectedHistory -description: Affected part of communication history with the user or in a chat. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.affectedHistory -[Back to constructors index](index.md) - - - -Affected part of communication history with the user or in a chat. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| -|pts\_count|[int](../types/int.md) | Yes|Number of affected events| -|offset|[int](../types/int.md) | Yes|If a parameter contains positive value, it is necessary to repeat the method call using the given value; during the proceeding of all the history the value itself shall gradually decrease| - - - -### Type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) - - -### Example: - -```php -$messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_affectedHistory={_='messages.affectedHistory', pts=int, pts_count=int, offset=int} - -``` - - diff --git a/old_docs/API_docs_v62/constructors/messages_affectedMessages.md b/old_docs/API_docs_v62/constructors/messages_affectedMessages.md deleted file mode 100644 index 86760581..00000000 --- a/old_docs/API_docs_v62/constructors/messages_affectedMessages.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.affectedMessages -description: Events affected by operation -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.affectedMessages -[Back to constructors index](index.md) - - - -Events affected by operation - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|[Event count after generation](https://core.telegram.org/api/updates)| -|pts\_count|[int](../types/int.md) | Yes|[Number of events that were generated](https://core.telegram.org/api/updates)| - - - -### Type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) - - -### Example: - -```php -$messages_affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_affectedMessages={_='messages.affectedMessages', pts=int, pts_count=int} - -``` - - diff --git a/old_docs/API_docs_v62/constructors/messages_allStickers.md b/old_docs/API_docs_v62/constructors/messages_allStickers.md deleted file mode 100644 index 2e64f46e..00000000 --- a/old_docs/API_docs_v62/constructors/messages_allStickers.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.allStickers -description: Info about all installed stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.allStickers -[Back to constructors index](index.md) - - - -Info about all installed stickers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|sets|Array of [StickerSet](../types/StickerSet.md) | Yes|Sets| - - - -### Type: [messages\_AllStickers](../types/messages_AllStickers.md) - - -### Example: - -```php -$messages_allStickers = ['_' => 'messages.allStickers', 'hash' => int, 'sets' => [StickerSet, StickerSet]]; -``` - - -Or, if you're into Lua: - -```lua -messages_allStickers={_='messages.allStickers', hash=int, sets={StickerSet}} - -``` - - diff --git a/old_docs/API_docs_v62/constructors/messages_allStickersNotModified.md b/old_docs/API_docs_v62/constructors/messages_allStickersNotModified.md deleted file mode 100644 index c4da85ab..00000000 --- a/old_docs/API_docs_v62/constructors/messages_allStickersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.allStickersNotModified -description: Info about all installed stickers hasn't changed -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.allStickersNotModified -[Back to constructors index](index.md) - - - -Info about all installed stickers hasn't changed - - - - -### Type: [messages\_AllStickers](../types/messages_AllStickers.md) - - -### Example: - -```php -$messages_allStickersNotModified = ['_' => 'messages.allStickersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_allStickersNotModified={_='messages.allStickersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v62/constructors/messages_archivedStickers.md b/old_docs/API_docs_v62/constructors/messages_archivedStickers.md deleted file mode 100644 index 6b28c885..00000000 --- a/old_docs/API_docs_v62/constructors/messages_archivedStickers.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.archivedStickers -description: Archived stickersets -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.archivedStickers -[Back to constructors index](index.md) - - - -Archived stickersets - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Number of archived stickers| -|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| - - - -### Type: [messages\_ArchivedStickers](../types/messages_ArchivedStickers.md) - - -### Example: - -```php -$messages_archivedStickers = ['_' => 'messages.archivedStickers', 'count' => int, 'sets' => [StickerSetCovered, StickerSetCovered]]; -``` - - -Or, if you're into Lua: - -```lua -messages_archivedStickers={_='messages.archivedStickers', count=int, sets={StickerSetCovered}} - -``` - - diff --git a/old_docs/API_docs_v62/constructors/messages_botCallbackAnswer.md b/old_docs/API_docs_v62/constructors/messages_botCallbackAnswer.md deleted file mode 100644 index df8c3185..00000000 --- a/old_docs/API_docs_v62/constructors/messages_botCallbackAnswer.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: messages.botCallbackAnswer -description: Callback answer sent by the bot in response to a button press -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.botCallbackAnswer -[Back to constructors index](index.md) - - - -Callback answer sent by the bot in response to a button press - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|alert|[Bool](../types/Bool.md) | Optional|Whether an alert should be shown to the user instead of a toast notification| -|has\_url|[Bool](../types/Bool.md) | Optional|Whether an URL is present| -|message|[string](../types/string.md) | Optional|Alert to show| -|url|[string](../types/string.md) | Optional|URL to open| -|cache\_time|[int](../types/int.md) | Yes|For how long should this answer be cached| - - - -### Type: [messages\_BotCallbackAnswer](../types/messages_BotCallbackAnswer.md) - - -### Example: - -```php -$messages_botCallbackAnswer = ['_' => 'messages.botCallbackAnswer', 'alert' => Bool, 'has_url' => Bool, 'message' => 'string', 'url' => 'string', 'cache_time' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_botCallbackAnswer={_='messages.botCallbackAnswer', alert=Bool, has_url=Bool, message='string', url='string', cache_time=int} - -``` - - diff --git a/old_docs/API_docs_v62/constructors/messages_botResults.md b/old_docs/API_docs_v62/constructors/messages_botResults.md deleted file mode 100644 index 77b14e35..00000000 --- a/old_docs/API_docs_v62/constructors/messages_botResults.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: messages.botResults -description: Result of a query to an inline bot -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.botResults -[Back to constructors index](index.md) - - - -Result of a query to an inline bot - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|gallery|[Bool](../types/Bool.md) | Optional|Whether the result is a picture gallery| -|query\_id|[long](../types/long.md) | Yes|Query ID| -|next\_offset|[string](../types/string.md) | Optional|The next offset to use when navigating through results| -|switch\_pm|[InlineBotSwitchPM](../types/InlineBotSwitchPM.md) | Optional|Whether the bot requested the user to message him in private| -|results|Array of [BotInlineResult](../types/BotInlineResult.md) | Yes|Results| -|cache\_time|[int](../types/int.md) | Yes|Caching validity of the results| - - - -### Type: [messages\_BotResults](../types/messages_BotResults.md) - - -### Example: - -```php -$messages_botResults = ['_' => 'messages.botResults', 'gallery' => Bool, 'query_id' => long, 'next_offset' => 'string', 'switch_pm' => InlineBotSwitchPM, 'results' => [BotInlineResult, BotInlineResult], 'cache_time' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_botResults={_='messages.botResults', gallery=Bool, query_id=long, next_offset='string', switch_pm=InlineBotSwitchPM, results={BotInlineResult}, cache_time=int} - -``` - - diff --git a/old_docs/API_docs_v62/constructors/messages_channelMessages.md b/old_docs/API_docs_v62/constructors/messages_channelMessages.md deleted file mode 100644 index 12cdb9cd..00000000 --- a/old_docs/API_docs_v62/constructors/messages_channelMessages.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: messages.channelMessages -description: Channel messages -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.channelMessages -[Back to constructors index](index.md) - - - -Channel messages - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|[Event count after generation](https://core.telegram.org/api/updates)| -|count|[int](../types/int.md) | Yes|Total number of results were found server-side (may not be all included here)| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Messages](../types/messages_Messages.md) - - -### Example: - -```php -$messages_channelMessages = ['_' => 'messages.channelMessages', 'pts' => int, 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_channelMessages={_='messages.channelMessages', pts=int, count=int, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v62/constructors/messages_chatFull.md b/old_docs/API_docs_v62/constructors/messages_chatFull.md deleted file mode 100644 index 02f1acdf..00000000 --- a/old_docs/API_docs_v62/constructors/messages_chatFull.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.chatFull -description: Extended info on chat and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.chatFull -[Back to constructors index](index.md) - - - -Extended info on chat and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|full\_chat|[ChatFull](../types/ChatFull.md) | Yes|Extended info on a chat| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_ChatFull](../types/messages_ChatFull.md) - - -### Example: - -```php -$messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_chatFull={_='messages.chatFull', full_chat=ChatFull, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v62/constructors/messages_chats.md b/old_docs/API_docs_v62/constructors/messages_chats.md deleted file mode 100644 index ef3690a9..00000000 --- a/old_docs/API_docs_v62/constructors/messages_chats.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.chats -description: List of chats with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.chats -[Back to constructors index](index.md) - - - -List of chats with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| - - - -### Type: [messages\_Chats](../types/messages_Chats.md) - - -### Example: - -```php -$messages_chats = ['_' => 'messages.chats', 'chats' => [Chat, Chat]]; -``` - - -Or, if you're into Lua: - -```lua -messages_chats={_='messages.chats', chats={Chat}} - -``` - - diff --git a/old_docs/API_docs_v62/constructors/messages_chatsSlice.md b/old_docs/API_docs_v62/constructors/messages_chatsSlice.md deleted file mode 100644 index f19c4357..00000000 --- a/old_docs/API_docs_v62/constructors/messages_chatsSlice.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.chatsSlice -description: Partial list of chats, more would have to be fetched with [pagination](https://core.telegram.org/api/offsets) -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.chatsSlice -[Back to constructors index](index.md) - - - -Partial list of chats, more would have to be fetched with [pagination](https://core.telegram.org/api/offsets) - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of results that were found server-side (not all are included in `chats`)| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| - - - -### Type: [messages\_Chats](../types/messages_Chats.md) - - -### Example: - -```php -$messages_chatsSlice = ['_' => 'messages.chatsSlice', 'count' => int, 'chats' => [Chat, Chat]]; -``` - - -Or, if you're into Lua: - -```lua -messages_chatsSlice={_='messages.chatsSlice', count=int, chats={Chat}} - -``` - - diff --git a/old_docs/API_docs_v62/constructors/messages_dhConfig.md b/old_docs/API_docs_v62/constructors/messages_dhConfig.md deleted file mode 100644 index 42c2feb1..00000000 --- a/old_docs/API_docs_v62/constructors/messages_dhConfig.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: messages.dhConfig -description: New set of configuring parameters. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dhConfig -[Back to constructors index](index.md) - - - -New set of configuring parameters. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|g|[int](../types/int.md) | Yes|New value **prime**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| -|p|[bytes](../types/bytes.md) | Yes|New value **primitive root**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| -|version|[int](../types/int.md) | Yes|Vestion of set of parameters| -|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| - - - -### Type: [messages\_DhConfig](../types/messages_DhConfig.md) - - -### Example: - -```php -$messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'version' => int, 'random' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -messages_dhConfig={_='messages.dhConfig', g=int, p='bytes', version=int, random='bytes'} - -``` - - diff --git a/old_docs/API_docs_v62/constructors/messages_dhConfigNotModified.md b/old_docs/API_docs_v62/constructors/messages_dhConfigNotModified.md deleted file mode 100644 index 5bf64230..00000000 --- a/old_docs/API_docs_v62/constructors/messages_dhConfigNotModified.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.dhConfigNotModified -description: Configuring parameters did not change. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dhConfigNotModified -[Back to constructors index](index.md) - - - -Configuring parameters did not change. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| - - - -### Type: [messages\_DhConfig](../types/messages_DhConfig.md) - - -### Example: - -```php -$messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -messages_dhConfigNotModified={_='messages.dhConfigNotModified', random='bytes'} - -``` - - diff --git a/old_docs/API_docs_v62/constructors/messages_dialogs.md b/old_docs/API_docs_v62/constructors/messages_dialogs.md deleted file mode 100644 index e6a431b4..00000000 --- a/old_docs/API_docs_v62/constructors/messages_dialogs.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: messages.dialogs -description: Full list of chats with messages and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dialogs -[Back to constructors index](index.md) - - - -Full list of chats with messages and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Dialogs](../types/messages_Dialogs.md) - - -### Example: - -```php -$messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_dialogs={_='messages.dialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v62/constructors/messages_dialogsSlice.md b/old_docs/API_docs_v62/constructors/messages_dialogsSlice.md deleted file mode 100644 index f183b9a8..00000000 --- a/old_docs/API_docs_v62/constructors/messages_dialogsSlice.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: messages.dialogsSlice -description: Incomplete list of dialogs with messages and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dialogsSlice -[Back to constructors index](index.md) - - - -Incomplete list of dialogs with messages and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of dialogs| -|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Dialogs](../types/messages_Dialogs.md) - - -### Example: - -```php -$messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_dialogsSlice={_='messages.dialogsSlice', count=int, dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v62/constructors/messages_featuredStickers.md b/old_docs/API_docs_v62/constructors/messages_featuredStickers.md deleted file mode 100644 index 8ef1046e..00000000 --- a/old_docs/API_docs_v62/constructors/messages_featuredStickers.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.featuredStickers -description: Featured stickersets -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.featuredStickers -[Back to constructors index](index.md) - - - -Featured stickersets - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| -|unread|Array of [long](../types/long.md) | Yes|Unread| - - - -### Type: [messages\_FeaturedStickers](../types/messages_FeaturedStickers.md) - - -### Example: - -```php -$messages_featuredStickers = ['_' => 'messages.featuredStickers', 'hash' => int, 'sets' => [StickerSetCovered, StickerSetCovered], 'unread' => [long, long]]; -``` - - -Or, if you're into Lua: - -```lua -messages_featuredStickers={_='messages.featuredStickers', hash=int, sets={StickerSetCovered}, unread={long}} - -``` - - diff --git a/old_docs/API_docs_v62/constructors/messages_featuredStickersNotModified.md b/old_docs/API_docs_v62/constructors/messages_featuredStickersNotModified.md deleted file mode 100644 index de01131b..00000000 --- a/old_docs/API_docs_v62/constructors/messages_featuredStickersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.featuredStickersNotModified -description: Featured stickers haven't changed -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.featuredStickersNotModified -[Back to constructors index](index.md) - - - -Featured stickers haven't changed - - - - -### Type: [messages\_FeaturedStickers](../types/messages_FeaturedStickers.md) - - -### Example: - -```php -$messages_featuredStickersNotModified = ['_' => 'messages.featuredStickersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_featuredStickersNotModified={_='messages.featuredStickersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v62/constructors/messages_foundGifs.md b/old_docs/API_docs_v62/constructors/messages_foundGifs.md deleted file mode 100644 index eb3603ca..00000000 --- a/old_docs/API_docs_v62/constructors/messages_foundGifs.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.foundGifs -description: Found GIFs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.foundGifs -[Back to constructors index](index.md) - - - -Found GIFs - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|next\_offset|[int](../types/int.md) | Yes|Next offset to use when trying to [load more results](../methods/messages.searchGifs.md)| -|results|Array of [FoundGif](../types/FoundGif.md) | Yes|Results| - - - -### Type: [messages\_FoundGifs](../types/messages_FoundGifs.md) - - -### Example: - -```php -$messages_foundGifs = ['_' => 'messages.foundGifs', 'next_offset' => int, 'results' => [FoundGif, FoundGif]]; -``` - - -Or, if you're into Lua: - -```lua -messages_foundGifs={_='messages.foundGifs', next_offset=int, results={FoundGif}} - -``` - - diff --git a/old_docs/API_docs_v62/constructors/messages_highScores.md b/old_docs/API_docs_v62/constructors/messages_highScores.md deleted file mode 100644 index d6fc5210..00000000 --- a/old_docs/API_docs_v62/constructors/messages_highScores.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.highScores -description: Highscores in a game -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.highScores -[Back to constructors index](index.md) - - - -Highscores in a game - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|scores|Array of [HighScore](../types/HighScore.md) | Yes|Scores| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_HighScores](../types/messages_HighScores.md) - - -### Example: - -```php -$messages_highScores = ['_' => 'messages.highScores', 'scores' => [HighScore, HighScore], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_highScores={_='messages.highScores', scores={HighScore}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v62/constructors/messages_messageEditData.md b/old_docs/API_docs_v62/constructors/messages_messageEditData.md deleted file mode 100644 index 76aefca5..00000000 --- a/old_docs/API_docs_v62/constructors/messages_messageEditData.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.messageEditData -description: Message edit data for media -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.messageEditData -[Back to constructors index](index.md) - - - -Message edit data for media - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|caption|[Bool](../types/Bool.md) | Optional|Media caption, if the specified media's caption can be edited| - - - -### Type: [messages\_MessageEditData](../types/messages_MessageEditData.md) - - -### Example: - -```php -$messages_messageEditData = ['_' => 'messages.messageEditData', 'caption' => Bool]; -``` - - -Or, if you're into Lua: - -```lua -messages_messageEditData={_='messages.messageEditData', caption=Bool} - -``` - - diff --git a/old_docs/API_docs_v62/constructors/messages_messages.md b/old_docs/API_docs_v62/constructors/messages_messages.md deleted file mode 100644 index 3e369e1a..00000000 --- a/old_docs/API_docs_v62/constructors/messages_messages.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.messages -description: Full list of messages with auxilary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.messages -[Back to constructors index](index.md) - - - -Full list of messages with auxilary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Messages](../types/messages_Messages.md) - - -### Example: - -```php -$messages_messages = ['_' => 'messages.messages', 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_messages={_='messages.messages', messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v62/constructors/messages_messagesSlice.md b/old_docs/API_docs_v62/constructors/messages_messagesSlice.md deleted file mode 100644 index f9b8dc18..00000000 --- a/old_docs/API_docs_v62/constructors/messages_messagesSlice.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: messages.messagesSlice -description: Incomplete list of messages and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.messagesSlice -[Back to constructors index](index.md) - - - -Incomplete list of messages and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of messages in the list| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Messages](../types/messages_Messages.md) - - -### Example: - -```php -$messages_messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_messagesSlice={_='messages.messagesSlice', count=int, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v62/constructors/messages_peerDialogs.md b/old_docs/API_docs_v62/constructors/messages_peerDialogs.md deleted file mode 100644 index 29b4b842..00000000 --- a/old_docs/API_docs_v62/constructors/messages_peerDialogs.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: messages.peerDialogs -description: Dialog info of multiple peers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.peerDialogs -[Back to constructors index](index.md) - - - -Dialog info of multiple peers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| -|state|[updates\_State](../types/updates_State.md) | Yes|Current [update state of dialog](https://core.telegram.org/api/updates)| - - - -### Type: [messages\_PeerDialogs](../types/messages_PeerDialogs.md) - - -### Example: - -```php -$messages_peerDialogs = ['_' => 'messages.peerDialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates_State]; -``` - - -Or, if you're into Lua: - -```lua -messages_peerDialogs={_='messages.peerDialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}, state=updates_State} - -``` - - diff --git a/old_docs/API_docs_v62/constructors/messages_recentStickers.md b/old_docs/API_docs_v62/constructors/messages_recentStickers.md deleted file mode 100644 index 31b059e5..00000000 --- a/old_docs/API_docs_v62/constructors/messages_recentStickers.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.recentStickers -description: Recently used stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.recentStickers -[Back to constructors index](index.md) - - - -Recently used stickers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| - - - -### Type: [messages\_RecentStickers](../types/messages_RecentStickers.md) - - -### Example: - -```php -$messages_recentStickers = ['_' => 'messages.recentStickers', 'hash' => int, 'stickers' => [Document, Document]]; -``` - - -Or, if you're into Lua: - -```lua -messages_recentStickers={_='messages.recentStickers', hash=int, stickers={Document}} - -``` - - diff --git a/old_docs/API_docs_v62/constructors/messages_recentStickersNotModified.md b/old_docs/API_docs_v62/constructors/messages_recentStickersNotModified.md deleted file mode 100644 index 3e81dceb..00000000 --- a/old_docs/API_docs_v62/constructors/messages_recentStickersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.recentStickersNotModified -description: No new recent sticker was found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.recentStickersNotModified -[Back to constructors index](index.md) - - - -No new recent sticker was found - - - - -### Type: [messages\_RecentStickers](../types/messages_RecentStickers.md) - - -### Example: - -```php -$messages_recentStickersNotModified = ['_' => 'messages.recentStickersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_recentStickersNotModified={_='messages.recentStickersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v62/constructors/messages_savedGifs.md b/old_docs/API_docs_v62/constructors/messages_savedGifs.md deleted file mode 100644 index ed3e8ea3..00000000 --- a/old_docs/API_docs_v62/constructors/messages_savedGifs.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.savedGifs -description: Saved gifs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.savedGifs -[Back to constructors index](index.md) - - - -Saved gifs - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|gifs|Array of [Document](../types/Document.md) | Yes|Gifs| - - - -### Type: [messages\_SavedGifs](../types/messages_SavedGifs.md) - - -### Example: - -```php -$messages_savedGifs = ['_' => 'messages.savedGifs', 'hash' => int, 'gifs' => [Document, Document]]; -``` - - -Or, if you're into Lua: - -```lua -messages_savedGifs={_='messages.savedGifs', hash=int, gifs={Document}} - -``` - - diff --git a/old_docs/API_docs_v62/constructors/messages_savedGifsNotModified.md b/old_docs/API_docs_v62/constructors/messages_savedGifsNotModified.md deleted file mode 100644 index 0f843a0c..00000000 --- a/old_docs/API_docs_v62/constructors/messages_savedGifsNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.savedGifsNotModified -description: No new saved gifs were found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.savedGifsNotModified -[Back to constructors index](index.md) - - - -No new saved gifs were found - - - - -### Type: [messages\_SavedGifs](../types/messages_SavedGifs.md) - - -### Example: - -```php -$messages_savedGifsNotModified = ['_' => 'messages.savedGifsNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_savedGifsNotModified={_='messages.savedGifsNotModified'} - -``` - - diff --git a/old_docs/API_docs_v62/constructors/messages_sentEncryptedFile.md b/old_docs/API_docs_v62/constructors/messages_sentEncryptedFile.md deleted file mode 100644 index fdc2a11e..00000000 --- a/old_docs/API_docs_v62/constructors/messages_sentEncryptedFile.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.sentEncryptedFile -description: Message with a file enclosure sent to a protected chat -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.sentEncryptedFile -[Back to constructors index](index.md) - - - -Message with a file enclosure sent to a protected chat - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Sending date| -|file|[EncryptedFile](../types/EncryptedFile.md) | Optional|Attached file| - - - -### Type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) - - -### Example: - -```php -$messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile]; -``` - - -Or, if you're into Lua: - -```lua -messages_sentEncryptedFile={_='messages.sentEncryptedFile', date=int, file=EncryptedFile} - -``` - - diff --git a/old_docs/API_docs_v62/constructors/messages_sentEncryptedMessage.md b/old_docs/API_docs_v62/constructors/messages_sentEncryptedMessage.md deleted file mode 100644 index 36b2bbff..00000000 --- a/old_docs/API_docs_v62/constructors/messages_sentEncryptedMessage.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.sentEncryptedMessage -description: Message without file attachemts sent to an encrypted file. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.sentEncryptedMessage -[Back to constructors index](index.md) - - - -Message without file attachemts sent to an encrypted file. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Date of sending| - - - -### Type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) - - -### Example: - -```php -$messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_sentEncryptedMessage={_='messages.sentEncryptedMessage', date=int} - -``` - - diff --git a/old_docs/API_docs_v62/constructors/messages_stickerSet.md b/old_docs/API_docs_v62/constructors/messages_stickerSet.md deleted file mode 100644 index 127191de..00000000 --- a/old_docs/API_docs_v62/constructors/messages_stickerSet.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.stickerSet -description: Stickerset and stickers inside it -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickerSet -[Back to constructors index](index.md) - - - -Stickerset and stickers inside it - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|set|[StickerSet](../types/StickerSet.md) | Yes|The stickerset| -|packs|Array of [StickerPack](../types/StickerPack.md) | Yes|Packs| -|documents|Array of [Document](../types/Document.md) | Yes|Documents| - - - -### Type: [messages\_StickerSet](../types/messages_StickerSet.md) - - -### Example: - -```php -$messages_stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'packs' => [StickerPack, StickerPack], 'documents' => [Document, Document]]; -``` - - -Or, if you're into Lua: - -```lua -messages_stickerSet={_='messages.stickerSet', set=StickerSet, packs={StickerPack}, documents={Document}} - -``` - - diff --git a/old_docs/API_docs_v62/constructors/messages_stickerSetInstallResultArchive.md b/old_docs/API_docs_v62/constructors/messages_stickerSetInstallResultArchive.md deleted file mode 100644 index 8a5f4d5d..00000000 --- a/old_docs/API_docs_v62/constructors/messages_stickerSetInstallResultArchive.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.stickerSetInstallResultArchive -description: The stickerset was installed, but since there are too many stickersets some were archived -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickerSetInstallResultArchive -[Back to constructors index](index.md) - - - -The stickerset was installed, but since there are too many stickersets some were archived - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| - - - -### Type: [messages\_StickerSetInstallResult](../types/messages_StickerSetInstallResult.md) - - -### Example: - -```php -$messages_stickerSetInstallResultArchive = ['_' => 'messages.stickerSetInstallResultArchive', 'sets' => [StickerSetCovered, StickerSetCovered]]; -``` - - -Or, if you're into Lua: - -```lua -messages_stickerSetInstallResultArchive={_='messages.stickerSetInstallResultArchive', sets={StickerSetCovered}} - -``` - - diff --git a/old_docs/API_docs_v62/constructors/messages_stickerSetInstallResultSuccess.md b/old_docs/API_docs_v62/constructors/messages_stickerSetInstallResultSuccess.md deleted file mode 100644 index 1d33b89f..00000000 --- a/old_docs/API_docs_v62/constructors/messages_stickerSetInstallResultSuccess.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.stickerSetInstallResultSuccess -description: The stickerset was installed successfully -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickerSetInstallResultSuccess -[Back to constructors index](index.md) - - - -The stickerset was installed successfully - - - - -### Type: [messages\_StickerSetInstallResult](../types/messages_StickerSetInstallResult.md) - - -### Example: - -```php -$messages_stickerSetInstallResultSuccess = ['_' => 'messages.stickerSetInstallResultSuccess']; -``` - - -Or, if you're into Lua: - -```lua -messages_stickerSetInstallResultSuccess={_='messages.stickerSetInstallResultSuccess'} - -``` - - diff --git a/old_docs/API_docs_v62/constructors/messages_stickers.md b/old_docs/API_docs_v62/constructors/messages_stickers.md deleted file mode 100644 index 1c007df2..00000000 --- a/old_docs/API_docs_v62/constructors/messages_stickers.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.stickers -description: Found stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickers -[Back to constructors index](index.md) - - - -Found stickers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[string](../types/string.md) | Yes|Hash| -|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| - - - -### Type: [messages\_Stickers](../types/messages_Stickers.md) - - -### Example: - -```php -$messages_stickers = ['_' => 'messages.stickers', 'hash' => 'string', 'stickers' => [Document, Document]]; -``` - - -Or, if you're into Lua: - -```lua -messages_stickers={_='messages.stickers', hash='string', stickers={Document}} - -``` - - diff --git a/old_docs/API_docs_v62/constructors/messages_stickersNotModified.md b/old_docs/API_docs_v62/constructors/messages_stickersNotModified.md deleted file mode 100644 index 3d434a79..00000000 --- a/old_docs/API_docs_v62/constructors/messages_stickersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.stickersNotModified -description: No new stickers were found for the given query -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickersNotModified -[Back to constructors index](index.md) - - - -No new stickers were found for the given query - - - - -### Type: [messages\_Stickers](../types/messages_Stickers.md) - - -### Example: - -```php -$messages_stickersNotModified = ['_' => 'messages.stickersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_stickersNotModified={_='messages.stickersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v62/constructors/phone.phoneCall.md b/old_docs/API_docs_v62/constructors/phone.phoneCall.md new file mode 100644 index 00000000..8c1d26d4 --- /dev/null +++ b/old_docs/API_docs_v62/constructors/phone.phoneCall.md @@ -0,0 +1,39 @@ +--- +title: phone.phoneCall +description: A VoIP phone call +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: phone.phoneCall +[Back to constructors index](index.md) + + + +A VoIP phone call + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_call|[PhoneCall](../types/PhoneCall.md) | Optional|The VoIP phone call| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [phone.PhoneCall](../types/phone.PhoneCall.md) + + +### Example: + +```php +$phone.phoneCall = ['_' => 'phone.phoneCall', 'phone_call' => PhoneCall, 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +phone.phoneCall={_='phone.phoneCall', phone_call=PhoneCall, users={User}} + +``` + + diff --git a/old_docs/API_docs_v62/constructors/phone_phoneCall.md b/old_docs/API_docs_v62/constructors/phone_phoneCall.md deleted file mode 100644 index 94314567..00000000 --- a/old_docs/API_docs_v62/constructors/phone_phoneCall.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: phone.phoneCall -description: A VoIP phone call -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: phone.phoneCall -[Back to constructors index](index.md) - - - -A VoIP phone call - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_call|[PhoneCall](../types/PhoneCall.md) | Optional|The VoIP phone call| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [phone\_PhoneCall](../types/phone_PhoneCall.md) - - -### Example: - -```php -$phone_phoneCall = ['_' => 'phone.phoneCall', 'phone_call' => PhoneCall, 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -phone_phoneCall={_='phone.phoneCall', phone_call=PhoneCall, users={User}} - -``` - - diff --git a/old_docs/API_docs_v62/constructors/photos.photo.md b/old_docs/API_docs_v62/constructors/photos.photo.md new file mode 100644 index 00000000..43d3efc7 --- /dev/null +++ b/old_docs/API_docs_v62/constructors/photos.photo.md @@ -0,0 +1,39 @@ +--- +title: photos.photo +description: Photo with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: photos.photo +[Back to constructors index](index.md) + + + +Photo with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|photo|[Photo](../types/Photo.md) | Optional|Photo| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [photos.Photo](../types/photos.Photo.md) + + +### Example: + +```php +$photos.photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +photos.photo={_='photos.photo', photo=Photo, users={User}} + +``` + + diff --git a/old_docs/API_docs_v62/constructors/photos.photos.md b/old_docs/API_docs_v62/constructors/photos.photos.md new file mode 100644 index 00000000..901a9693 --- /dev/null +++ b/old_docs/API_docs_v62/constructors/photos.photos.md @@ -0,0 +1,39 @@ +--- +title: photos.photos +description: Full list of photos with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: photos.photos +[Back to constructors index](index.md) + + + +Full list of photos with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [photos.Photos](../types/photos.Photos.md) + + +### Example: + +```php +$photos.photos = ['_' => 'photos.photos', 'photos' => [Photo, Photo], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +photos.photos={_='photos.photos', photos={Photo}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v62/constructors/photos.photosSlice.md b/old_docs/API_docs_v62/constructors/photos.photosSlice.md new file mode 100644 index 00000000..2cca3546 --- /dev/null +++ b/old_docs/API_docs_v62/constructors/photos.photosSlice.md @@ -0,0 +1,40 @@ +--- +title: photos.photosSlice +description: Incomplete list of photos with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: photos.photosSlice +[Back to constructors index](index.md) + + + +Incomplete list of photos with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of photos| +|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [photos.Photos](../types/photos.Photos.md) + + +### Example: + +```php +$photos.photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo, Photo], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +photos.photosSlice={_='photos.photosSlice', count=int, photos={Photo}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v62/constructors/photos_photo.md b/old_docs/API_docs_v62/constructors/photos_photo.md deleted file mode 100644 index d5ad61d9..00000000 --- a/old_docs/API_docs_v62/constructors/photos_photo.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: photos.photo -description: Photo with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: photos.photo -[Back to constructors index](index.md) - - - -Photo with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|photo|[Photo](../types/Photo.md) | Optional|Photo| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [photos\_Photo](../types/photos_Photo.md) - - -### Example: - -```php -$photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -photos_photo={_='photos.photo', photo=Photo, users={User}} - -``` - - diff --git a/old_docs/API_docs_v62/constructors/photos_photos.md b/old_docs/API_docs_v62/constructors/photos_photos.md deleted file mode 100644 index 6ae5d048..00000000 --- a/old_docs/API_docs_v62/constructors/photos_photos.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: photos.photos -description: Full list of photos with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: photos.photos -[Back to constructors index](index.md) - - - -Full list of photos with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [photos\_Photos](../types/photos_Photos.md) - - -### Example: - -```php -$photos_photos = ['_' => 'photos.photos', 'photos' => [Photo, Photo], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -photos_photos={_='photos.photos', photos={Photo}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v62/constructors/photos_photosSlice.md b/old_docs/API_docs_v62/constructors/photos_photosSlice.md deleted file mode 100644 index 5c465c21..00000000 --- a/old_docs/API_docs_v62/constructors/photos_photosSlice.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: photos.photosSlice -description: Incomplete list of photos with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: photos.photosSlice -[Back to constructors index](index.md) - - - -Incomplete list of photos with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of photos| -|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [photos\_Photos](../types/photos_Photos.md) - - -### Example: - -```php -$photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo, Photo], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -photos_photosSlice={_='photos.photosSlice', count=int, photos={Photo}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v62/constructors/storage.fileGif.md b/old_docs/API_docs_v62/constructors/storage.fileGif.md new file mode 100644 index 00000000..8193bd25 --- /dev/null +++ b/old_docs/API_docs_v62/constructors/storage.fileGif.md @@ -0,0 +1,33 @@ +--- +title: storage.fileGif +description: GIF image. MIME type: `image/gif`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileGif +[Back to constructors index](index.md) + + + +GIF image. MIME type: `image/gif`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileGif = ['_' => 'storage.fileGif']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileGif={_='storage.fileGif'} + +``` + + diff --git a/old_docs/API_docs_v62/constructors/storage.fileJpeg.md b/old_docs/API_docs_v62/constructors/storage.fileJpeg.md new file mode 100644 index 00000000..7f125963 --- /dev/null +++ b/old_docs/API_docs_v62/constructors/storage.fileJpeg.md @@ -0,0 +1,33 @@ +--- +title: storage.fileJpeg +description: JPEG image. MIME type: `image/jpeg`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileJpeg +[Back to constructors index](index.md) + + + +JPEG image. MIME type: `image/jpeg`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileJpeg = ['_' => 'storage.fileJpeg']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileJpeg={_='storage.fileJpeg'} + +``` + + diff --git a/old_docs/API_docs_v62/constructors/storage.fileMov.md b/old_docs/API_docs_v62/constructors/storage.fileMov.md new file mode 100644 index 00000000..cb3742e0 --- /dev/null +++ b/old_docs/API_docs_v62/constructors/storage.fileMov.md @@ -0,0 +1,33 @@ +--- +title: storage.fileMov +description: Quicktime video. MIME type: `video/quicktime`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileMov +[Back to constructors index](index.md) + + + +Quicktime video. MIME type: `video/quicktime`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileMov = ['_' => 'storage.fileMov']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileMov={_='storage.fileMov'} + +``` + + diff --git a/old_docs/API_docs_v62/constructors/storage.fileMp3.md b/old_docs/API_docs_v62/constructors/storage.fileMp3.md new file mode 100644 index 00000000..617f2d39 --- /dev/null +++ b/old_docs/API_docs_v62/constructors/storage.fileMp3.md @@ -0,0 +1,33 @@ +--- +title: storage.fileMp3 +description: Mp3 audio. MIME type: `audio/mpeg`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileMp3 +[Back to constructors index](index.md) + + + +Mp3 audio. MIME type: `audio/mpeg`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileMp3 = ['_' => 'storage.fileMp3']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileMp3={_='storage.fileMp3'} + +``` + + diff --git a/old_docs/API_docs_v62/constructors/storage.fileMp4.md b/old_docs/API_docs_v62/constructors/storage.fileMp4.md new file mode 100644 index 00000000..37038176 --- /dev/null +++ b/old_docs/API_docs_v62/constructors/storage.fileMp4.md @@ -0,0 +1,33 @@ +--- +title: storage.fileMp4 +description: MPEG-4 video. MIME type: `video/mp4`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileMp4 +[Back to constructors index](index.md) + + + +MPEG-4 video. MIME type: `video/mp4`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileMp4 = ['_' => 'storage.fileMp4']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileMp4={_='storage.fileMp4'} + +``` + + diff --git a/old_docs/API_docs_v62/constructors/storage.filePartial.md b/old_docs/API_docs_v62/constructors/storage.filePartial.md new file mode 100644 index 00000000..98779e71 --- /dev/null +++ b/old_docs/API_docs_v62/constructors/storage.filePartial.md @@ -0,0 +1,33 @@ +--- +title: storage.filePartial +description: Part of a bigger file. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.filePartial +[Back to constructors index](index.md) + + + +Part of a bigger file. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.filePartial = ['_' => 'storage.filePartial']; +``` + + +Or, if you're into Lua: + +```lua +storage.filePartial={_='storage.filePartial'} + +``` + + diff --git a/old_docs/API_docs_v62/constructors/storage.filePdf.md b/old_docs/API_docs_v62/constructors/storage.filePdf.md new file mode 100644 index 00000000..136c0614 --- /dev/null +++ b/old_docs/API_docs_v62/constructors/storage.filePdf.md @@ -0,0 +1,33 @@ +--- +title: storage.filePdf +description: PDF document image. MIME type: `application/pdf`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.filePdf +[Back to constructors index](index.md) + + + +PDF document image. MIME type: `application/pdf`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.filePdf = ['_' => 'storage.filePdf']; +``` + + +Or, if you're into Lua: + +```lua +storage.filePdf={_='storage.filePdf'} + +``` + + diff --git a/old_docs/API_docs_v62/constructors/storage.filePng.md b/old_docs/API_docs_v62/constructors/storage.filePng.md new file mode 100644 index 00000000..db01ce0e --- /dev/null +++ b/old_docs/API_docs_v62/constructors/storage.filePng.md @@ -0,0 +1,33 @@ +--- +title: storage.filePng +description: PNG image. MIME type: `image/png`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.filePng +[Back to constructors index](index.md) + + + +PNG image. MIME type: `image/png`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.filePng = ['_' => 'storage.filePng']; +``` + + +Or, if you're into Lua: + +```lua +storage.filePng={_='storage.filePng'} + +``` + + diff --git a/old_docs/API_docs_v62/constructors/storage.fileUnknown.md b/old_docs/API_docs_v62/constructors/storage.fileUnknown.md new file mode 100644 index 00000000..26f0a5ae --- /dev/null +++ b/old_docs/API_docs_v62/constructors/storage.fileUnknown.md @@ -0,0 +1,33 @@ +--- +title: storage.fileUnknown +description: Unknown type. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileUnknown +[Back to constructors index](index.md) + + + +Unknown type. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileUnknown = ['_' => 'storage.fileUnknown']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileUnknown={_='storage.fileUnknown'} + +``` + + diff --git a/old_docs/API_docs_v62/constructors/storage.fileWebp.md b/old_docs/API_docs_v62/constructors/storage.fileWebp.md new file mode 100644 index 00000000..63c9ded1 --- /dev/null +++ b/old_docs/API_docs_v62/constructors/storage.fileWebp.md @@ -0,0 +1,33 @@ +--- +title: storage.fileWebp +description: WEBP image. MIME type: `image/webp`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileWebp +[Back to constructors index](index.md) + + + +WEBP image. MIME type: `image/webp`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileWebp = ['_' => 'storage.fileWebp']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileWebp={_='storage.fileWebp'} + +``` + + diff --git a/old_docs/API_docs_v62/constructors/storage_fileGif.md b/old_docs/API_docs_v62/constructors/storage_fileGif.md deleted file mode 100644 index 218c7491..00000000 --- a/old_docs/API_docs_v62/constructors/storage_fileGif.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileGif -description: GIF image. MIME type: `image/gif`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileGif -[Back to constructors index](index.md) - - - -GIF image. MIME type: `image/gif`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileGif = ['_' => 'storage.fileGif']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileGif={_='storage.fileGif'} - -``` - - diff --git a/old_docs/API_docs_v62/constructors/storage_fileJpeg.md b/old_docs/API_docs_v62/constructors/storage_fileJpeg.md deleted file mode 100644 index 925531cd..00000000 --- a/old_docs/API_docs_v62/constructors/storage_fileJpeg.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileJpeg -description: JPEG image. MIME type: `image/jpeg`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileJpeg -[Back to constructors index](index.md) - - - -JPEG image. MIME type: `image/jpeg`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileJpeg = ['_' => 'storage.fileJpeg']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileJpeg={_='storage.fileJpeg'} - -``` - - diff --git a/old_docs/API_docs_v62/constructors/storage_fileMov.md b/old_docs/API_docs_v62/constructors/storage_fileMov.md deleted file mode 100644 index eaf2a6ff..00000000 --- a/old_docs/API_docs_v62/constructors/storage_fileMov.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileMov -description: Quicktime video. MIME type: `video/quicktime`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileMov -[Back to constructors index](index.md) - - - -Quicktime video. MIME type: `video/quicktime`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileMov = ['_' => 'storage.fileMov']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileMov={_='storage.fileMov'} - -``` - - diff --git a/old_docs/API_docs_v62/constructors/storage_fileMp3.md b/old_docs/API_docs_v62/constructors/storage_fileMp3.md deleted file mode 100644 index 9afcefbb..00000000 --- a/old_docs/API_docs_v62/constructors/storage_fileMp3.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileMp3 -description: Mp3 audio. MIME type: `audio/mpeg`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileMp3 -[Back to constructors index](index.md) - - - -Mp3 audio. MIME type: `audio/mpeg`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileMp3 = ['_' => 'storage.fileMp3']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileMp3={_='storage.fileMp3'} - -``` - - diff --git a/old_docs/API_docs_v62/constructors/storage_fileMp4.md b/old_docs/API_docs_v62/constructors/storage_fileMp4.md deleted file mode 100644 index cdc0e783..00000000 --- a/old_docs/API_docs_v62/constructors/storage_fileMp4.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileMp4 -description: MPEG-4 video. MIME type: `video/mp4`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileMp4 -[Back to constructors index](index.md) - - - -MPEG-4 video. MIME type: `video/mp4`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileMp4 = ['_' => 'storage.fileMp4']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileMp4={_='storage.fileMp4'} - -``` - - diff --git a/old_docs/API_docs_v62/constructors/storage_filePartial.md b/old_docs/API_docs_v62/constructors/storage_filePartial.md deleted file mode 100644 index 9bfadf63..00000000 --- a/old_docs/API_docs_v62/constructors/storage_filePartial.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.filePartial -description: Part of a bigger file. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.filePartial -[Back to constructors index](index.md) - - - -Part of a bigger file. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_filePartial = ['_' => 'storage.filePartial']; -``` - - -Or, if you're into Lua: - -```lua -storage_filePartial={_='storage.filePartial'} - -``` - - diff --git a/old_docs/API_docs_v62/constructors/storage_filePdf.md b/old_docs/API_docs_v62/constructors/storage_filePdf.md deleted file mode 100644 index efb022cc..00000000 --- a/old_docs/API_docs_v62/constructors/storage_filePdf.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.filePdf -description: PDF document image. MIME type: `application/pdf`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.filePdf -[Back to constructors index](index.md) - - - -PDF document image. MIME type: `application/pdf`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_filePdf = ['_' => 'storage.filePdf']; -``` - - -Or, if you're into Lua: - -```lua -storage_filePdf={_='storage.filePdf'} - -``` - - diff --git a/old_docs/API_docs_v62/constructors/storage_filePng.md b/old_docs/API_docs_v62/constructors/storage_filePng.md deleted file mode 100644 index 412759e4..00000000 --- a/old_docs/API_docs_v62/constructors/storage_filePng.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.filePng -description: PNG image. MIME type: `image/png`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.filePng -[Back to constructors index](index.md) - - - -PNG image. MIME type: `image/png`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_filePng = ['_' => 'storage.filePng']; -``` - - -Or, if you're into Lua: - -```lua -storage_filePng={_='storage.filePng'} - -``` - - diff --git a/old_docs/API_docs_v62/constructors/storage_fileUnknown.md b/old_docs/API_docs_v62/constructors/storage_fileUnknown.md deleted file mode 100644 index ed33dd5e..00000000 --- a/old_docs/API_docs_v62/constructors/storage_fileUnknown.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileUnknown -description: Unknown type. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileUnknown -[Back to constructors index](index.md) - - - -Unknown type. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileUnknown = ['_' => 'storage.fileUnknown']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileUnknown={_='storage.fileUnknown'} - -``` - - diff --git a/old_docs/API_docs_v62/constructors/storage_fileWebp.md b/old_docs/API_docs_v62/constructors/storage_fileWebp.md deleted file mode 100644 index 04dcad74..00000000 --- a/old_docs/API_docs_v62/constructors/storage_fileWebp.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileWebp -description: WEBP image. MIME type: `image/webp`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileWebp -[Back to constructors index](index.md) - - - -WEBP image. MIME type: `image/webp`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileWebp = ['_' => 'storage.fileWebp']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileWebp={_='storage.fileWebp'} - -``` - - diff --git a/old_docs/API_docs_v62/constructors/updateNewStickerSet.md b/old_docs/API_docs_v62/constructors/updateNewStickerSet.md index 8a99a363..c32c41ff 100644 --- a/old_docs/API_docs_v62/constructors/updateNewStickerSet.md +++ b/old_docs/API_docs_v62/constructors/updateNewStickerSet.md @@ -14,7 +14,7 @@ A new stickerset was installed | Name | Type | Required | Description | |----------|---------------|----------|-------------| -|stickerset|[messages\_StickerSet](../types/messages_StickerSet.md) | Yes|The installed stickerset| +|stickerset|[messages.StickerSet](../constructors/messages.StickerSet.md) | Yes|The installed stickerset| @@ -24,14 +24,14 @@ A new stickerset was installed ### Example: ```php -$updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages_StickerSet]; +$updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages.StickerSet]; ``` Or, if you're into Lua: ```lua -updateNewStickerSet={_='updateNewStickerSet', stickerset=messages_StickerSet} +updateNewStickerSet={_='updateNewStickerSet', stickerset=messages.StickerSet} ``` diff --git a/old_docs/API_docs_v62/constructors/updates.channelDifference.md b/old_docs/API_docs_v62/constructors/updates.channelDifference.md new file mode 100644 index 00000000..5a13791c --- /dev/null +++ b/old_docs/API_docs_v62/constructors/updates.channelDifference.md @@ -0,0 +1,44 @@ +--- +title: updates.channelDifference +description: The new updates +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.channelDifference +[Back to constructors index](index.md) + + + +The new updates + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates to be fetched using getDifference, starting from the provided `pts`| +|pts|[int](../types/int.md) | Yes|The [PTS](https://core.telegram.org/api/updates) from which to start getting updates the next time| +|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| +|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| +|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [updates.ChannelDifference](../types/updates.ChannelDifference.md) + + +### Example: + +```php +$updates.channelDifference = ['_' => 'updates.channelDifference', 'final' => Bool, 'pts' => int, 'timeout' => int, 'new_messages' => [Message, Message], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +updates.channelDifference={_='updates.channelDifference', final=Bool, pts=int, timeout=int, new_messages={Message}, other_updates={Update}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v62/constructors/updates.channelDifferenceEmpty.md b/old_docs/API_docs_v62/constructors/updates.channelDifferenceEmpty.md new file mode 100644 index 00000000..8ce43da4 --- /dev/null +++ b/old_docs/API_docs_v62/constructors/updates.channelDifferenceEmpty.md @@ -0,0 +1,40 @@ +--- +title: updates.channelDifferenceEmpty +description: There are no new updates +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.channelDifferenceEmpty +[Back to constructors index](index.md) + + + +There are no new updates + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates that must be fetched (always false)| +|pts|[int](../types/int.md) | Yes|The latest [PTS](https://core.telegram.org/api/updates)| +|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| + + + +### Type: [updates.ChannelDifference](../types/updates.ChannelDifference.md) + + +### Example: + +```php +$updates.channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'final' => Bool, 'pts' => int, 'timeout' => int]; +``` + + +Or, if you're into Lua: + +```lua +updates.channelDifferenceEmpty={_='updates.channelDifferenceEmpty', final=Bool, pts=int, timeout=int} + +``` + + diff --git a/old_docs/API_docs_v62/constructors/updates.channelDifferenceTooLong.md b/old_docs/API_docs_v62/constructors/updates.channelDifferenceTooLong.md new file mode 100644 index 00000000..3d47a6df --- /dev/null +++ b/old_docs/API_docs_v62/constructors/updates.channelDifferenceTooLong.md @@ -0,0 +1,57 @@ +--- +title: updates.channelDifferenceTooLong +description: The provided `pts + limit < remote pts`. Simply, there are too many updates to be fetched (more than `limit`), the client has to resolve the update gap in one of the following ways: + +1. Delete all known messages in the chat, begin from scratch by refetching all messages manually with [getHistory](../methods/messages.getHistory.md). It is easy to implement, but suddenly disappearing messages looks awful for the user. +2. Save all messages loaded in the memory until application restart, but delete all messages from database. Messages left in the memory must be lazily updated using calls to [getHistory](../methods/messages.getHistory.md). It looks much smoothly for the user, he will need to redownload messages only after client restart. Unsynchronized messages left in the memory shouldn't be saved to database, results of [getHistory](../methods/messages.getHistory.md) and [getMessages](../methods/messages.getMessages.md) must be used to update state of deleted and edited messages left in the memory. +3. Save all messages loaded in the memory and stored in the database without saving that some messages form continuous ranges. Messages in the database will be excluded from results of getChatHistory and searchChatMessages after application restart and will be available only through getMessage. Every message should still be checked using getHistory. It has more disadvantages over 2) than advantages. +4. Save all messages with saving all data about continuous message ranges. Messages from the database may be used as results of getChatHistory and (if implemented continuous ranges support for searching shared media) searchChatMessages. The messages should still be lazily checked using getHistory, but they are still available offline. It is the best way for gaps support, but it is pretty hard to implement correctly. It should be also noted that some messages like live location messages shouldn't be deleted. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.channelDifferenceTooLong +[Back to constructors index](index.md) + + + +The provided `pts + limit < remote pts`. Simply, there are too many updates to be fetched (more than `limit`), the client has to resolve the update gap in one of the following ways: + +1. Delete all known messages in the chat, begin from scratch by refetching all messages manually with [getHistory](../methods/messages.getHistory.md). It is easy to implement, but suddenly disappearing messages looks awful for the user. +2. Save all messages loaded in the memory until application restart, but delete all messages from database. Messages left in the memory must be lazily updated using calls to [getHistory](../methods/messages.getHistory.md). It looks much smoothly for the user, he will need to redownload messages only after client restart. Unsynchronized messages left in the memory shouldn't be saved to database, results of [getHistory](../methods/messages.getHistory.md) and [getMessages](../methods/messages.getMessages.md) must be used to update state of deleted and edited messages left in the memory. +3. Save all messages loaded in the memory and stored in the database without saving that some messages form continuous ranges. Messages in the database will be excluded from results of getChatHistory and searchChatMessages after application restart and will be available only through getMessage. Every message should still be checked using getHistory. It has more disadvantages over 2) than advantages. +4. Save all messages with saving all data about continuous message ranges. Messages from the database may be used as results of getChatHistory and (if implemented continuous ranges support for searching shared media) searchChatMessages. The messages should still be lazily checked using getHistory, but they are still available offline. It is the best way for gaps support, but it is pretty hard to implement correctly. It should be also noted that some messages like live location messages shouldn't be deleted. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates that must be fetched (always false)| +|pts|[int](../types/int.md) | Yes|Pts| +|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| +|top\_message|[int](../types/int.md) | Yes|Top message| +|read\_inbox\_max\_id|[int](../types/int.md) | Yes|Read inbox max ID| +|read\_outbox\_max\_id|[int](../types/int.md) | Yes|Read outbox max ID| +|unread\_count|[int](../types/int.md) | Yes|Unread count| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [updates.ChannelDifference](../types/updates.ChannelDifference.md) + + +### Example: + +```php +$updates.channelDifferenceTooLong = ['_' => 'updates.channelDifferenceTooLong', 'final' => Bool, 'pts' => int, 'timeout' => int, 'top_message' => int, 'read_inbox_max_id' => int, 'read_outbox_max_id' => int, 'unread_count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +updates.channelDifferenceTooLong={_='updates.channelDifferenceTooLong', final=Bool, pts=int, timeout=int, top_message=int, read_inbox_max_id=int, read_outbox_max_id=int, unread_count=int, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v62/constructors/updates.difference.md b/old_docs/API_docs_v62/constructors/updates.difference.md new file mode 100644 index 00000000..82541b51 --- /dev/null +++ b/old_docs/API_docs_v62/constructors/updates.difference.md @@ -0,0 +1,43 @@ +--- +title: updates.difference +description: Full list of occurred events. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.difference +[Back to constructors index](index.md) + + + +Full list of occurred events. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| +|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| +|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| +|state|[updates.State](../constructors/updates.State.md) | Yes|Current state| + + + +### Type: [updates.Difference](../types/updates.Difference.md) + + +### Example: + +```php +$updates.difference = ['_' => 'updates.difference', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates.State]; +``` + + +Or, if you're into Lua: + +```lua +updates.difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates.State} + +``` + + diff --git a/old_docs/API_docs_v62/constructors/updates.differenceEmpty.md b/old_docs/API_docs_v62/constructors/updates.differenceEmpty.md new file mode 100644 index 00000000..a9dc3bd0 --- /dev/null +++ b/old_docs/API_docs_v62/constructors/updates.differenceEmpty.md @@ -0,0 +1,39 @@ +--- +title: updates.differenceEmpty +description: No events. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.differenceEmpty +[Back to constructors index](index.md) + + + +No events. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Current date| +|seq|[int](../types/int.md) | Yes|Number of sent updates| + + + +### Type: [updates.Difference](../types/updates.Difference.md) + + +### Example: + +```php +$updates.differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int]; +``` + + +Or, if you're into Lua: + +```lua +updates.differenceEmpty={_='updates.differenceEmpty', date=int, seq=int} + +``` + + diff --git a/old_docs/API_docs_v62/constructors/updates.differenceSlice.md b/old_docs/API_docs_v62/constructors/updates.differenceSlice.md new file mode 100644 index 00000000..9daf7a75 --- /dev/null +++ b/old_docs/API_docs_v62/constructors/updates.differenceSlice.md @@ -0,0 +1,43 @@ +--- +title: updates.differenceSlice +description: Incomplete list of occurred events. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.differenceSlice +[Back to constructors index](index.md) + + + +Incomplete list of occurred events. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| +|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| +|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| +|intermediate\_state|[updates.State](../constructors/updates.State.md) | Yes|Intermediary state| + + + +### Type: [updates.Difference](../types/updates.Difference.md) + + +### Example: + +```php +$updates.differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'intermediate_state' => updates.State]; +``` + + +Or, if you're into Lua: + +```lua +updates.differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates.State} + +``` + + diff --git a/old_docs/API_docs_v62/constructors/updates.differenceTooLong.md b/old_docs/API_docs_v62/constructors/updates.differenceTooLong.md new file mode 100644 index 00000000..ef2e7e4d --- /dev/null +++ b/old_docs/API_docs_v62/constructors/updates.differenceTooLong.md @@ -0,0 +1,38 @@ +--- +title: updates.differenceTooLong +description: The difference is [too long](https://core.telegram.org/api/updates#recovering-gaps), and the specified state must be used to refetch updates. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.differenceTooLong +[Back to constructors index](index.md) + + + +The difference is [too long](https://core.telegram.org/api/updates#recovering-gaps), and the specified state must be used to refetch updates. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|The new state to use.| + + + +### Type: [updates.Difference](../types/updates.Difference.md) + + +### Example: + +```php +$updates.differenceTooLong = ['_' => 'updates.differenceTooLong', 'pts' => int]; +``` + + +Or, if you're into Lua: + +```lua +updates.differenceTooLong={_='updates.differenceTooLong', pts=int} + +``` + + diff --git a/old_docs/API_docs_v62/constructors/updates.state.md b/old_docs/API_docs_v62/constructors/updates.state.md new file mode 100644 index 00000000..abe9ddbb --- /dev/null +++ b/old_docs/API_docs_v62/constructors/updates.state.md @@ -0,0 +1,42 @@ +--- +title: updates.state +description: Updates state. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.state +[Back to constructors index](index.md) + + + +Updates state. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| +|qts|[int](../types/int.md) | Yes|Position in a sequence of updates in secret chats. For further detailes refer to article [secret chats](https://core.telegram.org/api/end-to-end)
Parameter was added in [eigth layer](https://core.telegram.org/api/layers#layer-8).| +|date|[int](../types/int.md) | Yes|Date of condition| +|seq|[int](../types/int.md) | Yes|Number of sent updates| +|unread\_count|[int](../types/int.md) | Yes|Number of unread messages| + + + +### Type: [updates.State](../types/updates.State.md) + + +### Example: + +```php +$updates.state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int]; +``` + + +Or, if you're into Lua: + +```lua +updates.state={_='updates.state', pts=int, qts=int, date=int, seq=int, unread_count=int} + +``` + + diff --git a/old_docs/API_docs_v62/constructors/updates_channelDifference.md b/old_docs/API_docs_v62/constructors/updates_channelDifference.md deleted file mode 100644 index 1b50fbf3..00000000 --- a/old_docs/API_docs_v62/constructors/updates_channelDifference.md +++ /dev/null @@ -1,44 +0,0 @@ ---- -title: updates.channelDifference -description: The new updates -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.channelDifference -[Back to constructors index](index.md) - - - -The new updates - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates to be fetched using getDifference, starting from the provided `pts`| -|pts|[int](../types/int.md) | Yes|The [PTS](https://core.telegram.org/api/updates) from which to start getting updates the next time| -|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| -|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| -|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) - - -### Example: - -```php -$updates_channelDifference = ['_' => 'updates.channelDifference', 'final' => Bool, 'pts' => int, 'timeout' => int, 'new_messages' => [Message, Message], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -updates_channelDifference={_='updates.channelDifference', final=Bool, pts=int, timeout=int, new_messages={Message}, other_updates={Update}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v62/constructors/updates_channelDifferenceEmpty.md b/old_docs/API_docs_v62/constructors/updates_channelDifferenceEmpty.md deleted file mode 100644 index 713137aa..00000000 --- a/old_docs/API_docs_v62/constructors/updates_channelDifferenceEmpty.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: updates.channelDifferenceEmpty -description: There are no new updates -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.channelDifferenceEmpty -[Back to constructors index](index.md) - - - -There are no new updates - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates that must be fetched (always false)| -|pts|[int](../types/int.md) | Yes|The latest [PTS](https://core.telegram.org/api/updates)| -|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| - - - -### Type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) - - -### Example: - -```php -$updates_channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'final' => Bool, 'pts' => int, 'timeout' => int]; -``` - - -Or, if you're into Lua: - -```lua -updates_channelDifferenceEmpty={_='updates.channelDifferenceEmpty', final=Bool, pts=int, timeout=int} - -``` - - diff --git a/old_docs/API_docs_v62/constructors/updates_channelDifferenceTooLong.md b/old_docs/API_docs_v62/constructors/updates_channelDifferenceTooLong.md deleted file mode 100644 index fe561bca..00000000 --- a/old_docs/API_docs_v62/constructors/updates_channelDifferenceTooLong.md +++ /dev/null @@ -1,57 +0,0 @@ ---- -title: updates.channelDifferenceTooLong -description: The provided `pts + limit < remote pts`. Simply, there are too many updates to be fetched (more than `limit`), the client has to resolve the update gap in one of the following ways: - -1. Delete all known messages in the chat, begin from scratch by refetching all messages manually with [getHistory](../methods/messages.getHistory.md). It is easy to implement, but suddenly disappearing messages looks awful for the user. -2. Save all messages loaded in the memory until application restart, but delete all messages from database. Messages left in the memory must be lazily updated using calls to [getHistory](../methods/messages.getHistory.md). It looks much smoothly for the user, he will need to redownload messages only after client restart. Unsynchronized messages left in the memory shouldn't be saved to database, results of [getHistory](../methods/messages.getHistory.md) and [getMessages](../methods/messages.getMessages.md) must be used to update state of deleted and edited messages left in the memory. -3. Save all messages loaded in the memory and stored in the database without saving that some messages form continuous ranges. Messages in the database will be excluded from results of getChatHistory and searchChatMessages after application restart and will be available only through getMessage. Every message should still be checked using getHistory. It has more disadvantages over 2) than advantages. -4. Save all messages with saving all data about continuous message ranges. Messages from the database may be used as results of getChatHistory and (if implemented continuous ranges support for searching shared media) searchChatMessages. The messages should still be lazily checked using getHistory, but they are still available offline. It is the best way for gaps support, but it is pretty hard to implement correctly. It should be also noted that some messages like live location messages shouldn't be deleted. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.channelDifferenceTooLong -[Back to constructors index](index.md) - - - -The provided `pts + limit < remote pts`. Simply, there are too many updates to be fetched (more than `limit`), the client has to resolve the update gap in one of the following ways: - -1. Delete all known messages in the chat, begin from scratch by refetching all messages manually with [getHistory](../methods/messages.getHistory.md). It is easy to implement, but suddenly disappearing messages looks awful for the user. -2. Save all messages loaded in the memory until application restart, but delete all messages from database. Messages left in the memory must be lazily updated using calls to [getHistory](../methods/messages.getHistory.md). It looks much smoothly for the user, he will need to redownload messages only after client restart. Unsynchronized messages left in the memory shouldn't be saved to database, results of [getHistory](../methods/messages.getHistory.md) and [getMessages](../methods/messages.getMessages.md) must be used to update state of deleted and edited messages left in the memory. -3. Save all messages loaded in the memory and stored in the database without saving that some messages form continuous ranges. Messages in the database will be excluded from results of getChatHistory and searchChatMessages after application restart and will be available only through getMessage. Every message should still be checked using getHistory. It has more disadvantages over 2) than advantages. -4. Save all messages with saving all data about continuous message ranges. Messages from the database may be used as results of getChatHistory and (if implemented continuous ranges support for searching shared media) searchChatMessages. The messages should still be lazily checked using getHistory, but they are still available offline. It is the best way for gaps support, but it is pretty hard to implement correctly. It should be also noted that some messages like live location messages shouldn't be deleted. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates that must be fetched (always false)| -|pts|[int](../types/int.md) | Yes|Pts| -|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| -|top\_message|[int](../types/int.md) | Yes|Top message| -|read\_inbox\_max\_id|[int](../types/int.md) | Yes|Read inbox max ID| -|read\_outbox\_max\_id|[int](../types/int.md) | Yes|Read outbox max ID| -|unread\_count|[int](../types/int.md) | Yes|Unread count| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) - - -### Example: - -```php -$updates_channelDifferenceTooLong = ['_' => 'updates.channelDifferenceTooLong', 'final' => Bool, 'pts' => int, 'timeout' => int, 'top_message' => int, 'read_inbox_max_id' => int, 'read_outbox_max_id' => int, 'unread_count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -updates_channelDifferenceTooLong={_='updates.channelDifferenceTooLong', final=Bool, pts=int, timeout=int, top_message=int, read_inbox_max_id=int, read_outbox_max_id=int, unread_count=int, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v62/constructors/updates_difference.md b/old_docs/API_docs_v62/constructors/updates_difference.md deleted file mode 100644 index 71ac7d4c..00000000 --- a/old_docs/API_docs_v62/constructors/updates_difference.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: updates.difference -description: Full list of occurred events. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.difference -[Back to constructors index](index.md) - - - -Full list of occurred events. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| -|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| -|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| -|state|[updates\_State](../types/updates_State.md) | Yes|Current state| - - - -### Type: [updates\_Difference](../types/updates_Difference.md) - - -### Example: - -```php -$updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates_State]; -``` - - -Or, if you're into Lua: - -```lua -updates_difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates_State} - -``` - - diff --git a/old_docs/API_docs_v62/constructors/updates_differenceEmpty.md b/old_docs/API_docs_v62/constructors/updates_differenceEmpty.md deleted file mode 100644 index c3c95c5a..00000000 --- a/old_docs/API_docs_v62/constructors/updates_differenceEmpty.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: updates.differenceEmpty -description: No events. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.differenceEmpty -[Back to constructors index](index.md) - - - -No events. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Current date| -|seq|[int](../types/int.md) | Yes|Number of sent updates| - - - -### Type: [updates\_Difference](../types/updates_Difference.md) - - -### Example: - -```php -$updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int]; -``` - - -Or, if you're into Lua: - -```lua -updates_differenceEmpty={_='updates.differenceEmpty', date=int, seq=int} - -``` - - diff --git a/old_docs/API_docs_v62/constructors/updates_differenceSlice.md b/old_docs/API_docs_v62/constructors/updates_differenceSlice.md deleted file mode 100644 index 8b12a369..00000000 --- a/old_docs/API_docs_v62/constructors/updates_differenceSlice.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: updates.differenceSlice -description: Incomplete list of occurred events. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.differenceSlice -[Back to constructors index](index.md) - - - -Incomplete list of occurred events. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| -|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| -|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| -|intermediate\_state|[updates\_State](../types/updates_State.md) | Yes|Intermediary state| - - - -### Type: [updates\_Difference](../types/updates_Difference.md) - - -### Example: - -```php -$updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'intermediate_state' => updates_State]; -``` - - -Or, if you're into Lua: - -```lua -updates_differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates_State} - -``` - - diff --git a/old_docs/API_docs_v62/constructors/updates_differenceTooLong.md b/old_docs/API_docs_v62/constructors/updates_differenceTooLong.md deleted file mode 100644 index 1fbdfa01..00000000 --- a/old_docs/API_docs_v62/constructors/updates_differenceTooLong.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: updates.differenceTooLong -description: The difference is [too long](https://core.telegram.org/api/updates#recovering-gaps), and the specified state must be used to refetch updates. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.differenceTooLong -[Back to constructors index](index.md) - - - -The difference is [too long](https://core.telegram.org/api/updates#recovering-gaps), and the specified state must be used to refetch updates. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|The new state to use.| - - - -### Type: [updates\_Difference](../types/updates_Difference.md) - - -### Example: - -```php -$updates_differenceTooLong = ['_' => 'updates.differenceTooLong', 'pts' => int]; -``` - - -Or, if you're into Lua: - -```lua -updates_differenceTooLong={_='updates.differenceTooLong', pts=int} - -``` - - diff --git a/old_docs/API_docs_v62/constructors/updates_state.md b/old_docs/API_docs_v62/constructors/updates_state.md deleted file mode 100644 index ef3698e2..00000000 --- a/old_docs/API_docs_v62/constructors/updates_state.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: updates.state -description: Updates state. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.state -[Back to constructors index](index.md) - - - -Updates state. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| -|qts|[int](../types/int.md) | Yes|Position in a sequence of updates in secret chats. For further detailes refer to article [secret chats](https://core.telegram.org/api/end-to-end)
Parameter was added in [eigth layer](https://core.telegram.org/api/layers#layer-8).| -|date|[int](../types/int.md) | Yes|Date of condition| -|seq|[int](../types/int.md) | Yes|Number of sent updates| -|unread\_count|[int](../types/int.md) | Yes|Number of unread messages| - - - -### Type: [updates\_State](../types/updates_State.md) - - -### Example: - -```php -$updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int]; -``` - - -Or, if you're into Lua: - -```lua -updates_state={_='updates.state', pts=int, qts=int, date=int, seq=int, unread_count=int} - -``` - - diff --git a/old_docs/API_docs_v62/constructors/upload.file.md b/old_docs/API_docs_v62/constructors/upload.file.md new file mode 100644 index 00000000..145a4c24 --- /dev/null +++ b/old_docs/API_docs_v62/constructors/upload.file.md @@ -0,0 +1,40 @@ +--- +title: upload.file +description: File content. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: upload.file +[Back to constructors index](index.md) + + + +File content. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|type|[storage.FileType](../constructors/storage.FileType.md) | Yes|File type| +|mtime|[int](../types/int.md) | Yes|Modification type| +|bytes|[bytes](../types/bytes.md) | Yes|Binary data, file content| + + + +### Type: [upload.File](../types/upload.File.md) + + +### Example: + +```php +$upload.file = ['_' => 'upload.file', 'type' => storage.FileType, 'mtime' => int, 'bytes' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +upload.file={_='upload.file', type=storage.FileType, mtime=int, bytes='bytes'} + +``` + + diff --git a/old_docs/API_docs_v62/constructors/upload_file.md b/old_docs/API_docs_v62/constructors/upload_file.md deleted file mode 100644 index 1e07d9fb..00000000 --- a/old_docs/API_docs_v62/constructors/upload_file.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: upload.file -description: File content. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: upload.file -[Back to constructors index](index.md) - - - -File content. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|type|[storage\_FileType](../types/storage_FileType.md) | Yes|File type| -|mtime|[int](../types/int.md) | Yes|Modification type| -|bytes|[bytes](../types/bytes.md) | Yes|Binary data, file content| - - - -### Type: [upload\_File](../types/upload_File.md) - - -### Example: - -```php -$upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int, 'bytes' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -upload_file={_='upload.file', type=storage_FileType, mtime=int, bytes='bytes'} - -``` - - diff --git a/old_docs/API_docs_v62/constructors/userFull.md b/old_docs/API_docs_v62/constructors/userFull.md index 3dea6a14..54445855 100644 --- a/old_docs/API_docs_v62/constructors/userFull.md +++ b/old_docs/API_docs_v62/constructors/userFull.md @@ -18,7 +18,7 @@ Extended user info |phone\_calls\_available|[Bool](../types/Bool.md) | Optional|Whether this user can make VoIP calls| |user|[User](../types/User.md) | Optional|Remaining user info| |about|[string](../types/string.md) | Optional|Bio of the user| -|link|[contacts\_Link](../types/contacts_Link.md) | Yes|Link| +|link|[contacts.Link](../constructors/contacts.Link.md) | Yes|Link| |profile\_photo|[Photo](../types/Photo.md) | Optional|Profile photo| |notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Optional|Notification settings| |bot\_info|[BotInfo](../types/BotInfo.md) | Optional|For bots, info about the bot (bot commands, etc)| @@ -32,14 +32,14 @@ Extended user info ### Example: ```php -$userFull = ['_' => 'userFull', 'blocked' => Bool, 'phone_calls_available' => Bool, 'user' => User, 'about' => 'string', 'link' => contacts_Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'bot_info' => BotInfo, 'common_chats_count' => int]; +$userFull = ['_' => 'userFull', 'blocked' => Bool, 'phone_calls_available' => Bool, 'user' => User, 'about' => 'string', 'link' => contacts.Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'bot_info' => BotInfo, 'common_chats_count' => int]; ``` Or, if you're into Lua: ```lua -userFull={_='userFull', blocked=Bool, phone_calls_available=Bool, user=User, about='string', link=contacts_Link, profile_photo=Photo, notify_settings=PeerNotifySettings, bot_info=BotInfo, common_chats_count=int} +userFull={_='userFull', blocked=Bool, phone_calls_available=Bool, user=User, about='string', link=contacts.Link, profile_photo=Photo, notify_settings=PeerNotifySettings, bot_info=BotInfo, common_chats_count=int} ``` diff --git a/old_docs/API_docs_v62/methods/account.getAuthorizations.md b/old_docs/API_docs_v62/methods/account.getAuthorizations.md index f69c130a..fad3a7ae 100644 --- a/old_docs/API_docs_v62/methods/account.getAuthorizations.md +++ b/old_docs/API_docs_v62/methods/account.getAuthorizations.md @@ -11,7 +11,7 @@ Get logged-in sessions -### Return type: [account\_Authorizations](../types/account_Authorizations.md) +### Return type: [account.Authorizations](../types/account.Authorizations.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_Authorizations = $MadelineProto->account->getAuthorizations(); +$account.Authorizations = $MadelineProto->account->getAuthorizations(); ``` Or, if you're into Lua: ```lua -account_Authorizations = account.getAuthorizations({}) +account.Authorizations = account.getAuthorizations({}) ``` diff --git a/old_docs/API_docs_v62/methods/account.getPassword.md b/old_docs/API_docs_v62/methods/account.getPassword.md index eed4aee3..621271b6 100644 --- a/old_docs/API_docs_v62/methods/account.getPassword.md +++ b/old_docs/API_docs_v62/methods/account.getPassword.md @@ -11,7 +11,7 @@ Obtain configuration for two-factor authorization with password -### Return type: [account\_Password](../types/account_Password.md) +### Return type: [account.Password](../types/account.Password.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_Password = $MadelineProto->account->getPassword(); +$account.Password = $MadelineProto->account->getPassword(); ``` Or, if you're into Lua: ```lua -account_Password = account.getPassword({}) +account.Password = account.getPassword({}) ``` diff --git a/old_docs/API_docs_v62/methods/account.getPasswordSettings.md b/old_docs/API_docs_v62/methods/account.getPasswordSettings.md index dcdae61a..3d3cce08 100644 --- a/old_docs/API_docs_v62/methods/account.getPasswordSettings.md +++ b/old_docs/API_docs_v62/methods/account.getPasswordSettings.md @@ -16,7 +16,7 @@ You cannot use this method directly; use $MadelineProto->update_2fa($params), in |current\_password\_hash|[bytes](../types/bytes.md) | You cannot use this method directly; use $MadelineProto->update_2fa($params), instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [account\_PasswordSettings](../types/account_PasswordSettings.md) +### Return type: [account.PasswordSettings](../types/account.PasswordSettings.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_PasswordSettings = $MadelineProto->account->getPasswordSettings(['current_password_hash' => 'bytes', ]); +$account.PasswordSettings = $MadelineProto->account->getPasswordSettings(['current_password_hash' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -account_PasswordSettings = account.getPasswordSettings({current_password_hash='bytes', }) +account.PasswordSettings = account.getPasswordSettings({current_password_hash='bytes', }) ``` ### Errors diff --git a/old_docs/API_docs_v62/methods/account.getPrivacy.md b/old_docs/API_docs_v62/methods/account.getPrivacy.md index 6a240129..e20c292c 100644 --- a/old_docs/API_docs_v62/methods/account.getPrivacy.md +++ b/old_docs/API_docs_v62/methods/account.getPrivacy.md @@ -16,7 +16,7 @@ Get privacy settings of current account |key|[InputPrivacyKey](../types/InputPrivacyKey.md) | Peer category whose privacy settings should be fetched | Yes| -### Return type: [account\_PrivacyRules](../types/account_PrivacyRules.md) +### Return type: [account.PrivacyRules](../types/account.PrivacyRules.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_PrivacyRules = $MadelineProto->account->getPrivacy(['key' => InputPrivacyKey, ]); +$account.PrivacyRules = $MadelineProto->account->getPrivacy(['key' => InputPrivacyKey, ]); ``` Or, if you're into Lua: ```lua -account_PrivacyRules = account.getPrivacy({key=InputPrivacyKey, }) +account.PrivacyRules = account.getPrivacy({key=InputPrivacyKey, }) ``` ### Errors diff --git a/old_docs/API_docs_v62/methods/account.sendChangePhoneCode.md b/old_docs/API_docs_v62/methods/account.sendChangePhoneCode.md index 0f81306e..30589ffa 100644 --- a/old_docs/API_docs_v62/methods/account.sendChangePhoneCode.md +++ b/old_docs/API_docs_v62/methods/account.sendChangePhoneCode.md @@ -18,7 +18,7 @@ Verify a new phone number to associate to the current account |current\_number|[Bool](../types/Bool.md) | Current phone number | Optional| -### Return type: [auth\_SentCode](../types/auth_SentCode.md) +### Return type: [auth.SentCode](../types/auth.SentCode.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_SentCode = $MadelineProto->account->sendChangePhoneCode(['allow_flashcall' => Bool, 'phone_number' => 'string', 'current_number' => Bool, ]); +$auth.SentCode = $MadelineProto->account->sendChangePhoneCode(['allow_flashcall' => Bool, 'phone_number' => 'string', 'current_number' => Bool, ]); ``` Or, if you're into Lua: ```lua -auth_SentCode = account.sendChangePhoneCode({allow_flashcall=Bool, phone_number='string', current_number=Bool, }) +auth.SentCode = account.sendChangePhoneCode({allow_flashcall=Bool, phone_number='string', current_number=Bool, }) ``` ### Errors diff --git a/old_docs/API_docs_v62/methods/account.sendConfirmPhoneCode.md b/old_docs/API_docs_v62/methods/account.sendConfirmPhoneCode.md index 68ba8fd3..9ec24f07 100644 --- a/old_docs/API_docs_v62/methods/account.sendConfirmPhoneCode.md +++ b/old_docs/API_docs_v62/methods/account.sendConfirmPhoneCode.md @@ -18,7 +18,7 @@ Send confirmation code to cancel account deletion, for more info [click here »] |current\_number|[Bool](../types/Bool.md) | The current phone number | Optional| -### Return type: [auth\_SentCode](../types/auth_SentCode.md) +### Return type: [auth.SentCode](../types/auth.SentCode.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_SentCode = $MadelineProto->account->sendConfirmPhoneCode(['allow_flashcall' => Bool, 'hash' => 'string', 'current_number' => Bool, ]); +$auth.SentCode = $MadelineProto->account->sendConfirmPhoneCode(['allow_flashcall' => Bool, 'hash' => 'string', 'current_number' => Bool, ]); ``` Or, if you're into Lua: ```lua -auth_SentCode = account.sendConfirmPhoneCode({allow_flashcall=Bool, hash='string', current_number=Bool, }) +auth.SentCode = account.sendConfirmPhoneCode({allow_flashcall=Bool, hash='string', current_number=Bool, }) ``` ### Errors diff --git a/old_docs/API_docs_v62/methods/account.setPrivacy.md b/old_docs/API_docs_v62/methods/account.setPrivacy.md index 7c4cfba7..096d373e 100644 --- a/old_docs/API_docs_v62/methods/account.setPrivacy.md +++ b/old_docs/API_docs_v62/methods/account.setPrivacy.md @@ -17,7 +17,7 @@ Change privacy settings of current account |rules|Array of [InputPrivacyRule](../types/InputPrivacyRule.md) | Privacy settings | Yes| -### Return type: [account\_PrivacyRules](../types/account_PrivacyRules.md) +### Return type: [account.PrivacyRules](../types/account.PrivacyRules.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_PrivacyRules = $MadelineProto->account->setPrivacy(['key' => InputPrivacyKey, 'rules' => [InputPrivacyRule, InputPrivacyRule], ]); +$account.PrivacyRules = $MadelineProto->account->setPrivacy(['key' => InputPrivacyKey, 'rules' => [InputPrivacyRule, InputPrivacyRule], ]); ``` Or, if you're into Lua: ```lua -account_PrivacyRules = account.setPrivacy({key=InputPrivacyKey, rules={InputPrivacyRule}, }) +account.PrivacyRules = account.setPrivacy({key=InputPrivacyKey, rules={InputPrivacyRule}, }) ``` ### Errors diff --git a/old_docs/API_docs_v62/methods/api_README.md b/old_docs/API_docs_v62/methods/api_README.md index 3a7c32cf..2f78827d 100644 --- a/old_docs/API_docs_v62/methods/api_README.md +++ b/old_docs/API_docs_v62/methods/api_README.md @@ -56,7 +56,7 @@ $MadelineProto->[account->getAccountTTL](account.getAccountTTL.md)(\[\]) === [$A ***

-$MadelineProto->[account->getAuthorizations](account.getAuthorizations.md)(\[\]) === [$account\_Authorizations](../types/account_Authorizations.md) +$MadelineProto->[account->getAuthorizations](account.getAuthorizations.md)(\[\]) === [$account.Authorizations](../types/account.Authorizations.md) ***

@@ -64,15 +64,15 @@ $MadelineProto->[account->getNotifySettings](account.getNotifySettings.md)(\['pe ***

-$MadelineProto->[account->getPassword](account.getPassword.md)(\[\]) === [$account\_Password](../types/account_Password.md) +$MadelineProto->[account->getPassword](account.getPassword.md)(\[\]) === [$account.Password](../types/account.Password.md) ***

-$MadelineProto->[account->getPasswordSettings](account.getPasswordSettings.md)(\['current_password_hash' => [bytes](../types/bytes.md), \]) === [$account\_PasswordSettings](../types/account_PasswordSettings.md) +$MadelineProto->[account->getPasswordSettings](account.getPasswordSettings.md)(\['current_password_hash' => [bytes](../types/bytes.md), \]) === [$account.PasswordSettings](../types/account.PasswordSettings.md) ***

-$MadelineProto->[account->getPrivacy](account.getPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), \]) === [$account\_PrivacyRules](../types/account_PrivacyRules.md) +$MadelineProto->[account->getPrivacy](account.getPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), \]) === [$account.PrivacyRules](../types/account.PrivacyRules.md) ***

@@ -96,11 +96,11 @@ $MadelineProto->[account->resetNotifySettings](account.resetNotifySettings.md)(\ ***

-$MadelineProto->[account->sendChangePhoneCode](account.sendChangePhoneCode.md)(\['allow_flashcall' => [Bool](../types/Bool.md), 'phone_number' => [string](../types/string.md), 'current_number' => [Bool](../types/Bool.md), \]) === [$auth\_SentCode](../types/auth_SentCode.md) +$MadelineProto->[account->sendChangePhoneCode](account.sendChangePhoneCode.md)(\['allow_flashcall' => [Bool](../types/Bool.md), 'phone_number' => [string](../types/string.md), 'current_number' => [Bool](../types/Bool.md), \]) === [$auth.SentCode](../types/auth.SentCode.md) ***

-$MadelineProto->[account->sendConfirmPhoneCode](account.sendConfirmPhoneCode.md)(\['allow_flashcall' => [Bool](../types/Bool.md), 'hash' => [string](../types/string.md), 'current_number' => [Bool](../types/Bool.md), \]) === [$auth\_SentCode](../types/auth_SentCode.md) +$MadelineProto->[account->sendConfirmPhoneCode](account.sendConfirmPhoneCode.md)(\['allow_flashcall' => [Bool](../types/Bool.md), 'hash' => [string](../types/string.md), 'current_number' => [Bool](../types/Bool.md), \]) === [$auth.SentCode](../types/auth.SentCode.md) ***

@@ -108,7 +108,7 @@ $MadelineProto->[account->setAccountTTL](account.setAccountTTL.md)(\['ttl' => [A ***

-$MadelineProto->[account->setPrivacy](account.setPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), 'rules' => \[[InputPrivacyRule](../types/InputPrivacyRule.md)\], \]) === [$account\_PrivacyRules](../types/account_PrivacyRules.md) +$MadelineProto->[account->setPrivacy](account.setPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), 'rules' => \[[InputPrivacyRule](../types/InputPrivacyRule.md)\], \]) === [$account.PrivacyRules](../types/account.PrivacyRules.md) ***

@@ -148,11 +148,11 @@ $MadelineProto->[auth->cancelCode](auth.cancelCode.md)(\['phone_number' => [stri ***

-$MadelineProto->[auth->checkPassword](auth.checkPassword.md)(\['password_hash' => [bytes](../types/bytes.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->checkPassword](auth.checkPassword.md)(\['password_hash' => [bytes](../types/bytes.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

-$MadelineProto->[auth->checkPhone](auth.checkPhone.md)(\['phone_number' => [string](../types/string.md), \]) === [$auth\_CheckedPhone](../types/auth_CheckedPhone.md) +$MadelineProto->[auth->checkPhone](auth.checkPhone.md)(\['phone_number' => [string](../types/string.md), \]) === [$auth.CheckedPhone](../types/auth.CheckedPhone.md) ***

@@ -160,15 +160,15 @@ $MadelineProto->[auth->dropTempAuthKeys](auth.dropTempAuthKeys.md)(\['except_aut ***

-$MadelineProto->[auth->exportAuthorization](auth.exportAuthorization.md)(\['dc_id' => [int](../types/int.md), \]) === [$auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) +$MadelineProto->[auth->exportAuthorization](auth.exportAuthorization.md)(\['dc_id' => [int](../types/int.md), \]) === [$auth.ExportedAuthorization](../types/auth.ExportedAuthorization.md) ***

-$MadelineProto->[auth->importAuthorization](auth.importAuthorization.md)(\['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->importAuthorization](auth.importAuthorization.md)(\['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

-$MadelineProto->[auth->importBotAuthorization](auth.importBotAuthorization.md)(\['api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), 'bot_auth_token' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->importBotAuthorization](auth.importBotAuthorization.md)(\['api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), 'bot_auth_token' => [string](../types/string.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

@@ -176,15 +176,15 @@ $MadelineProto->[auth->logOut](auth.logOut.md)(\[\]) === [$Bool](../types/Bool.m ***

-$MadelineProto->[auth->recoverPassword](auth.recoverPassword.md)(\['code' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->recoverPassword](auth.recoverPassword.md)(\['code' => [string](../types/string.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

-$MadelineProto->[auth->requestPasswordRecovery](auth.requestPasswordRecovery.md)(\[\]) === [$auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) +$MadelineProto->[auth->requestPasswordRecovery](auth.requestPasswordRecovery.md)(\[\]) === [$auth.PasswordRecovery](../types/auth.PasswordRecovery.md) ***

-$MadelineProto->[auth->resendCode](auth.resendCode.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), \]) === [$auth\_SentCode](../types/auth_SentCode.md) +$MadelineProto->[auth->resendCode](auth.resendCode.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), \]) === [$auth.SentCode](../types/auth.SentCode.md) ***

@@ -192,7 +192,7 @@ $MadelineProto->[auth->resetAuthorizations](auth.resetAuthorizations.md)(\[\]) = ***

-$MadelineProto->[auth->sendCode](auth.sendCode.md)(\['allow_flashcall' => [Bool](../types/Bool.md), 'phone_number' => [string](../types/string.md), 'current_number' => [Bool](../types/Bool.md), 'api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), \]) === [$auth\_SentCode](../types/auth_SentCode.md) +$MadelineProto->[auth->sendCode](auth.sendCode.md)(\['allow_flashcall' => [Bool](../types/Bool.md), 'phone_number' => [string](../types/string.md), 'current_number' => [Bool](../types/Bool.md), 'api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), \]) === [$auth.SentCode](../types/auth.SentCode.md) ***

@@ -200,11 +200,11 @@ $MadelineProto->[auth->sendInvites](auth.sendInvites.md)(\['phone_numbers' => \[ ***

-$MadelineProto->[auth->signIn](auth.signIn.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->signIn](auth.signIn.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

-$MadelineProto->[auth->signUp](auth.signUp.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->signUp](auth.signUp.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

@@ -220,11 +220,11 @@ $MadelineProto->[channels->deleteChannel](channels.deleteChannel.md)(\['channel' ***

-$MadelineProto->[channels->deleteMessages](channels.deleteMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) +$MadelineProto->[channels->deleteMessages](channels.deleteMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages.AffectedMessages](../types/messages.AffectedMessages.md) ***

-$MadelineProto->[channels->deleteUserHistory](channels.deleteUserHistory.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages\_AffectedHistory](../types/messages_AffectedHistory.md) +$MadelineProto->[channels->deleteUserHistory](channels.deleteUserHistory.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages.AffectedHistory](../types/messages.AffectedHistory.md) ***

@@ -252,27 +252,27 @@ $MadelineProto->[channels->exportMessageLink](channels.exportMessageLink.md)(\[' ***

-$MadelineProto->[channels->getAdminedPublicChannels](channels.getAdminedPublicChannels.md)(\[\]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[channels->getAdminedPublicChannels](channels.getAdminedPublicChannels.md)(\[\]) === [$messages.Chats](../types/messages.Chats.md) ***

-$MadelineProto->[channels->getChannels](channels.getChannels.md)(\['id' => \[[InputChannel](../types/InputChannel.md)\], \]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[channels->getChannels](channels.getChannels.md)(\['id' => \[[InputChannel](../types/InputChannel.md)\], \]) === [$messages.Chats](../types/messages.Chats.md) ***

-$MadelineProto->[channels->getFullChannel](channels.getFullChannel.md)(\['channel' => [InputChannel](../types/InputChannel.md), \]) === [$messages\_ChatFull](../types/messages_ChatFull.md) +$MadelineProto->[channels->getFullChannel](channels.getFullChannel.md)(\['channel' => [InputChannel](../types/InputChannel.md), \]) === [$messages.ChatFull](../types/messages.ChatFull.md) ***

-$MadelineProto->[channels->getMessages](channels.getMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[channels->getMessages](channels.getMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[channels->getParticipant](channels.getParticipant.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$channels\_ChannelParticipant](../types/channels_ChannelParticipant.md) +$MadelineProto->[channels->getParticipant](channels.getParticipant.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$channels.ChannelParticipant](../types/channels.ChannelParticipant.md) ***

-$MadelineProto->[channels->getParticipants](channels.getParticipants.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$channels\_ChannelParticipants](../types/channels_ChannelParticipants.md) +$MadelineProto->[channels->getParticipants](channels.getParticipants.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$channels.ChannelParticipants](../types/channels.ChannelParticipants.md) ***

@@ -320,7 +320,7 @@ $MadelineProto->[contacts->block](contacts.block.md)(\['id' => [InputUser](../ty ***

-$MadelineProto->[contacts->deleteContact](contacts.deleteContact.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$contacts\_Link](../types/contacts_Link.md) +$MadelineProto->[contacts->deleteContact](contacts.deleteContact.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$contacts.Link](../types/contacts.Link.md) ***

@@ -332,11 +332,11 @@ $MadelineProto->[contacts->exportCard](contacts.exportCard.md)(\[\]) === [$Vecto ***

-$MadelineProto->[contacts->getBlocked](contacts.getBlocked.md)(\['offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$contacts\_Blocked](../types/contacts_Blocked.md) +$MadelineProto->[contacts->getBlocked](contacts.getBlocked.md)(\['offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$contacts.Blocked](../types/contacts.Blocked.md) ***

-$MadelineProto->[contacts->getContacts](contacts.getContacts.md)(\['hash' => [string](../types/string.md), \]) === [$contacts\_Contacts](../types/contacts_Contacts.md) +$MadelineProto->[contacts->getContacts](contacts.getContacts.md)(\['hash' => [string](../types/string.md), \]) === [$contacts.Contacts](../types/contacts.Contacts.md) ***

@@ -344,7 +344,7 @@ $MadelineProto->[contacts->getStatuses](contacts.getStatuses.md)(\[\]) === [$Vec ***

-$MadelineProto->[contacts->getTopPeers](contacts.getTopPeers.md)(\['correspondents' => [Bool](../types/Bool.md), 'bots_pm' => [Bool](../types/Bool.md), 'bots_inline' => [Bool](../types/Bool.md), 'groups' => [Bool](../types/Bool.md), 'channels' => [Bool](../types/Bool.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$contacts\_TopPeers](../types/contacts_TopPeers.md) +$MadelineProto->[contacts->getTopPeers](contacts.getTopPeers.md)(\['correspondents' => [Bool](../types/Bool.md), 'bots_pm' => [Bool](../types/Bool.md), 'bots_inline' => [Bool](../types/Bool.md), 'groups' => [Bool](../types/Bool.md), 'channels' => [Bool](../types/Bool.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$contacts.TopPeers](../types/contacts.TopPeers.md) ***

@@ -352,7 +352,7 @@ $MadelineProto->[contacts->importCard](contacts.importCard.md)(\['export_card' = ***

-$MadelineProto->[contacts->importContacts](contacts.importContacts.md)(\['contacts' => \[[InputContact](../types/InputContact.md)\], 'replace' => [Bool](../types/Bool.md), \]) === [$contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) +$MadelineProto->[contacts->importContacts](contacts.importContacts.md)(\['contacts' => \[[InputContact](../types/InputContact.md)\], 'replace' => [Bool](../types/Bool.md), \]) === [$contacts.ImportedContacts](../types/contacts.ImportedContacts.md) ***

@@ -360,11 +360,11 @@ $MadelineProto->[contacts->resetTopPeerRating](contacts.resetTopPeerRating.md)(\ ***

-$MadelineProto->[contacts->resolveUsername](contacts.resolveUsername.md)(\['username' => [string](../types/string.md), \]) === [$contacts\_ResolvedPeer](../types/contacts_ResolvedPeer.md) +$MadelineProto->[contacts->resolveUsername](contacts.resolveUsername.md)(\['username' => [string](../types/string.md), \]) === [$contacts.ResolvedPeer](../types/contacts.ResolvedPeer.md) ***

-$MadelineProto->[contacts->search](contacts.search.md)(\['q' => [string](../types/string.md), 'limit' => [int](../types/int.md), \]) === [$contacts\_Found](../types/contacts_Found.md) +$MadelineProto->[contacts->search](contacts.search.md)(\['q' => [string](../types/string.md), 'limit' => [int](../types/int.md), \]) === [$contacts.Found](../types/contacts.Found.md) ***

@@ -376,11 +376,11 @@ $MadelineProto->[destroy_auth_key](destroy_auth_key.md)(\[\]) === [$DestroyAuthK ***

-$MadelineProto->[help->getAppChangelog](help.getAppChangelog.md)(\[\]) === [$help\_AppChangelog](../types/help_AppChangelog.md) +$MadelineProto->[help->getAppChangelog](help.getAppChangelog.md)(\[\]) === [$help.AppChangelog](../types/help.AppChangelog.md) ***

-$MadelineProto->[help->getAppUpdate](help.getAppUpdate.md)(\[\]) === [$help\_AppUpdate](../types/help_AppUpdate.md) +$MadelineProto->[help->getAppUpdate](help.getAppUpdate.md)(\[\]) === [$help.AppUpdate](../types/help.AppUpdate.md) ***

@@ -388,7 +388,7 @@ $MadelineProto->[help->getConfig](help.getConfig.md)(\[\]) === [$Config](../type ***

-$MadelineProto->[help->getInviteText](help.getInviteText.md)(\[\]) === [$help\_InviteText](../types/help_InviteText.md) +$MadelineProto->[help->getInviteText](help.getInviteText.md)(\[\]) === [$help.InviteText](../types/help.InviteText.md) ***

@@ -396,11 +396,11 @@ $MadelineProto->[help->getNearestDc](help.getNearestDc.md)(\[\]) === [$NearestDc ***

-$MadelineProto->[help->getSupport](help.getSupport.md)(\[\]) === [$help\_Support](../types/help_Support.md) +$MadelineProto->[help->getSupport](help.getSupport.md)(\[\]) === [$help.Support](../types/help.Support.md) ***

-$MadelineProto->[help->getTermsOfService](help.getTermsOfService.md)(\[\]) === [$help\_TermsOfService](../types/help_TermsOfService.md) +$MadelineProto->[help->getTermsOfService](help.getTermsOfService.md)(\[\]) === [$help.TermsOfService](../types/help.TermsOfService.md) ***

@@ -456,11 +456,11 @@ $MadelineProto->[messages->deleteChatUser](messages.deleteChatUser.md)(\['chat_i ***

-$MadelineProto->[messages->deleteHistory](messages.deleteHistory.md)(\['just_clear' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), \]) === [$messages\_AffectedHistory](../types/messages_AffectedHistory.md) +$MadelineProto->[messages->deleteHistory](messages.deleteHistory.md)(\['just_clear' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), \]) === [$messages.AffectedHistory](../types/messages.AffectedHistory.md) ***

-$MadelineProto->[messages->deleteMessages](messages.deleteMessages.md)(\['revoke' => [Bool](../types/Bool.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) +$MadelineProto->[messages->deleteMessages](messages.deleteMessages.md)(\['revoke' => [Bool](../types/Bool.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages.AffectedMessages](../types/messages.AffectedMessages.md) ***

@@ -500,7 +500,7 @@ $MadelineProto->[messages->forwardMessages](messages.forwardMessages.md)(\['sile ***

-$MadelineProto->[messages->getAllChats](messages.getAllChats.md)(\['except_ids' => \[[int](../types/int.md)\], \]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[messages->getAllChats](messages.getAllChats.md)(\['except_ids' => \[[int](../types/int.md)\], \]) === [$messages.Chats](../types/messages.Chats.md) ***

@@ -508,11 +508,11 @@ $MadelineProto->[messages->getAllDrafts](messages.getAllDrafts.md)(\[\]) === [$U ***

-$MadelineProto->[messages->getAllStickers](messages.getAllStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages\_AllStickers](../types/messages_AllStickers.md) +$MadelineProto->[messages->getAllStickers](messages.getAllStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages.AllStickers](../types/messages.AllStickers.md) ***

-$MadelineProto->[messages->getArchivedStickers](messages.getArchivedStickers.md)(\['masks' => [Bool](../types/Bool.md), 'offset_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$messages\_ArchivedStickers](../types/messages_ArchivedStickers.md) +$MadelineProto->[messages->getArchivedStickers](messages.getArchivedStickers.md)(\['masks' => [Bool](../types/Bool.md), 'offset_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$messages.ArchivedStickers](../types/messages.ArchivedStickers.md) ***

@@ -520,23 +520,23 @@ $MadelineProto->[messages->getAttachedStickers](messages.getAttachedStickers.md) ***

-$MadelineProto->[messages->getBotCallbackAnswer](messages.getBotCallbackAnswer.md)(\['game' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'msg_id' => [int](../types/int.md), 'data' => [bytes](../types/bytes.md), \]) === [$messages\_BotCallbackAnswer](../types/messages_BotCallbackAnswer.md) +$MadelineProto->[messages->getBotCallbackAnswer](messages.getBotCallbackAnswer.md)(\['game' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'msg_id' => [int](../types/int.md), 'data' => [bytes](../types/bytes.md), \]) === [$messages.BotCallbackAnswer](../types/messages.BotCallbackAnswer.md) ***

-$MadelineProto->[messages->getChats](messages.getChats.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[messages->getChats](messages.getChats.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages.Chats](../types/messages.Chats.md) ***

-$MadelineProto->[messages->getCommonChats](messages.getCommonChats.md)(\['user_id' => [InputUser](../types/InputUser.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[messages->getCommonChats](messages.getCommonChats.md)(\['user_id' => [InputUser](../types/InputUser.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages.Chats](../types/messages.Chats.md) ***

-$MadelineProto->[messages->getDhConfig](messages.getDhConfig.md)(\['version' => [int](../types/int.md), 'random_length' => [int](../types/int.md), \]) === [$messages\_DhConfig](../types/messages_DhConfig.md) +$MadelineProto->[messages->getDhConfig](messages.getDhConfig.md)(\['version' => [int](../types/int.md), 'random_length' => [int](../types/int.md), \]) === [$messages.DhConfig](../types/messages.DhConfig.md) ***

-$MadelineProto->[messages->getDialogs](messages.getDialogs.md)(\['exclude_pinned' => [Bool](../types/Bool.md), 'offset_date' => [int](../types/int.md), 'offset_id' => [int](../types/int.md), 'offset_peer' => [InputPeer](../types/InputPeer.md), 'limit' => [int](../types/int.md), \]) === [$messages\_Dialogs](../types/messages_Dialogs.md) +$MadelineProto->[messages->getDialogs](messages.getDialogs.md)(\['exclude_pinned' => [Bool](../types/Bool.md), 'offset_date' => [int](../types/int.md), 'offset_id' => [int](../types/int.md), 'offset_peer' => [InputPeer](../types/InputPeer.md), 'limit' => [int](../types/int.md), \]) === [$messages.Dialogs](../types/messages.Dialogs.md) ***

@@ -544,39 +544,39 @@ $MadelineProto->[messages->getDocumentByHash](messages.getDocumentByHash.md)(\[' ***

-$MadelineProto->[messages->getFeaturedStickers](messages.getFeaturedStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages\_FeaturedStickers](../types/messages_FeaturedStickers.md) +$MadelineProto->[messages->getFeaturedStickers](messages.getFeaturedStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages.FeaturedStickers](../types/messages.FeaturedStickers.md) ***

-$MadelineProto->[messages->getFullChat](messages.getFullChat.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), \]) === [$messages\_ChatFull](../types/messages_ChatFull.md) +$MadelineProto->[messages->getFullChat](messages.getFullChat.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), \]) === [$messages.ChatFull](../types/messages.ChatFull.md) ***

-$MadelineProto->[messages->getGameHighScores](messages.getGameHighScores.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages\_HighScores](../types/messages_HighScores.md) +$MadelineProto->[messages->getGameHighScores](messages.getGameHighScores.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages.HighScores](../types/messages.HighScores.md) ***

-$MadelineProto->[messages->getHistory](messages.getHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'offset_date' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->getHistory](messages.getHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'offset_date' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[messages->getInlineBotResults](messages.getInlineBotResults.md)(\['bot' => [InputUser](../types/InputUser.md), 'peer' => [InputPeer](../types/InputPeer.md), 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'query' => [string](../types/string.md), 'offset' => [string](../types/string.md), \]) === [$messages\_BotResults](../types/messages_BotResults.md) +$MadelineProto->[messages->getInlineBotResults](messages.getInlineBotResults.md)(\['bot' => [InputUser](../types/InputUser.md), 'peer' => [InputPeer](../types/InputPeer.md), 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'query' => [string](../types/string.md), 'offset' => [string](../types/string.md), \]) === [$messages.BotResults](../types/messages.BotResults.md) ***

-$MadelineProto->[messages->getInlineGameHighScores](messages.getInlineGameHighScores.md)(\['id' => [InputBotInlineMessageID](../types/InputBotInlineMessageID.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages\_HighScores](../types/messages_HighScores.md) +$MadelineProto->[messages->getInlineGameHighScores](messages.getInlineGameHighScores.md)(\['id' => [InputBotInlineMessageID](../types/InputBotInlineMessageID.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages.HighScores](../types/messages.HighScores.md) ***

-$MadelineProto->[messages->getMaskStickers](messages.getMaskStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages\_AllStickers](../types/messages_AllStickers.md) +$MadelineProto->[messages->getMaskStickers](messages.getMaskStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages.AllStickers](../types/messages.AllStickers.md) ***

-$MadelineProto->[messages->getMessageEditData](messages.getMessageEditData.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), \]) === [$messages\_MessageEditData](../types/messages_MessageEditData.md) +$MadelineProto->[messages->getMessageEditData](messages.getMessageEditData.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), \]) === [$messages.MessageEditData](../types/messages.MessageEditData.md) ***

-$MadelineProto->[messages->getMessages](messages.getMessages.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->getMessages](messages.getMessages.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages.Messages](../types/messages.Messages.md) ***

@@ -584,7 +584,7 @@ $MadelineProto->[messages->getMessagesViews](messages.getMessagesViews.md)(\['pe ***

-$MadelineProto->[messages->getPeerDialogs](messages.getPeerDialogs.md)(\['peers' => \[[InputPeer](../types/InputPeer.md)\], \]) === [$messages\_PeerDialogs](../types/messages_PeerDialogs.md) +$MadelineProto->[messages->getPeerDialogs](messages.getPeerDialogs.md)(\['peers' => \[[InputPeer](../types/InputPeer.md)\], \]) === [$messages.PeerDialogs](../types/messages.PeerDialogs.md) ***

@@ -592,19 +592,19 @@ $MadelineProto->[messages->getPeerSettings](messages.getPeerSettings.md)(\['peer ***

-$MadelineProto->[messages->getPinnedDialogs](messages.getPinnedDialogs.md)(\[\]) === [$messages\_PeerDialogs](../types/messages_PeerDialogs.md) +$MadelineProto->[messages->getPinnedDialogs](messages.getPinnedDialogs.md)(\[\]) === [$messages.PeerDialogs](../types/messages.PeerDialogs.md) ***

-$MadelineProto->[messages->getRecentStickers](messages.getRecentStickers.md)(\['attached' => [Bool](../types/Bool.md), 'hash' => [int](../types/int.md), \]) === [$messages\_RecentStickers](../types/messages_RecentStickers.md) +$MadelineProto->[messages->getRecentStickers](messages.getRecentStickers.md)(\['attached' => [Bool](../types/Bool.md), 'hash' => [int](../types/int.md), \]) === [$messages.RecentStickers](../types/messages.RecentStickers.md) ***

-$MadelineProto->[messages->getSavedGifs](messages.getSavedGifs.md)(\['hash' => [int](../types/int.md), \]) === [$messages\_SavedGifs](../types/messages_SavedGifs.md) +$MadelineProto->[messages->getSavedGifs](messages.getSavedGifs.md)(\['hash' => [int](../types/int.md), \]) === [$messages.SavedGifs](../types/messages.SavedGifs.md) ***

-$MadelineProto->[messages->getStickerSet](messages.getStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), \]) === [$messages\_StickerSet](../types/messages_StickerSet.md) +$MadelineProto->[messages->getStickerSet](messages.getStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), \]) === [$messages.StickerSet](../types/messages.StickerSet.md) ***

@@ -624,7 +624,7 @@ $MadelineProto->[messages->importChatInvite](messages.importChatInvite.md)(\['ha ***

-$MadelineProto->[messages->installStickerSet](messages.installStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), 'archived' => [Bool](../types/Bool.md), \]) === [$messages\_StickerSetInstallResult](../types/messages_StickerSetInstallResult.md) +$MadelineProto->[messages->installStickerSet](messages.installStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), 'archived' => [Bool](../types/Bool.md), \]) === [$messages.StickerSetInstallResult](../types/messages.StickerSetInstallResult.md) ***

@@ -640,11 +640,11 @@ $MadelineProto->[messages->readFeaturedStickers](messages.readFeaturedStickers.m ***

-$MadelineProto->[messages->readHistory](messages.readHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), \]) === [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) +$MadelineProto->[messages->readHistory](messages.readHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), \]) === [$messages.AffectedMessages](../types/messages.AffectedMessages.md) ***

-$MadelineProto->[messages->readMessageContents](messages.readMessageContents.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) +$MadelineProto->[messages->readMessageContents](messages.readMessageContents.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages.AffectedMessages](../types/messages.AffectedMessages.md) ***

@@ -688,27 +688,27 @@ $MadelineProto->[messages->saveRecentSticker](messages.saveRecentSticker.md)(\[' ***

-$MadelineProto->[messages->search](messages.search.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'q' => [string](../types/string.md), 'filter' => [MessagesFilter](../types/MessagesFilter.md), 'min_date' => [int](../types/int.md), 'max_date' => [int](../types/int.md), 'offset' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->search](messages.search.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'q' => [string](../types/string.md), 'filter' => [MessagesFilter](../types/MessagesFilter.md), 'min_date' => [int](../types/int.md), 'max_date' => [int](../types/int.md), 'offset' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[messages->searchGifs](messages.searchGifs.md)(\['q' => [string](../types/string.md), 'offset' => [int](../types/int.md), \]) === [$messages\_FoundGifs](../types/messages_FoundGifs.md) +$MadelineProto->[messages->searchGifs](messages.searchGifs.md)(\['q' => [string](../types/string.md), 'offset' => [int](../types/int.md), \]) === [$messages.FoundGifs](../types/messages.FoundGifs.md) ***

-$MadelineProto->[messages->searchGlobal](messages.searchGlobal.md)(\['q' => [string](../types/string.md), 'offset_date' => [int](../types/int.md), 'offset_peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->searchGlobal](messages.searchGlobal.md)(\['q' => [string](../types/string.md), 'offset_date' => [int](../types/int.md), 'offset_peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[messages->sendEncrypted](messages.sendEncrypted.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'message' => [DecryptedMessage](../types/DecryptedMessage.md), \]) === [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +$MadelineProto->[messages->sendEncrypted](messages.sendEncrypted.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), \]) === [$messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ***

-$MadelineProto->[messages->sendEncryptedFile](messages.sendEncryptedFile.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'message' => [DecryptedMessage](../types/DecryptedMessage.md), 'file' => [InputEncryptedFile](../types/InputEncryptedFile.md), \]) === [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +$MadelineProto->[messages->sendEncryptedFile](messages.sendEncryptedFile.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), 'file' => [InputEncryptedFile](../types/InputEncryptedFile.md), \]) === [$messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ***

-$MadelineProto->[messages->sendEncryptedService](messages.sendEncryptedService.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'message' => [DecryptedMessage](../types/DecryptedMessage.md), \]) === [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +$MadelineProto->[messages->sendEncryptedService](messages.sendEncryptedService.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), \]) === [$messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ***

@@ -764,7 +764,7 @@ $MadelineProto->[messages->uninstallStickerSet](messages.uninstallStickerSet.md) ***

-$MadelineProto->[phone->acceptCall](phone.acceptCall.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'g_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone\_PhoneCall](../types/phone_PhoneCall.md) +$MadelineProto->[phone->acceptCall](phone.acceptCall.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'g_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone.PhoneCall](../types/phone.PhoneCall.md) ***

@@ -776,7 +776,7 @@ $MadelineProto->[phone->receivedCall](phone.receivedCall.md)(\['peer' => [InputP ***

-$MadelineProto->[phone->requestCall](phone.requestCall.md)(\['user_id' => [InputUser](../types/InputUser.md), 'g_a' => [bytes](../types/bytes.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone\_PhoneCall](../types/phone_PhoneCall.md) +$MadelineProto->[phone->requestCall](phone.requestCall.md)(\['user_id' => [InputUser](../types/InputUser.md), 'g_a' => [bytes](../types/bytes.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone.PhoneCall](../types/phone.PhoneCall.md) ***

@@ -784,7 +784,7 @@ $MadelineProto->[photos->deletePhotos](photos.deletePhotos.md)(\['id' => \[[Inpu ***

-$MadelineProto->[photos->getUserPhotos](photos.getUserPhotos.md)(\['user_id' => [InputUser](../types/InputUser.md), 'offset' => [int](../types/int.md), 'max_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$photos\_Photos](../types/photos_Photos.md) +$MadelineProto->[photos->getUserPhotos](photos.getUserPhotos.md)(\['user_id' => [InputUser](../types/InputUser.md), 'offset' => [int](../types/int.md), 'max_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$photos.Photos](../types/photos.Photos.md) ***

@@ -792,23 +792,23 @@ $MadelineProto->[photos->updateProfilePhoto](photos.updateProfilePhoto.md)(\['id ***

-$MadelineProto->[photos->uploadProfilePhoto](photos.uploadProfilePhoto.md)(\['file' => [InputFile](../types/InputFile.md), \]) === [$photos\_Photo](../types/photos_Photo.md) +$MadelineProto->[photos->uploadProfilePhoto](photos.uploadProfilePhoto.md)(\['file' => [InputFile](../types/InputFile.md), \]) === [$photos.Photo](../types/photos.Photo.md) ***

-$MadelineProto->[updates->getChannelDifference](updates.getChannelDifference.md)(\['force' => [Bool](../types/Bool.md), 'channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$updates\_ChannelDifference](../types/updates_ChannelDifference.md) +$MadelineProto->[updates->getChannelDifference](updates.getChannelDifference.md)(\['force' => [Bool](../types/Bool.md), 'channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$updates.ChannelDifference](../types/updates.ChannelDifference.md) ***

-$MadelineProto->[updates->getDifference](updates.getDifference.md)(\['pts' => [int](../types/int.md), 'pts_total_limit' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) === [$updates\_Difference](../types/updates_Difference.md) +$MadelineProto->[updates->getDifference](updates.getDifference.md)(\['pts' => [int](../types/int.md), 'pts_total_limit' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) === [$updates.Difference](../types/updates.Difference.md) ***

-$MadelineProto->[updates->getState](updates.getState.md)(\[\]) === [$updates\_State](../types/updates_State.md) +$MadelineProto->[updates->getState](updates.getState.md)(\[\]) === [$updates.State](../types/updates.State.md) ***

-$MadelineProto->[upload->getFile](upload.getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_File](../types/upload_File.md) +$MadelineProto->[upload->getFile](upload.getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload.File](../types/upload.File.md) ***

diff --git a/old_docs/API_docs_v62/methods/auth.checkPassword.md b/old_docs/API_docs_v62/methods/auth.checkPassword.md index db65cb56..eeeed171 100644 --- a/old_docs/API_docs_v62/methods/auth.checkPassword.md +++ b/old_docs/API_docs_v62/methods/auth.checkPassword.md @@ -16,7 +16,7 @@ You cannot use this method directly, use the complete_2fa_login method instead ( |password\_hash|[bytes](../types/bytes.md) | You cannot use this method directly, use the complete_2fa_login method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->checkPassword(['password_hash' => 'bytes', ]); +$auth.Authorization = $MadelineProto->auth->checkPassword(['password_hash' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.checkPassword({password_hash='bytes', }) +auth.Authorization = auth.checkPassword({password_hash='bytes', }) ``` ### Errors diff --git a/old_docs/API_docs_v62/methods/auth.checkPhone.md b/old_docs/API_docs_v62/methods/auth.checkPhone.md index 227358cb..51d4cba6 100644 --- a/old_docs/API_docs_v62/methods/auth.checkPhone.md +++ b/old_docs/API_docs_v62/methods/auth.checkPhone.md @@ -16,7 +16,7 @@ Check if this phone number is registered on telegram |phone\_number|[string](../types/string.md) | The phone number to check | Yes| -### Return type: [auth\_CheckedPhone](../types/auth_CheckedPhone.md) +### Return type: [auth.CheckedPhone](../types/auth.CheckedPhone.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => 'string', ]); +$auth.CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_CheckedPhone = auth.checkPhone({phone_number='string', }) +auth.CheckedPhone = auth.checkPhone({phone_number='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v62/methods/auth.exportAuthorization.md b/old_docs/API_docs_v62/methods/auth.exportAuthorization.md index 72063a2b..41a1f87d 100644 --- a/old_docs/API_docs_v62/methods/auth.exportAuthorization.md +++ b/old_docs/API_docs_v62/methods/auth.exportAuthorization.md @@ -16,7 +16,7 @@ You cannot use this method directly, use $MadelineProto->exportAuthorization() i |dc\_id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| -### Return type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) +### Return type: [auth.ExportedAuthorization](../types/auth.ExportedAuthorization.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_ExportedAuthorization = $MadelineProto->auth->exportAuthorization(['dc_id' => int, ]); +$auth.ExportedAuthorization = $MadelineProto->auth->exportAuthorization(['dc_id' => int, ]); ``` Or, if you're into Lua: ```lua -auth_ExportedAuthorization = auth.exportAuthorization({dc_id=int, }) +auth.ExportedAuthorization = auth.exportAuthorization({dc_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v62/methods/auth.importAuthorization.md b/old_docs/API_docs_v62/methods/auth.importAuthorization.md index d9c13751..5257e0b0 100644 --- a/old_docs/API_docs_v62/methods/auth.importAuthorization.md +++ b/old_docs/API_docs_v62/methods/auth.importAuthorization.md @@ -17,7 +17,7 @@ You cannot use this method directly, use $MadelineProto->importAuthorization($au |bytes|[bytes](../types/bytes.md) | You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => 'bytes', ]); +$auth.Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.importAuthorization({id=int, bytes='bytes', }) +auth.Authorization = auth.importAuthorization({id=int, bytes='bytes', }) ``` ### Errors diff --git a/old_docs/API_docs_v62/methods/auth.importBotAuthorization.md b/old_docs/API_docs_v62/methods/auth.importBotAuthorization.md index 3161d6be..a4ea8027 100644 --- a/old_docs/API_docs_v62/methods/auth.importBotAuthorization.md +++ b/old_docs/API_docs_v62/methods/auth.importBotAuthorization.md @@ -18,7 +18,7 @@ You cannot use this method directly, use the botLogin method instead (see https: |bot\_auth\_token|[string](../types/string.md) | You cannot use this method directly, use the botLogin method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **YES** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->importBotAuthorization(['api_id' => int, 'api_hash' => 'string', 'bot_auth_token' => 'string', ]); +$auth.Authorization = $MadelineProto->auth->importBotAuthorization(['api_id' => int, 'api_hash' => 'string', 'bot_auth_token' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.importBotAuthorization({api_id=int, api_hash='string', bot_auth_token='string', }) +auth.Authorization = auth.importBotAuthorization({api_id=int, api_hash='string', bot_auth_token='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v62/methods/auth.recoverPassword.md b/old_docs/API_docs_v62/methods/auth.recoverPassword.md index f7cbf4a4..2e78444b 100644 --- a/old_docs/API_docs_v62/methods/auth.recoverPassword.md +++ b/old_docs/API_docs_v62/methods/auth.recoverPassword.md @@ -16,7 +16,7 @@ Reset the [2FA password](https://core.telegram.org/api/srp) using the recovery c |code|[string](../types/string.md) | Code received via email | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->recoverPassword(['code' => 'string', ]); +$auth.Authorization = $MadelineProto->auth->recoverPassword(['code' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.recoverPassword({code='string', }) +auth.Authorization = auth.recoverPassword({code='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v62/methods/auth.requestPasswordRecovery.md b/old_docs/API_docs_v62/methods/auth.requestPasswordRecovery.md index 5cd77936..ff1ecc02 100644 --- a/old_docs/API_docs_v62/methods/auth.requestPasswordRecovery.md +++ b/old_docs/API_docs_v62/methods/auth.requestPasswordRecovery.md @@ -11,7 +11,7 @@ Request recovery code of a [2FA password](https://core.telegram.org/api/srp), on -### Return type: [auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) +### Return type: [auth.PasswordRecovery](../types/auth.PasswordRecovery.md) ### Can bots use this method: **NO** @@ -28,13 +28,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_PasswordRecovery = $MadelineProto->auth->requestPasswordRecovery(); +$auth.PasswordRecovery = $MadelineProto->auth->requestPasswordRecovery(); ``` Or, if you're into Lua: ```lua -auth_PasswordRecovery = auth.requestPasswordRecovery({}) +auth.PasswordRecovery = auth.requestPasswordRecovery({}) ``` ### Errors diff --git a/old_docs/API_docs_v62/methods/auth.resendCode.md b/old_docs/API_docs_v62/methods/auth.resendCode.md index a395a91b..f59f1b7b 100644 --- a/old_docs/API_docs_v62/methods/auth.resendCode.md +++ b/old_docs/API_docs_v62/methods/auth.resendCode.md @@ -17,7 +17,7 @@ Resend the login code via another medium, the phone code type is determined by t |phone\_code\_hash|[string](../types/string.md) | The phone code hash obtained from [auth.sendCode](../methods/auth.sendCode.md) | Yes| -### Return type: [auth\_SentCode](../types/auth_SentCode.md) +### Return type: [auth.SentCode](../types/auth.SentCode.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_SentCode = $MadelineProto->auth->resendCode(['phone_number' => 'string', 'phone_code_hash' => 'string', ]); +$auth.SentCode = $MadelineProto->auth->resendCode(['phone_number' => 'string', 'phone_code_hash' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_SentCode = auth.resendCode({phone_number='string', phone_code_hash='string', }) +auth.SentCode = auth.resendCode({phone_number='string', phone_code_hash='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v62/methods/auth.sendCode.md b/old_docs/API_docs_v62/methods/auth.sendCode.md index bd922a48..0c818fbb 100644 --- a/old_docs/API_docs_v62/methods/auth.sendCode.md +++ b/old_docs/API_docs_v62/methods/auth.sendCode.md @@ -20,7 +20,7 @@ You cannot use this method directly, use the phoneLogin method instead (see http |api\_hash|[string](../types/string.md) | You cannot use this method directly, use the phoneLogin method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_SentCode](../types/auth_SentCode.md) +### Return type: [auth.SentCode](../types/auth.SentCode.md) ### Can bots use this method: **NO** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_SentCode = $MadelineProto->auth->sendCode(['allow_flashcall' => Bool, 'phone_number' => 'string', 'current_number' => Bool, 'api_id' => int, 'api_hash' => 'string', ]); +$auth.SentCode = $MadelineProto->auth->sendCode(['allow_flashcall' => Bool, 'phone_number' => 'string', 'current_number' => Bool, 'api_id' => int, 'api_hash' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_SentCode = auth.sendCode({allow_flashcall=Bool, phone_number='string', current_number=Bool, api_id=int, api_hash='string', }) +auth.SentCode = auth.sendCode({allow_flashcall=Bool, phone_number='string', current_number=Bool, api_id=int, api_hash='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v62/methods/auth.signIn.md b/old_docs/API_docs_v62/methods/auth.signIn.md index 54812a2e..95b14f32 100644 --- a/old_docs/API_docs_v62/methods/auth.signIn.md +++ b/old_docs/API_docs_v62/methods/auth.signIn.md @@ -18,7 +18,7 @@ You cannot use this method directly, use the completePhoneLogin method instead ( |phone\_code|[string](../types/string.md) | You cannot use this method directly, use the completePhoneLogin method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->signIn(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', ]); +$auth.Authorization = $MadelineProto->auth->signIn(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.signIn({phone_number='string', phone_code_hash='string', phone_code='string', }) +auth.Authorization = auth.signIn({phone_number='string', phone_code_hash='string', phone_code='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v62/methods/auth.signUp.md b/old_docs/API_docs_v62/methods/auth.signUp.md index 2aca2bfa..fdb5d628 100644 --- a/old_docs/API_docs_v62/methods/auth.signUp.md +++ b/old_docs/API_docs_v62/methods/auth.signUp.md @@ -20,7 +20,7 @@ You cannot use this method directly, use the completeSignup method instead (see |last\_name|[string](../types/string.md) | You cannot use this method directly, use the completeSignup method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **NO** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->signUp(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', 'first_name' => 'string', 'last_name' => 'string', ]); +$auth.Authorization = $MadelineProto->auth->signUp(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', 'first_name' => 'string', 'last_name' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.signUp({phone_number='string', phone_code_hash='string', phone_code='string', first_name='string', last_name='string', }) +auth.Authorization = auth.signUp({phone_number='string', phone_code_hash='string', phone_code='string', first_name='string', last_name='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v62/methods/channels.deleteMessages.md b/old_docs/API_docs_v62/methods/channels.deleteMessages.md index 10a439fb..8583e560 100644 --- a/old_docs/API_docs_v62/methods/channels.deleteMessages.md +++ b/old_docs/API_docs_v62/methods/channels.deleteMessages.md @@ -17,7 +17,7 @@ Delete messages in a [channel/supergroup](https://core.telegram.org/api/channel) |id|Array of [int](../types/int.md) | The IDs of messages to delete | Yes| -### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) +### Return type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedMessages = $MadelineProto->channels->deleteMessages(['channel' => InputChannel, 'id' => [int, int], ]); +$messages.AffectedMessages = $MadelineProto->channels->deleteMessages(['channel' => InputChannel, 'id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AffectedMessages = channels.deleteMessages({channel=InputChannel, id={int}, }) +messages.AffectedMessages = channels.deleteMessages({channel=InputChannel, id={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v62/methods/channels.deleteUserHistory.md b/old_docs/API_docs_v62/methods/channels.deleteUserHistory.md index 9b8b159f..6ccaf7dd 100644 --- a/old_docs/API_docs_v62/methods/channels.deleteUserHistory.md +++ b/old_docs/API_docs_v62/methods/channels.deleteUserHistory.md @@ -17,7 +17,7 @@ Delete all messages sent by a certain user in a [supergroup](https://core.telegr |user\_id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | User whose messages should be deleted | Optional| -### Return type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) +### Return type: [messages.AffectedHistory](../types/messages.AffectedHistory.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedHistory = $MadelineProto->channels->deleteUserHistory(['channel' => InputChannel, 'user_id' => InputUser, ]); +$messages.AffectedHistory = $MadelineProto->channels->deleteUserHistory(['channel' => InputChannel, 'user_id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -messages_AffectedHistory = channels.deleteUserHistory({channel=InputChannel, user_id=InputUser, }) +messages.AffectedHistory = channels.deleteUserHistory({channel=InputChannel, user_id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v62/methods/channels.getAdminedPublicChannels.md b/old_docs/API_docs_v62/methods/channels.getAdminedPublicChannels.md index 55a686ca..eb277404 100644 --- a/old_docs/API_docs_v62/methods/channels.getAdminedPublicChannels.md +++ b/old_docs/API_docs_v62/methods/channels.getAdminedPublicChannels.md @@ -11,7 +11,7 @@ Get [channels/supergroups/geogroups](https://core.telegram.org/api/channel) we'r -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->channels->getAdminedPublicChannels(); +$messages.Chats = $MadelineProto->channels->getAdminedPublicChannels(); ``` Or, if you're into Lua: ```lua -messages_Chats = channels.getAdminedPublicChannels({}) +messages.Chats = channels.getAdminedPublicChannels({}) ``` diff --git a/old_docs/API_docs_v62/methods/channels.getChannels.md b/old_docs/API_docs_v62/methods/channels.getChannels.md index 368c96ce..ed9cf4a7 100644 --- a/old_docs/API_docs_v62/methods/channels.getChannels.md +++ b/old_docs/API_docs_v62/methods/channels.getChannels.md @@ -16,7 +16,7 @@ Get info about [channels/supergroups](https://core.telegram.org/api/channel) |id|Array of [Username, chat ID, Update, Message or InputChannel](../types/InputChannel.md) | The channel/supergroup MTProto IDs | Yes| -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->channels->getChannels(['id' => [InputChannel, InputChannel], ]); +$messages.Chats = $MadelineProto->channels->getChannels(['id' => [InputChannel, InputChannel], ]); ``` Or, if you're into Lua: ```lua -messages_Chats = channels.getChannels({id={InputChannel}, }) +messages.Chats = channels.getChannels({id={InputChannel}, }) ``` ### Errors diff --git a/old_docs/API_docs_v62/methods/channels.getFullChannel.md b/old_docs/API_docs_v62/methods/channels.getFullChannel.md index 08dc21bb..1369e0a0 100644 --- a/old_docs/API_docs_v62/methods/channels.getFullChannel.md +++ b/old_docs/API_docs_v62/methods/channels.getFullChannel.md @@ -16,7 +16,7 @@ You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo me |channel|[Username, chat ID, Update, Message or InputChannel](../types/InputChannel.md) | You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo methods instead (see https://docs.madelineproto.xyz for more info) | Optional| -### Return type: [messages\_ChatFull](../types/messages_ChatFull.md) +### Return type: [messages.ChatFull](../types/messages.ChatFull.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_ChatFull = $MadelineProto->channels->getFullChannel(['channel' => InputChannel, ]); +$messages.ChatFull = $MadelineProto->channels->getFullChannel(['channel' => InputChannel, ]); ``` Or, if you're into Lua: ```lua -messages_ChatFull = channels.getFullChannel({channel=InputChannel, }) +messages.ChatFull = channels.getFullChannel({channel=InputChannel, }) ``` ### Errors diff --git a/old_docs/API_docs_v62/methods/channels.getMessages.md b/old_docs/API_docs_v62/methods/channels.getMessages.md index 379e0e9d..5023ea1a 100644 --- a/old_docs/API_docs_v62/methods/channels.getMessages.md +++ b/old_docs/API_docs_v62/methods/channels.getMessages.md @@ -17,7 +17,7 @@ Get [channel/supergroup](https://core.telegram.org/api/channel) messages |id|Array of [int](../types/int.md) | The message IDs | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->channels->getMessages(['channel' => InputChannel, 'id' => [int, int], ]); +$messages.Messages = $MadelineProto->channels->getMessages(['channel' => InputChannel, 'id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Messages = channels.getMessages({channel=InputChannel, id={int}, }) +messages.Messages = channels.getMessages({channel=InputChannel, id={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v62/methods/channels.getParticipant.md b/old_docs/API_docs_v62/methods/channels.getParticipant.md index aa2ce655..cf6a7771 100644 --- a/old_docs/API_docs_v62/methods/channels.getParticipant.md +++ b/old_docs/API_docs_v62/methods/channels.getParticipant.md @@ -17,7 +17,7 @@ Get info about a [channel/supergroup](https://core.telegram.org/api/channel) par |user\_id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | ID of participant to get info about | Optional| -### Return type: [channels\_ChannelParticipant](../types/channels_ChannelParticipant.md) +### Return type: [channels.ChannelParticipant](../types/channels.ChannelParticipant.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$channels_ChannelParticipant = $MadelineProto->channels->getParticipant(['channel' => InputChannel, 'user_id' => InputUser, ]); +$channels.ChannelParticipant = $MadelineProto->channels->getParticipant(['channel' => InputChannel, 'user_id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -channels_ChannelParticipant = channels.getParticipant({channel=InputChannel, user_id=InputUser, }) +channels.ChannelParticipant = channels.getParticipant({channel=InputChannel, user_id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v62/methods/channels.getParticipants.md b/old_docs/API_docs_v62/methods/channels.getParticipants.md index 9be95921..bfeccd48 100644 --- a/old_docs/API_docs_v62/methods/channels.getParticipants.md +++ b/old_docs/API_docs_v62/methods/channels.getParticipants.md @@ -19,7 +19,7 @@ Get the participants of a channel |limit|[int](../types/int.md) | [Limit](https://core.telegram.org/api/offsets) | Yes| -### Return type: [channels\_ChannelParticipants](../types/channels_ChannelParticipants.md) +### Return type: [channels.ChannelParticipants](../types/channels.ChannelParticipants.md) ### Can bots use this method: **YES** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$channels_ChannelParticipants = $MadelineProto->channels->getParticipants(['channel' => InputChannel, 'filter' => ChannelParticipantsFilter, 'offset' => int, 'limit' => int, ]); +$channels.ChannelParticipants = $MadelineProto->channels->getParticipants(['channel' => InputChannel, 'filter' => ChannelParticipantsFilter, 'offset' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -channels_ChannelParticipants = channels.getParticipants({channel=InputChannel, filter=ChannelParticipantsFilter, offset=int, limit=int, }) +channels.ChannelParticipants = channels.getParticipants({channel=InputChannel, filter=ChannelParticipantsFilter, offset=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v62/methods/contacts.deleteContact.md b/old_docs/API_docs_v62/methods/contacts.deleteContact.md index a9321d64..9169e1e0 100644 --- a/old_docs/API_docs_v62/methods/contacts.deleteContact.md +++ b/old_docs/API_docs_v62/methods/contacts.deleteContact.md @@ -16,7 +16,7 @@ Delete a contact |id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | The contact to delete | Optional| -### Return type: [contacts\_Link](../types/contacts_Link.md) +### Return type: [contacts.Link](../types/contacts.Link.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Link = $MadelineProto->contacts->deleteContact(['id' => InputUser, ]); +$contacts.Link = $MadelineProto->contacts->deleteContact(['id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -contacts_Link = contacts.deleteContact({id=InputUser, }) +contacts.Link = contacts.deleteContact({id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v62/methods/contacts.getBlocked.md b/old_docs/API_docs_v62/methods/contacts.getBlocked.md index 92f2f331..6ac1c343 100644 --- a/old_docs/API_docs_v62/methods/contacts.getBlocked.md +++ b/old_docs/API_docs_v62/methods/contacts.getBlocked.md @@ -17,7 +17,7 @@ Returns the list of blocked users. |limit|[int](../types/int.md) | The number of list elements to be returned | Yes| -### Return type: [contacts\_Blocked](../types/contacts_Blocked.md) +### Return type: [contacts.Blocked](../types/contacts.Blocked.md) ### Can bots use this method: **NO** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Blocked = $MadelineProto->contacts->getBlocked(['offset' => int, 'limit' => int, ]); +$contacts.Blocked = $MadelineProto->contacts->getBlocked(['offset' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -contacts_Blocked = contacts.getBlocked({offset=int, limit=int, }) +contacts.Blocked = contacts.getBlocked({offset=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v62/methods/contacts.getContacts.md b/old_docs/API_docs_v62/methods/contacts.getContacts.md index caee7aa8..a2fcd412 100644 --- a/old_docs/API_docs_v62/methods/contacts.getContacts.md +++ b/old_docs/API_docs_v62/methods/contacts.getContacts.md @@ -16,7 +16,7 @@ Returns the current user's contact list. |hash|[string](../types/string.md) | List of contact user IDs you already cached | Yes| -### Return type: [contacts\_Contacts](../types/contacts_Contacts.md) +### Return type: [contacts.Contacts](../types/contacts.Contacts.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Contacts = $MadelineProto->contacts->getContacts(['hash' => 'string', ]); +$contacts.Contacts = $MadelineProto->contacts->getContacts(['hash' => 'string', ]); ``` Or, if you're into Lua: ```lua -contacts_Contacts = contacts.getContacts({hash='string', }) +contacts.Contacts = contacts.getContacts({hash='string', }) ``` diff --git a/old_docs/API_docs_v62/methods/contacts.getTopPeers.md b/old_docs/API_docs_v62/methods/contacts.getTopPeers.md index 4875826c..c2063ea6 100644 --- a/old_docs/API_docs_v62/methods/contacts.getTopPeers.md +++ b/old_docs/API_docs_v62/methods/contacts.getTopPeers.md @@ -23,7 +23,7 @@ Get most used peers |hash|Array of [int](../types/int.md) | Peer IDs of previously cached peers | Optional| -### Return type: [contacts\_TopPeers](../types/contacts_TopPeers.md) +### Return type: [contacts.TopPeers](../types/contacts.TopPeers.md) ### Can bots use this method: **NO** @@ -40,13 +40,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_TopPeers = $MadelineProto->contacts->getTopPeers(['correspondents' => Bool, 'bots_pm' => Bool, 'bots_inline' => Bool, 'groups' => Bool, 'channels' => Bool, 'offset' => int, 'limit' => int, 'hash' => [int, int], ]); +$contacts.TopPeers = $MadelineProto->contacts->getTopPeers(['correspondents' => Bool, 'bots_pm' => Bool, 'bots_inline' => Bool, 'groups' => Bool, 'channels' => Bool, 'offset' => int, 'limit' => int, 'hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -contacts_TopPeers = contacts.getTopPeers({correspondents=Bool, bots_pm=Bool, bots_inline=Bool, groups=Bool, channels=Bool, offset=int, limit=int, hash={int}, }) +contacts.TopPeers = contacts.getTopPeers({correspondents=Bool, bots_pm=Bool, bots_inline=Bool, groups=Bool, channels=Bool, offset=int, limit=int, hash={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v62/methods/contacts.importContacts.md b/old_docs/API_docs_v62/methods/contacts.importContacts.md index 572df9fb..975d0565 100644 --- a/old_docs/API_docs_v62/methods/contacts.importContacts.md +++ b/old_docs/API_docs_v62/methods/contacts.importContacts.md @@ -17,7 +17,7 @@ Imports contacts: saves a full list on the server, adds already registered conta |replace|[Bool](../types/Bool.md) | Replace contacts? | Yes| -### Return type: [contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) +### Return type: [contacts.ImportedContacts](../types/contacts.ImportedContacts.md) ### Can bots use this method: **NO** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_ImportedContacts = $MadelineProto->contacts->importContacts(['contacts' => [InputContact, InputContact], 'replace' => Bool, ]); +$contacts.ImportedContacts = $MadelineProto->contacts->importContacts(['contacts' => [InputContact, InputContact], 'replace' => Bool, ]); ``` Or, if you're into Lua: ```lua -contacts_ImportedContacts = contacts.importContacts({contacts={InputContact}, replace=Bool, }) +contacts.ImportedContacts = contacts.importContacts({contacts={InputContact}, replace=Bool, }) ``` diff --git a/old_docs/API_docs_v62/methods/contacts.resolveUsername.md b/old_docs/API_docs_v62/methods/contacts.resolveUsername.md index 05e3d854..46f1eb50 100644 --- a/old_docs/API_docs_v62/methods/contacts.resolveUsername.md +++ b/old_docs/API_docs_v62/methods/contacts.resolveUsername.md @@ -16,7 +16,7 @@ You cannot use this method directly, use the resolveUsername, getPwrChat, getInf |username|[string](../types/string.md) | You cannot use this method directly, use the resolveUsername, getPwrChat, getInfo, getFullInfo methods instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [contacts\_ResolvedPeer](../types/contacts_ResolvedPeer.md) +### Return type: [contacts.ResolvedPeer](../types/contacts.ResolvedPeer.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_ResolvedPeer = $MadelineProto->contacts->resolveUsername(['username' => 'string', ]); +$contacts.ResolvedPeer = $MadelineProto->contacts->resolveUsername(['username' => 'string', ]); ``` Or, if you're into Lua: ```lua -contacts_ResolvedPeer = contacts.resolveUsername({username='string', }) +contacts.ResolvedPeer = contacts.resolveUsername({username='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v62/methods/contacts.search.md b/old_docs/API_docs_v62/methods/contacts.search.md index 2f39d6f1..ec04c7f9 100644 --- a/old_docs/API_docs_v62/methods/contacts.search.md +++ b/old_docs/API_docs_v62/methods/contacts.search.md @@ -17,7 +17,7 @@ Returns users found by username substring. |limit|[int](../types/int.md) | Maximum number of users to be returned | Yes| -### Return type: [contacts\_Found](../types/contacts_Found.md) +### Return type: [contacts.Found](../types/contacts.Found.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Found = $MadelineProto->contacts->search(['q' => 'string', 'limit' => int, ]); +$contacts.Found = $MadelineProto->contacts->search(['q' => 'string', 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -contacts_Found = contacts.search({q='string', limit=int, }) +contacts.Found = contacts.search({q='string', limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v62/methods/help.getAppChangelog.md b/old_docs/API_docs_v62/methods/help.getAppChangelog.md index 627d2d55..86973f04 100644 --- a/old_docs/API_docs_v62/methods/help.getAppChangelog.md +++ b/old_docs/API_docs_v62/methods/help.getAppChangelog.md @@ -11,7 +11,7 @@ Get changelog of current app -### Return type: [help\_AppChangelog](../types/help_AppChangelog.md) +### Return type: [help.AppChangelog](../types/help.AppChangelog.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_AppChangelog = $MadelineProto->help->getAppChangelog(); +$help.AppChangelog = $MadelineProto->help->getAppChangelog(); ``` Or, if you're into Lua: ```lua -help_AppChangelog = help.getAppChangelog({}) +help.AppChangelog = help.getAppChangelog({}) ``` diff --git a/old_docs/API_docs_v62/methods/help.getAppUpdate.md b/old_docs/API_docs_v62/methods/help.getAppUpdate.md index 4c58e898..b9899d71 100644 --- a/old_docs/API_docs_v62/methods/help.getAppUpdate.md +++ b/old_docs/API_docs_v62/methods/help.getAppUpdate.md @@ -11,7 +11,7 @@ Returns information on update availability for the current application. -### Return type: [help\_AppUpdate](../types/help_AppUpdate.md) +### Return type: [help.AppUpdate](../types/help.AppUpdate.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_AppUpdate = $MadelineProto->help->getAppUpdate(); +$help.AppUpdate = $MadelineProto->help->getAppUpdate(); ``` Or, if you're into Lua: ```lua -help_AppUpdate = help.getAppUpdate({}) +help.AppUpdate = help.getAppUpdate({}) ``` diff --git a/old_docs/API_docs_v62/methods/help.getInviteText.md b/old_docs/API_docs_v62/methods/help.getInviteText.md index 6fd67362..0d427974 100644 --- a/old_docs/API_docs_v62/methods/help.getInviteText.md +++ b/old_docs/API_docs_v62/methods/help.getInviteText.md @@ -11,7 +11,7 @@ Returns text of a text message with an invitation. -### Return type: [help\_InviteText](../types/help_InviteText.md) +### Return type: [help.InviteText](../types/help.InviteText.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_InviteText = $MadelineProto->help->getInviteText(); +$help.InviteText = $MadelineProto->help->getInviteText(); ``` Or, if you're into Lua: ```lua -help_InviteText = help.getInviteText({}) +help.InviteText = help.getInviteText({}) ``` diff --git a/old_docs/API_docs_v62/methods/help.getSupport.md b/old_docs/API_docs_v62/methods/help.getSupport.md index 7a577892..8a8df916 100644 --- a/old_docs/API_docs_v62/methods/help.getSupport.md +++ b/old_docs/API_docs_v62/methods/help.getSupport.md @@ -11,7 +11,7 @@ Returns the support user for the 'ask a question' feature. -### Return type: [help\_Support](../types/help_Support.md) +### Return type: [help.Support](../types/help.Support.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_Support = $MadelineProto->help->getSupport(); +$help.Support = $MadelineProto->help->getSupport(); ``` Or, if you're into Lua: ```lua -help_Support = help.getSupport({}) +help.Support = help.getSupport({}) ``` diff --git a/old_docs/API_docs_v62/methods/help.getTermsOfService.md b/old_docs/API_docs_v62/methods/help.getTermsOfService.md index f6226458..9f9b28f9 100644 --- a/old_docs/API_docs_v62/methods/help.getTermsOfService.md +++ b/old_docs/API_docs_v62/methods/help.getTermsOfService.md @@ -11,7 +11,7 @@ Get terms of service -### Return type: [help\_TermsOfService](../types/help_TermsOfService.md) +### Return type: [help.TermsOfService](../types/help.TermsOfService.md) ### Can bots use this method: **YES** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_TermsOfService = $MadelineProto->help->getTermsOfService(); +$help.TermsOfService = $MadelineProto->help->getTermsOfService(); ``` Or, if you're into Lua: ```lua -help_TermsOfService = help.getTermsOfService({}) +help.TermsOfService = help.getTermsOfService({}) ``` diff --git a/old_docs/API_docs_v62/methods/messages.deleteHistory.md b/old_docs/API_docs_v62/methods/messages.deleteHistory.md index 9ae1bae9..41460415 100644 --- a/old_docs/API_docs_v62/methods/messages.deleteHistory.md +++ b/old_docs/API_docs_v62/methods/messages.deleteHistory.md @@ -18,7 +18,7 @@ Deletes communication history. |max\_id|[int](../types/int.md) | Maximum ID of message to delete | Yes| -### Return type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) +### Return type: [messages.AffectedHistory](../types/messages.AffectedHistory.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedHistory = $MadelineProto->messages->deleteHistory(['just_clear' => Bool, 'peer' => InputPeer, 'max_id' => int, ]); +$messages.AffectedHistory = $MadelineProto->messages->deleteHistory(['just_clear' => Bool, 'peer' => InputPeer, 'max_id' => int, ]); ``` Or, if you're into Lua: ```lua -messages_AffectedHistory = messages.deleteHistory({just_clear=Bool, peer=InputPeer, max_id=int, }) +messages.AffectedHistory = messages.deleteHistory({just_clear=Bool, peer=InputPeer, max_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v62/methods/messages.deleteMessages.md b/old_docs/API_docs_v62/methods/messages.deleteMessages.md index ade04cae..ade96e60 100644 --- a/old_docs/API_docs_v62/methods/messages.deleteMessages.md +++ b/old_docs/API_docs_v62/methods/messages.deleteMessages.md @@ -17,7 +17,7 @@ Deletes messages by their identifiers. |id|Array of [int](../types/int.md) | IDs of messages to delete, use channels->deleteMessages for supergroups | Yes| -### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) +### Return type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedMessages = $MadelineProto->messages->deleteMessages(['revoke' => Bool, 'id' => [int, int], ]); +$messages.AffectedMessages = $MadelineProto->messages->deleteMessages(['revoke' => Bool, 'id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AffectedMessages = messages.deleteMessages({revoke=Bool, id={int}, }) +messages.AffectedMessages = messages.deleteMessages({revoke=Bool, id={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v62/methods/messages.getAllChats.md b/old_docs/API_docs_v62/methods/messages.getAllChats.md index cdcc5430..97cc4817 100644 --- a/old_docs/API_docs_v62/methods/messages.getAllChats.md +++ b/old_docs/API_docs_v62/methods/messages.getAllChats.md @@ -16,7 +16,7 @@ Get all chats, channels and supergroups |except\_ids|Array of [int](../types/int.md) | Do not fetch these chats (MTProto id) | Yes| -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->messages->getAllChats(['except_ids' => [int, int], ]); +$messages.Chats = $MadelineProto->messages->getAllChats(['except_ids' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Chats = messages.getAllChats({except_ids={int}, }) +messages.Chats = messages.getAllChats({except_ids={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v62/methods/messages.getAllStickers.md b/old_docs/API_docs_v62/methods/messages.getAllStickers.md index 329b70be..0f0de7f1 100644 --- a/old_docs/API_docs_v62/methods/messages.getAllStickers.md +++ b/old_docs/API_docs_v62/methods/messages.getAllStickers.md @@ -16,7 +16,7 @@ Get all installed stickers |hash|Array of [int](../types/int.md) | The hash parameter of the previous result of this method | Optional| -### Return type: [messages\_AllStickers](../types/messages_AllStickers.md) +### Return type: [messages.AllStickers](../types/messages.AllStickers.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AllStickers = $MadelineProto->messages->getAllStickers(['hash' => [int, int], ]); +$messages.AllStickers = $MadelineProto->messages->getAllStickers(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AllStickers = messages.getAllStickers({hash={int}, }) +messages.AllStickers = messages.getAllStickers({hash={int}, }) ``` diff --git a/old_docs/API_docs_v62/methods/messages.getArchivedStickers.md b/old_docs/API_docs_v62/methods/messages.getArchivedStickers.md index d3abe9fc..c108376e 100644 --- a/old_docs/API_docs_v62/methods/messages.getArchivedStickers.md +++ b/old_docs/API_docs_v62/methods/messages.getArchivedStickers.md @@ -18,7 +18,7 @@ Get all archived stickers |limit|[int](../types/int.md) | Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_ArchivedStickers](../types/messages_ArchivedStickers.md) +### Return type: [messages.ArchivedStickers](../types/messages.ArchivedStickers.md) ### Can bots use this method: **NO** @@ -35,12 +35,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_ArchivedStickers = $MadelineProto->messages->getArchivedStickers(['masks' => Bool, 'offset_id' => long, 'limit' => int, ]); +$messages.ArchivedStickers = $MadelineProto->messages->getArchivedStickers(['masks' => Bool, 'offset_id' => long, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -messages_ArchivedStickers = messages.getArchivedStickers({masks=Bool, offset_id=long, limit=int, }) +messages.ArchivedStickers = messages.getArchivedStickers({masks=Bool, offset_id=long, limit=int, }) ``` diff --git a/old_docs/API_docs_v62/methods/messages.getBotCallbackAnswer.md b/old_docs/API_docs_v62/methods/messages.getBotCallbackAnswer.md index 015fc46b..10072386 100644 --- a/old_docs/API_docs_v62/methods/messages.getBotCallbackAnswer.md +++ b/old_docs/API_docs_v62/methods/messages.getBotCallbackAnswer.md @@ -19,7 +19,7 @@ Press an inline callback button and get a callback answer from the bot |data|[bytes](../types/bytes.md) | Callback data | Optional| -### Return type: [messages\_BotCallbackAnswer](../types/messages_BotCallbackAnswer.md) +### Return type: [messages.BotCallbackAnswer](../types/messages.BotCallbackAnswer.md) ### Can bots use this method: **NO** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_BotCallbackAnswer = $MadelineProto->messages->getBotCallbackAnswer(['game' => Bool, 'peer' => InputPeer, 'msg_id' => int, 'data' => 'bytes', ]); +$messages.BotCallbackAnswer = $MadelineProto->messages->getBotCallbackAnswer(['game' => Bool, 'peer' => InputPeer, 'msg_id' => int, 'data' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -messages_BotCallbackAnswer = messages.getBotCallbackAnswer({game=Bool, peer=InputPeer, msg_id=int, data='bytes', }) +messages.BotCallbackAnswer = messages.getBotCallbackAnswer({game=Bool, peer=InputPeer, msg_id=int, data='bytes', }) ``` ### Errors diff --git a/old_docs/API_docs_v62/methods/messages.getChats.md b/old_docs/API_docs_v62/methods/messages.getChats.md index c34b0488..146341f5 100644 --- a/old_docs/API_docs_v62/methods/messages.getChats.md +++ b/old_docs/API_docs_v62/methods/messages.getChats.md @@ -16,7 +16,7 @@ Returns chat basic info on their IDs. |id|Array of [int](../types/int.md) | The MTProto IDs of chats to fetch info about | Yes| -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->messages->getChats(['id' => [int, int], ]); +$messages.Chats = $MadelineProto->messages->getChats(['id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Chats = messages.getChats({id={int}, }) +messages.Chats = messages.getChats({id={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v62/methods/messages.getCommonChats.md b/old_docs/API_docs_v62/methods/messages.getCommonChats.md index fc7b2363..56a3ec01 100644 --- a/old_docs/API_docs_v62/methods/messages.getCommonChats.md +++ b/old_docs/API_docs_v62/methods/messages.getCommonChats.md @@ -18,7 +18,7 @@ Get chats in common with a user |limit|[int](../types/int.md) | Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->messages->getCommonChats(['user_id' => InputUser, 'max_id' => int, 'limit' => int, ]); +$messages.Chats = $MadelineProto->messages->getCommonChats(['user_id' => InputUser, 'max_id' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Chats = messages.getCommonChats({user_id=InputUser, max_id=int, limit=int, }) +messages.Chats = messages.getCommonChats({user_id=InputUser, max_id=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v62/methods/messages.getDhConfig.md b/old_docs/API_docs_v62/methods/messages.getDhConfig.md index 88ea4ab3..7b9da566 100644 --- a/old_docs/API_docs_v62/methods/messages.getDhConfig.md +++ b/old_docs/API_docs_v62/methods/messages.getDhConfig.md @@ -17,7 +17,7 @@ You cannot use this method directly, instead use $MadelineProto->getDhConfig(); |random\_length|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->getDhConfig(); | Yes| -### Return type: [messages\_DhConfig](../types/messages_DhConfig.md) +### Return type: [messages.DhConfig](../types/messages.DhConfig.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_DhConfig = $MadelineProto->messages->getDhConfig(['version' => int, 'random_length' => int, ]); +$messages.DhConfig = $MadelineProto->messages->getDhConfig(['version' => int, 'random_length' => int, ]); ``` Or, if you're into Lua: ```lua -messages_DhConfig = messages.getDhConfig({version=int, random_length=int, }) +messages.DhConfig = messages.getDhConfig({version=int, random_length=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v62/methods/messages.getDialogs.md b/old_docs/API_docs_v62/methods/messages.getDialogs.md index 9f3fd365..44b8efc8 100644 --- a/old_docs/API_docs_v62/methods/messages.getDialogs.md +++ b/old_docs/API_docs_v62/methods/messages.getDialogs.md @@ -20,7 +20,7 @@ Returns the current user dialog list. |limit|[int](../types/int.md) | Number of list elements to be returned | Yes| -### Return type: [messages\_Dialogs](../types/messages_Dialogs.md) +### Return type: [messages.Dialogs](../types/messages.Dialogs.md) ### Can bots use this method: **NO** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Dialogs = $MadelineProto->messages->getDialogs(['exclude_pinned' => Bool, 'offset_date' => int, 'offset_id' => int, 'offset_peer' => InputPeer, 'limit' => int, ]); +$messages.Dialogs = $MadelineProto->messages->getDialogs(['exclude_pinned' => Bool, 'offset_date' => int, 'offset_id' => int, 'offset_peer' => InputPeer, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Dialogs = messages.getDialogs({exclude_pinned=Bool, offset_date=int, offset_id=int, offset_peer=InputPeer, limit=int, }) +messages.Dialogs = messages.getDialogs({exclude_pinned=Bool, offset_date=int, offset_id=int, offset_peer=InputPeer, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v62/methods/messages.getFeaturedStickers.md b/old_docs/API_docs_v62/methods/messages.getFeaturedStickers.md index 8f2634c3..2d65d626 100644 --- a/old_docs/API_docs_v62/methods/messages.getFeaturedStickers.md +++ b/old_docs/API_docs_v62/methods/messages.getFeaturedStickers.md @@ -16,7 +16,7 @@ Get featured stickers |hash|Array of [int](../types/int.md) | the hash parameter of the previous result of this method | Optional| -### Return type: [messages\_FeaturedStickers](../types/messages_FeaturedStickers.md) +### Return type: [messages.FeaturedStickers](../types/messages.FeaturedStickers.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_FeaturedStickers = $MadelineProto->messages->getFeaturedStickers(['hash' => [int, int], ]); +$messages.FeaturedStickers = $MadelineProto->messages->getFeaturedStickers(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_FeaturedStickers = messages.getFeaturedStickers({hash={int}, }) +messages.FeaturedStickers = messages.getFeaturedStickers({hash={int}, }) ``` diff --git a/old_docs/API_docs_v62/methods/messages.getFullChat.md b/old_docs/API_docs_v62/methods/messages.getFullChat.md index abf23e21..de543651 100644 --- a/old_docs/API_docs_v62/methods/messages.getFullChat.md +++ b/old_docs/API_docs_v62/methods/messages.getFullChat.md @@ -16,7 +16,7 @@ You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo me |chat\_id|[Username, chat ID, Update, Message or InputPeer](../types/InputPeer.md) | You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo methods instead (see https://docs.madelineproto.xyz for more info) | Optional| -### Return type: [messages\_ChatFull](../types/messages_ChatFull.md) +### Return type: [messages.ChatFull](../types/messages.ChatFull.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_ChatFull = $MadelineProto->messages->getFullChat(['chat_id' => InputPeer, ]); +$messages.ChatFull = $MadelineProto->messages->getFullChat(['chat_id' => InputPeer, ]); ``` Or, if you're into Lua: ```lua -messages_ChatFull = messages.getFullChat({chat_id=InputPeer, }) +messages.ChatFull = messages.getFullChat({chat_id=InputPeer, }) ``` ### Errors diff --git a/old_docs/API_docs_v62/methods/messages.getGameHighScores.md b/old_docs/API_docs_v62/methods/messages.getGameHighScores.md index 0ee9d754..6e4dacb2 100644 --- a/old_docs/API_docs_v62/methods/messages.getGameHighScores.md +++ b/old_docs/API_docs_v62/methods/messages.getGameHighScores.md @@ -18,7 +18,7 @@ Get highscores of a game |user\_id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | Get high scores made by a certain user | Optional| -### Return type: [messages\_HighScores](../types/messages_HighScores.md) +### Return type: [messages.HighScores](../types/messages.HighScores.md) ### Can bots use this method: **YES** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_HighScores = $MadelineProto->messages->getGameHighScores(['peer' => InputPeer, 'id' => int, 'user_id' => InputUser, ]); +$messages.HighScores = $MadelineProto->messages->getGameHighScores(['peer' => InputPeer, 'id' => int, 'user_id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -messages_HighScores = messages.getGameHighScores({peer=InputPeer, id=int, user_id=InputUser, }) +messages.HighScores = messages.getGameHighScores({peer=InputPeer, id=int, user_id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v62/methods/messages.getHistory.md b/old_docs/API_docs_v62/methods/messages.getHistory.md index 636183d2..8e012da1 100644 --- a/old_docs/API_docs_v62/methods/messages.getHistory.md +++ b/old_docs/API_docs_v62/methods/messages.getHistory.md @@ -22,7 +22,7 @@ Gets back the conversation history with one interlocutor / within a chat |min\_id|[int](../types/int.md) | If a positive value was transferred, the method will return only messages with IDs more than **min\_id** | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **NO** @@ -39,13 +39,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->getHistory(['peer' => InputPeer, 'offset_id' => int, 'offset_date' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); +$messages.Messages = $MadelineProto->messages->getHistory(['peer' => InputPeer, 'offset_id' => int, 'offset_date' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.getHistory({peer=InputPeer, offset_id=int, offset_date=int, add_offset=int, limit=int, max_id=int, min_id=int, }) +messages.Messages = messages.getHistory({peer=InputPeer, offset_id=int, offset_date=int, add_offset=int, limit=int, max_id=int, min_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v62/methods/messages.getInlineBotResults.md b/old_docs/API_docs_v62/methods/messages.getInlineBotResults.md index ac251797..8a397236 100644 --- a/old_docs/API_docs_v62/methods/messages.getInlineBotResults.md +++ b/old_docs/API_docs_v62/methods/messages.getInlineBotResults.md @@ -20,7 +20,7 @@ Query an inline bot |offset|[string](../types/string.md) | The offset within the results, will be passed directly as-is to the bot. | Yes| -### Return type: [messages\_BotResults](../types/messages_BotResults.md) +### Return type: [messages.BotResults](../types/messages.BotResults.md) ### Can bots use this method: **NO** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_BotResults = $MadelineProto->messages->getInlineBotResults(['bot' => InputUser, 'peer' => InputPeer, 'geo_point' => InputGeoPoint, 'query' => 'string', 'offset' => 'string', ]); +$messages.BotResults = $MadelineProto->messages->getInlineBotResults(['bot' => InputUser, 'peer' => InputPeer, 'geo_point' => InputGeoPoint, 'query' => 'string', 'offset' => 'string', ]); ``` Or, if you're into Lua: ```lua -messages_BotResults = messages.getInlineBotResults({bot=InputUser, peer=InputPeer, geo_point=InputGeoPoint, query='string', offset='string', }) +messages.BotResults = messages.getInlineBotResults({bot=InputUser, peer=InputPeer, geo_point=InputGeoPoint, query='string', offset='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v62/methods/messages.getInlineGameHighScores.md b/old_docs/API_docs_v62/methods/messages.getInlineGameHighScores.md index 0d02b426..dbcb2cf6 100644 --- a/old_docs/API_docs_v62/methods/messages.getInlineGameHighScores.md +++ b/old_docs/API_docs_v62/methods/messages.getInlineGameHighScores.md @@ -17,7 +17,7 @@ Get highscores of a game sent using an inline bot |user\_id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | Get high scores of a certain user | Optional| -### Return type: [messages\_HighScores](../types/messages_HighScores.md) +### Return type: [messages.HighScores](../types/messages.HighScores.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_HighScores = $MadelineProto->messages->getInlineGameHighScores(['id' => InputBotInlineMessageID, 'user_id' => InputUser, ]); +$messages.HighScores = $MadelineProto->messages->getInlineGameHighScores(['id' => InputBotInlineMessageID, 'user_id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -messages_HighScores = messages.getInlineGameHighScores({id=InputBotInlineMessageID, user_id=InputUser, }) +messages.HighScores = messages.getInlineGameHighScores({id=InputBotInlineMessageID, user_id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v62/methods/messages.getMaskStickers.md b/old_docs/API_docs_v62/methods/messages.getMaskStickers.md index a09834e1..093645f6 100644 --- a/old_docs/API_docs_v62/methods/messages.getMaskStickers.md +++ b/old_docs/API_docs_v62/methods/messages.getMaskStickers.md @@ -16,7 +16,7 @@ Get installed mask stickers |hash|Array of [int](../types/int.md) | the hash parameter of the previous result of this method | Optional| -### Return type: [messages\_AllStickers](../types/messages_AllStickers.md) +### Return type: [messages.AllStickers](../types/messages.AllStickers.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AllStickers = $MadelineProto->messages->getMaskStickers(['hash' => [int, int], ]); +$messages.AllStickers = $MadelineProto->messages->getMaskStickers(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AllStickers = messages.getMaskStickers({hash={int}, }) +messages.AllStickers = messages.getMaskStickers({hash={int}, }) ``` diff --git a/old_docs/API_docs_v62/methods/messages.getMessageEditData.md b/old_docs/API_docs_v62/methods/messages.getMessageEditData.md index 1a083f08..7fd32e82 100644 --- a/old_docs/API_docs_v62/methods/messages.getMessageEditData.md +++ b/old_docs/API_docs_v62/methods/messages.getMessageEditData.md @@ -17,7 +17,7 @@ Find out if a media message's caption can be edited |id|[int](../types/int.md) | ID of message | Yes| -### Return type: [messages\_MessageEditData](../types/messages_MessageEditData.md) +### Return type: [messages.MessageEditData](../types/messages.MessageEditData.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_MessageEditData = $MadelineProto->messages->getMessageEditData(['peer' => InputPeer, 'id' => int, ]); +$messages.MessageEditData = $MadelineProto->messages->getMessageEditData(['peer' => InputPeer, 'id' => int, ]); ``` Or, if you're into Lua: ```lua -messages_MessageEditData = messages.getMessageEditData({peer=InputPeer, id=int, }) +messages.MessageEditData = messages.getMessageEditData({peer=InputPeer, id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v62/methods/messages.getMessages.md b/old_docs/API_docs_v62/methods/messages.getMessages.md index a3139513..c7760d7e 100644 --- a/old_docs/API_docs_v62/methods/messages.getMessages.md +++ b/old_docs/API_docs_v62/methods/messages.getMessages.md @@ -16,7 +16,7 @@ Returns the list of messages by their IDs. |id|Array of [int](../types/int.md) | The IDs of messages to fetch (only for users and normal groups) | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **YES** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->getMessages(['id' => [int, int], ]); +$messages.Messages = $MadelineProto->messages->getMessages(['id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.getMessages({id={int}, }) +messages.Messages = messages.getMessages({id={int}, }) ``` diff --git a/old_docs/API_docs_v62/methods/messages.getPeerDialogs.md b/old_docs/API_docs_v62/methods/messages.getPeerDialogs.md index a2c2714b..79bd7fa3 100644 --- a/old_docs/API_docs_v62/methods/messages.getPeerDialogs.md +++ b/old_docs/API_docs_v62/methods/messages.getPeerDialogs.md @@ -16,7 +16,7 @@ Get dialog info of specified peers |peers|Array of [Username, chat ID, Update, Message or InputPeer](../types/InputPeer.md) | The peers | Yes| -### Return type: [messages\_PeerDialogs](../types/messages_PeerDialogs.md) +### Return type: [messages.PeerDialogs](../types/messages.PeerDialogs.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_PeerDialogs = $MadelineProto->messages->getPeerDialogs(['peers' => [InputPeer, InputPeer], ]); +$messages.PeerDialogs = $MadelineProto->messages->getPeerDialogs(['peers' => [InputPeer, InputPeer], ]); ``` Or, if you're into Lua: ```lua -messages_PeerDialogs = messages.getPeerDialogs({peers={InputPeer}, }) +messages.PeerDialogs = messages.getPeerDialogs({peers={InputPeer}, }) ``` ### Errors diff --git a/old_docs/API_docs_v62/methods/messages.getPinnedDialogs.md b/old_docs/API_docs_v62/methods/messages.getPinnedDialogs.md index f106098d..161075f2 100644 --- a/old_docs/API_docs_v62/methods/messages.getPinnedDialogs.md +++ b/old_docs/API_docs_v62/methods/messages.getPinnedDialogs.md @@ -11,7 +11,7 @@ Get pinned dialogs -### Return type: [messages\_PeerDialogs](../types/messages_PeerDialogs.md) +### Return type: [messages.PeerDialogs](../types/messages.PeerDialogs.md) ### Can bots use this method: **NO** @@ -28,13 +28,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_PeerDialogs = $MadelineProto->messages->getPinnedDialogs(); +$messages.PeerDialogs = $MadelineProto->messages->getPinnedDialogs(); ``` Or, if you're into Lua: ```lua -messages_PeerDialogs = messages.getPinnedDialogs({}) +messages.PeerDialogs = messages.getPinnedDialogs({}) ``` ### Errors diff --git a/old_docs/API_docs_v62/methods/messages.getRecentStickers.md b/old_docs/API_docs_v62/methods/messages.getRecentStickers.md index 28a70889..39cef16a 100644 --- a/old_docs/API_docs_v62/methods/messages.getRecentStickers.md +++ b/old_docs/API_docs_v62/methods/messages.getRecentStickers.md @@ -17,7 +17,7 @@ Get recent stickers |hash|Array of [int](../types/int.md) | IDs the hash parameter of the previous result of this method | Optional| -### Return type: [messages\_RecentStickers](../types/messages_RecentStickers.md) +### Return type: [messages.RecentStickers](../types/messages.RecentStickers.md) ### Can bots use this method: **NO** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_RecentStickers = $MadelineProto->messages->getRecentStickers(['attached' => Bool, 'hash' => [int, int], ]); +$messages.RecentStickers = $MadelineProto->messages->getRecentStickers(['attached' => Bool, 'hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_RecentStickers = messages.getRecentStickers({attached=Bool, hash={int}, }) +messages.RecentStickers = messages.getRecentStickers({attached=Bool, hash={int}, }) ``` diff --git a/old_docs/API_docs_v62/methods/messages.getSavedGifs.md b/old_docs/API_docs_v62/methods/messages.getSavedGifs.md index 1df7f37c..8b31f7b8 100644 --- a/old_docs/API_docs_v62/methods/messages.getSavedGifs.md +++ b/old_docs/API_docs_v62/methods/messages.getSavedGifs.md @@ -16,7 +16,7 @@ Get saved GIFs |hash|Array of [int](../types/int.md) | the hash parameter of the previous result of this method | Optional| -### Return type: [messages\_SavedGifs](../types/messages_SavedGifs.md) +### Return type: [messages.SavedGifs](../types/messages.SavedGifs.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_SavedGifs = $MadelineProto->messages->getSavedGifs(['hash' => [int, int], ]); +$messages.SavedGifs = $MadelineProto->messages->getSavedGifs(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_SavedGifs = messages.getSavedGifs({hash={int}, }) +messages.SavedGifs = messages.getSavedGifs({hash={int}, }) ``` diff --git a/old_docs/API_docs_v62/methods/messages.getStickerSet.md b/old_docs/API_docs_v62/methods/messages.getStickerSet.md index 45fca60f..f11887ee 100644 --- a/old_docs/API_docs_v62/methods/messages.getStickerSet.md +++ b/old_docs/API_docs_v62/methods/messages.getStickerSet.md @@ -16,7 +16,7 @@ Get info about a stickerset |stickerset|[InputStickerSet](../types/InputStickerSet.md) | Stickerset | Optional| -### Return type: [messages\_StickerSet](../types/messages_StickerSet.md) +### Return type: [messages.StickerSet](../types/messages.StickerSet.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StickerSet = $MadelineProto->messages->getStickerSet(['stickerset' => InputStickerSet, ]); +$messages.StickerSet = $MadelineProto->messages->getStickerSet(['stickerset' => InputStickerSet, ]); ``` Or, if you're into Lua: ```lua -messages_StickerSet = messages.getStickerSet({stickerset=InputStickerSet, }) +messages.StickerSet = messages.getStickerSet({stickerset=InputStickerSet, }) ``` ### Errors diff --git a/old_docs/API_docs_v62/methods/messages.installStickerSet.md b/old_docs/API_docs_v62/methods/messages.installStickerSet.md index 1a95ca0b..83ce2121 100644 --- a/old_docs/API_docs_v62/methods/messages.installStickerSet.md +++ b/old_docs/API_docs_v62/methods/messages.installStickerSet.md @@ -17,7 +17,7 @@ Install a stickerset |archived|[Bool](../types/Bool.md) | Whether to archive stickerset | Yes| -### Return type: [messages\_StickerSetInstallResult](../types/messages_StickerSetInstallResult.md) +### Return type: [messages.StickerSetInstallResult](../types/messages.StickerSetInstallResult.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StickerSetInstallResult = $MadelineProto->messages->installStickerSet(['stickerset' => InputStickerSet, 'archived' => Bool, ]); +$messages.StickerSetInstallResult = $MadelineProto->messages->installStickerSet(['stickerset' => InputStickerSet, 'archived' => Bool, ]); ``` Or, if you're into Lua: ```lua -messages_StickerSetInstallResult = messages.installStickerSet({stickerset=InputStickerSet, archived=Bool, }) +messages.StickerSetInstallResult = messages.installStickerSet({stickerset=InputStickerSet, archived=Bool, }) ``` ### Errors diff --git a/old_docs/API_docs_v62/methods/messages.readHistory.md b/old_docs/API_docs_v62/methods/messages.readHistory.md index 39753375..52030c68 100644 --- a/old_docs/API_docs_v62/methods/messages.readHistory.md +++ b/old_docs/API_docs_v62/methods/messages.readHistory.md @@ -17,7 +17,7 @@ Marks message history as read. |max\_id|[int](../types/int.md) | If a positive value is passed, only messages with identifiers less or equal than the given one will be read | Yes| -### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) +### Return type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedMessages = $MadelineProto->messages->readHistory(['peer' => InputPeer, 'max_id' => int, ]); +$messages.AffectedMessages = $MadelineProto->messages->readHistory(['peer' => InputPeer, 'max_id' => int, ]); ``` Or, if you're into Lua: ```lua -messages_AffectedMessages = messages.readHistory({peer=InputPeer, max_id=int, }) +messages.AffectedMessages = messages.readHistory({peer=InputPeer, max_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v62/methods/messages.readMessageContents.md b/old_docs/API_docs_v62/methods/messages.readMessageContents.md index c479cafe..9798e661 100644 --- a/old_docs/API_docs_v62/methods/messages.readMessageContents.md +++ b/old_docs/API_docs_v62/methods/messages.readMessageContents.md @@ -16,7 +16,7 @@ Notifies the sender about the recipient having listened a voice message or watch |id|Array of [int](../types/int.md) | The messages to mark as read (only users and normal chats, not supergroups) | Yes| -### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) +### Return type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedMessages = $MadelineProto->messages->readMessageContents(['id' => [int, int], ]); +$messages.AffectedMessages = $MadelineProto->messages->readMessageContents(['id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AffectedMessages = messages.readMessageContents({id={int}, }) +messages.AffectedMessages = messages.readMessageContents({id={int}, }) ``` diff --git a/old_docs/API_docs_v62/methods/messages.search.md b/old_docs/API_docs_v62/methods/messages.search.md index 4fda6636..7ebe6a9a 100644 --- a/old_docs/API_docs_v62/methods/messages.search.md +++ b/old_docs/API_docs_v62/methods/messages.search.md @@ -23,7 +23,7 @@ Gets back found messages |limit|[int](../types/int.md) | [Number of results to return](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **NO** @@ -40,13 +40,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->search(['peer' => InputPeer, 'q' => 'string', 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); +$messages.Messages = $MadelineProto->messages->search(['peer' => InputPeer, 'q' => 'string', 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.search({peer=InputPeer, q='string', filter=MessagesFilter, min_date=int, max_date=int, offset=int, max_id=int, limit=int, }) +messages.Messages = messages.search({peer=InputPeer, q='string', filter=MessagesFilter, min_date=int, max_date=int, offset=int, max_id=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v62/methods/messages.searchGifs.md b/old_docs/API_docs_v62/methods/messages.searchGifs.md index 851371d7..193a0cd4 100644 --- a/old_docs/API_docs_v62/methods/messages.searchGifs.md +++ b/old_docs/API_docs_v62/methods/messages.searchGifs.md @@ -17,7 +17,7 @@ Search for GIFs |offset|[int](../types/int.md) | Offset for [pagination »](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_FoundGifs](../types/messages_FoundGifs.md) +### Return type: [messages.FoundGifs](../types/messages.FoundGifs.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_FoundGifs = $MadelineProto->messages->searchGifs(['q' => 'string', 'offset' => int, ]); +$messages.FoundGifs = $MadelineProto->messages->searchGifs(['q' => 'string', 'offset' => int, ]); ``` Or, if you're into Lua: ```lua -messages_FoundGifs = messages.searchGifs({q='string', offset=int, }) +messages.FoundGifs = messages.searchGifs({q='string', offset=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v62/methods/messages.searchGlobal.md b/old_docs/API_docs_v62/methods/messages.searchGlobal.md index 4bd59f25..1a3b736d 100644 --- a/old_docs/API_docs_v62/methods/messages.searchGlobal.md +++ b/old_docs/API_docs_v62/methods/messages.searchGlobal.md @@ -20,7 +20,7 @@ Search for messages and peers globally |limit|[int](../types/int.md) | [Offsets for pagination, for more info click here](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **NO** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->searchGlobal(['q' => 'string', 'offset_date' => int, 'offset_peer' => InputPeer, 'offset_id' => int, 'limit' => int, ]); +$messages.Messages = $MadelineProto->messages->searchGlobal(['q' => 'string', 'offset_date' => int, 'offset_peer' => InputPeer, 'offset_id' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.searchGlobal({q='string', offset_date=int, offset_peer=InputPeer, offset_id=int, limit=int, }) +messages.Messages = messages.searchGlobal({q='string', offset_date=int, offset_peer=InputPeer, offset_id=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v62/methods/messages.sendEncrypted.md b/old_docs/API_docs_v62/methods/messages.sendEncrypted.md index 47b5ef29..6a68b563 100644 --- a/old_docs/API_docs_v62/methods/messages.sendEncrypted.md +++ b/old_docs/API_docs_v62/methods/messages.sendEncrypted.md @@ -14,10 +14,10 @@ Sends a text message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|message|[DecryptedMessage](../types/DecryptedMessage.md) | The message to send | Yes| +|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key that was created during chat initialization | Yes| -### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ### Can bots use this method: **NO** @@ -34,21 +34,15 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncrypted(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); +$messages.SentEncryptedMessage = $MadelineProto->messages->sendEncrypted(['peer' => InputEncryptedChat, 'data' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -messages_SentEncryptedMessage = messages.sendEncrypted({peer=InputEncryptedChat, message=DecryptedMessage, }) +messages.SentEncryptedMessage = messages.sendEncrypted({peer=InputEncryptedChat, data='bytes', }) ``` - -## Return value - -If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) will be returned instead. - - ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v62/methods/messages.sendEncryptedFile.md b/old_docs/API_docs_v62/methods/messages.sendEncryptedFile.md index 4e0f7b7f..87185ba4 100644 --- a/old_docs/API_docs_v62/methods/messages.sendEncryptedFile.md +++ b/old_docs/API_docs_v62/methods/messages.sendEncryptedFile.md @@ -14,11 +14,11 @@ Sends a message with a file attachment to a secret chat | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|message|[DecryptedMessage](../types/DecryptedMessage.md) | The message with the file | Yes| +|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| |file|[File path or InputEncryptedFile](../types/InputEncryptedFile.md) | File attachment for the secret chat | Optional| -### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ### Can bots use this method: **NO** @@ -35,21 +35,15 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedFile(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, 'file' => InputEncryptedFile, ]); +$messages.SentEncryptedMessage = $MadelineProto->messages->sendEncryptedFile(['peer' => InputEncryptedChat, 'data' => 'bytes', 'file' => InputEncryptedFile, ]); ``` Or, if you're into Lua: ```lua -messages_SentEncryptedMessage = messages.sendEncryptedFile({peer=InputEncryptedChat, message=DecryptedMessage, file=InputEncryptedFile, }) +messages.SentEncryptedMessage = messages.sendEncryptedFile({peer=InputEncryptedChat, data='bytes', file=InputEncryptedFile, }) ``` - -## Return value - -If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) will be returned instead. - - ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v62/methods/messages.sendEncryptedService.md b/old_docs/API_docs_v62/methods/messages.sendEncryptedService.md index 86925ae3..38171272 100644 --- a/old_docs/API_docs_v62/methods/messages.sendEncryptedService.md +++ b/old_docs/API_docs_v62/methods/messages.sendEncryptedService.md @@ -14,10 +14,10 @@ Sends a service message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|message|[DecryptedMessage](../types/DecryptedMessage.md) | The service message | Yes| +|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| -### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ### Can bots use this method: **NO** @@ -34,21 +34,15 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedService(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); +$messages.SentEncryptedMessage = $MadelineProto->messages->sendEncryptedService(['peer' => InputEncryptedChat, 'data' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -messages_SentEncryptedMessage = messages.sendEncryptedService({peer=InputEncryptedChat, message=DecryptedMessage, }) +messages.SentEncryptedMessage = messages.sendEncryptedService({peer=InputEncryptedChat, data='bytes', }) ``` - -## Return value - -If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) will be returned instead. - - ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v62/methods/phone.acceptCall.md b/old_docs/API_docs_v62/methods/phone.acceptCall.md index fd07fb55..192e4bdc 100644 --- a/old_docs/API_docs_v62/methods/phone.acceptCall.md +++ b/old_docs/API_docs_v62/methods/phone.acceptCall.md @@ -19,7 +19,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz#calls fo |protocol|[PhoneCallProtocol](../types/PhoneCallProtocol.md) | You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls | Yes| -### Return type: [phone\_PhoneCall](../types/phone_PhoneCall.md) +### Return type: [phone.PhoneCall](../types/phone.PhoneCall.md) ### Can bots use this method: **NO** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$phone_PhoneCall = $MadelineProto->phone->acceptCall(['peer' => InputPhoneCall, 'g_b' => 'bytes', 'key_fingerprint' => long, 'protocol' => PhoneCallProtocol, ]); +$phone.PhoneCall = $MadelineProto->phone->acceptCall(['peer' => InputPhoneCall, 'g_b' => 'bytes', 'key_fingerprint' => long, 'protocol' => PhoneCallProtocol, ]); ``` Or, if you're into Lua: ```lua -phone_PhoneCall = phone.acceptCall({peer=InputPhoneCall, g_b='bytes', key_fingerprint=long, protocol=PhoneCallProtocol, }) +phone.PhoneCall = phone.acceptCall({peer=InputPhoneCall, g_b='bytes', key_fingerprint=long, protocol=PhoneCallProtocol, }) ``` ### Errors diff --git a/old_docs/API_docs_v62/methods/phone.requestCall.md b/old_docs/API_docs_v62/methods/phone.requestCall.md index 302bc640..ed0a9f31 100644 --- a/old_docs/API_docs_v62/methods/phone.requestCall.md +++ b/old_docs/API_docs_v62/methods/phone.requestCall.md @@ -18,7 +18,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz#calls fo |protocol|[PhoneCallProtocol](../types/PhoneCallProtocol.md) | You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls | Yes| -### Return type: [phone\_PhoneCall](../types/phone_PhoneCall.md) +### Return type: [phone.PhoneCall](../types/phone.PhoneCall.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$phone_PhoneCall = $MadelineProto->phone->requestCall(['user_id' => InputUser, 'g_a' => 'bytes', 'protocol' => PhoneCallProtocol, ]); +$phone.PhoneCall = $MadelineProto->phone->requestCall(['user_id' => InputUser, 'g_a' => 'bytes', 'protocol' => PhoneCallProtocol, ]); ``` Or, if you're into Lua: ```lua -phone_PhoneCall = phone.requestCall({user_id=InputUser, g_a='bytes', protocol=PhoneCallProtocol, }) +phone.PhoneCall = phone.requestCall({user_id=InputUser, g_a='bytes', protocol=PhoneCallProtocol, }) ``` ### Errors diff --git a/old_docs/API_docs_v62/methods/photos.getUserPhotos.md b/old_docs/API_docs_v62/methods/photos.getUserPhotos.md index a1dec2ed..1f8d5c64 100644 --- a/old_docs/API_docs_v62/methods/photos.getUserPhotos.md +++ b/old_docs/API_docs_v62/methods/photos.getUserPhotos.md @@ -19,7 +19,7 @@ Returns the list of user photos. |limit|[int](../types/int.md) | Number of list elements to be returned | Yes| -### Return type: [photos\_Photos](../types/photos_Photos.md) +### Return type: [photos.Photos](../types/photos.Photos.md) ### Can bots use this method: **YES** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$photos_Photos = $MadelineProto->photos->getUserPhotos(['user_id' => InputUser, 'offset' => int, 'max_id' => long, 'limit' => int, ]); +$photos.Photos = $MadelineProto->photos->getUserPhotos(['user_id' => InputUser, 'offset' => int, 'max_id' => long, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -photos_Photos = photos.getUserPhotos({user_id=InputUser, offset=int, max_id=long, limit=int, }) +photos.Photos = photos.getUserPhotos({user_id=InputUser, offset=int, max_id=long, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v62/methods/photos.uploadProfilePhoto.md b/old_docs/API_docs_v62/methods/photos.uploadProfilePhoto.md index b6a01ee7..4de76a24 100644 --- a/old_docs/API_docs_v62/methods/photos.uploadProfilePhoto.md +++ b/old_docs/API_docs_v62/methods/photos.uploadProfilePhoto.md @@ -16,7 +16,7 @@ Updates current user profile photo. |file|[File path or InputFile](../types/InputFile.md) | File saved in parts by means of [upload.saveFilePart](../methods/upload.saveFilePart.md) method | Yes| -### Return type: [photos\_Photo](../types/photos_Photo.md) +### Return type: [photos.Photo](../types/photos.Photo.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$photos_Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, ]); +$photos.Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, ]); ``` Or, if you're into Lua: ```lua -photos_Photo = photos.uploadProfilePhoto({file=InputFile, }) +photos.Photo = photos.uploadProfilePhoto({file=InputFile, }) ``` ### Errors diff --git a/old_docs/API_docs_v62/methods/updates.getChannelDifference.md b/old_docs/API_docs_v62/methods/updates.getChannelDifference.md index 5675cd33..08df3395 100644 --- a/old_docs/API_docs_v62/methods/updates.getChannelDifference.md +++ b/old_docs/API_docs_v62/methods/updates.getChannelDifference.md @@ -20,7 +20,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz for more |limit|[int](../types/int.md) | You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates | Yes| -### Return type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) +### Return type: [updates.ChannelDifference](../types/updates.ChannelDifference.md) ### Can bots use this method: **YES** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$updates_ChannelDifference = $MadelineProto->updates->getChannelDifference(['force' => Bool, 'channel' => InputChannel, 'filter' => ChannelMessagesFilter, 'pts' => int, 'limit' => int, ]); +$updates.ChannelDifference = $MadelineProto->updates->getChannelDifference(['force' => Bool, 'channel' => InputChannel, 'filter' => ChannelMessagesFilter, 'pts' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -updates_ChannelDifference = updates.getChannelDifference({force=Bool, channel=InputChannel, filter=ChannelMessagesFilter, pts=int, limit=int, }) +updates.ChannelDifference = updates.getChannelDifference({force=Bool, channel=InputChannel, filter=ChannelMessagesFilter, pts=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v62/methods/updates.getDifference.md b/old_docs/API_docs_v62/methods/updates.getDifference.md index bcfac4e2..b3796a10 100644 --- a/old_docs/API_docs_v62/methods/updates.getDifference.md +++ b/old_docs/API_docs_v62/methods/updates.getDifference.md @@ -19,7 +19,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz for more |qts|[int](../types/int.md) | You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates | Yes| -### Return type: [updates\_Difference](../types/updates_Difference.md) +### Return type: [updates.Difference](../types/updates.Difference.md) ### Can bots use this method: **YES** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$updates_Difference = $MadelineProto->updates->getDifference(['pts' => int, 'pts_total_limit' => int, 'date' => int, 'qts' => int, ]); +$updates.Difference = $MadelineProto->updates->getDifference(['pts' => int, 'pts_total_limit' => int, 'date' => int, 'qts' => int, ]); ``` Or, if you're into Lua: ```lua -updates_Difference = updates.getDifference({pts=int, pts_total_limit=int, date=int, qts=int, }) +updates.Difference = updates.getDifference({pts=int, pts_total_limit=int, date=int, qts=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v62/methods/updates.getState.md b/old_docs/API_docs_v62/methods/updates.getState.md index c591408a..9a7d2f34 100644 --- a/old_docs/API_docs_v62/methods/updates.getState.md +++ b/old_docs/API_docs_v62/methods/updates.getState.md @@ -11,7 +11,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz for more -### Return type: [updates\_State](../types/updates_State.md) +### Return type: [updates.State](../types/updates.State.md) ### Can bots use this method: **YES** @@ -28,13 +28,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$updates_State = $MadelineProto->updates->getState(); +$updates.State = $MadelineProto->updates->getState(); ``` Or, if you're into Lua: ```lua -updates_State = updates.getState({}) +updates.State = updates.getState({}) ``` ### Errors diff --git a/old_docs/API_docs_v62/methods/upload.getFile.md b/old_docs/API_docs_v62/methods/upload.getFile.md index 8aba03d4..ab9f4fe2 100644 --- a/old_docs/API_docs_v62/methods/upload.getFile.md +++ b/old_docs/API_docs_v62/methods/upload.getFile.md @@ -18,7 +18,7 @@ You cannot use this method directly, use the upload, downloadToStream, downloadT |limit|[int](../types/int.md) | You cannot use this method directly, use the upload, downloadToStream, downloadToFile, downloadToDir methods instead; see https://docs.madelineproto.xyz for more info | Yes| -### Return type: [upload\_File](../types/upload_File.md) +### Return type: [upload.File](../types/upload.File.md) ### Can bots use this method: **YES** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$upload_File = $MadelineProto->upload->getFile(['location' => InputFileLocation, 'offset' => int, 'limit' => int, ]); +$upload.File = $MadelineProto->upload->getFile(['location' => InputFileLocation, 'offset' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -upload_File = upload.getFile({location=InputFileLocation, offset=int, limit=int, }) +upload.File = upload.getFile({location=InputFileLocation, offset=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v62/types/AccountDaysTTL.md b/old_docs/API_docs_v62/types/AccountDaysTTL.md index 12a10190..f3494aac 100644 --- a/old_docs/API_docs_v62/types/AccountDaysTTL.md +++ b/old_docs/API_docs_v62/types/AccountDaysTTL.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->account->getAccountTTL](../methods/account_getAccountTTL.md) +[$MadelineProto->account->getAccountTTL](../methods/account.getAccountTTL.md) diff --git a/old_docs/API_docs_v62/types/ChatInvite.md b/old_docs/API_docs_v62/types/ChatInvite.md index 5022a2f0..9fafabb4 100644 --- a/old_docs/API_docs_v62/types/ChatInvite.md +++ b/old_docs/API_docs_v62/types/ChatInvite.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->checkChatInvite](../methods/messages_checkChatInvite.md) +[$MadelineProto->messages->checkChatInvite](../methods/messages.checkChatInvite.md) diff --git a/old_docs/API_docs_v62/types/Config.md b/old_docs/API_docs_v62/types/Config.md index 0f7fbe70..3a23b7b7 100644 --- a/old_docs/API_docs_v62/types/Config.md +++ b/old_docs/API_docs_v62/types/Config.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->help->getConfig](../methods/help_getConfig.md) +[$MadelineProto->help->getConfig](../methods/help.getConfig.md) diff --git a/old_docs/API_docs_v62/types/ContactStatus.md b/old_docs/API_docs_v62/types/ContactStatus.md index c5f5d658..30aee6e2 100644 --- a/old_docs/API_docs_v62/types/ContactStatus.md +++ b/old_docs/API_docs_v62/types/ContactStatus.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->contacts->getStatuses](../methods/contacts_getStatuses.md) +[$MadelineProto->contacts->getStatuses](../methods/contacts.getStatuses.md) diff --git a/old_docs/API_docs_v62/types/DestroyAuthKeyRes.md b/old_docs/API_docs_v62/types/DestroyAuthKeyRes.md index 947e79cc..6b877d82 100644 --- a/old_docs/API_docs_v62/types/DestroyAuthKeyRes.md +++ b/old_docs/API_docs_v62/types/DestroyAuthKeyRes.md @@ -20,7 +20,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->destroy->auth->key](../methods/destroy_auth_key.md) +[$MadelineProto->destroy\_auth\_key](../methods/destroy_auth_key.md) diff --git a/old_docs/API_docs_v62/types/Document.md b/old_docs/API_docs_v62/types/Document.md index f68b7aa4..2cb85623 100644 --- a/old_docs/API_docs_v62/types/Document.md +++ b/old_docs/API_docs_v62/types/Document.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getDocumentByHash](../methods/messages_getDocumentByHash.md) +[$MadelineProto->messages->getDocumentByHash](../methods/messages.getDocumentByHash.md) diff --git a/old_docs/API_docs_v62/types/EncryptedChat.md b/old_docs/API_docs_v62/types/EncryptedChat.md index fd2277f6..19cf52b0 100644 --- a/old_docs/API_docs_v62/types/EncryptedChat.md +++ b/old_docs/API_docs_v62/types/EncryptedChat.md @@ -24,9 +24,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->requestEncryption](../methods/messages_requestEncryption.md) +[$MadelineProto->messages->requestEncryption](../methods/messages.requestEncryption.md) -[$MadelineProto->messages->acceptEncryption](../methods/messages_acceptEncryption.md) +[$MadelineProto->messages->acceptEncryption](../methods/messages.acceptEncryption.md) diff --git a/old_docs/API_docs_v62/types/ExportedChatInvite.md b/old_docs/API_docs_v62/types/ExportedChatInvite.md index 4213a78f..53ce5f59 100644 --- a/old_docs/API_docs_v62/types/ExportedChatInvite.md +++ b/old_docs/API_docs_v62/types/ExportedChatInvite.md @@ -18,9 +18,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->exportChatInvite](../methods/messages_exportChatInvite.md) +[$MadelineProto->messages->exportChatInvite](../methods/messages.exportChatInvite.md) -[$MadelineProto->channels->exportInvite](../methods/channels_exportInvite.md) +[$MadelineProto->channels->exportInvite](../methods/channels.exportInvite.md) diff --git a/old_docs/API_docs_v62/types/ExportedMessageLink.md b/old_docs/API_docs_v62/types/ExportedMessageLink.md index eb2400f6..948e9c90 100644 --- a/old_docs/API_docs_v62/types/ExportedMessageLink.md +++ b/old_docs/API_docs_v62/types/ExportedMessageLink.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->channels->exportMessageLink](../methods/channels_exportMessageLink.md) +[$MadelineProto->channels->exportMessageLink](../methods/channels.exportMessageLink.md) diff --git a/old_docs/API_docs_v62/types/MessageMedia.md b/old_docs/API_docs_v62/types/MessageMedia.md index f5c81355..cf85b719 100644 --- a/old_docs/API_docs_v62/types/MessageMedia.md +++ b/old_docs/API_docs_v62/types/MessageMedia.md @@ -32,7 +32,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getWebPagePreview](../methods/messages_getWebPagePreview.md) +[$MadelineProto->messages->getWebPagePreview](../methods/messages.getWebPagePreview.md) diff --git a/old_docs/API_docs_v62/types/NearestDc.md b/old_docs/API_docs_v62/types/NearestDc.md index 31f24377..296a4dff 100644 --- a/old_docs/API_docs_v62/types/NearestDc.md +++ b/old_docs/API_docs_v62/types/NearestDc.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->help->getNearestDc](../methods/help_getNearestDc.md) +[$MadelineProto->help->getNearestDc](../methods/help.getNearestDc.md) diff --git a/old_docs/API_docs_v62/types/PeerNotifySettings.md b/old_docs/API_docs_v62/types/PeerNotifySettings.md index 769de075..3d72b7c5 100644 --- a/old_docs/API_docs_v62/types/PeerNotifySettings.md +++ b/old_docs/API_docs_v62/types/PeerNotifySettings.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->account->getNotifySettings](../methods/account_getNotifySettings.md) +[$MadelineProto->account->getNotifySettings](../methods/account.getNotifySettings.md) diff --git a/old_docs/API_docs_v62/types/PeerSettings.md b/old_docs/API_docs_v62/types/PeerSettings.md index 60ac3765..31ef7e38 100644 --- a/old_docs/API_docs_v62/types/PeerSettings.md +++ b/old_docs/API_docs_v62/types/PeerSettings.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getPeerSettings](../methods/messages_getPeerSettings.md) +[$MadelineProto->messages->getPeerSettings](../methods/messages.getPeerSettings.md) diff --git a/old_docs/API_docs_v62/types/README.md b/old_docs/API_docs_v62/types/README.md index 95a0751a..a6bd2e7c 100644 --- a/old_docs/API_docs_v62/types/README.md +++ b/old_docs/API_docs_v62/types/README.md @@ -239,119 +239,119 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png [X](X.md) -[account\_Authorizations](account_Authorizations.md) +[account.Authorizations](account.Authorizations.md) -[account\_Password](account_Password.md) +[account.Password](account.Password.md) -[account\_PasswordInputSettings](account_PasswordInputSettings.md) +[account.PasswordInputSettings](account.PasswordInputSettings.md) -[account\_PasswordSettings](account_PasswordSettings.md) +[account.PasswordSettings](account.PasswordSettings.md) -[account\_PrivacyRules](account_PrivacyRules.md) +[account.PrivacyRules](account.PrivacyRules.md) -[auth\_Authorization](auth_Authorization.md) +[auth.Authorization](auth.Authorization.md) -[auth\_CheckedPhone](auth_CheckedPhone.md) +[auth.CheckedPhone](auth.CheckedPhone.md) -[auth\_CodeType](auth_CodeType.md) +[auth.CodeType](auth.CodeType.md) -[auth\_ExportedAuthorization](auth_ExportedAuthorization.md) +[auth.ExportedAuthorization](auth.ExportedAuthorization.md) -[auth\_PasswordRecovery](auth_PasswordRecovery.md) +[auth.PasswordRecovery](auth.PasswordRecovery.md) -[auth\_SentCode](auth_SentCode.md) +[auth.SentCode](auth.SentCode.md) -[auth\_SentCodeType](auth_SentCodeType.md) +[auth.SentCodeType](auth.SentCodeType.md) -[channels\_ChannelParticipant](channels_ChannelParticipant.md) +[channels.ChannelParticipant](channels.ChannelParticipant.md) -[channels\_ChannelParticipants](channels_ChannelParticipants.md) +[channels.ChannelParticipants](channels.ChannelParticipants.md) -[contacts\_Blocked](contacts_Blocked.md) +[contacts.Blocked](contacts.Blocked.md) -[contacts\_Contacts](contacts_Contacts.md) +[contacts.Contacts](contacts.Contacts.md) -[contacts\_Found](contacts_Found.md) +[contacts.Found](contacts.Found.md) -[contacts\_ImportedContacts](contacts_ImportedContacts.md) +[contacts.ImportedContacts](contacts.ImportedContacts.md) -[contacts\_Link](contacts_Link.md) +[contacts.Link](contacts.Link.md) -[contacts\_ResolvedPeer](contacts_ResolvedPeer.md) +[contacts.ResolvedPeer](contacts.ResolvedPeer.md) -[contacts\_TopPeers](contacts_TopPeers.md) +[contacts.TopPeers](contacts.TopPeers.md) -[help\_AppChangelog](help_AppChangelog.md) +[help.AppChangelog](help.AppChangelog.md) -[help\_AppUpdate](help_AppUpdate.md) +[help.AppUpdate](help.AppUpdate.md) -[help\_InviteText](help_InviteText.md) +[help.InviteText](help.InviteText.md) -[help\_Support](help_Support.md) +[help.Support](help.Support.md) -[help\_TermsOfService](help_TermsOfService.md) +[help.TermsOfService](help.TermsOfService.md) [int](int.md) [long](long.md) -[messages\_AffectedHistory](messages_AffectedHistory.md) +[messages.AffectedHistory](messages.AffectedHistory.md) -[messages\_AffectedMessages](messages_AffectedMessages.md) +[messages.AffectedMessages](messages.AffectedMessages.md) -[messages\_AllStickers](messages_AllStickers.md) +[messages.AllStickers](messages.AllStickers.md) -[messages\_ArchivedStickers](messages_ArchivedStickers.md) +[messages.ArchivedStickers](messages.ArchivedStickers.md) -[messages\_BotCallbackAnswer](messages_BotCallbackAnswer.md) +[messages.BotCallbackAnswer](messages.BotCallbackAnswer.md) -[messages\_BotResults](messages_BotResults.md) +[messages.BotResults](messages.BotResults.md) -[messages\_ChatFull](messages_ChatFull.md) +[messages.ChatFull](messages.ChatFull.md) -[messages\_Chats](messages_Chats.md) +[messages.Chats](messages.Chats.md) -[messages\_DhConfig](messages_DhConfig.md) +[messages.DhConfig](messages.DhConfig.md) -[messages\_Dialogs](messages_Dialogs.md) +[messages.Dialogs](messages.Dialogs.md) -[messages\_FeaturedStickers](messages_FeaturedStickers.md) +[messages.FeaturedStickers](messages.FeaturedStickers.md) -[messages\_FoundGifs](messages_FoundGifs.md) +[messages.FoundGifs](messages.FoundGifs.md) -[messages\_HighScores](messages_HighScores.md) +[messages.HighScores](messages.HighScores.md) -[messages\_MessageEditData](messages_MessageEditData.md) +[messages.MessageEditData](messages.MessageEditData.md) -[messages\_Messages](messages_Messages.md) +[messages.Messages](messages.Messages.md) -[messages\_PeerDialogs](messages_PeerDialogs.md) +[messages.PeerDialogs](messages.PeerDialogs.md) -[messages\_RecentStickers](messages_RecentStickers.md) +[messages.RecentStickers](messages.RecentStickers.md) -[messages\_SavedGifs](messages_SavedGifs.md) +[messages.SavedGifs](messages.SavedGifs.md) -[messages\_SentEncryptedMessage](messages_SentEncryptedMessage.md) +[messages.SentEncryptedMessage](messages.SentEncryptedMessage.md) -[messages\_StickerSet](messages_StickerSet.md) +[messages.StickerSet](messages.StickerSet.md) -[messages\_StickerSetInstallResult](messages_StickerSetInstallResult.md) +[messages.StickerSetInstallResult](messages.StickerSetInstallResult.md) -[messages\_Stickers](messages_Stickers.md) +[messages.Stickers](messages.Stickers.md) -[phone\_PhoneCall](phone_PhoneCall.md) +[phone.PhoneCall](phone.PhoneCall.md) -[photos\_Photo](photos_Photo.md) +[photos.Photo](photos.Photo.md) -[photos\_Photos](photos_Photos.md) +[photos.Photos](photos.Photos.md) -[storage\_FileType](storage_FileType.md) +[storage.FileType](storage.FileType.md) -[updates\_ChannelDifference](updates_ChannelDifference.md) +[updates.ChannelDifference](updates.ChannelDifference.md) -[updates\_Difference](updates_Difference.md) +[updates.Difference](updates.Difference.md) -[updates\_State](updates_State.md) +[updates.State](updates.State.md) -[upload\_File](upload_File.md) +[upload.File](upload.File.md) diff --git a/old_docs/API_docs_v62/types/ReceivedNotifyMessage.md b/old_docs/API_docs_v62/types/ReceivedNotifyMessage.md index c7fc3b8c..416aa275 100644 --- a/old_docs/API_docs_v62/types/ReceivedNotifyMessage.md +++ b/old_docs/API_docs_v62/types/ReceivedNotifyMessage.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->receivedMessages](../methods/messages_receivedMessages.md) +[$MadelineProto->messages->receivedMessages](../methods/messages.receivedMessages.md) diff --git a/old_docs/API_docs_v62/types/StickerSetCovered.md b/old_docs/API_docs_v62/types/StickerSetCovered.md index ffd1da1f..f57cd117 100644 --- a/old_docs/API_docs_v62/types/StickerSetCovered.md +++ b/old_docs/API_docs_v62/types/StickerSetCovered.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getAttachedStickers](../methods/messages_getAttachedStickers.md) +[$MadelineProto->messages->getAttachedStickers](../methods/messages.getAttachedStickers.md) diff --git a/old_docs/API_docs_v62/types/Updates.md b/old_docs/API_docs_v62/types/Updates.md index 1dd98ec6..6be6bcfe 100644 --- a/old_docs/API_docs_v62/types/Updates.md +++ b/old_docs/API_docs_v62/types/Updates.md @@ -28,63 +28,63 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->sendMessage](../methods/messages_sendMessage.md) +[$MadelineProto->messages->sendMessage](../methods/messages.sendMessage.md) -[$MadelineProto->messages->sendMedia](../methods/messages_sendMedia.md) +[$MadelineProto->messages->sendMedia](../methods/messages.sendMedia.md) -[$MadelineProto->messages->forwardMessages](../methods/messages_forwardMessages.md) +[$MadelineProto->messages->forwardMessages](../methods/messages.forwardMessages.md) -[$MadelineProto->messages->editChatTitle](../methods/messages_editChatTitle.md) +[$MadelineProto->messages->editChatTitle](../methods/messages.editChatTitle.md) -[$MadelineProto->messages->editChatPhoto](../methods/messages_editChatPhoto.md) +[$MadelineProto->messages->editChatPhoto](../methods/messages.editChatPhoto.md) -[$MadelineProto->messages->addChatUser](../methods/messages_addChatUser.md) +[$MadelineProto->messages->addChatUser](../methods/messages.addChatUser.md) -[$MadelineProto->messages->deleteChatUser](../methods/messages_deleteChatUser.md) +[$MadelineProto->messages->deleteChatUser](../methods/messages.deleteChatUser.md) -[$MadelineProto->messages->createChat](../methods/messages_createChat.md) +[$MadelineProto->messages->createChat](../methods/messages.createChat.md) -[$MadelineProto->messages->forwardMessage](../methods/messages_forwardMessage.md) +[$MadelineProto->messages->forwardMessage](../methods/messages.forwardMessage.md) -[$MadelineProto->messages->importChatInvite](../methods/messages_importChatInvite.md) +[$MadelineProto->messages->importChatInvite](../methods/messages.importChatInvite.md) -[$MadelineProto->messages->startBot](../methods/messages_startBot.md) +[$MadelineProto->messages->startBot](../methods/messages.startBot.md) -[$MadelineProto->messages->toggleChatAdmins](../methods/messages_toggleChatAdmins.md) +[$MadelineProto->messages->toggleChatAdmins](../methods/messages.toggleChatAdmins.md) -[$MadelineProto->messages->migrateChat](../methods/messages_migrateChat.md) +[$MadelineProto->messages->migrateChat](../methods/messages.migrateChat.md) -[$MadelineProto->messages->sendInlineBotResult](../methods/messages_sendInlineBotResult.md) +[$MadelineProto->messages->sendInlineBotResult](../methods/messages.sendInlineBotResult.md) -[$MadelineProto->messages->editMessage](../methods/messages_editMessage.md) +[$MadelineProto->messages->editMessage](../methods/messages.editMessage.md) -[$MadelineProto->messages->getAllDrafts](../methods/messages_getAllDrafts.md) +[$MadelineProto->messages->getAllDrafts](../methods/messages.getAllDrafts.md) -[$MadelineProto->messages->setGameScore](../methods/messages_setGameScore.md) +[$MadelineProto->messages->setGameScore](../methods/messages.setGameScore.md) -[$MadelineProto->channels->createChannel](../methods/channels_createChannel.md) +[$MadelineProto->channels->createChannel](../methods/channels.createChannel.md) -[$MadelineProto->channels->editAdmin](../methods/channels_editAdmin.md) +[$MadelineProto->channels->editAdmin](../methods/channels.editAdmin.md) -[$MadelineProto->channels->editTitle](../methods/channels_editTitle.md) +[$MadelineProto->channels->editTitle](../methods/channels.editTitle.md) -[$MadelineProto->channels->editPhoto](../methods/channels_editPhoto.md) +[$MadelineProto->channels->editPhoto](../methods/channels.editPhoto.md) -[$MadelineProto->channels->joinChannel](../methods/channels_joinChannel.md) +[$MadelineProto->channels->joinChannel](../methods/channels.joinChannel.md) -[$MadelineProto->channels->leaveChannel](../methods/channels_leaveChannel.md) +[$MadelineProto->channels->leaveChannel](../methods/channels.leaveChannel.md) -[$MadelineProto->channels->inviteToChannel](../methods/channels_inviteToChannel.md) +[$MadelineProto->channels->inviteToChannel](../methods/channels.inviteToChannel.md) -[$MadelineProto->channels->kickFromChannel](../methods/channels_kickFromChannel.md) +[$MadelineProto->channels->kickFromChannel](../methods/channels.kickFromChannel.md) -[$MadelineProto->channels->deleteChannel](../methods/channels_deleteChannel.md) +[$MadelineProto->channels->deleteChannel](../methods/channels.deleteChannel.md) -[$MadelineProto->channels->toggleInvites](../methods/channels_toggleInvites.md) +[$MadelineProto->channels->toggleInvites](../methods/channels.toggleInvites.md) -[$MadelineProto->channels->toggleSignatures](../methods/channels_toggleSignatures.md) +[$MadelineProto->channels->toggleSignatures](../methods/channels.toggleSignatures.md) -[$MadelineProto->channels->updatePinnedMessage](../methods/channels_updatePinnedMessage.md) +[$MadelineProto->channels->updatePinnedMessage](../methods/channels.updatePinnedMessage.md) diff --git a/old_docs/API_docs_v62/types/User.md b/old_docs/API_docs_v62/types/User.md index 3abd182f..a2e028f4 100644 --- a/old_docs/API_docs_v62/types/User.md +++ b/old_docs/API_docs_v62/types/User.md @@ -42,15 +42,15 @@ A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDia ### Methods that return an object of this type (methods): -[$MadelineProto->account->updateProfile](../methods/account_updateProfile.md) +[$MadelineProto->account->updateProfile](../methods/account.updateProfile.md) -[$MadelineProto->account->updateUsername](../methods/account_updateUsername.md) +[$MadelineProto->account->updateUsername](../methods/account.updateUsername.md) -[$MadelineProto->account->changePhone](../methods/account_changePhone.md) +[$MadelineProto->account->changePhone](../methods/account.changePhone.md) -[$MadelineProto->users->getUsers](../methods/users_getUsers.md) +[$MadelineProto->users->getUsers](../methods/users.getUsers.md) -[$MadelineProto->contacts->importCard](../methods/contacts_importCard.md) +[$MadelineProto->contacts->importCard](../methods/contacts.importCard.md) diff --git a/old_docs/API_docs_v62/types/UserFull.md b/old_docs/API_docs_v62/types/UserFull.md index 79ad30bb..ac50052f 100644 --- a/old_docs/API_docs_v62/types/UserFull.md +++ b/old_docs/API_docs_v62/types/UserFull.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->users->getFullUser](../methods/users_getFullUser.md) +[$MadelineProto->users->getFullUser](../methods/users.getFullUser.md) diff --git a/old_docs/API_docs_v62/types/UserProfilePhoto.md b/old_docs/API_docs_v62/types/UserProfilePhoto.md index e5243a2e..e81e92fd 100644 --- a/old_docs/API_docs_v62/types/UserProfilePhoto.md +++ b/old_docs/API_docs_v62/types/UserProfilePhoto.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->photos->updateProfilePhoto](../methods/photos_updateProfilePhoto.md) +[$MadelineProto->photos->updateProfilePhoto](../methods/photos.updateProfilePhoto.md) diff --git a/old_docs/API_docs_v62/types/WallPaper.md b/old_docs/API_docs_v62/types/WallPaper.md index 8c5ac7cf..45337565 100644 --- a/old_docs/API_docs_v62/types/WallPaper.md +++ b/old_docs/API_docs_v62/types/WallPaper.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->account->getWallPapers](../methods/account_getWallPapers.md) +[$MadelineProto->account->getWallPapers](../methods/account.getWallPapers.md) diff --git a/old_docs/API_docs_v62/types/WebPage.md b/old_docs/API_docs_v62/types/WebPage.md index a3df791f..f6b61c5e 100644 --- a/old_docs/API_docs_v62/types/WebPage.md +++ b/old_docs/API_docs_v62/types/WebPage.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getWebPage](../methods/messages_getWebPage.md) +[$MadelineProto->messages->getWebPage](../methods/messages.getWebPage.md) diff --git a/old_docs/API_docs_v62/types/account.Authorizations.md b/old_docs/API_docs_v62/types/account.Authorizations.md new file mode 100644 index 00000000..f9112038 --- /dev/null +++ b/old_docs/API_docs_v62/types/account.Authorizations.md @@ -0,0 +1,22 @@ +--- +title: account.Authorizations +description: constructors and methods of type account.Authorizations +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.Authorizations +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.authorizations](../constructors/account.authorizations.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getAuthorizations](../methods/account.getAuthorizations.md) + + + diff --git a/old_docs/API_docs_v62/types/account.Password.md b/old_docs/API_docs_v62/types/account.Password.md new file mode 100644 index 00000000..5217ab5e --- /dev/null +++ b/old_docs/API_docs_v62/types/account.Password.md @@ -0,0 +1,24 @@ +--- +title: account.Password +description: constructors and methods of type account.Password +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.Password +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.noPassword](../constructors/account.noPassword.md) + +[account.password](../constructors/account.password.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getPassword](../methods/account.getPassword.md) + + + diff --git a/old_docs/API_docs_v62/types/account.PasswordInputSettings.md b/old_docs/API_docs_v62/types/account.PasswordInputSettings.md new file mode 100644 index 00000000..72e11fdc --- /dev/null +++ b/old_docs/API_docs_v62/types/account.PasswordInputSettings.md @@ -0,0 +1,20 @@ +--- +title: account.PasswordInputSettings +description: constructors and methods of type account.PasswordInputSettings +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.PasswordInputSettings +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.passwordInputSettings](../constructors/account.passwordInputSettings.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v62/types/account.PasswordSettings.md b/old_docs/API_docs_v62/types/account.PasswordSettings.md new file mode 100644 index 00000000..47016832 --- /dev/null +++ b/old_docs/API_docs_v62/types/account.PasswordSettings.md @@ -0,0 +1,22 @@ +--- +title: account.PasswordSettings +description: constructors and methods of type account.PasswordSettings +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.PasswordSettings +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.passwordSettings](../constructors/account.passwordSettings.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getPasswordSettings](../methods/account.getPasswordSettings.md) + + + diff --git a/old_docs/API_docs_v62/types/account.PrivacyRules.md b/old_docs/API_docs_v62/types/account.PrivacyRules.md new file mode 100644 index 00000000..738651ad --- /dev/null +++ b/old_docs/API_docs_v62/types/account.PrivacyRules.md @@ -0,0 +1,24 @@ +--- +title: account.PrivacyRules +description: constructors and methods of type account.PrivacyRules +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.PrivacyRules +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.privacyRules](../constructors/account.privacyRules.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getPrivacy](../methods/account.getPrivacy.md) + +[$MadelineProto->account->setPrivacy](../methods/account.setPrivacy.md) + + + diff --git a/old_docs/API_docs_v62/types/account_Authorizations.md b/old_docs/API_docs_v62/types/account_Authorizations.md deleted file mode 100644 index 4709ddb5..00000000 --- a/old_docs/API_docs_v62/types/account_Authorizations.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_Authorizations -description: constructors and methods of type account_Authorizations -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_Authorizations -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_authorizations](../constructors/account_authorizations.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getAuthorizations](../methods/account_getAuthorizations.md) - - - diff --git a/old_docs/API_docs_v62/types/account_Password.md b/old_docs/API_docs_v62/types/account_Password.md deleted file mode 100644 index 23e05987..00000000 --- a/old_docs/API_docs_v62/types/account_Password.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: account_Password -description: constructors and methods of type account_Password -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_Password -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_noPassword](../constructors/account_noPassword.md) - -[account\_password](../constructors/account_password.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getPassword](../methods/account_getPassword.md) - - - diff --git a/old_docs/API_docs_v62/types/account_PasswordInputSettings.md b/old_docs/API_docs_v62/types/account_PasswordInputSettings.md deleted file mode 100644 index a6455eb8..00000000 --- a/old_docs/API_docs_v62/types/account_PasswordInputSettings.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: account_PasswordInputSettings -description: constructors and methods of type account_PasswordInputSettings -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_PasswordInputSettings -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_passwordInputSettings](../constructors/account_passwordInputSettings.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v62/types/account_PasswordSettings.md b/old_docs/API_docs_v62/types/account_PasswordSettings.md deleted file mode 100644 index 687eb217..00000000 --- a/old_docs/API_docs_v62/types/account_PasswordSettings.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_PasswordSettings -description: constructors and methods of type account_PasswordSettings -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_PasswordSettings -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_passwordSettings](../constructors/account_passwordSettings.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getPasswordSettings](../methods/account_getPasswordSettings.md) - - - diff --git a/old_docs/API_docs_v62/types/account_PrivacyRules.md b/old_docs/API_docs_v62/types/account_PrivacyRules.md deleted file mode 100644 index 40b00077..00000000 --- a/old_docs/API_docs_v62/types/account_PrivacyRules.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: account_PrivacyRules -description: constructors and methods of type account_PrivacyRules -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_PrivacyRules -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_privacyRules](../constructors/account_privacyRules.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getPrivacy](../methods/account_getPrivacy.md) - -[$MadelineProto->account->setPrivacy](../methods/account_setPrivacy.md) - - - diff --git a/old_docs/API_docs_v62/types/auth.Authorization.md b/old_docs/API_docs_v62/types/auth.Authorization.md new file mode 100644 index 00000000..adcfa7d3 --- /dev/null +++ b/old_docs/API_docs_v62/types/auth.Authorization.md @@ -0,0 +1,32 @@ +--- +title: auth.Authorization +description: constructors and methods of type auth.Authorization +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.Authorization +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.authorization](../constructors/auth.authorization.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->signUp](../methods/auth.signUp.md) + +[$MadelineProto->auth->signIn](../methods/auth.signIn.md) + +[$MadelineProto->auth->importAuthorization](../methods/auth.importAuthorization.md) + +[$MadelineProto->auth->importBotAuthorization](../methods/auth.importBotAuthorization.md) + +[$MadelineProto->auth->checkPassword](../methods/auth.checkPassword.md) + +[$MadelineProto->auth->recoverPassword](../methods/auth.recoverPassword.md) + + + diff --git a/old_docs/API_docs_v62/types/auth.CheckedPhone.md b/old_docs/API_docs_v62/types/auth.CheckedPhone.md new file mode 100644 index 00000000..94af3915 --- /dev/null +++ b/old_docs/API_docs_v62/types/auth.CheckedPhone.md @@ -0,0 +1,22 @@ +--- +title: auth.CheckedPhone +description: constructors and methods of type auth.CheckedPhone +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.CheckedPhone +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.checkedPhone](../constructors/auth.checkedPhone.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->checkPhone](../methods/auth.checkPhone.md) + + + diff --git a/old_docs/API_docs_v62/types/auth.CodeType.md b/old_docs/API_docs_v62/types/auth.CodeType.md new file mode 100644 index 00000000..8d2b308d --- /dev/null +++ b/old_docs/API_docs_v62/types/auth.CodeType.md @@ -0,0 +1,24 @@ +--- +title: auth.CodeType +description: constructors and methods of type auth.CodeType +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.CodeType +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.codeTypeSms](../constructors/auth.codeTypeSms.md) + +[auth.codeTypeCall](../constructors/auth.codeTypeCall.md) + +[auth.codeTypeFlashCall](../constructors/auth.codeTypeFlashCall.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v62/types/auth.ExportedAuthorization.md b/old_docs/API_docs_v62/types/auth.ExportedAuthorization.md new file mode 100644 index 00000000..ccb38d60 --- /dev/null +++ b/old_docs/API_docs_v62/types/auth.ExportedAuthorization.md @@ -0,0 +1,22 @@ +--- +title: auth.ExportedAuthorization +description: constructors and methods of type auth.ExportedAuthorization +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.ExportedAuthorization +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.exportedAuthorization](../constructors/auth.exportedAuthorization.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->exportAuthorization](../methods/auth.exportAuthorization.md) + + + diff --git a/old_docs/API_docs_v62/types/auth.PasswordRecovery.md b/old_docs/API_docs_v62/types/auth.PasswordRecovery.md new file mode 100644 index 00000000..c1c18992 --- /dev/null +++ b/old_docs/API_docs_v62/types/auth.PasswordRecovery.md @@ -0,0 +1,22 @@ +--- +title: auth.PasswordRecovery +description: constructors and methods of type auth.PasswordRecovery +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.PasswordRecovery +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.passwordRecovery](../constructors/auth.passwordRecovery.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->requestPasswordRecovery](../methods/auth.requestPasswordRecovery.md) + + + diff --git a/old_docs/API_docs_v62/types/auth.SentCode.md b/old_docs/API_docs_v62/types/auth.SentCode.md new file mode 100644 index 00000000..c786d77e --- /dev/null +++ b/old_docs/API_docs_v62/types/auth.SentCode.md @@ -0,0 +1,28 @@ +--- +title: auth.SentCode +description: constructors and methods of type auth.SentCode +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.SentCode +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.sentCode](../constructors/auth.sentCode.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->sendCode](../methods/auth.sendCode.md) + +[$MadelineProto->auth->resendCode](../methods/auth.resendCode.md) + +[$MadelineProto->account->sendChangePhoneCode](../methods/account.sendChangePhoneCode.md) + +[$MadelineProto->account->sendConfirmPhoneCode](../methods/account.sendConfirmPhoneCode.md) + + + diff --git a/old_docs/API_docs_v62/types/auth.SentCodeType.md b/old_docs/API_docs_v62/types/auth.SentCodeType.md new file mode 100644 index 00000000..7c7c534e --- /dev/null +++ b/old_docs/API_docs_v62/types/auth.SentCodeType.md @@ -0,0 +1,26 @@ +--- +title: auth.SentCodeType +description: constructors and methods of type auth.SentCodeType +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.SentCodeType +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.sentCodeTypeApp](../constructors/auth.sentCodeTypeApp.md) + +[auth.sentCodeTypeSms](../constructors/auth.sentCodeTypeSms.md) + +[auth.sentCodeTypeCall](../constructors/auth.sentCodeTypeCall.md) + +[auth.sentCodeTypeFlashCall](../constructors/auth.sentCodeTypeFlashCall.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v62/types/auth_Authorization.md b/old_docs/API_docs_v62/types/auth_Authorization.md deleted file mode 100644 index 5a34fc2d..00000000 --- a/old_docs/API_docs_v62/types/auth_Authorization.md +++ /dev/null @@ -1,32 +0,0 @@ ---- -title: auth_Authorization -description: constructors and methods of type auth_Authorization -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_Authorization -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_authorization](../constructors/auth_authorization.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->signUp](../methods/auth_signUp.md) - -[$MadelineProto->auth->signIn](../methods/auth_signIn.md) - -[$MadelineProto->auth->importAuthorization](../methods/auth_importAuthorization.md) - -[$MadelineProto->auth->importBotAuthorization](../methods/auth_importBotAuthorization.md) - -[$MadelineProto->auth->checkPassword](../methods/auth_checkPassword.md) - -[$MadelineProto->auth->recoverPassword](../methods/auth_recoverPassword.md) - - - diff --git a/old_docs/API_docs_v62/types/auth_CheckedPhone.md b/old_docs/API_docs_v62/types/auth_CheckedPhone.md deleted file mode 100644 index e9b0def4..00000000 --- a/old_docs/API_docs_v62/types/auth_CheckedPhone.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: auth_CheckedPhone -description: constructors and methods of type auth_CheckedPhone -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_CheckedPhone -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_checkedPhone](../constructors/auth_checkedPhone.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->checkPhone](../methods/auth_checkPhone.md) - - - diff --git a/old_docs/API_docs_v62/types/auth_CodeType.md b/old_docs/API_docs_v62/types/auth_CodeType.md deleted file mode 100644 index 3cd9a7b7..00000000 --- a/old_docs/API_docs_v62/types/auth_CodeType.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: auth_CodeType -description: constructors and methods of type auth_CodeType -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_CodeType -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_codeTypeSms](../constructors/auth_codeTypeSms.md) - -[auth\_codeTypeCall](../constructors/auth_codeTypeCall.md) - -[auth\_codeTypeFlashCall](../constructors/auth_codeTypeFlashCall.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v62/types/auth_ExportedAuthorization.md b/old_docs/API_docs_v62/types/auth_ExportedAuthorization.md deleted file mode 100644 index 69e5c42e..00000000 --- a/old_docs/API_docs_v62/types/auth_ExportedAuthorization.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: auth_ExportedAuthorization -description: constructors and methods of type auth_ExportedAuthorization -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_ExportedAuthorization -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_exportedAuthorization](../constructors/auth_exportedAuthorization.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->exportAuthorization](../methods/auth_exportAuthorization.md) - - - diff --git a/old_docs/API_docs_v62/types/auth_PasswordRecovery.md b/old_docs/API_docs_v62/types/auth_PasswordRecovery.md deleted file mode 100644 index 4962bf42..00000000 --- a/old_docs/API_docs_v62/types/auth_PasswordRecovery.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: auth_PasswordRecovery -description: constructors and methods of type auth_PasswordRecovery -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_PasswordRecovery -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_passwordRecovery](../constructors/auth_passwordRecovery.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->requestPasswordRecovery](../methods/auth_requestPasswordRecovery.md) - - - diff --git a/old_docs/API_docs_v62/types/auth_SentCode.md b/old_docs/API_docs_v62/types/auth_SentCode.md deleted file mode 100644 index 93734713..00000000 --- a/old_docs/API_docs_v62/types/auth_SentCode.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: auth_SentCode -description: constructors and methods of type auth_SentCode -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_SentCode -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_sentCode](../constructors/auth_sentCode.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->sendCode](../methods/auth_sendCode.md) - -[$MadelineProto->auth->resendCode](../methods/auth_resendCode.md) - -[$MadelineProto->account->sendChangePhoneCode](../methods/account_sendChangePhoneCode.md) - -[$MadelineProto->account->sendConfirmPhoneCode](../methods/account_sendConfirmPhoneCode.md) - - - diff --git a/old_docs/API_docs_v62/types/auth_SentCodeType.md b/old_docs/API_docs_v62/types/auth_SentCodeType.md deleted file mode 100644 index 8dfcb93b..00000000 --- a/old_docs/API_docs_v62/types/auth_SentCodeType.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: auth_SentCodeType -description: constructors and methods of type auth_SentCodeType -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_SentCodeType -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_sentCodeTypeApp](../constructors/auth_sentCodeTypeApp.md) - -[auth\_sentCodeTypeSms](../constructors/auth_sentCodeTypeSms.md) - -[auth\_sentCodeTypeCall](../constructors/auth_sentCodeTypeCall.md) - -[auth\_sentCodeTypeFlashCall](../constructors/auth_sentCodeTypeFlashCall.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v62/types/channels.ChannelParticipant.md b/old_docs/API_docs_v62/types/channels.ChannelParticipant.md new file mode 100644 index 00000000..8dc7f7e6 --- /dev/null +++ b/old_docs/API_docs_v62/types/channels.ChannelParticipant.md @@ -0,0 +1,22 @@ +--- +title: channels.ChannelParticipant +description: constructors and methods of type channels.ChannelParticipant +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: channels.ChannelParticipant +[Back to types index](index.md) + + + +### Possible values (constructors): + +[channels.channelParticipant](../constructors/channels.channelParticipant.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->channels->getParticipant](../methods/channels.getParticipant.md) + + + diff --git a/old_docs/API_docs_v62/types/channels.ChannelParticipants.md b/old_docs/API_docs_v62/types/channels.ChannelParticipants.md new file mode 100644 index 00000000..996ab6a6 --- /dev/null +++ b/old_docs/API_docs_v62/types/channels.ChannelParticipants.md @@ -0,0 +1,22 @@ +--- +title: channels.ChannelParticipants +description: constructors and methods of type channels.ChannelParticipants +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: channels.ChannelParticipants +[Back to types index](index.md) + + + +### Possible values (constructors): + +[channels.channelParticipants](../constructors/channels.channelParticipants.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->channels->getParticipants](../methods/channels.getParticipants.md) + + + diff --git a/old_docs/API_docs_v62/types/channels_ChannelParticipant.md b/old_docs/API_docs_v62/types/channels_ChannelParticipant.md deleted file mode 100644 index 3d4667c3..00000000 --- a/old_docs/API_docs_v62/types/channels_ChannelParticipant.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: channels_ChannelParticipant -description: constructors and methods of type channels_ChannelParticipant -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: channels\_ChannelParticipant -[Back to types index](index.md) - - - -### Possible values (constructors): - -[channels\_channelParticipant](../constructors/channels_channelParticipant.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->channels->getParticipant](../methods/channels_getParticipant.md) - - - diff --git a/old_docs/API_docs_v62/types/channels_ChannelParticipants.md b/old_docs/API_docs_v62/types/channels_ChannelParticipants.md deleted file mode 100644 index 0500c2cb..00000000 --- a/old_docs/API_docs_v62/types/channels_ChannelParticipants.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: channels_ChannelParticipants -description: constructors and methods of type channels_ChannelParticipants -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: channels\_ChannelParticipants -[Back to types index](index.md) - - - -### Possible values (constructors): - -[channels\_channelParticipants](../constructors/channels_channelParticipants.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->channels->getParticipants](../methods/channels_getParticipants.md) - - - diff --git a/old_docs/API_docs_v62/types/contacts.Blocked.md b/old_docs/API_docs_v62/types/contacts.Blocked.md new file mode 100644 index 00000000..cb2af80f --- /dev/null +++ b/old_docs/API_docs_v62/types/contacts.Blocked.md @@ -0,0 +1,24 @@ +--- +title: contacts.Blocked +description: constructors and methods of type contacts.Blocked +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Blocked +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.blocked](../constructors/contacts.blocked.md) + +[contacts.blockedSlice](../constructors/contacts.blockedSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getBlocked](../methods/contacts.getBlocked.md) + + + diff --git a/old_docs/API_docs_v62/types/contacts.Contacts.md b/old_docs/API_docs_v62/types/contacts.Contacts.md new file mode 100644 index 00000000..5f695d8e --- /dev/null +++ b/old_docs/API_docs_v62/types/contacts.Contacts.md @@ -0,0 +1,24 @@ +--- +title: contacts.Contacts +description: constructors and methods of type contacts.Contacts +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Contacts +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.contactsNotModified](../constructors/contacts.contactsNotModified.md) + +[contacts.contacts](../constructors/contacts.contacts.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getContacts](../methods/contacts.getContacts.md) + + + diff --git a/old_docs/API_docs_v62/types/contacts.Found.md b/old_docs/API_docs_v62/types/contacts.Found.md new file mode 100644 index 00000000..7df98927 --- /dev/null +++ b/old_docs/API_docs_v62/types/contacts.Found.md @@ -0,0 +1,22 @@ +--- +title: contacts.Found +description: constructors and methods of type contacts.Found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Found +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.found](../constructors/contacts.found.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->search](../methods/contacts.search.md) + + + diff --git a/old_docs/API_docs_v62/types/contacts.ImportedContacts.md b/old_docs/API_docs_v62/types/contacts.ImportedContacts.md new file mode 100644 index 00000000..16795bab --- /dev/null +++ b/old_docs/API_docs_v62/types/contacts.ImportedContacts.md @@ -0,0 +1,22 @@ +--- +title: contacts.ImportedContacts +description: constructors and methods of type contacts.ImportedContacts +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.ImportedContacts +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.importedContacts](../constructors/contacts.importedContacts.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->importContacts](../methods/contacts.importContacts.md) + + + diff --git a/old_docs/API_docs_v62/types/contacts.Link.md b/old_docs/API_docs_v62/types/contacts.Link.md new file mode 100644 index 00000000..eb9da683 --- /dev/null +++ b/old_docs/API_docs_v62/types/contacts.Link.md @@ -0,0 +1,22 @@ +--- +title: contacts.Link +description: constructors and methods of type contacts.Link +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Link +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.link](../constructors/contacts.link.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->deleteContact](../methods/contacts.deleteContact.md) + + + diff --git a/old_docs/API_docs_v62/types/contacts.ResolvedPeer.md b/old_docs/API_docs_v62/types/contacts.ResolvedPeer.md new file mode 100644 index 00000000..13630d54 --- /dev/null +++ b/old_docs/API_docs_v62/types/contacts.ResolvedPeer.md @@ -0,0 +1,22 @@ +--- +title: contacts.ResolvedPeer +description: constructors and methods of type contacts.ResolvedPeer +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.ResolvedPeer +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.resolvedPeer](../constructors/contacts.resolvedPeer.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->resolveUsername](../methods/contacts.resolveUsername.md) + + + diff --git a/old_docs/API_docs_v62/types/contacts.TopPeers.md b/old_docs/API_docs_v62/types/contacts.TopPeers.md new file mode 100644 index 00000000..b8107616 --- /dev/null +++ b/old_docs/API_docs_v62/types/contacts.TopPeers.md @@ -0,0 +1,24 @@ +--- +title: contacts.TopPeers +description: constructors and methods of type contacts.TopPeers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.TopPeers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.topPeersNotModified](../constructors/contacts.topPeersNotModified.md) + +[contacts.topPeers](../constructors/contacts.topPeers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getTopPeers](../methods/contacts.getTopPeers.md) + + + diff --git a/old_docs/API_docs_v62/types/contacts_Blocked.md b/old_docs/API_docs_v62/types/contacts_Blocked.md deleted file mode 100644 index 3e1f02eb..00000000 --- a/old_docs/API_docs_v62/types/contacts_Blocked.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: contacts_Blocked -description: constructors and methods of type contacts_Blocked -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Blocked -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_blocked](../constructors/contacts_blocked.md) - -[contacts\_blockedSlice](../constructors/contacts_blockedSlice.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->getBlocked](../methods/contacts_getBlocked.md) - - - diff --git a/old_docs/API_docs_v62/types/contacts_Contacts.md b/old_docs/API_docs_v62/types/contacts_Contacts.md deleted file mode 100644 index 5d6c9506..00000000 --- a/old_docs/API_docs_v62/types/contacts_Contacts.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: contacts_Contacts -description: constructors and methods of type contacts_Contacts -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Contacts -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_contactsNotModified](../constructors/contacts_contactsNotModified.md) - -[contacts\_contacts](../constructors/contacts_contacts.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->getContacts](../methods/contacts_getContacts.md) - - - diff --git a/old_docs/API_docs_v62/types/contacts_Found.md b/old_docs/API_docs_v62/types/contacts_Found.md deleted file mode 100644 index 806101cf..00000000 --- a/old_docs/API_docs_v62/types/contacts_Found.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_Found -description: constructors and methods of type contacts_Found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Found -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_found](../constructors/contacts_found.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->search](../methods/contacts_search.md) - - - diff --git a/old_docs/API_docs_v62/types/contacts_ImportedContacts.md b/old_docs/API_docs_v62/types/contacts_ImportedContacts.md deleted file mode 100644 index faf7e615..00000000 --- a/old_docs/API_docs_v62/types/contacts_ImportedContacts.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_ImportedContacts -description: constructors and methods of type contacts_ImportedContacts -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_ImportedContacts -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_importedContacts](../constructors/contacts_importedContacts.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->importContacts](../methods/contacts_importContacts.md) - - - diff --git a/old_docs/API_docs_v62/types/contacts_Link.md b/old_docs/API_docs_v62/types/contacts_Link.md deleted file mode 100644 index 01556606..00000000 --- a/old_docs/API_docs_v62/types/contacts_Link.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_Link -description: constructors and methods of type contacts_Link -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Link -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_link](../constructors/contacts_link.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->deleteContact](../methods/contacts_deleteContact.md) - - - diff --git a/old_docs/API_docs_v62/types/contacts_ResolvedPeer.md b/old_docs/API_docs_v62/types/contacts_ResolvedPeer.md deleted file mode 100644 index cf107f7c..00000000 --- a/old_docs/API_docs_v62/types/contacts_ResolvedPeer.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_ResolvedPeer -description: constructors and methods of type contacts_ResolvedPeer -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_ResolvedPeer -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_resolvedPeer](../constructors/contacts_resolvedPeer.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->resolveUsername](../methods/contacts_resolveUsername.md) - - - diff --git a/old_docs/API_docs_v62/types/contacts_TopPeers.md b/old_docs/API_docs_v62/types/contacts_TopPeers.md deleted file mode 100644 index fe4255c7..00000000 --- a/old_docs/API_docs_v62/types/contacts_TopPeers.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: contacts_TopPeers -description: constructors and methods of type contacts_TopPeers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_TopPeers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_topPeersNotModified](../constructors/contacts_topPeersNotModified.md) - -[contacts\_topPeers](../constructors/contacts_topPeers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->getTopPeers](../methods/contacts_getTopPeers.md) - - - diff --git a/old_docs/API_docs_v62/types/help.AppChangelog.md b/old_docs/API_docs_v62/types/help.AppChangelog.md new file mode 100644 index 00000000..71584fdc --- /dev/null +++ b/old_docs/API_docs_v62/types/help.AppChangelog.md @@ -0,0 +1,24 @@ +--- +title: help.AppChangelog +description: constructors and methods of type help.AppChangelog +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.AppChangelog +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.appChangelogEmpty](../constructors/help.appChangelogEmpty.md) + +[help.appChangelog](../constructors/help.appChangelog.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getAppChangelog](../methods/help.getAppChangelog.md) + + + diff --git a/old_docs/API_docs_v62/types/help.AppUpdate.md b/old_docs/API_docs_v62/types/help.AppUpdate.md new file mode 100644 index 00000000..285ec2b7 --- /dev/null +++ b/old_docs/API_docs_v62/types/help.AppUpdate.md @@ -0,0 +1,24 @@ +--- +title: help.AppUpdate +description: constructors and methods of type help.AppUpdate +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.AppUpdate +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.appUpdate](../constructors/help.appUpdate.md) + +[help.noAppUpdate](../constructors/help.noAppUpdate.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getAppUpdate](../methods/help.getAppUpdate.md) + + + diff --git a/old_docs/API_docs_v62/types/help.InviteText.md b/old_docs/API_docs_v62/types/help.InviteText.md new file mode 100644 index 00000000..43293f46 --- /dev/null +++ b/old_docs/API_docs_v62/types/help.InviteText.md @@ -0,0 +1,22 @@ +--- +title: help.InviteText +description: constructors and methods of type help.InviteText +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.InviteText +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.inviteText](../constructors/help.inviteText.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getInviteText](../methods/help.getInviteText.md) + + + diff --git a/old_docs/API_docs_v62/types/help.Support.md b/old_docs/API_docs_v62/types/help.Support.md new file mode 100644 index 00000000..42c20483 --- /dev/null +++ b/old_docs/API_docs_v62/types/help.Support.md @@ -0,0 +1,22 @@ +--- +title: help.Support +description: constructors and methods of type help.Support +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.Support +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.support](../constructors/help.support.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getSupport](../methods/help.getSupport.md) + + + diff --git a/old_docs/API_docs_v62/types/help.TermsOfService.md b/old_docs/API_docs_v62/types/help.TermsOfService.md new file mode 100644 index 00000000..6c29d2e6 --- /dev/null +++ b/old_docs/API_docs_v62/types/help.TermsOfService.md @@ -0,0 +1,22 @@ +--- +title: help.TermsOfService +description: constructors and methods of type help.TermsOfService +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.TermsOfService +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.termsOfService](../constructors/help.termsOfService.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getTermsOfService](../methods/help.getTermsOfService.md) + + + diff --git a/old_docs/API_docs_v62/types/help_AppChangelog.md b/old_docs/API_docs_v62/types/help_AppChangelog.md deleted file mode 100644 index 350cb644..00000000 --- a/old_docs/API_docs_v62/types/help_AppChangelog.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: help_AppChangelog -description: constructors and methods of type help_AppChangelog -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_AppChangelog -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_appChangelogEmpty](../constructors/help_appChangelogEmpty.md) - -[help\_appChangelog](../constructors/help_appChangelog.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getAppChangelog](../methods/help_getAppChangelog.md) - - - diff --git a/old_docs/API_docs_v62/types/help_AppUpdate.md b/old_docs/API_docs_v62/types/help_AppUpdate.md deleted file mode 100644 index 1f296a70..00000000 --- a/old_docs/API_docs_v62/types/help_AppUpdate.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: help_AppUpdate -description: constructors and methods of type help_AppUpdate -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_AppUpdate -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_appUpdate](../constructors/help_appUpdate.md) - -[help\_noAppUpdate](../constructors/help_noAppUpdate.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getAppUpdate](../methods/help_getAppUpdate.md) - - - diff --git a/old_docs/API_docs_v62/types/help_InviteText.md b/old_docs/API_docs_v62/types/help_InviteText.md deleted file mode 100644 index 018d35bf..00000000 --- a/old_docs/API_docs_v62/types/help_InviteText.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: help_InviteText -description: constructors and methods of type help_InviteText -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_InviteText -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_inviteText](../constructors/help_inviteText.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getInviteText](../methods/help_getInviteText.md) - - - diff --git a/old_docs/API_docs_v62/types/help_Support.md b/old_docs/API_docs_v62/types/help_Support.md deleted file mode 100644 index 26de447b..00000000 --- a/old_docs/API_docs_v62/types/help_Support.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: help_Support -description: constructors and methods of type help_Support -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_Support -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_support](../constructors/help_support.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getSupport](../methods/help_getSupport.md) - - - diff --git a/old_docs/API_docs_v62/types/help_TermsOfService.md b/old_docs/API_docs_v62/types/help_TermsOfService.md deleted file mode 100644 index 84a05df3..00000000 --- a/old_docs/API_docs_v62/types/help_TermsOfService.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: help_TermsOfService -description: constructors and methods of type help_TermsOfService -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_TermsOfService -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_termsOfService](../constructors/help_termsOfService.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getTermsOfService](../methods/help_getTermsOfService.md) - - - diff --git a/old_docs/API_docs_v62/types/messages.AffectedHistory.md b/old_docs/API_docs_v62/types/messages.AffectedHistory.md new file mode 100644 index 00000000..f0411b4d --- /dev/null +++ b/old_docs/API_docs_v62/types/messages.AffectedHistory.md @@ -0,0 +1,24 @@ +--- +title: messages.AffectedHistory +description: constructors and methods of type messages.AffectedHistory +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.AffectedHistory +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.affectedHistory](../constructors/messages.affectedHistory.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->deleteHistory](../methods/messages.deleteHistory.md) + +[$MadelineProto->channels->deleteUserHistory](../methods/channels.deleteUserHistory.md) + + + diff --git a/old_docs/API_docs_v62/types/messages.AffectedMessages.md b/old_docs/API_docs_v62/types/messages.AffectedMessages.md new file mode 100644 index 00000000..a9159de3 --- /dev/null +++ b/old_docs/API_docs_v62/types/messages.AffectedMessages.md @@ -0,0 +1,28 @@ +--- +title: messages.AffectedMessages +description: constructors and methods of type messages.AffectedMessages +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.AffectedMessages +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.affectedMessages](../constructors/messages.affectedMessages.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->readHistory](../methods/messages.readHistory.md) + +[$MadelineProto->messages->deleteMessages](../methods/messages.deleteMessages.md) + +[$MadelineProto->messages->readMessageContents](../methods/messages.readMessageContents.md) + +[$MadelineProto->channels->deleteMessages](../methods/channels.deleteMessages.md) + + + diff --git a/old_docs/API_docs_v62/types/messages.AllStickers.md b/old_docs/API_docs_v62/types/messages.AllStickers.md new file mode 100644 index 00000000..fd8565de --- /dev/null +++ b/old_docs/API_docs_v62/types/messages.AllStickers.md @@ -0,0 +1,26 @@ +--- +title: messages.AllStickers +description: constructors and methods of type messages.AllStickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.AllStickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.allStickersNotModified](../constructors/messages.allStickersNotModified.md) + +[messages.allStickers](../constructors/messages.allStickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getAllStickers](../methods/messages.getAllStickers.md) + +[$MadelineProto->messages->getMaskStickers](../methods/messages.getMaskStickers.md) + + + diff --git a/old_docs/API_docs_v62/types/messages.ArchivedStickers.md b/old_docs/API_docs_v62/types/messages.ArchivedStickers.md new file mode 100644 index 00000000..3e017c5d --- /dev/null +++ b/old_docs/API_docs_v62/types/messages.ArchivedStickers.md @@ -0,0 +1,22 @@ +--- +title: messages.ArchivedStickers +description: constructors and methods of type messages.ArchivedStickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.ArchivedStickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.archivedStickers](../constructors/messages.archivedStickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getArchivedStickers](../methods/messages.getArchivedStickers.md) + + + diff --git a/old_docs/API_docs_v62/types/messages.BotCallbackAnswer.md b/old_docs/API_docs_v62/types/messages.BotCallbackAnswer.md new file mode 100644 index 00000000..ef30fbfb --- /dev/null +++ b/old_docs/API_docs_v62/types/messages.BotCallbackAnswer.md @@ -0,0 +1,22 @@ +--- +title: messages.BotCallbackAnswer +description: constructors and methods of type messages.BotCallbackAnswer +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.BotCallbackAnswer +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.botCallbackAnswer](../constructors/messages.botCallbackAnswer.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getBotCallbackAnswer](../methods/messages.getBotCallbackAnswer.md) + + + diff --git a/old_docs/API_docs_v62/types/messages.BotResults.md b/old_docs/API_docs_v62/types/messages.BotResults.md new file mode 100644 index 00000000..76ee2b99 --- /dev/null +++ b/old_docs/API_docs_v62/types/messages.BotResults.md @@ -0,0 +1,22 @@ +--- +title: messages.BotResults +description: constructors and methods of type messages.BotResults +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.BotResults +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.botResults](../constructors/messages.botResults.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getInlineBotResults](../methods/messages.getInlineBotResults.md) + + + diff --git a/old_docs/API_docs_v62/types/messages.ChatFull.md b/old_docs/API_docs_v62/types/messages.ChatFull.md new file mode 100644 index 00000000..3ad38748 --- /dev/null +++ b/old_docs/API_docs_v62/types/messages.ChatFull.md @@ -0,0 +1,24 @@ +--- +title: messages.ChatFull +description: constructors and methods of type messages.ChatFull +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.ChatFull +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.chatFull](../constructors/messages.chatFull.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getFullChat](../methods/messages.getFullChat.md) + +[$MadelineProto->channels->getFullChannel](../methods/channels.getFullChannel.md) + + + diff --git a/old_docs/API_docs_v62/types/messages.Chats.md b/old_docs/API_docs_v62/types/messages.Chats.md new file mode 100644 index 00000000..2c730bf4 --- /dev/null +++ b/old_docs/API_docs_v62/types/messages.Chats.md @@ -0,0 +1,32 @@ +--- +title: messages.Chats +description: constructors and methods of type messages.Chats +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Chats +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.chats](../constructors/messages.chats.md) + +[messages.chatsSlice](../constructors/messages.chatsSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getChats](../methods/messages.getChats.md) + +[$MadelineProto->messages->getCommonChats](../methods/messages.getCommonChats.md) + +[$MadelineProto->messages->getAllChats](../methods/messages.getAllChats.md) + +[$MadelineProto->channels->getChannels](../methods/channels.getChannels.md) + +[$MadelineProto->channels->getAdminedPublicChannels](../methods/channels.getAdminedPublicChannels.md) + + + diff --git a/old_docs/API_docs_v62/types/messages.DhConfig.md b/old_docs/API_docs_v62/types/messages.DhConfig.md new file mode 100644 index 00000000..77188ab7 --- /dev/null +++ b/old_docs/API_docs_v62/types/messages.DhConfig.md @@ -0,0 +1,24 @@ +--- +title: messages.DhConfig +description: constructors and methods of type messages.DhConfig +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.DhConfig +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.dhConfigNotModified](../constructors/messages.dhConfigNotModified.md) + +[messages.dhConfig](../constructors/messages.dhConfig.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getDhConfig](../methods/messages.getDhConfig.md) + + + diff --git a/old_docs/API_docs_v62/types/messages.Dialogs.md b/old_docs/API_docs_v62/types/messages.Dialogs.md new file mode 100644 index 00000000..1a57d535 --- /dev/null +++ b/old_docs/API_docs_v62/types/messages.Dialogs.md @@ -0,0 +1,24 @@ +--- +title: messages.Dialogs +description: constructors and methods of type messages.Dialogs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Dialogs +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.dialogs](../constructors/messages.dialogs.md) + +[messages.dialogsSlice](../constructors/messages.dialogsSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getDialogs](../methods/messages.getDialogs.md) + + + diff --git a/old_docs/API_docs_v62/types/messages.FeaturedStickers.md b/old_docs/API_docs_v62/types/messages.FeaturedStickers.md new file mode 100644 index 00000000..06ed87bb --- /dev/null +++ b/old_docs/API_docs_v62/types/messages.FeaturedStickers.md @@ -0,0 +1,24 @@ +--- +title: messages.FeaturedStickers +description: constructors and methods of type messages.FeaturedStickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.FeaturedStickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.featuredStickersNotModified](../constructors/messages.featuredStickersNotModified.md) + +[messages.featuredStickers](../constructors/messages.featuredStickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getFeaturedStickers](../methods/messages.getFeaturedStickers.md) + + + diff --git a/old_docs/API_docs_v62/types/messages.FoundGifs.md b/old_docs/API_docs_v62/types/messages.FoundGifs.md new file mode 100644 index 00000000..b5176a5d --- /dev/null +++ b/old_docs/API_docs_v62/types/messages.FoundGifs.md @@ -0,0 +1,22 @@ +--- +title: messages.FoundGifs +description: constructors and methods of type messages.FoundGifs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.FoundGifs +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.foundGifs](../constructors/messages.foundGifs.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->searchGifs](../methods/messages.searchGifs.md) + + + diff --git a/old_docs/API_docs_v62/types/messages.HighScores.md b/old_docs/API_docs_v62/types/messages.HighScores.md new file mode 100644 index 00000000..eae9db66 --- /dev/null +++ b/old_docs/API_docs_v62/types/messages.HighScores.md @@ -0,0 +1,24 @@ +--- +title: messages.HighScores +description: constructors and methods of type messages.HighScores +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.HighScores +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.highScores](../constructors/messages.highScores.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getGameHighScores](../methods/messages.getGameHighScores.md) + +[$MadelineProto->messages->getInlineGameHighScores](../methods/messages.getInlineGameHighScores.md) + + + diff --git a/old_docs/API_docs_v62/types/messages.MessageEditData.md b/old_docs/API_docs_v62/types/messages.MessageEditData.md new file mode 100644 index 00000000..feb572f1 --- /dev/null +++ b/old_docs/API_docs_v62/types/messages.MessageEditData.md @@ -0,0 +1,22 @@ +--- +title: messages.MessageEditData +description: constructors and methods of type messages.MessageEditData +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.MessageEditData +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.messageEditData](../constructors/messages.messageEditData.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getMessageEditData](../methods/messages.getMessageEditData.md) + + + diff --git a/old_docs/API_docs_v62/types/messages.Messages.md b/old_docs/API_docs_v62/types/messages.Messages.md new file mode 100644 index 00000000..9e86abbe --- /dev/null +++ b/old_docs/API_docs_v62/types/messages.Messages.md @@ -0,0 +1,34 @@ +--- +title: messages.Messages +description: constructors and methods of type messages.Messages +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Messages +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.messages](../constructors/messages.messages.md) + +[messages.messagesSlice](../constructors/messages.messagesSlice.md) + +[messages.channelMessages](../constructors/messages.channelMessages.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getMessages](../methods/messages.getMessages.md) + +[$MadelineProto->messages->getHistory](../methods/messages.getHistory.md) + +[$MadelineProto->messages->search](../methods/messages.search.md) + +[$MadelineProto->messages->searchGlobal](../methods/messages.searchGlobal.md) + +[$MadelineProto->channels->getMessages](../methods/channels.getMessages.md) + + + diff --git a/old_docs/API_docs_v62/types/messages.PeerDialogs.md b/old_docs/API_docs_v62/types/messages.PeerDialogs.md new file mode 100644 index 00000000..9a1ceaf0 --- /dev/null +++ b/old_docs/API_docs_v62/types/messages.PeerDialogs.md @@ -0,0 +1,24 @@ +--- +title: messages.PeerDialogs +description: constructors and methods of type messages.PeerDialogs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.PeerDialogs +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.peerDialogs](../constructors/messages.peerDialogs.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getPeerDialogs](../methods/messages.getPeerDialogs.md) + +[$MadelineProto->messages->getPinnedDialogs](../methods/messages.getPinnedDialogs.md) + + + diff --git a/old_docs/API_docs_v62/types/messages.RecentStickers.md b/old_docs/API_docs_v62/types/messages.RecentStickers.md new file mode 100644 index 00000000..e5c49b92 --- /dev/null +++ b/old_docs/API_docs_v62/types/messages.RecentStickers.md @@ -0,0 +1,24 @@ +--- +title: messages.RecentStickers +description: constructors and methods of type messages.RecentStickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.RecentStickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.recentStickersNotModified](../constructors/messages.recentStickersNotModified.md) + +[messages.recentStickers](../constructors/messages.recentStickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getRecentStickers](../methods/messages.getRecentStickers.md) + + + diff --git a/old_docs/API_docs_v62/types/messages.SavedGifs.md b/old_docs/API_docs_v62/types/messages.SavedGifs.md new file mode 100644 index 00000000..99844c98 --- /dev/null +++ b/old_docs/API_docs_v62/types/messages.SavedGifs.md @@ -0,0 +1,24 @@ +--- +title: messages.SavedGifs +description: constructors and methods of type messages.SavedGifs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.SavedGifs +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.savedGifsNotModified](../constructors/messages.savedGifsNotModified.md) + +[messages.savedGifs](../constructors/messages.savedGifs.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getSavedGifs](../methods/messages.getSavedGifs.md) + + + diff --git a/old_docs/API_docs_v62/types/messages.SentEncryptedMessage.md b/old_docs/API_docs_v62/types/messages.SentEncryptedMessage.md new file mode 100644 index 00000000..b6d05b1f --- /dev/null +++ b/old_docs/API_docs_v62/types/messages.SentEncryptedMessage.md @@ -0,0 +1,28 @@ +--- +title: messages.SentEncryptedMessage +description: constructors and methods of type messages.SentEncryptedMessage +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.SentEncryptedMessage +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.sentEncryptedMessage](../constructors/messages.sentEncryptedMessage.md) + +[messages.sentEncryptedFile](../constructors/messages.sentEncryptedFile.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->sendEncrypted](../methods/messages.sendEncrypted.md) + +[$MadelineProto->messages->sendEncryptedFile](../methods/messages.sendEncryptedFile.md) + +[$MadelineProto->messages->sendEncryptedService](../methods/messages.sendEncryptedService.md) + + + diff --git a/old_docs/API_docs_v62/types/messages.StickerSet.md b/old_docs/API_docs_v62/types/messages.StickerSet.md new file mode 100644 index 00000000..8de24a76 --- /dev/null +++ b/old_docs/API_docs_v62/types/messages.StickerSet.md @@ -0,0 +1,22 @@ +--- +title: messages.StickerSet +description: constructors and methods of type messages.StickerSet +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.StickerSet +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.stickerSet](../constructors/messages.stickerSet.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getStickerSet](../methods/messages.getStickerSet.md) + + + diff --git a/old_docs/API_docs_v62/types/messages.StickerSetInstallResult.md b/old_docs/API_docs_v62/types/messages.StickerSetInstallResult.md new file mode 100644 index 00000000..9e09c293 --- /dev/null +++ b/old_docs/API_docs_v62/types/messages.StickerSetInstallResult.md @@ -0,0 +1,24 @@ +--- +title: messages.StickerSetInstallResult +description: constructors and methods of type messages.StickerSetInstallResult +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.StickerSetInstallResult +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.stickerSetInstallResultSuccess](../constructors/messages.stickerSetInstallResultSuccess.md) + +[messages.stickerSetInstallResultArchive](../constructors/messages.stickerSetInstallResultArchive.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->installStickerSet](../methods/messages.installStickerSet.md) + + + diff --git a/old_docs/API_docs_v62/types/messages.Stickers.md b/old_docs/API_docs_v62/types/messages.Stickers.md new file mode 100644 index 00000000..0da398ca --- /dev/null +++ b/old_docs/API_docs_v62/types/messages.Stickers.md @@ -0,0 +1,22 @@ +--- +title: messages.Stickers +description: constructors and methods of type messages.Stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Stickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.stickersNotModified](../constructors/messages.stickersNotModified.md) + +[messages.stickers](../constructors/messages.stickers.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v62/types/messages_AffectedHistory.md b/old_docs/API_docs_v62/types/messages_AffectedHistory.md deleted file mode 100644 index a2d75894..00000000 --- a/old_docs/API_docs_v62/types/messages_AffectedHistory.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_AffectedHistory -description: constructors and methods of type messages_AffectedHistory -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_AffectedHistory -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_affectedHistory](../constructors/messages_affectedHistory.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->deleteHistory](../methods/messages_deleteHistory.md) - -[$MadelineProto->channels->deleteUserHistory](../methods/channels_deleteUserHistory.md) - - - diff --git a/old_docs/API_docs_v62/types/messages_AffectedMessages.md b/old_docs/API_docs_v62/types/messages_AffectedMessages.md deleted file mode 100644 index dcbea721..00000000 --- a/old_docs/API_docs_v62/types/messages_AffectedMessages.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: messages_AffectedMessages -description: constructors and methods of type messages_AffectedMessages -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_AffectedMessages -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_affectedMessages](../constructors/messages_affectedMessages.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->readHistory](../methods/messages_readHistory.md) - -[$MadelineProto->messages->deleteMessages](../methods/messages_deleteMessages.md) - -[$MadelineProto->messages->readMessageContents](../methods/messages_readMessageContents.md) - -[$MadelineProto->channels->deleteMessages](../methods/channels_deleteMessages.md) - - - diff --git a/old_docs/API_docs_v62/types/messages_AllStickers.md b/old_docs/API_docs_v62/types/messages_AllStickers.md deleted file mode 100644 index b6a322e0..00000000 --- a/old_docs/API_docs_v62/types/messages_AllStickers.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: messages_AllStickers -description: constructors and methods of type messages_AllStickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_AllStickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_allStickersNotModified](../constructors/messages_allStickersNotModified.md) - -[messages\_allStickers](../constructors/messages_allStickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getAllStickers](../methods/messages_getAllStickers.md) - -[$MadelineProto->messages->getMaskStickers](../methods/messages_getMaskStickers.md) - - - diff --git a/old_docs/API_docs_v62/types/messages_ArchivedStickers.md b/old_docs/API_docs_v62/types/messages_ArchivedStickers.md deleted file mode 100644 index c569675e..00000000 --- a/old_docs/API_docs_v62/types/messages_ArchivedStickers.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_ArchivedStickers -description: constructors and methods of type messages_ArchivedStickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_ArchivedStickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_archivedStickers](../constructors/messages_archivedStickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getArchivedStickers](../methods/messages_getArchivedStickers.md) - - - diff --git a/old_docs/API_docs_v62/types/messages_BotCallbackAnswer.md b/old_docs/API_docs_v62/types/messages_BotCallbackAnswer.md deleted file mode 100644 index f8d424d0..00000000 --- a/old_docs/API_docs_v62/types/messages_BotCallbackAnswer.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_BotCallbackAnswer -description: constructors and methods of type messages_BotCallbackAnswer -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_BotCallbackAnswer -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_botCallbackAnswer](../constructors/messages_botCallbackAnswer.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getBotCallbackAnswer](../methods/messages_getBotCallbackAnswer.md) - - - diff --git a/old_docs/API_docs_v62/types/messages_BotResults.md b/old_docs/API_docs_v62/types/messages_BotResults.md deleted file mode 100644 index c346c5bd..00000000 --- a/old_docs/API_docs_v62/types/messages_BotResults.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_BotResults -description: constructors and methods of type messages_BotResults -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_BotResults -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_botResults](../constructors/messages_botResults.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getInlineBotResults](../methods/messages_getInlineBotResults.md) - - - diff --git a/old_docs/API_docs_v62/types/messages_ChatFull.md b/old_docs/API_docs_v62/types/messages_ChatFull.md deleted file mode 100644 index e4add41e..00000000 --- a/old_docs/API_docs_v62/types/messages_ChatFull.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_ChatFull -description: constructors and methods of type messages_ChatFull -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_ChatFull -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_chatFull](../constructors/messages_chatFull.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getFullChat](../methods/messages_getFullChat.md) - -[$MadelineProto->channels->getFullChannel](../methods/channels_getFullChannel.md) - - - diff --git a/old_docs/API_docs_v62/types/messages_Chats.md b/old_docs/API_docs_v62/types/messages_Chats.md deleted file mode 100644 index e49a9718..00000000 --- a/old_docs/API_docs_v62/types/messages_Chats.md +++ /dev/null @@ -1,32 +0,0 @@ ---- -title: messages_Chats -description: constructors and methods of type messages_Chats -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Chats -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_chats](../constructors/messages_chats.md) - -[messages\_chatsSlice](../constructors/messages_chatsSlice.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getChats](../methods/messages_getChats.md) - -[$MadelineProto->messages->getCommonChats](../methods/messages_getCommonChats.md) - -[$MadelineProto->messages->getAllChats](../methods/messages_getAllChats.md) - -[$MadelineProto->channels->getChannels](../methods/channels_getChannels.md) - -[$MadelineProto->channels->getAdminedPublicChannels](../methods/channels_getAdminedPublicChannels.md) - - - diff --git a/old_docs/API_docs_v62/types/messages_DhConfig.md b/old_docs/API_docs_v62/types/messages_DhConfig.md deleted file mode 100644 index ce237411..00000000 --- a/old_docs/API_docs_v62/types/messages_DhConfig.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_DhConfig -description: constructors and methods of type messages_DhConfig -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_DhConfig -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_dhConfigNotModified](../constructors/messages_dhConfigNotModified.md) - -[messages\_dhConfig](../constructors/messages_dhConfig.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getDhConfig](../methods/messages_getDhConfig.md) - - - diff --git a/old_docs/API_docs_v62/types/messages_Dialogs.md b/old_docs/API_docs_v62/types/messages_Dialogs.md deleted file mode 100644 index 733a42c5..00000000 --- a/old_docs/API_docs_v62/types/messages_Dialogs.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_Dialogs -description: constructors and methods of type messages_Dialogs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Dialogs -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_dialogs](../constructors/messages_dialogs.md) - -[messages\_dialogsSlice](../constructors/messages_dialogsSlice.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getDialogs](../methods/messages_getDialogs.md) - - - diff --git a/old_docs/API_docs_v62/types/messages_FeaturedStickers.md b/old_docs/API_docs_v62/types/messages_FeaturedStickers.md deleted file mode 100644 index 9b4c5002..00000000 --- a/old_docs/API_docs_v62/types/messages_FeaturedStickers.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_FeaturedStickers -description: constructors and methods of type messages_FeaturedStickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_FeaturedStickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_featuredStickersNotModified](../constructors/messages_featuredStickersNotModified.md) - -[messages\_featuredStickers](../constructors/messages_featuredStickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getFeaturedStickers](../methods/messages_getFeaturedStickers.md) - - - diff --git a/old_docs/API_docs_v62/types/messages_FoundGifs.md b/old_docs/API_docs_v62/types/messages_FoundGifs.md deleted file mode 100644 index 9dd088ba..00000000 --- a/old_docs/API_docs_v62/types/messages_FoundGifs.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_FoundGifs -description: constructors and methods of type messages_FoundGifs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_FoundGifs -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_foundGifs](../constructors/messages_foundGifs.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->searchGifs](../methods/messages_searchGifs.md) - - - diff --git a/old_docs/API_docs_v62/types/messages_HighScores.md b/old_docs/API_docs_v62/types/messages_HighScores.md deleted file mode 100644 index 9660e255..00000000 --- a/old_docs/API_docs_v62/types/messages_HighScores.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_HighScores -description: constructors and methods of type messages_HighScores -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_HighScores -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_highScores](../constructors/messages_highScores.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getGameHighScores](../methods/messages_getGameHighScores.md) - -[$MadelineProto->messages->getInlineGameHighScores](../methods/messages_getInlineGameHighScores.md) - - - diff --git a/old_docs/API_docs_v62/types/messages_MessageEditData.md b/old_docs/API_docs_v62/types/messages_MessageEditData.md deleted file mode 100644 index ed3c507a..00000000 --- a/old_docs/API_docs_v62/types/messages_MessageEditData.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_MessageEditData -description: constructors and methods of type messages_MessageEditData -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_MessageEditData -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_messageEditData](../constructors/messages_messageEditData.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getMessageEditData](../methods/messages_getMessageEditData.md) - - - diff --git a/old_docs/API_docs_v62/types/messages_Messages.md b/old_docs/API_docs_v62/types/messages_Messages.md deleted file mode 100644 index 4ce14f1d..00000000 --- a/old_docs/API_docs_v62/types/messages_Messages.md +++ /dev/null @@ -1,34 +0,0 @@ ---- -title: messages_Messages -description: constructors and methods of type messages_Messages -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Messages -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_messages](../constructors/messages_messages.md) - -[messages\_messagesSlice](../constructors/messages_messagesSlice.md) - -[messages\_channelMessages](../constructors/messages_channelMessages.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getMessages](../methods/messages_getMessages.md) - -[$MadelineProto->messages->getHistory](../methods/messages_getHistory.md) - -[$MadelineProto->messages->search](../methods/messages_search.md) - -[$MadelineProto->messages->searchGlobal](../methods/messages_searchGlobal.md) - -[$MadelineProto->channels->getMessages](../methods/channels_getMessages.md) - - - diff --git a/old_docs/API_docs_v62/types/messages_PeerDialogs.md b/old_docs/API_docs_v62/types/messages_PeerDialogs.md deleted file mode 100644 index 2477931f..00000000 --- a/old_docs/API_docs_v62/types/messages_PeerDialogs.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_PeerDialogs -description: constructors and methods of type messages_PeerDialogs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_PeerDialogs -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_peerDialogs](../constructors/messages_peerDialogs.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getPeerDialogs](../methods/messages_getPeerDialogs.md) - -[$MadelineProto->messages->getPinnedDialogs](../methods/messages_getPinnedDialogs.md) - - - diff --git a/old_docs/API_docs_v62/types/messages_RecentStickers.md b/old_docs/API_docs_v62/types/messages_RecentStickers.md deleted file mode 100644 index 2c9db779..00000000 --- a/old_docs/API_docs_v62/types/messages_RecentStickers.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_RecentStickers -description: constructors and methods of type messages_RecentStickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_RecentStickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_recentStickersNotModified](../constructors/messages_recentStickersNotModified.md) - -[messages\_recentStickers](../constructors/messages_recentStickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getRecentStickers](../methods/messages_getRecentStickers.md) - - - diff --git a/old_docs/API_docs_v62/types/messages_SavedGifs.md b/old_docs/API_docs_v62/types/messages_SavedGifs.md deleted file mode 100644 index ffb000aa..00000000 --- a/old_docs/API_docs_v62/types/messages_SavedGifs.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_SavedGifs -description: constructors and methods of type messages_SavedGifs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_SavedGifs -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_savedGifsNotModified](../constructors/messages_savedGifsNotModified.md) - -[messages\_savedGifs](../constructors/messages_savedGifs.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getSavedGifs](../methods/messages_getSavedGifs.md) - - - diff --git a/old_docs/API_docs_v62/types/messages_SentEncryptedMessage.md b/old_docs/API_docs_v62/types/messages_SentEncryptedMessage.md deleted file mode 100644 index 9f7ab935..00000000 --- a/old_docs/API_docs_v62/types/messages_SentEncryptedMessage.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: messages_SentEncryptedMessage -description: constructors and methods of type messages_SentEncryptedMessage -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_SentEncryptedMessage -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_sentEncryptedMessage](../constructors/messages_sentEncryptedMessage.md) - -[messages\_sentEncryptedFile](../constructors/messages_sentEncryptedFile.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->sendEncrypted](../methods/messages_sendEncrypted.md) - -[$MadelineProto->messages->sendEncryptedFile](../methods/messages_sendEncryptedFile.md) - -[$MadelineProto->messages->sendEncryptedService](../methods/messages_sendEncryptedService.md) - - - diff --git a/old_docs/API_docs_v62/types/messages_StickerSet.md b/old_docs/API_docs_v62/types/messages_StickerSet.md deleted file mode 100644 index e04ee8bf..00000000 --- a/old_docs/API_docs_v62/types/messages_StickerSet.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_StickerSet -description: constructors and methods of type messages_StickerSet -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_StickerSet -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_stickerSet](../constructors/messages_stickerSet.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getStickerSet](../methods/messages_getStickerSet.md) - - - diff --git a/old_docs/API_docs_v62/types/messages_StickerSetInstallResult.md b/old_docs/API_docs_v62/types/messages_StickerSetInstallResult.md deleted file mode 100644 index bb62ec11..00000000 --- a/old_docs/API_docs_v62/types/messages_StickerSetInstallResult.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_StickerSetInstallResult -description: constructors and methods of type messages_StickerSetInstallResult -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_StickerSetInstallResult -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_stickerSetInstallResultSuccess](../constructors/messages_stickerSetInstallResultSuccess.md) - -[messages\_stickerSetInstallResultArchive](../constructors/messages_stickerSetInstallResultArchive.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->installStickerSet](../methods/messages_installStickerSet.md) - - - diff --git a/old_docs/API_docs_v62/types/messages_Stickers.md b/old_docs/API_docs_v62/types/messages_Stickers.md deleted file mode 100644 index c0fa45cc..00000000 --- a/old_docs/API_docs_v62/types/messages_Stickers.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_Stickers -description: constructors and methods of type messages_Stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Stickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_stickersNotModified](../constructors/messages_stickersNotModified.md) - -[messages\_stickers](../constructors/messages_stickers.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v62/types/phone.PhoneCall.md b/old_docs/API_docs_v62/types/phone.PhoneCall.md new file mode 100644 index 00000000..6c6110d8 --- /dev/null +++ b/old_docs/API_docs_v62/types/phone.PhoneCall.md @@ -0,0 +1,24 @@ +--- +title: phone.PhoneCall +description: constructors and methods of type phone.PhoneCall +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: phone.PhoneCall +[Back to types index](index.md) + + + +### Possible values (constructors): + +[phone.phoneCall](../constructors/phone.phoneCall.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->phone->requestCall](../methods/phone.requestCall.md) + +[$MadelineProto->phone->acceptCall](../methods/phone.acceptCall.md) + + + diff --git a/old_docs/API_docs_v62/types/phone_PhoneCall.md b/old_docs/API_docs_v62/types/phone_PhoneCall.md deleted file mode 100644 index 82f4216a..00000000 --- a/old_docs/API_docs_v62/types/phone_PhoneCall.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: phone_PhoneCall -description: constructors and methods of type phone_PhoneCall -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: phone\_PhoneCall -[Back to types index](index.md) - - - -### Possible values (constructors): - -[phone\_phoneCall](../constructors/phone_phoneCall.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->phone->requestCall](../methods/phone_requestCall.md) - -[$MadelineProto->phone->acceptCall](../methods/phone_acceptCall.md) - - - diff --git a/old_docs/API_docs_v62/types/photos.Photo.md b/old_docs/API_docs_v62/types/photos.Photo.md new file mode 100644 index 00000000..d60f203c --- /dev/null +++ b/old_docs/API_docs_v62/types/photos.Photo.md @@ -0,0 +1,22 @@ +--- +title: photos.Photo +description: constructors and methods of type photos.Photo +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: photos.Photo +[Back to types index](index.md) + + + +### Possible values (constructors): + +[photos.photo](../constructors/photos.photo.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->photos->uploadProfilePhoto](../methods/photos.uploadProfilePhoto.md) + + + diff --git a/old_docs/API_docs_v62/types/photos.Photos.md b/old_docs/API_docs_v62/types/photos.Photos.md new file mode 100644 index 00000000..fff0e296 --- /dev/null +++ b/old_docs/API_docs_v62/types/photos.Photos.md @@ -0,0 +1,24 @@ +--- +title: photos.Photos +description: constructors and methods of type photos.Photos +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: photos.Photos +[Back to types index](index.md) + + + +### Possible values (constructors): + +[photos.photos](../constructors/photos.photos.md) + +[photos.photosSlice](../constructors/photos.photosSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->photos->getUserPhotos](../methods/photos.getUserPhotos.md) + + + diff --git a/old_docs/API_docs_v62/types/photos_Photo.md b/old_docs/API_docs_v62/types/photos_Photo.md deleted file mode 100644 index d11bbdef..00000000 --- a/old_docs/API_docs_v62/types/photos_Photo.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: photos_Photo -description: constructors and methods of type photos_Photo -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: photos\_Photo -[Back to types index](index.md) - - - -### Possible values (constructors): - -[photos\_photo](../constructors/photos_photo.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->photos->uploadProfilePhoto](../methods/photos_uploadProfilePhoto.md) - - - diff --git a/old_docs/API_docs_v62/types/photos_Photos.md b/old_docs/API_docs_v62/types/photos_Photos.md deleted file mode 100644 index 9875ad70..00000000 --- a/old_docs/API_docs_v62/types/photos_Photos.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: photos_Photos -description: constructors and methods of type photos_Photos -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: photos\_Photos -[Back to types index](index.md) - - - -### Possible values (constructors): - -[photos\_photos](../constructors/photos_photos.md) - -[photos\_photosSlice](../constructors/photos_photosSlice.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->photos->getUserPhotos](../methods/photos_getUserPhotos.md) - - - diff --git a/old_docs/API_docs_v62/types/storage.FileType.md b/old_docs/API_docs_v62/types/storage.FileType.md new file mode 100644 index 00000000..73dc8a92 --- /dev/null +++ b/old_docs/API_docs_v62/types/storage.FileType.md @@ -0,0 +1,38 @@ +--- +title: storage.FileType +description: constructors and methods of type storage.FileType +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: storage.FileType +[Back to types index](index.md) + + + +### Possible values (constructors): + +[storage.fileUnknown](../constructors/storage.fileUnknown.md) + +[storage.fileJpeg](../constructors/storage.fileJpeg.md) + +[storage.fileGif](../constructors/storage.fileGif.md) + +[storage.filePng](../constructors/storage.filePng.md) + +[storage.filePdf](../constructors/storage.filePdf.md) + +[storage.fileMp3](../constructors/storage.fileMp3.md) + +[storage.fileMov](../constructors/storage.fileMov.md) + +[storage.filePartial](../constructors/storage.filePartial.md) + +[storage.fileMp4](../constructors/storage.fileMp4.md) + +[storage.fileWebp](../constructors/storage.fileWebp.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v62/types/storage_FileType.md b/old_docs/API_docs_v62/types/storage_FileType.md deleted file mode 100644 index 076c52a4..00000000 --- a/old_docs/API_docs_v62/types/storage_FileType.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: storage_FileType -description: constructors and methods of type storage_FileType -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: storage\_FileType -[Back to types index](index.md) - - - -### Possible values (constructors): - -[storage\_fileUnknown](../constructors/storage_fileUnknown.md) - -[storage\_fileJpeg](../constructors/storage_fileJpeg.md) - -[storage\_fileGif](../constructors/storage_fileGif.md) - -[storage\_filePng](../constructors/storage_filePng.md) - -[storage\_filePdf](../constructors/storage_filePdf.md) - -[storage\_fileMp3](../constructors/storage_fileMp3.md) - -[storage\_fileMov](../constructors/storage_fileMov.md) - -[storage\_filePartial](../constructors/storage_filePartial.md) - -[storage\_fileMp4](../constructors/storage_fileMp4.md) - -[storage\_fileWebp](../constructors/storage_fileWebp.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v62/types/updates.ChannelDifference.md b/old_docs/API_docs_v62/types/updates.ChannelDifference.md new file mode 100644 index 00000000..ac889a1e --- /dev/null +++ b/old_docs/API_docs_v62/types/updates.ChannelDifference.md @@ -0,0 +1,26 @@ +--- +title: updates.ChannelDifference +description: constructors and methods of type updates.ChannelDifference +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: updates.ChannelDifference +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updates.channelDifferenceEmpty](../constructors/updates.channelDifferenceEmpty.md) + +[updates.channelDifferenceTooLong](../constructors/updates.channelDifferenceTooLong.md) + +[updates.channelDifference](../constructors/updates.channelDifference.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->updates->getChannelDifference](../methods/updates.getChannelDifference.md) + + + diff --git a/old_docs/API_docs_v62/types/updates.Difference.md b/old_docs/API_docs_v62/types/updates.Difference.md new file mode 100644 index 00000000..0c1a1b6e --- /dev/null +++ b/old_docs/API_docs_v62/types/updates.Difference.md @@ -0,0 +1,28 @@ +--- +title: updates.Difference +description: constructors and methods of type updates.Difference +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: updates.Difference +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updates.differenceEmpty](../constructors/updates.differenceEmpty.md) + +[updates.difference](../constructors/updates.difference.md) + +[updates.differenceSlice](../constructors/updates.differenceSlice.md) + +[updates.differenceTooLong](../constructors/updates.differenceTooLong.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->updates->getDifference](../methods/updates.getDifference.md) + + + diff --git a/old_docs/API_docs_v62/types/updates.State.md b/old_docs/API_docs_v62/types/updates.State.md new file mode 100644 index 00000000..49bbb7fd --- /dev/null +++ b/old_docs/API_docs_v62/types/updates.State.md @@ -0,0 +1,22 @@ +--- +title: updates.State +description: constructors and methods of type updates.State +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: updates.State +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updates.state](../constructors/updates.state.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->updates->getState](../methods/updates.getState.md) + + + diff --git a/old_docs/API_docs_v62/types/updates_ChannelDifference.md b/old_docs/API_docs_v62/types/updates_ChannelDifference.md deleted file mode 100644 index dc988692..00000000 --- a/old_docs/API_docs_v62/types/updates_ChannelDifference.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: updates_ChannelDifference -description: constructors and methods of type updates_ChannelDifference -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: updates\_ChannelDifference -[Back to types index](index.md) - - - -### Possible values (constructors): - -[updates\_channelDifferenceEmpty](../constructors/updates_channelDifferenceEmpty.md) - -[updates\_channelDifferenceTooLong](../constructors/updates_channelDifferenceTooLong.md) - -[updates\_channelDifference](../constructors/updates_channelDifference.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->updates->getChannelDifference](../methods/updates_getChannelDifference.md) - - - diff --git a/old_docs/API_docs_v62/types/updates_Difference.md b/old_docs/API_docs_v62/types/updates_Difference.md deleted file mode 100644 index 50bb098e..00000000 --- a/old_docs/API_docs_v62/types/updates_Difference.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: updates_Difference -description: constructors and methods of type updates_Difference -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: updates\_Difference -[Back to types index](index.md) - - - -### Possible values (constructors): - -[updates\_differenceEmpty](../constructors/updates_differenceEmpty.md) - -[updates\_difference](../constructors/updates_difference.md) - -[updates\_differenceSlice](../constructors/updates_differenceSlice.md) - -[updates\_differenceTooLong](../constructors/updates_differenceTooLong.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->updates->getDifference](../methods/updates_getDifference.md) - - - diff --git a/old_docs/API_docs_v62/types/updates_State.md b/old_docs/API_docs_v62/types/updates_State.md deleted file mode 100644 index 7a441145..00000000 --- a/old_docs/API_docs_v62/types/updates_State.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: updates_State -description: constructors and methods of type updates_State -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: updates\_State -[Back to types index](index.md) - - - -### Possible values (constructors): - -[updates\_state](../constructors/updates_state.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->updates->getState](../methods/updates_getState.md) - - - diff --git a/old_docs/API_docs_v62/types/upload.File.md b/old_docs/API_docs_v62/types/upload.File.md new file mode 100644 index 00000000..922e6c7a --- /dev/null +++ b/old_docs/API_docs_v62/types/upload.File.md @@ -0,0 +1,22 @@ +--- +title: upload.File +description: constructors and methods of type upload.File +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: upload.File +[Back to types index](index.md) + + + +### Possible values (constructors): + +[upload.file](../constructors/upload.file.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->upload->getFile](../methods/upload.getFile.md) + + + diff --git a/old_docs/API_docs_v62/types/upload_File.md b/old_docs/API_docs_v62/types/upload_File.md deleted file mode 100644 index 6e3bc38d..00000000 --- a/old_docs/API_docs_v62/types/upload_File.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: upload_File -description: constructors and methods of type upload_File -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: upload\_File -[Back to types index](index.md) - - - -### Possible values (constructors): - -[upload\_file](../constructors/upload_file.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->upload->getFile](../methods/upload_getFile.md) - - - diff --git a/old_docs/API_docs_v65/constructors/README.md b/old_docs/API_docs_v65/constructors/README.md index 262b5289..bbe8c759 100644 --- a/old_docs/API_docs_v65/constructors/README.md +++ b/old_docs/API_docs_v65/constructors/README.md @@ -6,48 +6,65 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png # Constructors [Back to API documentation index](..) +*** +

[$account.authorizations](../constructors/account.authorizations.md) = \['authorizations' => \[[Authorization](../types/Authorization.md)\], \]; + +*** +

[$account.noPassword](../constructors/account.noPassword.md) = \['new_salt' => [bytes](../types/bytes.md), 'email_unconfirmed_pattern' => [string](../types/string.md), \]; + +*** +

[$account.password](../constructors/account.password.md) = \['current_salt' => [bytes](../types/bytes.md), 'new_salt' => [bytes](../types/bytes.md), 'hint' => [string](../types/string.md), 'has_recovery' => [Bool](../types/Bool.md), 'email_unconfirmed_pattern' => [string](../types/string.md), \]; + +*** +

[$account.passwordInputSettings](../constructors/account.passwordInputSettings.md) = \['new_salt' => [bytes](../types/bytes.md), 'new_password_hash' => [bytes](../types/bytes.md), 'hint' => [string](../types/string.md), 'email' => [string](../types/string.md), \]; + +*** +

[$account.passwordSettings](../constructors/account.passwordSettings.md) = \['email' => [string](../types/string.md), \]; + +*** +

[$account.privacyRules](../constructors/account.privacyRules.md) = \['rules' => \[[PrivacyRule](../types/PrivacyRule.md)\], 'users' => \[[User](../types/User.md)\], \]; + +*** +

[$account.tmpPassword](../constructors/account.tmpPassword.md) = \['tmp_password' => [bytes](../types/bytes.md), 'valid_until' => [int](../types/int.md), \]; + ***

[$accountDaysTTL](../constructors/accountDaysTTL.md) = \['days' => [int](../types/int.md), \]; *** -

[$account\_authorizations](../constructors/account_authorizations.md) = \['authorizations' => \[[Authorization](../types/Authorization.md)\], \]; - -[$account\_noPassword](../constructors/account_noPassword.md) = \['new_salt' => [bytes](../types/bytes.md), 'email_unconfirmed_pattern' => [string](../types/string.md), \]; - -[$account\_password](../constructors/account_password.md) = \['current_salt' => [bytes](../types/bytes.md), 'new_salt' => [bytes](../types/bytes.md), 'hint' => [string](../types/string.md), 'has_recovery' => [Bool](../types/Bool.md), 'email_unconfirmed_pattern' => [string](../types/string.md), \]; - -[$account\_passwordInputSettings](../constructors/account_passwordInputSettings.md) = \['new_salt' => [bytes](../types/bytes.md), 'new_password_hash' => [bytes](../types/bytes.md), 'hint' => [string](../types/string.md), 'email' => [string](../types/string.md), \]; - -[$account\_passwordSettings](../constructors/account_passwordSettings.md) = \['email' => [string](../types/string.md), \]; - -[$account\_privacyRules](../constructors/account_privacyRules.md) = \['rules' => \[[PrivacyRule](../types/PrivacyRule.md)\], 'users' => \[[User](../types/User.md)\], \]; - -[$account\_tmpPassword](../constructors/account_tmpPassword.md) = \['tmp_password' => [bytes](../types/bytes.md), 'valid_until' => [int](../types/int.md), \]; +

[$auth.authorization](../constructors/auth.authorization.md) = \['tmp_sessions' => [int](../types/int.md), 'user' => [User](../types/User.md), \]; *** -

[$auth\_authorization](../constructors/auth_authorization.md) = \['tmp_sessions' => [int](../types/int.md), 'user' => [User](../types/User.md), \]; +

[$auth.checkedPhone](../constructors/auth.checkedPhone.md) = \['phone_registered' => [Bool](../types/Bool.md), \]; -[$auth\_checkedPhone](../constructors/auth_checkedPhone.md) = \['phone_registered' => [Bool](../types/Bool.md), \]; +*** +

[$auth.codeTypeCall](../constructors/auth.codeTypeCall.md) = \[\]; -[$auth\_codeTypeCall](../constructors/auth_codeTypeCall.md) = \[\]; +*** +

[$auth.codeTypeFlashCall](../constructors/auth.codeTypeFlashCall.md) = \[\]; -[$auth\_codeTypeFlashCall](../constructors/auth_codeTypeFlashCall.md) = \[\]; +*** +

[$auth.codeTypeSms](../constructors/auth.codeTypeSms.md) = \[\]; -[$auth\_codeTypeSms](../constructors/auth_codeTypeSms.md) = \[\]; +*** +

[$auth.exportedAuthorization](../constructors/auth.exportedAuthorization.md) = \['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; -[$auth\_exportedAuthorization](../constructors/auth_exportedAuthorization.md) = \['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; +*** +

[$auth.passwordRecovery](../constructors/auth.passwordRecovery.md) = \['email_pattern' => [string](../types/string.md), \]; -[$auth\_passwordRecovery](../constructors/auth_passwordRecovery.md) = \['email_pattern' => [string](../types/string.md), \]; +*** +

[$auth.sentCode](../constructors/auth.sentCode.md) = \['phone_registered' => [Bool](../types/Bool.md), 'type' => [auth.SentCodeType](../types/auth.SentCodeType.md), 'phone_code_hash' => [string](../types/string.md), 'next_type' => [auth.CodeType](../types/auth.CodeType.md), 'timeout' => [int](../types/int.md), \]; -[$auth\_sentCode](../constructors/auth_sentCode.md) = \['phone_registered' => [Bool](../types/Bool.md), 'type' => [auth.SentCodeType](../types/auth.SentCodeType.md), 'phone_code_hash' => [string](../types/string.md), 'next_type' => [auth.CodeType](../types/auth.CodeType.md), 'timeout' => [int](../types/int.md), \]; +*** +

[$auth.sentCodeTypeApp](../constructors/auth.sentCodeTypeApp.md) = \['length' => [int](../types/int.md), \]; -[$auth\_sentCodeTypeApp](../constructors/auth_sentCodeTypeApp.md) = \['length' => [int](../types/int.md), \]; +*** +

[$auth.sentCodeTypeCall](../constructors/auth.sentCodeTypeCall.md) = \['length' => [int](../types/int.md), \]; -[$auth\_sentCodeTypeCall](../constructors/auth_sentCodeTypeCall.md) = \['length' => [int](../types/int.md), \]; +*** +

[$auth.sentCodeTypeFlashCall](../constructors/auth.sentCodeTypeFlashCall.md) = \['pattern' => [string](../types/string.md), \]; -[$auth\_sentCodeTypeFlashCall](../constructors/auth_sentCodeTypeFlashCall.md) = \['pattern' => [string](../types/string.md), \]; - -[$auth\_sentCodeTypeSms](../constructors/auth_sentCodeTypeSms.md) = \['length' => [int](../types/int.md), \]; +*** +

[$auth.sentCodeTypeSms](../constructors/auth.sentCodeTypeSms.md) = \['length' => [int](../types/int.md), \]; ***

[$authorization](../constructors/authorization.md) = \['hash' => [long](../types/long.md), 'device_model' => [string](../types/string.md), 'platform' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'api_id' => [int](../types/int.md), 'app_name' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'date_created' => [int](../types/int.md), 'date_active' => [int](../types/int.md), 'ip' => [string](../types/string.md), 'country' => [string](../types/string.md), 'region' => [string](../types/string.md), \]; @@ -145,9 +162,10 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$channelRoleModerator](../constructors/channelRoleModerator.md) = \[\]; *** -

[$channels\_channelParticipant](../constructors/channels_channelParticipant.md) = \['participant' => [ChannelParticipant](../types/ChannelParticipant.md), 'users' => \[[User](../types/User.md)\], \]; +

[$channels.channelParticipant](../constructors/channels.channelParticipant.md) = \['participant' => [ChannelParticipant](../types/ChannelParticipant.md), 'users' => \[[User](../types/User.md)\], \]; -[$channels\_channelParticipants](../constructors/channels_channelParticipants.md) = \['count' => [int](../types/int.md), 'participants' => \[[ChannelParticipant](../types/ChannelParticipant.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$channels.channelParticipants](../constructors/channels.channelParticipants.md) = \['count' => [int](../types/int.md), 'participants' => \[[ChannelParticipant](../types/ChannelParticipant.md)\], 'users' => \[[User](../types/User.md)\], \]; ***

[$chat](../constructors/chat.md) = \['creator' => [Bool](../types/Bool.md), 'kicked' => [Bool](../types/Bool.md), 'left' => [Bool](../types/Bool.md), 'admins_enabled' => [Bool](../types/Bool.md), 'admin' => [Bool](../types/Bool.md), 'deactivated' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'title' => [string](../types/string.md), 'photo' => [ChatPhoto](../types/ChatPhoto.md), 'participants_count' => [int](../types/int.md), 'date' => [int](../types/int.md), 'version' => [int](../types/int.md), 'migrated_to' => [InputChannel](../types/InputChannel.md), \]; @@ -222,25 +240,34 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$contactStatus](../constructors/contactStatus.md) = \['user_id' => [int](../types/int.md), 'status' => [UserStatus](../types/UserStatus.md), \]; *** -

[$contacts\_blocked](../constructors/contacts_blocked.md) = \['blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; +

[$contacts.blocked](../constructors/contacts.blocked.md) = \['blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_blockedSlice](../constructors/contacts_blockedSlice.md) = \['count' => [int](../types/int.md), 'blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.blockedSlice](../constructors/contacts.blockedSlice.md) = \['count' => [int](../types/int.md), 'blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_contacts](../constructors/contacts_contacts.md) = \['contacts' => \[[Contact](../types/Contact.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.contacts](../constructors/contacts.contacts.md) = \['contacts' => \[[Contact](../types/Contact.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_contactsNotModified](../constructors/contacts_contactsNotModified.md) = \[\]; +*** +

[$contacts.contactsNotModified](../constructors/contacts.contactsNotModified.md) = \[\]; -[$contacts\_found](../constructors/contacts_found.md) = \['results' => \[[Peer](../types/Peer.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.found](../constructors/contacts.found.md) = \['results' => \[[Peer](../types/Peer.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_importedContacts](../constructors/contacts_importedContacts.md) = \['imported' => \[[ImportedContact](../types/ImportedContact.md)\], 'retry_contacts' => \[[long](../types/long.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.importedContacts](../constructors/contacts.importedContacts.md) = \['imported' => \[[ImportedContact](../types/ImportedContact.md)\], 'retry_contacts' => \[[long](../types/long.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_link](../constructors/contacts_link.md) = \['my_link' => [ContactLink](../types/ContactLink.md), 'foreign_link' => [ContactLink](../types/ContactLink.md), 'user' => [User](../types/User.md), \]; +*** +

[$contacts.link](../constructors/contacts.link.md) = \['my_link' => [ContactLink](../types/ContactLink.md), 'foreign_link' => [ContactLink](../types/ContactLink.md), 'user' => [User](../types/User.md), \]; -[$contacts\_resolvedPeer](../constructors/contacts_resolvedPeer.md) = \['peer' => [Peer](../types/Peer.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.resolvedPeer](../constructors/contacts.resolvedPeer.md) = \['peer' => [Peer](../types/Peer.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_topPeers](../constructors/contacts_topPeers.md) = \['categories' => \[[TopPeerCategoryPeers](../types/TopPeerCategoryPeers.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.topPeers](../constructors/contacts.topPeers.md) = \['categories' => \[[TopPeerCategoryPeers](../types/TopPeerCategoryPeers.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_topPeersNotModified](../constructors/contacts_topPeersNotModified.md) = \[\]; +*** +

[$contacts.topPeersNotModified](../constructors/contacts.topPeersNotModified.md) = \[\]; ***

[$dataJSON](../constructors/dataJSON.md) = \['data' => [string](../types/string.md), \]; @@ -365,15 +392,19 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$geoPointEmpty](../constructors/geoPointEmpty.md) = \[\]; *** -

[$help\_appUpdate](../constructors/help_appUpdate.md) = \['id' => [int](../types/int.md), 'critical' => [Bool](../types/Bool.md), 'url' => [string](../types/string.md), 'text' => [string](../types/string.md), \]; +

[$help.appUpdate](../constructors/help.appUpdate.md) = \['id' => [int](../types/int.md), 'critical' => [Bool](../types/Bool.md), 'url' => [string](../types/string.md), 'text' => [string](../types/string.md), \]; -[$help\_inviteText](../constructors/help_inviteText.md) = \['message' => [string](../types/string.md), \]; +*** +

[$help.inviteText](../constructors/help.inviteText.md) = \['message' => [string](../types/string.md), \]; -[$help\_noAppUpdate](../constructors/help_noAppUpdate.md) = \[\]; +*** +

[$help.noAppUpdate](../constructors/help.noAppUpdate.md) = \[\]; -[$help\_support](../constructors/help_support.md) = \['phone_number' => [string](../types/string.md), 'user' => [User](../types/User.md), \]; +*** +

[$help.support](../constructors/help.support.md) = \['phone_number' => [string](../types/string.md), 'user' => [User](../types/User.md), \]; -[$help\_termsOfService](../constructors/help_termsOfService.md) = \['text' => [string](../types/string.md), \]; +*** +

[$help.termsOfService](../constructors/help.termsOfService.md) = \['text' => [string](../types/string.md), \]; ***

[$highScore](../constructors/highScore.md) = \['pos' => [int](../types/int.md), 'user_id' => [int](../types/int.md), 'score' => [int](../types/int.md), \]; @@ -859,73 +890,106 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$messageService](../constructors/messageService.md) = \['out' => [Bool](../types/Bool.md), 'mentioned' => [Bool](../types/Bool.md), 'media_unread' => [Bool](../types/Bool.md), 'silent' => [Bool](../types/Bool.md), 'post' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'from_id' => [int](../types/int.md), 'to_id' => [Peer](../types/Peer.md), 'reply_to_msg_id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'action' => [MessageAction](../types/MessageAction.md), \]; *** -

[$messages\_affectedHistory](../constructors/messages_affectedHistory.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), 'offset' => [int](../types/int.md), \]; +

[$messages.affectedHistory](../constructors/messages.affectedHistory.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), 'offset' => [int](../types/int.md), \]; -[$messages\_affectedMessages](../constructors/messages_affectedMessages.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; +*** +

[$messages.affectedMessages](../constructors/messages.affectedMessages.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; -[$messages\_allStickers](../constructors/messages_allStickers.md) = \['hash' => [int](../types/int.md), 'sets' => \[[StickerSet](../types/StickerSet.md)\], \]; +*** +

[$messages.allStickers](../constructors/messages.allStickers.md) = \['hash' => [int](../types/int.md), 'sets' => \[[StickerSet](../types/StickerSet.md)\], \]; -[$messages\_allStickersNotModified](../constructors/messages_allStickersNotModified.md) = \[\]; +*** +

[$messages.allStickersNotModified](../constructors/messages.allStickersNotModified.md) = \[\]; -[$messages\_archivedStickers](../constructors/messages_archivedStickers.md) = \['count' => [int](../types/int.md), 'sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], \]; +*** +

[$messages.archivedStickers](../constructors/messages.archivedStickers.md) = \['count' => [int](../types/int.md), 'sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], \]; -[$messages\_botCallbackAnswer](../constructors/messages_botCallbackAnswer.md) = \['alert' => [Bool](../types/Bool.md), 'has_url' => [Bool](../types/Bool.md), 'message' => [string](../types/string.md), 'url' => [string](../types/string.md), 'cache_time' => [int](../types/int.md), \]; +*** +

[$messages.botCallbackAnswer](../constructors/messages.botCallbackAnswer.md) = \['alert' => [Bool](../types/Bool.md), 'has_url' => [Bool](../types/Bool.md), 'message' => [string](../types/string.md), 'url' => [string](../types/string.md), 'cache_time' => [int](../types/int.md), \]; -[$messages\_botResults](../constructors/messages_botResults.md) = \['gallery' => [Bool](../types/Bool.md), 'query_id' => [long](../types/long.md), 'next_offset' => [string](../types/string.md), 'switch_pm' => [InlineBotSwitchPM](../types/InlineBotSwitchPM.md), 'results' => \[[BotInlineResult](../types/BotInlineResult.md)\], 'cache_time' => [int](../types/int.md), \]; +*** +

[$messages.botResults](../constructors/messages.botResults.md) = \['gallery' => [Bool](../types/Bool.md), 'query_id' => [long](../types/long.md), 'next_offset' => [string](../types/string.md), 'switch_pm' => [InlineBotSwitchPM](../types/InlineBotSwitchPM.md), 'results' => \[[BotInlineResult](../types/BotInlineResult.md)\], 'cache_time' => [int](../types/int.md), \]; -[$messages\_channelMessages](../constructors/messages_channelMessages.md) = \['pts' => [int](../types/int.md), 'count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.channelMessages](../constructors/messages.channelMessages.md) = \['pts' => [int](../types/int.md), 'count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_chatFull](../constructors/messages_chatFull.md) = \['full_chat' => [ChatFull](../types/ChatFull.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.chatFull](../constructors/messages.chatFull.md) = \['full_chat' => [ChatFull](../types/ChatFull.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_chats](../constructors/messages_chats.md) = \['chats' => \[[Chat](../types/Chat.md)\], \]; +*** +

[$messages.chats](../constructors/messages.chats.md) = \['chats' => \[[Chat](../types/Chat.md)\], \]; -[$messages\_chatsSlice](../constructors/messages_chatsSlice.md) = \['count' => [int](../types/int.md), 'chats' => \[[Chat](../types/Chat.md)\], \]; +*** +

[$messages.chatsSlice](../constructors/messages.chatsSlice.md) = \['count' => [int](../types/int.md), 'chats' => \[[Chat](../types/Chat.md)\], \]; -[$messages\_dhConfig](../constructors/messages_dhConfig.md) = \['g' => [int](../types/int.md), 'p' => [bytes](../types/bytes.md), 'version' => [int](../types/int.md), 'random' => [bytes](../types/bytes.md), \]; +*** +

[$messages.dhConfig](../constructors/messages.dhConfig.md) = \['g' => [int](../types/int.md), 'p' => [bytes](../types/bytes.md), 'version' => [int](../types/int.md), 'random' => [bytes](../types/bytes.md), \]; -[$messages\_dhConfigNotModified](../constructors/messages_dhConfigNotModified.md) = \['random' => [bytes](../types/bytes.md), \]; +*** +

[$messages.dhConfigNotModified](../constructors/messages.dhConfigNotModified.md) = \['random' => [bytes](../types/bytes.md), \]; -[$messages\_dialogs](../constructors/messages_dialogs.md) = \['dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.dialogs](../constructors/messages.dialogs.md) = \['dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_dialogsSlice](../constructors/messages_dialogsSlice.md) = \['count' => [int](../types/int.md), 'dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.dialogsSlice](../constructors/messages.dialogsSlice.md) = \['count' => [int](../types/int.md), 'dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_featuredStickers](../constructors/messages_featuredStickers.md) = \['hash' => [int](../types/int.md), 'sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], 'unread' => \[[long](../types/long.md)\], \]; +*** +

[$messages.featuredStickers](../constructors/messages.featuredStickers.md) = \['hash' => [int](../types/int.md), 'sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], 'unread' => \[[long](../types/long.md)\], \]; -[$messages\_featuredStickersNotModified](../constructors/messages_featuredStickersNotModified.md) = \[\]; +*** +

[$messages.featuredStickersNotModified](../constructors/messages.featuredStickersNotModified.md) = \[\]; -[$messages\_foundGifs](../constructors/messages_foundGifs.md) = \['next_offset' => [int](../types/int.md), 'results' => \[[FoundGif](../types/FoundGif.md)\], \]; +*** +

[$messages.foundGifs](../constructors/messages.foundGifs.md) = \['next_offset' => [int](../types/int.md), 'results' => \[[FoundGif](../types/FoundGif.md)\], \]; -[$messages\_highScores](../constructors/messages_highScores.md) = \['scores' => \[[HighScore](../types/HighScore.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.highScores](../constructors/messages.highScores.md) = \['scores' => \[[HighScore](../types/HighScore.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_messageEditData](../constructors/messages_messageEditData.md) = \['caption' => [Bool](../types/Bool.md), \]; +*** +

[$messages.messageEditData](../constructors/messages.messageEditData.md) = \['caption' => [Bool](../types/Bool.md), \]; -[$messages\_messages](../constructors/messages_messages.md) = \['messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.messages](../constructors/messages.messages.md) = \['messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_messagesSlice](../constructors/messages_messagesSlice.md) = \['count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.messagesSlice](../constructors/messages.messagesSlice.md) = \['count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_peerDialogs](../constructors/messages_peerDialogs.md) = \['dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'state' => [updates.State](../types/updates.State.md), \]; +*** +

[$messages.peerDialogs](../constructors/messages.peerDialogs.md) = \['dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'state' => [updates.State](../types/updates.State.md), \]; -[$messages\_recentStickers](../constructors/messages_recentStickers.md) = \['hash' => [int](../types/int.md), 'stickers' => \[[Document](../types/Document.md)\], \]; +*** +

[$messages.recentStickers](../constructors/messages.recentStickers.md) = \['hash' => [int](../types/int.md), 'stickers' => \[[Document](../types/Document.md)\], \]; -[$messages\_recentStickersNotModified](../constructors/messages_recentStickersNotModified.md) = \[\]; +*** +

[$messages.recentStickersNotModified](../constructors/messages.recentStickersNotModified.md) = \[\]; -[$messages\_savedGifs](../constructors/messages_savedGifs.md) = \['hash' => [int](../types/int.md), 'gifs' => \[[Document](../types/Document.md)\], \]; +*** +

[$messages.savedGifs](../constructors/messages.savedGifs.md) = \['hash' => [int](../types/int.md), 'gifs' => \[[Document](../types/Document.md)\], \]; -[$messages\_savedGifsNotModified](../constructors/messages_savedGifsNotModified.md) = \[\]; +*** +

[$messages.savedGifsNotModified](../constructors/messages.savedGifsNotModified.md) = \[\]; -[$messages\_sentEncryptedFile](../constructors/messages_sentEncryptedFile.md) = \['date' => [int](../types/int.md), 'file' => [EncryptedFile](../types/EncryptedFile.md), \]; +*** +

[$messages.sentEncryptedFile](../constructors/messages.sentEncryptedFile.md) = \['date' => [int](../types/int.md), 'file' => [EncryptedFile](../types/EncryptedFile.md), \]; -[$messages\_sentEncryptedMessage](../constructors/messages_sentEncryptedMessage.md) = \['date' => [int](../types/int.md), \]; +*** +

[$messages.sentEncryptedMessage](../constructors/messages.sentEncryptedMessage.md) = \['date' => [int](../types/int.md), \]; -[$messages\_stickerSet](../constructors/messages_stickerSet.md) = \['set' => [StickerSet](../types/StickerSet.md), 'packs' => \[[StickerPack](../types/StickerPack.md)\], 'documents' => \[[Document](../types/Document.md)\], \]; +*** +

[$messages.stickerSet](../constructors/messages.stickerSet.md) = \['set' => [StickerSet](../types/StickerSet.md), 'packs' => \[[StickerPack](../types/StickerPack.md)\], 'documents' => \[[Document](../types/Document.md)\], \]; -[$messages\_stickerSetInstallResultArchive](../constructors/messages_stickerSetInstallResultArchive.md) = \['sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], \]; +*** +

[$messages.stickerSetInstallResultArchive](../constructors/messages.stickerSetInstallResultArchive.md) = \['sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], \]; -[$messages\_stickerSetInstallResultSuccess](../constructors/messages_stickerSetInstallResultSuccess.md) = \[\]; +*** +

[$messages.stickerSetInstallResultSuccess](../constructors/messages.stickerSetInstallResultSuccess.md) = \[\]; -[$messages\_stickers](../constructors/messages_stickers.md) = \['hash' => [string](../types/string.md), 'stickers' => \[[Document](../types/Document.md)\], \]; +*** +

[$messages.stickers](../constructors/messages.stickers.md) = \['hash' => [string](../types/string.md), 'stickers' => \[[Document](../types/Document.md)\], \]; -[$messages\_stickersNotModified](../constructors/messages_stickersNotModified.md) = \[\]; +*** +

[$messages.stickersNotModified](../constructors/messages.stickersNotModified.md) = \[\]; ***

[$msg\_detailed\_info](../constructors/msg_detailed_info.md) = \['msg_id' => [long](../types/long.md), 'answer_msg_id' => [long](../types/long.md), 'bytes' => [int](../types/int.md), 'status' => [int](../types/int.md), \]; @@ -1046,17 +1110,22 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$paymentSavedCredentialsCard](../constructors/paymentSavedCredentialsCard.md) = \['id' => [string](../types/string.md), 'title' => [string](../types/string.md), \]; *** -

[$payments\_paymentForm](../constructors/payments_paymentForm.md) = \['can_save_credentials' => [Bool](../types/Bool.md), 'password_missing' => [Bool](../types/Bool.md), 'bot_id' => [int](../types/int.md), 'invoice' => [Invoice](../types/Invoice.md), 'provider_id' => [int](../types/int.md), 'url' => [string](../types/string.md), 'native_provider' => [string](../types/string.md), 'native_params' => [DataJSON](../types/DataJSON.md), 'saved_info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), 'saved_credentials' => [PaymentSavedCredentials](../types/PaymentSavedCredentials.md), 'users' => \[[User](../types/User.md)\], \]; +

[$payments.paymentForm](../constructors/payments.paymentForm.md) = \['can_save_credentials' => [Bool](../types/Bool.md), 'password_missing' => [Bool](../types/Bool.md), 'bot_id' => [int](../types/int.md), 'invoice' => [Invoice](../types/Invoice.md), 'provider_id' => [int](../types/int.md), 'url' => [string](../types/string.md), 'native_provider' => [string](../types/string.md), 'native_params' => [DataJSON](../types/DataJSON.md), 'saved_info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), 'saved_credentials' => [PaymentSavedCredentials](../types/PaymentSavedCredentials.md), 'users' => \[[User](../types/User.md)\], \]; -[$payments\_paymentReceipt](../constructors/payments_paymentReceipt.md) = \['date' => [int](../types/int.md), 'bot_id' => [int](../types/int.md), 'invoice' => [Invoice](../types/Invoice.md), 'provider_id' => [int](../types/int.md), 'info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), 'shipping' => [ShippingOption](../types/ShippingOption.md), 'currency' => [string](../types/string.md), 'total_amount' => [long](../types/long.md), 'credentials_title' => [string](../types/string.md), 'users' => \[[User](../types/User.md)\], \]; +*** +

[$payments.paymentReceipt](../constructors/payments.paymentReceipt.md) = \['date' => [int](../types/int.md), 'bot_id' => [int](../types/int.md), 'invoice' => [Invoice](../types/Invoice.md), 'provider_id' => [int](../types/int.md), 'info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), 'shipping' => [ShippingOption](../types/ShippingOption.md), 'currency' => [string](../types/string.md), 'total_amount' => [long](../types/long.md), 'credentials_title' => [string](../types/string.md), 'users' => \[[User](../types/User.md)\], \]; -[$payments\_paymentResult](../constructors/payments_paymentResult.md) = \['updates' => [Updates](../types/Updates.md), \]; +*** +

[$payments.paymentResult](../constructors/payments.paymentResult.md) = \['updates' => [Updates](../types/Updates.md), \]; -[$payments\_paymentVerficationNeeded](../constructors/payments_paymentVerficationNeeded.md) = \['url' => [string](../types/string.md), \]; +*** +

[$payments.paymentVerficationNeeded](../constructors/payments.paymentVerficationNeeded.md) = \['url' => [string](../types/string.md), \]; -[$payments\_savedInfo](../constructors/payments_savedInfo.md) = \['has_saved_credentials' => [Bool](../types/Bool.md), 'saved_info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), \]; +*** +

[$payments.savedInfo](../constructors/payments.savedInfo.md) = \['has_saved_credentials' => [Bool](../types/Bool.md), 'saved_info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), \]; -[$payments\_validatedRequestedInfo](../constructors/payments_validatedRequestedInfo.md) = \['id' => [string](../types/string.md), 'shipping_options' => \[[ShippingOption](../types/ShippingOption.md)\], \]; +*** +

[$payments.validatedRequestedInfo](../constructors/payments.validatedRequestedInfo.md) = \['id' => [string](../types/string.md), 'shipping_options' => \[[ShippingOption](../types/ShippingOption.md)\], \]; ***

[$peerChannel](../constructors/peerChannel.md) = \['channel_id' => [int](../types/int.md), \]; @@ -1082,6 +1151,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ***

[$peerUser](../constructors/peerUser.md) = \['user_id' => [int](../types/int.md), \]; +*** +

[$phone.phoneCall](../constructors/phone.phoneCall.md) = \['phone_call' => [PhoneCall](../types/PhoneCall.md), 'users' => \[[User](../types/User.md)\], \]; + ***

[$phoneCall](../constructors/phoneCall.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'date' => [int](../types/int.md), 'admin_id' => [int](../types/int.md), 'participant_id' => [int](../types/int.md), 'g_a_or_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), 'connection' => [PhoneConnection](../types/PhoneConnection.md), 'alternative_connections' => \[[PhoneConnection](../types/PhoneConnection.md)\], 'start_date' => [int](../types/int.md), \]; @@ -1118,9 +1190,6 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ***

[$phoneConnection](../constructors/phoneConnection.md) = \['id' => [long](../types/long.md), 'ip' => [string](../types/string.md), 'ipv6' => [string](../types/string.md), 'port' => [int](../types/int.md), 'peer_tag' => [bytes](../types/bytes.md), \]; -*** -

[$phone\_phoneCall](../constructors/phone_phoneCall.md) = \['phone_call' => [PhoneCall](../types/PhoneCall.md), 'users' => \[[User](../types/User.md)\], \]; - ***

[$photo](../constructors/photo.md) = \['has_stickers' => [Bool](../types/Bool.md), 'id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'date' => [int](../types/int.md), 'sizes' => \[[PhotoSize](../types/PhotoSize.md)\], \]; @@ -1137,11 +1206,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$photoSizeEmpty](../constructors/photoSizeEmpty.md) = \['type' => [string](../types/string.md), \]; *** -

[$photos\_photo](../constructors/photos_photo.md) = \['photo' => [Photo](../types/Photo.md), 'users' => \[[User](../types/User.md)\], \]; +

[$photos.photo](../constructors/photos.photo.md) = \['photo' => [Photo](../types/Photo.md), 'users' => \[[User](../types/User.md)\], \]; -[$photos\_photos](../constructors/photos_photos.md) = \['photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$photos.photos](../constructors/photos.photos.md) = \['photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$photos\_photosSlice](../constructors/photos_photosSlice.md) = \['count' => [int](../types/int.md), 'photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$photos.photosSlice](../constructors/photos.photosSlice.md) = \['count' => [int](../types/int.md), 'photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; ***

[$pong](../constructors/pong.md) = \['msg_id' => [long](../types/long.md), 'ping_id' => [long](../types/long.md), \]; @@ -1259,25 +1330,34 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$stickerSetMultiCovered](../constructors/stickerSetMultiCovered.md) = \['set' => [StickerSet](../types/StickerSet.md), 'covers' => \[[Document](../types/Document.md)\], \]; *** -

[$storage\_fileGif](../constructors/storage_fileGif.md) = \[\]; +

[$storage.fileGif](../constructors/storage.fileGif.md) = \[\]; -[$storage\_fileJpeg](../constructors/storage_fileJpeg.md) = \[\]; +*** +

[$storage.fileJpeg](../constructors/storage.fileJpeg.md) = \[\]; -[$storage\_fileMov](../constructors/storage_fileMov.md) = \[\]; +*** +

[$storage.fileMov](../constructors/storage.fileMov.md) = \[\]; -[$storage\_fileMp3](../constructors/storage_fileMp3.md) = \[\]; +*** +

[$storage.fileMp3](../constructors/storage.fileMp3.md) = \[\]; -[$storage\_fileMp4](../constructors/storage_fileMp4.md) = \[\]; +*** +

[$storage.fileMp4](../constructors/storage.fileMp4.md) = \[\]; -[$storage\_filePartial](../constructors/storage_filePartial.md) = \[\]; +*** +

[$storage.filePartial](../constructors/storage.filePartial.md) = \[\]; -[$storage\_filePdf](../constructors/storage_filePdf.md) = \[\]; +*** +

[$storage.filePdf](../constructors/storage.filePdf.md) = \[\]; -[$storage\_filePng](../constructors/storage_filePng.md) = \[\]; +*** +

[$storage.filePng](../constructors/storage.filePng.md) = \[\]; -[$storage\_fileUnknown](../constructors/storage_fileUnknown.md) = \[\]; +*** +

[$storage.fileUnknown](../constructors/storage.fileUnknown.md) = \[\]; -[$storage\_fileWebp](../constructors/storage_fileWebp.md) = \[\]; +*** +

[$storage.fileWebp](../constructors/storage.fileWebp.md) = \[\]; ***

[$textBold](../constructors/textBold.md) = \['text' => [RichText](../types/RichText.md), \]; @@ -1528,6 +1608,30 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ***

[$updates](../constructors/updates.md) = \['updates' => \[[Update](../types/Update.md)\], 'users' => \[[User](../types/User.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'date' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; +*** +

[$updates.channelDifference](../constructors/updates.channelDifference.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), 'new_messages' => \[[Message](../types/Message.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +*** +

[$updates.channelDifferenceEmpty](../constructors/updates.channelDifferenceEmpty.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), \]; + +*** +

[$updates.channelDifferenceTooLong](../constructors/updates.channelDifferenceTooLong.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), 'top_message' => [int](../types/int.md), 'read_inbox_max_id' => [int](../types/int.md), 'read_outbox_max_id' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +*** +

[$updates.difference](../constructors/updates.difference.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'state' => [updates.State](../types/updates.State.md), \]; + +*** +

[$updates.differenceEmpty](../constructors/updates.differenceEmpty.md) = \['date' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; + +*** +

[$updates.differenceSlice](../constructors/updates.differenceSlice.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'intermediate_state' => [updates.State](../types/updates.State.md), \]; + +*** +

[$updates.differenceTooLong](../constructors/updates.differenceTooLong.md) = \['pts' => [int](../types/int.md), \]; + +*** +

[$updates.state](../constructors/updates.state.md) = \['pts' => [int](../types/int.md), 'qts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'seq' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), \]; + ***

[$updatesCombined](../constructors/updatesCombined.md) = \['updates' => \[[Update](../types/Update.md)\], 'users' => \[[User](../types/User.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'date' => [int](../types/int.md), 'seq_start' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; @@ -1535,26 +1639,10 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$updatesTooLong](../constructors/updatesTooLong.md) = \[\]; *** -

[$updates\_channelDifference](../constructors/updates_channelDifference.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), 'new_messages' => \[[Message](../types/Message.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; - -[$updates\_channelDifferenceEmpty](../constructors/updates_channelDifferenceEmpty.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), \]; - -[$updates\_channelDifferenceTooLong](../constructors/updates_channelDifferenceTooLong.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), 'top_message' => [int](../types/int.md), 'read_inbox_max_id' => [int](../types/int.md), 'read_outbox_max_id' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; - -[$updates\_difference](../constructors/updates_difference.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'state' => [updates.State](../types/updates.State.md), \]; - -[$updates\_differenceEmpty](../constructors/updates_differenceEmpty.md) = \['date' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; - -[$updates\_differenceSlice](../constructors/updates_differenceSlice.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'intermediate_state' => [updates.State](../types/updates.State.md), \]; - -[$updates\_differenceTooLong](../constructors/updates_differenceTooLong.md) = \['pts' => [int](../types/int.md), \]; - -[$updates\_state](../constructors/updates_state.md) = \['pts' => [int](../types/int.md), 'qts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'seq' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), \]; +

[$upload.file](../constructors/upload.file.md) = \['type' => [storage.FileType](../types/storage.FileType.md), 'mtime' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; *** -

[$upload\_file](../constructors/upload_file.md) = \['type' => [storage.FileType](../types/storage.FileType.md), 'mtime' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; - -[$upload\_webFile](../constructors/upload_webFile.md) = \['size' => [int](../types/int.md), 'mime_type' => [string](../types/string.md), 'file_type' => [storage.FileType](../types/storage.FileType.md), 'mtime' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; +

[$upload.webFile](../constructors/upload.webFile.md) = \['size' => [int](../types/int.md), 'mime_type' => [string](../types/string.md), 'file_type' => [storage.FileType](../types/storage.FileType.md), 'mtime' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; ***

[$user](../constructors/user.md) = \['self' => [Bool](../types/Bool.md), 'contact' => [Bool](../types/Bool.md), 'mutual_contact' => [Bool](../types/Bool.md), 'deleted' => [Bool](../types/Bool.md), 'bot' => [Bool](../types/Bool.md), 'bot_chat_history' => [Bool](../types/Bool.md), 'bot_nochats' => [Bool](../types/Bool.md), 'verified' => [Bool](../types/Bool.md), 'restricted' => [Bool](../types/Bool.md), 'min' => [Bool](../types/Bool.md), 'bot_inline_geo' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), 'username' => [string](../types/string.md), 'phone' => [string](../types/string.md), 'photo' => [UserProfilePhoto](../types/UserProfilePhoto.md), 'status' => [UserStatus](../types/UserStatus.md), 'bot_info_version' => [int](../types/int.md), 'restriction_reason' => [string](../types/string.md), 'bot_inline_placeholder' => [string](../types/string.md), \]; diff --git a/old_docs/API_docs_v65/constructors/account.authorizations.md b/old_docs/API_docs_v65/constructors/account.authorizations.md new file mode 100644 index 00000000..53c961f0 --- /dev/null +++ b/old_docs/API_docs_v65/constructors/account.authorizations.md @@ -0,0 +1,38 @@ +--- +title: account.authorizations +description: Logged-in sessions +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.authorizations +[Back to constructors index](index.md) + + + +Logged-in sessions + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|authorizations|Array of [Authorization](../types/Authorization.md) | Yes|Authorizations| + + + +### Type: [account.Authorizations](../types/account.Authorizations.md) + + +### Example: + +```php +$account.authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization, Authorization]]; +``` + + +Or, if you're into Lua: + +```lua +account.authorizations={_='account.authorizations', authorizations={Authorization}} + +``` + + diff --git a/old_docs/API_docs_v65/constructors/account.noPassword.md b/old_docs/API_docs_v65/constructors/account.noPassword.md new file mode 100644 index 00000000..4dcdc515 --- /dev/null +++ b/old_docs/API_docs_v65/constructors/account.noPassword.md @@ -0,0 +1,39 @@ +--- +title: account.noPassword +description: No password +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.noPassword +[Back to constructors index](index.md) + + + +No password + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|new\_salt|[bytes](../types/bytes.md) | Yes|New salt| +|email\_unconfirmed\_pattern|[string](../types/string.md) | Yes|Email unconfirmed pattern| + + + +### Type: [account.Password](../types/account.Password.md) + + +### Example: + +```php +$account.noPassword = ['_' => 'account.noPassword', 'new_salt' => 'bytes', 'email_unconfirmed_pattern' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +account.noPassword={_='account.noPassword', new_salt='bytes', email_unconfirmed_pattern='string'} + +``` + + diff --git a/old_docs/API_docs_v65/constructors/account.password.md b/old_docs/API_docs_v65/constructors/account.password.md new file mode 100644 index 00000000..9e86a73a --- /dev/null +++ b/old_docs/API_docs_v65/constructors/account.password.md @@ -0,0 +1,42 @@ +--- +title: account.password +description: Configuration for two-factor authorization +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.password +[Back to constructors index](index.md) + + + +Configuration for two-factor authorization + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|current\_salt|[bytes](../types/bytes.md) | Yes|Current salt| +|new\_salt|[bytes](../types/bytes.md) | Yes|New salt| +|hint|[string](../types/string.md) | Yes|Text hint for the password| +|has\_recovery|[Bool](../types/Bool.md) | Yes|Has recovery?| +|email\_unconfirmed\_pattern|[string](../types/string.md) | Yes|A [password recovery email](https://core.telegram.org/api/srp#email-verification) with the specified [pattern](https://core.telegram.org/api/pattern) is still awaiting verification| + + + +### Type: [account.Password](../types/account.Password.md) + + +### Example: + +```php +$account.password = ['_' => 'account.password', 'current_salt' => 'bytes', 'new_salt' => 'bytes', 'hint' => 'string', 'has_recovery' => Bool, 'email_unconfirmed_pattern' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +account.password={_='account.password', current_salt='bytes', new_salt='bytes', hint='string', has_recovery=Bool, email_unconfirmed_pattern='string'} + +``` + + diff --git a/old_docs/API_docs_v65/constructors/account.passwordInputSettings.md b/old_docs/API_docs_v65/constructors/account.passwordInputSettings.md new file mode 100644 index 00000000..c440115a --- /dev/null +++ b/old_docs/API_docs_v65/constructors/account.passwordInputSettings.md @@ -0,0 +1,41 @@ +--- +title: account.passwordInputSettings +description: Settings for setting up a new password +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.passwordInputSettings +[Back to constructors index](index.md) + + + +Settings for setting up a new password + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|new\_salt|[bytes](../types/bytes.md) | Optional|`$new_salt = $MadelineProto->account->getPassword()['new_salt'].$MadelineProto->random(8);`| +|new\_password\_hash|[bytes](../types/bytes.md) | Optional|The [computed password hash](https://core.telegram.org/api/srp)| +|hint|[string](../types/string.md) | Optional|Text hint for the password| +|email|[string](../types/string.md) | Optional|Password recovery email| + + + +### Type: [account.PasswordInputSettings](../types/account.PasswordInputSettings.md) + + +### Example: + +```php +$account.passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_salt' => 'bytes', 'new_password_hash' => 'bytes', 'hint' => 'string', 'email' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +account.passwordInputSettings={_='account.passwordInputSettings', new_salt='bytes', new_password_hash='bytes', hint='string', email='string'} + +``` + + diff --git a/old_docs/API_docs_v65/constructors/account.passwordSettings.md b/old_docs/API_docs_v65/constructors/account.passwordSettings.md new file mode 100644 index 00000000..be899d34 --- /dev/null +++ b/old_docs/API_docs_v65/constructors/account.passwordSettings.md @@ -0,0 +1,38 @@ +--- +title: account.passwordSettings +description: Private info associated to the password info (recovery email, telegram [passport](https://core.telegram.org/passport) info & so on) +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.passwordSettings +[Back to constructors index](index.md) + + + +Private info associated to the password info (recovery email, telegram [passport](https://core.telegram.org/passport) info & so on) + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|email|[string](../types/string.md) | Yes|[2FA Recovery email](https://core.telegram.org/api/srp#email-verification)| + + + +### Type: [account.PasswordSettings](../types/account.PasswordSettings.md) + + +### Example: + +```php +$account.passwordSettings = ['_' => 'account.passwordSettings', 'email' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +account.passwordSettings={_='account.passwordSettings', email='string'} + +``` + + diff --git a/old_docs/API_docs_v65/constructors/account.privacyRules.md b/old_docs/API_docs_v65/constructors/account.privacyRules.md new file mode 100644 index 00000000..7ae04abb --- /dev/null +++ b/old_docs/API_docs_v65/constructors/account.privacyRules.md @@ -0,0 +1,39 @@ +--- +title: account.privacyRules +description: Privacy rules +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.privacyRules +[Back to constructors index](index.md) + + + +Privacy rules + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|rules|Array of [PrivacyRule](../types/PrivacyRule.md) | Yes|Rules| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [account.PrivacyRules](../types/account.PrivacyRules.md) + + +### Example: + +```php +$account.privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule, PrivacyRule], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +account.privacyRules={_='account.privacyRules', rules={PrivacyRule}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v65/constructors/account.tmpPassword.md b/old_docs/API_docs_v65/constructors/account.tmpPassword.md new file mode 100644 index 00000000..996548c4 --- /dev/null +++ b/old_docs/API_docs_v65/constructors/account.tmpPassword.md @@ -0,0 +1,39 @@ +--- +title: account.tmpPassword +description: Temporary payment password +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.tmpPassword +[Back to constructors index](index.md) + + + +Temporary payment password + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|tmp\_password|[bytes](../types/bytes.md) | Yes|Temporary password| +|valid\_until|[int](../types/int.md) | Yes|Validity period| + + + +### Type: [account.TmpPassword](../types/account.TmpPassword.md) + + +### Example: + +```php +$account.tmpPassword = ['_' => 'account.tmpPassword', 'tmp_password' => 'bytes', 'valid_until' => int]; +``` + + +Or, if you're into Lua: + +```lua +account.tmpPassword={_='account.tmpPassword', tmp_password='bytes', valid_until=int} + +``` + + diff --git a/old_docs/API_docs_v65/constructors/account_authorizations.md b/old_docs/API_docs_v65/constructors/account_authorizations.md deleted file mode 100644 index aeae48f3..00000000 --- a/old_docs/API_docs_v65/constructors/account_authorizations.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: account.authorizations -description: Logged-in sessions -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.authorizations -[Back to constructors index](index.md) - - - -Logged-in sessions - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|authorizations|Array of [Authorization](../types/Authorization.md) | Yes|Authorizations| - - - -### Type: [account\_Authorizations](../types/account_Authorizations.md) - - -### Example: - -```php -$account_authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization, Authorization]]; -``` - - -Or, if you're into Lua: - -```lua -account_authorizations={_='account.authorizations', authorizations={Authorization}} - -``` - - diff --git a/old_docs/API_docs_v65/constructors/account_noPassword.md b/old_docs/API_docs_v65/constructors/account_noPassword.md deleted file mode 100644 index 10ef7b2a..00000000 --- a/old_docs/API_docs_v65/constructors/account_noPassword.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: account.noPassword -description: No password -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.noPassword -[Back to constructors index](index.md) - - - -No password - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|new\_salt|[bytes](../types/bytes.md) | Yes|New salt| -|email\_unconfirmed\_pattern|[string](../types/string.md) | Yes|Email unconfirmed pattern| - - - -### Type: [account\_Password](../types/account_Password.md) - - -### Example: - -```php -$account_noPassword = ['_' => 'account.noPassword', 'new_salt' => 'bytes', 'email_unconfirmed_pattern' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -account_noPassword={_='account.noPassword', new_salt='bytes', email_unconfirmed_pattern='string'} - -``` - - diff --git a/old_docs/API_docs_v65/constructors/account_password.md b/old_docs/API_docs_v65/constructors/account_password.md deleted file mode 100644 index a9f512e8..00000000 --- a/old_docs/API_docs_v65/constructors/account_password.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: account.password -description: Configuration for two-factor authorization -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.password -[Back to constructors index](index.md) - - - -Configuration for two-factor authorization - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|current\_salt|[bytes](../types/bytes.md) | Yes|Current salt| -|new\_salt|[bytes](../types/bytes.md) | Yes|New salt| -|hint|[string](../types/string.md) | Yes|Text hint for the password| -|has\_recovery|[Bool](../types/Bool.md) | Yes|Has recovery?| -|email\_unconfirmed\_pattern|[string](../types/string.md) | Yes|A [password recovery email](https://core.telegram.org/api/srp#email-verification) with the specified [pattern](https://core.telegram.org/api/pattern) is still awaiting verification| - - - -### Type: [account\_Password](../types/account_Password.md) - - -### Example: - -```php -$account_password = ['_' => 'account.password', 'current_salt' => 'bytes', 'new_salt' => 'bytes', 'hint' => 'string', 'has_recovery' => Bool, 'email_unconfirmed_pattern' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -account_password={_='account.password', current_salt='bytes', new_salt='bytes', hint='string', has_recovery=Bool, email_unconfirmed_pattern='string'} - -``` - - diff --git a/old_docs/API_docs_v65/constructors/account_passwordInputSettings.md b/old_docs/API_docs_v65/constructors/account_passwordInputSettings.md deleted file mode 100644 index 05ec666b..00000000 --- a/old_docs/API_docs_v65/constructors/account_passwordInputSettings.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: account.passwordInputSettings -description: Settings for setting up a new password -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.passwordInputSettings -[Back to constructors index](index.md) - - - -Settings for setting up a new password - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|new\_salt|[bytes](../types/bytes.md) | Optional|`$new_salt = $MadelineProto->account->getPassword()['new_salt'].$MadelineProto->random(8);`| -|new\_password\_hash|[bytes](../types/bytes.md) | Optional|The [computed password hash](https://core.telegram.org/api/srp)| -|hint|[string](../types/string.md) | Optional|Text hint for the password| -|email|[string](../types/string.md) | Optional|Password recovery email| - - - -### Type: [account\_PasswordInputSettings](../types/account_PasswordInputSettings.md) - - -### Example: - -```php -$account_passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_salt' => 'bytes', 'new_password_hash' => 'bytes', 'hint' => 'string', 'email' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -account_passwordInputSettings={_='account.passwordInputSettings', new_salt='bytes', new_password_hash='bytes', hint='string', email='string'} - -``` - - diff --git a/old_docs/API_docs_v65/constructors/account_passwordSettings.md b/old_docs/API_docs_v65/constructors/account_passwordSettings.md deleted file mode 100644 index e22f9cc4..00000000 --- a/old_docs/API_docs_v65/constructors/account_passwordSettings.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: account.passwordSettings -description: Private info associated to the password info (recovery email, telegram [passport](https://core.telegram.org/passport) info & so on) -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.passwordSettings -[Back to constructors index](index.md) - - - -Private info associated to the password info (recovery email, telegram [passport](https://core.telegram.org/passport) info & so on) - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|email|[string](../types/string.md) | Yes|[2FA Recovery email](https://core.telegram.org/api/srp#email-verification)| - - - -### Type: [account\_PasswordSettings](../types/account_PasswordSettings.md) - - -### Example: - -```php -$account_passwordSettings = ['_' => 'account.passwordSettings', 'email' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -account_passwordSettings={_='account.passwordSettings', email='string'} - -``` - - diff --git a/old_docs/API_docs_v65/constructors/account_privacyRules.md b/old_docs/API_docs_v65/constructors/account_privacyRules.md deleted file mode 100644 index 28b260b7..00000000 --- a/old_docs/API_docs_v65/constructors/account_privacyRules.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: account.privacyRules -description: Privacy rules -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.privacyRules -[Back to constructors index](index.md) - - - -Privacy rules - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|rules|Array of [PrivacyRule](../types/PrivacyRule.md) | Yes|Rules| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [account\_PrivacyRules](../types/account_PrivacyRules.md) - - -### Example: - -```php -$account_privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule, PrivacyRule], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -account_privacyRules={_='account.privacyRules', rules={PrivacyRule}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v65/constructors/account_tmpPassword.md b/old_docs/API_docs_v65/constructors/account_tmpPassword.md deleted file mode 100644 index 68832780..00000000 --- a/old_docs/API_docs_v65/constructors/account_tmpPassword.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: account.tmpPassword -description: Temporary payment password -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.tmpPassword -[Back to constructors index](index.md) - - - -Temporary payment password - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|tmp\_password|[bytes](../types/bytes.md) | Yes|Temporary password| -|valid\_until|[int](../types/int.md) | Yes|Validity period| - - - -### Type: [account\_TmpPassword](../types/account_TmpPassword.md) - - -### Example: - -```php -$account_tmpPassword = ['_' => 'account.tmpPassword', 'tmp_password' => 'bytes', 'valid_until' => int]; -``` - - -Or, if you're into Lua: - -```lua -account_tmpPassword={_='account.tmpPassword', tmp_password='bytes', valid_until=int} - -``` - - diff --git a/old_docs/API_docs_v65/constructors/auth.authorization.md b/old_docs/API_docs_v65/constructors/auth.authorization.md new file mode 100644 index 00000000..2a84bb12 --- /dev/null +++ b/old_docs/API_docs_v65/constructors/auth.authorization.md @@ -0,0 +1,39 @@ +--- +title: auth.authorization +description: Contains user authorization info. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.authorization +[Back to constructors index](index.md) + + + +Contains user authorization info. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|tmp\_sessions|[int](../types/int.md) | Optional|Temporary [passport](https://core.telegram.org/passport) sessions| +|user|[User](../types/User.md) | Optional|Info on authorized user| + + + +### Type: [auth.Authorization](../types/auth.Authorization.md) + + +### Example: + +```php +$auth.authorization = ['_' => 'auth.authorization', 'tmp_sessions' => int, 'user' => User]; +``` + + +Or, if you're into Lua: + +```lua +auth.authorization={_='auth.authorization', tmp_sessions=int, user=User} + +``` + + diff --git a/old_docs/API_docs_v65/constructors/auth.checkedPhone.md b/old_docs/API_docs_v65/constructors/auth.checkedPhone.md new file mode 100644 index 00000000..23e84cf9 --- /dev/null +++ b/old_docs/API_docs_v65/constructors/auth.checkedPhone.md @@ -0,0 +1,38 @@ +--- +title: auth.checkedPhone +description: Checked phone +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.checkedPhone +[Back to constructors index](index.md) + + + +Checked phone + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_registered|[Bool](../types/Bool.md) | Yes|Phone registered?| + + + +### Type: [auth.CheckedPhone](../types/auth.CheckedPhone.md) + + +### Example: + +```php +$auth.checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool]; +``` + + +Or, if you're into Lua: + +```lua +auth.checkedPhone={_='auth.checkedPhone', phone_registered=Bool} + +``` + + diff --git a/old_docs/API_docs_v65/constructors/auth.codeTypeCall.md b/old_docs/API_docs_v65/constructors/auth.codeTypeCall.md new file mode 100644 index 00000000..4b4a1cdc --- /dev/null +++ b/old_docs/API_docs_v65/constructors/auth.codeTypeCall.md @@ -0,0 +1,33 @@ +--- +title: auth.codeTypeCall +description: Type of verification code that will be sent next if you call the resendCode method: SMS code +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.codeTypeCall +[Back to constructors index](index.md) + + + +Type of verification code that will be sent next if you call the resendCode method: SMS code + + + + +### Type: [auth.CodeType](../types/auth.CodeType.md) + + +### Example: + +```php +$auth.codeTypeCall = ['_' => 'auth.codeTypeCall']; +``` + + +Or, if you're into Lua: + +```lua +auth.codeTypeCall={_='auth.codeTypeCall'} + +``` + + diff --git a/old_docs/API_docs_v65/constructors/auth.codeTypeFlashCall.md b/old_docs/API_docs_v65/constructors/auth.codeTypeFlashCall.md new file mode 100644 index 00000000..ef97e034 --- /dev/null +++ b/old_docs/API_docs_v65/constructors/auth.codeTypeFlashCall.md @@ -0,0 +1,33 @@ +--- +title: auth.codeTypeFlashCall +description: Type of verification code that will be sent next if you call the resendCode method: SMS code +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.codeTypeFlashCall +[Back to constructors index](index.md) + + + +Type of verification code that will be sent next if you call the resendCode method: SMS code + + + + +### Type: [auth.CodeType](../types/auth.CodeType.md) + + +### Example: + +```php +$auth.codeTypeFlashCall = ['_' => 'auth.codeTypeFlashCall']; +``` + + +Or, if you're into Lua: + +```lua +auth.codeTypeFlashCall={_='auth.codeTypeFlashCall'} + +``` + + diff --git a/old_docs/API_docs_v65/constructors/auth.codeTypeSms.md b/old_docs/API_docs_v65/constructors/auth.codeTypeSms.md new file mode 100644 index 00000000..bab9a5a4 --- /dev/null +++ b/old_docs/API_docs_v65/constructors/auth.codeTypeSms.md @@ -0,0 +1,33 @@ +--- +title: auth.codeTypeSms +description: Type of verification code that will be sent next if you call the resendCode method: SMS code +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.codeTypeSms +[Back to constructors index](index.md) + + + +Type of verification code that will be sent next if you call the resendCode method: SMS code + + + + +### Type: [auth.CodeType](../types/auth.CodeType.md) + + +### Example: + +```php +$auth.codeTypeSms = ['_' => 'auth.codeTypeSms']; +``` + + +Or, if you're into Lua: + +```lua +auth.codeTypeSms={_='auth.codeTypeSms'} + +``` + + diff --git a/old_docs/API_docs_v65/constructors/auth.exportedAuthorization.md b/old_docs/API_docs_v65/constructors/auth.exportedAuthorization.md new file mode 100644 index 00000000..2a4a9896 --- /dev/null +++ b/old_docs/API_docs_v65/constructors/auth.exportedAuthorization.md @@ -0,0 +1,39 @@ +--- +title: auth.exportedAuthorization +description: Data for copying of authorization between data centres. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.exportedAuthorization +[Back to constructors index](index.md) + + + +Data for copying of authorization between data centres. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|id|[int](../types/int.md) | Yes|Current user identifier| +|bytes|[bytes](../types/bytes.md) | Yes|Authorizes key| + + + +### Type: [auth.ExportedAuthorization](../types/auth.ExportedAuthorization.md) + + +### Example: + +```php +$auth.exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +auth.exportedAuthorization={_='auth.exportedAuthorization', id=int, bytes='bytes'} + +``` + + diff --git a/old_docs/API_docs_v65/constructors/auth.passwordRecovery.md b/old_docs/API_docs_v65/constructors/auth.passwordRecovery.md new file mode 100644 index 00000000..61de922d --- /dev/null +++ b/old_docs/API_docs_v65/constructors/auth.passwordRecovery.md @@ -0,0 +1,38 @@ +--- +title: auth.passwordRecovery +description: Recovery info of a [2FA password](https://core.telegram.org/api/srp), only for accounts with a [recovery email configured](https://core.telegram.org/api/srp#email-verification). +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.passwordRecovery +[Back to constructors index](index.md) + + + +Recovery info of a [2FA password](https://core.telegram.org/api/srp), only for accounts with a [recovery email configured](https://core.telegram.org/api/srp#email-verification). + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|email\_pattern|[string](../types/string.md) | Yes|The email to which the recovery code was sent must match this [pattern](https://core.telegram.org/api/pattern).| + + + +### Type: [auth.PasswordRecovery](../types/auth.PasswordRecovery.md) + + +### Example: + +```php +$auth.passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +auth.passwordRecovery={_='auth.passwordRecovery', email_pattern='string'} + +``` + + diff --git a/old_docs/API_docs_v65/constructors/auth.sentCode.md b/old_docs/API_docs_v65/constructors/auth.sentCode.md new file mode 100644 index 00000000..25e94704 --- /dev/null +++ b/old_docs/API_docs_v65/constructors/auth.sentCode.md @@ -0,0 +1,42 @@ +--- +title: auth.sentCode +description: Contains info about a sent verification code. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentCode +[Back to constructors index](index.md) + + + +Contains info about a sent verification code. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_registered|[Bool](../types/Bool.md) | Optional|Phone registered?| +|type|[auth.SentCodeType](../constructors/auth.SentCodeType.md) | Yes|Phone code type| +|phone\_code\_hash|[string](../types/string.md) | Yes|Phone code hash, to be stored and later re-used with [auth.signIn](../methods/auth.signIn.md)| +|next\_type|[auth.CodeType](../constructors/auth.CodeType.md) | Optional|Phone code type that will be sent next, if the phone code is not received within `timeout` seconds: to send it use [auth.resendCode](../methods/auth.resendCode.md)| +|timeout|[int](../types/int.md) | Optional|Timeout for reception of the phone code| + + + +### Type: [auth.SentCode](../types/auth.SentCode.md) + + +### Example: + +```php +$auth.sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'type' => auth.SentCodeType, 'phone_code_hash' => 'string', 'next_type' => auth.CodeType, 'timeout' => int]; +``` + + +Or, if you're into Lua: + +```lua +auth.sentCode={_='auth.sentCode', phone_registered=Bool, type=auth.SentCodeType, phone_code_hash='string', next_type=auth.CodeType, timeout=int} + +``` + + diff --git a/old_docs/API_docs_v65/constructors/auth.sentCodeTypeApp.md b/old_docs/API_docs_v65/constructors/auth.sentCodeTypeApp.md new file mode 100644 index 00000000..5f2d4aa3 --- /dev/null +++ b/old_docs/API_docs_v65/constructors/auth.sentCodeTypeApp.md @@ -0,0 +1,38 @@ +--- +title: auth.sentCodeTypeApp +description: The code was sent through the telegram app +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentCodeTypeApp +[Back to constructors index](index.md) + + + +The code was sent through the telegram app + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|length|[int](../types/int.md) | Yes|Length of the code in bytes| + + + +### Type: [auth.SentCodeType](../types/auth.SentCodeType.md) + + +### Example: + +```php +$auth.sentCodeTypeApp = ['_' => 'auth.sentCodeTypeApp', 'length' => int]; +``` + + +Or, if you're into Lua: + +```lua +auth.sentCodeTypeApp={_='auth.sentCodeTypeApp', length=int} + +``` + + diff --git a/old_docs/API_docs_v65/constructors/auth.sentCodeTypeCall.md b/old_docs/API_docs_v65/constructors/auth.sentCodeTypeCall.md new file mode 100644 index 00000000..9843b3df --- /dev/null +++ b/old_docs/API_docs_v65/constructors/auth.sentCodeTypeCall.md @@ -0,0 +1,38 @@ +--- +title: auth.sentCodeTypeCall +description: The code will be sent via a phone call: a synthesized voice will tell the user which verification code to input. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentCodeTypeCall +[Back to constructors index](index.md) + + + +The code will be sent via a phone call: a synthesized voice will tell the user which verification code to input. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|length|[int](../types/int.md) | Yes|Length of the verification code| + + + +### Type: [auth.SentCodeType](../types/auth.SentCodeType.md) + + +### Example: + +```php +$auth.sentCodeTypeCall = ['_' => 'auth.sentCodeTypeCall', 'length' => int]; +``` + + +Or, if you're into Lua: + +```lua +auth.sentCodeTypeCall={_='auth.sentCodeTypeCall', length=int} + +``` + + diff --git a/old_docs/API_docs_v65/constructors/auth.sentCodeTypeFlashCall.md b/old_docs/API_docs_v65/constructors/auth.sentCodeTypeFlashCall.md new file mode 100644 index 00000000..0d24751d --- /dev/null +++ b/old_docs/API_docs_v65/constructors/auth.sentCodeTypeFlashCall.md @@ -0,0 +1,38 @@ +--- +title: auth.sentCodeTypeFlashCall +description: The code will be sent via a flash phone call, that will be closed immediately. The phone code will then be the phone number itself, just make sure that the phone number matches the specified pattern. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentCodeTypeFlashCall +[Back to constructors index](index.md) + + + +The code will be sent via a flash phone call, that will be closed immediately. The phone code will then be the phone number itself, just make sure that the phone number matches the specified pattern. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pattern|[string](../types/string.md) | Yes|[pattern](https://core.telegram.org/api/pattern) to match| + + + +### Type: [auth.SentCodeType](../types/auth.SentCodeType.md) + + +### Example: + +```php +$auth.sentCodeTypeFlashCall = ['_' => 'auth.sentCodeTypeFlashCall', 'pattern' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +auth.sentCodeTypeFlashCall={_='auth.sentCodeTypeFlashCall', pattern='string'} + +``` + + diff --git a/old_docs/API_docs_v65/constructors/auth.sentCodeTypeSms.md b/old_docs/API_docs_v65/constructors/auth.sentCodeTypeSms.md new file mode 100644 index 00000000..d8ecb75e --- /dev/null +++ b/old_docs/API_docs_v65/constructors/auth.sentCodeTypeSms.md @@ -0,0 +1,38 @@ +--- +title: auth.sentCodeTypeSms +description: The code was sent via SMS +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentCodeTypeSms +[Back to constructors index](index.md) + + + +The code was sent via SMS + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|length|[int](../types/int.md) | Yes|Length of the code in bytes| + + + +### Type: [auth.SentCodeType](../types/auth.SentCodeType.md) + + +### Example: + +```php +$auth.sentCodeTypeSms = ['_' => 'auth.sentCodeTypeSms', 'length' => int]; +``` + + +Or, if you're into Lua: + +```lua +auth.sentCodeTypeSms={_='auth.sentCodeTypeSms', length=int} + +``` + + diff --git a/old_docs/API_docs_v65/constructors/auth_authorization.md b/old_docs/API_docs_v65/constructors/auth_authorization.md deleted file mode 100644 index cb72811d..00000000 --- a/old_docs/API_docs_v65/constructors/auth_authorization.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: auth.authorization -description: Contains user authorization info. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.authorization -[Back to constructors index](index.md) - - - -Contains user authorization info. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|tmp\_sessions|[int](../types/int.md) | Optional|Temporary [passport](https://core.telegram.org/passport) sessions| -|user|[User](../types/User.md) | Optional|Info on authorized user| - - - -### Type: [auth\_Authorization](../types/auth_Authorization.md) - - -### Example: - -```php -$auth_authorization = ['_' => 'auth.authorization', 'tmp_sessions' => int, 'user' => User]; -``` - - -Or, if you're into Lua: - -```lua -auth_authorization={_='auth.authorization', tmp_sessions=int, user=User} - -``` - - diff --git a/old_docs/API_docs_v65/constructors/auth_checkedPhone.md b/old_docs/API_docs_v65/constructors/auth_checkedPhone.md deleted file mode 100644 index c77becf6..00000000 --- a/old_docs/API_docs_v65/constructors/auth_checkedPhone.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.checkedPhone -description: Checked phone -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.checkedPhone -[Back to constructors index](index.md) - - - -Checked phone - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_registered|[Bool](../types/Bool.md) | Yes|Phone registered?| - - - -### Type: [auth\_CheckedPhone](../types/auth_CheckedPhone.md) - - -### Example: - -```php -$auth_checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool]; -``` - - -Or, if you're into Lua: - -```lua -auth_checkedPhone={_='auth.checkedPhone', phone_registered=Bool} - -``` - - diff --git a/old_docs/API_docs_v65/constructors/auth_codeTypeCall.md b/old_docs/API_docs_v65/constructors/auth_codeTypeCall.md deleted file mode 100644 index 3e957c2a..00000000 --- a/old_docs/API_docs_v65/constructors/auth_codeTypeCall.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: auth.codeTypeCall -description: Type of verification code that will be sent next if you call the resendCode method: SMS code -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.codeTypeCall -[Back to constructors index](index.md) - - - -Type of verification code that will be sent next if you call the resendCode method: SMS code - - - - -### Type: [auth\_CodeType](../types/auth_CodeType.md) - - -### Example: - -```php -$auth_codeTypeCall = ['_' => 'auth.codeTypeCall']; -``` - - -Or, if you're into Lua: - -```lua -auth_codeTypeCall={_='auth.codeTypeCall'} - -``` - - diff --git a/old_docs/API_docs_v65/constructors/auth_codeTypeFlashCall.md b/old_docs/API_docs_v65/constructors/auth_codeTypeFlashCall.md deleted file mode 100644 index 981b2461..00000000 --- a/old_docs/API_docs_v65/constructors/auth_codeTypeFlashCall.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: auth.codeTypeFlashCall -description: Type of verification code that will be sent next if you call the resendCode method: SMS code -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.codeTypeFlashCall -[Back to constructors index](index.md) - - - -Type of verification code that will be sent next if you call the resendCode method: SMS code - - - - -### Type: [auth\_CodeType](../types/auth_CodeType.md) - - -### Example: - -```php -$auth_codeTypeFlashCall = ['_' => 'auth.codeTypeFlashCall']; -``` - - -Or, if you're into Lua: - -```lua -auth_codeTypeFlashCall={_='auth.codeTypeFlashCall'} - -``` - - diff --git a/old_docs/API_docs_v65/constructors/auth_codeTypeSms.md b/old_docs/API_docs_v65/constructors/auth_codeTypeSms.md deleted file mode 100644 index 16eb5d0d..00000000 --- a/old_docs/API_docs_v65/constructors/auth_codeTypeSms.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: auth.codeTypeSms -description: Type of verification code that will be sent next if you call the resendCode method: SMS code -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.codeTypeSms -[Back to constructors index](index.md) - - - -Type of verification code that will be sent next if you call the resendCode method: SMS code - - - - -### Type: [auth\_CodeType](../types/auth_CodeType.md) - - -### Example: - -```php -$auth_codeTypeSms = ['_' => 'auth.codeTypeSms']; -``` - - -Or, if you're into Lua: - -```lua -auth_codeTypeSms={_='auth.codeTypeSms'} - -``` - - diff --git a/old_docs/API_docs_v65/constructors/auth_exportedAuthorization.md b/old_docs/API_docs_v65/constructors/auth_exportedAuthorization.md deleted file mode 100644 index 8d18916e..00000000 --- a/old_docs/API_docs_v65/constructors/auth_exportedAuthorization.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: auth.exportedAuthorization -description: Data for copying of authorization between data centres. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.exportedAuthorization -[Back to constructors index](index.md) - - - -Data for copying of authorization between data centres. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|id|[int](../types/int.md) | Yes|Current user identifier| -|bytes|[bytes](../types/bytes.md) | Yes|Authorizes key| - - - -### Type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) - - -### Example: - -```php -$auth_exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -auth_exportedAuthorization={_='auth.exportedAuthorization', id=int, bytes='bytes'} - -``` - - diff --git a/old_docs/API_docs_v65/constructors/auth_passwordRecovery.md b/old_docs/API_docs_v65/constructors/auth_passwordRecovery.md deleted file mode 100644 index c40f375e..00000000 --- a/old_docs/API_docs_v65/constructors/auth_passwordRecovery.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.passwordRecovery -description: Recovery info of a [2FA password](https://core.telegram.org/api/srp), only for accounts with a [recovery email configured](https://core.telegram.org/api/srp#email-verification). -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.passwordRecovery -[Back to constructors index](index.md) - - - -Recovery info of a [2FA password](https://core.telegram.org/api/srp), only for accounts with a [recovery email configured](https://core.telegram.org/api/srp#email-verification). - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|email\_pattern|[string](../types/string.md) | Yes|The email to which the recovery code was sent must match this [pattern](https://core.telegram.org/api/pattern).| - - - -### Type: [auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) - - -### Example: - -```php -$auth_passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -auth_passwordRecovery={_='auth.passwordRecovery', email_pattern='string'} - -``` - - diff --git a/old_docs/API_docs_v65/constructors/auth_sentCode.md b/old_docs/API_docs_v65/constructors/auth_sentCode.md deleted file mode 100644 index 622c4137..00000000 --- a/old_docs/API_docs_v65/constructors/auth_sentCode.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: auth.sentCode -description: Contains info about a sent verification code. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentCode -[Back to constructors index](index.md) - - - -Contains info about a sent verification code. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_registered|[Bool](../types/Bool.md) | Optional|Phone registered?| -|type|[auth\_SentCodeType](../types/auth_SentCodeType.md) | Yes|Phone code type| -|phone\_code\_hash|[string](../types/string.md) | Yes|Phone code hash, to be stored and later re-used with [auth.signIn](../methods/auth.signIn.md)| -|next\_type|[auth\_CodeType](../types/auth_CodeType.md) | Optional|Phone code type that will be sent next, if the phone code is not received within `timeout` seconds: to send it use [auth.resendCode](../methods/auth.resendCode.md)| -|timeout|[int](../types/int.md) | Optional|Timeout for reception of the phone code| - - - -### Type: [auth\_SentCode](../types/auth_SentCode.md) - - -### Example: - -```php -$auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'type' => auth_SentCodeType, 'phone_code_hash' => 'string', 'next_type' => auth_CodeType, 'timeout' => int]; -``` - - -Or, if you're into Lua: - -```lua -auth_sentCode={_='auth.sentCode', phone_registered=Bool, type=auth_SentCodeType, phone_code_hash='string', next_type=auth_CodeType, timeout=int} - -``` - - diff --git a/old_docs/API_docs_v65/constructors/auth_sentCodeTypeApp.md b/old_docs/API_docs_v65/constructors/auth_sentCodeTypeApp.md deleted file mode 100644 index 6b7ad824..00000000 --- a/old_docs/API_docs_v65/constructors/auth_sentCodeTypeApp.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.sentCodeTypeApp -description: The code was sent through the telegram app -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentCodeTypeApp -[Back to constructors index](index.md) - - - -The code was sent through the telegram app - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|length|[int](../types/int.md) | Yes|Length of the code in bytes| - - - -### Type: [auth\_SentCodeType](../types/auth_SentCodeType.md) - - -### Example: - -```php -$auth_sentCodeTypeApp = ['_' => 'auth.sentCodeTypeApp', 'length' => int]; -``` - - -Or, if you're into Lua: - -```lua -auth_sentCodeTypeApp={_='auth.sentCodeTypeApp', length=int} - -``` - - diff --git a/old_docs/API_docs_v65/constructors/auth_sentCodeTypeCall.md b/old_docs/API_docs_v65/constructors/auth_sentCodeTypeCall.md deleted file mode 100644 index bf025aa5..00000000 --- a/old_docs/API_docs_v65/constructors/auth_sentCodeTypeCall.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.sentCodeTypeCall -description: The code will be sent via a phone call: a synthesized voice will tell the user which verification code to input. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentCodeTypeCall -[Back to constructors index](index.md) - - - -The code will be sent via a phone call: a synthesized voice will tell the user which verification code to input. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|length|[int](../types/int.md) | Yes|Length of the verification code| - - - -### Type: [auth\_SentCodeType](../types/auth_SentCodeType.md) - - -### Example: - -```php -$auth_sentCodeTypeCall = ['_' => 'auth.sentCodeTypeCall', 'length' => int]; -``` - - -Or, if you're into Lua: - -```lua -auth_sentCodeTypeCall={_='auth.sentCodeTypeCall', length=int} - -``` - - diff --git a/old_docs/API_docs_v65/constructors/auth_sentCodeTypeFlashCall.md b/old_docs/API_docs_v65/constructors/auth_sentCodeTypeFlashCall.md deleted file mode 100644 index efe64ce7..00000000 --- a/old_docs/API_docs_v65/constructors/auth_sentCodeTypeFlashCall.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.sentCodeTypeFlashCall -description: The code will be sent via a flash phone call, that will be closed immediately. The phone code will then be the phone number itself, just make sure that the phone number matches the specified pattern. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentCodeTypeFlashCall -[Back to constructors index](index.md) - - - -The code will be sent via a flash phone call, that will be closed immediately. The phone code will then be the phone number itself, just make sure that the phone number matches the specified pattern. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pattern|[string](../types/string.md) | Yes|[pattern](https://core.telegram.org/api/pattern) to match| - - - -### Type: [auth\_SentCodeType](../types/auth_SentCodeType.md) - - -### Example: - -```php -$auth_sentCodeTypeFlashCall = ['_' => 'auth.sentCodeTypeFlashCall', 'pattern' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -auth_sentCodeTypeFlashCall={_='auth.sentCodeTypeFlashCall', pattern='string'} - -``` - - diff --git a/old_docs/API_docs_v65/constructors/auth_sentCodeTypeSms.md b/old_docs/API_docs_v65/constructors/auth_sentCodeTypeSms.md deleted file mode 100644 index 8e27dac9..00000000 --- a/old_docs/API_docs_v65/constructors/auth_sentCodeTypeSms.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.sentCodeTypeSms -description: The code was sent via SMS -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentCodeTypeSms -[Back to constructors index](index.md) - - - -The code was sent via SMS - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|length|[int](../types/int.md) | Yes|Length of the code in bytes| - - - -### Type: [auth\_SentCodeType](../types/auth_SentCodeType.md) - - -### Example: - -```php -$auth_sentCodeTypeSms = ['_' => 'auth.sentCodeTypeSms', 'length' => int]; -``` - - -Or, if you're into Lua: - -```lua -auth_sentCodeTypeSms={_='auth.sentCodeTypeSms', length=int} - -``` - - diff --git a/old_docs/API_docs_v65/constructors/channels.channelParticipant.md b/old_docs/API_docs_v65/constructors/channels.channelParticipant.md new file mode 100644 index 00000000..0f09777f --- /dev/null +++ b/old_docs/API_docs_v65/constructors/channels.channelParticipant.md @@ -0,0 +1,39 @@ +--- +title: channels.channelParticipant +description: Represents a channel participant +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: channels.channelParticipant +[Back to constructors index](index.md) + + + +Represents a channel participant + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|participant|[ChannelParticipant](../types/ChannelParticipant.md) | Yes|The channel participant| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [channels.ChannelParticipant](../types/channels.ChannelParticipant.md) + + +### Example: + +```php +$channels.channelParticipant = ['_' => 'channels.channelParticipant', 'participant' => ChannelParticipant, 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +channels.channelParticipant={_='channels.channelParticipant', participant=ChannelParticipant, users={User}} + +``` + + diff --git a/old_docs/API_docs_v65/constructors/channels.channelParticipants.md b/old_docs/API_docs_v65/constructors/channels.channelParticipants.md new file mode 100644 index 00000000..6ee1a8b3 --- /dev/null +++ b/old_docs/API_docs_v65/constructors/channels.channelParticipants.md @@ -0,0 +1,40 @@ +--- +title: channels.channelParticipants +description: Represents multiple channel participants +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: channels.channelParticipants +[Back to constructors index](index.md) + + + +Represents multiple channel participants + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of participants that correspond to the given query| +|participants|Array of [ChannelParticipant](../types/ChannelParticipant.md) | Yes|Participants| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [channels.ChannelParticipants](../types/channels.ChannelParticipants.md) + + +### Example: + +```php +$channels.channelParticipants = ['_' => 'channels.channelParticipants', 'count' => int, 'participants' => [ChannelParticipant, ChannelParticipant], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +channels.channelParticipants={_='channels.channelParticipants', count=int, participants={ChannelParticipant}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v65/constructors/channels_channelParticipant.md b/old_docs/API_docs_v65/constructors/channels_channelParticipant.md deleted file mode 100644 index 15fe46a4..00000000 --- a/old_docs/API_docs_v65/constructors/channels_channelParticipant.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: channels.channelParticipant -description: Represents a channel participant -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: channels.channelParticipant -[Back to constructors index](index.md) - - - -Represents a channel participant - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|participant|[ChannelParticipant](../types/ChannelParticipant.md) | Yes|The channel participant| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [channels\_ChannelParticipant](../types/channels_ChannelParticipant.md) - - -### Example: - -```php -$channels_channelParticipant = ['_' => 'channels.channelParticipant', 'participant' => ChannelParticipant, 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -channels_channelParticipant={_='channels.channelParticipant', participant=ChannelParticipant, users={User}} - -``` - - diff --git a/old_docs/API_docs_v65/constructors/channels_channelParticipants.md b/old_docs/API_docs_v65/constructors/channels_channelParticipants.md deleted file mode 100644 index 1848a04f..00000000 --- a/old_docs/API_docs_v65/constructors/channels_channelParticipants.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: channels.channelParticipants -description: Represents multiple channel participants -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: channels.channelParticipants -[Back to constructors index](index.md) - - - -Represents multiple channel participants - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of participants that correspond to the given query| -|participants|Array of [ChannelParticipant](../types/ChannelParticipant.md) | Yes|Participants| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [channels\_ChannelParticipants](../types/channels_ChannelParticipants.md) - - -### Example: - -```php -$channels_channelParticipants = ['_' => 'channels.channelParticipants', 'count' => int, 'participants' => [ChannelParticipant, ChannelParticipant], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -channels_channelParticipants={_='channels.channelParticipants', count=int, participants={ChannelParticipant}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v65/constructors/contacts.blocked.md b/old_docs/API_docs_v65/constructors/contacts.blocked.md new file mode 100644 index 00000000..d2b3f680 --- /dev/null +++ b/old_docs/API_docs_v65/constructors/contacts.blocked.md @@ -0,0 +1,39 @@ +--- +title: contacts.blocked +description: Full list of blocked users. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.blocked +[Back to constructors index](index.md) + + + +Full list of blocked users. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Blocked](../types/contacts.Blocked.md) + + +### Example: + +```php +$contacts.blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.blocked={_='contacts.blocked', blocked={ContactBlocked}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v65/constructors/contacts.blockedSlice.md b/old_docs/API_docs_v65/constructors/contacts.blockedSlice.md new file mode 100644 index 00000000..92d19c72 --- /dev/null +++ b/old_docs/API_docs_v65/constructors/contacts.blockedSlice.md @@ -0,0 +1,40 @@ +--- +title: contacts.blockedSlice +description: Incomplete list of blocked users. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.blockedSlice +[Back to constructors index](index.md) + + + +Incomplete list of blocked users. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of elements in the list| +|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Blocked](../types/contacts.Blocked.md) + + +### Example: + +```php +$contacts.blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.blockedSlice={_='contacts.blockedSlice', count=int, blocked={ContactBlocked}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v65/constructors/contacts.contacts.md b/old_docs/API_docs_v65/constructors/contacts.contacts.md new file mode 100644 index 00000000..d4ccc018 --- /dev/null +++ b/old_docs/API_docs_v65/constructors/contacts.contacts.md @@ -0,0 +1,39 @@ +--- +title: contacts.contacts +description: The current user's contact list and info on users. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.contacts +[Back to constructors index](index.md) + + + +The current user's contact list and info on users. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|contacts|Array of [Contact](../types/Contact.md) | Yes|Contacts| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Contacts](../types/contacts.Contacts.md) + + +### Example: + +```php +$contacts.contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact, Contact], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.contacts={_='contacts.contacts', contacts={Contact}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v65/constructors/contacts.contactsNotModified.md b/old_docs/API_docs_v65/constructors/contacts.contactsNotModified.md new file mode 100644 index 00000000..e2149396 --- /dev/null +++ b/old_docs/API_docs_v65/constructors/contacts.contactsNotModified.md @@ -0,0 +1,33 @@ +--- +title: contacts.contactsNotModified +description: Contact list on the server is the same as the list on the client. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.contactsNotModified +[Back to constructors index](index.md) + + + +Contact list on the server is the same as the list on the client. + + + + +### Type: [contacts.Contacts](../types/contacts.Contacts.md) + + +### Example: + +```php +$contacts.contactsNotModified = ['_' => 'contacts.contactsNotModified']; +``` + + +Or, if you're into Lua: + +```lua +contacts.contactsNotModified={_='contacts.contactsNotModified'} + +``` + + diff --git a/old_docs/API_docs_v65/constructors/contacts.found.md b/old_docs/API_docs_v65/constructors/contacts.found.md new file mode 100644 index 00000000..1eaa93b7 --- /dev/null +++ b/old_docs/API_docs_v65/constructors/contacts.found.md @@ -0,0 +1,40 @@ +--- +title: contacts.found +description: Users found by name substring and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.found +[Back to constructors index](index.md) + + + +Users found by name substring and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|results|Array of [Peer](../types/Peer.md) | Yes|Results| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Found](../types/contacts.Found.md) + + +### Example: + +```php +$contacts.found = ['_' => 'contacts.found', 'results' => [Peer, Peer], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.found={_='contacts.found', results={Peer}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v65/constructors/contacts.importedContacts.md b/old_docs/API_docs_v65/constructors/contacts.importedContacts.md new file mode 100644 index 00000000..1cbff59a --- /dev/null +++ b/old_docs/API_docs_v65/constructors/contacts.importedContacts.md @@ -0,0 +1,40 @@ +--- +title: contacts.importedContacts +description: Info on succesfully imported contacts. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.importedContacts +[Back to constructors index](index.md) + + + +Info on succesfully imported contacts. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|imported|Array of [ImportedContact](../types/ImportedContact.md) | Yes|Imported| +|retry\_contacts|Array of [long](../types/long.md) | Yes|Retry importing contacts whose client IDs appear here| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.ImportedContacts](../types/contacts.ImportedContacts.md) + + +### Example: + +```php +$contacts.importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact, ImportedContact], 'retry_contacts' => [long, long], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.importedContacts={_='contacts.importedContacts', imported={ImportedContact}, retry_contacts={long}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v65/constructors/contacts.link.md b/old_docs/API_docs_v65/constructors/contacts.link.md new file mode 100644 index 00000000..ab150a0d --- /dev/null +++ b/old_docs/API_docs_v65/constructors/contacts.link.md @@ -0,0 +1,40 @@ +--- +title: contacts.link +description: Link +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.link +[Back to constructors index](index.md) + + + +Link + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|my\_link|[ContactLink](../types/ContactLink.md) | Yes|My link| +|foreign\_link|[ContactLink](../types/ContactLink.md) | Yes|Foreign link| +|user|[User](../types/User.md) | Optional|User| + + + +### Type: [contacts.Link](../types/contacts.Link.md) + + +### Example: + +```php +$contacts.link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User]; +``` + + +Or, if you're into Lua: + +```lua +contacts.link={_='contacts.link', my_link=ContactLink, foreign_link=ContactLink, user=User} + +``` + + diff --git a/old_docs/API_docs_v65/constructors/contacts.resolvedPeer.md b/old_docs/API_docs_v65/constructors/contacts.resolvedPeer.md new file mode 100644 index 00000000..35d88481 --- /dev/null +++ b/old_docs/API_docs_v65/constructors/contacts.resolvedPeer.md @@ -0,0 +1,40 @@ +--- +title: contacts.resolvedPeer +description: Resolved peer +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.resolvedPeer +[Back to constructors index](index.md) + + + +Resolved peer + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|peer|[Peer](../types/Peer.md) | Yes|The peer| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.ResolvedPeer](../types/contacts.ResolvedPeer.md) + + +### Example: + +```php +$contacts.resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.resolvedPeer={_='contacts.resolvedPeer', peer=Peer, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v65/constructors/contacts.topPeers.md b/old_docs/API_docs_v65/constructors/contacts.topPeers.md new file mode 100644 index 00000000..19d9c712 --- /dev/null +++ b/old_docs/API_docs_v65/constructors/contacts.topPeers.md @@ -0,0 +1,40 @@ +--- +title: contacts.topPeers +description: Top peers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.topPeers +[Back to constructors index](index.md) + + + +Top peers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|categories|Array of [TopPeerCategoryPeers](../types/TopPeerCategoryPeers.md) | Yes|Categories| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.TopPeers](../types/contacts.TopPeers.md) + + +### Example: + +```php +$contacts.topPeers = ['_' => 'contacts.topPeers', 'categories' => [TopPeerCategoryPeers, TopPeerCategoryPeers], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.topPeers={_='contacts.topPeers', categories={TopPeerCategoryPeers}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v65/constructors/contacts.topPeersNotModified.md b/old_docs/API_docs_v65/constructors/contacts.topPeersNotModified.md new file mode 100644 index 00000000..77c5eb4d --- /dev/null +++ b/old_docs/API_docs_v65/constructors/contacts.topPeersNotModified.md @@ -0,0 +1,33 @@ +--- +title: contacts.topPeersNotModified +description: Top peer info hasn't changed +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.topPeersNotModified +[Back to constructors index](index.md) + + + +Top peer info hasn't changed + + + + +### Type: [contacts.TopPeers](../types/contacts.TopPeers.md) + + +### Example: + +```php +$contacts.topPeersNotModified = ['_' => 'contacts.topPeersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +contacts.topPeersNotModified={_='contacts.topPeersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v65/constructors/contacts_blocked.md b/old_docs/API_docs_v65/constructors/contacts_blocked.md deleted file mode 100644 index 20e33002..00000000 --- a/old_docs/API_docs_v65/constructors/contacts_blocked.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: contacts.blocked -description: Full list of blocked users. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.blocked -[Back to constructors index](index.md) - - - -Full list of blocked users. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Blocked](../types/contacts_Blocked.md) - - -### Example: - -```php -$contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_blocked={_='contacts.blocked', blocked={ContactBlocked}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v65/constructors/contacts_blockedSlice.md b/old_docs/API_docs_v65/constructors/contacts_blockedSlice.md deleted file mode 100644 index fcab9a28..00000000 --- a/old_docs/API_docs_v65/constructors/contacts_blockedSlice.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.blockedSlice -description: Incomplete list of blocked users. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.blockedSlice -[Back to constructors index](index.md) - - - -Incomplete list of blocked users. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of elements in the list| -|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Blocked](../types/contacts_Blocked.md) - - -### Example: - -```php -$contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_blockedSlice={_='contacts.blockedSlice', count=int, blocked={ContactBlocked}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v65/constructors/contacts_contacts.md b/old_docs/API_docs_v65/constructors/contacts_contacts.md deleted file mode 100644 index f101b34b..00000000 --- a/old_docs/API_docs_v65/constructors/contacts_contacts.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: contacts.contacts -description: The current user's contact list and info on users. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.contacts -[Back to constructors index](index.md) - - - -The current user's contact list and info on users. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|contacts|Array of [Contact](../types/Contact.md) | Yes|Contacts| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Contacts](../types/contacts_Contacts.md) - - -### Example: - -```php -$contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact, Contact], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_contacts={_='contacts.contacts', contacts={Contact}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v65/constructors/contacts_contactsNotModified.md b/old_docs/API_docs_v65/constructors/contacts_contactsNotModified.md deleted file mode 100644 index 17e76ac3..00000000 --- a/old_docs/API_docs_v65/constructors/contacts_contactsNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: contacts.contactsNotModified -description: Contact list on the server is the same as the list on the client. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.contactsNotModified -[Back to constructors index](index.md) - - - -Contact list on the server is the same as the list on the client. - - - - -### Type: [contacts\_Contacts](../types/contacts_Contacts.md) - - -### Example: - -```php -$contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified']; -``` - - -Or, if you're into Lua: - -```lua -contacts_contactsNotModified={_='contacts.contactsNotModified'} - -``` - - diff --git a/old_docs/API_docs_v65/constructors/contacts_found.md b/old_docs/API_docs_v65/constructors/contacts_found.md deleted file mode 100644 index 0674aabf..00000000 --- a/old_docs/API_docs_v65/constructors/contacts_found.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.found -description: Users found by name substring and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.found -[Back to constructors index](index.md) - - - -Users found by name substring and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|results|Array of [Peer](../types/Peer.md) | Yes|Results| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Found](../types/contacts_Found.md) - - -### Example: - -```php -$contacts_found = ['_' => 'contacts.found', 'results' => [Peer, Peer], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_found={_='contacts.found', results={Peer}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v65/constructors/contacts_importedContacts.md b/old_docs/API_docs_v65/constructors/contacts_importedContacts.md deleted file mode 100644 index 121d96d1..00000000 --- a/old_docs/API_docs_v65/constructors/contacts_importedContacts.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.importedContacts -description: Info on succesfully imported contacts. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.importedContacts -[Back to constructors index](index.md) - - - -Info on succesfully imported contacts. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|imported|Array of [ImportedContact](../types/ImportedContact.md) | Yes|Imported| -|retry\_contacts|Array of [long](../types/long.md) | Yes|Retry importing contacts whose client IDs appear here| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) - - -### Example: - -```php -$contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact, ImportedContact], 'retry_contacts' => [long, long], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_importedContacts={_='contacts.importedContacts', imported={ImportedContact}, retry_contacts={long}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v65/constructors/contacts_link.md b/old_docs/API_docs_v65/constructors/contacts_link.md deleted file mode 100644 index cfc566c7..00000000 --- a/old_docs/API_docs_v65/constructors/contacts_link.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.link -description: Link -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.link -[Back to constructors index](index.md) - - - -Link - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|my\_link|[ContactLink](../types/ContactLink.md) | Yes|My link| -|foreign\_link|[ContactLink](../types/ContactLink.md) | Yes|Foreign link| -|user|[User](../types/User.md) | Optional|User| - - - -### Type: [contacts\_Link](../types/contacts_Link.md) - - -### Example: - -```php -$contacts_link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User]; -``` - - -Or, if you're into Lua: - -```lua -contacts_link={_='contacts.link', my_link=ContactLink, foreign_link=ContactLink, user=User} - -``` - - diff --git a/old_docs/API_docs_v65/constructors/contacts_resolvedPeer.md b/old_docs/API_docs_v65/constructors/contacts_resolvedPeer.md deleted file mode 100644 index aae3c7af..00000000 --- a/old_docs/API_docs_v65/constructors/contacts_resolvedPeer.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.resolvedPeer -description: Resolved peer -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.resolvedPeer -[Back to constructors index](index.md) - - - -Resolved peer - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|peer|[Peer](../types/Peer.md) | Yes|The peer| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_ResolvedPeer](../types/contacts_ResolvedPeer.md) - - -### Example: - -```php -$contacts_resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_resolvedPeer={_='contacts.resolvedPeer', peer=Peer, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v65/constructors/contacts_topPeers.md b/old_docs/API_docs_v65/constructors/contacts_topPeers.md deleted file mode 100644 index 77bc07d3..00000000 --- a/old_docs/API_docs_v65/constructors/contacts_topPeers.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.topPeers -description: Top peers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.topPeers -[Back to constructors index](index.md) - - - -Top peers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|categories|Array of [TopPeerCategoryPeers](../types/TopPeerCategoryPeers.md) | Yes|Categories| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_TopPeers](../types/contacts_TopPeers.md) - - -### Example: - -```php -$contacts_topPeers = ['_' => 'contacts.topPeers', 'categories' => [TopPeerCategoryPeers, TopPeerCategoryPeers], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_topPeers={_='contacts.topPeers', categories={TopPeerCategoryPeers}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v65/constructors/contacts_topPeersNotModified.md b/old_docs/API_docs_v65/constructors/contacts_topPeersNotModified.md deleted file mode 100644 index 43eae59d..00000000 --- a/old_docs/API_docs_v65/constructors/contacts_topPeersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: contacts.topPeersNotModified -description: Top peer info hasn't changed -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.topPeersNotModified -[Back to constructors index](index.md) - - - -Top peer info hasn't changed - - - - -### Type: [contacts\_TopPeers](../types/contacts_TopPeers.md) - - -### Example: - -```php -$contacts_topPeersNotModified = ['_' => 'contacts.topPeersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -contacts_topPeersNotModified={_='contacts.topPeersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v65/constructors/help.appUpdate.md b/old_docs/API_docs_v65/constructors/help.appUpdate.md new file mode 100644 index 00000000..14b2d75b --- /dev/null +++ b/old_docs/API_docs_v65/constructors/help.appUpdate.md @@ -0,0 +1,41 @@ +--- +title: help.appUpdate +description: An update is available for the application. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.appUpdate +[Back to constructors index](index.md) + + + +An update is available for the application. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|id|[int](../types/int.md) | Yes|Update ID| +|critical|[Bool](../types/Bool.md) | Yes|Critical?| +|url|[string](../types/string.md) | Yes|Application download URL| +|text|[string](../types/string.md) | Yes|Text description of the update| + + + +### Type: [help.AppUpdate](../types/help.AppUpdate.md) + + +### Example: + +```php +$help.appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'url' => 'string', 'text' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +help.appUpdate={_='help.appUpdate', id=int, critical=Bool, url='string', text='string'} + +``` + + diff --git a/old_docs/API_docs_v65/constructors/help.inviteText.md b/old_docs/API_docs_v65/constructors/help.inviteText.md new file mode 100644 index 00000000..6a6261c1 --- /dev/null +++ b/old_docs/API_docs_v65/constructors/help.inviteText.md @@ -0,0 +1,38 @@ +--- +title: help.inviteText +description: Text of a text message with an invitation to install application. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.inviteText +[Back to constructors index](index.md) + + + +Text of a text message with an invitation to install application. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|message|[string](../types/string.md) | Yes|Text of a message| + + + +### Type: [help.InviteText](../types/help.InviteText.md) + + +### Example: + +```php +$help.inviteText = ['_' => 'help.inviteText', 'message' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +help.inviteText={_='help.inviteText', message='string'} + +``` + + diff --git a/old_docs/API_docs_v65/constructors/help.noAppUpdate.md b/old_docs/API_docs_v65/constructors/help.noAppUpdate.md new file mode 100644 index 00000000..1b69ac9a --- /dev/null +++ b/old_docs/API_docs_v65/constructors/help.noAppUpdate.md @@ -0,0 +1,33 @@ +--- +title: help.noAppUpdate +description: No updates are available for the application. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.noAppUpdate +[Back to constructors index](index.md) + + + +No updates are available for the application. + + + + +### Type: [help.AppUpdate](../types/help.AppUpdate.md) + + +### Example: + +```php +$help.noAppUpdate = ['_' => 'help.noAppUpdate']; +``` + + +Or, if you're into Lua: + +```lua +help.noAppUpdate={_='help.noAppUpdate'} + +``` + + diff --git a/old_docs/API_docs_v65/constructors/help.support.md b/old_docs/API_docs_v65/constructors/help.support.md new file mode 100644 index 00000000..4d4f85fb --- /dev/null +++ b/old_docs/API_docs_v65/constructors/help.support.md @@ -0,0 +1,39 @@ +--- +title: help.support +description: Info on support user. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.support +[Back to constructors index](index.md) + + + +Info on support user. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_number|[string](../types/string.md) | Yes|Phone number| +|user|[User](../types/User.md) | Optional|User| + + + +### Type: [help.Support](../types/help.Support.md) + + +### Example: + +```php +$help.support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => User]; +``` + + +Or, if you're into Lua: + +```lua +help.support={_='help.support', phone_number='string', user=User} + +``` + + diff --git a/old_docs/API_docs_v65/constructors/help.termsOfService.md b/old_docs/API_docs_v65/constructors/help.termsOfService.md new file mode 100644 index 00000000..cab1f128 --- /dev/null +++ b/old_docs/API_docs_v65/constructors/help.termsOfService.md @@ -0,0 +1,38 @@ +--- +title: help.termsOfService +description: Info about the latest telegram Terms Of Service +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.termsOfService +[Back to constructors index](index.md) + + + +Info about the latest telegram Terms Of Service + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|text|[string](../types/string.md) | Yes|Text of the new terms| + + + +### Type: [help.TermsOfService](../types/help.TermsOfService.md) + + +### Example: + +```php +$help.termsOfService = ['_' => 'help.termsOfService', 'text' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +help.termsOfService={_='help.termsOfService', text='string'} + +``` + + diff --git a/old_docs/API_docs_v65/constructors/help_appUpdate.md b/old_docs/API_docs_v65/constructors/help_appUpdate.md deleted file mode 100644 index efba9bdb..00000000 --- a/old_docs/API_docs_v65/constructors/help_appUpdate.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: help.appUpdate -description: An update is available for the application. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.appUpdate -[Back to constructors index](index.md) - - - -An update is available for the application. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|id|[int](../types/int.md) | Yes|Update ID| -|critical|[Bool](../types/Bool.md) | Yes|Critical?| -|url|[string](../types/string.md) | Yes|Application download URL| -|text|[string](../types/string.md) | Yes|Text description of the update| - - - -### Type: [help\_AppUpdate](../types/help_AppUpdate.md) - - -### Example: - -```php -$help_appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'url' => 'string', 'text' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -help_appUpdate={_='help.appUpdate', id=int, critical=Bool, url='string', text='string'} - -``` - - diff --git a/old_docs/API_docs_v65/constructors/help_inviteText.md b/old_docs/API_docs_v65/constructors/help_inviteText.md deleted file mode 100644 index b8317ce3..00000000 --- a/old_docs/API_docs_v65/constructors/help_inviteText.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: help.inviteText -description: Text of a text message with an invitation to install application. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.inviteText -[Back to constructors index](index.md) - - - -Text of a text message with an invitation to install application. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|message|[string](../types/string.md) | Yes|Text of a message| - - - -### Type: [help\_InviteText](../types/help_InviteText.md) - - -### Example: - -```php -$help_inviteText = ['_' => 'help.inviteText', 'message' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -help_inviteText={_='help.inviteText', message='string'} - -``` - - diff --git a/old_docs/API_docs_v65/constructors/help_noAppUpdate.md b/old_docs/API_docs_v65/constructors/help_noAppUpdate.md deleted file mode 100644 index 51505e52..00000000 --- a/old_docs/API_docs_v65/constructors/help_noAppUpdate.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: help.noAppUpdate -description: No updates are available for the application. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.noAppUpdate -[Back to constructors index](index.md) - - - -No updates are available for the application. - - - - -### Type: [help\_AppUpdate](../types/help_AppUpdate.md) - - -### Example: - -```php -$help_noAppUpdate = ['_' => 'help.noAppUpdate']; -``` - - -Or, if you're into Lua: - -```lua -help_noAppUpdate={_='help.noAppUpdate'} - -``` - - diff --git a/old_docs/API_docs_v65/constructors/help_support.md b/old_docs/API_docs_v65/constructors/help_support.md deleted file mode 100644 index 148f7f42..00000000 --- a/old_docs/API_docs_v65/constructors/help_support.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: help.support -description: Info on support user. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.support -[Back to constructors index](index.md) - - - -Info on support user. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_number|[string](../types/string.md) | Yes|Phone number| -|user|[User](../types/User.md) | Optional|User| - - - -### Type: [help\_Support](../types/help_Support.md) - - -### Example: - -```php -$help_support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => User]; -``` - - -Or, if you're into Lua: - -```lua -help_support={_='help.support', phone_number='string', user=User} - -``` - - diff --git a/old_docs/API_docs_v65/constructors/help_termsOfService.md b/old_docs/API_docs_v65/constructors/help_termsOfService.md deleted file mode 100644 index 2ac763b3..00000000 --- a/old_docs/API_docs_v65/constructors/help_termsOfService.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: help.termsOfService -description: Info about the latest telegram Terms Of Service -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.termsOfService -[Back to constructors index](index.md) - - - -Info about the latest telegram Terms Of Service - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|text|[string](../types/string.md) | Yes|Text of the new terms| - - - -### Type: [help\_TermsOfService](../types/help_TermsOfService.md) - - -### Example: - -```php -$help_termsOfService = ['_' => 'help.termsOfService', 'text' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -help_termsOfService={_='help.termsOfService', text='string'} - -``` - - diff --git a/old_docs/API_docs_v65/constructors/messages.affectedHistory.md b/old_docs/API_docs_v65/constructors/messages.affectedHistory.md new file mode 100644 index 00000000..5fc8acec --- /dev/null +++ b/old_docs/API_docs_v65/constructors/messages.affectedHistory.md @@ -0,0 +1,40 @@ +--- +title: messages.affectedHistory +description: Affected part of communication history with the user or in a chat. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.affectedHistory +[Back to constructors index](index.md) + + + +Affected part of communication history with the user or in a chat. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| +|pts\_count|[int](../types/int.md) | Yes|Number of affected events| +|offset|[int](../types/int.md) | Yes|If a parameter contains positive value, it is necessary to repeat the method call using the given value; during the proceeding of all the history the value itself shall gradually decrease| + + + +### Type: [messages.AffectedHistory](../types/messages.AffectedHistory.md) + + +### Example: + +```php +$messages.affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.affectedHistory={_='messages.affectedHistory', pts=int, pts_count=int, offset=int} + +``` + + diff --git a/old_docs/API_docs_v65/constructors/messages.affectedMessages.md b/old_docs/API_docs_v65/constructors/messages.affectedMessages.md new file mode 100644 index 00000000..a0e60bdf --- /dev/null +++ b/old_docs/API_docs_v65/constructors/messages.affectedMessages.md @@ -0,0 +1,39 @@ +--- +title: messages.affectedMessages +description: Events affected by operation +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.affectedMessages +[Back to constructors index](index.md) + + + +Events affected by operation + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|[Event count after generation](https://core.telegram.org/api/updates)| +|pts\_count|[int](../types/int.md) | Yes|[Number of events that were generated](https://core.telegram.org/api/updates)| + + + +### Type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) + + +### Example: + +```php +$messages.affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.affectedMessages={_='messages.affectedMessages', pts=int, pts_count=int} + +``` + + diff --git a/old_docs/API_docs_v65/constructors/messages.allStickers.md b/old_docs/API_docs_v65/constructors/messages.allStickers.md new file mode 100644 index 00000000..5f13bfde --- /dev/null +++ b/old_docs/API_docs_v65/constructors/messages.allStickers.md @@ -0,0 +1,39 @@ +--- +title: messages.allStickers +description: Info about all installed stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.allStickers +[Back to constructors index](index.md) + + + +Info about all installed stickers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|sets|Array of [StickerSet](../types/StickerSet.md) | Yes|Sets| + + + +### Type: [messages.AllStickers](../types/messages.AllStickers.md) + + +### Example: + +```php +$messages.allStickers = ['_' => 'messages.allStickers', 'hash' => int, 'sets' => [StickerSet, StickerSet]]; +``` + + +Or, if you're into Lua: + +```lua +messages.allStickers={_='messages.allStickers', hash=int, sets={StickerSet}} + +``` + + diff --git a/old_docs/API_docs_v65/constructors/messages.allStickersNotModified.md b/old_docs/API_docs_v65/constructors/messages.allStickersNotModified.md new file mode 100644 index 00000000..d3db088b --- /dev/null +++ b/old_docs/API_docs_v65/constructors/messages.allStickersNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.allStickersNotModified +description: Info about all installed stickers hasn't changed +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.allStickersNotModified +[Back to constructors index](index.md) + + + +Info about all installed stickers hasn't changed + + + + +### Type: [messages.AllStickers](../types/messages.AllStickers.md) + + +### Example: + +```php +$messages.allStickersNotModified = ['_' => 'messages.allStickersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.allStickersNotModified={_='messages.allStickersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v65/constructors/messages.archivedStickers.md b/old_docs/API_docs_v65/constructors/messages.archivedStickers.md new file mode 100644 index 00000000..6ad9927c --- /dev/null +++ b/old_docs/API_docs_v65/constructors/messages.archivedStickers.md @@ -0,0 +1,39 @@ +--- +title: messages.archivedStickers +description: Archived stickersets +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.archivedStickers +[Back to constructors index](index.md) + + + +Archived stickersets + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Number of archived stickers| +|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| + + + +### Type: [messages.ArchivedStickers](../types/messages.ArchivedStickers.md) + + +### Example: + +```php +$messages.archivedStickers = ['_' => 'messages.archivedStickers', 'count' => int, 'sets' => [StickerSetCovered, StickerSetCovered]]; +``` + + +Or, if you're into Lua: + +```lua +messages.archivedStickers={_='messages.archivedStickers', count=int, sets={StickerSetCovered}} + +``` + + diff --git a/old_docs/API_docs_v65/constructors/messages.botCallbackAnswer.md b/old_docs/API_docs_v65/constructors/messages.botCallbackAnswer.md new file mode 100644 index 00000000..d4d00420 --- /dev/null +++ b/old_docs/API_docs_v65/constructors/messages.botCallbackAnswer.md @@ -0,0 +1,42 @@ +--- +title: messages.botCallbackAnswer +description: Callback answer sent by the bot in response to a button press +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.botCallbackAnswer +[Back to constructors index](index.md) + + + +Callback answer sent by the bot in response to a button press + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|alert|[Bool](../types/Bool.md) | Optional|Whether an alert should be shown to the user instead of a toast notification| +|has\_url|[Bool](../types/Bool.md) | Optional|Whether an URL is present| +|message|[string](../types/string.md) | Optional|Alert to show| +|url|[string](../types/string.md) | Optional|URL to open| +|cache\_time|[int](../types/int.md) | Yes|For how long should this answer be cached| + + + +### Type: [messages.BotCallbackAnswer](../types/messages.BotCallbackAnswer.md) + + +### Example: + +```php +$messages.botCallbackAnswer = ['_' => 'messages.botCallbackAnswer', 'alert' => Bool, 'has_url' => Bool, 'message' => 'string', 'url' => 'string', 'cache_time' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.botCallbackAnswer={_='messages.botCallbackAnswer', alert=Bool, has_url=Bool, message='string', url='string', cache_time=int} + +``` + + diff --git a/old_docs/API_docs_v65/constructors/messages.botResults.md b/old_docs/API_docs_v65/constructors/messages.botResults.md new file mode 100644 index 00000000..785c7260 --- /dev/null +++ b/old_docs/API_docs_v65/constructors/messages.botResults.md @@ -0,0 +1,43 @@ +--- +title: messages.botResults +description: Result of a query to an inline bot +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.botResults +[Back to constructors index](index.md) + + + +Result of a query to an inline bot + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|gallery|[Bool](../types/Bool.md) | Optional|Whether the result is a picture gallery| +|query\_id|[long](../types/long.md) | Yes|Query ID| +|next\_offset|[string](../types/string.md) | Optional|The next offset to use when navigating through results| +|switch\_pm|[InlineBotSwitchPM](../types/InlineBotSwitchPM.md) | Optional|Whether the bot requested the user to message him in private| +|results|Array of [BotInlineResult](../types/BotInlineResult.md) | Yes|Results| +|cache\_time|[int](../types/int.md) | Yes|Caching validity of the results| + + + +### Type: [messages.BotResults](../types/messages.BotResults.md) + + +### Example: + +```php +$messages.botResults = ['_' => 'messages.botResults', 'gallery' => Bool, 'query_id' => long, 'next_offset' => 'string', 'switch_pm' => InlineBotSwitchPM, 'results' => [BotInlineResult, BotInlineResult], 'cache_time' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.botResults={_='messages.botResults', gallery=Bool, query_id=long, next_offset='string', switch_pm=InlineBotSwitchPM, results={BotInlineResult}, cache_time=int} + +``` + + diff --git a/old_docs/API_docs_v65/constructors/messages.channelMessages.md b/old_docs/API_docs_v65/constructors/messages.channelMessages.md new file mode 100644 index 00000000..95633336 --- /dev/null +++ b/old_docs/API_docs_v65/constructors/messages.channelMessages.md @@ -0,0 +1,42 @@ +--- +title: messages.channelMessages +description: Channel messages +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.channelMessages +[Back to constructors index](index.md) + + + +Channel messages + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|[Event count after generation](https://core.telegram.org/api/updates)| +|count|[int](../types/int.md) | Yes|Total number of results were found server-side (may not be all included here)| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Messages](../types/messages.Messages.md) + + +### Example: + +```php +$messages.channelMessages = ['_' => 'messages.channelMessages', 'pts' => int, 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.channelMessages={_='messages.channelMessages', pts=int, count=int, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v65/constructors/messages.chatFull.md b/old_docs/API_docs_v65/constructors/messages.chatFull.md new file mode 100644 index 00000000..3906cc54 --- /dev/null +++ b/old_docs/API_docs_v65/constructors/messages.chatFull.md @@ -0,0 +1,40 @@ +--- +title: messages.chatFull +description: Extended info on chat and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.chatFull +[Back to constructors index](index.md) + + + +Extended info on chat and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|full\_chat|[ChatFull](../types/ChatFull.md) | Yes|Extended info on a chat| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.ChatFull](../types/messages.ChatFull.md) + + +### Example: + +```php +$messages.chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.chatFull={_='messages.chatFull', full_chat=ChatFull, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v65/constructors/messages.chats.md b/old_docs/API_docs_v65/constructors/messages.chats.md new file mode 100644 index 00000000..9ede9ff2 --- /dev/null +++ b/old_docs/API_docs_v65/constructors/messages.chats.md @@ -0,0 +1,38 @@ +--- +title: messages.chats +description: List of chats with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.chats +[Back to constructors index](index.md) + + + +List of chats with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| + + + +### Type: [messages.Chats](../types/messages.Chats.md) + + +### Example: + +```php +$messages.chats = ['_' => 'messages.chats', 'chats' => [Chat, Chat]]; +``` + + +Or, if you're into Lua: + +```lua +messages.chats={_='messages.chats', chats={Chat}} + +``` + + diff --git a/old_docs/API_docs_v65/constructors/messages.chatsSlice.md b/old_docs/API_docs_v65/constructors/messages.chatsSlice.md new file mode 100644 index 00000000..efd153e0 --- /dev/null +++ b/old_docs/API_docs_v65/constructors/messages.chatsSlice.md @@ -0,0 +1,39 @@ +--- +title: messages.chatsSlice +description: Partial list of chats, more would have to be fetched with [pagination](https://core.telegram.org/api/offsets) +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.chatsSlice +[Back to constructors index](index.md) + + + +Partial list of chats, more would have to be fetched with [pagination](https://core.telegram.org/api/offsets) + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of results that were found server-side (not all are included in `chats`)| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| + + + +### Type: [messages.Chats](../types/messages.Chats.md) + + +### Example: + +```php +$messages.chatsSlice = ['_' => 'messages.chatsSlice', 'count' => int, 'chats' => [Chat, Chat]]; +``` + + +Or, if you're into Lua: + +```lua +messages.chatsSlice={_='messages.chatsSlice', count=int, chats={Chat}} + +``` + + diff --git a/old_docs/API_docs_v65/constructors/messages.dhConfig.md b/old_docs/API_docs_v65/constructors/messages.dhConfig.md new file mode 100644 index 00000000..58344f64 --- /dev/null +++ b/old_docs/API_docs_v65/constructors/messages.dhConfig.md @@ -0,0 +1,41 @@ +--- +title: messages.dhConfig +description: New set of configuring parameters. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dhConfig +[Back to constructors index](index.md) + + + +New set of configuring parameters. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|g|[int](../types/int.md) | Yes|New value **prime**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| +|p|[bytes](../types/bytes.md) | Yes|New value **primitive root**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| +|version|[int](../types/int.md) | Yes|Vestion of set of parameters| +|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| + + + +### Type: [messages.DhConfig](../types/messages.DhConfig.md) + + +### Example: + +```php +$messages.dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'version' => int, 'random' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +messages.dhConfig={_='messages.dhConfig', g=int, p='bytes', version=int, random='bytes'} + +``` + + diff --git a/old_docs/API_docs_v65/constructors/messages.dhConfigNotModified.md b/old_docs/API_docs_v65/constructors/messages.dhConfigNotModified.md new file mode 100644 index 00000000..a9a95389 --- /dev/null +++ b/old_docs/API_docs_v65/constructors/messages.dhConfigNotModified.md @@ -0,0 +1,38 @@ +--- +title: messages.dhConfigNotModified +description: Configuring parameters did not change. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dhConfigNotModified +[Back to constructors index](index.md) + + + +Configuring parameters did not change. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| + + + +### Type: [messages.DhConfig](../types/messages.DhConfig.md) + + +### Example: + +```php +$messages.dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +messages.dhConfigNotModified={_='messages.dhConfigNotModified', random='bytes'} + +``` + + diff --git a/old_docs/API_docs_v65/constructors/messages.dialogs.md b/old_docs/API_docs_v65/constructors/messages.dialogs.md new file mode 100644 index 00000000..a72eabce --- /dev/null +++ b/old_docs/API_docs_v65/constructors/messages.dialogs.md @@ -0,0 +1,41 @@ +--- +title: messages.dialogs +description: Full list of chats with messages and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dialogs +[Back to constructors index](index.md) + + + +Full list of chats with messages and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Dialogs](../types/messages.Dialogs.md) + + +### Example: + +```php +$messages.dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.dialogs={_='messages.dialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v65/constructors/messages.dialogsSlice.md b/old_docs/API_docs_v65/constructors/messages.dialogsSlice.md new file mode 100644 index 00000000..26227d2c --- /dev/null +++ b/old_docs/API_docs_v65/constructors/messages.dialogsSlice.md @@ -0,0 +1,42 @@ +--- +title: messages.dialogsSlice +description: Incomplete list of dialogs with messages and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dialogsSlice +[Back to constructors index](index.md) + + + +Incomplete list of dialogs with messages and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of dialogs| +|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Dialogs](../types/messages.Dialogs.md) + + +### Example: + +```php +$messages.dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.dialogsSlice={_='messages.dialogsSlice', count=int, dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v65/constructors/messages.featuredStickers.md b/old_docs/API_docs_v65/constructors/messages.featuredStickers.md new file mode 100644 index 00000000..344376ea --- /dev/null +++ b/old_docs/API_docs_v65/constructors/messages.featuredStickers.md @@ -0,0 +1,40 @@ +--- +title: messages.featuredStickers +description: Featured stickersets +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.featuredStickers +[Back to constructors index](index.md) + + + +Featured stickersets + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| +|unread|Array of [long](../types/long.md) | Yes|Unread| + + + +### Type: [messages.FeaturedStickers](../types/messages.FeaturedStickers.md) + + +### Example: + +```php +$messages.featuredStickers = ['_' => 'messages.featuredStickers', 'hash' => int, 'sets' => [StickerSetCovered, StickerSetCovered], 'unread' => [long, long]]; +``` + + +Or, if you're into Lua: + +```lua +messages.featuredStickers={_='messages.featuredStickers', hash=int, sets={StickerSetCovered}, unread={long}} + +``` + + diff --git a/old_docs/API_docs_v65/constructors/messages.featuredStickersNotModified.md b/old_docs/API_docs_v65/constructors/messages.featuredStickersNotModified.md new file mode 100644 index 00000000..0fe9b4d5 --- /dev/null +++ b/old_docs/API_docs_v65/constructors/messages.featuredStickersNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.featuredStickersNotModified +description: Featured stickers haven't changed +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.featuredStickersNotModified +[Back to constructors index](index.md) + + + +Featured stickers haven't changed + + + + +### Type: [messages.FeaturedStickers](../types/messages.FeaturedStickers.md) + + +### Example: + +```php +$messages.featuredStickersNotModified = ['_' => 'messages.featuredStickersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.featuredStickersNotModified={_='messages.featuredStickersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v65/constructors/messages.foundGifs.md b/old_docs/API_docs_v65/constructors/messages.foundGifs.md new file mode 100644 index 00000000..c75e36f9 --- /dev/null +++ b/old_docs/API_docs_v65/constructors/messages.foundGifs.md @@ -0,0 +1,39 @@ +--- +title: messages.foundGifs +description: Found GIFs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.foundGifs +[Back to constructors index](index.md) + + + +Found GIFs + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|next\_offset|[int](../types/int.md) | Yes|Next offset to use when trying to [load more results](../methods/messages.searchGifs.md)| +|results|Array of [FoundGif](../types/FoundGif.md) | Yes|Results| + + + +### Type: [messages.FoundGifs](../types/messages.FoundGifs.md) + + +### Example: + +```php +$messages.foundGifs = ['_' => 'messages.foundGifs', 'next_offset' => int, 'results' => [FoundGif, FoundGif]]; +``` + + +Or, if you're into Lua: + +```lua +messages.foundGifs={_='messages.foundGifs', next_offset=int, results={FoundGif}} + +``` + + diff --git a/old_docs/API_docs_v65/constructors/messages.highScores.md b/old_docs/API_docs_v65/constructors/messages.highScores.md new file mode 100644 index 00000000..d7d25826 --- /dev/null +++ b/old_docs/API_docs_v65/constructors/messages.highScores.md @@ -0,0 +1,39 @@ +--- +title: messages.highScores +description: Highscores in a game +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.highScores +[Back to constructors index](index.md) + + + +Highscores in a game + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|scores|Array of [HighScore](../types/HighScore.md) | Yes|Scores| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.HighScores](../types/messages.HighScores.md) + + +### Example: + +```php +$messages.highScores = ['_' => 'messages.highScores', 'scores' => [HighScore, HighScore], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.highScores={_='messages.highScores', scores={HighScore}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v65/constructors/messages.messageEditData.md b/old_docs/API_docs_v65/constructors/messages.messageEditData.md new file mode 100644 index 00000000..578b53d9 --- /dev/null +++ b/old_docs/API_docs_v65/constructors/messages.messageEditData.md @@ -0,0 +1,38 @@ +--- +title: messages.messageEditData +description: Message edit data for media +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.messageEditData +[Back to constructors index](index.md) + + + +Message edit data for media + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|caption|[Bool](../types/Bool.md) | Optional|Media caption, if the specified media's caption can be edited| + + + +### Type: [messages.MessageEditData](../types/messages.MessageEditData.md) + + +### Example: + +```php +$messages.messageEditData = ['_' => 'messages.messageEditData', 'caption' => Bool]; +``` + + +Or, if you're into Lua: + +```lua +messages.messageEditData={_='messages.messageEditData', caption=Bool} + +``` + + diff --git a/old_docs/API_docs_v65/constructors/messages.messages.md b/old_docs/API_docs_v65/constructors/messages.messages.md new file mode 100644 index 00000000..3af71dca --- /dev/null +++ b/old_docs/API_docs_v65/constructors/messages.messages.md @@ -0,0 +1,40 @@ +--- +title: messages.messages +description: Full list of messages with auxilary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.messages +[Back to constructors index](index.md) + + + +Full list of messages with auxilary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Messages](../types/messages.Messages.md) + + +### Example: + +```php +$messages.messages = ['_' => 'messages.messages', 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.messages={_='messages.messages', messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v65/constructors/messages.messagesSlice.md b/old_docs/API_docs_v65/constructors/messages.messagesSlice.md new file mode 100644 index 00000000..2fe91df0 --- /dev/null +++ b/old_docs/API_docs_v65/constructors/messages.messagesSlice.md @@ -0,0 +1,41 @@ +--- +title: messages.messagesSlice +description: Incomplete list of messages and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.messagesSlice +[Back to constructors index](index.md) + + + +Incomplete list of messages and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of messages in the list| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Messages](../types/messages.Messages.md) + + +### Example: + +```php +$messages.messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.messagesSlice={_='messages.messagesSlice', count=int, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v65/constructors/messages.peerDialogs.md b/old_docs/API_docs_v65/constructors/messages.peerDialogs.md new file mode 100644 index 00000000..39cb71f8 --- /dev/null +++ b/old_docs/API_docs_v65/constructors/messages.peerDialogs.md @@ -0,0 +1,42 @@ +--- +title: messages.peerDialogs +description: Dialog info of multiple peers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.peerDialogs +[Back to constructors index](index.md) + + + +Dialog info of multiple peers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| +|state|[updates.State](../constructors/updates.State.md) | Yes|Current [update state of dialog](https://core.telegram.org/api/updates)| + + + +### Type: [messages.PeerDialogs](../types/messages.PeerDialogs.md) + + +### Example: + +```php +$messages.peerDialogs = ['_' => 'messages.peerDialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates.State]; +``` + + +Or, if you're into Lua: + +```lua +messages.peerDialogs={_='messages.peerDialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}, state=updates.State} + +``` + + diff --git a/old_docs/API_docs_v65/constructors/messages.recentStickers.md b/old_docs/API_docs_v65/constructors/messages.recentStickers.md new file mode 100644 index 00000000..c5c3b389 --- /dev/null +++ b/old_docs/API_docs_v65/constructors/messages.recentStickers.md @@ -0,0 +1,39 @@ +--- +title: messages.recentStickers +description: Recently used stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.recentStickers +[Back to constructors index](index.md) + + + +Recently used stickers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| + + + +### Type: [messages.RecentStickers](../types/messages.RecentStickers.md) + + +### Example: + +```php +$messages.recentStickers = ['_' => 'messages.recentStickers', 'hash' => int, 'stickers' => [Document, Document]]; +``` + + +Or, if you're into Lua: + +```lua +messages.recentStickers={_='messages.recentStickers', hash=int, stickers={Document}} + +``` + + diff --git a/old_docs/API_docs_v65/constructors/messages.recentStickersNotModified.md b/old_docs/API_docs_v65/constructors/messages.recentStickersNotModified.md new file mode 100644 index 00000000..1c3bbf5c --- /dev/null +++ b/old_docs/API_docs_v65/constructors/messages.recentStickersNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.recentStickersNotModified +description: No new recent sticker was found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.recentStickersNotModified +[Back to constructors index](index.md) + + + +No new recent sticker was found + + + + +### Type: [messages.RecentStickers](../types/messages.RecentStickers.md) + + +### Example: + +```php +$messages.recentStickersNotModified = ['_' => 'messages.recentStickersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.recentStickersNotModified={_='messages.recentStickersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v65/constructors/messages.savedGifs.md b/old_docs/API_docs_v65/constructors/messages.savedGifs.md new file mode 100644 index 00000000..c82929a3 --- /dev/null +++ b/old_docs/API_docs_v65/constructors/messages.savedGifs.md @@ -0,0 +1,39 @@ +--- +title: messages.savedGifs +description: Saved gifs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.savedGifs +[Back to constructors index](index.md) + + + +Saved gifs + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|gifs|Array of [Document](../types/Document.md) | Yes|Gifs| + + + +### Type: [messages.SavedGifs](../types/messages.SavedGifs.md) + + +### Example: + +```php +$messages.savedGifs = ['_' => 'messages.savedGifs', 'hash' => int, 'gifs' => [Document, Document]]; +``` + + +Or, if you're into Lua: + +```lua +messages.savedGifs={_='messages.savedGifs', hash=int, gifs={Document}} + +``` + + diff --git a/old_docs/API_docs_v65/constructors/messages.savedGifsNotModified.md b/old_docs/API_docs_v65/constructors/messages.savedGifsNotModified.md new file mode 100644 index 00000000..0fbccacc --- /dev/null +++ b/old_docs/API_docs_v65/constructors/messages.savedGifsNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.savedGifsNotModified +description: No new saved gifs were found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.savedGifsNotModified +[Back to constructors index](index.md) + + + +No new saved gifs were found + + + + +### Type: [messages.SavedGifs](../types/messages.SavedGifs.md) + + +### Example: + +```php +$messages.savedGifsNotModified = ['_' => 'messages.savedGifsNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.savedGifsNotModified={_='messages.savedGifsNotModified'} + +``` + + diff --git a/old_docs/API_docs_v65/constructors/messages.sentEncryptedFile.md b/old_docs/API_docs_v65/constructors/messages.sentEncryptedFile.md new file mode 100644 index 00000000..1f0e43c6 --- /dev/null +++ b/old_docs/API_docs_v65/constructors/messages.sentEncryptedFile.md @@ -0,0 +1,39 @@ +--- +title: messages.sentEncryptedFile +description: Message with a file enclosure sent to a protected chat +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.sentEncryptedFile +[Back to constructors index](index.md) + + + +Message with a file enclosure sent to a protected chat + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Sending date| +|file|[EncryptedFile](../types/EncryptedFile.md) | Optional|Attached file| + + + +### Type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) + + +### Example: + +```php +$messages.sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile]; +``` + + +Or, if you're into Lua: + +```lua +messages.sentEncryptedFile={_='messages.sentEncryptedFile', date=int, file=EncryptedFile} + +``` + + diff --git a/old_docs/API_docs_v65/constructors/messages.sentEncryptedMessage.md b/old_docs/API_docs_v65/constructors/messages.sentEncryptedMessage.md new file mode 100644 index 00000000..3d5eb40c --- /dev/null +++ b/old_docs/API_docs_v65/constructors/messages.sentEncryptedMessage.md @@ -0,0 +1,38 @@ +--- +title: messages.sentEncryptedMessage +description: Message without file attachemts sent to an encrypted file. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.sentEncryptedMessage +[Back to constructors index](index.md) + + + +Message without file attachemts sent to an encrypted file. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Date of sending| + + + +### Type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) + + +### Example: + +```php +$messages.sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.sentEncryptedMessage={_='messages.sentEncryptedMessage', date=int} + +``` + + diff --git a/old_docs/API_docs_v65/constructors/messages.stickerSet.md b/old_docs/API_docs_v65/constructors/messages.stickerSet.md new file mode 100644 index 00000000..fbc154d0 --- /dev/null +++ b/old_docs/API_docs_v65/constructors/messages.stickerSet.md @@ -0,0 +1,40 @@ +--- +title: messages.stickerSet +description: Stickerset and stickers inside it +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickerSet +[Back to constructors index](index.md) + + + +Stickerset and stickers inside it + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|set|[StickerSet](../types/StickerSet.md) | Yes|The stickerset| +|packs|Array of [StickerPack](../types/StickerPack.md) | Yes|Packs| +|documents|Array of [Document](../types/Document.md) | Yes|Documents| + + + +### Type: [messages.StickerSet](../types/messages.StickerSet.md) + + +### Example: + +```php +$messages.stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'packs' => [StickerPack, StickerPack], 'documents' => [Document, Document]]; +``` + + +Or, if you're into Lua: + +```lua +messages.stickerSet={_='messages.stickerSet', set=StickerSet, packs={StickerPack}, documents={Document}} + +``` + + diff --git a/old_docs/API_docs_v65/constructors/messages.stickerSetInstallResultArchive.md b/old_docs/API_docs_v65/constructors/messages.stickerSetInstallResultArchive.md new file mode 100644 index 00000000..fefe2270 --- /dev/null +++ b/old_docs/API_docs_v65/constructors/messages.stickerSetInstallResultArchive.md @@ -0,0 +1,38 @@ +--- +title: messages.stickerSetInstallResultArchive +description: The stickerset was installed, but since there are too many stickersets some were archived +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickerSetInstallResultArchive +[Back to constructors index](index.md) + + + +The stickerset was installed, but since there are too many stickersets some were archived + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| + + + +### Type: [messages.StickerSetInstallResult](../types/messages.StickerSetInstallResult.md) + + +### Example: + +```php +$messages.stickerSetInstallResultArchive = ['_' => 'messages.stickerSetInstallResultArchive', 'sets' => [StickerSetCovered, StickerSetCovered]]; +``` + + +Or, if you're into Lua: + +```lua +messages.stickerSetInstallResultArchive={_='messages.stickerSetInstallResultArchive', sets={StickerSetCovered}} + +``` + + diff --git a/old_docs/API_docs_v65/constructors/messages.stickerSetInstallResultSuccess.md b/old_docs/API_docs_v65/constructors/messages.stickerSetInstallResultSuccess.md new file mode 100644 index 00000000..bbe8b961 --- /dev/null +++ b/old_docs/API_docs_v65/constructors/messages.stickerSetInstallResultSuccess.md @@ -0,0 +1,33 @@ +--- +title: messages.stickerSetInstallResultSuccess +description: The stickerset was installed successfully +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickerSetInstallResultSuccess +[Back to constructors index](index.md) + + + +The stickerset was installed successfully + + + + +### Type: [messages.StickerSetInstallResult](../types/messages.StickerSetInstallResult.md) + + +### Example: + +```php +$messages.stickerSetInstallResultSuccess = ['_' => 'messages.stickerSetInstallResultSuccess']; +``` + + +Or, if you're into Lua: + +```lua +messages.stickerSetInstallResultSuccess={_='messages.stickerSetInstallResultSuccess'} + +``` + + diff --git a/old_docs/API_docs_v65/constructors/messages.stickers.md b/old_docs/API_docs_v65/constructors/messages.stickers.md new file mode 100644 index 00000000..310b64b0 --- /dev/null +++ b/old_docs/API_docs_v65/constructors/messages.stickers.md @@ -0,0 +1,39 @@ +--- +title: messages.stickers +description: Found stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickers +[Back to constructors index](index.md) + + + +Found stickers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[string](../types/string.md) | Yes|Hash| +|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| + + + +### Type: [messages.Stickers](../types/messages.Stickers.md) + + +### Example: + +```php +$messages.stickers = ['_' => 'messages.stickers', 'hash' => 'string', 'stickers' => [Document, Document]]; +``` + + +Or, if you're into Lua: + +```lua +messages.stickers={_='messages.stickers', hash='string', stickers={Document}} + +``` + + diff --git a/old_docs/API_docs_v65/constructors/messages.stickersNotModified.md b/old_docs/API_docs_v65/constructors/messages.stickersNotModified.md new file mode 100644 index 00000000..e8c7766c --- /dev/null +++ b/old_docs/API_docs_v65/constructors/messages.stickersNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.stickersNotModified +description: No new stickers were found for the given query +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickersNotModified +[Back to constructors index](index.md) + + + +No new stickers were found for the given query + + + + +### Type: [messages.Stickers](../types/messages.Stickers.md) + + +### Example: + +```php +$messages.stickersNotModified = ['_' => 'messages.stickersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.stickersNotModified={_='messages.stickersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v65/constructors/messages_affectedHistory.md b/old_docs/API_docs_v65/constructors/messages_affectedHistory.md deleted file mode 100644 index 449a7e3f..00000000 --- a/old_docs/API_docs_v65/constructors/messages_affectedHistory.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.affectedHistory -description: Affected part of communication history with the user or in a chat. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.affectedHistory -[Back to constructors index](index.md) - - - -Affected part of communication history with the user or in a chat. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| -|pts\_count|[int](../types/int.md) | Yes|Number of affected events| -|offset|[int](../types/int.md) | Yes|If a parameter contains positive value, it is necessary to repeat the method call using the given value; during the proceeding of all the history the value itself shall gradually decrease| - - - -### Type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) - - -### Example: - -```php -$messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_affectedHistory={_='messages.affectedHistory', pts=int, pts_count=int, offset=int} - -``` - - diff --git a/old_docs/API_docs_v65/constructors/messages_affectedMessages.md b/old_docs/API_docs_v65/constructors/messages_affectedMessages.md deleted file mode 100644 index 86760581..00000000 --- a/old_docs/API_docs_v65/constructors/messages_affectedMessages.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.affectedMessages -description: Events affected by operation -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.affectedMessages -[Back to constructors index](index.md) - - - -Events affected by operation - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|[Event count after generation](https://core.telegram.org/api/updates)| -|pts\_count|[int](../types/int.md) | Yes|[Number of events that were generated](https://core.telegram.org/api/updates)| - - - -### Type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) - - -### Example: - -```php -$messages_affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_affectedMessages={_='messages.affectedMessages', pts=int, pts_count=int} - -``` - - diff --git a/old_docs/API_docs_v65/constructors/messages_allStickers.md b/old_docs/API_docs_v65/constructors/messages_allStickers.md deleted file mode 100644 index 2e64f46e..00000000 --- a/old_docs/API_docs_v65/constructors/messages_allStickers.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.allStickers -description: Info about all installed stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.allStickers -[Back to constructors index](index.md) - - - -Info about all installed stickers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|sets|Array of [StickerSet](../types/StickerSet.md) | Yes|Sets| - - - -### Type: [messages\_AllStickers](../types/messages_AllStickers.md) - - -### Example: - -```php -$messages_allStickers = ['_' => 'messages.allStickers', 'hash' => int, 'sets' => [StickerSet, StickerSet]]; -``` - - -Or, if you're into Lua: - -```lua -messages_allStickers={_='messages.allStickers', hash=int, sets={StickerSet}} - -``` - - diff --git a/old_docs/API_docs_v65/constructors/messages_allStickersNotModified.md b/old_docs/API_docs_v65/constructors/messages_allStickersNotModified.md deleted file mode 100644 index c4da85ab..00000000 --- a/old_docs/API_docs_v65/constructors/messages_allStickersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.allStickersNotModified -description: Info about all installed stickers hasn't changed -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.allStickersNotModified -[Back to constructors index](index.md) - - - -Info about all installed stickers hasn't changed - - - - -### Type: [messages\_AllStickers](../types/messages_AllStickers.md) - - -### Example: - -```php -$messages_allStickersNotModified = ['_' => 'messages.allStickersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_allStickersNotModified={_='messages.allStickersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v65/constructors/messages_archivedStickers.md b/old_docs/API_docs_v65/constructors/messages_archivedStickers.md deleted file mode 100644 index 6b28c885..00000000 --- a/old_docs/API_docs_v65/constructors/messages_archivedStickers.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.archivedStickers -description: Archived stickersets -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.archivedStickers -[Back to constructors index](index.md) - - - -Archived stickersets - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Number of archived stickers| -|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| - - - -### Type: [messages\_ArchivedStickers](../types/messages_ArchivedStickers.md) - - -### Example: - -```php -$messages_archivedStickers = ['_' => 'messages.archivedStickers', 'count' => int, 'sets' => [StickerSetCovered, StickerSetCovered]]; -``` - - -Or, if you're into Lua: - -```lua -messages_archivedStickers={_='messages.archivedStickers', count=int, sets={StickerSetCovered}} - -``` - - diff --git a/old_docs/API_docs_v65/constructors/messages_botCallbackAnswer.md b/old_docs/API_docs_v65/constructors/messages_botCallbackAnswer.md deleted file mode 100644 index df8c3185..00000000 --- a/old_docs/API_docs_v65/constructors/messages_botCallbackAnswer.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: messages.botCallbackAnswer -description: Callback answer sent by the bot in response to a button press -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.botCallbackAnswer -[Back to constructors index](index.md) - - - -Callback answer sent by the bot in response to a button press - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|alert|[Bool](../types/Bool.md) | Optional|Whether an alert should be shown to the user instead of a toast notification| -|has\_url|[Bool](../types/Bool.md) | Optional|Whether an URL is present| -|message|[string](../types/string.md) | Optional|Alert to show| -|url|[string](../types/string.md) | Optional|URL to open| -|cache\_time|[int](../types/int.md) | Yes|For how long should this answer be cached| - - - -### Type: [messages\_BotCallbackAnswer](../types/messages_BotCallbackAnswer.md) - - -### Example: - -```php -$messages_botCallbackAnswer = ['_' => 'messages.botCallbackAnswer', 'alert' => Bool, 'has_url' => Bool, 'message' => 'string', 'url' => 'string', 'cache_time' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_botCallbackAnswer={_='messages.botCallbackAnswer', alert=Bool, has_url=Bool, message='string', url='string', cache_time=int} - -``` - - diff --git a/old_docs/API_docs_v65/constructors/messages_botResults.md b/old_docs/API_docs_v65/constructors/messages_botResults.md deleted file mode 100644 index 77b14e35..00000000 --- a/old_docs/API_docs_v65/constructors/messages_botResults.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: messages.botResults -description: Result of a query to an inline bot -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.botResults -[Back to constructors index](index.md) - - - -Result of a query to an inline bot - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|gallery|[Bool](../types/Bool.md) | Optional|Whether the result is a picture gallery| -|query\_id|[long](../types/long.md) | Yes|Query ID| -|next\_offset|[string](../types/string.md) | Optional|The next offset to use when navigating through results| -|switch\_pm|[InlineBotSwitchPM](../types/InlineBotSwitchPM.md) | Optional|Whether the bot requested the user to message him in private| -|results|Array of [BotInlineResult](../types/BotInlineResult.md) | Yes|Results| -|cache\_time|[int](../types/int.md) | Yes|Caching validity of the results| - - - -### Type: [messages\_BotResults](../types/messages_BotResults.md) - - -### Example: - -```php -$messages_botResults = ['_' => 'messages.botResults', 'gallery' => Bool, 'query_id' => long, 'next_offset' => 'string', 'switch_pm' => InlineBotSwitchPM, 'results' => [BotInlineResult, BotInlineResult], 'cache_time' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_botResults={_='messages.botResults', gallery=Bool, query_id=long, next_offset='string', switch_pm=InlineBotSwitchPM, results={BotInlineResult}, cache_time=int} - -``` - - diff --git a/old_docs/API_docs_v65/constructors/messages_channelMessages.md b/old_docs/API_docs_v65/constructors/messages_channelMessages.md deleted file mode 100644 index 12cdb9cd..00000000 --- a/old_docs/API_docs_v65/constructors/messages_channelMessages.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: messages.channelMessages -description: Channel messages -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.channelMessages -[Back to constructors index](index.md) - - - -Channel messages - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|[Event count after generation](https://core.telegram.org/api/updates)| -|count|[int](../types/int.md) | Yes|Total number of results were found server-side (may not be all included here)| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Messages](../types/messages_Messages.md) - - -### Example: - -```php -$messages_channelMessages = ['_' => 'messages.channelMessages', 'pts' => int, 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_channelMessages={_='messages.channelMessages', pts=int, count=int, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v65/constructors/messages_chatFull.md b/old_docs/API_docs_v65/constructors/messages_chatFull.md deleted file mode 100644 index 02f1acdf..00000000 --- a/old_docs/API_docs_v65/constructors/messages_chatFull.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.chatFull -description: Extended info on chat and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.chatFull -[Back to constructors index](index.md) - - - -Extended info on chat and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|full\_chat|[ChatFull](../types/ChatFull.md) | Yes|Extended info on a chat| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_ChatFull](../types/messages_ChatFull.md) - - -### Example: - -```php -$messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_chatFull={_='messages.chatFull', full_chat=ChatFull, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v65/constructors/messages_chats.md b/old_docs/API_docs_v65/constructors/messages_chats.md deleted file mode 100644 index ef3690a9..00000000 --- a/old_docs/API_docs_v65/constructors/messages_chats.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.chats -description: List of chats with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.chats -[Back to constructors index](index.md) - - - -List of chats with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| - - - -### Type: [messages\_Chats](../types/messages_Chats.md) - - -### Example: - -```php -$messages_chats = ['_' => 'messages.chats', 'chats' => [Chat, Chat]]; -``` - - -Or, if you're into Lua: - -```lua -messages_chats={_='messages.chats', chats={Chat}} - -``` - - diff --git a/old_docs/API_docs_v65/constructors/messages_chatsSlice.md b/old_docs/API_docs_v65/constructors/messages_chatsSlice.md deleted file mode 100644 index f19c4357..00000000 --- a/old_docs/API_docs_v65/constructors/messages_chatsSlice.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.chatsSlice -description: Partial list of chats, more would have to be fetched with [pagination](https://core.telegram.org/api/offsets) -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.chatsSlice -[Back to constructors index](index.md) - - - -Partial list of chats, more would have to be fetched with [pagination](https://core.telegram.org/api/offsets) - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of results that were found server-side (not all are included in `chats`)| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| - - - -### Type: [messages\_Chats](../types/messages_Chats.md) - - -### Example: - -```php -$messages_chatsSlice = ['_' => 'messages.chatsSlice', 'count' => int, 'chats' => [Chat, Chat]]; -``` - - -Or, if you're into Lua: - -```lua -messages_chatsSlice={_='messages.chatsSlice', count=int, chats={Chat}} - -``` - - diff --git a/old_docs/API_docs_v65/constructors/messages_dhConfig.md b/old_docs/API_docs_v65/constructors/messages_dhConfig.md deleted file mode 100644 index 42c2feb1..00000000 --- a/old_docs/API_docs_v65/constructors/messages_dhConfig.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: messages.dhConfig -description: New set of configuring parameters. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dhConfig -[Back to constructors index](index.md) - - - -New set of configuring parameters. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|g|[int](../types/int.md) | Yes|New value **prime**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| -|p|[bytes](../types/bytes.md) | Yes|New value **primitive root**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| -|version|[int](../types/int.md) | Yes|Vestion of set of parameters| -|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| - - - -### Type: [messages\_DhConfig](../types/messages_DhConfig.md) - - -### Example: - -```php -$messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'version' => int, 'random' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -messages_dhConfig={_='messages.dhConfig', g=int, p='bytes', version=int, random='bytes'} - -``` - - diff --git a/old_docs/API_docs_v65/constructors/messages_dhConfigNotModified.md b/old_docs/API_docs_v65/constructors/messages_dhConfigNotModified.md deleted file mode 100644 index 5bf64230..00000000 --- a/old_docs/API_docs_v65/constructors/messages_dhConfigNotModified.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.dhConfigNotModified -description: Configuring parameters did not change. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dhConfigNotModified -[Back to constructors index](index.md) - - - -Configuring parameters did not change. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| - - - -### Type: [messages\_DhConfig](../types/messages_DhConfig.md) - - -### Example: - -```php -$messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -messages_dhConfigNotModified={_='messages.dhConfigNotModified', random='bytes'} - -``` - - diff --git a/old_docs/API_docs_v65/constructors/messages_dialogs.md b/old_docs/API_docs_v65/constructors/messages_dialogs.md deleted file mode 100644 index e6a431b4..00000000 --- a/old_docs/API_docs_v65/constructors/messages_dialogs.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: messages.dialogs -description: Full list of chats with messages and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dialogs -[Back to constructors index](index.md) - - - -Full list of chats with messages and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Dialogs](../types/messages_Dialogs.md) - - -### Example: - -```php -$messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_dialogs={_='messages.dialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v65/constructors/messages_dialogsSlice.md b/old_docs/API_docs_v65/constructors/messages_dialogsSlice.md deleted file mode 100644 index f183b9a8..00000000 --- a/old_docs/API_docs_v65/constructors/messages_dialogsSlice.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: messages.dialogsSlice -description: Incomplete list of dialogs with messages and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dialogsSlice -[Back to constructors index](index.md) - - - -Incomplete list of dialogs with messages and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of dialogs| -|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Dialogs](../types/messages_Dialogs.md) - - -### Example: - -```php -$messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_dialogsSlice={_='messages.dialogsSlice', count=int, dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v65/constructors/messages_featuredStickers.md b/old_docs/API_docs_v65/constructors/messages_featuredStickers.md deleted file mode 100644 index 8ef1046e..00000000 --- a/old_docs/API_docs_v65/constructors/messages_featuredStickers.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.featuredStickers -description: Featured stickersets -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.featuredStickers -[Back to constructors index](index.md) - - - -Featured stickersets - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| -|unread|Array of [long](../types/long.md) | Yes|Unread| - - - -### Type: [messages\_FeaturedStickers](../types/messages_FeaturedStickers.md) - - -### Example: - -```php -$messages_featuredStickers = ['_' => 'messages.featuredStickers', 'hash' => int, 'sets' => [StickerSetCovered, StickerSetCovered], 'unread' => [long, long]]; -``` - - -Or, if you're into Lua: - -```lua -messages_featuredStickers={_='messages.featuredStickers', hash=int, sets={StickerSetCovered}, unread={long}} - -``` - - diff --git a/old_docs/API_docs_v65/constructors/messages_featuredStickersNotModified.md b/old_docs/API_docs_v65/constructors/messages_featuredStickersNotModified.md deleted file mode 100644 index de01131b..00000000 --- a/old_docs/API_docs_v65/constructors/messages_featuredStickersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.featuredStickersNotModified -description: Featured stickers haven't changed -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.featuredStickersNotModified -[Back to constructors index](index.md) - - - -Featured stickers haven't changed - - - - -### Type: [messages\_FeaturedStickers](../types/messages_FeaturedStickers.md) - - -### Example: - -```php -$messages_featuredStickersNotModified = ['_' => 'messages.featuredStickersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_featuredStickersNotModified={_='messages.featuredStickersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v65/constructors/messages_foundGifs.md b/old_docs/API_docs_v65/constructors/messages_foundGifs.md deleted file mode 100644 index eb3603ca..00000000 --- a/old_docs/API_docs_v65/constructors/messages_foundGifs.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.foundGifs -description: Found GIFs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.foundGifs -[Back to constructors index](index.md) - - - -Found GIFs - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|next\_offset|[int](../types/int.md) | Yes|Next offset to use when trying to [load more results](../methods/messages.searchGifs.md)| -|results|Array of [FoundGif](../types/FoundGif.md) | Yes|Results| - - - -### Type: [messages\_FoundGifs](../types/messages_FoundGifs.md) - - -### Example: - -```php -$messages_foundGifs = ['_' => 'messages.foundGifs', 'next_offset' => int, 'results' => [FoundGif, FoundGif]]; -``` - - -Or, if you're into Lua: - -```lua -messages_foundGifs={_='messages.foundGifs', next_offset=int, results={FoundGif}} - -``` - - diff --git a/old_docs/API_docs_v65/constructors/messages_highScores.md b/old_docs/API_docs_v65/constructors/messages_highScores.md deleted file mode 100644 index d6fc5210..00000000 --- a/old_docs/API_docs_v65/constructors/messages_highScores.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.highScores -description: Highscores in a game -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.highScores -[Back to constructors index](index.md) - - - -Highscores in a game - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|scores|Array of [HighScore](../types/HighScore.md) | Yes|Scores| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_HighScores](../types/messages_HighScores.md) - - -### Example: - -```php -$messages_highScores = ['_' => 'messages.highScores', 'scores' => [HighScore, HighScore], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_highScores={_='messages.highScores', scores={HighScore}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v65/constructors/messages_messageEditData.md b/old_docs/API_docs_v65/constructors/messages_messageEditData.md deleted file mode 100644 index 76aefca5..00000000 --- a/old_docs/API_docs_v65/constructors/messages_messageEditData.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.messageEditData -description: Message edit data for media -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.messageEditData -[Back to constructors index](index.md) - - - -Message edit data for media - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|caption|[Bool](../types/Bool.md) | Optional|Media caption, if the specified media's caption can be edited| - - - -### Type: [messages\_MessageEditData](../types/messages_MessageEditData.md) - - -### Example: - -```php -$messages_messageEditData = ['_' => 'messages.messageEditData', 'caption' => Bool]; -``` - - -Or, if you're into Lua: - -```lua -messages_messageEditData={_='messages.messageEditData', caption=Bool} - -``` - - diff --git a/old_docs/API_docs_v65/constructors/messages_messages.md b/old_docs/API_docs_v65/constructors/messages_messages.md deleted file mode 100644 index 3e369e1a..00000000 --- a/old_docs/API_docs_v65/constructors/messages_messages.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.messages -description: Full list of messages with auxilary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.messages -[Back to constructors index](index.md) - - - -Full list of messages with auxilary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Messages](../types/messages_Messages.md) - - -### Example: - -```php -$messages_messages = ['_' => 'messages.messages', 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_messages={_='messages.messages', messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v65/constructors/messages_messagesSlice.md b/old_docs/API_docs_v65/constructors/messages_messagesSlice.md deleted file mode 100644 index f9b8dc18..00000000 --- a/old_docs/API_docs_v65/constructors/messages_messagesSlice.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: messages.messagesSlice -description: Incomplete list of messages and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.messagesSlice -[Back to constructors index](index.md) - - - -Incomplete list of messages and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of messages in the list| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Messages](../types/messages_Messages.md) - - -### Example: - -```php -$messages_messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_messagesSlice={_='messages.messagesSlice', count=int, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v65/constructors/messages_peerDialogs.md b/old_docs/API_docs_v65/constructors/messages_peerDialogs.md deleted file mode 100644 index 29b4b842..00000000 --- a/old_docs/API_docs_v65/constructors/messages_peerDialogs.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: messages.peerDialogs -description: Dialog info of multiple peers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.peerDialogs -[Back to constructors index](index.md) - - - -Dialog info of multiple peers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| -|state|[updates\_State](../types/updates_State.md) | Yes|Current [update state of dialog](https://core.telegram.org/api/updates)| - - - -### Type: [messages\_PeerDialogs](../types/messages_PeerDialogs.md) - - -### Example: - -```php -$messages_peerDialogs = ['_' => 'messages.peerDialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates_State]; -``` - - -Or, if you're into Lua: - -```lua -messages_peerDialogs={_='messages.peerDialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}, state=updates_State} - -``` - - diff --git a/old_docs/API_docs_v65/constructors/messages_recentStickers.md b/old_docs/API_docs_v65/constructors/messages_recentStickers.md deleted file mode 100644 index 31b059e5..00000000 --- a/old_docs/API_docs_v65/constructors/messages_recentStickers.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.recentStickers -description: Recently used stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.recentStickers -[Back to constructors index](index.md) - - - -Recently used stickers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| - - - -### Type: [messages\_RecentStickers](../types/messages_RecentStickers.md) - - -### Example: - -```php -$messages_recentStickers = ['_' => 'messages.recentStickers', 'hash' => int, 'stickers' => [Document, Document]]; -``` - - -Or, if you're into Lua: - -```lua -messages_recentStickers={_='messages.recentStickers', hash=int, stickers={Document}} - -``` - - diff --git a/old_docs/API_docs_v65/constructors/messages_recentStickersNotModified.md b/old_docs/API_docs_v65/constructors/messages_recentStickersNotModified.md deleted file mode 100644 index 3e81dceb..00000000 --- a/old_docs/API_docs_v65/constructors/messages_recentStickersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.recentStickersNotModified -description: No new recent sticker was found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.recentStickersNotModified -[Back to constructors index](index.md) - - - -No new recent sticker was found - - - - -### Type: [messages\_RecentStickers](../types/messages_RecentStickers.md) - - -### Example: - -```php -$messages_recentStickersNotModified = ['_' => 'messages.recentStickersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_recentStickersNotModified={_='messages.recentStickersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v65/constructors/messages_savedGifs.md b/old_docs/API_docs_v65/constructors/messages_savedGifs.md deleted file mode 100644 index ed3e8ea3..00000000 --- a/old_docs/API_docs_v65/constructors/messages_savedGifs.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.savedGifs -description: Saved gifs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.savedGifs -[Back to constructors index](index.md) - - - -Saved gifs - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|gifs|Array of [Document](../types/Document.md) | Yes|Gifs| - - - -### Type: [messages\_SavedGifs](../types/messages_SavedGifs.md) - - -### Example: - -```php -$messages_savedGifs = ['_' => 'messages.savedGifs', 'hash' => int, 'gifs' => [Document, Document]]; -``` - - -Or, if you're into Lua: - -```lua -messages_savedGifs={_='messages.savedGifs', hash=int, gifs={Document}} - -``` - - diff --git a/old_docs/API_docs_v65/constructors/messages_savedGifsNotModified.md b/old_docs/API_docs_v65/constructors/messages_savedGifsNotModified.md deleted file mode 100644 index 0f843a0c..00000000 --- a/old_docs/API_docs_v65/constructors/messages_savedGifsNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.savedGifsNotModified -description: No new saved gifs were found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.savedGifsNotModified -[Back to constructors index](index.md) - - - -No new saved gifs were found - - - - -### Type: [messages\_SavedGifs](../types/messages_SavedGifs.md) - - -### Example: - -```php -$messages_savedGifsNotModified = ['_' => 'messages.savedGifsNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_savedGifsNotModified={_='messages.savedGifsNotModified'} - -``` - - diff --git a/old_docs/API_docs_v65/constructors/messages_sentEncryptedFile.md b/old_docs/API_docs_v65/constructors/messages_sentEncryptedFile.md deleted file mode 100644 index fdc2a11e..00000000 --- a/old_docs/API_docs_v65/constructors/messages_sentEncryptedFile.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.sentEncryptedFile -description: Message with a file enclosure sent to a protected chat -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.sentEncryptedFile -[Back to constructors index](index.md) - - - -Message with a file enclosure sent to a protected chat - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Sending date| -|file|[EncryptedFile](../types/EncryptedFile.md) | Optional|Attached file| - - - -### Type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) - - -### Example: - -```php -$messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile]; -``` - - -Or, if you're into Lua: - -```lua -messages_sentEncryptedFile={_='messages.sentEncryptedFile', date=int, file=EncryptedFile} - -``` - - diff --git a/old_docs/API_docs_v65/constructors/messages_sentEncryptedMessage.md b/old_docs/API_docs_v65/constructors/messages_sentEncryptedMessage.md deleted file mode 100644 index 36b2bbff..00000000 --- a/old_docs/API_docs_v65/constructors/messages_sentEncryptedMessage.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.sentEncryptedMessage -description: Message without file attachemts sent to an encrypted file. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.sentEncryptedMessage -[Back to constructors index](index.md) - - - -Message without file attachemts sent to an encrypted file. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Date of sending| - - - -### Type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) - - -### Example: - -```php -$messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_sentEncryptedMessage={_='messages.sentEncryptedMessage', date=int} - -``` - - diff --git a/old_docs/API_docs_v65/constructors/messages_stickerSet.md b/old_docs/API_docs_v65/constructors/messages_stickerSet.md deleted file mode 100644 index 127191de..00000000 --- a/old_docs/API_docs_v65/constructors/messages_stickerSet.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.stickerSet -description: Stickerset and stickers inside it -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickerSet -[Back to constructors index](index.md) - - - -Stickerset and stickers inside it - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|set|[StickerSet](../types/StickerSet.md) | Yes|The stickerset| -|packs|Array of [StickerPack](../types/StickerPack.md) | Yes|Packs| -|documents|Array of [Document](../types/Document.md) | Yes|Documents| - - - -### Type: [messages\_StickerSet](../types/messages_StickerSet.md) - - -### Example: - -```php -$messages_stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'packs' => [StickerPack, StickerPack], 'documents' => [Document, Document]]; -``` - - -Or, if you're into Lua: - -```lua -messages_stickerSet={_='messages.stickerSet', set=StickerSet, packs={StickerPack}, documents={Document}} - -``` - - diff --git a/old_docs/API_docs_v65/constructors/messages_stickerSetInstallResultArchive.md b/old_docs/API_docs_v65/constructors/messages_stickerSetInstallResultArchive.md deleted file mode 100644 index 8a5f4d5d..00000000 --- a/old_docs/API_docs_v65/constructors/messages_stickerSetInstallResultArchive.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.stickerSetInstallResultArchive -description: The stickerset was installed, but since there are too many stickersets some were archived -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickerSetInstallResultArchive -[Back to constructors index](index.md) - - - -The stickerset was installed, but since there are too many stickersets some were archived - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| - - - -### Type: [messages\_StickerSetInstallResult](../types/messages_StickerSetInstallResult.md) - - -### Example: - -```php -$messages_stickerSetInstallResultArchive = ['_' => 'messages.stickerSetInstallResultArchive', 'sets' => [StickerSetCovered, StickerSetCovered]]; -``` - - -Or, if you're into Lua: - -```lua -messages_stickerSetInstallResultArchive={_='messages.stickerSetInstallResultArchive', sets={StickerSetCovered}} - -``` - - diff --git a/old_docs/API_docs_v65/constructors/messages_stickerSetInstallResultSuccess.md b/old_docs/API_docs_v65/constructors/messages_stickerSetInstallResultSuccess.md deleted file mode 100644 index 1d33b89f..00000000 --- a/old_docs/API_docs_v65/constructors/messages_stickerSetInstallResultSuccess.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.stickerSetInstallResultSuccess -description: The stickerset was installed successfully -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickerSetInstallResultSuccess -[Back to constructors index](index.md) - - - -The stickerset was installed successfully - - - - -### Type: [messages\_StickerSetInstallResult](../types/messages_StickerSetInstallResult.md) - - -### Example: - -```php -$messages_stickerSetInstallResultSuccess = ['_' => 'messages.stickerSetInstallResultSuccess']; -``` - - -Or, if you're into Lua: - -```lua -messages_stickerSetInstallResultSuccess={_='messages.stickerSetInstallResultSuccess'} - -``` - - diff --git a/old_docs/API_docs_v65/constructors/messages_stickers.md b/old_docs/API_docs_v65/constructors/messages_stickers.md deleted file mode 100644 index 1c007df2..00000000 --- a/old_docs/API_docs_v65/constructors/messages_stickers.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.stickers -description: Found stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickers -[Back to constructors index](index.md) - - - -Found stickers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[string](../types/string.md) | Yes|Hash| -|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| - - - -### Type: [messages\_Stickers](../types/messages_Stickers.md) - - -### Example: - -```php -$messages_stickers = ['_' => 'messages.stickers', 'hash' => 'string', 'stickers' => [Document, Document]]; -``` - - -Or, if you're into Lua: - -```lua -messages_stickers={_='messages.stickers', hash='string', stickers={Document}} - -``` - - diff --git a/old_docs/API_docs_v65/constructors/messages_stickersNotModified.md b/old_docs/API_docs_v65/constructors/messages_stickersNotModified.md deleted file mode 100644 index 3d434a79..00000000 --- a/old_docs/API_docs_v65/constructors/messages_stickersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.stickersNotModified -description: No new stickers were found for the given query -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickersNotModified -[Back to constructors index](index.md) - - - -No new stickers were found for the given query - - - - -### Type: [messages\_Stickers](../types/messages_Stickers.md) - - -### Example: - -```php -$messages_stickersNotModified = ['_' => 'messages.stickersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_stickersNotModified={_='messages.stickersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v65/constructors/payments.paymentForm.md b/old_docs/API_docs_v65/constructors/payments.paymentForm.md new file mode 100644 index 00000000..90e0f39d --- /dev/null +++ b/old_docs/API_docs_v65/constructors/payments.paymentForm.md @@ -0,0 +1,48 @@ +--- +title: payments.paymentForm +description: Payment form +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: payments.paymentForm +[Back to constructors index](index.md) + + + +Payment form + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|can\_save\_credentials|[Bool](../types/Bool.md) | Optional|Whether the user can choose to save credentials.| +|password\_missing|[Bool](../types/Bool.md) | Optional|Indicates that the user can save payment credentials, but only after setting up a [2FA password](https://core.telegram.org/api/srp) (currently the account doesn't have a [2FA password](https://core.telegram.org/api/srp))| +|bot\_id|[int](../types/int.md) | Yes|Bot ID| +|invoice|[Invoice](../types/Invoice.md) | Yes|Invoice| +|provider\_id|[int](../types/int.md) | Yes|Payment provider ID.| +|url|[string](../types/string.md) | Yes|Payment form URL| +|native\_provider|[string](../types/string.md) | Optional|Payment provider name.
One of the following:
\- `stripe`| +|native\_params|[DataJSON](../types/DataJSON.md) | Optional|Contains information about the payment provider, if available, to support it natively without the need for opening the URL.
A JSON object that can contain the following fields:

\- `publishable_key`: Stripe API publishable key
\- `apple_pay_merchant_id`: Apple Pay merchant ID
\- `android_pay_public_key`: Android Pay public key
\- `android_pay_bgcolor`: Android Pay form background color
\- `android_pay_inverse`: Whether to use the dark theme in the Android Pay form
\- `need_country`: True, if the user country must be provided,
\- `need_zip`: True, if the user ZIP/postal code must be provided,
\- `need_cardholder_name`: True, if the cardholder name must be provided
| +|saved\_info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Optional|Saved server-side order information| +|saved\_credentials|[PaymentSavedCredentials](../types/PaymentSavedCredentials.md) | Optional|Contains information about saved card credentials| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [payments.PaymentForm](../types/payments.PaymentForm.md) + + +### Example: + +```php +$payments.paymentForm = ['_' => 'payments.paymentForm', 'can_save_credentials' => Bool, 'password_missing' => Bool, 'bot_id' => int, 'invoice' => Invoice, 'provider_id' => int, 'url' => 'string', 'native_provider' => 'string', 'native_params' => DataJSON, 'saved_info' => PaymentRequestedInfo, 'saved_credentials' => PaymentSavedCredentials, 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +payments.paymentForm={_='payments.paymentForm', can_save_credentials=Bool, password_missing=Bool, bot_id=int, invoice=Invoice, provider_id=int, url='string', native_provider='string', native_params=DataJSON, saved_info=PaymentRequestedInfo, saved_credentials=PaymentSavedCredentials, users={User}} + +``` + + diff --git a/old_docs/API_docs_v65/constructors/payments.paymentReceipt.md b/old_docs/API_docs_v65/constructors/payments.paymentReceipt.md new file mode 100644 index 00000000..5a0cc190 --- /dev/null +++ b/old_docs/API_docs_v65/constructors/payments.paymentReceipt.md @@ -0,0 +1,47 @@ +--- +title: payments.paymentReceipt +description: Receipt +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: payments.paymentReceipt +[Back to constructors index](index.md) + + + +Receipt + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Date of generation| +|bot\_id|[int](../types/int.md) | Yes|Bot ID| +|invoice|[Invoice](../types/Invoice.md) | Yes|Invoice| +|provider\_id|[int](../types/int.md) | Yes|Provider ID| +|info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Optional|Info| +|shipping|[ShippingOption](../types/ShippingOption.md) | Optional|Selected shipping option| +|currency|[string](../types/string.md) | Yes|Three-letter ISO 4217 [currency](https://core.telegram.org/bots/payments#supported-currencies) code| +|total\_amount|[long](../types/long.md) | Yes|Total amount in the smallest units of the currency (integer, not float/double). For example, for a price of `US$ 1.45` pass `amount = 145`. See the exp parameter in [currencies.json](https://core.telegram.org/bots/payments/currencies.json), it shows the number of digits past the decimal point for each currency (2 for the majority of currencies).| +|credentials\_title|[string](../types/string.md) | Yes|Payment credential name| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [payments.PaymentReceipt](../types/payments.PaymentReceipt.md) + + +### Example: + +```php +$payments.paymentReceipt = ['_' => 'payments.paymentReceipt', 'date' => int, 'bot_id' => int, 'invoice' => Invoice, 'provider_id' => int, 'info' => PaymentRequestedInfo, 'shipping' => ShippingOption, 'currency' => 'string', 'total_amount' => long, 'credentials_title' => 'string', 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +payments.paymentReceipt={_='payments.paymentReceipt', date=int, bot_id=int, invoice=Invoice, provider_id=int, info=PaymentRequestedInfo, shipping=ShippingOption, currency='string', total_amount=long, credentials_title='string', users={User}} + +``` + + diff --git a/old_docs/API_docs_v65/constructors/payments.paymentResult.md b/old_docs/API_docs_v65/constructors/payments.paymentResult.md new file mode 100644 index 00000000..df32fd91 --- /dev/null +++ b/old_docs/API_docs_v65/constructors/payments.paymentResult.md @@ -0,0 +1,38 @@ +--- +title: payments.paymentResult +description: Payment result +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: payments.paymentResult +[Back to constructors index](index.md) + + + +Payment result + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|updates|[Updates](../types/Updates.md) | Yes|Info about the payment| + + + +### Type: [payments.PaymentResult](../types/payments.PaymentResult.md) + + +### Example: + +```php +$payments.paymentResult = ['_' => 'payments.paymentResult', 'updates' => Updates]; +``` + + +Or, if you're into Lua: + +```lua +payments.paymentResult={_='payments.paymentResult', updates=Updates} + +``` + + diff --git a/old_docs/API_docs_v65/constructors/payments.paymentVerficationNeeded.md b/old_docs/API_docs_v65/constructors/payments.paymentVerficationNeeded.md new file mode 100644 index 00000000..3f459215 --- /dev/null +++ b/old_docs/API_docs_v65/constructors/payments.paymentVerficationNeeded.md @@ -0,0 +1,38 @@ +--- +title: payments.paymentVerficationNeeded +description: Payment verfication needed +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: payments.paymentVerficationNeeded +[Back to constructors index](index.md) + + + +Payment verfication needed + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|url|[string](../types/string.md) | Yes|URL| + + + +### Type: [payments.PaymentResult](../types/payments.PaymentResult.md) + + +### Example: + +```php +$payments.paymentVerficationNeeded = ['_' => 'payments.paymentVerficationNeeded', 'url' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +payments.paymentVerficationNeeded={_='payments.paymentVerficationNeeded', url='string'} + +``` + + diff --git a/old_docs/API_docs_v65/constructors/payments.savedInfo.md b/old_docs/API_docs_v65/constructors/payments.savedInfo.md new file mode 100644 index 00000000..a005a842 --- /dev/null +++ b/old_docs/API_docs_v65/constructors/payments.savedInfo.md @@ -0,0 +1,39 @@ +--- +title: payments.savedInfo +description: Saved server-side order information +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: payments.savedInfo +[Back to constructors index](index.md) + + + +Saved server-side order information + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|has\_saved\_credentials|[Bool](../types/Bool.md) | Optional|Whether the user has some saved payment credentials| +|saved\_info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Optional|Saved server-side order information| + + + +### Type: [payments.SavedInfo](../types/payments.SavedInfo.md) + + +### Example: + +```php +$payments.savedInfo = ['_' => 'payments.savedInfo', 'has_saved_credentials' => Bool, 'saved_info' => PaymentRequestedInfo]; +``` + + +Or, if you're into Lua: + +```lua +payments.savedInfo={_='payments.savedInfo', has_saved_credentials=Bool, saved_info=PaymentRequestedInfo} + +``` + + diff --git a/old_docs/API_docs_v65/constructors/payments.validatedRequestedInfo.md b/old_docs/API_docs_v65/constructors/payments.validatedRequestedInfo.md new file mode 100644 index 00000000..4789b28d --- /dev/null +++ b/old_docs/API_docs_v65/constructors/payments.validatedRequestedInfo.md @@ -0,0 +1,39 @@ +--- +title: payments.validatedRequestedInfo +description: Validated user-provided info +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: payments.validatedRequestedInfo +[Back to constructors index](index.md) + + + +Validated user-provided info + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|id|[string](../types/string.md) | Optional|ID| +|shipping\_options|Array of [ShippingOption](../types/ShippingOption.md) | Optional|Shipping options| + + + +### Type: [payments.ValidatedRequestedInfo](../types/payments.ValidatedRequestedInfo.md) + + +### Example: + +```php +$payments.validatedRequestedInfo = ['_' => 'payments.validatedRequestedInfo', 'id' => 'string', 'shipping_options' => [ShippingOption, ShippingOption]]; +``` + + +Or, if you're into Lua: + +```lua +payments.validatedRequestedInfo={_='payments.validatedRequestedInfo', id='string', shipping_options={ShippingOption}} + +``` + + diff --git a/old_docs/API_docs_v65/constructors/payments_paymentForm.md b/old_docs/API_docs_v65/constructors/payments_paymentForm.md deleted file mode 100644 index 88848527..00000000 --- a/old_docs/API_docs_v65/constructors/payments_paymentForm.md +++ /dev/null @@ -1,48 +0,0 @@ ---- -title: payments.paymentForm -description: Payment form -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: payments.paymentForm -[Back to constructors index](index.md) - - - -Payment form - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|can\_save\_credentials|[Bool](../types/Bool.md) | Optional|Whether the user can choose to save credentials.| -|password\_missing|[Bool](../types/Bool.md) | Optional|Indicates that the user can save payment credentials, but only after setting up a [2FA password](https://core.telegram.org/api/srp) (currently the account doesn't have a [2FA password](https://core.telegram.org/api/srp))| -|bot\_id|[int](../types/int.md) | Yes|Bot ID| -|invoice|[Invoice](../types/Invoice.md) | Yes|Invoice| -|provider\_id|[int](../types/int.md) | Yes|Payment provider ID.| -|url|[string](../types/string.md) | Yes|Payment form URL| -|native\_provider|[string](../types/string.md) | Optional|Payment provider name.
One of the following:
\- `stripe`| -|native\_params|[DataJSON](../types/DataJSON.md) | Optional|Contains information about the payment provider, if available, to support it natively without the need for opening the URL.
A JSON object that can contain the following fields:

\- `publishable_key`: Stripe API publishable key
\- `apple_pay_merchant_id`: Apple Pay merchant ID
\- `android_pay_public_key`: Android Pay public key
\- `android_pay_bgcolor`: Android Pay form background color
\- `android_pay_inverse`: Whether to use the dark theme in the Android Pay form
\- `need_country`: True, if the user country must be provided,
\- `need_zip`: True, if the user ZIP/postal code must be provided,
\- `need_cardholder_name`: True, if the cardholder name must be provided
| -|saved\_info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Optional|Saved server-side order information| -|saved\_credentials|[PaymentSavedCredentials](../types/PaymentSavedCredentials.md) | Optional|Contains information about saved card credentials| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [payments\_PaymentForm](../types/payments_PaymentForm.md) - - -### Example: - -```php -$payments_paymentForm = ['_' => 'payments.paymentForm', 'can_save_credentials' => Bool, 'password_missing' => Bool, 'bot_id' => int, 'invoice' => Invoice, 'provider_id' => int, 'url' => 'string', 'native_provider' => 'string', 'native_params' => DataJSON, 'saved_info' => PaymentRequestedInfo, 'saved_credentials' => PaymentSavedCredentials, 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -payments_paymentForm={_='payments.paymentForm', can_save_credentials=Bool, password_missing=Bool, bot_id=int, invoice=Invoice, provider_id=int, url='string', native_provider='string', native_params=DataJSON, saved_info=PaymentRequestedInfo, saved_credentials=PaymentSavedCredentials, users={User}} - -``` - - diff --git a/old_docs/API_docs_v65/constructors/payments_paymentReceipt.md b/old_docs/API_docs_v65/constructors/payments_paymentReceipt.md deleted file mode 100644 index 411e9dee..00000000 --- a/old_docs/API_docs_v65/constructors/payments_paymentReceipt.md +++ /dev/null @@ -1,47 +0,0 @@ ---- -title: payments.paymentReceipt -description: Receipt -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: payments.paymentReceipt -[Back to constructors index](index.md) - - - -Receipt - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Date of generation| -|bot\_id|[int](../types/int.md) | Yes|Bot ID| -|invoice|[Invoice](../types/Invoice.md) | Yes|Invoice| -|provider\_id|[int](../types/int.md) | Yes|Provider ID| -|info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Optional|Info| -|shipping|[ShippingOption](../types/ShippingOption.md) | Optional|Selected shipping option| -|currency|[string](../types/string.md) | Yes|Three-letter ISO 4217 [currency](https://core.telegram.org/bots/payments#supported-currencies) code| -|total\_amount|[long](../types/long.md) | Yes|Total amount in the smallest units of the currency (integer, not float/double). For example, for a price of `US$ 1.45` pass `amount = 145`. See the exp parameter in [currencies.json](https://core.telegram.org/bots/payments/currencies.json), it shows the number of digits past the decimal point for each currency (2 for the majority of currencies).| -|credentials\_title|[string](../types/string.md) | Yes|Payment credential name| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [payments\_PaymentReceipt](../types/payments_PaymentReceipt.md) - - -### Example: - -```php -$payments_paymentReceipt = ['_' => 'payments.paymentReceipt', 'date' => int, 'bot_id' => int, 'invoice' => Invoice, 'provider_id' => int, 'info' => PaymentRequestedInfo, 'shipping' => ShippingOption, 'currency' => 'string', 'total_amount' => long, 'credentials_title' => 'string', 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -payments_paymentReceipt={_='payments.paymentReceipt', date=int, bot_id=int, invoice=Invoice, provider_id=int, info=PaymentRequestedInfo, shipping=ShippingOption, currency='string', total_amount=long, credentials_title='string', users={User}} - -``` - - diff --git a/old_docs/API_docs_v65/constructors/payments_paymentResult.md b/old_docs/API_docs_v65/constructors/payments_paymentResult.md deleted file mode 100644 index 12af1d36..00000000 --- a/old_docs/API_docs_v65/constructors/payments_paymentResult.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: payments.paymentResult -description: Payment result -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: payments.paymentResult -[Back to constructors index](index.md) - - - -Payment result - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|updates|[Updates](../types/Updates.md) | Yes|Info about the payment| - - - -### Type: [payments\_PaymentResult](../types/payments_PaymentResult.md) - - -### Example: - -```php -$payments_paymentResult = ['_' => 'payments.paymentResult', 'updates' => Updates]; -``` - - -Or, if you're into Lua: - -```lua -payments_paymentResult={_='payments.paymentResult', updates=Updates} - -``` - - diff --git a/old_docs/API_docs_v65/constructors/payments_paymentVerficationNeeded.md b/old_docs/API_docs_v65/constructors/payments_paymentVerficationNeeded.md deleted file mode 100644 index 70ca205d..00000000 --- a/old_docs/API_docs_v65/constructors/payments_paymentVerficationNeeded.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: payments.paymentVerficationNeeded -description: Payment verfication needed -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: payments.paymentVerficationNeeded -[Back to constructors index](index.md) - - - -Payment verfication needed - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|url|[string](../types/string.md) | Yes|URL| - - - -### Type: [payments\_PaymentResult](../types/payments_PaymentResult.md) - - -### Example: - -```php -$payments_paymentVerficationNeeded = ['_' => 'payments.paymentVerficationNeeded', 'url' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -payments_paymentVerficationNeeded={_='payments.paymentVerficationNeeded', url='string'} - -``` - - diff --git a/old_docs/API_docs_v65/constructors/payments_savedInfo.md b/old_docs/API_docs_v65/constructors/payments_savedInfo.md deleted file mode 100644 index 19d3aee5..00000000 --- a/old_docs/API_docs_v65/constructors/payments_savedInfo.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: payments.savedInfo -description: Saved server-side order information -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: payments.savedInfo -[Back to constructors index](index.md) - - - -Saved server-side order information - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|has\_saved\_credentials|[Bool](../types/Bool.md) | Optional|Whether the user has some saved payment credentials| -|saved\_info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Optional|Saved server-side order information| - - - -### Type: [payments\_SavedInfo](../types/payments_SavedInfo.md) - - -### Example: - -```php -$payments_savedInfo = ['_' => 'payments.savedInfo', 'has_saved_credentials' => Bool, 'saved_info' => PaymentRequestedInfo]; -``` - - -Or, if you're into Lua: - -```lua -payments_savedInfo={_='payments.savedInfo', has_saved_credentials=Bool, saved_info=PaymentRequestedInfo} - -``` - - diff --git a/old_docs/API_docs_v65/constructors/payments_validatedRequestedInfo.md b/old_docs/API_docs_v65/constructors/payments_validatedRequestedInfo.md deleted file mode 100644 index a07c7d06..00000000 --- a/old_docs/API_docs_v65/constructors/payments_validatedRequestedInfo.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: payments.validatedRequestedInfo -description: Validated user-provided info -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: payments.validatedRequestedInfo -[Back to constructors index](index.md) - - - -Validated user-provided info - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|id|[string](../types/string.md) | Optional|ID| -|shipping\_options|Array of [ShippingOption](../types/ShippingOption.md) | Optional|Shipping options| - - - -### Type: [payments\_ValidatedRequestedInfo](../types/payments_ValidatedRequestedInfo.md) - - -### Example: - -```php -$payments_validatedRequestedInfo = ['_' => 'payments.validatedRequestedInfo', 'id' => 'string', 'shipping_options' => [ShippingOption, ShippingOption]]; -``` - - -Or, if you're into Lua: - -```lua -payments_validatedRequestedInfo={_='payments.validatedRequestedInfo', id='string', shipping_options={ShippingOption}} - -``` - - diff --git a/old_docs/API_docs_v65/constructors/phone.phoneCall.md b/old_docs/API_docs_v65/constructors/phone.phoneCall.md new file mode 100644 index 00000000..8c1d26d4 --- /dev/null +++ b/old_docs/API_docs_v65/constructors/phone.phoneCall.md @@ -0,0 +1,39 @@ +--- +title: phone.phoneCall +description: A VoIP phone call +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: phone.phoneCall +[Back to constructors index](index.md) + + + +A VoIP phone call + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_call|[PhoneCall](../types/PhoneCall.md) | Optional|The VoIP phone call| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [phone.PhoneCall](../types/phone.PhoneCall.md) + + +### Example: + +```php +$phone.phoneCall = ['_' => 'phone.phoneCall', 'phone_call' => PhoneCall, 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +phone.phoneCall={_='phone.phoneCall', phone_call=PhoneCall, users={User}} + +``` + + diff --git a/old_docs/API_docs_v65/constructors/phone_phoneCall.md b/old_docs/API_docs_v65/constructors/phone_phoneCall.md deleted file mode 100644 index 94314567..00000000 --- a/old_docs/API_docs_v65/constructors/phone_phoneCall.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: phone.phoneCall -description: A VoIP phone call -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: phone.phoneCall -[Back to constructors index](index.md) - - - -A VoIP phone call - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_call|[PhoneCall](../types/PhoneCall.md) | Optional|The VoIP phone call| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [phone\_PhoneCall](../types/phone_PhoneCall.md) - - -### Example: - -```php -$phone_phoneCall = ['_' => 'phone.phoneCall', 'phone_call' => PhoneCall, 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -phone_phoneCall={_='phone.phoneCall', phone_call=PhoneCall, users={User}} - -``` - - diff --git a/old_docs/API_docs_v65/constructors/photos.photo.md b/old_docs/API_docs_v65/constructors/photos.photo.md new file mode 100644 index 00000000..43d3efc7 --- /dev/null +++ b/old_docs/API_docs_v65/constructors/photos.photo.md @@ -0,0 +1,39 @@ +--- +title: photos.photo +description: Photo with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: photos.photo +[Back to constructors index](index.md) + + + +Photo with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|photo|[Photo](../types/Photo.md) | Optional|Photo| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [photos.Photo](../types/photos.Photo.md) + + +### Example: + +```php +$photos.photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +photos.photo={_='photos.photo', photo=Photo, users={User}} + +``` + + diff --git a/old_docs/API_docs_v65/constructors/photos.photos.md b/old_docs/API_docs_v65/constructors/photos.photos.md new file mode 100644 index 00000000..901a9693 --- /dev/null +++ b/old_docs/API_docs_v65/constructors/photos.photos.md @@ -0,0 +1,39 @@ +--- +title: photos.photos +description: Full list of photos with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: photos.photos +[Back to constructors index](index.md) + + + +Full list of photos with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [photos.Photos](../types/photos.Photos.md) + + +### Example: + +```php +$photos.photos = ['_' => 'photos.photos', 'photos' => [Photo, Photo], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +photos.photos={_='photos.photos', photos={Photo}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v65/constructors/photos.photosSlice.md b/old_docs/API_docs_v65/constructors/photos.photosSlice.md new file mode 100644 index 00000000..2cca3546 --- /dev/null +++ b/old_docs/API_docs_v65/constructors/photos.photosSlice.md @@ -0,0 +1,40 @@ +--- +title: photos.photosSlice +description: Incomplete list of photos with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: photos.photosSlice +[Back to constructors index](index.md) + + + +Incomplete list of photos with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of photos| +|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [photos.Photos](../types/photos.Photos.md) + + +### Example: + +```php +$photos.photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo, Photo], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +photos.photosSlice={_='photos.photosSlice', count=int, photos={Photo}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v65/constructors/photos_photo.md b/old_docs/API_docs_v65/constructors/photos_photo.md deleted file mode 100644 index d5ad61d9..00000000 --- a/old_docs/API_docs_v65/constructors/photos_photo.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: photos.photo -description: Photo with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: photos.photo -[Back to constructors index](index.md) - - - -Photo with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|photo|[Photo](../types/Photo.md) | Optional|Photo| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [photos\_Photo](../types/photos_Photo.md) - - -### Example: - -```php -$photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -photos_photo={_='photos.photo', photo=Photo, users={User}} - -``` - - diff --git a/old_docs/API_docs_v65/constructors/photos_photos.md b/old_docs/API_docs_v65/constructors/photos_photos.md deleted file mode 100644 index 6ae5d048..00000000 --- a/old_docs/API_docs_v65/constructors/photos_photos.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: photos.photos -description: Full list of photos with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: photos.photos -[Back to constructors index](index.md) - - - -Full list of photos with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [photos\_Photos](../types/photos_Photos.md) - - -### Example: - -```php -$photos_photos = ['_' => 'photos.photos', 'photos' => [Photo, Photo], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -photos_photos={_='photos.photos', photos={Photo}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v65/constructors/photos_photosSlice.md b/old_docs/API_docs_v65/constructors/photos_photosSlice.md deleted file mode 100644 index 5c465c21..00000000 --- a/old_docs/API_docs_v65/constructors/photos_photosSlice.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: photos.photosSlice -description: Incomplete list of photos with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: photos.photosSlice -[Back to constructors index](index.md) - - - -Incomplete list of photos with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of photos| -|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [photos\_Photos](../types/photos_Photos.md) - - -### Example: - -```php -$photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo, Photo], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -photos_photosSlice={_='photos.photosSlice', count=int, photos={Photo}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v65/constructors/storage.fileGif.md b/old_docs/API_docs_v65/constructors/storage.fileGif.md new file mode 100644 index 00000000..8193bd25 --- /dev/null +++ b/old_docs/API_docs_v65/constructors/storage.fileGif.md @@ -0,0 +1,33 @@ +--- +title: storage.fileGif +description: GIF image. MIME type: `image/gif`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileGif +[Back to constructors index](index.md) + + + +GIF image. MIME type: `image/gif`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileGif = ['_' => 'storage.fileGif']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileGif={_='storage.fileGif'} + +``` + + diff --git a/old_docs/API_docs_v65/constructors/storage.fileJpeg.md b/old_docs/API_docs_v65/constructors/storage.fileJpeg.md new file mode 100644 index 00000000..7f125963 --- /dev/null +++ b/old_docs/API_docs_v65/constructors/storage.fileJpeg.md @@ -0,0 +1,33 @@ +--- +title: storage.fileJpeg +description: JPEG image. MIME type: `image/jpeg`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileJpeg +[Back to constructors index](index.md) + + + +JPEG image. MIME type: `image/jpeg`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileJpeg = ['_' => 'storage.fileJpeg']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileJpeg={_='storage.fileJpeg'} + +``` + + diff --git a/old_docs/API_docs_v65/constructors/storage.fileMov.md b/old_docs/API_docs_v65/constructors/storage.fileMov.md new file mode 100644 index 00000000..cb3742e0 --- /dev/null +++ b/old_docs/API_docs_v65/constructors/storage.fileMov.md @@ -0,0 +1,33 @@ +--- +title: storage.fileMov +description: Quicktime video. MIME type: `video/quicktime`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileMov +[Back to constructors index](index.md) + + + +Quicktime video. MIME type: `video/quicktime`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileMov = ['_' => 'storage.fileMov']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileMov={_='storage.fileMov'} + +``` + + diff --git a/old_docs/API_docs_v65/constructors/storage.fileMp3.md b/old_docs/API_docs_v65/constructors/storage.fileMp3.md new file mode 100644 index 00000000..617f2d39 --- /dev/null +++ b/old_docs/API_docs_v65/constructors/storage.fileMp3.md @@ -0,0 +1,33 @@ +--- +title: storage.fileMp3 +description: Mp3 audio. MIME type: `audio/mpeg`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileMp3 +[Back to constructors index](index.md) + + + +Mp3 audio. MIME type: `audio/mpeg`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileMp3 = ['_' => 'storage.fileMp3']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileMp3={_='storage.fileMp3'} + +``` + + diff --git a/old_docs/API_docs_v65/constructors/storage.fileMp4.md b/old_docs/API_docs_v65/constructors/storage.fileMp4.md new file mode 100644 index 00000000..37038176 --- /dev/null +++ b/old_docs/API_docs_v65/constructors/storage.fileMp4.md @@ -0,0 +1,33 @@ +--- +title: storage.fileMp4 +description: MPEG-4 video. MIME type: `video/mp4`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileMp4 +[Back to constructors index](index.md) + + + +MPEG-4 video. MIME type: `video/mp4`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileMp4 = ['_' => 'storage.fileMp4']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileMp4={_='storage.fileMp4'} + +``` + + diff --git a/old_docs/API_docs_v65/constructors/storage.filePartial.md b/old_docs/API_docs_v65/constructors/storage.filePartial.md new file mode 100644 index 00000000..98779e71 --- /dev/null +++ b/old_docs/API_docs_v65/constructors/storage.filePartial.md @@ -0,0 +1,33 @@ +--- +title: storage.filePartial +description: Part of a bigger file. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.filePartial +[Back to constructors index](index.md) + + + +Part of a bigger file. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.filePartial = ['_' => 'storage.filePartial']; +``` + + +Or, if you're into Lua: + +```lua +storage.filePartial={_='storage.filePartial'} + +``` + + diff --git a/old_docs/API_docs_v65/constructors/storage.filePdf.md b/old_docs/API_docs_v65/constructors/storage.filePdf.md new file mode 100644 index 00000000..136c0614 --- /dev/null +++ b/old_docs/API_docs_v65/constructors/storage.filePdf.md @@ -0,0 +1,33 @@ +--- +title: storage.filePdf +description: PDF document image. MIME type: `application/pdf`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.filePdf +[Back to constructors index](index.md) + + + +PDF document image. MIME type: `application/pdf`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.filePdf = ['_' => 'storage.filePdf']; +``` + + +Or, if you're into Lua: + +```lua +storage.filePdf={_='storage.filePdf'} + +``` + + diff --git a/old_docs/API_docs_v65/constructors/storage.filePng.md b/old_docs/API_docs_v65/constructors/storage.filePng.md new file mode 100644 index 00000000..db01ce0e --- /dev/null +++ b/old_docs/API_docs_v65/constructors/storage.filePng.md @@ -0,0 +1,33 @@ +--- +title: storage.filePng +description: PNG image. MIME type: `image/png`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.filePng +[Back to constructors index](index.md) + + + +PNG image. MIME type: `image/png`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.filePng = ['_' => 'storage.filePng']; +``` + + +Or, if you're into Lua: + +```lua +storage.filePng={_='storage.filePng'} + +``` + + diff --git a/old_docs/API_docs_v65/constructors/storage.fileUnknown.md b/old_docs/API_docs_v65/constructors/storage.fileUnknown.md new file mode 100644 index 00000000..26f0a5ae --- /dev/null +++ b/old_docs/API_docs_v65/constructors/storage.fileUnknown.md @@ -0,0 +1,33 @@ +--- +title: storage.fileUnknown +description: Unknown type. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileUnknown +[Back to constructors index](index.md) + + + +Unknown type. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileUnknown = ['_' => 'storage.fileUnknown']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileUnknown={_='storage.fileUnknown'} + +``` + + diff --git a/old_docs/API_docs_v65/constructors/storage.fileWebp.md b/old_docs/API_docs_v65/constructors/storage.fileWebp.md new file mode 100644 index 00000000..63c9ded1 --- /dev/null +++ b/old_docs/API_docs_v65/constructors/storage.fileWebp.md @@ -0,0 +1,33 @@ +--- +title: storage.fileWebp +description: WEBP image. MIME type: `image/webp`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileWebp +[Back to constructors index](index.md) + + + +WEBP image. MIME type: `image/webp`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileWebp = ['_' => 'storage.fileWebp']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileWebp={_='storage.fileWebp'} + +``` + + diff --git a/old_docs/API_docs_v65/constructors/storage_fileGif.md b/old_docs/API_docs_v65/constructors/storage_fileGif.md deleted file mode 100644 index 218c7491..00000000 --- a/old_docs/API_docs_v65/constructors/storage_fileGif.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileGif -description: GIF image. MIME type: `image/gif`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileGif -[Back to constructors index](index.md) - - - -GIF image. MIME type: `image/gif`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileGif = ['_' => 'storage.fileGif']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileGif={_='storage.fileGif'} - -``` - - diff --git a/old_docs/API_docs_v65/constructors/storage_fileJpeg.md b/old_docs/API_docs_v65/constructors/storage_fileJpeg.md deleted file mode 100644 index 925531cd..00000000 --- a/old_docs/API_docs_v65/constructors/storage_fileJpeg.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileJpeg -description: JPEG image. MIME type: `image/jpeg`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileJpeg -[Back to constructors index](index.md) - - - -JPEG image. MIME type: `image/jpeg`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileJpeg = ['_' => 'storage.fileJpeg']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileJpeg={_='storage.fileJpeg'} - -``` - - diff --git a/old_docs/API_docs_v65/constructors/storage_fileMov.md b/old_docs/API_docs_v65/constructors/storage_fileMov.md deleted file mode 100644 index eaf2a6ff..00000000 --- a/old_docs/API_docs_v65/constructors/storage_fileMov.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileMov -description: Quicktime video. MIME type: `video/quicktime`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileMov -[Back to constructors index](index.md) - - - -Quicktime video. MIME type: `video/quicktime`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileMov = ['_' => 'storage.fileMov']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileMov={_='storage.fileMov'} - -``` - - diff --git a/old_docs/API_docs_v65/constructors/storage_fileMp3.md b/old_docs/API_docs_v65/constructors/storage_fileMp3.md deleted file mode 100644 index 9afcefbb..00000000 --- a/old_docs/API_docs_v65/constructors/storage_fileMp3.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileMp3 -description: Mp3 audio. MIME type: `audio/mpeg`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileMp3 -[Back to constructors index](index.md) - - - -Mp3 audio. MIME type: `audio/mpeg`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileMp3 = ['_' => 'storage.fileMp3']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileMp3={_='storage.fileMp3'} - -``` - - diff --git a/old_docs/API_docs_v65/constructors/storage_fileMp4.md b/old_docs/API_docs_v65/constructors/storage_fileMp4.md deleted file mode 100644 index cdc0e783..00000000 --- a/old_docs/API_docs_v65/constructors/storage_fileMp4.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileMp4 -description: MPEG-4 video. MIME type: `video/mp4`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileMp4 -[Back to constructors index](index.md) - - - -MPEG-4 video. MIME type: `video/mp4`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileMp4 = ['_' => 'storage.fileMp4']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileMp4={_='storage.fileMp4'} - -``` - - diff --git a/old_docs/API_docs_v65/constructors/storage_filePartial.md b/old_docs/API_docs_v65/constructors/storage_filePartial.md deleted file mode 100644 index 9bfadf63..00000000 --- a/old_docs/API_docs_v65/constructors/storage_filePartial.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.filePartial -description: Part of a bigger file. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.filePartial -[Back to constructors index](index.md) - - - -Part of a bigger file. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_filePartial = ['_' => 'storage.filePartial']; -``` - - -Or, if you're into Lua: - -```lua -storage_filePartial={_='storage.filePartial'} - -``` - - diff --git a/old_docs/API_docs_v65/constructors/storage_filePdf.md b/old_docs/API_docs_v65/constructors/storage_filePdf.md deleted file mode 100644 index efb022cc..00000000 --- a/old_docs/API_docs_v65/constructors/storage_filePdf.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.filePdf -description: PDF document image. MIME type: `application/pdf`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.filePdf -[Back to constructors index](index.md) - - - -PDF document image. MIME type: `application/pdf`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_filePdf = ['_' => 'storage.filePdf']; -``` - - -Or, if you're into Lua: - -```lua -storage_filePdf={_='storage.filePdf'} - -``` - - diff --git a/old_docs/API_docs_v65/constructors/storage_filePng.md b/old_docs/API_docs_v65/constructors/storage_filePng.md deleted file mode 100644 index 412759e4..00000000 --- a/old_docs/API_docs_v65/constructors/storage_filePng.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.filePng -description: PNG image. MIME type: `image/png`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.filePng -[Back to constructors index](index.md) - - - -PNG image. MIME type: `image/png`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_filePng = ['_' => 'storage.filePng']; -``` - - -Or, if you're into Lua: - -```lua -storage_filePng={_='storage.filePng'} - -``` - - diff --git a/old_docs/API_docs_v65/constructors/storage_fileUnknown.md b/old_docs/API_docs_v65/constructors/storage_fileUnknown.md deleted file mode 100644 index ed33dd5e..00000000 --- a/old_docs/API_docs_v65/constructors/storage_fileUnknown.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileUnknown -description: Unknown type. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileUnknown -[Back to constructors index](index.md) - - - -Unknown type. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileUnknown = ['_' => 'storage.fileUnknown']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileUnknown={_='storage.fileUnknown'} - -``` - - diff --git a/old_docs/API_docs_v65/constructors/storage_fileWebp.md b/old_docs/API_docs_v65/constructors/storage_fileWebp.md deleted file mode 100644 index 04dcad74..00000000 --- a/old_docs/API_docs_v65/constructors/storage_fileWebp.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileWebp -description: WEBP image. MIME type: `image/webp`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileWebp -[Back to constructors index](index.md) - - - -WEBP image. MIME type: `image/webp`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileWebp = ['_' => 'storage.fileWebp']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileWebp={_='storage.fileWebp'} - -``` - - diff --git a/old_docs/API_docs_v65/constructors/updateNewStickerSet.md b/old_docs/API_docs_v65/constructors/updateNewStickerSet.md index 8a99a363..c32c41ff 100644 --- a/old_docs/API_docs_v65/constructors/updateNewStickerSet.md +++ b/old_docs/API_docs_v65/constructors/updateNewStickerSet.md @@ -14,7 +14,7 @@ A new stickerset was installed | Name | Type | Required | Description | |----------|---------------|----------|-------------| -|stickerset|[messages\_StickerSet](../types/messages_StickerSet.md) | Yes|The installed stickerset| +|stickerset|[messages.StickerSet](../constructors/messages.StickerSet.md) | Yes|The installed stickerset| @@ -24,14 +24,14 @@ A new stickerset was installed ### Example: ```php -$updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages_StickerSet]; +$updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages.StickerSet]; ``` Or, if you're into Lua: ```lua -updateNewStickerSet={_='updateNewStickerSet', stickerset=messages_StickerSet} +updateNewStickerSet={_='updateNewStickerSet', stickerset=messages.StickerSet} ``` diff --git a/old_docs/API_docs_v65/constructors/updates.channelDifference.md b/old_docs/API_docs_v65/constructors/updates.channelDifference.md new file mode 100644 index 00000000..5a13791c --- /dev/null +++ b/old_docs/API_docs_v65/constructors/updates.channelDifference.md @@ -0,0 +1,44 @@ +--- +title: updates.channelDifference +description: The new updates +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.channelDifference +[Back to constructors index](index.md) + + + +The new updates + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates to be fetched using getDifference, starting from the provided `pts`| +|pts|[int](../types/int.md) | Yes|The [PTS](https://core.telegram.org/api/updates) from which to start getting updates the next time| +|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| +|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| +|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [updates.ChannelDifference](../types/updates.ChannelDifference.md) + + +### Example: + +```php +$updates.channelDifference = ['_' => 'updates.channelDifference', 'final' => Bool, 'pts' => int, 'timeout' => int, 'new_messages' => [Message, Message], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +updates.channelDifference={_='updates.channelDifference', final=Bool, pts=int, timeout=int, new_messages={Message}, other_updates={Update}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v65/constructors/updates.channelDifferenceEmpty.md b/old_docs/API_docs_v65/constructors/updates.channelDifferenceEmpty.md new file mode 100644 index 00000000..8ce43da4 --- /dev/null +++ b/old_docs/API_docs_v65/constructors/updates.channelDifferenceEmpty.md @@ -0,0 +1,40 @@ +--- +title: updates.channelDifferenceEmpty +description: There are no new updates +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.channelDifferenceEmpty +[Back to constructors index](index.md) + + + +There are no new updates + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates that must be fetched (always false)| +|pts|[int](../types/int.md) | Yes|The latest [PTS](https://core.telegram.org/api/updates)| +|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| + + + +### Type: [updates.ChannelDifference](../types/updates.ChannelDifference.md) + + +### Example: + +```php +$updates.channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'final' => Bool, 'pts' => int, 'timeout' => int]; +``` + + +Or, if you're into Lua: + +```lua +updates.channelDifferenceEmpty={_='updates.channelDifferenceEmpty', final=Bool, pts=int, timeout=int} + +``` + + diff --git a/old_docs/API_docs_v65/constructors/updates.channelDifferenceTooLong.md b/old_docs/API_docs_v65/constructors/updates.channelDifferenceTooLong.md new file mode 100644 index 00000000..3d47a6df --- /dev/null +++ b/old_docs/API_docs_v65/constructors/updates.channelDifferenceTooLong.md @@ -0,0 +1,57 @@ +--- +title: updates.channelDifferenceTooLong +description: The provided `pts + limit < remote pts`. Simply, there are too many updates to be fetched (more than `limit`), the client has to resolve the update gap in one of the following ways: + +1. Delete all known messages in the chat, begin from scratch by refetching all messages manually with [getHistory](../methods/messages.getHistory.md). It is easy to implement, but suddenly disappearing messages looks awful for the user. +2. Save all messages loaded in the memory until application restart, but delete all messages from database. Messages left in the memory must be lazily updated using calls to [getHistory](../methods/messages.getHistory.md). It looks much smoothly for the user, he will need to redownload messages only after client restart. Unsynchronized messages left in the memory shouldn't be saved to database, results of [getHistory](../methods/messages.getHistory.md) and [getMessages](../methods/messages.getMessages.md) must be used to update state of deleted and edited messages left in the memory. +3. Save all messages loaded in the memory and stored in the database without saving that some messages form continuous ranges. Messages in the database will be excluded from results of getChatHistory and searchChatMessages after application restart and will be available only through getMessage. Every message should still be checked using getHistory. It has more disadvantages over 2) than advantages. +4. Save all messages with saving all data about continuous message ranges. Messages from the database may be used as results of getChatHistory and (if implemented continuous ranges support for searching shared media) searchChatMessages. The messages should still be lazily checked using getHistory, but they are still available offline. It is the best way for gaps support, but it is pretty hard to implement correctly. It should be also noted that some messages like live location messages shouldn't be deleted. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.channelDifferenceTooLong +[Back to constructors index](index.md) + + + +The provided `pts + limit < remote pts`. Simply, there are too many updates to be fetched (more than `limit`), the client has to resolve the update gap in one of the following ways: + +1. Delete all known messages in the chat, begin from scratch by refetching all messages manually with [getHistory](../methods/messages.getHistory.md). It is easy to implement, but suddenly disappearing messages looks awful for the user. +2. Save all messages loaded in the memory until application restart, but delete all messages from database. Messages left in the memory must be lazily updated using calls to [getHistory](../methods/messages.getHistory.md). It looks much smoothly for the user, he will need to redownload messages only after client restart. Unsynchronized messages left in the memory shouldn't be saved to database, results of [getHistory](../methods/messages.getHistory.md) and [getMessages](../methods/messages.getMessages.md) must be used to update state of deleted and edited messages left in the memory. +3. Save all messages loaded in the memory and stored in the database without saving that some messages form continuous ranges. Messages in the database will be excluded from results of getChatHistory and searchChatMessages after application restart and will be available only through getMessage. Every message should still be checked using getHistory. It has more disadvantages over 2) than advantages. +4. Save all messages with saving all data about continuous message ranges. Messages from the database may be used as results of getChatHistory and (if implemented continuous ranges support for searching shared media) searchChatMessages. The messages should still be lazily checked using getHistory, but they are still available offline. It is the best way for gaps support, but it is pretty hard to implement correctly. It should be also noted that some messages like live location messages shouldn't be deleted. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates that must be fetched (always false)| +|pts|[int](../types/int.md) | Yes|Pts| +|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| +|top\_message|[int](../types/int.md) | Yes|Top message| +|read\_inbox\_max\_id|[int](../types/int.md) | Yes|Read inbox max ID| +|read\_outbox\_max\_id|[int](../types/int.md) | Yes|Read outbox max ID| +|unread\_count|[int](../types/int.md) | Yes|Unread count| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [updates.ChannelDifference](../types/updates.ChannelDifference.md) + + +### Example: + +```php +$updates.channelDifferenceTooLong = ['_' => 'updates.channelDifferenceTooLong', 'final' => Bool, 'pts' => int, 'timeout' => int, 'top_message' => int, 'read_inbox_max_id' => int, 'read_outbox_max_id' => int, 'unread_count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +updates.channelDifferenceTooLong={_='updates.channelDifferenceTooLong', final=Bool, pts=int, timeout=int, top_message=int, read_inbox_max_id=int, read_outbox_max_id=int, unread_count=int, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v65/constructors/updates.difference.md b/old_docs/API_docs_v65/constructors/updates.difference.md new file mode 100644 index 00000000..82541b51 --- /dev/null +++ b/old_docs/API_docs_v65/constructors/updates.difference.md @@ -0,0 +1,43 @@ +--- +title: updates.difference +description: Full list of occurred events. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.difference +[Back to constructors index](index.md) + + + +Full list of occurred events. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| +|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| +|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| +|state|[updates.State](../constructors/updates.State.md) | Yes|Current state| + + + +### Type: [updates.Difference](../types/updates.Difference.md) + + +### Example: + +```php +$updates.difference = ['_' => 'updates.difference', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates.State]; +``` + + +Or, if you're into Lua: + +```lua +updates.difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates.State} + +``` + + diff --git a/old_docs/API_docs_v65/constructors/updates.differenceEmpty.md b/old_docs/API_docs_v65/constructors/updates.differenceEmpty.md new file mode 100644 index 00000000..a9dc3bd0 --- /dev/null +++ b/old_docs/API_docs_v65/constructors/updates.differenceEmpty.md @@ -0,0 +1,39 @@ +--- +title: updates.differenceEmpty +description: No events. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.differenceEmpty +[Back to constructors index](index.md) + + + +No events. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Current date| +|seq|[int](../types/int.md) | Yes|Number of sent updates| + + + +### Type: [updates.Difference](../types/updates.Difference.md) + + +### Example: + +```php +$updates.differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int]; +``` + + +Or, if you're into Lua: + +```lua +updates.differenceEmpty={_='updates.differenceEmpty', date=int, seq=int} + +``` + + diff --git a/old_docs/API_docs_v65/constructors/updates.differenceSlice.md b/old_docs/API_docs_v65/constructors/updates.differenceSlice.md new file mode 100644 index 00000000..9daf7a75 --- /dev/null +++ b/old_docs/API_docs_v65/constructors/updates.differenceSlice.md @@ -0,0 +1,43 @@ +--- +title: updates.differenceSlice +description: Incomplete list of occurred events. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.differenceSlice +[Back to constructors index](index.md) + + + +Incomplete list of occurred events. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| +|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| +|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| +|intermediate\_state|[updates.State](../constructors/updates.State.md) | Yes|Intermediary state| + + + +### Type: [updates.Difference](../types/updates.Difference.md) + + +### Example: + +```php +$updates.differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'intermediate_state' => updates.State]; +``` + + +Or, if you're into Lua: + +```lua +updates.differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates.State} + +``` + + diff --git a/old_docs/API_docs_v65/constructors/updates.differenceTooLong.md b/old_docs/API_docs_v65/constructors/updates.differenceTooLong.md new file mode 100644 index 00000000..ef2e7e4d --- /dev/null +++ b/old_docs/API_docs_v65/constructors/updates.differenceTooLong.md @@ -0,0 +1,38 @@ +--- +title: updates.differenceTooLong +description: The difference is [too long](https://core.telegram.org/api/updates#recovering-gaps), and the specified state must be used to refetch updates. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.differenceTooLong +[Back to constructors index](index.md) + + + +The difference is [too long](https://core.telegram.org/api/updates#recovering-gaps), and the specified state must be used to refetch updates. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|The new state to use.| + + + +### Type: [updates.Difference](../types/updates.Difference.md) + + +### Example: + +```php +$updates.differenceTooLong = ['_' => 'updates.differenceTooLong', 'pts' => int]; +``` + + +Or, if you're into Lua: + +```lua +updates.differenceTooLong={_='updates.differenceTooLong', pts=int} + +``` + + diff --git a/old_docs/API_docs_v65/constructors/updates.state.md b/old_docs/API_docs_v65/constructors/updates.state.md new file mode 100644 index 00000000..abe9ddbb --- /dev/null +++ b/old_docs/API_docs_v65/constructors/updates.state.md @@ -0,0 +1,42 @@ +--- +title: updates.state +description: Updates state. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.state +[Back to constructors index](index.md) + + + +Updates state. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| +|qts|[int](../types/int.md) | Yes|Position in a sequence of updates in secret chats. For further detailes refer to article [secret chats](https://core.telegram.org/api/end-to-end)
Parameter was added in [eigth layer](https://core.telegram.org/api/layers#layer-8).| +|date|[int](../types/int.md) | Yes|Date of condition| +|seq|[int](../types/int.md) | Yes|Number of sent updates| +|unread\_count|[int](../types/int.md) | Yes|Number of unread messages| + + + +### Type: [updates.State](../types/updates.State.md) + + +### Example: + +```php +$updates.state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int]; +``` + + +Or, if you're into Lua: + +```lua +updates.state={_='updates.state', pts=int, qts=int, date=int, seq=int, unread_count=int} + +``` + + diff --git a/old_docs/API_docs_v65/constructors/updates_channelDifference.md b/old_docs/API_docs_v65/constructors/updates_channelDifference.md deleted file mode 100644 index 1b50fbf3..00000000 --- a/old_docs/API_docs_v65/constructors/updates_channelDifference.md +++ /dev/null @@ -1,44 +0,0 @@ ---- -title: updates.channelDifference -description: The new updates -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.channelDifference -[Back to constructors index](index.md) - - - -The new updates - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates to be fetched using getDifference, starting from the provided `pts`| -|pts|[int](../types/int.md) | Yes|The [PTS](https://core.telegram.org/api/updates) from which to start getting updates the next time| -|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| -|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| -|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) - - -### Example: - -```php -$updates_channelDifference = ['_' => 'updates.channelDifference', 'final' => Bool, 'pts' => int, 'timeout' => int, 'new_messages' => [Message, Message], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -updates_channelDifference={_='updates.channelDifference', final=Bool, pts=int, timeout=int, new_messages={Message}, other_updates={Update}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v65/constructors/updates_channelDifferenceEmpty.md b/old_docs/API_docs_v65/constructors/updates_channelDifferenceEmpty.md deleted file mode 100644 index 713137aa..00000000 --- a/old_docs/API_docs_v65/constructors/updates_channelDifferenceEmpty.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: updates.channelDifferenceEmpty -description: There are no new updates -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.channelDifferenceEmpty -[Back to constructors index](index.md) - - - -There are no new updates - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates that must be fetched (always false)| -|pts|[int](../types/int.md) | Yes|The latest [PTS](https://core.telegram.org/api/updates)| -|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| - - - -### Type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) - - -### Example: - -```php -$updates_channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'final' => Bool, 'pts' => int, 'timeout' => int]; -``` - - -Or, if you're into Lua: - -```lua -updates_channelDifferenceEmpty={_='updates.channelDifferenceEmpty', final=Bool, pts=int, timeout=int} - -``` - - diff --git a/old_docs/API_docs_v65/constructors/updates_channelDifferenceTooLong.md b/old_docs/API_docs_v65/constructors/updates_channelDifferenceTooLong.md deleted file mode 100644 index fe561bca..00000000 --- a/old_docs/API_docs_v65/constructors/updates_channelDifferenceTooLong.md +++ /dev/null @@ -1,57 +0,0 @@ ---- -title: updates.channelDifferenceTooLong -description: The provided `pts + limit < remote pts`. Simply, there are too many updates to be fetched (more than `limit`), the client has to resolve the update gap in one of the following ways: - -1. Delete all known messages in the chat, begin from scratch by refetching all messages manually with [getHistory](../methods/messages.getHistory.md). It is easy to implement, but suddenly disappearing messages looks awful for the user. -2. Save all messages loaded in the memory until application restart, but delete all messages from database. Messages left in the memory must be lazily updated using calls to [getHistory](../methods/messages.getHistory.md). It looks much smoothly for the user, he will need to redownload messages only after client restart. Unsynchronized messages left in the memory shouldn't be saved to database, results of [getHistory](../methods/messages.getHistory.md) and [getMessages](../methods/messages.getMessages.md) must be used to update state of deleted and edited messages left in the memory. -3. Save all messages loaded in the memory and stored in the database without saving that some messages form continuous ranges. Messages in the database will be excluded from results of getChatHistory and searchChatMessages after application restart and will be available only through getMessage. Every message should still be checked using getHistory. It has more disadvantages over 2) than advantages. -4. Save all messages with saving all data about continuous message ranges. Messages from the database may be used as results of getChatHistory and (if implemented continuous ranges support for searching shared media) searchChatMessages. The messages should still be lazily checked using getHistory, but they are still available offline. It is the best way for gaps support, but it is pretty hard to implement correctly. It should be also noted that some messages like live location messages shouldn't be deleted. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.channelDifferenceTooLong -[Back to constructors index](index.md) - - - -The provided `pts + limit < remote pts`. Simply, there are too many updates to be fetched (more than `limit`), the client has to resolve the update gap in one of the following ways: - -1. Delete all known messages in the chat, begin from scratch by refetching all messages manually with [getHistory](../methods/messages.getHistory.md). It is easy to implement, but suddenly disappearing messages looks awful for the user. -2. Save all messages loaded in the memory until application restart, but delete all messages from database. Messages left in the memory must be lazily updated using calls to [getHistory](../methods/messages.getHistory.md). It looks much smoothly for the user, he will need to redownload messages only after client restart. Unsynchronized messages left in the memory shouldn't be saved to database, results of [getHistory](../methods/messages.getHistory.md) and [getMessages](../methods/messages.getMessages.md) must be used to update state of deleted and edited messages left in the memory. -3. Save all messages loaded in the memory and stored in the database without saving that some messages form continuous ranges. Messages in the database will be excluded from results of getChatHistory and searchChatMessages after application restart and will be available only through getMessage. Every message should still be checked using getHistory. It has more disadvantages over 2) than advantages. -4. Save all messages with saving all data about continuous message ranges. Messages from the database may be used as results of getChatHistory and (if implemented continuous ranges support for searching shared media) searchChatMessages. The messages should still be lazily checked using getHistory, but they are still available offline. It is the best way for gaps support, but it is pretty hard to implement correctly. It should be also noted that some messages like live location messages shouldn't be deleted. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates that must be fetched (always false)| -|pts|[int](../types/int.md) | Yes|Pts| -|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| -|top\_message|[int](../types/int.md) | Yes|Top message| -|read\_inbox\_max\_id|[int](../types/int.md) | Yes|Read inbox max ID| -|read\_outbox\_max\_id|[int](../types/int.md) | Yes|Read outbox max ID| -|unread\_count|[int](../types/int.md) | Yes|Unread count| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) - - -### Example: - -```php -$updates_channelDifferenceTooLong = ['_' => 'updates.channelDifferenceTooLong', 'final' => Bool, 'pts' => int, 'timeout' => int, 'top_message' => int, 'read_inbox_max_id' => int, 'read_outbox_max_id' => int, 'unread_count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -updates_channelDifferenceTooLong={_='updates.channelDifferenceTooLong', final=Bool, pts=int, timeout=int, top_message=int, read_inbox_max_id=int, read_outbox_max_id=int, unread_count=int, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v65/constructors/updates_difference.md b/old_docs/API_docs_v65/constructors/updates_difference.md deleted file mode 100644 index 71ac7d4c..00000000 --- a/old_docs/API_docs_v65/constructors/updates_difference.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: updates.difference -description: Full list of occurred events. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.difference -[Back to constructors index](index.md) - - - -Full list of occurred events. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| -|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| -|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| -|state|[updates\_State](../types/updates_State.md) | Yes|Current state| - - - -### Type: [updates\_Difference](../types/updates_Difference.md) - - -### Example: - -```php -$updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates_State]; -``` - - -Or, if you're into Lua: - -```lua -updates_difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates_State} - -``` - - diff --git a/old_docs/API_docs_v65/constructors/updates_differenceEmpty.md b/old_docs/API_docs_v65/constructors/updates_differenceEmpty.md deleted file mode 100644 index c3c95c5a..00000000 --- a/old_docs/API_docs_v65/constructors/updates_differenceEmpty.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: updates.differenceEmpty -description: No events. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.differenceEmpty -[Back to constructors index](index.md) - - - -No events. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Current date| -|seq|[int](../types/int.md) | Yes|Number of sent updates| - - - -### Type: [updates\_Difference](../types/updates_Difference.md) - - -### Example: - -```php -$updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int]; -``` - - -Or, if you're into Lua: - -```lua -updates_differenceEmpty={_='updates.differenceEmpty', date=int, seq=int} - -``` - - diff --git a/old_docs/API_docs_v65/constructors/updates_differenceSlice.md b/old_docs/API_docs_v65/constructors/updates_differenceSlice.md deleted file mode 100644 index 8b12a369..00000000 --- a/old_docs/API_docs_v65/constructors/updates_differenceSlice.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: updates.differenceSlice -description: Incomplete list of occurred events. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.differenceSlice -[Back to constructors index](index.md) - - - -Incomplete list of occurred events. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| -|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| -|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| -|intermediate\_state|[updates\_State](../types/updates_State.md) | Yes|Intermediary state| - - - -### Type: [updates\_Difference](../types/updates_Difference.md) - - -### Example: - -```php -$updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'intermediate_state' => updates_State]; -``` - - -Or, if you're into Lua: - -```lua -updates_differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates_State} - -``` - - diff --git a/old_docs/API_docs_v65/constructors/updates_differenceTooLong.md b/old_docs/API_docs_v65/constructors/updates_differenceTooLong.md deleted file mode 100644 index 1fbdfa01..00000000 --- a/old_docs/API_docs_v65/constructors/updates_differenceTooLong.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: updates.differenceTooLong -description: The difference is [too long](https://core.telegram.org/api/updates#recovering-gaps), and the specified state must be used to refetch updates. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.differenceTooLong -[Back to constructors index](index.md) - - - -The difference is [too long](https://core.telegram.org/api/updates#recovering-gaps), and the specified state must be used to refetch updates. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|The new state to use.| - - - -### Type: [updates\_Difference](../types/updates_Difference.md) - - -### Example: - -```php -$updates_differenceTooLong = ['_' => 'updates.differenceTooLong', 'pts' => int]; -``` - - -Or, if you're into Lua: - -```lua -updates_differenceTooLong={_='updates.differenceTooLong', pts=int} - -``` - - diff --git a/old_docs/API_docs_v65/constructors/updates_state.md b/old_docs/API_docs_v65/constructors/updates_state.md deleted file mode 100644 index ef3698e2..00000000 --- a/old_docs/API_docs_v65/constructors/updates_state.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: updates.state -description: Updates state. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.state -[Back to constructors index](index.md) - - - -Updates state. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| -|qts|[int](../types/int.md) | Yes|Position in a sequence of updates in secret chats. For further detailes refer to article [secret chats](https://core.telegram.org/api/end-to-end)
Parameter was added in [eigth layer](https://core.telegram.org/api/layers#layer-8).| -|date|[int](../types/int.md) | Yes|Date of condition| -|seq|[int](../types/int.md) | Yes|Number of sent updates| -|unread\_count|[int](../types/int.md) | Yes|Number of unread messages| - - - -### Type: [updates\_State](../types/updates_State.md) - - -### Example: - -```php -$updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int]; -``` - - -Or, if you're into Lua: - -```lua -updates_state={_='updates.state', pts=int, qts=int, date=int, seq=int, unread_count=int} - -``` - - diff --git a/old_docs/API_docs_v65/constructors/upload.file.md b/old_docs/API_docs_v65/constructors/upload.file.md new file mode 100644 index 00000000..145a4c24 --- /dev/null +++ b/old_docs/API_docs_v65/constructors/upload.file.md @@ -0,0 +1,40 @@ +--- +title: upload.file +description: File content. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: upload.file +[Back to constructors index](index.md) + + + +File content. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|type|[storage.FileType](../constructors/storage.FileType.md) | Yes|File type| +|mtime|[int](../types/int.md) | Yes|Modification type| +|bytes|[bytes](../types/bytes.md) | Yes|Binary data, file content| + + + +### Type: [upload.File](../types/upload.File.md) + + +### Example: + +```php +$upload.file = ['_' => 'upload.file', 'type' => storage.FileType, 'mtime' => int, 'bytes' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +upload.file={_='upload.file', type=storage.FileType, mtime=int, bytes='bytes'} + +``` + + diff --git a/old_docs/API_docs_v65/constructors/upload.webFile.md b/old_docs/API_docs_v65/constructors/upload.webFile.md new file mode 100644 index 00000000..a93ea94f --- /dev/null +++ b/old_docs/API_docs_v65/constructors/upload.webFile.md @@ -0,0 +1,42 @@ +--- +title: upload.webFile +description: Represents a chunk of an [HTTP webfile](https://core.telegram.org/api/files) downloaded through telegram's secure MTProto servers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: upload.webFile +[Back to constructors index](index.md) + + + +Represents a chunk of an [HTTP webfile](https://core.telegram.org/api/files) downloaded through telegram's secure MTProto servers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|size|[int](../types/int.md) | Yes|File size| +|mime\_type|[string](../types/string.md) | Yes|Mime type| +|file\_type|[storage.FileType](../constructors/storage.FileType.md) | Yes|File type| +|mtime|[int](../types/int.md) | Yes|Modified time| +|bytes|[bytes](../types/bytes.md) | Yes|Data| + + + +### Type: [upload.WebFile](../types/upload.WebFile.md) + + +### Example: + +```php +$upload.webFile = ['_' => 'upload.webFile', 'size' => int, 'mime_type' => 'string', 'file_type' => storage.FileType, 'mtime' => int, 'bytes' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +upload.webFile={_='upload.webFile', size=int, mime_type='string', file_type=storage.FileType, mtime=int, bytes='bytes'} + +``` + + diff --git a/old_docs/API_docs_v65/constructors/upload_file.md b/old_docs/API_docs_v65/constructors/upload_file.md deleted file mode 100644 index 1e07d9fb..00000000 --- a/old_docs/API_docs_v65/constructors/upload_file.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: upload.file -description: File content. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: upload.file -[Back to constructors index](index.md) - - - -File content. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|type|[storage\_FileType](../types/storage_FileType.md) | Yes|File type| -|mtime|[int](../types/int.md) | Yes|Modification type| -|bytes|[bytes](../types/bytes.md) | Yes|Binary data, file content| - - - -### Type: [upload\_File](../types/upload_File.md) - - -### Example: - -```php -$upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int, 'bytes' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -upload_file={_='upload.file', type=storage_FileType, mtime=int, bytes='bytes'} - -``` - - diff --git a/old_docs/API_docs_v65/constructors/upload_webFile.md b/old_docs/API_docs_v65/constructors/upload_webFile.md deleted file mode 100644 index ee8053b1..00000000 --- a/old_docs/API_docs_v65/constructors/upload_webFile.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: upload.webFile -description: Represents a chunk of an [HTTP webfile](https://core.telegram.org/api/files) downloaded through telegram's secure MTProto servers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: upload.webFile -[Back to constructors index](index.md) - - - -Represents a chunk of an [HTTP webfile](https://core.telegram.org/api/files) downloaded through telegram's secure MTProto servers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|size|[int](../types/int.md) | Yes|File size| -|mime\_type|[string](../types/string.md) | Yes|Mime type| -|file\_type|[storage\_FileType](../types/storage_FileType.md) | Yes|File type| -|mtime|[int](../types/int.md) | Yes|Modified time| -|bytes|[bytes](../types/bytes.md) | Yes|Data| - - - -### Type: [upload\_WebFile](../types/upload_WebFile.md) - - -### Example: - -```php -$upload_webFile = ['_' => 'upload.webFile', 'size' => int, 'mime_type' => 'string', 'file_type' => storage_FileType, 'mtime' => int, 'bytes' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -upload_webFile={_='upload.webFile', size=int, mime_type='string', file_type=storage_FileType, mtime=int, bytes='bytes'} - -``` - - diff --git a/old_docs/API_docs_v65/constructors/userFull.md b/old_docs/API_docs_v65/constructors/userFull.md index 31af6535..e44e0673 100644 --- a/old_docs/API_docs_v65/constructors/userFull.md +++ b/old_docs/API_docs_v65/constructors/userFull.md @@ -19,7 +19,7 @@ Extended user info |phone\_calls\_private|[Bool](../types/Bool.md) | Optional|Whether this user's privacy settings allow you to call him| |user|[User](../types/User.md) | Optional|Remaining user info| |about|[string](../types/string.md) | Optional|Bio of the user| -|link|[contacts\_Link](../types/contacts_Link.md) | Yes|Link| +|link|[contacts.Link](../constructors/contacts.Link.md) | Yes|Link| |profile\_photo|[Photo](../types/Photo.md) | Optional|Profile photo| |notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Optional|Notification settings| |bot\_info|[BotInfo](../types/BotInfo.md) | Optional|For bots, info about the bot (bot commands, etc)| @@ -33,14 +33,14 @@ Extended user info ### Example: ```php -$userFull = ['_' => 'userFull', 'blocked' => Bool, 'phone_calls_available' => Bool, 'phone_calls_private' => Bool, 'user' => User, 'about' => 'string', 'link' => contacts_Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'bot_info' => BotInfo, 'common_chats_count' => int]; +$userFull = ['_' => 'userFull', 'blocked' => Bool, 'phone_calls_available' => Bool, 'phone_calls_private' => Bool, 'user' => User, 'about' => 'string', 'link' => contacts.Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'bot_info' => BotInfo, 'common_chats_count' => int]; ``` Or, if you're into Lua: ```lua -userFull={_='userFull', blocked=Bool, phone_calls_available=Bool, phone_calls_private=Bool, user=User, about='string', link=contacts_Link, profile_photo=Photo, notify_settings=PeerNotifySettings, bot_info=BotInfo, common_chats_count=int} +userFull={_='userFull', blocked=Bool, phone_calls_available=Bool, phone_calls_private=Bool, user=User, about='string', link=contacts.Link, profile_photo=Photo, notify_settings=PeerNotifySettings, bot_info=BotInfo, common_chats_count=int} ``` diff --git a/old_docs/API_docs_v65/methods/account.getAuthorizations.md b/old_docs/API_docs_v65/methods/account.getAuthorizations.md index f69c130a..fad3a7ae 100644 --- a/old_docs/API_docs_v65/methods/account.getAuthorizations.md +++ b/old_docs/API_docs_v65/methods/account.getAuthorizations.md @@ -11,7 +11,7 @@ Get logged-in sessions -### Return type: [account\_Authorizations](../types/account_Authorizations.md) +### Return type: [account.Authorizations](../types/account.Authorizations.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_Authorizations = $MadelineProto->account->getAuthorizations(); +$account.Authorizations = $MadelineProto->account->getAuthorizations(); ``` Or, if you're into Lua: ```lua -account_Authorizations = account.getAuthorizations({}) +account.Authorizations = account.getAuthorizations({}) ``` diff --git a/old_docs/API_docs_v65/methods/account.getPassword.md b/old_docs/API_docs_v65/methods/account.getPassword.md index eed4aee3..621271b6 100644 --- a/old_docs/API_docs_v65/methods/account.getPassword.md +++ b/old_docs/API_docs_v65/methods/account.getPassword.md @@ -11,7 +11,7 @@ Obtain configuration for two-factor authorization with password -### Return type: [account\_Password](../types/account_Password.md) +### Return type: [account.Password](../types/account.Password.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_Password = $MadelineProto->account->getPassword(); +$account.Password = $MadelineProto->account->getPassword(); ``` Or, if you're into Lua: ```lua -account_Password = account.getPassword({}) +account.Password = account.getPassword({}) ``` diff --git a/old_docs/API_docs_v65/methods/account.getPasswordSettings.md b/old_docs/API_docs_v65/methods/account.getPasswordSettings.md index dcdae61a..3d3cce08 100644 --- a/old_docs/API_docs_v65/methods/account.getPasswordSettings.md +++ b/old_docs/API_docs_v65/methods/account.getPasswordSettings.md @@ -16,7 +16,7 @@ You cannot use this method directly; use $MadelineProto->update_2fa($params), in |current\_password\_hash|[bytes](../types/bytes.md) | You cannot use this method directly; use $MadelineProto->update_2fa($params), instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [account\_PasswordSettings](../types/account_PasswordSettings.md) +### Return type: [account.PasswordSettings](../types/account.PasswordSettings.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_PasswordSettings = $MadelineProto->account->getPasswordSettings(['current_password_hash' => 'bytes', ]); +$account.PasswordSettings = $MadelineProto->account->getPasswordSettings(['current_password_hash' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -account_PasswordSettings = account.getPasswordSettings({current_password_hash='bytes', }) +account.PasswordSettings = account.getPasswordSettings({current_password_hash='bytes', }) ``` ### Errors diff --git a/old_docs/API_docs_v65/methods/account.getPrivacy.md b/old_docs/API_docs_v65/methods/account.getPrivacy.md index 6a240129..e20c292c 100644 --- a/old_docs/API_docs_v65/methods/account.getPrivacy.md +++ b/old_docs/API_docs_v65/methods/account.getPrivacy.md @@ -16,7 +16,7 @@ Get privacy settings of current account |key|[InputPrivacyKey](../types/InputPrivacyKey.md) | Peer category whose privacy settings should be fetched | Yes| -### Return type: [account\_PrivacyRules](../types/account_PrivacyRules.md) +### Return type: [account.PrivacyRules](../types/account.PrivacyRules.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_PrivacyRules = $MadelineProto->account->getPrivacy(['key' => InputPrivacyKey, ]); +$account.PrivacyRules = $MadelineProto->account->getPrivacy(['key' => InputPrivacyKey, ]); ``` Or, if you're into Lua: ```lua -account_PrivacyRules = account.getPrivacy({key=InputPrivacyKey, }) +account.PrivacyRules = account.getPrivacy({key=InputPrivacyKey, }) ``` ### Errors diff --git a/old_docs/API_docs_v65/methods/account.getTmpPassword.md b/old_docs/API_docs_v65/methods/account.getTmpPassword.md index 4f269586..7e05a423 100644 --- a/old_docs/API_docs_v65/methods/account.getTmpPassword.md +++ b/old_docs/API_docs_v65/methods/account.getTmpPassword.md @@ -17,7 +17,7 @@ Get temporary payment password |period|[int](../types/int.md) | Time during which the temporary password will be valid, in seconds; should be between 60 and 86400 | Yes| -### Return type: [account\_TmpPassword](../types/account_TmpPassword.md) +### Return type: [account.TmpPassword](../types/account.TmpPassword.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_TmpPassword = $MadelineProto->account->getTmpPassword(['password_hash' => 'bytes', 'period' => int, ]); +$account.TmpPassword = $MadelineProto->account->getTmpPassword(['password_hash' => 'bytes', 'period' => int, ]); ``` Or, if you're into Lua: ```lua -account_TmpPassword = account.getTmpPassword({password_hash='bytes', period=int, }) +account.TmpPassword = account.getTmpPassword({password_hash='bytes', period=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v65/methods/account.sendChangePhoneCode.md b/old_docs/API_docs_v65/methods/account.sendChangePhoneCode.md index 0f81306e..30589ffa 100644 --- a/old_docs/API_docs_v65/methods/account.sendChangePhoneCode.md +++ b/old_docs/API_docs_v65/methods/account.sendChangePhoneCode.md @@ -18,7 +18,7 @@ Verify a new phone number to associate to the current account |current\_number|[Bool](../types/Bool.md) | Current phone number | Optional| -### Return type: [auth\_SentCode](../types/auth_SentCode.md) +### Return type: [auth.SentCode](../types/auth.SentCode.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_SentCode = $MadelineProto->account->sendChangePhoneCode(['allow_flashcall' => Bool, 'phone_number' => 'string', 'current_number' => Bool, ]); +$auth.SentCode = $MadelineProto->account->sendChangePhoneCode(['allow_flashcall' => Bool, 'phone_number' => 'string', 'current_number' => Bool, ]); ``` Or, if you're into Lua: ```lua -auth_SentCode = account.sendChangePhoneCode({allow_flashcall=Bool, phone_number='string', current_number=Bool, }) +auth.SentCode = account.sendChangePhoneCode({allow_flashcall=Bool, phone_number='string', current_number=Bool, }) ``` ### Errors diff --git a/old_docs/API_docs_v65/methods/account.sendConfirmPhoneCode.md b/old_docs/API_docs_v65/methods/account.sendConfirmPhoneCode.md index 68ba8fd3..9ec24f07 100644 --- a/old_docs/API_docs_v65/methods/account.sendConfirmPhoneCode.md +++ b/old_docs/API_docs_v65/methods/account.sendConfirmPhoneCode.md @@ -18,7 +18,7 @@ Send confirmation code to cancel account deletion, for more info [click here »] |current\_number|[Bool](../types/Bool.md) | The current phone number | Optional| -### Return type: [auth\_SentCode](../types/auth_SentCode.md) +### Return type: [auth.SentCode](../types/auth.SentCode.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_SentCode = $MadelineProto->account->sendConfirmPhoneCode(['allow_flashcall' => Bool, 'hash' => 'string', 'current_number' => Bool, ]); +$auth.SentCode = $MadelineProto->account->sendConfirmPhoneCode(['allow_flashcall' => Bool, 'hash' => 'string', 'current_number' => Bool, ]); ``` Or, if you're into Lua: ```lua -auth_SentCode = account.sendConfirmPhoneCode({allow_flashcall=Bool, hash='string', current_number=Bool, }) +auth.SentCode = account.sendConfirmPhoneCode({allow_flashcall=Bool, hash='string', current_number=Bool, }) ``` ### Errors diff --git a/old_docs/API_docs_v65/methods/account.setPrivacy.md b/old_docs/API_docs_v65/methods/account.setPrivacy.md index 7c4cfba7..096d373e 100644 --- a/old_docs/API_docs_v65/methods/account.setPrivacy.md +++ b/old_docs/API_docs_v65/methods/account.setPrivacy.md @@ -17,7 +17,7 @@ Change privacy settings of current account |rules|Array of [InputPrivacyRule](../types/InputPrivacyRule.md) | Privacy settings | Yes| -### Return type: [account\_PrivacyRules](../types/account_PrivacyRules.md) +### Return type: [account.PrivacyRules](../types/account.PrivacyRules.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_PrivacyRules = $MadelineProto->account->setPrivacy(['key' => InputPrivacyKey, 'rules' => [InputPrivacyRule, InputPrivacyRule], ]); +$account.PrivacyRules = $MadelineProto->account->setPrivacy(['key' => InputPrivacyKey, 'rules' => [InputPrivacyRule, InputPrivacyRule], ]); ``` Or, if you're into Lua: ```lua -account_PrivacyRules = account.setPrivacy({key=InputPrivacyKey, rules={InputPrivacyRule}, }) +account.PrivacyRules = account.setPrivacy({key=InputPrivacyKey, rules={InputPrivacyRule}, }) ``` ### Errors diff --git a/old_docs/API_docs_v65/methods/api_README.md b/old_docs/API_docs_v65/methods/api_README.md index ac3ce879..feacde95 100644 --- a/old_docs/API_docs_v65/methods/api_README.md +++ b/old_docs/API_docs_v65/methods/api_README.md @@ -56,7 +56,7 @@ $MadelineProto->[account->getAccountTTL](account.getAccountTTL.md)(\[\]) === [$A ***

-$MadelineProto->[account->getAuthorizations](account.getAuthorizations.md)(\[\]) === [$account\_Authorizations](../types/account_Authorizations.md) +$MadelineProto->[account->getAuthorizations](account.getAuthorizations.md)(\[\]) === [$account.Authorizations](../types/account.Authorizations.md) ***

@@ -64,19 +64,19 @@ $MadelineProto->[account->getNotifySettings](account.getNotifySettings.md)(\['pe ***

-$MadelineProto->[account->getPassword](account.getPassword.md)(\[\]) === [$account\_Password](../types/account_Password.md) +$MadelineProto->[account->getPassword](account.getPassword.md)(\[\]) === [$account.Password](../types/account.Password.md) ***

-$MadelineProto->[account->getPasswordSettings](account.getPasswordSettings.md)(\['current_password_hash' => [bytes](../types/bytes.md), \]) === [$account\_PasswordSettings](../types/account_PasswordSettings.md) +$MadelineProto->[account->getPasswordSettings](account.getPasswordSettings.md)(\['current_password_hash' => [bytes](../types/bytes.md), \]) === [$account.PasswordSettings](../types/account.PasswordSettings.md) ***

-$MadelineProto->[account->getPrivacy](account.getPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), \]) === [$account\_PrivacyRules](../types/account_PrivacyRules.md) +$MadelineProto->[account->getPrivacy](account.getPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), \]) === [$account.PrivacyRules](../types/account.PrivacyRules.md) ***

-$MadelineProto->[account->getTmpPassword](account.getTmpPassword.md)(\['password_hash' => [bytes](../types/bytes.md), 'period' => [int](../types/int.md), \]) === [$account\_TmpPassword](../types/account_TmpPassword.md) +$MadelineProto->[account->getTmpPassword](account.getTmpPassword.md)(\['password_hash' => [bytes](../types/bytes.md), 'period' => [int](../types/int.md), \]) === [$account.TmpPassword](../types/account.TmpPassword.md) ***

@@ -100,11 +100,11 @@ $MadelineProto->[account->resetNotifySettings](account.resetNotifySettings.md)(\ ***

-$MadelineProto->[account->sendChangePhoneCode](account.sendChangePhoneCode.md)(\['allow_flashcall' => [Bool](../types/Bool.md), 'phone_number' => [string](../types/string.md), 'current_number' => [Bool](../types/Bool.md), \]) === [$auth\_SentCode](../types/auth_SentCode.md) +$MadelineProto->[account->sendChangePhoneCode](account.sendChangePhoneCode.md)(\['allow_flashcall' => [Bool](../types/Bool.md), 'phone_number' => [string](../types/string.md), 'current_number' => [Bool](../types/Bool.md), \]) === [$auth.SentCode](../types/auth.SentCode.md) ***

-$MadelineProto->[account->sendConfirmPhoneCode](account.sendConfirmPhoneCode.md)(\['allow_flashcall' => [Bool](../types/Bool.md), 'hash' => [string](../types/string.md), 'current_number' => [Bool](../types/Bool.md), \]) === [$auth\_SentCode](../types/auth_SentCode.md) +$MadelineProto->[account->sendConfirmPhoneCode](account.sendConfirmPhoneCode.md)(\['allow_flashcall' => [Bool](../types/Bool.md), 'hash' => [string](../types/string.md), 'current_number' => [Bool](../types/Bool.md), \]) === [$auth.SentCode](../types/auth.SentCode.md) ***

@@ -112,7 +112,7 @@ $MadelineProto->[account->setAccountTTL](account.setAccountTTL.md)(\['ttl' => [A ***

-$MadelineProto->[account->setPrivacy](account.setPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), 'rules' => \[[InputPrivacyRule](../types/InputPrivacyRule.md)\], \]) === [$account\_PrivacyRules](../types/account_PrivacyRules.md) +$MadelineProto->[account->setPrivacy](account.setPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), 'rules' => \[[InputPrivacyRule](../types/InputPrivacyRule.md)\], \]) === [$account.PrivacyRules](../types/account.PrivacyRules.md) ***

@@ -152,11 +152,11 @@ $MadelineProto->[auth->cancelCode](auth.cancelCode.md)(\['phone_number' => [stri ***

-$MadelineProto->[auth->checkPassword](auth.checkPassword.md)(\['password_hash' => [bytes](../types/bytes.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->checkPassword](auth.checkPassword.md)(\['password_hash' => [bytes](../types/bytes.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

-$MadelineProto->[auth->checkPhone](auth.checkPhone.md)(\['phone_number' => [string](../types/string.md), \]) === [$auth\_CheckedPhone](../types/auth_CheckedPhone.md) +$MadelineProto->[auth->checkPhone](auth.checkPhone.md)(\['phone_number' => [string](../types/string.md), \]) === [$auth.CheckedPhone](../types/auth.CheckedPhone.md) ***

@@ -164,15 +164,15 @@ $MadelineProto->[auth->dropTempAuthKeys](auth.dropTempAuthKeys.md)(\['except_aut ***

-$MadelineProto->[auth->exportAuthorization](auth.exportAuthorization.md)(\['dc_id' => [int](../types/int.md), \]) === [$auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) +$MadelineProto->[auth->exportAuthorization](auth.exportAuthorization.md)(\['dc_id' => [int](../types/int.md), \]) === [$auth.ExportedAuthorization](../types/auth.ExportedAuthorization.md) ***

-$MadelineProto->[auth->importAuthorization](auth.importAuthorization.md)(\['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->importAuthorization](auth.importAuthorization.md)(\['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

-$MadelineProto->[auth->importBotAuthorization](auth.importBotAuthorization.md)(\['a' => [Bool](../types/Bool.md), 'b' => [Bool](../types/Bool.md), 'c' => [Bool](../types/Bool.md), 'd' => [Bool](../types/Bool.md), 'api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), 'bot_auth_token' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->importBotAuthorization](auth.importBotAuthorization.md)(\['a' => [Bool](../types/Bool.md), 'b' => [Bool](../types/Bool.md), 'c' => [Bool](../types/Bool.md), 'd' => [Bool](../types/Bool.md), 'api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), 'bot_auth_token' => [string](../types/string.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

@@ -180,15 +180,15 @@ $MadelineProto->[auth->logOut](auth.logOut.md)(\[\]) === [$Bool](../types/Bool.m ***

-$MadelineProto->[auth->recoverPassword](auth.recoverPassword.md)(\['code' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->recoverPassword](auth.recoverPassword.md)(\['code' => [string](../types/string.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

-$MadelineProto->[auth->requestPasswordRecovery](auth.requestPasswordRecovery.md)(\[\]) === [$auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) +$MadelineProto->[auth->requestPasswordRecovery](auth.requestPasswordRecovery.md)(\[\]) === [$auth.PasswordRecovery](../types/auth.PasswordRecovery.md) ***

-$MadelineProto->[auth->resendCode](auth.resendCode.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), \]) === [$auth\_SentCode](../types/auth_SentCode.md) +$MadelineProto->[auth->resendCode](auth.resendCode.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), \]) === [$auth.SentCode](../types/auth.SentCode.md) ***

@@ -196,7 +196,7 @@ $MadelineProto->[auth->resetAuthorizations](auth.resetAuthorizations.md)(\[\]) = ***

-$MadelineProto->[auth->sendCode](auth.sendCode.md)(\['allow_flashcall' => [Bool](../types/Bool.md), 'phone_number' => [string](../types/string.md), 'current_number' => [Bool](../types/Bool.md), 'api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), \]) === [$auth\_SentCode](../types/auth_SentCode.md) +$MadelineProto->[auth->sendCode](auth.sendCode.md)(\['allow_flashcall' => [Bool](../types/Bool.md), 'phone_number' => [string](../types/string.md), 'current_number' => [Bool](../types/Bool.md), 'api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), \]) === [$auth.SentCode](../types/auth.SentCode.md) ***

@@ -204,11 +204,11 @@ $MadelineProto->[auth->sendInvites](auth.sendInvites.md)(\['phone_numbers' => \[ ***

-$MadelineProto->[auth->signIn](auth.signIn.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->signIn](auth.signIn.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

-$MadelineProto->[auth->signUp](auth.signUp.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->signUp](auth.signUp.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

@@ -232,11 +232,11 @@ $MadelineProto->[channels->deleteChannel](channels.deleteChannel.md)(\['channel' ***

-$MadelineProto->[channels->deleteMessages](channels.deleteMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) +$MadelineProto->[channels->deleteMessages](channels.deleteMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages.AffectedMessages](../types/messages.AffectedMessages.md) ***

-$MadelineProto->[channels->deleteUserHistory](channels.deleteUserHistory.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages\_AffectedHistory](../types/messages_AffectedHistory.md) +$MadelineProto->[channels->deleteUserHistory](channels.deleteUserHistory.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages.AffectedHistory](../types/messages.AffectedHistory.md) ***

@@ -264,27 +264,27 @@ $MadelineProto->[channels->exportMessageLink](channels.exportMessageLink.md)(\[' ***

-$MadelineProto->[channels->getAdminedPublicChannels](channels.getAdminedPublicChannels.md)(\[\]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[channels->getAdminedPublicChannels](channels.getAdminedPublicChannels.md)(\[\]) === [$messages.Chats](../types/messages.Chats.md) ***

-$MadelineProto->[channels->getChannels](channels.getChannels.md)(\['id' => \[[InputChannel](../types/InputChannel.md)\], \]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[channels->getChannels](channels.getChannels.md)(\['id' => \[[InputChannel](../types/InputChannel.md)\], \]) === [$messages.Chats](../types/messages.Chats.md) ***

-$MadelineProto->[channels->getFullChannel](channels.getFullChannel.md)(\['channel' => [InputChannel](../types/InputChannel.md), \]) === [$messages\_ChatFull](../types/messages_ChatFull.md) +$MadelineProto->[channels->getFullChannel](channels.getFullChannel.md)(\['channel' => [InputChannel](../types/InputChannel.md), \]) === [$messages.ChatFull](../types/messages.ChatFull.md) ***

-$MadelineProto->[channels->getMessages](channels.getMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[channels->getMessages](channels.getMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[channels->getParticipant](channels.getParticipant.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$channels\_ChannelParticipant](../types/channels_ChannelParticipant.md) +$MadelineProto->[channels->getParticipant](channels.getParticipant.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$channels.ChannelParticipant](../types/channels.ChannelParticipant.md) ***

-$MadelineProto->[channels->getParticipants](channels.getParticipants.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$channels\_ChannelParticipants](../types/channels_ChannelParticipants.md) +$MadelineProto->[channels->getParticipants](channels.getParticipants.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$channels.ChannelParticipants](../types/channels.ChannelParticipants.md) ***

@@ -332,7 +332,7 @@ $MadelineProto->[contacts->block](contacts.block.md)(\['id' => [InputUser](../ty ***

-$MadelineProto->[contacts->deleteContact](contacts.deleteContact.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$contacts\_Link](../types/contacts_Link.md) +$MadelineProto->[contacts->deleteContact](contacts.deleteContact.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$contacts.Link](../types/contacts.Link.md) ***

@@ -344,11 +344,11 @@ $MadelineProto->[contacts->exportCard](contacts.exportCard.md)(\[\]) === [$Vecto ***

-$MadelineProto->[contacts->getBlocked](contacts.getBlocked.md)(\['offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$contacts\_Blocked](../types/contacts_Blocked.md) +$MadelineProto->[contacts->getBlocked](contacts.getBlocked.md)(\['offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$contacts.Blocked](../types/contacts.Blocked.md) ***

-$MadelineProto->[contacts->getContacts](contacts.getContacts.md)(\['hash' => [string](../types/string.md), \]) === [$contacts\_Contacts](../types/contacts_Contacts.md) +$MadelineProto->[contacts->getContacts](contacts.getContacts.md)(\['hash' => [string](../types/string.md), \]) === [$contacts.Contacts](../types/contacts.Contacts.md) ***

@@ -356,7 +356,7 @@ $MadelineProto->[contacts->getStatuses](contacts.getStatuses.md)(\[\]) === [$Vec ***

-$MadelineProto->[contacts->getTopPeers](contacts.getTopPeers.md)(\['correspondents' => [Bool](../types/Bool.md), 'bots_pm' => [Bool](../types/Bool.md), 'bots_inline' => [Bool](../types/Bool.md), 'groups' => [Bool](../types/Bool.md), 'channels' => [Bool](../types/Bool.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$contacts\_TopPeers](../types/contacts_TopPeers.md) +$MadelineProto->[contacts->getTopPeers](contacts.getTopPeers.md)(\['correspondents' => [Bool](../types/Bool.md), 'bots_pm' => [Bool](../types/Bool.md), 'bots_inline' => [Bool](../types/Bool.md), 'groups' => [Bool](../types/Bool.md), 'channels' => [Bool](../types/Bool.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$contacts.TopPeers](../types/contacts.TopPeers.md) ***

@@ -364,7 +364,7 @@ $MadelineProto->[contacts->importCard](contacts.importCard.md)(\['export_card' = ***

-$MadelineProto->[contacts->importContacts](contacts.importContacts.md)(\['contacts' => \[[InputContact](../types/InputContact.md)\], 'replace' => [Bool](../types/Bool.md), \]) === [$contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) +$MadelineProto->[contacts->importContacts](contacts.importContacts.md)(\['contacts' => \[[InputContact](../types/InputContact.md)\], 'replace' => [Bool](../types/Bool.md), \]) === [$contacts.ImportedContacts](../types/contacts.ImportedContacts.md) ***

@@ -372,11 +372,11 @@ $MadelineProto->[contacts->resetTopPeerRating](contacts.resetTopPeerRating.md)(\ ***

-$MadelineProto->[contacts->resolveUsername](contacts.resolveUsername.md)(\['username' => [string](../types/string.md), \]) === [$contacts\_ResolvedPeer](../types/contacts_ResolvedPeer.md) +$MadelineProto->[contacts->resolveUsername](contacts.resolveUsername.md)(\['username' => [string](../types/string.md), \]) === [$contacts.ResolvedPeer](../types/contacts.ResolvedPeer.md) ***

-$MadelineProto->[contacts->search](contacts.search.md)(\['q' => [string](../types/string.md), 'limit' => [int](../types/int.md), \]) === [$contacts\_Found](../types/contacts_Found.md) +$MadelineProto->[contacts->search](contacts.search.md)(\['q' => [string](../types/string.md), 'limit' => [int](../types/int.md), \]) === [$contacts.Found](../types/contacts.Found.md) ***

@@ -402,7 +402,7 @@ $MadelineProto->[help->getAppChangelog](help.getAppChangelog.md)(\['prev_app_ver ***

-$MadelineProto->[help->getAppUpdate](help.getAppUpdate.md)(\[\]) === [$help\_AppUpdate](../types/help_AppUpdate.md) +$MadelineProto->[help->getAppUpdate](help.getAppUpdate.md)(\[\]) === [$help.AppUpdate](../types/help.AppUpdate.md) ***

@@ -410,7 +410,7 @@ $MadelineProto->[help->getConfig](help.getConfig.md)(\[\]) === [$Config](../type ***

-$MadelineProto->[help->getInviteText](help.getInviteText.md)(\[\]) === [$help\_InviteText](../types/help_InviteText.md) +$MadelineProto->[help->getInviteText](help.getInviteText.md)(\[\]) === [$help.InviteText](../types/help.InviteText.md) ***

@@ -418,11 +418,11 @@ $MadelineProto->[help->getNearestDc](help.getNearestDc.md)(\[\]) === [$NearestDc ***

-$MadelineProto->[help->getSupport](help.getSupport.md)(\[\]) === [$help\_Support](../types/help_Support.md) +$MadelineProto->[help->getSupport](help.getSupport.md)(\[\]) === [$help.Support](../types/help.Support.md) ***

-$MadelineProto->[help->getTermsOfService](help.getTermsOfService.md)(\[\]) === [$help\_TermsOfService](../types/help_TermsOfService.md) +$MadelineProto->[help->getTermsOfService](help.getTermsOfService.md)(\[\]) === [$help.TermsOfService](../types/help.TermsOfService.md) ***

@@ -478,11 +478,11 @@ $MadelineProto->[messages->deleteChatUser](messages.deleteChatUser.md)(\['chat_i ***

-$MadelineProto->[messages->deleteHistory](messages.deleteHistory.md)(\['just_clear' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), \]) === [$messages\_AffectedHistory](../types/messages_AffectedHistory.md) +$MadelineProto->[messages->deleteHistory](messages.deleteHistory.md)(\['just_clear' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), \]) === [$messages.AffectedHistory](../types/messages.AffectedHistory.md) ***

-$MadelineProto->[messages->deleteMessages](messages.deleteMessages.md)(\['revoke' => [Bool](../types/Bool.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) +$MadelineProto->[messages->deleteMessages](messages.deleteMessages.md)(\['revoke' => [Bool](../types/Bool.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages.AffectedMessages](../types/messages.AffectedMessages.md) ***

@@ -522,7 +522,7 @@ $MadelineProto->[messages->forwardMessages](messages.forwardMessages.md)(\['sile ***

-$MadelineProto->[messages->getAllChats](messages.getAllChats.md)(\['except_ids' => \[[int](../types/int.md)\], \]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[messages->getAllChats](messages.getAllChats.md)(\['except_ids' => \[[int](../types/int.md)\], \]) === [$messages.Chats](../types/messages.Chats.md) ***

@@ -530,11 +530,11 @@ $MadelineProto->[messages->getAllDrafts](messages.getAllDrafts.md)(\[\]) === [$U ***

-$MadelineProto->[messages->getAllStickers](messages.getAllStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages\_AllStickers](../types/messages_AllStickers.md) +$MadelineProto->[messages->getAllStickers](messages.getAllStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages.AllStickers](../types/messages.AllStickers.md) ***

-$MadelineProto->[messages->getArchivedStickers](messages.getArchivedStickers.md)(\['masks' => [Bool](../types/Bool.md), 'offset_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$messages\_ArchivedStickers](../types/messages_ArchivedStickers.md) +$MadelineProto->[messages->getArchivedStickers](messages.getArchivedStickers.md)(\['masks' => [Bool](../types/Bool.md), 'offset_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$messages.ArchivedStickers](../types/messages.ArchivedStickers.md) ***

@@ -542,23 +542,23 @@ $MadelineProto->[messages->getAttachedStickers](messages.getAttachedStickers.md) ***

-$MadelineProto->[messages->getBotCallbackAnswer](messages.getBotCallbackAnswer.md)(\['game' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'msg_id' => [int](../types/int.md), 'data' => [bytes](../types/bytes.md), \]) === [$messages\_BotCallbackAnswer](../types/messages_BotCallbackAnswer.md) +$MadelineProto->[messages->getBotCallbackAnswer](messages.getBotCallbackAnswer.md)(\['game' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'msg_id' => [int](../types/int.md), 'data' => [bytes](../types/bytes.md), \]) === [$messages.BotCallbackAnswer](../types/messages.BotCallbackAnswer.md) ***

-$MadelineProto->[messages->getChats](messages.getChats.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[messages->getChats](messages.getChats.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages.Chats](../types/messages.Chats.md) ***

-$MadelineProto->[messages->getCommonChats](messages.getCommonChats.md)(\['user_id' => [InputUser](../types/InputUser.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[messages->getCommonChats](messages.getCommonChats.md)(\['user_id' => [InputUser](../types/InputUser.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages.Chats](../types/messages.Chats.md) ***

-$MadelineProto->[messages->getDhConfig](messages.getDhConfig.md)(\['version' => [int](../types/int.md), 'random_length' => [int](../types/int.md), \]) === [$messages\_DhConfig](../types/messages_DhConfig.md) +$MadelineProto->[messages->getDhConfig](messages.getDhConfig.md)(\['version' => [int](../types/int.md), 'random_length' => [int](../types/int.md), \]) === [$messages.DhConfig](../types/messages.DhConfig.md) ***

-$MadelineProto->[messages->getDialogs](messages.getDialogs.md)(\['exclude_pinned' => [Bool](../types/Bool.md), 'offset_date' => [int](../types/int.md), 'offset_id' => [int](../types/int.md), 'offset_peer' => [InputPeer](../types/InputPeer.md), 'limit' => [int](../types/int.md), \]) === [$messages\_Dialogs](../types/messages_Dialogs.md) +$MadelineProto->[messages->getDialogs](messages.getDialogs.md)(\['exclude_pinned' => [Bool](../types/Bool.md), 'offset_date' => [int](../types/int.md), 'offset_id' => [int](../types/int.md), 'offset_peer' => [InputPeer](../types/InputPeer.md), 'limit' => [int](../types/int.md), \]) === [$messages.Dialogs](../types/messages.Dialogs.md) ***

@@ -566,39 +566,39 @@ $MadelineProto->[messages->getDocumentByHash](messages.getDocumentByHash.md)(\[' ***

-$MadelineProto->[messages->getFeaturedStickers](messages.getFeaturedStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages\_FeaturedStickers](../types/messages_FeaturedStickers.md) +$MadelineProto->[messages->getFeaturedStickers](messages.getFeaturedStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages.FeaturedStickers](../types/messages.FeaturedStickers.md) ***

-$MadelineProto->[messages->getFullChat](messages.getFullChat.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), \]) === [$messages\_ChatFull](../types/messages_ChatFull.md) +$MadelineProto->[messages->getFullChat](messages.getFullChat.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), \]) === [$messages.ChatFull](../types/messages.ChatFull.md) ***

-$MadelineProto->[messages->getGameHighScores](messages.getGameHighScores.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages\_HighScores](../types/messages_HighScores.md) +$MadelineProto->[messages->getGameHighScores](messages.getGameHighScores.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages.HighScores](../types/messages.HighScores.md) ***

-$MadelineProto->[messages->getHistory](messages.getHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'offset_date' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->getHistory](messages.getHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'offset_date' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[messages->getInlineBotResults](messages.getInlineBotResults.md)(\['bot' => [InputUser](../types/InputUser.md), 'peer' => [InputPeer](../types/InputPeer.md), 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'query' => [string](../types/string.md), 'offset' => [string](../types/string.md), \]) === [$messages\_BotResults](../types/messages_BotResults.md) +$MadelineProto->[messages->getInlineBotResults](messages.getInlineBotResults.md)(\['bot' => [InputUser](../types/InputUser.md), 'peer' => [InputPeer](../types/InputPeer.md), 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'query' => [string](../types/string.md), 'offset' => [string](../types/string.md), \]) === [$messages.BotResults](../types/messages.BotResults.md) ***

-$MadelineProto->[messages->getInlineGameHighScores](messages.getInlineGameHighScores.md)(\['id' => [InputBotInlineMessageID](../types/InputBotInlineMessageID.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages\_HighScores](../types/messages_HighScores.md) +$MadelineProto->[messages->getInlineGameHighScores](messages.getInlineGameHighScores.md)(\['id' => [InputBotInlineMessageID](../types/InputBotInlineMessageID.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages.HighScores](../types/messages.HighScores.md) ***

-$MadelineProto->[messages->getMaskStickers](messages.getMaskStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages\_AllStickers](../types/messages_AllStickers.md) +$MadelineProto->[messages->getMaskStickers](messages.getMaskStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages.AllStickers](../types/messages.AllStickers.md) ***

-$MadelineProto->[messages->getMessageEditData](messages.getMessageEditData.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), \]) === [$messages\_MessageEditData](../types/messages_MessageEditData.md) +$MadelineProto->[messages->getMessageEditData](messages.getMessageEditData.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), \]) === [$messages.MessageEditData](../types/messages.MessageEditData.md) ***

-$MadelineProto->[messages->getMessages](messages.getMessages.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->getMessages](messages.getMessages.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages.Messages](../types/messages.Messages.md) ***

@@ -606,7 +606,7 @@ $MadelineProto->[messages->getMessagesViews](messages.getMessagesViews.md)(\['pe ***

-$MadelineProto->[messages->getPeerDialogs](messages.getPeerDialogs.md)(\['peers' => \[[InputPeer](../types/InputPeer.md)\], \]) === [$messages\_PeerDialogs](../types/messages_PeerDialogs.md) +$MadelineProto->[messages->getPeerDialogs](messages.getPeerDialogs.md)(\['peers' => \[[InputPeer](../types/InputPeer.md)\], \]) === [$messages.PeerDialogs](../types/messages.PeerDialogs.md) ***

@@ -614,19 +614,19 @@ $MadelineProto->[messages->getPeerSettings](messages.getPeerSettings.md)(\['peer ***

-$MadelineProto->[messages->getPinnedDialogs](messages.getPinnedDialogs.md)(\[\]) === [$messages\_PeerDialogs](../types/messages_PeerDialogs.md) +$MadelineProto->[messages->getPinnedDialogs](messages.getPinnedDialogs.md)(\[\]) === [$messages.PeerDialogs](../types/messages.PeerDialogs.md) ***

-$MadelineProto->[messages->getRecentStickers](messages.getRecentStickers.md)(\['attached' => [Bool](../types/Bool.md), 'hash' => [int](../types/int.md), \]) === [$messages\_RecentStickers](../types/messages_RecentStickers.md) +$MadelineProto->[messages->getRecentStickers](messages.getRecentStickers.md)(\['attached' => [Bool](../types/Bool.md), 'hash' => [int](../types/int.md), \]) === [$messages.RecentStickers](../types/messages.RecentStickers.md) ***

-$MadelineProto->[messages->getSavedGifs](messages.getSavedGifs.md)(\['hash' => [int](../types/int.md), \]) === [$messages\_SavedGifs](../types/messages_SavedGifs.md) +$MadelineProto->[messages->getSavedGifs](messages.getSavedGifs.md)(\['hash' => [int](../types/int.md), \]) === [$messages.SavedGifs](../types/messages.SavedGifs.md) ***

-$MadelineProto->[messages->getStickerSet](messages.getStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), \]) === [$messages\_StickerSet](../types/messages_StickerSet.md) +$MadelineProto->[messages->getStickerSet](messages.getStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), \]) === [$messages.StickerSet](../types/messages.StickerSet.md) ***

@@ -646,7 +646,7 @@ $MadelineProto->[messages->importChatInvite](messages.importChatInvite.md)(\['ha ***

-$MadelineProto->[messages->installStickerSet](messages.installStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), 'archived' => [Bool](../types/Bool.md), \]) === [$messages\_StickerSetInstallResult](../types/messages_StickerSetInstallResult.md) +$MadelineProto->[messages->installStickerSet](messages.installStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), 'archived' => [Bool](../types/Bool.md), \]) === [$messages.StickerSetInstallResult](../types/messages.StickerSetInstallResult.md) ***

@@ -662,11 +662,11 @@ $MadelineProto->[messages->readFeaturedStickers](messages.readFeaturedStickers.m ***

-$MadelineProto->[messages->readHistory](messages.readHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), \]) === [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) +$MadelineProto->[messages->readHistory](messages.readHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), \]) === [$messages.AffectedMessages](../types/messages.AffectedMessages.md) ***

-$MadelineProto->[messages->readMessageContents](messages.readMessageContents.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) +$MadelineProto->[messages->readMessageContents](messages.readMessageContents.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages.AffectedMessages](../types/messages.AffectedMessages.md) ***

@@ -710,27 +710,27 @@ $MadelineProto->[messages->saveRecentSticker](messages.saveRecentSticker.md)(\[' ***

-$MadelineProto->[messages->search](messages.search.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'q' => [string](../types/string.md), 'filter' => [MessagesFilter](../types/MessagesFilter.md), 'min_date' => [int](../types/int.md), 'max_date' => [int](../types/int.md), 'offset' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->search](messages.search.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'q' => [string](../types/string.md), 'filter' => [MessagesFilter](../types/MessagesFilter.md), 'min_date' => [int](../types/int.md), 'max_date' => [int](../types/int.md), 'offset' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[messages->searchGifs](messages.searchGifs.md)(\['q' => [string](../types/string.md), 'offset' => [int](../types/int.md), \]) === [$messages\_FoundGifs](../types/messages_FoundGifs.md) +$MadelineProto->[messages->searchGifs](messages.searchGifs.md)(\['q' => [string](../types/string.md), 'offset' => [int](../types/int.md), \]) === [$messages.FoundGifs](../types/messages.FoundGifs.md) ***

-$MadelineProto->[messages->searchGlobal](messages.searchGlobal.md)(\['q' => [string](../types/string.md), 'offset_date' => [int](../types/int.md), 'offset_peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->searchGlobal](messages.searchGlobal.md)(\['q' => [string](../types/string.md), 'offset_date' => [int](../types/int.md), 'offset_peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[messages->sendEncrypted](messages.sendEncrypted.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'message' => [DecryptedMessage](../types/DecryptedMessage.md), \]) === [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +$MadelineProto->[messages->sendEncrypted](messages.sendEncrypted.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), \]) === [$messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ***

-$MadelineProto->[messages->sendEncryptedFile](messages.sendEncryptedFile.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'message' => [DecryptedMessage](../types/DecryptedMessage.md), 'file' => [InputEncryptedFile](../types/InputEncryptedFile.md), \]) === [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +$MadelineProto->[messages->sendEncryptedFile](messages.sendEncryptedFile.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), 'file' => [InputEncryptedFile](../types/InputEncryptedFile.md), \]) === [$messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ***

-$MadelineProto->[messages->sendEncryptedService](messages.sendEncryptedService.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'message' => [DecryptedMessage](../types/DecryptedMessage.md), \]) === [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +$MadelineProto->[messages->sendEncryptedService](messages.sendEncryptedService.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), \]) === [$messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ***

@@ -798,31 +798,31 @@ $MadelineProto->[payments->clearSavedInfo](payments.clearSavedInfo.md)(\['creden ***

-$MadelineProto->[payments->getPaymentForm](payments.getPaymentForm.md)(\['msg_id' => [int](../types/int.md), \]) === [$payments\_PaymentForm](../types/payments_PaymentForm.md) +$MadelineProto->[payments->getPaymentForm](payments.getPaymentForm.md)(\['msg_id' => [int](../types/int.md), \]) === [$payments.PaymentForm](../types/payments.PaymentForm.md) ***

-$MadelineProto->[payments->getPaymentReceipt](payments.getPaymentReceipt.md)(\['msg_id' => [int](../types/int.md), \]) === [$payments\_PaymentReceipt](../types/payments_PaymentReceipt.md) +$MadelineProto->[payments->getPaymentReceipt](payments.getPaymentReceipt.md)(\['msg_id' => [int](../types/int.md), \]) === [$payments.PaymentReceipt](../types/payments.PaymentReceipt.md) ***

-$MadelineProto->[payments->getSavedInfo](payments.getSavedInfo.md)(\[\]) === [$payments\_SavedInfo](../types/payments_SavedInfo.md) +$MadelineProto->[payments->getSavedInfo](payments.getSavedInfo.md)(\[\]) === [$payments.SavedInfo](../types/payments.SavedInfo.md) ***

-$MadelineProto->[payments->sendPaymentForm](payments.sendPaymentForm.md)(\['msg_id' => [int](../types/int.md), 'requested_info_id' => [string](../types/string.md), 'shipping_option_id' => [string](../types/string.md), 'credentials' => [InputPaymentCredentials](../types/InputPaymentCredentials.md), \]) === [$payments\_PaymentResult](../types/payments_PaymentResult.md) +$MadelineProto->[payments->sendPaymentForm](payments.sendPaymentForm.md)(\['msg_id' => [int](../types/int.md), 'requested_info_id' => [string](../types/string.md), 'shipping_option_id' => [string](../types/string.md), 'credentials' => [InputPaymentCredentials](../types/InputPaymentCredentials.md), \]) === [$payments.PaymentResult](../types/payments.PaymentResult.md) ***

-$MadelineProto->[payments->validateRequestedInfo](payments.validateRequestedInfo.md)(\['save' => [Bool](../types/Bool.md), 'msg_id' => [int](../types/int.md), 'info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), \]) === [$payments\_ValidatedRequestedInfo](../types/payments_ValidatedRequestedInfo.md) +$MadelineProto->[payments->validateRequestedInfo](payments.validateRequestedInfo.md)(\['save' => [Bool](../types/Bool.md), 'msg_id' => [int](../types/int.md), 'info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), \]) === [$payments.ValidatedRequestedInfo](../types/payments.ValidatedRequestedInfo.md) ***

-$MadelineProto->[phone->acceptCall](phone.acceptCall.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'g_b' => [bytes](../types/bytes.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone\_PhoneCall](../types/phone_PhoneCall.md) +$MadelineProto->[phone->acceptCall](phone.acceptCall.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'g_b' => [bytes](../types/bytes.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone.PhoneCall](../types/phone.PhoneCall.md) ***

-$MadelineProto->[phone->confirmCall](phone.confirmCall.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'g_a' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone\_PhoneCall](../types/phone_PhoneCall.md) +$MadelineProto->[phone->confirmCall](phone.confirmCall.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'g_a' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone.PhoneCall](../types/phone.PhoneCall.md) ***

@@ -838,7 +838,7 @@ $MadelineProto->[phone->receivedCall](phone.receivedCall.md)(\['peer' => [InputP ***

-$MadelineProto->[phone->requestCall](phone.requestCall.md)(\['user_id' => [InputUser](../types/InputUser.md), 'g_a_hash' => [bytes](../types/bytes.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone\_PhoneCall](../types/phone_PhoneCall.md) +$MadelineProto->[phone->requestCall](phone.requestCall.md)(\['user_id' => [InputUser](../types/InputUser.md), 'g_a_hash' => [bytes](../types/bytes.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone.PhoneCall](../types/phone.PhoneCall.md) ***

@@ -854,7 +854,7 @@ $MadelineProto->[photos->deletePhotos](photos.deletePhotos.md)(\['id' => \[[Inpu ***

-$MadelineProto->[photos->getUserPhotos](photos.getUserPhotos.md)(\['user_id' => [InputUser](../types/InputUser.md), 'offset' => [int](../types/int.md), 'max_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$photos\_Photos](../types/photos_Photos.md) +$MadelineProto->[photos->getUserPhotos](photos.getUserPhotos.md)(\['user_id' => [InputUser](../types/InputUser.md), 'offset' => [int](../types/int.md), 'max_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$photos.Photos](../types/photos.Photos.md) ***

@@ -862,7 +862,7 @@ $MadelineProto->[photos->updateProfilePhoto](photos.updateProfilePhoto.md)(\['id ***

-$MadelineProto->[photos->uploadProfilePhoto](photos.uploadProfilePhoto.md)(\['file' => [InputFile](../types/InputFile.md), \]) === [$photos\_Photo](../types/photos_Photo.md) +$MadelineProto->[photos->uploadProfilePhoto](photos.uploadProfilePhoto.md)(\['file' => [InputFile](../types/InputFile.md), \]) === [$photos.Photo](../types/photos.Photo.md) ***

@@ -886,23 +886,23 @@ $MadelineProto->[set_client_DH_params](set_client_DH_params.md)(\['nonce' => [in ***

-$MadelineProto->[updates->getChannelDifference](updates.getChannelDifference.md)(\['force' => [Bool](../types/Bool.md), 'channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$updates\_ChannelDifference](../types/updates_ChannelDifference.md) +$MadelineProto->[updates->getChannelDifference](updates.getChannelDifference.md)(\['force' => [Bool](../types/Bool.md), 'channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$updates.ChannelDifference](../types/updates.ChannelDifference.md) ***

-$MadelineProto->[updates->getDifference](updates.getDifference.md)(\['pts' => [int](../types/int.md), 'pts_total_limit' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) === [$updates\_Difference](../types/updates_Difference.md) +$MadelineProto->[updates->getDifference](updates.getDifference.md)(\['pts' => [int](../types/int.md), 'pts_total_limit' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) === [$updates.Difference](../types/updates.Difference.md) ***

-$MadelineProto->[updates->getState](updates.getState.md)(\[\]) === [$updates\_State](../types/updates_State.md) +$MadelineProto->[updates->getState](updates.getState.md)(\[\]) === [$updates.State](../types/updates.State.md) ***

-$MadelineProto->[upload->getFile](upload.getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_File](../types/upload_File.md) +$MadelineProto->[upload->getFile](upload.getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload.File](../types/upload.File.md) ***

-$MadelineProto->[upload->getWebFile](upload.getWebFile.md)(\['location' => [InputWebFileLocation](../types/InputWebFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_WebFile](../types/upload_WebFile.md) +$MadelineProto->[upload->getWebFile](upload.getWebFile.md)(\['location' => [InputWebFileLocation](../types/InputWebFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload.WebFile](../types/upload.WebFile.md) ***

diff --git a/old_docs/API_docs_v65/methods/auth.checkPassword.md b/old_docs/API_docs_v65/methods/auth.checkPassword.md index db65cb56..eeeed171 100644 --- a/old_docs/API_docs_v65/methods/auth.checkPassword.md +++ b/old_docs/API_docs_v65/methods/auth.checkPassword.md @@ -16,7 +16,7 @@ You cannot use this method directly, use the complete_2fa_login method instead ( |password\_hash|[bytes](../types/bytes.md) | You cannot use this method directly, use the complete_2fa_login method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->checkPassword(['password_hash' => 'bytes', ]); +$auth.Authorization = $MadelineProto->auth->checkPassword(['password_hash' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.checkPassword({password_hash='bytes', }) +auth.Authorization = auth.checkPassword({password_hash='bytes', }) ``` ### Errors diff --git a/old_docs/API_docs_v65/methods/auth.checkPhone.md b/old_docs/API_docs_v65/methods/auth.checkPhone.md index 227358cb..51d4cba6 100644 --- a/old_docs/API_docs_v65/methods/auth.checkPhone.md +++ b/old_docs/API_docs_v65/methods/auth.checkPhone.md @@ -16,7 +16,7 @@ Check if this phone number is registered on telegram |phone\_number|[string](../types/string.md) | The phone number to check | Yes| -### Return type: [auth\_CheckedPhone](../types/auth_CheckedPhone.md) +### Return type: [auth.CheckedPhone](../types/auth.CheckedPhone.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => 'string', ]); +$auth.CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_CheckedPhone = auth.checkPhone({phone_number='string', }) +auth.CheckedPhone = auth.checkPhone({phone_number='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v65/methods/auth.exportAuthorization.md b/old_docs/API_docs_v65/methods/auth.exportAuthorization.md index 72063a2b..41a1f87d 100644 --- a/old_docs/API_docs_v65/methods/auth.exportAuthorization.md +++ b/old_docs/API_docs_v65/methods/auth.exportAuthorization.md @@ -16,7 +16,7 @@ You cannot use this method directly, use $MadelineProto->exportAuthorization() i |dc\_id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| -### Return type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) +### Return type: [auth.ExportedAuthorization](../types/auth.ExportedAuthorization.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_ExportedAuthorization = $MadelineProto->auth->exportAuthorization(['dc_id' => int, ]); +$auth.ExportedAuthorization = $MadelineProto->auth->exportAuthorization(['dc_id' => int, ]); ``` Or, if you're into Lua: ```lua -auth_ExportedAuthorization = auth.exportAuthorization({dc_id=int, }) +auth.ExportedAuthorization = auth.exportAuthorization({dc_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v65/methods/auth.importAuthorization.md b/old_docs/API_docs_v65/methods/auth.importAuthorization.md index d9c13751..5257e0b0 100644 --- a/old_docs/API_docs_v65/methods/auth.importAuthorization.md +++ b/old_docs/API_docs_v65/methods/auth.importAuthorization.md @@ -17,7 +17,7 @@ You cannot use this method directly, use $MadelineProto->importAuthorization($au |bytes|[bytes](../types/bytes.md) | You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => 'bytes', ]); +$auth.Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.importAuthorization({id=int, bytes='bytes', }) +auth.Authorization = auth.importAuthorization({id=int, bytes='bytes', }) ``` ### Errors diff --git a/old_docs/API_docs_v65/methods/auth.importBotAuthorization.md b/old_docs/API_docs_v65/methods/auth.importBotAuthorization.md index 1bcd55af..467bcfef 100644 --- a/old_docs/API_docs_v65/methods/auth.importBotAuthorization.md +++ b/old_docs/API_docs_v65/methods/auth.importBotAuthorization.md @@ -22,7 +22,7 @@ You cannot use this method directly, use the botLogin method instead (see https: |bot\_auth\_token|[string](../types/string.md) | You cannot use this method directly, use the botLogin method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **YES** @@ -39,13 +39,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->importBotAuthorization(['a' => Bool, 'b' => Bool, 'c' => Bool, 'd' => Bool, 'api_id' => int, 'api_hash' => 'string', 'bot_auth_token' => 'string', ]); +$auth.Authorization = $MadelineProto->auth->importBotAuthorization(['a' => Bool, 'b' => Bool, 'c' => Bool, 'd' => Bool, 'api_id' => int, 'api_hash' => 'string', 'bot_auth_token' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.importBotAuthorization({a=Bool, b=Bool, c=Bool, d=Bool, api_id=int, api_hash='string', bot_auth_token='string', }) +auth.Authorization = auth.importBotAuthorization({a=Bool, b=Bool, c=Bool, d=Bool, api_id=int, api_hash='string', bot_auth_token='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v65/methods/auth.recoverPassword.md b/old_docs/API_docs_v65/methods/auth.recoverPassword.md index f7cbf4a4..2e78444b 100644 --- a/old_docs/API_docs_v65/methods/auth.recoverPassword.md +++ b/old_docs/API_docs_v65/methods/auth.recoverPassword.md @@ -16,7 +16,7 @@ Reset the [2FA password](https://core.telegram.org/api/srp) using the recovery c |code|[string](../types/string.md) | Code received via email | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->recoverPassword(['code' => 'string', ]); +$auth.Authorization = $MadelineProto->auth->recoverPassword(['code' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.recoverPassword({code='string', }) +auth.Authorization = auth.recoverPassword({code='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v65/methods/auth.requestPasswordRecovery.md b/old_docs/API_docs_v65/methods/auth.requestPasswordRecovery.md index 5cd77936..ff1ecc02 100644 --- a/old_docs/API_docs_v65/methods/auth.requestPasswordRecovery.md +++ b/old_docs/API_docs_v65/methods/auth.requestPasswordRecovery.md @@ -11,7 +11,7 @@ Request recovery code of a [2FA password](https://core.telegram.org/api/srp), on -### Return type: [auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) +### Return type: [auth.PasswordRecovery](../types/auth.PasswordRecovery.md) ### Can bots use this method: **NO** @@ -28,13 +28,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_PasswordRecovery = $MadelineProto->auth->requestPasswordRecovery(); +$auth.PasswordRecovery = $MadelineProto->auth->requestPasswordRecovery(); ``` Or, if you're into Lua: ```lua -auth_PasswordRecovery = auth.requestPasswordRecovery({}) +auth.PasswordRecovery = auth.requestPasswordRecovery({}) ``` ### Errors diff --git a/old_docs/API_docs_v65/methods/auth.resendCode.md b/old_docs/API_docs_v65/methods/auth.resendCode.md index a395a91b..f59f1b7b 100644 --- a/old_docs/API_docs_v65/methods/auth.resendCode.md +++ b/old_docs/API_docs_v65/methods/auth.resendCode.md @@ -17,7 +17,7 @@ Resend the login code via another medium, the phone code type is determined by t |phone\_code\_hash|[string](../types/string.md) | The phone code hash obtained from [auth.sendCode](../methods/auth.sendCode.md) | Yes| -### Return type: [auth\_SentCode](../types/auth_SentCode.md) +### Return type: [auth.SentCode](../types/auth.SentCode.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_SentCode = $MadelineProto->auth->resendCode(['phone_number' => 'string', 'phone_code_hash' => 'string', ]); +$auth.SentCode = $MadelineProto->auth->resendCode(['phone_number' => 'string', 'phone_code_hash' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_SentCode = auth.resendCode({phone_number='string', phone_code_hash='string', }) +auth.SentCode = auth.resendCode({phone_number='string', phone_code_hash='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v65/methods/auth.sendCode.md b/old_docs/API_docs_v65/methods/auth.sendCode.md index bd922a48..0c818fbb 100644 --- a/old_docs/API_docs_v65/methods/auth.sendCode.md +++ b/old_docs/API_docs_v65/methods/auth.sendCode.md @@ -20,7 +20,7 @@ You cannot use this method directly, use the phoneLogin method instead (see http |api\_hash|[string](../types/string.md) | You cannot use this method directly, use the phoneLogin method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_SentCode](../types/auth_SentCode.md) +### Return type: [auth.SentCode](../types/auth.SentCode.md) ### Can bots use this method: **NO** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_SentCode = $MadelineProto->auth->sendCode(['allow_flashcall' => Bool, 'phone_number' => 'string', 'current_number' => Bool, 'api_id' => int, 'api_hash' => 'string', ]); +$auth.SentCode = $MadelineProto->auth->sendCode(['allow_flashcall' => Bool, 'phone_number' => 'string', 'current_number' => Bool, 'api_id' => int, 'api_hash' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_SentCode = auth.sendCode({allow_flashcall=Bool, phone_number='string', current_number=Bool, api_id=int, api_hash='string', }) +auth.SentCode = auth.sendCode({allow_flashcall=Bool, phone_number='string', current_number=Bool, api_id=int, api_hash='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v65/methods/auth.signIn.md b/old_docs/API_docs_v65/methods/auth.signIn.md index 54812a2e..95b14f32 100644 --- a/old_docs/API_docs_v65/methods/auth.signIn.md +++ b/old_docs/API_docs_v65/methods/auth.signIn.md @@ -18,7 +18,7 @@ You cannot use this method directly, use the completePhoneLogin method instead ( |phone\_code|[string](../types/string.md) | You cannot use this method directly, use the completePhoneLogin method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->signIn(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', ]); +$auth.Authorization = $MadelineProto->auth->signIn(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.signIn({phone_number='string', phone_code_hash='string', phone_code='string', }) +auth.Authorization = auth.signIn({phone_number='string', phone_code_hash='string', phone_code='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v65/methods/auth.signUp.md b/old_docs/API_docs_v65/methods/auth.signUp.md index 2aca2bfa..fdb5d628 100644 --- a/old_docs/API_docs_v65/methods/auth.signUp.md +++ b/old_docs/API_docs_v65/methods/auth.signUp.md @@ -20,7 +20,7 @@ You cannot use this method directly, use the completeSignup method instead (see |last\_name|[string](../types/string.md) | You cannot use this method directly, use the completeSignup method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **NO** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->signUp(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', 'first_name' => 'string', 'last_name' => 'string', ]); +$auth.Authorization = $MadelineProto->auth->signUp(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', 'first_name' => 'string', 'last_name' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.signUp({phone_number='string', phone_code_hash='string', phone_code='string', first_name='string', last_name='string', }) +auth.Authorization = auth.signUp({phone_number='string', phone_code_hash='string', phone_code='string', first_name='string', last_name='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v65/methods/channels.deleteMessages.md b/old_docs/API_docs_v65/methods/channels.deleteMessages.md index 10a439fb..8583e560 100644 --- a/old_docs/API_docs_v65/methods/channels.deleteMessages.md +++ b/old_docs/API_docs_v65/methods/channels.deleteMessages.md @@ -17,7 +17,7 @@ Delete messages in a [channel/supergroup](https://core.telegram.org/api/channel) |id|Array of [int](../types/int.md) | The IDs of messages to delete | Yes| -### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) +### Return type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedMessages = $MadelineProto->channels->deleteMessages(['channel' => InputChannel, 'id' => [int, int], ]); +$messages.AffectedMessages = $MadelineProto->channels->deleteMessages(['channel' => InputChannel, 'id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AffectedMessages = channels.deleteMessages({channel=InputChannel, id={int}, }) +messages.AffectedMessages = channels.deleteMessages({channel=InputChannel, id={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v65/methods/channels.deleteUserHistory.md b/old_docs/API_docs_v65/methods/channels.deleteUserHistory.md index 9b8b159f..6ccaf7dd 100644 --- a/old_docs/API_docs_v65/methods/channels.deleteUserHistory.md +++ b/old_docs/API_docs_v65/methods/channels.deleteUserHistory.md @@ -17,7 +17,7 @@ Delete all messages sent by a certain user in a [supergroup](https://core.telegr |user\_id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | User whose messages should be deleted | Optional| -### Return type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) +### Return type: [messages.AffectedHistory](../types/messages.AffectedHistory.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedHistory = $MadelineProto->channels->deleteUserHistory(['channel' => InputChannel, 'user_id' => InputUser, ]); +$messages.AffectedHistory = $MadelineProto->channels->deleteUserHistory(['channel' => InputChannel, 'user_id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -messages_AffectedHistory = channels.deleteUserHistory({channel=InputChannel, user_id=InputUser, }) +messages.AffectedHistory = channels.deleteUserHistory({channel=InputChannel, user_id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v65/methods/channels.getAdminedPublicChannels.md b/old_docs/API_docs_v65/methods/channels.getAdminedPublicChannels.md index 55a686ca..eb277404 100644 --- a/old_docs/API_docs_v65/methods/channels.getAdminedPublicChannels.md +++ b/old_docs/API_docs_v65/methods/channels.getAdminedPublicChannels.md @@ -11,7 +11,7 @@ Get [channels/supergroups/geogroups](https://core.telegram.org/api/channel) we'r -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->channels->getAdminedPublicChannels(); +$messages.Chats = $MadelineProto->channels->getAdminedPublicChannels(); ``` Or, if you're into Lua: ```lua -messages_Chats = channels.getAdminedPublicChannels({}) +messages.Chats = channels.getAdminedPublicChannels({}) ``` diff --git a/old_docs/API_docs_v65/methods/channels.getChannels.md b/old_docs/API_docs_v65/methods/channels.getChannels.md index 368c96ce..ed9cf4a7 100644 --- a/old_docs/API_docs_v65/methods/channels.getChannels.md +++ b/old_docs/API_docs_v65/methods/channels.getChannels.md @@ -16,7 +16,7 @@ Get info about [channels/supergroups](https://core.telegram.org/api/channel) |id|Array of [Username, chat ID, Update, Message or InputChannel](../types/InputChannel.md) | The channel/supergroup MTProto IDs | Yes| -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->channels->getChannels(['id' => [InputChannel, InputChannel], ]); +$messages.Chats = $MadelineProto->channels->getChannels(['id' => [InputChannel, InputChannel], ]); ``` Or, if you're into Lua: ```lua -messages_Chats = channels.getChannels({id={InputChannel}, }) +messages.Chats = channels.getChannels({id={InputChannel}, }) ``` ### Errors diff --git a/old_docs/API_docs_v65/methods/channels.getFullChannel.md b/old_docs/API_docs_v65/methods/channels.getFullChannel.md index 08dc21bb..1369e0a0 100644 --- a/old_docs/API_docs_v65/methods/channels.getFullChannel.md +++ b/old_docs/API_docs_v65/methods/channels.getFullChannel.md @@ -16,7 +16,7 @@ You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo me |channel|[Username, chat ID, Update, Message or InputChannel](../types/InputChannel.md) | You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo methods instead (see https://docs.madelineproto.xyz for more info) | Optional| -### Return type: [messages\_ChatFull](../types/messages_ChatFull.md) +### Return type: [messages.ChatFull](../types/messages.ChatFull.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_ChatFull = $MadelineProto->channels->getFullChannel(['channel' => InputChannel, ]); +$messages.ChatFull = $MadelineProto->channels->getFullChannel(['channel' => InputChannel, ]); ``` Or, if you're into Lua: ```lua -messages_ChatFull = channels.getFullChannel({channel=InputChannel, }) +messages.ChatFull = channels.getFullChannel({channel=InputChannel, }) ``` ### Errors diff --git a/old_docs/API_docs_v65/methods/channels.getMessages.md b/old_docs/API_docs_v65/methods/channels.getMessages.md index 379e0e9d..5023ea1a 100644 --- a/old_docs/API_docs_v65/methods/channels.getMessages.md +++ b/old_docs/API_docs_v65/methods/channels.getMessages.md @@ -17,7 +17,7 @@ Get [channel/supergroup](https://core.telegram.org/api/channel) messages |id|Array of [int](../types/int.md) | The message IDs | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->channels->getMessages(['channel' => InputChannel, 'id' => [int, int], ]); +$messages.Messages = $MadelineProto->channels->getMessages(['channel' => InputChannel, 'id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Messages = channels.getMessages({channel=InputChannel, id={int}, }) +messages.Messages = channels.getMessages({channel=InputChannel, id={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v65/methods/channels.getParticipant.md b/old_docs/API_docs_v65/methods/channels.getParticipant.md index aa2ce655..cf6a7771 100644 --- a/old_docs/API_docs_v65/methods/channels.getParticipant.md +++ b/old_docs/API_docs_v65/methods/channels.getParticipant.md @@ -17,7 +17,7 @@ Get info about a [channel/supergroup](https://core.telegram.org/api/channel) par |user\_id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | ID of participant to get info about | Optional| -### Return type: [channels\_ChannelParticipant](../types/channels_ChannelParticipant.md) +### Return type: [channels.ChannelParticipant](../types/channels.ChannelParticipant.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$channels_ChannelParticipant = $MadelineProto->channels->getParticipant(['channel' => InputChannel, 'user_id' => InputUser, ]); +$channels.ChannelParticipant = $MadelineProto->channels->getParticipant(['channel' => InputChannel, 'user_id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -channels_ChannelParticipant = channels.getParticipant({channel=InputChannel, user_id=InputUser, }) +channels.ChannelParticipant = channels.getParticipant({channel=InputChannel, user_id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v65/methods/channels.getParticipants.md b/old_docs/API_docs_v65/methods/channels.getParticipants.md index 9be95921..bfeccd48 100644 --- a/old_docs/API_docs_v65/methods/channels.getParticipants.md +++ b/old_docs/API_docs_v65/methods/channels.getParticipants.md @@ -19,7 +19,7 @@ Get the participants of a channel |limit|[int](../types/int.md) | [Limit](https://core.telegram.org/api/offsets) | Yes| -### Return type: [channels\_ChannelParticipants](../types/channels_ChannelParticipants.md) +### Return type: [channels.ChannelParticipants](../types/channels.ChannelParticipants.md) ### Can bots use this method: **YES** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$channels_ChannelParticipants = $MadelineProto->channels->getParticipants(['channel' => InputChannel, 'filter' => ChannelParticipantsFilter, 'offset' => int, 'limit' => int, ]); +$channels.ChannelParticipants = $MadelineProto->channels->getParticipants(['channel' => InputChannel, 'filter' => ChannelParticipantsFilter, 'offset' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -channels_ChannelParticipants = channels.getParticipants({channel=InputChannel, filter=ChannelParticipantsFilter, offset=int, limit=int, }) +channels.ChannelParticipants = channels.getParticipants({channel=InputChannel, filter=ChannelParticipantsFilter, offset=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v65/methods/contacts.deleteContact.md b/old_docs/API_docs_v65/methods/contacts.deleteContact.md index a9321d64..9169e1e0 100644 --- a/old_docs/API_docs_v65/methods/contacts.deleteContact.md +++ b/old_docs/API_docs_v65/methods/contacts.deleteContact.md @@ -16,7 +16,7 @@ Delete a contact |id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | The contact to delete | Optional| -### Return type: [contacts\_Link](../types/contacts_Link.md) +### Return type: [contacts.Link](../types/contacts.Link.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Link = $MadelineProto->contacts->deleteContact(['id' => InputUser, ]); +$contacts.Link = $MadelineProto->contacts->deleteContact(['id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -contacts_Link = contacts.deleteContact({id=InputUser, }) +contacts.Link = contacts.deleteContact({id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v65/methods/contacts.getBlocked.md b/old_docs/API_docs_v65/methods/contacts.getBlocked.md index 92f2f331..6ac1c343 100644 --- a/old_docs/API_docs_v65/methods/contacts.getBlocked.md +++ b/old_docs/API_docs_v65/methods/contacts.getBlocked.md @@ -17,7 +17,7 @@ Returns the list of blocked users. |limit|[int](../types/int.md) | The number of list elements to be returned | Yes| -### Return type: [contacts\_Blocked](../types/contacts_Blocked.md) +### Return type: [contacts.Blocked](../types/contacts.Blocked.md) ### Can bots use this method: **NO** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Blocked = $MadelineProto->contacts->getBlocked(['offset' => int, 'limit' => int, ]); +$contacts.Blocked = $MadelineProto->contacts->getBlocked(['offset' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -contacts_Blocked = contacts.getBlocked({offset=int, limit=int, }) +contacts.Blocked = contacts.getBlocked({offset=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v65/methods/contacts.getContacts.md b/old_docs/API_docs_v65/methods/contacts.getContacts.md index caee7aa8..a2fcd412 100644 --- a/old_docs/API_docs_v65/methods/contacts.getContacts.md +++ b/old_docs/API_docs_v65/methods/contacts.getContacts.md @@ -16,7 +16,7 @@ Returns the current user's contact list. |hash|[string](../types/string.md) | List of contact user IDs you already cached | Yes| -### Return type: [contacts\_Contacts](../types/contacts_Contacts.md) +### Return type: [contacts.Contacts](../types/contacts.Contacts.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Contacts = $MadelineProto->contacts->getContacts(['hash' => 'string', ]); +$contacts.Contacts = $MadelineProto->contacts->getContacts(['hash' => 'string', ]); ``` Or, if you're into Lua: ```lua -contacts_Contacts = contacts.getContacts({hash='string', }) +contacts.Contacts = contacts.getContacts({hash='string', }) ``` diff --git a/old_docs/API_docs_v65/methods/contacts.getTopPeers.md b/old_docs/API_docs_v65/methods/contacts.getTopPeers.md index 4875826c..c2063ea6 100644 --- a/old_docs/API_docs_v65/methods/contacts.getTopPeers.md +++ b/old_docs/API_docs_v65/methods/contacts.getTopPeers.md @@ -23,7 +23,7 @@ Get most used peers |hash|Array of [int](../types/int.md) | Peer IDs of previously cached peers | Optional| -### Return type: [contacts\_TopPeers](../types/contacts_TopPeers.md) +### Return type: [contacts.TopPeers](../types/contacts.TopPeers.md) ### Can bots use this method: **NO** @@ -40,13 +40,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_TopPeers = $MadelineProto->contacts->getTopPeers(['correspondents' => Bool, 'bots_pm' => Bool, 'bots_inline' => Bool, 'groups' => Bool, 'channels' => Bool, 'offset' => int, 'limit' => int, 'hash' => [int, int], ]); +$contacts.TopPeers = $MadelineProto->contacts->getTopPeers(['correspondents' => Bool, 'bots_pm' => Bool, 'bots_inline' => Bool, 'groups' => Bool, 'channels' => Bool, 'offset' => int, 'limit' => int, 'hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -contacts_TopPeers = contacts.getTopPeers({correspondents=Bool, bots_pm=Bool, bots_inline=Bool, groups=Bool, channels=Bool, offset=int, limit=int, hash={int}, }) +contacts.TopPeers = contacts.getTopPeers({correspondents=Bool, bots_pm=Bool, bots_inline=Bool, groups=Bool, channels=Bool, offset=int, limit=int, hash={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v65/methods/contacts.importContacts.md b/old_docs/API_docs_v65/methods/contacts.importContacts.md index 572df9fb..975d0565 100644 --- a/old_docs/API_docs_v65/methods/contacts.importContacts.md +++ b/old_docs/API_docs_v65/methods/contacts.importContacts.md @@ -17,7 +17,7 @@ Imports contacts: saves a full list on the server, adds already registered conta |replace|[Bool](../types/Bool.md) | Replace contacts? | Yes| -### Return type: [contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) +### Return type: [contacts.ImportedContacts](../types/contacts.ImportedContacts.md) ### Can bots use this method: **NO** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_ImportedContacts = $MadelineProto->contacts->importContacts(['contacts' => [InputContact, InputContact], 'replace' => Bool, ]); +$contacts.ImportedContacts = $MadelineProto->contacts->importContacts(['contacts' => [InputContact, InputContact], 'replace' => Bool, ]); ``` Or, if you're into Lua: ```lua -contacts_ImportedContacts = contacts.importContacts({contacts={InputContact}, replace=Bool, }) +contacts.ImportedContacts = contacts.importContacts({contacts={InputContact}, replace=Bool, }) ``` diff --git a/old_docs/API_docs_v65/methods/contacts.resolveUsername.md b/old_docs/API_docs_v65/methods/contacts.resolveUsername.md index 05e3d854..46f1eb50 100644 --- a/old_docs/API_docs_v65/methods/contacts.resolveUsername.md +++ b/old_docs/API_docs_v65/methods/contacts.resolveUsername.md @@ -16,7 +16,7 @@ You cannot use this method directly, use the resolveUsername, getPwrChat, getInf |username|[string](../types/string.md) | You cannot use this method directly, use the resolveUsername, getPwrChat, getInfo, getFullInfo methods instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [contacts\_ResolvedPeer](../types/contacts_ResolvedPeer.md) +### Return type: [contacts.ResolvedPeer](../types/contacts.ResolvedPeer.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_ResolvedPeer = $MadelineProto->contacts->resolveUsername(['username' => 'string', ]); +$contacts.ResolvedPeer = $MadelineProto->contacts->resolveUsername(['username' => 'string', ]); ``` Or, if you're into Lua: ```lua -contacts_ResolvedPeer = contacts.resolveUsername({username='string', }) +contacts.ResolvedPeer = contacts.resolveUsername({username='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v65/methods/contacts.search.md b/old_docs/API_docs_v65/methods/contacts.search.md index 2f39d6f1..ec04c7f9 100644 --- a/old_docs/API_docs_v65/methods/contacts.search.md +++ b/old_docs/API_docs_v65/methods/contacts.search.md @@ -17,7 +17,7 @@ Returns users found by username substring. |limit|[int](../types/int.md) | Maximum number of users to be returned | Yes| -### Return type: [contacts\_Found](../types/contacts_Found.md) +### Return type: [contacts.Found](../types/contacts.Found.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Found = $MadelineProto->contacts->search(['q' => 'string', 'limit' => int, ]); +$contacts.Found = $MadelineProto->contacts->search(['q' => 'string', 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -contacts_Found = contacts.search({q='string', limit=int, }) +contacts.Found = contacts.search({q='string', limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v65/methods/help.getAppUpdate.md b/old_docs/API_docs_v65/methods/help.getAppUpdate.md index 4c58e898..b9899d71 100644 --- a/old_docs/API_docs_v65/methods/help.getAppUpdate.md +++ b/old_docs/API_docs_v65/methods/help.getAppUpdate.md @@ -11,7 +11,7 @@ Returns information on update availability for the current application. -### Return type: [help\_AppUpdate](../types/help_AppUpdate.md) +### Return type: [help.AppUpdate](../types/help.AppUpdate.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_AppUpdate = $MadelineProto->help->getAppUpdate(); +$help.AppUpdate = $MadelineProto->help->getAppUpdate(); ``` Or, if you're into Lua: ```lua -help_AppUpdate = help.getAppUpdate({}) +help.AppUpdate = help.getAppUpdate({}) ``` diff --git a/old_docs/API_docs_v65/methods/help.getInviteText.md b/old_docs/API_docs_v65/methods/help.getInviteText.md index 6fd67362..0d427974 100644 --- a/old_docs/API_docs_v65/methods/help.getInviteText.md +++ b/old_docs/API_docs_v65/methods/help.getInviteText.md @@ -11,7 +11,7 @@ Returns text of a text message with an invitation. -### Return type: [help\_InviteText](../types/help_InviteText.md) +### Return type: [help.InviteText](../types/help.InviteText.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_InviteText = $MadelineProto->help->getInviteText(); +$help.InviteText = $MadelineProto->help->getInviteText(); ``` Or, if you're into Lua: ```lua -help_InviteText = help.getInviteText({}) +help.InviteText = help.getInviteText({}) ``` diff --git a/old_docs/API_docs_v65/methods/help.getSupport.md b/old_docs/API_docs_v65/methods/help.getSupport.md index 7a577892..8a8df916 100644 --- a/old_docs/API_docs_v65/methods/help.getSupport.md +++ b/old_docs/API_docs_v65/methods/help.getSupport.md @@ -11,7 +11,7 @@ Returns the support user for the 'ask a question' feature. -### Return type: [help\_Support](../types/help_Support.md) +### Return type: [help.Support](../types/help.Support.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_Support = $MadelineProto->help->getSupport(); +$help.Support = $MadelineProto->help->getSupport(); ``` Or, if you're into Lua: ```lua -help_Support = help.getSupport({}) +help.Support = help.getSupport({}) ``` diff --git a/old_docs/API_docs_v65/methods/help.getTermsOfService.md b/old_docs/API_docs_v65/methods/help.getTermsOfService.md index f6226458..9f9b28f9 100644 --- a/old_docs/API_docs_v65/methods/help.getTermsOfService.md +++ b/old_docs/API_docs_v65/methods/help.getTermsOfService.md @@ -11,7 +11,7 @@ Get terms of service -### Return type: [help\_TermsOfService](../types/help_TermsOfService.md) +### Return type: [help.TermsOfService](../types/help.TermsOfService.md) ### Can bots use this method: **YES** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_TermsOfService = $MadelineProto->help->getTermsOfService(); +$help.TermsOfService = $MadelineProto->help->getTermsOfService(); ``` Or, if you're into Lua: ```lua -help_TermsOfService = help.getTermsOfService({}) +help.TermsOfService = help.getTermsOfService({}) ``` diff --git a/old_docs/API_docs_v65/methods/messages.deleteHistory.md b/old_docs/API_docs_v65/methods/messages.deleteHistory.md index 9ae1bae9..41460415 100644 --- a/old_docs/API_docs_v65/methods/messages.deleteHistory.md +++ b/old_docs/API_docs_v65/methods/messages.deleteHistory.md @@ -18,7 +18,7 @@ Deletes communication history. |max\_id|[int](../types/int.md) | Maximum ID of message to delete | Yes| -### Return type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) +### Return type: [messages.AffectedHistory](../types/messages.AffectedHistory.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedHistory = $MadelineProto->messages->deleteHistory(['just_clear' => Bool, 'peer' => InputPeer, 'max_id' => int, ]); +$messages.AffectedHistory = $MadelineProto->messages->deleteHistory(['just_clear' => Bool, 'peer' => InputPeer, 'max_id' => int, ]); ``` Or, if you're into Lua: ```lua -messages_AffectedHistory = messages.deleteHistory({just_clear=Bool, peer=InputPeer, max_id=int, }) +messages.AffectedHistory = messages.deleteHistory({just_clear=Bool, peer=InputPeer, max_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v65/methods/messages.deleteMessages.md b/old_docs/API_docs_v65/methods/messages.deleteMessages.md index ade04cae..ade96e60 100644 --- a/old_docs/API_docs_v65/methods/messages.deleteMessages.md +++ b/old_docs/API_docs_v65/methods/messages.deleteMessages.md @@ -17,7 +17,7 @@ Deletes messages by their identifiers. |id|Array of [int](../types/int.md) | IDs of messages to delete, use channels->deleteMessages for supergroups | Yes| -### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) +### Return type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedMessages = $MadelineProto->messages->deleteMessages(['revoke' => Bool, 'id' => [int, int], ]); +$messages.AffectedMessages = $MadelineProto->messages->deleteMessages(['revoke' => Bool, 'id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AffectedMessages = messages.deleteMessages({revoke=Bool, id={int}, }) +messages.AffectedMessages = messages.deleteMessages({revoke=Bool, id={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v65/methods/messages.getAllChats.md b/old_docs/API_docs_v65/methods/messages.getAllChats.md index cdcc5430..97cc4817 100644 --- a/old_docs/API_docs_v65/methods/messages.getAllChats.md +++ b/old_docs/API_docs_v65/methods/messages.getAllChats.md @@ -16,7 +16,7 @@ Get all chats, channels and supergroups |except\_ids|Array of [int](../types/int.md) | Do not fetch these chats (MTProto id) | Yes| -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->messages->getAllChats(['except_ids' => [int, int], ]); +$messages.Chats = $MadelineProto->messages->getAllChats(['except_ids' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Chats = messages.getAllChats({except_ids={int}, }) +messages.Chats = messages.getAllChats({except_ids={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v65/methods/messages.getAllStickers.md b/old_docs/API_docs_v65/methods/messages.getAllStickers.md index 329b70be..0f0de7f1 100644 --- a/old_docs/API_docs_v65/methods/messages.getAllStickers.md +++ b/old_docs/API_docs_v65/methods/messages.getAllStickers.md @@ -16,7 +16,7 @@ Get all installed stickers |hash|Array of [int](../types/int.md) | The hash parameter of the previous result of this method | Optional| -### Return type: [messages\_AllStickers](../types/messages_AllStickers.md) +### Return type: [messages.AllStickers](../types/messages.AllStickers.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AllStickers = $MadelineProto->messages->getAllStickers(['hash' => [int, int], ]); +$messages.AllStickers = $MadelineProto->messages->getAllStickers(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AllStickers = messages.getAllStickers({hash={int}, }) +messages.AllStickers = messages.getAllStickers({hash={int}, }) ``` diff --git a/old_docs/API_docs_v65/methods/messages.getArchivedStickers.md b/old_docs/API_docs_v65/methods/messages.getArchivedStickers.md index d3abe9fc..c108376e 100644 --- a/old_docs/API_docs_v65/methods/messages.getArchivedStickers.md +++ b/old_docs/API_docs_v65/methods/messages.getArchivedStickers.md @@ -18,7 +18,7 @@ Get all archived stickers |limit|[int](../types/int.md) | Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_ArchivedStickers](../types/messages_ArchivedStickers.md) +### Return type: [messages.ArchivedStickers](../types/messages.ArchivedStickers.md) ### Can bots use this method: **NO** @@ -35,12 +35,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_ArchivedStickers = $MadelineProto->messages->getArchivedStickers(['masks' => Bool, 'offset_id' => long, 'limit' => int, ]); +$messages.ArchivedStickers = $MadelineProto->messages->getArchivedStickers(['masks' => Bool, 'offset_id' => long, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -messages_ArchivedStickers = messages.getArchivedStickers({masks=Bool, offset_id=long, limit=int, }) +messages.ArchivedStickers = messages.getArchivedStickers({masks=Bool, offset_id=long, limit=int, }) ``` diff --git a/old_docs/API_docs_v65/methods/messages.getBotCallbackAnswer.md b/old_docs/API_docs_v65/methods/messages.getBotCallbackAnswer.md index 015fc46b..10072386 100644 --- a/old_docs/API_docs_v65/methods/messages.getBotCallbackAnswer.md +++ b/old_docs/API_docs_v65/methods/messages.getBotCallbackAnswer.md @@ -19,7 +19,7 @@ Press an inline callback button and get a callback answer from the bot |data|[bytes](../types/bytes.md) | Callback data | Optional| -### Return type: [messages\_BotCallbackAnswer](../types/messages_BotCallbackAnswer.md) +### Return type: [messages.BotCallbackAnswer](../types/messages.BotCallbackAnswer.md) ### Can bots use this method: **NO** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_BotCallbackAnswer = $MadelineProto->messages->getBotCallbackAnswer(['game' => Bool, 'peer' => InputPeer, 'msg_id' => int, 'data' => 'bytes', ]); +$messages.BotCallbackAnswer = $MadelineProto->messages->getBotCallbackAnswer(['game' => Bool, 'peer' => InputPeer, 'msg_id' => int, 'data' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -messages_BotCallbackAnswer = messages.getBotCallbackAnswer({game=Bool, peer=InputPeer, msg_id=int, data='bytes', }) +messages.BotCallbackAnswer = messages.getBotCallbackAnswer({game=Bool, peer=InputPeer, msg_id=int, data='bytes', }) ``` ### Errors diff --git a/old_docs/API_docs_v65/methods/messages.getChats.md b/old_docs/API_docs_v65/methods/messages.getChats.md index c34b0488..146341f5 100644 --- a/old_docs/API_docs_v65/methods/messages.getChats.md +++ b/old_docs/API_docs_v65/methods/messages.getChats.md @@ -16,7 +16,7 @@ Returns chat basic info on their IDs. |id|Array of [int](../types/int.md) | The MTProto IDs of chats to fetch info about | Yes| -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->messages->getChats(['id' => [int, int], ]); +$messages.Chats = $MadelineProto->messages->getChats(['id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Chats = messages.getChats({id={int}, }) +messages.Chats = messages.getChats({id={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v65/methods/messages.getCommonChats.md b/old_docs/API_docs_v65/methods/messages.getCommonChats.md index fc7b2363..56a3ec01 100644 --- a/old_docs/API_docs_v65/methods/messages.getCommonChats.md +++ b/old_docs/API_docs_v65/methods/messages.getCommonChats.md @@ -18,7 +18,7 @@ Get chats in common with a user |limit|[int](../types/int.md) | Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->messages->getCommonChats(['user_id' => InputUser, 'max_id' => int, 'limit' => int, ]); +$messages.Chats = $MadelineProto->messages->getCommonChats(['user_id' => InputUser, 'max_id' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Chats = messages.getCommonChats({user_id=InputUser, max_id=int, limit=int, }) +messages.Chats = messages.getCommonChats({user_id=InputUser, max_id=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v65/methods/messages.getDhConfig.md b/old_docs/API_docs_v65/methods/messages.getDhConfig.md index 88ea4ab3..7b9da566 100644 --- a/old_docs/API_docs_v65/methods/messages.getDhConfig.md +++ b/old_docs/API_docs_v65/methods/messages.getDhConfig.md @@ -17,7 +17,7 @@ You cannot use this method directly, instead use $MadelineProto->getDhConfig(); |random\_length|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->getDhConfig(); | Yes| -### Return type: [messages\_DhConfig](../types/messages_DhConfig.md) +### Return type: [messages.DhConfig](../types/messages.DhConfig.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_DhConfig = $MadelineProto->messages->getDhConfig(['version' => int, 'random_length' => int, ]); +$messages.DhConfig = $MadelineProto->messages->getDhConfig(['version' => int, 'random_length' => int, ]); ``` Or, if you're into Lua: ```lua -messages_DhConfig = messages.getDhConfig({version=int, random_length=int, }) +messages.DhConfig = messages.getDhConfig({version=int, random_length=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v65/methods/messages.getDialogs.md b/old_docs/API_docs_v65/methods/messages.getDialogs.md index 9f3fd365..44b8efc8 100644 --- a/old_docs/API_docs_v65/methods/messages.getDialogs.md +++ b/old_docs/API_docs_v65/methods/messages.getDialogs.md @@ -20,7 +20,7 @@ Returns the current user dialog list. |limit|[int](../types/int.md) | Number of list elements to be returned | Yes| -### Return type: [messages\_Dialogs](../types/messages_Dialogs.md) +### Return type: [messages.Dialogs](../types/messages.Dialogs.md) ### Can bots use this method: **NO** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Dialogs = $MadelineProto->messages->getDialogs(['exclude_pinned' => Bool, 'offset_date' => int, 'offset_id' => int, 'offset_peer' => InputPeer, 'limit' => int, ]); +$messages.Dialogs = $MadelineProto->messages->getDialogs(['exclude_pinned' => Bool, 'offset_date' => int, 'offset_id' => int, 'offset_peer' => InputPeer, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Dialogs = messages.getDialogs({exclude_pinned=Bool, offset_date=int, offset_id=int, offset_peer=InputPeer, limit=int, }) +messages.Dialogs = messages.getDialogs({exclude_pinned=Bool, offset_date=int, offset_id=int, offset_peer=InputPeer, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v65/methods/messages.getFeaturedStickers.md b/old_docs/API_docs_v65/methods/messages.getFeaturedStickers.md index 8f2634c3..2d65d626 100644 --- a/old_docs/API_docs_v65/methods/messages.getFeaturedStickers.md +++ b/old_docs/API_docs_v65/methods/messages.getFeaturedStickers.md @@ -16,7 +16,7 @@ Get featured stickers |hash|Array of [int](../types/int.md) | the hash parameter of the previous result of this method | Optional| -### Return type: [messages\_FeaturedStickers](../types/messages_FeaturedStickers.md) +### Return type: [messages.FeaturedStickers](../types/messages.FeaturedStickers.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_FeaturedStickers = $MadelineProto->messages->getFeaturedStickers(['hash' => [int, int], ]); +$messages.FeaturedStickers = $MadelineProto->messages->getFeaturedStickers(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_FeaturedStickers = messages.getFeaturedStickers({hash={int}, }) +messages.FeaturedStickers = messages.getFeaturedStickers({hash={int}, }) ``` diff --git a/old_docs/API_docs_v65/methods/messages.getFullChat.md b/old_docs/API_docs_v65/methods/messages.getFullChat.md index abf23e21..de543651 100644 --- a/old_docs/API_docs_v65/methods/messages.getFullChat.md +++ b/old_docs/API_docs_v65/methods/messages.getFullChat.md @@ -16,7 +16,7 @@ You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo me |chat\_id|[Username, chat ID, Update, Message or InputPeer](../types/InputPeer.md) | You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo methods instead (see https://docs.madelineproto.xyz for more info) | Optional| -### Return type: [messages\_ChatFull](../types/messages_ChatFull.md) +### Return type: [messages.ChatFull](../types/messages.ChatFull.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_ChatFull = $MadelineProto->messages->getFullChat(['chat_id' => InputPeer, ]); +$messages.ChatFull = $MadelineProto->messages->getFullChat(['chat_id' => InputPeer, ]); ``` Or, if you're into Lua: ```lua -messages_ChatFull = messages.getFullChat({chat_id=InputPeer, }) +messages.ChatFull = messages.getFullChat({chat_id=InputPeer, }) ``` ### Errors diff --git a/old_docs/API_docs_v65/methods/messages.getGameHighScores.md b/old_docs/API_docs_v65/methods/messages.getGameHighScores.md index 0ee9d754..6e4dacb2 100644 --- a/old_docs/API_docs_v65/methods/messages.getGameHighScores.md +++ b/old_docs/API_docs_v65/methods/messages.getGameHighScores.md @@ -18,7 +18,7 @@ Get highscores of a game |user\_id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | Get high scores made by a certain user | Optional| -### Return type: [messages\_HighScores](../types/messages_HighScores.md) +### Return type: [messages.HighScores](../types/messages.HighScores.md) ### Can bots use this method: **YES** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_HighScores = $MadelineProto->messages->getGameHighScores(['peer' => InputPeer, 'id' => int, 'user_id' => InputUser, ]); +$messages.HighScores = $MadelineProto->messages->getGameHighScores(['peer' => InputPeer, 'id' => int, 'user_id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -messages_HighScores = messages.getGameHighScores({peer=InputPeer, id=int, user_id=InputUser, }) +messages.HighScores = messages.getGameHighScores({peer=InputPeer, id=int, user_id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v65/methods/messages.getHistory.md b/old_docs/API_docs_v65/methods/messages.getHistory.md index 636183d2..8e012da1 100644 --- a/old_docs/API_docs_v65/methods/messages.getHistory.md +++ b/old_docs/API_docs_v65/methods/messages.getHistory.md @@ -22,7 +22,7 @@ Gets back the conversation history with one interlocutor / within a chat |min\_id|[int](../types/int.md) | If a positive value was transferred, the method will return only messages with IDs more than **min\_id** | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **NO** @@ -39,13 +39,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->getHistory(['peer' => InputPeer, 'offset_id' => int, 'offset_date' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); +$messages.Messages = $MadelineProto->messages->getHistory(['peer' => InputPeer, 'offset_id' => int, 'offset_date' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.getHistory({peer=InputPeer, offset_id=int, offset_date=int, add_offset=int, limit=int, max_id=int, min_id=int, }) +messages.Messages = messages.getHistory({peer=InputPeer, offset_id=int, offset_date=int, add_offset=int, limit=int, max_id=int, min_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v65/methods/messages.getInlineBotResults.md b/old_docs/API_docs_v65/methods/messages.getInlineBotResults.md index ac251797..8a397236 100644 --- a/old_docs/API_docs_v65/methods/messages.getInlineBotResults.md +++ b/old_docs/API_docs_v65/methods/messages.getInlineBotResults.md @@ -20,7 +20,7 @@ Query an inline bot |offset|[string](../types/string.md) | The offset within the results, will be passed directly as-is to the bot. | Yes| -### Return type: [messages\_BotResults](../types/messages_BotResults.md) +### Return type: [messages.BotResults](../types/messages.BotResults.md) ### Can bots use this method: **NO** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_BotResults = $MadelineProto->messages->getInlineBotResults(['bot' => InputUser, 'peer' => InputPeer, 'geo_point' => InputGeoPoint, 'query' => 'string', 'offset' => 'string', ]); +$messages.BotResults = $MadelineProto->messages->getInlineBotResults(['bot' => InputUser, 'peer' => InputPeer, 'geo_point' => InputGeoPoint, 'query' => 'string', 'offset' => 'string', ]); ``` Or, if you're into Lua: ```lua -messages_BotResults = messages.getInlineBotResults({bot=InputUser, peer=InputPeer, geo_point=InputGeoPoint, query='string', offset='string', }) +messages.BotResults = messages.getInlineBotResults({bot=InputUser, peer=InputPeer, geo_point=InputGeoPoint, query='string', offset='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v65/methods/messages.getInlineGameHighScores.md b/old_docs/API_docs_v65/methods/messages.getInlineGameHighScores.md index 0d02b426..dbcb2cf6 100644 --- a/old_docs/API_docs_v65/methods/messages.getInlineGameHighScores.md +++ b/old_docs/API_docs_v65/methods/messages.getInlineGameHighScores.md @@ -17,7 +17,7 @@ Get highscores of a game sent using an inline bot |user\_id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | Get high scores of a certain user | Optional| -### Return type: [messages\_HighScores](../types/messages_HighScores.md) +### Return type: [messages.HighScores](../types/messages.HighScores.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_HighScores = $MadelineProto->messages->getInlineGameHighScores(['id' => InputBotInlineMessageID, 'user_id' => InputUser, ]); +$messages.HighScores = $MadelineProto->messages->getInlineGameHighScores(['id' => InputBotInlineMessageID, 'user_id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -messages_HighScores = messages.getInlineGameHighScores({id=InputBotInlineMessageID, user_id=InputUser, }) +messages.HighScores = messages.getInlineGameHighScores({id=InputBotInlineMessageID, user_id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v65/methods/messages.getMaskStickers.md b/old_docs/API_docs_v65/methods/messages.getMaskStickers.md index a09834e1..093645f6 100644 --- a/old_docs/API_docs_v65/methods/messages.getMaskStickers.md +++ b/old_docs/API_docs_v65/methods/messages.getMaskStickers.md @@ -16,7 +16,7 @@ Get installed mask stickers |hash|Array of [int](../types/int.md) | the hash parameter of the previous result of this method | Optional| -### Return type: [messages\_AllStickers](../types/messages_AllStickers.md) +### Return type: [messages.AllStickers](../types/messages.AllStickers.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AllStickers = $MadelineProto->messages->getMaskStickers(['hash' => [int, int], ]); +$messages.AllStickers = $MadelineProto->messages->getMaskStickers(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AllStickers = messages.getMaskStickers({hash={int}, }) +messages.AllStickers = messages.getMaskStickers({hash={int}, }) ``` diff --git a/old_docs/API_docs_v65/methods/messages.getMessageEditData.md b/old_docs/API_docs_v65/methods/messages.getMessageEditData.md index 1a083f08..7fd32e82 100644 --- a/old_docs/API_docs_v65/methods/messages.getMessageEditData.md +++ b/old_docs/API_docs_v65/methods/messages.getMessageEditData.md @@ -17,7 +17,7 @@ Find out if a media message's caption can be edited |id|[int](../types/int.md) | ID of message | Yes| -### Return type: [messages\_MessageEditData](../types/messages_MessageEditData.md) +### Return type: [messages.MessageEditData](../types/messages.MessageEditData.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_MessageEditData = $MadelineProto->messages->getMessageEditData(['peer' => InputPeer, 'id' => int, ]); +$messages.MessageEditData = $MadelineProto->messages->getMessageEditData(['peer' => InputPeer, 'id' => int, ]); ``` Or, if you're into Lua: ```lua -messages_MessageEditData = messages.getMessageEditData({peer=InputPeer, id=int, }) +messages.MessageEditData = messages.getMessageEditData({peer=InputPeer, id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v65/methods/messages.getMessages.md b/old_docs/API_docs_v65/methods/messages.getMessages.md index a3139513..c7760d7e 100644 --- a/old_docs/API_docs_v65/methods/messages.getMessages.md +++ b/old_docs/API_docs_v65/methods/messages.getMessages.md @@ -16,7 +16,7 @@ Returns the list of messages by their IDs. |id|Array of [int](../types/int.md) | The IDs of messages to fetch (only for users and normal groups) | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **YES** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->getMessages(['id' => [int, int], ]); +$messages.Messages = $MadelineProto->messages->getMessages(['id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.getMessages({id={int}, }) +messages.Messages = messages.getMessages({id={int}, }) ``` diff --git a/old_docs/API_docs_v65/methods/messages.getPeerDialogs.md b/old_docs/API_docs_v65/methods/messages.getPeerDialogs.md index a2c2714b..79bd7fa3 100644 --- a/old_docs/API_docs_v65/methods/messages.getPeerDialogs.md +++ b/old_docs/API_docs_v65/methods/messages.getPeerDialogs.md @@ -16,7 +16,7 @@ Get dialog info of specified peers |peers|Array of [Username, chat ID, Update, Message or InputPeer](../types/InputPeer.md) | The peers | Yes| -### Return type: [messages\_PeerDialogs](../types/messages_PeerDialogs.md) +### Return type: [messages.PeerDialogs](../types/messages.PeerDialogs.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_PeerDialogs = $MadelineProto->messages->getPeerDialogs(['peers' => [InputPeer, InputPeer], ]); +$messages.PeerDialogs = $MadelineProto->messages->getPeerDialogs(['peers' => [InputPeer, InputPeer], ]); ``` Or, if you're into Lua: ```lua -messages_PeerDialogs = messages.getPeerDialogs({peers={InputPeer}, }) +messages.PeerDialogs = messages.getPeerDialogs({peers={InputPeer}, }) ``` ### Errors diff --git a/old_docs/API_docs_v65/methods/messages.getPinnedDialogs.md b/old_docs/API_docs_v65/methods/messages.getPinnedDialogs.md index f106098d..161075f2 100644 --- a/old_docs/API_docs_v65/methods/messages.getPinnedDialogs.md +++ b/old_docs/API_docs_v65/methods/messages.getPinnedDialogs.md @@ -11,7 +11,7 @@ Get pinned dialogs -### Return type: [messages\_PeerDialogs](../types/messages_PeerDialogs.md) +### Return type: [messages.PeerDialogs](../types/messages.PeerDialogs.md) ### Can bots use this method: **NO** @@ -28,13 +28,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_PeerDialogs = $MadelineProto->messages->getPinnedDialogs(); +$messages.PeerDialogs = $MadelineProto->messages->getPinnedDialogs(); ``` Or, if you're into Lua: ```lua -messages_PeerDialogs = messages.getPinnedDialogs({}) +messages.PeerDialogs = messages.getPinnedDialogs({}) ``` ### Errors diff --git a/old_docs/API_docs_v65/methods/messages.getRecentStickers.md b/old_docs/API_docs_v65/methods/messages.getRecentStickers.md index 28a70889..39cef16a 100644 --- a/old_docs/API_docs_v65/methods/messages.getRecentStickers.md +++ b/old_docs/API_docs_v65/methods/messages.getRecentStickers.md @@ -17,7 +17,7 @@ Get recent stickers |hash|Array of [int](../types/int.md) | IDs the hash parameter of the previous result of this method | Optional| -### Return type: [messages\_RecentStickers](../types/messages_RecentStickers.md) +### Return type: [messages.RecentStickers](../types/messages.RecentStickers.md) ### Can bots use this method: **NO** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_RecentStickers = $MadelineProto->messages->getRecentStickers(['attached' => Bool, 'hash' => [int, int], ]); +$messages.RecentStickers = $MadelineProto->messages->getRecentStickers(['attached' => Bool, 'hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_RecentStickers = messages.getRecentStickers({attached=Bool, hash={int}, }) +messages.RecentStickers = messages.getRecentStickers({attached=Bool, hash={int}, }) ``` diff --git a/old_docs/API_docs_v65/methods/messages.getSavedGifs.md b/old_docs/API_docs_v65/methods/messages.getSavedGifs.md index 1df7f37c..8b31f7b8 100644 --- a/old_docs/API_docs_v65/methods/messages.getSavedGifs.md +++ b/old_docs/API_docs_v65/methods/messages.getSavedGifs.md @@ -16,7 +16,7 @@ Get saved GIFs |hash|Array of [int](../types/int.md) | the hash parameter of the previous result of this method | Optional| -### Return type: [messages\_SavedGifs](../types/messages_SavedGifs.md) +### Return type: [messages.SavedGifs](../types/messages.SavedGifs.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_SavedGifs = $MadelineProto->messages->getSavedGifs(['hash' => [int, int], ]); +$messages.SavedGifs = $MadelineProto->messages->getSavedGifs(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_SavedGifs = messages.getSavedGifs({hash={int}, }) +messages.SavedGifs = messages.getSavedGifs({hash={int}, }) ``` diff --git a/old_docs/API_docs_v65/methods/messages.getStickerSet.md b/old_docs/API_docs_v65/methods/messages.getStickerSet.md index 45fca60f..f11887ee 100644 --- a/old_docs/API_docs_v65/methods/messages.getStickerSet.md +++ b/old_docs/API_docs_v65/methods/messages.getStickerSet.md @@ -16,7 +16,7 @@ Get info about a stickerset |stickerset|[InputStickerSet](../types/InputStickerSet.md) | Stickerset | Optional| -### Return type: [messages\_StickerSet](../types/messages_StickerSet.md) +### Return type: [messages.StickerSet](../types/messages.StickerSet.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StickerSet = $MadelineProto->messages->getStickerSet(['stickerset' => InputStickerSet, ]); +$messages.StickerSet = $MadelineProto->messages->getStickerSet(['stickerset' => InputStickerSet, ]); ``` Or, if you're into Lua: ```lua -messages_StickerSet = messages.getStickerSet({stickerset=InputStickerSet, }) +messages.StickerSet = messages.getStickerSet({stickerset=InputStickerSet, }) ``` ### Errors diff --git a/old_docs/API_docs_v65/methods/messages.installStickerSet.md b/old_docs/API_docs_v65/methods/messages.installStickerSet.md index 1a95ca0b..83ce2121 100644 --- a/old_docs/API_docs_v65/methods/messages.installStickerSet.md +++ b/old_docs/API_docs_v65/methods/messages.installStickerSet.md @@ -17,7 +17,7 @@ Install a stickerset |archived|[Bool](../types/Bool.md) | Whether to archive stickerset | Yes| -### Return type: [messages\_StickerSetInstallResult](../types/messages_StickerSetInstallResult.md) +### Return type: [messages.StickerSetInstallResult](../types/messages.StickerSetInstallResult.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StickerSetInstallResult = $MadelineProto->messages->installStickerSet(['stickerset' => InputStickerSet, 'archived' => Bool, ]); +$messages.StickerSetInstallResult = $MadelineProto->messages->installStickerSet(['stickerset' => InputStickerSet, 'archived' => Bool, ]); ``` Or, if you're into Lua: ```lua -messages_StickerSetInstallResult = messages.installStickerSet({stickerset=InputStickerSet, archived=Bool, }) +messages.StickerSetInstallResult = messages.installStickerSet({stickerset=InputStickerSet, archived=Bool, }) ``` ### Errors diff --git a/old_docs/API_docs_v65/methods/messages.readHistory.md b/old_docs/API_docs_v65/methods/messages.readHistory.md index 39753375..52030c68 100644 --- a/old_docs/API_docs_v65/methods/messages.readHistory.md +++ b/old_docs/API_docs_v65/methods/messages.readHistory.md @@ -17,7 +17,7 @@ Marks message history as read. |max\_id|[int](../types/int.md) | If a positive value is passed, only messages with identifiers less or equal than the given one will be read | Yes| -### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) +### Return type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedMessages = $MadelineProto->messages->readHistory(['peer' => InputPeer, 'max_id' => int, ]); +$messages.AffectedMessages = $MadelineProto->messages->readHistory(['peer' => InputPeer, 'max_id' => int, ]); ``` Or, if you're into Lua: ```lua -messages_AffectedMessages = messages.readHistory({peer=InputPeer, max_id=int, }) +messages.AffectedMessages = messages.readHistory({peer=InputPeer, max_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v65/methods/messages.readMessageContents.md b/old_docs/API_docs_v65/methods/messages.readMessageContents.md index c479cafe..9798e661 100644 --- a/old_docs/API_docs_v65/methods/messages.readMessageContents.md +++ b/old_docs/API_docs_v65/methods/messages.readMessageContents.md @@ -16,7 +16,7 @@ Notifies the sender about the recipient having listened a voice message or watch |id|Array of [int](../types/int.md) | The messages to mark as read (only users and normal chats, not supergroups) | Yes| -### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) +### Return type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedMessages = $MadelineProto->messages->readMessageContents(['id' => [int, int], ]); +$messages.AffectedMessages = $MadelineProto->messages->readMessageContents(['id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AffectedMessages = messages.readMessageContents({id={int}, }) +messages.AffectedMessages = messages.readMessageContents({id={int}, }) ``` diff --git a/old_docs/API_docs_v65/methods/messages.search.md b/old_docs/API_docs_v65/methods/messages.search.md index 4fda6636..7ebe6a9a 100644 --- a/old_docs/API_docs_v65/methods/messages.search.md +++ b/old_docs/API_docs_v65/methods/messages.search.md @@ -23,7 +23,7 @@ Gets back found messages |limit|[int](../types/int.md) | [Number of results to return](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **NO** @@ -40,13 +40,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->search(['peer' => InputPeer, 'q' => 'string', 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); +$messages.Messages = $MadelineProto->messages->search(['peer' => InputPeer, 'q' => 'string', 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.search({peer=InputPeer, q='string', filter=MessagesFilter, min_date=int, max_date=int, offset=int, max_id=int, limit=int, }) +messages.Messages = messages.search({peer=InputPeer, q='string', filter=MessagesFilter, min_date=int, max_date=int, offset=int, max_id=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v65/methods/messages.searchGifs.md b/old_docs/API_docs_v65/methods/messages.searchGifs.md index 851371d7..193a0cd4 100644 --- a/old_docs/API_docs_v65/methods/messages.searchGifs.md +++ b/old_docs/API_docs_v65/methods/messages.searchGifs.md @@ -17,7 +17,7 @@ Search for GIFs |offset|[int](../types/int.md) | Offset for [pagination »](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_FoundGifs](../types/messages_FoundGifs.md) +### Return type: [messages.FoundGifs](../types/messages.FoundGifs.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_FoundGifs = $MadelineProto->messages->searchGifs(['q' => 'string', 'offset' => int, ]); +$messages.FoundGifs = $MadelineProto->messages->searchGifs(['q' => 'string', 'offset' => int, ]); ``` Or, if you're into Lua: ```lua -messages_FoundGifs = messages.searchGifs({q='string', offset=int, }) +messages.FoundGifs = messages.searchGifs({q='string', offset=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v65/methods/messages.searchGlobal.md b/old_docs/API_docs_v65/methods/messages.searchGlobal.md index 4bd59f25..1a3b736d 100644 --- a/old_docs/API_docs_v65/methods/messages.searchGlobal.md +++ b/old_docs/API_docs_v65/methods/messages.searchGlobal.md @@ -20,7 +20,7 @@ Search for messages and peers globally |limit|[int](../types/int.md) | [Offsets for pagination, for more info click here](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **NO** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->searchGlobal(['q' => 'string', 'offset_date' => int, 'offset_peer' => InputPeer, 'offset_id' => int, 'limit' => int, ]); +$messages.Messages = $MadelineProto->messages->searchGlobal(['q' => 'string', 'offset_date' => int, 'offset_peer' => InputPeer, 'offset_id' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.searchGlobal({q='string', offset_date=int, offset_peer=InputPeer, offset_id=int, limit=int, }) +messages.Messages = messages.searchGlobal({q='string', offset_date=int, offset_peer=InputPeer, offset_id=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v65/methods/messages.sendEncrypted.md b/old_docs/API_docs_v65/methods/messages.sendEncrypted.md index 47b5ef29..6a68b563 100644 --- a/old_docs/API_docs_v65/methods/messages.sendEncrypted.md +++ b/old_docs/API_docs_v65/methods/messages.sendEncrypted.md @@ -14,10 +14,10 @@ Sends a text message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|message|[DecryptedMessage](../types/DecryptedMessage.md) | The message to send | Yes| +|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key that was created during chat initialization | Yes| -### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ### Can bots use this method: **NO** @@ -34,21 +34,15 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncrypted(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); +$messages.SentEncryptedMessage = $MadelineProto->messages->sendEncrypted(['peer' => InputEncryptedChat, 'data' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -messages_SentEncryptedMessage = messages.sendEncrypted({peer=InputEncryptedChat, message=DecryptedMessage, }) +messages.SentEncryptedMessage = messages.sendEncrypted({peer=InputEncryptedChat, data='bytes', }) ``` - -## Return value - -If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) will be returned instead. - - ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v65/methods/messages.sendEncryptedFile.md b/old_docs/API_docs_v65/methods/messages.sendEncryptedFile.md index 4e0f7b7f..87185ba4 100644 --- a/old_docs/API_docs_v65/methods/messages.sendEncryptedFile.md +++ b/old_docs/API_docs_v65/methods/messages.sendEncryptedFile.md @@ -14,11 +14,11 @@ Sends a message with a file attachment to a secret chat | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|message|[DecryptedMessage](../types/DecryptedMessage.md) | The message with the file | Yes| +|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| |file|[File path or InputEncryptedFile](../types/InputEncryptedFile.md) | File attachment for the secret chat | Optional| -### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ### Can bots use this method: **NO** @@ -35,21 +35,15 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedFile(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, 'file' => InputEncryptedFile, ]); +$messages.SentEncryptedMessage = $MadelineProto->messages->sendEncryptedFile(['peer' => InputEncryptedChat, 'data' => 'bytes', 'file' => InputEncryptedFile, ]); ``` Or, if you're into Lua: ```lua -messages_SentEncryptedMessage = messages.sendEncryptedFile({peer=InputEncryptedChat, message=DecryptedMessage, file=InputEncryptedFile, }) +messages.SentEncryptedMessage = messages.sendEncryptedFile({peer=InputEncryptedChat, data='bytes', file=InputEncryptedFile, }) ``` - -## Return value - -If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) will be returned instead. - - ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v65/methods/messages.sendEncryptedService.md b/old_docs/API_docs_v65/methods/messages.sendEncryptedService.md index 86925ae3..38171272 100644 --- a/old_docs/API_docs_v65/methods/messages.sendEncryptedService.md +++ b/old_docs/API_docs_v65/methods/messages.sendEncryptedService.md @@ -14,10 +14,10 @@ Sends a service message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|message|[DecryptedMessage](../types/DecryptedMessage.md) | The service message | Yes| +|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| -### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ### Can bots use this method: **NO** @@ -34,21 +34,15 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedService(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); +$messages.SentEncryptedMessage = $MadelineProto->messages->sendEncryptedService(['peer' => InputEncryptedChat, 'data' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -messages_SentEncryptedMessage = messages.sendEncryptedService({peer=InputEncryptedChat, message=DecryptedMessage, }) +messages.SentEncryptedMessage = messages.sendEncryptedService({peer=InputEncryptedChat, data='bytes', }) ``` - -## Return value - -If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) will be returned instead. - - ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v65/methods/payments.getPaymentForm.md b/old_docs/API_docs_v65/methods/payments.getPaymentForm.md index 3a171a05..da173f14 100644 --- a/old_docs/API_docs_v65/methods/payments.getPaymentForm.md +++ b/old_docs/API_docs_v65/methods/payments.getPaymentForm.md @@ -16,7 +16,7 @@ Get a payment form |msg\_id|[int](../types/int.md) | Message ID of payment form | Yes| -### Return type: [payments\_PaymentForm](../types/payments_PaymentForm.md) +### Return type: [payments.PaymentForm](../types/payments.PaymentForm.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$payments_PaymentForm = $MadelineProto->payments->getPaymentForm(['msg_id' => int, ]); +$payments.PaymentForm = $MadelineProto->payments->getPaymentForm(['msg_id' => int, ]); ``` Or, if you're into Lua: ```lua -payments_PaymentForm = payments.getPaymentForm({msg_id=int, }) +payments.PaymentForm = payments.getPaymentForm({msg_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v65/methods/payments.getPaymentReceipt.md b/old_docs/API_docs_v65/methods/payments.getPaymentReceipt.md index 46d2267c..16e41367 100644 --- a/old_docs/API_docs_v65/methods/payments.getPaymentReceipt.md +++ b/old_docs/API_docs_v65/methods/payments.getPaymentReceipt.md @@ -16,7 +16,7 @@ Get payment receipt |msg\_id|[int](../types/int.md) | Message ID of receipt | Yes| -### Return type: [payments\_PaymentReceipt](../types/payments_PaymentReceipt.md) +### Return type: [payments.PaymentReceipt](../types/payments.PaymentReceipt.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$payments_PaymentReceipt = $MadelineProto->payments->getPaymentReceipt(['msg_id' => int, ]); +$payments.PaymentReceipt = $MadelineProto->payments->getPaymentReceipt(['msg_id' => int, ]); ``` Or, if you're into Lua: ```lua -payments_PaymentReceipt = payments.getPaymentReceipt({msg_id=int, }) +payments.PaymentReceipt = payments.getPaymentReceipt({msg_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v65/methods/payments.getSavedInfo.md b/old_docs/API_docs_v65/methods/payments.getSavedInfo.md index dc9c9b98..fe2c16ec 100644 --- a/old_docs/API_docs_v65/methods/payments.getSavedInfo.md +++ b/old_docs/API_docs_v65/methods/payments.getSavedInfo.md @@ -11,7 +11,7 @@ Get saved payment information -### Return type: [payments\_SavedInfo](../types/payments_SavedInfo.md) +### Return type: [payments.SavedInfo](../types/payments.SavedInfo.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$payments_SavedInfo = $MadelineProto->payments->getSavedInfo(); +$payments.SavedInfo = $MadelineProto->payments->getSavedInfo(); ``` Or, if you're into Lua: ```lua -payments_SavedInfo = payments.getSavedInfo({}) +payments.SavedInfo = payments.getSavedInfo({}) ``` diff --git a/old_docs/API_docs_v65/methods/payments.sendPaymentForm.md b/old_docs/API_docs_v65/methods/payments.sendPaymentForm.md index 8c478b92..de154e7f 100644 --- a/old_docs/API_docs_v65/methods/payments.sendPaymentForm.md +++ b/old_docs/API_docs_v65/methods/payments.sendPaymentForm.md @@ -19,7 +19,7 @@ Send compiled payment form |credentials|[InputPaymentCredentials](../types/InputPaymentCredentials.md) | Payment credentials | Yes| -### Return type: [payments\_PaymentResult](../types/payments_PaymentResult.md) +### Return type: [payments.PaymentResult](../types/payments.PaymentResult.md) ### Can bots use this method: **NO** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$payments_PaymentResult = $MadelineProto->payments->sendPaymentForm(['msg_id' => int, 'requested_info_id' => 'string', 'shipping_option_id' => 'string', 'credentials' => InputPaymentCredentials, ]); +$payments.PaymentResult = $MadelineProto->payments->sendPaymentForm(['msg_id' => int, 'requested_info_id' => 'string', 'shipping_option_id' => 'string', 'credentials' => InputPaymentCredentials, ]); ``` Or, if you're into Lua: ```lua -payments_PaymentResult = payments.sendPaymentForm({msg_id=int, requested_info_id='string', shipping_option_id='string', credentials=InputPaymentCredentials, }) +payments.PaymentResult = payments.sendPaymentForm({msg_id=int, requested_info_id='string', shipping_option_id='string', credentials=InputPaymentCredentials, }) ``` ### Errors diff --git a/old_docs/API_docs_v65/methods/payments.validateRequestedInfo.md b/old_docs/API_docs_v65/methods/payments.validateRequestedInfo.md index d6364a02..ce22cfe8 100644 --- a/old_docs/API_docs_v65/methods/payments.validateRequestedInfo.md +++ b/old_docs/API_docs_v65/methods/payments.validateRequestedInfo.md @@ -18,7 +18,7 @@ Submit requested order information for validation |info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Requested order information | Yes| -### Return type: [payments\_ValidatedRequestedInfo](../types/payments_ValidatedRequestedInfo.md) +### Return type: [payments.ValidatedRequestedInfo](../types/payments.ValidatedRequestedInfo.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$payments_ValidatedRequestedInfo = $MadelineProto->payments->validateRequestedInfo(['save' => Bool, 'msg_id' => int, 'info' => PaymentRequestedInfo, ]); +$payments.ValidatedRequestedInfo = $MadelineProto->payments->validateRequestedInfo(['save' => Bool, 'msg_id' => int, 'info' => PaymentRequestedInfo, ]); ``` Or, if you're into Lua: ```lua -payments_ValidatedRequestedInfo = payments.validateRequestedInfo({save=Bool, msg_id=int, info=PaymentRequestedInfo, }) +payments.ValidatedRequestedInfo = payments.validateRequestedInfo({save=Bool, msg_id=int, info=PaymentRequestedInfo, }) ``` ### Errors diff --git a/old_docs/API_docs_v65/methods/phone.acceptCall.md b/old_docs/API_docs_v65/methods/phone.acceptCall.md index f5c58f01..6b9185aa 100644 --- a/old_docs/API_docs_v65/methods/phone.acceptCall.md +++ b/old_docs/API_docs_v65/methods/phone.acceptCall.md @@ -18,7 +18,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz#calls fo |protocol|[PhoneCallProtocol](../types/PhoneCallProtocol.md) | You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls | Yes| -### Return type: [phone\_PhoneCall](../types/phone_PhoneCall.md) +### Return type: [phone.PhoneCall](../types/phone.PhoneCall.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$phone_PhoneCall = $MadelineProto->phone->acceptCall(['peer' => InputPhoneCall, 'g_b' => 'bytes', 'protocol' => PhoneCallProtocol, ]); +$phone.PhoneCall = $MadelineProto->phone->acceptCall(['peer' => InputPhoneCall, 'g_b' => 'bytes', 'protocol' => PhoneCallProtocol, ]); ``` Or, if you're into Lua: ```lua -phone_PhoneCall = phone.acceptCall({peer=InputPhoneCall, g_b='bytes', protocol=PhoneCallProtocol, }) +phone.PhoneCall = phone.acceptCall({peer=InputPhoneCall, g_b='bytes', protocol=PhoneCallProtocol, }) ``` ### Errors diff --git a/old_docs/API_docs_v65/methods/phone.confirmCall.md b/old_docs/API_docs_v65/methods/phone.confirmCall.md index 468307cc..a52d1f9c 100644 --- a/old_docs/API_docs_v65/methods/phone.confirmCall.md +++ b/old_docs/API_docs_v65/methods/phone.confirmCall.md @@ -19,7 +19,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz#calls fo |protocol|[PhoneCallProtocol](../types/PhoneCallProtocol.md) | You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls | Yes| -### Return type: [phone\_PhoneCall](../types/phone_PhoneCall.md) +### Return type: [phone.PhoneCall](../types/phone.PhoneCall.md) ### Can bots use this method: **NO** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$phone_PhoneCall = $MadelineProto->phone->confirmCall(['peer' => InputPhoneCall, 'g_a' => 'bytes', 'key_fingerprint' => long, 'protocol' => PhoneCallProtocol, ]); +$phone.PhoneCall = $MadelineProto->phone->confirmCall(['peer' => InputPhoneCall, 'g_a' => 'bytes', 'key_fingerprint' => long, 'protocol' => PhoneCallProtocol, ]); ``` Or, if you're into Lua: ```lua -phone_PhoneCall = phone.confirmCall({peer=InputPhoneCall, g_a='bytes', key_fingerprint=long, protocol=PhoneCallProtocol, }) +phone.PhoneCall = phone.confirmCall({peer=InputPhoneCall, g_a='bytes', key_fingerprint=long, protocol=PhoneCallProtocol, }) ``` ### Errors diff --git a/old_docs/API_docs_v65/methods/phone.requestCall.md b/old_docs/API_docs_v65/methods/phone.requestCall.md index c8e828f2..37e847a7 100644 --- a/old_docs/API_docs_v65/methods/phone.requestCall.md +++ b/old_docs/API_docs_v65/methods/phone.requestCall.md @@ -18,7 +18,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz#calls fo |protocol|[PhoneCallProtocol](../types/PhoneCallProtocol.md) | You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls | Yes| -### Return type: [phone\_PhoneCall](../types/phone_PhoneCall.md) +### Return type: [phone.PhoneCall](../types/phone.PhoneCall.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$phone_PhoneCall = $MadelineProto->phone->requestCall(['user_id' => InputUser, 'g_a_hash' => 'bytes', 'protocol' => PhoneCallProtocol, ]); +$phone.PhoneCall = $MadelineProto->phone->requestCall(['user_id' => InputUser, 'g_a_hash' => 'bytes', 'protocol' => PhoneCallProtocol, ]); ``` Or, if you're into Lua: ```lua -phone_PhoneCall = phone.requestCall({user_id=InputUser, g_a_hash='bytes', protocol=PhoneCallProtocol, }) +phone.PhoneCall = phone.requestCall({user_id=InputUser, g_a_hash='bytes', protocol=PhoneCallProtocol, }) ``` ### Errors diff --git a/old_docs/API_docs_v65/methods/photos.getUserPhotos.md b/old_docs/API_docs_v65/methods/photos.getUserPhotos.md index a1dec2ed..1f8d5c64 100644 --- a/old_docs/API_docs_v65/methods/photos.getUserPhotos.md +++ b/old_docs/API_docs_v65/methods/photos.getUserPhotos.md @@ -19,7 +19,7 @@ Returns the list of user photos. |limit|[int](../types/int.md) | Number of list elements to be returned | Yes| -### Return type: [photos\_Photos](../types/photos_Photos.md) +### Return type: [photos.Photos](../types/photos.Photos.md) ### Can bots use this method: **YES** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$photos_Photos = $MadelineProto->photos->getUserPhotos(['user_id' => InputUser, 'offset' => int, 'max_id' => long, 'limit' => int, ]); +$photos.Photos = $MadelineProto->photos->getUserPhotos(['user_id' => InputUser, 'offset' => int, 'max_id' => long, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -photos_Photos = photos.getUserPhotos({user_id=InputUser, offset=int, max_id=long, limit=int, }) +photos.Photos = photos.getUserPhotos({user_id=InputUser, offset=int, max_id=long, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v65/methods/photos.uploadProfilePhoto.md b/old_docs/API_docs_v65/methods/photos.uploadProfilePhoto.md index b6a01ee7..4de76a24 100644 --- a/old_docs/API_docs_v65/methods/photos.uploadProfilePhoto.md +++ b/old_docs/API_docs_v65/methods/photos.uploadProfilePhoto.md @@ -16,7 +16,7 @@ Updates current user profile photo. |file|[File path or InputFile](../types/InputFile.md) | File saved in parts by means of [upload.saveFilePart](../methods/upload.saveFilePart.md) method | Yes| -### Return type: [photos\_Photo](../types/photos_Photo.md) +### Return type: [photos.Photo](../types/photos.Photo.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$photos_Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, ]); +$photos.Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, ]); ``` Or, if you're into Lua: ```lua -photos_Photo = photos.uploadProfilePhoto({file=InputFile, }) +photos.Photo = photos.uploadProfilePhoto({file=InputFile, }) ``` ### Errors diff --git a/old_docs/API_docs_v65/methods/updates.getChannelDifference.md b/old_docs/API_docs_v65/methods/updates.getChannelDifference.md index 5675cd33..08df3395 100644 --- a/old_docs/API_docs_v65/methods/updates.getChannelDifference.md +++ b/old_docs/API_docs_v65/methods/updates.getChannelDifference.md @@ -20,7 +20,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz for more |limit|[int](../types/int.md) | You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates | Yes| -### Return type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) +### Return type: [updates.ChannelDifference](../types/updates.ChannelDifference.md) ### Can bots use this method: **YES** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$updates_ChannelDifference = $MadelineProto->updates->getChannelDifference(['force' => Bool, 'channel' => InputChannel, 'filter' => ChannelMessagesFilter, 'pts' => int, 'limit' => int, ]); +$updates.ChannelDifference = $MadelineProto->updates->getChannelDifference(['force' => Bool, 'channel' => InputChannel, 'filter' => ChannelMessagesFilter, 'pts' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -updates_ChannelDifference = updates.getChannelDifference({force=Bool, channel=InputChannel, filter=ChannelMessagesFilter, pts=int, limit=int, }) +updates.ChannelDifference = updates.getChannelDifference({force=Bool, channel=InputChannel, filter=ChannelMessagesFilter, pts=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v65/methods/updates.getDifference.md b/old_docs/API_docs_v65/methods/updates.getDifference.md index bcfac4e2..b3796a10 100644 --- a/old_docs/API_docs_v65/methods/updates.getDifference.md +++ b/old_docs/API_docs_v65/methods/updates.getDifference.md @@ -19,7 +19,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz for more |qts|[int](../types/int.md) | You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates | Yes| -### Return type: [updates\_Difference](../types/updates_Difference.md) +### Return type: [updates.Difference](../types/updates.Difference.md) ### Can bots use this method: **YES** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$updates_Difference = $MadelineProto->updates->getDifference(['pts' => int, 'pts_total_limit' => int, 'date' => int, 'qts' => int, ]); +$updates.Difference = $MadelineProto->updates->getDifference(['pts' => int, 'pts_total_limit' => int, 'date' => int, 'qts' => int, ]); ``` Or, if you're into Lua: ```lua -updates_Difference = updates.getDifference({pts=int, pts_total_limit=int, date=int, qts=int, }) +updates.Difference = updates.getDifference({pts=int, pts_total_limit=int, date=int, qts=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v65/methods/updates.getState.md b/old_docs/API_docs_v65/methods/updates.getState.md index c591408a..9a7d2f34 100644 --- a/old_docs/API_docs_v65/methods/updates.getState.md +++ b/old_docs/API_docs_v65/methods/updates.getState.md @@ -11,7 +11,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz for more -### Return type: [updates\_State](../types/updates_State.md) +### Return type: [updates.State](../types/updates.State.md) ### Can bots use this method: **YES** @@ -28,13 +28,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$updates_State = $MadelineProto->updates->getState(); +$updates.State = $MadelineProto->updates->getState(); ``` Or, if you're into Lua: ```lua -updates_State = updates.getState({}) +updates.State = updates.getState({}) ``` ### Errors diff --git a/old_docs/API_docs_v65/methods/upload.getFile.md b/old_docs/API_docs_v65/methods/upload.getFile.md index 8aba03d4..ab9f4fe2 100644 --- a/old_docs/API_docs_v65/methods/upload.getFile.md +++ b/old_docs/API_docs_v65/methods/upload.getFile.md @@ -18,7 +18,7 @@ You cannot use this method directly, use the upload, downloadToStream, downloadT |limit|[int](../types/int.md) | You cannot use this method directly, use the upload, downloadToStream, downloadToFile, downloadToDir methods instead; see https://docs.madelineproto.xyz for more info | Yes| -### Return type: [upload\_File](../types/upload_File.md) +### Return type: [upload.File](../types/upload.File.md) ### Can bots use this method: **YES** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$upload_File = $MadelineProto->upload->getFile(['location' => InputFileLocation, 'offset' => int, 'limit' => int, ]); +$upload.File = $MadelineProto->upload->getFile(['location' => InputFileLocation, 'offset' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -upload_File = upload.getFile({location=InputFileLocation, offset=int, limit=int, }) +upload.File = upload.getFile({location=InputFileLocation, offset=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v65/methods/upload.getWebFile.md b/old_docs/API_docs_v65/methods/upload.getWebFile.md index 32f6b322..60f1b8c1 100644 --- a/old_docs/API_docs_v65/methods/upload.getWebFile.md +++ b/old_docs/API_docs_v65/methods/upload.getWebFile.md @@ -18,7 +18,7 @@ Returns content of an HTTP file or a part, by proxying the request through teleg |limit|[int](../types/int.md) | Number of bytes to be returned | Yes| -### Return type: [upload\_WebFile](../types/upload_WebFile.md) +### Return type: [upload.WebFile](../types/upload.WebFile.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$upload_WebFile = $MadelineProto->upload->getWebFile(['location' => InputWebFileLocation, 'offset' => int, 'limit' => int, ]); +$upload.WebFile = $MadelineProto->upload->getWebFile(['location' => InputWebFileLocation, 'offset' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -upload_WebFile = upload.getWebFile({location=InputWebFileLocation, offset=int, limit=int, }) +upload.WebFile = upload.getWebFile({location=InputWebFileLocation, offset=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v65/types/AccountDaysTTL.md b/old_docs/API_docs_v65/types/AccountDaysTTL.md index 12a10190..f3494aac 100644 --- a/old_docs/API_docs_v65/types/AccountDaysTTL.md +++ b/old_docs/API_docs_v65/types/AccountDaysTTL.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->account->getAccountTTL](../methods/account_getAccountTTL.md) +[$MadelineProto->account->getAccountTTL](../methods/account.getAccountTTL.md) diff --git a/old_docs/API_docs_v65/types/ChatInvite.md b/old_docs/API_docs_v65/types/ChatInvite.md index 5022a2f0..9fafabb4 100644 --- a/old_docs/API_docs_v65/types/ChatInvite.md +++ b/old_docs/API_docs_v65/types/ChatInvite.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->checkChatInvite](../methods/messages_checkChatInvite.md) +[$MadelineProto->messages->checkChatInvite](../methods/messages.checkChatInvite.md) diff --git a/old_docs/API_docs_v65/types/Config.md b/old_docs/API_docs_v65/types/Config.md index 0f7fbe70..3a23b7b7 100644 --- a/old_docs/API_docs_v65/types/Config.md +++ b/old_docs/API_docs_v65/types/Config.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->help->getConfig](../methods/help_getConfig.md) +[$MadelineProto->help->getConfig](../methods/help.getConfig.md) diff --git a/old_docs/API_docs_v65/types/ContactStatus.md b/old_docs/API_docs_v65/types/ContactStatus.md index c5f5d658..30aee6e2 100644 --- a/old_docs/API_docs_v65/types/ContactStatus.md +++ b/old_docs/API_docs_v65/types/ContactStatus.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->contacts->getStatuses](../methods/contacts_getStatuses.md) +[$MadelineProto->contacts->getStatuses](../methods/contacts.getStatuses.md) diff --git a/old_docs/API_docs_v65/types/DestroyAuthKeyRes.md b/old_docs/API_docs_v65/types/DestroyAuthKeyRes.md index 947e79cc..6b877d82 100644 --- a/old_docs/API_docs_v65/types/DestroyAuthKeyRes.md +++ b/old_docs/API_docs_v65/types/DestroyAuthKeyRes.md @@ -20,7 +20,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->destroy->auth->key](../methods/destroy_auth_key.md) +[$MadelineProto->destroy\_auth\_key](../methods/destroy_auth_key.md) diff --git a/old_docs/API_docs_v65/types/DestroySessionRes.md b/old_docs/API_docs_v65/types/DestroySessionRes.md index dbc73cdf..dc5d2bc3 100644 --- a/old_docs/API_docs_v65/types/DestroySessionRes.md +++ b/old_docs/API_docs_v65/types/DestroySessionRes.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->destroy->session](../methods/destroy_session.md) +[$MadelineProto->destroy\_session](../methods/destroy_session.md) diff --git a/old_docs/API_docs_v65/types/Document.md b/old_docs/API_docs_v65/types/Document.md index f68b7aa4..2cb85623 100644 --- a/old_docs/API_docs_v65/types/Document.md +++ b/old_docs/API_docs_v65/types/Document.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getDocumentByHash](../methods/messages_getDocumentByHash.md) +[$MadelineProto->messages->getDocumentByHash](../methods/messages.getDocumentByHash.md) diff --git a/old_docs/API_docs_v65/types/EncryptedChat.md b/old_docs/API_docs_v65/types/EncryptedChat.md index fd2277f6..19cf52b0 100644 --- a/old_docs/API_docs_v65/types/EncryptedChat.md +++ b/old_docs/API_docs_v65/types/EncryptedChat.md @@ -24,9 +24,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->requestEncryption](../methods/messages_requestEncryption.md) +[$MadelineProto->messages->requestEncryption](../methods/messages.requestEncryption.md) -[$MadelineProto->messages->acceptEncryption](../methods/messages_acceptEncryption.md) +[$MadelineProto->messages->acceptEncryption](../methods/messages.acceptEncryption.md) diff --git a/old_docs/API_docs_v65/types/ExportedChatInvite.md b/old_docs/API_docs_v65/types/ExportedChatInvite.md index 4213a78f..53ce5f59 100644 --- a/old_docs/API_docs_v65/types/ExportedChatInvite.md +++ b/old_docs/API_docs_v65/types/ExportedChatInvite.md @@ -18,9 +18,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->exportChatInvite](../methods/messages_exportChatInvite.md) +[$MadelineProto->messages->exportChatInvite](../methods/messages.exportChatInvite.md) -[$MadelineProto->channels->exportInvite](../methods/channels_exportInvite.md) +[$MadelineProto->channels->exportInvite](../methods/channels.exportInvite.md) diff --git a/old_docs/API_docs_v65/types/ExportedMessageLink.md b/old_docs/API_docs_v65/types/ExportedMessageLink.md index eb2400f6..948e9c90 100644 --- a/old_docs/API_docs_v65/types/ExportedMessageLink.md +++ b/old_docs/API_docs_v65/types/ExportedMessageLink.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->channels->exportMessageLink](../methods/channels_exportMessageLink.md) +[$MadelineProto->channels->exportMessageLink](../methods/channels.exportMessageLink.md) diff --git a/old_docs/API_docs_v65/types/FutureSalts.md b/old_docs/API_docs_v65/types/FutureSalts.md index 5cb9f9e1..3a10b4a2 100644 --- a/old_docs/API_docs_v65/types/FutureSalts.md +++ b/old_docs/API_docs_v65/types/FutureSalts.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->get->future->salts](../methods/get_future_salts.md) +[$MadelineProto->get\_future\_salts](../methods/get_future_salts.md) diff --git a/old_docs/API_docs_v65/types/MessageMedia.md b/old_docs/API_docs_v65/types/MessageMedia.md index 33197cbe..39733626 100644 --- a/old_docs/API_docs_v65/types/MessageMedia.md +++ b/old_docs/API_docs_v65/types/MessageMedia.md @@ -34,7 +34,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getWebPagePreview](../methods/messages_getWebPagePreview.md) +[$MadelineProto->messages->getWebPagePreview](../methods/messages.getWebPagePreview.md) diff --git a/old_docs/API_docs_v65/types/NearestDc.md b/old_docs/API_docs_v65/types/NearestDc.md index 31f24377..296a4dff 100644 --- a/old_docs/API_docs_v65/types/NearestDc.md +++ b/old_docs/API_docs_v65/types/NearestDc.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->help->getNearestDc](../methods/help_getNearestDc.md) +[$MadelineProto->help->getNearestDc](../methods/help.getNearestDc.md) diff --git a/old_docs/API_docs_v65/types/PeerNotifySettings.md b/old_docs/API_docs_v65/types/PeerNotifySettings.md index 769de075..3d72b7c5 100644 --- a/old_docs/API_docs_v65/types/PeerNotifySettings.md +++ b/old_docs/API_docs_v65/types/PeerNotifySettings.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->account->getNotifySettings](../methods/account_getNotifySettings.md) +[$MadelineProto->account->getNotifySettings](../methods/account.getNotifySettings.md) diff --git a/old_docs/API_docs_v65/types/PeerSettings.md b/old_docs/API_docs_v65/types/PeerSettings.md index 60ac3765..31ef7e38 100644 --- a/old_docs/API_docs_v65/types/PeerSettings.md +++ b/old_docs/API_docs_v65/types/PeerSettings.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getPeerSettings](../methods/messages_getPeerSettings.md) +[$MadelineProto->messages->getPeerSettings](../methods/messages.getPeerSettings.md) diff --git a/old_docs/API_docs_v65/types/Pong.md b/old_docs/API_docs_v65/types/Pong.md index 7658af03..aa25a60e 100644 --- a/old_docs/API_docs_v65/types/Pong.md +++ b/old_docs/API_docs_v65/types/Pong.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png [$MadelineProto->ping](../methods/ping.md) -[$MadelineProto->ping->delay->disconnect](../methods/ping_delay_disconnect.md) +[$MadelineProto->ping\_delay\_disconnect](../methods/ping_delay_disconnect.md) diff --git a/old_docs/API_docs_v65/types/README.md b/old_docs/API_docs_v65/types/README.md index bbc89da6..31404df7 100644 --- a/old_docs/API_docs_v65/types/README.md +++ b/old_docs/API_docs_v65/types/README.md @@ -305,131 +305,131 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png [X](X.md) -[account\_Authorizations](account_Authorizations.md) +[account.Authorizations](account.Authorizations.md) -[account\_Password](account_Password.md) +[account.Password](account.Password.md) -[account\_PasswordInputSettings](account_PasswordInputSettings.md) +[account.PasswordInputSettings](account.PasswordInputSettings.md) -[account\_PasswordSettings](account_PasswordSettings.md) +[account.PasswordSettings](account.PasswordSettings.md) -[account\_PrivacyRules](account_PrivacyRules.md) +[account.PrivacyRules](account.PrivacyRules.md) -[account\_TmpPassword](account_TmpPassword.md) +[account.TmpPassword](account.TmpPassword.md) -[auth\_Authorization](auth_Authorization.md) +[auth.Authorization](auth.Authorization.md) -[auth\_CheckedPhone](auth_CheckedPhone.md) +[auth.CheckedPhone](auth.CheckedPhone.md) -[auth\_CodeType](auth_CodeType.md) +[auth.CodeType](auth.CodeType.md) -[auth\_ExportedAuthorization](auth_ExportedAuthorization.md) +[auth.ExportedAuthorization](auth.ExportedAuthorization.md) -[auth\_PasswordRecovery](auth_PasswordRecovery.md) +[auth.PasswordRecovery](auth.PasswordRecovery.md) -[auth\_SentCode](auth_SentCode.md) +[auth.SentCode](auth.SentCode.md) -[auth\_SentCodeType](auth_SentCodeType.md) +[auth.SentCodeType](auth.SentCodeType.md) -[channels\_ChannelParticipant](channels_ChannelParticipant.md) +[channels.ChannelParticipant](channels.ChannelParticipant.md) -[channels\_ChannelParticipants](channels_ChannelParticipants.md) +[channels.ChannelParticipants](channels.ChannelParticipants.md) -[contacts\_Blocked](contacts_Blocked.md) +[contacts.Blocked](contacts.Blocked.md) -[contacts\_Contacts](contacts_Contacts.md) +[contacts.Contacts](contacts.Contacts.md) -[contacts\_Found](contacts_Found.md) +[contacts.Found](contacts.Found.md) -[contacts\_ImportedContacts](contacts_ImportedContacts.md) +[contacts.ImportedContacts](contacts.ImportedContacts.md) -[contacts\_Link](contacts_Link.md) +[contacts.Link](contacts.Link.md) -[contacts\_ResolvedPeer](contacts_ResolvedPeer.md) +[contacts.ResolvedPeer](contacts.ResolvedPeer.md) -[contacts\_TopPeers](contacts_TopPeers.md) +[contacts.TopPeers](contacts.TopPeers.md) -[help\_AppUpdate](help_AppUpdate.md) +[help.AppUpdate](help.AppUpdate.md) -[help\_InviteText](help_InviteText.md) +[help.InviteText](help.InviteText.md) -[help\_Support](help_Support.md) +[help.Support](help.Support.md) -[help\_TermsOfService](help_TermsOfService.md) +[help.TermsOfService](help.TermsOfService.md) [int](int.md) [long](long.md) -[messages\_AffectedHistory](messages_AffectedHistory.md) +[messages.AffectedHistory](messages.AffectedHistory.md) -[messages\_AffectedMessages](messages_AffectedMessages.md) +[messages.AffectedMessages](messages.AffectedMessages.md) -[messages\_AllStickers](messages_AllStickers.md) +[messages.AllStickers](messages.AllStickers.md) -[messages\_ArchivedStickers](messages_ArchivedStickers.md) +[messages.ArchivedStickers](messages.ArchivedStickers.md) -[messages\_BotCallbackAnswer](messages_BotCallbackAnswer.md) +[messages.BotCallbackAnswer](messages.BotCallbackAnswer.md) -[messages\_BotResults](messages_BotResults.md) +[messages.BotResults](messages.BotResults.md) -[messages\_ChatFull](messages_ChatFull.md) +[messages.ChatFull](messages.ChatFull.md) -[messages\_Chats](messages_Chats.md) +[messages.Chats](messages.Chats.md) -[messages\_DhConfig](messages_DhConfig.md) +[messages.DhConfig](messages.DhConfig.md) -[messages\_Dialogs](messages_Dialogs.md) +[messages.Dialogs](messages.Dialogs.md) -[messages\_FeaturedStickers](messages_FeaturedStickers.md) +[messages.FeaturedStickers](messages.FeaturedStickers.md) -[messages\_FoundGifs](messages_FoundGifs.md) +[messages.FoundGifs](messages.FoundGifs.md) -[messages\_HighScores](messages_HighScores.md) +[messages.HighScores](messages.HighScores.md) -[messages\_MessageEditData](messages_MessageEditData.md) +[messages.MessageEditData](messages.MessageEditData.md) -[messages\_Messages](messages_Messages.md) +[messages.Messages](messages.Messages.md) -[messages\_PeerDialogs](messages_PeerDialogs.md) +[messages.PeerDialogs](messages.PeerDialogs.md) -[messages\_RecentStickers](messages_RecentStickers.md) +[messages.RecentStickers](messages.RecentStickers.md) -[messages\_SavedGifs](messages_SavedGifs.md) +[messages.SavedGifs](messages.SavedGifs.md) -[messages\_SentEncryptedMessage](messages_SentEncryptedMessage.md) +[messages.SentEncryptedMessage](messages.SentEncryptedMessage.md) -[messages\_StickerSet](messages_StickerSet.md) +[messages.StickerSet](messages.StickerSet.md) -[messages\_StickerSetInstallResult](messages_StickerSetInstallResult.md) +[messages.StickerSetInstallResult](messages.StickerSetInstallResult.md) -[messages\_Stickers](messages_Stickers.md) +[messages.Stickers](messages.Stickers.md) -[payments\_PaymentForm](payments_PaymentForm.md) +[payments.PaymentForm](payments.PaymentForm.md) -[payments\_PaymentReceipt](payments_PaymentReceipt.md) +[payments.PaymentReceipt](payments.PaymentReceipt.md) -[payments\_PaymentResult](payments_PaymentResult.md) +[payments.PaymentResult](payments.PaymentResult.md) -[payments\_SavedInfo](payments_SavedInfo.md) +[payments.SavedInfo](payments.SavedInfo.md) -[payments\_ValidatedRequestedInfo](payments_ValidatedRequestedInfo.md) +[payments.ValidatedRequestedInfo](payments.ValidatedRequestedInfo.md) -[phone\_PhoneCall](phone_PhoneCall.md) +[phone.PhoneCall](phone.PhoneCall.md) -[photos\_Photo](photos_Photo.md) +[photos.Photo](photos.Photo.md) -[photos\_Photos](photos_Photos.md) +[photos.Photos](photos.Photos.md) -[storage\_FileType](storage_FileType.md) +[storage.FileType](storage.FileType.md) -[updates\_ChannelDifference](updates_ChannelDifference.md) +[updates.ChannelDifference](updates.ChannelDifference.md) -[updates\_Difference](updates_Difference.md) +[updates.Difference](updates.Difference.md) -[updates\_State](updates_State.md) +[updates.State](updates.State.md) -[upload\_File](upload_File.md) +[upload.File](upload.File.md) -[upload\_WebFile](upload_WebFile.md) +[upload.WebFile](upload.WebFile.md) diff --git a/old_docs/API_docs_v65/types/ReceivedNotifyMessage.md b/old_docs/API_docs_v65/types/ReceivedNotifyMessage.md index c7fc3b8c..416aa275 100644 --- a/old_docs/API_docs_v65/types/ReceivedNotifyMessage.md +++ b/old_docs/API_docs_v65/types/ReceivedNotifyMessage.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->receivedMessages](../methods/messages_receivedMessages.md) +[$MadelineProto->messages->receivedMessages](../methods/messages.receivedMessages.md) diff --git a/old_docs/API_docs_v65/types/ResPQ.md b/old_docs/API_docs_v65/types/ResPQ.md index ebd5c8ed..860ee76d 100644 --- a/old_docs/API_docs_v65/types/ResPQ.md +++ b/old_docs/API_docs_v65/types/ResPQ.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->req->pq](../methods/req_pq.md) +[$MadelineProto->req\_pq](../methods/req_pq.md) diff --git a/old_docs/API_docs_v65/types/RpcDropAnswer.md b/old_docs/API_docs_v65/types/RpcDropAnswer.md index 4fb1ced7..05586b65 100644 --- a/old_docs/API_docs_v65/types/RpcDropAnswer.md +++ b/old_docs/API_docs_v65/types/RpcDropAnswer.md @@ -20,7 +20,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->rpc->drop->answer](../methods/rpc_drop_answer.md) +[$MadelineProto->rpc\_drop\_answer](../methods/rpc_drop_answer.md) diff --git a/old_docs/API_docs_v65/types/Server_DH_Params.md b/old_docs/API_docs_v65/types/Server_DH_Params.md index e007d828..40530f7e 100644 --- a/old_docs/API_docs_v65/types/Server_DH_Params.md +++ b/old_docs/API_docs_v65/types/Server_DH_Params.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->req->DH->params](../methods/req_DH_params.md) +[$MadelineProto->req\_DH\_params](../methods/req_DH_params.md) diff --git a/old_docs/API_docs_v65/types/Set_client_DH_params_answer.md b/old_docs/API_docs_v65/types/Set_client_DH_params_answer.md index f316e712..523432b7 100644 --- a/old_docs/API_docs_v65/types/Set_client_DH_params_answer.md +++ b/old_docs/API_docs_v65/types/Set_client_DH_params_answer.md @@ -20,7 +20,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->set->client->DH->params](../methods/set_client_DH_params.md) +[$MadelineProto->set\_client\_DH\_params](../methods/set_client_DH_params.md) diff --git a/old_docs/API_docs_v65/types/StickerSetCovered.md b/old_docs/API_docs_v65/types/StickerSetCovered.md index ffd1da1f..f57cd117 100644 --- a/old_docs/API_docs_v65/types/StickerSetCovered.md +++ b/old_docs/API_docs_v65/types/StickerSetCovered.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getAttachedStickers](../methods/messages_getAttachedStickers.md) +[$MadelineProto->messages->getAttachedStickers](../methods/messages.getAttachedStickers.md) diff --git a/old_docs/API_docs_v65/types/Updates.md b/old_docs/API_docs_v65/types/Updates.md index 862b4cf5..5f404601 100644 --- a/old_docs/API_docs_v65/types/Updates.md +++ b/old_docs/API_docs_v65/types/Updates.md @@ -28,69 +28,69 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->sendMessage](../methods/messages_sendMessage.md) +[$MadelineProto->messages->sendMessage](../methods/messages.sendMessage.md) -[$MadelineProto->messages->sendMedia](../methods/messages_sendMedia.md) +[$MadelineProto->messages->sendMedia](../methods/messages.sendMedia.md) -[$MadelineProto->messages->forwardMessages](../methods/messages_forwardMessages.md) +[$MadelineProto->messages->forwardMessages](../methods/messages.forwardMessages.md) -[$MadelineProto->messages->editChatTitle](../methods/messages_editChatTitle.md) +[$MadelineProto->messages->editChatTitle](../methods/messages.editChatTitle.md) -[$MadelineProto->messages->editChatPhoto](../methods/messages_editChatPhoto.md) +[$MadelineProto->messages->editChatPhoto](../methods/messages.editChatPhoto.md) -[$MadelineProto->messages->addChatUser](../methods/messages_addChatUser.md) +[$MadelineProto->messages->addChatUser](../methods/messages.addChatUser.md) -[$MadelineProto->messages->deleteChatUser](../methods/messages_deleteChatUser.md) +[$MadelineProto->messages->deleteChatUser](../methods/messages.deleteChatUser.md) -[$MadelineProto->messages->createChat](../methods/messages_createChat.md) +[$MadelineProto->messages->createChat](../methods/messages.createChat.md) -[$MadelineProto->messages->forwardMessage](../methods/messages_forwardMessage.md) +[$MadelineProto->messages->forwardMessage](../methods/messages.forwardMessage.md) -[$MadelineProto->messages->importChatInvite](../methods/messages_importChatInvite.md) +[$MadelineProto->messages->importChatInvite](../methods/messages.importChatInvite.md) -[$MadelineProto->messages->startBot](../methods/messages_startBot.md) +[$MadelineProto->messages->startBot](../methods/messages.startBot.md) -[$MadelineProto->messages->toggleChatAdmins](../methods/messages_toggleChatAdmins.md) +[$MadelineProto->messages->toggleChatAdmins](../methods/messages.toggleChatAdmins.md) -[$MadelineProto->messages->migrateChat](../methods/messages_migrateChat.md) +[$MadelineProto->messages->migrateChat](../methods/messages.migrateChat.md) -[$MadelineProto->messages->sendInlineBotResult](../methods/messages_sendInlineBotResult.md) +[$MadelineProto->messages->sendInlineBotResult](../methods/messages.sendInlineBotResult.md) -[$MadelineProto->messages->editMessage](../methods/messages_editMessage.md) +[$MadelineProto->messages->editMessage](../methods/messages.editMessage.md) -[$MadelineProto->messages->getAllDrafts](../methods/messages_getAllDrafts.md) +[$MadelineProto->messages->getAllDrafts](../methods/messages.getAllDrafts.md) -[$MadelineProto->messages->setGameScore](../methods/messages_setGameScore.md) +[$MadelineProto->messages->setGameScore](../methods/messages.setGameScore.md) -[$MadelineProto->help->getAppChangelog](../methods/help_getAppChangelog.md) +[$MadelineProto->help->getAppChangelog](../methods/help.getAppChangelog.md) -[$MadelineProto->channels->createChannel](../methods/channels_createChannel.md) +[$MadelineProto->channels->createChannel](../methods/channels.createChannel.md) -[$MadelineProto->channels->editAdmin](../methods/channels_editAdmin.md) +[$MadelineProto->channels->editAdmin](../methods/channels.editAdmin.md) -[$MadelineProto->channels->editTitle](../methods/channels_editTitle.md) +[$MadelineProto->channels->editTitle](../methods/channels.editTitle.md) -[$MadelineProto->channels->editPhoto](../methods/channels_editPhoto.md) +[$MadelineProto->channels->editPhoto](../methods/channels.editPhoto.md) -[$MadelineProto->channels->joinChannel](../methods/channels_joinChannel.md) +[$MadelineProto->channels->joinChannel](../methods/channels.joinChannel.md) -[$MadelineProto->channels->leaveChannel](../methods/channels_leaveChannel.md) +[$MadelineProto->channels->leaveChannel](../methods/channels.leaveChannel.md) -[$MadelineProto->channels->inviteToChannel](../methods/channels_inviteToChannel.md) +[$MadelineProto->channels->inviteToChannel](../methods/channels.inviteToChannel.md) -[$MadelineProto->channels->kickFromChannel](../methods/channels_kickFromChannel.md) +[$MadelineProto->channels->kickFromChannel](../methods/channels.kickFromChannel.md) -[$MadelineProto->channels->deleteChannel](../methods/channels_deleteChannel.md) +[$MadelineProto->channels->deleteChannel](../methods/channels.deleteChannel.md) -[$MadelineProto->channels->toggleInvites](../methods/channels_toggleInvites.md) +[$MadelineProto->channels->toggleInvites](../methods/channels.toggleInvites.md) -[$MadelineProto->channels->toggleSignatures](../methods/channels_toggleSignatures.md) +[$MadelineProto->channels->toggleSignatures](../methods/channels.toggleSignatures.md) -[$MadelineProto->channels->updatePinnedMessage](../methods/channels_updatePinnedMessage.md) +[$MadelineProto->channels->updatePinnedMessage](../methods/channels.updatePinnedMessage.md) -[$MadelineProto->phone->discardCall](../methods/phone_discardCall.md) +[$MadelineProto->phone->discardCall](../methods/phone.discardCall.md) -[$MadelineProto->phone->setCallRating](../methods/phone_setCallRating.md) +[$MadelineProto->phone->setCallRating](../methods/phone.setCallRating.md) diff --git a/old_docs/API_docs_v65/types/User.md b/old_docs/API_docs_v65/types/User.md index 3abd182f..a2e028f4 100644 --- a/old_docs/API_docs_v65/types/User.md +++ b/old_docs/API_docs_v65/types/User.md @@ -42,15 +42,15 @@ A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDia ### Methods that return an object of this type (methods): -[$MadelineProto->account->updateProfile](../methods/account_updateProfile.md) +[$MadelineProto->account->updateProfile](../methods/account.updateProfile.md) -[$MadelineProto->account->updateUsername](../methods/account_updateUsername.md) +[$MadelineProto->account->updateUsername](../methods/account.updateUsername.md) -[$MadelineProto->account->changePhone](../methods/account_changePhone.md) +[$MadelineProto->account->changePhone](../methods/account.changePhone.md) -[$MadelineProto->users->getUsers](../methods/users_getUsers.md) +[$MadelineProto->users->getUsers](../methods/users.getUsers.md) -[$MadelineProto->contacts->importCard](../methods/contacts_importCard.md) +[$MadelineProto->contacts->importCard](../methods/contacts.importCard.md) diff --git a/old_docs/API_docs_v65/types/UserFull.md b/old_docs/API_docs_v65/types/UserFull.md index 79ad30bb..ac50052f 100644 --- a/old_docs/API_docs_v65/types/UserFull.md +++ b/old_docs/API_docs_v65/types/UserFull.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->users->getFullUser](../methods/users_getFullUser.md) +[$MadelineProto->users->getFullUser](../methods/users.getFullUser.md) diff --git a/old_docs/API_docs_v65/types/UserProfilePhoto.md b/old_docs/API_docs_v65/types/UserProfilePhoto.md index e5243a2e..e81e92fd 100644 --- a/old_docs/API_docs_v65/types/UserProfilePhoto.md +++ b/old_docs/API_docs_v65/types/UserProfilePhoto.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->photos->updateProfilePhoto](../methods/photos_updateProfilePhoto.md) +[$MadelineProto->photos->updateProfilePhoto](../methods/photos.updateProfilePhoto.md) diff --git a/old_docs/API_docs_v65/types/WallPaper.md b/old_docs/API_docs_v65/types/WallPaper.md index 8c5ac7cf..45337565 100644 --- a/old_docs/API_docs_v65/types/WallPaper.md +++ b/old_docs/API_docs_v65/types/WallPaper.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->account->getWallPapers](../methods/account_getWallPapers.md) +[$MadelineProto->account->getWallPapers](../methods/account.getWallPapers.md) diff --git a/old_docs/API_docs_v65/types/WebPage.md b/old_docs/API_docs_v65/types/WebPage.md index a3df791f..f6b61c5e 100644 --- a/old_docs/API_docs_v65/types/WebPage.md +++ b/old_docs/API_docs_v65/types/WebPage.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getWebPage](../methods/messages_getWebPage.md) +[$MadelineProto->messages->getWebPage](../methods/messages.getWebPage.md) diff --git a/old_docs/API_docs_v65/types/account.Authorizations.md b/old_docs/API_docs_v65/types/account.Authorizations.md new file mode 100644 index 00000000..f9112038 --- /dev/null +++ b/old_docs/API_docs_v65/types/account.Authorizations.md @@ -0,0 +1,22 @@ +--- +title: account.Authorizations +description: constructors and methods of type account.Authorizations +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.Authorizations +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.authorizations](../constructors/account.authorizations.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getAuthorizations](../methods/account.getAuthorizations.md) + + + diff --git a/old_docs/API_docs_v65/types/account.Password.md b/old_docs/API_docs_v65/types/account.Password.md new file mode 100644 index 00000000..5217ab5e --- /dev/null +++ b/old_docs/API_docs_v65/types/account.Password.md @@ -0,0 +1,24 @@ +--- +title: account.Password +description: constructors and methods of type account.Password +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.Password +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.noPassword](../constructors/account.noPassword.md) + +[account.password](../constructors/account.password.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getPassword](../methods/account.getPassword.md) + + + diff --git a/old_docs/API_docs_v65/types/account.PasswordInputSettings.md b/old_docs/API_docs_v65/types/account.PasswordInputSettings.md new file mode 100644 index 00000000..72e11fdc --- /dev/null +++ b/old_docs/API_docs_v65/types/account.PasswordInputSettings.md @@ -0,0 +1,20 @@ +--- +title: account.PasswordInputSettings +description: constructors and methods of type account.PasswordInputSettings +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.PasswordInputSettings +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.passwordInputSettings](../constructors/account.passwordInputSettings.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v65/types/account.PasswordSettings.md b/old_docs/API_docs_v65/types/account.PasswordSettings.md new file mode 100644 index 00000000..47016832 --- /dev/null +++ b/old_docs/API_docs_v65/types/account.PasswordSettings.md @@ -0,0 +1,22 @@ +--- +title: account.PasswordSettings +description: constructors and methods of type account.PasswordSettings +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.PasswordSettings +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.passwordSettings](../constructors/account.passwordSettings.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getPasswordSettings](../methods/account.getPasswordSettings.md) + + + diff --git a/old_docs/API_docs_v65/types/account.PrivacyRules.md b/old_docs/API_docs_v65/types/account.PrivacyRules.md new file mode 100644 index 00000000..738651ad --- /dev/null +++ b/old_docs/API_docs_v65/types/account.PrivacyRules.md @@ -0,0 +1,24 @@ +--- +title: account.PrivacyRules +description: constructors and methods of type account.PrivacyRules +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.PrivacyRules +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.privacyRules](../constructors/account.privacyRules.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getPrivacy](../methods/account.getPrivacy.md) + +[$MadelineProto->account->setPrivacy](../methods/account.setPrivacy.md) + + + diff --git a/old_docs/API_docs_v65/types/account.TmpPassword.md b/old_docs/API_docs_v65/types/account.TmpPassword.md new file mode 100644 index 00000000..2116c6c0 --- /dev/null +++ b/old_docs/API_docs_v65/types/account.TmpPassword.md @@ -0,0 +1,22 @@ +--- +title: account.TmpPassword +description: constructors and methods of type account.TmpPassword +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.TmpPassword +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.tmpPassword](../constructors/account.tmpPassword.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getTmpPassword](../methods/account.getTmpPassword.md) + + + diff --git a/old_docs/API_docs_v65/types/account_Authorizations.md b/old_docs/API_docs_v65/types/account_Authorizations.md deleted file mode 100644 index 4709ddb5..00000000 --- a/old_docs/API_docs_v65/types/account_Authorizations.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_Authorizations -description: constructors and methods of type account_Authorizations -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_Authorizations -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_authorizations](../constructors/account_authorizations.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getAuthorizations](../methods/account_getAuthorizations.md) - - - diff --git a/old_docs/API_docs_v65/types/account_Password.md b/old_docs/API_docs_v65/types/account_Password.md deleted file mode 100644 index 23e05987..00000000 --- a/old_docs/API_docs_v65/types/account_Password.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: account_Password -description: constructors and methods of type account_Password -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_Password -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_noPassword](../constructors/account_noPassword.md) - -[account\_password](../constructors/account_password.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getPassword](../methods/account_getPassword.md) - - - diff --git a/old_docs/API_docs_v65/types/account_PasswordInputSettings.md b/old_docs/API_docs_v65/types/account_PasswordInputSettings.md deleted file mode 100644 index a6455eb8..00000000 --- a/old_docs/API_docs_v65/types/account_PasswordInputSettings.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: account_PasswordInputSettings -description: constructors and methods of type account_PasswordInputSettings -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_PasswordInputSettings -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_passwordInputSettings](../constructors/account_passwordInputSettings.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v65/types/account_PasswordSettings.md b/old_docs/API_docs_v65/types/account_PasswordSettings.md deleted file mode 100644 index 687eb217..00000000 --- a/old_docs/API_docs_v65/types/account_PasswordSettings.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_PasswordSettings -description: constructors and methods of type account_PasswordSettings -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_PasswordSettings -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_passwordSettings](../constructors/account_passwordSettings.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getPasswordSettings](../methods/account_getPasswordSettings.md) - - - diff --git a/old_docs/API_docs_v65/types/account_PrivacyRules.md b/old_docs/API_docs_v65/types/account_PrivacyRules.md deleted file mode 100644 index 40b00077..00000000 --- a/old_docs/API_docs_v65/types/account_PrivacyRules.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: account_PrivacyRules -description: constructors and methods of type account_PrivacyRules -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_PrivacyRules -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_privacyRules](../constructors/account_privacyRules.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getPrivacy](../methods/account_getPrivacy.md) - -[$MadelineProto->account->setPrivacy](../methods/account_setPrivacy.md) - - - diff --git a/old_docs/API_docs_v65/types/account_TmpPassword.md b/old_docs/API_docs_v65/types/account_TmpPassword.md deleted file mode 100644 index d7557921..00000000 --- a/old_docs/API_docs_v65/types/account_TmpPassword.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_TmpPassword -description: constructors and methods of type account_TmpPassword -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_TmpPassword -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_tmpPassword](../constructors/account_tmpPassword.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getTmpPassword](../methods/account_getTmpPassword.md) - - - diff --git a/old_docs/API_docs_v65/types/auth.Authorization.md b/old_docs/API_docs_v65/types/auth.Authorization.md new file mode 100644 index 00000000..adcfa7d3 --- /dev/null +++ b/old_docs/API_docs_v65/types/auth.Authorization.md @@ -0,0 +1,32 @@ +--- +title: auth.Authorization +description: constructors and methods of type auth.Authorization +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.Authorization +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.authorization](../constructors/auth.authorization.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->signUp](../methods/auth.signUp.md) + +[$MadelineProto->auth->signIn](../methods/auth.signIn.md) + +[$MadelineProto->auth->importAuthorization](../methods/auth.importAuthorization.md) + +[$MadelineProto->auth->importBotAuthorization](../methods/auth.importBotAuthorization.md) + +[$MadelineProto->auth->checkPassword](../methods/auth.checkPassword.md) + +[$MadelineProto->auth->recoverPassword](../methods/auth.recoverPassword.md) + + + diff --git a/old_docs/API_docs_v65/types/auth.CheckedPhone.md b/old_docs/API_docs_v65/types/auth.CheckedPhone.md new file mode 100644 index 00000000..94af3915 --- /dev/null +++ b/old_docs/API_docs_v65/types/auth.CheckedPhone.md @@ -0,0 +1,22 @@ +--- +title: auth.CheckedPhone +description: constructors and methods of type auth.CheckedPhone +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.CheckedPhone +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.checkedPhone](../constructors/auth.checkedPhone.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->checkPhone](../methods/auth.checkPhone.md) + + + diff --git a/old_docs/API_docs_v65/types/auth.CodeType.md b/old_docs/API_docs_v65/types/auth.CodeType.md new file mode 100644 index 00000000..8d2b308d --- /dev/null +++ b/old_docs/API_docs_v65/types/auth.CodeType.md @@ -0,0 +1,24 @@ +--- +title: auth.CodeType +description: constructors and methods of type auth.CodeType +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.CodeType +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.codeTypeSms](../constructors/auth.codeTypeSms.md) + +[auth.codeTypeCall](../constructors/auth.codeTypeCall.md) + +[auth.codeTypeFlashCall](../constructors/auth.codeTypeFlashCall.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v65/types/auth.ExportedAuthorization.md b/old_docs/API_docs_v65/types/auth.ExportedAuthorization.md new file mode 100644 index 00000000..ccb38d60 --- /dev/null +++ b/old_docs/API_docs_v65/types/auth.ExportedAuthorization.md @@ -0,0 +1,22 @@ +--- +title: auth.ExportedAuthorization +description: constructors and methods of type auth.ExportedAuthorization +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.ExportedAuthorization +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.exportedAuthorization](../constructors/auth.exportedAuthorization.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->exportAuthorization](../methods/auth.exportAuthorization.md) + + + diff --git a/old_docs/API_docs_v65/types/auth.PasswordRecovery.md b/old_docs/API_docs_v65/types/auth.PasswordRecovery.md new file mode 100644 index 00000000..c1c18992 --- /dev/null +++ b/old_docs/API_docs_v65/types/auth.PasswordRecovery.md @@ -0,0 +1,22 @@ +--- +title: auth.PasswordRecovery +description: constructors and methods of type auth.PasswordRecovery +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.PasswordRecovery +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.passwordRecovery](../constructors/auth.passwordRecovery.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->requestPasswordRecovery](../methods/auth.requestPasswordRecovery.md) + + + diff --git a/old_docs/API_docs_v65/types/auth.SentCode.md b/old_docs/API_docs_v65/types/auth.SentCode.md new file mode 100644 index 00000000..c786d77e --- /dev/null +++ b/old_docs/API_docs_v65/types/auth.SentCode.md @@ -0,0 +1,28 @@ +--- +title: auth.SentCode +description: constructors and methods of type auth.SentCode +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.SentCode +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.sentCode](../constructors/auth.sentCode.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->sendCode](../methods/auth.sendCode.md) + +[$MadelineProto->auth->resendCode](../methods/auth.resendCode.md) + +[$MadelineProto->account->sendChangePhoneCode](../methods/account.sendChangePhoneCode.md) + +[$MadelineProto->account->sendConfirmPhoneCode](../methods/account.sendConfirmPhoneCode.md) + + + diff --git a/old_docs/API_docs_v65/types/auth.SentCodeType.md b/old_docs/API_docs_v65/types/auth.SentCodeType.md new file mode 100644 index 00000000..7c7c534e --- /dev/null +++ b/old_docs/API_docs_v65/types/auth.SentCodeType.md @@ -0,0 +1,26 @@ +--- +title: auth.SentCodeType +description: constructors and methods of type auth.SentCodeType +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.SentCodeType +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.sentCodeTypeApp](../constructors/auth.sentCodeTypeApp.md) + +[auth.sentCodeTypeSms](../constructors/auth.sentCodeTypeSms.md) + +[auth.sentCodeTypeCall](../constructors/auth.sentCodeTypeCall.md) + +[auth.sentCodeTypeFlashCall](../constructors/auth.sentCodeTypeFlashCall.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v65/types/auth_Authorization.md b/old_docs/API_docs_v65/types/auth_Authorization.md deleted file mode 100644 index 5a34fc2d..00000000 --- a/old_docs/API_docs_v65/types/auth_Authorization.md +++ /dev/null @@ -1,32 +0,0 @@ ---- -title: auth_Authorization -description: constructors and methods of type auth_Authorization -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_Authorization -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_authorization](../constructors/auth_authorization.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->signUp](../methods/auth_signUp.md) - -[$MadelineProto->auth->signIn](../methods/auth_signIn.md) - -[$MadelineProto->auth->importAuthorization](../methods/auth_importAuthorization.md) - -[$MadelineProto->auth->importBotAuthorization](../methods/auth_importBotAuthorization.md) - -[$MadelineProto->auth->checkPassword](../methods/auth_checkPassword.md) - -[$MadelineProto->auth->recoverPassword](../methods/auth_recoverPassword.md) - - - diff --git a/old_docs/API_docs_v65/types/auth_CheckedPhone.md b/old_docs/API_docs_v65/types/auth_CheckedPhone.md deleted file mode 100644 index e9b0def4..00000000 --- a/old_docs/API_docs_v65/types/auth_CheckedPhone.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: auth_CheckedPhone -description: constructors and methods of type auth_CheckedPhone -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_CheckedPhone -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_checkedPhone](../constructors/auth_checkedPhone.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->checkPhone](../methods/auth_checkPhone.md) - - - diff --git a/old_docs/API_docs_v65/types/auth_CodeType.md b/old_docs/API_docs_v65/types/auth_CodeType.md deleted file mode 100644 index 3cd9a7b7..00000000 --- a/old_docs/API_docs_v65/types/auth_CodeType.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: auth_CodeType -description: constructors and methods of type auth_CodeType -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_CodeType -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_codeTypeSms](../constructors/auth_codeTypeSms.md) - -[auth\_codeTypeCall](../constructors/auth_codeTypeCall.md) - -[auth\_codeTypeFlashCall](../constructors/auth_codeTypeFlashCall.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v65/types/auth_ExportedAuthorization.md b/old_docs/API_docs_v65/types/auth_ExportedAuthorization.md deleted file mode 100644 index 69e5c42e..00000000 --- a/old_docs/API_docs_v65/types/auth_ExportedAuthorization.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: auth_ExportedAuthorization -description: constructors and methods of type auth_ExportedAuthorization -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_ExportedAuthorization -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_exportedAuthorization](../constructors/auth_exportedAuthorization.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->exportAuthorization](../methods/auth_exportAuthorization.md) - - - diff --git a/old_docs/API_docs_v65/types/auth_PasswordRecovery.md b/old_docs/API_docs_v65/types/auth_PasswordRecovery.md deleted file mode 100644 index 4962bf42..00000000 --- a/old_docs/API_docs_v65/types/auth_PasswordRecovery.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: auth_PasswordRecovery -description: constructors and methods of type auth_PasswordRecovery -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_PasswordRecovery -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_passwordRecovery](../constructors/auth_passwordRecovery.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->requestPasswordRecovery](../methods/auth_requestPasswordRecovery.md) - - - diff --git a/old_docs/API_docs_v65/types/auth_SentCode.md b/old_docs/API_docs_v65/types/auth_SentCode.md deleted file mode 100644 index 93734713..00000000 --- a/old_docs/API_docs_v65/types/auth_SentCode.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: auth_SentCode -description: constructors and methods of type auth_SentCode -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_SentCode -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_sentCode](../constructors/auth_sentCode.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->sendCode](../methods/auth_sendCode.md) - -[$MadelineProto->auth->resendCode](../methods/auth_resendCode.md) - -[$MadelineProto->account->sendChangePhoneCode](../methods/account_sendChangePhoneCode.md) - -[$MadelineProto->account->sendConfirmPhoneCode](../methods/account_sendConfirmPhoneCode.md) - - - diff --git a/old_docs/API_docs_v65/types/auth_SentCodeType.md b/old_docs/API_docs_v65/types/auth_SentCodeType.md deleted file mode 100644 index 8dfcb93b..00000000 --- a/old_docs/API_docs_v65/types/auth_SentCodeType.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: auth_SentCodeType -description: constructors and methods of type auth_SentCodeType -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_SentCodeType -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_sentCodeTypeApp](../constructors/auth_sentCodeTypeApp.md) - -[auth\_sentCodeTypeSms](../constructors/auth_sentCodeTypeSms.md) - -[auth\_sentCodeTypeCall](../constructors/auth_sentCodeTypeCall.md) - -[auth\_sentCodeTypeFlashCall](../constructors/auth_sentCodeTypeFlashCall.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v65/types/channels.ChannelParticipant.md b/old_docs/API_docs_v65/types/channels.ChannelParticipant.md new file mode 100644 index 00000000..8dc7f7e6 --- /dev/null +++ b/old_docs/API_docs_v65/types/channels.ChannelParticipant.md @@ -0,0 +1,22 @@ +--- +title: channels.ChannelParticipant +description: constructors and methods of type channels.ChannelParticipant +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: channels.ChannelParticipant +[Back to types index](index.md) + + + +### Possible values (constructors): + +[channels.channelParticipant](../constructors/channels.channelParticipant.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->channels->getParticipant](../methods/channels.getParticipant.md) + + + diff --git a/old_docs/API_docs_v65/types/channels.ChannelParticipants.md b/old_docs/API_docs_v65/types/channels.ChannelParticipants.md new file mode 100644 index 00000000..996ab6a6 --- /dev/null +++ b/old_docs/API_docs_v65/types/channels.ChannelParticipants.md @@ -0,0 +1,22 @@ +--- +title: channels.ChannelParticipants +description: constructors and methods of type channels.ChannelParticipants +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: channels.ChannelParticipants +[Back to types index](index.md) + + + +### Possible values (constructors): + +[channels.channelParticipants](../constructors/channels.channelParticipants.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->channels->getParticipants](../methods/channels.getParticipants.md) + + + diff --git a/old_docs/API_docs_v65/types/channels_ChannelParticipant.md b/old_docs/API_docs_v65/types/channels_ChannelParticipant.md deleted file mode 100644 index 3d4667c3..00000000 --- a/old_docs/API_docs_v65/types/channels_ChannelParticipant.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: channels_ChannelParticipant -description: constructors and methods of type channels_ChannelParticipant -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: channels\_ChannelParticipant -[Back to types index](index.md) - - - -### Possible values (constructors): - -[channels\_channelParticipant](../constructors/channels_channelParticipant.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->channels->getParticipant](../methods/channels_getParticipant.md) - - - diff --git a/old_docs/API_docs_v65/types/channels_ChannelParticipants.md b/old_docs/API_docs_v65/types/channels_ChannelParticipants.md deleted file mode 100644 index 0500c2cb..00000000 --- a/old_docs/API_docs_v65/types/channels_ChannelParticipants.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: channels_ChannelParticipants -description: constructors and methods of type channels_ChannelParticipants -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: channels\_ChannelParticipants -[Back to types index](index.md) - - - -### Possible values (constructors): - -[channels\_channelParticipants](../constructors/channels_channelParticipants.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->channels->getParticipants](../methods/channels_getParticipants.md) - - - diff --git a/old_docs/API_docs_v65/types/contacts.Blocked.md b/old_docs/API_docs_v65/types/contacts.Blocked.md new file mode 100644 index 00000000..cb2af80f --- /dev/null +++ b/old_docs/API_docs_v65/types/contacts.Blocked.md @@ -0,0 +1,24 @@ +--- +title: contacts.Blocked +description: constructors and methods of type contacts.Blocked +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Blocked +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.blocked](../constructors/contacts.blocked.md) + +[contacts.blockedSlice](../constructors/contacts.blockedSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getBlocked](../methods/contacts.getBlocked.md) + + + diff --git a/old_docs/API_docs_v65/types/contacts.Contacts.md b/old_docs/API_docs_v65/types/contacts.Contacts.md new file mode 100644 index 00000000..5f695d8e --- /dev/null +++ b/old_docs/API_docs_v65/types/contacts.Contacts.md @@ -0,0 +1,24 @@ +--- +title: contacts.Contacts +description: constructors and methods of type contacts.Contacts +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Contacts +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.contactsNotModified](../constructors/contacts.contactsNotModified.md) + +[contacts.contacts](../constructors/contacts.contacts.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getContacts](../methods/contacts.getContacts.md) + + + diff --git a/old_docs/API_docs_v65/types/contacts.Found.md b/old_docs/API_docs_v65/types/contacts.Found.md new file mode 100644 index 00000000..7df98927 --- /dev/null +++ b/old_docs/API_docs_v65/types/contacts.Found.md @@ -0,0 +1,22 @@ +--- +title: contacts.Found +description: constructors and methods of type contacts.Found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Found +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.found](../constructors/contacts.found.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->search](../methods/contacts.search.md) + + + diff --git a/old_docs/API_docs_v65/types/contacts.ImportedContacts.md b/old_docs/API_docs_v65/types/contacts.ImportedContacts.md new file mode 100644 index 00000000..16795bab --- /dev/null +++ b/old_docs/API_docs_v65/types/contacts.ImportedContacts.md @@ -0,0 +1,22 @@ +--- +title: contacts.ImportedContacts +description: constructors and methods of type contacts.ImportedContacts +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.ImportedContacts +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.importedContacts](../constructors/contacts.importedContacts.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->importContacts](../methods/contacts.importContacts.md) + + + diff --git a/old_docs/API_docs_v65/types/contacts.Link.md b/old_docs/API_docs_v65/types/contacts.Link.md new file mode 100644 index 00000000..eb9da683 --- /dev/null +++ b/old_docs/API_docs_v65/types/contacts.Link.md @@ -0,0 +1,22 @@ +--- +title: contacts.Link +description: constructors and methods of type contacts.Link +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Link +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.link](../constructors/contacts.link.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->deleteContact](../methods/contacts.deleteContact.md) + + + diff --git a/old_docs/API_docs_v65/types/contacts.ResolvedPeer.md b/old_docs/API_docs_v65/types/contacts.ResolvedPeer.md new file mode 100644 index 00000000..13630d54 --- /dev/null +++ b/old_docs/API_docs_v65/types/contacts.ResolvedPeer.md @@ -0,0 +1,22 @@ +--- +title: contacts.ResolvedPeer +description: constructors and methods of type contacts.ResolvedPeer +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.ResolvedPeer +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.resolvedPeer](../constructors/contacts.resolvedPeer.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->resolveUsername](../methods/contacts.resolveUsername.md) + + + diff --git a/old_docs/API_docs_v65/types/contacts.TopPeers.md b/old_docs/API_docs_v65/types/contacts.TopPeers.md new file mode 100644 index 00000000..b8107616 --- /dev/null +++ b/old_docs/API_docs_v65/types/contacts.TopPeers.md @@ -0,0 +1,24 @@ +--- +title: contacts.TopPeers +description: constructors and methods of type contacts.TopPeers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.TopPeers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.topPeersNotModified](../constructors/contacts.topPeersNotModified.md) + +[contacts.topPeers](../constructors/contacts.topPeers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getTopPeers](../methods/contacts.getTopPeers.md) + + + diff --git a/old_docs/API_docs_v65/types/contacts_Blocked.md b/old_docs/API_docs_v65/types/contacts_Blocked.md deleted file mode 100644 index 3e1f02eb..00000000 --- a/old_docs/API_docs_v65/types/contacts_Blocked.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: contacts_Blocked -description: constructors and methods of type contacts_Blocked -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Blocked -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_blocked](../constructors/contacts_blocked.md) - -[contacts\_blockedSlice](../constructors/contacts_blockedSlice.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->getBlocked](../methods/contacts_getBlocked.md) - - - diff --git a/old_docs/API_docs_v65/types/contacts_Contacts.md b/old_docs/API_docs_v65/types/contacts_Contacts.md deleted file mode 100644 index 5d6c9506..00000000 --- a/old_docs/API_docs_v65/types/contacts_Contacts.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: contacts_Contacts -description: constructors and methods of type contacts_Contacts -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Contacts -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_contactsNotModified](../constructors/contacts_contactsNotModified.md) - -[contacts\_contacts](../constructors/contacts_contacts.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->getContacts](../methods/contacts_getContacts.md) - - - diff --git a/old_docs/API_docs_v65/types/contacts_Found.md b/old_docs/API_docs_v65/types/contacts_Found.md deleted file mode 100644 index 806101cf..00000000 --- a/old_docs/API_docs_v65/types/contacts_Found.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_Found -description: constructors and methods of type contacts_Found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Found -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_found](../constructors/contacts_found.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->search](../methods/contacts_search.md) - - - diff --git a/old_docs/API_docs_v65/types/contacts_ImportedContacts.md b/old_docs/API_docs_v65/types/contacts_ImportedContacts.md deleted file mode 100644 index faf7e615..00000000 --- a/old_docs/API_docs_v65/types/contacts_ImportedContacts.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_ImportedContacts -description: constructors and methods of type contacts_ImportedContacts -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_ImportedContacts -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_importedContacts](../constructors/contacts_importedContacts.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->importContacts](../methods/contacts_importContacts.md) - - - diff --git a/old_docs/API_docs_v65/types/contacts_Link.md b/old_docs/API_docs_v65/types/contacts_Link.md deleted file mode 100644 index 01556606..00000000 --- a/old_docs/API_docs_v65/types/contacts_Link.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_Link -description: constructors and methods of type contacts_Link -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Link -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_link](../constructors/contacts_link.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->deleteContact](../methods/contacts_deleteContact.md) - - - diff --git a/old_docs/API_docs_v65/types/contacts_ResolvedPeer.md b/old_docs/API_docs_v65/types/contacts_ResolvedPeer.md deleted file mode 100644 index cf107f7c..00000000 --- a/old_docs/API_docs_v65/types/contacts_ResolvedPeer.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_ResolvedPeer -description: constructors and methods of type contacts_ResolvedPeer -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_ResolvedPeer -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_resolvedPeer](../constructors/contacts_resolvedPeer.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->resolveUsername](../methods/contacts_resolveUsername.md) - - - diff --git a/old_docs/API_docs_v65/types/contacts_TopPeers.md b/old_docs/API_docs_v65/types/contacts_TopPeers.md deleted file mode 100644 index fe4255c7..00000000 --- a/old_docs/API_docs_v65/types/contacts_TopPeers.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: contacts_TopPeers -description: constructors and methods of type contacts_TopPeers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_TopPeers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_topPeersNotModified](../constructors/contacts_topPeersNotModified.md) - -[contacts\_topPeers](../constructors/contacts_topPeers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->getTopPeers](../methods/contacts_getTopPeers.md) - - - diff --git a/old_docs/API_docs_v65/types/help.AppUpdate.md b/old_docs/API_docs_v65/types/help.AppUpdate.md new file mode 100644 index 00000000..285ec2b7 --- /dev/null +++ b/old_docs/API_docs_v65/types/help.AppUpdate.md @@ -0,0 +1,24 @@ +--- +title: help.AppUpdate +description: constructors and methods of type help.AppUpdate +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.AppUpdate +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.appUpdate](../constructors/help.appUpdate.md) + +[help.noAppUpdate](../constructors/help.noAppUpdate.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getAppUpdate](../methods/help.getAppUpdate.md) + + + diff --git a/old_docs/API_docs_v65/types/help.InviteText.md b/old_docs/API_docs_v65/types/help.InviteText.md new file mode 100644 index 00000000..43293f46 --- /dev/null +++ b/old_docs/API_docs_v65/types/help.InviteText.md @@ -0,0 +1,22 @@ +--- +title: help.InviteText +description: constructors and methods of type help.InviteText +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.InviteText +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.inviteText](../constructors/help.inviteText.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getInviteText](../methods/help.getInviteText.md) + + + diff --git a/old_docs/API_docs_v65/types/help.Support.md b/old_docs/API_docs_v65/types/help.Support.md new file mode 100644 index 00000000..42c20483 --- /dev/null +++ b/old_docs/API_docs_v65/types/help.Support.md @@ -0,0 +1,22 @@ +--- +title: help.Support +description: constructors and methods of type help.Support +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.Support +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.support](../constructors/help.support.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getSupport](../methods/help.getSupport.md) + + + diff --git a/old_docs/API_docs_v65/types/help.TermsOfService.md b/old_docs/API_docs_v65/types/help.TermsOfService.md new file mode 100644 index 00000000..6c29d2e6 --- /dev/null +++ b/old_docs/API_docs_v65/types/help.TermsOfService.md @@ -0,0 +1,22 @@ +--- +title: help.TermsOfService +description: constructors and methods of type help.TermsOfService +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.TermsOfService +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.termsOfService](../constructors/help.termsOfService.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getTermsOfService](../methods/help.getTermsOfService.md) + + + diff --git a/old_docs/API_docs_v65/types/help_AppUpdate.md b/old_docs/API_docs_v65/types/help_AppUpdate.md deleted file mode 100644 index 1f296a70..00000000 --- a/old_docs/API_docs_v65/types/help_AppUpdate.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: help_AppUpdate -description: constructors and methods of type help_AppUpdate -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_AppUpdate -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_appUpdate](../constructors/help_appUpdate.md) - -[help\_noAppUpdate](../constructors/help_noAppUpdate.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getAppUpdate](../methods/help_getAppUpdate.md) - - - diff --git a/old_docs/API_docs_v65/types/help_InviteText.md b/old_docs/API_docs_v65/types/help_InviteText.md deleted file mode 100644 index 018d35bf..00000000 --- a/old_docs/API_docs_v65/types/help_InviteText.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: help_InviteText -description: constructors and methods of type help_InviteText -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_InviteText -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_inviteText](../constructors/help_inviteText.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getInviteText](../methods/help_getInviteText.md) - - - diff --git a/old_docs/API_docs_v65/types/help_Support.md b/old_docs/API_docs_v65/types/help_Support.md deleted file mode 100644 index 26de447b..00000000 --- a/old_docs/API_docs_v65/types/help_Support.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: help_Support -description: constructors and methods of type help_Support -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_Support -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_support](../constructors/help_support.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getSupport](../methods/help_getSupport.md) - - - diff --git a/old_docs/API_docs_v65/types/help_TermsOfService.md b/old_docs/API_docs_v65/types/help_TermsOfService.md deleted file mode 100644 index 84a05df3..00000000 --- a/old_docs/API_docs_v65/types/help_TermsOfService.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: help_TermsOfService -description: constructors and methods of type help_TermsOfService -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_TermsOfService -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_termsOfService](../constructors/help_termsOfService.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getTermsOfService](../methods/help_getTermsOfService.md) - - - diff --git a/old_docs/API_docs_v65/types/messages.AffectedHistory.md b/old_docs/API_docs_v65/types/messages.AffectedHistory.md new file mode 100644 index 00000000..f0411b4d --- /dev/null +++ b/old_docs/API_docs_v65/types/messages.AffectedHistory.md @@ -0,0 +1,24 @@ +--- +title: messages.AffectedHistory +description: constructors and methods of type messages.AffectedHistory +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.AffectedHistory +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.affectedHistory](../constructors/messages.affectedHistory.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->deleteHistory](../methods/messages.deleteHistory.md) + +[$MadelineProto->channels->deleteUserHistory](../methods/channels.deleteUserHistory.md) + + + diff --git a/old_docs/API_docs_v65/types/messages.AffectedMessages.md b/old_docs/API_docs_v65/types/messages.AffectedMessages.md new file mode 100644 index 00000000..a9159de3 --- /dev/null +++ b/old_docs/API_docs_v65/types/messages.AffectedMessages.md @@ -0,0 +1,28 @@ +--- +title: messages.AffectedMessages +description: constructors and methods of type messages.AffectedMessages +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.AffectedMessages +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.affectedMessages](../constructors/messages.affectedMessages.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->readHistory](../methods/messages.readHistory.md) + +[$MadelineProto->messages->deleteMessages](../methods/messages.deleteMessages.md) + +[$MadelineProto->messages->readMessageContents](../methods/messages.readMessageContents.md) + +[$MadelineProto->channels->deleteMessages](../methods/channels.deleteMessages.md) + + + diff --git a/old_docs/API_docs_v65/types/messages.AllStickers.md b/old_docs/API_docs_v65/types/messages.AllStickers.md new file mode 100644 index 00000000..fd8565de --- /dev/null +++ b/old_docs/API_docs_v65/types/messages.AllStickers.md @@ -0,0 +1,26 @@ +--- +title: messages.AllStickers +description: constructors and methods of type messages.AllStickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.AllStickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.allStickersNotModified](../constructors/messages.allStickersNotModified.md) + +[messages.allStickers](../constructors/messages.allStickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getAllStickers](../methods/messages.getAllStickers.md) + +[$MadelineProto->messages->getMaskStickers](../methods/messages.getMaskStickers.md) + + + diff --git a/old_docs/API_docs_v65/types/messages.ArchivedStickers.md b/old_docs/API_docs_v65/types/messages.ArchivedStickers.md new file mode 100644 index 00000000..3e017c5d --- /dev/null +++ b/old_docs/API_docs_v65/types/messages.ArchivedStickers.md @@ -0,0 +1,22 @@ +--- +title: messages.ArchivedStickers +description: constructors and methods of type messages.ArchivedStickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.ArchivedStickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.archivedStickers](../constructors/messages.archivedStickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getArchivedStickers](../methods/messages.getArchivedStickers.md) + + + diff --git a/old_docs/API_docs_v65/types/messages.BotCallbackAnswer.md b/old_docs/API_docs_v65/types/messages.BotCallbackAnswer.md new file mode 100644 index 00000000..ef30fbfb --- /dev/null +++ b/old_docs/API_docs_v65/types/messages.BotCallbackAnswer.md @@ -0,0 +1,22 @@ +--- +title: messages.BotCallbackAnswer +description: constructors and methods of type messages.BotCallbackAnswer +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.BotCallbackAnswer +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.botCallbackAnswer](../constructors/messages.botCallbackAnswer.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getBotCallbackAnswer](../methods/messages.getBotCallbackAnswer.md) + + + diff --git a/old_docs/API_docs_v65/types/messages.BotResults.md b/old_docs/API_docs_v65/types/messages.BotResults.md new file mode 100644 index 00000000..76ee2b99 --- /dev/null +++ b/old_docs/API_docs_v65/types/messages.BotResults.md @@ -0,0 +1,22 @@ +--- +title: messages.BotResults +description: constructors and methods of type messages.BotResults +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.BotResults +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.botResults](../constructors/messages.botResults.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getInlineBotResults](../methods/messages.getInlineBotResults.md) + + + diff --git a/old_docs/API_docs_v65/types/messages.ChatFull.md b/old_docs/API_docs_v65/types/messages.ChatFull.md new file mode 100644 index 00000000..3ad38748 --- /dev/null +++ b/old_docs/API_docs_v65/types/messages.ChatFull.md @@ -0,0 +1,24 @@ +--- +title: messages.ChatFull +description: constructors and methods of type messages.ChatFull +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.ChatFull +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.chatFull](../constructors/messages.chatFull.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getFullChat](../methods/messages.getFullChat.md) + +[$MadelineProto->channels->getFullChannel](../methods/channels.getFullChannel.md) + + + diff --git a/old_docs/API_docs_v65/types/messages.Chats.md b/old_docs/API_docs_v65/types/messages.Chats.md new file mode 100644 index 00000000..2c730bf4 --- /dev/null +++ b/old_docs/API_docs_v65/types/messages.Chats.md @@ -0,0 +1,32 @@ +--- +title: messages.Chats +description: constructors and methods of type messages.Chats +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Chats +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.chats](../constructors/messages.chats.md) + +[messages.chatsSlice](../constructors/messages.chatsSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getChats](../methods/messages.getChats.md) + +[$MadelineProto->messages->getCommonChats](../methods/messages.getCommonChats.md) + +[$MadelineProto->messages->getAllChats](../methods/messages.getAllChats.md) + +[$MadelineProto->channels->getChannels](../methods/channels.getChannels.md) + +[$MadelineProto->channels->getAdminedPublicChannels](../methods/channels.getAdminedPublicChannels.md) + + + diff --git a/old_docs/API_docs_v65/types/messages.DhConfig.md b/old_docs/API_docs_v65/types/messages.DhConfig.md new file mode 100644 index 00000000..77188ab7 --- /dev/null +++ b/old_docs/API_docs_v65/types/messages.DhConfig.md @@ -0,0 +1,24 @@ +--- +title: messages.DhConfig +description: constructors and methods of type messages.DhConfig +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.DhConfig +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.dhConfigNotModified](../constructors/messages.dhConfigNotModified.md) + +[messages.dhConfig](../constructors/messages.dhConfig.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getDhConfig](../methods/messages.getDhConfig.md) + + + diff --git a/old_docs/API_docs_v65/types/messages.Dialogs.md b/old_docs/API_docs_v65/types/messages.Dialogs.md new file mode 100644 index 00000000..1a57d535 --- /dev/null +++ b/old_docs/API_docs_v65/types/messages.Dialogs.md @@ -0,0 +1,24 @@ +--- +title: messages.Dialogs +description: constructors and methods of type messages.Dialogs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Dialogs +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.dialogs](../constructors/messages.dialogs.md) + +[messages.dialogsSlice](../constructors/messages.dialogsSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getDialogs](../methods/messages.getDialogs.md) + + + diff --git a/old_docs/API_docs_v65/types/messages.FeaturedStickers.md b/old_docs/API_docs_v65/types/messages.FeaturedStickers.md new file mode 100644 index 00000000..06ed87bb --- /dev/null +++ b/old_docs/API_docs_v65/types/messages.FeaturedStickers.md @@ -0,0 +1,24 @@ +--- +title: messages.FeaturedStickers +description: constructors and methods of type messages.FeaturedStickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.FeaturedStickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.featuredStickersNotModified](../constructors/messages.featuredStickersNotModified.md) + +[messages.featuredStickers](../constructors/messages.featuredStickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getFeaturedStickers](../methods/messages.getFeaturedStickers.md) + + + diff --git a/old_docs/API_docs_v65/types/messages.FoundGifs.md b/old_docs/API_docs_v65/types/messages.FoundGifs.md new file mode 100644 index 00000000..b5176a5d --- /dev/null +++ b/old_docs/API_docs_v65/types/messages.FoundGifs.md @@ -0,0 +1,22 @@ +--- +title: messages.FoundGifs +description: constructors and methods of type messages.FoundGifs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.FoundGifs +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.foundGifs](../constructors/messages.foundGifs.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->searchGifs](../methods/messages.searchGifs.md) + + + diff --git a/old_docs/API_docs_v65/types/messages.HighScores.md b/old_docs/API_docs_v65/types/messages.HighScores.md new file mode 100644 index 00000000..eae9db66 --- /dev/null +++ b/old_docs/API_docs_v65/types/messages.HighScores.md @@ -0,0 +1,24 @@ +--- +title: messages.HighScores +description: constructors and methods of type messages.HighScores +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.HighScores +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.highScores](../constructors/messages.highScores.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getGameHighScores](../methods/messages.getGameHighScores.md) + +[$MadelineProto->messages->getInlineGameHighScores](../methods/messages.getInlineGameHighScores.md) + + + diff --git a/old_docs/API_docs_v65/types/messages.MessageEditData.md b/old_docs/API_docs_v65/types/messages.MessageEditData.md new file mode 100644 index 00000000..feb572f1 --- /dev/null +++ b/old_docs/API_docs_v65/types/messages.MessageEditData.md @@ -0,0 +1,22 @@ +--- +title: messages.MessageEditData +description: constructors and methods of type messages.MessageEditData +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.MessageEditData +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.messageEditData](../constructors/messages.messageEditData.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getMessageEditData](../methods/messages.getMessageEditData.md) + + + diff --git a/old_docs/API_docs_v65/types/messages.Messages.md b/old_docs/API_docs_v65/types/messages.Messages.md new file mode 100644 index 00000000..9e86abbe --- /dev/null +++ b/old_docs/API_docs_v65/types/messages.Messages.md @@ -0,0 +1,34 @@ +--- +title: messages.Messages +description: constructors and methods of type messages.Messages +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Messages +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.messages](../constructors/messages.messages.md) + +[messages.messagesSlice](../constructors/messages.messagesSlice.md) + +[messages.channelMessages](../constructors/messages.channelMessages.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getMessages](../methods/messages.getMessages.md) + +[$MadelineProto->messages->getHistory](../methods/messages.getHistory.md) + +[$MadelineProto->messages->search](../methods/messages.search.md) + +[$MadelineProto->messages->searchGlobal](../methods/messages.searchGlobal.md) + +[$MadelineProto->channels->getMessages](../methods/channels.getMessages.md) + + + diff --git a/old_docs/API_docs_v65/types/messages.PeerDialogs.md b/old_docs/API_docs_v65/types/messages.PeerDialogs.md new file mode 100644 index 00000000..9a1ceaf0 --- /dev/null +++ b/old_docs/API_docs_v65/types/messages.PeerDialogs.md @@ -0,0 +1,24 @@ +--- +title: messages.PeerDialogs +description: constructors and methods of type messages.PeerDialogs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.PeerDialogs +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.peerDialogs](../constructors/messages.peerDialogs.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getPeerDialogs](../methods/messages.getPeerDialogs.md) + +[$MadelineProto->messages->getPinnedDialogs](../methods/messages.getPinnedDialogs.md) + + + diff --git a/old_docs/API_docs_v65/types/messages.RecentStickers.md b/old_docs/API_docs_v65/types/messages.RecentStickers.md new file mode 100644 index 00000000..e5c49b92 --- /dev/null +++ b/old_docs/API_docs_v65/types/messages.RecentStickers.md @@ -0,0 +1,24 @@ +--- +title: messages.RecentStickers +description: constructors and methods of type messages.RecentStickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.RecentStickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.recentStickersNotModified](../constructors/messages.recentStickersNotModified.md) + +[messages.recentStickers](../constructors/messages.recentStickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getRecentStickers](../methods/messages.getRecentStickers.md) + + + diff --git a/old_docs/API_docs_v65/types/messages.SavedGifs.md b/old_docs/API_docs_v65/types/messages.SavedGifs.md new file mode 100644 index 00000000..99844c98 --- /dev/null +++ b/old_docs/API_docs_v65/types/messages.SavedGifs.md @@ -0,0 +1,24 @@ +--- +title: messages.SavedGifs +description: constructors and methods of type messages.SavedGifs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.SavedGifs +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.savedGifsNotModified](../constructors/messages.savedGifsNotModified.md) + +[messages.savedGifs](../constructors/messages.savedGifs.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getSavedGifs](../methods/messages.getSavedGifs.md) + + + diff --git a/old_docs/API_docs_v65/types/messages.SentEncryptedMessage.md b/old_docs/API_docs_v65/types/messages.SentEncryptedMessage.md new file mode 100644 index 00000000..b6d05b1f --- /dev/null +++ b/old_docs/API_docs_v65/types/messages.SentEncryptedMessage.md @@ -0,0 +1,28 @@ +--- +title: messages.SentEncryptedMessage +description: constructors and methods of type messages.SentEncryptedMessage +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.SentEncryptedMessage +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.sentEncryptedMessage](../constructors/messages.sentEncryptedMessage.md) + +[messages.sentEncryptedFile](../constructors/messages.sentEncryptedFile.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->sendEncrypted](../methods/messages.sendEncrypted.md) + +[$MadelineProto->messages->sendEncryptedFile](../methods/messages.sendEncryptedFile.md) + +[$MadelineProto->messages->sendEncryptedService](../methods/messages.sendEncryptedService.md) + + + diff --git a/old_docs/API_docs_v65/types/messages.StickerSet.md b/old_docs/API_docs_v65/types/messages.StickerSet.md new file mode 100644 index 00000000..8de24a76 --- /dev/null +++ b/old_docs/API_docs_v65/types/messages.StickerSet.md @@ -0,0 +1,22 @@ +--- +title: messages.StickerSet +description: constructors and methods of type messages.StickerSet +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.StickerSet +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.stickerSet](../constructors/messages.stickerSet.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getStickerSet](../methods/messages.getStickerSet.md) + + + diff --git a/old_docs/API_docs_v65/types/messages.StickerSetInstallResult.md b/old_docs/API_docs_v65/types/messages.StickerSetInstallResult.md new file mode 100644 index 00000000..9e09c293 --- /dev/null +++ b/old_docs/API_docs_v65/types/messages.StickerSetInstallResult.md @@ -0,0 +1,24 @@ +--- +title: messages.StickerSetInstallResult +description: constructors and methods of type messages.StickerSetInstallResult +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.StickerSetInstallResult +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.stickerSetInstallResultSuccess](../constructors/messages.stickerSetInstallResultSuccess.md) + +[messages.stickerSetInstallResultArchive](../constructors/messages.stickerSetInstallResultArchive.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->installStickerSet](../methods/messages.installStickerSet.md) + + + diff --git a/old_docs/API_docs_v65/types/messages.Stickers.md b/old_docs/API_docs_v65/types/messages.Stickers.md new file mode 100644 index 00000000..0da398ca --- /dev/null +++ b/old_docs/API_docs_v65/types/messages.Stickers.md @@ -0,0 +1,22 @@ +--- +title: messages.Stickers +description: constructors and methods of type messages.Stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Stickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.stickersNotModified](../constructors/messages.stickersNotModified.md) + +[messages.stickers](../constructors/messages.stickers.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v65/types/messages_AffectedHistory.md b/old_docs/API_docs_v65/types/messages_AffectedHistory.md deleted file mode 100644 index a2d75894..00000000 --- a/old_docs/API_docs_v65/types/messages_AffectedHistory.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_AffectedHistory -description: constructors and methods of type messages_AffectedHistory -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_AffectedHistory -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_affectedHistory](../constructors/messages_affectedHistory.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->deleteHistory](../methods/messages_deleteHistory.md) - -[$MadelineProto->channels->deleteUserHistory](../methods/channels_deleteUserHistory.md) - - - diff --git a/old_docs/API_docs_v65/types/messages_AffectedMessages.md b/old_docs/API_docs_v65/types/messages_AffectedMessages.md deleted file mode 100644 index dcbea721..00000000 --- a/old_docs/API_docs_v65/types/messages_AffectedMessages.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: messages_AffectedMessages -description: constructors and methods of type messages_AffectedMessages -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_AffectedMessages -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_affectedMessages](../constructors/messages_affectedMessages.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->readHistory](../methods/messages_readHistory.md) - -[$MadelineProto->messages->deleteMessages](../methods/messages_deleteMessages.md) - -[$MadelineProto->messages->readMessageContents](../methods/messages_readMessageContents.md) - -[$MadelineProto->channels->deleteMessages](../methods/channels_deleteMessages.md) - - - diff --git a/old_docs/API_docs_v65/types/messages_AllStickers.md b/old_docs/API_docs_v65/types/messages_AllStickers.md deleted file mode 100644 index b6a322e0..00000000 --- a/old_docs/API_docs_v65/types/messages_AllStickers.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: messages_AllStickers -description: constructors and methods of type messages_AllStickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_AllStickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_allStickersNotModified](../constructors/messages_allStickersNotModified.md) - -[messages\_allStickers](../constructors/messages_allStickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getAllStickers](../methods/messages_getAllStickers.md) - -[$MadelineProto->messages->getMaskStickers](../methods/messages_getMaskStickers.md) - - - diff --git a/old_docs/API_docs_v65/types/messages_ArchivedStickers.md b/old_docs/API_docs_v65/types/messages_ArchivedStickers.md deleted file mode 100644 index c569675e..00000000 --- a/old_docs/API_docs_v65/types/messages_ArchivedStickers.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_ArchivedStickers -description: constructors and methods of type messages_ArchivedStickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_ArchivedStickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_archivedStickers](../constructors/messages_archivedStickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getArchivedStickers](../methods/messages_getArchivedStickers.md) - - - diff --git a/old_docs/API_docs_v65/types/messages_BotCallbackAnswer.md b/old_docs/API_docs_v65/types/messages_BotCallbackAnswer.md deleted file mode 100644 index f8d424d0..00000000 --- a/old_docs/API_docs_v65/types/messages_BotCallbackAnswer.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_BotCallbackAnswer -description: constructors and methods of type messages_BotCallbackAnswer -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_BotCallbackAnswer -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_botCallbackAnswer](../constructors/messages_botCallbackAnswer.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getBotCallbackAnswer](../methods/messages_getBotCallbackAnswer.md) - - - diff --git a/old_docs/API_docs_v65/types/messages_BotResults.md b/old_docs/API_docs_v65/types/messages_BotResults.md deleted file mode 100644 index c346c5bd..00000000 --- a/old_docs/API_docs_v65/types/messages_BotResults.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_BotResults -description: constructors and methods of type messages_BotResults -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_BotResults -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_botResults](../constructors/messages_botResults.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getInlineBotResults](../methods/messages_getInlineBotResults.md) - - - diff --git a/old_docs/API_docs_v65/types/messages_ChatFull.md b/old_docs/API_docs_v65/types/messages_ChatFull.md deleted file mode 100644 index e4add41e..00000000 --- a/old_docs/API_docs_v65/types/messages_ChatFull.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_ChatFull -description: constructors and methods of type messages_ChatFull -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_ChatFull -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_chatFull](../constructors/messages_chatFull.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getFullChat](../methods/messages_getFullChat.md) - -[$MadelineProto->channels->getFullChannel](../methods/channels_getFullChannel.md) - - - diff --git a/old_docs/API_docs_v65/types/messages_Chats.md b/old_docs/API_docs_v65/types/messages_Chats.md deleted file mode 100644 index e49a9718..00000000 --- a/old_docs/API_docs_v65/types/messages_Chats.md +++ /dev/null @@ -1,32 +0,0 @@ ---- -title: messages_Chats -description: constructors and methods of type messages_Chats -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Chats -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_chats](../constructors/messages_chats.md) - -[messages\_chatsSlice](../constructors/messages_chatsSlice.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getChats](../methods/messages_getChats.md) - -[$MadelineProto->messages->getCommonChats](../methods/messages_getCommonChats.md) - -[$MadelineProto->messages->getAllChats](../methods/messages_getAllChats.md) - -[$MadelineProto->channels->getChannels](../methods/channels_getChannels.md) - -[$MadelineProto->channels->getAdminedPublicChannels](../methods/channels_getAdminedPublicChannels.md) - - - diff --git a/old_docs/API_docs_v65/types/messages_DhConfig.md b/old_docs/API_docs_v65/types/messages_DhConfig.md deleted file mode 100644 index ce237411..00000000 --- a/old_docs/API_docs_v65/types/messages_DhConfig.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_DhConfig -description: constructors and methods of type messages_DhConfig -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_DhConfig -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_dhConfigNotModified](../constructors/messages_dhConfigNotModified.md) - -[messages\_dhConfig](../constructors/messages_dhConfig.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getDhConfig](../methods/messages_getDhConfig.md) - - - diff --git a/old_docs/API_docs_v65/types/messages_Dialogs.md b/old_docs/API_docs_v65/types/messages_Dialogs.md deleted file mode 100644 index 733a42c5..00000000 --- a/old_docs/API_docs_v65/types/messages_Dialogs.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_Dialogs -description: constructors and methods of type messages_Dialogs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Dialogs -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_dialogs](../constructors/messages_dialogs.md) - -[messages\_dialogsSlice](../constructors/messages_dialogsSlice.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getDialogs](../methods/messages_getDialogs.md) - - - diff --git a/old_docs/API_docs_v65/types/messages_FeaturedStickers.md b/old_docs/API_docs_v65/types/messages_FeaturedStickers.md deleted file mode 100644 index 9b4c5002..00000000 --- a/old_docs/API_docs_v65/types/messages_FeaturedStickers.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_FeaturedStickers -description: constructors and methods of type messages_FeaturedStickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_FeaturedStickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_featuredStickersNotModified](../constructors/messages_featuredStickersNotModified.md) - -[messages\_featuredStickers](../constructors/messages_featuredStickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getFeaturedStickers](../methods/messages_getFeaturedStickers.md) - - - diff --git a/old_docs/API_docs_v65/types/messages_FoundGifs.md b/old_docs/API_docs_v65/types/messages_FoundGifs.md deleted file mode 100644 index 9dd088ba..00000000 --- a/old_docs/API_docs_v65/types/messages_FoundGifs.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_FoundGifs -description: constructors and methods of type messages_FoundGifs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_FoundGifs -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_foundGifs](../constructors/messages_foundGifs.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->searchGifs](../methods/messages_searchGifs.md) - - - diff --git a/old_docs/API_docs_v65/types/messages_HighScores.md b/old_docs/API_docs_v65/types/messages_HighScores.md deleted file mode 100644 index 9660e255..00000000 --- a/old_docs/API_docs_v65/types/messages_HighScores.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_HighScores -description: constructors and methods of type messages_HighScores -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_HighScores -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_highScores](../constructors/messages_highScores.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getGameHighScores](../methods/messages_getGameHighScores.md) - -[$MadelineProto->messages->getInlineGameHighScores](../methods/messages_getInlineGameHighScores.md) - - - diff --git a/old_docs/API_docs_v65/types/messages_MessageEditData.md b/old_docs/API_docs_v65/types/messages_MessageEditData.md deleted file mode 100644 index ed3c507a..00000000 --- a/old_docs/API_docs_v65/types/messages_MessageEditData.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_MessageEditData -description: constructors and methods of type messages_MessageEditData -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_MessageEditData -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_messageEditData](../constructors/messages_messageEditData.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getMessageEditData](../methods/messages_getMessageEditData.md) - - - diff --git a/old_docs/API_docs_v65/types/messages_Messages.md b/old_docs/API_docs_v65/types/messages_Messages.md deleted file mode 100644 index 4ce14f1d..00000000 --- a/old_docs/API_docs_v65/types/messages_Messages.md +++ /dev/null @@ -1,34 +0,0 @@ ---- -title: messages_Messages -description: constructors and methods of type messages_Messages -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Messages -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_messages](../constructors/messages_messages.md) - -[messages\_messagesSlice](../constructors/messages_messagesSlice.md) - -[messages\_channelMessages](../constructors/messages_channelMessages.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getMessages](../methods/messages_getMessages.md) - -[$MadelineProto->messages->getHistory](../methods/messages_getHistory.md) - -[$MadelineProto->messages->search](../methods/messages_search.md) - -[$MadelineProto->messages->searchGlobal](../methods/messages_searchGlobal.md) - -[$MadelineProto->channels->getMessages](../methods/channels_getMessages.md) - - - diff --git a/old_docs/API_docs_v65/types/messages_PeerDialogs.md b/old_docs/API_docs_v65/types/messages_PeerDialogs.md deleted file mode 100644 index 2477931f..00000000 --- a/old_docs/API_docs_v65/types/messages_PeerDialogs.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_PeerDialogs -description: constructors and methods of type messages_PeerDialogs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_PeerDialogs -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_peerDialogs](../constructors/messages_peerDialogs.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getPeerDialogs](../methods/messages_getPeerDialogs.md) - -[$MadelineProto->messages->getPinnedDialogs](../methods/messages_getPinnedDialogs.md) - - - diff --git a/old_docs/API_docs_v65/types/messages_RecentStickers.md b/old_docs/API_docs_v65/types/messages_RecentStickers.md deleted file mode 100644 index 2c9db779..00000000 --- a/old_docs/API_docs_v65/types/messages_RecentStickers.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_RecentStickers -description: constructors and methods of type messages_RecentStickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_RecentStickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_recentStickersNotModified](../constructors/messages_recentStickersNotModified.md) - -[messages\_recentStickers](../constructors/messages_recentStickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getRecentStickers](../methods/messages_getRecentStickers.md) - - - diff --git a/old_docs/API_docs_v65/types/messages_SavedGifs.md b/old_docs/API_docs_v65/types/messages_SavedGifs.md deleted file mode 100644 index ffb000aa..00000000 --- a/old_docs/API_docs_v65/types/messages_SavedGifs.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_SavedGifs -description: constructors and methods of type messages_SavedGifs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_SavedGifs -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_savedGifsNotModified](../constructors/messages_savedGifsNotModified.md) - -[messages\_savedGifs](../constructors/messages_savedGifs.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getSavedGifs](../methods/messages_getSavedGifs.md) - - - diff --git a/old_docs/API_docs_v65/types/messages_SentEncryptedMessage.md b/old_docs/API_docs_v65/types/messages_SentEncryptedMessage.md deleted file mode 100644 index 9f7ab935..00000000 --- a/old_docs/API_docs_v65/types/messages_SentEncryptedMessage.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: messages_SentEncryptedMessage -description: constructors and methods of type messages_SentEncryptedMessage -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_SentEncryptedMessage -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_sentEncryptedMessage](../constructors/messages_sentEncryptedMessage.md) - -[messages\_sentEncryptedFile](../constructors/messages_sentEncryptedFile.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->sendEncrypted](../methods/messages_sendEncrypted.md) - -[$MadelineProto->messages->sendEncryptedFile](../methods/messages_sendEncryptedFile.md) - -[$MadelineProto->messages->sendEncryptedService](../methods/messages_sendEncryptedService.md) - - - diff --git a/old_docs/API_docs_v65/types/messages_StickerSet.md b/old_docs/API_docs_v65/types/messages_StickerSet.md deleted file mode 100644 index e04ee8bf..00000000 --- a/old_docs/API_docs_v65/types/messages_StickerSet.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_StickerSet -description: constructors and methods of type messages_StickerSet -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_StickerSet -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_stickerSet](../constructors/messages_stickerSet.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getStickerSet](../methods/messages_getStickerSet.md) - - - diff --git a/old_docs/API_docs_v65/types/messages_StickerSetInstallResult.md b/old_docs/API_docs_v65/types/messages_StickerSetInstallResult.md deleted file mode 100644 index bb62ec11..00000000 --- a/old_docs/API_docs_v65/types/messages_StickerSetInstallResult.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_StickerSetInstallResult -description: constructors and methods of type messages_StickerSetInstallResult -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_StickerSetInstallResult -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_stickerSetInstallResultSuccess](../constructors/messages_stickerSetInstallResultSuccess.md) - -[messages\_stickerSetInstallResultArchive](../constructors/messages_stickerSetInstallResultArchive.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->installStickerSet](../methods/messages_installStickerSet.md) - - - diff --git a/old_docs/API_docs_v65/types/messages_Stickers.md b/old_docs/API_docs_v65/types/messages_Stickers.md deleted file mode 100644 index c0fa45cc..00000000 --- a/old_docs/API_docs_v65/types/messages_Stickers.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_Stickers -description: constructors and methods of type messages_Stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Stickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_stickersNotModified](../constructors/messages_stickersNotModified.md) - -[messages\_stickers](../constructors/messages_stickers.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v65/types/payments.PaymentForm.md b/old_docs/API_docs_v65/types/payments.PaymentForm.md new file mode 100644 index 00000000..985c1957 --- /dev/null +++ b/old_docs/API_docs_v65/types/payments.PaymentForm.md @@ -0,0 +1,22 @@ +--- +title: payments.PaymentForm +description: constructors and methods of type payments.PaymentForm +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: payments.PaymentForm +[Back to types index](index.md) + + + +### Possible values (constructors): + +[payments.paymentForm](../constructors/payments.paymentForm.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->payments->getPaymentForm](../methods/payments.getPaymentForm.md) + + + diff --git a/old_docs/API_docs_v65/types/payments.PaymentReceipt.md b/old_docs/API_docs_v65/types/payments.PaymentReceipt.md new file mode 100644 index 00000000..45cebd47 --- /dev/null +++ b/old_docs/API_docs_v65/types/payments.PaymentReceipt.md @@ -0,0 +1,22 @@ +--- +title: payments.PaymentReceipt +description: constructors and methods of type payments.PaymentReceipt +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: payments.PaymentReceipt +[Back to types index](index.md) + + + +### Possible values (constructors): + +[payments.paymentReceipt](../constructors/payments.paymentReceipt.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->payments->getPaymentReceipt](../methods/payments.getPaymentReceipt.md) + + + diff --git a/old_docs/API_docs_v65/types/payments.PaymentResult.md b/old_docs/API_docs_v65/types/payments.PaymentResult.md new file mode 100644 index 00000000..9bbff9af --- /dev/null +++ b/old_docs/API_docs_v65/types/payments.PaymentResult.md @@ -0,0 +1,24 @@ +--- +title: payments.PaymentResult +description: constructors and methods of type payments.PaymentResult +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: payments.PaymentResult +[Back to types index](index.md) + + + +### Possible values (constructors): + +[payments.paymentResult](../constructors/payments.paymentResult.md) + +[payments.paymentVerficationNeeded](../constructors/payments.paymentVerficationNeeded.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->payments->sendPaymentForm](../methods/payments.sendPaymentForm.md) + + + diff --git a/old_docs/API_docs_v65/types/payments.SavedInfo.md b/old_docs/API_docs_v65/types/payments.SavedInfo.md new file mode 100644 index 00000000..cf7be16c --- /dev/null +++ b/old_docs/API_docs_v65/types/payments.SavedInfo.md @@ -0,0 +1,22 @@ +--- +title: payments.SavedInfo +description: constructors and methods of type payments.SavedInfo +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: payments.SavedInfo +[Back to types index](index.md) + + + +### Possible values (constructors): + +[payments.savedInfo](../constructors/payments.savedInfo.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->payments->getSavedInfo](../methods/payments.getSavedInfo.md) + + + diff --git a/old_docs/API_docs_v65/types/payments.ValidatedRequestedInfo.md b/old_docs/API_docs_v65/types/payments.ValidatedRequestedInfo.md new file mode 100644 index 00000000..653a5064 --- /dev/null +++ b/old_docs/API_docs_v65/types/payments.ValidatedRequestedInfo.md @@ -0,0 +1,22 @@ +--- +title: payments.ValidatedRequestedInfo +description: constructors and methods of type payments.ValidatedRequestedInfo +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: payments.ValidatedRequestedInfo +[Back to types index](index.md) + + + +### Possible values (constructors): + +[payments.validatedRequestedInfo](../constructors/payments.validatedRequestedInfo.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->payments->validateRequestedInfo](../methods/payments.validateRequestedInfo.md) + + + diff --git a/old_docs/API_docs_v65/types/payments_PaymentForm.md b/old_docs/API_docs_v65/types/payments_PaymentForm.md deleted file mode 100644 index 4662586d..00000000 --- a/old_docs/API_docs_v65/types/payments_PaymentForm.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: payments_PaymentForm -description: constructors and methods of type payments_PaymentForm -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: payments\_PaymentForm -[Back to types index](index.md) - - - -### Possible values (constructors): - -[payments\_paymentForm](../constructors/payments_paymentForm.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->payments->getPaymentForm](../methods/payments_getPaymentForm.md) - - - diff --git a/old_docs/API_docs_v65/types/payments_PaymentReceipt.md b/old_docs/API_docs_v65/types/payments_PaymentReceipt.md deleted file mode 100644 index b4770d2a..00000000 --- a/old_docs/API_docs_v65/types/payments_PaymentReceipt.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: payments_PaymentReceipt -description: constructors and methods of type payments_PaymentReceipt -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: payments\_PaymentReceipt -[Back to types index](index.md) - - - -### Possible values (constructors): - -[payments\_paymentReceipt](../constructors/payments_paymentReceipt.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->payments->getPaymentReceipt](../methods/payments_getPaymentReceipt.md) - - - diff --git a/old_docs/API_docs_v65/types/payments_PaymentResult.md b/old_docs/API_docs_v65/types/payments_PaymentResult.md deleted file mode 100644 index 3c0ad411..00000000 --- a/old_docs/API_docs_v65/types/payments_PaymentResult.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: payments_PaymentResult -description: constructors and methods of type payments_PaymentResult -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: payments\_PaymentResult -[Back to types index](index.md) - - - -### Possible values (constructors): - -[payments\_paymentResult](../constructors/payments_paymentResult.md) - -[payments\_paymentVerficationNeeded](../constructors/payments_paymentVerficationNeeded.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->payments->sendPaymentForm](../methods/payments_sendPaymentForm.md) - - - diff --git a/old_docs/API_docs_v65/types/payments_SavedInfo.md b/old_docs/API_docs_v65/types/payments_SavedInfo.md deleted file mode 100644 index c8f7b9e3..00000000 --- a/old_docs/API_docs_v65/types/payments_SavedInfo.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: payments_SavedInfo -description: constructors and methods of type payments_SavedInfo -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: payments\_SavedInfo -[Back to types index](index.md) - - - -### Possible values (constructors): - -[payments\_savedInfo](../constructors/payments_savedInfo.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->payments->getSavedInfo](../methods/payments_getSavedInfo.md) - - - diff --git a/old_docs/API_docs_v65/types/payments_ValidatedRequestedInfo.md b/old_docs/API_docs_v65/types/payments_ValidatedRequestedInfo.md deleted file mode 100644 index ff6c4e39..00000000 --- a/old_docs/API_docs_v65/types/payments_ValidatedRequestedInfo.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: payments_ValidatedRequestedInfo -description: constructors and methods of type payments_ValidatedRequestedInfo -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: payments\_ValidatedRequestedInfo -[Back to types index](index.md) - - - -### Possible values (constructors): - -[payments\_validatedRequestedInfo](../constructors/payments_validatedRequestedInfo.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->payments->validateRequestedInfo](../methods/payments_validateRequestedInfo.md) - - - diff --git a/old_docs/API_docs_v65/types/phone.PhoneCall.md b/old_docs/API_docs_v65/types/phone.PhoneCall.md new file mode 100644 index 00000000..db0708e9 --- /dev/null +++ b/old_docs/API_docs_v65/types/phone.PhoneCall.md @@ -0,0 +1,26 @@ +--- +title: phone.PhoneCall +description: constructors and methods of type phone.PhoneCall +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: phone.PhoneCall +[Back to types index](index.md) + + + +### Possible values (constructors): + +[phone.phoneCall](../constructors/phone.phoneCall.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->phone->requestCall](../methods/phone.requestCall.md) + +[$MadelineProto->phone->acceptCall](../methods/phone.acceptCall.md) + +[$MadelineProto->phone->confirmCall](../methods/phone.confirmCall.md) + + + diff --git a/old_docs/API_docs_v65/types/phone_PhoneCall.md b/old_docs/API_docs_v65/types/phone_PhoneCall.md deleted file mode 100644 index 0a49d482..00000000 --- a/old_docs/API_docs_v65/types/phone_PhoneCall.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: phone_PhoneCall -description: constructors and methods of type phone_PhoneCall -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: phone\_PhoneCall -[Back to types index](index.md) - - - -### Possible values (constructors): - -[phone\_phoneCall](../constructors/phone_phoneCall.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->phone->requestCall](../methods/phone_requestCall.md) - -[$MadelineProto->phone->acceptCall](../methods/phone_acceptCall.md) - -[$MadelineProto->phone->confirmCall](../methods/phone_confirmCall.md) - - - diff --git a/old_docs/API_docs_v65/types/photos.Photo.md b/old_docs/API_docs_v65/types/photos.Photo.md new file mode 100644 index 00000000..d60f203c --- /dev/null +++ b/old_docs/API_docs_v65/types/photos.Photo.md @@ -0,0 +1,22 @@ +--- +title: photos.Photo +description: constructors and methods of type photos.Photo +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: photos.Photo +[Back to types index](index.md) + + + +### Possible values (constructors): + +[photos.photo](../constructors/photos.photo.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->photos->uploadProfilePhoto](../methods/photos.uploadProfilePhoto.md) + + + diff --git a/old_docs/API_docs_v65/types/photos.Photos.md b/old_docs/API_docs_v65/types/photos.Photos.md new file mode 100644 index 00000000..fff0e296 --- /dev/null +++ b/old_docs/API_docs_v65/types/photos.Photos.md @@ -0,0 +1,24 @@ +--- +title: photos.Photos +description: constructors and methods of type photos.Photos +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: photos.Photos +[Back to types index](index.md) + + + +### Possible values (constructors): + +[photos.photos](../constructors/photos.photos.md) + +[photos.photosSlice](../constructors/photos.photosSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->photos->getUserPhotos](../methods/photos.getUserPhotos.md) + + + diff --git a/old_docs/API_docs_v65/types/photos_Photo.md b/old_docs/API_docs_v65/types/photos_Photo.md deleted file mode 100644 index d11bbdef..00000000 --- a/old_docs/API_docs_v65/types/photos_Photo.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: photos_Photo -description: constructors and methods of type photos_Photo -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: photos\_Photo -[Back to types index](index.md) - - - -### Possible values (constructors): - -[photos\_photo](../constructors/photos_photo.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->photos->uploadProfilePhoto](../methods/photos_uploadProfilePhoto.md) - - - diff --git a/old_docs/API_docs_v65/types/photos_Photos.md b/old_docs/API_docs_v65/types/photos_Photos.md deleted file mode 100644 index 9875ad70..00000000 --- a/old_docs/API_docs_v65/types/photos_Photos.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: photos_Photos -description: constructors and methods of type photos_Photos -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: photos\_Photos -[Back to types index](index.md) - - - -### Possible values (constructors): - -[photos\_photos](../constructors/photos_photos.md) - -[photos\_photosSlice](../constructors/photos_photosSlice.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->photos->getUserPhotos](../methods/photos_getUserPhotos.md) - - - diff --git a/old_docs/API_docs_v65/types/storage.FileType.md b/old_docs/API_docs_v65/types/storage.FileType.md new file mode 100644 index 00000000..32f1bb72 --- /dev/null +++ b/old_docs/API_docs_v65/types/storage.FileType.md @@ -0,0 +1,38 @@ +--- +title: storage.FileType +description: constructors and methods of type storage.FileType +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: storage.FileType +[Back to types index](index.md) + + + +### Possible values (constructors): + +[storage.fileUnknown](../constructors/storage.fileUnknown.md) + +[storage.filePartial](../constructors/storage.filePartial.md) + +[storage.fileJpeg](../constructors/storage.fileJpeg.md) + +[storage.fileGif](../constructors/storage.fileGif.md) + +[storage.filePng](../constructors/storage.filePng.md) + +[storage.filePdf](../constructors/storage.filePdf.md) + +[storage.fileMp3](../constructors/storage.fileMp3.md) + +[storage.fileMov](../constructors/storage.fileMov.md) + +[storage.fileMp4](../constructors/storage.fileMp4.md) + +[storage.fileWebp](../constructors/storage.fileWebp.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v65/types/storage_FileType.md b/old_docs/API_docs_v65/types/storage_FileType.md deleted file mode 100644 index 22118805..00000000 --- a/old_docs/API_docs_v65/types/storage_FileType.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: storage_FileType -description: constructors and methods of type storage_FileType -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: storage\_FileType -[Back to types index](index.md) - - - -### Possible values (constructors): - -[storage\_fileUnknown](../constructors/storage_fileUnknown.md) - -[storage\_filePartial](../constructors/storage_filePartial.md) - -[storage\_fileJpeg](../constructors/storage_fileJpeg.md) - -[storage\_fileGif](../constructors/storage_fileGif.md) - -[storage\_filePng](../constructors/storage_filePng.md) - -[storage\_filePdf](../constructors/storage_filePdf.md) - -[storage\_fileMp3](../constructors/storage_fileMp3.md) - -[storage\_fileMov](../constructors/storage_fileMov.md) - -[storage\_fileMp4](../constructors/storage_fileMp4.md) - -[storage\_fileWebp](../constructors/storage_fileWebp.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v65/types/updates.ChannelDifference.md b/old_docs/API_docs_v65/types/updates.ChannelDifference.md new file mode 100644 index 00000000..ac889a1e --- /dev/null +++ b/old_docs/API_docs_v65/types/updates.ChannelDifference.md @@ -0,0 +1,26 @@ +--- +title: updates.ChannelDifference +description: constructors and methods of type updates.ChannelDifference +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: updates.ChannelDifference +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updates.channelDifferenceEmpty](../constructors/updates.channelDifferenceEmpty.md) + +[updates.channelDifferenceTooLong](../constructors/updates.channelDifferenceTooLong.md) + +[updates.channelDifference](../constructors/updates.channelDifference.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->updates->getChannelDifference](../methods/updates.getChannelDifference.md) + + + diff --git a/old_docs/API_docs_v65/types/updates.Difference.md b/old_docs/API_docs_v65/types/updates.Difference.md new file mode 100644 index 00000000..0c1a1b6e --- /dev/null +++ b/old_docs/API_docs_v65/types/updates.Difference.md @@ -0,0 +1,28 @@ +--- +title: updates.Difference +description: constructors and methods of type updates.Difference +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: updates.Difference +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updates.differenceEmpty](../constructors/updates.differenceEmpty.md) + +[updates.difference](../constructors/updates.difference.md) + +[updates.differenceSlice](../constructors/updates.differenceSlice.md) + +[updates.differenceTooLong](../constructors/updates.differenceTooLong.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->updates->getDifference](../methods/updates.getDifference.md) + + + diff --git a/old_docs/API_docs_v65/types/updates.State.md b/old_docs/API_docs_v65/types/updates.State.md new file mode 100644 index 00000000..49bbb7fd --- /dev/null +++ b/old_docs/API_docs_v65/types/updates.State.md @@ -0,0 +1,22 @@ +--- +title: updates.State +description: constructors and methods of type updates.State +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: updates.State +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updates.state](../constructors/updates.state.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->updates->getState](../methods/updates.getState.md) + + + diff --git a/old_docs/API_docs_v65/types/updates_ChannelDifference.md b/old_docs/API_docs_v65/types/updates_ChannelDifference.md deleted file mode 100644 index dc988692..00000000 --- a/old_docs/API_docs_v65/types/updates_ChannelDifference.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: updates_ChannelDifference -description: constructors and methods of type updates_ChannelDifference -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: updates\_ChannelDifference -[Back to types index](index.md) - - - -### Possible values (constructors): - -[updates\_channelDifferenceEmpty](../constructors/updates_channelDifferenceEmpty.md) - -[updates\_channelDifferenceTooLong](../constructors/updates_channelDifferenceTooLong.md) - -[updates\_channelDifference](../constructors/updates_channelDifference.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->updates->getChannelDifference](../methods/updates_getChannelDifference.md) - - - diff --git a/old_docs/API_docs_v65/types/updates_Difference.md b/old_docs/API_docs_v65/types/updates_Difference.md deleted file mode 100644 index 50bb098e..00000000 --- a/old_docs/API_docs_v65/types/updates_Difference.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: updates_Difference -description: constructors and methods of type updates_Difference -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: updates\_Difference -[Back to types index](index.md) - - - -### Possible values (constructors): - -[updates\_differenceEmpty](../constructors/updates_differenceEmpty.md) - -[updates\_difference](../constructors/updates_difference.md) - -[updates\_differenceSlice](../constructors/updates_differenceSlice.md) - -[updates\_differenceTooLong](../constructors/updates_differenceTooLong.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->updates->getDifference](../methods/updates_getDifference.md) - - - diff --git a/old_docs/API_docs_v65/types/updates_State.md b/old_docs/API_docs_v65/types/updates_State.md deleted file mode 100644 index 7a441145..00000000 --- a/old_docs/API_docs_v65/types/updates_State.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: updates_State -description: constructors and methods of type updates_State -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: updates\_State -[Back to types index](index.md) - - - -### Possible values (constructors): - -[updates\_state](../constructors/updates_state.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->updates->getState](../methods/updates_getState.md) - - - diff --git a/old_docs/API_docs_v65/types/upload.File.md b/old_docs/API_docs_v65/types/upload.File.md new file mode 100644 index 00000000..922e6c7a --- /dev/null +++ b/old_docs/API_docs_v65/types/upload.File.md @@ -0,0 +1,22 @@ +--- +title: upload.File +description: constructors and methods of type upload.File +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: upload.File +[Back to types index](index.md) + + + +### Possible values (constructors): + +[upload.file](../constructors/upload.file.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->upload->getFile](../methods/upload.getFile.md) + + + diff --git a/old_docs/API_docs_v65/types/upload.WebFile.md b/old_docs/API_docs_v65/types/upload.WebFile.md new file mode 100644 index 00000000..e834457b --- /dev/null +++ b/old_docs/API_docs_v65/types/upload.WebFile.md @@ -0,0 +1,22 @@ +--- +title: upload.WebFile +description: constructors and methods of type upload.WebFile +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: upload.WebFile +[Back to types index](index.md) + + + +### Possible values (constructors): + +[upload.webFile](../constructors/upload.webFile.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->upload->getWebFile](../methods/upload.getWebFile.md) + + + diff --git a/old_docs/API_docs_v65/types/upload_File.md b/old_docs/API_docs_v65/types/upload_File.md deleted file mode 100644 index 6e3bc38d..00000000 --- a/old_docs/API_docs_v65/types/upload_File.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: upload_File -description: constructors and methods of type upload_File -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: upload\_File -[Back to types index](index.md) - - - -### Possible values (constructors): - -[upload\_file](../constructors/upload_file.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->upload->getFile](../methods/upload_getFile.md) - - - diff --git a/old_docs/API_docs_v65/types/upload_WebFile.md b/old_docs/API_docs_v65/types/upload_WebFile.md deleted file mode 100644 index 9a86264f..00000000 --- a/old_docs/API_docs_v65/types/upload_WebFile.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: upload_WebFile -description: constructors and methods of type upload_WebFile -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: upload\_WebFile -[Back to types index](index.md) - - - -### Possible values (constructors): - -[upload\_webFile](../constructors/upload_webFile.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->upload->getWebFile](../methods/upload_getWebFile.md) - - - diff --git a/old_docs/API_docs_v66/constructors/README.md b/old_docs/API_docs_v66/constructors/README.md index d8be1631..c9c7cbfa 100644 --- a/old_docs/API_docs_v66/constructors/README.md +++ b/old_docs/API_docs_v66/constructors/README.md @@ -6,48 +6,65 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png # Constructors [Back to API documentation index](..) +*** +

[$account.authorizations](../constructors/account.authorizations.md) = \['authorizations' => \[[Authorization](../types/Authorization.md)\], \]; + +*** +

[$account.noPassword](../constructors/account.noPassword.md) = \['new_salt' => [bytes](../types/bytes.md), 'email_unconfirmed_pattern' => [string](../types/string.md), \]; + +*** +

[$account.password](../constructors/account.password.md) = \['current_salt' => [bytes](../types/bytes.md), 'new_salt' => [bytes](../types/bytes.md), 'hint' => [string](../types/string.md), 'has_recovery' => [Bool](../types/Bool.md), 'email_unconfirmed_pattern' => [string](../types/string.md), \]; + +*** +

[$account.passwordInputSettings](../constructors/account.passwordInputSettings.md) = \['new_salt' => [bytes](../types/bytes.md), 'new_password_hash' => [bytes](../types/bytes.md), 'hint' => [string](../types/string.md), 'email' => [string](../types/string.md), \]; + +*** +

[$account.passwordSettings](../constructors/account.passwordSettings.md) = \['email' => [string](../types/string.md), \]; + +*** +

[$account.privacyRules](../constructors/account.privacyRules.md) = \['rules' => \[[PrivacyRule](../types/PrivacyRule.md)\], 'users' => \[[User](../types/User.md)\], \]; + +*** +

[$account.tmpPassword](../constructors/account.tmpPassword.md) = \['tmp_password' => [bytes](../types/bytes.md), 'valid_until' => [int](../types/int.md), \]; + ***

[$accountDaysTTL](../constructors/accountDaysTTL.md) = \['days' => [int](../types/int.md), \]; *** -

[$account\_authorizations](../constructors/account_authorizations.md) = \['authorizations' => \[[Authorization](../types/Authorization.md)\], \]; - -[$account\_noPassword](../constructors/account_noPassword.md) = \['new_salt' => [bytes](../types/bytes.md), 'email_unconfirmed_pattern' => [string](../types/string.md), \]; - -[$account\_password](../constructors/account_password.md) = \['current_salt' => [bytes](../types/bytes.md), 'new_salt' => [bytes](../types/bytes.md), 'hint' => [string](../types/string.md), 'has_recovery' => [Bool](../types/Bool.md), 'email_unconfirmed_pattern' => [string](../types/string.md), \]; - -[$account\_passwordInputSettings](../constructors/account_passwordInputSettings.md) = \['new_salt' => [bytes](../types/bytes.md), 'new_password_hash' => [bytes](../types/bytes.md), 'hint' => [string](../types/string.md), 'email' => [string](../types/string.md), \]; - -[$account\_passwordSettings](../constructors/account_passwordSettings.md) = \['email' => [string](../types/string.md), \]; - -[$account\_privacyRules](../constructors/account_privacyRules.md) = \['rules' => \[[PrivacyRule](../types/PrivacyRule.md)\], 'users' => \[[User](../types/User.md)\], \]; - -[$account\_tmpPassword](../constructors/account_tmpPassword.md) = \['tmp_password' => [bytes](../types/bytes.md), 'valid_until' => [int](../types/int.md), \]; +

[$auth.authorization](../constructors/auth.authorization.md) = \['tmp_sessions' => [int](../types/int.md), 'user' => [User](../types/User.md), \]; *** -

[$auth\_authorization](../constructors/auth_authorization.md) = \['tmp_sessions' => [int](../types/int.md), 'user' => [User](../types/User.md), \]; +

[$auth.checkedPhone](../constructors/auth.checkedPhone.md) = \['phone_registered' => [Bool](../types/Bool.md), \]; -[$auth\_checkedPhone](../constructors/auth_checkedPhone.md) = \['phone_registered' => [Bool](../types/Bool.md), \]; +*** +

[$auth.codeTypeCall](../constructors/auth.codeTypeCall.md) = \[\]; -[$auth\_codeTypeCall](../constructors/auth_codeTypeCall.md) = \[\]; +*** +

[$auth.codeTypeFlashCall](../constructors/auth.codeTypeFlashCall.md) = \[\]; -[$auth\_codeTypeFlashCall](../constructors/auth_codeTypeFlashCall.md) = \[\]; +*** +

[$auth.codeTypeSms](../constructors/auth.codeTypeSms.md) = \[\]; -[$auth\_codeTypeSms](../constructors/auth_codeTypeSms.md) = \[\]; +*** +

[$auth.exportedAuthorization](../constructors/auth.exportedAuthorization.md) = \['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; -[$auth\_exportedAuthorization](../constructors/auth_exportedAuthorization.md) = \['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; +*** +

[$auth.passwordRecovery](../constructors/auth.passwordRecovery.md) = \['email_pattern' => [string](../types/string.md), \]; -[$auth\_passwordRecovery](../constructors/auth_passwordRecovery.md) = \['email_pattern' => [string](../types/string.md), \]; +*** +

[$auth.sentCode](../constructors/auth.sentCode.md) = \['phone_registered' => [Bool](../types/Bool.md), 'type' => [auth.SentCodeType](../types/auth.SentCodeType.md), 'phone_code_hash' => [string](../types/string.md), 'next_type' => [auth.CodeType](../types/auth.CodeType.md), 'timeout' => [int](../types/int.md), \]; -[$auth\_sentCode](../constructors/auth_sentCode.md) = \['phone_registered' => [Bool](../types/Bool.md), 'type' => [auth.SentCodeType](../types/auth.SentCodeType.md), 'phone_code_hash' => [string](../types/string.md), 'next_type' => [auth.CodeType](../types/auth.CodeType.md), 'timeout' => [int](../types/int.md), \]; +*** +

[$auth.sentCodeTypeApp](../constructors/auth.sentCodeTypeApp.md) = \['length' => [int](../types/int.md), \]; -[$auth\_sentCodeTypeApp](../constructors/auth_sentCodeTypeApp.md) = \['length' => [int](../types/int.md), \]; +*** +

[$auth.sentCodeTypeCall](../constructors/auth.sentCodeTypeCall.md) = \['length' => [int](../types/int.md), \]; -[$auth\_sentCodeTypeCall](../constructors/auth_sentCodeTypeCall.md) = \['length' => [int](../types/int.md), \]; +*** +

[$auth.sentCodeTypeFlashCall](../constructors/auth.sentCodeTypeFlashCall.md) = \['pattern' => [string](../types/string.md), \]; -[$auth\_sentCodeTypeFlashCall](../constructors/auth_sentCodeTypeFlashCall.md) = \['pattern' => [string](../types/string.md), \]; - -[$auth\_sentCodeTypeSms](../constructors/auth_sentCodeTypeSms.md) = \['length' => [int](../types/int.md), \]; +*** +

[$auth.sentCodeTypeSms](../constructors/auth.sentCodeTypeSms.md) = \['length' => [int](../types/int.md), \]; ***

[$authorization](../constructors/authorization.md) = \['hash' => [long](../types/long.md), 'device_model' => [string](../types/string.md), 'platform' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'api_id' => [int](../types/int.md), 'app_name' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'date_created' => [int](../types/int.md), 'date_active' => [int](../types/int.md), 'ip' => [string](../types/string.md), 'country' => [string](../types/string.md), 'region' => [string](../types/string.md), \]; @@ -151,9 +168,10 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$channelRoleModerator](../constructors/channelRoleModerator.md) = \[\]; *** -

[$channels\_channelParticipant](../constructors/channels_channelParticipant.md) = \['participant' => [ChannelParticipant](../types/ChannelParticipant.md), 'users' => \[[User](../types/User.md)\], \]; +

[$channels.channelParticipant](../constructors/channels.channelParticipant.md) = \['participant' => [ChannelParticipant](../types/ChannelParticipant.md), 'users' => \[[User](../types/User.md)\], \]; -[$channels\_channelParticipants](../constructors/channels_channelParticipants.md) = \['count' => [int](../types/int.md), 'participants' => \[[ChannelParticipant](../types/ChannelParticipant.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$channels.channelParticipants](../constructors/channels.channelParticipants.md) = \['count' => [int](../types/int.md), 'participants' => \[[ChannelParticipant](../types/ChannelParticipant.md)\], 'users' => \[[User](../types/User.md)\], \]; ***

[$chat](../constructors/chat.md) = \['creator' => [Bool](../types/Bool.md), 'kicked' => [Bool](../types/Bool.md), 'left' => [Bool](../types/Bool.md), 'admins_enabled' => [Bool](../types/Bool.md), 'admin' => [Bool](../types/Bool.md), 'deactivated' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'title' => [string](../types/string.md), 'photo' => [ChatPhoto](../types/ChatPhoto.md), 'participants_count' => [int](../types/int.md), 'date' => [int](../types/int.md), 'version' => [int](../types/int.md), 'migrated_to' => [InputChannel](../types/InputChannel.md), \]; @@ -228,25 +246,34 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$contactStatus](../constructors/contactStatus.md) = \['user_id' => [int](../types/int.md), 'status' => [UserStatus](../types/UserStatus.md), \]; *** -

[$contacts\_blocked](../constructors/contacts_blocked.md) = \['blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; +

[$contacts.blocked](../constructors/contacts.blocked.md) = \['blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_blockedSlice](../constructors/contacts_blockedSlice.md) = \['count' => [int](../types/int.md), 'blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.blockedSlice](../constructors/contacts.blockedSlice.md) = \['count' => [int](../types/int.md), 'blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_contacts](../constructors/contacts_contacts.md) = \['contacts' => \[[Contact](../types/Contact.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.contacts](../constructors/contacts.contacts.md) = \['contacts' => \[[Contact](../types/Contact.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_contactsNotModified](../constructors/contacts_contactsNotModified.md) = \[\]; +*** +

[$contacts.contactsNotModified](../constructors/contacts.contactsNotModified.md) = \[\]; -[$contacts\_found](../constructors/contacts_found.md) = \['results' => \[[Peer](../types/Peer.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.found](../constructors/contacts.found.md) = \['results' => \[[Peer](../types/Peer.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_importedContacts](../constructors/contacts_importedContacts.md) = \['imported' => \[[ImportedContact](../types/ImportedContact.md)\], 'retry_contacts' => \[[long](../types/long.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.importedContacts](../constructors/contacts.importedContacts.md) = \['imported' => \[[ImportedContact](../types/ImportedContact.md)\], 'retry_contacts' => \[[long](../types/long.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_link](../constructors/contacts_link.md) = \['my_link' => [ContactLink](../types/ContactLink.md), 'foreign_link' => [ContactLink](../types/ContactLink.md), 'user' => [User](../types/User.md), \]; +*** +

[$contacts.link](../constructors/contacts.link.md) = \['my_link' => [ContactLink](../types/ContactLink.md), 'foreign_link' => [ContactLink](../types/ContactLink.md), 'user' => [User](../types/User.md), \]; -[$contacts\_resolvedPeer](../constructors/contacts_resolvedPeer.md) = \['peer' => [Peer](../types/Peer.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.resolvedPeer](../constructors/contacts.resolvedPeer.md) = \['peer' => [Peer](../types/Peer.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_topPeers](../constructors/contacts_topPeers.md) = \['categories' => \[[TopPeerCategoryPeers](../types/TopPeerCategoryPeers.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.topPeers](../constructors/contacts.topPeers.md) = \['categories' => \[[TopPeerCategoryPeers](../types/TopPeerCategoryPeers.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_topPeersNotModified](../constructors/contacts_topPeersNotModified.md) = \[\]; +*** +

[$contacts.topPeersNotModified](../constructors/contacts.topPeersNotModified.md) = \[\]; ***

[$dataJSON](../constructors/dataJSON.md) = \['data' => [string](../types/string.md), \]; @@ -371,15 +398,19 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$geoPointEmpty](../constructors/geoPointEmpty.md) = \[\]; *** -

[$help\_appUpdate](../constructors/help_appUpdate.md) = \['id' => [int](../types/int.md), 'critical' => [Bool](../types/Bool.md), 'url' => [string](../types/string.md), 'text' => [string](../types/string.md), \]; +

[$help.appUpdate](../constructors/help.appUpdate.md) = \['id' => [int](../types/int.md), 'critical' => [Bool](../types/Bool.md), 'url' => [string](../types/string.md), 'text' => [string](../types/string.md), \]; -[$help\_inviteText](../constructors/help_inviteText.md) = \['message' => [string](../types/string.md), \]; +*** +

[$help.inviteText](../constructors/help.inviteText.md) = \['message' => [string](../types/string.md), \]; -[$help\_noAppUpdate](../constructors/help_noAppUpdate.md) = \[\]; +*** +

[$help.noAppUpdate](../constructors/help.noAppUpdate.md) = \[\]; -[$help\_support](../constructors/help_support.md) = \['phone_number' => [string](../types/string.md), 'user' => [User](../types/User.md), \]; +*** +

[$help.support](../constructors/help.support.md) = \['phone_number' => [string](../types/string.md), 'user' => [User](../types/User.md), \]; -[$help\_termsOfService](../constructors/help_termsOfService.md) = \['text' => [string](../types/string.md), \]; +*** +

[$help.termsOfService](../constructors/help.termsOfService.md) = \['text' => [string](../types/string.md), \]; ***

[$highScore](../constructors/highScore.md) = \['pos' => [int](../types/int.md), 'user_id' => [int](../types/int.md), 'score' => [int](../types/int.md), \]; @@ -871,73 +902,106 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$messageService](../constructors/messageService.md) = \['out' => [Bool](../types/Bool.md), 'mentioned' => [Bool](../types/Bool.md), 'media_unread' => [Bool](../types/Bool.md), 'silent' => [Bool](../types/Bool.md), 'post' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'from_id' => [int](../types/int.md), 'to_id' => [Peer](../types/Peer.md), 'reply_to_msg_id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'action' => [MessageAction](../types/MessageAction.md), \]; *** -

[$messages\_affectedHistory](../constructors/messages_affectedHistory.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), 'offset' => [int](../types/int.md), \]; +

[$messages.affectedHistory](../constructors/messages.affectedHistory.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), 'offset' => [int](../types/int.md), \]; -[$messages\_affectedMessages](../constructors/messages_affectedMessages.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; +*** +

[$messages.affectedMessages](../constructors/messages.affectedMessages.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; -[$messages\_allStickers](../constructors/messages_allStickers.md) = \['hash' => [int](../types/int.md), 'sets' => \[[StickerSet](../types/StickerSet.md)\], \]; +*** +

[$messages.allStickers](../constructors/messages.allStickers.md) = \['hash' => [int](../types/int.md), 'sets' => \[[StickerSet](../types/StickerSet.md)\], \]; -[$messages\_allStickersNotModified](../constructors/messages_allStickersNotModified.md) = \[\]; +*** +

[$messages.allStickersNotModified](../constructors/messages.allStickersNotModified.md) = \[\]; -[$messages\_archivedStickers](../constructors/messages_archivedStickers.md) = \['count' => [int](../types/int.md), 'sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], \]; +*** +

[$messages.archivedStickers](../constructors/messages.archivedStickers.md) = \['count' => [int](../types/int.md), 'sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], \]; -[$messages\_botCallbackAnswer](../constructors/messages_botCallbackAnswer.md) = \['alert' => [Bool](../types/Bool.md), 'has_url' => [Bool](../types/Bool.md), 'message' => [string](../types/string.md), 'url' => [string](../types/string.md), 'cache_time' => [int](../types/int.md), \]; +*** +

[$messages.botCallbackAnswer](../constructors/messages.botCallbackAnswer.md) = \['alert' => [Bool](../types/Bool.md), 'has_url' => [Bool](../types/Bool.md), 'message' => [string](../types/string.md), 'url' => [string](../types/string.md), 'cache_time' => [int](../types/int.md), \]; -[$messages\_botResults](../constructors/messages_botResults.md) = \['gallery' => [Bool](../types/Bool.md), 'query_id' => [long](../types/long.md), 'next_offset' => [string](../types/string.md), 'switch_pm' => [InlineBotSwitchPM](../types/InlineBotSwitchPM.md), 'results' => \[[BotInlineResult](../types/BotInlineResult.md)\], 'cache_time' => [int](../types/int.md), \]; +*** +

[$messages.botResults](../constructors/messages.botResults.md) = \['gallery' => [Bool](../types/Bool.md), 'query_id' => [long](../types/long.md), 'next_offset' => [string](../types/string.md), 'switch_pm' => [InlineBotSwitchPM](../types/InlineBotSwitchPM.md), 'results' => \[[BotInlineResult](../types/BotInlineResult.md)\], 'cache_time' => [int](../types/int.md), \]; -[$messages\_channelMessages](../constructors/messages_channelMessages.md) = \['pts' => [int](../types/int.md), 'count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.channelMessages](../constructors/messages.channelMessages.md) = \['pts' => [int](../types/int.md), 'count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_chatFull](../constructors/messages_chatFull.md) = \['full_chat' => [ChatFull](../types/ChatFull.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.chatFull](../constructors/messages.chatFull.md) = \['full_chat' => [ChatFull](../types/ChatFull.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_chats](../constructors/messages_chats.md) = \['chats' => \[[Chat](../types/Chat.md)\], \]; +*** +

[$messages.chats](../constructors/messages.chats.md) = \['chats' => \[[Chat](../types/Chat.md)\], \]; -[$messages\_chatsSlice](../constructors/messages_chatsSlice.md) = \['count' => [int](../types/int.md), 'chats' => \[[Chat](../types/Chat.md)\], \]; +*** +

[$messages.chatsSlice](../constructors/messages.chatsSlice.md) = \['count' => [int](../types/int.md), 'chats' => \[[Chat](../types/Chat.md)\], \]; -[$messages\_dhConfig](../constructors/messages_dhConfig.md) = \['g' => [int](../types/int.md), 'p' => [bytes](../types/bytes.md), 'version' => [int](../types/int.md), 'random' => [bytes](../types/bytes.md), \]; +*** +

[$messages.dhConfig](../constructors/messages.dhConfig.md) = \['g' => [int](../types/int.md), 'p' => [bytes](../types/bytes.md), 'version' => [int](../types/int.md), 'random' => [bytes](../types/bytes.md), \]; -[$messages\_dhConfigNotModified](../constructors/messages_dhConfigNotModified.md) = \['random' => [bytes](../types/bytes.md), \]; +*** +

[$messages.dhConfigNotModified](../constructors/messages.dhConfigNotModified.md) = \['random' => [bytes](../types/bytes.md), \]; -[$messages\_dialogs](../constructors/messages_dialogs.md) = \['dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.dialogs](../constructors/messages.dialogs.md) = \['dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_dialogsSlice](../constructors/messages_dialogsSlice.md) = \['count' => [int](../types/int.md), 'dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.dialogsSlice](../constructors/messages.dialogsSlice.md) = \['count' => [int](../types/int.md), 'dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_featuredStickers](../constructors/messages_featuredStickers.md) = \['hash' => [int](../types/int.md), 'sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], 'unread' => \[[long](../types/long.md)\], \]; +*** +

[$messages.featuredStickers](../constructors/messages.featuredStickers.md) = \['hash' => [int](../types/int.md), 'sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], 'unread' => \[[long](../types/long.md)\], \]; -[$messages\_featuredStickersNotModified](../constructors/messages_featuredStickersNotModified.md) = \[\]; +*** +

[$messages.featuredStickersNotModified](../constructors/messages.featuredStickersNotModified.md) = \[\]; -[$messages\_foundGifs](../constructors/messages_foundGifs.md) = \['next_offset' => [int](../types/int.md), 'results' => \[[FoundGif](../types/FoundGif.md)\], \]; +*** +

[$messages.foundGifs](../constructors/messages.foundGifs.md) = \['next_offset' => [int](../types/int.md), 'results' => \[[FoundGif](../types/FoundGif.md)\], \]; -[$messages\_highScores](../constructors/messages_highScores.md) = \['scores' => \[[HighScore](../types/HighScore.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.highScores](../constructors/messages.highScores.md) = \['scores' => \[[HighScore](../types/HighScore.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_messageEditData](../constructors/messages_messageEditData.md) = \['caption' => [Bool](../types/Bool.md), \]; +*** +

[$messages.messageEditData](../constructors/messages.messageEditData.md) = \['caption' => [Bool](../types/Bool.md), \]; -[$messages\_messages](../constructors/messages_messages.md) = \['messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.messages](../constructors/messages.messages.md) = \['messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_messagesSlice](../constructors/messages_messagesSlice.md) = \['count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.messagesSlice](../constructors/messages.messagesSlice.md) = \['count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_peerDialogs](../constructors/messages_peerDialogs.md) = \['dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'state' => [updates.State](../types/updates.State.md), \]; +*** +

[$messages.peerDialogs](../constructors/messages.peerDialogs.md) = \['dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'state' => [updates.State](../types/updates.State.md), \]; -[$messages\_recentStickers](../constructors/messages_recentStickers.md) = \['hash' => [int](../types/int.md), 'stickers' => \[[Document](../types/Document.md)\], \]; +*** +

[$messages.recentStickers](../constructors/messages.recentStickers.md) = \['hash' => [int](../types/int.md), 'stickers' => \[[Document](../types/Document.md)\], \]; -[$messages\_recentStickersNotModified](../constructors/messages_recentStickersNotModified.md) = \[\]; +*** +

[$messages.recentStickersNotModified](../constructors/messages.recentStickersNotModified.md) = \[\]; -[$messages\_savedGifs](../constructors/messages_savedGifs.md) = \['hash' => [int](../types/int.md), 'gifs' => \[[Document](../types/Document.md)\], \]; +*** +

[$messages.savedGifs](../constructors/messages.savedGifs.md) = \['hash' => [int](../types/int.md), 'gifs' => \[[Document](../types/Document.md)\], \]; -[$messages\_savedGifsNotModified](../constructors/messages_savedGifsNotModified.md) = \[\]; +*** +

[$messages.savedGifsNotModified](../constructors/messages.savedGifsNotModified.md) = \[\]; -[$messages\_sentEncryptedFile](../constructors/messages_sentEncryptedFile.md) = \['date' => [int](../types/int.md), 'file' => [EncryptedFile](../types/EncryptedFile.md), \]; +*** +

[$messages.sentEncryptedFile](../constructors/messages.sentEncryptedFile.md) = \['date' => [int](../types/int.md), 'file' => [EncryptedFile](../types/EncryptedFile.md), \]; -[$messages\_sentEncryptedMessage](../constructors/messages_sentEncryptedMessage.md) = \['date' => [int](../types/int.md), \]; +*** +

[$messages.sentEncryptedMessage](../constructors/messages.sentEncryptedMessage.md) = \['date' => [int](../types/int.md), \]; -[$messages\_stickerSet](../constructors/messages_stickerSet.md) = \['set' => [StickerSet](../types/StickerSet.md), 'packs' => \[[StickerPack](../types/StickerPack.md)\], 'documents' => \[[Document](../types/Document.md)\], \]; +*** +

[$messages.stickerSet](../constructors/messages.stickerSet.md) = \['set' => [StickerSet](../types/StickerSet.md), 'packs' => \[[StickerPack](../types/StickerPack.md)\], 'documents' => \[[Document](../types/Document.md)\], \]; -[$messages\_stickerSetInstallResultArchive](../constructors/messages_stickerSetInstallResultArchive.md) = \['sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], \]; +*** +

[$messages.stickerSetInstallResultArchive](../constructors/messages.stickerSetInstallResultArchive.md) = \['sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], \]; -[$messages\_stickerSetInstallResultSuccess](../constructors/messages_stickerSetInstallResultSuccess.md) = \[\]; +*** +

[$messages.stickerSetInstallResultSuccess](../constructors/messages.stickerSetInstallResultSuccess.md) = \[\]; -[$messages\_stickers](../constructors/messages_stickers.md) = \['hash' => [string](../types/string.md), 'stickers' => \[[Document](../types/Document.md)\], \]; +*** +

[$messages.stickers](../constructors/messages.stickers.md) = \['hash' => [string](../types/string.md), 'stickers' => \[[Document](../types/Document.md)\], \]; -[$messages\_stickersNotModified](../constructors/messages_stickersNotModified.md) = \[\]; +*** +

[$messages.stickersNotModified](../constructors/messages.stickersNotModified.md) = \[\]; ***

[$msg\_detailed\_info](../constructors/msg_detailed_info.md) = \['msg_id' => [long](../types/long.md), 'answer_msg_id' => [long](../types/long.md), 'bytes' => [int](../types/int.md), 'status' => [int](../types/int.md), \]; @@ -1061,17 +1125,22 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$paymentSavedCredentialsCard](../constructors/paymentSavedCredentialsCard.md) = \['id' => [string](../types/string.md), 'title' => [string](../types/string.md), \]; *** -

[$payments\_paymentForm](../constructors/payments_paymentForm.md) = \['can_save_credentials' => [Bool](../types/Bool.md), 'password_missing' => [Bool](../types/Bool.md), 'bot_id' => [int](../types/int.md), 'invoice' => [Invoice](../types/Invoice.md), 'provider_id' => [int](../types/int.md), 'url' => [string](../types/string.md), 'native_provider' => [string](../types/string.md), 'native_params' => [DataJSON](../types/DataJSON.md), 'saved_info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), 'saved_credentials' => [PaymentSavedCredentials](../types/PaymentSavedCredentials.md), 'users' => \[[User](../types/User.md)\], \]; +

[$payments.paymentForm](../constructors/payments.paymentForm.md) = \['can_save_credentials' => [Bool](../types/Bool.md), 'password_missing' => [Bool](../types/Bool.md), 'bot_id' => [int](../types/int.md), 'invoice' => [Invoice](../types/Invoice.md), 'provider_id' => [int](../types/int.md), 'url' => [string](../types/string.md), 'native_provider' => [string](../types/string.md), 'native_params' => [DataJSON](../types/DataJSON.md), 'saved_info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), 'saved_credentials' => [PaymentSavedCredentials](../types/PaymentSavedCredentials.md), 'users' => \[[User](../types/User.md)\], \]; -[$payments\_paymentReceipt](../constructors/payments_paymentReceipt.md) = \['date' => [int](../types/int.md), 'bot_id' => [int](../types/int.md), 'invoice' => [Invoice](../types/Invoice.md), 'provider_id' => [int](../types/int.md), 'info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), 'shipping' => [ShippingOption](../types/ShippingOption.md), 'currency' => [string](../types/string.md), 'total_amount' => [long](../types/long.md), 'credentials_title' => [string](../types/string.md), 'users' => \[[User](../types/User.md)\], \]; +*** +

[$payments.paymentReceipt](../constructors/payments.paymentReceipt.md) = \['date' => [int](../types/int.md), 'bot_id' => [int](../types/int.md), 'invoice' => [Invoice](../types/Invoice.md), 'provider_id' => [int](../types/int.md), 'info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), 'shipping' => [ShippingOption](../types/ShippingOption.md), 'currency' => [string](../types/string.md), 'total_amount' => [long](../types/long.md), 'credentials_title' => [string](../types/string.md), 'users' => \[[User](../types/User.md)\], \]; -[$payments\_paymentResult](../constructors/payments_paymentResult.md) = \['updates' => [Updates](../types/Updates.md), \]; +*** +

[$payments.paymentResult](../constructors/payments.paymentResult.md) = \['updates' => [Updates](../types/Updates.md), \]; -[$payments\_paymentVerficationNeeded](../constructors/payments_paymentVerficationNeeded.md) = \['url' => [string](../types/string.md), \]; +*** +

[$payments.paymentVerficationNeeded](../constructors/payments.paymentVerficationNeeded.md) = \['url' => [string](../types/string.md), \]; -[$payments\_savedInfo](../constructors/payments_savedInfo.md) = \['has_saved_credentials' => [Bool](../types/Bool.md), 'saved_info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), \]; +*** +

[$payments.savedInfo](../constructors/payments.savedInfo.md) = \['has_saved_credentials' => [Bool](../types/Bool.md), 'saved_info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), \]; -[$payments\_validatedRequestedInfo](../constructors/payments_validatedRequestedInfo.md) = \['id' => [string](../types/string.md), 'shipping_options' => \[[ShippingOption](../types/ShippingOption.md)\], \]; +*** +

[$payments.validatedRequestedInfo](../constructors/payments.validatedRequestedInfo.md) = \['id' => [string](../types/string.md), 'shipping_options' => \[[ShippingOption](../types/ShippingOption.md)\], \]; ***

[$peerChannel](../constructors/peerChannel.md) = \['channel_id' => [int](../types/int.md), \]; @@ -1097,6 +1166,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ***

[$peerUser](../constructors/peerUser.md) = \['user_id' => [int](../types/int.md), \]; +*** +

[$phone.phoneCall](../constructors/phone.phoneCall.md) = \['phone_call' => [PhoneCall](../types/PhoneCall.md), 'users' => \[[User](../types/User.md)\], \]; + ***

[$phoneCall](../constructors/phoneCall.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'date' => [int](../types/int.md), 'admin_id' => [int](../types/int.md), 'participant_id' => [int](../types/int.md), 'g_a_or_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), 'connection' => [PhoneConnection](../types/PhoneConnection.md), 'alternative_connections' => \[[PhoneConnection](../types/PhoneConnection.md)\], 'start_date' => [int](../types/int.md), \]; @@ -1133,9 +1205,6 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ***

[$phoneConnection](../constructors/phoneConnection.md) = \['id' => [long](../types/long.md), 'ip' => [string](../types/string.md), 'ipv6' => [string](../types/string.md), 'port' => [int](../types/int.md), 'peer_tag' => [bytes](../types/bytes.md), \]; -*** -

[$phone\_phoneCall](../constructors/phone_phoneCall.md) = \['phone_call' => [PhoneCall](../types/PhoneCall.md), 'users' => \[[User](../types/User.md)\], \]; - ***

[$photo](../constructors/photo.md) = \['has_stickers' => [Bool](../types/Bool.md), 'id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'date' => [int](../types/int.md), 'sizes' => \[[PhotoSize](../types/PhotoSize.md)\], \]; @@ -1152,11 +1221,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$photoSizeEmpty](../constructors/photoSizeEmpty.md) = \['type' => [string](../types/string.md), \]; *** -

[$photos\_photo](../constructors/photos_photo.md) = \['photo' => [Photo](../types/Photo.md), 'users' => \[[User](../types/User.md)\], \]; +

[$photos.photo](../constructors/photos.photo.md) = \['photo' => [Photo](../types/Photo.md), 'users' => \[[User](../types/User.md)\], \]; -[$photos\_photos](../constructors/photos_photos.md) = \['photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$photos.photos](../constructors/photos.photos.md) = \['photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$photos\_photosSlice](../constructors/photos_photosSlice.md) = \['count' => [int](../types/int.md), 'photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$photos.photosSlice](../constructors/photos.photosSlice.md) = \['count' => [int](../types/int.md), 'photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; ***

[$pong](../constructors/pong.md) = \['msg_id' => [long](../types/long.md), 'ping_id' => [long](../types/long.md), \]; @@ -1280,25 +1351,34 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$stickerSetMultiCovered](../constructors/stickerSetMultiCovered.md) = \['set' => [StickerSet](../types/StickerSet.md), 'covers' => \[[Document](../types/Document.md)\], \]; *** -

[$storage\_fileGif](../constructors/storage_fileGif.md) = \[\]; +

[$storage.fileGif](../constructors/storage.fileGif.md) = \[\]; -[$storage\_fileJpeg](../constructors/storage_fileJpeg.md) = \[\]; +*** +

[$storage.fileJpeg](../constructors/storage.fileJpeg.md) = \[\]; -[$storage\_fileMov](../constructors/storage_fileMov.md) = \[\]; +*** +

[$storage.fileMov](../constructors/storage.fileMov.md) = \[\]; -[$storage\_fileMp3](../constructors/storage_fileMp3.md) = \[\]; +*** +

[$storage.fileMp3](../constructors/storage.fileMp3.md) = \[\]; -[$storage\_fileMp4](../constructors/storage_fileMp4.md) = \[\]; +*** +

[$storage.fileMp4](../constructors/storage.fileMp4.md) = \[\]; -[$storage\_filePartial](../constructors/storage_filePartial.md) = \[\]; +*** +

[$storage.filePartial](../constructors/storage.filePartial.md) = \[\]; -[$storage\_filePdf](../constructors/storage_filePdf.md) = \[\]; +*** +

[$storage.filePdf](../constructors/storage.filePdf.md) = \[\]; -[$storage\_filePng](../constructors/storage_filePng.md) = \[\]; +*** +

[$storage.filePng](../constructors/storage.filePng.md) = \[\]; -[$storage\_fileUnknown](../constructors/storage_fileUnknown.md) = \[\]; +*** +

[$storage.fileUnknown](../constructors/storage.fileUnknown.md) = \[\]; -[$storage\_fileWebp](../constructors/storage_fileWebp.md) = \[\]; +*** +

[$storage.fileWebp](../constructors/storage.fileWebp.md) = \[\]; ***

[$textBold](../constructors/textBold.md) = \['text' => [RichText](../types/RichText.md), \]; @@ -1549,6 +1629,30 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ***

[$updates](../constructors/updates.md) = \['updates' => \[[Update](../types/Update.md)\], 'users' => \[[User](../types/User.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'date' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; +*** +

[$updates.channelDifference](../constructors/updates.channelDifference.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), 'new_messages' => \[[Message](../types/Message.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +*** +

[$updates.channelDifferenceEmpty](../constructors/updates.channelDifferenceEmpty.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), \]; + +*** +

[$updates.channelDifferenceTooLong](../constructors/updates.channelDifferenceTooLong.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), 'top_message' => [int](../types/int.md), 'read_inbox_max_id' => [int](../types/int.md), 'read_outbox_max_id' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +*** +

[$updates.difference](../constructors/updates.difference.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'state' => [updates.State](../types/updates.State.md), \]; + +*** +

[$updates.differenceEmpty](../constructors/updates.differenceEmpty.md) = \['date' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; + +*** +

[$updates.differenceSlice](../constructors/updates.differenceSlice.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'intermediate_state' => [updates.State](../types/updates.State.md), \]; + +*** +

[$updates.differenceTooLong](../constructors/updates.differenceTooLong.md) = \['pts' => [int](../types/int.md), \]; + +*** +

[$updates.state](../constructors/updates.state.md) = \['pts' => [int](../types/int.md), 'qts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'seq' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), \]; + ***

[$updatesCombined](../constructors/updatesCombined.md) = \['updates' => \[[Update](../types/Update.md)\], 'users' => \[[User](../types/User.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'date' => [int](../types/int.md), 'seq_start' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; @@ -1556,32 +1660,19 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$updatesTooLong](../constructors/updatesTooLong.md) = \[\]; *** -

[$updates\_channelDifference](../constructors/updates_channelDifference.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), 'new_messages' => \[[Message](../types/Message.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; - -[$updates\_channelDifferenceEmpty](../constructors/updates_channelDifferenceEmpty.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), \]; - -[$updates\_channelDifferenceTooLong](../constructors/updates_channelDifferenceTooLong.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), 'top_message' => [int](../types/int.md), 'read_inbox_max_id' => [int](../types/int.md), 'read_outbox_max_id' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; - -[$updates\_difference](../constructors/updates_difference.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'state' => [updates.State](../types/updates.State.md), \]; - -[$updates\_differenceEmpty](../constructors/updates_differenceEmpty.md) = \['date' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; - -[$updates\_differenceSlice](../constructors/updates_differenceSlice.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'intermediate_state' => [updates.State](../types/updates.State.md), \]; - -[$updates\_differenceTooLong](../constructors/updates_differenceTooLong.md) = \['pts' => [int](../types/int.md), \]; - -[$updates\_state](../constructors/updates_state.md) = \['pts' => [int](../types/int.md), 'qts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'seq' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), \]; +

[$upload.cdnFile](../constructors/upload.cdnFile.md) = \['bytes' => [bytes](../types/bytes.md), \]; *** -

[$upload\_cdnFile](../constructors/upload_cdnFile.md) = \['bytes' => [bytes](../types/bytes.md), \]; +

[$upload.cdnFileReuploadNeeded](../constructors/upload.cdnFileReuploadNeeded.md) = \['request_token' => [bytes](../types/bytes.md), \]; -[$upload\_cdnFileReuploadNeeded](../constructors/upload_cdnFileReuploadNeeded.md) = \['request_token' => [bytes](../types/bytes.md), \]; +*** +

[$upload.file](../constructors/upload.file.md) = \['type' => [storage.FileType](../types/storage.FileType.md), 'mtime' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; -[$upload\_file](../constructors/upload_file.md) = \['type' => [storage.FileType](../types/storage.FileType.md), 'mtime' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; +*** +

[$upload.fileCdnRedirect](../constructors/upload.fileCdnRedirect.md) = \['dc_id' => [int](../types/int.md), 'file_token' => [bytes](../types/bytes.md), 'encryption_key' => [bytes](../types/bytes.md), 'encryption_iv' => [bytes](../types/bytes.md), \]; -[$upload\_fileCdnRedirect](../constructors/upload_fileCdnRedirect.md) = \['dc_id' => [int](../types/int.md), 'file_token' => [bytes](../types/bytes.md), 'encryption_key' => [bytes](../types/bytes.md), 'encryption_iv' => [bytes](../types/bytes.md), \]; - -[$upload\_webFile](../constructors/upload_webFile.md) = \['size' => [int](../types/int.md), 'mime_type' => [string](../types/string.md), 'file_type' => [storage.FileType](../types/storage.FileType.md), 'mtime' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; +*** +

[$upload.webFile](../constructors/upload.webFile.md) = \['size' => [int](../types/int.md), 'mime_type' => [string](../types/string.md), 'file_type' => [storage.FileType](../types/storage.FileType.md), 'mtime' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; ***

[$user](../constructors/user.md) = \['self' => [Bool](../types/Bool.md), 'contact' => [Bool](../types/Bool.md), 'mutual_contact' => [Bool](../types/Bool.md), 'deleted' => [Bool](../types/Bool.md), 'bot' => [Bool](../types/Bool.md), 'bot_chat_history' => [Bool](../types/Bool.md), 'bot_nochats' => [Bool](../types/Bool.md), 'verified' => [Bool](../types/Bool.md), 'restricted' => [Bool](../types/Bool.md), 'min' => [Bool](../types/Bool.md), 'bot_inline_geo' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), 'username' => [string](../types/string.md), 'phone' => [string](../types/string.md), 'photo' => [UserProfilePhoto](../types/UserProfilePhoto.md), 'status' => [UserStatus](../types/UserStatus.md), 'bot_info_version' => [int](../types/int.md), 'restriction_reason' => [string](../types/string.md), 'bot_inline_placeholder' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]; diff --git a/old_docs/API_docs_v66/constructors/account.authorizations.md b/old_docs/API_docs_v66/constructors/account.authorizations.md new file mode 100644 index 00000000..53c961f0 --- /dev/null +++ b/old_docs/API_docs_v66/constructors/account.authorizations.md @@ -0,0 +1,38 @@ +--- +title: account.authorizations +description: Logged-in sessions +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.authorizations +[Back to constructors index](index.md) + + + +Logged-in sessions + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|authorizations|Array of [Authorization](../types/Authorization.md) | Yes|Authorizations| + + + +### Type: [account.Authorizations](../types/account.Authorizations.md) + + +### Example: + +```php +$account.authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization, Authorization]]; +``` + + +Or, if you're into Lua: + +```lua +account.authorizations={_='account.authorizations', authorizations={Authorization}} + +``` + + diff --git a/old_docs/API_docs_v66/constructors/account.noPassword.md b/old_docs/API_docs_v66/constructors/account.noPassword.md new file mode 100644 index 00000000..4dcdc515 --- /dev/null +++ b/old_docs/API_docs_v66/constructors/account.noPassword.md @@ -0,0 +1,39 @@ +--- +title: account.noPassword +description: No password +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.noPassword +[Back to constructors index](index.md) + + + +No password + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|new\_salt|[bytes](../types/bytes.md) | Yes|New salt| +|email\_unconfirmed\_pattern|[string](../types/string.md) | Yes|Email unconfirmed pattern| + + + +### Type: [account.Password](../types/account.Password.md) + + +### Example: + +```php +$account.noPassword = ['_' => 'account.noPassword', 'new_salt' => 'bytes', 'email_unconfirmed_pattern' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +account.noPassword={_='account.noPassword', new_salt='bytes', email_unconfirmed_pattern='string'} + +``` + + diff --git a/old_docs/API_docs_v66/constructors/account.password.md b/old_docs/API_docs_v66/constructors/account.password.md new file mode 100644 index 00000000..9e86a73a --- /dev/null +++ b/old_docs/API_docs_v66/constructors/account.password.md @@ -0,0 +1,42 @@ +--- +title: account.password +description: Configuration for two-factor authorization +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.password +[Back to constructors index](index.md) + + + +Configuration for two-factor authorization + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|current\_salt|[bytes](../types/bytes.md) | Yes|Current salt| +|new\_salt|[bytes](../types/bytes.md) | Yes|New salt| +|hint|[string](../types/string.md) | Yes|Text hint for the password| +|has\_recovery|[Bool](../types/Bool.md) | Yes|Has recovery?| +|email\_unconfirmed\_pattern|[string](../types/string.md) | Yes|A [password recovery email](https://core.telegram.org/api/srp#email-verification) with the specified [pattern](https://core.telegram.org/api/pattern) is still awaiting verification| + + + +### Type: [account.Password](../types/account.Password.md) + + +### Example: + +```php +$account.password = ['_' => 'account.password', 'current_salt' => 'bytes', 'new_salt' => 'bytes', 'hint' => 'string', 'has_recovery' => Bool, 'email_unconfirmed_pattern' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +account.password={_='account.password', current_salt='bytes', new_salt='bytes', hint='string', has_recovery=Bool, email_unconfirmed_pattern='string'} + +``` + + diff --git a/old_docs/API_docs_v66/constructors/account.passwordInputSettings.md b/old_docs/API_docs_v66/constructors/account.passwordInputSettings.md new file mode 100644 index 00000000..c440115a --- /dev/null +++ b/old_docs/API_docs_v66/constructors/account.passwordInputSettings.md @@ -0,0 +1,41 @@ +--- +title: account.passwordInputSettings +description: Settings for setting up a new password +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.passwordInputSettings +[Back to constructors index](index.md) + + + +Settings for setting up a new password + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|new\_salt|[bytes](../types/bytes.md) | Optional|`$new_salt = $MadelineProto->account->getPassword()['new_salt'].$MadelineProto->random(8);`| +|new\_password\_hash|[bytes](../types/bytes.md) | Optional|The [computed password hash](https://core.telegram.org/api/srp)| +|hint|[string](../types/string.md) | Optional|Text hint for the password| +|email|[string](../types/string.md) | Optional|Password recovery email| + + + +### Type: [account.PasswordInputSettings](../types/account.PasswordInputSettings.md) + + +### Example: + +```php +$account.passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_salt' => 'bytes', 'new_password_hash' => 'bytes', 'hint' => 'string', 'email' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +account.passwordInputSettings={_='account.passwordInputSettings', new_salt='bytes', new_password_hash='bytes', hint='string', email='string'} + +``` + + diff --git a/old_docs/API_docs_v66/constructors/account.passwordSettings.md b/old_docs/API_docs_v66/constructors/account.passwordSettings.md new file mode 100644 index 00000000..be899d34 --- /dev/null +++ b/old_docs/API_docs_v66/constructors/account.passwordSettings.md @@ -0,0 +1,38 @@ +--- +title: account.passwordSettings +description: Private info associated to the password info (recovery email, telegram [passport](https://core.telegram.org/passport) info & so on) +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.passwordSettings +[Back to constructors index](index.md) + + + +Private info associated to the password info (recovery email, telegram [passport](https://core.telegram.org/passport) info & so on) + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|email|[string](../types/string.md) | Yes|[2FA Recovery email](https://core.telegram.org/api/srp#email-verification)| + + + +### Type: [account.PasswordSettings](../types/account.PasswordSettings.md) + + +### Example: + +```php +$account.passwordSettings = ['_' => 'account.passwordSettings', 'email' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +account.passwordSettings={_='account.passwordSettings', email='string'} + +``` + + diff --git a/old_docs/API_docs_v66/constructors/account.privacyRules.md b/old_docs/API_docs_v66/constructors/account.privacyRules.md new file mode 100644 index 00000000..7ae04abb --- /dev/null +++ b/old_docs/API_docs_v66/constructors/account.privacyRules.md @@ -0,0 +1,39 @@ +--- +title: account.privacyRules +description: Privacy rules +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.privacyRules +[Back to constructors index](index.md) + + + +Privacy rules + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|rules|Array of [PrivacyRule](../types/PrivacyRule.md) | Yes|Rules| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [account.PrivacyRules](../types/account.PrivacyRules.md) + + +### Example: + +```php +$account.privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule, PrivacyRule], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +account.privacyRules={_='account.privacyRules', rules={PrivacyRule}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v66/constructors/account.tmpPassword.md b/old_docs/API_docs_v66/constructors/account.tmpPassword.md new file mode 100644 index 00000000..996548c4 --- /dev/null +++ b/old_docs/API_docs_v66/constructors/account.tmpPassword.md @@ -0,0 +1,39 @@ +--- +title: account.tmpPassword +description: Temporary payment password +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.tmpPassword +[Back to constructors index](index.md) + + + +Temporary payment password + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|tmp\_password|[bytes](../types/bytes.md) | Yes|Temporary password| +|valid\_until|[int](../types/int.md) | Yes|Validity period| + + + +### Type: [account.TmpPassword](../types/account.TmpPassword.md) + + +### Example: + +```php +$account.tmpPassword = ['_' => 'account.tmpPassword', 'tmp_password' => 'bytes', 'valid_until' => int]; +``` + + +Or, if you're into Lua: + +```lua +account.tmpPassword={_='account.tmpPassword', tmp_password='bytes', valid_until=int} + +``` + + diff --git a/old_docs/API_docs_v66/constructors/account_authorizations.md b/old_docs/API_docs_v66/constructors/account_authorizations.md deleted file mode 100644 index aeae48f3..00000000 --- a/old_docs/API_docs_v66/constructors/account_authorizations.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: account.authorizations -description: Logged-in sessions -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.authorizations -[Back to constructors index](index.md) - - - -Logged-in sessions - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|authorizations|Array of [Authorization](../types/Authorization.md) | Yes|Authorizations| - - - -### Type: [account\_Authorizations](../types/account_Authorizations.md) - - -### Example: - -```php -$account_authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization, Authorization]]; -``` - - -Or, if you're into Lua: - -```lua -account_authorizations={_='account.authorizations', authorizations={Authorization}} - -``` - - diff --git a/old_docs/API_docs_v66/constructors/account_noPassword.md b/old_docs/API_docs_v66/constructors/account_noPassword.md deleted file mode 100644 index 10ef7b2a..00000000 --- a/old_docs/API_docs_v66/constructors/account_noPassword.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: account.noPassword -description: No password -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.noPassword -[Back to constructors index](index.md) - - - -No password - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|new\_salt|[bytes](../types/bytes.md) | Yes|New salt| -|email\_unconfirmed\_pattern|[string](../types/string.md) | Yes|Email unconfirmed pattern| - - - -### Type: [account\_Password](../types/account_Password.md) - - -### Example: - -```php -$account_noPassword = ['_' => 'account.noPassword', 'new_salt' => 'bytes', 'email_unconfirmed_pattern' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -account_noPassword={_='account.noPassword', new_salt='bytes', email_unconfirmed_pattern='string'} - -``` - - diff --git a/old_docs/API_docs_v66/constructors/account_password.md b/old_docs/API_docs_v66/constructors/account_password.md deleted file mode 100644 index a9f512e8..00000000 --- a/old_docs/API_docs_v66/constructors/account_password.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: account.password -description: Configuration for two-factor authorization -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.password -[Back to constructors index](index.md) - - - -Configuration for two-factor authorization - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|current\_salt|[bytes](../types/bytes.md) | Yes|Current salt| -|new\_salt|[bytes](../types/bytes.md) | Yes|New salt| -|hint|[string](../types/string.md) | Yes|Text hint for the password| -|has\_recovery|[Bool](../types/Bool.md) | Yes|Has recovery?| -|email\_unconfirmed\_pattern|[string](../types/string.md) | Yes|A [password recovery email](https://core.telegram.org/api/srp#email-verification) with the specified [pattern](https://core.telegram.org/api/pattern) is still awaiting verification| - - - -### Type: [account\_Password](../types/account_Password.md) - - -### Example: - -```php -$account_password = ['_' => 'account.password', 'current_salt' => 'bytes', 'new_salt' => 'bytes', 'hint' => 'string', 'has_recovery' => Bool, 'email_unconfirmed_pattern' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -account_password={_='account.password', current_salt='bytes', new_salt='bytes', hint='string', has_recovery=Bool, email_unconfirmed_pattern='string'} - -``` - - diff --git a/old_docs/API_docs_v66/constructors/account_passwordInputSettings.md b/old_docs/API_docs_v66/constructors/account_passwordInputSettings.md deleted file mode 100644 index 05ec666b..00000000 --- a/old_docs/API_docs_v66/constructors/account_passwordInputSettings.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: account.passwordInputSettings -description: Settings for setting up a new password -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.passwordInputSettings -[Back to constructors index](index.md) - - - -Settings for setting up a new password - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|new\_salt|[bytes](../types/bytes.md) | Optional|`$new_salt = $MadelineProto->account->getPassword()['new_salt'].$MadelineProto->random(8);`| -|new\_password\_hash|[bytes](../types/bytes.md) | Optional|The [computed password hash](https://core.telegram.org/api/srp)| -|hint|[string](../types/string.md) | Optional|Text hint for the password| -|email|[string](../types/string.md) | Optional|Password recovery email| - - - -### Type: [account\_PasswordInputSettings](../types/account_PasswordInputSettings.md) - - -### Example: - -```php -$account_passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_salt' => 'bytes', 'new_password_hash' => 'bytes', 'hint' => 'string', 'email' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -account_passwordInputSettings={_='account.passwordInputSettings', new_salt='bytes', new_password_hash='bytes', hint='string', email='string'} - -``` - - diff --git a/old_docs/API_docs_v66/constructors/account_passwordSettings.md b/old_docs/API_docs_v66/constructors/account_passwordSettings.md deleted file mode 100644 index e22f9cc4..00000000 --- a/old_docs/API_docs_v66/constructors/account_passwordSettings.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: account.passwordSettings -description: Private info associated to the password info (recovery email, telegram [passport](https://core.telegram.org/passport) info & so on) -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.passwordSettings -[Back to constructors index](index.md) - - - -Private info associated to the password info (recovery email, telegram [passport](https://core.telegram.org/passport) info & so on) - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|email|[string](../types/string.md) | Yes|[2FA Recovery email](https://core.telegram.org/api/srp#email-verification)| - - - -### Type: [account\_PasswordSettings](../types/account_PasswordSettings.md) - - -### Example: - -```php -$account_passwordSettings = ['_' => 'account.passwordSettings', 'email' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -account_passwordSettings={_='account.passwordSettings', email='string'} - -``` - - diff --git a/old_docs/API_docs_v66/constructors/account_privacyRules.md b/old_docs/API_docs_v66/constructors/account_privacyRules.md deleted file mode 100644 index 28b260b7..00000000 --- a/old_docs/API_docs_v66/constructors/account_privacyRules.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: account.privacyRules -description: Privacy rules -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.privacyRules -[Back to constructors index](index.md) - - - -Privacy rules - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|rules|Array of [PrivacyRule](../types/PrivacyRule.md) | Yes|Rules| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [account\_PrivacyRules](../types/account_PrivacyRules.md) - - -### Example: - -```php -$account_privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule, PrivacyRule], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -account_privacyRules={_='account.privacyRules', rules={PrivacyRule}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v66/constructors/account_tmpPassword.md b/old_docs/API_docs_v66/constructors/account_tmpPassword.md deleted file mode 100644 index 68832780..00000000 --- a/old_docs/API_docs_v66/constructors/account_tmpPassword.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: account.tmpPassword -description: Temporary payment password -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.tmpPassword -[Back to constructors index](index.md) - - - -Temporary payment password - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|tmp\_password|[bytes](../types/bytes.md) | Yes|Temporary password| -|valid\_until|[int](../types/int.md) | Yes|Validity period| - - - -### Type: [account\_TmpPassword](../types/account_TmpPassword.md) - - -### Example: - -```php -$account_tmpPassword = ['_' => 'account.tmpPassword', 'tmp_password' => 'bytes', 'valid_until' => int]; -``` - - -Or, if you're into Lua: - -```lua -account_tmpPassword={_='account.tmpPassword', tmp_password='bytes', valid_until=int} - -``` - - diff --git a/old_docs/API_docs_v66/constructors/auth.authorization.md b/old_docs/API_docs_v66/constructors/auth.authorization.md new file mode 100644 index 00000000..2a84bb12 --- /dev/null +++ b/old_docs/API_docs_v66/constructors/auth.authorization.md @@ -0,0 +1,39 @@ +--- +title: auth.authorization +description: Contains user authorization info. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.authorization +[Back to constructors index](index.md) + + + +Contains user authorization info. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|tmp\_sessions|[int](../types/int.md) | Optional|Temporary [passport](https://core.telegram.org/passport) sessions| +|user|[User](../types/User.md) | Optional|Info on authorized user| + + + +### Type: [auth.Authorization](../types/auth.Authorization.md) + + +### Example: + +```php +$auth.authorization = ['_' => 'auth.authorization', 'tmp_sessions' => int, 'user' => User]; +``` + + +Or, if you're into Lua: + +```lua +auth.authorization={_='auth.authorization', tmp_sessions=int, user=User} + +``` + + diff --git a/old_docs/API_docs_v66/constructors/auth.checkedPhone.md b/old_docs/API_docs_v66/constructors/auth.checkedPhone.md new file mode 100644 index 00000000..23e84cf9 --- /dev/null +++ b/old_docs/API_docs_v66/constructors/auth.checkedPhone.md @@ -0,0 +1,38 @@ +--- +title: auth.checkedPhone +description: Checked phone +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.checkedPhone +[Back to constructors index](index.md) + + + +Checked phone + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_registered|[Bool](../types/Bool.md) | Yes|Phone registered?| + + + +### Type: [auth.CheckedPhone](../types/auth.CheckedPhone.md) + + +### Example: + +```php +$auth.checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool]; +``` + + +Or, if you're into Lua: + +```lua +auth.checkedPhone={_='auth.checkedPhone', phone_registered=Bool} + +``` + + diff --git a/old_docs/API_docs_v66/constructors/auth.codeTypeCall.md b/old_docs/API_docs_v66/constructors/auth.codeTypeCall.md new file mode 100644 index 00000000..4b4a1cdc --- /dev/null +++ b/old_docs/API_docs_v66/constructors/auth.codeTypeCall.md @@ -0,0 +1,33 @@ +--- +title: auth.codeTypeCall +description: Type of verification code that will be sent next if you call the resendCode method: SMS code +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.codeTypeCall +[Back to constructors index](index.md) + + + +Type of verification code that will be sent next if you call the resendCode method: SMS code + + + + +### Type: [auth.CodeType](../types/auth.CodeType.md) + + +### Example: + +```php +$auth.codeTypeCall = ['_' => 'auth.codeTypeCall']; +``` + + +Or, if you're into Lua: + +```lua +auth.codeTypeCall={_='auth.codeTypeCall'} + +``` + + diff --git a/old_docs/API_docs_v66/constructors/auth.codeTypeFlashCall.md b/old_docs/API_docs_v66/constructors/auth.codeTypeFlashCall.md new file mode 100644 index 00000000..ef97e034 --- /dev/null +++ b/old_docs/API_docs_v66/constructors/auth.codeTypeFlashCall.md @@ -0,0 +1,33 @@ +--- +title: auth.codeTypeFlashCall +description: Type of verification code that will be sent next if you call the resendCode method: SMS code +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.codeTypeFlashCall +[Back to constructors index](index.md) + + + +Type of verification code that will be sent next if you call the resendCode method: SMS code + + + + +### Type: [auth.CodeType](../types/auth.CodeType.md) + + +### Example: + +```php +$auth.codeTypeFlashCall = ['_' => 'auth.codeTypeFlashCall']; +``` + + +Or, if you're into Lua: + +```lua +auth.codeTypeFlashCall={_='auth.codeTypeFlashCall'} + +``` + + diff --git a/old_docs/API_docs_v66/constructors/auth.codeTypeSms.md b/old_docs/API_docs_v66/constructors/auth.codeTypeSms.md new file mode 100644 index 00000000..bab9a5a4 --- /dev/null +++ b/old_docs/API_docs_v66/constructors/auth.codeTypeSms.md @@ -0,0 +1,33 @@ +--- +title: auth.codeTypeSms +description: Type of verification code that will be sent next if you call the resendCode method: SMS code +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.codeTypeSms +[Back to constructors index](index.md) + + + +Type of verification code that will be sent next if you call the resendCode method: SMS code + + + + +### Type: [auth.CodeType](../types/auth.CodeType.md) + + +### Example: + +```php +$auth.codeTypeSms = ['_' => 'auth.codeTypeSms']; +``` + + +Or, if you're into Lua: + +```lua +auth.codeTypeSms={_='auth.codeTypeSms'} + +``` + + diff --git a/old_docs/API_docs_v66/constructors/auth.exportedAuthorization.md b/old_docs/API_docs_v66/constructors/auth.exportedAuthorization.md new file mode 100644 index 00000000..2a4a9896 --- /dev/null +++ b/old_docs/API_docs_v66/constructors/auth.exportedAuthorization.md @@ -0,0 +1,39 @@ +--- +title: auth.exportedAuthorization +description: Data for copying of authorization between data centres. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.exportedAuthorization +[Back to constructors index](index.md) + + + +Data for copying of authorization between data centres. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|id|[int](../types/int.md) | Yes|Current user identifier| +|bytes|[bytes](../types/bytes.md) | Yes|Authorizes key| + + + +### Type: [auth.ExportedAuthorization](../types/auth.ExportedAuthorization.md) + + +### Example: + +```php +$auth.exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +auth.exportedAuthorization={_='auth.exportedAuthorization', id=int, bytes='bytes'} + +``` + + diff --git a/old_docs/API_docs_v66/constructors/auth.passwordRecovery.md b/old_docs/API_docs_v66/constructors/auth.passwordRecovery.md new file mode 100644 index 00000000..61de922d --- /dev/null +++ b/old_docs/API_docs_v66/constructors/auth.passwordRecovery.md @@ -0,0 +1,38 @@ +--- +title: auth.passwordRecovery +description: Recovery info of a [2FA password](https://core.telegram.org/api/srp), only for accounts with a [recovery email configured](https://core.telegram.org/api/srp#email-verification). +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.passwordRecovery +[Back to constructors index](index.md) + + + +Recovery info of a [2FA password](https://core.telegram.org/api/srp), only for accounts with a [recovery email configured](https://core.telegram.org/api/srp#email-verification). + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|email\_pattern|[string](../types/string.md) | Yes|The email to which the recovery code was sent must match this [pattern](https://core.telegram.org/api/pattern).| + + + +### Type: [auth.PasswordRecovery](../types/auth.PasswordRecovery.md) + + +### Example: + +```php +$auth.passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +auth.passwordRecovery={_='auth.passwordRecovery', email_pattern='string'} + +``` + + diff --git a/old_docs/API_docs_v66/constructors/auth.sentCode.md b/old_docs/API_docs_v66/constructors/auth.sentCode.md new file mode 100644 index 00000000..25e94704 --- /dev/null +++ b/old_docs/API_docs_v66/constructors/auth.sentCode.md @@ -0,0 +1,42 @@ +--- +title: auth.sentCode +description: Contains info about a sent verification code. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentCode +[Back to constructors index](index.md) + + + +Contains info about a sent verification code. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_registered|[Bool](../types/Bool.md) | Optional|Phone registered?| +|type|[auth.SentCodeType](../constructors/auth.SentCodeType.md) | Yes|Phone code type| +|phone\_code\_hash|[string](../types/string.md) | Yes|Phone code hash, to be stored and later re-used with [auth.signIn](../methods/auth.signIn.md)| +|next\_type|[auth.CodeType](../constructors/auth.CodeType.md) | Optional|Phone code type that will be sent next, if the phone code is not received within `timeout` seconds: to send it use [auth.resendCode](../methods/auth.resendCode.md)| +|timeout|[int](../types/int.md) | Optional|Timeout for reception of the phone code| + + + +### Type: [auth.SentCode](../types/auth.SentCode.md) + + +### Example: + +```php +$auth.sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'type' => auth.SentCodeType, 'phone_code_hash' => 'string', 'next_type' => auth.CodeType, 'timeout' => int]; +``` + + +Or, if you're into Lua: + +```lua +auth.sentCode={_='auth.sentCode', phone_registered=Bool, type=auth.SentCodeType, phone_code_hash='string', next_type=auth.CodeType, timeout=int} + +``` + + diff --git a/old_docs/API_docs_v66/constructors/auth.sentCodeTypeApp.md b/old_docs/API_docs_v66/constructors/auth.sentCodeTypeApp.md new file mode 100644 index 00000000..5f2d4aa3 --- /dev/null +++ b/old_docs/API_docs_v66/constructors/auth.sentCodeTypeApp.md @@ -0,0 +1,38 @@ +--- +title: auth.sentCodeTypeApp +description: The code was sent through the telegram app +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentCodeTypeApp +[Back to constructors index](index.md) + + + +The code was sent through the telegram app + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|length|[int](../types/int.md) | Yes|Length of the code in bytes| + + + +### Type: [auth.SentCodeType](../types/auth.SentCodeType.md) + + +### Example: + +```php +$auth.sentCodeTypeApp = ['_' => 'auth.sentCodeTypeApp', 'length' => int]; +``` + + +Or, if you're into Lua: + +```lua +auth.sentCodeTypeApp={_='auth.sentCodeTypeApp', length=int} + +``` + + diff --git a/old_docs/API_docs_v66/constructors/auth.sentCodeTypeCall.md b/old_docs/API_docs_v66/constructors/auth.sentCodeTypeCall.md new file mode 100644 index 00000000..9843b3df --- /dev/null +++ b/old_docs/API_docs_v66/constructors/auth.sentCodeTypeCall.md @@ -0,0 +1,38 @@ +--- +title: auth.sentCodeTypeCall +description: The code will be sent via a phone call: a synthesized voice will tell the user which verification code to input. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentCodeTypeCall +[Back to constructors index](index.md) + + + +The code will be sent via a phone call: a synthesized voice will tell the user which verification code to input. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|length|[int](../types/int.md) | Yes|Length of the verification code| + + + +### Type: [auth.SentCodeType](../types/auth.SentCodeType.md) + + +### Example: + +```php +$auth.sentCodeTypeCall = ['_' => 'auth.sentCodeTypeCall', 'length' => int]; +``` + + +Or, if you're into Lua: + +```lua +auth.sentCodeTypeCall={_='auth.sentCodeTypeCall', length=int} + +``` + + diff --git a/old_docs/API_docs_v66/constructors/auth.sentCodeTypeFlashCall.md b/old_docs/API_docs_v66/constructors/auth.sentCodeTypeFlashCall.md new file mode 100644 index 00000000..0d24751d --- /dev/null +++ b/old_docs/API_docs_v66/constructors/auth.sentCodeTypeFlashCall.md @@ -0,0 +1,38 @@ +--- +title: auth.sentCodeTypeFlashCall +description: The code will be sent via a flash phone call, that will be closed immediately. The phone code will then be the phone number itself, just make sure that the phone number matches the specified pattern. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentCodeTypeFlashCall +[Back to constructors index](index.md) + + + +The code will be sent via a flash phone call, that will be closed immediately. The phone code will then be the phone number itself, just make sure that the phone number matches the specified pattern. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pattern|[string](../types/string.md) | Yes|[pattern](https://core.telegram.org/api/pattern) to match| + + + +### Type: [auth.SentCodeType](../types/auth.SentCodeType.md) + + +### Example: + +```php +$auth.sentCodeTypeFlashCall = ['_' => 'auth.sentCodeTypeFlashCall', 'pattern' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +auth.sentCodeTypeFlashCall={_='auth.sentCodeTypeFlashCall', pattern='string'} + +``` + + diff --git a/old_docs/API_docs_v66/constructors/auth.sentCodeTypeSms.md b/old_docs/API_docs_v66/constructors/auth.sentCodeTypeSms.md new file mode 100644 index 00000000..d8ecb75e --- /dev/null +++ b/old_docs/API_docs_v66/constructors/auth.sentCodeTypeSms.md @@ -0,0 +1,38 @@ +--- +title: auth.sentCodeTypeSms +description: The code was sent via SMS +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentCodeTypeSms +[Back to constructors index](index.md) + + + +The code was sent via SMS + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|length|[int](../types/int.md) | Yes|Length of the code in bytes| + + + +### Type: [auth.SentCodeType](../types/auth.SentCodeType.md) + + +### Example: + +```php +$auth.sentCodeTypeSms = ['_' => 'auth.sentCodeTypeSms', 'length' => int]; +``` + + +Or, if you're into Lua: + +```lua +auth.sentCodeTypeSms={_='auth.sentCodeTypeSms', length=int} + +``` + + diff --git a/old_docs/API_docs_v66/constructors/auth_authorization.md b/old_docs/API_docs_v66/constructors/auth_authorization.md deleted file mode 100644 index cb72811d..00000000 --- a/old_docs/API_docs_v66/constructors/auth_authorization.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: auth.authorization -description: Contains user authorization info. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.authorization -[Back to constructors index](index.md) - - - -Contains user authorization info. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|tmp\_sessions|[int](../types/int.md) | Optional|Temporary [passport](https://core.telegram.org/passport) sessions| -|user|[User](../types/User.md) | Optional|Info on authorized user| - - - -### Type: [auth\_Authorization](../types/auth_Authorization.md) - - -### Example: - -```php -$auth_authorization = ['_' => 'auth.authorization', 'tmp_sessions' => int, 'user' => User]; -``` - - -Or, if you're into Lua: - -```lua -auth_authorization={_='auth.authorization', tmp_sessions=int, user=User} - -``` - - diff --git a/old_docs/API_docs_v66/constructors/auth_checkedPhone.md b/old_docs/API_docs_v66/constructors/auth_checkedPhone.md deleted file mode 100644 index c77becf6..00000000 --- a/old_docs/API_docs_v66/constructors/auth_checkedPhone.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.checkedPhone -description: Checked phone -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.checkedPhone -[Back to constructors index](index.md) - - - -Checked phone - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_registered|[Bool](../types/Bool.md) | Yes|Phone registered?| - - - -### Type: [auth\_CheckedPhone](../types/auth_CheckedPhone.md) - - -### Example: - -```php -$auth_checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool]; -``` - - -Or, if you're into Lua: - -```lua -auth_checkedPhone={_='auth.checkedPhone', phone_registered=Bool} - -``` - - diff --git a/old_docs/API_docs_v66/constructors/auth_codeTypeCall.md b/old_docs/API_docs_v66/constructors/auth_codeTypeCall.md deleted file mode 100644 index 3e957c2a..00000000 --- a/old_docs/API_docs_v66/constructors/auth_codeTypeCall.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: auth.codeTypeCall -description: Type of verification code that will be sent next if you call the resendCode method: SMS code -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.codeTypeCall -[Back to constructors index](index.md) - - - -Type of verification code that will be sent next if you call the resendCode method: SMS code - - - - -### Type: [auth\_CodeType](../types/auth_CodeType.md) - - -### Example: - -```php -$auth_codeTypeCall = ['_' => 'auth.codeTypeCall']; -``` - - -Or, if you're into Lua: - -```lua -auth_codeTypeCall={_='auth.codeTypeCall'} - -``` - - diff --git a/old_docs/API_docs_v66/constructors/auth_codeTypeFlashCall.md b/old_docs/API_docs_v66/constructors/auth_codeTypeFlashCall.md deleted file mode 100644 index 981b2461..00000000 --- a/old_docs/API_docs_v66/constructors/auth_codeTypeFlashCall.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: auth.codeTypeFlashCall -description: Type of verification code that will be sent next if you call the resendCode method: SMS code -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.codeTypeFlashCall -[Back to constructors index](index.md) - - - -Type of verification code that will be sent next if you call the resendCode method: SMS code - - - - -### Type: [auth\_CodeType](../types/auth_CodeType.md) - - -### Example: - -```php -$auth_codeTypeFlashCall = ['_' => 'auth.codeTypeFlashCall']; -``` - - -Or, if you're into Lua: - -```lua -auth_codeTypeFlashCall={_='auth.codeTypeFlashCall'} - -``` - - diff --git a/old_docs/API_docs_v66/constructors/auth_codeTypeSms.md b/old_docs/API_docs_v66/constructors/auth_codeTypeSms.md deleted file mode 100644 index 16eb5d0d..00000000 --- a/old_docs/API_docs_v66/constructors/auth_codeTypeSms.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: auth.codeTypeSms -description: Type of verification code that will be sent next if you call the resendCode method: SMS code -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.codeTypeSms -[Back to constructors index](index.md) - - - -Type of verification code that will be sent next if you call the resendCode method: SMS code - - - - -### Type: [auth\_CodeType](../types/auth_CodeType.md) - - -### Example: - -```php -$auth_codeTypeSms = ['_' => 'auth.codeTypeSms']; -``` - - -Or, if you're into Lua: - -```lua -auth_codeTypeSms={_='auth.codeTypeSms'} - -``` - - diff --git a/old_docs/API_docs_v66/constructors/auth_exportedAuthorization.md b/old_docs/API_docs_v66/constructors/auth_exportedAuthorization.md deleted file mode 100644 index 8d18916e..00000000 --- a/old_docs/API_docs_v66/constructors/auth_exportedAuthorization.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: auth.exportedAuthorization -description: Data for copying of authorization between data centres. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.exportedAuthorization -[Back to constructors index](index.md) - - - -Data for copying of authorization between data centres. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|id|[int](../types/int.md) | Yes|Current user identifier| -|bytes|[bytes](../types/bytes.md) | Yes|Authorizes key| - - - -### Type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) - - -### Example: - -```php -$auth_exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -auth_exportedAuthorization={_='auth.exportedAuthorization', id=int, bytes='bytes'} - -``` - - diff --git a/old_docs/API_docs_v66/constructors/auth_passwordRecovery.md b/old_docs/API_docs_v66/constructors/auth_passwordRecovery.md deleted file mode 100644 index c40f375e..00000000 --- a/old_docs/API_docs_v66/constructors/auth_passwordRecovery.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.passwordRecovery -description: Recovery info of a [2FA password](https://core.telegram.org/api/srp), only for accounts with a [recovery email configured](https://core.telegram.org/api/srp#email-verification). -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.passwordRecovery -[Back to constructors index](index.md) - - - -Recovery info of a [2FA password](https://core.telegram.org/api/srp), only for accounts with a [recovery email configured](https://core.telegram.org/api/srp#email-verification). - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|email\_pattern|[string](../types/string.md) | Yes|The email to which the recovery code was sent must match this [pattern](https://core.telegram.org/api/pattern).| - - - -### Type: [auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) - - -### Example: - -```php -$auth_passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -auth_passwordRecovery={_='auth.passwordRecovery', email_pattern='string'} - -``` - - diff --git a/old_docs/API_docs_v66/constructors/auth_sentCode.md b/old_docs/API_docs_v66/constructors/auth_sentCode.md deleted file mode 100644 index 622c4137..00000000 --- a/old_docs/API_docs_v66/constructors/auth_sentCode.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: auth.sentCode -description: Contains info about a sent verification code. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentCode -[Back to constructors index](index.md) - - - -Contains info about a sent verification code. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_registered|[Bool](../types/Bool.md) | Optional|Phone registered?| -|type|[auth\_SentCodeType](../types/auth_SentCodeType.md) | Yes|Phone code type| -|phone\_code\_hash|[string](../types/string.md) | Yes|Phone code hash, to be stored and later re-used with [auth.signIn](../methods/auth.signIn.md)| -|next\_type|[auth\_CodeType](../types/auth_CodeType.md) | Optional|Phone code type that will be sent next, if the phone code is not received within `timeout` seconds: to send it use [auth.resendCode](../methods/auth.resendCode.md)| -|timeout|[int](../types/int.md) | Optional|Timeout for reception of the phone code| - - - -### Type: [auth\_SentCode](../types/auth_SentCode.md) - - -### Example: - -```php -$auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'type' => auth_SentCodeType, 'phone_code_hash' => 'string', 'next_type' => auth_CodeType, 'timeout' => int]; -``` - - -Or, if you're into Lua: - -```lua -auth_sentCode={_='auth.sentCode', phone_registered=Bool, type=auth_SentCodeType, phone_code_hash='string', next_type=auth_CodeType, timeout=int} - -``` - - diff --git a/old_docs/API_docs_v66/constructors/auth_sentCodeTypeApp.md b/old_docs/API_docs_v66/constructors/auth_sentCodeTypeApp.md deleted file mode 100644 index 6b7ad824..00000000 --- a/old_docs/API_docs_v66/constructors/auth_sentCodeTypeApp.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.sentCodeTypeApp -description: The code was sent through the telegram app -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentCodeTypeApp -[Back to constructors index](index.md) - - - -The code was sent through the telegram app - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|length|[int](../types/int.md) | Yes|Length of the code in bytes| - - - -### Type: [auth\_SentCodeType](../types/auth_SentCodeType.md) - - -### Example: - -```php -$auth_sentCodeTypeApp = ['_' => 'auth.sentCodeTypeApp', 'length' => int]; -``` - - -Or, if you're into Lua: - -```lua -auth_sentCodeTypeApp={_='auth.sentCodeTypeApp', length=int} - -``` - - diff --git a/old_docs/API_docs_v66/constructors/auth_sentCodeTypeCall.md b/old_docs/API_docs_v66/constructors/auth_sentCodeTypeCall.md deleted file mode 100644 index bf025aa5..00000000 --- a/old_docs/API_docs_v66/constructors/auth_sentCodeTypeCall.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.sentCodeTypeCall -description: The code will be sent via a phone call: a synthesized voice will tell the user which verification code to input. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentCodeTypeCall -[Back to constructors index](index.md) - - - -The code will be sent via a phone call: a synthesized voice will tell the user which verification code to input. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|length|[int](../types/int.md) | Yes|Length of the verification code| - - - -### Type: [auth\_SentCodeType](../types/auth_SentCodeType.md) - - -### Example: - -```php -$auth_sentCodeTypeCall = ['_' => 'auth.sentCodeTypeCall', 'length' => int]; -``` - - -Or, if you're into Lua: - -```lua -auth_sentCodeTypeCall={_='auth.sentCodeTypeCall', length=int} - -``` - - diff --git a/old_docs/API_docs_v66/constructors/auth_sentCodeTypeFlashCall.md b/old_docs/API_docs_v66/constructors/auth_sentCodeTypeFlashCall.md deleted file mode 100644 index efe64ce7..00000000 --- a/old_docs/API_docs_v66/constructors/auth_sentCodeTypeFlashCall.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.sentCodeTypeFlashCall -description: The code will be sent via a flash phone call, that will be closed immediately. The phone code will then be the phone number itself, just make sure that the phone number matches the specified pattern. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentCodeTypeFlashCall -[Back to constructors index](index.md) - - - -The code will be sent via a flash phone call, that will be closed immediately. The phone code will then be the phone number itself, just make sure that the phone number matches the specified pattern. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pattern|[string](../types/string.md) | Yes|[pattern](https://core.telegram.org/api/pattern) to match| - - - -### Type: [auth\_SentCodeType](../types/auth_SentCodeType.md) - - -### Example: - -```php -$auth_sentCodeTypeFlashCall = ['_' => 'auth.sentCodeTypeFlashCall', 'pattern' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -auth_sentCodeTypeFlashCall={_='auth.sentCodeTypeFlashCall', pattern='string'} - -``` - - diff --git a/old_docs/API_docs_v66/constructors/auth_sentCodeTypeSms.md b/old_docs/API_docs_v66/constructors/auth_sentCodeTypeSms.md deleted file mode 100644 index 8e27dac9..00000000 --- a/old_docs/API_docs_v66/constructors/auth_sentCodeTypeSms.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.sentCodeTypeSms -description: The code was sent via SMS -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentCodeTypeSms -[Back to constructors index](index.md) - - - -The code was sent via SMS - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|length|[int](../types/int.md) | Yes|Length of the code in bytes| - - - -### Type: [auth\_SentCodeType](../types/auth_SentCodeType.md) - - -### Example: - -```php -$auth_sentCodeTypeSms = ['_' => 'auth.sentCodeTypeSms', 'length' => int]; -``` - - -Or, if you're into Lua: - -```lua -auth_sentCodeTypeSms={_='auth.sentCodeTypeSms', length=int} - -``` - - diff --git a/old_docs/API_docs_v66/constructors/channels.channelParticipant.md b/old_docs/API_docs_v66/constructors/channels.channelParticipant.md new file mode 100644 index 00000000..0f09777f --- /dev/null +++ b/old_docs/API_docs_v66/constructors/channels.channelParticipant.md @@ -0,0 +1,39 @@ +--- +title: channels.channelParticipant +description: Represents a channel participant +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: channels.channelParticipant +[Back to constructors index](index.md) + + + +Represents a channel participant + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|participant|[ChannelParticipant](../types/ChannelParticipant.md) | Yes|The channel participant| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [channels.ChannelParticipant](../types/channels.ChannelParticipant.md) + + +### Example: + +```php +$channels.channelParticipant = ['_' => 'channels.channelParticipant', 'participant' => ChannelParticipant, 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +channels.channelParticipant={_='channels.channelParticipant', participant=ChannelParticipant, users={User}} + +``` + + diff --git a/old_docs/API_docs_v66/constructors/channels.channelParticipants.md b/old_docs/API_docs_v66/constructors/channels.channelParticipants.md new file mode 100644 index 00000000..6ee1a8b3 --- /dev/null +++ b/old_docs/API_docs_v66/constructors/channels.channelParticipants.md @@ -0,0 +1,40 @@ +--- +title: channels.channelParticipants +description: Represents multiple channel participants +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: channels.channelParticipants +[Back to constructors index](index.md) + + + +Represents multiple channel participants + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of participants that correspond to the given query| +|participants|Array of [ChannelParticipant](../types/ChannelParticipant.md) | Yes|Participants| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [channels.ChannelParticipants](../types/channels.ChannelParticipants.md) + + +### Example: + +```php +$channels.channelParticipants = ['_' => 'channels.channelParticipants', 'count' => int, 'participants' => [ChannelParticipant, ChannelParticipant], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +channels.channelParticipants={_='channels.channelParticipants', count=int, participants={ChannelParticipant}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v66/constructors/channels_channelParticipant.md b/old_docs/API_docs_v66/constructors/channels_channelParticipant.md deleted file mode 100644 index 15fe46a4..00000000 --- a/old_docs/API_docs_v66/constructors/channels_channelParticipant.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: channels.channelParticipant -description: Represents a channel participant -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: channels.channelParticipant -[Back to constructors index](index.md) - - - -Represents a channel participant - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|participant|[ChannelParticipant](../types/ChannelParticipant.md) | Yes|The channel participant| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [channels\_ChannelParticipant](../types/channels_ChannelParticipant.md) - - -### Example: - -```php -$channels_channelParticipant = ['_' => 'channels.channelParticipant', 'participant' => ChannelParticipant, 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -channels_channelParticipant={_='channels.channelParticipant', participant=ChannelParticipant, users={User}} - -``` - - diff --git a/old_docs/API_docs_v66/constructors/channels_channelParticipants.md b/old_docs/API_docs_v66/constructors/channels_channelParticipants.md deleted file mode 100644 index 1848a04f..00000000 --- a/old_docs/API_docs_v66/constructors/channels_channelParticipants.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: channels.channelParticipants -description: Represents multiple channel participants -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: channels.channelParticipants -[Back to constructors index](index.md) - - - -Represents multiple channel participants - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of participants that correspond to the given query| -|participants|Array of [ChannelParticipant](../types/ChannelParticipant.md) | Yes|Participants| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [channels\_ChannelParticipants](../types/channels_ChannelParticipants.md) - - -### Example: - -```php -$channels_channelParticipants = ['_' => 'channels.channelParticipants', 'count' => int, 'participants' => [ChannelParticipant, ChannelParticipant], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -channels_channelParticipants={_='channels.channelParticipants', count=int, participants={ChannelParticipant}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v66/constructors/contacts.blocked.md b/old_docs/API_docs_v66/constructors/contacts.blocked.md new file mode 100644 index 00000000..d2b3f680 --- /dev/null +++ b/old_docs/API_docs_v66/constructors/contacts.blocked.md @@ -0,0 +1,39 @@ +--- +title: contacts.blocked +description: Full list of blocked users. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.blocked +[Back to constructors index](index.md) + + + +Full list of blocked users. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Blocked](../types/contacts.Blocked.md) + + +### Example: + +```php +$contacts.blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.blocked={_='contacts.blocked', blocked={ContactBlocked}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v66/constructors/contacts.blockedSlice.md b/old_docs/API_docs_v66/constructors/contacts.blockedSlice.md new file mode 100644 index 00000000..92d19c72 --- /dev/null +++ b/old_docs/API_docs_v66/constructors/contacts.blockedSlice.md @@ -0,0 +1,40 @@ +--- +title: contacts.blockedSlice +description: Incomplete list of blocked users. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.blockedSlice +[Back to constructors index](index.md) + + + +Incomplete list of blocked users. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of elements in the list| +|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Blocked](../types/contacts.Blocked.md) + + +### Example: + +```php +$contacts.blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.blockedSlice={_='contacts.blockedSlice', count=int, blocked={ContactBlocked}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v66/constructors/contacts.contacts.md b/old_docs/API_docs_v66/constructors/contacts.contacts.md new file mode 100644 index 00000000..d4ccc018 --- /dev/null +++ b/old_docs/API_docs_v66/constructors/contacts.contacts.md @@ -0,0 +1,39 @@ +--- +title: contacts.contacts +description: The current user's contact list and info on users. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.contacts +[Back to constructors index](index.md) + + + +The current user's contact list and info on users. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|contacts|Array of [Contact](../types/Contact.md) | Yes|Contacts| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Contacts](../types/contacts.Contacts.md) + + +### Example: + +```php +$contacts.contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact, Contact], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.contacts={_='contacts.contacts', contacts={Contact}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v66/constructors/contacts.contactsNotModified.md b/old_docs/API_docs_v66/constructors/contacts.contactsNotModified.md new file mode 100644 index 00000000..e2149396 --- /dev/null +++ b/old_docs/API_docs_v66/constructors/contacts.contactsNotModified.md @@ -0,0 +1,33 @@ +--- +title: contacts.contactsNotModified +description: Contact list on the server is the same as the list on the client. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.contactsNotModified +[Back to constructors index](index.md) + + + +Contact list on the server is the same as the list on the client. + + + + +### Type: [contacts.Contacts](../types/contacts.Contacts.md) + + +### Example: + +```php +$contacts.contactsNotModified = ['_' => 'contacts.contactsNotModified']; +``` + + +Or, if you're into Lua: + +```lua +contacts.contactsNotModified={_='contacts.contactsNotModified'} + +``` + + diff --git a/old_docs/API_docs_v66/constructors/contacts.found.md b/old_docs/API_docs_v66/constructors/contacts.found.md new file mode 100644 index 00000000..1eaa93b7 --- /dev/null +++ b/old_docs/API_docs_v66/constructors/contacts.found.md @@ -0,0 +1,40 @@ +--- +title: contacts.found +description: Users found by name substring and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.found +[Back to constructors index](index.md) + + + +Users found by name substring and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|results|Array of [Peer](../types/Peer.md) | Yes|Results| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Found](../types/contacts.Found.md) + + +### Example: + +```php +$contacts.found = ['_' => 'contacts.found', 'results' => [Peer, Peer], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.found={_='contacts.found', results={Peer}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v66/constructors/contacts.importedContacts.md b/old_docs/API_docs_v66/constructors/contacts.importedContacts.md new file mode 100644 index 00000000..1cbff59a --- /dev/null +++ b/old_docs/API_docs_v66/constructors/contacts.importedContacts.md @@ -0,0 +1,40 @@ +--- +title: contacts.importedContacts +description: Info on succesfully imported contacts. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.importedContacts +[Back to constructors index](index.md) + + + +Info on succesfully imported contacts. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|imported|Array of [ImportedContact](../types/ImportedContact.md) | Yes|Imported| +|retry\_contacts|Array of [long](../types/long.md) | Yes|Retry importing contacts whose client IDs appear here| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.ImportedContacts](../types/contacts.ImportedContacts.md) + + +### Example: + +```php +$contacts.importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact, ImportedContact], 'retry_contacts' => [long, long], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.importedContacts={_='contacts.importedContacts', imported={ImportedContact}, retry_contacts={long}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v66/constructors/contacts.link.md b/old_docs/API_docs_v66/constructors/contacts.link.md new file mode 100644 index 00000000..ab150a0d --- /dev/null +++ b/old_docs/API_docs_v66/constructors/contacts.link.md @@ -0,0 +1,40 @@ +--- +title: contacts.link +description: Link +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.link +[Back to constructors index](index.md) + + + +Link + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|my\_link|[ContactLink](../types/ContactLink.md) | Yes|My link| +|foreign\_link|[ContactLink](../types/ContactLink.md) | Yes|Foreign link| +|user|[User](../types/User.md) | Optional|User| + + + +### Type: [contacts.Link](../types/contacts.Link.md) + + +### Example: + +```php +$contacts.link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User]; +``` + + +Or, if you're into Lua: + +```lua +contacts.link={_='contacts.link', my_link=ContactLink, foreign_link=ContactLink, user=User} + +``` + + diff --git a/old_docs/API_docs_v66/constructors/contacts.resolvedPeer.md b/old_docs/API_docs_v66/constructors/contacts.resolvedPeer.md new file mode 100644 index 00000000..35d88481 --- /dev/null +++ b/old_docs/API_docs_v66/constructors/contacts.resolvedPeer.md @@ -0,0 +1,40 @@ +--- +title: contacts.resolvedPeer +description: Resolved peer +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.resolvedPeer +[Back to constructors index](index.md) + + + +Resolved peer + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|peer|[Peer](../types/Peer.md) | Yes|The peer| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.ResolvedPeer](../types/contacts.ResolvedPeer.md) + + +### Example: + +```php +$contacts.resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.resolvedPeer={_='contacts.resolvedPeer', peer=Peer, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v66/constructors/contacts.topPeers.md b/old_docs/API_docs_v66/constructors/contacts.topPeers.md new file mode 100644 index 00000000..19d9c712 --- /dev/null +++ b/old_docs/API_docs_v66/constructors/contacts.topPeers.md @@ -0,0 +1,40 @@ +--- +title: contacts.topPeers +description: Top peers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.topPeers +[Back to constructors index](index.md) + + + +Top peers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|categories|Array of [TopPeerCategoryPeers](../types/TopPeerCategoryPeers.md) | Yes|Categories| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.TopPeers](../types/contacts.TopPeers.md) + + +### Example: + +```php +$contacts.topPeers = ['_' => 'contacts.topPeers', 'categories' => [TopPeerCategoryPeers, TopPeerCategoryPeers], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.topPeers={_='contacts.topPeers', categories={TopPeerCategoryPeers}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v66/constructors/contacts.topPeersNotModified.md b/old_docs/API_docs_v66/constructors/contacts.topPeersNotModified.md new file mode 100644 index 00000000..77c5eb4d --- /dev/null +++ b/old_docs/API_docs_v66/constructors/contacts.topPeersNotModified.md @@ -0,0 +1,33 @@ +--- +title: contacts.topPeersNotModified +description: Top peer info hasn't changed +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.topPeersNotModified +[Back to constructors index](index.md) + + + +Top peer info hasn't changed + + + + +### Type: [contacts.TopPeers](../types/contacts.TopPeers.md) + + +### Example: + +```php +$contacts.topPeersNotModified = ['_' => 'contacts.topPeersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +contacts.topPeersNotModified={_='contacts.topPeersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v66/constructors/contacts_blocked.md b/old_docs/API_docs_v66/constructors/contacts_blocked.md deleted file mode 100644 index 20e33002..00000000 --- a/old_docs/API_docs_v66/constructors/contacts_blocked.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: contacts.blocked -description: Full list of blocked users. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.blocked -[Back to constructors index](index.md) - - - -Full list of blocked users. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Blocked](../types/contacts_Blocked.md) - - -### Example: - -```php -$contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_blocked={_='contacts.blocked', blocked={ContactBlocked}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v66/constructors/contacts_blockedSlice.md b/old_docs/API_docs_v66/constructors/contacts_blockedSlice.md deleted file mode 100644 index fcab9a28..00000000 --- a/old_docs/API_docs_v66/constructors/contacts_blockedSlice.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.blockedSlice -description: Incomplete list of blocked users. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.blockedSlice -[Back to constructors index](index.md) - - - -Incomplete list of blocked users. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of elements in the list| -|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Blocked](../types/contacts_Blocked.md) - - -### Example: - -```php -$contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_blockedSlice={_='contacts.blockedSlice', count=int, blocked={ContactBlocked}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v66/constructors/contacts_contacts.md b/old_docs/API_docs_v66/constructors/contacts_contacts.md deleted file mode 100644 index f101b34b..00000000 --- a/old_docs/API_docs_v66/constructors/contacts_contacts.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: contacts.contacts -description: The current user's contact list and info on users. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.contacts -[Back to constructors index](index.md) - - - -The current user's contact list and info on users. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|contacts|Array of [Contact](../types/Contact.md) | Yes|Contacts| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Contacts](../types/contacts_Contacts.md) - - -### Example: - -```php -$contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact, Contact], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_contacts={_='contacts.contacts', contacts={Contact}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v66/constructors/contacts_contactsNotModified.md b/old_docs/API_docs_v66/constructors/contacts_contactsNotModified.md deleted file mode 100644 index 17e76ac3..00000000 --- a/old_docs/API_docs_v66/constructors/contacts_contactsNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: contacts.contactsNotModified -description: Contact list on the server is the same as the list on the client. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.contactsNotModified -[Back to constructors index](index.md) - - - -Contact list on the server is the same as the list on the client. - - - - -### Type: [contacts\_Contacts](../types/contacts_Contacts.md) - - -### Example: - -```php -$contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified']; -``` - - -Or, if you're into Lua: - -```lua -contacts_contactsNotModified={_='contacts.contactsNotModified'} - -``` - - diff --git a/old_docs/API_docs_v66/constructors/contacts_found.md b/old_docs/API_docs_v66/constructors/contacts_found.md deleted file mode 100644 index 0674aabf..00000000 --- a/old_docs/API_docs_v66/constructors/contacts_found.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.found -description: Users found by name substring and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.found -[Back to constructors index](index.md) - - - -Users found by name substring and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|results|Array of [Peer](../types/Peer.md) | Yes|Results| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Found](../types/contacts_Found.md) - - -### Example: - -```php -$contacts_found = ['_' => 'contacts.found', 'results' => [Peer, Peer], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_found={_='contacts.found', results={Peer}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v66/constructors/contacts_importedContacts.md b/old_docs/API_docs_v66/constructors/contacts_importedContacts.md deleted file mode 100644 index 121d96d1..00000000 --- a/old_docs/API_docs_v66/constructors/contacts_importedContacts.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.importedContacts -description: Info on succesfully imported contacts. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.importedContacts -[Back to constructors index](index.md) - - - -Info on succesfully imported contacts. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|imported|Array of [ImportedContact](../types/ImportedContact.md) | Yes|Imported| -|retry\_contacts|Array of [long](../types/long.md) | Yes|Retry importing contacts whose client IDs appear here| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) - - -### Example: - -```php -$contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact, ImportedContact], 'retry_contacts' => [long, long], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_importedContacts={_='contacts.importedContacts', imported={ImportedContact}, retry_contacts={long}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v66/constructors/contacts_link.md b/old_docs/API_docs_v66/constructors/contacts_link.md deleted file mode 100644 index cfc566c7..00000000 --- a/old_docs/API_docs_v66/constructors/contacts_link.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.link -description: Link -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.link -[Back to constructors index](index.md) - - - -Link - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|my\_link|[ContactLink](../types/ContactLink.md) | Yes|My link| -|foreign\_link|[ContactLink](../types/ContactLink.md) | Yes|Foreign link| -|user|[User](../types/User.md) | Optional|User| - - - -### Type: [contacts\_Link](../types/contacts_Link.md) - - -### Example: - -```php -$contacts_link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User]; -``` - - -Or, if you're into Lua: - -```lua -contacts_link={_='contacts.link', my_link=ContactLink, foreign_link=ContactLink, user=User} - -``` - - diff --git a/old_docs/API_docs_v66/constructors/contacts_resolvedPeer.md b/old_docs/API_docs_v66/constructors/contacts_resolvedPeer.md deleted file mode 100644 index aae3c7af..00000000 --- a/old_docs/API_docs_v66/constructors/contacts_resolvedPeer.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.resolvedPeer -description: Resolved peer -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.resolvedPeer -[Back to constructors index](index.md) - - - -Resolved peer - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|peer|[Peer](../types/Peer.md) | Yes|The peer| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_ResolvedPeer](../types/contacts_ResolvedPeer.md) - - -### Example: - -```php -$contacts_resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_resolvedPeer={_='contacts.resolvedPeer', peer=Peer, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v66/constructors/contacts_topPeers.md b/old_docs/API_docs_v66/constructors/contacts_topPeers.md deleted file mode 100644 index 77bc07d3..00000000 --- a/old_docs/API_docs_v66/constructors/contacts_topPeers.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.topPeers -description: Top peers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.topPeers -[Back to constructors index](index.md) - - - -Top peers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|categories|Array of [TopPeerCategoryPeers](../types/TopPeerCategoryPeers.md) | Yes|Categories| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_TopPeers](../types/contacts_TopPeers.md) - - -### Example: - -```php -$contacts_topPeers = ['_' => 'contacts.topPeers', 'categories' => [TopPeerCategoryPeers, TopPeerCategoryPeers], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_topPeers={_='contacts.topPeers', categories={TopPeerCategoryPeers}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v66/constructors/contacts_topPeersNotModified.md b/old_docs/API_docs_v66/constructors/contacts_topPeersNotModified.md deleted file mode 100644 index 43eae59d..00000000 --- a/old_docs/API_docs_v66/constructors/contacts_topPeersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: contacts.topPeersNotModified -description: Top peer info hasn't changed -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.topPeersNotModified -[Back to constructors index](index.md) - - - -Top peer info hasn't changed - - - - -### Type: [contacts\_TopPeers](../types/contacts_TopPeers.md) - - -### Example: - -```php -$contacts_topPeersNotModified = ['_' => 'contacts.topPeersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -contacts_topPeersNotModified={_='contacts.topPeersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v66/constructors/help.appUpdate.md b/old_docs/API_docs_v66/constructors/help.appUpdate.md new file mode 100644 index 00000000..14b2d75b --- /dev/null +++ b/old_docs/API_docs_v66/constructors/help.appUpdate.md @@ -0,0 +1,41 @@ +--- +title: help.appUpdate +description: An update is available for the application. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.appUpdate +[Back to constructors index](index.md) + + + +An update is available for the application. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|id|[int](../types/int.md) | Yes|Update ID| +|critical|[Bool](../types/Bool.md) | Yes|Critical?| +|url|[string](../types/string.md) | Yes|Application download URL| +|text|[string](../types/string.md) | Yes|Text description of the update| + + + +### Type: [help.AppUpdate](../types/help.AppUpdate.md) + + +### Example: + +```php +$help.appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'url' => 'string', 'text' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +help.appUpdate={_='help.appUpdate', id=int, critical=Bool, url='string', text='string'} + +``` + + diff --git a/old_docs/API_docs_v66/constructors/help.inviteText.md b/old_docs/API_docs_v66/constructors/help.inviteText.md new file mode 100644 index 00000000..6a6261c1 --- /dev/null +++ b/old_docs/API_docs_v66/constructors/help.inviteText.md @@ -0,0 +1,38 @@ +--- +title: help.inviteText +description: Text of a text message with an invitation to install application. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.inviteText +[Back to constructors index](index.md) + + + +Text of a text message with an invitation to install application. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|message|[string](../types/string.md) | Yes|Text of a message| + + + +### Type: [help.InviteText](../types/help.InviteText.md) + + +### Example: + +```php +$help.inviteText = ['_' => 'help.inviteText', 'message' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +help.inviteText={_='help.inviteText', message='string'} + +``` + + diff --git a/old_docs/API_docs_v66/constructors/help.noAppUpdate.md b/old_docs/API_docs_v66/constructors/help.noAppUpdate.md new file mode 100644 index 00000000..1b69ac9a --- /dev/null +++ b/old_docs/API_docs_v66/constructors/help.noAppUpdate.md @@ -0,0 +1,33 @@ +--- +title: help.noAppUpdate +description: No updates are available for the application. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.noAppUpdate +[Back to constructors index](index.md) + + + +No updates are available for the application. + + + + +### Type: [help.AppUpdate](../types/help.AppUpdate.md) + + +### Example: + +```php +$help.noAppUpdate = ['_' => 'help.noAppUpdate']; +``` + + +Or, if you're into Lua: + +```lua +help.noAppUpdate={_='help.noAppUpdate'} + +``` + + diff --git a/old_docs/API_docs_v66/constructors/help.support.md b/old_docs/API_docs_v66/constructors/help.support.md new file mode 100644 index 00000000..4d4f85fb --- /dev/null +++ b/old_docs/API_docs_v66/constructors/help.support.md @@ -0,0 +1,39 @@ +--- +title: help.support +description: Info on support user. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.support +[Back to constructors index](index.md) + + + +Info on support user. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_number|[string](../types/string.md) | Yes|Phone number| +|user|[User](../types/User.md) | Optional|User| + + + +### Type: [help.Support](../types/help.Support.md) + + +### Example: + +```php +$help.support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => User]; +``` + + +Or, if you're into Lua: + +```lua +help.support={_='help.support', phone_number='string', user=User} + +``` + + diff --git a/old_docs/API_docs_v66/constructors/help.termsOfService.md b/old_docs/API_docs_v66/constructors/help.termsOfService.md new file mode 100644 index 00000000..cab1f128 --- /dev/null +++ b/old_docs/API_docs_v66/constructors/help.termsOfService.md @@ -0,0 +1,38 @@ +--- +title: help.termsOfService +description: Info about the latest telegram Terms Of Service +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.termsOfService +[Back to constructors index](index.md) + + + +Info about the latest telegram Terms Of Service + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|text|[string](../types/string.md) | Yes|Text of the new terms| + + + +### Type: [help.TermsOfService](../types/help.TermsOfService.md) + + +### Example: + +```php +$help.termsOfService = ['_' => 'help.termsOfService', 'text' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +help.termsOfService={_='help.termsOfService', text='string'} + +``` + + diff --git a/old_docs/API_docs_v66/constructors/help_appUpdate.md b/old_docs/API_docs_v66/constructors/help_appUpdate.md deleted file mode 100644 index efba9bdb..00000000 --- a/old_docs/API_docs_v66/constructors/help_appUpdate.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: help.appUpdate -description: An update is available for the application. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.appUpdate -[Back to constructors index](index.md) - - - -An update is available for the application. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|id|[int](../types/int.md) | Yes|Update ID| -|critical|[Bool](../types/Bool.md) | Yes|Critical?| -|url|[string](../types/string.md) | Yes|Application download URL| -|text|[string](../types/string.md) | Yes|Text description of the update| - - - -### Type: [help\_AppUpdate](../types/help_AppUpdate.md) - - -### Example: - -```php -$help_appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'url' => 'string', 'text' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -help_appUpdate={_='help.appUpdate', id=int, critical=Bool, url='string', text='string'} - -``` - - diff --git a/old_docs/API_docs_v66/constructors/help_inviteText.md b/old_docs/API_docs_v66/constructors/help_inviteText.md deleted file mode 100644 index b8317ce3..00000000 --- a/old_docs/API_docs_v66/constructors/help_inviteText.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: help.inviteText -description: Text of a text message with an invitation to install application. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.inviteText -[Back to constructors index](index.md) - - - -Text of a text message with an invitation to install application. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|message|[string](../types/string.md) | Yes|Text of a message| - - - -### Type: [help\_InviteText](../types/help_InviteText.md) - - -### Example: - -```php -$help_inviteText = ['_' => 'help.inviteText', 'message' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -help_inviteText={_='help.inviteText', message='string'} - -``` - - diff --git a/old_docs/API_docs_v66/constructors/help_noAppUpdate.md b/old_docs/API_docs_v66/constructors/help_noAppUpdate.md deleted file mode 100644 index 51505e52..00000000 --- a/old_docs/API_docs_v66/constructors/help_noAppUpdate.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: help.noAppUpdate -description: No updates are available for the application. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.noAppUpdate -[Back to constructors index](index.md) - - - -No updates are available for the application. - - - - -### Type: [help\_AppUpdate](../types/help_AppUpdate.md) - - -### Example: - -```php -$help_noAppUpdate = ['_' => 'help.noAppUpdate']; -``` - - -Or, if you're into Lua: - -```lua -help_noAppUpdate={_='help.noAppUpdate'} - -``` - - diff --git a/old_docs/API_docs_v66/constructors/help_support.md b/old_docs/API_docs_v66/constructors/help_support.md deleted file mode 100644 index 148f7f42..00000000 --- a/old_docs/API_docs_v66/constructors/help_support.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: help.support -description: Info on support user. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.support -[Back to constructors index](index.md) - - - -Info on support user. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_number|[string](../types/string.md) | Yes|Phone number| -|user|[User](../types/User.md) | Optional|User| - - - -### Type: [help\_Support](../types/help_Support.md) - - -### Example: - -```php -$help_support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => User]; -``` - - -Or, if you're into Lua: - -```lua -help_support={_='help.support', phone_number='string', user=User} - -``` - - diff --git a/old_docs/API_docs_v66/constructors/help_termsOfService.md b/old_docs/API_docs_v66/constructors/help_termsOfService.md deleted file mode 100644 index 2ac763b3..00000000 --- a/old_docs/API_docs_v66/constructors/help_termsOfService.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: help.termsOfService -description: Info about the latest telegram Terms Of Service -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.termsOfService -[Back to constructors index](index.md) - - - -Info about the latest telegram Terms Of Service - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|text|[string](../types/string.md) | Yes|Text of the new terms| - - - -### Type: [help\_TermsOfService](../types/help_TermsOfService.md) - - -### Example: - -```php -$help_termsOfService = ['_' => 'help.termsOfService', 'text' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -help_termsOfService={_='help.termsOfService', text='string'} - -``` - - diff --git a/old_docs/API_docs_v66/constructors/messages.affectedHistory.md b/old_docs/API_docs_v66/constructors/messages.affectedHistory.md new file mode 100644 index 00000000..5fc8acec --- /dev/null +++ b/old_docs/API_docs_v66/constructors/messages.affectedHistory.md @@ -0,0 +1,40 @@ +--- +title: messages.affectedHistory +description: Affected part of communication history with the user or in a chat. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.affectedHistory +[Back to constructors index](index.md) + + + +Affected part of communication history with the user or in a chat. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| +|pts\_count|[int](../types/int.md) | Yes|Number of affected events| +|offset|[int](../types/int.md) | Yes|If a parameter contains positive value, it is necessary to repeat the method call using the given value; during the proceeding of all the history the value itself shall gradually decrease| + + + +### Type: [messages.AffectedHistory](../types/messages.AffectedHistory.md) + + +### Example: + +```php +$messages.affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.affectedHistory={_='messages.affectedHistory', pts=int, pts_count=int, offset=int} + +``` + + diff --git a/old_docs/API_docs_v66/constructors/messages.affectedMessages.md b/old_docs/API_docs_v66/constructors/messages.affectedMessages.md new file mode 100644 index 00000000..a0e60bdf --- /dev/null +++ b/old_docs/API_docs_v66/constructors/messages.affectedMessages.md @@ -0,0 +1,39 @@ +--- +title: messages.affectedMessages +description: Events affected by operation +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.affectedMessages +[Back to constructors index](index.md) + + + +Events affected by operation + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|[Event count after generation](https://core.telegram.org/api/updates)| +|pts\_count|[int](../types/int.md) | Yes|[Number of events that were generated](https://core.telegram.org/api/updates)| + + + +### Type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) + + +### Example: + +```php +$messages.affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.affectedMessages={_='messages.affectedMessages', pts=int, pts_count=int} + +``` + + diff --git a/old_docs/API_docs_v66/constructors/messages.allStickers.md b/old_docs/API_docs_v66/constructors/messages.allStickers.md new file mode 100644 index 00000000..5f13bfde --- /dev/null +++ b/old_docs/API_docs_v66/constructors/messages.allStickers.md @@ -0,0 +1,39 @@ +--- +title: messages.allStickers +description: Info about all installed stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.allStickers +[Back to constructors index](index.md) + + + +Info about all installed stickers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|sets|Array of [StickerSet](../types/StickerSet.md) | Yes|Sets| + + + +### Type: [messages.AllStickers](../types/messages.AllStickers.md) + + +### Example: + +```php +$messages.allStickers = ['_' => 'messages.allStickers', 'hash' => int, 'sets' => [StickerSet, StickerSet]]; +``` + + +Or, if you're into Lua: + +```lua +messages.allStickers={_='messages.allStickers', hash=int, sets={StickerSet}} + +``` + + diff --git a/old_docs/API_docs_v66/constructors/messages.allStickersNotModified.md b/old_docs/API_docs_v66/constructors/messages.allStickersNotModified.md new file mode 100644 index 00000000..d3db088b --- /dev/null +++ b/old_docs/API_docs_v66/constructors/messages.allStickersNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.allStickersNotModified +description: Info about all installed stickers hasn't changed +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.allStickersNotModified +[Back to constructors index](index.md) + + + +Info about all installed stickers hasn't changed + + + + +### Type: [messages.AllStickers](../types/messages.AllStickers.md) + + +### Example: + +```php +$messages.allStickersNotModified = ['_' => 'messages.allStickersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.allStickersNotModified={_='messages.allStickersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v66/constructors/messages.archivedStickers.md b/old_docs/API_docs_v66/constructors/messages.archivedStickers.md new file mode 100644 index 00000000..6ad9927c --- /dev/null +++ b/old_docs/API_docs_v66/constructors/messages.archivedStickers.md @@ -0,0 +1,39 @@ +--- +title: messages.archivedStickers +description: Archived stickersets +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.archivedStickers +[Back to constructors index](index.md) + + + +Archived stickersets + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Number of archived stickers| +|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| + + + +### Type: [messages.ArchivedStickers](../types/messages.ArchivedStickers.md) + + +### Example: + +```php +$messages.archivedStickers = ['_' => 'messages.archivedStickers', 'count' => int, 'sets' => [StickerSetCovered, StickerSetCovered]]; +``` + + +Or, if you're into Lua: + +```lua +messages.archivedStickers={_='messages.archivedStickers', count=int, sets={StickerSetCovered}} + +``` + + diff --git a/old_docs/API_docs_v66/constructors/messages.botCallbackAnswer.md b/old_docs/API_docs_v66/constructors/messages.botCallbackAnswer.md new file mode 100644 index 00000000..d4d00420 --- /dev/null +++ b/old_docs/API_docs_v66/constructors/messages.botCallbackAnswer.md @@ -0,0 +1,42 @@ +--- +title: messages.botCallbackAnswer +description: Callback answer sent by the bot in response to a button press +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.botCallbackAnswer +[Back to constructors index](index.md) + + + +Callback answer sent by the bot in response to a button press + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|alert|[Bool](../types/Bool.md) | Optional|Whether an alert should be shown to the user instead of a toast notification| +|has\_url|[Bool](../types/Bool.md) | Optional|Whether an URL is present| +|message|[string](../types/string.md) | Optional|Alert to show| +|url|[string](../types/string.md) | Optional|URL to open| +|cache\_time|[int](../types/int.md) | Yes|For how long should this answer be cached| + + + +### Type: [messages.BotCallbackAnswer](../types/messages.BotCallbackAnswer.md) + + +### Example: + +```php +$messages.botCallbackAnswer = ['_' => 'messages.botCallbackAnswer', 'alert' => Bool, 'has_url' => Bool, 'message' => 'string', 'url' => 'string', 'cache_time' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.botCallbackAnswer={_='messages.botCallbackAnswer', alert=Bool, has_url=Bool, message='string', url='string', cache_time=int} + +``` + + diff --git a/old_docs/API_docs_v66/constructors/messages.botResults.md b/old_docs/API_docs_v66/constructors/messages.botResults.md new file mode 100644 index 00000000..785c7260 --- /dev/null +++ b/old_docs/API_docs_v66/constructors/messages.botResults.md @@ -0,0 +1,43 @@ +--- +title: messages.botResults +description: Result of a query to an inline bot +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.botResults +[Back to constructors index](index.md) + + + +Result of a query to an inline bot + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|gallery|[Bool](../types/Bool.md) | Optional|Whether the result is a picture gallery| +|query\_id|[long](../types/long.md) | Yes|Query ID| +|next\_offset|[string](../types/string.md) | Optional|The next offset to use when navigating through results| +|switch\_pm|[InlineBotSwitchPM](../types/InlineBotSwitchPM.md) | Optional|Whether the bot requested the user to message him in private| +|results|Array of [BotInlineResult](../types/BotInlineResult.md) | Yes|Results| +|cache\_time|[int](../types/int.md) | Yes|Caching validity of the results| + + + +### Type: [messages.BotResults](../types/messages.BotResults.md) + + +### Example: + +```php +$messages.botResults = ['_' => 'messages.botResults', 'gallery' => Bool, 'query_id' => long, 'next_offset' => 'string', 'switch_pm' => InlineBotSwitchPM, 'results' => [BotInlineResult, BotInlineResult], 'cache_time' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.botResults={_='messages.botResults', gallery=Bool, query_id=long, next_offset='string', switch_pm=InlineBotSwitchPM, results={BotInlineResult}, cache_time=int} + +``` + + diff --git a/old_docs/API_docs_v66/constructors/messages.channelMessages.md b/old_docs/API_docs_v66/constructors/messages.channelMessages.md new file mode 100644 index 00000000..95633336 --- /dev/null +++ b/old_docs/API_docs_v66/constructors/messages.channelMessages.md @@ -0,0 +1,42 @@ +--- +title: messages.channelMessages +description: Channel messages +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.channelMessages +[Back to constructors index](index.md) + + + +Channel messages + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|[Event count after generation](https://core.telegram.org/api/updates)| +|count|[int](../types/int.md) | Yes|Total number of results were found server-side (may not be all included here)| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Messages](../types/messages.Messages.md) + + +### Example: + +```php +$messages.channelMessages = ['_' => 'messages.channelMessages', 'pts' => int, 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.channelMessages={_='messages.channelMessages', pts=int, count=int, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v66/constructors/messages.chatFull.md b/old_docs/API_docs_v66/constructors/messages.chatFull.md new file mode 100644 index 00000000..3906cc54 --- /dev/null +++ b/old_docs/API_docs_v66/constructors/messages.chatFull.md @@ -0,0 +1,40 @@ +--- +title: messages.chatFull +description: Extended info on chat and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.chatFull +[Back to constructors index](index.md) + + + +Extended info on chat and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|full\_chat|[ChatFull](../types/ChatFull.md) | Yes|Extended info on a chat| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.ChatFull](../types/messages.ChatFull.md) + + +### Example: + +```php +$messages.chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.chatFull={_='messages.chatFull', full_chat=ChatFull, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v66/constructors/messages.chats.md b/old_docs/API_docs_v66/constructors/messages.chats.md new file mode 100644 index 00000000..9ede9ff2 --- /dev/null +++ b/old_docs/API_docs_v66/constructors/messages.chats.md @@ -0,0 +1,38 @@ +--- +title: messages.chats +description: List of chats with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.chats +[Back to constructors index](index.md) + + + +List of chats with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| + + + +### Type: [messages.Chats](../types/messages.Chats.md) + + +### Example: + +```php +$messages.chats = ['_' => 'messages.chats', 'chats' => [Chat, Chat]]; +``` + + +Or, if you're into Lua: + +```lua +messages.chats={_='messages.chats', chats={Chat}} + +``` + + diff --git a/old_docs/API_docs_v66/constructors/messages.chatsSlice.md b/old_docs/API_docs_v66/constructors/messages.chatsSlice.md new file mode 100644 index 00000000..efd153e0 --- /dev/null +++ b/old_docs/API_docs_v66/constructors/messages.chatsSlice.md @@ -0,0 +1,39 @@ +--- +title: messages.chatsSlice +description: Partial list of chats, more would have to be fetched with [pagination](https://core.telegram.org/api/offsets) +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.chatsSlice +[Back to constructors index](index.md) + + + +Partial list of chats, more would have to be fetched with [pagination](https://core.telegram.org/api/offsets) + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of results that were found server-side (not all are included in `chats`)| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| + + + +### Type: [messages.Chats](../types/messages.Chats.md) + + +### Example: + +```php +$messages.chatsSlice = ['_' => 'messages.chatsSlice', 'count' => int, 'chats' => [Chat, Chat]]; +``` + + +Or, if you're into Lua: + +```lua +messages.chatsSlice={_='messages.chatsSlice', count=int, chats={Chat}} + +``` + + diff --git a/old_docs/API_docs_v66/constructors/messages.dhConfig.md b/old_docs/API_docs_v66/constructors/messages.dhConfig.md new file mode 100644 index 00000000..58344f64 --- /dev/null +++ b/old_docs/API_docs_v66/constructors/messages.dhConfig.md @@ -0,0 +1,41 @@ +--- +title: messages.dhConfig +description: New set of configuring parameters. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dhConfig +[Back to constructors index](index.md) + + + +New set of configuring parameters. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|g|[int](../types/int.md) | Yes|New value **prime**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| +|p|[bytes](../types/bytes.md) | Yes|New value **primitive root**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| +|version|[int](../types/int.md) | Yes|Vestion of set of parameters| +|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| + + + +### Type: [messages.DhConfig](../types/messages.DhConfig.md) + + +### Example: + +```php +$messages.dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'version' => int, 'random' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +messages.dhConfig={_='messages.dhConfig', g=int, p='bytes', version=int, random='bytes'} + +``` + + diff --git a/old_docs/API_docs_v66/constructors/messages.dhConfigNotModified.md b/old_docs/API_docs_v66/constructors/messages.dhConfigNotModified.md new file mode 100644 index 00000000..a9a95389 --- /dev/null +++ b/old_docs/API_docs_v66/constructors/messages.dhConfigNotModified.md @@ -0,0 +1,38 @@ +--- +title: messages.dhConfigNotModified +description: Configuring parameters did not change. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dhConfigNotModified +[Back to constructors index](index.md) + + + +Configuring parameters did not change. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| + + + +### Type: [messages.DhConfig](../types/messages.DhConfig.md) + + +### Example: + +```php +$messages.dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +messages.dhConfigNotModified={_='messages.dhConfigNotModified', random='bytes'} + +``` + + diff --git a/old_docs/API_docs_v66/constructors/messages.dialogs.md b/old_docs/API_docs_v66/constructors/messages.dialogs.md new file mode 100644 index 00000000..a72eabce --- /dev/null +++ b/old_docs/API_docs_v66/constructors/messages.dialogs.md @@ -0,0 +1,41 @@ +--- +title: messages.dialogs +description: Full list of chats with messages and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dialogs +[Back to constructors index](index.md) + + + +Full list of chats with messages and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Dialogs](../types/messages.Dialogs.md) + + +### Example: + +```php +$messages.dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.dialogs={_='messages.dialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v66/constructors/messages.dialogsSlice.md b/old_docs/API_docs_v66/constructors/messages.dialogsSlice.md new file mode 100644 index 00000000..26227d2c --- /dev/null +++ b/old_docs/API_docs_v66/constructors/messages.dialogsSlice.md @@ -0,0 +1,42 @@ +--- +title: messages.dialogsSlice +description: Incomplete list of dialogs with messages and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dialogsSlice +[Back to constructors index](index.md) + + + +Incomplete list of dialogs with messages and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of dialogs| +|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Dialogs](../types/messages.Dialogs.md) + + +### Example: + +```php +$messages.dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.dialogsSlice={_='messages.dialogsSlice', count=int, dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v66/constructors/messages.featuredStickers.md b/old_docs/API_docs_v66/constructors/messages.featuredStickers.md new file mode 100644 index 00000000..344376ea --- /dev/null +++ b/old_docs/API_docs_v66/constructors/messages.featuredStickers.md @@ -0,0 +1,40 @@ +--- +title: messages.featuredStickers +description: Featured stickersets +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.featuredStickers +[Back to constructors index](index.md) + + + +Featured stickersets + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| +|unread|Array of [long](../types/long.md) | Yes|Unread| + + + +### Type: [messages.FeaturedStickers](../types/messages.FeaturedStickers.md) + + +### Example: + +```php +$messages.featuredStickers = ['_' => 'messages.featuredStickers', 'hash' => int, 'sets' => [StickerSetCovered, StickerSetCovered], 'unread' => [long, long]]; +``` + + +Or, if you're into Lua: + +```lua +messages.featuredStickers={_='messages.featuredStickers', hash=int, sets={StickerSetCovered}, unread={long}} + +``` + + diff --git a/old_docs/API_docs_v66/constructors/messages.featuredStickersNotModified.md b/old_docs/API_docs_v66/constructors/messages.featuredStickersNotModified.md new file mode 100644 index 00000000..0fe9b4d5 --- /dev/null +++ b/old_docs/API_docs_v66/constructors/messages.featuredStickersNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.featuredStickersNotModified +description: Featured stickers haven't changed +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.featuredStickersNotModified +[Back to constructors index](index.md) + + + +Featured stickers haven't changed + + + + +### Type: [messages.FeaturedStickers](../types/messages.FeaturedStickers.md) + + +### Example: + +```php +$messages.featuredStickersNotModified = ['_' => 'messages.featuredStickersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.featuredStickersNotModified={_='messages.featuredStickersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v66/constructors/messages.foundGifs.md b/old_docs/API_docs_v66/constructors/messages.foundGifs.md new file mode 100644 index 00000000..c75e36f9 --- /dev/null +++ b/old_docs/API_docs_v66/constructors/messages.foundGifs.md @@ -0,0 +1,39 @@ +--- +title: messages.foundGifs +description: Found GIFs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.foundGifs +[Back to constructors index](index.md) + + + +Found GIFs + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|next\_offset|[int](../types/int.md) | Yes|Next offset to use when trying to [load more results](../methods/messages.searchGifs.md)| +|results|Array of [FoundGif](../types/FoundGif.md) | Yes|Results| + + + +### Type: [messages.FoundGifs](../types/messages.FoundGifs.md) + + +### Example: + +```php +$messages.foundGifs = ['_' => 'messages.foundGifs', 'next_offset' => int, 'results' => [FoundGif, FoundGif]]; +``` + + +Or, if you're into Lua: + +```lua +messages.foundGifs={_='messages.foundGifs', next_offset=int, results={FoundGif}} + +``` + + diff --git a/old_docs/API_docs_v66/constructors/messages.highScores.md b/old_docs/API_docs_v66/constructors/messages.highScores.md new file mode 100644 index 00000000..d7d25826 --- /dev/null +++ b/old_docs/API_docs_v66/constructors/messages.highScores.md @@ -0,0 +1,39 @@ +--- +title: messages.highScores +description: Highscores in a game +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.highScores +[Back to constructors index](index.md) + + + +Highscores in a game + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|scores|Array of [HighScore](../types/HighScore.md) | Yes|Scores| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.HighScores](../types/messages.HighScores.md) + + +### Example: + +```php +$messages.highScores = ['_' => 'messages.highScores', 'scores' => [HighScore, HighScore], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.highScores={_='messages.highScores', scores={HighScore}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v66/constructors/messages.messageEditData.md b/old_docs/API_docs_v66/constructors/messages.messageEditData.md new file mode 100644 index 00000000..578b53d9 --- /dev/null +++ b/old_docs/API_docs_v66/constructors/messages.messageEditData.md @@ -0,0 +1,38 @@ +--- +title: messages.messageEditData +description: Message edit data for media +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.messageEditData +[Back to constructors index](index.md) + + + +Message edit data for media + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|caption|[Bool](../types/Bool.md) | Optional|Media caption, if the specified media's caption can be edited| + + + +### Type: [messages.MessageEditData](../types/messages.MessageEditData.md) + + +### Example: + +```php +$messages.messageEditData = ['_' => 'messages.messageEditData', 'caption' => Bool]; +``` + + +Or, if you're into Lua: + +```lua +messages.messageEditData={_='messages.messageEditData', caption=Bool} + +``` + + diff --git a/old_docs/API_docs_v66/constructors/messages.messages.md b/old_docs/API_docs_v66/constructors/messages.messages.md new file mode 100644 index 00000000..3af71dca --- /dev/null +++ b/old_docs/API_docs_v66/constructors/messages.messages.md @@ -0,0 +1,40 @@ +--- +title: messages.messages +description: Full list of messages with auxilary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.messages +[Back to constructors index](index.md) + + + +Full list of messages with auxilary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Messages](../types/messages.Messages.md) + + +### Example: + +```php +$messages.messages = ['_' => 'messages.messages', 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.messages={_='messages.messages', messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v66/constructors/messages.messagesSlice.md b/old_docs/API_docs_v66/constructors/messages.messagesSlice.md new file mode 100644 index 00000000..2fe91df0 --- /dev/null +++ b/old_docs/API_docs_v66/constructors/messages.messagesSlice.md @@ -0,0 +1,41 @@ +--- +title: messages.messagesSlice +description: Incomplete list of messages and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.messagesSlice +[Back to constructors index](index.md) + + + +Incomplete list of messages and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of messages in the list| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Messages](../types/messages.Messages.md) + + +### Example: + +```php +$messages.messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.messagesSlice={_='messages.messagesSlice', count=int, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v66/constructors/messages.peerDialogs.md b/old_docs/API_docs_v66/constructors/messages.peerDialogs.md new file mode 100644 index 00000000..39cb71f8 --- /dev/null +++ b/old_docs/API_docs_v66/constructors/messages.peerDialogs.md @@ -0,0 +1,42 @@ +--- +title: messages.peerDialogs +description: Dialog info of multiple peers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.peerDialogs +[Back to constructors index](index.md) + + + +Dialog info of multiple peers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| +|state|[updates.State](../constructors/updates.State.md) | Yes|Current [update state of dialog](https://core.telegram.org/api/updates)| + + + +### Type: [messages.PeerDialogs](../types/messages.PeerDialogs.md) + + +### Example: + +```php +$messages.peerDialogs = ['_' => 'messages.peerDialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates.State]; +``` + + +Or, if you're into Lua: + +```lua +messages.peerDialogs={_='messages.peerDialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}, state=updates.State} + +``` + + diff --git a/old_docs/API_docs_v66/constructors/messages.recentStickers.md b/old_docs/API_docs_v66/constructors/messages.recentStickers.md new file mode 100644 index 00000000..c5c3b389 --- /dev/null +++ b/old_docs/API_docs_v66/constructors/messages.recentStickers.md @@ -0,0 +1,39 @@ +--- +title: messages.recentStickers +description: Recently used stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.recentStickers +[Back to constructors index](index.md) + + + +Recently used stickers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| + + + +### Type: [messages.RecentStickers](../types/messages.RecentStickers.md) + + +### Example: + +```php +$messages.recentStickers = ['_' => 'messages.recentStickers', 'hash' => int, 'stickers' => [Document, Document]]; +``` + + +Or, if you're into Lua: + +```lua +messages.recentStickers={_='messages.recentStickers', hash=int, stickers={Document}} + +``` + + diff --git a/old_docs/API_docs_v66/constructors/messages.recentStickersNotModified.md b/old_docs/API_docs_v66/constructors/messages.recentStickersNotModified.md new file mode 100644 index 00000000..1c3bbf5c --- /dev/null +++ b/old_docs/API_docs_v66/constructors/messages.recentStickersNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.recentStickersNotModified +description: No new recent sticker was found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.recentStickersNotModified +[Back to constructors index](index.md) + + + +No new recent sticker was found + + + + +### Type: [messages.RecentStickers](../types/messages.RecentStickers.md) + + +### Example: + +```php +$messages.recentStickersNotModified = ['_' => 'messages.recentStickersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.recentStickersNotModified={_='messages.recentStickersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v66/constructors/messages.savedGifs.md b/old_docs/API_docs_v66/constructors/messages.savedGifs.md new file mode 100644 index 00000000..c82929a3 --- /dev/null +++ b/old_docs/API_docs_v66/constructors/messages.savedGifs.md @@ -0,0 +1,39 @@ +--- +title: messages.savedGifs +description: Saved gifs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.savedGifs +[Back to constructors index](index.md) + + + +Saved gifs + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|gifs|Array of [Document](../types/Document.md) | Yes|Gifs| + + + +### Type: [messages.SavedGifs](../types/messages.SavedGifs.md) + + +### Example: + +```php +$messages.savedGifs = ['_' => 'messages.savedGifs', 'hash' => int, 'gifs' => [Document, Document]]; +``` + + +Or, if you're into Lua: + +```lua +messages.savedGifs={_='messages.savedGifs', hash=int, gifs={Document}} + +``` + + diff --git a/old_docs/API_docs_v66/constructors/messages.savedGifsNotModified.md b/old_docs/API_docs_v66/constructors/messages.savedGifsNotModified.md new file mode 100644 index 00000000..0fbccacc --- /dev/null +++ b/old_docs/API_docs_v66/constructors/messages.savedGifsNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.savedGifsNotModified +description: No new saved gifs were found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.savedGifsNotModified +[Back to constructors index](index.md) + + + +No new saved gifs were found + + + + +### Type: [messages.SavedGifs](../types/messages.SavedGifs.md) + + +### Example: + +```php +$messages.savedGifsNotModified = ['_' => 'messages.savedGifsNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.savedGifsNotModified={_='messages.savedGifsNotModified'} + +``` + + diff --git a/old_docs/API_docs_v66/constructors/messages.sentEncryptedFile.md b/old_docs/API_docs_v66/constructors/messages.sentEncryptedFile.md new file mode 100644 index 00000000..1f0e43c6 --- /dev/null +++ b/old_docs/API_docs_v66/constructors/messages.sentEncryptedFile.md @@ -0,0 +1,39 @@ +--- +title: messages.sentEncryptedFile +description: Message with a file enclosure sent to a protected chat +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.sentEncryptedFile +[Back to constructors index](index.md) + + + +Message with a file enclosure sent to a protected chat + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Sending date| +|file|[EncryptedFile](../types/EncryptedFile.md) | Optional|Attached file| + + + +### Type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) + + +### Example: + +```php +$messages.sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile]; +``` + + +Or, if you're into Lua: + +```lua +messages.sentEncryptedFile={_='messages.sentEncryptedFile', date=int, file=EncryptedFile} + +``` + + diff --git a/old_docs/API_docs_v66/constructors/messages.sentEncryptedMessage.md b/old_docs/API_docs_v66/constructors/messages.sentEncryptedMessage.md new file mode 100644 index 00000000..3d5eb40c --- /dev/null +++ b/old_docs/API_docs_v66/constructors/messages.sentEncryptedMessage.md @@ -0,0 +1,38 @@ +--- +title: messages.sentEncryptedMessage +description: Message without file attachemts sent to an encrypted file. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.sentEncryptedMessage +[Back to constructors index](index.md) + + + +Message without file attachemts sent to an encrypted file. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Date of sending| + + + +### Type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) + + +### Example: + +```php +$messages.sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.sentEncryptedMessage={_='messages.sentEncryptedMessage', date=int} + +``` + + diff --git a/old_docs/API_docs_v66/constructors/messages.stickerSet.md b/old_docs/API_docs_v66/constructors/messages.stickerSet.md new file mode 100644 index 00000000..fbc154d0 --- /dev/null +++ b/old_docs/API_docs_v66/constructors/messages.stickerSet.md @@ -0,0 +1,40 @@ +--- +title: messages.stickerSet +description: Stickerset and stickers inside it +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickerSet +[Back to constructors index](index.md) + + + +Stickerset and stickers inside it + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|set|[StickerSet](../types/StickerSet.md) | Yes|The stickerset| +|packs|Array of [StickerPack](../types/StickerPack.md) | Yes|Packs| +|documents|Array of [Document](../types/Document.md) | Yes|Documents| + + + +### Type: [messages.StickerSet](../types/messages.StickerSet.md) + + +### Example: + +```php +$messages.stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'packs' => [StickerPack, StickerPack], 'documents' => [Document, Document]]; +``` + + +Or, if you're into Lua: + +```lua +messages.stickerSet={_='messages.stickerSet', set=StickerSet, packs={StickerPack}, documents={Document}} + +``` + + diff --git a/old_docs/API_docs_v66/constructors/messages.stickerSetInstallResultArchive.md b/old_docs/API_docs_v66/constructors/messages.stickerSetInstallResultArchive.md new file mode 100644 index 00000000..fefe2270 --- /dev/null +++ b/old_docs/API_docs_v66/constructors/messages.stickerSetInstallResultArchive.md @@ -0,0 +1,38 @@ +--- +title: messages.stickerSetInstallResultArchive +description: The stickerset was installed, but since there are too many stickersets some were archived +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickerSetInstallResultArchive +[Back to constructors index](index.md) + + + +The stickerset was installed, but since there are too many stickersets some were archived + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| + + + +### Type: [messages.StickerSetInstallResult](../types/messages.StickerSetInstallResult.md) + + +### Example: + +```php +$messages.stickerSetInstallResultArchive = ['_' => 'messages.stickerSetInstallResultArchive', 'sets' => [StickerSetCovered, StickerSetCovered]]; +``` + + +Or, if you're into Lua: + +```lua +messages.stickerSetInstallResultArchive={_='messages.stickerSetInstallResultArchive', sets={StickerSetCovered}} + +``` + + diff --git a/old_docs/API_docs_v66/constructors/messages.stickerSetInstallResultSuccess.md b/old_docs/API_docs_v66/constructors/messages.stickerSetInstallResultSuccess.md new file mode 100644 index 00000000..bbe8b961 --- /dev/null +++ b/old_docs/API_docs_v66/constructors/messages.stickerSetInstallResultSuccess.md @@ -0,0 +1,33 @@ +--- +title: messages.stickerSetInstallResultSuccess +description: The stickerset was installed successfully +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickerSetInstallResultSuccess +[Back to constructors index](index.md) + + + +The stickerset was installed successfully + + + + +### Type: [messages.StickerSetInstallResult](../types/messages.StickerSetInstallResult.md) + + +### Example: + +```php +$messages.stickerSetInstallResultSuccess = ['_' => 'messages.stickerSetInstallResultSuccess']; +``` + + +Or, if you're into Lua: + +```lua +messages.stickerSetInstallResultSuccess={_='messages.stickerSetInstallResultSuccess'} + +``` + + diff --git a/old_docs/API_docs_v66/constructors/messages.stickers.md b/old_docs/API_docs_v66/constructors/messages.stickers.md new file mode 100644 index 00000000..310b64b0 --- /dev/null +++ b/old_docs/API_docs_v66/constructors/messages.stickers.md @@ -0,0 +1,39 @@ +--- +title: messages.stickers +description: Found stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickers +[Back to constructors index](index.md) + + + +Found stickers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[string](../types/string.md) | Yes|Hash| +|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| + + + +### Type: [messages.Stickers](../types/messages.Stickers.md) + + +### Example: + +```php +$messages.stickers = ['_' => 'messages.stickers', 'hash' => 'string', 'stickers' => [Document, Document]]; +``` + + +Or, if you're into Lua: + +```lua +messages.stickers={_='messages.stickers', hash='string', stickers={Document}} + +``` + + diff --git a/old_docs/API_docs_v66/constructors/messages.stickersNotModified.md b/old_docs/API_docs_v66/constructors/messages.stickersNotModified.md new file mode 100644 index 00000000..e8c7766c --- /dev/null +++ b/old_docs/API_docs_v66/constructors/messages.stickersNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.stickersNotModified +description: No new stickers were found for the given query +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickersNotModified +[Back to constructors index](index.md) + + + +No new stickers were found for the given query + + + + +### Type: [messages.Stickers](../types/messages.Stickers.md) + + +### Example: + +```php +$messages.stickersNotModified = ['_' => 'messages.stickersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.stickersNotModified={_='messages.stickersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v66/constructors/messages_affectedHistory.md b/old_docs/API_docs_v66/constructors/messages_affectedHistory.md deleted file mode 100644 index 449a7e3f..00000000 --- a/old_docs/API_docs_v66/constructors/messages_affectedHistory.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.affectedHistory -description: Affected part of communication history with the user or in a chat. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.affectedHistory -[Back to constructors index](index.md) - - - -Affected part of communication history with the user or in a chat. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| -|pts\_count|[int](../types/int.md) | Yes|Number of affected events| -|offset|[int](../types/int.md) | Yes|If a parameter contains positive value, it is necessary to repeat the method call using the given value; during the proceeding of all the history the value itself shall gradually decrease| - - - -### Type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) - - -### Example: - -```php -$messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_affectedHistory={_='messages.affectedHistory', pts=int, pts_count=int, offset=int} - -``` - - diff --git a/old_docs/API_docs_v66/constructors/messages_affectedMessages.md b/old_docs/API_docs_v66/constructors/messages_affectedMessages.md deleted file mode 100644 index 86760581..00000000 --- a/old_docs/API_docs_v66/constructors/messages_affectedMessages.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.affectedMessages -description: Events affected by operation -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.affectedMessages -[Back to constructors index](index.md) - - - -Events affected by operation - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|[Event count after generation](https://core.telegram.org/api/updates)| -|pts\_count|[int](../types/int.md) | Yes|[Number of events that were generated](https://core.telegram.org/api/updates)| - - - -### Type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) - - -### Example: - -```php -$messages_affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_affectedMessages={_='messages.affectedMessages', pts=int, pts_count=int} - -``` - - diff --git a/old_docs/API_docs_v66/constructors/messages_allStickers.md b/old_docs/API_docs_v66/constructors/messages_allStickers.md deleted file mode 100644 index 2e64f46e..00000000 --- a/old_docs/API_docs_v66/constructors/messages_allStickers.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.allStickers -description: Info about all installed stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.allStickers -[Back to constructors index](index.md) - - - -Info about all installed stickers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|sets|Array of [StickerSet](../types/StickerSet.md) | Yes|Sets| - - - -### Type: [messages\_AllStickers](../types/messages_AllStickers.md) - - -### Example: - -```php -$messages_allStickers = ['_' => 'messages.allStickers', 'hash' => int, 'sets' => [StickerSet, StickerSet]]; -``` - - -Or, if you're into Lua: - -```lua -messages_allStickers={_='messages.allStickers', hash=int, sets={StickerSet}} - -``` - - diff --git a/old_docs/API_docs_v66/constructors/messages_allStickersNotModified.md b/old_docs/API_docs_v66/constructors/messages_allStickersNotModified.md deleted file mode 100644 index c4da85ab..00000000 --- a/old_docs/API_docs_v66/constructors/messages_allStickersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.allStickersNotModified -description: Info about all installed stickers hasn't changed -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.allStickersNotModified -[Back to constructors index](index.md) - - - -Info about all installed stickers hasn't changed - - - - -### Type: [messages\_AllStickers](../types/messages_AllStickers.md) - - -### Example: - -```php -$messages_allStickersNotModified = ['_' => 'messages.allStickersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_allStickersNotModified={_='messages.allStickersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v66/constructors/messages_archivedStickers.md b/old_docs/API_docs_v66/constructors/messages_archivedStickers.md deleted file mode 100644 index 6b28c885..00000000 --- a/old_docs/API_docs_v66/constructors/messages_archivedStickers.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.archivedStickers -description: Archived stickersets -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.archivedStickers -[Back to constructors index](index.md) - - - -Archived stickersets - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Number of archived stickers| -|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| - - - -### Type: [messages\_ArchivedStickers](../types/messages_ArchivedStickers.md) - - -### Example: - -```php -$messages_archivedStickers = ['_' => 'messages.archivedStickers', 'count' => int, 'sets' => [StickerSetCovered, StickerSetCovered]]; -``` - - -Or, if you're into Lua: - -```lua -messages_archivedStickers={_='messages.archivedStickers', count=int, sets={StickerSetCovered}} - -``` - - diff --git a/old_docs/API_docs_v66/constructors/messages_botCallbackAnswer.md b/old_docs/API_docs_v66/constructors/messages_botCallbackAnswer.md deleted file mode 100644 index df8c3185..00000000 --- a/old_docs/API_docs_v66/constructors/messages_botCallbackAnswer.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: messages.botCallbackAnswer -description: Callback answer sent by the bot in response to a button press -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.botCallbackAnswer -[Back to constructors index](index.md) - - - -Callback answer sent by the bot in response to a button press - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|alert|[Bool](../types/Bool.md) | Optional|Whether an alert should be shown to the user instead of a toast notification| -|has\_url|[Bool](../types/Bool.md) | Optional|Whether an URL is present| -|message|[string](../types/string.md) | Optional|Alert to show| -|url|[string](../types/string.md) | Optional|URL to open| -|cache\_time|[int](../types/int.md) | Yes|For how long should this answer be cached| - - - -### Type: [messages\_BotCallbackAnswer](../types/messages_BotCallbackAnswer.md) - - -### Example: - -```php -$messages_botCallbackAnswer = ['_' => 'messages.botCallbackAnswer', 'alert' => Bool, 'has_url' => Bool, 'message' => 'string', 'url' => 'string', 'cache_time' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_botCallbackAnswer={_='messages.botCallbackAnswer', alert=Bool, has_url=Bool, message='string', url='string', cache_time=int} - -``` - - diff --git a/old_docs/API_docs_v66/constructors/messages_botResults.md b/old_docs/API_docs_v66/constructors/messages_botResults.md deleted file mode 100644 index 77b14e35..00000000 --- a/old_docs/API_docs_v66/constructors/messages_botResults.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: messages.botResults -description: Result of a query to an inline bot -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.botResults -[Back to constructors index](index.md) - - - -Result of a query to an inline bot - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|gallery|[Bool](../types/Bool.md) | Optional|Whether the result is a picture gallery| -|query\_id|[long](../types/long.md) | Yes|Query ID| -|next\_offset|[string](../types/string.md) | Optional|The next offset to use when navigating through results| -|switch\_pm|[InlineBotSwitchPM](../types/InlineBotSwitchPM.md) | Optional|Whether the bot requested the user to message him in private| -|results|Array of [BotInlineResult](../types/BotInlineResult.md) | Yes|Results| -|cache\_time|[int](../types/int.md) | Yes|Caching validity of the results| - - - -### Type: [messages\_BotResults](../types/messages_BotResults.md) - - -### Example: - -```php -$messages_botResults = ['_' => 'messages.botResults', 'gallery' => Bool, 'query_id' => long, 'next_offset' => 'string', 'switch_pm' => InlineBotSwitchPM, 'results' => [BotInlineResult, BotInlineResult], 'cache_time' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_botResults={_='messages.botResults', gallery=Bool, query_id=long, next_offset='string', switch_pm=InlineBotSwitchPM, results={BotInlineResult}, cache_time=int} - -``` - - diff --git a/old_docs/API_docs_v66/constructors/messages_channelMessages.md b/old_docs/API_docs_v66/constructors/messages_channelMessages.md deleted file mode 100644 index 12cdb9cd..00000000 --- a/old_docs/API_docs_v66/constructors/messages_channelMessages.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: messages.channelMessages -description: Channel messages -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.channelMessages -[Back to constructors index](index.md) - - - -Channel messages - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|[Event count after generation](https://core.telegram.org/api/updates)| -|count|[int](../types/int.md) | Yes|Total number of results were found server-side (may not be all included here)| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Messages](../types/messages_Messages.md) - - -### Example: - -```php -$messages_channelMessages = ['_' => 'messages.channelMessages', 'pts' => int, 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_channelMessages={_='messages.channelMessages', pts=int, count=int, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v66/constructors/messages_chatFull.md b/old_docs/API_docs_v66/constructors/messages_chatFull.md deleted file mode 100644 index 02f1acdf..00000000 --- a/old_docs/API_docs_v66/constructors/messages_chatFull.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.chatFull -description: Extended info on chat and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.chatFull -[Back to constructors index](index.md) - - - -Extended info on chat and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|full\_chat|[ChatFull](../types/ChatFull.md) | Yes|Extended info on a chat| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_ChatFull](../types/messages_ChatFull.md) - - -### Example: - -```php -$messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_chatFull={_='messages.chatFull', full_chat=ChatFull, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v66/constructors/messages_chats.md b/old_docs/API_docs_v66/constructors/messages_chats.md deleted file mode 100644 index ef3690a9..00000000 --- a/old_docs/API_docs_v66/constructors/messages_chats.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.chats -description: List of chats with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.chats -[Back to constructors index](index.md) - - - -List of chats with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| - - - -### Type: [messages\_Chats](../types/messages_Chats.md) - - -### Example: - -```php -$messages_chats = ['_' => 'messages.chats', 'chats' => [Chat, Chat]]; -``` - - -Or, if you're into Lua: - -```lua -messages_chats={_='messages.chats', chats={Chat}} - -``` - - diff --git a/old_docs/API_docs_v66/constructors/messages_chatsSlice.md b/old_docs/API_docs_v66/constructors/messages_chatsSlice.md deleted file mode 100644 index f19c4357..00000000 --- a/old_docs/API_docs_v66/constructors/messages_chatsSlice.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.chatsSlice -description: Partial list of chats, more would have to be fetched with [pagination](https://core.telegram.org/api/offsets) -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.chatsSlice -[Back to constructors index](index.md) - - - -Partial list of chats, more would have to be fetched with [pagination](https://core.telegram.org/api/offsets) - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of results that were found server-side (not all are included in `chats`)| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| - - - -### Type: [messages\_Chats](../types/messages_Chats.md) - - -### Example: - -```php -$messages_chatsSlice = ['_' => 'messages.chatsSlice', 'count' => int, 'chats' => [Chat, Chat]]; -``` - - -Or, if you're into Lua: - -```lua -messages_chatsSlice={_='messages.chatsSlice', count=int, chats={Chat}} - -``` - - diff --git a/old_docs/API_docs_v66/constructors/messages_dhConfig.md b/old_docs/API_docs_v66/constructors/messages_dhConfig.md deleted file mode 100644 index 42c2feb1..00000000 --- a/old_docs/API_docs_v66/constructors/messages_dhConfig.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: messages.dhConfig -description: New set of configuring parameters. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dhConfig -[Back to constructors index](index.md) - - - -New set of configuring parameters. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|g|[int](../types/int.md) | Yes|New value **prime**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| -|p|[bytes](../types/bytes.md) | Yes|New value **primitive root**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| -|version|[int](../types/int.md) | Yes|Vestion of set of parameters| -|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| - - - -### Type: [messages\_DhConfig](../types/messages_DhConfig.md) - - -### Example: - -```php -$messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'version' => int, 'random' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -messages_dhConfig={_='messages.dhConfig', g=int, p='bytes', version=int, random='bytes'} - -``` - - diff --git a/old_docs/API_docs_v66/constructors/messages_dhConfigNotModified.md b/old_docs/API_docs_v66/constructors/messages_dhConfigNotModified.md deleted file mode 100644 index 5bf64230..00000000 --- a/old_docs/API_docs_v66/constructors/messages_dhConfigNotModified.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.dhConfigNotModified -description: Configuring parameters did not change. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dhConfigNotModified -[Back to constructors index](index.md) - - - -Configuring parameters did not change. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| - - - -### Type: [messages\_DhConfig](../types/messages_DhConfig.md) - - -### Example: - -```php -$messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -messages_dhConfigNotModified={_='messages.dhConfigNotModified', random='bytes'} - -``` - - diff --git a/old_docs/API_docs_v66/constructors/messages_dialogs.md b/old_docs/API_docs_v66/constructors/messages_dialogs.md deleted file mode 100644 index e6a431b4..00000000 --- a/old_docs/API_docs_v66/constructors/messages_dialogs.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: messages.dialogs -description: Full list of chats with messages and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dialogs -[Back to constructors index](index.md) - - - -Full list of chats with messages and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Dialogs](../types/messages_Dialogs.md) - - -### Example: - -```php -$messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_dialogs={_='messages.dialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v66/constructors/messages_dialogsSlice.md b/old_docs/API_docs_v66/constructors/messages_dialogsSlice.md deleted file mode 100644 index f183b9a8..00000000 --- a/old_docs/API_docs_v66/constructors/messages_dialogsSlice.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: messages.dialogsSlice -description: Incomplete list of dialogs with messages and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dialogsSlice -[Back to constructors index](index.md) - - - -Incomplete list of dialogs with messages and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of dialogs| -|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Dialogs](../types/messages_Dialogs.md) - - -### Example: - -```php -$messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_dialogsSlice={_='messages.dialogsSlice', count=int, dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v66/constructors/messages_featuredStickers.md b/old_docs/API_docs_v66/constructors/messages_featuredStickers.md deleted file mode 100644 index 8ef1046e..00000000 --- a/old_docs/API_docs_v66/constructors/messages_featuredStickers.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.featuredStickers -description: Featured stickersets -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.featuredStickers -[Back to constructors index](index.md) - - - -Featured stickersets - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| -|unread|Array of [long](../types/long.md) | Yes|Unread| - - - -### Type: [messages\_FeaturedStickers](../types/messages_FeaturedStickers.md) - - -### Example: - -```php -$messages_featuredStickers = ['_' => 'messages.featuredStickers', 'hash' => int, 'sets' => [StickerSetCovered, StickerSetCovered], 'unread' => [long, long]]; -``` - - -Or, if you're into Lua: - -```lua -messages_featuredStickers={_='messages.featuredStickers', hash=int, sets={StickerSetCovered}, unread={long}} - -``` - - diff --git a/old_docs/API_docs_v66/constructors/messages_featuredStickersNotModified.md b/old_docs/API_docs_v66/constructors/messages_featuredStickersNotModified.md deleted file mode 100644 index de01131b..00000000 --- a/old_docs/API_docs_v66/constructors/messages_featuredStickersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.featuredStickersNotModified -description: Featured stickers haven't changed -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.featuredStickersNotModified -[Back to constructors index](index.md) - - - -Featured stickers haven't changed - - - - -### Type: [messages\_FeaturedStickers](../types/messages_FeaturedStickers.md) - - -### Example: - -```php -$messages_featuredStickersNotModified = ['_' => 'messages.featuredStickersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_featuredStickersNotModified={_='messages.featuredStickersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v66/constructors/messages_foundGifs.md b/old_docs/API_docs_v66/constructors/messages_foundGifs.md deleted file mode 100644 index eb3603ca..00000000 --- a/old_docs/API_docs_v66/constructors/messages_foundGifs.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.foundGifs -description: Found GIFs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.foundGifs -[Back to constructors index](index.md) - - - -Found GIFs - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|next\_offset|[int](../types/int.md) | Yes|Next offset to use when trying to [load more results](../methods/messages.searchGifs.md)| -|results|Array of [FoundGif](../types/FoundGif.md) | Yes|Results| - - - -### Type: [messages\_FoundGifs](../types/messages_FoundGifs.md) - - -### Example: - -```php -$messages_foundGifs = ['_' => 'messages.foundGifs', 'next_offset' => int, 'results' => [FoundGif, FoundGif]]; -``` - - -Or, if you're into Lua: - -```lua -messages_foundGifs={_='messages.foundGifs', next_offset=int, results={FoundGif}} - -``` - - diff --git a/old_docs/API_docs_v66/constructors/messages_highScores.md b/old_docs/API_docs_v66/constructors/messages_highScores.md deleted file mode 100644 index d6fc5210..00000000 --- a/old_docs/API_docs_v66/constructors/messages_highScores.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.highScores -description: Highscores in a game -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.highScores -[Back to constructors index](index.md) - - - -Highscores in a game - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|scores|Array of [HighScore](../types/HighScore.md) | Yes|Scores| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_HighScores](../types/messages_HighScores.md) - - -### Example: - -```php -$messages_highScores = ['_' => 'messages.highScores', 'scores' => [HighScore, HighScore], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_highScores={_='messages.highScores', scores={HighScore}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v66/constructors/messages_messageEditData.md b/old_docs/API_docs_v66/constructors/messages_messageEditData.md deleted file mode 100644 index 76aefca5..00000000 --- a/old_docs/API_docs_v66/constructors/messages_messageEditData.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.messageEditData -description: Message edit data for media -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.messageEditData -[Back to constructors index](index.md) - - - -Message edit data for media - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|caption|[Bool](../types/Bool.md) | Optional|Media caption, if the specified media's caption can be edited| - - - -### Type: [messages\_MessageEditData](../types/messages_MessageEditData.md) - - -### Example: - -```php -$messages_messageEditData = ['_' => 'messages.messageEditData', 'caption' => Bool]; -``` - - -Or, if you're into Lua: - -```lua -messages_messageEditData={_='messages.messageEditData', caption=Bool} - -``` - - diff --git a/old_docs/API_docs_v66/constructors/messages_messages.md b/old_docs/API_docs_v66/constructors/messages_messages.md deleted file mode 100644 index 3e369e1a..00000000 --- a/old_docs/API_docs_v66/constructors/messages_messages.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.messages -description: Full list of messages with auxilary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.messages -[Back to constructors index](index.md) - - - -Full list of messages with auxilary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Messages](../types/messages_Messages.md) - - -### Example: - -```php -$messages_messages = ['_' => 'messages.messages', 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_messages={_='messages.messages', messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v66/constructors/messages_messagesSlice.md b/old_docs/API_docs_v66/constructors/messages_messagesSlice.md deleted file mode 100644 index f9b8dc18..00000000 --- a/old_docs/API_docs_v66/constructors/messages_messagesSlice.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: messages.messagesSlice -description: Incomplete list of messages and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.messagesSlice -[Back to constructors index](index.md) - - - -Incomplete list of messages and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of messages in the list| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Messages](../types/messages_Messages.md) - - -### Example: - -```php -$messages_messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_messagesSlice={_='messages.messagesSlice', count=int, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v66/constructors/messages_peerDialogs.md b/old_docs/API_docs_v66/constructors/messages_peerDialogs.md deleted file mode 100644 index 29b4b842..00000000 --- a/old_docs/API_docs_v66/constructors/messages_peerDialogs.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: messages.peerDialogs -description: Dialog info of multiple peers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.peerDialogs -[Back to constructors index](index.md) - - - -Dialog info of multiple peers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| -|state|[updates\_State](../types/updates_State.md) | Yes|Current [update state of dialog](https://core.telegram.org/api/updates)| - - - -### Type: [messages\_PeerDialogs](../types/messages_PeerDialogs.md) - - -### Example: - -```php -$messages_peerDialogs = ['_' => 'messages.peerDialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates_State]; -``` - - -Or, if you're into Lua: - -```lua -messages_peerDialogs={_='messages.peerDialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}, state=updates_State} - -``` - - diff --git a/old_docs/API_docs_v66/constructors/messages_recentStickers.md b/old_docs/API_docs_v66/constructors/messages_recentStickers.md deleted file mode 100644 index 31b059e5..00000000 --- a/old_docs/API_docs_v66/constructors/messages_recentStickers.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.recentStickers -description: Recently used stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.recentStickers -[Back to constructors index](index.md) - - - -Recently used stickers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| - - - -### Type: [messages\_RecentStickers](../types/messages_RecentStickers.md) - - -### Example: - -```php -$messages_recentStickers = ['_' => 'messages.recentStickers', 'hash' => int, 'stickers' => [Document, Document]]; -``` - - -Or, if you're into Lua: - -```lua -messages_recentStickers={_='messages.recentStickers', hash=int, stickers={Document}} - -``` - - diff --git a/old_docs/API_docs_v66/constructors/messages_recentStickersNotModified.md b/old_docs/API_docs_v66/constructors/messages_recentStickersNotModified.md deleted file mode 100644 index 3e81dceb..00000000 --- a/old_docs/API_docs_v66/constructors/messages_recentStickersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.recentStickersNotModified -description: No new recent sticker was found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.recentStickersNotModified -[Back to constructors index](index.md) - - - -No new recent sticker was found - - - - -### Type: [messages\_RecentStickers](../types/messages_RecentStickers.md) - - -### Example: - -```php -$messages_recentStickersNotModified = ['_' => 'messages.recentStickersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_recentStickersNotModified={_='messages.recentStickersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v66/constructors/messages_savedGifs.md b/old_docs/API_docs_v66/constructors/messages_savedGifs.md deleted file mode 100644 index ed3e8ea3..00000000 --- a/old_docs/API_docs_v66/constructors/messages_savedGifs.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.savedGifs -description: Saved gifs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.savedGifs -[Back to constructors index](index.md) - - - -Saved gifs - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|gifs|Array of [Document](../types/Document.md) | Yes|Gifs| - - - -### Type: [messages\_SavedGifs](../types/messages_SavedGifs.md) - - -### Example: - -```php -$messages_savedGifs = ['_' => 'messages.savedGifs', 'hash' => int, 'gifs' => [Document, Document]]; -``` - - -Or, if you're into Lua: - -```lua -messages_savedGifs={_='messages.savedGifs', hash=int, gifs={Document}} - -``` - - diff --git a/old_docs/API_docs_v66/constructors/messages_savedGifsNotModified.md b/old_docs/API_docs_v66/constructors/messages_savedGifsNotModified.md deleted file mode 100644 index 0f843a0c..00000000 --- a/old_docs/API_docs_v66/constructors/messages_savedGifsNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.savedGifsNotModified -description: No new saved gifs were found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.savedGifsNotModified -[Back to constructors index](index.md) - - - -No new saved gifs were found - - - - -### Type: [messages\_SavedGifs](../types/messages_SavedGifs.md) - - -### Example: - -```php -$messages_savedGifsNotModified = ['_' => 'messages.savedGifsNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_savedGifsNotModified={_='messages.savedGifsNotModified'} - -``` - - diff --git a/old_docs/API_docs_v66/constructors/messages_sentEncryptedFile.md b/old_docs/API_docs_v66/constructors/messages_sentEncryptedFile.md deleted file mode 100644 index fdc2a11e..00000000 --- a/old_docs/API_docs_v66/constructors/messages_sentEncryptedFile.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.sentEncryptedFile -description: Message with a file enclosure sent to a protected chat -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.sentEncryptedFile -[Back to constructors index](index.md) - - - -Message with a file enclosure sent to a protected chat - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Sending date| -|file|[EncryptedFile](../types/EncryptedFile.md) | Optional|Attached file| - - - -### Type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) - - -### Example: - -```php -$messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile]; -``` - - -Or, if you're into Lua: - -```lua -messages_sentEncryptedFile={_='messages.sentEncryptedFile', date=int, file=EncryptedFile} - -``` - - diff --git a/old_docs/API_docs_v66/constructors/messages_sentEncryptedMessage.md b/old_docs/API_docs_v66/constructors/messages_sentEncryptedMessage.md deleted file mode 100644 index 36b2bbff..00000000 --- a/old_docs/API_docs_v66/constructors/messages_sentEncryptedMessage.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.sentEncryptedMessage -description: Message without file attachemts sent to an encrypted file. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.sentEncryptedMessage -[Back to constructors index](index.md) - - - -Message without file attachemts sent to an encrypted file. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Date of sending| - - - -### Type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) - - -### Example: - -```php -$messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_sentEncryptedMessage={_='messages.sentEncryptedMessage', date=int} - -``` - - diff --git a/old_docs/API_docs_v66/constructors/messages_stickerSet.md b/old_docs/API_docs_v66/constructors/messages_stickerSet.md deleted file mode 100644 index 127191de..00000000 --- a/old_docs/API_docs_v66/constructors/messages_stickerSet.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.stickerSet -description: Stickerset and stickers inside it -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickerSet -[Back to constructors index](index.md) - - - -Stickerset and stickers inside it - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|set|[StickerSet](../types/StickerSet.md) | Yes|The stickerset| -|packs|Array of [StickerPack](../types/StickerPack.md) | Yes|Packs| -|documents|Array of [Document](../types/Document.md) | Yes|Documents| - - - -### Type: [messages\_StickerSet](../types/messages_StickerSet.md) - - -### Example: - -```php -$messages_stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'packs' => [StickerPack, StickerPack], 'documents' => [Document, Document]]; -``` - - -Or, if you're into Lua: - -```lua -messages_stickerSet={_='messages.stickerSet', set=StickerSet, packs={StickerPack}, documents={Document}} - -``` - - diff --git a/old_docs/API_docs_v66/constructors/messages_stickerSetInstallResultArchive.md b/old_docs/API_docs_v66/constructors/messages_stickerSetInstallResultArchive.md deleted file mode 100644 index 8a5f4d5d..00000000 --- a/old_docs/API_docs_v66/constructors/messages_stickerSetInstallResultArchive.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.stickerSetInstallResultArchive -description: The stickerset was installed, but since there are too many stickersets some were archived -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickerSetInstallResultArchive -[Back to constructors index](index.md) - - - -The stickerset was installed, but since there are too many stickersets some were archived - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| - - - -### Type: [messages\_StickerSetInstallResult](../types/messages_StickerSetInstallResult.md) - - -### Example: - -```php -$messages_stickerSetInstallResultArchive = ['_' => 'messages.stickerSetInstallResultArchive', 'sets' => [StickerSetCovered, StickerSetCovered]]; -``` - - -Or, if you're into Lua: - -```lua -messages_stickerSetInstallResultArchive={_='messages.stickerSetInstallResultArchive', sets={StickerSetCovered}} - -``` - - diff --git a/old_docs/API_docs_v66/constructors/messages_stickerSetInstallResultSuccess.md b/old_docs/API_docs_v66/constructors/messages_stickerSetInstallResultSuccess.md deleted file mode 100644 index 1d33b89f..00000000 --- a/old_docs/API_docs_v66/constructors/messages_stickerSetInstallResultSuccess.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.stickerSetInstallResultSuccess -description: The stickerset was installed successfully -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickerSetInstallResultSuccess -[Back to constructors index](index.md) - - - -The stickerset was installed successfully - - - - -### Type: [messages\_StickerSetInstallResult](../types/messages_StickerSetInstallResult.md) - - -### Example: - -```php -$messages_stickerSetInstallResultSuccess = ['_' => 'messages.stickerSetInstallResultSuccess']; -``` - - -Or, if you're into Lua: - -```lua -messages_stickerSetInstallResultSuccess={_='messages.stickerSetInstallResultSuccess'} - -``` - - diff --git a/old_docs/API_docs_v66/constructors/messages_stickers.md b/old_docs/API_docs_v66/constructors/messages_stickers.md deleted file mode 100644 index 1c007df2..00000000 --- a/old_docs/API_docs_v66/constructors/messages_stickers.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.stickers -description: Found stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickers -[Back to constructors index](index.md) - - - -Found stickers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[string](../types/string.md) | Yes|Hash| -|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| - - - -### Type: [messages\_Stickers](../types/messages_Stickers.md) - - -### Example: - -```php -$messages_stickers = ['_' => 'messages.stickers', 'hash' => 'string', 'stickers' => [Document, Document]]; -``` - - -Or, if you're into Lua: - -```lua -messages_stickers={_='messages.stickers', hash='string', stickers={Document}} - -``` - - diff --git a/old_docs/API_docs_v66/constructors/messages_stickersNotModified.md b/old_docs/API_docs_v66/constructors/messages_stickersNotModified.md deleted file mode 100644 index 3d434a79..00000000 --- a/old_docs/API_docs_v66/constructors/messages_stickersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.stickersNotModified -description: No new stickers were found for the given query -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickersNotModified -[Back to constructors index](index.md) - - - -No new stickers were found for the given query - - - - -### Type: [messages\_Stickers](../types/messages_Stickers.md) - - -### Example: - -```php -$messages_stickersNotModified = ['_' => 'messages.stickersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_stickersNotModified={_='messages.stickersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v66/constructors/payments.paymentForm.md b/old_docs/API_docs_v66/constructors/payments.paymentForm.md new file mode 100644 index 00000000..90e0f39d --- /dev/null +++ b/old_docs/API_docs_v66/constructors/payments.paymentForm.md @@ -0,0 +1,48 @@ +--- +title: payments.paymentForm +description: Payment form +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: payments.paymentForm +[Back to constructors index](index.md) + + + +Payment form + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|can\_save\_credentials|[Bool](../types/Bool.md) | Optional|Whether the user can choose to save credentials.| +|password\_missing|[Bool](../types/Bool.md) | Optional|Indicates that the user can save payment credentials, but only after setting up a [2FA password](https://core.telegram.org/api/srp) (currently the account doesn't have a [2FA password](https://core.telegram.org/api/srp))| +|bot\_id|[int](../types/int.md) | Yes|Bot ID| +|invoice|[Invoice](../types/Invoice.md) | Yes|Invoice| +|provider\_id|[int](../types/int.md) | Yes|Payment provider ID.| +|url|[string](../types/string.md) | Yes|Payment form URL| +|native\_provider|[string](../types/string.md) | Optional|Payment provider name.
One of the following:
\- `stripe`| +|native\_params|[DataJSON](../types/DataJSON.md) | Optional|Contains information about the payment provider, if available, to support it natively without the need for opening the URL.
A JSON object that can contain the following fields:

\- `publishable_key`: Stripe API publishable key
\- `apple_pay_merchant_id`: Apple Pay merchant ID
\- `android_pay_public_key`: Android Pay public key
\- `android_pay_bgcolor`: Android Pay form background color
\- `android_pay_inverse`: Whether to use the dark theme in the Android Pay form
\- `need_country`: True, if the user country must be provided,
\- `need_zip`: True, if the user ZIP/postal code must be provided,
\- `need_cardholder_name`: True, if the cardholder name must be provided
| +|saved\_info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Optional|Saved server-side order information| +|saved\_credentials|[PaymentSavedCredentials](../types/PaymentSavedCredentials.md) | Optional|Contains information about saved card credentials| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [payments.PaymentForm](../types/payments.PaymentForm.md) + + +### Example: + +```php +$payments.paymentForm = ['_' => 'payments.paymentForm', 'can_save_credentials' => Bool, 'password_missing' => Bool, 'bot_id' => int, 'invoice' => Invoice, 'provider_id' => int, 'url' => 'string', 'native_provider' => 'string', 'native_params' => DataJSON, 'saved_info' => PaymentRequestedInfo, 'saved_credentials' => PaymentSavedCredentials, 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +payments.paymentForm={_='payments.paymentForm', can_save_credentials=Bool, password_missing=Bool, bot_id=int, invoice=Invoice, provider_id=int, url='string', native_provider='string', native_params=DataJSON, saved_info=PaymentRequestedInfo, saved_credentials=PaymentSavedCredentials, users={User}} + +``` + + diff --git a/old_docs/API_docs_v66/constructors/payments.paymentReceipt.md b/old_docs/API_docs_v66/constructors/payments.paymentReceipt.md new file mode 100644 index 00000000..5a0cc190 --- /dev/null +++ b/old_docs/API_docs_v66/constructors/payments.paymentReceipt.md @@ -0,0 +1,47 @@ +--- +title: payments.paymentReceipt +description: Receipt +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: payments.paymentReceipt +[Back to constructors index](index.md) + + + +Receipt + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Date of generation| +|bot\_id|[int](../types/int.md) | Yes|Bot ID| +|invoice|[Invoice](../types/Invoice.md) | Yes|Invoice| +|provider\_id|[int](../types/int.md) | Yes|Provider ID| +|info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Optional|Info| +|shipping|[ShippingOption](../types/ShippingOption.md) | Optional|Selected shipping option| +|currency|[string](../types/string.md) | Yes|Three-letter ISO 4217 [currency](https://core.telegram.org/bots/payments#supported-currencies) code| +|total\_amount|[long](../types/long.md) | Yes|Total amount in the smallest units of the currency (integer, not float/double). For example, for a price of `US$ 1.45` pass `amount = 145`. See the exp parameter in [currencies.json](https://core.telegram.org/bots/payments/currencies.json), it shows the number of digits past the decimal point for each currency (2 for the majority of currencies).| +|credentials\_title|[string](../types/string.md) | Yes|Payment credential name| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [payments.PaymentReceipt](../types/payments.PaymentReceipt.md) + + +### Example: + +```php +$payments.paymentReceipt = ['_' => 'payments.paymentReceipt', 'date' => int, 'bot_id' => int, 'invoice' => Invoice, 'provider_id' => int, 'info' => PaymentRequestedInfo, 'shipping' => ShippingOption, 'currency' => 'string', 'total_amount' => long, 'credentials_title' => 'string', 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +payments.paymentReceipt={_='payments.paymentReceipt', date=int, bot_id=int, invoice=Invoice, provider_id=int, info=PaymentRequestedInfo, shipping=ShippingOption, currency='string', total_amount=long, credentials_title='string', users={User}} + +``` + + diff --git a/old_docs/API_docs_v66/constructors/payments.paymentResult.md b/old_docs/API_docs_v66/constructors/payments.paymentResult.md new file mode 100644 index 00000000..df32fd91 --- /dev/null +++ b/old_docs/API_docs_v66/constructors/payments.paymentResult.md @@ -0,0 +1,38 @@ +--- +title: payments.paymentResult +description: Payment result +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: payments.paymentResult +[Back to constructors index](index.md) + + + +Payment result + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|updates|[Updates](../types/Updates.md) | Yes|Info about the payment| + + + +### Type: [payments.PaymentResult](../types/payments.PaymentResult.md) + + +### Example: + +```php +$payments.paymentResult = ['_' => 'payments.paymentResult', 'updates' => Updates]; +``` + + +Or, if you're into Lua: + +```lua +payments.paymentResult={_='payments.paymentResult', updates=Updates} + +``` + + diff --git a/old_docs/API_docs_v66/constructors/payments.paymentVerficationNeeded.md b/old_docs/API_docs_v66/constructors/payments.paymentVerficationNeeded.md new file mode 100644 index 00000000..3f459215 --- /dev/null +++ b/old_docs/API_docs_v66/constructors/payments.paymentVerficationNeeded.md @@ -0,0 +1,38 @@ +--- +title: payments.paymentVerficationNeeded +description: Payment verfication needed +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: payments.paymentVerficationNeeded +[Back to constructors index](index.md) + + + +Payment verfication needed + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|url|[string](../types/string.md) | Yes|URL| + + + +### Type: [payments.PaymentResult](../types/payments.PaymentResult.md) + + +### Example: + +```php +$payments.paymentVerficationNeeded = ['_' => 'payments.paymentVerficationNeeded', 'url' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +payments.paymentVerficationNeeded={_='payments.paymentVerficationNeeded', url='string'} + +``` + + diff --git a/old_docs/API_docs_v66/constructors/payments.savedInfo.md b/old_docs/API_docs_v66/constructors/payments.savedInfo.md new file mode 100644 index 00000000..a005a842 --- /dev/null +++ b/old_docs/API_docs_v66/constructors/payments.savedInfo.md @@ -0,0 +1,39 @@ +--- +title: payments.savedInfo +description: Saved server-side order information +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: payments.savedInfo +[Back to constructors index](index.md) + + + +Saved server-side order information + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|has\_saved\_credentials|[Bool](../types/Bool.md) | Optional|Whether the user has some saved payment credentials| +|saved\_info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Optional|Saved server-side order information| + + + +### Type: [payments.SavedInfo](../types/payments.SavedInfo.md) + + +### Example: + +```php +$payments.savedInfo = ['_' => 'payments.savedInfo', 'has_saved_credentials' => Bool, 'saved_info' => PaymentRequestedInfo]; +``` + + +Or, if you're into Lua: + +```lua +payments.savedInfo={_='payments.savedInfo', has_saved_credentials=Bool, saved_info=PaymentRequestedInfo} + +``` + + diff --git a/old_docs/API_docs_v66/constructors/payments.validatedRequestedInfo.md b/old_docs/API_docs_v66/constructors/payments.validatedRequestedInfo.md new file mode 100644 index 00000000..4789b28d --- /dev/null +++ b/old_docs/API_docs_v66/constructors/payments.validatedRequestedInfo.md @@ -0,0 +1,39 @@ +--- +title: payments.validatedRequestedInfo +description: Validated user-provided info +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: payments.validatedRequestedInfo +[Back to constructors index](index.md) + + + +Validated user-provided info + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|id|[string](../types/string.md) | Optional|ID| +|shipping\_options|Array of [ShippingOption](../types/ShippingOption.md) | Optional|Shipping options| + + + +### Type: [payments.ValidatedRequestedInfo](../types/payments.ValidatedRequestedInfo.md) + + +### Example: + +```php +$payments.validatedRequestedInfo = ['_' => 'payments.validatedRequestedInfo', 'id' => 'string', 'shipping_options' => [ShippingOption, ShippingOption]]; +``` + + +Or, if you're into Lua: + +```lua +payments.validatedRequestedInfo={_='payments.validatedRequestedInfo', id='string', shipping_options={ShippingOption}} + +``` + + diff --git a/old_docs/API_docs_v66/constructors/payments_paymentForm.md b/old_docs/API_docs_v66/constructors/payments_paymentForm.md deleted file mode 100644 index 88848527..00000000 --- a/old_docs/API_docs_v66/constructors/payments_paymentForm.md +++ /dev/null @@ -1,48 +0,0 @@ ---- -title: payments.paymentForm -description: Payment form -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: payments.paymentForm -[Back to constructors index](index.md) - - - -Payment form - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|can\_save\_credentials|[Bool](../types/Bool.md) | Optional|Whether the user can choose to save credentials.| -|password\_missing|[Bool](../types/Bool.md) | Optional|Indicates that the user can save payment credentials, but only after setting up a [2FA password](https://core.telegram.org/api/srp) (currently the account doesn't have a [2FA password](https://core.telegram.org/api/srp))| -|bot\_id|[int](../types/int.md) | Yes|Bot ID| -|invoice|[Invoice](../types/Invoice.md) | Yes|Invoice| -|provider\_id|[int](../types/int.md) | Yes|Payment provider ID.| -|url|[string](../types/string.md) | Yes|Payment form URL| -|native\_provider|[string](../types/string.md) | Optional|Payment provider name.
One of the following:
\- `stripe`| -|native\_params|[DataJSON](../types/DataJSON.md) | Optional|Contains information about the payment provider, if available, to support it natively without the need for opening the URL.
A JSON object that can contain the following fields:

\- `publishable_key`: Stripe API publishable key
\- `apple_pay_merchant_id`: Apple Pay merchant ID
\- `android_pay_public_key`: Android Pay public key
\- `android_pay_bgcolor`: Android Pay form background color
\- `android_pay_inverse`: Whether to use the dark theme in the Android Pay form
\- `need_country`: True, if the user country must be provided,
\- `need_zip`: True, if the user ZIP/postal code must be provided,
\- `need_cardholder_name`: True, if the cardholder name must be provided
| -|saved\_info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Optional|Saved server-side order information| -|saved\_credentials|[PaymentSavedCredentials](../types/PaymentSavedCredentials.md) | Optional|Contains information about saved card credentials| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [payments\_PaymentForm](../types/payments_PaymentForm.md) - - -### Example: - -```php -$payments_paymentForm = ['_' => 'payments.paymentForm', 'can_save_credentials' => Bool, 'password_missing' => Bool, 'bot_id' => int, 'invoice' => Invoice, 'provider_id' => int, 'url' => 'string', 'native_provider' => 'string', 'native_params' => DataJSON, 'saved_info' => PaymentRequestedInfo, 'saved_credentials' => PaymentSavedCredentials, 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -payments_paymentForm={_='payments.paymentForm', can_save_credentials=Bool, password_missing=Bool, bot_id=int, invoice=Invoice, provider_id=int, url='string', native_provider='string', native_params=DataJSON, saved_info=PaymentRequestedInfo, saved_credentials=PaymentSavedCredentials, users={User}} - -``` - - diff --git a/old_docs/API_docs_v66/constructors/payments_paymentReceipt.md b/old_docs/API_docs_v66/constructors/payments_paymentReceipt.md deleted file mode 100644 index 411e9dee..00000000 --- a/old_docs/API_docs_v66/constructors/payments_paymentReceipt.md +++ /dev/null @@ -1,47 +0,0 @@ ---- -title: payments.paymentReceipt -description: Receipt -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: payments.paymentReceipt -[Back to constructors index](index.md) - - - -Receipt - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Date of generation| -|bot\_id|[int](../types/int.md) | Yes|Bot ID| -|invoice|[Invoice](../types/Invoice.md) | Yes|Invoice| -|provider\_id|[int](../types/int.md) | Yes|Provider ID| -|info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Optional|Info| -|shipping|[ShippingOption](../types/ShippingOption.md) | Optional|Selected shipping option| -|currency|[string](../types/string.md) | Yes|Three-letter ISO 4217 [currency](https://core.telegram.org/bots/payments#supported-currencies) code| -|total\_amount|[long](../types/long.md) | Yes|Total amount in the smallest units of the currency (integer, not float/double). For example, for a price of `US$ 1.45` pass `amount = 145`. See the exp parameter in [currencies.json](https://core.telegram.org/bots/payments/currencies.json), it shows the number of digits past the decimal point for each currency (2 for the majority of currencies).| -|credentials\_title|[string](../types/string.md) | Yes|Payment credential name| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [payments\_PaymentReceipt](../types/payments_PaymentReceipt.md) - - -### Example: - -```php -$payments_paymentReceipt = ['_' => 'payments.paymentReceipt', 'date' => int, 'bot_id' => int, 'invoice' => Invoice, 'provider_id' => int, 'info' => PaymentRequestedInfo, 'shipping' => ShippingOption, 'currency' => 'string', 'total_amount' => long, 'credentials_title' => 'string', 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -payments_paymentReceipt={_='payments.paymentReceipt', date=int, bot_id=int, invoice=Invoice, provider_id=int, info=PaymentRequestedInfo, shipping=ShippingOption, currency='string', total_amount=long, credentials_title='string', users={User}} - -``` - - diff --git a/old_docs/API_docs_v66/constructors/payments_paymentResult.md b/old_docs/API_docs_v66/constructors/payments_paymentResult.md deleted file mode 100644 index 12af1d36..00000000 --- a/old_docs/API_docs_v66/constructors/payments_paymentResult.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: payments.paymentResult -description: Payment result -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: payments.paymentResult -[Back to constructors index](index.md) - - - -Payment result - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|updates|[Updates](../types/Updates.md) | Yes|Info about the payment| - - - -### Type: [payments\_PaymentResult](../types/payments_PaymentResult.md) - - -### Example: - -```php -$payments_paymentResult = ['_' => 'payments.paymentResult', 'updates' => Updates]; -``` - - -Or, if you're into Lua: - -```lua -payments_paymentResult={_='payments.paymentResult', updates=Updates} - -``` - - diff --git a/old_docs/API_docs_v66/constructors/payments_paymentVerficationNeeded.md b/old_docs/API_docs_v66/constructors/payments_paymentVerficationNeeded.md deleted file mode 100644 index 70ca205d..00000000 --- a/old_docs/API_docs_v66/constructors/payments_paymentVerficationNeeded.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: payments.paymentVerficationNeeded -description: Payment verfication needed -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: payments.paymentVerficationNeeded -[Back to constructors index](index.md) - - - -Payment verfication needed - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|url|[string](../types/string.md) | Yes|URL| - - - -### Type: [payments\_PaymentResult](../types/payments_PaymentResult.md) - - -### Example: - -```php -$payments_paymentVerficationNeeded = ['_' => 'payments.paymentVerficationNeeded', 'url' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -payments_paymentVerficationNeeded={_='payments.paymentVerficationNeeded', url='string'} - -``` - - diff --git a/old_docs/API_docs_v66/constructors/payments_savedInfo.md b/old_docs/API_docs_v66/constructors/payments_savedInfo.md deleted file mode 100644 index 19d3aee5..00000000 --- a/old_docs/API_docs_v66/constructors/payments_savedInfo.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: payments.savedInfo -description: Saved server-side order information -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: payments.savedInfo -[Back to constructors index](index.md) - - - -Saved server-side order information - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|has\_saved\_credentials|[Bool](../types/Bool.md) | Optional|Whether the user has some saved payment credentials| -|saved\_info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Optional|Saved server-side order information| - - - -### Type: [payments\_SavedInfo](../types/payments_SavedInfo.md) - - -### Example: - -```php -$payments_savedInfo = ['_' => 'payments.savedInfo', 'has_saved_credentials' => Bool, 'saved_info' => PaymentRequestedInfo]; -``` - - -Or, if you're into Lua: - -```lua -payments_savedInfo={_='payments.savedInfo', has_saved_credentials=Bool, saved_info=PaymentRequestedInfo} - -``` - - diff --git a/old_docs/API_docs_v66/constructors/payments_validatedRequestedInfo.md b/old_docs/API_docs_v66/constructors/payments_validatedRequestedInfo.md deleted file mode 100644 index a07c7d06..00000000 --- a/old_docs/API_docs_v66/constructors/payments_validatedRequestedInfo.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: payments.validatedRequestedInfo -description: Validated user-provided info -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: payments.validatedRequestedInfo -[Back to constructors index](index.md) - - - -Validated user-provided info - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|id|[string](../types/string.md) | Optional|ID| -|shipping\_options|Array of [ShippingOption](../types/ShippingOption.md) | Optional|Shipping options| - - - -### Type: [payments\_ValidatedRequestedInfo](../types/payments_ValidatedRequestedInfo.md) - - -### Example: - -```php -$payments_validatedRequestedInfo = ['_' => 'payments.validatedRequestedInfo', 'id' => 'string', 'shipping_options' => [ShippingOption, ShippingOption]]; -``` - - -Or, if you're into Lua: - -```lua -payments_validatedRequestedInfo={_='payments.validatedRequestedInfo', id='string', shipping_options={ShippingOption}} - -``` - - diff --git a/old_docs/API_docs_v66/constructors/phone.phoneCall.md b/old_docs/API_docs_v66/constructors/phone.phoneCall.md new file mode 100644 index 00000000..8c1d26d4 --- /dev/null +++ b/old_docs/API_docs_v66/constructors/phone.phoneCall.md @@ -0,0 +1,39 @@ +--- +title: phone.phoneCall +description: A VoIP phone call +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: phone.phoneCall +[Back to constructors index](index.md) + + + +A VoIP phone call + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_call|[PhoneCall](../types/PhoneCall.md) | Optional|The VoIP phone call| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [phone.PhoneCall](../types/phone.PhoneCall.md) + + +### Example: + +```php +$phone.phoneCall = ['_' => 'phone.phoneCall', 'phone_call' => PhoneCall, 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +phone.phoneCall={_='phone.phoneCall', phone_call=PhoneCall, users={User}} + +``` + + diff --git a/old_docs/API_docs_v66/constructors/phone_phoneCall.md b/old_docs/API_docs_v66/constructors/phone_phoneCall.md deleted file mode 100644 index 94314567..00000000 --- a/old_docs/API_docs_v66/constructors/phone_phoneCall.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: phone.phoneCall -description: A VoIP phone call -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: phone.phoneCall -[Back to constructors index](index.md) - - - -A VoIP phone call - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_call|[PhoneCall](../types/PhoneCall.md) | Optional|The VoIP phone call| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [phone\_PhoneCall](../types/phone_PhoneCall.md) - - -### Example: - -```php -$phone_phoneCall = ['_' => 'phone.phoneCall', 'phone_call' => PhoneCall, 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -phone_phoneCall={_='phone.phoneCall', phone_call=PhoneCall, users={User}} - -``` - - diff --git a/old_docs/API_docs_v66/constructors/photos.photo.md b/old_docs/API_docs_v66/constructors/photos.photo.md new file mode 100644 index 00000000..43d3efc7 --- /dev/null +++ b/old_docs/API_docs_v66/constructors/photos.photo.md @@ -0,0 +1,39 @@ +--- +title: photos.photo +description: Photo with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: photos.photo +[Back to constructors index](index.md) + + + +Photo with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|photo|[Photo](../types/Photo.md) | Optional|Photo| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [photos.Photo](../types/photos.Photo.md) + + +### Example: + +```php +$photos.photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +photos.photo={_='photos.photo', photo=Photo, users={User}} + +``` + + diff --git a/old_docs/API_docs_v66/constructors/photos.photos.md b/old_docs/API_docs_v66/constructors/photos.photos.md new file mode 100644 index 00000000..901a9693 --- /dev/null +++ b/old_docs/API_docs_v66/constructors/photos.photos.md @@ -0,0 +1,39 @@ +--- +title: photos.photos +description: Full list of photos with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: photos.photos +[Back to constructors index](index.md) + + + +Full list of photos with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [photos.Photos](../types/photos.Photos.md) + + +### Example: + +```php +$photos.photos = ['_' => 'photos.photos', 'photos' => [Photo, Photo], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +photos.photos={_='photos.photos', photos={Photo}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v66/constructors/photos.photosSlice.md b/old_docs/API_docs_v66/constructors/photos.photosSlice.md new file mode 100644 index 00000000..2cca3546 --- /dev/null +++ b/old_docs/API_docs_v66/constructors/photos.photosSlice.md @@ -0,0 +1,40 @@ +--- +title: photos.photosSlice +description: Incomplete list of photos with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: photos.photosSlice +[Back to constructors index](index.md) + + + +Incomplete list of photos with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of photos| +|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [photos.Photos](../types/photos.Photos.md) + + +### Example: + +```php +$photos.photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo, Photo], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +photos.photosSlice={_='photos.photosSlice', count=int, photos={Photo}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v66/constructors/photos_photo.md b/old_docs/API_docs_v66/constructors/photos_photo.md deleted file mode 100644 index d5ad61d9..00000000 --- a/old_docs/API_docs_v66/constructors/photos_photo.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: photos.photo -description: Photo with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: photos.photo -[Back to constructors index](index.md) - - - -Photo with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|photo|[Photo](../types/Photo.md) | Optional|Photo| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [photos\_Photo](../types/photos_Photo.md) - - -### Example: - -```php -$photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -photos_photo={_='photos.photo', photo=Photo, users={User}} - -``` - - diff --git a/old_docs/API_docs_v66/constructors/photos_photos.md b/old_docs/API_docs_v66/constructors/photos_photos.md deleted file mode 100644 index 6ae5d048..00000000 --- a/old_docs/API_docs_v66/constructors/photos_photos.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: photos.photos -description: Full list of photos with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: photos.photos -[Back to constructors index](index.md) - - - -Full list of photos with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [photos\_Photos](../types/photos_Photos.md) - - -### Example: - -```php -$photos_photos = ['_' => 'photos.photos', 'photos' => [Photo, Photo], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -photos_photos={_='photos.photos', photos={Photo}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v66/constructors/photos_photosSlice.md b/old_docs/API_docs_v66/constructors/photos_photosSlice.md deleted file mode 100644 index 5c465c21..00000000 --- a/old_docs/API_docs_v66/constructors/photos_photosSlice.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: photos.photosSlice -description: Incomplete list of photos with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: photos.photosSlice -[Back to constructors index](index.md) - - - -Incomplete list of photos with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of photos| -|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [photos\_Photos](../types/photos_Photos.md) - - -### Example: - -```php -$photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo, Photo], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -photos_photosSlice={_='photos.photosSlice', count=int, photos={Photo}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v66/constructors/storage.fileGif.md b/old_docs/API_docs_v66/constructors/storage.fileGif.md new file mode 100644 index 00000000..8193bd25 --- /dev/null +++ b/old_docs/API_docs_v66/constructors/storage.fileGif.md @@ -0,0 +1,33 @@ +--- +title: storage.fileGif +description: GIF image. MIME type: `image/gif`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileGif +[Back to constructors index](index.md) + + + +GIF image. MIME type: `image/gif`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileGif = ['_' => 'storage.fileGif']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileGif={_='storage.fileGif'} + +``` + + diff --git a/old_docs/API_docs_v66/constructors/storage.fileJpeg.md b/old_docs/API_docs_v66/constructors/storage.fileJpeg.md new file mode 100644 index 00000000..7f125963 --- /dev/null +++ b/old_docs/API_docs_v66/constructors/storage.fileJpeg.md @@ -0,0 +1,33 @@ +--- +title: storage.fileJpeg +description: JPEG image. MIME type: `image/jpeg`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileJpeg +[Back to constructors index](index.md) + + + +JPEG image. MIME type: `image/jpeg`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileJpeg = ['_' => 'storage.fileJpeg']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileJpeg={_='storage.fileJpeg'} + +``` + + diff --git a/old_docs/API_docs_v66/constructors/storage.fileMov.md b/old_docs/API_docs_v66/constructors/storage.fileMov.md new file mode 100644 index 00000000..cb3742e0 --- /dev/null +++ b/old_docs/API_docs_v66/constructors/storage.fileMov.md @@ -0,0 +1,33 @@ +--- +title: storage.fileMov +description: Quicktime video. MIME type: `video/quicktime`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileMov +[Back to constructors index](index.md) + + + +Quicktime video. MIME type: `video/quicktime`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileMov = ['_' => 'storage.fileMov']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileMov={_='storage.fileMov'} + +``` + + diff --git a/old_docs/API_docs_v66/constructors/storage.fileMp3.md b/old_docs/API_docs_v66/constructors/storage.fileMp3.md new file mode 100644 index 00000000..617f2d39 --- /dev/null +++ b/old_docs/API_docs_v66/constructors/storage.fileMp3.md @@ -0,0 +1,33 @@ +--- +title: storage.fileMp3 +description: Mp3 audio. MIME type: `audio/mpeg`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileMp3 +[Back to constructors index](index.md) + + + +Mp3 audio. MIME type: `audio/mpeg`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileMp3 = ['_' => 'storage.fileMp3']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileMp3={_='storage.fileMp3'} + +``` + + diff --git a/old_docs/API_docs_v66/constructors/storage.fileMp4.md b/old_docs/API_docs_v66/constructors/storage.fileMp4.md new file mode 100644 index 00000000..37038176 --- /dev/null +++ b/old_docs/API_docs_v66/constructors/storage.fileMp4.md @@ -0,0 +1,33 @@ +--- +title: storage.fileMp4 +description: MPEG-4 video. MIME type: `video/mp4`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileMp4 +[Back to constructors index](index.md) + + + +MPEG-4 video. MIME type: `video/mp4`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileMp4 = ['_' => 'storage.fileMp4']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileMp4={_='storage.fileMp4'} + +``` + + diff --git a/old_docs/API_docs_v66/constructors/storage.filePartial.md b/old_docs/API_docs_v66/constructors/storage.filePartial.md new file mode 100644 index 00000000..98779e71 --- /dev/null +++ b/old_docs/API_docs_v66/constructors/storage.filePartial.md @@ -0,0 +1,33 @@ +--- +title: storage.filePartial +description: Part of a bigger file. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.filePartial +[Back to constructors index](index.md) + + + +Part of a bigger file. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.filePartial = ['_' => 'storage.filePartial']; +``` + + +Or, if you're into Lua: + +```lua +storage.filePartial={_='storage.filePartial'} + +``` + + diff --git a/old_docs/API_docs_v66/constructors/storage.filePdf.md b/old_docs/API_docs_v66/constructors/storage.filePdf.md new file mode 100644 index 00000000..136c0614 --- /dev/null +++ b/old_docs/API_docs_v66/constructors/storage.filePdf.md @@ -0,0 +1,33 @@ +--- +title: storage.filePdf +description: PDF document image. MIME type: `application/pdf`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.filePdf +[Back to constructors index](index.md) + + + +PDF document image. MIME type: `application/pdf`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.filePdf = ['_' => 'storage.filePdf']; +``` + + +Or, if you're into Lua: + +```lua +storage.filePdf={_='storage.filePdf'} + +``` + + diff --git a/old_docs/API_docs_v66/constructors/storage.filePng.md b/old_docs/API_docs_v66/constructors/storage.filePng.md new file mode 100644 index 00000000..db01ce0e --- /dev/null +++ b/old_docs/API_docs_v66/constructors/storage.filePng.md @@ -0,0 +1,33 @@ +--- +title: storage.filePng +description: PNG image. MIME type: `image/png`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.filePng +[Back to constructors index](index.md) + + + +PNG image. MIME type: `image/png`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.filePng = ['_' => 'storage.filePng']; +``` + + +Or, if you're into Lua: + +```lua +storage.filePng={_='storage.filePng'} + +``` + + diff --git a/old_docs/API_docs_v66/constructors/storage.fileUnknown.md b/old_docs/API_docs_v66/constructors/storage.fileUnknown.md new file mode 100644 index 00000000..26f0a5ae --- /dev/null +++ b/old_docs/API_docs_v66/constructors/storage.fileUnknown.md @@ -0,0 +1,33 @@ +--- +title: storage.fileUnknown +description: Unknown type. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileUnknown +[Back to constructors index](index.md) + + + +Unknown type. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileUnknown = ['_' => 'storage.fileUnknown']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileUnknown={_='storage.fileUnknown'} + +``` + + diff --git a/old_docs/API_docs_v66/constructors/storage.fileWebp.md b/old_docs/API_docs_v66/constructors/storage.fileWebp.md new file mode 100644 index 00000000..63c9ded1 --- /dev/null +++ b/old_docs/API_docs_v66/constructors/storage.fileWebp.md @@ -0,0 +1,33 @@ +--- +title: storage.fileWebp +description: WEBP image. MIME type: `image/webp`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileWebp +[Back to constructors index](index.md) + + + +WEBP image. MIME type: `image/webp`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileWebp = ['_' => 'storage.fileWebp']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileWebp={_='storage.fileWebp'} + +``` + + diff --git a/old_docs/API_docs_v66/constructors/storage_fileGif.md b/old_docs/API_docs_v66/constructors/storage_fileGif.md deleted file mode 100644 index 218c7491..00000000 --- a/old_docs/API_docs_v66/constructors/storage_fileGif.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileGif -description: GIF image. MIME type: `image/gif`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileGif -[Back to constructors index](index.md) - - - -GIF image. MIME type: `image/gif`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileGif = ['_' => 'storage.fileGif']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileGif={_='storage.fileGif'} - -``` - - diff --git a/old_docs/API_docs_v66/constructors/storage_fileJpeg.md b/old_docs/API_docs_v66/constructors/storage_fileJpeg.md deleted file mode 100644 index 925531cd..00000000 --- a/old_docs/API_docs_v66/constructors/storage_fileJpeg.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileJpeg -description: JPEG image. MIME type: `image/jpeg`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileJpeg -[Back to constructors index](index.md) - - - -JPEG image. MIME type: `image/jpeg`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileJpeg = ['_' => 'storage.fileJpeg']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileJpeg={_='storage.fileJpeg'} - -``` - - diff --git a/old_docs/API_docs_v66/constructors/storage_fileMov.md b/old_docs/API_docs_v66/constructors/storage_fileMov.md deleted file mode 100644 index eaf2a6ff..00000000 --- a/old_docs/API_docs_v66/constructors/storage_fileMov.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileMov -description: Quicktime video. MIME type: `video/quicktime`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileMov -[Back to constructors index](index.md) - - - -Quicktime video. MIME type: `video/quicktime`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileMov = ['_' => 'storage.fileMov']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileMov={_='storage.fileMov'} - -``` - - diff --git a/old_docs/API_docs_v66/constructors/storage_fileMp3.md b/old_docs/API_docs_v66/constructors/storage_fileMp3.md deleted file mode 100644 index 9afcefbb..00000000 --- a/old_docs/API_docs_v66/constructors/storage_fileMp3.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileMp3 -description: Mp3 audio. MIME type: `audio/mpeg`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileMp3 -[Back to constructors index](index.md) - - - -Mp3 audio. MIME type: `audio/mpeg`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileMp3 = ['_' => 'storage.fileMp3']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileMp3={_='storage.fileMp3'} - -``` - - diff --git a/old_docs/API_docs_v66/constructors/storage_fileMp4.md b/old_docs/API_docs_v66/constructors/storage_fileMp4.md deleted file mode 100644 index cdc0e783..00000000 --- a/old_docs/API_docs_v66/constructors/storage_fileMp4.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileMp4 -description: MPEG-4 video. MIME type: `video/mp4`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileMp4 -[Back to constructors index](index.md) - - - -MPEG-4 video. MIME type: `video/mp4`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileMp4 = ['_' => 'storage.fileMp4']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileMp4={_='storage.fileMp4'} - -``` - - diff --git a/old_docs/API_docs_v66/constructors/storage_filePartial.md b/old_docs/API_docs_v66/constructors/storage_filePartial.md deleted file mode 100644 index 9bfadf63..00000000 --- a/old_docs/API_docs_v66/constructors/storage_filePartial.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.filePartial -description: Part of a bigger file. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.filePartial -[Back to constructors index](index.md) - - - -Part of a bigger file. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_filePartial = ['_' => 'storage.filePartial']; -``` - - -Or, if you're into Lua: - -```lua -storage_filePartial={_='storage.filePartial'} - -``` - - diff --git a/old_docs/API_docs_v66/constructors/storage_filePdf.md b/old_docs/API_docs_v66/constructors/storage_filePdf.md deleted file mode 100644 index efb022cc..00000000 --- a/old_docs/API_docs_v66/constructors/storage_filePdf.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.filePdf -description: PDF document image. MIME type: `application/pdf`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.filePdf -[Back to constructors index](index.md) - - - -PDF document image. MIME type: `application/pdf`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_filePdf = ['_' => 'storage.filePdf']; -``` - - -Or, if you're into Lua: - -```lua -storage_filePdf={_='storage.filePdf'} - -``` - - diff --git a/old_docs/API_docs_v66/constructors/storage_filePng.md b/old_docs/API_docs_v66/constructors/storage_filePng.md deleted file mode 100644 index 412759e4..00000000 --- a/old_docs/API_docs_v66/constructors/storage_filePng.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.filePng -description: PNG image. MIME type: `image/png`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.filePng -[Back to constructors index](index.md) - - - -PNG image. MIME type: `image/png`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_filePng = ['_' => 'storage.filePng']; -``` - - -Or, if you're into Lua: - -```lua -storage_filePng={_='storage.filePng'} - -``` - - diff --git a/old_docs/API_docs_v66/constructors/storage_fileUnknown.md b/old_docs/API_docs_v66/constructors/storage_fileUnknown.md deleted file mode 100644 index ed33dd5e..00000000 --- a/old_docs/API_docs_v66/constructors/storage_fileUnknown.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileUnknown -description: Unknown type. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileUnknown -[Back to constructors index](index.md) - - - -Unknown type. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileUnknown = ['_' => 'storage.fileUnknown']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileUnknown={_='storage.fileUnknown'} - -``` - - diff --git a/old_docs/API_docs_v66/constructors/storage_fileWebp.md b/old_docs/API_docs_v66/constructors/storage_fileWebp.md deleted file mode 100644 index 04dcad74..00000000 --- a/old_docs/API_docs_v66/constructors/storage_fileWebp.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileWebp -description: WEBP image. MIME type: `image/webp`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileWebp -[Back to constructors index](index.md) - - - -WEBP image. MIME type: `image/webp`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileWebp = ['_' => 'storage.fileWebp']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileWebp={_='storage.fileWebp'} - -``` - - diff --git a/old_docs/API_docs_v66/constructors/updateNewStickerSet.md b/old_docs/API_docs_v66/constructors/updateNewStickerSet.md index 8a99a363..c32c41ff 100644 --- a/old_docs/API_docs_v66/constructors/updateNewStickerSet.md +++ b/old_docs/API_docs_v66/constructors/updateNewStickerSet.md @@ -14,7 +14,7 @@ A new stickerset was installed | Name | Type | Required | Description | |----------|---------------|----------|-------------| -|stickerset|[messages\_StickerSet](../types/messages_StickerSet.md) | Yes|The installed stickerset| +|stickerset|[messages.StickerSet](../constructors/messages.StickerSet.md) | Yes|The installed stickerset| @@ -24,14 +24,14 @@ A new stickerset was installed ### Example: ```php -$updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages_StickerSet]; +$updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages.StickerSet]; ``` Or, if you're into Lua: ```lua -updateNewStickerSet={_='updateNewStickerSet', stickerset=messages_StickerSet} +updateNewStickerSet={_='updateNewStickerSet', stickerset=messages.StickerSet} ``` diff --git a/old_docs/API_docs_v66/constructors/updates.channelDifference.md b/old_docs/API_docs_v66/constructors/updates.channelDifference.md new file mode 100644 index 00000000..5a13791c --- /dev/null +++ b/old_docs/API_docs_v66/constructors/updates.channelDifference.md @@ -0,0 +1,44 @@ +--- +title: updates.channelDifference +description: The new updates +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.channelDifference +[Back to constructors index](index.md) + + + +The new updates + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates to be fetched using getDifference, starting from the provided `pts`| +|pts|[int](../types/int.md) | Yes|The [PTS](https://core.telegram.org/api/updates) from which to start getting updates the next time| +|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| +|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| +|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [updates.ChannelDifference](../types/updates.ChannelDifference.md) + + +### Example: + +```php +$updates.channelDifference = ['_' => 'updates.channelDifference', 'final' => Bool, 'pts' => int, 'timeout' => int, 'new_messages' => [Message, Message], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +updates.channelDifference={_='updates.channelDifference', final=Bool, pts=int, timeout=int, new_messages={Message}, other_updates={Update}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v66/constructors/updates.channelDifferenceEmpty.md b/old_docs/API_docs_v66/constructors/updates.channelDifferenceEmpty.md new file mode 100644 index 00000000..8ce43da4 --- /dev/null +++ b/old_docs/API_docs_v66/constructors/updates.channelDifferenceEmpty.md @@ -0,0 +1,40 @@ +--- +title: updates.channelDifferenceEmpty +description: There are no new updates +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.channelDifferenceEmpty +[Back to constructors index](index.md) + + + +There are no new updates + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates that must be fetched (always false)| +|pts|[int](../types/int.md) | Yes|The latest [PTS](https://core.telegram.org/api/updates)| +|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| + + + +### Type: [updates.ChannelDifference](../types/updates.ChannelDifference.md) + + +### Example: + +```php +$updates.channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'final' => Bool, 'pts' => int, 'timeout' => int]; +``` + + +Or, if you're into Lua: + +```lua +updates.channelDifferenceEmpty={_='updates.channelDifferenceEmpty', final=Bool, pts=int, timeout=int} + +``` + + diff --git a/old_docs/API_docs_v66/constructors/updates.channelDifferenceTooLong.md b/old_docs/API_docs_v66/constructors/updates.channelDifferenceTooLong.md new file mode 100644 index 00000000..3d47a6df --- /dev/null +++ b/old_docs/API_docs_v66/constructors/updates.channelDifferenceTooLong.md @@ -0,0 +1,57 @@ +--- +title: updates.channelDifferenceTooLong +description: The provided `pts + limit < remote pts`. Simply, there are too many updates to be fetched (more than `limit`), the client has to resolve the update gap in one of the following ways: + +1. Delete all known messages in the chat, begin from scratch by refetching all messages manually with [getHistory](../methods/messages.getHistory.md). It is easy to implement, but suddenly disappearing messages looks awful for the user. +2. Save all messages loaded in the memory until application restart, but delete all messages from database. Messages left in the memory must be lazily updated using calls to [getHistory](../methods/messages.getHistory.md). It looks much smoothly for the user, he will need to redownload messages only after client restart. Unsynchronized messages left in the memory shouldn't be saved to database, results of [getHistory](../methods/messages.getHistory.md) and [getMessages](../methods/messages.getMessages.md) must be used to update state of deleted and edited messages left in the memory. +3. Save all messages loaded in the memory and stored in the database without saving that some messages form continuous ranges. Messages in the database will be excluded from results of getChatHistory and searchChatMessages after application restart and will be available only through getMessage. Every message should still be checked using getHistory. It has more disadvantages over 2) than advantages. +4. Save all messages with saving all data about continuous message ranges. Messages from the database may be used as results of getChatHistory and (if implemented continuous ranges support for searching shared media) searchChatMessages. The messages should still be lazily checked using getHistory, but they are still available offline. It is the best way for gaps support, but it is pretty hard to implement correctly. It should be also noted that some messages like live location messages shouldn't be deleted. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.channelDifferenceTooLong +[Back to constructors index](index.md) + + + +The provided `pts + limit < remote pts`. Simply, there are too many updates to be fetched (more than `limit`), the client has to resolve the update gap in one of the following ways: + +1. Delete all known messages in the chat, begin from scratch by refetching all messages manually with [getHistory](../methods/messages.getHistory.md). It is easy to implement, but suddenly disappearing messages looks awful for the user. +2. Save all messages loaded in the memory until application restart, but delete all messages from database. Messages left in the memory must be lazily updated using calls to [getHistory](../methods/messages.getHistory.md). It looks much smoothly for the user, he will need to redownload messages only after client restart. Unsynchronized messages left in the memory shouldn't be saved to database, results of [getHistory](../methods/messages.getHistory.md) and [getMessages](../methods/messages.getMessages.md) must be used to update state of deleted and edited messages left in the memory. +3. Save all messages loaded in the memory and stored in the database without saving that some messages form continuous ranges. Messages in the database will be excluded from results of getChatHistory and searchChatMessages after application restart and will be available only through getMessage. Every message should still be checked using getHistory. It has more disadvantages over 2) than advantages. +4. Save all messages with saving all data about continuous message ranges. Messages from the database may be used as results of getChatHistory and (if implemented continuous ranges support for searching shared media) searchChatMessages. The messages should still be lazily checked using getHistory, but they are still available offline. It is the best way for gaps support, but it is pretty hard to implement correctly. It should be also noted that some messages like live location messages shouldn't be deleted. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates that must be fetched (always false)| +|pts|[int](../types/int.md) | Yes|Pts| +|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| +|top\_message|[int](../types/int.md) | Yes|Top message| +|read\_inbox\_max\_id|[int](../types/int.md) | Yes|Read inbox max ID| +|read\_outbox\_max\_id|[int](../types/int.md) | Yes|Read outbox max ID| +|unread\_count|[int](../types/int.md) | Yes|Unread count| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [updates.ChannelDifference](../types/updates.ChannelDifference.md) + + +### Example: + +```php +$updates.channelDifferenceTooLong = ['_' => 'updates.channelDifferenceTooLong', 'final' => Bool, 'pts' => int, 'timeout' => int, 'top_message' => int, 'read_inbox_max_id' => int, 'read_outbox_max_id' => int, 'unread_count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +updates.channelDifferenceTooLong={_='updates.channelDifferenceTooLong', final=Bool, pts=int, timeout=int, top_message=int, read_inbox_max_id=int, read_outbox_max_id=int, unread_count=int, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v66/constructors/updates.difference.md b/old_docs/API_docs_v66/constructors/updates.difference.md new file mode 100644 index 00000000..82541b51 --- /dev/null +++ b/old_docs/API_docs_v66/constructors/updates.difference.md @@ -0,0 +1,43 @@ +--- +title: updates.difference +description: Full list of occurred events. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.difference +[Back to constructors index](index.md) + + + +Full list of occurred events. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| +|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| +|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| +|state|[updates.State](../constructors/updates.State.md) | Yes|Current state| + + + +### Type: [updates.Difference](../types/updates.Difference.md) + + +### Example: + +```php +$updates.difference = ['_' => 'updates.difference', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates.State]; +``` + + +Or, if you're into Lua: + +```lua +updates.difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates.State} + +``` + + diff --git a/old_docs/API_docs_v66/constructors/updates.differenceEmpty.md b/old_docs/API_docs_v66/constructors/updates.differenceEmpty.md new file mode 100644 index 00000000..a9dc3bd0 --- /dev/null +++ b/old_docs/API_docs_v66/constructors/updates.differenceEmpty.md @@ -0,0 +1,39 @@ +--- +title: updates.differenceEmpty +description: No events. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.differenceEmpty +[Back to constructors index](index.md) + + + +No events. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Current date| +|seq|[int](../types/int.md) | Yes|Number of sent updates| + + + +### Type: [updates.Difference](../types/updates.Difference.md) + + +### Example: + +```php +$updates.differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int]; +``` + + +Or, if you're into Lua: + +```lua +updates.differenceEmpty={_='updates.differenceEmpty', date=int, seq=int} + +``` + + diff --git a/old_docs/API_docs_v66/constructors/updates.differenceSlice.md b/old_docs/API_docs_v66/constructors/updates.differenceSlice.md new file mode 100644 index 00000000..9daf7a75 --- /dev/null +++ b/old_docs/API_docs_v66/constructors/updates.differenceSlice.md @@ -0,0 +1,43 @@ +--- +title: updates.differenceSlice +description: Incomplete list of occurred events. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.differenceSlice +[Back to constructors index](index.md) + + + +Incomplete list of occurred events. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| +|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| +|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| +|intermediate\_state|[updates.State](../constructors/updates.State.md) | Yes|Intermediary state| + + + +### Type: [updates.Difference](../types/updates.Difference.md) + + +### Example: + +```php +$updates.differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'intermediate_state' => updates.State]; +``` + + +Or, if you're into Lua: + +```lua +updates.differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates.State} + +``` + + diff --git a/old_docs/API_docs_v66/constructors/updates.differenceTooLong.md b/old_docs/API_docs_v66/constructors/updates.differenceTooLong.md new file mode 100644 index 00000000..ef2e7e4d --- /dev/null +++ b/old_docs/API_docs_v66/constructors/updates.differenceTooLong.md @@ -0,0 +1,38 @@ +--- +title: updates.differenceTooLong +description: The difference is [too long](https://core.telegram.org/api/updates#recovering-gaps), and the specified state must be used to refetch updates. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.differenceTooLong +[Back to constructors index](index.md) + + + +The difference is [too long](https://core.telegram.org/api/updates#recovering-gaps), and the specified state must be used to refetch updates. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|The new state to use.| + + + +### Type: [updates.Difference](../types/updates.Difference.md) + + +### Example: + +```php +$updates.differenceTooLong = ['_' => 'updates.differenceTooLong', 'pts' => int]; +``` + + +Or, if you're into Lua: + +```lua +updates.differenceTooLong={_='updates.differenceTooLong', pts=int} + +``` + + diff --git a/old_docs/API_docs_v66/constructors/updates.state.md b/old_docs/API_docs_v66/constructors/updates.state.md new file mode 100644 index 00000000..abe9ddbb --- /dev/null +++ b/old_docs/API_docs_v66/constructors/updates.state.md @@ -0,0 +1,42 @@ +--- +title: updates.state +description: Updates state. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.state +[Back to constructors index](index.md) + + + +Updates state. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| +|qts|[int](../types/int.md) | Yes|Position in a sequence of updates in secret chats. For further detailes refer to article [secret chats](https://core.telegram.org/api/end-to-end)
Parameter was added in [eigth layer](https://core.telegram.org/api/layers#layer-8).| +|date|[int](../types/int.md) | Yes|Date of condition| +|seq|[int](../types/int.md) | Yes|Number of sent updates| +|unread\_count|[int](../types/int.md) | Yes|Number of unread messages| + + + +### Type: [updates.State](../types/updates.State.md) + + +### Example: + +```php +$updates.state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int]; +``` + + +Or, if you're into Lua: + +```lua +updates.state={_='updates.state', pts=int, qts=int, date=int, seq=int, unread_count=int} + +``` + + diff --git a/old_docs/API_docs_v66/constructors/updates_channelDifference.md b/old_docs/API_docs_v66/constructors/updates_channelDifference.md deleted file mode 100644 index 1b50fbf3..00000000 --- a/old_docs/API_docs_v66/constructors/updates_channelDifference.md +++ /dev/null @@ -1,44 +0,0 @@ ---- -title: updates.channelDifference -description: The new updates -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.channelDifference -[Back to constructors index](index.md) - - - -The new updates - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates to be fetched using getDifference, starting from the provided `pts`| -|pts|[int](../types/int.md) | Yes|The [PTS](https://core.telegram.org/api/updates) from which to start getting updates the next time| -|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| -|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| -|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) - - -### Example: - -```php -$updates_channelDifference = ['_' => 'updates.channelDifference', 'final' => Bool, 'pts' => int, 'timeout' => int, 'new_messages' => [Message, Message], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -updates_channelDifference={_='updates.channelDifference', final=Bool, pts=int, timeout=int, new_messages={Message}, other_updates={Update}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v66/constructors/updates_channelDifferenceEmpty.md b/old_docs/API_docs_v66/constructors/updates_channelDifferenceEmpty.md deleted file mode 100644 index 713137aa..00000000 --- a/old_docs/API_docs_v66/constructors/updates_channelDifferenceEmpty.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: updates.channelDifferenceEmpty -description: There are no new updates -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.channelDifferenceEmpty -[Back to constructors index](index.md) - - - -There are no new updates - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates that must be fetched (always false)| -|pts|[int](../types/int.md) | Yes|The latest [PTS](https://core.telegram.org/api/updates)| -|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| - - - -### Type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) - - -### Example: - -```php -$updates_channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'final' => Bool, 'pts' => int, 'timeout' => int]; -``` - - -Or, if you're into Lua: - -```lua -updates_channelDifferenceEmpty={_='updates.channelDifferenceEmpty', final=Bool, pts=int, timeout=int} - -``` - - diff --git a/old_docs/API_docs_v66/constructors/updates_channelDifferenceTooLong.md b/old_docs/API_docs_v66/constructors/updates_channelDifferenceTooLong.md deleted file mode 100644 index fe561bca..00000000 --- a/old_docs/API_docs_v66/constructors/updates_channelDifferenceTooLong.md +++ /dev/null @@ -1,57 +0,0 @@ ---- -title: updates.channelDifferenceTooLong -description: The provided `pts + limit < remote pts`. Simply, there are too many updates to be fetched (more than `limit`), the client has to resolve the update gap in one of the following ways: - -1. Delete all known messages in the chat, begin from scratch by refetching all messages manually with [getHistory](../methods/messages.getHistory.md). It is easy to implement, but suddenly disappearing messages looks awful for the user. -2. Save all messages loaded in the memory until application restart, but delete all messages from database. Messages left in the memory must be lazily updated using calls to [getHistory](../methods/messages.getHistory.md). It looks much smoothly for the user, he will need to redownload messages only after client restart. Unsynchronized messages left in the memory shouldn't be saved to database, results of [getHistory](../methods/messages.getHistory.md) and [getMessages](../methods/messages.getMessages.md) must be used to update state of deleted and edited messages left in the memory. -3. Save all messages loaded in the memory and stored in the database without saving that some messages form continuous ranges. Messages in the database will be excluded from results of getChatHistory and searchChatMessages after application restart and will be available only through getMessage. Every message should still be checked using getHistory. It has more disadvantages over 2) than advantages. -4. Save all messages with saving all data about continuous message ranges. Messages from the database may be used as results of getChatHistory and (if implemented continuous ranges support for searching shared media) searchChatMessages. The messages should still be lazily checked using getHistory, but they are still available offline. It is the best way for gaps support, but it is pretty hard to implement correctly. It should be also noted that some messages like live location messages shouldn't be deleted. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.channelDifferenceTooLong -[Back to constructors index](index.md) - - - -The provided `pts + limit < remote pts`. Simply, there are too many updates to be fetched (more than `limit`), the client has to resolve the update gap in one of the following ways: - -1. Delete all known messages in the chat, begin from scratch by refetching all messages manually with [getHistory](../methods/messages.getHistory.md). It is easy to implement, but suddenly disappearing messages looks awful for the user. -2. Save all messages loaded in the memory until application restart, but delete all messages from database. Messages left in the memory must be lazily updated using calls to [getHistory](../methods/messages.getHistory.md). It looks much smoothly for the user, he will need to redownload messages only after client restart. Unsynchronized messages left in the memory shouldn't be saved to database, results of [getHistory](../methods/messages.getHistory.md) and [getMessages](../methods/messages.getMessages.md) must be used to update state of deleted and edited messages left in the memory. -3. Save all messages loaded in the memory and stored in the database without saving that some messages form continuous ranges. Messages in the database will be excluded from results of getChatHistory and searchChatMessages after application restart and will be available only through getMessage. Every message should still be checked using getHistory. It has more disadvantages over 2) than advantages. -4. Save all messages with saving all data about continuous message ranges. Messages from the database may be used as results of getChatHistory and (if implemented continuous ranges support for searching shared media) searchChatMessages. The messages should still be lazily checked using getHistory, but they are still available offline. It is the best way for gaps support, but it is pretty hard to implement correctly. It should be also noted that some messages like live location messages shouldn't be deleted. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates that must be fetched (always false)| -|pts|[int](../types/int.md) | Yes|Pts| -|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| -|top\_message|[int](../types/int.md) | Yes|Top message| -|read\_inbox\_max\_id|[int](../types/int.md) | Yes|Read inbox max ID| -|read\_outbox\_max\_id|[int](../types/int.md) | Yes|Read outbox max ID| -|unread\_count|[int](../types/int.md) | Yes|Unread count| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) - - -### Example: - -```php -$updates_channelDifferenceTooLong = ['_' => 'updates.channelDifferenceTooLong', 'final' => Bool, 'pts' => int, 'timeout' => int, 'top_message' => int, 'read_inbox_max_id' => int, 'read_outbox_max_id' => int, 'unread_count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -updates_channelDifferenceTooLong={_='updates.channelDifferenceTooLong', final=Bool, pts=int, timeout=int, top_message=int, read_inbox_max_id=int, read_outbox_max_id=int, unread_count=int, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v66/constructors/updates_difference.md b/old_docs/API_docs_v66/constructors/updates_difference.md deleted file mode 100644 index 71ac7d4c..00000000 --- a/old_docs/API_docs_v66/constructors/updates_difference.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: updates.difference -description: Full list of occurred events. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.difference -[Back to constructors index](index.md) - - - -Full list of occurred events. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| -|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| -|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| -|state|[updates\_State](../types/updates_State.md) | Yes|Current state| - - - -### Type: [updates\_Difference](../types/updates_Difference.md) - - -### Example: - -```php -$updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates_State]; -``` - - -Or, if you're into Lua: - -```lua -updates_difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates_State} - -``` - - diff --git a/old_docs/API_docs_v66/constructors/updates_differenceEmpty.md b/old_docs/API_docs_v66/constructors/updates_differenceEmpty.md deleted file mode 100644 index c3c95c5a..00000000 --- a/old_docs/API_docs_v66/constructors/updates_differenceEmpty.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: updates.differenceEmpty -description: No events. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.differenceEmpty -[Back to constructors index](index.md) - - - -No events. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Current date| -|seq|[int](../types/int.md) | Yes|Number of sent updates| - - - -### Type: [updates\_Difference](../types/updates_Difference.md) - - -### Example: - -```php -$updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int]; -``` - - -Or, if you're into Lua: - -```lua -updates_differenceEmpty={_='updates.differenceEmpty', date=int, seq=int} - -``` - - diff --git a/old_docs/API_docs_v66/constructors/updates_differenceSlice.md b/old_docs/API_docs_v66/constructors/updates_differenceSlice.md deleted file mode 100644 index 8b12a369..00000000 --- a/old_docs/API_docs_v66/constructors/updates_differenceSlice.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: updates.differenceSlice -description: Incomplete list of occurred events. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.differenceSlice -[Back to constructors index](index.md) - - - -Incomplete list of occurred events. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| -|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| -|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| -|intermediate\_state|[updates\_State](../types/updates_State.md) | Yes|Intermediary state| - - - -### Type: [updates\_Difference](../types/updates_Difference.md) - - -### Example: - -```php -$updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'intermediate_state' => updates_State]; -``` - - -Or, if you're into Lua: - -```lua -updates_differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates_State} - -``` - - diff --git a/old_docs/API_docs_v66/constructors/updates_differenceTooLong.md b/old_docs/API_docs_v66/constructors/updates_differenceTooLong.md deleted file mode 100644 index 1fbdfa01..00000000 --- a/old_docs/API_docs_v66/constructors/updates_differenceTooLong.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: updates.differenceTooLong -description: The difference is [too long](https://core.telegram.org/api/updates#recovering-gaps), and the specified state must be used to refetch updates. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.differenceTooLong -[Back to constructors index](index.md) - - - -The difference is [too long](https://core.telegram.org/api/updates#recovering-gaps), and the specified state must be used to refetch updates. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|The new state to use.| - - - -### Type: [updates\_Difference](../types/updates_Difference.md) - - -### Example: - -```php -$updates_differenceTooLong = ['_' => 'updates.differenceTooLong', 'pts' => int]; -``` - - -Or, if you're into Lua: - -```lua -updates_differenceTooLong={_='updates.differenceTooLong', pts=int} - -``` - - diff --git a/old_docs/API_docs_v66/constructors/updates_state.md b/old_docs/API_docs_v66/constructors/updates_state.md deleted file mode 100644 index ef3698e2..00000000 --- a/old_docs/API_docs_v66/constructors/updates_state.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: updates.state -description: Updates state. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.state -[Back to constructors index](index.md) - - - -Updates state. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| -|qts|[int](../types/int.md) | Yes|Position in a sequence of updates in secret chats. For further detailes refer to article [secret chats](https://core.telegram.org/api/end-to-end)
Parameter was added in [eigth layer](https://core.telegram.org/api/layers#layer-8).| -|date|[int](../types/int.md) | Yes|Date of condition| -|seq|[int](../types/int.md) | Yes|Number of sent updates| -|unread\_count|[int](../types/int.md) | Yes|Number of unread messages| - - - -### Type: [updates\_State](../types/updates_State.md) - - -### Example: - -```php -$updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int]; -``` - - -Or, if you're into Lua: - -```lua -updates_state={_='updates.state', pts=int, qts=int, date=int, seq=int, unread_count=int} - -``` - - diff --git a/old_docs/API_docs_v66/constructors/upload.cdnFile.md b/old_docs/API_docs_v66/constructors/upload.cdnFile.md new file mode 100644 index 00000000..d6d75513 --- /dev/null +++ b/old_docs/API_docs_v66/constructors/upload.cdnFile.md @@ -0,0 +1,38 @@ +--- +title: upload.cdnFile +description: Represent a chunk of a [CDN](https://core.telegram.org/cdn) file. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: upload.cdnFile +[Back to constructors index](index.md) + + + +Represent a chunk of a [CDN](https://core.telegram.org/cdn) file. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|bytes|[bytes](../types/bytes.md) | Yes|The data| + + + +### Type: [upload.CdnFile](../types/upload.CdnFile.md) + + +### Example: + +```php +$upload.cdnFile = ['_' => 'upload.cdnFile', 'bytes' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +upload.cdnFile={_='upload.cdnFile', bytes='bytes'} + +``` + + diff --git a/old_docs/API_docs_v66/constructors/upload.cdnFileReuploadNeeded.md b/old_docs/API_docs_v66/constructors/upload.cdnFileReuploadNeeded.md new file mode 100644 index 00000000..7c461a87 --- /dev/null +++ b/old_docs/API_docs_v66/constructors/upload.cdnFileReuploadNeeded.md @@ -0,0 +1,38 @@ +--- +title: upload.cdnFileReuploadNeeded +description: The file was cleared from the temporary RAM cache of the [CDN](https://core.telegram.org/cdn) and has to be reuploaded. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: upload.cdnFileReuploadNeeded +[Back to constructors index](index.md) + + + +The file was cleared from the temporary RAM cache of the [CDN](https://core.telegram.org/cdn) and has to be reuploaded. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|request\_token|[bytes](../types/bytes.md) | Yes|Request token (see [CDN](https://core.telegram.org/cdn))| + + + +### Type: [upload.CdnFile](../types/upload.CdnFile.md) + + +### Example: + +```php +$upload.cdnFileReuploadNeeded = ['_' => 'upload.cdnFileReuploadNeeded', 'request_token' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +upload.cdnFileReuploadNeeded={_='upload.cdnFileReuploadNeeded', request_token='bytes'} + +``` + + diff --git a/old_docs/API_docs_v66/constructors/upload.file.md b/old_docs/API_docs_v66/constructors/upload.file.md new file mode 100644 index 00000000..145a4c24 --- /dev/null +++ b/old_docs/API_docs_v66/constructors/upload.file.md @@ -0,0 +1,40 @@ +--- +title: upload.file +description: File content. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: upload.file +[Back to constructors index](index.md) + + + +File content. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|type|[storage.FileType](../constructors/storage.FileType.md) | Yes|File type| +|mtime|[int](../types/int.md) | Yes|Modification type| +|bytes|[bytes](../types/bytes.md) | Yes|Binary data, file content| + + + +### Type: [upload.File](../types/upload.File.md) + + +### Example: + +```php +$upload.file = ['_' => 'upload.file', 'type' => storage.FileType, 'mtime' => int, 'bytes' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +upload.file={_='upload.file', type=storage.FileType, mtime=int, bytes='bytes'} + +``` + + diff --git a/old_docs/API_docs_v66/constructors/upload.fileCdnRedirect.md b/old_docs/API_docs_v66/constructors/upload.fileCdnRedirect.md new file mode 100644 index 00000000..94aee7bb --- /dev/null +++ b/old_docs/API_docs_v66/constructors/upload.fileCdnRedirect.md @@ -0,0 +1,41 @@ +--- +title: upload.fileCdnRedirect +description: The file must be downloaded from a [CDN DC](https://core.telegram.org/cdn). +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: upload.fileCdnRedirect +[Back to constructors index](index.md) + + + +The file must be downloaded from a [CDN DC](https://core.telegram.org/cdn). + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|dc\_id|[int](../types/int.md) | Yes|[CDN DC](https://core.telegram.org/cdn) ID| +|file\_token|[bytes](../types/bytes.md) | Yes|File token (see [CDN files](https://core.telegram.org/cdn)| +|encryption\_key|[bytes](../types/bytes.md) | Yes|Encryption key (see [CDN files](https://core.telegram.org/cdn)| +|encryption\_iv|[bytes](../types/bytes.md) | Yes|Encryption IV (see [CDN files](https://core.telegram.org/cdn)| + + + +### Type: [upload.File](../types/upload.File.md) + + +### Example: + +```php +$upload.fileCdnRedirect = ['_' => 'upload.fileCdnRedirect', 'dc_id' => int, 'file_token' => 'bytes', 'encryption_key' => 'bytes', 'encryption_iv' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +upload.fileCdnRedirect={_='upload.fileCdnRedirect', dc_id=int, file_token='bytes', encryption_key='bytes', encryption_iv='bytes'} + +``` + + diff --git a/old_docs/API_docs_v66/constructors/upload.webFile.md b/old_docs/API_docs_v66/constructors/upload.webFile.md new file mode 100644 index 00000000..a93ea94f --- /dev/null +++ b/old_docs/API_docs_v66/constructors/upload.webFile.md @@ -0,0 +1,42 @@ +--- +title: upload.webFile +description: Represents a chunk of an [HTTP webfile](https://core.telegram.org/api/files) downloaded through telegram's secure MTProto servers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: upload.webFile +[Back to constructors index](index.md) + + + +Represents a chunk of an [HTTP webfile](https://core.telegram.org/api/files) downloaded through telegram's secure MTProto servers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|size|[int](../types/int.md) | Yes|File size| +|mime\_type|[string](../types/string.md) | Yes|Mime type| +|file\_type|[storage.FileType](../constructors/storage.FileType.md) | Yes|File type| +|mtime|[int](../types/int.md) | Yes|Modified time| +|bytes|[bytes](../types/bytes.md) | Yes|Data| + + + +### Type: [upload.WebFile](../types/upload.WebFile.md) + + +### Example: + +```php +$upload.webFile = ['_' => 'upload.webFile', 'size' => int, 'mime_type' => 'string', 'file_type' => storage.FileType, 'mtime' => int, 'bytes' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +upload.webFile={_='upload.webFile', size=int, mime_type='string', file_type=storage.FileType, mtime=int, bytes='bytes'} + +``` + + diff --git a/old_docs/API_docs_v66/constructors/upload_cdnFile.md b/old_docs/API_docs_v66/constructors/upload_cdnFile.md deleted file mode 100644 index 019b8742..00000000 --- a/old_docs/API_docs_v66/constructors/upload_cdnFile.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: upload.cdnFile -description: Represent a chunk of a [CDN](https://core.telegram.org/cdn) file. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: upload.cdnFile -[Back to constructors index](index.md) - - - -Represent a chunk of a [CDN](https://core.telegram.org/cdn) file. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|bytes|[bytes](../types/bytes.md) | Yes|The data| - - - -### Type: [upload\_CdnFile](../types/upload_CdnFile.md) - - -### Example: - -```php -$upload_cdnFile = ['_' => 'upload.cdnFile', 'bytes' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -upload_cdnFile={_='upload.cdnFile', bytes='bytes'} - -``` - - diff --git a/old_docs/API_docs_v66/constructors/upload_cdnFileReuploadNeeded.md b/old_docs/API_docs_v66/constructors/upload_cdnFileReuploadNeeded.md deleted file mode 100644 index 6588a596..00000000 --- a/old_docs/API_docs_v66/constructors/upload_cdnFileReuploadNeeded.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: upload.cdnFileReuploadNeeded -description: The file was cleared from the temporary RAM cache of the [CDN](https://core.telegram.org/cdn) and has to be reuploaded. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: upload.cdnFileReuploadNeeded -[Back to constructors index](index.md) - - - -The file was cleared from the temporary RAM cache of the [CDN](https://core.telegram.org/cdn) and has to be reuploaded. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|request\_token|[bytes](../types/bytes.md) | Yes|Request token (see [CDN](https://core.telegram.org/cdn))| - - - -### Type: [upload\_CdnFile](../types/upload_CdnFile.md) - - -### Example: - -```php -$upload_cdnFileReuploadNeeded = ['_' => 'upload.cdnFileReuploadNeeded', 'request_token' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -upload_cdnFileReuploadNeeded={_='upload.cdnFileReuploadNeeded', request_token='bytes'} - -``` - - diff --git a/old_docs/API_docs_v66/constructors/upload_file.md b/old_docs/API_docs_v66/constructors/upload_file.md deleted file mode 100644 index 1e07d9fb..00000000 --- a/old_docs/API_docs_v66/constructors/upload_file.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: upload.file -description: File content. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: upload.file -[Back to constructors index](index.md) - - - -File content. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|type|[storage\_FileType](../types/storage_FileType.md) | Yes|File type| -|mtime|[int](../types/int.md) | Yes|Modification type| -|bytes|[bytes](../types/bytes.md) | Yes|Binary data, file content| - - - -### Type: [upload\_File](../types/upload_File.md) - - -### Example: - -```php -$upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int, 'bytes' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -upload_file={_='upload.file', type=storage_FileType, mtime=int, bytes='bytes'} - -``` - - diff --git a/old_docs/API_docs_v66/constructors/upload_fileCdnRedirect.md b/old_docs/API_docs_v66/constructors/upload_fileCdnRedirect.md deleted file mode 100644 index 4bf6f27b..00000000 --- a/old_docs/API_docs_v66/constructors/upload_fileCdnRedirect.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: upload.fileCdnRedirect -description: The file must be downloaded from a [CDN DC](https://core.telegram.org/cdn). -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: upload.fileCdnRedirect -[Back to constructors index](index.md) - - - -The file must be downloaded from a [CDN DC](https://core.telegram.org/cdn). - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|dc\_id|[int](../types/int.md) | Yes|[CDN DC](https://core.telegram.org/cdn) ID| -|file\_token|[bytes](../types/bytes.md) | Yes|File token (see [CDN files](https://core.telegram.org/cdn)| -|encryption\_key|[bytes](../types/bytes.md) | Yes|Encryption key (see [CDN files](https://core.telegram.org/cdn)| -|encryption\_iv|[bytes](../types/bytes.md) | Yes|Encryption IV (see [CDN files](https://core.telegram.org/cdn)| - - - -### Type: [upload\_File](../types/upload_File.md) - - -### Example: - -```php -$upload_fileCdnRedirect = ['_' => 'upload.fileCdnRedirect', 'dc_id' => int, 'file_token' => 'bytes', 'encryption_key' => 'bytes', 'encryption_iv' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -upload_fileCdnRedirect={_='upload.fileCdnRedirect', dc_id=int, file_token='bytes', encryption_key='bytes', encryption_iv='bytes'} - -``` - - diff --git a/old_docs/API_docs_v66/constructors/upload_webFile.md b/old_docs/API_docs_v66/constructors/upload_webFile.md deleted file mode 100644 index ee8053b1..00000000 --- a/old_docs/API_docs_v66/constructors/upload_webFile.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: upload.webFile -description: Represents a chunk of an [HTTP webfile](https://core.telegram.org/api/files) downloaded through telegram's secure MTProto servers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: upload.webFile -[Back to constructors index](index.md) - - - -Represents a chunk of an [HTTP webfile](https://core.telegram.org/api/files) downloaded through telegram's secure MTProto servers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|size|[int](../types/int.md) | Yes|File size| -|mime\_type|[string](../types/string.md) | Yes|Mime type| -|file\_type|[storage\_FileType](../types/storage_FileType.md) | Yes|File type| -|mtime|[int](../types/int.md) | Yes|Modified time| -|bytes|[bytes](../types/bytes.md) | Yes|Data| - - - -### Type: [upload\_WebFile](../types/upload_WebFile.md) - - -### Example: - -```php -$upload_webFile = ['_' => 'upload.webFile', 'size' => int, 'mime_type' => 'string', 'file_type' => storage_FileType, 'mtime' => int, 'bytes' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -upload_webFile={_='upload.webFile', size=int, mime_type='string', file_type=storage_FileType, mtime=int, bytes='bytes'} - -``` - - diff --git a/old_docs/API_docs_v66/constructors/userFull.md b/old_docs/API_docs_v66/constructors/userFull.md index 31af6535..e44e0673 100644 --- a/old_docs/API_docs_v66/constructors/userFull.md +++ b/old_docs/API_docs_v66/constructors/userFull.md @@ -19,7 +19,7 @@ Extended user info |phone\_calls\_private|[Bool](../types/Bool.md) | Optional|Whether this user's privacy settings allow you to call him| |user|[User](../types/User.md) | Optional|Remaining user info| |about|[string](../types/string.md) | Optional|Bio of the user| -|link|[contacts\_Link](../types/contacts_Link.md) | Yes|Link| +|link|[contacts.Link](../constructors/contacts.Link.md) | Yes|Link| |profile\_photo|[Photo](../types/Photo.md) | Optional|Profile photo| |notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Optional|Notification settings| |bot\_info|[BotInfo](../types/BotInfo.md) | Optional|For bots, info about the bot (bot commands, etc)| @@ -33,14 +33,14 @@ Extended user info ### Example: ```php -$userFull = ['_' => 'userFull', 'blocked' => Bool, 'phone_calls_available' => Bool, 'phone_calls_private' => Bool, 'user' => User, 'about' => 'string', 'link' => contacts_Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'bot_info' => BotInfo, 'common_chats_count' => int]; +$userFull = ['_' => 'userFull', 'blocked' => Bool, 'phone_calls_available' => Bool, 'phone_calls_private' => Bool, 'user' => User, 'about' => 'string', 'link' => contacts.Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'bot_info' => BotInfo, 'common_chats_count' => int]; ``` Or, if you're into Lua: ```lua -userFull={_='userFull', blocked=Bool, phone_calls_available=Bool, phone_calls_private=Bool, user=User, about='string', link=contacts_Link, profile_photo=Photo, notify_settings=PeerNotifySettings, bot_info=BotInfo, common_chats_count=int} +userFull={_='userFull', blocked=Bool, phone_calls_available=Bool, phone_calls_private=Bool, user=User, about='string', link=contacts.Link, profile_photo=Photo, notify_settings=PeerNotifySettings, bot_info=BotInfo, common_chats_count=int} ``` diff --git a/old_docs/API_docs_v66/methods/account.getAuthorizations.md b/old_docs/API_docs_v66/methods/account.getAuthorizations.md index f69c130a..fad3a7ae 100644 --- a/old_docs/API_docs_v66/methods/account.getAuthorizations.md +++ b/old_docs/API_docs_v66/methods/account.getAuthorizations.md @@ -11,7 +11,7 @@ Get logged-in sessions -### Return type: [account\_Authorizations](../types/account_Authorizations.md) +### Return type: [account.Authorizations](../types/account.Authorizations.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_Authorizations = $MadelineProto->account->getAuthorizations(); +$account.Authorizations = $MadelineProto->account->getAuthorizations(); ``` Or, if you're into Lua: ```lua -account_Authorizations = account.getAuthorizations({}) +account.Authorizations = account.getAuthorizations({}) ``` diff --git a/old_docs/API_docs_v66/methods/account.getPassword.md b/old_docs/API_docs_v66/methods/account.getPassword.md index eed4aee3..621271b6 100644 --- a/old_docs/API_docs_v66/methods/account.getPassword.md +++ b/old_docs/API_docs_v66/methods/account.getPassword.md @@ -11,7 +11,7 @@ Obtain configuration for two-factor authorization with password -### Return type: [account\_Password](../types/account_Password.md) +### Return type: [account.Password](../types/account.Password.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_Password = $MadelineProto->account->getPassword(); +$account.Password = $MadelineProto->account->getPassword(); ``` Or, if you're into Lua: ```lua -account_Password = account.getPassword({}) +account.Password = account.getPassword({}) ``` diff --git a/old_docs/API_docs_v66/methods/account.getPasswordSettings.md b/old_docs/API_docs_v66/methods/account.getPasswordSettings.md index dcdae61a..3d3cce08 100644 --- a/old_docs/API_docs_v66/methods/account.getPasswordSettings.md +++ b/old_docs/API_docs_v66/methods/account.getPasswordSettings.md @@ -16,7 +16,7 @@ You cannot use this method directly; use $MadelineProto->update_2fa($params), in |current\_password\_hash|[bytes](../types/bytes.md) | You cannot use this method directly; use $MadelineProto->update_2fa($params), instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [account\_PasswordSettings](../types/account_PasswordSettings.md) +### Return type: [account.PasswordSettings](../types/account.PasswordSettings.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_PasswordSettings = $MadelineProto->account->getPasswordSettings(['current_password_hash' => 'bytes', ]); +$account.PasswordSettings = $MadelineProto->account->getPasswordSettings(['current_password_hash' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -account_PasswordSettings = account.getPasswordSettings({current_password_hash='bytes', }) +account.PasswordSettings = account.getPasswordSettings({current_password_hash='bytes', }) ``` ### Errors diff --git a/old_docs/API_docs_v66/methods/account.getPrivacy.md b/old_docs/API_docs_v66/methods/account.getPrivacy.md index 6a240129..e20c292c 100644 --- a/old_docs/API_docs_v66/methods/account.getPrivacy.md +++ b/old_docs/API_docs_v66/methods/account.getPrivacy.md @@ -16,7 +16,7 @@ Get privacy settings of current account |key|[InputPrivacyKey](../types/InputPrivacyKey.md) | Peer category whose privacy settings should be fetched | Yes| -### Return type: [account\_PrivacyRules](../types/account_PrivacyRules.md) +### Return type: [account.PrivacyRules](../types/account.PrivacyRules.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_PrivacyRules = $MadelineProto->account->getPrivacy(['key' => InputPrivacyKey, ]); +$account.PrivacyRules = $MadelineProto->account->getPrivacy(['key' => InputPrivacyKey, ]); ``` Or, if you're into Lua: ```lua -account_PrivacyRules = account.getPrivacy({key=InputPrivacyKey, }) +account.PrivacyRules = account.getPrivacy({key=InputPrivacyKey, }) ``` ### Errors diff --git a/old_docs/API_docs_v66/methods/account.getTmpPassword.md b/old_docs/API_docs_v66/methods/account.getTmpPassword.md index 4f269586..7e05a423 100644 --- a/old_docs/API_docs_v66/methods/account.getTmpPassword.md +++ b/old_docs/API_docs_v66/methods/account.getTmpPassword.md @@ -17,7 +17,7 @@ Get temporary payment password |period|[int](../types/int.md) | Time during which the temporary password will be valid, in seconds; should be between 60 and 86400 | Yes| -### Return type: [account\_TmpPassword](../types/account_TmpPassword.md) +### Return type: [account.TmpPassword](../types/account.TmpPassword.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_TmpPassword = $MadelineProto->account->getTmpPassword(['password_hash' => 'bytes', 'period' => int, ]); +$account.TmpPassword = $MadelineProto->account->getTmpPassword(['password_hash' => 'bytes', 'period' => int, ]); ``` Or, if you're into Lua: ```lua -account_TmpPassword = account.getTmpPassword({password_hash='bytes', period=int, }) +account.TmpPassword = account.getTmpPassword({password_hash='bytes', period=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v66/methods/account.sendChangePhoneCode.md b/old_docs/API_docs_v66/methods/account.sendChangePhoneCode.md index 0f81306e..30589ffa 100644 --- a/old_docs/API_docs_v66/methods/account.sendChangePhoneCode.md +++ b/old_docs/API_docs_v66/methods/account.sendChangePhoneCode.md @@ -18,7 +18,7 @@ Verify a new phone number to associate to the current account |current\_number|[Bool](../types/Bool.md) | Current phone number | Optional| -### Return type: [auth\_SentCode](../types/auth_SentCode.md) +### Return type: [auth.SentCode](../types/auth.SentCode.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_SentCode = $MadelineProto->account->sendChangePhoneCode(['allow_flashcall' => Bool, 'phone_number' => 'string', 'current_number' => Bool, ]); +$auth.SentCode = $MadelineProto->account->sendChangePhoneCode(['allow_flashcall' => Bool, 'phone_number' => 'string', 'current_number' => Bool, ]); ``` Or, if you're into Lua: ```lua -auth_SentCode = account.sendChangePhoneCode({allow_flashcall=Bool, phone_number='string', current_number=Bool, }) +auth.SentCode = account.sendChangePhoneCode({allow_flashcall=Bool, phone_number='string', current_number=Bool, }) ``` ### Errors diff --git a/old_docs/API_docs_v66/methods/account.sendConfirmPhoneCode.md b/old_docs/API_docs_v66/methods/account.sendConfirmPhoneCode.md index 68ba8fd3..9ec24f07 100644 --- a/old_docs/API_docs_v66/methods/account.sendConfirmPhoneCode.md +++ b/old_docs/API_docs_v66/methods/account.sendConfirmPhoneCode.md @@ -18,7 +18,7 @@ Send confirmation code to cancel account deletion, for more info [click here »] |current\_number|[Bool](../types/Bool.md) | The current phone number | Optional| -### Return type: [auth\_SentCode](../types/auth_SentCode.md) +### Return type: [auth.SentCode](../types/auth.SentCode.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_SentCode = $MadelineProto->account->sendConfirmPhoneCode(['allow_flashcall' => Bool, 'hash' => 'string', 'current_number' => Bool, ]); +$auth.SentCode = $MadelineProto->account->sendConfirmPhoneCode(['allow_flashcall' => Bool, 'hash' => 'string', 'current_number' => Bool, ]); ``` Or, if you're into Lua: ```lua -auth_SentCode = account.sendConfirmPhoneCode({allow_flashcall=Bool, hash='string', current_number=Bool, }) +auth.SentCode = account.sendConfirmPhoneCode({allow_flashcall=Bool, hash='string', current_number=Bool, }) ``` ### Errors diff --git a/old_docs/API_docs_v66/methods/account.setPrivacy.md b/old_docs/API_docs_v66/methods/account.setPrivacy.md index 7c4cfba7..096d373e 100644 --- a/old_docs/API_docs_v66/methods/account.setPrivacy.md +++ b/old_docs/API_docs_v66/methods/account.setPrivacy.md @@ -17,7 +17,7 @@ Change privacy settings of current account |rules|Array of [InputPrivacyRule](../types/InputPrivacyRule.md) | Privacy settings | Yes| -### Return type: [account\_PrivacyRules](../types/account_PrivacyRules.md) +### Return type: [account.PrivacyRules](../types/account.PrivacyRules.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_PrivacyRules = $MadelineProto->account->setPrivacy(['key' => InputPrivacyKey, 'rules' => [InputPrivacyRule, InputPrivacyRule], ]); +$account.PrivacyRules = $MadelineProto->account->setPrivacy(['key' => InputPrivacyKey, 'rules' => [InputPrivacyRule, InputPrivacyRule], ]); ``` Or, if you're into Lua: ```lua -account_PrivacyRules = account.setPrivacy({key=InputPrivacyKey, rules={InputPrivacyRule}, }) +account.PrivacyRules = account.setPrivacy({key=InputPrivacyKey, rules={InputPrivacyRule}, }) ``` ### Errors diff --git a/old_docs/API_docs_v66/methods/api_README.md b/old_docs/API_docs_v66/methods/api_README.md index b615f112..e042e2a9 100644 --- a/old_docs/API_docs_v66/methods/api_README.md +++ b/old_docs/API_docs_v66/methods/api_README.md @@ -56,7 +56,7 @@ $MadelineProto->[account->getAccountTTL](account.getAccountTTL.md)(\[\]) === [$A ***

-$MadelineProto->[account->getAuthorizations](account.getAuthorizations.md)(\[\]) === [$account\_Authorizations](../types/account_Authorizations.md) +$MadelineProto->[account->getAuthorizations](account.getAuthorizations.md)(\[\]) === [$account.Authorizations](../types/account.Authorizations.md) ***

@@ -64,19 +64,19 @@ $MadelineProto->[account->getNotifySettings](account.getNotifySettings.md)(\['pe ***

-$MadelineProto->[account->getPassword](account.getPassword.md)(\[\]) === [$account\_Password](../types/account_Password.md) +$MadelineProto->[account->getPassword](account.getPassword.md)(\[\]) === [$account.Password](../types/account.Password.md) ***

-$MadelineProto->[account->getPasswordSettings](account.getPasswordSettings.md)(\['current_password_hash' => [bytes](../types/bytes.md), \]) === [$account\_PasswordSettings](../types/account_PasswordSettings.md) +$MadelineProto->[account->getPasswordSettings](account.getPasswordSettings.md)(\['current_password_hash' => [bytes](../types/bytes.md), \]) === [$account.PasswordSettings](../types/account.PasswordSettings.md) ***

-$MadelineProto->[account->getPrivacy](account.getPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), \]) === [$account\_PrivacyRules](../types/account_PrivacyRules.md) +$MadelineProto->[account->getPrivacy](account.getPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), \]) === [$account.PrivacyRules](../types/account.PrivacyRules.md) ***

-$MadelineProto->[account->getTmpPassword](account.getTmpPassword.md)(\['password_hash' => [bytes](../types/bytes.md), 'period' => [int](../types/int.md), \]) === [$account\_TmpPassword](../types/account_TmpPassword.md) +$MadelineProto->[account->getTmpPassword](account.getTmpPassword.md)(\['password_hash' => [bytes](../types/bytes.md), 'period' => [int](../types/int.md), \]) === [$account.TmpPassword](../types/account.TmpPassword.md) ***

@@ -100,11 +100,11 @@ $MadelineProto->[account->resetNotifySettings](account.resetNotifySettings.md)(\ ***

-$MadelineProto->[account->sendChangePhoneCode](account.sendChangePhoneCode.md)(\['allow_flashcall' => [Bool](../types/Bool.md), 'phone_number' => [string](../types/string.md), 'current_number' => [Bool](../types/Bool.md), \]) === [$auth\_SentCode](../types/auth_SentCode.md) +$MadelineProto->[account->sendChangePhoneCode](account.sendChangePhoneCode.md)(\['allow_flashcall' => [Bool](../types/Bool.md), 'phone_number' => [string](../types/string.md), 'current_number' => [Bool](../types/Bool.md), \]) === [$auth.SentCode](../types/auth.SentCode.md) ***

-$MadelineProto->[account->sendConfirmPhoneCode](account.sendConfirmPhoneCode.md)(\['allow_flashcall' => [Bool](../types/Bool.md), 'hash' => [string](../types/string.md), 'current_number' => [Bool](../types/Bool.md), \]) === [$auth\_SentCode](../types/auth_SentCode.md) +$MadelineProto->[account->sendConfirmPhoneCode](account.sendConfirmPhoneCode.md)(\['allow_flashcall' => [Bool](../types/Bool.md), 'hash' => [string](../types/string.md), 'current_number' => [Bool](../types/Bool.md), \]) === [$auth.SentCode](../types/auth.SentCode.md) ***

@@ -112,7 +112,7 @@ $MadelineProto->[account->setAccountTTL](account.setAccountTTL.md)(\['ttl' => [A ***

-$MadelineProto->[account->setPrivacy](account.setPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), 'rules' => \[[InputPrivacyRule](../types/InputPrivacyRule.md)\], \]) === [$account\_PrivacyRules](../types/account_PrivacyRules.md) +$MadelineProto->[account->setPrivacy](account.setPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), 'rules' => \[[InputPrivacyRule](../types/InputPrivacyRule.md)\], \]) === [$account.PrivacyRules](../types/account.PrivacyRules.md) ***

@@ -152,11 +152,11 @@ $MadelineProto->[auth->cancelCode](auth.cancelCode.md)(\['phone_number' => [stri ***

-$MadelineProto->[auth->checkPassword](auth.checkPassword.md)(\['password_hash' => [bytes](../types/bytes.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->checkPassword](auth.checkPassword.md)(\['password_hash' => [bytes](../types/bytes.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

-$MadelineProto->[auth->checkPhone](auth.checkPhone.md)(\['phone_number' => [string](../types/string.md), \]) === [$auth\_CheckedPhone](../types/auth_CheckedPhone.md) +$MadelineProto->[auth->checkPhone](auth.checkPhone.md)(\['phone_number' => [string](../types/string.md), \]) === [$auth.CheckedPhone](../types/auth.CheckedPhone.md) ***

@@ -164,15 +164,15 @@ $MadelineProto->[auth->dropTempAuthKeys](auth.dropTempAuthKeys.md)(\['except_aut ***

-$MadelineProto->[auth->exportAuthorization](auth.exportAuthorization.md)(\['dc_id' => [int](../types/int.md), \]) === [$auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) +$MadelineProto->[auth->exportAuthorization](auth.exportAuthorization.md)(\['dc_id' => [int](../types/int.md), \]) === [$auth.ExportedAuthorization](../types/auth.ExportedAuthorization.md) ***

-$MadelineProto->[auth->importAuthorization](auth.importAuthorization.md)(\['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->importAuthorization](auth.importAuthorization.md)(\['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

-$MadelineProto->[auth->importBotAuthorization](auth.importBotAuthorization.md)(\['api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), 'bot_auth_token' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->importBotAuthorization](auth.importBotAuthorization.md)(\['api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), 'bot_auth_token' => [string](../types/string.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

@@ -180,15 +180,15 @@ $MadelineProto->[auth->logOut](auth.logOut.md)(\[\]) === [$Bool](../types/Bool.m ***

-$MadelineProto->[auth->recoverPassword](auth.recoverPassword.md)(\['code' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->recoverPassword](auth.recoverPassword.md)(\['code' => [string](../types/string.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

-$MadelineProto->[auth->requestPasswordRecovery](auth.requestPasswordRecovery.md)(\[\]) === [$auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) +$MadelineProto->[auth->requestPasswordRecovery](auth.requestPasswordRecovery.md)(\[\]) === [$auth.PasswordRecovery](../types/auth.PasswordRecovery.md) ***

-$MadelineProto->[auth->resendCode](auth.resendCode.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), \]) === [$auth\_SentCode](../types/auth_SentCode.md) +$MadelineProto->[auth->resendCode](auth.resendCode.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), \]) === [$auth.SentCode](../types/auth.SentCode.md) ***

@@ -196,7 +196,7 @@ $MadelineProto->[auth->resetAuthorizations](auth.resetAuthorizations.md)(\[\]) = ***

-$MadelineProto->[auth->sendCode](auth.sendCode.md)(\['allow_flashcall' => [Bool](../types/Bool.md), 'phone_number' => [string](../types/string.md), 'current_number' => [Bool](../types/Bool.md), 'api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), \]) === [$auth\_SentCode](../types/auth_SentCode.md) +$MadelineProto->[auth->sendCode](auth.sendCode.md)(\['allow_flashcall' => [Bool](../types/Bool.md), 'phone_number' => [string](../types/string.md), 'current_number' => [Bool](../types/Bool.md), 'api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), \]) === [$auth.SentCode](../types/auth.SentCode.md) ***

@@ -204,11 +204,11 @@ $MadelineProto->[auth->sendInvites](auth.sendInvites.md)(\['phone_numbers' => \[ ***

-$MadelineProto->[auth->signIn](auth.signIn.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->signIn](auth.signIn.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

-$MadelineProto->[auth->signUp](auth.signUp.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->signUp](auth.signUp.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

@@ -232,11 +232,11 @@ $MadelineProto->[channels->deleteChannel](channels.deleteChannel.md)(\['channel' ***

-$MadelineProto->[channels->deleteMessages](channels.deleteMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) +$MadelineProto->[channels->deleteMessages](channels.deleteMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages.AffectedMessages](../types/messages.AffectedMessages.md) ***

-$MadelineProto->[channels->deleteUserHistory](channels.deleteUserHistory.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages\_AffectedHistory](../types/messages_AffectedHistory.md) +$MadelineProto->[channels->deleteUserHistory](channels.deleteUserHistory.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages.AffectedHistory](../types/messages.AffectedHistory.md) ***

@@ -264,27 +264,27 @@ $MadelineProto->[channels->exportMessageLink](channels.exportMessageLink.md)(\[' ***

-$MadelineProto->[channels->getAdminedPublicChannels](channels.getAdminedPublicChannels.md)(\[\]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[channels->getAdminedPublicChannels](channels.getAdminedPublicChannels.md)(\[\]) === [$messages.Chats](../types/messages.Chats.md) ***

-$MadelineProto->[channels->getChannels](channels.getChannels.md)(\['id' => \[[InputChannel](../types/InputChannel.md)\], \]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[channels->getChannels](channels.getChannels.md)(\['id' => \[[InputChannel](../types/InputChannel.md)\], \]) === [$messages.Chats](../types/messages.Chats.md) ***

-$MadelineProto->[channels->getFullChannel](channels.getFullChannel.md)(\['channel' => [InputChannel](../types/InputChannel.md), \]) === [$messages\_ChatFull](../types/messages_ChatFull.md) +$MadelineProto->[channels->getFullChannel](channels.getFullChannel.md)(\['channel' => [InputChannel](../types/InputChannel.md), \]) === [$messages.ChatFull](../types/messages.ChatFull.md) ***

-$MadelineProto->[channels->getMessages](channels.getMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[channels->getMessages](channels.getMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[channels->getParticipant](channels.getParticipant.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$channels\_ChannelParticipant](../types/channels_ChannelParticipant.md) +$MadelineProto->[channels->getParticipant](channels.getParticipant.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$channels.ChannelParticipant](../types/channels.ChannelParticipant.md) ***

-$MadelineProto->[channels->getParticipants](channels.getParticipants.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$channels\_ChannelParticipants](../types/channels_ChannelParticipants.md) +$MadelineProto->[channels->getParticipants](channels.getParticipants.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$channels.ChannelParticipants](../types/channels.ChannelParticipants.md) ***

@@ -332,7 +332,7 @@ $MadelineProto->[contacts->block](contacts.block.md)(\['id' => [InputUser](../ty ***

-$MadelineProto->[contacts->deleteContact](contacts.deleteContact.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$contacts\_Link](../types/contacts_Link.md) +$MadelineProto->[contacts->deleteContact](contacts.deleteContact.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$contacts.Link](../types/contacts.Link.md) ***

@@ -344,11 +344,11 @@ $MadelineProto->[contacts->exportCard](contacts.exportCard.md)(\[\]) === [$Vecto ***

-$MadelineProto->[contacts->getBlocked](contacts.getBlocked.md)(\['offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$contacts\_Blocked](../types/contacts_Blocked.md) +$MadelineProto->[contacts->getBlocked](contacts.getBlocked.md)(\['offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$contacts.Blocked](../types/contacts.Blocked.md) ***

-$MadelineProto->[contacts->getContacts](contacts.getContacts.md)(\['hash' => [string](../types/string.md), \]) === [$contacts\_Contacts](../types/contacts_Contacts.md) +$MadelineProto->[contacts->getContacts](contacts.getContacts.md)(\['hash' => [string](../types/string.md), \]) === [$contacts.Contacts](../types/contacts.Contacts.md) ***

@@ -356,7 +356,7 @@ $MadelineProto->[contacts->getStatuses](contacts.getStatuses.md)(\[\]) === [$Vec ***

-$MadelineProto->[contacts->getTopPeers](contacts.getTopPeers.md)(\['correspondents' => [Bool](../types/Bool.md), 'bots_pm' => [Bool](../types/Bool.md), 'bots_inline' => [Bool](../types/Bool.md), 'groups' => [Bool](../types/Bool.md), 'channels' => [Bool](../types/Bool.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$contacts\_TopPeers](../types/contacts_TopPeers.md) +$MadelineProto->[contacts->getTopPeers](contacts.getTopPeers.md)(\['correspondents' => [Bool](../types/Bool.md), 'bots_pm' => [Bool](../types/Bool.md), 'bots_inline' => [Bool](../types/Bool.md), 'groups' => [Bool](../types/Bool.md), 'channels' => [Bool](../types/Bool.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$contacts.TopPeers](../types/contacts.TopPeers.md) ***

@@ -364,7 +364,7 @@ $MadelineProto->[contacts->importCard](contacts.importCard.md)(\['export_card' = ***

-$MadelineProto->[contacts->importContacts](contacts.importContacts.md)(\['contacts' => \[[InputContact](../types/InputContact.md)\], 'replace' => [Bool](../types/Bool.md), \]) === [$contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) +$MadelineProto->[contacts->importContacts](contacts.importContacts.md)(\['contacts' => \[[InputContact](../types/InputContact.md)\], 'replace' => [Bool](../types/Bool.md), \]) === [$contacts.ImportedContacts](../types/contacts.ImportedContacts.md) ***

@@ -372,11 +372,11 @@ $MadelineProto->[contacts->resetTopPeerRating](contacts.resetTopPeerRating.md)(\ ***

-$MadelineProto->[contacts->resolveUsername](contacts.resolveUsername.md)(\['username' => [string](../types/string.md), \]) === [$contacts\_ResolvedPeer](../types/contacts_ResolvedPeer.md) +$MadelineProto->[contacts->resolveUsername](contacts.resolveUsername.md)(\['username' => [string](../types/string.md), \]) === [$contacts.ResolvedPeer](../types/contacts.ResolvedPeer.md) ***

-$MadelineProto->[contacts->search](contacts.search.md)(\['q' => [string](../types/string.md), 'limit' => [int](../types/int.md), \]) === [$contacts\_Found](../types/contacts_Found.md) +$MadelineProto->[contacts->search](contacts.search.md)(\['q' => [string](../types/string.md), 'limit' => [int](../types/int.md), \]) === [$contacts.Found](../types/contacts.Found.md) ***

@@ -402,7 +402,7 @@ $MadelineProto->[help->getAppChangelog](help.getAppChangelog.md)(\['prev_app_ver ***

-$MadelineProto->[help->getAppUpdate](help.getAppUpdate.md)(\[\]) === [$help\_AppUpdate](../types/help_AppUpdate.md) +$MadelineProto->[help->getAppUpdate](help.getAppUpdate.md)(\[\]) === [$help.AppUpdate](../types/help.AppUpdate.md) ***

@@ -414,7 +414,7 @@ $MadelineProto->[help->getConfig](help.getConfig.md)(\[\]) === [$Config](../type ***

-$MadelineProto->[help->getInviteText](help.getInviteText.md)(\[\]) === [$help\_InviteText](../types/help_InviteText.md) +$MadelineProto->[help->getInviteText](help.getInviteText.md)(\[\]) === [$help.InviteText](../types/help.InviteText.md) ***

@@ -422,11 +422,11 @@ $MadelineProto->[help->getNearestDc](help.getNearestDc.md)(\[\]) === [$NearestDc ***

-$MadelineProto->[help->getSupport](help.getSupport.md)(\[\]) === [$help\_Support](../types/help_Support.md) +$MadelineProto->[help->getSupport](help.getSupport.md)(\[\]) === [$help.Support](../types/help.Support.md) ***

-$MadelineProto->[help->getTermsOfService](help.getTermsOfService.md)(\[\]) === [$help\_TermsOfService](../types/help_TermsOfService.md) +$MadelineProto->[help->getTermsOfService](help.getTermsOfService.md)(\[\]) === [$help.TermsOfService](../types/help.TermsOfService.md) ***

@@ -482,11 +482,11 @@ $MadelineProto->[messages->deleteChatUser](messages.deleteChatUser.md)(\['chat_i ***

-$MadelineProto->[messages->deleteHistory](messages.deleteHistory.md)(\['just_clear' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), \]) === [$messages\_AffectedHistory](../types/messages_AffectedHistory.md) +$MadelineProto->[messages->deleteHistory](messages.deleteHistory.md)(\['just_clear' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), \]) === [$messages.AffectedHistory](../types/messages.AffectedHistory.md) ***

-$MadelineProto->[messages->deleteMessages](messages.deleteMessages.md)(\['revoke' => [Bool](../types/Bool.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) +$MadelineProto->[messages->deleteMessages](messages.deleteMessages.md)(\['revoke' => [Bool](../types/Bool.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages.AffectedMessages](../types/messages.AffectedMessages.md) ***

@@ -526,7 +526,7 @@ $MadelineProto->[messages->forwardMessages](messages.forwardMessages.md)(\['sile ***

-$MadelineProto->[messages->getAllChats](messages.getAllChats.md)(\['except_ids' => \[[int](../types/int.md)\], \]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[messages->getAllChats](messages.getAllChats.md)(\['except_ids' => \[[int](../types/int.md)\], \]) === [$messages.Chats](../types/messages.Chats.md) ***

@@ -534,11 +534,11 @@ $MadelineProto->[messages->getAllDrafts](messages.getAllDrafts.md)(\[\]) === [$U ***

-$MadelineProto->[messages->getAllStickers](messages.getAllStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages\_AllStickers](../types/messages_AllStickers.md) +$MadelineProto->[messages->getAllStickers](messages.getAllStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages.AllStickers](../types/messages.AllStickers.md) ***

-$MadelineProto->[messages->getArchivedStickers](messages.getArchivedStickers.md)(\['masks' => [Bool](../types/Bool.md), 'offset_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$messages\_ArchivedStickers](../types/messages_ArchivedStickers.md) +$MadelineProto->[messages->getArchivedStickers](messages.getArchivedStickers.md)(\['masks' => [Bool](../types/Bool.md), 'offset_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$messages.ArchivedStickers](../types/messages.ArchivedStickers.md) ***

@@ -546,23 +546,23 @@ $MadelineProto->[messages->getAttachedStickers](messages.getAttachedStickers.md) ***

-$MadelineProto->[messages->getBotCallbackAnswer](messages.getBotCallbackAnswer.md)(\['game' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'msg_id' => [int](../types/int.md), 'data' => [bytes](../types/bytes.md), \]) === [$messages\_BotCallbackAnswer](../types/messages_BotCallbackAnswer.md) +$MadelineProto->[messages->getBotCallbackAnswer](messages.getBotCallbackAnswer.md)(\['game' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'msg_id' => [int](../types/int.md), 'data' => [bytes](../types/bytes.md), \]) === [$messages.BotCallbackAnswer](../types/messages.BotCallbackAnswer.md) ***

-$MadelineProto->[messages->getChats](messages.getChats.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[messages->getChats](messages.getChats.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages.Chats](../types/messages.Chats.md) ***

-$MadelineProto->[messages->getCommonChats](messages.getCommonChats.md)(\['user_id' => [InputUser](../types/InputUser.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[messages->getCommonChats](messages.getCommonChats.md)(\['user_id' => [InputUser](../types/InputUser.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages.Chats](../types/messages.Chats.md) ***

-$MadelineProto->[messages->getDhConfig](messages.getDhConfig.md)(\['version' => [int](../types/int.md), 'random_length' => [int](../types/int.md), \]) === [$messages\_DhConfig](../types/messages_DhConfig.md) +$MadelineProto->[messages->getDhConfig](messages.getDhConfig.md)(\['version' => [int](../types/int.md), 'random_length' => [int](../types/int.md), \]) === [$messages.DhConfig](../types/messages.DhConfig.md) ***

-$MadelineProto->[messages->getDialogs](messages.getDialogs.md)(\['exclude_pinned' => [Bool](../types/Bool.md), 'offset_date' => [int](../types/int.md), 'offset_id' => [int](../types/int.md), 'offset_peer' => [InputPeer](../types/InputPeer.md), 'limit' => [int](../types/int.md), \]) === [$messages\_Dialogs](../types/messages_Dialogs.md) +$MadelineProto->[messages->getDialogs](messages.getDialogs.md)(\['exclude_pinned' => [Bool](../types/Bool.md), 'offset_date' => [int](../types/int.md), 'offset_id' => [int](../types/int.md), 'offset_peer' => [InputPeer](../types/InputPeer.md), 'limit' => [int](../types/int.md), \]) === [$messages.Dialogs](../types/messages.Dialogs.md) ***

@@ -570,39 +570,39 @@ $MadelineProto->[messages->getDocumentByHash](messages.getDocumentByHash.md)(\[' ***

-$MadelineProto->[messages->getFeaturedStickers](messages.getFeaturedStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages\_FeaturedStickers](../types/messages_FeaturedStickers.md) +$MadelineProto->[messages->getFeaturedStickers](messages.getFeaturedStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages.FeaturedStickers](../types/messages.FeaturedStickers.md) ***

-$MadelineProto->[messages->getFullChat](messages.getFullChat.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), \]) === [$messages\_ChatFull](../types/messages_ChatFull.md) +$MadelineProto->[messages->getFullChat](messages.getFullChat.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), \]) === [$messages.ChatFull](../types/messages.ChatFull.md) ***

-$MadelineProto->[messages->getGameHighScores](messages.getGameHighScores.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages\_HighScores](../types/messages_HighScores.md) +$MadelineProto->[messages->getGameHighScores](messages.getGameHighScores.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages.HighScores](../types/messages.HighScores.md) ***

-$MadelineProto->[messages->getHistory](messages.getHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'offset_date' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->getHistory](messages.getHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'offset_date' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[messages->getInlineBotResults](messages.getInlineBotResults.md)(\['bot' => [InputUser](../types/InputUser.md), 'peer' => [InputPeer](../types/InputPeer.md), 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'query' => [string](../types/string.md), 'offset' => [string](../types/string.md), \]) === [$messages\_BotResults](../types/messages_BotResults.md) +$MadelineProto->[messages->getInlineBotResults](messages.getInlineBotResults.md)(\['bot' => [InputUser](../types/InputUser.md), 'peer' => [InputPeer](../types/InputPeer.md), 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'query' => [string](../types/string.md), 'offset' => [string](../types/string.md), \]) === [$messages.BotResults](../types/messages.BotResults.md) ***

-$MadelineProto->[messages->getInlineGameHighScores](messages.getInlineGameHighScores.md)(\['id' => [InputBotInlineMessageID](../types/InputBotInlineMessageID.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages\_HighScores](../types/messages_HighScores.md) +$MadelineProto->[messages->getInlineGameHighScores](messages.getInlineGameHighScores.md)(\['id' => [InputBotInlineMessageID](../types/InputBotInlineMessageID.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages.HighScores](../types/messages.HighScores.md) ***

-$MadelineProto->[messages->getMaskStickers](messages.getMaskStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages\_AllStickers](../types/messages_AllStickers.md) +$MadelineProto->[messages->getMaskStickers](messages.getMaskStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages.AllStickers](../types/messages.AllStickers.md) ***

-$MadelineProto->[messages->getMessageEditData](messages.getMessageEditData.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), \]) === [$messages\_MessageEditData](../types/messages_MessageEditData.md) +$MadelineProto->[messages->getMessageEditData](messages.getMessageEditData.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), \]) === [$messages.MessageEditData](../types/messages.MessageEditData.md) ***

-$MadelineProto->[messages->getMessages](messages.getMessages.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->getMessages](messages.getMessages.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages.Messages](../types/messages.Messages.md) ***

@@ -610,7 +610,7 @@ $MadelineProto->[messages->getMessagesViews](messages.getMessagesViews.md)(\['pe ***

-$MadelineProto->[messages->getPeerDialogs](messages.getPeerDialogs.md)(\['peers' => \[[InputPeer](../types/InputPeer.md)\], \]) === [$messages\_PeerDialogs](../types/messages_PeerDialogs.md) +$MadelineProto->[messages->getPeerDialogs](messages.getPeerDialogs.md)(\['peers' => \[[InputPeer](../types/InputPeer.md)\], \]) === [$messages.PeerDialogs](../types/messages.PeerDialogs.md) ***

@@ -618,19 +618,19 @@ $MadelineProto->[messages->getPeerSettings](messages.getPeerSettings.md)(\['peer ***

-$MadelineProto->[messages->getPinnedDialogs](messages.getPinnedDialogs.md)(\[\]) === [$messages\_PeerDialogs](../types/messages_PeerDialogs.md) +$MadelineProto->[messages->getPinnedDialogs](messages.getPinnedDialogs.md)(\[\]) === [$messages.PeerDialogs](../types/messages.PeerDialogs.md) ***

-$MadelineProto->[messages->getRecentStickers](messages.getRecentStickers.md)(\['attached' => [Bool](../types/Bool.md), 'hash' => [int](../types/int.md), \]) === [$messages\_RecentStickers](../types/messages_RecentStickers.md) +$MadelineProto->[messages->getRecentStickers](messages.getRecentStickers.md)(\['attached' => [Bool](../types/Bool.md), 'hash' => [int](../types/int.md), \]) === [$messages.RecentStickers](../types/messages.RecentStickers.md) ***

-$MadelineProto->[messages->getSavedGifs](messages.getSavedGifs.md)(\['hash' => [int](../types/int.md), \]) === [$messages\_SavedGifs](../types/messages_SavedGifs.md) +$MadelineProto->[messages->getSavedGifs](messages.getSavedGifs.md)(\['hash' => [int](../types/int.md), \]) === [$messages.SavedGifs](../types/messages.SavedGifs.md) ***

-$MadelineProto->[messages->getStickerSet](messages.getStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), \]) === [$messages\_StickerSet](../types/messages_StickerSet.md) +$MadelineProto->[messages->getStickerSet](messages.getStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), \]) === [$messages.StickerSet](../types/messages.StickerSet.md) ***

@@ -650,7 +650,7 @@ $MadelineProto->[messages->importChatInvite](messages.importChatInvite.md)(\['ha ***

-$MadelineProto->[messages->installStickerSet](messages.installStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), 'archived' => [Bool](../types/Bool.md), \]) === [$messages\_StickerSetInstallResult](../types/messages_StickerSetInstallResult.md) +$MadelineProto->[messages->installStickerSet](messages.installStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), 'archived' => [Bool](../types/Bool.md), \]) === [$messages.StickerSetInstallResult](../types/messages.StickerSetInstallResult.md) ***

@@ -666,11 +666,11 @@ $MadelineProto->[messages->readFeaturedStickers](messages.readFeaturedStickers.m ***

-$MadelineProto->[messages->readHistory](messages.readHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), \]) === [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) +$MadelineProto->[messages->readHistory](messages.readHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), \]) === [$messages.AffectedMessages](../types/messages.AffectedMessages.md) ***

-$MadelineProto->[messages->readMessageContents](messages.readMessageContents.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) +$MadelineProto->[messages->readMessageContents](messages.readMessageContents.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages.AffectedMessages](../types/messages.AffectedMessages.md) ***

@@ -714,27 +714,27 @@ $MadelineProto->[messages->saveRecentSticker](messages.saveRecentSticker.md)(\[' ***

-$MadelineProto->[messages->search](messages.search.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'q' => [string](../types/string.md), 'filter' => [MessagesFilter](../types/MessagesFilter.md), 'min_date' => [int](../types/int.md), 'max_date' => [int](../types/int.md), 'offset' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->search](messages.search.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'q' => [string](../types/string.md), 'filter' => [MessagesFilter](../types/MessagesFilter.md), 'min_date' => [int](../types/int.md), 'max_date' => [int](../types/int.md), 'offset' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[messages->searchGifs](messages.searchGifs.md)(\['q' => [string](../types/string.md), 'offset' => [int](../types/int.md), \]) === [$messages\_FoundGifs](../types/messages_FoundGifs.md) +$MadelineProto->[messages->searchGifs](messages.searchGifs.md)(\['q' => [string](../types/string.md), 'offset' => [int](../types/int.md), \]) === [$messages.FoundGifs](../types/messages.FoundGifs.md) ***

-$MadelineProto->[messages->searchGlobal](messages.searchGlobal.md)(\['q' => [string](../types/string.md), 'offset_date' => [int](../types/int.md), 'offset_peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->searchGlobal](messages.searchGlobal.md)(\['q' => [string](../types/string.md), 'offset_date' => [int](../types/int.md), 'offset_peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[messages->sendEncrypted](messages.sendEncrypted.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'message' => [DecryptedMessage](../types/DecryptedMessage.md), \]) === [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +$MadelineProto->[messages->sendEncrypted](messages.sendEncrypted.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), \]) === [$messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ***

-$MadelineProto->[messages->sendEncryptedFile](messages.sendEncryptedFile.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'message' => [DecryptedMessage](../types/DecryptedMessage.md), 'file' => [InputEncryptedFile](../types/InputEncryptedFile.md), \]) === [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +$MadelineProto->[messages->sendEncryptedFile](messages.sendEncryptedFile.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), 'file' => [InputEncryptedFile](../types/InputEncryptedFile.md), \]) === [$messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ***

-$MadelineProto->[messages->sendEncryptedService](messages.sendEncryptedService.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'message' => [DecryptedMessage](../types/DecryptedMessage.md), \]) === [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +$MadelineProto->[messages->sendEncryptedService](messages.sendEncryptedService.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), \]) === [$messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ***

@@ -802,31 +802,31 @@ $MadelineProto->[payments->clearSavedInfo](payments.clearSavedInfo.md)(\['creden ***

-$MadelineProto->[payments->getPaymentForm](payments.getPaymentForm.md)(\['msg_id' => [int](../types/int.md), \]) === [$payments\_PaymentForm](../types/payments_PaymentForm.md) +$MadelineProto->[payments->getPaymentForm](payments.getPaymentForm.md)(\['msg_id' => [int](../types/int.md), \]) === [$payments.PaymentForm](../types/payments.PaymentForm.md) ***

-$MadelineProto->[payments->getPaymentReceipt](payments.getPaymentReceipt.md)(\['msg_id' => [int](../types/int.md), \]) === [$payments\_PaymentReceipt](../types/payments_PaymentReceipt.md) +$MadelineProto->[payments->getPaymentReceipt](payments.getPaymentReceipt.md)(\['msg_id' => [int](../types/int.md), \]) === [$payments.PaymentReceipt](../types/payments.PaymentReceipt.md) ***

-$MadelineProto->[payments->getSavedInfo](payments.getSavedInfo.md)(\[\]) === [$payments\_SavedInfo](../types/payments_SavedInfo.md) +$MadelineProto->[payments->getSavedInfo](payments.getSavedInfo.md)(\[\]) === [$payments.SavedInfo](../types/payments.SavedInfo.md) ***

-$MadelineProto->[payments->sendPaymentForm](payments.sendPaymentForm.md)(\['msg_id' => [int](../types/int.md), 'requested_info_id' => [string](../types/string.md), 'shipping_option_id' => [string](../types/string.md), 'credentials' => [InputPaymentCredentials](../types/InputPaymentCredentials.md), \]) === [$payments\_PaymentResult](../types/payments_PaymentResult.md) +$MadelineProto->[payments->sendPaymentForm](payments.sendPaymentForm.md)(\['msg_id' => [int](../types/int.md), 'requested_info_id' => [string](../types/string.md), 'shipping_option_id' => [string](../types/string.md), 'credentials' => [InputPaymentCredentials](../types/InputPaymentCredentials.md), \]) === [$payments.PaymentResult](../types/payments.PaymentResult.md) ***

-$MadelineProto->[payments->validateRequestedInfo](payments.validateRequestedInfo.md)(\['save' => [Bool](../types/Bool.md), 'msg_id' => [int](../types/int.md), 'info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), \]) === [$payments\_ValidatedRequestedInfo](../types/payments_ValidatedRequestedInfo.md) +$MadelineProto->[payments->validateRequestedInfo](payments.validateRequestedInfo.md)(\['save' => [Bool](../types/Bool.md), 'msg_id' => [int](../types/int.md), 'info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), \]) === [$payments.ValidatedRequestedInfo](../types/payments.ValidatedRequestedInfo.md) ***

-$MadelineProto->[phone->acceptCall](phone.acceptCall.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'g_b' => [bytes](../types/bytes.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone\_PhoneCall](../types/phone_PhoneCall.md) +$MadelineProto->[phone->acceptCall](phone.acceptCall.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'g_b' => [bytes](../types/bytes.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone.PhoneCall](../types/phone.PhoneCall.md) ***

-$MadelineProto->[phone->confirmCall](phone.confirmCall.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'g_a' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone\_PhoneCall](../types/phone_PhoneCall.md) +$MadelineProto->[phone->confirmCall](phone.confirmCall.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'g_a' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone.PhoneCall](../types/phone.PhoneCall.md) ***

@@ -842,7 +842,7 @@ $MadelineProto->[phone->receivedCall](phone.receivedCall.md)(\['peer' => [InputP ***

-$MadelineProto->[phone->requestCall](phone.requestCall.md)(\['user_id' => [InputUser](../types/InputUser.md), 'g_a_hash' => [bytes](../types/bytes.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone\_PhoneCall](../types/phone_PhoneCall.md) +$MadelineProto->[phone->requestCall](phone.requestCall.md)(\['user_id' => [InputUser](../types/InputUser.md), 'g_a_hash' => [bytes](../types/bytes.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone.PhoneCall](../types/phone.PhoneCall.md) ***

@@ -858,7 +858,7 @@ $MadelineProto->[photos->deletePhotos](photos.deletePhotos.md)(\['id' => \[[Inpu ***

-$MadelineProto->[photos->getUserPhotos](photos.getUserPhotos.md)(\['user_id' => [InputUser](../types/InputUser.md), 'offset' => [int](../types/int.md), 'max_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$photos\_Photos](../types/photos_Photos.md) +$MadelineProto->[photos->getUserPhotos](photos.getUserPhotos.md)(\['user_id' => [InputUser](../types/InputUser.md), 'offset' => [int](../types/int.md), 'max_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$photos.Photos](../types/photos.Photos.md) ***

@@ -866,7 +866,7 @@ $MadelineProto->[photos->updateProfilePhoto](photos.updateProfilePhoto.md)(\['id ***

-$MadelineProto->[photos->uploadProfilePhoto](photos.uploadProfilePhoto.md)(\['file' => [InputFile](../types/InputFile.md), \]) === [$photos\_Photo](../types/photos_Photo.md) +$MadelineProto->[photos->uploadProfilePhoto](photos.uploadProfilePhoto.md)(\['file' => [InputFile](../types/InputFile.md), \]) === [$photos.Photo](../types/photos.Photo.md) ***

@@ -890,27 +890,27 @@ $MadelineProto->[set_client_DH_params](set_client_DH_params.md)(\['nonce' => [in ***

-$MadelineProto->[updates->getChannelDifference](updates.getChannelDifference.md)(\['force' => [Bool](../types/Bool.md), 'channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$updates\_ChannelDifference](../types/updates_ChannelDifference.md) +$MadelineProto->[updates->getChannelDifference](updates.getChannelDifference.md)(\['force' => [Bool](../types/Bool.md), 'channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$updates.ChannelDifference](../types/updates.ChannelDifference.md) ***

-$MadelineProto->[updates->getDifference](updates.getDifference.md)(\['pts' => [int](../types/int.md), 'pts_total_limit' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) === [$updates\_Difference](../types/updates_Difference.md) +$MadelineProto->[updates->getDifference](updates.getDifference.md)(\['pts' => [int](../types/int.md), 'pts_total_limit' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) === [$updates.Difference](../types/updates.Difference.md) ***

-$MadelineProto->[updates->getState](updates.getState.md)(\[\]) === [$updates\_State](../types/updates_State.md) +$MadelineProto->[updates->getState](updates.getState.md)(\[\]) === [$updates.State](../types/updates.State.md) ***

-$MadelineProto->[upload->getCdnFile](upload.getCdnFile.md)(\['file_token' => [bytes](../types/bytes.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_CdnFile](../types/upload_CdnFile.md) +$MadelineProto->[upload->getCdnFile](upload.getCdnFile.md)(\['file_token' => [bytes](../types/bytes.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload.CdnFile](../types/upload.CdnFile.md) ***

-$MadelineProto->[upload->getFile](upload.getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_File](../types/upload_File.md) +$MadelineProto->[upload->getFile](upload.getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload.File](../types/upload.File.md) ***

-$MadelineProto->[upload->getWebFile](upload.getWebFile.md)(\['location' => [InputWebFileLocation](../types/InputWebFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_WebFile](../types/upload_WebFile.md) +$MadelineProto->[upload->getWebFile](upload.getWebFile.md)(\['location' => [InputWebFileLocation](../types/InputWebFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload.WebFile](../types/upload.WebFile.md) ***

diff --git a/old_docs/API_docs_v66/methods/auth.checkPassword.md b/old_docs/API_docs_v66/methods/auth.checkPassword.md index db65cb56..eeeed171 100644 --- a/old_docs/API_docs_v66/methods/auth.checkPassword.md +++ b/old_docs/API_docs_v66/methods/auth.checkPassword.md @@ -16,7 +16,7 @@ You cannot use this method directly, use the complete_2fa_login method instead ( |password\_hash|[bytes](../types/bytes.md) | You cannot use this method directly, use the complete_2fa_login method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->checkPassword(['password_hash' => 'bytes', ]); +$auth.Authorization = $MadelineProto->auth->checkPassword(['password_hash' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.checkPassword({password_hash='bytes', }) +auth.Authorization = auth.checkPassword({password_hash='bytes', }) ``` ### Errors diff --git a/old_docs/API_docs_v66/methods/auth.checkPhone.md b/old_docs/API_docs_v66/methods/auth.checkPhone.md index 227358cb..51d4cba6 100644 --- a/old_docs/API_docs_v66/methods/auth.checkPhone.md +++ b/old_docs/API_docs_v66/methods/auth.checkPhone.md @@ -16,7 +16,7 @@ Check if this phone number is registered on telegram |phone\_number|[string](../types/string.md) | The phone number to check | Yes| -### Return type: [auth\_CheckedPhone](../types/auth_CheckedPhone.md) +### Return type: [auth.CheckedPhone](../types/auth.CheckedPhone.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => 'string', ]); +$auth.CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_CheckedPhone = auth.checkPhone({phone_number='string', }) +auth.CheckedPhone = auth.checkPhone({phone_number='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v66/methods/auth.exportAuthorization.md b/old_docs/API_docs_v66/methods/auth.exportAuthorization.md index 72063a2b..41a1f87d 100644 --- a/old_docs/API_docs_v66/methods/auth.exportAuthorization.md +++ b/old_docs/API_docs_v66/methods/auth.exportAuthorization.md @@ -16,7 +16,7 @@ You cannot use this method directly, use $MadelineProto->exportAuthorization() i |dc\_id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| -### Return type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) +### Return type: [auth.ExportedAuthorization](../types/auth.ExportedAuthorization.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_ExportedAuthorization = $MadelineProto->auth->exportAuthorization(['dc_id' => int, ]); +$auth.ExportedAuthorization = $MadelineProto->auth->exportAuthorization(['dc_id' => int, ]); ``` Or, if you're into Lua: ```lua -auth_ExportedAuthorization = auth.exportAuthorization({dc_id=int, }) +auth.ExportedAuthorization = auth.exportAuthorization({dc_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v66/methods/auth.importAuthorization.md b/old_docs/API_docs_v66/methods/auth.importAuthorization.md index d9c13751..5257e0b0 100644 --- a/old_docs/API_docs_v66/methods/auth.importAuthorization.md +++ b/old_docs/API_docs_v66/methods/auth.importAuthorization.md @@ -17,7 +17,7 @@ You cannot use this method directly, use $MadelineProto->importAuthorization($au |bytes|[bytes](../types/bytes.md) | You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => 'bytes', ]); +$auth.Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.importAuthorization({id=int, bytes='bytes', }) +auth.Authorization = auth.importAuthorization({id=int, bytes='bytes', }) ``` ### Errors diff --git a/old_docs/API_docs_v66/methods/auth.importBotAuthorization.md b/old_docs/API_docs_v66/methods/auth.importBotAuthorization.md index 3161d6be..a4ea8027 100644 --- a/old_docs/API_docs_v66/methods/auth.importBotAuthorization.md +++ b/old_docs/API_docs_v66/methods/auth.importBotAuthorization.md @@ -18,7 +18,7 @@ You cannot use this method directly, use the botLogin method instead (see https: |bot\_auth\_token|[string](../types/string.md) | You cannot use this method directly, use the botLogin method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **YES** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->importBotAuthorization(['api_id' => int, 'api_hash' => 'string', 'bot_auth_token' => 'string', ]); +$auth.Authorization = $MadelineProto->auth->importBotAuthorization(['api_id' => int, 'api_hash' => 'string', 'bot_auth_token' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.importBotAuthorization({api_id=int, api_hash='string', bot_auth_token='string', }) +auth.Authorization = auth.importBotAuthorization({api_id=int, api_hash='string', bot_auth_token='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v66/methods/auth.recoverPassword.md b/old_docs/API_docs_v66/methods/auth.recoverPassword.md index f7cbf4a4..2e78444b 100644 --- a/old_docs/API_docs_v66/methods/auth.recoverPassword.md +++ b/old_docs/API_docs_v66/methods/auth.recoverPassword.md @@ -16,7 +16,7 @@ Reset the [2FA password](https://core.telegram.org/api/srp) using the recovery c |code|[string](../types/string.md) | Code received via email | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->recoverPassword(['code' => 'string', ]); +$auth.Authorization = $MadelineProto->auth->recoverPassword(['code' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.recoverPassword({code='string', }) +auth.Authorization = auth.recoverPassword({code='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v66/methods/auth.requestPasswordRecovery.md b/old_docs/API_docs_v66/methods/auth.requestPasswordRecovery.md index 5cd77936..ff1ecc02 100644 --- a/old_docs/API_docs_v66/methods/auth.requestPasswordRecovery.md +++ b/old_docs/API_docs_v66/methods/auth.requestPasswordRecovery.md @@ -11,7 +11,7 @@ Request recovery code of a [2FA password](https://core.telegram.org/api/srp), on -### Return type: [auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) +### Return type: [auth.PasswordRecovery](../types/auth.PasswordRecovery.md) ### Can bots use this method: **NO** @@ -28,13 +28,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_PasswordRecovery = $MadelineProto->auth->requestPasswordRecovery(); +$auth.PasswordRecovery = $MadelineProto->auth->requestPasswordRecovery(); ``` Or, if you're into Lua: ```lua -auth_PasswordRecovery = auth.requestPasswordRecovery({}) +auth.PasswordRecovery = auth.requestPasswordRecovery({}) ``` ### Errors diff --git a/old_docs/API_docs_v66/methods/auth.resendCode.md b/old_docs/API_docs_v66/methods/auth.resendCode.md index a395a91b..f59f1b7b 100644 --- a/old_docs/API_docs_v66/methods/auth.resendCode.md +++ b/old_docs/API_docs_v66/methods/auth.resendCode.md @@ -17,7 +17,7 @@ Resend the login code via another medium, the phone code type is determined by t |phone\_code\_hash|[string](../types/string.md) | The phone code hash obtained from [auth.sendCode](../methods/auth.sendCode.md) | Yes| -### Return type: [auth\_SentCode](../types/auth_SentCode.md) +### Return type: [auth.SentCode](../types/auth.SentCode.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_SentCode = $MadelineProto->auth->resendCode(['phone_number' => 'string', 'phone_code_hash' => 'string', ]); +$auth.SentCode = $MadelineProto->auth->resendCode(['phone_number' => 'string', 'phone_code_hash' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_SentCode = auth.resendCode({phone_number='string', phone_code_hash='string', }) +auth.SentCode = auth.resendCode({phone_number='string', phone_code_hash='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v66/methods/auth.sendCode.md b/old_docs/API_docs_v66/methods/auth.sendCode.md index bd922a48..0c818fbb 100644 --- a/old_docs/API_docs_v66/methods/auth.sendCode.md +++ b/old_docs/API_docs_v66/methods/auth.sendCode.md @@ -20,7 +20,7 @@ You cannot use this method directly, use the phoneLogin method instead (see http |api\_hash|[string](../types/string.md) | You cannot use this method directly, use the phoneLogin method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_SentCode](../types/auth_SentCode.md) +### Return type: [auth.SentCode](../types/auth.SentCode.md) ### Can bots use this method: **NO** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_SentCode = $MadelineProto->auth->sendCode(['allow_flashcall' => Bool, 'phone_number' => 'string', 'current_number' => Bool, 'api_id' => int, 'api_hash' => 'string', ]); +$auth.SentCode = $MadelineProto->auth->sendCode(['allow_flashcall' => Bool, 'phone_number' => 'string', 'current_number' => Bool, 'api_id' => int, 'api_hash' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_SentCode = auth.sendCode({allow_flashcall=Bool, phone_number='string', current_number=Bool, api_id=int, api_hash='string', }) +auth.SentCode = auth.sendCode({allow_flashcall=Bool, phone_number='string', current_number=Bool, api_id=int, api_hash='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v66/methods/auth.signIn.md b/old_docs/API_docs_v66/methods/auth.signIn.md index 54812a2e..95b14f32 100644 --- a/old_docs/API_docs_v66/methods/auth.signIn.md +++ b/old_docs/API_docs_v66/methods/auth.signIn.md @@ -18,7 +18,7 @@ You cannot use this method directly, use the completePhoneLogin method instead ( |phone\_code|[string](../types/string.md) | You cannot use this method directly, use the completePhoneLogin method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->signIn(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', ]); +$auth.Authorization = $MadelineProto->auth->signIn(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.signIn({phone_number='string', phone_code_hash='string', phone_code='string', }) +auth.Authorization = auth.signIn({phone_number='string', phone_code_hash='string', phone_code='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v66/methods/auth.signUp.md b/old_docs/API_docs_v66/methods/auth.signUp.md index 2aca2bfa..fdb5d628 100644 --- a/old_docs/API_docs_v66/methods/auth.signUp.md +++ b/old_docs/API_docs_v66/methods/auth.signUp.md @@ -20,7 +20,7 @@ You cannot use this method directly, use the completeSignup method instead (see |last\_name|[string](../types/string.md) | You cannot use this method directly, use the completeSignup method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **NO** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->signUp(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', 'first_name' => 'string', 'last_name' => 'string', ]); +$auth.Authorization = $MadelineProto->auth->signUp(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', 'first_name' => 'string', 'last_name' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.signUp({phone_number='string', phone_code_hash='string', phone_code='string', first_name='string', last_name='string', }) +auth.Authorization = auth.signUp({phone_number='string', phone_code_hash='string', phone_code='string', first_name='string', last_name='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v66/methods/channels.deleteMessages.md b/old_docs/API_docs_v66/methods/channels.deleteMessages.md index 10a439fb..8583e560 100644 --- a/old_docs/API_docs_v66/methods/channels.deleteMessages.md +++ b/old_docs/API_docs_v66/methods/channels.deleteMessages.md @@ -17,7 +17,7 @@ Delete messages in a [channel/supergroup](https://core.telegram.org/api/channel) |id|Array of [int](../types/int.md) | The IDs of messages to delete | Yes| -### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) +### Return type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedMessages = $MadelineProto->channels->deleteMessages(['channel' => InputChannel, 'id' => [int, int], ]); +$messages.AffectedMessages = $MadelineProto->channels->deleteMessages(['channel' => InputChannel, 'id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AffectedMessages = channels.deleteMessages({channel=InputChannel, id={int}, }) +messages.AffectedMessages = channels.deleteMessages({channel=InputChannel, id={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v66/methods/channels.deleteUserHistory.md b/old_docs/API_docs_v66/methods/channels.deleteUserHistory.md index 9b8b159f..6ccaf7dd 100644 --- a/old_docs/API_docs_v66/methods/channels.deleteUserHistory.md +++ b/old_docs/API_docs_v66/methods/channels.deleteUserHistory.md @@ -17,7 +17,7 @@ Delete all messages sent by a certain user in a [supergroup](https://core.telegr |user\_id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | User whose messages should be deleted | Optional| -### Return type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) +### Return type: [messages.AffectedHistory](../types/messages.AffectedHistory.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedHistory = $MadelineProto->channels->deleteUserHistory(['channel' => InputChannel, 'user_id' => InputUser, ]); +$messages.AffectedHistory = $MadelineProto->channels->deleteUserHistory(['channel' => InputChannel, 'user_id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -messages_AffectedHistory = channels.deleteUserHistory({channel=InputChannel, user_id=InputUser, }) +messages.AffectedHistory = channels.deleteUserHistory({channel=InputChannel, user_id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v66/methods/channels.getAdminedPublicChannels.md b/old_docs/API_docs_v66/methods/channels.getAdminedPublicChannels.md index 55a686ca..eb277404 100644 --- a/old_docs/API_docs_v66/methods/channels.getAdminedPublicChannels.md +++ b/old_docs/API_docs_v66/methods/channels.getAdminedPublicChannels.md @@ -11,7 +11,7 @@ Get [channels/supergroups/geogroups](https://core.telegram.org/api/channel) we'r -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->channels->getAdminedPublicChannels(); +$messages.Chats = $MadelineProto->channels->getAdminedPublicChannels(); ``` Or, if you're into Lua: ```lua -messages_Chats = channels.getAdminedPublicChannels({}) +messages.Chats = channels.getAdminedPublicChannels({}) ``` diff --git a/old_docs/API_docs_v66/methods/channels.getChannels.md b/old_docs/API_docs_v66/methods/channels.getChannels.md index 368c96ce..ed9cf4a7 100644 --- a/old_docs/API_docs_v66/methods/channels.getChannels.md +++ b/old_docs/API_docs_v66/methods/channels.getChannels.md @@ -16,7 +16,7 @@ Get info about [channels/supergroups](https://core.telegram.org/api/channel) |id|Array of [Username, chat ID, Update, Message or InputChannel](../types/InputChannel.md) | The channel/supergroup MTProto IDs | Yes| -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->channels->getChannels(['id' => [InputChannel, InputChannel], ]); +$messages.Chats = $MadelineProto->channels->getChannels(['id' => [InputChannel, InputChannel], ]); ``` Or, if you're into Lua: ```lua -messages_Chats = channels.getChannels({id={InputChannel}, }) +messages.Chats = channels.getChannels({id={InputChannel}, }) ``` ### Errors diff --git a/old_docs/API_docs_v66/methods/channels.getFullChannel.md b/old_docs/API_docs_v66/methods/channels.getFullChannel.md index 08dc21bb..1369e0a0 100644 --- a/old_docs/API_docs_v66/methods/channels.getFullChannel.md +++ b/old_docs/API_docs_v66/methods/channels.getFullChannel.md @@ -16,7 +16,7 @@ You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo me |channel|[Username, chat ID, Update, Message or InputChannel](../types/InputChannel.md) | You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo methods instead (see https://docs.madelineproto.xyz for more info) | Optional| -### Return type: [messages\_ChatFull](../types/messages_ChatFull.md) +### Return type: [messages.ChatFull](../types/messages.ChatFull.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_ChatFull = $MadelineProto->channels->getFullChannel(['channel' => InputChannel, ]); +$messages.ChatFull = $MadelineProto->channels->getFullChannel(['channel' => InputChannel, ]); ``` Or, if you're into Lua: ```lua -messages_ChatFull = channels.getFullChannel({channel=InputChannel, }) +messages.ChatFull = channels.getFullChannel({channel=InputChannel, }) ``` ### Errors diff --git a/old_docs/API_docs_v66/methods/channels.getMessages.md b/old_docs/API_docs_v66/methods/channels.getMessages.md index 379e0e9d..5023ea1a 100644 --- a/old_docs/API_docs_v66/methods/channels.getMessages.md +++ b/old_docs/API_docs_v66/methods/channels.getMessages.md @@ -17,7 +17,7 @@ Get [channel/supergroup](https://core.telegram.org/api/channel) messages |id|Array of [int](../types/int.md) | The message IDs | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->channels->getMessages(['channel' => InputChannel, 'id' => [int, int], ]); +$messages.Messages = $MadelineProto->channels->getMessages(['channel' => InputChannel, 'id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Messages = channels.getMessages({channel=InputChannel, id={int}, }) +messages.Messages = channels.getMessages({channel=InputChannel, id={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v66/methods/channels.getParticipant.md b/old_docs/API_docs_v66/methods/channels.getParticipant.md index aa2ce655..cf6a7771 100644 --- a/old_docs/API_docs_v66/methods/channels.getParticipant.md +++ b/old_docs/API_docs_v66/methods/channels.getParticipant.md @@ -17,7 +17,7 @@ Get info about a [channel/supergroup](https://core.telegram.org/api/channel) par |user\_id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | ID of participant to get info about | Optional| -### Return type: [channels\_ChannelParticipant](../types/channels_ChannelParticipant.md) +### Return type: [channels.ChannelParticipant](../types/channels.ChannelParticipant.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$channels_ChannelParticipant = $MadelineProto->channels->getParticipant(['channel' => InputChannel, 'user_id' => InputUser, ]); +$channels.ChannelParticipant = $MadelineProto->channels->getParticipant(['channel' => InputChannel, 'user_id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -channels_ChannelParticipant = channels.getParticipant({channel=InputChannel, user_id=InputUser, }) +channels.ChannelParticipant = channels.getParticipant({channel=InputChannel, user_id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v66/methods/channels.getParticipants.md b/old_docs/API_docs_v66/methods/channels.getParticipants.md index 9be95921..bfeccd48 100644 --- a/old_docs/API_docs_v66/methods/channels.getParticipants.md +++ b/old_docs/API_docs_v66/methods/channels.getParticipants.md @@ -19,7 +19,7 @@ Get the participants of a channel |limit|[int](../types/int.md) | [Limit](https://core.telegram.org/api/offsets) | Yes| -### Return type: [channels\_ChannelParticipants](../types/channels_ChannelParticipants.md) +### Return type: [channels.ChannelParticipants](../types/channels.ChannelParticipants.md) ### Can bots use this method: **YES** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$channels_ChannelParticipants = $MadelineProto->channels->getParticipants(['channel' => InputChannel, 'filter' => ChannelParticipantsFilter, 'offset' => int, 'limit' => int, ]); +$channels.ChannelParticipants = $MadelineProto->channels->getParticipants(['channel' => InputChannel, 'filter' => ChannelParticipantsFilter, 'offset' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -channels_ChannelParticipants = channels.getParticipants({channel=InputChannel, filter=ChannelParticipantsFilter, offset=int, limit=int, }) +channels.ChannelParticipants = channels.getParticipants({channel=InputChannel, filter=ChannelParticipantsFilter, offset=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v66/methods/contacts.deleteContact.md b/old_docs/API_docs_v66/methods/contacts.deleteContact.md index a9321d64..9169e1e0 100644 --- a/old_docs/API_docs_v66/methods/contacts.deleteContact.md +++ b/old_docs/API_docs_v66/methods/contacts.deleteContact.md @@ -16,7 +16,7 @@ Delete a contact |id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | The contact to delete | Optional| -### Return type: [contacts\_Link](../types/contacts_Link.md) +### Return type: [contacts.Link](../types/contacts.Link.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Link = $MadelineProto->contacts->deleteContact(['id' => InputUser, ]); +$contacts.Link = $MadelineProto->contacts->deleteContact(['id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -contacts_Link = contacts.deleteContact({id=InputUser, }) +contacts.Link = contacts.deleteContact({id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v66/methods/contacts.getBlocked.md b/old_docs/API_docs_v66/methods/contacts.getBlocked.md index 92f2f331..6ac1c343 100644 --- a/old_docs/API_docs_v66/methods/contacts.getBlocked.md +++ b/old_docs/API_docs_v66/methods/contacts.getBlocked.md @@ -17,7 +17,7 @@ Returns the list of blocked users. |limit|[int](../types/int.md) | The number of list elements to be returned | Yes| -### Return type: [contacts\_Blocked](../types/contacts_Blocked.md) +### Return type: [contacts.Blocked](../types/contacts.Blocked.md) ### Can bots use this method: **NO** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Blocked = $MadelineProto->contacts->getBlocked(['offset' => int, 'limit' => int, ]); +$contacts.Blocked = $MadelineProto->contacts->getBlocked(['offset' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -contacts_Blocked = contacts.getBlocked({offset=int, limit=int, }) +contacts.Blocked = contacts.getBlocked({offset=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v66/methods/contacts.getContacts.md b/old_docs/API_docs_v66/methods/contacts.getContacts.md index caee7aa8..a2fcd412 100644 --- a/old_docs/API_docs_v66/methods/contacts.getContacts.md +++ b/old_docs/API_docs_v66/methods/contacts.getContacts.md @@ -16,7 +16,7 @@ Returns the current user's contact list. |hash|[string](../types/string.md) | List of contact user IDs you already cached | Yes| -### Return type: [contacts\_Contacts](../types/contacts_Contacts.md) +### Return type: [contacts.Contacts](../types/contacts.Contacts.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Contacts = $MadelineProto->contacts->getContacts(['hash' => 'string', ]); +$contacts.Contacts = $MadelineProto->contacts->getContacts(['hash' => 'string', ]); ``` Or, if you're into Lua: ```lua -contacts_Contacts = contacts.getContacts({hash='string', }) +contacts.Contacts = contacts.getContacts({hash='string', }) ``` diff --git a/old_docs/API_docs_v66/methods/contacts.getTopPeers.md b/old_docs/API_docs_v66/methods/contacts.getTopPeers.md index 4875826c..c2063ea6 100644 --- a/old_docs/API_docs_v66/methods/contacts.getTopPeers.md +++ b/old_docs/API_docs_v66/methods/contacts.getTopPeers.md @@ -23,7 +23,7 @@ Get most used peers |hash|Array of [int](../types/int.md) | Peer IDs of previously cached peers | Optional| -### Return type: [contacts\_TopPeers](../types/contacts_TopPeers.md) +### Return type: [contacts.TopPeers](../types/contacts.TopPeers.md) ### Can bots use this method: **NO** @@ -40,13 +40,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_TopPeers = $MadelineProto->contacts->getTopPeers(['correspondents' => Bool, 'bots_pm' => Bool, 'bots_inline' => Bool, 'groups' => Bool, 'channels' => Bool, 'offset' => int, 'limit' => int, 'hash' => [int, int], ]); +$contacts.TopPeers = $MadelineProto->contacts->getTopPeers(['correspondents' => Bool, 'bots_pm' => Bool, 'bots_inline' => Bool, 'groups' => Bool, 'channels' => Bool, 'offset' => int, 'limit' => int, 'hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -contacts_TopPeers = contacts.getTopPeers({correspondents=Bool, bots_pm=Bool, bots_inline=Bool, groups=Bool, channels=Bool, offset=int, limit=int, hash={int}, }) +contacts.TopPeers = contacts.getTopPeers({correspondents=Bool, bots_pm=Bool, bots_inline=Bool, groups=Bool, channels=Bool, offset=int, limit=int, hash={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v66/methods/contacts.importContacts.md b/old_docs/API_docs_v66/methods/contacts.importContacts.md index 572df9fb..975d0565 100644 --- a/old_docs/API_docs_v66/methods/contacts.importContacts.md +++ b/old_docs/API_docs_v66/methods/contacts.importContacts.md @@ -17,7 +17,7 @@ Imports contacts: saves a full list on the server, adds already registered conta |replace|[Bool](../types/Bool.md) | Replace contacts? | Yes| -### Return type: [contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) +### Return type: [contacts.ImportedContacts](../types/contacts.ImportedContacts.md) ### Can bots use this method: **NO** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_ImportedContacts = $MadelineProto->contacts->importContacts(['contacts' => [InputContact, InputContact], 'replace' => Bool, ]); +$contacts.ImportedContacts = $MadelineProto->contacts->importContacts(['contacts' => [InputContact, InputContact], 'replace' => Bool, ]); ``` Or, if you're into Lua: ```lua -contacts_ImportedContacts = contacts.importContacts({contacts={InputContact}, replace=Bool, }) +contacts.ImportedContacts = contacts.importContacts({contacts={InputContact}, replace=Bool, }) ``` diff --git a/old_docs/API_docs_v66/methods/contacts.resolveUsername.md b/old_docs/API_docs_v66/methods/contacts.resolveUsername.md index 05e3d854..46f1eb50 100644 --- a/old_docs/API_docs_v66/methods/contacts.resolveUsername.md +++ b/old_docs/API_docs_v66/methods/contacts.resolveUsername.md @@ -16,7 +16,7 @@ You cannot use this method directly, use the resolveUsername, getPwrChat, getInf |username|[string](../types/string.md) | You cannot use this method directly, use the resolveUsername, getPwrChat, getInfo, getFullInfo methods instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [contacts\_ResolvedPeer](../types/contacts_ResolvedPeer.md) +### Return type: [contacts.ResolvedPeer](../types/contacts.ResolvedPeer.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_ResolvedPeer = $MadelineProto->contacts->resolveUsername(['username' => 'string', ]); +$contacts.ResolvedPeer = $MadelineProto->contacts->resolveUsername(['username' => 'string', ]); ``` Or, if you're into Lua: ```lua -contacts_ResolvedPeer = contacts.resolveUsername({username='string', }) +contacts.ResolvedPeer = contacts.resolveUsername({username='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v66/methods/contacts.search.md b/old_docs/API_docs_v66/methods/contacts.search.md index 2f39d6f1..ec04c7f9 100644 --- a/old_docs/API_docs_v66/methods/contacts.search.md +++ b/old_docs/API_docs_v66/methods/contacts.search.md @@ -17,7 +17,7 @@ Returns users found by username substring. |limit|[int](../types/int.md) | Maximum number of users to be returned | Yes| -### Return type: [contacts\_Found](../types/contacts_Found.md) +### Return type: [contacts.Found](../types/contacts.Found.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Found = $MadelineProto->contacts->search(['q' => 'string', 'limit' => int, ]); +$contacts.Found = $MadelineProto->contacts->search(['q' => 'string', 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -contacts_Found = contacts.search({q='string', limit=int, }) +contacts.Found = contacts.search({q='string', limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v66/methods/help.getAppUpdate.md b/old_docs/API_docs_v66/methods/help.getAppUpdate.md index 4c58e898..b9899d71 100644 --- a/old_docs/API_docs_v66/methods/help.getAppUpdate.md +++ b/old_docs/API_docs_v66/methods/help.getAppUpdate.md @@ -11,7 +11,7 @@ Returns information on update availability for the current application. -### Return type: [help\_AppUpdate](../types/help_AppUpdate.md) +### Return type: [help.AppUpdate](../types/help.AppUpdate.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_AppUpdate = $MadelineProto->help->getAppUpdate(); +$help.AppUpdate = $MadelineProto->help->getAppUpdate(); ``` Or, if you're into Lua: ```lua -help_AppUpdate = help.getAppUpdate({}) +help.AppUpdate = help.getAppUpdate({}) ``` diff --git a/old_docs/API_docs_v66/methods/help.getInviteText.md b/old_docs/API_docs_v66/methods/help.getInviteText.md index 6fd67362..0d427974 100644 --- a/old_docs/API_docs_v66/methods/help.getInviteText.md +++ b/old_docs/API_docs_v66/methods/help.getInviteText.md @@ -11,7 +11,7 @@ Returns text of a text message with an invitation. -### Return type: [help\_InviteText](../types/help_InviteText.md) +### Return type: [help.InviteText](../types/help.InviteText.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_InviteText = $MadelineProto->help->getInviteText(); +$help.InviteText = $MadelineProto->help->getInviteText(); ``` Or, if you're into Lua: ```lua -help_InviteText = help.getInviteText({}) +help.InviteText = help.getInviteText({}) ``` diff --git a/old_docs/API_docs_v66/methods/help.getSupport.md b/old_docs/API_docs_v66/methods/help.getSupport.md index 7a577892..8a8df916 100644 --- a/old_docs/API_docs_v66/methods/help.getSupport.md +++ b/old_docs/API_docs_v66/methods/help.getSupport.md @@ -11,7 +11,7 @@ Returns the support user for the 'ask a question' feature. -### Return type: [help\_Support](../types/help_Support.md) +### Return type: [help.Support](../types/help.Support.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_Support = $MadelineProto->help->getSupport(); +$help.Support = $MadelineProto->help->getSupport(); ``` Or, if you're into Lua: ```lua -help_Support = help.getSupport({}) +help.Support = help.getSupport({}) ``` diff --git a/old_docs/API_docs_v66/methods/help.getTermsOfService.md b/old_docs/API_docs_v66/methods/help.getTermsOfService.md index f6226458..9f9b28f9 100644 --- a/old_docs/API_docs_v66/methods/help.getTermsOfService.md +++ b/old_docs/API_docs_v66/methods/help.getTermsOfService.md @@ -11,7 +11,7 @@ Get terms of service -### Return type: [help\_TermsOfService](../types/help_TermsOfService.md) +### Return type: [help.TermsOfService](../types/help.TermsOfService.md) ### Can bots use this method: **YES** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_TermsOfService = $MadelineProto->help->getTermsOfService(); +$help.TermsOfService = $MadelineProto->help->getTermsOfService(); ``` Or, if you're into Lua: ```lua -help_TermsOfService = help.getTermsOfService({}) +help.TermsOfService = help.getTermsOfService({}) ``` diff --git a/old_docs/API_docs_v66/methods/messages.deleteHistory.md b/old_docs/API_docs_v66/methods/messages.deleteHistory.md index 9ae1bae9..41460415 100644 --- a/old_docs/API_docs_v66/methods/messages.deleteHistory.md +++ b/old_docs/API_docs_v66/methods/messages.deleteHistory.md @@ -18,7 +18,7 @@ Deletes communication history. |max\_id|[int](../types/int.md) | Maximum ID of message to delete | Yes| -### Return type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) +### Return type: [messages.AffectedHistory](../types/messages.AffectedHistory.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedHistory = $MadelineProto->messages->deleteHistory(['just_clear' => Bool, 'peer' => InputPeer, 'max_id' => int, ]); +$messages.AffectedHistory = $MadelineProto->messages->deleteHistory(['just_clear' => Bool, 'peer' => InputPeer, 'max_id' => int, ]); ``` Or, if you're into Lua: ```lua -messages_AffectedHistory = messages.deleteHistory({just_clear=Bool, peer=InputPeer, max_id=int, }) +messages.AffectedHistory = messages.deleteHistory({just_clear=Bool, peer=InputPeer, max_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v66/methods/messages.deleteMessages.md b/old_docs/API_docs_v66/methods/messages.deleteMessages.md index ade04cae..ade96e60 100644 --- a/old_docs/API_docs_v66/methods/messages.deleteMessages.md +++ b/old_docs/API_docs_v66/methods/messages.deleteMessages.md @@ -17,7 +17,7 @@ Deletes messages by their identifiers. |id|Array of [int](../types/int.md) | IDs of messages to delete, use channels->deleteMessages for supergroups | Yes| -### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) +### Return type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedMessages = $MadelineProto->messages->deleteMessages(['revoke' => Bool, 'id' => [int, int], ]); +$messages.AffectedMessages = $MadelineProto->messages->deleteMessages(['revoke' => Bool, 'id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AffectedMessages = messages.deleteMessages({revoke=Bool, id={int}, }) +messages.AffectedMessages = messages.deleteMessages({revoke=Bool, id={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v66/methods/messages.getAllChats.md b/old_docs/API_docs_v66/methods/messages.getAllChats.md index cdcc5430..97cc4817 100644 --- a/old_docs/API_docs_v66/methods/messages.getAllChats.md +++ b/old_docs/API_docs_v66/methods/messages.getAllChats.md @@ -16,7 +16,7 @@ Get all chats, channels and supergroups |except\_ids|Array of [int](../types/int.md) | Do not fetch these chats (MTProto id) | Yes| -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->messages->getAllChats(['except_ids' => [int, int], ]); +$messages.Chats = $MadelineProto->messages->getAllChats(['except_ids' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Chats = messages.getAllChats({except_ids={int}, }) +messages.Chats = messages.getAllChats({except_ids={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v66/methods/messages.getAllStickers.md b/old_docs/API_docs_v66/methods/messages.getAllStickers.md index 329b70be..0f0de7f1 100644 --- a/old_docs/API_docs_v66/methods/messages.getAllStickers.md +++ b/old_docs/API_docs_v66/methods/messages.getAllStickers.md @@ -16,7 +16,7 @@ Get all installed stickers |hash|Array of [int](../types/int.md) | The hash parameter of the previous result of this method | Optional| -### Return type: [messages\_AllStickers](../types/messages_AllStickers.md) +### Return type: [messages.AllStickers](../types/messages.AllStickers.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AllStickers = $MadelineProto->messages->getAllStickers(['hash' => [int, int], ]); +$messages.AllStickers = $MadelineProto->messages->getAllStickers(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AllStickers = messages.getAllStickers({hash={int}, }) +messages.AllStickers = messages.getAllStickers({hash={int}, }) ``` diff --git a/old_docs/API_docs_v66/methods/messages.getArchivedStickers.md b/old_docs/API_docs_v66/methods/messages.getArchivedStickers.md index d3abe9fc..c108376e 100644 --- a/old_docs/API_docs_v66/methods/messages.getArchivedStickers.md +++ b/old_docs/API_docs_v66/methods/messages.getArchivedStickers.md @@ -18,7 +18,7 @@ Get all archived stickers |limit|[int](../types/int.md) | Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_ArchivedStickers](../types/messages_ArchivedStickers.md) +### Return type: [messages.ArchivedStickers](../types/messages.ArchivedStickers.md) ### Can bots use this method: **NO** @@ -35,12 +35,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_ArchivedStickers = $MadelineProto->messages->getArchivedStickers(['masks' => Bool, 'offset_id' => long, 'limit' => int, ]); +$messages.ArchivedStickers = $MadelineProto->messages->getArchivedStickers(['masks' => Bool, 'offset_id' => long, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -messages_ArchivedStickers = messages.getArchivedStickers({masks=Bool, offset_id=long, limit=int, }) +messages.ArchivedStickers = messages.getArchivedStickers({masks=Bool, offset_id=long, limit=int, }) ``` diff --git a/old_docs/API_docs_v66/methods/messages.getBotCallbackAnswer.md b/old_docs/API_docs_v66/methods/messages.getBotCallbackAnswer.md index 015fc46b..10072386 100644 --- a/old_docs/API_docs_v66/methods/messages.getBotCallbackAnswer.md +++ b/old_docs/API_docs_v66/methods/messages.getBotCallbackAnswer.md @@ -19,7 +19,7 @@ Press an inline callback button and get a callback answer from the bot |data|[bytes](../types/bytes.md) | Callback data | Optional| -### Return type: [messages\_BotCallbackAnswer](../types/messages_BotCallbackAnswer.md) +### Return type: [messages.BotCallbackAnswer](../types/messages.BotCallbackAnswer.md) ### Can bots use this method: **NO** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_BotCallbackAnswer = $MadelineProto->messages->getBotCallbackAnswer(['game' => Bool, 'peer' => InputPeer, 'msg_id' => int, 'data' => 'bytes', ]); +$messages.BotCallbackAnswer = $MadelineProto->messages->getBotCallbackAnswer(['game' => Bool, 'peer' => InputPeer, 'msg_id' => int, 'data' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -messages_BotCallbackAnswer = messages.getBotCallbackAnswer({game=Bool, peer=InputPeer, msg_id=int, data='bytes', }) +messages.BotCallbackAnswer = messages.getBotCallbackAnswer({game=Bool, peer=InputPeer, msg_id=int, data='bytes', }) ``` ### Errors diff --git a/old_docs/API_docs_v66/methods/messages.getChats.md b/old_docs/API_docs_v66/methods/messages.getChats.md index c34b0488..146341f5 100644 --- a/old_docs/API_docs_v66/methods/messages.getChats.md +++ b/old_docs/API_docs_v66/methods/messages.getChats.md @@ -16,7 +16,7 @@ Returns chat basic info on their IDs. |id|Array of [int](../types/int.md) | The MTProto IDs of chats to fetch info about | Yes| -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->messages->getChats(['id' => [int, int], ]); +$messages.Chats = $MadelineProto->messages->getChats(['id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Chats = messages.getChats({id={int}, }) +messages.Chats = messages.getChats({id={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v66/methods/messages.getCommonChats.md b/old_docs/API_docs_v66/methods/messages.getCommonChats.md index fc7b2363..56a3ec01 100644 --- a/old_docs/API_docs_v66/methods/messages.getCommonChats.md +++ b/old_docs/API_docs_v66/methods/messages.getCommonChats.md @@ -18,7 +18,7 @@ Get chats in common with a user |limit|[int](../types/int.md) | Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->messages->getCommonChats(['user_id' => InputUser, 'max_id' => int, 'limit' => int, ]); +$messages.Chats = $MadelineProto->messages->getCommonChats(['user_id' => InputUser, 'max_id' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Chats = messages.getCommonChats({user_id=InputUser, max_id=int, limit=int, }) +messages.Chats = messages.getCommonChats({user_id=InputUser, max_id=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v66/methods/messages.getDhConfig.md b/old_docs/API_docs_v66/methods/messages.getDhConfig.md index 88ea4ab3..7b9da566 100644 --- a/old_docs/API_docs_v66/methods/messages.getDhConfig.md +++ b/old_docs/API_docs_v66/methods/messages.getDhConfig.md @@ -17,7 +17,7 @@ You cannot use this method directly, instead use $MadelineProto->getDhConfig(); |random\_length|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->getDhConfig(); | Yes| -### Return type: [messages\_DhConfig](../types/messages_DhConfig.md) +### Return type: [messages.DhConfig](../types/messages.DhConfig.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_DhConfig = $MadelineProto->messages->getDhConfig(['version' => int, 'random_length' => int, ]); +$messages.DhConfig = $MadelineProto->messages->getDhConfig(['version' => int, 'random_length' => int, ]); ``` Or, if you're into Lua: ```lua -messages_DhConfig = messages.getDhConfig({version=int, random_length=int, }) +messages.DhConfig = messages.getDhConfig({version=int, random_length=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v66/methods/messages.getDialogs.md b/old_docs/API_docs_v66/methods/messages.getDialogs.md index 9f3fd365..44b8efc8 100644 --- a/old_docs/API_docs_v66/methods/messages.getDialogs.md +++ b/old_docs/API_docs_v66/methods/messages.getDialogs.md @@ -20,7 +20,7 @@ Returns the current user dialog list. |limit|[int](../types/int.md) | Number of list elements to be returned | Yes| -### Return type: [messages\_Dialogs](../types/messages_Dialogs.md) +### Return type: [messages.Dialogs](../types/messages.Dialogs.md) ### Can bots use this method: **NO** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Dialogs = $MadelineProto->messages->getDialogs(['exclude_pinned' => Bool, 'offset_date' => int, 'offset_id' => int, 'offset_peer' => InputPeer, 'limit' => int, ]); +$messages.Dialogs = $MadelineProto->messages->getDialogs(['exclude_pinned' => Bool, 'offset_date' => int, 'offset_id' => int, 'offset_peer' => InputPeer, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Dialogs = messages.getDialogs({exclude_pinned=Bool, offset_date=int, offset_id=int, offset_peer=InputPeer, limit=int, }) +messages.Dialogs = messages.getDialogs({exclude_pinned=Bool, offset_date=int, offset_id=int, offset_peer=InputPeer, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v66/methods/messages.getFeaturedStickers.md b/old_docs/API_docs_v66/methods/messages.getFeaturedStickers.md index 8f2634c3..2d65d626 100644 --- a/old_docs/API_docs_v66/methods/messages.getFeaturedStickers.md +++ b/old_docs/API_docs_v66/methods/messages.getFeaturedStickers.md @@ -16,7 +16,7 @@ Get featured stickers |hash|Array of [int](../types/int.md) | the hash parameter of the previous result of this method | Optional| -### Return type: [messages\_FeaturedStickers](../types/messages_FeaturedStickers.md) +### Return type: [messages.FeaturedStickers](../types/messages.FeaturedStickers.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_FeaturedStickers = $MadelineProto->messages->getFeaturedStickers(['hash' => [int, int], ]); +$messages.FeaturedStickers = $MadelineProto->messages->getFeaturedStickers(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_FeaturedStickers = messages.getFeaturedStickers({hash={int}, }) +messages.FeaturedStickers = messages.getFeaturedStickers({hash={int}, }) ``` diff --git a/old_docs/API_docs_v66/methods/messages.getFullChat.md b/old_docs/API_docs_v66/methods/messages.getFullChat.md index abf23e21..de543651 100644 --- a/old_docs/API_docs_v66/methods/messages.getFullChat.md +++ b/old_docs/API_docs_v66/methods/messages.getFullChat.md @@ -16,7 +16,7 @@ You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo me |chat\_id|[Username, chat ID, Update, Message or InputPeer](../types/InputPeer.md) | You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo methods instead (see https://docs.madelineproto.xyz for more info) | Optional| -### Return type: [messages\_ChatFull](../types/messages_ChatFull.md) +### Return type: [messages.ChatFull](../types/messages.ChatFull.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_ChatFull = $MadelineProto->messages->getFullChat(['chat_id' => InputPeer, ]); +$messages.ChatFull = $MadelineProto->messages->getFullChat(['chat_id' => InputPeer, ]); ``` Or, if you're into Lua: ```lua -messages_ChatFull = messages.getFullChat({chat_id=InputPeer, }) +messages.ChatFull = messages.getFullChat({chat_id=InputPeer, }) ``` ### Errors diff --git a/old_docs/API_docs_v66/methods/messages.getGameHighScores.md b/old_docs/API_docs_v66/methods/messages.getGameHighScores.md index 0ee9d754..6e4dacb2 100644 --- a/old_docs/API_docs_v66/methods/messages.getGameHighScores.md +++ b/old_docs/API_docs_v66/methods/messages.getGameHighScores.md @@ -18,7 +18,7 @@ Get highscores of a game |user\_id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | Get high scores made by a certain user | Optional| -### Return type: [messages\_HighScores](../types/messages_HighScores.md) +### Return type: [messages.HighScores](../types/messages.HighScores.md) ### Can bots use this method: **YES** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_HighScores = $MadelineProto->messages->getGameHighScores(['peer' => InputPeer, 'id' => int, 'user_id' => InputUser, ]); +$messages.HighScores = $MadelineProto->messages->getGameHighScores(['peer' => InputPeer, 'id' => int, 'user_id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -messages_HighScores = messages.getGameHighScores({peer=InputPeer, id=int, user_id=InputUser, }) +messages.HighScores = messages.getGameHighScores({peer=InputPeer, id=int, user_id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v66/methods/messages.getHistory.md b/old_docs/API_docs_v66/methods/messages.getHistory.md index 636183d2..8e012da1 100644 --- a/old_docs/API_docs_v66/methods/messages.getHistory.md +++ b/old_docs/API_docs_v66/methods/messages.getHistory.md @@ -22,7 +22,7 @@ Gets back the conversation history with one interlocutor / within a chat |min\_id|[int](../types/int.md) | If a positive value was transferred, the method will return only messages with IDs more than **min\_id** | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **NO** @@ -39,13 +39,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->getHistory(['peer' => InputPeer, 'offset_id' => int, 'offset_date' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); +$messages.Messages = $MadelineProto->messages->getHistory(['peer' => InputPeer, 'offset_id' => int, 'offset_date' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.getHistory({peer=InputPeer, offset_id=int, offset_date=int, add_offset=int, limit=int, max_id=int, min_id=int, }) +messages.Messages = messages.getHistory({peer=InputPeer, offset_id=int, offset_date=int, add_offset=int, limit=int, max_id=int, min_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v66/methods/messages.getInlineBotResults.md b/old_docs/API_docs_v66/methods/messages.getInlineBotResults.md index ac251797..8a397236 100644 --- a/old_docs/API_docs_v66/methods/messages.getInlineBotResults.md +++ b/old_docs/API_docs_v66/methods/messages.getInlineBotResults.md @@ -20,7 +20,7 @@ Query an inline bot |offset|[string](../types/string.md) | The offset within the results, will be passed directly as-is to the bot. | Yes| -### Return type: [messages\_BotResults](../types/messages_BotResults.md) +### Return type: [messages.BotResults](../types/messages.BotResults.md) ### Can bots use this method: **NO** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_BotResults = $MadelineProto->messages->getInlineBotResults(['bot' => InputUser, 'peer' => InputPeer, 'geo_point' => InputGeoPoint, 'query' => 'string', 'offset' => 'string', ]); +$messages.BotResults = $MadelineProto->messages->getInlineBotResults(['bot' => InputUser, 'peer' => InputPeer, 'geo_point' => InputGeoPoint, 'query' => 'string', 'offset' => 'string', ]); ``` Or, if you're into Lua: ```lua -messages_BotResults = messages.getInlineBotResults({bot=InputUser, peer=InputPeer, geo_point=InputGeoPoint, query='string', offset='string', }) +messages.BotResults = messages.getInlineBotResults({bot=InputUser, peer=InputPeer, geo_point=InputGeoPoint, query='string', offset='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v66/methods/messages.getInlineGameHighScores.md b/old_docs/API_docs_v66/methods/messages.getInlineGameHighScores.md index 0d02b426..dbcb2cf6 100644 --- a/old_docs/API_docs_v66/methods/messages.getInlineGameHighScores.md +++ b/old_docs/API_docs_v66/methods/messages.getInlineGameHighScores.md @@ -17,7 +17,7 @@ Get highscores of a game sent using an inline bot |user\_id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | Get high scores of a certain user | Optional| -### Return type: [messages\_HighScores](../types/messages_HighScores.md) +### Return type: [messages.HighScores](../types/messages.HighScores.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_HighScores = $MadelineProto->messages->getInlineGameHighScores(['id' => InputBotInlineMessageID, 'user_id' => InputUser, ]); +$messages.HighScores = $MadelineProto->messages->getInlineGameHighScores(['id' => InputBotInlineMessageID, 'user_id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -messages_HighScores = messages.getInlineGameHighScores({id=InputBotInlineMessageID, user_id=InputUser, }) +messages.HighScores = messages.getInlineGameHighScores({id=InputBotInlineMessageID, user_id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v66/methods/messages.getMaskStickers.md b/old_docs/API_docs_v66/methods/messages.getMaskStickers.md index a09834e1..093645f6 100644 --- a/old_docs/API_docs_v66/methods/messages.getMaskStickers.md +++ b/old_docs/API_docs_v66/methods/messages.getMaskStickers.md @@ -16,7 +16,7 @@ Get installed mask stickers |hash|Array of [int](../types/int.md) | the hash parameter of the previous result of this method | Optional| -### Return type: [messages\_AllStickers](../types/messages_AllStickers.md) +### Return type: [messages.AllStickers](../types/messages.AllStickers.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AllStickers = $MadelineProto->messages->getMaskStickers(['hash' => [int, int], ]); +$messages.AllStickers = $MadelineProto->messages->getMaskStickers(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AllStickers = messages.getMaskStickers({hash={int}, }) +messages.AllStickers = messages.getMaskStickers({hash={int}, }) ``` diff --git a/old_docs/API_docs_v66/methods/messages.getMessageEditData.md b/old_docs/API_docs_v66/methods/messages.getMessageEditData.md index 1a083f08..7fd32e82 100644 --- a/old_docs/API_docs_v66/methods/messages.getMessageEditData.md +++ b/old_docs/API_docs_v66/methods/messages.getMessageEditData.md @@ -17,7 +17,7 @@ Find out if a media message's caption can be edited |id|[int](../types/int.md) | ID of message | Yes| -### Return type: [messages\_MessageEditData](../types/messages_MessageEditData.md) +### Return type: [messages.MessageEditData](../types/messages.MessageEditData.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_MessageEditData = $MadelineProto->messages->getMessageEditData(['peer' => InputPeer, 'id' => int, ]); +$messages.MessageEditData = $MadelineProto->messages->getMessageEditData(['peer' => InputPeer, 'id' => int, ]); ``` Or, if you're into Lua: ```lua -messages_MessageEditData = messages.getMessageEditData({peer=InputPeer, id=int, }) +messages.MessageEditData = messages.getMessageEditData({peer=InputPeer, id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v66/methods/messages.getMessages.md b/old_docs/API_docs_v66/methods/messages.getMessages.md index a3139513..c7760d7e 100644 --- a/old_docs/API_docs_v66/methods/messages.getMessages.md +++ b/old_docs/API_docs_v66/methods/messages.getMessages.md @@ -16,7 +16,7 @@ Returns the list of messages by their IDs. |id|Array of [int](../types/int.md) | The IDs of messages to fetch (only for users and normal groups) | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **YES** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->getMessages(['id' => [int, int], ]); +$messages.Messages = $MadelineProto->messages->getMessages(['id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.getMessages({id={int}, }) +messages.Messages = messages.getMessages({id={int}, }) ``` diff --git a/old_docs/API_docs_v66/methods/messages.getPeerDialogs.md b/old_docs/API_docs_v66/methods/messages.getPeerDialogs.md index a2c2714b..79bd7fa3 100644 --- a/old_docs/API_docs_v66/methods/messages.getPeerDialogs.md +++ b/old_docs/API_docs_v66/methods/messages.getPeerDialogs.md @@ -16,7 +16,7 @@ Get dialog info of specified peers |peers|Array of [Username, chat ID, Update, Message or InputPeer](../types/InputPeer.md) | The peers | Yes| -### Return type: [messages\_PeerDialogs](../types/messages_PeerDialogs.md) +### Return type: [messages.PeerDialogs](../types/messages.PeerDialogs.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_PeerDialogs = $MadelineProto->messages->getPeerDialogs(['peers' => [InputPeer, InputPeer], ]); +$messages.PeerDialogs = $MadelineProto->messages->getPeerDialogs(['peers' => [InputPeer, InputPeer], ]); ``` Or, if you're into Lua: ```lua -messages_PeerDialogs = messages.getPeerDialogs({peers={InputPeer}, }) +messages.PeerDialogs = messages.getPeerDialogs({peers={InputPeer}, }) ``` ### Errors diff --git a/old_docs/API_docs_v66/methods/messages.getPinnedDialogs.md b/old_docs/API_docs_v66/methods/messages.getPinnedDialogs.md index f106098d..161075f2 100644 --- a/old_docs/API_docs_v66/methods/messages.getPinnedDialogs.md +++ b/old_docs/API_docs_v66/methods/messages.getPinnedDialogs.md @@ -11,7 +11,7 @@ Get pinned dialogs -### Return type: [messages\_PeerDialogs](../types/messages_PeerDialogs.md) +### Return type: [messages.PeerDialogs](../types/messages.PeerDialogs.md) ### Can bots use this method: **NO** @@ -28,13 +28,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_PeerDialogs = $MadelineProto->messages->getPinnedDialogs(); +$messages.PeerDialogs = $MadelineProto->messages->getPinnedDialogs(); ``` Or, if you're into Lua: ```lua -messages_PeerDialogs = messages.getPinnedDialogs({}) +messages.PeerDialogs = messages.getPinnedDialogs({}) ``` ### Errors diff --git a/old_docs/API_docs_v66/methods/messages.getRecentStickers.md b/old_docs/API_docs_v66/methods/messages.getRecentStickers.md index 28a70889..39cef16a 100644 --- a/old_docs/API_docs_v66/methods/messages.getRecentStickers.md +++ b/old_docs/API_docs_v66/methods/messages.getRecentStickers.md @@ -17,7 +17,7 @@ Get recent stickers |hash|Array of [int](../types/int.md) | IDs the hash parameter of the previous result of this method | Optional| -### Return type: [messages\_RecentStickers](../types/messages_RecentStickers.md) +### Return type: [messages.RecentStickers](../types/messages.RecentStickers.md) ### Can bots use this method: **NO** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_RecentStickers = $MadelineProto->messages->getRecentStickers(['attached' => Bool, 'hash' => [int, int], ]); +$messages.RecentStickers = $MadelineProto->messages->getRecentStickers(['attached' => Bool, 'hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_RecentStickers = messages.getRecentStickers({attached=Bool, hash={int}, }) +messages.RecentStickers = messages.getRecentStickers({attached=Bool, hash={int}, }) ``` diff --git a/old_docs/API_docs_v66/methods/messages.getSavedGifs.md b/old_docs/API_docs_v66/methods/messages.getSavedGifs.md index 1df7f37c..8b31f7b8 100644 --- a/old_docs/API_docs_v66/methods/messages.getSavedGifs.md +++ b/old_docs/API_docs_v66/methods/messages.getSavedGifs.md @@ -16,7 +16,7 @@ Get saved GIFs |hash|Array of [int](../types/int.md) | the hash parameter of the previous result of this method | Optional| -### Return type: [messages\_SavedGifs](../types/messages_SavedGifs.md) +### Return type: [messages.SavedGifs](../types/messages.SavedGifs.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_SavedGifs = $MadelineProto->messages->getSavedGifs(['hash' => [int, int], ]); +$messages.SavedGifs = $MadelineProto->messages->getSavedGifs(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_SavedGifs = messages.getSavedGifs({hash={int}, }) +messages.SavedGifs = messages.getSavedGifs({hash={int}, }) ``` diff --git a/old_docs/API_docs_v66/methods/messages.getStickerSet.md b/old_docs/API_docs_v66/methods/messages.getStickerSet.md index 45fca60f..f11887ee 100644 --- a/old_docs/API_docs_v66/methods/messages.getStickerSet.md +++ b/old_docs/API_docs_v66/methods/messages.getStickerSet.md @@ -16,7 +16,7 @@ Get info about a stickerset |stickerset|[InputStickerSet](../types/InputStickerSet.md) | Stickerset | Optional| -### Return type: [messages\_StickerSet](../types/messages_StickerSet.md) +### Return type: [messages.StickerSet](../types/messages.StickerSet.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StickerSet = $MadelineProto->messages->getStickerSet(['stickerset' => InputStickerSet, ]); +$messages.StickerSet = $MadelineProto->messages->getStickerSet(['stickerset' => InputStickerSet, ]); ``` Or, if you're into Lua: ```lua -messages_StickerSet = messages.getStickerSet({stickerset=InputStickerSet, }) +messages.StickerSet = messages.getStickerSet({stickerset=InputStickerSet, }) ``` ### Errors diff --git a/old_docs/API_docs_v66/methods/messages.installStickerSet.md b/old_docs/API_docs_v66/methods/messages.installStickerSet.md index 1a95ca0b..83ce2121 100644 --- a/old_docs/API_docs_v66/methods/messages.installStickerSet.md +++ b/old_docs/API_docs_v66/methods/messages.installStickerSet.md @@ -17,7 +17,7 @@ Install a stickerset |archived|[Bool](../types/Bool.md) | Whether to archive stickerset | Yes| -### Return type: [messages\_StickerSetInstallResult](../types/messages_StickerSetInstallResult.md) +### Return type: [messages.StickerSetInstallResult](../types/messages.StickerSetInstallResult.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StickerSetInstallResult = $MadelineProto->messages->installStickerSet(['stickerset' => InputStickerSet, 'archived' => Bool, ]); +$messages.StickerSetInstallResult = $MadelineProto->messages->installStickerSet(['stickerset' => InputStickerSet, 'archived' => Bool, ]); ``` Or, if you're into Lua: ```lua -messages_StickerSetInstallResult = messages.installStickerSet({stickerset=InputStickerSet, archived=Bool, }) +messages.StickerSetInstallResult = messages.installStickerSet({stickerset=InputStickerSet, archived=Bool, }) ``` ### Errors diff --git a/old_docs/API_docs_v66/methods/messages.readHistory.md b/old_docs/API_docs_v66/methods/messages.readHistory.md index 39753375..52030c68 100644 --- a/old_docs/API_docs_v66/methods/messages.readHistory.md +++ b/old_docs/API_docs_v66/methods/messages.readHistory.md @@ -17,7 +17,7 @@ Marks message history as read. |max\_id|[int](../types/int.md) | If a positive value is passed, only messages with identifiers less or equal than the given one will be read | Yes| -### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) +### Return type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedMessages = $MadelineProto->messages->readHistory(['peer' => InputPeer, 'max_id' => int, ]); +$messages.AffectedMessages = $MadelineProto->messages->readHistory(['peer' => InputPeer, 'max_id' => int, ]); ``` Or, if you're into Lua: ```lua -messages_AffectedMessages = messages.readHistory({peer=InputPeer, max_id=int, }) +messages.AffectedMessages = messages.readHistory({peer=InputPeer, max_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v66/methods/messages.readMessageContents.md b/old_docs/API_docs_v66/methods/messages.readMessageContents.md index c479cafe..9798e661 100644 --- a/old_docs/API_docs_v66/methods/messages.readMessageContents.md +++ b/old_docs/API_docs_v66/methods/messages.readMessageContents.md @@ -16,7 +16,7 @@ Notifies the sender about the recipient having listened a voice message or watch |id|Array of [int](../types/int.md) | The messages to mark as read (only users and normal chats, not supergroups) | Yes| -### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) +### Return type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedMessages = $MadelineProto->messages->readMessageContents(['id' => [int, int], ]); +$messages.AffectedMessages = $MadelineProto->messages->readMessageContents(['id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AffectedMessages = messages.readMessageContents({id={int}, }) +messages.AffectedMessages = messages.readMessageContents({id={int}, }) ``` diff --git a/old_docs/API_docs_v66/methods/messages.search.md b/old_docs/API_docs_v66/methods/messages.search.md index 4fda6636..7ebe6a9a 100644 --- a/old_docs/API_docs_v66/methods/messages.search.md +++ b/old_docs/API_docs_v66/methods/messages.search.md @@ -23,7 +23,7 @@ Gets back found messages |limit|[int](../types/int.md) | [Number of results to return](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **NO** @@ -40,13 +40,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->search(['peer' => InputPeer, 'q' => 'string', 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); +$messages.Messages = $MadelineProto->messages->search(['peer' => InputPeer, 'q' => 'string', 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.search({peer=InputPeer, q='string', filter=MessagesFilter, min_date=int, max_date=int, offset=int, max_id=int, limit=int, }) +messages.Messages = messages.search({peer=InputPeer, q='string', filter=MessagesFilter, min_date=int, max_date=int, offset=int, max_id=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v66/methods/messages.searchGifs.md b/old_docs/API_docs_v66/methods/messages.searchGifs.md index 851371d7..193a0cd4 100644 --- a/old_docs/API_docs_v66/methods/messages.searchGifs.md +++ b/old_docs/API_docs_v66/methods/messages.searchGifs.md @@ -17,7 +17,7 @@ Search for GIFs |offset|[int](../types/int.md) | Offset for [pagination »](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_FoundGifs](../types/messages_FoundGifs.md) +### Return type: [messages.FoundGifs](../types/messages.FoundGifs.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_FoundGifs = $MadelineProto->messages->searchGifs(['q' => 'string', 'offset' => int, ]); +$messages.FoundGifs = $MadelineProto->messages->searchGifs(['q' => 'string', 'offset' => int, ]); ``` Or, if you're into Lua: ```lua -messages_FoundGifs = messages.searchGifs({q='string', offset=int, }) +messages.FoundGifs = messages.searchGifs({q='string', offset=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v66/methods/messages.searchGlobal.md b/old_docs/API_docs_v66/methods/messages.searchGlobal.md index 4bd59f25..1a3b736d 100644 --- a/old_docs/API_docs_v66/methods/messages.searchGlobal.md +++ b/old_docs/API_docs_v66/methods/messages.searchGlobal.md @@ -20,7 +20,7 @@ Search for messages and peers globally |limit|[int](../types/int.md) | [Offsets for pagination, for more info click here](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **NO** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->searchGlobal(['q' => 'string', 'offset_date' => int, 'offset_peer' => InputPeer, 'offset_id' => int, 'limit' => int, ]); +$messages.Messages = $MadelineProto->messages->searchGlobal(['q' => 'string', 'offset_date' => int, 'offset_peer' => InputPeer, 'offset_id' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.searchGlobal({q='string', offset_date=int, offset_peer=InputPeer, offset_id=int, limit=int, }) +messages.Messages = messages.searchGlobal({q='string', offset_date=int, offset_peer=InputPeer, offset_id=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v66/methods/messages.sendEncrypted.md b/old_docs/API_docs_v66/methods/messages.sendEncrypted.md index 47b5ef29..6a68b563 100644 --- a/old_docs/API_docs_v66/methods/messages.sendEncrypted.md +++ b/old_docs/API_docs_v66/methods/messages.sendEncrypted.md @@ -14,10 +14,10 @@ Sends a text message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|message|[DecryptedMessage](../types/DecryptedMessage.md) | The message to send | Yes| +|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key that was created during chat initialization | Yes| -### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ### Can bots use this method: **NO** @@ -34,21 +34,15 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncrypted(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); +$messages.SentEncryptedMessage = $MadelineProto->messages->sendEncrypted(['peer' => InputEncryptedChat, 'data' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -messages_SentEncryptedMessage = messages.sendEncrypted({peer=InputEncryptedChat, message=DecryptedMessage, }) +messages.SentEncryptedMessage = messages.sendEncrypted({peer=InputEncryptedChat, data='bytes', }) ``` - -## Return value - -If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) will be returned instead. - - ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v66/methods/messages.sendEncryptedFile.md b/old_docs/API_docs_v66/methods/messages.sendEncryptedFile.md index 4e0f7b7f..87185ba4 100644 --- a/old_docs/API_docs_v66/methods/messages.sendEncryptedFile.md +++ b/old_docs/API_docs_v66/methods/messages.sendEncryptedFile.md @@ -14,11 +14,11 @@ Sends a message with a file attachment to a secret chat | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|message|[DecryptedMessage](../types/DecryptedMessage.md) | The message with the file | Yes| +|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| |file|[File path or InputEncryptedFile](../types/InputEncryptedFile.md) | File attachment for the secret chat | Optional| -### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ### Can bots use this method: **NO** @@ -35,21 +35,15 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedFile(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, 'file' => InputEncryptedFile, ]); +$messages.SentEncryptedMessage = $MadelineProto->messages->sendEncryptedFile(['peer' => InputEncryptedChat, 'data' => 'bytes', 'file' => InputEncryptedFile, ]); ``` Or, if you're into Lua: ```lua -messages_SentEncryptedMessage = messages.sendEncryptedFile({peer=InputEncryptedChat, message=DecryptedMessage, file=InputEncryptedFile, }) +messages.SentEncryptedMessage = messages.sendEncryptedFile({peer=InputEncryptedChat, data='bytes', file=InputEncryptedFile, }) ``` - -## Return value - -If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) will be returned instead. - - ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v66/methods/messages.sendEncryptedService.md b/old_docs/API_docs_v66/methods/messages.sendEncryptedService.md index 86925ae3..38171272 100644 --- a/old_docs/API_docs_v66/methods/messages.sendEncryptedService.md +++ b/old_docs/API_docs_v66/methods/messages.sendEncryptedService.md @@ -14,10 +14,10 @@ Sends a service message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|message|[DecryptedMessage](../types/DecryptedMessage.md) | The service message | Yes| +|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| -### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ### Can bots use this method: **NO** @@ -34,21 +34,15 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedService(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); +$messages.SentEncryptedMessage = $MadelineProto->messages->sendEncryptedService(['peer' => InputEncryptedChat, 'data' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -messages_SentEncryptedMessage = messages.sendEncryptedService({peer=InputEncryptedChat, message=DecryptedMessage, }) +messages.SentEncryptedMessage = messages.sendEncryptedService({peer=InputEncryptedChat, data='bytes', }) ``` - -## Return value - -If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) will be returned instead. - - ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v66/methods/payments.getPaymentForm.md b/old_docs/API_docs_v66/methods/payments.getPaymentForm.md index 3a171a05..da173f14 100644 --- a/old_docs/API_docs_v66/methods/payments.getPaymentForm.md +++ b/old_docs/API_docs_v66/methods/payments.getPaymentForm.md @@ -16,7 +16,7 @@ Get a payment form |msg\_id|[int](../types/int.md) | Message ID of payment form | Yes| -### Return type: [payments\_PaymentForm](../types/payments_PaymentForm.md) +### Return type: [payments.PaymentForm](../types/payments.PaymentForm.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$payments_PaymentForm = $MadelineProto->payments->getPaymentForm(['msg_id' => int, ]); +$payments.PaymentForm = $MadelineProto->payments->getPaymentForm(['msg_id' => int, ]); ``` Or, if you're into Lua: ```lua -payments_PaymentForm = payments.getPaymentForm({msg_id=int, }) +payments.PaymentForm = payments.getPaymentForm({msg_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v66/methods/payments.getPaymentReceipt.md b/old_docs/API_docs_v66/methods/payments.getPaymentReceipt.md index 46d2267c..16e41367 100644 --- a/old_docs/API_docs_v66/methods/payments.getPaymentReceipt.md +++ b/old_docs/API_docs_v66/methods/payments.getPaymentReceipt.md @@ -16,7 +16,7 @@ Get payment receipt |msg\_id|[int](../types/int.md) | Message ID of receipt | Yes| -### Return type: [payments\_PaymentReceipt](../types/payments_PaymentReceipt.md) +### Return type: [payments.PaymentReceipt](../types/payments.PaymentReceipt.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$payments_PaymentReceipt = $MadelineProto->payments->getPaymentReceipt(['msg_id' => int, ]); +$payments.PaymentReceipt = $MadelineProto->payments->getPaymentReceipt(['msg_id' => int, ]); ``` Or, if you're into Lua: ```lua -payments_PaymentReceipt = payments.getPaymentReceipt({msg_id=int, }) +payments.PaymentReceipt = payments.getPaymentReceipt({msg_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v66/methods/payments.getSavedInfo.md b/old_docs/API_docs_v66/methods/payments.getSavedInfo.md index dc9c9b98..fe2c16ec 100644 --- a/old_docs/API_docs_v66/methods/payments.getSavedInfo.md +++ b/old_docs/API_docs_v66/methods/payments.getSavedInfo.md @@ -11,7 +11,7 @@ Get saved payment information -### Return type: [payments\_SavedInfo](../types/payments_SavedInfo.md) +### Return type: [payments.SavedInfo](../types/payments.SavedInfo.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$payments_SavedInfo = $MadelineProto->payments->getSavedInfo(); +$payments.SavedInfo = $MadelineProto->payments->getSavedInfo(); ``` Or, if you're into Lua: ```lua -payments_SavedInfo = payments.getSavedInfo({}) +payments.SavedInfo = payments.getSavedInfo({}) ``` diff --git a/old_docs/API_docs_v66/methods/payments.sendPaymentForm.md b/old_docs/API_docs_v66/methods/payments.sendPaymentForm.md index 8c478b92..de154e7f 100644 --- a/old_docs/API_docs_v66/methods/payments.sendPaymentForm.md +++ b/old_docs/API_docs_v66/methods/payments.sendPaymentForm.md @@ -19,7 +19,7 @@ Send compiled payment form |credentials|[InputPaymentCredentials](../types/InputPaymentCredentials.md) | Payment credentials | Yes| -### Return type: [payments\_PaymentResult](../types/payments_PaymentResult.md) +### Return type: [payments.PaymentResult](../types/payments.PaymentResult.md) ### Can bots use this method: **NO** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$payments_PaymentResult = $MadelineProto->payments->sendPaymentForm(['msg_id' => int, 'requested_info_id' => 'string', 'shipping_option_id' => 'string', 'credentials' => InputPaymentCredentials, ]); +$payments.PaymentResult = $MadelineProto->payments->sendPaymentForm(['msg_id' => int, 'requested_info_id' => 'string', 'shipping_option_id' => 'string', 'credentials' => InputPaymentCredentials, ]); ``` Or, if you're into Lua: ```lua -payments_PaymentResult = payments.sendPaymentForm({msg_id=int, requested_info_id='string', shipping_option_id='string', credentials=InputPaymentCredentials, }) +payments.PaymentResult = payments.sendPaymentForm({msg_id=int, requested_info_id='string', shipping_option_id='string', credentials=InputPaymentCredentials, }) ``` ### Errors diff --git a/old_docs/API_docs_v66/methods/payments.validateRequestedInfo.md b/old_docs/API_docs_v66/methods/payments.validateRequestedInfo.md index d6364a02..ce22cfe8 100644 --- a/old_docs/API_docs_v66/methods/payments.validateRequestedInfo.md +++ b/old_docs/API_docs_v66/methods/payments.validateRequestedInfo.md @@ -18,7 +18,7 @@ Submit requested order information for validation |info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Requested order information | Yes| -### Return type: [payments\_ValidatedRequestedInfo](../types/payments_ValidatedRequestedInfo.md) +### Return type: [payments.ValidatedRequestedInfo](../types/payments.ValidatedRequestedInfo.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$payments_ValidatedRequestedInfo = $MadelineProto->payments->validateRequestedInfo(['save' => Bool, 'msg_id' => int, 'info' => PaymentRequestedInfo, ]); +$payments.ValidatedRequestedInfo = $MadelineProto->payments->validateRequestedInfo(['save' => Bool, 'msg_id' => int, 'info' => PaymentRequestedInfo, ]); ``` Or, if you're into Lua: ```lua -payments_ValidatedRequestedInfo = payments.validateRequestedInfo({save=Bool, msg_id=int, info=PaymentRequestedInfo, }) +payments.ValidatedRequestedInfo = payments.validateRequestedInfo({save=Bool, msg_id=int, info=PaymentRequestedInfo, }) ``` ### Errors diff --git a/old_docs/API_docs_v66/methods/phone.acceptCall.md b/old_docs/API_docs_v66/methods/phone.acceptCall.md index f5c58f01..6b9185aa 100644 --- a/old_docs/API_docs_v66/methods/phone.acceptCall.md +++ b/old_docs/API_docs_v66/methods/phone.acceptCall.md @@ -18,7 +18,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz#calls fo |protocol|[PhoneCallProtocol](../types/PhoneCallProtocol.md) | You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls | Yes| -### Return type: [phone\_PhoneCall](../types/phone_PhoneCall.md) +### Return type: [phone.PhoneCall](../types/phone.PhoneCall.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$phone_PhoneCall = $MadelineProto->phone->acceptCall(['peer' => InputPhoneCall, 'g_b' => 'bytes', 'protocol' => PhoneCallProtocol, ]); +$phone.PhoneCall = $MadelineProto->phone->acceptCall(['peer' => InputPhoneCall, 'g_b' => 'bytes', 'protocol' => PhoneCallProtocol, ]); ``` Or, if you're into Lua: ```lua -phone_PhoneCall = phone.acceptCall({peer=InputPhoneCall, g_b='bytes', protocol=PhoneCallProtocol, }) +phone.PhoneCall = phone.acceptCall({peer=InputPhoneCall, g_b='bytes', protocol=PhoneCallProtocol, }) ``` ### Errors diff --git a/old_docs/API_docs_v66/methods/phone.confirmCall.md b/old_docs/API_docs_v66/methods/phone.confirmCall.md index 468307cc..a52d1f9c 100644 --- a/old_docs/API_docs_v66/methods/phone.confirmCall.md +++ b/old_docs/API_docs_v66/methods/phone.confirmCall.md @@ -19,7 +19,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz#calls fo |protocol|[PhoneCallProtocol](../types/PhoneCallProtocol.md) | You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls | Yes| -### Return type: [phone\_PhoneCall](../types/phone_PhoneCall.md) +### Return type: [phone.PhoneCall](../types/phone.PhoneCall.md) ### Can bots use this method: **NO** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$phone_PhoneCall = $MadelineProto->phone->confirmCall(['peer' => InputPhoneCall, 'g_a' => 'bytes', 'key_fingerprint' => long, 'protocol' => PhoneCallProtocol, ]); +$phone.PhoneCall = $MadelineProto->phone->confirmCall(['peer' => InputPhoneCall, 'g_a' => 'bytes', 'key_fingerprint' => long, 'protocol' => PhoneCallProtocol, ]); ``` Or, if you're into Lua: ```lua -phone_PhoneCall = phone.confirmCall({peer=InputPhoneCall, g_a='bytes', key_fingerprint=long, protocol=PhoneCallProtocol, }) +phone.PhoneCall = phone.confirmCall({peer=InputPhoneCall, g_a='bytes', key_fingerprint=long, protocol=PhoneCallProtocol, }) ``` ### Errors diff --git a/old_docs/API_docs_v66/methods/phone.requestCall.md b/old_docs/API_docs_v66/methods/phone.requestCall.md index c8e828f2..37e847a7 100644 --- a/old_docs/API_docs_v66/methods/phone.requestCall.md +++ b/old_docs/API_docs_v66/methods/phone.requestCall.md @@ -18,7 +18,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz#calls fo |protocol|[PhoneCallProtocol](../types/PhoneCallProtocol.md) | You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls | Yes| -### Return type: [phone\_PhoneCall](../types/phone_PhoneCall.md) +### Return type: [phone.PhoneCall](../types/phone.PhoneCall.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$phone_PhoneCall = $MadelineProto->phone->requestCall(['user_id' => InputUser, 'g_a_hash' => 'bytes', 'protocol' => PhoneCallProtocol, ]); +$phone.PhoneCall = $MadelineProto->phone->requestCall(['user_id' => InputUser, 'g_a_hash' => 'bytes', 'protocol' => PhoneCallProtocol, ]); ``` Or, if you're into Lua: ```lua -phone_PhoneCall = phone.requestCall({user_id=InputUser, g_a_hash='bytes', protocol=PhoneCallProtocol, }) +phone.PhoneCall = phone.requestCall({user_id=InputUser, g_a_hash='bytes', protocol=PhoneCallProtocol, }) ``` ### Errors diff --git a/old_docs/API_docs_v66/methods/photos.getUserPhotos.md b/old_docs/API_docs_v66/methods/photos.getUserPhotos.md index a1dec2ed..1f8d5c64 100644 --- a/old_docs/API_docs_v66/methods/photos.getUserPhotos.md +++ b/old_docs/API_docs_v66/methods/photos.getUserPhotos.md @@ -19,7 +19,7 @@ Returns the list of user photos. |limit|[int](../types/int.md) | Number of list elements to be returned | Yes| -### Return type: [photos\_Photos](../types/photos_Photos.md) +### Return type: [photos.Photos](../types/photos.Photos.md) ### Can bots use this method: **YES** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$photos_Photos = $MadelineProto->photos->getUserPhotos(['user_id' => InputUser, 'offset' => int, 'max_id' => long, 'limit' => int, ]); +$photos.Photos = $MadelineProto->photos->getUserPhotos(['user_id' => InputUser, 'offset' => int, 'max_id' => long, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -photos_Photos = photos.getUserPhotos({user_id=InputUser, offset=int, max_id=long, limit=int, }) +photos.Photos = photos.getUserPhotos({user_id=InputUser, offset=int, max_id=long, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v66/methods/photos.uploadProfilePhoto.md b/old_docs/API_docs_v66/methods/photos.uploadProfilePhoto.md index b6a01ee7..4de76a24 100644 --- a/old_docs/API_docs_v66/methods/photos.uploadProfilePhoto.md +++ b/old_docs/API_docs_v66/methods/photos.uploadProfilePhoto.md @@ -16,7 +16,7 @@ Updates current user profile photo. |file|[File path or InputFile](../types/InputFile.md) | File saved in parts by means of [upload.saveFilePart](../methods/upload.saveFilePart.md) method | Yes| -### Return type: [photos\_Photo](../types/photos_Photo.md) +### Return type: [photos.Photo](../types/photos.Photo.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$photos_Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, ]); +$photos.Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, ]); ``` Or, if you're into Lua: ```lua -photos_Photo = photos.uploadProfilePhoto({file=InputFile, }) +photos.Photo = photos.uploadProfilePhoto({file=InputFile, }) ``` ### Errors diff --git a/old_docs/API_docs_v66/methods/updates.getChannelDifference.md b/old_docs/API_docs_v66/methods/updates.getChannelDifference.md index 5675cd33..08df3395 100644 --- a/old_docs/API_docs_v66/methods/updates.getChannelDifference.md +++ b/old_docs/API_docs_v66/methods/updates.getChannelDifference.md @@ -20,7 +20,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz for more |limit|[int](../types/int.md) | You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates | Yes| -### Return type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) +### Return type: [updates.ChannelDifference](../types/updates.ChannelDifference.md) ### Can bots use this method: **YES** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$updates_ChannelDifference = $MadelineProto->updates->getChannelDifference(['force' => Bool, 'channel' => InputChannel, 'filter' => ChannelMessagesFilter, 'pts' => int, 'limit' => int, ]); +$updates.ChannelDifference = $MadelineProto->updates->getChannelDifference(['force' => Bool, 'channel' => InputChannel, 'filter' => ChannelMessagesFilter, 'pts' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -updates_ChannelDifference = updates.getChannelDifference({force=Bool, channel=InputChannel, filter=ChannelMessagesFilter, pts=int, limit=int, }) +updates.ChannelDifference = updates.getChannelDifference({force=Bool, channel=InputChannel, filter=ChannelMessagesFilter, pts=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v66/methods/updates.getDifference.md b/old_docs/API_docs_v66/methods/updates.getDifference.md index bcfac4e2..b3796a10 100644 --- a/old_docs/API_docs_v66/methods/updates.getDifference.md +++ b/old_docs/API_docs_v66/methods/updates.getDifference.md @@ -19,7 +19,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz for more |qts|[int](../types/int.md) | You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates | Yes| -### Return type: [updates\_Difference](../types/updates_Difference.md) +### Return type: [updates.Difference](../types/updates.Difference.md) ### Can bots use this method: **YES** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$updates_Difference = $MadelineProto->updates->getDifference(['pts' => int, 'pts_total_limit' => int, 'date' => int, 'qts' => int, ]); +$updates.Difference = $MadelineProto->updates->getDifference(['pts' => int, 'pts_total_limit' => int, 'date' => int, 'qts' => int, ]); ``` Or, if you're into Lua: ```lua -updates_Difference = updates.getDifference({pts=int, pts_total_limit=int, date=int, qts=int, }) +updates.Difference = updates.getDifference({pts=int, pts_total_limit=int, date=int, qts=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v66/methods/updates.getState.md b/old_docs/API_docs_v66/methods/updates.getState.md index c591408a..9a7d2f34 100644 --- a/old_docs/API_docs_v66/methods/updates.getState.md +++ b/old_docs/API_docs_v66/methods/updates.getState.md @@ -11,7 +11,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz for more -### Return type: [updates\_State](../types/updates_State.md) +### Return type: [updates.State](../types/updates.State.md) ### Can bots use this method: **YES** @@ -28,13 +28,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$updates_State = $MadelineProto->updates->getState(); +$updates.State = $MadelineProto->updates->getState(); ``` Or, if you're into Lua: ```lua -updates_State = updates.getState({}) +updates.State = updates.getState({}) ``` ### Errors diff --git a/old_docs/API_docs_v66/methods/upload.getCdnFile.md b/old_docs/API_docs_v66/methods/upload.getCdnFile.md index a3c928b2..67b2e84e 100644 --- a/old_docs/API_docs_v66/methods/upload.getCdnFile.md +++ b/old_docs/API_docs_v66/methods/upload.getCdnFile.md @@ -18,7 +18,7 @@ You cannot use this method directly, use the upload, downloadToStream, downloadT |limit|[int](../types/int.md) | You cannot use this method directly, use the upload, downloadToStream, downloadToFile, downloadToDir methods instead; see https://docs.madelineproto.xyz for more info | Yes| -### Return type: [upload\_CdnFile](../types/upload_CdnFile.md) +### Return type: [upload.CdnFile](../types/upload.CdnFile.md) ### Can bots use this method: **NO** @@ -35,12 +35,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$upload_CdnFile = $MadelineProto->upload->getCdnFile(['file_token' => 'bytes', 'offset' => int, 'limit' => int, ]); +$upload.CdnFile = $MadelineProto->upload->getCdnFile(['file_token' => 'bytes', 'offset' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -upload_CdnFile = upload.getCdnFile({file_token='bytes', offset=int, limit=int, }) +upload.CdnFile = upload.getCdnFile({file_token='bytes', offset=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v66/methods/upload.getFile.md b/old_docs/API_docs_v66/methods/upload.getFile.md index 8aba03d4..ab9f4fe2 100644 --- a/old_docs/API_docs_v66/methods/upload.getFile.md +++ b/old_docs/API_docs_v66/methods/upload.getFile.md @@ -18,7 +18,7 @@ You cannot use this method directly, use the upload, downloadToStream, downloadT |limit|[int](../types/int.md) | You cannot use this method directly, use the upload, downloadToStream, downloadToFile, downloadToDir methods instead; see https://docs.madelineproto.xyz for more info | Yes| -### Return type: [upload\_File](../types/upload_File.md) +### Return type: [upload.File](../types/upload.File.md) ### Can bots use this method: **YES** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$upload_File = $MadelineProto->upload->getFile(['location' => InputFileLocation, 'offset' => int, 'limit' => int, ]); +$upload.File = $MadelineProto->upload->getFile(['location' => InputFileLocation, 'offset' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -upload_File = upload.getFile({location=InputFileLocation, offset=int, limit=int, }) +upload.File = upload.getFile({location=InputFileLocation, offset=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v66/methods/upload.getWebFile.md b/old_docs/API_docs_v66/methods/upload.getWebFile.md index 32f6b322..60f1b8c1 100644 --- a/old_docs/API_docs_v66/methods/upload.getWebFile.md +++ b/old_docs/API_docs_v66/methods/upload.getWebFile.md @@ -18,7 +18,7 @@ Returns content of an HTTP file or a part, by proxying the request through teleg |limit|[int](../types/int.md) | Number of bytes to be returned | Yes| -### Return type: [upload\_WebFile](../types/upload_WebFile.md) +### Return type: [upload.WebFile](../types/upload.WebFile.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$upload_WebFile = $MadelineProto->upload->getWebFile(['location' => InputWebFileLocation, 'offset' => int, 'limit' => int, ]); +$upload.WebFile = $MadelineProto->upload->getWebFile(['location' => InputWebFileLocation, 'offset' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -upload_WebFile = upload.getWebFile({location=InputWebFileLocation, offset=int, limit=int, }) +upload.WebFile = upload.getWebFile({location=InputWebFileLocation, offset=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v66/types/AccountDaysTTL.md b/old_docs/API_docs_v66/types/AccountDaysTTL.md index 12a10190..f3494aac 100644 --- a/old_docs/API_docs_v66/types/AccountDaysTTL.md +++ b/old_docs/API_docs_v66/types/AccountDaysTTL.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->account->getAccountTTL](../methods/account_getAccountTTL.md) +[$MadelineProto->account->getAccountTTL](../methods/account.getAccountTTL.md) diff --git a/old_docs/API_docs_v66/types/CdnConfig.md b/old_docs/API_docs_v66/types/CdnConfig.md index fbfe01c3..0b0fb5be 100644 --- a/old_docs/API_docs_v66/types/CdnConfig.md +++ b/old_docs/API_docs_v66/types/CdnConfig.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->help->getCdnConfig](../methods/help_getCdnConfig.md) +[$MadelineProto->help->getCdnConfig](../methods/help.getCdnConfig.md) diff --git a/old_docs/API_docs_v66/types/ChatInvite.md b/old_docs/API_docs_v66/types/ChatInvite.md index 5022a2f0..9fafabb4 100644 --- a/old_docs/API_docs_v66/types/ChatInvite.md +++ b/old_docs/API_docs_v66/types/ChatInvite.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->checkChatInvite](../methods/messages_checkChatInvite.md) +[$MadelineProto->messages->checkChatInvite](../methods/messages.checkChatInvite.md) diff --git a/old_docs/API_docs_v66/types/Config.md b/old_docs/API_docs_v66/types/Config.md index 0f7fbe70..3a23b7b7 100644 --- a/old_docs/API_docs_v66/types/Config.md +++ b/old_docs/API_docs_v66/types/Config.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->help->getConfig](../methods/help_getConfig.md) +[$MadelineProto->help->getConfig](../methods/help.getConfig.md) diff --git a/old_docs/API_docs_v66/types/ContactStatus.md b/old_docs/API_docs_v66/types/ContactStatus.md index c5f5d658..30aee6e2 100644 --- a/old_docs/API_docs_v66/types/ContactStatus.md +++ b/old_docs/API_docs_v66/types/ContactStatus.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->contacts->getStatuses](../methods/contacts_getStatuses.md) +[$MadelineProto->contacts->getStatuses](../methods/contacts.getStatuses.md) diff --git a/old_docs/API_docs_v66/types/DestroyAuthKeyRes.md b/old_docs/API_docs_v66/types/DestroyAuthKeyRes.md index 947e79cc..6b877d82 100644 --- a/old_docs/API_docs_v66/types/DestroyAuthKeyRes.md +++ b/old_docs/API_docs_v66/types/DestroyAuthKeyRes.md @@ -20,7 +20,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->destroy->auth->key](../methods/destroy_auth_key.md) +[$MadelineProto->destroy\_auth\_key](../methods/destroy_auth_key.md) diff --git a/old_docs/API_docs_v66/types/DestroySessionRes.md b/old_docs/API_docs_v66/types/DestroySessionRes.md index dbc73cdf..dc5d2bc3 100644 --- a/old_docs/API_docs_v66/types/DestroySessionRes.md +++ b/old_docs/API_docs_v66/types/DestroySessionRes.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->destroy->session](../methods/destroy_session.md) +[$MadelineProto->destroy\_session](../methods/destroy_session.md) diff --git a/old_docs/API_docs_v66/types/Document.md b/old_docs/API_docs_v66/types/Document.md index f68b7aa4..2cb85623 100644 --- a/old_docs/API_docs_v66/types/Document.md +++ b/old_docs/API_docs_v66/types/Document.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getDocumentByHash](../methods/messages_getDocumentByHash.md) +[$MadelineProto->messages->getDocumentByHash](../methods/messages.getDocumentByHash.md) diff --git a/old_docs/API_docs_v66/types/EncryptedChat.md b/old_docs/API_docs_v66/types/EncryptedChat.md index fd2277f6..19cf52b0 100644 --- a/old_docs/API_docs_v66/types/EncryptedChat.md +++ b/old_docs/API_docs_v66/types/EncryptedChat.md @@ -24,9 +24,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->requestEncryption](../methods/messages_requestEncryption.md) +[$MadelineProto->messages->requestEncryption](../methods/messages.requestEncryption.md) -[$MadelineProto->messages->acceptEncryption](../methods/messages_acceptEncryption.md) +[$MadelineProto->messages->acceptEncryption](../methods/messages.acceptEncryption.md) diff --git a/old_docs/API_docs_v66/types/ExportedChatInvite.md b/old_docs/API_docs_v66/types/ExportedChatInvite.md index 4213a78f..53ce5f59 100644 --- a/old_docs/API_docs_v66/types/ExportedChatInvite.md +++ b/old_docs/API_docs_v66/types/ExportedChatInvite.md @@ -18,9 +18,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->exportChatInvite](../methods/messages_exportChatInvite.md) +[$MadelineProto->messages->exportChatInvite](../methods/messages.exportChatInvite.md) -[$MadelineProto->channels->exportInvite](../methods/channels_exportInvite.md) +[$MadelineProto->channels->exportInvite](../methods/channels.exportInvite.md) diff --git a/old_docs/API_docs_v66/types/ExportedMessageLink.md b/old_docs/API_docs_v66/types/ExportedMessageLink.md index eb2400f6..948e9c90 100644 --- a/old_docs/API_docs_v66/types/ExportedMessageLink.md +++ b/old_docs/API_docs_v66/types/ExportedMessageLink.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->channels->exportMessageLink](../methods/channels_exportMessageLink.md) +[$MadelineProto->channels->exportMessageLink](../methods/channels.exportMessageLink.md) diff --git a/old_docs/API_docs_v66/types/FutureSalts.md b/old_docs/API_docs_v66/types/FutureSalts.md index 5cb9f9e1..3a10b4a2 100644 --- a/old_docs/API_docs_v66/types/FutureSalts.md +++ b/old_docs/API_docs_v66/types/FutureSalts.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->get->future->salts](../methods/get_future_salts.md) +[$MadelineProto->get\_future\_salts](../methods/get_future_salts.md) diff --git a/old_docs/API_docs_v66/types/MessageMedia.md b/old_docs/API_docs_v66/types/MessageMedia.md index 33197cbe..39733626 100644 --- a/old_docs/API_docs_v66/types/MessageMedia.md +++ b/old_docs/API_docs_v66/types/MessageMedia.md @@ -34,7 +34,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getWebPagePreview](../methods/messages_getWebPagePreview.md) +[$MadelineProto->messages->getWebPagePreview](../methods/messages.getWebPagePreview.md) diff --git a/old_docs/API_docs_v66/types/NearestDc.md b/old_docs/API_docs_v66/types/NearestDc.md index 31f24377..296a4dff 100644 --- a/old_docs/API_docs_v66/types/NearestDc.md +++ b/old_docs/API_docs_v66/types/NearestDc.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->help->getNearestDc](../methods/help_getNearestDc.md) +[$MadelineProto->help->getNearestDc](../methods/help.getNearestDc.md) diff --git a/old_docs/API_docs_v66/types/PeerNotifySettings.md b/old_docs/API_docs_v66/types/PeerNotifySettings.md index 769de075..3d72b7c5 100644 --- a/old_docs/API_docs_v66/types/PeerNotifySettings.md +++ b/old_docs/API_docs_v66/types/PeerNotifySettings.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->account->getNotifySettings](../methods/account_getNotifySettings.md) +[$MadelineProto->account->getNotifySettings](../methods/account.getNotifySettings.md) diff --git a/old_docs/API_docs_v66/types/PeerSettings.md b/old_docs/API_docs_v66/types/PeerSettings.md index 60ac3765..31ef7e38 100644 --- a/old_docs/API_docs_v66/types/PeerSettings.md +++ b/old_docs/API_docs_v66/types/PeerSettings.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getPeerSettings](../methods/messages_getPeerSettings.md) +[$MadelineProto->messages->getPeerSettings](../methods/messages.getPeerSettings.md) diff --git a/old_docs/API_docs_v66/types/Pong.md b/old_docs/API_docs_v66/types/Pong.md index 7658af03..aa25a60e 100644 --- a/old_docs/API_docs_v66/types/Pong.md +++ b/old_docs/API_docs_v66/types/Pong.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png [$MadelineProto->ping](../methods/ping.md) -[$MadelineProto->ping->delay->disconnect](../methods/ping_delay_disconnect.md) +[$MadelineProto->ping\_delay\_disconnect](../methods/ping_delay_disconnect.md) diff --git a/old_docs/API_docs_v66/types/README.md b/old_docs/API_docs_v66/types/README.md index e04abfac..396a4a9a 100644 --- a/old_docs/API_docs_v66/types/README.md +++ b/old_docs/API_docs_v66/types/README.md @@ -309,133 +309,133 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png [X](X.md) -[account\_Authorizations](account_Authorizations.md) +[account.Authorizations](account.Authorizations.md) -[account\_Password](account_Password.md) +[account.Password](account.Password.md) -[account\_PasswordInputSettings](account_PasswordInputSettings.md) +[account.PasswordInputSettings](account.PasswordInputSettings.md) -[account\_PasswordSettings](account_PasswordSettings.md) +[account.PasswordSettings](account.PasswordSettings.md) -[account\_PrivacyRules](account_PrivacyRules.md) +[account.PrivacyRules](account.PrivacyRules.md) -[account\_TmpPassword](account_TmpPassword.md) +[account.TmpPassword](account.TmpPassword.md) -[auth\_Authorization](auth_Authorization.md) +[auth.Authorization](auth.Authorization.md) -[auth\_CheckedPhone](auth_CheckedPhone.md) +[auth.CheckedPhone](auth.CheckedPhone.md) -[auth\_CodeType](auth_CodeType.md) +[auth.CodeType](auth.CodeType.md) -[auth\_ExportedAuthorization](auth_ExportedAuthorization.md) +[auth.ExportedAuthorization](auth.ExportedAuthorization.md) -[auth\_PasswordRecovery](auth_PasswordRecovery.md) +[auth.PasswordRecovery](auth.PasswordRecovery.md) -[auth\_SentCode](auth_SentCode.md) +[auth.SentCode](auth.SentCode.md) -[auth\_SentCodeType](auth_SentCodeType.md) +[auth.SentCodeType](auth.SentCodeType.md) -[channels\_ChannelParticipant](channels_ChannelParticipant.md) +[channels.ChannelParticipant](channels.ChannelParticipant.md) -[channels\_ChannelParticipants](channels_ChannelParticipants.md) +[channels.ChannelParticipants](channels.ChannelParticipants.md) -[contacts\_Blocked](contacts_Blocked.md) +[contacts.Blocked](contacts.Blocked.md) -[contacts\_Contacts](contacts_Contacts.md) +[contacts.Contacts](contacts.Contacts.md) -[contacts\_Found](contacts_Found.md) +[contacts.Found](contacts.Found.md) -[contacts\_ImportedContacts](contacts_ImportedContacts.md) +[contacts.ImportedContacts](contacts.ImportedContacts.md) -[contacts\_Link](contacts_Link.md) +[contacts.Link](contacts.Link.md) -[contacts\_ResolvedPeer](contacts_ResolvedPeer.md) +[contacts.ResolvedPeer](contacts.ResolvedPeer.md) -[contacts\_TopPeers](contacts_TopPeers.md) +[contacts.TopPeers](contacts.TopPeers.md) -[help\_AppUpdate](help_AppUpdate.md) +[help.AppUpdate](help.AppUpdate.md) -[help\_InviteText](help_InviteText.md) +[help.InviteText](help.InviteText.md) -[help\_Support](help_Support.md) +[help.Support](help.Support.md) -[help\_TermsOfService](help_TermsOfService.md) +[help.TermsOfService](help.TermsOfService.md) [int](int.md) [long](long.md) -[messages\_AffectedHistory](messages_AffectedHistory.md) +[messages.AffectedHistory](messages.AffectedHistory.md) -[messages\_AffectedMessages](messages_AffectedMessages.md) +[messages.AffectedMessages](messages.AffectedMessages.md) -[messages\_AllStickers](messages_AllStickers.md) +[messages.AllStickers](messages.AllStickers.md) -[messages\_ArchivedStickers](messages_ArchivedStickers.md) +[messages.ArchivedStickers](messages.ArchivedStickers.md) -[messages\_BotCallbackAnswer](messages_BotCallbackAnswer.md) +[messages.BotCallbackAnswer](messages.BotCallbackAnswer.md) -[messages\_BotResults](messages_BotResults.md) +[messages.BotResults](messages.BotResults.md) -[messages\_ChatFull](messages_ChatFull.md) +[messages.ChatFull](messages.ChatFull.md) -[messages\_Chats](messages_Chats.md) +[messages.Chats](messages.Chats.md) -[messages\_DhConfig](messages_DhConfig.md) +[messages.DhConfig](messages.DhConfig.md) -[messages\_Dialogs](messages_Dialogs.md) +[messages.Dialogs](messages.Dialogs.md) -[messages\_FeaturedStickers](messages_FeaturedStickers.md) +[messages.FeaturedStickers](messages.FeaturedStickers.md) -[messages\_FoundGifs](messages_FoundGifs.md) +[messages.FoundGifs](messages.FoundGifs.md) -[messages\_HighScores](messages_HighScores.md) +[messages.HighScores](messages.HighScores.md) -[messages\_MessageEditData](messages_MessageEditData.md) +[messages.MessageEditData](messages.MessageEditData.md) -[messages\_Messages](messages_Messages.md) +[messages.Messages](messages.Messages.md) -[messages\_PeerDialogs](messages_PeerDialogs.md) +[messages.PeerDialogs](messages.PeerDialogs.md) -[messages\_RecentStickers](messages_RecentStickers.md) +[messages.RecentStickers](messages.RecentStickers.md) -[messages\_SavedGifs](messages_SavedGifs.md) +[messages.SavedGifs](messages.SavedGifs.md) -[messages\_SentEncryptedMessage](messages_SentEncryptedMessage.md) +[messages.SentEncryptedMessage](messages.SentEncryptedMessage.md) -[messages\_StickerSet](messages_StickerSet.md) +[messages.StickerSet](messages.StickerSet.md) -[messages\_StickerSetInstallResult](messages_StickerSetInstallResult.md) +[messages.StickerSetInstallResult](messages.StickerSetInstallResult.md) -[messages\_Stickers](messages_Stickers.md) +[messages.Stickers](messages.Stickers.md) -[payments\_PaymentForm](payments_PaymentForm.md) +[payments.PaymentForm](payments.PaymentForm.md) -[payments\_PaymentReceipt](payments_PaymentReceipt.md) +[payments.PaymentReceipt](payments.PaymentReceipt.md) -[payments\_PaymentResult](payments_PaymentResult.md) +[payments.PaymentResult](payments.PaymentResult.md) -[payments\_SavedInfo](payments_SavedInfo.md) +[payments.SavedInfo](payments.SavedInfo.md) -[payments\_ValidatedRequestedInfo](payments_ValidatedRequestedInfo.md) +[payments.ValidatedRequestedInfo](payments.ValidatedRequestedInfo.md) -[phone\_PhoneCall](phone_PhoneCall.md) +[phone.PhoneCall](phone.PhoneCall.md) -[photos\_Photo](photos_Photo.md) +[photos.Photo](photos.Photo.md) -[photos\_Photos](photos_Photos.md) +[photos.Photos](photos.Photos.md) -[storage\_FileType](storage_FileType.md) +[storage.FileType](storage.FileType.md) -[updates\_ChannelDifference](updates_ChannelDifference.md) +[updates.ChannelDifference](updates.ChannelDifference.md) -[updates\_Difference](updates_Difference.md) +[updates.Difference](updates.Difference.md) -[updates\_State](updates_State.md) +[updates.State](updates.State.md) -[upload\_CdnFile](upload_CdnFile.md) +[upload.CdnFile](upload.CdnFile.md) -[upload\_File](upload_File.md) +[upload.File](upload.File.md) -[upload\_WebFile](upload_WebFile.md) +[upload.WebFile](upload.WebFile.md) diff --git a/old_docs/API_docs_v66/types/ReceivedNotifyMessage.md b/old_docs/API_docs_v66/types/ReceivedNotifyMessage.md index c7fc3b8c..416aa275 100644 --- a/old_docs/API_docs_v66/types/ReceivedNotifyMessage.md +++ b/old_docs/API_docs_v66/types/ReceivedNotifyMessage.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->receivedMessages](../methods/messages_receivedMessages.md) +[$MadelineProto->messages->receivedMessages](../methods/messages.receivedMessages.md) diff --git a/old_docs/API_docs_v66/types/ResPQ.md b/old_docs/API_docs_v66/types/ResPQ.md index ebd5c8ed..860ee76d 100644 --- a/old_docs/API_docs_v66/types/ResPQ.md +++ b/old_docs/API_docs_v66/types/ResPQ.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->req->pq](../methods/req_pq.md) +[$MadelineProto->req\_pq](../methods/req_pq.md) diff --git a/old_docs/API_docs_v66/types/RpcDropAnswer.md b/old_docs/API_docs_v66/types/RpcDropAnswer.md index 4fb1ced7..05586b65 100644 --- a/old_docs/API_docs_v66/types/RpcDropAnswer.md +++ b/old_docs/API_docs_v66/types/RpcDropAnswer.md @@ -20,7 +20,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->rpc->drop->answer](../methods/rpc_drop_answer.md) +[$MadelineProto->rpc\_drop\_answer](../methods/rpc_drop_answer.md) diff --git a/old_docs/API_docs_v66/types/Server_DH_Params.md b/old_docs/API_docs_v66/types/Server_DH_Params.md index e007d828..40530f7e 100644 --- a/old_docs/API_docs_v66/types/Server_DH_Params.md +++ b/old_docs/API_docs_v66/types/Server_DH_Params.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->req->DH->params](../methods/req_DH_params.md) +[$MadelineProto->req\_DH\_params](../methods/req_DH_params.md) diff --git a/old_docs/API_docs_v66/types/Set_client_DH_params_answer.md b/old_docs/API_docs_v66/types/Set_client_DH_params_answer.md index f316e712..523432b7 100644 --- a/old_docs/API_docs_v66/types/Set_client_DH_params_answer.md +++ b/old_docs/API_docs_v66/types/Set_client_DH_params_answer.md @@ -20,7 +20,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->set->client->DH->params](../methods/set_client_DH_params.md) +[$MadelineProto->set\_client\_DH\_params](../methods/set_client_DH_params.md) diff --git a/old_docs/API_docs_v66/types/StickerSetCovered.md b/old_docs/API_docs_v66/types/StickerSetCovered.md index ffd1da1f..f57cd117 100644 --- a/old_docs/API_docs_v66/types/StickerSetCovered.md +++ b/old_docs/API_docs_v66/types/StickerSetCovered.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getAttachedStickers](../methods/messages_getAttachedStickers.md) +[$MadelineProto->messages->getAttachedStickers](../methods/messages.getAttachedStickers.md) diff --git a/old_docs/API_docs_v66/types/Updates.md b/old_docs/API_docs_v66/types/Updates.md index 862b4cf5..5f404601 100644 --- a/old_docs/API_docs_v66/types/Updates.md +++ b/old_docs/API_docs_v66/types/Updates.md @@ -28,69 +28,69 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->sendMessage](../methods/messages_sendMessage.md) +[$MadelineProto->messages->sendMessage](../methods/messages.sendMessage.md) -[$MadelineProto->messages->sendMedia](../methods/messages_sendMedia.md) +[$MadelineProto->messages->sendMedia](../methods/messages.sendMedia.md) -[$MadelineProto->messages->forwardMessages](../methods/messages_forwardMessages.md) +[$MadelineProto->messages->forwardMessages](../methods/messages.forwardMessages.md) -[$MadelineProto->messages->editChatTitle](../methods/messages_editChatTitle.md) +[$MadelineProto->messages->editChatTitle](../methods/messages.editChatTitle.md) -[$MadelineProto->messages->editChatPhoto](../methods/messages_editChatPhoto.md) +[$MadelineProto->messages->editChatPhoto](../methods/messages.editChatPhoto.md) -[$MadelineProto->messages->addChatUser](../methods/messages_addChatUser.md) +[$MadelineProto->messages->addChatUser](../methods/messages.addChatUser.md) -[$MadelineProto->messages->deleteChatUser](../methods/messages_deleteChatUser.md) +[$MadelineProto->messages->deleteChatUser](../methods/messages.deleteChatUser.md) -[$MadelineProto->messages->createChat](../methods/messages_createChat.md) +[$MadelineProto->messages->createChat](../methods/messages.createChat.md) -[$MadelineProto->messages->forwardMessage](../methods/messages_forwardMessage.md) +[$MadelineProto->messages->forwardMessage](../methods/messages.forwardMessage.md) -[$MadelineProto->messages->importChatInvite](../methods/messages_importChatInvite.md) +[$MadelineProto->messages->importChatInvite](../methods/messages.importChatInvite.md) -[$MadelineProto->messages->startBot](../methods/messages_startBot.md) +[$MadelineProto->messages->startBot](../methods/messages.startBot.md) -[$MadelineProto->messages->toggleChatAdmins](../methods/messages_toggleChatAdmins.md) +[$MadelineProto->messages->toggleChatAdmins](../methods/messages.toggleChatAdmins.md) -[$MadelineProto->messages->migrateChat](../methods/messages_migrateChat.md) +[$MadelineProto->messages->migrateChat](../methods/messages.migrateChat.md) -[$MadelineProto->messages->sendInlineBotResult](../methods/messages_sendInlineBotResult.md) +[$MadelineProto->messages->sendInlineBotResult](../methods/messages.sendInlineBotResult.md) -[$MadelineProto->messages->editMessage](../methods/messages_editMessage.md) +[$MadelineProto->messages->editMessage](../methods/messages.editMessage.md) -[$MadelineProto->messages->getAllDrafts](../methods/messages_getAllDrafts.md) +[$MadelineProto->messages->getAllDrafts](../methods/messages.getAllDrafts.md) -[$MadelineProto->messages->setGameScore](../methods/messages_setGameScore.md) +[$MadelineProto->messages->setGameScore](../methods/messages.setGameScore.md) -[$MadelineProto->help->getAppChangelog](../methods/help_getAppChangelog.md) +[$MadelineProto->help->getAppChangelog](../methods/help.getAppChangelog.md) -[$MadelineProto->channels->createChannel](../methods/channels_createChannel.md) +[$MadelineProto->channels->createChannel](../methods/channels.createChannel.md) -[$MadelineProto->channels->editAdmin](../methods/channels_editAdmin.md) +[$MadelineProto->channels->editAdmin](../methods/channels.editAdmin.md) -[$MadelineProto->channels->editTitle](../methods/channels_editTitle.md) +[$MadelineProto->channels->editTitle](../methods/channels.editTitle.md) -[$MadelineProto->channels->editPhoto](../methods/channels_editPhoto.md) +[$MadelineProto->channels->editPhoto](../methods/channels.editPhoto.md) -[$MadelineProto->channels->joinChannel](../methods/channels_joinChannel.md) +[$MadelineProto->channels->joinChannel](../methods/channels.joinChannel.md) -[$MadelineProto->channels->leaveChannel](../methods/channels_leaveChannel.md) +[$MadelineProto->channels->leaveChannel](../methods/channels.leaveChannel.md) -[$MadelineProto->channels->inviteToChannel](../methods/channels_inviteToChannel.md) +[$MadelineProto->channels->inviteToChannel](../methods/channels.inviteToChannel.md) -[$MadelineProto->channels->kickFromChannel](../methods/channels_kickFromChannel.md) +[$MadelineProto->channels->kickFromChannel](../methods/channels.kickFromChannel.md) -[$MadelineProto->channels->deleteChannel](../methods/channels_deleteChannel.md) +[$MadelineProto->channels->deleteChannel](../methods/channels.deleteChannel.md) -[$MadelineProto->channels->toggleInvites](../methods/channels_toggleInvites.md) +[$MadelineProto->channels->toggleInvites](../methods/channels.toggleInvites.md) -[$MadelineProto->channels->toggleSignatures](../methods/channels_toggleSignatures.md) +[$MadelineProto->channels->toggleSignatures](../methods/channels.toggleSignatures.md) -[$MadelineProto->channels->updatePinnedMessage](../methods/channels_updatePinnedMessage.md) +[$MadelineProto->channels->updatePinnedMessage](../methods/channels.updatePinnedMessage.md) -[$MadelineProto->phone->discardCall](../methods/phone_discardCall.md) +[$MadelineProto->phone->discardCall](../methods/phone.discardCall.md) -[$MadelineProto->phone->setCallRating](../methods/phone_setCallRating.md) +[$MadelineProto->phone->setCallRating](../methods/phone.setCallRating.md) diff --git a/old_docs/API_docs_v66/types/User.md b/old_docs/API_docs_v66/types/User.md index 3abd182f..a2e028f4 100644 --- a/old_docs/API_docs_v66/types/User.md +++ b/old_docs/API_docs_v66/types/User.md @@ -42,15 +42,15 @@ A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDia ### Methods that return an object of this type (methods): -[$MadelineProto->account->updateProfile](../methods/account_updateProfile.md) +[$MadelineProto->account->updateProfile](../methods/account.updateProfile.md) -[$MadelineProto->account->updateUsername](../methods/account_updateUsername.md) +[$MadelineProto->account->updateUsername](../methods/account.updateUsername.md) -[$MadelineProto->account->changePhone](../methods/account_changePhone.md) +[$MadelineProto->account->changePhone](../methods/account.changePhone.md) -[$MadelineProto->users->getUsers](../methods/users_getUsers.md) +[$MadelineProto->users->getUsers](../methods/users.getUsers.md) -[$MadelineProto->contacts->importCard](../methods/contacts_importCard.md) +[$MadelineProto->contacts->importCard](../methods/contacts.importCard.md) diff --git a/old_docs/API_docs_v66/types/UserFull.md b/old_docs/API_docs_v66/types/UserFull.md index 79ad30bb..ac50052f 100644 --- a/old_docs/API_docs_v66/types/UserFull.md +++ b/old_docs/API_docs_v66/types/UserFull.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->users->getFullUser](../methods/users_getFullUser.md) +[$MadelineProto->users->getFullUser](../methods/users.getFullUser.md) diff --git a/old_docs/API_docs_v66/types/UserProfilePhoto.md b/old_docs/API_docs_v66/types/UserProfilePhoto.md index e5243a2e..e81e92fd 100644 --- a/old_docs/API_docs_v66/types/UserProfilePhoto.md +++ b/old_docs/API_docs_v66/types/UserProfilePhoto.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->photos->updateProfilePhoto](../methods/photos_updateProfilePhoto.md) +[$MadelineProto->photos->updateProfilePhoto](../methods/photos.updateProfilePhoto.md) diff --git a/old_docs/API_docs_v66/types/WallPaper.md b/old_docs/API_docs_v66/types/WallPaper.md index 8c5ac7cf..45337565 100644 --- a/old_docs/API_docs_v66/types/WallPaper.md +++ b/old_docs/API_docs_v66/types/WallPaper.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->account->getWallPapers](../methods/account_getWallPapers.md) +[$MadelineProto->account->getWallPapers](../methods/account.getWallPapers.md) diff --git a/old_docs/API_docs_v66/types/WebPage.md b/old_docs/API_docs_v66/types/WebPage.md index a3df791f..f6b61c5e 100644 --- a/old_docs/API_docs_v66/types/WebPage.md +++ b/old_docs/API_docs_v66/types/WebPage.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getWebPage](../methods/messages_getWebPage.md) +[$MadelineProto->messages->getWebPage](../methods/messages.getWebPage.md) diff --git a/old_docs/API_docs_v66/types/account.Authorizations.md b/old_docs/API_docs_v66/types/account.Authorizations.md new file mode 100644 index 00000000..f9112038 --- /dev/null +++ b/old_docs/API_docs_v66/types/account.Authorizations.md @@ -0,0 +1,22 @@ +--- +title: account.Authorizations +description: constructors and methods of type account.Authorizations +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.Authorizations +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.authorizations](../constructors/account.authorizations.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getAuthorizations](../methods/account.getAuthorizations.md) + + + diff --git a/old_docs/API_docs_v66/types/account.Password.md b/old_docs/API_docs_v66/types/account.Password.md new file mode 100644 index 00000000..5217ab5e --- /dev/null +++ b/old_docs/API_docs_v66/types/account.Password.md @@ -0,0 +1,24 @@ +--- +title: account.Password +description: constructors and methods of type account.Password +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.Password +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.noPassword](../constructors/account.noPassword.md) + +[account.password](../constructors/account.password.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getPassword](../methods/account.getPassword.md) + + + diff --git a/old_docs/API_docs_v66/types/account.PasswordInputSettings.md b/old_docs/API_docs_v66/types/account.PasswordInputSettings.md new file mode 100644 index 00000000..72e11fdc --- /dev/null +++ b/old_docs/API_docs_v66/types/account.PasswordInputSettings.md @@ -0,0 +1,20 @@ +--- +title: account.PasswordInputSettings +description: constructors and methods of type account.PasswordInputSettings +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.PasswordInputSettings +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.passwordInputSettings](../constructors/account.passwordInputSettings.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v66/types/account.PasswordSettings.md b/old_docs/API_docs_v66/types/account.PasswordSettings.md new file mode 100644 index 00000000..47016832 --- /dev/null +++ b/old_docs/API_docs_v66/types/account.PasswordSettings.md @@ -0,0 +1,22 @@ +--- +title: account.PasswordSettings +description: constructors and methods of type account.PasswordSettings +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.PasswordSettings +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.passwordSettings](../constructors/account.passwordSettings.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getPasswordSettings](../methods/account.getPasswordSettings.md) + + + diff --git a/old_docs/API_docs_v66/types/account.PrivacyRules.md b/old_docs/API_docs_v66/types/account.PrivacyRules.md new file mode 100644 index 00000000..738651ad --- /dev/null +++ b/old_docs/API_docs_v66/types/account.PrivacyRules.md @@ -0,0 +1,24 @@ +--- +title: account.PrivacyRules +description: constructors and methods of type account.PrivacyRules +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.PrivacyRules +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.privacyRules](../constructors/account.privacyRules.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getPrivacy](../methods/account.getPrivacy.md) + +[$MadelineProto->account->setPrivacy](../methods/account.setPrivacy.md) + + + diff --git a/old_docs/API_docs_v66/types/account.TmpPassword.md b/old_docs/API_docs_v66/types/account.TmpPassword.md new file mode 100644 index 00000000..2116c6c0 --- /dev/null +++ b/old_docs/API_docs_v66/types/account.TmpPassword.md @@ -0,0 +1,22 @@ +--- +title: account.TmpPassword +description: constructors and methods of type account.TmpPassword +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.TmpPassword +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.tmpPassword](../constructors/account.tmpPassword.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getTmpPassword](../methods/account.getTmpPassword.md) + + + diff --git a/old_docs/API_docs_v66/types/account_Authorizations.md b/old_docs/API_docs_v66/types/account_Authorizations.md deleted file mode 100644 index 4709ddb5..00000000 --- a/old_docs/API_docs_v66/types/account_Authorizations.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_Authorizations -description: constructors and methods of type account_Authorizations -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_Authorizations -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_authorizations](../constructors/account_authorizations.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getAuthorizations](../methods/account_getAuthorizations.md) - - - diff --git a/old_docs/API_docs_v66/types/account_Password.md b/old_docs/API_docs_v66/types/account_Password.md deleted file mode 100644 index 23e05987..00000000 --- a/old_docs/API_docs_v66/types/account_Password.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: account_Password -description: constructors and methods of type account_Password -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_Password -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_noPassword](../constructors/account_noPassword.md) - -[account\_password](../constructors/account_password.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getPassword](../methods/account_getPassword.md) - - - diff --git a/old_docs/API_docs_v66/types/account_PasswordInputSettings.md b/old_docs/API_docs_v66/types/account_PasswordInputSettings.md deleted file mode 100644 index a6455eb8..00000000 --- a/old_docs/API_docs_v66/types/account_PasswordInputSettings.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: account_PasswordInputSettings -description: constructors and methods of type account_PasswordInputSettings -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_PasswordInputSettings -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_passwordInputSettings](../constructors/account_passwordInputSettings.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v66/types/account_PasswordSettings.md b/old_docs/API_docs_v66/types/account_PasswordSettings.md deleted file mode 100644 index 687eb217..00000000 --- a/old_docs/API_docs_v66/types/account_PasswordSettings.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_PasswordSettings -description: constructors and methods of type account_PasswordSettings -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_PasswordSettings -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_passwordSettings](../constructors/account_passwordSettings.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getPasswordSettings](../methods/account_getPasswordSettings.md) - - - diff --git a/old_docs/API_docs_v66/types/account_PrivacyRules.md b/old_docs/API_docs_v66/types/account_PrivacyRules.md deleted file mode 100644 index 40b00077..00000000 --- a/old_docs/API_docs_v66/types/account_PrivacyRules.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: account_PrivacyRules -description: constructors and methods of type account_PrivacyRules -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_PrivacyRules -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_privacyRules](../constructors/account_privacyRules.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getPrivacy](../methods/account_getPrivacy.md) - -[$MadelineProto->account->setPrivacy](../methods/account_setPrivacy.md) - - - diff --git a/old_docs/API_docs_v66/types/account_TmpPassword.md b/old_docs/API_docs_v66/types/account_TmpPassword.md deleted file mode 100644 index d7557921..00000000 --- a/old_docs/API_docs_v66/types/account_TmpPassword.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_TmpPassword -description: constructors and methods of type account_TmpPassword -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_TmpPassword -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_tmpPassword](../constructors/account_tmpPassword.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getTmpPassword](../methods/account_getTmpPassword.md) - - - diff --git a/old_docs/API_docs_v66/types/auth.Authorization.md b/old_docs/API_docs_v66/types/auth.Authorization.md new file mode 100644 index 00000000..adcfa7d3 --- /dev/null +++ b/old_docs/API_docs_v66/types/auth.Authorization.md @@ -0,0 +1,32 @@ +--- +title: auth.Authorization +description: constructors and methods of type auth.Authorization +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.Authorization +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.authorization](../constructors/auth.authorization.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->signUp](../methods/auth.signUp.md) + +[$MadelineProto->auth->signIn](../methods/auth.signIn.md) + +[$MadelineProto->auth->importAuthorization](../methods/auth.importAuthorization.md) + +[$MadelineProto->auth->importBotAuthorization](../methods/auth.importBotAuthorization.md) + +[$MadelineProto->auth->checkPassword](../methods/auth.checkPassword.md) + +[$MadelineProto->auth->recoverPassword](../methods/auth.recoverPassword.md) + + + diff --git a/old_docs/API_docs_v66/types/auth.CheckedPhone.md b/old_docs/API_docs_v66/types/auth.CheckedPhone.md new file mode 100644 index 00000000..94af3915 --- /dev/null +++ b/old_docs/API_docs_v66/types/auth.CheckedPhone.md @@ -0,0 +1,22 @@ +--- +title: auth.CheckedPhone +description: constructors and methods of type auth.CheckedPhone +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.CheckedPhone +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.checkedPhone](../constructors/auth.checkedPhone.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->checkPhone](../methods/auth.checkPhone.md) + + + diff --git a/old_docs/API_docs_v66/types/auth.CodeType.md b/old_docs/API_docs_v66/types/auth.CodeType.md new file mode 100644 index 00000000..8d2b308d --- /dev/null +++ b/old_docs/API_docs_v66/types/auth.CodeType.md @@ -0,0 +1,24 @@ +--- +title: auth.CodeType +description: constructors and methods of type auth.CodeType +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.CodeType +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.codeTypeSms](../constructors/auth.codeTypeSms.md) + +[auth.codeTypeCall](../constructors/auth.codeTypeCall.md) + +[auth.codeTypeFlashCall](../constructors/auth.codeTypeFlashCall.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v66/types/auth.ExportedAuthorization.md b/old_docs/API_docs_v66/types/auth.ExportedAuthorization.md new file mode 100644 index 00000000..ccb38d60 --- /dev/null +++ b/old_docs/API_docs_v66/types/auth.ExportedAuthorization.md @@ -0,0 +1,22 @@ +--- +title: auth.ExportedAuthorization +description: constructors and methods of type auth.ExportedAuthorization +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.ExportedAuthorization +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.exportedAuthorization](../constructors/auth.exportedAuthorization.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->exportAuthorization](../methods/auth.exportAuthorization.md) + + + diff --git a/old_docs/API_docs_v66/types/auth.PasswordRecovery.md b/old_docs/API_docs_v66/types/auth.PasswordRecovery.md new file mode 100644 index 00000000..c1c18992 --- /dev/null +++ b/old_docs/API_docs_v66/types/auth.PasswordRecovery.md @@ -0,0 +1,22 @@ +--- +title: auth.PasswordRecovery +description: constructors and methods of type auth.PasswordRecovery +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.PasswordRecovery +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.passwordRecovery](../constructors/auth.passwordRecovery.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->requestPasswordRecovery](../methods/auth.requestPasswordRecovery.md) + + + diff --git a/old_docs/API_docs_v66/types/auth.SentCode.md b/old_docs/API_docs_v66/types/auth.SentCode.md new file mode 100644 index 00000000..c786d77e --- /dev/null +++ b/old_docs/API_docs_v66/types/auth.SentCode.md @@ -0,0 +1,28 @@ +--- +title: auth.SentCode +description: constructors and methods of type auth.SentCode +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.SentCode +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.sentCode](../constructors/auth.sentCode.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->sendCode](../methods/auth.sendCode.md) + +[$MadelineProto->auth->resendCode](../methods/auth.resendCode.md) + +[$MadelineProto->account->sendChangePhoneCode](../methods/account.sendChangePhoneCode.md) + +[$MadelineProto->account->sendConfirmPhoneCode](../methods/account.sendConfirmPhoneCode.md) + + + diff --git a/old_docs/API_docs_v66/types/auth.SentCodeType.md b/old_docs/API_docs_v66/types/auth.SentCodeType.md new file mode 100644 index 00000000..7c7c534e --- /dev/null +++ b/old_docs/API_docs_v66/types/auth.SentCodeType.md @@ -0,0 +1,26 @@ +--- +title: auth.SentCodeType +description: constructors and methods of type auth.SentCodeType +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.SentCodeType +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.sentCodeTypeApp](../constructors/auth.sentCodeTypeApp.md) + +[auth.sentCodeTypeSms](../constructors/auth.sentCodeTypeSms.md) + +[auth.sentCodeTypeCall](../constructors/auth.sentCodeTypeCall.md) + +[auth.sentCodeTypeFlashCall](../constructors/auth.sentCodeTypeFlashCall.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v66/types/auth_Authorization.md b/old_docs/API_docs_v66/types/auth_Authorization.md deleted file mode 100644 index 5a34fc2d..00000000 --- a/old_docs/API_docs_v66/types/auth_Authorization.md +++ /dev/null @@ -1,32 +0,0 @@ ---- -title: auth_Authorization -description: constructors and methods of type auth_Authorization -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_Authorization -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_authorization](../constructors/auth_authorization.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->signUp](../methods/auth_signUp.md) - -[$MadelineProto->auth->signIn](../methods/auth_signIn.md) - -[$MadelineProto->auth->importAuthorization](../methods/auth_importAuthorization.md) - -[$MadelineProto->auth->importBotAuthorization](../methods/auth_importBotAuthorization.md) - -[$MadelineProto->auth->checkPassword](../methods/auth_checkPassword.md) - -[$MadelineProto->auth->recoverPassword](../methods/auth_recoverPassword.md) - - - diff --git a/old_docs/API_docs_v66/types/auth_CheckedPhone.md b/old_docs/API_docs_v66/types/auth_CheckedPhone.md deleted file mode 100644 index e9b0def4..00000000 --- a/old_docs/API_docs_v66/types/auth_CheckedPhone.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: auth_CheckedPhone -description: constructors and methods of type auth_CheckedPhone -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_CheckedPhone -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_checkedPhone](../constructors/auth_checkedPhone.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->checkPhone](../methods/auth_checkPhone.md) - - - diff --git a/old_docs/API_docs_v66/types/auth_CodeType.md b/old_docs/API_docs_v66/types/auth_CodeType.md deleted file mode 100644 index 3cd9a7b7..00000000 --- a/old_docs/API_docs_v66/types/auth_CodeType.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: auth_CodeType -description: constructors and methods of type auth_CodeType -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_CodeType -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_codeTypeSms](../constructors/auth_codeTypeSms.md) - -[auth\_codeTypeCall](../constructors/auth_codeTypeCall.md) - -[auth\_codeTypeFlashCall](../constructors/auth_codeTypeFlashCall.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v66/types/auth_ExportedAuthorization.md b/old_docs/API_docs_v66/types/auth_ExportedAuthorization.md deleted file mode 100644 index 69e5c42e..00000000 --- a/old_docs/API_docs_v66/types/auth_ExportedAuthorization.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: auth_ExportedAuthorization -description: constructors and methods of type auth_ExportedAuthorization -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_ExportedAuthorization -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_exportedAuthorization](../constructors/auth_exportedAuthorization.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->exportAuthorization](../methods/auth_exportAuthorization.md) - - - diff --git a/old_docs/API_docs_v66/types/auth_PasswordRecovery.md b/old_docs/API_docs_v66/types/auth_PasswordRecovery.md deleted file mode 100644 index 4962bf42..00000000 --- a/old_docs/API_docs_v66/types/auth_PasswordRecovery.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: auth_PasswordRecovery -description: constructors and methods of type auth_PasswordRecovery -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_PasswordRecovery -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_passwordRecovery](../constructors/auth_passwordRecovery.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->requestPasswordRecovery](../methods/auth_requestPasswordRecovery.md) - - - diff --git a/old_docs/API_docs_v66/types/auth_SentCode.md b/old_docs/API_docs_v66/types/auth_SentCode.md deleted file mode 100644 index 93734713..00000000 --- a/old_docs/API_docs_v66/types/auth_SentCode.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: auth_SentCode -description: constructors and methods of type auth_SentCode -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_SentCode -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_sentCode](../constructors/auth_sentCode.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->sendCode](../methods/auth_sendCode.md) - -[$MadelineProto->auth->resendCode](../methods/auth_resendCode.md) - -[$MadelineProto->account->sendChangePhoneCode](../methods/account_sendChangePhoneCode.md) - -[$MadelineProto->account->sendConfirmPhoneCode](../methods/account_sendConfirmPhoneCode.md) - - - diff --git a/old_docs/API_docs_v66/types/auth_SentCodeType.md b/old_docs/API_docs_v66/types/auth_SentCodeType.md deleted file mode 100644 index 8dfcb93b..00000000 --- a/old_docs/API_docs_v66/types/auth_SentCodeType.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: auth_SentCodeType -description: constructors and methods of type auth_SentCodeType -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_SentCodeType -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_sentCodeTypeApp](../constructors/auth_sentCodeTypeApp.md) - -[auth\_sentCodeTypeSms](../constructors/auth_sentCodeTypeSms.md) - -[auth\_sentCodeTypeCall](../constructors/auth_sentCodeTypeCall.md) - -[auth\_sentCodeTypeFlashCall](../constructors/auth_sentCodeTypeFlashCall.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v66/types/channels.ChannelParticipant.md b/old_docs/API_docs_v66/types/channels.ChannelParticipant.md new file mode 100644 index 00000000..8dc7f7e6 --- /dev/null +++ b/old_docs/API_docs_v66/types/channels.ChannelParticipant.md @@ -0,0 +1,22 @@ +--- +title: channels.ChannelParticipant +description: constructors and methods of type channels.ChannelParticipant +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: channels.ChannelParticipant +[Back to types index](index.md) + + + +### Possible values (constructors): + +[channels.channelParticipant](../constructors/channels.channelParticipant.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->channels->getParticipant](../methods/channels.getParticipant.md) + + + diff --git a/old_docs/API_docs_v66/types/channels.ChannelParticipants.md b/old_docs/API_docs_v66/types/channels.ChannelParticipants.md new file mode 100644 index 00000000..996ab6a6 --- /dev/null +++ b/old_docs/API_docs_v66/types/channels.ChannelParticipants.md @@ -0,0 +1,22 @@ +--- +title: channels.ChannelParticipants +description: constructors and methods of type channels.ChannelParticipants +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: channels.ChannelParticipants +[Back to types index](index.md) + + + +### Possible values (constructors): + +[channels.channelParticipants](../constructors/channels.channelParticipants.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->channels->getParticipants](../methods/channels.getParticipants.md) + + + diff --git a/old_docs/API_docs_v66/types/channels_ChannelParticipant.md b/old_docs/API_docs_v66/types/channels_ChannelParticipant.md deleted file mode 100644 index 3d4667c3..00000000 --- a/old_docs/API_docs_v66/types/channels_ChannelParticipant.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: channels_ChannelParticipant -description: constructors and methods of type channels_ChannelParticipant -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: channels\_ChannelParticipant -[Back to types index](index.md) - - - -### Possible values (constructors): - -[channels\_channelParticipant](../constructors/channels_channelParticipant.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->channels->getParticipant](../methods/channels_getParticipant.md) - - - diff --git a/old_docs/API_docs_v66/types/channels_ChannelParticipants.md b/old_docs/API_docs_v66/types/channels_ChannelParticipants.md deleted file mode 100644 index 0500c2cb..00000000 --- a/old_docs/API_docs_v66/types/channels_ChannelParticipants.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: channels_ChannelParticipants -description: constructors and methods of type channels_ChannelParticipants -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: channels\_ChannelParticipants -[Back to types index](index.md) - - - -### Possible values (constructors): - -[channels\_channelParticipants](../constructors/channels_channelParticipants.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->channels->getParticipants](../methods/channels_getParticipants.md) - - - diff --git a/old_docs/API_docs_v66/types/contacts.Blocked.md b/old_docs/API_docs_v66/types/contacts.Blocked.md new file mode 100644 index 00000000..cb2af80f --- /dev/null +++ b/old_docs/API_docs_v66/types/contacts.Blocked.md @@ -0,0 +1,24 @@ +--- +title: contacts.Blocked +description: constructors and methods of type contacts.Blocked +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Blocked +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.blocked](../constructors/contacts.blocked.md) + +[contacts.blockedSlice](../constructors/contacts.blockedSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getBlocked](../methods/contacts.getBlocked.md) + + + diff --git a/old_docs/API_docs_v66/types/contacts.Contacts.md b/old_docs/API_docs_v66/types/contacts.Contacts.md new file mode 100644 index 00000000..5f695d8e --- /dev/null +++ b/old_docs/API_docs_v66/types/contacts.Contacts.md @@ -0,0 +1,24 @@ +--- +title: contacts.Contacts +description: constructors and methods of type contacts.Contacts +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Contacts +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.contactsNotModified](../constructors/contacts.contactsNotModified.md) + +[contacts.contacts](../constructors/contacts.contacts.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getContacts](../methods/contacts.getContacts.md) + + + diff --git a/old_docs/API_docs_v66/types/contacts.Found.md b/old_docs/API_docs_v66/types/contacts.Found.md new file mode 100644 index 00000000..7df98927 --- /dev/null +++ b/old_docs/API_docs_v66/types/contacts.Found.md @@ -0,0 +1,22 @@ +--- +title: contacts.Found +description: constructors and methods of type contacts.Found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Found +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.found](../constructors/contacts.found.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->search](../methods/contacts.search.md) + + + diff --git a/old_docs/API_docs_v66/types/contacts.ImportedContacts.md b/old_docs/API_docs_v66/types/contacts.ImportedContacts.md new file mode 100644 index 00000000..16795bab --- /dev/null +++ b/old_docs/API_docs_v66/types/contacts.ImportedContacts.md @@ -0,0 +1,22 @@ +--- +title: contacts.ImportedContacts +description: constructors and methods of type contacts.ImportedContacts +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.ImportedContacts +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.importedContacts](../constructors/contacts.importedContacts.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->importContacts](../methods/contacts.importContacts.md) + + + diff --git a/old_docs/API_docs_v66/types/contacts.Link.md b/old_docs/API_docs_v66/types/contacts.Link.md new file mode 100644 index 00000000..eb9da683 --- /dev/null +++ b/old_docs/API_docs_v66/types/contacts.Link.md @@ -0,0 +1,22 @@ +--- +title: contacts.Link +description: constructors and methods of type contacts.Link +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Link +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.link](../constructors/contacts.link.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->deleteContact](../methods/contacts.deleteContact.md) + + + diff --git a/old_docs/API_docs_v66/types/contacts.ResolvedPeer.md b/old_docs/API_docs_v66/types/contacts.ResolvedPeer.md new file mode 100644 index 00000000..13630d54 --- /dev/null +++ b/old_docs/API_docs_v66/types/contacts.ResolvedPeer.md @@ -0,0 +1,22 @@ +--- +title: contacts.ResolvedPeer +description: constructors and methods of type contacts.ResolvedPeer +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.ResolvedPeer +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.resolvedPeer](../constructors/contacts.resolvedPeer.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->resolveUsername](../methods/contacts.resolveUsername.md) + + + diff --git a/old_docs/API_docs_v66/types/contacts.TopPeers.md b/old_docs/API_docs_v66/types/contacts.TopPeers.md new file mode 100644 index 00000000..b8107616 --- /dev/null +++ b/old_docs/API_docs_v66/types/contacts.TopPeers.md @@ -0,0 +1,24 @@ +--- +title: contacts.TopPeers +description: constructors and methods of type contacts.TopPeers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.TopPeers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.topPeersNotModified](../constructors/contacts.topPeersNotModified.md) + +[contacts.topPeers](../constructors/contacts.topPeers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getTopPeers](../methods/contacts.getTopPeers.md) + + + diff --git a/old_docs/API_docs_v66/types/contacts_Blocked.md b/old_docs/API_docs_v66/types/contacts_Blocked.md deleted file mode 100644 index 3e1f02eb..00000000 --- a/old_docs/API_docs_v66/types/contacts_Blocked.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: contacts_Blocked -description: constructors and methods of type contacts_Blocked -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Blocked -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_blocked](../constructors/contacts_blocked.md) - -[contacts\_blockedSlice](../constructors/contacts_blockedSlice.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->getBlocked](../methods/contacts_getBlocked.md) - - - diff --git a/old_docs/API_docs_v66/types/contacts_Contacts.md b/old_docs/API_docs_v66/types/contacts_Contacts.md deleted file mode 100644 index 5d6c9506..00000000 --- a/old_docs/API_docs_v66/types/contacts_Contacts.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: contacts_Contacts -description: constructors and methods of type contacts_Contacts -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Contacts -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_contactsNotModified](../constructors/contacts_contactsNotModified.md) - -[contacts\_contacts](../constructors/contacts_contacts.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->getContacts](../methods/contacts_getContacts.md) - - - diff --git a/old_docs/API_docs_v66/types/contacts_Found.md b/old_docs/API_docs_v66/types/contacts_Found.md deleted file mode 100644 index 806101cf..00000000 --- a/old_docs/API_docs_v66/types/contacts_Found.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_Found -description: constructors and methods of type contacts_Found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Found -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_found](../constructors/contacts_found.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->search](../methods/contacts_search.md) - - - diff --git a/old_docs/API_docs_v66/types/contacts_ImportedContacts.md b/old_docs/API_docs_v66/types/contacts_ImportedContacts.md deleted file mode 100644 index faf7e615..00000000 --- a/old_docs/API_docs_v66/types/contacts_ImportedContacts.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_ImportedContacts -description: constructors and methods of type contacts_ImportedContacts -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_ImportedContacts -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_importedContacts](../constructors/contacts_importedContacts.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->importContacts](../methods/contacts_importContacts.md) - - - diff --git a/old_docs/API_docs_v66/types/contacts_Link.md b/old_docs/API_docs_v66/types/contacts_Link.md deleted file mode 100644 index 01556606..00000000 --- a/old_docs/API_docs_v66/types/contacts_Link.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_Link -description: constructors and methods of type contacts_Link -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Link -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_link](../constructors/contacts_link.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->deleteContact](../methods/contacts_deleteContact.md) - - - diff --git a/old_docs/API_docs_v66/types/contacts_ResolvedPeer.md b/old_docs/API_docs_v66/types/contacts_ResolvedPeer.md deleted file mode 100644 index cf107f7c..00000000 --- a/old_docs/API_docs_v66/types/contacts_ResolvedPeer.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_ResolvedPeer -description: constructors and methods of type contacts_ResolvedPeer -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_ResolvedPeer -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_resolvedPeer](../constructors/contacts_resolvedPeer.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->resolveUsername](../methods/contacts_resolveUsername.md) - - - diff --git a/old_docs/API_docs_v66/types/contacts_TopPeers.md b/old_docs/API_docs_v66/types/contacts_TopPeers.md deleted file mode 100644 index fe4255c7..00000000 --- a/old_docs/API_docs_v66/types/contacts_TopPeers.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: contacts_TopPeers -description: constructors and methods of type contacts_TopPeers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_TopPeers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_topPeersNotModified](../constructors/contacts_topPeersNotModified.md) - -[contacts\_topPeers](../constructors/contacts_topPeers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->getTopPeers](../methods/contacts_getTopPeers.md) - - - diff --git a/old_docs/API_docs_v66/types/help.AppUpdate.md b/old_docs/API_docs_v66/types/help.AppUpdate.md new file mode 100644 index 00000000..285ec2b7 --- /dev/null +++ b/old_docs/API_docs_v66/types/help.AppUpdate.md @@ -0,0 +1,24 @@ +--- +title: help.AppUpdate +description: constructors and methods of type help.AppUpdate +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.AppUpdate +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.appUpdate](../constructors/help.appUpdate.md) + +[help.noAppUpdate](../constructors/help.noAppUpdate.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getAppUpdate](../methods/help.getAppUpdate.md) + + + diff --git a/old_docs/API_docs_v66/types/help.InviteText.md b/old_docs/API_docs_v66/types/help.InviteText.md new file mode 100644 index 00000000..43293f46 --- /dev/null +++ b/old_docs/API_docs_v66/types/help.InviteText.md @@ -0,0 +1,22 @@ +--- +title: help.InviteText +description: constructors and methods of type help.InviteText +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.InviteText +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.inviteText](../constructors/help.inviteText.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getInviteText](../methods/help.getInviteText.md) + + + diff --git a/old_docs/API_docs_v66/types/help.Support.md b/old_docs/API_docs_v66/types/help.Support.md new file mode 100644 index 00000000..42c20483 --- /dev/null +++ b/old_docs/API_docs_v66/types/help.Support.md @@ -0,0 +1,22 @@ +--- +title: help.Support +description: constructors and methods of type help.Support +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.Support +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.support](../constructors/help.support.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getSupport](../methods/help.getSupport.md) + + + diff --git a/old_docs/API_docs_v66/types/help.TermsOfService.md b/old_docs/API_docs_v66/types/help.TermsOfService.md new file mode 100644 index 00000000..6c29d2e6 --- /dev/null +++ b/old_docs/API_docs_v66/types/help.TermsOfService.md @@ -0,0 +1,22 @@ +--- +title: help.TermsOfService +description: constructors and methods of type help.TermsOfService +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.TermsOfService +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.termsOfService](../constructors/help.termsOfService.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getTermsOfService](../methods/help.getTermsOfService.md) + + + diff --git a/old_docs/API_docs_v66/types/help_AppUpdate.md b/old_docs/API_docs_v66/types/help_AppUpdate.md deleted file mode 100644 index 1f296a70..00000000 --- a/old_docs/API_docs_v66/types/help_AppUpdate.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: help_AppUpdate -description: constructors and methods of type help_AppUpdate -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_AppUpdate -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_appUpdate](../constructors/help_appUpdate.md) - -[help\_noAppUpdate](../constructors/help_noAppUpdate.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getAppUpdate](../methods/help_getAppUpdate.md) - - - diff --git a/old_docs/API_docs_v66/types/help_InviteText.md b/old_docs/API_docs_v66/types/help_InviteText.md deleted file mode 100644 index 018d35bf..00000000 --- a/old_docs/API_docs_v66/types/help_InviteText.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: help_InviteText -description: constructors and methods of type help_InviteText -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_InviteText -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_inviteText](../constructors/help_inviteText.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getInviteText](../methods/help_getInviteText.md) - - - diff --git a/old_docs/API_docs_v66/types/help_Support.md b/old_docs/API_docs_v66/types/help_Support.md deleted file mode 100644 index 26de447b..00000000 --- a/old_docs/API_docs_v66/types/help_Support.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: help_Support -description: constructors and methods of type help_Support -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_Support -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_support](../constructors/help_support.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getSupport](../methods/help_getSupport.md) - - - diff --git a/old_docs/API_docs_v66/types/help_TermsOfService.md b/old_docs/API_docs_v66/types/help_TermsOfService.md deleted file mode 100644 index 84a05df3..00000000 --- a/old_docs/API_docs_v66/types/help_TermsOfService.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: help_TermsOfService -description: constructors and methods of type help_TermsOfService -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_TermsOfService -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_termsOfService](../constructors/help_termsOfService.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getTermsOfService](../methods/help_getTermsOfService.md) - - - diff --git a/old_docs/API_docs_v66/types/messages.AffectedHistory.md b/old_docs/API_docs_v66/types/messages.AffectedHistory.md new file mode 100644 index 00000000..f0411b4d --- /dev/null +++ b/old_docs/API_docs_v66/types/messages.AffectedHistory.md @@ -0,0 +1,24 @@ +--- +title: messages.AffectedHistory +description: constructors and methods of type messages.AffectedHistory +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.AffectedHistory +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.affectedHistory](../constructors/messages.affectedHistory.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->deleteHistory](../methods/messages.deleteHistory.md) + +[$MadelineProto->channels->deleteUserHistory](../methods/channels.deleteUserHistory.md) + + + diff --git a/old_docs/API_docs_v66/types/messages.AffectedMessages.md b/old_docs/API_docs_v66/types/messages.AffectedMessages.md new file mode 100644 index 00000000..a9159de3 --- /dev/null +++ b/old_docs/API_docs_v66/types/messages.AffectedMessages.md @@ -0,0 +1,28 @@ +--- +title: messages.AffectedMessages +description: constructors and methods of type messages.AffectedMessages +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.AffectedMessages +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.affectedMessages](../constructors/messages.affectedMessages.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->readHistory](../methods/messages.readHistory.md) + +[$MadelineProto->messages->deleteMessages](../methods/messages.deleteMessages.md) + +[$MadelineProto->messages->readMessageContents](../methods/messages.readMessageContents.md) + +[$MadelineProto->channels->deleteMessages](../methods/channels.deleteMessages.md) + + + diff --git a/old_docs/API_docs_v66/types/messages.AllStickers.md b/old_docs/API_docs_v66/types/messages.AllStickers.md new file mode 100644 index 00000000..fd8565de --- /dev/null +++ b/old_docs/API_docs_v66/types/messages.AllStickers.md @@ -0,0 +1,26 @@ +--- +title: messages.AllStickers +description: constructors and methods of type messages.AllStickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.AllStickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.allStickersNotModified](../constructors/messages.allStickersNotModified.md) + +[messages.allStickers](../constructors/messages.allStickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getAllStickers](../methods/messages.getAllStickers.md) + +[$MadelineProto->messages->getMaskStickers](../methods/messages.getMaskStickers.md) + + + diff --git a/old_docs/API_docs_v66/types/messages.ArchivedStickers.md b/old_docs/API_docs_v66/types/messages.ArchivedStickers.md new file mode 100644 index 00000000..3e017c5d --- /dev/null +++ b/old_docs/API_docs_v66/types/messages.ArchivedStickers.md @@ -0,0 +1,22 @@ +--- +title: messages.ArchivedStickers +description: constructors and methods of type messages.ArchivedStickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.ArchivedStickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.archivedStickers](../constructors/messages.archivedStickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getArchivedStickers](../methods/messages.getArchivedStickers.md) + + + diff --git a/old_docs/API_docs_v66/types/messages.BotCallbackAnswer.md b/old_docs/API_docs_v66/types/messages.BotCallbackAnswer.md new file mode 100644 index 00000000..ef30fbfb --- /dev/null +++ b/old_docs/API_docs_v66/types/messages.BotCallbackAnswer.md @@ -0,0 +1,22 @@ +--- +title: messages.BotCallbackAnswer +description: constructors and methods of type messages.BotCallbackAnswer +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.BotCallbackAnswer +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.botCallbackAnswer](../constructors/messages.botCallbackAnswer.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getBotCallbackAnswer](../methods/messages.getBotCallbackAnswer.md) + + + diff --git a/old_docs/API_docs_v66/types/messages.BotResults.md b/old_docs/API_docs_v66/types/messages.BotResults.md new file mode 100644 index 00000000..76ee2b99 --- /dev/null +++ b/old_docs/API_docs_v66/types/messages.BotResults.md @@ -0,0 +1,22 @@ +--- +title: messages.BotResults +description: constructors and methods of type messages.BotResults +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.BotResults +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.botResults](../constructors/messages.botResults.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getInlineBotResults](../methods/messages.getInlineBotResults.md) + + + diff --git a/old_docs/API_docs_v66/types/messages.ChatFull.md b/old_docs/API_docs_v66/types/messages.ChatFull.md new file mode 100644 index 00000000..3ad38748 --- /dev/null +++ b/old_docs/API_docs_v66/types/messages.ChatFull.md @@ -0,0 +1,24 @@ +--- +title: messages.ChatFull +description: constructors and methods of type messages.ChatFull +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.ChatFull +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.chatFull](../constructors/messages.chatFull.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getFullChat](../methods/messages.getFullChat.md) + +[$MadelineProto->channels->getFullChannel](../methods/channels.getFullChannel.md) + + + diff --git a/old_docs/API_docs_v66/types/messages.Chats.md b/old_docs/API_docs_v66/types/messages.Chats.md new file mode 100644 index 00000000..2c730bf4 --- /dev/null +++ b/old_docs/API_docs_v66/types/messages.Chats.md @@ -0,0 +1,32 @@ +--- +title: messages.Chats +description: constructors and methods of type messages.Chats +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Chats +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.chats](../constructors/messages.chats.md) + +[messages.chatsSlice](../constructors/messages.chatsSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getChats](../methods/messages.getChats.md) + +[$MadelineProto->messages->getCommonChats](../methods/messages.getCommonChats.md) + +[$MadelineProto->messages->getAllChats](../methods/messages.getAllChats.md) + +[$MadelineProto->channels->getChannels](../methods/channels.getChannels.md) + +[$MadelineProto->channels->getAdminedPublicChannels](../methods/channels.getAdminedPublicChannels.md) + + + diff --git a/old_docs/API_docs_v66/types/messages.DhConfig.md b/old_docs/API_docs_v66/types/messages.DhConfig.md new file mode 100644 index 00000000..77188ab7 --- /dev/null +++ b/old_docs/API_docs_v66/types/messages.DhConfig.md @@ -0,0 +1,24 @@ +--- +title: messages.DhConfig +description: constructors and methods of type messages.DhConfig +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.DhConfig +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.dhConfigNotModified](../constructors/messages.dhConfigNotModified.md) + +[messages.dhConfig](../constructors/messages.dhConfig.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getDhConfig](../methods/messages.getDhConfig.md) + + + diff --git a/old_docs/API_docs_v66/types/messages.Dialogs.md b/old_docs/API_docs_v66/types/messages.Dialogs.md new file mode 100644 index 00000000..1a57d535 --- /dev/null +++ b/old_docs/API_docs_v66/types/messages.Dialogs.md @@ -0,0 +1,24 @@ +--- +title: messages.Dialogs +description: constructors and methods of type messages.Dialogs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Dialogs +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.dialogs](../constructors/messages.dialogs.md) + +[messages.dialogsSlice](../constructors/messages.dialogsSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getDialogs](../methods/messages.getDialogs.md) + + + diff --git a/old_docs/API_docs_v66/types/messages.FeaturedStickers.md b/old_docs/API_docs_v66/types/messages.FeaturedStickers.md new file mode 100644 index 00000000..06ed87bb --- /dev/null +++ b/old_docs/API_docs_v66/types/messages.FeaturedStickers.md @@ -0,0 +1,24 @@ +--- +title: messages.FeaturedStickers +description: constructors and methods of type messages.FeaturedStickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.FeaturedStickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.featuredStickersNotModified](../constructors/messages.featuredStickersNotModified.md) + +[messages.featuredStickers](../constructors/messages.featuredStickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getFeaturedStickers](../methods/messages.getFeaturedStickers.md) + + + diff --git a/old_docs/API_docs_v66/types/messages.FoundGifs.md b/old_docs/API_docs_v66/types/messages.FoundGifs.md new file mode 100644 index 00000000..b5176a5d --- /dev/null +++ b/old_docs/API_docs_v66/types/messages.FoundGifs.md @@ -0,0 +1,22 @@ +--- +title: messages.FoundGifs +description: constructors and methods of type messages.FoundGifs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.FoundGifs +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.foundGifs](../constructors/messages.foundGifs.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->searchGifs](../methods/messages.searchGifs.md) + + + diff --git a/old_docs/API_docs_v66/types/messages.HighScores.md b/old_docs/API_docs_v66/types/messages.HighScores.md new file mode 100644 index 00000000..eae9db66 --- /dev/null +++ b/old_docs/API_docs_v66/types/messages.HighScores.md @@ -0,0 +1,24 @@ +--- +title: messages.HighScores +description: constructors and methods of type messages.HighScores +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.HighScores +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.highScores](../constructors/messages.highScores.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getGameHighScores](../methods/messages.getGameHighScores.md) + +[$MadelineProto->messages->getInlineGameHighScores](../methods/messages.getInlineGameHighScores.md) + + + diff --git a/old_docs/API_docs_v66/types/messages.MessageEditData.md b/old_docs/API_docs_v66/types/messages.MessageEditData.md new file mode 100644 index 00000000..feb572f1 --- /dev/null +++ b/old_docs/API_docs_v66/types/messages.MessageEditData.md @@ -0,0 +1,22 @@ +--- +title: messages.MessageEditData +description: constructors and methods of type messages.MessageEditData +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.MessageEditData +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.messageEditData](../constructors/messages.messageEditData.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getMessageEditData](../methods/messages.getMessageEditData.md) + + + diff --git a/old_docs/API_docs_v66/types/messages.Messages.md b/old_docs/API_docs_v66/types/messages.Messages.md new file mode 100644 index 00000000..9e86abbe --- /dev/null +++ b/old_docs/API_docs_v66/types/messages.Messages.md @@ -0,0 +1,34 @@ +--- +title: messages.Messages +description: constructors and methods of type messages.Messages +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Messages +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.messages](../constructors/messages.messages.md) + +[messages.messagesSlice](../constructors/messages.messagesSlice.md) + +[messages.channelMessages](../constructors/messages.channelMessages.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getMessages](../methods/messages.getMessages.md) + +[$MadelineProto->messages->getHistory](../methods/messages.getHistory.md) + +[$MadelineProto->messages->search](../methods/messages.search.md) + +[$MadelineProto->messages->searchGlobal](../methods/messages.searchGlobal.md) + +[$MadelineProto->channels->getMessages](../methods/channels.getMessages.md) + + + diff --git a/old_docs/API_docs_v66/types/messages.PeerDialogs.md b/old_docs/API_docs_v66/types/messages.PeerDialogs.md new file mode 100644 index 00000000..9a1ceaf0 --- /dev/null +++ b/old_docs/API_docs_v66/types/messages.PeerDialogs.md @@ -0,0 +1,24 @@ +--- +title: messages.PeerDialogs +description: constructors and methods of type messages.PeerDialogs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.PeerDialogs +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.peerDialogs](../constructors/messages.peerDialogs.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getPeerDialogs](../methods/messages.getPeerDialogs.md) + +[$MadelineProto->messages->getPinnedDialogs](../methods/messages.getPinnedDialogs.md) + + + diff --git a/old_docs/API_docs_v66/types/messages.RecentStickers.md b/old_docs/API_docs_v66/types/messages.RecentStickers.md new file mode 100644 index 00000000..e5c49b92 --- /dev/null +++ b/old_docs/API_docs_v66/types/messages.RecentStickers.md @@ -0,0 +1,24 @@ +--- +title: messages.RecentStickers +description: constructors and methods of type messages.RecentStickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.RecentStickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.recentStickersNotModified](../constructors/messages.recentStickersNotModified.md) + +[messages.recentStickers](../constructors/messages.recentStickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getRecentStickers](../methods/messages.getRecentStickers.md) + + + diff --git a/old_docs/API_docs_v66/types/messages.SavedGifs.md b/old_docs/API_docs_v66/types/messages.SavedGifs.md new file mode 100644 index 00000000..99844c98 --- /dev/null +++ b/old_docs/API_docs_v66/types/messages.SavedGifs.md @@ -0,0 +1,24 @@ +--- +title: messages.SavedGifs +description: constructors and methods of type messages.SavedGifs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.SavedGifs +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.savedGifsNotModified](../constructors/messages.savedGifsNotModified.md) + +[messages.savedGifs](../constructors/messages.savedGifs.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getSavedGifs](../methods/messages.getSavedGifs.md) + + + diff --git a/old_docs/API_docs_v66/types/messages.SentEncryptedMessage.md b/old_docs/API_docs_v66/types/messages.SentEncryptedMessage.md new file mode 100644 index 00000000..b6d05b1f --- /dev/null +++ b/old_docs/API_docs_v66/types/messages.SentEncryptedMessage.md @@ -0,0 +1,28 @@ +--- +title: messages.SentEncryptedMessage +description: constructors and methods of type messages.SentEncryptedMessage +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.SentEncryptedMessage +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.sentEncryptedMessage](../constructors/messages.sentEncryptedMessage.md) + +[messages.sentEncryptedFile](../constructors/messages.sentEncryptedFile.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->sendEncrypted](../methods/messages.sendEncrypted.md) + +[$MadelineProto->messages->sendEncryptedFile](../methods/messages.sendEncryptedFile.md) + +[$MadelineProto->messages->sendEncryptedService](../methods/messages.sendEncryptedService.md) + + + diff --git a/old_docs/API_docs_v66/types/messages.StickerSet.md b/old_docs/API_docs_v66/types/messages.StickerSet.md new file mode 100644 index 00000000..8de24a76 --- /dev/null +++ b/old_docs/API_docs_v66/types/messages.StickerSet.md @@ -0,0 +1,22 @@ +--- +title: messages.StickerSet +description: constructors and methods of type messages.StickerSet +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.StickerSet +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.stickerSet](../constructors/messages.stickerSet.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getStickerSet](../methods/messages.getStickerSet.md) + + + diff --git a/old_docs/API_docs_v66/types/messages.StickerSetInstallResult.md b/old_docs/API_docs_v66/types/messages.StickerSetInstallResult.md new file mode 100644 index 00000000..9e09c293 --- /dev/null +++ b/old_docs/API_docs_v66/types/messages.StickerSetInstallResult.md @@ -0,0 +1,24 @@ +--- +title: messages.StickerSetInstallResult +description: constructors and methods of type messages.StickerSetInstallResult +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.StickerSetInstallResult +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.stickerSetInstallResultSuccess](../constructors/messages.stickerSetInstallResultSuccess.md) + +[messages.stickerSetInstallResultArchive](../constructors/messages.stickerSetInstallResultArchive.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->installStickerSet](../methods/messages.installStickerSet.md) + + + diff --git a/old_docs/API_docs_v66/types/messages.Stickers.md b/old_docs/API_docs_v66/types/messages.Stickers.md new file mode 100644 index 00000000..0da398ca --- /dev/null +++ b/old_docs/API_docs_v66/types/messages.Stickers.md @@ -0,0 +1,22 @@ +--- +title: messages.Stickers +description: constructors and methods of type messages.Stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Stickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.stickersNotModified](../constructors/messages.stickersNotModified.md) + +[messages.stickers](../constructors/messages.stickers.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v66/types/messages_AffectedHistory.md b/old_docs/API_docs_v66/types/messages_AffectedHistory.md deleted file mode 100644 index a2d75894..00000000 --- a/old_docs/API_docs_v66/types/messages_AffectedHistory.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_AffectedHistory -description: constructors and methods of type messages_AffectedHistory -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_AffectedHistory -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_affectedHistory](../constructors/messages_affectedHistory.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->deleteHistory](../methods/messages_deleteHistory.md) - -[$MadelineProto->channels->deleteUserHistory](../methods/channels_deleteUserHistory.md) - - - diff --git a/old_docs/API_docs_v66/types/messages_AffectedMessages.md b/old_docs/API_docs_v66/types/messages_AffectedMessages.md deleted file mode 100644 index dcbea721..00000000 --- a/old_docs/API_docs_v66/types/messages_AffectedMessages.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: messages_AffectedMessages -description: constructors and methods of type messages_AffectedMessages -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_AffectedMessages -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_affectedMessages](../constructors/messages_affectedMessages.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->readHistory](../methods/messages_readHistory.md) - -[$MadelineProto->messages->deleteMessages](../methods/messages_deleteMessages.md) - -[$MadelineProto->messages->readMessageContents](../methods/messages_readMessageContents.md) - -[$MadelineProto->channels->deleteMessages](../methods/channels_deleteMessages.md) - - - diff --git a/old_docs/API_docs_v66/types/messages_AllStickers.md b/old_docs/API_docs_v66/types/messages_AllStickers.md deleted file mode 100644 index b6a322e0..00000000 --- a/old_docs/API_docs_v66/types/messages_AllStickers.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: messages_AllStickers -description: constructors and methods of type messages_AllStickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_AllStickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_allStickersNotModified](../constructors/messages_allStickersNotModified.md) - -[messages\_allStickers](../constructors/messages_allStickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getAllStickers](../methods/messages_getAllStickers.md) - -[$MadelineProto->messages->getMaskStickers](../methods/messages_getMaskStickers.md) - - - diff --git a/old_docs/API_docs_v66/types/messages_ArchivedStickers.md b/old_docs/API_docs_v66/types/messages_ArchivedStickers.md deleted file mode 100644 index c569675e..00000000 --- a/old_docs/API_docs_v66/types/messages_ArchivedStickers.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_ArchivedStickers -description: constructors and methods of type messages_ArchivedStickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_ArchivedStickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_archivedStickers](../constructors/messages_archivedStickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getArchivedStickers](../methods/messages_getArchivedStickers.md) - - - diff --git a/old_docs/API_docs_v66/types/messages_BotCallbackAnswer.md b/old_docs/API_docs_v66/types/messages_BotCallbackAnswer.md deleted file mode 100644 index f8d424d0..00000000 --- a/old_docs/API_docs_v66/types/messages_BotCallbackAnswer.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_BotCallbackAnswer -description: constructors and methods of type messages_BotCallbackAnswer -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_BotCallbackAnswer -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_botCallbackAnswer](../constructors/messages_botCallbackAnswer.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getBotCallbackAnswer](../methods/messages_getBotCallbackAnswer.md) - - - diff --git a/old_docs/API_docs_v66/types/messages_BotResults.md b/old_docs/API_docs_v66/types/messages_BotResults.md deleted file mode 100644 index c346c5bd..00000000 --- a/old_docs/API_docs_v66/types/messages_BotResults.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_BotResults -description: constructors and methods of type messages_BotResults -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_BotResults -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_botResults](../constructors/messages_botResults.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getInlineBotResults](../methods/messages_getInlineBotResults.md) - - - diff --git a/old_docs/API_docs_v66/types/messages_ChatFull.md b/old_docs/API_docs_v66/types/messages_ChatFull.md deleted file mode 100644 index e4add41e..00000000 --- a/old_docs/API_docs_v66/types/messages_ChatFull.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_ChatFull -description: constructors and methods of type messages_ChatFull -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_ChatFull -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_chatFull](../constructors/messages_chatFull.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getFullChat](../methods/messages_getFullChat.md) - -[$MadelineProto->channels->getFullChannel](../methods/channels_getFullChannel.md) - - - diff --git a/old_docs/API_docs_v66/types/messages_Chats.md b/old_docs/API_docs_v66/types/messages_Chats.md deleted file mode 100644 index e49a9718..00000000 --- a/old_docs/API_docs_v66/types/messages_Chats.md +++ /dev/null @@ -1,32 +0,0 @@ ---- -title: messages_Chats -description: constructors and methods of type messages_Chats -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Chats -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_chats](../constructors/messages_chats.md) - -[messages\_chatsSlice](../constructors/messages_chatsSlice.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getChats](../methods/messages_getChats.md) - -[$MadelineProto->messages->getCommonChats](../methods/messages_getCommonChats.md) - -[$MadelineProto->messages->getAllChats](../methods/messages_getAllChats.md) - -[$MadelineProto->channels->getChannels](../methods/channels_getChannels.md) - -[$MadelineProto->channels->getAdminedPublicChannels](../methods/channels_getAdminedPublicChannels.md) - - - diff --git a/old_docs/API_docs_v66/types/messages_DhConfig.md b/old_docs/API_docs_v66/types/messages_DhConfig.md deleted file mode 100644 index ce237411..00000000 --- a/old_docs/API_docs_v66/types/messages_DhConfig.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_DhConfig -description: constructors and methods of type messages_DhConfig -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_DhConfig -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_dhConfigNotModified](../constructors/messages_dhConfigNotModified.md) - -[messages\_dhConfig](../constructors/messages_dhConfig.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getDhConfig](../methods/messages_getDhConfig.md) - - - diff --git a/old_docs/API_docs_v66/types/messages_Dialogs.md b/old_docs/API_docs_v66/types/messages_Dialogs.md deleted file mode 100644 index 733a42c5..00000000 --- a/old_docs/API_docs_v66/types/messages_Dialogs.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_Dialogs -description: constructors and methods of type messages_Dialogs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Dialogs -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_dialogs](../constructors/messages_dialogs.md) - -[messages\_dialogsSlice](../constructors/messages_dialogsSlice.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getDialogs](../methods/messages_getDialogs.md) - - - diff --git a/old_docs/API_docs_v66/types/messages_FeaturedStickers.md b/old_docs/API_docs_v66/types/messages_FeaturedStickers.md deleted file mode 100644 index 9b4c5002..00000000 --- a/old_docs/API_docs_v66/types/messages_FeaturedStickers.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_FeaturedStickers -description: constructors and methods of type messages_FeaturedStickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_FeaturedStickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_featuredStickersNotModified](../constructors/messages_featuredStickersNotModified.md) - -[messages\_featuredStickers](../constructors/messages_featuredStickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getFeaturedStickers](../methods/messages_getFeaturedStickers.md) - - - diff --git a/old_docs/API_docs_v66/types/messages_FoundGifs.md b/old_docs/API_docs_v66/types/messages_FoundGifs.md deleted file mode 100644 index 9dd088ba..00000000 --- a/old_docs/API_docs_v66/types/messages_FoundGifs.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_FoundGifs -description: constructors and methods of type messages_FoundGifs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_FoundGifs -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_foundGifs](../constructors/messages_foundGifs.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->searchGifs](../methods/messages_searchGifs.md) - - - diff --git a/old_docs/API_docs_v66/types/messages_HighScores.md b/old_docs/API_docs_v66/types/messages_HighScores.md deleted file mode 100644 index 9660e255..00000000 --- a/old_docs/API_docs_v66/types/messages_HighScores.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_HighScores -description: constructors and methods of type messages_HighScores -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_HighScores -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_highScores](../constructors/messages_highScores.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getGameHighScores](../methods/messages_getGameHighScores.md) - -[$MadelineProto->messages->getInlineGameHighScores](../methods/messages_getInlineGameHighScores.md) - - - diff --git a/old_docs/API_docs_v66/types/messages_MessageEditData.md b/old_docs/API_docs_v66/types/messages_MessageEditData.md deleted file mode 100644 index ed3c507a..00000000 --- a/old_docs/API_docs_v66/types/messages_MessageEditData.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_MessageEditData -description: constructors and methods of type messages_MessageEditData -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_MessageEditData -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_messageEditData](../constructors/messages_messageEditData.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getMessageEditData](../methods/messages_getMessageEditData.md) - - - diff --git a/old_docs/API_docs_v66/types/messages_Messages.md b/old_docs/API_docs_v66/types/messages_Messages.md deleted file mode 100644 index 4ce14f1d..00000000 --- a/old_docs/API_docs_v66/types/messages_Messages.md +++ /dev/null @@ -1,34 +0,0 @@ ---- -title: messages_Messages -description: constructors and methods of type messages_Messages -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Messages -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_messages](../constructors/messages_messages.md) - -[messages\_messagesSlice](../constructors/messages_messagesSlice.md) - -[messages\_channelMessages](../constructors/messages_channelMessages.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getMessages](../methods/messages_getMessages.md) - -[$MadelineProto->messages->getHistory](../methods/messages_getHistory.md) - -[$MadelineProto->messages->search](../methods/messages_search.md) - -[$MadelineProto->messages->searchGlobal](../methods/messages_searchGlobal.md) - -[$MadelineProto->channels->getMessages](../methods/channels_getMessages.md) - - - diff --git a/old_docs/API_docs_v66/types/messages_PeerDialogs.md b/old_docs/API_docs_v66/types/messages_PeerDialogs.md deleted file mode 100644 index 2477931f..00000000 --- a/old_docs/API_docs_v66/types/messages_PeerDialogs.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_PeerDialogs -description: constructors and methods of type messages_PeerDialogs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_PeerDialogs -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_peerDialogs](../constructors/messages_peerDialogs.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getPeerDialogs](../methods/messages_getPeerDialogs.md) - -[$MadelineProto->messages->getPinnedDialogs](../methods/messages_getPinnedDialogs.md) - - - diff --git a/old_docs/API_docs_v66/types/messages_RecentStickers.md b/old_docs/API_docs_v66/types/messages_RecentStickers.md deleted file mode 100644 index 2c9db779..00000000 --- a/old_docs/API_docs_v66/types/messages_RecentStickers.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_RecentStickers -description: constructors and methods of type messages_RecentStickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_RecentStickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_recentStickersNotModified](../constructors/messages_recentStickersNotModified.md) - -[messages\_recentStickers](../constructors/messages_recentStickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getRecentStickers](../methods/messages_getRecentStickers.md) - - - diff --git a/old_docs/API_docs_v66/types/messages_SavedGifs.md b/old_docs/API_docs_v66/types/messages_SavedGifs.md deleted file mode 100644 index ffb000aa..00000000 --- a/old_docs/API_docs_v66/types/messages_SavedGifs.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_SavedGifs -description: constructors and methods of type messages_SavedGifs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_SavedGifs -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_savedGifsNotModified](../constructors/messages_savedGifsNotModified.md) - -[messages\_savedGifs](../constructors/messages_savedGifs.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getSavedGifs](../methods/messages_getSavedGifs.md) - - - diff --git a/old_docs/API_docs_v66/types/messages_SentEncryptedMessage.md b/old_docs/API_docs_v66/types/messages_SentEncryptedMessage.md deleted file mode 100644 index 9f7ab935..00000000 --- a/old_docs/API_docs_v66/types/messages_SentEncryptedMessage.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: messages_SentEncryptedMessage -description: constructors and methods of type messages_SentEncryptedMessage -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_SentEncryptedMessage -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_sentEncryptedMessage](../constructors/messages_sentEncryptedMessage.md) - -[messages\_sentEncryptedFile](../constructors/messages_sentEncryptedFile.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->sendEncrypted](../methods/messages_sendEncrypted.md) - -[$MadelineProto->messages->sendEncryptedFile](../methods/messages_sendEncryptedFile.md) - -[$MadelineProto->messages->sendEncryptedService](../methods/messages_sendEncryptedService.md) - - - diff --git a/old_docs/API_docs_v66/types/messages_StickerSet.md b/old_docs/API_docs_v66/types/messages_StickerSet.md deleted file mode 100644 index e04ee8bf..00000000 --- a/old_docs/API_docs_v66/types/messages_StickerSet.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_StickerSet -description: constructors and methods of type messages_StickerSet -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_StickerSet -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_stickerSet](../constructors/messages_stickerSet.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getStickerSet](../methods/messages_getStickerSet.md) - - - diff --git a/old_docs/API_docs_v66/types/messages_StickerSetInstallResult.md b/old_docs/API_docs_v66/types/messages_StickerSetInstallResult.md deleted file mode 100644 index bb62ec11..00000000 --- a/old_docs/API_docs_v66/types/messages_StickerSetInstallResult.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_StickerSetInstallResult -description: constructors and methods of type messages_StickerSetInstallResult -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_StickerSetInstallResult -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_stickerSetInstallResultSuccess](../constructors/messages_stickerSetInstallResultSuccess.md) - -[messages\_stickerSetInstallResultArchive](../constructors/messages_stickerSetInstallResultArchive.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->installStickerSet](../methods/messages_installStickerSet.md) - - - diff --git a/old_docs/API_docs_v66/types/messages_Stickers.md b/old_docs/API_docs_v66/types/messages_Stickers.md deleted file mode 100644 index c0fa45cc..00000000 --- a/old_docs/API_docs_v66/types/messages_Stickers.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_Stickers -description: constructors and methods of type messages_Stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Stickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_stickersNotModified](../constructors/messages_stickersNotModified.md) - -[messages\_stickers](../constructors/messages_stickers.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v66/types/payments.PaymentForm.md b/old_docs/API_docs_v66/types/payments.PaymentForm.md new file mode 100644 index 00000000..985c1957 --- /dev/null +++ b/old_docs/API_docs_v66/types/payments.PaymentForm.md @@ -0,0 +1,22 @@ +--- +title: payments.PaymentForm +description: constructors and methods of type payments.PaymentForm +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: payments.PaymentForm +[Back to types index](index.md) + + + +### Possible values (constructors): + +[payments.paymentForm](../constructors/payments.paymentForm.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->payments->getPaymentForm](../methods/payments.getPaymentForm.md) + + + diff --git a/old_docs/API_docs_v66/types/payments.PaymentReceipt.md b/old_docs/API_docs_v66/types/payments.PaymentReceipt.md new file mode 100644 index 00000000..45cebd47 --- /dev/null +++ b/old_docs/API_docs_v66/types/payments.PaymentReceipt.md @@ -0,0 +1,22 @@ +--- +title: payments.PaymentReceipt +description: constructors and methods of type payments.PaymentReceipt +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: payments.PaymentReceipt +[Back to types index](index.md) + + + +### Possible values (constructors): + +[payments.paymentReceipt](../constructors/payments.paymentReceipt.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->payments->getPaymentReceipt](../methods/payments.getPaymentReceipt.md) + + + diff --git a/old_docs/API_docs_v66/types/payments.PaymentResult.md b/old_docs/API_docs_v66/types/payments.PaymentResult.md new file mode 100644 index 00000000..9bbff9af --- /dev/null +++ b/old_docs/API_docs_v66/types/payments.PaymentResult.md @@ -0,0 +1,24 @@ +--- +title: payments.PaymentResult +description: constructors and methods of type payments.PaymentResult +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: payments.PaymentResult +[Back to types index](index.md) + + + +### Possible values (constructors): + +[payments.paymentResult](../constructors/payments.paymentResult.md) + +[payments.paymentVerficationNeeded](../constructors/payments.paymentVerficationNeeded.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->payments->sendPaymentForm](../methods/payments.sendPaymentForm.md) + + + diff --git a/old_docs/API_docs_v66/types/payments.SavedInfo.md b/old_docs/API_docs_v66/types/payments.SavedInfo.md new file mode 100644 index 00000000..cf7be16c --- /dev/null +++ b/old_docs/API_docs_v66/types/payments.SavedInfo.md @@ -0,0 +1,22 @@ +--- +title: payments.SavedInfo +description: constructors and methods of type payments.SavedInfo +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: payments.SavedInfo +[Back to types index](index.md) + + + +### Possible values (constructors): + +[payments.savedInfo](../constructors/payments.savedInfo.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->payments->getSavedInfo](../methods/payments.getSavedInfo.md) + + + diff --git a/old_docs/API_docs_v66/types/payments.ValidatedRequestedInfo.md b/old_docs/API_docs_v66/types/payments.ValidatedRequestedInfo.md new file mode 100644 index 00000000..653a5064 --- /dev/null +++ b/old_docs/API_docs_v66/types/payments.ValidatedRequestedInfo.md @@ -0,0 +1,22 @@ +--- +title: payments.ValidatedRequestedInfo +description: constructors and methods of type payments.ValidatedRequestedInfo +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: payments.ValidatedRequestedInfo +[Back to types index](index.md) + + + +### Possible values (constructors): + +[payments.validatedRequestedInfo](../constructors/payments.validatedRequestedInfo.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->payments->validateRequestedInfo](../methods/payments.validateRequestedInfo.md) + + + diff --git a/old_docs/API_docs_v66/types/payments_PaymentForm.md b/old_docs/API_docs_v66/types/payments_PaymentForm.md deleted file mode 100644 index 4662586d..00000000 --- a/old_docs/API_docs_v66/types/payments_PaymentForm.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: payments_PaymentForm -description: constructors and methods of type payments_PaymentForm -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: payments\_PaymentForm -[Back to types index](index.md) - - - -### Possible values (constructors): - -[payments\_paymentForm](../constructors/payments_paymentForm.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->payments->getPaymentForm](../methods/payments_getPaymentForm.md) - - - diff --git a/old_docs/API_docs_v66/types/payments_PaymentReceipt.md b/old_docs/API_docs_v66/types/payments_PaymentReceipt.md deleted file mode 100644 index b4770d2a..00000000 --- a/old_docs/API_docs_v66/types/payments_PaymentReceipt.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: payments_PaymentReceipt -description: constructors and methods of type payments_PaymentReceipt -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: payments\_PaymentReceipt -[Back to types index](index.md) - - - -### Possible values (constructors): - -[payments\_paymentReceipt](../constructors/payments_paymentReceipt.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->payments->getPaymentReceipt](../methods/payments_getPaymentReceipt.md) - - - diff --git a/old_docs/API_docs_v66/types/payments_PaymentResult.md b/old_docs/API_docs_v66/types/payments_PaymentResult.md deleted file mode 100644 index 3c0ad411..00000000 --- a/old_docs/API_docs_v66/types/payments_PaymentResult.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: payments_PaymentResult -description: constructors and methods of type payments_PaymentResult -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: payments\_PaymentResult -[Back to types index](index.md) - - - -### Possible values (constructors): - -[payments\_paymentResult](../constructors/payments_paymentResult.md) - -[payments\_paymentVerficationNeeded](../constructors/payments_paymentVerficationNeeded.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->payments->sendPaymentForm](../methods/payments_sendPaymentForm.md) - - - diff --git a/old_docs/API_docs_v66/types/payments_SavedInfo.md b/old_docs/API_docs_v66/types/payments_SavedInfo.md deleted file mode 100644 index c8f7b9e3..00000000 --- a/old_docs/API_docs_v66/types/payments_SavedInfo.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: payments_SavedInfo -description: constructors and methods of type payments_SavedInfo -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: payments\_SavedInfo -[Back to types index](index.md) - - - -### Possible values (constructors): - -[payments\_savedInfo](../constructors/payments_savedInfo.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->payments->getSavedInfo](../methods/payments_getSavedInfo.md) - - - diff --git a/old_docs/API_docs_v66/types/payments_ValidatedRequestedInfo.md b/old_docs/API_docs_v66/types/payments_ValidatedRequestedInfo.md deleted file mode 100644 index ff6c4e39..00000000 --- a/old_docs/API_docs_v66/types/payments_ValidatedRequestedInfo.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: payments_ValidatedRequestedInfo -description: constructors and methods of type payments_ValidatedRequestedInfo -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: payments\_ValidatedRequestedInfo -[Back to types index](index.md) - - - -### Possible values (constructors): - -[payments\_validatedRequestedInfo](../constructors/payments_validatedRequestedInfo.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->payments->validateRequestedInfo](../methods/payments_validateRequestedInfo.md) - - - diff --git a/old_docs/API_docs_v66/types/phone.PhoneCall.md b/old_docs/API_docs_v66/types/phone.PhoneCall.md new file mode 100644 index 00000000..db0708e9 --- /dev/null +++ b/old_docs/API_docs_v66/types/phone.PhoneCall.md @@ -0,0 +1,26 @@ +--- +title: phone.PhoneCall +description: constructors and methods of type phone.PhoneCall +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: phone.PhoneCall +[Back to types index](index.md) + + + +### Possible values (constructors): + +[phone.phoneCall](../constructors/phone.phoneCall.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->phone->requestCall](../methods/phone.requestCall.md) + +[$MadelineProto->phone->acceptCall](../methods/phone.acceptCall.md) + +[$MadelineProto->phone->confirmCall](../methods/phone.confirmCall.md) + + + diff --git a/old_docs/API_docs_v66/types/phone_PhoneCall.md b/old_docs/API_docs_v66/types/phone_PhoneCall.md deleted file mode 100644 index 0a49d482..00000000 --- a/old_docs/API_docs_v66/types/phone_PhoneCall.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: phone_PhoneCall -description: constructors and methods of type phone_PhoneCall -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: phone\_PhoneCall -[Back to types index](index.md) - - - -### Possible values (constructors): - -[phone\_phoneCall](../constructors/phone_phoneCall.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->phone->requestCall](../methods/phone_requestCall.md) - -[$MadelineProto->phone->acceptCall](../methods/phone_acceptCall.md) - -[$MadelineProto->phone->confirmCall](../methods/phone_confirmCall.md) - - - diff --git a/old_docs/API_docs_v66/types/photos.Photo.md b/old_docs/API_docs_v66/types/photos.Photo.md new file mode 100644 index 00000000..d60f203c --- /dev/null +++ b/old_docs/API_docs_v66/types/photos.Photo.md @@ -0,0 +1,22 @@ +--- +title: photos.Photo +description: constructors and methods of type photos.Photo +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: photos.Photo +[Back to types index](index.md) + + + +### Possible values (constructors): + +[photos.photo](../constructors/photos.photo.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->photos->uploadProfilePhoto](../methods/photos.uploadProfilePhoto.md) + + + diff --git a/old_docs/API_docs_v66/types/photos.Photos.md b/old_docs/API_docs_v66/types/photos.Photos.md new file mode 100644 index 00000000..fff0e296 --- /dev/null +++ b/old_docs/API_docs_v66/types/photos.Photos.md @@ -0,0 +1,24 @@ +--- +title: photos.Photos +description: constructors and methods of type photos.Photos +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: photos.Photos +[Back to types index](index.md) + + + +### Possible values (constructors): + +[photos.photos](../constructors/photos.photos.md) + +[photos.photosSlice](../constructors/photos.photosSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->photos->getUserPhotos](../methods/photos.getUserPhotos.md) + + + diff --git a/old_docs/API_docs_v66/types/photos_Photo.md b/old_docs/API_docs_v66/types/photos_Photo.md deleted file mode 100644 index d11bbdef..00000000 --- a/old_docs/API_docs_v66/types/photos_Photo.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: photos_Photo -description: constructors and methods of type photos_Photo -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: photos\_Photo -[Back to types index](index.md) - - - -### Possible values (constructors): - -[photos\_photo](../constructors/photos_photo.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->photos->uploadProfilePhoto](../methods/photos_uploadProfilePhoto.md) - - - diff --git a/old_docs/API_docs_v66/types/photos_Photos.md b/old_docs/API_docs_v66/types/photos_Photos.md deleted file mode 100644 index 9875ad70..00000000 --- a/old_docs/API_docs_v66/types/photos_Photos.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: photos_Photos -description: constructors and methods of type photos_Photos -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: photos\_Photos -[Back to types index](index.md) - - - -### Possible values (constructors): - -[photos\_photos](../constructors/photos_photos.md) - -[photos\_photosSlice](../constructors/photos_photosSlice.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->photos->getUserPhotos](../methods/photos_getUserPhotos.md) - - - diff --git a/old_docs/API_docs_v66/types/storage.FileType.md b/old_docs/API_docs_v66/types/storage.FileType.md new file mode 100644 index 00000000..32f1bb72 --- /dev/null +++ b/old_docs/API_docs_v66/types/storage.FileType.md @@ -0,0 +1,38 @@ +--- +title: storage.FileType +description: constructors and methods of type storage.FileType +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: storage.FileType +[Back to types index](index.md) + + + +### Possible values (constructors): + +[storage.fileUnknown](../constructors/storage.fileUnknown.md) + +[storage.filePartial](../constructors/storage.filePartial.md) + +[storage.fileJpeg](../constructors/storage.fileJpeg.md) + +[storage.fileGif](../constructors/storage.fileGif.md) + +[storage.filePng](../constructors/storage.filePng.md) + +[storage.filePdf](../constructors/storage.filePdf.md) + +[storage.fileMp3](../constructors/storage.fileMp3.md) + +[storage.fileMov](../constructors/storage.fileMov.md) + +[storage.fileMp4](../constructors/storage.fileMp4.md) + +[storage.fileWebp](../constructors/storage.fileWebp.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v66/types/storage_FileType.md b/old_docs/API_docs_v66/types/storage_FileType.md deleted file mode 100644 index 22118805..00000000 --- a/old_docs/API_docs_v66/types/storage_FileType.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: storage_FileType -description: constructors and methods of type storage_FileType -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: storage\_FileType -[Back to types index](index.md) - - - -### Possible values (constructors): - -[storage\_fileUnknown](../constructors/storage_fileUnknown.md) - -[storage\_filePartial](../constructors/storage_filePartial.md) - -[storage\_fileJpeg](../constructors/storage_fileJpeg.md) - -[storage\_fileGif](../constructors/storage_fileGif.md) - -[storage\_filePng](../constructors/storage_filePng.md) - -[storage\_filePdf](../constructors/storage_filePdf.md) - -[storage\_fileMp3](../constructors/storage_fileMp3.md) - -[storage\_fileMov](../constructors/storage_fileMov.md) - -[storage\_fileMp4](../constructors/storage_fileMp4.md) - -[storage\_fileWebp](../constructors/storage_fileWebp.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v66/types/updates.ChannelDifference.md b/old_docs/API_docs_v66/types/updates.ChannelDifference.md new file mode 100644 index 00000000..ac889a1e --- /dev/null +++ b/old_docs/API_docs_v66/types/updates.ChannelDifference.md @@ -0,0 +1,26 @@ +--- +title: updates.ChannelDifference +description: constructors and methods of type updates.ChannelDifference +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: updates.ChannelDifference +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updates.channelDifferenceEmpty](../constructors/updates.channelDifferenceEmpty.md) + +[updates.channelDifferenceTooLong](../constructors/updates.channelDifferenceTooLong.md) + +[updates.channelDifference](../constructors/updates.channelDifference.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->updates->getChannelDifference](../methods/updates.getChannelDifference.md) + + + diff --git a/old_docs/API_docs_v66/types/updates.Difference.md b/old_docs/API_docs_v66/types/updates.Difference.md new file mode 100644 index 00000000..0c1a1b6e --- /dev/null +++ b/old_docs/API_docs_v66/types/updates.Difference.md @@ -0,0 +1,28 @@ +--- +title: updates.Difference +description: constructors and methods of type updates.Difference +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: updates.Difference +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updates.differenceEmpty](../constructors/updates.differenceEmpty.md) + +[updates.difference](../constructors/updates.difference.md) + +[updates.differenceSlice](../constructors/updates.differenceSlice.md) + +[updates.differenceTooLong](../constructors/updates.differenceTooLong.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->updates->getDifference](../methods/updates.getDifference.md) + + + diff --git a/old_docs/API_docs_v66/types/updates.State.md b/old_docs/API_docs_v66/types/updates.State.md new file mode 100644 index 00000000..49bbb7fd --- /dev/null +++ b/old_docs/API_docs_v66/types/updates.State.md @@ -0,0 +1,22 @@ +--- +title: updates.State +description: constructors and methods of type updates.State +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: updates.State +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updates.state](../constructors/updates.state.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->updates->getState](../methods/updates.getState.md) + + + diff --git a/old_docs/API_docs_v66/types/updates_ChannelDifference.md b/old_docs/API_docs_v66/types/updates_ChannelDifference.md deleted file mode 100644 index dc988692..00000000 --- a/old_docs/API_docs_v66/types/updates_ChannelDifference.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: updates_ChannelDifference -description: constructors and methods of type updates_ChannelDifference -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: updates\_ChannelDifference -[Back to types index](index.md) - - - -### Possible values (constructors): - -[updates\_channelDifferenceEmpty](../constructors/updates_channelDifferenceEmpty.md) - -[updates\_channelDifferenceTooLong](../constructors/updates_channelDifferenceTooLong.md) - -[updates\_channelDifference](../constructors/updates_channelDifference.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->updates->getChannelDifference](../methods/updates_getChannelDifference.md) - - - diff --git a/old_docs/API_docs_v66/types/updates_Difference.md b/old_docs/API_docs_v66/types/updates_Difference.md deleted file mode 100644 index 50bb098e..00000000 --- a/old_docs/API_docs_v66/types/updates_Difference.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: updates_Difference -description: constructors and methods of type updates_Difference -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: updates\_Difference -[Back to types index](index.md) - - - -### Possible values (constructors): - -[updates\_differenceEmpty](../constructors/updates_differenceEmpty.md) - -[updates\_difference](../constructors/updates_difference.md) - -[updates\_differenceSlice](../constructors/updates_differenceSlice.md) - -[updates\_differenceTooLong](../constructors/updates_differenceTooLong.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->updates->getDifference](../methods/updates_getDifference.md) - - - diff --git a/old_docs/API_docs_v66/types/updates_State.md b/old_docs/API_docs_v66/types/updates_State.md deleted file mode 100644 index 7a441145..00000000 --- a/old_docs/API_docs_v66/types/updates_State.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: updates_State -description: constructors and methods of type updates_State -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: updates\_State -[Back to types index](index.md) - - - -### Possible values (constructors): - -[updates\_state](../constructors/updates_state.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->updates->getState](../methods/updates_getState.md) - - - diff --git a/old_docs/API_docs_v66/types/upload.CdnFile.md b/old_docs/API_docs_v66/types/upload.CdnFile.md new file mode 100644 index 00000000..396c4bf4 --- /dev/null +++ b/old_docs/API_docs_v66/types/upload.CdnFile.md @@ -0,0 +1,24 @@ +--- +title: upload.CdnFile +description: constructors and methods of type upload.CdnFile +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: upload.CdnFile +[Back to types index](index.md) + + + +### Possible values (constructors): + +[upload.cdnFileReuploadNeeded](../constructors/upload.cdnFileReuploadNeeded.md) + +[upload.cdnFile](../constructors/upload.cdnFile.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->upload->getCdnFile](../methods/upload.getCdnFile.md) + + + diff --git a/old_docs/API_docs_v66/types/upload.File.md b/old_docs/API_docs_v66/types/upload.File.md new file mode 100644 index 00000000..6963341b --- /dev/null +++ b/old_docs/API_docs_v66/types/upload.File.md @@ -0,0 +1,24 @@ +--- +title: upload.File +description: constructors and methods of type upload.File +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: upload.File +[Back to types index](index.md) + + + +### Possible values (constructors): + +[upload.file](../constructors/upload.file.md) + +[upload.fileCdnRedirect](../constructors/upload.fileCdnRedirect.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->upload->getFile](../methods/upload.getFile.md) + + + diff --git a/old_docs/API_docs_v66/types/upload.WebFile.md b/old_docs/API_docs_v66/types/upload.WebFile.md new file mode 100644 index 00000000..e834457b --- /dev/null +++ b/old_docs/API_docs_v66/types/upload.WebFile.md @@ -0,0 +1,22 @@ +--- +title: upload.WebFile +description: constructors and methods of type upload.WebFile +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: upload.WebFile +[Back to types index](index.md) + + + +### Possible values (constructors): + +[upload.webFile](../constructors/upload.webFile.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->upload->getWebFile](../methods/upload.getWebFile.md) + + + diff --git a/old_docs/API_docs_v66/types/upload_CdnFile.md b/old_docs/API_docs_v66/types/upload_CdnFile.md deleted file mode 100644 index 51ae2e68..00000000 --- a/old_docs/API_docs_v66/types/upload_CdnFile.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: upload_CdnFile -description: constructors and methods of type upload_CdnFile -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: upload\_CdnFile -[Back to types index](index.md) - - - -### Possible values (constructors): - -[upload\_cdnFileReuploadNeeded](../constructors/upload_cdnFileReuploadNeeded.md) - -[upload\_cdnFile](../constructors/upload_cdnFile.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->upload->getCdnFile](../methods/upload_getCdnFile.md) - - - diff --git a/old_docs/API_docs_v66/types/upload_File.md b/old_docs/API_docs_v66/types/upload_File.md deleted file mode 100644 index 00e0f9cb..00000000 --- a/old_docs/API_docs_v66/types/upload_File.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: upload_File -description: constructors and methods of type upload_File -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: upload\_File -[Back to types index](index.md) - - - -### Possible values (constructors): - -[upload\_file](../constructors/upload_file.md) - -[upload\_fileCdnRedirect](../constructors/upload_fileCdnRedirect.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->upload->getFile](../methods/upload_getFile.md) - - - diff --git a/old_docs/API_docs_v66/types/upload_WebFile.md b/old_docs/API_docs_v66/types/upload_WebFile.md deleted file mode 100644 index 9a86264f..00000000 --- a/old_docs/API_docs_v66/types/upload_WebFile.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: upload_WebFile -description: constructors and methods of type upload_WebFile -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: upload\_WebFile -[Back to types index](index.md) - - - -### Possible values (constructors): - -[upload\_webFile](../constructors/upload_webFile.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->upload->getWebFile](../methods/upload_getWebFile.md) - - - diff --git a/old_docs/API_docs_v68/constructors/README.md b/old_docs/API_docs_v68/constructors/README.md index babbdffc..e279effc 100644 --- a/old_docs/API_docs_v68/constructors/README.md +++ b/old_docs/API_docs_v68/constructors/README.md @@ -6,48 +6,65 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png # Constructors [Back to API documentation index](..) +*** +

[$account.authorizations](../constructors/account.authorizations.md) = \['authorizations' => \[[Authorization](../types/Authorization.md)\], \]; + +*** +

[$account.noPassword](../constructors/account.noPassword.md) = \['new_salt' => [bytes](../types/bytes.md), 'email_unconfirmed_pattern' => [string](../types/string.md), \]; + +*** +

[$account.password](../constructors/account.password.md) = \['current_salt' => [bytes](../types/bytes.md), 'new_salt' => [bytes](../types/bytes.md), 'hint' => [string](../types/string.md), 'has_recovery' => [Bool](../types/Bool.md), 'email_unconfirmed_pattern' => [string](../types/string.md), \]; + +*** +

[$account.passwordInputSettings](../constructors/account.passwordInputSettings.md) = \['new_salt' => [bytes](../types/bytes.md), 'new_password_hash' => [bytes](../types/bytes.md), 'hint' => [string](../types/string.md), 'email' => [string](../types/string.md), \]; + +*** +

[$account.passwordSettings](../constructors/account.passwordSettings.md) = \['email' => [string](../types/string.md), \]; + +*** +

[$account.privacyRules](../constructors/account.privacyRules.md) = \['rules' => \[[PrivacyRule](../types/PrivacyRule.md)\], 'users' => \[[User](../types/User.md)\], \]; + +*** +

[$account.tmpPassword](../constructors/account.tmpPassword.md) = \['tmp_password' => [bytes](../types/bytes.md), 'valid_until' => [int](../types/int.md), \]; + ***

[$accountDaysTTL](../constructors/accountDaysTTL.md) = \['days' => [int](../types/int.md), \]; *** -

[$account\_authorizations](../constructors/account_authorizations.md) = \['authorizations' => \[[Authorization](../types/Authorization.md)\], \]; - -[$account\_noPassword](../constructors/account_noPassword.md) = \['new_salt' => [bytes](../types/bytes.md), 'email_unconfirmed_pattern' => [string](../types/string.md), \]; - -[$account\_password](../constructors/account_password.md) = \['current_salt' => [bytes](../types/bytes.md), 'new_salt' => [bytes](../types/bytes.md), 'hint' => [string](../types/string.md), 'has_recovery' => [Bool](../types/Bool.md), 'email_unconfirmed_pattern' => [string](../types/string.md), \]; - -[$account\_passwordInputSettings](../constructors/account_passwordInputSettings.md) = \['new_salt' => [bytes](../types/bytes.md), 'new_password_hash' => [bytes](../types/bytes.md), 'hint' => [string](../types/string.md), 'email' => [string](../types/string.md), \]; - -[$account\_passwordSettings](../constructors/account_passwordSettings.md) = \['email' => [string](../types/string.md), \]; - -[$account\_privacyRules](../constructors/account_privacyRules.md) = \['rules' => \[[PrivacyRule](../types/PrivacyRule.md)\], 'users' => \[[User](../types/User.md)\], \]; - -[$account\_tmpPassword](../constructors/account_tmpPassword.md) = \['tmp_password' => [bytes](../types/bytes.md), 'valid_until' => [int](../types/int.md), \]; +

[$auth.authorization](../constructors/auth.authorization.md) = \['tmp_sessions' => [int](../types/int.md), 'user' => [User](../types/User.md), \]; *** -

[$auth\_authorization](../constructors/auth_authorization.md) = \['tmp_sessions' => [int](../types/int.md), 'user' => [User](../types/User.md), \]; +

[$auth.checkedPhone](../constructors/auth.checkedPhone.md) = \['phone_registered' => [Bool](../types/Bool.md), \]; -[$auth\_checkedPhone](../constructors/auth_checkedPhone.md) = \['phone_registered' => [Bool](../types/Bool.md), \]; +*** +

[$auth.codeTypeCall](../constructors/auth.codeTypeCall.md) = \[\]; -[$auth\_codeTypeCall](../constructors/auth_codeTypeCall.md) = \[\]; +*** +

[$auth.codeTypeFlashCall](../constructors/auth.codeTypeFlashCall.md) = \[\]; -[$auth\_codeTypeFlashCall](../constructors/auth_codeTypeFlashCall.md) = \[\]; +*** +

[$auth.codeTypeSms](../constructors/auth.codeTypeSms.md) = \[\]; -[$auth\_codeTypeSms](../constructors/auth_codeTypeSms.md) = \[\]; +*** +

[$auth.exportedAuthorization](../constructors/auth.exportedAuthorization.md) = \['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; -[$auth\_exportedAuthorization](../constructors/auth_exportedAuthorization.md) = \['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; +*** +

[$auth.passwordRecovery](../constructors/auth.passwordRecovery.md) = \['email_pattern' => [string](../types/string.md), \]; -[$auth\_passwordRecovery](../constructors/auth_passwordRecovery.md) = \['email_pattern' => [string](../types/string.md), \]; +*** +

[$auth.sentCode](../constructors/auth.sentCode.md) = \['phone_registered' => [Bool](../types/Bool.md), 'type' => [auth.SentCodeType](../types/auth.SentCodeType.md), 'phone_code_hash' => [string](../types/string.md), 'next_type' => [auth.CodeType](../types/auth.CodeType.md), 'timeout' => [int](../types/int.md), \]; -[$auth\_sentCode](../constructors/auth_sentCode.md) = \['phone_registered' => [Bool](../types/Bool.md), 'type' => [auth.SentCodeType](../types/auth.SentCodeType.md), 'phone_code_hash' => [string](../types/string.md), 'next_type' => [auth.CodeType](../types/auth.CodeType.md), 'timeout' => [int](../types/int.md), \]; +*** +

[$auth.sentCodeTypeApp](../constructors/auth.sentCodeTypeApp.md) = \['length' => [int](../types/int.md), \]; -[$auth\_sentCodeTypeApp](../constructors/auth_sentCodeTypeApp.md) = \['length' => [int](../types/int.md), \]; +*** +

[$auth.sentCodeTypeCall](../constructors/auth.sentCodeTypeCall.md) = \['length' => [int](../types/int.md), \]; -[$auth\_sentCodeTypeCall](../constructors/auth_sentCodeTypeCall.md) = \['length' => [int](../types/int.md), \]; +*** +

[$auth.sentCodeTypeFlashCall](../constructors/auth.sentCodeTypeFlashCall.md) = \['pattern' => [string](../types/string.md), \]; -[$auth\_sentCodeTypeFlashCall](../constructors/auth_sentCodeTypeFlashCall.md) = \['pattern' => [string](../types/string.md), \]; - -[$auth\_sentCodeTypeSms](../constructors/auth_sentCodeTypeSms.md) = \['length' => [int](../types/int.md), \]; +*** +

[$auth.sentCodeTypeSms](../constructors/auth.sentCodeTypeSms.md) = \['length' => [int](../types/int.md), \]; ***

[$authorization](../constructors/authorization.md) = \['hash' => [long](../types/long.md), 'device_model' => [string](../types/string.md), 'platform' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'api_id' => [int](../types/int.md), 'app_name' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'date_created' => [int](../types/int.md), 'date_active' => [int](../types/int.md), 'ip' => [string](../types/string.md), 'country' => [string](../types/string.md), 'region' => [string](../types/string.md), \]; @@ -199,11 +216,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$channelParticipantsSearch](../constructors/channelParticipantsSearch.md) = \['q' => [string](../types/string.md), \]; *** -

[$channels\_adminLogResults](../constructors/channels_adminLogResults.md) = \['events' => \[[ChannelAdminLogEvent](../types/ChannelAdminLogEvent.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +

[$channels.adminLogResults](../constructors/channels.adminLogResults.md) = \['events' => \[[ChannelAdminLogEvent](../types/ChannelAdminLogEvent.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$channels\_channelParticipant](../constructors/channels_channelParticipant.md) = \['participant' => [ChannelParticipant](../types/ChannelParticipant.md), 'users' => \[[User](../types/User.md)\], \]; +*** +

[$channels.channelParticipant](../constructors/channels.channelParticipant.md) = \['participant' => [ChannelParticipant](../types/ChannelParticipant.md), 'users' => \[[User](../types/User.md)\], \]; -[$channels\_channelParticipants](../constructors/channels_channelParticipants.md) = \['count' => [int](../types/int.md), 'participants' => \[[ChannelParticipant](../types/ChannelParticipant.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$channels.channelParticipants](../constructors/channels.channelParticipants.md) = \['count' => [int](../types/int.md), 'participants' => \[[ChannelParticipant](../types/ChannelParticipant.md)\], 'users' => \[[User](../types/User.md)\], \]; ***

[$chat](../constructors/chat.md) = \['creator' => [Bool](../types/Bool.md), 'kicked' => [Bool](../types/Bool.md), 'left' => [Bool](../types/Bool.md), 'admins_enabled' => [Bool](../types/Bool.md), 'admin' => [Bool](../types/Bool.md), 'deactivated' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'title' => [string](../types/string.md), 'photo' => [ChatPhoto](../types/ChatPhoto.md), 'participants_count' => [int](../types/int.md), 'date' => [int](../types/int.md), 'version' => [int](../types/int.md), 'migrated_to' => [InputChannel](../types/InputChannel.md), \]; @@ -278,25 +297,34 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$contactStatus](../constructors/contactStatus.md) = \['user_id' => [int](../types/int.md), 'status' => [UserStatus](../types/UserStatus.md), \]; *** -

[$contacts\_blocked](../constructors/contacts_blocked.md) = \['blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; +

[$contacts.blocked](../constructors/contacts.blocked.md) = \['blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_blockedSlice](../constructors/contacts_blockedSlice.md) = \['count' => [int](../types/int.md), 'blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.blockedSlice](../constructors/contacts.blockedSlice.md) = \['count' => [int](../types/int.md), 'blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_contacts](../constructors/contacts_contacts.md) = \['contacts' => \[[Contact](../types/Contact.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.contacts](../constructors/contacts.contacts.md) = \['contacts' => \[[Contact](../types/Contact.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_contactsNotModified](../constructors/contacts_contactsNotModified.md) = \[\]; +*** +

[$contacts.contactsNotModified](../constructors/contacts.contactsNotModified.md) = \[\]; -[$contacts\_found](../constructors/contacts_found.md) = \['results' => \[[Peer](../types/Peer.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.found](../constructors/contacts.found.md) = \['results' => \[[Peer](../types/Peer.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_importedContacts](../constructors/contacts_importedContacts.md) = \['imported' => \[[ImportedContact](../types/ImportedContact.md)\], 'retry_contacts' => \[[long](../types/long.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.importedContacts](../constructors/contacts.importedContacts.md) = \['imported' => \[[ImportedContact](../types/ImportedContact.md)\], 'retry_contacts' => \[[long](../types/long.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_link](../constructors/contacts_link.md) = \['my_link' => [ContactLink](../types/ContactLink.md), 'foreign_link' => [ContactLink](../types/ContactLink.md), 'user' => [User](../types/User.md), \]; +*** +

[$contacts.link](../constructors/contacts.link.md) = \['my_link' => [ContactLink](../types/ContactLink.md), 'foreign_link' => [ContactLink](../types/ContactLink.md), 'user' => [User](../types/User.md), \]; -[$contacts\_resolvedPeer](../constructors/contacts_resolvedPeer.md) = \['peer' => [Peer](../types/Peer.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.resolvedPeer](../constructors/contacts.resolvedPeer.md) = \['peer' => [Peer](../types/Peer.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_topPeers](../constructors/contacts_topPeers.md) = \['categories' => \[[TopPeerCategoryPeers](../types/TopPeerCategoryPeers.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.topPeers](../constructors/contacts.topPeers.md) = \['categories' => \[[TopPeerCategoryPeers](../types/TopPeerCategoryPeers.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_topPeersNotModified](../constructors/contacts_topPeersNotModified.md) = \[\]; +*** +

[$contacts.topPeersNotModified](../constructors/contacts.topPeersNotModified.md) = \[\]; ***

[$dataJSON](../constructors/dataJSON.md) = \['data' => [string](../types/string.md), \]; @@ -421,17 +449,22 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$geoPointEmpty](../constructors/geoPointEmpty.md) = \[\]; *** -

[$help\_appUpdate](../constructors/help_appUpdate.md) = \['id' => [int](../types/int.md), 'critical' => [Bool](../types/Bool.md), 'url' => [string](../types/string.md), 'text' => [string](../types/string.md), \]; +

[$help.appUpdate](../constructors/help.appUpdate.md) = \['id' => [int](../types/int.md), 'critical' => [Bool](../types/Bool.md), 'url' => [string](../types/string.md), 'text' => [string](../types/string.md), \]; -[$help\_configSimple](../constructors/help_configSimple.md) = \['date' => [int](../types/int.md), 'expires' => [int](../types/int.md), 'dc_id' => [int](../types/int.md), 'ip_port_list' => \[[ipPort](../constructors/ipPort.md)\], \]; +*** +

[$help.configSimple](../constructors/help.configSimple.md) = \['date' => [int](../types/int.md), 'expires' => [int](../types/int.md), 'dc_id' => [int](../types/int.md), 'ip_port_list' => \[[ipPort](../constructors/ipPort.md)\], \]; -[$help\_inviteText](../constructors/help_inviteText.md) = \['message' => [string](../types/string.md), \]; +*** +

[$help.inviteText](../constructors/help.inviteText.md) = \['message' => [string](../types/string.md), \]; -[$help\_noAppUpdate](../constructors/help_noAppUpdate.md) = \[\]; +*** +

[$help.noAppUpdate](../constructors/help.noAppUpdate.md) = \[\]; -[$help\_support](../constructors/help_support.md) = \['phone_number' => [string](../types/string.md), 'user' => [User](../types/User.md), \]; +*** +

[$help.support](../constructors/help.support.md) = \['phone_number' => [string](../types/string.md), 'user' => [User](../types/User.md), \]; -[$help\_termsOfService](../constructors/help_termsOfService.md) = \['text' => [string](../types/string.md), \]; +*** +

[$help.termsOfService](../constructors/help.termsOfService.md) = \['text' => [string](../types/string.md), \]; ***

[$highScore](../constructors/highScore.md) = \['pos' => [int](../types/int.md), 'user_id' => [int](../types/int.md), 'score' => [int](../types/int.md), \]; @@ -944,73 +977,106 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$messageService](../constructors/messageService.md) = \['out' => [Bool](../types/Bool.md), 'mentioned' => [Bool](../types/Bool.md), 'media_unread' => [Bool](../types/Bool.md), 'silent' => [Bool](../types/Bool.md), 'post' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'from_id' => [int](../types/int.md), 'to_id' => [Peer](../types/Peer.md), 'reply_to_msg_id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'action' => [MessageAction](../types/MessageAction.md), \]; *** -

[$messages\_affectedHistory](../constructors/messages_affectedHistory.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), 'offset' => [int](../types/int.md), \]; +

[$messages.affectedHistory](../constructors/messages.affectedHistory.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), 'offset' => [int](../types/int.md), \]; -[$messages\_affectedMessages](../constructors/messages_affectedMessages.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; +*** +

[$messages.affectedMessages](../constructors/messages.affectedMessages.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; -[$messages\_allStickers](../constructors/messages_allStickers.md) = \['hash' => [int](../types/int.md), 'sets' => \[[StickerSet](../types/StickerSet.md)\], \]; +*** +

[$messages.allStickers](../constructors/messages.allStickers.md) = \['hash' => [int](../types/int.md), 'sets' => \[[StickerSet](../types/StickerSet.md)\], \]; -[$messages\_allStickersNotModified](../constructors/messages_allStickersNotModified.md) = \[\]; +*** +

[$messages.allStickersNotModified](../constructors/messages.allStickersNotModified.md) = \[\]; -[$messages\_archivedStickers](../constructors/messages_archivedStickers.md) = \['count' => [int](../types/int.md), 'sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], \]; +*** +

[$messages.archivedStickers](../constructors/messages.archivedStickers.md) = \['count' => [int](../types/int.md), 'sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], \]; -[$messages\_botCallbackAnswer](../constructors/messages_botCallbackAnswer.md) = \['alert' => [Bool](../types/Bool.md), 'has_url' => [Bool](../types/Bool.md), 'message' => [string](../types/string.md), 'url' => [string](../types/string.md), 'cache_time' => [int](../types/int.md), \]; +*** +

[$messages.botCallbackAnswer](../constructors/messages.botCallbackAnswer.md) = \['alert' => [Bool](../types/Bool.md), 'has_url' => [Bool](../types/Bool.md), 'message' => [string](../types/string.md), 'url' => [string](../types/string.md), 'cache_time' => [int](../types/int.md), \]; -[$messages\_botResults](../constructors/messages_botResults.md) = \['gallery' => [Bool](../types/Bool.md), 'query_id' => [long](../types/long.md), 'next_offset' => [string](../types/string.md), 'switch_pm' => [InlineBotSwitchPM](../types/InlineBotSwitchPM.md), 'results' => \[[BotInlineResult](../types/BotInlineResult.md)\], 'cache_time' => [int](../types/int.md), \]; +*** +

[$messages.botResults](../constructors/messages.botResults.md) = \['gallery' => [Bool](../types/Bool.md), 'query_id' => [long](../types/long.md), 'next_offset' => [string](../types/string.md), 'switch_pm' => [InlineBotSwitchPM](../types/InlineBotSwitchPM.md), 'results' => \[[BotInlineResult](../types/BotInlineResult.md)\], 'cache_time' => [int](../types/int.md), \]; -[$messages\_channelMessages](../constructors/messages_channelMessages.md) = \['pts' => [int](../types/int.md), 'count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.channelMessages](../constructors/messages.channelMessages.md) = \['pts' => [int](../types/int.md), 'count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_chatFull](../constructors/messages_chatFull.md) = \['full_chat' => [ChatFull](../types/ChatFull.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.chatFull](../constructors/messages.chatFull.md) = \['full_chat' => [ChatFull](../types/ChatFull.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_chats](../constructors/messages_chats.md) = \['chats' => \[[Chat](../types/Chat.md)\], \]; +*** +

[$messages.chats](../constructors/messages.chats.md) = \['chats' => \[[Chat](../types/Chat.md)\], \]; -[$messages\_chatsSlice](../constructors/messages_chatsSlice.md) = \['count' => [int](../types/int.md), 'chats' => \[[Chat](../types/Chat.md)\], \]; +*** +

[$messages.chatsSlice](../constructors/messages.chatsSlice.md) = \['count' => [int](../types/int.md), 'chats' => \[[Chat](../types/Chat.md)\], \]; -[$messages\_dhConfig](../constructors/messages_dhConfig.md) = \['g' => [int](../types/int.md), 'p' => [bytes](../types/bytes.md), 'version' => [int](../types/int.md), 'random' => [bytes](../types/bytes.md), \]; +*** +

[$messages.dhConfig](../constructors/messages.dhConfig.md) = \['g' => [int](../types/int.md), 'p' => [bytes](../types/bytes.md), 'version' => [int](../types/int.md), 'random' => [bytes](../types/bytes.md), \]; -[$messages\_dhConfigNotModified](../constructors/messages_dhConfigNotModified.md) = \['random' => [bytes](../types/bytes.md), \]; +*** +

[$messages.dhConfigNotModified](../constructors/messages.dhConfigNotModified.md) = \['random' => [bytes](../types/bytes.md), \]; -[$messages\_dialogs](../constructors/messages_dialogs.md) = \['dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.dialogs](../constructors/messages.dialogs.md) = \['dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_dialogsSlice](../constructors/messages_dialogsSlice.md) = \['count' => [int](../types/int.md), 'dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.dialogsSlice](../constructors/messages.dialogsSlice.md) = \['count' => [int](../types/int.md), 'dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_featuredStickers](../constructors/messages_featuredStickers.md) = \['hash' => [int](../types/int.md), 'sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], 'unread' => \[[long](../types/long.md)\], \]; +*** +

[$messages.featuredStickers](../constructors/messages.featuredStickers.md) = \['hash' => [int](../types/int.md), 'sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], 'unread' => \[[long](../types/long.md)\], \]; -[$messages\_featuredStickersNotModified](../constructors/messages_featuredStickersNotModified.md) = \[\]; +*** +

[$messages.featuredStickersNotModified](../constructors/messages.featuredStickersNotModified.md) = \[\]; -[$messages\_foundGifs](../constructors/messages_foundGifs.md) = \['next_offset' => [int](../types/int.md), 'results' => \[[FoundGif](../types/FoundGif.md)\], \]; +*** +

[$messages.foundGifs](../constructors/messages.foundGifs.md) = \['next_offset' => [int](../types/int.md), 'results' => \[[FoundGif](../types/FoundGif.md)\], \]; -[$messages\_highScores](../constructors/messages_highScores.md) = \['scores' => \[[HighScore](../types/HighScore.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.highScores](../constructors/messages.highScores.md) = \['scores' => \[[HighScore](../types/HighScore.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_messageEditData](../constructors/messages_messageEditData.md) = \['caption' => [Bool](../types/Bool.md), \]; +*** +

[$messages.messageEditData](../constructors/messages.messageEditData.md) = \['caption' => [Bool](../types/Bool.md), \]; -[$messages\_messages](../constructors/messages_messages.md) = \['messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.messages](../constructors/messages.messages.md) = \['messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_messagesSlice](../constructors/messages_messagesSlice.md) = \['count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.messagesSlice](../constructors/messages.messagesSlice.md) = \['count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_peerDialogs](../constructors/messages_peerDialogs.md) = \['dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'state' => [updates.State](../types/updates.State.md), \]; +*** +

[$messages.peerDialogs](../constructors/messages.peerDialogs.md) = \['dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'state' => [updates.State](../types/updates.State.md), \]; -[$messages\_recentStickers](../constructors/messages_recentStickers.md) = \['hash' => [int](../types/int.md), 'stickers' => \[[Document](../types/Document.md)\], \]; +*** +

[$messages.recentStickers](../constructors/messages.recentStickers.md) = \['hash' => [int](../types/int.md), 'stickers' => \[[Document](../types/Document.md)\], \]; -[$messages\_recentStickersNotModified](../constructors/messages_recentStickersNotModified.md) = \[\]; +*** +

[$messages.recentStickersNotModified](../constructors/messages.recentStickersNotModified.md) = \[\]; -[$messages\_savedGifs](../constructors/messages_savedGifs.md) = \['hash' => [int](../types/int.md), 'gifs' => \[[Document](../types/Document.md)\], \]; +*** +

[$messages.savedGifs](../constructors/messages.savedGifs.md) = \['hash' => [int](../types/int.md), 'gifs' => \[[Document](../types/Document.md)\], \]; -[$messages\_savedGifsNotModified](../constructors/messages_savedGifsNotModified.md) = \[\]; +*** +

[$messages.savedGifsNotModified](../constructors/messages.savedGifsNotModified.md) = \[\]; -[$messages\_sentEncryptedFile](../constructors/messages_sentEncryptedFile.md) = \['date' => [int](../types/int.md), 'file' => [EncryptedFile](../types/EncryptedFile.md), \]; +*** +

[$messages.sentEncryptedFile](../constructors/messages.sentEncryptedFile.md) = \['date' => [int](../types/int.md), 'file' => [EncryptedFile](../types/EncryptedFile.md), \]; -[$messages\_sentEncryptedMessage](../constructors/messages_sentEncryptedMessage.md) = \['date' => [int](../types/int.md), \]; +*** +

[$messages.sentEncryptedMessage](../constructors/messages.sentEncryptedMessage.md) = \['date' => [int](../types/int.md), \]; -[$messages\_stickerSet](../constructors/messages_stickerSet.md) = \['set' => [StickerSet](../types/StickerSet.md), 'packs' => \[[StickerPack](../types/StickerPack.md)\], 'documents' => \[[Document](../types/Document.md)\], \]; +*** +

[$messages.stickerSet](../constructors/messages.stickerSet.md) = \['set' => [StickerSet](../types/StickerSet.md), 'packs' => \[[StickerPack](../types/StickerPack.md)\], 'documents' => \[[Document](../types/Document.md)\], \]; -[$messages\_stickerSetInstallResultArchive](../constructors/messages_stickerSetInstallResultArchive.md) = \['sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], \]; +*** +

[$messages.stickerSetInstallResultArchive](../constructors/messages.stickerSetInstallResultArchive.md) = \['sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], \]; -[$messages\_stickerSetInstallResultSuccess](../constructors/messages_stickerSetInstallResultSuccess.md) = \[\]; +*** +

[$messages.stickerSetInstallResultSuccess](../constructors/messages.stickerSetInstallResultSuccess.md) = \[\]; -[$messages\_stickers](../constructors/messages_stickers.md) = \['hash' => [string](../types/string.md), 'stickers' => \[[Document](../types/Document.md)\], \]; +*** +

[$messages.stickers](../constructors/messages.stickers.md) = \['hash' => [string](../types/string.md), 'stickers' => \[[Document](../types/Document.md)\], \]; -[$messages\_stickersNotModified](../constructors/messages_stickersNotModified.md) = \[\]; +*** +

[$messages.stickersNotModified](../constructors/messages.stickersNotModified.md) = \[\]; ***

[$msg\_detailed\_info](../constructors/msg_detailed_info.md) = \['msg_id' => [long](../types/long.md), 'answer_msg_id' => [long](../types/long.md), 'bytes' => [int](../types/int.md), 'status' => [int](../types/int.md), \]; @@ -1137,17 +1203,22 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$paymentSavedCredentialsCard](../constructors/paymentSavedCredentialsCard.md) = \['id' => [string](../types/string.md), 'title' => [string](../types/string.md), \]; *** -

[$payments\_paymentForm](../constructors/payments_paymentForm.md) = \['can_save_credentials' => [Bool](../types/Bool.md), 'password_missing' => [Bool](../types/Bool.md), 'bot_id' => [int](../types/int.md), 'invoice' => [Invoice](../types/Invoice.md), 'provider_id' => [int](../types/int.md), 'url' => [string](../types/string.md), 'native_provider' => [string](../types/string.md), 'native_params' => [DataJSON](../types/DataJSON.md), 'saved_info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), 'saved_credentials' => [PaymentSavedCredentials](../types/PaymentSavedCredentials.md), 'users' => \[[User](../types/User.md)\], \]; +

[$payments.paymentForm](../constructors/payments.paymentForm.md) = \['can_save_credentials' => [Bool](../types/Bool.md), 'password_missing' => [Bool](../types/Bool.md), 'bot_id' => [int](../types/int.md), 'invoice' => [Invoice](../types/Invoice.md), 'provider_id' => [int](../types/int.md), 'url' => [string](../types/string.md), 'native_provider' => [string](../types/string.md), 'native_params' => [DataJSON](../types/DataJSON.md), 'saved_info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), 'saved_credentials' => [PaymentSavedCredentials](../types/PaymentSavedCredentials.md), 'users' => \[[User](../types/User.md)\], \]; -[$payments\_paymentReceipt](../constructors/payments_paymentReceipt.md) = \['date' => [int](../types/int.md), 'bot_id' => [int](../types/int.md), 'invoice' => [Invoice](../types/Invoice.md), 'provider_id' => [int](../types/int.md), 'info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), 'shipping' => [ShippingOption](../types/ShippingOption.md), 'currency' => [string](../types/string.md), 'total_amount' => [long](../types/long.md), 'credentials_title' => [string](../types/string.md), 'users' => \[[User](../types/User.md)\], \]; +*** +

[$payments.paymentReceipt](../constructors/payments.paymentReceipt.md) = \['date' => [int](../types/int.md), 'bot_id' => [int](../types/int.md), 'invoice' => [Invoice](../types/Invoice.md), 'provider_id' => [int](../types/int.md), 'info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), 'shipping' => [ShippingOption](../types/ShippingOption.md), 'currency' => [string](../types/string.md), 'total_amount' => [long](../types/long.md), 'credentials_title' => [string](../types/string.md), 'users' => \[[User](../types/User.md)\], \]; -[$payments\_paymentResult](../constructors/payments_paymentResult.md) = \['updates' => [Updates](../types/Updates.md), \]; +*** +

[$payments.paymentResult](../constructors/payments.paymentResult.md) = \['updates' => [Updates](../types/Updates.md), \]; -[$payments\_paymentVerficationNeeded](../constructors/payments_paymentVerficationNeeded.md) = \['url' => [string](../types/string.md), \]; +*** +

[$payments.paymentVerficationNeeded](../constructors/payments.paymentVerficationNeeded.md) = \['url' => [string](../types/string.md), \]; -[$payments\_savedInfo](../constructors/payments_savedInfo.md) = \['has_saved_credentials' => [Bool](../types/Bool.md), 'saved_info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), \]; +*** +

[$payments.savedInfo](../constructors/payments.savedInfo.md) = \['has_saved_credentials' => [Bool](../types/Bool.md), 'saved_info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), \]; -[$payments\_validatedRequestedInfo](../constructors/payments_validatedRequestedInfo.md) = \['id' => [string](../types/string.md), 'shipping_options' => \[[ShippingOption](../types/ShippingOption.md)\], \]; +*** +

[$payments.validatedRequestedInfo](../constructors/payments.validatedRequestedInfo.md) = \['id' => [string](../types/string.md), 'shipping_options' => \[[ShippingOption](../types/ShippingOption.md)\], \]; ***

[$peerChannel](../constructors/peerChannel.md) = \['channel_id' => [int](../types/int.md), \]; @@ -1173,6 +1244,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ***

[$peerUser](../constructors/peerUser.md) = \['user_id' => [int](../types/int.md), \]; +*** +

[$phone.phoneCall](../constructors/phone.phoneCall.md) = \['phone_call' => [PhoneCall](../types/PhoneCall.md), 'users' => \[[User](../types/User.md)\], \]; + ***

[$phoneCall](../constructors/phoneCall.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'date' => [int](../types/int.md), 'admin_id' => [int](../types/int.md), 'participant_id' => [int](../types/int.md), 'g_a_or_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), 'connection' => [PhoneConnection](../types/PhoneConnection.md), 'alternative_connections' => \[[PhoneConnection](../types/PhoneConnection.md)\], 'start_date' => [int](../types/int.md), \]; @@ -1209,9 +1283,6 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ***

[$phoneConnection](../constructors/phoneConnection.md) = \['id' => [long](../types/long.md), 'ip' => [string](../types/string.md), 'ipv6' => [string](../types/string.md), 'port' => [int](../types/int.md), 'peer_tag' => [bytes](../types/bytes.md), \]; -*** -

[$phone\_phoneCall](../constructors/phone_phoneCall.md) = \['phone_call' => [PhoneCall](../types/PhoneCall.md), 'users' => \[[User](../types/User.md)\], \]; - ***

[$photo](../constructors/photo.md) = \['has_stickers' => [Bool](../types/Bool.md), 'id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'date' => [int](../types/int.md), 'sizes' => \[[PhotoSize](../types/PhotoSize.md)\], \]; @@ -1228,11 +1299,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$photoSizeEmpty](../constructors/photoSizeEmpty.md) = \['type' => [string](../types/string.md), \]; *** -

[$photos\_photo](../constructors/photos_photo.md) = \['photo' => [Photo](../types/Photo.md), 'users' => \[[User](../types/User.md)\], \]; +

[$photos.photo](../constructors/photos.photo.md) = \['photo' => [Photo](../types/Photo.md), 'users' => \[[User](../types/User.md)\], \]; -[$photos\_photos](../constructors/photos_photos.md) = \['photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$photos.photos](../constructors/photos.photos.md) = \['photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$photos\_photosSlice](../constructors/photos_photosSlice.md) = \['count' => [int](../types/int.md), 'photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$photos.photosSlice](../constructors/photos.photosSlice.md) = \['count' => [int](../types/int.md), 'photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; ***

[$pong](../constructors/pong.md) = \['msg_id' => [long](../types/long.md), 'ping_id' => [long](../types/long.md), \]; @@ -1356,25 +1429,34 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$stickerSetMultiCovered](../constructors/stickerSetMultiCovered.md) = \['set' => [StickerSet](../types/StickerSet.md), 'covers' => \[[Document](../types/Document.md)\], \]; *** -

[$storage\_fileGif](../constructors/storage_fileGif.md) = \[\]; +

[$storage.fileGif](../constructors/storage.fileGif.md) = \[\]; -[$storage\_fileJpeg](../constructors/storage_fileJpeg.md) = \[\]; +*** +

[$storage.fileJpeg](../constructors/storage.fileJpeg.md) = \[\]; -[$storage\_fileMov](../constructors/storage_fileMov.md) = \[\]; +*** +

[$storage.fileMov](../constructors/storage.fileMov.md) = \[\]; -[$storage\_fileMp3](../constructors/storage_fileMp3.md) = \[\]; +*** +

[$storage.fileMp3](../constructors/storage.fileMp3.md) = \[\]; -[$storage\_fileMp4](../constructors/storage_fileMp4.md) = \[\]; +*** +

[$storage.fileMp4](../constructors/storage.fileMp4.md) = \[\]; -[$storage\_filePartial](../constructors/storage_filePartial.md) = \[\]; +*** +

[$storage.filePartial](../constructors/storage.filePartial.md) = \[\]; -[$storage\_filePdf](../constructors/storage_filePdf.md) = \[\]; +*** +

[$storage.filePdf](../constructors/storage.filePdf.md) = \[\]; -[$storage\_filePng](../constructors/storage_filePng.md) = \[\]; +*** +

[$storage.filePng](../constructors/storage.filePng.md) = \[\]; -[$storage\_fileUnknown](../constructors/storage_fileUnknown.md) = \[\]; +*** +

[$storage.fileUnknown](../constructors/storage.fileUnknown.md) = \[\]; -[$storage\_fileWebp](../constructors/storage_fileWebp.md) = \[\]; +*** +

[$storage.fileWebp](../constructors/storage.fileWebp.md) = \[\]; ***

[$textBold](../constructors/textBold.md) = \['text' => [RichText](../types/RichText.md), \]; @@ -1634,6 +1716,30 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ***

[$updates](../constructors/updates.md) = \['updates' => \[[Update](../types/Update.md)\], 'users' => \[[User](../types/User.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'date' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; +*** +

[$updates.channelDifference](../constructors/updates.channelDifference.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), 'new_messages' => \[[Message](../types/Message.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +*** +

[$updates.channelDifferenceEmpty](../constructors/updates.channelDifferenceEmpty.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), \]; + +*** +

[$updates.channelDifferenceTooLong](../constructors/updates.channelDifferenceTooLong.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), 'top_message' => [int](../types/int.md), 'read_inbox_max_id' => [int](../types/int.md), 'read_outbox_max_id' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +*** +

[$updates.difference](../constructors/updates.difference.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'state' => [updates.State](../types/updates.State.md), \]; + +*** +

[$updates.differenceEmpty](../constructors/updates.differenceEmpty.md) = \['date' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; + +*** +

[$updates.differenceSlice](../constructors/updates.differenceSlice.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'intermediate_state' => [updates.State](../types/updates.State.md), \]; + +*** +

[$updates.differenceTooLong](../constructors/updates.differenceTooLong.md) = \['pts' => [int](../types/int.md), \]; + +*** +

[$updates.state](../constructors/updates.state.md) = \['pts' => [int](../types/int.md), 'qts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'seq' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), \]; + ***

[$updatesCombined](../constructors/updatesCombined.md) = \['updates' => \[[Update](../types/Update.md)\], 'users' => \[[User](../types/User.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'date' => [int](../types/int.md), 'seq_start' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; @@ -1641,32 +1747,19 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$updatesTooLong](../constructors/updatesTooLong.md) = \[\]; *** -

[$updates\_channelDifference](../constructors/updates_channelDifference.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), 'new_messages' => \[[Message](../types/Message.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; - -[$updates\_channelDifferenceEmpty](../constructors/updates_channelDifferenceEmpty.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), \]; - -[$updates\_channelDifferenceTooLong](../constructors/updates_channelDifferenceTooLong.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), 'top_message' => [int](../types/int.md), 'read_inbox_max_id' => [int](../types/int.md), 'read_outbox_max_id' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; - -[$updates\_difference](../constructors/updates_difference.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'state' => [updates.State](../types/updates.State.md), \]; - -[$updates\_differenceEmpty](../constructors/updates_differenceEmpty.md) = \['date' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; - -[$updates\_differenceSlice](../constructors/updates_differenceSlice.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'intermediate_state' => [updates.State](../types/updates.State.md), \]; - -[$updates\_differenceTooLong](../constructors/updates_differenceTooLong.md) = \['pts' => [int](../types/int.md), \]; - -[$updates\_state](../constructors/updates_state.md) = \['pts' => [int](../types/int.md), 'qts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'seq' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), \]; +

[$upload.cdnFile](../constructors/upload.cdnFile.md) = \['bytes' => [bytes](../types/bytes.md), \]; *** -

[$upload\_cdnFile](../constructors/upload_cdnFile.md) = \['bytes' => [bytes](../types/bytes.md), \]; +

[$upload.cdnFileReuploadNeeded](../constructors/upload.cdnFileReuploadNeeded.md) = \['request_token' => [bytes](../types/bytes.md), \]; -[$upload\_cdnFileReuploadNeeded](../constructors/upload_cdnFileReuploadNeeded.md) = \['request_token' => [bytes](../types/bytes.md), \]; +*** +

[$upload.file](../constructors/upload.file.md) = \['type' => [storage.FileType](../types/storage.FileType.md), 'mtime' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; -[$upload\_file](../constructors/upload_file.md) = \['type' => [storage.FileType](../types/storage.FileType.md), 'mtime' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; +*** +

[$upload.fileCdnRedirect](../constructors/upload.fileCdnRedirect.md) = \['dc_id' => [int](../types/int.md), 'file_token' => [bytes](../types/bytes.md), 'encryption_key' => [bytes](../types/bytes.md), 'encryption_iv' => [bytes](../types/bytes.md), \]; -[$upload\_fileCdnRedirect](../constructors/upload_fileCdnRedirect.md) = \['dc_id' => [int](../types/int.md), 'file_token' => [bytes](../types/bytes.md), 'encryption_key' => [bytes](../types/bytes.md), 'encryption_iv' => [bytes](../types/bytes.md), \]; - -[$upload\_webFile](../constructors/upload_webFile.md) = \['size' => [int](../types/int.md), 'mime_type' => [string](../types/string.md), 'file_type' => [storage.FileType](../types/storage.FileType.md), 'mtime' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; +*** +

[$upload.webFile](../constructors/upload.webFile.md) = \['size' => [int](../types/int.md), 'mime_type' => [string](../types/string.md), 'file_type' => [storage.FileType](../types/storage.FileType.md), 'mtime' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; ***

[$user](../constructors/user.md) = \['self' => [Bool](../types/Bool.md), 'contact' => [Bool](../types/Bool.md), 'mutual_contact' => [Bool](../types/Bool.md), 'deleted' => [Bool](../types/Bool.md), 'bot' => [Bool](../types/Bool.md), 'bot_chat_history' => [Bool](../types/Bool.md), 'bot_nochats' => [Bool](../types/Bool.md), 'verified' => [Bool](../types/Bool.md), 'restricted' => [Bool](../types/Bool.md), 'min' => [Bool](../types/Bool.md), 'bot_inline_geo' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), 'username' => [string](../types/string.md), 'phone' => [string](../types/string.md), 'photo' => [UserProfilePhoto](../types/UserProfilePhoto.md), 'status' => [UserStatus](../types/UserStatus.md), 'bot_info_version' => [int](../types/int.md), 'restriction_reason' => [string](../types/string.md), 'bot_inline_placeholder' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]; diff --git a/old_docs/API_docs_v68/constructors/account.authorizations.md b/old_docs/API_docs_v68/constructors/account.authorizations.md new file mode 100644 index 00000000..53c961f0 --- /dev/null +++ b/old_docs/API_docs_v68/constructors/account.authorizations.md @@ -0,0 +1,38 @@ +--- +title: account.authorizations +description: Logged-in sessions +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.authorizations +[Back to constructors index](index.md) + + + +Logged-in sessions + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|authorizations|Array of [Authorization](../types/Authorization.md) | Yes|Authorizations| + + + +### Type: [account.Authorizations](../types/account.Authorizations.md) + + +### Example: + +```php +$account.authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization, Authorization]]; +``` + + +Or, if you're into Lua: + +```lua +account.authorizations={_='account.authorizations', authorizations={Authorization}} + +``` + + diff --git a/old_docs/API_docs_v68/constructors/account.noPassword.md b/old_docs/API_docs_v68/constructors/account.noPassword.md new file mode 100644 index 00000000..4dcdc515 --- /dev/null +++ b/old_docs/API_docs_v68/constructors/account.noPassword.md @@ -0,0 +1,39 @@ +--- +title: account.noPassword +description: No password +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.noPassword +[Back to constructors index](index.md) + + + +No password + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|new\_salt|[bytes](../types/bytes.md) | Yes|New salt| +|email\_unconfirmed\_pattern|[string](../types/string.md) | Yes|Email unconfirmed pattern| + + + +### Type: [account.Password](../types/account.Password.md) + + +### Example: + +```php +$account.noPassword = ['_' => 'account.noPassword', 'new_salt' => 'bytes', 'email_unconfirmed_pattern' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +account.noPassword={_='account.noPassword', new_salt='bytes', email_unconfirmed_pattern='string'} + +``` + + diff --git a/old_docs/API_docs_v68/constructors/account.password.md b/old_docs/API_docs_v68/constructors/account.password.md new file mode 100644 index 00000000..9e86a73a --- /dev/null +++ b/old_docs/API_docs_v68/constructors/account.password.md @@ -0,0 +1,42 @@ +--- +title: account.password +description: Configuration for two-factor authorization +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.password +[Back to constructors index](index.md) + + + +Configuration for two-factor authorization + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|current\_salt|[bytes](../types/bytes.md) | Yes|Current salt| +|new\_salt|[bytes](../types/bytes.md) | Yes|New salt| +|hint|[string](../types/string.md) | Yes|Text hint for the password| +|has\_recovery|[Bool](../types/Bool.md) | Yes|Has recovery?| +|email\_unconfirmed\_pattern|[string](../types/string.md) | Yes|A [password recovery email](https://core.telegram.org/api/srp#email-verification) with the specified [pattern](https://core.telegram.org/api/pattern) is still awaiting verification| + + + +### Type: [account.Password](../types/account.Password.md) + + +### Example: + +```php +$account.password = ['_' => 'account.password', 'current_salt' => 'bytes', 'new_salt' => 'bytes', 'hint' => 'string', 'has_recovery' => Bool, 'email_unconfirmed_pattern' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +account.password={_='account.password', current_salt='bytes', new_salt='bytes', hint='string', has_recovery=Bool, email_unconfirmed_pattern='string'} + +``` + + diff --git a/old_docs/API_docs_v68/constructors/account.passwordInputSettings.md b/old_docs/API_docs_v68/constructors/account.passwordInputSettings.md new file mode 100644 index 00000000..c440115a --- /dev/null +++ b/old_docs/API_docs_v68/constructors/account.passwordInputSettings.md @@ -0,0 +1,41 @@ +--- +title: account.passwordInputSettings +description: Settings for setting up a new password +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.passwordInputSettings +[Back to constructors index](index.md) + + + +Settings for setting up a new password + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|new\_salt|[bytes](../types/bytes.md) | Optional|`$new_salt = $MadelineProto->account->getPassword()['new_salt'].$MadelineProto->random(8);`| +|new\_password\_hash|[bytes](../types/bytes.md) | Optional|The [computed password hash](https://core.telegram.org/api/srp)| +|hint|[string](../types/string.md) | Optional|Text hint for the password| +|email|[string](../types/string.md) | Optional|Password recovery email| + + + +### Type: [account.PasswordInputSettings](../types/account.PasswordInputSettings.md) + + +### Example: + +```php +$account.passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_salt' => 'bytes', 'new_password_hash' => 'bytes', 'hint' => 'string', 'email' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +account.passwordInputSettings={_='account.passwordInputSettings', new_salt='bytes', new_password_hash='bytes', hint='string', email='string'} + +``` + + diff --git a/old_docs/API_docs_v68/constructors/account.passwordSettings.md b/old_docs/API_docs_v68/constructors/account.passwordSettings.md new file mode 100644 index 00000000..be899d34 --- /dev/null +++ b/old_docs/API_docs_v68/constructors/account.passwordSettings.md @@ -0,0 +1,38 @@ +--- +title: account.passwordSettings +description: Private info associated to the password info (recovery email, telegram [passport](https://core.telegram.org/passport) info & so on) +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.passwordSettings +[Back to constructors index](index.md) + + + +Private info associated to the password info (recovery email, telegram [passport](https://core.telegram.org/passport) info & so on) + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|email|[string](../types/string.md) | Yes|[2FA Recovery email](https://core.telegram.org/api/srp#email-verification)| + + + +### Type: [account.PasswordSettings](../types/account.PasswordSettings.md) + + +### Example: + +```php +$account.passwordSettings = ['_' => 'account.passwordSettings', 'email' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +account.passwordSettings={_='account.passwordSettings', email='string'} + +``` + + diff --git a/old_docs/API_docs_v68/constructors/account.privacyRules.md b/old_docs/API_docs_v68/constructors/account.privacyRules.md new file mode 100644 index 00000000..7ae04abb --- /dev/null +++ b/old_docs/API_docs_v68/constructors/account.privacyRules.md @@ -0,0 +1,39 @@ +--- +title: account.privacyRules +description: Privacy rules +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.privacyRules +[Back to constructors index](index.md) + + + +Privacy rules + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|rules|Array of [PrivacyRule](../types/PrivacyRule.md) | Yes|Rules| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [account.PrivacyRules](../types/account.PrivacyRules.md) + + +### Example: + +```php +$account.privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule, PrivacyRule], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +account.privacyRules={_='account.privacyRules', rules={PrivacyRule}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v68/constructors/account.tmpPassword.md b/old_docs/API_docs_v68/constructors/account.tmpPassword.md new file mode 100644 index 00000000..996548c4 --- /dev/null +++ b/old_docs/API_docs_v68/constructors/account.tmpPassword.md @@ -0,0 +1,39 @@ +--- +title: account.tmpPassword +description: Temporary payment password +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.tmpPassword +[Back to constructors index](index.md) + + + +Temporary payment password + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|tmp\_password|[bytes](../types/bytes.md) | Yes|Temporary password| +|valid\_until|[int](../types/int.md) | Yes|Validity period| + + + +### Type: [account.TmpPassword](../types/account.TmpPassword.md) + + +### Example: + +```php +$account.tmpPassword = ['_' => 'account.tmpPassword', 'tmp_password' => 'bytes', 'valid_until' => int]; +``` + + +Or, if you're into Lua: + +```lua +account.tmpPassword={_='account.tmpPassword', tmp_password='bytes', valid_until=int} + +``` + + diff --git a/old_docs/API_docs_v68/constructors/account_authorizations.md b/old_docs/API_docs_v68/constructors/account_authorizations.md deleted file mode 100644 index aeae48f3..00000000 --- a/old_docs/API_docs_v68/constructors/account_authorizations.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: account.authorizations -description: Logged-in sessions -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.authorizations -[Back to constructors index](index.md) - - - -Logged-in sessions - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|authorizations|Array of [Authorization](../types/Authorization.md) | Yes|Authorizations| - - - -### Type: [account\_Authorizations](../types/account_Authorizations.md) - - -### Example: - -```php -$account_authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization, Authorization]]; -``` - - -Or, if you're into Lua: - -```lua -account_authorizations={_='account.authorizations', authorizations={Authorization}} - -``` - - diff --git a/old_docs/API_docs_v68/constructors/account_noPassword.md b/old_docs/API_docs_v68/constructors/account_noPassword.md deleted file mode 100644 index 10ef7b2a..00000000 --- a/old_docs/API_docs_v68/constructors/account_noPassword.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: account.noPassword -description: No password -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.noPassword -[Back to constructors index](index.md) - - - -No password - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|new\_salt|[bytes](../types/bytes.md) | Yes|New salt| -|email\_unconfirmed\_pattern|[string](../types/string.md) | Yes|Email unconfirmed pattern| - - - -### Type: [account\_Password](../types/account_Password.md) - - -### Example: - -```php -$account_noPassword = ['_' => 'account.noPassword', 'new_salt' => 'bytes', 'email_unconfirmed_pattern' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -account_noPassword={_='account.noPassword', new_salt='bytes', email_unconfirmed_pattern='string'} - -``` - - diff --git a/old_docs/API_docs_v68/constructors/account_password.md b/old_docs/API_docs_v68/constructors/account_password.md deleted file mode 100644 index a9f512e8..00000000 --- a/old_docs/API_docs_v68/constructors/account_password.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: account.password -description: Configuration for two-factor authorization -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.password -[Back to constructors index](index.md) - - - -Configuration for two-factor authorization - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|current\_salt|[bytes](../types/bytes.md) | Yes|Current salt| -|new\_salt|[bytes](../types/bytes.md) | Yes|New salt| -|hint|[string](../types/string.md) | Yes|Text hint for the password| -|has\_recovery|[Bool](../types/Bool.md) | Yes|Has recovery?| -|email\_unconfirmed\_pattern|[string](../types/string.md) | Yes|A [password recovery email](https://core.telegram.org/api/srp#email-verification) with the specified [pattern](https://core.telegram.org/api/pattern) is still awaiting verification| - - - -### Type: [account\_Password](../types/account_Password.md) - - -### Example: - -```php -$account_password = ['_' => 'account.password', 'current_salt' => 'bytes', 'new_salt' => 'bytes', 'hint' => 'string', 'has_recovery' => Bool, 'email_unconfirmed_pattern' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -account_password={_='account.password', current_salt='bytes', new_salt='bytes', hint='string', has_recovery=Bool, email_unconfirmed_pattern='string'} - -``` - - diff --git a/old_docs/API_docs_v68/constructors/account_passwordInputSettings.md b/old_docs/API_docs_v68/constructors/account_passwordInputSettings.md deleted file mode 100644 index 05ec666b..00000000 --- a/old_docs/API_docs_v68/constructors/account_passwordInputSettings.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: account.passwordInputSettings -description: Settings for setting up a new password -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.passwordInputSettings -[Back to constructors index](index.md) - - - -Settings for setting up a new password - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|new\_salt|[bytes](../types/bytes.md) | Optional|`$new_salt = $MadelineProto->account->getPassword()['new_salt'].$MadelineProto->random(8);`| -|new\_password\_hash|[bytes](../types/bytes.md) | Optional|The [computed password hash](https://core.telegram.org/api/srp)| -|hint|[string](../types/string.md) | Optional|Text hint for the password| -|email|[string](../types/string.md) | Optional|Password recovery email| - - - -### Type: [account\_PasswordInputSettings](../types/account_PasswordInputSettings.md) - - -### Example: - -```php -$account_passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_salt' => 'bytes', 'new_password_hash' => 'bytes', 'hint' => 'string', 'email' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -account_passwordInputSettings={_='account.passwordInputSettings', new_salt='bytes', new_password_hash='bytes', hint='string', email='string'} - -``` - - diff --git a/old_docs/API_docs_v68/constructors/account_passwordSettings.md b/old_docs/API_docs_v68/constructors/account_passwordSettings.md deleted file mode 100644 index e22f9cc4..00000000 --- a/old_docs/API_docs_v68/constructors/account_passwordSettings.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: account.passwordSettings -description: Private info associated to the password info (recovery email, telegram [passport](https://core.telegram.org/passport) info & so on) -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.passwordSettings -[Back to constructors index](index.md) - - - -Private info associated to the password info (recovery email, telegram [passport](https://core.telegram.org/passport) info & so on) - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|email|[string](../types/string.md) | Yes|[2FA Recovery email](https://core.telegram.org/api/srp#email-verification)| - - - -### Type: [account\_PasswordSettings](../types/account_PasswordSettings.md) - - -### Example: - -```php -$account_passwordSettings = ['_' => 'account.passwordSettings', 'email' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -account_passwordSettings={_='account.passwordSettings', email='string'} - -``` - - diff --git a/old_docs/API_docs_v68/constructors/account_privacyRules.md b/old_docs/API_docs_v68/constructors/account_privacyRules.md deleted file mode 100644 index 28b260b7..00000000 --- a/old_docs/API_docs_v68/constructors/account_privacyRules.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: account.privacyRules -description: Privacy rules -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.privacyRules -[Back to constructors index](index.md) - - - -Privacy rules - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|rules|Array of [PrivacyRule](../types/PrivacyRule.md) | Yes|Rules| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [account\_PrivacyRules](../types/account_PrivacyRules.md) - - -### Example: - -```php -$account_privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule, PrivacyRule], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -account_privacyRules={_='account.privacyRules', rules={PrivacyRule}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v68/constructors/account_tmpPassword.md b/old_docs/API_docs_v68/constructors/account_tmpPassword.md deleted file mode 100644 index 68832780..00000000 --- a/old_docs/API_docs_v68/constructors/account_tmpPassword.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: account.tmpPassword -description: Temporary payment password -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.tmpPassword -[Back to constructors index](index.md) - - - -Temporary payment password - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|tmp\_password|[bytes](../types/bytes.md) | Yes|Temporary password| -|valid\_until|[int](../types/int.md) | Yes|Validity period| - - - -### Type: [account\_TmpPassword](../types/account_TmpPassword.md) - - -### Example: - -```php -$account_tmpPassword = ['_' => 'account.tmpPassword', 'tmp_password' => 'bytes', 'valid_until' => int]; -``` - - -Or, if you're into Lua: - -```lua -account_tmpPassword={_='account.tmpPassword', tmp_password='bytes', valid_until=int} - -``` - - diff --git a/old_docs/API_docs_v68/constructors/auth.authorization.md b/old_docs/API_docs_v68/constructors/auth.authorization.md new file mode 100644 index 00000000..2a84bb12 --- /dev/null +++ b/old_docs/API_docs_v68/constructors/auth.authorization.md @@ -0,0 +1,39 @@ +--- +title: auth.authorization +description: Contains user authorization info. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.authorization +[Back to constructors index](index.md) + + + +Contains user authorization info. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|tmp\_sessions|[int](../types/int.md) | Optional|Temporary [passport](https://core.telegram.org/passport) sessions| +|user|[User](../types/User.md) | Optional|Info on authorized user| + + + +### Type: [auth.Authorization](../types/auth.Authorization.md) + + +### Example: + +```php +$auth.authorization = ['_' => 'auth.authorization', 'tmp_sessions' => int, 'user' => User]; +``` + + +Or, if you're into Lua: + +```lua +auth.authorization={_='auth.authorization', tmp_sessions=int, user=User} + +``` + + diff --git a/old_docs/API_docs_v68/constructors/auth.checkedPhone.md b/old_docs/API_docs_v68/constructors/auth.checkedPhone.md new file mode 100644 index 00000000..23e84cf9 --- /dev/null +++ b/old_docs/API_docs_v68/constructors/auth.checkedPhone.md @@ -0,0 +1,38 @@ +--- +title: auth.checkedPhone +description: Checked phone +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.checkedPhone +[Back to constructors index](index.md) + + + +Checked phone + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_registered|[Bool](../types/Bool.md) | Yes|Phone registered?| + + + +### Type: [auth.CheckedPhone](../types/auth.CheckedPhone.md) + + +### Example: + +```php +$auth.checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool]; +``` + + +Or, if you're into Lua: + +```lua +auth.checkedPhone={_='auth.checkedPhone', phone_registered=Bool} + +``` + + diff --git a/old_docs/API_docs_v68/constructors/auth.codeTypeCall.md b/old_docs/API_docs_v68/constructors/auth.codeTypeCall.md new file mode 100644 index 00000000..4b4a1cdc --- /dev/null +++ b/old_docs/API_docs_v68/constructors/auth.codeTypeCall.md @@ -0,0 +1,33 @@ +--- +title: auth.codeTypeCall +description: Type of verification code that will be sent next if you call the resendCode method: SMS code +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.codeTypeCall +[Back to constructors index](index.md) + + + +Type of verification code that will be sent next if you call the resendCode method: SMS code + + + + +### Type: [auth.CodeType](../types/auth.CodeType.md) + + +### Example: + +```php +$auth.codeTypeCall = ['_' => 'auth.codeTypeCall']; +``` + + +Or, if you're into Lua: + +```lua +auth.codeTypeCall={_='auth.codeTypeCall'} + +``` + + diff --git a/old_docs/API_docs_v68/constructors/auth.codeTypeFlashCall.md b/old_docs/API_docs_v68/constructors/auth.codeTypeFlashCall.md new file mode 100644 index 00000000..ef97e034 --- /dev/null +++ b/old_docs/API_docs_v68/constructors/auth.codeTypeFlashCall.md @@ -0,0 +1,33 @@ +--- +title: auth.codeTypeFlashCall +description: Type of verification code that will be sent next if you call the resendCode method: SMS code +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.codeTypeFlashCall +[Back to constructors index](index.md) + + + +Type of verification code that will be sent next if you call the resendCode method: SMS code + + + + +### Type: [auth.CodeType](../types/auth.CodeType.md) + + +### Example: + +```php +$auth.codeTypeFlashCall = ['_' => 'auth.codeTypeFlashCall']; +``` + + +Or, if you're into Lua: + +```lua +auth.codeTypeFlashCall={_='auth.codeTypeFlashCall'} + +``` + + diff --git a/old_docs/API_docs_v68/constructors/auth.codeTypeSms.md b/old_docs/API_docs_v68/constructors/auth.codeTypeSms.md new file mode 100644 index 00000000..bab9a5a4 --- /dev/null +++ b/old_docs/API_docs_v68/constructors/auth.codeTypeSms.md @@ -0,0 +1,33 @@ +--- +title: auth.codeTypeSms +description: Type of verification code that will be sent next if you call the resendCode method: SMS code +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.codeTypeSms +[Back to constructors index](index.md) + + + +Type of verification code that will be sent next if you call the resendCode method: SMS code + + + + +### Type: [auth.CodeType](../types/auth.CodeType.md) + + +### Example: + +```php +$auth.codeTypeSms = ['_' => 'auth.codeTypeSms']; +``` + + +Or, if you're into Lua: + +```lua +auth.codeTypeSms={_='auth.codeTypeSms'} + +``` + + diff --git a/old_docs/API_docs_v68/constructors/auth.exportedAuthorization.md b/old_docs/API_docs_v68/constructors/auth.exportedAuthorization.md new file mode 100644 index 00000000..2a4a9896 --- /dev/null +++ b/old_docs/API_docs_v68/constructors/auth.exportedAuthorization.md @@ -0,0 +1,39 @@ +--- +title: auth.exportedAuthorization +description: Data for copying of authorization between data centres. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.exportedAuthorization +[Back to constructors index](index.md) + + + +Data for copying of authorization between data centres. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|id|[int](../types/int.md) | Yes|Current user identifier| +|bytes|[bytes](../types/bytes.md) | Yes|Authorizes key| + + + +### Type: [auth.ExportedAuthorization](../types/auth.ExportedAuthorization.md) + + +### Example: + +```php +$auth.exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +auth.exportedAuthorization={_='auth.exportedAuthorization', id=int, bytes='bytes'} + +``` + + diff --git a/old_docs/API_docs_v68/constructors/auth.passwordRecovery.md b/old_docs/API_docs_v68/constructors/auth.passwordRecovery.md new file mode 100644 index 00000000..61de922d --- /dev/null +++ b/old_docs/API_docs_v68/constructors/auth.passwordRecovery.md @@ -0,0 +1,38 @@ +--- +title: auth.passwordRecovery +description: Recovery info of a [2FA password](https://core.telegram.org/api/srp), only for accounts with a [recovery email configured](https://core.telegram.org/api/srp#email-verification). +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.passwordRecovery +[Back to constructors index](index.md) + + + +Recovery info of a [2FA password](https://core.telegram.org/api/srp), only for accounts with a [recovery email configured](https://core.telegram.org/api/srp#email-verification). + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|email\_pattern|[string](../types/string.md) | Yes|The email to which the recovery code was sent must match this [pattern](https://core.telegram.org/api/pattern).| + + + +### Type: [auth.PasswordRecovery](../types/auth.PasswordRecovery.md) + + +### Example: + +```php +$auth.passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +auth.passwordRecovery={_='auth.passwordRecovery', email_pattern='string'} + +``` + + diff --git a/old_docs/API_docs_v68/constructors/auth.sentCode.md b/old_docs/API_docs_v68/constructors/auth.sentCode.md new file mode 100644 index 00000000..25e94704 --- /dev/null +++ b/old_docs/API_docs_v68/constructors/auth.sentCode.md @@ -0,0 +1,42 @@ +--- +title: auth.sentCode +description: Contains info about a sent verification code. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentCode +[Back to constructors index](index.md) + + + +Contains info about a sent verification code. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_registered|[Bool](../types/Bool.md) | Optional|Phone registered?| +|type|[auth.SentCodeType](../constructors/auth.SentCodeType.md) | Yes|Phone code type| +|phone\_code\_hash|[string](../types/string.md) | Yes|Phone code hash, to be stored and later re-used with [auth.signIn](../methods/auth.signIn.md)| +|next\_type|[auth.CodeType](../constructors/auth.CodeType.md) | Optional|Phone code type that will be sent next, if the phone code is not received within `timeout` seconds: to send it use [auth.resendCode](../methods/auth.resendCode.md)| +|timeout|[int](../types/int.md) | Optional|Timeout for reception of the phone code| + + + +### Type: [auth.SentCode](../types/auth.SentCode.md) + + +### Example: + +```php +$auth.sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'type' => auth.SentCodeType, 'phone_code_hash' => 'string', 'next_type' => auth.CodeType, 'timeout' => int]; +``` + + +Or, if you're into Lua: + +```lua +auth.sentCode={_='auth.sentCode', phone_registered=Bool, type=auth.SentCodeType, phone_code_hash='string', next_type=auth.CodeType, timeout=int} + +``` + + diff --git a/old_docs/API_docs_v68/constructors/auth.sentCodeTypeApp.md b/old_docs/API_docs_v68/constructors/auth.sentCodeTypeApp.md new file mode 100644 index 00000000..5f2d4aa3 --- /dev/null +++ b/old_docs/API_docs_v68/constructors/auth.sentCodeTypeApp.md @@ -0,0 +1,38 @@ +--- +title: auth.sentCodeTypeApp +description: The code was sent through the telegram app +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentCodeTypeApp +[Back to constructors index](index.md) + + + +The code was sent through the telegram app + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|length|[int](../types/int.md) | Yes|Length of the code in bytes| + + + +### Type: [auth.SentCodeType](../types/auth.SentCodeType.md) + + +### Example: + +```php +$auth.sentCodeTypeApp = ['_' => 'auth.sentCodeTypeApp', 'length' => int]; +``` + + +Or, if you're into Lua: + +```lua +auth.sentCodeTypeApp={_='auth.sentCodeTypeApp', length=int} + +``` + + diff --git a/old_docs/API_docs_v68/constructors/auth.sentCodeTypeCall.md b/old_docs/API_docs_v68/constructors/auth.sentCodeTypeCall.md new file mode 100644 index 00000000..9843b3df --- /dev/null +++ b/old_docs/API_docs_v68/constructors/auth.sentCodeTypeCall.md @@ -0,0 +1,38 @@ +--- +title: auth.sentCodeTypeCall +description: The code will be sent via a phone call: a synthesized voice will tell the user which verification code to input. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentCodeTypeCall +[Back to constructors index](index.md) + + + +The code will be sent via a phone call: a synthesized voice will tell the user which verification code to input. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|length|[int](../types/int.md) | Yes|Length of the verification code| + + + +### Type: [auth.SentCodeType](../types/auth.SentCodeType.md) + + +### Example: + +```php +$auth.sentCodeTypeCall = ['_' => 'auth.sentCodeTypeCall', 'length' => int]; +``` + + +Or, if you're into Lua: + +```lua +auth.sentCodeTypeCall={_='auth.sentCodeTypeCall', length=int} + +``` + + diff --git a/old_docs/API_docs_v68/constructors/auth.sentCodeTypeFlashCall.md b/old_docs/API_docs_v68/constructors/auth.sentCodeTypeFlashCall.md new file mode 100644 index 00000000..0d24751d --- /dev/null +++ b/old_docs/API_docs_v68/constructors/auth.sentCodeTypeFlashCall.md @@ -0,0 +1,38 @@ +--- +title: auth.sentCodeTypeFlashCall +description: The code will be sent via a flash phone call, that will be closed immediately. The phone code will then be the phone number itself, just make sure that the phone number matches the specified pattern. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentCodeTypeFlashCall +[Back to constructors index](index.md) + + + +The code will be sent via a flash phone call, that will be closed immediately. The phone code will then be the phone number itself, just make sure that the phone number matches the specified pattern. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pattern|[string](../types/string.md) | Yes|[pattern](https://core.telegram.org/api/pattern) to match| + + + +### Type: [auth.SentCodeType](../types/auth.SentCodeType.md) + + +### Example: + +```php +$auth.sentCodeTypeFlashCall = ['_' => 'auth.sentCodeTypeFlashCall', 'pattern' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +auth.sentCodeTypeFlashCall={_='auth.sentCodeTypeFlashCall', pattern='string'} + +``` + + diff --git a/old_docs/API_docs_v68/constructors/auth.sentCodeTypeSms.md b/old_docs/API_docs_v68/constructors/auth.sentCodeTypeSms.md new file mode 100644 index 00000000..d8ecb75e --- /dev/null +++ b/old_docs/API_docs_v68/constructors/auth.sentCodeTypeSms.md @@ -0,0 +1,38 @@ +--- +title: auth.sentCodeTypeSms +description: The code was sent via SMS +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentCodeTypeSms +[Back to constructors index](index.md) + + + +The code was sent via SMS + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|length|[int](../types/int.md) | Yes|Length of the code in bytes| + + + +### Type: [auth.SentCodeType](../types/auth.SentCodeType.md) + + +### Example: + +```php +$auth.sentCodeTypeSms = ['_' => 'auth.sentCodeTypeSms', 'length' => int]; +``` + + +Or, if you're into Lua: + +```lua +auth.sentCodeTypeSms={_='auth.sentCodeTypeSms', length=int} + +``` + + diff --git a/old_docs/API_docs_v68/constructors/auth_authorization.md b/old_docs/API_docs_v68/constructors/auth_authorization.md deleted file mode 100644 index cb72811d..00000000 --- a/old_docs/API_docs_v68/constructors/auth_authorization.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: auth.authorization -description: Contains user authorization info. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.authorization -[Back to constructors index](index.md) - - - -Contains user authorization info. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|tmp\_sessions|[int](../types/int.md) | Optional|Temporary [passport](https://core.telegram.org/passport) sessions| -|user|[User](../types/User.md) | Optional|Info on authorized user| - - - -### Type: [auth\_Authorization](../types/auth_Authorization.md) - - -### Example: - -```php -$auth_authorization = ['_' => 'auth.authorization', 'tmp_sessions' => int, 'user' => User]; -``` - - -Or, if you're into Lua: - -```lua -auth_authorization={_='auth.authorization', tmp_sessions=int, user=User} - -``` - - diff --git a/old_docs/API_docs_v68/constructors/auth_checkedPhone.md b/old_docs/API_docs_v68/constructors/auth_checkedPhone.md deleted file mode 100644 index c77becf6..00000000 --- a/old_docs/API_docs_v68/constructors/auth_checkedPhone.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.checkedPhone -description: Checked phone -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.checkedPhone -[Back to constructors index](index.md) - - - -Checked phone - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_registered|[Bool](../types/Bool.md) | Yes|Phone registered?| - - - -### Type: [auth\_CheckedPhone](../types/auth_CheckedPhone.md) - - -### Example: - -```php -$auth_checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool]; -``` - - -Or, if you're into Lua: - -```lua -auth_checkedPhone={_='auth.checkedPhone', phone_registered=Bool} - -``` - - diff --git a/old_docs/API_docs_v68/constructors/auth_codeTypeCall.md b/old_docs/API_docs_v68/constructors/auth_codeTypeCall.md deleted file mode 100644 index 3e957c2a..00000000 --- a/old_docs/API_docs_v68/constructors/auth_codeTypeCall.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: auth.codeTypeCall -description: Type of verification code that will be sent next if you call the resendCode method: SMS code -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.codeTypeCall -[Back to constructors index](index.md) - - - -Type of verification code that will be sent next if you call the resendCode method: SMS code - - - - -### Type: [auth\_CodeType](../types/auth_CodeType.md) - - -### Example: - -```php -$auth_codeTypeCall = ['_' => 'auth.codeTypeCall']; -``` - - -Or, if you're into Lua: - -```lua -auth_codeTypeCall={_='auth.codeTypeCall'} - -``` - - diff --git a/old_docs/API_docs_v68/constructors/auth_codeTypeFlashCall.md b/old_docs/API_docs_v68/constructors/auth_codeTypeFlashCall.md deleted file mode 100644 index 981b2461..00000000 --- a/old_docs/API_docs_v68/constructors/auth_codeTypeFlashCall.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: auth.codeTypeFlashCall -description: Type of verification code that will be sent next if you call the resendCode method: SMS code -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.codeTypeFlashCall -[Back to constructors index](index.md) - - - -Type of verification code that will be sent next if you call the resendCode method: SMS code - - - - -### Type: [auth\_CodeType](../types/auth_CodeType.md) - - -### Example: - -```php -$auth_codeTypeFlashCall = ['_' => 'auth.codeTypeFlashCall']; -``` - - -Or, if you're into Lua: - -```lua -auth_codeTypeFlashCall={_='auth.codeTypeFlashCall'} - -``` - - diff --git a/old_docs/API_docs_v68/constructors/auth_codeTypeSms.md b/old_docs/API_docs_v68/constructors/auth_codeTypeSms.md deleted file mode 100644 index 16eb5d0d..00000000 --- a/old_docs/API_docs_v68/constructors/auth_codeTypeSms.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: auth.codeTypeSms -description: Type of verification code that will be sent next if you call the resendCode method: SMS code -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.codeTypeSms -[Back to constructors index](index.md) - - - -Type of verification code that will be sent next if you call the resendCode method: SMS code - - - - -### Type: [auth\_CodeType](../types/auth_CodeType.md) - - -### Example: - -```php -$auth_codeTypeSms = ['_' => 'auth.codeTypeSms']; -``` - - -Or, if you're into Lua: - -```lua -auth_codeTypeSms={_='auth.codeTypeSms'} - -``` - - diff --git a/old_docs/API_docs_v68/constructors/auth_exportedAuthorization.md b/old_docs/API_docs_v68/constructors/auth_exportedAuthorization.md deleted file mode 100644 index 8d18916e..00000000 --- a/old_docs/API_docs_v68/constructors/auth_exportedAuthorization.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: auth.exportedAuthorization -description: Data for copying of authorization between data centres. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.exportedAuthorization -[Back to constructors index](index.md) - - - -Data for copying of authorization between data centres. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|id|[int](../types/int.md) | Yes|Current user identifier| -|bytes|[bytes](../types/bytes.md) | Yes|Authorizes key| - - - -### Type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) - - -### Example: - -```php -$auth_exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -auth_exportedAuthorization={_='auth.exportedAuthorization', id=int, bytes='bytes'} - -``` - - diff --git a/old_docs/API_docs_v68/constructors/auth_passwordRecovery.md b/old_docs/API_docs_v68/constructors/auth_passwordRecovery.md deleted file mode 100644 index c40f375e..00000000 --- a/old_docs/API_docs_v68/constructors/auth_passwordRecovery.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.passwordRecovery -description: Recovery info of a [2FA password](https://core.telegram.org/api/srp), only for accounts with a [recovery email configured](https://core.telegram.org/api/srp#email-verification). -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.passwordRecovery -[Back to constructors index](index.md) - - - -Recovery info of a [2FA password](https://core.telegram.org/api/srp), only for accounts with a [recovery email configured](https://core.telegram.org/api/srp#email-verification). - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|email\_pattern|[string](../types/string.md) | Yes|The email to which the recovery code was sent must match this [pattern](https://core.telegram.org/api/pattern).| - - - -### Type: [auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) - - -### Example: - -```php -$auth_passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -auth_passwordRecovery={_='auth.passwordRecovery', email_pattern='string'} - -``` - - diff --git a/old_docs/API_docs_v68/constructors/auth_sentCode.md b/old_docs/API_docs_v68/constructors/auth_sentCode.md deleted file mode 100644 index 622c4137..00000000 --- a/old_docs/API_docs_v68/constructors/auth_sentCode.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: auth.sentCode -description: Contains info about a sent verification code. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentCode -[Back to constructors index](index.md) - - - -Contains info about a sent verification code. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_registered|[Bool](../types/Bool.md) | Optional|Phone registered?| -|type|[auth\_SentCodeType](../types/auth_SentCodeType.md) | Yes|Phone code type| -|phone\_code\_hash|[string](../types/string.md) | Yes|Phone code hash, to be stored and later re-used with [auth.signIn](../methods/auth.signIn.md)| -|next\_type|[auth\_CodeType](../types/auth_CodeType.md) | Optional|Phone code type that will be sent next, if the phone code is not received within `timeout` seconds: to send it use [auth.resendCode](../methods/auth.resendCode.md)| -|timeout|[int](../types/int.md) | Optional|Timeout for reception of the phone code| - - - -### Type: [auth\_SentCode](../types/auth_SentCode.md) - - -### Example: - -```php -$auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'type' => auth_SentCodeType, 'phone_code_hash' => 'string', 'next_type' => auth_CodeType, 'timeout' => int]; -``` - - -Or, if you're into Lua: - -```lua -auth_sentCode={_='auth.sentCode', phone_registered=Bool, type=auth_SentCodeType, phone_code_hash='string', next_type=auth_CodeType, timeout=int} - -``` - - diff --git a/old_docs/API_docs_v68/constructors/auth_sentCodeTypeApp.md b/old_docs/API_docs_v68/constructors/auth_sentCodeTypeApp.md deleted file mode 100644 index 6b7ad824..00000000 --- a/old_docs/API_docs_v68/constructors/auth_sentCodeTypeApp.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.sentCodeTypeApp -description: The code was sent through the telegram app -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentCodeTypeApp -[Back to constructors index](index.md) - - - -The code was sent through the telegram app - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|length|[int](../types/int.md) | Yes|Length of the code in bytes| - - - -### Type: [auth\_SentCodeType](../types/auth_SentCodeType.md) - - -### Example: - -```php -$auth_sentCodeTypeApp = ['_' => 'auth.sentCodeTypeApp', 'length' => int]; -``` - - -Or, if you're into Lua: - -```lua -auth_sentCodeTypeApp={_='auth.sentCodeTypeApp', length=int} - -``` - - diff --git a/old_docs/API_docs_v68/constructors/auth_sentCodeTypeCall.md b/old_docs/API_docs_v68/constructors/auth_sentCodeTypeCall.md deleted file mode 100644 index bf025aa5..00000000 --- a/old_docs/API_docs_v68/constructors/auth_sentCodeTypeCall.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.sentCodeTypeCall -description: The code will be sent via a phone call: a synthesized voice will tell the user which verification code to input. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentCodeTypeCall -[Back to constructors index](index.md) - - - -The code will be sent via a phone call: a synthesized voice will tell the user which verification code to input. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|length|[int](../types/int.md) | Yes|Length of the verification code| - - - -### Type: [auth\_SentCodeType](../types/auth_SentCodeType.md) - - -### Example: - -```php -$auth_sentCodeTypeCall = ['_' => 'auth.sentCodeTypeCall', 'length' => int]; -``` - - -Or, if you're into Lua: - -```lua -auth_sentCodeTypeCall={_='auth.sentCodeTypeCall', length=int} - -``` - - diff --git a/old_docs/API_docs_v68/constructors/auth_sentCodeTypeFlashCall.md b/old_docs/API_docs_v68/constructors/auth_sentCodeTypeFlashCall.md deleted file mode 100644 index efe64ce7..00000000 --- a/old_docs/API_docs_v68/constructors/auth_sentCodeTypeFlashCall.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.sentCodeTypeFlashCall -description: The code will be sent via a flash phone call, that will be closed immediately. The phone code will then be the phone number itself, just make sure that the phone number matches the specified pattern. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentCodeTypeFlashCall -[Back to constructors index](index.md) - - - -The code will be sent via a flash phone call, that will be closed immediately. The phone code will then be the phone number itself, just make sure that the phone number matches the specified pattern. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pattern|[string](../types/string.md) | Yes|[pattern](https://core.telegram.org/api/pattern) to match| - - - -### Type: [auth\_SentCodeType](../types/auth_SentCodeType.md) - - -### Example: - -```php -$auth_sentCodeTypeFlashCall = ['_' => 'auth.sentCodeTypeFlashCall', 'pattern' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -auth_sentCodeTypeFlashCall={_='auth.sentCodeTypeFlashCall', pattern='string'} - -``` - - diff --git a/old_docs/API_docs_v68/constructors/auth_sentCodeTypeSms.md b/old_docs/API_docs_v68/constructors/auth_sentCodeTypeSms.md deleted file mode 100644 index 8e27dac9..00000000 --- a/old_docs/API_docs_v68/constructors/auth_sentCodeTypeSms.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.sentCodeTypeSms -description: The code was sent via SMS -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentCodeTypeSms -[Back to constructors index](index.md) - - - -The code was sent via SMS - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|length|[int](../types/int.md) | Yes|Length of the code in bytes| - - - -### Type: [auth\_SentCodeType](../types/auth_SentCodeType.md) - - -### Example: - -```php -$auth_sentCodeTypeSms = ['_' => 'auth.sentCodeTypeSms', 'length' => int]; -``` - - -Or, if you're into Lua: - -```lua -auth_sentCodeTypeSms={_='auth.sentCodeTypeSms', length=int} - -``` - - diff --git a/old_docs/API_docs_v68/constructors/channels.adminLogResults.md b/old_docs/API_docs_v68/constructors/channels.adminLogResults.md new file mode 100644 index 00000000..fc4e234a --- /dev/null +++ b/old_docs/API_docs_v68/constructors/channels.adminLogResults.md @@ -0,0 +1,40 @@ +--- +title: channels.adminLogResults +description: Admin log events +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: channels.adminLogResults +[Back to constructors index](index.md) + + + +Admin log events + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|events|Array of [ChannelAdminLogEvent](../types/ChannelAdminLogEvent.md) | Yes|Events| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [channels.AdminLogResults](../types/channels.AdminLogResults.md) + + +### Example: + +```php +$channels.adminLogResults = ['_' => 'channels.adminLogResults', 'events' => [ChannelAdminLogEvent, ChannelAdminLogEvent], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +channels.adminLogResults={_='channels.adminLogResults', events={ChannelAdminLogEvent}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v68/constructors/channels.channelParticipant.md b/old_docs/API_docs_v68/constructors/channels.channelParticipant.md new file mode 100644 index 00000000..0f09777f --- /dev/null +++ b/old_docs/API_docs_v68/constructors/channels.channelParticipant.md @@ -0,0 +1,39 @@ +--- +title: channels.channelParticipant +description: Represents a channel participant +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: channels.channelParticipant +[Back to constructors index](index.md) + + + +Represents a channel participant + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|participant|[ChannelParticipant](../types/ChannelParticipant.md) | Yes|The channel participant| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [channels.ChannelParticipant](../types/channels.ChannelParticipant.md) + + +### Example: + +```php +$channels.channelParticipant = ['_' => 'channels.channelParticipant', 'participant' => ChannelParticipant, 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +channels.channelParticipant={_='channels.channelParticipant', participant=ChannelParticipant, users={User}} + +``` + + diff --git a/old_docs/API_docs_v68/constructors/channels.channelParticipants.md b/old_docs/API_docs_v68/constructors/channels.channelParticipants.md new file mode 100644 index 00000000..6ee1a8b3 --- /dev/null +++ b/old_docs/API_docs_v68/constructors/channels.channelParticipants.md @@ -0,0 +1,40 @@ +--- +title: channels.channelParticipants +description: Represents multiple channel participants +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: channels.channelParticipants +[Back to constructors index](index.md) + + + +Represents multiple channel participants + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of participants that correspond to the given query| +|participants|Array of [ChannelParticipant](../types/ChannelParticipant.md) | Yes|Participants| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [channels.ChannelParticipants](../types/channels.ChannelParticipants.md) + + +### Example: + +```php +$channels.channelParticipants = ['_' => 'channels.channelParticipants', 'count' => int, 'participants' => [ChannelParticipant, ChannelParticipant], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +channels.channelParticipants={_='channels.channelParticipants', count=int, participants={ChannelParticipant}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v68/constructors/channels_adminLogResults.md b/old_docs/API_docs_v68/constructors/channels_adminLogResults.md deleted file mode 100644 index 9061212a..00000000 --- a/old_docs/API_docs_v68/constructors/channels_adminLogResults.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: channels.adminLogResults -description: Admin log events -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: channels.adminLogResults -[Back to constructors index](index.md) - - - -Admin log events - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|events|Array of [ChannelAdminLogEvent](../types/ChannelAdminLogEvent.md) | Yes|Events| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [channels\_AdminLogResults](../types/channels_AdminLogResults.md) - - -### Example: - -```php -$channels_adminLogResults = ['_' => 'channels.adminLogResults', 'events' => [ChannelAdminLogEvent, ChannelAdminLogEvent], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -channels_adminLogResults={_='channels.adminLogResults', events={ChannelAdminLogEvent}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v68/constructors/channels_channelParticipant.md b/old_docs/API_docs_v68/constructors/channels_channelParticipant.md deleted file mode 100644 index 15fe46a4..00000000 --- a/old_docs/API_docs_v68/constructors/channels_channelParticipant.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: channels.channelParticipant -description: Represents a channel participant -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: channels.channelParticipant -[Back to constructors index](index.md) - - - -Represents a channel participant - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|participant|[ChannelParticipant](../types/ChannelParticipant.md) | Yes|The channel participant| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [channels\_ChannelParticipant](../types/channels_ChannelParticipant.md) - - -### Example: - -```php -$channels_channelParticipant = ['_' => 'channels.channelParticipant', 'participant' => ChannelParticipant, 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -channels_channelParticipant={_='channels.channelParticipant', participant=ChannelParticipant, users={User}} - -``` - - diff --git a/old_docs/API_docs_v68/constructors/channels_channelParticipants.md b/old_docs/API_docs_v68/constructors/channels_channelParticipants.md deleted file mode 100644 index 1848a04f..00000000 --- a/old_docs/API_docs_v68/constructors/channels_channelParticipants.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: channels.channelParticipants -description: Represents multiple channel participants -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: channels.channelParticipants -[Back to constructors index](index.md) - - - -Represents multiple channel participants - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of participants that correspond to the given query| -|participants|Array of [ChannelParticipant](../types/ChannelParticipant.md) | Yes|Participants| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [channels\_ChannelParticipants](../types/channels_ChannelParticipants.md) - - -### Example: - -```php -$channels_channelParticipants = ['_' => 'channels.channelParticipants', 'count' => int, 'participants' => [ChannelParticipant, ChannelParticipant], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -channels_channelParticipants={_='channels.channelParticipants', count=int, participants={ChannelParticipant}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v68/constructors/contacts.blocked.md b/old_docs/API_docs_v68/constructors/contacts.blocked.md new file mode 100644 index 00000000..d2b3f680 --- /dev/null +++ b/old_docs/API_docs_v68/constructors/contacts.blocked.md @@ -0,0 +1,39 @@ +--- +title: contacts.blocked +description: Full list of blocked users. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.blocked +[Back to constructors index](index.md) + + + +Full list of blocked users. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Blocked](../types/contacts.Blocked.md) + + +### Example: + +```php +$contacts.blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.blocked={_='contacts.blocked', blocked={ContactBlocked}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v68/constructors/contacts.blockedSlice.md b/old_docs/API_docs_v68/constructors/contacts.blockedSlice.md new file mode 100644 index 00000000..92d19c72 --- /dev/null +++ b/old_docs/API_docs_v68/constructors/contacts.blockedSlice.md @@ -0,0 +1,40 @@ +--- +title: contacts.blockedSlice +description: Incomplete list of blocked users. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.blockedSlice +[Back to constructors index](index.md) + + + +Incomplete list of blocked users. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of elements in the list| +|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Blocked](../types/contacts.Blocked.md) + + +### Example: + +```php +$contacts.blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.blockedSlice={_='contacts.blockedSlice', count=int, blocked={ContactBlocked}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v68/constructors/contacts.contacts.md b/old_docs/API_docs_v68/constructors/contacts.contacts.md new file mode 100644 index 00000000..d4ccc018 --- /dev/null +++ b/old_docs/API_docs_v68/constructors/contacts.contacts.md @@ -0,0 +1,39 @@ +--- +title: contacts.contacts +description: The current user's contact list and info on users. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.contacts +[Back to constructors index](index.md) + + + +The current user's contact list and info on users. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|contacts|Array of [Contact](../types/Contact.md) | Yes|Contacts| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Contacts](../types/contacts.Contacts.md) + + +### Example: + +```php +$contacts.contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact, Contact], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.contacts={_='contacts.contacts', contacts={Contact}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v68/constructors/contacts.contactsNotModified.md b/old_docs/API_docs_v68/constructors/contacts.contactsNotModified.md new file mode 100644 index 00000000..e2149396 --- /dev/null +++ b/old_docs/API_docs_v68/constructors/contacts.contactsNotModified.md @@ -0,0 +1,33 @@ +--- +title: contacts.contactsNotModified +description: Contact list on the server is the same as the list on the client. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.contactsNotModified +[Back to constructors index](index.md) + + + +Contact list on the server is the same as the list on the client. + + + + +### Type: [contacts.Contacts](../types/contacts.Contacts.md) + + +### Example: + +```php +$contacts.contactsNotModified = ['_' => 'contacts.contactsNotModified']; +``` + + +Or, if you're into Lua: + +```lua +contacts.contactsNotModified={_='contacts.contactsNotModified'} + +``` + + diff --git a/old_docs/API_docs_v68/constructors/contacts.found.md b/old_docs/API_docs_v68/constructors/contacts.found.md new file mode 100644 index 00000000..1eaa93b7 --- /dev/null +++ b/old_docs/API_docs_v68/constructors/contacts.found.md @@ -0,0 +1,40 @@ +--- +title: contacts.found +description: Users found by name substring and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.found +[Back to constructors index](index.md) + + + +Users found by name substring and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|results|Array of [Peer](../types/Peer.md) | Yes|Results| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Found](../types/contacts.Found.md) + + +### Example: + +```php +$contacts.found = ['_' => 'contacts.found', 'results' => [Peer, Peer], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.found={_='contacts.found', results={Peer}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v68/constructors/contacts.importedContacts.md b/old_docs/API_docs_v68/constructors/contacts.importedContacts.md new file mode 100644 index 00000000..1cbff59a --- /dev/null +++ b/old_docs/API_docs_v68/constructors/contacts.importedContacts.md @@ -0,0 +1,40 @@ +--- +title: contacts.importedContacts +description: Info on succesfully imported contacts. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.importedContacts +[Back to constructors index](index.md) + + + +Info on succesfully imported contacts. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|imported|Array of [ImportedContact](../types/ImportedContact.md) | Yes|Imported| +|retry\_contacts|Array of [long](../types/long.md) | Yes|Retry importing contacts whose client IDs appear here| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.ImportedContacts](../types/contacts.ImportedContacts.md) + + +### Example: + +```php +$contacts.importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact, ImportedContact], 'retry_contacts' => [long, long], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.importedContacts={_='contacts.importedContacts', imported={ImportedContact}, retry_contacts={long}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v68/constructors/contacts.link.md b/old_docs/API_docs_v68/constructors/contacts.link.md new file mode 100644 index 00000000..ab150a0d --- /dev/null +++ b/old_docs/API_docs_v68/constructors/contacts.link.md @@ -0,0 +1,40 @@ +--- +title: contacts.link +description: Link +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.link +[Back to constructors index](index.md) + + + +Link + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|my\_link|[ContactLink](../types/ContactLink.md) | Yes|My link| +|foreign\_link|[ContactLink](../types/ContactLink.md) | Yes|Foreign link| +|user|[User](../types/User.md) | Optional|User| + + + +### Type: [contacts.Link](../types/contacts.Link.md) + + +### Example: + +```php +$contacts.link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User]; +``` + + +Or, if you're into Lua: + +```lua +contacts.link={_='contacts.link', my_link=ContactLink, foreign_link=ContactLink, user=User} + +``` + + diff --git a/old_docs/API_docs_v68/constructors/contacts.resolvedPeer.md b/old_docs/API_docs_v68/constructors/contacts.resolvedPeer.md new file mode 100644 index 00000000..35d88481 --- /dev/null +++ b/old_docs/API_docs_v68/constructors/contacts.resolvedPeer.md @@ -0,0 +1,40 @@ +--- +title: contacts.resolvedPeer +description: Resolved peer +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.resolvedPeer +[Back to constructors index](index.md) + + + +Resolved peer + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|peer|[Peer](../types/Peer.md) | Yes|The peer| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.ResolvedPeer](../types/contacts.ResolvedPeer.md) + + +### Example: + +```php +$contacts.resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.resolvedPeer={_='contacts.resolvedPeer', peer=Peer, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v68/constructors/contacts.topPeers.md b/old_docs/API_docs_v68/constructors/contacts.topPeers.md new file mode 100644 index 00000000..19d9c712 --- /dev/null +++ b/old_docs/API_docs_v68/constructors/contacts.topPeers.md @@ -0,0 +1,40 @@ +--- +title: contacts.topPeers +description: Top peers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.topPeers +[Back to constructors index](index.md) + + + +Top peers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|categories|Array of [TopPeerCategoryPeers](../types/TopPeerCategoryPeers.md) | Yes|Categories| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.TopPeers](../types/contacts.TopPeers.md) + + +### Example: + +```php +$contacts.topPeers = ['_' => 'contacts.topPeers', 'categories' => [TopPeerCategoryPeers, TopPeerCategoryPeers], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.topPeers={_='contacts.topPeers', categories={TopPeerCategoryPeers}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v68/constructors/contacts.topPeersNotModified.md b/old_docs/API_docs_v68/constructors/contacts.topPeersNotModified.md new file mode 100644 index 00000000..77c5eb4d --- /dev/null +++ b/old_docs/API_docs_v68/constructors/contacts.topPeersNotModified.md @@ -0,0 +1,33 @@ +--- +title: contacts.topPeersNotModified +description: Top peer info hasn't changed +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.topPeersNotModified +[Back to constructors index](index.md) + + + +Top peer info hasn't changed + + + + +### Type: [contacts.TopPeers](../types/contacts.TopPeers.md) + + +### Example: + +```php +$contacts.topPeersNotModified = ['_' => 'contacts.topPeersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +contacts.topPeersNotModified={_='contacts.topPeersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v68/constructors/contacts_blocked.md b/old_docs/API_docs_v68/constructors/contacts_blocked.md deleted file mode 100644 index 20e33002..00000000 --- a/old_docs/API_docs_v68/constructors/contacts_blocked.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: contacts.blocked -description: Full list of blocked users. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.blocked -[Back to constructors index](index.md) - - - -Full list of blocked users. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Blocked](../types/contacts_Blocked.md) - - -### Example: - -```php -$contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_blocked={_='contacts.blocked', blocked={ContactBlocked}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v68/constructors/contacts_blockedSlice.md b/old_docs/API_docs_v68/constructors/contacts_blockedSlice.md deleted file mode 100644 index fcab9a28..00000000 --- a/old_docs/API_docs_v68/constructors/contacts_blockedSlice.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.blockedSlice -description: Incomplete list of blocked users. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.blockedSlice -[Back to constructors index](index.md) - - - -Incomplete list of blocked users. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of elements in the list| -|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Blocked](../types/contacts_Blocked.md) - - -### Example: - -```php -$contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_blockedSlice={_='contacts.blockedSlice', count=int, blocked={ContactBlocked}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v68/constructors/contacts_contacts.md b/old_docs/API_docs_v68/constructors/contacts_contacts.md deleted file mode 100644 index f101b34b..00000000 --- a/old_docs/API_docs_v68/constructors/contacts_contacts.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: contacts.contacts -description: The current user's contact list and info on users. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.contacts -[Back to constructors index](index.md) - - - -The current user's contact list and info on users. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|contacts|Array of [Contact](../types/Contact.md) | Yes|Contacts| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Contacts](../types/contacts_Contacts.md) - - -### Example: - -```php -$contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact, Contact], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_contacts={_='contacts.contacts', contacts={Contact}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v68/constructors/contacts_contactsNotModified.md b/old_docs/API_docs_v68/constructors/contacts_contactsNotModified.md deleted file mode 100644 index 17e76ac3..00000000 --- a/old_docs/API_docs_v68/constructors/contacts_contactsNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: contacts.contactsNotModified -description: Contact list on the server is the same as the list on the client. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.contactsNotModified -[Back to constructors index](index.md) - - - -Contact list on the server is the same as the list on the client. - - - - -### Type: [contacts\_Contacts](../types/contacts_Contacts.md) - - -### Example: - -```php -$contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified']; -``` - - -Or, if you're into Lua: - -```lua -contacts_contactsNotModified={_='contacts.contactsNotModified'} - -``` - - diff --git a/old_docs/API_docs_v68/constructors/contacts_found.md b/old_docs/API_docs_v68/constructors/contacts_found.md deleted file mode 100644 index 0674aabf..00000000 --- a/old_docs/API_docs_v68/constructors/contacts_found.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.found -description: Users found by name substring and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.found -[Back to constructors index](index.md) - - - -Users found by name substring and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|results|Array of [Peer](../types/Peer.md) | Yes|Results| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Found](../types/contacts_Found.md) - - -### Example: - -```php -$contacts_found = ['_' => 'contacts.found', 'results' => [Peer, Peer], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_found={_='contacts.found', results={Peer}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v68/constructors/contacts_importedContacts.md b/old_docs/API_docs_v68/constructors/contacts_importedContacts.md deleted file mode 100644 index 121d96d1..00000000 --- a/old_docs/API_docs_v68/constructors/contacts_importedContacts.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.importedContacts -description: Info on succesfully imported contacts. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.importedContacts -[Back to constructors index](index.md) - - - -Info on succesfully imported contacts. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|imported|Array of [ImportedContact](../types/ImportedContact.md) | Yes|Imported| -|retry\_contacts|Array of [long](../types/long.md) | Yes|Retry importing contacts whose client IDs appear here| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) - - -### Example: - -```php -$contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact, ImportedContact], 'retry_contacts' => [long, long], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_importedContacts={_='contacts.importedContacts', imported={ImportedContact}, retry_contacts={long}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v68/constructors/contacts_link.md b/old_docs/API_docs_v68/constructors/contacts_link.md deleted file mode 100644 index cfc566c7..00000000 --- a/old_docs/API_docs_v68/constructors/contacts_link.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.link -description: Link -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.link -[Back to constructors index](index.md) - - - -Link - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|my\_link|[ContactLink](../types/ContactLink.md) | Yes|My link| -|foreign\_link|[ContactLink](../types/ContactLink.md) | Yes|Foreign link| -|user|[User](../types/User.md) | Optional|User| - - - -### Type: [contacts\_Link](../types/contacts_Link.md) - - -### Example: - -```php -$contacts_link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User]; -``` - - -Or, if you're into Lua: - -```lua -contacts_link={_='contacts.link', my_link=ContactLink, foreign_link=ContactLink, user=User} - -``` - - diff --git a/old_docs/API_docs_v68/constructors/contacts_resolvedPeer.md b/old_docs/API_docs_v68/constructors/contacts_resolvedPeer.md deleted file mode 100644 index aae3c7af..00000000 --- a/old_docs/API_docs_v68/constructors/contacts_resolvedPeer.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.resolvedPeer -description: Resolved peer -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.resolvedPeer -[Back to constructors index](index.md) - - - -Resolved peer - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|peer|[Peer](../types/Peer.md) | Yes|The peer| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_ResolvedPeer](../types/contacts_ResolvedPeer.md) - - -### Example: - -```php -$contacts_resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_resolvedPeer={_='contacts.resolvedPeer', peer=Peer, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v68/constructors/contacts_topPeers.md b/old_docs/API_docs_v68/constructors/contacts_topPeers.md deleted file mode 100644 index 77bc07d3..00000000 --- a/old_docs/API_docs_v68/constructors/contacts_topPeers.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.topPeers -description: Top peers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.topPeers -[Back to constructors index](index.md) - - - -Top peers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|categories|Array of [TopPeerCategoryPeers](../types/TopPeerCategoryPeers.md) | Yes|Categories| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_TopPeers](../types/contacts_TopPeers.md) - - -### Example: - -```php -$contacts_topPeers = ['_' => 'contacts.topPeers', 'categories' => [TopPeerCategoryPeers, TopPeerCategoryPeers], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_topPeers={_='contacts.topPeers', categories={TopPeerCategoryPeers}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v68/constructors/contacts_topPeersNotModified.md b/old_docs/API_docs_v68/constructors/contacts_topPeersNotModified.md deleted file mode 100644 index 43eae59d..00000000 --- a/old_docs/API_docs_v68/constructors/contacts_topPeersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: contacts.topPeersNotModified -description: Top peer info hasn't changed -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.topPeersNotModified -[Back to constructors index](index.md) - - - -Top peer info hasn't changed - - - - -### Type: [contacts\_TopPeers](../types/contacts_TopPeers.md) - - -### Example: - -```php -$contacts_topPeersNotModified = ['_' => 'contacts.topPeersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -contacts_topPeersNotModified={_='contacts.topPeersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v68/constructors/help.appUpdate.md b/old_docs/API_docs_v68/constructors/help.appUpdate.md new file mode 100644 index 00000000..14b2d75b --- /dev/null +++ b/old_docs/API_docs_v68/constructors/help.appUpdate.md @@ -0,0 +1,41 @@ +--- +title: help.appUpdate +description: An update is available for the application. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.appUpdate +[Back to constructors index](index.md) + + + +An update is available for the application. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|id|[int](../types/int.md) | Yes|Update ID| +|critical|[Bool](../types/Bool.md) | Yes|Critical?| +|url|[string](../types/string.md) | Yes|Application download URL| +|text|[string](../types/string.md) | Yes|Text description of the update| + + + +### Type: [help.AppUpdate](../types/help.AppUpdate.md) + + +### Example: + +```php +$help.appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'url' => 'string', 'text' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +help.appUpdate={_='help.appUpdate', id=int, critical=Bool, url='string', text='string'} + +``` + + diff --git a/old_docs/API_docs_v68/constructors/help.configSimple.md b/old_docs/API_docs_v68/constructors/help.configSimple.md new file mode 100644 index 00000000..516ba611 --- /dev/null +++ b/old_docs/API_docs_v68/constructors/help.configSimple.md @@ -0,0 +1,41 @@ +--- +title: help.configSimple +description: Config simple +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.configSimple +[Back to constructors index](index.md) + + + +Config simple + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Date| +|expires|[int](../types/int.md) | Yes|Expires| +|dc\_id|[int](../types/int.md) | Yes|DC ID| +|ip\_port\_list|Array of [ipPort](../constructors/ipPort.md) | Yes|Ip port list| + + + +### Type: [help.ConfigSimple](../types/help.ConfigSimple.md) + + +### Example: + +```php +$help.configSimple = ['_' => 'help.configSimple', 'date' => int, 'expires' => int, 'dc_id' => int, 'ip_port_list' => [ipPort, ipPort]]; +``` + + +Or, if you're into Lua: + +```lua +help.configSimple={_='help.configSimple', date=int, expires=int, dc_id=int, ip_port_list={ipPort}} + +``` + + diff --git a/old_docs/API_docs_v68/constructors/help.inviteText.md b/old_docs/API_docs_v68/constructors/help.inviteText.md new file mode 100644 index 00000000..6a6261c1 --- /dev/null +++ b/old_docs/API_docs_v68/constructors/help.inviteText.md @@ -0,0 +1,38 @@ +--- +title: help.inviteText +description: Text of a text message with an invitation to install application. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.inviteText +[Back to constructors index](index.md) + + + +Text of a text message with an invitation to install application. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|message|[string](../types/string.md) | Yes|Text of a message| + + + +### Type: [help.InviteText](../types/help.InviteText.md) + + +### Example: + +```php +$help.inviteText = ['_' => 'help.inviteText', 'message' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +help.inviteText={_='help.inviteText', message='string'} + +``` + + diff --git a/old_docs/API_docs_v68/constructors/help.noAppUpdate.md b/old_docs/API_docs_v68/constructors/help.noAppUpdate.md new file mode 100644 index 00000000..1b69ac9a --- /dev/null +++ b/old_docs/API_docs_v68/constructors/help.noAppUpdate.md @@ -0,0 +1,33 @@ +--- +title: help.noAppUpdate +description: No updates are available for the application. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.noAppUpdate +[Back to constructors index](index.md) + + + +No updates are available for the application. + + + + +### Type: [help.AppUpdate](../types/help.AppUpdate.md) + + +### Example: + +```php +$help.noAppUpdate = ['_' => 'help.noAppUpdate']; +``` + + +Or, if you're into Lua: + +```lua +help.noAppUpdate={_='help.noAppUpdate'} + +``` + + diff --git a/old_docs/API_docs_v68/constructors/help.support.md b/old_docs/API_docs_v68/constructors/help.support.md new file mode 100644 index 00000000..4d4f85fb --- /dev/null +++ b/old_docs/API_docs_v68/constructors/help.support.md @@ -0,0 +1,39 @@ +--- +title: help.support +description: Info on support user. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.support +[Back to constructors index](index.md) + + + +Info on support user. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_number|[string](../types/string.md) | Yes|Phone number| +|user|[User](../types/User.md) | Optional|User| + + + +### Type: [help.Support](../types/help.Support.md) + + +### Example: + +```php +$help.support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => User]; +``` + + +Or, if you're into Lua: + +```lua +help.support={_='help.support', phone_number='string', user=User} + +``` + + diff --git a/old_docs/API_docs_v68/constructors/help.termsOfService.md b/old_docs/API_docs_v68/constructors/help.termsOfService.md new file mode 100644 index 00000000..cab1f128 --- /dev/null +++ b/old_docs/API_docs_v68/constructors/help.termsOfService.md @@ -0,0 +1,38 @@ +--- +title: help.termsOfService +description: Info about the latest telegram Terms Of Service +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.termsOfService +[Back to constructors index](index.md) + + + +Info about the latest telegram Terms Of Service + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|text|[string](../types/string.md) | Yes|Text of the new terms| + + + +### Type: [help.TermsOfService](../types/help.TermsOfService.md) + + +### Example: + +```php +$help.termsOfService = ['_' => 'help.termsOfService', 'text' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +help.termsOfService={_='help.termsOfService', text='string'} + +``` + + diff --git a/old_docs/API_docs_v68/constructors/help_appUpdate.md b/old_docs/API_docs_v68/constructors/help_appUpdate.md deleted file mode 100644 index efba9bdb..00000000 --- a/old_docs/API_docs_v68/constructors/help_appUpdate.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: help.appUpdate -description: An update is available for the application. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.appUpdate -[Back to constructors index](index.md) - - - -An update is available for the application. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|id|[int](../types/int.md) | Yes|Update ID| -|critical|[Bool](../types/Bool.md) | Yes|Critical?| -|url|[string](../types/string.md) | Yes|Application download URL| -|text|[string](../types/string.md) | Yes|Text description of the update| - - - -### Type: [help\_AppUpdate](../types/help_AppUpdate.md) - - -### Example: - -```php -$help_appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'url' => 'string', 'text' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -help_appUpdate={_='help.appUpdate', id=int, critical=Bool, url='string', text='string'} - -``` - - diff --git a/old_docs/API_docs_v68/constructors/help_configSimple.md b/old_docs/API_docs_v68/constructors/help_configSimple.md deleted file mode 100644 index 3138fc23..00000000 --- a/old_docs/API_docs_v68/constructors/help_configSimple.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: help.configSimple -description: Config simple -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.configSimple -[Back to constructors index](index.md) - - - -Config simple - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Date| -|expires|[int](../types/int.md) | Yes|Expires| -|dc\_id|[int](../types/int.md) | Yes|DC ID| -|ip\_port\_list|Array of [ipPort](../constructors/ipPort.md) | Yes|Ip port list| - - - -### Type: [help\_ConfigSimple](../types/help_ConfigSimple.md) - - -### Example: - -```php -$help_configSimple = ['_' => 'help.configSimple', 'date' => int, 'expires' => int, 'dc_id' => int, 'ip_port_list' => [ipPort, ipPort]]; -``` - - -Or, if you're into Lua: - -```lua -help_configSimple={_='help.configSimple', date=int, expires=int, dc_id=int, ip_port_list={ipPort}} - -``` - - diff --git a/old_docs/API_docs_v68/constructors/help_inviteText.md b/old_docs/API_docs_v68/constructors/help_inviteText.md deleted file mode 100644 index b8317ce3..00000000 --- a/old_docs/API_docs_v68/constructors/help_inviteText.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: help.inviteText -description: Text of a text message with an invitation to install application. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.inviteText -[Back to constructors index](index.md) - - - -Text of a text message with an invitation to install application. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|message|[string](../types/string.md) | Yes|Text of a message| - - - -### Type: [help\_InviteText](../types/help_InviteText.md) - - -### Example: - -```php -$help_inviteText = ['_' => 'help.inviteText', 'message' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -help_inviteText={_='help.inviteText', message='string'} - -``` - - diff --git a/old_docs/API_docs_v68/constructors/help_noAppUpdate.md b/old_docs/API_docs_v68/constructors/help_noAppUpdate.md deleted file mode 100644 index 51505e52..00000000 --- a/old_docs/API_docs_v68/constructors/help_noAppUpdate.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: help.noAppUpdate -description: No updates are available for the application. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.noAppUpdate -[Back to constructors index](index.md) - - - -No updates are available for the application. - - - - -### Type: [help\_AppUpdate](../types/help_AppUpdate.md) - - -### Example: - -```php -$help_noAppUpdate = ['_' => 'help.noAppUpdate']; -``` - - -Or, if you're into Lua: - -```lua -help_noAppUpdate={_='help.noAppUpdate'} - -``` - - diff --git a/old_docs/API_docs_v68/constructors/help_support.md b/old_docs/API_docs_v68/constructors/help_support.md deleted file mode 100644 index 148f7f42..00000000 --- a/old_docs/API_docs_v68/constructors/help_support.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: help.support -description: Info on support user. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.support -[Back to constructors index](index.md) - - - -Info on support user. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_number|[string](../types/string.md) | Yes|Phone number| -|user|[User](../types/User.md) | Optional|User| - - - -### Type: [help\_Support](../types/help_Support.md) - - -### Example: - -```php -$help_support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => User]; -``` - - -Or, if you're into Lua: - -```lua -help_support={_='help.support', phone_number='string', user=User} - -``` - - diff --git a/old_docs/API_docs_v68/constructors/help_termsOfService.md b/old_docs/API_docs_v68/constructors/help_termsOfService.md deleted file mode 100644 index 2ac763b3..00000000 --- a/old_docs/API_docs_v68/constructors/help_termsOfService.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: help.termsOfService -description: Info about the latest telegram Terms Of Service -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.termsOfService -[Back to constructors index](index.md) - - - -Info about the latest telegram Terms Of Service - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|text|[string](../types/string.md) | Yes|Text of the new terms| - - - -### Type: [help\_TermsOfService](../types/help_TermsOfService.md) - - -### Example: - -```php -$help_termsOfService = ['_' => 'help.termsOfService', 'text' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -help_termsOfService={_='help.termsOfService', text='string'} - -``` - - diff --git a/old_docs/API_docs_v68/constructors/messages.affectedHistory.md b/old_docs/API_docs_v68/constructors/messages.affectedHistory.md new file mode 100644 index 00000000..5fc8acec --- /dev/null +++ b/old_docs/API_docs_v68/constructors/messages.affectedHistory.md @@ -0,0 +1,40 @@ +--- +title: messages.affectedHistory +description: Affected part of communication history with the user or in a chat. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.affectedHistory +[Back to constructors index](index.md) + + + +Affected part of communication history with the user or in a chat. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| +|pts\_count|[int](../types/int.md) | Yes|Number of affected events| +|offset|[int](../types/int.md) | Yes|If a parameter contains positive value, it is necessary to repeat the method call using the given value; during the proceeding of all the history the value itself shall gradually decrease| + + + +### Type: [messages.AffectedHistory](../types/messages.AffectedHistory.md) + + +### Example: + +```php +$messages.affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.affectedHistory={_='messages.affectedHistory', pts=int, pts_count=int, offset=int} + +``` + + diff --git a/old_docs/API_docs_v68/constructors/messages.affectedMessages.md b/old_docs/API_docs_v68/constructors/messages.affectedMessages.md new file mode 100644 index 00000000..a0e60bdf --- /dev/null +++ b/old_docs/API_docs_v68/constructors/messages.affectedMessages.md @@ -0,0 +1,39 @@ +--- +title: messages.affectedMessages +description: Events affected by operation +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.affectedMessages +[Back to constructors index](index.md) + + + +Events affected by operation + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|[Event count after generation](https://core.telegram.org/api/updates)| +|pts\_count|[int](../types/int.md) | Yes|[Number of events that were generated](https://core.telegram.org/api/updates)| + + + +### Type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) + + +### Example: + +```php +$messages.affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.affectedMessages={_='messages.affectedMessages', pts=int, pts_count=int} + +``` + + diff --git a/old_docs/API_docs_v68/constructors/messages.allStickers.md b/old_docs/API_docs_v68/constructors/messages.allStickers.md new file mode 100644 index 00000000..5f13bfde --- /dev/null +++ b/old_docs/API_docs_v68/constructors/messages.allStickers.md @@ -0,0 +1,39 @@ +--- +title: messages.allStickers +description: Info about all installed stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.allStickers +[Back to constructors index](index.md) + + + +Info about all installed stickers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|sets|Array of [StickerSet](../types/StickerSet.md) | Yes|Sets| + + + +### Type: [messages.AllStickers](../types/messages.AllStickers.md) + + +### Example: + +```php +$messages.allStickers = ['_' => 'messages.allStickers', 'hash' => int, 'sets' => [StickerSet, StickerSet]]; +``` + + +Or, if you're into Lua: + +```lua +messages.allStickers={_='messages.allStickers', hash=int, sets={StickerSet}} + +``` + + diff --git a/old_docs/API_docs_v68/constructors/messages.allStickersNotModified.md b/old_docs/API_docs_v68/constructors/messages.allStickersNotModified.md new file mode 100644 index 00000000..d3db088b --- /dev/null +++ b/old_docs/API_docs_v68/constructors/messages.allStickersNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.allStickersNotModified +description: Info about all installed stickers hasn't changed +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.allStickersNotModified +[Back to constructors index](index.md) + + + +Info about all installed stickers hasn't changed + + + + +### Type: [messages.AllStickers](../types/messages.AllStickers.md) + + +### Example: + +```php +$messages.allStickersNotModified = ['_' => 'messages.allStickersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.allStickersNotModified={_='messages.allStickersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v68/constructors/messages.archivedStickers.md b/old_docs/API_docs_v68/constructors/messages.archivedStickers.md new file mode 100644 index 00000000..6ad9927c --- /dev/null +++ b/old_docs/API_docs_v68/constructors/messages.archivedStickers.md @@ -0,0 +1,39 @@ +--- +title: messages.archivedStickers +description: Archived stickersets +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.archivedStickers +[Back to constructors index](index.md) + + + +Archived stickersets + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Number of archived stickers| +|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| + + + +### Type: [messages.ArchivedStickers](../types/messages.ArchivedStickers.md) + + +### Example: + +```php +$messages.archivedStickers = ['_' => 'messages.archivedStickers', 'count' => int, 'sets' => [StickerSetCovered, StickerSetCovered]]; +``` + + +Or, if you're into Lua: + +```lua +messages.archivedStickers={_='messages.archivedStickers', count=int, sets={StickerSetCovered}} + +``` + + diff --git a/old_docs/API_docs_v68/constructors/messages.botCallbackAnswer.md b/old_docs/API_docs_v68/constructors/messages.botCallbackAnswer.md new file mode 100644 index 00000000..d4d00420 --- /dev/null +++ b/old_docs/API_docs_v68/constructors/messages.botCallbackAnswer.md @@ -0,0 +1,42 @@ +--- +title: messages.botCallbackAnswer +description: Callback answer sent by the bot in response to a button press +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.botCallbackAnswer +[Back to constructors index](index.md) + + + +Callback answer sent by the bot in response to a button press + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|alert|[Bool](../types/Bool.md) | Optional|Whether an alert should be shown to the user instead of a toast notification| +|has\_url|[Bool](../types/Bool.md) | Optional|Whether an URL is present| +|message|[string](../types/string.md) | Optional|Alert to show| +|url|[string](../types/string.md) | Optional|URL to open| +|cache\_time|[int](../types/int.md) | Yes|For how long should this answer be cached| + + + +### Type: [messages.BotCallbackAnswer](../types/messages.BotCallbackAnswer.md) + + +### Example: + +```php +$messages.botCallbackAnswer = ['_' => 'messages.botCallbackAnswer', 'alert' => Bool, 'has_url' => Bool, 'message' => 'string', 'url' => 'string', 'cache_time' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.botCallbackAnswer={_='messages.botCallbackAnswer', alert=Bool, has_url=Bool, message='string', url='string', cache_time=int} + +``` + + diff --git a/old_docs/API_docs_v68/constructors/messages.botResults.md b/old_docs/API_docs_v68/constructors/messages.botResults.md new file mode 100644 index 00000000..785c7260 --- /dev/null +++ b/old_docs/API_docs_v68/constructors/messages.botResults.md @@ -0,0 +1,43 @@ +--- +title: messages.botResults +description: Result of a query to an inline bot +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.botResults +[Back to constructors index](index.md) + + + +Result of a query to an inline bot + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|gallery|[Bool](../types/Bool.md) | Optional|Whether the result is a picture gallery| +|query\_id|[long](../types/long.md) | Yes|Query ID| +|next\_offset|[string](../types/string.md) | Optional|The next offset to use when navigating through results| +|switch\_pm|[InlineBotSwitchPM](../types/InlineBotSwitchPM.md) | Optional|Whether the bot requested the user to message him in private| +|results|Array of [BotInlineResult](../types/BotInlineResult.md) | Yes|Results| +|cache\_time|[int](../types/int.md) | Yes|Caching validity of the results| + + + +### Type: [messages.BotResults](../types/messages.BotResults.md) + + +### Example: + +```php +$messages.botResults = ['_' => 'messages.botResults', 'gallery' => Bool, 'query_id' => long, 'next_offset' => 'string', 'switch_pm' => InlineBotSwitchPM, 'results' => [BotInlineResult, BotInlineResult], 'cache_time' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.botResults={_='messages.botResults', gallery=Bool, query_id=long, next_offset='string', switch_pm=InlineBotSwitchPM, results={BotInlineResult}, cache_time=int} + +``` + + diff --git a/old_docs/API_docs_v68/constructors/messages.channelMessages.md b/old_docs/API_docs_v68/constructors/messages.channelMessages.md new file mode 100644 index 00000000..95633336 --- /dev/null +++ b/old_docs/API_docs_v68/constructors/messages.channelMessages.md @@ -0,0 +1,42 @@ +--- +title: messages.channelMessages +description: Channel messages +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.channelMessages +[Back to constructors index](index.md) + + + +Channel messages + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|[Event count after generation](https://core.telegram.org/api/updates)| +|count|[int](../types/int.md) | Yes|Total number of results were found server-side (may not be all included here)| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Messages](../types/messages.Messages.md) + + +### Example: + +```php +$messages.channelMessages = ['_' => 'messages.channelMessages', 'pts' => int, 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.channelMessages={_='messages.channelMessages', pts=int, count=int, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v68/constructors/messages.chatFull.md b/old_docs/API_docs_v68/constructors/messages.chatFull.md new file mode 100644 index 00000000..3906cc54 --- /dev/null +++ b/old_docs/API_docs_v68/constructors/messages.chatFull.md @@ -0,0 +1,40 @@ +--- +title: messages.chatFull +description: Extended info on chat and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.chatFull +[Back to constructors index](index.md) + + + +Extended info on chat and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|full\_chat|[ChatFull](../types/ChatFull.md) | Yes|Extended info on a chat| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.ChatFull](../types/messages.ChatFull.md) + + +### Example: + +```php +$messages.chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.chatFull={_='messages.chatFull', full_chat=ChatFull, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v68/constructors/messages.chats.md b/old_docs/API_docs_v68/constructors/messages.chats.md new file mode 100644 index 00000000..9ede9ff2 --- /dev/null +++ b/old_docs/API_docs_v68/constructors/messages.chats.md @@ -0,0 +1,38 @@ +--- +title: messages.chats +description: List of chats with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.chats +[Back to constructors index](index.md) + + + +List of chats with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| + + + +### Type: [messages.Chats](../types/messages.Chats.md) + + +### Example: + +```php +$messages.chats = ['_' => 'messages.chats', 'chats' => [Chat, Chat]]; +``` + + +Or, if you're into Lua: + +```lua +messages.chats={_='messages.chats', chats={Chat}} + +``` + + diff --git a/old_docs/API_docs_v68/constructors/messages.chatsSlice.md b/old_docs/API_docs_v68/constructors/messages.chatsSlice.md new file mode 100644 index 00000000..efd153e0 --- /dev/null +++ b/old_docs/API_docs_v68/constructors/messages.chatsSlice.md @@ -0,0 +1,39 @@ +--- +title: messages.chatsSlice +description: Partial list of chats, more would have to be fetched with [pagination](https://core.telegram.org/api/offsets) +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.chatsSlice +[Back to constructors index](index.md) + + + +Partial list of chats, more would have to be fetched with [pagination](https://core.telegram.org/api/offsets) + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of results that were found server-side (not all are included in `chats`)| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| + + + +### Type: [messages.Chats](../types/messages.Chats.md) + + +### Example: + +```php +$messages.chatsSlice = ['_' => 'messages.chatsSlice', 'count' => int, 'chats' => [Chat, Chat]]; +``` + + +Or, if you're into Lua: + +```lua +messages.chatsSlice={_='messages.chatsSlice', count=int, chats={Chat}} + +``` + + diff --git a/old_docs/API_docs_v68/constructors/messages.dhConfig.md b/old_docs/API_docs_v68/constructors/messages.dhConfig.md new file mode 100644 index 00000000..58344f64 --- /dev/null +++ b/old_docs/API_docs_v68/constructors/messages.dhConfig.md @@ -0,0 +1,41 @@ +--- +title: messages.dhConfig +description: New set of configuring parameters. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dhConfig +[Back to constructors index](index.md) + + + +New set of configuring parameters. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|g|[int](../types/int.md) | Yes|New value **prime**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| +|p|[bytes](../types/bytes.md) | Yes|New value **primitive root**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| +|version|[int](../types/int.md) | Yes|Vestion of set of parameters| +|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| + + + +### Type: [messages.DhConfig](../types/messages.DhConfig.md) + + +### Example: + +```php +$messages.dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'version' => int, 'random' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +messages.dhConfig={_='messages.dhConfig', g=int, p='bytes', version=int, random='bytes'} + +``` + + diff --git a/old_docs/API_docs_v68/constructors/messages.dhConfigNotModified.md b/old_docs/API_docs_v68/constructors/messages.dhConfigNotModified.md new file mode 100644 index 00000000..a9a95389 --- /dev/null +++ b/old_docs/API_docs_v68/constructors/messages.dhConfigNotModified.md @@ -0,0 +1,38 @@ +--- +title: messages.dhConfigNotModified +description: Configuring parameters did not change. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dhConfigNotModified +[Back to constructors index](index.md) + + + +Configuring parameters did not change. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| + + + +### Type: [messages.DhConfig](../types/messages.DhConfig.md) + + +### Example: + +```php +$messages.dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +messages.dhConfigNotModified={_='messages.dhConfigNotModified', random='bytes'} + +``` + + diff --git a/old_docs/API_docs_v68/constructors/messages.dialogs.md b/old_docs/API_docs_v68/constructors/messages.dialogs.md new file mode 100644 index 00000000..a72eabce --- /dev/null +++ b/old_docs/API_docs_v68/constructors/messages.dialogs.md @@ -0,0 +1,41 @@ +--- +title: messages.dialogs +description: Full list of chats with messages and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dialogs +[Back to constructors index](index.md) + + + +Full list of chats with messages and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Dialogs](../types/messages.Dialogs.md) + + +### Example: + +```php +$messages.dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.dialogs={_='messages.dialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v68/constructors/messages.dialogsSlice.md b/old_docs/API_docs_v68/constructors/messages.dialogsSlice.md new file mode 100644 index 00000000..26227d2c --- /dev/null +++ b/old_docs/API_docs_v68/constructors/messages.dialogsSlice.md @@ -0,0 +1,42 @@ +--- +title: messages.dialogsSlice +description: Incomplete list of dialogs with messages and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dialogsSlice +[Back to constructors index](index.md) + + + +Incomplete list of dialogs with messages and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of dialogs| +|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Dialogs](../types/messages.Dialogs.md) + + +### Example: + +```php +$messages.dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.dialogsSlice={_='messages.dialogsSlice', count=int, dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v68/constructors/messages.featuredStickers.md b/old_docs/API_docs_v68/constructors/messages.featuredStickers.md new file mode 100644 index 00000000..344376ea --- /dev/null +++ b/old_docs/API_docs_v68/constructors/messages.featuredStickers.md @@ -0,0 +1,40 @@ +--- +title: messages.featuredStickers +description: Featured stickersets +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.featuredStickers +[Back to constructors index](index.md) + + + +Featured stickersets + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| +|unread|Array of [long](../types/long.md) | Yes|Unread| + + + +### Type: [messages.FeaturedStickers](../types/messages.FeaturedStickers.md) + + +### Example: + +```php +$messages.featuredStickers = ['_' => 'messages.featuredStickers', 'hash' => int, 'sets' => [StickerSetCovered, StickerSetCovered], 'unread' => [long, long]]; +``` + + +Or, if you're into Lua: + +```lua +messages.featuredStickers={_='messages.featuredStickers', hash=int, sets={StickerSetCovered}, unread={long}} + +``` + + diff --git a/old_docs/API_docs_v68/constructors/messages.featuredStickersNotModified.md b/old_docs/API_docs_v68/constructors/messages.featuredStickersNotModified.md new file mode 100644 index 00000000..0fe9b4d5 --- /dev/null +++ b/old_docs/API_docs_v68/constructors/messages.featuredStickersNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.featuredStickersNotModified +description: Featured stickers haven't changed +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.featuredStickersNotModified +[Back to constructors index](index.md) + + + +Featured stickers haven't changed + + + + +### Type: [messages.FeaturedStickers](../types/messages.FeaturedStickers.md) + + +### Example: + +```php +$messages.featuredStickersNotModified = ['_' => 'messages.featuredStickersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.featuredStickersNotModified={_='messages.featuredStickersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v68/constructors/messages.foundGifs.md b/old_docs/API_docs_v68/constructors/messages.foundGifs.md new file mode 100644 index 00000000..c75e36f9 --- /dev/null +++ b/old_docs/API_docs_v68/constructors/messages.foundGifs.md @@ -0,0 +1,39 @@ +--- +title: messages.foundGifs +description: Found GIFs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.foundGifs +[Back to constructors index](index.md) + + + +Found GIFs + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|next\_offset|[int](../types/int.md) | Yes|Next offset to use when trying to [load more results](../methods/messages.searchGifs.md)| +|results|Array of [FoundGif](../types/FoundGif.md) | Yes|Results| + + + +### Type: [messages.FoundGifs](../types/messages.FoundGifs.md) + + +### Example: + +```php +$messages.foundGifs = ['_' => 'messages.foundGifs', 'next_offset' => int, 'results' => [FoundGif, FoundGif]]; +``` + + +Or, if you're into Lua: + +```lua +messages.foundGifs={_='messages.foundGifs', next_offset=int, results={FoundGif}} + +``` + + diff --git a/old_docs/API_docs_v68/constructors/messages.highScores.md b/old_docs/API_docs_v68/constructors/messages.highScores.md new file mode 100644 index 00000000..d7d25826 --- /dev/null +++ b/old_docs/API_docs_v68/constructors/messages.highScores.md @@ -0,0 +1,39 @@ +--- +title: messages.highScores +description: Highscores in a game +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.highScores +[Back to constructors index](index.md) + + + +Highscores in a game + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|scores|Array of [HighScore](../types/HighScore.md) | Yes|Scores| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.HighScores](../types/messages.HighScores.md) + + +### Example: + +```php +$messages.highScores = ['_' => 'messages.highScores', 'scores' => [HighScore, HighScore], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.highScores={_='messages.highScores', scores={HighScore}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v68/constructors/messages.messageEditData.md b/old_docs/API_docs_v68/constructors/messages.messageEditData.md new file mode 100644 index 00000000..578b53d9 --- /dev/null +++ b/old_docs/API_docs_v68/constructors/messages.messageEditData.md @@ -0,0 +1,38 @@ +--- +title: messages.messageEditData +description: Message edit data for media +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.messageEditData +[Back to constructors index](index.md) + + + +Message edit data for media + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|caption|[Bool](../types/Bool.md) | Optional|Media caption, if the specified media's caption can be edited| + + + +### Type: [messages.MessageEditData](../types/messages.MessageEditData.md) + + +### Example: + +```php +$messages.messageEditData = ['_' => 'messages.messageEditData', 'caption' => Bool]; +``` + + +Or, if you're into Lua: + +```lua +messages.messageEditData={_='messages.messageEditData', caption=Bool} + +``` + + diff --git a/old_docs/API_docs_v68/constructors/messages.messages.md b/old_docs/API_docs_v68/constructors/messages.messages.md new file mode 100644 index 00000000..3af71dca --- /dev/null +++ b/old_docs/API_docs_v68/constructors/messages.messages.md @@ -0,0 +1,40 @@ +--- +title: messages.messages +description: Full list of messages with auxilary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.messages +[Back to constructors index](index.md) + + + +Full list of messages with auxilary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Messages](../types/messages.Messages.md) + + +### Example: + +```php +$messages.messages = ['_' => 'messages.messages', 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.messages={_='messages.messages', messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v68/constructors/messages.messagesSlice.md b/old_docs/API_docs_v68/constructors/messages.messagesSlice.md new file mode 100644 index 00000000..2fe91df0 --- /dev/null +++ b/old_docs/API_docs_v68/constructors/messages.messagesSlice.md @@ -0,0 +1,41 @@ +--- +title: messages.messagesSlice +description: Incomplete list of messages and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.messagesSlice +[Back to constructors index](index.md) + + + +Incomplete list of messages and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of messages in the list| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Messages](../types/messages.Messages.md) + + +### Example: + +```php +$messages.messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.messagesSlice={_='messages.messagesSlice', count=int, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v68/constructors/messages.peerDialogs.md b/old_docs/API_docs_v68/constructors/messages.peerDialogs.md new file mode 100644 index 00000000..39cb71f8 --- /dev/null +++ b/old_docs/API_docs_v68/constructors/messages.peerDialogs.md @@ -0,0 +1,42 @@ +--- +title: messages.peerDialogs +description: Dialog info of multiple peers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.peerDialogs +[Back to constructors index](index.md) + + + +Dialog info of multiple peers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| +|state|[updates.State](../constructors/updates.State.md) | Yes|Current [update state of dialog](https://core.telegram.org/api/updates)| + + + +### Type: [messages.PeerDialogs](../types/messages.PeerDialogs.md) + + +### Example: + +```php +$messages.peerDialogs = ['_' => 'messages.peerDialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates.State]; +``` + + +Or, if you're into Lua: + +```lua +messages.peerDialogs={_='messages.peerDialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}, state=updates.State} + +``` + + diff --git a/old_docs/API_docs_v68/constructors/messages.recentStickers.md b/old_docs/API_docs_v68/constructors/messages.recentStickers.md new file mode 100644 index 00000000..c5c3b389 --- /dev/null +++ b/old_docs/API_docs_v68/constructors/messages.recentStickers.md @@ -0,0 +1,39 @@ +--- +title: messages.recentStickers +description: Recently used stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.recentStickers +[Back to constructors index](index.md) + + + +Recently used stickers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| + + + +### Type: [messages.RecentStickers](../types/messages.RecentStickers.md) + + +### Example: + +```php +$messages.recentStickers = ['_' => 'messages.recentStickers', 'hash' => int, 'stickers' => [Document, Document]]; +``` + + +Or, if you're into Lua: + +```lua +messages.recentStickers={_='messages.recentStickers', hash=int, stickers={Document}} + +``` + + diff --git a/old_docs/API_docs_v68/constructors/messages.recentStickersNotModified.md b/old_docs/API_docs_v68/constructors/messages.recentStickersNotModified.md new file mode 100644 index 00000000..1c3bbf5c --- /dev/null +++ b/old_docs/API_docs_v68/constructors/messages.recentStickersNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.recentStickersNotModified +description: No new recent sticker was found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.recentStickersNotModified +[Back to constructors index](index.md) + + + +No new recent sticker was found + + + + +### Type: [messages.RecentStickers](../types/messages.RecentStickers.md) + + +### Example: + +```php +$messages.recentStickersNotModified = ['_' => 'messages.recentStickersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.recentStickersNotModified={_='messages.recentStickersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v68/constructors/messages.savedGifs.md b/old_docs/API_docs_v68/constructors/messages.savedGifs.md new file mode 100644 index 00000000..c82929a3 --- /dev/null +++ b/old_docs/API_docs_v68/constructors/messages.savedGifs.md @@ -0,0 +1,39 @@ +--- +title: messages.savedGifs +description: Saved gifs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.savedGifs +[Back to constructors index](index.md) + + + +Saved gifs + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|gifs|Array of [Document](../types/Document.md) | Yes|Gifs| + + + +### Type: [messages.SavedGifs](../types/messages.SavedGifs.md) + + +### Example: + +```php +$messages.savedGifs = ['_' => 'messages.savedGifs', 'hash' => int, 'gifs' => [Document, Document]]; +``` + + +Or, if you're into Lua: + +```lua +messages.savedGifs={_='messages.savedGifs', hash=int, gifs={Document}} + +``` + + diff --git a/old_docs/API_docs_v68/constructors/messages.savedGifsNotModified.md b/old_docs/API_docs_v68/constructors/messages.savedGifsNotModified.md new file mode 100644 index 00000000..0fbccacc --- /dev/null +++ b/old_docs/API_docs_v68/constructors/messages.savedGifsNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.savedGifsNotModified +description: No new saved gifs were found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.savedGifsNotModified +[Back to constructors index](index.md) + + + +No new saved gifs were found + + + + +### Type: [messages.SavedGifs](../types/messages.SavedGifs.md) + + +### Example: + +```php +$messages.savedGifsNotModified = ['_' => 'messages.savedGifsNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.savedGifsNotModified={_='messages.savedGifsNotModified'} + +``` + + diff --git a/old_docs/API_docs_v68/constructors/messages.sentEncryptedFile.md b/old_docs/API_docs_v68/constructors/messages.sentEncryptedFile.md new file mode 100644 index 00000000..1f0e43c6 --- /dev/null +++ b/old_docs/API_docs_v68/constructors/messages.sentEncryptedFile.md @@ -0,0 +1,39 @@ +--- +title: messages.sentEncryptedFile +description: Message with a file enclosure sent to a protected chat +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.sentEncryptedFile +[Back to constructors index](index.md) + + + +Message with a file enclosure sent to a protected chat + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Sending date| +|file|[EncryptedFile](../types/EncryptedFile.md) | Optional|Attached file| + + + +### Type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) + + +### Example: + +```php +$messages.sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile]; +``` + + +Or, if you're into Lua: + +```lua +messages.sentEncryptedFile={_='messages.sentEncryptedFile', date=int, file=EncryptedFile} + +``` + + diff --git a/old_docs/API_docs_v68/constructors/messages.sentEncryptedMessage.md b/old_docs/API_docs_v68/constructors/messages.sentEncryptedMessage.md new file mode 100644 index 00000000..3d5eb40c --- /dev/null +++ b/old_docs/API_docs_v68/constructors/messages.sentEncryptedMessage.md @@ -0,0 +1,38 @@ +--- +title: messages.sentEncryptedMessage +description: Message without file attachemts sent to an encrypted file. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.sentEncryptedMessage +[Back to constructors index](index.md) + + + +Message without file attachemts sent to an encrypted file. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Date of sending| + + + +### Type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) + + +### Example: + +```php +$messages.sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.sentEncryptedMessage={_='messages.sentEncryptedMessage', date=int} + +``` + + diff --git a/old_docs/API_docs_v68/constructors/messages.stickerSet.md b/old_docs/API_docs_v68/constructors/messages.stickerSet.md new file mode 100644 index 00000000..fbc154d0 --- /dev/null +++ b/old_docs/API_docs_v68/constructors/messages.stickerSet.md @@ -0,0 +1,40 @@ +--- +title: messages.stickerSet +description: Stickerset and stickers inside it +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickerSet +[Back to constructors index](index.md) + + + +Stickerset and stickers inside it + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|set|[StickerSet](../types/StickerSet.md) | Yes|The stickerset| +|packs|Array of [StickerPack](../types/StickerPack.md) | Yes|Packs| +|documents|Array of [Document](../types/Document.md) | Yes|Documents| + + + +### Type: [messages.StickerSet](../types/messages.StickerSet.md) + + +### Example: + +```php +$messages.stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'packs' => [StickerPack, StickerPack], 'documents' => [Document, Document]]; +``` + + +Or, if you're into Lua: + +```lua +messages.stickerSet={_='messages.stickerSet', set=StickerSet, packs={StickerPack}, documents={Document}} + +``` + + diff --git a/old_docs/API_docs_v68/constructors/messages.stickerSetInstallResultArchive.md b/old_docs/API_docs_v68/constructors/messages.stickerSetInstallResultArchive.md new file mode 100644 index 00000000..fefe2270 --- /dev/null +++ b/old_docs/API_docs_v68/constructors/messages.stickerSetInstallResultArchive.md @@ -0,0 +1,38 @@ +--- +title: messages.stickerSetInstallResultArchive +description: The stickerset was installed, but since there are too many stickersets some were archived +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickerSetInstallResultArchive +[Back to constructors index](index.md) + + + +The stickerset was installed, but since there are too many stickersets some were archived + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| + + + +### Type: [messages.StickerSetInstallResult](../types/messages.StickerSetInstallResult.md) + + +### Example: + +```php +$messages.stickerSetInstallResultArchive = ['_' => 'messages.stickerSetInstallResultArchive', 'sets' => [StickerSetCovered, StickerSetCovered]]; +``` + + +Or, if you're into Lua: + +```lua +messages.stickerSetInstallResultArchive={_='messages.stickerSetInstallResultArchive', sets={StickerSetCovered}} + +``` + + diff --git a/old_docs/API_docs_v68/constructors/messages.stickerSetInstallResultSuccess.md b/old_docs/API_docs_v68/constructors/messages.stickerSetInstallResultSuccess.md new file mode 100644 index 00000000..bbe8b961 --- /dev/null +++ b/old_docs/API_docs_v68/constructors/messages.stickerSetInstallResultSuccess.md @@ -0,0 +1,33 @@ +--- +title: messages.stickerSetInstallResultSuccess +description: The stickerset was installed successfully +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickerSetInstallResultSuccess +[Back to constructors index](index.md) + + + +The stickerset was installed successfully + + + + +### Type: [messages.StickerSetInstallResult](../types/messages.StickerSetInstallResult.md) + + +### Example: + +```php +$messages.stickerSetInstallResultSuccess = ['_' => 'messages.stickerSetInstallResultSuccess']; +``` + + +Or, if you're into Lua: + +```lua +messages.stickerSetInstallResultSuccess={_='messages.stickerSetInstallResultSuccess'} + +``` + + diff --git a/old_docs/API_docs_v68/constructors/messages.stickers.md b/old_docs/API_docs_v68/constructors/messages.stickers.md new file mode 100644 index 00000000..310b64b0 --- /dev/null +++ b/old_docs/API_docs_v68/constructors/messages.stickers.md @@ -0,0 +1,39 @@ +--- +title: messages.stickers +description: Found stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickers +[Back to constructors index](index.md) + + + +Found stickers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[string](../types/string.md) | Yes|Hash| +|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| + + + +### Type: [messages.Stickers](../types/messages.Stickers.md) + + +### Example: + +```php +$messages.stickers = ['_' => 'messages.stickers', 'hash' => 'string', 'stickers' => [Document, Document]]; +``` + + +Or, if you're into Lua: + +```lua +messages.stickers={_='messages.stickers', hash='string', stickers={Document}} + +``` + + diff --git a/old_docs/API_docs_v68/constructors/messages.stickersNotModified.md b/old_docs/API_docs_v68/constructors/messages.stickersNotModified.md new file mode 100644 index 00000000..e8c7766c --- /dev/null +++ b/old_docs/API_docs_v68/constructors/messages.stickersNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.stickersNotModified +description: No new stickers were found for the given query +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickersNotModified +[Back to constructors index](index.md) + + + +No new stickers were found for the given query + + + + +### Type: [messages.Stickers](../types/messages.Stickers.md) + + +### Example: + +```php +$messages.stickersNotModified = ['_' => 'messages.stickersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.stickersNotModified={_='messages.stickersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v68/constructors/messages_affectedHistory.md b/old_docs/API_docs_v68/constructors/messages_affectedHistory.md deleted file mode 100644 index 449a7e3f..00000000 --- a/old_docs/API_docs_v68/constructors/messages_affectedHistory.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.affectedHistory -description: Affected part of communication history with the user or in a chat. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.affectedHistory -[Back to constructors index](index.md) - - - -Affected part of communication history with the user or in a chat. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| -|pts\_count|[int](../types/int.md) | Yes|Number of affected events| -|offset|[int](../types/int.md) | Yes|If a parameter contains positive value, it is necessary to repeat the method call using the given value; during the proceeding of all the history the value itself shall gradually decrease| - - - -### Type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) - - -### Example: - -```php -$messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_affectedHistory={_='messages.affectedHistory', pts=int, pts_count=int, offset=int} - -``` - - diff --git a/old_docs/API_docs_v68/constructors/messages_affectedMessages.md b/old_docs/API_docs_v68/constructors/messages_affectedMessages.md deleted file mode 100644 index 86760581..00000000 --- a/old_docs/API_docs_v68/constructors/messages_affectedMessages.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.affectedMessages -description: Events affected by operation -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.affectedMessages -[Back to constructors index](index.md) - - - -Events affected by operation - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|[Event count after generation](https://core.telegram.org/api/updates)| -|pts\_count|[int](../types/int.md) | Yes|[Number of events that were generated](https://core.telegram.org/api/updates)| - - - -### Type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) - - -### Example: - -```php -$messages_affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_affectedMessages={_='messages.affectedMessages', pts=int, pts_count=int} - -``` - - diff --git a/old_docs/API_docs_v68/constructors/messages_allStickers.md b/old_docs/API_docs_v68/constructors/messages_allStickers.md deleted file mode 100644 index 2e64f46e..00000000 --- a/old_docs/API_docs_v68/constructors/messages_allStickers.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.allStickers -description: Info about all installed stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.allStickers -[Back to constructors index](index.md) - - - -Info about all installed stickers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|sets|Array of [StickerSet](../types/StickerSet.md) | Yes|Sets| - - - -### Type: [messages\_AllStickers](../types/messages_AllStickers.md) - - -### Example: - -```php -$messages_allStickers = ['_' => 'messages.allStickers', 'hash' => int, 'sets' => [StickerSet, StickerSet]]; -``` - - -Or, if you're into Lua: - -```lua -messages_allStickers={_='messages.allStickers', hash=int, sets={StickerSet}} - -``` - - diff --git a/old_docs/API_docs_v68/constructors/messages_allStickersNotModified.md b/old_docs/API_docs_v68/constructors/messages_allStickersNotModified.md deleted file mode 100644 index c4da85ab..00000000 --- a/old_docs/API_docs_v68/constructors/messages_allStickersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.allStickersNotModified -description: Info about all installed stickers hasn't changed -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.allStickersNotModified -[Back to constructors index](index.md) - - - -Info about all installed stickers hasn't changed - - - - -### Type: [messages\_AllStickers](../types/messages_AllStickers.md) - - -### Example: - -```php -$messages_allStickersNotModified = ['_' => 'messages.allStickersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_allStickersNotModified={_='messages.allStickersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v68/constructors/messages_archivedStickers.md b/old_docs/API_docs_v68/constructors/messages_archivedStickers.md deleted file mode 100644 index 6b28c885..00000000 --- a/old_docs/API_docs_v68/constructors/messages_archivedStickers.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.archivedStickers -description: Archived stickersets -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.archivedStickers -[Back to constructors index](index.md) - - - -Archived stickersets - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Number of archived stickers| -|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| - - - -### Type: [messages\_ArchivedStickers](../types/messages_ArchivedStickers.md) - - -### Example: - -```php -$messages_archivedStickers = ['_' => 'messages.archivedStickers', 'count' => int, 'sets' => [StickerSetCovered, StickerSetCovered]]; -``` - - -Or, if you're into Lua: - -```lua -messages_archivedStickers={_='messages.archivedStickers', count=int, sets={StickerSetCovered}} - -``` - - diff --git a/old_docs/API_docs_v68/constructors/messages_botCallbackAnswer.md b/old_docs/API_docs_v68/constructors/messages_botCallbackAnswer.md deleted file mode 100644 index df8c3185..00000000 --- a/old_docs/API_docs_v68/constructors/messages_botCallbackAnswer.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: messages.botCallbackAnswer -description: Callback answer sent by the bot in response to a button press -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.botCallbackAnswer -[Back to constructors index](index.md) - - - -Callback answer sent by the bot in response to a button press - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|alert|[Bool](../types/Bool.md) | Optional|Whether an alert should be shown to the user instead of a toast notification| -|has\_url|[Bool](../types/Bool.md) | Optional|Whether an URL is present| -|message|[string](../types/string.md) | Optional|Alert to show| -|url|[string](../types/string.md) | Optional|URL to open| -|cache\_time|[int](../types/int.md) | Yes|For how long should this answer be cached| - - - -### Type: [messages\_BotCallbackAnswer](../types/messages_BotCallbackAnswer.md) - - -### Example: - -```php -$messages_botCallbackAnswer = ['_' => 'messages.botCallbackAnswer', 'alert' => Bool, 'has_url' => Bool, 'message' => 'string', 'url' => 'string', 'cache_time' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_botCallbackAnswer={_='messages.botCallbackAnswer', alert=Bool, has_url=Bool, message='string', url='string', cache_time=int} - -``` - - diff --git a/old_docs/API_docs_v68/constructors/messages_botResults.md b/old_docs/API_docs_v68/constructors/messages_botResults.md deleted file mode 100644 index 77b14e35..00000000 --- a/old_docs/API_docs_v68/constructors/messages_botResults.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: messages.botResults -description: Result of a query to an inline bot -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.botResults -[Back to constructors index](index.md) - - - -Result of a query to an inline bot - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|gallery|[Bool](../types/Bool.md) | Optional|Whether the result is a picture gallery| -|query\_id|[long](../types/long.md) | Yes|Query ID| -|next\_offset|[string](../types/string.md) | Optional|The next offset to use when navigating through results| -|switch\_pm|[InlineBotSwitchPM](../types/InlineBotSwitchPM.md) | Optional|Whether the bot requested the user to message him in private| -|results|Array of [BotInlineResult](../types/BotInlineResult.md) | Yes|Results| -|cache\_time|[int](../types/int.md) | Yes|Caching validity of the results| - - - -### Type: [messages\_BotResults](../types/messages_BotResults.md) - - -### Example: - -```php -$messages_botResults = ['_' => 'messages.botResults', 'gallery' => Bool, 'query_id' => long, 'next_offset' => 'string', 'switch_pm' => InlineBotSwitchPM, 'results' => [BotInlineResult, BotInlineResult], 'cache_time' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_botResults={_='messages.botResults', gallery=Bool, query_id=long, next_offset='string', switch_pm=InlineBotSwitchPM, results={BotInlineResult}, cache_time=int} - -``` - - diff --git a/old_docs/API_docs_v68/constructors/messages_channelMessages.md b/old_docs/API_docs_v68/constructors/messages_channelMessages.md deleted file mode 100644 index 12cdb9cd..00000000 --- a/old_docs/API_docs_v68/constructors/messages_channelMessages.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: messages.channelMessages -description: Channel messages -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.channelMessages -[Back to constructors index](index.md) - - - -Channel messages - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|[Event count after generation](https://core.telegram.org/api/updates)| -|count|[int](../types/int.md) | Yes|Total number of results were found server-side (may not be all included here)| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Messages](../types/messages_Messages.md) - - -### Example: - -```php -$messages_channelMessages = ['_' => 'messages.channelMessages', 'pts' => int, 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_channelMessages={_='messages.channelMessages', pts=int, count=int, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v68/constructors/messages_chatFull.md b/old_docs/API_docs_v68/constructors/messages_chatFull.md deleted file mode 100644 index 02f1acdf..00000000 --- a/old_docs/API_docs_v68/constructors/messages_chatFull.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.chatFull -description: Extended info on chat and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.chatFull -[Back to constructors index](index.md) - - - -Extended info on chat and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|full\_chat|[ChatFull](../types/ChatFull.md) | Yes|Extended info on a chat| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_ChatFull](../types/messages_ChatFull.md) - - -### Example: - -```php -$messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_chatFull={_='messages.chatFull', full_chat=ChatFull, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v68/constructors/messages_chats.md b/old_docs/API_docs_v68/constructors/messages_chats.md deleted file mode 100644 index ef3690a9..00000000 --- a/old_docs/API_docs_v68/constructors/messages_chats.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.chats -description: List of chats with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.chats -[Back to constructors index](index.md) - - - -List of chats with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| - - - -### Type: [messages\_Chats](../types/messages_Chats.md) - - -### Example: - -```php -$messages_chats = ['_' => 'messages.chats', 'chats' => [Chat, Chat]]; -``` - - -Or, if you're into Lua: - -```lua -messages_chats={_='messages.chats', chats={Chat}} - -``` - - diff --git a/old_docs/API_docs_v68/constructors/messages_chatsSlice.md b/old_docs/API_docs_v68/constructors/messages_chatsSlice.md deleted file mode 100644 index f19c4357..00000000 --- a/old_docs/API_docs_v68/constructors/messages_chatsSlice.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.chatsSlice -description: Partial list of chats, more would have to be fetched with [pagination](https://core.telegram.org/api/offsets) -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.chatsSlice -[Back to constructors index](index.md) - - - -Partial list of chats, more would have to be fetched with [pagination](https://core.telegram.org/api/offsets) - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of results that were found server-side (not all are included in `chats`)| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| - - - -### Type: [messages\_Chats](../types/messages_Chats.md) - - -### Example: - -```php -$messages_chatsSlice = ['_' => 'messages.chatsSlice', 'count' => int, 'chats' => [Chat, Chat]]; -``` - - -Or, if you're into Lua: - -```lua -messages_chatsSlice={_='messages.chatsSlice', count=int, chats={Chat}} - -``` - - diff --git a/old_docs/API_docs_v68/constructors/messages_dhConfig.md b/old_docs/API_docs_v68/constructors/messages_dhConfig.md deleted file mode 100644 index 42c2feb1..00000000 --- a/old_docs/API_docs_v68/constructors/messages_dhConfig.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: messages.dhConfig -description: New set of configuring parameters. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dhConfig -[Back to constructors index](index.md) - - - -New set of configuring parameters. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|g|[int](../types/int.md) | Yes|New value **prime**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| -|p|[bytes](../types/bytes.md) | Yes|New value **primitive root**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| -|version|[int](../types/int.md) | Yes|Vestion of set of parameters| -|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| - - - -### Type: [messages\_DhConfig](../types/messages_DhConfig.md) - - -### Example: - -```php -$messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'version' => int, 'random' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -messages_dhConfig={_='messages.dhConfig', g=int, p='bytes', version=int, random='bytes'} - -``` - - diff --git a/old_docs/API_docs_v68/constructors/messages_dhConfigNotModified.md b/old_docs/API_docs_v68/constructors/messages_dhConfigNotModified.md deleted file mode 100644 index 5bf64230..00000000 --- a/old_docs/API_docs_v68/constructors/messages_dhConfigNotModified.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.dhConfigNotModified -description: Configuring parameters did not change. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dhConfigNotModified -[Back to constructors index](index.md) - - - -Configuring parameters did not change. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| - - - -### Type: [messages\_DhConfig](../types/messages_DhConfig.md) - - -### Example: - -```php -$messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -messages_dhConfigNotModified={_='messages.dhConfigNotModified', random='bytes'} - -``` - - diff --git a/old_docs/API_docs_v68/constructors/messages_dialogs.md b/old_docs/API_docs_v68/constructors/messages_dialogs.md deleted file mode 100644 index e6a431b4..00000000 --- a/old_docs/API_docs_v68/constructors/messages_dialogs.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: messages.dialogs -description: Full list of chats with messages and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dialogs -[Back to constructors index](index.md) - - - -Full list of chats with messages and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Dialogs](../types/messages_Dialogs.md) - - -### Example: - -```php -$messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_dialogs={_='messages.dialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v68/constructors/messages_dialogsSlice.md b/old_docs/API_docs_v68/constructors/messages_dialogsSlice.md deleted file mode 100644 index f183b9a8..00000000 --- a/old_docs/API_docs_v68/constructors/messages_dialogsSlice.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: messages.dialogsSlice -description: Incomplete list of dialogs with messages and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dialogsSlice -[Back to constructors index](index.md) - - - -Incomplete list of dialogs with messages and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of dialogs| -|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Dialogs](../types/messages_Dialogs.md) - - -### Example: - -```php -$messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_dialogsSlice={_='messages.dialogsSlice', count=int, dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v68/constructors/messages_featuredStickers.md b/old_docs/API_docs_v68/constructors/messages_featuredStickers.md deleted file mode 100644 index 8ef1046e..00000000 --- a/old_docs/API_docs_v68/constructors/messages_featuredStickers.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.featuredStickers -description: Featured stickersets -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.featuredStickers -[Back to constructors index](index.md) - - - -Featured stickersets - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| -|unread|Array of [long](../types/long.md) | Yes|Unread| - - - -### Type: [messages\_FeaturedStickers](../types/messages_FeaturedStickers.md) - - -### Example: - -```php -$messages_featuredStickers = ['_' => 'messages.featuredStickers', 'hash' => int, 'sets' => [StickerSetCovered, StickerSetCovered], 'unread' => [long, long]]; -``` - - -Or, if you're into Lua: - -```lua -messages_featuredStickers={_='messages.featuredStickers', hash=int, sets={StickerSetCovered}, unread={long}} - -``` - - diff --git a/old_docs/API_docs_v68/constructors/messages_featuredStickersNotModified.md b/old_docs/API_docs_v68/constructors/messages_featuredStickersNotModified.md deleted file mode 100644 index de01131b..00000000 --- a/old_docs/API_docs_v68/constructors/messages_featuredStickersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.featuredStickersNotModified -description: Featured stickers haven't changed -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.featuredStickersNotModified -[Back to constructors index](index.md) - - - -Featured stickers haven't changed - - - - -### Type: [messages\_FeaturedStickers](../types/messages_FeaturedStickers.md) - - -### Example: - -```php -$messages_featuredStickersNotModified = ['_' => 'messages.featuredStickersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_featuredStickersNotModified={_='messages.featuredStickersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v68/constructors/messages_foundGifs.md b/old_docs/API_docs_v68/constructors/messages_foundGifs.md deleted file mode 100644 index eb3603ca..00000000 --- a/old_docs/API_docs_v68/constructors/messages_foundGifs.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.foundGifs -description: Found GIFs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.foundGifs -[Back to constructors index](index.md) - - - -Found GIFs - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|next\_offset|[int](../types/int.md) | Yes|Next offset to use when trying to [load more results](../methods/messages.searchGifs.md)| -|results|Array of [FoundGif](../types/FoundGif.md) | Yes|Results| - - - -### Type: [messages\_FoundGifs](../types/messages_FoundGifs.md) - - -### Example: - -```php -$messages_foundGifs = ['_' => 'messages.foundGifs', 'next_offset' => int, 'results' => [FoundGif, FoundGif]]; -``` - - -Or, if you're into Lua: - -```lua -messages_foundGifs={_='messages.foundGifs', next_offset=int, results={FoundGif}} - -``` - - diff --git a/old_docs/API_docs_v68/constructors/messages_highScores.md b/old_docs/API_docs_v68/constructors/messages_highScores.md deleted file mode 100644 index d6fc5210..00000000 --- a/old_docs/API_docs_v68/constructors/messages_highScores.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.highScores -description: Highscores in a game -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.highScores -[Back to constructors index](index.md) - - - -Highscores in a game - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|scores|Array of [HighScore](../types/HighScore.md) | Yes|Scores| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_HighScores](../types/messages_HighScores.md) - - -### Example: - -```php -$messages_highScores = ['_' => 'messages.highScores', 'scores' => [HighScore, HighScore], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_highScores={_='messages.highScores', scores={HighScore}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v68/constructors/messages_messageEditData.md b/old_docs/API_docs_v68/constructors/messages_messageEditData.md deleted file mode 100644 index 76aefca5..00000000 --- a/old_docs/API_docs_v68/constructors/messages_messageEditData.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.messageEditData -description: Message edit data for media -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.messageEditData -[Back to constructors index](index.md) - - - -Message edit data for media - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|caption|[Bool](../types/Bool.md) | Optional|Media caption, if the specified media's caption can be edited| - - - -### Type: [messages\_MessageEditData](../types/messages_MessageEditData.md) - - -### Example: - -```php -$messages_messageEditData = ['_' => 'messages.messageEditData', 'caption' => Bool]; -``` - - -Or, if you're into Lua: - -```lua -messages_messageEditData={_='messages.messageEditData', caption=Bool} - -``` - - diff --git a/old_docs/API_docs_v68/constructors/messages_messages.md b/old_docs/API_docs_v68/constructors/messages_messages.md deleted file mode 100644 index 3e369e1a..00000000 --- a/old_docs/API_docs_v68/constructors/messages_messages.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.messages -description: Full list of messages with auxilary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.messages -[Back to constructors index](index.md) - - - -Full list of messages with auxilary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Messages](../types/messages_Messages.md) - - -### Example: - -```php -$messages_messages = ['_' => 'messages.messages', 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_messages={_='messages.messages', messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v68/constructors/messages_messagesSlice.md b/old_docs/API_docs_v68/constructors/messages_messagesSlice.md deleted file mode 100644 index f9b8dc18..00000000 --- a/old_docs/API_docs_v68/constructors/messages_messagesSlice.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: messages.messagesSlice -description: Incomplete list of messages and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.messagesSlice -[Back to constructors index](index.md) - - - -Incomplete list of messages and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of messages in the list| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Messages](../types/messages_Messages.md) - - -### Example: - -```php -$messages_messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_messagesSlice={_='messages.messagesSlice', count=int, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v68/constructors/messages_peerDialogs.md b/old_docs/API_docs_v68/constructors/messages_peerDialogs.md deleted file mode 100644 index 29b4b842..00000000 --- a/old_docs/API_docs_v68/constructors/messages_peerDialogs.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: messages.peerDialogs -description: Dialog info of multiple peers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.peerDialogs -[Back to constructors index](index.md) - - - -Dialog info of multiple peers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| -|state|[updates\_State](../types/updates_State.md) | Yes|Current [update state of dialog](https://core.telegram.org/api/updates)| - - - -### Type: [messages\_PeerDialogs](../types/messages_PeerDialogs.md) - - -### Example: - -```php -$messages_peerDialogs = ['_' => 'messages.peerDialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates_State]; -``` - - -Or, if you're into Lua: - -```lua -messages_peerDialogs={_='messages.peerDialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}, state=updates_State} - -``` - - diff --git a/old_docs/API_docs_v68/constructors/messages_recentStickers.md b/old_docs/API_docs_v68/constructors/messages_recentStickers.md deleted file mode 100644 index 31b059e5..00000000 --- a/old_docs/API_docs_v68/constructors/messages_recentStickers.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.recentStickers -description: Recently used stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.recentStickers -[Back to constructors index](index.md) - - - -Recently used stickers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| - - - -### Type: [messages\_RecentStickers](../types/messages_RecentStickers.md) - - -### Example: - -```php -$messages_recentStickers = ['_' => 'messages.recentStickers', 'hash' => int, 'stickers' => [Document, Document]]; -``` - - -Or, if you're into Lua: - -```lua -messages_recentStickers={_='messages.recentStickers', hash=int, stickers={Document}} - -``` - - diff --git a/old_docs/API_docs_v68/constructors/messages_recentStickersNotModified.md b/old_docs/API_docs_v68/constructors/messages_recentStickersNotModified.md deleted file mode 100644 index 3e81dceb..00000000 --- a/old_docs/API_docs_v68/constructors/messages_recentStickersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.recentStickersNotModified -description: No new recent sticker was found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.recentStickersNotModified -[Back to constructors index](index.md) - - - -No new recent sticker was found - - - - -### Type: [messages\_RecentStickers](../types/messages_RecentStickers.md) - - -### Example: - -```php -$messages_recentStickersNotModified = ['_' => 'messages.recentStickersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_recentStickersNotModified={_='messages.recentStickersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v68/constructors/messages_savedGifs.md b/old_docs/API_docs_v68/constructors/messages_savedGifs.md deleted file mode 100644 index ed3e8ea3..00000000 --- a/old_docs/API_docs_v68/constructors/messages_savedGifs.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.savedGifs -description: Saved gifs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.savedGifs -[Back to constructors index](index.md) - - - -Saved gifs - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|gifs|Array of [Document](../types/Document.md) | Yes|Gifs| - - - -### Type: [messages\_SavedGifs](../types/messages_SavedGifs.md) - - -### Example: - -```php -$messages_savedGifs = ['_' => 'messages.savedGifs', 'hash' => int, 'gifs' => [Document, Document]]; -``` - - -Or, if you're into Lua: - -```lua -messages_savedGifs={_='messages.savedGifs', hash=int, gifs={Document}} - -``` - - diff --git a/old_docs/API_docs_v68/constructors/messages_savedGifsNotModified.md b/old_docs/API_docs_v68/constructors/messages_savedGifsNotModified.md deleted file mode 100644 index 0f843a0c..00000000 --- a/old_docs/API_docs_v68/constructors/messages_savedGifsNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.savedGifsNotModified -description: No new saved gifs were found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.savedGifsNotModified -[Back to constructors index](index.md) - - - -No new saved gifs were found - - - - -### Type: [messages\_SavedGifs](../types/messages_SavedGifs.md) - - -### Example: - -```php -$messages_savedGifsNotModified = ['_' => 'messages.savedGifsNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_savedGifsNotModified={_='messages.savedGifsNotModified'} - -``` - - diff --git a/old_docs/API_docs_v68/constructors/messages_sentEncryptedFile.md b/old_docs/API_docs_v68/constructors/messages_sentEncryptedFile.md deleted file mode 100644 index fdc2a11e..00000000 --- a/old_docs/API_docs_v68/constructors/messages_sentEncryptedFile.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.sentEncryptedFile -description: Message with a file enclosure sent to a protected chat -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.sentEncryptedFile -[Back to constructors index](index.md) - - - -Message with a file enclosure sent to a protected chat - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Sending date| -|file|[EncryptedFile](../types/EncryptedFile.md) | Optional|Attached file| - - - -### Type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) - - -### Example: - -```php -$messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile]; -``` - - -Or, if you're into Lua: - -```lua -messages_sentEncryptedFile={_='messages.sentEncryptedFile', date=int, file=EncryptedFile} - -``` - - diff --git a/old_docs/API_docs_v68/constructors/messages_sentEncryptedMessage.md b/old_docs/API_docs_v68/constructors/messages_sentEncryptedMessage.md deleted file mode 100644 index 36b2bbff..00000000 --- a/old_docs/API_docs_v68/constructors/messages_sentEncryptedMessage.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.sentEncryptedMessage -description: Message without file attachemts sent to an encrypted file. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.sentEncryptedMessage -[Back to constructors index](index.md) - - - -Message without file attachemts sent to an encrypted file. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Date of sending| - - - -### Type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) - - -### Example: - -```php -$messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_sentEncryptedMessage={_='messages.sentEncryptedMessage', date=int} - -``` - - diff --git a/old_docs/API_docs_v68/constructors/messages_stickerSet.md b/old_docs/API_docs_v68/constructors/messages_stickerSet.md deleted file mode 100644 index 127191de..00000000 --- a/old_docs/API_docs_v68/constructors/messages_stickerSet.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.stickerSet -description: Stickerset and stickers inside it -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickerSet -[Back to constructors index](index.md) - - - -Stickerset and stickers inside it - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|set|[StickerSet](../types/StickerSet.md) | Yes|The stickerset| -|packs|Array of [StickerPack](../types/StickerPack.md) | Yes|Packs| -|documents|Array of [Document](../types/Document.md) | Yes|Documents| - - - -### Type: [messages\_StickerSet](../types/messages_StickerSet.md) - - -### Example: - -```php -$messages_stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'packs' => [StickerPack, StickerPack], 'documents' => [Document, Document]]; -``` - - -Or, if you're into Lua: - -```lua -messages_stickerSet={_='messages.stickerSet', set=StickerSet, packs={StickerPack}, documents={Document}} - -``` - - diff --git a/old_docs/API_docs_v68/constructors/messages_stickerSetInstallResultArchive.md b/old_docs/API_docs_v68/constructors/messages_stickerSetInstallResultArchive.md deleted file mode 100644 index 8a5f4d5d..00000000 --- a/old_docs/API_docs_v68/constructors/messages_stickerSetInstallResultArchive.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.stickerSetInstallResultArchive -description: The stickerset was installed, but since there are too many stickersets some were archived -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickerSetInstallResultArchive -[Back to constructors index](index.md) - - - -The stickerset was installed, but since there are too many stickersets some were archived - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| - - - -### Type: [messages\_StickerSetInstallResult](../types/messages_StickerSetInstallResult.md) - - -### Example: - -```php -$messages_stickerSetInstallResultArchive = ['_' => 'messages.stickerSetInstallResultArchive', 'sets' => [StickerSetCovered, StickerSetCovered]]; -``` - - -Or, if you're into Lua: - -```lua -messages_stickerSetInstallResultArchive={_='messages.stickerSetInstallResultArchive', sets={StickerSetCovered}} - -``` - - diff --git a/old_docs/API_docs_v68/constructors/messages_stickerSetInstallResultSuccess.md b/old_docs/API_docs_v68/constructors/messages_stickerSetInstallResultSuccess.md deleted file mode 100644 index 1d33b89f..00000000 --- a/old_docs/API_docs_v68/constructors/messages_stickerSetInstallResultSuccess.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.stickerSetInstallResultSuccess -description: The stickerset was installed successfully -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickerSetInstallResultSuccess -[Back to constructors index](index.md) - - - -The stickerset was installed successfully - - - - -### Type: [messages\_StickerSetInstallResult](../types/messages_StickerSetInstallResult.md) - - -### Example: - -```php -$messages_stickerSetInstallResultSuccess = ['_' => 'messages.stickerSetInstallResultSuccess']; -``` - - -Or, if you're into Lua: - -```lua -messages_stickerSetInstallResultSuccess={_='messages.stickerSetInstallResultSuccess'} - -``` - - diff --git a/old_docs/API_docs_v68/constructors/messages_stickers.md b/old_docs/API_docs_v68/constructors/messages_stickers.md deleted file mode 100644 index 1c007df2..00000000 --- a/old_docs/API_docs_v68/constructors/messages_stickers.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.stickers -description: Found stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickers -[Back to constructors index](index.md) - - - -Found stickers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[string](../types/string.md) | Yes|Hash| -|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| - - - -### Type: [messages\_Stickers](../types/messages_Stickers.md) - - -### Example: - -```php -$messages_stickers = ['_' => 'messages.stickers', 'hash' => 'string', 'stickers' => [Document, Document]]; -``` - - -Or, if you're into Lua: - -```lua -messages_stickers={_='messages.stickers', hash='string', stickers={Document}} - -``` - - diff --git a/old_docs/API_docs_v68/constructors/messages_stickersNotModified.md b/old_docs/API_docs_v68/constructors/messages_stickersNotModified.md deleted file mode 100644 index 3d434a79..00000000 --- a/old_docs/API_docs_v68/constructors/messages_stickersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.stickersNotModified -description: No new stickers were found for the given query -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickersNotModified -[Back to constructors index](index.md) - - - -No new stickers were found for the given query - - - - -### Type: [messages\_Stickers](../types/messages_Stickers.md) - - -### Example: - -```php -$messages_stickersNotModified = ['_' => 'messages.stickersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_stickersNotModified={_='messages.stickersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v68/constructors/payments.paymentForm.md b/old_docs/API_docs_v68/constructors/payments.paymentForm.md new file mode 100644 index 00000000..90e0f39d --- /dev/null +++ b/old_docs/API_docs_v68/constructors/payments.paymentForm.md @@ -0,0 +1,48 @@ +--- +title: payments.paymentForm +description: Payment form +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: payments.paymentForm +[Back to constructors index](index.md) + + + +Payment form + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|can\_save\_credentials|[Bool](../types/Bool.md) | Optional|Whether the user can choose to save credentials.| +|password\_missing|[Bool](../types/Bool.md) | Optional|Indicates that the user can save payment credentials, but only after setting up a [2FA password](https://core.telegram.org/api/srp) (currently the account doesn't have a [2FA password](https://core.telegram.org/api/srp))| +|bot\_id|[int](../types/int.md) | Yes|Bot ID| +|invoice|[Invoice](../types/Invoice.md) | Yes|Invoice| +|provider\_id|[int](../types/int.md) | Yes|Payment provider ID.| +|url|[string](../types/string.md) | Yes|Payment form URL| +|native\_provider|[string](../types/string.md) | Optional|Payment provider name.
One of the following:
\- `stripe`| +|native\_params|[DataJSON](../types/DataJSON.md) | Optional|Contains information about the payment provider, if available, to support it natively without the need for opening the URL.
A JSON object that can contain the following fields:

\- `publishable_key`: Stripe API publishable key
\- `apple_pay_merchant_id`: Apple Pay merchant ID
\- `android_pay_public_key`: Android Pay public key
\- `android_pay_bgcolor`: Android Pay form background color
\- `android_pay_inverse`: Whether to use the dark theme in the Android Pay form
\- `need_country`: True, if the user country must be provided,
\- `need_zip`: True, if the user ZIP/postal code must be provided,
\- `need_cardholder_name`: True, if the cardholder name must be provided
| +|saved\_info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Optional|Saved server-side order information| +|saved\_credentials|[PaymentSavedCredentials](../types/PaymentSavedCredentials.md) | Optional|Contains information about saved card credentials| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [payments.PaymentForm](../types/payments.PaymentForm.md) + + +### Example: + +```php +$payments.paymentForm = ['_' => 'payments.paymentForm', 'can_save_credentials' => Bool, 'password_missing' => Bool, 'bot_id' => int, 'invoice' => Invoice, 'provider_id' => int, 'url' => 'string', 'native_provider' => 'string', 'native_params' => DataJSON, 'saved_info' => PaymentRequestedInfo, 'saved_credentials' => PaymentSavedCredentials, 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +payments.paymentForm={_='payments.paymentForm', can_save_credentials=Bool, password_missing=Bool, bot_id=int, invoice=Invoice, provider_id=int, url='string', native_provider='string', native_params=DataJSON, saved_info=PaymentRequestedInfo, saved_credentials=PaymentSavedCredentials, users={User}} + +``` + + diff --git a/old_docs/API_docs_v68/constructors/payments.paymentReceipt.md b/old_docs/API_docs_v68/constructors/payments.paymentReceipt.md new file mode 100644 index 00000000..5a0cc190 --- /dev/null +++ b/old_docs/API_docs_v68/constructors/payments.paymentReceipt.md @@ -0,0 +1,47 @@ +--- +title: payments.paymentReceipt +description: Receipt +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: payments.paymentReceipt +[Back to constructors index](index.md) + + + +Receipt + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Date of generation| +|bot\_id|[int](../types/int.md) | Yes|Bot ID| +|invoice|[Invoice](../types/Invoice.md) | Yes|Invoice| +|provider\_id|[int](../types/int.md) | Yes|Provider ID| +|info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Optional|Info| +|shipping|[ShippingOption](../types/ShippingOption.md) | Optional|Selected shipping option| +|currency|[string](../types/string.md) | Yes|Three-letter ISO 4217 [currency](https://core.telegram.org/bots/payments#supported-currencies) code| +|total\_amount|[long](../types/long.md) | Yes|Total amount in the smallest units of the currency (integer, not float/double). For example, for a price of `US$ 1.45` pass `amount = 145`. See the exp parameter in [currencies.json](https://core.telegram.org/bots/payments/currencies.json), it shows the number of digits past the decimal point for each currency (2 for the majority of currencies).| +|credentials\_title|[string](../types/string.md) | Yes|Payment credential name| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [payments.PaymentReceipt](../types/payments.PaymentReceipt.md) + + +### Example: + +```php +$payments.paymentReceipt = ['_' => 'payments.paymentReceipt', 'date' => int, 'bot_id' => int, 'invoice' => Invoice, 'provider_id' => int, 'info' => PaymentRequestedInfo, 'shipping' => ShippingOption, 'currency' => 'string', 'total_amount' => long, 'credentials_title' => 'string', 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +payments.paymentReceipt={_='payments.paymentReceipt', date=int, bot_id=int, invoice=Invoice, provider_id=int, info=PaymentRequestedInfo, shipping=ShippingOption, currency='string', total_amount=long, credentials_title='string', users={User}} + +``` + + diff --git a/old_docs/API_docs_v68/constructors/payments.paymentResult.md b/old_docs/API_docs_v68/constructors/payments.paymentResult.md new file mode 100644 index 00000000..df32fd91 --- /dev/null +++ b/old_docs/API_docs_v68/constructors/payments.paymentResult.md @@ -0,0 +1,38 @@ +--- +title: payments.paymentResult +description: Payment result +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: payments.paymentResult +[Back to constructors index](index.md) + + + +Payment result + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|updates|[Updates](../types/Updates.md) | Yes|Info about the payment| + + + +### Type: [payments.PaymentResult](../types/payments.PaymentResult.md) + + +### Example: + +```php +$payments.paymentResult = ['_' => 'payments.paymentResult', 'updates' => Updates]; +``` + + +Or, if you're into Lua: + +```lua +payments.paymentResult={_='payments.paymentResult', updates=Updates} + +``` + + diff --git a/old_docs/API_docs_v68/constructors/payments.paymentVerficationNeeded.md b/old_docs/API_docs_v68/constructors/payments.paymentVerficationNeeded.md new file mode 100644 index 00000000..3f459215 --- /dev/null +++ b/old_docs/API_docs_v68/constructors/payments.paymentVerficationNeeded.md @@ -0,0 +1,38 @@ +--- +title: payments.paymentVerficationNeeded +description: Payment verfication needed +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: payments.paymentVerficationNeeded +[Back to constructors index](index.md) + + + +Payment verfication needed + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|url|[string](../types/string.md) | Yes|URL| + + + +### Type: [payments.PaymentResult](../types/payments.PaymentResult.md) + + +### Example: + +```php +$payments.paymentVerficationNeeded = ['_' => 'payments.paymentVerficationNeeded', 'url' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +payments.paymentVerficationNeeded={_='payments.paymentVerficationNeeded', url='string'} + +``` + + diff --git a/old_docs/API_docs_v68/constructors/payments.savedInfo.md b/old_docs/API_docs_v68/constructors/payments.savedInfo.md new file mode 100644 index 00000000..a005a842 --- /dev/null +++ b/old_docs/API_docs_v68/constructors/payments.savedInfo.md @@ -0,0 +1,39 @@ +--- +title: payments.savedInfo +description: Saved server-side order information +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: payments.savedInfo +[Back to constructors index](index.md) + + + +Saved server-side order information + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|has\_saved\_credentials|[Bool](../types/Bool.md) | Optional|Whether the user has some saved payment credentials| +|saved\_info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Optional|Saved server-side order information| + + + +### Type: [payments.SavedInfo](../types/payments.SavedInfo.md) + + +### Example: + +```php +$payments.savedInfo = ['_' => 'payments.savedInfo', 'has_saved_credentials' => Bool, 'saved_info' => PaymentRequestedInfo]; +``` + + +Or, if you're into Lua: + +```lua +payments.savedInfo={_='payments.savedInfo', has_saved_credentials=Bool, saved_info=PaymentRequestedInfo} + +``` + + diff --git a/old_docs/API_docs_v68/constructors/payments.validatedRequestedInfo.md b/old_docs/API_docs_v68/constructors/payments.validatedRequestedInfo.md new file mode 100644 index 00000000..4789b28d --- /dev/null +++ b/old_docs/API_docs_v68/constructors/payments.validatedRequestedInfo.md @@ -0,0 +1,39 @@ +--- +title: payments.validatedRequestedInfo +description: Validated user-provided info +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: payments.validatedRequestedInfo +[Back to constructors index](index.md) + + + +Validated user-provided info + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|id|[string](../types/string.md) | Optional|ID| +|shipping\_options|Array of [ShippingOption](../types/ShippingOption.md) | Optional|Shipping options| + + + +### Type: [payments.ValidatedRequestedInfo](../types/payments.ValidatedRequestedInfo.md) + + +### Example: + +```php +$payments.validatedRequestedInfo = ['_' => 'payments.validatedRequestedInfo', 'id' => 'string', 'shipping_options' => [ShippingOption, ShippingOption]]; +``` + + +Or, if you're into Lua: + +```lua +payments.validatedRequestedInfo={_='payments.validatedRequestedInfo', id='string', shipping_options={ShippingOption}} + +``` + + diff --git a/old_docs/API_docs_v68/constructors/payments_paymentForm.md b/old_docs/API_docs_v68/constructors/payments_paymentForm.md deleted file mode 100644 index 88848527..00000000 --- a/old_docs/API_docs_v68/constructors/payments_paymentForm.md +++ /dev/null @@ -1,48 +0,0 @@ ---- -title: payments.paymentForm -description: Payment form -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: payments.paymentForm -[Back to constructors index](index.md) - - - -Payment form - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|can\_save\_credentials|[Bool](../types/Bool.md) | Optional|Whether the user can choose to save credentials.| -|password\_missing|[Bool](../types/Bool.md) | Optional|Indicates that the user can save payment credentials, but only after setting up a [2FA password](https://core.telegram.org/api/srp) (currently the account doesn't have a [2FA password](https://core.telegram.org/api/srp))| -|bot\_id|[int](../types/int.md) | Yes|Bot ID| -|invoice|[Invoice](../types/Invoice.md) | Yes|Invoice| -|provider\_id|[int](../types/int.md) | Yes|Payment provider ID.| -|url|[string](../types/string.md) | Yes|Payment form URL| -|native\_provider|[string](../types/string.md) | Optional|Payment provider name.
One of the following:
\- `stripe`| -|native\_params|[DataJSON](../types/DataJSON.md) | Optional|Contains information about the payment provider, if available, to support it natively without the need for opening the URL.
A JSON object that can contain the following fields:

\- `publishable_key`: Stripe API publishable key
\- `apple_pay_merchant_id`: Apple Pay merchant ID
\- `android_pay_public_key`: Android Pay public key
\- `android_pay_bgcolor`: Android Pay form background color
\- `android_pay_inverse`: Whether to use the dark theme in the Android Pay form
\- `need_country`: True, if the user country must be provided,
\- `need_zip`: True, if the user ZIP/postal code must be provided,
\- `need_cardholder_name`: True, if the cardholder name must be provided
| -|saved\_info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Optional|Saved server-side order information| -|saved\_credentials|[PaymentSavedCredentials](../types/PaymentSavedCredentials.md) | Optional|Contains information about saved card credentials| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [payments\_PaymentForm](../types/payments_PaymentForm.md) - - -### Example: - -```php -$payments_paymentForm = ['_' => 'payments.paymentForm', 'can_save_credentials' => Bool, 'password_missing' => Bool, 'bot_id' => int, 'invoice' => Invoice, 'provider_id' => int, 'url' => 'string', 'native_provider' => 'string', 'native_params' => DataJSON, 'saved_info' => PaymentRequestedInfo, 'saved_credentials' => PaymentSavedCredentials, 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -payments_paymentForm={_='payments.paymentForm', can_save_credentials=Bool, password_missing=Bool, bot_id=int, invoice=Invoice, provider_id=int, url='string', native_provider='string', native_params=DataJSON, saved_info=PaymentRequestedInfo, saved_credentials=PaymentSavedCredentials, users={User}} - -``` - - diff --git a/old_docs/API_docs_v68/constructors/payments_paymentReceipt.md b/old_docs/API_docs_v68/constructors/payments_paymentReceipt.md deleted file mode 100644 index 411e9dee..00000000 --- a/old_docs/API_docs_v68/constructors/payments_paymentReceipt.md +++ /dev/null @@ -1,47 +0,0 @@ ---- -title: payments.paymentReceipt -description: Receipt -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: payments.paymentReceipt -[Back to constructors index](index.md) - - - -Receipt - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Date of generation| -|bot\_id|[int](../types/int.md) | Yes|Bot ID| -|invoice|[Invoice](../types/Invoice.md) | Yes|Invoice| -|provider\_id|[int](../types/int.md) | Yes|Provider ID| -|info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Optional|Info| -|shipping|[ShippingOption](../types/ShippingOption.md) | Optional|Selected shipping option| -|currency|[string](../types/string.md) | Yes|Three-letter ISO 4217 [currency](https://core.telegram.org/bots/payments#supported-currencies) code| -|total\_amount|[long](../types/long.md) | Yes|Total amount in the smallest units of the currency (integer, not float/double). For example, for a price of `US$ 1.45` pass `amount = 145`. See the exp parameter in [currencies.json](https://core.telegram.org/bots/payments/currencies.json), it shows the number of digits past the decimal point for each currency (2 for the majority of currencies).| -|credentials\_title|[string](../types/string.md) | Yes|Payment credential name| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [payments\_PaymentReceipt](../types/payments_PaymentReceipt.md) - - -### Example: - -```php -$payments_paymentReceipt = ['_' => 'payments.paymentReceipt', 'date' => int, 'bot_id' => int, 'invoice' => Invoice, 'provider_id' => int, 'info' => PaymentRequestedInfo, 'shipping' => ShippingOption, 'currency' => 'string', 'total_amount' => long, 'credentials_title' => 'string', 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -payments_paymentReceipt={_='payments.paymentReceipt', date=int, bot_id=int, invoice=Invoice, provider_id=int, info=PaymentRequestedInfo, shipping=ShippingOption, currency='string', total_amount=long, credentials_title='string', users={User}} - -``` - - diff --git a/old_docs/API_docs_v68/constructors/payments_paymentResult.md b/old_docs/API_docs_v68/constructors/payments_paymentResult.md deleted file mode 100644 index 12af1d36..00000000 --- a/old_docs/API_docs_v68/constructors/payments_paymentResult.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: payments.paymentResult -description: Payment result -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: payments.paymentResult -[Back to constructors index](index.md) - - - -Payment result - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|updates|[Updates](../types/Updates.md) | Yes|Info about the payment| - - - -### Type: [payments\_PaymentResult](../types/payments_PaymentResult.md) - - -### Example: - -```php -$payments_paymentResult = ['_' => 'payments.paymentResult', 'updates' => Updates]; -``` - - -Or, if you're into Lua: - -```lua -payments_paymentResult={_='payments.paymentResult', updates=Updates} - -``` - - diff --git a/old_docs/API_docs_v68/constructors/payments_paymentVerficationNeeded.md b/old_docs/API_docs_v68/constructors/payments_paymentVerficationNeeded.md deleted file mode 100644 index 70ca205d..00000000 --- a/old_docs/API_docs_v68/constructors/payments_paymentVerficationNeeded.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: payments.paymentVerficationNeeded -description: Payment verfication needed -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: payments.paymentVerficationNeeded -[Back to constructors index](index.md) - - - -Payment verfication needed - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|url|[string](../types/string.md) | Yes|URL| - - - -### Type: [payments\_PaymentResult](../types/payments_PaymentResult.md) - - -### Example: - -```php -$payments_paymentVerficationNeeded = ['_' => 'payments.paymentVerficationNeeded', 'url' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -payments_paymentVerficationNeeded={_='payments.paymentVerficationNeeded', url='string'} - -``` - - diff --git a/old_docs/API_docs_v68/constructors/payments_savedInfo.md b/old_docs/API_docs_v68/constructors/payments_savedInfo.md deleted file mode 100644 index 19d3aee5..00000000 --- a/old_docs/API_docs_v68/constructors/payments_savedInfo.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: payments.savedInfo -description: Saved server-side order information -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: payments.savedInfo -[Back to constructors index](index.md) - - - -Saved server-side order information - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|has\_saved\_credentials|[Bool](../types/Bool.md) | Optional|Whether the user has some saved payment credentials| -|saved\_info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Optional|Saved server-side order information| - - - -### Type: [payments\_SavedInfo](../types/payments_SavedInfo.md) - - -### Example: - -```php -$payments_savedInfo = ['_' => 'payments.savedInfo', 'has_saved_credentials' => Bool, 'saved_info' => PaymentRequestedInfo]; -``` - - -Or, if you're into Lua: - -```lua -payments_savedInfo={_='payments.savedInfo', has_saved_credentials=Bool, saved_info=PaymentRequestedInfo} - -``` - - diff --git a/old_docs/API_docs_v68/constructors/payments_validatedRequestedInfo.md b/old_docs/API_docs_v68/constructors/payments_validatedRequestedInfo.md deleted file mode 100644 index a07c7d06..00000000 --- a/old_docs/API_docs_v68/constructors/payments_validatedRequestedInfo.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: payments.validatedRequestedInfo -description: Validated user-provided info -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: payments.validatedRequestedInfo -[Back to constructors index](index.md) - - - -Validated user-provided info - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|id|[string](../types/string.md) | Optional|ID| -|shipping\_options|Array of [ShippingOption](../types/ShippingOption.md) | Optional|Shipping options| - - - -### Type: [payments\_ValidatedRequestedInfo](../types/payments_ValidatedRequestedInfo.md) - - -### Example: - -```php -$payments_validatedRequestedInfo = ['_' => 'payments.validatedRequestedInfo', 'id' => 'string', 'shipping_options' => [ShippingOption, ShippingOption]]; -``` - - -Or, if you're into Lua: - -```lua -payments_validatedRequestedInfo={_='payments.validatedRequestedInfo', id='string', shipping_options={ShippingOption}} - -``` - - diff --git a/old_docs/API_docs_v68/constructors/phone.phoneCall.md b/old_docs/API_docs_v68/constructors/phone.phoneCall.md new file mode 100644 index 00000000..8c1d26d4 --- /dev/null +++ b/old_docs/API_docs_v68/constructors/phone.phoneCall.md @@ -0,0 +1,39 @@ +--- +title: phone.phoneCall +description: A VoIP phone call +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: phone.phoneCall +[Back to constructors index](index.md) + + + +A VoIP phone call + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_call|[PhoneCall](../types/PhoneCall.md) | Optional|The VoIP phone call| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [phone.PhoneCall](../types/phone.PhoneCall.md) + + +### Example: + +```php +$phone.phoneCall = ['_' => 'phone.phoneCall', 'phone_call' => PhoneCall, 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +phone.phoneCall={_='phone.phoneCall', phone_call=PhoneCall, users={User}} + +``` + + diff --git a/old_docs/API_docs_v68/constructors/phone_phoneCall.md b/old_docs/API_docs_v68/constructors/phone_phoneCall.md deleted file mode 100644 index 94314567..00000000 --- a/old_docs/API_docs_v68/constructors/phone_phoneCall.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: phone.phoneCall -description: A VoIP phone call -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: phone.phoneCall -[Back to constructors index](index.md) - - - -A VoIP phone call - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_call|[PhoneCall](../types/PhoneCall.md) | Optional|The VoIP phone call| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [phone\_PhoneCall](../types/phone_PhoneCall.md) - - -### Example: - -```php -$phone_phoneCall = ['_' => 'phone.phoneCall', 'phone_call' => PhoneCall, 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -phone_phoneCall={_='phone.phoneCall', phone_call=PhoneCall, users={User}} - -``` - - diff --git a/old_docs/API_docs_v68/constructors/photos.photo.md b/old_docs/API_docs_v68/constructors/photos.photo.md new file mode 100644 index 00000000..43d3efc7 --- /dev/null +++ b/old_docs/API_docs_v68/constructors/photos.photo.md @@ -0,0 +1,39 @@ +--- +title: photos.photo +description: Photo with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: photos.photo +[Back to constructors index](index.md) + + + +Photo with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|photo|[Photo](../types/Photo.md) | Optional|Photo| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [photos.Photo](../types/photos.Photo.md) + + +### Example: + +```php +$photos.photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +photos.photo={_='photos.photo', photo=Photo, users={User}} + +``` + + diff --git a/old_docs/API_docs_v68/constructors/photos.photos.md b/old_docs/API_docs_v68/constructors/photos.photos.md new file mode 100644 index 00000000..901a9693 --- /dev/null +++ b/old_docs/API_docs_v68/constructors/photos.photos.md @@ -0,0 +1,39 @@ +--- +title: photos.photos +description: Full list of photos with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: photos.photos +[Back to constructors index](index.md) + + + +Full list of photos with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [photos.Photos](../types/photos.Photos.md) + + +### Example: + +```php +$photos.photos = ['_' => 'photos.photos', 'photos' => [Photo, Photo], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +photos.photos={_='photos.photos', photos={Photo}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v68/constructors/photos.photosSlice.md b/old_docs/API_docs_v68/constructors/photos.photosSlice.md new file mode 100644 index 00000000..2cca3546 --- /dev/null +++ b/old_docs/API_docs_v68/constructors/photos.photosSlice.md @@ -0,0 +1,40 @@ +--- +title: photos.photosSlice +description: Incomplete list of photos with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: photos.photosSlice +[Back to constructors index](index.md) + + + +Incomplete list of photos with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of photos| +|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [photos.Photos](../types/photos.Photos.md) + + +### Example: + +```php +$photos.photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo, Photo], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +photos.photosSlice={_='photos.photosSlice', count=int, photos={Photo}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v68/constructors/photos_photo.md b/old_docs/API_docs_v68/constructors/photos_photo.md deleted file mode 100644 index d5ad61d9..00000000 --- a/old_docs/API_docs_v68/constructors/photos_photo.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: photos.photo -description: Photo with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: photos.photo -[Back to constructors index](index.md) - - - -Photo with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|photo|[Photo](../types/Photo.md) | Optional|Photo| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [photos\_Photo](../types/photos_Photo.md) - - -### Example: - -```php -$photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -photos_photo={_='photos.photo', photo=Photo, users={User}} - -``` - - diff --git a/old_docs/API_docs_v68/constructors/photos_photos.md b/old_docs/API_docs_v68/constructors/photos_photos.md deleted file mode 100644 index 6ae5d048..00000000 --- a/old_docs/API_docs_v68/constructors/photos_photos.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: photos.photos -description: Full list of photos with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: photos.photos -[Back to constructors index](index.md) - - - -Full list of photos with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [photos\_Photos](../types/photos_Photos.md) - - -### Example: - -```php -$photos_photos = ['_' => 'photos.photos', 'photos' => [Photo, Photo], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -photos_photos={_='photos.photos', photos={Photo}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v68/constructors/photos_photosSlice.md b/old_docs/API_docs_v68/constructors/photos_photosSlice.md deleted file mode 100644 index 5c465c21..00000000 --- a/old_docs/API_docs_v68/constructors/photos_photosSlice.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: photos.photosSlice -description: Incomplete list of photos with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: photos.photosSlice -[Back to constructors index](index.md) - - - -Incomplete list of photos with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of photos| -|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [photos\_Photos](../types/photos_Photos.md) - - -### Example: - -```php -$photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo, Photo], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -photos_photosSlice={_='photos.photosSlice', count=int, photos={Photo}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v68/constructors/storage.fileGif.md b/old_docs/API_docs_v68/constructors/storage.fileGif.md new file mode 100644 index 00000000..8193bd25 --- /dev/null +++ b/old_docs/API_docs_v68/constructors/storage.fileGif.md @@ -0,0 +1,33 @@ +--- +title: storage.fileGif +description: GIF image. MIME type: `image/gif`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileGif +[Back to constructors index](index.md) + + + +GIF image. MIME type: `image/gif`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileGif = ['_' => 'storage.fileGif']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileGif={_='storage.fileGif'} + +``` + + diff --git a/old_docs/API_docs_v68/constructors/storage.fileJpeg.md b/old_docs/API_docs_v68/constructors/storage.fileJpeg.md new file mode 100644 index 00000000..7f125963 --- /dev/null +++ b/old_docs/API_docs_v68/constructors/storage.fileJpeg.md @@ -0,0 +1,33 @@ +--- +title: storage.fileJpeg +description: JPEG image. MIME type: `image/jpeg`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileJpeg +[Back to constructors index](index.md) + + + +JPEG image. MIME type: `image/jpeg`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileJpeg = ['_' => 'storage.fileJpeg']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileJpeg={_='storage.fileJpeg'} + +``` + + diff --git a/old_docs/API_docs_v68/constructors/storage.fileMov.md b/old_docs/API_docs_v68/constructors/storage.fileMov.md new file mode 100644 index 00000000..cb3742e0 --- /dev/null +++ b/old_docs/API_docs_v68/constructors/storage.fileMov.md @@ -0,0 +1,33 @@ +--- +title: storage.fileMov +description: Quicktime video. MIME type: `video/quicktime`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileMov +[Back to constructors index](index.md) + + + +Quicktime video. MIME type: `video/quicktime`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileMov = ['_' => 'storage.fileMov']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileMov={_='storage.fileMov'} + +``` + + diff --git a/old_docs/API_docs_v68/constructors/storage.fileMp3.md b/old_docs/API_docs_v68/constructors/storage.fileMp3.md new file mode 100644 index 00000000..617f2d39 --- /dev/null +++ b/old_docs/API_docs_v68/constructors/storage.fileMp3.md @@ -0,0 +1,33 @@ +--- +title: storage.fileMp3 +description: Mp3 audio. MIME type: `audio/mpeg`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileMp3 +[Back to constructors index](index.md) + + + +Mp3 audio. MIME type: `audio/mpeg`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileMp3 = ['_' => 'storage.fileMp3']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileMp3={_='storage.fileMp3'} + +``` + + diff --git a/old_docs/API_docs_v68/constructors/storage.fileMp4.md b/old_docs/API_docs_v68/constructors/storage.fileMp4.md new file mode 100644 index 00000000..37038176 --- /dev/null +++ b/old_docs/API_docs_v68/constructors/storage.fileMp4.md @@ -0,0 +1,33 @@ +--- +title: storage.fileMp4 +description: MPEG-4 video. MIME type: `video/mp4`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileMp4 +[Back to constructors index](index.md) + + + +MPEG-4 video. MIME type: `video/mp4`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileMp4 = ['_' => 'storage.fileMp4']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileMp4={_='storage.fileMp4'} + +``` + + diff --git a/old_docs/API_docs_v68/constructors/storage.filePartial.md b/old_docs/API_docs_v68/constructors/storage.filePartial.md new file mode 100644 index 00000000..98779e71 --- /dev/null +++ b/old_docs/API_docs_v68/constructors/storage.filePartial.md @@ -0,0 +1,33 @@ +--- +title: storage.filePartial +description: Part of a bigger file. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.filePartial +[Back to constructors index](index.md) + + + +Part of a bigger file. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.filePartial = ['_' => 'storage.filePartial']; +``` + + +Or, if you're into Lua: + +```lua +storage.filePartial={_='storage.filePartial'} + +``` + + diff --git a/old_docs/API_docs_v68/constructors/storage.filePdf.md b/old_docs/API_docs_v68/constructors/storage.filePdf.md new file mode 100644 index 00000000..136c0614 --- /dev/null +++ b/old_docs/API_docs_v68/constructors/storage.filePdf.md @@ -0,0 +1,33 @@ +--- +title: storage.filePdf +description: PDF document image. MIME type: `application/pdf`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.filePdf +[Back to constructors index](index.md) + + + +PDF document image. MIME type: `application/pdf`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.filePdf = ['_' => 'storage.filePdf']; +``` + + +Or, if you're into Lua: + +```lua +storage.filePdf={_='storage.filePdf'} + +``` + + diff --git a/old_docs/API_docs_v68/constructors/storage.filePng.md b/old_docs/API_docs_v68/constructors/storage.filePng.md new file mode 100644 index 00000000..db01ce0e --- /dev/null +++ b/old_docs/API_docs_v68/constructors/storage.filePng.md @@ -0,0 +1,33 @@ +--- +title: storage.filePng +description: PNG image. MIME type: `image/png`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.filePng +[Back to constructors index](index.md) + + + +PNG image. MIME type: `image/png`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.filePng = ['_' => 'storage.filePng']; +``` + + +Or, if you're into Lua: + +```lua +storage.filePng={_='storage.filePng'} + +``` + + diff --git a/old_docs/API_docs_v68/constructors/storage.fileUnknown.md b/old_docs/API_docs_v68/constructors/storage.fileUnknown.md new file mode 100644 index 00000000..26f0a5ae --- /dev/null +++ b/old_docs/API_docs_v68/constructors/storage.fileUnknown.md @@ -0,0 +1,33 @@ +--- +title: storage.fileUnknown +description: Unknown type. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileUnknown +[Back to constructors index](index.md) + + + +Unknown type. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileUnknown = ['_' => 'storage.fileUnknown']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileUnknown={_='storage.fileUnknown'} + +``` + + diff --git a/old_docs/API_docs_v68/constructors/storage.fileWebp.md b/old_docs/API_docs_v68/constructors/storage.fileWebp.md new file mode 100644 index 00000000..63c9ded1 --- /dev/null +++ b/old_docs/API_docs_v68/constructors/storage.fileWebp.md @@ -0,0 +1,33 @@ +--- +title: storage.fileWebp +description: WEBP image. MIME type: `image/webp`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileWebp +[Back to constructors index](index.md) + + + +WEBP image. MIME type: `image/webp`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileWebp = ['_' => 'storage.fileWebp']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileWebp={_='storage.fileWebp'} + +``` + + diff --git a/old_docs/API_docs_v68/constructors/storage_fileGif.md b/old_docs/API_docs_v68/constructors/storage_fileGif.md deleted file mode 100644 index 218c7491..00000000 --- a/old_docs/API_docs_v68/constructors/storage_fileGif.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileGif -description: GIF image. MIME type: `image/gif`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileGif -[Back to constructors index](index.md) - - - -GIF image. MIME type: `image/gif`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileGif = ['_' => 'storage.fileGif']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileGif={_='storage.fileGif'} - -``` - - diff --git a/old_docs/API_docs_v68/constructors/storage_fileJpeg.md b/old_docs/API_docs_v68/constructors/storage_fileJpeg.md deleted file mode 100644 index 925531cd..00000000 --- a/old_docs/API_docs_v68/constructors/storage_fileJpeg.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileJpeg -description: JPEG image. MIME type: `image/jpeg`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileJpeg -[Back to constructors index](index.md) - - - -JPEG image. MIME type: `image/jpeg`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileJpeg = ['_' => 'storage.fileJpeg']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileJpeg={_='storage.fileJpeg'} - -``` - - diff --git a/old_docs/API_docs_v68/constructors/storage_fileMov.md b/old_docs/API_docs_v68/constructors/storage_fileMov.md deleted file mode 100644 index eaf2a6ff..00000000 --- a/old_docs/API_docs_v68/constructors/storage_fileMov.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileMov -description: Quicktime video. MIME type: `video/quicktime`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileMov -[Back to constructors index](index.md) - - - -Quicktime video. MIME type: `video/quicktime`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileMov = ['_' => 'storage.fileMov']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileMov={_='storage.fileMov'} - -``` - - diff --git a/old_docs/API_docs_v68/constructors/storage_fileMp3.md b/old_docs/API_docs_v68/constructors/storage_fileMp3.md deleted file mode 100644 index 9afcefbb..00000000 --- a/old_docs/API_docs_v68/constructors/storage_fileMp3.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileMp3 -description: Mp3 audio. MIME type: `audio/mpeg`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileMp3 -[Back to constructors index](index.md) - - - -Mp3 audio. MIME type: `audio/mpeg`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileMp3 = ['_' => 'storage.fileMp3']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileMp3={_='storage.fileMp3'} - -``` - - diff --git a/old_docs/API_docs_v68/constructors/storage_fileMp4.md b/old_docs/API_docs_v68/constructors/storage_fileMp4.md deleted file mode 100644 index cdc0e783..00000000 --- a/old_docs/API_docs_v68/constructors/storage_fileMp4.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileMp4 -description: MPEG-4 video. MIME type: `video/mp4`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileMp4 -[Back to constructors index](index.md) - - - -MPEG-4 video. MIME type: `video/mp4`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileMp4 = ['_' => 'storage.fileMp4']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileMp4={_='storage.fileMp4'} - -``` - - diff --git a/old_docs/API_docs_v68/constructors/storage_filePartial.md b/old_docs/API_docs_v68/constructors/storage_filePartial.md deleted file mode 100644 index 9bfadf63..00000000 --- a/old_docs/API_docs_v68/constructors/storage_filePartial.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.filePartial -description: Part of a bigger file. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.filePartial -[Back to constructors index](index.md) - - - -Part of a bigger file. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_filePartial = ['_' => 'storage.filePartial']; -``` - - -Or, if you're into Lua: - -```lua -storage_filePartial={_='storage.filePartial'} - -``` - - diff --git a/old_docs/API_docs_v68/constructors/storage_filePdf.md b/old_docs/API_docs_v68/constructors/storage_filePdf.md deleted file mode 100644 index efb022cc..00000000 --- a/old_docs/API_docs_v68/constructors/storage_filePdf.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.filePdf -description: PDF document image. MIME type: `application/pdf`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.filePdf -[Back to constructors index](index.md) - - - -PDF document image. MIME type: `application/pdf`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_filePdf = ['_' => 'storage.filePdf']; -``` - - -Or, if you're into Lua: - -```lua -storage_filePdf={_='storage.filePdf'} - -``` - - diff --git a/old_docs/API_docs_v68/constructors/storage_filePng.md b/old_docs/API_docs_v68/constructors/storage_filePng.md deleted file mode 100644 index 412759e4..00000000 --- a/old_docs/API_docs_v68/constructors/storage_filePng.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.filePng -description: PNG image. MIME type: `image/png`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.filePng -[Back to constructors index](index.md) - - - -PNG image. MIME type: `image/png`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_filePng = ['_' => 'storage.filePng']; -``` - - -Or, if you're into Lua: - -```lua -storage_filePng={_='storage.filePng'} - -``` - - diff --git a/old_docs/API_docs_v68/constructors/storage_fileUnknown.md b/old_docs/API_docs_v68/constructors/storage_fileUnknown.md deleted file mode 100644 index ed33dd5e..00000000 --- a/old_docs/API_docs_v68/constructors/storage_fileUnknown.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileUnknown -description: Unknown type. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileUnknown -[Back to constructors index](index.md) - - - -Unknown type. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileUnknown = ['_' => 'storage.fileUnknown']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileUnknown={_='storage.fileUnknown'} - -``` - - diff --git a/old_docs/API_docs_v68/constructors/storage_fileWebp.md b/old_docs/API_docs_v68/constructors/storage_fileWebp.md deleted file mode 100644 index 04dcad74..00000000 --- a/old_docs/API_docs_v68/constructors/storage_fileWebp.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileWebp -description: WEBP image. MIME type: `image/webp`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileWebp -[Back to constructors index](index.md) - - - -WEBP image. MIME type: `image/webp`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileWebp = ['_' => 'storage.fileWebp']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileWebp={_='storage.fileWebp'} - -``` - - diff --git a/old_docs/API_docs_v68/constructors/updateNewStickerSet.md b/old_docs/API_docs_v68/constructors/updateNewStickerSet.md index 8a99a363..c32c41ff 100644 --- a/old_docs/API_docs_v68/constructors/updateNewStickerSet.md +++ b/old_docs/API_docs_v68/constructors/updateNewStickerSet.md @@ -14,7 +14,7 @@ A new stickerset was installed | Name | Type | Required | Description | |----------|---------------|----------|-------------| -|stickerset|[messages\_StickerSet](../types/messages_StickerSet.md) | Yes|The installed stickerset| +|stickerset|[messages.StickerSet](../constructors/messages.StickerSet.md) | Yes|The installed stickerset| @@ -24,14 +24,14 @@ A new stickerset was installed ### Example: ```php -$updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages_StickerSet]; +$updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages.StickerSet]; ``` Or, if you're into Lua: ```lua -updateNewStickerSet={_='updateNewStickerSet', stickerset=messages_StickerSet} +updateNewStickerSet={_='updateNewStickerSet', stickerset=messages.StickerSet} ``` diff --git a/old_docs/API_docs_v68/constructors/updates.channelDifference.md b/old_docs/API_docs_v68/constructors/updates.channelDifference.md new file mode 100644 index 00000000..5a13791c --- /dev/null +++ b/old_docs/API_docs_v68/constructors/updates.channelDifference.md @@ -0,0 +1,44 @@ +--- +title: updates.channelDifference +description: The new updates +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.channelDifference +[Back to constructors index](index.md) + + + +The new updates + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates to be fetched using getDifference, starting from the provided `pts`| +|pts|[int](../types/int.md) | Yes|The [PTS](https://core.telegram.org/api/updates) from which to start getting updates the next time| +|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| +|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| +|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [updates.ChannelDifference](../types/updates.ChannelDifference.md) + + +### Example: + +```php +$updates.channelDifference = ['_' => 'updates.channelDifference', 'final' => Bool, 'pts' => int, 'timeout' => int, 'new_messages' => [Message, Message], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +updates.channelDifference={_='updates.channelDifference', final=Bool, pts=int, timeout=int, new_messages={Message}, other_updates={Update}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v68/constructors/updates.channelDifferenceEmpty.md b/old_docs/API_docs_v68/constructors/updates.channelDifferenceEmpty.md new file mode 100644 index 00000000..8ce43da4 --- /dev/null +++ b/old_docs/API_docs_v68/constructors/updates.channelDifferenceEmpty.md @@ -0,0 +1,40 @@ +--- +title: updates.channelDifferenceEmpty +description: There are no new updates +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.channelDifferenceEmpty +[Back to constructors index](index.md) + + + +There are no new updates + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates that must be fetched (always false)| +|pts|[int](../types/int.md) | Yes|The latest [PTS](https://core.telegram.org/api/updates)| +|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| + + + +### Type: [updates.ChannelDifference](../types/updates.ChannelDifference.md) + + +### Example: + +```php +$updates.channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'final' => Bool, 'pts' => int, 'timeout' => int]; +``` + + +Or, if you're into Lua: + +```lua +updates.channelDifferenceEmpty={_='updates.channelDifferenceEmpty', final=Bool, pts=int, timeout=int} + +``` + + diff --git a/old_docs/API_docs_v68/constructors/updates.channelDifferenceTooLong.md b/old_docs/API_docs_v68/constructors/updates.channelDifferenceTooLong.md new file mode 100644 index 00000000..3d47a6df --- /dev/null +++ b/old_docs/API_docs_v68/constructors/updates.channelDifferenceTooLong.md @@ -0,0 +1,57 @@ +--- +title: updates.channelDifferenceTooLong +description: The provided `pts + limit < remote pts`. Simply, there are too many updates to be fetched (more than `limit`), the client has to resolve the update gap in one of the following ways: + +1. Delete all known messages in the chat, begin from scratch by refetching all messages manually with [getHistory](../methods/messages.getHistory.md). It is easy to implement, but suddenly disappearing messages looks awful for the user. +2. Save all messages loaded in the memory until application restart, but delete all messages from database. Messages left in the memory must be lazily updated using calls to [getHistory](../methods/messages.getHistory.md). It looks much smoothly for the user, he will need to redownload messages only after client restart. Unsynchronized messages left in the memory shouldn't be saved to database, results of [getHistory](../methods/messages.getHistory.md) and [getMessages](../methods/messages.getMessages.md) must be used to update state of deleted and edited messages left in the memory. +3. Save all messages loaded in the memory and stored in the database without saving that some messages form continuous ranges. Messages in the database will be excluded from results of getChatHistory and searchChatMessages after application restart and will be available only through getMessage. Every message should still be checked using getHistory. It has more disadvantages over 2) than advantages. +4. Save all messages with saving all data about continuous message ranges. Messages from the database may be used as results of getChatHistory and (if implemented continuous ranges support for searching shared media) searchChatMessages. The messages should still be lazily checked using getHistory, but they are still available offline. It is the best way for gaps support, but it is pretty hard to implement correctly. It should be also noted that some messages like live location messages shouldn't be deleted. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.channelDifferenceTooLong +[Back to constructors index](index.md) + + + +The provided `pts + limit < remote pts`. Simply, there are too many updates to be fetched (more than `limit`), the client has to resolve the update gap in one of the following ways: + +1. Delete all known messages in the chat, begin from scratch by refetching all messages manually with [getHistory](../methods/messages.getHistory.md). It is easy to implement, but suddenly disappearing messages looks awful for the user. +2. Save all messages loaded in the memory until application restart, but delete all messages from database. Messages left in the memory must be lazily updated using calls to [getHistory](../methods/messages.getHistory.md). It looks much smoothly for the user, he will need to redownload messages only after client restart. Unsynchronized messages left in the memory shouldn't be saved to database, results of [getHistory](../methods/messages.getHistory.md) and [getMessages](../methods/messages.getMessages.md) must be used to update state of deleted and edited messages left in the memory. +3. Save all messages loaded in the memory and stored in the database without saving that some messages form continuous ranges. Messages in the database will be excluded from results of getChatHistory and searchChatMessages after application restart and will be available only through getMessage. Every message should still be checked using getHistory. It has more disadvantages over 2) than advantages. +4. Save all messages with saving all data about continuous message ranges. Messages from the database may be used as results of getChatHistory and (if implemented continuous ranges support for searching shared media) searchChatMessages. The messages should still be lazily checked using getHistory, but they are still available offline. It is the best way for gaps support, but it is pretty hard to implement correctly. It should be also noted that some messages like live location messages shouldn't be deleted. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates that must be fetched (always false)| +|pts|[int](../types/int.md) | Yes|Pts| +|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| +|top\_message|[int](../types/int.md) | Yes|Top message| +|read\_inbox\_max\_id|[int](../types/int.md) | Yes|Read inbox max ID| +|read\_outbox\_max\_id|[int](../types/int.md) | Yes|Read outbox max ID| +|unread\_count|[int](../types/int.md) | Yes|Unread count| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [updates.ChannelDifference](../types/updates.ChannelDifference.md) + + +### Example: + +```php +$updates.channelDifferenceTooLong = ['_' => 'updates.channelDifferenceTooLong', 'final' => Bool, 'pts' => int, 'timeout' => int, 'top_message' => int, 'read_inbox_max_id' => int, 'read_outbox_max_id' => int, 'unread_count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +updates.channelDifferenceTooLong={_='updates.channelDifferenceTooLong', final=Bool, pts=int, timeout=int, top_message=int, read_inbox_max_id=int, read_outbox_max_id=int, unread_count=int, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v68/constructors/updates.difference.md b/old_docs/API_docs_v68/constructors/updates.difference.md new file mode 100644 index 00000000..82541b51 --- /dev/null +++ b/old_docs/API_docs_v68/constructors/updates.difference.md @@ -0,0 +1,43 @@ +--- +title: updates.difference +description: Full list of occurred events. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.difference +[Back to constructors index](index.md) + + + +Full list of occurred events. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| +|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| +|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| +|state|[updates.State](../constructors/updates.State.md) | Yes|Current state| + + + +### Type: [updates.Difference](../types/updates.Difference.md) + + +### Example: + +```php +$updates.difference = ['_' => 'updates.difference', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates.State]; +``` + + +Or, if you're into Lua: + +```lua +updates.difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates.State} + +``` + + diff --git a/old_docs/API_docs_v68/constructors/updates.differenceEmpty.md b/old_docs/API_docs_v68/constructors/updates.differenceEmpty.md new file mode 100644 index 00000000..a9dc3bd0 --- /dev/null +++ b/old_docs/API_docs_v68/constructors/updates.differenceEmpty.md @@ -0,0 +1,39 @@ +--- +title: updates.differenceEmpty +description: No events. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.differenceEmpty +[Back to constructors index](index.md) + + + +No events. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Current date| +|seq|[int](../types/int.md) | Yes|Number of sent updates| + + + +### Type: [updates.Difference](../types/updates.Difference.md) + + +### Example: + +```php +$updates.differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int]; +``` + + +Or, if you're into Lua: + +```lua +updates.differenceEmpty={_='updates.differenceEmpty', date=int, seq=int} + +``` + + diff --git a/old_docs/API_docs_v68/constructors/updates.differenceSlice.md b/old_docs/API_docs_v68/constructors/updates.differenceSlice.md new file mode 100644 index 00000000..9daf7a75 --- /dev/null +++ b/old_docs/API_docs_v68/constructors/updates.differenceSlice.md @@ -0,0 +1,43 @@ +--- +title: updates.differenceSlice +description: Incomplete list of occurred events. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.differenceSlice +[Back to constructors index](index.md) + + + +Incomplete list of occurred events. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| +|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| +|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| +|intermediate\_state|[updates.State](../constructors/updates.State.md) | Yes|Intermediary state| + + + +### Type: [updates.Difference](../types/updates.Difference.md) + + +### Example: + +```php +$updates.differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'intermediate_state' => updates.State]; +``` + + +Or, if you're into Lua: + +```lua +updates.differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates.State} + +``` + + diff --git a/old_docs/API_docs_v68/constructors/updates.differenceTooLong.md b/old_docs/API_docs_v68/constructors/updates.differenceTooLong.md new file mode 100644 index 00000000..ef2e7e4d --- /dev/null +++ b/old_docs/API_docs_v68/constructors/updates.differenceTooLong.md @@ -0,0 +1,38 @@ +--- +title: updates.differenceTooLong +description: The difference is [too long](https://core.telegram.org/api/updates#recovering-gaps), and the specified state must be used to refetch updates. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.differenceTooLong +[Back to constructors index](index.md) + + + +The difference is [too long](https://core.telegram.org/api/updates#recovering-gaps), and the specified state must be used to refetch updates. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|The new state to use.| + + + +### Type: [updates.Difference](../types/updates.Difference.md) + + +### Example: + +```php +$updates.differenceTooLong = ['_' => 'updates.differenceTooLong', 'pts' => int]; +``` + + +Or, if you're into Lua: + +```lua +updates.differenceTooLong={_='updates.differenceTooLong', pts=int} + +``` + + diff --git a/old_docs/API_docs_v68/constructors/updates.state.md b/old_docs/API_docs_v68/constructors/updates.state.md new file mode 100644 index 00000000..abe9ddbb --- /dev/null +++ b/old_docs/API_docs_v68/constructors/updates.state.md @@ -0,0 +1,42 @@ +--- +title: updates.state +description: Updates state. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.state +[Back to constructors index](index.md) + + + +Updates state. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| +|qts|[int](../types/int.md) | Yes|Position in a sequence of updates in secret chats. For further detailes refer to article [secret chats](https://core.telegram.org/api/end-to-end)
Parameter was added in [eigth layer](https://core.telegram.org/api/layers#layer-8).| +|date|[int](../types/int.md) | Yes|Date of condition| +|seq|[int](../types/int.md) | Yes|Number of sent updates| +|unread\_count|[int](../types/int.md) | Yes|Number of unread messages| + + + +### Type: [updates.State](../types/updates.State.md) + + +### Example: + +```php +$updates.state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int]; +``` + + +Or, if you're into Lua: + +```lua +updates.state={_='updates.state', pts=int, qts=int, date=int, seq=int, unread_count=int} + +``` + + diff --git a/old_docs/API_docs_v68/constructors/updates_channelDifference.md b/old_docs/API_docs_v68/constructors/updates_channelDifference.md deleted file mode 100644 index 1b50fbf3..00000000 --- a/old_docs/API_docs_v68/constructors/updates_channelDifference.md +++ /dev/null @@ -1,44 +0,0 @@ ---- -title: updates.channelDifference -description: The new updates -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.channelDifference -[Back to constructors index](index.md) - - - -The new updates - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates to be fetched using getDifference, starting from the provided `pts`| -|pts|[int](../types/int.md) | Yes|The [PTS](https://core.telegram.org/api/updates) from which to start getting updates the next time| -|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| -|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| -|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) - - -### Example: - -```php -$updates_channelDifference = ['_' => 'updates.channelDifference', 'final' => Bool, 'pts' => int, 'timeout' => int, 'new_messages' => [Message, Message], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -updates_channelDifference={_='updates.channelDifference', final=Bool, pts=int, timeout=int, new_messages={Message}, other_updates={Update}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v68/constructors/updates_channelDifferenceEmpty.md b/old_docs/API_docs_v68/constructors/updates_channelDifferenceEmpty.md deleted file mode 100644 index 713137aa..00000000 --- a/old_docs/API_docs_v68/constructors/updates_channelDifferenceEmpty.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: updates.channelDifferenceEmpty -description: There are no new updates -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.channelDifferenceEmpty -[Back to constructors index](index.md) - - - -There are no new updates - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates that must be fetched (always false)| -|pts|[int](../types/int.md) | Yes|The latest [PTS](https://core.telegram.org/api/updates)| -|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| - - - -### Type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) - - -### Example: - -```php -$updates_channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'final' => Bool, 'pts' => int, 'timeout' => int]; -``` - - -Or, if you're into Lua: - -```lua -updates_channelDifferenceEmpty={_='updates.channelDifferenceEmpty', final=Bool, pts=int, timeout=int} - -``` - - diff --git a/old_docs/API_docs_v68/constructors/updates_channelDifferenceTooLong.md b/old_docs/API_docs_v68/constructors/updates_channelDifferenceTooLong.md deleted file mode 100644 index fe561bca..00000000 --- a/old_docs/API_docs_v68/constructors/updates_channelDifferenceTooLong.md +++ /dev/null @@ -1,57 +0,0 @@ ---- -title: updates.channelDifferenceTooLong -description: The provided `pts + limit < remote pts`. Simply, there are too many updates to be fetched (more than `limit`), the client has to resolve the update gap in one of the following ways: - -1. Delete all known messages in the chat, begin from scratch by refetching all messages manually with [getHistory](../methods/messages.getHistory.md). It is easy to implement, but suddenly disappearing messages looks awful for the user. -2. Save all messages loaded in the memory until application restart, but delete all messages from database. Messages left in the memory must be lazily updated using calls to [getHistory](../methods/messages.getHistory.md). It looks much smoothly for the user, he will need to redownload messages only after client restart. Unsynchronized messages left in the memory shouldn't be saved to database, results of [getHistory](../methods/messages.getHistory.md) and [getMessages](../methods/messages.getMessages.md) must be used to update state of deleted and edited messages left in the memory. -3. Save all messages loaded in the memory and stored in the database without saving that some messages form continuous ranges. Messages in the database will be excluded from results of getChatHistory and searchChatMessages after application restart and will be available only through getMessage. Every message should still be checked using getHistory. It has more disadvantages over 2) than advantages. -4. Save all messages with saving all data about continuous message ranges. Messages from the database may be used as results of getChatHistory and (if implemented continuous ranges support for searching shared media) searchChatMessages. The messages should still be lazily checked using getHistory, but they are still available offline. It is the best way for gaps support, but it is pretty hard to implement correctly. It should be also noted that some messages like live location messages shouldn't be deleted. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.channelDifferenceTooLong -[Back to constructors index](index.md) - - - -The provided `pts + limit < remote pts`. Simply, there are too many updates to be fetched (more than `limit`), the client has to resolve the update gap in one of the following ways: - -1. Delete all known messages in the chat, begin from scratch by refetching all messages manually with [getHistory](../methods/messages.getHistory.md). It is easy to implement, but suddenly disappearing messages looks awful for the user. -2. Save all messages loaded in the memory until application restart, but delete all messages from database. Messages left in the memory must be lazily updated using calls to [getHistory](../methods/messages.getHistory.md). It looks much smoothly for the user, he will need to redownload messages only after client restart. Unsynchronized messages left in the memory shouldn't be saved to database, results of [getHistory](../methods/messages.getHistory.md) and [getMessages](../methods/messages.getMessages.md) must be used to update state of deleted and edited messages left in the memory. -3. Save all messages loaded in the memory and stored in the database without saving that some messages form continuous ranges. Messages in the database will be excluded from results of getChatHistory and searchChatMessages after application restart and will be available only through getMessage. Every message should still be checked using getHistory. It has more disadvantages over 2) than advantages. -4. Save all messages with saving all data about continuous message ranges. Messages from the database may be used as results of getChatHistory and (if implemented continuous ranges support for searching shared media) searchChatMessages. The messages should still be lazily checked using getHistory, but they are still available offline. It is the best way for gaps support, but it is pretty hard to implement correctly. It should be also noted that some messages like live location messages shouldn't be deleted. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates that must be fetched (always false)| -|pts|[int](../types/int.md) | Yes|Pts| -|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| -|top\_message|[int](../types/int.md) | Yes|Top message| -|read\_inbox\_max\_id|[int](../types/int.md) | Yes|Read inbox max ID| -|read\_outbox\_max\_id|[int](../types/int.md) | Yes|Read outbox max ID| -|unread\_count|[int](../types/int.md) | Yes|Unread count| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) - - -### Example: - -```php -$updates_channelDifferenceTooLong = ['_' => 'updates.channelDifferenceTooLong', 'final' => Bool, 'pts' => int, 'timeout' => int, 'top_message' => int, 'read_inbox_max_id' => int, 'read_outbox_max_id' => int, 'unread_count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -updates_channelDifferenceTooLong={_='updates.channelDifferenceTooLong', final=Bool, pts=int, timeout=int, top_message=int, read_inbox_max_id=int, read_outbox_max_id=int, unread_count=int, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v68/constructors/updates_difference.md b/old_docs/API_docs_v68/constructors/updates_difference.md deleted file mode 100644 index 71ac7d4c..00000000 --- a/old_docs/API_docs_v68/constructors/updates_difference.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: updates.difference -description: Full list of occurred events. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.difference -[Back to constructors index](index.md) - - - -Full list of occurred events. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| -|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| -|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| -|state|[updates\_State](../types/updates_State.md) | Yes|Current state| - - - -### Type: [updates\_Difference](../types/updates_Difference.md) - - -### Example: - -```php -$updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates_State]; -``` - - -Or, if you're into Lua: - -```lua -updates_difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates_State} - -``` - - diff --git a/old_docs/API_docs_v68/constructors/updates_differenceEmpty.md b/old_docs/API_docs_v68/constructors/updates_differenceEmpty.md deleted file mode 100644 index c3c95c5a..00000000 --- a/old_docs/API_docs_v68/constructors/updates_differenceEmpty.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: updates.differenceEmpty -description: No events. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.differenceEmpty -[Back to constructors index](index.md) - - - -No events. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Current date| -|seq|[int](../types/int.md) | Yes|Number of sent updates| - - - -### Type: [updates\_Difference](../types/updates_Difference.md) - - -### Example: - -```php -$updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int]; -``` - - -Or, if you're into Lua: - -```lua -updates_differenceEmpty={_='updates.differenceEmpty', date=int, seq=int} - -``` - - diff --git a/old_docs/API_docs_v68/constructors/updates_differenceSlice.md b/old_docs/API_docs_v68/constructors/updates_differenceSlice.md deleted file mode 100644 index 8b12a369..00000000 --- a/old_docs/API_docs_v68/constructors/updates_differenceSlice.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: updates.differenceSlice -description: Incomplete list of occurred events. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.differenceSlice -[Back to constructors index](index.md) - - - -Incomplete list of occurred events. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| -|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| -|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| -|intermediate\_state|[updates\_State](../types/updates_State.md) | Yes|Intermediary state| - - - -### Type: [updates\_Difference](../types/updates_Difference.md) - - -### Example: - -```php -$updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'intermediate_state' => updates_State]; -``` - - -Or, if you're into Lua: - -```lua -updates_differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates_State} - -``` - - diff --git a/old_docs/API_docs_v68/constructors/updates_differenceTooLong.md b/old_docs/API_docs_v68/constructors/updates_differenceTooLong.md deleted file mode 100644 index 1fbdfa01..00000000 --- a/old_docs/API_docs_v68/constructors/updates_differenceTooLong.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: updates.differenceTooLong -description: The difference is [too long](https://core.telegram.org/api/updates#recovering-gaps), and the specified state must be used to refetch updates. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.differenceTooLong -[Back to constructors index](index.md) - - - -The difference is [too long](https://core.telegram.org/api/updates#recovering-gaps), and the specified state must be used to refetch updates. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|The new state to use.| - - - -### Type: [updates\_Difference](../types/updates_Difference.md) - - -### Example: - -```php -$updates_differenceTooLong = ['_' => 'updates.differenceTooLong', 'pts' => int]; -``` - - -Or, if you're into Lua: - -```lua -updates_differenceTooLong={_='updates.differenceTooLong', pts=int} - -``` - - diff --git a/old_docs/API_docs_v68/constructors/updates_state.md b/old_docs/API_docs_v68/constructors/updates_state.md deleted file mode 100644 index ef3698e2..00000000 --- a/old_docs/API_docs_v68/constructors/updates_state.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: updates.state -description: Updates state. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.state -[Back to constructors index](index.md) - - - -Updates state. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| -|qts|[int](../types/int.md) | Yes|Position in a sequence of updates in secret chats. For further detailes refer to article [secret chats](https://core.telegram.org/api/end-to-end)
Parameter was added in [eigth layer](https://core.telegram.org/api/layers#layer-8).| -|date|[int](../types/int.md) | Yes|Date of condition| -|seq|[int](../types/int.md) | Yes|Number of sent updates| -|unread\_count|[int](../types/int.md) | Yes|Number of unread messages| - - - -### Type: [updates\_State](../types/updates_State.md) - - -### Example: - -```php -$updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int]; -``` - - -Or, if you're into Lua: - -```lua -updates_state={_='updates.state', pts=int, qts=int, date=int, seq=int, unread_count=int} - -``` - - diff --git a/old_docs/API_docs_v68/constructors/upload.cdnFile.md b/old_docs/API_docs_v68/constructors/upload.cdnFile.md new file mode 100644 index 00000000..d6d75513 --- /dev/null +++ b/old_docs/API_docs_v68/constructors/upload.cdnFile.md @@ -0,0 +1,38 @@ +--- +title: upload.cdnFile +description: Represent a chunk of a [CDN](https://core.telegram.org/cdn) file. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: upload.cdnFile +[Back to constructors index](index.md) + + + +Represent a chunk of a [CDN](https://core.telegram.org/cdn) file. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|bytes|[bytes](../types/bytes.md) | Yes|The data| + + + +### Type: [upload.CdnFile](../types/upload.CdnFile.md) + + +### Example: + +```php +$upload.cdnFile = ['_' => 'upload.cdnFile', 'bytes' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +upload.cdnFile={_='upload.cdnFile', bytes='bytes'} + +``` + + diff --git a/old_docs/API_docs_v68/constructors/upload.cdnFileReuploadNeeded.md b/old_docs/API_docs_v68/constructors/upload.cdnFileReuploadNeeded.md new file mode 100644 index 00000000..7c461a87 --- /dev/null +++ b/old_docs/API_docs_v68/constructors/upload.cdnFileReuploadNeeded.md @@ -0,0 +1,38 @@ +--- +title: upload.cdnFileReuploadNeeded +description: The file was cleared from the temporary RAM cache of the [CDN](https://core.telegram.org/cdn) and has to be reuploaded. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: upload.cdnFileReuploadNeeded +[Back to constructors index](index.md) + + + +The file was cleared from the temporary RAM cache of the [CDN](https://core.telegram.org/cdn) and has to be reuploaded. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|request\_token|[bytes](../types/bytes.md) | Yes|Request token (see [CDN](https://core.telegram.org/cdn))| + + + +### Type: [upload.CdnFile](../types/upload.CdnFile.md) + + +### Example: + +```php +$upload.cdnFileReuploadNeeded = ['_' => 'upload.cdnFileReuploadNeeded', 'request_token' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +upload.cdnFileReuploadNeeded={_='upload.cdnFileReuploadNeeded', request_token='bytes'} + +``` + + diff --git a/old_docs/API_docs_v68/constructors/upload.file.md b/old_docs/API_docs_v68/constructors/upload.file.md new file mode 100644 index 00000000..145a4c24 --- /dev/null +++ b/old_docs/API_docs_v68/constructors/upload.file.md @@ -0,0 +1,40 @@ +--- +title: upload.file +description: File content. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: upload.file +[Back to constructors index](index.md) + + + +File content. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|type|[storage.FileType](../constructors/storage.FileType.md) | Yes|File type| +|mtime|[int](../types/int.md) | Yes|Modification type| +|bytes|[bytes](../types/bytes.md) | Yes|Binary data, file content| + + + +### Type: [upload.File](../types/upload.File.md) + + +### Example: + +```php +$upload.file = ['_' => 'upload.file', 'type' => storage.FileType, 'mtime' => int, 'bytes' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +upload.file={_='upload.file', type=storage.FileType, mtime=int, bytes='bytes'} + +``` + + diff --git a/old_docs/API_docs_v68/constructors/upload.fileCdnRedirect.md b/old_docs/API_docs_v68/constructors/upload.fileCdnRedirect.md new file mode 100644 index 00000000..94aee7bb --- /dev/null +++ b/old_docs/API_docs_v68/constructors/upload.fileCdnRedirect.md @@ -0,0 +1,41 @@ +--- +title: upload.fileCdnRedirect +description: The file must be downloaded from a [CDN DC](https://core.telegram.org/cdn). +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: upload.fileCdnRedirect +[Back to constructors index](index.md) + + + +The file must be downloaded from a [CDN DC](https://core.telegram.org/cdn). + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|dc\_id|[int](../types/int.md) | Yes|[CDN DC](https://core.telegram.org/cdn) ID| +|file\_token|[bytes](../types/bytes.md) | Yes|File token (see [CDN files](https://core.telegram.org/cdn)| +|encryption\_key|[bytes](../types/bytes.md) | Yes|Encryption key (see [CDN files](https://core.telegram.org/cdn)| +|encryption\_iv|[bytes](../types/bytes.md) | Yes|Encryption IV (see [CDN files](https://core.telegram.org/cdn)| + + + +### Type: [upload.File](../types/upload.File.md) + + +### Example: + +```php +$upload.fileCdnRedirect = ['_' => 'upload.fileCdnRedirect', 'dc_id' => int, 'file_token' => 'bytes', 'encryption_key' => 'bytes', 'encryption_iv' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +upload.fileCdnRedirect={_='upload.fileCdnRedirect', dc_id=int, file_token='bytes', encryption_key='bytes', encryption_iv='bytes'} + +``` + + diff --git a/old_docs/API_docs_v68/constructors/upload.webFile.md b/old_docs/API_docs_v68/constructors/upload.webFile.md new file mode 100644 index 00000000..a93ea94f --- /dev/null +++ b/old_docs/API_docs_v68/constructors/upload.webFile.md @@ -0,0 +1,42 @@ +--- +title: upload.webFile +description: Represents a chunk of an [HTTP webfile](https://core.telegram.org/api/files) downloaded through telegram's secure MTProto servers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: upload.webFile +[Back to constructors index](index.md) + + + +Represents a chunk of an [HTTP webfile](https://core.telegram.org/api/files) downloaded through telegram's secure MTProto servers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|size|[int](../types/int.md) | Yes|File size| +|mime\_type|[string](../types/string.md) | Yes|Mime type| +|file\_type|[storage.FileType](../constructors/storage.FileType.md) | Yes|File type| +|mtime|[int](../types/int.md) | Yes|Modified time| +|bytes|[bytes](../types/bytes.md) | Yes|Data| + + + +### Type: [upload.WebFile](../types/upload.WebFile.md) + + +### Example: + +```php +$upload.webFile = ['_' => 'upload.webFile', 'size' => int, 'mime_type' => 'string', 'file_type' => storage.FileType, 'mtime' => int, 'bytes' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +upload.webFile={_='upload.webFile', size=int, mime_type='string', file_type=storage.FileType, mtime=int, bytes='bytes'} + +``` + + diff --git a/old_docs/API_docs_v68/constructors/upload_cdnFile.md b/old_docs/API_docs_v68/constructors/upload_cdnFile.md deleted file mode 100644 index 019b8742..00000000 --- a/old_docs/API_docs_v68/constructors/upload_cdnFile.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: upload.cdnFile -description: Represent a chunk of a [CDN](https://core.telegram.org/cdn) file. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: upload.cdnFile -[Back to constructors index](index.md) - - - -Represent a chunk of a [CDN](https://core.telegram.org/cdn) file. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|bytes|[bytes](../types/bytes.md) | Yes|The data| - - - -### Type: [upload\_CdnFile](../types/upload_CdnFile.md) - - -### Example: - -```php -$upload_cdnFile = ['_' => 'upload.cdnFile', 'bytes' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -upload_cdnFile={_='upload.cdnFile', bytes='bytes'} - -``` - - diff --git a/old_docs/API_docs_v68/constructors/upload_cdnFileReuploadNeeded.md b/old_docs/API_docs_v68/constructors/upload_cdnFileReuploadNeeded.md deleted file mode 100644 index 6588a596..00000000 --- a/old_docs/API_docs_v68/constructors/upload_cdnFileReuploadNeeded.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: upload.cdnFileReuploadNeeded -description: The file was cleared from the temporary RAM cache of the [CDN](https://core.telegram.org/cdn) and has to be reuploaded. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: upload.cdnFileReuploadNeeded -[Back to constructors index](index.md) - - - -The file was cleared from the temporary RAM cache of the [CDN](https://core.telegram.org/cdn) and has to be reuploaded. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|request\_token|[bytes](../types/bytes.md) | Yes|Request token (see [CDN](https://core.telegram.org/cdn))| - - - -### Type: [upload\_CdnFile](../types/upload_CdnFile.md) - - -### Example: - -```php -$upload_cdnFileReuploadNeeded = ['_' => 'upload.cdnFileReuploadNeeded', 'request_token' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -upload_cdnFileReuploadNeeded={_='upload.cdnFileReuploadNeeded', request_token='bytes'} - -``` - - diff --git a/old_docs/API_docs_v68/constructors/upload_file.md b/old_docs/API_docs_v68/constructors/upload_file.md deleted file mode 100644 index 1e07d9fb..00000000 --- a/old_docs/API_docs_v68/constructors/upload_file.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: upload.file -description: File content. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: upload.file -[Back to constructors index](index.md) - - - -File content. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|type|[storage\_FileType](../types/storage_FileType.md) | Yes|File type| -|mtime|[int](../types/int.md) | Yes|Modification type| -|bytes|[bytes](../types/bytes.md) | Yes|Binary data, file content| - - - -### Type: [upload\_File](../types/upload_File.md) - - -### Example: - -```php -$upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int, 'bytes' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -upload_file={_='upload.file', type=storage_FileType, mtime=int, bytes='bytes'} - -``` - - diff --git a/old_docs/API_docs_v68/constructors/upload_fileCdnRedirect.md b/old_docs/API_docs_v68/constructors/upload_fileCdnRedirect.md deleted file mode 100644 index 4bf6f27b..00000000 --- a/old_docs/API_docs_v68/constructors/upload_fileCdnRedirect.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: upload.fileCdnRedirect -description: The file must be downloaded from a [CDN DC](https://core.telegram.org/cdn). -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: upload.fileCdnRedirect -[Back to constructors index](index.md) - - - -The file must be downloaded from a [CDN DC](https://core.telegram.org/cdn). - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|dc\_id|[int](../types/int.md) | Yes|[CDN DC](https://core.telegram.org/cdn) ID| -|file\_token|[bytes](../types/bytes.md) | Yes|File token (see [CDN files](https://core.telegram.org/cdn)| -|encryption\_key|[bytes](../types/bytes.md) | Yes|Encryption key (see [CDN files](https://core.telegram.org/cdn)| -|encryption\_iv|[bytes](../types/bytes.md) | Yes|Encryption IV (see [CDN files](https://core.telegram.org/cdn)| - - - -### Type: [upload\_File](../types/upload_File.md) - - -### Example: - -```php -$upload_fileCdnRedirect = ['_' => 'upload.fileCdnRedirect', 'dc_id' => int, 'file_token' => 'bytes', 'encryption_key' => 'bytes', 'encryption_iv' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -upload_fileCdnRedirect={_='upload.fileCdnRedirect', dc_id=int, file_token='bytes', encryption_key='bytes', encryption_iv='bytes'} - -``` - - diff --git a/old_docs/API_docs_v68/constructors/upload_webFile.md b/old_docs/API_docs_v68/constructors/upload_webFile.md deleted file mode 100644 index ee8053b1..00000000 --- a/old_docs/API_docs_v68/constructors/upload_webFile.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: upload.webFile -description: Represents a chunk of an [HTTP webfile](https://core.telegram.org/api/files) downloaded through telegram's secure MTProto servers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: upload.webFile -[Back to constructors index](index.md) - - - -Represents a chunk of an [HTTP webfile](https://core.telegram.org/api/files) downloaded through telegram's secure MTProto servers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|size|[int](../types/int.md) | Yes|File size| -|mime\_type|[string](../types/string.md) | Yes|Mime type| -|file\_type|[storage\_FileType](../types/storage_FileType.md) | Yes|File type| -|mtime|[int](../types/int.md) | Yes|Modified time| -|bytes|[bytes](../types/bytes.md) | Yes|Data| - - - -### Type: [upload\_WebFile](../types/upload_WebFile.md) - - -### Example: - -```php -$upload_webFile = ['_' => 'upload.webFile', 'size' => int, 'mime_type' => 'string', 'file_type' => storage_FileType, 'mtime' => int, 'bytes' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -upload_webFile={_='upload.webFile', size=int, mime_type='string', file_type=storage_FileType, mtime=int, bytes='bytes'} - -``` - - diff --git a/old_docs/API_docs_v68/constructors/userFull.md b/old_docs/API_docs_v68/constructors/userFull.md index 31af6535..e44e0673 100644 --- a/old_docs/API_docs_v68/constructors/userFull.md +++ b/old_docs/API_docs_v68/constructors/userFull.md @@ -19,7 +19,7 @@ Extended user info |phone\_calls\_private|[Bool](../types/Bool.md) | Optional|Whether this user's privacy settings allow you to call him| |user|[User](../types/User.md) | Optional|Remaining user info| |about|[string](../types/string.md) | Optional|Bio of the user| -|link|[contacts\_Link](../types/contacts_Link.md) | Yes|Link| +|link|[contacts.Link](../constructors/contacts.Link.md) | Yes|Link| |profile\_photo|[Photo](../types/Photo.md) | Optional|Profile photo| |notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Optional|Notification settings| |bot\_info|[BotInfo](../types/BotInfo.md) | Optional|For bots, info about the bot (bot commands, etc)| @@ -33,14 +33,14 @@ Extended user info ### Example: ```php -$userFull = ['_' => 'userFull', 'blocked' => Bool, 'phone_calls_available' => Bool, 'phone_calls_private' => Bool, 'user' => User, 'about' => 'string', 'link' => contacts_Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'bot_info' => BotInfo, 'common_chats_count' => int]; +$userFull = ['_' => 'userFull', 'blocked' => Bool, 'phone_calls_available' => Bool, 'phone_calls_private' => Bool, 'user' => User, 'about' => 'string', 'link' => contacts.Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'bot_info' => BotInfo, 'common_chats_count' => int]; ``` Or, if you're into Lua: ```lua -userFull={_='userFull', blocked=Bool, phone_calls_available=Bool, phone_calls_private=Bool, user=User, about='string', link=contacts_Link, profile_photo=Photo, notify_settings=PeerNotifySettings, bot_info=BotInfo, common_chats_count=int} +userFull={_='userFull', blocked=Bool, phone_calls_available=Bool, phone_calls_private=Bool, user=User, about='string', link=contacts.Link, profile_photo=Photo, notify_settings=PeerNotifySettings, bot_info=BotInfo, common_chats_count=int} ``` diff --git a/old_docs/API_docs_v68/methods/account.getAuthorizations.md b/old_docs/API_docs_v68/methods/account.getAuthorizations.md index f69c130a..fad3a7ae 100644 --- a/old_docs/API_docs_v68/methods/account.getAuthorizations.md +++ b/old_docs/API_docs_v68/methods/account.getAuthorizations.md @@ -11,7 +11,7 @@ Get logged-in sessions -### Return type: [account\_Authorizations](../types/account_Authorizations.md) +### Return type: [account.Authorizations](../types/account.Authorizations.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_Authorizations = $MadelineProto->account->getAuthorizations(); +$account.Authorizations = $MadelineProto->account->getAuthorizations(); ``` Or, if you're into Lua: ```lua -account_Authorizations = account.getAuthorizations({}) +account.Authorizations = account.getAuthorizations({}) ``` diff --git a/old_docs/API_docs_v68/methods/account.getPassword.md b/old_docs/API_docs_v68/methods/account.getPassword.md index eed4aee3..621271b6 100644 --- a/old_docs/API_docs_v68/methods/account.getPassword.md +++ b/old_docs/API_docs_v68/methods/account.getPassword.md @@ -11,7 +11,7 @@ Obtain configuration for two-factor authorization with password -### Return type: [account\_Password](../types/account_Password.md) +### Return type: [account.Password](../types/account.Password.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_Password = $MadelineProto->account->getPassword(); +$account.Password = $MadelineProto->account->getPassword(); ``` Or, if you're into Lua: ```lua -account_Password = account.getPassword({}) +account.Password = account.getPassword({}) ``` diff --git a/old_docs/API_docs_v68/methods/account.getPasswordSettings.md b/old_docs/API_docs_v68/methods/account.getPasswordSettings.md index dcdae61a..3d3cce08 100644 --- a/old_docs/API_docs_v68/methods/account.getPasswordSettings.md +++ b/old_docs/API_docs_v68/methods/account.getPasswordSettings.md @@ -16,7 +16,7 @@ You cannot use this method directly; use $MadelineProto->update_2fa($params), in |current\_password\_hash|[bytes](../types/bytes.md) | You cannot use this method directly; use $MadelineProto->update_2fa($params), instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [account\_PasswordSettings](../types/account_PasswordSettings.md) +### Return type: [account.PasswordSettings](../types/account.PasswordSettings.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_PasswordSettings = $MadelineProto->account->getPasswordSettings(['current_password_hash' => 'bytes', ]); +$account.PasswordSettings = $MadelineProto->account->getPasswordSettings(['current_password_hash' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -account_PasswordSettings = account.getPasswordSettings({current_password_hash='bytes', }) +account.PasswordSettings = account.getPasswordSettings({current_password_hash='bytes', }) ``` ### Errors diff --git a/old_docs/API_docs_v68/methods/account.getPrivacy.md b/old_docs/API_docs_v68/methods/account.getPrivacy.md index 6a240129..e20c292c 100644 --- a/old_docs/API_docs_v68/methods/account.getPrivacy.md +++ b/old_docs/API_docs_v68/methods/account.getPrivacy.md @@ -16,7 +16,7 @@ Get privacy settings of current account |key|[InputPrivacyKey](../types/InputPrivacyKey.md) | Peer category whose privacy settings should be fetched | Yes| -### Return type: [account\_PrivacyRules](../types/account_PrivacyRules.md) +### Return type: [account.PrivacyRules](../types/account.PrivacyRules.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_PrivacyRules = $MadelineProto->account->getPrivacy(['key' => InputPrivacyKey, ]); +$account.PrivacyRules = $MadelineProto->account->getPrivacy(['key' => InputPrivacyKey, ]); ``` Or, if you're into Lua: ```lua -account_PrivacyRules = account.getPrivacy({key=InputPrivacyKey, }) +account.PrivacyRules = account.getPrivacy({key=InputPrivacyKey, }) ``` ### Errors diff --git a/old_docs/API_docs_v68/methods/account.getTmpPassword.md b/old_docs/API_docs_v68/methods/account.getTmpPassword.md index 4f269586..7e05a423 100644 --- a/old_docs/API_docs_v68/methods/account.getTmpPassword.md +++ b/old_docs/API_docs_v68/methods/account.getTmpPassword.md @@ -17,7 +17,7 @@ Get temporary payment password |period|[int](../types/int.md) | Time during which the temporary password will be valid, in seconds; should be between 60 and 86400 | Yes| -### Return type: [account\_TmpPassword](../types/account_TmpPassword.md) +### Return type: [account.TmpPassword](../types/account.TmpPassword.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_TmpPassword = $MadelineProto->account->getTmpPassword(['password_hash' => 'bytes', 'period' => int, ]); +$account.TmpPassword = $MadelineProto->account->getTmpPassword(['password_hash' => 'bytes', 'period' => int, ]); ``` Or, if you're into Lua: ```lua -account_TmpPassword = account.getTmpPassword({password_hash='bytes', period=int, }) +account.TmpPassword = account.getTmpPassword({password_hash='bytes', period=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v68/methods/account.sendChangePhoneCode.md b/old_docs/API_docs_v68/methods/account.sendChangePhoneCode.md index 0f81306e..30589ffa 100644 --- a/old_docs/API_docs_v68/methods/account.sendChangePhoneCode.md +++ b/old_docs/API_docs_v68/methods/account.sendChangePhoneCode.md @@ -18,7 +18,7 @@ Verify a new phone number to associate to the current account |current\_number|[Bool](../types/Bool.md) | Current phone number | Optional| -### Return type: [auth\_SentCode](../types/auth_SentCode.md) +### Return type: [auth.SentCode](../types/auth.SentCode.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_SentCode = $MadelineProto->account->sendChangePhoneCode(['allow_flashcall' => Bool, 'phone_number' => 'string', 'current_number' => Bool, ]); +$auth.SentCode = $MadelineProto->account->sendChangePhoneCode(['allow_flashcall' => Bool, 'phone_number' => 'string', 'current_number' => Bool, ]); ``` Or, if you're into Lua: ```lua -auth_SentCode = account.sendChangePhoneCode({allow_flashcall=Bool, phone_number='string', current_number=Bool, }) +auth.SentCode = account.sendChangePhoneCode({allow_flashcall=Bool, phone_number='string', current_number=Bool, }) ``` ### Errors diff --git a/old_docs/API_docs_v68/methods/account.sendConfirmPhoneCode.md b/old_docs/API_docs_v68/methods/account.sendConfirmPhoneCode.md index 68ba8fd3..9ec24f07 100644 --- a/old_docs/API_docs_v68/methods/account.sendConfirmPhoneCode.md +++ b/old_docs/API_docs_v68/methods/account.sendConfirmPhoneCode.md @@ -18,7 +18,7 @@ Send confirmation code to cancel account deletion, for more info [click here »] |current\_number|[Bool](../types/Bool.md) | The current phone number | Optional| -### Return type: [auth\_SentCode](../types/auth_SentCode.md) +### Return type: [auth.SentCode](../types/auth.SentCode.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_SentCode = $MadelineProto->account->sendConfirmPhoneCode(['allow_flashcall' => Bool, 'hash' => 'string', 'current_number' => Bool, ]); +$auth.SentCode = $MadelineProto->account->sendConfirmPhoneCode(['allow_flashcall' => Bool, 'hash' => 'string', 'current_number' => Bool, ]); ``` Or, if you're into Lua: ```lua -auth_SentCode = account.sendConfirmPhoneCode({allow_flashcall=Bool, hash='string', current_number=Bool, }) +auth.SentCode = account.sendConfirmPhoneCode({allow_flashcall=Bool, hash='string', current_number=Bool, }) ``` ### Errors diff --git a/old_docs/API_docs_v68/methods/account.setPrivacy.md b/old_docs/API_docs_v68/methods/account.setPrivacy.md index 7c4cfba7..096d373e 100644 --- a/old_docs/API_docs_v68/methods/account.setPrivacy.md +++ b/old_docs/API_docs_v68/methods/account.setPrivacy.md @@ -17,7 +17,7 @@ Change privacy settings of current account |rules|Array of [InputPrivacyRule](../types/InputPrivacyRule.md) | Privacy settings | Yes| -### Return type: [account\_PrivacyRules](../types/account_PrivacyRules.md) +### Return type: [account.PrivacyRules](../types/account.PrivacyRules.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_PrivacyRules = $MadelineProto->account->setPrivacy(['key' => InputPrivacyKey, 'rules' => [InputPrivacyRule, InputPrivacyRule], ]); +$account.PrivacyRules = $MadelineProto->account->setPrivacy(['key' => InputPrivacyKey, 'rules' => [InputPrivacyRule, InputPrivacyRule], ]); ``` Or, if you're into Lua: ```lua -account_PrivacyRules = account.setPrivacy({key=InputPrivacyKey, rules={InputPrivacyRule}, }) +account.PrivacyRules = account.setPrivacy({key=InputPrivacyKey, rules={InputPrivacyRule}, }) ``` ### Errors diff --git a/old_docs/API_docs_v68/methods/api_README.md b/old_docs/API_docs_v68/methods/api_README.md index 00923ed9..69713af6 100644 --- a/old_docs/API_docs_v68/methods/api_README.md +++ b/old_docs/API_docs_v68/methods/api_README.md @@ -56,7 +56,7 @@ $MadelineProto->[account->getAccountTTL](account.getAccountTTL.md)(\[\]) === [$A ***

-$MadelineProto->[account->getAuthorizations](account.getAuthorizations.md)(\[\]) === [$account\_Authorizations](../types/account_Authorizations.md) +$MadelineProto->[account->getAuthorizations](account.getAuthorizations.md)(\[\]) === [$account.Authorizations](../types/account.Authorizations.md) ***

@@ -64,19 +64,19 @@ $MadelineProto->[account->getNotifySettings](account.getNotifySettings.md)(\['pe ***

-$MadelineProto->[account->getPassword](account.getPassword.md)(\[\]) === [$account\_Password](../types/account_Password.md) +$MadelineProto->[account->getPassword](account.getPassword.md)(\[\]) === [$account.Password](../types/account.Password.md) ***

-$MadelineProto->[account->getPasswordSettings](account.getPasswordSettings.md)(\['current_password_hash' => [bytes](../types/bytes.md), \]) === [$account\_PasswordSettings](../types/account_PasswordSettings.md) +$MadelineProto->[account->getPasswordSettings](account.getPasswordSettings.md)(\['current_password_hash' => [bytes](../types/bytes.md), \]) === [$account.PasswordSettings](../types/account.PasswordSettings.md) ***

-$MadelineProto->[account->getPrivacy](account.getPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), \]) === [$account\_PrivacyRules](../types/account_PrivacyRules.md) +$MadelineProto->[account->getPrivacy](account.getPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), \]) === [$account.PrivacyRules](../types/account.PrivacyRules.md) ***

-$MadelineProto->[account->getTmpPassword](account.getTmpPassword.md)(\['password_hash' => [bytes](../types/bytes.md), 'period' => [int](../types/int.md), \]) === [$account\_TmpPassword](../types/account_TmpPassword.md) +$MadelineProto->[account->getTmpPassword](account.getTmpPassword.md)(\['password_hash' => [bytes](../types/bytes.md), 'period' => [int](../types/int.md), \]) === [$account.TmpPassword](../types/account.TmpPassword.md) ***

@@ -100,11 +100,11 @@ $MadelineProto->[account->resetNotifySettings](account.resetNotifySettings.md)(\ ***

-$MadelineProto->[account->sendChangePhoneCode](account.sendChangePhoneCode.md)(\['allow_flashcall' => [Bool](../types/Bool.md), 'phone_number' => [string](../types/string.md), 'current_number' => [Bool](../types/Bool.md), \]) === [$auth\_SentCode](../types/auth_SentCode.md) +$MadelineProto->[account->sendChangePhoneCode](account.sendChangePhoneCode.md)(\['allow_flashcall' => [Bool](../types/Bool.md), 'phone_number' => [string](../types/string.md), 'current_number' => [Bool](../types/Bool.md), \]) === [$auth.SentCode](../types/auth.SentCode.md) ***

-$MadelineProto->[account->sendConfirmPhoneCode](account.sendConfirmPhoneCode.md)(\['allow_flashcall' => [Bool](../types/Bool.md), 'hash' => [string](../types/string.md), 'current_number' => [Bool](../types/Bool.md), \]) === [$auth\_SentCode](../types/auth_SentCode.md) +$MadelineProto->[account->sendConfirmPhoneCode](account.sendConfirmPhoneCode.md)(\['allow_flashcall' => [Bool](../types/Bool.md), 'hash' => [string](../types/string.md), 'current_number' => [Bool](../types/Bool.md), \]) === [$auth.SentCode](../types/auth.SentCode.md) ***

@@ -112,7 +112,7 @@ $MadelineProto->[account->setAccountTTL](account.setAccountTTL.md)(\['ttl' => [A ***

-$MadelineProto->[account->setPrivacy](account.setPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), 'rules' => \[[InputPrivacyRule](../types/InputPrivacyRule.md)\], \]) === [$account\_PrivacyRules](../types/account_PrivacyRules.md) +$MadelineProto->[account->setPrivacy](account.setPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), 'rules' => \[[InputPrivacyRule](../types/InputPrivacyRule.md)\], \]) === [$account.PrivacyRules](../types/account.PrivacyRules.md) ***

@@ -152,11 +152,11 @@ $MadelineProto->[auth->cancelCode](auth.cancelCode.md)(\['phone_number' => [stri ***

-$MadelineProto->[auth->checkPassword](auth.checkPassword.md)(\['password_hash' => [bytes](../types/bytes.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->checkPassword](auth.checkPassword.md)(\['password_hash' => [bytes](../types/bytes.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

-$MadelineProto->[auth->checkPhone](auth.checkPhone.md)(\['phone_number' => [string](../types/string.md), \]) === [$auth\_CheckedPhone](../types/auth_CheckedPhone.md) +$MadelineProto->[auth->checkPhone](auth.checkPhone.md)(\['phone_number' => [string](../types/string.md), \]) === [$auth.CheckedPhone](../types/auth.CheckedPhone.md) ***

@@ -164,15 +164,15 @@ $MadelineProto->[auth->dropTempAuthKeys](auth.dropTempAuthKeys.md)(\['except_aut ***

-$MadelineProto->[auth->exportAuthorization](auth.exportAuthorization.md)(\['dc_id' => [int](../types/int.md), \]) === [$auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) +$MadelineProto->[auth->exportAuthorization](auth.exportAuthorization.md)(\['dc_id' => [int](../types/int.md), \]) === [$auth.ExportedAuthorization](../types/auth.ExportedAuthorization.md) ***

-$MadelineProto->[auth->importAuthorization](auth.importAuthorization.md)(\['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->importAuthorization](auth.importAuthorization.md)(\['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

-$MadelineProto->[auth->importBotAuthorization](auth.importBotAuthorization.md)(\['api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), 'bot_auth_token' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->importBotAuthorization](auth.importBotAuthorization.md)(\['api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), 'bot_auth_token' => [string](../types/string.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

@@ -180,15 +180,15 @@ $MadelineProto->[auth->logOut](auth.logOut.md)(\[\]) === [$Bool](../types/Bool.m ***

-$MadelineProto->[auth->recoverPassword](auth.recoverPassword.md)(\['code' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->recoverPassword](auth.recoverPassword.md)(\['code' => [string](../types/string.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

-$MadelineProto->[auth->requestPasswordRecovery](auth.requestPasswordRecovery.md)(\[\]) === [$auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) +$MadelineProto->[auth->requestPasswordRecovery](auth.requestPasswordRecovery.md)(\[\]) === [$auth.PasswordRecovery](../types/auth.PasswordRecovery.md) ***

-$MadelineProto->[auth->resendCode](auth.resendCode.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), \]) === [$auth\_SentCode](../types/auth_SentCode.md) +$MadelineProto->[auth->resendCode](auth.resendCode.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), \]) === [$auth.SentCode](../types/auth.SentCode.md) ***

@@ -196,7 +196,7 @@ $MadelineProto->[auth->resetAuthorizations](auth.resetAuthorizations.md)(\[\]) = ***

-$MadelineProto->[auth->sendCode](auth.sendCode.md)(\['allow_flashcall' => [Bool](../types/Bool.md), 'phone_number' => [string](../types/string.md), 'current_number' => [Bool](../types/Bool.md), 'api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), \]) === [$auth\_SentCode](../types/auth_SentCode.md) +$MadelineProto->[auth->sendCode](auth.sendCode.md)(\['allow_flashcall' => [Bool](../types/Bool.md), 'phone_number' => [string](../types/string.md), 'current_number' => [Bool](../types/Bool.md), 'api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), \]) === [$auth.SentCode](../types/auth.SentCode.md) ***

@@ -204,11 +204,11 @@ $MadelineProto->[auth->sendInvites](auth.sendInvites.md)(\['phone_numbers' => \[ ***

-$MadelineProto->[auth->signIn](auth.signIn.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->signIn](auth.signIn.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

-$MadelineProto->[auth->signUp](auth.signUp.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->signUp](auth.signUp.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

@@ -232,11 +232,11 @@ $MadelineProto->[channels->deleteChannel](channels.deleteChannel.md)(\['channel' ***

-$MadelineProto->[channels->deleteMessages](channels.deleteMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) +$MadelineProto->[channels->deleteMessages](channels.deleteMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages.AffectedMessages](../types/messages.AffectedMessages.md) ***

-$MadelineProto->[channels->deleteUserHistory](channels.deleteUserHistory.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages\_AffectedHistory](../types/messages_AffectedHistory.md) +$MadelineProto->[channels->deleteUserHistory](channels.deleteUserHistory.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages.AffectedHistory](../types/messages.AffectedHistory.md) ***

@@ -268,31 +268,31 @@ $MadelineProto->[channels->exportMessageLink](channels.exportMessageLink.md)(\[' ***

-$MadelineProto->[channels->getAdminLog](channels.getAdminLog.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'q' => [string](../types/string.md), 'events_filter' => [ChannelAdminLogEventsFilter](../types/ChannelAdminLogEventsFilter.md), 'admins' => \[[InputUser](../types/InputUser.md)\], 'max_id' => [long](../types/long.md), 'min_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$channels\_AdminLogResults](../types/channels_AdminLogResults.md) +$MadelineProto->[channels->getAdminLog](channels.getAdminLog.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'q' => [string](../types/string.md), 'events_filter' => [ChannelAdminLogEventsFilter](../types/ChannelAdminLogEventsFilter.md), 'admins' => \[[InputUser](../types/InputUser.md)\], 'max_id' => [long](../types/long.md), 'min_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$channels.AdminLogResults](../types/channels.AdminLogResults.md) ***

-$MadelineProto->[channels->getAdminedPublicChannels](channels.getAdminedPublicChannels.md)(\[\]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[channels->getAdminedPublicChannels](channels.getAdminedPublicChannels.md)(\[\]) === [$messages.Chats](../types/messages.Chats.md) ***

-$MadelineProto->[channels->getChannels](channels.getChannels.md)(\['id' => \[[InputChannel](../types/InputChannel.md)\], \]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[channels->getChannels](channels.getChannels.md)(\['id' => \[[InputChannel](../types/InputChannel.md)\], \]) === [$messages.Chats](../types/messages.Chats.md) ***

-$MadelineProto->[channels->getFullChannel](channels.getFullChannel.md)(\['channel' => [InputChannel](../types/InputChannel.md), \]) === [$messages\_ChatFull](../types/messages_ChatFull.md) +$MadelineProto->[channels->getFullChannel](channels.getFullChannel.md)(\['channel' => [InputChannel](../types/InputChannel.md), \]) === [$messages.ChatFull](../types/messages.ChatFull.md) ***

-$MadelineProto->[channels->getMessages](channels.getMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[channels->getMessages](channels.getMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[channels->getParticipant](channels.getParticipant.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$channels\_ChannelParticipant](../types/channels_ChannelParticipant.md) +$MadelineProto->[channels->getParticipant](channels.getParticipant.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$channels.ChannelParticipant](../types/channels.ChannelParticipant.md) ***

-$MadelineProto->[channels->getParticipants](channels.getParticipants.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$channels\_ChannelParticipants](../types/channels_ChannelParticipants.md) +$MadelineProto->[channels->getParticipants](channels.getParticipants.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$channels.ChannelParticipants](../types/channels.ChannelParticipants.md) ***

@@ -336,7 +336,7 @@ $MadelineProto->[contacts->block](contacts.block.md)(\['id' => [InputUser](../ty ***

-$MadelineProto->[contacts->deleteContact](contacts.deleteContact.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$contacts\_Link](../types/contacts_Link.md) +$MadelineProto->[contacts->deleteContact](contacts.deleteContact.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$contacts.Link](../types/contacts.Link.md) ***

@@ -348,11 +348,11 @@ $MadelineProto->[contacts->exportCard](contacts.exportCard.md)(\[\]) === [$Vecto ***

-$MadelineProto->[contacts->getBlocked](contacts.getBlocked.md)(\['offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$contacts\_Blocked](../types/contacts_Blocked.md) +$MadelineProto->[contacts->getBlocked](contacts.getBlocked.md)(\['offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$contacts.Blocked](../types/contacts.Blocked.md) ***

-$MadelineProto->[contacts->getContacts](contacts.getContacts.md)(\['hash' => [string](../types/string.md), \]) === [$contacts\_Contacts](../types/contacts_Contacts.md) +$MadelineProto->[contacts->getContacts](contacts.getContacts.md)(\['hash' => [string](../types/string.md), \]) === [$contacts.Contacts](../types/contacts.Contacts.md) ***

@@ -360,7 +360,7 @@ $MadelineProto->[contacts->getStatuses](contacts.getStatuses.md)(\[\]) === [$Vec ***

-$MadelineProto->[contacts->getTopPeers](contacts.getTopPeers.md)(\['correspondents' => [Bool](../types/Bool.md), 'bots_pm' => [Bool](../types/Bool.md), 'bots_inline' => [Bool](../types/Bool.md), 'phone_calls' => [Bool](../types/Bool.md), 'groups' => [Bool](../types/Bool.md), 'channels' => [Bool](../types/Bool.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$contacts\_TopPeers](../types/contacts_TopPeers.md) +$MadelineProto->[contacts->getTopPeers](contacts.getTopPeers.md)(\['correspondents' => [Bool](../types/Bool.md), 'bots_pm' => [Bool](../types/Bool.md), 'bots_inline' => [Bool](../types/Bool.md), 'phone_calls' => [Bool](../types/Bool.md), 'groups' => [Bool](../types/Bool.md), 'channels' => [Bool](../types/Bool.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$contacts.TopPeers](../types/contacts.TopPeers.md) ***

@@ -368,7 +368,7 @@ $MadelineProto->[contacts->importCard](contacts.importCard.md)(\['export_card' = ***

-$MadelineProto->[contacts->importContacts](contacts.importContacts.md)(\['contacts' => \[[InputContact](../types/InputContact.md)\], 'replace' => [Bool](../types/Bool.md), \]) === [$contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) +$MadelineProto->[contacts->importContacts](contacts.importContacts.md)(\['contacts' => \[[InputContact](../types/InputContact.md)\], 'replace' => [Bool](../types/Bool.md), \]) === [$contacts.ImportedContacts](../types/contacts.ImportedContacts.md) ***

@@ -376,11 +376,11 @@ $MadelineProto->[contacts->resetTopPeerRating](contacts.resetTopPeerRating.md)(\ ***

-$MadelineProto->[contacts->resolveUsername](contacts.resolveUsername.md)(\['username' => [string](../types/string.md), \]) === [$contacts\_ResolvedPeer](../types/contacts_ResolvedPeer.md) +$MadelineProto->[contacts->resolveUsername](contacts.resolveUsername.md)(\['username' => [string](../types/string.md), \]) === [$contacts.ResolvedPeer](../types/contacts.ResolvedPeer.md) ***

-$MadelineProto->[contacts->search](contacts.search.md)(\['q' => [string](../types/string.md), 'limit' => [int](../types/int.md), \]) === [$contacts\_Found](../types/contacts_Found.md) +$MadelineProto->[contacts->search](contacts.search.md)(\['q' => [string](../types/string.md), 'limit' => [int](../types/int.md), \]) === [$contacts.Found](../types/contacts.Found.md) ***

@@ -406,7 +406,7 @@ $MadelineProto->[help->getAppChangelog](help.getAppChangelog.md)(\['prev_app_ver ***

-$MadelineProto->[help->getAppUpdate](help.getAppUpdate.md)(\[\]) === [$help\_AppUpdate](../types/help_AppUpdate.md) +$MadelineProto->[help->getAppUpdate](help.getAppUpdate.md)(\[\]) === [$help.AppUpdate](../types/help.AppUpdate.md) ***

@@ -418,7 +418,7 @@ $MadelineProto->[help->getConfig](help.getConfig.md)(\[\]) === [$Config](../type ***

-$MadelineProto->[help->getInviteText](help.getInviteText.md)(\[\]) === [$help\_InviteText](../types/help_InviteText.md) +$MadelineProto->[help->getInviteText](help.getInviteText.md)(\[\]) === [$help.InviteText](../types/help.InviteText.md) ***

@@ -426,11 +426,11 @@ $MadelineProto->[help->getNearestDc](help.getNearestDc.md)(\[\]) === [$NearestDc ***

-$MadelineProto->[help->getSupport](help.getSupport.md)(\[\]) === [$help\_Support](../types/help_Support.md) +$MadelineProto->[help->getSupport](help.getSupport.md)(\[\]) === [$help.Support](../types/help.Support.md) ***

-$MadelineProto->[help->getTermsOfService](help.getTermsOfService.md)(\[\]) === [$help\_TermsOfService](../types/help_TermsOfService.md) +$MadelineProto->[help->getTermsOfService](help.getTermsOfService.md)(\[\]) === [$help.TermsOfService](../types/help.TermsOfService.md) ***

@@ -502,11 +502,11 @@ $MadelineProto->[messages->deleteChatUser](messages.deleteChatUser.md)(\['chat_i ***

-$MadelineProto->[messages->deleteHistory](messages.deleteHistory.md)(\['just_clear' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), \]) === [$messages\_AffectedHistory](../types/messages_AffectedHistory.md) +$MadelineProto->[messages->deleteHistory](messages.deleteHistory.md)(\['just_clear' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), \]) === [$messages.AffectedHistory](../types/messages.AffectedHistory.md) ***

-$MadelineProto->[messages->deleteMessages](messages.deleteMessages.md)(\['revoke' => [Bool](../types/Bool.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) +$MadelineProto->[messages->deleteMessages](messages.deleteMessages.md)(\['revoke' => [Bool](../types/Bool.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages.AffectedMessages](../types/messages.AffectedMessages.md) ***

@@ -546,7 +546,7 @@ $MadelineProto->[messages->forwardMessages](messages.forwardMessages.md)(\['sile ***

-$MadelineProto->[messages->getAllChats](messages.getAllChats.md)(\['except_ids' => \[[int](../types/int.md)\], \]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[messages->getAllChats](messages.getAllChats.md)(\['except_ids' => \[[int](../types/int.md)\], \]) === [$messages.Chats](../types/messages.Chats.md) ***

@@ -554,11 +554,11 @@ $MadelineProto->[messages->getAllDrafts](messages.getAllDrafts.md)(\[\]) === [$U ***

-$MadelineProto->[messages->getAllStickers](messages.getAllStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages\_AllStickers](../types/messages_AllStickers.md) +$MadelineProto->[messages->getAllStickers](messages.getAllStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages.AllStickers](../types/messages.AllStickers.md) ***

-$MadelineProto->[messages->getArchivedStickers](messages.getArchivedStickers.md)(\['masks' => [Bool](../types/Bool.md), 'offset_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$messages\_ArchivedStickers](../types/messages_ArchivedStickers.md) +$MadelineProto->[messages->getArchivedStickers](messages.getArchivedStickers.md)(\['masks' => [Bool](../types/Bool.md), 'offset_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$messages.ArchivedStickers](../types/messages.ArchivedStickers.md) ***

@@ -566,23 +566,23 @@ $MadelineProto->[messages->getAttachedStickers](messages.getAttachedStickers.md) ***

-$MadelineProto->[messages->getBotCallbackAnswer](messages.getBotCallbackAnswer.md)(\['game' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'msg_id' => [int](../types/int.md), 'data' => [bytes](../types/bytes.md), \]) === [$messages\_BotCallbackAnswer](../types/messages_BotCallbackAnswer.md) +$MadelineProto->[messages->getBotCallbackAnswer](messages.getBotCallbackAnswer.md)(\['game' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'msg_id' => [int](../types/int.md), 'data' => [bytes](../types/bytes.md), \]) === [$messages.BotCallbackAnswer](../types/messages.BotCallbackAnswer.md) ***

-$MadelineProto->[messages->getChats](messages.getChats.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[messages->getChats](messages.getChats.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages.Chats](../types/messages.Chats.md) ***

-$MadelineProto->[messages->getCommonChats](messages.getCommonChats.md)(\['user_id' => [InputUser](../types/InputUser.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[messages->getCommonChats](messages.getCommonChats.md)(\['user_id' => [InputUser](../types/InputUser.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages.Chats](../types/messages.Chats.md) ***

-$MadelineProto->[messages->getDhConfig](messages.getDhConfig.md)(\['version' => [int](../types/int.md), 'random_length' => [int](../types/int.md), \]) === [$messages\_DhConfig](../types/messages_DhConfig.md) +$MadelineProto->[messages->getDhConfig](messages.getDhConfig.md)(\['version' => [int](../types/int.md), 'random_length' => [int](../types/int.md), \]) === [$messages.DhConfig](../types/messages.DhConfig.md) ***

-$MadelineProto->[messages->getDialogs](messages.getDialogs.md)(\['exclude_pinned' => [Bool](../types/Bool.md), 'offset_date' => [int](../types/int.md), 'offset_id' => [int](../types/int.md), 'offset_peer' => [InputPeer](../types/InputPeer.md), 'limit' => [int](../types/int.md), \]) === [$messages\_Dialogs](../types/messages_Dialogs.md) +$MadelineProto->[messages->getDialogs](messages.getDialogs.md)(\['exclude_pinned' => [Bool](../types/Bool.md), 'offset_date' => [int](../types/int.md), 'offset_id' => [int](../types/int.md), 'offset_peer' => [InputPeer](../types/InputPeer.md), 'limit' => [int](../types/int.md), \]) === [$messages.Dialogs](../types/messages.Dialogs.md) ***

@@ -590,39 +590,39 @@ $MadelineProto->[messages->getDocumentByHash](messages.getDocumentByHash.md)(\[' ***

-$MadelineProto->[messages->getFeaturedStickers](messages.getFeaturedStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages\_FeaturedStickers](../types/messages_FeaturedStickers.md) +$MadelineProto->[messages->getFeaturedStickers](messages.getFeaturedStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages.FeaturedStickers](../types/messages.FeaturedStickers.md) ***

-$MadelineProto->[messages->getFullChat](messages.getFullChat.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), \]) === [$messages\_ChatFull](../types/messages_ChatFull.md) +$MadelineProto->[messages->getFullChat](messages.getFullChat.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), \]) === [$messages.ChatFull](../types/messages.ChatFull.md) ***

-$MadelineProto->[messages->getGameHighScores](messages.getGameHighScores.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages\_HighScores](../types/messages_HighScores.md) +$MadelineProto->[messages->getGameHighScores](messages.getGameHighScores.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages.HighScores](../types/messages.HighScores.md) ***

-$MadelineProto->[messages->getHistory](messages.getHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'offset_date' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->getHistory](messages.getHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'offset_date' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[messages->getInlineBotResults](messages.getInlineBotResults.md)(\['bot' => [InputUser](../types/InputUser.md), 'peer' => [InputPeer](../types/InputPeer.md), 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'query' => [string](../types/string.md), 'offset' => [string](../types/string.md), \]) === [$messages\_BotResults](../types/messages_BotResults.md) +$MadelineProto->[messages->getInlineBotResults](messages.getInlineBotResults.md)(\['bot' => [InputUser](../types/InputUser.md), 'peer' => [InputPeer](../types/InputPeer.md), 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'query' => [string](../types/string.md), 'offset' => [string](../types/string.md), \]) === [$messages.BotResults](../types/messages.BotResults.md) ***

-$MadelineProto->[messages->getInlineGameHighScores](messages.getInlineGameHighScores.md)(\['id' => [InputBotInlineMessageID](../types/InputBotInlineMessageID.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages\_HighScores](../types/messages_HighScores.md) +$MadelineProto->[messages->getInlineGameHighScores](messages.getInlineGameHighScores.md)(\['id' => [InputBotInlineMessageID](../types/InputBotInlineMessageID.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages.HighScores](../types/messages.HighScores.md) ***

-$MadelineProto->[messages->getMaskStickers](messages.getMaskStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages\_AllStickers](../types/messages_AllStickers.md) +$MadelineProto->[messages->getMaskStickers](messages.getMaskStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages.AllStickers](../types/messages.AllStickers.md) ***

-$MadelineProto->[messages->getMessageEditData](messages.getMessageEditData.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), \]) === [$messages\_MessageEditData](../types/messages_MessageEditData.md) +$MadelineProto->[messages->getMessageEditData](messages.getMessageEditData.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), \]) === [$messages.MessageEditData](../types/messages.MessageEditData.md) ***

-$MadelineProto->[messages->getMessages](messages.getMessages.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->getMessages](messages.getMessages.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages.Messages](../types/messages.Messages.md) ***

@@ -630,7 +630,7 @@ $MadelineProto->[messages->getMessagesViews](messages.getMessagesViews.md)(\['pe ***

-$MadelineProto->[messages->getPeerDialogs](messages.getPeerDialogs.md)(\['peers' => \[[InputPeer](../types/InputPeer.md)\], \]) === [$messages\_PeerDialogs](../types/messages_PeerDialogs.md) +$MadelineProto->[messages->getPeerDialogs](messages.getPeerDialogs.md)(\['peers' => \[[InputPeer](../types/InputPeer.md)\], \]) === [$messages.PeerDialogs](../types/messages.PeerDialogs.md) ***

@@ -638,19 +638,19 @@ $MadelineProto->[messages->getPeerSettings](messages.getPeerSettings.md)(\['peer ***

-$MadelineProto->[messages->getPinnedDialogs](messages.getPinnedDialogs.md)(\[\]) === [$messages\_PeerDialogs](../types/messages_PeerDialogs.md) +$MadelineProto->[messages->getPinnedDialogs](messages.getPinnedDialogs.md)(\[\]) === [$messages.PeerDialogs](../types/messages.PeerDialogs.md) ***

-$MadelineProto->[messages->getRecentStickers](messages.getRecentStickers.md)(\['attached' => [Bool](../types/Bool.md), 'hash' => [int](../types/int.md), \]) === [$messages\_RecentStickers](../types/messages_RecentStickers.md) +$MadelineProto->[messages->getRecentStickers](messages.getRecentStickers.md)(\['attached' => [Bool](../types/Bool.md), 'hash' => [int](../types/int.md), \]) === [$messages.RecentStickers](../types/messages.RecentStickers.md) ***

-$MadelineProto->[messages->getSavedGifs](messages.getSavedGifs.md)(\['hash' => [int](../types/int.md), \]) === [$messages\_SavedGifs](../types/messages_SavedGifs.md) +$MadelineProto->[messages->getSavedGifs](messages.getSavedGifs.md)(\['hash' => [int](../types/int.md), \]) === [$messages.SavedGifs](../types/messages.SavedGifs.md) ***

-$MadelineProto->[messages->getStickerSet](messages.getStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), \]) === [$messages\_StickerSet](../types/messages_StickerSet.md) +$MadelineProto->[messages->getStickerSet](messages.getStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), \]) === [$messages.StickerSet](../types/messages.StickerSet.md) ***

@@ -670,7 +670,7 @@ $MadelineProto->[messages->importChatInvite](messages.importChatInvite.md)(\['ha ***

-$MadelineProto->[messages->installStickerSet](messages.installStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), 'archived' => [Bool](../types/Bool.md), \]) === [$messages\_StickerSetInstallResult](../types/messages_StickerSetInstallResult.md) +$MadelineProto->[messages->installStickerSet](messages.installStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), 'archived' => [Bool](../types/Bool.md), \]) === [$messages.StickerSetInstallResult](../types/messages.StickerSetInstallResult.md) ***

@@ -686,11 +686,11 @@ $MadelineProto->[messages->readFeaturedStickers](messages.readFeaturedStickers.m ***

-$MadelineProto->[messages->readHistory](messages.readHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), \]) === [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) +$MadelineProto->[messages->readHistory](messages.readHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), \]) === [$messages.AffectedMessages](../types/messages.AffectedMessages.md) ***

-$MadelineProto->[messages->readMessageContents](messages.readMessageContents.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) +$MadelineProto->[messages->readMessageContents](messages.readMessageContents.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages.AffectedMessages](../types/messages.AffectedMessages.md) ***

@@ -734,27 +734,27 @@ $MadelineProto->[messages->saveRecentSticker](messages.saveRecentSticker.md)(\[' ***

-$MadelineProto->[messages->search](messages.search.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'q' => [string](../types/string.md), 'from_id' => [InputUser](../types/InputUser.md), 'filter' => [MessagesFilter](../types/MessagesFilter.md), 'min_date' => [int](../types/int.md), 'max_date' => [int](../types/int.md), 'offset' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->search](messages.search.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'q' => [string](../types/string.md), 'from_id' => [InputUser](../types/InputUser.md), 'filter' => [MessagesFilter](../types/MessagesFilter.md), 'min_date' => [int](../types/int.md), 'max_date' => [int](../types/int.md), 'offset' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[messages->searchGifs](messages.searchGifs.md)(\['q' => [string](../types/string.md), 'offset' => [int](../types/int.md), \]) === [$messages\_FoundGifs](../types/messages_FoundGifs.md) +$MadelineProto->[messages->searchGifs](messages.searchGifs.md)(\['q' => [string](../types/string.md), 'offset' => [int](../types/int.md), \]) === [$messages.FoundGifs](../types/messages.FoundGifs.md) ***

-$MadelineProto->[messages->searchGlobal](messages.searchGlobal.md)(\['q' => [string](../types/string.md), 'offset_date' => [int](../types/int.md), 'offset_peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->searchGlobal](messages.searchGlobal.md)(\['q' => [string](../types/string.md), 'offset_date' => [int](../types/int.md), 'offset_peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[messages->sendEncrypted](messages.sendEncrypted.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'message' => [DecryptedMessage](../types/DecryptedMessage.md), \]) === [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +$MadelineProto->[messages->sendEncrypted](messages.sendEncrypted.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), \]) === [$messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ***

-$MadelineProto->[messages->sendEncryptedFile](messages.sendEncryptedFile.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'message' => [DecryptedMessage](../types/DecryptedMessage.md), 'file' => [InputEncryptedFile](../types/InputEncryptedFile.md), \]) === [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +$MadelineProto->[messages->sendEncryptedFile](messages.sendEncryptedFile.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), 'file' => [InputEncryptedFile](../types/InputEncryptedFile.md), \]) === [$messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ***

-$MadelineProto->[messages->sendEncryptedService](messages.sendEncryptedService.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'message' => [DecryptedMessage](../types/DecryptedMessage.md), \]) === [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +$MadelineProto->[messages->sendEncryptedService](messages.sendEncryptedService.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), \]) === [$messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ***

@@ -826,31 +826,31 @@ $MadelineProto->[payments->clearSavedInfo](payments.clearSavedInfo.md)(\['creden ***

-$MadelineProto->[payments->getPaymentForm](payments.getPaymentForm.md)(\['msg_id' => [int](../types/int.md), \]) === [$payments\_PaymentForm](../types/payments_PaymentForm.md) +$MadelineProto->[payments->getPaymentForm](payments.getPaymentForm.md)(\['msg_id' => [int](../types/int.md), \]) === [$payments.PaymentForm](../types/payments.PaymentForm.md) ***

-$MadelineProto->[payments->getPaymentReceipt](payments.getPaymentReceipt.md)(\['msg_id' => [int](../types/int.md), \]) === [$payments\_PaymentReceipt](../types/payments_PaymentReceipt.md) +$MadelineProto->[payments->getPaymentReceipt](payments.getPaymentReceipt.md)(\['msg_id' => [int](../types/int.md), \]) === [$payments.PaymentReceipt](../types/payments.PaymentReceipt.md) ***

-$MadelineProto->[payments->getSavedInfo](payments.getSavedInfo.md)(\[\]) === [$payments\_SavedInfo](../types/payments_SavedInfo.md) +$MadelineProto->[payments->getSavedInfo](payments.getSavedInfo.md)(\[\]) === [$payments.SavedInfo](../types/payments.SavedInfo.md) ***

-$MadelineProto->[payments->sendPaymentForm](payments.sendPaymentForm.md)(\['msg_id' => [int](../types/int.md), 'requested_info_id' => [string](../types/string.md), 'shipping_option_id' => [string](../types/string.md), 'credentials' => [InputPaymentCredentials](../types/InputPaymentCredentials.md), \]) === [$payments\_PaymentResult](../types/payments_PaymentResult.md) +$MadelineProto->[payments->sendPaymentForm](payments.sendPaymentForm.md)(\['msg_id' => [int](../types/int.md), 'requested_info_id' => [string](../types/string.md), 'shipping_option_id' => [string](../types/string.md), 'credentials' => [InputPaymentCredentials](../types/InputPaymentCredentials.md), \]) === [$payments.PaymentResult](../types/payments.PaymentResult.md) ***

-$MadelineProto->[payments->validateRequestedInfo](payments.validateRequestedInfo.md)(\['save' => [Bool](../types/Bool.md), 'msg_id' => [int](../types/int.md), 'info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), \]) === [$payments\_ValidatedRequestedInfo](../types/payments_ValidatedRequestedInfo.md) +$MadelineProto->[payments->validateRequestedInfo](payments.validateRequestedInfo.md)(\['save' => [Bool](../types/Bool.md), 'msg_id' => [int](../types/int.md), 'info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), \]) === [$payments.ValidatedRequestedInfo](../types/payments.ValidatedRequestedInfo.md) ***

-$MadelineProto->[phone->acceptCall](phone.acceptCall.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'g_b' => [bytes](../types/bytes.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone\_PhoneCall](../types/phone_PhoneCall.md) +$MadelineProto->[phone->acceptCall](phone.acceptCall.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'g_b' => [bytes](../types/bytes.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone.PhoneCall](../types/phone.PhoneCall.md) ***

-$MadelineProto->[phone->confirmCall](phone.confirmCall.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'g_a' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone\_PhoneCall](../types/phone_PhoneCall.md) +$MadelineProto->[phone->confirmCall](phone.confirmCall.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'g_a' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone.PhoneCall](../types/phone.PhoneCall.md) ***

@@ -866,7 +866,7 @@ $MadelineProto->[phone->receivedCall](phone.receivedCall.md)(\['peer' => [InputP ***

-$MadelineProto->[phone->requestCall](phone.requestCall.md)(\['user_id' => [InputUser](../types/InputUser.md), 'g_a_hash' => [bytes](../types/bytes.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone\_PhoneCall](../types/phone_PhoneCall.md) +$MadelineProto->[phone->requestCall](phone.requestCall.md)(\['user_id' => [InputUser](../types/InputUser.md), 'g_a_hash' => [bytes](../types/bytes.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone.PhoneCall](../types/phone.PhoneCall.md) ***

@@ -882,7 +882,7 @@ $MadelineProto->[photos->deletePhotos](photos.deletePhotos.md)(\['id' => \[[Inpu ***

-$MadelineProto->[photos->getUserPhotos](photos.getUserPhotos.md)(\['user_id' => [InputUser](../types/InputUser.md), 'offset' => [int](../types/int.md), 'max_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$photos\_Photos](../types/photos_Photos.md) +$MadelineProto->[photos->getUserPhotos](photos.getUserPhotos.md)(\['user_id' => [InputUser](../types/InputUser.md), 'offset' => [int](../types/int.md), 'max_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$photos.Photos](../types/photos.Photos.md) ***

@@ -890,7 +890,7 @@ $MadelineProto->[photos->updateProfilePhoto](photos.updateProfilePhoto.md)(\['id ***

-$MadelineProto->[photos->uploadProfilePhoto](photos.uploadProfilePhoto.md)(\['file' => [InputFile](../types/InputFile.md), \]) === [$photos\_Photo](../types/photos_Photo.md) +$MadelineProto->[photos->uploadProfilePhoto](photos.uploadProfilePhoto.md)(\['file' => [InputFile](../types/InputFile.md), \]) === [$photos.Photo](../types/photos.Photo.md) ***

@@ -914,7 +914,7 @@ $MadelineProto->[set_client_DH_params](set_client_DH_params.md)(\['nonce' => [in ***

-$MadelineProto->[stickers->addStickerToSet](stickers.addStickerToSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), 'sticker' => [InputStickerSetItem](../types/InputStickerSetItem.md), \]) === [$messages\_StickerSet](../types/messages_StickerSet.md) +$MadelineProto->[stickers->addStickerToSet](stickers.addStickerToSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), 'sticker' => [InputStickerSetItem](../types/InputStickerSetItem.md), \]) === [$messages.StickerSet](../types/messages.StickerSet.md) ***

@@ -922,7 +922,7 @@ $MadelineProto->[stickers->changeStickerPosition](stickers.changeStickerPosition ***

-$MadelineProto->[stickers->createStickerSet](stickers.createStickerSet.md)(\['masks' => [Bool](../types/Bool.md), 'user_id' => [InputUser](../types/InputUser.md), 'title' => [string](../types/string.md), 'short_name' => [string](../types/string.md), 'stickers' => \[[InputStickerSetItem](../types/InputStickerSetItem.md)\], \]) === [$messages\_StickerSet](../types/messages_StickerSet.md) +$MadelineProto->[stickers->createStickerSet](stickers.createStickerSet.md)(\['masks' => [Bool](../types/Bool.md), 'user_id' => [InputUser](../types/InputUser.md), 'title' => [string](../types/string.md), 'short_name' => [string](../types/string.md), 'stickers' => \[[InputStickerSetItem](../types/InputStickerSetItem.md)\], \]) === [$messages.StickerSet](../types/messages.StickerSet.md) ***

@@ -930,27 +930,27 @@ $MadelineProto->[stickers->removeStickerFromSet](stickers.removeStickerFromSet.m ***

-$MadelineProto->[updates->getChannelDifference](updates.getChannelDifference.md)(\['force' => [Bool](../types/Bool.md), 'channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$updates\_ChannelDifference](../types/updates_ChannelDifference.md) +$MadelineProto->[updates->getChannelDifference](updates.getChannelDifference.md)(\['force' => [Bool](../types/Bool.md), 'channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$updates.ChannelDifference](../types/updates.ChannelDifference.md) ***

-$MadelineProto->[updates->getDifference](updates.getDifference.md)(\['pts' => [int](../types/int.md), 'pts_total_limit' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) === [$updates\_Difference](../types/updates_Difference.md) +$MadelineProto->[updates->getDifference](updates.getDifference.md)(\['pts' => [int](../types/int.md), 'pts_total_limit' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) === [$updates.Difference](../types/updates.Difference.md) ***

-$MadelineProto->[updates->getState](updates.getState.md)(\[\]) === [$updates\_State](../types/updates_State.md) +$MadelineProto->[updates->getState](updates.getState.md)(\[\]) === [$updates.State](../types/updates.State.md) ***

-$MadelineProto->[upload->getCdnFile](upload.getCdnFile.md)(\['file_token' => [bytes](../types/bytes.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_CdnFile](../types/upload_CdnFile.md) +$MadelineProto->[upload->getCdnFile](upload.getCdnFile.md)(\['file_token' => [bytes](../types/bytes.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload.CdnFile](../types/upload.CdnFile.md) ***

-$MadelineProto->[upload->getFile](upload.getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_File](../types/upload_File.md) +$MadelineProto->[upload->getFile](upload.getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload.File](../types/upload.File.md) ***

-$MadelineProto->[upload->getWebFile](upload.getWebFile.md)(\['location' => [InputWebFileLocation](../types/InputWebFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_WebFile](../types/upload_WebFile.md) +$MadelineProto->[upload->getWebFile](upload.getWebFile.md)(\['location' => [InputWebFileLocation](../types/InputWebFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload.WebFile](../types/upload.WebFile.md) ***

diff --git a/old_docs/API_docs_v68/methods/auth.checkPassword.md b/old_docs/API_docs_v68/methods/auth.checkPassword.md index db65cb56..eeeed171 100644 --- a/old_docs/API_docs_v68/methods/auth.checkPassword.md +++ b/old_docs/API_docs_v68/methods/auth.checkPassword.md @@ -16,7 +16,7 @@ You cannot use this method directly, use the complete_2fa_login method instead ( |password\_hash|[bytes](../types/bytes.md) | You cannot use this method directly, use the complete_2fa_login method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->checkPassword(['password_hash' => 'bytes', ]); +$auth.Authorization = $MadelineProto->auth->checkPassword(['password_hash' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.checkPassword({password_hash='bytes', }) +auth.Authorization = auth.checkPassword({password_hash='bytes', }) ``` ### Errors diff --git a/old_docs/API_docs_v68/methods/auth.checkPhone.md b/old_docs/API_docs_v68/methods/auth.checkPhone.md index 227358cb..51d4cba6 100644 --- a/old_docs/API_docs_v68/methods/auth.checkPhone.md +++ b/old_docs/API_docs_v68/methods/auth.checkPhone.md @@ -16,7 +16,7 @@ Check if this phone number is registered on telegram |phone\_number|[string](../types/string.md) | The phone number to check | Yes| -### Return type: [auth\_CheckedPhone](../types/auth_CheckedPhone.md) +### Return type: [auth.CheckedPhone](../types/auth.CheckedPhone.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => 'string', ]); +$auth.CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_CheckedPhone = auth.checkPhone({phone_number='string', }) +auth.CheckedPhone = auth.checkPhone({phone_number='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v68/methods/auth.exportAuthorization.md b/old_docs/API_docs_v68/methods/auth.exportAuthorization.md index 72063a2b..41a1f87d 100644 --- a/old_docs/API_docs_v68/methods/auth.exportAuthorization.md +++ b/old_docs/API_docs_v68/methods/auth.exportAuthorization.md @@ -16,7 +16,7 @@ You cannot use this method directly, use $MadelineProto->exportAuthorization() i |dc\_id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| -### Return type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) +### Return type: [auth.ExportedAuthorization](../types/auth.ExportedAuthorization.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_ExportedAuthorization = $MadelineProto->auth->exportAuthorization(['dc_id' => int, ]); +$auth.ExportedAuthorization = $MadelineProto->auth->exportAuthorization(['dc_id' => int, ]); ``` Or, if you're into Lua: ```lua -auth_ExportedAuthorization = auth.exportAuthorization({dc_id=int, }) +auth.ExportedAuthorization = auth.exportAuthorization({dc_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v68/methods/auth.importAuthorization.md b/old_docs/API_docs_v68/methods/auth.importAuthorization.md index d9c13751..5257e0b0 100644 --- a/old_docs/API_docs_v68/methods/auth.importAuthorization.md +++ b/old_docs/API_docs_v68/methods/auth.importAuthorization.md @@ -17,7 +17,7 @@ You cannot use this method directly, use $MadelineProto->importAuthorization($au |bytes|[bytes](../types/bytes.md) | You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => 'bytes', ]); +$auth.Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.importAuthorization({id=int, bytes='bytes', }) +auth.Authorization = auth.importAuthorization({id=int, bytes='bytes', }) ``` ### Errors diff --git a/old_docs/API_docs_v68/methods/auth.importBotAuthorization.md b/old_docs/API_docs_v68/methods/auth.importBotAuthorization.md index 3161d6be..a4ea8027 100644 --- a/old_docs/API_docs_v68/methods/auth.importBotAuthorization.md +++ b/old_docs/API_docs_v68/methods/auth.importBotAuthorization.md @@ -18,7 +18,7 @@ You cannot use this method directly, use the botLogin method instead (see https: |bot\_auth\_token|[string](../types/string.md) | You cannot use this method directly, use the botLogin method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **YES** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->importBotAuthorization(['api_id' => int, 'api_hash' => 'string', 'bot_auth_token' => 'string', ]); +$auth.Authorization = $MadelineProto->auth->importBotAuthorization(['api_id' => int, 'api_hash' => 'string', 'bot_auth_token' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.importBotAuthorization({api_id=int, api_hash='string', bot_auth_token='string', }) +auth.Authorization = auth.importBotAuthorization({api_id=int, api_hash='string', bot_auth_token='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v68/methods/auth.recoverPassword.md b/old_docs/API_docs_v68/methods/auth.recoverPassword.md index f7cbf4a4..2e78444b 100644 --- a/old_docs/API_docs_v68/methods/auth.recoverPassword.md +++ b/old_docs/API_docs_v68/methods/auth.recoverPassword.md @@ -16,7 +16,7 @@ Reset the [2FA password](https://core.telegram.org/api/srp) using the recovery c |code|[string](../types/string.md) | Code received via email | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->recoverPassword(['code' => 'string', ]); +$auth.Authorization = $MadelineProto->auth->recoverPassword(['code' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.recoverPassword({code='string', }) +auth.Authorization = auth.recoverPassword({code='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v68/methods/auth.requestPasswordRecovery.md b/old_docs/API_docs_v68/methods/auth.requestPasswordRecovery.md index 5cd77936..ff1ecc02 100644 --- a/old_docs/API_docs_v68/methods/auth.requestPasswordRecovery.md +++ b/old_docs/API_docs_v68/methods/auth.requestPasswordRecovery.md @@ -11,7 +11,7 @@ Request recovery code of a [2FA password](https://core.telegram.org/api/srp), on -### Return type: [auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) +### Return type: [auth.PasswordRecovery](../types/auth.PasswordRecovery.md) ### Can bots use this method: **NO** @@ -28,13 +28,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_PasswordRecovery = $MadelineProto->auth->requestPasswordRecovery(); +$auth.PasswordRecovery = $MadelineProto->auth->requestPasswordRecovery(); ``` Or, if you're into Lua: ```lua -auth_PasswordRecovery = auth.requestPasswordRecovery({}) +auth.PasswordRecovery = auth.requestPasswordRecovery({}) ``` ### Errors diff --git a/old_docs/API_docs_v68/methods/auth.resendCode.md b/old_docs/API_docs_v68/methods/auth.resendCode.md index a395a91b..f59f1b7b 100644 --- a/old_docs/API_docs_v68/methods/auth.resendCode.md +++ b/old_docs/API_docs_v68/methods/auth.resendCode.md @@ -17,7 +17,7 @@ Resend the login code via another medium, the phone code type is determined by t |phone\_code\_hash|[string](../types/string.md) | The phone code hash obtained from [auth.sendCode](../methods/auth.sendCode.md) | Yes| -### Return type: [auth\_SentCode](../types/auth_SentCode.md) +### Return type: [auth.SentCode](../types/auth.SentCode.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_SentCode = $MadelineProto->auth->resendCode(['phone_number' => 'string', 'phone_code_hash' => 'string', ]); +$auth.SentCode = $MadelineProto->auth->resendCode(['phone_number' => 'string', 'phone_code_hash' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_SentCode = auth.resendCode({phone_number='string', phone_code_hash='string', }) +auth.SentCode = auth.resendCode({phone_number='string', phone_code_hash='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v68/methods/auth.sendCode.md b/old_docs/API_docs_v68/methods/auth.sendCode.md index bd922a48..0c818fbb 100644 --- a/old_docs/API_docs_v68/methods/auth.sendCode.md +++ b/old_docs/API_docs_v68/methods/auth.sendCode.md @@ -20,7 +20,7 @@ You cannot use this method directly, use the phoneLogin method instead (see http |api\_hash|[string](../types/string.md) | You cannot use this method directly, use the phoneLogin method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_SentCode](../types/auth_SentCode.md) +### Return type: [auth.SentCode](../types/auth.SentCode.md) ### Can bots use this method: **NO** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_SentCode = $MadelineProto->auth->sendCode(['allow_flashcall' => Bool, 'phone_number' => 'string', 'current_number' => Bool, 'api_id' => int, 'api_hash' => 'string', ]); +$auth.SentCode = $MadelineProto->auth->sendCode(['allow_flashcall' => Bool, 'phone_number' => 'string', 'current_number' => Bool, 'api_id' => int, 'api_hash' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_SentCode = auth.sendCode({allow_flashcall=Bool, phone_number='string', current_number=Bool, api_id=int, api_hash='string', }) +auth.SentCode = auth.sendCode({allow_flashcall=Bool, phone_number='string', current_number=Bool, api_id=int, api_hash='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v68/methods/auth.signIn.md b/old_docs/API_docs_v68/methods/auth.signIn.md index 54812a2e..95b14f32 100644 --- a/old_docs/API_docs_v68/methods/auth.signIn.md +++ b/old_docs/API_docs_v68/methods/auth.signIn.md @@ -18,7 +18,7 @@ You cannot use this method directly, use the completePhoneLogin method instead ( |phone\_code|[string](../types/string.md) | You cannot use this method directly, use the completePhoneLogin method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->signIn(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', ]); +$auth.Authorization = $MadelineProto->auth->signIn(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.signIn({phone_number='string', phone_code_hash='string', phone_code='string', }) +auth.Authorization = auth.signIn({phone_number='string', phone_code_hash='string', phone_code='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v68/methods/auth.signUp.md b/old_docs/API_docs_v68/methods/auth.signUp.md index 2aca2bfa..fdb5d628 100644 --- a/old_docs/API_docs_v68/methods/auth.signUp.md +++ b/old_docs/API_docs_v68/methods/auth.signUp.md @@ -20,7 +20,7 @@ You cannot use this method directly, use the completeSignup method instead (see |last\_name|[string](../types/string.md) | You cannot use this method directly, use the completeSignup method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **NO** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->signUp(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', 'first_name' => 'string', 'last_name' => 'string', ]); +$auth.Authorization = $MadelineProto->auth->signUp(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', 'first_name' => 'string', 'last_name' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.signUp({phone_number='string', phone_code_hash='string', phone_code='string', first_name='string', last_name='string', }) +auth.Authorization = auth.signUp({phone_number='string', phone_code_hash='string', phone_code='string', first_name='string', last_name='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v68/methods/channels.deleteMessages.md b/old_docs/API_docs_v68/methods/channels.deleteMessages.md index 10a439fb..8583e560 100644 --- a/old_docs/API_docs_v68/methods/channels.deleteMessages.md +++ b/old_docs/API_docs_v68/methods/channels.deleteMessages.md @@ -17,7 +17,7 @@ Delete messages in a [channel/supergroup](https://core.telegram.org/api/channel) |id|Array of [int](../types/int.md) | The IDs of messages to delete | Yes| -### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) +### Return type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedMessages = $MadelineProto->channels->deleteMessages(['channel' => InputChannel, 'id' => [int, int], ]); +$messages.AffectedMessages = $MadelineProto->channels->deleteMessages(['channel' => InputChannel, 'id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AffectedMessages = channels.deleteMessages({channel=InputChannel, id={int}, }) +messages.AffectedMessages = channels.deleteMessages({channel=InputChannel, id={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v68/methods/channels.deleteUserHistory.md b/old_docs/API_docs_v68/methods/channels.deleteUserHistory.md index 9b8b159f..6ccaf7dd 100644 --- a/old_docs/API_docs_v68/methods/channels.deleteUserHistory.md +++ b/old_docs/API_docs_v68/methods/channels.deleteUserHistory.md @@ -17,7 +17,7 @@ Delete all messages sent by a certain user in a [supergroup](https://core.telegr |user\_id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | User whose messages should be deleted | Optional| -### Return type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) +### Return type: [messages.AffectedHistory](../types/messages.AffectedHistory.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedHistory = $MadelineProto->channels->deleteUserHistory(['channel' => InputChannel, 'user_id' => InputUser, ]); +$messages.AffectedHistory = $MadelineProto->channels->deleteUserHistory(['channel' => InputChannel, 'user_id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -messages_AffectedHistory = channels.deleteUserHistory({channel=InputChannel, user_id=InputUser, }) +messages.AffectedHistory = channels.deleteUserHistory({channel=InputChannel, user_id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v68/methods/channels.getAdminLog.md b/old_docs/API_docs_v68/methods/channels.getAdminLog.md index e149f653..3b550a73 100644 --- a/old_docs/API_docs_v68/methods/channels.getAdminLog.md +++ b/old_docs/API_docs_v68/methods/channels.getAdminLog.md @@ -22,7 +22,7 @@ Get the admin log of a [channel/supergroup](https://core.telegram.org/api/channe |limit|[int](../types/int.md) | Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets) | Yes| -### Return type: [channels\_AdminLogResults](../types/channels_AdminLogResults.md) +### Return type: [channels.AdminLogResults](../types/channels.AdminLogResults.md) ### Can bots use this method: **NO** @@ -39,13 +39,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$channels_AdminLogResults = $MadelineProto->channels->getAdminLog(['channel' => InputChannel, 'q' => 'string', 'events_filter' => ChannelAdminLogEventsFilter, 'admins' => [InputUser, InputUser], 'max_id' => long, 'min_id' => long, 'limit' => int, ]); +$channels.AdminLogResults = $MadelineProto->channels->getAdminLog(['channel' => InputChannel, 'q' => 'string', 'events_filter' => ChannelAdminLogEventsFilter, 'admins' => [InputUser, InputUser], 'max_id' => long, 'min_id' => long, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -channels_AdminLogResults = channels.getAdminLog({channel=InputChannel, q='string', events_filter=ChannelAdminLogEventsFilter, admins={InputUser}, max_id=long, min_id=long, limit=int, }) +channels.AdminLogResults = channels.getAdminLog({channel=InputChannel, q='string', events_filter=ChannelAdminLogEventsFilter, admins={InputUser}, max_id=long, min_id=long, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v68/methods/channels.getAdminedPublicChannels.md b/old_docs/API_docs_v68/methods/channels.getAdminedPublicChannels.md index 55a686ca..eb277404 100644 --- a/old_docs/API_docs_v68/methods/channels.getAdminedPublicChannels.md +++ b/old_docs/API_docs_v68/methods/channels.getAdminedPublicChannels.md @@ -11,7 +11,7 @@ Get [channels/supergroups/geogroups](https://core.telegram.org/api/channel) we'r -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->channels->getAdminedPublicChannels(); +$messages.Chats = $MadelineProto->channels->getAdminedPublicChannels(); ``` Or, if you're into Lua: ```lua -messages_Chats = channels.getAdminedPublicChannels({}) +messages.Chats = channels.getAdminedPublicChannels({}) ``` diff --git a/old_docs/API_docs_v68/methods/channels.getChannels.md b/old_docs/API_docs_v68/methods/channels.getChannels.md index 368c96ce..ed9cf4a7 100644 --- a/old_docs/API_docs_v68/methods/channels.getChannels.md +++ b/old_docs/API_docs_v68/methods/channels.getChannels.md @@ -16,7 +16,7 @@ Get info about [channels/supergroups](https://core.telegram.org/api/channel) |id|Array of [Username, chat ID, Update, Message or InputChannel](../types/InputChannel.md) | The channel/supergroup MTProto IDs | Yes| -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->channels->getChannels(['id' => [InputChannel, InputChannel], ]); +$messages.Chats = $MadelineProto->channels->getChannels(['id' => [InputChannel, InputChannel], ]); ``` Or, if you're into Lua: ```lua -messages_Chats = channels.getChannels({id={InputChannel}, }) +messages.Chats = channels.getChannels({id={InputChannel}, }) ``` ### Errors diff --git a/old_docs/API_docs_v68/methods/channels.getFullChannel.md b/old_docs/API_docs_v68/methods/channels.getFullChannel.md index 08dc21bb..1369e0a0 100644 --- a/old_docs/API_docs_v68/methods/channels.getFullChannel.md +++ b/old_docs/API_docs_v68/methods/channels.getFullChannel.md @@ -16,7 +16,7 @@ You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo me |channel|[Username, chat ID, Update, Message or InputChannel](../types/InputChannel.md) | You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo methods instead (see https://docs.madelineproto.xyz for more info) | Optional| -### Return type: [messages\_ChatFull](../types/messages_ChatFull.md) +### Return type: [messages.ChatFull](../types/messages.ChatFull.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_ChatFull = $MadelineProto->channels->getFullChannel(['channel' => InputChannel, ]); +$messages.ChatFull = $MadelineProto->channels->getFullChannel(['channel' => InputChannel, ]); ``` Or, if you're into Lua: ```lua -messages_ChatFull = channels.getFullChannel({channel=InputChannel, }) +messages.ChatFull = channels.getFullChannel({channel=InputChannel, }) ``` ### Errors diff --git a/old_docs/API_docs_v68/methods/channels.getMessages.md b/old_docs/API_docs_v68/methods/channels.getMessages.md index 379e0e9d..5023ea1a 100644 --- a/old_docs/API_docs_v68/methods/channels.getMessages.md +++ b/old_docs/API_docs_v68/methods/channels.getMessages.md @@ -17,7 +17,7 @@ Get [channel/supergroup](https://core.telegram.org/api/channel) messages |id|Array of [int](../types/int.md) | The message IDs | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->channels->getMessages(['channel' => InputChannel, 'id' => [int, int], ]); +$messages.Messages = $MadelineProto->channels->getMessages(['channel' => InputChannel, 'id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Messages = channels.getMessages({channel=InputChannel, id={int}, }) +messages.Messages = channels.getMessages({channel=InputChannel, id={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v68/methods/channels.getParticipant.md b/old_docs/API_docs_v68/methods/channels.getParticipant.md index aa2ce655..cf6a7771 100644 --- a/old_docs/API_docs_v68/methods/channels.getParticipant.md +++ b/old_docs/API_docs_v68/methods/channels.getParticipant.md @@ -17,7 +17,7 @@ Get info about a [channel/supergroup](https://core.telegram.org/api/channel) par |user\_id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | ID of participant to get info about | Optional| -### Return type: [channels\_ChannelParticipant](../types/channels_ChannelParticipant.md) +### Return type: [channels.ChannelParticipant](../types/channels.ChannelParticipant.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$channels_ChannelParticipant = $MadelineProto->channels->getParticipant(['channel' => InputChannel, 'user_id' => InputUser, ]); +$channels.ChannelParticipant = $MadelineProto->channels->getParticipant(['channel' => InputChannel, 'user_id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -channels_ChannelParticipant = channels.getParticipant({channel=InputChannel, user_id=InputUser, }) +channels.ChannelParticipant = channels.getParticipant({channel=InputChannel, user_id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v68/methods/channels.getParticipants.md b/old_docs/API_docs_v68/methods/channels.getParticipants.md index 9be95921..bfeccd48 100644 --- a/old_docs/API_docs_v68/methods/channels.getParticipants.md +++ b/old_docs/API_docs_v68/methods/channels.getParticipants.md @@ -19,7 +19,7 @@ Get the participants of a channel |limit|[int](../types/int.md) | [Limit](https://core.telegram.org/api/offsets) | Yes| -### Return type: [channels\_ChannelParticipants](../types/channels_ChannelParticipants.md) +### Return type: [channels.ChannelParticipants](../types/channels.ChannelParticipants.md) ### Can bots use this method: **YES** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$channels_ChannelParticipants = $MadelineProto->channels->getParticipants(['channel' => InputChannel, 'filter' => ChannelParticipantsFilter, 'offset' => int, 'limit' => int, ]); +$channels.ChannelParticipants = $MadelineProto->channels->getParticipants(['channel' => InputChannel, 'filter' => ChannelParticipantsFilter, 'offset' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -channels_ChannelParticipants = channels.getParticipants({channel=InputChannel, filter=ChannelParticipantsFilter, offset=int, limit=int, }) +channels.ChannelParticipants = channels.getParticipants({channel=InputChannel, filter=ChannelParticipantsFilter, offset=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v68/methods/contacts.deleteContact.md b/old_docs/API_docs_v68/methods/contacts.deleteContact.md index a9321d64..9169e1e0 100644 --- a/old_docs/API_docs_v68/methods/contacts.deleteContact.md +++ b/old_docs/API_docs_v68/methods/contacts.deleteContact.md @@ -16,7 +16,7 @@ Delete a contact |id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | The contact to delete | Optional| -### Return type: [contacts\_Link](../types/contacts_Link.md) +### Return type: [contacts.Link](../types/contacts.Link.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Link = $MadelineProto->contacts->deleteContact(['id' => InputUser, ]); +$contacts.Link = $MadelineProto->contacts->deleteContact(['id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -contacts_Link = contacts.deleteContact({id=InputUser, }) +contacts.Link = contacts.deleteContact({id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v68/methods/contacts.getBlocked.md b/old_docs/API_docs_v68/methods/contacts.getBlocked.md index 92f2f331..6ac1c343 100644 --- a/old_docs/API_docs_v68/methods/contacts.getBlocked.md +++ b/old_docs/API_docs_v68/methods/contacts.getBlocked.md @@ -17,7 +17,7 @@ Returns the list of blocked users. |limit|[int](../types/int.md) | The number of list elements to be returned | Yes| -### Return type: [contacts\_Blocked](../types/contacts_Blocked.md) +### Return type: [contacts.Blocked](../types/contacts.Blocked.md) ### Can bots use this method: **NO** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Blocked = $MadelineProto->contacts->getBlocked(['offset' => int, 'limit' => int, ]); +$contacts.Blocked = $MadelineProto->contacts->getBlocked(['offset' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -contacts_Blocked = contacts.getBlocked({offset=int, limit=int, }) +contacts.Blocked = contacts.getBlocked({offset=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v68/methods/contacts.getContacts.md b/old_docs/API_docs_v68/methods/contacts.getContacts.md index caee7aa8..a2fcd412 100644 --- a/old_docs/API_docs_v68/methods/contacts.getContacts.md +++ b/old_docs/API_docs_v68/methods/contacts.getContacts.md @@ -16,7 +16,7 @@ Returns the current user's contact list. |hash|[string](../types/string.md) | List of contact user IDs you already cached | Yes| -### Return type: [contacts\_Contacts](../types/contacts_Contacts.md) +### Return type: [contacts.Contacts](../types/contacts.Contacts.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Contacts = $MadelineProto->contacts->getContacts(['hash' => 'string', ]); +$contacts.Contacts = $MadelineProto->contacts->getContacts(['hash' => 'string', ]); ``` Or, if you're into Lua: ```lua -contacts_Contacts = contacts.getContacts({hash='string', }) +contacts.Contacts = contacts.getContacts({hash='string', }) ``` diff --git a/old_docs/API_docs_v68/methods/contacts.getTopPeers.md b/old_docs/API_docs_v68/methods/contacts.getTopPeers.md index 0acf7155..870de6b3 100644 --- a/old_docs/API_docs_v68/methods/contacts.getTopPeers.md +++ b/old_docs/API_docs_v68/methods/contacts.getTopPeers.md @@ -24,7 +24,7 @@ Get most used peers |hash|Array of [int](../types/int.md) | Peer IDs of previously cached peers | Optional| -### Return type: [contacts\_TopPeers](../types/contacts_TopPeers.md) +### Return type: [contacts.TopPeers](../types/contacts.TopPeers.md) ### Can bots use this method: **NO** @@ -41,13 +41,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_TopPeers = $MadelineProto->contacts->getTopPeers(['correspondents' => Bool, 'bots_pm' => Bool, 'bots_inline' => Bool, 'phone_calls' => Bool, 'groups' => Bool, 'channels' => Bool, 'offset' => int, 'limit' => int, 'hash' => [int, int], ]); +$contacts.TopPeers = $MadelineProto->contacts->getTopPeers(['correspondents' => Bool, 'bots_pm' => Bool, 'bots_inline' => Bool, 'phone_calls' => Bool, 'groups' => Bool, 'channels' => Bool, 'offset' => int, 'limit' => int, 'hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -contacts_TopPeers = contacts.getTopPeers({correspondents=Bool, bots_pm=Bool, bots_inline=Bool, phone_calls=Bool, groups=Bool, channels=Bool, offset=int, limit=int, hash={int}, }) +contacts.TopPeers = contacts.getTopPeers({correspondents=Bool, bots_pm=Bool, bots_inline=Bool, phone_calls=Bool, groups=Bool, channels=Bool, offset=int, limit=int, hash={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v68/methods/contacts.importContacts.md b/old_docs/API_docs_v68/methods/contacts.importContacts.md index 572df9fb..975d0565 100644 --- a/old_docs/API_docs_v68/methods/contacts.importContacts.md +++ b/old_docs/API_docs_v68/methods/contacts.importContacts.md @@ -17,7 +17,7 @@ Imports contacts: saves a full list on the server, adds already registered conta |replace|[Bool](../types/Bool.md) | Replace contacts? | Yes| -### Return type: [contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) +### Return type: [contacts.ImportedContacts](../types/contacts.ImportedContacts.md) ### Can bots use this method: **NO** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_ImportedContacts = $MadelineProto->contacts->importContacts(['contacts' => [InputContact, InputContact], 'replace' => Bool, ]); +$contacts.ImportedContacts = $MadelineProto->contacts->importContacts(['contacts' => [InputContact, InputContact], 'replace' => Bool, ]); ``` Or, if you're into Lua: ```lua -contacts_ImportedContacts = contacts.importContacts({contacts={InputContact}, replace=Bool, }) +contacts.ImportedContacts = contacts.importContacts({contacts={InputContact}, replace=Bool, }) ``` diff --git a/old_docs/API_docs_v68/methods/contacts.resolveUsername.md b/old_docs/API_docs_v68/methods/contacts.resolveUsername.md index 05e3d854..46f1eb50 100644 --- a/old_docs/API_docs_v68/methods/contacts.resolveUsername.md +++ b/old_docs/API_docs_v68/methods/contacts.resolveUsername.md @@ -16,7 +16,7 @@ You cannot use this method directly, use the resolveUsername, getPwrChat, getInf |username|[string](../types/string.md) | You cannot use this method directly, use the resolveUsername, getPwrChat, getInfo, getFullInfo methods instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [contacts\_ResolvedPeer](../types/contacts_ResolvedPeer.md) +### Return type: [contacts.ResolvedPeer](../types/contacts.ResolvedPeer.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_ResolvedPeer = $MadelineProto->contacts->resolveUsername(['username' => 'string', ]); +$contacts.ResolvedPeer = $MadelineProto->contacts->resolveUsername(['username' => 'string', ]); ``` Or, if you're into Lua: ```lua -contacts_ResolvedPeer = contacts.resolveUsername({username='string', }) +contacts.ResolvedPeer = contacts.resolveUsername({username='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v68/methods/contacts.search.md b/old_docs/API_docs_v68/methods/contacts.search.md index 2f39d6f1..ec04c7f9 100644 --- a/old_docs/API_docs_v68/methods/contacts.search.md +++ b/old_docs/API_docs_v68/methods/contacts.search.md @@ -17,7 +17,7 @@ Returns users found by username substring. |limit|[int](../types/int.md) | Maximum number of users to be returned | Yes| -### Return type: [contacts\_Found](../types/contacts_Found.md) +### Return type: [contacts.Found](../types/contacts.Found.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Found = $MadelineProto->contacts->search(['q' => 'string', 'limit' => int, ]); +$contacts.Found = $MadelineProto->contacts->search(['q' => 'string', 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -contacts_Found = contacts.search({q='string', limit=int, }) +contacts.Found = contacts.search({q='string', limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v68/methods/help.getAppUpdate.md b/old_docs/API_docs_v68/methods/help.getAppUpdate.md index 4c58e898..b9899d71 100644 --- a/old_docs/API_docs_v68/methods/help.getAppUpdate.md +++ b/old_docs/API_docs_v68/methods/help.getAppUpdate.md @@ -11,7 +11,7 @@ Returns information on update availability for the current application. -### Return type: [help\_AppUpdate](../types/help_AppUpdate.md) +### Return type: [help.AppUpdate](../types/help.AppUpdate.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_AppUpdate = $MadelineProto->help->getAppUpdate(); +$help.AppUpdate = $MadelineProto->help->getAppUpdate(); ``` Or, if you're into Lua: ```lua -help_AppUpdate = help.getAppUpdate({}) +help.AppUpdate = help.getAppUpdate({}) ``` diff --git a/old_docs/API_docs_v68/methods/help.getInviteText.md b/old_docs/API_docs_v68/methods/help.getInviteText.md index 6fd67362..0d427974 100644 --- a/old_docs/API_docs_v68/methods/help.getInviteText.md +++ b/old_docs/API_docs_v68/methods/help.getInviteText.md @@ -11,7 +11,7 @@ Returns text of a text message with an invitation. -### Return type: [help\_InviteText](../types/help_InviteText.md) +### Return type: [help.InviteText](../types/help.InviteText.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_InviteText = $MadelineProto->help->getInviteText(); +$help.InviteText = $MadelineProto->help->getInviteText(); ``` Or, if you're into Lua: ```lua -help_InviteText = help.getInviteText({}) +help.InviteText = help.getInviteText({}) ``` diff --git a/old_docs/API_docs_v68/methods/help.getSupport.md b/old_docs/API_docs_v68/methods/help.getSupport.md index 7a577892..8a8df916 100644 --- a/old_docs/API_docs_v68/methods/help.getSupport.md +++ b/old_docs/API_docs_v68/methods/help.getSupport.md @@ -11,7 +11,7 @@ Returns the support user for the 'ask a question' feature. -### Return type: [help\_Support](../types/help_Support.md) +### Return type: [help.Support](../types/help.Support.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_Support = $MadelineProto->help->getSupport(); +$help.Support = $MadelineProto->help->getSupport(); ``` Or, if you're into Lua: ```lua -help_Support = help.getSupport({}) +help.Support = help.getSupport({}) ``` diff --git a/old_docs/API_docs_v68/methods/help.getTermsOfService.md b/old_docs/API_docs_v68/methods/help.getTermsOfService.md index f6226458..9f9b28f9 100644 --- a/old_docs/API_docs_v68/methods/help.getTermsOfService.md +++ b/old_docs/API_docs_v68/methods/help.getTermsOfService.md @@ -11,7 +11,7 @@ Get terms of service -### Return type: [help\_TermsOfService](../types/help_TermsOfService.md) +### Return type: [help.TermsOfService](../types/help.TermsOfService.md) ### Can bots use this method: **YES** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_TermsOfService = $MadelineProto->help->getTermsOfService(); +$help.TermsOfService = $MadelineProto->help->getTermsOfService(); ``` Or, if you're into Lua: ```lua -help_TermsOfService = help.getTermsOfService({}) +help.TermsOfService = help.getTermsOfService({}) ``` diff --git a/old_docs/API_docs_v68/methods/messages.deleteHistory.md b/old_docs/API_docs_v68/methods/messages.deleteHistory.md index 9ae1bae9..41460415 100644 --- a/old_docs/API_docs_v68/methods/messages.deleteHistory.md +++ b/old_docs/API_docs_v68/methods/messages.deleteHistory.md @@ -18,7 +18,7 @@ Deletes communication history. |max\_id|[int](../types/int.md) | Maximum ID of message to delete | Yes| -### Return type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) +### Return type: [messages.AffectedHistory](../types/messages.AffectedHistory.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedHistory = $MadelineProto->messages->deleteHistory(['just_clear' => Bool, 'peer' => InputPeer, 'max_id' => int, ]); +$messages.AffectedHistory = $MadelineProto->messages->deleteHistory(['just_clear' => Bool, 'peer' => InputPeer, 'max_id' => int, ]); ``` Or, if you're into Lua: ```lua -messages_AffectedHistory = messages.deleteHistory({just_clear=Bool, peer=InputPeer, max_id=int, }) +messages.AffectedHistory = messages.deleteHistory({just_clear=Bool, peer=InputPeer, max_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v68/methods/messages.deleteMessages.md b/old_docs/API_docs_v68/methods/messages.deleteMessages.md index ade04cae..ade96e60 100644 --- a/old_docs/API_docs_v68/methods/messages.deleteMessages.md +++ b/old_docs/API_docs_v68/methods/messages.deleteMessages.md @@ -17,7 +17,7 @@ Deletes messages by their identifiers. |id|Array of [int](../types/int.md) | IDs of messages to delete, use channels->deleteMessages for supergroups | Yes| -### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) +### Return type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedMessages = $MadelineProto->messages->deleteMessages(['revoke' => Bool, 'id' => [int, int], ]); +$messages.AffectedMessages = $MadelineProto->messages->deleteMessages(['revoke' => Bool, 'id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AffectedMessages = messages.deleteMessages({revoke=Bool, id={int}, }) +messages.AffectedMessages = messages.deleteMessages({revoke=Bool, id={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v68/methods/messages.getAllChats.md b/old_docs/API_docs_v68/methods/messages.getAllChats.md index cdcc5430..97cc4817 100644 --- a/old_docs/API_docs_v68/methods/messages.getAllChats.md +++ b/old_docs/API_docs_v68/methods/messages.getAllChats.md @@ -16,7 +16,7 @@ Get all chats, channels and supergroups |except\_ids|Array of [int](../types/int.md) | Do not fetch these chats (MTProto id) | Yes| -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->messages->getAllChats(['except_ids' => [int, int], ]); +$messages.Chats = $MadelineProto->messages->getAllChats(['except_ids' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Chats = messages.getAllChats({except_ids={int}, }) +messages.Chats = messages.getAllChats({except_ids={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v68/methods/messages.getAllStickers.md b/old_docs/API_docs_v68/methods/messages.getAllStickers.md index 329b70be..0f0de7f1 100644 --- a/old_docs/API_docs_v68/methods/messages.getAllStickers.md +++ b/old_docs/API_docs_v68/methods/messages.getAllStickers.md @@ -16,7 +16,7 @@ Get all installed stickers |hash|Array of [int](../types/int.md) | The hash parameter of the previous result of this method | Optional| -### Return type: [messages\_AllStickers](../types/messages_AllStickers.md) +### Return type: [messages.AllStickers](../types/messages.AllStickers.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AllStickers = $MadelineProto->messages->getAllStickers(['hash' => [int, int], ]); +$messages.AllStickers = $MadelineProto->messages->getAllStickers(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AllStickers = messages.getAllStickers({hash={int}, }) +messages.AllStickers = messages.getAllStickers({hash={int}, }) ``` diff --git a/old_docs/API_docs_v68/methods/messages.getArchivedStickers.md b/old_docs/API_docs_v68/methods/messages.getArchivedStickers.md index d3abe9fc..c108376e 100644 --- a/old_docs/API_docs_v68/methods/messages.getArchivedStickers.md +++ b/old_docs/API_docs_v68/methods/messages.getArchivedStickers.md @@ -18,7 +18,7 @@ Get all archived stickers |limit|[int](../types/int.md) | Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_ArchivedStickers](../types/messages_ArchivedStickers.md) +### Return type: [messages.ArchivedStickers](../types/messages.ArchivedStickers.md) ### Can bots use this method: **NO** @@ -35,12 +35,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_ArchivedStickers = $MadelineProto->messages->getArchivedStickers(['masks' => Bool, 'offset_id' => long, 'limit' => int, ]); +$messages.ArchivedStickers = $MadelineProto->messages->getArchivedStickers(['masks' => Bool, 'offset_id' => long, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -messages_ArchivedStickers = messages.getArchivedStickers({masks=Bool, offset_id=long, limit=int, }) +messages.ArchivedStickers = messages.getArchivedStickers({masks=Bool, offset_id=long, limit=int, }) ``` diff --git a/old_docs/API_docs_v68/methods/messages.getBotCallbackAnswer.md b/old_docs/API_docs_v68/methods/messages.getBotCallbackAnswer.md index 015fc46b..10072386 100644 --- a/old_docs/API_docs_v68/methods/messages.getBotCallbackAnswer.md +++ b/old_docs/API_docs_v68/methods/messages.getBotCallbackAnswer.md @@ -19,7 +19,7 @@ Press an inline callback button and get a callback answer from the bot |data|[bytes](../types/bytes.md) | Callback data | Optional| -### Return type: [messages\_BotCallbackAnswer](../types/messages_BotCallbackAnswer.md) +### Return type: [messages.BotCallbackAnswer](../types/messages.BotCallbackAnswer.md) ### Can bots use this method: **NO** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_BotCallbackAnswer = $MadelineProto->messages->getBotCallbackAnswer(['game' => Bool, 'peer' => InputPeer, 'msg_id' => int, 'data' => 'bytes', ]); +$messages.BotCallbackAnswer = $MadelineProto->messages->getBotCallbackAnswer(['game' => Bool, 'peer' => InputPeer, 'msg_id' => int, 'data' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -messages_BotCallbackAnswer = messages.getBotCallbackAnswer({game=Bool, peer=InputPeer, msg_id=int, data='bytes', }) +messages.BotCallbackAnswer = messages.getBotCallbackAnswer({game=Bool, peer=InputPeer, msg_id=int, data='bytes', }) ``` ### Errors diff --git a/old_docs/API_docs_v68/methods/messages.getChats.md b/old_docs/API_docs_v68/methods/messages.getChats.md index c34b0488..146341f5 100644 --- a/old_docs/API_docs_v68/methods/messages.getChats.md +++ b/old_docs/API_docs_v68/methods/messages.getChats.md @@ -16,7 +16,7 @@ Returns chat basic info on their IDs. |id|Array of [int](../types/int.md) | The MTProto IDs of chats to fetch info about | Yes| -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->messages->getChats(['id' => [int, int], ]); +$messages.Chats = $MadelineProto->messages->getChats(['id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Chats = messages.getChats({id={int}, }) +messages.Chats = messages.getChats({id={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v68/methods/messages.getCommonChats.md b/old_docs/API_docs_v68/methods/messages.getCommonChats.md index fc7b2363..56a3ec01 100644 --- a/old_docs/API_docs_v68/methods/messages.getCommonChats.md +++ b/old_docs/API_docs_v68/methods/messages.getCommonChats.md @@ -18,7 +18,7 @@ Get chats in common with a user |limit|[int](../types/int.md) | Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->messages->getCommonChats(['user_id' => InputUser, 'max_id' => int, 'limit' => int, ]); +$messages.Chats = $MadelineProto->messages->getCommonChats(['user_id' => InputUser, 'max_id' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Chats = messages.getCommonChats({user_id=InputUser, max_id=int, limit=int, }) +messages.Chats = messages.getCommonChats({user_id=InputUser, max_id=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v68/methods/messages.getDhConfig.md b/old_docs/API_docs_v68/methods/messages.getDhConfig.md index 88ea4ab3..7b9da566 100644 --- a/old_docs/API_docs_v68/methods/messages.getDhConfig.md +++ b/old_docs/API_docs_v68/methods/messages.getDhConfig.md @@ -17,7 +17,7 @@ You cannot use this method directly, instead use $MadelineProto->getDhConfig(); |random\_length|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->getDhConfig(); | Yes| -### Return type: [messages\_DhConfig](../types/messages_DhConfig.md) +### Return type: [messages.DhConfig](../types/messages.DhConfig.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_DhConfig = $MadelineProto->messages->getDhConfig(['version' => int, 'random_length' => int, ]); +$messages.DhConfig = $MadelineProto->messages->getDhConfig(['version' => int, 'random_length' => int, ]); ``` Or, if you're into Lua: ```lua -messages_DhConfig = messages.getDhConfig({version=int, random_length=int, }) +messages.DhConfig = messages.getDhConfig({version=int, random_length=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v68/methods/messages.getDialogs.md b/old_docs/API_docs_v68/methods/messages.getDialogs.md index 9f3fd365..44b8efc8 100644 --- a/old_docs/API_docs_v68/methods/messages.getDialogs.md +++ b/old_docs/API_docs_v68/methods/messages.getDialogs.md @@ -20,7 +20,7 @@ Returns the current user dialog list. |limit|[int](../types/int.md) | Number of list elements to be returned | Yes| -### Return type: [messages\_Dialogs](../types/messages_Dialogs.md) +### Return type: [messages.Dialogs](../types/messages.Dialogs.md) ### Can bots use this method: **NO** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Dialogs = $MadelineProto->messages->getDialogs(['exclude_pinned' => Bool, 'offset_date' => int, 'offset_id' => int, 'offset_peer' => InputPeer, 'limit' => int, ]); +$messages.Dialogs = $MadelineProto->messages->getDialogs(['exclude_pinned' => Bool, 'offset_date' => int, 'offset_id' => int, 'offset_peer' => InputPeer, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Dialogs = messages.getDialogs({exclude_pinned=Bool, offset_date=int, offset_id=int, offset_peer=InputPeer, limit=int, }) +messages.Dialogs = messages.getDialogs({exclude_pinned=Bool, offset_date=int, offset_id=int, offset_peer=InputPeer, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v68/methods/messages.getFeaturedStickers.md b/old_docs/API_docs_v68/methods/messages.getFeaturedStickers.md index 8f2634c3..2d65d626 100644 --- a/old_docs/API_docs_v68/methods/messages.getFeaturedStickers.md +++ b/old_docs/API_docs_v68/methods/messages.getFeaturedStickers.md @@ -16,7 +16,7 @@ Get featured stickers |hash|Array of [int](../types/int.md) | the hash parameter of the previous result of this method | Optional| -### Return type: [messages\_FeaturedStickers](../types/messages_FeaturedStickers.md) +### Return type: [messages.FeaturedStickers](../types/messages.FeaturedStickers.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_FeaturedStickers = $MadelineProto->messages->getFeaturedStickers(['hash' => [int, int], ]); +$messages.FeaturedStickers = $MadelineProto->messages->getFeaturedStickers(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_FeaturedStickers = messages.getFeaturedStickers({hash={int}, }) +messages.FeaturedStickers = messages.getFeaturedStickers({hash={int}, }) ``` diff --git a/old_docs/API_docs_v68/methods/messages.getFullChat.md b/old_docs/API_docs_v68/methods/messages.getFullChat.md index abf23e21..de543651 100644 --- a/old_docs/API_docs_v68/methods/messages.getFullChat.md +++ b/old_docs/API_docs_v68/methods/messages.getFullChat.md @@ -16,7 +16,7 @@ You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo me |chat\_id|[Username, chat ID, Update, Message or InputPeer](../types/InputPeer.md) | You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo methods instead (see https://docs.madelineproto.xyz for more info) | Optional| -### Return type: [messages\_ChatFull](../types/messages_ChatFull.md) +### Return type: [messages.ChatFull](../types/messages.ChatFull.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_ChatFull = $MadelineProto->messages->getFullChat(['chat_id' => InputPeer, ]); +$messages.ChatFull = $MadelineProto->messages->getFullChat(['chat_id' => InputPeer, ]); ``` Or, if you're into Lua: ```lua -messages_ChatFull = messages.getFullChat({chat_id=InputPeer, }) +messages.ChatFull = messages.getFullChat({chat_id=InputPeer, }) ``` ### Errors diff --git a/old_docs/API_docs_v68/methods/messages.getGameHighScores.md b/old_docs/API_docs_v68/methods/messages.getGameHighScores.md index 0ee9d754..6e4dacb2 100644 --- a/old_docs/API_docs_v68/methods/messages.getGameHighScores.md +++ b/old_docs/API_docs_v68/methods/messages.getGameHighScores.md @@ -18,7 +18,7 @@ Get highscores of a game |user\_id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | Get high scores made by a certain user | Optional| -### Return type: [messages\_HighScores](../types/messages_HighScores.md) +### Return type: [messages.HighScores](../types/messages.HighScores.md) ### Can bots use this method: **YES** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_HighScores = $MadelineProto->messages->getGameHighScores(['peer' => InputPeer, 'id' => int, 'user_id' => InputUser, ]); +$messages.HighScores = $MadelineProto->messages->getGameHighScores(['peer' => InputPeer, 'id' => int, 'user_id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -messages_HighScores = messages.getGameHighScores({peer=InputPeer, id=int, user_id=InputUser, }) +messages.HighScores = messages.getGameHighScores({peer=InputPeer, id=int, user_id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v68/methods/messages.getHistory.md b/old_docs/API_docs_v68/methods/messages.getHistory.md index 636183d2..8e012da1 100644 --- a/old_docs/API_docs_v68/methods/messages.getHistory.md +++ b/old_docs/API_docs_v68/methods/messages.getHistory.md @@ -22,7 +22,7 @@ Gets back the conversation history with one interlocutor / within a chat |min\_id|[int](../types/int.md) | If a positive value was transferred, the method will return only messages with IDs more than **min\_id** | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **NO** @@ -39,13 +39,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->getHistory(['peer' => InputPeer, 'offset_id' => int, 'offset_date' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); +$messages.Messages = $MadelineProto->messages->getHistory(['peer' => InputPeer, 'offset_id' => int, 'offset_date' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.getHistory({peer=InputPeer, offset_id=int, offset_date=int, add_offset=int, limit=int, max_id=int, min_id=int, }) +messages.Messages = messages.getHistory({peer=InputPeer, offset_id=int, offset_date=int, add_offset=int, limit=int, max_id=int, min_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v68/methods/messages.getInlineBotResults.md b/old_docs/API_docs_v68/methods/messages.getInlineBotResults.md index ac251797..8a397236 100644 --- a/old_docs/API_docs_v68/methods/messages.getInlineBotResults.md +++ b/old_docs/API_docs_v68/methods/messages.getInlineBotResults.md @@ -20,7 +20,7 @@ Query an inline bot |offset|[string](../types/string.md) | The offset within the results, will be passed directly as-is to the bot. | Yes| -### Return type: [messages\_BotResults](../types/messages_BotResults.md) +### Return type: [messages.BotResults](../types/messages.BotResults.md) ### Can bots use this method: **NO** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_BotResults = $MadelineProto->messages->getInlineBotResults(['bot' => InputUser, 'peer' => InputPeer, 'geo_point' => InputGeoPoint, 'query' => 'string', 'offset' => 'string', ]); +$messages.BotResults = $MadelineProto->messages->getInlineBotResults(['bot' => InputUser, 'peer' => InputPeer, 'geo_point' => InputGeoPoint, 'query' => 'string', 'offset' => 'string', ]); ``` Or, if you're into Lua: ```lua -messages_BotResults = messages.getInlineBotResults({bot=InputUser, peer=InputPeer, geo_point=InputGeoPoint, query='string', offset='string', }) +messages.BotResults = messages.getInlineBotResults({bot=InputUser, peer=InputPeer, geo_point=InputGeoPoint, query='string', offset='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v68/methods/messages.getInlineGameHighScores.md b/old_docs/API_docs_v68/methods/messages.getInlineGameHighScores.md index 0d02b426..dbcb2cf6 100644 --- a/old_docs/API_docs_v68/methods/messages.getInlineGameHighScores.md +++ b/old_docs/API_docs_v68/methods/messages.getInlineGameHighScores.md @@ -17,7 +17,7 @@ Get highscores of a game sent using an inline bot |user\_id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | Get high scores of a certain user | Optional| -### Return type: [messages\_HighScores](../types/messages_HighScores.md) +### Return type: [messages.HighScores](../types/messages.HighScores.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_HighScores = $MadelineProto->messages->getInlineGameHighScores(['id' => InputBotInlineMessageID, 'user_id' => InputUser, ]); +$messages.HighScores = $MadelineProto->messages->getInlineGameHighScores(['id' => InputBotInlineMessageID, 'user_id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -messages_HighScores = messages.getInlineGameHighScores({id=InputBotInlineMessageID, user_id=InputUser, }) +messages.HighScores = messages.getInlineGameHighScores({id=InputBotInlineMessageID, user_id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v68/methods/messages.getMaskStickers.md b/old_docs/API_docs_v68/methods/messages.getMaskStickers.md index a09834e1..093645f6 100644 --- a/old_docs/API_docs_v68/methods/messages.getMaskStickers.md +++ b/old_docs/API_docs_v68/methods/messages.getMaskStickers.md @@ -16,7 +16,7 @@ Get installed mask stickers |hash|Array of [int](../types/int.md) | the hash parameter of the previous result of this method | Optional| -### Return type: [messages\_AllStickers](../types/messages_AllStickers.md) +### Return type: [messages.AllStickers](../types/messages.AllStickers.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AllStickers = $MadelineProto->messages->getMaskStickers(['hash' => [int, int], ]); +$messages.AllStickers = $MadelineProto->messages->getMaskStickers(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AllStickers = messages.getMaskStickers({hash={int}, }) +messages.AllStickers = messages.getMaskStickers({hash={int}, }) ``` diff --git a/old_docs/API_docs_v68/methods/messages.getMessageEditData.md b/old_docs/API_docs_v68/methods/messages.getMessageEditData.md index 1a083f08..7fd32e82 100644 --- a/old_docs/API_docs_v68/methods/messages.getMessageEditData.md +++ b/old_docs/API_docs_v68/methods/messages.getMessageEditData.md @@ -17,7 +17,7 @@ Find out if a media message's caption can be edited |id|[int](../types/int.md) | ID of message | Yes| -### Return type: [messages\_MessageEditData](../types/messages_MessageEditData.md) +### Return type: [messages.MessageEditData](../types/messages.MessageEditData.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_MessageEditData = $MadelineProto->messages->getMessageEditData(['peer' => InputPeer, 'id' => int, ]); +$messages.MessageEditData = $MadelineProto->messages->getMessageEditData(['peer' => InputPeer, 'id' => int, ]); ``` Or, if you're into Lua: ```lua -messages_MessageEditData = messages.getMessageEditData({peer=InputPeer, id=int, }) +messages.MessageEditData = messages.getMessageEditData({peer=InputPeer, id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v68/methods/messages.getMessages.md b/old_docs/API_docs_v68/methods/messages.getMessages.md index a3139513..c7760d7e 100644 --- a/old_docs/API_docs_v68/methods/messages.getMessages.md +++ b/old_docs/API_docs_v68/methods/messages.getMessages.md @@ -16,7 +16,7 @@ Returns the list of messages by their IDs. |id|Array of [int](../types/int.md) | The IDs of messages to fetch (only for users and normal groups) | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **YES** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->getMessages(['id' => [int, int], ]); +$messages.Messages = $MadelineProto->messages->getMessages(['id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.getMessages({id={int}, }) +messages.Messages = messages.getMessages({id={int}, }) ``` diff --git a/old_docs/API_docs_v68/methods/messages.getPeerDialogs.md b/old_docs/API_docs_v68/methods/messages.getPeerDialogs.md index a2c2714b..79bd7fa3 100644 --- a/old_docs/API_docs_v68/methods/messages.getPeerDialogs.md +++ b/old_docs/API_docs_v68/methods/messages.getPeerDialogs.md @@ -16,7 +16,7 @@ Get dialog info of specified peers |peers|Array of [Username, chat ID, Update, Message or InputPeer](../types/InputPeer.md) | The peers | Yes| -### Return type: [messages\_PeerDialogs](../types/messages_PeerDialogs.md) +### Return type: [messages.PeerDialogs](../types/messages.PeerDialogs.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_PeerDialogs = $MadelineProto->messages->getPeerDialogs(['peers' => [InputPeer, InputPeer], ]); +$messages.PeerDialogs = $MadelineProto->messages->getPeerDialogs(['peers' => [InputPeer, InputPeer], ]); ``` Or, if you're into Lua: ```lua -messages_PeerDialogs = messages.getPeerDialogs({peers={InputPeer}, }) +messages.PeerDialogs = messages.getPeerDialogs({peers={InputPeer}, }) ``` ### Errors diff --git a/old_docs/API_docs_v68/methods/messages.getPinnedDialogs.md b/old_docs/API_docs_v68/methods/messages.getPinnedDialogs.md index f106098d..161075f2 100644 --- a/old_docs/API_docs_v68/methods/messages.getPinnedDialogs.md +++ b/old_docs/API_docs_v68/methods/messages.getPinnedDialogs.md @@ -11,7 +11,7 @@ Get pinned dialogs -### Return type: [messages\_PeerDialogs](../types/messages_PeerDialogs.md) +### Return type: [messages.PeerDialogs](../types/messages.PeerDialogs.md) ### Can bots use this method: **NO** @@ -28,13 +28,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_PeerDialogs = $MadelineProto->messages->getPinnedDialogs(); +$messages.PeerDialogs = $MadelineProto->messages->getPinnedDialogs(); ``` Or, if you're into Lua: ```lua -messages_PeerDialogs = messages.getPinnedDialogs({}) +messages.PeerDialogs = messages.getPinnedDialogs({}) ``` ### Errors diff --git a/old_docs/API_docs_v68/methods/messages.getRecentStickers.md b/old_docs/API_docs_v68/methods/messages.getRecentStickers.md index 28a70889..39cef16a 100644 --- a/old_docs/API_docs_v68/methods/messages.getRecentStickers.md +++ b/old_docs/API_docs_v68/methods/messages.getRecentStickers.md @@ -17,7 +17,7 @@ Get recent stickers |hash|Array of [int](../types/int.md) | IDs the hash parameter of the previous result of this method | Optional| -### Return type: [messages\_RecentStickers](../types/messages_RecentStickers.md) +### Return type: [messages.RecentStickers](../types/messages.RecentStickers.md) ### Can bots use this method: **NO** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_RecentStickers = $MadelineProto->messages->getRecentStickers(['attached' => Bool, 'hash' => [int, int], ]); +$messages.RecentStickers = $MadelineProto->messages->getRecentStickers(['attached' => Bool, 'hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_RecentStickers = messages.getRecentStickers({attached=Bool, hash={int}, }) +messages.RecentStickers = messages.getRecentStickers({attached=Bool, hash={int}, }) ``` diff --git a/old_docs/API_docs_v68/methods/messages.getSavedGifs.md b/old_docs/API_docs_v68/methods/messages.getSavedGifs.md index 1df7f37c..8b31f7b8 100644 --- a/old_docs/API_docs_v68/methods/messages.getSavedGifs.md +++ b/old_docs/API_docs_v68/methods/messages.getSavedGifs.md @@ -16,7 +16,7 @@ Get saved GIFs |hash|Array of [int](../types/int.md) | the hash parameter of the previous result of this method | Optional| -### Return type: [messages\_SavedGifs](../types/messages_SavedGifs.md) +### Return type: [messages.SavedGifs](../types/messages.SavedGifs.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_SavedGifs = $MadelineProto->messages->getSavedGifs(['hash' => [int, int], ]); +$messages.SavedGifs = $MadelineProto->messages->getSavedGifs(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_SavedGifs = messages.getSavedGifs({hash={int}, }) +messages.SavedGifs = messages.getSavedGifs({hash={int}, }) ``` diff --git a/old_docs/API_docs_v68/methods/messages.getStickerSet.md b/old_docs/API_docs_v68/methods/messages.getStickerSet.md index 45fca60f..f11887ee 100644 --- a/old_docs/API_docs_v68/methods/messages.getStickerSet.md +++ b/old_docs/API_docs_v68/methods/messages.getStickerSet.md @@ -16,7 +16,7 @@ Get info about a stickerset |stickerset|[InputStickerSet](../types/InputStickerSet.md) | Stickerset | Optional| -### Return type: [messages\_StickerSet](../types/messages_StickerSet.md) +### Return type: [messages.StickerSet](../types/messages.StickerSet.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StickerSet = $MadelineProto->messages->getStickerSet(['stickerset' => InputStickerSet, ]); +$messages.StickerSet = $MadelineProto->messages->getStickerSet(['stickerset' => InputStickerSet, ]); ``` Or, if you're into Lua: ```lua -messages_StickerSet = messages.getStickerSet({stickerset=InputStickerSet, }) +messages.StickerSet = messages.getStickerSet({stickerset=InputStickerSet, }) ``` ### Errors diff --git a/old_docs/API_docs_v68/methods/messages.installStickerSet.md b/old_docs/API_docs_v68/methods/messages.installStickerSet.md index 1a95ca0b..83ce2121 100644 --- a/old_docs/API_docs_v68/methods/messages.installStickerSet.md +++ b/old_docs/API_docs_v68/methods/messages.installStickerSet.md @@ -17,7 +17,7 @@ Install a stickerset |archived|[Bool](../types/Bool.md) | Whether to archive stickerset | Yes| -### Return type: [messages\_StickerSetInstallResult](../types/messages_StickerSetInstallResult.md) +### Return type: [messages.StickerSetInstallResult](../types/messages.StickerSetInstallResult.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StickerSetInstallResult = $MadelineProto->messages->installStickerSet(['stickerset' => InputStickerSet, 'archived' => Bool, ]); +$messages.StickerSetInstallResult = $MadelineProto->messages->installStickerSet(['stickerset' => InputStickerSet, 'archived' => Bool, ]); ``` Or, if you're into Lua: ```lua -messages_StickerSetInstallResult = messages.installStickerSet({stickerset=InputStickerSet, archived=Bool, }) +messages.StickerSetInstallResult = messages.installStickerSet({stickerset=InputStickerSet, archived=Bool, }) ``` ### Errors diff --git a/old_docs/API_docs_v68/methods/messages.readHistory.md b/old_docs/API_docs_v68/methods/messages.readHistory.md index 39753375..52030c68 100644 --- a/old_docs/API_docs_v68/methods/messages.readHistory.md +++ b/old_docs/API_docs_v68/methods/messages.readHistory.md @@ -17,7 +17,7 @@ Marks message history as read. |max\_id|[int](../types/int.md) | If a positive value is passed, only messages with identifiers less or equal than the given one will be read | Yes| -### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) +### Return type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedMessages = $MadelineProto->messages->readHistory(['peer' => InputPeer, 'max_id' => int, ]); +$messages.AffectedMessages = $MadelineProto->messages->readHistory(['peer' => InputPeer, 'max_id' => int, ]); ``` Or, if you're into Lua: ```lua -messages_AffectedMessages = messages.readHistory({peer=InputPeer, max_id=int, }) +messages.AffectedMessages = messages.readHistory({peer=InputPeer, max_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v68/methods/messages.readMessageContents.md b/old_docs/API_docs_v68/methods/messages.readMessageContents.md index c479cafe..9798e661 100644 --- a/old_docs/API_docs_v68/methods/messages.readMessageContents.md +++ b/old_docs/API_docs_v68/methods/messages.readMessageContents.md @@ -16,7 +16,7 @@ Notifies the sender about the recipient having listened a voice message or watch |id|Array of [int](../types/int.md) | The messages to mark as read (only users and normal chats, not supergroups) | Yes| -### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) +### Return type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedMessages = $MadelineProto->messages->readMessageContents(['id' => [int, int], ]); +$messages.AffectedMessages = $MadelineProto->messages->readMessageContents(['id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AffectedMessages = messages.readMessageContents({id={int}, }) +messages.AffectedMessages = messages.readMessageContents({id={int}, }) ``` diff --git a/old_docs/API_docs_v68/methods/messages.search.md b/old_docs/API_docs_v68/methods/messages.search.md index bc129e8c..4484b0d5 100644 --- a/old_docs/API_docs_v68/methods/messages.search.md +++ b/old_docs/API_docs_v68/methods/messages.search.md @@ -24,7 +24,7 @@ Gets back found messages |limit|[int](../types/int.md) | [Number of results to return](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **NO** @@ -41,13 +41,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->search(['peer' => InputPeer, 'q' => 'string', 'from_id' => InputUser, 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); +$messages.Messages = $MadelineProto->messages->search(['peer' => InputPeer, 'q' => 'string', 'from_id' => InputUser, 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.search({peer=InputPeer, q='string', from_id=InputUser, filter=MessagesFilter, min_date=int, max_date=int, offset=int, max_id=int, limit=int, }) +messages.Messages = messages.search({peer=InputPeer, q='string', from_id=InputUser, filter=MessagesFilter, min_date=int, max_date=int, offset=int, max_id=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v68/methods/messages.searchGifs.md b/old_docs/API_docs_v68/methods/messages.searchGifs.md index 851371d7..193a0cd4 100644 --- a/old_docs/API_docs_v68/methods/messages.searchGifs.md +++ b/old_docs/API_docs_v68/methods/messages.searchGifs.md @@ -17,7 +17,7 @@ Search for GIFs |offset|[int](../types/int.md) | Offset for [pagination »](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_FoundGifs](../types/messages_FoundGifs.md) +### Return type: [messages.FoundGifs](../types/messages.FoundGifs.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_FoundGifs = $MadelineProto->messages->searchGifs(['q' => 'string', 'offset' => int, ]); +$messages.FoundGifs = $MadelineProto->messages->searchGifs(['q' => 'string', 'offset' => int, ]); ``` Or, if you're into Lua: ```lua -messages_FoundGifs = messages.searchGifs({q='string', offset=int, }) +messages.FoundGifs = messages.searchGifs({q='string', offset=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v68/methods/messages.searchGlobal.md b/old_docs/API_docs_v68/methods/messages.searchGlobal.md index 4bd59f25..1a3b736d 100644 --- a/old_docs/API_docs_v68/methods/messages.searchGlobal.md +++ b/old_docs/API_docs_v68/methods/messages.searchGlobal.md @@ -20,7 +20,7 @@ Search for messages and peers globally |limit|[int](../types/int.md) | [Offsets for pagination, for more info click here](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **NO** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->searchGlobal(['q' => 'string', 'offset_date' => int, 'offset_peer' => InputPeer, 'offset_id' => int, 'limit' => int, ]); +$messages.Messages = $MadelineProto->messages->searchGlobal(['q' => 'string', 'offset_date' => int, 'offset_peer' => InputPeer, 'offset_id' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.searchGlobal({q='string', offset_date=int, offset_peer=InputPeer, offset_id=int, limit=int, }) +messages.Messages = messages.searchGlobal({q='string', offset_date=int, offset_peer=InputPeer, offset_id=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v68/methods/messages.sendEncrypted.md b/old_docs/API_docs_v68/methods/messages.sendEncrypted.md index 47b5ef29..6a68b563 100644 --- a/old_docs/API_docs_v68/methods/messages.sendEncrypted.md +++ b/old_docs/API_docs_v68/methods/messages.sendEncrypted.md @@ -14,10 +14,10 @@ Sends a text message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|message|[DecryptedMessage](../types/DecryptedMessage.md) | The message to send | Yes| +|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key that was created during chat initialization | Yes| -### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ### Can bots use this method: **NO** @@ -34,21 +34,15 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncrypted(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); +$messages.SentEncryptedMessage = $MadelineProto->messages->sendEncrypted(['peer' => InputEncryptedChat, 'data' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -messages_SentEncryptedMessage = messages.sendEncrypted({peer=InputEncryptedChat, message=DecryptedMessage, }) +messages.SentEncryptedMessage = messages.sendEncrypted({peer=InputEncryptedChat, data='bytes', }) ``` - -## Return value - -If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) will be returned instead. - - ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v68/methods/messages.sendEncryptedFile.md b/old_docs/API_docs_v68/methods/messages.sendEncryptedFile.md index 4e0f7b7f..87185ba4 100644 --- a/old_docs/API_docs_v68/methods/messages.sendEncryptedFile.md +++ b/old_docs/API_docs_v68/methods/messages.sendEncryptedFile.md @@ -14,11 +14,11 @@ Sends a message with a file attachment to a secret chat | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|message|[DecryptedMessage](../types/DecryptedMessage.md) | The message with the file | Yes| +|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| |file|[File path or InputEncryptedFile](../types/InputEncryptedFile.md) | File attachment for the secret chat | Optional| -### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ### Can bots use this method: **NO** @@ -35,21 +35,15 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedFile(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, 'file' => InputEncryptedFile, ]); +$messages.SentEncryptedMessage = $MadelineProto->messages->sendEncryptedFile(['peer' => InputEncryptedChat, 'data' => 'bytes', 'file' => InputEncryptedFile, ]); ``` Or, if you're into Lua: ```lua -messages_SentEncryptedMessage = messages.sendEncryptedFile({peer=InputEncryptedChat, message=DecryptedMessage, file=InputEncryptedFile, }) +messages.SentEncryptedMessage = messages.sendEncryptedFile({peer=InputEncryptedChat, data='bytes', file=InputEncryptedFile, }) ``` - -## Return value - -If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) will be returned instead. - - ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v68/methods/messages.sendEncryptedService.md b/old_docs/API_docs_v68/methods/messages.sendEncryptedService.md index 86925ae3..38171272 100644 --- a/old_docs/API_docs_v68/methods/messages.sendEncryptedService.md +++ b/old_docs/API_docs_v68/methods/messages.sendEncryptedService.md @@ -14,10 +14,10 @@ Sends a service message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|message|[DecryptedMessage](../types/DecryptedMessage.md) | The service message | Yes| +|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| -### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ### Can bots use this method: **NO** @@ -34,21 +34,15 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedService(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); +$messages.SentEncryptedMessage = $MadelineProto->messages->sendEncryptedService(['peer' => InputEncryptedChat, 'data' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -messages_SentEncryptedMessage = messages.sendEncryptedService({peer=InputEncryptedChat, message=DecryptedMessage, }) +messages.SentEncryptedMessage = messages.sendEncryptedService({peer=InputEncryptedChat, data='bytes', }) ``` - -## Return value - -If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) will be returned instead. - - ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v68/methods/payments.getPaymentForm.md b/old_docs/API_docs_v68/methods/payments.getPaymentForm.md index 3a171a05..da173f14 100644 --- a/old_docs/API_docs_v68/methods/payments.getPaymentForm.md +++ b/old_docs/API_docs_v68/methods/payments.getPaymentForm.md @@ -16,7 +16,7 @@ Get a payment form |msg\_id|[int](../types/int.md) | Message ID of payment form | Yes| -### Return type: [payments\_PaymentForm](../types/payments_PaymentForm.md) +### Return type: [payments.PaymentForm](../types/payments.PaymentForm.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$payments_PaymentForm = $MadelineProto->payments->getPaymentForm(['msg_id' => int, ]); +$payments.PaymentForm = $MadelineProto->payments->getPaymentForm(['msg_id' => int, ]); ``` Or, if you're into Lua: ```lua -payments_PaymentForm = payments.getPaymentForm({msg_id=int, }) +payments.PaymentForm = payments.getPaymentForm({msg_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v68/methods/payments.getPaymentReceipt.md b/old_docs/API_docs_v68/methods/payments.getPaymentReceipt.md index 46d2267c..16e41367 100644 --- a/old_docs/API_docs_v68/methods/payments.getPaymentReceipt.md +++ b/old_docs/API_docs_v68/methods/payments.getPaymentReceipt.md @@ -16,7 +16,7 @@ Get payment receipt |msg\_id|[int](../types/int.md) | Message ID of receipt | Yes| -### Return type: [payments\_PaymentReceipt](../types/payments_PaymentReceipt.md) +### Return type: [payments.PaymentReceipt](../types/payments.PaymentReceipt.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$payments_PaymentReceipt = $MadelineProto->payments->getPaymentReceipt(['msg_id' => int, ]); +$payments.PaymentReceipt = $MadelineProto->payments->getPaymentReceipt(['msg_id' => int, ]); ``` Or, if you're into Lua: ```lua -payments_PaymentReceipt = payments.getPaymentReceipt({msg_id=int, }) +payments.PaymentReceipt = payments.getPaymentReceipt({msg_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v68/methods/payments.getSavedInfo.md b/old_docs/API_docs_v68/methods/payments.getSavedInfo.md index dc9c9b98..fe2c16ec 100644 --- a/old_docs/API_docs_v68/methods/payments.getSavedInfo.md +++ b/old_docs/API_docs_v68/methods/payments.getSavedInfo.md @@ -11,7 +11,7 @@ Get saved payment information -### Return type: [payments\_SavedInfo](../types/payments_SavedInfo.md) +### Return type: [payments.SavedInfo](../types/payments.SavedInfo.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$payments_SavedInfo = $MadelineProto->payments->getSavedInfo(); +$payments.SavedInfo = $MadelineProto->payments->getSavedInfo(); ``` Or, if you're into Lua: ```lua -payments_SavedInfo = payments.getSavedInfo({}) +payments.SavedInfo = payments.getSavedInfo({}) ``` diff --git a/old_docs/API_docs_v68/methods/payments.sendPaymentForm.md b/old_docs/API_docs_v68/methods/payments.sendPaymentForm.md index 8c478b92..de154e7f 100644 --- a/old_docs/API_docs_v68/methods/payments.sendPaymentForm.md +++ b/old_docs/API_docs_v68/methods/payments.sendPaymentForm.md @@ -19,7 +19,7 @@ Send compiled payment form |credentials|[InputPaymentCredentials](../types/InputPaymentCredentials.md) | Payment credentials | Yes| -### Return type: [payments\_PaymentResult](../types/payments_PaymentResult.md) +### Return type: [payments.PaymentResult](../types/payments.PaymentResult.md) ### Can bots use this method: **NO** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$payments_PaymentResult = $MadelineProto->payments->sendPaymentForm(['msg_id' => int, 'requested_info_id' => 'string', 'shipping_option_id' => 'string', 'credentials' => InputPaymentCredentials, ]); +$payments.PaymentResult = $MadelineProto->payments->sendPaymentForm(['msg_id' => int, 'requested_info_id' => 'string', 'shipping_option_id' => 'string', 'credentials' => InputPaymentCredentials, ]); ``` Or, if you're into Lua: ```lua -payments_PaymentResult = payments.sendPaymentForm({msg_id=int, requested_info_id='string', shipping_option_id='string', credentials=InputPaymentCredentials, }) +payments.PaymentResult = payments.sendPaymentForm({msg_id=int, requested_info_id='string', shipping_option_id='string', credentials=InputPaymentCredentials, }) ``` ### Errors diff --git a/old_docs/API_docs_v68/methods/payments.validateRequestedInfo.md b/old_docs/API_docs_v68/methods/payments.validateRequestedInfo.md index d6364a02..ce22cfe8 100644 --- a/old_docs/API_docs_v68/methods/payments.validateRequestedInfo.md +++ b/old_docs/API_docs_v68/methods/payments.validateRequestedInfo.md @@ -18,7 +18,7 @@ Submit requested order information for validation |info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Requested order information | Yes| -### Return type: [payments\_ValidatedRequestedInfo](../types/payments_ValidatedRequestedInfo.md) +### Return type: [payments.ValidatedRequestedInfo](../types/payments.ValidatedRequestedInfo.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$payments_ValidatedRequestedInfo = $MadelineProto->payments->validateRequestedInfo(['save' => Bool, 'msg_id' => int, 'info' => PaymentRequestedInfo, ]); +$payments.ValidatedRequestedInfo = $MadelineProto->payments->validateRequestedInfo(['save' => Bool, 'msg_id' => int, 'info' => PaymentRequestedInfo, ]); ``` Or, if you're into Lua: ```lua -payments_ValidatedRequestedInfo = payments.validateRequestedInfo({save=Bool, msg_id=int, info=PaymentRequestedInfo, }) +payments.ValidatedRequestedInfo = payments.validateRequestedInfo({save=Bool, msg_id=int, info=PaymentRequestedInfo, }) ``` ### Errors diff --git a/old_docs/API_docs_v68/methods/phone.acceptCall.md b/old_docs/API_docs_v68/methods/phone.acceptCall.md index f5c58f01..6b9185aa 100644 --- a/old_docs/API_docs_v68/methods/phone.acceptCall.md +++ b/old_docs/API_docs_v68/methods/phone.acceptCall.md @@ -18,7 +18,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz#calls fo |protocol|[PhoneCallProtocol](../types/PhoneCallProtocol.md) | You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls | Yes| -### Return type: [phone\_PhoneCall](../types/phone_PhoneCall.md) +### Return type: [phone.PhoneCall](../types/phone.PhoneCall.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$phone_PhoneCall = $MadelineProto->phone->acceptCall(['peer' => InputPhoneCall, 'g_b' => 'bytes', 'protocol' => PhoneCallProtocol, ]); +$phone.PhoneCall = $MadelineProto->phone->acceptCall(['peer' => InputPhoneCall, 'g_b' => 'bytes', 'protocol' => PhoneCallProtocol, ]); ``` Or, if you're into Lua: ```lua -phone_PhoneCall = phone.acceptCall({peer=InputPhoneCall, g_b='bytes', protocol=PhoneCallProtocol, }) +phone.PhoneCall = phone.acceptCall({peer=InputPhoneCall, g_b='bytes', protocol=PhoneCallProtocol, }) ``` ### Errors diff --git a/old_docs/API_docs_v68/methods/phone.confirmCall.md b/old_docs/API_docs_v68/methods/phone.confirmCall.md index 468307cc..a52d1f9c 100644 --- a/old_docs/API_docs_v68/methods/phone.confirmCall.md +++ b/old_docs/API_docs_v68/methods/phone.confirmCall.md @@ -19,7 +19,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz#calls fo |protocol|[PhoneCallProtocol](../types/PhoneCallProtocol.md) | You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls | Yes| -### Return type: [phone\_PhoneCall](../types/phone_PhoneCall.md) +### Return type: [phone.PhoneCall](../types/phone.PhoneCall.md) ### Can bots use this method: **NO** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$phone_PhoneCall = $MadelineProto->phone->confirmCall(['peer' => InputPhoneCall, 'g_a' => 'bytes', 'key_fingerprint' => long, 'protocol' => PhoneCallProtocol, ]); +$phone.PhoneCall = $MadelineProto->phone->confirmCall(['peer' => InputPhoneCall, 'g_a' => 'bytes', 'key_fingerprint' => long, 'protocol' => PhoneCallProtocol, ]); ``` Or, if you're into Lua: ```lua -phone_PhoneCall = phone.confirmCall({peer=InputPhoneCall, g_a='bytes', key_fingerprint=long, protocol=PhoneCallProtocol, }) +phone.PhoneCall = phone.confirmCall({peer=InputPhoneCall, g_a='bytes', key_fingerprint=long, protocol=PhoneCallProtocol, }) ``` ### Errors diff --git a/old_docs/API_docs_v68/methods/phone.requestCall.md b/old_docs/API_docs_v68/methods/phone.requestCall.md index c8e828f2..37e847a7 100644 --- a/old_docs/API_docs_v68/methods/phone.requestCall.md +++ b/old_docs/API_docs_v68/methods/phone.requestCall.md @@ -18,7 +18,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz#calls fo |protocol|[PhoneCallProtocol](../types/PhoneCallProtocol.md) | You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls | Yes| -### Return type: [phone\_PhoneCall](../types/phone_PhoneCall.md) +### Return type: [phone.PhoneCall](../types/phone.PhoneCall.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$phone_PhoneCall = $MadelineProto->phone->requestCall(['user_id' => InputUser, 'g_a_hash' => 'bytes', 'protocol' => PhoneCallProtocol, ]); +$phone.PhoneCall = $MadelineProto->phone->requestCall(['user_id' => InputUser, 'g_a_hash' => 'bytes', 'protocol' => PhoneCallProtocol, ]); ``` Or, if you're into Lua: ```lua -phone_PhoneCall = phone.requestCall({user_id=InputUser, g_a_hash='bytes', protocol=PhoneCallProtocol, }) +phone.PhoneCall = phone.requestCall({user_id=InputUser, g_a_hash='bytes', protocol=PhoneCallProtocol, }) ``` ### Errors diff --git a/old_docs/API_docs_v68/methods/photos.getUserPhotos.md b/old_docs/API_docs_v68/methods/photos.getUserPhotos.md index a1dec2ed..1f8d5c64 100644 --- a/old_docs/API_docs_v68/methods/photos.getUserPhotos.md +++ b/old_docs/API_docs_v68/methods/photos.getUserPhotos.md @@ -19,7 +19,7 @@ Returns the list of user photos. |limit|[int](../types/int.md) | Number of list elements to be returned | Yes| -### Return type: [photos\_Photos](../types/photos_Photos.md) +### Return type: [photos.Photos](../types/photos.Photos.md) ### Can bots use this method: **YES** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$photos_Photos = $MadelineProto->photos->getUserPhotos(['user_id' => InputUser, 'offset' => int, 'max_id' => long, 'limit' => int, ]); +$photos.Photos = $MadelineProto->photos->getUserPhotos(['user_id' => InputUser, 'offset' => int, 'max_id' => long, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -photos_Photos = photos.getUserPhotos({user_id=InputUser, offset=int, max_id=long, limit=int, }) +photos.Photos = photos.getUserPhotos({user_id=InputUser, offset=int, max_id=long, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v68/methods/photos.uploadProfilePhoto.md b/old_docs/API_docs_v68/methods/photos.uploadProfilePhoto.md index b6a01ee7..4de76a24 100644 --- a/old_docs/API_docs_v68/methods/photos.uploadProfilePhoto.md +++ b/old_docs/API_docs_v68/methods/photos.uploadProfilePhoto.md @@ -16,7 +16,7 @@ Updates current user profile photo. |file|[File path or InputFile](../types/InputFile.md) | File saved in parts by means of [upload.saveFilePart](../methods/upload.saveFilePart.md) method | Yes| -### Return type: [photos\_Photo](../types/photos_Photo.md) +### Return type: [photos.Photo](../types/photos.Photo.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$photos_Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, ]); +$photos.Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, ]); ``` Or, if you're into Lua: ```lua -photos_Photo = photos.uploadProfilePhoto({file=InputFile, }) +photos.Photo = photos.uploadProfilePhoto({file=InputFile, }) ``` ### Errors diff --git a/old_docs/API_docs_v68/methods/stickers.addStickerToSet.md b/old_docs/API_docs_v68/methods/stickers.addStickerToSet.md index 727d3f27..e8392355 100644 --- a/old_docs/API_docs_v68/methods/stickers.addStickerToSet.md +++ b/old_docs/API_docs_v68/methods/stickers.addStickerToSet.md @@ -17,7 +17,7 @@ Add a sticker to a stickerset, bots only. The sticker set must have been created |sticker|[InputStickerSetItem](../types/InputStickerSetItem.md) | The sticker | Yes| -### Return type: [messages\_StickerSet](../types/messages_StickerSet.md) +### Return type: [messages.StickerSet](../types/messages.StickerSet.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StickerSet = $MadelineProto->stickers->addStickerToSet(['stickerset' => InputStickerSet, 'sticker' => InputStickerSetItem, ]); +$messages.StickerSet = $MadelineProto->stickers->addStickerToSet(['stickerset' => InputStickerSet, 'sticker' => InputStickerSetItem, ]); ``` Or, if you're into Lua: ```lua -messages_StickerSet = stickers.addStickerToSet({stickerset=InputStickerSet, sticker=InputStickerSetItem, }) +messages.StickerSet = stickers.addStickerToSet({stickerset=InputStickerSet, sticker=InputStickerSetItem, }) ``` ### Errors diff --git a/old_docs/API_docs_v68/methods/stickers.createStickerSet.md b/old_docs/API_docs_v68/methods/stickers.createStickerSet.md index 5a6ef396..7eeeb48f 100644 --- a/old_docs/API_docs_v68/methods/stickers.createStickerSet.md +++ b/old_docs/API_docs_v68/methods/stickers.createStickerSet.md @@ -20,7 +20,7 @@ Create a stickerset, bots only. |stickers|Array of [InputStickerSetItem](../types/InputStickerSetItem.md) | The stickers to add | Yes| -### Return type: [messages\_StickerSet](../types/messages_StickerSet.md) +### Return type: [messages.StickerSet](../types/messages.StickerSet.md) ### Can bots use this method: **YES** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StickerSet = $MadelineProto->stickers->createStickerSet(['masks' => Bool, 'user_id' => InputUser, 'title' => 'string', 'short_name' => 'string', 'stickers' => [InputStickerSetItem, InputStickerSetItem], ]); +$messages.StickerSet = $MadelineProto->stickers->createStickerSet(['masks' => Bool, 'user_id' => InputUser, 'title' => 'string', 'short_name' => 'string', 'stickers' => [InputStickerSetItem, InputStickerSetItem], ]); ``` Or, if you're into Lua: ```lua -messages_StickerSet = stickers.createStickerSet({masks=Bool, user_id=InputUser, title='string', short_name='string', stickers={InputStickerSetItem}, }) +messages.StickerSet = stickers.createStickerSet({masks=Bool, user_id=InputUser, title='string', short_name='string', stickers={InputStickerSetItem}, }) ``` ### Errors diff --git a/old_docs/API_docs_v68/methods/updates.getChannelDifference.md b/old_docs/API_docs_v68/methods/updates.getChannelDifference.md index 5675cd33..08df3395 100644 --- a/old_docs/API_docs_v68/methods/updates.getChannelDifference.md +++ b/old_docs/API_docs_v68/methods/updates.getChannelDifference.md @@ -20,7 +20,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz for more |limit|[int](../types/int.md) | You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates | Yes| -### Return type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) +### Return type: [updates.ChannelDifference](../types/updates.ChannelDifference.md) ### Can bots use this method: **YES** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$updates_ChannelDifference = $MadelineProto->updates->getChannelDifference(['force' => Bool, 'channel' => InputChannel, 'filter' => ChannelMessagesFilter, 'pts' => int, 'limit' => int, ]); +$updates.ChannelDifference = $MadelineProto->updates->getChannelDifference(['force' => Bool, 'channel' => InputChannel, 'filter' => ChannelMessagesFilter, 'pts' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -updates_ChannelDifference = updates.getChannelDifference({force=Bool, channel=InputChannel, filter=ChannelMessagesFilter, pts=int, limit=int, }) +updates.ChannelDifference = updates.getChannelDifference({force=Bool, channel=InputChannel, filter=ChannelMessagesFilter, pts=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v68/methods/updates.getDifference.md b/old_docs/API_docs_v68/methods/updates.getDifference.md index bcfac4e2..b3796a10 100644 --- a/old_docs/API_docs_v68/methods/updates.getDifference.md +++ b/old_docs/API_docs_v68/methods/updates.getDifference.md @@ -19,7 +19,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz for more |qts|[int](../types/int.md) | You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates | Yes| -### Return type: [updates\_Difference](../types/updates_Difference.md) +### Return type: [updates.Difference](../types/updates.Difference.md) ### Can bots use this method: **YES** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$updates_Difference = $MadelineProto->updates->getDifference(['pts' => int, 'pts_total_limit' => int, 'date' => int, 'qts' => int, ]); +$updates.Difference = $MadelineProto->updates->getDifference(['pts' => int, 'pts_total_limit' => int, 'date' => int, 'qts' => int, ]); ``` Or, if you're into Lua: ```lua -updates_Difference = updates.getDifference({pts=int, pts_total_limit=int, date=int, qts=int, }) +updates.Difference = updates.getDifference({pts=int, pts_total_limit=int, date=int, qts=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v68/methods/updates.getState.md b/old_docs/API_docs_v68/methods/updates.getState.md index c591408a..9a7d2f34 100644 --- a/old_docs/API_docs_v68/methods/updates.getState.md +++ b/old_docs/API_docs_v68/methods/updates.getState.md @@ -11,7 +11,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz for more -### Return type: [updates\_State](../types/updates_State.md) +### Return type: [updates.State](../types/updates.State.md) ### Can bots use this method: **YES** @@ -28,13 +28,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$updates_State = $MadelineProto->updates->getState(); +$updates.State = $MadelineProto->updates->getState(); ``` Or, if you're into Lua: ```lua -updates_State = updates.getState({}) +updates.State = updates.getState({}) ``` ### Errors diff --git a/old_docs/API_docs_v68/methods/upload.getCdnFile.md b/old_docs/API_docs_v68/methods/upload.getCdnFile.md index a3c928b2..67b2e84e 100644 --- a/old_docs/API_docs_v68/methods/upload.getCdnFile.md +++ b/old_docs/API_docs_v68/methods/upload.getCdnFile.md @@ -18,7 +18,7 @@ You cannot use this method directly, use the upload, downloadToStream, downloadT |limit|[int](../types/int.md) | You cannot use this method directly, use the upload, downloadToStream, downloadToFile, downloadToDir methods instead; see https://docs.madelineproto.xyz for more info | Yes| -### Return type: [upload\_CdnFile](../types/upload_CdnFile.md) +### Return type: [upload.CdnFile](../types/upload.CdnFile.md) ### Can bots use this method: **NO** @@ -35,12 +35,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$upload_CdnFile = $MadelineProto->upload->getCdnFile(['file_token' => 'bytes', 'offset' => int, 'limit' => int, ]); +$upload.CdnFile = $MadelineProto->upload->getCdnFile(['file_token' => 'bytes', 'offset' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -upload_CdnFile = upload.getCdnFile({file_token='bytes', offset=int, limit=int, }) +upload.CdnFile = upload.getCdnFile({file_token='bytes', offset=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v68/methods/upload.getFile.md b/old_docs/API_docs_v68/methods/upload.getFile.md index 8aba03d4..ab9f4fe2 100644 --- a/old_docs/API_docs_v68/methods/upload.getFile.md +++ b/old_docs/API_docs_v68/methods/upload.getFile.md @@ -18,7 +18,7 @@ You cannot use this method directly, use the upload, downloadToStream, downloadT |limit|[int](../types/int.md) | You cannot use this method directly, use the upload, downloadToStream, downloadToFile, downloadToDir methods instead; see https://docs.madelineproto.xyz for more info | Yes| -### Return type: [upload\_File](../types/upload_File.md) +### Return type: [upload.File](../types/upload.File.md) ### Can bots use this method: **YES** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$upload_File = $MadelineProto->upload->getFile(['location' => InputFileLocation, 'offset' => int, 'limit' => int, ]); +$upload.File = $MadelineProto->upload->getFile(['location' => InputFileLocation, 'offset' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -upload_File = upload.getFile({location=InputFileLocation, offset=int, limit=int, }) +upload.File = upload.getFile({location=InputFileLocation, offset=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v68/methods/upload.getWebFile.md b/old_docs/API_docs_v68/methods/upload.getWebFile.md index 32f6b322..60f1b8c1 100644 --- a/old_docs/API_docs_v68/methods/upload.getWebFile.md +++ b/old_docs/API_docs_v68/methods/upload.getWebFile.md @@ -18,7 +18,7 @@ Returns content of an HTTP file or a part, by proxying the request through teleg |limit|[int](../types/int.md) | Number of bytes to be returned | Yes| -### Return type: [upload\_WebFile](../types/upload_WebFile.md) +### Return type: [upload.WebFile](../types/upload.WebFile.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$upload_WebFile = $MadelineProto->upload->getWebFile(['location' => InputWebFileLocation, 'offset' => int, 'limit' => int, ]); +$upload.WebFile = $MadelineProto->upload->getWebFile(['location' => InputWebFileLocation, 'offset' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -upload_WebFile = upload.getWebFile({location=InputWebFileLocation, offset=int, limit=int, }) +upload.WebFile = upload.getWebFile({location=InputWebFileLocation, offset=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v68/types/AccountDaysTTL.md b/old_docs/API_docs_v68/types/AccountDaysTTL.md index 12a10190..f3494aac 100644 --- a/old_docs/API_docs_v68/types/AccountDaysTTL.md +++ b/old_docs/API_docs_v68/types/AccountDaysTTL.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->account->getAccountTTL](../methods/account_getAccountTTL.md) +[$MadelineProto->account->getAccountTTL](../methods/account.getAccountTTL.md) diff --git a/old_docs/API_docs_v68/types/CdnConfig.md b/old_docs/API_docs_v68/types/CdnConfig.md index fbfe01c3..0b0fb5be 100644 --- a/old_docs/API_docs_v68/types/CdnConfig.md +++ b/old_docs/API_docs_v68/types/CdnConfig.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->help->getCdnConfig](../methods/help_getCdnConfig.md) +[$MadelineProto->help->getCdnConfig](../methods/help.getCdnConfig.md) diff --git a/old_docs/API_docs_v68/types/ChatInvite.md b/old_docs/API_docs_v68/types/ChatInvite.md index 5022a2f0..9fafabb4 100644 --- a/old_docs/API_docs_v68/types/ChatInvite.md +++ b/old_docs/API_docs_v68/types/ChatInvite.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->checkChatInvite](../methods/messages_checkChatInvite.md) +[$MadelineProto->messages->checkChatInvite](../methods/messages.checkChatInvite.md) diff --git a/old_docs/API_docs_v68/types/Config.md b/old_docs/API_docs_v68/types/Config.md index 0f7fbe70..3a23b7b7 100644 --- a/old_docs/API_docs_v68/types/Config.md +++ b/old_docs/API_docs_v68/types/Config.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->help->getConfig](../methods/help_getConfig.md) +[$MadelineProto->help->getConfig](../methods/help.getConfig.md) diff --git a/old_docs/API_docs_v68/types/ContactStatus.md b/old_docs/API_docs_v68/types/ContactStatus.md index c5f5d658..30aee6e2 100644 --- a/old_docs/API_docs_v68/types/ContactStatus.md +++ b/old_docs/API_docs_v68/types/ContactStatus.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->contacts->getStatuses](../methods/contacts_getStatuses.md) +[$MadelineProto->contacts->getStatuses](../methods/contacts.getStatuses.md) diff --git a/old_docs/API_docs_v68/types/DestroyAuthKeyRes.md b/old_docs/API_docs_v68/types/DestroyAuthKeyRes.md index 947e79cc..6b877d82 100644 --- a/old_docs/API_docs_v68/types/DestroyAuthKeyRes.md +++ b/old_docs/API_docs_v68/types/DestroyAuthKeyRes.md @@ -20,7 +20,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->destroy->auth->key](../methods/destroy_auth_key.md) +[$MadelineProto->destroy\_auth\_key](../methods/destroy_auth_key.md) diff --git a/old_docs/API_docs_v68/types/DestroySessionRes.md b/old_docs/API_docs_v68/types/DestroySessionRes.md index dbc73cdf..dc5d2bc3 100644 --- a/old_docs/API_docs_v68/types/DestroySessionRes.md +++ b/old_docs/API_docs_v68/types/DestroySessionRes.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->destroy->session](../methods/destroy_session.md) +[$MadelineProto->destroy\_session](../methods/destroy_session.md) diff --git a/old_docs/API_docs_v68/types/Document.md b/old_docs/API_docs_v68/types/Document.md index f68b7aa4..2cb85623 100644 --- a/old_docs/API_docs_v68/types/Document.md +++ b/old_docs/API_docs_v68/types/Document.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getDocumentByHash](../methods/messages_getDocumentByHash.md) +[$MadelineProto->messages->getDocumentByHash](../methods/messages.getDocumentByHash.md) diff --git a/old_docs/API_docs_v68/types/EncryptedChat.md b/old_docs/API_docs_v68/types/EncryptedChat.md index fd2277f6..19cf52b0 100644 --- a/old_docs/API_docs_v68/types/EncryptedChat.md +++ b/old_docs/API_docs_v68/types/EncryptedChat.md @@ -24,9 +24,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->requestEncryption](../methods/messages_requestEncryption.md) +[$MadelineProto->messages->requestEncryption](../methods/messages.requestEncryption.md) -[$MadelineProto->messages->acceptEncryption](../methods/messages_acceptEncryption.md) +[$MadelineProto->messages->acceptEncryption](../methods/messages.acceptEncryption.md) diff --git a/old_docs/API_docs_v68/types/ExportedChatInvite.md b/old_docs/API_docs_v68/types/ExportedChatInvite.md index 4213a78f..53ce5f59 100644 --- a/old_docs/API_docs_v68/types/ExportedChatInvite.md +++ b/old_docs/API_docs_v68/types/ExportedChatInvite.md @@ -18,9 +18,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->exportChatInvite](../methods/messages_exportChatInvite.md) +[$MadelineProto->messages->exportChatInvite](../methods/messages.exportChatInvite.md) -[$MadelineProto->channels->exportInvite](../methods/channels_exportInvite.md) +[$MadelineProto->channels->exportInvite](../methods/channels.exportInvite.md) diff --git a/old_docs/API_docs_v68/types/ExportedMessageLink.md b/old_docs/API_docs_v68/types/ExportedMessageLink.md index eb2400f6..948e9c90 100644 --- a/old_docs/API_docs_v68/types/ExportedMessageLink.md +++ b/old_docs/API_docs_v68/types/ExportedMessageLink.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->channels->exportMessageLink](../methods/channels_exportMessageLink.md) +[$MadelineProto->channels->exportMessageLink](../methods/channels.exportMessageLink.md) diff --git a/old_docs/API_docs_v68/types/FutureSalts.md b/old_docs/API_docs_v68/types/FutureSalts.md index 5cb9f9e1..3a10b4a2 100644 --- a/old_docs/API_docs_v68/types/FutureSalts.md +++ b/old_docs/API_docs_v68/types/FutureSalts.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->get->future->salts](../methods/get_future_salts.md) +[$MadelineProto->get\_future\_salts](../methods/get_future_salts.md) diff --git a/old_docs/API_docs_v68/types/LangPackDifference.md b/old_docs/API_docs_v68/types/LangPackDifference.md index fd9f41f2..e04125b8 100644 --- a/old_docs/API_docs_v68/types/LangPackDifference.md +++ b/old_docs/API_docs_v68/types/LangPackDifference.md @@ -16,9 +16,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->langpack->getLangPack](../methods/langpack_getLangPack.md) +[$MadelineProto->langpack->getLangPack](../methods/langpack.getLangPack.md) -[$MadelineProto->langpack->getDifference](../methods/langpack_getDifference.md) +[$MadelineProto->langpack->getDifference](../methods/langpack.getDifference.md) diff --git a/old_docs/API_docs_v68/types/LangPackLanguage.md b/old_docs/API_docs_v68/types/LangPackLanguage.md index f7459fc2..280d0243 100644 --- a/old_docs/API_docs_v68/types/LangPackLanguage.md +++ b/old_docs/API_docs_v68/types/LangPackLanguage.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->langpack->getLanguages](../methods/langpack_getLanguages.md) +[$MadelineProto->langpack->getLanguages](../methods/langpack.getLanguages.md) diff --git a/old_docs/API_docs_v68/types/LangPackString.md b/old_docs/API_docs_v68/types/LangPackString.md index f1a43dd9..15f9dc3d 100644 --- a/old_docs/API_docs_v68/types/LangPackString.md +++ b/old_docs/API_docs_v68/types/LangPackString.md @@ -20,7 +20,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->langpack->getStrings](../methods/langpack_getStrings.md) +[$MadelineProto->langpack->getStrings](../methods/langpack.getStrings.md) diff --git a/old_docs/API_docs_v68/types/MessageMedia.md b/old_docs/API_docs_v68/types/MessageMedia.md index db558648..f00e5b1d 100644 --- a/old_docs/API_docs_v68/types/MessageMedia.md +++ b/old_docs/API_docs_v68/types/MessageMedia.md @@ -34,9 +34,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getWebPagePreview](../methods/messages_getWebPagePreview.md) +[$MadelineProto->messages->getWebPagePreview](../methods/messages.getWebPagePreview.md) -[$MadelineProto->messages->uploadMedia](../methods/messages_uploadMedia.md) +[$MadelineProto->messages->uploadMedia](../methods/messages.uploadMedia.md) diff --git a/old_docs/API_docs_v68/types/NearestDc.md b/old_docs/API_docs_v68/types/NearestDc.md index 31f24377..296a4dff 100644 --- a/old_docs/API_docs_v68/types/NearestDc.md +++ b/old_docs/API_docs_v68/types/NearestDc.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->help->getNearestDc](../methods/help_getNearestDc.md) +[$MadelineProto->help->getNearestDc](../methods/help.getNearestDc.md) diff --git a/old_docs/API_docs_v68/types/PeerNotifySettings.md b/old_docs/API_docs_v68/types/PeerNotifySettings.md index 769de075..3d72b7c5 100644 --- a/old_docs/API_docs_v68/types/PeerNotifySettings.md +++ b/old_docs/API_docs_v68/types/PeerNotifySettings.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->account->getNotifySettings](../methods/account_getNotifySettings.md) +[$MadelineProto->account->getNotifySettings](../methods/account.getNotifySettings.md) diff --git a/old_docs/API_docs_v68/types/PeerSettings.md b/old_docs/API_docs_v68/types/PeerSettings.md index 60ac3765..31ef7e38 100644 --- a/old_docs/API_docs_v68/types/PeerSettings.md +++ b/old_docs/API_docs_v68/types/PeerSettings.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getPeerSettings](../methods/messages_getPeerSettings.md) +[$MadelineProto->messages->getPeerSettings](../methods/messages.getPeerSettings.md) diff --git a/old_docs/API_docs_v68/types/Pong.md b/old_docs/API_docs_v68/types/Pong.md index 7658af03..aa25a60e 100644 --- a/old_docs/API_docs_v68/types/Pong.md +++ b/old_docs/API_docs_v68/types/Pong.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png [$MadelineProto->ping](../methods/ping.md) -[$MadelineProto->ping->delay->disconnect](../methods/ping_delay_disconnect.md) +[$MadelineProto->ping\_delay\_disconnect](../methods/ping_delay_disconnect.md) diff --git a/old_docs/API_docs_v68/types/README.md b/old_docs/API_docs_v68/types/README.md index 417964e2..ae3a5cd0 100644 --- a/old_docs/API_docs_v68/types/README.md +++ b/old_docs/API_docs_v68/types/README.md @@ -327,137 +327,137 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png [X](X.md) -[account\_Authorizations](account_Authorizations.md) +[account.Authorizations](account.Authorizations.md) -[account\_Password](account_Password.md) +[account.Password](account.Password.md) -[account\_PasswordInputSettings](account_PasswordInputSettings.md) +[account.PasswordInputSettings](account.PasswordInputSettings.md) -[account\_PasswordSettings](account_PasswordSettings.md) +[account.PasswordSettings](account.PasswordSettings.md) -[account\_PrivacyRules](account_PrivacyRules.md) +[account.PrivacyRules](account.PrivacyRules.md) -[account\_TmpPassword](account_TmpPassword.md) +[account.TmpPassword](account.TmpPassword.md) -[auth\_Authorization](auth_Authorization.md) +[auth.Authorization](auth.Authorization.md) -[auth\_CheckedPhone](auth_CheckedPhone.md) +[auth.CheckedPhone](auth.CheckedPhone.md) -[auth\_CodeType](auth_CodeType.md) +[auth.CodeType](auth.CodeType.md) -[auth\_ExportedAuthorization](auth_ExportedAuthorization.md) +[auth.ExportedAuthorization](auth.ExportedAuthorization.md) -[auth\_PasswordRecovery](auth_PasswordRecovery.md) +[auth.PasswordRecovery](auth.PasswordRecovery.md) -[auth\_SentCode](auth_SentCode.md) +[auth.SentCode](auth.SentCode.md) -[auth\_SentCodeType](auth_SentCodeType.md) +[auth.SentCodeType](auth.SentCodeType.md) -[channels\_AdminLogResults](channels_AdminLogResults.md) +[channels.AdminLogResults](channels.AdminLogResults.md) -[channels\_ChannelParticipant](channels_ChannelParticipant.md) +[channels.ChannelParticipant](channels.ChannelParticipant.md) -[channels\_ChannelParticipants](channels_ChannelParticipants.md) +[channels.ChannelParticipants](channels.ChannelParticipants.md) -[contacts\_Blocked](contacts_Blocked.md) +[contacts.Blocked](contacts.Blocked.md) -[contacts\_Contacts](contacts_Contacts.md) +[contacts.Contacts](contacts.Contacts.md) -[contacts\_Found](contacts_Found.md) +[contacts.Found](contacts.Found.md) -[contacts\_ImportedContacts](contacts_ImportedContacts.md) +[contacts.ImportedContacts](contacts.ImportedContacts.md) -[contacts\_Link](contacts_Link.md) +[contacts.Link](contacts.Link.md) -[contacts\_ResolvedPeer](contacts_ResolvedPeer.md) +[contacts.ResolvedPeer](contacts.ResolvedPeer.md) -[contacts\_TopPeers](contacts_TopPeers.md) +[contacts.TopPeers](contacts.TopPeers.md) -[help\_AppUpdate](help_AppUpdate.md) +[help.AppUpdate](help.AppUpdate.md) -[help\_ConfigSimple](help_ConfigSimple.md) +[help.ConfigSimple](help.ConfigSimple.md) -[help\_InviteText](help_InviteText.md) +[help.InviteText](help.InviteText.md) -[help\_Support](help_Support.md) +[help.Support](help.Support.md) -[help\_TermsOfService](help_TermsOfService.md) +[help.TermsOfService](help.TermsOfService.md) [int](int.md) [long](long.md) -[messages\_AffectedHistory](messages_AffectedHistory.md) +[messages.AffectedHistory](messages.AffectedHistory.md) -[messages\_AffectedMessages](messages_AffectedMessages.md) +[messages.AffectedMessages](messages.AffectedMessages.md) -[messages\_AllStickers](messages_AllStickers.md) +[messages.AllStickers](messages.AllStickers.md) -[messages\_ArchivedStickers](messages_ArchivedStickers.md) +[messages.ArchivedStickers](messages.ArchivedStickers.md) -[messages\_BotCallbackAnswer](messages_BotCallbackAnswer.md) +[messages.BotCallbackAnswer](messages.BotCallbackAnswer.md) -[messages\_BotResults](messages_BotResults.md) +[messages.BotResults](messages.BotResults.md) -[messages\_ChatFull](messages_ChatFull.md) +[messages.ChatFull](messages.ChatFull.md) -[messages\_Chats](messages_Chats.md) +[messages.Chats](messages.Chats.md) -[messages\_DhConfig](messages_DhConfig.md) +[messages.DhConfig](messages.DhConfig.md) -[messages\_Dialogs](messages_Dialogs.md) +[messages.Dialogs](messages.Dialogs.md) -[messages\_FeaturedStickers](messages_FeaturedStickers.md) +[messages.FeaturedStickers](messages.FeaturedStickers.md) -[messages\_FoundGifs](messages_FoundGifs.md) +[messages.FoundGifs](messages.FoundGifs.md) -[messages\_HighScores](messages_HighScores.md) +[messages.HighScores](messages.HighScores.md) -[messages\_MessageEditData](messages_MessageEditData.md) +[messages.MessageEditData](messages.MessageEditData.md) -[messages\_Messages](messages_Messages.md) +[messages.Messages](messages.Messages.md) -[messages\_PeerDialogs](messages_PeerDialogs.md) +[messages.PeerDialogs](messages.PeerDialogs.md) -[messages\_RecentStickers](messages_RecentStickers.md) +[messages.RecentStickers](messages.RecentStickers.md) -[messages\_SavedGifs](messages_SavedGifs.md) +[messages.SavedGifs](messages.SavedGifs.md) -[messages\_SentEncryptedMessage](messages_SentEncryptedMessage.md) +[messages.SentEncryptedMessage](messages.SentEncryptedMessage.md) -[messages\_StickerSet](messages_StickerSet.md) +[messages.StickerSet](messages.StickerSet.md) -[messages\_StickerSetInstallResult](messages_StickerSetInstallResult.md) +[messages.StickerSetInstallResult](messages.StickerSetInstallResult.md) -[messages\_Stickers](messages_Stickers.md) +[messages.Stickers](messages.Stickers.md) -[payments\_PaymentForm](payments_PaymentForm.md) +[payments.PaymentForm](payments.PaymentForm.md) -[payments\_PaymentReceipt](payments_PaymentReceipt.md) +[payments.PaymentReceipt](payments.PaymentReceipt.md) -[payments\_PaymentResult](payments_PaymentResult.md) +[payments.PaymentResult](payments.PaymentResult.md) -[payments\_SavedInfo](payments_SavedInfo.md) +[payments.SavedInfo](payments.SavedInfo.md) -[payments\_ValidatedRequestedInfo](payments_ValidatedRequestedInfo.md) +[payments.ValidatedRequestedInfo](payments.ValidatedRequestedInfo.md) -[phone\_PhoneCall](phone_PhoneCall.md) +[phone.PhoneCall](phone.PhoneCall.md) -[photos\_Photo](photos_Photo.md) +[photos.Photo](photos.Photo.md) -[photos\_Photos](photos_Photos.md) +[photos.Photos](photos.Photos.md) -[storage\_FileType](storage_FileType.md) +[storage.FileType](storage.FileType.md) -[updates\_ChannelDifference](updates_ChannelDifference.md) +[updates.ChannelDifference](updates.ChannelDifference.md) -[updates\_Difference](updates_Difference.md) +[updates.Difference](updates.Difference.md) -[updates\_State](updates_State.md) +[updates.State](updates.State.md) -[upload\_CdnFile](upload_CdnFile.md) +[upload.CdnFile](upload.CdnFile.md) -[upload\_File](upload_File.md) +[upload.File](upload.File.md) -[upload\_WebFile](upload_WebFile.md) +[upload.WebFile](upload.WebFile.md) diff --git a/old_docs/API_docs_v68/types/ReceivedNotifyMessage.md b/old_docs/API_docs_v68/types/ReceivedNotifyMessage.md index c7fc3b8c..416aa275 100644 --- a/old_docs/API_docs_v68/types/ReceivedNotifyMessage.md +++ b/old_docs/API_docs_v68/types/ReceivedNotifyMessage.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->receivedMessages](../methods/messages_receivedMessages.md) +[$MadelineProto->messages->receivedMessages](../methods/messages.receivedMessages.md) diff --git a/old_docs/API_docs_v68/types/ResPQ.md b/old_docs/API_docs_v68/types/ResPQ.md index ebd5c8ed..860ee76d 100644 --- a/old_docs/API_docs_v68/types/ResPQ.md +++ b/old_docs/API_docs_v68/types/ResPQ.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->req->pq](../methods/req_pq.md) +[$MadelineProto->req\_pq](../methods/req_pq.md) diff --git a/old_docs/API_docs_v68/types/RpcDropAnswer.md b/old_docs/API_docs_v68/types/RpcDropAnswer.md index 4fb1ced7..05586b65 100644 --- a/old_docs/API_docs_v68/types/RpcDropAnswer.md +++ b/old_docs/API_docs_v68/types/RpcDropAnswer.md @@ -20,7 +20,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->rpc->drop->answer](../methods/rpc_drop_answer.md) +[$MadelineProto->rpc\_drop\_answer](../methods/rpc_drop_answer.md) diff --git a/old_docs/API_docs_v68/types/Server_DH_Params.md b/old_docs/API_docs_v68/types/Server_DH_Params.md index e007d828..40530f7e 100644 --- a/old_docs/API_docs_v68/types/Server_DH_Params.md +++ b/old_docs/API_docs_v68/types/Server_DH_Params.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->req->DH->params](../methods/req_DH_params.md) +[$MadelineProto->req\_DH\_params](../methods/req_DH_params.md) diff --git a/old_docs/API_docs_v68/types/Set_client_DH_params_answer.md b/old_docs/API_docs_v68/types/Set_client_DH_params_answer.md index f316e712..523432b7 100644 --- a/old_docs/API_docs_v68/types/Set_client_DH_params_answer.md +++ b/old_docs/API_docs_v68/types/Set_client_DH_params_answer.md @@ -20,7 +20,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->set->client->DH->params](../methods/set_client_DH_params.md) +[$MadelineProto->set\_client\_DH\_params](../methods/set_client_DH_params.md) diff --git a/old_docs/API_docs_v68/types/StickerSetCovered.md b/old_docs/API_docs_v68/types/StickerSetCovered.md index ffd1da1f..f57cd117 100644 --- a/old_docs/API_docs_v68/types/StickerSetCovered.md +++ b/old_docs/API_docs_v68/types/StickerSetCovered.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getAttachedStickers](../methods/messages_getAttachedStickers.md) +[$MadelineProto->messages->getAttachedStickers](../methods/messages.getAttachedStickers.md) diff --git a/old_docs/API_docs_v68/types/Updates.md b/old_docs/API_docs_v68/types/Updates.md index 24f08edd..e10b8c70 100644 --- a/old_docs/API_docs_v68/types/Updates.md +++ b/old_docs/API_docs_v68/types/Updates.md @@ -28,69 +28,69 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->sendMessage](../methods/messages_sendMessage.md) +[$MadelineProto->messages->sendMessage](../methods/messages.sendMessage.md) -[$MadelineProto->messages->sendMedia](../methods/messages_sendMedia.md) +[$MadelineProto->messages->sendMedia](../methods/messages.sendMedia.md) -[$MadelineProto->messages->forwardMessages](../methods/messages_forwardMessages.md) +[$MadelineProto->messages->forwardMessages](../methods/messages.forwardMessages.md) -[$MadelineProto->messages->editChatTitle](../methods/messages_editChatTitle.md) +[$MadelineProto->messages->editChatTitle](../methods/messages.editChatTitle.md) -[$MadelineProto->messages->editChatPhoto](../methods/messages_editChatPhoto.md) +[$MadelineProto->messages->editChatPhoto](../methods/messages.editChatPhoto.md) -[$MadelineProto->messages->addChatUser](../methods/messages_addChatUser.md) +[$MadelineProto->messages->addChatUser](../methods/messages.addChatUser.md) -[$MadelineProto->messages->deleteChatUser](../methods/messages_deleteChatUser.md) +[$MadelineProto->messages->deleteChatUser](../methods/messages.deleteChatUser.md) -[$MadelineProto->messages->createChat](../methods/messages_createChat.md) +[$MadelineProto->messages->createChat](../methods/messages.createChat.md) -[$MadelineProto->messages->forwardMessage](../methods/messages_forwardMessage.md) +[$MadelineProto->messages->forwardMessage](../methods/messages.forwardMessage.md) -[$MadelineProto->messages->importChatInvite](../methods/messages_importChatInvite.md) +[$MadelineProto->messages->importChatInvite](../methods/messages.importChatInvite.md) -[$MadelineProto->messages->startBot](../methods/messages_startBot.md) +[$MadelineProto->messages->startBot](../methods/messages.startBot.md) -[$MadelineProto->messages->toggleChatAdmins](../methods/messages_toggleChatAdmins.md) +[$MadelineProto->messages->toggleChatAdmins](../methods/messages.toggleChatAdmins.md) -[$MadelineProto->messages->migrateChat](../methods/messages_migrateChat.md) +[$MadelineProto->messages->migrateChat](../methods/messages.migrateChat.md) -[$MadelineProto->messages->sendInlineBotResult](../methods/messages_sendInlineBotResult.md) +[$MadelineProto->messages->sendInlineBotResult](../methods/messages.sendInlineBotResult.md) -[$MadelineProto->messages->editMessage](../methods/messages_editMessage.md) +[$MadelineProto->messages->editMessage](../methods/messages.editMessage.md) -[$MadelineProto->messages->getAllDrafts](../methods/messages_getAllDrafts.md) +[$MadelineProto->messages->getAllDrafts](../methods/messages.getAllDrafts.md) -[$MadelineProto->messages->setGameScore](../methods/messages_setGameScore.md) +[$MadelineProto->messages->setGameScore](../methods/messages.setGameScore.md) -[$MadelineProto->help->getAppChangelog](../methods/help_getAppChangelog.md) +[$MadelineProto->help->getAppChangelog](../methods/help.getAppChangelog.md) -[$MadelineProto->channels->createChannel](../methods/channels_createChannel.md) +[$MadelineProto->channels->createChannel](../methods/channels.createChannel.md) -[$MadelineProto->channels->editAdmin](../methods/channels_editAdmin.md) +[$MadelineProto->channels->editAdmin](../methods/channels.editAdmin.md) -[$MadelineProto->channels->editTitle](../methods/channels_editTitle.md) +[$MadelineProto->channels->editTitle](../methods/channels.editTitle.md) -[$MadelineProto->channels->editPhoto](../methods/channels_editPhoto.md) +[$MadelineProto->channels->editPhoto](../methods/channels.editPhoto.md) -[$MadelineProto->channels->joinChannel](../methods/channels_joinChannel.md) +[$MadelineProto->channels->joinChannel](../methods/channels.joinChannel.md) -[$MadelineProto->channels->leaveChannel](../methods/channels_leaveChannel.md) +[$MadelineProto->channels->leaveChannel](../methods/channels.leaveChannel.md) -[$MadelineProto->channels->inviteToChannel](../methods/channels_inviteToChannel.md) +[$MadelineProto->channels->inviteToChannel](../methods/channels.inviteToChannel.md) -[$MadelineProto->channels->deleteChannel](../methods/channels_deleteChannel.md) +[$MadelineProto->channels->deleteChannel](../methods/channels.deleteChannel.md) -[$MadelineProto->channels->toggleInvites](../methods/channels_toggleInvites.md) +[$MadelineProto->channels->toggleInvites](../methods/channels.toggleInvites.md) -[$MadelineProto->channels->toggleSignatures](../methods/channels_toggleSignatures.md) +[$MadelineProto->channels->toggleSignatures](../methods/channels.toggleSignatures.md) -[$MadelineProto->channels->updatePinnedMessage](../methods/channels_updatePinnedMessage.md) +[$MadelineProto->channels->updatePinnedMessage](../methods/channels.updatePinnedMessage.md) -[$MadelineProto->channels->editBanned](../methods/channels_editBanned.md) +[$MadelineProto->channels->editBanned](../methods/channels.editBanned.md) -[$MadelineProto->phone->discardCall](../methods/phone_discardCall.md) +[$MadelineProto->phone->discardCall](../methods/phone.discardCall.md) -[$MadelineProto->phone->setCallRating](../methods/phone_setCallRating.md) +[$MadelineProto->phone->setCallRating](../methods/phone.setCallRating.md) diff --git a/old_docs/API_docs_v68/types/User.md b/old_docs/API_docs_v68/types/User.md index 3abd182f..a2e028f4 100644 --- a/old_docs/API_docs_v68/types/User.md +++ b/old_docs/API_docs_v68/types/User.md @@ -42,15 +42,15 @@ A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDia ### Methods that return an object of this type (methods): -[$MadelineProto->account->updateProfile](../methods/account_updateProfile.md) +[$MadelineProto->account->updateProfile](../methods/account.updateProfile.md) -[$MadelineProto->account->updateUsername](../methods/account_updateUsername.md) +[$MadelineProto->account->updateUsername](../methods/account.updateUsername.md) -[$MadelineProto->account->changePhone](../methods/account_changePhone.md) +[$MadelineProto->account->changePhone](../methods/account.changePhone.md) -[$MadelineProto->users->getUsers](../methods/users_getUsers.md) +[$MadelineProto->users->getUsers](../methods/users.getUsers.md) -[$MadelineProto->contacts->importCard](../methods/contacts_importCard.md) +[$MadelineProto->contacts->importCard](../methods/contacts.importCard.md) diff --git a/old_docs/API_docs_v68/types/UserFull.md b/old_docs/API_docs_v68/types/UserFull.md index 79ad30bb..ac50052f 100644 --- a/old_docs/API_docs_v68/types/UserFull.md +++ b/old_docs/API_docs_v68/types/UserFull.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->users->getFullUser](../methods/users_getFullUser.md) +[$MadelineProto->users->getFullUser](../methods/users.getFullUser.md) diff --git a/old_docs/API_docs_v68/types/UserProfilePhoto.md b/old_docs/API_docs_v68/types/UserProfilePhoto.md index e5243a2e..e81e92fd 100644 --- a/old_docs/API_docs_v68/types/UserProfilePhoto.md +++ b/old_docs/API_docs_v68/types/UserProfilePhoto.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->photos->updateProfilePhoto](../methods/photos_updateProfilePhoto.md) +[$MadelineProto->photos->updateProfilePhoto](../methods/photos.updateProfilePhoto.md) diff --git a/old_docs/API_docs_v68/types/WallPaper.md b/old_docs/API_docs_v68/types/WallPaper.md index 8c5ac7cf..45337565 100644 --- a/old_docs/API_docs_v68/types/WallPaper.md +++ b/old_docs/API_docs_v68/types/WallPaper.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->account->getWallPapers](../methods/account_getWallPapers.md) +[$MadelineProto->account->getWallPapers](../methods/account.getWallPapers.md) diff --git a/old_docs/API_docs_v68/types/WebPage.md b/old_docs/API_docs_v68/types/WebPage.md index a3df791f..f6b61c5e 100644 --- a/old_docs/API_docs_v68/types/WebPage.md +++ b/old_docs/API_docs_v68/types/WebPage.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getWebPage](../methods/messages_getWebPage.md) +[$MadelineProto->messages->getWebPage](../methods/messages.getWebPage.md) diff --git a/old_docs/API_docs_v68/types/account.Authorizations.md b/old_docs/API_docs_v68/types/account.Authorizations.md new file mode 100644 index 00000000..f9112038 --- /dev/null +++ b/old_docs/API_docs_v68/types/account.Authorizations.md @@ -0,0 +1,22 @@ +--- +title: account.Authorizations +description: constructors and methods of type account.Authorizations +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.Authorizations +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.authorizations](../constructors/account.authorizations.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getAuthorizations](../methods/account.getAuthorizations.md) + + + diff --git a/old_docs/API_docs_v68/types/account.Password.md b/old_docs/API_docs_v68/types/account.Password.md new file mode 100644 index 00000000..5217ab5e --- /dev/null +++ b/old_docs/API_docs_v68/types/account.Password.md @@ -0,0 +1,24 @@ +--- +title: account.Password +description: constructors and methods of type account.Password +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.Password +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.noPassword](../constructors/account.noPassword.md) + +[account.password](../constructors/account.password.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getPassword](../methods/account.getPassword.md) + + + diff --git a/old_docs/API_docs_v68/types/account.PasswordInputSettings.md b/old_docs/API_docs_v68/types/account.PasswordInputSettings.md new file mode 100644 index 00000000..72e11fdc --- /dev/null +++ b/old_docs/API_docs_v68/types/account.PasswordInputSettings.md @@ -0,0 +1,20 @@ +--- +title: account.PasswordInputSettings +description: constructors and methods of type account.PasswordInputSettings +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.PasswordInputSettings +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.passwordInputSettings](../constructors/account.passwordInputSettings.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v68/types/account.PasswordSettings.md b/old_docs/API_docs_v68/types/account.PasswordSettings.md new file mode 100644 index 00000000..47016832 --- /dev/null +++ b/old_docs/API_docs_v68/types/account.PasswordSettings.md @@ -0,0 +1,22 @@ +--- +title: account.PasswordSettings +description: constructors and methods of type account.PasswordSettings +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.PasswordSettings +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.passwordSettings](../constructors/account.passwordSettings.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getPasswordSettings](../methods/account.getPasswordSettings.md) + + + diff --git a/old_docs/API_docs_v68/types/account.PrivacyRules.md b/old_docs/API_docs_v68/types/account.PrivacyRules.md new file mode 100644 index 00000000..738651ad --- /dev/null +++ b/old_docs/API_docs_v68/types/account.PrivacyRules.md @@ -0,0 +1,24 @@ +--- +title: account.PrivacyRules +description: constructors and methods of type account.PrivacyRules +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.PrivacyRules +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.privacyRules](../constructors/account.privacyRules.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getPrivacy](../methods/account.getPrivacy.md) + +[$MadelineProto->account->setPrivacy](../methods/account.setPrivacy.md) + + + diff --git a/old_docs/API_docs_v68/types/account.TmpPassword.md b/old_docs/API_docs_v68/types/account.TmpPassword.md new file mode 100644 index 00000000..2116c6c0 --- /dev/null +++ b/old_docs/API_docs_v68/types/account.TmpPassword.md @@ -0,0 +1,22 @@ +--- +title: account.TmpPassword +description: constructors and methods of type account.TmpPassword +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.TmpPassword +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.tmpPassword](../constructors/account.tmpPassword.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getTmpPassword](../methods/account.getTmpPassword.md) + + + diff --git a/old_docs/API_docs_v68/types/account_Authorizations.md b/old_docs/API_docs_v68/types/account_Authorizations.md deleted file mode 100644 index 4709ddb5..00000000 --- a/old_docs/API_docs_v68/types/account_Authorizations.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_Authorizations -description: constructors and methods of type account_Authorizations -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_Authorizations -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_authorizations](../constructors/account_authorizations.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getAuthorizations](../methods/account_getAuthorizations.md) - - - diff --git a/old_docs/API_docs_v68/types/account_Password.md b/old_docs/API_docs_v68/types/account_Password.md deleted file mode 100644 index 23e05987..00000000 --- a/old_docs/API_docs_v68/types/account_Password.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: account_Password -description: constructors and methods of type account_Password -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_Password -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_noPassword](../constructors/account_noPassword.md) - -[account\_password](../constructors/account_password.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getPassword](../methods/account_getPassword.md) - - - diff --git a/old_docs/API_docs_v68/types/account_PasswordInputSettings.md b/old_docs/API_docs_v68/types/account_PasswordInputSettings.md deleted file mode 100644 index a6455eb8..00000000 --- a/old_docs/API_docs_v68/types/account_PasswordInputSettings.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: account_PasswordInputSettings -description: constructors and methods of type account_PasswordInputSettings -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_PasswordInputSettings -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_passwordInputSettings](../constructors/account_passwordInputSettings.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v68/types/account_PasswordSettings.md b/old_docs/API_docs_v68/types/account_PasswordSettings.md deleted file mode 100644 index 687eb217..00000000 --- a/old_docs/API_docs_v68/types/account_PasswordSettings.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_PasswordSettings -description: constructors and methods of type account_PasswordSettings -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_PasswordSettings -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_passwordSettings](../constructors/account_passwordSettings.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getPasswordSettings](../methods/account_getPasswordSettings.md) - - - diff --git a/old_docs/API_docs_v68/types/account_PrivacyRules.md b/old_docs/API_docs_v68/types/account_PrivacyRules.md deleted file mode 100644 index 40b00077..00000000 --- a/old_docs/API_docs_v68/types/account_PrivacyRules.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: account_PrivacyRules -description: constructors and methods of type account_PrivacyRules -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_PrivacyRules -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_privacyRules](../constructors/account_privacyRules.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getPrivacy](../methods/account_getPrivacy.md) - -[$MadelineProto->account->setPrivacy](../methods/account_setPrivacy.md) - - - diff --git a/old_docs/API_docs_v68/types/account_TmpPassword.md b/old_docs/API_docs_v68/types/account_TmpPassword.md deleted file mode 100644 index d7557921..00000000 --- a/old_docs/API_docs_v68/types/account_TmpPassword.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_TmpPassword -description: constructors and methods of type account_TmpPassword -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_TmpPassword -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_tmpPassword](../constructors/account_tmpPassword.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getTmpPassword](../methods/account_getTmpPassword.md) - - - diff --git a/old_docs/API_docs_v68/types/auth.Authorization.md b/old_docs/API_docs_v68/types/auth.Authorization.md new file mode 100644 index 00000000..adcfa7d3 --- /dev/null +++ b/old_docs/API_docs_v68/types/auth.Authorization.md @@ -0,0 +1,32 @@ +--- +title: auth.Authorization +description: constructors and methods of type auth.Authorization +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.Authorization +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.authorization](../constructors/auth.authorization.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->signUp](../methods/auth.signUp.md) + +[$MadelineProto->auth->signIn](../methods/auth.signIn.md) + +[$MadelineProto->auth->importAuthorization](../methods/auth.importAuthorization.md) + +[$MadelineProto->auth->importBotAuthorization](../methods/auth.importBotAuthorization.md) + +[$MadelineProto->auth->checkPassword](../methods/auth.checkPassword.md) + +[$MadelineProto->auth->recoverPassword](../methods/auth.recoverPassword.md) + + + diff --git a/old_docs/API_docs_v68/types/auth.CheckedPhone.md b/old_docs/API_docs_v68/types/auth.CheckedPhone.md new file mode 100644 index 00000000..94af3915 --- /dev/null +++ b/old_docs/API_docs_v68/types/auth.CheckedPhone.md @@ -0,0 +1,22 @@ +--- +title: auth.CheckedPhone +description: constructors and methods of type auth.CheckedPhone +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.CheckedPhone +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.checkedPhone](../constructors/auth.checkedPhone.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->checkPhone](../methods/auth.checkPhone.md) + + + diff --git a/old_docs/API_docs_v68/types/auth.CodeType.md b/old_docs/API_docs_v68/types/auth.CodeType.md new file mode 100644 index 00000000..8d2b308d --- /dev/null +++ b/old_docs/API_docs_v68/types/auth.CodeType.md @@ -0,0 +1,24 @@ +--- +title: auth.CodeType +description: constructors and methods of type auth.CodeType +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.CodeType +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.codeTypeSms](../constructors/auth.codeTypeSms.md) + +[auth.codeTypeCall](../constructors/auth.codeTypeCall.md) + +[auth.codeTypeFlashCall](../constructors/auth.codeTypeFlashCall.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v68/types/auth.ExportedAuthorization.md b/old_docs/API_docs_v68/types/auth.ExportedAuthorization.md new file mode 100644 index 00000000..ccb38d60 --- /dev/null +++ b/old_docs/API_docs_v68/types/auth.ExportedAuthorization.md @@ -0,0 +1,22 @@ +--- +title: auth.ExportedAuthorization +description: constructors and methods of type auth.ExportedAuthorization +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.ExportedAuthorization +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.exportedAuthorization](../constructors/auth.exportedAuthorization.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->exportAuthorization](../methods/auth.exportAuthorization.md) + + + diff --git a/old_docs/API_docs_v68/types/auth.PasswordRecovery.md b/old_docs/API_docs_v68/types/auth.PasswordRecovery.md new file mode 100644 index 00000000..c1c18992 --- /dev/null +++ b/old_docs/API_docs_v68/types/auth.PasswordRecovery.md @@ -0,0 +1,22 @@ +--- +title: auth.PasswordRecovery +description: constructors and methods of type auth.PasswordRecovery +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.PasswordRecovery +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.passwordRecovery](../constructors/auth.passwordRecovery.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->requestPasswordRecovery](../methods/auth.requestPasswordRecovery.md) + + + diff --git a/old_docs/API_docs_v68/types/auth.SentCode.md b/old_docs/API_docs_v68/types/auth.SentCode.md new file mode 100644 index 00000000..c786d77e --- /dev/null +++ b/old_docs/API_docs_v68/types/auth.SentCode.md @@ -0,0 +1,28 @@ +--- +title: auth.SentCode +description: constructors and methods of type auth.SentCode +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.SentCode +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.sentCode](../constructors/auth.sentCode.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->sendCode](../methods/auth.sendCode.md) + +[$MadelineProto->auth->resendCode](../methods/auth.resendCode.md) + +[$MadelineProto->account->sendChangePhoneCode](../methods/account.sendChangePhoneCode.md) + +[$MadelineProto->account->sendConfirmPhoneCode](../methods/account.sendConfirmPhoneCode.md) + + + diff --git a/old_docs/API_docs_v68/types/auth.SentCodeType.md b/old_docs/API_docs_v68/types/auth.SentCodeType.md new file mode 100644 index 00000000..7c7c534e --- /dev/null +++ b/old_docs/API_docs_v68/types/auth.SentCodeType.md @@ -0,0 +1,26 @@ +--- +title: auth.SentCodeType +description: constructors and methods of type auth.SentCodeType +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.SentCodeType +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.sentCodeTypeApp](../constructors/auth.sentCodeTypeApp.md) + +[auth.sentCodeTypeSms](../constructors/auth.sentCodeTypeSms.md) + +[auth.sentCodeTypeCall](../constructors/auth.sentCodeTypeCall.md) + +[auth.sentCodeTypeFlashCall](../constructors/auth.sentCodeTypeFlashCall.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v68/types/auth_Authorization.md b/old_docs/API_docs_v68/types/auth_Authorization.md deleted file mode 100644 index 5a34fc2d..00000000 --- a/old_docs/API_docs_v68/types/auth_Authorization.md +++ /dev/null @@ -1,32 +0,0 @@ ---- -title: auth_Authorization -description: constructors and methods of type auth_Authorization -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_Authorization -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_authorization](../constructors/auth_authorization.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->signUp](../methods/auth_signUp.md) - -[$MadelineProto->auth->signIn](../methods/auth_signIn.md) - -[$MadelineProto->auth->importAuthorization](../methods/auth_importAuthorization.md) - -[$MadelineProto->auth->importBotAuthorization](../methods/auth_importBotAuthorization.md) - -[$MadelineProto->auth->checkPassword](../methods/auth_checkPassword.md) - -[$MadelineProto->auth->recoverPassword](../methods/auth_recoverPassword.md) - - - diff --git a/old_docs/API_docs_v68/types/auth_CheckedPhone.md b/old_docs/API_docs_v68/types/auth_CheckedPhone.md deleted file mode 100644 index e9b0def4..00000000 --- a/old_docs/API_docs_v68/types/auth_CheckedPhone.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: auth_CheckedPhone -description: constructors and methods of type auth_CheckedPhone -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_CheckedPhone -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_checkedPhone](../constructors/auth_checkedPhone.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->checkPhone](../methods/auth_checkPhone.md) - - - diff --git a/old_docs/API_docs_v68/types/auth_CodeType.md b/old_docs/API_docs_v68/types/auth_CodeType.md deleted file mode 100644 index 3cd9a7b7..00000000 --- a/old_docs/API_docs_v68/types/auth_CodeType.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: auth_CodeType -description: constructors and methods of type auth_CodeType -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_CodeType -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_codeTypeSms](../constructors/auth_codeTypeSms.md) - -[auth\_codeTypeCall](../constructors/auth_codeTypeCall.md) - -[auth\_codeTypeFlashCall](../constructors/auth_codeTypeFlashCall.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v68/types/auth_ExportedAuthorization.md b/old_docs/API_docs_v68/types/auth_ExportedAuthorization.md deleted file mode 100644 index 69e5c42e..00000000 --- a/old_docs/API_docs_v68/types/auth_ExportedAuthorization.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: auth_ExportedAuthorization -description: constructors and methods of type auth_ExportedAuthorization -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_ExportedAuthorization -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_exportedAuthorization](../constructors/auth_exportedAuthorization.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->exportAuthorization](../methods/auth_exportAuthorization.md) - - - diff --git a/old_docs/API_docs_v68/types/auth_PasswordRecovery.md b/old_docs/API_docs_v68/types/auth_PasswordRecovery.md deleted file mode 100644 index 4962bf42..00000000 --- a/old_docs/API_docs_v68/types/auth_PasswordRecovery.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: auth_PasswordRecovery -description: constructors and methods of type auth_PasswordRecovery -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_PasswordRecovery -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_passwordRecovery](../constructors/auth_passwordRecovery.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->requestPasswordRecovery](../methods/auth_requestPasswordRecovery.md) - - - diff --git a/old_docs/API_docs_v68/types/auth_SentCode.md b/old_docs/API_docs_v68/types/auth_SentCode.md deleted file mode 100644 index 93734713..00000000 --- a/old_docs/API_docs_v68/types/auth_SentCode.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: auth_SentCode -description: constructors and methods of type auth_SentCode -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_SentCode -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_sentCode](../constructors/auth_sentCode.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->sendCode](../methods/auth_sendCode.md) - -[$MadelineProto->auth->resendCode](../methods/auth_resendCode.md) - -[$MadelineProto->account->sendChangePhoneCode](../methods/account_sendChangePhoneCode.md) - -[$MadelineProto->account->sendConfirmPhoneCode](../methods/account_sendConfirmPhoneCode.md) - - - diff --git a/old_docs/API_docs_v68/types/auth_SentCodeType.md b/old_docs/API_docs_v68/types/auth_SentCodeType.md deleted file mode 100644 index 8dfcb93b..00000000 --- a/old_docs/API_docs_v68/types/auth_SentCodeType.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: auth_SentCodeType -description: constructors and methods of type auth_SentCodeType -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_SentCodeType -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_sentCodeTypeApp](../constructors/auth_sentCodeTypeApp.md) - -[auth\_sentCodeTypeSms](../constructors/auth_sentCodeTypeSms.md) - -[auth\_sentCodeTypeCall](../constructors/auth_sentCodeTypeCall.md) - -[auth\_sentCodeTypeFlashCall](../constructors/auth_sentCodeTypeFlashCall.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v68/types/channels.AdminLogResults.md b/old_docs/API_docs_v68/types/channels.AdminLogResults.md new file mode 100644 index 00000000..7855a4fd --- /dev/null +++ b/old_docs/API_docs_v68/types/channels.AdminLogResults.md @@ -0,0 +1,22 @@ +--- +title: channels.AdminLogResults +description: constructors and methods of type channels.AdminLogResults +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: channels.AdminLogResults +[Back to types index](index.md) + + + +### Possible values (constructors): + +[channels.adminLogResults](../constructors/channels.adminLogResults.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->channels->getAdminLog](../methods/channels.getAdminLog.md) + + + diff --git a/old_docs/API_docs_v68/types/channels.ChannelParticipant.md b/old_docs/API_docs_v68/types/channels.ChannelParticipant.md new file mode 100644 index 00000000..8dc7f7e6 --- /dev/null +++ b/old_docs/API_docs_v68/types/channels.ChannelParticipant.md @@ -0,0 +1,22 @@ +--- +title: channels.ChannelParticipant +description: constructors and methods of type channels.ChannelParticipant +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: channels.ChannelParticipant +[Back to types index](index.md) + + + +### Possible values (constructors): + +[channels.channelParticipant](../constructors/channels.channelParticipant.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->channels->getParticipant](../methods/channels.getParticipant.md) + + + diff --git a/old_docs/API_docs_v68/types/channels.ChannelParticipants.md b/old_docs/API_docs_v68/types/channels.ChannelParticipants.md new file mode 100644 index 00000000..996ab6a6 --- /dev/null +++ b/old_docs/API_docs_v68/types/channels.ChannelParticipants.md @@ -0,0 +1,22 @@ +--- +title: channels.ChannelParticipants +description: constructors and methods of type channels.ChannelParticipants +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: channels.ChannelParticipants +[Back to types index](index.md) + + + +### Possible values (constructors): + +[channels.channelParticipants](../constructors/channels.channelParticipants.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->channels->getParticipants](../methods/channels.getParticipants.md) + + + diff --git a/old_docs/API_docs_v68/types/channels_AdminLogResults.md b/old_docs/API_docs_v68/types/channels_AdminLogResults.md deleted file mode 100644 index 4e9b5544..00000000 --- a/old_docs/API_docs_v68/types/channels_AdminLogResults.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: channels_AdminLogResults -description: constructors and methods of type channels_AdminLogResults -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: channels\_AdminLogResults -[Back to types index](index.md) - - - -### Possible values (constructors): - -[channels\_adminLogResults](../constructors/channels_adminLogResults.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->channels->getAdminLog](../methods/channels_getAdminLog.md) - - - diff --git a/old_docs/API_docs_v68/types/channels_ChannelParticipant.md b/old_docs/API_docs_v68/types/channels_ChannelParticipant.md deleted file mode 100644 index 3d4667c3..00000000 --- a/old_docs/API_docs_v68/types/channels_ChannelParticipant.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: channels_ChannelParticipant -description: constructors and methods of type channels_ChannelParticipant -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: channels\_ChannelParticipant -[Back to types index](index.md) - - - -### Possible values (constructors): - -[channels\_channelParticipant](../constructors/channels_channelParticipant.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->channels->getParticipant](../methods/channels_getParticipant.md) - - - diff --git a/old_docs/API_docs_v68/types/channels_ChannelParticipants.md b/old_docs/API_docs_v68/types/channels_ChannelParticipants.md deleted file mode 100644 index 0500c2cb..00000000 --- a/old_docs/API_docs_v68/types/channels_ChannelParticipants.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: channels_ChannelParticipants -description: constructors and methods of type channels_ChannelParticipants -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: channels\_ChannelParticipants -[Back to types index](index.md) - - - -### Possible values (constructors): - -[channels\_channelParticipants](../constructors/channels_channelParticipants.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->channels->getParticipants](../methods/channels_getParticipants.md) - - - diff --git a/old_docs/API_docs_v68/types/contacts.Blocked.md b/old_docs/API_docs_v68/types/contacts.Blocked.md new file mode 100644 index 00000000..cb2af80f --- /dev/null +++ b/old_docs/API_docs_v68/types/contacts.Blocked.md @@ -0,0 +1,24 @@ +--- +title: contacts.Blocked +description: constructors and methods of type contacts.Blocked +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Blocked +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.blocked](../constructors/contacts.blocked.md) + +[contacts.blockedSlice](../constructors/contacts.blockedSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getBlocked](../methods/contacts.getBlocked.md) + + + diff --git a/old_docs/API_docs_v68/types/contacts.Contacts.md b/old_docs/API_docs_v68/types/contacts.Contacts.md new file mode 100644 index 00000000..5f695d8e --- /dev/null +++ b/old_docs/API_docs_v68/types/contacts.Contacts.md @@ -0,0 +1,24 @@ +--- +title: contacts.Contacts +description: constructors and methods of type contacts.Contacts +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Contacts +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.contactsNotModified](../constructors/contacts.contactsNotModified.md) + +[contacts.contacts](../constructors/contacts.contacts.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getContacts](../methods/contacts.getContacts.md) + + + diff --git a/old_docs/API_docs_v68/types/contacts.Found.md b/old_docs/API_docs_v68/types/contacts.Found.md new file mode 100644 index 00000000..7df98927 --- /dev/null +++ b/old_docs/API_docs_v68/types/contacts.Found.md @@ -0,0 +1,22 @@ +--- +title: contacts.Found +description: constructors and methods of type contacts.Found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Found +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.found](../constructors/contacts.found.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->search](../methods/contacts.search.md) + + + diff --git a/old_docs/API_docs_v68/types/contacts.ImportedContacts.md b/old_docs/API_docs_v68/types/contacts.ImportedContacts.md new file mode 100644 index 00000000..16795bab --- /dev/null +++ b/old_docs/API_docs_v68/types/contacts.ImportedContacts.md @@ -0,0 +1,22 @@ +--- +title: contacts.ImportedContacts +description: constructors and methods of type contacts.ImportedContacts +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.ImportedContacts +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.importedContacts](../constructors/contacts.importedContacts.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->importContacts](../methods/contacts.importContacts.md) + + + diff --git a/old_docs/API_docs_v68/types/contacts.Link.md b/old_docs/API_docs_v68/types/contacts.Link.md new file mode 100644 index 00000000..eb9da683 --- /dev/null +++ b/old_docs/API_docs_v68/types/contacts.Link.md @@ -0,0 +1,22 @@ +--- +title: contacts.Link +description: constructors and methods of type contacts.Link +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Link +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.link](../constructors/contacts.link.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->deleteContact](../methods/contacts.deleteContact.md) + + + diff --git a/old_docs/API_docs_v68/types/contacts.ResolvedPeer.md b/old_docs/API_docs_v68/types/contacts.ResolvedPeer.md new file mode 100644 index 00000000..13630d54 --- /dev/null +++ b/old_docs/API_docs_v68/types/contacts.ResolvedPeer.md @@ -0,0 +1,22 @@ +--- +title: contacts.ResolvedPeer +description: constructors and methods of type contacts.ResolvedPeer +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.ResolvedPeer +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.resolvedPeer](../constructors/contacts.resolvedPeer.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->resolveUsername](../methods/contacts.resolveUsername.md) + + + diff --git a/old_docs/API_docs_v68/types/contacts.TopPeers.md b/old_docs/API_docs_v68/types/contacts.TopPeers.md new file mode 100644 index 00000000..b8107616 --- /dev/null +++ b/old_docs/API_docs_v68/types/contacts.TopPeers.md @@ -0,0 +1,24 @@ +--- +title: contacts.TopPeers +description: constructors and methods of type contacts.TopPeers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.TopPeers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.topPeersNotModified](../constructors/contacts.topPeersNotModified.md) + +[contacts.topPeers](../constructors/contacts.topPeers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getTopPeers](../methods/contacts.getTopPeers.md) + + + diff --git a/old_docs/API_docs_v68/types/contacts_Blocked.md b/old_docs/API_docs_v68/types/contacts_Blocked.md deleted file mode 100644 index 3e1f02eb..00000000 --- a/old_docs/API_docs_v68/types/contacts_Blocked.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: contacts_Blocked -description: constructors and methods of type contacts_Blocked -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Blocked -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_blocked](../constructors/contacts_blocked.md) - -[contacts\_blockedSlice](../constructors/contacts_blockedSlice.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->getBlocked](../methods/contacts_getBlocked.md) - - - diff --git a/old_docs/API_docs_v68/types/contacts_Contacts.md b/old_docs/API_docs_v68/types/contacts_Contacts.md deleted file mode 100644 index 5d6c9506..00000000 --- a/old_docs/API_docs_v68/types/contacts_Contacts.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: contacts_Contacts -description: constructors and methods of type contacts_Contacts -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Contacts -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_contactsNotModified](../constructors/contacts_contactsNotModified.md) - -[contacts\_contacts](../constructors/contacts_contacts.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->getContacts](../methods/contacts_getContacts.md) - - - diff --git a/old_docs/API_docs_v68/types/contacts_Found.md b/old_docs/API_docs_v68/types/contacts_Found.md deleted file mode 100644 index 806101cf..00000000 --- a/old_docs/API_docs_v68/types/contacts_Found.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_Found -description: constructors and methods of type contacts_Found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Found -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_found](../constructors/contacts_found.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->search](../methods/contacts_search.md) - - - diff --git a/old_docs/API_docs_v68/types/contacts_ImportedContacts.md b/old_docs/API_docs_v68/types/contacts_ImportedContacts.md deleted file mode 100644 index faf7e615..00000000 --- a/old_docs/API_docs_v68/types/contacts_ImportedContacts.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_ImportedContacts -description: constructors and methods of type contacts_ImportedContacts -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_ImportedContacts -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_importedContacts](../constructors/contacts_importedContacts.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->importContacts](../methods/contacts_importContacts.md) - - - diff --git a/old_docs/API_docs_v68/types/contacts_Link.md b/old_docs/API_docs_v68/types/contacts_Link.md deleted file mode 100644 index 01556606..00000000 --- a/old_docs/API_docs_v68/types/contacts_Link.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_Link -description: constructors and methods of type contacts_Link -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Link -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_link](../constructors/contacts_link.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->deleteContact](../methods/contacts_deleteContact.md) - - - diff --git a/old_docs/API_docs_v68/types/contacts_ResolvedPeer.md b/old_docs/API_docs_v68/types/contacts_ResolvedPeer.md deleted file mode 100644 index cf107f7c..00000000 --- a/old_docs/API_docs_v68/types/contacts_ResolvedPeer.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_ResolvedPeer -description: constructors and methods of type contacts_ResolvedPeer -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_ResolvedPeer -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_resolvedPeer](../constructors/contacts_resolvedPeer.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->resolveUsername](../methods/contacts_resolveUsername.md) - - - diff --git a/old_docs/API_docs_v68/types/contacts_TopPeers.md b/old_docs/API_docs_v68/types/contacts_TopPeers.md deleted file mode 100644 index fe4255c7..00000000 --- a/old_docs/API_docs_v68/types/contacts_TopPeers.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: contacts_TopPeers -description: constructors and methods of type contacts_TopPeers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_TopPeers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_topPeersNotModified](../constructors/contacts_topPeersNotModified.md) - -[contacts\_topPeers](../constructors/contacts_topPeers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->getTopPeers](../methods/contacts_getTopPeers.md) - - - diff --git a/old_docs/API_docs_v68/types/help.AppUpdate.md b/old_docs/API_docs_v68/types/help.AppUpdate.md new file mode 100644 index 00000000..285ec2b7 --- /dev/null +++ b/old_docs/API_docs_v68/types/help.AppUpdate.md @@ -0,0 +1,24 @@ +--- +title: help.AppUpdate +description: constructors and methods of type help.AppUpdate +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.AppUpdate +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.appUpdate](../constructors/help.appUpdate.md) + +[help.noAppUpdate](../constructors/help.noAppUpdate.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getAppUpdate](../methods/help.getAppUpdate.md) + + + diff --git a/old_docs/API_docs_v68/types/help.ConfigSimple.md b/old_docs/API_docs_v68/types/help.ConfigSimple.md new file mode 100644 index 00000000..92d9e15f --- /dev/null +++ b/old_docs/API_docs_v68/types/help.ConfigSimple.md @@ -0,0 +1,20 @@ +--- +title: help.ConfigSimple +description: constructors and methods of type help.ConfigSimple +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.ConfigSimple +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.configSimple](../constructors/help.configSimple.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v68/types/help.InviteText.md b/old_docs/API_docs_v68/types/help.InviteText.md new file mode 100644 index 00000000..43293f46 --- /dev/null +++ b/old_docs/API_docs_v68/types/help.InviteText.md @@ -0,0 +1,22 @@ +--- +title: help.InviteText +description: constructors and methods of type help.InviteText +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.InviteText +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.inviteText](../constructors/help.inviteText.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getInviteText](../methods/help.getInviteText.md) + + + diff --git a/old_docs/API_docs_v68/types/help.Support.md b/old_docs/API_docs_v68/types/help.Support.md new file mode 100644 index 00000000..42c20483 --- /dev/null +++ b/old_docs/API_docs_v68/types/help.Support.md @@ -0,0 +1,22 @@ +--- +title: help.Support +description: constructors and methods of type help.Support +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.Support +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.support](../constructors/help.support.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getSupport](../methods/help.getSupport.md) + + + diff --git a/old_docs/API_docs_v68/types/help.TermsOfService.md b/old_docs/API_docs_v68/types/help.TermsOfService.md new file mode 100644 index 00000000..6c29d2e6 --- /dev/null +++ b/old_docs/API_docs_v68/types/help.TermsOfService.md @@ -0,0 +1,22 @@ +--- +title: help.TermsOfService +description: constructors and methods of type help.TermsOfService +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.TermsOfService +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.termsOfService](../constructors/help.termsOfService.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getTermsOfService](../methods/help.getTermsOfService.md) + + + diff --git a/old_docs/API_docs_v68/types/help_AppUpdate.md b/old_docs/API_docs_v68/types/help_AppUpdate.md deleted file mode 100644 index 1f296a70..00000000 --- a/old_docs/API_docs_v68/types/help_AppUpdate.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: help_AppUpdate -description: constructors and methods of type help_AppUpdate -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_AppUpdate -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_appUpdate](../constructors/help_appUpdate.md) - -[help\_noAppUpdate](../constructors/help_noAppUpdate.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getAppUpdate](../methods/help_getAppUpdate.md) - - - diff --git a/old_docs/API_docs_v68/types/help_ConfigSimple.md b/old_docs/API_docs_v68/types/help_ConfigSimple.md deleted file mode 100644 index 81678d74..00000000 --- a/old_docs/API_docs_v68/types/help_ConfigSimple.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: help_ConfigSimple -description: constructors and methods of type help_ConfigSimple -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_ConfigSimple -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_configSimple](../constructors/help_configSimple.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v68/types/help_InviteText.md b/old_docs/API_docs_v68/types/help_InviteText.md deleted file mode 100644 index 018d35bf..00000000 --- a/old_docs/API_docs_v68/types/help_InviteText.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: help_InviteText -description: constructors and methods of type help_InviteText -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_InviteText -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_inviteText](../constructors/help_inviteText.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getInviteText](../methods/help_getInviteText.md) - - - diff --git a/old_docs/API_docs_v68/types/help_Support.md b/old_docs/API_docs_v68/types/help_Support.md deleted file mode 100644 index 26de447b..00000000 --- a/old_docs/API_docs_v68/types/help_Support.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: help_Support -description: constructors and methods of type help_Support -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_Support -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_support](../constructors/help_support.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getSupport](../methods/help_getSupport.md) - - - diff --git a/old_docs/API_docs_v68/types/help_TermsOfService.md b/old_docs/API_docs_v68/types/help_TermsOfService.md deleted file mode 100644 index 84a05df3..00000000 --- a/old_docs/API_docs_v68/types/help_TermsOfService.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: help_TermsOfService -description: constructors and methods of type help_TermsOfService -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_TermsOfService -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_termsOfService](../constructors/help_termsOfService.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getTermsOfService](../methods/help_getTermsOfService.md) - - - diff --git a/old_docs/API_docs_v68/types/messages.AffectedHistory.md b/old_docs/API_docs_v68/types/messages.AffectedHistory.md new file mode 100644 index 00000000..f0411b4d --- /dev/null +++ b/old_docs/API_docs_v68/types/messages.AffectedHistory.md @@ -0,0 +1,24 @@ +--- +title: messages.AffectedHistory +description: constructors and methods of type messages.AffectedHistory +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.AffectedHistory +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.affectedHistory](../constructors/messages.affectedHistory.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->deleteHistory](../methods/messages.deleteHistory.md) + +[$MadelineProto->channels->deleteUserHistory](../methods/channels.deleteUserHistory.md) + + + diff --git a/old_docs/API_docs_v68/types/messages.AffectedMessages.md b/old_docs/API_docs_v68/types/messages.AffectedMessages.md new file mode 100644 index 00000000..a9159de3 --- /dev/null +++ b/old_docs/API_docs_v68/types/messages.AffectedMessages.md @@ -0,0 +1,28 @@ +--- +title: messages.AffectedMessages +description: constructors and methods of type messages.AffectedMessages +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.AffectedMessages +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.affectedMessages](../constructors/messages.affectedMessages.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->readHistory](../methods/messages.readHistory.md) + +[$MadelineProto->messages->deleteMessages](../methods/messages.deleteMessages.md) + +[$MadelineProto->messages->readMessageContents](../methods/messages.readMessageContents.md) + +[$MadelineProto->channels->deleteMessages](../methods/channels.deleteMessages.md) + + + diff --git a/old_docs/API_docs_v68/types/messages.AllStickers.md b/old_docs/API_docs_v68/types/messages.AllStickers.md new file mode 100644 index 00000000..fd8565de --- /dev/null +++ b/old_docs/API_docs_v68/types/messages.AllStickers.md @@ -0,0 +1,26 @@ +--- +title: messages.AllStickers +description: constructors and methods of type messages.AllStickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.AllStickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.allStickersNotModified](../constructors/messages.allStickersNotModified.md) + +[messages.allStickers](../constructors/messages.allStickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getAllStickers](../methods/messages.getAllStickers.md) + +[$MadelineProto->messages->getMaskStickers](../methods/messages.getMaskStickers.md) + + + diff --git a/old_docs/API_docs_v68/types/messages.ArchivedStickers.md b/old_docs/API_docs_v68/types/messages.ArchivedStickers.md new file mode 100644 index 00000000..3e017c5d --- /dev/null +++ b/old_docs/API_docs_v68/types/messages.ArchivedStickers.md @@ -0,0 +1,22 @@ +--- +title: messages.ArchivedStickers +description: constructors and methods of type messages.ArchivedStickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.ArchivedStickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.archivedStickers](../constructors/messages.archivedStickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getArchivedStickers](../methods/messages.getArchivedStickers.md) + + + diff --git a/old_docs/API_docs_v68/types/messages.BotCallbackAnswer.md b/old_docs/API_docs_v68/types/messages.BotCallbackAnswer.md new file mode 100644 index 00000000..ef30fbfb --- /dev/null +++ b/old_docs/API_docs_v68/types/messages.BotCallbackAnswer.md @@ -0,0 +1,22 @@ +--- +title: messages.BotCallbackAnswer +description: constructors and methods of type messages.BotCallbackAnswer +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.BotCallbackAnswer +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.botCallbackAnswer](../constructors/messages.botCallbackAnswer.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getBotCallbackAnswer](../methods/messages.getBotCallbackAnswer.md) + + + diff --git a/old_docs/API_docs_v68/types/messages.BotResults.md b/old_docs/API_docs_v68/types/messages.BotResults.md new file mode 100644 index 00000000..76ee2b99 --- /dev/null +++ b/old_docs/API_docs_v68/types/messages.BotResults.md @@ -0,0 +1,22 @@ +--- +title: messages.BotResults +description: constructors and methods of type messages.BotResults +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.BotResults +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.botResults](../constructors/messages.botResults.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getInlineBotResults](../methods/messages.getInlineBotResults.md) + + + diff --git a/old_docs/API_docs_v68/types/messages.ChatFull.md b/old_docs/API_docs_v68/types/messages.ChatFull.md new file mode 100644 index 00000000..3ad38748 --- /dev/null +++ b/old_docs/API_docs_v68/types/messages.ChatFull.md @@ -0,0 +1,24 @@ +--- +title: messages.ChatFull +description: constructors and methods of type messages.ChatFull +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.ChatFull +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.chatFull](../constructors/messages.chatFull.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getFullChat](../methods/messages.getFullChat.md) + +[$MadelineProto->channels->getFullChannel](../methods/channels.getFullChannel.md) + + + diff --git a/old_docs/API_docs_v68/types/messages.Chats.md b/old_docs/API_docs_v68/types/messages.Chats.md new file mode 100644 index 00000000..2c730bf4 --- /dev/null +++ b/old_docs/API_docs_v68/types/messages.Chats.md @@ -0,0 +1,32 @@ +--- +title: messages.Chats +description: constructors and methods of type messages.Chats +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Chats +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.chats](../constructors/messages.chats.md) + +[messages.chatsSlice](../constructors/messages.chatsSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getChats](../methods/messages.getChats.md) + +[$MadelineProto->messages->getCommonChats](../methods/messages.getCommonChats.md) + +[$MadelineProto->messages->getAllChats](../methods/messages.getAllChats.md) + +[$MadelineProto->channels->getChannels](../methods/channels.getChannels.md) + +[$MadelineProto->channels->getAdminedPublicChannels](../methods/channels.getAdminedPublicChannels.md) + + + diff --git a/old_docs/API_docs_v68/types/messages.DhConfig.md b/old_docs/API_docs_v68/types/messages.DhConfig.md new file mode 100644 index 00000000..77188ab7 --- /dev/null +++ b/old_docs/API_docs_v68/types/messages.DhConfig.md @@ -0,0 +1,24 @@ +--- +title: messages.DhConfig +description: constructors and methods of type messages.DhConfig +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.DhConfig +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.dhConfigNotModified](../constructors/messages.dhConfigNotModified.md) + +[messages.dhConfig](../constructors/messages.dhConfig.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getDhConfig](../methods/messages.getDhConfig.md) + + + diff --git a/old_docs/API_docs_v68/types/messages.Dialogs.md b/old_docs/API_docs_v68/types/messages.Dialogs.md new file mode 100644 index 00000000..1a57d535 --- /dev/null +++ b/old_docs/API_docs_v68/types/messages.Dialogs.md @@ -0,0 +1,24 @@ +--- +title: messages.Dialogs +description: constructors and methods of type messages.Dialogs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Dialogs +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.dialogs](../constructors/messages.dialogs.md) + +[messages.dialogsSlice](../constructors/messages.dialogsSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getDialogs](../methods/messages.getDialogs.md) + + + diff --git a/old_docs/API_docs_v68/types/messages.FeaturedStickers.md b/old_docs/API_docs_v68/types/messages.FeaturedStickers.md new file mode 100644 index 00000000..06ed87bb --- /dev/null +++ b/old_docs/API_docs_v68/types/messages.FeaturedStickers.md @@ -0,0 +1,24 @@ +--- +title: messages.FeaturedStickers +description: constructors and methods of type messages.FeaturedStickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.FeaturedStickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.featuredStickersNotModified](../constructors/messages.featuredStickersNotModified.md) + +[messages.featuredStickers](../constructors/messages.featuredStickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getFeaturedStickers](../methods/messages.getFeaturedStickers.md) + + + diff --git a/old_docs/API_docs_v68/types/messages.FoundGifs.md b/old_docs/API_docs_v68/types/messages.FoundGifs.md new file mode 100644 index 00000000..b5176a5d --- /dev/null +++ b/old_docs/API_docs_v68/types/messages.FoundGifs.md @@ -0,0 +1,22 @@ +--- +title: messages.FoundGifs +description: constructors and methods of type messages.FoundGifs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.FoundGifs +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.foundGifs](../constructors/messages.foundGifs.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->searchGifs](../methods/messages.searchGifs.md) + + + diff --git a/old_docs/API_docs_v68/types/messages.HighScores.md b/old_docs/API_docs_v68/types/messages.HighScores.md new file mode 100644 index 00000000..eae9db66 --- /dev/null +++ b/old_docs/API_docs_v68/types/messages.HighScores.md @@ -0,0 +1,24 @@ +--- +title: messages.HighScores +description: constructors and methods of type messages.HighScores +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.HighScores +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.highScores](../constructors/messages.highScores.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getGameHighScores](../methods/messages.getGameHighScores.md) + +[$MadelineProto->messages->getInlineGameHighScores](../methods/messages.getInlineGameHighScores.md) + + + diff --git a/old_docs/API_docs_v68/types/messages.MessageEditData.md b/old_docs/API_docs_v68/types/messages.MessageEditData.md new file mode 100644 index 00000000..feb572f1 --- /dev/null +++ b/old_docs/API_docs_v68/types/messages.MessageEditData.md @@ -0,0 +1,22 @@ +--- +title: messages.MessageEditData +description: constructors and methods of type messages.MessageEditData +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.MessageEditData +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.messageEditData](../constructors/messages.messageEditData.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getMessageEditData](../methods/messages.getMessageEditData.md) + + + diff --git a/old_docs/API_docs_v68/types/messages.Messages.md b/old_docs/API_docs_v68/types/messages.Messages.md new file mode 100644 index 00000000..9e86abbe --- /dev/null +++ b/old_docs/API_docs_v68/types/messages.Messages.md @@ -0,0 +1,34 @@ +--- +title: messages.Messages +description: constructors and methods of type messages.Messages +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Messages +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.messages](../constructors/messages.messages.md) + +[messages.messagesSlice](../constructors/messages.messagesSlice.md) + +[messages.channelMessages](../constructors/messages.channelMessages.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getMessages](../methods/messages.getMessages.md) + +[$MadelineProto->messages->getHistory](../methods/messages.getHistory.md) + +[$MadelineProto->messages->search](../methods/messages.search.md) + +[$MadelineProto->messages->searchGlobal](../methods/messages.searchGlobal.md) + +[$MadelineProto->channels->getMessages](../methods/channels.getMessages.md) + + + diff --git a/old_docs/API_docs_v68/types/messages.PeerDialogs.md b/old_docs/API_docs_v68/types/messages.PeerDialogs.md new file mode 100644 index 00000000..9a1ceaf0 --- /dev/null +++ b/old_docs/API_docs_v68/types/messages.PeerDialogs.md @@ -0,0 +1,24 @@ +--- +title: messages.PeerDialogs +description: constructors and methods of type messages.PeerDialogs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.PeerDialogs +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.peerDialogs](../constructors/messages.peerDialogs.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getPeerDialogs](../methods/messages.getPeerDialogs.md) + +[$MadelineProto->messages->getPinnedDialogs](../methods/messages.getPinnedDialogs.md) + + + diff --git a/old_docs/API_docs_v68/types/messages.RecentStickers.md b/old_docs/API_docs_v68/types/messages.RecentStickers.md new file mode 100644 index 00000000..e5c49b92 --- /dev/null +++ b/old_docs/API_docs_v68/types/messages.RecentStickers.md @@ -0,0 +1,24 @@ +--- +title: messages.RecentStickers +description: constructors and methods of type messages.RecentStickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.RecentStickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.recentStickersNotModified](../constructors/messages.recentStickersNotModified.md) + +[messages.recentStickers](../constructors/messages.recentStickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getRecentStickers](../methods/messages.getRecentStickers.md) + + + diff --git a/old_docs/API_docs_v68/types/messages.SavedGifs.md b/old_docs/API_docs_v68/types/messages.SavedGifs.md new file mode 100644 index 00000000..99844c98 --- /dev/null +++ b/old_docs/API_docs_v68/types/messages.SavedGifs.md @@ -0,0 +1,24 @@ +--- +title: messages.SavedGifs +description: constructors and methods of type messages.SavedGifs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.SavedGifs +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.savedGifsNotModified](../constructors/messages.savedGifsNotModified.md) + +[messages.savedGifs](../constructors/messages.savedGifs.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getSavedGifs](../methods/messages.getSavedGifs.md) + + + diff --git a/old_docs/API_docs_v68/types/messages.SentEncryptedMessage.md b/old_docs/API_docs_v68/types/messages.SentEncryptedMessage.md new file mode 100644 index 00000000..b6d05b1f --- /dev/null +++ b/old_docs/API_docs_v68/types/messages.SentEncryptedMessage.md @@ -0,0 +1,28 @@ +--- +title: messages.SentEncryptedMessage +description: constructors and methods of type messages.SentEncryptedMessage +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.SentEncryptedMessage +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.sentEncryptedMessage](../constructors/messages.sentEncryptedMessage.md) + +[messages.sentEncryptedFile](../constructors/messages.sentEncryptedFile.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->sendEncrypted](../methods/messages.sendEncrypted.md) + +[$MadelineProto->messages->sendEncryptedFile](../methods/messages.sendEncryptedFile.md) + +[$MadelineProto->messages->sendEncryptedService](../methods/messages.sendEncryptedService.md) + + + diff --git a/old_docs/API_docs_v68/types/messages.StickerSet.md b/old_docs/API_docs_v68/types/messages.StickerSet.md new file mode 100644 index 00000000..3a5d76a1 --- /dev/null +++ b/old_docs/API_docs_v68/types/messages.StickerSet.md @@ -0,0 +1,26 @@ +--- +title: messages.StickerSet +description: constructors and methods of type messages.StickerSet +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.StickerSet +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.stickerSet](../constructors/messages.stickerSet.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getStickerSet](../methods/messages.getStickerSet.md) + +[$MadelineProto->stickers->createStickerSet](../methods/stickers.createStickerSet.md) + +[$MadelineProto->stickers->addStickerToSet](../methods/stickers.addStickerToSet.md) + + + diff --git a/old_docs/API_docs_v68/types/messages.StickerSetInstallResult.md b/old_docs/API_docs_v68/types/messages.StickerSetInstallResult.md new file mode 100644 index 00000000..9e09c293 --- /dev/null +++ b/old_docs/API_docs_v68/types/messages.StickerSetInstallResult.md @@ -0,0 +1,24 @@ +--- +title: messages.StickerSetInstallResult +description: constructors and methods of type messages.StickerSetInstallResult +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.StickerSetInstallResult +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.stickerSetInstallResultSuccess](../constructors/messages.stickerSetInstallResultSuccess.md) + +[messages.stickerSetInstallResultArchive](../constructors/messages.stickerSetInstallResultArchive.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->installStickerSet](../methods/messages.installStickerSet.md) + + + diff --git a/old_docs/API_docs_v68/types/messages.Stickers.md b/old_docs/API_docs_v68/types/messages.Stickers.md new file mode 100644 index 00000000..0da398ca --- /dev/null +++ b/old_docs/API_docs_v68/types/messages.Stickers.md @@ -0,0 +1,22 @@ +--- +title: messages.Stickers +description: constructors and methods of type messages.Stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Stickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.stickersNotModified](../constructors/messages.stickersNotModified.md) + +[messages.stickers](../constructors/messages.stickers.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v68/types/messages_AffectedHistory.md b/old_docs/API_docs_v68/types/messages_AffectedHistory.md deleted file mode 100644 index a2d75894..00000000 --- a/old_docs/API_docs_v68/types/messages_AffectedHistory.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_AffectedHistory -description: constructors and methods of type messages_AffectedHistory -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_AffectedHistory -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_affectedHistory](../constructors/messages_affectedHistory.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->deleteHistory](../methods/messages_deleteHistory.md) - -[$MadelineProto->channels->deleteUserHistory](../methods/channels_deleteUserHistory.md) - - - diff --git a/old_docs/API_docs_v68/types/messages_AffectedMessages.md b/old_docs/API_docs_v68/types/messages_AffectedMessages.md deleted file mode 100644 index dcbea721..00000000 --- a/old_docs/API_docs_v68/types/messages_AffectedMessages.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: messages_AffectedMessages -description: constructors and methods of type messages_AffectedMessages -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_AffectedMessages -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_affectedMessages](../constructors/messages_affectedMessages.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->readHistory](../methods/messages_readHistory.md) - -[$MadelineProto->messages->deleteMessages](../methods/messages_deleteMessages.md) - -[$MadelineProto->messages->readMessageContents](../methods/messages_readMessageContents.md) - -[$MadelineProto->channels->deleteMessages](../methods/channels_deleteMessages.md) - - - diff --git a/old_docs/API_docs_v68/types/messages_AllStickers.md b/old_docs/API_docs_v68/types/messages_AllStickers.md deleted file mode 100644 index b6a322e0..00000000 --- a/old_docs/API_docs_v68/types/messages_AllStickers.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: messages_AllStickers -description: constructors and methods of type messages_AllStickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_AllStickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_allStickersNotModified](../constructors/messages_allStickersNotModified.md) - -[messages\_allStickers](../constructors/messages_allStickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getAllStickers](../methods/messages_getAllStickers.md) - -[$MadelineProto->messages->getMaskStickers](../methods/messages_getMaskStickers.md) - - - diff --git a/old_docs/API_docs_v68/types/messages_ArchivedStickers.md b/old_docs/API_docs_v68/types/messages_ArchivedStickers.md deleted file mode 100644 index c569675e..00000000 --- a/old_docs/API_docs_v68/types/messages_ArchivedStickers.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_ArchivedStickers -description: constructors and methods of type messages_ArchivedStickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_ArchivedStickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_archivedStickers](../constructors/messages_archivedStickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getArchivedStickers](../methods/messages_getArchivedStickers.md) - - - diff --git a/old_docs/API_docs_v68/types/messages_BotCallbackAnswer.md b/old_docs/API_docs_v68/types/messages_BotCallbackAnswer.md deleted file mode 100644 index f8d424d0..00000000 --- a/old_docs/API_docs_v68/types/messages_BotCallbackAnswer.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_BotCallbackAnswer -description: constructors and methods of type messages_BotCallbackAnswer -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_BotCallbackAnswer -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_botCallbackAnswer](../constructors/messages_botCallbackAnswer.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getBotCallbackAnswer](../methods/messages_getBotCallbackAnswer.md) - - - diff --git a/old_docs/API_docs_v68/types/messages_BotResults.md b/old_docs/API_docs_v68/types/messages_BotResults.md deleted file mode 100644 index c346c5bd..00000000 --- a/old_docs/API_docs_v68/types/messages_BotResults.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_BotResults -description: constructors and methods of type messages_BotResults -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_BotResults -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_botResults](../constructors/messages_botResults.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getInlineBotResults](../methods/messages_getInlineBotResults.md) - - - diff --git a/old_docs/API_docs_v68/types/messages_ChatFull.md b/old_docs/API_docs_v68/types/messages_ChatFull.md deleted file mode 100644 index e4add41e..00000000 --- a/old_docs/API_docs_v68/types/messages_ChatFull.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_ChatFull -description: constructors and methods of type messages_ChatFull -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_ChatFull -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_chatFull](../constructors/messages_chatFull.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getFullChat](../methods/messages_getFullChat.md) - -[$MadelineProto->channels->getFullChannel](../methods/channels_getFullChannel.md) - - - diff --git a/old_docs/API_docs_v68/types/messages_Chats.md b/old_docs/API_docs_v68/types/messages_Chats.md deleted file mode 100644 index e49a9718..00000000 --- a/old_docs/API_docs_v68/types/messages_Chats.md +++ /dev/null @@ -1,32 +0,0 @@ ---- -title: messages_Chats -description: constructors and methods of type messages_Chats -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Chats -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_chats](../constructors/messages_chats.md) - -[messages\_chatsSlice](../constructors/messages_chatsSlice.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getChats](../methods/messages_getChats.md) - -[$MadelineProto->messages->getCommonChats](../methods/messages_getCommonChats.md) - -[$MadelineProto->messages->getAllChats](../methods/messages_getAllChats.md) - -[$MadelineProto->channels->getChannels](../methods/channels_getChannels.md) - -[$MadelineProto->channels->getAdminedPublicChannels](../methods/channels_getAdminedPublicChannels.md) - - - diff --git a/old_docs/API_docs_v68/types/messages_DhConfig.md b/old_docs/API_docs_v68/types/messages_DhConfig.md deleted file mode 100644 index ce237411..00000000 --- a/old_docs/API_docs_v68/types/messages_DhConfig.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_DhConfig -description: constructors and methods of type messages_DhConfig -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_DhConfig -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_dhConfigNotModified](../constructors/messages_dhConfigNotModified.md) - -[messages\_dhConfig](../constructors/messages_dhConfig.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getDhConfig](../methods/messages_getDhConfig.md) - - - diff --git a/old_docs/API_docs_v68/types/messages_Dialogs.md b/old_docs/API_docs_v68/types/messages_Dialogs.md deleted file mode 100644 index 733a42c5..00000000 --- a/old_docs/API_docs_v68/types/messages_Dialogs.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_Dialogs -description: constructors and methods of type messages_Dialogs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Dialogs -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_dialogs](../constructors/messages_dialogs.md) - -[messages\_dialogsSlice](../constructors/messages_dialogsSlice.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getDialogs](../methods/messages_getDialogs.md) - - - diff --git a/old_docs/API_docs_v68/types/messages_FeaturedStickers.md b/old_docs/API_docs_v68/types/messages_FeaturedStickers.md deleted file mode 100644 index 9b4c5002..00000000 --- a/old_docs/API_docs_v68/types/messages_FeaturedStickers.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_FeaturedStickers -description: constructors and methods of type messages_FeaturedStickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_FeaturedStickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_featuredStickersNotModified](../constructors/messages_featuredStickersNotModified.md) - -[messages\_featuredStickers](../constructors/messages_featuredStickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getFeaturedStickers](../methods/messages_getFeaturedStickers.md) - - - diff --git a/old_docs/API_docs_v68/types/messages_FoundGifs.md b/old_docs/API_docs_v68/types/messages_FoundGifs.md deleted file mode 100644 index 9dd088ba..00000000 --- a/old_docs/API_docs_v68/types/messages_FoundGifs.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_FoundGifs -description: constructors and methods of type messages_FoundGifs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_FoundGifs -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_foundGifs](../constructors/messages_foundGifs.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->searchGifs](../methods/messages_searchGifs.md) - - - diff --git a/old_docs/API_docs_v68/types/messages_HighScores.md b/old_docs/API_docs_v68/types/messages_HighScores.md deleted file mode 100644 index 9660e255..00000000 --- a/old_docs/API_docs_v68/types/messages_HighScores.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_HighScores -description: constructors and methods of type messages_HighScores -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_HighScores -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_highScores](../constructors/messages_highScores.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getGameHighScores](../methods/messages_getGameHighScores.md) - -[$MadelineProto->messages->getInlineGameHighScores](../methods/messages_getInlineGameHighScores.md) - - - diff --git a/old_docs/API_docs_v68/types/messages_MessageEditData.md b/old_docs/API_docs_v68/types/messages_MessageEditData.md deleted file mode 100644 index ed3c507a..00000000 --- a/old_docs/API_docs_v68/types/messages_MessageEditData.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_MessageEditData -description: constructors and methods of type messages_MessageEditData -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_MessageEditData -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_messageEditData](../constructors/messages_messageEditData.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getMessageEditData](../methods/messages_getMessageEditData.md) - - - diff --git a/old_docs/API_docs_v68/types/messages_Messages.md b/old_docs/API_docs_v68/types/messages_Messages.md deleted file mode 100644 index 4ce14f1d..00000000 --- a/old_docs/API_docs_v68/types/messages_Messages.md +++ /dev/null @@ -1,34 +0,0 @@ ---- -title: messages_Messages -description: constructors and methods of type messages_Messages -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Messages -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_messages](../constructors/messages_messages.md) - -[messages\_messagesSlice](../constructors/messages_messagesSlice.md) - -[messages\_channelMessages](../constructors/messages_channelMessages.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getMessages](../methods/messages_getMessages.md) - -[$MadelineProto->messages->getHistory](../methods/messages_getHistory.md) - -[$MadelineProto->messages->search](../methods/messages_search.md) - -[$MadelineProto->messages->searchGlobal](../methods/messages_searchGlobal.md) - -[$MadelineProto->channels->getMessages](../methods/channels_getMessages.md) - - - diff --git a/old_docs/API_docs_v68/types/messages_PeerDialogs.md b/old_docs/API_docs_v68/types/messages_PeerDialogs.md deleted file mode 100644 index 2477931f..00000000 --- a/old_docs/API_docs_v68/types/messages_PeerDialogs.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_PeerDialogs -description: constructors and methods of type messages_PeerDialogs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_PeerDialogs -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_peerDialogs](../constructors/messages_peerDialogs.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getPeerDialogs](../methods/messages_getPeerDialogs.md) - -[$MadelineProto->messages->getPinnedDialogs](../methods/messages_getPinnedDialogs.md) - - - diff --git a/old_docs/API_docs_v68/types/messages_RecentStickers.md b/old_docs/API_docs_v68/types/messages_RecentStickers.md deleted file mode 100644 index 2c9db779..00000000 --- a/old_docs/API_docs_v68/types/messages_RecentStickers.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_RecentStickers -description: constructors and methods of type messages_RecentStickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_RecentStickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_recentStickersNotModified](../constructors/messages_recentStickersNotModified.md) - -[messages\_recentStickers](../constructors/messages_recentStickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getRecentStickers](../methods/messages_getRecentStickers.md) - - - diff --git a/old_docs/API_docs_v68/types/messages_SavedGifs.md b/old_docs/API_docs_v68/types/messages_SavedGifs.md deleted file mode 100644 index ffb000aa..00000000 --- a/old_docs/API_docs_v68/types/messages_SavedGifs.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_SavedGifs -description: constructors and methods of type messages_SavedGifs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_SavedGifs -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_savedGifsNotModified](../constructors/messages_savedGifsNotModified.md) - -[messages\_savedGifs](../constructors/messages_savedGifs.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getSavedGifs](../methods/messages_getSavedGifs.md) - - - diff --git a/old_docs/API_docs_v68/types/messages_SentEncryptedMessage.md b/old_docs/API_docs_v68/types/messages_SentEncryptedMessage.md deleted file mode 100644 index 9f7ab935..00000000 --- a/old_docs/API_docs_v68/types/messages_SentEncryptedMessage.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: messages_SentEncryptedMessage -description: constructors and methods of type messages_SentEncryptedMessage -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_SentEncryptedMessage -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_sentEncryptedMessage](../constructors/messages_sentEncryptedMessage.md) - -[messages\_sentEncryptedFile](../constructors/messages_sentEncryptedFile.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->sendEncrypted](../methods/messages_sendEncrypted.md) - -[$MadelineProto->messages->sendEncryptedFile](../methods/messages_sendEncryptedFile.md) - -[$MadelineProto->messages->sendEncryptedService](../methods/messages_sendEncryptedService.md) - - - diff --git a/old_docs/API_docs_v68/types/messages_StickerSet.md b/old_docs/API_docs_v68/types/messages_StickerSet.md deleted file mode 100644 index e5acd510..00000000 --- a/old_docs/API_docs_v68/types/messages_StickerSet.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: messages_StickerSet -description: constructors and methods of type messages_StickerSet -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_StickerSet -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_stickerSet](../constructors/messages_stickerSet.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getStickerSet](../methods/messages_getStickerSet.md) - -[$MadelineProto->stickers->createStickerSet](../methods/stickers_createStickerSet.md) - -[$MadelineProto->stickers->addStickerToSet](../methods/stickers_addStickerToSet.md) - - - diff --git a/old_docs/API_docs_v68/types/messages_StickerSetInstallResult.md b/old_docs/API_docs_v68/types/messages_StickerSetInstallResult.md deleted file mode 100644 index bb62ec11..00000000 --- a/old_docs/API_docs_v68/types/messages_StickerSetInstallResult.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_StickerSetInstallResult -description: constructors and methods of type messages_StickerSetInstallResult -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_StickerSetInstallResult -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_stickerSetInstallResultSuccess](../constructors/messages_stickerSetInstallResultSuccess.md) - -[messages\_stickerSetInstallResultArchive](../constructors/messages_stickerSetInstallResultArchive.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->installStickerSet](../methods/messages_installStickerSet.md) - - - diff --git a/old_docs/API_docs_v68/types/messages_Stickers.md b/old_docs/API_docs_v68/types/messages_Stickers.md deleted file mode 100644 index c0fa45cc..00000000 --- a/old_docs/API_docs_v68/types/messages_Stickers.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_Stickers -description: constructors and methods of type messages_Stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Stickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_stickersNotModified](../constructors/messages_stickersNotModified.md) - -[messages\_stickers](../constructors/messages_stickers.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v68/types/payments.PaymentForm.md b/old_docs/API_docs_v68/types/payments.PaymentForm.md new file mode 100644 index 00000000..985c1957 --- /dev/null +++ b/old_docs/API_docs_v68/types/payments.PaymentForm.md @@ -0,0 +1,22 @@ +--- +title: payments.PaymentForm +description: constructors and methods of type payments.PaymentForm +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: payments.PaymentForm +[Back to types index](index.md) + + + +### Possible values (constructors): + +[payments.paymentForm](../constructors/payments.paymentForm.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->payments->getPaymentForm](../methods/payments.getPaymentForm.md) + + + diff --git a/old_docs/API_docs_v68/types/payments.PaymentReceipt.md b/old_docs/API_docs_v68/types/payments.PaymentReceipt.md new file mode 100644 index 00000000..45cebd47 --- /dev/null +++ b/old_docs/API_docs_v68/types/payments.PaymentReceipt.md @@ -0,0 +1,22 @@ +--- +title: payments.PaymentReceipt +description: constructors and methods of type payments.PaymentReceipt +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: payments.PaymentReceipt +[Back to types index](index.md) + + + +### Possible values (constructors): + +[payments.paymentReceipt](../constructors/payments.paymentReceipt.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->payments->getPaymentReceipt](../methods/payments.getPaymentReceipt.md) + + + diff --git a/old_docs/API_docs_v68/types/payments.PaymentResult.md b/old_docs/API_docs_v68/types/payments.PaymentResult.md new file mode 100644 index 00000000..9bbff9af --- /dev/null +++ b/old_docs/API_docs_v68/types/payments.PaymentResult.md @@ -0,0 +1,24 @@ +--- +title: payments.PaymentResult +description: constructors and methods of type payments.PaymentResult +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: payments.PaymentResult +[Back to types index](index.md) + + + +### Possible values (constructors): + +[payments.paymentResult](../constructors/payments.paymentResult.md) + +[payments.paymentVerficationNeeded](../constructors/payments.paymentVerficationNeeded.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->payments->sendPaymentForm](../methods/payments.sendPaymentForm.md) + + + diff --git a/old_docs/API_docs_v68/types/payments.SavedInfo.md b/old_docs/API_docs_v68/types/payments.SavedInfo.md new file mode 100644 index 00000000..cf7be16c --- /dev/null +++ b/old_docs/API_docs_v68/types/payments.SavedInfo.md @@ -0,0 +1,22 @@ +--- +title: payments.SavedInfo +description: constructors and methods of type payments.SavedInfo +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: payments.SavedInfo +[Back to types index](index.md) + + + +### Possible values (constructors): + +[payments.savedInfo](../constructors/payments.savedInfo.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->payments->getSavedInfo](../methods/payments.getSavedInfo.md) + + + diff --git a/old_docs/API_docs_v68/types/payments.ValidatedRequestedInfo.md b/old_docs/API_docs_v68/types/payments.ValidatedRequestedInfo.md new file mode 100644 index 00000000..653a5064 --- /dev/null +++ b/old_docs/API_docs_v68/types/payments.ValidatedRequestedInfo.md @@ -0,0 +1,22 @@ +--- +title: payments.ValidatedRequestedInfo +description: constructors and methods of type payments.ValidatedRequestedInfo +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: payments.ValidatedRequestedInfo +[Back to types index](index.md) + + + +### Possible values (constructors): + +[payments.validatedRequestedInfo](../constructors/payments.validatedRequestedInfo.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->payments->validateRequestedInfo](../methods/payments.validateRequestedInfo.md) + + + diff --git a/old_docs/API_docs_v68/types/payments_PaymentForm.md b/old_docs/API_docs_v68/types/payments_PaymentForm.md deleted file mode 100644 index 4662586d..00000000 --- a/old_docs/API_docs_v68/types/payments_PaymentForm.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: payments_PaymentForm -description: constructors and methods of type payments_PaymentForm -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: payments\_PaymentForm -[Back to types index](index.md) - - - -### Possible values (constructors): - -[payments\_paymentForm](../constructors/payments_paymentForm.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->payments->getPaymentForm](../methods/payments_getPaymentForm.md) - - - diff --git a/old_docs/API_docs_v68/types/payments_PaymentReceipt.md b/old_docs/API_docs_v68/types/payments_PaymentReceipt.md deleted file mode 100644 index b4770d2a..00000000 --- a/old_docs/API_docs_v68/types/payments_PaymentReceipt.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: payments_PaymentReceipt -description: constructors and methods of type payments_PaymentReceipt -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: payments\_PaymentReceipt -[Back to types index](index.md) - - - -### Possible values (constructors): - -[payments\_paymentReceipt](../constructors/payments_paymentReceipt.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->payments->getPaymentReceipt](../methods/payments_getPaymentReceipt.md) - - - diff --git a/old_docs/API_docs_v68/types/payments_PaymentResult.md b/old_docs/API_docs_v68/types/payments_PaymentResult.md deleted file mode 100644 index 3c0ad411..00000000 --- a/old_docs/API_docs_v68/types/payments_PaymentResult.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: payments_PaymentResult -description: constructors and methods of type payments_PaymentResult -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: payments\_PaymentResult -[Back to types index](index.md) - - - -### Possible values (constructors): - -[payments\_paymentResult](../constructors/payments_paymentResult.md) - -[payments\_paymentVerficationNeeded](../constructors/payments_paymentVerficationNeeded.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->payments->sendPaymentForm](../methods/payments_sendPaymentForm.md) - - - diff --git a/old_docs/API_docs_v68/types/payments_SavedInfo.md b/old_docs/API_docs_v68/types/payments_SavedInfo.md deleted file mode 100644 index c8f7b9e3..00000000 --- a/old_docs/API_docs_v68/types/payments_SavedInfo.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: payments_SavedInfo -description: constructors and methods of type payments_SavedInfo -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: payments\_SavedInfo -[Back to types index](index.md) - - - -### Possible values (constructors): - -[payments\_savedInfo](../constructors/payments_savedInfo.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->payments->getSavedInfo](../methods/payments_getSavedInfo.md) - - - diff --git a/old_docs/API_docs_v68/types/payments_ValidatedRequestedInfo.md b/old_docs/API_docs_v68/types/payments_ValidatedRequestedInfo.md deleted file mode 100644 index ff6c4e39..00000000 --- a/old_docs/API_docs_v68/types/payments_ValidatedRequestedInfo.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: payments_ValidatedRequestedInfo -description: constructors and methods of type payments_ValidatedRequestedInfo -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: payments\_ValidatedRequestedInfo -[Back to types index](index.md) - - - -### Possible values (constructors): - -[payments\_validatedRequestedInfo](../constructors/payments_validatedRequestedInfo.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->payments->validateRequestedInfo](../methods/payments_validateRequestedInfo.md) - - - diff --git a/old_docs/API_docs_v68/types/phone.PhoneCall.md b/old_docs/API_docs_v68/types/phone.PhoneCall.md new file mode 100644 index 00000000..db0708e9 --- /dev/null +++ b/old_docs/API_docs_v68/types/phone.PhoneCall.md @@ -0,0 +1,26 @@ +--- +title: phone.PhoneCall +description: constructors and methods of type phone.PhoneCall +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: phone.PhoneCall +[Back to types index](index.md) + + + +### Possible values (constructors): + +[phone.phoneCall](../constructors/phone.phoneCall.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->phone->requestCall](../methods/phone.requestCall.md) + +[$MadelineProto->phone->acceptCall](../methods/phone.acceptCall.md) + +[$MadelineProto->phone->confirmCall](../methods/phone.confirmCall.md) + + + diff --git a/old_docs/API_docs_v68/types/phone_PhoneCall.md b/old_docs/API_docs_v68/types/phone_PhoneCall.md deleted file mode 100644 index 0a49d482..00000000 --- a/old_docs/API_docs_v68/types/phone_PhoneCall.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: phone_PhoneCall -description: constructors and methods of type phone_PhoneCall -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: phone\_PhoneCall -[Back to types index](index.md) - - - -### Possible values (constructors): - -[phone\_phoneCall](../constructors/phone_phoneCall.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->phone->requestCall](../methods/phone_requestCall.md) - -[$MadelineProto->phone->acceptCall](../methods/phone_acceptCall.md) - -[$MadelineProto->phone->confirmCall](../methods/phone_confirmCall.md) - - - diff --git a/old_docs/API_docs_v68/types/photos.Photo.md b/old_docs/API_docs_v68/types/photos.Photo.md new file mode 100644 index 00000000..d60f203c --- /dev/null +++ b/old_docs/API_docs_v68/types/photos.Photo.md @@ -0,0 +1,22 @@ +--- +title: photos.Photo +description: constructors and methods of type photos.Photo +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: photos.Photo +[Back to types index](index.md) + + + +### Possible values (constructors): + +[photos.photo](../constructors/photos.photo.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->photos->uploadProfilePhoto](../methods/photos.uploadProfilePhoto.md) + + + diff --git a/old_docs/API_docs_v68/types/photos.Photos.md b/old_docs/API_docs_v68/types/photos.Photos.md new file mode 100644 index 00000000..fff0e296 --- /dev/null +++ b/old_docs/API_docs_v68/types/photos.Photos.md @@ -0,0 +1,24 @@ +--- +title: photos.Photos +description: constructors and methods of type photos.Photos +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: photos.Photos +[Back to types index](index.md) + + + +### Possible values (constructors): + +[photos.photos](../constructors/photos.photos.md) + +[photos.photosSlice](../constructors/photos.photosSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->photos->getUserPhotos](../methods/photos.getUserPhotos.md) + + + diff --git a/old_docs/API_docs_v68/types/photos_Photo.md b/old_docs/API_docs_v68/types/photos_Photo.md deleted file mode 100644 index d11bbdef..00000000 --- a/old_docs/API_docs_v68/types/photos_Photo.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: photos_Photo -description: constructors and methods of type photos_Photo -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: photos\_Photo -[Back to types index](index.md) - - - -### Possible values (constructors): - -[photos\_photo](../constructors/photos_photo.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->photos->uploadProfilePhoto](../methods/photos_uploadProfilePhoto.md) - - - diff --git a/old_docs/API_docs_v68/types/photos_Photos.md b/old_docs/API_docs_v68/types/photos_Photos.md deleted file mode 100644 index 9875ad70..00000000 --- a/old_docs/API_docs_v68/types/photos_Photos.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: photos_Photos -description: constructors and methods of type photos_Photos -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: photos\_Photos -[Back to types index](index.md) - - - -### Possible values (constructors): - -[photos\_photos](../constructors/photos_photos.md) - -[photos\_photosSlice](../constructors/photos_photosSlice.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->photos->getUserPhotos](../methods/photos_getUserPhotos.md) - - - diff --git a/old_docs/API_docs_v68/types/storage.FileType.md b/old_docs/API_docs_v68/types/storage.FileType.md new file mode 100644 index 00000000..32f1bb72 --- /dev/null +++ b/old_docs/API_docs_v68/types/storage.FileType.md @@ -0,0 +1,38 @@ +--- +title: storage.FileType +description: constructors and methods of type storage.FileType +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: storage.FileType +[Back to types index](index.md) + + + +### Possible values (constructors): + +[storage.fileUnknown](../constructors/storage.fileUnknown.md) + +[storage.filePartial](../constructors/storage.filePartial.md) + +[storage.fileJpeg](../constructors/storage.fileJpeg.md) + +[storage.fileGif](../constructors/storage.fileGif.md) + +[storage.filePng](../constructors/storage.filePng.md) + +[storage.filePdf](../constructors/storage.filePdf.md) + +[storage.fileMp3](../constructors/storage.fileMp3.md) + +[storage.fileMov](../constructors/storage.fileMov.md) + +[storage.fileMp4](../constructors/storage.fileMp4.md) + +[storage.fileWebp](../constructors/storage.fileWebp.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v68/types/storage_FileType.md b/old_docs/API_docs_v68/types/storage_FileType.md deleted file mode 100644 index 22118805..00000000 --- a/old_docs/API_docs_v68/types/storage_FileType.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: storage_FileType -description: constructors and methods of type storage_FileType -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: storage\_FileType -[Back to types index](index.md) - - - -### Possible values (constructors): - -[storage\_fileUnknown](../constructors/storage_fileUnknown.md) - -[storage\_filePartial](../constructors/storage_filePartial.md) - -[storage\_fileJpeg](../constructors/storage_fileJpeg.md) - -[storage\_fileGif](../constructors/storage_fileGif.md) - -[storage\_filePng](../constructors/storage_filePng.md) - -[storage\_filePdf](../constructors/storage_filePdf.md) - -[storage\_fileMp3](../constructors/storage_fileMp3.md) - -[storage\_fileMov](../constructors/storage_fileMov.md) - -[storage\_fileMp4](../constructors/storage_fileMp4.md) - -[storage\_fileWebp](../constructors/storage_fileWebp.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v68/types/updates.ChannelDifference.md b/old_docs/API_docs_v68/types/updates.ChannelDifference.md new file mode 100644 index 00000000..ac889a1e --- /dev/null +++ b/old_docs/API_docs_v68/types/updates.ChannelDifference.md @@ -0,0 +1,26 @@ +--- +title: updates.ChannelDifference +description: constructors and methods of type updates.ChannelDifference +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: updates.ChannelDifference +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updates.channelDifferenceEmpty](../constructors/updates.channelDifferenceEmpty.md) + +[updates.channelDifferenceTooLong](../constructors/updates.channelDifferenceTooLong.md) + +[updates.channelDifference](../constructors/updates.channelDifference.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->updates->getChannelDifference](../methods/updates.getChannelDifference.md) + + + diff --git a/old_docs/API_docs_v68/types/updates.Difference.md b/old_docs/API_docs_v68/types/updates.Difference.md new file mode 100644 index 00000000..0c1a1b6e --- /dev/null +++ b/old_docs/API_docs_v68/types/updates.Difference.md @@ -0,0 +1,28 @@ +--- +title: updates.Difference +description: constructors and methods of type updates.Difference +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: updates.Difference +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updates.differenceEmpty](../constructors/updates.differenceEmpty.md) + +[updates.difference](../constructors/updates.difference.md) + +[updates.differenceSlice](../constructors/updates.differenceSlice.md) + +[updates.differenceTooLong](../constructors/updates.differenceTooLong.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->updates->getDifference](../methods/updates.getDifference.md) + + + diff --git a/old_docs/API_docs_v68/types/updates.State.md b/old_docs/API_docs_v68/types/updates.State.md new file mode 100644 index 00000000..49bbb7fd --- /dev/null +++ b/old_docs/API_docs_v68/types/updates.State.md @@ -0,0 +1,22 @@ +--- +title: updates.State +description: constructors and methods of type updates.State +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: updates.State +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updates.state](../constructors/updates.state.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->updates->getState](../methods/updates.getState.md) + + + diff --git a/old_docs/API_docs_v68/types/updates_ChannelDifference.md b/old_docs/API_docs_v68/types/updates_ChannelDifference.md deleted file mode 100644 index dc988692..00000000 --- a/old_docs/API_docs_v68/types/updates_ChannelDifference.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: updates_ChannelDifference -description: constructors and methods of type updates_ChannelDifference -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: updates\_ChannelDifference -[Back to types index](index.md) - - - -### Possible values (constructors): - -[updates\_channelDifferenceEmpty](../constructors/updates_channelDifferenceEmpty.md) - -[updates\_channelDifferenceTooLong](../constructors/updates_channelDifferenceTooLong.md) - -[updates\_channelDifference](../constructors/updates_channelDifference.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->updates->getChannelDifference](../methods/updates_getChannelDifference.md) - - - diff --git a/old_docs/API_docs_v68/types/updates_Difference.md b/old_docs/API_docs_v68/types/updates_Difference.md deleted file mode 100644 index 50bb098e..00000000 --- a/old_docs/API_docs_v68/types/updates_Difference.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: updates_Difference -description: constructors and methods of type updates_Difference -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: updates\_Difference -[Back to types index](index.md) - - - -### Possible values (constructors): - -[updates\_differenceEmpty](../constructors/updates_differenceEmpty.md) - -[updates\_difference](../constructors/updates_difference.md) - -[updates\_differenceSlice](../constructors/updates_differenceSlice.md) - -[updates\_differenceTooLong](../constructors/updates_differenceTooLong.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->updates->getDifference](../methods/updates_getDifference.md) - - - diff --git a/old_docs/API_docs_v68/types/updates_State.md b/old_docs/API_docs_v68/types/updates_State.md deleted file mode 100644 index 7a441145..00000000 --- a/old_docs/API_docs_v68/types/updates_State.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: updates_State -description: constructors and methods of type updates_State -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: updates\_State -[Back to types index](index.md) - - - -### Possible values (constructors): - -[updates\_state](../constructors/updates_state.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->updates->getState](../methods/updates_getState.md) - - - diff --git a/old_docs/API_docs_v68/types/upload.CdnFile.md b/old_docs/API_docs_v68/types/upload.CdnFile.md new file mode 100644 index 00000000..396c4bf4 --- /dev/null +++ b/old_docs/API_docs_v68/types/upload.CdnFile.md @@ -0,0 +1,24 @@ +--- +title: upload.CdnFile +description: constructors and methods of type upload.CdnFile +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: upload.CdnFile +[Back to types index](index.md) + + + +### Possible values (constructors): + +[upload.cdnFileReuploadNeeded](../constructors/upload.cdnFileReuploadNeeded.md) + +[upload.cdnFile](../constructors/upload.cdnFile.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->upload->getCdnFile](../methods/upload.getCdnFile.md) + + + diff --git a/old_docs/API_docs_v68/types/upload.File.md b/old_docs/API_docs_v68/types/upload.File.md new file mode 100644 index 00000000..6963341b --- /dev/null +++ b/old_docs/API_docs_v68/types/upload.File.md @@ -0,0 +1,24 @@ +--- +title: upload.File +description: constructors and methods of type upload.File +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: upload.File +[Back to types index](index.md) + + + +### Possible values (constructors): + +[upload.file](../constructors/upload.file.md) + +[upload.fileCdnRedirect](../constructors/upload.fileCdnRedirect.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->upload->getFile](../methods/upload.getFile.md) + + + diff --git a/old_docs/API_docs_v68/types/upload.WebFile.md b/old_docs/API_docs_v68/types/upload.WebFile.md new file mode 100644 index 00000000..e834457b --- /dev/null +++ b/old_docs/API_docs_v68/types/upload.WebFile.md @@ -0,0 +1,22 @@ +--- +title: upload.WebFile +description: constructors and methods of type upload.WebFile +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: upload.WebFile +[Back to types index](index.md) + + + +### Possible values (constructors): + +[upload.webFile](../constructors/upload.webFile.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->upload->getWebFile](../methods/upload.getWebFile.md) + + + diff --git a/old_docs/API_docs_v68/types/upload_CdnFile.md b/old_docs/API_docs_v68/types/upload_CdnFile.md deleted file mode 100644 index 51ae2e68..00000000 --- a/old_docs/API_docs_v68/types/upload_CdnFile.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: upload_CdnFile -description: constructors and methods of type upload_CdnFile -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: upload\_CdnFile -[Back to types index](index.md) - - - -### Possible values (constructors): - -[upload\_cdnFileReuploadNeeded](../constructors/upload_cdnFileReuploadNeeded.md) - -[upload\_cdnFile](../constructors/upload_cdnFile.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->upload->getCdnFile](../methods/upload_getCdnFile.md) - - - diff --git a/old_docs/API_docs_v68/types/upload_File.md b/old_docs/API_docs_v68/types/upload_File.md deleted file mode 100644 index 00e0f9cb..00000000 --- a/old_docs/API_docs_v68/types/upload_File.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: upload_File -description: constructors and methods of type upload_File -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: upload\_File -[Back to types index](index.md) - - - -### Possible values (constructors): - -[upload\_file](../constructors/upload_file.md) - -[upload\_fileCdnRedirect](../constructors/upload_fileCdnRedirect.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->upload->getFile](../methods/upload_getFile.md) - - - diff --git a/old_docs/API_docs_v68/types/upload_WebFile.md b/old_docs/API_docs_v68/types/upload_WebFile.md deleted file mode 100644 index 9a86264f..00000000 --- a/old_docs/API_docs_v68/types/upload_WebFile.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: upload_WebFile -description: constructors and methods of type upload_WebFile -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: upload\_WebFile -[Back to types index](index.md) - - - -### Possible values (constructors): - -[upload\_webFile](../constructors/upload_webFile.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->upload->getWebFile](../methods/upload_getWebFile.md) - - - diff --git a/old_docs/API_docs_v70/constructors/README.md b/old_docs/API_docs_v70/constructors/README.md index 76051661..01c8d4fb 100644 --- a/old_docs/API_docs_v70/constructors/README.md +++ b/old_docs/API_docs_v70/constructors/README.md @@ -6,48 +6,65 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png # Constructors [Back to API documentation index](..) +*** +

[$account.authorizations](../constructors/account.authorizations.md) = \['authorizations' => \[[Authorization](../types/Authorization.md)\], \]; + +*** +

[$account.noPassword](../constructors/account.noPassword.md) = \['new_salt' => [bytes](../types/bytes.md), 'email_unconfirmed_pattern' => [string](../types/string.md), \]; + +*** +

[$account.password](../constructors/account.password.md) = \['current_salt' => [bytes](../types/bytes.md), 'new_salt' => [bytes](../types/bytes.md), 'hint' => [string](../types/string.md), 'has_recovery' => [Bool](../types/Bool.md), 'email_unconfirmed_pattern' => [string](../types/string.md), \]; + +*** +

[$account.passwordInputSettings](../constructors/account.passwordInputSettings.md) = \['new_salt' => [bytes](../types/bytes.md), 'new_password_hash' => [bytes](../types/bytes.md), 'hint' => [string](../types/string.md), 'email' => [string](../types/string.md), \]; + +*** +

[$account.passwordSettings](../constructors/account.passwordSettings.md) = \['email' => [string](../types/string.md), \]; + +*** +

[$account.privacyRules](../constructors/account.privacyRules.md) = \['rules' => \[[PrivacyRule](../types/PrivacyRule.md)\], 'users' => \[[User](../types/User.md)\], \]; + +*** +

[$account.tmpPassword](../constructors/account.tmpPassword.md) = \['tmp_password' => [bytes](../types/bytes.md), 'valid_until' => [int](../types/int.md), \]; + ***

[$accountDaysTTL](../constructors/accountDaysTTL.md) = \['days' => [int](../types/int.md), \]; *** -

[$account\_authorizations](../constructors/account_authorizations.md) = \['authorizations' => \[[Authorization](../types/Authorization.md)\], \]; - -[$account\_noPassword](../constructors/account_noPassword.md) = \['new_salt' => [bytes](../types/bytes.md), 'email_unconfirmed_pattern' => [string](../types/string.md), \]; - -[$account\_password](../constructors/account_password.md) = \['current_salt' => [bytes](../types/bytes.md), 'new_salt' => [bytes](../types/bytes.md), 'hint' => [string](../types/string.md), 'has_recovery' => [Bool](../types/Bool.md), 'email_unconfirmed_pattern' => [string](../types/string.md), \]; - -[$account\_passwordInputSettings](../constructors/account_passwordInputSettings.md) = \['new_salt' => [bytes](../types/bytes.md), 'new_password_hash' => [bytes](../types/bytes.md), 'hint' => [string](../types/string.md), 'email' => [string](../types/string.md), \]; - -[$account\_passwordSettings](../constructors/account_passwordSettings.md) = \['email' => [string](../types/string.md), \]; - -[$account\_privacyRules](../constructors/account_privacyRules.md) = \['rules' => \[[PrivacyRule](../types/PrivacyRule.md)\], 'users' => \[[User](../types/User.md)\], \]; - -[$account\_tmpPassword](../constructors/account_tmpPassword.md) = \['tmp_password' => [bytes](../types/bytes.md), 'valid_until' => [int](../types/int.md), \]; +

[$auth.authorization](../constructors/auth.authorization.md) = \['tmp_sessions' => [int](../types/int.md), 'user' => [User](../types/User.md), \]; *** -

[$auth\_authorization](../constructors/auth_authorization.md) = \['tmp_sessions' => [int](../types/int.md), 'user' => [User](../types/User.md), \]; +

[$auth.checkedPhone](../constructors/auth.checkedPhone.md) = \['phone_registered' => [Bool](../types/Bool.md), \]; -[$auth\_checkedPhone](../constructors/auth_checkedPhone.md) = \['phone_registered' => [Bool](../types/Bool.md), \]; +*** +

[$auth.codeTypeCall](../constructors/auth.codeTypeCall.md) = \[\]; -[$auth\_codeTypeCall](../constructors/auth_codeTypeCall.md) = \[\]; +*** +

[$auth.codeTypeFlashCall](../constructors/auth.codeTypeFlashCall.md) = \[\]; -[$auth\_codeTypeFlashCall](../constructors/auth_codeTypeFlashCall.md) = \[\]; +*** +

[$auth.codeTypeSms](../constructors/auth.codeTypeSms.md) = \[\]; -[$auth\_codeTypeSms](../constructors/auth_codeTypeSms.md) = \[\]; +*** +

[$auth.exportedAuthorization](../constructors/auth.exportedAuthorization.md) = \['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; -[$auth\_exportedAuthorization](../constructors/auth_exportedAuthorization.md) = \['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; +*** +

[$auth.passwordRecovery](../constructors/auth.passwordRecovery.md) = \['email_pattern' => [string](../types/string.md), \]; -[$auth\_passwordRecovery](../constructors/auth_passwordRecovery.md) = \['email_pattern' => [string](../types/string.md), \]; +*** +

[$auth.sentCode](../constructors/auth.sentCode.md) = \['phone_registered' => [Bool](../types/Bool.md), 'type' => [auth.SentCodeType](../types/auth.SentCodeType.md), 'phone_code_hash' => [string](../types/string.md), 'next_type' => [auth.CodeType](../types/auth.CodeType.md), 'timeout' => [int](../types/int.md), \]; -[$auth\_sentCode](../constructors/auth_sentCode.md) = \['phone_registered' => [Bool](../types/Bool.md), 'type' => [auth.SentCodeType](../types/auth.SentCodeType.md), 'phone_code_hash' => [string](../types/string.md), 'next_type' => [auth.CodeType](../types/auth.CodeType.md), 'timeout' => [int](../types/int.md), \]; +*** +

[$auth.sentCodeTypeApp](../constructors/auth.sentCodeTypeApp.md) = \['length' => [int](../types/int.md), \]; -[$auth\_sentCodeTypeApp](../constructors/auth_sentCodeTypeApp.md) = \['length' => [int](../types/int.md), \]; +*** +

[$auth.sentCodeTypeCall](../constructors/auth.sentCodeTypeCall.md) = \['length' => [int](../types/int.md), \]; -[$auth\_sentCodeTypeCall](../constructors/auth_sentCodeTypeCall.md) = \['length' => [int](../types/int.md), \]; +*** +

[$auth.sentCodeTypeFlashCall](../constructors/auth.sentCodeTypeFlashCall.md) = \['pattern' => [string](../types/string.md), \]; -[$auth\_sentCodeTypeFlashCall](../constructors/auth_sentCodeTypeFlashCall.md) = \['pattern' => [string](../types/string.md), \]; - -[$auth\_sentCodeTypeSms](../constructors/auth_sentCodeTypeSms.md) = \['length' => [int](../types/int.md), \]; +*** +

[$auth.sentCodeTypeSms](../constructors/auth.sentCodeTypeSms.md) = \['length' => [int](../types/int.md), \]; ***

[$authorization](../constructors/authorization.md) = \['hash' => [long](../types/long.md), 'device_model' => [string](../types/string.md), 'platform' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'api_id' => [int](../types/int.md), 'app_name' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'date_created' => [int](../types/int.md), 'date_active' => [int](../types/int.md), 'ip' => [string](../types/string.md), 'country' => [string](../types/string.md), 'region' => [string](../types/string.md), \]; @@ -202,11 +219,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$channelParticipantsSearch](../constructors/channelParticipantsSearch.md) = \['q' => [string](../types/string.md), \]; *** -

[$channels\_adminLogResults](../constructors/channels_adminLogResults.md) = \['events' => \[[ChannelAdminLogEvent](../types/ChannelAdminLogEvent.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +

[$channels.adminLogResults](../constructors/channels.adminLogResults.md) = \['events' => \[[ChannelAdminLogEvent](../types/ChannelAdminLogEvent.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$channels\_channelParticipant](../constructors/channels_channelParticipant.md) = \['participant' => [ChannelParticipant](../types/ChannelParticipant.md), 'users' => \[[User](../types/User.md)\], \]; +*** +

[$channels.channelParticipant](../constructors/channels.channelParticipant.md) = \['participant' => [ChannelParticipant](../types/ChannelParticipant.md), 'users' => \[[User](../types/User.md)\], \]; -[$channels\_channelParticipants](../constructors/channels_channelParticipants.md) = \['count' => [int](../types/int.md), 'participants' => \[[ChannelParticipant](../types/ChannelParticipant.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$channels.channelParticipants](../constructors/channels.channelParticipants.md) = \['count' => [int](../types/int.md), 'participants' => \[[ChannelParticipant](../types/ChannelParticipant.md)\], 'users' => \[[User](../types/User.md)\], \]; ***

[$chat](../constructors/chat.md) = \['creator' => [Bool](../types/Bool.md), 'kicked' => [Bool](../types/Bool.md), 'left' => [Bool](../types/Bool.md), 'admins_enabled' => [Bool](../types/Bool.md), 'admin' => [Bool](../types/Bool.md), 'deactivated' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'title' => [string](../types/string.md), 'photo' => [ChatPhoto](../types/ChatPhoto.md), 'participants_count' => [int](../types/int.md), 'date' => [int](../types/int.md), 'version' => [int](../types/int.md), 'migrated_to' => [InputChannel](../types/InputChannel.md), \]; @@ -281,25 +300,34 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$contactStatus](../constructors/contactStatus.md) = \['user_id' => [int](../types/int.md), 'status' => [UserStatus](../types/UserStatus.md), \]; *** -

[$contacts\_blocked](../constructors/contacts_blocked.md) = \['blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; +

[$contacts.blocked](../constructors/contacts.blocked.md) = \['blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_blockedSlice](../constructors/contacts_blockedSlice.md) = \['count' => [int](../types/int.md), 'blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.blockedSlice](../constructors/contacts.blockedSlice.md) = \['count' => [int](../types/int.md), 'blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_contacts](../constructors/contacts_contacts.md) = \['contacts' => \[[Contact](../types/Contact.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.contacts](../constructors/contacts.contacts.md) = \['contacts' => \[[Contact](../types/Contact.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_contactsNotModified](../constructors/contacts_contactsNotModified.md) = \[\]; +*** +

[$contacts.contactsNotModified](../constructors/contacts.contactsNotModified.md) = \[\]; -[$contacts\_found](../constructors/contacts_found.md) = \['results' => \[[Peer](../types/Peer.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.found](../constructors/contacts.found.md) = \['results' => \[[Peer](../types/Peer.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_importedContacts](../constructors/contacts_importedContacts.md) = \['imported' => \[[ImportedContact](../types/ImportedContact.md)\], 'popular_invites' => \[[PopularContact](../types/PopularContact.md)\], 'retry_contacts' => \[[long](../types/long.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.importedContacts](../constructors/contacts.importedContacts.md) = \['imported' => \[[ImportedContact](../types/ImportedContact.md)\], 'popular_invites' => \[[PopularContact](../types/PopularContact.md)\], 'retry_contacts' => \[[long](../types/long.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_link](../constructors/contacts_link.md) = \['my_link' => [ContactLink](../types/ContactLink.md), 'foreign_link' => [ContactLink](../types/ContactLink.md), 'user' => [User](../types/User.md), \]; +*** +

[$contacts.link](../constructors/contacts.link.md) = \['my_link' => [ContactLink](../types/ContactLink.md), 'foreign_link' => [ContactLink](../types/ContactLink.md), 'user' => [User](../types/User.md), \]; -[$contacts\_resolvedPeer](../constructors/contacts_resolvedPeer.md) = \['peer' => [Peer](../types/Peer.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.resolvedPeer](../constructors/contacts.resolvedPeer.md) = \['peer' => [Peer](../types/Peer.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_topPeers](../constructors/contacts_topPeers.md) = \['categories' => \[[TopPeerCategoryPeers](../types/TopPeerCategoryPeers.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.topPeers](../constructors/contacts.topPeers.md) = \['categories' => \[[TopPeerCategoryPeers](../types/TopPeerCategoryPeers.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_topPeersNotModified](../constructors/contacts_topPeersNotModified.md) = \[\]; +*** +

[$contacts.topPeersNotModified](../constructors/contacts.topPeersNotModified.md) = \[\]; ***

[$dataJSON](../constructors/dataJSON.md) = \['data' => [string](../types/string.md), \]; @@ -424,17 +452,22 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$geoPointEmpty](../constructors/geoPointEmpty.md) = \[\]; *** -

[$help\_appUpdate](../constructors/help_appUpdate.md) = \['id' => [int](../types/int.md), 'critical' => [Bool](../types/Bool.md), 'url' => [string](../types/string.md), 'text' => [string](../types/string.md), \]; +

[$help.appUpdate](../constructors/help.appUpdate.md) = \['id' => [int](../types/int.md), 'critical' => [Bool](../types/Bool.md), 'url' => [string](../types/string.md), 'text' => [string](../types/string.md), \]; -[$help\_configSimple](../constructors/help_configSimple.md) = \['date' => [int](../types/int.md), 'expires' => [int](../types/int.md), 'dc_id' => [int](../types/int.md), 'ip_port_list' => \[[ipPort](../constructors/ipPort.md)\], \]; +*** +

[$help.configSimple](../constructors/help.configSimple.md) = \['date' => [int](../types/int.md), 'expires' => [int](../types/int.md), 'dc_id' => [int](../types/int.md), 'ip_port_list' => \[[ipPort](../constructors/ipPort.md)\], \]; -[$help\_inviteText](../constructors/help_inviteText.md) = \['message' => [string](../types/string.md), \]; +*** +

[$help.inviteText](../constructors/help.inviteText.md) = \['message' => [string](../types/string.md), \]; -[$help\_noAppUpdate](../constructors/help_noAppUpdate.md) = \[\]; +*** +

[$help.noAppUpdate](../constructors/help.noAppUpdate.md) = \[\]; -[$help\_support](../constructors/help_support.md) = \['phone_number' => [string](../types/string.md), 'user' => [User](../types/User.md), \]; +*** +

[$help.support](../constructors/help.support.md) = \['phone_number' => [string](../types/string.md), 'user' => [User](../types/User.md), \]; -[$help\_termsOfService](../constructors/help_termsOfService.md) = \['text' => [string](../types/string.md), \]; +*** +

[$help.termsOfService](../constructors/help.termsOfService.md) = \['text' => [string](../types/string.md), \]; ***

[$highScore](../constructors/highScore.md) = \['pos' => [int](../types/int.md), 'user_id' => [int](../types/int.md), 'score' => [int](../types/int.md), \]; @@ -947,73 +980,106 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$messageService](../constructors/messageService.md) = \['out' => [Bool](../types/Bool.md), 'mentioned' => [Bool](../types/Bool.md), 'media_unread' => [Bool](../types/Bool.md), 'silent' => [Bool](../types/Bool.md), 'post' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'from_id' => [int](../types/int.md), 'to_id' => [Peer](../types/Peer.md), 'reply_to_msg_id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'action' => [MessageAction](../types/MessageAction.md), \]; *** -

[$messages\_affectedHistory](../constructors/messages_affectedHistory.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), 'offset' => [int](../types/int.md), \]; +

[$messages.affectedHistory](../constructors/messages.affectedHistory.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), 'offset' => [int](../types/int.md), \]; -[$messages\_affectedMessages](../constructors/messages_affectedMessages.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; +*** +

[$messages.affectedMessages](../constructors/messages.affectedMessages.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; -[$messages\_allStickers](../constructors/messages_allStickers.md) = \['hash' => [int](../types/int.md), 'sets' => \[[StickerSet](../types/StickerSet.md)\], \]; +*** +

[$messages.allStickers](../constructors/messages.allStickers.md) = \['hash' => [int](../types/int.md), 'sets' => \[[StickerSet](../types/StickerSet.md)\], \]; -[$messages\_allStickersNotModified](../constructors/messages_allStickersNotModified.md) = \[\]; +*** +

[$messages.allStickersNotModified](../constructors/messages.allStickersNotModified.md) = \[\]; -[$messages\_archivedStickers](../constructors/messages_archivedStickers.md) = \['count' => [int](../types/int.md), 'sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], \]; +*** +

[$messages.archivedStickers](../constructors/messages.archivedStickers.md) = \['count' => [int](../types/int.md), 'sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], \]; -[$messages\_botCallbackAnswer](../constructors/messages_botCallbackAnswer.md) = \['alert' => [Bool](../types/Bool.md), 'has_url' => [Bool](../types/Bool.md), 'message' => [string](../types/string.md), 'url' => [string](../types/string.md), 'cache_time' => [int](../types/int.md), \]; +*** +

[$messages.botCallbackAnswer](../constructors/messages.botCallbackAnswer.md) = \['alert' => [Bool](../types/Bool.md), 'has_url' => [Bool](../types/Bool.md), 'message' => [string](../types/string.md), 'url' => [string](../types/string.md), 'cache_time' => [int](../types/int.md), \]; -[$messages\_botResults](../constructors/messages_botResults.md) = \['gallery' => [Bool](../types/Bool.md), 'query_id' => [long](../types/long.md), 'next_offset' => [string](../types/string.md), 'switch_pm' => [InlineBotSwitchPM](../types/InlineBotSwitchPM.md), 'results' => \[[BotInlineResult](../types/BotInlineResult.md)\], 'cache_time' => [int](../types/int.md), \]; +*** +

[$messages.botResults](../constructors/messages.botResults.md) = \['gallery' => [Bool](../types/Bool.md), 'query_id' => [long](../types/long.md), 'next_offset' => [string](../types/string.md), 'switch_pm' => [InlineBotSwitchPM](../types/InlineBotSwitchPM.md), 'results' => \[[BotInlineResult](../types/BotInlineResult.md)\], 'cache_time' => [int](../types/int.md), \]; -[$messages\_channelMessages](../constructors/messages_channelMessages.md) = \['pts' => [int](../types/int.md), 'count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.channelMessages](../constructors/messages.channelMessages.md) = \['pts' => [int](../types/int.md), 'count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_chatFull](../constructors/messages_chatFull.md) = \['full_chat' => [ChatFull](../types/ChatFull.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.chatFull](../constructors/messages.chatFull.md) = \['full_chat' => [ChatFull](../types/ChatFull.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_chats](../constructors/messages_chats.md) = \['chats' => \[[Chat](../types/Chat.md)\], \]; +*** +

[$messages.chats](../constructors/messages.chats.md) = \['chats' => \[[Chat](../types/Chat.md)\], \]; -[$messages\_chatsSlice](../constructors/messages_chatsSlice.md) = \['count' => [int](../types/int.md), 'chats' => \[[Chat](../types/Chat.md)\], \]; +*** +

[$messages.chatsSlice](../constructors/messages.chatsSlice.md) = \['count' => [int](../types/int.md), 'chats' => \[[Chat](../types/Chat.md)\], \]; -[$messages\_dhConfig](../constructors/messages_dhConfig.md) = \['g' => [int](../types/int.md), 'p' => [bytes](../types/bytes.md), 'version' => [int](../types/int.md), 'random' => [bytes](../types/bytes.md), \]; +*** +

[$messages.dhConfig](../constructors/messages.dhConfig.md) = \['g' => [int](../types/int.md), 'p' => [bytes](../types/bytes.md), 'version' => [int](../types/int.md), 'random' => [bytes](../types/bytes.md), \]; -[$messages\_dhConfigNotModified](../constructors/messages_dhConfigNotModified.md) = \['random' => [bytes](../types/bytes.md), \]; +*** +

[$messages.dhConfigNotModified](../constructors/messages.dhConfigNotModified.md) = \['random' => [bytes](../types/bytes.md), \]; -[$messages\_dialogs](../constructors/messages_dialogs.md) = \['dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.dialogs](../constructors/messages.dialogs.md) = \['dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_dialogsSlice](../constructors/messages_dialogsSlice.md) = \['count' => [int](../types/int.md), 'dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.dialogsSlice](../constructors/messages.dialogsSlice.md) = \['count' => [int](../types/int.md), 'dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_featuredStickers](../constructors/messages_featuredStickers.md) = \['hash' => [int](../types/int.md), 'sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], 'unread' => \[[long](../types/long.md)\], \]; +*** +

[$messages.featuredStickers](../constructors/messages.featuredStickers.md) = \['hash' => [int](../types/int.md), 'sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], 'unread' => \[[long](../types/long.md)\], \]; -[$messages\_featuredStickersNotModified](../constructors/messages_featuredStickersNotModified.md) = \[\]; +*** +

[$messages.featuredStickersNotModified](../constructors/messages.featuredStickersNotModified.md) = \[\]; -[$messages\_foundGifs](../constructors/messages_foundGifs.md) = \['next_offset' => [int](../types/int.md), 'results' => \[[FoundGif](../types/FoundGif.md)\], \]; +*** +

[$messages.foundGifs](../constructors/messages.foundGifs.md) = \['next_offset' => [int](../types/int.md), 'results' => \[[FoundGif](../types/FoundGif.md)\], \]; -[$messages\_highScores](../constructors/messages_highScores.md) = \['scores' => \[[HighScore](../types/HighScore.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.highScores](../constructors/messages.highScores.md) = \['scores' => \[[HighScore](../types/HighScore.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_messageEditData](../constructors/messages_messageEditData.md) = \['caption' => [Bool](../types/Bool.md), \]; +*** +

[$messages.messageEditData](../constructors/messages.messageEditData.md) = \['caption' => [Bool](../types/Bool.md), \]; -[$messages\_messages](../constructors/messages_messages.md) = \['messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.messages](../constructors/messages.messages.md) = \['messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_messagesSlice](../constructors/messages_messagesSlice.md) = \['count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.messagesSlice](../constructors/messages.messagesSlice.md) = \['count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_peerDialogs](../constructors/messages_peerDialogs.md) = \['dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'state' => [updates.State](../types/updates.State.md), \]; +*** +

[$messages.peerDialogs](../constructors/messages.peerDialogs.md) = \['dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'state' => [updates.State](../types/updates.State.md), \]; -[$messages\_recentStickers](../constructors/messages_recentStickers.md) = \['hash' => [int](../types/int.md), 'stickers' => \[[Document](../types/Document.md)\], \]; +*** +

[$messages.recentStickers](../constructors/messages.recentStickers.md) = \['hash' => [int](../types/int.md), 'stickers' => \[[Document](../types/Document.md)\], \]; -[$messages\_recentStickersNotModified](../constructors/messages_recentStickersNotModified.md) = \[\]; +*** +

[$messages.recentStickersNotModified](../constructors/messages.recentStickersNotModified.md) = \[\]; -[$messages\_savedGifs](../constructors/messages_savedGifs.md) = \['hash' => [int](../types/int.md), 'gifs' => \[[Document](../types/Document.md)\], \]; +*** +

[$messages.savedGifs](../constructors/messages.savedGifs.md) = \['hash' => [int](../types/int.md), 'gifs' => \[[Document](../types/Document.md)\], \]; -[$messages\_savedGifsNotModified](../constructors/messages_savedGifsNotModified.md) = \[\]; +*** +

[$messages.savedGifsNotModified](../constructors/messages.savedGifsNotModified.md) = \[\]; -[$messages\_sentEncryptedFile](../constructors/messages_sentEncryptedFile.md) = \['date' => [int](../types/int.md), 'file' => [EncryptedFile](../types/EncryptedFile.md), \]; +*** +

[$messages.sentEncryptedFile](../constructors/messages.sentEncryptedFile.md) = \['date' => [int](../types/int.md), 'file' => [EncryptedFile](../types/EncryptedFile.md), \]; -[$messages\_sentEncryptedMessage](../constructors/messages_sentEncryptedMessage.md) = \['date' => [int](../types/int.md), \]; +*** +

[$messages.sentEncryptedMessage](../constructors/messages.sentEncryptedMessage.md) = \['date' => [int](../types/int.md), \]; -[$messages\_stickerSet](../constructors/messages_stickerSet.md) = \['set' => [StickerSet](../types/StickerSet.md), 'packs' => \[[StickerPack](../types/StickerPack.md)\], 'documents' => \[[Document](../types/Document.md)\], \]; +*** +

[$messages.stickerSet](../constructors/messages.stickerSet.md) = \['set' => [StickerSet](../types/StickerSet.md), 'packs' => \[[StickerPack](../types/StickerPack.md)\], 'documents' => \[[Document](../types/Document.md)\], \]; -[$messages\_stickerSetInstallResultArchive](../constructors/messages_stickerSetInstallResultArchive.md) = \['sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], \]; +*** +

[$messages.stickerSetInstallResultArchive](../constructors/messages.stickerSetInstallResultArchive.md) = \['sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], \]; -[$messages\_stickerSetInstallResultSuccess](../constructors/messages_stickerSetInstallResultSuccess.md) = \[\]; +*** +

[$messages.stickerSetInstallResultSuccess](../constructors/messages.stickerSetInstallResultSuccess.md) = \[\]; -[$messages\_stickers](../constructors/messages_stickers.md) = \['hash' => [string](../types/string.md), 'stickers' => \[[Document](../types/Document.md)\], \]; +*** +

[$messages.stickers](../constructors/messages.stickers.md) = \['hash' => [string](../types/string.md), 'stickers' => \[[Document](../types/Document.md)\], \]; -[$messages\_stickersNotModified](../constructors/messages_stickersNotModified.md) = \[\]; +*** +

[$messages.stickersNotModified](../constructors/messages.stickersNotModified.md) = \[\]; ***

[$msg\_detailed\_info](../constructors/msg_detailed_info.md) = \['msg_id' => [long](../types/long.md), 'answer_msg_id' => [long](../types/long.md), 'bytes' => [int](../types/int.md), 'status' => [int](../types/int.md), \]; @@ -1140,17 +1206,22 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$paymentSavedCredentialsCard](../constructors/paymentSavedCredentialsCard.md) = \['id' => [string](../types/string.md), 'title' => [string](../types/string.md), \]; *** -

[$payments\_paymentForm](../constructors/payments_paymentForm.md) = \['can_save_credentials' => [Bool](../types/Bool.md), 'password_missing' => [Bool](../types/Bool.md), 'bot_id' => [int](../types/int.md), 'invoice' => [Invoice](../types/Invoice.md), 'provider_id' => [int](../types/int.md), 'url' => [string](../types/string.md), 'native_provider' => [string](../types/string.md), 'native_params' => [DataJSON](../types/DataJSON.md), 'saved_info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), 'saved_credentials' => [PaymentSavedCredentials](../types/PaymentSavedCredentials.md), 'users' => \[[User](../types/User.md)\], \]; +

[$payments.paymentForm](../constructors/payments.paymentForm.md) = \['can_save_credentials' => [Bool](../types/Bool.md), 'password_missing' => [Bool](../types/Bool.md), 'bot_id' => [int](../types/int.md), 'invoice' => [Invoice](../types/Invoice.md), 'provider_id' => [int](../types/int.md), 'url' => [string](../types/string.md), 'native_provider' => [string](../types/string.md), 'native_params' => [DataJSON](../types/DataJSON.md), 'saved_info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), 'saved_credentials' => [PaymentSavedCredentials](../types/PaymentSavedCredentials.md), 'users' => \[[User](../types/User.md)\], \]; -[$payments\_paymentReceipt](../constructors/payments_paymentReceipt.md) = \['date' => [int](../types/int.md), 'bot_id' => [int](../types/int.md), 'invoice' => [Invoice](../types/Invoice.md), 'provider_id' => [int](../types/int.md), 'info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), 'shipping' => [ShippingOption](../types/ShippingOption.md), 'currency' => [string](../types/string.md), 'total_amount' => [long](../types/long.md), 'credentials_title' => [string](../types/string.md), 'users' => \[[User](../types/User.md)\], \]; +*** +

[$payments.paymentReceipt](../constructors/payments.paymentReceipt.md) = \['date' => [int](../types/int.md), 'bot_id' => [int](../types/int.md), 'invoice' => [Invoice](../types/Invoice.md), 'provider_id' => [int](../types/int.md), 'info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), 'shipping' => [ShippingOption](../types/ShippingOption.md), 'currency' => [string](../types/string.md), 'total_amount' => [long](../types/long.md), 'credentials_title' => [string](../types/string.md), 'users' => \[[User](../types/User.md)\], \]; -[$payments\_paymentResult](../constructors/payments_paymentResult.md) = \['updates' => [Updates](../types/Updates.md), \]; +*** +

[$payments.paymentResult](../constructors/payments.paymentResult.md) = \['updates' => [Updates](../types/Updates.md), \]; -[$payments\_paymentVerficationNeeded](../constructors/payments_paymentVerficationNeeded.md) = \['url' => [string](../types/string.md), \]; +*** +

[$payments.paymentVerficationNeeded](../constructors/payments.paymentVerficationNeeded.md) = \['url' => [string](../types/string.md), \]; -[$payments\_savedInfo](../constructors/payments_savedInfo.md) = \['has_saved_credentials' => [Bool](../types/Bool.md), 'saved_info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), \]; +*** +

[$payments.savedInfo](../constructors/payments.savedInfo.md) = \['has_saved_credentials' => [Bool](../types/Bool.md), 'saved_info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), \]; -[$payments\_validatedRequestedInfo](../constructors/payments_validatedRequestedInfo.md) = \['id' => [string](../types/string.md), 'shipping_options' => \[[ShippingOption](../types/ShippingOption.md)\], \]; +*** +

[$payments.validatedRequestedInfo](../constructors/payments.validatedRequestedInfo.md) = \['id' => [string](../types/string.md), 'shipping_options' => \[[ShippingOption](../types/ShippingOption.md)\], \]; ***

[$peerChannel](../constructors/peerChannel.md) = \['channel_id' => [int](../types/int.md), \]; @@ -1176,6 +1247,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ***

[$peerUser](../constructors/peerUser.md) = \['user_id' => [int](../types/int.md), \]; +*** +

[$phone.phoneCall](../constructors/phone.phoneCall.md) = \['phone_call' => [PhoneCall](../types/PhoneCall.md), 'users' => \[[User](../types/User.md)\], \]; + ***

[$phoneCall](../constructors/phoneCall.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'date' => [int](../types/int.md), 'admin_id' => [int](../types/int.md), 'participant_id' => [int](../types/int.md), 'g_a_or_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), 'connection' => [PhoneConnection](../types/PhoneConnection.md), 'alternative_connections' => \[[PhoneConnection](../types/PhoneConnection.md)\], 'start_date' => [int](../types/int.md), \]; @@ -1212,9 +1286,6 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ***

[$phoneConnection](../constructors/phoneConnection.md) = \['id' => [long](../types/long.md), 'ip' => [string](../types/string.md), 'ipv6' => [string](../types/string.md), 'port' => [int](../types/int.md), 'peer_tag' => [bytes](../types/bytes.md), \]; -*** -

[$phone\_phoneCall](../constructors/phone_phoneCall.md) = \['phone_call' => [PhoneCall](../types/PhoneCall.md), 'users' => \[[User](../types/User.md)\], \]; - ***

[$photo](../constructors/photo.md) = \['has_stickers' => [Bool](../types/Bool.md), 'id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'date' => [int](../types/int.md), 'sizes' => \[[PhotoSize](../types/PhotoSize.md)\], \]; @@ -1231,11 +1302,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$photoSizeEmpty](../constructors/photoSizeEmpty.md) = \['type' => [string](../types/string.md), \]; *** -

[$photos\_photo](../constructors/photos_photo.md) = \['photo' => [Photo](../types/Photo.md), 'users' => \[[User](../types/User.md)\], \]; +

[$photos.photo](../constructors/photos.photo.md) = \['photo' => [Photo](../types/Photo.md), 'users' => \[[User](../types/User.md)\], \]; -[$photos\_photos](../constructors/photos_photos.md) = \['photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$photos.photos](../constructors/photos.photos.md) = \['photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$photos\_photosSlice](../constructors/photos_photosSlice.md) = \['count' => [int](../types/int.md), 'photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$photos.photosSlice](../constructors/photos.photosSlice.md) = \['count' => [int](../types/int.md), 'photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; ***

[$pong](../constructors/pong.md) = \['msg_id' => [long](../types/long.md), 'ping_id' => [long](../types/long.md), \]; @@ -1362,25 +1435,34 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$stickerSetMultiCovered](../constructors/stickerSetMultiCovered.md) = \['set' => [StickerSet](../types/StickerSet.md), 'covers' => \[[Document](../types/Document.md)\], \]; *** -

[$storage\_fileGif](../constructors/storage_fileGif.md) = \[\]; +

[$storage.fileGif](../constructors/storage.fileGif.md) = \[\]; -[$storage\_fileJpeg](../constructors/storage_fileJpeg.md) = \[\]; +*** +

[$storage.fileJpeg](../constructors/storage.fileJpeg.md) = \[\]; -[$storage\_fileMov](../constructors/storage_fileMov.md) = \[\]; +*** +

[$storage.fileMov](../constructors/storage.fileMov.md) = \[\]; -[$storage\_fileMp3](../constructors/storage_fileMp3.md) = \[\]; +*** +

[$storage.fileMp3](../constructors/storage.fileMp3.md) = \[\]; -[$storage\_fileMp4](../constructors/storage_fileMp4.md) = \[\]; +*** +

[$storage.fileMp4](../constructors/storage.fileMp4.md) = \[\]; -[$storage\_filePartial](../constructors/storage_filePartial.md) = \[\]; +*** +

[$storage.filePartial](../constructors/storage.filePartial.md) = \[\]; -[$storage\_filePdf](../constructors/storage_filePdf.md) = \[\]; +*** +

[$storage.filePdf](../constructors/storage.filePdf.md) = \[\]; -[$storage\_filePng](../constructors/storage_filePng.md) = \[\]; +*** +

[$storage.filePng](../constructors/storage.filePng.md) = \[\]; -[$storage\_fileUnknown](../constructors/storage_fileUnknown.md) = \[\]; +*** +

[$storage.fileUnknown](../constructors/storage.fileUnknown.md) = \[\]; -[$storage\_fileWebp](../constructors/storage_fileWebp.md) = \[\]; +*** +

[$storage.fileWebp](../constructors/storage.fileWebp.md) = \[\]; ***

[$textBold](../constructors/textBold.md) = \['text' => [RichText](../types/RichText.md), \]; @@ -1640,6 +1722,30 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ***

[$updates](../constructors/updates.md) = \['updates' => \[[Update](../types/Update.md)\], 'users' => \[[User](../types/User.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'date' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; +*** +

[$updates.channelDifference](../constructors/updates.channelDifference.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), 'new_messages' => \[[Message](../types/Message.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +*** +

[$updates.channelDifferenceEmpty](../constructors/updates.channelDifferenceEmpty.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), \]; + +*** +

[$updates.channelDifferenceTooLong](../constructors/updates.channelDifferenceTooLong.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), 'top_message' => [int](../types/int.md), 'read_inbox_max_id' => [int](../types/int.md), 'read_outbox_max_id' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +*** +

[$updates.difference](../constructors/updates.difference.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'state' => [updates.State](../types/updates.State.md), \]; + +*** +

[$updates.differenceEmpty](../constructors/updates.differenceEmpty.md) = \['date' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; + +*** +

[$updates.differenceSlice](../constructors/updates.differenceSlice.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'intermediate_state' => [updates.State](../types/updates.State.md), \]; + +*** +

[$updates.differenceTooLong](../constructors/updates.differenceTooLong.md) = \['pts' => [int](../types/int.md), \]; + +*** +

[$updates.state](../constructors/updates.state.md) = \['pts' => [int](../types/int.md), 'qts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'seq' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), \]; + ***

[$updatesCombined](../constructors/updatesCombined.md) = \['updates' => \[[Update](../types/Update.md)\], 'users' => \[[User](../types/User.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'date' => [int](../types/int.md), 'seq_start' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; @@ -1647,32 +1753,19 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$updatesTooLong](../constructors/updatesTooLong.md) = \[\]; *** -

[$updates\_channelDifference](../constructors/updates_channelDifference.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), 'new_messages' => \[[Message](../types/Message.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; - -[$updates\_channelDifferenceEmpty](../constructors/updates_channelDifferenceEmpty.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), \]; - -[$updates\_channelDifferenceTooLong](../constructors/updates_channelDifferenceTooLong.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), 'top_message' => [int](../types/int.md), 'read_inbox_max_id' => [int](../types/int.md), 'read_outbox_max_id' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; - -[$updates\_difference](../constructors/updates_difference.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'state' => [updates.State](../types/updates.State.md), \]; - -[$updates\_differenceEmpty](../constructors/updates_differenceEmpty.md) = \['date' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; - -[$updates\_differenceSlice](../constructors/updates_differenceSlice.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'intermediate_state' => [updates.State](../types/updates.State.md), \]; - -[$updates\_differenceTooLong](../constructors/updates_differenceTooLong.md) = \['pts' => [int](../types/int.md), \]; - -[$updates\_state](../constructors/updates_state.md) = \['pts' => [int](../types/int.md), 'qts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'seq' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), \]; +

[$upload.cdnFile](../constructors/upload.cdnFile.md) = \['bytes' => [bytes](../types/bytes.md), \]; *** -

[$upload\_cdnFile](../constructors/upload_cdnFile.md) = \['bytes' => [bytes](../types/bytes.md), \]; +

[$upload.cdnFileReuploadNeeded](../constructors/upload.cdnFileReuploadNeeded.md) = \['request_token' => [bytes](../types/bytes.md), \]; -[$upload\_cdnFileReuploadNeeded](../constructors/upload_cdnFileReuploadNeeded.md) = \['request_token' => [bytes](../types/bytes.md), \]; +*** +

[$upload.file](../constructors/upload.file.md) = \['type' => [storage.FileType](../types/storage.FileType.md), 'mtime' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; -[$upload\_file](../constructors/upload_file.md) = \['type' => [storage.FileType](../types/storage.FileType.md), 'mtime' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; +*** +

[$upload.fileCdnRedirect](../constructors/upload.fileCdnRedirect.md) = \['dc_id' => [int](../types/int.md), 'file_token' => [bytes](../types/bytes.md), 'encryption_key' => [bytes](../types/bytes.md), 'encryption_iv' => [bytes](../types/bytes.md), 'cdn_file_hashes' => \[[CdnFileHash](../types/CdnFileHash.md)\], \]; -[$upload\_fileCdnRedirect](../constructors/upload_fileCdnRedirect.md) = \['dc_id' => [int](../types/int.md), 'file_token' => [bytes](../types/bytes.md), 'encryption_key' => [bytes](../types/bytes.md), 'encryption_iv' => [bytes](../types/bytes.md), 'cdn_file_hashes' => \[[CdnFileHash](../types/CdnFileHash.md)\], \]; - -[$upload\_webFile](../constructors/upload_webFile.md) = \['size' => [int](../types/int.md), 'mime_type' => [string](../types/string.md), 'file_type' => [storage.FileType](../types/storage.FileType.md), 'mtime' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; +*** +

[$upload.webFile](../constructors/upload.webFile.md) = \['size' => [int](../types/int.md), 'mime_type' => [string](../types/string.md), 'file_type' => [storage.FileType](../types/storage.FileType.md), 'mtime' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; ***

[$user](../constructors/user.md) = \['self' => [Bool](../types/Bool.md), 'contact' => [Bool](../types/Bool.md), 'mutual_contact' => [Bool](../types/Bool.md), 'deleted' => [Bool](../types/Bool.md), 'bot' => [Bool](../types/Bool.md), 'bot_chat_history' => [Bool](../types/Bool.md), 'bot_nochats' => [Bool](../types/Bool.md), 'verified' => [Bool](../types/Bool.md), 'restricted' => [Bool](../types/Bool.md), 'min' => [Bool](../types/Bool.md), 'bot_inline_geo' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), 'username' => [string](../types/string.md), 'phone' => [string](../types/string.md), 'photo' => [UserProfilePhoto](../types/UserProfilePhoto.md), 'status' => [UserStatus](../types/UserStatus.md), 'bot_info_version' => [int](../types/int.md), 'restriction_reason' => [string](../types/string.md), 'bot_inline_placeholder' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]; diff --git a/old_docs/API_docs_v70/constructors/account.authorizations.md b/old_docs/API_docs_v70/constructors/account.authorizations.md new file mode 100644 index 00000000..53c961f0 --- /dev/null +++ b/old_docs/API_docs_v70/constructors/account.authorizations.md @@ -0,0 +1,38 @@ +--- +title: account.authorizations +description: Logged-in sessions +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.authorizations +[Back to constructors index](index.md) + + + +Logged-in sessions + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|authorizations|Array of [Authorization](../types/Authorization.md) | Yes|Authorizations| + + + +### Type: [account.Authorizations](../types/account.Authorizations.md) + + +### Example: + +```php +$account.authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization, Authorization]]; +``` + + +Or, if you're into Lua: + +```lua +account.authorizations={_='account.authorizations', authorizations={Authorization}} + +``` + + diff --git a/old_docs/API_docs_v70/constructors/account.noPassword.md b/old_docs/API_docs_v70/constructors/account.noPassword.md new file mode 100644 index 00000000..4dcdc515 --- /dev/null +++ b/old_docs/API_docs_v70/constructors/account.noPassword.md @@ -0,0 +1,39 @@ +--- +title: account.noPassword +description: No password +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.noPassword +[Back to constructors index](index.md) + + + +No password + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|new\_salt|[bytes](../types/bytes.md) | Yes|New salt| +|email\_unconfirmed\_pattern|[string](../types/string.md) | Yes|Email unconfirmed pattern| + + + +### Type: [account.Password](../types/account.Password.md) + + +### Example: + +```php +$account.noPassword = ['_' => 'account.noPassword', 'new_salt' => 'bytes', 'email_unconfirmed_pattern' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +account.noPassword={_='account.noPassword', new_salt='bytes', email_unconfirmed_pattern='string'} + +``` + + diff --git a/old_docs/API_docs_v70/constructors/account.password.md b/old_docs/API_docs_v70/constructors/account.password.md new file mode 100644 index 00000000..9e86a73a --- /dev/null +++ b/old_docs/API_docs_v70/constructors/account.password.md @@ -0,0 +1,42 @@ +--- +title: account.password +description: Configuration for two-factor authorization +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.password +[Back to constructors index](index.md) + + + +Configuration for two-factor authorization + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|current\_salt|[bytes](../types/bytes.md) | Yes|Current salt| +|new\_salt|[bytes](../types/bytes.md) | Yes|New salt| +|hint|[string](../types/string.md) | Yes|Text hint for the password| +|has\_recovery|[Bool](../types/Bool.md) | Yes|Has recovery?| +|email\_unconfirmed\_pattern|[string](../types/string.md) | Yes|A [password recovery email](https://core.telegram.org/api/srp#email-verification) with the specified [pattern](https://core.telegram.org/api/pattern) is still awaiting verification| + + + +### Type: [account.Password](../types/account.Password.md) + + +### Example: + +```php +$account.password = ['_' => 'account.password', 'current_salt' => 'bytes', 'new_salt' => 'bytes', 'hint' => 'string', 'has_recovery' => Bool, 'email_unconfirmed_pattern' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +account.password={_='account.password', current_salt='bytes', new_salt='bytes', hint='string', has_recovery=Bool, email_unconfirmed_pattern='string'} + +``` + + diff --git a/old_docs/API_docs_v70/constructors/account.passwordInputSettings.md b/old_docs/API_docs_v70/constructors/account.passwordInputSettings.md new file mode 100644 index 00000000..c440115a --- /dev/null +++ b/old_docs/API_docs_v70/constructors/account.passwordInputSettings.md @@ -0,0 +1,41 @@ +--- +title: account.passwordInputSettings +description: Settings for setting up a new password +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.passwordInputSettings +[Back to constructors index](index.md) + + + +Settings for setting up a new password + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|new\_salt|[bytes](../types/bytes.md) | Optional|`$new_salt = $MadelineProto->account->getPassword()['new_salt'].$MadelineProto->random(8);`| +|new\_password\_hash|[bytes](../types/bytes.md) | Optional|The [computed password hash](https://core.telegram.org/api/srp)| +|hint|[string](../types/string.md) | Optional|Text hint for the password| +|email|[string](../types/string.md) | Optional|Password recovery email| + + + +### Type: [account.PasswordInputSettings](../types/account.PasswordInputSettings.md) + + +### Example: + +```php +$account.passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_salt' => 'bytes', 'new_password_hash' => 'bytes', 'hint' => 'string', 'email' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +account.passwordInputSettings={_='account.passwordInputSettings', new_salt='bytes', new_password_hash='bytes', hint='string', email='string'} + +``` + + diff --git a/old_docs/API_docs_v70/constructors/account.passwordSettings.md b/old_docs/API_docs_v70/constructors/account.passwordSettings.md new file mode 100644 index 00000000..be899d34 --- /dev/null +++ b/old_docs/API_docs_v70/constructors/account.passwordSettings.md @@ -0,0 +1,38 @@ +--- +title: account.passwordSettings +description: Private info associated to the password info (recovery email, telegram [passport](https://core.telegram.org/passport) info & so on) +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.passwordSettings +[Back to constructors index](index.md) + + + +Private info associated to the password info (recovery email, telegram [passport](https://core.telegram.org/passport) info & so on) + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|email|[string](../types/string.md) | Yes|[2FA Recovery email](https://core.telegram.org/api/srp#email-verification)| + + + +### Type: [account.PasswordSettings](../types/account.PasswordSettings.md) + + +### Example: + +```php +$account.passwordSettings = ['_' => 'account.passwordSettings', 'email' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +account.passwordSettings={_='account.passwordSettings', email='string'} + +``` + + diff --git a/old_docs/API_docs_v70/constructors/account.privacyRules.md b/old_docs/API_docs_v70/constructors/account.privacyRules.md new file mode 100644 index 00000000..7ae04abb --- /dev/null +++ b/old_docs/API_docs_v70/constructors/account.privacyRules.md @@ -0,0 +1,39 @@ +--- +title: account.privacyRules +description: Privacy rules +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.privacyRules +[Back to constructors index](index.md) + + + +Privacy rules + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|rules|Array of [PrivacyRule](../types/PrivacyRule.md) | Yes|Rules| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [account.PrivacyRules](../types/account.PrivacyRules.md) + + +### Example: + +```php +$account.privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule, PrivacyRule], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +account.privacyRules={_='account.privacyRules', rules={PrivacyRule}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v70/constructors/account.tmpPassword.md b/old_docs/API_docs_v70/constructors/account.tmpPassword.md new file mode 100644 index 00000000..996548c4 --- /dev/null +++ b/old_docs/API_docs_v70/constructors/account.tmpPassword.md @@ -0,0 +1,39 @@ +--- +title: account.tmpPassword +description: Temporary payment password +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.tmpPassword +[Back to constructors index](index.md) + + + +Temporary payment password + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|tmp\_password|[bytes](../types/bytes.md) | Yes|Temporary password| +|valid\_until|[int](../types/int.md) | Yes|Validity period| + + + +### Type: [account.TmpPassword](../types/account.TmpPassword.md) + + +### Example: + +```php +$account.tmpPassword = ['_' => 'account.tmpPassword', 'tmp_password' => 'bytes', 'valid_until' => int]; +``` + + +Or, if you're into Lua: + +```lua +account.tmpPassword={_='account.tmpPassword', tmp_password='bytes', valid_until=int} + +``` + + diff --git a/old_docs/API_docs_v70/constructors/account_authorizations.md b/old_docs/API_docs_v70/constructors/account_authorizations.md deleted file mode 100644 index aeae48f3..00000000 --- a/old_docs/API_docs_v70/constructors/account_authorizations.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: account.authorizations -description: Logged-in sessions -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.authorizations -[Back to constructors index](index.md) - - - -Logged-in sessions - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|authorizations|Array of [Authorization](../types/Authorization.md) | Yes|Authorizations| - - - -### Type: [account\_Authorizations](../types/account_Authorizations.md) - - -### Example: - -```php -$account_authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization, Authorization]]; -``` - - -Or, if you're into Lua: - -```lua -account_authorizations={_='account.authorizations', authorizations={Authorization}} - -``` - - diff --git a/old_docs/API_docs_v70/constructors/account_noPassword.md b/old_docs/API_docs_v70/constructors/account_noPassword.md deleted file mode 100644 index 10ef7b2a..00000000 --- a/old_docs/API_docs_v70/constructors/account_noPassword.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: account.noPassword -description: No password -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.noPassword -[Back to constructors index](index.md) - - - -No password - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|new\_salt|[bytes](../types/bytes.md) | Yes|New salt| -|email\_unconfirmed\_pattern|[string](../types/string.md) | Yes|Email unconfirmed pattern| - - - -### Type: [account\_Password](../types/account_Password.md) - - -### Example: - -```php -$account_noPassword = ['_' => 'account.noPassword', 'new_salt' => 'bytes', 'email_unconfirmed_pattern' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -account_noPassword={_='account.noPassword', new_salt='bytes', email_unconfirmed_pattern='string'} - -``` - - diff --git a/old_docs/API_docs_v70/constructors/account_password.md b/old_docs/API_docs_v70/constructors/account_password.md deleted file mode 100644 index a9f512e8..00000000 --- a/old_docs/API_docs_v70/constructors/account_password.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: account.password -description: Configuration for two-factor authorization -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.password -[Back to constructors index](index.md) - - - -Configuration for two-factor authorization - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|current\_salt|[bytes](../types/bytes.md) | Yes|Current salt| -|new\_salt|[bytes](../types/bytes.md) | Yes|New salt| -|hint|[string](../types/string.md) | Yes|Text hint for the password| -|has\_recovery|[Bool](../types/Bool.md) | Yes|Has recovery?| -|email\_unconfirmed\_pattern|[string](../types/string.md) | Yes|A [password recovery email](https://core.telegram.org/api/srp#email-verification) with the specified [pattern](https://core.telegram.org/api/pattern) is still awaiting verification| - - - -### Type: [account\_Password](../types/account_Password.md) - - -### Example: - -```php -$account_password = ['_' => 'account.password', 'current_salt' => 'bytes', 'new_salt' => 'bytes', 'hint' => 'string', 'has_recovery' => Bool, 'email_unconfirmed_pattern' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -account_password={_='account.password', current_salt='bytes', new_salt='bytes', hint='string', has_recovery=Bool, email_unconfirmed_pattern='string'} - -``` - - diff --git a/old_docs/API_docs_v70/constructors/account_passwordInputSettings.md b/old_docs/API_docs_v70/constructors/account_passwordInputSettings.md deleted file mode 100644 index 05ec666b..00000000 --- a/old_docs/API_docs_v70/constructors/account_passwordInputSettings.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: account.passwordInputSettings -description: Settings for setting up a new password -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.passwordInputSettings -[Back to constructors index](index.md) - - - -Settings for setting up a new password - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|new\_salt|[bytes](../types/bytes.md) | Optional|`$new_salt = $MadelineProto->account->getPassword()['new_salt'].$MadelineProto->random(8);`| -|new\_password\_hash|[bytes](../types/bytes.md) | Optional|The [computed password hash](https://core.telegram.org/api/srp)| -|hint|[string](../types/string.md) | Optional|Text hint for the password| -|email|[string](../types/string.md) | Optional|Password recovery email| - - - -### Type: [account\_PasswordInputSettings](../types/account_PasswordInputSettings.md) - - -### Example: - -```php -$account_passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_salt' => 'bytes', 'new_password_hash' => 'bytes', 'hint' => 'string', 'email' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -account_passwordInputSettings={_='account.passwordInputSettings', new_salt='bytes', new_password_hash='bytes', hint='string', email='string'} - -``` - - diff --git a/old_docs/API_docs_v70/constructors/account_passwordSettings.md b/old_docs/API_docs_v70/constructors/account_passwordSettings.md deleted file mode 100644 index e22f9cc4..00000000 --- a/old_docs/API_docs_v70/constructors/account_passwordSettings.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: account.passwordSettings -description: Private info associated to the password info (recovery email, telegram [passport](https://core.telegram.org/passport) info & so on) -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.passwordSettings -[Back to constructors index](index.md) - - - -Private info associated to the password info (recovery email, telegram [passport](https://core.telegram.org/passport) info & so on) - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|email|[string](../types/string.md) | Yes|[2FA Recovery email](https://core.telegram.org/api/srp#email-verification)| - - - -### Type: [account\_PasswordSettings](../types/account_PasswordSettings.md) - - -### Example: - -```php -$account_passwordSettings = ['_' => 'account.passwordSettings', 'email' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -account_passwordSettings={_='account.passwordSettings', email='string'} - -``` - - diff --git a/old_docs/API_docs_v70/constructors/account_privacyRules.md b/old_docs/API_docs_v70/constructors/account_privacyRules.md deleted file mode 100644 index 28b260b7..00000000 --- a/old_docs/API_docs_v70/constructors/account_privacyRules.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: account.privacyRules -description: Privacy rules -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.privacyRules -[Back to constructors index](index.md) - - - -Privacy rules - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|rules|Array of [PrivacyRule](../types/PrivacyRule.md) | Yes|Rules| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [account\_PrivacyRules](../types/account_PrivacyRules.md) - - -### Example: - -```php -$account_privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule, PrivacyRule], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -account_privacyRules={_='account.privacyRules', rules={PrivacyRule}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v70/constructors/account_tmpPassword.md b/old_docs/API_docs_v70/constructors/account_tmpPassword.md deleted file mode 100644 index 68832780..00000000 --- a/old_docs/API_docs_v70/constructors/account_tmpPassword.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: account.tmpPassword -description: Temporary payment password -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.tmpPassword -[Back to constructors index](index.md) - - - -Temporary payment password - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|tmp\_password|[bytes](../types/bytes.md) | Yes|Temporary password| -|valid\_until|[int](../types/int.md) | Yes|Validity period| - - - -### Type: [account\_TmpPassword](../types/account_TmpPassword.md) - - -### Example: - -```php -$account_tmpPassword = ['_' => 'account.tmpPassword', 'tmp_password' => 'bytes', 'valid_until' => int]; -``` - - -Or, if you're into Lua: - -```lua -account_tmpPassword={_='account.tmpPassword', tmp_password='bytes', valid_until=int} - -``` - - diff --git a/old_docs/API_docs_v70/constructors/auth.authorization.md b/old_docs/API_docs_v70/constructors/auth.authorization.md new file mode 100644 index 00000000..2a84bb12 --- /dev/null +++ b/old_docs/API_docs_v70/constructors/auth.authorization.md @@ -0,0 +1,39 @@ +--- +title: auth.authorization +description: Contains user authorization info. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.authorization +[Back to constructors index](index.md) + + + +Contains user authorization info. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|tmp\_sessions|[int](../types/int.md) | Optional|Temporary [passport](https://core.telegram.org/passport) sessions| +|user|[User](../types/User.md) | Optional|Info on authorized user| + + + +### Type: [auth.Authorization](../types/auth.Authorization.md) + + +### Example: + +```php +$auth.authorization = ['_' => 'auth.authorization', 'tmp_sessions' => int, 'user' => User]; +``` + + +Or, if you're into Lua: + +```lua +auth.authorization={_='auth.authorization', tmp_sessions=int, user=User} + +``` + + diff --git a/old_docs/API_docs_v70/constructors/auth.checkedPhone.md b/old_docs/API_docs_v70/constructors/auth.checkedPhone.md new file mode 100644 index 00000000..23e84cf9 --- /dev/null +++ b/old_docs/API_docs_v70/constructors/auth.checkedPhone.md @@ -0,0 +1,38 @@ +--- +title: auth.checkedPhone +description: Checked phone +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.checkedPhone +[Back to constructors index](index.md) + + + +Checked phone + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_registered|[Bool](../types/Bool.md) | Yes|Phone registered?| + + + +### Type: [auth.CheckedPhone](../types/auth.CheckedPhone.md) + + +### Example: + +```php +$auth.checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool]; +``` + + +Or, if you're into Lua: + +```lua +auth.checkedPhone={_='auth.checkedPhone', phone_registered=Bool} + +``` + + diff --git a/old_docs/API_docs_v70/constructors/auth.codeTypeCall.md b/old_docs/API_docs_v70/constructors/auth.codeTypeCall.md new file mode 100644 index 00000000..4b4a1cdc --- /dev/null +++ b/old_docs/API_docs_v70/constructors/auth.codeTypeCall.md @@ -0,0 +1,33 @@ +--- +title: auth.codeTypeCall +description: Type of verification code that will be sent next if you call the resendCode method: SMS code +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.codeTypeCall +[Back to constructors index](index.md) + + + +Type of verification code that will be sent next if you call the resendCode method: SMS code + + + + +### Type: [auth.CodeType](../types/auth.CodeType.md) + + +### Example: + +```php +$auth.codeTypeCall = ['_' => 'auth.codeTypeCall']; +``` + + +Or, if you're into Lua: + +```lua +auth.codeTypeCall={_='auth.codeTypeCall'} + +``` + + diff --git a/old_docs/API_docs_v70/constructors/auth.codeTypeFlashCall.md b/old_docs/API_docs_v70/constructors/auth.codeTypeFlashCall.md new file mode 100644 index 00000000..ef97e034 --- /dev/null +++ b/old_docs/API_docs_v70/constructors/auth.codeTypeFlashCall.md @@ -0,0 +1,33 @@ +--- +title: auth.codeTypeFlashCall +description: Type of verification code that will be sent next if you call the resendCode method: SMS code +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.codeTypeFlashCall +[Back to constructors index](index.md) + + + +Type of verification code that will be sent next if you call the resendCode method: SMS code + + + + +### Type: [auth.CodeType](../types/auth.CodeType.md) + + +### Example: + +```php +$auth.codeTypeFlashCall = ['_' => 'auth.codeTypeFlashCall']; +``` + + +Or, if you're into Lua: + +```lua +auth.codeTypeFlashCall={_='auth.codeTypeFlashCall'} + +``` + + diff --git a/old_docs/API_docs_v70/constructors/auth.codeTypeSms.md b/old_docs/API_docs_v70/constructors/auth.codeTypeSms.md new file mode 100644 index 00000000..bab9a5a4 --- /dev/null +++ b/old_docs/API_docs_v70/constructors/auth.codeTypeSms.md @@ -0,0 +1,33 @@ +--- +title: auth.codeTypeSms +description: Type of verification code that will be sent next if you call the resendCode method: SMS code +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.codeTypeSms +[Back to constructors index](index.md) + + + +Type of verification code that will be sent next if you call the resendCode method: SMS code + + + + +### Type: [auth.CodeType](../types/auth.CodeType.md) + + +### Example: + +```php +$auth.codeTypeSms = ['_' => 'auth.codeTypeSms']; +``` + + +Or, if you're into Lua: + +```lua +auth.codeTypeSms={_='auth.codeTypeSms'} + +``` + + diff --git a/old_docs/API_docs_v70/constructors/auth.exportedAuthorization.md b/old_docs/API_docs_v70/constructors/auth.exportedAuthorization.md new file mode 100644 index 00000000..2a4a9896 --- /dev/null +++ b/old_docs/API_docs_v70/constructors/auth.exportedAuthorization.md @@ -0,0 +1,39 @@ +--- +title: auth.exportedAuthorization +description: Data for copying of authorization between data centres. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.exportedAuthorization +[Back to constructors index](index.md) + + + +Data for copying of authorization between data centres. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|id|[int](../types/int.md) | Yes|Current user identifier| +|bytes|[bytes](../types/bytes.md) | Yes|Authorizes key| + + + +### Type: [auth.ExportedAuthorization](../types/auth.ExportedAuthorization.md) + + +### Example: + +```php +$auth.exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +auth.exportedAuthorization={_='auth.exportedAuthorization', id=int, bytes='bytes'} + +``` + + diff --git a/old_docs/API_docs_v70/constructors/auth.passwordRecovery.md b/old_docs/API_docs_v70/constructors/auth.passwordRecovery.md new file mode 100644 index 00000000..61de922d --- /dev/null +++ b/old_docs/API_docs_v70/constructors/auth.passwordRecovery.md @@ -0,0 +1,38 @@ +--- +title: auth.passwordRecovery +description: Recovery info of a [2FA password](https://core.telegram.org/api/srp), only for accounts with a [recovery email configured](https://core.telegram.org/api/srp#email-verification). +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.passwordRecovery +[Back to constructors index](index.md) + + + +Recovery info of a [2FA password](https://core.telegram.org/api/srp), only for accounts with a [recovery email configured](https://core.telegram.org/api/srp#email-verification). + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|email\_pattern|[string](../types/string.md) | Yes|The email to which the recovery code was sent must match this [pattern](https://core.telegram.org/api/pattern).| + + + +### Type: [auth.PasswordRecovery](../types/auth.PasswordRecovery.md) + + +### Example: + +```php +$auth.passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +auth.passwordRecovery={_='auth.passwordRecovery', email_pattern='string'} + +``` + + diff --git a/old_docs/API_docs_v70/constructors/auth.sentCode.md b/old_docs/API_docs_v70/constructors/auth.sentCode.md new file mode 100644 index 00000000..25e94704 --- /dev/null +++ b/old_docs/API_docs_v70/constructors/auth.sentCode.md @@ -0,0 +1,42 @@ +--- +title: auth.sentCode +description: Contains info about a sent verification code. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentCode +[Back to constructors index](index.md) + + + +Contains info about a sent verification code. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_registered|[Bool](../types/Bool.md) | Optional|Phone registered?| +|type|[auth.SentCodeType](../constructors/auth.SentCodeType.md) | Yes|Phone code type| +|phone\_code\_hash|[string](../types/string.md) | Yes|Phone code hash, to be stored and later re-used with [auth.signIn](../methods/auth.signIn.md)| +|next\_type|[auth.CodeType](../constructors/auth.CodeType.md) | Optional|Phone code type that will be sent next, if the phone code is not received within `timeout` seconds: to send it use [auth.resendCode](../methods/auth.resendCode.md)| +|timeout|[int](../types/int.md) | Optional|Timeout for reception of the phone code| + + + +### Type: [auth.SentCode](../types/auth.SentCode.md) + + +### Example: + +```php +$auth.sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'type' => auth.SentCodeType, 'phone_code_hash' => 'string', 'next_type' => auth.CodeType, 'timeout' => int]; +``` + + +Or, if you're into Lua: + +```lua +auth.sentCode={_='auth.sentCode', phone_registered=Bool, type=auth.SentCodeType, phone_code_hash='string', next_type=auth.CodeType, timeout=int} + +``` + + diff --git a/old_docs/API_docs_v70/constructors/auth.sentCodeTypeApp.md b/old_docs/API_docs_v70/constructors/auth.sentCodeTypeApp.md new file mode 100644 index 00000000..5f2d4aa3 --- /dev/null +++ b/old_docs/API_docs_v70/constructors/auth.sentCodeTypeApp.md @@ -0,0 +1,38 @@ +--- +title: auth.sentCodeTypeApp +description: The code was sent through the telegram app +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentCodeTypeApp +[Back to constructors index](index.md) + + + +The code was sent through the telegram app + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|length|[int](../types/int.md) | Yes|Length of the code in bytes| + + + +### Type: [auth.SentCodeType](../types/auth.SentCodeType.md) + + +### Example: + +```php +$auth.sentCodeTypeApp = ['_' => 'auth.sentCodeTypeApp', 'length' => int]; +``` + + +Or, if you're into Lua: + +```lua +auth.sentCodeTypeApp={_='auth.sentCodeTypeApp', length=int} + +``` + + diff --git a/old_docs/API_docs_v70/constructors/auth.sentCodeTypeCall.md b/old_docs/API_docs_v70/constructors/auth.sentCodeTypeCall.md new file mode 100644 index 00000000..9843b3df --- /dev/null +++ b/old_docs/API_docs_v70/constructors/auth.sentCodeTypeCall.md @@ -0,0 +1,38 @@ +--- +title: auth.sentCodeTypeCall +description: The code will be sent via a phone call: a synthesized voice will tell the user which verification code to input. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentCodeTypeCall +[Back to constructors index](index.md) + + + +The code will be sent via a phone call: a synthesized voice will tell the user which verification code to input. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|length|[int](../types/int.md) | Yes|Length of the verification code| + + + +### Type: [auth.SentCodeType](../types/auth.SentCodeType.md) + + +### Example: + +```php +$auth.sentCodeTypeCall = ['_' => 'auth.sentCodeTypeCall', 'length' => int]; +``` + + +Or, if you're into Lua: + +```lua +auth.sentCodeTypeCall={_='auth.sentCodeTypeCall', length=int} + +``` + + diff --git a/old_docs/API_docs_v70/constructors/auth.sentCodeTypeFlashCall.md b/old_docs/API_docs_v70/constructors/auth.sentCodeTypeFlashCall.md new file mode 100644 index 00000000..0d24751d --- /dev/null +++ b/old_docs/API_docs_v70/constructors/auth.sentCodeTypeFlashCall.md @@ -0,0 +1,38 @@ +--- +title: auth.sentCodeTypeFlashCall +description: The code will be sent via a flash phone call, that will be closed immediately. The phone code will then be the phone number itself, just make sure that the phone number matches the specified pattern. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentCodeTypeFlashCall +[Back to constructors index](index.md) + + + +The code will be sent via a flash phone call, that will be closed immediately. The phone code will then be the phone number itself, just make sure that the phone number matches the specified pattern. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pattern|[string](../types/string.md) | Yes|[pattern](https://core.telegram.org/api/pattern) to match| + + + +### Type: [auth.SentCodeType](../types/auth.SentCodeType.md) + + +### Example: + +```php +$auth.sentCodeTypeFlashCall = ['_' => 'auth.sentCodeTypeFlashCall', 'pattern' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +auth.sentCodeTypeFlashCall={_='auth.sentCodeTypeFlashCall', pattern='string'} + +``` + + diff --git a/old_docs/API_docs_v70/constructors/auth.sentCodeTypeSms.md b/old_docs/API_docs_v70/constructors/auth.sentCodeTypeSms.md new file mode 100644 index 00000000..d8ecb75e --- /dev/null +++ b/old_docs/API_docs_v70/constructors/auth.sentCodeTypeSms.md @@ -0,0 +1,38 @@ +--- +title: auth.sentCodeTypeSms +description: The code was sent via SMS +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentCodeTypeSms +[Back to constructors index](index.md) + + + +The code was sent via SMS + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|length|[int](../types/int.md) | Yes|Length of the code in bytes| + + + +### Type: [auth.SentCodeType](../types/auth.SentCodeType.md) + + +### Example: + +```php +$auth.sentCodeTypeSms = ['_' => 'auth.sentCodeTypeSms', 'length' => int]; +``` + + +Or, if you're into Lua: + +```lua +auth.sentCodeTypeSms={_='auth.sentCodeTypeSms', length=int} + +``` + + diff --git a/old_docs/API_docs_v70/constructors/auth_authorization.md b/old_docs/API_docs_v70/constructors/auth_authorization.md deleted file mode 100644 index cb72811d..00000000 --- a/old_docs/API_docs_v70/constructors/auth_authorization.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: auth.authorization -description: Contains user authorization info. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.authorization -[Back to constructors index](index.md) - - - -Contains user authorization info. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|tmp\_sessions|[int](../types/int.md) | Optional|Temporary [passport](https://core.telegram.org/passport) sessions| -|user|[User](../types/User.md) | Optional|Info on authorized user| - - - -### Type: [auth\_Authorization](../types/auth_Authorization.md) - - -### Example: - -```php -$auth_authorization = ['_' => 'auth.authorization', 'tmp_sessions' => int, 'user' => User]; -``` - - -Or, if you're into Lua: - -```lua -auth_authorization={_='auth.authorization', tmp_sessions=int, user=User} - -``` - - diff --git a/old_docs/API_docs_v70/constructors/auth_checkedPhone.md b/old_docs/API_docs_v70/constructors/auth_checkedPhone.md deleted file mode 100644 index c77becf6..00000000 --- a/old_docs/API_docs_v70/constructors/auth_checkedPhone.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.checkedPhone -description: Checked phone -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.checkedPhone -[Back to constructors index](index.md) - - - -Checked phone - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_registered|[Bool](../types/Bool.md) | Yes|Phone registered?| - - - -### Type: [auth\_CheckedPhone](../types/auth_CheckedPhone.md) - - -### Example: - -```php -$auth_checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool]; -``` - - -Or, if you're into Lua: - -```lua -auth_checkedPhone={_='auth.checkedPhone', phone_registered=Bool} - -``` - - diff --git a/old_docs/API_docs_v70/constructors/auth_codeTypeCall.md b/old_docs/API_docs_v70/constructors/auth_codeTypeCall.md deleted file mode 100644 index 3e957c2a..00000000 --- a/old_docs/API_docs_v70/constructors/auth_codeTypeCall.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: auth.codeTypeCall -description: Type of verification code that will be sent next if you call the resendCode method: SMS code -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.codeTypeCall -[Back to constructors index](index.md) - - - -Type of verification code that will be sent next if you call the resendCode method: SMS code - - - - -### Type: [auth\_CodeType](../types/auth_CodeType.md) - - -### Example: - -```php -$auth_codeTypeCall = ['_' => 'auth.codeTypeCall']; -``` - - -Or, if you're into Lua: - -```lua -auth_codeTypeCall={_='auth.codeTypeCall'} - -``` - - diff --git a/old_docs/API_docs_v70/constructors/auth_codeTypeFlashCall.md b/old_docs/API_docs_v70/constructors/auth_codeTypeFlashCall.md deleted file mode 100644 index 981b2461..00000000 --- a/old_docs/API_docs_v70/constructors/auth_codeTypeFlashCall.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: auth.codeTypeFlashCall -description: Type of verification code that will be sent next if you call the resendCode method: SMS code -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.codeTypeFlashCall -[Back to constructors index](index.md) - - - -Type of verification code that will be sent next if you call the resendCode method: SMS code - - - - -### Type: [auth\_CodeType](../types/auth_CodeType.md) - - -### Example: - -```php -$auth_codeTypeFlashCall = ['_' => 'auth.codeTypeFlashCall']; -``` - - -Or, if you're into Lua: - -```lua -auth_codeTypeFlashCall={_='auth.codeTypeFlashCall'} - -``` - - diff --git a/old_docs/API_docs_v70/constructors/auth_codeTypeSms.md b/old_docs/API_docs_v70/constructors/auth_codeTypeSms.md deleted file mode 100644 index 16eb5d0d..00000000 --- a/old_docs/API_docs_v70/constructors/auth_codeTypeSms.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: auth.codeTypeSms -description: Type of verification code that will be sent next if you call the resendCode method: SMS code -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.codeTypeSms -[Back to constructors index](index.md) - - - -Type of verification code that will be sent next if you call the resendCode method: SMS code - - - - -### Type: [auth\_CodeType](../types/auth_CodeType.md) - - -### Example: - -```php -$auth_codeTypeSms = ['_' => 'auth.codeTypeSms']; -``` - - -Or, if you're into Lua: - -```lua -auth_codeTypeSms={_='auth.codeTypeSms'} - -``` - - diff --git a/old_docs/API_docs_v70/constructors/auth_exportedAuthorization.md b/old_docs/API_docs_v70/constructors/auth_exportedAuthorization.md deleted file mode 100644 index 8d18916e..00000000 --- a/old_docs/API_docs_v70/constructors/auth_exportedAuthorization.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: auth.exportedAuthorization -description: Data for copying of authorization between data centres. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.exportedAuthorization -[Back to constructors index](index.md) - - - -Data for copying of authorization between data centres. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|id|[int](../types/int.md) | Yes|Current user identifier| -|bytes|[bytes](../types/bytes.md) | Yes|Authorizes key| - - - -### Type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) - - -### Example: - -```php -$auth_exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -auth_exportedAuthorization={_='auth.exportedAuthorization', id=int, bytes='bytes'} - -``` - - diff --git a/old_docs/API_docs_v70/constructors/auth_passwordRecovery.md b/old_docs/API_docs_v70/constructors/auth_passwordRecovery.md deleted file mode 100644 index c40f375e..00000000 --- a/old_docs/API_docs_v70/constructors/auth_passwordRecovery.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.passwordRecovery -description: Recovery info of a [2FA password](https://core.telegram.org/api/srp), only for accounts with a [recovery email configured](https://core.telegram.org/api/srp#email-verification). -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.passwordRecovery -[Back to constructors index](index.md) - - - -Recovery info of a [2FA password](https://core.telegram.org/api/srp), only for accounts with a [recovery email configured](https://core.telegram.org/api/srp#email-verification). - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|email\_pattern|[string](../types/string.md) | Yes|The email to which the recovery code was sent must match this [pattern](https://core.telegram.org/api/pattern).| - - - -### Type: [auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) - - -### Example: - -```php -$auth_passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -auth_passwordRecovery={_='auth.passwordRecovery', email_pattern='string'} - -``` - - diff --git a/old_docs/API_docs_v70/constructors/auth_sentCode.md b/old_docs/API_docs_v70/constructors/auth_sentCode.md deleted file mode 100644 index 622c4137..00000000 --- a/old_docs/API_docs_v70/constructors/auth_sentCode.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: auth.sentCode -description: Contains info about a sent verification code. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentCode -[Back to constructors index](index.md) - - - -Contains info about a sent verification code. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_registered|[Bool](../types/Bool.md) | Optional|Phone registered?| -|type|[auth\_SentCodeType](../types/auth_SentCodeType.md) | Yes|Phone code type| -|phone\_code\_hash|[string](../types/string.md) | Yes|Phone code hash, to be stored and later re-used with [auth.signIn](../methods/auth.signIn.md)| -|next\_type|[auth\_CodeType](../types/auth_CodeType.md) | Optional|Phone code type that will be sent next, if the phone code is not received within `timeout` seconds: to send it use [auth.resendCode](../methods/auth.resendCode.md)| -|timeout|[int](../types/int.md) | Optional|Timeout for reception of the phone code| - - - -### Type: [auth\_SentCode](../types/auth_SentCode.md) - - -### Example: - -```php -$auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'type' => auth_SentCodeType, 'phone_code_hash' => 'string', 'next_type' => auth_CodeType, 'timeout' => int]; -``` - - -Or, if you're into Lua: - -```lua -auth_sentCode={_='auth.sentCode', phone_registered=Bool, type=auth_SentCodeType, phone_code_hash='string', next_type=auth_CodeType, timeout=int} - -``` - - diff --git a/old_docs/API_docs_v70/constructors/auth_sentCodeTypeApp.md b/old_docs/API_docs_v70/constructors/auth_sentCodeTypeApp.md deleted file mode 100644 index 6b7ad824..00000000 --- a/old_docs/API_docs_v70/constructors/auth_sentCodeTypeApp.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.sentCodeTypeApp -description: The code was sent through the telegram app -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentCodeTypeApp -[Back to constructors index](index.md) - - - -The code was sent through the telegram app - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|length|[int](../types/int.md) | Yes|Length of the code in bytes| - - - -### Type: [auth\_SentCodeType](../types/auth_SentCodeType.md) - - -### Example: - -```php -$auth_sentCodeTypeApp = ['_' => 'auth.sentCodeTypeApp', 'length' => int]; -``` - - -Or, if you're into Lua: - -```lua -auth_sentCodeTypeApp={_='auth.sentCodeTypeApp', length=int} - -``` - - diff --git a/old_docs/API_docs_v70/constructors/auth_sentCodeTypeCall.md b/old_docs/API_docs_v70/constructors/auth_sentCodeTypeCall.md deleted file mode 100644 index bf025aa5..00000000 --- a/old_docs/API_docs_v70/constructors/auth_sentCodeTypeCall.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.sentCodeTypeCall -description: The code will be sent via a phone call: a synthesized voice will tell the user which verification code to input. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentCodeTypeCall -[Back to constructors index](index.md) - - - -The code will be sent via a phone call: a synthesized voice will tell the user which verification code to input. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|length|[int](../types/int.md) | Yes|Length of the verification code| - - - -### Type: [auth\_SentCodeType](../types/auth_SentCodeType.md) - - -### Example: - -```php -$auth_sentCodeTypeCall = ['_' => 'auth.sentCodeTypeCall', 'length' => int]; -``` - - -Or, if you're into Lua: - -```lua -auth_sentCodeTypeCall={_='auth.sentCodeTypeCall', length=int} - -``` - - diff --git a/old_docs/API_docs_v70/constructors/auth_sentCodeTypeFlashCall.md b/old_docs/API_docs_v70/constructors/auth_sentCodeTypeFlashCall.md deleted file mode 100644 index efe64ce7..00000000 --- a/old_docs/API_docs_v70/constructors/auth_sentCodeTypeFlashCall.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.sentCodeTypeFlashCall -description: The code will be sent via a flash phone call, that will be closed immediately. The phone code will then be the phone number itself, just make sure that the phone number matches the specified pattern. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentCodeTypeFlashCall -[Back to constructors index](index.md) - - - -The code will be sent via a flash phone call, that will be closed immediately. The phone code will then be the phone number itself, just make sure that the phone number matches the specified pattern. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pattern|[string](../types/string.md) | Yes|[pattern](https://core.telegram.org/api/pattern) to match| - - - -### Type: [auth\_SentCodeType](../types/auth_SentCodeType.md) - - -### Example: - -```php -$auth_sentCodeTypeFlashCall = ['_' => 'auth.sentCodeTypeFlashCall', 'pattern' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -auth_sentCodeTypeFlashCall={_='auth.sentCodeTypeFlashCall', pattern='string'} - -``` - - diff --git a/old_docs/API_docs_v70/constructors/auth_sentCodeTypeSms.md b/old_docs/API_docs_v70/constructors/auth_sentCodeTypeSms.md deleted file mode 100644 index 8e27dac9..00000000 --- a/old_docs/API_docs_v70/constructors/auth_sentCodeTypeSms.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.sentCodeTypeSms -description: The code was sent via SMS -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentCodeTypeSms -[Back to constructors index](index.md) - - - -The code was sent via SMS - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|length|[int](../types/int.md) | Yes|Length of the code in bytes| - - - -### Type: [auth\_SentCodeType](../types/auth_SentCodeType.md) - - -### Example: - -```php -$auth_sentCodeTypeSms = ['_' => 'auth.sentCodeTypeSms', 'length' => int]; -``` - - -Or, if you're into Lua: - -```lua -auth_sentCodeTypeSms={_='auth.sentCodeTypeSms', length=int} - -``` - - diff --git a/old_docs/API_docs_v70/constructors/channels.adminLogResults.md b/old_docs/API_docs_v70/constructors/channels.adminLogResults.md new file mode 100644 index 00000000..fc4e234a --- /dev/null +++ b/old_docs/API_docs_v70/constructors/channels.adminLogResults.md @@ -0,0 +1,40 @@ +--- +title: channels.adminLogResults +description: Admin log events +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: channels.adminLogResults +[Back to constructors index](index.md) + + + +Admin log events + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|events|Array of [ChannelAdminLogEvent](../types/ChannelAdminLogEvent.md) | Yes|Events| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [channels.AdminLogResults](../types/channels.AdminLogResults.md) + + +### Example: + +```php +$channels.adminLogResults = ['_' => 'channels.adminLogResults', 'events' => [ChannelAdminLogEvent, ChannelAdminLogEvent], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +channels.adminLogResults={_='channels.adminLogResults', events={ChannelAdminLogEvent}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v70/constructors/channels.channelParticipant.md b/old_docs/API_docs_v70/constructors/channels.channelParticipant.md new file mode 100644 index 00000000..0f09777f --- /dev/null +++ b/old_docs/API_docs_v70/constructors/channels.channelParticipant.md @@ -0,0 +1,39 @@ +--- +title: channels.channelParticipant +description: Represents a channel participant +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: channels.channelParticipant +[Back to constructors index](index.md) + + + +Represents a channel participant + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|participant|[ChannelParticipant](../types/ChannelParticipant.md) | Yes|The channel participant| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [channels.ChannelParticipant](../types/channels.ChannelParticipant.md) + + +### Example: + +```php +$channels.channelParticipant = ['_' => 'channels.channelParticipant', 'participant' => ChannelParticipant, 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +channels.channelParticipant={_='channels.channelParticipant', participant=ChannelParticipant, users={User}} + +``` + + diff --git a/old_docs/API_docs_v70/constructors/channels.channelParticipants.md b/old_docs/API_docs_v70/constructors/channels.channelParticipants.md new file mode 100644 index 00000000..6ee1a8b3 --- /dev/null +++ b/old_docs/API_docs_v70/constructors/channels.channelParticipants.md @@ -0,0 +1,40 @@ +--- +title: channels.channelParticipants +description: Represents multiple channel participants +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: channels.channelParticipants +[Back to constructors index](index.md) + + + +Represents multiple channel participants + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of participants that correspond to the given query| +|participants|Array of [ChannelParticipant](../types/ChannelParticipant.md) | Yes|Participants| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [channels.ChannelParticipants](../types/channels.ChannelParticipants.md) + + +### Example: + +```php +$channels.channelParticipants = ['_' => 'channels.channelParticipants', 'count' => int, 'participants' => [ChannelParticipant, ChannelParticipant], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +channels.channelParticipants={_='channels.channelParticipants', count=int, participants={ChannelParticipant}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v70/constructors/channels_adminLogResults.md b/old_docs/API_docs_v70/constructors/channels_adminLogResults.md deleted file mode 100644 index 9061212a..00000000 --- a/old_docs/API_docs_v70/constructors/channels_adminLogResults.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: channels.adminLogResults -description: Admin log events -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: channels.adminLogResults -[Back to constructors index](index.md) - - - -Admin log events - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|events|Array of [ChannelAdminLogEvent](../types/ChannelAdminLogEvent.md) | Yes|Events| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [channels\_AdminLogResults](../types/channels_AdminLogResults.md) - - -### Example: - -```php -$channels_adminLogResults = ['_' => 'channels.adminLogResults', 'events' => [ChannelAdminLogEvent, ChannelAdminLogEvent], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -channels_adminLogResults={_='channels.adminLogResults', events={ChannelAdminLogEvent}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v70/constructors/channels_channelParticipant.md b/old_docs/API_docs_v70/constructors/channels_channelParticipant.md deleted file mode 100644 index 15fe46a4..00000000 --- a/old_docs/API_docs_v70/constructors/channels_channelParticipant.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: channels.channelParticipant -description: Represents a channel participant -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: channels.channelParticipant -[Back to constructors index](index.md) - - - -Represents a channel participant - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|participant|[ChannelParticipant](../types/ChannelParticipant.md) | Yes|The channel participant| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [channels\_ChannelParticipant](../types/channels_ChannelParticipant.md) - - -### Example: - -```php -$channels_channelParticipant = ['_' => 'channels.channelParticipant', 'participant' => ChannelParticipant, 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -channels_channelParticipant={_='channels.channelParticipant', participant=ChannelParticipant, users={User}} - -``` - - diff --git a/old_docs/API_docs_v70/constructors/channels_channelParticipants.md b/old_docs/API_docs_v70/constructors/channels_channelParticipants.md deleted file mode 100644 index 1848a04f..00000000 --- a/old_docs/API_docs_v70/constructors/channels_channelParticipants.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: channels.channelParticipants -description: Represents multiple channel participants -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: channels.channelParticipants -[Back to constructors index](index.md) - - - -Represents multiple channel participants - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of participants that correspond to the given query| -|participants|Array of [ChannelParticipant](../types/ChannelParticipant.md) | Yes|Participants| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [channels\_ChannelParticipants](../types/channels_ChannelParticipants.md) - - -### Example: - -```php -$channels_channelParticipants = ['_' => 'channels.channelParticipants', 'count' => int, 'participants' => [ChannelParticipant, ChannelParticipant], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -channels_channelParticipants={_='channels.channelParticipants', count=int, participants={ChannelParticipant}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v70/constructors/contacts.blocked.md b/old_docs/API_docs_v70/constructors/contacts.blocked.md new file mode 100644 index 00000000..d2b3f680 --- /dev/null +++ b/old_docs/API_docs_v70/constructors/contacts.blocked.md @@ -0,0 +1,39 @@ +--- +title: contacts.blocked +description: Full list of blocked users. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.blocked +[Back to constructors index](index.md) + + + +Full list of blocked users. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Blocked](../types/contacts.Blocked.md) + + +### Example: + +```php +$contacts.blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.blocked={_='contacts.blocked', blocked={ContactBlocked}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v70/constructors/contacts.blockedSlice.md b/old_docs/API_docs_v70/constructors/contacts.blockedSlice.md new file mode 100644 index 00000000..92d19c72 --- /dev/null +++ b/old_docs/API_docs_v70/constructors/contacts.blockedSlice.md @@ -0,0 +1,40 @@ +--- +title: contacts.blockedSlice +description: Incomplete list of blocked users. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.blockedSlice +[Back to constructors index](index.md) + + + +Incomplete list of blocked users. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of elements in the list| +|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Blocked](../types/contacts.Blocked.md) + + +### Example: + +```php +$contacts.blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.blockedSlice={_='contacts.blockedSlice', count=int, blocked={ContactBlocked}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v70/constructors/contacts.contacts.md b/old_docs/API_docs_v70/constructors/contacts.contacts.md new file mode 100644 index 00000000..d4ccc018 --- /dev/null +++ b/old_docs/API_docs_v70/constructors/contacts.contacts.md @@ -0,0 +1,39 @@ +--- +title: contacts.contacts +description: The current user's contact list and info on users. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.contacts +[Back to constructors index](index.md) + + + +The current user's contact list and info on users. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|contacts|Array of [Contact](../types/Contact.md) | Yes|Contacts| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Contacts](../types/contacts.Contacts.md) + + +### Example: + +```php +$contacts.contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact, Contact], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.contacts={_='contacts.contacts', contacts={Contact}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v70/constructors/contacts.contactsNotModified.md b/old_docs/API_docs_v70/constructors/contacts.contactsNotModified.md new file mode 100644 index 00000000..e2149396 --- /dev/null +++ b/old_docs/API_docs_v70/constructors/contacts.contactsNotModified.md @@ -0,0 +1,33 @@ +--- +title: contacts.contactsNotModified +description: Contact list on the server is the same as the list on the client. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.contactsNotModified +[Back to constructors index](index.md) + + + +Contact list on the server is the same as the list on the client. + + + + +### Type: [contacts.Contacts](../types/contacts.Contacts.md) + + +### Example: + +```php +$contacts.contactsNotModified = ['_' => 'contacts.contactsNotModified']; +``` + + +Or, if you're into Lua: + +```lua +contacts.contactsNotModified={_='contacts.contactsNotModified'} + +``` + + diff --git a/old_docs/API_docs_v70/constructors/contacts.found.md b/old_docs/API_docs_v70/constructors/contacts.found.md new file mode 100644 index 00000000..1eaa93b7 --- /dev/null +++ b/old_docs/API_docs_v70/constructors/contacts.found.md @@ -0,0 +1,40 @@ +--- +title: contacts.found +description: Users found by name substring and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.found +[Back to constructors index](index.md) + + + +Users found by name substring and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|results|Array of [Peer](../types/Peer.md) | Yes|Results| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Found](../types/contacts.Found.md) + + +### Example: + +```php +$contacts.found = ['_' => 'contacts.found', 'results' => [Peer, Peer], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.found={_='contacts.found', results={Peer}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v70/constructors/contacts.importedContacts.md b/old_docs/API_docs_v70/constructors/contacts.importedContacts.md new file mode 100644 index 00000000..20075931 --- /dev/null +++ b/old_docs/API_docs_v70/constructors/contacts.importedContacts.md @@ -0,0 +1,41 @@ +--- +title: contacts.importedContacts +description: Info on succesfully imported contacts. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.importedContacts +[Back to constructors index](index.md) + + + +Info on succesfully imported contacts. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|imported|Array of [ImportedContact](../types/ImportedContact.md) | Yes|Imported| +|popular\_invites|Array of [PopularContact](../types/PopularContact.md) | Yes|Popular invites| +|retry\_contacts|Array of [long](../types/long.md) | Yes|Retry importing contacts whose client IDs appear here| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.ImportedContacts](../types/contacts.ImportedContacts.md) + + +### Example: + +```php +$contacts.importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact, ImportedContact], 'popular_invites' => [PopularContact, PopularContact], 'retry_contacts' => [long, long], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.importedContacts={_='contacts.importedContacts', imported={ImportedContact}, popular_invites={PopularContact}, retry_contacts={long}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v70/constructors/contacts.link.md b/old_docs/API_docs_v70/constructors/contacts.link.md new file mode 100644 index 00000000..ab150a0d --- /dev/null +++ b/old_docs/API_docs_v70/constructors/contacts.link.md @@ -0,0 +1,40 @@ +--- +title: contacts.link +description: Link +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.link +[Back to constructors index](index.md) + + + +Link + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|my\_link|[ContactLink](../types/ContactLink.md) | Yes|My link| +|foreign\_link|[ContactLink](../types/ContactLink.md) | Yes|Foreign link| +|user|[User](../types/User.md) | Optional|User| + + + +### Type: [contacts.Link](../types/contacts.Link.md) + + +### Example: + +```php +$contacts.link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User]; +``` + + +Or, if you're into Lua: + +```lua +contacts.link={_='contacts.link', my_link=ContactLink, foreign_link=ContactLink, user=User} + +``` + + diff --git a/old_docs/API_docs_v70/constructors/contacts.resolvedPeer.md b/old_docs/API_docs_v70/constructors/contacts.resolvedPeer.md new file mode 100644 index 00000000..35d88481 --- /dev/null +++ b/old_docs/API_docs_v70/constructors/contacts.resolvedPeer.md @@ -0,0 +1,40 @@ +--- +title: contacts.resolvedPeer +description: Resolved peer +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.resolvedPeer +[Back to constructors index](index.md) + + + +Resolved peer + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|peer|[Peer](../types/Peer.md) | Yes|The peer| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.ResolvedPeer](../types/contacts.ResolvedPeer.md) + + +### Example: + +```php +$contacts.resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.resolvedPeer={_='contacts.resolvedPeer', peer=Peer, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v70/constructors/contacts.topPeers.md b/old_docs/API_docs_v70/constructors/contacts.topPeers.md new file mode 100644 index 00000000..19d9c712 --- /dev/null +++ b/old_docs/API_docs_v70/constructors/contacts.topPeers.md @@ -0,0 +1,40 @@ +--- +title: contacts.topPeers +description: Top peers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.topPeers +[Back to constructors index](index.md) + + + +Top peers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|categories|Array of [TopPeerCategoryPeers](../types/TopPeerCategoryPeers.md) | Yes|Categories| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.TopPeers](../types/contacts.TopPeers.md) + + +### Example: + +```php +$contacts.topPeers = ['_' => 'contacts.topPeers', 'categories' => [TopPeerCategoryPeers, TopPeerCategoryPeers], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.topPeers={_='contacts.topPeers', categories={TopPeerCategoryPeers}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v70/constructors/contacts.topPeersNotModified.md b/old_docs/API_docs_v70/constructors/contacts.topPeersNotModified.md new file mode 100644 index 00000000..77c5eb4d --- /dev/null +++ b/old_docs/API_docs_v70/constructors/contacts.topPeersNotModified.md @@ -0,0 +1,33 @@ +--- +title: contacts.topPeersNotModified +description: Top peer info hasn't changed +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.topPeersNotModified +[Back to constructors index](index.md) + + + +Top peer info hasn't changed + + + + +### Type: [contacts.TopPeers](../types/contacts.TopPeers.md) + + +### Example: + +```php +$contacts.topPeersNotModified = ['_' => 'contacts.topPeersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +contacts.topPeersNotModified={_='contacts.topPeersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v70/constructors/contacts_blocked.md b/old_docs/API_docs_v70/constructors/contacts_blocked.md deleted file mode 100644 index 20e33002..00000000 --- a/old_docs/API_docs_v70/constructors/contacts_blocked.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: contacts.blocked -description: Full list of blocked users. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.blocked -[Back to constructors index](index.md) - - - -Full list of blocked users. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Blocked](../types/contacts_Blocked.md) - - -### Example: - -```php -$contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_blocked={_='contacts.blocked', blocked={ContactBlocked}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v70/constructors/contacts_blockedSlice.md b/old_docs/API_docs_v70/constructors/contacts_blockedSlice.md deleted file mode 100644 index fcab9a28..00000000 --- a/old_docs/API_docs_v70/constructors/contacts_blockedSlice.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.blockedSlice -description: Incomplete list of blocked users. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.blockedSlice -[Back to constructors index](index.md) - - - -Incomplete list of blocked users. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of elements in the list| -|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Blocked](../types/contacts_Blocked.md) - - -### Example: - -```php -$contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_blockedSlice={_='contacts.blockedSlice', count=int, blocked={ContactBlocked}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v70/constructors/contacts_contacts.md b/old_docs/API_docs_v70/constructors/contacts_contacts.md deleted file mode 100644 index f101b34b..00000000 --- a/old_docs/API_docs_v70/constructors/contacts_contacts.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: contacts.contacts -description: The current user's contact list and info on users. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.contacts -[Back to constructors index](index.md) - - - -The current user's contact list and info on users. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|contacts|Array of [Contact](../types/Contact.md) | Yes|Contacts| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Contacts](../types/contacts_Contacts.md) - - -### Example: - -```php -$contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact, Contact], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_contacts={_='contacts.contacts', contacts={Contact}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v70/constructors/contacts_contactsNotModified.md b/old_docs/API_docs_v70/constructors/contacts_contactsNotModified.md deleted file mode 100644 index 17e76ac3..00000000 --- a/old_docs/API_docs_v70/constructors/contacts_contactsNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: contacts.contactsNotModified -description: Contact list on the server is the same as the list on the client. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.contactsNotModified -[Back to constructors index](index.md) - - - -Contact list on the server is the same as the list on the client. - - - - -### Type: [contacts\_Contacts](../types/contacts_Contacts.md) - - -### Example: - -```php -$contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified']; -``` - - -Or, if you're into Lua: - -```lua -contacts_contactsNotModified={_='contacts.contactsNotModified'} - -``` - - diff --git a/old_docs/API_docs_v70/constructors/contacts_found.md b/old_docs/API_docs_v70/constructors/contacts_found.md deleted file mode 100644 index 0674aabf..00000000 --- a/old_docs/API_docs_v70/constructors/contacts_found.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.found -description: Users found by name substring and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.found -[Back to constructors index](index.md) - - - -Users found by name substring and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|results|Array of [Peer](../types/Peer.md) | Yes|Results| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Found](../types/contacts_Found.md) - - -### Example: - -```php -$contacts_found = ['_' => 'contacts.found', 'results' => [Peer, Peer], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_found={_='contacts.found', results={Peer}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v70/constructors/contacts_importedContacts.md b/old_docs/API_docs_v70/constructors/contacts_importedContacts.md deleted file mode 100644 index e534754b..00000000 --- a/old_docs/API_docs_v70/constructors/contacts_importedContacts.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: contacts.importedContacts -description: Info on succesfully imported contacts. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.importedContacts -[Back to constructors index](index.md) - - - -Info on succesfully imported contacts. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|imported|Array of [ImportedContact](../types/ImportedContact.md) | Yes|Imported| -|popular\_invites|Array of [PopularContact](../types/PopularContact.md) | Yes|Popular invites| -|retry\_contacts|Array of [long](../types/long.md) | Yes|Retry importing contacts whose client IDs appear here| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) - - -### Example: - -```php -$contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact, ImportedContact], 'popular_invites' => [PopularContact, PopularContact], 'retry_contacts' => [long, long], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_importedContacts={_='contacts.importedContacts', imported={ImportedContact}, popular_invites={PopularContact}, retry_contacts={long}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v70/constructors/contacts_link.md b/old_docs/API_docs_v70/constructors/contacts_link.md deleted file mode 100644 index cfc566c7..00000000 --- a/old_docs/API_docs_v70/constructors/contacts_link.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.link -description: Link -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.link -[Back to constructors index](index.md) - - - -Link - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|my\_link|[ContactLink](../types/ContactLink.md) | Yes|My link| -|foreign\_link|[ContactLink](../types/ContactLink.md) | Yes|Foreign link| -|user|[User](../types/User.md) | Optional|User| - - - -### Type: [contacts\_Link](../types/contacts_Link.md) - - -### Example: - -```php -$contacts_link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User]; -``` - - -Or, if you're into Lua: - -```lua -contacts_link={_='contacts.link', my_link=ContactLink, foreign_link=ContactLink, user=User} - -``` - - diff --git a/old_docs/API_docs_v70/constructors/contacts_resolvedPeer.md b/old_docs/API_docs_v70/constructors/contacts_resolvedPeer.md deleted file mode 100644 index aae3c7af..00000000 --- a/old_docs/API_docs_v70/constructors/contacts_resolvedPeer.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.resolvedPeer -description: Resolved peer -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.resolvedPeer -[Back to constructors index](index.md) - - - -Resolved peer - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|peer|[Peer](../types/Peer.md) | Yes|The peer| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_ResolvedPeer](../types/contacts_ResolvedPeer.md) - - -### Example: - -```php -$contacts_resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_resolvedPeer={_='contacts.resolvedPeer', peer=Peer, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v70/constructors/contacts_topPeers.md b/old_docs/API_docs_v70/constructors/contacts_topPeers.md deleted file mode 100644 index 77bc07d3..00000000 --- a/old_docs/API_docs_v70/constructors/contacts_topPeers.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.topPeers -description: Top peers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.topPeers -[Back to constructors index](index.md) - - - -Top peers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|categories|Array of [TopPeerCategoryPeers](../types/TopPeerCategoryPeers.md) | Yes|Categories| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_TopPeers](../types/contacts_TopPeers.md) - - -### Example: - -```php -$contacts_topPeers = ['_' => 'contacts.topPeers', 'categories' => [TopPeerCategoryPeers, TopPeerCategoryPeers], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_topPeers={_='contacts.topPeers', categories={TopPeerCategoryPeers}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v70/constructors/contacts_topPeersNotModified.md b/old_docs/API_docs_v70/constructors/contacts_topPeersNotModified.md deleted file mode 100644 index 43eae59d..00000000 --- a/old_docs/API_docs_v70/constructors/contacts_topPeersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: contacts.topPeersNotModified -description: Top peer info hasn't changed -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.topPeersNotModified -[Back to constructors index](index.md) - - - -Top peer info hasn't changed - - - - -### Type: [contacts\_TopPeers](../types/contacts_TopPeers.md) - - -### Example: - -```php -$contacts_topPeersNotModified = ['_' => 'contacts.topPeersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -contacts_topPeersNotModified={_='contacts.topPeersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v70/constructors/help.appUpdate.md b/old_docs/API_docs_v70/constructors/help.appUpdate.md new file mode 100644 index 00000000..14b2d75b --- /dev/null +++ b/old_docs/API_docs_v70/constructors/help.appUpdate.md @@ -0,0 +1,41 @@ +--- +title: help.appUpdate +description: An update is available for the application. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.appUpdate +[Back to constructors index](index.md) + + + +An update is available for the application. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|id|[int](../types/int.md) | Yes|Update ID| +|critical|[Bool](../types/Bool.md) | Yes|Critical?| +|url|[string](../types/string.md) | Yes|Application download URL| +|text|[string](../types/string.md) | Yes|Text description of the update| + + + +### Type: [help.AppUpdate](../types/help.AppUpdate.md) + + +### Example: + +```php +$help.appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'url' => 'string', 'text' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +help.appUpdate={_='help.appUpdate', id=int, critical=Bool, url='string', text='string'} + +``` + + diff --git a/old_docs/API_docs_v70/constructors/help.configSimple.md b/old_docs/API_docs_v70/constructors/help.configSimple.md new file mode 100644 index 00000000..516ba611 --- /dev/null +++ b/old_docs/API_docs_v70/constructors/help.configSimple.md @@ -0,0 +1,41 @@ +--- +title: help.configSimple +description: Config simple +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.configSimple +[Back to constructors index](index.md) + + + +Config simple + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Date| +|expires|[int](../types/int.md) | Yes|Expires| +|dc\_id|[int](../types/int.md) | Yes|DC ID| +|ip\_port\_list|Array of [ipPort](../constructors/ipPort.md) | Yes|Ip port list| + + + +### Type: [help.ConfigSimple](../types/help.ConfigSimple.md) + + +### Example: + +```php +$help.configSimple = ['_' => 'help.configSimple', 'date' => int, 'expires' => int, 'dc_id' => int, 'ip_port_list' => [ipPort, ipPort]]; +``` + + +Or, if you're into Lua: + +```lua +help.configSimple={_='help.configSimple', date=int, expires=int, dc_id=int, ip_port_list={ipPort}} + +``` + + diff --git a/old_docs/API_docs_v70/constructors/help.inviteText.md b/old_docs/API_docs_v70/constructors/help.inviteText.md new file mode 100644 index 00000000..6a6261c1 --- /dev/null +++ b/old_docs/API_docs_v70/constructors/help.inviteText.md @@ -0,0 +1,38 @@ +--- +title: help.inviteText +description: Text of a text message with an invitation to install application. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.inviteText +[Back to constructors index](index.md) + + + +Text of a text message with an invitation to install application. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|message|[string](../types/string.md) | Yes|Text of a message| + + + +### Type: [help.InviteText](../types/help.InviteText.md) + + +### Example: + +```php +$help.inviteText = ['_' => 'help.inviteText', 'message' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +help.inviteText={_='help.inviteText', message='string'} + +``` + + diff --git a/old_docs/API_docs_v70/constructors/help.noAppUpdate.md b/old_docs/API_docs_v70/constructors/help.noAppUpdate.md new file mode 100644 index 00000000..1b69ac9a --- /dev/null +++ b/old_docs/API_docs_v70/constructors/help.noAppUpdate.md @@ -0,0 +1,33 @@ +--- +title: help.noAppUpdate +description: No updates are available for the application. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.noAppUpdate +[Back to constructors index](index.md) + + + +No updates are available for the application. + + + + +### Type: [help.AppUpdate](../types/help.AppUpdate.md) + + +### Example: + +```php +$help.noAppUpdate = ['_' => 'help.noAppUpdate']; +``` + + +Or, if you're into Lua: + +```lua +help.noAppUpdate={_='help.noAppUpdate'} + +``` + + diff --git a/old_docs/API_docs_v70/constructors/help.support.md b/old_docs/API_docs_v70/constructors/help.support.md new file mode 100644 index 00000000..4d4f85fb --- /dev/null +++ b/old_docs/API_docs_v70/constructors/help.support.md @@ -0,0 +1,39 @@ +--- +title: help.support +description: Info on support user. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.support +[Back to constructors index](index.md) + + + +Info on support user. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_number|[string](../types/string.md) | Yes|Phone number| +|user|[User](../types/User.md) | Optional|User| + + + +### Type: [help.Support](../types/help.Support.md) + + +### Example: + +```php +$help.support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => User]; +``` + + +Or, if you're into Lua: + +```lua +help.support={_='help.support', phone_number='string', user=User} + +``` + + diff --git a/old_docs/API_docs_v70/constructors/help.termsOfService.md b/old_docs/API_docs_v70/constructors/help.termsOfService.md new file mode 100644 index 00000000..cab1f128 --- /dev/null +++ b/old_docs/API_docs_v70/constructors/help.termsOfService.md @@ -0,0 +1,38 @@ +--- +title: help.termsOfService +description: Info about the latest telegram Terms Of Service +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.termsOfService +[Back to constructors index](index.md) + + + +Info about the latest telegram Terms Of Service + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|text|[string](../types/string.md) | Yes|Text of the new terms| + + + +### Type: [help.TermsOfService](../types/help.TermsOfService.md) + + +### Example: + +```php +$help.termsOfService = ['_' => 'help.termsOfService', 'text' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +help.termsOfService={_='help.termsOfService', text='string'} + +``` + + diff --git a/old_docs/API_docs_v70/constructors/help_appUpdate.md b/old_docs/API_docs_v70/constructors/help_appUpdate.md deleted file mode 100644 index efba9bdb..00000000 --- a/old_docs/API_docs_v70/constructors/help_appUpdate.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: help.appUpdate -description: An update is available for the application. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.appUpdate -[Back to constructors index](index.md) - - - -An update is available for the application. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|id|[int](../types/int.md) | Yes|Update ID| -|critical|[Bool](../types/Bool.md) | Yes|Critical?| -|url|[string](../types/string.md) | Yes|Application download URL| -|text|[string](../types/string.md) | Yes|Text description of the update| - - - -### Type: [help\_AppUpdate](../types/help_AppUpdate.md) - - -### Example: - -```php -$help_appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'url' => 'string', 'text' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -help_appUpdate={_='help.appUpdate', id=int, critical=Bool, url='string', text='string'} - -``` - - diff --git a/old_docs/API_docs_v70/constructors/help_configSimple.md b/old_docs/API_docs_v70/constructors/help_configSimple.md deleted file mode 100644 index 3138fc23..00000000 --- a/old_docs/API_docs_v70/constructors/help_configSimple.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: help.configSimple -description: Config simple -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.configSimple -[Back to constructors index](index.md) - - - -Config simple - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Date| -|expires|[int](../types/int.md) | Yes|Expires| -|dc\_id|[int](../types/int.md) | Yes|DC ID| -|ip\_port\_list|Array of [ipPort](../constructors/ipPort.md) | Yes|Ip port list| - - - -### Type: [help\_ConfigSimple](../types/help_ConfigSimple.md) - - -### Example: - -```php -$help_configSimple = ['_' => 'help.configSimple', 'date' => int, 'expires' => int, 'dc_id' => int, 'ip_port_list' => [ipPort, ipPort]]; -``` - - -Or, if you're into Lua: - -```lua -help_configSimple={_='help.configSimple', date=int, expires=int, dc_id=int, ip_port_list={ipPort}} - -``` - - diff --git a/old_docs/API_docs_v70/constructors/help_inviteText.md b/old_docs/API_docs_v70/constructors/help_inviteText.md deleted file mode 100644 index b8317ce3..00000000 --- a/old_docs/API_docs_v70/constructors/help_inviteText.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: help.inviteText -description: Text of a text message with an invitation to install application. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.inviteText -[Back to constructors index](index.md) - - - -Text of a text message with an invitation to install application. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|message|[string](../types/string.md) | Yes|Text of a message| - - - -### Type: [help\_InviteText](../types/help_InviteText.md) - - -### Example: - -```php -$help_inviteText = ['_' => 'help.inviteText', 'message' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -help_inviteText={_='help.inviteText', message='string'} - -``` - - diff --git a/old_docs/API_docs_v70/constructors/help_noAppUpdate.md b/old_docs/API_docs_v70/constructors/help_noAppUpdate.md deleted file mode 100644 index 51505e52..00000000 --- a/old_docs/API_docs_v70/constructors/help_noAppUpdate.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: help.noAppUpdate -description: No updates are available for the application. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.noAppUpdate -[Back to constructors index](index.md) - - - -No updates are available for the application. - - - - -### Type: [help\_AppUpdate](../types/help_AppUpdate.md) - - -### Example: - -```php -$help_noAppUpdate = ['_' => 'help.noAppUpdate']; -``` - - -Or, if you're into Lua: - -```lua -help_noAppUpdate={_='help.noAppUpdate'} - -``` - - diff --git a/old_docs/API_docs_v70/constructors/help_support.md b/old_docs/API_docs_v70/constructors/help_support.md deleted file mode 100644 index 148f7f42..00000000 --- a/old_docs/API_docs_v70/constructors/help_support.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: help.support -description: Info on support user. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.support -[Back to constructors index](index.md) - - - -Info on support user. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_number|[string](../types/string.md) | Yes|Phone number| -|user|[User](../types/User.md) | Optional|User| - - - -### Type: [help\_Support](../types/help_Support.md) - - -### Example: - -```php -$help_support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => User]; -``` - - -Or, if you're into Lua: - -```lua -help_support={_='help.support', phone_number='string', user=User} - -``` - - diff --git a/old_docs/API_docs_v70/constructors/help_termsOfService.md b/old_docs/API_docs_v70/constructors/help_termsOfService.md deleted file mode 100644 index 2ac763b3..00000000 --- a/old_docs/API_docs_v70/constructors/help_termsOfService.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: help.termsOfService -description: Info about the latest telegram Terms Of Service -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.termsOfService -[Back to constructors index](index.md) - - - -Info about the latest telegram Terms Of Service - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|text|[string](../types/string.md) | Yes|Text of the new terms| - - - -### Type: [help\_TermsOfService](../types/help_TermsOfService.md) - - -### Example: - -```php -$help_termsOfService = ['_' => 'help.termsOfService', 'text' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -help_termsOfService={_='help.termsOfService', text='string'} - -``` - - diff --git a/old_docs/API_docs_v70/constructors/messages.affectedHistory.md b/old_docs/API_docs_v70/constructors/messages.affectedHistory.md new file mode 100644 index 00000000..5fc8acec --- /dev/null +++ b/old_docs/API_docs_v70/constructors/messages.affectedHistory.md @@ -0,0 +1,40 @@ +--- +title: messages.affectedHistory +description: Affected part of communication history with the user or in a chat. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.affectedHistory +[Back to constructors index](index.md) + + + +Affected part of communication history with the user or in a chat. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| +|pts\_count|[int](../types/int.md) | Yes|Number of affected events| +|offset|[int](../types/int.md) | Yes|If a parameter contains positive value, it is necessary to repeat the method call using the given value; during the proceeding of all the history the value itself shall gradually decrease| + + + +### Type: [messages.AffectedHistory](../types/messages.AffectedHistory.md) + + +### Example: + +```php +$messages.affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.affectedHistory={_='messages.affectedHistory', pts=int, pts_count=int, offset=int} + +``` + + diff --git a/old_docs/API_docs_v70/constructors/messages.affectedMessages.md b/old_docs/API_docs_v70/constructors/messages.affectedMessages.md new file mode 100644 index 00000000..a0e60bdf --- /dev/null +++ b/old_docs/API_docs_v70/constructors/messages.affectedMessages.md @@ -0,0 +1,39 @@ +--- +title: messages.affectedMessages +description: Events affected by operation +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.affectedMessages +[Back to constructors index](index.md) + + + +Events affected by operation + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|[Event count after generation](https://core.telegram.org/api/updates)| +|pts\_count|[int](../types/int.md) | Yes|[Number of events that were generated](https://core.telegram.org/api/updates)| + + + +### Type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) + + +### Example: + +```php +$messages.affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.affectedMessages={_='messages.affectedMessages', pts=int, pts_count=int} + +``` + + diff --git a/old_docs/API_docs_v70/constructors/messages.allStickers.md b/old_docs/API_docs_v70/constructors/messages.allStickers.md new file mode 100644 index 00000000..5f13bfde --- /dev/null +++ b/old_docs/API_docs_v70/constructors/messages.allStickers.md @@ -0,0 +1,39 @@ +--- +title: messages.allStickers +description: Info about all installed stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.allStickers +[Back to constructors index](index.md) + + + +Info about all installed stickers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|sets|Array of [StickerSet](../types/StickerSet.md) | Yes|Sets| + + + +### Type: [messages.AllStickers](../types/messages.AllStickers.md) + + +### Example: + +```php +$messages.allStickers = ['_' => 'messages.allStickers', 'hash' => int, 'sets' => [StickerSet, StickerSet]]; +``` + + +Or, if you're into Lua: + +```lua +messages.allStickers={_='messages.allStickers', hash=int, sets={StickerSet}} + +``` + + diff --git a/old_docs/API_docs_v70/constructors/messages.allStickersNotModified.md b/old_docs/API_docs_v70/constructors/messages.allStickersNotModified.md new file mode 100644 index 00000000..d3db088b --- /dev/null +++ b/old_docs/API_docs_v70/constructors/messages.allStickersNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.allStickersNotModified +description: Info about all installed stickers hasn't changed +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.allStickersNotModified +[Back to constructors index](index.md) + + + +Info about all installed stickers hasn't changed + + + + +### Type: [messages.AllStickers](../types/messages.AllStickers.md) + + +### Example: + +```php +$messages.allStickersNotModified = ['_' => 'messages.allStickersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.allStickersNotModified={_='messages.allStickersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v70/constructors/messages.archivedStickers.md b/old_docs/API_docs_v70/constructors/messages.archivedStickers.md new file mode 100644 index 00000000..6ad9927c --- /dev/null +++ b/old_docs/API_docs_v70/constructors/messages.archivedStickers.md @@ -0,0 +1,39 @@ +--- +title: messages.archivedStickers +description: Archived stickersets +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.archivedStickers +[Back to constructors index](index.md) + + + +Archived stickersets + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Number of archived stickers| +|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| + + + +### Type: [messages.ArchivedStickers](../types/messages.ArchivedStickers.md) + + +### Example: + +```php +$messages.archivedStickers = ['_' => 'messages.archivedStickers', 'count' => int, 'sets' => [StickerSetCovered, StickerSetCovered]]; +``` + + +Or, if you're into Lua: + +```lua +messages.archivedStickers={_='messages.archivedStickers', count=int, sets={StickerSetCovered}} + +``` + + diff --git a/old_docs/API_docs_v70/constructors/messages.botCallbackAnswer.md b/old_docs/API_docs_v70/constructors/messages.botCallbackAnswer.md new file mode 100644 index 00000000..d4d00420 --- /dev/null +++ b/old_docs/API_docs_v70/constructors/messages.botCallbackAnswer.md @@ -0,0 +1,42 @@ +--- +title: messages.botCallbackAnswer +description: Callback answer sent by the bot in response to a button press +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.botCallbackAnswer +[Back to constructors index](index.md) + + + +Callback answer sent by the bot in response to a button press + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|alert|[Bool](../types/Bool.md) | Optional|Whether an alert should be shown to the user instead of a toast notification| +|has\_url|[Bool](../types/Bool.md) | Optional|Whether an URL is present| +|message|[string](../types/string.md) | Optional|Alert to show| +|url|[string](../types/string.md) | Optional|URL to open| +|cache\_time|[int](../types/int.md) | Yes|For how long should this answer be cached| + + + +### Type: [messages.BotCallbackAnswer](../types/messages.BotCallbackAnswer.md) + + +### Example: + +```php +$messages.botCallbackAnswer = ['_' => 'messages.botCallbackAnswer', 'alert' => Bool, 'has_url' => Bool, 'message' => 'string', 'url' => 'string', 'cache_time' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.botCallbackAnswer={_='messages.botCallbackAnswer', alert=Bool, has_url=Bool, message='string', url='string', cache_time=int} + +``` + + diff --git a/old_docs/API_docs_v70/constructors/messages.botResults.md b/old_docs/API_docs_v70/constructors/messages.botResults.md new file mode 100644 index 00000000..785c7260 --- /dev/null +++ b/old_docs/API_docs_v70/constructors/messages.botResults.md @@ -0,0 +1,43 @@ +--- +title: messages.botResults +description: Result of a query to an inline bot +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.botResults +[Back to constructors index](index.md) + + + +Result of a query to an inline bot + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|gallery|[Bool](../types/Bool.md) | Optional|Whether the result is a picture gallery| +|query\_id|[long](../types/long.md) | Yes|Query ID| +|next\_offset|[string](../types/string.md) | Optional|The next offset to use when navigating through results| +|switch\_pm|[InlineBotSwitchPM](../types/InlineBotSwitchPM.md) | Optional|Whether the bot requested the user to message him in private| +|results|Array of [BotInlineResult](../types/BotInlineResult.md) | Yes|Results| +|cache\_time|[int](../types/int.md) | Yes|Caching validity of the results| + + + +### Type: [messages.BotResults](../types/messages.BotResults.md) + + +### Example: + +```php +$messages.botResults = ['_' => 'messages.botResults', 'gallery' => Bool, 'query_id' => long, 'next_offset' => 'string', 'switch_pm' => InlineBotSwitchPM, 'results' => [BotInlineResult, BotInlineResult], 'cache_time' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.botResults={_='messages.botResults', gallery=Bool, query_id=long, next_offset='string', switch_pm=InlineBotSwitchPM, results={BotInlineResult}, cache_time=int} + +``` + + diff --git a/old_docs/API_docs_v70/constructors/messages.channelMessages.md b/old_docs/API_docs_v70/constructors/messages.channelMessages.md new file mode 100644 index 00000000..95633336 --- /dev/null +++ b/old_docs/API_docs_v70/constructors/messages.channelMessages.md @@ -0,0 +1,42 @@ +--- +title: messages.channelMessages +description: Channel messages +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.channelMessages +[Back to constructors index](index.md) + + + +Channel messages + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|[Event count after generation](https://core.telegram.org/api/updates)| +|count|[int](../types/int.md) | Yes|Total number of results were found server-side (may not be all included here)| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Messages](../types/messages.Messages.md) + + +### Example: + +```php +$messages.channelMessages = ['_' => 'messages.channelMessages', 'pts' => int, 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.channelMessages={_='messages.channelMessages', pts=int, count=int, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v70/constructors/messages.chatFull.md b/old_docs/API_docs_v70/constructors/messages.chatFull.md new file mode 100644 index 00000000..3906cc54 --- /dev/null +++ b/old_docs/API_docs_v70/constructors/messages.chatFull.md @@ -0,0 +1,40 @@ +--- +title: messages.chatFull +description: Extended info on chat and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.chatFull +[Back to constructors index](index.md) + + + +Extended info on chat and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|full\_chat|[ChatFull](../types/ChatFull.md) | Yes|Extended info on a chat| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.ChatFull](../types/messages.ChatFull.md) + + +### Example: + +```php +$messages.chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.chatFull={_='messages.chatFull', full_chat=ChatFull, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v70/constructors/messages.chats.md b/old_docs/API_docs_v70/constructors/messages.chats.md new file mode 100644 index 00000000..9ede9ff2 --- /dev/null +++ b/old_docs/API_docs_v70/constructors/messages.chats.md @@ -0,0 +1,38 @@ +--- +title: messages.chats +description: List of chats with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.chats +[Back to constructors index](index.md) + + + +List of chats with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| + + + +### Type: [messages.Chats](../types/messages.Chats.md) + + +### Example: + +```php +$messages.chats = ['_' => 'messages.chats', 'chats' => [Chat, Chat]]; +``` + + +Or, if you're into Lua: + +```lua +messages.chats={_='messages.chats', chats={Chat}} + +``` + + diff --git a/old_docs/API_docs_v70/constructors/messages.chatsSlice.md b/old_docs/API_docs_v70/constructors/messages.chatsSlice.md new file mode 100644 index 00000000..efd153e0 --- /dev/null +++ b/old_docs/API_docs_v70/constructors/messages.chatsSlice.md @@ -0,0 +1,39 @@ +--- +title: messages.chatsSlice +description: Partial list of chats, more would have to be fetched with [pagination](https://core.telegram.org/api/offsets) +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.chatsSlice +[Back to constructors index](index.md) + + + +Partial list of chats, more would have to be fetched with [pagination](https://core.telegram.org/api/offsets) + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of results that were found server-side (not all are included in `chats`)| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| + + + +### Type: [messages.Chats](../types/messages.Chats.md) + + +### Example: + +```php +$messages.chatsSlice = ['_' => 'messages.chatsSlice', 'count' => int, 'chats' => [Chat, Chat]]; +``` + + +Or, if you're into Lua: + +```lua +messages.chatsSlice={_='messages.chatsSlice', count=int, chats={Chat}} + +``` + + diff --git a/old_docs/API_docs_v70/constructors/messages.dhConfig.md b/old_docs/API_docs_v70/constructors/messages.dhConfig.md new file mode 100644 index 00000000..58344f64 --- /dev/null +++ b/old_docs/API_docs_v70/constructors/messages.dhConfig.md @@ -0,0 +1,41 @@ +--- +title: messages.dhConfig +description: New set of configuring parameters. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dhConfig +[Back to constructors index](index.md) + + + +New set of configuring parameters. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|g|[int](../types/int.md) | Yes|New value **prime**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| +|p|[bytes](../types/bytes.md) | Yes|New value **primitive root**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| +|version|[int](../types/int.md) | Yes|Vestion of set of parameters| +|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| + + + +### Type: [messages.DhConfig](../types/messages.DhConfig.md) + + +### Example: + +```php +$messages.dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'version' => int, 'random' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +messages.dhConfig={_='messages.dhConfig', g=int, p='bytes', version=int, random='bytes'} + +``` + + diff --git a/old_docs/API_docs_v70/constructors/messages.dhConfigNotModified.md b/old_docs/API_docs_v70/constructors/messages.dhConfigNotModified.md new file mode 100644 index 00000000..a9a95389 --- /dev/null +++ b/old_docs/API_docs_v70/constructors/messages.dhConfigNotModified.md @@ -0,0 +1,38 @@ +--- +title: messages.dhConfigNotModified +description: Configuring parameters did not change. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dhConfigNotModified +[Back to constructors index](index.md) + + + +Configuring parameters did not change. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| + + + +### Type: [messages.DhConfig](../types/messages.DhConfig.md) + + +### Example: + +```php +$messages.dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +messages.dhConfigNotModified={_='messages.dhConfigNotModified', random='bytes'} + +``` + + diff --git a/old_docs/API_docs_v70/constructors/messages.dialogs.md b/old_docs/API_docs_v70/constructors/messages.dialogs.md new file mode 100644 index 00000000..a72eabce --- /dev/null +++ b/old_docs/API_docs_v70/constructors/messages.dialogs.md @@ -0,0 +1,41 @@ +--- +title: messages.dialogs +description: Full list of chats with messages and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dialogs +[Back to constructors index](index.md) + + + +Full list of chats with messages and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Dialogs](../types/messages.Dialogs.md) + + +### Example: + +```php +$messages.dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.dialogs={_='messages.dialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v70/constructors/messages.dialogsSlice.md b/old_docs/API_docs_v70/constructors/messages.dialogsSlice.md new file mode 100644 index 00000000..26227d2c --- /dev/null +++ b/old_docs/API_docs_v70/constructors/messages.dialogsSlice.md @@ -0,0 +1,42 @@ +--- +title: messages.dialogsSlice +description: Incomplete list of dialogs with messages and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dialogsSlice +[Back to constructors index](index.md) + + + +Incomplete list of dialogs with messages and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of dialogs| +|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Dialogs](../types/messages.Dialogs.md) + + +### Example: + +```php +$messages.dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.dialogsSlice={_='messages.dialogsSlice', count=int, dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v70/constructors/messages.featuredStickers.md b/old_docs/API_docs_v70/constructors/messages.featuredStickers.md new file mode 100644 index 00000000..344376ea --- /dev/null +++ b/old_docs/API_docs_v70/constructors/messages.featuredStickers.md @@ -0,0 +1,40 @@ +--- +title: messages.featuredStickers +description: Featured stickersets +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.featuredStickers +[Back to constructors index](index.md) + + + +Featured stickersets + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| +|unread|Array of [long](../types/long.md) | Yes|Unread| + + + +### Type: [messages.FeaturedStickers](../types/messages.FeaturedStickers.md) + + +### Example: + +```php +$messages.featuredStickers = ['_' => 'messages.featuredStickers', 'hash' => int, 'sets' => [StickerSetCovered, StickerSetCovered], 'unread' => [long, long]]; +``` + + +Or, if you're into Lua: + +```lua +messages.featuredStickers={_='messages.featuredStickers', hash=int, sets={StickerSetCovered}, unread={long}} + +``` + + diff --git a/old_docs/API_docs_v70/constructors/messages.featuredStickersNotModified.md b/old_docs/API_docs_v70/constructors/messages.featuredStickersNotModified.md new file mode 100644 index 00000000..0fe9b4d5 --- /dev/null +++ b/old_docs/API_docs_v70/constructors/messages.featuredStickersNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.featuredStickersNotModified +description: Featured stickers haven't changed +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.featuredStickersNotModified +[Back to constructors index](index.md) + + + +Featured stickers haven't changed + + + + +### Type: [messages.FeaturedStickers](../types/messages.FeaturedStickers.md) + + +### Example: + +```php +$messages.featuredStickersNotModified = ['_' => 'messages.featuredStickersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.featuredStickersNotModified={_='messages.featuredStickersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v70/constructors/messages.foundGifs.md b/old_docs/API_docs_v70/constructors/messages.foundGifs.md new file mode 100644 index 00000000..c75e36f9 --- /dev/null +++ b/old_docs/API_docs_v70/constructors/messages.foundGifs.md @@ -0,0 +1,39 @@ +--- +title: messages.foundGifs +description: Found GIFs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.foundGifs +[Back to constructors index](index.md) + + + +Found GIFs + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|next\_offset|[int](../types/int.md) | Yes|Next offset to use when trying to [load more results](../methods/messages.searchGifs.md)| +|results|Array of [FoundGif](../types/FoundGif.md) | Yes|Results| + + + +### Type: [messages.FoundGifs](../types/messages.FoundGifs.md) + + +### Example: + +```php +$messages.foundGifs = ['_' => 'messages.foundGifs', 'next_offset' => int, 'results' => [FoundGif, FoundGif]]; +``` + + +Or, if you're into Lua: + +```lua +messages.foundGifs={_='messages.foundGifs', next_offset=int, results={FoundGif}} + +``` + + diff --git a/old_docs/API_docs_v70/constructors/messages.highScores.md b/old_docs/API_docs_v70/constructors/messages.highScores.md new file mode 100644 index 00000000..d7d25826 --- /dev/null +++ b/old_docs/API_docs_v70/constructors/messages.highScores.md @@ -0,0 +1,39 @@ +--- +title: messages.highScores +description: Highscores in a game +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.highScores +[Back to constructors index](index.md) + + + +Highscores in a game + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|scores|Array of [HighScore](../types/HighScore.md) | Yes|Scores| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.HighScores](../types/messages.HighScores.md) + + +### Example: + +```php +$messages.highScores = ['_' => 'messages.highScores', 'scores' => [HighScore, HighScore], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.highScores={_='messages.highScores', scores={HighScore}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v70/constructors/messages.messageEditData.md b/old_docs/API_docs_v70/constructors/messages.messageEditData.md new file mode 100644 index 00000000..578b53d9 --- /dev/null +++ b/old_docs/API_docs_v70/constructors/messages.messageEditData.md @@ -0,0 +1,38 @@ +--- +title: messages.messageEditData +description: Message edit data for media +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.messageEditData +[Back to constructors index](index.md) + + + +Message edit data for media + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|caption|[Bool](../types/Bool.md) | Optional|Media caption, if the specified media's caption can be edited| + + + +### Type: [messages.MessageEditData](../types/messages.MessageEditData.md) + + +### Example: + +```php +$messages.messageEditData = ['_' => 'messages.messageEditData', 'caption' => Bool]; +``` + + +Or, if you're into Lua: + +```lua +messages.messageEditData={_='messages.messageEditData', caption=Bool} + +``` + + diff --git a/old_docs/API_docs_v70/constructors/messages.messages.md b/old_docs/API_docs_v70/constructors/messages.messages.md new file mode 100644 index 00000000..3af71dca --- /dev/null +++ b/old_docs/API_docs_v70/constructors/messages.messages.md @@ -0,0 +1,40 @@ +--- +title: messages.messages +description: Full list of messages with auxilary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.messages +[Back to constructors index](index.md) + + + +Full list of messages with auxilary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Messages](../types/messages.Messages.md) + + +### Example: + +```php +$messages.messages = ['_' => 'messages.messages', 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.messages={_='messages.messages', messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v70/constructors/messages.messagesSlice.md b/old_docs/API_docs_v70/constructors/messages.messagesSlice.md new file mode 100644 index 00000000..2fe91df0 --- /dev/null +++ b/old_docs/API_docs_v70/constructors/messages.messagesSlice.md @@ -0,0 +1,41 @@ +--- +title: messages.messagesSlice +description: Incomplete list of messages and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.messagesSlice +[Back to constructors index](index.md) + + + +Incomplete list of messages and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of messages in the list| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Messages](../types/messages.Messages.md) + + +### Example: + +```php +$messages.messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.messagesSlice={_='messages.messagesSlice', count=int, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v70/constructors/messages.peerDialogs.md b/old_docs/API_docs_v70/constructors/messages.peerDialogs.md new file mode 100644 index 00000000..39cb71f8 --- /dev/null +++ b/old_docs/API_docs_v70/constructors/messages.peerDialogs.md @@ -0,0 +1,42 @@ +--- +title: messages.peerDialogs +description: Dialog info of multiple peers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.peerDialogs +[Back to constructors index](index.md) + + + +Dialog info of multiple peers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| +|state|[updates.State](../constructors/updates.State.md) | Yes|Current [update state of dialog](https://core.telegram.org/api/updates)| + + + +### Type: [messages.PeerDialogs](../types/messages.PeerDialogs.md) + + +### Example: + +```php +$messages.peerDialogs = ['_' => 'messages.peerDialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates.State]; +``` + + +Or, if you're into Lua: + +```lua +messages.peerDialogs={_='messages.peerDialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}, state=updates.State} + +``` + + diff --git a/old_docs/API_docs_v70/constructors/messages.recentStickers.md b/old_docs/API_docs_v70/constructors/messages.recentStickers.md new file mode 100644 index 00000000..c5c3b389 --- /dev/null +++ b/old_docs/API_docs_v70/constructors/messages.recentStickers.md @@ -0,0 +1,39 @@ +--- +title: messages.recentStickers +description: Recently used stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.recentStickers +[Back to constructors index](index.md) + + + +Recently used stickers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| + + + +### Type: [messages.RecentStickers](../types/messages.RecentStickers.md) + + +### Example: + +```php +$messages.recentStickers = ['_' => 'messages.recentStickers', 'hash' => int, 'stickers' => [Document, Document]]; +``` + + +Or, if you're into Lua: + +```lua +messages.recentStickers={_='messages.recentStickers', hash=int, stickers={Document}} + +``` + + diff --git a/old_docs/API_docs_v70/constructors/messages.recentStickersNotModified.md b/old_docs/API_docs_v70/constructors/messages.recentStickersNotModified.md new file mode 100644 index 00000000..1c3bbf5c --- /dev/null +++ b/old_docs/API_docs_v70/constructors/messages.recentStickersNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.recentStickersNotModified +description: No new recent sticker was found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.recentStickersNotModified +[Back to constructors index](index.md) + + + +No new recent sticker was found + + + + +### Type: [messages.RecentStickers](../types/messages.RecentStickers.md) + + +### Example: + +```php +$messages.recentStickersNotModified = ['_' => 'messages.recentStickersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.recentStickersNotModified={_='messages.recentStickersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v70/constructors/messages.savedGifs.md b/old_docs/API_docs_v70/constructors/messages.savedGifs.md new file mode 100644 index 00000000..c82929a3 --- /dev/null +++ b/old_docs/API_docs_v70/constructors/messages.savedGifs.md @@ -0,0 +1,39 @@ +--- +title: messages.savedGifs +description: Saved gifs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.savedGifs +[Back to constructors index](index.md) + + + +Saved gifs + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|gifs|Array of [Document](../types/Document.md) | Yes|Gifs| + + + +### Type: [messages.SavedGifs](../types/messages.SavedGifs.md) + + +### Example: + +```php +$messages.savedGifs = ['_' => 'messages.savedGifs', 'hash' => int, 'gifs' => [Document, Document]]; +``` + + +Or, if you're into Lua: + +```lua +messages.savedGifs={_='messages.savedGifs', hash=int, gifs={Document}} + +``` + + diff --git a/old_docs/API_docs_v70/constructors/messages.savedGifsNotModified.md b/old_docs/API_docs_v70/constructors/messages.savedGifsNotModified.md new file mode 100644 index 00000000..0fbccacc --- /dev/null +++ b/old_docs/API_docs_v70/constructors/messages.savedGifsNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.savedGifsNotModified +description: No new saved gifs were found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.savedGifsNotModified +[Back to constructors index](index.md) + + + +No new saved gifs were found + + + + +### Type: [messages.SavedGifs](../types/messages.SavedGifs.md) + + +### Example: + +```php +$messages.savedGifsNotModified = ['_' => 'messages.savedGifsNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.savedGifsNotModified={_='messages.savedGifsNotModified'} + +``` + + diff --git a/old_docs/API_docs_v70/constructors/messages.sentEncryptedFile.md b/old_docs/API_docs_v70/constructors/messages.sentEncryptedFile.md new file mode 100644 index 00000000..1f0e43c6 --- /dev/null +++ b/old_docs/API_docs_v70/constructors/messages.sentEncryptedFile.md @@ -0,0 +1,39 @@ +--- +title: messages.sentEncryptedFile +description: Message with a file enclosure sent to a protected chat +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.sentEncryptedFile +[Back to constructors index](index.md) + + + +Message with a file enclosure sent to a protected chat + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Sending date| +|file|[EncryptedFile](../types/EncryptedFile.md) | Optional|Attached file| + + + +### Type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) + + +### Example: + +```php +$messages.sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile]; +``` + + +Or, if you're into Lua: + +```lua +messages.sentEncryptedFile={_='messages.sentEncryptedFile', date=int, file=EncryptedFile} + +``` + + diff --git a/old_docs/API_docs_v70/constructors/messages.sentEncryptedMessage.md b/old_docs/API_docs_v70/constructors/messages.sentEncryptedMessage.md new file mode 100644 index 00000000..3d5eb40c --- /dev/null +++ b/old_docs/API_docs_v70/constructors/messages.sentEncryptedMessage.md @@ -0,0 +1,38 @@ +--- +title: messages.sentEncryptedMessage +description: Message without file attachemts sent to an encrypted file. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.sentEncryptedMessage +[Back to constructors index](index.md) + + + +Message without file attachemts sent to an encrypted file. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Date of sending| + + + +### Type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) + + +### Example: + +```php +$messages.sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.sentEncryptedMessage={_='messages.sentEncryptedMessage', date=int} + +``` + + diff --git a/old_docs/API_docs_v70/constructors/messages.stickerSet.md b/old_docs/API_docs_v70/constructors/messages.stickerSet.md new file mode 100644 index 00000000..fbc154d0 --- /dev/null +++ b/old_docs/API_docs_v70/constructors/messages.stickerSet.md @@ -0,0 +1,40 @@ +--- +title: messages.stickerSet +description: Stickerset and stickers inside it +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickerSet +[Back to constructors index](index.md) + + + +Stickerset and stickers inside it + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|set|[StickerSet](../types/StickerSet.md) | Yes|The stickerset| +|packs|Array of [StickerPack](../types/StickerPack.md) | Yes|Packs| +|documents|Array of [Document](../types/Document.md) | Yes|Documents| + + + +### Type: [messages.StickerSet](../types/messages.StickerSet.md) + + +### Example: + +```php +$messages.stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'packs' => [StickerPack, StickerPack], 'documents' => [Document, Document]]; +``` + + +Or, if you're into Lua: + +```lua +messages.stickerSet={_='messages.stickerSet', set=StickerSet, packs={StickerPack}, documents={Document}} + +``` + + diff --git a/old_docs/API_docs_v70/constructors/messages.stickerSetInstallResultArchive.md b/old_docs/API_docs_v70/constructors/messages.stickerSetInstallResultArchive.md new file mode 100644 index 00000000..fefe2270 --- /dev/null +++ b/old_docs/API_docs_v70/constructors/messages.stickerSetInstallResultArchive.md @@ -0,0 +1,38 @@ +--- +title: messages.stickerSetInstallResultArchive +description: The stickerset was installed, but since there are too many stickersets some were archived +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickerSetInstallResultArchive +[Back to constructors index](index.md) + + + +The stickerset was installed, but since there are too many stickersets some were archived + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| + + + +### Type: [messages.StickerSetInstallResult](../types/messages.StickerSetInstallResult.md) + + +### Example: + +```php +$messages.stickerSetInstallResultArchive = ['_' => 'messages.stickerSetInstallResultArchive', 'sets' => [StickerSetCovered, StickerSetCovered]]; +``` + + +Or, if you're into Lua: + +```lua +messages.stickerSetInstallResultArchive={_='messages.stickerSetInstallResultArchive', sets={StickerSetCovered}} + +``` + + diff --git a/old_docs/API_docs_v70/constructors/messages.stickerSetInstallResultSuccess.md b/old_docs/API_docs_v70/constructors/messages.stickerSetInstallResultSuccess.md new file mode 100644 index 00000000..bbe8b961 --- /dev/null +++ b/old_docs/API_docs_v70/constructors/messages.stickerSetInstallResultSuccess.md @@ -0,0 +1,33 @@ +--- +title: messages.stickerSetInstallResultSuccess +description: The stickerset was installed successfully +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickerSetInstallResultSuccess +[Back to constructors index](index.md) + + + +The stickerset was installed successfully + + + + +### Type: [messages.StickerSetInstallResult](../types/messages.StickerSetInstallResult.md) + + +### Example: + +```php +$messages.stickerSetInstallResultSuccess = ['_' => 'messages.stickerSetInstallResultSuccess']; +``` + + +Or, if you're into Lua: + +```lua +messages.stickerSetInstallResultSuccess={_='messages.stickerSetInstallResultSuccess'} + +``` + + diff --git a/old_docs/API_docs_v70/constructors/messages.stickers.md b/old_docs/API_docs_v70/constructors/messages.stickers.md new file mode 100644 index 00000000..310b64b0 --- /dev/null +++ b/old_docs/API_docs_v70/constructors/messages.stickers.md @@ -0,0 +1,39 @@ +--- +title: messages.stickers +description: Found stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickers +[Back to constructors index](index.md) + + + +Found stickers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[string](../types/string.md) | Yes|Hash| +|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| + + + +### Type: [messages.Stickers](../types/messages.Stickers.md) + + +### Example: + +```php +$messages.stickers = ['_' => 'messages.stickers', 'hash' => 'string', 'stickers' => [Document, Document]]; +``` + + +Or, if you're into Lua: + +```lua +messages.stickers={_='messages.stickers', hash='string', stickers={Document}} + +``` + + diff --git a/old_docs/API_docs_v70/constructors/messages.stickersNotModified.md b/old_docs/API_docs_v70/constructors/messages.stickersNotModified.md new file mode 100644 index 00000000..e8c7766c --- /dev/null +++ b/old_docs/API_docs_v70/constructors/messages.stickersNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.stickersNotModified +description: No new stickers were found for the given query +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickersNotModified +[Back to constructors index](index.md) + + + +No new stickers were found for the given query + + + + +### Type: [messages.Stickers](../types/messages.Stickers.md) + + +### Example: + +```php +$messages.stickersNotModified = ['_' => 'messages.stickersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.stickersNotModified={_='messages.stickersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v70/constructors/messages_affectedHistory.md b/old_docs/API_docs_v70/constructors/messages_affectedHistory.md deleted file mode 100644 index 449a7e3f..00000000 --- a/old_docs/API_docs_v70/constructors/messages_affectedHistory.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.affectedHistory -description: Affected part of communication history with the user or in a chat. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.affectedHistory -[Back to constructors index](index.md) - - - -Affected part of communication history with the user or in a chat. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| -|pts\_count|[int](../types/int.md) | Yes|Number of affected events| -|offset|[int](../types/int.md) | Yes|If a parameter contains positive value, it is necessary to repeat the method call using the given value; during the proceeding of all the history the value itself shall gradually decrease| - - - -### Type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) - - -### Example: - -```php -$messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_affectedHistory={_='messages.affectedHistory', pts=int, pts_count=int, offset=int} - -``` - - diff --git a/old_docs/API_docs_v70/constructors/messages_affectedMessages.md b/old_docs/API_docs_v70/constructors/messages_affectedMessages.md deleted file mode 100644 index 86760581..00000000 --- a/old_docs/API_docs_v70/constructors/messages_affectedMessages.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.affectedMessages -description: Events affected by operation -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.affectedMessages -[Back to constructors index](index.md) - - - -Events affected by operation - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|[Event count after generation](https://core.telegram.org/api/updates)| -|pts\_count|[int](../types/int.md) | Yes|[Number of events that were generated](https://core.telegram.org/api/updates)| - - - -### Type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) - - -### Example: - -```php -$messages_affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_affectedMessages={_='messages.affectedMessages', pts=int, pts_count=int} - -``` - - diff --git a/old_docs/API_docs_v70/constructors/messages_allStickers.md b/old_docs/API_docs_v70/constructors/messages_allStickers.md deleted file mode 100644 index 2e64f46e..00000000 --- a/old_docs/API_docs_v70/constructors/messages_allStickers.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.allStickers -description: Info about all installed stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.allStickers -[Back to constructors index](index.md) - - - -Info about all installed stickers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|sets|Array of [StickerSet](../types/StickerSet.md) | Yes|Sets| - - - -### Type: [messages\_AllStickers](../types/messages_AllStickers.md) - - -### Example: - -```php -$messages_allStickers = ['_' => 'messages.allStickers', 'hash' => int, 'sets' => [StickerSet, StickerSet]]; -``` - - -Or, if you're into Lua: - -```lua -messages_allStickers={_='messages.allStickers', hash=int, sets={StickerSet}} - -``` - - diff --git a/old_docs/API_docs_v70/constructors/messages_allStickersNotModified.md b/old_docs/API_docs_v70/constructors/messages_allStickersNotModified.md deleted file mode 100644 index c4da85ab..00000000 --- a/old_docs/API_docs_v70/constructors/messages_allStickersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.allStickersNotModified -description: Info about all installed stickers hasn't changed -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.allStickersNotModified -[Back to constructors index](index.md) - - - -Info about all installed stickers hasn't changed - - - - -### Type: [messages\_AllStickers](../types/messages_AllStickers.md) - - -### Example: - -```php -$messages_allStickersNotModified = ['_' => 'messages.allStickersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_allStickersNotModified={_='messages.allStickersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v70/constructors/messages_archivedStickers.md b/old_docs/API_docs_v70/constructors/messages_archivedStickers.md deleted file mode 100644 index 6b28c885..00000000 --- a/old_docs/API_docs_v70/constructors/messages_archivedStickers.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.archivedStickers -description: Archived stickersets -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.archivedStickers -[Back to constructors index](index.md) - - - -Archived stickersets - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Number of archived stickers| -|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| - - - -### Type: [messages\_ArchivedStickers](../types/messages_ArchivedStickers.md) - - -### Example: - -```php -$messages_archivedStickers = ['_' => 'messages.archivedStickers', 'count' => int, 'sets' => [StickerSetCovered, StickerSetCovered]]; -``` - - -Or, if you're into Lua: - -```lua -messages_archivedStickers={_='messages.archivedStickers', count=int, sets={StickerSetCovered}} - -``` - - diff --git a/old_docs/API_docs_v70/constructors/messages_botCallbackAnswer.md b/old_docs/API_docs_v70/constructors/messages_botCallbackAnswer.md deleted file mode 100644 index df8c3185..00000000 --- a/old_docs/API_docs_v70/constructors/messages_botCallbackAnswer.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: messages.botCallbackAnswer -description: Callback answer sent by the bot in response to a button press -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.botCallbackAnswer -[Back to constructors index](index.md) - - - -Callback answer sent by the bot in response to a button press - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|alert|[Bool](../types/Bool.md) | Optional|Whether an alert should be shown to the user instead of a toast notification| -|has\_url|[Bool](../types/Bool.md) | Optional|Whether an URL is present| -|message|[string](../types/string.md) | Optional|Alert to show| -|url|[string](../types/string.md) | Optional|URL to open| -|cache\_time|[int](../types/int.md) | Yes|For how long should this answer be cached| - - - -### Type: [messages\_BotCallbackAnswer](../types/messages_BotCallbackAnswer.md) - - -### Example: - -```php -$messages_botCallbackAnswer = ['_' => 'messages.botCallbackAnswer', 'alert' => Bool, 'has_url' => Bool, 'message' => 'string', 'url' => 'string', 'cache_time' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_botCallbackAnswer={_='messages.botCallbackAnswer', alert=Bool, has_url=Bool, message='string', url='string', cache_time=int} - -``` - - diff --git a/old_docs/API_docs_v70/constructors/messages_botResults.md b/old_docs/API_docs_v70/constructors/messages_botResults.md deleted file mode 100644 index 77b14e35..00000000 --- a/old_docs/API_docs_v70/constructors/messages_botResults.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: messages.botResults -description: Result of a query to an inline bot -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.botResults -[Back to constructors index](index.md) - - - -Result of a query to an inline bot - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|gallery|[Bool](../types/Bool.md) | Optional|Whether the result is a picture gallery| -|query\_id|[long](../types/long.md) | Yes|Query ID| -|next\_offset|[string](../types/string.md) | Optional|The next offset to use when navigating through results| -|switch\_pm|[InlineBotSwitchPM](../types/InlineBotSwitchPM.md) | Optional|Whether the bot requested the user to message him in private| -|results|Array of [BotInlineResult](../types/BotInlineResult.md) | Yes|Results| -|cache\_time|[int](../types/int.md) | Yes|Caching validity of the results| - - - -### Type: [messages\_BotResults](../types/messages_BotResults.md) - - -### Example: - -```php -$messages_botResults = ['_' => 'messages.botResults', 'gallery' => Bool, 'query_id' => long, 'next_offset' => 'string', 'switch_pm' => InlineBotSwitchPM, 'results' => [BotInlineResult, BotInlineResult], 'cache_time' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_botResults={_='messages.botResults', gallery=Bool, query_id=long, next_offset='string', switch_pm=InlineBotSwitchPM, results={BotInlineResult}, cache_time=int} - -``` - - diff --git a/old_docs/API_docs_v70/constructors/messages_channelMessages.md b/old_docs/API_docs_v70/constructors/messages_channelMessages.md deleted file mode 100644 index 12cdb9cd..00000000 --- a/old_docs/API_docs_v70/constructors/messages_channelMessages.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: messages.channelMessages -description: Channel messages -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.channelMessages -[Back to constructors index](index.md) - - - -Channel messages - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|[Event count after generation](https://core.telegram.org/api/updates)| -|count|[int](../types/int.md) | Yes|Total number of results were found server-side (may not be all included here)| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Messages](../types/messages_Messages.md) - - -### Example: - -```php -$messages_channelMessages = ['_' => 'messages.channelMessages', 'pts' => int, 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_channelMessages={_='messages.channelMessages', pts=int, count=int, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v70/constructors/messages_chatFull.md b/old_docs/API_docs_v70/constructors/messages_chatFull.md deleted file mode 100644 index 02f1acdf..00000000 --- a/old_docs/API_docs_v70/constructors/messages_chatFull.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.chatFull -description: Extended info on chat and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.chatFull -[Back to constructors index](index.md) - - - -Extended info on chat and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|full\_chat|[ChatFull](../types/ChatFull.md) | Yes|Extended info on a chat| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_ChatFull](../types/messages_ChatFull.md) - - -### Example: - -```php -$messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_chatFull={_='messages.chatFull', full_chat=ChatFull, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v70/constructors/messages_chats.md b/old_docs/API_docs_v70/constructors/messages_chats.md deleted file mode 100644 index ef3690a9..00000000 --- a/old_docs/API_docs_v70/constructors/messages_chats.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.chats -description: List of chats with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.chats -[Back to constructors index](index.md) - - - -List of chats with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| - - - -### Type: [messages\_Chats](../types/messages_Chats.md) - - -### Example: - -```php -$messages_chats = ['_' => 'messages.chats', 'chats' => [Chat, Chat]]; -``` - - -Or, if you're into Lua: - -```lua -messages_chats={_='messages.chats', chats={Chat}} - -``` - - diff --git a/old_docs/API_docs_v70/constructors/messages_chatsSlice.md b/old_docs/API_docs_v70/constructors/messages_chatsSlice.md deleted file mode 100644 index f19c4357..00000000 --- a/old_docs/API_docs_v70/constructors/messages_chatsSlice.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.chatsSlice -description: Partial list of chats, more would have to be fetched with [pagination](https://core.telegram.org/api/offsets) -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.chatsSlice -[Back to constructors index](index.md) - - - -Partial list of chats, more would have to be fetched with [pagination](https://core.telegram.org/api/offsets) - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of results that were found server-side (not all are included in `chats`)| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| - - - -### Type: [messages\_Chats](../types/messages_Chats.md) - - -### Example: - -```php -$messages_chatsSlice = ['_' => 'messages.chatsSlice', 'count' => int, 'chats' => [Chat, Chat]]; -``` - - -Or, if you're into Lua: - -```lua -messages_chatsSlice={_='messages.chatsSlice', count=int, chats={Chat}} - -``` - - diff --git a/old_docs/API_docs_v70/constructors/messages_dhConfig.md b/old_docs/API_docs_v70/constructors/messages_dhConfig.md deleted file mode 100644 index 42c2feb1..00000000 --- a/old_docs/API_docs_v70/constructors/messages_dhConfig.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: messages.dhConfig -description: New set of configuring parameters. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dhConfig -[Back to constructors index](index.md) - - - -New set of configuring parameters. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|g|[int](../types/int.md) | Yes|New value **prime**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| -|p|[bytes](../types/bytes.md) | Yes|New value **primitive root**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| -|version|[int](../types/int.md) | Yes|Vestion of set of parameters| -|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| - - - -### Type: [messages\_DhConfig](../types/messages_DhConfig.md) - - -### Example: - -```php -$messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'version' => int, 'random' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -messages_dhConfig={_='messages.dhConfig', g=int, p='bytes', version=int, random='bytes'} - -``` - - diff --git a/old_docs/API_docs_v70/constructors/messages_dhConfigNotModified.md b/old_docs/API_docs_v70/constructors/messages_dhConfigNotModified.md deleted file mode 100644 index 5bf64230..00000000 --- a/old_docs/API_docs_v70/constructors/messages_dhConfigNotModified.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.dhConfigNotModified -description: Configuring parameters did not change. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dhConfigNotModified -[Back to constructors index](index.md) - - - -Configuring parameters did not change. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| - - - -### Type: [messages\_DhConfig](../types/messages_DhConfig.md) - - -### Example: - -```php -$messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -messages_dhConfigNotModified={_='messages.dhConfigNotModified', random='bytes'} - -``` - - diff --git a/old_docs/API_docs_v70/constructors/messages_dialogs.md b/old_docs/API_docs_v70/constructors/messages_dialogs.md deleted file mode 100644 index e6a431b4..00000000 --- a/old_docs/API_docs_v70/constructors/messages_dialogs.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: messages.dialogs -description: Full list of chats with messages and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dialogs -[Back to constructors index](index.md) - - - -Full list of chats with messages and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Dialogs](../types/messages_Dialogs.md) - - -### Example: - -```php -$messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_dialogs={_='messages.dialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v70/constructors/messages_dialogsSlice.md b/old_docs/API_docs_v70/constructors/messages_dialogsSlice.md deleted file mode 100644 index f183b9a8..00000000 --- a/old_docs/API_docs_v70/constructors/messages_dialogsSlice.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: messages.dialogsSlice -description: Incomplete list of dialogs with messages and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dialogsSlice -[Back to constructors index](index.md) - - - -Incomplete list of dialogs with messages and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of dialogs| -|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Dialogs](../types/messages_Dialogs.md) - - -### Example: - -```php -$messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_dialogsSlice={_='messages.dialogsSlice', count=int, dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v70/constructors/messages_featuredStickers.md b/old_docs/API_docs_v70/constructors/messages_featuredStickers.md deleted file mode 100644 index 8ef1046e..00000000 --- a/old_docs/API_docs_v70/constructors/messages_featuredStickers.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.featuredStickers -description: Featured stickersets -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.featuredStickers -[Back to constructors index](index.md) - - - -Featured stickersets - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| -|unread|Array of [long](../types/long.md) | Yes|Unread| - - - -### Type: [messages\_FeaturedStickers](../types/messages_FeaturedStickers.md) - - -### Example: - -```php -$messages_featuredStickers = ['_' => 'messages.featuredStickers', 'hash' => int, 'sets' => [StickerSetCovered, StickerSetCovered], 'unread' => [long, long]]; -``` - - -Or, if you're into Lua: - -```lua -messages_featuredStickers={_='messages.featuredStickers', hash=int, sets={StickerSetCovered}, unread={long}} - -``` - - diff --git a/old_docs/API_docs_v70/constructors/messages_featuredStickersNotModified.md b/old_docs/API_docs_v70/constructors/messages_featuredStickersNotModified.md deleted file mode 100644 index de01131b..00000000 --- a/old_docs/API_docs_v70/constructors/messages_featuredStickersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.featuredStickersNotModified -description: Featured stickers haven't changed -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.featuredStickersNotModified -[Back to constructors index](index.md) - - - -Featured stickers haven't changed - - - - -### Type: [messages\_FeaturedStickers](../types/messages_FeaturedStickers.md) - - -### Example: - -```php -$messages_featuredStickersNotModified = ['_' => 'messages.featuredStickersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_featuredStickersNotModified={_='messages.featuredStickersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v70/constructors/messages_foundGifs.md b/old_docs/API_docs_v70/constructors/messages_foundGifs.md deleted file mode 100644 index eb3603ca..00000000 --- a/old_docs/API_docs_v70/constructors/messages_foundGifs.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.foundGifs -description: Found GIFs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.foundGifs -[Back to constructors index](index.md) - - - -Found GIFs - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|next\_offset|[int](../types/int.md) | Yes|Next offset to use when trying to [load more results](../methods/messages.searchGifs.md)| -|results|Array of [FoundGif](../types/FoundGif.md) | Yes|Results| - - - -### Type: [messages\_FoundGifs](../types/messages_FoundGifs.md) - - -### Example: - -```php -$messages_foundGifs = ['_' => 'messages.foundGifs', 'next_offset' => int, 'results' => [FoundGif, FoundGif]]; -``` - - -Or, if you're into Lua: - -```lua -messages_foundGifs={_='messages.foundGifs', next_offset=int, results={FoundGif}} - -``` - - diff --git a/old_docs/API_docs_v70/constructors/messages_highScores.md b/old_docs/API_docs_v70/constructors/messages_highScores.md deleted file mode 100644 index d6fc5210..00000000 --- a/old_docs/API_docs_v70/constructors/messages_highScores.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.highScores -description: Highscores in a game -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.highScores -[Back to constructors index](index.md) - - - -Highscores in a game - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|scores|Array of [HighScore](../types/HighScore.md) | Yes|Scores| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_HighScores](../types/messages_HighScores.md) - - -### Example: - -```php -$messages_highScores = ['_' => 'messages.highScores', 'scores' => [HighScore, HighScore], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_highScores={_='messages.highScores', scores={HighScore}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v70/constructors/messages_messageEditData.md b/old_docs/API_docs_v70/constructors/messages_messageEditData.md deleted file mode 100644 index 76aefca5..00000000 --- a/old_docs/API_docs_v70/constructors/messages_messageEditData.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.messageEditData -description: Message edit data for media -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.messageEditData -[Back to constructors index](index.md) - - - -Message edit data for media - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|caption|[Bool](../types/Bool.md) | Optional|Media caption, if the specified media's caption can be edited| - - - -### Type: [messages\_MessageEditData](../types/messages_MessageEditData.md) - - -### Example: - -```php -$messages_messageEditData = ['_' => 'messages.messageEditData', 'caption' => Bool]; -``` - - -Or, if you're into Lua: - -```lua -messages_messageEditData={_='messages.messageEditData', caption=Bool} - -``` - - diff --git a/old_docs/API_docs_v70/constructors/messages_messages.md b/old_docs/API_docs_v70/constructors/messages_messages.md deleted file mode 100644 index 3e369e1a..00000000 --- a/old_docs/API_docs_v70/constructors/messages_messages.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.messages -description: Full list of messages with auxilary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.messages -[Back to constructors index](index.md) - - - -Full list of messages with auxilary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Messages](../types/messages_Messages.md) - - -### Example: - -```php -$messages_messages = ['_' => 'messages.messages', 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_messages={_='messages.messages', messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v70/constructors/messages_messagesSlice.md b/old_docs/API_docs_v70/constructors/messages_messagesSlice.md deleted file mode 100644 index f9b8dc18..00000000 --- a/old_docs/API_docs_v70/constructors/messages_messagesSlice.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: messages.messagesSlice -description: Incomplete list of messages and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.messagesSlice -[Back to constructors index](index.md) - - - -Incomplete list of messages and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of messages in the list| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Messages](../types/messages_Messages.md) - - -### Example: - -```php -$messages_messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_messagesSlice={_='messages.messagesSlice', count=int, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v70/constructors/messages_peerDialogs.md b/old_docs/API_docs_v70/constructors/messages_peerDialogs.md deleted file mode 100644 index 29b4b842..00000000 --- a/old_docs/API_docs_v70/constructors/messages_peerDialogs.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: messages.peerDialogs -description: Dialog info of multiple peers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.peerDialogs -[Back to constructors index](index.md) - - - -Dialog info of multiple peers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| -|state|[updates\_State](../types/updates_State.md) | Yes|Current [update state of dialog](https://core.telegram.org/api/updates)| - - - -### Type: [messages\_PeerDialogs](../types/messages_PeerDialogs.md) - - -### Example: - -```php -$messages_peerDialogs = ['_' => 'messages.peerDialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates_State]; -``` - - -Or, if you're into Lua: - -```lua -messages_peerDialogs={_='messages.peerDialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}, state=updates_State} - -``` - - diff --git a/old_docs/API_docs_v70/constructors/messages_recentStickers.md b/old_docs/API_docs_v70/constructors/messages_recentStickers.md deleted file mode 100644 index 31b059e5..00000000 --- a/old_docs/API_docs_v70/constructors/messages_recentStickers.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.recentStickers -description: Recently used stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.recentStickers -[Back to constructors index](index.md) - - - -Recently used stickers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| - - - -### Type: [messages\_RecentStickers](../types/messages_RecentStickers.md) - - -### Example: - -```php -$messages_recentStickers = ['_' => 'messages.recentStickers', 'hash' => int, 'stickers' => [Document, Document]]; -``` - - -Or, if you're into Lua: - -```lua -messages_recentStickers={_='messages.recentStickers', hash=int, stickers={Document}} - -``` - - diff --git a/old_docs/API_docs_v70/constructors/messages_recentStickersNotModified.md b/old_docs/API_docs_v70/constructors/messages_recentStickersNotModified.md deleted file mode 100644 index 3e81dceb..00000000 --- a/old_docs/API_docs_v70/constructors/messages_recentStickersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.recentStickersNotModified -description: No new recent sticker was found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.recentStickersNotModified -[Back to constructors index](index.md) - - - -No new recent sticker was found - - - - -### Type: [messages\_RecentStickers](../types/messages_RecentStickers.md) - - -### Example: - -```php -$messages_recentStickersNotModified = ['_' => 'messages.recentStickersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_recentStickersNotModified={_='messages.recentStickersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v70/constructors/messages_savedGifs.md b/old_docs/API_docs_v70/constructors/messages_savedGifs.md deleted file mode 100644 index ed3e8ea3..00000000 --- a/old_docs/API_docs_v70/constructors/messages_savedGifs.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.savedGifs -description: Saved gifs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.savedGifs -[Back to constructors index](index.md) - - - -Saved gifs - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|gifs|Array of [Document](../types/Document.md) | Yes|Gifs| - - - -### Type: [messages\_SavedGifs](../types/messages_SavedGifs.md) - - -### Example: - -```php -$messages_savedGifs = ['_' => 'messages.savedGifs', 'hash' => int, 'gifs' => [Document, Document]]; -``` - - -Or, if you're into Lua: - -```lua -messages_savedGifs={_='messages.savedGifs', hash=int, gifs={Document}} - -``` - - diff --git a/old_docs/API_docs_v70/constructors/messages_savedGifsNotModified.md b/old_docs/API_docs_v70/constructors/messages_savedGifsNotModified.md deleted file mode 100644 index 0f843a0c..00000000 --- a/old_docs/API_docs_v70/constructors/messages_savedGifsNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.savedGifsNotModified -description: No new saved gifs were found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.savedGifsNotModified -[Back to constructors index](index.md) - - - -No new saved gifs were found - - - - -### Type: [messages\_SavedGifs](../types/messages_SavedGifs.md) - - -### Example: - -```php -$messages_savedGifsNotModified = ['_' => 'messages.savedGifsNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_savedGifsNotModified={_='messages.savedGifsNotModified'} - -``` - - diff --git a/old_docs/API_docs_v70/constructors/messages_sentEncryptedFile.md b/old_docs/API_docs_v70/constructors/messages_sentEncryptedFile.md deleted file mode 100644 index fdc2a11e..00000000 --- a/old_docs/API_docs_v70/constructors/messages_sentEncryptedFile.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.sentEncryptedFile -description: Message with a file enclosure sent to a protected chat -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.sentEncryptedFile -[Back to constructors index](index.md) - - - -Message with a file enclosure sent to a protected chat - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Sending date| -|file|[EncryptedFile](../types/EncryptedFile.md) | Optional|Attached file| - - - -### Type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) - - -### Example: - -```php -$messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile]; -``` - - -Or, if you're into Lua: - -```lua -messages_sentEncryptedFile={_='messages.sentEncryptedFile', date=int, file=EncryptedFile} - -``` - - diff --git a/old_docs/API_docs_v70/constructors/messages_sentEncryptedMessage.md b/old_docs/API_docs_v70/constructors/messages_sentEncryptedMessage.md deleted file mode 100644 index 36b2bbff..00000000 --- a/old_docs/API_docs_v70/constructors/messages_sentEncryptedMessage.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.sentEncryptedMessage -description: Message without file attachemts sent to an encrypted file. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.sentEncryptedMessage -[Back to constructors index](index.md) - - - -Message without file attachemts sent to an encrypted file. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Date of sending| - - - -### Type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) - - -### Example: - -```php -$messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_sentEncryptedMessage={_='messages.sentEncryptedMessage', date=int} - -``` - - diff --git a/old_docs/API_docs_v70/constructors/messages_stickerSet.md b/old_docs/API_docs_v70/constructors/messages_stickerSet.md deleted file mode 100644 index 127191de..00000000 --- a/old_docs/API_docs_v70/constructors/messages_stickerSet.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.stickerSet -description: Stickerset and stickers inside it -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickerSet -[Back to constructors index](index.md) - - - -Stickerset and stickers inside it - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|set|[StickerSet](../types/StickerSet.md) | Yes|The stickerset| -|packs|Array of [StickerPack](../types/StickerPack.md) | Yes|Packs| -|documents|Array of [Document](../types/Document.md) | Yes|Documents| - - - -### Type: [messages\_StickerSet](../types/messages_StickerSet.md) - - -### Example: - -```php -$messages_stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'packs' => [StickerPack, StickerPack], 'documents' => [Document, Document]]; -``` - - -Or, if you're into Lua: - -```lua -messages_stickerSet={_='messages.stickerSet', set=StickerSet, packs={StickerPack}, documents={Document}} - -``` - - diff --git a/old_docs/API_docs_v70/constructors/messages_stickerSetInstallResultArchive.md b/old_docs/API_docs_v70/constructors/messages_stickerSetInstallResultArchive.md deleted file mode 100644 index 8a5f4d5d..00000000 --- a/old_docs/API_docs_v70/constructors/messages_stickerSetInstallResultArchive.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.stickerSetInstallResultArchive -description: The stickerset was installed, but since there are too many stickersets some were archived -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickerSetInstallResultArchive -[Back to constructors index](index.md) - - - -The stickerset was installed, but since there are too many stickersets some were archived - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| - - - -### Type: [messages\_StickerSetInstallResult](../types/messages_StickerSetInstallResult.md) - - -### Example: - -```php -$messages_stickerSetInstallResultArchive = ['_' => 'messages.stickerSetInstallResultArchive', 'sets' => [StickerSetCovered, StickerSetCovered]]; -``` - - -Or, if you're into Lua: - -```lua -messages_stickerSetInstallResultArchive={_='messages.stickerSetInstallResultArchive', sets={StickerSetCovered}} - -``` - - diff --git a/old_docs/API_docs_v70/constructors/messages_stickerSetInstallResultSuccess.md b/old_docs/API_docs_v70/constructors/messages_stickerSetInstallResultSuccess.md deleted file mode 100644 index 1d33b89f..00000000 --- a/old_docs/API_docs_v70/constructors/messages_stickerSetInstallResultSuccess.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.stickerSetInstallResultSuccess -description: The stickerset was installed successfully -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickerSetInstallResultSuccess -[Back to constructors index](index.md) - - - -The stickerset was installed successfully - - - - -### Type: [messages\_StickerSetInstallResult](../types/messages_StickerSetInstallResult.md) - - -### Example: - -```php -$messages_stickerSetInstallResultSuccess = ['_' => 'messages.stickerSetInstallResultSuccess']; -``` - - -Or, if you're into Lua: - -```lua -messages_stickerSetInstallResultSuccess={_='messages.stickerSetInstallResultSuccess'} - -``` - - diff --git a/old_docs/API_docs_v70/constructors/messages_stickers.md b/old_docs/API_docs_v70/constructors/messages_stickers.md deleted file mode 100644 index 1c007df2..00000000 --- a/old_docs/API_docs_v70/constructors/messages_stickers.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.stickers -description: Found stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickers -[Back to constructors index](index.md) - - - -Found stickers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[string](../types/string.md) | Yes|Hash| -|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| - - - -### Type: [messages\_Stickers](../types/messages_Stickers.md) - - -### Example: - -```php -$messages_stickers = ['_' => 'messages.stickers', 'hash' => 'string', 'stickers' => [Document, Document]]; -``` - - -Or, if you're into Lua: - -```lua -messages_stickers={_='messages.stickers', hash='string', stickers={Document}} - -``` - - diff --git a/old_docs/API_docs_v70/constructors/messages_stickersNotModified.md b/old_docs/API_docs_v70/constructors/messages_stickersNotModified.md deleted file mode 100644 index 3d434a79..00000000 --- a/old_docs/API_docs_v70/constructors/messages_stickersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.stickersNotModified -description: No new stickers were found for the given query -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickersNotModified -[Back to constructors index](index.md) - - - -No new stickers were found for the given query - - - - -### Type: [messages\_Stickers](../types/messages_Stickers.md) - - -### Example: - -```php -$messages_stickersNotModified = ['_' => 'messages.stickersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_stickersNotModified={_='messages.stickersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v70/constructors/payments.paymentForm.md b/old_docs/API_docs_v70/constructors/payments.paymentForm.md new file mode 100644 index 00000000..90e0f39d --- /dev/null +++ b/old_docs/API_docs_v70/constructors/payments.paymentForm.md @@ -0,0 +1,48 @@ +--- +title: payments.paymentForm +description: Payment form +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: payments.paymentForm +[Back to constructors index](index.md) + + + +Payment form + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|can\_save\_credentials|[Bool](../types/Bool.md) | Optional|Whether the user can choose to save credentials.| +|password\_missing|[Bool](../types/Bool.md) | Optional|Indicates that the user can save payment credentials, but only after setting up a [2FA password](https://core.telegram.org/api/srp) (currently the account doesn't have a [2FA password](https://core.telegram.org/api/srp))| +|bot\_id|[int](../types/int.md) | Yes|Bot ID| +|invoice|[Invoice](../types/Invoice.md) | Yes|Invoice| +|provider\_id|[int](../types/int.md) | Yes|Payment provider ID.| +|url|[string](../types/string.md) | Yes|Payment form URL| +|native\_provider|[string](../types/string.md) | Optional|Payment provider name.
One of the following:
\- `stripe`| +|native\_params|[DataJSON](../types/DataJSON.md) | Optional|Contains information about the payment provider, if available, to support it natively without the need for opening the URL.
A JSON object that can contain the following fields:

\- `publishable_key`: Stripe API publishable key
\- `apple_pay_merchant_id`: Apple Pay merchant ID
\- `android_pay_public_key`: Android Pay public key
\- `android_pay_bgcolor`: Android Pay form background color
\- `android_pay_inverse`: Whether to use the dark theme in the Android Pay form
\- `need_country`: True, if the user country must be provided,
\- `need_zip`: True, if the user ZIP/postal code must be provided,
\- `need_cardholder_name`: True, if the cardholder name must be provided
| +|saved\_info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Optional|Saved server-side order information| +|saved\_credentials|[PaymentSavedCredentials](../types/PaymentSavedCredentials.md) | Optional|Contains information about saved card credentials| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [payments.PaymentForm](../types/payments.PaymentForm.md) + + +### Example: + +```php +$payments.paymentForm = ['_' => 'payments.paymentForm', 'can_save_credentials' => Bool, 'password_missing' => Bool, 'bot_id' => int, 'invoice' => Invoice, 'provider_id' => int, 'url' => 'string', 'native_provider' => 'string', 'native_params' => DataJSON, 'saved_info' => PaymentRequestedInfo, 'saved_credentials' => PaymentSavedCredentials, 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +payments.paymentForm={_='payments.paymentForm', can_save_credentials=Bool, password_missing=Bool, bot_id=int, invoice=Invoice, provider_id=int, url='string', native_provider='string', native_params=DataJSON, saved_info=PaymentRequestedInfo, saved_credentials=PaymentSavedCredentials, users={User}} + +``` + + diff --git a/old_docs/API_docs_v70/constructors/payments.paymentReceipt.md b/old_docs/API_docs_v70/constructors/payments.paymentReceipt.md new file mode 100644 index 00000000..5a0cc190 --- /dev/null +++ b/old_docs/API_docs_v70/constructors/payments.paymentReceipt.md @@ -0,0 +1,47 @@ +--- +title: payments.paymentReceipt +description: Receipt +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: payments.paymentReceipt +[Back to constructors index](index.md) + + + +Receipt + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Date of generation| +|bot\_id|[int](../types/int.md) | Yes|Bot ID| +|invoice|[Invoice](../types/Invoice.md) | Yes|Invoice| +|provider\_id|[int](../types/int.md) | Yes|Provider ID| +|info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Optional|Info| +|shipping|[ShippingOption](../types/ShippingOption.md) | Optional|Selected shipping option| +|currency|[string](../types/string.md) | Yes|Three-letter ISO 4217 [currency](https://core.telegram.org/bots/payments#supported-currencies) code| +|total\_amount|[long](../types/long.md) | Yes|Total amount in the smallest units of the currency (integer, not float/double). For example, for a price of `US$ 1.45` pass `amount = 145`. See the exp parameter in [currencies.json](https://core.telegram.org/bots/payments/currencies.json), it shows the number of digits past the decimal point for each currency (2 for the majority of currencies).| +|credentials\_title|[string](../types/string.md) | Yes|Payment credential name| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [payments.PaymentReceipt](../types/payments.PaymentReceipt.md) + + +### Example: + +```php +$payments.paymentReceipt = ['_' => 'payments.paymentReceipt', 'date' => int, 'bot_id' => int, 'invoice' => Invoice, 'provider_id' => int, 'info' => PaymentRequestedInfo, 'shipping' => ShippingOption, 'currency' => 'string', 'total_amount' => long, 'credentials_title' => 'string', 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +payments.paymentReceipt={_='payments.paymentReceipt', date=int, bot_id=int, invoice=Invoice, provider_id=int, info=PaymentRequestedInfo, shipping=ShippingOption, currency='string', total_amount=long, credentials_title='string', users={User}} + +``` + + diff --git a/old_docs/API_docs_v70/constructors/payments.paymentResult.md b/old_docs/API_docs_v70/constructors/payments.paymentResult.md new file mode 100644 index 00000000..df32fd91 --- /dev/null +++ b/old_docs/API_docs_v70/constructors/payments.paymentResult.md @@ -0,0 +1,38 @@ +--- +title: payments.paymentResult +description: Payment result +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: payments.paymentResult +[Back to constructors index](index.md) + + + +Payment result + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|updates|[Updates](../types/Updates.md) | Yes|Info about the payment| + + + +### Type: [payments.PaymentResult](../types/payments.PaymentResult.md) + + +### Example: + +```php +$payments.paymentResult = ['_' => 'payments.paymentResult', 'updates' => Updates]; +``` + + +Or, if you're into Lua: + +```lua +payments.paymentResult={_='payments.paymentResult', updates=Updates} + +``` + + diff --git a/old_docs/API_docs_v70/constructors/payments.paymentVerficationNeeded.md b/old_docs/API_docs_v70/constructors/payments.paymentVerficationNeeded.md new file mode 100644 index 00000000..3f459215 --- /dev/null +++ b/old_docs/API_docs_v70/constructors/payments.paymentVerficationNeeded.md @@ -0,0 +1,38 @@ +--- +title: payments.paymentVerficationNeeded +description: Payment verfication needed +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: payments.paymentVerficationNeeded +[Back to constructors index](index.md) + + + +Payment verfication needed + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|url|[string](../types/string.md) | Yes|URL| + + + +### Type: [payments.PaymentResult](../types/payments.PaymentResult.md) + + +### Example: + +```php +$payments.paymentVerficationNeeded = ['_' => 'payments.paymentVerficationNeeded', 'url' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +payments.paymentVerficationNeeded={_='payments.paymentVerficationNeeded', url='string'} + +``` + + diff --git a/old_docs/API_docs_v70/constructors/payments.savedInfo.md b/old_docs/API_docs_v70/constructors/payments.savedInfo.md new file mode 100644 index 00000000..a005a842 --- /dev/null +++ b/old_docs/API_docs_v70/constructors/payments.savedInfo.md @@ -0,0 +1,39 @@ +--- +title: payments.savedInfo +description: Saved server-side order information +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: payments.savedInfo +[Back to constructors index](index.md) + + + +Saved server-side order information + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|has\_saved\_credentials|[Bool](../types/Bool.md) | Optional|Whether the user has some saved payment credentials| +|saved\_info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Optional|Saved server-side order information| + + + +### Type: [payments.SavedInfo](../types/payments.SavedInfo.md) + + +### Example: + +```php +$payments.savedInfo = ['_' => 'payments.savedInfo', 'has_saved_credentials' => Bool, 'saved_info' => PaymentRequestedInfo]; +``` + + +Or, if you're into Lua: + +```lua +payments.savedInfo={_='payments.savedInfo', has_saved_credentials=Bool, saved_info=PaymentRequestedInfo} + +``` + + diff --git a/old_docs/API_docs_v70/constructors/payments.validatedRequestedInfo.md b/old_docs/API_docs_v70/constructors/payments.validatedRequestedInfo.md new file mode 100644 index 00000000..4789b28d --- /dev/null +++ b/old_docs/API_docs_v70/constructors/payments.validatedRequestedInfo.md @@ -0,0 +1,39 @@ +--- +title: payments.validatedRequestedInfo +description: Validated user-provided info +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: payments.validatedRequestedInfo +[Back to constructors index](index.md) + + + +Validated user-provided info + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|id|[string](../types/string.md) | Optional|ID| +|shipping\_options|Array of [ShippingOption](../types/ShippingOption.md) | Optional|Shipping options| + + + +### Type: [payments.ValidatedRequestedInfo](../types/payments.ValidatedRequestedInfo.md) + + +### Example: + +```php +$payments.validatedRequestedInfo = ['_' => 'payments.validatedRequestedInfo', 'id' => 'string', 'shipping_options' => [ShippingOption, ShippingOption]]; +``` + + +Or, if you're into Lua: + +```lua +payments.validatedRequestedInfo={_='payments.validatedRequestedInfo', id='string', shipping_options={ShippingOption}} + +``` + + diff --git a/old_docs/API_docs_v70/constructors/payments_paymentForm.md b/old_docs/API_docs_v70/constructors/payments_paymentForm.md deleted file mode 100644 index 88848527..00000000 --- a/old_docs/API_docs_v70/constructors/payments_paymentForm.md +++ /dev/null @@ -1,48 +0,0 @@ ---- -title: payments.paymentForm -description: Payment form -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: payments.paymentForm -[Back to constructors index](index.md) - - - -Payment form - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|can\_save\_credentials|[Bool](../types/Bool.md) | Optional|Whether the user can choose to save credentials.| -|password\_missing|[Bool](../types/Bool.md) | Optional|Indicates that the user can save payment credentials, but only after setting up a [2FA password](https://core.telegram.org/api/srp) (currently the account doesn't have a [2FA password](https://core.telegram.org/api/srp))| -|bot\_id|[int](../types/int.md) | Yes|Bot ID| -|invoice|[Invoice](../types/Invoice.md) | Yes|Invoice| -|provider\_id|[int](../types/int.md) | Yes|Payment provider ID.| -|url|[string](../types/string.md) | Yes|Payment form URL| -|native\_provider|[string](../types/string.md) | Optional|Payment provider name.
One of the following:
\- `stripe`| -|native\_params|[DataJSON](../types/DataJSON.md) | Optional|Contains information about the payment provider, if available, to support it natively without the need for opening the URL.
A JSON object that can contain the following fields:

\- `publishable_key`: Stripe API publishable key
\- `apple_pay_merchant_id`: Apple Pay merchant ID
\- `android_pay_public_key`: Android Pay public key
\- `android_pay_bgcolor`: Android Pay form background color
\- `android_pay_inverse`: Whether to use the dark theme in the Android Pay form
\- `need_country`: True, if the user country must be provided,
\- `need_zip`: True, if the user ZIP/postal code must be provided,
\- `need_cardholder_name`: True, if the cardholder name must be provided
| -|saved\_info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Optional|Saved server-side order information| -|saved\_credentials|[PaymentSavedCredentials](../types/PaymentSavedCredentials.md) | Optional|Contains information about saved card credentials| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [payments\_PaymentForm](../types/payments_PaymentForm.md) - - -### Example: - -```php -$payments_paymentForm = ['_' => 'payments.paymentForm', 'can_save_credentials' => Bool, 'password_missing' => Bool, 'bot_id' => int, 'invoice' => Invoice, 'provider_id' => int, 'url' => 'string', 'native_provider' => 'string', 'native_params' => DataJSON, 'saved_info' => PaymentRequestedInfo, 'saved_credentials' => PaymentSavedCredentials, 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -payments_paymentForm={_='payments.paymentForm', can_save_credentials=Bool, password_missing=Bool, bot_id=int, invoice=Invoice, provider_id=int, url='string', native_provider='string', native_params=DataJSON, saved_info=PaymentRequestedInfo, saved_credentials=PaymentSavedCredentials, users={User}} - -``` - - diff --git a/old_docs/API_docs_v70/constructors/payments_paymentReceipt.md b/old_docs/API_docs_v70/constructors/payments_paymentReceipt.md deleted file mode 100644 index 411e9dee..00000000 --- a/old_docs/API_docs_v70/constructors/payments_paymentReceipt.md +++ /dev/null @@ -1,47 +0,0 @@ ---- -title: payments.paymentReceipt -description: Receipt -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: payments.paymentReceipt -[Back to constructors index](index.md) - - - -Receipt - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Date of generation| -|bot\_id|[int](../types/int.md) | Yes|Bot ID| -|invoice|[Invoice](../types/Invoice.md) | Yes|Invoice| -|provider\_id|[int](../types/int.md) | Yes|Provider ID| -|info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Optional|Info| -|shipping|[ShippingOption](../types/ShippingOption.md) | Optional|Selected shipping option| -|currency|[string](../types/string.md) | Yes|Three-letter ISO 4217 [currency](https://core.telegram.org/bots/payments#supported-currencies) code| -|total\_amount|[long](../types/long.md) | Yes|Total amount in the smallest units of the currency (integer, not float/double). For example, for a price of `US$ 1.45` pass `amount = 145`. See the exp parameter in [currencies.json](https://core.telegram.org/bots/payments/currencies.json), it shows the number of digits past the decimal point for each currency (2 for the majority of currencies).| -|credentials\_title|[string](../types/string.md) | Yes|Payment credential name| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [payments\_PaymentReceipt](../types/payments_PaymentReceipt.md) - - -### Example: - -```php -$payments_paymentReceipt = ['_' => 'payments.paymentReceipt', 'date' => int, 'bot_id' => int, 'invoice' => Invoice, 'provider_id' => int, 'info' => PaymentRequestedInfo, 'shipping' => ShippingOption, 'currency' => 'string', 'total_amount' => long, 'credentials_title' => 'string', 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -payments_paymentReceipt={_='payments.paymentReceipt', date=int, bot_id=int, invoice=Invoice, provider_id=int, info=PaymentRequestedInfo, shipping=ShippingOption, currency='string', total_amount=long, credentials_title='string', users={User}} - -``` - - diff --git a/old_docs/API_docs_v70/constructors/payments_paymentResult.md b/old_docs/API_docs_v70/constructors/payments_paymentResult.md deleted file mode 100644 index 12af1d36..00000000 --- a/old_docs/API_docs_v70/constructors/payments_paymentResult.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: payments.paymentResult -description: Payment result -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: payments.paymentResult -[Back to constructors index](index.md) - - - -Payment result - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|updates|[Updates](../types/Updates.md) | Yes|Info about the payment| - - - -### Type: [payments\_PaymentResult](../types/payments_PaymentResult.md) - - -### Example: - -```php -$payments_paymentResult = ['_' => 'payments.paymentResult', 'updates' => Updates]; -``` - - -Or, if you're into Lua: - -```lua -payments_paymentResult={_='payments.paymentResult', updates=Updates} - -``` - - diff --git a/old_docs/API_docs_v70/constructors/payments_paymentVerficationNeeded.md b/old_docs/API_docs_v70/constructors/payments_paymentVerficationNeeded.md deleted file mode 100644 index 70ca205d..00000000 --- a/old_docs/API_docs_v70/constructors/payments_paymentVerficationNeeded.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: payments.paymentVerficationNeeded -description: Payment verfication needed -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: payments.paymentVerficationNeeded -[Back to constructors index](index.md) - - - -Payment verfication needed - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|url|[string](../types/string.md) | Yes|URL| - - - -### Type: [payments\_PaymentResult](../types/payments_PaymentResult.md) - - -### Example: - -```php -$payments_paymentVerficationNeeded = ['_' => 'payments.paymentVerficationNeeded', 'url' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -payments_paymentVerficationNeeded={_='payments.paymentVerficationNeeded', url='string'} - -``` - - diff --git a/old_docs/API_docs_v70/constructors/payments_savedInfo.md b/old_docs/API_docs_v70/constructors/payments_savedInfo.md deleted file mode 100644 index 19d3aee5..00000000 --- a/old_docs/API_docs_v70/constructors/payments_savedInfo.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: payments.savedInfo -description: Saved server-side order information -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: payments.savedInfo -[Back to constructors index](index.md) - - - -Saved server-side order information - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|has\_saved\_credentials|[Bool](../types/Bool.md) | Optional|Whether the user has some saved payment credentials| -|saved\_info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Optional|Saved server-side order information| - - - -### Type: [payments\_SavedInfo](../types/payments_SavedInfo.md) - - -### Example: - -```php -$payments_savedInfo = ['_' => 'payments.savedInfo', 'has_saved_credentials' => Bool, 'saved_info' => PaymentRequestedInfo]; -``` - - -Or, if you're into Lua: - -```lua -payments_savedInfo={_='payments.savedInfo', has_saved_credentials=Bool, saved_info=PaymentRequestedInfo} - -``` - - diff --git a/old_docs/API_docs_v70/constructors/payments_validatedRequestedInfo.md b/old_docs/API_docs_v70/constructors/payments_validatedRequestedInfo.md deleted file mode 100644 index a07c7d06..00000000 --- a/old_docs/API_docs_v70/constructors/payments_validatedRequestedInfo.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: payments.validatedRequestedInfo -description: Validated user-provided info -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: payments.validatedRequestedInfo -[Back to constructors index](index.md) - - - -Validated user-provided info - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|id|[string](../types/string.md) | Optional|ID| -|shipping\_options|Array of [ShippingOption](../types/ShippingOption.md) | Optional|Shipping options| - - - -### Type: [payments\_ValidatedRequestedInfo](../types/payments_ValidatedRequestedInfo.md) - - -### Example: - -```php -$payments_validatedRequestedInfo = ['_' => 'payments.validatedRequestedInfo', 'id' => 'string', 'shipping_options' => [ShippingOption, ShippingOption]]; -``` - - -Or, if you're into Lua: - -```lua -payments_validatedRequestedInfo={_='payments.validatedRequestedInfo', id='string', shipping_options={ShippingOption}} - -``` - - diff --git a/old_docs/API_docs_v70/constructors/phone.phoneCall.md b/old_docs/API_docs_v70/constructors/phone.phoneCall.md new file mode 100644 index 00000000..8c1d26d4 --- /dev/null +++ b/old_docs/API_docs_v70/constructors/phone.phoneCall.md @@ -0,0 +1,39 @@ +--- +title: phone.phoneCall +description: A VoIP phone call +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: phone.phoneCall +[Back to constructors index](index.md) + + + +A VoIP phone call + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_call|[PhoneCall](../types/PhoneCall.md) | Optional|The VoIP phone call| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [phone.PhoneCall](../types/phone.PhoneCall.md) + + +### Example: + +```php +$phone.phoneCall = ['_' => 'phone.phoneCall', 'phone_call' => PhoneCall, 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +phone.phoneCall={_='phone.phoneCall', phone_call=PhoneCall, users={User}} + +``` + + diff --git a/old_docs/API_docs_v70/constructors/phone_phoneCall.md b/old_docs/API_docs_v70/constructors/phone_phoneCall.md deleted file mode 100644 index 94314567..00000000 --- a/old_docs/API_docs_v70/constructors/phone_phoneCall.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: phone.phoneCall -description: A VoIP phone call -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: phone.phoneCall -[Back to constructors index](index.md) - - - -A VoIP phone call - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_call|[PhoneCall](../types/PhoneCall.md) | Optional|The VoIP phone call| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [phone\_PhoneCall](../types/phone_PhoneCall.md) - - -### Example: - -```php -$phone_phoneCall = ['_' => 'phone.phoneCall', 'phone_call' => PhoneCall, 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -phone_phoneCall={_='phone.phoneCall', phone_call=PhoneCall, users={User}} - -``` - - diff --git a/old_docs/API_docs_v70/constructors/photos.photo.md b/old_docs/API_docs_v70/constructors/photos.photo.md new file mode 100644 index 00000000..43d3efc7 --- /dev/null +++ b/old_docs/API_docs_v70/constructors/photos.photo.md @@ -0,0 +1,39 @@ +--- +title: photos.photo +description: Photo with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: photos.photo +[Back to constructors index](index.md) + + + +Photo with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|photo|[Photo](../types/Photo.md) | Optional|Photo| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [photos.Photo](../types/photos.Photo.md) + + +### Example: + +```php +$photos.photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +photos.photo={_='photos.photo', photo=Photo, users={User}} + +``` + + diff --git a/old_docs/API_docs_v70/constructors/photos.photos.md b/old_docs/API_docs_v70/constructors/photos.photos.md new file mode 100644 index 00000000..901a9693 --- /dev/null +++ b/old_docs/API_docs_v70/constructors/photos.photos.md @@ -0,0 +1,39 @@ +--- +title: photos.photos +description: Full list of photos with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: photos.photos +[Back to constructors index](index.md) + + + +Full list of photos with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [photos.Photos](../types/photos.Photos.md) + + +### Example: + +```php +$photos.photos = ['_' => 'photos.photos', 'photos' => [Photo, Photo], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +photos.photos={_='photos.photos', photos={Photo}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v70/constructors/photos.photosSlice.md b/old_docs/API_docs_v70/constructors/photos.photosSlice.md new file mode 100644 index 00000000..2cca3546 --- /dev/null +++ b/old_docs/API_docs_v70/constructors/photos.photosSlice.md @@ -0,0 +1,40 @@ +--- +title: photos.photosSlice +description: Incomplete list of photos with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: photos.photosSlice +[Back to constructors index](index.md) + + + +Incomplete list of photos with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of photos| +|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [photos.Photos](../types/photos.Photos.md) + + +### Example: + +```php +$photos.photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo, Photo], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +photos.photosSlice={_='photos.photosSlice', count=int, photos={Photo}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v70/constructors/photos_photo.md b/old_docs/API_docs_v70/constructors/photos_photo.md deleted file mode 100644 index d5ad61d9..00000000 --- a/old_docs/API_docs_v70/constructors/photos_photo.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: photos.photo -description: Photo with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: photos.photo -[Back to constructors index](index.md) - - - -Photo with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|photo|[Photo](../types/Photo.md) | Optional|Photo| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [photos\_Photo](../types/photos_Photo.md) - - -### Example: - -```php -$photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -photos_photo={_='photos.photo', photo=Photo, users={User}} - -``` - - diff --git a/old_docs/API_docs_v70/constructors/photos_photos.md b/old_docs/API_docs_v70/constructors/photos_photos.md deleted file mode 100644 index 6ae5d048..00000000 --- a/old_docs/API_docs_v70/constructors/photos_photos.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: photos.photos -description: Full list of photos with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: photos.photos -[Back to constructors index](index.md) - - - -Full list of photos with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [photos\_Photos](../types/photos_Photos.md) - - -### Example: - -```php -$photos_photos = ['_' => 'photos.photos', 'photos' => [Photo, Photo], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -photos_photos={_='photos.photos', photos={Photo}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v70/constructors/photos_photosSlice.md b/old_docs/API_docs_v70/constructors/photos_photosSlice.md deleted file mode 100644 index 5c465c21..00000000 --- a/old_docs/API_docs_v70/constructors/photos_photosSlice.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: photos.photosSlice -description: Incomplete list of photos with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: photos.photosSlice -[Back to constructors index](index.md) - - - -Incomplete list of photos with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of photos| -|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [photos\_Photos](../types/photos_Photos.md) - - -### Example: - -```php -$photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo, Photo], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -photos_photosSlice={_='photos.photosSlice', count=int, photos={Photo}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v70/constructors/storage.fileGif.md b/old_docs/API_docs_v70/constructors/storage.fileGif.md new file mode 100644 index 00000000..8193bd25 --- /dev/null +++ b/old_docs/API_docs_v70/constructors/storage.fileGif.md @@ -0,0 +1,33 @@ +--- +title: storage.fileGif +description: GIF image. MIME type: `image/gif`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileGif +[Back to constructors index](index.md) + + + +GIF image. MIME type: `image/gif`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileGif = ['_' => 'storage.fileGif']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileGif={_='storage.fileGif'} + +``` + + diff --git a/old_docs/API_docs_v70/constructors/storage.fileJpeg.md b/old_docs/API_docs_v70/constructors/storage.fileJpeg.md new file mode 100644 index 00000000..7f125963 --- /dev/null +++ b/old_docs/API_docs_v70/constructors/storage.fileJpeg.md @@ -0,0 +1,33 @@ +--- +title: storage.fileJpeg +description: JPEG image. MIME type: `image/jpeg`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileJpeg +[Back to constructors index](index.md) + + + +JPEG image. MIME type: `image/jpeg`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileJpeg = ['_' => 'storage.fileJpeg']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileJpeg={_='storage.fileJpeg'} + +``` + + diff --git a/old_docs/API_docs_v70/constructors/storage.fileMov.md b/old_docs/API_docs_v70/constructors/storage.fileMov.md new file mode 100644 index 00000000..cb3742e0 --- /dev/null +++ b/old_docs/API_docs_v70/constructors/storage.fileMov.md @@ -0,0 +1,33 @@ +--- +title: storage.fileMov +description: Quicktime video. MIME type: `video/quicktime`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileMov +[Back to constructors index](index.md) + + + +Quicktime video. MIME type: `video/quicktime`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileMov = ['_' => 'storage.fileMov']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileMov={_='storage.fileMov'} + +``` + + diff --git a/old_docs/API_docs_v70/constructors/storage.fileMp3.md b/old_docs/API_docs_v70/constructors/storage.fileMp3.md new file mode 100644 index 00000000..617f2d39 --- /dev/null +++ b/old_docs/API_docs_v70/constructors/storage.fileMp3.md @@ -0,0 +1,33 @@ +--- +title: storage.fileMp3 +description: Mp3 audio. MIME type: `audio/mpeg`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileMp3 +[Back to constructors index](index.md) + + + +Mp3 audio. MIME type: `audio/mpeg`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileMp3 = ['_' => 'storage.fileMp3']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileMp3={_='storage.fileMp3'} + +``` + + diff --git a/old_docs/API_docs_v70/constructors/storage.fileMp4.md b/old_docs/API_docs_v70/constructors/storage.fileMp4.md new file mode 100644 index 00000000..37038176 --- /dev/null +++ b/old_docs/API_docs_v70/constructors/storage.fileMp4.md @@ -0,0 +1,33 @@ +--- +title: storage.fileMp4 +description: MPEG-4 video. MIME type: `video/mp4`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileMp4 +[Back to constructors index](index.md) + + + +MPEG-4 video. MIME type: `video/mp4`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileMp4 = ['_' => 'storage.fileMp4']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileMp4={_='storage.fileMp4'} + +``` + + diff --git a/old_docs/API_docs_v70/constructors/storage.filePartial.md b/old_docs/API_docs_v70/constructors/storage.filePartial.md new file mode 100644 index 00000000..98779e71 --- /dev/null +++ b/old_docs/API_docs_v70/constructors/storage.filePartial.md @@ -0,0 +1,33 @@ +--- +title: storage.filePartial +description: Part of a bigger file. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.filePartial +[Back to constructors index](index.md) + + + +Part of a bigger file. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.filePartial = ['_' => 'storage.filePartial']; +``` + + +Or, if you're into Lua: + +```lua +storage.filePartial={_='storage.filePartial'} + +``` + + diff --git a/old_docs/API_docs_v70/constructors/storage.filePdf.md b/old_docs/API_docs_v70/constructors/storage.filePdf.md new file mode 100644 index 00000000..136c0614 --- /dev/null +++ b/old_docs/API_docs_v70/constructors/storage.filePdf.md @@ -0,0 +1,33 @@ +--- +title: storage.filePdf +description: PDF document image. MIME type: `application/pdf`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.filePdf +[Back to constructors index](index.md) + + + +PDF document image. MIME type: `application/pdf`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.filePdf = ['_' => 'storage.filePdf']; +``` + + +Or, if you're into Lua: + +```lua +storage.filePdf={_='storage.filePdf'} + +``` + + diff --git a/old_docs/API_docs_v70/constructors/storage.filePng.md b/old_docs/API_docs_v70/constructors/storage.filePng.md new file mode 100644 index 00000000..db01ce0e --- /dev/null +++ b/old_docs/API_docs_v70/constructors/storage.filePng.md @@ -0,0 +1,33 @@ +--- +title: storage.filePng +description: PNG image. MIME type: `image/png`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.filePng +[Back to constructors index](index.md) + + + +PNG image. MIME type: `image/png`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.filePng = ['_' => 'storage.filePng']; +``` + + +Or, if you're into Lua: + +```lua +storage.filePng={_='storage.filePng'} + +``` + + diff --git a/old_docs/API_docs_v70/constructors/storage.fileUnknown.md b/old_docs/API_docs_v70/constructors/storage.fileUnknown.md new file mode 100644 index 00000000..26f0a5ae --- /dev/null +++ b/old_docs/API_docs_v70/constructors/storage.fileUnknown.md @@ -0,0 +1,33 @@ +--- +title: storage.fileUnknown +description: Unknown type. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileUnknown +[Back to constructors index](index.md) + + + +Unknown type. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileUnknown = ['_' => 'storage.fileUnknown']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileUnknown={_='storage.fileUnknown'} + +``` + + diff --git a/old_docs/API_docs_v70/constructors/storage.fileWebp.md b/old_docs/API_docs_v70/constructors/storage.fileWebp.md new file mode 100644 index 00000000..63c9ded1 --- /dev/null +++ b/old_docs/API_docs_v70/constructors/storage.fileWebp.md @@ -0,0 +1,33 @@ +--- +title: storage.fileWebp +description: WEBP image. MIME type: `image/webp`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileWebp +[Back to constructors index](index.md) + + + +WEBP image. MIME type: `image/webp`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileWebp = ['_' => 'storage.fileWebp']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileWebp={_='storage.fileWebp'} + +``` + + diff --git a/old_docs/API_docs_v70/constructors/storage_fileGif.md b/old_docs/API_docs_v70/constructors/storage_fileGif.md deleted file mode 100644 index 218c7491..00000000 --- a/old_docs/API_docs_v70/constructors/storage_fileGif.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileGif -description: GIF image. MIME type: `image/gif`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileGif -[Back to constructors index](index.md) - - - -GIF image. MIME type: `image/gif`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileGif = ['_' => 'storage.fileGif']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileGif={_='storage.fileGif'} - -``` - - diff --git a/old_docs/API_docs_v70/constructors/storage_fileJpeg.md b/old_docs/API_docs_v70/constructors/storage_fileJpeg.md deleted file mode 100644 index 925531cd..00000000 --- a/old_docs/API_docs_v70/constructors/storage_fileJpeg.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileJpeg -description: JPEG image. MIME type: `image/jpeg`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileJpeg -[Back to constructors index](index.md) - - - -JPEG image. MIME type: `image/jpeg`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileJpeg = ['_' => 'storage.fileJpeg']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileJpeg={_='storage.fileJpeg'} - -``` - - diff --git a/old_docs/API_docs_v70/constructors/storage_fileMov.md b/old_docs/API_docs_v70/constructors/storage_fileMov.md deleted file mode 100644 index eaf2a6ff..00000000 --- a/old_docs/API_docs_v70/constructors/storage_fileMov.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileMov -description: Quicktime video. MIME type: `video/quicktime`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileMov -[Back to constructors index](index.md) - - - -Quicktime video. MIME type: `video/quicktime`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileMov = ['_' => 'storage.fileMov']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileMov={_='storage.fileMov'} - -``` - - diff --git a/old_docs/API_docs_v70/constructors/storage_fileMp3.md b/old_docs/API_docs_v70/constructors/storage_fileMp3.md deleted file mode 100644 index 9afcefbb..00000000 --- a/old_docs/API_docs_v70/constructors/storage_fileMp3.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileMp3 -description: Mp3 audio. MIME type: `audio/mpeg`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileMp3 -[Back to constructors index](index.md) - - - -Mp3 audio. MIME type: `audio/mpeg`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileMp3 = ['_' => 'storage.fileMp3']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileMp3={_='storage.fileMp3'} - -``` - - diff --git a/old_docs/API_docs_v70/constructors/storage_fileMp4.md b/old_docs/API_docs_v70/constructors/storage_fileMp4.md deleted file mode 100644 index cdc0e783..00000000 --- a/old_docs/API_docs_v70/constructors/storage_fileMp4.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileMp4 -description: MPEG-4 video. MIME type: `video/mp4`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileMp4 -[Back to constructors index](index.md) - - - -MPEG-4 video. MIME type: `video/mp4`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileMp4 = ['_' => 'storage.fileMp4']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileMp4={_='storage.fileMp4'} - -``` - - diff --git a/old_docs/API_docs_v70/constructors/storage_filePartial.md b/old_docs/API_docs_v70/constructors/storage_filePartial.md deleted file mode 100644 index 9bfadf63..00000000 --- a/old_docs/API_docs_v70/constructors/storage_filePartial.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.filePartial -description: Part of a bigger file. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.filePartial -[Back to constructors index](index.md) - - - -Part of a bigger file. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_filePartial = ['_' => 'storage.filePartial']; -``` - - -Or, if you're into Lua: - -```lua -storage_filePartial={_='storage.filePartial'} - -``` - - diff --git a/old_docs/API_docs_v70/constructors/storage_filePdf.md b/old_docs/API_docs_v70/constructors/storage_filePdf.md deleted file mode 100644 index efb022cc..00000000 --- a/old_docs/API_docs_v70/constructors/storage_filePdf.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.filePdf -description: PDF document image. MIME type: `application/pdf`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.filePdf -[Back to constructors index](index.md) - - - -PDF document image. MIME type: `application/pdf`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_filePdf = ['_' => 'storage.filePdf']; -``` - - -Or, if you're into Lua: - -```lua -storage_filePdf={_='storage.filePdf'} - -``` - - diff --git a/old_docs/API_docs_v70/constructors/storage_filePng.md b/old_docs/API_docs_v70/constructors/storage_filePng.md deleted file mode 100644 index 412759e4..00000000 --- a/old_docs/API_docs_v70/constructors/storage_filePng.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.filePng -description: PNG image. MIME type: `image/png`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.filePng -[Back to constructors index](index.md) - - - -PNG image. MIME type: `image/png`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_filePng = ['_' => 'storage.filePng']; -``` - - -Or, if you're into Lua: - -```lua -storage_filePng={_='storage.filePng'} - -``` - - diff --git a/old_docs/API_docs_v70/constructors/storage_fileUnknown.md b/old_docs/API_docs_v70/constructors/storage_fileUnknown.md deleted file mode 100644 index ed33dd5e..00000000 --- a/old_docs/API_docs_v70/constructors/storage_fileUnknown.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileUnknown -description: Unknown type. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileUnknown -[Back to constructors index](index.md) - - - -Unknown type. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileUnknown = ['_' => 'storage.fileUnknown']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileUnknown={_='storage.fileUnknown'} - -``` - - diff --git a/old_docs/API_docs_v70/constructors/storage_fileWebp.md b/old_docs/API_docs_v70/constructors/storage_fileWebp.md deleted file mode 100644 index 04dcad74..00000000 --- a/old_docs/API_docs_v70/constructors/storage_fileWebp.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileWebp -description: WEBP image. MIME type: `image/webp`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileWebp -[Back to constructors index](index.md) - - - -WEBP image. MIME type: `image/webp`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileWebp = ['_' => 'storage.fileWebp']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileWebp={_='storage.fileWebp'} - -``` - - diff --git a/old_docs/API_docs_v70/constructors/updateNewStickerSet.md b/old_docs/API_docs_v70/constructors/updateNewStickerSet.md index 8a99a363..c32c41ff 100644 --- a/old_docs/API_docs_v70/constructors/updateNewStickerSet.md +++ b/old_docs/API_docs_v70/constructors/updateNewStickerSet.md @@ -14,7 +14,7 @@ A new stickerset was installed | Name | Type | Required | Description | |----------|---------------|----------|-------------| -|stickerset|[messages\_StickerSet](../types/messages_StickerSet.md) | Yes|The installed stickerset| +|stickerset|[messages.StickerSet](../constructors/messages.StickerSet.md) | Yes|The installed stickerset| @@ -24,14 +24,14 @@ A new stickerset was installed ### Example: ```php -$updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages_StickerSet]; +$updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages.StickerSet]; ``` Or, if you're into Lua: ```lua -updateNewStickerSet={_='updateNewStickerSet', stickerset=messages_StickerSet} +updateNewStickerSet={_='updateNewStickerSet', stickerset=messages.StickerSet} ``` diff --git a/old_docs/API_docs_v70/constructors/updates.channelDifference.md b/old_docs/API_docs_v70/constructors/updates.channelDifference.md new file mode 100644 index 00000000..5a13791c --- /dev/null +++ b/old_docs/API_docs_v70/constructors/updates.channelDifference.md @@ -0,0 +1,44 @@ +--- +title: updates.channelDifference +description: The new updates +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.channelDifference +[Back to constructors index](index.md) + + + +The new updates + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates to be fetched using getDifference, starting from the provided `pts`| +|pts|[int](../types/int.md) | Yes|The [PTS](https://core.telegram.org/api/updates) from which to start getting updates the next time| +|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| +|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| +|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [updates.ChannelDifference](../types/updates.ChannelDifference.md) + + +### Example: + +```php +$updates.channelDifference = ['_' => 'updates.channelDifference', 'final' => Bool, 'pts' => int, 'timeout' => int, 'new_messages' => [Message, Message], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +updates.channelDifference={_='updates.channelDifference', final=Bool, pts=int, timeout=int, new_messages={Message}, other_updates={Update}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v70/constructors/updates.channelDifferenceEmpty.md b/old_docs/API_docs_v70/constructors/updates.channelDifferenceEmpty.md new file mode 100644 index 00000000..8ce43da4 --- /dev/null +++ b/old_docs/API_docs_v70/constructors/updates.channelDifferenceEmpty.md @@ -0,0 +1,40 @@ +--- +title: updates.channelDifferenceEmpty +description: There are no new updates +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.channelDifferenceEmpty +[Back to constructors index](index.md) + + + +There are no new updates + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates that must be fetched (always false)| +|pts|[int](../types/int.md) | Yes|The latest [PTS](https://core.telegram.org/api/updates)| +|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| + + + +### Type: [updates.ChannelDifference](../types/updates.ChannelDifference.md) + + +### Example: + +```php +$updates.channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'final' => Bool, 'pts' => int, 'timeout' => int]; +``` + + +Or, if you're into Lua: + +```lua +updates.channelDifferenceEmpty={_='updates.channelDifferenceEmpty', final=Bool, pts=int, timeout=int} + +``` + + diff --git a/old_docs/API_docs_v70/constructors/updates.channelDifferenceTooLong.md b/old_docs/API_docs_v70/constructors/updates.channelDifferenceTooLong.md new file mode 100644 index 00000000..3d47a6df --- /dev/null +++ b/old_docs/API_docs_v70/constructors/updates.channelDifferenceTooLong.md @@ -0,0 +1,57 @@ +--- +title: updates.channelDifferenceTooLong +description: The provided `pts + limit < remote pts`. Simply, there are too many updates to be fetched (more than `limit`), the client has to resolve the update gap in one of the following ways: + +1. Delete all known messages in the chat, begin from scratch by refetching all messages manually with [getHistory](../methods/messages.getHistory.md). It is easy to implement, but suddenly disappearing messages looks awful for the user. +2. Save all messages loaded in the memory until application restart, but delete all messages from database. Messages left in the memory must be lazily updated using calls to [getHistory](../methods/messages.getHistory.md). It looks much smoothly for the user, he will need to redownload messages only after client restart. Unsynchronized messages left in the memory shouldn't be saved to database, results of [getHistory](../methods/messages.getHistory.md) and [getMessages](../methods/messages.getMessages.md) must be used to update state of deleted and edited messages left in the memory. +3. Save all messages loaded in the memory and stored in the database without saving that some messages form continuous ranges. Messages in the database will be excluded from results of getChatHistory and searchChatMessages after application restart and will be available only through getMessage. Every message should still be checked using getHistory. It has more disadvantages over 2) than advantages. +4. Save all messages with saving all data about continuous message ranges. Messages from the database may be used as results of getChatHistory and (if implemented continuous ranges support for searching shared media) searchChatMessages. The messages should still be lazily checked using getHistory, but they are still available offline. It is the best way for gaps support, but it is pretty hard to implement correctly. It should be also noted that some messages like live location messages shouldn't be deleted. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.channelDifferenceTooLong +[Back to constructors index](index.md) + + + +The provided `pts + limit < remote pts`. Simply, there are too many updates to be fetched (more than `limit`), the client has to resolve the update gap in one of the following ways: + +1. Delete all known messages in the chat, begin from scratch by refetching all messages manually with [getHistory](../methods/messages.getHistory.md). It is easy to implement, but suddenly disappearing messages looks awful for the user. +2. Save all messages loaded in the memory until application restart, but delete all messages from database. Messages left in the memory must be lazily updated using calls to [getHistory](../methods/messages.getHistory.md). It looks much smoothly for the user, he will need to redownload messages only after client restart. Unsynchronized messages left in the memory shouldn't be saved to database, results of [getHistory](../methods/messages.getHistory.md) and [getMessages](../methods/messages.getMessages.md) must be used to update state of deleted and edited messages left in the memory. +3. Save all messages loaded in the memory and stored in the database without saving that some messages form continuous ranges. Messages in the database will be excluded from results of getChatHistory and searchChatMessages after application restart and will be available only through getMessage. Every message should still be checked using getHistory. It has more disadvantages over 2) than advantages. +4. Save all messages with saving all data about continuous message ranges. Messages from the database may be used as results of getChatHistory and (if implemented continuous ranges support for searching shared media) searchChatMessages. The messages should still be lazily checked using getHistory, but they are still available offline. It is the best way for gaps support, but it is pretty hard to implement correctly. It should be also noted that some messages like live location messages shouldn't be deleted. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates that must be fetched (always false)| +|pts|[int](../types/int.md) | Yes|Pts| +|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| +|top\_message|[int](../types/int.md) | Yes|Top message| +|read\_inbox\_max\_id|[int](../types/int.md) | Yes|Read inbox max ID| +|read\_outbox\_max\_id|[int](../types/int.md) | Yes|Read outbox max ID| +|unread\_count|[int](../types/int.md) | Yes|Unread count| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [updates.ChannelDifference](../types/updates.ChannelDifference.md) + + +### Example: + +```php +$updates.channelDifferenceTooLong = ['_' => 'updates.channelDifferenceTooLong', 'final' => Bool, 'pts' => int, 'timeout' => int, 'top_message' => int, 'read_inbox_max_id' => int, 'read_outbox_max_id' => int, 'unread_count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +updates.channelDifferenceTooLong={_='updates.channelDifferenceTooLong', final=Bool, pts=int, timeout=int, top_message=int, read_inbox_max_id=int, read_outbox_max_id=int, unread_count=int, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v70/constructors/updates.difference.md b/old_docs/API_docs_v70/constructors/updates.difference.md new file mode 100644 index 00000000..82541b51 --- /dev/null +++ b/old_docs/API_docs_v70/constructors/updates.difference.md @@ -0,0 +1,43 @@ +--- +title: updates.difference +description: Full list of occurred events. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.difference +[Back to constructors index](index.md) + + + +Full list of occurred events. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| +|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| +|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| +|state|[updates.State](../constructors/updates.State.md) | Yes|Current state| + + + +### Type: [updates.Difference](../types/updates.Difference.md) + + +### Example: + +```php +$updates.difference = ['_' => 'updates.difference', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates.State]; +``` + + +Or, if you're into Lua: + +```lua +updates.difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates.State} + +``` + + diff --git a/old_docs/API_docs_v70/constructors/updates.differenceEmpty.md b/old_docs/API_docs_v70/constructors/updates.differenceEmpty.md new file mode 100644 index 00000000..a9dc3bd0 --- /dev/null +++ b/old_docs/API_docs_v70/constructors/updates.differenceEmpty.md @@ -0,0 +1,39 @@ +--- +title: updates.differenceEmpty +description: No events. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.differenceEmpty +[Back to constructors index](index.md) + + + +No events. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Current date| +|seq|[int](../types/int.md) | Yes|Number of sent updates| + + + +### Type: [updates.Difference](../types/updates.Difference.md) + + +### Example: + +```php +$updates.differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int]; +``` + + +Or, if you're into Lua: + +```lua +updates.differenceEmpty={_='updates.differenceEmpty', date=int, seq=int} + +``` + + diff --git a/old_docs/API_docs_v70/constructors/updates.differenceSlice.md b/old_docs/API_docs_v70/constructors/updates.differenceSlice.md new file mode 100644 index 00000000..9daf7a75 --- /dev/null +++ b/old_docs/API_docs_v70/constructors/updates.differenceSlice.md @@ -0,0 +1,43 @@ +--- +title: updates.differenceSlice +description: Incomplete list of occurred events. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.differenceSlice +[Back to constructors index](index.md) + + + +Incomplete list of occurred events. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| +|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| +|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| +|intermediate\_state|[updates.State](../constructors/updates.State.md) | Yes|Intermediary state| + + + +### Type: [updates.Difference](../types/updates.Difference.md) + + +### Example: + +```php +$updates.differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'intermediate_state' => updates.State]; +``` + + +Or, if you're into Lua: + +```lua +updates.differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates.State} + +``` + + diff --git a/old_docs/API_docs_v70/constructors/updates.differenceTooLong.md b/old_docs/API_docs_v70/constructors/updates.differenceTooLong.md new file mode 100644 index 00000000..ef2e7e4d --- /dev/null +++ b/old_docs/API_docs_v70/constructors/updates.differenceTooLong.md @@ -0,0 +1,38 @@ +--- +title: updates.differenceTooLong +description: The difference is [too long](https://core.telegram.org/api/updates#recovering-gaps), and the specified state must be used to refetch updates. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.differenceTooLong +[Back to constructors index](index.md) + + + +The difference is [too long](https://core.telegram.org/api/updates#recovering-gaps), and the specified state must be used to refetch updates. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|The new state to use.| + + + +### Type: [updates.Difference](../types/updates.Difference.md) + + +### Example: + +```php +$updates.differenceTooLong = ['_' => 'updates.differenceTooLong', 'pts' => int]; +``` + + +Or, if you're into Lua: + +```lua +updates.differenceTooLong={_='updates.differenceTooLong', pts=int} + +``` + + diff --git a/old_docs/API_docs_v70/constructors/updates.state.md b/old_docs/API_docs_v70/constructors/updates.state.md new file mode 100644 index 00000000..abe9ddbb --- /dev/null +++ b/old_docs/API_docs_v70/constructors/updates.state.md @@ -0,0 +1,42 @@ +--- +title: updates.state +description: Updates state. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.state +[Back to constructors index](index.md) + + + +Updates state. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| +|qts|[int](../types/int.md) | Yes|Position in a sequence of updates in secret chats. For further detailes refer to article [secret chats](https://core.telegram.org/api/end-to-end)
Parameter was added in [eigth layer](https://core.telegram.org/api/layers#layer-8).| +|date|[int](../types/int.md) | Yes|Date of condition| +|seq|[int](../types/int.md) | Yes|Number of sent updates| +|unread\_count|[int](../types/int.md) | Yes|Number of unread messages| + + + +### Type: [updates.State](../types/updates.State.md) + + +### Example: + +```php +$updates.state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int]; +``` + + +Or, if you're into Lua: + +```lua +updates.state={_='updates.state', pts=int, qts=int, date=int, seq=int, unread_count=int} + +``` + + diff --git a/old_docs/API_docs_v70/constructors/updates_channelDifference.md b/old_docs/API_docs_v70/constructors/updates_channelDifference.md deleted file mode 100644 index 1b50fbf3..00000000 --- a/old_docs/API_docs_v70/constructors/updates_channelDifference.md +++ /dev/null @@ -1,44 +0,0 @@ ---- -title: updates.channelDifference -description: The new updates -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.channelDifference -[Back to constructors index](index.md) - - - -The new updates - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates to be fetched using getDifference, starting from the provided `pts`| -|pts|[int](../types/int.md) | Yes|The [PTS](https://core.telegram.org/api/updates) from which to start getting updates the next time| -|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| -|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| -|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) - - -### Example: - -```php -$updates_channelDifference = ['_' => 'updates.channelDifference', 'final' => Bool, 'pts' => int, 'timeout' => int, 'new_messages' => [Message, Message], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -updates_channelDifference={_='updates.channelDifference', final=Bool, pts=int, timeout=int, new_messages={Message}, other_updates={Update}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v70/constructors/updates_channelDifferenceEmpty.md b/old_docs/API_docs_v70/constructors/updates_channelDifferenceEmpty.md deleted file mode 100644 index 713137aa..00000000 --- a/old_docs/API_docs_v70/constructors/updates_channelDifferenceEmpty.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: updates.channelDifferenceEmpty -description: There are no new updates -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.channelDifferenceEmpty -[Back to constructors index](index.md) - - - -There are no new updates - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates that must be fetched (always false)| -|pts|[int](../types/int.md) | Yes|The latest [PTS](https://core.telegram.org/api/updates)| -|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| - - - -### Type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) - - -### Example: - -```php -$updates_channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'final' => Bool, 'pts' => int, 'timeout' => int]; -``` - - -Or, if you're into Lua: - -```lua -updates_channelDifferenceEmpty={_='updates.channelDifferenceEmpty', final=Bool, pts=int, timeout=int} - -``` - - diff --git a/old_docs/API_docs_v70/constructors/updates_channelDifferenceTooLong.md b/old_docs/API_docs_v70/constructors/updates_channelDifferenceTooLong.md deleted file mode 100644 index fe561bca..00000000 --- a/old_docs/API_docs_v70/constructors/updates_channelDifferenceTooLong.md +++ /dev/null @@ -1,57 +0,0 @@ ---- -title: updates.channelDifferenceTooLong -description: The provided `pts + limit < remote pts`. Simply, there are too many updates to be fetched (more than `limit`), the client has to resolve the update gap in one of the following ways: - -1. Delete all known messages in the chat, begin from scratch by refetching all messages manually with [getHistory](../methods/messages.getHistory.md). It is easy to implement, but suddenly disappearing messages looks awful for the user. -2. Save all messages loaded in the memory until application restart, but delete all messages from database. Messages left in the memory must be lazily updated using calls to [getHistory](../methods/messages.getHistory.md). It looks much smoothly for the user, he will need to redownload messages only after client restart. Unsynchronized messages left in the memory shouldn't be saved to database, results of [getHistory](../methods/messages.getHistory.md) and [getMessages](../methods/messages.getMessages.md) must be used to update state of deleted and edited messages left in the memory. -3. Save all messages loaded in the memory and stored in the database without saving that some messages form continuous ranges. Messages in the database will be excluded from results of getChatHistory and searchChatMessages after application restart and will be available only through getMessage. Every message should still be checked using getHistory. It has more disadvantages over 2) than advantages. -4. Save all messages with saving all data about continuous message ranges. Messages from the database may be used as results of getChatHistory and (if implemented continuous ranges support for searching shared media) searchChatMessages. The messages should still be lazily checked using getHistory, but they are still available offline. It is the best way for gaps support, but it is pretty hard to implement correctly. It should be also noted that some messages like live location messages shouldn't be deleted. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.channelDifferenceTooLong -[Back to constructors index](index.md) - - - -The provided `pts + limit < remote pts`. Simply, there are too many updates to be fetched (more than `limit`), the client has to resolve the update gap in one of the following ways: - -1. Delete all known messages in the chat, begin from scratch by refetching all messages manually with [getHistory](../methods/messages.getHistory.md). It is easy to implement, but suddenly disappearing messages looks awful for the user. -2. Save all messages loaded in the memory until application restart, but delete all messages from database. Messages left in the memory must be lazily updated using calls to [getHistory](../methods/messages.getHistory.md). It looks much smoothly for the user, he will need to redownload messages only after client restart. Unsynchronized messages left in the memory shouldn't be saved to database, results of [getHistory](../methods/messages.getHistory.md) and [getMessages](../methods/messages.getMessages.md) must be used to update state of deleted and edited messages left in the memory. -3. Save all messages loaded in the memory and stored in the database without saving that some messages form continuous ranges. Messages in the database will be excluded from results of getChatHistory and searchChatMessages after application restart and will be available only through getMessage. Every message should still be checked using getHistory. It has more disadvantages over 2) than advantages. -4. Save all messages with saving all data about continuous message ranges. Messages from the database may be used as results of getChatHistory and (if implemented continuous ranges support for searching shared media) searchChatMessages. The messages should still be lazily checked using getHistory, but they are still available offline. It is the best way for gaps support, but it is pretty hard to implement correctly. It should be also noted that some messages like live location messages shouldn't be deleted. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates that must be fetched (always false)| -|pts|[int](../types/int.md) | Yes|Pts| -|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| -|top\_message|[int](../types/int.md) | Yes|Top message| -|read\_inbox\_max\_id|[int](../types/int.md) | Yes|Read inbox max ID| -|read\_outbox\_max\_id|[int](../types/int.md) | Yes|Read outbox max ID| -|unread\_count|[int](../types/int.md) | Yes|Unread count| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) - - -### Example: - -```php -$updates_channelDifferenceTooLong = ['_' => 'updates.channelDifferenceTooLong', 'final' => Bool, 'pts' => int, 'timeout' => int, 'top_message' => int, 'read_inbox_max_id' => int, 'read_outbox_max_id' => int, 'unread_count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -updates_channelDifferenceTooLong={_='updates.channelDifferenceTooLong', final=Bool, pts=int, timeout=int, top_message=int, read_inbox_max_id=int, read_outbox_max_id=int, unread_count=int, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v70/constructors/updates_difference.md b/old_docs/API_docs_v70/constructors/updates_difference.md deleted file mode 100644 index 71ac7d4c..00000000 --- a/old_docs/API_docs_v70/constructors/updates_difference.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: updates.difference -description: Full list of occurred events. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.difference -[Back to constructors index](index.md) - - - -Full list of occurred events. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| -|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| -|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| -|state|[updates\_State](../types/updates_State.md) | Yes|Current state| - - - -### Type: [updates\_Difference](../types/updates_Difference.md) - - -### Example: - -```php -$updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates_State]; -``` - - -Or, if you're into Lua: - -```lua -updates_difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates_State} - -``` - - diff --git a/old_docs/API_docs_v70/constructors/updates_differenceEmpty.md b/old_docs/API_docs_v70/constructors/updates_differenceEmpty.md deleted file mode 100644 index c3c95c5a..00000000 --- a/old_docs/API_docs_v70/constructors/updates_differenceEmpty.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: updates.differenceEmpty -description: No events. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.differenceEmpty -[Back to constructors index](index.md) - - - -No events. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Current date| -|seq|[int](../types/int.md) | Yes|Number of sent updates| - - - -### Type: [updates\_Difference](../types/updates_Difference.md) - - -### Example: - -```php -$updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int]; -``` - - -Or, if you're into Lua: - -```lua -updates_differenceEmpty={_='updates.differenceEmpty', date=int, seq=int} - -``` - - diff --git a/old_docs/API_docs_v70/constructors/updates_differenceSlice.md b/old_docs/API_docs_v70/constructors/updates_differenceSlice.md deleted file mode 100644 index 8b12a369..00000000 --- a/old_docs/API_docs_v70/constructors/updates_differenceSlice.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: updates.differenceSlice -description: Incomplete list of occurred events. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.differenceSlice -[Back to constructors index](index.md) - - - -Incomplete list of occurred events. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| -|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| -|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| -|intermediate\_state|[updates\_State](../types/updates_State.md) | Yes|Intermediary state| - - - -### Type: [updates\_Difference](../types/updates_Difference.md) - - -### Example: - -```php -$updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'intermediate_state' => updates_State]; -``` - - -Or, if you're into Lua: - -```lua -updates_differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates_State} - -``` - - diff --git a/old_docs/API_docs_v70/constructors/updates_differenceTooLong.md b/old_docs/API_docs_v70/constructors/updates_differenceTooLong.md deleted file mode 100644 index 1fbdfa01..00000000 --- a/old_docs/API_docs_v70/constructors/updates_differenceTooLong.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: updates.differenceTooLong -description: The difference is [too long](https://core.telegram.org/api/updates#recovering-gaps), and the specified state must be used to refetch updates. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.differenceTooLong -[Back to constructors index](index.md) - - - -The difference is [too long](https://core.telegram.org/api/updates#recovering-gaps), and the specified state must be used to refetch updates. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|The new state to use.| - - - -### Type: [updates\_Difference](../types/updates_Difference.md) - - -### Example: - -```php -$updates_differenceTooLong = ['_' => 'updates.differenceTooLong', 'pts' => int]; -``` - - -Or, if you're into Lua: - -```lua -updates_differenceTooLong={_='updates.differenceTooLong', pts=int} - -``` - - diff --git a/old_docs/API_docs_v70/constructors/updates_state.md b/old_docs/API_docs_v70/constructors/updates_state.md deleted file mode 100644 index ef3698e2..00000000 --- a/old_docs/API_docs_v70/constructors/updates_state.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: updates.state -description: Updates state. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.state -[Back to constructors index](index.md) - - - -Updates state. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| -|qts|[int](../types/int.md) | Yes|Position in a sequence of updates in secret chats. For further detailes refer to article [secret chats](https://core.telegram.org/api/end-to-end)
Parameter was added in [eigth layer](https://core.telegram.org/api/layers#layer-8).| -|date|[int](../types/int.md) | Yes|Date of condition| -|seq|[int](../types/int.md) | Yes|Number of sent updates| -|unread\_count|[int](../types/int.md) | Yes|Number of unread messages| - - - -### Type: [updates\_State](../types/updates_State.md) - - -### Example: - -```php -$updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int]; -``` - - -Or, if you're into Lua: - -```lua -updates_state={_='updates.state', pts=int, qts=int, date=int, seq=int, unread_count=int} - -``` - - diff --git a/old_docs/API_docs_v70/constructors/upload.cdnFile.md b/old_docs/API_docs_v70/constructors/upload.cdnFile.md new file mode 100644 index 00000000..d6d75513 --- /dev/null +++ b/old_docs/API_docs_v70/constructors/upload.cdnFile.md @@ -0,0 +1,38 @@ +--- +title: upload.cdnFile +description: Represent a chunk of a [CDN](https://core.telegram.org/cdn) file. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: upload.cdnFile +[Back to constructors index](index.md) + + + +Represent a chunk of a [CDN](https://core.telegram.org/cdn) file. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|bytes|[bytes](../types/bytes.md) | Yes|The data| + + + +### Type: [upload.CdnFile](../types/upload.CdnFile.md) + + +### Example: + +```php +$upload.cdnFile = ['_' => 'upload.cdnFile', 'bytes' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +upload.cdnFile={_='upload.cdnFile', bytes='bytes'} + +``` + + diff --git a/old_docs/API_docs_v70/constructors/upload.cdnFileReuploadNeeded.md b/old_docs/API_docs_v70/constructors/upload.cdnFileReuploadNeeded.md new file mode 100644 index 00000000..7c461a87 --- /dev/null +++ b/old_docs/API_docs_v70/constructors/upload.cdnFileReuploadNeeded.md @@ -0,0 +1,38 @@ +--- +title: upload.cdnFileReuploadNeeded +description: The file was cleared from the temporary RAM cache of the [CDN](https://core.telegram.org/cdn) and has to be reuploaded. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: upload.cdnFileReuploadNeeded +[Back to constructors index](index.md) + + + +The file was cleared from the temporary RAM cache of the [CDN](https://core.telegram.org/cdn) and has to be reuploaded. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|request\_token|[bytes](../types/bytes.md) | Yes|Request token (see [CDN](https://core.telegram.org/cdn))| + + + +### Type: [upload.CdnFile](../types/upload.CdnFile.md) + + +### Example: + +```php +$upload.cdnFileReuploadNeeded = ['_' => 'upload.cdnFileReuploadNeeded', 'request_token' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +upload.cdnFileReuploadNeeded={_='upload.cdnFileReuploadNeeded', request_token='bytes'} + +``` + + diff --git a/old_docs/API_docs_v70/constructors/upload.file.md b/old_docs/API_docs_v70/constructors/upload.file.md new file mode 100644 index 00000000..145a4c24 --- /dev/null +++ b/old_docs/API_docs_v70/constructors/upload.file.md @@ -0,0 +1,40 @@ +--- +title: upload.file +description: File content. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: upload.file +[Back to constructors index](index.md) + + + +File content. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|type|[storage.FileType](../constructors/storage.FileType.md) | Yes|File type| +|mtime|[int](../types/int.md) | Yes|Modification type| +|bytes|[bytes](../types/bytes.md) | Yes|Binary data, file content| + + + +### Type: [upload.File](../types/upload.File.md) + + +### Example: + +```php +$upload.file = ['_' => 'upload.file', 'type' => storage.FileType, 'mtime' => int, 'bytes' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +upload.file={_='upload.file', type=storage.FileType, mtime=int, bytes='bytes'} + +``` + + diff --git a/old_docs/API_docs_v70/constructors/upload.fileCdnRedirect.md b/old_docs/API_docs_v70/constructors/upload.fileCdnRedirect.md new file mode 100644 index 00000000..294ccbcc --- /dev/null +++ b/old_docs/API_docs_v70/constructors/upload.fileCdnRedirect.md @@ -0,0 +1,42 @@ +--- +title: upload.fileCdnRedirect +description: The file must be downloaded from a [CDN DC](https://core.telegram.org/cdn). +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: upload.fileCdnRedirect +[Back to constructors index](index.md) + + + +The file must be downloaded from a [CDN DC](https://core.telegram.org/cdn). + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|dc\_id|[int](../types/int.md) | Yes|[CDN DC](https://core.telegram.org/cdn) ID| +|file\_token|[bytes](../types/bytes.md) | Yes|File token (see [CDN files](https://core.telegram.org/cdn)| +|encryption\_key|[bytes](../types/bytes.md) | Yes|Encryption key (see [CDN files](https://core.telegram.org/cdn)| +|encryption\_iv|[bytes](../types/bytes.md) | Yes|Encryption IV (see [CDN files](https://core.telegram.org/cdn)| +|cdn\_file\_hashes|Array of [CdnFileHash](../types/CdnFileHash.md) | Yes|Cdn file hashes| + + + +### Type: [upload.File](../types/upload.File.md) + + +### Example: + +```php +$upload.fileCdnRedirect = ['_' => 'upload.fileCdnRedirect', 'dc_id' => int, 'file_token' => 'bytes', 'encryption_key' => 'bytes', 'encryption_iv' => 'bytes', 'cdn_file_hashes' => [CdnFileHash, CdnFileHash]]; +``` + + +Or, if you're into Lua: + +```lua +upload.fileCdnRedirect={_='upload.fileCdnRedirect', dc_id=int, file_token='bytes', encryption_key='bytes', encryption_iv='bytes', cdn_file_hashes={CdnFileHash}} + +``` + + diff --git a/old_docs/API_docs_v70/constructors/upload.webFile.md b/old_docs/API_docs_v70/constructors/upload.webFile.md new file mode 100644 index 00000000..a93ea94f --- /dev/null +++ b/old_docs/API_docs_v70/constructors/upload.webFile.md @@ -0,0 +1,42 @@ +--- +title: upload.webFile +description: Represents a chunk of an [HTTP webfile](https://core.telegram.org/api/files) downloaded through telegram's secure MTProto servers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: upload.webFile +[Back to constructors index](index.md) + + + +Represents a chunk of an [HTTP webfile](https://core.telegram.org/api/files) downloaded through telegram's secure MTProto servers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|size|[int](../types/int.md) | Yes|File size| +|mime\_type|[string](../types/string.md) | Yes|Mime type| +|file\_type|[storage.FileType](../constructors/storage.FileType.md) | Yes|File type| +|mtime|[int](../types/int.md) | Yes|Modified time| +|bytes|[bytes](../types/bytes.md) | Yes|Data| + + + +### Type: [upload.WebFile](../types/upload.WebFile.md) + + +### Example: + +```php +$upload.webFile = ['_' => 'upload.webFile', 'size' => int, 'mime_type' => 'string', 'file_type' => storage.FileType, 'mtime' => int, 'bytes' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +upload.webFile={_='upload.webFile', size=int, mime_type='string', file_type=storage.FileType, mtime=int, bytes='bytes'} + +``` + + diff --git a/old_docs/API_docs_v70/constructors/upload_cdnFile.md b/old_docs/API_docs_v70/constructors/upload_cdnFile.md deleted file mode 100644 index 019b8742..00000000 --- a/old_docs/API_docs_v70/constructors/upload_cdnFile.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: upload.cdnFile -description: Represent a chunk of a [CDN](https://core.telegram.org/cdn) file. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: upload.cdnFile -[Back to constructors index](index.md) - - - -Represent a chunk of a [CDN](https://core.telegram.org/cdn) file. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|bytes|[bytes](../types/bytes.md) | Yes|The data| - - - -### Type: [upload\_CdnFile](../types/upload_CdnFile.md) - - -### Example: - -```php -$upload_cdnFile = ['_' => 'upload.cdnFile', 'bytes' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -upload_cdnFile={_='upload.cdnFile', bytes='bytes'} - -``` - - diff --git a/old_docs/API_docs_v70/constructors/upload_cdnFileReuploadNeeded.md b/old_docs/API_docs_v70/constructors/upload_cdnFileReuploadNeeded.md deleted file mode 100644 index 6588a596..00000000 --- a/old_docs/API_docs_v70/constructors/upload_cdnFileReuploadNeeded.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: upload.cdnFileReuploadNeeded -description: The file was cleared from the temporary RAM cache of the [CDN](https://core.telegram.org/cdn) and has to be reuploaded. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: upload.cdnFileReuploadNeeded -[Back to constructors index](index.md) - - - -The file was cleared from the temporary RAM cache of the [CDN](https://core.telegram.org/cdn) and has to be reuploaded. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|request\_token|[bytes](../types/bytes.md) | Yes|Request token (see [CDN](https://core.telegram.org/cdn))| - - - -### Type: [upload\_CdnFile](../types/upload_CdnFile.md) - - -### Example: - -```php -$upload_cdnFileReuploadNeeded = ['_' => 'upload.cdnFileReuploadNeeded', 'request_token' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -upload_cdnFileReuploadNeeded={_='upload.cdnFileReuploadNeeded', request_token='bytes'} - -``` - - diff --git a/old_docs/API_docs_v70/constructors/upload_file.md b/old_docs/API_docs_v70/constructors/upload_file.md deleted file mode 100644 index 1e07d9fb..00000000 --- a/old_docs/API_docs_v70/constructors/upload_file.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: upload.file -description: File content. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: upload.file -[Back to constructors index](index.md) - - - -File content. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|type|[storage\_FileType](../types/storage_FileType.md) | Yes|File type| -|mtime|[int](../types/int.md) | Yes|Modification type| -|bytes|[bytes](../types/bytes.md) | Yes|Binary data, file content| - - - -### Type: [upload\_File](../types/upload_File.md) - - -### Example: - -```php -$upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int, 'bytes' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -upload_file={_='upload.file', type=storage_FileType, mtime=int, bytes='bytes'} - -``` - - diff --git a/old_docs/API_docs_v70/constructors/upload_fileCdnRedirect.md b/old_docs/API_docs_v70/constructors/upload_fileCdnRedirect.md deleted file mode 100644 index 65abab3a..00000000 --- a/old_docs/API_docs_v70/constructors/upload_fileCdnRedirect.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: upload.fileCdnRedirect -description: The file must be downloaded from a [CDN DC](https://core.telegram.org/cdn). -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: upload.fileCdnRedirect -[Back to constructors index](index.md) - - - -The file must be downloaded from a [CDN DC](https://core.telegram.org/cdn). - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|dc\_id|[int](../types/int.md) | Yes|[CDN DC](https://core.telegram.org/cdn) ID| -|file\_token|[bytes](../types/bytes.md) | Yes|File token (see [CDN files](https://core.telegram.org/cdn)| -|encryption\_key|[bytes](../types/bytes.md) | Yes|Encryption key (see [CDN files](https://core.telegram.org/cdn)| -|encryption\_iv|[bytes](../types/bytes.md) | Yes|Encryption IV (see [CDN files](https://core.telegram.org/cdn)| -|cdn\_file\_hashes|Array of [CdnFileHash](../types/CdnFileHash.md) | Yes|Cdn file hashes| - - - -### Type: [upload\_File](../types/upload_File.md) - - -### Example: - -```php -$upload_fileCdnRedirect = ['_' => 'upload.fileCdnRedirect', 'dc_id' => int, 'file_token' => 'bytes', 'encryption_key' => 'bytes', 'encryption_iv' => 'bytes', 'cdn_file_hashes' => [CdnFileHash, CdnFileHash]]; -``` - - -Or, if you're into Lua: - -```lua -upload_fileCdnRedirect={_='upload.fileCdnRedirect', dc_id=int, file_token='bytes', encryption_key='bytes', encryption_iv='bytes', cdn_file_hashes={CdnFileHash}} - -``` - - diff --git a/old_docs/API_docs_v70/constructors/upload_webFile.md b/old_docs/API_docs_v70/constructors/upload_webFile.md deleted file mode 100644 index ee8053b1..00000000 --- a/old_docs/API_docs_v70/constructors/upload_webFile.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: upload.webFile -description: Represents a chunk of an [HTTP webfile](https://core.telegram.org/api/files) downloaded through telegram's secure MTProto servers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: upload.webFile -[Back to constructors index](index.md) - - - -Represents a chunk of an [HTTP webfile](https://core.telegram.org/api/files) downloaded through telegram's secure MTProto servers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|size|[int](../types/int.md) | Yes|File size| -|mime\_type|[string](../types/string.md) | Yes|Mime type| -|file\_type|[storage\_FileType](../types/storage_FileType.md) | Yes|File type| -|mtime|[int](../types/int.md) | Yes|Modified time| -|bytes|[bytes](../types/bytes.md) | Yes|Data| - - - -### Type: [upload\_WebFile](../types/upload_WebFile.md) - - -### Example: - -```php -$upload_webFile = ['_' => 'upload.webFile', 'size' => int, 'mime_type' => 'string', 'file_type' => storage_FileType, 'mtime' => int, 'bytes' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -upload_webFile={_='upload.webFile', size=int, mime_type='string', file_type=storage_FileType, mtime=int, bytes='bytes'} - -``` - - diff --git a/old_docs/API_docs_v70/constructors/userFull.md b/old_docs/API_docs_v70/constructors/userFull.md index 31af6535..e44e0673 100644 --- a/old_docs/API_docs_v70/constructors/userFull.md +++ b/old_docs/API_docs_v70/constructors/userFull.md @@ -19,7 +19,7 @@ Extended user info |phone\_calls\_private|[Bool](../types/Bool.md) | Optional|Whether this user's privacy settings allow you to call him| |user|[User](../types/User.md) | Optional|Remaining user info| |about|[string](../types/string.md) | Optional|Bio of the user| -|link|[contacts\_Link](../types/contacts_Link.md) | Yes|Link| +|link|[contacts.Link](../constructors/contacts.Link.md) | Yes|Link| |profile\_photo|[Photo](../types/Photo.md) | Optional|Profile photo| |notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Optional|Notification settings| |bot\_info|[BotInfo](../types/BotInfo.md) | Optional|For bots, info about the bot (bot commands, etc)| @@ -33,14 +33,14 @@ Extended user info ### Example: ```php -$userFull = ['_' => 'userFull', 'blocked' => Bool, 'phone_calls_available' => Bool, 'phone_calls_private' => Bool, 'user' => User, 'about' => 'string', 'link' => contacts_Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'bot_info' => BotInfo, 'common_chats_count' => int]; +$userFull = ['_' => 'userFull', 'blocked' => Bool, 'phone_calls_available' => Bool, 'phone_calls_private' => Bool, 'user' => User, 'about' => 'string', 'link' => contacts.Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'bot_info' => BotInfo, 'common_chats_count' => int]; ``` Or, if you're into Lua: ```lua -userFull={_='userFull', blocked=Bool, phone_calls_available=Bool, phone_calls_private=Bool, user=User, about='string', link=contacts_Link, profile_photo=Photo, notify_settings=PeerNotifySettings, bot_info=BotInfo, common_chats_count=int} +userFull={_='userFull', blocked=Bool, phone_calls_available=Bool, phone_calls_private=Bool, user=User, about='string', link=contacts.Link, profile_photo=Photo, notify_settings=PeerNotifySettings, bot_info=BotInfo, common_chats_count=int} ``` diff --git a/old_docs/API_docs_v70/methods/account.getAuthorizations.md b/old_docs/API_docs_v70/methods/account.getAuthorizations.md index f69c130a..fad3a7ae 100644 --- a/old_docs/API_docs_v70/methods/account.getAuthorizations.md +++ b/old_docs/API_docs_v70/methods/account.getAuthorizations.md @@ -11,7 +11,7 @@ Get logged-in sessions -### Return type: [account\_Authorizations](../types/account_Authorizations.md) +### Return type: [account.Authorizations](../types/account.Authorizations.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_Authorizations = $MadelineProto->account->getAuthorizations(); +$account.Authorizations = $MadelineProto->account->getAuthorizations(); ``` Or, if you're into Lua: ```lua -account_Authorizations = account.getAuthorizations({}) +account.Authorizations = account.getAuthorizations({}) ``` diff --git a/old_docs/API_docs_v70/methods/account.getPassword.md b/old_docs/API_docs_v70/methods/account.getPassword.md index eed4aee3..621271b6 100644 --- a/old_docs/API_docs_v70/methods/account.getPassword.md +++ b/old_docs/API_docs_v70/methods/account.getPassword.md @@ -11,7 +11,7 @@ Obtain configuration for two-factor authorization with password -### Return type: [account\_Password](../types/account_Password.md) +### Return type: [account.Password](../types/account.Password.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_Password = $MadelineProto->account->getPassword(); +$account.Password = $MadelineProto->account->getPassword(); ``` Or, if you're into Lua: ```lua -account_Password = account.getPassword({}) +account.Password = account.getPassword({}) ``` diff --git a/old_docs/API_docs_v70/methods/account.getPasswordSettings.md b/old_docs/API_docs_v70/methods/account.getPasswordSettings.md index dcdae61a..3d3cce08 100644 --- a/old_docs/API_docs_v70/methods/account.getPasswordSettings.md +++ b/old_docs/API_docs_v70/methods/account.getPasswordSettings.md @@ -16,7 +16,7 @@ You cannot use this method directly; use $MadelineProto->update_2fa($params), in |current\_password\_hash|[bytes](../types/bytes.md) | You cannot use this method directly; use $MadelineProto->update_2fa($params), instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [account\_PasswordSettings](../types/account_PasswordSettings.md) +### Return type: [account.PasswordSettings](../types/account.PasswordSettings.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_PasswordSettings = $MadelineProto->account->getPasswordSettings(['current_password_hash' => 'bytes', ]); +$account.PasswordSettings = $MadelineProto->account->getPasswordSettings(['current_password_hash' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -account_PasswordSettings = account.getPasswordSettings({current_password_hash='bytes', }) +account.PasswordSettings = account.getPasswordSettings({current_password_hash='bytes', }) ``` ### Errors diff --git a/old_docs/API_docs_v70/methods/account.getPrivacy.md b/old_docs/API_docs_v70/methods/account.getPrivacy.md index 6a240129..e20c292c 100644 --- a/old_docs/API_docs_v70/methods/account.getPrivacy.md +++ b/old_docs/API_docs_v70/methods/account.getPrivacy.md @@ -16,7 +16,7 @@ Get privacy settings of current account |key|[InputPrivacyKey](../types/InputPrivacyKey.md) | Peer category whose privacy settings should be fetched | Yes| -### Return type: [account\_PrivacyRules](../types/account_PrivacyRules.md) +### Return type: [account.PrivacyRules](../types/account.PrivacyRules.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_PrivacyRules = $MadelineProto->account->getPrivacy(['key' => InputPrivacyKey, ]); +$account.PrivacyRules = $MadelineProto->account->getPrivacy(['key' => InputPrivacyKey, ]); ``` Or, if you're into Lua: ```lua -account_PrivacyRules = account.getPrivacy({key=InputPrivacyKey, }) +account.PrivacyRules = account.getPrivacy({key=InputPrivacyKey, }) ``` ### Errors diff --git a/old_docs/API_docs_v70/methods/account.getTmpPassword.md b/old_docs/API_docs_v70/methods/account.getTmpPassword.md index 4f269586..7e05a423 100644 --- a/old_docs/API_docs_v70/methods/account.getTmpPassword.md +++ b/old_docs/API_docs_v70/methods/account.getTmpPassword.md @@ -17,7 +17,7 @@ Get temporary payment password |period|[int](../types/int.md) | Time during which the temporary password will be valid, in seconds; should be between 60 and 86400 | Yes| -### Return type: [account\_TmpPassword](../types/account_TmpPassword.md) +### Return type: [account.TmpPassword](../types/account.TmpPassword.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_TmpPassword = $MadelineProto->account->getTmpPassword(['password_hash' => 'bytes', 'period' => int, ]); +$account.TmpPassword = $MadelineProto->account->getTmpPassword(['password_hash' => 'bytes', 'period' => int, ]); ``` Or, if you're into Lua: ```lua -account_TmpPassword = account.getTmpPassword({password_hash='bytes', period=int, }) +account.TmpPassword = account.getTmpPassword({password_hash='bytes', period=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v70/methods/account.sendChangePhoneCode.md b/old_docs/API_docs_v70/methods/account.sendChangePhoneCode.md index 0f81306e..30589ffa 100644 --- a/old_docs/API_docs_v70/methods/account.sendChangePhoneCode.md +++ b/old_docs/API_docs_v70/methods/account.sendChangePhoneCode.md @@ -18,7 +18,7 @@ Verify a new phone number to associate to the current account |current\_number|[Bool](../types/Bool.md) | Current phone number | Optional| -### Return type: [auth\_SentCode](../types/auth_SentCode.md) +### Return type: [auth.SentCode](../types/auth.SentCode.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_SentCode = $MadelineProto->account->sendChangePhoneCode(['allow_flashcall' => Bool, 'phone_number' => 'string', 'current_number' => Bool, ]); +$auth.SentCode = $MadelineProto->account->sendChangePhoneCode(['allow_flashcall' => Bool, 'phone_number' => 'string', 'current_number' => Bool, ]); ``` Or, if you're into Lua: ```lua -auth_SentCode = account.sendChangePhoneCode({allow_flashcall=Bool, phone_number='string', current_number=Bool, }) +auth.SentCode = account.sendChangePhoneCode({allow_flashcall=Bool, phone_number='string', current_number=Bool, }) ``` ### Errors diff --git a/old_docs/API_docs_v70/methods/account.sendConfirmPhoneCode.md b/old_docs/API_docs_v70/methods/account.sendConfirmPhoneCode.md index 68ba8fd3..9ec24f07 100644 --- a/old_docs/API_docs_v70/methods/account.sendConfirmPhoneCode.md +++ b/old_docs/API_docs_v70/methods/account.sendConfirmPhoneCode.md @@ -18,7 +18,7 @@ Send confirmation code to cancel account deletion, for more info [click here »] |current\_number|[Bool](../types/Bool.md) | The current phone number | Optional| -### Return type: [auth\_SentCode](../types/auth_SentCode.md) +### Return type: [auth.SentCode](../types/auth.SentCode.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_SentCode = $MadelineProto->account->sendConfirmPhoneCode(['allow_flashcall' => Bool, 'hash' => 'string', 'current_number' => Bool, ]); +$auth.SentCode = $MadelineProto->account->sendConfirmPhoneCode(['allow_flashcall' => Bool, 'hash' => 'string', 'current_number' => Bool, ]); ``` Or, if you're into Lua: ```lua -auth_SentCode = account.sendConfirmPhoneCode({allow_flashcall=Bool, hash='string', current_number=Bool, }) +auth.SentCode = account.sendConfirmPhoneCode({allow_flashcall=Bool, hash='string', current_number=Bool, }) ``` ### Errors diff --git a/old_docs/API_docs_v70/methods/account.setPrivacy.md b/old_docs/API_docs_v70/methods/account.setPrivacy.md index 7c4cfba7..096d373e 100644 --- a/old_docs/API_docs_v70/methods/account.setPrivacy.md +++ b/old_docs/API_docs_v70/methods/account.setPrivacy.md @@ -17,7 +17,7 @@ Change privacy settings of current account |rules|Array of [InputPrivacyRule](../types/InputPrivacyRule.md) | Privacy settings | Yes| -### Return type: [account\_PrivacyRules](../types/account_PrivacyRules.md) +### Return type: [account.PrivacyRules](../types/account.PrivacyRules.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_PrivacyRules = $MadelineProto->account->setPrivacy(['key' => InputPrivacyKey, 'rules' => [InputPrivacyRule, InputPrivacyRule], ]); +$account.PrivacyRules = $MadelineProto->account->setPrivacy(['key' => InputPrivacyKey, 'rules' => [InputPrivacyRule, InputPrivacyRule], ]); ``` Or, if you're into Lua: ```lua -account_PrivacyRules = account.setPrivacy({key=InputPrivacyKey, rules={InputPrivacyRule}, }) +account.PrivacyRules = account.setPrivacy({key=InputPrivacyKey, rules={InputPrivacyRule}, }) ``` ### Errors diff --git a/old_docs/API_docs_v70/methods/api_README.md b/old_docs/API_docs_v70/methods/api_README.md index b78617bc..1377da96 100644 --- a/old_docs/API_docs_v70/methods/api_README.md +++ b/old_docs/API_docs_v70/methods/api_README.md @@ -56,7 +56,7 @@ $MadelineProto->[account->getAccountTTL](account.getAccountTTL.md)(\[\]) === [$A ***

-$MadelineProto->[account->getAuthorizations](account.getAuthorizations.md)(\[\]) === [$account\_Authorizations](../types/account_Authorizations.md) +$MadelineProto->[account->getAuthorizations](account.getAuthorizations.md)(\[\]) === [$account.Authorizations](../types/account.Authorizations.md) ***

@@ -64,19 +64,19 @@ $MadelineProto->[account->getNotifySettings](account.getNotifySettings.md)(\['pe ***

-$MadelineProto->[account->getPassword](account.getPassword.md)(\[\]) === [$account\_Password](../types/account_Password.md) +$MadelineProto->[account->getPassword](account.getPassword.md)(\[\]) === [$account.Password](../types/account.Password.md) ***

-$MadelineProto->[account->getPasswordSettings](account.getPasswordSettings.md)(\['current_password_hash' => [bytes](../types/bytes.md), \]) === [$account\_PasswordSettings](../types/account_PasswordSettings.md) +$MadelineProto->[account->getPasswordSettings](account.getPasswordSettings.md)(\['current_password_hash' => [bytes](../types/bytes.md), \]) === [$account.PasswordSettings](../types/account.PasswordSettings.md) ***

-$MadelineProto->[account->getPrivacy](account.getPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), \]) === [$account\_PrivacyRules](../types/account_PrivacyRules.md) +$MadelineProto->[account->getPrivacy](account.getPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), \]) === [$account.PrivacyRules](../types/account.PrivacyRules.md) ***

-$MadelineProto->[account->getTmpPassword](account.getTmpPassword.md)(\['password_hash' => [bytes](../types/bytes.md), 'period' => [int](../types/int.md), \]) === [$account\_TmpPassword](../types/account_TmpPassword.md) +$MadelineProto->[account->getTmpPassword](account.getTmpPassword.md)(\['password_hash' => [bytes](../types/bytes.md), 'period' => [int](../types/int.md), \]) === [$account.TmpPassword](../types/account.TmpPassword.md) ***

@@ -100,11 +100,11 @@ $MadelineProto->[account->resetNotifySettings](account.resetNotifySettings.md)(\ ***

-$MadelineProto->[account->sendChangePhoneCode](account.sendChangePhoneCode.md)(\['allow_flashcall' => [Bool](../types/Bool.md), 'phone_number' => [string](../types/string.md), 'current_number' => [Bool](../types/Bool.md), \]) === [$auth\_SentCode](../types/auth_SentCode.md) +$MadelineProto->[account->sendChangePhoneCode](account.sendChangePhoneCode.md)(\['allow_flashcall' => [Bool](../types/Bool.md), 'phone_number' => [string](../types/string.md), 'current_number' => [Bool](../types/Bool.md), \]) === [$auth.SentCode](../types/auth.SentCode.md) ***

-$MadelineProto->[account->sendConfirmPhoneCode](account.sendConfirmPhoneCode.md)(\['allow_flashcall' => [Bool](../types/Bool.md), 'hash' => [string](../types/string.md), 'current_number' => [Bool](../types/Bool.md), \]) === [$auth\_SentCode](../types/auth_SentCode.md) +$MadelineProto->[account->sendConfirmPhoneCode](account.sendConfirmPhoneCode.md)(\['allow_flashcall' => [Bool](../types/Bool.md), 'hash' => [string](../types/string.md), 'current_number' => [Bool](../types/Bool.md), \]) === [$auth.SentCode](../types/auth.SentCode.md) ***

@@ -112,7 +112,7 @@ $MadelineProto->[account->setAccountTTL](account.setAccountTTL.md)(\['ttl' => [A ***

-$MadelineProto->[account->setPrivacy](account.setPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), 'rules' => \[[InputPrivacyRule](../types/InputPrivacyRule.md)\], \]) === [$account\_PrivacyRules](../types/account_PrivacyRules.md) +$MadelineProto->[account->setPrivacy](account.setPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), 'rules' => \[[InputPrivacyRule](../types/InputPrivacyRule.md)\], \]) === [$account.PrivacyRules](../types/account.PrivacyRules.md) ***

@@ -152,11 +152,11 @@ $MadelineProto->[auth->cancelCode](auth.cancelCode.md)(\['phone_number' => [stri ***

-$MadelineProto->[auth->checkPassword](auth.checkPassword.md)(\['password_hash' => [bytes](../types/bytes.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->checkPassword](auth.checkPassword.md)(\['password_hash' => [bytes](../types/bytes.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

-$MadelineProto->[auth->checkPhone](auth.checkPhone.md)(\['phone_number' => [string](../types/string.md), \]) === [$auth\_CheckedPhone](../types/auth_CheckedPhone.md) +$MadelineProto->[auth->checkPhone](auth.checkPhone.md)(\['phone_number' => [string](../types/string.md), \]) === [$auth.CheckedPhone](../types/auth.CheckedPhone.md) ***

@@ -164,15 +164,15 @@ $MadelineProto->[auth->dropTempAuthKeys](auth.dropTempAuthKeys.md)(\['except_aut ***

-$MadelineProto->[auth->exportAuthorization](auth.exportAuthorization.md)(\['dc_id' => [int](../types/int.md), \]) === [$auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) +$MadelineProto->[auth->exportAuthorization](auth.exportAuthorization.md)(\['dc_id' => [int](../types/int.md), \]) === [$auth.ExportedAuthorization](../types/auth.ExportedAuthorization.md) ***

-$MadelineProto->[auth->importAuthorization](auth.importAuthorization.md)(\['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->importAuthorization](auth.importAuthorization.md)(\['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

-$MadelineProto->[auth->importBotAuthorization](auth.importBotAuthorization.md)(\['api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), 'bot_auth_token' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->importBotAuthorization](auth.importBotAuthorization.md)(\['api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), 'bot_auth_token' => [string](../types/string.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

@@ -180,15 +180,15 @@ $MadelineProto->[auth->logOut](auth.logOut.md)(\[\]) === [$Bool](../types/Bool.m ***

-$MadelineProto->[auth->recoverPassword](auth.recoverPassword.md)(\['code' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->recoverPassword](auth.recoverPassword.md)(\['code' => [string](../types/string.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

-$MadelineProto->[auth->requestPasswordRecovery](auth.requestPasswordRecovery.md)(\[\]) === [$auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) +$MadelineProto->[auth->requestPasswordRecovery](auth.requestPasswordRecovery.md)(\[\]) === [$auth.PasswordRecovery](../types/auth.PasswordRecovery.md) ***

-$MadelineProto->[auth->resendCode](auth.resendCode.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), \]) === [$auth\_SentCode](../types/auth_SentCode.md) +$MadelineProto->[auth->resendCode](auth.resendCode.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), \]) === [$auth.SentCode](../types/auth.SentCode.md) ***

@@ -196,7 +196,7 @@ $MadelineProto->[auth->resetAuthorizations](auth.resetAuthorizations.md)(\[\]) = ***

-$MadelineProto->[auth->sendCode](auth.sendCode.md)(\['allow_flashcall' => [Bool](../types/Bool.md), 'phone_number' => [string](../types/string.md), 'current_number' => [Bool](../types/Bool.md), 'api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), \]) === [$auth\_SentCode](../types/auth_SentCode.md) +$MadelineProto->[auth->sendCode](auth.sendCode.md)(\['allow_flashcall' => [Bool](../types/Bool.md), 'phone_number' => [string](../types/string.md), 'current_number' => [Bool](../types/Bool.md), 'api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), \]) === [$auth.SentCode](../types/auth.SentCode.md) ***

@@ -204,11 +204,11 @@ $MadelineProto->[auth->sendInvites](auth.sendInvites.md)(\['phone_numbers' => \[ ***

-$MadelineProto->[auth->signIn](auth.signIn.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->signIn](auth.signIn.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

-$MadelineProto->[auth->signUp](auth.signUp.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->signUp](auth.signUp.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

@@ -232,11 +232,11 @@ $MadelineProto->[channels->deleteChannel](channels.deleteChannel.md)(\['channel' ***

-$MadelineProto->[channels->deleteMessages](channels.deleteMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) +$MadelineProto->[channels->deleteMessages](channels.deleteMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages.AffectedMessages](../types/messages.AffectedMessages.md) ***

-$MadelineProto->[channels->deleteUserHistory](channels.deleteUserHistory.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages\_AffectedHistory](../types/messages_AffectedHistory.md) +$MadelineProto->[channels->deleteUserHistory](channels.deleteUserHistory.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages.AffectedHistory](../types/messages.AffectedHistory.md) ***

@@ -268,31 +268,31 @@ $MadelineProto->[channels->exportMessageLink](channels.exportMessageLink.md)(\[' ***

-$MadelineProto->[channels->getAdminLog](channels.getAdminLog.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'q' => [string](../types/string.md), 'events_filter' => [ChannelAdminLogEventsFilter](../types/ChannelAdminLogEventsFilter.md), 'admins' => \[[InputUser](../types/InputUser.md)\], 'max_id' => [long](../types/long.md), 'min_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$channels\_AdminLogResults](../types/channels_AdminLogResults.md) +$MadelineProto->[channels->getAdminLog](channels.getAdminLog.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'q' => [string](../types/string.md), 'events_filter' => [ChannelAdminLogEventsFilter](../types/ChannelAdminLogEventsFilter.md), 'admins' => \[[InputUser](../types/InputUser.md)\], 'max_id' => [long](../types/long.md), 'min_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$channels.AdminLogResults](../types/channels.AdminLogResults.md) ***

-$MadelineProto->[channels->getAdminedPublicChannels](channels.getAdminedPublicChannels.md)(\[\]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[channels->getAdminedPublicChannels](channels.getAdminedPublicChannels.md)(\[\]) === [$messages.Chats](../types/messages.Chats.md) ***

-$MadelineProto->[channels->getChannels](channels.getChannels.md)(\['id' => \[[InputChannel](../types/InputChannel.md)\], \]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[channels->getChannels](channels.getChannels.md)(\['id' => \[[InputChannel](../types/InputChannel.md)\], \]) === [$messages.Chats](../types/messages.Chats.md) ***

-$MadelineProto->[channels->getFullChannel](channels.getFullChannel.md)(\['channel' => [InputChannel](../types/InputChannel.md), \]) === [$messages\_ChatFull](../types/messages_ChatFull.md) +$MadelineProto->[channels->getFullChannel](channels.getFullChannel.md)(\['channel' => [InputChannel](../types/InputChannel.md), \]) === [$messages.ChatFull](../types/messages.ChatFull.md) ***

-$MadelineProto->[channels->getMessages](channels.getMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[channels->getMessages](channels.getMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[channels->getParticipant](channels.getParticipant.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$channels\_ChannelParticipant](../types/channels_ChannelParticipant.md) +$MadelineProto->[channels->getParticipant](channels.getParticipant.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$channels.ChannelParticipant](../types/channels.ChannelParticipant.md) ***

-$MadelineProto->[channels->getParticipants](channels.getParticipants.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$channels\_ChannelParticipants](../types/channels_ChannelParticipants.md) +$MadelineProto->[channels->getParticipants](channels.getParticipants.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$channels.ChannelParticipants](../types/channels.ChannelParticipants.md) ***

@@ -336,7 +336,7 @@ $MadelineProto->[contacts->block](contacts.block.md)(\['id' => [InputUser](../ty ***

-$MadelineProto->[contacts->deleteContact](contacts.deleteContact.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$contacts\_Link](../types/contacts_Link.md) +$MadelineProto->[contacts->deleteContact](contacts.deleteContact.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$contacts.Link](../types/contacts.Link.md) ***

@@ -348,11 +348,11 @@ $MadelineProto->[contacts->exportCard](contacts.exportCard.md)(\[\]) === [$Vecto ***

-$MadelineProto->[contacts->getBlocked](contacts.getBlocked.md)(\['offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$contacts\_Blocked](../types/contacts_Blocked.md) +$MadelineProto->[contacts->getBlocked](contacts.getBlocked.md)(\['offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$contacts.Blocked](../types/contacts.Blocked.md) ***

-$MadelineProto->[contacts->getContacts](contacts.getContacts.md)(\['hash' => [string](../types/string.md), \]) === [$contacts\_Contacts](../types/contacts_Contacts.md) +$MadelineProto->[contacts->getContacts](contacts.getContacts.md)(\['hash' => [string](../types/string.md), \]) === [$contacts.Contacts](../types/contacts.Contacts.md) ***

@@ -360,7 +360,7 @@ $MadelineProto->[contacts->getStatuses](contacts.getStatuses.md)(\[\]) === [$Vec ***

-$MadelineProto->[contacts->getTopPeers](contacts.getTopPeers.md)(\['correspondents' => [Bool](../types/Bool.md), 'bots_pm' => [Bool](../types/Bool.md), 'bots_inline' => [Bool](../types/Bool.md), 'phone_calls' => [Bool](../types/Bool.md), 'groups' => [Bool](../types/Bool.md), 'channels' => [Bool](../types/Bool.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$contacts\_TopPeers](../types/contacts_TopPeers.md) +$MadelineProto->[contacts->getTopPeers](contacts.getTopPeers.md)(\['correspondents' => [Bool](../types/Bool.md), 'bots_pm' => [Bool](../types/Bool.md), 'bots_inline' => [Bool](../types/Bool.md), 'phone_calls' => [Bool](../types/Bool.md), 'groups' => [Bool](../types/Bool.md), 'channels' => [Bool](../types/Bool.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$contacts.TopPeers](../types/contacts.TopPeers.md) ***

@@ -368,7 +368,7 @@ $MadelineProto->[contacts->importCard](contacts.importCard.md)(\['export_card' = ***

-$MadelineProto->[contacts->importContacts](contacts.importContacts.md)(\['contacts' => \[[InputContact](../types/InputContact.md)\], 'replace' => [Bool](../types/Bool.md), \]) === [$contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) +$MadelineProto->[contacts->importContacts](contacts.importContacts.md)(\['contacts' => \[[InputContact](../types/InputContact.md)\], 'replace' => [Bool](../types/Bool.md), \]) === [$contacts.ImportedContacts](../types/contacts.ImportedContacts.md) ***

@@ -376,11 +376,11 @@ $MadelineProto->[contacts->resetTopPeerRating](contacts.resetTopPeerRating.md)(\ ***

-$MadelineProto->[contacts->resolveUsername](contacts.resolveUsername.md)(\['username' => [string](../types/string.md), \]) === [$contacts\_ResolvedPeer](../types/contacts_ResolvedPeer.md) +$MadelineProto->[contacts->resolveUsername](contacts.resolveUsername.md)(\['username' => [string](../types/string.md), \]) === [$contacts.ResolvedPeer](../types/contacts.ResolvedPeer.md) ***

-$MadelineProto->[contacts->search](contacts.search.md)(\['q' => [string](../types/string.md), 'limit' => [int](../types/int.md), \]) === [$contacts\_Found](../types/contacts_Found.md) +$MadelineProto->[contacts->search](contacts.search.md)(\['q' => [string](../types/string.md), 'limit' => [int](../types/int.md), \]) === [$contacts.Found](../types/contacts.Found.md) ***

@@ -406,7 +406,7 @@ $MadelineProto->[help->getAppChangelog](help.getAppChangelog.md)(\['prev_app_ver ***

-$MadelineProto->[help->getAppUpdate](help.getAppUpdate.md)(\[\]) === [$help\_AppUpdate](../types/help_AppUpdate.md) +$MadelineProto->[help->getAppUpdate](help.getAppUpdate.md)(\[\]) === [$help.AppUpdate](../types/help.AppUpdate.md) ***

@@ -418,7 +418,7 @@ $MadelineProto->[help->getConfig](help.getConfig.md)(\[\]) === [$Config](../type ***

-$MadelineProto->[help->getInviteText](help.getInviteText.md)(\[\]) === [$help\_InviteText](../types/help_InviteText.md) +$MadelineProto->[help->getInviteText](help.getInviteText.md)(\[\]) === [$help.InviteText](../types/help.InviteText.md) ***

@@ -426,11 +426,11 @@ $MadelineProto->[help->getNearestDc](help.getNearestDc.md)(\[\]) === [$NearestDc ***

-$MadelineProto->[help->getSupport](help.getSupport.md)(\[\]) === [$help\_Support](../types/help_Support.md) +$MadelineProto->[help->getSupport](help.getSupport.md)(\[\]) === [$help.Support](../types/help.Support.md) ***

-$MadelineProto->[help->getTermsOfService](help.getTermsOfService.md)(\[\]) === [$help\_TermsOfService](../types/help_TermsOfService.md) +$MadelineProto->[help->getTermsOfService](help.getTermsOfService.md)(\[\]) === [$help.TermsOfService](../types/help.TermsOfService.md) ***

@@ -502,11 +502,11 @@ $MadelineProto->[messages->deleteChatUser](messages.deleteChatUser.md)(\['chat_i ***

-$MadelineProto->[messages->deleteHistory](messages.deleteHistory.md)(\['just_clear' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), \]) === [$messages\_AffectedHistory](../types/messages_AffectedHistory.md) +$MadelineProto->[messages->deleteHistory](messages.deleteHistory.md)(\['just_clear' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), \]) === [$messages.AffectedHistory](../types/messages.AffectedHistory.md) ***

-$MadelineProto->[messages->deleteMessages](messages.deleteMessages.md)(\['revoke' => [Bool](../types/Bool.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) +$MadelineProto->[messages->deleteMessages](messages.deleteMessages.md)(\['revoke' => [Bool](../types/Bool.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages.AffectedMessages](../types/messages.AffectedMessages.md) ***

@@ -546,7 +546,7 @@ $MadelineProto->[messages->forwardMessages](messages.forwardMessages.md)(\['sile ***

-$MadelineProto->[messages->getAllChats](messages.getAllChats.md)(\['except_ids' => \[[int](../types/int.md)\], \]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[messages->getAllChats](messages.getAllChats.md)(\['except_ids' => \[[int](../types/int.md)\], \]) === [$messages.Chats](../types/messages.Chats.md) ***

@@ -554,11 +554,11 @@ $MadelineProto->[messages->getAllDrafts](messages.getAllDrafts.md)(\[\]) === [$U ***

-$MadelineProto->[messages->getAllStickers](messages.getAllStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages\_AllStickers](../types/messages_AllStickers.md) +$MadelineProto->[messages->getAllStickers](messages.getAllStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages.AllStickers](../types/messages.AllStickers.md) ***

-$MadelineProto->[messages->getArchivedStickers](messages.getArchivedStickers.md)(\['masks' => [Bool](../types/Bool.md), 'offset_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$messages\_ArchivedStickers](../types/messages_ArchivedStickers.md) +$MadelineProto->[messages->getArchivedStickers](messages.getArchivedStickers.md)(\['masks' => [Bool](../types/Bool.md), 'offset_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$messages.ArchivedStickers](../types/messages.ArchivedStickers.md) ***

@@ -566,23 +566,23 @@ $MadelineProto->[messages->getAttachedStickers](messages.getAttachedStickers.md) ***

-$MadelineProto->[messages->getBotCallbackAnswer](messages.getBotCallbackAnswer.md)(\['game' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'msg_id' => [int](../types/int.md), 'data' => [bytes](../types/bytes.md), \]) === [$messages\_BotCallbackAnswer](../types/messages_BotCallbackAnswer.md) +$MadelineProto->[messages->getBotCallbackAnswer](messages.getBotCallbackAnswer.md)(\['game' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'msg_id' => [int](../types/int.md), 'data' => [bytes](../types/bytes.md), \]) === [$messages.BotCallbackAnswer](../types/messages.BotCallbackAnswer.md) ***

-$MadelineProto->[messages->getChats](messages.getChats.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[messages->getChats](messages.getChats.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages.Chats](../types/messages.Chats.md) ***

-$MadelineProto->[messages->getCommonChats](messages.getCommonChats.md)(\['user_id' => [InputUser](../types/InputUser.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[messages->getCommonChats](messages.getCommonChats.md)(\['user_id' => [InputUser](../types/InputUser.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages.Chats](../types/messages.Chats.md) ***

-$MadelineProto->[messages->getDhConfig](messages.getDhConfig.md)(\['version' => [int](../types/int.md), 'random_length' => [int](../types/int.md), \]) === [$messages\_DhConfig](../types/messages_DhConfig.md) +$MadelineProto->[messages->getDhConfig](messages.getDhConfig.md)(\['version' => [int](../types/int.md), 'random_length' => [int](../types/int.md), \]) === [$messages.DhConfig](../types/messages.DhConfig.md) ***

-$MadelineProto->[messages->getDialogs](messages.getDialogs.md)(\['exclude_pinned' => [Bool](../types/Bool.md), 'offset_date' => [int](../types/int.md), 'offset_id' => [int](../types/int.md), 'offset_peer' => [InputPeer](../types/InputPeer.md), 'limit' => [int](../types/int.md), \]) === [$messages\_Dialogs](../types/messages_Dialogs.md) +$MadelineProto->[messages->getDialogs](messages.getDialogs.md)(\['exclude_pinned' => [Bool](../types/Bool.md), 'offset_date' => [int](../types/int.md), 'offset_id' => [int](../types/int.md), 'offset_peer' => [InputPeer](../types/InputPeer.md), 'limit' => [int](../types/int.md), \]) === [$messages.Dialogs](../types/messages.Dialogs.md) ***

@@ -590,39 +590,39 @@ $MadelineProto->[messages->getDocumentByHash](messages.getDocumentByHash.md)(\[' ***

-$MadelineProto->[messages->getFeaturedStickers](messages.getFeaturedStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages\_FeaturedStickers](../types/messages_FeaturedStickers.md) +$MadelineProto->[messages->getFeaturedStickers](messages.getFeaturedStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages.FeaturedStickers](../types/messages.FeaturedStickers.md) ***

-$MadelineProto->[messages->getFullChat](messages.getFullChat.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), \]) === [$messages\_ChatFull](../types/messages_ChatFull.md) +$MadelineProto->[messages->getFullChat](messages.getFullChat.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), \]) === [$messages.ChatFull](../types/messages.ChatFull.md) ***

-$MadelineProto->[messages->getGameHighScores](messages.getGameHighScores.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages\_HighScores](../types/messages_HighScores.md) +$MadelineProto->[messages->getGameHighScores](messages.getGameHighScores.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages.HighScores](../types/messages.HighScores.md) ***

-$MadelineProto->[messages->getHistory](messages.getHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'offset_date' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->getHistory](messages.getHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'offset_date' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[messages->getInlineBotResults](messages.getInlineBotResults.md)(\['bot' => [InputUser](../types/InputUser.md), 'peer' => [InputPeer](../types/InputPeer.md), 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'query' => [string](../types/string.md), 'offset' => [string](../types/string.md), \]) === [$messages\_BotResults](../types/messages_BotResults.md) +$MadelineProto->[messages->getInlineBotResults](messages.getInlineBotResults.md)(\['bot' => [InputUser](../types/InputUser.md), 'peer' => [InputPeer](../types/InputPeer.md), 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'query' => [string](../types/string.md), 'offset' => [string](../types/string.md), \]) === [$messages.BotResults](../types/messages.BotResults.md) ***

-$MadelineProto->[messages->getInlineGameHighScores](messages.getInlineGameHighScores.md)(\['id' => [InputBotInlineMessageID](../types/InputBotInlineMessageID.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages\_HighScores](../types/messages_HighScores.md) +$MadelineProto->[messages->getInlineGameHighScores](messages.getInlineGameHighScores.md)(\['id' => [InputBotInlineMessageID](../types/InputBotInlineMessageID.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages.HighScores](../types/messages.HighScores.md) ***

-$MadelineProto->[messages->getMaskStickers](messages.getMaskStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages\_AllStickers](../types/messages_AllStickers.md) +$MadelineProto->[messages->getMaskStickers](messages.getMaskStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages.AllStickers](../types/messages.AllStickers.md) ***

-$MadelineProto->[messages->getMessageEditData](messages.getMessageEditData.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), \]) === [$messages\_MessageEditData](../types/messages_MessageEditData.md) +$MadelineProto->[messages->getMessageEditData](messages.getMessageEditData.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), \]) === [$messages.MessageEditData](../types/messages.MessageEditData.md) ***

-$MadelineProto->[messages->getMessages](messages.getMessages.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->getMessages](messages.getMessages.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages.Messages](../types/messages.Messages.md) ***

@@ -630,7 +630,7 @@ $MadelineProto->[messages->getMessagesViews](messages.getMessagesViews.md)(\['pe ***

-$MadelineProto->[messages->getPeerDialogs](messages.getPeerDialogs.md)(\['peers' => \[[InputPeer](../types/InputPeer.md)\], \]) === [$messages\_PeerDialogs](../types/messages_PeerDialogs.md) +$MadelineProto->[messages->getPeerDialogs](messages.getPeerDialogs.md)(\['peers' => \[[InputPeer](../types/InputPeer.md)\], \]) === [$messages.PeerDialogs](../types/messages.PeerDialogs.md) ***

@@ -638,19 +638,19 @@ $MadelineProto->[messages->getPeerSettings](messages.getPeerSettings.md)(\['peer ***

-$MadelineProto->[messages->getPinnedDialogs](messages.getPinnedDialogs.md)(\[\]) === [$messages\_PeerDialogs](../types/messages_PeerDialogs.md) +$MadelineProto->[messages->getPinnedDialogs](messages.getPinnedDialogs.md)(\[\]) === [$messages.PeerDialogs](../types/messages.PeerDialogs.md) ***

-$MadelineProto->[messages->getRecentStickers](messages.getRecentStickers.md)(\['attached' => [Bool](../types/Bool.md), 'hash' => [int](../types/int.md), \]) === [$messages\_RecentStickers](../types/messages_RecentStickers.md) +$MadelineProto->[messages->getRecentStickers](messages.getRecentStickers.md)(\['attached' => [Bool](../types/Bool.md), 'hash' => [int](../types/int.md), \]) === [$messages.RecentStickers](../types/messages.RecentStickers.md) ***

-$MadelineProto->[messages->getSavedGifs](messages.getSavedGifs.md)(\['hash' => [int](../types/int.md), \]) === [$messages\_SavedGifs](../types/messages_SavedGifs.md) +$MadelineProto->[messages->getSavedGifs](messages.getSavedGifs.md)(\['hash' => [int](../types/int.md), \]) === [$messages.SavedGifs](../types/messages.SavedGifs.md) ***

-$MadelineProto->[messages->getStickerSet](messages.getStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), \]) === [$messages\_StickerSet](../types/messages_StickerSet.md) +$MadelineProto->[messages->getStickerSet](messages.getStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), \]) === [$messages.StickerSet](../types/messages.StickerSet.md) ***

@@ -670,7 +670,7 @@ $MadelineProto->[messages->importChatInvite](messages.importChatInvite.md)(\['ha ***

-$MadelineProto->[messages->installStickerSet](messages.installStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), 'archived' => [Bool](../types/Bool.md), \]) === [$messages\_StickerSetInstallResult](../types/messages_StickerSetInstallResult.md) +$MadelineProto->[messages->installStickerSet](messages.installStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), 'archived' => [Bool](../types/Bool.md), \]) === [$messages.StickerSetInstallResult](../types/messages.StickerSetInstallResult.md) ***

@@ -686,11 +686,11 @@ $MadelineProto->[messages->readFeaturedStickers](messages.readFeaturedStickers.m ***

-$MadelineProto->[messages->readHistory](messages.readHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), \]) === [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) +$MadelineProto->[messages->readHistory](messages.readHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), \]) === [$messages.AffectedMessages](../types/messages.AffectedMessages.md) ***

-$MadelineProto->[messages->readMessageContents](messages.readMessageContents.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) +$MadelineProto->[messages->readMessageContents](messages.readMessageContents.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages.AffectedMessages](../types/messages.AffectedMessages.md) ***

@@ -734,27 +734,27 @@ $MadelineProto->[messages->saveRecentSticker](messages.saveRecentSticker.md)(\[' ***

-$MadelineProto->[messages->search](messages.search.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'q' => [string](../types/string.md), 'from_id' => [InputUser](../types/InputUser.md), 'filter' => [MessagesFilter](../types/MessagesFilter.md), 'min_date' => [int](../types/int.md), 'max_date' => [int](../types/int.md), 'offset' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->search](messages.search.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'q' => [string](../types/string.md), 'from_id' => [InputUser](../types/InputUser.md), 'filter' => [MessagesFilter](../types/MessagesFilter.md), 'min_date' => [int](../types/int.md), 'max_date' => [int](../types/int.md), 'offset' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[messages->searchGifs](messages.searchGifs.md)(\['q' => [string](../types/string.md), 'offset' => [int](../types/int.md), \]) === [$messages\_FoundGifs](../types/messages_FoundGifs.md) +$MadelineProto->[messages->searchGifs](messages.searchGifs.md)(\['q' => [string](../types/string.md), 'offset' => [int](../types/int.md), \]) === [$messages.FoundGifs](../types/messages.FoundGifs.md) ***

-$MadelineProto->[messages->searchGlobal](messages.searchGlobal.md)(\['q' => [string](../types/string.md), 'offset_date' => [int](../types/int.md), 'offset_peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->searchGlobal](messages.searchGlobal.md)(\['q' => [string](../types/string.md), 'offset_date' => [int](../types/int.md), 'offset_peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[messages->sendEncrypted](messages.sendEncrypted.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'message' => [DecryptedMessage](../types/DecryptedMessage.md), \]) === [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +$MadelineProto->[messages->sendEncrypted](messages.sendEncrypted.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), \]) === [$messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ***

-$MadelineProto->[messages->sendEncryptedFile](messages.sendEncryptedFile.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'message' => [DecryptedMessage](../types/DecryptedMessage.md), 'file' => [InputEncryptedFile](../types/InputEncryptedFile.md), \]) === [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +$MadelineProto->[messages->sendEncryptedFile](messages.sendEncryptedFile.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), 'file' => [InputEncryptedFile](../types/InputEncryptedFile.md), \]) === [$messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ***

-$MadelineProto->[messages->sendEncryptedService](messages.sendEncryptedService.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'message' => [DecryptedMessage](../types/DecryptedMessage.md), \]) === [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +$MadelineProto->[messages->sendEncryptedService](messages.sendEncryptedService.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), \]) === [$messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ***

@@ -830,31 +830,31 @@ $MadelineProto->[payments->clearSavedInfo](payments.clearSavedInfo.md)(\['creden ***

-$MadelineProto->[payments->getPaymentForm](payments.getPaymentForm.md)(\['msg_id' => [int](../types/int.md), \]) === [$payments\_PaymentForm](../types/payments_PaymentForm.md) +$MadelineProto->[payments->getPaymentForm](payments.getPaymentForm.md)(\['msg_id' => [int](../types/int.md), \]) === [$payments.PaymentForm](../types/payments.PaymentForm.md) ***

-$MadelineProto->[payments->getPaymentReceipt](payments.getPaymentReceipt.md)(\['msg_id' => [int](../types/int.md), \]) === [$payments\_PaymentReceipt](../types/payments_PaymentReceipt.md) +$MadelineProto->[payments->getPaymentReceipt](payments.getPaymentReceipt.md)(\['msg_id' => [int](../types/int.md), \]) === [$payments.PaymentReceipt](../types/payments.PaymentReceipt.md) ***

-$MadelineProto->[payments->getSavedInfo](payments.getSavedInfo.md)(\[\]) === [$payments\_SavedInfo](../types/payments_SavedInfo.md) +$MadelineProto->[payments->getSavedInfo](payments.getSavedInfo.md)(\[\]) === [$payments.SavedInfo](../types/payments.SavedInfo.md) ***

-$MadelineProto->[payments->sendPaymentForm](payments.sendPaymentForm.md)(\['msg_id' => [int](../types/int.md), 'requested_info_id' => [string](../types/string.md), 'shipping_option_id' => [string](../types/string.md), 'credentials' => [InputPaymentCredentials](../types/InputPaymentCredentials.md), \]) === [$payments\_PaymentResult](../types/payments_PaymentResult.md) +$MadelineProto->[payments->sendPaymentForm](payments.sendPaymentForm.md)(\['msg_id' => [int](../types/int.md), 'requested_info_id' => [string](../types/string.md), 'shipping_option_id' => [string](../types/string.md), 'credentials' => [InputPaymentCredentials](../types/InputPaymentCredentials.md), \]) === [$payments.PaymentResult](../types/payments.PaymentResult.md) ***

-$MadelineProto->[payments->validateRequestedInfo](payments.validateRequestedInfo.md)(\['save' => [Bool](../types/Bool.md), 'msg_id' => [int](../types/int.md), 'info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), \]) === [$payments\_ValidatedRequestedInfo](../types/payments_ValidatedRequestedInfo.md) +$MadelineProto->[payments->validateRequestedInfo](payments.validateRequestedInfo.md)(\['save' => [Bool](../types/Bool.md), 'msg_id' => [int](../types/int.md), 'info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), \]) === [$payments.ValidatedRequestedInfo](../types/payments.ValidatedRequestedInfo.md) ***

-$MadelineProto->[phone->acceptCall](phone.acceptCall.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'g_b' => [bytes](../types/bytes.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone\_PhoneCall](../types/phone_PhoneCall.md) +$MadelineProto->[phone->acceptCall](phone.acceptCall.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'g_b' => [bytes](../types/bytes.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone.PhoneCall](../types/phone.PhoneCall.md) ***

-$MadelineProto->[phone->confirmCall](phone.confirmCall.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'g_a' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone\_PhoneCall](../types/phone_PhoneCall.md) +$MadelineProto->[phone->confirmCall](phone.confirmCall.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'g_a' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone.PhoneCall](../types/phone.PhoneCall.md) ***

@@ -870,7 +870,7 @@ $MadelineProto->[phone->receivedCall](phone.receivedCall.md)(\['peer' => [InputP ***

-$MadelineProto->[phone->requestCall](phone.requestCall.md)(\['user_id' => [InputUser](../types/InputUser.md), 'g_a_hash' => [bytes](../types/bytes.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone\_PhoneCall](../types/phone_PhoneCall.md) +$MadelineProto->[phone->requestCall](phone.requestCall.md)(\['user_id' => [InputUser](../types/InputUser.md), 'g_a_hash' => [bytes](../types/bytes.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone.PhoneCall](../types/phone.PhoneCall.md) ***

@@ -886,7 +886,7 @@ $MadelineProto->[photos->deletePhotos](photos.deletePhotos.md)(\['id' => \[[Inpu ***

-$MadelineProto->[photos->getUserPhotos](photos.getUserPhotos.md)(\['user_id' => [InputUser](../types/InputUser.md), 'offset' => [int](../types/int.md), 'max_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$photos\_Photos](../types/photos_Photos.md) +$MadelineProto->[photos->getUserPhotos](photos.getUserPhotos.md)(\['user_id' => [InputUser](../types/InputUser.md), 'offset' => [int](../types/int.md), 'max_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$photos.Photos](../types/photos.Photos.md) ***

@@ -894,7 +894,7 @@ $MadelineProto->[photos->updateProfilePhoto](photos.updateProfilePhoto.md)(\['id ***

-$MadelineProto->[photos->uploadProfilePhoto](photos.uploadProfilePhoto.md)(\['file' => [InputFile](../types/InputFile.md), \]) === [$photos\_Photo](../types/photos_Photo.md) +$MadelineProto->[photos->uploadProfilePhoto](photos.uploadProfilePhoto.md)(\['file' => [InputFile](../types/InputFile.md), \]) === [$photos.Photo](../types/photos.Photo.md) ***

@@ -918,35 +918,35 @@ $MadelineProto->[set_client_DH_params](set_client_DH_params.md)(\['nonce' => [in ***

-$MadelineProto->[stickers->addStickerToSet](stickers.addStickerToSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), 'sticker' => [InputStickerSetItem](../types/InputStickerSetItem.md), \]) === [$messages\_StickerSet](../types/messages_StickerSet.md) +$MadelineProto->[stickers->addStickerToSet](stickers.addStickerToSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), 'sticker' => [InputStickerSetItem](../types/InputStickerSetItem.md), \]) === [$messages.StickerSet](../types/messages.StickerSet.md) ***

-$MadelineProto->[stickers->changeStickerPosition](stickers.changeStickerPosition.md)(\['sticker' => [InputDocument](../types/InputDocument.md), 'position' => [int](../types/int.md), \]) === [$messages\_StickerSet](../types/messages_StickerSet.md) +$MadelineProto->[stickers->changeStickerPosition](stickers.changeStickerPosition.md)(\['sticker' => [InputDocument](../types/InputDocument.md), 'position' => [int](../types/int.md), \]) === [$messages.StickerSet](../types/messages.StickerSet.md) ***

-$MadelineProto->[stickers->createStickerSet](stickers.createStickerSet.md)(\['masks' => [Bool](../types/Bool.md), 'user_id' => [InputUser](../types/InputUser.md), 'title' => [string](../types/string.md), 'short_name' => [string](../types/string.md), 'stickers' => \[[InputStickerSetItem](../types/InputStickerSetItem.md)\], \]) === [$messages\_StickerSet](../types/messages_StickerSet.md) +$MadelineProto->[stickers->createStickerSet](stickers.createStickerSet.md)(\['masks' => [Bool](../types/Bool.md), 'user_id' => [InputUser](../types/InputUser.md), 'title' => [string](../types/string.md), 'short_name' => [string](../types/string.md), 'stickers' => \[[InputStickerSetItem](../types/InputStickerSetItem.md)\], \]) === [$messages.StickerSet](../types/messages.StickerSet.md) ***

-$MadelineProto->[stickers->removeStickerFromSet](stickers.removeStickerFromSet.md)(\['sticker' => [InputDocument](../types/InputDocument.md), \]) === [$messages\_StickerSet](../types/messages_StickerSet.md) +$MadelineProto->[stickers->removeStickerFromSet](stickers.removeStickerFromSet.md)(\['sticker' => [InputDocument](../types/InputDocument.md), \]) === [$messages.StickerSet](../types/messages.StickerSet.md) ***

-$MadelineProto->[updates->getChannelDifference](updates.getChannelDifference.md)(\['force' => [Bool](../types/Bool.md), 'channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$updates\_ChannelDifference](../types/updates_ChannelDifference.md) +$MadelineProto->[updates->getChannelDifference](updates.getChannelDifference.md)(\['force' => [Bool](../types/Bool.md), 'channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$updates.ChannelDifference](../types/updates.ChannelDifference.md) ***

-$MadelineProto->[updates->getDifference](updates.getDifference.md)(\['pts' => [int](../types/int.md), 'pts_total_limit' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) === [$updates\_Difference](../types/updates_Difference.md) +$MadelineProto->[updates->getDifference](updates.getDifference.md)(\['pts' => [int](../types/int.md), 'pts_total_limit' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) === [$updates.Difference](../types/updates.Difference.md) ***

-$MadelineProto->[updates->getState](updates.getState.md)(\[\]) === [$updates\_State](../types/updates_State.md) +$MadelineProto->[updates->getState](updates.getState.md)(\[\]) === [$updates.State](../types/updates.State.md) ***

-$MadelineProto->[upload->getCdnFile](upload.getCdnFile.md)(\['file_token' => [bytes](../types/bytes.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_CdnFile](../types/upload_CdnFile.md) +$MadelineProto->[upload->getCdnFile](upload.getCdnFile.md)(\['file_token' => [bytes](../types/bytes.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload.CdnFile](../types/upload.CdnFile.md) ***

@@ -954,11 +954,11 @@ $MadelineProto->[upload->getCdnFileHashes](upload.getCdnFileHashes.md)(\['file_t ***

-$MadelineProto->[upload->getFile](upload.getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_File](../types/upload_File.md) +$MadelineProto->[upload->getFile](upload.getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload.File](../types/upload.File.md) ***

-$MadelineProto->[upload->getWebFile](upload.getWebFile.md)(\['location' => [InputWebFileLocation](../types/InputWebFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_WebFile](../types/upload_WebFile.md) +$MadelineProto->[upload->getWebFile](upload.getWebFile.md)(\['location' => [InputWebFileLocation](../types/InputWebFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload.WebFile](../types/upload.WebFile.md) ***

diff --git a/old_docs/API_docs_v70/methods/auth.checkPassword.md b/old_docs/API_docs_v70/methods/auth.checkPassword.md index db65cb56..eeeed171 100644 --- a/old_docs/API_docs_v70/methods/auth.checkPassword.md +++ b/old_docs/API_docs_v70/methods/auth.checkPassword.md @@ -16,7 +16,7 @@ You cannot use this method directly, use the complete_2fa_login method instead ( |password\_hash|[bytes](../types/bytes.md) | You cannot use this method directly, use the complete_2fa_login method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->checkPassword(['password_hash' => 'bytes', ]); +$auth.Authorization = $MadelineProto->auth->checkPassword(['password_hash' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.checkPassword({password_hash='bytes', }) +auth.Authorization = auth.checkPassword({password_hash='bytes', }) ``` ### Errors diff --git a/old_docs/API_docs_v70/methods/auth.checkPhone.md b/old_docs/API_docs_v70/methods/auth.checkPhone.md index 227358cb..51d4cba6 100644 --- a/old_docs/API_docs_v70/methods/auth.checkPhone.md +++ b/old_docs/API_docs_v70/methods/auth.checkPhone.md @@ -16,7 +16,7 @@ Check if this phone number is registered on telegram |phone\_number|[string](../types/string.md) | The phone number to check | Yes| -### Return type: [auth\_CheckedPhone](../types/auth_CheckedPhone.md) +### Return type: [auth.CheckedPhone](../types/auth.CheckedPhone.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => 'string', ]); +$auth.CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_CheckedPhone = auth.checkPhone({phone_number='string', }) +auth.CheckedPhone = auth.checkPhone({phone_number='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v70/methods/auth.exportAuthorization.md b/old_docs/API_docs_v70/methods/auth.exportAuthorization.md index 72063a2b..41a1f87d 100644 --- a/old_docs/API_docs_v70/methods/auth.exportAuthorization.md +++ b/old_docs/API_docs_v70/methods/auth.exportAuthorization.md @@ -16,7 +16,7 @@ You cannot use this method directly, use $MadelineProto->exportAuthorization() i |dc\_id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| -### Return type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) +### Return type: [auth.ExportedAuthorization](../types/auth.ExportedAuthorization.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_ExportedAuthorization = $MadelineProto->auth->exportAuthorization(['dc_id' => int, ]); +$auth.ExportedAuthorization = $MadelineProto->auth->exportAuthorization(['dc_id' => int, ]); ``` Or, if you're into Lua: ```lua -auth_ExportedAuthorization = auth.exportAuthorization({dc_id=int, }) +auth.ExportedAuthorization = auth.exportAuthorization({dc_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v70/methods/auth.importAuthorization.md b/old_docs/API_docs_v70/methods/auth.importAuthorization.md index d9c13751..5257e0b0 100644 --- a/old_docs/API_docs_v70/methods/auth.importAuthorization.md +++ b/old_docs/API_docs_v70/methods/auth.importAuthorization.md @@ -17,7 +17,7 @@ You cannot use this method directly, use $MadelineProto->importAuthorization($au |bytes|[bytes](../types/bytes.md) | You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => 'bytes', ]); +$auth.Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.importAuthorization({id=int, bytes='bytes', }) +auth.Authorization = auth.importAuthorization({id=int, bytes='bytes', }) ``` ### Errors diff --git a/old_docs/API_docs_v70/methods/auth.importBotAuthorization.md b/old_docs/API_docs_v70/methods/auth.importBotAuthorization.md index 3161d6be..a4ea8027 100644 --- a/old_docs/API_docs_v70/methods/auth.importBotAuthorization.md +++ b/old_docs/API_docs_v70/methods/auth.importBotAuthorization.md @@ -18,7 +18,7 @@ You cannot use this method directly, use the botLogin method instead (see https: |bot\_auth\_token|[string](../types/string.md) | You cannot use this method directly, use the botLogin method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **YES** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->importBotAuthorization(['api_id' => int, 'api_hash' => 'string', 'bot_auth_token' => 'string', ]); +$auth.Authorization = $MadelineProto->auth->importBotAuthorization(['api_id' => int, 'api_hash' => 'string', 'bot_auth_token' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.importBotAuthorization({api_id=int, api_hash='string', bot_auth_token='string', }) +auth.Authorization = auth.importBotAuthorization({api_id=int, api_hash='string', bot_auth_token='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v70/methods/auth.recoverPassword.md b/old_docs/API_docs_v70/methods/auth.recoverPassword.md index f7cbf4a4..2e78444b 100644 --- a/old_docs/API_docs_v70/methods/auth.recoverPassword.md +++ b/old_docs/API_docs_v70/methods/auth.recoverPassword.md @@ -16,7 +16,7 @@ Reset the [2FA password](https://core.telegram.org/api/srp) using the recovery c |code|[string](../types/string.md) | Code received via email | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->recoverPassword(['code' => 'string', ]); +$auth.Authorization = $MadelineProto->auth->recoverPassword(['code' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.recoverPassword({code='string', }) +auth.Authorization = auth.recoverPassword({code='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v70/methods/auth.requestPasswordRecovery.md b/old_docs/API_docs_v70/methods/auth.requestPasswordRecovery.md index 5cd77936..ff1ecc02 100644 --- a/old_docs/API_docs_v70/methods/auth.requestPasswordRecovery.md +++ b/old_docs/API_docs_v70/methods/auth.requestPasswordRecovery.md @@ -11,7 +11,7 @@ Request recovery code of a [2FA password](https://core.telegram.org/api/srp), on -### Return type: [auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) +### Return type: [auth.PasswordRecovery](../types/auth.PasswordRecovery.md) ### Can bots use this method: **NO** @@ -28,13 +28,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_PasswordRecovery = $MadelineProto->auth->requestPasswordRecovery(); +$auth.PasswordRecovery = $MadelineProto->auth->requestPasswordRecovery(); ``` Or, if you're into Lua: ```lua -auth_PasswordRecovery = auth.requestPasswordRecovery({}) +auth.PasswordRecovery = auth.requestPasswordRecovery({}) ``` ### Errors diff --git a/old_docs/API_docs_v70/methods/auth.resendCode.md b/old_docs/API_docs_v70/methods/auth.resendCode.md index a395a91b..f59f1b7b 100644 --- a/old_docs/API_docs_v70/methods/auth.resendCode.md +++ b/old_docs/API_docs_v70/methods/auth.resendCode.md @@ -17,7 +17,7 @@ Resend the login code via another medium, the phone code type is determined by t |phone\_code\_hash|[string](../types/string.md) | The phone code hash obtained from [auth.sendCode](../methods/auth.sendCode.md) | Yes| -### Return type: [auth\_SentCode](../types/auth_SentCode.md) +### Return type: [auth.SentCode](../types/auth.SentCode.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_SentCode = $MadelineProto->auth->resendCode(['phone_number' => 'string', 'phone_code_hash' => 'string', ]); +$auth.SentCode = $MadelineProto->auth->resendCode(['phone_number' => 'string', 'phone_code_hash' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_SentCode = auth.resendCode({phone_number='string', phone_code_hash='string', }) +auth.SentCode = auth.resendCode({phone_number='string', phone_code_hash='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v70/methods/auth.sendCode.md b/old_docs/API_docs_v70/methods/auth.sendCode.md index bd922a48..0c818fbb 100644 --- a/old_docs/API_docs_v70/methods/auth.sendCode.md +++ b/old_docs/API_docs_v70/methods/auth.sendCode.md @@ -20,7 +20,7 @@ You cannot use this method directly, use the phoneLogin method instead (see http |api\_hash|[string](../types/string.md) | You cannot use this method directly, use the phoneLogin method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_SentCode](../types/auth_SentCode.md) +### Return type: [auth.SentCode](../types/auth.SentCode.md) ### Can bots use this method: **NO** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_SentCode = $MadelineProto->auth->sendCode(['allow_flashcall' => Bool, 'phone_number' => 'string', 'current_number' => Bool, 'api_id' => int, 'api_hash' => 'string', ]); +$auth.SentCode = $MadelineProto->auth->sendCode(['allow_flashcall' => Bool, 'phone_number' => 'string', 'current_number' => Bool, 'api_id' => int, 'api_hash' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_SentCode = auth.sendCode({allow_flashcall=Bool, phone_number='string', current_number=Bool, api_id=int, api_hash='string', }) +auth.SentCode = auth.sendCode({allow_flashcall=Bool, phone_number='string', current_number=Bool, api_id=int, api_hash='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v70/methods/auth.signIn.md b/old_docs/API_docs_v70/methods/auth.signIn.md index 54812a2e..95b14f32 100644 --- a/old_docs/API_docs_v70/methods/auth.signIn.md +++ b/old_docs/API_docs_v70/methods/auth.signIn.md @@ -18,7 +18,7 @@ You cannot use this method directly, use the completePhoneLogin method instead ( |phone\_code|[string](../types/string.md) | You cannot use this method directly, use the completePhoneLogin method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->signIn(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', ]); +$auth.Authorization = $MadelineProto->auth->signIn(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.signIn({phone_number='string', phone_code_hash='string', phone_code='string', }) +auth.Authorization = auth.signIn({phone_number='string', phone_code_hash='string', phone_code='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v70/methods/auth.signUp.md b/old_docs/API_docs_v70/methods/auth.signUp.md index 2aca2bfa..fdb5d628 100644 --- a/old_docs/API_docs_v70/methods/auth.signUp.md +++ b/old_docs/API_docs_v70/methods/auth.signUp.md @@ -20,7 +20,7 @@ You cannot use this method directly, use the completeSignup method instead (see |last\_name|[string](../types/string.md) | You cannot use this method directly, use the completeSignup method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **NO** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->signUp(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', 'first_name' => 'string', 'last_name' => 'string', ]); +$auth.Authorization = $MadelineProto->auth->signUp(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', 'first_name' => 'string', 'last_name' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.signUp({phone_number='string', phone_code_hash='string', phone_code='string', first_name='string', last_name='string', }) +auth.Authorization = auth.signUp({phone_number='string', phone_code_hash='string', phone_code='string', first_name='string', last_name='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v70/methods/channels.deleteMessages.md b/old_docs/API_docs_v70/methods/channels.deleteMessages.md index 10a439fb..8583e560 100644 --- a/old_docs/API_docs_v70/methods/channels.deleteMessages.md +++ b/old_docs/API_docs_v70/methods/channels.deleteMessages.md @@ -17,7 +17,7 @@ Delete messages in a [channel/supergroup](https://core.telegram.org/api/channel) |id|Array of [int](../types/int.md) | The IDs of messages to delete | Yes| -### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) +### Return type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedMessages = $MadelineProto->channels->deleteMessages(['channel' => InputChannel, 'id' => [int, int], ]); +$messages.AffectedMessages = $MadelineProto->channels->deleteMessages(['channel' => InputChannel, 'id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AffectedMessages = channels.deleteMessages({channel=InputChannel, id={int}, }) +messages.AffectedMessages = channels.deleteMessages({channel=InputChannel, id={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v70/methods/channels.deleteUserHistory.md b/old_docs/API_docs_v70/methods/channels.deleteUserHistory.md index 9b8b159f..6ccaf7dd 100644 --- a/old_docs/API_docs_v70/methods/channels.deleteUserHistory.md +++ b/old_docs/API_docs_v70/methods/channels.deleteUserHistory.md @@ -17,7 +17,7 @@ Delete all messages sent by a certain user in a [supergroup](https://core.telegr |user\_id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | User whose messages should be deleted | Optional| -### Return type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) +### Return type: [messages.AffectedHistory](../types/messages.AffectedHistory.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedHistory = $MadelineProto->channels->deleteUserHistory(['channel' => InputChannel, 'user_id' => InputUser, ]); +$messages.AffectedHistory = $MadelineProto->channels->deleteUserHistory(['channel' => InputChannel, 'user_id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -messages_AffectedHistory = channels.deleteUserHistory({channel=InputChannel, user_id=InputUser, }) +messages.AffectedHistory = channels.deleteUserHistory({channel=InputChannel, user_id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v70/methods/channels.getAdminLog.md b/old_docs/API_docs_v70/methods/channels.getAdminLog.md index e149f653..3b550a73 100644 --- a/old_docs/API_docs_v70/methods/channels.getAdminLog.md +++ b/old_docs/API_docs_v70/methods/channels.getAdminLog.md @@ -22,7 +22,7 @@ Get the admin log of a [channel/supergroup](https://core.telegram.org/api/channe |limit|[int](../types/int.md) | Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets) | Yes| -### Return type: [channels\_AdminLogResults](../types/channels_AdminLogResults.md) +### Return type: [channels.AdminLogResults](../types/channels.AdminLogResults.md) ### Can bots use this method: **NO** @@ -39,13 +39,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$channels_AdminLogResults = $MadelineProto->channels->getAdminLog(['channel' => InputChannel, 'q' => 'string', 'events_filter' => ChannelAdminLogEventsFilter, 'admins' => [InputUser, InputUser], 'max_id' => long, 'min_id' => long, 'limit' => int, ]); +$channels.AdminLogResults = $MadelineProto->channels->getAdminLog(['channel' => InputChannel, 'q' => 'string', 'events_filter' => ChannelAdminLogEventsFilter, 'admins' => [InputUser, InputUser], 'max_id' => long, 'min_id' => long, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -channels_AdminLogResults = channels.getAdminLog({channel=InputChannel, q='string', events_filter=ChannelAdminLogEventsFilter, admins={InputUser}, max_id=long, min_id=long, limit=int, }) +channels.AdminLogResults = channels.getAdminLog({channel=InputChannel, q='string', events_filter=ChannelAdminLogEventsFilter, admins={InputUser}, max_id=long, min_id=long, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v70/methods/channels.getAdminedPublicChannels.md b/old_docs/API_docs_v70/methods/channels.getAdminedPublicChannels.md index 55a686ca..eb277404 100644 --- a/old_docs/API_docs_v70/methods/channels.getAdminedPublicChannels.md +++ b/old_docs/API_docs_v70/methods/channels.getAdminedPublicChannels.md @@ -11,7 +11,7 @@ Get [channels/supergroups/geogroups](https://core.telegram.org/api/channel) we'r -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->channels->getAdminedPublicChannels(); +$messages.Chats = $MadelineProto->channels->getAdminedPublicChannels(); ``` Or, if you're into Lua: ```lua -messages_Chats = channels.getAdminedPublicChannels({}) +messages.Chats = channels.getAdminedPublicChannels({}) ``` diff --git a/old_docs/API_docs_v70/methods/channels.getChannels.md b/old_docs/API_docs_v70/methods/channels.getChannels.md index 368c96ce..ed9cf4a7 100644 --- a/old_docs/API_docs_v70/methods/channels.getChannels.md +++ b/old_docs/API_docs_v70/methods/channels.getChannels.md @@ -16,7 +16,7 @@ Get info about [channels/supergroups](https://core.telegram.org/api/channel) |id|Array of [Username, chat ID, Update, Message or InputChannel](../types/InputChannel.md) | The channel/supergroup MTProto IDs | Yes| -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->channels->getChannels(['id' => [InputChannel, InputChannel], ]); +$messages.Chats = $MadelineProto->channels->getChannels(['id' => [InputChannel, InputChannel], ]); ``` Or, if you're into Lua: ```lua -messages_Chats = channels.getChannels({id={InputChannel}, }) +messages.Chats = channels.getChannels({id={InputChannel}, }) ``` ### Errors diff --git a/old_docs/API_docs_v70/methods/channels.getFullChannel.md b/old_docs/API_docs_v70/methods/channels.getFullChannel.md index 08dc21bb..1369e0a0 100644 --- a/old_docs/API_docs_v70/methods/channels.getFullChannel.md +++ b/old_docs/API_docs_v70/methods/channels.getFullChannel.md @@ -16,7 +16,7 @@ You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo me |channel|[Username, chat ID, Update, Message or InputChannel](../types/InputChannel.md) | You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo methods instead (see https://docs.madelineproto.xyz for more info) | Optional| -### Return type: [messages\_ChatFull](../types/messages_ChatFull.md) +### Return type: [messages.ChatFull](../types/messages.ChatFull.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_ChatFull = $MadelineProto->channels->getFullChannel(['channel' => InputChannel, ]); +$messages.ChatFull = $MadelineProto->channels->getFullChannel(['channel' => InputChannel, ]); ``` Or, if you're into Lua: ```lua -messages_ChatFull = channels.getFullChannel({channel=InputChannel, }) +messages.ChatFull = channels.getFullChannel({channel=InputChannel, }) ``` ### Errors diff --git a/old_docs/API_docs_v70/methods/channels.getMessages.md b/old_docs/API_docs_v70/methods/channels.getMessages.md index 379e0e9d..5023ea1a 100644 --- a/old_docs/API_docs_v70/methods/channels.getMessages.md +++ b/old_docs/API_docs_v70/methods/channels.getMessages.md @@ -17,7 +17,7 @@ Get [channel/supergroup](https://core.telegram.org/api/channel) messages |id|Array of [int](../types/int.md) | The message IDs | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->channels->getMessages(['channel' => InputChannel, 'id' => [int, int], ]); +$messages.Messages = $MadelineProto->channels->getMessages(['channel' => InputChannel, 'id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Messages = channels.getMessages({channel=InputChannel, id={int}, }) +messages.Messages = channels.getMessages({channel=InputChannel, id={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v70/methods/channels.getParticipant.md b/old_docs/API_docs_v70/methods/channels.getParticipant.md index aa2ce655..cf6a7771 100644 --- a/old_docs/API_docs_v70/methods/channels.getParticipant.md +++ b/old_docs/API_docs_v70/methods/channels.getParticipant.md @@ -17,7 +17,7 @@ Get info about a [channel/supergroup](https://core.telegram.org/api/channel) par |user\_id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | ID of participant to get info about | Optional| -### Return type: [channels\_ChannelParticipant](../types/channels_ChannelParticipant.md) +### Return type: [channels.ChannelParticipant](../types/channels.ChannelParticipant.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$channels_ChannelParticipant = $MadelineProto->channels->getParticipant(['channel' => InputChannel, 'user_id' => InputUser, ]); +$channels.ChannelParticipant = $MadelineProto->channels->getParticipant(['channel' => InputChannel, 'user_id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -channels_ChannelParticipant = channels.getParticipant({channel=InputChannel, user_id=InputUser, }) +channels.ChannelParticipant = channels.getParticipant({channel=InputChannel, user_id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v70/methods/channels.getParticipants.md b/old_docs/API_docs_v70/methods/channels.getParticipants.md index 9be95921..bfeccd48 100644 --- a/old_docs/API_docs_v70/methods/channels.getParticipants.md +++ b/old_docs/API_docs_v70/methods/channels.getParticipants.md @@ -19,7 +19,7 @@ Get the participants of a channel |limit|[int](../types/int.md) | [Limit](https://core.telegram.org/api/offsets) | Yes| -### Return type: [channels\_ChannelParticipants](../types/channels_ChannelParticipants.md) +### Return type: [channels.ChannelParticipants](../types/channels.ChannelParticipants.md) ### Can bots use this method: **YES** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$channels_ChannelParticipants = $MadelineProto->channels->getParticipants(['channel' => InputChannel, 'filter' => ChannelParticipantsFilter, 'offset' => int, 'limit' => int, ]); +$channels.ChannelParticipants = $MadelineProto->channels->getParticipants(['channel' => InputChannel, 'filter' => ChannelParticipantsFilter, 'offset' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -channels_ChannelParticipants = channels.getParticipants({channel=InputChannel, filter=ChannelParticipantsFilter, offset=int, limit=int, }) +channels.ChannelParticipants = channels.getParticipants({channel=InputChannel, filter=ChannelParticipantsFilter, offset=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v70/methods/contacts.deleteContact.md b/old_docs/API_docs_v70/methods/contacts.deleteContact.md index a9321d64..9169e1e0 100644 --- a/old_docs/API_docs_v70/methods/contacts.deleteContact.md +++ b/old_docs/API_docs_v70/methods/contacts.deleteContact.md @@ -16,7 +16,7 @@ Delete a contact |id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | The contact to delete | Optional| -### Return type: [contacts\_Link](../types/contacts_Link.md) +### Return type: [contacts.Link](../types/contacts.Link.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Link = $MadelineProto->contacts->deleteContact(['id' => InputUser, ]); +$contacts.Link = $MadelineProto->contacts->deleteContact(['id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -contacts_Link = contacts.deleteContact({id=InputUser, }) +contacts.Link = contacts.deleteContact({id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v70/methods/contacts.getBlocked.md b/old_docs/API_docs_v70/methods/contacts.getBlocked.md index 92f2f331..6ac1c343 100644 --- a/old_docs/API_docs_v70/methods/contacts.getBlocked.md +++ b/old_docs/API_docs_v70/methods/contacts.getBlocked.md @@ -17,7 +17,7 @@ Returns the list of blocked users. |limit|[int](../types/int.md) | The number of list elements to be returned | Yes| -### Return type: [contacts\_Blocked](../types/contacts_Blocked.md) +### Return type: [contacts.Blocked](../types/contacts.Blocked.md) ### Can bots use this method: **NO** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Blocked = $MadelineProto->contacts->getBlocked(['offset' => int, 'limit' => int, ]); +$contacts.Blocked = $MadelineProto->contacts->getBlocked(['offset' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -contacts_Blocked = contacts.getBlocked({offset=int, limit=int, }) +contacts.Blocked = contacts.getBlocked({offset=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v70/methods/contacts.getContacts.md b/old_docs/API_docs_v70/methods/contacts.getContacts.md index caee7aa8..a2fcd412 100644 --- a/old_docs/API_docs_v70/methods/contacts.getContacts.md +++ b/old_docs/API_docs_v70/methods/contacts.getContacts.md @@ -16,7 +16,7 @@ Returns the current user's contact list. |hash|[string](../types/string.md) | List of contact user IDs you already cached | Yes| -### Return type: [contacts\_Contacts](../types/contacts_Contacts.md) +### Return type: [contacts.Contacts](../types/contacts.Contacts.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Contacts = $MadelineProto->contacts->getContacts(['hash' => 'string', ]); +$contacts.Contacts = $MadelineProto->contacts->getContacts(['hash' => 'string', ]); ``` Or, if you're into Lua: ```lua -contacts_Contacts = contacts.getContacts({hash='string', }) +contacts.Contacts = contacts.getContacts({hash='string', }) ``` diff --git a/old_docs/API_docs_v70/methods/contacts.getTopPeers.md b/old_docs/API_docs_v70/methods/contacts.getTopPeers.md index 0acf7155..870de6b3 100644 --- a/old_docs/API_docs_v70/methods/contacts.getTopPeers.md +++ b/old_docs/API_docs_v70/methods/contacts.getTopPeers.md @@ -24,7 +24,7 @@ Get most used peers |hash|Array of [int](../types/int.md) | Peer IDs of previously cached peers | Optional| -### Return type: [contacts\_TopPeers](../types/contacts_TopPeers.md) +### Return type: [contacts.TopPeers](../types/contacts.TopPeers.md) ### Can bots use this method: **NO** @@ -41,13 +41,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_TopPeers = $MadelineProto->contacts->getTopPeers(['correspondents' => Bool, 'bots_pm' => Bool, 'bots_inline' => Bool, 'phone_calls' => Bool, 'groups' => Bool, 'channels' => Bool, 'offset' => int, 'limit' => int, 'hash' => [int, int], ]); +$contacts.TopPeers = $MadelineProto->contacts->getTopPeers(['correspondents' => Bool, 'bots_pm' => Bool, 'bots_inline' => Bool, 'phone_calls' => Bool, 'groups' => Bool, 'channels' => Bool, 'offset' => int, 'limit' => int, 'hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -contacts_TopPeers = contacts.getTopPeers({correspondents=Bool, bots_pm=Bool, bots_inline=Bool, phone_calls=Bool, groups=Bool, channels=Bool, offset=int, limit=int, hash={int}, }) +contacts.TopPeers = contacts.getTopPeers({correspondents=Bool, bots_pm=Bool, bots_inline=Bool, phone_calls=Bool, groups=Bool, channels=Bool, offset=int, limit=int, hash={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v70/methods/contacts.importContacts.md b/old_docs/API_docs_v70/methods/contacts.importContacts.md index 572df9fb..975d0565 100644 --- a/old_docs/API_docs_v70/methods/contacts.importContacts.md +++ b/old_docs/API_docs_v70/methods/contacts.importContacts.md @@ -17,7 +17,7 @@ Imports contacts: saves a full list on the server, adds already registered conta |replace|[Bool](../types/Bool.md) | Replace contacts? | Yes| -### Return type: [contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) +### Return type: [contacts.ImportedContacts](../types/contacts.ImportedContacts.md) ### Can bots use this method: **NO** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_ImportedContacts = $MadelineProto->contacts->importContacts(['contacts' => [InputContact, InputContact], 'replace' => Bool, ]); +$contacts.ImportedContacts = $MadelineProto->contacts->importContacts(['contacts' => [InputContact, InputContact], 'replace' => Bool, ]); ``` Or, if you're into Lua: ```lua -contacts_ImportedContacts = contacts.importContacts({contacts={InputContact}, replace=Bool, }) +contacts.ImportedContacts = contacts.importContacts({contacts={InputContact}, replace=Bool, }) ``` diff --git a/old_docs/API_docs_v70/methods/contacts.resolveUsername.md b/old_docs/API_docs_v70/methods/contacts.resolveUsername.md index 05e3d854..46f1eb50 100644 --- a/old_docs/API_docs_v70/methods/contacts.resolveUsername.md +++ b/old_docs/API_docs_v70/methods/contacts.resolveUsername.md @@ -16,7 +16,7 @@ You cannot use this method directly, use the resolveUsername, getPwrChat, getInf |username|[string](../types/string.md) | You cannot use this method directly, use the resolveUsername, getPwrChat, getInfo, getFullInfo methods instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [contacts\_ResolvedPeer](../types/contacts_ResolvedPeer.md) +### Return type: [contacts.ResolvedPeer](../types/contacts.ResolvedPeer.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_ResolvedPeer = $MadelineProto->contacts->resolveUsername(['username' => 'string', ]); +$contacts.ResolvedPeer = $MadelineProto->contacts->resolveUsername(['username' => 'string', ]); ``` Or, if you're into Lua: ```lua -contacts_ResolvedPeer = contacts.resolveUsername({username='string', }) +contacts.ResolvedPeer = contacts.resolveUsername({username='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v70/methods/contacts.search.md b/old_docs/API_docs_v70/methods/contacts.search.md index 2f39d6f1..ec04c7f9 100644 --- a/old_docs/API_docs_v70/methods/contacts.search.md +++ b/old_docs/API_docs_v70/methods/contacts.search.md @@ -17,7 +17,7 @@ Returns users found by username substring. |limit|[int](../types/int.md) | Maximum number of users to be returned | Yes| -### Return type: [contacts\_Found](../types/contacts_Found.md) +### Return type: [contacts.Found](../types/contacts.Found.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Found = $MadelineProto->contacts->search(['q' => 'string', 'limit' => int, ]); +$contacts.Found = $MadelineProto->contacts->search(['q' => 'string', 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -contacts_Found = contacts.search({q='string', limit=int, }) +contacts.Found = contacts.search({q='string', limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v70/methods/help.getAppUpdate.md b/old_docs/API_docs_v70/methods/help.getAppUpdate.md index 4c58e898..b9899d71 100644 --- a/old_docs/API_docs_v70/methods/help.getAppUpdate.md +++ b/old_docs/API_docs_v70/methods/help.getAppUpdate.md @@ -11,7 +11,7 @@ Returns information on update availability for the current application. -### Return type: [help\_AppUpdate](../types/help_AppUpdate.md) +### Return type: [help.AppUpdate](../types/help.AppUpdate.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_AppUpdate = $MadelineProto->help->getAppUpdate(); +$help.AppUpdate = $MadelineProto->help->getAppUpdate(); ``` Or, if you're into Lua: ```lua -help_AppUpdate = help.getAppUpdate({}) +help.AppUpdate = help.getAppUpdate({}) ``` diff --git a/old_docs/API_docs_v70/methods/help.getInviteText.md b/old_docs/API_docs_v70/methods/help.getInviteText.md index 6fd67362..0d427974 100644 --- a/old_docs/API_docs_v70/methods/help.getInviteText.md +++ b/old_docs/API_docs_v70/methods/help.getInviteText.md @@ -11,7 +11,7 @@ Returns text of a text message with an invitation. -### Return type: [help\_InviteText](../types/help_InviteText.md) +### Return type: [help.InviteText](../types/help.InviteText.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_InviteText = $MadelineProto->help->getInviteText(); +$help.InviteText = $MadelineProto->help->getInviteText(); ``` Or, if you're into Lua: ```lua -help_InviteText = help.getInviteText({}) +help.InviteText = help.getInviteText({}) ``` diff --git a/old_docs/API_docs_v70/methods/help.getSupport.md b/old_docs/API_docs_v70/methods/help.getSupport.md index 7a577892..8a8df916 100644 --- a/old_docs/API_docs_v70/methods/help.getSupport.md +++ b/old_docs/API_docs_v70/methods/help.getSupport.md @@ -11,7 +11,7 @@ Returns the support user for the 'ask a question' feature. -### Return type: [help\_Support](../types/help_Support.md) +### Return type: [help.Support](../types/help.Support.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_Support = $MadelineProto->help->getSupport(); +$help.Support = $MadelineProto->help->getSupport(); ``` Or, if you're into Lua: ```lua -help_Support = help.getSupport({}) +help.Support = help.getSupport({}) ``` diff --git a/old_docs/API_docs_v70/methods/help.getTermsOfService.md b/old_docs/API_docs_v70/methods/help.getTermsOfService.md index f6226458..9f9b28f9 100644 --- a/old_docs/API_docs_v70/methods/help.getTermsOfService.md +++ b/old_docs/API_docs_v70/methods/help.getTermsOfService.md @@ -11,7 +11,7 @@ Get terms of service -### Return type: [help\_TermsOfService](../types/help_TermsOfService.md) +### Return type: [help.TermsOfService](../types/help.TermsOfService.md) ### Can bots use this method: **YES** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_TermsOfService = $MadelineProto->help->getTermsOfService(); +$help.TermsOfService = $MadelineProto->help->getTermsOfService(); ``` Or, if you're into Lua: ```lua -help_TermsOfService = help.getTermsOfService({}) +help.TermsOfService = help.getTermsOfService({}) ``` diff --git a/old_docs/API_docs_v70/methods/messages.deleteHistory.md b/old_docs/API_docs_v70/methods/messages.deleteHistory.md index 9ae1bae9..41460415 100644 --- a/old_docs/API_docs_v70/methods/messages.deleteHistory.md +++ b/old_docs/API_docs_v70/methods/messages.deleteHistory.md @@ -18,7 +18,7 @@ Deletes communication history. |max\_id|[int](../types/int.md) | Maximum ID of message to delete | Yes| -### Return type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) +### Return type: [messages.AffectedHistory](../types/messages.AffectedHistory.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedHistory = $MadelineProto->messages->deleteHistory(['just_clear' => Bool, 'peer' => InputPeer, 'max_id' => int, ]); +$messages.AffectedHistory = $MadelineProto->messages->deleteHistory(['just_clear' => Bool, 'peer' => InputPeer, 'max_id' => int, ]); ``` Or, if you're into Lua: ```lua -messages_AffectedHistory = messages.deleteHistory({just_clear=Bool, peer=InputPeer, max_id=int, }) +messages.AffectedHistory = messages.deleteHistory({just_clear=Bool, peer=InputPeer, max_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v70/methods/messages.deleteMessages.md b/old_docs/API_docs_v70/methods/messages.deleteMessages.md index ade04cae..ade96e60 100644 --- a/old_docs/API_docs_v70/methods/messages.deleteMessages.md +++ b/old_docs/API_docs_v70/methods/messages.deleteMessages.md @@ -17,7 +17,7 @@ Deletes messages by their identifiers. |id|Array of [int](../types/int.md) | IDs of messages to delete, use channels->deleteMessages for supergroups | Yes| -### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) +### Return type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedMessages = $MadelineProto->messages->deleteMessages(['revoke' => Bool, 'id' => [int, int], ]); +$messages.AffectedMessages = $MadelineProto->messages->deleteMessages(['revoke' => Bool, 'id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AffectedMessages = messages.deleteMessages({revoke=Bool, id={int}, }) +messages.AffectedMessages = messages.deleteMessages({revoke=Bool, id={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v70/methods/messages.getAllChats.md b/old_docs/API_docs_v70/methods/messages.getAllChats.md index cdcc5430..97cc4817 100644 --- a/old_docs/API_docs_v70/methods/messages.getAllChats.md +++ b/old_docs/API_docs_v70/methods/messages.getAllChats.md @@ -16,7 +16,7 @@ Get all chats, channels and supergroups |except\_ids|Array of [int](../types/int.md) | Do not fetch these chats (MTProto id) | Yes| -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->messages->getAllChats(['except_ids' => [int, int], ]); +$messages.Chats = $MadelineProto->messages->getAllChats(['except_ids' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Chats = messages.getAllChats({except_ids={int}, }) +messages.Chats = messages.getAllChats({except_ids={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v70/methods/messages.getAllStickers.md b/old_docs/API_docs_v70/methods/messages.getAllStickers.md index 329b70be..0f0de7f1 100644 --- a/old_docs/API_docs_v70/methods/messages.getAllStickers.md +++ b/old_docs/API_docs_v70/methods/messages.getAllStickers.md @@ -16,7 +16,7 @@ Get all installed stickers |hash|Array of [int](../types/int.md) | The hash parameter of the previous result of this method | Optional| -### Return type: [messages\_AllStickers](../types/messages_AllStickers.md) +### Return type: [messages.AllStickers](../types/messages.AllStickers.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AllStickers = $MadelineProto->messages->getAllStickers(['hash' => [int, int], ]); +$messages.AllStickers = $MadelineProto->messages->getAllStickers(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AllStickers = messages.getAllStickers({hash={int}, }) +messages.AllStickers = messages.getAllStickers({hash={int}, }) ``` diff --git a/old_docs/API_docs_v70/methods/messages.getArchivedStickers.md b/old_docs/API_docs_v70/methods/messages.getArchivedStickers.md index d3abe9fc..c108376e 100644 --- a/old_docs/API_docs_v70/methods/messages.getArchivedStickers.md +++ b/old_docs/API_docs_v70/methods/messages.getArchivedStickers.md @@ -18,7 +18,7 @@ Get all archived stickers |limit|[int](../types/int.md) | Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_ArchivedStickers](../types/messages_ArchivedStickers.md) +### Return type: [messages.ArchivedStickers](../types/messages.ArchivedStickers.md) ### Can bots use this method: **NO** @@ -35,12 +35,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_ArchivedStickers = $MadelineProto->messages->getArchivedStickers(['masks' => Bool, 'offset_id' => long, 'limit' => int, ]); +$messages.ArchivedStickers = $MadelineProto->messages->getArchivedStickers(['masks' => Bool, 'offset_id' => long, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -messages_ArchivedStickers = messages.getArchivedStickers({masks=Bool, offset_id=long, limit=int, }) +messages.ArchivedStickers = messages.getArchivedStickers({masks=Bool, offset_id=long, limit=int, }) ``` diff --git a/old_docs/API_docs_v70/methods/messages.getBotCallbackAnswer.md b/old_docs/API_docs_v70/methods/messages.getBotCallbackAnswer.md index 015fc46b..10072386 100644 --- a/old_docs/API_docs_v70/methods/messages.getBotCallbackAnswer.md +++ b/old_docs/API_docs_v70/methods/messages.getBotCallbackAnswer.md @@ -19,7 +19,7 @@ Press an inline callback button and get a callback answer from the bot |data|[bytes](../types/bytes.md) | Callback data | Optional| -### Return type: [messages\_BotCallbackAnswer](../types/messages_BotCallbackAnswer.md) +### Return type: [messages.BotCallbackAnswer](../types/messages.BotCallbackAnswer.md) ### Can bots use this method: **NO** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_BotCallbackAnswer = $MadelineProto->messages->getBotCallbackAnswer(['game' => Bool, 'peer' => InputPeer, 'msg_id' => int, 'data' => 'bytes', ]); +$messages.BotCallbackAnswer = $MadelineProto->messages->getBotCallbackAnswer(['game' => Bool, 'peer' => InputPeer, 'msg_id' => int, 'data' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -messages_BotCallbackAnswer = messages.getBotCallbackAnswer({game=Bool, peer=InputPeer, msg_id=int, data='bytes', }) +messages.BotCallbackAnswer = messages.getBotCallbackAnswer({game=Bool, peer=InputPeer, msg_id=int, data='bytes', }) ``` ### Errors diff --git a/old_docs/API_docs_v70/methods/messages.getChats.md b/old_docs/API_docs_v70/methods/messages.getChats.md index c34b0488..146341f5 100644 --- a/old_docs/API_docs_v70/methods/messages.getChats.md +++ b/old_docs/API_docs_v70/methods/messages.getChats.md @@ -16,7 +16,7 @@ Returns chat basic info on their IDs. |id|Array of [int](../types/int.md) | The MTProto IDs of chats to fetch info about | Yes| -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->messages->getChats(['id' => [int, int], ]); +$messages.Chats = $MadelineProto->messages->getChats(['id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Chats = messages.getChats({id={int}, }) +messages.Chats = messages.getChats({id={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v70/methods/messages.getCommonChats.md b/old_docs/API_docs_v70/methods/messages.getCommonChats.md index fc7b2363..56a3ec01 100644 --- a/old_docs/API_docs_v70/methods/messages.getCommonChats.md +++ b/old_docs/API_docs_v70/methods/messages.getCommonChats.md @@ -18,7 +18,7 @@ Get chats in common with a user |limit|[int](../types/int.md) | Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->messages->getCommonChats(['user_id' => InputUser, 'max_id' => int, 'limit' => int, ]); +$messages.Chats = $MadelineProto->messages->getCommonChats(['user_id' => InputUser, 'max_id' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Chats = messages.getCommonChats({user_id=InputUser, max_id=int, limit=int, }) +messages.Chats = messages.getCommonChats({user_id=InputUser, max_id=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v70/methods/messages.getDhConfig.md b/old_docs/API_docs_v70/methods/messages.getDhConfig.md index 88ea4ab3..7b9da566 100644 --- a/old_docs/API_docs_v70/methods/messages.getDhConfig.md +++ b/old_docs/API_docs_v70/methods/messages.getDhConfig.md @@ -17,7 +17,7 @@ You cannot use this method directly, instead use $MadelineProto->getDhConfig(); |random\_length|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->getDhConfig(); | Yes| -### Return type: [messages\_DhConfig](../types/messages_DhConfig.md) +### Return type: [messages.DhConfig](../types/messages.DhConfig.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_DhConfig = $MadelineProto->messages->getDhConfig(['version' => int, 'random_length' => int, ]); +$messages.DhConfig = $MadelineProto->messages->getDhConfig(['version' => int, 'random_length' => int, ]); ``` Or, if you're into Lua: ```lua -messages_DhConfig = messages.getDhConfig({version=int, random_length=int, }) +messages.DhConfig = messages.getDhConfig({version=int, random_length=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v70/methods/messages.getDialogs.md b/old_docs/API_docs_v70/methods/messages.getDialogs.md index 9f3fd365..44b8efc8 100644 --- a/old_docs/API_docs_v70/methods/messages.getDialogs.md +++ b/old_docs/API_docs_v70/methods/messages.getDialogs.md @@ -20,7 +20,7 @@ Returns the current user dialog list. |limit|[int](../types/int.md) | Number of list elements to be returned | Yes| -### Return type: [messages\_Dialogs](../types/messages_Dialogs.md) +### Return type: [messages.Dialogs](../types/messages.Dialogs.md) ### Can bots use this method: **NO** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Dialogs = $MadelineProto->messages->getDialogs(['exclude_pinned' => Bool, 'offset_date' => int, 'offset_id' => int, 'offset_peer' => InputPeer, 'limit' => int, ]); +$messages.Dialogs = $MadelineProto->messages->getDialogs(['exclude_pinned' => Bool, 'offset_date' => int, 'offset_id' => int, 'offset_peer' => InputPeer, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Dialogs = messages.getDialogs({exclude_pinned=Bool, offset_date=int, offset_id=int, offset_peer=InputPeer, limit=int, }) +messages.Dialogs = messages.getDialogs({exclude_pinned=Bool, offset_date=int, offset_id=int, offset_peer=InputPeer, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v70/methods/messages.getFeaturedStickers.md b/old_docs/API_docs_v70/methods/messages.getFeaturedStickers.md index 8f2634c3..2d65d626 100644 --- a/old_docs/API_docs_v70/methods/messages.getFeaturedStickers.md +++ b/old_docs/API_docs_v70/methods/messages.getFeaturedStickers.md @@ -16,7 +16,7 @@ Get featured stickers |hash|Array of [int](../types/int.md) | the hash parameter of the previous result of this method | Optional| -### Return type: [messages\_FeaturedStickers](../types/messages_FeaturedStickers.md) +### Return type: [messages.FeaturedStickers](../types/messages.FeaturedStickers.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_FeaturedStickers = $MadelineProto->messages->getFeaturedStickers(['hash' => [int, int], ]); +$messages.FeaturedStickers = $MadelineProto->messages->getFeaturedStickers(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_FeaturedStickers = messages.getFeaturedStickers({hash={int}, }) +messages.FeaturedStickers = messages.getFeaturedStickers({hash={int}, }) ``` diff --git a/old_docs/API_docs_v70/methods/messages.getFullChat.md b/old_docs/API_docs_v70/methods/messages.getFullChat.md index abf23e21..de543651 100644 --- a/old_docs/API_docs_v70/methods/messages.getFullChat.md +++ b/old_docs/API_docs_v70/methods/messages.getFullChat.md @@ -16,7 +16,7 @@ You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo me |chat\_id|[Username, chat ID, Update, Message or InputPeer](../types/InputPeer.md) | You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo methods instead (see https://docs.madelineproto.xyz for more info) | Optional| -### Return type: [messages\_ChatFull](../types/messages_ChatFull.md) +### Return type: [messages.ChatFull](../types/messages.ChatFull.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_ChatFull = $MadelineProto->messages->getFullChat(['chat_id' => InputPeer, ]); +$messages.ChatFull = $MadelineProto->messages->getFullChat(['chat_id' => InputPeer, ]); ``` Or, if you're into Lua: ```lua -messages_ChatFull = messages.getFullChat({chat_id=InputPeer, }) +messages.ChatFull = messages.getFullChat({chat_id=InputPeer, }) ``` ### Errors diff --git a/old_docs/API_docs_v70/methods/messages.getGameHighScores.md b/old_docs/API_docs_v70/methods/messages.getGameHighScores.md index 0ee9d754..6e4dacb2 100644 --- a/old_docs/API_docs_v70/methods/messages.getGameHighScores.md +++ b/old_docs/API_docs_v70/methods/messages.getGameHighScores.md @@ -18,7 +18,7 @@ Get highscores of a game |user\_id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | Get high scores made by a certain user | Optional| -### Return type: [messages\_HighScores](../types/messages_HighScores.md) +### Return type: [messages.HighScores](../types/messages.HighScores.md) ### Can bots use this method: **YES** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_HighScores = $MadelineProto->messages->getGameHighScores(['peer' => InputPeer, 'id' => int, 'user_id' => InputUser, ]); +$messages.HighScores = $MadelineProto->messages->getGameHighScores(['peer' => InputPeer, 'id' => int, 'user_id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -messages_HighScores = messages.getGameHighScores({peer=InputPeer, id=int, user_id=InputUser, }) +messages.HighScores = messages.getGameHighScores({peer=InputPeer, id=int, user_id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v70/methods/messages.getHistory.md b/old_docs/API_docs_v70/methods/messages.getHistory.md index 636183d2..8e012da1 100644 --- a/old_docs/API_docs_v70/methods/messages.getHistory.md +++ b/old_docs/API_docs_v70/methods/messages.getHistory.md @@ -22,7 +22,7 @@ Gets back the conversation history with one interlocutor / within a chat |min\_id|[int](../types/int.md) | If a positive value was transferred, the method will return only messages with IDs more than **min\_id** | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **NO** @@ -39,13 +39,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->getHistory(['peer' => InputPeer, 'offset_id' => int, 'offset_date' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); +$messages.Messages = $MadelineProto->messages->getHistory(['peer' => InputPeer, 'offset_id' => int, 'offset_date' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.getHistory({peer=InputPeer, offset_id=int, offset_date=int, add_offset=int, limit=int, max_id=int, min_id=int, }) +messages.Messages = messages.getHistory({peer=InputPeer, offset_id=int, offset_date=int, add_offset=int, limit=int, max_id=int, min_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v70/methods/messages.getInlineBotResults.md b/old_docs/API_docs_v70/methods/messages.getInlineBotResults.md index ac251797..8a397236 100644 --- a/old_docs/API_docs_v70/methods/messages.getInlineBotResults.md +++ b/old_docs/API_docs_v70/methods/messages.getInlineBotResults.md @@ -20,7 +20,7 @@ Query an inline bot |offset|[string](../types/string.md) | The offset within the results, will be passed directly as-is to the bot. | Yes| -### Return type: [messages\_BotResults](../types/messages_BotResults.md) +### Return type: [messages.BotResults](../types/messages.BotResults.md) ### Can bots use this method: **NO** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_BotResults = $MadelineProto->messages->getInlineBotResults(['bot' => InputUser, 'peer' => InputPeer, 'geo_point' => InputGeoPoint, 'query' => 'string', 'offset' => 'string', ]); +$messages.BotResults = $MadelineProto->messages->getInlineBotResults(['bot' => InputUser, 'peer' => InputPeer, 'geo_point' => InputGeoPoint, 'query' => 'string', 'offset' => 'string', ]); ``` Or, if you're into Lua: ```lua -messages_BotResults = messages.getInlineBotResults({bot=InputUser, peer=InputPeer, geo_point=InputGeoPoint, query='string', offset='string', }) +messages.BotResults = messages.getInlineBotResults({bot=InputUser, peer=InputPeer, geo_point=InputGeoPoint, query='string', offset='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v70/methods/messages.getInlineGameHighScores.md b/old_docs/API_docs_v70/methods/messages.getInlineGameHighScores.md index 0d02b426..dbcb2cf6 100644 --- a/old_docs/API_docs_v70/methods/messages.getInlineGameHighScores.md +++ b/old_docs/API_docs_v70/methods/messages.getInlineGameHighScores.md @@ -17,7 +17,7 @@ Get highscores of a game sent using an inline bot |user\_id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | Get high scores of a certain user | Optional| -### Return type: [messages\_HighScores](../types/messages_HighScores.md) +### Return type: [messages.HighScores](../types/messages.HighScores.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_HighScores = $MadelineProto->messages->getInlineGameHighScores(['id' => InputBotInlineMessageID, 'user_id' => InputUser, ]); +$messages.HighScores = $MadelineProto->messages->getInlineGameHighScores(['id' => InputBotInlineMessageID, 'user_id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -messages_HighScores = messages.getInlineGameHighScores({id=InputBotInlineMessageID, user_id=InputUser, }) +messages.HighScores = messages.getInlineGameHighScores({id=InputBotInlineMessageID, user_id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v70/methods/messages.getMaskStickers.md b/old_docs/API_docs_v70/methods/messages.getMaskStickers.md index a09834e1..093645f6 100644 --- a/old_docs/API_docs_v70/methods/messages.getMaskStickers.md +++ b/old_docs/API_docs_v70/methods/messages.getMaskStickers.md @@ -16,7 +16,7 @@ Get installed mask stickers |hash|Array of [int](../types/int.md) | the hash parameter of the previous result of this method | Optional| -### Return type: [messages\_AllStickers](../types/messages_AllStickers.md) +### Return type: [messages.AllStickers](../types/messages.AllStickers.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AllStickers = $MadelineProto->messages->getMaskStickers(['hash' => [int, int], ]); +$messages.AllStickers = $MadelineProto->messages->getMaskStickers(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AllStickers = messages.getMaskStickers({hash={int}, }) +messages.AllStickers = messages.getMaskStickers({hash={int}, }) ``` diff --git a/old_docs/API_docs_v70/methods/messages.getMessageEditData.md b/old_docs/API_docs_v70/methods/messages.getMessageEditData.md index 1a083f08..7fd32e82 100644 --- a/old_docs/API_docs_v70/methods/messages.getMessageEditData.md +++ b/old_docs/API_docs_v70/methods/messages.getMessageEditData.md @@ -17,7 +17,7 @@ Find out if a media message's caption can be edited |id|[int](../types/int.md) | ID of message | Yes| -### Return type: [messages\_MessageEditData](../types/messages_MessageEditData.md) +### Return type: [messages.MessageEditData](../types/messages.MessageEditData.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_MessageEditData = $MadelineProto->messages->getMessageEditData(['peer' => InputPeer, 'id' => int, ]); +$messages.MessageEditData = $MadelineProto->messages->getMessageEditData(['peer' => InputPeer, 'id' => int, ]); ``` Or, if you're into Lua: ```lua -messages_MessageEditData = messages.getMessageEditData({peer=InputPeer, id=int, }) +messages.MessageEditData = messages.getMessageEditData({peer=InputPeer, id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v70/methods/messages.getMessages.md b/old_docs/API_docs_v70/methods/messages.getMessages.md index a3139513..c7760d7e 100644 --- a/old_docs/API_docs_v70/methods/messages.getMessages.md +++ b/old_docs/API_docs_v70/methods/messages.getMessages.md @@ -16,7 +16,7 @@ Returns the list of messages by their IDs. |id|Array of [int](../types/int.md) | The IDs of messages to fetch (only for users and normal groups) | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **YES** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->getMessages(['id' => [int, int], ]); +$messages.Messages = $MadelineProto->messages->getMessages(['id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.getMessages({id={int}, }) +messages.Messages = messages.getMessages({id={int}, }) ``` diff --git a/old_docs/API_docs_v70/methods/messages.getPeerDialogs.md b/old_docs/API_docs_v70/methods/messages.getPeerDialogs.md index a2c2714b..79bd7fa3 100644 --- a/old_docs/API_docs_v70/methods/messages.getPeerDialogs.md +++ b/old_docs/API_docs_v70/methods/messages.getPeerDialogs.md @@ -16,7 +16,7 @@ Get dialog info of specified peers |peers|Array of [Username, chat ID, Update, Message or InputPeer](../types/InputPeer.md) | The peers | Yes| -### Return type: [messages\_PeerDialogs](../types/messages_PeerDialogs.md) +### Return type: [messages.PeerDialogs](../types/messages.PeerDialogs.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_PeerDialogs = $MadelineProto->messages->getPeerDialogs(['peers' => [InputPeer, InputPeer], ]); +$messages.PeerDialogs = $MadelineProto->messages->getPeerDialogs(['peers' => [InputPeer, InputPeer], ]); ``` Or, if you're into Lua: ```lua -messages_PeerDialogs = messages.getPeerDialogs({peers={InputPeer}, }) +messages.PeerDialogs = messages.getPeerDialogs({peers={InputPeer}, }) ``` ### Errors diff --git a/old_docs/API_docs_v70/methods/messages.getPinnedDialogs.md b/old_docs/API_docs_v70/methods/messages.getPinnedDialogs.md index f106098d..161075f2 100644 --- a/old_docs/API_docs_v70/methods/messages.getPinnedDialogs.md +++ b/old_docs/API_docs_v70/methods/messages.getPinnedDialogs.md @@ -11,7 +11,7 @@ Get pinned dialogs -### Return type: [messages\_PeerDialogs](../types/messages_PeerDialogs.md) +### Return type: [messages.PeerDialogs](../types/messages.PeerDialogs.md) ### Can bots use this method: **NO** @@ -28,13 +28,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_PeerDialogs = $MadelineProto->messages->getPinnedDialogs(); +$messages.PeerDialogs = $MadelineProto->messages->getPinnedDialogs(); ``` Or, if you're into Lua: ```lua -messages_PeerDialogs = messages.getPinnedDialogs({}) +messages.PeerDialogs = messages.getPinnedDialogs({}) ``` ### Errors diff --git a/old_docs/API_docs_v70/methods/messages.getRecentStickers.md b/old_docs/API_docs_v70/methods/messages.getRecentStickers.md index 28a70889..39cef16a 100644 --- a/old_docs/API_docs_v70/methods/messages.getRecentStickers.md +++ b/old_docs/API_docs_v70/methods/messages.getRecentStickers.md @@ -17,7 +17,7 @@ Get recent stickers |hash|Array of [int](../types/int.md) | IDs the hash parameter of the previous result of this method | Optional| -### Return type: [messages\_RecentStickers](../types/messages_RecentStickers.md) +### Return type: [messages.RecentStickers](../types/messages.RecentStickers.md) ### Can bots use this method: **NO** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_RecentStickers = $MadelineProto->messages->getRecentStickers(['attached' => Bool, 'hash' => [int, int], ]); +$messages.RecentStickers = $MadelineProto->messages->getRecentStickers(['attached' => Bool, 'hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_RecentStickers = messages.getRecentStickers({attached=Bool, hash={int}, }) +messages.RecentStickers = messages.getRecentStickers({attached=Bool, hash={int}, }) ``` diff --git a/old_docs/API_docs_v70/methods/messages.getSavedGifs.md b/old_docs/API_docs_v70/methods/messages.getSavedGifs.md index 1df7f37c..8b31f7b8 100644 --- a/old_docs/API_docs_v70/methods/messages.getSavedGifs.md +++ b/old_docs/API_docs_v70/methods/messages.getSavedGifs.md @@ -16,7 +16,7 @@ Get saved GIFs |hash|Array of [int](../types/int.md) | the hash parameter of the previous result of this method | Optional| -### Return type: [messages\_SavedGifs](../types/messages_SavedGifs.md) +### Return type: [messages.SavedGifs](../types/messages.SavedGifs.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_SavedGifs = $MadelineProto->messages->getSavedGifs(['hash' => [int, int], ]); +$messages.SavedGifs = $MadelineProto->messages->getSavedGifs(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_SavedGifs = messages.getSavedGifs({hash={int}, }) +messages.SavedGifs = messages.getSavedGifs({hash={int}, }) ``` diff --git a/old_docs/API_docs_v70/methods/messages.getStickerSet.md b/old_docs/API_docs_v70/methods/messages.getStickerSet.md index 45fca60f..f11887ee 100644 --- a/old_docs/API_docs_v70/methods/messages.getStickerSet.md +++ b/old_docs/API_docs_v70/methods/messages.getStickerSet.md @@ -16,7 +16,7 @@ Get info about a stickerset |stickerset|[InputStickerSet](../types/InputStickerSet.md) | Stickerset | Optional| -### Return type: [messages\_StickerSet](../types/messages_StickerSet.md) +### Return type: [messages.StickerSet](../types/messages.StickerSet.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StickerSet = $MadelineProto->messages->getStickerSet(['stickerset' => InputStickerSet, ]); +$messages.StickerSet = $MadelineProto->messages->getStickerSet(['stickerset' => InputStickerSet, ]); ``` Or, if you're into Lua: ```lua -messages_StickerSet = messages.getStickerSet({stickerset=InputStickerSet, }) +messages.StickerSet = messages.getStickerSet({stickerset=InputStickerSet, }) ``` ### Errors diff --git a/old_docs/API_docs_v70/methods/messages.installStickerSet.md b/old_docs/API_docs_v70/methods/messages.installStickerSet.md index 1a95ca0b..83ce2121 100644 --- a/old_docs/API_docs_v70/methods/messages.installStickerSet.md +++ b/old_docs/API_docs_v70/methods/messages.installStickerSet.md @@ -17,7 +17,7 @@ Install a stickerset |archived|[Bool](../types/Bool.md) | Whether to archive stickerset | Yes| -### Return type: [messages\_StickerSetInstallResult](../types/messages_StickerSetInstallResult.md) +### Return type: [messages.StickerSetInstallResult](../types/messages.StickerSetInstallResult.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StickerSetInstallResult = $MadelineProto->messages->installStickerSet(['stickerset' => InputStickerSet, 'archived' => Bool, ]); +$messages.StickerSetInstallResult = $MadelineProto->messages->installStickerSet(['stickerset' => InputStickerSet, 'archived' => Bool, ]); ``` Or, if you're into Lua: ```lua -messages_StickerSetInstallResult = messages.installStickerSet({stickerset=InputStickerSet, archived=Bool, }) +messages.StickerSetInstallResult = messages.installStickerSet({stickerset=InputStickerSet, archived=Bool, }) ``` ### Errors diff --git a/old_docs/API_docs_v70/methods/messages.readHistory.md b/old_docs/API_docs_v70/methods/messages.readHistory.md index 39753375..52030c68 100644 --- a/old_docs/API_docs_v70/methods/messages.readHistory.md +++ b/old_docs/API_docs_v70/methods/messages.readHistory.md @@ -17,7 +17,7 @@ Marks message history as read. |max\_id|[int](../types/int.md) | If a positive value is passed, only messages with identifiers less or equal than the given one will be read | Yes| -### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) +### Return type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedMessages = $MadelineProto->messages->readHistory(['peer' => InputPeer, 'max_id' => int, ]); +$messages.AffectedMessages = $MadelineProto->messages->readHistory(['peer' => InputPeer, 'max_id' => int, ]); ``` Or, if you're into Lua: ```lua -messages_AffectedMessages = messages.readHistory({peer=InputPeer, max_id=int, }) +messages.AffectedMessages = messages.readHistory({peer=InputPeer, max_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v70/methods/messages.readMessageContents.md b/old_docs/API_docs_v70/methods/messages.readMessageContents.md index c479cafe..9798e661 100644 --- a/old_docs/API_docs_v70/methods/messages.readMessageContents.md +++ b/old_docs/API_docs_v70/methods/messages.readMessageContents.md @@ -16,7 +16,7 @@ Notifies the sender about the recipient having listened a voice message or watch |id|Array of [int](../types/int.md) | The messages to mark as read (only users and normal chats, not supergroups) | Yes| -### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) +### Return type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedMessages = $MadelineProto->messages->readMessageContents(['id' => [int, int], ]); +$messages.AffectedMessages = $MadelineProto->messages->readMessageContents(['id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AffectedMessages = messages.readMessageContents({id={int}, }) +messages.AffectedMessages = messages.readMessageContents({id={int}, }) ``` diff --git a/old_docs/API_docs_v70/methods/messages.search.md b/old_docs/API_docs_v70/methods/messages.search.md index bc129e8c..4484b0d5 100644 --- a/old_docs/API_docs_v70/methods/messages.search.md +++ b/old_docs/API_docs_v70/methods/messages.search.md @@ -24,7 +24,7 @@ Gets back found messages |limit|[int](../types/int.md) | [Number of results to return](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **NO** @@ -41,13 +41,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->search(['peer' => InputPeer, 'q' => 'string', 'from_id' => InputUser, 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); +$messages.Messages = $MadelineProto->messages->search(['peer' => InputPeer, 'q' => 'string', 'from_id' => InputUser, 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.search({peer=InputPeer, q='string', from_id=InputUser, filter=MessagesFilter, min_date=int, max_date=int, offset=int, max_id=int, limit=int, }) +messages.Messages = messages.search({peer=InputPeer, q='string', from_id=InputUser, filter=MessagesFilter, min_date=int, max_date=int, offset=int, max_id=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v70/methods/messages.searchGifs.md b/old_docs/API_docs_v70/methods/messages.searchGifs.md index 851371d7..193a0cd4 100644 --- a/old_docs/API_docs_v70/methods/messages.searchGifs.md +++ b/old_docs/API_docs_v70/methods/messages.searchGifs.md @@ -17,7 +17,7 @@ Search for GIFs |offset|[int](../types/int.md) | Offset for [pagination »](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_FoundGifs](../types/messages_FoundGifs.md) +### Return type: [messages.FoundGifs](../types/messages.FoundGifs.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_FoundGifs = $MadelineProto->messages->searchGifs(['q' => 'string', 'offset' => int, ]); +$messages.FoundGifs = $MadelineProto->messages->searchGifs(['q' => 'string', 'offset' => int, ]); ``` Or, if you're into Lua: ```lua -messages_FoundGifs = messages.searchGifs({q='string', offset=int, }) +messages.FoundGifs = messages.searchGifs({q='string', offset=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v70/methods/messages.searchGlobal.md b/old_docs/API_docs_v70/methods/messages.searchGlobal.md index 4bd59f25..1a3b736d 100644 --- a/old_docs/API_docs_v70/methods/messages.searchGlobal.md +++ b/old_docs/API_docs_v70/methods/messages.searchGlobal.md @@ -20,7 +20,7 @@ Search for messages and peers globally |limit|[int](../types/int.md) | [Offsets for pagination, for more info click here](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **NO** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->searchGlobal(['q' => 'string', 'offset_date' => int, 'offset_peer' => InputPeer, 'offset_id' => int, 'limit' => int, ]); +$messages.Messages = $MadelineProto->messages->searchGlobal(['q' => 'string', 'offset_date' => int, 'offset_peer' => InputPeer, 'offset_id' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.searchGlobal({q='string', offset_date=int, offset_peer=InputPeer, offset_id=int, limit=int, }) +messages.Messages = messages.searchGlobal({q='string', offset_date=int, offset_peer=InputPeer, offset_id=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v70/methods/messages.sendEncrypted.md b/old_docs/API_docs_v70/methods/messages.sendEncrypted.md index 47b5ef29..6a68b563 100644 --- a/old_docs/API_docs_v70/methods/messages.sendEncrypted.md +++ b/old_docs/API_docs_v70/methods/messages.sendEncrypted.md @@ -14,10 +14,10 @@ Sends a text message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|message|[DecryptedMessage](../types/DecryptedMessage.md) | The message to send | Yes| +|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key that was created during chat initialization | Yes| -### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ### Can bots use this method: **NO** @@ -34,21 +34,15 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncrypted(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); +$messages.SentEncryptedMessage = $MadelineProto->messages->sendEncrypted(['peer' => InputEncryptedChat, 'data' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -messages_SentEncryptedMessage = messages.sendEncrypted({peer=InputEncryptedChat, message=DecryptedMessage, }) +messages.SentEncryptedMessage = messages.sendEncrypted({peer=InputEncryptedChat, data='bytes', }) ``` - -## Return value - -If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) will be returned instead. - - ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v70/methods/messages.sendEncryptedFile.md b/old_docs/API_docs_v70/methods/messages.sendEncryptedFile.md index 4e0f7b7f..87185ba4 100644 --- a/old_docs/API_docs_v70/methods/messages.sendEncryptedFile.md +++ b/old_docs/API_docs_v70/methods/messages.sendEncryptedFile.md @@ -14,11 +14,11 @@ Sends a message with a file attachment to a secret chat | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|message|[DecryptedMessage](../types/DecryptedMessage.md) | The message with the file | Yes| +|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| |file|[File path or InputEncryptedFile](../types/InputEncryptedFile.md) | File attachment for the secret chat | Optional| -### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ### Can bots use this method: **NO** @@ -35,21 +35,15 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedFile(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, 'file' => InputEncryptedFile, ]); +$messages.SentEncryptedMessage = $MadelineProto->messages->sendEncryptedFile(['peer' => InputEncryptedChat, 'data' => 'bytes', 'file' => InputEncryptedFile, ]); ``` Or, if you're into Lua: ```lua -messages_SentEncryptedMessage = messages.sendEncryptedFile({peer=InputEncryptedChat, message=DecryptedMessage, file=InputEncryptedFile, }) +messages.SentEncryptedMessage = messages.sendEncryptedFile({peer=InputEncryptedChat, data='bytes', file=InputEncryptedFile, }) ``` - -## Return value - -If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) will be returned instead. - - ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v70/methods/messages.sendEncryptedService.md b/old_docs/API_docs_v70/methods/messages.sendEncryptedService.md index 86925ae3..38171272 100644 --- a/old_docs/API_docs_v70/methods/messages.sendEncryptedService.md +++ b/old_docs/API_docs_v70/methods/messages.sendEncryptedService.md @@ -14,10 +14,10 @@ Sends a service message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|message|[DecryptedMessage](../types/DecryptedMessage.md) | The service message | Yes| +|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| -### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ### Can bots use this method: **NO** @@ -34,21 +34,15 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedService(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); +$messages.SentEncryptedMessage = $MadelineProto->messages->sendEncryptedService(['peer' => InputEncryptedChat, 'data' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -messages_SentEncryptedMessage = messages.sendEncryptedService({peer=InputEncryptedChat, message=DecryptedMessage, }) +messages.SentEncryptedMessage = messages.sendEncryptedService({peer=InputEncryptedChat, data='bytes', }) ``` - -## Return value - -If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) will be returned instead. - - ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v70/methods/payments.getPaymentForm.md b/old_docs/API_docs_v70/methods/payments.getPaymentForm.md index 3a171a05..da173f14 100644 --- a/old_docs/API_docs_v70/methods/payments.getPaymentForm.md +++ b/old_docs/API_docs_v70/methods/payments.getPaymentForm.md @@ -16,7 +16,7 @@ Get a payment form |msg\_id|[int](../types/int.md) | Message ID of payment form | Yes| -### Return type: [payments\_PaymentForm](../types/payments_PaymentForm.md) +### Return type: [payments.PaymentForm](../types/payments.PaymentForm.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$payments_PaymentForm = $MadelineProto->payments->getPaymentForm(['msg_id' => int, ]); +$payments.PaymentForm = $MadelineProto->payments->getPaymentForm(['msg_id' => int, ]); ``` Or, if you're into Lua: ```lua -payments_PaymentForm = payments.getPaymentForm({msg_id=int, }) +payments.PaymentForm = payments.getPaymentForm({msg_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v70/methods/payments.getPaymentReceipt.md b/old_docs/API_docs_v70/methods/payments.getPaymentReceipt.md index 46d2267c..16e41367 100644 --- a/old_docs/API_docs_v70/methods/payments.getPaymentReceipt.md +++ b/old_docs/API_docs_v70/methods/payments.getPaymentReceipt.md @@ -16,7 +16,7 @@ Get payment receipt |msg\_id|[int](../types/int.md) | Message ID of receipt | Yes| -### Return type: [payments\_PaymentReceipt](../types/payments_PaymentReceipt.md) +### Return type: [payments.PaymentReceipt](../types/payments.PaymentReceipt.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$payments_PaymentReceipt = $MadelineProto->payments->getPaymentReceipt(['msg_id' => int, ]); +$payments.PaymentReceipt = $MadelineProto->payments->getPaymentReceipt(['msg_id' => int, ]); ``` Or, if you're into Lua: ```lua -payments_PaymentReceipt = payments.getPaymentReceipt({msg_id=int, }) +payments.PaymentReceipt = payments.getPaymentReceipt({msg_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v70/methods/payments.getSavedInfo.md b/old_docs/API_docs_v70/methods/payments.getSavedInfo.md index dc9c9b98..fe2c16ec 100644 --- a/old_docs/API_docs_v70/methods/payments.getSavedInfo.md +++ b/old_docs/API_docs_v70/methods/payments.getSavedInfo.md @@ -11,7 +11,7 @@ Get saved payment information -### Return type: [payments\_SavedInfo](../types/payments_SavedInfo.md) +### Return type: [payments.SavedInfo](../types/payments.SavedInfo.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$payments_SavedInfo = $MadelineProto->payments->getSavedInfo(); +$payments.SavedInfo = $MadelineProto->payments->getSavedInfo(); ``` Or, if you're into Lua: ```lua -payments_SavedInfo = payments.getSavedInfo({}) +payments.SavedInfo = payments.getSavedInfo({}) ``` diff --git a/old_docs/API_docs_v70/methods/payments.sendPaymentForm.md b/old_docs/API_docs_v70/methods/payments.sendPaymentForm.md index 8c478b92..de154e7f 100644 --- a/old_docs/API_docs_v70/methods/payments.sendPaymentForm.md +++ b/old_docs/API_docs_v70/methods/payments.sendPaymentForm.md @@ -19,7 +19,7 @@ Send compiled payment form |credentials|[InputPaymentCredentials](../types/InputPaymentCredentials.md) | Payment credentials | Yes| -### Return type: [payments\_PaymentResult](../types/payments_PaymentResult.md) +### Return type: [payments.PaymentResult](../types/payments.PaymentResult.md) ### Can bots use this method: **NO** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$payments_PaymentResult = $MadelineProto->payments->sendPaymentForm(['msg_id' => int, 'requested_info_id' => 'string', 'shipping_option_id' => 'string', 'credentials' => InputPaymentCredentials, ]); +$payments.PaymentResult = $MadelineProto->payments->sendPaymentForm(['msg_id' => int, 'requested_info_id' => 'string', 'shipping_option_id' => 'string', 'credentials' => InputPaymentCredentials, ]); ``` Or, if you're into Lua: ```lua -payments_PaymentResult = payments.sendPaymentForm({msg_id=int, requested_info_id='string', shipping_option_id='string', credentials=InputPaymentCredentials, }) +payments.PaymentResult = payments.sendPaymentForm({msg_id=int, requested_info_id='string', shipping_option_id='string', credentials=InputPaymentCredentials, }) ``` ### Errors diff --git a/old_docs/API_docs_v70/methods/payments.validateRequestedInfo.md b/old_docs/API_docs_v70/methods/payments.validateRequestedInfo.md index d6364a02..ce22cfe8 100644 --- a/old_docs/API_docs_v70/methods/payments.validateRequestedInfo.md +++ b/old_docs/API_docs_v70/methods/payments.validateRequestedInfo.md @@ -18,7 +18,7 @@ Submit requested order information for validation |info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Requested order information | Yes| -### Return type: [payments\_ValidatedRequestedInfo](../types/payments_ValidatedRequestedInfo.md) +### Return type: [payments.ValidatedRequestedInfo](../types/payments.ValidatedRequestedInfo.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$payments_ValidatedRequestedInfo = $MadelineProto->payments->validateRequestedInfo(['save' => Bool, 'msg_id' => int, 'info' => PaymentRequestedInfo, ]); +$payments.ValidatedRequestedInfo = $MadelineProto->payments->validateRequestedInfo(['save' => Bool, 'msg_id' => int, 'info' => PaymentRequestedInfo, ]); ``` Or, if you're into Lua: ```lua -payments_ValidatedRequestedInfo = payments.validateRequestedInfo({save=Bool, msg_id=int, info=PaymentRequestedInfo, }) +payments.ValidatedRequestedInfo = payments.validateRequestedInfo({save=Bool, msg_id=int, info=PaymentRequestedInfo, }) ``` ### Errors diff --git a/old_docs/API_docs_v70/methods/phone.acceptCall.md b/old_docs/API_docs_v70/methods/phone.acceptCall.md index f5c58f01..6b9185aa 100644 --- a/old_docs/API_docs_v70/methods/phone.acceptCall.md +++ b/old_docs/API_docs_v70/methods/phone.acceptCall.md @@ -18,7 +18,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz#calls fo |protocol|[PhoneCallProtocol](../types/PhoneCallProtocol.md) | You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls | Yes| -### Return type: [phone\_PhoneCall](../types/phone_PhoneCall.md) +### Return type: [phone.PhoneCall](../types/phone.PhoneCall.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$phone_PhoneCall = $MadelineProto->phone->acceptCall(['peer' => InputPhoneCall, 'g_b' => 'bytes', 'protocol' => PhoneCallProtocol, ]); +$phone.PhoneCall = $MadelineProto->phone->acceptCall(['peer' => InputPhoneCall, 'g_b' => 'bytes', 'protocol' => PhoneCallProtocol, ]); ``` Or, if you're into Lua: ```lua -phone_PhoneCall = phone.acceptCall({peer=InputPhoneCall, g_b='bytes', protocol=PhoneCallProtocol, }) +phone.PhoneCall = phone.acceptCall({peer=InputPhoneCall, g_b='bytes', protocol=PhoneCallProtocol, }) ``` ### Errors diff --git a/old_docs/API_docs_v70/methods/phone.confirmCall.md b/old_docs/API_docs_v70/methods/phone.confirmCall.md index 468307cc..a52d1f9c 100644 --- a/old_docs/API_docs_v70/methods/phone.confirmCall.md +++ b/old_docs/API_docs_v70/methods/phone.confirmCall.md @@ -19,7 +19,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz#calls fo |protocol|[PhoneCallProtocol](../types/PhoneCallProtocol.md) | You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls | Yes| -### Return type: [phone\_PhoneCall](../types/phone_PhoneCall.md) +### Return type: [phone.PhoneCall](../types/phone.PhoneCall.md) ### Can bots use this method: **NO** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$phone_PhoneCall = $MadelineProto->phone->confirmCall(['peer' => InputPhoneCall, 'g_a' => 'bytes', 'key_fingerprint' => long, 'protocol' => PhoneCallProtocol, ]); +$phone.PhoneCall = $MadelineProto->phone->confirmCall(['peer' => InputPhoneCall, 'g_a' => 'bytes', 'key_fingerprint' => long, 'protocol' => PhoneCallProtocol, ]); ``` Or, if you're into Lua: ```lua -phone_PhoneCall = phone.confirmCall({peer=InputPhoneCall, g_a='bytes', key_fingerprint=long, protocol=PhoneCallProtocol, }) +phone.PhoneCall = phone.confirmCall({peer=InputPhoneCall, g_a='bytes', key_fingerprint=long, protocol=PhoneCallProtocol, }) ``` ### Errors diff --git a/old_docs/API_docs_v70/methods/phone.requestCall.md b/old_docs/API_docs_v70/methods/phone.requestCall.md index c8e828f2..37e847a7 100644 --- a/old_docs/API_docs_v70/methods/phone.requestCall.md +++ b/old_docs/API_docs_v70/methods/phone.requestCall.md @@ -18,7 +18,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz#calls fo |protocol|[PhoneCallProtocol](../types/PhoneCallProtocol.md) | You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls | Yes| -### Return type: [phone\_PhoneCall](../types/phone_PhoneCall.md) +### Return type: [phone.PhoneCall](../types/phone.PhoneCall.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$phone_PhoneCall = $MadelineProto->phone->requestCall(['user_id' => InputUser, 'g_a_hash' => 'bytes', 'protocol' => PhoneCallProtocol, ]); +$phone.PhoneCall = $MadelineProto->phone->requestCall(['user_id' => InputUser, 'g_a_hash' => 'bytes', 'protocol' => PhoneCallProtocol, ]); ``` Or, if you're into Lua: ```lua -phone_PhoneCall = phone.requestCall({user_id=InputUser, g_a_hash='bytes', protocol=PhoneCallProtocol, }) +phone.PhoneCall = phone.requestCall({user_id=InputUser, g_a_hash='bytes', protocol=PhoneCallProtocol, }) ``` ### Errors diff --git a/old_docs/API_docs_v70/methods/photos.getUserPhotos.md b/old_docs/API_docs_v70/methods/photos.getUserPhotos.md index a1dec2ed..1f8d5c64 100644 --- a/old_docs/API_docs_v70/methods/photos.getUserPhotos.md +++ b/old_docs/API_docs_v70/methods/photos.getUserPhotos.md @@ -19,7 +19,7 @@ Returns the list of user photos. |limit|[int](../types/int.md) | Number of list elements to be returned | Yes| -### Return type: [photos\_Photos](../types/photos_Photos.md) +### Return type: [photos.Photos](../types/photos.Photos.md) ### Can bots use this method: **YES** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$photos_Photos = $MadelineProto->photos->getUserPhotos(['user_id' => InputUser, 'offset' => int, 'max_id' => long, 'limit' => int, ]); +$photos.Photos = $MadelineProto->photos->getUserPhotos(['user_id' => InputUser, 'offset' => int, 'max_id' => long, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -photos_Photos = photos.getUserPhotos({user_id=InputUser, offset=int, max_id=long, limit=int, }) +photos.Photos = photos.getUserPhotos({user_id=InputUser, offset=int, max_id=long, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v70/methods/photos.uploadProfilePhoto.md b/old_docs/API_docs_v70/methods/photos.uploadProfilePhoto.md index b6a01ee7..4de76a24 100644 --- a/old_docs/API_docs_v70/methods/photos.uploadProfilePhoto.md +++ b/old_docs/API_docs_v70/methods/photos.uploadProfilePhoto.md @@ -16,7 +16,7 @@ Updates current user profile photo. |file|[File path or InputFile](../types/InputFile.md) | File saved in parts by means of [upload.saveFilePart](../methods/upload.saveFilePart.md) method | Yes| -### Return type: [photos\_Photo](../types/photos_Photo.md) +### Return type: [photos.Photo](../types/photos.Photo.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$photos_Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, ]); +$photos.Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, ]); ``` Or, if you're into Lua: ```lua -photos_Photo = photos.uploadProfilePhoto({file=InputFile, }) +photos.Photo = photos.uploadProfilePhoto({file=InputFile, }) ``` ### Errors diff --git a/old_docs/API_docs_v70/methods/stickers.addStickerToSet.md b/old_docs/API_docs_v70/methods/stickers.addStickerToSet.md index 727d3f27..e8392355 100644 --- a/old_docs/API_docs_v70/methods/stickers.addStickerToSet.md +++ b/old_docs/API_docs_v70/methods/stickers.addStickerToSet.md @@ -17,7 +17,7 @@ Add a sticker to a stickerset, bots only. The sticker set must have been created |sticker|[InputStickerSetItem](../types/InputStickerSetItem.md) | The sticker | Yes| -### Return type: [messages\_StickerSet](../types/messages_StickerSet.md) +### Return type: [messages.StickerSet](../types/messages.StickerSet.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StickerSet = $MadelineProto->stickers->addStickerToSet(['stickerset' => InputStickerSet, 'sticker' => InputStickerSetItem, ]); +$messages.StickerSet = $MadelineProto->stickers->addStickerToSet(['stickerset' => InputStickerSet, 'sticker' => InputStickerSetItem, ]); ``` Or, if you're into Lua: ```lua -messages_StickerSet = stickers.addStickerToSet({stickerset=InputStickerSet, sticker=InputStickerSetItem, }) +messages.StickerSet = stickers.addStickerToSet({stickerset=InputStickerSet, sticker=InputStickerSetItem, }) ``` ### Errors diff --git a/old_docs/API_docs_v70/methods/stickers.changeStickerPosition.md b/old_docs/API_docs_v70/methods/stickers.changeStickerPosition.md index ed390f21..e1d8ab5e 100644 --- a/old_docs/API_docs_v70/methods/stickers.changeStickerPosition.md +++ b/old_docs/API_docs_v70/methods/stickers.changeStickerPosition.md @@ -17,7 +17,7 @@ Changes the absolute position of a sticker in the set to which it belongs; for b |position|[int](../types/int.md) | The new position of the sticker, zero-based | Yes| -### Return type: [messages\_StickerSet](../types/messages_StickerSet.md) +### Return type: [messages.StickerSet](../types/messages.StickerSet.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StickerSet = $MadelineProto->stickers->changeStickerPosition(['sticker' => InputDocument, 'position' => int, ]); +$messages.StickerSet = $MadelineProto->stickers->changeStickerPosition(['sticker' => InputDocument, 'position' => int, ]); ``` Or, if you're into Lua: ```lua -messages_StickerSet = stickers.changeStickerPosition({sticker=InputDocument, position=int, }) +messages.StickerSet = stickers.changeStickerPosition({sticker=InputDocument, position=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v70/methods/stickers.createStickerSet.md b/old_docs/API_docs_v70/methods/stickers.createStickerSet.md index 5a6ef396..7eeeb48f 100644 --- a/old_docs/API_docs_v70/methods/stickers.createStickerSet.md +++ b/old_docs/API_docs_v70/methods/stickers.createStickerSet.md @@ -20,7 +20,7 @@ Create a stickerset, bots only. |stickers|Array of [InputStickerSetItem](../types/InputStickerSetItem.md) | The stickers to add | Yes| -### Return type: [messages\_StickerSet](../types/messages_StickerSet.md) +### Return type: [messages.StickerSet](../types/messages.StickerSet.md) ### Can bots use this method: **YES** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StickerSet = $MadelineProto->stickers->createStickerSet(['masks' => Bool, 'user_id' => InputUser, 'title' => 'string', 'short_name' => 'string', 'stickers' => [InputStickerSetItem, InputStickerSetItem], ]); +$messages.StickerSet = $MadelineProto->stickers->createStickerSet(['masks' => Bool, 'user_id' => InputUser, 'title' => 'string', 'short_name' => 'string', 'stickers' => [InputStickerSetItem, InputStickerSetItem], ]); ``` Or, if you're into Lua: ```lua -messages_StickerSet = stickers.createStickerSet({masks=Bool, user_id=InputUser, title='string', short_name='string', stickers={InputStickerSetItem}, }) +messages.StickerSet = stickers.createStickerSet({masks=Bool, user_id=InputUser, title='string', short_name='string', stickers={InputStickerSetItem}, }) ``` ### Errors diff --git a/old_docs/API_docs_v70/methods/stickers.removeStickerFromSet.md b/old_docs/API_docs_v70/methods/stickers.removeStickerFromSet.md index 33f677b3..aa4927ca 100644 --- a/old_docs/API_docs_v70/methods/stickers.removeStickerFromSet.md +++ b/old_docs/API_docs_v70/methods/stickers.removeStickerFromSet.md @@ -16,7 +16,7 @@ Remove a sticker from the set where it belongs, bots only. The sticker set must |sticker|[MessageMedia, Update, Message or InputDocument](../types/InputDocument.md) | The sticker to remove | Optional| -### Return type: [messages\_StickerSet](../types/messages_StickerSet.md) +### Return type: [messages.StickerSet](../types/messages.StickerSet.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StickerSet = $MadelineProto->stickers->removeStickerFromSet(['sticker' => InputDocument, ]); +$messages.StickerSet = $MadelineProto->stickers->removeStickerFromSet(['sticker' => InputDocument, ]); ``` Or, if you're into Lua: ```lua -messages_StickerSet = stickers.removeStickerFromSet({sticker=InputDocument, }) +messages.StickerSet = stickers.removeStickerFromSet({sticker=InputDocument, }) ``` ### Errors diff --git a/old_docs/API_docs_v70/methods/updates.getChannelDifference.md b/old_docs/API_docs_v70/methods/updates.getChannelDifference.md index 5675cd33..08df3395 100644 --- a/old_docs/API_docs_v70/methods/updates.getChannelDifference.md +++ b/old_docs/API_docs_v70/methods/updates.getChannelDifference.md @@ -20,7 +20,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz for more |limit|[int](../types/int.md) | You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates | Yes| -### Return type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) +### Return type: [updates.ChannelDifference](../types/updates.ChannelDifference.md) ### Can bots use this method: **YES** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$updates_ChannelDifference = $MadelineProto->updates->getChannelDifference(['force' => Bool, 'channel' => InputChannel, 'filter' => ChannelMessagesFilter, 'pts' => int, 'limit' => int, ]); +$updates.ChannelDifference = $MadelineProto->updates->getChannelDifference(['force' => Bool, 'channel' => InputChannel, 'filter' => ChannelMessagesFilter, 'pts' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -updates_ChannelDifference = updates.getChannelDifference({force=Bool, channel=InputChannel, filter=ChannelMessagesFilter, pts=int, limit=int, }) +updates.ChannelDifference = updates.getChannelDifference({force=Bool, channel=InputChannel, filter=ChannelMessagesFilter, pts=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v70/methods/updates.getDifference.md b/old_docs/API_docs_v70/methods/updates.getDifference.md index bcfac4e2..b3796a10 100644 --- a/old_docs/API_docs_v70/methods/updates.getDifference.md +++ b/old_docs/API_docs_v70/methods/updates.getDifference.md @@ -19,7 +19,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz for more |qts|[int](../types/int.md) | You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates | Yes| -### Return type: [updates\_Difference](../types/updates_Difference.md) +### Return type: [updates.Difference](../types/updates.Difference.md) ### Can bots use this method: **YES** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$updates_Difference = $MadelineProto->updates->getDifference(['pts' => int, 'pts_total_limit' => int, 'date' => int, 'qts' => int, ]); +$updates.Difference = $MadelineProto->updates->getDifference(['pts' => int, 'pts_total_limit' => int, 'date' => int, 'qts' => int, ]); ``` Or, if you're into Lua: ```lua -updates_Difference = updates.getDifference({pts=int, pts_total_limit=int, date=int, qts=int, }) +updates.Difference = updates.getDifference({pts=int, pts_total_limit=int, date=int, qts=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v70/methods/updates.getState.md b/old_docs/API_docs_v70/methods/updates.getState.md index c591408a..9a7d2f34 100644 --- a/old_docs/API_docs_v70/methods/updates.getState.md +++ b/old_docs/API_docs_v70/methods/updates.getState.md @@ -11,7 +11,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz for more -### Return type: [updates\_State](../types/updates_State.md) +### Return type: [updates.State](../types/updates.State.md) ### Can bots use this method: **YES** @@ -28,13 +28,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$updates_State = $MadelineProto->updates->getState(); +$updates.State = $MadelineProto->updates->getState(); ``` Or, if you're into Lua: ```lua -updates_State = updates.getState({}) +updates.State = updates.getState({}) ``` ### Errors diff --git a/old_docs/API_docs_v70/methods/upload.getCdnFile.md b/old_docs/API_docs_v70/methods/upload.getCdnFile.md index a3c928b2..67b2e84e 100644 --- a/old_docs/API_docs_v70/methods/upload.getCdnFile.md +++ b/old_docs/API_docs_v70/methods/upload.getCdnFile.md @@ -18,7 +18,7 @@ You cannot use this method directly, use the upload, downloadToStream, downloadT |limit|[int](../types/int.md) | You cannot use this method directly, use the upload, downloadToStream, downloadToFile, downloadToDir methods instead; see https://docs.madelineproto.xyz for more info | Yes| -### Return type: [upload\_CdnFile](../types/upload_CdnFile.md) +### Return type: [upload.CdnFile](../types/upload.CdnFile.md) ### Can bots use this method: **NO** @@ -35,12 +35,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$upload_CdnFile = $MadelineProto->upload->getCdnFile(['file_token' => 'bytes', 'offset' => int, 'limit' => int, ]); +$upload.CdnFile = $MadelineProto->upload->getCdnFile(['file_token' => 'bytes', 'offset' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -upload_CdnFile = upload.getCdnFile({file_token='bytes', offset=int, limit=int, }) +upload.CdnFile = upload.getCdnFile({file_token='bytes', offset=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v70/methods/upload.getFile.md b/old_docs/API_docs_v70/methods/upload.getFile.md index 8aba03d4..ab9f4fe2 100644 --- a/old_docs/API_docs_v70/methods/upload.getFile.md +++ b/old_docs/API_docs_v70/methods/upload.getFile.md @@ -18,7 +18,7 @@ You cannot use this method directly, use the upload, downloadToStream, downloadT |limit|[int](../types/int.md) | You cannot use this method directly, use the upload, downloadToStream, downloadToFile, downloadToDir methods instead; see https://docs.madelineproto.xyz for more info | Yes| -### Return type: [upload\_File](../types/upload_File.md) +### Return type: [upload.File](../types/upload.File.md) ### Can bots use this method: **YES** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$upload_File = $MadelineProto->upload->getFile(['location' => InputFileLocation, 'offset' => int, 'limit' => int, ]); +$upload.File = $MadelineProto->upload->getFile(['location' => InputFileLocation, 'offset' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -upload_File = upload.getFile({location=InputFileLocation, offset=int, limit=int, }) +upload.File = upload.getFile({location=InputFileLocation, offset=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v70/methods/upload.getWebFile.md b/old_docs/API_docs_v70/methods/upload.getWebFile.md index 32f6b322..60f1b8c1 100644 --- a/old_docs/API_docs_v70/methods/upload.getWebFile.md +++ b/old_docs/API_docs_v70/methods/upload.getWebFile.md @@ -18,7 +18,7 @@ Returns content of an HTTP file or a part, by proxying the request through teleg |limit|[int](../types/int.md) | Number of bytes to be returned | Yes| -### Return type: [upload\_WebFile](../types/upload_WebFile.md) +### Return type: [upload.WebFile](../types/upload.WebFile.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$upload_WebFile = $MadelineProto->upload->getWebFile(['location' => InputWebFileLocation, 'offset' => int, 'limit' => int, ]); +$upload.WebFile = $MadelineProto->upload->getWebFile(['location' => InputWebFileLocation, 'offset' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -upload_WebFile = upload.getWebFile({location=InputWebFileLocation, offset=int, limit=int, }) +upload.WebFile = upload.getWebFile({location=InputWebFileLocation, offset=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v70/types/AccountDaysTTL.md b/old_docs/API_docs_v70/types/AccountDaysTTL.md index 12a10190..f3494aac 100644 --- a/old_docs/API_docs_v70/types/AccountDaysTTL.md +++ b/old_docs/API_docs_v70/types/AccountDaysTTL.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->account->getAccountTTL](../methods/account_getAccountTTL.md) +[$MadelineProto->account->getAccountTTL](../methods/account.getAccountTTL.md) diff --git a/old_docs/API_docs_v70/types/CdnConfig.md b/old_docs/API_docs_v70/types/CdnConfig.md index fbfe01c3..0b0fb5be 100644 --- a/old_docs/API_docs_v70/types/CdnConfig.md +++ b/old_docs/API_docs_v70/types/CdnConfig.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->help->getCdnConfig](../methods/help_getCdnConfig.md) +[$MadelineProto->help->getCdnConfig](../methods/help.getCdnConfig.md) diff --git a/old_docs/API_docs_v70/types/CdnFileHash.md b/old_docs/API_docs_v70/types/CdnFileHash.md index 006bc256..cbb19024 100644 --- a/old_docs/API_docs_v70/types/CdnFileHash.md +++ b/old_docs/API_docs_v70/types/CdnFileHash.md @@ -16,9 +16,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->upload->reuploadCdnFile](../methods/upload_reuploadCdnFile.md) +[$MadelineProto->upload->reuploadCdnFile](../methods/upload.reuploadCdnFile.md) -[$MadelineProto->upload->getCdnFileHashes](../methods/upload_getCdnFileHashes.md) +[$MadelineProto->upload->getCdnFileHashes](../methods/upload.getCdnFileHashes.md) diff --git a/old_docs/API_docs_v70/types/ChatInvite.md b/old_docs/API_docs_v70/types/ChatInvite.md index 5022a2f0..9fafabb4 100644 --- a/old_docs/API_docs_v70/types/ChatInvite.md +++ b/old_docs/API_docs_v70/types/ChatInvite.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->checkChatInvite](../methods/messages_checkChatInvite.md) +[$MadelineProto->messages->checkChatInvite](../methods/messages.checkChatInvite.md) diff --git a/old_docs/API_docs_v70/types/Config.md b/old_docs/API_docs_v70/types/Config.md index 0f7fbe70..3a23b7b7 100644 --- a/old_docs/API_docs_v70/types/Config.md +++ b/old_docs/API_docs_v70/types/Config.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->help->getConfig](../methods/help_getConfig.md) +[$MadelineProto->help->getConfig](../methods/help.getConfig.md) diff --git a/old_docs/API_docs_v70/types/ContactStatus.md b/old_docs/API_docs_v70/types/ContactStatus.md index c5f5d658..30aee6e2 100644 --- a/old_docs/API_docs_v70/types/ContactStatus.md +++ b/old_docs/API_docs_v70/types/ContactStatus.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->contacts->getStatuses](../methods/contacts_getStatuses.md) +[$MadelineProto->contacts->getStatuses](../methods/contacts.getStatuses.md) diff --git a/old_docs/API_docs_v70/types/DestroyAuthKeyRes.md b/old_docs/API_docs_v70/types/DestroyAuthKeyRes.md index 947e79cc..6b877d82 100644 --- a/old_docs/API_docs_v70/types/DestroyAuthKeyRes.md +++ b/old_docs/API_docs_v70/types/DestroyAuthKeyRes.md @@ -20,7 +20,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->destroy->auth->key](../methods/destroy_auth_key.md) +[$MadelineProto->destroy\_auth\_key](../methods/destroy_auth_key.md) diff --git a/old_docs/API_docs_v70/types/DestroySessionRes.md b/old_docs/API_docs_v70/types/DestroySessionRes.md index dbc73cdf..dc5d2bc3 100644 --- a/old_docs/API_docs_v70/types/DestroySessionRes.md +++ b/old_docs/API_docs_v70/types/DestroySessionRes.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->destroy->session](../methods/destroy_session.md) +[$MadelineProto->destroy\_session](../methods/destroy_session.md) diff --git a/old_docs/API_docs_v70/types/Document.md b/old_docs/API_docs_v70/types/Document.md index f68b7aa4..2cb85623 100644 --- a/old_docs/API_docs_v70/types/Document.md +++ b/old_docs/API_docs_v70/types/Document.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getDocumentByHash](../methods/messages_getDocumentByHash.md) +[$MadelineProto->messages->getDocumentByHash](../methods/messages.getDocumentByHash.md) diff --git a/old_docs/API_docs_v70/types/EncryptedChat.md b/old_docs/API_docs_v70/types/EncryptedChat.md index fd2277f6..19cf52b0 100644 --- a/old_docs/API_docs_v70/types/EncryptedChat.md +++ b/old_docs/API_docs_v70/types/EncryptedChat.md @@ -24,9 +24,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->requestEncryption](../methods/messages_requestEncryption.md) +[$MadelineProto->messages->requestEncryption](../methods/messages.requestEncryption.md) -[$MadelineProto->messages->acceptEncryption](../methods/messages_acceptEncryption.md) +[$MadelineProto->messages->acceptEncryption](../methods/messages.acceptEncryption.md) diff --git a/old_docs/API_docs_v70/types/ExportedChatInvite.md b/old_docs/API_docs_v70/types/ExportedChatInvite.md index 4213a78f..53ce5f59 100644 --- a/old_docs/API_docs_v70/types/ExportedChatInvite.md +++ b/old_docs/API_docs_v70/types/ExportedChatInvite.md @@ -18,9 +18,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->exportChatInvite](../methods/messages_exportChatInvite.md) +[$MadelineProto->messages->exportChatInvite](../methods/messages.exportChatInvite.md) -[$MadelineProto->channels->exportInvite](../methods/channels_exportInvite.md) +[$MadelineProto->channels->exportInvite](../methods/channels.exportInvite.md) diff --git a/old_docs/API_docs_v70/types/ExportedMessageLink.md b/old_docs/API_docs_v70/types/ExportedMessageLink.md index eb2400f6..948e9c90 100644 --- a/old_docs/API_docs_v70/types/ExportedMessageLink.md +++ b/old_docs/API_docs_v70/types/ExportedMessageLink.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->channels->exportMessageLink](../methods/channels_exportMessageLink.md) +[$MadelineProto->channels->exportMessageLink](../methods/channels.exportMessageLink.md) diff --git a/old_docs/API_docs_v70/types/FutureSalts.md b/old_docs/API_docs_v70/types/FutureSalts.md index 5cb9f9e1..3a10b4a2 100644 --- a/old_docs/API_docs_v70/types/FutureSalts.md +++ b/old_docs/API_docs_v70/types/FutureSalts.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->get->future->salts](../methods/get_future_salts.md) +[$MadelineProto->get\_future\_salts](../methods/get_future_salts.md) diff --git a/old_docs/API_docs_v70/types/LangPackDifference.md b/old_docs/API_docs_v70/types/LangPackDifference.md index fd9f41f2..e04125b8 100644 --- a/old_docs/API_docs_v70/types/LangPackDifference.md +++ b/old_docs/API_docs_v70/types/LangPackDifference.md @@ -16,9 +16,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->langpack->getLangPack](../methods/langpack_getLangPack.md) +[$MadelineProto->langpack->getLangPack](../methods/langpack.getLangPack.md) -[$MadelineProto->langpack->getDifference](../methods/langpack_getDifference.md) +[$MadelineProto->langpack->getDifference](../methods/langpack.getDifference.md) diff --git a/old_docs/API_docs_v70/types/LangPackLanguage.md b/old_docs/API_docs_v70/types/LangPackLanguage.md index f7459fc2..280d0243 100644 --- a/old_docs/API_docs_v70/types/LangPackLanguage.md +++ b/old_docs/API_docs_v70/types/LangPackLanguage.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->langpack->getLanguages](../methods/langpack_getLanguages.md) +[$MadelineProto->langpack->getLanguages](../methods/langpack.getLanguages.md) diff --git a/old_docs/API_docs_v70/types/LangPackString.md b/old_docs/API_docs_v70/types/LangPackString.md index f1a43dd9..15f9dc3d 100644 --- a/old_docs/API_docs_v70/types/LangPackString.md +++ b/old_docs/API_docs_v70/types/LangPackString.md @@ -20,7 +20,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->langpack->getStrings](../methods/langpack_getStrings.md) +[$MadelineProto->langpack->getStrings](../methods/langpack.getStrings.md) diff --git a/old_docs/API_docs_v70/types/MessageMedia.md b/old_docs/API_docs_v70/types/MessageMedia.md index db558648..f00e5b1d 100644 --- a/old_docs/API_docs_v70/types/MessageMedia.md +++ b/old_docs/API_docs_v70/types/MessageMedia.md @@ -34,9 +34,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getWebPagePreview](../methods/messages_getWebPagePreview.md) +[$MadelineProto->messages->getWebPagePreview](../methods/messages.getWebPagePreview.md) -[$MadelineProto->messages->uploadMedia](../methods/messages_uploadMedia.md) +[$MadelineProto->messages->uploadMedia](../methods/messages.uploadMedia.md) diff --git a/old_docs/API_docs_v70/types/NearestDc.md b/old_docs/API_docs_v70/types/NearestDc.md index 31f24377..296a4dff 100644 --- a/old_docs/API_docs_v70/types/NearestDc.md +++ b/old_docs/API_docs_v70/types/NearestDc.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->help->getNearestDc](../methods/help_getNearestDc.md) +[$MadelineProto->help->getNearestDc](../methods/help.getNearestDc.md) diff --git a/old_docs/API_docs_v70/types/PeerNotifySettings.md b/old_docs/API_docs_v70/types/PeerNotifySettings.md index 769de075..3d72b7c5 100644 --- a/old_docs/API_docs_v70/types/PeerNotifySettings.md +++ b/old_docs/API_docs_v70/types/PeerNotifySettings.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->account->getNotifySettings](../methods/account_getNotifySettings.md) +[$MadelineProto->account->getNotifySettings](../methods/account.getNotifySettings.md) diff --git a/old_docs/API_docs_v70/types/PeerSettings.md b/old_docs/API_docs_v70/types/PeerSettings.md index 60ac3765..31ef7e38 100644 --- a/old_docs/API_docs_v70/types/PeerSettings.md +++ b/old_docs/API_docs_v70/types/PeerSettings.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getPeerSettings](../methods/messages_getPeerSettings.md) +[$MadelineProto->messages->getPeerSettings](../methods/messages.getPeerSettings.md) diff --git a/old_docs/API_docs_v70/types/Pong.md b/old_docs/API_docs_v70/types/Pong.md index 7658af03..aa25a60e 100644 --- a/old_docs/API_docs_v70/types/Pong.md +++ b/old_docs/API_docs_v70/types/Pong.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png [$MadelineProto->ping](../methods/ping.md) -[$MadelineProto->ping->delay->disconnect](../methods/ping_delay_disconnect.md) +[$MadelineProto->ping\_delay\_disconnect](../methods/ping_delay_disconnect.md) diff --git a/old_docs/API_docs_v70/types/README.md b/old_docs/API_docs_v70/types/README.md index 8ec4ae46..5313aad7 100644 --- a/old_docs/API_docs_v70/types/README.md +++ b/old_docs/API_docs_v70/types/README.md @@ -331,137 +331,137 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png [X](X.md) -[account\_Authorizations](account_Authorizations.md) +[account.Authorizations](account.Authorizations.md) -[account\_Password](account_Password.md) +[account.Password](account.Password.md) -[account\_PasswordInputSettings](account_PasswordInputSettings.md) +[account.PasswordInputSettings](account.PasswordInputSettings.md) -[account\_PasswordSettings](account_PasswordSettings.md) +[account.PasswordSettings](account.PasswordSettings.md) -[account\_PrivacyRules](account_PrivacyRules.md) +[account.PrivacyRules](account.PrivacyRules.md) -[account\_TmpPassword](account_TmpPassword.md) +[account.TmpPassword](account.TmpPassword.md) -[auth\_Authorization](auth_Authorization.md) +[auth.Authorization](auth.Authorization.md) -[auth\_CheckedPhone](auth_CheckedPhone.md) +[auth.CheckedPhone](auth.CheckedPhone.md) -[auth\_CodeType](auth_CodeType.md) +[auth.CodeType](auth.CodeType.md) -[auth\_ExportedAuthorization](auth_ExportedAuthorization.md) +[auth.ExportedAuthorization](auth.ExportedAuthorization.md) -[auth\_PasswordRecovery](auth_PasswordRecovery.md) +[auth.PasswordRecovery](auth.PasswordRecovery.md) -[auth\_SentCode](auth_SentCode.md) +[auth.SentCode](auth.SentCode.md) -[auth\_SentCodeType](auth_SentCodeType.md) +[auth.SentCodeType](auth.SentCodeType.md) -[channels\_AdminLogResults](channels_AdminLogResults.md) +[channels.AdminLogResults](channels.AdminLogResults.md) -[channels\_ChannelParticipant](channels_ChannelParticipant.md) +[channels.ChannelParticipant](channels.ChannelParticipant.md) -[channels\_ChannelParticipants](channels_ChannelParticipants.md) +[channels.ChannelParticipants](channels.ChannelParticipants.md) -[contacts\_Blocked](contacts_Blocked.md) +[contacts.Blocked](contacts.Blocked.md) -[contacts\_Contacts](contacts_Contacts.md) +[contacts.Contacts](contacts.Contacts.md) -[contacts\_Found](contacts_Found.md) +[contacts.Found](contacts.Found.md) -[contacts\_ImportedContacts](contacts_ImportedContacts.md) +[contacts.ImportedContacts](contacts.ImportedContacts.md) -[contacts\_Link](contacts_Link.md) +[contacts.Link](contacts.Link.md) -[contacts\_ResolvedPeer](contacts_ResolvedPeer.md) +[contacts.ResolvedPeer](contacts.ResolvedPeer.md) -[contacts\_TopPeers](contacts_TopPeers.md) +[contacts.TopPeers](contacts.TopPeers.md) -[help\_AppUpdate](help_AppUpdate.md) +[help.AppUpdate](help.AppUpdate.md) -[help\_ConfigSimple](help_ConfigSimple.md) +[help.ConfigSimple](help.ConfigSimple.md) -[help\_InviteText](help_InviteText.md) +[help.InviteText](help.InviteText.md) -[help\_Support](help_Support.md) +[help.Support](help.Support.md) -[help\_TermsOfService](help_TermsOfService.md) +[help.TermsOfService](help.TermsOfService.md) [int](int.md) [long](long.md) -[messages\_AffectedHistory](messages_AffectedHistory.md) +[messages.AffectedHistory](messages.AffectedHistory.md) -[messages\_AffectedMessages](messages_AffectedMessages.md) +[messages.AffectedMessages](messages.AffectedMessages.md) -[messages\_AllStickers](messages_AllStickers.md) +[messages.AllStickers](messages.AllStickers.md) -[messages\_ArchivedStickers](messages_ArchivedStickers.md) +[messages.ArchivedStickers](messages.ArchivedStickers.md) -[messages\_BotCallbackAnswer](messages_BotCallbackAnswer.md) +[messages.BotCallbackAnswer](messages.BotCallbackAnswer.md) -[messages\_BotResults](messages_BotResults.md) +[messages.BotResults](messages.BotResults.md) -[messages\_ChatFull](messages_ChatFull.md) +[messages.ChatFull](messages.ChatFull.md) -[messages\_Chats](messages_Chats.md) +[messages.Chats](messages.Chats.md) -[messages\_DhConfig](messages_DhConfig.md) +[messages.DhConfig](messages.DhConfig.md) -[messages\_Dialogs](messages_Dialogs.md) +[messages.Dialogs](messages.Dialogs.md) -[messages\_FeaturedStickers](messages_FeaturedStickers.md) +[messages.FeaturedStickers](messages.FeaturedStickers.md) -[messages\_FoundGifs](messages_FoundGifs.md) +[messages.FoundGifs](messages.FoundGifs.md) -[messages\_HighScores](messages_HighScores.md) +[messages.HighScores](messages.HighScores.md) -[messages\_MessageEditData](messages_MessageEditData.md) +[messages.MessageEditData](messages.MessageEditData.md) -[messages\_Messages](messages_Messages.md) +[messages.Messages](messages.Messages.md) -[messages\_PeerDialogs](messages_PeerDialogs.md) +[messages.PeerDialogs](messages.PeerDialogs.md) -[messages\_RecentStickers](messages_RecentStickers.md) +[messages.RecentStickers](messages.RecentStickers.md) -[messages\_SavedGifs](messages_SavedGifs.md) +[messages.SavedGifs](messages.SavedGifs.md) -[messages\_SentEncryptedMessage](messages_SentEncryptedMessage.md) +[messages.SentEncryptedMessage](messages.SentEncryptedMessage.md) -[messages\_StickerSet](messages_StickerSet.md) +[messages.StickerSet](messages.StickerSet.md) -[messages\_StickerSetInstallResult](messages_StickerSetInstallResult.md) +[messages.StickerSetInstallResult](messages.StickerSetInstallResult.md) -[messages\_Stickers](messages_Stickers.md) +[messages.Stickers](messages.Stickers.md) -[payments\_PaymentForm](payments_PaymentForm.md) +[payments.PaymentForm](payments.PaymentForm.md) -[payments\_PaymentReceipt](payments_PaymentReceipt.md) +[payments.PaymentReceipt](payments.PaymentReceipt.md) -[payments\_PaymentResult](payments_PaymentResult.md) +[payments.PaymentResult](payments.PaymentResult.md) -[payments\_SavedInfo](payments_SavedInfo.md) +[payments.SavedInfo](payments.SavedInfo.md) -[payments\_ValidatedRequestedInfo](payments_ValidatedRequestedInfo.md) +[payments.ValidatedRequestedInfo](payments.ValidatedRequestedInfo.md) -[phone\_PhoneCall](phone_PhoneCall.md) +[phone.PhoneCall](phone.PhoneCall.md) -[photos\_Photo](photos_Photo.md) +[photos.Photo](photos.Photo.md) -[photos\_Photos](photos_Photos.md) +[photos.Photos](photos.Photos.md) -[storage\_FileType](storage_FileType.md) +[storage.FileType](storage.FileType.md) -[updates\_ChannelDifference](updates_ChannelDifference.md) +[updates.ChannelDifference](updates.ChannelDifference.md) -[updates\_Difference](updates_Difference.md) +[updates.Difference](updates.Difference.md) -[updates\_State](updates_State.md) +[updates.State](updates.State.md) -[upload\_CdnFile](upload_CdnFile.md) +[upload.CdnFile](upload.CdnFile.md) -[upload\_File](upload_File.md) +[upload.File](upload.File.md) -[upload\_WebFile](upload_WebFile.md) +[upload.WebFile](upload.WebFile.md) diff --git a/old_docs/API_docs_v70/types/ReceivedNotifyMessage.md b/old_docs/API_docs_v70/types/ReceivedNotifyMessage.md index c7fc3b8c..416aa275 100644 --- a/old_docs/API_docs_v70/types/ReceivedNotifyMessage.md +++ b/old_docs/API_docs_v70/types/ReceivedNotifyMessage.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->receivedMessages](../methods/messages_receivedMessages.md) +[$MadelineProto->messages->receivedMessages](../methods/messages.receivedMessages.md) diff --git a/old_docs/API_docs_v70/types/ResPQ.md b/old_docs/API_docs_v70/types/ResPQ.md index ebd5c8ed..860ee76d 100644 --- a/old_docs/API_docs_v70/types/ResPQ.md +++ b/old_docs/API_docs_v70/types/ResPQ.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->req->pq](../methods/req_pq.md) +[$MadelineProto->req\_pq](../methods/req_pq.md) diff --git a/old_docs/API_docs_v70/types/RpcDropAnswer.md b/old_docs/API_docs_v70/types/RpcDropAnswer.md index 4fb1ced7..05586b65 100644 --- a/old_docs/API_docs_v70/types/RpcDropAnswer.md +++ b/old_docs/API_docs_v70/types/RpcDropAnswer.md @@ -20,7 +20,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->rpc->drop->answer](../methods/rpc_drop_answer.md) +[$MadelineProto->rpc\_drop\_answer](../methods/rpc_drop_answer.md) diff --git a/old_docs/API_docs_v70/types/Server_DH_Params.md b/old_docs/API_docs_v70/types/Server_DH_Params.md index e007d828..40530f7e 100644 --- a/old_docs/API_docs_v70/types/Server_DH_Params.md +++ b/old_docs/API_docs_v70/types/Server_DH_Params.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->req->DH->params](../methods/req_DH_params.md) +[$MadelineProto->req\_DH\_params](../methods/req_DH_params.md) diff --git a/old_docs/API_docs_v70/types/Set_client_DH_params_answer.md b/old_docs/API_docs_v70/types/Set_client_DH_params_answer.md index f316e712..523432b7 100644 --- a/old_docs/API_docs_v70/types/Set_client_DH_params_answer.md +++ b/old_docs/API_docs_v70/types/Set_client_DH_params_answer.md @@ -20,7 +20,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->set->client->DH->params](../methods/set_client_DH_params.md) +[$MadelineProto->set\_client\_DH\_params](../methods/set_client_DH_params.md) diff --git a/old_docs/API_docs_v70/types/StickerSetCovered.md b/old_docs/API_docs_v70/types/StickerSetCovered.md index ffd1da1f..f57cd117 100644 --- a/old_docs/API_docs_v70/types/StickerSetCovered.md +++ b/old_docs/API_docs_v70/types/StickerSetCovered.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getAttachedStickers](../methods/messages_getAttachedStickers.md) +[$MadelineProto->messages->getAttachedStickers](../methods/messages.getAttachedStickers.md) diff --git a/old_docs/API_docs_v70/types/Updates.md b/old_docs/API_docs_v70/types/Updates.md index 5705835a..1f186319 100644 --- a/old_docs/API_docs_v70/types/Updates.md +++ b/old_docs/API_docs_v70/types/Updates.md @@ -28,71 +28,71 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->sendMessage](../methods/messages_sendMessage.md) +[$MadelineProto->messages->sendMessage](../methods/messages.sendMessage.md) -[$MadelineProto->messages->sendMedia](../methods/messages_sendMedia.md) +[$MadelineProto->messages->sendMedia](../methods/messages.sendMedia.md) -[$MadelineProto->messages->forwardMessages](../methods/messages_forwardMessages.md) +[$MadelineProto->messages->forwardMessages](../methods/messages.forwardMessages.md) -[$MadelineProto->messages->editChatTitle](../methods/messages_editChatTitle.md) +[$MadelineProto->messages->editChatTitle](../methods/messages.editChatTitle.md) -[$MadelineProto->messages->editChatPhoto](../methods/messages_editChatPhoto.md) +[$MadelineProto->messages->editChatPhoto](../methods/messages.editChatPhoto.md) -[$MadelineProto->messages->addChatUser](../methods/messages_addChatUser.md) +[$MadelineProto->messages->addChatUser](../methods/messages.addChatUser.md) -[$MadelineProto->messages->deleteChatUser](../methods/messages_deleteChatUser.md) +[$MadelineProto->messages->deleteChatUser](../methods/messages.deleteChatUser.md) -[$MadelineProto->messages->createChat](../methods/messages_createChat.md) +[$MadelineProto->messages->createChat](../methods/messages.createChat.md) -[$MadelineProto->messages->forwardMessage](../methods/messages_forwardMessage.md) +[$MadelineProto->messages->forwardMessage](../methods/messages.forwardMessage.md) -[$MadelineProto->messages->importChatInvite](../methods/messages_importChatInvite.md) +[$MadelineProto->messages->importChatInvite](../methods/messages.importChatInvite.md) -[$MadelineProto->messages->startBot](../methods/messages_startBot.md) +[$MadelineProto->messages->startBot](../methods/messages.startBot.md) -[$MadelineProto->messages->toggleChatAdmins](../methods/messages_toggleChatAdmins.md) +[$MadelineProto->messages->toggleChatAdmins](../methods/messages.toggleChatAdmins.md) -[$MadelineProto->messages->migrateChat](../methods/messages_migrateChat.md) +[$MadelineProto->messages->migrateChat](../methods/messages.migrateChat.md) -[$MadelineProto->messages->sendInlineBotResult](../methods/messages_sendInlineBotResult.md) +[$MadelineProto->messages->sendInlineBotResult](../methods/messages.sendInlineBotResult.md) -[$MadelineProto->messages->editMessage](../methods/messages_editMessage.md) +[$MadelineProto->messages->editMessage](../methods/messages.editMessage.md) -[$MadelineProto->messages->getAllDrafts](../methods/messages_getAllDrafts.md) +[$MadelineProto->messages->getAllDrafts](../methods/messages.getAllDrafts.md) -[$MadelineProto->messages->setGameScore](../methods/messages_setGameScore.md) +[$MadelineProto->messages->setGameScore](../methods/messages.setGameScore.md) -[$MadelineProto->messages->sendScreenshotNotification](../methods/messages_sendScreenshotNotification.md) +[$MadelineProto->messages->sendScreenshotNotification](../methods/messages.sendScreenshotNotification.md) -[$MadelineProto->help->getAppChangelog](../methods/help_getAppChangelog.md) +[$MadelineProto->help->getAppChangelog](../methods/help.getAppChangelog.md) -[$MadelineProto->channels->createChannel](../methods/channels_createChannel.md) +[$MadelineProto->channels->createChannel](../methods/channels.createChannel.md) -[$MadelineProto->channels->editAdmin](../methods/channels_editAdmin.md) +[$MadelineProto->channels->editAdmin](../methods/channels.editAdmin.md) -[$MadelineProto->channels->editTitle](../methods/channels_editTitle.md) +[$MadelineProto->channels->editTitle](../methods/channels.editTitle.md) -[$MadelineProto->channels->editPhoto](../methods/channels_editPhoto.md) +[$MadelineProto->channels->editPhoto](../methods/channels.editPhoto.md) -[$MadelineProto->channels->joinChannel](../methods/channels_joinChannel.md) +[$MadelineProto->channels->joinChannel](../methods/channels.joinChannel.md) -[$MadelineProto->channels->leaveChannel](../methods/channels_leaveChannel.md) +[$MadelineProto->channels->leaveChannel](../methods/channels.leaveChannel.md) -[$MadelineProto->channels->inviteToChannel](../methods/channels_inviteToChannel.md) +[$MadelineProto->channels->inviteToChannel](../methods/channels.inviteToChannel.md) -[$MadelineProto->channels->deleteChannel](../methods/channels_deleteChannel.md) +[$MadelineProto->channels->deleteChannel](../methods/channels.deleteChannel.md) -[$MadelineProto->channels->toggleInvites](../methods/channels_toggleInvites.md) +[$MadelineProto->channels->toggleInvites](../methods/channels.toggleInvites.md) -[$MadelineProto->channels->toggleSignatures](../methods/channels_toggleSignatures.md) +[$MadelineProto->channels->toggleSignatures](../methods/channels.toggleSignatures.md) -[$MadelineProto->channels->updatePinnedMessage](../methods/channels_updatePinnedMessage.md) +[$MadelineProto->channels->updatePinnedMessage](../methods/channels.updatePinnedMessage.md) -[$MadelineProto->channels->editBanned](../methods/channels_editBanned.md) +[$MadelineProto->channels->editBanned](../methods/channels.editBanned.md) -[$MadelineProto->phone->discardCall](../methods/phone_discardCall.md) +[$MadelineProto->phone->discardCall](../methods/phone.discardCall.md) -[$MadelineProto->phone->setCallRating](../methods/phone_setCallRating.md) +[$MadelineProto->phone->setCallRating](../methods/phone.setCallRating.md) diff --git a/old_docs/API_docs_v70/types/User.md b/old_docs/API_docs_v70/types/User.md index 3abd182f..a2e028f4 100644 --- a/old_docs/API_docs_v70/types/User.md +++ b/old_docs/API_docs_v70/types/User.md @@ -42,15 +42,15 @@ A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDia ### Methods that return an object of this type (methods): -[$MadelineProto->account->updateProfile](../methods/account_updateProfile.md) +[$MadelineProto->account->updateProfile](../methods/account.updateProfile.md) -[$MadelineProto->account->updateUsername](../methods/account_updateUsername.md) +[$MadelineProto->account->updateUsername](../methods/account.updateUsername.md) -[$MadelineProto->account->changePhone](../methods/account_changePhone.md) +[$MadelineProto->account->changePhone](../methods/account.changePhone.md) -[$MadelineProto->users->getUsers](../methods/users_getUsers.md) +[$MadelineProto->users->getUsers](../methods/users.getUsers.md) -[$MadelineProto->contacts->importCard](../methods/contacts_importCard.md) +[$MadelineProto->contacts->importCard](../methods/contacts.importCard.md) diff --git a/old_docs/API_docs_v70/types/UserFull.md b/old_docs/API_docs_v70/types/UserFull.md index 79ad30bb..ac50052f 100644 --- a/old_docs/API_docs_v70/types/UserFull.md +++ b/old_docs/API_docs_v70/types/UserFull.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->users->getFullUser](../methods/users_getFullUser.md) +[$MadelineProto->users->getFullUser](../methods/users.getFullUser.md) diff --git a/old_docs/API_docs_v70/types/UserProfilePhoto.md b/old_docs/API_docs_v70/types/UserProfilePhoto.md index e5243a2e..e81e92fd 100644 --- a/old_docs/API_docs_v70/types/UserProfilePhoto.md +++ b/old_docs/API_docs_v70/types/UserProfilePhoto.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->photos->updateProfilePhoto](../methods/photos_updateProfilePhoto.md) +[$MadelineProto->photos->updateProfilePhoto](../methods/photos.updateProfilePhoto.md) diff --git a/old_docs/API_docs_v70/types/WallPaper.md b/old_docs/API_docs_v70/types/WallPaper.md index 8c5ac7cf..45337565 100644 --- a/old_docs/API_docs_v70/types/WallPaper.md +++ b/old_docs/API_docs_v70/types/WallPaper.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->account->getWallPapers](../methods/account_getWallPapers.md) +[$MadelineProto->account->getWallPapers](../methods/account.getWallPapers.md) diff --git a/old_docs/API_docs_v70/types/WebPage.md b/old_docs/API_docs_v70/types/WebPage.md index a3df791f..f6b61c5e 100644 --- a/old_docs/API_docs_v70/types/WebPage.md +++ b/old_docs/API_docs_v70/types/WebPage.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getWebPage](../methods/messages_getWebPage.md) +[$MadelineProto->messages->getWebPage](../methods/messages.getWebPage.md) diff --git a/old_docs/API_docs_v70/types/account.Authorizations.md b/old_docs/API_docs_v70/types/account.Authorizations.md new file mode 100644 index 00000000..f9112038 --- /dev/null +++ b/old_docs/API_docs_v70/types/account.Authorizations.md @@ -0,0 +1,22 @@ +--- +title: account.Authorizations +description: constructors and methods of type account.Authorizations +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.Authorizations +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.authorizations](../constructors/account.authorizations.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getAuthorizations](../methods/account.getAuthorizations.md) + + + diff --git a/old_docs/API_docs_v70/types/account.Password.md b/old_docs/API_docs_v70/types/account.Password.md new file mode 100644 index 00000000..5217ab5e --- /dev/null +++ b/old_docs/API_docs_v70/types/account.Password.md @@ -0,0 +1,24 @@ +--- +title: account.Password +description: constructors and methods of type account.Password +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.Password +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.noPassword](../constructors/account.noPassword.md) + +[account.password](../constructors/account.password.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getPassword](../methods/account.getPassword.md) + + + diff --git a/old_docs/API_docs_v70/types/account.PasswordInputSettings.md b/old_docs/API_docs_v70/types/account.PasswordInputSettings.md new file mode 100644 index 00000000..72e11fdc --- /dev/null +++ b/old_docs/API_docs_v70/types/account.PasswordInputSettings.md @@ -0,0 +1,20 @@ +--- +title: account.PasswordInputSettings +description: constructors and methods of type account.PasswordInputSettings +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.PasswordInputSettings +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.passwordInputSettings](../constructors/account.passwordInputSettings.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v70/types/account.PasswordSettings.md b/old_docs/API_docs_v70/types/account.PasswordSettings.md new file mode 100644 index 00000000..47016832 --- /dev/null +++ b/old_docs/API_docs_v70/types/account.PasswordSettings.md @@ -0,0 +1,22 @@ +--- +title: account.PasswordSettings +description: constructors and methods of type account.PasswordSettings +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.PasswordSettings +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.passwordSettings](../constructors/account.passwordSettings.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getPasswordSettings](../methods/account.getPasswordSettings.md) + + + diff --git a/old_docs/API_docs_v70/types/account.PrivacyRules.md b/old_docs/API_docs_v70/types/account.PrivacyRules.md new file mode 100644 index 00000000..738651ad --- /dev/null +++ b/old_docs/API_docs_v70/types/account.PrivacyRules.md @@ -0,0 +1,24 @@ +--- +title: account.PrivacyRules +description: constructors and methods of type account.PrivacyRules +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.PrivacyRules +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.privacyRules](../constructors/account.privacyRules.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getPrivacy](../methods/account.getPrivacy.md) + +[$MadelineProto->account->setPrivacy](../methods/account.setPrivacy.md) + + + diff --git a/old_docs/API_docs_v70/types/account.TmpPassword.md b/old_docs/API_docs_v70/types/account.TmpPassword.md new file mode 100644 index 00000000..2116c6c0 --- /dev/null +++ b/old_docs/API_docs_v70/types/account.TmpPassword.md @@ -0,0 +1,22 @@ +--- +title: account.TmpPassword +description: constructors and methods of type account.TmpPassword +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.TmpPassword +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.tmpPassword](../constructors/account.tmpPassword.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getTmpPassword](../methods/account.getTmpPassword.md) + + + diff --git a/old_docs/API_docs_v70/types/account_Authorizations.md b/old_docs/API_docs_v70/types/account_Authorizations.md deleted file mode 100644 index 4709ddb5..00000000 --- a/old_docs/API_docs_v70/types/account_Authorizations.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_Authorizations -description: constructors and methods of type account_Authorizations -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_Authorizations -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_authorizations](../constructors/account_authorizations.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getAuthorizations](../methods/account_getAuthorizations.md) - - - diff --git a/old_docs/API_docs_v70/types/account_Password.md b/old_docs/API_docs_v70/types/account_Password.md deleted file mode 100644 index 23e05987..00000000 --- a/old_docs/API_docs_v70/types/account_Password.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: account_Password -description: constructors and methods of type account_Password -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_Password -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_noPassword](../constructors/account_noPassword.md) - -[account\_password](../constructors/account_password.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getPassword](../methods/account_getPassword.md) - - - diff --git a/old_docs/API_docs_v70/types/account_PasswordInputSettings.md b/old_docs/API_docs_v70/types/account_PasswordInputSettings.md deleted file mode 100644 index a6455eb8..00000000 --- a/old_docs/API_docs_v70/types/account_PasswordInputSettings.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: account_PasswordInputSettings -description: constructors and methods of type account_PasswordInputSettings -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_PasswordInputSettings -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_passwordInputSettings](../constructors/account_passwordInputSettings.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v70/types/account_PasswordSettings.md b/old_docs/API_docs_v70/types/account_PasswordSettings.md deleted file mode 100644 index 687eb217..00000000 --- a/old_docs/API_docs_v70/types/account_PasswordSettings.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_PasswordSettings -description: constructors and methods of type account_PasswordSettings -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_PasswordSettings -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_passwordSettings](../constructors/account_passwordSettings.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getPasswordSettings](../methods/account_getPasswordSettings.md) - - - diff --git a/old_docs/API_docs_v70/types/account_PrivacyRules.md b/old_docs/API_docs_v70/types/account_PrivacyRules.md deleted file mode 100644 index 40b00077..00000000 --- a/old_docs/API_docs_v70/types/account_PrivacyRules.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: account_PrivacyRules -description: constructors and methods of type account_PrivacyRules -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_PrivacyRules -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_privacyRules](../constructors/account_privacyRules.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getPrivacy](../methods/account_getPrivacy.md) - -[$MadelineProto->account->setPrivacy](../methods/account_setPrivacy.md) - - - diff --git a/old_docs/API_docs_v70/types/account_TmpPassword.md b/old_docs/API_docs_v70/types/account_TmpPassword.md deleted file mode 100644 index d7557921..00000000 --- a/old_docs/API_docs_v70/types/account_TmpPassword.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_TmpPassword -description: constructors and methods of type account_TmpPassword -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_TmpPassword -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_tmpPassword](../constructors/account_tmpPassword.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getTmpPassword](../methods/account_getTmpPassword.md) - - - diff --git a/old_docs/API_docs_v70/types/auth.Authorization.md b/old_docs/API_docs_v70/types/auth.Authorization.md new file mode 100644 index 00000000..adcfa7d3 --- /dev/null +++ b/old_docs/API_docs_v70/types/auth.Authorization.md @@ -0,0 +1,32 @@ +--- +title: auth.Authorization +description: constructors and methods of type auth.Authorization +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.Authorization +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.authorization](../constructors/auth.authorization.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->signUp](../methods/auth.signUp.md) + +[$MadelineProto->auth->signIn](../methods/auth.signIn.md) + +[$MadelineProto->auth->importAuthorization](../methods/auth.importAuthorization.md) + +[$MadelineProto->auth->importBotAuthorization](../methods/auth.importBotAuthorization.md) + +[$MadelineProto->auth->checkPassword](../methods/auth.checkPassword.md) + +[$MadelineProto->auth->recoverPassword](../methods/auth.recoverPassword.md) + + + diff --git a/old_docs/API_docs_v70/types/auth.CheckedPhone.md b/old_docs/API_docs_v70/types/auth.CheckedPhone.md new file mode 100644 index 00000000..94af3915 --- /dev/null +++ b/old_docs/API_docs_v70/types/auth.CheckedPhone.md @@ -0,0 +1,22 @@ +--- +title: auth.CheckedPhone +description: constructors and methods of type auth.CheckedPhone +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.CheckedPhone +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.checkedPhone](../constructors/auth.checkedPhone.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->checkPhone](../methods/auth.checkPhone.md) + + + diff --git a/old_docs/API_docs_v70/types/auth.CodeType.md b/old_docs/API_docs_v70/types/auth.CodeType.md new file mode 100644 index 00000000..8d2b308d --- /dev/null +++ b/old_docs/API_docs_v70/types/auth.CodeType.md @@ -0,0 +1,24 @@ +--- +title: auth.CodeType +description: constructors and methods of type auth.CodeType +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.CodeType +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.codeTypeSms](../constructors/auth.codeTypeSms.md) + +[auth.codeTypeCall](../constructors/auth.codeTypeCall.md) + +[auth.codeTypeFlashCall](../constructors/auth.codeTypeFlashCall.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v70/types/auth.ExportedAuthorization.md b/old_docs/API_docs_v70/types/auth.ExportedAuthorization.md new file mode 100644 index 00000000..ccb38d60 --- /dev/null +++ b/old_docs/API_docs_v70/types/auth.ExportedAuthorization.md @@ -0,0 +1,22 @@ +--- +title: auth.ExportedAuthorization +description: constructors and methods of type auth.ExportedAuthorization +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.ExportedAuthorization +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.exportedAuthorization](../constructors/auth.exportedAuthorization.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->exportAuthorization](../methods/auth.exportAuthorization.md) + + + diff --git a/old_docs/API_docs_v70/types/auth.PasswordRecovery.md b/old_docs/API_docs_v70/types/auth.PasswordRecovery.md new file mode 100644 index 00000000..c1c18992 --- /dev/null +++ b/old_docs/API_docs_v70/types/auth.PasswordRecovery.md @@ -0,0 +1,22 @@ +--- +title: auth.PasswordRecovery +description: constructors and methods of type auth.PasswordRecovery +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.PasswordRecovery +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.passwordRecovery](../constructors/auth.passwordRecovery.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->requestPasswordRecovery](../methods/auth.requestPasswordRecovery.md) + + + diff --git a/old_docs/API_docs_v70/types/auth.SentCode.md b/old_docs/API_docs_v70/types/auth.SentCode.md new file mode 100644 index 00000000..c786d77e --- /dev/null +++ b/old_docs/API_docs_v70/types/auth.SentCode.md @@ -0,0 +1,28 @@ +--- +title: auth.SentCode +description: constructors and methods of type auth.SentCode +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.SentCode +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.sentCode](../constructors/auth.sentCode.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->sendCode](../methods/auth.sendCode.md) + +[$MadelineProto->auth->resendCode](../methods/auth.resendCode.md) + +[$MadelineProto->account->sendChangePhoneCode](../methods/account.sendChangePhoneCode.md) + +[$MadelineProto->account->sendConfirmPhoneCode](../methods/account.sendConfirmPhoneCode.md) + + + diff --git a/old_docs/API_docs_v70/types/auth.SentCodeType.md b/old_docs/API_docs_v70/types/auth.SentCodeType.md new file mode 100644 index 00000000..7c7c534e --- /dev/null +++ b/old_docs/API_docs_v70/types/auth.SentCodeType.md @@ -0,0 +1,26 @@ +--- +title: auth.SentCodeType +description: constructors and methods of type auth.SentCodeType +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.SentCodeType +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.sentCodeTypeApp](../constructors/auth.sentCodeTypeApp.md) + +[auth.sentCodeTypeSms](../constructors/auth.sentCodeTypeSms.md) + +[auth.sentCodeTypeCall](../constructors/auth.sentCodeTypeCall.md) + +[auth.sentCodeTypeFlashCall](../constructors/auth.sentCodeTypeFlashCall.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v70/types/auth_Authorization.md b/old_docs/API_docs_v70/types/auth_Authorization.md deleted file mode 100644 index 5a34fc2d..00000000 --- a/old_docs/API_docs_v70/types/auth_Authorization.md +++ /dev/null @@ -1,32 +0,0 @@ ---- -title: auth_Authorization -description: constructors and methods of type auth_Authorization -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_Authorization -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_authorization](../constructors/auth_authorization.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->signUp](../methods/auth_signUp.md) - -[$MadelineProto->auth->signIn](../methods/auth_signIn.md) - -[$MadelineProto->auth->importAuthorization](../methods/auth_importAuthorization.md) - -[$MadelineProto->auth->importBotAuthorization](../methods/auth_importBotAuthorization.md) - -[$MadelineProto->auth->checkPassword](../methods/auth_checkPassword.md) - -[$MadelineProto->auth->recoverPassword](../methods/auth_recoverPassword.md) - - - diff --git a/old_docs/API_docs_v70/types/auth_CheckedPhone.md b/old_docs/API_docs_v70/types/auth_CheckedPhone.md deleted file mode 100644 index e9b0def4..00000000 --- a/old_docs/API_docs_v70/types/auth_CheckedPhone.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: auth_CheckedPhone -description: constructors and methods of type auth_CheckedPhone -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_CheckedPhone -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_checkedPhone](../constructors/auth_checkedPhone.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->checkPhone](../methods/auth_checkPhone.md) - - - diff --git a/old_docs/API_docs_v70/types/auth_CodeType.md b/old_docs/API_docs_v70/types/auth_CodeType.md deleted file mode 100644 index 3cd9a7b7..00000000 --- a/old_docs/API_docs_v70/types/auth_CodeType.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: auth_CodeType -description: constructors and methods of type auth_CodeType -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_CodeType -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_codeTypeSms](../constructors/auth_codeTypeSms.md) - -[auth\_codeTypeCall](../constructors/auth_codeTypeCall.md) - -[auth\_codeTypeFlashCall](../constructors/auth_codeTypeFlashCall.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v70/types/auth_ExportedAuthorization.md b/old_docs/API_docs_v70/types/auth_ExportedAuthorization.md deleted file mode 100644 index 69e5c42e..00000000 --- a/old_docs/API_docs_v70/types/auth_ExportedAuthorization.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: auth_ExportedAuthorization -description: constructors and methods of type auth_ExportedAuthorization -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_ExportedAuthorization -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_exportedAuthorization](../constructors/auth_exportedAuthorization.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->exportAuthorization](../methods/auth_exportAuthorization.md) - - - diff --git a/old_docs/API_docs_v70/types/auth_PasswordRecovery.md b/old_docs/API_docs_v70/types/auth_PasswordRecovery.md deleted file mode 100644 index 4962bf42..00000000 --- a/old_docs/API_docs_v70/types/auth_PasswordRecovery.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: auth_PasswordRecovery -description: constructors and methods of type auth_PasswordRecovery -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_PasswordRecovery -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_passwordRecovery](../constructors/auth_passwordRecovery.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->requestPasswordRecovery](../methods/auth_requestPasswordRecovery.md) - - - diff --git a/old_docs/API_docs_v70/types/auth_SentCode.md b/old_docs/API_docs_v70/types/auth_SentCode.md deleted file mode 100644 index 93734713..00000000 --- a/old_docs/API_docs_v70/types/auth_SentCode.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: auth_SentCode -description: constructors and methods of type auth_SentCode -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_SentCode -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_sentCode](../constructors/auth_sentCode.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->sendCode](../methods/auth_sendCode.md) - -[$MadelineProto->auth->resendCode](../methods/auth_resendCode.md) - -[$MadelineProto->account->sendChangePhoneCode](../methods/account_sendChangePhoneCode.md) - -[$MadelineProto->account->sendConfirmPhoneCode](../methods/account_sendConfirmPhoneCode.md) - - - diff --git a/old_docs/API_docs_v70/types/auth_SentCodeType.md b/old_docs/API_docs_v70/types/auth_SentCodeType.md deleted file mode 100644 index 8dfcb93b..00000000 --- a/old_docs/API_docs_v70/types/auth_SentCodeType.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: auth_SentCodeType -description: constructors and methods of type auth_SentCodeType -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_SentCodeType -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_sentCodeTypeApp](../constructors/auth_sentCodeTypeApp.md) - -[auth\_sentCodeTypeSms](../constructors/auth_sentCodeTypeSms.md) - -[auth\_sentCodeTypeCall](../constructors/auth_sentCodeTypeCall.md) - -[auth\_sentCodeTypeFlashCall](../constructors/auth_sentCodeTypeFlashCall.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v70/types/channels.AdminLogResults.md b/old_docs/API_docs_v70/types/channels.AdminLogResults.md new file mode 100644 index 00000000..7855a4fd --- /dev/null +++ b/old_docs/API_docs_v70/types/channels.AdminLogResults.md @@ -0,0 +1,22 @@ +--- +title: channels.AdminLogResults +description: constructors and methods of type channels.AdminLogResults +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: channels.AdminLogResults +[Back to types index](index.md) + + + +### Possible values (constructors): + +[channels.adminLogResults](../constructors/channels.adminLogResults.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->channels->getAdminLog](../methods/channels.getAdminLog.md) + + + diff --git a/old_docs/API_docs_v70/types/channels.ChannelParticipant.md b/old_docs/API_docs_v70/types/channels.ChannelParticipant.md new file mode 100644 index 00000000..8dc7f7e6 --- /dev/null +++ b/old_docs/API_docs_v70/types/channels.ChannelParticipant.md @@ -0,0 +1,22 @@ +--- +title: channels.ChannelParticipant +description: constructors and methods of type channels.ChannelParticipant +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: channels.ChannelParticipant +[Back to types index](index.md) + + + +### Possible values (constructors): + +[channels.channelParticipant](../constructors/channels.channelParticipant.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->channels->getParticipant](../methods/channels.getParticipant.md) + + + diff --git a/old_docs/API_docs_v70/types/channels.ChannelParticipants.md b/old_docs/API_docs_v70/types/channels.ChannelParticipants.md new file mode 100644 index 00000000..996ab6a6 --- /dev/null +++ b/old_docs/API_docs_v70/types/channels.ChannelParticipants.md @@ -0,0 +1,22 @@ +--- +title: channels.ChannelParticipants +description: constructors and methods of type channels.ChannelParticipants +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: channels.ChannelParticipants +[Back to types index](index.md) + + + +### Possible values (constructors): + +[channels.channelParticipants](../constructors/channels.channelParticipants.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->channels->getParticipants](../methods/channels.getParticipants.md) + + + diff --git a/old_docs/API_docs_v70/types/channels_AdminLogResults.md b/old_docs/API_docs_v70/types/channels_AdminLogResults.md deleted file mode 100644 index 4e9b5544..00000000 --- a/old_docs/API_docs_v70/types/channels_AdminLogResults.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: channels_AdminLogResults -description: constructors and methods of type channels_AdminLogResults -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: channels\_AdminLogResults -[Back to types index](index.md) - - - -### Possible values (constructors): - -[channels\_adminLogResults](../constructors/channels_adminLogResults.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->channels->getAdminLog](../methods/channels_getAdminLog.md) - - - diff --git a/old_docs/API_docs_v70/types/channels_ChannelParticipant.md b/old_docs/API_docs_v70/types/channels_ChannelParticipant.md deleted file mode 100644 index 3d4667c3..00000000 --- a/old_docs/API_docs_v70/types/channels_ChannelParticipant.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: channels_ChannelParticipant -description: constructors and methods of type channels_ChannelParticipant -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: channels\_ChannelParticipant -[Back to types index](index.md) - - - -### Possible values (constructors): - -[channels\_channelParticipant](../constructors/channels_channelParticipant.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->channels->getParticipant](../methods/channels_getParticipant.md) - - - diff --git a/old_docs/API_docs_v70/types/channels_ChannelParticipants.md b/old_docs/API_docs_v70/types/channels_ChannelParticipants.md deleted file mode 100644 index 0500c2cb..00000000 --- a/old_docs/API_docs_v70/types/channels_ChannelParticipants.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: channels_ChannelParticipants -description: constructors and methods of type channels_ChannelParticipants -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: channels\_ChannelParticipants -[Back to types index](index.md) - - - -### Possible values (constructors): - -[channels\_channelParticipants](../constructors/channels_channelParticipants.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->channels->getParticipants](../methods/channels_getParticipants.md) - - - diff --git a/old_docs/API_docs_v70/types/contacts.Blocked.md b/old_docs/API_docs_v70/types/contacts.Blocked.md new file mode 100644 index 00000000..cb2af80f --- /dev/null +++ b/old_docs/API_docs_v70/types/contacts.Blocked.md @@ -0,0 +1,24 @@ +--- +title: contacts.Blocked +description: constructors and methods of type contacts.Blocked +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Blocked +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.blocked](../constructors/contacts.blocked.md) + +[contacts.blockedSlice](../constructors/contacts.blockedSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getBlocked](../methods/contacts.getBlocked.md) + + + diff --git a/old_docs/API_docs_v70/types/contacts.Contacts.md b/old_docs/API_docs_v70/types/contacts.Contacts.md new file mode 100644 index 00000000..5f695d8e --- /dev/null +++ b/old_docs/API_docs_v70/types/contacts.Contacts.md @@ -0,0 +1,24 @@ +--- +title: contacts.Contacts +description: constructors and methods of type contacts.Contacts +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Contacts +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.contactsNotModified](../constructors/contacts.contactsNotModified.md) + +[contacts.contacts](../constructors/contacts.contacts.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getContacts](../methods/contacts.getContacts.md) + + + diff --git a/old_docs/API_docs_v70/types/contacts.Found.md b/old_docs/API_docs_v70/types/contacts.Found.md new file mode 100644 index 00000000..7df98927 --- /dev/null +++ b/old_docs/API_docs_v70/types/contacts.Found.md @@ -0,0 +1,22 @@ +--- +title: contacts.Found +description: constructors and methods of type contacts.Found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Found +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.found](../constructors/contacts.found.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->search](../methods/contacts.search.md) + + + diff --git a/old_docs/API_docs_v70/types/contacts.ImportedContacts.md b/old_docs/API_docs_v70/types/contacts.ImportedContacts.md new file mode 100644 index 00000000..16795bab --- /dev/null +++ b/old_docs/API_docs_v70/types/contacts.ImportedContacts.md @@ -0,0 +1,22 @@ +--- +title: contacts.ImportedContacts +description: constructors and methods of type contacts.ImportedContacts +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.ImportedContacts +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.importedContacts](../constructors/contacts.importedContacts.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->importContacts](../methods/contacts.importContacts.md) + + + diff --git a/old_docs/API_docs_v70/types/contacts.Link.md b/old_docs/API_docs_v70/types/contacts.Link.md new file mode 100644 index 00000000..eb9da683 --- /dev/null +++ b/old_docs/API_docs_v70/types/contacts.Link.md @@ -0,0 +1,22 @@ +--- +title: contacts.Link +description: constructors and methods of type contacts.Link +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Link +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.link](../constructors/contacts.link.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->deleteContact](../methods/contacts.deleteContact.md) + + + diff --git a/old_docs/API_docs_v70/types/contacts.ResolvedPeer.md b/old_docs/API_docs_v70/types/contacts.ResolvedPeer.md new file mode 100644 index 00000000..13630d54 --- /dev/null +++ b/old_docs/API_docs_v70/types/contacts.ResolvedPeer.md @@ -0,0 +1,22 @@ +--- +title: contacts.ResolvedPeer +description: constructors and methods of type contacts.ResolvedPeer +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.ResolvedPeer +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.resolvedPeer](../constructors/contacts.resolvedPeer.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->resolveUsername](../methods/contacts.resolveUsername.md) + + + diff --git a/old_docs/API_docs_v70/types/contacts.TopPeers.md b/old_docs/API_docs_v70/types/contacts.TopPeers.md new file mode 100644 index 00000000..b8107616 --- /dev/null +++ b/old_docs/API_docs_v70/types/contacts.TopPeers.md @@ -0,0 +1,24 @@ +--- +title: contacts.TopPeers +description: constructors and methods of type contacts.TopPeers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.TopPeers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.topPeersNotModified](../constructors/contacts.topPeersNotModified.md) + +[contacts.topPeers](../constructors/contacts.topPeers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getTopPeers](../methods/contacts.getTopPeers.md) + + + diff --git a/old_docs/API_docs_v70/types/contacts_Blocked.md b/old_docs/API_docs_v70/types/contacts_Blocked.md deleted file mode 100644 index 3e1f02eb..00000000 --- a/old_docs/API_docs_v70/types/contacts_Blocked.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: contacts_Blocked -description: constructors and methods of type contacts_Blocked -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Blocked -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_blocked](../constructors/contacts_blocked.md) - -[contacts\_blockedSlice](../constructors/contacts_blockedSlice.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->getBlocked](../methods/contacts_getBlocked.md) - - - diff --git a/old_docs/API_docs_v70/types/contacts_Contacts.md b/old_docs/API_docs_v70/types/contacts_Contacts.md deleted file mode 100644 index 5d6c9506..00000000 --- a/old_docs/API_docs_v70/types/contacts_Contacts.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: contacts_Contacts -description: constructors and methods of type contacts_Contacts -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Contacts -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_contactsNotModified](../constructors/contacts_contactsNotModified.md) - -[contacts\_contacts](../constructors/contacts_contacts.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->getContacts](../methods/contacts_getContacts.md) - - - diff --git a/old_docs/API_docs_v70/types/contacts_Found.md b/old_docs/API_docs_v70/types/contacts_Found.md deleted file mode 100644 index 806101cf..00000000 --- a/old_docs/API_docs_v70/types/contacts_Found.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_Found -description: constructors and methods of type contacts_Found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Found -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_found](../constructors/contacts_found.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->search](../methods/contacts_search.md) - - - diff --git a/old_docs/API_docs_v70/types/contacts_ImportedContacts.md b/old_docs/API_docs_v70/types/contacts_ImportedContacts.md deleted file mode 100644 index faf7e615..00000000 --- a/old_docs/API_docs_v70/types/contacts_ImportedContacts.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_ImportedContacts -description: constructors and methods of type contacts_ImportedContacts -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_ImportedContacts -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_importedContacts](../constructors/contacts_importedContacts.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->importContacts](../methods/contacts_importContacts.md) - - - diff --git a/old_docs/API_docs_v70/types/contacts_Link.md b/old_docs/API_docs_v70/types/contacts_Link.md deleted file mode 100644 index 01556606..00000000 --- a/old_docs/API_docs_v70/types/contacts_Link.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_Link -description: constructors and methods of type contacts_Link -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Link -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_link](../constructors/contacts_link.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->deleteContact](../methods/contacts_deleteContact.md) - - - diff --git a/old_docs/API_docs_v70/types/contacts_ResolvedPeer.md b/old_docs/API_docs_v70/types/contacts_ResolvedPeer.md deleted file mode 100644 index cf107f7c..00000000 --- a/old_docs/API_docs_v70/types/contacts_ResolvedPeer.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_ResolvedPeer -description: constructors and methods of type contacts_ResolvedPeer -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_ResolvedPeer -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_resolvedPeer](../constructors/contacts_resolvedPeer.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->resolveUsername](../methods/contacts_resolveUsername.md) - - - diff --git a/old_docs/API_docs_v70/types/contacts_TopPeers.md b/old_docs/API_docs_v70/types/contacts_TopPeers.md deleted file mode 100644 index fe4255c7..00000000 --- a/old_docs/API_docs_v70/types/contacts_TopPeers.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: contacts_TopPeers -description: constructors and methods of type contacts_TopPeers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_TopPeers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_topPeersNotModified](../constructors/contacts_topPeersNotModified.md) - -[contacts\_topPeers](../constructors/contacts_topPeers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->getTopPeers](../methods/contacts_getTopPeers.md) - - - diff --git a/old_docs/API_docs_v70/types/help.AppUpdate.md b/old_docs/API_docs_v70/types/help.AppUpdate.md new file mode 100644 index 00000000..285ec2b7 --- /dev/null +++ b/old_docs/API_docs_v70/types/help.AppUpdate.md @@ -0,0 +1,24 @@ +--- +title: help.AppUpdate +description: constructors and methods of type help.AppUpdate +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.AppUpdate +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.appUpdate](../constructors/help.appUpdate.md) + +[help.noAppUpdate](../constructors/help.noAppUpdate.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getAppUpdate](../methods/help.getAppUpdate.md) + + + diff --git a/old_docs/API_docs_v70/types/help.ConfigSimple.md b/old_docs/API_docs_v70/types/help.ConfigSimple.md new file mode 100644 index 00000000..92d9e15f --- /dev/null +++ b/old_docs/API_docs_v70/types/help.ConfigSimple.md @@ -0,0 +1,20 @@ +--- +title: help.ConfigSimple +description: constructors and methods of type help.ConfigSimple +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.ConfigSimple +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.configSimple](../constructors/help.configSimple.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v70/types/help.InviteText.md b/old_docs/API_docs_v70/types/help.InviteText.md new file mode 100644 index 00000000..43293f46 --- /dev/null +++ b/old_docs/API_docs_v70/types/help.InviteText.md @@ -0,0 +1,22 @@ +--- +title: help.InviteText +description: constructors and methods of type help.InviteText +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.InviteText +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.inviteText](../constructors/help.inviteText.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getInviteText](../methods/help.getInviteText.md) + + + diff --git a/old_docs/API_docs_v70/types/help.Support.md b/old_docs/API_docs_v70/types/help.Support.md new file mode 100644 index 00000000..42c20483 --- /dev/null +++ b/old_docs/API_docs_v70/types/help.Support.md @@ -0,0 +1,22 @@ +--- +title: help.Support +description: constructors and methods of type help.Support +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.Support +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.support](../constructors/help.support.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getSupport](../methods/help.getSupport.md) + + + diff --git a/old_docs/API_docs_v70/types/help.TermsOfService.md b/old_docs/API_docs_v70/types/help.TermsOfService.md new file mode 100644 index 00000000..6c29d2e6 --- /dev/null +++ b/old_docs/API_docs_v70/types/help.TermsOfService.md @@ -0,0 +1,22 @@ +--- +title: help.TermsOfService +description: constructors and methods of type help.TermsOfService +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.TermsOfService +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.termsOfService](../constructors/help.termsOfService.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getTermsOfService](../methods/help.getTermsOfService.md) + + + diff --git a/old_docs/API_docs_v70/types/help_AppUpdate.md b/old_docs/API_docs_v70/types/help_AppUpdate.md deleted file mode 100644 index 1f296a70..00000000 --- a/old_docs/API_docs_v70/types/help_AppUpdate.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: help_AppUpdate -description: constructors and methods of type help_AppUpdate -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_AppUpdate -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_appUpdate](../constructors/help_appUpdate.md) - -[help\_noAppUpdate](../constructors/help_noAppUpdate.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getAppUpdate](../methods/help_getAppUpdate.md) - - - diff --git a/old_docs/API_docs_v70/types/help_ConfigSimple.md b/old_docs/API_docs_v70/types/help_ConfigSimple.md deleted file mode 100644 index 81678d74..00000000 --- a/old_docs/API_docs_v70/types/help_ConfigSimple.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: help_ConfigSimple -description: constructors and methods of type help_ConfigSimple -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_ConfigSimple -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_configSimple](../constructors/help_configSimple.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v70/types/help_InviteText.md b/old_docs/API_docs_v70/types/help_InviteText.md deleted file mode 100644 index 018d35bf..00000000 --- a/old_docs/API_docs_v70/types/help_InviteText.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: help_InviteText -description: constructors and methods of type help_InviteText -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_InviteText -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_inviteText](../constructors/help_inviteText.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getInviteText](../methods/help_getInviteText.md) - - - diff --git a/old_docs/API_docs_v70/types/help_Support.md b/old_docs/API_docs_v70/types/help_Support.md deleted file mode 100644 index 26de447b..00000000 --- a/old_docs/API_docs_v70/types/help_Support.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: help_Support -description: constructors and methods of type help_Support -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_Support -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_support](../constructors/help_support.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getSupport](../methods/help_getSupport.md) - - - diff --git a/old_docs/API_docs_v70/types/help_TermsOfService.md b/old_docs/API_docs_v70/types/help_TermsOfService.md deleted file mode 100644 index 84a05df3..00000000 --- a/old_docs/API_docs_v70/types/help_TermsOfService.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: help_TermsOfService -description: constructors and methods of type help_TermsOfService -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_TermsOfService -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_termsOfService](../constructors/help_termsOfService.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getTermsOfService](../methods/help_getTermsOfService.md) - - - diff --git a/old_docs/API_docs_v70/types/messages.AffectedHistory.md b/old_docs/API_docs_v70/types/messages.AffectedHistory.md new file mode 100644 index 00000000..f0411b4d --- /dev/null +++ b/old_docs/API_docs_v70/types/messages.AffectedHistory.md @@ -0,0 +1,24 @@ +--- +title: messages.AffectedHistory +description: constructors and methods of type messages.AffectedHistory +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.AffectedHistory +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.affectedHistory](../constructors/messages.affectedHistory.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->deleteHistory](../methods/messages.deleteHistory.md) + +[$MadelineProto->channels->deleteUserHistory](../methods/channels.deleteUserHistory.md) + + + diff --git a/old_docs/API_docs_v70/types/messages.AffectedMessages.md b/old_docs/API_docs_v70/types/messages.AffectedMessages.md new file mode 100644 index 00000000..a9159de3 --- /dev/null +++ b/old_docs/API_docs_v70/types/messages.AffectedMessages.md @@ -0,0 +1,28 @@ +--- +title: messages.AffectedMessages +description: constructors and methods of type messages.AffectedMessages +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.AffectedMessages +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.affectedMessages](../constructors/messages.affectedMessages.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->readHistory](../methods/messages.readHistory.md) + +[$MadelineProto->messages->deleteMessages](../methods/messages.deleteMessages.md) + +[$MadelineProto->messages->readMessageContents](../methods/messages.readMessageContents.md) + +[$MadelineProto->channels->deleteMessages](../methods/channels.deleteMessages.md) + + + diff --git a/old_docs/API_docs_v70/types/messages.AllStickers.md b/old_docs/API_docs_v70/types/messages.AllStickers.md new file mode 100644 index 00000000..fd8565de --- /dev/null +++ b/old_docs/API_docs_v70/types/messages.AllStickers.md @@ -0,0 +1,26 @@ +--- +title: messages.AllStickers +description: constructors and methods of type messages.AllStickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.AllStickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.allStickersNotModified](../constructors/messages.allStickersNotModified.md) + +[messages.allStickers](../constructors/messages.allStickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getAllStickers](../methods/messages.getAllStickers.md) + +[$MadelineProto->messages->getMaskStickers](../methods/messages.getMaskStickers.md) + + + diff --git a/old_docs/API_docs_v70/types/messages.ArchivedStickers.md b/old_docs/API_docs_v70/types/messages.ArchivedStickers.md new file mode 100644 index 00000000..3e017c5d --- /dev/null +++ b/old_docs/API_docs_v70/types/messages.ArchivedStickers.md @@ -0,0 +1,22 @@ +--- +title: messages.ArchivedStickers +description: constructors and methods of type messages.ArchivedStickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.ArchivedStickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.archivedStickers](../constructors/messages.archivedStickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getArchivedStickers](../methods/messages.getArchivedStickers.md) + + + diff --git a/old_docs/API_docs_v70/types/messages.BotCallbackAnswer.md b/old_docs/API_docs_v70/types/messages.BotCallbackAnswer.md new file mode 100644 index 00000000..ef30fbfb --- /dev/null +++ b/old_docs/API_docs_v70/types/messages.BotCallbackAnswer.md @@ -0,0 +1,22 @@ +--- +title: messages.BotCallbackAnswer +description: constructors and methods of type messages.BotCallbackAnswer +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.BotCallbackAnswer +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.botCallbackAnswer](../constructors/messages.botCallbackAnswer.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getBotCallbackAnswer](../methods/messages.getBotCallbackAnswer.md) + + + diff --git a/old_docs/API_docs_v70/types/messages.BotResults.md b/old_docs/API_docs_v70/types/messages.BotResults.md new file mode 100644 index 00000000..76ee2b99 --- /dev/null +++ b/old_docs/API_docs_v70/types/messages.BotResults.md @@ -0,0 +1,22 @@ +--- +title: messages.BotResults +description: constructors and methods of type messages.BotResults +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.BotResults +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.botResults](../constructors/messages.botResults.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getInlineBotResults](../methods/messages.getInlineBotResults.md) + + + diff --git a/old_docs/API_docs_v70/types/messages.ChatFull.md b/old_docs/API_docs_v70/types/messages.ChatFull.md new file mode 100644 index 00000000..3ad38748 --- /dev/null +++ b/old_docs/API_docs_v70/types/messages.ChatFull.md @@ -0,0 +1,24 @@ +--- +title: messages.ChatFull +description: constructors and methods of type messages.ChatFull +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.ChatFull +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.chatFull](../constructors/messages.chatFull.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getFullChat](../methods/messages.getFullChat.md) + +[$MadelineProto->channels->getFullChannel](../methods/channels.getFullChannel.md) + + + diff --git a/old_docs/API_docs_v70/types/messages.Chats.md b/old_docs/API_docs_v70/types/messages.Chats.md new file mode 100644 index 00000000..2c730bf4 --- /dev/null +++ b/old_docs/API_docs_v70/types/messages.Chats.md @@ -0,0 +1,32 @@ +--- +title: messages.Chats +description: constructors and methods of type messages.Chats +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Chats +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.chats](../constructors/messages.chats.md) + +[messages.chatsSlice](../constructors/messages.chatsSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getChats](../methods/messages.getChats.md) + +[$MadelineProto->messages->getCommonChats](../methods/messages.getCommonChats.md) + +[$MadelineProto->messages->getAllChats](../methods/messages.getAllChats.md) + +[$MadelineProto->channels->getChannels](../methods/channels.getChannels.md) + +[$MadelineProto->channels->getAdminedPublicChannels](../methods/channels.getAdminedPublicChannels.md) + + + diff --git a/old_docs/API_docs_v70/types/messages.DhConfig.md b/old_docs/API_docs_v70/types/messages.DhConfig.md new file mode 100644 index 00000000..77188ab7 --- /dev/null +++ b/old_docs/API_docs_v70/types/messages.DhConfig.md @@ -0,0 +1,24 @@ +--- +title: messages.DhConfig +description: constructors and methods of type messages.DhConfig +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.DhConfig +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.dhConfigNotModified](../constructors/messages.dhConfigNotModified.md) + +[messages.dhConfig](../constructors/messages.dhConfig.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getDhConfig](../methods/messages.getDhConfig.md) + + + diff --git a/old_docs/API_docs_v70/types/messages.Dialogs.md b/old_docs/API_docs_v70/types/messages.Dialogs.md new file mode 100644 index 00000000..1a57d535 --- /dev/null +++ b/old_docs/API_docs_v70/types/messages.Dialogs.md @@ -0,0 +1,24 @@ +--- +title: messages.Dialogs +description: constructors and methods of type messages.Dialogs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Dialogs +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.dialogs](../constructors/messages.dialogs.md) + +[messages.dialogsSlice](../constructors/messages.dialogsSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getDialogs](../methods/messages.getDialogs.md) + + + diff --git a/old_docs/API_docs_v70/types/messages.FeaturedStickers.md b/old_docs/API_docs_v70/types/messages.FeaturedStickers.md new file mode 100644 index 00000000..06ed87bb --- /dev/null +++ b/old_docs/API_docs_v70/types/messages.FeaturedStickers.md @@ -0,0 +1,24 @@ +--- +title: messages.FeaturedStickers +description: constructors and methods of type messages.FeaturedStickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.FeaturedStickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.featuredStickersNotModified](../constructors/messages.featuredStickersNotModified.md) + +[messages.featuredStickers](../constructors/messages.featuredStickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getFeaturedStickers](../methods/messages.getFeaturedStickers.md) + + + diff --git a/old_docs/API_docs_v70/types/messages.FoundGifs.md b/old_docs/API_docs_v70/types/messages.FoundGifs.md new file mode 100644 index 00000000..b5176a5d --- /dev/null +++ b/old_docs/API_docs_v70/types/messages.FoundGifs.md @@ -0,0 +1,22 @@ +--- +title: messages.FoundGifs +description: constructors and methods of type messages.FoundGifs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.FoundGifs +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.foundGifs](../constructors/messages.foundGifs.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->searchGifs](../methods/messages.searchGifs.md) + + + diff --git a/old_docs/API_docs_v70/types/messages.HighScores.md b/old_docs/API_docs_v70/types/messages.HighScores.md new file mode 100644 index 00000000..eae9db66 --- /dev/null +++ b/old_docs/API_docs_v70/types/messages.HighScores.md @@ -0,0 +1,24 @@ +--- +title: messages.HighScores +description: constructors and methods of type messages.HighScores +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.HighScores +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.highScores](../constructors/messages.highScores.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getGameHighScores](../methods/messages.getGameHighScores.md) + +[$MadelineProto->messages->getInlineGameHighScores](../methods/messages.getInlineGameHighScores.md) + + + diff --git a/old_docs/API_docs_v70/types/messages.MessageEditData.md b/old_docs/API_docs_v70/types/messages.MessageEditData.md new file mode 100644 index 00000000..feb572f1 --- /dev/null +++ b/old_docs/API_docs_v70/types/messages.MessageEditData.md @@ -0,0 +1,22 @@ +--- +title: messages.MessageEditData +description: constructors and methods of type messages.MessageEditData +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.MessageEditData +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.messageEditData](../constructors/messages.messageEditData.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getMessageEditData](../methods/messages.getMessageEditData.md) + + + diff --git a/old_docs/API_docs_v70/types/messages.Messages.md b/old_docs/API_docs_v70/types/messages.Messages.md new file mode 100644 index 00000000..9e86abbe --- /dev/null +++ b/old_docs/API_docs_v70/types/messages.Messages.md @@ -0,0 +1,34 @@ +--- +title: messages.Messages +description: constructors and methods of type messages.Messages +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Messages +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.messages](../constructors/messages.messages.md) + +[messages.messagesSlice](../constructors/messages.messagesSlice.md) + +[messages.channelMessages](../constructors/messages.channelMessages.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getMessages](../methods/messages.getMessages.md) + +[$MadelineProto->messages->getHistory](../methods/messages.getHistory.md) + +[$MadelineProto->messages->search](../methods/messages.search.md) + +[$MadelineProto->messages->searchGlobal](../methods/messages.searchGlobal.md) + +[$MadelineProto->channels->getMessages](../methods/channels.getMessages.md) + + + diff --git a/old_docs/API_docs_v70/types/messages.PeerDialogs.md b/old_docs/API_docs_v70/types/messages.PeerDialogs.md new file mode 100644 index 00000000..9a1ceaf0 --- /dev/null +++ b/old_docs/API_docs_v70/types/messages.PeerDialogs.md @@ -0,0 +1,24 @@ +--- +title: messages.PeerDialogs +description: constructors and methods of type messages.PeerDialogs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.PeerDialogs +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.peerDialogs](../constructors/messages.peerDialogs.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getPeerDialogs](../methods/messages.getPeerDialogs.md) + +[$MadelineProto->messages->getPinnedDialogs](../methods/messages.getPinnedDialogs.md) + + + diff --git a/old_docs/API_docs_v70/types/messages.RecentStickers.md b/old_docs/API_docs_v70/types/messages.RecentStickers.md new file mode 100644 index 00000000..e5c49b92 --- /dev/null +++ b/old_docs/API_docs_v70/types/messages.RecentStickers.md @@ -0,0 +1,24 @@ +--- +title: messages.RecentStickers +description: constructors and methods of type messages.RecentStickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.RecentStickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.recentStickersNotModified](../constructors/messages.recentStickersNotModified.md) + +[messages.recentStickers](../constructors/messages.recentStickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getRecentStickers](../methods/messages.getRecentStickers.md) + + + diff --git a/old_docs/API_docs_v70/types/messages.SavedGifs.md b/old_docs/API_docs_v70/types/messages.SavedGifs.md new file mode 100644 index 00000000..99844c98 --- /dev/null +++ b/old_docs/API_docs_v70/types/messages.SavedGifs.md @@ -0,0 +1,24 @@ +--- +title: messages.SavedGifs +description: constructors and methods of type messages.SavedGifs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.SavedGifs +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.savedGifsNotModified](../constructors/messages.savedGifsNotModified.md) + +[messages.savedGifs](../constructors/messages.savedGifs.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getSavedGifs](../methods/messages.getSavedGifs.md) + + + diff --git a/old_docs/API_docs_v70/types/messages.SentEncryptedMessage.md b/old_docs/API_docs_v70/types/messages.SentEncryptedMessage.md new file mode 100644 index 00000000..b6d05b1f --- /dev/null +++ b/old_docs/API_docs_v70/types/messages.SentEncryptedMessage.md @@ -0,0 +1,28 @@ +--- +title: messages.SentEncryptedMessage +description: constructors and methods of type messages.SentEncryptedMessage +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.SentEncryptedMessage +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.sentEncryptedMessage](../constructors/messages.sentEncryptedMessage.md) + +[messages.sentEncryptedFile](../constructors/messages.sentEncryptedFile.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->sendEncrypted](../methods/messages.sendEncrypted.md) + +[$MadelineProto->messages->sendEncryptedFile](../methods/messages.sendEncryptedFile.md) + +[$MadelineProto->messages->sendEncryptedService](../methods/messages.sendEncryptedService.md) + + + diff --git a/old_docs/API_docs_v70/types/messages.StickerSet.md b/old_docs/API_docs_v70/types/messages.StickerSet.md new file mode 100644 index 00000000..e173fe45 --- /dev/null +++ b/old_docs/API_docs_v70/types/messages.StickerSet.md @@ -0,0 +1,30 @@ +--- +title: messages.StickerSet +description: constructors and methods of type messages.StickerSet +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.StickerSet +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.stickerSet](../constructors/messages.stickerSet.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getStickerSet](../methods/messages.getStickerSet.md) + +[$MadelineProto->stickers->createStickerSet](../methods/stickers.createStickerSet.md) + +[$MadelineProto->stickers->removeStickerFromSet](../methods/stickers.removeStickerFromSet.md) + +[$MadelineProto->stickers->changeStickerPosition](../methods/stickers.changeStickerPosition.md) + +[$MadelineProto->stickers->addStickerToSet](../methods/stickers.addStickerToSet.md) + + + diff --git a/old_docs/API_docs_v70/types/messages.StickerSetInstallResult.md b/old_docs/API_docs_v70/types/messages.StickerSetInstallResult.md new file mode 100644 index 00000000..9e09c293 --- /dev/null +++ b/old_docs/API_docs_v70/types/messages.StickerSetInstallResult.md @@ -0,0 +1,24 @@ +--- +title: messages.StickerSetInstallResult +description: constructors and methods of type messages.StickerSetInstallResult +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.StickerSetInstallResult +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.stickerSetInstallResultSuccess](../constructors/messages.stickerSetInstallResultSuccess.md) + +[messages.stickerSetInstallResultArchive](../constructors/messages.stickerSetInstallResultArchive.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->installStickerSet](../methods/messages.installStickerSet.md) + + + diff --git a/old_docs/API_docs_v70/types/messages.Stickers.md b/old_docs/API_docs_v70/types/messages.Stickers.md new file mode 100644 index 00000000..0da398ca --- /dev/null +++ b/old_docs/API_docs_v70/types/messages.Stickers.md @@ -0,0 +1,22 @@ +--- +title: messages.Stickers +description: constructors and methods of type messages.Stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Stickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.stickersNotModified](../constructors/messages.stickersNotModified.md) + +[messages.stickers](../constructors/messages.stickers.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v70/types/messages_AffectedHistory.md b/old_docs/API_docs_v70/types/messages_AffectedHistory.md deleted file mode 100644 index a2d75894..00000000 --- a/old_docs/API_docs_v70/types/messages_AffectedHistory.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_AffectedHistory -description: constructors and methods of type messages_AffectedHistory -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_AffectedHistory -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_affectedHistory](../constructors/messages_affectedHistory.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->deleteHistory](../methods/messages_deleteHistory.md) - -[$MadelineProto->channels->deleteUserHistory](../methods/channels_deleteUserHistory.md) - - - diff --git a/old_docs/API_docs_v70/types/messages_AffectedMessages.md b/old_docs/API_docs_v70/types/messages_AffectedMessages.md deleted file mode 100644 index dcbea721..00000000 --- a/old_docs/API_docs_v70/types/messages_AffectedMessages.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: messages_AffectedMessages -description: constructors and methods of type messages_AffectedMessages -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_AffectedMessages -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_affectedMessages](../constructors/messages_affectedMessages.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->readHistory](../methods/messages_readHistory.md) - -[$MadelineProto->messages->deleteMessages](../methods/messages_deleteMessages.md) - -[$MadelineProto->messages->readMessageContents](../methods/messages_readMessageContents.md) - -[$MadelineProto->channels->deleteMessages](../methods/channels_deleteMessages.md) - - - diff --git a/old_docs/API_docs_v70/types/messages_AllStickers.md b/old_docs/API_docs_v70/types/messages_AllStickers.md deleted file mode 100644 index b6a322e0..00000000 --- a/old_docs/API_docs_v70/types/messages_AllStickers.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: messages_AllStickers -description: constructors and methods of type messages_AllStickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_AllStickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_allStickersNotModified](../constructors/messages_allStickersNotModified.md) - -[messages\_allStickers](../constructors/messages_allStickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getAllStickers](../methods/messages_getAllStickers.md) - -[$MadelineProto->messages->getMaskStickers](../methods/messages_getMaskStickers.md) - - - diff --git a/old_docs/API_docs_v70/types/messages_ArchivedStickers.md b/old_docs/API_docs_v70/types/messages_ArchivedStickers.md deleted file mode 100644 index c569675e..00000000 --- a/old_docs/API_docs_v70/types/messages_ArchivedStickers.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_ArchivedStickers -description: constructors and methods of type messages_ArchivedStickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_ArchivedStickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_archivedStickers](../constructors/messages_archivedStickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getArchivedStickers](../methods/messages_getArchivedStickers.md) - - - diff --git a/old_docs/API_docs_v70/types/messages_BotCallbackAnswer.md b/old_docs/API_docs_v70/types/messages_BotCallbackAnswer.md deleted file mode 100644 index f8d424d0..00000000 --- a/old_docs/API_docs_v70/types/messages_BotCallbackAnswer.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_BotCallbackAnswer -description: constructors and methods of type messages_BotCallbackAnswer -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_BotCallbackAnswer -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_botCallbackAnswer](../constructors/messages_botCallbackAnswer.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getBotCallbackAnswer](../methods/messages_getBotCallbackAnswer.md) - - - diff --git a/old_docs/API_docs_v70/types/messages_BotResults.md b/old_docs/API_docs_v70/types/messages_BotResults.md deleted file mode 100644 index c346c5bd..00000000 --- a/old_docs/API_docs_v70/types/messages_BotResults.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_BotResults -description: constructors and methods of type messages_BotResults -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_BotResults -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_botResults](../constructors/messages_botResults.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getInlineBotResults](../methods/messages_getInlineBotResults.md) - - - diff --git a/old_docs/API_docs_v70/types/messages_ChatFull.md b/old_docs/API_docs_v70/types/messages_ChatFull.md deleted file mode 100644 index e4add41e..00000000 --- a/old_docs/API_docs_v70/types/messages_ChatFull.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_ChatFull -description: constructors and methods of type messages_ChatFull -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_ChatFull -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_chatFull](../constructors/messages_chatFull.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getFullChat](../methods/messages_getFullChat.md) - -[$MadelineProto->channels->getFullChannel](../methods/channels_getFullChannel.md) - - - diff --git a/old_docs/API_docs_v70/types/messages_Chats.md b/old_docs/API_docs_v70/types/messages_Chats.md deleted file mode 100644 index e49a9718..00000000 --- a/old_docs/API_docs_v70/types/messages_Chats.md +++ /dev/null @@ -1,32 +0,0 @@ ---- -title: messages_Chats -description: constructors and methods of type messages_Chats -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Chats -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_chats](../constructors/messages_chats.md) - -[messages\_chatsSlice](../constructors/messages_chatsSlice.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getChats](../methods/messages_getChats.md) - -[$MadelineProto->messages->getCommonChats](../methods/messages_getCommonChats.md) - -[$MadelineProto->messages->getAllChats](../methods/messages_getAllChats.md) - -[$MadelineProto->channels->getChannels](../methods/channels_getChannels.md) - -[$MadelineProto->channels->getAdminedPublicChannels](../methods/channels_getAdminedPublicChannels.md) - - - diff --git a/old_docs/API_docs_v70/types/messages_DhConfig.md b/old_docs/API_docs_v70/types/messages_DhConfig.md deleted file mode 100644 index ce237411..00000000 --- a/old_docs/API_docs_v70/types/messages_DhConfig.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_DhConfig -description: constructors and methods of type messages_DhConfig -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_DhConfig -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_dhConfigNotModified](../constructors/messages_dhConfigNotModified.md) - -[messages\_dhConfig](../constructors/messages_dhConfig.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getDhConfig](../methods/messages_getDhConfig.md) - - - diff --git a/old_docs/API_docs_v70/types/messages_Dialogs.md b/old_docs/API_docs_v70/types/messages_Dialogs.md deleted file mode 100644 index 733a42c5..00000000 --- a/old_docs/API_docs_v70/types/messages_Dialogs.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_Dialogs -description: constructors and methods of type messages_Dialogs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Dialogs -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_dialogs](../constructors/messages_dialogs.md) - -[messages\_dialogsSlice](../constructors/messages_dialogsSlice.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getDialogs](../methods/messages_getDialogs.md) - - - diff --git a/old_docs/API_docs_v70/types/messages_FeaturedStickers.md b/old_docs/API_docs_v70/types/messages_FeaturedStickers.md deleted file mode 100644 index 9b4c5002..00000000 --- a/old_docs/API_docs_v70/types/messages_FeaturedStickers.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_FeaturedStickers -description: constructors and methods of type messages_FeaturedStickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_FeaturedStickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_featuredStickersNotModified](../constructors/messages_featuredStickersNotModified.md) - -[messages\_featuredStickers](../constructors/messages_featuredStickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getFeaturedStickers](../methods/messages_getFeaturedStickers.md) - - - diff --git a/old_docs/API_docs_v70/types/messages_FoundGifs.md b/old_docs/API_docs_v70/types/messages_FoundGifs.md deleted file mode 100644 index 9dd088ba..00000000 --- a/old_docs/API_docs_v70/types/messages_FoundGifs.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_FoundGifs -description: constructors and methods of type messages_FoundGifs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_FoundGifs -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_foundGifs](../constructors/messages_foundGifs.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->searchGifs](../methods/messages_searchGifs.md) - - - diff --git a/old_docs/API_docs_v70/types/messages_HighScores.md b/old_docs/API_docs_v70/types/messages_HighScores.md deleted file mode 100644 index 9660e255..00000000 --- a/old_docs/API_docs_v70/types/messages_HighScores.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_HighScores -description: constructors and methods of type messages_HighScores -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_HighScores -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_highScores](../constructors/messages_highScores.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getGameHighScores](../methods/messages_getGameHighScores.md) - -[$MadelineProto->messages->getInlineGameHighScores](../methods/messages_getInlineGameHighScores.md) - - - diff --git a/old_docs/API_docs_v70/types/messages_MessageEditData.md b/old_docs/API_docs_v70/types/messages_MessageEditData.md deleted file mode 100644 index ed3c507a..00000000 --- a/old_docs/API_docs_v70/types/messages_MessageEditData.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_MessageEditData -description: constructors and methods of type messages_MessageEditData -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_MessageEditData -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_messageEditData](../constructors/messages_messageEditData.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getMessageEditData](../methods/messages_getMessageEditData.md) - - - diff --git a/old_docs/API_docs_v70/types/messages_Messages.md b/old_docs/API_docs_v70/types/messages_Messages.md deleted file mode 100644 index 4ce14f1d..00000000 --- a/old_docs/API_docs_v70/types/messages_Messages.md +++ /dev/null @@ -1,34 +0,0 @@ ---- -title: messages_Messages -description: constructors and methods of type messages_Messages -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Messages -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_messages](../constructors/messages_messages.md) - -[messages\_messagesSlice](../constructors/messages_messagesSlice.md) - -[messages\_channelMessages](../constructors/messages_channelMessages.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getMessages](../methods/messages_getMessages.md) - -[$MadelineProto->messages->getHistory](../methods/messages_getHistory.md) - -[$MadelineProto->messages->search](../methods/messages_search.md) - -[$MadelineProto->messages->searchGlobal](../methods/messages_searchGlobal.md) - -[$MadelineProto->channels->getMessages](../methods/channels_getMessages.md) - - - diff --git a/old_docs/API_docs_v70/types/messages_PeerDialogs.md b/old_docs/API_docs_v70/types/messages_PeerDialogs.md deleted file mode 100644 index 2477931f..00000000 --- a/old_docs/API_docs_v70/types/messages_PeerDialogs.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_PeerDialogs -description: constructors and methods of type messages_PeerDialogs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_PeerDialogs -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_peerDialogs](../constructors/messages_peerDialogs.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getPeerDialogs](../methods/messages_getPeerDialogs.md) - -[$MadelineProto->messages->getPinnedDialogs](../methods/messages_getPinnedDialogs.md) - - - diff --git a/old_docs/API_docs_v70/types/messages_RecentStickers.md b/old_docs/API_docs_v70/types/messages_RecentStickers.md deleted file mode 100644 index 2c9db779..00000000 --- a/old_docs/API_docs_v70/types/messages_RecentStickers.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_RecentStickers -description: constructors and methods of type messages_RecentStickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_RecentStickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_recentStickersNotModified](../constructors/messages_recentStickersNotModified.md) - -[messages\_recentStickers](../constructors/messages_recentStickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getRecentStickers](../methods/messages_getRecentStickers.md) - - - diff --git a/old_docs/API_docs_v70/types/messages_SavedGifs.md b/old_docs/API_docs_v70/types/messages_SavedGifs.md deleted file mode 100644 index ffb000aa..00000000 --- a/old_docs/API_docs_v70/types/messages_SavedGifs.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_SavedGifs -description: constructors and methods of type messages_SavedGifs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_SavedGifs -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_savedGifsNotModified](../constructors/messages_savedGifsNotModified.md) - -[messages\_savedGifs](../constructors/messages_savedGifs.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getSavedGifs](../methods/messages_getSavedGifs.md) - - - diff --git a/old_docs/API_docs_v70/types/messages_SentEncryptedMessage.md b/old_docs/API_docs_v70/types/messages_SentEncryptedMessage.md deleted file mode 100644 index 9f7ab935..00000000 --- a/old_docs/API_docs_v70/types/messages_SentEncryptedMessage.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: messages_SentEncryptedMessage -description: constructors and methods of type messages_SentEncryptedMessage -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_SentEncryptedMessage -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_sentEncryptedMessage](../constructors/messages_sentEncryptedMessage.md) - -[messages\_sentEncryptedFile](../constructors/messages_sentEncryptedFile.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->sendEncrypted](../methods/messages_sendEncrypted.md) - -[$MadelineProto->messages->sendEncryptedFile](../methods/messages_sendEncryptedFile.md) - -[$MadelineProto->messages->sendEncryptedService](../methods/messages_sendEncryptedService.md) - - - diff --git a/old_docs/API_docs_v70/types/messages_StickerSet.md b/old_docs/API_docs_v70/types/messages_StickerSet.md deleted file mode 100644 index 98e34dd2..00000000 --- a/old_docs/API_docs_v70/types/messages_StickerSet.md +++ /dev/null @@ -1,30 +0,0 @@ ---- -title: messages_StickerSet -description: constructors and methods of type messages_StickerSet -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_StickerSet -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_stickerSet](../constructors/messages_stickerSet.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getStickerSet](../methods/messages_getStickerSet.md) - -[$MadelineProto->stickers->createStickerSet](../methods/stickers_createStickerSet.md) - -[$MadelineProto->stickers->removeStickerFromSet](../methods/stickers_removeStickerFromSet.md) - -[$MadelineProto->stickers->changeStickerPosition](../methods/stickers_changeStickerPosition.md) - -[$MadelineProto->stickers->addStickerToSet](../methods/stickers_addStickerToSet.md) - - - diff --git a/old_docs/API_docs_v70/types/messages_StickerSetInstallResult.md b/old_docs/API_docs_v70/types/messages_StickerSetInstallResult.md deleted file mode 100644 index bb62ec11..00000000 --- a/old_docs/API_docs_v70/types/messages_StickerSetInstallResult.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_StickerSetInstallResult -description: constructors and methods of type messages_StickerSetInstallResult -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_StickerSetInstallResult -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_stickerSetInstallResultSuccess](../constructors/messages_stickerSetInstallResultSuccess.md) - -[messages\_stickerSetInstallResultArchive](../constructors/messages_stickerSetInstallResultArchive.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->installStickerSet](../methods/messages_installStickerSet.md) - - - diff --git a/old_docs/API_docs_v70/types/messages_Stickers.md b/old_docs/API_docs_v70/types/messages_Stickers.md deleted file mode 100644 index c0fa45cc..00000000 --- a/old_docs/API_docs_v70/types/messages_Stickers.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_Stickers -description: constructors and methods of type messages_Stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Stickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_stickersNotModified](../constructors/messages_stickersNotModified.md) - -[messages\_stickers](../constructors/messages_stickers.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v70/types/payments.PaymentForm.md b/old_docs/API_docs_v70/types/payments.PaymentForm.md new file mode 100644 index 00000000..985c1957 --- /dev/null +++ b/old_docs/API_docs_v70/types/payments.PaymentForm.md @@ -0,0 +1,22 @@ +--- +title: payments.PaymentForm +description: constructors and methods of type payments.PaymentForm +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: payments.PaymentForm +[Back to types index](index.md) + + + +### Possible values (constructors): + +[payments.paymentForm](../constructors/payments.paymentForm.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->payments->getPaymentForm](../methods/payments.getPaymentForm.md) + + + diff --git a/old_docs/API_docs_v70/types/payments.PaymentReceipt.md b/old_docs/API_docs_v70/types/payments.PaymentReceipt.md new file mode 100644 index 00000000..45cebd47 --- /dev/null +++ b/old_docs/API_docs_v70/types/payments.PaymentReceipt.md @@ -0,0 +1,22 @@ +--- +title: payments.PaymentReceipt +description: constructors and methods of type payments.PaymentReceipt +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: payments.PaymentReceipt +[Back to types index](index.md) + + + +### Possible values (constructors): + +[payments.paymentReceipt](../constructors/payments.paymentReceipt.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->payments->getPaymentReceipt](../methods/payments.getPaymentReceipt.md) + + + diff --git a/old_docs/API_docs_v70/types/payments.PaymentResult.md b/old_docs/API_docs_v70/types/payments.PaymentResult.md new file mode 100644 index 00000000..9bbff9af --- /dev/null +++ b/old_docs/API_docs_v70/types/payments.PaymentResult.md @@ -0,0 +1,24 @@ +--- +title: payments.PaymentResult +description: constructors and methods of type payments.PaymentResult +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: payments.PaymentResult +[Back to types index](index.md) + + + +### Possible values (constructors): + +[payments.paymentResult](../constructors/payments.paymentResult.md) + +[payments.paymentVerficationNeeded](../constructors/payments.paymentVerficationNeeded.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->payments->sendPaymentForm](../methods/payments.sendPaymentForm.md) + + + diff --git a/old_docs/API_docs_v70/types/payments.SavedInfo.md b/old_docs/API_docs_v70/types/payments.SavedInfo.md new file mode 100644 index 00000000..cf7be16c --- /dev/null +++ b/old_docs/API_docs_v70/types/payments.SavedInfo.md @@ -0,0 +1,22 @@ +--- +title: payments.SavedInfo +description: constructors and methods of type payments.SavedInfo +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: payments.SavedInfo +[Back to types index](index.md) + + + +### Possible values (constructors): + +[payments.savedInfo](../constructors/payments.savedInfo.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->payments->getSavedInfo](../methods/payments.getSavedInfo.md) + + + diff --git a/old_docs/API_docs_v70/types/payments.ValidatedRequestedInfo.md b/old_docs/API_docs_v70/types/payments.ValidatedRequestedInfo.md new file mode 100644 index 00000000..653a5064 --- /dev/null +++ b/old_docs/API_docs_v70/types/payments.ValidatedRequestedInfo.md @@ -0,0 +1,22 @@ +--- +title: payments.ValidatedRequestedInfo +description: constructors and methods of type payments.ValidatedRequestedInfo +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: payments.ValidatedRequestedInfo +[Back to types index](index.md) + + + +### Possible values (constructors): + +[payments.validatedRequestedInfo](../constructors/payments.validatedRequestedInfo.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->payments->validateRequestedInfo](../methods/payments.validateRequestedInfo.md) + + + diff --git a/old_docs/API_docs_v70/types/payments_PaymentForm.md b/old_docs/API_docs_v70/types/payments_PaymentForm.md deleted file mode 100644 index 4662586d..00000000 --- a/old_docs/API_docs_v70/types/payments_PaymentForm.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: payments_PaymentForm -description: constructors and methods of type payments_PaymentForm -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: payments\_PaymentForm -[Back to types index](index.md) - - - -### Possible values (constructors): - -[payments\_paymentForm](../constructors/payments_paymentForm.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->payments->getPaymentForm](../methods/payments_getPaymentForm.md) - - - diff --git a/old_docs/API_docs_v70/types/payments_PaymentReceipt.md b/old_docs/API_docs_v70/types/payments_PaymentReceipt.md deleted file mode 100644 index b4770d2a..00000000 --- a/old_docs/API_docs_v70/types/payments_PaymentReceipt.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: payments_PaymentReceipt -description: constructors and methods of type payments_PaymentReceipt -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: payments\_PaymentReceipt -[Back to types index](index.md) - - - -### Possible values (constructors): - -[payments\_paymentReceipt](../constructors/payments_paymentReceipt.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->payments->getPaymentReceipt](../methods/payments_getPaymentReceipt.md) - - - diff --git a/old_docs/API_docs_v70/types/payments_PaymentResult.md b/old_docs/API_docs_v70/types/payments_PaymentResult.md deleted file mode 100644 index 3c0ad411..00000000 --- a/old_docs/API_docs_v70/types/payments_PaymentResult.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: payments_PaymentResult -description: constructors and methods of type payments_PaymentResult -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: payments\_PaymentResult -[Back to types index](index.md) - - - -### Possible values (constructors): - -[payments\_paymentResult](../constructors/payments_paymentResult.md) - -[payments\_paymentVerficationNeeded](../constructors/payments_paymentVerficationNeeded.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->payments->sendPaymentForm](../methods/payments_sendPaymentForm.md) - - - diff --git a/old_docs/API_docs_v70/types/payments_SavedInfo.md b/old_docs/API_docs_v70/types/payments_SavedInfo.md deleted file mode 100644 index c8f7b9e3..00000000 --- a/old_docs/API_docs_v70/types/payments_SavedInfo.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: payments_SavedInfo -description: constructors and methods of type payments_SavedInfo -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: payments\_SavedInfo -[Back to types index](index.md) - - - -### Possible values (constructors): - -[payments\_savedInfo](../constructors/payments_savedInfo.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->payments->getSavedInfo](../methods/payments_getSavedInfo.md) - - - diff --git a/old_docs/API_docs_v70/types/payments_ValidatedRequestedInfo.md b/old_docs/API_docs_v70/types/payments_ValidatedRequestedInfo.md deleted file mode 100644 index ff6c4e39..00000000 --- a/old_docs/API_docs_v70/types/payments_ValidatedRequestedInfo.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: payments_ValidatedRequestedInfo -description: constructors and methods of type payments_ValidatedRequestedInfo -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: payments\_ValidatedRequestedInfo -[Back to types index](index.md) - - - -### Possible values (constructors): - -[payments\_validatedRequestedInfo](../constructors/payments_validatedRequestedInfo.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->payments->validateRequestedInfo](../methods/payments_validateRequestedInfo.md) - - - diff --git a/old_docs/API_docs_v70/types/phone.PhoneCall.md b/old_docs/API_docs_v70/types/phone.PhoneCall.md new file mode 100644 index 00000000..db0708e9 --- /dev/null +++ b/old_docs/API_docs_v70/types/phone.PhoneCall.md @@ -0,0 +1,26 @@ +--- +title: phone.PhoneCall +description: constructors and methods of type phone.PhoneCall +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: phone.PhoneCall +[Back to types index](index.md) + + + +### Possible values (constructors): + +[phone.phoneCall](../constructors/phone.phoneCall.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->phone->requestCall](../methods/phone.requestCall.md) + +[$MadelineProto->phone->acceptCall](../methods/phone.acceptCall.md) + +[$MadelineProto->phone->confirmCall](../methods/phone.confirmCall.md) + + + diff --git a/old_docs/API_docs_v70/types/phone_PhoneCall.md b/old_docs/API_docs_v70/types/phone_PhoneCall.md deleted file mode 100644 index 0a49d482..00000000 --- a/old_docs/API_docs_v70/types/phone_PhoneCall.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: phone_PhoneCall -description: constructors and methods of type phone_PhoneCall -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: phone\_PhoneCall -[Back to types index](index.md) - - - -### Possible values (constructors): - -[phone\_phoneCall](../constructors/phone_phoneCall.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->phone->requestCall](../methods/phone_requestCall.md) - -[$MadelineProto->phone->acceptCall](../methods/phone_acceptCall.md) - -[$MadelineProto->phone->confirmCall](../methods/phone_confirmCall.md) - - - diff --git a/old_docs/API_docs_v70/types/photos.Photo.md b/old_docs/API_docs_v70/types/photos.Photo.md new file mode 100644 index 00000000..d60f203c --- /dev/null +++ b/old_docs/API_docs_v70/types/photos.Photo.md @@ -0,0 +1,22 @@ +--- +title: photos.Photo +description: constructors and methods of type photos.Photo +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: photos.Photo +[Back to types index](index.md) + + + +### Possible values (constructors): + +[photos.photo](../constructors/photos.photo.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->photos->uploadProfilePhoto](../methods/photos.uploadProfilePhoto.md) + + + diff --git a/old_docs/API_docs_v70/types/photos.Photos.md b/old_docs/API_docs_v70/types/photos.Photos.md new file mode 100644 index 00000000..fff0e296 --- /dev/null +++ b/old_docs/API_docs_v70/types/photos.Photos.md @@ -0,0 +1,24 @@ +--- +title: photos.Photos +description: constructors and methods of type photos.Photos +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: photos.Photos +[Back to types index](index.md) + + + +### Possible values (constructors): + +[photos.photos](../constructors/photos.photos.md) + +[photos.photosSlice](../constructors/photos.photosSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->photos->getUserPhotos](../methods/photos.getUserPhotos.md) + + + diff --git a/old_docs/API_docs_v70/types/photos_Photo.md b/old_docs/API_docs_v70/types/photos_Photo.md deleted file mode 100644 index d11bbdef..00000000 --- a/old_docs/API_docs_v70/types/photos_Photo.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: photos_Photo -description: constructors and methods of type photos_Photo -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: photos\_Photo -[Back to types index](index.md) - - - -### Possible values (constructors): - -[photos\_photo](../constructors/photos_photo.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->photos->uploadProfilePhoto](../methods/photos_uploadProfilePhoto.md) - - - diff --git a/old_docs/API_docs_v70/types/photos_Photos.md b/old_docs/API_docs_v70/types/photos_Photos.md deleted file mode 100644 index 9875ad70..00000000 --- a/old_docs/API_docs_v70/types/photos_Photos.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: photos_Photos -description: constructors and methods of type photos_Photos -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: photos\_Photos -[Back to types index](index.md) - - - -### Possible values (constructors): - -[photos\_photos](../constructors/photos_photos.md) - -[photos\_photosSlice](../constructors/photos_photosSlice.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->photos->getUserPhotos](../methods/photos_getUserPhotos.md) - - - diff --git a/old_docs/API_docs_v70/types/storage.FileType.md b/old_docs/API_docs_v70/types/storage.FileType.md new file mode 100644 index 00000000..32f1bb72 --- /dev/null +++ b/old_docs/API_docs_v70/types/storage.FileType.md @@ -0,0 +1,38 @@ +--- +title: storage.FileType +description: constructors and methods of type storage.FileType +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: storage.FileType +[Back to types index](index.md) + + + +### Possible values (constructors): + +[storage.fileUnknown](../constructors/storage.fileUnknown.md) + +[storage.filePartial](../constructors/storage.filePartial.md) + +[storage.fileJpeg](../constructors/storage.fileJpeg.md) + +[storage.fileGif](../constructors/storage.fileGif.md) + +[storage.filePng](../constructors/storage.filePng.md) + +[storage.filePdf](../constructors/storage.filePdf.md) + +[storage.fileMp3](../constructors/storage.fileMp3.md) + +[storage.fileMov](../constructors/storage.fileMov.md) + +[storage.fileMp4](../constructors/storage.fileMp4.md) + +[storage.fileWebp](../constructors/storage.fileWebp.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v70/types/storage_FileType.md b/old_docs/API_docs_v70/types/storage_FileType.md deleted file mode 100644 index 22118805..00000000 --- a/old_docs/API_docs_v70/types/storage_FileType.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: storage_FileType -description: constructors and methods of type storage_FileType -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: storage\_FileType -[Back to types index](index.md) - - - -### Possible values (constructors): - -[storage\_fileUnknown](../constructors/storage_fileUnknown.md) - -[storage\_filePartial](../constructors/storage_filePartial.md) - -[storage\_fileJpeg](../constructors/storage_fileJpeg.md) - -[storage\_fileGif](../constructors/storage_fileGif.md) - -[storage\_filePng](../constructors/storage_filePng.md) - -[storage\_filePdf](../constructors/storage_filePdf.md) - -[storage\_fileMp3](../constructors/storage_fileMp3.md) - -[storage\_fileMov](../constructors/storage_fileMov.md) - -[storage\_fileMp4](../constructors/storage_fileMp4.md) - -[storage\_fileWebp](../constructors/storage_fileWebp.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v70/types/updates.ChannelDifference.md b/old_docs/API_docs_v70/types/updates.ChannelDifference.md new file mode 100644 index 00000000..ac889a1e --- /dev/null +++ b/old_docs/API_docs_v70/types/updates.ChannelDifference.md @@ -0,0 +1,26 @@ +--- +title: updates.ChannelDifference +description: constructors and methods of type updates.ChannelDifference +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: updates.ChannelDifference +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updates.channelDifferenceEmpty](../constructors/updates.channelDifferenceEmpty.md) + +[updates.channelDifferenceTooLong](../constructors/updates.channelDifferenceTooLong.md) + +[updates.channelDifference](../constructors/updates.channelDifference.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->updates->getChannelDifference](../methods/updates.getChannelDifference.md) + + + diff --git a/old_docs/API_docs_v70/types/updates.Difference.md b/old_docs/API_docs_v70/types/updates.Difference.md new file mode 100644 index 00000000..0c1a1b6e --- /dev/null +++ b/old_docs/API_docs_v70/types/updates.Difference.md @@ -0,0 +1,28 @@ +--- +title: updates.Difference +description: constructors and methods of type updates.Difference +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: updates.Difference +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updates.differenceEmpty](../constructors/updates.differenceEmpty.md) + +[updates.difference](../constructors/updates.difference.md) + +[updates.differenceSlice](../constructors/updates.differenceSlice.md) + +[updates.differenceTooLong](../constructors/updates.differenceTooLong.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->updates->getDifference](../methods/updates.getDifference.md) + + + diff --git a/old_docs/API_docs_v70/types/updates.State.md b/old_docs/API_docs_v70/types/updates.State.md new file mode 100644 index 00000000..49bbb7fd --- /dev/null +++ b/old_docs/API_docs_v70/types/updates.State.md @@ -0,0 +1,22 @@ +--- +title: updates.State +description: constructors and methods of type updates.State +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: updates.State +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updates.state](../constructors/updates.state.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->updates->getState](../methods/updates.getState.md) + + + diff --git a/old_docs/API_docs_v70/types/updates_ChannelDifference.md b/old_docs/API_docs_v70/types/updates_ChannelDifference.md deleted file mode 100644 index dc988692..00000000 --- a/old_docs/API_docs_v70/types/updates_ChannelDifference.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: updates_ChannelDifference -description: constructors and methods of type updates_ChannelDifference -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: updates\_ChannelDifference -[Back to types index](index.md) - - - -### Possible values (constructors): - -[updates\_channelDifferenceEmpty](../constructors/updates_channelDifferenceEmpty.md) - -[updates\_channelDifferenceTooLong](../constructors/updates_channelDifferenceTooLong.md) - -[updates\_channelDifference](../constructors/updates_channelDifference.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->updates->getChannelDifference](../methods/updates_getChannelDifference.md) - - - diff --git a/old_docs/API_docs_v70/types/updates_Difference.md b/old_docs/API_docs_v70/types/updates_Difference.md deleted file mode 100644 index 50bb098e..00000000 --- a/old_docs/API_docs_v70/types/updates_Difference.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: updates_Difference -description: constructors and methods of type updates_Difference -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: updates\_Difference -[Back to types index](index.md) - - - -### Possible values (constructors): - -[updates\_differenceEmpty](../constructors/updates_differenceEmpty.md) - -[updates\_difference](../constructors/updates_difference.md) - -[updates\_differenceSlice](../constructors/updates_differenceSlice.md) - -[updates\_differenceTooLong](../constructors/updates_differenceTooLong.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->updates->getDifference](../methods/updates_getDifference.md) - - - diff --git a/old_docs/API_docs_v70/types/updates_State.md b/old_docs/API_docs_v70/types/updates_State.md deleted file mode 100644 index 7a441145..00000000 --- a/old_docs/API_docs_v70/types/updates_State.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: updates_State -description: constructors and methods of type updates_State -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: updates\_State -[Back to types index](index.md) - - - -### Possible values (constructors): - -[updates\_state](../constructors/updates_state.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->updates->getState](../methods/updates_getState.md) - - - diff --git a/old_docs/API_docs_v70/types/upload.CdnFile.md b/old_docs/API_docs_v70/types/upload.CdnFile.md new file mode 100644 index 00000000..396c4bf4 --- /dev/null +++ b/old_docs/API_docs_v70/types/upload.CdnFile.md @@ -0,0 +1,24 @@ +--- +title: upload.CdnFile +description: constructors and methods of type upload.CdnFile +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: upload.CdnFile +[Back to types index](index.md) + + + +### Possible values (constructors): + +[upload.cdnFileReuploadNeeded](../constructors/upload.cdnFileReuploadNeeded.md) + +[upload.cdnFile](../constructors/upload.cdnFile.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->upload->getCdnFile](../methods/upload.getCdnFile.md) + + + diff --git a/old_docs/API_docs_v70/types/upload.File.md b/old_docs/API_docs_v70/types/upload.File.md new file mode 100644 index 00000000..6963341b --- /dev/null +++ b/old_docs/API_docs_v70/types/upload.File.md @@ -0,0 +1,24 @@ +--- +title: upload.File +description: constructors and methods of type upload.File +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: upload.File +[Back to types index](index.md) + + + +### Possible values (constructors): + +[upload.file](../constructors/upload.file.md) + +[upload.fileCdnRedirect](../constructors/upload.fileCdnRedirect.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->upload->getFile](../methods/upload.getFile.md) + + + diff --git a/old_docs/API_docs_v70/types/upload.WebFile.md b/old_docs/API_docs_v70/types/upload.WebFile.md new file mode 100644 index 00000000..e834457b --- /dev/null +++ b/old_docs/API_docs_v70/types/upload.WebFile.md @@ -0,0 +1,22 @@ +--- +title: upload.WebFile +description: constructors and methods of type upload.WebFile +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: upload.WebFile +[Back to types index](index.md) + + + +### Possible values (constructors): + +[upload.webFile](../constructors/upload.webFile.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->upload->getWebFile](../methods/upload.getWebFile.md) + + + diff --git a/old_docs/API_docs_v70/types/upload_CdnFile.md b/old_docs/API_docs_v70/types/upload_CdnFile.md deleted file mode 100644 index 51ae2e68..00000000 --- a/old_docs/API_docs_v70/types/upload_CdnFile.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: upload_CdnFile -description: constructors and methods of type upload_CdnFile -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: upload\_CdnFile -[Back to types index](index.md) - - - -### Possible values (constructors): - -[upload\_cdnFileReuploadNeeded](../constructors/upload_cdnFileReuploadNeeded.md) - -[upload\_cdnFile](../constructors/upload_cdnFile.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->upload->getCdnFile](../methods/upload_getCdnFile.md) - - - diff --git a/old_docs/API_docs_v70/types/upload_File.md b/old_docs/API_docs_v70/types/upload_File.md deleted file mode 100644 index 00e0f9cb..00000000 --- a/old_docs/API_docs_v70/types/upload_File.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: upload_File -description: constructors and methods of type upload_File -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: upload\_File -[Back to types index](index.md) - - - -### Possible values (constructors): - -[upload\_file](../constructors/upload_file.md) - -[upload\_fileCdnRedirect](../constructors/upload_fileCdnRedirect.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->upload->getFile](../methods/upload_getFile.md) - - - diff --git a/old_docs/API_docs_v70/types/upload_WebFile.md b/old_docs/API_docs_v70/types/upload_WebFile.md deleted file mode 100644 index 9a86264f..00000000 --- a/old_docs/API_docs_v70/types/upload_WebFile.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: upload_WebFile -description: constructors and methods of type upload_WebFile -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: upload\_WebFile -[Back to types index](index.md) - - - -### Possible values (constructors): - -[upload\_webFile](../constructors/upload_webFile.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->upload->getWebFile](../methods/upload_getWebFile.md) - - - diff --git a/old_docs/API_docs_v71/constructors/README.md b/old_docs/API_docs_v71/constructors/README.md index 751ccebc..556d6a44 100644 --- a/old_docs/API_docs_v71/constructors/README.md +++ b/old_docs/API_docs_v71/constructors/README.md @@ -6,48 +6,65 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png # Constructors [Back to API documentation index](..) +*** +

[$account.authorizations](../constructors/account.authorizations.md) = \['authorizations' => \[[Authorization](../types/Authorization.md)\], \]; + +*** +

[$account.noPassword](../constructors/account.noPassword.md) = \['new_salt' => [bytes](../types/bytes.md), 'email_unconfirmed_pattern' => [string](../types/string.md), \]; + +*** +

[$account.password](../constructors/account.password.md) = \['current_salt' => [bytes](../types/bytes.md), 'new_salt' => [bytes](../types/bytes.md), 'hint' => [string](../types/string.md), 'has_recovery' => [Bool](../types/Bool.md), 'email_unconfirmed_pattern' => [string](../types/string.md), \]; + +*** +

[$account.passwordInputSettings](../constructors/account.passwordInputSettings.md) = \['new_salt' => [bytes](../types/bytes.md), 'new_password_hash' => [bytes](../types/bytes.md), 'hint' => [string](../types/string.md), 'email' => [string](../types/string.md), \]; + +*** +

[$account.passwordSettings](../constructors/account.passwordSettings.md) = \['email' => [string](../types/string.md), \]; + +*** +

[$account.privacyRules](../constructors/account.privacyRules.md) = \['rules' => \[[PrivacyRule](../types/PrivacyRule.md)\], 'users' => \[[User](../types/User.md)\], \]; + +*** +

[$account.tmpPassword](../constructors/account.tmpPassword.md) = \['tmp_password' => [bytes](../types/bytes.md), 'valid_until' => [int](../types/int.md), \]; + ***

[$accountDaysTTL](../constructors/accountDaysTTL.md) = \['days' => [int](../types/int.md), \]; *** -

[$account\_authorizations](../constructors/account_authorizations.md) = \['authorizations' => \[[Authorization](../types/Authorization.md)\], \]; - -[$account\_noPassword](../constructors/account_noPassword.md) = \['new_salt' => [bytes](../types/bytes.md), 'email_unconfirmed_pattern' => [string](../types/string.md), \]; - -[$account\_password](../constructors/account_password.md) = \['current_salt' => [bytes](../types/bytes.md), 'new_salt' => [bytes](../types/bytes.md), 'hint' => [string](../types/string.md), 'has_recovery' => [Bool](../types/Bool.md), 'email_unconfirmed_pattern' => [string](../types/string.md), \]; - -[$account\_passwordInputSettings](../constructors/account_passwordInputSettings.md) = \['new_salt' => [bytes](../types/bytes.md), 'new_password_hash' => [bytes](../types/bytes.md), 'hint' => [string](../types/string.md), 'email' => [string](../types/string.md), \]; - -[$account\_passwordSettings](../constructors/account_passwordSettings.md) = \['email' => [string](../types/string.md), \]; - -[$account\_privacyRules](../constructors/account_privacyRules.md) = \['rules' => \[[PrivacyRule](../types/PrivacyRule.md)\], 'users' => \[[User](../types/User.md)\], \]; - -[$account\_tmpPassword](../constructors/account_tmpPassword.md) = \['tmp_password' => [bytes](../types/bytes.md), 'valid_until' => [int](../types/int.md), \]; +

[$auth.authorization](../constructors/auth.authorization.md) = \['tmp_sessions' => [int](../types/int.md), 'user' => [User](../types/User.md), \]; *** -

[$auth\_authorization](../constructors/auth_authorization.md) = \['tmp_sessions' => [int](../types/int.md), 'user' => [User](../types/User.md), \]; +

[$auth.checkedPhone](../constructors/auth.checkedPhone.md) = \['phone_registered' => [Bool](../types/Bool.md), \]; -[$auth\_checkedPhone](../constructors/auth_checkedPhone.md) = \['phone_registered' => [Bool](../types/Bool.md), \]; +*** +

[$auth.codeTypeCall](../constructors/auth.codeTypeCall.md) = \[\]; -[$auth\_codeTypeCall](../constructors/auth_codeTypeCall.md) = \[\]; +*** +

[$auth.codeTypeFlashCall](../constructors/auth.codeTypeFlashCall.md) = \[\]; -[$auth\_codeTypeFlashCall](../constructors/auth_codeTypeFlashCall.md) = \[\]; +*** +

[$auth.codeTypeSms](../constructors/auth.codeTypeSms.md) = \[\]; -[$auth\_codeTypeSms](../constructors/auth_codeTypeSms.md) = \[\]; +*** +

[$auth.exportedAuthorization](../constructors/auth.exportedAuthorization.md) = \['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; -[$auth\_exportedAuthorization](../constructors/auth_exportedAuthorization.md) = \['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; +*** +

[$auth.passwordRecovery](../constructors/auth.passwordRecovery.md) = \['email_pattern' => [string](../types/string.md), \]; -[$auth\_passwordRecovery](../constructors/auth_passwordRecovery.md) = \['email_pattern' => [string](../types/string.md), \]; +*** +

[$auth.sentCode](../constructors/auth.sentCode.md) = \['phone_registered' => [Bool](../types/Bool.md), 'type' => [auth.SentCodeType](../types/auth.SentCodeType.md), 'phone_code_hash' => [string](../types/string.md), 'next_type' => [auth.CodeType](../types/auth.CodeType.md), 'timeout' => [int](../types/int.md), \]; -[$auth\_sentCode](../constructors/auth_sentCode.md) = \['phone_registered' => [Bool](../types/Bool.md), 'type' => [auth.SentCodeType](../types/auth.SentCodeType.md), 'phone_code_hash' => [string](../types/string.md), 'next_type' => [auth.CodeType](../types/auth.CodeType.md), 'timeout' => [int](../types/int.md), \]; +*** +

[$auth.sentCodeTypeApp](../constructors/auth.sentCodeTypeApp.md) = \['length' => [int](../types/int.md), \]; -[$auth\_sentCodeTypeApp](../constructors/auth_sentCodeTypeApp.md) = \['length' => [int](../types/int.md), \]; +*** +

[$auth.sentCodeTypeCall](../constructors/auth.sentCodeTypeCall.md) = \['length' => [int](../types/int.md), \]; -[$auth\_sentCodeTypeCall](../constructors/auth_sentCodeTypeCall.md) = \['length' => [int](../types/int.md), \]; +*** +

[$auth.sentCodeTypeFlashCall](../constructors/auth.sentCodeTypeFlashCall.md) = \['pattern' => [string](../types/string.md), \]; -[$auth\_sentCodeTypeFlashCall](../constructors/auth_sentCodeTypeFlashCall.md) = \['pattern' => [string](../types/string.md), \]; - -[$auth\_sentCodeTypeSms](../constructors/auth_sentCodeTypeSms.md) = \['length' => [int](../types/int.md), \]; +*** +

[$auth.sentCodeTypeSms](../constructors/auth.sentCodeTypeSms.md) = \['length' => [int](../types/int.md), \]; ***

[$authorization](../constructors/authorization.md) = \['hash' => [long](../types/long.md), 'device_model' => [string](../types/string.md), 'platform' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'api_id' => [int](../types/int.md), 'app_name' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'date_created' => [int](../types/int.md), 'date_active' => [int](../types/int.md), 'ip' => [string](../types/string.md), 'country' => [string](../types/string.md), 'region' => [string](../types/string.md), \]; @@ -205,11 +222,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$channelParticipantsSearch](../constructors/channelParticipantsSearch.md) = \['q' => [string](../types/string.md), \]; *** -

[$channels\_adminLogResults](../constructors/channels_adminLogResults.md) = \['events' => \[[ChannelAdminLogEvent](../types/ChannelAdminLogEvent.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +

[$channels.adminLogResults](../constructors/channels.adminLogResults.md) = \['events' => \[[ChannelAdminLogEvent](../types/ChannelAdminLogEvent.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$channels\_channelParticipant](../constructors/channels_channelParticipant.md) = \['participant' => [ChannelParticipant](../types/ChannelParticipant.md), 'users' => \[[User](../types/User.md)\], \]; +*** +

[$channels.channelParticipant](../constructors/channels.channelParticipant.md) = \['participant' => [ChannelParticipant](../types/ChannelParticipant.md), 'users' => \[[User](../types/User.md)\], \]; -[$channels\_channelParticipants](../constructors/channels_channelParticipants.md) = \['count' => [int](../types/int.md), 'participants' => \[[ChannelParticipant](../types/ChannelParticipant.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$channels.channelParticipants](../constructors/channels.channelParticipants.md) = \['count' => [int](../types/int.md), 'participants' => \[[ChannelParticipant](../types/ChannelParticipant.md)\], 'users' => \[[User](../types/User.md)\], \]; ***

[$chat](../constructors/chat.md) = \['creator' => [Bool](../types/Bool.md), 'kicked' => [Bool](../types/Bool.md), 'left' => [Bool](../types/Bool.md), 'admins_enabled' => [Bool](../types/Bool.md), 'admin' => [Bool](../types/Bool.md), 'deactivated' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'title' => [string](../types/string.md), 'photo' => [ChatPhoto](../types/ChatPhoto.md), 'participants_count' => [int](../types/int.md), 'date' => [int](../types/int.md), 'version' => [int](../types/int.md), 'migrated_to' => [InputChannel](../types/InputChannel.md), \]; @@ -284,25 +303,34 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$contactStatus](../constructors/contactStatus.md) = \['user_id' => [int](../types/int.md), 'status' => [UserStatus](../types/UserStatus.md), \]; *** -

[$contacts\_blocked](../constructors/contacts_blocked.md) = \['blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; +

[$contacts.blocked](../constructors/contacts.blocked.md) = \['blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_blockedSlice](../constructors/contacts_blockedSlice.md) = \['count' => [int](../types/int.md), 'blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.blockedSlice](../constructors/contacts.blockedSlice.md) = \['count' => [int](../types/int.md), 'blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_contacts](../constructors/contacts_contacts.md) = \['contacts' => \[[Contact](../types/Contact.md)\], 'saved_count' => [int](../types/int.md), 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.contacts](../constructors/contacts.contacts.md) = \['contacts' => \[[Contact](../types/Contact.md)\], 'saved_count' => [int](../types/int.md), 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_contactsNotModified](../constructors/contacts_contactsNotModified.md) = \[\]; +*** +

[$contacts.contactsNotModified](../constructors/contacts.contactsNotModified.md) = \[\]; -[$contacts\_found](../constructors/contacts_found.md) = \['results' => \[[Peer](../types/Peer.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.found](../constructors/contacts.found.md) = \['results' => \[[Peer](../types/Peer.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_importedContacts](../constructors/contacts_importedContacts.md) = \['imported' => \[[ImportedContact](../types/ImportedContact.md)\], 'popular_invites' => \[[PopularContact](../types/PopularContact.md)\], 'retry_contacts' => \[[long](../types/long.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.importedContacts](../constructors/contacts.importedContacts.md) = \['imported' => \[[ImportedContact](../types/ImportedContact.md)\], 'popular_invites' => \[[PopularContact](../types/PopularContact.md)\], 'retry_contacts' => \[[long](../types/long.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_link](../constructors/contacts_link.md) = \['my_link' => [ContactLink](../types/ContactLink.md), 'foreign_link' => [ContactLink](../types/ContactLink.md), 'user' => [User](../types/User.md), \]; +*** +

[$contacts.link](../constructors/contacts.link.md) = \['my_link' => [ContactLink](../types/ContactLink.md), 'foreign_link' => [ContactLink](../types/ContactLink.md), 'user' => [User](../types/User.md), \]; -[$contacts\_resolvedPeer](../constructors/contacts_resolvedPeer.md) = \['peer' => [Peer](../types/Peer.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.resolvedPeer](../constructors/contacts.resolvedPeer.md) = \['peer' => [Peer](../types/Peer.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_topPeers](../constructors/contacts_topPeers.md) = \['categories' => \[[TopPeerCategoryPeers](../types/TopPeerCategoryPeers.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.topPeers](../constructors/contacts.topPeers.md) = \['categories' => \[[TopPeerCategoryPeers](../types/TopPeerCategoryPeers.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_topPeersNotModified](../constructors/contacts_topPeersNotModified.md) = \[\]; +*** +

[$contacts.topPeersNotModified](../constructors/contacts.topPeersNotModified.md) = \[\]; ***

[$dataJSON](../constructors/dataJSON.md) = \['data' => [string](../types/string.md), \]; @@ -427,17 +455,22 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$geoPointEmpty](../constructors/geoPointEmpty.md) = \[\]; *** -

[$help\_appUpdate](../constructors/help_appUpdate.md) = \['id' => [int](../types/int.md), 'critical' => [Bool](../types/Bool.md), 'url' => [string](../types/string.md), 'text' => [string](../types/string.md), \]; +

[$help.appUpdate](../constructors/help.appUpdate.md) = \['id' => [int](../types/int.md), 'critical' => [Bool](../types/Bool.md), 'url' => [string](../types/string.md), 'text' => [string](../types/string.md), \]; -[$help\_configSimple](../constructors/help_configSimple.md) = \['date' => [int](../types/int.md), 'expires' => [int](../types/int.md), 'dc_id' => [int](../types/int.md), 'ip_port_list' => \[[ipPort](../constructors/ipPort.md)\], \]; +*** +

[$help.configSimple](../constructors/help.configSimple.md) = \['date' => [int](../types/int.md), 'expires' => [int](../types/int.md), 'dc_id' => [int](../types/int.md), 'ip_port_list' => \[[ipPort](../constructors/ipPort.md)\], \]; -[$help\_inviteText](../constructors/help_inviteText.md) = \['message' => [string](../types/string.md), \]; +*** +

[$help.inviteText](../constructors/help.inviteText.md) = \['message' => [string](../types/string.md), \]; -[$help\_noAppUpdate](../constructors/help_noAppUpdate.md) = \[\]; +*** +

[$help.noAppUpdate](../constructors/help.noAppUpdate.md) = \[\]; -[$help\_support](../constructors/help_support.md) = \['phone_number' => [string](../types/string.md), 'user' => [User](../types/User.md), \]; +*** +

[$help.support](../constructors/help.support.md) = \['phone_number' => [string](../types/string.md), 'user' => [User](../types/User.md), \]; -[$help\_termsOfService](../constructors/help_termsOfService.md) = \['text' => [string](../types/string.md), \]; +*** +

[$help.termsOfService](../constructors/help.termsOfService.md) = \['text' => [string](../types/string.md), \]; ***

[$highScore](../constructors/highScore.md) = \['pos' => [int](../types/int.md), 'user_id' => [int](../types/int.md), 'score' => [int](../types/int.md), \]; @@ -956,77 +989,112 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$messageService](../constructors/messageService.md) = \['out' => [Bool](../types/Bool.md), 'mentioned' => [Bool](../types/Bool.md), 'media_unread' => [Bool](../types/Bool.md), 'silent' => [Bool](../types/Bool.md), 'post' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'from_id' => [int](../types/int.md), 'to_id' => [Peer](../types/Peer.md), 'reply_to_msg_id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'action' => [MessageAction](../types/MessageAction.md), \]; *** -

[$messages\_affectedHistory](../constructors/messages_affectedHistory.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), 'offset' => [int](../types/int.md), \]; +

[$messages.affectedHistory](../constructors/messages.affectedHistory.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), 'offset' => [int](../types/int.md), \]; -[$messages\_affectedMessages](../constructors/messages_affectedMessages.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; +*** +

[$messages.affectedMessages](../constructors/messages.affectedMessages.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; -[$messages\_allStickers](../constructors/messages_allStickers.md) = \['hash' => [int](../types/int.md), 'sets' => \[[StickerSet](../types/StickerSet.md)\], \]; +*** +

[$messages.allStickers](../constructors/messages.allStickers.md) = \['hash' => [int](../types/int.md), 'sets' => \[[StickerSet](../types/StickerSet.md)\], \]; -[$messages\_allStickersNotModified](../constructors/messages_allStickersNotModified.md) = \[\]; +*** +

[$messages.allStickersNotModified](../constructors/messages.allStickersNotModified.md) = \[\]; -[$messages\_archivedStickers](../constructors/messages_archivedStickers.md) = \['count' => [int](../types/int.md), 'sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], \]; +*** +

[$messages.archivedStickers](../constructors/messages.archivedStickers.md) = \['count' => [int](../types/int.md), 'sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], \]; -[$messages\_botCallbackAnswer](../constructors/messages_botCallbackAnswer.md) = \['alert' => [Bool](../types/Bool.md), 'has_url' => [Bool](../types/Bool.md), 'message' => [string](../types/string.md), 'url' => [string](../types/string.md), 'cache_time' => [int](../types/int.md), \]; +*** +

[$messages.botCallbackAnswer](../constructors/messages.botCallbackAnswer.md) = \['alert' => [Bool](../types/Bool.md), 'has_url' => [Bool](../types/Bool.md), 'message' => [string](../types/string.md), 'url' => [string](../types/string.md), 'cache_time' => [int](../types/int.md), \]; -[$messages\_botResults](../constructors/messages_botResults.md) = \['gallery' => [Bool](../types/Bool.md), 'query_id' => [long](../types/long.md), 'next_offset' => [string](../types/string.md), 'switch_pm' => [InlineBotSwitchPM](../types/InlineBotSwitchPM.md), 'results' => \[[BotInlineResult](../types/BotInlineResult.md)\], 'cache_time' => [int](../types/int.md), \]; +*** +

[$messages.botResults](../constructors/messages.botResults.md) = \['gallery' => [Bool](../types/Bool.md), 'query_id' => [long](../types/long.md), 'next_offset' => [string](../types/string.md), 'switch_pm' => [InlineBotSwitchPM](../types/InlineBotSwitchPM.md), 'results' => \[[BotInlineResult](../types/BotInlineResult.md)\], 'cache_time' => [int](../types/int.md), \]; -[$messages\_channelMessages](../constructors/messages_channelMessages.md) = \['pts' => [int](../types/int.md), 'count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.channelMessages](../constructors/messages.channelMessages.md) = \['pts' => [int](../types/int.md), 'count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_chatFull](../constructors/messages_chatFull.md) = \['full_chat' => [ChatFull](../types/ChatFull.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.chatFull](../constructors/messages.chatFull.md) = \['full_chat' => [ChatFull](../types/ChatFull.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_chats](../constructors/messages_chats.md) = \['chats' => \[[Chat](../types/Chat.md)\], \]; +*** +

[$messages.chats](../constructors/messages.chats.md) = \['chats' => \[[Chat](../types/Chat.md)\], \]; -[$messages\_chatsSlice](../constructors/messages_chatsSlice.md) = \['count' => [int](../types/int.md), 'chats' => \[[Chat](../types/Chat.md)\], \]; +*** +

[$messages.chatsSlice](../constructors/messages.chatsSlice.md) = \['count' => [int](../types/int.md), 'chats' => \[[Chat](../types/Chat.md)\], \]; -[$messages\_dhConfig](../constructors/messages_dhConfig.md) = \['g' => [int](../types/int.md), 'p' => [bytes](../types/bytes.md), 'version' => [int](../types/int.md), 'random' => [bytes](../types/bytes.md), \]; +*** +

[$messages.dhConfig](../constructors/messages.dhConfig.md) = \['g' => [int](../types/int.md), 'p' => [bytes](../types/bytes.md), 'version' => [int](../types/int.md), 'random' => [bytes](../types/bytes.md), \]; -[$messages\_dhConfigNotModified](../constructors/messages_dhConfigNotModified.md) = \['random' => [bytes](../types/bytes.md), \]; +*** +

[$messages.dhConfigNotModified](../constructors/messages.dhConfigNotModified.md) = \['random' => [bytes](../types/bytes.md), \]; -[$messages\_dialogs](../constructors/messages_dialogs.md) = \['dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.dialogs](../constructors/messages.dialogs.md) = \['dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_dialogsSlice](../constructors/messages_dialogsSlice.md) = \['count' => [int](../types/int.md), 'dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.dialogsSlice](../constructors/messages.dialogsSlice.md) = \['count' => [int](../types/int.md), 'dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_favedStickers](../constructors/messages_favedStickers.md) = \['hash' => [int](../types/int.md), 'packs' => \[[StickerPack](../types/StickerPack.md)\], 'stickers' => \[[Document](../types/Document.md)\], \]; +*** +

[$messages.favedStickers](../constructors/messages.favedStickers.md) = \['hash' => [int](../types/int.md), 'packs' => \[[StickerPack](../types/StickerPack.md)\], 'stickers' => \[[Document](../types/Document.md)\], \]; -[$messages\_favedStickersNotModified](../constructors/messages_favedStickersNotModified.md) = \[\]; +*** +

[$messages.favedStickersNotModified](../constructors/messages.favedStickersNotModified.md) = \[\]; -[$messages\_featuredStickers](../constructors/messages_featuredStickers.md) = \['hash' => [int](../types/int.md), 'sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], 'unread' => \[[long](../types/long.md)\], \]; +*** +

[$messages.featuredStickers](../constructors/messages.featuredStickers.md) = \['hash' => [int](../types/int.md), 'sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], 'unread' => \[[long](../types/long.md)\], \]; -[$messages\_featuredStickersNotModified](../constructors/messages_featuredStickersNotModified.md) = \[\]; +*** +

[$messages.featuredStickersNotModified](../constructors/messages.featuredStickersNotModified.md) = \[\]; -[$messages\_foundGifs](../constructors/messages_foundGifs.md) = \['next_offset' => [int](../types/int.md), 'results' => \[[FoundGif](../types/FoundGif.md)\], \]; +*** +

[$messages.foundGifs](../constructors/messages.foundGifs.md) = \['next_offset' => [int](../types/int.md), 'results' => \[[FoundGif](../types/FoundGif.md)\], \]; -[$messages\_highScores](../constructors/messages_highScores.md) = \['scores' => \[[HighScore](../types/HighScore.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.highScores](../constructors/messages.highScores.md) = \['scores' => \[[HighScore](../types/HighScore.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_messageEditData](../constructors/messages_messageEditData.md) = \['caption' => [Bool](../types/Bool.md), \]; +*** +

[$messages.messageEditData](../constructors/messages.messageEditData.md) = \['caption' => [Bool](../types/Bool.md), \]; -[$messages\_messages](../constructors/messages_messages.md) = \['messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.messages](../constructors/messages.messages.md) = \['messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_messagesSlice](../constructors/messages_messagesSlice.md) = \['count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.messagesSlice](../constructors/messages.messagesSlice.md) = \['count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_peerDialogs](../constructors/messages_peerDialogs.md) = \['dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'state' => [updates.State](../types/updates.State.md), \]; +*** +

[$messages.peerDialogs](../constructors/messages.peerDialogs.md) = \['dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'state' => [updates.State](../types/updates.State.md), \]; -[$messages\_recentStickers](../constructors/messages_recentStickers.md) = \['hash' => [int](../types/int.md), 'stickers' => \[[Document](../types/Document.md)\], \]; +*** +

[$messages.recentStickers](../constructors/messages.recentStickers.md) = \['hash' => [int](../types/int.md), 'stickers' => \[[Document](../types/Document.md)\], \]; -[$messages\_recentStickersNotModified](../constructors/messages_recentStickersNotModified.md) = \[\]; +*** +

[$messages.recentStickersNotModified](../constructors/messages.recentStickersNotModified.md) = \[\]; -[$messages\_savedGifs](../constructors/messages_savedGifs.md) = \['hash' => [int](../types/int.md), 'gifs' => \[[Document](../types/Document.md)\], \]; +*** +

[$messages.savedGifs](../constructors/messages.savedGifs.md) = \['hash' => [int](../types/int.md), 'gifs' => \[[Document](../types/Document.md)\], \]; -[$messages\_savedGifsNotModified](../constructors/messages_savedGifsNotModified.md) = \[\]; +*** +

[$messages.savedGifsNotModified](../constructors/messages.savedGifsNotModified.md) = \[\]; -[$messages\_sentEncryptedFile](../constructors/messages_sentEncryptedFile.md) = \['date' => [int](../types/int.md), 'file' => [EncryptedFile](../types/EncryptedFile.md), \]; +*** +

[$messages.sentEncryptedFile](../constructors/messages.sentEncryptedFile.md) = \['date' => [int](../types/int.md), 'file' => [EncryptedFile](../types/EncryptedFile.md), \]; -[$messages\_sentEncryptedMessage](../constructors/messages_sentEncryptedMessage.md) = \['date' => [int](../types/int.md), \]; +*** +

[$messages.sentEncryptedMessage](../constructors/messages.sentEncryptedMessage.md) = \['date' => [int](../types/int.md), \]; -[$messages\_stickerSet](../constructors/messages_stickerSet.md) = \['set' => [StickerSet](../types/StickerSet.md), 'packs' => \[[StickerPack](../types/StickerPack.md)\], 'documents' => \[[Document](../types/Document.md)\], \]; +*** +

[$messages.stickerSet](../constructors/messages.stickerSet.md) = \['set' => [StickerSet](../types/StickerSet.md), 'packs' => \[[StickerPack](../types/StickerPack.md)\], 'documents' => \[[Document](../types/Document.md)\], \]; -[$messages\_stickerSetInstallResultArchive](../constructors/messages_stickerSetInstallResultArchive.md) = \['sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], \]; +*** +

[$messages.stickerSetInstallResultArchive](../constructors/messages.stickerSetInstallResultArchive.md) = \['sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], \]; -[$messages\_stickerSetInstallResultSuccess](../constructors/messages_stickerSetInstallResultSuccess.md) = \[\]; +*** +

[$messages.stickerSetInstallResultSuccess](../constructors/messages.stickerSetInstallResultSuccess.md) = \[\]; -[$messages\_stickers](../constructors/messages_stickers.md) = \['hash' => [string](../types/string.md), 'stickers' => \[[Document](../types/Document.md)\], \]; +*** +

[$messages.stickers](../constructors/messages.stickers.md) = \['hash' => [string](../types/string.md), 'stickers' => \[[Document](../types/Document.md)\], \]; -[$messages\_stickersNotModified](../constructors/messages_stickersNotModified.md) = \[\]; +*** +

[$messages.stickersNotModified](../constructors/messages.stickersNotModified.md) = \[\]; ***

[$msg\_detailed\_info](../constructors/msg_detailed_info.md) = \['msg_id' => [long](../types/long.md), 'answer_msg_id' => [long](../types/long.md), 'bytes' => [int](../types/int.md), 'status' => [int](../types/int.md), \]; @@ -1153,17 +1221,22 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$paymentSavedCredentialsCard](../constructors/paymentSavedCredentialsCard.md) = \['id' => [string](../types/string.md), 'title' => [string](../types/string.md), \]; *** -

[$payments\_paymentForm](../constructors/payments_paymentForm.md) = \['can_save_credentials' => [Bool](../types/Bool.md), 'password_missing' => [Bool](../types/Bool.md), 'bot_id' => [int](../types/int.md), 'invoice' => [Invoice](../types/Invoice.md), 'provider_id' => [int](../types/int.md), 'url' => [string](../types/string.md), 'native_provider' => [string](../types/string.md), 'native_params' => [DataJSON](../types/DataJSON.md), 'saved_info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), 'saved_credentials' => [PaymentSavedCredentials](../types/PaymentSavedCredentials.md), 'users' => \[[User](../types/User.md)\], \]; +

[$payments.paymentForm](../constructors/payments.paymentForm.md) = \['can_save_credentials' => [Bool](../types/Bool.md), 'password_missing' => [Bool](../types/Bool.md), 'bot_id' => [int](../types/int.md), 'invoice' => [Invoice](../types/Invoice.md), 'provider_id' => [int](../types/int.md), 'url' => [string](../types/string.md), 'native_provider' => [string](../types/string.md), 'native_params' => [DataJSON](../types/DataJSON.md), 'saved_info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), 'saved_credentials' => [PaymentSavedCredentials](../types/PaymentSavedCredentials.md), 'users' => \[[User](../types/User.md)\], \]; -[$payments\_paymentReceipt](../constructors/payments_paymentReceipt.md) = \['date' => [int](../types/int.md), 'bot_id' => [int](../types/int.md), 'invoice' => [Invoice](../types/Invoice.md), 'provider_id' => [int](../types/int.md), 'info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), 'shipping' => [ShippingOption](../types/ShippingOption.md), 'currency' => [string](../types/string.md), 'total_amount' => [long](../types/long.md), 'credentials_title' => [string](../types/string.md), 'users' => \[[User](../types/User.md)\], \]; +*** +

[$payments.paymentReceipt](../constructors/payments.paymentReceipt.md) = \['date' => [int](../types/int.md), 'bot_id' => [int](../types/int.md), 'invoice' => [Invoice](../types/Invoice.md), 'provider_id' => [int](../types/int.md), 'info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), 'shipping' => [ShippingOption](../types/ShippingOption.md), 'currency' => [string](../types/string.md), 'total_amount' => [long](../types/long.md), 'credentials_title' => [string](../types/string.md), 'users' => \[[User](../types/User.md)\], \]; -[$payments\_paymentResult](../constructors/payments_paymentResult.md) = \['updates' => [Updates](../types/Updates.md), \]; +*** +

[$payments.paymentResult](../constructors/payments.paymentResult.md) = \['updates' => [Updates](../types/Updates.md), \]; -[$payments\_paymentVerficationNeeded](../constructors/payments_paymentVerficationNeeded.md) = \['url' => [string](../types/string.md), \]; +*** +

[$payments.paymentVerficationNeeded](../constructors/payments.paymentVerficationNeeded.md) = \['url' => [string](../types/string.md), \]; -[$payments\_savedInfo](../constructors/payments_savedInfo.md) = \['has_saved_credentials' => [Bool](../types/Bool.md), 'saved_info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), \]; +*** +

[$payments.savedInfo](../constructors/payments.savedInfo.md) = \['has_saved_credentials' => [Bool](../types/Bool.md), 'saved_info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), \]; -[$payments\_validatedRequestedInfo](../constructors/payments_validatedRequestedInfo.md) = \['id' => [string](../types/string.md), 'shipping_options' => \[[ShippingOption](../types/ShippingOption.md)\], \]; +*** +

[$payments.validatedRequestedInfo](../constructors/payments.validatedRequestedInfo.md) = \['id' => [string](../types/string.md), 'shipping_options' => \[[ShippingOption](../types/ShippingOption.md)\], \]; ***

[$peerChannel](../constructors/peerChannel.md) = \['channel_id' => [int](../types/int.md), \]; @@ -1189,6 +1262,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ***

[$peerUser](../constructors/peerUser.md) = \['user_id' => [int](../types/int.md), \]; +*** +

[$phone.phoneCall](../constructors/phone.phoneCall.md) = \['phone_call' => [PhoneCall](../types/PhoneCall.md), 'users' => \[[User](../types/User.md)\], \]; + ***

[$phoneCall](../constructors/phoneCall.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'date' => [int](../types/int.md), 'admin_id' => [int](../types/int.md), 'participant_id' => [int](../types/int.md), 'g_a_or_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), 'connection' => [PhoneConnection](../types/PhoneConnection.md), 'alternative_connections' => \[[PhoneConnection](../types/PhoneConnection.md)\], 'start_date' => [int](../types/int.md), \]; @@ -1225,9 +1301,6 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ***

[$phoneConnection](../constructors/phoneConnection.md) = \['id' => [long](../types/long.md), 'ip' => [string](../types/string.md), 'ipv6' => [string](../types/string.md), 'port' => [int](../types/int.md), 'peer_tag' => [bytes](../types/bytes.md), \]; -*** -

[$phone\_phoneCall](../constructors/phone_phoneCall.md) = \['phone_call' => [PhoneCall](../types/PhoneCall.md), 'users' => \[[User](../types/User.md)\], \]; - ***

[$photo](../constructors/photo.md) = \['has_stickers' => [Bool](../types/Bool.md), 'id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'date' => [int](../types/int.md), 'sizes' => \[[PhotoSize](../types/PhotoSize.md)\], \]; @@ -1244,11 +1317,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$photoSizeEmpty](../constructors/photoSizeEmpty.md) = \['type' => [string](../types/string.md), \]; *** -

[$photos\_photo](../constructors/photos_photo.md) = \['photo' => [Photo](../types/Photo.md), 'users' => \[[User](../types/User.md)\], \]; +

[$photos.photo](../constructors/photos.photo.md) = \['photo' => [Photo](../types/Photo.md), 'users' => \[[User](../types/User.md)\], \]; -[$photos\_photos](../constructors/photos_photos.md) = \['photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$photos.photos](../constructors/photos.photos.md) = \['photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$photos\_photosSlice](../constructors/photos_photosSlice.md) = \['count' => [int](../types/int.md), 'photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$photos.photosSlice](../constructors/photos.photosSlice.md) = \['count' => [int](../types/int.md), 'photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; ***

[$pong](../constructors/pong.md) = \['msg_id' => [long](../types/long.md), 'ping_id' => [long](../types/long.md), \]; @@ -1375,25 +1450,34 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$stickerSetMultiCovered](../constructors/stickerSetMultiCovered.md) = \['set' => [StickerSet](../types/StickerSet.md), 'covers' => \[[Document](../types/Document.md)\], \]; *** -

[$storage\_fileGif](../constructors/storage_fileGif.md) = \[\]; +

[$storage.fileGif](../constructors/storage.fileGif.md) = \[\]; -[$storage\_fileJpeg](../constructors/storage_fileJpeg.md) = \[\]; +*** +

[$storage.fileJpeg](../constructors/storage.fileJpeg.md) = \[\]; -[$storage\_fileMov](../constructors/storage_fileMov.md) = \[\]; +*** +

[$storage.fileMov](../constructors/storage.fileMov.md) = \[\]; -[$storage\_fileMp3](../constructors/storage_fileMp3.md) = \[\]; +*** +

[$storage.fileMp3](../constructors/storage.fileMp3.md) = \[\]; -[$storage\_fileMp4](../constructors/storage_fileMp4.md) = \[\]; +*** +

[$storage.fileMp4](../constructors/storage.fileMp4.md) = \[\]; -[$storage\_filePartial](../constructors/storage_filePartial.md) = \[\]; +*** +

[$storage.filePartial](../constructors/storage.filePartial.md) = \[\]; -[$storage\_filePdf](../constructors/storage_filePdf.md) = \[\]; +*** +

[$storage.filePdf](../constructors/storage.filePdf.md) = \[\]; -[$storage\_filePng](../constructors/storage_filePng.md) = \[\]; +*** +

[$storage.filePng](../constructors/storage.filePng.md) = \[\]; -[$storage\_fileUnknown](../constructors/storage_fileUnknown.md) = \[\]; +*** +

[$storage.fileUnknown](../constructors/storage.fileUnknown.md) = \[\]; -[$storage\_fileWebp](../constructors/storage_fileWebp.md) = \[\]; +*** +

[$storage.fileWebp](../constructors/storage.fileWebp.md) = \[\]; ***

[$textBold](../constructors/textBold.md) = \['text' => [RichText](../types/RichText.md), \]; @@ -1662,6 +1746,30 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ***

[$updates](../constructors/updates.md) = \['updates' => \[[Update](../types/Update.md)\], 'users' => \[[User](../types/User.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'date' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; +*** +

[$updates.channelDifference](../constructors/updates.channelDifference.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), 'new_messages' => \[[Message](../types/Message.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +*** +

[$updates.channelDifferenceEmpty](../constructors/updates.channelDifferenceEmpty.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), \]; + +*** +

[$updates.channelDifferenceTooLong](../constructors/updates.channelDifferenceTooLong.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), 'top_message' => [int](../types/int.md), 'read_inbox_max_id' => [int](../types/int.md), 'read_outbox_max_id' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), 'unread_mentions_count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +*** +

[$updates.difference](../constructors/updates.difference.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'state' => [updates.State](../types/updates.State.md), \]; + +*** +

[$updates.differenceEmpty](../constructors/updates.differenceEmpty.md) = \['date' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; + +*** +

[$updates.differenceSlice](../constructors/updates.differenceSlice.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'intermediate_state' => [updates.State](../types/updates.State.md), \]; + +*** +

[$updates.differenceTooLong](../constructors/updates.differenceTooLong.md) = \['pts' => [int](../types/int.md), \]; + +*** +

[$updates.state](../constructors/updates.state.md) = \['pts' => [int](../types/int.md), 'qts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'seq' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), \]; + ***

[$updatesCombined](../constructors/updatesCombined.md) = \['updates' => \[[Update](../types/Update.md)\], 'users' => \[[User](../types/User.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'date' => [int](../types/int.md), 'seq_start' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; @@ -1669,32 +1777,19 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$updatesTooLong](../constructors/updatesTooLong.md) = \[\]; *** -

[$updates\_channelDifference](../constructors/updates_channelDifference.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), 'new_messages' => \[[Message](../types/Message.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; - -[$updates\_channelDifferenceEmpty](../constructors/updates_channelDifferenceEmpty.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), \]; - -[$updates\_channelDifferenceTooLong](../constructors/updates_channelDifferenceTooLong.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), 'top_message' => [int](../types/int.md), 'read_inbox_max_id' => [int](../types/int.md), 'read_outbox_max_id' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), 'unread_mentions_count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; - -[$updates\_difference](../constructors/updates_difference.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'state' => [updates.State](../types/updates.State.md), \]; - -[$updates\_differenceEmpty](../constructors/updates_differenceEmpty.md) = \['date' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; - -[$updates\_differenceSlice](../constructors/updates_differenceSlice.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'intermediate_state' => [updates.State](../types/updates.State.md), \]; - -[$updates\_differenceTooLong](../constructors/updates_differenceTooLong.md) = \['pts' => [int](../types/int.md), \]; - -[$updates\_state](../constructors/updates_state.md) = \['pts' => [int](../types/int.md), 'qts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'seq' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), \]; +

[$upload.cdnFile](../constructors/upload.cdnFile.md) = \['bytes' => [bytes](../types/bytes.md), \]; *** -

[$upload\_cdnFile](../constructors/upload_cdnFile.md) = \['bytes' => [bytes](../types/bytes.md), \]; +

[$upload.cdnFileReuploadNeeded](../constructors/upload.cdnFileReuploadNeeded.md) = \['request_token' => [bytes](../types/bytes.md), \]; -[$upload\_cdnFileReuploadNeeded](../constructors/upload_cdnFileReuploadNeeded.md) = \['request_token' => [bytes](../types/bytes.md), \]; +*** +

[$upload.file](../constructors/upload.file.md) = \['type' => [storage.FileType](../types/storage.FileType.md), 'mtime' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; -[$upload\_file](../constructors/upload_file.md) = \['type' => [storage.FileType](../types/storage.FileType.md), 'mtime' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; +*** +

[$upload.fileCdnRedirect](../constructors/upload.fileCdnRedirect.md) = \['dc_id' => [int](../types/int.md), 'file_token' => [bytes](../types/bytes.md), 'encryption_key' => [bytes](../types/bytes.md), 'encryption_iv' => [bytes](../types/bytes.md), 'cdn_file_hashes' => \[[CdnFileHash](../types/CdnFileHash.md)\], \]; -[$upload\_fileCdnRedirect](../constructors/upload_fileCdnRedirect.md) = \['dc_id' => [int](../types/int.md), 'file_token' => [bytes](../types/bytes.md), 'encryption_key' => [bytes](../types/bytes.md), 'encryption_iv' => [bytes](../types/bytes.md), 'cdn_file_hashes' => \[[CdnFileHash](../types/CdnFileHash.md)\], \]; - -[$upload\_webFile](../constructors/upload_webFile.md) = \['size' => [int](../types/int.md), 'mime_type' => [string](../types/string.md), 'file_type' => [storage.FileType](../types/storage.FileType.md), 'mtime' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; +*** +

[$upload.webFile](../constructors/upload.webFile.md) = \['size' => [int](../types/int.md), 'mime_type' => [string](../types/string.md), 'file_type' => [storage.FileType](../types/storage.FileType.md), 'mtime' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; ***

[$user](../constructors/user.md) = \['self' => [Bool](../types/Bool.md), 'contact' => [Bool](../types/Bool.md), 'mutual_contact' => [Bool](../types/Bool.md), 'deleted' => [Bool](../types/Bool.md), 'bot' => [Bool](../types/Bool.md), 'bot_chat_history' => [Bool](../types/Bool.md), 'bot_nochats' => [Bool](../types/Bool.md), 'verified' => [Bool](../types/Bool.md), 'restricted' => [Bool](../types/Bool.md), 'min' => [Bool](../types/Bool.md), 'bot_inline_geo' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), 'username' => [string](../types/string.md), 'phone' => [string](../types/string.md), 'photo' => [UserProfilePhoto](../types/UserProfilePhoto.md), 'status' => [UserStatus](../types/UserStatus.md), 'bot_info_version' => [int](../types/int.md), 'restriction_reason' => [string](../types/string.md), 'bot_inline_placeholder' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]; diff --git a/old_docs/API_docs_v71/constructors/account.authorizations.md b/old_docs/API_docs_v71/constructors/account.authorizations.md new file mode 100644 index 00000000..53c961f0 --- /dev/null +++ b/old_docs/API_docs_v71/constructors/account.authorizations.md @@ -0,0 +1,38 @@ +--- +title: account.authorizations +description: Logged-in sessions +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.authorizations +[Back to constructors index](index.md) + + + +Logged-in sessions + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|authorizations|Array of [Authorization](../types/Authorization.md) | Yes|Authorizations| + + + +### Type: [account.Authorizations](../types/account.Authorizations.md) + + +### Example: + +```php +$account.authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization, Authorization]]; +``` + + +Or, if you're into Lua: + +```lua +account.authorizations={_='account.authorizations', authorizations={Authorization}} + +``` + + diff --git a/old_docs/API_docs_v71/constructors/account.noPassword.md b/old_docs/API_docs_v71/constructors/account.noPassword.md new file mode 100644 index 00000000..4dcdc515 --- /dev/null +++ b/old_docs/API_docs_v71/constructors/account.noPassword.md @@ -0,0 +1,39 @@ +--- +title: account.noPassword +description: No password +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.noPassword +[Back to constructors index](index.md) + + + +No password + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|new\_salt|[bytes](../types/bytes.md) | Yes|New salt| +|email\_unconfirmed\_pattern|[string](../types/string.md) | Yes|Email unconfirmed pattern| + + + +### Type: [account.Password](../types/account.Password.md) + + +### Example: + +```php +$account.noPassword = ['_' => 'account.noPassword', 'new_salt' => 'bytes', 'email_unconfirmed_pattern' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +account.noPassword={_='account.noPassword', new_salt='bytes', email_unconfirmed_pattern='string'} + +``` + + diff --git a/old_docs/API_docs_v71/constructors/account.password.md b/old_docs/API_docs_v71/constructors/account.password.md new file mode 100644 index 00000000..9e86a73a --- /dev/null +++ b/old_docs/API_docs_v71/constructors/account.password.md @@ -0,0 +1,42 @@ +--- +title: account.password +description: Configuration for two-factor authorization +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.password +[Back to constructors index](index.md) + + + +Configuration for two-factor authorization + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|current\_salt|[bytes](../types/bytes.md) | Yes|Current salt| +|new\_salt|[bytes](../types/bytes.md) | Yes|New salt| +|hint|[string](../types/string.md) | Yes|Text hint for the password| +|has\_recovery|[Bool](../types/Bool.md) | Yes|Has recovery?| +|email\_unconfirmed\_pattern|[string](../types/string.md) | Yes|A [password recovery email](https://core.telegram.org/api/srp#email-verification) with the specified [pattern](https://core.telegram.org/api/pattern) is still awaiting verification| + + + +### Type: [account.Password](../types/account.Password.md) + + +### Example: + +```php +$account.password = ['_' => 'account.password', 'current_salt' => 'bytes', 'new_salt' => 'bytes', 'hint' => 'string', 'has_recovery' => Bool, 'email_unconfirmed_pattern' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +account.password={_='account.password', current_salt='bytes', new_salt='bytes', hint='string', has_recovery=Bool, email_unconfirmed_pattern='string'} + +``` + + diff --git a/old_docs/API_docs_v71/constructors/account.passwordInputSettings.md b/old_docs/API_docs_v71/constructors/account.passwordInputSettings.md new file mode 100644 index 00000000..c440115a --- /dev/null +++ b/old_docs/API_docs_v71/constructors/account.passwordInputSettings.md @@ -0,0 +1,41 @@ +--- +title: account.passwordInputSettings +description: Settings for setting up a new password +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.passwordInputSettings +[Back to constructors index](index.md) + + + +Settings for setting up a new password + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|new\_salt|[bytes](../types/bytes.md) | Optional|`$new_salt = $MadelineProto->account->getPassword()['new_salt'].$MadelineProto->random(8);`| +|new\_password\_hash|[bytes](../types/bytes.md) | Optional|The [computed password hash](https://core.telegram.org/api/srp)| +|hint|[string](../types/string.md) | Optional|Text hint for the password| +|email|[string](../types/string.md) | Optional|Password recovery email| + + + +### Type: [account.PasswordInputSettings](../types/account.PasswordInputSettings.md) + + +### Example: + +```php +$account.passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_salt' => 'bytes', 'new_password_hash' => 'bytes', 'hint' => 'string', 'email' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +account.passwordInputSettings={_='account.passwordInputSettings', new_salt='bytes', new_password_hash='bytes', hint='string', email='string'} + +``` + + diff --git a/old_docs/API_docs_v71/constructors/account.passwordSettings.md b/old_docs/API_docs_v71/constructors/account.passwordSettings.md new file mode 100644 index 00000000..be899d34 --- /dev/null +++ b/old_docs/API_docs_v71/constructors/account.passwordSettings.md @@ -0,0 +1,38 @@ +--- +title: account.passwordSettings +description: Private info associated to the password info (recovery email, telegram [passport](https://core.telegram.org/passport) info & so on) +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.passwordSettings +[Back to constructors index](index.md) + + + +Private info associated to the password info (recovery email, telegram [passport](https://core.telegram.org/passport) info & so on) + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|email|[string](../types/string.md) | Yes|[2FA Recovery email](https://core.telegram.org/api/srp#email-verification)| + + + +### Type: [account.PasswordSettings](../types/account.PasswordSettings.md) + + +### Example: + +```php +$account.passwordSettings = ['_' => 'account.passwordSettings', 'email' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +account.passwordSettings={_='account.passwordSettings', email='string'} + +``` + + diff --git a/old_docs/API_docs_v71/constructors/account.privacyRules.md b/old_docs/API_docs_v71/constructors/account.privacyRules.md new file mode 100644 index 00000000..7ae04abb --- /dev/null +++ b/old_docs/API_docs_v71/constructors/account.privacyRules.md @@ -0,0 +1,39 @@ +--- +title: account.privacyRules +description: Privacy rules +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.privacyRules +[Back to constructors index](index.md) + + + +Privacy rules + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|rules|Array of [PrivacyRule](../types/PrivacyRule.md) | Yes|Rules| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [account.PrivacyRules](../types/account.PrivacyRules.md) + + +### Example: + +```php +$account.privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule, PrivacyRule], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +account.privacyRules={_='account.privacyRules', rules={PrivacyRule}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v71/constructors/account.tmpPassword.md b/old_docs/API_docs_v71/constructors/account.tmpPassword.md new file mode 100644 index 00000000..996548c4 --- /dev/null +++ b/old_docs/API_docs_v71/constructors/account.tmpPassword.md @@ -0,0 +1,39 @@ +--- +title: account.tmpPassword +description: Temporary payment password +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.tmpPassword +[Back to constructors index](index.md) + + + +Temporary payment password + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|tmp\_password|[bytes](../types/bytes.md) | Yes|Temporary password| +|valid\_until|[int](../types/int.md) | Yes|Validity period| + + + +### Type: [account.TmpPassword](../types/account.TmpPassword.md) + + +### Example: + +```php +$account.tmpPassword = ['_' => 'account.tmpPassword', 'tmp_password' => 'bytes', 'valid_until' => int]; +``` + + +Or, if you're into Lua: + +```lua +account.tmpPassword={_='account.tmpPassword', tmp_password='bytes', valid_until=int} + +``` + + diff --git a/old_docs/API_docs_v71/constructors/account_authorizations.md b/old_docs/API_docs_v71/constructors/account_authorizations.md deleted file mode 100644 index aeae48f3..00000000 --- a/old_docs/API_docs_v71/constructors/account_authorizations.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: account.authorizations -description: Logged-in sessions -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.authorizations -[Back to constructors index](index.md) - - - -Logged-in sessions - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|authorizations|Array of [Authorization](../types/Authorization.md) | Yes|Authorizations| - - - -### Type: [account\_Authorizations](../types/account_Authorizations.md) - - -### Example: - -```php -$account_authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization, Authorization]]; -``` - - -Or, if you're into Lua: - -```lua -account_authorizations={_='account.authorizations', authorizations={Authorization}} - -``` - - diff --git a/old_docs/API_docs_v71/constructors/account_noPassword.md b/old_docs/API_docs_v71/constructors/account_noPassword.md deleted file mode 100644 index 10ef7b2a..00000000 --- a/old_docs/API_docs_v71/constructors/account_noPassword.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: account.noPassword -description: No password -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.noPassword -[Back to constructors index](index.md) - - - -No password - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|new\_salt|[bytes](../types/bytes.md) | Yes|New salt| -|email\_unconfirmed\_pattern|[string](../types/string.md) | Yes|Email unconfirmed pattern| - - - -### Type: [account\_Password](../types/account_Password.md) - - -### Example: - -```php -$account_noPassword = ['_' => 'account.noPassword', 'new_salt' => 'bytes', 'email_unconfirmed_pattern' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -account_noPassword={_='account.noPassword', new_salt='bytes', email_unconfirmed_pattern='string'} - -``` - - diff --git a/old_docs/API_docs_v71/constructors/account_password.md b/old_docs/API_docs_v71/constructors/account_password.md deleted file mode 100644 index a9f512e8..00000000 --- a/old_docs/API_docs_v71/constructors/account_password.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: account.password -description: Configuration for two-factor authorization -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.password -[Back to constructors index](index.md) - - - -Configuration for two-factor authorization - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|current\_salt|[bytes](../types/bytes.md) | Yes|Current salt| -|new\_salt|[bytes](../types/bytes.md) | Yes|New salt| -|hint|[string](../types/string.md) | Yes|Text hint for the password| -|has\_recovery|[Bool](../types/Bool.md) | Yes|Has recovery?| -|email\_unconfirmed\_pattern|[string](../types/string.md) | Yes|A [password recovery email](https://core.telegram.org/api/srp#email-verification) with the specified [pattern](https://core.telegram.org/api/pattern) is still awaiting verification| - - - -### Type: [account\_Password](../types/account_Password.md) - - -### Example: - -```php -$account_password = ['_' => 'account.password', 'current_salt' => 'bytes', 'new_salt' => 'bytes', 'hint' => 'string', 'has_recovery' => Bool, 'email_unconfirmed_pattern' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -account_password={_='account.password', current_salt='bytes', new_salt='bytes', hint='string', has_recovery=Bool, email_unconfirmed_pattern='string'} - -``` - - diff --git a/old_docs/API_docs_v71/constructors/account_passwordInputSettings.md b/old_docs/API_docs_v71/constructors/account_passwordInputSettings.md deleted file mode 100644 index 05ec666b..00000000 --- a/old_docs/API_docs_v71/constructors/account_passwordInputSettings.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: account.passwordInputSettings -description: Settings for setting up a new password -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.passwordInputSettings -[Back to constructors index](index.md) - - - -Settings for setting up a new password - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|new\_salt|[bytes](../types/bytes.md) | Optional|`$new_salt = $MadelineProto->account->getPassword()['new_salt'].$MadelineProto->random(8);`| -|new\_password\_hash|[bytes](../types/bytes.md) | Optional|The [computed password hash](https://core.telegram.org/api/srp)| -|hint|[string](../types/string.md) | Optional|Text hint for the password| -|email|[string](../types/string.md) | Optional|Password recovery email| - - - -### Type: [account\_PasswordInputSettings](../types/account_PasswordInputSettings.md) - - -### Example: - -```php -$account_passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_salt' => 'bytes', 'new_password_hash' => 'bytes', 'hint' => 'string', 'email' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -account_passwordInputSettings={_='account.passwordInputSettings', new_salt='bytes', new_password_hash='bytes', hint='string', email='string'} - -``` - - diff --git a/old_docs/API_docs_v71/constructors/account_passwordSettings.md b/old_docs/API_docs_v71/constructors/account_passwordSettings.md deleted file mode 100644 index e22f9cc4..00000000 --- a/old_docs/API_docs_v71/constructors/account_passwordSettings.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: account.passwordSettings -description: Private info associated to the password info (recovery email, telegram [passport](https://core.telegram.org/passport) info & so on) -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.passwordSettings -[Back to constructors index](index.md) - - - -Private info associated to the password info (recovery email, telegram [passport](https://core.telegram.org/passport) info & so on) - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|email|[string](../types/string.md) | Yes|[2FA Recovery email](https://core.telegram.org/api/srp#email-verification)| - - - -### Type: [account\_PasswordSettings](../types/account_PasswordSettings.md) - - -### Example: - -```php -$account_passwordSettings = ['_' => 'account.passwordSettings', 'email' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -account_passwordSettings={_='account.passwordSettings', email='string'} - -``` - - diff --git a/old_docs/API_docs_v71/constructors/account_privacyRules.md b/old_docs/API_docs_v71/constructors/account_privacyRules.md deleted file mode 100644 index 28b260b7..00000000 --- a/old_docs/API_docs_v71/constructors/account_privacyRules.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: account.privacyRules -description: Privacy rules -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.privacyRules -[Back to constructors index](index.md) - - - -Privacy rules - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|rules|Array of [PrivacyRule](../types/PrivacyRule.md) | Yes|Rules| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [account\_PrivacyRules](../types/account_PrivacyRules.md) - - -### Example: - -```php -$account_privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule, PrivacyRule], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -account_privacyRules={_='account.privacyRules', rules={PrivacyRule}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v71/constructors/account_tmpPassword.md b/old_docs/API_docs_v71/constructors/account_tmpPassword.md deleted file mode 100644 index 68832780..00000000 --- a/old_docs/API_docs_v71/constructors/account_tmpPassword.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: account.tmpPassword -description: Temporary payment password -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.tmpPassword -[Back to constructors index](index.md) - - - -Temporary payment password - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|tmp\_password|[bytes](../types/bytes.md) | Yes|Temporary password| -|valid\_until|[int](../types/int.md) | Yes|Validity period| - - - -### Type: [account\_TmpPassword](../types/account_TmpPassword.md) - - -### Example: - -```php -$account_tmpPassword = ['_' => 'account.tmpPassword', 'tmp_password' => 'bytes', 'valid_until' => int]; -``` - - -Or, if you're into Lua: - -```lua -account_tmpPassword={_='account.tmpPassword', tmp_password='bytes', valid_until=int} - -``` - - diff --git a/old_docs/API_docs_v71/constructors/auth.authorization.md b/old_docs/API_docs_v71/constructors/auth.authorization.md new file mode 100644 index 00000000..2a84bb12 --- /dev/null +++ b/old_docs/API_docs_v71/constructors/auth.authorization.md @@ -0,0 +1,39 @@ +--- +title: auth.authorization +description: Contains user authorization info. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.authorization +[Back to constructors index](index.md) + + + +Contains user authorization info. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|tmp\_sessions|[int](../types/int.md) | Optional|Temporary [passport](https://core.telegram.org/passport) sessions| +|user|[User](../types/User.md) | Optional|Info on authorized user| + + + +### Type: [auth.Authorization](../types/auth.Authorization.md) + + +### Example: + +```php +$auth.authorization = ['_' => 'auth.authorization', 'tmp_sessions' => int, 'user' => User]; +``` + + +Or, if you're into Lua: + +```lua +auth.authorization={_='auth.authorization', tmp_sessions=int, user=User} + +``` + + diff --git a/old_docs/API_docs_v71/constructors/auth.checkedPhone.md b/old_docs/API_docs_v71/constructors/auth.checkedPhone.md new file mode 100644 index 00000000..23e84cf9 --- /dev/null +++ b/old_docs/API_docs_v71/constructors/auth.checkedPhone.md @@ -0,0 +1,38 @@ +--- +title: auth.checkedPhone +description: Checked phone +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.checkedPhone +[Back to constructors index](index.md) + + + +Checked phone + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_registered|[Bool](../types/Bool.md) | Yes|Phone registered?| + + + +### Type: [auth.CheckedPhone](../types/auth.CheckedPhone.md) + + +### Example: + +```php +$auth.checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool]; +``` + + +Or, if you're into Lua: + +```lua +auth.checkedPhone={_='auth.checkedPhone', phone_registered=Bool} + +``` + + diff --git a/old_docs/API_docs_v71/constructors/auth.codeTypeCall.md b/old_docs/API_docs_v71/constructors/auth.codeTypeCall.md new file mode 100644 index 00000000..4b4a1cdc --- /dev/null +++ b/old_docs/API_docs_v71/constructors/auth.codeTypeCall.md @@ -0,0 +1,33 @@ +--- +title: auth.codeTypeCall +description: Type of verification code that will be sent next if you call the resendCode method: SMS code +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.codeTypeCall +[Back to constructors index](index.md) + + + +Type of verification code that will be sent next if you call the resendCode method: SMS code + + + + +### Type: [auth.CodeType](../types/auth.CodeType.md) + + +### Example: + +```php +$auth.codeTypeCall = ['_' => 'auth.codeTypeCall']; +``` + + +Or, if you're into Lua: + +```lua +auth.codeTypeCall={_='auth.codeTypeCall'} + +``` + + diff --git a/old_docs/API_docs_v71/constructors/auth.codeTypeFlashCall.md b/old_docs/API_docs_v71/constructors/auth.codeTypeFlashCall.md new file mode 100644 index 00000000..ef97e034 --- /dev/null +++ b/old_docs/API_docs_v71/constructors/auth.codeTypeFlashCall.md @@ -0,0 +1,33 @@ +--- +title: auth.codeTypeFlashCall +description: Type of verification code that will be sent next if you call the resendCode method: SMS code +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.codeTypeFlashCall +[Back to constructors index](index.md) + + + +Type of verification code that will be sent next if you call the resendCode method: SMS code + + + + +### Type: [auth.CodeType](../types/auth.CodeType.md) + + +### Example: + +```php +$auth.codeTypeFlashCall = ['_' => 'auth.codeTypeFlashCall']; +``` + + +Or, if you're into Lua: + +```lua +auth.codeTypeFlashCall={_='auth.codeTypeFlashCall'} + +``` + + diff --git a/old_docs/API_docs_v71/constructors/auth.codeTypeSms.md b/old_docs/API_docs_v71/constructors/auth.codeTypeSms.md new file mode 100644 index 00000000..bab9a5a4 --- /dev/null +++ b/old_docs/API_docs_v71/constructors/auth.codeTypeSms.md @@ -0,0 +1,33 @@ +--- +title: auth.codeTypeSms +description: Type of verification code that will be sent next if you call the resendCode method: SMS code +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.codeTypeSms +[Back to constructors index](index.md) + + + +Type of verification code that will be sent next if you call the resendCode method: SMS code + + + + +### Type: [auth.CodeType](../types/auth.CodeType.md) + + +### Example: + +```php +$auth.codeTypeSms = ['_' => 'auth.codeTypeSms']; +``` + + +Or, if you're into Lua: + +```lua +auth.codeTypeSms={_='auth.codeTypeSms'} + +``` + + diff --git a/old_docs/API_docs_v71/constructors/auth.exportedAuthorization.md b/old_docs/API_docs_v71/constructors/auth.exportedAuthorization.md new file mode 100644 index 00000000..2a4a9896 --- /dev/null +++ b/old_docs/API_docs_v71/constructors/auth.exportedAuthorization.md @@ -0,0 +1,39 @@ +--- +title: auth.exportedAuthorization +description: Data for copying of authorization between data centres. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.exportedAuthorization +[Back to constructors index](index.md) + + + +Data for copying of authorization between data centres. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|id|[int](../types/int.md) | Yes|Current user identifier| +|bytes|[bytes](../types/bytes.md) | Yes|Authorizes key| + + + +### Type: [auth.ExportedAuthorization](../types/auth.ExportedAuthorization.md) + + +### Example: + +```php +$auth.exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +auth.exportedAuthorization={_='auth.exportedAuthorization', id=int, bytes='bytes'} + +``` + + diff --git a/old_docs/API_docs_v71/constructors/auth.passwordRecovery.md b/old_docs/API_docs_v71/constructors/auth.passwordRecovery.md new file mode 100644 index 00000000..61de922d --- /dev/null +++ b/old_docs/API_docs_v71/constructors/auth.passwordRecovery.md @@ -0,0 +1,38 @@ +--- +title: auth.passwordRecovery +description: Recovery info of a [2FA password](https://core.telegram.org/api/srp), only for accounts with a [recovery email configured](https://core.telegram.org/api/srp#email-verification). +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.passwordRecovery +[Back to constructors index](index.md) + + + +Recovery info of a [2FA password](https://core.telegram.org/api/srp), only for accounts with a [recovery email configured](https://core.telegram.org/api/srp#email-verification). + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|email\_pattern|[string](../types/string.md) | Yes|The email to which the recovery code was sent must match this [pattern](https://core.telegram.org/api/pattern).| + + + +### Type: [auth.PasswordRecovery](../types/auth.PasswordRecovery.md) + + +### Example: + +```php +$auth.passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +auth.passwordRecovery={_='auth.passwordRecovery', email_pattern='string'} + +``` + + diff --git a/old_docs/API_docs_v71/constructors/auth.sentCode.md b/old_docs/API_docs_v71/constructors/auth.sentCode.md new file mode 100644 index 00000000..25e94704 --- /dev/null +++ b/old_docs/API_docs_v71/constructors/auth.sentCode.md @@ -0,0 +1,42 @@ +--- +title: auth.sentCode +description: Contains info about a sent verification code. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentCode +[Back to constructors index](index.md) + + + +Contains info about a sent verification code. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_registered|[Bool](../types/Bool.md) | Optional|Phone registered?| +|type|[auth.SentCodeType](../constructors/auth.SentCodeType.md) | Yes|Phone code type| +|phone\_code\_hash|[string](../types/string.md) | Yes|Phone code hash, to be stored and later re-used with [auth.signIn](../methods/auth.signIn.md)| +|next\_type|[auth.CodeType](../constructors/auth.CodeType.md) | Optional|Phone code type that will be sent next, if the phone code is not received within `timeout` seconds: to send it use [auth.resendCode](../methods/auth.resendCode.md)| +|timeout|[int](../types/int.md) | Optional|Timeout for reception of the phone code| + + + +### Type: [auth.SentCode](../types/auth.SentCode.md) + + +### Example: + +```php +$auth.sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'type' => auth.SentCodeType, 'phone_code_hash' => 'string', 'next_type' => auth.CodeType, 'timeout' => int]; +``` + + +Or, if you're into Lua: + +```lua +auth.sentCode={_='auth.sentCode', phone_registered=Bool, type=auth.SentCodeType, phone_code_hash='string', next_type=auth.CodeType, timeout=int} + +``` + + diff --git a/old_docs/API_docs_v71/constructors/auth.sentCodeTypeApp.md b/old_docs/API_docs_v71/constructors/auth.sentCodeTypeApp.md new file mode 100644 index 00000000..5f2d4aa3 --- /dev/null +++ b/old_docs/API_docs_v71/constructors/auth.sentCodeTypeApp.md @@ -0,0 +1,38 @@ +--- +title: auth.sentCodeTypeApp +description: The code was sent through the telegram app +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentCodeTypeApp +[Back to constructors index](index.md) + + + +The code was sent through the telegram app + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|length|[int](../types/int.md) | Yes|Length of the code in bytes| + + + +### Type: [auth.SentCodeType](../types/auth.SentCodeType.md) + + +### Example: + +```php +$auth.sentCodeTypeApp = ['_' => 'auth.sentCodeTypeApp', 'length' => int]; +``` + + +Or, if you're into Lua: + +```lua +auth.sentCodeTypeApp={_='auth.sentCodeTypeApp', length=int} + +``` + + diff --git a/old_docs/API_docs_v71/constructors/auth.sentCodeTypeCall.md b/old_docs/API_docs_v71/constructors/auth.sentCodeTypeCall.md new file mode 100644 index 00000000..9843b3df --- /dev/null +++ b/old_docs/API_docs_v71/constructors/auth.sentCodeTypeCall.md @@ -0,0 +1,38 @@ +--- +title: auth.sentCodeTypeCall +description: The code will be sent via a phone call: a synthesized voice will tell the user which verification code to input. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentCodeTypeCall +[Back to constructors index](index.md) + + + +The code will be sent via a phone call: a synthesized voice will tell the user which verification code to input. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|length|[int](../types/int.md) | Yes|Length of the verification code| + + + +### Type: [auth.SentCodeType](../types/auth.SentCodeType.md) + + +### Example: + +```php +$auth.sentCodeTypeCall = ['_' => 'auth.sentCodeTypeCall', 'length' => int]; +``` + + +Or, if you're into Lua: + +```lua +auth.sentCodeTypeCall={_='auth.sentCodeTypeCall', length=int} + +``` + + diff --git a/old_docs/API_docs_v71/constructors/auth.sentCodeTypeFlashCall.md b/old_docs/API_docs_v71/constructors/auth.sentCodeTypeFlashCall.md new file mode 100644 index 00000000..0d24751d --- /dev/null +++ b/old_docs/API_docs_v71/constructors/auth.sentCodeTypeFlashCall.md @@ -0,0 +1,38 @@ +--- +title: auth.sentCodeTypeFlashCall +description: The code will be sent via a flash phone call, that will be closed immediately. The phone code will then be the phone number itself, just make sure that the phone number matches the specified pattern. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentCodeTypeFlashCall +[Back to constructors index](index.md) + + + +The code will be sent via a flash phone call, that will be closed immediately. The phone code will then be the phone number itself, just make sure that the phone number matches the specified pattern. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pattern|[string](../types/string.md) | Yes|[pattern](https://core.telegram.org/api/pattern) to match| + + + +### Type: [auth.SentCodeType](../types/auth.SentCodeType.md) + + +### Example: + +```php +$auth.sentCodeTypeFlashCall = ['_' => 'auth.sentCodeTypeFlashCall', 'pattern' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +auth.sentCodeTypeFlashCall={_='auth.sentCodeTypeFlashCall', pattern='string'} + +``` + + diff --git a/old_docs/API_docs_v71/constructors/auth.sentCodeTypeSms.md b/old_docs/API_docs_v71/constructors/auth.sentCodeTypeSms.md new file mode 100644 index 00000000..d8ecb75e --- /dev/null +++ b/old_docs/API_docs_v71/constructors/auth.sentCodeTypeSms.md @@ -0,0 +1,38 @@ +--- +title: auth.sentCodeTypeSms +description: The code was sent via SMS +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentCodeTypeSms +[Back to constructors index](index.md) + + + +The code was sent via SMS + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|length|[int](../types/int.md) | Yes|Length of the code in bytes| + + + +### Type: [auth.SentCodeType](../types/auth.SentCodeType.md) + + +### Example: + +```php +$auth.sentCodeTypeSms = ['_' => 'auth.sentCodeTypeSms', 'length' => int]; +``` + + +Or, if you're into Lua: + +```lua +auth.sentCodeTypeSms={_='auth.sentCodeTypeSms', length=int} + +``` + + diff --git a/old_docs/API_docs_v71/constructors/auth_authorization.md b/old_docs/API_docs_v71/constructors/auth_authorization.md deleted file mode 100644 index cb72811d..00000000 --- a/old_docs/API_docs_v71/constructors/auth_authorization.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: auth.authorization -description: Contains user authorization info. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.authorization -[Back to constructors index](index.md) - - - -Contains user authorization info. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|tmp\_sessions|[int](../types/int.md) | Optional|Temporary [passport](https://core.telegram.org/passport) sessions| -|user|[User](../types/User.md) | Optional|Info on authorized user| - - - -### Type: [auth\_Authorization](../types/auth_Authorization.md) - - -### Example: - -```php -$auth_authorization = ['_' => 'auth.authorization', 'tmp_sessions' => int, 'user' => User]; -``` - - -Or, if you're into Lua: - -```lua -auth_authorization={_='auth.authorization', tmp_sessions=int, user=User} - -``` - - diff --git a/old_docs/API_docs_v71/constructors/auth_checkedPhone.md b/old_docs/API_docs_v71/constructors/auth_checkedPhone.md deleted file mode 100644 index c77becf6..00000000 --- a/old_docs/API_docs_v71/constructors/auth_checkedPhone.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.checkedPhone -description: Checked phone -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.checkedPhone -[Back to constructors index](index.md) - - - -Checked phone - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_registered|[Bool](../types/Bool.md) | Yes|Phone registered?| - - - -### Type: [auth\_CheckedPhone](../types/auth_CheckedPhone.md) - - -### Example: - -```php -$auth_checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool]; -``` - - -Or, if you're into Lua: - -```lua -auth_checkedPhone={_='auth.checkedPhone', phone_registered=Bool} - -``` - - diff --git a/old_docs/API_docs_v71/constructors/auth_codeTypeCall.md b/old_docs/API_docs_v71/constructors/auth_codeTypeCall.md deleted file mode 100644 index 3e957c2a..00000000 --- a/old_docs/API_docs_v71/constructors/auth_codeTypeCall.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: auth.codeTypeCall -description: Type of verification code that will be sent next if you call the resendCode method: SMS code -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.codeTypeCall -[Back to constructors index](index.md) - - - -Type of verification code that will be sent next if you call the resendCode method: SMS code - - - - -### Type: [auth\_CodeType](../types/auth_CodeType.md) - - -### Example: - -```php -$auth_codeTypeCall = ['_' => 'auth.codeTypeCall']; -``` - - -Or, if you're into Lua: - -```lua -auth_codeTypeCall={_='auth.codeTypeCall'} - -``` - - diff --git a/old_docs/API_docs_v71/constructors/auth_codeTypeFlashCall.md b/old_docs/API_docs_v71/constructors/auth_codeTypeFlashCall.md deleted file mode 100644 index 981b2461..00000000 --- a/old_docs/API_docs_v71/constructors/auth_codeTypeFlashCall.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: auth.codeTypeFlashCall -description: Type of verification code that will be sent next if you call the resendCode method: SMS code -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.codeTypeFlashCall -[Back to constructors index](index.md) - - - -Type of verification code that will be sent next if you call the resendCode method: SMS code - - - - -### Type: [auth\_CodeType](../types/auth_CodeType.md) - - -### Example: - -```php -$auth_codeTypeFlashCall = ['_' => 'auth.codeTypeFlashCall']; -``` - - -Or, if you're into Lua: - -```lua -auth_codeTypeFlashCall={_='auth.codeTypeFlashCall'} - -``` - - diff --git a/old_docs/API_docs_v71/constructors/auth_codeTypeSms.md b/old_docs/API_docs_v71/constructors/auth_codeTypeSms.md deleted file mode 100644 index 16eb5d0d..00000000 --- a/old_docs/API_docs_v71/constructors/auth_codeTypeSms.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: auth.codeTypeSms -description: Type of verification code that will be sent next if you call the resendCode method: SMS code -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.codeTypeSms -[Back to constructors index](index.md) - - - -Type of verification code that will be sent next if you call the resendCode method: SMS code - - - - -### Type: [auth\_CodeType](../types/auth_CodeType.md) - - -### Example: - -```php -$auth_codeTypeSms = ['_' => 'auth.codeTypeSms']; -``` - - -Or, if you're into Lua: - -```lua -auth_codeTypeSms={_='auth.codeTypeSms'} - -``` - - diff --git a/old_docs/API_docs_v71/constructors/auth_exportedAuthorization.md b/old_docs/API_docs_v71/constructors/auth_exportedAuthorization.md deleted file mode 100644 index 8d18916e..00000000 --- a/old_docs/API_docs_v71/constructors/auth_exportedAuthorization.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: auth.exportedAuthorization -description: Data for copying of authorization between data centres. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.exportedAuthorization -[Back to constructors index](index.md) - - - -Data for copying of authorization between data centres. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|id|[int](../types/int.md) | Yes|Current user identifier| -|bytes|[bytes](../types/bytes.md) | Yes|Authorizes key| - - - -### Type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) - - -### Example: - -```php -$auth_exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -auth_exportedAuthorization={_='auth.exportedAuthorization', id=int, bytes='bytes'} - -``` - - diff --git a/old_docs/API_docs_v71/constructors/auth_passwordRecovery.md b/old_docs/API_docs_v71/constructors/auth_passwordRecovery.md deleted file mode 100644 index c40f375e..00000000 --- a/old_docs/API_docs_v71/constructors/auth_passwordRecovery.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.passwordRecovery -description: Recovery info of a [2FA password](https://core.telegram.org/api/srp), only for accounts with a [recovery email configured](https://core.telegram.org/api/srp#email-verification). -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.passwordRecovery -[Back to constructors index](index.md) - - - -Recovery info of a [2FA password](https://core.telegram.org/api/srp), only for accounts with a [recovery email configured](https://core.telegram.org/api/srp#email-verification). - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|email\_pattern|[string](../types/string.md) | Yes|The email to which the recovery code was sent must match this [pattern](https://core.telegram.org/api/pattern).| - - - -### Type: [auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) - - -### Example: - -```php -$auth_passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -auth_passwordRecovery={_='auth.passwordRecovery', email_pattern='string'} - -``` - - diff --git a/old_docs/API_docs_v71/constructors/auth_sentCode.md b/old_docs/API_docs_v71/constructors/auth_sentCode.md deleted file mode 100644 index 622c4137..00000000 --- a/old_docs/API_docs_v71/constructors/auth_sentCode.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: auth.sentCode -description: Contains info about a sent verification code. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentCode -[Back to constructors index](index.md) - - - -Contains info about a sent verification code. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_registered|[Bool](../types/Bool.md) | Optional|Phone registered?| -|type|[auth\_SentCodeType](../types/auth_SentCodeType.md) | Yes|Phone code type| -|phone\_code\_hash|[string](../types/string.md) | Yes|Phone code hash, to be stored and later re-used with [auth.signIn](../methods/auth.signIn.md)| -|next\_type|[auth\_CodeType](../types/auth_CodeType.md) | Optional|Phone code type that will be sent next, if the phone code is not received within `timeout` seconds: to send it use [auth.resendCode](../methods/auth.resendCode.md)| -|timeout|[int](../types/int.md) | Optional|Timeout for reception of the phone code| - - - -### Type: [auth\_SentCode](../types/auth_SentCode.md) - - -### Example: - -```php -$auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'type' => auth_SentCodeType, 'phone_code_hash' => 'string', 'next_type' => auth_CodeType, 'timeout' => int]; -``` - - -Or, if you're into Lua: - -```lua -auth_sentCode={_='auth.sentCode', phone_registered=Bool, type=auth_SentCodeType, phone_code_hash='string', next_type=auth_CodeType, timeout=int} - -``` - - diff --git a/old_docs/API_docs_v71/constructors/auth_sentCodeTypeApp.md b/old_docs/API_docs_v71/constructors/auth_sentCodeTypeApp.md deleted file mode 100644 index 6b7ad824..00000000 --- a/old_docs/API_docs_v71/constructors/auth_sentCodeTypeApp.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.sentCodeTypeApp -description: The code was sent through the telegram app -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentCodeTypeApp -[Back to constructors index](index.md) - - - -The code was sent through the telegram app - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|length|[int](../types/int.md) | Yes|Length of the code in bytes| - - - -### Type: [auth\_SentCodeType](../types/auth_SentCodeType.md) - - -### Example: - -```php -$auth_sentCodeTypeApp = ['_' => 'auth.sentCodeTypeApp', 'length' => int]; -``` - - -Or, if you're into Lua: - -```lua -auth_sentCodeTypeApp={_='auth.sentCodeTypeApp', length=int} - -``` - - diff --git a/old_docs/API_docs_v71/constructors/auth_sentCodeTypeCall.md b/old_docs/API_docs_v71/constructors/auth_sentCodeTypeCall.md deleted file mode 100644 index bf025aa5..00000000 --- a/old_docs/API_docs_v71/constructors/auth_sentCodeTypeCall.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.sentCodeTypeCall -description: The code will be sent via a phone call: a synthesized voice will tell the user which verification code to input. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentCodeTypeCall -[Back to constructors index](index.md) - - - -The code will be sent via a phone call: a synthesized voice will tell the user which verification code to input. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|length|[int](../types/int.md) | Yes|Length of the verification code| - - - -### Type: [auth\_SentCodeType](../types/auth_SentCodeType.md) - - -### Example: - -```php -$auth_sentCodeTypeCall = ['_' => 'auth.sentCodeTypeCall', 'length' => int]; -``` - - -Or, if you're into Lua: - -```lua -auth_sentCodeTypeCall={_='auth.sentCodeTypeCall', length=int} - -``` - - diff --git a/old_docs/API_docs_v71/constructors/auth_sentCodeTypeFlashCall.md b/old_docs/API_docs_v71/constructors/auth_sentCodeTypeFlashCall.md deleted file mode 100644 index efe64ce7..00000000 --- a/old_docs/API_docs_v71/constructors/auth_sentCodeTypeFlashCall.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.sentCodeTypeFlashCall -description: The code will be sent via a flash phone call, that will be closed immediately. The phone code will then be the phone number itself, just make sure that the phone number matches the specified pattern. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentCodeTypeFlashCall -[Back to constructors index](index.md) - - - -The code will be sent via a flash phone call, that will be closed immediately. The phone code will then be the phone number itself, just make sure that the phone number matches the specified pattern. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pattern|[string](../types/string.md) | Yes|[pattern](https://core.telegram.org/api/pattern) to match| - - - -### Type: [auth\_SentCodeType](../types/auth_SentCodeType.md) - - -### Example: - -```php -$auth_sentCodeTypeFlashCall = ['_' => 'auth.sentCodeTypeFlashCall', 'pattern' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -auth_sentCodeTypeFlashCall={_='auth.sentCodeTypeFlashCall', pattern='string'} - -``` - - diff --git a/old_docs/API_docs_v71/constructors/auth_sentCodeTypeSms.md b/old_docs/API_docs_v71/constructors/auth_sentCodeTypeSms.md deleted file mode 100644 index 8e27dac9..00000000 --- a/old_docs/API_docs_v71/constructors/auth_sentCodeTypeSms.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.sentCodeTypeSms -description: The code was sent via SMS -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentCodeTypeSms -[Back to constructors index](index.md) - - - -The code was sent via SMS - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|length|[int](../types/int.md) | Yes|Length of the code in bytes| - - - -### Type: [auth\_SentCodeType](../types/auth_SentCodeType.md) - - -### Example: - -```php -$auth_sentCodeTypeSms = ['_' => 'auth.sentCodeTypeSms', 'length' => int]; -``` - - -Or, if you're into Lua: - -```lua -auth_sentCodeTypeSms={_='auth.sentCodeTypeSms', length=int} - -``` - - diff --git a/old_docs/API_docs_v71/constructors/channels.adminLogResults.md b/old_docs/API_docs_v71/constructors/channels.adminLogResults.md new file mode 100644 index 00000000..fc4e234a --- /dev/null +++ b/old_docs/API_docs_v71/constructors/channels.adminLogResults.md @@ -0,0 +1,40 @@ +--- +title: channels.adminLogResults +description: Admin log events +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: channels.adminLogResults +[Back to constructors index](index.md) + + + +Admin log events + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|events|Array of [ChannelAdminLogEvent](../types/ChannelAdminLogEvent.md) | Yes|Events| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [channels.AdminLogResults](../types/channels.AdminLogResults.md) + + +### Example: + +```php +$channels.adminLogResults = ['_' => 'channels.adminLogResults', 'events' => [ChannelAdminLogEvent, ChannelAdminLogEvent], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +channels.adminLogResults={_='channels.adminLogResults', events={ChannelAdminLogEvent}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v71/constructors/channels.channelParticipant.md b/old_docs/API_docs_v71/constructors/channels.channelParticipant.md new file mode 100644 index 00000000..0f09777f --- /dev/null +++ b/old_docs/API_docs_v71/constructors/channels.channelParticipant.md @@ -0,0 +1,39 @@ +--- +title: channels.channelParticipant +description: Represents a channel participant +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: channels.channelParticipant +[Back to constructors index](index.md) + + + +Represents a channel participant + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|participant|[ChannelParticipant](../types/ChannelParticipant.md) | Yes|The channel participant| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [channels.ChannelParticipant](../types/channels.ChannelParticipant.md) + + +### Example: + +```php +$channels.channelParticipant = ['_' => 'channels.channelParticipant', 'participant' => ChannelParticipant, 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +channels.channelParticipant={_='channels.channelParticipant', participant=ChannelParticipant, users={User}} + +``` + + diff --git a/old_docs/API_docs_v71/constructors/channels.channelParticipants.md b/old_docs/API_docs_v71/constructors/channels.channelParticipants.md new file mode 100644 index 00000000..6ee1a8b3 --- /dev/null +++ b/old_docs/API_docs_v71/constructors/channels.channelParticipants.md @@ -0,0 +1,40 @@ +--- +title: channels.channelParticipants +description: Represents multiple channel participants +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: channels.channelParticipants +[Back to constructors index](index.md) + + + +Represents multiple channel participants + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of participants that correspond to the given query| +|participants|Array of [ChannelParticipant](../types/ChannelParticipant.md) | Yes|Participants| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [channels.ChannelParticipants](../types/channels.ChannelParticipants.md) + + +### Example: + +```php +$channels.channelParticipants = ['_' => 'channels.channelParticipants', 'count' => int, 'participants' => [ChannelParticipant, ChannelParticipant], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +channels.channelParticipants={_='channels.channelParticipants', count=int, participants={ChannelParticipant}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v71/constructors/channels_adminLogResults.md b/old_docs/API_docs_v71/constructors/channels_adminLogResults.md deleted file mode 100644 index 9061212a..00000000 --- a/old_docs/API_docs_v71/constructors/channels_adminLogResults.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: channels.adminLogResults -description: Admin log events -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: channels.adminLogResults -[Back to constructors index](index.md) - - - -Admin log events - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|events|Array of [ChannelAdminLogEvent](../types/ChannelAdminLogEvent.md) | Yes|Events| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [channels\_AdminLogResults](../types/channels_AdminLogResults.md) - - -### Example: - -```php -$channels_adminLogResults = ['_' => 'channels.adminLogResults', 'events' => [ChannelAdminLogEvent, ChannelAdminLogEvent], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -channels_adminLogResults={_='channels.adminLogResults', events={ChannelAdminLogEvent}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v71/constructors/channels_channelParticipant.md b/old_docs/API_docs_v71/constructors/channels_channelParticipant.md deleted file mode 100644 index 15fe46a4..00000000 --- a/old_docs/API_docs_v71/constructors/channels_channelParticipant.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: channels.channelParticipant -description: Represents a channel participant -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: channels.channelParticipant -[Back to constructors index](index.md) - - - -Represents a channel participant - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|participant|[ChannelParticipant](../types/ChannelParticipant.md) | Yes|The channel participant| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [channels\_ChannelParticipant](../types/channels_ChannelParticipant.md) - - -### Example: - -```php -$channels_channelParticipant = ['_' => 'channels.channelParticipant', 'participant' => ChannelParticipant, 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -channels_channelParticipant={_='channels.channelParticipant', participant=ChannelParticipant, users={User}} - -``` - - diff --git a/old_docs/API_docs_v71/constructors/channels_channelParticipants.md b/old_docs/API_docs_v71/constructors/channels_channelParticipants.md deleted file mode 100644 index 1848a04f..00000000 --- a/old_docs/API_docs_v71/constructors/channels_channelParticipants.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: channels.channelParticipants -description: Represents multiple channel participants -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: channels.channelParticipants -[Back to constructors index](index.md) - - - -Represents multiple channel participants - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of participants that correspond to the given query| -|participants|Array of [ChannelParticipant](../types/ChannelParticipant.md) | Yes|Participants| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [channels\_ChannelParticipants](../types/channels_ChannelParticipants.md) - - -### Example: - -```php -$channels_channelParticipants = ['_' => 'channels.channelParticipants', 'count' => int, 'participants' => [ChannelParticipant, ChannelParticipant], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -channels_channelParticipants={_='channels.channelParticipants', count=int, participants={ChannelParticipant}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v71/constructors/contacts.blocked.md b/old_docs/API_docs_v71/constructors/contacts.blocked.md new file mode 100644 index 00000000..d2b3f680 --- /dev/null +++ b/old_docs/API_docs_v71/constructors/contacts.blocked.md @@ -0,0 +1,39 @@ +--- +title: contacts.blocked +description: Full list of blocked users. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.blocked +[Back to constructors index](index.md) + + + +Full list of blocked users. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Blocked](../types/contacts.Blocked.md) + + +### Example: + +```php +$contacts.blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.blocked={_='contacts.blocked', blocked={ContactBlocked}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v71/constructors/contacts.blockedSlice.md b/old_docs/API_docs_v71/constructors/contacts.blockedSlice.md new file mode 100644 index 00000000..92d19c72 --- /dev/null +++ b/old_docs/API_docs_v71/constructors/contacts.blockedSlice.md @@ -0,0 +1,40 @@ +--- +title: contacts.blockedSlice +description: Incomplete list of blocked users. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.blockedSlice +[Back to constructors index](index.md) + + + +Incomplete list of blocked users. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of elements in the list| +|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Blocked](../types/contacts.Blocked.md) + + +### Example: + +```php +$contacts.blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.blockedSlice={_='contacts.blockedSlice', count=int, blocked={ContactBlocked}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v71/constructors/contacts.contacts.md b/old_docs/API_docs_v71/constructors/contacts.contacts.md new file mode 100644 index 00000000..c3251e5d --- /dev/null +++ b/old_docs/API_docs_v71/constructors/contacts.contacts.md @@ -0,0 +1,40 @@ +--- +title: contacts.contacts +description: The current user's contact list and info on users. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.contacts +[Back to constructors index](index.md) + + + +The current user's contact list and info on users. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|contacts|Array of [Contact](../types/Contact.md) | Yes|Contacts| +|saved\_count|[int](../types/int.md) | Yes|Number of contacts that were saved successfully| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Contacts](../types/contacts.Contacts.md) + + +### Example: + +```php +$contacts.contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact, Contact], 'saved_count' => int, 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.contacts={_='contacts.contacts', contacts={Contact}, saved_count=int, users={User}} + +``` + + diff --git a/old_docs/API_docs_v71/constructors/contacts.contactsNotModified.md b/old_docs/API_docs_v71/constructors/contacts.contactsNotModified.md new file mode 100644 index 00000000..e2149396 --- /dev/null +++ b/old_docs/API_docs_v71/constructors/contacts.contactsNotModified.md @@ -0,0 +1,33 @@ +--- +title: contacts.contactsNotModified +description: Contact list on the server is the same as the list on the client. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.contactsNotModified +[Back to constructors index](index.md) + + + +Contact list on the server is the same as the list on the client. + + + + +### Type: [contacts.Contacts](../types/contacts.Contacts.md) + + +### Example: + +```php +$contacts.contactsNotModified = ['_' => 'contacts.contactsNotModified']; +``` + + +Or, if you're into Lua: + +```lua +contacts.contactsNotModified={_='contacts.contactsNotModified'} + +``` + + diff --git a/old_docs/API_docs_v71/constructors/contacts.found.md b/old_docs/API_docs_v71/constructors/contacts.found.md new file mode 100644 index 00000000..1eaa93b7 --- /dev/null +++ b/old_docs/API_docs_v71/constructors/contacts.found.md @@ -0,0 +1,40 @@ +--- +title: contacts.found +description: Users found by name substring and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.found +[Back to constructors index](index.md) + + + +Users found by name substring and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|results|Array of [Peer](../types/Peer.md) | Yes|Results| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Found](../types/contacts.Found.md) + + +### Example: + +```php +$contacts.found = ['_' => 'contacts.found', 'results' => [Peer, Peer], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.found={_='contacts.found', results={Peer}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v71/constructors/contacts.importedContacts.md b/old_docs/API_docs_v71/constructors/contacts.importedContacts.md new file mode 100644 index 00000000..20075931 --- /dev/null +++ b/old_docs/API_docs_v71/constructors/contacts.importedContacts.md @@ -0,0 +1,41 @@ +--- +title: contacts.importedContacts +description: Info on succesfully imported contacts. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.importedContacts +[Back to constructors index](index.md) + + + +Info on succesfully imported contacts. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|imported|Array of [ImportedContact](../types/ImportedContact.md) | Yes|Imported| +|popular\_invites|Array of [PopularContact](../types/PopularContact.md) | Yes|Popular invites| +|retry\_contacts|Array of [long](../types/long.md) | Yes|Retry importing contacts whose client IDs appear here| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.ImportedContacts](../types/contacts.ImportedContacts.md) + + +### Example: + +```php +$contacts.importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact, ImportedContact], 'popular_invites' => [PopularContact, PopularContact], 'retry_contacts' => [long, long], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.importedContacts={_='contacts.importedContacts', imported={ImportedContact}, popular_invites={PopularContact}, retry_contacts={long}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v71/constructors/contacts.link.md b/old_docs/API_docs_v71/constructors/contacts.link.md new file mode 100644 index 00000000..ab150a0d --- /dev/null +++ b/old_docs/API_docs_v71/constructors/contacts.link.md @@ -0,0 +1,40 @@ +--- +title: contacts.link +description: Link +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.link +[Back to constructors index](index.md) + + + +Link + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|my\_link|[ContactLink](../types/ContactLink.md) | Yes|My link| +|foreign\_link|[ContactLink](../types/ContactLink.md) | Yes|Foreign link| +|user|[User](../types/User.md) | Optional|User| + + + +### Type: [contacts.Link](../types/contacts.Link.md) + + +### Example: + +```php +$contacts.link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User]; +``` + + +Or, if you're into Lua: + +```lua +contacts.link={_='contacts.link', my_link=ContactLink, foreign_link=ContactLink, user=User} + +``` + + diff --git a/old_docs/API_docs_v71/constructors/contacts.resolvedPeer.md b/old_docs/API_docs_v71/constructors/contacts.resolvedPeer.md new file mode 100644 index 00000000..35d88481 --- /dev/null +++ b/old_docs/API_docs_v71/constructors/contacts.resolvedPeer.md @@ -0,0 +1,40 @@ +--- +title: contacts.resolvedPeer +description: Resolved peer +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.resolvedPeer +[Back to constructors index](index.md) + + + +Resolved peer + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|peer|[Peer](../types/Peer.md) | Yes|The peer| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.ResolvedPeer](../types/contacts.ResolvedPeer.md) + + +### Example: + +```php +$contacts.resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.resolvedPeer={_='contacts.resolvedPeer', peer=Peer, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v71/constructors/contacts.topPeers.md b/old_docs/API_docs_v71/constructors/contacts.topPeers.md new file mode 100644 index 00000000..19d9c712 --- /dev/null +++ b/old_docs/API_docs_v71/constructors/contacts.topPeers.md @@ -0,0 +1,40 @@ +--- +title: contacts.topPeers +description: Top peers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.topPeers +[Back to constructors index](index.md) + + + +Top peers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|categories|Array of [TopPeerCategoryPeers](../types/TopPeerCategoryPeers.md) | Yes|Categories| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.TopPeers](../types/contacts.TopPeers.md) + + +### Example: + +```php +$contacts.topPeers = ['_' => 'contacts.topPeers', 'categories' => [TopPeerCategoryPeers, TopPeerCategoryPeers], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.topPeers={_='contacts.topPeers', categories={TopPeerCategoryPeers}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v71/constructors/contacts.topPeersNotModified.md b/old_docs/API_docs_v71/constructors/contacts.topPeersNotModified.md new file mode 100644 index 00000000..77c5eb4d --- /dev/null +++ b/old_docs/API_docs_v71/constructors/contacts.topPeersNotModified.md @@ -0,0 +1,33 @@ +--- +title: contacts.topPeersNotModified +description: Top peer info hasn't changed +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.topPeersNotModified +[Back to constructors index](index.md) + + + +Top peer info hasn't changed + + + + +### Type: [contacts.TopPeers](../types/contacts.TopPeers.md) + + +### Example: + +```php +$contacts.topPeersNotModified = ['_' => 'contacts.topPeersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +contacts.topPeersNotModified={_='contacts.topPeersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v71/constructors/contacts_blocked.md b/old_docs/API_docs_v71/constructors/contacts_blocked.md deleted file mode 100644 index 20e33002..00000000 --- a/old_docs/API_docs_v71/constructors/contacts_blocked.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: contacts.blocked -description: Full list of blocked users. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.blocked -[Back to constructors index](index.md) - - - -Full list of blocked users. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Blocked](../types/contacts_Blocked.md) - - -### Example: - -```php -$contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_blocked={_='contacts.blocked', blocked={ContactBlocked}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v71/constructors/contacts_blockedSlice.md b/old_docs/API_docs_v71/constructors/contacts_blockedSlice.md deleted file mode 100644 index fcab9a28..00000000 --- a/old_docs/API_docs_v71/constructors/contacts_blockedSlice.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.blockedSlice -description: Incomplete list of blocked users. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.blockedSlice -[Back to constructors index](index.md) - - - -Incomplete list of blocked users. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of elements in the list| -|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Blocked](../types/contacts_Blocked.md) - - -### Example: - -```php -$contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_blockedSlice={_='contacts.blockedSlice', count=int, blocked={ContactBlocked}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v71/constructors/contacts_contacts.md b/old_docs/API_docs_v71/constructors/contacts_contacts.md deleted file mode 100644 index 0e6f0dd3..00000000 --- a/old_docs/API_docs_v71/constructors/contacts_contacts.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.contacts -description: The current user's contact list and info on users. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.contacts -[Back to constructors index](index.md) - - - -The current user's contact list and info on users. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|contacts|Array of [Contact](../types/Contact.md) | Yes|Contacts| -|saved\_count|[int](../types/int.md) | Yes|Number of contacts that were saved successfully| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Contacts](../types/contacts_Contacts.md) - - -### Example: - -```php -$contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact, Contact], 'saved_count' => int, 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_contacts={_='contacts.contacts', contacts={Contact}, saved_count=int, users={User}} - -``` - - diff --git a/old_docs/API_docs_v71/constructors/contacts_contactsNotModified.md b/old_docs/API_docs_v71/constructors/contacts_contactsNotModified.md deleted file mode 100644 index 17e76ac3..00000000 --- a/old_docs/API_docs_v71/constructors/contacts_contactsNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: contacts.contactsNotModified -description: Contact list on the server is the same as the list on the client. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.contactsNotModified -[Back to constructors index](index.md) - - - -Contact list on the server is the same as the list on the client. - - - - -### Type: [contacts\_Contacts](../types/contacts_Contacts.md) - - -### Example: - -```php -$contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified']; -``` - - -Or, if you're into Lua: - -```lua -contacts_contactsNotModified={_='contacts.contactsNotModified'} - -``` - - diff --git a/old_docs/API_docs_v71/constructors/contacts_found.md b/old_docs/API_docs_v71/constructors/contacts_found.md deleted file mode 100644 index 0674aabf..00000000 --- a/old_docs/API_docs_v71/constructors/contacts_found.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.found -description: Users found by name substring and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.found -[Back to constructors index](index.md) - - - -Users found by name substring and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|results|Array of [Peer](../types/Peer.md) | Yes|Results| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Found](../types/contacts_Found.md) - - -### Example: - -```php -$contacts_found = ['_' => 'contacts.found', 'results' => [Peer, Peer], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_found={_='contacts.found', results={Peer}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v71/constructors/contacts_importedContacts.md b/old_docs/API_docs_v71/constructors/contacts_importedContacts.md deleted file mode 100644 index e534754b..00000000 --- a/old_docs/API_docs_v71/constructors/contacts_importedContacts.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: contacts.importedContacts -description: Info on succesfully imported contacts. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.importedContacts -[Back to constructors index](index.md) - - - -Info on succesfully imported contacts. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|imported|Array of [ImportedContact](../types/ImportedContact.md) | Yes|Imported| -|popular\_invites|Array of [PopularContact](../types/PopularContact.md) | Yes|Popular invites| -|retry\_contacts|Array of [long](../types/long.md) | Yes|Retry importing contacts whose client IDs appear here| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) - - -### Example: - -```php -$contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact, ImportedContact], 'popular_invites' => [PopularContact, PopularContact], 'retry_contacts' => [long, long], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_importedContacts={_='contacts.importedContacts', imported={ImportedContact}, popular_invites={PopularContact}, retry_contacts={long}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v71/constructors/contacts_link.md b/old_docs/API_docs_v71/constructors/contacts_link.md deleted file mode 100644 index cfc566c7..00000000 --- a/old_docs/API_docs_v71/constructors/contacts_link.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.link -description: Link -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.link -[Back to constructors index](index.md) - - - -Link - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|my\_link|[ContactLink](../types/ContactLink.md) | Yes|My link| -|foreign\_link|[ContactLink](../types/ContactLink.md) | Yes|Foreign link| -|user|[User](../types/User.md) | Optional|User| - - - -### Type: [contacts\_Link](../types/contacts_Link.md) - - -### Example: - -```php -$contacts_link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User]; -``` - - -Or, if you're into Lua: - -```lua -contacts_link={_='contacts.link', my_link=ContactLink, foreign_link=ContactLink, user=User} - -``` - - diff --git a/old_docs/API_docs_v71/constructors/contacts_resolvedPeer.md b/old_docs/API_docs_v71/constructors/contacts_resolvedPeer.md deleted file mode 100644 index aae3c7af..00000000 --- a/old_docs/API_docs_v71/constructors/contacts_resolvedPeer.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.resolvedPeer -description: Resolved peer -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.resolvedPeer -[Back to constructors index](index.md) - - - -Resolved peer - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|peer|[Peer](../types/Peer.md) | Yes|The peer| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_ResolvedPeer](../types/contacts_ResolvedPeer.md) - - -### Example: - -```php -$contacts_resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_resolvedPeer={_='contacts.resolvedPeer', peer=Peer, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v71/constructors/contacts_topPeers.md b/old_docs/API_docs_v71/constructors/contacts_topPeers.md deleted file mode 100644 index 77bc07d3..00000000 --- a/old_docs/API_docs_v71/constructors/contacts_topPeers.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.topPeers -description: Top peers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.topPeers -[Back to constructors index](index.md) - - - -Top peers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|categories|Array of [TopPeerCategoryPeers](../types/TopPeerCategoryPeers.md) | Yes|Categories| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_TopPeers](../types/contacts_TopPeers.md) - - -### Example: - -```php -$contacts_topPeers = ['_' => 'contacts.topPeers', 'categories' => [TopPeerCategoryPeers, TopPeerCategoryPeers], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_topPeers={_='contacts.topPeers', categories={TopPeerCategoryPeers}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v71/constructors/contacts_topPeersNotModified.md b/old_docs/API_docs_v71/constructors/contacts_topPeersNotModified.md deleted file mode 100644 index 43eae59d..00000000 --- a/old_docs/API_docs_v71/constructors/contacts_topPeersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: contacts.topPeersNotModified -description: Top peer info hasn't changed -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.topPeersNotModified -[Back to constructors index](index.md) - - - -Top peer info hasn't changed - - - - -### Type: [contacts\_TopPeers](../types/contacts_TopPeers.md) - - -### Example: - -```php -$contacts_topPeersNotModified = ['_' => 'contacts.topPeersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -contacts_topPeersNotModified={_='contacts.topPeersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v71/constructors/help.appUpdate.md b/old_docs/API_docs_v71/constructors/help.appUpdate.md new file mode 100644 index 00000000..14b2d75b --- /dev/null +++ b/old_docs/API_docs_v71/constructors/help.appUpdate.md @@ -0,0 +1,41 @@ +--- +title: help.appUpdate +description: An update is available for the application. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.appUpdate +[Back to constructors index](index.md) + + + +An update is available for the application. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|id|[int](../types/int.md) | Yes|Update ID| +|critical|[Bool](../types/Bool.md) | Yes|Critical?| +|url|[string](../types/string.md) | Yes|Application download URL| +|text|[string](../types/string.md) | Yes|Text description of the update| + + + +### Type: [help.AppUpdate](../types/help.AppUpdate.md) + + +### Example: + +```php +$help.appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'url' => 'string', 'text' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +help.appUpdate={_='help.appUpdate', id=int, critical=Bool, url='string', text='string'} + +``` + + diff --git a/old_docs/API_docs_v71/constructors/help.configSimple.md b/old_docs/API_docs_v71/constructors/help.configSimple.md new file mode 100644 index 00000000..516ba611 --- /dev/null +++ b/old_docs/API_docs_v71/constructors/help.configSimple.md @@ -0,0 +1,41 @@ +--- +title: help.configSimple +description: Config simple +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.configSimple +[Back to constructors index](index.md) + + + +Config simple + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Date| +|expires|[int](../types/int.md) | Yes|Expires| +|dc\_id|[int](../types/int.md) | Yes|DC ID| +|ip\_port\_list|Array of [ipPort](../constructors/ipPort.md) | Yes|Ip port list| + + + +### Type: [help.ConfigSimple](../types/help.ConfigSimple.md) + + +### Example: + +```php +$help.configSimple = ['_' => 'help.configSimple', 'date' => int, 'expires' => int, 'dc_id' => int, 'ip_port_list' => [ipPort, ipPort]]; +``` + + +Or, if you're into Lua: + +```lua +help.configSimple={_='help.configSimple', date=int, expires=int, dc_id=int, ip_port_list={ipPort}} + +``` + + diff --git a/old_docs/API_docs_v71/constructors/help.inviteText.md b/old_docs/API_docs_v71/constructors/help.inviteText.md new file mode 100644 index 00000000..6a6261c1 --- /dev/null +++ b/old_docs/API_docs_v71/constructors/help.inviteText.md @@ -0,0 +1,38 @@ +--- +title: help.inviteText +description: Text of a text message with an invitation to install application. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.inviteText +[Back to constructors index](index.md) + + + +Text of a text message with an invitation to install application. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|message|[string](../types/string.md) | Yes|Text of a message| + + + +### Type: [help.InviteText](../types/help.InviteText.md) + + +### Example: + +```php +$help.inviteText = ['_' => 'help.inviteText', 'message' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +help.inviteText={_='help.inviteText', message='string'} + +``` + + diff --git a/old_docs/API_docs_v71/constructors/help.noAppUpdate.md b/old_docs/API_docs_v71/constructors/help.noAppUpdate.md new file mode 100644 index 00000000..1b69ac9a --- /dev/null +++ b/old_docs/API_docs_v71/constructors/help.noAppUpdate.md @@ -0,0 +1,33 @@ +--- +title: help.noAppUpdate +description: No updates are available for the application. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.noAppUpdate +[Back to constructors index](index.md) + + + +No updates are available for the application. + + + + +### Type: [help.AppUpdate](../types/help.AppUpdate.md) + + +### Example: + +```php +$help.noAppUpdate = ['_' => 'help.noAppUpdate']; +``` + + +Or, if you're into Lua: + +```lua +help.noAppUpdate={_='help.noAppUpdate'} + +``` + + diff --git a/old_docs/API_docs_v71/constructors/help.support.md b/old_docs/API_docs_v71/constructors/help.support.md new file mode 100644 index 00000000..4d4f85fb --- /dev/null +++ b/old_docs/API_docs_v71/constructors/help.support.md @@ -0,0 +1,39 @@ +--- +title: help.support +description: Info on support user. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.support +[Back to constructors index](index.md) + + + +Info on support user. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_number|[string](../types/string.md) | Yes|Phone number| +|user|[User](../types/User.md) | Optional|User| + + + +### Type: [help.Support](../types/help.Support.md) + + +### Example: + +```php +$help.support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => User]; +``` + + +Or, if you're into Lua: + +```lua +help.support={_='help.support', phone_number='string', user=User} + +``` + + diff --git a/old_docs/API_docs_v71/constructors/help.termsOfService.md b/old_docs/API_docs_v71/constructors/help.termsOfService.md new file mode 100644 index 00000000..cab1f128 --- /dev/null +++ b/old_docs/API_docs_v71/constructors/help.termsOfService.md @@ -0,0 +1,38 @@ +--- +title: help.termsOfService +description: Info about the latest telegram Terms Of Service +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.termsOfService +[Back to constructors index](index.md) + + + +Info about the latest telegram Terms Of Service + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|text|[string](../types/string.md) | Yes|Text of the new terms| + + + +### Type: [help.TermsOfService](../types/help.TermsOfService.md) + + +### Example: + +```php +$help.termsOfService = ['_' => 'help.termsOfService', 'text' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +help.termsOfService={_='help.termsOfService', text='string'} + +``` + + diff --git a/old_docs/API_docs_v71/constructors/help_appUpdate.md b/old_docs/API_docs_v71/constructors/help_appUpdate.md deleted file mode 100644 index efba9bdb..00000000 --- a/old_docs/API_docs_v71/constructors/help_appUpdate.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: help.appUpdate -description: An update is available for the application. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.appUpdate -[Back to constructors index](index.md) - - - -An update is available for the application. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|id|[int](../types/int.md) | Yes|Update ID| -|critical|[Bool](../types/Bool.md) | Yes|Critical?| -|url|[string](../types/string.md) | Yes|Application download URL| -|text|[string](../types/string.md) | Yes|Text description of the update| - - - -### Type: [help\_AppUpdate](../types/help_AppUpdate.md) - - -### Example: - -```php -$help_appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'url' => 'string', 'text' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -help_appUpdate={_='help.appUpdate', id=int, critical=Bool, url='string', text='string'} - -``` - - diff --git a/old_docs/API_docs_v71/constructors/help_configSimple.md b/old_docs/API_docs_v71/constructors/help_configSimple.md deleted file mode 100644 index 3138fc23..00000000 --- a/old_docs/API_docs_v71/constructors/help_configSimple.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: help.configSimple -description: Config simple -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.configSimple -[Back to constructors index](index.md) - - - -Config simple - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Date| -|expires|[int](../types/int.md) | Yes|Expires| -|dc\_id|[int](../types/int.md) | Yes|DC ID| -|ip\_port\_list|Array of [ipPort](../constructors/ipPort.md) | Yes|Ip port list| - - - -### Type: [help\_ConfigSimple](../types/help_ConfigSimple.md) - - -### Example: - -```php -$help_configSimple = ['_' => 'help.configSimple', 'date' => int, 'expires' => int, 'dc_id' => int, 'ip_port_list' => [ipPort, ipPort]]; -``` - - -Or, if you're into Lua: - -```lua -help_configSimple={_='help.configSimple', date=int, expires=int, dc_id=int, ip_port_list={ipPort}} - -``` - - diff --git a/old_docs/API_docs_v71/constructors/help_inviteText.md b/old_docs/API_docs_v71/constructors/help_inviteText.md deleted file mode 100644 index b8317ce3..00000000 --- a/old_docs/API_docs_v71/constructors/help_inviteText.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: help.inviteText -description: Text of a text message with an invitation to install application. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.inviteText -[Back to constructors index](index.md) - - - -Text of a text message with an invitation to install application. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|message|[string](../types/string.md) | Yes|Text of a message| - - - -### Type: [help\_InviteText](../types/help_InviteText.md) - - -### Example: - -```php -$help_inviteText = ['_' => 'help.inviteText', 'message' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -help_inviteText={_='help.inviteText', message='string'} - -``` - - diff --git a/old_docs/API_docs_v71/constructors/help_noAppUpdate.md b/old_docs/API_docs_v71/constructors/help_noAppUpdate.md deleted file mode 100644 index 51505e52..00000000 --- a/old_docs/API_docs_v71/constructors/help_noAppUpdate.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: help.noAppUpdate -description: No updates are available for the application. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.noAppUpdate -[Back to constructors index](index.md) - - - -No updates are available for the application. - - - - -### Type: [help\_AppUpdate](../types/help_AppUpdate.md) - - -### Example: - -```php -$help_noAppUpdate = ['_' => 'help.noAppUpdate']; -``` - - -Or, if you're into Lua: - -```lua -help_noAppUpdate={_='help.noAppUpdate'} - -``` - - diff --git a/old_docs/API_docs_v71/constructors/help_support.md b/old_docs/API_docs_v71/constructors/help_support.md deleted file mode 100644 index 148f7f42..00000000 --- a/old_docs/API_docs_v71/constructors/help_support.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: help.support -description: Info on support user. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.support -[Back to constructors index](index.md) - - - -Info on support user. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_number|[string](../types/string.md) | Yes|Phone number| -|user|[User](../types/User.md) | Optional|User| - - - -### Type: [help\_Support](../types/help_Support.md) - - -### Example: - -```php -$help_support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => User]; -``` - - -Or, if you're into Lua: - -```lua -help_support={_='help.support', phone_number='string', user=User} - -``` - - diff --git a/old_docs/API_docs_v71/constructors/help_termsOfService.md b/old_docs/API_docs_v71/constructors/help_termsOfService.md deleted file mode 100644 index 2ac763b3..00000000 --- a/old_docs/API_docs_v71/constructors/help_termsOfService.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: help.termsOfService -description: Info about the latest telegram Terms Of Service -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.termsOfService -[Back to constructors index](index.md) - - - -Info about the latest telegram Terms Of Service - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|text|[string](../types/string.md) | Yes|Text of the new terms| - - - -### Type: [help\_TermsOfService](../types/help_TermsOfService.md) - - -### Example: - -```php -$help_termsOfService = ['_' => 'help.termsOfService', 'text' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -help_termsOfService={_='help.termsOfService', text='string'} - -``` - - diff --git a/old_docs/API_docs_v71/constructors/messages.affectedHistory.md b/old_docs/API_docs_v71/constructors/messages.affectedHistory.md new file mode 100644 index 00000000..5fc8acec --- /dev/null +++ b/old_docs/API_docs_v71/constructors/messages.affectedHistory.md @@ -0,0 +1,40 @@ +--- +title: messages.affectedHistory +description: Affected part of communication history with the user or in a chat. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.affectedHistory +[Back to constructors index](index.md) + + + +Affected part of communication history with the user or in a chat. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| +|pts\_count|[int](../types/int.md) | Yes|Number of affected events| +|offset|[int](../types/int.md) | Yes|If a parameter contains positive value, it is necessary to repeat the method call using the given value; during the proceeding of all the history the value itself shall gradually decrease| + + + +### Type: [messages.AffectedHistory](../types/messages.AffectedHistory.md) + + +### Example: + +```php +$messages.affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.affectedHistory={_='messages.affectedHistory', pts=int, pts_count=int, offset=int} + +``` + + diff --git a/old_docs/API_docs_v71/constructors/messages.affectedMessages.md b/old_docs/API_docs_v71/constructors/messages.affectedMessages.md new file mode 100644 index 00000000..a0e60bdf --- /dev/null +++ b/old_docs/API_docs_v71/constructors/messages.affectedMessages.md @@ -0,0 +1,39 @@ +--- +title: messages.affectedMessages +description: Events affected by operation +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.affectedMessages +[Back to constructors index](index.md) + + + +Events affected by operation + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|[Event count after generation](https://core.telegram.org/api/updates)| +|pts\_count|[int](../types/int.md) | Yes|[Number of events that were generated](https://core.telegram.org/api/updates)| + + + +### Type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) + + +### Example: + +```php +$messages.affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.affectedMessages={_='messages.affectedMessages', pts=int, pts_count=int} + +``` + + diff --git a/old_docs/API_docs_v71/constructors/messages.allStickers.md b/old_docs/API_docs_v71/constructors/messages.allStickers.md new file mode 100644 index 00000000..5f13bfde --- /dev/null +++ b/old_docs/API_docs_v71/constructors/messages.allStickers.md @@ -0,0 +1,39 @@ +--- +title: messages.allStickers +description: Info about all installed stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.allStickers +[Back to constructors index](index.md) + + + +Info about all installed stickers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|sets|Array of [StickerSet](../types/StickerSet.md) | Yes|Sets| + + + +### Type: [messages.AllStickers](../types/messages.AllStickers.md) + + +### Example: + +```php +$messages.allStickers = ['_' => 'messages.allStickers', 'hash' => int, 'sets' => [StickerSet, StickerSet]]; +``` + + +Or, if you're into Lua: + +```lua +messages.allStickers={_='messages.allStickers', hash=int, sets={StickerSet}} + +``` + + diff --git a/old_docs/API_docs_v71/constructors/messages.allStickersNotModified.md b/old_docs/API_docs_v71/constructors/messages.allStickersNotModified.md new file mode 100644 index 00000000..d3db088b --- /dev/null +++ b/old_docs/API_docs_v71/constructors/messages.allStickersNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.allStickersNotModified +description: Info about all installed stickers hasn't changed +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.allStickersNotModified +[Back to constructors index](index.md) + + + +Info about all installed stickers hasn't changed + + + + +### Type: [messages.AllStickers](../types/messages.AllStickers.md) + + +### Example: + +```php +$messages.allStickersNotModified = ['_' => 'messages.allStickersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.allStickersNotModified={_='messages.allStickersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v71/constructors/messages.archivedStickers.md b/old_docs/API_docs_v71/constructors/messages.archivedStickers.md new file mode 100644 index 00000000..6ad9927c --- /dev/null +++ b/old_docs/API_docs_v71/constructors/messages.archivedStickers.md @@ -0,0 +1,39 @@ +--- +title: messages.archivedStickers +description: Archived stickersets +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.archivedStickers +[Back to constructors index](index.md) + + + +Archived stickersets + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Number of archived stickers| +|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| + + + +### Type: [messages.ArchivedStickers](../types/messages.ArchivedStickers.md) + + +### Example: + +```php +$messages.archivedStickers = ['_' => 'messages.archivedStickers', 'count' => int, 'sets' => [StickerSetCovered, StickerSetCovered]]; +``` + + +Or, if you're into Lua: + +```lua +messages.archivedStickers={_='messages.archivedStickers', count=int, sets={StickerSetCovered}} + +``` + + diff --git a/old_docs/API_docs_v71/constructors/messages.botCallbackAnswer.md b/old_docs/API_docs_v71/constructors/messages.botCallbackAnswer.md new file mode 100644 index 00000000..d4d00420 --- /dev/null +++ b/old_docs/API_docs_v71/constructors/messages.botCallbackAnswer.md @@ -0,0 +1,42 @@ +--- +title: messages.botCallbackAnswer +description: Callback answer sent by the bot in response to a button press +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.botCallbackAnswer +[Back to constructors index](index.md) + + + +Callback answer sent by the bot in response to a button press + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|alert|[Bool](../types/Bool.md) | Optional|Whether an alert should be shown to the user instead of a toast notification| +|has\_url|[Bool](../types/Bool.md) | Optional|Whether an URL is present| +|message|[string](../types/string.md) | Optional|Alert to show| +|url|[string](../types/string.md) | Optional|URL to open| +|cache\_time|[int](../types/int.md) | Yes|For how long should this answer be cached| + + + +### Type: [messages.BotCallbackAnswer](../types/messages.BotCallbackAnswer.md) + + +### Example: + +```php +$messages.botCallbackAnswer = ['_' => 'messages.botCallbackAnswer', 'alert' => Bool, 'has_url' => Bool, 'message' => 'string', 'url' => 'string', 'cache_time' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.botCallbackAnswer={_='messages.botCallbackAnswer', alert=Bool, has_url=Bool, message='string', url='string', cache_time=int} + +``` + + diff --git a/old_docs/API_docs_v71/constructors/messages.botResults.md b/old_docs/API_docs_v71/constructors/messages.botResults.md new file mode 100644 index 00000000..785c7260 --- /dev/null +++ b/old_docs/API_docs_v71/constructors/messages.botResults.md @@ -0,0 +1,43 @@ +--- +title: messages.botResults +description: Result of a query to an inline bot +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.botResults +[Back to constructors index](index.md) + + + +Result of a query to an inline bot + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|gallery|[Bool](../types/Bool.md) | Optional|Whether the result is a picture gallery| +|query\_id|[long](../types/long.md) | Yes|Query ID| +|next\_offset|[string](../types/string.md) | Optional|The next offset to use when navigating through results| +|switch\_pm|[InlineBotSwitchPM](../types/InlineBotSwitchPM.md) | Optional|Whether the bot requested the user to message him in private| +|results|Array of [BotInlineResult](../types/BotInlineResult.md) | Yes|Results| +|cache\_time|[int](../types/int.md) | Yes|Caching validity of the results| + + + +### Type: [messages.BotResults](../types/messages.BotResults.md) + + +### Example: + +```php +$messages.botResults = ['_' => 'messages.botResults', 'gallery' => Bool, 'query_id' => long, 'next_offset' => 'string', 'switch_pm' => InlineBotSwitchPM, 'results' => [BotInlineResult, BotInlineResult], 'cache_time' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.botResults={_='messages.botResults', gallery=Bool, query_id=long, next_offset='string', switch_pm=InlineBotSwitchPM, results={BotInlineResult}, cache_time=int} + +``` + + diff --git a/old_docs/API_docs_v71/constructors/messages.channelMessages.md b/old_docs/API_docs_v71/constructors/messages.channelMessages.md new file mode 100644 index 00000000..95633336 --- /dev/null +++ b/old_docs/API_docs_v71/constructors/messages.channelMessages.md @@ -0,0 +1,42 @@ +--- +title: messages.channelMessages +description: Channel messages +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.channelMessages +[Back to constructors index](index.md) + + + +Channel messages + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|[Event count after generation](https://core.telegram.org/api/updates)| +|count|[int](../types/int.md) | Yes|Total number of results were found server-side (may not be all included here)| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Messages](../types/messages.Messages.md) + + +### Example: + +```php +$messages.channelMessages = ['_' => 'messages.channelMessages', 'pts' => int, 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.channelMessages={_='messages.channelMessages', pts=int, count=int, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v71/constructors/messages.chatFull.md b/old_docs/API_docs_v71/constructors/messages.chatFull.md new file mode 100644 index 00000000..3906cc54 --- /dev/null +++ b/old_docs/API_docs_v71/constructors/messages.chatFull.md @@ -0,0 +1,40 @@ +--- +title: messages.chatFull +description: Extended info on chat and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.chatFull +[Back to constructors index](index.md) + + + +Extended info on chat and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|full\_chat|[ChatFull](../types/ChatFull.md) | Yes|Extended info on a chat| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.ChatFull](../types/messages.ChatFull.md) + + +### Example: + +```php +$messages.chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.chatFull={_='messages.chatFull', full_chat=ChatFull, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v71/constructors/messages.chats.md b/old_docs/API_docs_v71/constructors/messages.chats.md new file mode 100644 index 00000000..9ede9ff2 --- /dev/null +++ b/old_docs/API_docs_v71/constructors/messages.chats.md @@ -0,0 +1,38 @@ +--- +title: messages.chats +description: List of chats with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.chats +[Back to constructors index](index.md) + + + +List of chats with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| + + + +### Type: [messages.Chats](../types/messages.Chats.md) + + +### Example: + +```php +$messages.chats = ['_' => 'messages.chats', 'chats' => [Chat, Chat]]; +``` + + +Or, if you're into Lua: + +```lua +messages.chats={_='messages.chats', chats={Chat}} + +``` + + diff --git a/old_docs/API_docs_v71/constructors/messages.chatsSlice.md b/old_docs/API_docs_v71/constructors/messages.chatsSlice.md new file mode 100644 index 00000000..efd153e0 --- /dev/null +++ b/old_docs/API_docs_v71/constructors/messages.chatsSlice.md @@ -0,0 +1,39 @@ +--- +title: messages.chatsSlice +description: Partial list of chats, more would have to be fetched with [pagination](https://core.telegram.org/api/offsets) +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.chatsSlice +[Back to constructors index](index.md) + + + +Partial list of chats, more would have to be fetched with [pagination](https://core.telegram.org/api/offsets) + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of results that were found server-side (not all are included in `chats`)| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| + + + +### Type: [messages.Chats](../types/messages.Chats.md) + + +### Example: + +```php +$messages.chatsSlice = ['_' => 'messages.chatsSlice', 'count' => int, 'chats' => [Chat, Chat]]; +``` + + +Or, if you're into Lua: + +```lua +messages.chatsSlice={_='messages.chatsSlice', count=int, chats={Chat}} + +``` + + diff --git a/old_docs/API_docs_v71/constructors/messages.dhConfig.md b/old_docs/API_docs_v71/constructors/messages.dhConfig.md new file mode 100644 index 00000000..58344f64 --- /dev/null +++ b/old_docs/API_docs_v71/constructors/messages.dhConfig.md @@ -0,0 +1,41 @@ +--- +title: messages.dhConfig +description: New set of configuring parameters. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dhConfig +[Back to constructors index](index.md) + + + +New set of configuring parameters. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|g|[int](../types/int.md) | Yes|New value **prime**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| +|p|[bytes](../types/bytes.md) | Yes|New value **primitive root**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| +|version|[int](../types/int.md) | Yes|Vestion of set of parameters| +|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| + + + +### Type: [messages.DhConfig](../types/messages.DhConfig.md) + + +### Example: + +```php +$messages.dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'version' => int, 'random' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +messages.dhConfig={_='messages.dhConfig', g=int, p='bytes', version=int, random='bytes'} + +``` + + diff --git a/old_docs/API_docs_v71/constructors/messages.dhConfigNotModified.md b/old_docs/API_docs_v71/constructors/messages.dhConfigNotModified.md new file mode 100644 index 00000000..a9a95389 --- /dev/null +++ b/old_docs/API_docs_v71/constructors/messages.dhConfigNotModified.md @@ -0,0 +1,38 @@ +--- +title: messages.dhConfigNotModified +description: Configuring parameters did not change. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dhConfigNotModified +[Back to constructors index](index.md) + + + +Configuring parameters did not change. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| + + + +### Type: [messages.DhConfig](../types/messages.DhConfig.md) + + +### Example: + +```php +$messages.dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +messages.dhConfigNotModified={_='messages.dhConfigNotModified', random='bytes'} + +``` + + diff --git a/old_docs/API_docs_v71/constructors/messages.dialogs.md b/old_docs/API_docs_v71/constructors/messages.dialogs.md new file mode 100644 index 00000000..a72eabce --- /dev/null +++ b/old_docs/API_docs_v71/constructors/messages.dialogs.md @@ -0,0 +1,41 @@ +--- +title: messages.dialogs +description: Full list of chats with messages and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dialogs +[Back to constructors index](index.md) + + + +Full list of chats with messages and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Dialogs](../types/messages.Dialogs.md) + + +### Example: + +```php +$messages.dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.dialogs={_='messages.dialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v71/constructors/messages.dialogsSlice.md b/old_docs/API_docs_v71/constructors/messages.dialogsSlice.md new file mode 100644 index 00000000..26227d2c --- /dev/null +++ b/old_docs/API_docs_v71/constructors/messages.dialogsSlice.md @@ -0,0 +1,42 @@ +--- +title: messages.dialogsSlice +description: Incomplete list of dialogs with messages and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dialogsSlice +[Back to constructors index](index.md) + + + +Incomplete list of dialogs with messages and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of dialogs| +|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Dialogs](../types/messages.Dialogs.md) + + +### Example: + +```php +$messages.dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.dialogsSlice={_='messages.dialogsSlice', count=int, dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v71/constructors/messages.favedStickers.md b/old_docs/API_docs_v71/constructors/messages.favedStickers.md new file mode 100644 index 00000000..a5cfb7c9 --- /dev/null +++ b/old_docs/API_docs_v71/constructors/messages.favedStickers.md @@ -0,0 +1,40 @@ +--- +title: messages.favedStickers +description: Favorited stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.favedStickers +[Back to constructors index](index.md) + + + +Favorited stickers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|packs|Array of [StickerPack](../types/StickerPack.md) | Yes|Packs| +|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| + + + +### Type: [messages.FavedStickers](../types/messages.FavedStickers.md) + + +### Example: + +```php +$messages.favedStickers = ['_' => 'messages.favedStickers', 'hash' => int, 'packs' => [StickerPack, StickerPack], 'stickers' => [Document, Document]]; +``` + + +Or, if you're into Lua: + +```lua +messages.favedStickers={_='messages.favedStickers', hash=int, packs={StickerPack}, stickers={Document}} + +``` + + diff --git a/old_docs/API_docs_v71/constructors/messages.favedStickersNotModified.md b/old_docs/API_docs_v71/constructors/messages.favedStickersNotModified.md new file mode 100644 index 00000000..8723659e --- /dev/null +++ b/old_docs/API_docs_v71/constructors/messages.favedStickersNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.favedStickersNotModified +description: No new favorited stickers were found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.favedStickersNotModified +[Back to constructors index](index.md) + + + +No new favorited stickers were found + + + + +### Type: [messages.FavedStickers](../types/messages.FavedStickers.md) + + +### Example: + +```php +$messages.favedStickersNotModified = ['_' => 'messages.favedStickersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.favedStickersNotModified={_='messages.favedStickersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v71/constructors/messages.featuredStickers.md b/old_docs/API_docs_v71/constructors/messages.featuredStickers.md new file mode 100644 index 00000000..344376ea --- /dev/null +++ b/old_docs/API_docs_v71/constructors/messages.featuredStickers.md @@ -0,0 +1,40 @@ +--- +title: messages.featuredStickers +description: Featured stickersets +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.featuredStickers +[Back to constructors index](index.md) + + + +Featured stickersets + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| +|unread|Array of [long](../types/long.md) | Yes|Unread| + + + +### Type: [messages.FeaturedStickers](../types/messages.FeaturedStickers.md) + + +### Example: + +```php +$messages.featuredStickers = ['_' => 'messages.featuredStickers', 'hash' => int, 'sets' => [StickerSetCovered, StickerSetCovered], 'unread' => [long, long]]; +``` + + +Or, if you're into Lua: + +```lua +messages.featuredStickers={_='messages.featuredStickers', hash=int, sets={StickerSetCovered}, unread={long}} + +``` + + diff --git a/old_docs/API_docs_v71/constructors/messages.featuredStickersNotModified.md b/old_docs/API_docs_v71/constructors/messages.featuredStickersNotModified.md new file mode 100644 index 00000000..0fe9b4d5 --- /dev/null +++ b/old_docs/API_docs_v71/constructors/messages.featuredStickersNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.featuredStickersNotModified +description: Featured stickers haven't changed +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.featuredStickersNotModified +[Back to constructors index](index.md) + + + +Featured stickers haven't changed + + + + +### Type: [messages.FeaturedStickers](../types/messages.FeaturedStickers.md) + + +### Example: + +```php +$messages.featuredStickersNotModified = ['_' => 'messages.featuredStickersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.featuredStickersNotModified={_='messages.featuredStickersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v71/constructors/messages.foundGifs.md b/old_docs/API_docs_v71/constructors/messages.foundGifs.md new file mode 100644 index 00000000..c75e36f9 --- /dev/null +++ b/old_docs/API_docs_v71/constructors/messages.foundGifs.md @@ -0,0 +1,39 @@ +--- +title: messages.foundGifs +description: Found GIFs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.foundGifs +[Back to constructors index](index.md) + + + +Found GIFs + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|next\_offset|[int](../types/int.md) | Yes|Next offset to use when trying to [load more results](../methods/messages.searchGifs.md)| +|results|Array of [FoundGif](../types/FoundGif.md) | Yes|Results| + + + +### Type: [messages.FoundGifs](../types/messages.FoundGifs.md) + + +### Example: + +```php +$messages.foundGifs = ['_' => 'messages.foundGifs', 'next_offset' => int, 'results' => [FoundGif, FoundGif]]; +``` + + +Or, if you're into Lua: + +```lua +messages.foundGifs={_='messages.foundGifs', next_offset=int, results={FoundGif}} + +``` + + diff --git a/old_docs/API_docs_v71/constructors/messages.highScores.md b/old_docs/API_docs_v71/constructors/messages.highScores.md new file mode 100644 index 00000000..d7d25826 --- /dev/null +++ b/old_docs/API_docs_v71/constructors/messages.highScores.md @@ -0,0 +1,39 @@ +--- +title: messages.highScores +description: Highscores in a game +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.highScores +[Back to constructors index](index.md) + + + +Highscores in a game + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|scores|Array of [HighScore](../types/HighScore.md) | Yes|Scores| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.HighScores](../types/messages.HighScores.md) + + +### Example: + +```php +$messages.highScores = ['_' => 'messages.highScores', 'scores' => [HighScore, HighScore], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.highScores={_='messages.highScores', scores={HighScore}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v71/constructors/messages.messageEditData.md b/old_docs/API_docs_v71/constructors/messages.messageEditData.md new file mode 100644 index 00000000..578b53d9 --- /dev/null +++ b/old_docs/API_docs_v71/constructors/messages.messageEditData.md @@ -0,0 +1,38 @@ +--- +title: messages.messageEditData +description: Message edit data for media +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.messageEditData +[Back to constructors index](index.md) + + + +Message edit data for media + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|caption|[Bool](../types/Bool.md) | Optional|Media caption, if the specified media's caption can be edited| + + + +### Type: [messages.MessageEditData](../types/messages.MessageEditData.md) + + +### Example: + +```php +$messages.messageEditData = ['_' => 'messages.messageEditData', 'caption' => Bool]; +``` + + +Or, if you're into Lua: + +```lua +messages.messageEditData={_='messages.messageEditData', caption=Bool} + +``` + + diff --git a/old_docs/API_docs_v71/constructors/messages.messages.md b/old_docs/API_docs_v71/constructors/messages.messages.md new file mode 100644 index 00000000..3af71dca --- /dev/null +++ b/old_docs/API_docs_v71/constructors/messages.messages.md @@ -0,0 +1,40 @@ +--- +title: messages.messages +description: Full list of messages with auxilary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.messages +[Back to constructors index](index.md) + + + +Full list of messages with auxilary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Messages](../types/messages.Messages.md) + + +### Example: + +```php +$messages.messages = ['_' => 'messages.messages', 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.messages={_='messages.messages', messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v71/constructors/messages.messagesSlice.md b/old_docs/API_docs_v71/constructors/messages.messagesSlice.md new file mode 100644 index 00000000..2fe91df0 --- /dev/null +++ b/old_docs/API_docs_v71/constructors/messages.messagesSlice.md @@ -0,0 +1,41 @@ +--- +title: messages.messagesSlice +description: Incomplete list of messages and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.messagesSlice +[Back to constructors index](index.md) + + + +Incomplete list of messages and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of messages in the list| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Messages](../types/messages.Messages.md) + + +### Example: + +```php +$messages.messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.messagesSlice={_='messages.messagesSlice', count=int, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v71/constructors/messages.peerDialogs.md b/old_docs/API_docs_v71/constructors/messages.peerDialogs.md new file mode 100644 index 00000000..39cb71f8 --- /dev/null +++ b/old_docs/API_docs_v71/constructors/messages.peerDialogs.md @@ -0,0 +1,42 @@ +--- +title: messages.peerDialogs +description: Dialog info of multiple peers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.peerDialogs +[Back to constructors index](index.md) + + + +Dialog info of multiple peers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| +|state|[updates.State](../constructors/updates.State.md) | Yes|Current [update state of dialog](https://core.telegram.org/api/updates)| + + + +### Type: [messages.PeerDialogs](../types/messages.PeerDialogs.md) + + +### Example: + +```php +$messages.peerDialogs = ['_' => 'messages.peerDialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates.State]; +``` + + +Or, if you're into Lua: + +```lua +messages.peerDialogs={_='messages.peerDialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}, state=updates.State} + +``` + + diff --git a/old_docs/API_docs_v71/constructors/messages.recentStickers.md b/old_docs/API_docs_v71/constructors/messages.recentStickers.md new file mode 100644 index 00000000..c5c3b389 --- /dev/null +++ b/old_docs/API_docs_v71/constructors/messages.recentStickers.md @@ -0,0 +1,39 @@ +--- +title: messages.recentStickers +description: Recently used stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.recentStickers +[Back to constructors index](index.md) + + + +Recently used stickers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| + + + +### Type: [messages.RecentStickers](../types/messages.RecentStickers.md) + + +### Example: + +```php +$messages.recentStickers = ['_' => 'messages.recentStickers', 'hash' => int, 'stickers' => [Document, Document]]; +``` + + +Or, if you're into Lua: + +```lua +messages.recentStickers={_='messages.recentStickers', hash=int, stickers={Document}} + +``` + + diff --git a/old_docs/API_docs_v71/constructors/messages.recentStickersNotModified.md b/old_docs/API_docs_v71/constructors/messages.recentStickersNotModified.md new file mode 100644 index 00000000..1c3bbf5c --- /dev/null +++ b/old_docs/API_docs_v71/constructors/messages.recentStickersNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.recentStickersNotModified +description: No new recent sticker was found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.recentStickersNotModified +[Back to constructors index](index.md) + + + +No new recent sticker was found + + + + +### Type: [messages.RecentStickers](../types/messages.RecentStickers.md) + + +### Example: + +```php +$messages.recentStickersNotModified = ['_' => 'messages.recentStickersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.recentStickersNotModified={_='messages.recentStickersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v71/constructors/messages.savedGifs.md b/old_docs/API_docs_v71/constructors/messages.savedGifs.md new file mode 100644 index 00000000..c82929a3 --- /dev/null +++ b/old_docs/API_docs_v71/constructors/messages.savedGifs.md @@ -0,0 +1,39 @@ +--- +title: messages.savedGifs +description: Saved gifs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.savedGifs +[Back to constructors index](index.md) + + + +Saved gifs + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|gifs|Array of [Document](../types/Document.md) | Yes|Gifs| + + + +### Type: [messages.SavedGifs](../types/messages.SavedGifs.md) + + +### Example: + +```php +$messages.savedGifs = ['_' => 'messages.savedGifs', 'hash' => int, 'gifs' => [Document, Document]]; +``` + + +Or, if you're into Lua: + +```lua +messages.savedGifs={_='messages.savedGifs', hash=int, gifs={Document}} + +``` + + diff --git a/old_docs/API_docs_v71/constructors/messages.savedGifsNotModified.md b/old_docs/API_docs_v71/constructors/messages.savedGifsNotModified.md new file mode 100644 index 00000000..0fbccacc --- /dev/null +++ b/old_docs/API_docs_v71/constructors/messages.savedGifsNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.savedGifsNotModified +description: No new saved gifs were found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.savedGifsNotModified +[Back to constructors index](index.md) + + + +No new saved gifs were found + + + + +### Type: [messages.SavedGifs](../types/messages.SavedGifs.md) + + +### Example: + +```php +$messages.savedGifsNotModified = ['_' => 'messages.savedGifsNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.savedGifsNotModified={_='messages.savedGifsNotModified'} + +``` + + diff --git a/old_docs/API_docs_v71/constructors/messages.sentEncryptedFile.md b/old_docs/API_docs_v71/constructors/messages.sentEncryptedFile.md new file mode 100644 index 00000000..1f0e43c6 --- /dev/null +++ b/old_docs/API_docs_v71/constructors/messages.sentEncryptedFile.md @@ -0,0 +1,39 @@ +--- +title: messages.sentEncryptedFile +description: Message with a file enclosure sent to a protected chat +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.sentEncryptedFile +[Back to constructors index](index.md) + + + +Message with a file enclosure sent to a protected chat + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Sending date| +|file|[EncryptedFile](../types/EncryptedFile.md) | Optional|Attached file| + + + +### Type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) + + +### Example: + +```php +$messages.sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile]; +``` + + +Or, if you're into Lua: + +```lua +messages.sentEncryptedFile={_='messages.sentEncryptedFile', date=int, file=EncryptedFile} + +``` + + diff --git a/old_docs/API_docs_v71/constructors/messages.sentEncryptedMessage.md b/old_docs/API_docs_v71/constructors/messages.sentEncryptedMessage.md new file mode 100644 index 00000000..3d5eb40c --- /dev/null +++ b/old_docs/API_docs_v71/constructors/messages.sentEncryptedMessage.md @@ -0,0 +1,38 @@ +--- +title: messages.sentEncryptedMessage +description: Message without file attachemts sent to an encrypted file. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.sentEncryptedMessage +[Back to constructors index](index.md) + + + +Message without file attachemts sent to an encrypted file. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Date of sending| + + + +### Type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) + + +### Example: + +```php +$messages.sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.sentEncryptedMessage={_='messages.sentEncryptedMessage', date=int} + +``` + + diff --git a/old_docs/API_docs_v71/constructors/messages.stickerSet.md b/old_docs/API_docs_v71/constructors/messages.stickerSet.md new file mode 100644 index 00000000..fbc154d0 --- /dev/null +++ b/old_docs/API_docs_v71/constructors/messages.stickerSet.md @@ -0,0 +1,40 @@ +--- +title: messages.stickerSet +description: Stickerset and stickers inside it +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickerSet +[Back to constructors index](index.md) + + + +Stickerset and stickers inside it + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|set|[StickerSet](../types/StickerSet.md) | Yes|The stickerset| +|packs|Array of [StickerPack](../types/StickerPack.md) | Yes|Packs| +|documents|Array of [Document](../types/Document.md) | Yes|Documents| + + + +### Type: [messages.StickerSet](../types/messages.StickerSet.md) + + +### Example: + +```php +$messages.stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'packs' => [StickerPack, StickerPack], 'documents' => [Document, Document]]; +``` + + +Or, if you're into Lua: + +```lua +messages.stickerSet={_='messages.stickerSet', set=StickerSet, packs={StickerPack}, documents={Document}} + +``` + + diff --git a/old_docs/API_docs_v71/constructors/messages.stickerSetInstallResultArchive.md b/old_docs/API_docs_v71/constructors/messages.stickerSetInstallResultArchive.md new file mode 100644 index 00000000..fefe2270 --- /dev/null +++ b/old_docs/API_docs_v71/constructors/messages.stickerSetInstallResultArchive.md @@ -0,0 +1,38 @@ +--- +title: messages.stickerSetInstallResultArchive +description: The stickerset was installed, but since there are too many stickersets some were archived +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickerSetInstallResultArchive +[Back to constructors index](index.md) + + + +The stickerset was installed, but since there are too many stickersets some were archived + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| + + + +### Type: [messages.StickerSetInstallResult](../types/messages.StickerSetInstallResult.md) + + +### Example: + +```php +$messages.stickerSetInstallResultArchive = ['_' => 'messages.stickerSetInstallResultArchive', 'sets' => [StickerSetCovered, StickerSetCovered]]; +``` + + +Or, if you're into Lua: + +```lua +messages.stickerSetInstallResultArchive={_='messages.stickerSetInstallResultArchive', sets={StickerSetCovered}} + +``` + + diff --git a/old_docs/API_docs_v71/constructors/messages.stickerSetInstallResultSuccess.md b/old_docs/API_docs_v71/constructors/messages.stickerSetInstallResultSuccess.md new file mode 100644 index 00000000..bbe8b961 --- /dev/null +++ b/old_docs/API_docs_v71/constructors/messages.stickerSetInstallResultSuccess.md @@ -0,0 +1,33 @@ +--- +title: messages.stickerSetInstallResultSuccess +description: The stickerset was installed successfully +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickerSetInstallResultSuccess +[Back to constructors index](index.md) + + + +The stickerset was installed successfully + + + + +### Type: [messages.StickerSetInstallResult](../types/messages.StickerSetInstallResult.md) + + +### Example: + +```php +$messages.stickerSetInstallResultSuccess = ['_' => 'messages.stickerSetInstallResultSuccess']; +``` + + +Or, if you're into Lua: + +```lua +messages.stickerSetInstallResultSuccess={_='messages.stickerSetInstallResultSuccess'} + +``` + + diff --git a/old_docs/API_docs_v71/constructors/messages.stickers.md b/old_docs/API_docs_v71/constructors/messages.stickers.md new file mode 100644 index 00000000..310b64b0 --- /dev/null +++ b/old_docs/API_docs_v71/constructors/messages.stickers.md @@ -0,0 +1,39 @@ +--- +title: messages.stickers +description: Found stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickers +[Back to constructors index](index.md) + + + +Found stickers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[string](../types/string.md) | Yes|Hash| +|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| + + + +### Type: [messages.Stickers](../types/messages.Stickers.md) + + +### Example: + +```php +$messages.stickers = ['_' => 'messages.stickers', 'hash' => 'string', 'stickers' => [Document, Document]]; +``` + + +Or, if you're into Lua: + +```lua +messages.stickers={_='messages.stickers', hash='string', stickers={Document}} + +``` + + diff --git a/old_docs/API_docs_v71/constructors/messages.stickersNotModified.md b/old_docs/API_docs_v71/constructors/messages.stickersNotModified.md new file mode 100644 index 00000000..e8c7766c --- /dev/null +++ b/old_docs/API_docs_v71/constructors/messages.stickersNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.stickersNotModified +description: No new stickers were found for the given query +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickersNotModified +[Back to constructors index](index.md) + + + +No new stickers were found for the given query + + + + +### Type: [messages.Stickers](../types/messages.Stickers.md) + + +### Example: + +```php +$messages.stickersNotModified = ['_' => 'messages.stickersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.stickersNotModified={_='messages.stickersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v71/constructors/messages_affectedHistory.md b/old_docs/API_docs_v71/constructors/messages_affectedHistory.md deleted file mode 100644 index 449a7e3f..00000000 --- a/old_docs/API_docs_v71/constructors/messages_affectedHistory.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.affectedHistory -description: Affected part of communication history with the user or in a chat. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.affectedHistory -[Back to constructors index](index.md) - - - -Affected part of communication history with the user or in a chat. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| -|pts\_count|[int](../types/int.md) | Yes|Number of affected events| -|offset|[int](../types/int.md) | Yes|If a parameter contains positive value, it is necessary to repeat the method call using the given value; during the proceeding of all the history the value itself shall gradually decrease| - - - -### Type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) - - -### Example: - -```php -$messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_affectedHistory={_='messages.affectedHistory', pts=int, pts_count=int, offset=int} - -``` - - diff --git a/old_docs/API_docs_v71/constructors/messages_affectedMessages.md b/old_docs/API_docs_v71/constructors/messages_affectedMessages.md deleted file mode 100644 index 86760581..00000000 --- a/old_docs/API_docs_v71/constructors/messages_affectedMessages.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.affectedMessages -description: Events affected by operation -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.affectedMessages -[Back to constructors index](index.md) - - - -Events affected by operation - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|[Event count after generation](https://core.telegram.org/api/updates)| -|pts\_count|[int](../types/int.md) | Yes|[Number of events that were generated](https://core.telegram.org/api/updates)| - - - -### Type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) - - -### Example: - -```php -$messages_affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_affectedMessages={_='messages.affectedMessages', pts=int, pts_count=int} - -``` - - diff --git a/old_docs/API_docs_v71/constructors/messages_allStickers.md b/old_docs/API_docs_v71/constructors/messages_allStickers.md deleted file mode 100644 index 2e64f46e..00000000 --- a/old_docs/API_docs_v71/constructors/messages_allStickers.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.allStickers -description: Info about all installed stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.allStickers -[Back to constructors index](index.md) - - - -Info about all installed stickers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|sets|Array of [StickerSet](../types/StickerSet.md) | Yes|Sets| - - - -### Type: [messages\_AllStickers](../types/messages_AllStickers.md) - - -### Example: - -```php -$messages_allStickers = ['_' => 'messages.allStickers', 'hash' => int, 'sets' => [StickerSet, StickerSet]]; -``` - - -Or, if you're into Lua: - -```lua -messages_allStickers={_='messages.allStickers', hash=int, sets={StickerSet}} - -``` - - diff --git a/old_docs/API_docs_v71/constructors/messages_allStickersNotModified.md b/old_docs/API_docs_v71/constructors/messages_allStickersNotModified.md deleted file mode 100644 index c4da85ab..00000000 --- a/old_docs/API_docs_v71/constructors/messages_allStickersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.allStickersNotModified -description: Info about all installed stickers hasn't changed -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.allStickersNotModified -[Back to constructors index](index.md) - - - -Info about all installed stickers hasn't changed - - - - -### Type: [messages\_AllStickers](../types/messages_AllStickers.md) - - -### Example: - -```php -$messages_allStickersNotModified = ['_' => 'messages.allStickersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_allStickersNotModified={_='messages.allStickersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v71/constructors/messages_archivedStickers.md b/old_docs/API_docs_v71/constructors/messages_archivedStickers.md deleted file mode 100644 index 6b28c885..00000000 --- a/old_docs/API_docs_v71/constructors/messages_archivedStickers.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.archivedStickers -description: Archived stickersets -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.archivedStickers -[Back to constructors index](index.md) - - - -Archived stickersets - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Number of archived stickers| -|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| - - - -### Type: [messages\_ArchivedStickers](../types/messages_ArchivedStickers.md) - - -### Example: - -```php -$messages_archivedStickers = ['_' => 'messages.archivedStickers', 'count' => int, 'sets' => [StickerSetCovered, StickerSetCovered]]; -``` - - -Or, if you're into Lua: - -```lua -messages_archivedStickers={_='messages.archivedStickers', count=int, sets={StickerSetCovered}} - -``` - - diff --git a/old_docs/API_docs_v71/constructors/messages_botCallbackAnswer.md b/old_docs/API_docs_v71/constructors/messages_botCallbackAnswer.md deleted file mode 100644 index df8c3185..00000000 --- a/old_docs/API_docs_v71/constructors/messages_botCallbackAnswer.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: messages.botCallbackAnswer -description: Callback answer sent by the bot in response to a button press -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.botCallbackAnswer -[Back to constructors index](index.md) - - - -Callback answer sent by the bot in response to a button press - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|alert|[Bool](../types/Bool.md) | Optional|Whether an alert should be shown to the user instead of a toast notification| -|has\_url|[Bool](../types/Bool.md) | Optional|Whether an URL is present| -|message|[string](../types/string.md) | Optional|Alert to show| -|url|[string](../types/string.md) | Optional|URL to open| -|cache\_time|[int](../types/int.md) | Yes|For how long should this answer be cached| - - - -### Type: [messages\_BotCallbackAnswer](../types/messages_BotCallbackAnswer.md) - - -### Example: - -```php -$messages_botCallbackAnswer = ['_' => 'messages.botCallbackAnswer', 'alert' => Bool, 'has_url' => Bool, 'message' => 'string', 'url' => 'string', 'cache_time' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_botCallbackAnswer={_='messages.botCallbackAnswer', alert=Bool, has_url=Bool, message='string', url='string', cache_time=int} - -``` - - diff --git a/old_docs/API_docs_v71/constructors/messages_botResults.md b/old_docs/API_docs_v71/constructors/messages_botResults.md deleted file mode 100644 index 77b14e35..00000000 --- a/old_docs/API_docs_v71/constructors/messages_botResults.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: messages.botResults -description: Result of a query to an inline bot -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.botResults -[Back to constructors index](index.md) - - - -Result of a query to an inline bot - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|gallery|[Bool](../types/Bool.md) | Optional|Whether the result is a picture gallery| -|query\_id|[long](../types/long.md) | Yes|Query ID| -|next\_offset|[string](../types/string.md) | Optional|The next offset to use when navigating through results| -|switch\_pm|[InlineBotSwitchPM](../types/InlineBotSwitchPM.md) | Optional|Whether the bot requested the user to message him in private| -|results|Array of [BotInlineResult](../types/BotInlineResult.md) | Yes|Results| -|cache\_time|[int](../types/int.md) | Yes|Caching validity of the results| - - - -### Type: [messages\_BotResults](../types/messages_BotResults.md) - - -### Example: - -```php -$messages_botResults = ['_' => 'messages.botResults', 'gallery' => Bool, 'query_id' => long, 'next_offset' => 'string', 'switch_pm' => InlineBotSwitchPM, 'results' => [BotInlineResult, BotInlineResult], 'cache_time' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_botResults={_='messages.botResults', gallery=Bool, query_id=long, next_offset='string', switch_pm=InlineBotSwitchPM, results={BotInlineResult}, cache_time=int} - -``` - - diff --git a/old_docs/API_docs_v71/constructors/messages_channelMessages.md b/old_docs/API_docs_v71/constructors/messages_channelMessages.md deleted file mode 100644 index 12cdb9cd..00000000 --- a/old_docs/API_docs_v71/constructors/messages_channelMessages.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: messages.channelMessages -description: Channel messages -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.channelMessages -[Back to constructors index](index.md) - - - -Channel messages - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|[Event count after generation](https://core.telegram.org/api/updates)| -|count|[int](../types/int.md) | Yes|Total number of results were found server-side (may not be all included here)| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Messages](../types/messages_Messages.md) - - -### Example: - -```php -$messages_channelMessages = ['_' => 'messages.channelMessages', 'pts' => int, 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_channelMessages={_='messages.channelMessages', pts=int, count=int, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v71/constructors/messages_chatFull.md b/old_docs/API_docs_v71/constructors/messages_chatFull.md deleted file mode 100644 index 02f1acdf..00000000 --- a/old_docs/API_docs_v71/constructors/messages_chatFull.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.chatFull -description: Extended info on chat and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.chatFull -[Back to constructors index](index.md) - - - -Extended info on chat and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|full\_chat|[ChatFull](../types/ChatFull.md) | Yes|Extended info on a chat| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_ChatFull](../types/messages_ChatFull.md) - - -### Example: - -```php -$messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_chatFull={_='messages.chatFull', full_chat=ChatFull, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v71/constructors/messages_chats.md b/old_docs/API_docs_v71/constructors/messages_chats.md deleted file mode 100644 index ef3690a9..00000000 --- a/old_docs/API_docs_v71/constructors/messages_chats.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.chats -description: List of chats with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.chats -[Back to constructors index](index.md) - - - -List of chats with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| - - - -### Type: [messages\_Chats](../types/messages_Chats.md) - - -### Example: - -```php -$messages_chats = ['_' => 'messages.chats', 'chats' => [Chat, Chat]]; -``` - - -Or, if you're into Lua: - -```lua -messages_chats={_='messages.chats', chats={Chat}} - -``` - - diff --git a/old_docs/API_docs_v71/constructors/messages_chatsSlice.md b/old_docs/API_docs_v71/constructors/messages_chatsSlice.md deleted file mode 100644 index f19c4357..00000000 --- a/old_docs/API_docs_v71/constructors/messages_chatsSlice.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.chatsSlice -description: Partial list of chats, more would have to be fetched with [pagination](https://core.telegram.org/api/offsets) -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.chatsSlice -[Back to constructors index](index.md) - - - -Partial list of chats, more would have to be fetched with [pagination](https://core.telegram.org/api/offsets) - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of results that were found server-side (not all are included in `chats`)| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| - - - -### Type: [messages\_Chats](../types/messages_Chats.md) - - -### Example: - -```php -$messages_chatsSlice = ['_' => 'messages.chatsSlice', 'count' => int, 'chats' => [Chat, Chat]]; -``` - - -Or, if you're into Lua: - -```lua -messages_chatsSlice={_='messages.chatsSlice', count=int, chats={Chat}} - -``` - - diff --git a/old_docs/API_docs_v71/constructors/messages_dhConfig.md b/old_docs/API_docs_v71/constructors/messages_dhConfig.md deleted file mode 100644 index 42c2feb1..00000000 --- a/old_docs/API_docs_v71/constructors/messages_dhConfig.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: messages.dhConfig -description: New set of configuring parameters. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dhConfig -[Back to constructors index](index.md) - - - -New set of configuring parameters. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|g|[int](../types/int.md) | Yes|New value **prime**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| -|p|[bytes](../types/bytes.md) | Yes|New value **primitive root**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| -|version|[int](../types/int.md) | Yes|Vestion of set of parameters| -|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| - - - -### Type: [messages\_DhConfig](../types/messages_DhConfig.md) - - -### Example: - -```php -$messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'version' => int, 'random' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -messages_dhConfig={_='messages.dhConfig', g=int, p='bytes', version=int, random='bytes'} - -``` - - diff --git a/old_docs/API_docs_v71/constructors/messages_dhConfigNotModified.md b/old_docs/API_docs_v71/constructors/messages_dhConfigNotModified.md deleted file mode 100644 index 5bf64230..00000000 --- a/old_docs/API_docs_v71/constructors/messages_dhConfigNotModified.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.dhConfigNotModified -description: Configuring parameters did not change. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dhConfigNotModified -[Back to constructors index](index.md) - - - -Configuring parameters did not change. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| - - - -### Type: [messages\_DhConfig](../types/messages_DhConfig.md) - - -### Example: - -```php -$messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -messages_dhConfigNotModified={_='messages.dhConfigNotModified', random='bytes'} - -``` - - diff --git a/old_docs/API_docs_v71/constructors/messages_dialogs.md b/old_docs/API_docs_v71/constructors/messages_dialogs.md deleted file mode 100644 index e6a431b4..00000000 --- a/old_docs/API_docs_v71/constructors/messages_dialogs.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: messages.dialogs -description: Full list of chats with messages and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dialogs -[Back to constructors index](index.md) - - - -Full list of chats with messages and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Dialogs](../types/messages_Dialogs.md) - - -### Example: - -```php -$messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_dialogs={_='messages.dialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v71/constructors/messages_dialogsSlice.md b/old_docs/API_docs_v71/constructors/messages_dialogsSlice.md deleted file mode 100644 index f183b9a8..00000000 --- a/old_docs/API_docs_v71/constructors/messages_dialogsSlice.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: messages.dialogsSlice -description: Incomplete list of dialogs with messages and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dialogsSlice -[Back to constructors index](index.md) - - - -Incomplete list of dialogs with messages and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of dialogs| -|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Dialogs](../types/messages_Dialogs.md) - - -### Example: - -```php -$messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_dialogsSlice={_='messages.dialogsSlice', count=int, dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v71/constructors/messages_favedStickers.md b/old_docs/API_docs_v71/constructors/messages_favedStickers.md deleted file mode 100644 index 72d79df2..00000000 --- a/old_docs/API_docs_v71/constructors/messages_favedStickers.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.favedStickers -description: Favorited stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.favedStickers -[Back to constructors index](index.md) - - - -Favorited stickers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|packs|Array of [StickerPack](../types/StickerPack.md) | Yes|Packs| -|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| - - - -### Type: [messages\_FavedStickers](../types/messages_FavedStickers.md) - - -### Example: - -```php -$messages_favedStickers = ['_' => 'messages.favedStickers', 'hash' => int, 'packs' => [StickerPack, StickerPack], 'stickers' => [Document, Document]]; -``` - - -Or, if you're into Lua: - -```lua -messages_favedStickers={_='messages.favedStickers', hash=int, packs={StickerPack}, stickers={Document}} - -``` - - diff --git a/old_docs/API_docs_v71/constructors/messages_favedStickersNotModified.md b/old_docs/API_docs_v71/constructors/messages_favedStickersNotModified.md deleted file mode 100644 index a47c08e8..00000000 --- a/old_docs/API_docs_v71/constructors/messages_favedStickersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.favedStickersNotModified -description: No new favorited stickers were found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.favedStickersNotModified -[Back to constructors index](index.md) - - - -No new favorited stickers were found - - - - -### Type: [messages\_FavedStickers](../types/messages_FavedStickers.md) - - -### Example: - -```php -$messages_favedStickersNotModified = ['_' => 'messages.favedStickersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_favedStickersNotModified={_='messages.favedStickersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v71/constructors/messages_featuredStickers.md b/old_docs/API_docs_v71/constructors/messages_featuredStickers.md deleted file mode 100644 index 8ef1046e..00000000 --- a/old_docs/API_docs_v71/constructors/messages_featuredStickers.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.featuredStickers -description: Featured stickersets -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.featuredStickers -[Back to constructors index](index.md) - - - -Featured stickersets - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| -|unread|Array of [long](../types/long.md) | Yes|Unread| - - - -### Type: [messages\_FeaturedStickers](../types/messages_FeaturedStickers.md) - - -### Example: - -```php -$messages_featuredStickers = ['_' => 'messages.featuredStickers', 'hash' => int, 'sets' => [StickerSetCovered, StickerSetCovered], 'unread' => [long, long]]; -``` - - -Or, if you're into Lua: - -```lua -messages_featuredStickers={_='messages.featuredStickers', hash=int, sets={StickerSetCovered}, unread={long}} - -``` - - diff --git a/old_docs/API_docs_v71/constructors/messages_featuredStickersNotModified.md b/old_docs/API_docs_v71/constructors/messages_featuredStickersNotModified.md deleted file mode 100644 index de01131b..00000000 --- a/old_docs/API_docs_v71/constructors/messages_featuredStickersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.featuredStickersNotModified -description: Featured stickers haven't changed -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.featuredStickersNotModified -[Back to constructors index](index.md) - - - -Featured stickers haven't changed - - - - -### Type: [messages\_FeaturedStickers](../types/messages_FeaturedStickers.md) - - -### Example: - -```php -$messages_featuredStickersNotModified = ['_' => 'messages.featuredStickersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_featuredStickersNotModified={_='messages.featuredStickersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v71/constructors/messages_foundGifs.md b/old_docs/API_docs_v71/constructors/messages_foundGifs.md deleted file mode 100644 index eb3603ca..00000000 --- a/old_docs/API_docs_v71/constructors/messages_foundGifs.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.foundGifs -description: Found GIFs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.foundGifs -[Back to constructors index](index.md) - - - -Found GIFs - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|next\_offset|[int](../types/int.md) | Yes|Next offset to use when trying to [load more results](../methods/messages.searchGifs.md)| -|results|Array of [FoundGif](../types/FoundGif.md) | Yes|Results| - - - -### Type: [messages\_FoundGifs](../types/messages_FoundGifs.md) - - -### Example: - -```php -$messages_foundGifs = ['_' => 'messages.foundGifs', 'next_offset' => int, 'results' => [FoundGif, FoundGif]]; -``` - - -Or, if you're into Lua: - -```lua -messages_foundGifs={_='messages.foundGifs', next_offset=int, results={FoundGif}} - -``` - - diff --git a/old_docs/API_docs_v71/constructors/messages_highScores.md b/old_docs/API_docs_v71/constructors/messages_highScores.md deleted file mode 100644 index d6fc5210..00000000 --- a/old_docs/API_docs_v71/constructors/messages_highScores.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.highScores -description: Highscores in a game -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.highScores -[Back to constructors index](index.md) - - - -Highscores in a game - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|scores|Array of [HighScore](../types/HighScore.md) | Yes|Scores| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_HighScores](../types/messages_HighScores.md) - - -### Example: - -```php -$messages_highScores = ['_' => 'messages.highScores', 'scores' => [HighScore, HighScore], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_highScores={_='messages.highScores', scores={HighScore}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v71/constructors/messages_messageEditData.md b/old_docs/API_docs_v71/constructors/messages_messageEditData.md deleted file mode 100644 index 76aefca5..00000000 --- a/old_docs/API_docs_v71/constructors/messages_messageEditData.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.messageEditData -description: Message edit data for media -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.messageEditData -[Back to constructors index](index.md) - - - -Message edit data for media - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|caption|[Bool](../types/Bool.md) | Optional|Media caption, if the specified media's caption can be edited| - - - -### Type: [messages\_MessageEditData](../types/messages_MessageEditData.md) - - -### Example: - -```php -$messages_messageEditData = ['_' => 'messages.messageEditData', 'caption' => Bool]; -``` - - -Or, if you're into Lua: - -```lua -messages_messageEditData={_='messages.messageEditData', caption=Bool} - -``` - - diff --git a/old_docs/API_docs_v71/constructors/messages_messages.md b/old_docs/API_docs_v71/constructors/messages_messages.md deleted file mode 100644 index 3e369e1a..00000000 --- a/old_docs/API_docs_v71/constructors/messages_messages.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.messages -description: Full list of messages with auxilary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.messages -[Back to constructors index](index.md) - - - -Full list of messages with auxilary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Messages](../types/messages_Messages.md) - - -### Example: - -```php -$messages_messages = ['_' => 'messages.messages', 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_messages={_='messages.messages', messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v71/constructors/messages_messagesSlice.md b/old_docs/API_docs_v71/constructors/messages_messagesSlice.md deleted file mode 100644 index f9b8dc18..00000000 --- a/old_docs/API_docs_v71/constructors/messages_messagesSlice.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: messages.messagesSlice -description: Incomplete list of messages and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.messagesSlice -[Back to constructors index](index.md) - - - -Incomplete list of messages and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of messages in the list| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Messages](../types/messages_Messages.md) - - -### Example: - -```php -$messages_messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_messagesSlice={_='messages.messagesSlice', count=int, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v71/constructors/messages_peerDialogs.md b/old_docs/API_docs_v71/constructors/messages_peerDialogs.md deleted file mode 100644 index 29b4b842..00000000 --- a/old_docs/API_docs_v71/constructors/messages_peerDialogs.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: messages.peerDialogs -description: Dialog info of multiple peers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.peerDialogs -[Back to constructors index](index.md) - - - -Dialog info of multiple peers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| -|state|[updates\_State](../types/updates_State.md) | Yes|Current [update state of dialog](https://core.telegram.org/api/updates)| - - - -### Type: [messages\_PeerDialogs](../types/messages_PeerDialogs.md) - - -### Example: - -```php -$messages_peerDialogs = ['_' => 'messages.peerDialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates_State]; -``` - - -Or, if you're into Lua: - -```lua -messages_peerDialogs={_='messages.peerDialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}, state=updates_State} - -``` - - diff --git a/old_docs/API_docs_v71/constructors/messages_recentStickers.md b/old_docs/API_docs_v71/constructors/messages_recentStickers.md deleted file mode 100644 index 31b059e5..00000000 --- a/old_docs/API_docs_v71/constructors/messages_recentStickers.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.recentStickers -description: Recently used stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.recentStickers -[Back to constructors index](index.md) - - - -Recently used stickers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| - - - -### Type: [messages\_RecentStickers](../types/messages_RecentStickers.md) - - -### Example: - -```php -$messages_recentStickers = ['_' => 'messages.recentStickers', 'hash' => int, 'stickers' => [Document, Document]]; -``` - - -Or, if you're into Lua: - -```lua -messages_recentStickers={_='messages.recentStickers', hash=int, stickers={Document}} - -``` - - diff --git a/old_docs/API_docs_v71/constructors/messages_recentStickersNotModified.md b/old_docs/API_docs_v71/constructors/messages_recentStickersNotModified.md deleted file mode 100644 index 3e81dceb..00000000 --- a/old_docs/API_docs_v71/constructors/messages_recentStickersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.recentStickersNotModified -description: No new recent sticker was found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.recentStickersNotModified -[Back to constructors index](index.md) - - - -No new recent sticker was found - - - - -### Type: [messages\_RecentStickers](../types/messages_RecentStickers.md) - - -### Example: - -```php -$messages_recentStickersNotModified = ['_' => 'messages.recentStickersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_recentStickersNotModified={_='messages.recentStickersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v71/constructors/messages_savedGifs.md b/old_docs/API_docs_v71/constructors/messages_savedGifs.md deleted file mode 100644 index ed3e8ea3..00000000 --- a/old_docs/API_docs_v71/constructors/messages_savedGifs.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.savedGifs -description: Saved gifs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.savedGifs -[Back to constructors index](index.md) - - - -Saved gifs - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|gifs|Array of [Document](../types/Document.md) | Yes|Gifs| - - - -### Type: [messages\_SavedGifs](../types/messages_SavedGifs.md) - - -### Example: - -```php -$messages_savedGifs = ['_' => 'messages.savedGifs', 'hash' => int, 'gifs' => [Document, Document]]; -``` - - -Or, if you're into Lua: - -```lua -messages_savedGifs={_='messages.savedGifs', hash=int, gifs={Document}} - -``` - - diff --git a/old_docs/API_docs_v71/constructors/messages_savedGifsNotModified.md b/old_docs/API_docs_v71/constructors/messages_savedGifsNotModified.md deleted file mode 100644 index 0f843a0c..00000000 --- a/old_docs/API_docs_v71/constructors/messages_savedGifsNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.savedGifsNotModified -description: No new saved gifs were found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.savedGifsNotModified -[Back to constructors index](index.md) - - - -No new saved gifs were found - - - - -### Type: [messages\_SavedGifs](../types/messages_SavedGifs.md) - - -### Example: - -```php -$messages_savedGifsNotModified = ['_' => 'messages.savedGifsNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_savedGifsNotModified={_='messages.savedGifsNotModified'} - -``` - - diff --git a/old_docs/API_docs_v71/constructors/messages_sentEncryptedFile.md b/old_docs/API_docs_v71/constructors/messages_sentEncryptedFile.md deleted file mode 100644 index fdc2a11e..00000000 --- a/old_docs/API_docs_v71/constructors/messages_sentEncryptedFile.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.sentEncryptedFile -description: Message with a file enclosure sent to a protected chat -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.sentEncryptedFile -[Back to constructors index](index.md) - - - -Message with a file enclosure sent to a protected chat - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Sending date| -|file|[EncryptedFile](../types/EncryptedFile.md) | Optional|Attached file| - - - -### Type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) - - -### Example: - -```php -$messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile]; -``` - - -Or, if you're into Lua: - -```lua -messages_sentEncryptedFile={_='messages.sentEncryptedFile', date=int, file=EncryptedFile} - -``` - - diff --git a/old_docs/API_docs_v71/constructors/messages_sentEncryptedMessage.md b/old_docs/API_docs_v71/constructors/messages_sentEncryptedMessage.md deleted file mode 100644 index 36b2bbff..00000000 --- a/old_docs/API_docs_v71/constructors/messages_sentEncryptedMessage.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.sentEncryptedMessage -description: Message without file attachemts sent to an encrypted file. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.sentEncryptedMessage -[Back to constructors index](index.md) - - - -Message without file attachemts sent to an encrypted file. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Date of sending| - - - -### Type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) - - -### Example: - -```php -$messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_sentEncryptedMessage={_='messages.sentEncryptedMessage', date=int} - -``` - - diff --git a/old_docs/API_docs_v71/constructors/messages_stickerSet.md b/old_docs/API_docs_v71/constructors/messages_stickerSet.md deleted file mode 100644 index 127191de..00000000 --- a/old_docs/API_docs_v71/constructors/messages_stickerSet.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.stickerSet -description: Stickerset and stickers inside it -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickerSet -[Back to constructors index](index.md) - - - -Stickerset and stickers inside it - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|set|[StickerSet](../types/StickerSet.md) | Yes|The stickerset| -|packs|Array of [StickerPack](../types/StickerPack.md) | Yes|Packs| -|documents|Array of [Document](../types/Document.md) | Yes|Documents| - - - -### Type: [messages\_StickerSet](../types/messages_StickerSet.md) - - -### Example: - -```php -$messages_stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'packs' => [StickerPack, StickerPack], 'documents' => [Document, Document]]; -``` - - -Or, if you're into Lua: - -```lua -messages_stickerSet={_='messages.stickerSet', set=StickerSet, packs={StickerPack}, documents={Document}} - -``` - - diff --git a/old_docs/API_docs_v71/constructors/messages_stickerSetInstallResultArchive.md b/old_docs/API_docs_v71/constructors/messages_stickerSetInstallResultArchive.md deleted file mode 100644 index 8a5f4d5d..00000000 --- a/old_docs/API_docs_v71/constructors/messages_stickerSetInstallResultArchive.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.stickerSetInstallResultArchive -description: The stickerset was installed, but since there are too many stickersets some were archived -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickerSetInstallResultArchive -[Back to constructors index](index.md) - - - -The stickerset was installed, but since there are too many stickersets some were archived - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| - - - -### Type: [messages\_StickerSetInstallResult](../types/messages_StickerSetInstallResult.md) - - -### Example: - -```php -$messages_stickerSetInstallResultArchive = ['_' => 'messages.stickerSetInstallResultArchive', 'sets' => [StickerSetCovered, StickerSetCovered]]; -``` - - -Or, if you're into Lua: - -```lua -messages_stickerSetInstallResultArchive={_='messages.stickerSetInstallResultArchive', sets={StickerSetCovered}} - -``` - - diff --git a/old_docs/API_docs_v71/constructors/messages_stickerSetInstallResultSuccess.md b/old_docs/API_docs_v71/constructors/messages_stickerSetInstallResultSuccess.md deleted file mode 100644 index 1d33b89f..00000000 --- a/old_docs/API_docs_v71/constructors/messages_stickerSetInstallResultSuccess.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.stickerSetInstallResultSuccess -description: The stickerset was installed successfully -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickerSetInstallResultSuccess -[Back to constructors index](index.md) - - - -The stickerset was installed successfully - - - - -### Type: [messages\_StickerSetInstallResult](../types/messages_StickerSetInstallResult.md) - - -### Example: - -```php -$messages_stickerSetInstallResultSuccess = ['_' => 'messages.stickerSetInstallResultSuccess']; -``` - - -Or, if you're into Lua: - -```lua -messages_stickerSetInstallResultSuccess={_='messages.stickerSetInstallResultSuccess'} - -``` - - diff --git a/old_docs/API_docs_v71/constructors/messages_stickers.md b/old_docs/API_docs_v71/constructors/messages_stickers.md deleted file mode 100644 index 1c007df2..00000000 --- a/old_docs/API_docs_v71/constructors/messages_stickers.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.stickers -description: Found stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickers -[Back to constructors index](index.md) - - - -Found stickers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[string](../types/string.md) | Yes|Hash| -|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| - - - -### Type: [messages\_Stickers](../types/messages_Stickers.md) - - -### Example: - -```php -$messages_stickers = ['_' => 'messages.stickers', 'hash' => 'string', 'stickers' => [Document, Document]]; -``` - - -Or, if you're into Lua: - -```lua -messages_stickers={_='messages.stickers', hash='string', stickers={Document}} - -``` - - diff --git a/old_docs/API_docs_v71/constructors/messages_stickersNotModified.md b/old_docs/API_docs_v71/constructors/messages_stickersNotModified.md deleted file mode 100644 index 3d434a79..00000000 --- a/old_docs/API_docs_v71/constructors/messages_stickersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.stickersNotModified -description: No new stickers were found for the given query -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickersNotModified -[Back to constructors index](index.md) - - - -No new stickers were found for the given query - - - - -### Type: [messages\_Stickers](../types/messages_Stickers.md) - - -### Example: - -```php -$messages_stickersNotModified = ['_' => 'messages.stickersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_stickersNotModified={_='messages.stickersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v71/constructors/payments.paymentForm.md b/old_docs/API_docs_v71/constructors/payments.paymentForm.md new file mode 100644 index 00000000..90e0f39d --- /dev/null +++ b/old_docs/API_docs_v71/constructors/payments.paymentForm.md @@ -0,0 +1,48 @@ +--- +title: payments.paymentForm +description: Payment form +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: payments.paymentForm +[Back to constructors index](index.md) + + + +Payment form + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|can\_save\_credentials|[Bool](../types/Bool.md) | Optional|Whether the user can choose to save credentials.| +|password\_missing|[Bool](../types/Bool.md) | Optional|Indicates that the user can save payment credentials, but only after setting up a [2FA password](https://core.telegram.org/api/srp) (currently the account doesn't have a [2FA password](https://core.telegram.org/api/srp))| +|bot\_id|[int](../types/int.md) | Yes|Bot ID| +|invoice|[Invoice](../types/Invoice.md) | Yes|Invoice| +|provider\_id|[int](../types/int.md) | Yes|Payment provider ID.| +|url|[string](../types/string.md) | Yes|Payment form URL| +|native\_provider|[string](../types/string.md) | Optional|Payment provider name.
One of the following:
\- `stripe`| +|native\_params|[DataJSON](../types/DataJSON.md) | Optional|Contains information about the payment provider, if available, to support it natively without the need for opening the URL.
A JSON object that can contain the following fields:

\- `publishable_key`: Stripe API publishable key
\- `apple_pay_merchant_id`: Apple Pay merchant ID
\- `android_pay_public_key`: Android Pay public key
\- `android_pay_bgcolor`: Android Pay form background color
\- `android_pay_inverse`: Whether to use the dark theme in the Android Pay form
\- `need_country`: True, if the user country must be provided,
\- `need_zip`: True, if the user ZIP/postal code must be provided,
\- `need_cardholder_name`: True, if the cardholder name must be provided
| +|saved\_info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Optional|Saved server-side order information| +|saved\_credentials|[PaymentSavedCredentials](../types/PaymentSavedCredentials.md) | Optional|Contains information about saved card credentials| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [payments.PaymentForm](../types/payments.PaymentForm.md) + + +### Example: + +```php +$payments.paymentForm = ['_' => 'payments.paymentForm', 'can_save_credentials' => Bool, 'password_missing' => Bool, 'bot_id' => int, 'invoice' => Invoice, 'provider_id' => int, 'url' => 'string', 'native_provider' => 'string', 'native_params' => DataJSON, 'saved_info' => PaymentRequestedInfo, 'saved_credentials' => PaymentSavedCredentials, 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +payments.paymentForm={_='payments.paymentForm', can_save_credentials=Bool, password_missing=Bool, bot_id=int, invoice=Invoice, provider_id=int, url='string', native_provider='string', native_params=DataJSON, saved_info=PaymentRequestedInfo, saved_credentials=PaymentSavedCredentials, users={User}} + +``` + + diff --git a/old_docs/API_docs_v71/constructors/payments.paymentReceipt.md b/old_docs/API_docs_v71/constructors/payments.paymentReceipt.md new file mode 100644 index 00000000..5a0cc190 --- /dev/null +++ b/old_docs/API_docs_v71/constructors/payments.paymentReceipt.md @@ -0,0 +1,47 @@ +--- +title: payments.paymentReceipt +description: Receipt +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: payments.paymentReceipt +[Back to constructors index](index.md) + + + +Receipt + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Date of generation| +|bot\_id|[int](../types/int.md) | Yes|Bot ID| +|invoice|[Invoice](../types/Invoice.md) | Yes|Invoice| +|provider\_id|[int](../types/int.md) | Yes|Provider ID| +|info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Optional|Info| +|shipping|[ShippingOption](../types/ShippingOption.md) | Optional|Selected shipping option| +|currency|[string](../types/string.md) | Yes|Three-letter ISO 4217 [currency](https://core.telegram.org/bots/payments#supported-currencies) code| +|total\_amount|[long](../types/long.md) | Yes|Total amount in the smallest units of the currency (integer, not float/double). For example, for a price of `US$ 1.45` pass `amount = 145`. See the exp parameter in [currencies.json](https://core.telegram.org/bots/payments/currencies.json), it shows the number of digits past the decimal point for each currency (2 for the majority of currencies).| +|credentials\_title|[string](../types/string.md) | Yes|Payment credential name| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [payments.PaymentReceipt](../types/payments.PaymentReceipt.md) + + +### Example: + +```php +$payments.paymentReceipt = ['_' => 'payments.paymentReceipt', 'date' => int, 'bot_id' => int, 'invoice' => Invoice, 'provider_id' => int, 'info' => PaymentRequestedInfo, 'shipping' => ShippingOption, 'currency' => 'string', 'total_amount' => long, 'credentials_title' => 'string', 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +payments.paymentReceipt={_='payments.paymentReceipt', date=int, bot_id=int, invoice=Invoice, provider_id=int, info=PaymentRequestedInfo, shipping=ShippingOption, currency='string', total_amount=long, credentials_title='string', users={User}} + +``` + + diff --git a/old_docs/API_docs_v71/constructors/payments.paymentResult.md b/old_docs/API_docs_v71/constructors/payments.paymentResult.md new file mode 100644 index 00000000..df32fd91 --- /dev/null +++ b/old_docs/API_docs_v71/constructors/payments.paymentResult.md @@ -0,0 +1,38 @@ +--- +title: payments.paymentResult +description: Payment result +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: payments.paymentResult +[Back to constructors index](index.md) + + + +Payment result + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|updates|[Updates](../types/Updates.md) | Yes|Info about the payment| + + + +### Type: [payments.PaymentResult](../types/payments.PaymentResult.md) + + +### Example: + +```php +$payments.paymentResult = ['_' => 'payments.paymentResult', 'updates' => Updates]; +``` + + +Or, if you're into Lua: + +```lua +payments.paymentResult={_='payments.paymentResult', updates=Updates} + +``` + + diff --git a/old_docs/API_docs_v71/constructors/payments.paymentVerficationNeeded.md b/old_docs/API_docs_v71/constructors/payments.paymentVerficationNeeded.md new file mode 100644 index 00000000..3f459215 --- /dev/null +++ b/old_docs/API_docs_v71/constructors/payments.paymentVerficationNeeded.md @@ -0,0 +1,38 @@ +--- +title: payments.paymentVerficationNeeded +description: Payment verfication needed +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: payments.paymentVerficationNeeded +[Back to constructors index](index.md) + + + +Payment verfication needed + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|url|[string](../types/string.md) | Yes|URL| + + + +### Type: [payments.PaymentResult](../types/payments.PaymentResult.md) + + +### Example: + +```php +$payments.paymentVerficationNeeded = ['_' => 'payments.paymentVerficationNeeded', 'url' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +payments.paymentVerficationNeeded={_='payments.paymentVerficationNeeded', url='string'} + +``` + + diff --git a/old_docs/API_docs_v71/constructors/payments.savedInfo.md b/old_docs/API_docs_v71/constructors/payments.savedInfo.md new file mode 100644 index 00000000..a005a842 --- /dev/null +++ b/old_docs/API_docs_v71/constructors/payments.savedInfo.md @@ -0,0 +1,39 @@ +--- +title: payments.savedInfo +description: Saved server-side order information +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: payments.savedInfo +[Back to constructors index](index.md) + + + +Saved server-side order information + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|has\_saved\_credentials|[Bool](../types/Bool.md) | Optional|Whether the user has some saved payment credentials| +|saved\_info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Optional|Saved server-side order information| + + + +### Type: [payments.SavedInfo](../types/payments.SavedInfo.md) + + +### Example: + +```php +$payments.savedInfo = ['_' => 'payments.savedInfo', 'has_saved_credentials' => Bool, 'saved_info' => PaymentRequestedInfo]; +``` + + +Or, if you're into Lua: + +```lua +payments.savedInfo={_='payments.savedInfo', has_saved_credentials=Bool, saved_info=PaymentRequestedInfo} + +``` + + diff --git a/old_docs/API_docs_v71/constructors/payments.validatedRequestedInfo.md b/old_docs/API_docs_v71/constructors/payments.validatedRequestedInfo.md new file mode 100644 index 00000000..4789b28d --- /dev/null +++ b/old_docs/API_docs_v71/constructors/payments.validatedRequestedInfo.md @@ -0,0 +1,39 @@ +--- +title: payments.validatedRequestedInfo +description: Validated user-provided info +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: payments.validatedRequestedInfo +[Back to constructors index](index.md) + + + +Validated user-provided info + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|id|[string](../types/string.md) | Optional|ID| +|shipping\_options|Array of [ShippingOption](../types/ShippingOption.md) | Optional|Shipping options| + + + +### Type: [payments.ValidatedRequestedInfo](../types/payments.ValidatedRequestedInfo.md) + + +### Example: + +```php +$payments.validatedRequestedInfo = ['_' => 'payments.validatedRequestedInfo', 'id' => 'string', 'shipping_options' => [ShippingOption, ShippingOption]]; +``` + + +Or, if you're into Lua: + +```lua +payments.validatedRequestedInfo={_='payments.validatedRequestedInfo', id='string', shipping_options={ShippingOption}} + +``` + + diff --git a/old_docs/API_docs_v71/constructors/payments_paymentForm.md b/old_docs/API_docs_v71/constructors/payments_paymentForm.md deleted file mode 100644 index 88848527..00000000 --- a/old_docs/API_docs_v71/constructors/payments_paymentForm.md +++ /dev/null @@ -1,48 +0,0 @@ ---- -title: payments.paymentForm -description: Payment form -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: payments.paymentForm -[Back to constructors index](index.md) - - - -Payment form - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|can\_save\_credentials|[Bool](../types/Bool.md) | Optional|Whether the user can choose to save credentials.| -|password\_missing|[Bool](../types/Bool.md) | Optional|Indicates that the user can save payment credentials, but only after setting up a [2FA password](https://core.telegram.org/api/srp) (currently the account doesn't have a [2FA password](https://core.telegram.org/api/srp))| -|bot\_id|[int](../types/int.md) | Yes|Bot ID| -|invoice|[Invoice](../types/Invoice.md) | Yes|Invoice| -|provider\_id|[int](../types/int.md) | Yes|Payment provider ID.| -|url|[string](../types/string.md) | Yes|Payment form URL| -|native\_provider|[string](../types/string.md) | Optional|Payment provider name.
One of the following:
\- `stripe`| -|native\_params|[DataJSON](../types/DataJSON.md) | Optional|Contains information about the payment provider, if available, to support it natively without the need for opening the URL.
A JSON object that can contain the following fields:

\- `publishable_key`: Stripe API publishable key
\- `apple_pay_merchant_id`: Apple Pay merchant ID
\- `android_pay_public_key`: Android Pay public key
\- `android_pay_bgcolor`: Android Pay form background color
\- `android_pay_inverse`: Whether to use the dark theme in the Android Pay form
\- `need_country`: True, if the user country must be provided,
\- `need_zip`: True, if the user ZIP/postal code must be provided,
\- `need_cardholder_name`: True, if the cardholder name must be provided
| -|saved\_info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Optional|Saved server-side order information| -|saved\_credentials|[PaymentSavedCredentials](../types/PaymentSavedCredentials.md) | Optional|Contains information about saved card credentials| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [payments\_PaymentForm](../types/payments_PaymentForm.md) - - -### Example: - -```php -$payments_paymentForm = ['_' => 'payments.paymentForm', 'can_save_credentials' => Bool, 'password_missing' => Bool, 'bot_id' => int, 'invoice' => Invoice, 'provider_id' => int, 'url' => 'string', 'native_provider' => 'string', 'native_params' => DataJSON, 'saved_info' => PaymentRequestedInfo, 'saved_credentials' => PaymentSavedCredentials, 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -payments_paymentForm={_='payments.paymentForm', can_save_credentials=Bool, password_missing=Bool, bot_id=int, invoice=Invoice, provider_id=int, url='string', native_provider='string', native_params=DataJSON, saved_info=PaymentRequestedInfo, saved_credentials=PaymentSavedCredentials, users={User}} - -``` - - diff --git a/old_docs/API_docs_v71/constructors/payments_paymentReceipt.md b/old_docs/API_docs_v71/constructors/payments_paymentReceipt.md deleted file mode 100644 index 411e9dee..00000000 --- a/old_docs/API_docs_v71/constructors/payments_paymentReceipt.md +++ /dev/null @@ -1,47 +0,0 @@ ---- -title: payments.paymentReceipt -description: Receipt -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: payments.paymentReceipt -[Back to constructors index](index.md) - - - -Receipt - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Date of generation| -|bot\_id|[int](../types/int.md) | Yes|Bot ID| -|invoice|[Invoice](../types/Invoice.md) | Yes|Invoice| -|provider\_id|[int](../types/int.md) | Yes|Provider ID| -|info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Optional|Info| -|shipping|[ShippingOption](../types/ShippingOption.md) | Optional|Selected shipping option| -|currency|[string](../types/string.md) | Yes|Three-letter ISO 4217 [currency](https://core.telegram.org/bots/payments#supported-currencies) code| -|total\_amount|[long](../types/long.md) | Yes|Total amount in the smallest units of the currency (integer, not float/double). For example, for a price of `US$ 1.45` pass `amount = 145`. See the exp parameter in [currencies.json](https://core.telegram.org/bots/payments/currencies.json), it shows the number of digits past the decimal point for each currency (2 for the majority of currencies).| -|credentials\_title|[string](../types/string.md) | Yes|Payment credential name| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [payments\_PaymentReceipt](../types/payments_PaymentReceipt.md) - - -### Example: - -```php -$payments_paymentReceipt = ['_' => 'payments.paymentReceipt', 'date' => int, 'bot_id' => int, 'invoice' => Invoice, 'provider_id' => int, 'info' => PaymentRequestedInfo, 'shipping' => ShippingOption, 'currency' => 'string', 'total_amount' => long, 'credentials_title' => 'string', 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -payments_paymentReceipt={_='payments.paymentReceipt', date=int, bot_id=int, invoice=Invoice, provider_id=int, info=PaymentRequestedInfo, shipping=ShippingOption, currency='string', total_amount=long, credentials_title='string', users={User}} - -``` - - diff --git a/old_docs/API_docs_v71/constructors/payments_paymentResult.md b/old_docs/API_docs_v71/constructors/payments_paymentResult.md deleted file mode 100644 index 12af1d36..00000000 --- a/old_docs/API_docs_v71/constructors/payments_paymentResult.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: payments.paymentResult -description: Payment result -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: payments.paymentResult -[Back to constructors index](index.md) - - - -Payment result - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|updates|[Updates](../types/Updates.md) | Yes|Info about the payment| - - - -### Type: [payments\_PaymentResult](../types/payments_PaymentResult.md) - - -### Example: - -```php -$payments_paymentResult = ['_' => 'payments.paymentResult', 'updates' => Updates]; -``` - - -Or, if you're into Lua: - -```lua -payments_paymentResult={_='payments.paymentResult', updates=Updates} - -``` - - diff --git a/old_docs/API_docs_v71/constructors/payments_paymentVerficationNeeded.md b/old_docs/API_docs_v71/constructors/payments_paymentVerficationNeeded.md deleted file mode 100644 index 70ca205d..00000000 --- a/old_docs/API_docs_v71/constructors/payments_paymentVerficationNeeded.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: payments.paymentVerficationNeeded -description: Payment verfication needed -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: payments.paymentVerficationNeeded -[Back to constructors index](index.md) - - - -Payment verfication needed - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|url|[string](../types/string.md) | Yes|URL| - - - -### Type: [payments\_PaymentResult](../types/payments_PaymentResult.md) - - -### Example: - -```php -$payments_paymentVerficationNeeded = ['_' => 'payments.paymentVerficationNeeded', 'url' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -payments_paymentVerficationNeeded={_='payments.paymentVerficationNeeded', url='string'} - -``` - - diff --git a/old_docs/API_docs_v71/constructors/payments_savedInfo.md b/old_docs/API_docs_v71/constructors/payments_savedInfo.md deleted file mode 100644 index 19d3aee5..00000000 --- a/old_docs/API_docs_v71/constructors/payments_savedInfo.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: payments.savedInfo -description: Saved server-side order information -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: payments.savedInfo -[Back to constructors index](index.md) - - - -Saved server-side order information - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|has\_saved\_credentials|[Bool](../types/Bool.md) | Optional|Whether the user has some saved payment credentials| -|saved\_info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Optional|Saved server-side order information| - - - -### Type: [payments\_SavedInfo](../types/payments_SavedInfo.md) - - -### Example: - -```php -$payments_savedInfo = ['_' => 'payments.savedInfo', 'has_saved_credentials' => Bool, 'saved_info' => PaymentRequestedInfo]; -``` - - -Or, if you're into Lua: - -```lua -payments_savedInfo={_='payments.savedInfo', has_saved_credentials=Bool, saved_info=PaymentRequestedInfo} - -``` - - diff --git a/old_docs/API_docs_v71/constructors/payments_validatedRequestedInfo.md b/old_docs/API_docs_v71/constructors/payments_validatedRequestedInfo.md deleted file mode 100644 index a07c7d06..00000000 --- a/old_docs/API_docs_v71/constructors/payments_validatedRequestedInfo.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: payments.validatedRequestedInfo -description: Validated user-provided info -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: payments.validatedRequestedInfo -[Back to constructors index](index.md) - - - -Validated user-provided info - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|id|[string](../types/string.md) | Optional|ID| -|shipping\_options|Array of [ShippingOption](../types/ShippingOption.md) | Optional|Shipping options| - - - -### Type: [payments\_ValidatedRequestedInfo](../types/payments_ValidatedRequestedInfo.md) - - -### Example: - -```php -$payments_validatedRequestedInfo = ['_' => 'payments.validatedRequestedInfo', 'id' => 'string', 'shipping_options' => [ShippingOption, ShippingOption]]; -``` - - -Or, if you're into Lua: - -```lua -payments_validatedRequestedInfo={_='payments.validatedRequestedInfo', id='string', shipping_options={ShippingOption}} - -``` - - diff --git a/old_docs/API_docs_v71/constructors/phone.phoneCall.md b/old_docs/API_docs_v71/constructors/phone.phoneCall.md new file mode 100644 index 00000000..8c1d26d4 --- /dev/null +++ b/old_docs/API_docs_v71/constructors/phone.phoneCall.md @@ -0,0 +1,39 @@ +--- +title: phone.phoneCall +description: A VoIP phone call +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: phone.phoneCall +[Back to constructors index](index.md) + + + +A VoIP phone call + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_call|[PhoneCall](../types/PhoneCall.md) | Optional|The VoIP phone call| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [phone.PhoneCall](../types/phone.PhoneCall.md) + + +### Example: + +```php +$phone.phoneCall = ['_' => 'phone.phoneCall', 'phone_call' => PhoneCall, 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +phone.phoneCall={_='phone.phoneCall', phone_call=PhoneCall, users={User}} + +``` + + diff --git a/old_docs/API_docs_v71/constructors/phone_phoneCall.md b/old_docs/API_docs_v71/constructors/phone_phoneCall.md deleted file mode 100644 index 94314567..00000000 --- a/old_docs/API_docs_v71/constructors/phone_phoneCall.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: phone.phoneCall -description: A VoIP phone call -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: phone.phoneCall -[Back to constructors index](index.md) - - - -A VoIP phone call - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_call|[PhoneCall](../types/PhoneCall.md) | Optional|The VoIP phone call| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [phone\_PhoneCall](../types/phone_PhoneCall.md) - - -### Example: - -```php -$phone_phoneCall = ['_' => 'phone.phoneCall', 'phone_call' => PhoneCall, 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -phone_phoneCall={_='phone.phoneCall', phone_call=PhoneCall, users={User}} - -``` - - diff --git a/old_docs/API_docs_v71/constructors/photos.photo.md b/old_docs/API_docs_v71/constructors/photos.photo.md new file mode 100644 index 00000000..43d3efc7 --- /dev/null +++ b/old_docs/API_docs_v71/constructors/photos.photo.md @@ -0,0 +1,39 @@ +--- +title: photos.photo +description: Photo with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: photos.photo +[Back to constructors index](index.md) + + + +Photo with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|photo|[Photo](../types/Photo.md) | Optional|Photo| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [photos.Photo](../types/photos.Photo.md) + + +### Example: + +```php +$photos.photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +photos.photo={_='photos.photo', photo=Photo, users={User}} + +``` + + diff --git a/old_docs/API_docs_v71/constructors/photos.photos.md b/old_docs/API_docs_v71/constructors/photos.photos.md new file mode 100644 index 00000000..901a9693 --- /dev/null +++ b/old_docs/API_docs_v71/constructors/photos.photos.md @@ -0,0 +1,39 @@ +--- +title: photos.photos +description: Full list of photos with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: photos.photos +[Back to constructors index](index.md) + + + +Full list of photos with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [photos.Photos](../types/photos.Photos.md) + + +### Example: + +```php +$photos.photos = ['_' => 'photos.photos', 'photos' => [Photo, Photo], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +photos.photos={_='photos.photos', photos={Photo}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v71/constructors/photos.photosSlice.md b/old_docs/API_docs_v71/constructors/photos.photosSlice.md new file mode 100644 index 00000000..2cca3546 --- /dev/null +++ b/old_docs/API_docs_v71/constructors/photos.photosSlice.md @@ -0,0 +1,40 @@ +--- +title: photos.photosSlice +description: Incomplete list of photos with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: photos.photosSlice +[Back to constructors index](index.md) + + + +Incomplete list of photos with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of photos| +|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [photos.Photos](../types/photos.Photos.md) + + +### Example: + +```php +$photos.photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo, Photo], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +photos.photosSlice={_='photos.photosSlice', count=int, photos={Photo}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v71/constructors/photos_photo.md b/old_docs/API_docs_v71/constructors/photos_photo.md deleted file mode 100644 index d5ad61d9..00000000 --- a/old_docs/API_docs_v71/constructors/photos_photo.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: photos.photo -description: Photo with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: photos.photo -[Back to constructors index](index.md) - - - -Photo with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|photo|[Photo](../types/Photo.md) | Optional|Photo| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [photos\_Photo](../types/photos_Photo.md) - - -### Example: - -```php -$photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -photos_photo={_='photos.photo', photo=Photo, users={User}} - -``` - - diff --git a/old_docs/API_docs_v71/constructors/photos_photos.md b/old_docs/API_docs_v71/constructors/photos_photos.md deleted file mode 100644 index 6ae5d048..00000000 --- a/old_docs/API_docs_v71/constructors/photos_photos.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: photos.photos -description: Full list of photos with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: photos.photos -[Back to constructors index](index.md) - - - -Full list of photos with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [photos\_Photos](../types/photos_Photos.md) - - -### Example: - -```php -$photos_photos = ['_' => 'photos.photos', 'photos' => [Photo, Photo], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -photos_photos={_='photos.photos', photos={Photo}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v71/constructors/photos_photosSlice.md b/old_docs/API_docs_v71/constructors/photos_photosSlice.md deleted file mode 100644 index 5c465c21..00000000 --- a/old_docs/API_docs_v71/constructors/photos_photosSlice.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: photos.photosSlice -description: Incomplete list of photos with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: photos.photosSlice -[Back to constructors index](index.md) - - - -Incomplete list of photos with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of photos| -|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [photos\_Photos](../types/photos_Photos.md) - - -### Example: - -```php -$photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo, Photo], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -photos_photosSlice={_='photos.photosSlice', count=int, photos={Photo}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v71/constructors/storage.fileGif.md b/old_docs/API_docs_v71/constructors/storage.fileGif.md new file mode 100644 index 00000000..8193bd25 --- /dev/null +++ b/old_docs/API_docs_v71/constructors/storage.fileGif.md @@ -0,0 +1,33 @@ +--- +title: storage.fileGif +description: GIF image. MIME type: `image/gif`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileGif +[Back to constructors index](index.md) + + + +GIF image. MIME type: `image/gif`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileGif = ['_' => 'storage.fileGif']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileGif={_='storage.fileGif'} + +``` + + diff --git a/old_docs/API_docs_v71/constructors/storage.fileJpeg.md b/old_docs/API_docs_v71/constructors/storage.fileJpeg.md new file mode 100644 index 00000000..7f125963 --- /dev/null +++ b/old_docs/API_docs_v71/constructors/storage.fileJpeg.md @@ -0,0 +1,33 @@ +--- +title: storage.fileJpeg +description: JPEG image. MIME type: `image/jpeg`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileJpeg +[Back to constructors index](index.md) + + + +JPEG image. MIME type: `image/jpeg`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileJpeg = ['_' => 'storage.fileJpeg']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileJpeg={_='storage.fileJpeg'} + +``` + + diff --git a/old_docs/API_docs_v71/constructors/storage.fileMov.md b/old_docs/API_docs_v71/constructors/storage.fileMov.md new file mode 100644 index 00000000..cb3742e0 --- /dev/null +++ b/old_docs/API_docs_v71/constructors/storage.fileMov.md @@ -0,0 +1,33 @@ +--- +title: storage.fileMov +description: Quicktime video. MIME type: `video/quicktime`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileMov +[Back to constructors index](index.md) + + + +Quicktime video. MIME type: `video/quicktime`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileMov = ['_' => 'storage.fileMov']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileMov={_='storage.fileMov'} + +``` + + diff --git a/old_docs/API_docs_v71/constructors/storage.fileMp3.md b/old_docs/API_docs_v71/constructors/storage.fileMp3.md new file mode 100644 index 00000000..617f2d39 --- /dev/null +++ b/old_docs/API_docs_v71/constructors/storage.fileMp3.md @@ -0,0 +1,33 @@ +--- +title: storage.fileMp3 +description: Mp3 audio. MIME type: `audio/mpeg`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileMp3 +[Back to constructors index](index.md) + + + +Mp3 audio. MIME type: `audio/mpeg`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileMp3 = ['_' => 'storage.fileMp3']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileMp3={_='storage.fileMp3'} + +``` + + diff --git a/old_docs/API_docs_v71/constructors/storage.fileMp4.md b/old_docs/API_docs_v71/constructors/storage.fileMp4.md new file mode 100644 index 00000000..37038176 --- /dev/null +++ b/old_docs/API_docs_v71/constructors/storage.fileMp4.md @@ -0,0 +1,33 @@ +--- +title: storage.fileMp4 +description: MPEG-4 video. MIME type: `video/mp4`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileMp4 +[Back to constructors index](index.md) + + + +MPEG-4 video. MIME type: `video/mp4`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileMp4 = ['_' => 'storage.fileMp4']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileMp4={_='storage.fileMp4'} + +``` + + diff --git a/old_docs/API_docs_v71/constructors/storage.filePartial.md b/old_docs/API_docs_v71/constructors/storage.filePartial.md new file mode 100644 index 00000000..98779e71 --- /dev/null +++ b/old_docs/API_docs_v71/constructors/storage.filePartial.md @@ -0,0 +1,33 @@ +--- +title: storage.filePartial +description: Part of a bigger file. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.filePartial +[Back to constructors index](index.md) + + + +Part of a bigger file. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.filePartial = ['_' => 'storage.filePartial']; +``` + + +Or, if you're into Lua: + +```lua +storage.filePartial={_='storage.filePartial'} + +``` + + diff --git a/old_docs/API_docs_v71/constructors/storage.filePdf.md b/old_docs/API_docs_v71/constructors/storage.filePdf.md new file mode 100644 index 00000000..136c0614 --- /dev/null +++ b/old_docs/API_docs_v71/constructors/storage.filePdf.md @@ -0,0 +1,33 @@ +--- +title: storage.filePdf +description: PDF document image. MIME type: `application/pdf`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.filePdf +[Back to constructors index](index.md) + + + +PDF document image. MIME type: `application/pdf`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.filePdf = ['_' => 'storage.filePdf']; +``` + + +Or, if you're into Lua: + +```lua +storage.filePdf={_='storage.filePdf'} + +``` + + diff --git a/old_docs/API_docs_v71/constructors/storage.filePng.md b/old_docs/API_docs_v71/constructors/storage.filePng.md new file mode 100644 index 00000000..db01ce0e --- /dev/null +++ b/old_docs/API_docs_v71/constructors/storage.filePng.md @@ -0,0 +1,33 @@ +--- +title: storage.filePng +description: PNG image. MIME type: `image/png`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.filePng +[Back to constructors index](index.md) + + + +PNG image. MIME type: `image/png`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.filePng = ['_' => 'storage.filePng']; +``` + + +Or, if you're into Lua: + +```lua +storage.filePng={_='storage.filePng'} + +``` + + diff --git a/old_docs/API_docs_v71/constructors/storage.fileUnknown.md b/old_docs/API_docs_v71/constructors/storage.fileUnknown.md new file mode 100644 index 00000000..26f0a5ae --- /dev/null +++ b/old_docs/API_docs_v71/constructors/storage.fileUnknown.md @@ -0,0 +1,33 @@ +--- +title: storage.fileUnknown +description: Unknown type. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileUnknown +[Back to constructors index](index.md) + + + +Unknown type. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileUnknown = ['_' => 'storage.fileUnknown']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileUnknown={_='storage.fileUnknown'} + +``` + + diff --git a/old_docs/API_docs_v71/constructors/storage.fileWebp.md b/old_docs/API_docs_v71/constructors/storage.fileWebp.md new file mode 100644 index 00000000..63c9ded1 --- /dev/null +++ b/old_docs/API_docs_v71/constructors/storage.fileWebp.md @@ -0,0 +1,33 @@ +--- +title: storage.fileWebp +description: WEBP image. MIME type: `image/webp`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileWebp +[Back to constructors index](index.md) + + + +WEBP image. MIME type: `image/webp`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileWebp = ['_' => 'storage.fileWebp']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileWebp={_='storage.fileWebp'} + +``` + + diff --git a/old_docs/API_docs_v71/constructors/storage_fileGif.md b/old_docs/API_docs_v71/constructors/storage_fileGif.md deleted file mode 100644 index 218c7491..00000000 --- a/old_docs/API_docs_v71/constructors/storage_fileGif.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileGif -description: GIF image. MIME type: `image/gif`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileGif -[Back to constructors index](index.md) - - - -GIF image. MIME type: `image/gif`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileGif = ['_' => 'storage.fileGif']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileGif={_='storage.fileGif'} - -``` - - diff --git a/old_docs/API_docs_v71/constructors/storage_fileJpeg.md b/old_docs/API_docs_v71/constructors/storage_fileJpeg.md deleted file mode 100644 index 925531cd..00000000 --- a/old_docs/API_docs_v71/constructors/storage_fileJpeg.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileJpeg -description: JPEG image. MIME type: `image/jpeg`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileJpeg -[Back to constructors index](index.md) - - - -JPEG image. MIME type: `image/jpeg`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileJpeg = ['_' => 'storage.fileJpeg']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileJpeg={_='storage.fileJpeg'} - -``` - - diff --git a/old_docs/API_docs_v71/constructors/storage_fileMov.md b/old_docs/API_docs_v71/constructors/storage_fileMov.md deleted file mode 100644 index eaf2a6ff..00000000 --- a/old_docs/API_docs_v71/constructors/storage_fileMov.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileMov -description: Quicktime video. MIME type: `video/quicktime`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileMov -[Back to constructors index](index.md) - - - -Quicktime video. MIME type: `video/quicktime`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileMov = ['_' => 'storage.fileMov']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileMov={_='storage.fileMov'} - -``` - - diff --git a/old_docs/API_docs_v71/constructors/storage_fileMp3.md b/old_docs/API_docs_v71/constructors/storage_fileMp3.md deleted file mode 100644 index 9afcefbb..00000000 --- a/old_docs/API_docs_v71/constructors/storage_fileMp3.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileMp3 -description: Mp3 audio. MIME type: `audio/mpeg`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileMp3 -[Back to constructors index](index.md) - - - -Mp3 audio. MIME type: `audio/mpeg`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileMp3 = ['_' => 'storage.fileMp3']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileMp3={_='storage.fileMp3'} - -``` - - diff --git a/old_docs/API_docs_v71/constructors/storage_fileMp4.md b/old_docs/API_docs_v71/constructors/storage_fileMp4.md deleted file mode 100644 index cdc0e783..00000000 --- a/old_docs/API_docs_v71/constructors/storage_fileMp4.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileMp4 -description: MPEG-4 video. MIME type: `video/mp4`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileMp4 -[Back to constructors index](index.md) - - - -MPEG-4 video. MIME type: `video/mp4`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileMp4 = ['_' => 'storage.fileMp4']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileMp4={_='storage.fileMp4'} - -``` - - diff --git a/old_docs/API_docs_v71/constructors/storage_filePartial.md b/old_docs/API_docs_v71/constructors/storage_filePartial.md deleted file mode 100644 index 9bfadf63..00000000 --- a/old_docs/API_docs_v71/constructors/storage_filePartial.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.filePartial -description: Part of a bigger file. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.filePartial -[Back to constructors index](index.md) - - - -Part of a bigger file. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_filePartial = ['_' => 'storage.filePartial']; -``` - - -Or, if you're into Lua: - -```lua -storage_filePartial={_='storage.filePartial'} - -``` - - diff --git a/old_docs/API_docs_v71/constructors/storage_filePdf.md b/old_docs/API_docs_v71/constructors/storage_filePdf.md deleted file mode 100644 index efb022cc..00000000 --- a/old_docs/API_docs_v71/constructors/storage_filePdf.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.filePdf -description: PDF document image. MIME type: `application/pdf`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.filePdf -[Back to constructors index](index.md) - - - -PDF document image. MIME type: `application/pdf`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_filePdf = ['_' => 'storage.filePdf']; -``` - - -Or, if you're into Lua: - -```lua -storage_filePdf={_='storage.filePdf'} - -``` - - diff --git a/old_docs/API_docs_v71/constructors/storage_filePng.md b/old_docs/API_docs_v71/constructors/storage_filePng.md deleted file mode 100644 index 412759e4..00000000 --- a/old_docs/API_docs_v71/constructors/storage_filePng.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.filePng -description: PNG image. MIME type: `image/png`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.filePng -[Back to constructors index](index.md) - - - -PNG image. MIME type: `image/png`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_filePng = ['_' => 'storage.filePng']; -``` - - -Or, if you're into Lua: - -```lua -storage_filePng={_='storage.filePng'} - -``` - - diff --git a/old_docs/API_docs_v71/constructors/storage_fileUnknown.md b/old_docs/API_docs_v71/constructors/storage_fileUnknown.md deleted file mode 100644 index ed33dd5e..00000000 --- a/old_docs/API_docs_v71/constructors/storage_fileUnknown.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileUnknown -description: Unknown type. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileUnknown -[Back to constructors index](index.md) - - - -Unknown type. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileUnknown = ['_' => 'storage.fileUnknown']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileUnknown={_='storage.fileUnknown'} - -``` - - diff --git a/old_docs/API_docs_v71/constructors/storage_fileWebp.md b/old_docs/API_docs_v71/constructors/storage_fileWebp.md deleted file mode 100644 index 04dcad74..00000000 --- a/old_docs/API_docs_v71/constructors/storage_fileWebp.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileWebp -description: WEBP image. MIME type: `image/webp`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileWebp -[Back to constructors index](index.md) - - - -WEBP image. MIME type: `image/webp`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileWebp = ['_' => 'storage.fileWebp']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileWebp={_='storage.fileWebp'} - -``` - - diff --git a/old_docs/API_docs_v71/constructors/updateNewStickerSet.md b/old_docs/API_docs_v71/constructors/updateNewStickerSet.md index 8a99a363..c32c41ff 100644 --- a/old_docs/API_docs_v71/constructors/updateNewStickerSet.md +++ b/old_docs/API_docs_v71/constructors/updateNewStickerSet.md @@ -14,7 +14,7 @@ A new stickerset was installed | Name | Type | Required | Description | |----------|---------------|----------|-------------| -|stickerset|[messages\_StickerSet](../types/messages_StickerSet.md) | Yes|The installed stickerset| +|stickerset|[messages.StickerSet](../constructors/messages.StickerSet.md) | Yes|The installed stickerset| @@ -24,14 +24,14 @@ A new stickerset was installed ### Example: ```php -$updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages_StickerSet]; +$updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages.StickerSet]; ``` Or, if you're into Lua: ```lua -updateNewStickerSet={_='updateNewStickerSet', stickerset=messages_StickerSet} +updateNewStickerSet={_='updateNewStickerSet', stickerset=messages.StickerSet} ``` diff --git a/old_docs/API_docs_v71/constructors/updates.channelDifference.md b/old_docs/API_docs_v71/constructors/updates.channelDifference.md new file mode 100644 index 00000000..5a13791c --- /dev/null +++ b/old_docs/API_docs_v71/constructors/updates.channelDifference.md @@ -0,0 +1,44 @@ +--- +title: updates.channelDifference +description: The new updates +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.channelDifference +[Back to constructors index](index.md) + + + +The new updates + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates to be fetched using getDifference, starting from the provided `pts`| +|pts|[int](../types/int.md) | Yes|The [PTS](https://core.telegram.org/api/updates) from which to start getting updates the next time| +|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| +|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| +|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [updates.ChannelDifference](../types/updates.ChannelDifference.md) + + +### Example: + +```php +$updates.channelDifference = ['_' => 'updates.channelDifference', 'final' => Bool, 'pts' => int, 'timeout' => int, 'new_messages' => [Message, Message], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +updates.channelDifference={_='updates.channelDifference', final=Bool, pts=int, timeout=int, new_messages={Message}, other_updates={Update}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v71/constructors/updates.channelDifferenceEmpty.md b/old_docs/API_docs_v71/constructors/updates.channelDifferenceEmpty.md new file mode 100644 index 00000000..8ce43da4 --- /dev/null +++ b/old_docs/API_docs_v71/constructors/updates.channelDifferenceEmpty.md @@ -0,0 +1,40 @@ +--- +title: updates.channelDifferenceEmpty +description: There are no new updates +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.channelDifferenceEmpty +[Back to constructors index](index.md) + + + +There are no new updates + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates that must be fetched (always false)| +|pts|[int](../types/int.md) | Yes|The latest [PTS](https://core.telegram.org/api/updates)| +|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| + + + +### Type: [updates.ChannelDifference](../types/updates.ChannelDifference.md) + + +### Example: + +```php +$updates.channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'final' => Bool, 'pts' => int, 'timeout' => int]; +``` + + +Or, if you're into Lua: + +```lua +updates.channelDifferenceEmpty={_='updates.channelDifferenceEmpty', final=Bool, pts=int, timeout=int} + +``` + + diff --git a/old_docs/API_docs_v71/constructors/updates.channelDifferenceTooLong.md b/old_docs/API_docs_v71/constructors/updates.channelDifferenceTooLong.md new file mode 100644 index 00000000..9290856d --- /dev/null +++ b/old_docs/API_docs_v71/constructors/updates.channelDifferenceTooLong.md @@ -0,0 +1,58 @@ +--- +title: updates.channelDifferenceTooLong +description: The provided `pts + limit < remote pts`. Simply, there are too many updates to be fetched (more than `limit`), the client has to resolve the update gap in one of the following ways: + +1. Delete all known messages in the chat, begin from scratch by refetching all messages manually with [getHistory](../methods/messages.getHistory.md). It is easy to implement, but suddenly disappearing messages looks awful for the user. +2. Save all messages loaded in the memory until application restart, but delete all messages from database. Messages left in the memory must be lazily updated using calls to [getHistory](../methods/messages.getHistory.md). It looks much smoothly for the user, he will need to redownload messages only after client restart. Unsynchronized messages left in the memory shouldn't be saved to database, results of [getHistory](../methods/messages.getHistory.md) and [getMessages](../methods/messages.getMessages.md) must be used to update state of deleted and edited messages left in the memory. +3. Save all messages loaded in the memory and stored in the database without saving that some messages form continuous ranges. Messages in the database will be excluded from results of getChatHistory and searchChatMessages after application restart and will be available only through getMessage. Every message should still be checked using getHistory. It has more disadvantages over 2) than advantages. +4. Save all messages with saving all data about continuous message ranges. Messages from the database may be used as results of getChatHistory and (if implemented continuous ranges support for searching shared media) searchChatMessages. The messages should still be lazily checked using getHistory, but they are still available offline. It is the best way for gaps support, but it is pretty hard to implement correctly. It should be also noted that some messages like live location messages shouldn't be deleted. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.channelDifferenceTooLong +[Back to constructors index](index.md) + + + +The provided `pts + limit < remote pts`. Simply, there are too many updates to be fetched (more than `limit`), the client has to resolve the update gap in one of the following ways: + +1. Delete all known messages in the chat, begin from scratch by refetching all messages manually with [getHistory](../methods/messages.getHistory.md). It is easy to implement, but suddenly disappearing messages looks awful for the user. +2. Save all messages loaded in the memory until application restart, but delete all messages from database. Messages left in the memory must be lazily updated using calls to [getHistory](../methods/messages.getHistory.md). It looks much smoothly for the user, he will need to redownload messages only after client restart. Unsynchronized messages left in the memory shouldn't be saved to database, results of [getHistory](../methods/messages.getHistory.md) and [getMessages](../methods/messages.getMessages.md) must be used to update state of deleted and edited messages left in the memory. +3. Save all messages loaded in the memory and stored in the database without saving that some messages form continuous ranges. Messages in the database will be excluded from results of getChatHistory and searchChatMessages after application restart and will be available only through getMessage. Every message should still be checked using getHistory. It has more disadvantages over 2) than advantages. +4. Save all messages with saving all data about continuous message ranges. Messages from the database may be used as results of getChatHistory and (if implemented continuous ranges support for searching shared media) searchChatMessages. The messages should still be lazily checked using getHistory, but they are still available offline. It is the best way for gaps support, but it is pretty hard to implement correctly. It should be also noted that some messages like live location messages shouldn't be deleted. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates that must be fetched (always false)| +|pts|[int](../types/int.md) | Yes|Pts| +|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| +|top\_message|[int](../types/int.md) | Yes|Top message| +|read\_inbox\_max\_id|[int](../types/int.md) | Yes|Read inbox max ID| +|read\_outbox\_max\_id|[int](../types/int.md) | Yes|Read outbox max ID| +|unread\_count|[int](../types/int.md) | Yes|Unread count| +|unread\_mentions\_count|[int](../types/int.md) | Yes|Unread mentions count| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [updates.ChannelDifference](../types/updates.ChannelDifference.md) + + +### Example: + +```php +$updates.channelDifferenceTooLong = ['_' => 'updates.channelDifferenceTooLong', 'final' => Bool, 'pts' => int, 'timeout' => int, 'top_message' => int, 'read_inbox_max_id' => int, 'read_outbox_max_id' => int, 'unread_count' => int, 'unread_mentions_count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +updates.channelDifferenceTooLong={_='updates.channelDifferenceTooLong', final=Bool, pts=int, timeout=int, top_message=int, read_inbox_max_id=int, read_outbox_max_id=int, unread_count=int, unread_mentions_count=int, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v71/constructors/updates.difference.md b/old_docs/API_docs_v71/constructors/updates.difference.md new file mode 100644 index 00000000..82541b51 --- /dev/null +++ b/old_docs/API_docs_v71/constructors/updates.difference.md @@ -0,0 +1,43 @@ +--- +title: updates.difference +description: Full list of occurred events. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.difference +[Back to constructors index](index.md) + + + +Full list of occurred events. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| +|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| +|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| +|state|[updates.State](../constructors/updates.State.md) | Yes|Current state| + + + +### Type: [updates.Difference](../types/updates.Difference.md) + + +### Example: + +```php +$updates.difference = ['_' => 'updates.difference', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates.State]; +``` + + +Or, if you're into Lua: + +```lua +updates.difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates.State} + +``` + + diff --git a/old_docs/API_docs_v71/constructors/updates.differenceEmpty.md b/old_docs/API_docs_v71/constructors/updates.differenceEmpty.md new file mode 100644 index 00000000..a9dc3bd0 --- /dev/null +++ b/old_docs/API_docs_v71/constructors/updates.differenceEmpty.md @@ -0,0 +1,39 @@ +--- +title: updates.differenceEmpty +description: No events. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.differenceEmpty +[Back to constructors index](index.md) + + + +No events. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Current date| +|seq|[int](../types/int.md) | Yes|Number of sent updates| + + + +### Type: [updates.Difference](../types/updates.Difference.md) + + +### Example: + +```php +$updates.differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int]; +``` + + +Or, if you're into Lua: + +```lua +updates.differenceEmpty={_='updates.differenceEmpty', date=int, seq=int} + +``` + + diff --git a/old_docs/API_docs_v71/constructors/updates.differenceSlice.md b/old_docs/API_docs_v71/constructors/updates.differenceSlice.md new file mode 100644 index 00000000..9daf7a75 --- /dev/null +++ b/old_docs/API_docs_v71/constructors/updates.differenceSlice.md @@ -0,0 +1,43 @@ +--- +title: updates.differenceSlice +description: Incomplete list of occurred events. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.differenceSlice +[Back to constructors index](index.md) + + + +Incomplete list of occurred events. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| +|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| +|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| +|intermediate\_state|[updates.State](../constructors/updates.State.md) | Yes|Intermediary state| + + + +### Type: [updates.Difference](../types/updates.Difference.md) + + +### Example: + +```php +$updates.differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'intermediate_state' => updates.State]; +``` + + +Or, if you're into Lua: + +```lua +updates.differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates.State} + +``` + + diff --git a/old_docs/API_docs_v71/constructors/updates.differenceTooLong.md b/old_docs/API_docs_v71/constructors/updates.differenceTooLong.md new file mode 100644 index 00000000..ef2e7e4d --- /dev/null +++ b/old_docs/API_docs_v71/constructors/updates.differenceTooLong.md @@ -0,0 +1,38 @@ +--- +title: updates.differenceTooLong +description: The difference is [too long](https://core.telegram.org/api/updates#recovering-gaps), and the specified state must be used to refetch updates. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.differenceTooLong +[Back to constructors index](index.md) + + + +The difference is [too long](https://core.telegram.org/api/updates#recovering-gaps), and the specified state must be used to refetch updates. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|The new state to use.| + + + +### Type: [updates.Difference](../types/updates.Difference.md) + + +### Example: + +```php +$updates.differenceTooLong = ['_' => 'updates.differenceTooLong', 'pts' => int]; +``` + + +Or, if you're into Lua: + +```lua +updates.differenceTooLong={_='updates.differenceTooLong', pts=int} + +``` + + diff --git a/old_docs/API_docs_v71/constructors/updates.state.md b/old_docs/API_docs_v71/constructors/updates.state.md new file mode 100644 index 00000000..abe9ddbb --- /dev/null +++ b/old_docs/API_docs_v71/constructors/updates.state.md @@ -0,0 +1,42 @@ +--- +title: updates.state +description: Updates state. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.state +[Back to constructors index](index.md) + + + +Updates state. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| +|qts|[int](../types/int.md) | Yes|Position in a sequence of updates in secret chats. For further detailes refer to article [secret chats](https://core.telegram.org/api/end-to-end)
Parameter was added in [eigth layer](https://core.telegram.org/api/layers#layer-8).| +|date|[int](../types/int.md) | Yes|Date of condition| +|seq|[int](../types/int.md) | Yes|Number of sent updates| +|unread\_count|[int](../types/int.md) | Yes|Number of unread messages| + + + +### Type: [updates.State](../types/updates.State.md) + + +### Example: + +```php +$updates.state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int]; +``` + + +Or, if you're into Lua: + +```lua +updates.state={_='updates.state', pts=int, qts=int, date=int, seq=int, unread_count=int} + +``` + + diff --git a/old_docs/API_docs_v71/constructors/updates_channelDifference.md b/old_docs/API_docs_v71/constructors/updates_channelDifference.md deleted file mode 100644 index 1b50fbf3..00000000 --- a/old_docs/API_docs_v71/constructors/updates_channelDifference.md +++ /dev/null @@ -1,44 +0,0 @@ ---- -title: updates.channelDifference -description: The new updates -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.channelDifference -[Back to constructors index](index.md) - - - -The new updates - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates to be fetched using getDifference, starting from the provided `pts`| -|pts|[int](../types/int.md) | Yes|The [PTS](https://core.telegram.org/api/updates) from which to start getting updates the next time| -|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| -|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| -|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) - - -### Example: - -```php -$updates_channelDifference = ['_' => 'updates.channelDifference', 'final' => Bool, 'pts' => int, 'timeout' => int, 'new_messages' => [Message, Message], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -updates_channelDifference={_='updates.channelDifference', final=Bool, pts=int, timeout=int, new_messages={Message}, other_updates={Update}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v71/constructors/updates_channelDifferenceEmpty.md b/old_docs/API_docs_v71/constructors/updates_channelDifferenceEmpty.md deleted file mode 100644 index 713137aa..00000000 --- a/old_docs/API_docs_v71/constructors/updates_channelDifferenceEmpty.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: updates.channelDifferenceEmpty -description: There are no new updates -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.channelDifferenceEmpty -[Back to constructors index](index.md) - - - -There are no new updates - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates that must be fetched (always false)| -|pts|[int](../types/int.md) | Yes|The latest [PTS](https://core.telegram.org/api/updates)| -|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| - - - -### Type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) - - -### Example: - -```php -$updates_channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'final' => Bool, 'pts' => int, 'timeout' => int]; -``` - - -Or, if you're into Lua: - -```lua -updates_channelDifferenceEmpty={_='updates.channelDifferenceEmpty', final=Bool, pts=int, timeout=int} - -``` - - diff --git a/old_docs/API_docs_v71/constructors/updates_channelDifferenceTooLong.md b/old_docs/API_docs_v71/constructors/updates_channelDifferenceTooLong.md deleted file mode 100644 index fd7a5060..00000000 --- a/old_docs/API_docs_v71/constructors/updates_channelDifferenceTooLong.md +++ /dev/null @@ -1,58 +0,0 @@ ---- -title: updates.channelDifferenceTooLong -description: The provided `pts + limit < remote pts`. Simply, there are too many updates to be fetched (more than `limit`), the client has to resolve the update gap in one of the following ways: - -1. Delete all known messages in the chat, begin from scratch by refetching all messages manually with [getHistory](../methods/messages.getHistory.md). It is easy to implement, but suddenly disappearing messages looks awful for the user. -2. Save all messages loaded in the memory until application restart, but delete all messages from database. Messages left in the memory must be lazily updated using calls to [getHistory](../methods/messages.getHistory.md). It looks much smoothly for the user, he will need to redownload messages only after client restart. Unsynchronized messages left in the memory shouldn't be saved to database, results of [getHistory](../methods/messages.getHistory.md) and [getMessages](../methods/messages.getMessages.md) must be used to update state of deleted and edited messages left in the memory. -3. Save all messages loaded in the memory and stored in the database without saving that some messages form continuous ranges. Messages in the database will be excluded from results of getChatHistory and searchChatMessages after application restart and will be available only through getMessage. Every message should still be checked using getHistory. It has more disadvantages over 2) than advantages. -4. Save all messages with saving all data about continuous message ranges. Messages from the database may be used as results of getChatHistory and (if implemented continuous ranges support for searching shared media) searchChatMessages. The messages should still be lazily checked using getHistory, but they are still available offline. It is the best way for gaps support, but it is pretty hard to implement correctly. It should be also noted that some messages like live location messages shouldn't be deleted. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.channelDifferenceTooLong -[Back to constructors index](index.md) - - - -The provided `pts + limit < remote pts`. Simply, there are too many updates to be fetched (more than `limit`), the client has to resolve the update gap in one of the following ways: - -1. Delete all known messages in the chat, begin from scratch by refetching all messages manually with [getHistory](../methods/messages.getHistory.md). It is easy to implement, but suddenly disappearing messages looks awful for the user. -2. Save all messages loaded in the memory until application restart, but delete all messages from database. Messages left in the memory must be lazily updated using calls to [getHistory](../methods/messages.getHistory.md). It looks much smoothly for the user, he will need to redownload messages only after client restart. Unsynchronized messages left in the memory shouldn't be saved to database, results of [getHistory](../methods/messages.getHistory.md) and [getMessages](../methods/messages.getMessages.md) must be used to update state of deleted and edited messages left in the memory. -3. Save all messages loaded in the memory and stored in the database without saving that some messages form continuous ranges. Messages in the database will be excluded from results of getChatHistory and searchChatMessages after application restart and will be available only through getMessage. Every message should still be checked using getHistory. It has more disadvantages over 2) than advantages. -4. Save all messages with saving all data about continuous message ranges. Messages from the database may be used as results of getChatHistory and (if implemented continuous ranges support for searching shared media) searchChatMessages. The messages should still be lazily checked using getHistory, but they are still available offline. It is the best way for gaps support, but it is pretty hard to implement correctly. It should be also noted that some messages like live location messages shouldn't be deleted. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates that must be fetched (always false)| -|pts|[int](../types/int.md) | Yes|Pts| -|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| -|top\_message|[int](../types/int.md) | Yes|Top message| -|read\_inbox\_max\_id|[int](../types/int.md) | Yes|Read inbox max ID| -|read\_outbox\_max\_id|[int](../types/int.md) | Yes|Read outbox max ID| -|unread\_count|[int](../types/int.md) | Yes|Unread count| -|unread\_mentions\_count|[int](../types/int.md) | Yes|Unread mentions count| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) - - -### Example: - -```php -$updates_channelDifferenceTooLong = ['_' => 'updates.channelDifferenceTooLong', 'final' => Bool, 'pts' => int, 'timeout' => int, 'top_message' => int, 'read_inbox_max_id' => int, 'read_outbox_max_id' => int, 'unread_count' => int, 'unread_mentions_count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -updates_channelDifferenceTooLong={_='updates.channelDifferenceTooLong', final=Bool, pts=int, timeout=int, top_message=int, read_inbox_max_id=int, read_outbox_max_id=int, unread_count=int, unread_mentions_count=int, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v71/constructors/updates_difference.md b/old_docs/API_docs_v71/constructors/updates_difference.md deleted file mode 100644 index 71ac7d4c..00000000 --- a/old_docs/API_docs_v71/constructors/updates_difference.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: updates.difference -description: Full list of occurred events. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.difference -[Back to constructors index](index.md) - - - -Full list of occurred events. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| -|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| -|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| -|state|[updates\_State](../types/updates_State.md) | Yes|Current state| - - - -### Type: [updates\_Difference](../types/updates_Difference.md) - - -### Example: - -```php -$updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates_State]; -``` - - -Or, if you're into Lua: - -```lua -updates_difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates_State} - -``` - - diff --git a/old_docs/API_docs_v71/constructors/updates_differenceEmpty.md b/old_docs/API_docs_v71/constructors/updates_differenceEmpty.md deleted file mode 100644 index c3c95c5a..00000000 --- a/old_docs/API_docs_v71/constructors/updates_differenceEmpty.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: updates.differenceEmpty -description: No events. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.differenceEmpty -[Back to constructors index](index.md) - - - -No events. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Current date| -|seq|[int](../types/int.md) | Yes|Number of sent updates| - - - -### Type: [updates\_Difference](../types/updates_Difference.md) - - -### Example: - -```php -$updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int]; -``` - - -Or, if you're into Lua: - -```lua -updates_differenceEmpty={_='updates.differenceEmpty', date=int, seq=int} - -``` - - diff --git a/old_docs/API_docs_v71/constructors/updates_differenceSlice.md b/old_docs/API_docs_v71/constructors/updates_differenceSlice.md deleted file mode 100644 index 8b12a369..00000000 --- a/old_docs/API_docs_v71/constructors/updates_differenceSlice.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: updates.differenceSlice -description: Incomplete list of occurred events. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.differenceSlice -[Back to constructors index](index.md) - - - -Incomplete list of occurred events. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| -|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| -|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| -|intermediate\_state|[updates\_State](../types/updates_State.md) | Yes|Intermediary state| - - - -### Type: [updates\_Difference](../types/updates_Difference.md) - - -### Example: - -```php -$updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'intermediate_state' => updates_State]; -``` - - -Or, if you're into Lua: - -```lua -updates_differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates_State} - -``` - - diff --git a/old_docs/API_docs_v71/constructors/updates_differenceTooLong.md b/old_docs/API_docs_v71/constructors/updates_differenceTooLong.md deleted file mode 100644 index 1fbdfa01..00000000 --- a/old_docs/API_docs_v71/constructors/updates_differenceTooLong.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: updates.differenceTooLong -description: The difference is [too long](https://core.telegram.org/api/updates#recovering-gaps), and the specified state must be used to refetch updates. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.differenceTooLong -[Back to constructors index](index.md) - - - -The difference is [too long](https://core.telegram.org/api/updates#recovering-gaps), and the specified state must be used to refetch updates. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|The new state to use.| - - - -### Type: [updates\_Difference](../types/updates_Difference.md) - - -### Example: - -```php -$updates_differenceTooLong = ['_' => 'updates.differenceTooLong', 'pts' => int]; -``` - - -Or, if you're into Lua: - -```lua -updates_differenceTooLong={_='updates.differenceTooLong', pts=int} - -``` - - diff --git a/old_docs/API_docs_v71/constructors/updates_state.md b/old_docs/API_docs_v71/constructors/updates_state.md deleted file mode 100644 index ef3698e2..00000000 --- a/old_docs/API_docs_v71/constructors/updates_state.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: updates.state -description: Updates state. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.state -[Back to constructors index](index.md) - - - -Updates state. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| -|qts|[int](../types/int.md) | Yes|Position in a sequence of updates in secret chats. For further detailes refer to article [secret chats](https://core.telegram.org/api/end-to-end)
Parameter was added in [eigth layer](https://core.telegram.org/api/layers#layer-8).| -|date|[int](../types/int.md) | Yes|Date of condition| -|seq|[int](../types/int.md) | Yes|Number of sent updates| -|unread\_count|[int](../types/int.md) | Yes|Number of unread messages| - - - -### Type: [updates\_State](../types/updates_State.md) - - -### Example: - -```php -$updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int]; -``` - - -Or, if you're into Lua: - -```lua -updates_state={_='updates.state', pts=int, qts=int, date=int, seq=int, unread_count=int} - -``` - - diff --git a/old_docs/API_docs_v71/constructors/upload.cdnFile.md b/old_docs/API_docs_v71/constructors/upload.cdnFile.md new file mode 100644 index 00000000..d6d75513 --- /dev/null +++ b/old_docs/API_docs_v71/constructors/upload.cdnFile.md @@ -0,0 +1,38 @@ +--- +title: upload.cdnFile +description: Represent a chunk of a [CDN](https://core.telegram.org/cdn) file. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: upload.cdnFile +[Back to constructors index](index.md) + + + +Represent a chunk of a [CDN](https://core.telegram.org/cdn) file. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|bytes|[bytes](../types/bytes.md) | Yes|The data| + + + +### Type: [upload.CdnFile](../types/upload.CdnFile.md) + + +### Example: + +```php +$upload.cdnFile = ['_' => 'upload.cdnFile', 'bytes' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +upload.cdnFile={_='upload.cdnFile', bytes='bytes'} + +``` + + diff --git a/old_docs/API_docs_v71/constructors/upload.cdnFileReuploadNeeded.md b/old_docs/API_docs_v71/constructors/upload.cdnFileReuploadNeeded.md new file mode 100644 index 00000000..7c461a87 --- /dev/null +++ b/old_docs/API_docs_v71/constructors/upload.cdnFileReuploadNeeded.md @@ -0,0 +1,38 @@ +--- +title: upload.cdnFileReuploadNeeded +description: The file was cleared from the temporary RAM cache of the [CDN](https://core.telegram.org/cdn) and has to be reuploaded. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: upload.cdnFileReuploadNeeded +[Back to constructors index](index.md) + + + +The file was cleared from the temporary RAM cache of the [CDN](https://core.telegram.org/cdn) and has to be reuploaded. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|request\_token|[bytes](../types/bytes.md) | Yes|Request token (see [CDN](https://core.telegram.org/cdn))| + + + +### Type: [upload.CdnFile](../types/upload.CdnFile.md) + + +### Example: + +```php +$upload.cdnFileReuploadNeeded = ['_' => 'upload.cdnFileReuploadNeeded', 'request_token' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +upload.cdnFileReuploadNeeded={_='upload.cdnFileReuploadNeeded', request_token='bytes'} + +``` + + diff --git a/old_docs/API_docs_v71/constructors/upload.file.md b/old_docs/API_docs_v71/constructors/upload.file.md new file mode 100644 index 00000000..145a4c24 --- /dev/null +++ b/old_docs/API_docs_v71/constructors/upload.file.md @@ -0,0 +1,40 @@ +--- +title: upload.file +description: File content. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: upload.file +[Back to constructors index](index.md) + + + +File content. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|type|[storage.FileType](../constructors/storage.FileType.md) | Yes|File type| +|mtime|[int](../types/int.md) | Yes|Modification type| +|bytes|[bytes](../types/bytes.md) | Yes|Binary data, file content| + + + +### Type: [upload.File](../types/upload.File.md) + + +### Example: + +```php +$upload.file = ['_' => 'upload.file', 'type' => storage.FileType, 'mtime' => int, 'bytes' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +upload.file={_='upload.file', type=storage.FileType, mtime=int, bytes='bytes'} + +``` + + diff --git a/old_docs/API_docs_v71/constructors/upload.fileCdnRedirect.md b/old_docs/API_docs_v71/constructors/upload.fileCdnRedirect.md new file mode 100644 index 00000000..294ccbcc --- /dev/null +++ b/old_docs/API_docs_v71/constructors/upload.fileCdnRedirect.md @@ -0,0 +1,42 @@ +--- +title: upload.fileCdnRedirect +description: The file must be downloaded from a [CDN DC](https://core.telegram.org/cdn). +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: upload.fileCdnRedirect +[Back to constructors index](index.md) + + + +The file must be downloaded from a [CDN DC](https://core.telegram.org/cdn). + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|dc\_id|[int](../types/int.md) | Yes|[CDN DC](https://core.telegram.org/cdn) ID| +|file\_token|[bytes](../types/bytes.md) | Yes|File token (see [CDN files](https://core.telegram.org/cdn)| +|encryption\_key|[bytes](../types/bytes.md) | Yes|Encryption key (see [CDN files](https://core.telegram.org/cdn)| +|encryption\_iv|[bytes](../types/bytes.md) | Yes|Encryption IV (see [CDN files](https://core.telegram.org/cdn)| +|cdn\_file\_hashes|Array of [CdnFileHash](../types/CdnFileHash.md) | Yes|Cdn file hashes| + + + +### Type: [upload.File](../types/upload.File.md) + + +### Example: + +```php +$upload.fileCdnRedirect = ['_' => 'upload.fileCdnRedirect', 'dc_id' => int, 'file_token' => 'bytes', 'encryption_key' => 'bytes', 'encryption_iv' => 'bytes', 'cdn_file_hashes' => [CdnFileHash, CdnFileHash]]; +``` + + +Or, if you're into Lua: + +```lua +upload.fileCdnRedirect={_='upload.fileCdnRedirect', dc_id=int, file_token='bytes', encryption_key='bytes', encryption_iv='bytes', cdn_file_hashes={CdnFileHash}} + +``` + + diff --git a/old_docs/API_docs_v71/constructors/upload.webFile.md b/old_docs/API_docs_v71/constructors/upload.webFile.md new file mode 100644 index 00000000..a93ea94f --- /dev/null +++ b/old_docs/API_docs_v71/constructors/upload.webFile.md @@ -0,0 +1,42 @@ +--- +title: upload.webFile +description: Represents a chunk of an [HTTP webfile](https://core.telegram.org/api/files) downloaded through telegram's secure MTProto servers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: upload.webFile +[Back to constructors index](index.md) + + + +Represents a chunk of an [HTTP webfile](https://core.telegram.org/api/files) downloaded through telegram's secure MTProto servers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|size|[int](../types/int.md) | Yes|File size| +|mime\_type|[string](../types/string.md) | Yes|Mime type| +|file\_type|[storage.FileType](../constructors/storage.FileType.md) | Yes|File type| +|mtime|[int](../types/int.md) | Yes|Modified time| +|bytes|[bytes](../types/bytes.md) | Yes|Data| + + + +### Type: [upload.WebFile](../types/upload.WebFile.md) + + +### Example: + +```php +$upload.webFile = ['_' => 'upload.webFile', 'size' => int, 'mime_type' => 'string', 'file_type' => storage.FileType, 'mtime' => int, 'bytes' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +upload.webFile={_='upload.webFile', size=int, mime_type='string', file_type=storage.FileType, mtime=int, bytes='bytes'} + +``` + + diff --git a/old_docs/API_docs_v71/constructors/upload_cdnFile.md b/old_docs/API_docs_v71/constructors/upload_cdnFile.md deleted file mode 100644 index 019b8742..00000000 --- a/old_docs/API_docs_v71/constructors/upload_cdnFile.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: upload.cdnFile -description: Represent a chunk of a [CDN](https://core.telegram.org/cdn) file. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: upload.cdnFile -[Back to constructors index](index.md) - - - -Represent a chunk of a [CDN](https://core.telegram.org/cdn) file. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|bytes|[bytes](../types/bytes.md) | Yes|The data| - - - -### Type: [upload\_CdnFile](../types/upload_CdnFile.md) - - -### Example: - -```php -$upload_cdnFile = ['_' => 'upload.cdnFile', 'bytes' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -upload_cdnFile={_='upload.cdnFile', bytes='bytes'} - -``` - - diff --git a/old_docs/API_docs_v71/constructors/upload_cdnFileReuploadNeeded.md b/old_docs/API_docs_v71/constructors/upload_cdnFileReuploadNeeded.md deleted file mode 100644 index 6588a596..00000000 --- a/old_docs/API_docs_v71/constructors/upload_cdnFileReuploadNeeded.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: upload.cdnFileReuploadNeeded -description: The file was cleared from the temporary RAM cache of the [CDN](https://core.telegram.org/cdn) and has to be reuploaded. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: upload.cdnFileReuploadNeeded -[Back to constructors index](index.md) - - - -The file was cleared from the temporary RAM cache of the [CDN](https://core.telegram.org/cdn) and has to be reuploaded. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|request\_token|[bytes](../types/bytes.md) | Yes|Request token (see [CDN](https://core.telegram.org/cdn))| - - - -### Type: [upload\_CdnFile](../types/upload_CdnFile.md) - - -### Example: - -```php -$upload_cdnFileReuploadNeeded = ['_' => 'upload.cdnFileReuploadNeeded', 'request_token' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -upload_cdnFileReuploadNeeded={_='upload.cdnFileReuploadNeeded', request_token='bytes'} - -``` - - diff --git a/old_docs/API_docs_v71/constructors/upload_file.md b/old_docs/API_docs_v71/constructors/upload_file.md deleted file mode 100644 index 1e07d9fb..00000000 --- a/old_docs/API_docs_v71/constructors/upload_file.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: upload.file -description: File content. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: upload.file -[Back to constructors index](index.md) - - - -File content. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|type|[storage\_FileType](../types/storage_FileType.md) | Yes|File type| -|mtime|[int](../types/int.md) | Yes|Modification type| -|bytes|[bytes](../types/bytes.md) | Yes|Binary data, file content| - - - -### Type: [upload\_File](../types/upload_File.md) - - -### Example: - -```php -$upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int, 'bytes' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -upload_file={_='upload.file', type=storage_FileType, mtime=int, bytes='bytes'} - -``` - - diff --git a/old_docs/API_docs_v71/constructors/upload_fileCdnRedirect.md b/old_docs/API_docs_v71/constructors/upload_fileCdnRedirect.md deleted file mode 100644 index 65abab3a..00000000 --- a/old_docs/API_docs_v71/constructors/upload_fileCdnRedirect.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: upload.fileCdnRedirect -description: The file must be downloaded from a [CDN DC](https://core.telegram.org/cdn). -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: upload.fileCdnRedirect -[Back to constructors index](index.md) - - - -The file must be downloaded from a [CDN DC](https://core.telegram.org/cdn). - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|dc\_id|[int](../types/int.md) | Yes|[CDN DC](https://core.telegram.org/cdn) ID| -|file\_token|[bytes](../types/bytes.md) | Yes|File token (see [CDN files](https://core.telegram.org/cdn)| -|encryption\_key|[bytes](../types/bytes.md) | Yes|Encryption key (see [CDN files](https://core.telegram.org/cdn)| -|encryption\_iv|[bytes](../types/bytes.md) | Yes|Encryption IV (see [CDN files](https://core.telegram.org/cdn)| -|cdn\_file\_hashes|Array of [CdnFileHash](../types/CdnFileHash.md) | Yes|Cdn file hashes| - - - -### Type: [upload\_File](../types/upload_File.md) - - -### Example: - -```php -$upload_fileCdnRedirect = ['_' => 'upload.fileCdnRedirect', 'dc_id' => int, 'file_token' => 'bytes', 'encryption_key' => 'bytes', 'encryption_iv' => 'bytes', 'cdn_file_hashes' => [CdnFileHash, CdnFileHash]]; -``` - - -Or, if you're into Lua: - -```lua -upload_fileCdnRedirect={_='upload.fileCdnRedirect', dc_id=int, file_token='bytes', encryption_key='bytes', encryption_iv='bytes', cdn_file_hashes={CdnFileHash}} - -``` - - diff --git a/old_docs/API_docs_v71/constructors/upload_webFile.md b/old_docs/API_docs_v71/constructors/upload_webFile.md deleted file mode 100644 index ee8053b1..00000000 --- a/old_docs/API_docs_v71/constructors/upload_webFile.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: upload.webFile -description: Represents a chunk of an [HTTP webfile](https://core.telegram.org/api/files) downloaded through telegram's secure MTProto servers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: upload.webFile -[Back to constructors index](index.md) - - - -Represents a chunk of an [HTTP webfile](https://core.telegram.org/api/files) downloaded through telegram's secure MTProto servers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|size|[int](../types/int.md) | Yes|File size| -|mime\_type|[string](../types/string.md) | Yes|Mime type| -|file\_type|[storage\_FileType](../types/storage_FileType.md) | Yes|File type| -|mtime|[int](../types/int.md) | Yes|Modified time| -|bytes|[bytes](../types/bytes.md) | Yes|Data| - - - -### Type: [upload\_WebFile](../types/upload_WebFile.md) - - -### Example: - -```php -$upload_webFile = ['_' => 'upload.webFile', 'size' => int, 'mime_type' => 'string', 'file_type' => storage_FileType, 'mtime' => int, 'bytes' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -upload_webFile={_='upload.webFile', size=int, mime_type='string', file_type=storage_FileType, mtime=int, bytes='bytes'} - -``` - - diff --git a/old_docs/API_docs_v71/constructors/userFull.md b/old_docs/API_docs_v71/constructors/userFull.md index 31af6535..e44e0673 100644 --- a/old_docs/API_docs_v71/constructors/userFull.md +++ b/old_docs/API_docs_v71/constructors/userFull.md @@ -19,7 +19,7 @@ Extended user info |phone\_calls\_private|[Bool](../types/Bool.md) | Optional|Whether this user's privacy settings allow you to call him| |user|[User](../types/User.md) | Optional|Remaining user info| |about|[string](../types/string.md) | Optional|Bio of the user| -|link|[contacts\_Link](../types/contacts_Link.md) | Yes|Link| +|link|[contacts.Link](../constructors/contacts.Link.md) | Yes|Link| |profile\_photo|[Photo](../types/Photo.md) | Optional|Profile photo| |notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Optional|Notification settings| |bot\_info|[BotInfo](../types/BotInfo.md) | Optional|For bots, info about the bot (bot commands, etc)| @@ -33,14 +33,14 @@ Extended user info ### Example: ```php -$userFull = ['_' => 'userFull', 'blocked' => Bool, 'phone_calls_available' => Bool, 'phone_calls_private' => Bool, 'user' => User, 'about' => 'string', 'link' => contacts_Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'bot_info' => BotInfo, 'common_chats_count' => int]; +$userFull = ['_' => 'userFull', 'blocked' => Bool, 'phone_calls_available' => Bool, 'phone_calls_private' => Bool, 'user' => User, 'about' => 'string', 'link' => contacts.Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'bot_info' => BotInfo, 'common_chats_count' => int]; ``` Or, if you're into Lua: ```lua -userFull={_='userFull', blocked=Bool, phone_calls_available=Bool, phone_calls_private=Bool, user=User, about='string', link=contacts_Link, profile_photo=Photo, notify_settings=PeerNotifySettings, bot_info=BotInfo, common_chats_count=int} +userFull={_='userFull', blocked=Bool, phone_calls_available=Bool, phone_calls_private=Bool, user=User, about='string', link=contacts.Link, profile_photo=Photo, notify_settings=PeerNotifySettings, bot_info=BotInfo, common_chats_count=int} ``` diff --git a/old_docs/API_docs_v71/methods/account.getAuthorizations.md b/old_docs/API_docs_v71/methods/account.getAuthorizations.md index f69c130a..fad3a7ae 100644 --- a/old_docs/API_docs_v71/methods/account.getAuthorizations.md +++ b/old_docs/API_docs_v71/methods/account.getAuthorizations.md @@ -11,7 +11,7 @@ Get logged-in sessions -### Return type: [account\_Authorizations](../types/account_Authorizations.md) +### Return type: [account.Authorizations](../types/account.Authorizations.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_Authorizations = $MadelineProto->account->getAuthorizations(); +$account.Authorizations = $MadelineProto->account->getAuthorizations(); ``` Or, if you're into Lua: ```lua -account_Authorizations = account.getAuthorizations({}) +account.Authorizations = account.getAuthorizations({}) ``` diff --git a/old_docs/API_docs_v71/methods/account.getPassword.md b/old_docs/API_docs_v71/methods/account.getPassword.md index eed4aee3..621271b6 100644 --- a/old_docs/API_docs_v71/methods/account.getPassword.md +++ b/old_docs/API_docs_v71/methods/account.getPassword.md @@ -11,7 +11,7 @@ Obtain configuration for two-factor authorization with password -### Return type: [account\_Password](../types/account_Password.md) +### Return type: [account.Password](../types/account.Password.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_Password = $MadelineProto->account->getPassword(); +$account.Password = $MadelineProto->account->getPassword(); ``` Or, if you're into Lua: ```lua -account_Password = account.getPassword({}) +account.Password = account.getPassword({}) ``` diff --git a/old_docs/API_docs_v71/methods/account.getPasswordSettings.md b/old_docs/API_docs_v71/methods/account.getPasswordSettings.md index dcdae61a..3d3cce08 100644 --- a/old_docs/API_docs_v71/methods/account.getPasswordSettings.md +++ b/old_docs/API_docs_v71/methods/account.getPasswordSettings.md @@ -16,7 +16,7 @@ You cannot use this method directly; use $MadelineProto->update_2fa($params), in |current\_password\_hash|[bytes](../types/bytes.md) | You cannot use this method directly; use $MadelineProto->update_2fa($params), instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [account\_PasswordSettings](../types/account_PasswordSettings.md) +### Return type: [account.PasswordSettings](../types/account.PasswordSettings.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_PasswordSettings = $MadelineProto->account->getPasswordSettings(['current_password_hash' => 'bytes', ]); +$account.PasswordSettings = $MadelineProto->account->getPasswordSettings(['current_password_hash' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -account_PasswordSettings = account.getPasswordSettings({current_password_hash='bytes', }) +account.PasswordSettings = account.getPasswordSettings({current_password_hash='bytes', }) ``` ### Errors diff --git a/old_docs/API_docs_v71/methods/account.getPrivacy.md b/old_docs/API_docs_v71/methods/account.getPrivacy.md index 6a240129..e20c292c 100644 --- a/old_docs/API_docs_v71/methods/account.getPrivacy.md +++ b/old_docs/API_docs_v71/methods/account.getPrivacy.md @@ -16,7 +16,7 @@ Get privacy settings of current account |key|[InputPrivacyKey](../types/InputPrivacyKey.md) | Peer category whose privacy settings should be fetched | Yes| -### Return type: [account\_PrivacyRules](../types/account_PrivacyRules.md) +### Return type: [account.PrivacyRules](../types/account.PrivacyRules.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_PrivacyRules = $MadelineProto->account->getPrivacy(['key' => InputPrivacyKey, ]); +$account.PrivacyRules = $MadelineProto->account->getPrivacy(['key' => InputPrivacyKey, ]); ``` Or, if you're into Lua: ```lua -account_PrivacyRules = account.getPrivacy({key=InputPrivacyKey, }) +account.PrivacyRules = account.getPrivacy({key=InputPrivacyKey, }) ``` ### Errors diff --git a/old_docs/API_docs_v71/methods/account.getTmpPassword.md b/old_docs/API_docs_v71/methods/account.getTmpPassword.md index 4f269586..7e05a423 100644 --- a/old_docs/API_docs_v71/methods/account.getTmpPassword.md +++ b/old_docs/API_docs_v71/methods/account.getTmpPassword.md @@ -17,7 +17,7 @@ Get temporary payment password |period|[int](../types/int.md) | Time during which the temporary password will be valid, in seconds; should be between 60 and 86400 | Yes| -### Return type: [account\_TmpPassword](../types/account_TmpPassword.md) +### Return type: [account.TmpPassword](../types/account.TmpPassword.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_TmpPassword = $MadelineProto->account->getTmpPassword(['password_hash' => 'bytes', 'period' => int, ]); +$account.TmpPassword = $MadelineProto->account->getTmpPassword(['password_hash' => 'bytes', 'period' => int, ]); ``` Or, if you're into Lua: ```lua -account_TmpPassword = account.getTmpPassword({password_hash='bytes', period=int, }) +account.TmpPassword = account.getTmpPassword({password_hash='bytes', period=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v71/methods/account.sendChangePhoneCode.md b/old_docs/API_docs_v71/methods/account.sendChangePhoneCode.md index 0f81306e..30589ffa 100644 --- a/old_docs/API_docs_v71/methods/account.sendChangePhoneCode.md +++ b/old_docs/API_docs_v71/methods/account.sendChangePhoneCode.md @@ -18,7 +18,7 @@ Verify a new phone number to associate to the current account |current\_number|[Bool](../types/Bool.md) | Current phone number | Optional| -### Return type: [auth\_SentCode](../types/auth_SentCode.md) +### Return type: [auth.SentCode](../types/auth.SentCode.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_SentCode = $MadelineProto->account->sendChangePhoneCode(['allow_flashcall' => Bool, 'phone_number' => 'string', 'current_number' => Bool, ]); +$auth.SentCode = $MadelineProto->account->sendChangePhoneCode(['allow_flashcall' => Bool, 'phone_number' => 'string', 'current_number' => Bool, ]); ``` Or, if you're into Lua: ```lua -auth_SentCode = account.sendChangePhoneCode({allow_flashcall=Bool, phone_number='string', current_number=Bool, }) +auth.SentCode = account.sendChangePhoneCode({allow_flashcall=Bool, phone_number='string', current_number=Bool, }) ``` ### Errors diff --git a/old_docs/API_docs_v71/methods/account.sendConfirmPhoneCode.md b/old_docs/API_docs_v71/methods/account.sendConfirmPhoneCode.md index 68ba8fd3..9ec24f07 100644 --- a/old_docs/API_docs_v71/methods/account.sendConfirmPhoneCode.md +++ b/old_docs/API_docs_v71/methods/account.sendConfirmPhoneCode.md @@ -18,7 +18,7 @@ Send confirmation code to cancel account deletion, for more info [click here »] |current\_number|[Bool](../types/Bool.md) | The current phone number | Optional| -### Return type: [auth\_SentCode](../types/auth_SentCode.md) +### Return type: [auth.SentCode](../types/auth.SentCode.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_SentCode = $MadelineProto->account->sendConfirmPhoneCode(['allow_flashcall' => Bool, 'hash' => 'string', 'current_number' => Bool, ]); +$auth.SentCode = $MadelineProto->account->sendConfirmPhoneCode(['allow_flashcall' => Bool, 'hash' => 'string', 'current_number' => Bool, ]); ``` Or, if you're into Lua: ```lua -auth_SentCode = account.sendConfirmPhoneCode({allow_flashcall=Bool, hash='string', current_number=Bool, }) +auth.SentCode = account.sendConfirmPhoneCode({allow_flashcall=Bool, hash='string', current_number=Bool, }) ``` ### Errors diff --git a/old_docs/API_docs_v71/methods/account.setPrivacy.md b/old_docs/API_docs_v71/methods/account.setPrivacy.md index 7c4cfba7..096d373e 100644 --- a/old_docs/API_docs_v71/methods/account.setPrivacy.md +++ b/old_docs/API_docs_v71/methods/account.setPrivacy.md @@ -17,7 +17,7 @@ Change privacy settings of current account |rules|Array of [InputPrivacyRule](../types/InputPrivacyRule.md) | Privacy settings | Yes| -### Return type: [account\_PrivacyRules](../types/account_PrivacyRules.md) +### Return type: [account.PrivacyRules](../types/account.PrivacyRules.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_PrivacyRules = $MadelineProto->account->setPrivacy(['key' => InputPrivacyKey, 'rules' => [InputPrivacyRule, InputPrivacyRule], ]); +$account.PrivacyRules = $MadelineProto->account->setPrivacy(['key' => InputPrivacyKey, 'rules' => [InputPrivacyRule, InputPrivacyRule], ]); ``` Or, if you're into Lua: ```lua -account_PrivacyRules = account.setPrivacy({key=InputPrivacyKey, rules={InputPrivacyRule}, }) +account.PrivacyRules = account.setPrivacy({key=InputPrivacyKey, rules={InputPrivacyRule}, }) ``` ### Errors diff --git a/old_docs/API_docs_v71/methods/api_README.md b/old_docs/API_docs_v71/methods/api_README.md index 4ad9466e..2dc3c26e 100644 --- a/old_docs/API_docs_v71/methods/api_README.md +++ b/old_docs/API_docs_v71/methods/api_README.md @@ -56,7 +56,7 @@ $MadelineProto->[account->getAccountTTL](account.getAccountTTL.md)(\[\]) === [$A ***

-$MadelineProto->[account->getAuthorizations](account.getAuthorizations.md)(\[\]) === [$account\_Authorizations](../types/account_Authorizations.md) +$MadelineProto->[account->getAuthorizations](account.getAuthorizations.md)(\[\]) === [$account.Authorizations](../types/account.Authorizations.md) ***

@@ -64,19 +64,19 @@ $MadelineProto->[account->getNotifySettings](account.getNotifySettings.md)(\['pe ***

-$MadelineProto->[account->getPassword](account.getPassword.md)(\[\]) === [$account\_Password](../types/account_Password.md) +$MadelineProto->[account->getPassword](account.getPassword.md)(\[\]) === [$account.Password](../types/account.Password.md) ***

-$MadelineProto->[account->getPasswordSettings](account.getPasswordSettings.md)(\['current_password_hash' => [bytes](../types/bytes.md), \]) === [$account\_PasswordSettings](../types/account_PasswordSettings.md) +$MadelineProto->[account->getPasswordSettings](account.getPasswordSettings.md)(\['current_password_hash' => [bytes](../types/bytes.md), \]) === [$account.PasswordSettings](../types/account.PasswordSettings.md) ***

-$MadelineProto->[account->getPrivacy](account.getPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), \]) === [$account\_PrivacyRules](../types/account_PrivacyRules.md) +$MadelineProto->[account->getPrivacy](account.getPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), \]) === [$account.PrivacyRules](../types/account.PrivacyRules.md) ***

-$MadelineProto->[account->getTmpPassword](account.getTmpPassword.md)(\['password_hash' => [bytes](../types/bytes.md), 'period' => [int](../types/int.md), \]) === [$account\_TmpPassword](../types/account_TmpPassword.md) +$MadelineProto->[account->getTmpPassword](account.getTmpPassword.md)(\['password_hash' => [bytes](../types/bytes.md), 'period' => [int](../types/int.md), \]) === [$account.TmpPassword](../types/account.TmpPassword.md) ***

@@ -100,11 +100,11 @@ $MadelineProto->[account->resetNotifySettings](account.resetNotifySettings.md)(\ ***

-$MadelineProto->[account->sendChangePhoneCode](account.sendChangePhoneCode.md)(\['allow_flashcall' => [Bool](../types/Bool.md), 'phone_number' => [string](../types/string.md), 'current_number' => [Bool](../types/Bool.md), \]) === [$auth\_SentCode](../types/auth_SentCode.md) +$MadelineProto->[account->sendChangePhoneCode](account.sendChangePhoneCode.md)(\['allow_flashcall' => [Bool](../types/Bool.md), 'phone_number' => [string](../types/string.md), 'current_number' => [Bool](../types/Bool.md), \]) === [$auth.SentCode](../types/auth.SentCode.md) ***

-$MadelineProto->[account->sendConfirmPhoneCode](account.sendConfirmPhoneCode.md)(\['allow_flashcall' => [Bool](../types/Bool.md), 'hash' => [string](../types/string.md), 'current_number' => [Bool](../types/Bool.md), \]) === [$auth\_SentCode](../types/auth_SentCode.md) +$MadelineProto->[account->sendConfirmPhoneCode](account.sendConfirmPhoneCode.md)(\['allow_flashcall' => [Bool](../types/Bool.md), 'hash' => [string](../types/string.md), 'current_number' => [Bool](../types/Bool.md), \]) === [$auth.SentCode](../types/auth.SentCode.md) ***

@@ -112,7 +112,7 @@ $MadelineProto->[account->setAccountTTL](account.setAccountTTL.md)(\['ttl' => [A ***

-$MadelineProto->[account->setPrivacy](account.setPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), 'rules' => \[[InputPrivacyRule](../types/InputPrivacyRule.md)\], \]) === [$account\_PrivacyRules](../types/account_PrivacyRules.md) +$MadelineProto->[account->setPrivacy](account.setPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), 'rules' => \[[InputPrivacyRule](../types/InputPrivacyRule.md)\], \]) === [$account.PrivacyRules](../types/account.PrivacyRules.md) ***

@@ -152,11 +152,11 @@ $MadelineProto->[auth->cancelCode](auth.cancelCode.md)(\['phone_number' => [stri ***

-$MadelineProto->[auth->checkPassword](auth.checkPassword.md)(\['password_hash' => [bytes](../types/bytes.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->checkPassword](auth.checkPassword.md)(\['password_hash' => [bytes](../types/bytes.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

-$MadelineProto->[auth->checkPhone](auth.checkPhone.md)(\['phone_number' => [string](../types/string.md), \]) === [$auth\_CheckedPhone](../types/auth_CheckedPhone.md) +$MadelineProto->[auth->checkPhone](auth.checkPhone.md)(\['phone_number' => [string](../types/string.md), \]) === [$auth.CheckedPhone](../types/auth.CheckedPhone.md) ***

@@ -164,15 +164,15 @@ $MadelineProto->[auth->dropTempAuthKeys](auth.dropTempAuthKeys.md)(\['except_aut ***

-$MadelineProto->[auth->exportAuthorization](auth.exportAuthorization.md)(\['dc_id' => [int](../types/int.md), \]) === [$auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) +$MadelineProto->[auth->exportAuthorization](auth.exportAuthorization.md)(\['dc_id' => [int](../types/int.md), \]) === [$auth.ExportedAuthorization](../types/auth.ExportedAuthorization.md) ***

-$MadelineProto->[auth->importAuthorization](auth.importAuthorization.md)(\['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->importAuthorization](auth.importAuthorization.md)(\['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

-$MadelineProto->[auth->importBotAuthorization](auth.importBotAuthorization.md)(\['api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), 'bot_auth_token' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->importBotAuthorization](auth.importBotAuthorization.md)(\['api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), 'bot_auth_token' => [string](../types/string.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

@@ -180,15 +180,15 @@ $MadelineProto->[auth->logOut](auth.logOut.md)(\[\]) === [$Bool](../types/Bool.m ***

-$MadelineProto->[auth->recoverPassword](auth.recoverPassword.md)(\['code' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->recoverPassword](auth.recoverPassword.md)(\['code' => [string](../types/string.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

-$MadelineProto->[auth->requestPasswordRecovery](auth.requestPasswordRecovery.md)(\[\]) === [$auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) +$MadelineProto->[auth->requestPasswordRecovery](auth.requestPasswordRecovery.md)(\[\]) === [$auth.PasswordRecovery](../types/auth.PasswordRecovery.md) ***

-$MadelineProto->[auth->resendCode](auth.resendCode.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), \]) === [$auth\_SentCode](../types/auth_SentCode.md) +$MadelineProto->[auth->resendCode](auth.resendCode.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), \]) === [$auth.SentCode](../types/auth.SentCode.md) ***

@@ -196,7 +196,7 @@ $MadelineProto->[auth->resetAuthorizations](auth.resetAuthorizations.md)(\[\]) = ***

-$MadelineProto->[auth->sendCode](auth.sendCode.md)(\['allow_flashcall' => [Bool](../types/Bool.md), 'phone_number' => [string](../types/string.md), 'current_number' => [Bool](../types/Bool.md), 'api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), \]) === [$auth\_SentCode](../types/auth_SentCode.md) +$MadelineProto->[auth->sendCode](auth.sendCode.md)(\['allow_flashcall' => [Bool](../types/Bool.md), 'phone_number' => [string](../types/string.md), 'current_number' => [Bool](../types/Bool.md), 'api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), \]) === [$auth.SentCode](../types/auth.SentCode.md) ***

@@ -204,11 +204,11 @@ $MadelineProto->[auth->sendInvites](auth.sendInvites.md)(\['phone_numbers' => \[ ***

-$MadelineProto->[auth->signIn](auth.signIn.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->signIn](auth.signIn.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

-$MadelineProto->[auth->signUp](auth.signUp.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->signUp](auth.signUp.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

@@ -232,11 +232,11 @@ $MadelineProto->[channels->deleteChannel](channels.deleteChannel.md)(\['channel' ***

-$MadelineProto->[channels->deleteMessages](channels.deleteMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) +$MadelineProto->[channels->deleteMessages](channels.deleteMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages.AffectedMessages](../types/messages.AffectedMessages.md) ***

-$MadelineProto->[channels->deleteUserHistory](channels.deleteUserHistory.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages\_AffectedHistory](../types/messages_AffectedHistory.md) +$MadelineProto->[channels->deleteUserHistory](channels.deleteUserHistory.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages.AffectedHistory](../types/messages.AffectedHistory.md) ***

@@ -268,31 +268,31 @@ $MadelineProto->[channels->exportMessageLink](channels.exportMessageLink.md)(\[' ***

-$MadelineProto->[channels->getAdminLog](channels.getAdminLog.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'q' => [string](../types/string.md), 'events_filter' => [ChannelAdminLogEventsFilter](../types/ChannelAdminLogEventsFilter.md), 'admins' => \[[InputUser](../types/InputUser.md)\], 'max_id' => [long](../types/long.md), 'min_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$channels\_AdminLogResults](../types/channels_AdminLogResults.md) +$MadelineProto->[channels->getAdminLog](channels.getAdminLog.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'q' => [string](../types/string.md), 'events_filter' => [ChannelAdminLogEventsFilter](../types/ChannelAdminLogEventsFilter.md), 'admins' => \[[InputUser](../types/InputUser.md)\], 'max_id' => [long](../types/long.md), 'min_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$channels.AdminLogResults](../types/channels.AdminLogResults.md) ***

-$MadelineProto->[channels->getAdminedPublicChannels](channels.getAdminedPublicChannels.md)(\[\]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[channels->getAdminedPublicChannels](channels.getAdminedPublicChannels.md)(\[\]) === [$messages.Chats](../types/messages.Chats.md) ***

-$MadelineProto->[channels->getChannels](channels.getChannels.md)(\['id' => \[[InputChannel](../types/InputChannel.md)\], \]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[channels->getChannels](channels.getChannels.md)(\['id' => \[[InputChannel](../types/InputChannel.md)\], \]) === [$messages.Chats](../types/messages.Chats.md) ***

-$MadelineProto->[channels->getFullChannel](channels.getFullChannel.md)(\['channel' => [InputChannel](../types/InputChannel.md), \]) === [$messages\_ChatFull](../types/messages_ChatFull.md) +$MadelineProto->[channels->getFullChannel](channels.getFullChannel.md)(\['channel' => [InputChannel](../types/InputChannel.md), \]) === [$messages.ChatFull](../types/messages.ChatFull.md) ***

-$MadelineProto->[channels->getMessages](channels.getMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[channels->getMessages](channels.getMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[channels->getParticipant](channels.getParticipant.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$channels\_ChannelParticipant](../types/channels_ChannelParticipant.md) +$MadelineProto->[channels->getParticipant](channels.getParticipant.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$channels.ChannelParticipant](../types/channels.ChannelParticipant.md) ***

-$MadelineProto->[channels->getParticipants](channels.getParticipants.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$channels\_ChannelParticipants](../types/channels_ChannelParticipants.md) +$MadelineProto->[channels->getParticipants](channels.getParticipants.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$channels.ChannelParticipants](../types/channels.ChannelParticipants.md) ***

@@ -344,7 +344,7 @@ $MadelineProto->[contacts->block](contacts.block.md)(\['id' => [InputUser](../ty ***

-$MadelineProto->[contacts->deleteContact](contacts.deleteContact.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$contacts\_Link](../types/contacts_Link.md) +$MadelineProto->[contacts->deleteContact](contacts.deleteContact.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$contacts.Link](../types/contacts.Link.md) ***

@@ -356,11 +356,11 @@ $MadelineProto->[contacts->exportCard](contacts.exportCard.md)(\[\]) === [$Vecto ***

-$MadelineProto->[contacts->getBlocked](contacts.getBlocked.md)(\['offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$contacts\_Blocked](../types/contacts_Blocked.md) +$MadelineProto->[contacts->getBlocked](contacts.getBlocked.md)(\['offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$contacts.Blocked](../types/contacts.Blocked.md) ***

-$MadelineProto->[contacts->getContacts](contacts.getContacts.md)(\['hash' => [int](../types/int.md), \]) === [$contacts\_Contacts](../types/contacts_Contacts.md) +$MadelineProto->[contacts->getContacts](contacts.getContacts.md)(\['hash' => [int](../types/int.md), \]) === [$contacts.Contacts](../types/contacts.Contacts.md) ***

@@ -368,7 +368,7 @@ $MadelineProto->[contacts->getStatuses](contacts.getStatuses.md)(\[\]) === [$Vec ***

-$MadelineProto->[contacts->getTopPeers](contacts.getTopPeers.md)(\['correspondents' => [Bool](../types/Bool.md), 'bots_pm' => [Bool](../types/Bool.md), 'bots_inline' => [Bool](../types/Bool.md), 'phone_calls' => [Bool](../types/Bool.md), 'groups' => [Bool](../types/Bool.md), 'channels' => [Bool](../types/Bool.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$contacts\_TopPeers](../types/contacts_TopPeers.md) +$MadelineProto->[contacts->getTopPeers](contacts.getTopPeers.md)(\['correspondents' => [Bool](../types/Bool.md), 'bots_pm' => [Bool](../types/Bool.md), 'bots_inline' => [Bool](../types/Bool.md), 'phone_calls' => [Bool](../types/Bool.md), 'groups' => [Bool](../types/Bool.md), 'channels' => [Bool](../types/Bool.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$contacts.TopPeers](../types/contacts.TopPeers.md) ***

@@ -376,7 +376,7 @@ $MadelineProto->[contacts->importCard](contacts.importCard.md)(\['export_card' = ***

-$MadelineProto->[contacts->importContacts](contacts.importContacts.md)(\['contacts' => \[[InputContact](../types/InputContact.md)\], \]) === [$contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) +$MadelineProto->[contacts->importContacts](contacts.importContacts.md)(\['contacts' => \[[InputContact](../types/InputContact.md)\], \]) === [$contacts.ImportedContacts](../types/contacts.ImportedContacts.md) ***

@@ -388,11 +388,11 @@ $MadelineProto->[contacts->resetTopPeerRating](contacts.resetTopPeerRating.md)(\ ***

-$MadelineProto->[contacts->resolveUsername](contacts.resolveUsername.md)(\['username' => [string](../types/string.md), \]) === [$contacts\_ResolvedPeer](../types/contacts_ResolvedPeer.md) +$MadelineProto->[contacts->resolveUsername](contacts.resolveUsername.md)(\['username' => [string](../types/string.md), \]) === [$contacts.ResolvedPeer](../types/contacts.ResolvedPeer.md) ***

-$MadelineProto->[contacts->search](contacts.search.md)(\['q' => [string](../types/string.md), 'limit' => [int](../types/int.md), \]) === [$contacts\_Found](../types/contacts_Found.md) +$MadelineProto->[contacts->search](contacts.search.md)(\['q' => [string](../types/string.md), 'limit' => [int](../types/int.md), \]) === [$contacts.Found](../types/contacts.Found.md) ***

@@ -418,7 +418,7 @@ $MadelineProto->[help->getAppChangelog](help.getAppChangelog.md)(\['prev_app_ver ***

-$MadelineProto->[help->getAppUpdate](help.getAppUpdate.md)(\[\]) === [$help\_AppUpdate](../types/help_AppUpdate.md) +$MadelineProto->[help->getAppUpdate](help.getAppUpdate.md)(\[\]) === [$help.AppUpdate](../types/help.AppUpdate.md) ***

@@ -430,7 +430,7 @@ $MadelineProto->[help->getConfig](help.getConfig.md)(\[\]) === [$Config](../type ***

-$MadelineProto->[help->getInviteText](help.getInviteText.md)(\[\]) === [$help\_InviteText](../types/help_InviteText.md) +$MadelineProto->[help->getInviteText](help.getInviteText.md)(\[\]) === [$help.InviteText](../types/help.InviteText.md) ***

@@ -438,11 +438,11 @@ $MadelineProto->[help->getNearestDc](help.getNearestDc.md)(\[\]) === [$NearestDc ***

-$MadelineProto->[help->getSupport](help.getSupport.md)(\[\]) === [$help\_Support](../types/help_Support.md) +$MadelineProto->[help->getSupport](help.getSupport.md)(\[\]) === [$help.Support](../types/help.Support.md) ***

-$MadelineProto->[help->getTermsOfService](help.getTermsOfService.md)(\[\]) === [$help\_TermsOfService](../types/help_TermsOfService.md) +$MadelineProto->[help->getTermsOfService](help.getTermsOfService.md)(\[\]) === [$help.TermsOfService](../types/help.TermsOfService.md) ***

@@ -514,11 +514,11 @@ $MadelineProto->[messages->deleteChatUser](messages.deleteChatUser.md)(\['chat_i ***

-$MadelineProto->[messages->deleteHistory](messages.deleteHistory.md)(\['just_clear' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), \]) === [$messages\_AffectedHistory](../types/messages_AffectedHistory.md) +$MadelineProto->[messages->deleteHistory](messages.deleteHistory.md)(\['just_clear' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), \]) === [$messages.AffectedHistory](../types/messages.AffectedHistory.md) ***

-$MadelineProto->[messages->deleteMessages](messages.deleteMessages.md)(\['revoke' => [Bool](../types/Bool.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) +$MadelineProto->[messages->deleteMessages](messages.deleteMessages.md)(\['revoke' => [Bool](../types/Bool.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages.AffectedMessages](../types/messages.AffectedMessages.md) ***

@@ -562,7 +562,7 @@ $MadelineProto->[messages->forwardMessages](messages.forwardMessages.md)(\['sile ***

-$MadelineProto->[messages->getAllChats](messages.getAllChats.md)(\['except_ids' => \[[int](../types/int.md)\], \]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[messages->getAllChats](messages.getAllChats.md)(\['except_ids' => \[[int](../types/int.md)\], \]) === [$messages.Chats](../types/messages.Chats.md) ***

@@ -570,11 +570,11 @@ $MadelineProto->[messages->getAllDrafts](messages.getAllDrafts.md)(\[\]) === [$U ***

-$MadelineProto->[messages->getAllStickers](messages.getAllStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages\_AllStickers](../types/messages_AllStickers.md) +$MadelineProto->[messages->getAllStickers](messages.getAllStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages.AllStickers](../types/messages.AllStickers.md) ***

-$MadelineProto->[messages->getArchivedStickers](messages.getArchivedStickers.md)(\['masks' => [Bool](../types/Bool.md), 'offset_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$messages\_ArchivedStickers](../types/messages_ArchivedStickers.md) +$MadelineProto->[messages->getArchivedStickers](messages.getArchivedStickers.md)(\['masks' => [Bool](../types/Bool.md), 'offset_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$messages.ArchivedStickers](../types/messages.ArchivedStickers.md) ***

@@ -582,23 +582,23 @@ $MadelineProto->[messages->getAttachedStickers](messages.getAttachedStickers.md) ***

-$MadelineProto->[messages->getBotCallbackAnswer](messages.getBotCallbackAnswer.md)(\['game' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'msg_id' => [int](../types/int.md), 'data' => [bytes](../types/bytes.md), \]) === [$messages\_BotCallbackAnswer](../types/messages_BotCallbackAnswer.md) +$MadelineProto->[messages->getBotCallbackAnswer](messages.getBotCallbackAnswer.md)(\['game' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'msg_id' => [int](../types/int.md), 'data' => [bytes](../types/bytes.md), \]) === [$messages.BotCallbackAnswer](../types/messages.BotCallbackAnswer.md) ***

-$MadelineProto->[messages->getChats](messages.getChats.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[messages->getChats](messages.getChats.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages.Chats](../types/messages.Chats.md) ***

-$MadelineProto->[messages->getCommonChats](messages.getCommonChats.md)(\['user_id' => [InputUser](../types/InputUser.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[messages->getCommonChats](messages.getCommonChats.md)(\['user_id' => [InputUser](../types/InputUser.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages.Chats](../types/messages.Chats.md) ***

-$MadelineProto->[messages->getDhConfig](messages.getDhConfig.md)(\['version' => [int](../types/int.md), 'random_length' => [int](../types/int.md), \]) === [$messages\_DhConfig](../types/messages_DhConfig.md) +$MadelineProto->[messages->getDhConfig](messages.getDhConfig.md)(\['version' => [int](../types/int.md), 'random_length' => [int](../types/int.md), \]) === [$messages.DhConfig](../types/messages.DhConfig.md) ***

-$MadelineProto->[messages->getDialogs](messages.getDialogs.md)(\['exclude_pinned' => [Bool](../types/Bool.md), 'offset_date' => [int](../types/int.md), 'offset_id' => [int](../types/int.md), 'offset_peer' => [InputPeer](../types/InputPeer.md), 'limit' => [int](../types/int.md), \]) === [$messages\_Dialogs](../types/messages_Dialogs.md) +$MadelineProto->[messages->getDialogs](messages.getDialogs.md)(\['exclude_pinned' => [Bool](../types/Bool.md), 'offset_date' => [int](../types/int.md), 'offset_id' => [int](../types/int.md), 'offset_peer' => [InputPeer](../types/InputPeer.md), 'limit' => [int](../types/int.md), \]) === [$messages.Dialogs](../types/messages.Dialogs.md) ***

@@ -606,43 +606,43 @@ $MadelineProto->[messages->getDocumentByHash](messages.getDocumentByHash.md)(\[' ***

-$MadelineProto->[messages->getFavedStickers](messages.getFavedStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages\_FavedStickers](../types/messages_FavedStickers.md) +$MadelineProto->[messages->getFavedStickers](messages.getFavedStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages.FavedStickers](../types/messages.FavedStickers.md) ***

-$MadelineProto->[messages->getFeaturedStickers](messages.getFeaturedStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages\_FeaturedStickers](../types/messages_FeaturedStickers.md) +$MadelineProto->[messages->getFeaturedStickers](messages.getFeaturedStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages.FeaturedStickers](../types/messages.FeaturedStickers.md) ***

-$MadelineProto->[messages->getFullChat](messages.getFullChat.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), \]) === [$messages\_ChatFull](../types/messages_ChatFull.md) +$MadelineProto->[messages->getFullChat](messages.getFullChat.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), \]) === [$messages.ChatFull](../types/messages.ChatFull.md) ***

-$MadelineProto->[messages->getGameHighScores](messages.getGameHighScores.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages\_HighScores](../types/messages_HighScores.md) +$MadelineProto->[messages->getGameHighScores](messages.getGameHighScores.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages.HighScores](../types/messages.HighScores.md) ***

-$MadelineProto->[messages->getHistory](messages.getHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'offset_date' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->getHistory](messages.getHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'offset_date' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[messages->getInlineBotResults](messages.getInlineBotResults.md)(\['bot' => [InputUser](../types/InputUser.md), 'peer' => [InputPeer](../types/InputPeer.md), 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'query' => [string](../types/string.md), 'offset' => [string](../types/string.md), \]) === [$messages\_BotResults](../types/messages_BotResults.md) +$MadelineProto->[messages->getInlineBotResults](messages.getInlineBotResults.md)(\['bot' => [InputUser](../types/InputUser.md), 'peer' => [InputPeer](../types/InputPeer.md), 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'query' => [string](../types/string.md), 'offset' => [string](../types/string.md), \]) === [$messages.BotResults](../types/messages.BotResults.md) ***

-$MadelineProto->[messages->getInlineGameHighScores](messages.getInlineGameHighScores.md)(\['id' => [InputBotInlineMessageID](../types/InputBotInlineMessageID.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages\_HighScores](../types/messages_HighScores.md) +$MadelineProto->[messages->getInlineGameHighScores](messages.getInlineGameHighScores.md)(\['id' => [InputBotInlineMessageID](../types/InputBotInlineMessageID.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages.HighScores](../types/messages.HighScores.md) ***

-$MadelineProto->[messages->getMaskStickers](messages.getMaskStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages\_AllStickers](../types/messages_AllStickers.md) +$MadelineProto->[messages->getMaskStickers](messages.getMaskStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages.AllStickers](../types/messages.AllStickers.md) ***

-$MadelineProto->[messages->getMessageEditData](messages.getMessageEditData.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), \]) === [$messages\_MessageEditData](../types/messages_MessageEditData.md) +$MadelineProto->[messages->getMessageEditData](messages.getMessageEditData.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), \]) === [$messages.MessageEditData](../types/messages.MessageEditData.md) ***

-$MadelineProto->[messages->getMessages](messages.getMessages.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->getMessages](messages.getMessages.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages.Messages](../types/messages.Messages.md) ***

@@ -650,7 +650,7 @@ $MadelineProto->[messages->getMessagesViews](messages.getMessagesViews.md)(\['pe ***

-$MadelineProto->[messages->getPeerDialogs](messages.getPeerDialogs.md)(\['peers' => \[[InputPeer](../types/InputPeer.md)\], \]) === [$messages\_PeerDialogs](../types/messages_PeerDialogs.md) +$MadelineProto->[messages->getPeerDialogs](messages.getPeerDialogs.md)(\['peers' => \[[InputPeer](../types/InputPeer.md)\], \]) === [$messages.PeerDialogs](../types/messages.PeerDialogs.md) ***

@@ -658,23 +658,23 @@ $MadelineProto->[messages->getPeerSettings](messages.getPeerSettings.md)(\['peer ***

-$MadelineProto->[messages->getPinnedDialogs](messages.getPinnedDialogs.md)(\[\]) === [$messages\_PeerDialogs](../types/messages_PeerDialogs.md) +$MadelineProto->[messages->getPinnedDialogs](messages.getPinnedDialogs.md)(\[\]) === [$messages.PeerDialogs](../types/messages.PeerDialogs.md) ***

-$MadelineProto->[messages->getRecentStickers](messages.getRecentStickers.md)(\['attached' => [Bool](../types/Bool.md), 'hash' => [int](../types/int.md), \]) === [$messages\_RecentStickers](../types/messages_RecentStickers.md) +$MadelineProto->[messages->getRecentStickers](messages.getRecentStickers.md)(\['attached' => [Bool](../types/Bool.md), 'hash' => [int](../types/int.md), \]) === [$messages.RecentStickers](../types/messages.RecentStickers.md) ***

-$MadelineProto->[messages->getSavedGifs](messages.getSavedGifs.md)(\['hash' => [int](../types/int.md), \]) === [$messages\_SavedGifs](../types/messages_SavedGifs.md) +$MadelineProto->[messages->getSavedGifs](messages.getSavedGifs.md)(\['hash' => [int](../types/int.md), \]) === [$messages.SavedGifs](../types/messages.SavedGifs.md) ***

-$MadelineProto->[messages->getStickerSet](messages.getStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), \]) === [$messages\_StickerSet](../types/messages_StickerSet.md) +$MadelineProto->[messages->getStickerSet](messages.getStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), \]) === [$messages.StickerSet](../types/messages.StickerSet.md) ***

-$MadelineProto->[messages->getUnreadMentions](messages.getUnreadMentions.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->getUnreadMentions](messages.getUnreadMentions.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

@@ -694,7 +694,7 @@ $MadelineProto->[messages->importChatInvite](messages.importChatInvite.md)(\['ha ***

-$MadelineProto->[messages->installStickerSet](messages.installStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), 'archived' => [Bool](../types/Bool.md), \]) === [$messages\_StickerSetInstallResult](../types/messages_StickerSetInstallResult.md) +$MadelineProto->[messages->installStickerSet](messages.installStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), 'archived' => [Bool](../types/Bool.md), \]) === [$messages.StickerSetInstallResult](../types/messages.StickerSetInstallResult.md) ***

@@ -710,11 +710,11 @@ $MadelineProto->[messages->readFeaturedStickers](messages.readFeaturedStickers.m ***

-$MadelineProto->[messages->readHistory](messages.readHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), \]) === [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) +$MadelineProto->[messages->readHistory](messages.readHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), \]) === [$messages.AffectedMessages](../types/messages.AffectedMessages.md) ***

-$MadelineProto->[messages->readMessageContents](messages.readMessageContents.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) +$MadelineProto->[messages->readMessageContents](messages.readMessageContents.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages.AffectedMessages](../types/messages.AffectedMessages.md) ***

@@ -758,27 +758,27 @@ $MadelineProto->[messages->saveRecentSticker](messages.saveRecentSticker.md)(\[' ***

-$MadelineProto->[messages->search](messages.search.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'q' => [string](../types/string.md), 'from_id' => [InputUser](../types/InputUser.md), 'filter' => [MessagesFilter](../types/MessagesFilter.md), 'min_date' => [int](../types/int.md), 'max_date' => [int](../types/int.md), 'offset_id' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->search](messages.search.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'q' => [string](../types/string.md), 'from_id' => [InputUser](../types/InputUser.md), 'filter' => [MessagesFilter](../types/MessagesFilter.md), 'min_date' => [int](../types/int.md), 'max_date' => [int](../types/int.md), 'offset_id' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[messages->searchGifs](messages.searchGifs.md)(\['q' => [string](../types/string.md), 'offset' => [int](../types/int.md), \]) === [$messages\_FoundGifs](../types/messages_FoundGifs.md) +$MadelineProto->[messages->searchGifs](messages.searchGifs.md)(\['q' => [string](../types/string.md), 'offset' => [int](../types/int.md), \]) === [$messages.FoundGifs](../types/messages.FoundGifs.md) ***

-$MadelineProto->[messages->searchGlobal](messages.searchGlobal.md)(\['q' => [string](../types/string.md), 'offset_date' => [int](../types/int.md), 'offset_peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->searchGlobal](messages.searchGlobal.md)(\['q' => [string](../types/string.md), 'offset_date' => [int](../types/int.md), 'offset_peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[messages->sendEncrypted](messages.sendEncrypted.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'message' => [DecryptedMessage](../types/DecryptedMessage.md), \]) === [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +$MadelineProto->[messages->sendEncrypted](messages.sendEncrypted.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), \]) === [$messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ***

-$MadelineProto->[messages->sendEncryptedFile](messages.sendEncryptedFile.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'message' => [DecryptedMessage](../types/DecryptedMessage.md), 'file' => [InputEncryptedFile](../types/InputEncryptedFile.md), \]) === [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +$MadelineProto->[messages->sendEncryptedFile](messages.sendEncryptedFile.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), 'file' => [InputEncryptedFile](../types/InputEncryptedFile.md), \]) === [$messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ***

-$MadelineProto->[messages->sendEncryptedService](messages.sendEncryptedService.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'message' => [DecryptedMessage](../types/DecryptedMessage.md), \]) === [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +$MadelineProto->[messages->sendEncryptedService](messages.sendEncryptedService.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), \]) === [$messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ***

@@ -854,31 +854,31 @@ $MadelineProto->[payments->clearSavedInfo](payments.clearSavedInfo.md)(\['creden ***

-$MadelineProto->[payments->getPaymentForm](payments.getPaymentForm.md)(\['msg_id' => [int](../types/int.md), \]) === [$payments\_PaymentForm](../types/payments_PaymentForm.md) +$MadelineProto->[payments->getPaymentForm](payments.getPaymentForm.md)(\['msg_id' => [int](../types/int.md), \]) === [$payments.PaymentForm](../types/payments.PaymentForm.md) ***

-$MadelineProto->[payments->getPaymentReceipt](payments.getPaymentReceipt.md)(\['msg_id' => [int](../types/int.md), \]) === [$payments\_PaymentReceipt](../types/payments_PaymentReceipt.md) +$MadelineProto->[payments->getPaymentReceipt](payments.getPaymentReceipt.md)(\['msg_id' => [int](../types/int.md), \]) === [$payments.PaymentReceipt](../types/payments.PaymentReceipt.md) ***

-$MadelineProto->[payments->getSavedInfo](payments.getSavedInfo.md)(\[\]) === [$payments\_SavedInfo](../types/payments_SavedInfo.md) +$MadelineProto->[payments->getSavedInfo](payments.getSavedInfo.md)(\[\]) === [$payments.SavedInfo](../types/payments.SavedInfo.md) ***

-$MadelineProto->[payments->sendPaymentForm](payments.sendPaymentForm.md)(\['msg_id' => [int](../types/int.md), 'requested_info_id' => [string](../types/string.md), 'shipping_option_id' => [string](../types/string.md), 'credentials' => [InputPaymentCredentials](../types/InputPaymentCredentials.md), \]) === [$payments\_PaymentResult](../types/payments_PaymentResult.md) +$MadelineProto->[payments->sendPaymentForm](payments.sendPaymentForm.md)(\['msg_id' => [int](../types/int.md), 'requested_info_id' => [string](../types/string.md), 'shipping_option_id' => [string](../types/string.md), 'credentials' => [InputPaymentCredentials](../types/InputPaymentCredentials.md), \]) === [$payments.PaymentResult](../types/payments.PaymentResult.md) ***

-$MadelineProto->[payments->validateRequestedInfo](payments.validateRequestedInfo.md)(\['save' => [Bool](../types/Bool.md), 'msg_id' => [int](../types/int.md), 'info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), \]) === [$payments\_ValidatedRequestedInfo](../types/payments_ValidatedRequestedInfo.md) +$MadelineProto->[payments->validateRequestedInfo](payments.validateRequestedInfo.md)(\['save' => [Bool](../types/Bool.md), 'msg_id' => [int](../types/int.md), 'info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), \]) === [$payments.ValidatedRequestedInfo](../types/payments.ValidatedRequestedInfo.md) ***

-$MadelineProto->[phone->acceptCall](phone.acceptCall.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'g_b' => [bytes](../types/bytes.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone\_PhoneCall](../types/phone_PhoneCall.md) +$MadelineProto->[phone->acceptCall](phone.acceptCall.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'g_b' => [bytes](../types/bytes.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone.PhoneCall](../types/phone.PhoneCall.md) ***

-$MadelineProto->[phone->confirmCall](phone.confirmCall.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'g_a' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone\_PhoneCall](../types/phone_PhoneCall.md) +$MadelineProto->[phone->confirmCall](phone.confirmCall.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'g_a' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone.PhoneCall](../types/phone.PhoneCall.md) ***

@@ -894,7 +894,7 @@ $MadelineProto->[phone->receivedCall](phone.receivedCall.md)(\['peer' => [InputP ***

-$MadelineProto->[phone->requestCall](phone.requestCall.md)(\['user_id' => [InputUser](../types/InputUser.md), 'g_a_hash' => [bytes](../types/bytes.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone\_PhoneCall](../types/phone_PhoneCall.md) +$MadelineProto->[phone->requestCall](phone.requestCall.md)(\['user_id' => [InputUser](../types/InputUser.md), 'g_a_hash' => [bytes](../types/bytes.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone.PhoneCall](../types/phone.PhoneCall.md) ***

@@ -910,7 +910,7 @@ $MadelineProto->[photos->deletePhotos](photos.deletePhotos.md)(\['id' => \[[Inpu ***

-$MadelineProto->[photos->getUserPhotos](photos.getUserPhotos.md)(\['user_id' => [InputUser](../types/InputUser.md), 'offset' => [int](../types/int.md), 'max_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$photos\_Photos](../types/photos_Photos.md) +$MadelineProto->[photos->getUserPhotos](photos.getUserPhotos.md)(\['user_id' => [InputUser](../types/InputUser.md), 'offset' => [int](../types/int.md), 'max_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$photos.Photos](../types/photos.Photos.md) ***

@@ -918,7 +918,7 @@ $MadelineProto->[photos->updateProfilePhoto](photos.updateProfilePhoto.md)(\['id ***

-$MadelineProto->[photos->uploadProfilePhoto](photos.uploadProfilePhoto.md)(\['file' => [InputFile](../types/InputFile.md), \]) === [$photos\_Photo](../types/photos_Photo.md) +$MadelineProto->[photos->uploadProfilePhoto](photos.uploadProfilePhoto.md)(\['file' => [InputFile](../types/InputFile.md), \]) === [$photos.Photo](../types/photos.Photo.md) ***

@@ -942,35 +942,35 @@ $MadelineProto->[set_client_DH_params](set_client_DH_params.md)(\['nonce' => [in ***

-$MadelineProto->[stickers->addStickerToSet](stickers.addStickerToSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), 'sticker' => [InputStickerSetItem](../types/InputStickerSetItem.md), \]) === [$messages\_StickerSet](../types/messages_StickerSet.md) +$MadelineProto->[stickers->addStickerToSet](stickers.addStickerToSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), 'sticker' => [InputStickerSetItem](../types/InputStickerSetItem.md), \]) === [$messages.StickerSet](../types/messages.StickerSet.md) ***

-$MadelineProto->[stickers->changeStickerPosition](stickers.changeStickerPosition.md)(\['sticker' => [InputDocument](../types/InputDocument.md), 'position' => [int](../types/int.md), \]) === [$messages\_StickerSet](../types/messages_StickerSet.md) +$MadelineProto->[stickers->changeStickerPosition](stickers.changeStickerPosition.md)(\['sticker' => [InputDocument](../types/InputDocument.md), 'position' => [int](../types/int.md), \]) === [$messages.StickerSet](../types/messages.StickerSet.md) ***

-$MadelineProto->[stickers->createStickerSet](stickers.createStickerSet.md)(\['masks' => [Bool](../types/Bool.md), 'user_id' => [InputUser](../types/InputUser.md), 'title' => [string](../types/string.md), 'short_name' => [string](../types/string.md), 'stickers' => \[[InputStickerSetItem](../types/InputStickerSetItem.md)\], \]) === [$messages\_StickerSet](../types/messages_StickerSet.md) +$MadelineProto->[stickers->createStickerSet](stickers.createStickerSet.md)(\['masks' => [Bool](../types/Bool.md), 'user_id' => [InputUser](../types/InputUser.md), 'title' => [string](../types/string.md), 'short_name' => [string](../types/string.md), 'stickers' => \[[InputStickerSetItem](../types/InputStickerSetItem.md)\], \]) === [$messages.StickerSet](../types/messages.StickerSet.md) ***

-$MadelineProto->[stickers->removeStickerFromSet](stickers.removeStickerFromSet.md)(\['sticker' => [InputDocument](../types/InputDocument.md), \]) === [$messages\_StickerSet](../types/messages_StickerSet.md) +$MadelineProto->[stickers->removeStickerFromSet](stickers.removeStickerFromSet.md)(\['sticker' => [InputDocument](../types/InputDocument.md), \]) === [$messages.StickerSet](../types/messages.StickerSet.md) ***

-$MadelineProto->[updates->getChannelDifference](updates.getChannelDifference.md)(\['force' => [Bool](../types/Bool.md), 'channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$updates\_ChannelDifference](../types/updates_ChannelDifference.md) +$MadelineProto->[updates->getChannelDifference](updates.getChannelDifference.md)(\['force' => [Bool](../types/Bool.md), 'channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$updates.ChannelDifference](../types/updates.ChannelDifference.md) ***

-$MadelineProto->[updates->getDifference](updates.getDifference.md)(\['pts' => [int](../types/int.md), 'pts_total_limit' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) === [$updates\_Difference](../types/updates_Difference.md) +$MadelineProto->[updates->getDifference](updates.getDifference.md)(\['pts' => [int](../types/int.md), 'pts_total_limit' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) === [$updates.Difference](../types/updates.Difference.md) ***

-$MadelineProto->[updates->getState](updates.getState.md)(\[\]) === [$updates\_State](../types/updates_State.md) +$MadelineProto->[updates->getState](updates.getState.md)(\[\]) === [$updates.State](../types/updates.State.md) ***

-$MadelineProto->[upload->getCdnFile](upload.getCdnFile.md)(\['file_token' => [bytes](../types/bytes.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_CdnFile](../types/upload_CdnFile.md) +$MadelineProto->[upload->getCdnFile](upload.getCdnFile.md)(\['file_token' => [bytes](../types/bytes.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload.CdnFile](../types/upload.CdnFile.md) ***

@@ -978,11 +978,11 @@ $MadelineProto->[upload->getCdnFileHashes](upload.getCdnFileHashes.md)(\['file_t ***

-$MadelineProto->[upload->getFile](upload.getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_File](../types/upload_File.md) +$MadelineProto->[upload->getFile](upload.getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload.File](../types/upload.File.md) ***

-$MadelineProto->[upload->getWebFile](upload.getWebFile.md)(\['location' => [InputWebFileLocation](../types/InputWebFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_WebFile](../types/upload_WebFile.md) +$MadelineProto->[upload->getWebFile](upload.getWebFile.md)(\['location' => [InputWebFileLocation](../types/InputWebFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload.WebFile](../types/upload.WebFile.md) ***

diff --git a/old_docs/API_docs_v71/methods/auth.checkPassword.md b/old_docs/API_docs_v71/methods/auth.checkPassword.md index db65cb56..eeeed171 100644 --- a/old_docs/API_docs_v71/methods/auth.checkPassword.md +++ b/old_docs/API_docs_v71/methods/auth.checkPassword.md @@ -16,7 +16,7 @@ You cannot use this method directly, use the complete_2fa_login method instead ( |password\_hash|[bytes](../types/bytes.md) | You cannot use this method directly, use the complete_2fa_login method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->checkPassword(['password_hash' => 'bytes', ]); +$auth.Authorization = $MadelineProto->auth->checkPassword(['password_hash' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.checkPassword({password_hash='bytes', }) +auth.Authorization = auth.checkPassword({password_hash='bytes', }) ``` ### Errors diff --git a/old_docs/API_docs_v71/methods/auth.checkPhone.md b/old_docs/API_docs_v71/methods/auth.checkPhone.md index 227358cb..51d4cba6 100644 --- a/old_docs/API_docs_v71/methods/auth.checkPhone.md +++ b/old_docs/API_docs_v71/methods/auth.checkPhone.md @@ -16,7 +16,7 @@ Check if this phone number is registered on telegram |phone\_number|[string](../types/string.md) | The phone number to check | Yes| -### Return type: [auth\_CheckedPhone](../types/auth_CheckedPhone.md) +### Return type: [auth.CheckedPhone](../types/auth.CheckedPhone.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => 'string', ]); +$auth.CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_CheckedPhone = auth.checkPhone({phone_number='string', }) +auth.CheckedPhone = auth.checkPhone({phone_number='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v71/methods/auth.exportAuthorization.md b/old_docs/API_docs_v71/methods/auth.exportAuthorization.md index 72063a2b..41a1f87d 100644 --- a/old_docs/API_docs_v71/methods/auth.exportAuthorization.md +++ b/old_docs/API_docs_v71/methods/auth.exportAuthorization.md @@ -16,7 +16,7 @@ You cannot use this method directly, use $MadelineProto->exportAuthorization() i |dc\_id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| -### Return type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) +### Return type: [auth.ExportedAuthorization](../types/auth.ExportedAuthorization.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_ExportedAuthorization = $MadelineProto->auth->exportAuthorization(['dc_id' => int, ]); +$auth.ExportedAuthorization = $MadelineProto->auth->exportAuthorization(['dc_id' => int, ]); ``` Or, if you're into Lua: ```lua -auth_ExportedAuthorization = auth.exportAuthorization({dc_id=int, }) +auth.ExportedAuthorization = auth.exportAuthorization({dc_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v71/methods/auth.importAuthorization.md b/old_docs/API_docs_v71/methods/auth.importAuthorization.md index d9c13751..5257e0b0 100644 --- a/old_docs/API_docs_v71/methods/auth.importAuthorization.md +++ b/old_docs/API_docs_v71/methods/auth.importAuthorization.md @@ -17,7 +17,7 @@ You cannot use this method directly, use $MadelineProto->importAuthorization($au |bytes|[bytes](../types/bytes.md) | You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => 'bytes', ]); +$auth.Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.importAuthorization({id=int, bytes='bytes', }) +auth.Authorization = auth.importAuthorization({id=int, bytes='bytes', }) ``` ### Errors diff --git a/old_docs/API_docs_v71/methods/auth.importBotAuthorization.md b/old_docs/API_docs_v71/methods/auth.importBotAuthorization.md index 3161d6be..a4ea8027 100644 --- a/old_docs/API_docs_v71/methods/auth.importBotAuthorization.md +++ b/old_docs/API_docs_v71/methods/auth.importBotAuthorization.md @@ -18,7 +18,7 @@ You cannot use this method directly, use the botLogin method instead (see https: |bot\_auth\_token|[string](../types/string.md) | You cannot use this method directly, use the botLogin method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **YES** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->importBotAuthorization(['api_id' => int, 'api_hash' => 'string', 'bot_auth_token' => 'string', ]); +$auth.Authorization = $MadelineProto->auth->importBotAuthorization(['api_id' => int, 'api_hash' => 'string', 'bot_auth_token' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.importBotAuthorization({api_id=int, api_hash='string', bot_auth_token='string', }) +auth.Authorization = auth.importBotAuthorization({api_id=int, api_hash='string', bot_auth_token='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v71/methods/auth.recoverPassword.md b/old_docs/API_docs_v71/methods/auth.recoverPassword.md index f7cbf4a4..2e78444b 100644 --- a/old_docs/API_docs_v71/methods/auth.recoverPassword.md +++ b/old_docs/API_docs_v71/methods/auth.recoverPassword.md @@ -16,7 +16,7 @@ Reset the [2FA password](https://core.telegram.org/api/srp) using the recovery c |code|[string](../types/string.md) | Code received via email | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->recoverPassword(['code' => 'string', ]); +$auth.Authorization = $MadelineProto->auth->recoverPassword(['code' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.recoverPassword({code='string', }) +auth.Authorization = auth.recoverPassword({code='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v71/methods/auth.requestPasswordRecovery.md b/old_docs/API_docs_v71/methods/auth.requestPasswordRecovery.md index 5cd77936..ff1ecc02 100644 --- a/old_docs/API_docs_v71/methods/auth.requestPasswordRecovery.md +++ b/old_docs/API_docs_v71/methods/auth.requestPasswordRecovery.md @@ -11,7 +11,7 @@ Request recovery code of a [2FA password](https://core.telegram.org/api/srp), on -### Return type: [auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) +### Return type: [auth.PasswordRecovery](../types/auth.PasswordRecovery.md) ### Can bots use this method: **NO** @@ -28,13 +28,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_PasswordRecovery = $MadelineProto->auth->requestPasswordRecovery(); +$auth.PasswordRecovery = $MadelineProto->auth->requestPasswordRecovery(); ``` Or, if you're into Lua: ```lua -auth_PasswordRecovery = auth.requestPasswordRecovery({}) +auth.PasswordRecovery = auth.requestPasswordRecovery({}) ``` ### Errors diff --git a/old_docs/API_docs_v71/methods/auth.resendCode.md b/old_docs/API_docs_v71/methods/auth.resendCode.md index a395a91b..f59f1b7b 100644 --- a/old_docs/API_docs_v71/methods/auth.resendCode.md +++ b/old_docs/API_docs_v71/methods/auth.resendCode.md @@ -17,7 +17,7 @@ Resend the login code via another medium, the phone code type is determined by t |phone\_code\_hash|[string](../types/string.md) | The phone code hash obtained from [auth.sendCode](../methods/auth.sendCode.md) | Yes| -### Return type: [auth\_SentCode](../types/auth_SentCode.md) +### Return type: [auth.SentCode](../types/auth.SentCode.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_SentCode = $MadelineProto->auth->resendCode(['phone_number' => 'string', 'phone_code_hash' => 'string', ]); +$auth.SentCode = $MadelineProto->auth->resendCode(['phone_number' => 'string', 'phone_code_hash' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_SentCode = auth.resendCode({phone_number='string', phone_code_hash='string', }) +auth.SentCode = auth.resendCode({phone_number='string', phone_code_hash='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v71/methods/auth.sendCode.md b/old_docs/API_docs_v71/methods/auth.sendCode.md index bd922a48..0c818fbb 100644 --- a/old_docs/API_docs_v71/methods/auth.sendCode.md +++ b/old_docs/API_docs_v71/methods/auth.sendCode.md @@ -20,7 +20,7 @@ You cannot use this method directly, use the phoneLogin method instead (see http |api\_hash|[string](../types/string.md) | You cannot use this method directly, use the phoneLogin method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_SentCode](../types/auth_SentCode.md) +### Return type: [auth.SentCode](../types/auth.SentCode.md) ### Can bots use this method: **NO** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_SentCode = $MadelineProto->auth->sendCode(['allow_flashcall' => Bool, 'phone_number' => 'string', 'current_number' => Bool, 'api_id' => int, 'api_hash' => 'string', ]); +$auth.SentCode = $MadelineProto->auth->sendCode(['allow_flashcall' => Bool, 'phone_number' => 'string', 'current_number' => Bool, 'api_id' => int, 'api_hash' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_SentCode = auth.sendCode({allow_flashcall=Bool, phone_number='string', current_number=Bool, api_id=int, api_hash='string', }) +auth.SentCode = auth.sendCode({allow_flashcall=Bool, phone_number='string', current_number=Bool, api_id=int, api_hash='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v71/methods/auth.signIn.md b/old_docs/API_docs_v71/methods/auth.signIn.md index 54812a2e..95b14f32 100644 --- a/old_docs/API_docs_v71/methods/auth.signIn.md +++ b/old_docs/API_docs_v71/methods/auth.signIn.md @@ -18,7 +18,7 @@ You cannot use this method directly, use the completePhoneLogin method instead ( |phone\_code|[string](../types/string.md) | You cannot use this method directly, use the completePhoneLogin method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->signIn(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', ]); +$auth.Authorization = $MadelineProto->auth->signIn(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.signIn({phone_number='string', phone_code_hash='string', phone_code='string', }) +auth.Authorization = auth.signIn({phone_number='string', phone_code_hash='string', phone_code='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v71/methods/auth.signUp.md b/old_docs/API_docs_v71/methods/auth.signUp.md index 2aca2bfa..fdb5d628 100644 --- a/old_docs/API_docs_v71/methods/auth.signUp.md +++ b/old_docs/API_docs_v71/methods/auth.signUp.md @@ -20,7 +20,7 @@ You cannot use this method directly, use the completeSignup method instead (see |last\_name|[string](../types/string.md) | You cannot use this method directly, use the completeSignup method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **NO** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->signUp(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', 'first_name' => 'string', 'last_name' => 'string', ]); +$auth.Authorization = $MadelineProto->auth->signUp(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', 'first_name' => 'string', 'last_name' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.signUp({phone_number='string', phone_code_hash='string', phone_code='string', first_name='string', last_name='string', }) +auth.Authorization = auth.signUp({phone_number='string', phone_code_hash='string', phone_code='string', first_name='string', last_name='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v71/methods/channels.deleteMessages.md b/old_docs/API_docs_v71/methods/channels.deleteMessages.md index 10a439fb..8583e560 100644 --- a/old_docs/API_docs_v71/methods/channels.deleteMessages.md +++ b/old_docs/API_docs_v71/methods/channels.deleteMessages.md @@ -17,7 +17,7 @@ Delete messages in a [channel/supergroup](https://core.telegram.org/api/channel) |id|Array of [int](../types/int.md) | The IDs of messages to delete | Yes| -### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) +### Return type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedMessages = $MadelineProto->channels->deleteMessages(['channel' => InputChannel, 'id' => [int, int], ]); +$messages.AffectedMessages = $MadelineProto->channels->deleteMessages(['channel' => InputChannel, 'id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AffectedMessages = channels.deleteMessages({channel=InputChannel, id={int}, }) +messages.AffectedMessages = channels.deleteMessages({channel=InputChannel, id={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v71/methods/channels.deleteUserHistory.md b/old_docs/API_docs_v71/methods/channels.deleteUserHistory.md index 9b8b159f..6ccaf7dd 100644 --- a/old_docs/API_docs_v71/methods/channels.deleteUserHistory.md +++ b/old_docs/API_docs_v71/methods/channels.deleteUserHistory.md @@ -17,7 +17,7 @@ Delete all messages sent by a certain user in a [supergroup](https://core.telegr |user\_id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | User whose messages should be deleted | Optional| -### Return type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) +### Return type: [messages.AffectedHistory](../types/messages.AffectedHistory.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedHistory = $MadelineProto->channels->deleteUserHistory(['channel' => InputChannel, 'user_id' => InputUser, ]); +$messages.AffectedHistory = $MadelineProto->channels->deleteUserHistory(['channel' => InputChannel, 'user_id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -messages_AffectedHistory = channels.deleteUserHistory({channel=InputChannel, user_id=InputUser, }) +messages.AffectedHistory = channels.deleteUserHistory({channel=InputChannel, user_id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v71/methods/channels.getAdminLog.md b/old_docs/API_docs_v71/methods/channels.getAdminLog.md index e149f653..3b550a73 100644 --- a/old_docs/API_docs_v71/methods/channels.getAdminLog.md +++ b/old_docs/API_docs_v71/methods/channels.getAdminLog.md @@ -22,7 +22,7 @@ Get the admin log of a [channel/supergroup](https://core.telegram.org/api/channe |limit|[int](../types/int.md) | Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets) | Yes| -### Return type: [channels\_AdminLogResults](../types/channels_AdminLogResults.md) +### Return type: [channels.AdminLogResults](../types/channels.AdminLogResults.md) ### Can bots use this method: **NO** @@ -39,13 +39,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$channels_AdminLogResults = $MadelineProto->channels->getAdminLog(['channel' => InputChannel, 'q' => 'string', 'events_filter' => ChannelAdminLogEventsFilter, 'admins' => [InputUser, InputUser], 'max_id' => long, 'min_id' => long, 'limit' => int, ]); +$channels.AdminLogResults = $MadelineProto->channels->getAdminLog(['channel' => InputChannel, 'q' => 'string', 'events_filter' => ChannelAdminLogEventsFilter, 'admins' => [InputUser, InputUser], 'max_id' => long, 'min_id' => long, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -channels_AdminLogResults = channels.getAdminLog({channel=InputChannel, q='string', events_filter=ChannelAdminLogEventsFilter, admins={InputUser}, max_id=long, min_id=long, limit=int, }) +channels.AdminLogResults = channels.getAdminLog({channel=InputChannel, q='string', events_filter=ChannelAdminLogEventsFilter, admins={InputUser}, max_id=long, min_id=long, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v71/methods/channels.getAdminedPublicChannels.md b/old_docs/API_docs_v71/methods/channels.getAdminedPublicChannels.md index 55a686ca..eb277404 100644 --- a/old_docs/API_docs_v71/methods/channels.getAdminedPublicChannels.md +++ b/old_docs/API_docs_v71/methods/channels.getAdminedPublicChannels.md @@ -11,7 +11,7 @@ Get [channels/supergroups/geogroups](https://core.telegram.org/api/channel) we'r -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->channels->getAdminedPublicChannels(); +$messages.Chats = $MadelineProto->channels->getAdminedPublicChannels(); ``` Or, if you're into Lua: ```lua -messages_Chats = channels.getAdminedPublicChannels({}) +messages.Chats = channels.getAdminedPublicChannels({}) ``` diff --git a/old_docs/API_docs_v71/methods/channels.getChannels.md b/old_docs/API_docs_v71/methods/channels.getChannels.md index 368c96ce..ed9cf4a7 100644 --- a/old_docs/API_docs_v71/methods/channels.getChannels.md +++ b/old_docs/API_docs_v71/methods/channels.getChannels.md @@ -16,7 +16,7 @@ Get info about [channels/supergroups](https://core.telegram.org/api/channel) |id|Array of [Username, chat ID, Update, Message or InputChannel](../types/InputChannel.md) | The channel/supergroup MTProto IDs | Yes| -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->channels->getChannels(['id' => [InputChannel, InputChannel], ]); +$messages.Chats = $MadelineProto->channels->getChannels(['id' => [InputChannel, InputChannel], ]); ``` Or, if you're into Lua: ```lua -messages_Chats = channels.getChannels({id={InputChannel}, }) +messages.Chats = channels.getChannels({id={InputChannel}, }) ``` ### Errors diff --git a/old_docs/API_docs_v71/methods/channels.getFullChannel.md b/old_docs/API_docs_v71/methods/channels.getFullChannel.md index 08dc21bb..1369e0a0 100644 --- a/old_docs/API_docs_v71/methods/channels.getFullChannel.md +++ b/old_docs/API_docs_v71/methods/channels.getFullChannel.md @@ -16,7 +16,7 @@ You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo me |channel|[Username, chat ID, Update, Message or InputChannel](../types/InputChannel.md) | You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo methods instead (see https://docs.madelineproto.xyz for more info) | Optional| -### Return type: [messages\_ChatFull](../types/messages_ChatFull.md) +### Return type: [messages.ChatFull](../types/messages.ChatFull.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_ChatFull = $MadelineProto->channels->getFullChannel(['channel' => InputChannel, ]); +$messages.ChatFull = $MadelineProto->channels->getFullChannel(['channel' => InputChannel, ]); ``` Or, if you're into Lua: ```lua -messages_ChatFull = channels.getFullChannel({channel=InputChannel, }) +messages.ChatFull = channels.getFullChannel({channel=InputChannel, }) ``` ### Errors diff --git a/old_docs/API_docs_v71/methods/channels.getMessages.md b/old_docs/API_docs_v71/methods/channels.getMessages.md index 379e0e9d..5023ea1a 100644 --- a/old_docs/API_docs_v71/methods/channels.getMessages.md +++ b/old_docs/API_docs_v71/methods/channels.getMessages.md @@ -17,7 +17,7 @@ Get [channel/supergroup](https://core.telegram.org/api/channel) messages |id|Array of [int](../types/int.md) | The message IDs | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->channels->getMessages(['channel' => InputChannel, 'id' => [int, int], ]); +$messages.Messages = $MadelineProto->channels->getMessages(['channel' => InputChannel, 'id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Messages = channels.getMessages({channel=InputChannel, id={int}, }) +messages.Messages = channels.getMessages({channel=InputChannel, id={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v71/methods/channels.getParticipant.md b/old_docs/API_docs_v71/methods/channels.getParticipant.md index aa2ce655..cf6a7771 100644 --- a/old_docs/API_docs_v71/methods/channels.getParticipant.md +++ b/old_docs/API_docs_v71/methods/channels.getParticipant.md @@ -17,7 +17,7 @@ Get info about a [channel/supergroup](https://core.telegram.org/api/channel) par |user\_id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | ID of participant to get info about | Optional| -### Return type: [channels\_ChannelParticipant](../types/channels_ChannelParticipant.md) +### Return type: [channels.ChannelParticipant](../types/channels.ChannelParticipant.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$channels_ChannelParticipant = $MadelineProto->channels->getParticipant(['channel' => InputChannel, 'user_id' => InputUser, ]); +$channels.ChannelParticipant = $MadelineProto->channels->getParticipant(['channel' => InputChannel, 'user_id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -channels_ChannelParticipant = channels.getParticipant({channel=InputChannel, user_id=InputUser, }) +channels.ChannelParticipant = channels.getParticipant({channel=InputChannel, user_id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v71/methods/channels.getParticipants.md b/old_docs/API_docs_v71/methods/channels.getParticipants.md index 9be95921..bfeccd48 100644 --- a/old_docs/API_docs_v71/methods/channels.getParticipants.md +++ b/old_docs/API_docs_v71/methods/channels.getParticipants.md @@ -19,7 +19,7 @@ Get the participants of a channel |limit|[int](../types/int.md) | [Limit](https://core.telegram.org/api/offsets) | Yes| -### Return type: [channels\_ChannelParticipants](../types/channels_ChannelParticipants.md) +### Return type: [channels.ChannelParticipants](../types/channels.ChannelParticipants.md) ### Can bots use this method: **YES** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$channels_ChannelParticipants = $MadelineProto->channels->getParticipants(['channel' => InputChannel, 'filter' => ChannelParticipantsFilter, 'offset' => int, 'limit' => int, ]); +$channels.ChannelParticipants = $MadelineProto->channels->getParticipants(['channel' => InputChannel, 'filter' => ChannelParticipantsFilter, 'offset' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -channels_ChannelParticipants = channels.getParticipants({channel=InputChannel, filter=ChannelParticipantsFilter, offset=int, limit=int, }) +channels.ChannelParticipants = channels.getParticipants({channel=InputChannel, filter=ChannelParticipantsFilter, offset=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v71/methods/contacts.deleteContact.md b/old_docs/API_docs_v71/methods/contacts.deleteContact.md index a9321d64..9169e1e0 100644 --- a/old_docs/API_docs_v71/methods/contacts.deleteContact.md +++ b/old_docs/API_docs_v71/methods/contacts.deleteContact.md @@ -16,7 +16,7 @@ Delete a contact |id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | The contact to delete | Optional| -### Return type: [contacts\_Link](../types/contacts_Link.md) +### Return type: [contacts.Link](../types/contacts.Link.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Link = $MadelineProto->contacts->deleteContact(['id' => InputUser, ]); +$contacts.Link = $MadelineProto->contacts->deleteContact(['id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -contacts_Link = contacts.deleteContact({id=InputUser, }) +contacts.Link = contacts.deleteContact({id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v71/methods/contacts.getBlocked.md b/old_docs/API_docs_v71/methods/contacts.getBlocked.md index 92f2f331..6ac1c343 100644 --- a/old_docs/API_docs_v71/methods/contacts.getBlocked.md +++ b/old_docs/API_docs_v71/methods/contacts.getBlocked.md @@ -17,7 +17,7 @@ Returns the list of blocked users. |limit|[int](../types/int.md) | The number of list elements to be returned | Yes| -### Return type: [contacts\_Blocked](../types/contacts_Blocked.md) +### Return type: [contacts.Blocked](../types/contacts.Blocked.md) ### Can bots use this method: **NO** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Blocked = $MadelineProto->contacts->getBlocked(['offset' => int, 'limit' => int, ]); +$contacts.Blocked = $MadelineProto->contacts->getBlocked(['offset' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -contacts_Blocked = contacts.getBlocked({offset=int, limit=int, }) +contacts.Blocked = contacts.getBlocked({offset=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v71/methods/contacts.getContacts.md b/old_docs/API_docs_v71/methods/contacts.getContacts.md index c67e6240..609549b0 100644 --- a/old_docs/API_docs_v71/methods/contacts.getContacts.md +++ b/old_docs/API_docs_v71/methods/contacts.getContacts.md @@ -16,7 +16,7 @@ Returns the current user's contact list. |hash|Array of [int](../types/int.md) | User IDs of previously cached contacts | Optional| -### Return type: [contacts\_Contacts](../types/contacts_Contacts.md) +### Return type: [contacts.Contacts](../types/contacts.Contacts.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Contacts = $MadelineProto->contacts->getContacts(['hash' => [int, int], ]); +$contacts.Contacts = $MadelineProto->contacts->getContacts(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -contacts_Contacts = contacts.getContacts({hash={int}, }) +contacts.Contacts = contacts.getContacts({hash={int}, }) ``` diff --git a/old_docs/API_docs_v71/methods/contacts.getTopPeers.md b/old_docs/API_docs_v71/methods/contacts.getTopPeers.md index 0acf7155..870de6b3 100644 --- a/old_docs/API_docs_v71/methods/contacts.getTopPeers.md +++ b/old_docs/API_docs_v71/methods/contacts.getTopPeers.md @@ -24,7 +24,7 @@ Get most used peers |hash|Array of [int](../types/int.md) | Peer IDs of previously cached peers | Optional| -### Return type: [contacts\_TopPeers](../types/contacts_TopPeers.md) +### Return type: [contacts.TopPeers](../types/contacts.TopPeers.md) ### Can bots use this method: **NO** @@ -41,13 +41,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_TopPeers = $MadelineProto->contacts->getTopPeers(['correspondents' => Bool, 'bots_pm' => Bool, 'bots_inline' => Bool, 'phone_calls' => Bool, 'groups' => Bool, 'channels' => Bool, 'offset' => int, 'limit' => int, 'hash' => [int, int], ]); +$contacts.TopPeers = $MadelineProto->contacts->getTopPeers(['correspondents' => Bool, 'bots_pm' => Bool, 'bots_inline' => Bool, 'phone_calls' => Bool, 'groups' => Bool, 'channels' => Bool, 'offset' => int, 'limit' => int, 'hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -contacts_TopPeers = contacts.getTopPeers({correspondents=Bool, bots_pm=Bool, bots_inline=Bool, phone_calls=Bool, groups=Bool, channels=Bool, offset=int, limit=int, hash={int}, }) +contacts.TopPeers = contacts.getTopPeers({correspondents=Bool, bots_pm=Bool, bots_inline=Bool, phone_calls=Bool, groups=Bool, channels=Bool, offset=int, limit=int, hash={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v71/methods/contacts.importContacts.md b/old_docs/API_docs_v71/methods/contacts.importContacts.md index 7c795780..dbb9b7fa 100644 --- a/old_docs/API_docs_v71/methods/contacts.importContacts.md +++ b/old_docs/API_docs_v71/methods/contacts.importContacts.md @@ -16,7 +16,7 @@ Imports contacts: saves a full list on the server, adds already registered conta |contacts|Array of [InputContact](../types/InputContact.md) | The numbers to import | Yes| -### Return type: [contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) +### Return type: [contacts.ImportedContacts](../types/contacts.ImportedContacts.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_ImportedContacts = $MadelineProto->contacts->importContacts(['contacts' => [InputContact, InputContact], ]); +$contacts.ImportedContacts = $MadelineProto->contacts->importContacts(['contacts' => [InputContact, InputContact], ]); ``` Or, if you're into Lua: ```lua -contacts_ImportedContacts = contacts.importContacts({contacts={InputContact}, }) +contacts.ImportedContacts = contacts.importContacts({contacts={InputContact}, }) ``` diff --git a/old_docs/API_docs_v71/methods/contacts.resolveUsername.md b/old_docs/API_docs_v71/methods/contacts.resolveUsername.md index 05e3d854..46f1eb50 100644 --- a/old_docs/API_docs_v71/methods/contacts.resolveUsername.md +++ b/old_docs/API_docs_v71/methods/contacts.resolveUsername.md @@ -16,7 +16,7 @@ You cannot use this method directly, use the resolveUsername, getPwrChat, getInf |username|[string](../types/string.md) | You cannot use this method directly, use the resolveUsername, getPwrChat, getInfo, getFullInfo methods instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [contacts\_ResolvedPeer](../types/contacts_ResolvedPeer.md) +### Return type: [contacts.ResolvedPeer](../types/contacts.ResolvedPeer.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_ResolvedPeer = $MadelineProto->contacts->resolveUsername(['username' => 'string', ]); +$contacts.ResolvedPeer = $MadelineProto->contacts->resolveUsername(['username' => 'string', ]); ``` Or, if you're into Lua: ```lua -contacts_ResolvedPeer = contacts.resolveUsername({username='string', }) +contacts.ResolvedPeer = contacts.resolveUsername({username='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v71/methods/contacts.search.md b/old_docs/API_docs_v71/methods/contacts.search.md index 2f39d6f1..ec04c7f9 100644 --- a/old_docs/API_docs_v71/methods/contacts.search.md +++ b/old_docs/API_docs_v71/methods/contacts.search.md @@ -17,7 +17,7 @@ Returns users found by username substring. |limit|[int](../types/int.md) | Maximum number of users to be returned | Yes| -### Return type: [contacts\_Found](../types/contacts_Found.md) +### Return type: [contacts.Found](../types/contacts.Found.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Found = $MadelineProto->contacts->search(['q' => 'string', 'limit' => int, ]); +$contacts.Found = $MadelineProto->contacts->search(['q' => 'string', 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -contacts_Found = contacts.search({q='string', limit=int, }) +contacts.Found = contacts.search({q='string', limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v71/methods/help.getAppUpdate.md b/old_docs/API_docs_v71/methods/help.getAppUpdate.md index 4c58e898..b9899d71 100644 --- a/old_docs/API_docs_v71/methods/help.getAppUpdate.md +++ b/old_docs/API_docs_v71/methods/help.getAppUpdate.md @@ -11,7 +11,7 @@ Returns information on update availability for the current application. -### Return type: [help\_AppUpdate](../types/help_AppUpdate.md) +### Return type: [help.AppUpdate](../types/help.AppUpdate.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_AppUpdate = $MadelineProto->help->getAppUpdate(); +$help.AppUpdate = $MadelineProto->help->getAppUpdate(); ``` Or, if you're into Lua: ```lua -help_AppUpdate = help.getAppUpdate({}) +help.AppUpdate = help.getAppUpdate({}) ``` diff --git a/old_docs/API_docs_v71/methods/help.getInviteText.md b/old_docs/API_docs_v71/methods/help.getInviteText.md index 6fd67362..0d427974 100644 --- a/old_docs/API_docs_v71/methods/help.getInviteText.md +++ b/old_docs/API_docs_v71/methods/help.getInviteText.md @@ -11,7 +11,7 @@ Returns text of a text message with an invitation. -### Return type: [help\_InviteText](../types/help_InviteText.md) +### Return type: [help.InviteText](../types/help.InviteText.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_InviteText = $MadelineProto->help->getInviteText(); +$help.InviteText = $MadelineProto->help->getInviteText(); ``` Or, if you're into Lua: ```lua -help_InviteText = help.getInviteText({}) +help.InviteText = help.getInviteText({}) ``` diff --git a/old_docs/API_docs_v71/methods/help.getSupport.md b/old_docs/API_docs_v71/methods/help.getSupport.md index 7a577892..8a8df916 100644 --- a/old_docs/API_docs_v71/methods/help.getSupport.md +++ b/old_docs/API_docs_v71/methods/help.getSupport.md @@ -11,7 +11,7 @@ Returns the support user for the 'ask a question' feature. -### Return type: [help\_Support](../types/help_Support.md) +### Return type: [help.Support](../types/help.Support.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_Support = $MadelineProto->help->getSupport(); +$help.Support = $MadelineProto->help->getSupport(); ``` Or, if you're into Lua: ```lua -help_Support = help.getSupport({}) +help.Support = help.getSupport({}) ``` diff --git a/old_docs/API_docs_v71/methods/help.getTermsOfService.md b/old_docs/API_docs_v71/methods/help.getTermsOfService.md index f6226458..9f9b28f9 100644 --- a/old_docs/API_docs_v71/methods/help.getTermsOfService.md +++ b/old_docs/API_docs_v71/methods/help.getTermsOfService.md @@ -11,7 +11,7 @@ Get terms of service -### Return type: [help\_TermsOfService](../types/help_TermsOfService.md) +### Return type: [help.TermsOfService](../types/help.TermsOfService.md) ### Can bots use this method: **YES** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_TermsOfService = $MadelineProto->help->getTermsOfService(); +$help.TermsOfService = $MadelineProto->help->getTermsOfService(); ``` Or, if you're into Lua: ```lua -help_TermsOfService = help.getTermsOfService({}) +help.TermsOfService = help.getTermsOfService({}) ``` diff --git a/old_docs/API_docs_v71/methods/messages.deleteHistory.md b/old_docs/API_docs_v71/methods/messages.deleteHistory.md index 9ae1bae9..41460415 100644 --- a/old_docs/API_docs_v71/methods/messages.deleteHistory.md +++ b/old_docs/API_docs_v71/methods/messages.deleteHistory.md @@ -18,7 +18,7 @@ Deletes communication history. |max\_id|[int](../types/int.md) | Maximum ID of message to delete | Yes| -### Return type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) +### Return type: [messages.AffectedHistory](../types/messages.AffectedHistory.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedHistory = $MadelineProto->messages->deleteHistory(['just_clear' => Bool, 'peer' => InputPeer, 'max_id' => int, ]); +$messages.AffectedHistory = $MadelineProto->messages->deleteHistory(['just_clear' => Bool, 'peer' => InputPeer, 'max_id' => int, ]); ``` Or, if you're into Lua: ```lua -messages_AffectedHistory = messages.deleteHistory({just_clear=Bool, peer=InputPeer, max_id=int, }) +messages.AffectedHistory = messages.deleteHistory({just_clear=Bool, peer=InputPeer, max_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v71/methods/messages.deleteMessages.md b/old_docs/API_docs_v71/methods/messages.deleteMessages.md index ade04cae..ade96e60 100644 --- a/old_docs/API_docs_v71/methods/messages.deleteMessages.md +++ b/old_docs/API_docs_v71/methods/messages.deleteMessages.md @@ -17,7 +17,7 @@ Deletes messages by their identifiers. |id|Array of [int](../types/int.md) | IDs of messages to delete, use channels->deleteMessages for supergroups | Yes| -### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) +### Return type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedMessages = $MadelineProto->messages->deleteMessages(['revoke' => Bool, 'id' => [int, int], ]); +$messages.AffectedMessages = $MadelineProto->messages->deleteMessages(['revoke' => Bool, 'id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AffectedMessages = messages.deleteMessages({revoke=Bool, id={int}, }) +messages.AffectedMessages = messages.deleteMessages({revoke=Bool, id={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v71/methods/messages.getAllChats.md b/old_docs/API_docs_v71/methods/messages.getAllChats.md index cdcc5430..97cc4817 100644 --- a/old_docs/API_docs_v71/methods/messages.getAllChats.md +++ b/old_docs/API_docs_v71/methods/messages.getAllChats.md @@ -16,7 +16,7 @@ Get all chats, channels and supergroups |except\_ids|Array of [int](../types/int.md) | Do not fetch these chats (MTProto id) | Yes| -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->messages->getAllChats(['except_ids' => [int, int], ]); +$messages.Chats = $MadelineProto->messages->getAllChats(['except_ids' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Chats = messages.getAllChats({except_ids={int}, }) +messages.Chats = messages.getAllChats({except_ids={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v71/methods/messages.getAllStickers.md b/old_docs/API_docs_v71/methods/messages.getAllStickers.md index 329b70be..0f0de7f1 100644 --- a/old_docs/API_docs_v71/methods/messages.getAllStickers.md +++ b/old_docs/API_docs_v71/methods/messages.getAllStickers.md @@ -16,7 +16,7 @@ Get all installed stickers |hash|Array of [int](../types/int.md) | The hash parameter of the previous result of this method | Optional| -### Return type: [messages\_AllStickers](../types/messages_AllStickers.md) +### Return type: [messages.AllStickers](../types/messages.AllStickers.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AllStickers = $MadelineProto->messages->getAllStickers(['hash' => [int, int], ]); +$messages.AllStickers = $MadelineProto->messages->getAllStickers(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AllStickers = messages.getAllStickers({hash={int}, }) +messages.AllStickers = messages.getAllStickers({hash={int}, }) ``` diff --git a/old_docs/API_docs_v71/methods/messages.getArchivedStickers.md b/old_docs/API_docs_v71/methods/messages.getArchivedStickers.md index d3abe9fc..c108376e 100644 --- a/old_docs/API_docs_v71/methods/messages.getArchivedStickers.md +++ b/old_docs/API_docs_v71/methods/messages.getArchivedStickers.md @@ -18,7 +18,7 @@ Get all archived stickers |limit|[int](../types/int.md) | Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_ArchivedStickers](../types/messages_ArchivedStickers.md) +### Return type: [messages.ArchivedStickers](../types/messages.ArchivedStickers.md) ### Can bots use this method: **NO** @@ -35,12 +35,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_ArchivedStickers = $MadelineProto->messages->getArchivedStickers(['masks' => Bool, 'offset_id' => long, 'limit' => int, ]); +$messages.ArchivedStickers = $MadelineProto->messages->getArchivedStickers(['masks' => Bool, 'offset_id' => long, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -messages_ArchivedStickers = messages.getArchivedStickers({masks=Bool, offset_id=long, limit=int, }) +messages.ArchivedStickers = messages.getArchivedStickers({masks=Bool, offset_id=long, limit=int, }) ``` diff --git a/old_docs/API_docs_v71/methods/messages.getBotCallbackAnswer.md b/old_docs/API_docs_v71/methods/messages.getBotCallbackAnswer.md index 015fc46b..10072386 100644 --- a/old_docs/API_docs_v71/methods/messages.getBotCallbackAnswer.md +++ b/old_docs/API_docs_v71/methods/messages.getBotCallbackAnswer.md @@ -19,7 +19,7 @@ Press an inline callback button and get a callback answer from the bot |data|[bytes](../types/bytes.md) | Callback data | Optional| -### Return type: [messages\_BotCallbackAnswer](../types/messages_BotCallbackAnswer.md) +### Return type: [messages.BotCallbackAnswer](../types/messages.BotCallbackAnswer.md) ### Can bots use this method: **NO** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_BotCallbackAnswer = $MadelineProto->messages->getBotCallbackAnswer(['game' => Bool, 'peer' => InputPeer, 'msg_id' => int, 'data' => 'bytes', ]); +$messages.BotCallbackAnswer = $MadelineProto->messages->getBotCallbackAnswer(['game' => Bool, 'peer' => InputPeer, 'msg_id' => int, 'data' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -messages_BotCallbackAnswer = messages.getBotCallbackAnswer({game=Bool, peer=InputPeer, msg_id=int, data='bytes', }) +messages.BotCallbackAnswer = messages.getBotCallbackAnswer({game=Bool, peer=InputPeer, msg_id=int, data='bytes', }) ``` ### Errors diff --git a/old_docs/API_docs_v71/methods/messages.getChats.md b/old_docs/API_docs_v71/methods/messages.getChats.md index c34b0488..146341f5 100644 --- a/old_docs/API_docs_v71/methods/messages.getChats.md +++ b/old_docs/API_docs_v71/methods/messages.getChats.md @@ -16,7 +16,7 @@ Returns chat basic info on their IDs. |id|Array of [int](../types/int.md) | The MTProto IDs of chats to fetch info about | Yes| -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->messages->getChats(['id' => [int, int], ]); +$messages.Chats = $MadelineProto->messages->getChats(['id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Chats = messages.getChats({id={int}, }) +messages.Chats = messages.getChats({id={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v71/methods/messages.getCommonChats.md b/old_docs/API_docs_v71/methods/messages.getCommonChats.md index fc7b2363..56a3ec01 100644 --- a/old_docs/API_docs_v71/methods/messages.getCommonChats.md +++ b/old_docs/API_docs_v71/methods/messages.getCommonChats.md @@ -18,7 +18,7 @@ Get chats in common with a user |limit|[int](../types/int.md) | Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->messages->getCommonChats(['user_id' => InputUser, 'max_id' => int, 'limit' => int, ]); +$messages.Chats = $MadelineProto->messages->getCommonChats(['user_id' => InputUser, 'max_id' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Chats = messages.getCommonChats({user_id=InputUser, max_id=int, limit=int, }) +messages.Chats = messages.getCommonChats({user_id=InputUser, max_id=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v71/methods/messages.getDhConfig.md b/old_docs/API_docs_v71/methods/messages.getDhConfig.md index 88ea4ab3..7b9da566 100644 --- a/old_docs/API_docs_v71/methods/messages.getDhConfig.md +++ b/old_docs/API_docs_v71/methods/messages.getDhConfig.md @@ -17,7 +17,7 @@ You cannot use this method directly, instead use $MadelineProto->getDhConfig(); |random\_length|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->getDhConfig(); | Yes| -### Return type: [messages\_DhConfig](../types/messages_DhConfig.md) +### Return type: [messages.DhConfig](../types/messages.DhConfig.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_DhConfig = $MadelineProto->messages->getDhConfig(['version' => int, 'random_length' => int, ]); +$messages.DhConfig = $MadelineProto->messages->getDhConfig(['version' => int, 'random_length' => int, ]); ``` Or, if you're into Lua: ```lua -messages_DhConfig = messages.getDhConfig({version=int, random_length=int, }) +messages.DhConfig = messages.getDhConfig({version=int, random_length=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v71/methods/messages.getDialogs.md b/old_docs/API_docs_v71/methods/messages.getDialogs.md index 9f3fd365..44b8efc8 100644 --- a/old_docs/API_docs_v71/methods/messages.getDialogs.md +++ b/old_docs/API_docs_v71/methods/messages.getDialogs.md @@ -20,7 +20,7 @@ Returns the current user dialog list. |limit|[int](../types/int.md) | Number of list elements to be returned | Yes| -### Return type: [messages\_Dialogs](../types/messages_Dialogs.md) +### Return type: [messages.Dialogs](../types/messages.Dialogs.md) ### Can bots use this method: **NO** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Dialogs = $MadelineProto->messages->getDialogs(['exclude_pinned' => Bool, 'offset_date' => int, 'offset_id' => int, 'offset_peer' => InputPeer, 'limit' => int, ]); +$messages.Dialogs = $MadelineProto->messages->getDialogs(['exclude_pinned' => Bool, 'offset_date' => int, 'offset_id' => int, 'offset_peer' => InputPeer, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Dialogs = messages.getDialogs({exclude_pinned=Bool, offset_date=int, offset_id=int, offset_peer=InputPeer, limit=int, }) +messages.Dialogs = messages.getDialogs({exclude_pinned=Bool, offset_date=int, offset_id=int, offset_peer=InputPeer, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v71/methods/messages.getFavedStickers.md b/old_docs/API_docs_v71/methods/messages.getFavedStickers.md index 3ba077ef..19f64e43 100644 --- a/old_docs/API_docs_v71/methods/messages.getFavedStickers.md +++ b/old_docs/API_docs_v71/methods/messages.getFavedStickers.md @@ -16,7 +16,7 @@ Get faved stickers |hash|Array of [int](../types/int.md) | the hash parameter of the previous result of this method | Optional| -### Return type: [messages\_FavedStickers](../types/messages_FavedStickers.md) +### Return type: [messages.FavedStickers](../types/messages.FavedStickers.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_FavedStickers = $MadelineProto->messages->getFavedStickers(['hash' => [int, int], ]); +$messages.FavedStickers = $MadelineProto->messages->getFavedStickers(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_FavedStickers = messages.getFavedStickers({hash={int}, }) +messages.FavedStickers = messages.getFavedStickers({hash={int}, }) ``` diff --git a/old_docs/API_docs_v71/methods/messages.getFeaturedStickers.md b/old_docs/API_docs_v71/methods/messages.getFeaturedStickers.md index 8f2634c3..2d65d626 100644 --- a/old_docs/API_docs_v71/methods/messages.getFeaturedStickers.md +++ b/old_docs/API_docs_v71/methods/messages.getFeaturedStickers.md @@ -16,7 +16,7 @@ Get featured stickers |hash|Array of [int](../types/int.md) | the hash parameter of the previous result of this method | Optional| -### Return type: [messages\_FeaturedStickers](../types/messages_FeaturedStickers.md) +### Return type: [messages.FeaturedStickers](../types/messages.FeaturedStickers.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_FeaturedStickers = $MadelineProto->messages->getFeaturedStickers(['hash' => [int, int], ]); +$messages.FeaturedStickers = $MadelineProto->messages->getFeaturedStickers(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_FeaturedStickers = messages.getFeaturedStickers({hash={int}, }) +messages.FeaturedStickers = messages.getFeaturedStickers({hash={int}, }) ``` diff --git a/old_docs/API_docs_v71/methods/messages.getFullChat.md b/old_docs/API_docs_v71/methods/messages.getFullChat.md index abf23e21..de543651 100644 --- a/old_docs/API_docs_v71/methods/messages.getFullChat.md +++ b/old_docs/API_docs_v71/methods/messages.getFullChat.md @@ -16,7 +16,7 @@ You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo me |chat\_id|[Username, chat ID, Update, Message or InputPeer](../types/InputPeer.md) | You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo methods instead (see https://docs.madelineproto.xyz for more info) | Optional| -### Return type: [messages\_ChatFull](../types/messages_ChatFull.md) +### Return type: [messages.ChatFull](../types/messages.ChatFull.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_ChatFull = $MadelineProto->messages->getFullChat(['chat_id' => InputPeer, ]); +$messages.ChatFull = $MadelineProto->messages->getFullChat(['chat_id' => InputPeer, ]); ``` Or, if you're into Lua: ```lua -messages_ChatFull = messages.getFullChat({chat_id=InputPeer, }) +messages.ChatFull = messages.getFullChat({chat_id=InputPeer, }) ``` ### Errors diff --git a/old_docs/API_docs_v71/methods/messages.getGameHighScores.md b/old_docs/API_docs_v71/methods/messages.getGameHighScores.md index 0ee9d754..6e4dacb2 100644 --- a/old_docs/API_docs_v71/methods/messages.getGameHighScores.md +++ b/old_docs/API_docs_v71/methods/messages.getGameHighScores.md @@ -18,7 +18,7 @@ Get highscores of a game |user\_id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | Get high scores made by a certain user | Optional| -### Return type: [messages\_HighScores](../types/messages_HighScores.md) +### Return type: [messages.HighScores](../types/messages.HighScores.md) ### Can bots use this method: **YES** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_HighScores = $MadelineProto->messages->getGameHighScores(['peer' => InputPeer, 'id' => int, 'user_id' => InputUser, ]); +$messages.HighScores = $MadelineProto->messages->getGameHighScores(['peer' => InputPeer, 'id' => int, 'user_id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -messages_HighScores = messages.getGameHighScores({peer=InputPeer, id=int, user_id=InputUser, }) +messages.HighScores = messages.getGameHighScores({peer=InputPeer, id=int, user_id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v71/methods/messages.getHistory.md b/old_docs/API_docs_v71/methods/messages.getHistory.md index 636183d2..8e012da1 100644 --- a/old_docs/API_docs_v71/methods/messages.getHistory.md +++ b/old_docs/API_docs_v71/methods/messages.getHistory.md @@ -22,7 +22,7 @@ Gets back the conversation history with one interlocutor / within a chat |min\_id|[int](../types/int.md) | If a positive value was transferred, the method will return only messages with IDs more than **min\_id** | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **NO** @@ -39,13 +39,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->getHistory(['peer' => InputPeer, 'offset_id' => int, 'offset_date' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); +$messages.Messages = $MadelineProto->messages->getHistory(['peer' => InputPeer, 'offset_id' => int, 'offset_date' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.getHistory({peer=InputPeer, offset_id=int, offset_date=int, add_offset=int, limit=int, max_id=int, min_id=int, }) +messages.Messages = messages.getHistory({peer=InputPeer, offset_id=int, offset_date=int, add_offset=int, limit=int, max_id=int, min_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v71/methods/messages.getInlineBotResults.md b/old_docs/API_docs_v71/methods/messages.getInlineBotResults.md index ac251797..8a397236 100644 --- a/old_docs/API_docs_v71/methods/messages.getInlineBotResults.md +++ b/old_docs/API_docs_v71/methods/messages.getInlineBotResults.md @@ -20,7 +20,7 @@ Query an inline bot |offset|[string](../types/string.md) | The offset within the results, will be passed directly as-is to the bot. | Yes| -### Return type: [messages\_BotResults](../types/messages_BotResults.md) +### Return type: [messages.BotResults](../types/messages.BotResults.md) ### Can bots use this method: **NO** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_BotResults = $MadelineProto->messages->getInlineBotResults(['bot' => InputUser, 'peer' => InputPeer, 'geo_point' => InputGeoPoint, 'query' => 'string', 'offset' => 'string', ]); +$messages.BotResults = $MadelineProto->messages->getInlineBotResults(['bot' => InputUser, 'peer' => InputPeer, 'geo_point' => InputGeoPoint, 'query' => 'string', 'offset' => 'string', ]); ``` Or, if you're into Lua: ```lua -messages_BotResults = messages.getInlineBotResults({bot=InputUser, peer=InputPeer, geo_point=InputGeoPoint, query='string', offset='string', }) +messages.BotResults = messages.getInlineBotResults({bot=InputUser, peer=InputPeer, geo_point=InputGeoPoint, query='string', offset='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v71/methods/messages.getInlineGameHighScores.md b/old_docs/API_docs_v71/methods/messages.getInlineGameHighScores.md index 0d02b426..dbcb2cf6 100644 --- a/old_docs/API_docs_v71/methods/messages.getInlineGameHighScores.md +++ b/old_docs/API_docs_v71/methods/messages.getInlineGameHighScores.md @@ -17,7 +17,7 @@ Get highscores of a game sent using an inline bot |user\_id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | Get high scores of a certain user | Optional| -### Return type: [messages\_HighScores](../types/messages_HighScores.md) +### Return type: [messages.HighScores](../types/messages.HighScores.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_HighScores = $MadelineProto->messages->getInlineGameHighScores(['id' => InputBotInlineMessageID, 'user_id' => InputUser, ]); +$messages.HighScores = $MadelineProto->messages->getInlineGameHighScores(['id' => InputBotInlineMessageID, 'user_id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -messages_HighScores = messages.getInlineGameHighScores({id=InputBotInlineMessageID, user_id=InputUser, }) +messages.HighScores = messages.getInlineGameHighScores({id=InputBotInlineMessageID, user_id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v71/methods/messages.getMaskStickers.md b/old_docs/API_docs_v71/methods/messages.getMaskStickers.md index a09834e1..093645f6 100644 --- a/old_docs/API_docs_v71/methods/messages.getMaskStickers.md +++ b/old_docs/API_docs_v71/methods/messages.getMaskStickers.md @@ -16,7 +16,7 @@ Get installed mask stickers |hash|Array of [int](../types/int.md) | the hash parameter of the previous result of this method | Optional| -### Return type: [messages\_AllStickers](../types/messages_AllStickers.md) +### Return type: [messages.AllStickers](../types/messages.AllStickers.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AllStickers = $MadelineProto->messages->getMaskStickers(['hash' => [int, int], ]); +$messages.AllStickers = $MadelineProto->messages->getMaskStickers(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AllStickers = messages.getMaskStickers({hash={int}, }) +messages.AllStickers = messages.getMaskStickers({hash={int}, }) ``` diff --git a/old_docs/API_docs_v71/methods/messages.getMessageEditData.md b/old_docs/API_docs_v71/methods/messages.getMessageEditData.md index 1a083f08..7fd32e82 100644 --- a/old_docs/API_docs_v71/methods/messages.getMessageEditData.md +++ b/old_docs/API_docs_v71/methods/messages.getMessageEditData.md @@ -17,7 +17,7 @@ Find out if a media message's caption can be edited |id|[int](../types/int.md) | ID of message | Yes| -### Return type: [messages\_MessageEditData](../types/messages_MessageEditData.md) +### Return type: [messages.MessageEditData](../types/messages.MessageEditData.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_MessageEditData = $MadelineProto->messages->getMessageEditData(['peer' => InputPeer, 'id' => int, ]); +$messages.MessageEditData = $MadelineProto->messages->getMessageEditData(['peer' => InputPeer, 'id' => int, ]); ``` Or, if you're into Lua: ```lua -messages_MessageEditData = messages.getMessageEditData({peer=InputPeer, id=int, }) +messages.MessageEditData = messages.getMessageEditData({peer=InputPeer, id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v71/methods/messages.getMessages.md b/old_docs/API_docs_v71/methods/messages.getMessages.md index a3139513..c7760d7e 100644 --- a/old_docs/API_docs_v71/methods/messages.getMessages.md +++ b/old_docs/API_docs_v71/methods/messages.getMessages.md @@ -16,7 +16,7 @@ Returns the list of messages by their IDs. |id|Array of [int](../types/int.md) | The IDs of messages to fetch (only for users and normal groups) | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **YES** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->getMessages(['id' => [int, int], ]); +$messages.Messages = $MadelineProto->messages->getMessages(['id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.getMessages({id={int}, }) +messages.Messages = messages.getMessages({id={int}, }) ``` diff --git a/old_docs/API_docs_v71/methods/messages.getPeerDialogs.md b/old_docs/API_docs_v71/methods/messages.getPeerDialogs.md index a2c2714b..79bd7fa3 100644 --- a/old_docs/API_docs_v71/methods/messages.getPeerDialogs.md +++ b/old_docs/API_docs_v71/methods/messages.getPeerDialogs.md @@ -16,7 +16,7 @@ Get dialog info of specified peers |peers|Array of [Username, chat ID, Update, Message or InputPeer](../types/InputPeer.md) | The peers | Yes| -### Return type: [messages\_PeerDialogs](../types/messages_PeerDialogs.md) +### Return type: [messages.PeerDialogs](../types/messages.PeerDialogs.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_PeerDialogs = $MadelineProto->messages->getPeerDialogs(['peers' => [InputPeer, InputPeer], ]); +$messages.PeerDialogs = $MadelineProto->messages->getPeerDialogs(['peers' => [InputPeer, InputPeer], ]); ``` Or, if you're into Lua: ```lua -messages_PeerDialogs = messages.getPeerDialogs({peers={InputPeer}, }) +messages.PeerDialogs = messages.getPeerDialogs({peers={InputPeer}, }) ``` ### Errors diff --git a/old_docs/API_docs_v71/methods/messages.getPinnedDialogs.md b/old_docs/API_docs_v71/methods/messages.getPinnedDialogs.md index f106098d..161075f2 100644 --- a/old_docs/API_docs_v71/methods/messages.getPinnedDialogs.md +++ b/old_docs/API_docs_v71/methods/messages.getPinnedDialogs.md @@ -11,7 +11,7 @@ Get pinned dialogs -### Return type: [messages\_PeerDialogs](../types/messages_PeerDialogs.md) +### Return type: [messages.PeerDialogs](../types/messages.PeerDialogs.md) ### Can bots use this method: **NO** @@ -28,13 +28,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_PeerDialogs = $MadelineProto->messages->getPinnedDialogs(); +$messages.PeerDialogs = $MadelineProto->messages->getPinnedDialogs(); ``` Or, if you're into Lua: ```lua -messages_PeerDialogs = messages.getPinnedDialogs({}) +messages.PeerDialogs = messages.getPinnedDialogs({}) ``` ### Errors diff --git a/old_docs/API_docs_v71/methods/messages.getRecentStickers.md b/old_docs/API_docs_v71/methods/messages.getRecentStickers.md index 28a70889..39cef16a 100644 --- a/old_docs/API_docs_v71/methods/messages.getRecentStickers.md +++ b/old_docs/API_docs_v71/methods/messages.getRecentStickers.md @@ -17,7 +17,7 @@ Get recent stickers |hash|Array of [int](../types/int.md) | IDs the hash parameter of the previous result of this method | Optional| -### Return type: [messages\_RecentStickers](../types/messages_RecentStickers.md) +### Return type: [messages.RecentStickers](../types/messages.RecentStickers.md) ### Can bots use this method: **NO** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_RecentStickers = $MadelineProto->messages->getRecentStickers(['attached' => Bool, 'hash' => [int, int], ]); +$messages.RecentStickers = $MadelineProto->messages->getRecentStickers(['attached' => Bool, 'hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_RecentStickers = messages.getRecentStickers({attached=Bool, hash={int}, }) +messages.RecentStickers = messages.getRecentStickers({attached=Bool, hash={int}, }) ``` diff --git a/old_docs/API_docs_v71/methods/messages.getSavedGifs.md b/old_docs/API_docs_v71/methods/messages.getSavedGifs.md index 1df7f37c..8b31f7b8 100644 --- a/old_docs/API_docs_v71/methods/messages.getSavedGifs.md +++ b/old_docs/API_docs_v71/methods/messages.getSavedGifs.md @@ -16,7 +16,7 @@ Get saved GIFs |hash|Array of [int](../types/int.md) | the hash parameter of the previous result of this method | Optional| -### Return type: [messages\_SavedGifs](../types/messages_SavedGifs.md) +### Return type: [messages.SavedGifs](../types/messages.SavedGifs.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_SavedGifs = $MadelineProto->messages->getSavedGifs(['hash' => [int, int], ]); +$messages.SavedGifs = $MadelineProto->messages->getSavedGifs(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_SavedGifs = messages.getSavedGifs({hash={int}, }) +messages.SavedGifs = messages.getSavedGifs({hash={int}, }) ``` diff --git a/old_docs/API_docs_v71/methods/messages.getStickerSet.md b/old_docs/API_docs_v71/methods/messages.getStickerSet.md index 45fca60f..f11887ee 100644 --- a/old_docs/API_docs_v71/methods/messages.getStickerSet.md +++ b/old_docs/API_docs_v71/methods/messages.getStickerSet.md @@ -16,7 +16,7 @@ Get info about a stickerset |stickerset|[InputStickerSet](../types/InputStickerSet.md) | Stickerset | Optional| -### Return type: [messages\_StickerSet](../types/messages_StickerSet.md) +### Return type: [messages.StickerSet](../types/messages.StickerSet.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StickerSet = $MadelineProto->messages->getStickerSet(['stickerset' => InputStickerSet, ]); +$messages.StickerSet = $MadelineProto->messages->getStickerSet(['stickerset' => InputStickerSet, ]); ``` Or, if you're into Lua: ```lua -messages_StickerSet = messages.getStickerSet({stickerset=InputStickerSet, }) +messages.StickerSet = messages.getStickerSet({stickerset=InputStickerSet, }) ``` ### Errors diff --git a/old_docs/API_docs_v71/methods/messages.getUnreadMentions.md b/old_docs/API_docs_v71/methods/messages.getUnreadMentions.md index 33bba261..679ed841 100644 --- a/old_docs/API_docs_v71/methods/messages.getUnreadMentions.md +++ b/old_docs/API_docs_v71/methods/messages.getUnreadMentions.md @@ -21,7 +21,7 @@ Get unread messages where we were mentioned |min\_id|[int](../types/int.md) | Minimum message ID to return, [see pagination](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **NO** @@ -38,13 +38,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->getUnreadMentions(['peer' => InputPeer, 'offset_id' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); +$messages.Messages = $MadelineProto->messages->getUnreadMentions(['peer' => InputPeer, 'offset_id' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.getUnreadMentions({peer=InputPeer, offset_id=int, add_offset=int, limit=int, max_id=int, min_id=int, }) +messages.Messages = messages.getUnreadMentions({peer=InputPeer, offset_id=int, add_offset=int, limit=int, max_id=int, min_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v71/methods/messages.installStickerSet.md b/old_docs/API_docs_v71/methods/messages.installStickerSet.md index 1a95ca0b..83ce2121 100644 --- a/old_docs/API_docs_v71/methods/messages.installStickerSet.md +++ b/old_docs/API_docs_v71/methods/messages.installStickerSet.md @@ -17,7 +17,7 @@ Install a stickerset |archived|[Bool](../types/Bool.md) | Whether to archive stickerset | Yes| -### Return type: [messages\_StickerSetInstallResult](../types/messages_StickerSetInstallResult.md) +### Return type: [messages.StickerSetInstallResult](../types/messages.StickerSetInstallResult.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StickerSetInstallResult = $MadelineProto->messages->installStickerSet(['stickerset' => InputStickerSet, 'archived' => Bool, ]); +$messages.StickerSetInstallResult = $MadelineProto->messages->installStickerSet(['stickerset' => InputStickerSet, 'archived' => Bool, ]); ``` Or, if you're into Lua: ```lua -messages_StickerSetInstallResult = messages.installStickerSet({stickerset=InputStickerSet, archived=Bool, }) +messages.StickerSetInstallResult = messages.installStickerSet({stickerset=InputStickerSet, archived=Bool, }) ``` ### Errors diff --git a/old_docs/API_docs_v71/methods/messages.readHistory.md b/old_docs/API_docs_v71/methods/messages.readHistory.md index 39753375..52030c68 100644 --- a/old_docs/API_docs_v71/methods/messages.readHistory.md +++ b/old_docs/API_docs_v71/methods/messages.readHistory.md @@ -17,7 +17,7 @@ Marks message history as read. |max\_id|[int](../types/int.md) | If a positive value is passed, only messages with identifiers less or equal than the given one will be read | Yes| -### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) +### Return type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedMessages = $MadelineProto->messages->readHistory(['peer' => InputPeer, 'max_id' => int, ]); +$messages.AffectedMessages = $MadelineProto->messages->readHistory(['peer' => InputPeer, 'max_id' => int, ]); ``` Or, if you're into Lua: ```lua -messages_AffectedMessages = messages.readHistory({peer=InputPeer, max_id=int, }) +messages.AffectedMessages = messages.readHistory({peer=InputPeer, max_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v71/methods/messages.readMessageContents.md b/old_docs/API_docs_v71/methods/messages.readMessageContents.md index c479cafe..9798e661 100644 --- a/old_docs/API_docs_v71/methods/messages.readMessageContents.md +++ b/old_docs/API_docs_v71/methods/messages.readMessageContents.md @@ -16,7 +16,7 @@ Notifies the sender about the recipient having listened a voice message or watch |id|Array of [int](../types/int.md) | The messages to mark as read (only users and normal chats, not supergroups) | Yes| -### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) +### Return type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedMessages = $MadelineProto->messages->readMessageContents(['id' => [int, int], ]); +$messages.AffectedMessages = $MadelineProto->messages->readMessageContents(['id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AffectedMessages = messages.readMessageContents({id={int}, }) +messages.AffectedMessages = messages.readMessageContents({id={int}, }) ``` diff --git a/old_docs/API_docs_v71/methods/messages.search.md b/old_docs/API_docs_v71/methods/messages.search.md index 264b9f7e..72c22a4e 100644 --- a/old_docs/API_docs_v71/methods/messages.search.md +++ b/old_docs/API_docs_v71/methods/messages.search.md @@ -26,7 +26,7 @@ Gets back found messages |min\_id|[int](../types/int.md) | [Minimum message ID to return](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **NO** @@ -43,13 +43,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->search(['peer' => InputPeer, 'q' => 'string', 'from_id' => InputUser, 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset_id' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); +$messages.Messages = $MadelineProto->messages->search(['peer' => InputPeer, 'q' => 'string', 'from_id' => InputUser, 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset_id' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.search({peer=InputPeer, q='string', from_id=InputUser, filter=MessagesFilter, min_date=int, max_date=int, offset_id=int, add_offset=int, limit=int, max_id=int, min_id=int, }) +messages.Messages = messages.search({peer=InputPeer, q='string', from_id=InputUser, filter=MessagesFilter, min_date=int, max_date=int, offset_id=int, add_offset=int, limit=int, max_id=int, min_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v71/methods/messages.searchGifs.md b/old_docs/API_docs_v71/methods/messages.searchGifs.md index 851371d7..193a0cd4 100644 --- a/old_docs/API_docs_v71/methods/messages.searchGifs.md +++ b/old_docs/API_docs_v71/methods/messages.searchGifs.md @@ -17,7 +17,7 @@ Search for GIFs |offset|[int](../types/int.md) | Offset for [pagination »](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_FoundGifs](../types/messages_FoundGifs.md) +### Return type: [messages.FoundGifs](../types/messages.FoundGifs.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_FoundGifs = $MadelineProto->messages->searchGifs(['q' => 'string', 'offset' => int, ]); +$messages.FoundGifs = $MadelineProto->messages->searchGifs(['q' => 'string', 'offset' => int, ]); ``` Or, if you're into Lua: ```lua -messages_FoundGifs = messages.searchGifs({q='string', offset=int, }) +messages.FoundGifs = messages.searchGifs({q='string', offset=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v71/methods/messages.searchGlobal.md b/old_docs/API_docs_v71/methods/messages.searchGlobal.md index 4bd59f25..1a3b736d 100644 --- a/old_docs/API_docs_v71/methods/messages.searchGlobal.md +++ b/old_docs/API_docs_v71/methods/messages.searchGlobal.md @@ -20,7 +20,7 @@ Search for messages and peers globally |limit|[int](../types/int.md) | [Offsets for pagination, for more info click here](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **NO** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->searchGlobal(['q' => 'string', 'offset_date' => int, 'offset_peer' => InputPeer, 'offset_id' => int, 'limit' => int, ]); +$messages.Messages = $MadelineProto->messages->searchGlobal(['q' => 'string', 'offset_date' => int, 'offset_peer' => InputPeer, 'offset_id' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.searchGlobal({q='string', offset_date=int, offset_peer=InputPeer, offset_id=int, limit=int, }) +messages.Messages = messages.searchGlobal({q='string', offset_date=int, offset_peer=InputPeer, offset_id=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v71/methods/messages.sendEncrypted.md b/old_docs/API_docs_v71/methods/messages.sendEncrypted.md index 47b5ef29..6a68b563 100644 --- a/old_docs/API_docs_v71/methods/messages.sendEncrypted.md +++ b/old_docs/API_docs_v71/methods/messages.sendEncrypted.md @@ -14,10 +14,10 @@ Sends a text message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|message|[DecryptedMessage](../types/DecryptedMessage.md) | The message to send | Yes| +|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key that was created during chat initialization | Yes| -### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ### Can bots use this method: **NO** @@ -34,21 +34,15 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncrypted(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); +$messages.SentEncryptedMessage = $MadelineProto->messages->sendEncrypted(['peer' => InputEncryptedChat, 'data' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -messages_SentEncryptedMessage = messages.sendEncrypted({peer=InputEncryptedChat, message=DecryptedMessage, }) +messages.SentEncryptedMessage = messages.sendEncrypted({peer=InputEncryptedChat, data='bytes', }) ``` - -## Return value - -If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) will be returned instead. - - ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v71/methods/messages.sendEncryptedFile.md b/old_docs/API_docs_v71/methods/messages.sendEncryptedFile.md index 4e0f7b7f..87185ba4 100644 --- a/old_docs/API_docs_v71/methods/messages.sendEncryptedFile.md +++ b/old_docs/API_docs_v71/methods/messages.sendEncryptedFile.md @@ -14,11 +14,11 @@ Sends a message with a file attachment to a secret chat | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|message|[DecryptedMessage](../types/DecryptedMessage.md) | The message with the file | Yes| +|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| |file|[File path or InputEncryptedFile](../types/InputEncryptedFile.md) | File attachment for the secret chat | Optional| -### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ### Can bots use this method: **NO** @@ -35,21 +35,15 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedFile(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, 'file' => InputEncryptedFile, ]); +$messages.SentEncryptedMessage = $MadelineProto->messages->sendEncryptedFile(['peer' => InputEncryptedChat, 'data' => 'bytes', 'file' => InputEncryptedFile, ]); ``` Or, if you're into Lua: ```lua -messages_SentEncryptedMessage = messages.sendEncryptedFile({peer=InputEncryptedChat, message=DecryptedMessage, file=InputEncryptedFile, }) +messages.SentEncryptedMessage = messages.sendEncryptedFile({peer=InputEncryptedChat, data='bytes', file=InputEncryptedFile, }) ``` - -## Return value - -If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) will be returned instead. - - ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v71/methods/messages.sendEncryptedService.md b/old_docs/API_docs_v71/methods/messages.sendEncryptedService.md index 86925ae3..38171272 100644 --- a/old_docs/API_docs_v71/methods/messages.sendEncryptedService.md +++ b/old_docs/API_docs_v71/methods/messages.sendEncryptedService.md @@ -14,10 +14,10 @@ Sends a service message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|message|[DecryptedMessage](../types/DecryptedMessage.md) | The service message | Yes| +|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| -### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ### Can bots use this method: **NO** @@ -34,21 +34,15 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedService(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); +$messages.SentEncryptedMessage = $MadelineProto->messages->sendEncryptedService(['peer' => InputEncryptedChat, 'data' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -messages_SentEncryptedMessage = messages.sendEncryptedService({peer=InputEncryptedChat, message=DecryptedMessage, }) +messages.SentEncryptedMessage = messages.sendEncryptedService({peer=InputEncryptedChat, data='bytes', }) ``` - -## Return value - -If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) will be returned instead. - - ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v71/methods/payments.getPaymentForm.md b/old_docs/API_docs_v71/methods/payments.getPaymentForm.md index 3a171a05..da173f14 100644 --- a/old_docs/API_docs_v71/methods/payments.getPaymentForm.md +++ b/old_docs/API_docs_v71/methods/payments.getPaymentForm.md @@ -16,7 +16,7 @@ Get a payment form |msg\_id|[int](../types/int.md) | Message ID of payment form | Yes| -### Return type: [payments\_PaymentForm](../types/payments_PaymentForm.md) +### Return type: [payments.PaymentForm](../types/payments.PaymentForm.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$payments_PaymentForm = $MadelineProto->payments->getPaymentForm(['msg_id' => int, ]); +$payments.PaymentForm = $MadelineProto->payments->getPaymentForm(['msg_id' => int, ]); ``` Or, if you're into Lua: ```lua -payments_PaymentForm = payments.getPaymentForm({msg_id=int, }) +payments.PaymentForm = payments.getPaymentForm({msg_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v71/methods/payments.getPaymentReceipt.md b/old_docs/API_docs_v71/methods/payments.getPaymentReceipt.md index 46d2267c..16e41367 100644 --- a/old_docs/API_docs_v71/methods/payments.getPaymentReceipt.md +++ b/old_docs/API_docs_v71/methods/payments.getPaymentReceipt.md @@ -16,7 +16,7 @@ Get payment receipt |msg\_id|[int](../types/int.md) | Message ID of receipt | Yes| -### Return type: [payments\_PaymentReceipt](../types/payments_PaymentReceipt.md) +### Return type: [payments.PaymentReceipt](../types/payments.PaymentReceipt.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$payments_PaymentReceipt = $MadelineProto->payments->getPaymentReceipt(['msg_id' => int, ]); +$payments.PaymentReceipt = $MadelineProto->payments->getPaymentReceipt(['msg_id' => int, ]); ``` Or, if you're into Lua: ```lua -payments_PaymentReceipt = payments.getPaymentReceipt({msg_id=int, }) +payments.PaymentReceipt = payments.getPaymentReceipt({msg_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v71/methods/payments.getSavedInfo.md b/old_docs/API_docs_v71/methods/payments.getSavedInfo.md index dc9c9b98..fe2c16ec 100644 --- a/old_docs/API_docs_v71/methods/payments.getSavedInfo.md +++ b/old_docs/API_docs_v71/methods/payments.getSavedInfo.md @@ -11,7 +11,7 @@ Get saved payment information -### Return type: [payments\_SavedInfo](../types/payments_SavedInfo.md) +### Return type: [payments.SavedInfo](../types/payments.SavedInfo.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$payments_SavedInfo = $MadelineProto->payments->getSavedInfo(); +$payments.SavedInfo = $MadelineProto->payments->getSavedInfo(); ``` Or, if you're into Lua: ```lua -payments_SavedInfo = payments.getSavedInfo({}) +payments.SavedInfo = payments.getSavedInfo({}) ``` diff --git a/old_docs/API_docs_v71/methods/payments.sendPaymentForm.md b/old_docs/API_docs_v71/methods/payments.sendPaymentForm.md index 8c478b92..de154e7f 100644 --- a/old_docs/API_docs_v71/methods/payments.sendPaymentForm.md +++ b/old_docs/API_docs_v71/methods/payments.sendPaymentForm.md @@ -19,7 +19,7 @@ Send compiled payment form |credentials|[InputPaymentCredentials](../types/InputPaymentCredentials.md) | Payment credentials | Yes| -### Return type: [payments\_PaymentResult](../types/payments_PaymentResult.md) +### Return type: [payments.PaymentResult](../types/payments.PaymentResult.md) ### Can bots use this method: **NO** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$payments_PaymentResult = $MadelineProto->payments->sendPaymentForm(['msg_id' => int, 'requested_info_id' => 'string', 'shipping_option_id' => 'string', 'credentials' => InputPaymentCredentials, ]); +$payments.PaymentResult = $MadelineProto->payments->sendPaymentForm(['msg_id' => int, 'requested_info_id' => 'string', 'shipping_option_id' => 'string', 'credentials' => InputPaymentCredentials, ]); ``` Or, if you're into Lua: ```lua -payments_PaymentResult = payments.sendPaymentForm({msg_id=int, requested_info_id='string', shipping_option_id='string', credentials=InputPaymentCredentials, }) +payments.PaymentResult = payments.sendPaymentForm({msg_id=int, requested_info_id='string', shipping_option_id='string', credentials=InputPaymentCredentials, }) ``` ### Errors diff --git a/old_docs/API_docs_v71/methods/payments.validateRequestedInfo.md b/old_docs/API_docs_v71/methods/payments.validateRequestedInfo.md index d6364a02..ce22cfe8 100644 --- a/old_docs/API_docs_v71/methods/payments.validateRequestedInfo.md +++ b/old_docs/API_docs_v71/methods/payments.validateRequestedInfo.md @@ -18,7 +18,7 @@ Submit requested order information for validation |info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Requested order information | Yes| -### Return type: [payments\_ValidatedRequestedInfo](../types/payments_ValidatedRequestedInfo.md) +### Return type: [payments.ValidatedRequestedInfo](../types/payments.ValidatedRequestedInfo.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$payments_ValidatedRequestedInfo = $MadelineProto->payments->validateRequestedInfo(['save' => Bool, 'msg_id' => int, 'info' => PaymentRequestedInfo, ]); +$payments.ValidatedRequestedInfo = $MadelineProto->payments->validateRequestedInfo(['save' => Bool, 'msg_id' => int, 'info' => PaymentRequestedInfo, ]); ``` Or, if you're into Lua: ```lua -payments_ValidatedRequestedInfo = payments.validateRequestedInfo({save=Bool, msg_id=int, info=PaymentRequestedInfo, }) +payments.ValidatedRequestedInfo = payments.validateRequestedInfo({save=Bool, msg_id=int, info=PaymentRequestedInfo, }) ``` ### Errors diff --git a/old_docs/API_docs_v71/methods/phone.acceptCall.md b/old_docs/API_docs_v71/methods/phone.acceptCall.md index f5c58f01..6b9185aa 100644 --- a/old_docs/API_docs_v71/methods/phone.acceptCall.md +++ b/old_docs/API_docs_v71/methods/phone.acceptCall.md @@ -18,7 +18,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz#calls fo |protocol|[PhoneCallProtocol](../types/PhoneCallProtocol.md) | You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls | Yes| -### Return type: [phone\_PhoneCall](../types/phone_PhoneCall.md) +### Return type: [phone.PhoneCall](../types/phone.PhoneCall.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$phone_PhoneCall = $MadelineProto->phone->acceptCall(['peer' => InputPhoneCall, 'g_b' => 'bytes', 'protocol' => PhoneCallProtocol, ]); +$phone.PhoneCall = $MadelineProto->phone->acceptCall(['peer' => InputPhoneCall, 'g_b' => 'bytes', 'protocol' => PhoneCallProtocol, ]); ``` Or, if you're into Lua: ```lua -phone_PhoneCall = phone.acceptCall({peer=InputPhoneCall, g_b='bytes', protocol=PhoneCallProtocol, }) +phone.PhoneCall = phone.acceptCall({peer=InputPhoneCall, g_b='bytes', protocol=PhoneCallProtocol, }) ``` ### Errors diff --git a/old_docs/API_docs_v71/methods/phone.confirmCall.md b/old_docs/API_docs_v71/methods/phone.confirmCall.md index 468307cc..a52d1f9c 100644 --- a/old_docs/API_docs_v71/methods/phone.confirmCall.md +++ b/old_docs/API_docs_v71/methods/phone.confirmCall.md @@ -19,7 +19,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz#calls fo |protocol|[PhoneCallProtocol](../types/PhoneCallProtocol.md) | You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls | Yes| -### Return type: [phone\_PhoneCall](../types/phone_PhoneCall.md) +### Return type: [phone.PhoneCall](../types/phone.PhoneCall.md) ### Can bots use this method: **NO** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$phone_PhoneCall = $MadelineProto->phone->confirmCall(['peer' => InputPhoneCall, 'g_a' => 'bytes', 'key_fingerprint' => long, 'protocol' => PhoneCallProtocol, ]); +$phone.PhoneCall = $MadelineProto->phone->confirmCall(['peer' => InputPhoneCall, 'g_a' => 'bytes', 'key_fingerprint' => long, 'protocol' => PhoneCallProtocol, ]); ``` Or, if you're into Lua: ```lua -phone_PhoneCall = phone.confirmCall({peer=InputPhoneCall, g_a='bytes', key_fingerprint=long, protocol=PhoneCallProtocol, }) +phone.PhoneCall = phone.confirmCall({peer=InputPhoneCall, g_a='bytes', key_fingerprint=long, protocol=PhoneCallProtocol, }) ``` ### Errors diff --git a/old_docs/API_docs_v71/methods/phone.requestCall.md b/old_docs/API_docs_v71/methods/phone.requestCall.md index c8e828f2..37e847a7 100644 --- a/old_docs/API_docs_v71/methods/phone.requestCall.md +++ b/old_docs/API_docs_v71/methods/phone.requestCall.md @@ -18,7 +18,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz#calls fo |protocol|[PhoneCallProtocol](../types/PhoneCallProtocol.md) | You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls | Yes| -### Return type: [phone\_PhoneCall](../types/phone_PhoneCall.md) +### Return type: [phone.PhoneCall](../types/phone.PhoneCall.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$phone_PhoneCall = $MadelineProto->phone->requestCall(['user_id' => InputUser, 'g_a_hash' => 'bytes', 'protocol' => PhoneCallProtocol, ]); +$phone.PhoneCall = $MadelineProto->phone->requestCall(['user_id' => InputUser, 'g_a_hash' => 'bytes', 'protocol' => PhoneCallProtocol, ]); ``` Or, if you're into Lua: ```lua -phone_PhoneCall = phone.requestCall({user_id=InputUser, g_a_hash='bytes', protocol=PhoneCallProtocol, }) +phone.PhoneCall = phone.requestCall({user_id=InputUser, g_a_hash='bytes', protocol=PhoneCallProtocol, }) ``` ### Errors diff --git a/old_docs/API_docs_v71/methods/photos.getUserPhotos.md b/old_docs/API_docs_v71/methods/photos.getUserPhotos.md index a1dec2ed..1f8d5c64 100644 --- a/old_docs/API_docs_v71/methods/photos.getUserPhotos.md +++ b/old_docs/API_docs_v71/methods/photos.getUserPhotos.md @@ -19,7 +19,7 @@ Returns the list of user photos. |limit|[int](../types/int.md) | Number of list elements to be returned | Yes| -### Return type: [photos\_Photos](../types/photos_Photos.md) +### Return type: [photos.Photos](../types/photos.Photos.md) ### Can bots use this method: **YES** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$photos_Photos = $MadelineProto->photos->getUserPhotos(['user_id' => InputUser, 'offset' => int, 'max_id' => long, 'limit' => int, ]); +$photos.Photos = $MadelineProto->photos->getUserPhotos(['user_id' => InputUser, 'offset' => int, 'max_id' => long, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -photos_Photos = photos.getUserPhotos({user_id=InputUser, offset=int, max_id=long, limit=int, }) +photos.Photos = photos.getUserPhotos({user_id=InputUser, offset=int, max_id=long, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v71/methods/photos.uploadProfilePhoto.md b/old_docs/API_docs_v71/methods/photos.uploadProfilePhoto.md index b6a01ee7..4de76a24 100644 --- a/old_docs/API_docs_v71/methods/photos.uploadProfilePhoto.md +++ b/old_docs/API_docs_v71/methods/photos.uploadProfilePhoto.md @@ -16,7 +16,7 @@ Updates current user profile photo. |file|[File path or InputFile](../types/InputFile.md) | File saved in parts by means of [upload.saveFilePart](../methods/upload.saveFilePart.md) method | Yes| -### Return type: [photos\_Photo](../types/photos_Photo.md) +### Return type: [photos.Photo](../types/photos.Photo.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$photos_Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, ]); +$photos.Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, ]); ``` Or, if you're into Lua: ```lua -photos_Photo = photos.uploadProfilePhoto({file=InputFile, }) +photos.Photo = photos.uploadProfilePhoto({file=InputFile, }) ``` ### Errors diff --git a/old_docs/API_docs_v71/methods/stickers.addStickerToSet.md b/old_docs/API_docs_v71/methods/stickers.addStickerToSet.md index 727d3f27..e8392355 100644 --- a/old_docs/API_docs_v71/methods/stickers.addStickerToSet.md +++ b/old_docs/API_docs_v71/methods/stickers.addStickerToSet.md @@ -17,7 +17,7 @@ Add a sticker to a stickerset, bots only. The sticker set must have been created |sticker|[InputStickerSetItem](../types/InputStickerSetItem.md) | The sticker | Yes| -### Return type: [messages\_StickerSet](../types/messages_StickerSet.md) +### Return type: [messages.StickerSet](../types/messages.StickerSet.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StickerSet = $MadelineProto->stickers->addStickerToSet(['stickerset' => InputStickerSet, 'sticker' => InputStickerSetItem, ]); +$messages.StickerSet = $MadelineProto->stickers->addStickerToSet(['stickerset' => InputStickerSet, 'sticker' => InputStickerSetItem, ]); ``` Or, if you're into Lua: ```lua -messages_StickerSet = stickers.addStickerToSet({stickerset=InputStickerSet, sticker=InputStickerSetItem, }) +messages.StickerSet = stickers.addStickerToSet({stickerset=InputStickerSet, sticker=InputStickerSetItem, }) ``` ### Errors diff --git a/old_docs/API_docs_v71/methods/stickers.changeStickerPosition.md b/old_docs/API_docs_v71/methods/stickers.changeStickerPosition.md index ed390f21..e1d8ab5e 100644 --- a/old_docs/API_docs_v71/methods/stickers.changeStickerPosition.md +++ b/old_docs/API_docs_v71/methods/stickers.changeStickerPosition.md @@ -17,7 +17,7 @@ Changes the absolute position of a sticker in the set to which it belongs; for b |position|[int](../types/int.md) | The new position of the sticker, zero-based | Yes| -### Return type: [messages\_StickerSet](../types/messages_StickerSet.md) +### Return type: [messages.StickerSet](../types/messages.StickerSet.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StickerSet = $MadelineProto->stickers->changeStickerPosition(['sticker' => InputDocument, 'position' => int, ]); +$messages.StickerSet = $MadelineProto->stickers->changeStickerPosition(['sticker' => InputDocument, 'position' => int, ]); ``` Or, if you're into Lua: ```lua -messages_StickerSet = stickers.changeStickerPosition({sticker=InputDocument, position=int, }) +messages.StickerSet = stickers.changeStickerPosition({sticker=InputDocument, position=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v71/methods/stickers.createStickerSet.md b/old_docs/API_docs_v71/methods/stickers.createStickerSet.md index 5a6ef396..7eeeb48f 100644 --- a/old_docs/API_docs_v71/methods/stickers.createStickerSet.md +++ b/old_docs/API_docs_v71/methods/stickers.createStickerSet.md @@ -20,7 +20,7 @@ Create a stickerset, bots only. |stickers|Array of [InputStickerSetItem](../types/InputStickerSetItem.md) | The stickers to add | Yes| -### Return type: [messages\_StickerSet](../types/messages_StickerSet.md) +### Return type: [messages.StickerSet](../types/messages.StickerSet.md) ### Can bots use this method: **YES** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StickerSet = $MadelineProto->stickers->createStickerSet(['masks' => Bool, 'user_id' => InputUser, 'title' => 'string', 'short_name' => 'string', 'stickers' => [InputStickerSetItem, InputStickerSetItem], ]); +$messages.StickerSet = $MadelineProto->stickers->createStickerSet(['masks' => Bool, 'user_id' => InputUser, 'title' => 'string', 'short_name' => 'string', 'stickers' => [InputStickerSetItem, InputStickerSetItem], ]); ``` Or, if you're into Lua: ```lua -messages_StickerSet = stickers.createStickerSet({masks=Bool, user_id=InputUser, title='string', short_name='string', stickers={InputStickerSetItem}, }) +messages.StickerSet = stickers.createStickerSet({masks=Bool, user_id=InputUser, title='string', short_name='string', stickers={InputStickerSetItem}, }) ``` ### Errors diff --git a/old_docs/API_docs_v71/methods/stickers.removeStickerFromSet.md b/old_docs/API_docs_v71/methods/stickers.removeStickerFromSet.md index 33f677b3..aa4927ca 100644 --- a/old_docs/API_docs_v71/methods/stickers.removeStickerFromSet.md +++ b/old_docs/API_docs_v71/methods/stickers.removeStickerFromSet.md @@ -16,7 +16,7 @@ Remove a sticker from the set where it belongs, bots only. The sticker set must |sticker|[MessageMedia, Update, Message or InputDocument](../types/InputDocument.md) | The sticker to remove | Optional| -### Return type: [messages\_StickerSet](../types/messages_StickerSet.md) +### Return type: [messages.StickerSet](../types/messages.StickerSet.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StickerSet = $MadelineProto->stickers->removeStickerFromSet(['sticker' => InputDocument, ]); +$messages.StickerSet = $MadelineProto->stickers->removeStickerFromSet(['sticker' => InputDocument, ]); ``` Or, if you're into Lua: ```lua -messages_StickerSet = stickers.removeStickerFromSet({sticker=InputDocument, }) +messages.StickerSet = stickers.removeStickerFromSet({sticker=InputDocument, }) ``` ### Errors diff --git a/old_docs/API_docs_v71/methods/updates.getChannelDifference.md b/old_docs/API_docs_v71/methods/updates.getChannelDifference.md index 5675cd33..08df3395 100644 --- a/old_docs/API_docs_v71/methods/updates.getChannelDifference.md +++ b/old_docs/API_docs_v71/methods/updates.getChannelDifference.md @@ -20,7 +20,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz for more |limit|[int](../types/int.md) | You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates | Yes| -### Return type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) +### Return type: [updates.ChannelDifference](../types/updates.ChannelDifference.md) ### Can bots use this method: **YES** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$updates_ChannelDifference = $MadelineProto->updates->getChannelDifference(['force' => Bool, 'channel' => InputChannel, 'filter' => ChannelMessagesFilter, 'pts' => int, 'limit' => int, ]); +$updates.ChannelDifference = $MadelineProto->updates->getChannelDifference(['force' => Bool, 'channel' => InputChannel, 'filter' => ChannelMessagesFilter, 'pts' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -updates_ChannelDifference = updates.getChannelDifference({force=Bool, channel=InputChannel, filter=ChannelMessagesFilter, pts=int, limit=int, }) +updates.ChannelDifference = updates.getChannelDifference({force=Bool, channel=InputChannel, filter=ChannelMessagesFilter, pts=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v71/methods/updates.getDifference.md b/old_docs/API_docs_v71/methods/updates.getDifference.md index bcfac4e2..b3796a10 100644 --- a/old_docs/API_docs_v71/methods/updates.getDifference.md +++ b/old_docs/API_docs_v71/methods/updates.getDifference.md @@ -19,7 +19,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz for more |qts|[int](../types/int.md) | You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates | Yes| -### Return type: [updates\_Difference](../types/updates_Difference.md) +### Return type: [updates.Difference](../types/updates.Difference.md) ### Can bots use this method: **YES** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$updates_Difference = $MadelineProto->updates->getDifference(['pts' => int, 'pts_total_limit' => int, 'date' => int, 'qts' => int, ]); +$updates.Difference = $MadelineProto->updates->getDifference(['pts' => int, 'pts_total_limit' => int, 'date' => int, 'qts' => int, ]); ``` Or, if you're into Lua: ```lua -updates_Difference = updates.getDifference({pts=int, pts_total_limit=int, date=int, qts=int, }) +updates.Difference = updates.getDifference({pts=int, pts_total_limit=int, date=int, qts=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v71/methods/updates.getState.md b/old_docs/API_docs_v71/methods/updates.getState.md index c591408a..9a7d2f34 100644 --- a/old_docs/API_docs_v71/methods/updates.getState.md +++ b/old_docs/API_docs_v71/methods/updates.getState.md @@ -11,7 +11,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz for more -### Return type: [updates\_State](../types/updates_State.md) +### Return type: [updates.State](../types/updates.State.md) ### Can bots use this method: **YES** @@ -28,13 +28,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$updates_State = $MadelineProto->updates->getState(); +$updates.State = $MadelineProto->updates->getState(); ``` Or, if you're into Lua: ```lua -updates_State = updates.getState({}) +updates.State = updates.getState({}) ``` ### Errors diff --git a/old_docs/API_docs_v71/methods/upload.getCdnFile.md b/old_docs/API_docs_v71/methods/upload.getCdnFile.md index a3c928b2..67b2e84e 100644 --- a/old_docs/API_docs_v71/methods/upload.getCdnFile.md +++ b/old_docs/API_docs_v71/methods/upload.getCdnFile.md @@ -18,7 +18,7 @@ You cannot use this method directly, use the upload, downloadToStream, downloadT |limit|[int](../types/int.md) | You cannot use this method directly, use the upload, downloadToStream, downloadToFile, downloadToDir methods instead; see https://docs.madelineproto.xyz for more info | Yes| -### Return type: [upload\_CdnFile](../types/upload_CdnFile.md) +### Return type: [upload.CdnFile](../types/upload.CdnFile.md) ### Can bots use this method: **NO** @@ -35,12 +35,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$upload_CdnFile = $MadelineProto->upload->getCdnFile(['file_token' => 'bytes', 'offset' => int, 'limit' => int, ]); +$upload.CdnFile = $MadelineProto->upload->getCdnFile(['file_token' => 'bytes', 'offset' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -upload_CdnFile = upload.getCdnFile({file_token='bytes', offset=int, limit=int, }) +upload.CdnFile = upload.getCdnFile({file_token='bytes', offset=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v71/methods/upload.getFile.md b/old_docs/API_docs_v71/methods/upload.getFile.md index 8aba03d4..ab9f4fe2 100644 --- a/old_docs/API_docs_v71/methods/upload.getFile.md +++ b/old_docs/API_docs_v71/methods/upload.getFile.md @@ -18,7 +18,7 @@ You cannot use this method directly, use the upload, downloadToStream, downloadT |limit|[int](../types/int.md) | You cannot use this method directly, use the upload, downloadToStream, downloadToFile, downloadToDir methods instead; see https://docs.madelineproto.xyz for more info | Yes| -### Return type: [upload\_File](../types/upload_File.md) +### Return type: [upload.File](../types/upload.File.md) ### Can bots use this method: **YES** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$upload_File = $MadelineProto->upload->getFile(['location' => InputFileLocation, 'offset' => int, 'limit' => int, ]); +$upload.File = $MadelineProto->upload->getFile(['location' => InputFileLocation, 'offset' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -upload_File = upload.getFile({location=InputFileLocation, offset=int, limit=int, }) +upload.File = upload.getFile({location=InputFileLocation, offset=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v71/methods/upload.getWebFile.md b/old_docs/API_docs_v71/methods/upload.getWebFile.md index 32f6b322..60f1b8c1 100644 --- a/old_docs/API_docs_v71/methods/upload.getWebFile.md +++ b/old_docs/API_docs_v71/methods/upload.getWebFile.md @@ -18,7 +18,7 @@ Returns content of an HTTP file or a part, by proxying the request through teleg |limit|[int](../types/int.md) | Number of bytes to be returned | Yes| -### Return type: [upload\_WebFile](../types/upload_WebFile.md) +### Return type: [upload.WebFile](../types/upload.WebFile.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$upload_WebFile = $MadelineProto->upload->getWebFile(['location' => InputWebFileLocation, 'offset' => int, 'limit' => int, ]); +$upload.WebFile = $MadelineProto->upload->getWebFile(['location' => InputWebFileLocation, 'offset' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -upload_WebFile = upload.getWebFile({location=InputWebFileLocation, offset=int, limit=int, }) +upload.WebFile = upload.getWebFile({location=InputWebFileLocation, offset=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v71/types/AccountDaysTTL.md b/old_docs/API_docs_v71/types/AccountDaysTTL.md index 12a10190..f3494aac 100644 --- a/old_docs/API_docs_v71/types/AccountDaysTTL.md +++ b/old_docs/API_docs_v71/types/AccountDaysTTL.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->account->getAccountTTL](../methods/account_getAccountTTL.md) +[$MadelineProto->account->getAccountTTL](../methods/account.getAccountTTL.md) diff --git a/old_docs/API_docs_v71/types/CdnConfig.md b/old_docs/API_docs_v71/types/CdnConfig.md index fbfe01c3..0b0fb5be 100644 --- a/old_docs/API_docs_v71/types/CdnConfig.md +++ b/old_docs/API_docs_v71/types/CdnConfig.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->help->getCdnConfig](../methods/help_getCdnConfig.md) +[$MadelineProto->help->getCdnConfig](../methods/help.getCdnConfig.md) diff --git a/old_docs/API_docs_v71/types/CdnFileHash.md b/old_docs/API_docs_v71/types/CdnFileHash.md index 006bc256..cbb19024 100644 --- a/old_docs/API_docs_v71/types/CdnFileHash.md +++ b/old_docs/API_docs_v71/types/CdnFileHash.md @@ -16,9 +16,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->upload->reuploadCdnFile](../methods/upload_reuploadCdnFile.md) +[$MadelineProto->upload->reuploadCdnFile](../methods/upload.reuploadCdnFile.md) -[$MadelineProto->upload->getCdnFileHashes](../methods/upload_getCdnFileHashes.md) +[$MadelineProto->upload->getCdnFileHashes](../methods/upload.getCdnFileHashes.md) diff --git a/old_docs/API_docs_v71/types/ChatInvite.md b/old_docs/API_docs_v71/types/ChatInvite.md index 5022a2f0..9fafabb4 100644 --- a/old_docs/API_docs_v71/types/ChatInvite.md +++ b/old_docs/API_docs_v71/types/ChatInvite.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->checkChatInvite](../methods/messages_checkChatInvite.md) +[$MadelineProto->messages->checkChatInvite](../methods/messages.checkChatInvite.md) diff --git a/old_docs/API_docs_v71/types/Config.md b/old_docs/API_docs_v71/types/Config.md index 0f7fbe70..3a23b7b7 100644 --- a/old_docs/API_docs_v71/types/Config.md +++ b/old_docs/API_docs_v71/types/Config.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->help->getConfig](../methods/help_getConfig.md) +[$MadelineProto->help->getConfig](../methods/help.getConfig.md) diff --git a/old_docs/API_docs_v71/types/ContactStatus.md b/old_docs/API_docs_v71/types/ContactStatus.md index c5f5d658..30aee6e2 100644 --- a/old_docs/API_docs_v71/types/ContactStatus.md +++ b/old_docs/API_docs_v71/types/ContactStatus.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->contacts->getStatuses](../methods/contacts_getStatuses.md) +[$MadelineProto->contacts->getStatuses](../methods/contacts.getStatuses.md) diff --git a/old_docs/API_docs_v71/types/DestroyAuthKeyRes.md b/old_docs/API_docs_v71/types/DestroyAuthKeyRes.md index 947e79cc..6b877d82 100644 --- a/old_docs/API_docs_v71/types/DestroyAuthKeyRes.md +++ b/old_docs/API_docs_v71/types/DestroyAuthKeyRes.md @@ -20,7 +20,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->destroy->auth->key](../methods/destroy_auth_key.md) +[$MadelineProto->destroy\_auth\_key](../methods/destroy_auth_key.md) diff --git a/old_docs/API_docs_v71/types/DestroySessionRes.md b/old_docs/API_docs_v71/types/DestroySessionRes.md index dbc73cdf..dc5d2bc3 100644 --- a/old_docs/API_docs_v71/types/DestroySessionRes.md +++ b/old_docs/API_docs_v71/types/DestroySessionRes.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->destroy->session](../methods/destroy_session.md) +[$MadelineProto->destroy\_session](../methods/destroy_session.md) diff --git a/old_docs/API_docs_v71/types/Document.md b/old_docs/API_docs_v71/types/Document.md index f68b7aa4..2cb85623 100644 --- a/old_docs/API_docs_v71/types/Document.md +++ b/old_docs/API_docs_v71/types/Document.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getDocumentByHash](../methods/messages_getDocumentByHash.md) +[$MadelineProto->messages->getDocumentByHash](../methods/messages.getDocumentByHash.md) diff --git a/old_docs/API_docs_v71/types/EncryptedChat.md b/old_docs/API_docs_v71/types/EncryptedChat.md index fd2277f6..19cf52b0 100644 --- a/old_docs/API_docs_v71/types/EncryptedChat.md +++ b/old_docs/API_docs_v71/types/EncryptedChat.md @@ -24,9 +24,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->requestEncryption](../methods/messages_requestEncryption.md) +[$MadelineProto->messages->requestEncryption](../methods/messages.requestEncryption.md) -[$MadelineProto->messages->acceptEncryption](../methods/messages_acceptEncryption.md) +[$MadelineProto->messages->acceptEncryption](../methods/messages.acceptEncryption.md) diff --git a/old_docs/API_docs_v71/types/ExportedChatInvite.md b/old_docs/API_docs_v71/types/ExportedChatInvite.md index 4213a78f..53ce5f59 100644 --- a/old_docs/API_docs_v71/types/ExportedChatInvite.md +++ b/old_docs/API_docs_v71/types/ExportedChatInvite.md @@ -18,9 +18,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->exportChatInvite](../methods/messages_exportChatInvite.md) +[$MadelineProto->messages->exportChatInvite](../methods/messages.exportChatInvite.md) -[$MadelineProto->channels->exportInvite](../methods/channels_exportInvite.md) +[$MadelineProto->channels->exportInvite](../methods/channels.exportInvite.md) diff --git a/old_docs/API_docs_v71/types/ExportedMessageLink.md b/old_docs/API_docs_v71/types/ExportedMessageLink.md index eb2400f6..948e9c90 100644 --- a/old_docs/API_docs_v71/types/ExportedMessageLink.md +++ b/old_docs/API_docs_v71/types/ExportedMessageLink.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->channels->exportMessageLink](../methods/channels_exportMessageLink.md) +[$MadelineProto->channels->exportMessageLink](../methods/channels.exportMessageLink.md) diff --git a/old_docs/API_docs_v71/types/FutureSalts.md b/old_docs/API_docs_v71/types/FutureSalts.md index 5cb9f9e1..3a10b4a2 100644 --- a/old_docs/API_docs_v71/types/FutureSalts.md +++ b/old_docs/API_docs_v71/types/FutureSalts.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->get->future->salts](../methods/get_future_salts.md) +[$MadelineProto->get\_future\_salts](../methods/get_future_salts.md) diff --git a/old_docs/API_docs_v71/types/LangPackDifference.md b/old_docs/API_docs_v71/types/LangPackDifference.md index fd9f41f2..e04125b8 100644 --- a/old_docs/API_docs_v71/types/LangPackDifference.md +++ b/old_docs/API_docs_v71/types/LangPackDifference.md @@ -16,9 +16,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->langpack->getLangPack](../methods/langpack_getLangPack.md) +[$MadelineProto->langpack->getLangPack](../methods/langpack.getLangPack.md) -[$MadelineProto->langpack->getDifference](../methods/langpack_getDifference.md) +[$MadelineProto->langpack->getDifference](../methods/langpack.getDifference.md) diff --git a/old_docs/API_docs_v71/types/LangPackLanguage.md b/old_docs/API_docs_v71/types/LangPackLanguage.md index f7459fc2..280d0243 100644 --- a/old_docs/API_docs_v71/types/LangPackLanguage.md +++ b/old_docs/API_docs_v71/types/LangPackLanguage.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->langpack->getLanguages](../methods/langpack_getLanguages.md) +[$MadelineProto->langpack->getLanguages](../methods/langpack.getLanguages.md) diff --git a/old_docs/API_docs_v71/types/LangPackString.md b/old_docs/API_docs_v71/types/LangPackString.md index f1a43dd9..15f9dc3d 100644 --- a/old_docs/API_docs_v71/types/LangPackString.md +++ b/old_docs/API_docs_v71/types/LangPackString.md @@ -20,7 +20,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->langpack->getStrings](../methods/langpack_getStrings.md) +[$MadelineProto->langpack->getStrings](../methods/langpack.getStrings.md) diff --git a/old_docs/API_docs_v71/types/MessageMedia.md b/old_docs/API_docs_v71/types/MessageMedia.md index db558648..f00e5b1d 100644 --- a/old_docs/API_docs_v71/types/MessageMedia.md +++ b/old_docs/API_docs_v71/types/MessageMedia.md @@ -34,9 +34,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getWebPagePreview](../methods/messages_getWebPagePreview.md) +[$MadelineProto->messages->getWebPagePreview](../methods/messages.getWebPagePreview.md) -[$MadelineProto->messages->uploadMedia](../methods/messages_uploadMedia.md) +[$MadelineProto->messages->uploadMedia](../methods/messages.uploadMedia.md) diff --git a/old_docs/API_docs_v71/types/NearestDc.md b/old_docs/API_docs_v71/types/NearestDc.md index 31f24377..296a4dff 100644 --- a/old_docs/API_docs_v71/types/NearestDc.md +++ b/old_docs/API_docs_v71/types/NearestDc.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->help->getNearestDc](../methods/help_getNearestDc.md) +[$MadelineProto->help->getNearestDc](../methods/help.getNearestDc.md) diff --git a/old_docs/API_docs_v71/types/PeerNotifySettings.md b/old_docs/API_docs_v71/types/PeerNotifySettings.md index 769de075..3d72b7c5 100644 --- a/old_docs/API_docs_v71/types/PeerNotifySettings.md +++ b/old_docs/API_docs_v71/types/PeerNotifySettings.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->account->getNotifySettings](../methods/account_getNotifySettings.md) +[$MadelineProto->account->getNotifySettings](../methods/account.getNotifySettings.md) diff --git a/old_docs/API_docs_v71/types/PeerSettings.md b/old_docs/API_docs_v71/types/PeerSettings.md index 60ac3765..31ef7e38 100644 --- a/old_docs/API_docs_v71/types/PeerSettings.md +++ b/old_docs/API_docs_v71/types/PeerSettings.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getPeerSettings](../methods/messages_getPeerSettings.md) +[$MadelineProto->messages->getPeerSettings](../methods/messages.getPeerSettings.md) diff --git a/old_docs/API_docs_v71/types/Pong.md b/old_docs/API_docs_v71/types/Pong.md index 7658af03..aa25a60e 100644 --- a/old_docs/API_docs_v71/types/Pong.md +++ b/old_docs/API_docs_v71/types/Pong.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png [$MadelineProto->ping](../methods/ping.md) -[$MadelineProto->ping->delay->disconnect](../methods/ping_delay_disconnect.md) +[$MadelineProto->ping\_delay\_disconnect](../methods/ping_delay_disconnect.md) diff --git a/old_docs/API_docs_v71/types/README.md b/old_docs/API_docs_v71/types/README.md index d602de00..54fa5e04 100644 --- a/old_docs/API_docs_v71/types/README.md +++ b/old_docs/API_docs_v71/types/README.md @@ -331,139 +331,139 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png [X](X.md) -[account\_Authorizations](account_Authorizations.md) +[account.Authorizations](account.Authorizations.md) -[account\_Password](account_Password.md) +[account.Password](account.Password.md) -[account\_PasswordInputSettings](account_PasswordInputSettings.md) +[account.PasswordInputSettings](account.PasswordInputSettings.md) -[account\_PasswordSettings](account_PasswordSettings.md) +[account.PasswordSettings](account.PasswordSettings.md) -[account\_PrivacyRules](account_PrivacyRules.md) +[account.PrivacyRules](account.PrivacyRules.md) -[account\_TmpPassword](account_TmpPassword.md) +[account.TmpPassword](account.TmpPassword.md) -[auth\_Authorization](auth_Authorization.md) +[auth.Authorization](auth.Authorization.md) -[auth\_CheckedPhone](auth_CheckedPhone.md) +[auth.CheckedPhone](auth.CheckedPhone.md) -[auth\_CodeType](auth_CodeType.md) +[auth.CodeType](auth.CodeType.md) -[auth\_ExportedAuthorization](auth_ExportedAuthorization.md) +[auth.ExportedAuthorization](auth.ExportedAuthorization.md) -[auth\_PasswordRecovery](auth_PasswordRecovery.md) +[auth.PasswordRecovery](auth.PasswordRecovery.md) -[auth\_SentCode](auth_SentCode.md) +[auth.SentCode](auth.SentCode.md) -[auth\_SentCodeType](auth_SentCodeType.md) +[auth.SentCodeType](auth.SentCodeType.md) -[channels\_AdminLogResults](channels_AdminLogResults.md) +[channels.AdminLogResults](channels.AdminLogResults.md) -[channels\_ChannelParticipant](channels_ChannelParticipant.md) +[channels.ChannelParticipant](channels.ChannelParticipant.md) -[channels\_ChannelParticipants](channels_ChannelParticipants.md) +[channels.ChannelParticipants](channels.ChannelParticipants.md) -[contacts\_Blocked](contacts_Blocked.md) +[contacts.Blocked](contacts.Blocked.md) -[contacts\_Contacts](contacts_Contacts.md) +[contacts.Contacts](contacts.Contacts.md) -[contacts\_Found](contacts_Found.md) +[contacts.Found](contacts.Found.md) -[contacts\_ImportedContacts](contacts_ImportedContacts.md) +[contacts.ImportedContacts](contacts.ImportedContacts.md) -[contacts\_Link](contacts_Link.md) +[contacts.Link](contacts.Link.md) -[contacts\_ResolvedPeer](contacts_ResolvedPeer.md) +[contacts.ResolvedPeer](contacts.ResolvedPeer.md) -[contacts\_TopPeers](contacts_TopPeers.md) +[contacts.TopPeers](contacts.TopPeers.md) -[help\_AppUpdate](help_AppUpdate.md) +[help.AppUpdate](help.AppUpdate.md) -[help\_ConfigSimple](help_ConfigSimple.md) +[help.ConfigSimple](help.ConfigSimple.md) -[help\_InviteText](help_InviteText.md) +[help.InviteText](help.InviteText.md) -[help\_Support](help_Support.md) +[help.Support](help.Support.md) -[help\_TermsOfService](help_TermsOfService.md) +[help.TermsOfService](help.TermsOfService.md) [int](int.md) [long](long.md) -[messages\_AffectedHistory](messages_AffectedHistory.md) +[messages.AffectedHistory](messages.AffectedHistory.md) -[messages\_AffectedMessages](messages_AffectedMessages.md) +[messages.AffectedMessages](messages.AffectedMessages.md) -[messages\_AllStickers](messages_AllStickers.md) +[messages.AllStickers](messages.AllStickers.md) -[messages\_ArchivedStickers](messages_ArchivedStickers.md) +[messages.ArchivedStickers](messages.ArchivedStickers.md) -[messages\_BotCallbackAnswer](messages_BotCallbackAnswer.md) +[messages.BotCallbackAnswer](messages.BotCallbackAnswer.md) -[messages\_BotResults](messages_BotResults.md) +[messages.BotResults](messages.BotResults.md) -[messages\_ChatFull](messages_ChatFull.md) +[messages.ChatFull](messages.ChatFull.md) -[messages\_Chats](messages_Chats.md) +[messages.Chats](messages.Chats.md) -[messages\_DhConfig](messages_DhConfig.md) +[messages.DhConfig](messages.DhConfig.md) -[messages\_Dialogs](messages_Dialogs.md) +[messages.Dialogs](messages.Dialogs.md) -[messages\_FavedStickers](messages_FavedStickers.md) +[messages.FavedStickers](messages.FavedStickers.md) -[messages\_FeaturedStickers](messages_FeaturedStickers.md) +[messages.FeaturedStickers](messages.FeaturedStickers.md) -[messages\_FoundGifs](messages_FoundGifs.md) +[messages.FoundGifs](messages.FoundGifs.md) -[messages\_HighScores](messages_HighScores.md) +[messages.HighScores](messages.HighScores.md) -[messages\_MessageEditData](messages_MessageEditData.md) +[messages.MessageEditData](messages.MessageEditData.md) -[messages\_Messages](messages_Messages.md) +[messages.Messages](messages.Messages.md) -[messages\_PeerDialogs](messages_PeerDialogs.md) +[messages.PeerDialogs](messages.PeerDialogs.md) -[messages\_RecentStickers](messages_RecentStickers.md) +[messages.RecentStickers](messages.RecentStickers.md) -[messages\_SavedGifs](messages_SavedGifs.md) +[messages.SavedGifs](messages.SavedGifs.md) -[messages\_SentEncryptedMessage](messages_SentEncryptedMessage.md) +[messages.SentEncryptedMessage](messages.SentEncryptedMessage.md) -[messages\_StickerSet](messages_StickerSet.md) +[messages.StickerSet](messages.StickerSet.md) -[messages\_StickerSetInstallResult](messages_StickerSetInstallResult.md) +[messages.StickerSetInstallResult](messages.StickerSetInstallResult.md) -[messages\_Stickers](messages_Stickers.md) +[messages.Stickers](messages.Stickers.md) -[payments\_PaymentForm](payments_PaymentForm.md) +[payments.PaymentForm](payments.PaymentForm.md) -[payments\_PaymentReceipt](payments_PaymentReceipt.md) +[payments.PaymentReceipt](payments.PaymentReceipt.md) -[payments\_PaymentResult](payments_PaymentResult.md) +[payments.PaymentResult](payments.PaymentResult.md) -[payments\_SavedInfo](payments_SavedInfo.md) +[payments.SavedInfo](payments.SavedInfo.md) -[payments\_ValidatedRequestedInfo](payments_ValidatedRequestedInfo.md) +[payments.ValidatedRequestedInfo](payments.ValidatedRequestedInfo.md) -[phone\_PhoneCall](phone_PhoneCall.md) +[phone.PhoneCall](phone.PhoneCall.md) -[photos\_Photo](photos_Photo.md) +[photos.Photo](photos.Photo.md) -[photos\_Photos](photos_Photos.md) +[photos.Photos](photos.Photos.md) -[storage\_FileType](storage_FileType.md) +[storage.FileType](storage.FileType.md) -[updates\_ChannelDifference](updates_ChannelDifference.md) +[updates.ChannelDifference](updates.ChannelDifference.md) -[updates\_Difference](updates_Difference.md) +[updates.Difference](updates.Difference.md) -[updates\_State](updates_State.md) +[updates.State](updates.State.md) -[upload\_CdnFile](upload_CdnFile.md) +[upload.CdnFile](upload.CdnFile.md) -[upload\_File](upload_File.md) +[upload.File](upload.File.md) -[upload\_WebFile](upload_WebFile.md) +[upload.WebFile](upload.WebFile.md) diff --git a/old_docs/API_docs_v71/types/ReceivedNotifyMessage.md b/old_docs/API_docs_v71/types/ReceivedNotifyMessage.md index c7fc3b8c..416aa275 100644 --- a/old_docs/API_docs_v71/types/ReceivedNotifyMessage.md +++ b/old_docs/API_docs_v71/types/ReceivedNotifyMessage.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->receivedMessages](../methods/messages_receivedMessages.md) +[$MadelineProto->messages->receivedMessages](../methods/messages.receivedMessages.md) diff --git a/old_docs/API_docs_v71/types/ResPQ.md b/old_docs/API_docs_v71/types/ResPQ.md index ebd5c8ed..860ee76d 100644 --- a/old_docs/API_docs_v71/types/ResPQ.md +++ b/old_docs/API_docs_v71/types/ResPQ.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->req->pq](../methods/req_pq.md) +[$MadelineProto->req\_pq](../methods/req_pq.md) diff --git a/old_docs/API_docs_v71/types/RpcDropAnswer.md b/old_docs/API_docs_v71/types/RpcDropAnswer.md index 4fb1ced7..05586b65 100644 --- a/old_docs/API_docs_v71/types/RpcDropAnswer.md +++ b/old_docs/API_docs_v71/types/RpcDropAnswer.md @@ -20,7 +20,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->rpc->drop->answer](../methods/rpc_drop_answer.md) +[$MadelineProto->rpc\_drop\_answer](../methods/rpc_drop_answer.md) diff --git a/old_docs/API_docs_v71/types/Server_DH_Params.md b/old_docs/API_docs_v71/types/Server_DH_Params.md index e007d828..40530f7e 100644 --- a/old_docs/API_docs_v71/types/Server_DH_Params.md +++ b/old_docs/API_docs_v71/types/Server_DH_Params.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->req->DH->params](../methods/req_DH_params.md) +[$MadelineProto->req\_DH\_params](../methods/req_DH_params.md) diff --git a/old_docs/API_docs_v71/types/Set_client_DH_params_answer.md b/old_docs/API_docs_v71/types/Set_client_DH_params_answer.md index f316e712..523432b7 100644 --- a/old_docs/API_docs_v71/types/Set_client_DH_params_answer.md +++ b/old_docs/API_docs_v71/types/Set_client_DH_params_answer.md @@ -20,7 +20,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->set->client->DH->params](../methods/set_client_DH_params.md) +[$MadelineProto->set\_client\_DH\_params](../methods/set_client_DH_params.md) diff --git a/old_docs/API_docs_v71/types/StickerSetCovered.md b/old_docs/API_docs_v71/types/StickerSetCovered.md index ffd1da1f..f57cd117 100644 --- a/old_docs/API_docs_v71/types/StickerSetCovered.md +++ b/old_docs/API_docs_v71/types/StickerSetCovered.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getAttachedStickers](../methods/messages_getAttachedStickers.md) +[$MadelineProto->messages->getAttachedStickers](../methods/messages.getAttachedStickers.md) diff --git a/old_docs/API_docs_v71/types/Updates.md b/old_docs/API_docs_v71/types/Updates.md index 5705835a..1f186319 100644 --- a/old_docs/API_docs_v71/types/Updates.md +++ b/old_docs/API_docs_v71/types/Updates.md @@ -28,71 +28,71 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->sendMessage](../methods/messages_sendMessage.md) +[$MadelineProto->messages->sendMessage](../methods/messages.sendMessage.md) -[$MadelineProto->messages->sendMedia](../methods/messages_sendMedia.md) +[$MadelineProto->messages->sendMedia](../methods/messages.sendMedia.md) -[$MadelineProto->messages->forwardMessages](../methods/messages_forwardMessages.md) +[$MadelineProto->messages->forwardMessages](../methods/messages.forwardMessages.md) -[$MadelineProto->messages->editChatTitle](../methods/messages_editChatTitle.md) +[$MadelineProto->messages->editChatTitle](../methods/messages.editChatTitle.md) -[$MadelineProto->messages->editChatPhoto](../methods/messages_editChatPhoto.md) +[$MadelineProto->messages->editChatPhoto](../methods/messages.editChatPhoto.md) -[$MadelineProto->messages->addChatUser](../methods/messages_addChatUser.md) +[$MadelineProto->messages->addChatUser](../methods/messages.addChatUser.md) -[$MadelineProto->messages->deleteChatUser](../methods/messages_deleteChatUser.md) +[$MadelineProto->messages->deleteChatUser](../methods/messages.deleteChatUser.md) -[$MadelineProto->messages->createChat](../methods/messages_createChat.md) +[$MadelineProto->messages->createChat](../methods/messages.createChat.md) -[$MadelineProto->messages->forwardMessage](../methods/messages_forwardMessage.md) +[$MadelineProto->messages->forwardMessage](../methods/messages.forwardMessage.md) -[$MadelineProto->messages->importChatInvite](../methods/messages_importChatInvite.md) +[$MadelineProto->messages->importChatInvite](../methods/messages.importChatInvite.md) -[$MadelineProto->messages->startBot](../methods/messages_startBot.md) +[$MadelineProto->messages->startBot](../methods/messages.startBot.md) -[$MadelineProto->messages->toggleChatAdmins](../methods/messages_toggleChatAdmins.md) +[$MadelineProto->messages->toggleChatAdmins](../methods/messages.toggleChatAdmins.md) -[$MadelineProto->messages->migrateChat](../methods/messages_migrateChat.md) +[$MadelineProto->messages->migrateChat](../methods/messages.migrateChat.md) -[$MadelineProto->messages->sendInlineBotResult](../methods/messages_sendInlineBotResult.md) +[$MadelineProto->messages->sendInlineBotResult](../methods/messages.sendInlineBotResult.md) -[$MadelineProto->messages->editMessage](../methods/messages_editMessage.md) +[$MadelineProto->messages->editMessage](../methods/messages.editMessage.md) -[$MadelineProto->messages->getAllDrafts](../methods/messages_getAllDrafts.md) +[$MadelineProto->messages->getAllDrafts](../methods/messages.getAllDrafts.md) -[$MadelineProto->messages->setGameScore](../methods/messages_setGameScore.md) +[$MadelineProto->messages->setGameScore](../methods/messages.setGameScore.md) -[$MadelineProto->messages->sendScreenshotNotification](../methods/messages_sendScreenshotNotification.md) +[$MadelineProto->messages->sendScreenshotNotification](../methods/messages.sendScreenshotNotification.md) -[$MadelineProto->help->getAppChangelog](../methods/help_getAppChangelog.md) +[$MadelineProto->help->getAppChangelog](../methods/help.getAppChangelog.md) -[$MadelineProto->channels->createChannel](../methods/channels_createChannel.md) +[$MadelineProto->channels->createChannel](../methods/channels.createChannel.md) -[$MadelineProto->channels->editAdmin](../methods/channels_editAdmin.md) +[$MadelineProto->channels->editAdmin](../methods/channels.editAdmin.md) -[$MadelineProto->channels->editTitle](../methods/channels_editTitle.md) +[$MadelineProto->channels->editTitle](../methods/channels.editTitle.md) -[$MadelineProto->channels->editPhoto](../methods/channels_editPhoto.md) +[$MadelineProto->channels->editPhoto](../methods/channels.editPhoto.md) -[$MadelineProto->channels->joinChannel](../methods/channels_joinChannel.md) +[$MadelineProto->channels->joinChannel](../methods/channels.joinChannel.md) -[$MadelineProto->channels->leaveChannel](../methods/channels_leaveChannel.md) +[$MadelineProto->channels->leaveChannel](../methods/channels.leaveChannel.md) -[$MadelineProto->channels->inviteToChannel](../methods/channels_inviteToChannel.md) +[$MadelineProto->channels->inviteToChannel](../methods/channels.inviteToChannel.md) -[$MadelineProto->channels->deleteChannel](../methods/channels_deleteChannel.md) +[$MadelineProto->channels->deleteChannel](../methods/channels.deleteChannel.md) -[$MadelineProto->channels->toggleInvites](../methods/channels_toggleInvites.md) +[$MadelineProto->channels->toggleInvites](../methods/channels.toggleInvites.md) -[$MadelineProto->channels->toggleSignatures](../methods/channels_toggleSignatures.md) +[$MadelineProto->channels->toggleSignatures](../methods/channels.toggleSignatures.md) -[$MadelineProto->channels->updatePinnedMessage](../methods/channels_updatePinnedMessage.md) +[$MadelineProto->channels->updatePinnedMessage](../methods/channels.updatePinnedMessage.md) -[$MadelineProto->channels->editBanned](../methods/channels_editBanned.md) +[$MadelineProto->channels->editBanned](../methods/channels.editBanned.md) -[$MadelineProto->phone->discardCall](../methods/phone_discardCall.md) +[$MadelineProto->phone->discardCall](../methods/phone.discardCall.md) -[$MadelineProto->phone->setCallRating](../methods/phone_setCallRating.md) +[$MadelineProto->phone->setCallRating](../methods/phone.setCallRating.md) diff --git a/old_docs/API_docs_v71/types/User.md b/old_docs/API_docs_v71/types/User.md index 3abd182f..a2e028f4 100644 --- a/old_docs/API_docs_v71/types/User.md +++ b/old_docs/API_docs_v71/types/User.md @@ -42,15 +42,15 @@ A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDia ### Methods that return an object of this type (methods): -[$MadelineProto->account->updateProfile](../methods/account_updateProfile.md) +[$MadelineProto->account->updateProfile](../methods/account.updateProfile.md) -[$MadelineProto->account->updateUsername](../methods/account_updateUsername.md) +[$MadelineProto->account->updateUsername](../methods/account.updateUsername.md) -[$MadelineProto->account->changePhone](../methods/account_changePhone.md) +[$MadelineProto->account->changePhone](../methods/account.changePhone.md) -[$MadelineProto->users->getUsers](../methods/users_getUsers.md) +[$MadelineProto->users->getUsers](../methods/users.getUsers.md) -[$MadelineProto->contacts->importCard](../methods/contacts_importCard.md) +[$MadelineProto->contacts->importCard](../methods/contacts.importCard.md) diff --git a/old_docs/API_docs_v71/types/UserFull.md b/old_docs/API_docs_v71/types/UserFull.md index 79ad30bb..ac50052f 100644 --- a/old_docs/API_docs_v71/types/UserFull.md +++ b/old_docs/API_docs_v71/types/UserFull.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->users->getFullUser](../methods/users_getFullUser.md) +[$MadelineProto->users->getFullUser](../methods/users.getFullUser.md) diff --git a/old_docs/API_docs_v71/types/UserProfilePhoto.md b/old_docs/API_docs_v71/types/UserProfilePhoto.md index e5243a2e..e81e92fd 100644 --- a/old_docs/API_docs_v71/types/UserProfilePhoto.md +++ b/old_docs/API_docs_v71/types/UserProfilePhoto.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->photos->updateProfilePhoto](../methods/photos_updateProfilePhoto.md) +[$MadelineProto->photos->updateProfilePhoto](../methods/photos.updateProfilePhoto.md) diff --git a/old_docs/API_docs_v71/types/WallPaper.md b/old_docs/API_docs_v71/types/WallPaper.md index 8c5ac7cf..45337565 100644 --- a/old_docs/API_docs_v71/types/WallPaper.md +++ b/old_docs/API_docs_v71/types/WallPaper.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->account->getWallPapers](../methods/account_getWallPapers.md) +[$MadelineProto->account->getWallPapers](../methods/account.getWallPapers.md) diff --git a/old_docs/API_docs_v71/types/WebPage.md b/old_docs/API_docs_v71/types/WebPage.md index a3df791f..f6b61c5e 100644 --- a/old_docs/API_docs_v71/types/WebPage.md +++ b/old_docs/API_docs_v71/types/WebPage.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getWebPage](../methods/messages_getWebPage.md) +[$MadelineProto->messages->getWebPage](../methods/messages.getWebPage.md) diff --git a/old_docs/API_docs_v71/types/account.Authorizations.md b/old_docs/API_docs_v71/types/account.Authorizations.md new file mode 100644 index 00000000..f9112038 --- /dev/null +++ b/old_docs/API_docs_v71/types/account.Authorizations.md @@ -0,0 +1,22 @@ +--- +title: account.Authorizations +description: constructors and methods of type account.Authorizations +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.Authorizations +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.authorizations](../constructors/account.authorizations.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getAuthorizations](../methods/account.getAuthorizations.md) + + + diff --git a/old_docs/API_docs_v71/types/account.Password.md b/old_docs/API_docs_v71/types/account.Password.md new file mode 100644 index 00000000..5217ab5e --- /dev/null +++ b/old_docs/API_docs_v71/types/account.Password.md @@ -0,0 +1,24 @@ +--- +title: account.Password +description: constructors and methods of type account.Password +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.Password +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.noPassword](../constructors/account.noPassword.md) + +[account.password](../constructors/account.password.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getPassword](../methods/account.getPassword.md) + + + diff --git a/old_docs/API_docs_v71/types/account.PasswordInputSettings.md b/old_docs/API_docs_v71/types/account.PasswordInputSettings.md new file mode 100644 index 00000000..72e11fdc --- /dev/null +++ b/old_docs/API_docs_v71/types/account.PasswordInputSettings.md @@ -0,0 +1,20 @@ +--- +title: account.PasswordInputSettings +description: constructors and methods of type account.PasswordInputSettings +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.PasswordInputSettings +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.passwordInputSettings](../constructors/account.passwordInputSettings.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v71/types/account.PasswordSettings.md b/old_docs/API_docs_v71/types/account.PasswordSettings.md new file mode 100644 index 00000000..47016832 --- /dev/null +++ b/old_docs/API_docs_v71/types/account.PasswordSettings.md @@ -0,0 +1,22 @@ +--- +title: account.PasswordSettings +description: constructors and methods of type account.PasswordSettings +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.PasswordSettings +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.passwordSettings](../constructors/account.passwordSettings.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getPasswordSettings](../methods/account.getPasswordSettings.md) + + + diff --git a/old_docs/API_docs_v71/types/account.PrivacyRules.md b/old_docs/API_docs_v71/types/account.PrivacyRules.md new file mode 100644 index 00000000..738651ad --- /dev/null +++ b/old_docs/API_docs_v71/types/account.PrivacyRules.md @@ -0,0 +1,24 @@ +--- +title: account.PrivacyRules +description: constructors and methods of type account.PrivacyRules +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.PrivacyRules +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.privacyRules](../constructors/account.privacyRules.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getPrivacy](../methods/account.getPrivacy.md) + +[$MadelineProto->account->setPrivacy](../methods/account.setPrivacy.md) + + + diff --git a/old_docs/API_docs_v71/types/account.TmpPassword.md b/old_docs/API_docs_v71/types/account.TmpPassword.md new file mode 100644 index 00000000..2116c6c0 --- /dev/null +++ b/old_docs/API_docs_v71/types/account.TmpPassword.md @@ -0,0 +1,22 @@ +--- +title: account.TmpPassword +description: constructors and methods of type account.TmpPassword +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.TmpPassword +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.tmpPassword](../constructors/account.tmpPassword.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getTmpPassword](../methods/account.getTmpPassword.md) + + + diff --git a/old_docs/API_docs_v71/types/account_Authorizations.md b/old_docs/API_docs_v71/types/account_Authorizations.md deleted file mode 100644 index 4709ddb5..00000000 --- a/old_docs/API_docs_v71/types/account_Authorizations.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_Authorizations -description: constructors and methods of type account_Authorizations -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_Authorizations -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_authorizations](../constructors/account_authorizations.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getAuthorizations](../methods/account_getAuthorizations.md) - - - diff --git a/old_docs/API_docs_v71/types/account_Password.md b/old_docs/API_docs_v71/types/account_Password.md deleted file mode 100644 index 23e05987..00000000 --- a/old_docs/API_docs_v71/types/account_Password.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: account_Password -description: constructors and methods of type account_Password -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_Password -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_noPassword](../constructors/account_noPassword.md) - -[account\_password](../constructors/account_password.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getPassword](../methods/account_getPassword.md) - - - diff --git a/old_docs/API_docs_v71/types/account_PasswordInputSettings.md b/old_docs/API_docs_v71/types/account_PasswordInputSettings.md deleted file mode 100644 index a6455eb8..00000000 --- a/old_docs/API_docs_v71/types/account_PasswordInputSettings.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: account_PasswordInputSettings -description: constructors and methods of type account_PasswordInputSettings -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_PasswordInputSettings -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_passwordInputSettings](../constructors/account_passwordInputSettings.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v71/types/account_PasswordSettings.md b/old_docs/API_docs_v71/types/account_PasswordSettings.md deleted file mode 100644 index 687eb217..00000000 --- a/old_docs/API_docs_v71/types/account_PasswordSettings.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_PasswordSettings -description: constructors and methods of type account_PasswordSettings -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_PasswordSettings -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_passwordSettings](../constructors/account_passwordSettings.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getPasswordSettings](../methods/account_getPasswordSettings.md) - - - diff --git a/old_docs/API_docs_v71/types/account_PrivacyRules.md b/old_docs/API_docs_v71/types/account_PrivacyRules.md deleted file mode 100644 index 40b00077..00000000 --- a/old_docs/API_docs_v71/types/account_PrivacyRules.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: account_PrivacyRules -description: constructors and methods of type account_PrivacyRules -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_PrivacyRules -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_privacyRules](../constructors/account_privacyRules.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getPrivacy](../methods/account_getPrivacy.md) - -[$MadelineProto->account->setPrivacy](../methods/account_setPrivacy.md) - - - diff --git a/old_docs/API_docs_v71/types/account_TmpPassword.md b/old_docs/API_docs_v71/types/account_TmpPassword.md deleted file mode 100644 index d7557921..00000000 --- a/old_docs/API_docs_v71/types/account_TmpPassword.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_TmpPassword -description: constructors and methods of type account_TmpPassword -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_TmpPassword -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_tmpPassword](../constructors/account_tmpPassword.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getTmpPassword](../methods/account_getTmpPassword.md) - - - diff --git a/old_docs/API_docs_v71/types/auth.Authorization.md b/old_docs/API_docs_v71/types/auth.Authorization.md new file mode 100644 index 00000000..adcfa7d3 --- /dev/null +++ b/old_docs/API_docs_v71/types/auth.Authorization.md @@ -0,0 +1,32 @@ +--- +title: auth.Authorization +description: constructors and methods of type auth.Authorization +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.Authorization +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.authorization](../constructors/auth.authorization.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->signUp](../methods/auth.signUp.md) + +[$MadelineProto->auth->signIn](../methods/auth.signIn.md) + +[$MadelineProto->auth->importAuthorization](../methods/auth.importAuthorization.md) + +[$MadelineProto->auth->importBotAuthorization](../methods/auth.importBotAuthorization.md) + +[$MadelineProto->auth->checkPassword](../methods/auth.checkPassword.md) + +[$MadelineProto->auth->recoverPassword](../methods/auth.recoverPassword.md) + + + diff --git a/old_docs/API_docs_v71/types/auth.CheckedPhone.md b/old_docs/API_docs_v71/types/auth.CheckedPhone.md new file mode 100644 index 00000000..94af3915 --- /dev/null +++ b/old_docs/API_docs_v71/types/auth.CheckedPhone.md @@ -0,0 +1,22 @@ +--- +title: auth.CheckedPhone +description: constructors and methods of type auth.CheckedPhone +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.CheckedPhone +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.checkedPhone](../constructors/auth.checkedPhone.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->checkPhone](../methods/auth.checkPhone.md) + + + diff --git a/old_docs/API_docs_v71/types/auth.CodeType.md b/old_docs/API_docs_v71/types/auth.CodeType.md new file mode 100644 index 00000000..8d2b308d --- /dev/null +++ b/old_docs/API_docs_v71/types/auth.CodeType.md @@ -0,0 +1,24 @@ +--- +title: auth.CodeType +description: constructors and methods of type auth.CodeType +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.CodeType +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.codeTypeSms](../constructors/auth.codeTypeSms.md) + +[auth.codeTypeCall](../constructors/auth.codeTypeCall.md) + +[auth.codeTypeFlashCall](../constructors/auth.codeTypeFlashCall.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v71/types/auth.ExportedAuthorization.md b/old_docs/API_docs_v71/types/auth.ExportedAuthorization.md new file mode 100644 index 00000000..ccb38d60 --- /dev/null +++ b/old_docs/API_docs_v71/types/auth.ExportedAuthorization.md @@ -0,0 +1,22 @@ +--- +title: auth.ExportedAuthorization +description: constructors and methods of type auth.ExportedAuthorization +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.ExportedAuthorization +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.exportedAuthorization](../constructors/auth.exportedAuthorization.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->exportAuthorization](../methods/auth.exportAuthorization.md) + + + diff --git a/old_docs/API_docs_v71/types/auth.PasswordRecovery.md b/old_docs/API_docs_v71/types/auth.PasswordRecovery.md new file mode 100644 index 00000000..c1c18992 --- /dev/null +++ b/old_docs/API_docs_v71/types/auth.PasswordRecovery.md @@ -0,0 +1,22 @@ +--- +title: auth.PasswordRecovery +description: constructors and methods of type auth.PasswordRecovery +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.PasswordRecovery +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.passwordRecovery](../constructors/auth.passwordRecovery.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->requestPasswordRecovery](../methods/auth.requestPasswordRecovery.md) + + + diff --git a/old_docs/API_docs_v71/types/auth.SentCode.md b/old_docs/API_docs_v71/types/auth.SentCode.md new file mode 100644 index 00000000..c786d77e --- /dev/null +++ b/old_docs/API_docs_v71/types/auth.SentCode.md @@ -0,0 +1,28 @@ +--- +title: auth.SentCode +description: constructors and methods of type auth.SentCode +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.SentCode +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.sentCode](../constructors/auth.sentCode.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->sendCode](../methods/auth.sendCode.md) + +[$MadelineProto->auth->resendCode](../methods/auth.resendCode.md) + +[$MadelineProto->account->sendChangePhoneCode](../methods/account.sendChangePhoneCode.md) + +[$MadelineProto->account->sendConfirmPhoneCode](../methods/account.sendConfirmPhoneCode.md) + + + diff --git a/old_docs/API_docs_v71/types/auth.SentCodeType.md b/old_docs/API_docs_v71/types/auth.SentCodeType.md new file mode 100644 index 00000000..7c7c534e --- /dev/null +++ b/old_docs/API_docs_v71/types/auth.SentCodeType.md @@ -0,0 +1,26 @@ +--- +title: auth.SentCodeType +description: constructors and methods of type auth.SentCodeType +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.SentCodeType +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.sentCodeTypeApp](../constructors/auth.sentCodeTypeApp.md) + +[auth.sentCodeTypeSms](../constructors/auth.sentCodeTypeSms.md) + +[auth.sentCodeTypeCall](../constructors/auth.sentCodeTypeCall.md) + +[auth.sentCodeTypeFlashCall](../constructors/auth.sentCodeTypeFlashCall.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v71/types/auth_Authorization.md b/old_docs/API_docs_v71/types/auth_Authorization.md deleted file mode 100644 index 5a34fc2d..00000000 --- a/old_docs/API_docs_v71/types/auth_Authorization.md +++ /dev/null @@ -1,32 +0,0 @@ ---- -title: auth_Authorization -description: constructors and methods of type auth_Authorization -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_Authorization -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_authorization](../constructors/auth_authorization.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->signUp](../methods/auth_signUp.md) - -[$MadelineProto->auth->signIn](../methods/auth_signIn.md) - -[$MadelineProto->auth->importAuthorization](../methods/auth_importAuthorization.md) - -[$MadelineProto->auth->importBotAuthorization](../methods/auth_importBotAuthorization.md) - -[$MadelineProto->auth->checkPassword](../methods/auth_checkPassword.md) - -[$MadelineProto->auth->recoverPassword](../methods/auth_recoverPassword.md) - - - diff --git a/old_docs/API_docs_v71/types/auth_CheckedPhone.md b/old_docs/API_docs_v71/types/auth_CheckedPhone.md deleted file mode 100644 index e9b0def4..00000000 --- a/old_docs/API_docs_v71/types/auth_CheckedPhone.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: auth_CheckedPhone -description: constructors and methods of type auth_CheckedPhone -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_CheckedPhone -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_checkedPhone](../constructors/auth_checkedPhone.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->checkPhone](../methods/auth_checkPhone.md) - - - diff --git a/old_docs/API_docs_v71/types/auth_CodeType.md b/old_docs/API_docs_v71/types/auth_CodeType.md deleted file mode 100644 index 3cd9a7b7..00000000 --- a/old_docs/API_docs_v71/types/auth_CodeType.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: auth_CodeType -description: constructors and methods of type auth_CodeType -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_CodeType -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_codeTypeSms](../constructors/auth_codeTypeSms.md) - -[auth\_codeTypeCall](../constructors/auth_codeTypeCall.md) - -[auth\_codeTypeFlashCall](../constructors/auth_codeTypeFlashCall.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v71/types/auth_ExportedAuthorization.md b/old_docs/API_docs_v71/types/auth_ExportedAuthorization.md deleted file mode 100644 index 69e5c42e..00000000 --- a/old_docs/API_docs_v71/types/auth_ExportedAuthorization.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: auth_ExportedAuthorization -description: constructors and methods of type auth_ExportedAuthorization -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_ExportedAuthorization -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_exportedAuthorization](../constructors/auth_exportedAuthorization.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->exportAuthorization](../methods/auth_exportAuthorization.md) - - - diff --git a/old_docs/API_docs_v71/types/auth_PasswordRecovery.md b/old_docs/API_docs_v71/types/auth_PasswordRecovery.md deleted file mode 100644 index 4962bf42..00000000 --- a/old_docs/API_docs_v71/types/auth_PasswordRecovery.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: auth_PasswordRecovery -description: constructors and methods of type auth_PasswordRecovery -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_PasswordRecovery -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_passwordRecovery](../constructors/auth_passwordRecovery.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->requestPasswordRecovery](../methods/auth_requestPasswordRecovery.md) - - - diff --git a/old_docs/API_docs_v71/types/auth_SentCode.md b/old_docs/API_docs_v71/types/auth_SentCode.md deleted file mode 100644 index 93734713..00000000 --- a/old_docs/API_docs_v71/types/auth_SentCode.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: auth_SentCode -description: constructors and methods of type auth_SentCode -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_SentCode -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_sentCode](../constructors/auth_sentCode.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->sendCode](../methods/auth_sendCode.md) - -[$MadelineProto->auth->resendCode](../methods/auth_resendCode.md) - -[$MadelineProto->account->sendChangePhoneCode](../methods/account_sendChangePhoneCode.md) - -[$MadelineProto->account->sendConfirmPhoneCode](../methods/account_sendConfirmPhoneCode.md) - - - diff --git a/old_docs/API_docs_v71/types/auth_SentCodeType.md b/old_docs/API_docs_v71/types/auth_SentCodeType.md deleted file mode 100644 index 8dfcb93b..00000000 --- a/old_docs/API_docs_v71/types/auth_SentCodeType.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: auth_SentCodeType -description: constructors and methods of type auth_SentCodeType -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_SentCodeType -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_sentCodeTypeApp](../constructors/auth_sentCodeTypeApp.md) - -[auth\_sentCodeTypeSms](../constructors/auth_sentCodeTypeSms.md) - -[auth\_sentCodeTypeCall](../constructors/auth_sentCodeTypeCall.md) - -[auth\_sentCodeTypeFlashCall](../constructors/auth_sentCodeTypeFlashCall.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v71/types/channels.AdminLogResults.md b/old_docs/API_docs_v71/types/channels.AdminLogResults.md new file mode 100644 index 00000000..7855a4fd --- /dev/null +++ b/old_docs/API_docs_v71/types/channels.AdminLogResults.md @@ -0,0 +1,22 @@ +--- +title: channels.AdminLogResults +description: constructors and methods of type channels.AdminLogResults +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: channels.AdminLogResults +[Back to types index](index.md) + + + +### Possible values (constructors): + +[channels.adminLogResults](../constructors/channels.adminLogResults.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->channels->getAdminLog](../methods/channels.getAdminLog.md) + + + diff --git a/old_docs/API_docs_v71/types/channels.ChannelParticipant.md b/old_docs/API_docs_v71/types/channels.ChannelParticipant.md new file mode 100644 index 00000000..8dc7f7e6 --- /dev/null +++ b/old_docs/API_docs_v71/types/channels.ChannelParticipant.md @@ -0,0 +1,22 @@ +--- +title: channels.ChannelParticipant +description: constructors and methods of type channels.ChannelParticipant +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: channels.ChannelParticipant +[Back to types index](index.md) + + + +### Possible values (constructors): + +[channels.channelParticipant](../constructors/channels.channelParticipant.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->channels->getParticipant](../methods/channels.getParticipant.md) + + + diff --git a/old_docs/API_docs_v71/types/channels.ChannelParticipants.md b/old_docs/API_docs_v71/types/channels.ChannelParticipants.md new file mode 100644 index 00000000..996ab6a6 --- /dev/null +++ b/old_docs/API_docs_v71/types/channels.ChannelParticipants.md @@ -0,0 +1,22 @@ +--- +title: channels.ChannelParticipants +description: constructors and methods of type channels.ChannelParticipants +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: channels.ChannelParticipants +[Back to types index](index.md) + + + +### Possible values (constructors): + +[channels.channelParticipants](../constructors/channels.channelParticipants.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->channels->getParticipants](../methods/channels.getParticipants.md) + + + diff --git a/old_docs/API_docs_v71/types/channels_AdminLogResults.md b/old_docs/API_docs_v71/types/channels_AdminLogResults.md deleted file mode 100644 index 4e9b5544..00000000 --- a/old_docs/API_docs_v71/types/channels_AdminLogResults.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: channels_AdminLogResults -description: constructors and methods of type channels_AdminLogResults -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: channels\_AdminLogResults -[Back to types index](index.md) - - - -### Possible values (constructors): - -[channels\_adminLogResults](../constructors/channels_adminLogResults.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->channels->getAdminLog](../methods/channels_getAdminLog.md) - - - diff --git a/old_docs/API_docs_v71/types/channels_ChannelParticipant.md b/old_docs/API_docs_v71/types/channels_ChannelParticipant.md deleted file mode 100644 index 3d4667c3..00000000 --- a/old_docs/API_docs_v71/types/channels_ChannelParticipant.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: channels_ChannelParticipant -description: constructors and methods of type channels_ChannelParticipant -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: channels\_ChannelParticipant -[Back to types index](index.md) - - - -### Possible values (constructors): - -[channels\_channelParticipant](../constructors/channels_channelParticipant.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->channels->getParticipant](../methods/channels_getParticipant.md) - - - diff --git a/old_docs/API_docs_v71/types/channels_ChannelParticipants.md b/old_docs/API_docs_v71/types/channels_ChannelParticipants.md deleted file mode 100644 index 0500c2cb..00000000 --- a/old_docs/API_docs_v71/types/channels_ChannelParticipants.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: channels_ChannelParticipants -description: constructors and methods of type channels_ChannelParticipants -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: channels\_ChannelParticipants -[Back to types index](index.md) - - - -### Possible values (constructors): - -[channels\_channelParticipants](../constructors/channels_channelParticipants.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->channels->getParticipants](../methods/channels_getParticipants.md) - - - diff --git a/old_docs/API_docs_v71/types/contacts.Blocked.md b/old_docs/API_docs_v71/types/contacts.Blocked.md new file mode 100644 index 00000000..cb2af80f --- /dev/null +++ b/old_docs/API_docs_v71/types/contacts.Blocked.md @@ -0,0 +1,24 @@ +--- +title: contacts.Blocked +description: constructors and methods of type contacts.Blocked +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Blocked +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.blocked](../constructors/contacts.blocked.md) + +[contacts.blockedSlice](../constructors/contacts.blockedSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getBlocked](../methods/contacts.getBlocked.md) + + + diff --git a/old_docs/API_docs_v71/types/contacts.Contacts.md b/old_docs/API_docs_v71/types/contacts.Contacts.md new file mode 100644 index 00000000..5f695d8e --- /dev/null +++ b/old_docs/API_docs_v71/types/contacts.Contacts.md @@ -0,0 +1,24 @@ +--- +title: contacts.Contacts +description: constructors and methods of type contacts.Contacts +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Contacts +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.contactsNotModified](../constructors/contacts.contactsNotModified.md) + +[contacts.contacts](../constructors/contacts.contacts.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getContacts](../methods/contacts.getContacts.md) + + + diff --git a/old_docs/API_docs_v71/types/contacts.Found.md b/old_docs/API_docs_v71/types/contacts.Found.md new file mode 100644 index 00000000..7df98927 --- /dev/null +++ b/old_docs/API_docs_v71/types/contacts.Found.md @@ -0,0 +1,22 @@ +--- +title: contacts.Found +description: constructors and methods of type contacts.Found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Found +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.found](../constructors/contacts.found.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->search](../methods/contacts.search.md) + + + diff --git a/old_docs/API_docs_v71/types/contacts.ImportedContacts.md b/old_docs/API_docs_v71/types/contacts.ImportedContacts.md new file mode 100644 index 00000000..16795bab --- /dev/null +++ b/old_docs/API_docs_v71/types/contacts.ImportedContacts.md @@ -0,0 +1,22 @@ +--- +title: contacts.ImportedContacts +description: constructors and methods of type contacts.ImportedContacts +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.ImportedContacts +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.importedContacts](../constructors/contacts.importedContacts.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->importContacts](../methods/contacts.importContacts.md) + + + diff --git a/old_docs/API_docs_v71/types/contacts.Link.md b/old_docs/API_docs_v71/types/contacts.Link.md new file mode 100644 index 00000000..eb9da683 --- /dev/null +++ b/old_docs/API_docs_v71/types/contacts.Link.md @@ -0,0 +1,22 @@ +--- +title: contacts.Link +description: constructors and methods of type contacts.Link +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Link +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.link](../constructors/contacts.link.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->deleteContact](../methods/contacts.deleteContact.md) + + + diff --git a/old_docs/API_docs_v71/types/contacts.ResolvedPeer.md b/old_docs/API_docs_v71/types/contacts.ResolvedPeer.md new file mode 100644 index 00000000..13630d54 --- /dev/null +++ b/old_docs/API_docs_v71/types/contacts.ResolvedPeer.md @@ -0,0 +1,22 @@ +--- +title: contacts.ResolvedPeer +description: constructors and methods of type contacts.ResolvedPeer +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.ResolvedPeer +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.resolvedPeer](../constructors/contacts.resolvedPeer.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->resolveUsername](../methods/contacts.resolveUsername.md) + + + diff --git a/old_docs/API_docs_v71/types/contacts.TopPeers.md b/old_docs/API_docs_v71/types/contacts.TopPeers.md new file mode 100644 index 00000000..b8107616 --- /dev/null +++ b/old_docs/API_docs_v71/types/contacts.TopPeers.md @@ -0,0 +1,24 @@ +--- +title: contacts.TopPeers +description: constructors and methods of type contacts.TopPeers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.TopPeers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.topPeersNotModified](../constructors/contacts.topPeersNotModified.md) + +[contacts.topPeers](../constructors/contacts.topPeers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getTopPeers](../methods/contacts.getTopPeers.md) + + + diff --git a/old_docs/API_docs_v71/types/contacts_Blocked.md b/old_docs/API_docs_v71/types/contacts_Blocked.md deleted file mode 100644 index 3e1f02eb..00000000 --- a/old_docs/API_docs_v71/types/contacts_Blocked.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: contacts_Blocked -description: constructors and methods of type contacts_Blocked -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Blocked -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_blocked](../constructors/contacts_blocked.md) - -[contacts\_blockedSlice](../constructors/contacts_blockedSlice.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->getBlocked](../methods/contacts_getBlocked.md) - - - diff --git a/old_docs/API_docs_v71/types/contacts_Contacts.md b/old_docs/API_docs_v71/types/contacts_Contacts.md deleted file mode 100644 index 5d6c9506..00000000 --- a/old_docs/API_docs_v71/types/contacts_Contacts.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: contacts_Contacts -description: constructors and methods of type contacts_Contacts -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Contacts -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_contactsNotModified](../constructors/contacts_contactsNotModified.md) - -[contacts\_contacts](../constructors/contacts_contacts.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->getContacts](../methods/contacts_getContacts.md) - - - diff --git a/old_docs/API_docs_v71/types/contacts_Found.md b/old_docs/API_docs_v71/types/contacts_Found.md deleted file mode 100644 index 806101cf..00000000 --- a/old_docs/API_docs_v71/types/contacts_Found.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_Found -description: constructors and methods of type contacts_Found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Found -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_found](../constructors/contacts_found.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->search](../methods/contacts_search.md) - - - diff --git a/old_docs/API_docs_v71/types/contacts_ImportedContacts.md b/old_docs/API_docs_v71/types/contacts_ImportedContacts.md deleted file mode 100644 index faf7e615..00000000 --- a/old_docs/API_docs_v71/types/contacts_ImportedContacts.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_ImportedContacts -description: constructors and methods of type contacts_ImportedContacts -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_ImportedContacts -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_importedContacts](../constructors/contacts_importedContacts.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->importContacts](../methods/contacts_importContacts.md) - - - diff --git a/old_docs/API_docs_v71/types/contacts_Link.md b/old_docs/API_docs_v71/types/contacts_Link.md deleted file mode 100644 index 01556606..00000000 --- a/old_docs/API_docs_v71/types/contacts_Link.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_Link -description: constructors and methods of type contacts_Link -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Link -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_link](../constructors/contacts_link.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->deleteContact](../methods/contacts_deleteContact.md) - - - diff --git a/old_docs/API_docs_v71/types/contacts_ResolvedPeer.md b/old_docs/API_docs_v71/types/contacts_ResolvedPeer.md deleted file mode 100644 index cf107f7c..00000000 --- a/old_docs/API_docs_v71/types/contacts_ResolvedPeer.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_ResolvedPeer -description: constructors and methods of type contacts_ResolvedPeer -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_ResolvedPeer -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_resolvedPeer](../constructors/contacts_resolvedPeer.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->resolveUsername](../methods/contacts_resolveUsername.md) - - - diff --git a/old_docs/API_docs_v71/types/contacts_TopPeers.md b/old_docs/API_docs_v71/types/contacts_TopPeers.md deleted file mode 100644 index fe4255c7..00000000 --- a/old_docs/API_docs_v71/types/contacts_TopPeers.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: contacts_TopPeers -description: constructors and methods of type contacts_TopPeers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_TopPeers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_topPeersNotModified](../constructors/contacts_topPeersNotModified.md) - -[contacts\_topPeers](../constructors/contacts_topPeers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->getTopPeers](../methods/contacts_getTopPeers.md) - - - diff --git a/old_docs/API_docs_v71/types/help.AppUpdate.md b/old_docs/API_docs_v71/types/help.AppUpdate.md new file mode 100644 index 00000000..285ec2b7 --- /dev/null +++ b/old_docs/API_docs_v71/types/help.AppUpdate.md @@ -0,0 +1,24 @@ +--- +title: help.AppUpdate +description: constructors and methods of type help.AppUpdate +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.AppUpdate +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.appUpdate](../constructors/help.appUpdate.md) + +[help.noAppUpdate](../constructors/help.noAppUpdate.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getAppUpdate](../methods/help.getAppUpdate.md) + + + diff --git a/old_docs/API_docs_v71/types/help.ConfigSimple.md b/old_docs/API_docs_v71/types/help.ConfigSimple.md new file mode 100644 index 00000000..92d9e15f --- /dev/null +++ b/old_docs/API_docs_v71/types/help.ConfigSimple.md @@ -0,0 +1,20 @@ +--- +title: help.ConfigSimple +description: constructors and methods of type help.ConfigSimple +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.ConfigSimple +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.configSimple](../constructors/help.configSimple.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v71/types/help.InviteText.md b/old_docs/API_docs_v71/types/help.InviteText.md new file mode 100644 index 00000000..43293f46 --- /dev/null +++ b/old_docs/API_docs_v71/types/help.InviteText.md @@ -0,0 +1,22 @@ +--- +title: help.InviteText +description: constructors and methods of type help.InviteText +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.InviteText +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.inviteText](../constructors/help.inviteText.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getInviteText](../methods/help.getInviteText.md) + + + diff --git a/old_docs/API_docs_v71/types/help.Support.md b/old_docs/API_docs_v71/types/help.Support.md new file mode 100644 index 00000000..42c20483 --- /dev/null +++ b/old_docs/API_docs_v71/types/help.Support.md @@ -0,0 +1,22 @@ +--- +title: help.Support +description: constructors and methods of type help.Support +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.Support +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.support](../constructors/help.support.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getSupport](../methods/help.getSupport.md) + + + diff --git a/old_docs/API_docs_v71/types/help.TermsOfService.md b/old_docs/API_docs_v71/types/help.TermsOfService.md new file mode 100644 index 00000000..6c29d2e6 --- /dev/null +++ b/old_docs/API_docs_v71/types/help.TermsOfService.md @@ -0,0 +1,22 @@ +--- +title: help.TermsOfService +description: constructors and methods of type help.TermsOfService +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.TermsOfService +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.termsOfService](../constructors/help.termsOfService.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getTermsOfService](../methods/help.getTermsOfService.md) + + + diff --git a/old_docs/API_docs_v71/types/help_AppUpdate.md b/old_docs/API_docs_v71/types/help_AppUpdate.md deleted file mode 100644 index 1f296a70..00000000 --- a/old_docs/API_docs_v71/types/help_AppUpdate.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: help_AppUpdate -description: constructors and methods of type help_AppUpdate -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_AppUpdate -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_appUpdate](../constructors/help_appUpdate.md) - -[help\_noAppUpdate](../constructors/help_noAppUpdate.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getAppUpdate](../methods/help_getAppUpdate.md) - - - diff --git a/old_docs/API_docs_v71/types/help_ConfigSimple.md b/old_docs/API_docs_v71/types/help_ConfigSimple.md deleted file mode 100644 index 81678d74..00000000 --- a/old_docs/API_docs_v71/types/help_ConfigSimple.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: help_ConfigSimple -description: constructors and methods of type help_ConfigSimple -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_ConfigSimple -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_configSimple](../constructors/help_configSimple.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v71/types/help_InviteText.md b/old_docs/API_docs_v71/types/help_InviteText.md deleted file mode 100644 index 018d35bf..00000000 --- a/old_docs/API_docs_v71/types/help_InviteText.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: help_InviteText -description: constructors and methods of type help_InviteText -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_InviteText -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_inviteText](../constructors/help_inviteText.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getInviteText](../methods/help_getInviteText.md) - - - diff --git a/old_docs/API_docs_v71/types/help_Support.md b/old_docs/API_docs_v71/types/help_Support.md deleted file mode 100644 index 26de447b..00000000 --- a/old_docs/API_docs_v71/types/help_Support.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: help_Support -description: constructors and methods of type help_Support -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_Support -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_support](../constructors/help_support.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getSupport](../methods/help_getSupport.md) - - - diff --git a/old_docs/API_docs_v71/types/help_TermsOfService.md b/old_docs/API_docs_v71/types/help_TermsOfService.md deleted file mode 100644 index 84a05df3..00000000 --- a/old_docs/API_docs_v71/types/help_TermsOfService.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: help_TermsOfService -description: constructors and methods of type help_TermsOfService -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_TermsOfService -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_termsOfService](../constructors/help_termsOfService.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getTermsOfService](../methods/help_getTermsOfService.md) - - - diff --git a/old_docs/API_docs_v71/types/messages.AffectedHistory.md b/old_docs/API_docs_v71/types/messages.AffectedHistory.md new file mode 100644 index 00000000..f0411b4d --- /dev/null +++ b/old_docs/API_docs_v71/types/messages.AffectedHistory.md @@ -0,0 +1,24 @@ +--- +title: messages.AffectedHistory +description: constructors and methods of type messages.AffectedHistory +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.AffectedHistory +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.affectedHistory](../constructors/messages.affectedHistory.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->deleteHistory](../methods/messages.deleteHistory.md) + +[$MadelineProto->channels->deleteUserHistory](../methods/channels.deleteUserHistory.md) + + + diff --git a/old_docs/API_docs_v71/types/messages.AffectedMessages.md b/old_docs/API_docs_v71/types/messages.AffectedMessages.md new file mode 100644 index 00000000..a9159de3 --- /dev/null +++ b/old_docs/API_docs_v71/types/messages.AffectedMessages.md @@ -0,0 +1,28 @@ +--- +title: messages.AffectedMessages +description: constructors and methods of type messages.AffectedMessages +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.AffectedMessages +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.affectedMessages](../constructors/messages.affectedMessages.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->readHistory](../methods/messages.readHistory.md) + +[$MadelineProto->messages->deleteMessages](../methods/messages.deleteMessages.md) + +[$MadelineProto->messages->readMessageContents](../methods/messages.readMessageContents.md) + +[$MadelineProto->channels->deleteMessages](../methods/channels.deleteMessages.md) + + + diff --git a/old_docs/API_docs_v71/types/messages.AllStickers.md b/old_docs/API_docs_v71/types/messages.AllStickers.md new file mode 100644 index 00000000..fd8565de --- /dev/null +++ b/old_docs/API_docs_v71/types/messages.AllStickers.md @@ -0,0 +1,26 @@ +--- +title: messages.AllStickers +description: constructors and methods of type messages.AllStickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.AllStickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.allStickersNotModified](../constructors/messages.allStickersNotModified.md) + +[messages.allStickers](../constructors/messages.allStickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getAllStickers](../methods/messages.getAllStickers.md) + +[$MadelineProto->messages->getMaskStickers](../methods/messages.getMaskStickers.md) + + + diff --git a/old_docs/API_docs_v71/types/messages.ArchivedStickers.md b/old_docs/API_docs_v71/types/messages.ArchivedStickers.md new file mode 100644 index 00000000..3e017c5d --- /dev/null +++ b/old_docs/API_docs_v71/types/messages.ArchivedStickers.md @@ -0,0 +1,22 @@ +--- +title: messages.ArchivedStickers +description: constructors and methods of type messages.ArchivedStickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.ArchivedStickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.archivedStickers](../constructors/messages.archivedStickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getArchivedStickers](../methods/messages.getArchivedStickers.md) + + + diff --git a/old_docs/API_docs_v71/types/messages.BotCallbackAnswer.md b/old_docs/API_docs_v71/types/messages.BotCallbackAnswer.md new file mode 100644 index 00000000..ef30fbfb --- /dev/null +++ b/old_docs/API_docs_v71/types/messages.BotCallbackAnswer.md @@ -0,0 +1,22 @@ +--- +title: messages.BotCallbackAnswer +description: constructors and methods of type messages.BotCallbackAnswer +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.BotCallbackAnswer +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.botCallbackAnswer](../constructors/messages.botCallbackAnswer.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getBotCallbackAnswer](../methods/messages.getBotCallbackAnswer.md) + + + diff --git a/old_docs/API_docs_v71/types/messages.BotResults.md b/old_docs/API_docs_v71/types/messages.BotResults.md new file mode 100644 index 00000000..76ee2b99 --- /dev/null +++ b/old_docs/API_docs_v71/types/messages.BotResults.md @@ -0,0 +1,22 @@ +--- +title: messages.BotResults +description: constructors and methods of type messages.BotResults +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.BotResults +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.botResults](../constructors/messages.botResults.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getInlineBotResults](../methods/messages.getInlineBotResults.md) + + + diff --git a/old_docs/API_docs_v71/types/messages.ChatFull.md b/old_docs/API_docs_v71/types/messages.ChatFull.md new file mode 100644 index 00000000..3ad38748 --- /dev/null +++ b/old_docs/API_docs_v71/types/messages.ChatFull.md @@ -0,0 +1,24 @@ +--- +title: messages.ChatFull +description: constructors and methods of type messages.ChatFull +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.ChatFull +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.chatFull](../constructors/messages.chatFull.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getFullChat](../methods/messages.getFullChat.md) + +[$MadelineProto->channels->getFullChannel](../methods/channels.getFullChannel.md) + + + diff --git a/old_docs/API_docs_v71/types/messages.Chats.md b/old_docs/API_docs_v71/types/messages.Chats.md new file mode 100644 index 00000000..2c730bf4 --- /dev/null +++ b/old_docs/API_docs_v71/types/messages.Chats.md @@ -0,0 +1,32 @@ +--- +title: messages.Chats +description: constructors and methods of type messages.Chats +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Chats +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.chats](../constructors/messages.chats.md) + +[messages.chatsSlice](../constructors/messages.chatsSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getChats](../methods/messages.getChats.md) + +[$MadelineProto->messages->getCommonChats](../methods/messages.getCommonChats.md) + +[$MadelineProto->messages->getAllChats](../methods/messages.getAllChats.md) + +[$MadelineProto->channels->getChannels](../methods/channels.getChannels.md) + +[$MadelineProto->channels->getAdminedPublicChannels](../methods/channels.getAdminedPublicChannels.md) + + + diff --git a/old_docs/API_docs_v71/types/messages.DhConfig.md b/old_docs/API_docs_v71/types/messages.DhConfig.md new file mode 100644 index 00000000..77188ab7 --- /dev/null +++ b/old_docs/API_docs_v71/types/messages.DhConfig.md @@ -0,0 +1,24 @@ +--- +title: messages.DhConfig +description: constructors and methods of type messages.DhConfig +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.DhConfig +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.dhConfigNotModified](../constructors/messages.dhConfigNotModified.md) + +[messages.dhConfig](../constructors/messages.dhConfig.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getDhConfig](../methods/messages.getDhConfig.md) + + + diff --git a/old_docs/API_docs_v71/types/messages.Dialogs.md b/old_docs/API_docs_v71/types/messages.Dialogs.md new file mode 100644 index 00000000..1a57d535 --- /dev/null +++ b/old_docs/API_docs_v71/types/messages.Dialogs.md @@ -0,0 +1,24 @@ +--- +title: messages.Dialogs +description: constructors and methods of type messages.Dialogs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Dialogs +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.dialogs](../constructors/messages.dialogs.md) + +[messages.dialogsSlice](../constructors/messages.dialogsSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getDialogs](../methods/messages.getDialogs.md) + + + diff --git a/old_docs/API_docs_v71/types/messages.FavedStickers.md b/old_docs/API_docs_v71/types/messages.FavedStickers.md new file mode 100644 index 00000000..3edc863b --- /dev/null +++ b/old_docs/API_docs_v71/types/messages.FavedStickers.md @@ -0,0 +1,24 @@ +--- +title: messages.FavedStickers +description: constructors and methods of type messages.FavedStickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.FavedStickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.favedStickersNotModified](../constructors/messages.favedStickersNotModified.md) + +[messages.favedStickers](../constructors/messages.favedStickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getFavedStickers](../methods/messages.getFavedStickers.md) + + + diff --git a/old_docs/API_docs_v71/types/messages.FeaturedStickers.md b/old_docs/API_docs_v71/types/messages.FeaturedStickers.md new file mode 100644 index 00000000..06ed87bb --- /dev/null +++ b/old_docs/API_docs_v71/types/messages.FeaturedStickers.md @@ -0,0 +1,24 @@ +--- +title: messages.FeaturedStickers +description: constructors and methods of type messages.FeaturedStickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.FeaturedStickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.featuredStickersNotModified](../constructors/messages.featuredStickersNotModified.md) + +[messages.featuredStickers](../constructors/messages.featuredStickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getFeaturedStickers](../methods/messages.getFeaturedStickers.md) + + + diff --git a/old_docs/API_docs_v71/types/messages.FoundGifs.md b/old_docs/API_docs_v71/types/messages.FoundGifs.md new file mode 100644 index 00000000..b5176a5d --- /dev/null +++ b/old_docs/API_docs_v71/types/messages.FoundGifs.md @@ -0,0 +1,22 @@ +--- +title: messages.FoundGifs +description: constructors and methods of type messages.FoundGifs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.FoundGifs +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.foundGifs](../constructors/messages.foundGifs.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->searchGifs](../methods/messages.searchGifs.md) + + + diff --git a/old_docs/API_docs_v71/types/messages.HighScores.md b/old_docs/API_docs_v71/types/messages.HighScores.md new file mode 100644 index 00000000..eae9db66 --- /dev/null +++ b/old_docs/API_docs_v71/types/messages.HighScores.md @@ -0,0 +1,24 @@ +--- +title: messages.HighScores +description: constructors and methods of type messages.HighScores +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.HighScores +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.highScores](../constructors/messages.highScores.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getGameHighScores](../methods/messages.getGameHighScores.md) + +[$MadelineProto->messages->getInlineGameHighScores](../methods/messages.getInlineGameHighScores.md) + + + diff --git a/old_docs/API_docs_v71/types/messages.MessageEditData.md b/old_docs/API_docs_v71/types/messages.MessageEditData.md new file mode 100644 index 00000000..feb572f1 --- /dev/null +++ b/old_docs/API_docs_v71/types/messages.MessageEditData.md @@ -0,0 +1,22 @@ +--- +title: messages.MessageEditData +description: constructors and methods of type messages.MessageEditData +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.MessageEditData +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.messageEditData](../constructors/messages.messageEditData.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getMessageEditData](../methods/messages.getMessageEditData.md) + + + diff --git a/old_docs/API_docs_v71/types/messages.Messages.md b/old_docs/API_docs_v71/types/messages.Messages.md new file mode 100644 index 00000000..c225f6e0 --- /dev/null +++ b/old_docs/API_docs_v71/types/messages.Messages.md @@ -0,0 +1,36 @@ +--- +title: messages.Messages +description: constructors and methods of type messages.Messages +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Messages +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.messages](../constructors/messages.messages.md) + +[messages.messagesSlice](../constructors/messages.messagesSlice.md) + +[messages.channelMessages](../constructors/messages.channelMessages.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getMessages](../methods/messages.getMessages.md) + +[$MadelineProto->messages->getHistory](../methods/messages.getHistory.md) + +[$MadelineProto->messages->search](../methods/messages.search.md) + +[$MadelineProto->messages->searchGlobal](../methods/messages.searchGlobal.md) + +[$MadelineProto->messages->getUnreadMentions](../methods/messages.getUnreadMentions.md) + +[$MadelineProto->channels->getMessages](../methods/channels.getMessages.md) + + + diff --git a/old_docs/API_docs_v71/types/messages.PeerDialogs.md b/old_docs/API_docs_v71/types/messages.PeerDialogs.md new file mode 100644 index 00000000..9a1ceaf0 --- /dev/null +++ b/old_docs/API_docs_v71/types/messages.PeerDialogs.md @@ -0,0 +1,24 @@ +--- +title: messages.PeerDialogs +description: constructors and methods of type messages.PeerDialogs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.PeerDialogs +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.peerDialogs](../constructors/messages.peerDialogs.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getPeerDialogs](../methods/messages.getPeerDialogs.md) + +[$MadelineProto->messages->getPinnedDialogs](../methods/messages.getPinnedDialogs.md) + + + diff --git a/old_docs/API_docs_v71/types/messages.RecentStickers.md b/old_docs/API_docs_v71/types/messages.RecentStickers.md new file mode 100644 index 00000000..e5c49b92 --- /dev/null +++ b/old_docs/API_docs_v71/types/messages.RecentStickers.md @@ -0,0 +1,24 @@ +--- +title: messages.RecentStickers +description: constructors and methods of type messages.RecentStickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.RecentStickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.recentStickersNotModified](../constructors/messages.recentStickersNotModified.md) + +[messages.recentStickers](../constructors/messages.recentStickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getRecentStickers](../methods/messages.getRecentStickers.md) + + + diff --git a/old_docs/API_docs_v71/types/messages.SavedGifs.md b/old_docs/API_docs_v71/types/messages.SavedGifs.md new file mode 100644 index 00000000..99844c98 --- /dev/null +++ b/old_docs/API_docs_v71/types/messages.SavedGifs.md @@ -0,0 +1,24 @@ +--- +title: messages.SavedGifs +description: constructors and methods of type messages.SavedGifs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.SavedGifs +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.savedGifsNotModified](../constructors/messages.savedGifsNotModified.md) + +[messages.savedGifs](../constructors/messages.savedGifs.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getSavedGifs](../methods/messages.getSavedGifs.md) + + + diff --git a/old_docs/API_docs_v71/types/messages.SentEncryptedMessage.md b/old_docs/API_docs_v71/types/messages.SentEncryptedMessage.md new file mode 100644 index 00000000..b6d05b1f --- /dev/null +++ b/old_docs/API_docs_v71/types/messages.SentEncryptedMessage.md @@ -0,0 +1,28 @@ +--- +title: messages.SentEncryptedMessage +description: constructors and methods of type messages.SentEncryptedMessage +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.SentEncryptedMessage +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.sentEncryptedMessage](../constructors/messages.sentEncryptedMessage.md) + +[messages.sentEncryptedFile](../constructors/messages.sentEncryptedFile.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->sendEncrypted](../methods/messages.sendEncrypted.md) + +[$MadelineProto->messages->sendEncryptedFile](../methods/messages.sendEncryptedFile.md) + +[$MadelineProto->messages->sendEncryptedService](../methods/messages.sendEncryptedService.md) + + + diff --git a/old_docs/API_docs_v71/types/messages.StickerSet.md b/old_docs/API_docs_v71/types/messages.StickerSet.md new file mode 100644 index 00000000..e173fe45 --- /dev/null +++ b/old_docs/API_docs_v71/types/messages.StickerSet.md @@ -0,0 +1,30 @@ +--- +title: messages.StickerSet +description: constructors and methods of type messages.StickerSet +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.StickerSet +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.stickerSet](../constructors/messages.stickerSet.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getStickerSet](../methods/messages.getStickerSet.md) + +[$MadelineProto->stickers->createStickerSet](../methods/stickers.createStickerSet.md) + +[$MadelineProto->stickers->removeStickerFromSet](../methods/stickers.removeStickerFromSet.md) + +[$MadelineProto->stickers->changeStickerPosition](../methods/stickers.changeStickerPosition.md) + +[$MadelineProto->stickers->addStickerToSet](../methods/stickers.addStickerToSet.md) + + + diff --git a/old_docs/API_docs_v71/types/messages.StickerSetInstallResult.md b/old_docs/API_docs_v71/types/messages.StickerSetInstallResult.md new file mode 100644 index 00000000..9e09c293 --- /dev/null +++ b/old_docs/API_docs_v71/types/messages.StickerSetInstallResult.md @@ -0,0 +1,24 @@ +--- +title: messages.StickerSetInstallResult +description: constructors and methods of type messages.StickerSetInstallResult +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.StickerSetInstallResult +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.stickerSetInstallResultSuccess](../constructors/messages.stickerSetInstallResultSuccess.md) + +[messages.stickerSetInstallResultArchive](../constructors/messages.stickerSetInstallResultArchive.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->installStickerSet](../methods/messages.installStickerSet.md) + + + diff --git a/old_docs/API_docs_v71/types/messages.Stickers.md b/old_docs/API_docs_v71/types/messages.Stickers.md new file mode 100644 index 00000000..0da398ca --- /dev/null +++ b/old_docs/API_docs_v71/types/messages.Stickers.md @@ -0,0 +1,22 @@ +--- +title: messages.Stickers +description: constructors and methods of type messages.Stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Stickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.stickersNotModified](../constructors/messages.stickersNotModified.md) + +[messages.stickers](../constructors/messages.stickers.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v71/types/messages_AffectedHistory.md b/old_docs/API_docs_v71/types/messages_AffectedHistory.md deleted file mode 100644 index a2d75894..00000000 --- a/old_docs/API_docs_v71/types/messages_AffectedHistory.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_AffectedHistory -description: constructors and methods of type messages_AffectedHistory -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_AffectedHistory -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_affectedHistory](../constructors/messages_affectedHistory.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->deleteHistory](../methods/messages_deleteHistory.md) - -[$MadelineProto->channels->deleteUserHistory](../methods/channels_deleteUserHistory.md) - - - diff --git a/old_docs/API_docs_v71/types/messages_AffectedMessages.md b/old_docs/API_docs_v71/types/messages_AffectedMessages.md deleted file mode 100644 index dcbea721..00000000 --- a/old_docs/API_docs_v71/types/messages_AffectedMessages.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: messages_AffectedMessages -description: constructors and methods of type messages_AffectedMessages -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_AffectedMessages -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_affectedMessages](../constructors/messages_affectedMessages.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->readHistory](../methods/messages_readHistory.md) - -[$MadelineProto->messages->deleteMessages](../methods/messages_deleteMessages.md) - -[$MadelineProto->messages->readMessageContents](../methods/messages_readMessageContents.md) - -[$MadelineProto->channels->deleteMessages](../methods/channels_deleteMessages.md) - - - diff --git a/old_docs/API_docs_v71/types/messages_AllStickers.md b/old_docs/API_docs_v71/types/messages_AllStickers.md deleted file mode 100644 index b6a322e0..00000000 --- a/old_docs/API_docs_v71/types/messages_AllStickers.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: messages_AllStickers -description: constructors and methods of type messages_AllStickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_AllStickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_allStickersNotModified](../constructors/messages_allStickersNotModified.md) - -[messages\_allStickers](../constructors/messages_allStickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getAllStickers](../methods/messages_getAllStickers.md) - -[$MadelineProto->messages->getMaskStickers](../methods/messages_getMaskStickers.md) - - - diff --git a/old_docs/API_docs_v71/types/messages_ArchivedStickers.md b/old_docs/API_docs_v71/types/messages_ArchivedStickers.md deleted file mode 100644 index c569675e..00000000 --- a/old_docs/API_docs_v71/types/messages_ArchivedStickers.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_ArchivedStickers -description: constructors and methods of type messages_ArchivedStickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_ArchivedStickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_archivedStickers](../constructors/messages_archivedStickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getArchivedStickers](../methods/messages_getArchivedStickers.md) - - - diff --git a/old_docs/API_docs_v71/types/messages_BotCallbackAnswer.md b/old_docs/API_docs_v71/types/messages_BotCallbackAnswer.md deleted file mode 100644 index f8d424d0..00000000 --- a/old_docs/API_docs_v71/types/messages_BotCallbackAnswer.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_BotCallbackAnswer -description: constructors and methods of type messages_BotCallbackAnswer -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_BotCallbackAnswer -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_botCallbackAnswer](../constructors/messages_botCallbackAnswer.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getBotCallbackAnswer](../methods/messages_getBotCallbackAnswer.md) - - - diff --git a/old_docs/API_docs_v71/types/messages_BotResults.md b/old_docs/API_docs_v71/types/messages_BotResults.md deleted file mode 100644 index c346c5bd..00000000 --- a/old_docs/API_docs_v71/types/messages_BotResults.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_BotResults -description: constructors and methods of type messages_BotResults -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_BotResults -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_botResults](../constructors/messages_botResults.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getInlineBotResults](../methods/messages_getInlineBotResults.md) - - - diff --git a/old_docs/API_docs_v71/types/messages_ChatFull.md b/old_docs/API_docs_v71/types/messages_ChatFull.md deleted file mode 100644 index e4add41e..00000000 --- a/old_docs/API_docs_v71/types/messages_ChatFull.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_ChatFull -description: constructors and methods of type messages_ChatFull -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_ChatFull -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_chatFull](../constructors/messages_chatFull.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getFullChat](../methods/messages_getFullChat.md) - -[$MadelineProto->channels->getFullChannel](../methods/channels_getFullChannel.md) - - - diff --git a/old_docs/API_docs_v71/types/messages_Chats.md b/old_docs/API_docs_v71/types/messages_Chats.md deleted file mode 100644 index e49a9718..00000000 --- a/old_docs/API_docs_v71/types/messages_Chats.md +++ /dev/null @@ -1,32 +0,0 @@ ---- -title: messages_Chats -description: constructors and methods of type messages_Chats -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Chats -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_chats](../constructors/messages_chats.md) - -[messages\_chatsSlice](../constructors/messages_chatsSlice.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getChats](../methods/messages_getChats.md) - -[$MadelineProto->messages->getCommonChats](../methods/messages_getCommonChats.md) - -[$MadelineProto->messages->getAllChats](../methods/messages_getAllChats.md) - -[$MadelineProto->channels->getChannels](../methods/channels_getChannels.md) - -[$MadelineProto->channels->getAdminedPublicChannels](../methods/channels_getAdminedPublicChannels.md) - - - diff --git a/old_docs/API_docs_v71/types/messages_DhConfig.md b/old_docs/API_docs_v71/types/messages_DhConfig.md deleted file mode 100644 index ce237411..00000000 --- a/old_docs/API_docs_v71/types/messages_DhConfig.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_DhConfig -description: constructors and methods of type messages_DhConfig -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_DhConfig -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_dhConfigNotModified](../constructors/messages_dhConfigNotModified.md) - -[messages\_dhConfig](../constructors/messages_dhConfig.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getDhConfig](../methods/messages_getDhConfig.md) - - - diff --git a/old_docs/API_docs_v71/types/messages_Dialogs.md b/old_docs/API_docs_v71/types/messages_Dialogs.md deleted file mode 100644 index 733a42c5..00000000 --- a/old_docs/API_docs_v71/types/messages_Dialogs.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_Dialogs -description: constructors and methods of type messages_Dialogs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Dialogs -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_dialogs](../constructors/messages_dialogs.md) - -[messages\_dialogsSlice](../constructors/messages_dialogsSlice.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getDialogs](../methods/messages_getDialogs.md) - - - diff --git a/old_docs/API_docs_v71/types/messages_FavedStickers.md b/old_docs/API_docs_v71/types/messages_FavedStickers.md deleted file mode 100644 index 6fa1f221..00000000 --- a/old_docs/API_docs_v71/types/messages_FavedStickers.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_FavedStickers -description: constructors and methods of type messages_FavedStickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_FavedStickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_favedStickersNotModified](../constructors/messages_favedStickersNotModified.md) - -[messages\_favedStickers](../constructors/messages_favedStickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getFavedStickers](../methods/messages_getFavedStickers.md) - - - diff --git a/old_docs/API_docs_v71/types/messages_FeaturedStickers.md b/old_docs/API_docs_v71/types/messages_FeaturedStickers.md deleted file mode 100644 index 9b4c5002..00000000 --- a/old_docs/API_docs_v71/types/messages_FeaturedStickers.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_FeaturedStickers -description: constructors and methods of type messages_FeaturedStickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_FeaturedStickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_featuredStickersNotModified](../constructors/messages_featuredStickersNotModified.md) - -[messages\_featuredStickers](../constructors/messages_featuredStickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getFeaturedStickers](../methods/messages_getFeaturedStickers.md) - - - diff --git a/old_docs/API_docs_v71/types/messages_FoundGifs.md b/old_docs/API_docs_v71/types/messages_FoundGifs.md deleted file mode 100644 index 9dd088ba..00000000 --- a/old_docs/API_docs_v71/types/messages_FoundGifs.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_FoundGifs -description: constructors and methods of type messages_FoundGifs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_FoundGifs -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_foundGifs](../constructors/messages_foundGifs.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->searchGifs](../methods/messages_searchGifs.md) - - - diff --git a/old_docs/API_docs_v71/types/messages_HighScores.md b/old_docs/API_docs_v71/types/messages_HighScores.md deleted file mode 100644 index 9660e255..00000000 --- a/old_docs/API_docs_v71/types/messages_HighScores.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_HighScores -description: constructors and methods of type messages_HighScores -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_HighScores -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_highScores](../constructors/messages_highScores.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getGameHighScores](../methods/messages_getGameHighScores.md) - -[$MadelineProto->messages->getInlineGameHighScores](../methods/messages_getInlineGameHighScores.md) - - - diff --git a/old_docs/API_docs_v71/types/messages_MessageEditData.md b/old_docs/API_docs_v71/types/messages_MessageEditData.md deleted file mode 100644 index ed3c507a..00000000 --- a/old_docs/API_docs_v71/types/messages_MessageEditData.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_MessageEditData -description: constructors and methods of type messages_MessageEditData -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_MessageEditData -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_messageEditData](../constructors/messages_messageEditData.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getMessageEditData](../methods/messages_getMessageEditData.md) - - - diff --git a/old_docs/API_docs_v71/types/messages_Messages.md b/old_docs/API_docs_v71/types/messages_Messages.md deleted file mode 100644 index 30c7bcf7..00000000 --- a/old_docs/API_docs_v71/types/messages_Messages.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -title: messages_Messages -description: constructors and methods of type messages_Messages -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Messages -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_messages](../constructors/messages_messages.md) - -[messages\_messagesSlice](../constructors/messages_messagesSlice.md) - -[messages\_channelMessages](../constructors/messages_channelMessages.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getMessages](../methods/messages_getMessages.md) - -[$MadelineProto->messages->getHistory](../methods/messages_getHistory.md) - -[$MadelineProto->messages->search](../methods/messages_search.md) - -[$MadelineProto->messages->searchGlobal](../methods/messages_searchGlobal.md) - -[$MadelineProto->messages->getUnreadMentions](../methods/messages_getUnreadMentions.md) - -[$MadelineProto->channels->getMessages](../methods/channels_getMessages.md) - - - diff --git a/old_docs/API_docs_v71/types/messages_PeerDialogs.md b/old_docs/API_docs_v71/types/messages_PeerDialogs.md deleted file mode 100644 index 2477931f..00000000 --- a/old_docs/API_docs_v71/types/messages_PeerDialogs.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_PeerDialogs -description: constructors and methods of type messages_PeerDialogs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_PeerDialogs -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_peerDialogs](../constructors/messages_peerDialogs.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getPeerDialogs](../methods/messages_getPeerDialogs.md) - -[$MadelineProto->messages->getPinnedDialogs](../methods/messages_getPinnedDialogs.md) - - - diff --git a/old_docs/API_docs_v71/types/messages_RecentStickers.md b/old_docs/API_docs_v71/types/messages_RecentStickers.md deleted file mode 100644 index 2c9db779..00000000 --- a/old_docs/API_docs_v71/types/messages_RecentStickers.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_RecentStickers -description: constructors and methods of type messages_RecentStickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_RecentStickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_recentStickersNotModified](../constructors/messages_recentStickersNotModified.md) - -[messages\_recentStickers](../constructors/messages_recentStickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getRecentStickers](../methods/messages_getRecentStickers.md) - - - diff --git a/old_docs/API_docs_v71/types/messages_SavedGifs.md b/old_docs/API_docs_v71/types/messages_SavedGifs.md deleted file mode 100644 index ffb000aa..00000000 --- a/old_docs/API_docs_v71/types/messages_SavedGifs.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_SavedGifs -description: constructors and methods of type messages_SavedGifs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_SavedGifs -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_savedGifsNotModified](../constructors/messages_savedGifsNotModified.md) - -[messages\_savedGifs](../constructors/messages_savedGifs.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getSavedGifs](../methods/messages_getSavedGifs.md) - - - diff --git a/old_docs/API_docs_v71/types/messages_SentEncryptedMessage.md b/old_docs/API_docs_v71/types/messages_SentEncryptedMessage.md deleted file mode 100644 index 9f7ab935..00000000 --- a/old_docs/API_docs_v71/types/messages_SentEncryptedMessage.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: messages_SentEncryptedMessage -description: constructors and methods of type messages_SentEncryptedMessage -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_SentEncryptedMessage -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_sentEncryptedMessage](../constructors/messages_sentEncryptedMessage.md) - -[messages\_sentEncryptedFile](../constructors/messages_sentEncryptedFile.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->sendEncrypted](../methods/messages_sendEncrypted.md) - -[$MadelineProto->messages->sendEncryptedFile](../methods/messages_sendEncryptedFile.md) - -[$MadelineProto->messages->sendEncryptedService](../methods/messages_sendEncryptedService.md) - - - diff --git a/old_docs/API_docs_v71/types/messages_StickerSet.md b/old_docs/API_docs_v71/types/messages_StickerSet.md deleted file mode 100644 index 98e34dd2..00000000 --- a/old_docs/API_docs_v71/types/messages_StickerSet.md +++ /dev/null @@ -1,30 +0,0 @@ ---- -title: messages_StickerSet -description: constructors and methods of type messages_StickerSet -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_StickerSet -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_stickerSet](../constructors/messages_stickerSet.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getStickerSet](../methods/messages_getStickerSet.md) - -[$MadelineProto->stickers->createStickerSet](../methods/stickers_createStickerSet.md) - -[$MadelineProto->stickers->removeStickerFromSet](../methods/stickers_removeStickerFromSet.md) - -[$MadelineProto->stickers->changeStickerPosition](../methods/stickers_changeStickerPosition.md) - -[$MadelineProto->stickers->addStickerToSet](../methods/stickers_addStickerToSet.md) - - - diff --git a/old_docs/API_docs_v71/types/messages_StickerSetInstallResult.md b/old_docs/API_docs_v71/types/messages_StickerSetInstallResult.md deleted file mode 100644 index bb62ec11..00000000 --- a/old_docs/API_docs_v71/types/messages_StickerSetInstallResult.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_StickerSetInstallResult -description: constructors and methods of type messages_StickerSetInstallResult -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_StickerSetInstallResult -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_stickerSetInstallResultSuccess](../constructors/messages_stickerSetInstallResultSuccess.md) - -[messages\_stickerSetInstallResultArchive](../constructors/messages_stickerSetInstallResultArchive.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->installStickerSet](../methods/messages_installStickerSet.md) - - - diff --git a/old_docs/API_docs_v71/types/messages_Stickers.md b/old_docs/API_docs_v71/types/messages_Stickers.md deleted file mode 100644 index c0fa45cc..00000000 --- a/old_docs/API_docs_v71/types/messages_Stickers.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_Stickers -description: constructors and methods of type messages_Stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Stickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_stickersNotModified](../constructors/messages_stickersNotModified.md) - -[messages\_stickers](../constructors/messages_stickers.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v71/types/payments.PaymentForm.md b/old_docs/API_docs_v71/types/payments.PaymentForm.md new file mode 100644 index 00000000..985c1957 --- /dev/null +++ b/old_docs/API_docs_v71/types/payments.PaymentForm.md @@ -0,0 +1,22 @@ +--- +title: payments.PaymentForm +description: constructors and methods of type payments.PaymentForm +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: payments.PaymentForm +[Back to types index](index.md) + + + +### Possible values (constructors): + +[payments.paymentForm](../constructors/payments.paymentForm.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->payments->getPaymentForm](../methods/payments.getPaymentForm.md) + + + diff --git a/old_docs/API_docs_v71/types/payments.PaymentReceipt.md b/old_docs/API_docs_v71/types/payments.PaymentReceipt.md new file mode 100644 index 00000000..45cebd47 --- /dev/null +++ b/old_docs/API_docs_v71/types/payments.PaymentReceipt.md @@ -0,0 +1,22 @@ +--- +title: payments.PaymentReceipt +description: constructors and methods of type payments.PaymentReceipt +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: payments.PaymentReceipt +[Back to types index](index.md) + + + +### Possible values (constructors): + +[payments.paymentReceipt](../constructors/payments.paymentReceipt.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->payments->getPaymentReceipt](../methods/payments.getPaymentReceipt.md) + + + diff --git a/old_docs/API_docs_v71/types/payments.PaymentResult.md b/old_docs/API_docs_v71/types/payments.PaymentResult.md new file mode 100644 index 00000000..9bbff9af --- /dev/null +++ b/old_docs/API_docs_v71/types/payments.PaymentResult.md @@ -0,0 +1,24 @@ +--- +title: payments.PaymentResult +description: constructors and methods of type payments.PaymentResult +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: payments.PaymentResult +[Back to types index](index.md) + + + +### Possible values (constructors): + +[payments.paymentResult](../constructors/payments.paymentResult.md) + +[payments.paymentVerficationNeeded](../constructors/payments.paymentVerficationNeeded.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->payments->sendPaymentForm](../methods/payments.sendPaymentForm.md) + + + diff --git a/old_docs/API_docs_v71/types/payments.SavedInfo.md b/old_docs/API_docs_v71/types/payments.SavedInfo.md new file mode 100644 index 00000000..cf7be16c --- /dev/null +++ b/old_docs/API_docs_v71/types/payments.SavedInfo.md @@ -0,0 +1,22 @@ +--- +title: payments.SavedInfo +description: constructors and methods of type payments.SavedInfo +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: payments.SavedInfo +[Back to types index](index.md) + + + +### Possible values (constructors): + +[payments.savedInfo](../constructors/payments.savedInfo.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->payments->getSavedInfo](../methods/payments.getSavedInfo.md) + + + diff --git a/old_docs/API_docs_v71/types/payments.ValidatedRequestedInfo.md b/old_docs/API_docs_v71/types/payments.ValidatedRequestedInfo.md new file mode 100644 index 00000000..653a5064 --- /dev/null +++ b/old_docs/API_docs_v71/types/payments.ValidatedRequestedInfo.md @@ -0,0 +1,22 @@ +--- +title: payments.ValidatedRequestedInfo +description: constructors and methods of type payments.ValidatedRequestedInfo +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: payments.ValidatedRequestedInfo +[Back to types index](index.md) + + + +### Possible values (constructors): + +[payments.validatedRequestedInfo](../constructors/payments.validatedRequestedInfo.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->payments->validateRequestedInfo](../methods/payments.validateRequestedInfo.md) + + + diff --git a/old_docs/API_docs_v71/types/payments_PaymentForm.md b/old_docs/API_docs_v71/types/payments_PaymentForm.md deleted file mode 100644 index 4662586d..00000000 --- a/old_docs/API_docs_v71/types/payments_PaymentForm.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: payments_PaymentForm -description: constructors and methods of type payments_PaymentForm -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: payments\_PaymentForm -[Back to types index](index.md) - - - -### Possible values (constructors): - -[payments\_paymentForm](../constructors/payments_paymentForm.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->payments->getPaymentForm](../methods/payments_getPaymentForm.md) - - - diff --git a/old_docs/API_docs_v71/types/payments_PaymentReceipt.md b/old_docs/API_docs_v71/types/payments_PaymentReceipt.md deleted file mode 100644 index b4770d2a..00000000 --- a/old_docs/API_docs_v71/types/payments_PaymentReceipt.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: payments_PaymentReceipt -description: constructors and methods of type payments_PaymentReceipt -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: payments\_PaymentReceipt -[Back to types index](index.md) - - - -### Possible values (constructors): - -[payments\_paymentReceipt](../constructors/payments_paymentReceipt.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->payments->getPaymentReceipt](../methods/payments_getPaymentReceipt.md) - - - diff --git a/old_docs/API_docs_v71/types/payments_PaymentResult.md b/old_docs/API_docs_v71/types/payments_PaymentResult.md deleted file mode 100644 index 3c0ad411..00000000 --- a/old_docs/API_docs_v71/types/payments_PaymentResult.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: payments_PaymentResult -description: constructors and methods of type payments_PaymentResult -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: payments\_PaymentResult -[Back to types index](index.md) - - - -### Possible values (constructors): - -[payments\_paymentResult](../constructors/payments_paymentResult.md) - -[payments\_paymentVerficationNeeded](../constructors/payments_paymentVerficationNeeded.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->payments->sendPaymentForm](../methods/payments_sendPaymentForm.md) - - - diff --git a/old_docs/API_docs_v71/types/payments_SavedInfo.md b/old_docs/API_docs_v71/types/payments_SavedInfo.md deleted file mode 100644 index c8f7b9e3..00000000 --- a/old_docs/API_docs_v71/types/payments_SavedInfo.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: payments_SavedInfo -description: constructors and methods of type payments_SavedInfo -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: payments\_SavedInfo -[Back to types index](index.md) - - - -### Possible values (constructors): - -[payments\_savedInfo](../constructors/payments_savedInfo.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->payments->getSavedInfo](../methods/payments_getSavedInfo.md) - - - diff --git a/old_docs/API_docs_v71/types/payments_ValidatedRequestedInfo.md b/old_docs/API_docs_v71/types/payments_ValidatedRequestedInfo.md deleted file mode 100644 index ff6c4e39..00000000 --- a/old_docs/API_docs_v71/types/payments_ValidatedRequestedInfo.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: payments_ValidatedRequestedInfo -description: constructors and methods of type payments_ValidatedRequestedInfo -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: payments\_ValidatedRequestedInfo -[Back to types index](index.md) - - - -### Possible values (constructors): - -[payments\_validatedRequestedInfo](../constructors/payments_validatedRequestedInfo.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->payments->validateRequestedInfo](../methods/payments_validateRequestedInfo.md) - - - diff --git a/old_docs/API_docs_v71/types/phone.PhoneCall.md b/old_docs/API_docs_v71/types/phone.PhoneCall.md new file mode 100644 index 00000000..db0708e9 --- /dev/null +++ b/old_docs/API_docs_v71/types/phone.PhoneCall.md @@ -0,0 +1,26 @@ +--- +title: phone.PhoneCall +description: constructors and methods of type phone.PhoneCall +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: phone.PhoneCall +[Back to types index](index.md) + + + +### Possible values (constructors): + +[phone.phoneCall](../constructors/phone.phoneCall.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->phone->requestCall](../methods/phone.requestCall.md) + +[$MadelineProto->phone->acceptCall](../methods/phone.acceptCall.md) + +[$MadelineProto->phone->confirmCall](../methods/phone.confirmCall.md) + + + diff --git a/old_docs/API_docs_v71/types/phone_PhoneCall.md b/old_docs/API_docs_v71/types/phone_PhoneCall.md deleted file mode 100644 index 0a49d482..00000000 --- a/old_docs/API_docs_v71/types/phone_PhoneCall.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: phone_PhoneCall -description: constructors and methods of type phone_PhoneCall -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: phone\_PhoneCall -[Back to types index](index.md) - - - -### Possible values (constructors): - -[phone\_phoneCall](../constructors/phone_phoneCall.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->phone->requestCall](../methods/phone_requestCall.md) - -[$MadelineProto->phone->acceptCall](../methods/phone_acceptCall.md) - -[$MadelineProto->phone->confirmCall](../methods/phone_confirmCall.md) - - - diff --git a/old_docs/API_docs_v71/types/photos.Photo.md b/old_docs/API_docs_v71/types/photos.Photo.md new file mode 100644 index 00000000..d60f203c --- /dev/null +++ b/old_docs/API_docs_v71/types/photos.Photo.md @@ -0,0 +1,22 @@ +--- +title: photos.Photo +description: constructors and methods of type photos.Photo +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: photos.Photo +[Back to types index](index.md) + + + +### Possible values (constructors): + +[photos.photo](../constructors/photos.photo.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->photos->uploadProfilePhoto](../methods/photos.uploadProfilePhoto.md) + + + diff --git a/old_docs/API_docs_v71/types/photos.Photos.md b/old_docs/API_docs_v71/types/photos.Photos.md new file mode 100644 index 00000000..fff0e296 --- /dev/null +++ b/old_docs/API_docs_v71/types/photos.Photos.md @@ -0,0 +1,24 @@ +--- +title: photos.Photos +description: constructors and methods of type photos.Photos +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: photos.Photos +[Back to types index](index.md) + + + +### Possible values (constructors): + +[photos.photos](../constructors/photos.photos.md) + +[photos.photosSlice](../constructors/photos.photosSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->photos->getUserPhotos](../methods/photos.getUserPhotos.md) + + + diff --git a/old_docs/API_docs_v71/types/photos_Photo.md b/old_docs/API_docs_v71/types/photos_Photo.md deleted file mode 100644 index d11bbdef..00000000 --- a/old_docs/API_docs_v71/types/photos_Photo.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: photos_Photo -description: constructors and methods of type photos_Photo -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: photos\_Photo -[Back to types index](index.md) - - - -### Possible values (constructors): - -[photos\_photo](../constructors/photos_photo.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->photos->uploadProfilePhoto](../methods/photos_uploadProfilePhoto.md) - - - diff --git a/old_docs/API_docs_v71/types/photos_Photos.md b/old_docs/API_docs_v71/types/photos_Photos.md deleted file mode 100644 index 9875ad70..00000000 --- a/old_docs/API_docs_v71/types/photos_Photos.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: photos_Photos -description: constructors and methods of type photos_Photos -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: photos\_Photos -[Back to types index](index.md) - - - -### Possible values (constructors): - -[photos\_photos](../constructors/photos_photos.md) - -[photos\_photosSlice](../constructors/photos_photosSlice.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->photos->getUserPhotos](../methods/photos_getUserPhotos.md) - - - diff --git a/old_docs/API_docs_v71/types/storage.FileType.md b/old_docs/API_docs_v71/types/storage.FileType.md new file mode 100644 index 00000000..32f1bb72 --- /dev/null +++ b/old_docs/API_docs_v71/types/storage.FileType.md @@ -0,0 +1,38 @@ +--- +title: storage.FileType +description: constructors and methods of type storage.FileType +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: storage.FileType +[Back to types index](index.md) + + + +### Possible values (constructors): + +[storage.fileUnknown](../constructors/storage.fileUnknown.md) + +[storage.filePartial](../constructors/storage.filePartial.md) + +[storage.fileJpeg](../constructors/storage.fileJpeg.md) + +[storage.fileGif](../constructors/storage.fileGif.md) + +[storage.filePng](../constructors/storage.filePng.md) + +[storage.filePdf](../constructors/storage.filePdf.md) + +[storage.fileMp3](../constructors/storage.fileMp3.md) + +[storage.fileMov](../constructors/storage.fileMov.md) + +[storage.fileMp4](../constructors/storage.fileMp4.md) + +[storage.fileWebp](../constructors/storage.fileWebp.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v71/types/storage_FileType.md b/old_docs/API_docs_v71/types/storage_FileType.md deleted file mode 100644 index 22118805..00000000 --- a/old_docs/API_docs_v71/types/storage_FileType.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: storage_FileType -description: constructors and methods of type storage_FileType -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: storage\_FileType -[Back to types index](index.md) - - - -### Possible values (constructors): - -[storage\_fileUnknown](../constructors/storage_fileUnknown.md) - -[storage\_filePartial](../constructors/storage_filePartial.md) - -[storage\_fileJpeg](../constructors/storage_fileJpeg.md) - -[storage\_fileGif](../constructors/storage_fileGif.md) - -[storage\_filePng](../constructors/storage_filePng.md) - -[storage\_filePdf](../constructors/storage_filePdf.md) - -[storage\_fileMp3](../constructors/storage_fileMp3.md) - -[storage\_fileMov](../constructors/storage_fileMov.md) - -[storage\_fileMp4](../constructors/storage_fileMp4.md) - -[storage\_fileWebp](../constructors/storage_fileWebp.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v71/types/updates.ChannelDifference.md b/old_docs/API_docs_v71/types/updates.ChannelDifference.md new file mode 100644 index 00000000..ac889a1e --- /dev/null +++ b/old_docs/API_docs_v71/types/updates.ChannelDifference.md @@ -0,0 +1,26 @@ +--- +title: updates.ChannelDifference +description: constructors and methods of type updates.ChannelDifference +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: updates.ChannelDifference +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updates.channelDifferenceEmpty](../constructors/updates.channelDifferenceEmpty.md) + +[updates.channelDifferenceTooLong](../constructors/updates.channelDifferenceTooLong.md) + +[updates.channelDifference](../constructors/updates.channelDifference.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->updates->getChannelDifference](../methods/updates.getChannelDifference.md) + + + diff --git a/old_docs/API_docs_v71/types/updates.Difference.md b/old_docs/API_docs_v71/types/updates.Difference.md new file mode 100644 index 00000000..0c1a1b6e --- /dev/null +++ b/old_docs/API_docs_v71/types/updates.Difference.md @@ -0,0 +1,28 @@ +--- +title: updates.Difference +description: constructors and methods of type updates.Difference +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: updates.Difference +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updates.differenceEmpty](../constructors/updates.differenceEmpty.md) + +[updates.difference](../constructors/updates.difference.md) + +[updates.differenceSlice](../constructors/updates.differenceSlice.md) + +[updates.differenceTooLong](../constructors/updates.differenceTooLong.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->updates->getDifference](../methods/updates.getDifference.md) + + + diff --git a/old_docs/API_docs_v71/types/updates.State.md b/old_docs/API_docs_v71/types/updates.State.md new file mode 100644 index 00000000..49bbb7fd --- /dev/null +++ b/old_docs/API_docs_v71/types/updates.State.md @@ -0,0 +1,22 @@ +--- +title: updates.State +description: constructors and methods of type updates.State +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: updates.State +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updates.state](../constructors/updates.state.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->updates->getState](../methods/updates.getState.md) + + + diff --git a/old_docs/API_docs_v71/types/updates_ChannelDifference.md b/old_docs/API_docs_v71/types/updates_ChannelDifference.md deleted file mode 100644 index dc988692..00000000 --- a/old_docs/API_docs_v71/types/updates_ChannelDifference.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: updates_ChannelDifference -description: constructors and methods of type updates_ChannelDifference -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: updates\_ChannelDifference -[Back to types index](index.md) - - - -### Possible values (constructors): - -[updates\_channelDifferenceEmpty](../constructors/updates_channelDifferenceEmpty.md) - -[updates\_channelDifferenceTooLong](../constructors/updates_channelDifferenceTooLong.md) - -[updates\_channelDifference](../constructors/updates_channelDifference.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->updates->getChannelDifference](../methods/updates_getChannelDifference.md) - - - diff --git a/old_docs/API_docs_v71/types/updates_Difference.md b/old_docs/API_docs_v71/types/updates_Difference.md deleted file mode 100644 index 50bb098e..00000000 --- a/old_docs/API_docs_v71/types/updates_Difference.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: updates_Difference -description: constructors and methods of type updates_Difference -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: updates\_Difference -[Back to types index](index.md) - - - -### Possible values (constructors): - -[updates\_differenceEmpty](../constructors/updates_differenceEmpty.md) - -[updates\_difference](../constructors/updates_difference.md) - -[updates\_differenceSlice](../constructors/updates_differenceSlice.md) - -[updates\_differenceTooLong](../constructors/updates_differenceTooLong.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->updates->getDifference](../methods/updates_getDifference.md) - - - diff --git a/old_docs/API_docs_v71/types/updates_State.md b/old_docs/API_docs_v71/types/updates_State.md deleted file mode 100644 index 7a441145..00000000 --- a/old_docs/API_docs_v71/types/updates_State.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: updates_State -description: constructors and methods of type updates_State -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: updates\_State -[Back to types index](index.md) - - - -### Possible values (constructors): - -[updates\_state](../constructors/updates_state.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->updates->getState](../methods/updates_getState.md) - - - diff --git a/old_docs/API_docs_v71/types/upload.CdnFile.md b/old_docs/API_docs_v71/types/upload.CdnFile.md new file mode 100644 index 00000000..396c4bf4 --- /dev/null +++ b/old_docs/API_docs_v71/types/upload.CdnFile.md @@ -0,0 +1,24 @@ +--- +title: upload.CdnFile +description: constructors and methods of type upload.CdnFile +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: upload.CdnFile +[Back to types index](index.md) + + + +### Possible values (constructors): + +[upload.cdnFileReuploadNeeded](../constructors/upload.cdnFileReuploadNeeded.md) + +[upload.cdnFile](../constructors/upload.cdnFile.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->upload->getCdnFile](../methods/upload.getCdnFile.md) + + + diff --git a/old_docs/API_docs_v71/types/upload.File.md b/old_docs/API_docs_v71/types/upload.File.md new file mode 100644 index 00000000..6963341b --- /dev/null +++ b/old_docs/API_docs_v71/types/upload.File.md @@ -0,0 +1,24 @@ +--- +title: upload.File +description: constructors and methods of type upload.File +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: upload.File +[Back to types index](index.md) + + + +### Possible values (constructors): + +[upload.file](../constructors/upload.file.md) + +[upload.fileCdnRedirect](../constructors/upload.fileCdnRedirect.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->upload->getFile](../methods/upload.getFile.md) + + + diff --git a/old_docs/API_docs_v71/types/upload.WebFile.md b/old_docs/API_docs_v71/types/upload.WebFile.md new file mode 100644 index 00000000..e834457b --- /dev/null +++ b/old_docs/API_docs_v71/types/upload.WebFile.md @@ -0,0 +1,22 @@ +--- +title: upload.WebFile +description: constructors and methods of type upload.WebFile +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: upload.WebFile +[Back to types index](index.md) + + + +### Possible values (constructors): + +[upload.webFile](../constructors/upload.webFile.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->upload->getWebFile](../methods/upload.getWebFile.md) + + + diff --git a/old_docs/API_docs_v71/types/upload_CdnFile.md b/old_docs/API_docs_v71/types/upload_CdnFile.md deleted file mode 100644 index 51ae2e68..00000000 --- a/old_docs/API_docs_v71/types/upload_CdnFile.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: upload_CdnFile -description: constructors and methods of type upload_CdnFile -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: upload\_CdnFile -[Back to types index](index.md) - - - -### Possible values (constructors): - -[upload\_cdnFileReuploadNeeded](../constructors/upload_cdnFileReuploadNeeded.md) - -[upload\_cdnFile](../constructors/upload_cdnFile.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->upload->getCdnFile](../methods/upload_getCdnFile.md) - - - diff --git a/old_docs/API_docs_v71/types/upload_File.md b/old_docs/API_docs_v71/types/upload_File.md deleted file mode 100644 index 00e0f9cb..00000000 --- a/old_docs/API_docs_v71/types/upload_File.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: upload_File -description: constructors and methods of type upload_File -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: upload\_File -[Back to types index](index.md) - - - -### Possible values (constructors): - -[upload\_file](../constructors/upload_file.md) - -[upload\_fileCdnRedirect](../constructors/upload_fileCdnRedirect.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->upload->getFile](../methods/upload_getFile.md) - - - diff --git a/old_docs/API_docs_v71/types/upload_WebFile.md b/old_docs/API_docs_v71/types/upload_WebFile.md deleted file mode 100644 index 9a86264f..00000000 --- a/old_docs/API_docs_v71/types/upload_WebFile.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: upload_WebFile -description: constructors and methods of type upload_WebFile -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: upload\_WebFile -[Back to types index](index.md) - - - -### Possible values (constructors): - -[upload\_webFile](../constructors/upload_webFile.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->upload->getWebFile](../methods/upload_getWebFile.md) - - - diff --git a/old_docs/API_docs_v72/constructors/README.md b/old_docs/API_docs_v72/constructors/README.md index a7c7d95b..e06cdea4 100644 --- a/old_docs/API_docs_v72/constructors/README.md +++ b/old_docs/API_docs_v72/constructors/README.md @@ -6,48 +6,65 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png # Constructors [Back to API documentation index](..) +*** +

[$account.authorizations](../constructors/account.authorizations.md) = \['authorizations' => \[[Authorization](../types/Authorization.md)\], \]; + +*** +

[$account.noPassword](../constructors/account.noPassword.md) = \['new_salt' => [bytes](../types/bytes.md), 'email_unconfirmed_pattern' => [string](../types/string.md), \]; + +*** +

[$account.password](../constructors/account.password.md) = \['current_salt' => [bytes](../types/bytes.md), 'new_salt' => [bytes](../types/bytes.md), 'hint' => [string](../types/string.md), 'has_recovery' => [Bool](../types/Bool.md), 'email_unconfirmed_pattern' => [string](../types/string.md), \]; + +*** +

[$account.passwordInputSettings](../constructors/account.passwordInputSettings.md) = \['new_salt' => [bytes](../types/bytes.md), 'new_password_hash' => [bytes](../types/bytes.md), 'hint' => [string](../types/string.md), 'email' => [string](../types/string.md), \]; + +*** +

[$account.passwordSettings](../constructors/account.passwordSettings.md) = \['email' => [string](../types/string.md), \]; + +*** +

[$account.privacyRules](../constructors/account.privacyRules.md) = \['rules' => \[[PrivacyRule](../types/PrivacyRule.md)\], 'users' => \[[User](../types/User.md)\], \]; + +*** +

[$account.tmpPassword](../constructors/account.tmpPassword.md) = \['tmp_password' => [bytes](../types/bytes.md), 'valid_until' => [int](../types/int.md), \]; + ***

[$accountDaysTTL](../constructors/accountDaysTTL.md) = \['days' => [int](../types/int.md), \]; *** -

[$account\_authorizations](../constructors/account_authorizations.md) = \['authorizations' => \[[Authorization](../types/Authorization.md)\], \]; - -[$account\_noPassword](../constructors/account_noPassword.md) = \['new_salt' => [bytes](../types/bytes.md), 'email_unconfirmed_pattern' => [string](../types/string.md), \]; - -[$account\_password](../constructors/account_password.md) = \['current_salt' => [bytes](../types/bytes.md), 'new_salt' => [bytes](../types/bytes.md), 'hint' => [string](../types/string.md), 'has_recovery' => [Bool](../types/Bool.md), 'email_unconfirmed_pattern' => [string](../types/string.md), \]; - -[$account\_passwordInputSettings](../constructors/account_passwordInputSettings.md) = \['new_salt' => [bytes](../types/bytes.md), 'new_password_hash' => [bytes](../types/bytes.md), 'hint' => [string](../types/string.md), 'email' => [string](../types/string.md), \]; - -[$account\_passwordSettings](../constructors/account_passwordSettings.md) = \['email' => [string](../types/string.md), \]; - -[$account\_privacyRules](../constructors/account_privacyRules.md) = \['rules' => \[[PrivacyRule](../types/PrivacyRule.md)\], 'users' => \[[User](../types/User.md)\], \]; - -[$account\_tmpPassword](../constructors/account_tmpPassword.md) = \['tmp_password' => [bytes](../types/bytes.md), 'valid_until' => [int](../types/int.md), \]; +

[$auth.authorization](../constructors/auth.authorization.md) = \['tmp_sessions' => [int](../types/int.md), 'user' => [User](../types/User.md), \]; *** -

[$auth\_authorization](../constructors/auth_authorization.md) = \['tmp_sessions' => [int](../types/int.md), 'user' => [User](../types/User.md), \]; +

[$auth.checkedPhone](../constructors/auth.checkedPhone.md) = \['phone_registered' => [Bool](../types/Bool.md), \]; -[$auth\_checkedPhone](../constructors/auth_checkedPhone.md) = \['phone_registered' => [Bool](../types/Bool.md), \]; +*** +

[$auth.codeTypeCall](../constructors/auth.codeTypeCall.md) = \[\]; -[$auth\_codeTypeCall](../constructors/auth_codeTypeCall.md) = \[\]; +*** +

[$auth.codeTypeFlashCall](../constructors/auth.codeTypeFlashCall.md) = \[\]; -[$auth\_codeTypeFlashCall](../constructors/auth_codeTypeFlashCall.md) = \[\]; +*** +

[$auth.codeTypeSms](../constructors/auth.codeTypeSms.md) = \[\]; -[$auth\_codeTypeSms](../constructors/auth_codeTypeSms.md) = \[\]; +*** +

[$auth.exportedAuthorization](../constructors/auth.exportedAuthorization.md) = \['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; -[$auth\_exportedAuthorization](../constructors/auth_exportedAuthorization.md) = \['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; +*** +

[$auth.passwordRecovery](../constructors/auth.passwordRecovery.md) = \['email_pattern' => [string](../types/string.md), \]; -[$auth\_passwordRecovery](../constructors/auth_passwordRecovery.md) = \['email_pattern' => [string](../types/string.md), \]; +*** +

[$auth.sentCode](../constructors/auth.sentCode.md) = \['phone_registered' => [Bool](../types/Bool.md), 'type' => [auth.SentCodeType](../types/auth.SentCodeType.md), 'phone_code_hash' => [string](../types/string.md), 'next_type' => [auth.CodeType](../types/auth.CodeType.md), 'timeout' => [int](../types/int.md), \]; -[$auth\_sentCode](../constructors/auth_sentCode.md) = \['phone_registered' => [Bool](../types/Bool.md), 'type' => [auth.SentCodeType](../types/auth.SentCodeType.md), 'phone_code_hash' => [string](../types/string.md), 'next_type' => [auth.CodeType](../types/auth.CodeType.md), 'timeout' => [int](../types/int.md), \]; +*** +

[$auth.sentCodeTypeApp](../constructors/auth.sentCodeTypeApp.md) = \['length' => [int](../types/int.md), \]; -[$auth\_sentCodeTypeApp](../constructors/auth_sentCodeTypeApp.md) = \['length' => [int](../types/int.md), \]; +*** +

[$auth.sentCodeTypeCall](../constructors/auth.sentCodeTypeCall.md) = \['length' => [int](../types/int.md), \]; -[$auth\_sentCodeTypeCall](../constructors/auth_sentCodeTypeCall.md) = \['length' => [int](../types/int.md), \]; +*** +

[$auth.sentCodeTypeFlashCall](../constructors/auth.sentCodeTypeFlashCall.md) = \['pattern' => [string](../types/string.md), \]; -[$auth\_sentCodeTypeFlashCall](../constructors/auth_sentCodeTypeFlashCall.md) = \['pattern' => [string](../types/string.md), \]; - -[$auth\_sentCodeTypeSms](../constructors/auth_sentCodeTypeSms.md) = \['length' => [int](../types/int.md), \]; +*** +

[$auth.sentCodeTypeSms](../constructors/auth.sentCodeTypeSms.md) = \['length' => [int](../types/int.md), \]; ***

[$authorization](../constructors/authorization.md) = \['hash' => [long](../types/long.md), 'device_model' => [string](../types/string.md), 'platform' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'api_id' => [int](../types/int.md), 'app_name' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'date_created' => [int](../types/int.md), 'date_active' => [int](../types/int.md), 'ip' => [string](../types/string.md), 'country' => [string](../types/string.md), 'region' => [string](../types/string.md), \]; @@ -208,13 +225,16 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$channelParticipantsSearch](../constructors/channelParticipantsSearch.md) = \['q' => [string](../types/string.md), \]; *** -

[$channels\_adminLogResults](../constructors/channels_adminLogResults.md) = \['events' => \[[ChannelAdminLogEvent](../types/ChannelAdminLogEvent.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +

[$channels.adminLogResults](../constructors/channels.adminLogResults.md) = \['events' => \[[ChannelAdminLogEvent](../types/ChannelAdminLogEvent.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$channels\_channelParticipant](../constructors/channels_channelParticipant.md) = \['participant' => [ChannelParticipant](../types/ChannelParticipant.md), 'users' => \[[User](../types/User.md)\], \]; +*** +

[$channels.channelParticipant](../constructors/channels.channelParticipant.md) = \['participant' => [ChannelParticipant](../types/ChannelParticipant.md), 'users' => \[[User](../types/User.md)\], \]; -[$channels\_channelParticipants](../constructors/channels_channelParticipants.md) = \['count' => [int](../types/int.md), 'participants' => \[[ChannelParticipant](../types/ChannelParticipant.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$channels.channelParticipants](../constructors/channels.channelParticipants.md) = \['count' => [int](../types/int.md), 'participants' => \[[ChannelParticipant](../types/ChannelParticipant.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$channels\_channelParticipantsNotModified](../constructors/channels_channelParticipantsNotModified.md) = \[\]; +*** +

[$channels.channelParticipantsNotModified](../constructors/channels.channelParticipantsNotModified.md) = \[\]; ***

[$chat](../constructors/chat.md) = \['creator' => [Bool](../types/Bool.md), 'kicked' => [Bool](../types/Bool.md), 'left' => [Bool](../types/Bool.md), 'admins_enabled' => [Bool](../types/Bool.md), 'admin' => [Bool](../types/Bool.md), 'deactivated' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'title' => [string](../types/string.md), 'photo' => [ChatPhoto](../types/ChatPhoto.md), 'participants_count' => [int](../types/int.md), 'date' => [int](../types/int.md), 'version' => [int](../types/int.md), 'migrated_to' => [InputChannel](../types/InputChannel.md), \]; @@ -289,25 +309,34 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$contactStatus](../constructors/contactStatus.md) = \['user_id' => [int](../types/int.md), 'status' => [UserStatus](../types/UserStatus.md), \]; *** -

[$contacts\_blocked](../constructors/contacts_blocked.md) = \['blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; +

[$contacts.blocked](../constructors/contacts.blocked.md) = \['blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_blockedSlice](../constructors/contacts_blockedSlice.md) = \['count' => [int](../types/int.md), 'blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.blockedSlice](../constructors/contacts.blockedSlice.md) = \['count' => [int](../types/int.md), 'blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_contacts](../constructors/contacts_contacts.md) = \['contacts' => \[[Contact](../types/Contact.md)\], 'saved_count' => [int](../types/int.md), 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.contacts](../constructors/contacts.contacts.md) = \['contacts' => \[[Contact](../types/Contact.md)\], 'saved_count' => [int](../types/int.md), 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_contactsNotModified](../constructors/contacts_contactsNotModified.md) = \[\]; +*** +

[$contacts.contactsNotModified](../constructors/contacts.contactsNotModified.md) = \[\]; -[$contacts\_found](../constructors/contacts_found.md) = \['results' => \[[Peer](../types/Peer.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.found](../constructors/contacts.found.md) = \['results' => \[[Peer](../types/Peer.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_importedContacts](../constructors/contacts_importedContacts.md) = \['imported' => \[[ImportedContact](../types/ImportedContact.md)\], 'popular_invites' => \[[PopularContact](../types/PopularContact.md)\], 'retry_contacts' => \[[long](../types/long.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.importedContacts](../constructors/contacts.importedContacts.md) = \['imported' => \[[ImportedContact](../types/ImportedContact.md)\], 'popular_invites' => \[[PopularContact](../types/PopularContact.md)\], 'retry_contacts' => \[[long](../types/long.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_link](../constructors/contacts_link.md) = \['my_link' => [ContactLink](../types/ContactLink.md), 'foreign_link' => [ContactLink](../types/ContactLink.md), 'user' => [User](../types/User.md), \]; +*** +

[$contacts.link](../constructors/contacts.link.md) = \['my_link' => [ContactLink](../types/ContactLink.md), 'foreign_link' => [ContactLink](../types/ContactLink.md), 'user' => [User](../types/User.md), \]; -[$contacts\_resolvedPeer](../constructors/contacts_resolvedPeer.md) = \['peer' => [Peer](../types/Peer.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.resolvedPeer](../constructors/contacts.resolvedPeer.md) = \['peer' => [Peer](../types/Peer.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_topPeers](../constructors/contacts_topPeers.md) = \['categories' => \[[TopPeerCategoryPeers](../types/TopPeerCategoryPeers.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.topPeers](../constructors/contacts.topPeers.md) = \['categories' => \[[TopPeerCategoryPeers](../types/TopPeerCategoryPeers.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_topPeersNotModified](../constructors/contacts_topPeersNotModified.md) = \[\]; +*** +

[$contacts.topPeersNotModified](../constructors/contacts.topPeersNotModified.md) = \[\]; ***

[$dataJSON](../constructors/dataJSON.md) = \['data' => [string](../types/string.md), \]; @@ -432,19 +461,25 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$geoPointEmpty](../constructors/geoPointEmpty.md) = \[\]; *** -

[$help\_appUpdate](../constructors/help_appUpdate.md) = \['id' => [int](../types/int.md), 'critical' => [Bool](../types/Bool.md), 'url' => [string](../types/string.md), 'text' => [string](../types/string.md), \]; +

[$help.appUpdate](../constructors/help.appUpdate.md) = \['id' => [int](../types/int.md), 'critical' => [Bool](../types/Bool.md), 'url' => [string](../types/string.md), 'text' => [string](../types/string.md), \]; -[$help\_configSimple](../constructors/help_configSimple.md) = \['date' => [int](../types/int.md), 'expires' => [int](../types/int.md), 'dc_id' => [int](../types/int.md), 'ip_port_list' => \[[ipPort](../constructors/ipPort.md)\], \]; +*** +

[$help.configSimple](../constructors/help.configSimple.md) = \['date' => [int](../types/int.md), 'expires' => [int](../types/int.md), 'dc_id' => [int](../types/int.md), 'ip_port_list' => \[[ipPort](../constructors/ipPort.md)\], \]; -[$help\_inviteText](../constructors/help_inviteText.md) = \['message' => [string](../types/string.md), \]; +*** +

[$help.inviteText](../constructors/help.inviteText.md) = \['message' => [string](../types/string.md), \]; -[$help\_noAppUpdate](../constructors/help_noAppUpdate.md) = \[\]; +*** +

[$help.noAppUpdate](../constructors/help.noAppUpdate.md) = \[\]; -[$help\_recentMeUrls](../constructors/help_recentMeUrls.md) = \['urls' => \[[RecentMeUrl](../types/RecentMeUrl.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$help.recentMeUrls](../constructors/help.recentMeUrls.md) = \['urls' => \[[RecentMeUrl](../types/RecentMeUrl.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$help\_support](../constructors/help_support.md) = \['phone_number' => [string](../types/string.md), 'user' => [User](../types/User.md), \]; +*** +

[$help.support](../constructors/help.support.md) = \['phone_number' => [string](../types/string.md), 'user' => [User](../types/User.md), \]; -[$help\_termsOfService](../constructors/help_termsOfService.md) = \['text' => [string](../types/string.md), \]; +*** +

[$help.termsOfService](../constructors/help.termsOfService.md) = \['text' => [string](../types/string.md), \]; ***

[$highScore](../constructors/highScore.md) = \['pos' => [int](../types/int.md), 'user_id' => [int](../types/int.md), 'score' => [int](../types/int.md), \]; @@ -975,77 +1010,112 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$messageService](../constructors/messageService.md) = \['out' => [Bool](../types/Bool.md), 'mentioned' => [Bool](../types/Bool.md), 'media_unread' => [Bool](../types/Bool.md), 'silent' => [Bool](../types/Bool.md), 'post' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'from_id' => [int](../types/int.md), 'to_id' => [Peer](../types/Peer.md), 'reply_to_msg_id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'action' => [MessageAction](../types/MessageAction.md), \]; *** -

[$messages\_affectedHistory](../constructors/messages_affectedHistory.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), 'offset' => [int](../types/int.md), \]; +

[$messages.affectedHistory](../constructors/messages.affectedHistory.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), 'offset' => [int](../types/int.md), \]; -[$messages\_affectedMessages](../constructors/messages_affectedMessages.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; +*** +

[$messages.affectedMessages](../constructors/messages.affectedMessages.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; -[$messages\_allStickers](../constructors/messages_allStickers.md) = \['hash' => [int](../types/int.md), 'sets' => \[[StickerSet](../types/StickerSet.md)\], \]; +*** +

[$messages.allStickers](../constructors/messages.allStickers.md) = \['hash' => [int](../types/int.md), 'sets' => \[[StickerSet](../types/StickerSet.md)\], \]; -[$messages\_allStickersNotModified](../constructors/messages_allStickersNotModified.md) = \[\]; +*** +

[$messages.allStickersNotModified](../constructors/messages.allStickersNotModified.md) = \[\]; -[$messages\_archivedStickers](../constructors/messages_archivedStickers.md) = \['count' => [int](../types/int.md), 'sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], \]; +*** +

[$messages.archivedStickers](../constructors/messages.archivedStickers.md) = \['count' => [int](../types/int.md), 'sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], \]; -[$messages\_botCallbackAnswer](../constructors/messages_botCallbackAnswer.md) = \['alert' => [Bool](../types/Bool.md), 'has_url' => [Bool](../types/Bool.md), 'message' => [string](../types/string.md), 'url' => [string](../types/string.md), 'cache_time' => [int](../types/int.md), \]; +*** +

[$messages.botCallbackAnswer](../constructors/messages.botCallbackAnswer.md) = \['alert' => [Bool](../types/Bool.md), 'has_url' => [Bool](../types/Bool.md), 'message' => [string](../types/string.md), 'url' => [string](../types/string.md), 'cache_time' => [int](../types/int.md), \]; -[$messages\_botResults](../constructors/messages_botResults.md) = \['gallery' => [Bool](../types/Bool.md), 'query_id' => [long](../types/long.md), 'next_offset' => [string](../types/string.md), 'switch_pm' => [InlineBotSwitchPM](../types/InlineBotSwitchPM.md), 'results' => \[[BotInlineResult](../types/BotInlineResult.md)\], 'cache_time' => [int](../types/int.md), 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.botResults](../constructors/messages.botResults.md) = \['gallery' => [Bool](../types/Bool.md), 'query_id' => [long](../types/long.md), 'next_offset' => [string](../types/string.md), 'switch_pm' => [InlineBotSwitchPM](../types/InlineBotSwitchPM.md), 'results' => \[[BotInlineResult](../types/BotInlineResult.md)\], 'cache_time' => [int](../types/int.md), 'users' => \[[User](../types/User.md)\], \]; -[$messages\_channelMessages](../constructors/messages_channelMessages.md) = \['pts' => [int](../types/int.md), 'count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.channelMessages](../constructors/messages.channelMessages.md) = \['pts' => [int](../types/int.md), 'count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_chatFull](../constructors/messages_chatFull.md) = \['full_chat' => [ChatFull](../types/ChatFull.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.chatFull](../constructors/messages.chatFull.md) = \['full_chat' => [ChatFull](../types/ChatFull.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_chats](../constructors/messages_chats.md) = \['chats' => \[[Chat](../types/Chat.md)\], \]; +*** +

[$messages.chats](../constructors/messages.chats.md) = \['chats' => \[[Chat](../types/Chat.md)\], \]; -[$messages\_chatsSlice](../constructors/messages_chatsSlice.md) = \['count' => [int](../types/int.md), 'chats' => \[[Chat](../types/Chat.md)\], \]; +*** +

[$messages.chatsSlice](../constructors/messages.chatsSlice.md) = \['count' => [int](../types/int.md), 'chats' => \[[Chat](../types/Chat.md)\], \]; -[$messages\_dhConfig](../constructors/messages_dhConfig.md) = \['g' => [int](../types/int.md), 'p' => [bytes](../types/bytes.md), 'version' => [int](../types/int.md), 'random' => [bytes](../types/bytes.md), \]; +*** +

[$messages.dhConfig](../constructors/messages.dhConfig.md) = \['g' => [int](../types/int.md), 'p' => [bytes](../types/bytes.md), 'version' => [int](../types/int.md), 'random' => [bytes](../types/bytes.md), \]; -[$messages\_dhConfigNotModified](../constructors/messages_dhConfigNotModified.md) = \['random' => [bytes](../types/bytes.md), \]; +*** +

[$messages.dhConfigNotModified](../constructors/messages.dhConfigNotModified.md) = \['random' => [bytes](../types/bytes.md), \]; -[$messages\_dialogs](../constructors/messages_dialogs.md) = \['dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.dialogs](../constructors/messages.dialogs.md) = \['dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_dialogsSlice](../constructors/messages_dialogsSlice.md) = \['count' => [int](../types/int.md), 'dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.dialogsSlice](../constructors/messages.dialogsSlice.md) = \['count' => [int](../types/int.md), 'dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_favedStickers](../constructors/messages_favedStickers.md) = \['hash' => [int](../types/int.md), 'packs' => \[[StickerPack](../types/StickerPack.md)\], 'stickers' => \[[Document](../types/Document.md)\], \]; +*** +

[$messages.favedStickers](../constructors/messages.favedStickers.md) = \['hash' => [int](../types/int.md), 'packs' => \[[StickerPack](../types/StickerPack.md)\], 'stickers' => \[[Document](../types/Document.md)\], \]; -[$messages\_favedStickersNotModified](../constructors/messages_favedStickersNotModified.md) = \[\]; +*** +

[$messages.favedStickersNotModified](../constructors/messages.favedStickersNotModified.md) = \[\]; -[$messages\_featuredStickers](../constructors/messages_featuredStickers.md) = \['hash' => [int](../types/int.md), 'sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], 'unread' => \[[long](../types/long.md)\], \]; +*** +

[$messages.featuredStickers](../constructors/messages.featuredStickers.md) = \['hash' => [int](../types/int.md), 'sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], 'unread' => \[[long](../types/long.md)\], \]; -[$messages\_featuredStickersNotModified](../constructors/messages_featuredStickersNotModified.md) = \[\]; +*** +

[$messages.featuredStickersNotModified](../constructors/messages.featuredStickersNotModified.md) = \[\]; -[$messages\_foundGifs](../constructors/messages_foundGifs.md) = \['next_offset' => [int](../types/int.md), 'results' => \[[FoundGif](../types/FoundGif.md)\], \]; +*** +

[$messages.foundGifs](../constructors/messages.foundGifs.md) = \['next_offset' => [int](../types/int.md), 'results' => \[[FoundGif](../types/FoundGif.md)\], \]; -[$messages\_highScores](../constructors/messages_highScores.md) = \['scores' => \[[HighScore](../types/HighScore.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.highScores](../constructors/messages.highScores.md) = \['scores' => \[[HighScore](../types/HighScore.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_messageEditData](../constructors/messages_messageEditData.md) = \['caption' => [Bool](../types/Bool.md), \]; +*** +

[$messages.messageEditData](../constructors/messages.messageEditData.md) = \['caption' => [Bool](../types/Bool.md), \]; -[$messages\_messages](../constructors/messages_messages.md) = \['messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.messages](../constructors/messages.messages.md) = \['messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_messagesSlice](../constructors/messages_messagesSlice.md) = \['count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.messagesSlice](../constructors/messages.messagesSlice.md) = \['count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_peerDialogs](../constructors/messages_peerDialogs.md) = \['dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'state' => [updates.State](../types/updates.State.md), \]; +*** +

[$messages.peerDialogs](../constructors/messages.peerDialogs.md) = \['dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'state' => [updates.State](../types/updates.State.md), \]; -[$messages\_recentStickers](../constructors/messages_recentStickers.md) = \['hash' => [int](../types/int.md), 'stickers' => \[[Document](../types/Document.md)\], \]; +*** +

[$messages.recentStickers](../constructors/messages.recentStickers.md) = \['hash' => [int](../types/int.md), 'stickers' => \[[Document](../types/Document.md)\], \]; -[$messages\_recentStickersNotModified](../constructors/messages_recentStickersNotModified.md) = \[\]; +*** +

[$messages.recentStickersNotModified](../constructors/messages.recentStickersNotModified.md) = \[\]; -[$messages\_savedGifs](../constructors/messages_savedGifs.md) = \['hash' => [int](../types/int.md), 'gifs' => \[[Document](../types/Document.md)\], \]; +*** +

[$messages.savedGifs](../constructors/messages.savedGifs.md) = \['hash' => [int](../types/int.md), 'gifs' => \[[Document](../types/Document.md)\], \]; -[$messages\_savedGifsNotModified](../constructors/messages_savedGifsNotModified.md) = \[\]; +*** +

[$messages.savedGifsNotModified](../constructors/messages.savedGifsNotModified.md) = \[\]; -[$messages\_sentEncryptedFile](../constructors/messages_sentEncryptedFile.md) = \['date' => [int](../types/int.md), 'file' => [EncryptedFile](../types/EncryptedFile.md), \]; +*** +

[$messages.sentEncryptedFile](../constructors/messages.sentEncryptedFile.md) = \['date' => [int](../types/int.md), 'file' => [EncryptedFile](../types/EncryptedFile.md), \]; -[$messages\_sentEncryptedMessage](../constructors/messages_sentEncryptedMessage.md) = \['date' => [int](../types/int.md), \]; +*** +

[$messages.sentEncryptedMessage](../constructors/messages.sentEncryptedMessage.md) = \['date' => [int](../types/int.md), \]; -[$messages\_stickerSet](../constructors/messages_stickerSet.md) = \['set' => [StickerSet](../types/StickerSet.md), 'packs' => \[[StickerPack](../types/StickerPack.md)\], 'documents' => \[[Document](../types/Document.md)\], \]; +*** +

[$messages.stickerSet](../constructors/messages.stickerSet.md) = \['set' => [StickerSet](../types/StickerSet.md), 'packs' => \[[StickerPack](../types/StickerPack.md)\], 'documents' => \[[Document](../types/Document.md)\], \]; -[$messages\_stickerSetInstallResultArchive](../constructors/messages_stickerSetInstallResultArchive.md) = \['sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], \]; +*** +

[$messages.stickerSetInstallResultArchive](../constructors/messages.stickerSetInstallResultArchive.md) = \['sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], \]; -[$messages\_stickerSetInstallResultSuccess](../constructors/messages_stickerSetInstallResultSuccess.md) = \[\]; +*** +

[$messages.stickerSetInstallResultSuccess](../constructors/messages.stickerSetInstallResultSuccess.md) = \[\]; -[$messages\_stickers](../constructors/messages_stickers.md) = \['hash' => [string](../types/string.md), 'stickers' => \[[Document](../types/Document.md)\], \]; +*** +

[$messages.stickers](../constructors/messages.stickers.md) = \['hash' => [string](../types/string.md), 'stickers' => \[[Document](../types/Document.md)\], \]; -[$messages\_stickersNotModified](../constructors/messages_stickersNotModified.md) = \[\]; +*** +

[$messages.stickersNotModified](../constructors/messages.stickersNotModified.md) = \[\]; ***

[$msg\_detailed\_info](../constructors/msg_detailed_info.md) = \['msg_id' => [long](../types/long.md), 'answer_msg_id' => [long](../types/long.md), 'bytes' => [int](../types/int.md), 'status' => [int](../types/int.md), \]; @@ -1172,17 +1242,22 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$paymentSavedCredentialsCard](../constructors/paymentSavedCredentialsCard.md) = \['id' => [string](../types/string.md), 'title' => [string](../types/string.md), \]; *** -

[$payments\_paymentForm](../constructors/payments_paymentForm.md) = \['can_save_credentials' => [Bool](../types/Bool.md), 'password_missing' => [Bool](../types/Bool.md), 'bot_id' => [int](../types/int.md), 'invoice' => [Invoice](../types/Invoice.md), 'provider_id' => [int](../types/int.md), 'url' => [string](../types/string.md), 'native_provider' => [string](../types/string.md), 'native_params' => [DataJSON](../types/DataJSON.md), 'saved_info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), 'saved_credentials' => [PaymentSavedCredentials](../types/PaymentSavedCredentials.md), 'users' => \[[User](../types/User.md)\], \]; +

[$payments.paymentForm](../constructors/payments.paymentForm.md) = \['can_save_credentials' => [Bool](../types/Bool.md), 'password_missing' => [Bool](../types/Bool.md), 'bot_id' => [int](../types/int.md), 'invoice' => [Invoice](../types/Invoice.md), 'provider_id' => [int](../types/int.md), 'url' => [string](../types/string.md), 'native_provider' => [string](../types/string.md), 'native_params' => [DataJSON](../types/DataJSON.md), 'saved_info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), 'saved_credentials' => [PaymentSavedCredentials](../types/PaymentSavedCredentials.md), 'users' => \[[User](../types/User.md)\], \]; -[$payments\_paymentReceipt](../constructors/payments_paymentReceipt.md) = \['date' => [int](../types/int.md), 'bot_id' => [int](../types/int.md), 'invoice' => [Invoice](../types/Invoice.md), 'provider_id' => [int](../types/int.md), 'info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), 'shipping' => [ShippingOption](../types/ShippingOption.md), 'currency' => [string](../types/string.md), 'total_amount' => [long](../types/long.md), 'credentials_title' => [string](../types/string.md), 'users' => \[[User](../types/User.md)\], \]; +*** +

[$payments.paymentReceipt](../constructors/payments.paymentReceipt.md) = \['date' => [int](../types/int.md), 'bot_id' => [int](../types/int.md), 'invoice' => [Invoice](../types/Invoice.md), 'provider_id' => [int](../types/int.md), 'info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), 'shipping' => [ShippingOption](../types/ShippingOption.md), 'currency' => [string](../types/string.md), 'total_amount' => [long](../types/long.md), 'credentials_title' => [string](../types/string.md), 'users' => \[[User](../types/User.md)\], \]; -[$payments\_paymentResult](../constructors/payments_paymentResult.md) = \['updates' => [Updates](../types/Updates.md), \]; +*** +

[$payments.paymentResult](../constructors/payments.paymentResult.md) = \['updates' => [Updates](../types/Updates.md), \]; -[$payments\_paymentVerficationNeeded](../constructors/payments_paymentVerficationNeeded.md) = \['url' => [string](../types/string.md), \]; +*** +

[$payments.paymentVerficationNeeded](../constructors/payments.paymentVerficationNeeded.md) = \['url' => [string](../types/string.md), \]; -[$payments\_savedInfo](../constructors/payments_savedInfo.md) = \['has_saved_credentials' => [Bool](../types/Bool.md), 'saved_info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), \]; +*** +

[$payments.savedInfo](../constructors/payments.savedInfo.md) = \['has_saved_credentials' => [Bool](../types/Bool.md), 'saved_info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), \]; -[$payments\_validatedRequestedInfo](../constructors/payments_validatedRequestedInfo.md) = \['id' => [string](../types/string.md), 'shipping_options' => \[[ShippingOption](../types/ShippingOption.md)\], \]; +*** +

[$payments.validatedRequestedInfo](../constructors/payments.validatedRequestedInfo.md) = \['id' => [string](../types/string.md), 'shipping_options' => \[[ShippingOption](../types/ShippingOption.md)\], \]; ***

[$peerChannel](../constructors/peerChannel.md) = \['channel_id' => [int](../types/int.md), \]; @@ -1208,6 +1283,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ***

[$peerUser](../constructors/peerUser.md) = \['user_id' => [int](../types/int.md), \]; +*** +

[$phone.phoneCall](../constructors/phone.phoneCall.md) = \['phone_call' => [PhoneCall](../types/PhoneCall.md), 'users' => \[[User](../types/User.md)\], \]; + ***

[$phoneCall](../constructors/phoneCall.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'date' => [int](../types/int.md), 'admin_id' => [int](../types/int.md), 'participant_id' => [int](../types/int.md), 'g_a_or_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), 'connection' => [PhoneConnection](../types/PhoneConnection.md), 'alternative_connections' => \[[PhoneConnection](../types/PhoneConnection.md)\], 'start_date' => [int](../types/int.md), \]; @@ -1244,9 +1322,6 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ***

[$phoneConnection](../constructors/phoneConnection.md) = \['id' => [long](../types/long.md), 'ip' => [string](../types/string.md), 'ipv6' => [string](../types/string.md), 'port' => [int](../types/int.md), 'peer_tag' => [bytes](../types/bytes.md), \]; -*** -

[$phone\_phoneCall](../constructors/phone_phoneCall.md) = \['phone_call' => [PhoneCall](../types/PhoneCall.md), 'users' => \[[User](../types/User.md)\], \]; - ***

[$photo](../constructors/photo.md) = \['has_stickers' => [Bool](../types/Bool.md), 'id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'date' => [int](../types/int.md), 'sizes' => \[[PhotoSize](../types/PhotoSize.md)\], \]; @@ -1263,11 +1338,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$photoSizeEmpty](../constructors/photoSizeEmpty.md) = \['type' => [string](../types/string.md), \]; *** -

[$photos\_photo](../constructors/photos_photo.md) = \['photo' => [Photo](../types/Photo.md), 'users' => \[[User](../types/User.md)\], \]; +

[$photos.photo](../constructors/photos.photo.md) = \['photo' => [Photo](../types/Photo.md), 'users' => \[[User](../types/User.md)\], \]; -[$photos\_photos](../constructors/photos_photos.md) = \['photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$photos.photos](../constructors/photos.photos.md) = \['photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$photos\_photosSlice](../constructors/photos_photosSlice.md) = \['count' => [int](../types/int.md), 'photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$photos.photosSlice](../constructors/photos.photosSlice.md) = \['count' => [int](../types/int.md), 'photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; ***

[$pong](../constructors/pong.md) = \['msg_id' => [long](../types/long.md), 'ping_id' => [long](../types/long.md), \]; @@ -1409,25 +1486,34 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$stickerSetMultiCovered](../constructors/stickerSetMultiCovered.md) = \['set' => [StickerSet](../types/StickerSet.md), 'covers' => \[[Document](../types/Document.md)\], \]; *** -

[$storage\_fileGif](../constructors/storage_fileGif.md) = \[\]; +

[$storage.fileGif](../constructors/storage.fileGif.md) = \[\]; -[$storage\_fileJpeg](../constructors/storage_fileJpeg.md) = \[\]; +*** +

[$storage.fileJpeg](../constructors/storage.fileJpeg.md) = \[\]; -[$storage\_fileMov](../constructors/storage_fileMov.md) = \[\]; +*** +

[$storage.fileMov](../constructors/storage.fileMov.md) = \[\]; -[$storage\_fileMp3](../constructors/storage_fileMp3.md) = \[\]; +*** +

[$storage.fileMp3](../constructors/storage.fileMp3.md) = \[\]; -[$storage\_fileMp4](../constructors/storage_fileMp4.md) = \[\]; +*** +

[$storage.fileMp4](../constructors/storage.fileMp4.md) = \[\]; -[$storage\_filePartial](../constructors/storage_filePartial.md) = \[\]; +*** +

[$storage.filePartial](../constructors/storage.filePartial.md) = \[\]; -[$storage\_filePdf](../constructors/storage_filePdf.md) = \[\]; +*** +

[$storage.filePdf](../constructors/storage.filePdf.md) = \[\]; -[$storage\_filePng](../constructors/storage_filePng.md) = \[\]; +*** +

[$storage.filePng](../constructors/storage.filePng.md) = \[\]; -[$storage\_fileUnknown](../constructors/storage_fileUnknown.md) = \[\]; +*** +

[$storage.fileUnknown](../constructors/storage.fileUnknown.md) = \[\]; -[$storage\_fileWebp](../constructors/storage_fileWebp.md) = \[\]; +*** +

[$storage.fileWebp](../constructors/storage.fileWebp.md) = \[\]; ***

[$textBold](../constructors/textBold.md) = \['text' => [RichText](../types/RichText.md), \]; @@ -1699,6 +1785,30 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ***

[$updates](../constructors/updates.md) = \['updates' => \[[Update](../types/Update.md)\], 'users' => \[[User](../types/User.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'date' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; +*** +

[$updates.channelDifference](../constructors/updates.channelDifference.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), 'new_messages' => \[[Message](../types/Message.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +*** +

[$updates.channelDifferenceEmpty](../constructors/updates.channelDifferenceEmpty.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), \]; + +*** +

[$updates.channelDifferenceTooLong](../constructors/updates.channelDifferenceTooLong.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), 'top_message' => [int](../types/int.md), 'read_inbox_max_id' => [int](../types/int.md), 'read_outbox_max_id' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), 'unread_mentions_count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +*** +

[$updates.difference](../constructors/updates.difference.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'state' => [updates.State](../types/updates.State.md), \]; + +*** +

[$updates.differenceEmpty](../constructors/updates.differenceEmpty.md) = \['date' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; + +*** +

[$updates.differenceSlice](../constructors/updates.differenceSlice.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'intermediate_state' => [updates.State](../types/updates.State.md), \]; + +*** +

[$updates.differenceTooLong](../constructors/updates.differenceTooLong.md) = \['pts' => [int](../types/int.md), \]; + +*** +

[$updates.state](../constructors/updates.state.md) = \['pts' => [int](../types/int.md), 'qts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'seq' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), \]; + ***

[$updatesCombined](../constructors/updatesCombined.md) = \['updates' => \[[Update](../types/Update.md)\], 'users' => \[[User](../types/User.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'date' => [int](../types/int.md), 'seq_start' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; @@ -1706,32 +1816,19 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$updatesTooLong](../constructors/updatesTooLong.md) = \[\]; *** -

[$updates\_channelDifference](../constructors/updates_channelDifference.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), 'new_messages' => \[[Message](../types/Message.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; - -[$updates\_channelDifferenceEmpty](../constructors/updates_channelDifferenceEmpty.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), \]; - -[$updates\_channelDifferenceTooLong](../constructors/updates_channelDifferenceTooLong.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), 'top_message' => [int](../types/int.md), 'read_inbox_max_id' => [int](../types/int.md), 'read_outbox_max_id' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), 'unread_mentions_count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; - -[$updates\_difference](../constructors/updates_difference.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'state' => [updates.State](../types/updates.State.md), \]; - -[$updates\_differenceEmpty](../constructors/updates_differenceEmpty.md) = \['date' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; - -[$updates\_differenceSlice](../constructors/updates_differenceSlice.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'intermediate_state' => [updates.State](../types/updates.State.md), \]; - -[$updates\_differenceTooLong](../constructors/updates_differenceTooLong.md) = \['pts' => [int](../types/int.md), \]; - -[$updates\_state](../constructors/updates_state.md) = \['pts' => [int](../types/int.md), 'qts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'seq' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), \]; +

[$upload.cdnFile](../constructors/upload.cdnFile.md) = \['bytes' => [bytes](../types/bytes.md), \]; *** -

[$upload\_cdnFile](../constructors/upload_cdnFile.md) = \['bytes' => [bytes](../types/bytes.md), \]; +

[$upload.cdnFileReuploadNeeded](../constructors/upload.cdnFileReuploadNeeded.md) = \['request_token' => [bytes](../types/bytes.md), \]; -[$upload\_cdnFileReuploadNeeded](../constructors/upload_cdnFileReuploadNeeded.md) = \['request_token' => [bytes](../types/bytes.md), \]; +*** +

[$upload.file](../constructors/upload.file.md) = \['type' => [storage.FileType](../types/storage.FileType.md), 'mtime' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; -[$upload\_file](../constructors/upload_file.md) = \['type' => [storage.FileType](../types/storage.FileType.md), 'mtime' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; +*** +

[$upload.fileCdnRedirect](../constructors/upload.fileCdnRedirect.md) = \['dc_id' => [int](../types/int.md), 'file_token' => [bytes](../types/bytes.md), 'encryption_key' => [bytes](../types/bytes.md), 'encryption_iv' => [bytes](../types/bytes.md), 'cdn_file_hashes' => \[[CdnFileHash](../types/CdnFileHash.md)\], \]; -[$upload\_fileCdnRedirect](../constructors/upload_fileCdnRedirect.md) = \['dc_id' => [int](../types/int.md), 'file_token' => [bytes](../types/bytes.md), 'encryption_key' => [bytes](../types/bytes.md), 'encryption_iv' => [bytes](../types/bytes.md), 'cdn_file_hashes' => \[[CdnFileHash](../types/CdnFileHash.md)\], \]; - -[$upload\_webFile](../constructors/upload_webFile.md) = \['size' => [int](../types/int.md), 'mime_type' => [string](../types/string.md), 'file_type' => [storage.FileType](../types/storage.FileType.md), 'mtime' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; +*** +

[$upload.webFile](../constructors/upload.webFile.md) = \['size' => [int](../types/int.md), 'mime_type' => [string](../types/string.md), 'file_type' => [storage.FileType](../types/storage.FileType.md), 'mtime' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; ***

[$user](../constructors/user.md) = \['self' => [Bool](../types/Bool.md), 'contact' => [Bool](../types/Bool.md), 'mutual_contact' => [Bool](../types/Bool.md), 'deleted' => [Bool](../types/Bool.md), 'bot' => [Bool](../types/Bool.md), 'bot_chat_history' => [Bool](../types/Bool.md), 'bot_nochats' => [Bool](../types/Bool.md), 'verified' => [Bool](../types/Bool.md), 'restricted' => [Bool](../types/Bool.md), 'min' => [Bool](../types/Bool.md), 'bot_inline_geo' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), 'username' => [string](../types/string.md), 'phone' => [string](../types/string.md), 'photo' => [UserProfilePhoto](../types/UserProfilePhoto.md), 'status' => [UserStatus](../types/UserStatus.md), 'bot_info_version' => [int](../types/int.md), 'restriction_reason' => [string](../types/string.md), 'bot_inline_placeholder' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]; diff --git a/old_docs/API_docs_v72/constructors/account.authorizations.md b/old_docs/API_docs_v72/constructors/account.authorizations.md new file mode 100644 index 00000000..53c961f0 --- /dev/null +++ b/old_docs/API_docs_v72/constructors/account.authorizations.md @@ -0,0 +1,38 @@ +--- +title: account.authorizations +description: Logged-in sessions +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.authorizations +[Back to constructors index](index.md) + + + +Logged-in sessions + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|authorizations|Array of [Authorization](../types/Authorization.md) | Yes|Authorizations| + + + +### Type: [account.Authorizations](../types/account.Authorizations.md) + + +### Example: + +```php +$account.authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization, Authorization]]; +``` + + +Or, if you're into Lua: + +```lua +account.authorizations={_='account.authorizations', authorizations={Authorization}} + +``` + + diff --git a/old_docs/API_docs_v72/constructors/account.noPassword.md b/old_docs/API_docs_v72/constructors/account.noPassword.md new file mode 100644 index 00000000..4dcdc515 --- /dev/null +++ b/old_docs/API_docs_v72/constructors/account.noPassword.md @@ -0,0 +1,39 @@ +--- +title: account.noPassword +description: No password +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.noPassword +[Back to constructors index](index.md) + + + +No password + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|new\_salt|[bytes](../types/bytes.md) | Yes|New salt| +|email\_unconfirmed\_pattern|[string](../types/string.md) | Yes|Email unconfirmed pattern| + + + +### Type: [account.Password](../types/account.Password.md) + + +### Example: + +```php +$account.noPassword = ['_' => 'account.noPassword', 'new_salt' => 'bytes', 'email_unconfirmed_pattern' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +account.noPassword={_='account.noPassword', new_salt='bytes', email_unconfirmed_pattern='string'} + +``` + + diff --git a/old_docs/API_docs_v72/constructors/account.password.md b/old_docs/API_docs_v72/constructors/account.password.md new file mode 100644 index 00000000..9e86a73a --- /dev/null +++ b/old_docs/API_docs_v72/constructors/account.password.md @@ -0,0 +1,42 @@ +--- +title: account.password +description: Configuration for two-factor authorization +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.password +[Back to constructors index](index.md) + + + +Configuration for two-factor authorization + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|current\_salt|[bytes](../types/bytes.md) | Yes|Current salt| +|new\_salt|[bytes](../types/bytes.md) | Yes|New salt| +|hint|[string](../types/string.md) | Yes|Text hint for the password| +|has\_recovery|[Bool](../types/Bool.md) | Yes|Has recovery?| +|email\_unconfirmed\_pattern|[string](../types/string.md) | Yes|A [password recovery email](https://core.telegram.org/api/srp#email-verification) with the specified [pattern](https://core.telegram.org/api/pattern) is still awaiting verification| + + + +### Type: [account.Password](../types/account.Password.md) + + +### Example: + +```php +$account.password = ['_' => 'account.password', 'current_salt' => 'bytes', 'new_salt' => 'bytes', 'hint' => 'string', 'has_recovery' => Bool, 'email_unconfirmed_pattern' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +account.password={_='account.password', current_salt='bytes', new_salt='bytes', hint='string', has_recovery=Bool, email_unconfirmed_pattern='string'} + +``` + + diff --git a/old_docs/API_docs_v72/constructors/account.passwordInputSettings.md b/old_docs/API_docs_v72/constructors/account.passwordInputSettings.md new file mode 100644 index 00000000..c440115a --- /dev/null +++ b/old_docs/API_docs_v72/constructors/account.passwordInputSettings.md @@ -0,0 +1,41 @@ +--- +title: account.passwordInputSettings +description: Settings for setting up a new password +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.passwordInputSettings +[Back to constructors index](index.md) + + + +Settings for setting up a new password + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|new\_salt|[bytes](../types/bytes.md) | Optional|`$new_salt = $MadelineProto->account->getPassword()['new_salt'].$MadelineProto->random(8);`| +|new\_password\_hash|[bytes](../types/bytes.md) | Optional|The [computed password hash](https://core.telegram.org/api/srp)| +|hint|[string](../types/string.md) | Optional|Text hint for the password| +|email|[string](../types/string.md) | Optional|Password recovery email| + + + +### Type: [account.PasswordInputSettings](../types/account.PasswordInputSettings.md) + + +### Example: + +```php +$account.passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_salt' => 'bytes', 'new_password_hash' => 'bytes', 'hint' => 'string', 'email' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +account.passwordInputSettings={_='account.passwordInputSettings', new_salt='bytes', new_password_hash='bytes', hint='string', email='string'} + +``` + + diff --git a/old_docs/API_docs_v72/constructors/account.passwordSettings.md b/old_docs/API_docs_v72/constructors/account.passwordSettings.md new file mode 100644 index 00000000..be899d34 --- /dev/null +++ b/old_docs/API_docs_v72/constructors/account.passwordSettings.md @@ -0,0 +1,38 @@ +--- +title: account.passwordSettings +description: Private info associated to the password info (recovery email, telegram [passport](https://core.telegram.org/passport) info & so on) +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.passwordSettings +[Back to constructors index](index.md) + + + +Private info associated to the password info (recovery email, telegram [passport](https://core.telegram.org/passport) info & so on) + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|email|[string](../types/string.md) | Yes|[2FA Recovery email](https://core.telegram.org/api/srp#email-verification)| + + + +### Type: [account.PasswordSettings](../types/account.PasswordSettings.md) + + +### Example: + +```php +$account.passwordSettings = ['_' => 'account.passwordSettings', 'email' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +account.passwordSettings={_='account.passwordSettings', email='string'} + +``` + + diff --git a/old_docs/API_docs_v72/constructors/account.privacyRules.md b/old_docs/API_docs_v72/constructors/account.privacyRules.md new file mode 100644 index 00000000..7ae04abb --- /dev/null +++ b/old_docs/API_docs_v72/constructors/account.privacyRules.md @@ -0,0 +1,39 @@ +--- +title: account.privacyRules +description: Privacy rules +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.privacyRules +[Back to constructors index](index.md) + + + +Privacy rules + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|rules|Array of [PrivacyRule](../types/PrivacyRule.md) | Yes|Rules| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [account.PrivacyRules](../types/account.PrivacyRules.md) + + +### Example: + +```php +$account.privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule, PrivacyRule], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +account.privacyRules={_='account.privacyRules', rules={PrivacyRule}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v72/constructors/account.tmpPassword.md b/old_docs/API_docs_v72/constructors/account.tmpPassword.md new file mode 100644 index 00000000..996548c4 --- /dev/null +++ b/old_docs/API_docs_v72/constructors/account.tmpPassword.md @@ -0,0 +1,39 @@ +--- +title: account.tmpPassword +description: Temporary payment password +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.tmpPassword +[Back to constructors index](index.md) + + + +Temporary payment password + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|tmp\_password|[bytes](../types/bytes.md) | Yes|Temporary password| +|valid\_until|[int](../types/int.md) | Yes|Validity period| + + + +### Type: [account.TmpPassword](../types/account.TmpPassword.md) + + +### Example: + +```php +$account.tmpPassword = ['_' => 'account.tmpPassword', 'tmp_password' => 'bytes', 'valid_until' => int]; +``` + + +Or, if you're into Lua: + +```lua +account.tmpPassword={_='account.tmpPassword', tmp_password='bytes', valid_until=int} + +``` + + diff --git a/old_docs/API_docs_v72/constructors/account_authorizations.md b/old_docs/API_docs_v72/constructors/account_authorizations.md deleted file mode 100644 index aeae48f3..00000000 --- a/old_docs/API_docs_v72/constructors/account_authorizations.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: account.authorizations -description: Logged-in sessions -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.authorizations -[Back to constructors index](index.md) - - - -Logged-in sessions - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|authorizations|Array of [Authorization](../types/Authorization.md) | Yes|Authorizations| - - - -### Type: [account\_Authorizations](../types/account_Authorizations.md) - - -### Example: - -```php -$account_authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization, Authorization]]; -``` - - -Or, if you're into Lua: - -```lua -account_authorizations={_='account.authorizations', authorizations={Authorization}} - -``` - - diff --git a/old_docs/API_docs_v72/constructors/account_noPassword.md b/old_docs/API_docs_v72/constructors/account_noPassword.md deleted file mode 100644 index 10ef7b2a..00000000 --- a/old_docs/API_docs_v72/constructors/account_noPassword.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: account.noPassword -description: No password -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.noPassword -[Back to constructors index](index.md) - - - -No password - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|new\_salt|[bytes](../types/bytes.md) | Yes|New salt| -|email\_unconfirmed\_pattern|[string](../types/string.md) | Yes|Email unconfirmed pattern| - - - -### Type: [account\_Password](../types/account_Password.md) - - -### Example: - -```php -$account_noPassword = ['_' => 'account.noPassword', 'new_salt' => 'bytes', 'email_unconfirmed_pattern' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -account_noPassword={_='account.noPassword', new_salt='bytes', email_unconfirmed_pattern='string'} - -``` - - diff --git a/old_docs/API_docs_v72/constructors/account_password.md b/old_docs/API_docs_v72/constructors/account_password.md deleted file mode 100644 index a9f512e8..00000000 --- a/old_docs/API_docs_v72/constructors/account_password.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: account.password -description: Configuration for two-factor authorization -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.password -[Back to constructors index](index.md) - - - -Configuration for two-factor authorization - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|current\_salt|[bytes](../types/bytes.md) | Yes|Current salt| -|new\_salt|[bytes](../types/bytes.md) | Yes|New salt| -|hint|[string](../types/string.md) | Yes|Text hint for the password| -|has\_recovery|[Bool](../types/Bool.md) | Yes|Has recovery?| -|email\_unconfirmed\_pattern|[string](../types/string.md) | Yes|A [password recovery email](https://core.telegram.org/api/srp#email-verification) with the specified [pattern](https://core.telegram.org/api/pattern) is still awaiting verification| - - - -### Type: [account\_Password](../types/account_Password.md) - - -### Example: - -```php -$account_password = ['_' => 'account.password', 'current_salt' => 'bytes', 'new_salt' => 'bytes', 'hint' => 'string', 'has_recovery' => Bool, 'email_unconfirmed_pattern' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -account_password={_='account.password', current_salt='bytes', new_salt='bytes', hint='string', has_recovery=Bool, email_unconfirmed_pattern='string'} - -``` - - diff --git a/old_docs/API_docs_v72/constructors/account_passwordInputSettings.md b/old_docs/API_docs_v72/constructors/account_passwordInputSettings.md deleted file mode 100644 index 05ec666b..00000000 --- a/old_docs/API_docs_v72/constructors/account_passwordInputSettings.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: account.passwordInputSettings -description: Settings for setting up a new password -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.passwordInputSettings -[Back to constructors index](index.md) - - - -Settings for setting up a new password - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|new\_salt|[bytes](../types/bytes.md) | Optional|`$new_salt = $MadelineProto->account->getPassword()['new_salt'].$MadelineProto->random(8);`| -|new\_password\_hash|[bytes](../types/bytes.md) | Optional|The [computed password hash](https://core.telegram.org/api/srp)| -|hint|[string](../types/string.md) | Optional|Text hint for the password| -|email|[string](../types/string.md) | Optional|Password recovery email| - - - -### Type: [account\_PasswordInputSettings](../types/account_PasswordInputSettings.md) - - -### Example: - -```php -$account_passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_salt' => 'bytes', 'new_password_hash' => 'bytes', 'hint' => 'string', 'email' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -account_passwordInputSettings={_='account.passwordInputSettings', new_salt='bytes', new_password_hash='bytes', hint='string', email='string'} - -``` - - diff --git a/old_docs/API_docs_v72/constructors/account_passwordSettings.md b/old_docs/API_docs_v72/constructors/account_passwordSettings.md deleted file mode 100644 index e22f9cc4..00000000 --- a/old_docs/API_docs_v72/constructors/account_passwordSettings.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: account.passwordSettings -description: Private info associated to the password info (recovery email, telegram [passport](https://core.telegram.org/passport) info & so on) -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.passwordSettings -[Back to constructors index](index.md) - - - -Private info associated to the password info (recovery email, telegram [passport](https://core.telegram.org/passport) info & so on) - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|email|[string](../types/string.md) | Yes|[2FA Recovery email](https://core.telegram.org/api/srp#email-verification)| - - - -### Type: [account\_PasswordSettings](../types/account_PasswordSettings.md) - - -### Example: - -```php -$account_passwordSettings = ['_' => 'account.passwordSettings', 'email' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -account_passwordSettings={_='account.passwordSettings', email='string'} - -``` - - diff --git a/old_docs/API_docs_v72/constructors/account_privacyRules.md b/old_docs/API_docs_v72/constructors/account_privacyRules.md deleted file mode 100644 index 28b260b7..00000000 --- a/old_docs/API_docs_v72/constructors/account_privacyRules.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: account.privacyRules -description: Privacy rules -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.privacyRules -[Back to constructors index](index.md) - - - -Privacy rules - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|rules|Array of [PrivacyRule](../types/PrivacyRule.md) | Yes|Rules| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [account\_PrivacyRules](../types/account_PrivacyRules.md) - - -### Example: - -```php -$account_privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule, PrivacyRule], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -account_privacyRules={_='account.privacyRules', rules={PrivacyRule}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v72/constructors/account_tmpPassword.md b/old_docs/API_docs_v72/constructors/account_tmpPassword.md deleted file mode 100644 index 68832780..00000000 --- a/old_docs/API_docs_v72/constructors/account_tmpPassword.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: account.tmpPassword -description: Temporary payment password -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.tmpPassword -[Back to constructors index](index.md) - - - -Temporary payment password - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|tmp\_password|[bytes](../types/bytes.md) | Yes|Temporary password| -|valid\_until|[int](../types/int.md) | Yes|Validity period| - - - -### Type: [account\_TmpPassword](../types/account_TmpPassword.md) - - -### Example: - -```php -$account_tmpPassword = ['_' => 'account.tmpPassword', 'tmp_password' => 'bytes', 'valid_until' => int]; -``` - - -Or, if you're into Lua: - -```lua -account_tmpPassword={_='account.tmpPassword', tmp_password='bytes', valid_until=int} - -``` - - diff --git a/old_docs/API_docs_v72/constructors/auth.authorization.md b/old_docs/API_docs_v72/constructors/auth.authorization.md new file mode 100644 index 00000000..2a84bb12 --- /dev/null +++ b/old_docs/API_docs_v72/constructors/auth.authorization.md @@ -0,0 +1,39 @@ +--- +title: auth.authorization +description: Contains user authorization info. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.authorization +[Back to constructors index](index.md) + + + +Contains user authorization info. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|tmp\_sessions|[int](../types/int.md) | Optional|Temporary [passport](https://core.telegram.org/passport) sessions| +|user|[User](../types/User.md) | Optional|Info on authorized user| + + + +### Type: [auth.Authorization](../types/auth.Authorization.md) + + +### Example: + +```php +$auth.authorization = ['_' => 'auth.authorization', 'tmp_sessions' => int, 'user' => User]; +``` + + +Or, if you're into Lua: + +```lua +auth.authorization={_='auth.authorization', tmp_sessions=int, user=User} + +``` + + diff --git a/old_docs/API_docs_v72/constructors/auth.checkedPhone.md b/old_docs/API_docs_v72/constructors/auth.checkedPhone.md new file mode 100644 index 00000000..23e84cf9 --- /dev/null +++ b/old_docs/API_docs_v72/constructors/auth.checkedPhone.md @@ -0,0 +1,38 @@ +--- +title: auth.checkedPhone +description: Checked phone +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.checkedPhone +[Back to constructors index](index.md) + + + +Checked phone + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_registered|[Bool](../types/Bool.md) | Yes|Phone registered?| + + + +### Type: [auth.CheckedPhone](../types/auth.CheckedPhone.md) + + +### Example: + +```php +$auth.checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool]; +``` + + +Or, if you're into Lua: + +```lua +auth.checkedPhone={_='auth.checkedPhone', phone_registered=Bool} + +``` + + diff --git a/old_docs/API_docs_v72/constructors/auth.codeTypeCall.md b/old_docs/API_docs_v72/constructors/auth.codeTypeCall.md new file mode 100644 index 00000000..4b4a1cdc --- /dev/null +++ b/old_docs/API_docs_v72/constructors/auth.codeTypeCall.md @@ -0,0 +1,33 @@ +--- +title: auth.codeTypeCall +description: Type of verification code that will be sent next if you call the resendCode method: SMS code +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.codeTypeCall +[Back to constructors index](index.md) + + + +Type of verification code that will be sent next if you call the resendCode method: SMS code + + + + +### Type: [auth.CodeType](../types/auth.CodeType.md) + + +### Example: + +```php +$auth.codeTypeCall = ['_' => 'auth.codeTypeCall']; +``` + + +Or, if you're into Lua: + +```lua +auth.codeTypeCall={_='auth.codeTypeCall'} + +``` + + diff --git a/old_docs/API_docs_v72/constructors/auth.codeTypeFlashCall.md b/old_docs/API_docs_v72/constructors/auth.codeTypeFlashCall.md new file mode 100644 index 00000000..ef97e034 --- /dev/null +++ b/old_docs/API_docs_v72/constructors/auth.codeTypeFlashCall.md @@ -0,0 +1,33 @@ +--- +title: auth.codeTypeFlashCall +description: Type of verification code that will be sent next if you call the resendCode method: SMS code +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.codeTypeFlashCall +[Back to constructors index](index.md) + + + +Type of verification code that will be sent next if you call the resendCode method: SMS code + + + + +### Type: [auth.CodeType](../types/auth.CodeType.md) + + +### Example: + +```php +$auth.codeTypeFlashCall = ['_' => 'auth.codeTypeFlashCall']; +``` + + +Or, if you're into Lua: + +```lua +auth.codeTypeFlashCall={_='auth.codeTypeFlashCall'} + +``` + + diff --git a/old_docs/API_docs_v72/constructors/auth.codeTypeSms.md b/old_docs/API_docs_v72/constructors/auth.codeTypeSms.md new file mode 100644 index 00000000..bab9a5a4 --- /dev/null +++ b/old_docs/API_docs_v72/constructors/auth.codeTypeSms.md @@ -0,0 +1,33 @@ +--- +title: auth.codeTypeSms +description: Type of verification code that will be sent next if you call the resendCode method: SMS code +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.codeTypeSms +[Back to constructors index](index.md) + + + +Type of verification code that will be sent next if you call the resendCode method: SMS code + + + + +### Type: [auth.CodeType](../types/auth.CodeType.md) + + +### Example: + +```php +$auth.codeTypeSms = ['_' => 'auth.codeTypeSms']; +``` + + +Or, if you're into Lua: + +```lua +auth.codeTypeSms={_='auth.codeTypeSms'} + +``` + + diff --git a/old_docs/API_docs_v72/constructors/auth.exportedAuthorization.md b/old_docs/API_docs_v72/constructors/auth.exportedAuthorization.md new file mode 100644 index 00000000..2a4a9896 --- /dev/null +++ b/old_docs/API_docs_v72/constructors/auth.exportedAuthorization.md @@ -0,0 +1,39 @@ +--- +title: auth.exportedAuthorization +description: Data for copying of authorization between data centres. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.exportedAuthorization +[Back to constructors index](index.md) + + + +Data for copying of authorization between data centres. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|id|[int](../types/int.md) | Yes|Current user identifier| +|bytes|[bytes](../types/bytes.md) | Yes|Authorizes key| + + + +### Type: [auth.ExportedAuthorization](../types/auth.ExportedAuthorization.md) + + +### Example: + +```php +$auth.exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +auth.exportedAuthorization={_='auth.exportedAuthorization', id=int, bytes='bytes'} + +``` + + diff --git a/old_docs/API_docs_v72/constructors/auth.passwordRecovery.md b/old_docs/API_docs_v72/constructors/auth.passwordRecovery.md new file mode 100644 index 00000000..61de922d --- /dev/null +++ b/old_docs/API_docs_v72/constructors/auth.passwordRecovery.md @@ -0,0 +1,38 @@ +--- +title: auth.passwordRecovery +description: Recovery info of a [2FA password](https://core.telegram.org/api/srp), only for accounts with a [recovery email configured](https://core.telegram.org/api/srp#email-verification). +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.passwordRecovery +[Back to constructors index](index.md) + + + +Recovery info of a [2FA password](https://core.telegram.org/api/srp), only for accounts with a [recovery email configured](https://core.telegram.org/api/srp#email-verification). + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|email\_pattern|[string](../types/string.md) | Yes|The email to which the recovery code was sent must match this [pattern](https://core.telegram.org/api/pattern).| + + + +### Type: [auth.PasswordRecovery](../types/auth.PasswordRecovery.md) + + +### Example: + +```php +$auth.passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +auth.passwordRecovery={_='auth.passwordRecovery', email_pattern='string'} + +``` + + diff --git a/old_docs/API_docs_v72/constructors/auth.sentCode.md b/old_docs/API_docs_v72/constructors/auth.sentCode.md new file mode 100644 index 00000000..25e94704 --- /dev/null +++ b/old_docs/API_docs_v72/constructors/auth.sentCode.md @@ -0,0 +1,42 @@ +--- +title: auth.sentCode +description: Contains info about a sent verification code. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentCode +[Back to constructors index](index.md) + + + +Contains info about a sent verification code. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_registered|[Bool](../types/Bool.md) | Optional|Phone registered?| +|type|[auth.SentCodeType](../constructors/auth.SentCodeType.md) | Yes|Phone code type| +|phone\_code\_hash|[string](../types/string.md) | Yes|Phone code hash, to be stored and later re-used with [auth.signIn](../methods/auth.signIn.md)| +|next\_type|[auth.CodeType](../constructors/auth.CodeType.md) | Optional|Phone code type that will be sent next, if the phone code is not received within `timeout` seconds: to send it use [auth.resendCode](../methods/auth.resendCode.md)| +|timeout|[int](../types/int.md) | Optional|Timeout for reception of the phone code| + + + +### Type: [auth.SentCode](../types/auth.SentCode.md) + + +### Example: + +```php +$auth.sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'type' => auth.SentCodeType, 'phone_code_hash' => 'string', 'next_type' => auth.CodeType, 'timeout' => int]; +``` + + +Or, if you're into Lua: + +```lua +auth.sentCode={_='auth.sentCode', phone_registered=Bool, type=auth.SentCodeType, phone_code_hash='string', next_type=auth.CodeType, timeout=int} + +``` + + diff --git a/old_docs/API_docs_v72/constructors/auth.sentCodeTypeApp.md b/old_docs/API_docs_v72/constructors/auth.sentCodeTypeApp.md new file mode 100644 index 00000000..5f2d4aa3 --- /dev/null +++ b/old_docs/API_docs_v72/constructors/auth.sentCodeTypeApp.md @@ -0,0 +1,38 @@ +--- +title: auth.sentCodeTypeApp +description: The code was sent through the telegram app +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentCodeTypeApp +[Back to constructors index](index.md) + + + +The code was sent through the telegram app + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|length|[int](../types/int.md) | Yes|Length of the code in bytes| + + + +### Type: [auth.SentCodeType](../types/auth.SentCodeType.md) + + +### Example: + +```php +$auth.sentCodeTypeApp = ['_' => 'auth.sentCodeTypeApp', 'length' => int]; +``` + + +Or, if you're into Lua: + +```lua +auth.sentCodeTypeApp={_='auth.sentCodeTypeApp', length=int} + +``` + + diff --git a/old_docs/API_docs_v72/constructors/auth.sentCodeTypeCall.md b/old_docs/API_docs_v72/constructors/auth.sentCodeTypeCall.md new file mode 100644 index 00000000..9843b3df --- /dev/null +++ b/old_docs/API_docs_v72/constructors/auth.sentCodeTypeCall.md @@ -0,0 +1,38 @@ +--- +title: auth.sentCodeTypeCall +description: The code will be sent via a phone call: a synthesized voice will tell the user which verification code to input. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentCodeTypeCall +[Back to constructors index](index.md) + + + +The code will be sent via a phone call: a synthesized voice will tell the user which verification code to input. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|length|[int](../types/int.md) | Yes|Length of the verification code| + + + +### Type: [auth.SentCodeType](../types/auth.SentCodeType.md) + + +### Example: + +```php +$auth.sentCodeTypeCall = ['_' => 'auth.sentCodeTypeCall', 'length' => int]; +``` + + +Or, if you're into Lua: + +```lua +auth.sentCodeTypeCall={_='auth.sentCodeTypeCall', length=int} + +``` + + diff --git a/old_docs/API_docs_v72/constructors/auth.sentCodeTypeFlashCall.md b/old_docs/API_docs_v72/constructors/auth.sentCodeTypeFlashCall.md new file mode 100644 index 00000000..0d24751d --- /dev/null +++ b/old_docs/API_docs_v72/constructors/auth.sentCodeTypeFlashCall.md @@ -0,0 +1,38 @@ +--- +title: auth.sentCodeTypeFlashCall +description: The code will be sent via a flash phone call, that will be closed immediately. The phone code will then be the phone number itself, just make sure that the phone number matches the specified pattern. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentCodeTypeFlashCall +[Back to constructors index](index.md) + + + +The code will be sent via a flash phone call, that will be closed immediately. The phone code will then be the phone number itself, just make sure that the phone number matches the specified pattern. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pattern|[string](../types/string.md) | Yes|[pattern](https://core.telegram.org/api/pattern) to match| + + + +### Type: [auth.SentCodeType](../types/auth.SentCodeType.md) + + +### Example: + +```php +$auth.sentCodeTypeFlashCall = ['_' => 'auth.sentCodeTypeFlashCall', 'pattern' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +auth.sentCodeTypeFlashCall={_='auth.sentCodeTypeFlashCall', pattern='string'} + +``` + + diff --git a/old_docs/API_docs_v72/constructors/auth.sentCodeTypeSms.md b/old_docs/API_docs_v72/constructors/auth.sentCodeTypeSms.md new file mode 100644 index 00000000..d8ecb75e --- /dev/null +++ b/old_docs/API_docs_v72/constructors/auth.sentCodeTypeSms.md @@ -0,0 +1,38 @@ +--- +title: auth.sentCodeTypeSms +description: The code was sent via SMS +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentCodeTypeSms +[Back to constructors index](index.md) + + + +The code was sent via SMS + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|length|[int](../types/int.md) | Yes|Length of the code in bytes| + + + +### Type: [auth.SentCodeType](../types/auth.SentCodeType.md) + + +### Example: + +```php +$auth.sentCodeTypeSms = ['_' => 'auth.sentCodeTypeSms', 'length' => int]; +``` + + +Or, if you're into Lua: + +```lua +auth.sentCodeTypeSms={_='auth.sentCodeTypeSms', length=int} + +``` + + diff --git a/old_docs/API_docs_v72/constructors/auth_authorization.md b/old_docs/API_docs_v72/constructors/auth_authorization.md deleted file mode 100644 index cb72811d..00000000 --- a/old_docs/API_docs_v72/constructors/auth_authorization.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: auth.authorization -description: Contains user authorization info. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.authorization -[Back to constructors index](index.md) - - - -Contains user authorization info. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|tmp\_sessions|[int](../types/int.md) | Optional|Temporary [passport](https://core.telegram.org/passport) sessions| -|user|[User](../types/User.md) | Optional|Info on authorized user| - - - -### Type: [auth\_Authorization](../types/auth_Authorization.md) - - -### Example: - -```php -$auth_authorization = ['_' => 'auth.authorization', 'tmp_sessions' => int, 'user' => User]; -``` - - -Or, if you're into Lua: - -```lua -auth_authorization={_='auth.authorization', tmp_sessions=int, user=User} - -``` - - diff --git a/old_docs/API_docs_v72/constructors/auth_checkedPhone.md b/old_docs/API_docs_v72/constructors/auth_checkedPhone.md deleted file mode 100644 index c77becf6..00000000 --- a/old_docs/API_docs_v72/constructors/auth_checkedPhone.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.checkedPhone -description: Checked phone -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.checkedPhone -[Back to constructors index](index.md) - - - -Checked phone - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_registered|[Bool](../types/Bool.md) | Yes|Phone registered?| - - - -### Type: [auth\_CheckedPhone](../types/auth_CheckedPhone.md) - - -### Example: - -```php -$auth_checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool]; -``` - - -Or, if you're into Lua: - -```lua -auth_checkedPhone={_='auth.checkedPhone', phone_registered=Bool} - -``` - - diff --git a/old_docs/API_docs_v72/constructors/auth_codeTypeCall.md b/old_docs/API_docs_v72/constructors/auth_codeTypeCall.md deleted file mode 100644 index 3e957c2a..00000000 --- a/old_docs/API_docs_v72/constructors/auth_codeTypeCall.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: auth.codeTypeCall -description: Type of verification code that will be sent next if you call the resendCode method: SMS code -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.codeTypeCall -[Back to constructors index](index.md) - - - -Type of verification code that will be sent next if you call the resendCode method: SMS code - - - - -### Type: [auth\_CodeType](../types/auth_CodeType.md) - - -### Example: - -```php -$auth_codeTypeCall = ['_' => 'auth.codeTypeCall']; -``` - - -Or, if you're into Lua: - -```lua -auth_codeTypeCall={_='auth.codeTypeCall'} - -``` - - diff --git a/old_docs/API_docs_v72/constructors/auth_codeTypeFlashCall.md b/old_docs/API_docs_v72/constructors/auth_codeTypeFlashCall.md deleted file mode 100644 index 981b2461..00000000 --- a/old_docs/API_docs_v72/constructors/auth_codeTypeFlashCall.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: auth.codeTypeFlashCall -description: Type of verification code that will be sent next if you call the resendCode method: SMS code -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.codeTypeFlashCall -[Back to constructors index](index.md) - - - -Type of verification code that will be sent next if you call the resendCode method: SMS code - - - - -### Type: [auth\_CodeType](../types/auth_CodeType.md) - - -### Example: - -```php -$auth_codeTypeFlashCall = ['_' => 'auth.codeTypeFlashCall']; -``` - - -Or, if you're into Lua: - -```lua -auth_codeTypeFlashCall={_='auth.codeTypeFlashCall'} - -``` - - diff --git a/old_docs/API_docs_v72/constructors/auth_codeTypeSms.md b/old_docs/API_docs_v72/constructors/auth_codeTypeSms.md deleted file mode 100644 index 16eb5d0d..00000000 --- a/old_docs/API_docs_v72/constructors/auth_codeTypeSms.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: auth.codeTypeSms -description: Type of verification code that will be sent next if you call the resendCode method: SMS code -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.codeTypeSms -[Back to constructors index](index.md) - - - -Type of verification code that will be sent next if you call the resendCode method: SMS code - - - - -### Type: [auth\_CodeType](../types/auth_CodeType.md) - - -### Example: - -```php -$auth_codeTypeSms = ['_' => 'auth.codeTypeSms']; -``` - - -Or, if you're into Lua: - -```lua -auth_codeTypeSms={_='auth.codeTypeSms'} - -``` - - diff --git a/old_docs/API_docs_v72/constructors/auth_exportedAuthorization.md b/old_docs/API_docs_v72/constructors/auth_exportedAuthorization.md deleted file mode 100644 index 8d18916e..00000000 --- a/old_docs/API_docs_v72/constructors/auth_exportedAuthorization.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: auth.exportedAuthorization -description: Data for copying of authorization between data centres. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.exportedAuthorization -[Back to constructors index](index.md) - - - -Data for copying of authorization between data centres. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|id|[int](../types/int.md) | Yes|Current user identifier| -|bytes|[bytes](../types/bytes.md) | Yes|Authorizes key| - - - -### Type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) - - -### Example: - -```php -$auth_exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -auth_exportedAuthorization={_='auth.exportedAuthorization', id=int, bytes='bytes'} - -``` - - diff --git a/old_docs/API_docs_v72/constructors/auth_passwordRecovery.md b/old_docs/API_docs_v72/constructors/auth_passwordRecovery.md deleted file mode 100644 index c40f375e..00000000 --- a/old_docs/API_docs_v72/constructors/auth_passwordRecovery.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.passwordRecovery -description: Recovery info of a [2FA password](https://core.telegram.org/api/srp), only for accounts with a [recovery email configured](https://core.telegram.org/api/srp#email-verification). -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.passwordRecovery -[Back to constructors index](index.md) - - - -Recovery info of a [2FA password](https://core.telegram.org/api/srp), only for accounts with a [recovery email configured](https://core.telegram.org/api/srp#email-verification). - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|email\_pattern|[string](../types/string.md) | Yes|The email to which the recovery code was sent must match this [pattern](https://core.telegram.org/api/pattern).| - - - -### Type: [auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) - - -### Example: - -```php -$auth_passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -auth_passwordRecovery={_='auth.passwordRecovery', email_pattern='string'} - -``` - - diff --git a/old_docs/API_docs_v72/constructors/auth_sentCode.md b/old_docs/API_docs_v72/constructors/auth_sentCode.md deleted file mode 100644 index 622c4137..00000000 --- a/old_docs/API_docs_v72/constructors/auth_sentCode.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: auth.sentCode -description: Contains info about a sent verification code. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentCode -[Back to constructors index](index.md) - - - -Contains info about a sent verification code. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_registered|[Bool](../types/Bool.md) | Optional|Phone registered?| -|type|[auth\_SentCodeType](../types/auth_SentCodeType.md) | Yes|Phone code type| -|phone\_code\_hash|[string](../types/string.md) | Yes|Phone code hash, to be stored and later re-used with [auth.signIn](../methods/auth.signIn.md)| -|next\_type|[auth\_CodeType](../types/auth_CodeType.md) | Optional|Phone code type that will be sent next, if the phone code is not received within `timeout` seconds: to send it use [auth.resendCode](../methods/auth.resendCode.md)| -|timeout|[int](../types/int.md) | Optional|Timeout for reception of the phone code| - - - -### Type: [auth\_SentCode](../types/auth_SentCode.md) - - -### Example: - -```php -$auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'type' => auth_SentCodeType, 'phone_code_hash' => 'string', 'next_type' => auth_CodeType, 'timeout' => int]; -``` - - -Or, if you're into Lua: - -```lua -auth_sentCode={_='auth.sentCode', phone_registered=Bool, type=auth_SentCodeType, phone_code_hash='string', next_type=auth_CodeType, timeout=int} - -``` - - diff --git a/old_docs/API_docs_v72/constructors/auth_sentCodeTypeApp.md b/old_docs/API_docs_v72/constructors/auth_sentCodeTypeApp.md deleted file mode 100644 index 6b7ad824..00000000 --- a/old_docs/API_docs_v72/constructors/auth_sentCodeTypeApp.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.sentCodeTypeApp -description: The code was sent through the telegram app -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentCodeTypeApp -[Back to constructors index](index.md) - - - -The code was sent through the telegram app - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|length|[int](../types/int.md) | Yes|Length of the code in bytes| - - - -### Type: [auth\_SentCodeType](../types/auth_SentCodeType.md) - - -### Example: - -```php -$auth_sentCodeTypeApp = ['_' => 'auth.sentCodeTypeApp', 'length' => int]; -``` - - -Or, if you're into Lua: - -```lua -auth_sentCodeTypeApp={_='auth.sentCodeTypeApp', length=int} - -``` - - diff --git a/old_docs/API_docs_v72/constructors/auth_sentCodeTypeCall.md b/old_docs/API_docs_v72/constructors/auth_sentCodeTypeCall.md deleted file mode 100644 index bf025aa5..00000000 --- a/old_docs/API_docs_v72/constructors/auth_sentCodeTypeCall.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.sentCodeTypeCall -description: The code will be sent via a phone call: a synthesized voice will tell the user which verification code to input. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentCodeTypeCall -[Back to constructors index](index.md) - - - -The code will be sent via a phone call: a synthesized voice will tell the user which verification code to input. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|length|[int](../types/int.md) | Yes|Length of the verification code| - - - -### Type: [auth\_SentCodeType](../types/auth_SentCodeType.md) - - -### Example: - -```php -$auth_sentCodeTypeCall = ['_' => 'auth.sentCodeTypeCall', 'length' => int]; -``` - - -Or, if you're into Lua: - -```lua -auth_sentCodeTypeCall={_='auth.sentCodeTypeCall', length=int} - -``` - - diff --git a/old_docs/API_docs_v72/constructors/auth_sentCodeTypeFlashCall.md b/old_docs/API_docs_v72/constructors/auth_sentCodeTypeFlashCall.md deleted file mode 100644 index efe64ce7..00000000 --- a/old_docs/API_docs_v72/constructors/auth_sentCodeTypeFlashCall.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.sentCodeTypeFlashCall -description: The code will be sent via a flash phone call, that will be closed immediately. The phone code will then be the phone number itself, just make sure that the phone number matches the specified pattern. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentCodeTypeFlashCall -[Back to constructors index](index.md) - - - -The code will be sent via a flash phone call, that will be closed immediately. The phone code will then be the phone number itself, just make sure that the phone number matches the specified pattern. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pattern|[string](../types/string.md) | Yes|[pattern](https://core.telegram.org/api/pattern) to match| - - - -### Type: [auth\_SentCodeType](../types/auth_SentCodeType.md) - - -### Example: - -```php -$auth_sentCodeTypeFlashCall = ['_' => 'auth.sentCodeTypeFlashCall', 'pattern' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -auth_sentCodeTypeFlashCall={_='auth.sentCodeTypeFlashCall', pattern='string'} - -``` - - diff --git a/old_docs/API_docs_v72/constructors/auth_sentCodeTypeSms.md b/old_docs/API_docs_v72/constructors/auth_sentCodeTypeSms.md deleted file mode 100644 index 8e27dac9..00000000 --- a/old_docs/API_docs_v72/constructors/auth_sentCodeTypeSms.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.sentCodeTypeSms -description: The code was sent via SMS -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentCodeTypeSms -[Back to constructors index](index.md) - - - -The code was sent via SMS - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|length|[int](../types/int.md) | Yes|Length of the code in bytes| - - - -### Type: [auth\_SentCodeType](../types/auth_SentCodeType.md) - - -### Example: - -```php -$auth_sentCodeTypeSms = ['_' => 'auth.sentCodeTypeSms', 'length' => int]; -``` - - -Or, if you're into Lua: - -```lua -auth_sentCodeTypeSms={_='auth.sentCodeTypeSms', length=int} - -``` - - diff --git a/old_docs/API_docs_v72/constructors/channels.adminLogResults.md b/old_docs/API_docs_v72/constructors/channels.adminLogResults.md new file mode 100644 index 00000000..fc4e234a --- /dev/null +++ b/old_docs/API_docs_v72/constructors/channels.adminLogResults.md @@ -0,0 +1,40 @@ +--- +title: channels.adminLogResults +description: Admin log events +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: channels.adminLogResults +[Back to constructors index](index.md) + + + +Admin log events + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|events|Array of [ChannelAdminLogEvent](../types/ChannelAdminLogEvent.md) | Yes|Events| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [channels.AdminLogResults](../types/channels.AdminLogResults.md) + + +### Example: + +```php +$channels.adminLogResults = ['_' => 'channels.adminLogResults', 'events' => [ChannelAdminLogEvent, ChannelAdminLogEvent], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +channels.adminLogResults={_='channels.adminLogResults', events={ChannelAdminLogEvent}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v72/constructors/channels.channelParticipant.md b/old_docs/API_docs_v72/constructors/channels.channelParticipant.md new file mode 100644 index 00000000..0f09777f --- /dev/null +++ b/old_docs/API_docs_v72/constructors/channels.channelParticipant.md @@ -0,0 +1,39 @@ +--- +title: channels.channelParticipant +description: Represents a channel participant +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: channels.channelParticipant +[Back to constructors index](index.md) + + + +Represents a channel participant + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|participant|[ChannelParticipant](../types/ChannelParticipant.md) | Yes|The channel participant| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [channels.ChannelParticipant](../types/channels.ChannelParticipant.md) + + +### Example: + +```php +$channels.channelParticipant = ['_' => 'channels.channelParticipant', 'participant' => ChannelParticipant, 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +channels.channelParticipant={_='channels.channelParticipant', participant=ChannelParticipant, users={User}} + +``` + + diff --git a/old_docs/API_docs_v72/constructors/channels.channelParticipants.md b/old_docs/API_docs_v72/constructors/channels.channelParticipants.md new file mode 100644 index 00000000..6ee1a8b3 --- /dev/null +++ b/old_docs/API_docs_v72/constructors/channels.channelParticipants.md @@ -0,0 +1,40 @@ +--- +title: channels.channelParticipants +description: Represents multiple channel participants +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: channels.channelParticipants +[Back to constructors index](index.md) + + + +Represents multiple channel participants + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of participants that correspond to the given query| +|participants|Array of [ChannelParticipant](../types/ChannelParticipant.md) | Yes|Participants| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [channels.ChannelParticipants](../types/channels.ChannelParticipants.md) + + +### Example: + +```php +$channels.channelParticipants = ['_' => 'channels.channelParticipants', 'count' => int, 'participants' => [ChannelParticipant, ChannelParticipant], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +channels.channelParticipants={_='channels.channelParticipants', count=int, participants={ChannelParticipant}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v72/constructors/channels.channelParticipantsNotModified.md b/old_docs/API_docs_v72/constructors/channels.channelParticipantsNotModified.md new file mode 100644 index 00000000..37ece73a --- /dev/null +++ b/old_docs/API_docs_v72/constructors/channels.channelParticipantsNotModified.md @@ -0,0 +1,33 @@ +--- +title: channels.channelParticipantsNotModified +description: No new participant info could be found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: channels.channelParticipantsNotModified +[Back to constructors index](index.md) + + + +No new participant info could be found + + + + +### Type: [channels.ChannelParticipants](../types/channels.ChannelParticipants.md) + + +### Example: + +```php +$channels.channelParticipantsNotModified = ['_' => 'channels.channelParticipantsNotModified']; +``` + + +Or, if you're into Lua: + +```lua +channels.channelParticipantsNotModified={_='channels.channelParticipantsNotModified'} + +``` + + diff --git a/old_docs/API_docs_v72/constructors/channels_adminLogResults.md b/old_docs/API_docs_v72/constructors/channels_adminLogResults.md deleted file mode 100644 index 9061212a..00000000 --- a/old_docs/API_docs_v72/constructors/channels_adminLogResults.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: channels.adminLogResults -description: Admin log events -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: channels.adminLogResults -[Back to constructors index](index.md) - - - -Admin log events - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|events|Array of [ChannelAdminLogEvent](../types/ChannelAdminLogEvent.md) | Yes|Events| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [channels\_AdminLogResults](../types/channels_AdminLogResults.md) - - -### Example: - -```php -$channels_adminLogResults = ['_' => 'channels.adminLogResults', 'events' => [ChannelAdminLogEvent, ChannelAdminLogEvent], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -channels_adminLogResults={_='channels.adminLogResults', events={ChannelAdminLogEvent}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v72/constructors/channels_channelParticipant.md b/old_docs/API_docs_v72/constructors/channels_channelParticipant.md deleted file mode 100644 index 15fe46a4..00000000 --- a/old_docs/API_docs_v72/constructors/channels_channelParticipant.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: channels.channelParticipant -description: Represents a channel participant -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: channels.channelParticipant -[Back to constructors index](index.md) - - - -Represents a channel participant - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|participant|[ChannelParticipant](../types/ChannelParticipant.md) | Yes|The channel participant| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [channels\_ChannelParticipant](../types/channels_ChannelParticipant.md) - - -### Example: - -```php -$channels_channelParticipant = ['_' => 'channels.channelParticipant', 'participant' => ChannelParticipant, 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -channels_channelParticipant={_='channels.channelParticipant', participant=ChannelParticipant, users={User}} - -``` - - diff --git a/old_docs/API_docs_v72/constructors/channels_channelParticipants.md b/old_docs/API_docs_v72/constructors/channels_channelParticipants.md deleted file mode 100644 index 1848a04f..00000000 --- a/old_docs/API_docs_v72/constructors/channels_channelParticipants.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: channels.channelParticipants -description: Represents multiple channel participants -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: channels.channelParticipants -[Back to constructors index](index.md) - - - -Represents multiple channel participants - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of participants that correspond to the given query| -|participants|Array of [ChannelParticipant](../types/ChannelParticipant.md) | Yes|Participants| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [channels\_ChannelParticipants](../types/channels_ChannelParticipants.md) - - -### Example: - -```php -$channels_channelParticipants = ['_' => 'channels.channelParticipants', 'count' => int, 'participants' => [ChannelParticipant, ChannelParticipant], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -channels_channelParticipants={_='channels.channelParticipants', count=int, participants={ChannelParticipant}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v72/constructors/channels_channelParticipantsNotModified.md b/old_docs/API_docs_v72/constructors/channels_channelParticipantsNotModified.md deleted file mode 100644 index 800048f7..00000000 --- a/old_docs/API_docs_v72/constructors/channels_channelParticipantsNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: channels.channelParticipantsNotModified -description: No new participant info could be found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: channels.channelParticipantsNotModified -[Back to constructors index](index.md) - - - -No new participant info could be found - - - - -### Type: [channels\_ChannelParticipants](../types/channels_ChannelParticipants.md) - - -### Example: - -```php -$channels_channelParticipantsNotModified = ['_' => 'channels.channelParticipantsNotModified']; -``` - - -Or, if you're into Lua: - -```lua -channels_channelParticipantsNotModified={_='channels.channelParticipantsNotModified'} - -``` - - diff --git a/old_docs/API_docs_v72/constructors/contacts.blocked.md b/old_docs/API_docs_v72/constructors/contacts.blocked.md new file mode 100644 index 00000000..d2b3f680 --- /dev/null +++ b/old_docs/API_docs_v72/constructors/contacts.blocked.md @@ -0,0 +1,39 @@ +--- +title: contacts.blocked +description: Full list of blocked users. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.blocked +[Back to constructors index](index.md) + + + +Full list of blocked users. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Blocked](../types/contacts.Blocked.md) + + +### Example: + +```php +$contacts.blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.blocked={_='contacts.blocked', blocked={ContactBlocked}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v72/constructors/contacts.blockedSlice.md b/old_docs/API_docs_v72/constructors/contacts.blockedSlice.md new file mode 100644 index 00000000..92d19c72 --- /dev/null +++ b/old_docs/API_docs_v72/constructors/contacts.blockedSlice.md @@ -0,0 +1,40 @@ +--- +title: contacts.blockedSlice +description: Incomplete list of blocked users. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.blockedSlice +[Back to constructors index](index.md) + + + +Incomplete list of blocked users. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of elements in the list| +|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Blocked](../types/contacts.Blocked.md) + + +### Example: + +```php +$contacts.blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.blockedSlice={_='contacts.blockedSlice', count=int, blocked={ContactBlocked}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v72/constructors/contacts.contacts.md b/old_docs/API_docs_v72/constructors/contacts.contacts.md new file mode 100644 index 00000000..c3251e5d --- /dev/null +++ b/old_docs/API_docs_v72/constructors/contacts.contacts.md @@ -0,0 +1,40 @@ +--- +title: contacts.contacts +description: The current user's contact list and info on users. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.contacts +[Back to constructors index](index.md) + + + +The current user's contact list and info on users. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|contacts|Array of [Contact](../types/Contact.md) | Yes|Contacts| +|saved\_count|[int](../types/int.md) | Yes|Number of contacts that were saved successfully| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Contacts](../types/contacts.Contacts.md) + + +### Example: + +```php +$contacts.contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact, Contact], 'saved_count' => int, 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.contacts={_='contacts.contacts', contacts={Contact}, saved_count=int, users={User}} + +``` + + diff --git a/old_docs/API_docs_v72/constructors/contacts.contactsNotModified.md b/old_docs/API_docs_v72/constructors/contacts.contactsNotModified.md new file mode 100644 index 00000000..e2149396 --- /dev/null +++ b/old_docs/API_docs_v72/constructors/contacts.contactsNotModified.md @@ -0,0 +1,33 @@ +--- +title: contacts.contactsNotModified +description: Contact list on the server is the same as the list on the client. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.contactsNotModified +[Back to constructors index](index.md) + + + +Contact list on the server is the same as the list on the client. + + + + +### Type: [contacts.Contacts](../types/contacts.Contacts.md) + + +### Example: + +```php +$contacts.contactsNotModified = ['_' => 'contacts.contactsNotModified']; +``` + + +Or, if you're into Lua: + +```lua +contacts.contactsNotModified={_='contacts.contactsNotModified'} + +``` + + diff --git a/old_docs/API_docs_v72/constructors/contacts.found.md b/old_docs/API_docs_v72/constructors/contacts.found.md new file mode 100644 index 00000000..1eaa93b7 --- /dev/null +++ b/old_docs/API_docs_v72/constructors/contacts.found.md @@ -0,0 +1,40 @@ +--- +title: contacts.found +description: Users found by name substring and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.found +[Back to constructors index](index.md) + + + +Users found by name substring and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|results|Array of [Peer](../types/Peer.md) | Yes|Results| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Found](../types/contacts.Found.md) + + +### Example: + +```php +$contacts.found = ['_' => 'contacts.found', 'results' => [Peer, Peer], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.found={_='contacts.found', results={Peer}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v72/constructors/contacts.importedContacts.md b/old_docs/API_docs_v72/constructors/contacts.importedContacts.md new file mode 100644 index 00000000..20075931 --- /dev/null +++ b/old_docs/API_docs_v72/constructors/contacts.importedContacts.md @@ -0,0 +1,41 @@ +--- +title: contacts.importedContacts +description: Info on succesfully imported contacts. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.importedContacts +[Back to constructors index](index.md) + + + +Info on succesfully imported contacts. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|imported|Array of [ImportedContact](../types/ImportedContact.md) | Yes|Imported| +|popular\_invites|Array of [PopularContact](../types/PopularContact.md) | Yes|Popular invites| +|retry\_contacts|Array of [long](../types/long.md) | Yes|Retry importing contacts whose client IDs appear here| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.ImportedContacts](../types/contacts.ImportedContacts.md) + + +### Example: + +```php +$contacts.importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact, ImportedContact], 'popular_invites' => [PopularContact, PopularContact], 'retry_contacts' => [long, long], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.importedContacts={_='contacts.importedContacts', imported={ImportedContact}, popular_invites={PopularContact}, retry_contacts={long}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v72/constructors/contacts.link.md b/old_docs/API_docs_v72/constructors/contacts.link.md new file mode 100644 index 00000000..ab150a0d --- /dev/null +++ b/old_docs/API_docs_v72/constructors/contacts.link.md @@ -0,0 +1,40 @@ +--- +title: contacts.link +description: Link +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.link +[Back to constructors index](index.md) + + + +Link + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|my\_link|[ContactLink](../types/ContactLink.md) | Yes|My link| +|foreign\_link|[ContactLink](../types/ContactLink.md) | Yes|Foreign link| +|user|[User](../types/User.md) | Optional|User| + + + +### Type: [contacts.Link](../types/contacts.Link.md) + + +### Example: + +```php +$contacts.link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User]; +``` + + +Or, if you're into Lua: + +```lua +contacts.link={_='contacts.link', my_link=ContactLink, foreign_link=ContactLink, user=User} + +``` + + diff --git a/old_docs/API_docs_v72/constructors/contacts.resolvedPeer.md b/old_docs/API_docs_v72/constructors/contacts.resolvedPeer.md new file mode 100644 index 00000000..35d88481 --- /dev/null +++ b/old_docs/API_docs_v72/constructors/contacts.resolvedPeer.md @@ -0,0 +1,40 @@ +--- +title: contacts.resolvedPeer +description: Resolved peer +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.resolvedPeer +[Back to constructors index](index.md) + + + +Resolved peer + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|peer|[Peer](../types/Peer.md) | Yes|The peer| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.ResolvedPeer](../types/contacts.ResolvedPeer.md) + + +### Example: + +```php +$contacts.resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.resolvedPeer={_='contacts.resolvedPeer', peer=Peer, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v72/constructors/contacts.topPeers.md b/old_docs/API_docs_v72/constructors/contacts.topPeers.md new file mode 100644 index 00000000..19d9c712 --- /dev/null +++ b/old_docs/API_docs_v72/constructors/contacts.topPeers.md @@ -0,0 +1,40 @@ +--- +title: contacts.topPeers +description: Top peers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.topPeers +[Back to constructors index](index.md) + + + +Top peers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|categories|Array of [TopPeerCategoryPeers](../types/TopPeerCategoryPeers.md) | Yes|Categories| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.TopPeers](../types/contacts.TopPeers.md) + + +### Example: + +```php +$contacts.topPeers = ['_' => 'contacts.topPeers', 'categories' => [TopPeerCategoryPeers, TopPeerCategoryPeers], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.topPeers={_='contacts.topPeers', categories={TopPeerCategoryPeers}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v72/constructors/contacts.topPeersNotModified.md b/old_docs/API_docs_v72/constructors/contacts.topPeersNotModified.md new file mode 100644 index 00000000..77c5eb4d --- /dev/null +++ b/old_docs/API_docs_v72/constructors/contacts.topPeersNotModified.md @@ -0,0 +1,33 @@ +--- +title: contacts.topPeersNotModified +description: Top peer info hasn't changed +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.topPeersNotModified +[Back to constructors index](index.md) + + + +Top peer info hasn't changed + + + + +### Type: [contacts.TopPeers](../types/contacts.TopPeers.md) + + +### Example: + +```php +$contacts.topPeersNotModified = ['_' => 'contacts.topPeersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +contacts.topPeersNotModified={_='contacts.topPeersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v72/constructors/contacts_blocked.md b/old_docs/API_docs_v72/constructors/contacts_blocked.md deleted file mode 100644 index 20e33002..00000000 --- a/old_docs/API_docs_v72/constructors/contacts_blocked.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: contacts.blocked -description: Full list of blocked users. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.blocked -[Back to constructors index](index.md) - - - -Full list of blocked users. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Blocked](../types/contacts_Blocked.md) - - -### Example: - -```php -$contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_blocked={_='contacts.blocked', blocked={ContactBlocked}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v72/constructors/contacts_blockedSlice.md b/old_docs/API_docs_v72/constructors/contacts_blockedSlice.md deleted file mode 100644 index fcab9a28..00000000 --- a/old_docs/API_docs_v72/constructors/contacts_blockedSlice.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.blockedSlice -description: Incomplete list of blocked users. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.blockedSlice -[Back to constructors index](index.md) - - - -Incomplete list of blocked users. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of elements in the list| -|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Blocked](../types/contacts_Blocked.md) - - -### Example: - -```php -$contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_blockedSlice={_='contacts.blockedSlice', count=int, blocked={ContactBlocked}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v72/constructors/contacts_contacts.md b/old_docs/API_docs_v72/constructors/contacts_contacts.md deleted file mode 100644 index 0e6f0dd3..00000000 --- a/old_docs/API_docs_v72/constructors/contacts_contacts.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.contacts -description: The current user's contact list and info on users. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.contacts -[Back to constructors index](index.md) - - - -The current user's contact list and info on users. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|contacts|Array of [Contact](../types/Contact.md) | Yes|Contacts| -|saved\_count|[int](../types/int.md) | Yes|Number of contacts that were saved successfully| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Contacts](../types/contacts_Contacts.md) - - -### Example: - -```php -$contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact, Contact], 'saved_count' => int, 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_contacts={_='contacts.contacts', contacts={Contact}, saved_count=int, users={User}} - -``` - - diff --git a/old_docs/API_docs_v72/constructors/contacts_contactsNotModified.md b/old_docs/API_docs_v72/constructors/contacts_contactsNotModified.md deleted file mode 100644 index 17e76ac3..00000000 --- a/old_docs/API_docs_v72/constructors/contacts_contactsNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: contacts.contactsNotModified -description: Contact list on the server is the same as the list on the client. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.contactsNotModified -[Back to constructors index](index.md) - - - -Contact list on the server is the same as the list on the client. - - - - -### Type: [contacts\_Contacts](../types/contacts_Contacts.md) - - -### Example: - -```php -$contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified']; -``` - - -Or, if you're into Lua: - -```lua -contacts_contactsNotModified={_='contacts.contactsNotModified'} - -``` - - diff --git a/old_docs/API_docs_v72/constructors/contacts_found.md b/old_docs/API_docs_v72/constructors/contacts_found.md deleted file mode 100644 index 0674aabf..00000000 --- a/old_docs/API_docs_v72/constructors/contacts_found.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.found -description: Users found by name substring and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.found -[Back to constructors index](index.md) - - - -Users found by name substring and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|results|Array of [Peer](../types/Peer.md) | Yes|Results| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Found](../types/contacts_Found.md) - - -### Example: - -```php -$contacts_found = ['_' => 'contacts.found', 'results' => [Peer, Peer], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_found={_='contacts.found', results={Peer}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v72/constructors/contacts_importedContacts.md b/old_docs/API_docs_v72/constructors/contacts_importedContacts.md deleted file mode 100644 index e534754b..00000000 --- a/old_docs/API_docs_v72/constructors/contacts_importedContacts.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: contacts.importedContacts -description: Info on succesfully imported contacts. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.importedContacts -[Back to constructors index](index.md) - - - -Info on succesfully imported contacts. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|imported|Array of [ImportedContact](../types/ImportedContact.md) | Yes|Imported| -|popular\_invites|Array of [PopularContact](../types/PopularContact.md) | Yes|Popular invites| -|retry\_contacts|Array of [long](../types/long.md) | Yes|Retry importing contacts whose client IDs appear here| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) - - -### Example: - -```php -$contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact, ImportedContact], 'popular_invites' => [PopularContact, PopularContact], 'retry_contacts' => [long, long], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_importedContacts={_='contacts.importedContacts', imported={ImportedContact}, popular_invites={PopularContact}, retry_contacts={long}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v72/constructors/contacts_link.md b/old_docs/API_docs_v72/constructors/contacts_link.md deleted file mode 100644 index cfc566c7..00000000 --- a/old_docs/API_docs_v72/constructors/contacts_link.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.link -description: Link -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.link -[Back to constructors index](index.md) - - - -Link - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|my\_link|[ContactLink](../types/ContactLink.md) | Yes|My link| -|foreign\_link|[ContactLink](../types/ContactLink.md) | Yes|Foreign link| -|user|[User](../types/User.md) | Optional|User| - - - -### Type: [contacts\_Link](../types/contacts_Link.md) - - -### Example: - -```php -$contacts_link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User]; -``` - - -Or, if you're into Lua: - -```lua -contacts_link={_='contacts.link', my_link=ContactLink, foreign_link=ContactLink, user=User} - -``` - - diff --git a/old_docs/API_docs_v72/constructors/contacts_resolvedPeer.md b/old_docs/API_docs_v72/constructors/contacts_resolvedPeer.md deleted file mode 100644 index aae3c7af..00000000 --- a/old_docs/API_docs_v72/constructors/contacts_resolvedPeer.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.resolvedPeer -description: Resolved peer -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.resolvedPeer -[Back to constructors index](index.md) - - - -Resolved peer - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|peer|[Peer](../types/Peer.md) | Yes|The peer| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_ResolvedPeer](../types/contacts_ResolvedPeer.md) - - -### Example: - -```php -$contacts_resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_resolvedPeer={_='contacts.resolvedPeer', peer=Peer, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v72/constructors/contacts_topPeers.md b/old_docs/API_docs_v72/constructors/contacts_topPeers.md deleted file mode 100644 index 77bc07d3..00000000 --- a/old_docs/API_docs_v72/constructors/contacts_topPeers.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.topPeers -description: Top peers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.topPeers -[Back to constructors index](index.md) - - - -Top peers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|categories|Array of [TopPeerCategoryPeers](../types/TopPeerCategoryPeers.md) | Yes|Categories| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_TopPeers](../types/contacts_TopPeers.md) - - -### Example: - -```php -$contacts_topPeers = ['_' => 'contacts.topPeers', 'categories' => [TopPeerCategoryPeers, TopPeerCategoryPeers], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_topPeers={_='contacts.topPeers', categories={TopPeerCategoryPeers}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v72/constructors/contacts_topPeersNotModified.md b/old_docs/API_docs_v72/constructors/contacts_topPeersNotModified.md deleted file mode 100644 index 43eae59d..00000000 --- a/old_docs/API_docs_v72/constructors/contacts_topPeersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: contacts.topPeersNotModified -description: Top peer info hasn't changed -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.topPeersNotModified -[Back to constructors index](index.md) - - - -Top peer info hasn't changed - - - - -### Type: [contacts\_TopPeers](../types/contacts_TopPeers.md) - - -### Example: - -```php -$contacts_topPeersNotModified = ['_' => 'contacts.topPeersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -contacts_topPeersNotModified={_='contacts.topPeersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v72/constructors/help.appUpdate.md b/old_docs/API_docs_v72/constructors/help.appUpdate.md new file mode 100644 index 00000000..14b2d75b --- /dev/null +++ b/old_docs/API_docs_v72/constructors/help.appUpdate.md @@ -0,0 +1,41 @@ +--- +title: help.appUpdate +description: An update is available for the application. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.appUpdate +[Back to constructors index](index.md) + + + +An update is available for the application. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|id|[int](../types/int.md) | Yes|Update ID| +|critical|[Bool](../types/Bool.md) | Yes|Critical?| +|url|[string](../types/string.md) | Yes|Application download URL| +|text|[string](../types/string.md) | Yes|Text description of the update| + + + +### Type: [help.AppUpdate](../types/help.AppUpdate.md) + + +### Example: + +```php +$help.appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'url' => 'string', 'text' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +help.appUpdate={_='help.appUpdate', id=int, critical=Bool, url='string', text='string'} + +``` + + diff --git a/old_docs/API_docs_v72/constructors/help.configSimple.md b/old_docs/API_docs_v72/constructors/help.configSimple.md new file mode 100644 index 00000000..516ba611 --- /dev/null +++ b/old_docs/API_docs_v72/constructors/help.configSimple.md @@ -0,0 +1,41 @@ +--- +title: help.configSimple +description: Config simple +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.configSimple +[Back to constructors index](index.md) + + + +Config simple + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Date| +|expires|[int](../types/int.md) | Yes|Expires| +|dc\_id|[int](../types/int.md) | Yes|DC ID| +|ip\_port\_list|Array of [ipPort](../constructors/ipPort.md) | Yes|Ip port list| + + + +### Type: [help.ConfigSimple](../types/help.ConfigSimple.md) + + +### Example: + +```php +$help.configSimple = ['_' => 'help.configSimple', 'date' => int, 'expires' => int, 'dc_id' => int, 'ip_port_list' => [ipPort, ipPort]]; +``` + + +Or, if you're into Lua: + +```lua +help.configSimple={_='help.configSimple', date=int, expires=int, dc_id=int, ip_port_list={ipPort}} + +``` + + diff --git a/old_docs/API_docs_v72/constructors/help.inviteText.md b/old_docs/API_docs_v72/constructors/help.inviteText.md new file mode 100644 index 00000000..6a6261c1 --- /dev/null +++ b/old_docs/API_docs_v72/constructors/help.inviteText.md @@ -0,0 +1,38 @@ +--- +title: help.inviteText +description: Text of a text message with an invitation to install application. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.inviteText +[Back to constructors index](index.md) + + + +Text of a text message with an invitation to install application. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|message|[string](../types/string.md) | Yes|Text of a message| + + + +### Type: [help.InviteText](../types/help.InviteText.md) + + +### Example: + +```php +$help.inviteText = ['_' => 'help.inviteText', 'message' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +help.inviteText={_='help.inviteText', message='string'} + +``` + + diff --git a/old_docs/API_docs_v72/constructors/help.noAppUpdate.md b/old_docs/API_docs_v72/constructors/help.noAppUpdate.md new file mode 100644 index 00000000..1b69ac9a --- /dev/null +++ b/old_docs/API_docs_v72/constructors/help.noAppUpdate.md @@ -0,0 +1,33 @@ +--- +title: help.noAppUpdate +description: No updates are available for the application. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.noAppUpdate +[Back to constructors index](index.md) + + + +No updates are available for the application. + + + + +### Type: [help.AppUpdate](../types/help.AppUpdate.md) + + +### Example: + +```php +$help.noAppUpdate = ['_' => 'help.noAppUpdate']; +``` + + +Or, if you're into Lua: + +```lua +help.noAppUpdate={_='help.noAppUpdate'} + +``` + + diff --git a/old_docs/API_docs_v72/constructors/help.recentMeUrls.md b/old_docs/API_docs_v72/constructors/help.recentMeUrls.md new file mode 100644 index 00000000..711407b7 --- /dev/null +++ b/old_docs/API_docs_v72/constructors/help.recentMeUrls.md @@ -0,0 +1,40 @@ +--- +title: help.recentMeUrls +description: Recent t.me URLs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.recentMeUrls +[Back to constructors index](index.md) + + + +Recent t.me URLs + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|urls|Array of [RecentMeUrl](../types/RecentMeUrl.md) | Yes|URLs| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [help.RecentMeUrls](../types/help.RecentMeUrls.md) + + +### Example: + +```php +$help.recentMeUrls = ['_' => 'help.recentMeUrls', 'urls' => [RecentMeUrl, RecentMeUrl], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +help.recentMeUrls={_='help.recentMeUrls', urls={RecentMeUrl}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v72/constructors/help.support.md b/old_docs/API_docs_v72/constructors/help.support.md new file mode 100644 index 00000000..4d4f85fb --- /dev/null +++ b/old_docs/API_docs_v72/constructors/help.support.md @@ -0,0 +1,39 @@ +--- +title: help.support +description: Info on support user. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.support +[Back to constructors index](index.md) + + + +Info on support user. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_number|[string](../types/string.md) | Yes|Phone number| +|user|[User](../types/User.md) | Optional|User| + + + +### Type: [help.Support](../types/help.Support.md) + + +### Example: + +```php +$help.support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => User]; +``` + + +Or, if you're into Lua: + +```lua +help.support={_='help.support', phone_number='string', user=User} + +``` + + diff --git a/old_docs/API_docs_v72/constructors/help.termsOfService.md b/old_docs/API_docs_v72/constructors/help.termsOfService.md new file mode 100644 index 00000000..cab1f128 --- /dev/null +++ b/old_docs/API_docs_v72/constructors/help.termsOfService.md @@ -0,0 +1,38 @@ +--- +title: help.termsOfService +description: Info about the latest telegram Terms Of Service +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.termsOfService +[Back to constructors index](index.md) + + + +Info about the latest telegram Terms Of Service + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|text|[string](../types/string.md) | Yes|Text of the new terms| + + + +### Type: [help.TermsOfService](../types/help.TermsOfService.md) + + +### Example: + +```php +$help.termsOfService = ['_' => 'help.termsOfService', 'text' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +help.termsOfService={_='help.termsOfService', text='string'} + +``` + + diff --git a/old_docs/API_docs_v72/constructors/help_appUpdate.md b/old_docs/API_docs_v72/constructors/help_appUpdate.md deleted file mode 100644 index efba9bdb..00000000 --- a/old_docs/API_docs_v72/constructors/help_appUpdate.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: help.appUpdate -description: An update is available for the application. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.appUpdate -[Back to constructors index](index.md) - - - -An update is available for the application. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|id|[int](../types/int.md) | Yes|Update ID| -|critical|[Bool](../types/Bool.md) | Yes|Critical?| -|url|[string](../types/string.md) | Yes|Application download URL| -|text|[string](../types/string.md) | Yes|Text description of the update| - - - -### Type: [help\_AppUpdate](../types/help_AppUpdate.md) - - -### Example: - -```php -$help_appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'url' => 'string', 'text' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -help_appUpdate={_='help.appUpdate', id=int, critical=Bool, url='string', text='string'} - -``` - - diff --git a/old_docs/API_docs_v72/constructors/help_configSimple.md b/old_docs/API_docs_v72/constructors/help_configSimple.md deleted file mode 100644 index 3138fc23..00000000 --- a/old_docs/API_docs_v72/constructors/help_configSimple.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: help.configSimple -description: Config simple -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.configSimple -[Back to constructors index](index.md) - - - -Config simple - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Date| -|expires|[int](../types/int.md) | Yes|Expires| -|dc\_id|[int](../types/int.md) | Yes|DC ID| -|ip\_port\_list|Array of [ipPort](../constructors/ipPort.md) | Yes|Ip port list| - - - -### Type: [help\_ConfigSimple](../types/help_ConfigSimple.md) - - -### Example: - -```php -$help_configSimple = ['_' => 'help.configSimple', 'date' => int, 'expires' => int, 'dc_id' => int, 'ip_port_list' => [ipPort, ipPort]]; -``` - - -Or, if you're into Lua: - -```lua -help_configSimple={_='help.configSimple', date=int, expires=int, dc_id=int, ip_port_list={ipPort}} - -``` - - diff --git a/old_docs/API_docs_v72/constructors/help_inviteText.md b/old_docs/API_docs_v72/constructors/help_inviteText.md deleted file mode 100644 index b8317ce3..00000000 --- a/old_docs/API_docs_v72/constructors/help_inviteText.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: help.inviteText -description: Text of a text message with an invitation to install application. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.inviteText -[Back to constructors index](index.md) - - - -Text of a text message with an invitation to install application. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|message|[string](../types/string.md) | Yes|Text of a message| - - - -### Type: [help\_InviteText](../types/help_InviteText.md) - - -### Example: - -```php -$help_inviteText = ['_' => 'help.inviteText', 'message' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -help_inviteText={_='help.inviteText', message='string'} - -``` - - diff --git a/old_docs/API_docs_v72/constructors/help_noAppUpdate.md b/old_docs/API_docs_v72/constructors/help_noAppUpdate.md deleted file mode 100644 index 51505e52..00000000 --- a/old_docs/API_docs_v72/constructors/help_noAppUpdate.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: help.noAppUpdate -description: No updates are available for the application. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.noAppUpdate -[Back to constructors index](index.md) - - - -No updates are available for the application. - - - - -### Type: [help\_AppUpdate](../types/help_AppUpdate.md) - - -### Example: - -```php -$help_noAppUpdate = ['_' => 'help.noAppUpdate']; -``` - - -Or, if you're into Lua: - -```lua -help_noAppUpdate={_='help.noAppUpdate'} - -``` - - diff --git a/old_docs/API_docs_v72/constructors/help_recentMeUrls.md b/old_docs/API_docs_v72/constructors/help_recentMeUrls.md deleted file mode 100644 index 7bf592ef..00000000 --- a/old_docs/API_docs_v72/constructors/help_recentMeUrls.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: help.recentMeUrls -description: Recent t.me URLs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.recentMeUrls -[Back to constructors index](index.md) - - - -Recent t.me URLs - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|urls|Array of [RecentMeUrl](../types/RecentMeUrl.md) | Yes|URLs| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [help\_RecentMeUrls](../types/help_RecentMeUrls.md) - - -### Example: - -```php -$help_recentMeUrls = ['_' => 'help.recentMeUrls', 'urls' => [RecentMeUrl, RecentMeUrl], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -help_recentMeUrls={_='help.recentMeUrls', urls={RecentMeUrl}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v72/constructors/help_support.md b/old_docs/API_docs_v72/constructors/help_support.md deleted file mode 100644 index 148f7f42..00000000 --- a/old_docs/API_docs_v72/constructors/help_support.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: help.support -description: Info on support user. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.support -[Back to constructors index](index.md) - - - -Info on support user. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_number|[string](../types/string.md) | Yes|Phone number| -|user|[User](../types/User.md) | Optional|User| - - - -### Type: [help\_Support](../types/help_Support.md) - - -### Example: - -```php -$help_support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => User]; -``` - - -Or, if you're into Lua: - -```lua -help_support={_='help.support', phone_number='string', user=User} - -``` - - diff --git a/old_docs/API_docs_v72/constructors/help_termsOfService.md b/old_docs/API_docs_v72/constructors/help_termsOfService.md deleted file mode 100644 index 2ac763b3..00000000 --- a/old_docs/API_docs_v72/constructors/help_termsOfService.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: help.termsOfService -description: Info about the latest telegram Terms Of Service -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.termsOfService -[Back to constructors index](index.md) - - - -Info about the latest telegram Terms Of Service - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|text|[string](../types/string.md) | Yes|Text of the new terms| - - - -### Type: [help\_TermsOfService](../types/help_TermsOfService.md) - - -### Example: - -```php -$help_termsOfService = ['_' => 'help.termsOfService', 'text' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -help_termsOfService={_='help.termsOfService', text='string'} - -``` - - diff --git a/old_docs/API_docs_v72/constructors/messages.affectedHistory.md b/old_docs/API_docs_v72/constructors/messages.affectedHistory.md new file mode 100644 index 00000000..5fc8acec --- /dev/null +++ b/old_docs/API_docs_v72/constructors/messages.affectedHistory.md @@ -0,0 +1,40 @@ +--- +title: messages.affectedHistory +description: Affected part of communication history with the user or in a chat. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.affectedHistory +[Back to constructors index](index.md) + + + +Affected part of communication history with the user or in a chat. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| +|pts\_count|[int](../types/int.md) | Yes|Number of affected events| +|offset|[int](../types/int.md) | Yes|If a parameter contains positive value, it is necessary to repeat the method call using the given value; during the proceeding of all the history the value itself shall gradually decrease| + + + +### Type: [messages.AffectedHistory](../types/messages.AffectedHistory.md) + + +### Example: + +```php +$messages.affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.affectedHistory={_='messages.affectedHistory', pts=int, pts_count=int, offset=int} + +``` + + diff --git a/old_docs/API_docs_v72/constructors/messages.affectedMessages.md b/old_docs/API_docs_v72/constructors/messages.affectedMessages.md new file mode 100644 index 00000000..a0e60bdf --- /dev/null +++ b/old_docs/API_docs_v72/constructors/messages.affectedMessages.md @@ -0,0 +1,39 @@ +--- +title: messages.affectedMessages +description: Events affected by operation +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.affectedMessages +[Back to constructors index](index.md) + + + +Events affected by operation + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|[Event count after generation](https://core.telegram.org/api/updates)| +|pts\_count|[int](../types/int.md) | Yes|[Number of events that were generated](https://core.telegram.org/api/updates)| + + + +### Type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) + + +### Example: + +```php +$messages.affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.affectedMessages={_='messages.affectedMessages', pts=int, pts_count=int} + +``` + + diff --git a/old_docs/API_docs_v72/constructors/messages.allStickers.md b/old_docs/API_docs_v72/constructors/messages.allStickers.md new file mode 100644 index 00000000..5f13bfde --- /dev/null +++ b/old_docs/API_docs_v72/constructors/messages.allStickers.md @@ -0,0 +1,39 @@ +--- +title: messages.allStickers +description: Info about all installed stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.allStickers +[Back to constructors index](index.md) + + + +Info about all installed stickers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|sets|Array of [StickerSet](../types/StickerSet.md) | Yes|Sets| + + + +### Type: [messages.AllStickers](../types/messages.AllStickers.md) + + +### Example: + +```php +$messages.allStickers = ['_' => 'messages.allStickers', 'hash' => int, 'sets' => [StickerSet, StickerSet]]; +``` + + +Or, if you're into Lua: + +```lua +messages.allStickers={_='messages.allStickers', hash=int, sets={StickerSet}} + +``` + + diff --git a/old_docs/API_docs_v72/constructors/messages.allStickersNotModified.md b/old_docs/API_docs_v72/constructors/messages.allStickersNotModified.md new file mode 100644 index 00000000..d3db088b --- /dev/null +++ b/old_docs/API_docs_v72/constructors/messages.allStickersNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.allStickersNotModified +description: Info about all installed stickers hasn't changed +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.allStickersNotModified +[Back to constructors index](index.md) + + + +Info about all installed stickers hasn't changed + + + + +### Type: [messages.AllStickers](../types/messages.AllStickers.md) + + +### Example: + +```php +$messages.allStickersNotModified = ['_' => 'messages.allStickersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.allStickersNotModified={_='messages.allStickersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v72/constructors/messages.archivedStickers.md b/old_docs/API_docs_v72/constructors/messages.archivedStickers.md new file mode 100644 index 00000000..6ad9927c --- /dev/null +++ b/old_docs/API_docs_v72/constructors/messages.archivedStickers.md @@ -0,0 +1,39 @@ +--- +title: messages.archivedStickers +description: Archived stickersets +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.archivedStickers +[Back to constructors index](index.md) + + + +Archived stickersets + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Number of archived stickers| +|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| + + + +### Type: [messages.ArchivedStickers](../types/messages.ArchivedStickers.md) + + +### Example: + +```php +$messages.archivedStickers = ['_' => 'messages.archivedStickers', 'count' => int, 'sets' => [StickerSetCovered, StickerSetCovered]]; +``` + + +Or, if you're into Lua: + +```lua +messages.archivedStickers={_='messages.archivedStickers', count=int, sets={StickerSetCovered}} + +``` + + diff --git a/old_docs/API_docs_v72/constructors/messages.botCallbackAnswer.md b/old_docs/API_docs_v72/constructors/messages.botCallbackAnswer.md new file mode 100644 index 00000000..d4d00420 --- /dev/null +++ b/old_docs/API_docs_v72/constructors/messages.botCallbackAnswer.md @@ -0,0 +1,42 @@ +--- +title: messages.botCallbackAnswer +description: Callback answer sent by the bot in response to a button press +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.botCallbackAnswer +[Back to constructors index](index.md) + + + +Callback answer sent by the bot in response to a button press + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|alert|[Bool](../types/Bool.md) | Optional|Whether an alert should be shown to the user instead of a toast notification| +|has\_url|[Bool](../types/Bool.md) | Optional|Whether an URL is present| +|message|[string](../types/string.md) | Optional|Alert to show| +|url|[string](../types/string.md) | Optional|URL to open| +|cache\_time|[int](../types/int.md) | Yes|For how long should this answer be cached| + + + +### Type: [messages.BotCallbackAnswer](../types/messages.BotCallbackAnswer.md) + + +### Example: + +```php +$messages.botCallbackAnswer = ['_' => 'messages.botCallbackAnswer', 'alert' => Bool, 'has_url' => Bool, 'message' => 'string', 'url' => 'string', 'cache_time' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.botCallbackAnswer={_='messages.botCallbackAnswer', alert=Bool, has_url=Bool, message='string', url='string', cache_time=int} + +``` + + diff --git a/old_docs/API_docs_v72/constructors/messages.botResults.md b/old_docs/API_docs_v72/constructors/messages.botResults.md new file mode 100644 index 00000000..7b6dcfba --- /dev/null +++ b/old_docs/API_docs_v72/constructors/messages.botResults.md @@ -0,0 +1,44 @@ +--- +title: messages.botResults +description: Result of a query to an inline bot +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.botResults +[Back to constructors index](index.md) + + + +Result of a query to an inline bot + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|gallery|[Bool](../types/Bool.md) | Optional|Whether the result is a picture gallery| +|query\_id|[long](../types/long.md) | Yes|Query ID| +|next\_offset|[string](../types/string.md) | Optional|The next offset to use when navigating through results| +|switch\_pm|[InlineBotSwitchPM](../types/InlineBotSwitchPM.md) | Optional|Whether the bot requested the user to message him in private| +|results|Array of [BotInlineResult](../types/BotInlineResult.md) | Yes|Results| +|cache\_time|[int](../types/int.md) | Yes|Caching validity of the results| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.BotResults](../types/messages.BotResults.md) + + +### Example: + +```php +$messages.botResults = ['_' => 'messages.botResults', 'gallery' => Bool, 'query_id' => long, 'next_offset' => 'string', 'switch_pm' => InlineBotSwitchPM, 'results' => [BotInlineResult, BotInlineResult], 'cache_time' => int, 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.botResults={_='messages.botResults', gallery=Bool, query_id=long, next_offset='string', switch_pm=InlineBotSwitchPM, results={BotInlineResult}, cache_time=int, users={User}} + +``` + + diff --git a/old_docs/API_docs_v72/constructors/messages.channelMessages.md b/old_docs/API_docs_v72/constructors/messages.channelMessages.md new file mode 100644 index 00000000..95633336 --- /dev/null +++ b/old_docs/API_docs_v72/constructors/messages.channelMessages.md @@ -0,0 +1,42 @@ +--- +title: messages.channelMessages +description: Channel messages +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.channelMessages +[Back to constructors index](index.md) + + + +Channel messages + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|[Event count after generation](https://core.telegram.org/api/updates)| +|count|[int](../types/int.md) | Yes|Total number of results were found server-side (may not be all included here)| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Messages](../types/messages.Messages.md) + + +### Example: + +```php +$messages.channelMessages = ['_' => 'messages.channelMessages', 'pts' => int, 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.channelMessages={_='messages.channelMessages', pts=int, count=int, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v72/constructors/messages.chatFull.md b/old_docs/API_docs_v72/constructors/messages.chatFull.md new file mode 100644 index 00000000..3906cc54 --- /dev/null +++ b/old_docs/API_docs_v72/constructors/messages.chatFull.md @@ -0,0 +1,40 @@ +--- +title: messages.chatFull +description: Extended info on chat and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.chatFull +[Back to constructors index](index.md) + + + +Extended info on chat and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|full\_chat|[ChatFull](../types/ChatFull.md) | Yes|Extended info on a chat| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.ChatFull](../types/messages.ChatFull.md) + + +### Example: + +```php +$messages.chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.chatFull={_='messages.chatFull', full_chat=ChatFull, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v72/constructors/messages.chats.md b/old_docs/API_docs_v72/constructors/messages.chats.md new file mode 100644 index 00000000..9ede9ff2 --- /dev/null +++ b/old_docs/API_docs_v72/constructors/messages.chats.md @@ -0,0 +1,38 @@ +--- +title: messages.chats +description: List of chats with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.chats +[Back to constructors index](index.md) + + + +List of chats with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| + + + +### Type: [messages.Chats](../types/messages.Chats.md) + + +### Example: + +```php +$messages.chats = ['_' => 'messages.chats', 'chats' => [Chat, Chat]]; +``` + + +Or, if you're into Lua: + +```lua +messages.chats={_='messages.chats', chats={Chat}} + +``` + + diff --git a/old_docs/API_docs_v72/constructors/messages.chatsSlice.md b/old_docs/API_docs_v72/constructors/messages.chatsSlice.md new file mode 100644 index 00000000..efd153e0 --- /dev/null +++ b/old_docs/API_docs_v72/constructors/messages.chatsSlice.md @@ -0,0 +1,39 @@ +--- +title: messages.chatsSlice +description: Partial list of chats, more would have to be fetched with [pagination](https://core.telegram.org/api/offsets) +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.chatsSlice +[Back to constructors index](index.md) + + + +Partial list of chats, more would have to be fetched with [pagination](https://core.telegram.org/api/offsets) + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of results that were found server-side (not all are included in `chats`)| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| + + + +### Type: [messages.Chats](../types/messages.Chats.md) + + +### Example: + +```php +$messages.chatsSlice = ['_' => 'messages.chatsSlice', 'count' => int, 'chats' => [Chat, Chat]]; +``` + + +Or, if you're into Lua: + +```lua +messages.chatsSlice={_='messages.chatsSlice', count=int, chats={Chat}} + +``` + + diff --git a/old_docs/API_docs_v72/constructors/messages.dhConfig.md b/old_docs/API_docs_v72/constructors/messages.dhConfig.md new file mode 100644 index 00000000..58344f64 --- /dev/null +++ b/old_docs/API_docs_v72/constructors/messages.dhConfig.md @@ -0,0 +1,41 @@ +--- +title: messages.dhConfig +description: New set of configuring parameters. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dhConfig +[Back to constructors index](index.md) + + + +New set of configuring parameters. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|g|[int](../types/int.md) | Yes|New value **prime**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| +|p|[bytes](../types/bytes.md) | Yes|New value **primitive root**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| +|version|[int](../types/int.md) | Yes|Vestion of set of parameters| +|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| + + + +### Type: [messages.DhConfig](../types/messages.DhConfig.md) + + +### Example: + +```php +$messages.dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'version' => int, 'random' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +messages.dhConfig={_='messages.dhConfig', g=int, p='bytes', version=int, random='bytes'} + +``` + + diff --git a/old_docs/API_docs_v72/constructors/messages.dhConfigNotModified.md b/old_docs/API_docs_v72/constructors/messages.dhConfigNotModified.md new file mode 100644 index 00000000..a9a95389 --- /dev/null +++ b/old_docs/API_docs_v72/constructors/messages.dhConfigNotModified.md @@ -0,0 +1,38 @@ +--- +title: messages.dhConfigNotModified +description: Configuring parameters did not change. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dhConfigNotModified +[Back to constructors index](index.md) + + + +Configuring parameters did not change. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| + + + +### Type: [messages.DhConfig](../types/messages.DhConfig.md) + + +### Example: + +```php +$messages.dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +messages.dhConfigNotModified={_='messages.dhConfigNotModified', random='bytes'} + +``` + + diff --git a/old_docs/API_docs_v72/constructors/messages.dialogs.md b/old_docs/API_docs_v72/constructors/messages.dialogs.md new file mode 100644 index 00000000..a72eabce --- /dev/null +++ b/old_docs/API_docs_v72/constructors/messages.dialogs.md @@ -0,0 +1,41 @@ +--- +title: messages.dialogs +description: Full list of chats with messages and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dialogs +[Back to constructors index](index.md) + + + +Full list of chats with messages and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Dialogs](../types/messages.Dialogs.md) + + +### Example: + +```php +$messages.dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.dialogs={_='messages.dialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v72/constructors/messages.dialogsSlice.md b/old_docs/API_docs_v72/constructors/messages.dialogsSlice.md new file mode 100644 index 00000000..26227d2c --- /dev/null +++ b/old_docs/API_docs_v72/constructors/messages.dialogsSlice.md @@ -0,0 +1,42 @@ +--- +title: messages.dialogsSlice +description: Incomplete list of dialogs with messages and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dialogsSlice +[Back to constructors index](index.md) + + + +Incomplete list of dialogs with messages and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of dialogs| +|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Dialogs](../types/messages.Dialogs.md) + + +### Example: + +```php +$messages.dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.dialogsSlice={_='messages.dialogsSlice', count=int, dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v72/constructors/messages.favedStickers.md b/old_docs/API_docs_v72/constructors/messages.favedStickers.md new file mode 100644 index 00000000..a5cfb7c9 --- /dev/null +++ b/old_docs/API_docs_v72/constructors/messages.favedStickers.md @@ -0,0 +1,40 @@ +--- +title: messages.favedStickers +description: Favorited stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.favedStickers +[Back to constructors index](index.md) + + + +Favorited stickers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|packs|Array of [StickerPack](../types/StickerPack.md) | Yes|Packs| +|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| + + + +### Type: [messages.FavedStickers](../types/messages.FavedStickers.md) + + +### Example: + +```php +$messages.favedStickers = ['_' => 'messages.favedStickers', 'hash' => int, 'packs' => [StickerPack, StickerPack], 'stickers' => [Document, Document]]; +``` + + +Or, if you're into Lua: + +```lua +messages.favedStickers={_='messages.favedStickers', hash=int, packs={StickerPack}, stickers={Document}} + +``` + + diff --git a/old_docs/API_docs_v72/constructors/messages.favedStickersNotModified.md b/old_docs/API_docs_v72/constructors/messages.favedStickersNotModified.md new file mode 100644 index 00000000..8723659e --- /dev/null +++ b/old_docs/API_docs_v72/constructors/messages.favedStickersNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.favedStickersNotModified +description: No new favorited stickers were found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.favedStickersNotModified +[Back to constructors index](index.md) + + + +No new favorited stickers were found + + + + +### Type: [messages.FavedStickers](../types/messages.FavedStickers.md) + + +### Example: + +```php +$messages.favedStickersNotModified = ['_' => 'messages.favedStickersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.favedStickersNotModified={_='messages.favedStickersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v72/constructors/messages.featuredStickers.md b/old_docs/API_docs_v72/constructors/messages.featuredStickers.md new file mode 100644 index 00000000..344376ea --- /dev/null +++ b/old_docs/API_docs_v72/constructors/messages.featuredStickers.md @@ -0,0 +1,40 @@ +--- +title: messages.featuredStickers +description: Featured stickersets +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.featuredStickers +[Back to constructors index](index.md) + + + +Featured stickersets + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| +|unread|Array of [long](../types/long.md) | Yes|Unread| + + + +### Type: [messages.FeaturedStickers](../types/messages.FeaturedStickers.md) + + +### Example: + +```php +$messages.featuredStickers = ['_' => 'messages.featuredStickers', 'hash' => int, 'sets' => [StickerSetCovered, StickerSetCovered], 'unread' => [long, long]]; +``` + + +Or, if you're into Lua: + +```lua +messages.featuredStickers={_='messages.featuredStickers', hash=int, sets={StickerSetCovered}, unread={long}} + +``` + + diff --git a/old_docs/API_docs_v72/constructors/messages.featuredStickersNotModified.md b/old_docs/API_docs_v72/constructors/messages.featuredStickersNotModified.md new file mode 100644 index 00000000..0fe9b4d5 --- /dev/null +++ b/old_docs/API_docs_v72/constructors/messages.featuredStickersNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.featuredStickersNotModified +description: Featured stickers haven't changed +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.featuredStickersNotModified +[Back to constructors index](index.md) + + + +Featured stickers haven't changed + + + + +### Type: [messages.FeaturedStickers](../types/messages.FeaturedStickers.md) + + +### Example: + +```php +$messages.featuredStickersNotModified = ['_' => 'messages.featuredStickersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.featuredStickersNotModified={_='messages.featuredStickersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v72/constructors/messages.foundGifs.md b/old_docs/API_docs_v72/constructors/messages.foundGifs.md new file mode 100644 index 00000000..c75e36f9 --- /dev/null +++ b/old_docs/API_docs_v72/constructors/messages.foundGifs.md @@ -0,0 +1,39 @@ +--- +title: messages.foundGifs +description: Found GIFs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.foundGifs +[Back to constructors index](index.md) + + + +Found GIFs + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|next\_offset|[int](../types/int.md) | Yes|Next offset to use when trying to [load more results](../methods/messages.searchGifs.md)| +|results|Array of [FoundGif](../types/FoundGif.md) | Yes|Results| + + + +### Type: [messages.FoundGifs](../types/messages.FoundGifs.md) + + +### Example: + +```php +$messages.foundGifs = ['_' => 'messages.foundGifs', 'next_offset' => int, 'results' => [FoundGif, FoundGif]]; +``` + + +Or, if you're into Lua: + +```lua +messages.foundGifs={_='messages.foundGifs', next_offset=int, results={FoundGif}} + +``` + + diff --git a/old_docs/API_docs_v72/constructors/messages.highScores.md b/old_docs/API_docs_v72/constructors/messages.highScores.md new file mode 100644 index 00000000..d7d25826 --- /dev/null +++ b/old_docs/API_docs_v72/constructors/messages.highScores.md @@ -0,0 +1,39 @@ +--- +title: messages.highScores +description: Highscores in a game +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.highScores +[Back to constructors index](index.md) + + + +Highscores in a game + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|scores|Array of [HighScore](../types/HighScore.md) | Yes|Scores| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.HighScores](../types/messages.HighScores.md) + + +### Example: + +```php +$messages.highScores = ['_' => 'messages.highScores', 'scores' => [HighScore, HighScore], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.highScores={_='messages.highScores', scores={HighScore}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v72/constructors/messages.messageEditData.md b/old_docs/API_docs_v72/constructors/messages.messageEditData.md new file mode 100644 index 00000000..578b53d9 --- /dev/null +++ b/old_docs/API_docs_v72/constructors/messages.messageEditData.md @@ -0,0 +1,38 @@ +--- +title: messages.messageEditData +description: Message edit data for media +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.messageEditData +[Back to constructors index](index.md) + + + +Message edit data for media + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|caption|[Bool](../types/Bool.md) | Optional|Media caption, if the specified media's caption can be edited| + + + +### Type: [messages.MessageEditData](../types/messages.MessageEditData.md) + + +### Example: + +```php +$messages.messageEditData = ['_' => 'messages.messageEditData', 'caption' => Bool]; +``` + + +Or, if you're into Lua: + +```lua +messages.messageEditData={_='messages.messageEditData', caption=Bool} + +``` + + diff --git a/old_docs/API_docs_v72/constructors/messages.messages.md b/old_docs/API_docs_v72/constructors/messages.messages.md new file mode 100644 index 00000000..3af71dca --- /dev/null +++ b/old_docs/API_docs_v72/constructors/messages.messages.md @@ -0,0 +1,40 @@ +--- +title: messages.messages +description: Full list of messages with auxilary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.messages +[Back to constructors index](index.md) + + + +Full list of messages with auxilary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Messages](../types/messages.Messages.md) + + +### Example: + +```php +$messages.messages = ['_' => 'messages.messages', 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.messages={_='messages.messages', messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v72/constructors/messages.messagesSlice.md b/old_docs/API_docs_v72/constructors/messages.messagesSlice.md new file mode 100644 index 00000000..2fe91df0 --- /dev/null +++ b/old_docs/API_docs_v72/constructors/messages.messagesSlice.md @@ -0,0 +1,41 @@ +--- +title: messages.messagesSlice +description: Incomplete list of messages and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.messagesSlice +[Back to constructors index](index.md) + + + +Incomplete list of messages and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of messages in the list| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Messages](../types/messages.Messages.md) + + +### Example: + +```php +$messages.messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.messagesSlice={_='messages.messagesSlice', count=int, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v72/constructors/messages.peerDialogs.md b/old_docs/API_docs_v72/constructors/messages.peerDialogs.md new file mode 100644 index 00000000..39cb71f8 --- /dev/null +++ b/old_docs/API_docs_v72/constructors/messages.peerDialogs.md @@ -0,0 +1,42 @@ +--- +title: messages.peerDialogs +description: Dialog info of multiple peers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.peerDialogs +[Back to constructors index](index.md) + + + +Dialog info of multiple peers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| +|state|[updates.State](../constructors/updates.State.md) | Yes|Current [update state of dialog](https://core.telegram.org/api/updates)| + + + +### Type: [messages.PeerDialogs](../types/messages.PeerDialogs.md) + + +### Example: + +```php +$messages.peerDialogs = ['_' => 'messages.peerDialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates.State]; +``` + + +Or, if you're into Lua: + +```lua +messages.peerDialogs={_='messages.peerDialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}, state=updates.State} + +``` + + diff --git a/old_docs/API_docs_v72/constructors/messages.recentStickers.md b/old_docs/API_docs_v72/constructors/messages.recentStickers.md new file mode 100644 index 00000000..c5c3b389 --- /dev/null +++ b/old_docs/API_docs_v72/constructors/messages.recentStickers.md @@ -0,0 +1,39 @@ +--- +title: messages.recentStickers +description: Recently used stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.recentStickers +[Back to constructors index](index.md) + + + +Recently used stickers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| + + + +### Type: [messages.RecentStickers](../types/messages.RecentStickers.md) + + +### Example: + +```php +$messages.recentStickers = ['_' => 'messages.recentStickers', 'hash' => int, 'stickers' => [Document, Document]]; +``` + + +Or, if you're into Lua: + +```lua +messages.recentStickers={_='messages.recentStickers', hash=int, stickers={Document}} + +``` + + diff --git a/old_docs/API_docs_v72/constructors/messages.recentStickersNotModified.md b/old_docs/API_docs_v72/constructors/messages.recentStickersNotModified.md new file mode 100644 index 00000000..1c3bbf5c --- /dev/null +++ b/old_docs/API_docs_v72/constructors/messages.recentStickersNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.recentStickersNotModified +description: No new recent sticker was found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.recentStickersNotModified +[Back to constructors index](index.md) + + + +No new recent sticker was found + + + + +### Type: [messages.RecentStickers](../types/messages.RecentStickers.md) + + +### Example: + +```php +$messages.recentStickersNotModified = ['_' => 'messages.recentStickersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.recentStickersNotModified={_='messages.recentStickersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v72/constructors/messages.savedGifs.md b/old_docs/API_docs_v72/constructors/messages.savedGifs.md new file mode 100644 index 00000000..c82929a3 --- /dev/null +++ b/old_docs/API_docs_v72/constructors/messages.savedGifs.md @@ -0,0 +1,39 @@ +--- +title: messages.savedGifs +description: Saved gifs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.savedGifs +[Back to constructors index](index.md) + + + +Saved gifs + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|gifs|Array of [Document](../types/Document.md) | Yes|Gifs| + + + +### Type: [messages.SavedGifs](../types/messages.SavedGifs.md) + + +### Example: + +```php +$messages.savedGifs = ['_' => 'messages.savedGifs', 'hash' => int, 'gifs' => [Document, Document]]; +``` + + +Or, if you're into Lua: + +```lua +messages.savedGifs={_='messages.savedGifs', hash=int, gifs={Document}} + +``` + + diff --git a/old_docs/API_docs_v72/constructors/messages.savedGifsNotModified.md b/old_docs/API_docs_v72/constructors/messages.savedGifsNotModified.md new file mode 100644 index 00000000..0fbccacc --- /dev/null +++ b/old_docs/API_docs_v72/constructors/messages.savedGifsNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.savedGifsNotModified +description: No new saved gifs were found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.savedGifsNotModified +[Back to constructors index](index.md) + + + +No new saved gifs were found + + + + +### Type: [messages.SavedGifs](../types/messages.SavedGifs.md) + + +### Example: + +```php +$messages.savedGifsNotModified = ['_' => 'messages.savedGifsNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.savedGifsNotModified={_='messages.savedGifsNotModified'} + +``` + + diff --git a/old_docs/API_docs_v72/constructors/messages.sentEncryptedFile.md b/old_docs/API_docs_v72/constructors/messages.sentEncryptedFile.md new file mode 100644 index 00000000..1f0e43c6 --- /dev/null +++ b/old_docs/API_docs_v72/constructors/messages.sentEncryptedFile.md @@ -0,0 +1,39 @@ +--- +title: messages.sentEncryptedFile +description: Message with a file enclosure sent to a protected chat +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.sentEncryptedFile +[Back to constructors index](index.md) + + + +Message with a file enclosure sent to a protected chat + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Sending date| +|file|[EncryptedFile](../types/EncryptedFile.md) | Optional|Attached file| + + + +### Type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) + + +### Example: + +```php +$messages.sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile]; +``` + + +Or, if you're into Lua: + +```lua +messages.sentEncryptedFile={_='messages.sentEncryptedFile', date=int, file=EncryptedFile} + +``` + + diff --git a/old_docs/API_docs_v72/constructors/messages.sentEncryptedMessage.md b/old_docs/API_docs_v72/constructors/messages.sentEncryptedMessage.md new file mode 100644 index 00000000..3d5eb40c --- /dev/null +++ b/old_docs/API_docs_v72/constructors/messages.sentEncryptedMessage.md @@ -0,0 +1,38 @@ +--- +title: messages.sentEncryptedMessage +description: Message without file attachemts sent to an encrypted file. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.sentEncryptedMessage +[Back to constructors index](index.md) + + + +Message without file attachemts sent to an encrypted file. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Date of sending| + + + +### Type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) + + +### Example: + +```php +$messages.sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.sentEncryptedMessage={_='messages.sentEncryptedMessage', date=int} + +``` + + diff --git a/old_docs/API_docs_v72/constructors/messages.stickerSet.md b/old_docs/API_docs_v72/constructors/messages.stickerSet.md new file mode 100644 index 00000000..fbc154d0 --- /dev/null +++ b/old_docs/API_docs_v72/constructors/messages.stickerSet.md @@ -0,0 +1,40 @@ +--- +title: messages.stickerSet +description: Stickerset and stickers inside it +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickerSet +[Back to constructors index](index.md) + + + +Stickerset and stickers inside it + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|set|[StickerSet](../types/StickerSet.md) | Yes|The stickerset| +|packs|Array of [StickerPack](../types/StickerPack.md) | Yes|Packs| +|documents|Array of [Document](../types/Document.md) | Yes|Documents| + + + +### Type: [messages.StickerSet](../types/messages.StickerSet.md) + + +### Example: + +```php +$messages.stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'packs' => [StickerPack, StickerPack], 'documents' => [Document, Document]]; +``` + + +Or, if you're into Lua: + +```lua +messages.stickerSet={_='messages.stickerSet', set=StickerSet, packs={StickerPack}, documents={Document}} + +``` + + diff --git a/old_docs/API_docs_v72/constructors/messages.stickerSetInstallResultArchive.md b/old_docs/API_docs_v72/constructors/messages.stickerSetInstallResultArchive.md new file mode 100644 index 00000000..fefe2270 --- /dev/null +++ b/old_docs/API_docs_v72/constructors/messages.stickerSetInstallResultArchive.md @@ -0,0 +1,38 @@ +--- +title: messages.stickerSetInstallResultArchive +description: The stickerset was installed, but since there are too many stickersets some were archived +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickerSetInstallResultArchive +[Back to constructors index](index.md) + + + +The stickerset was installed, but since there are too many stickersets some were archived + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| + + + +### Type: [messages.StickerSetInstallResult](../types/messages.StickerSetInstallResult.md) + + +### Example: + +```php +$messages.stickerSetInstallResultArchive = ['_' => 'messages.stickerSetInstallResultArchive', 'sets' => [StickerSetCovered, StickerSetCovered]]; +``` + + +Or, if you're into Lua: + +```lua +messages.stickerSetInstallResultArchive={_='messages.stickerSetInstallResultArchive', sets={StickerSetCovered}} + +``` + + diff --git a/old_docs/API_docs_v72/constructors/messages.stickerSetInstallResultSuccess.md b/old_docs/API_docs_v72/constructors/messages.stickerSetInstallResultSuccess.md new file mode 100644 index 00000000..bbe8b961 --- /dev/null +++ b/old_docs/API_docs_v72/constructors/messages.stickerSetInstallResultSuccess.md @@ -0,0 +1,33 @@ +--- +title: messages.stickerSetInstallResultSuccess +description: The stickerset was installed successfully +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickerSetInstallResultSuccess +[Back to constructors index](index.md) + + + +The stickerset was installed successfully + + + + +### Type: [messages.StickerSetInstallResult](../types/messages.StickerSetInstallResult.md) + + +### Example: + +```php +$messages.stickerSetInstallResultSuccess = ['_' => 'messages.stickerSetInstallResultSuccess']; +``` + + +Or, if you're into Lua: + +```lua +messages.stickerSetInstallResultSuccess={_='messages.stickerSetInstallResultSuccess'} + +``` + + diff --git a/old_docs/API_docs_v72/constructors/messages.stickers.md b/old_docs/API_docs_v72/constructors/messages.stickers.md new file mode 100644 index 00000000..310b64b0 --- /dev/null +++ b/old_docs/API_docs_v72/constructors/messages.stickers.md @@ -0,0 +1,39 @@ +--- +title: messages.stickers +description: Found stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickers +[Back to constructors index](index.md) + + + +Found stickers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[string](../types/string.md) | Yes|Hash| +|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| + + + +### Type: [messages.Stickers](../types/messages.Stickers.md) + + +### Example: + +```php +$messages.stickers = ['_' => 'messages.stickers', 'hash' => 'string', 'stickers' => [Document, Document]]; +``` + + +Or, if you're into Lua: + +```lua +messages.stickers={_='messages.stickers', hash='string', stickers={Document}} + +``` + + diff --git a/old_docs/API_docs_v72/constructors/messages.stickersNotModified.md b/old_docs/API_docs_v72/constructors/messages.stickersNotModified.md new file mode 100644 index 00000000..e8c7766c --- /dev/null +++ b/old_docs/API_docs_v72/constructors/messages.stickersNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.stickersNotModified +description: No new stickers were found for the given query +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickersNotModified +[Back to constructors index](index.md) + + + +No new stickers were found for the given query + + + + +### Type: [messages.Stickers](../types/messages.Stickers.md) + + +### Example: + +```php +$messages.stickersNotModified = ['_' => 'messages.stickersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.stickersNotModified={_='messages.stickersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v72/constructors/messages_affectedHistory.md b/old_docs/API_docs_v72/constructors/messages_affectedHistory.md deleted file mode 100644 index 449a7e3f..00000000 --- a/old_docs/API_docs_v72/constructors/messages_affectedHistory.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.affectedHistory -description: Affected part of communication history with the user or in a chat. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.affectedHistory -[Back to constructors index](index.md) - - - -Affected part of communication history with the user or in a chat. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| -|pts\_count|[int](../types/int.md) | Yes|Number of affected events| -|offset|[int](../types/int.md) | Yes|If a parameter contains positive value, it is necessary to repeat the method call using the given value; during the proceeding of all the history the value itself shall gradually decrease| - - - -### Type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) - - -### Example: - -```php -$messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_affectedHistory={_='messages.affectedHistory', pts=int, pts_count=int, offset=int} - -``` - - diff --git a/old_docs/API_docs_v72/constructors/messages_affectedMessages.md b/old_docs/API_docs_v72/constructors/messages_affectedMessages.md deleted file mode 100644 index 86760581..00000000 --- a/old_docs/API_docs_v72/constructors/messages_affectedMessages.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.affectedMessages -description: Events affected by operation -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.affectedMessages -[Back to constructors index](index.md) - - - -Events affected by operation - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|[Event count after generation](https://core.telegram.org/api/updates)| -|pts\_count|[int](../types/int.md) | Yes|[Number of events that were generated](https://core.telegram.org/api/updates)| - - - -### Type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) - - -### Example: - -```php -$messages_affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_affectedMessages={_='messages.affectedMessages', pts=int, pts_count=int} - -``` - - diff --git a/old_docs/API_docs_v72/constructors/messages_allStickers.md b/old_docs/API_docs_v72/constructors/messages_allStickers.md deleted file mode 100644 index 2e64f46e..00000000 --- a/old_docs/API_docs_v72/constructors/messages_allStickers.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.allStickers -description: Info about all installed stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.allStickers -[Back to constructors index](index.md) - - - -Info about all installed stickers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|sets|Array of [StickerSet](../types/StickerSet.md) | Yes|Sets| - - - -### Type: [messages\_AllStickers](../types/messages_AllStickers.md) - - -### Example: - -```php -$messages_allStickers = ['_' => 'messages.allStickers', 'hash' => int, 'sets' => [StickerSet, StickerSet]]; -``` - - -Or, if you're into Lua: - -```lua -messages_allStickers={_='messages.allStickers', hash=int, sets={StickerSet}} - -``` - - diff --git a/old_docs/API_docs_v72/constructors/messages_allStickersNotModified.md b/old_docs/API_docs_v72/constructors/messages_allStickersNotModified.md deleted file mode 100644 index c4da85ab..00000000 --- a/old_docs/API_docs_v72/constructors/messages_allStickersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.allStickersNotModified -description: Info about all installed stickers hasn't changed -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.allStickersNotModified -[Back to constructors index](index.md) - - - -Info about all installed stickers hasn't changed - - - - -### Type: [messages\_AllStickers](../types/messages_AllStickers.md) - - -### Example: - -```php -$messages_allStickersNotModified = ['_' => 'messages.allStickersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_allStickersNotModified={_='messages.allStickersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v72/constructors/messages_archivedStickers.md b/old_docs/API_docs_v72/constructors/messages_archivedStickers.md deleted file mode 100644 index 6b28c885..00000000 --- a/old_docs/API_docs_v72/constructors/messages_archivedStickers.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.archivedStickers -description: Archived stickersets -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.archivedStickers -[Back to constructors index](index.md) - - - -Archived stickersets - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Number of archived stickers| -|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| - - - -### Type: [messages\_ArchivedStickers](../types/messages_ArchivedStickers.md) - - -### Example: - -```php -$messages_archivedStickers = ['_' => 'messages.archivedStickers', 'count' => int, 'sets' => [StickerSetCovered, StickerSetCovered]]; -``` - - -Or, if you're into Lua: - -```lua -messages_archivedStickers={_='messages.archivedStickers', count=int, sets={StickerSetCovered}} - -``` - - diff --git a/old_docs/API_docs_v72/constructors/messages_botCallbackAnswer.md b/old_docs/API_docs_v72/constructors/messages_botCallbackAnswer.md deleted file mode 100644 index df8c3185..00000000 --- a/old_docs/API_docs_v72/constructors/messages_botCallbackAnswer.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: messages.botCallbackAnswer -description: Callback answer sent by the bot in response to a button press -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.botCallbackAnswer -[Back to constructors index](index.md) - - - -Callback answer sent by the bot in response to a button press - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|alert|[Bool](../types/Bool.md) | Optional|Whether an alert should be shown to the user instead of a toast notification| -|has\_url|[Bool](../types/Bool.md) | Optional|Whether an URL is present| -|message|[string](../types/string.md) | Optional|Alert to show| -|url|[string](../types/string.md) | Optional|URL to open| -|cache\_time|[int](../types/int.md) | Yes|For how long should this answer be cached| - - - -### Type: [messages\_BotCallbackAnswer](../types/messages_BotCallbackAnswer.md) - - -### Example: - -```php -$messages_botCallbackAnswer = ['_' => 'messages.botCallbackAnswer', 'alert' => Bool, 'has_url' => Bool, 'message' => 'string', 'url' => 'string', 'cache_time' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_botCallbackAnswer={_='messages.botCallbackAnswer', alert=Bool, has_url=Bool, message='string', url='string', cache_time=int} - -``` - - diff --git a/old_docs/API_docs_v72/constructors/messages_botResults.md b/old_docs/API_docs_v72/constructors/messages_botResults.md deleted file mode 100644 index 19b9edf6..00000000 --- a/old_docs/API_docs_v72/constructors/messages_botResults.md +++ /dev/null @@ -1,44 +0,0 @@ ---- -title: messages.botResults -description: Result of a query to an inline bot -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.botResults -[Back to constructors index](index.md) - - - -Result of a query to an inline bot - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|gallery|[Bool](../types/Bool.md) | Optional|Whether the result is a picture gallery| -|query\_id|[long](../types/long.md) | Yes|Query ID| -|next\_offset|[string](../types/string.md) | Optional|The next offset to use when navigating through results| -|switch\_pm|[InlineBotSwitchPM](../types/InlineBotSwitchPM.md) | Optional|Whether the bot requested the user to message him in private| -|results|Array of [BotInlineResult](../types/BotInlineResult.md) | Yes|Results| -|cache\_time|[int](../types/int.md) | Yes|Caching validity of the results| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_BotResults](../types/messages_BotResults.md) - - -### Example: - -```php -$messages_botResults = ['_' => 'messages.botResults', 'gallery' => Bool, 'query_id' => long, 'next_offset' => 'string', 'switch_pm' => InlineBotSwitchPM, 'results' => [BotInlineResult, BotInlineResult], 'cache_time' => int, 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_botResults={_='messages.botResults', gallery=Bool, query_id=long, next_offset='string', switch_pm=InlineBotSwitchPM, results={BotInlineResult}, cache_time=int, users={User}} - -``` - - diff --git a/old_docs/API_docs_v72/constructors/messages_channelMessages.md b/old_docs/API_docs_v72/constructors/messages_channelMessages.md deleted file mode 100644 index 12cdb9cd..00000000 --- a/old_docs/API_docs_v72/constructors/messages_channelMessages.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: messages.channelMessages -description: Channel messages -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.channelMessages -[Back to constructors index](index.md) - - - -Channel messages - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|[Event count after generation](https://core.telegram.org/api/updates)| -|count|[int](../types/int.md) | Yes|Total number of results were found server-side (may not be all included here)| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Messages](../types/messages_Messages.md) - - -### Example: - -```php -$messages_channelMessages = ['_' => 'messages.channelMessages', 'pts' => int, 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_channelMessages={_='messages.channelMessages', pts=int, count=int, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v72/constructors/messages_chatFull.md b/old_docs/API_docs_v72/constructors/messages_chatFull.md deleted file mode 100644 index 02f1acdf..00000000 --- a/old_docs/API_docs_v72/constructors/messages_chatFull.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.chatFull -description: Extended info on chat and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.chatFull -[Back to constructors index](index.md) - - - -Extended info on chat and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|full\_chat|[ChatFull](../types/ChatFull.md) | Yes|Extended info on a chat| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_ChatFull](../types/messages_ChatFull.md) - - -### Example: - -```php -$messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_chatFull={_='messages.chatFull', full_chat=ChatFull, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v72/constructors/messages_chats.md b/old_docs/API_docs_v72/constructors/messages_chats.md deleted file mode 100644 index ef3690a9..00000000 --- a/old_docs/API_docs_v72/constructors/messages_chats.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.chats -description: List of chats with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.chats -[Back to constructors index](index.md) - - - -List of chats with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| - - - -### Type: [messages\_Chats](../types/messages_Chats.md) - - -### Example: - -```php -$messages_chats = ['_' => 'messages.chats', 'chats' => [Chat, Chat]]; -``` - - -Or, if you're into Lua: - -```lua -messages_chats={_='messages.chats', chats={Chat}} - -``` - - diff --git a/old_docs/API_docs_v72/constructors/messages_chatsSlice.md b/old_docs/API_docs_v72/constructors/messages_chatsSlice.md deleted file mode 100644 index f19c4357..00000000 --- a/old_docs/API_docs_v72/constructors/messages_chatsSlice.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.chatsSlice -description: Partial list of chats, more would have to be fetched with [pagination](https://core.telegram.org/api/offsets) -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.chatsSlice -[Back to constructors index](index.md) - - - -Partial list of chats, more would have to be fetched with [pagination](https://core.telegram.org/api/offsets) - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of results that were found server-side (not all are included in `chats`)| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| - - - -### Type: [messages\_Chats](../types/messages_Chats.md) - - -### Example: - -```php -$messages_chatsSlice = ['_' => 'messages.chatsSlice', 'count' => int, 'chats' => [Chat, Chat]]; -``` - - -Or, if you're into Lua: - -```lua -messages_chatsSlice={_='messages.chatsSlice', count=int, chats={Chat}} - -``` - - diff --git a/old_docs/API_docs_v72/constructors/messages_dhConfig.md b/old_docs/API_docs_v72/constructors/messages_dhConfig.md deleted file mode 100644 index 42c2feb1..00000000 --- a/old_docs/API_docs_v72/constructors/messages_dhConfig.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: messages.dhConfig -description: New set of configuring parameters. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dhConfig -[Back to constructors index](index.md) - - - -New set of configuring parameters. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|g|[int](../types/int.md) | Yes|New value **prime**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| -|p|[bytes](../types/bytes.md) | Yes|New value **primitive root**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| -|version|[int](../types/int.md) | Yes|Vestion of set of parameters| -|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| - - - -### Type: [messages\_DhConfig](../types/messages_DhConfig.md) - - -### Example: - -```php -$messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'version' => int, 'random' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -messages_dhConfig={_='messages.dhConfig', g=int, p='bytes', version=int, random='bytes'} - -``` - - diff --git a/old_docs/API_docs_v72/constructors/messages_dhConfigNotModified.md b/old_docs/API_docs_v72/constructors/messages_dhConfigNotModified.md deleted file mode 100644 index 5bf64230..00000000 --- a/old_docs/API_docs_v72/constructors/messages_dhConfigNotModified.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.dhConfigNotModified -description: Configuring parameters did not change. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dhConfigNotModified -[Back to constructors index](index.md) - - - -Configuring parameters did not change. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| - - - -### Type: [messages\_DhConfig](../types/messages_DhConfig.md) - - -### Example: - -```php -$messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -messages_dhConfigNotModified={_='messages.dhConfigNotModified', random='bytes'} - -``` - - diff --git a/old_docs/API_docs_v72/constructors/messages_dialogs.md b/old_docs/API_docs_v72/constructors/messages_dialogs.md deleted file mode 100644 index e6a431b4..00000000 --- a/old_docs/API_docs_v72/constructors/messages_dialogs.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: messages.dialogs -description: Full list of chats with messages and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dialogs -[Back to constructors index](index.md) - - - -Full list of chats with messages and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Dialogs](../types/messages_Dialogs.md) - - -### Example: - -```php -$messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_dialogs={_='messages.dialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v72/constructors/messages_dialogsSlice.md b/old_docs/API_docs_v72/constructors/messages_dialogsSlice.md deleted file mode 100644 index f183b9a8..00000000 --- a/old_docs/API_docs_v72/constructors/messages_dialogsSlice.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: messages.dialogsSlice -description: Incomplete list of dialogs with messages and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dialogsSlice -[Back to constructors index](index.md) - - - -Incomplete list of dialogs with messages and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of dialogs| -|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Dialogs](../types/messages_Dialogs.md) - - -### Example: - -```php -$messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_dialogsSlice={_='messages.dialogsSlice', count=int, dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v72/constructors/messages_favedStickers.md b/old_docs/API_docs_v72/constructors/messages_favedStickers.md deleted file mode 100644 index 72d79df2..00000000 --- a/old_docs/API_docs_v72/constructors/messages_favedStickers.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.favedStickers -description: Favorited stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.favedStickers -[Back to constructors index](index.md) - - - -Favorited stickers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|packs|Array of [StickerPack](../types/StickerPack.md) | Yes|Packs| -|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| - - - -### Type: [messages\_FavedStickers](../types/messages_FavedStickers.md) - - -### Example: - -```php -$messages_favedStickers = ['_' => 'messages.favedStickers', 'hash' => int, 'packs' => [StickerPack, StickerPack], 'stickers' => [Document, Document]]; -``` - - -Or, if you're into Lua: - -```lua -messages_favedStickers={_='messages.favedStickers', hash=int, packs={StickerPack}, stickers={Document}} - -``` - - diff --git a/old_docs/API_docs_v72/constructors/messages_favedStickersNotModified.md b/old_docs/API_docs_v72/constructors/messages_favedStickersNotModified.md deleted file mode 100644 index a47c08e8..00000000 --- a/old_docs/API_docs_v72/constructors/messages_favedStickersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.favedStickersNotModified -description: No new favorited stickers were found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.favedStickersNotModified -[Back to constructors index](index.md) - - - -No new favorited stickers were found - - - - -### Type: [messages\_FavedStickers](../types/messages_FavedStickers.md) - - -### Example: - -```php -$messages_favedStickersNotModified = ['_' => 'messages.favedStickersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_favedStickersNotModified={_='messages.favedStickersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v72/constructors/messages_featuredStickers.md b/old_docs/API_docs_v72/constructors/messages_featuredStickers.md deleted file mode 100644 index 8ef1046e..00000000 --- a/old_docs/API_docs_v72/constructors/messages_featuredStickers.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.featuredStickers -description: Featured stickersets -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.featuredStickers -[Back to constructors index](index.md) - - - -Featured stickersets - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| -|unread|Array of [long](../types/long.md) | Yes|Unread| - - - -### Type: [messages\_FeaturedStickers](../types/messages_FeaturedStickers.md) - - -### Example: - -```php -$messages_featuredStickers = ['_' => 'messages.featuredStickers', 'hash' => int, 'sets' => [StickerSetCovered, StickerSetCovered], 'unread' => [long, long]]; -``` - - -Or, if you're into Lua: - -```lua -messages_featuredStickers={_='messages.featuredStickers', hash=int, sets={StickerSetCovered}, unread={long}} - -``` - - diff --git a/old_docs/API_docs_v72/constructors/messages_featuredStickersNotModified.md b/old_docs/API_docs_v72/constructors/messages_featuredStickersNotModified.md deleted file mode 100644 index de01131b..00000000 --- a/old_docs/API_docs_v72/constructors/messages_featuredStickersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.featuredStickersNotModified -description: Featured stickers haven't changed -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.featuredStickersNotModified -[Back to constructors index](index.md) - - - -Featured stickers haven't changed - - - - -### Type: [messages\_FeaturedStickers](../types/messages_FeaturedStickers.md) - - -### Example: - -```php -$messages_featuredStickersNotModified = ['_' => 'messages.featuredStickersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_featuredStickersNotModified={_='messages.featuredStickersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v72/constructors/messages_foundGifs.md b/old_docs/API_docs_v72/constructors/messages_foundGifs.md deleted file mode 100644 index eb3603ca..00000000 --- a/old_docs/API_docs_v72/constructors/messages_foundGifs.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.foundGifs -description: Found GIFs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.foundGifs -[Back to constructors index](index.md) - - - -Found GIFs - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|next\_offset|[int](../types/int.md) | Yes|Next offset to use when trying to [load more results](../methods/messages.searchGifs.md)| -|results|Array of [FoundGif](../types/FoundGif.md) | Yes|Results| - - - -### Type: [messages\_FoundGifs](../types/messages_FoundGifs.md) - - -### Example: - -```php -$messages_foundGifs = ['_' => 'messages.foundGifs', 'next_offset' => int, 'results' => [FoundGif, FoundGif]]; -``` - - -Or, if you're into Lua: - -```lua -messages_foundGifs={_='messages.foundGifs', next_offset=int, results={FoundGif}} - -``` - - diff --git a/old_docs/API_docs_v72/constructors/messages_highScores.md b/old_docs/API_docs_v72/constructors/messages_highScores.md deleted file mode 100644 index d6fc5210..00000000 --- a/old_docs/API_docs_v72/constructors/messages_highScores.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.highScores -description: Highscores in a game -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.highScores -[Back to constructors index](index.md) - - - -Highscores in a game - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|scores|Array of [HighScore](../types/HighScore.md) | Yes|Scores| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_HighScores](../types/messages_HighScores.md) - - -### Example: - -```php -$messages_highScores = ['_' => 'messages.highScores', 'scores' => [HighScore, HighScore], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_highScores={_='messages.highScores', scores={HighScore}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v72/constructors/messages_messageEditData.md b/old_docs/API_docs_v72/constructors/messages_messageEditData.md deleted file mode 100644 index 76aefca5..00000000 --- a/old_docs/API_docs_v72/constructors/messages_messageEditData.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.messageEditData -description: Message edit data for media -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.messageEditData -[Back to constructors index](index.md) - - - -Message edit data for media - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|caption|[Bool](../types/Bool.md) | Optional|Media caption, if the specified media's caption can be edited| - - - -### Type: [messages\_MessageEditData](../types/messages_MessageEditData.md) - - -### Example: - -```php -$messages_messageEditData = ['_' => 'messages.messageEditData', 'caption' => Bool]; -``` - - -Or, if you're into Lua: - -```lua -messages_messageEditData={_='messages.messageEditData', caption=Bool} - -``` - - diff --git a/old_docs/API_docs_v72/constructors/messages_messages.md b/old_docs/API_docs_v72/constructors/messages_messages.md deleted file mode 100644 index 3e369e1a..00000000 --- a/old_docs/API_docs_v72/constructors/messages_messages.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.messages -description: Full list of messages with auxilary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.messages -[Back to constructors index](index.md) - - - -Full list of messages with auxilary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Messages](../types/messages_Messages.md) - - -### Example: - -```php -$messages_messages = ['_' => 'messages.messages', 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_messages={_='messages.messages', messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v72/constructors/messages_messagesSlice.md b/old_docs/API_docs_v72/constructors/messages_messagesSlice.md deleted file mode 100644 index f9b8dc18..00000000 --- a/old_docs/API_docs_v72/constructors/messages_messagesSlice.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: messages.messagesSlice -description: Incomplete list of messages and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.messagesSlice -[Back to constructors index](index.md) - - - -Incomplete list of messages and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of messages in the list| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Messages](../types/messages_Messages.md) - - -### Example: - -```php -$messages_messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_messagesSlice={_='messages.messagesSlice', count=int, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v72/constructors/messages_peerDialogs.md b/old_docs/API_docs_v72/constructors/messages_peerDialogs.md deleted file mode 100644 index 29b4b842..00000000 --- a/old_docs/API_docs_v72/constructors/messages_peerDialogs.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: messages.peerDialogs -description: Dialog info of multiple peers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.peerDialogs -[Back to constructors index](index.md) - - - -Dialog info of multiple peers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| -|state|[updates\_State](../types/updates_State.md) | Yes|Current [update state of dialog](https://core.telegram.org/api/updates)| - - - -### Type: [messages\_PeerDialogs](../types/messages_PeerDialogs.md) - - -### Example: - -```php -$messages_peerDialogs = ['_' => 'messages.peerDialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates_State]; -``` - - -Or, if you're into Lua: - -```lua -messages_peerDialogs={_='messages.peerDialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}, state=updates_State} - -``` - - diff --git a/old_docs/API_docs_v72/constructors/messages_recentStickers.md b/old_docs/API_docs_v72/constructors/messages_recentStickers.md deleted file mode 100644 index 31b059e5..00000000 --- a/old_docs/API_docs_v72/constructors/messages_recentStickers.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.recentStickers -description: Recently used stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.recentStickers -[Back to constructors index](index.md) - - - -Recently used stickers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| - - - -### Type: [messages\_RecentStickers](../types/messages_RecentStickers.md) - - -### Example: - -```php -$messages_recentStickers = ['_' => 'messages.recentStickers', 'hash' => int, 'stickers' => [Document, Document]]; -``` - - -Or, if you're into Lua: - -```lua -messages_recentStickers={_='messages.recentStickers', hash=int, stickers={Document}} - -``` - - diff --git a/old_docs/API_docs_v72/constructors/messages_recentStickersNotModified.md b/old_docs/API_docs_v72/constructors/messages_recentStickersNotModified.md deleted file mode 100644 index 3e81dceb..00000000 --- a/old_docs/API_docs_v72/constructors/messages_recentStickersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.recentStickersNotModified -description: No new recent sticker was found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.recentStickersNotModified -[Back to constructors index](index.md) - - - -No new recent sticker was found - - - - -### Type: [messages\_RecentStickers](../types/messages_RecentStickers.md) - - -### Example: - -```php -$messages_recentStickersNotModified = ['_' => 'messages.recentStickersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_recentStickersNotModified={_='messages.recentStickersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v72/constructors/messages_savedGifs.md b/old_docs/API_docs_v72/constructors/messages_savedGifs.md deleted file mode 100644 index ed3e8ea3..00000000 --- a/old_docs/API_docs_v72/constructors/messages_savedGifs.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.savedGifs -description: Saved gifs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.savedGifs -[Back to constructors index](index.md) - - - -Saved gifs - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|gifs|Array of [Document](../types/Document.md) | Yes|Gifs| - - - -### Type: [messages\_SavedGifs](../types/messages_SavedGifs.md) - - -### Example: - -```php -$messages_savedGifs = ['_' => 'messages.savedGifs', 'hash' => int, 'gifs' => [Document, Document]]; -``` - - -Or, if you're into Lua: - -```lua -messages_savedGifs={_='messages.savedGifs', hash=int, gifs={Document}} - -``` - - diff --git a/old_docs/API_docs_v72/constructors/messages_savedGifsNotModified.md b/old_docs/API_docs_v72/constructors/messages_savedGifsNotModified.md deleted file mode 100644 index 0f843a0c..00000000 --- a/old_docs/API_docs_v72/constructors/messages_savedGifsNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.savedGifsNotModified -description: No new saved gifs were found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.savedGifsNotModified -[Back to constructors index](index.md) - - - -No new saved gifs were found - - - - -### Type: [messages\_SavedGifs](../types/messages_SavedGifs.md) - - -### Example: - -```php -$messages_savedGifsNotModified = ['_' => 'messages.savedGifsNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_savedGifsNotModified={_='messages.savedGifsNotModified'} - -``` - - diff --git a/old_docs/API_docs_v72/constructors/messages_sentEncryptedFile.md b/old_docs/API_docs_v72/constructors/messages_sentEncryptedFile.md deleted file mode 100644 index fdc2a11e..00000000 --- a/old_docs/API_docs_v72/constructors/messages_sentEncryptedFile.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.sentEncryptedFile -description: Message with a file enclosure sent to a protected chat -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.sentEncryptedFile -[Back to constructors index](index.md) - - - -Message with a file enclosure sent to a protected chat - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Sending date| -|file|[EncryptedFile](../types/EncryptedFile.md) | Optional|Attached file| - - - -### Type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) - - -### Example: - -```php -$messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile]; -``` - - -Or, if you're into Lua: - -```lua -messages_sentEncryptedFile={_='messages.sentEncryptedFile', date=int, file=EncryptedFile} - -``` - - diff --git a/old_docs/API_docs_v72/constructors/messages_sentEncryptedMessage.md b/old_docs/API_docs_v72/constructors/messages_sentEncryptedMessage.md deleted file mode 100644 index 36b2bbff..00000000 --- a/old_docs/API_docs_v72/constructors/messages_sentEncryptedMessage.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.sentEncryptedMessage -description: Message without file attachemts sent to an encrypted file. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.sentEncryptedMessage -[Back to constructors index](index.md) - - - -Message without file attachemts sent to an encrypted file. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Date of sending| - - - -### Type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) - - -### Example: - -```php -$messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_sentEncryptedMessage={_='messages.sentEncryptedMessage', date=int} - -``` - - diff --git a/old_docs/API_docs_v72/constructors/messages_stickerSet.md b/old_docs/API_docs_v72/constructors/messages_stickerSet.md deleted file mode 100644 index 127191de..00000000 --- a/old_docs/API_docs_v72/constructors/messages_stickerSet.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.stickerSet -description: Stickerset and stickers inside it -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickerSet -[Back to constructors index](index.md) - - - -Stickerset and stickers inside it - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|set|[StickerSet](../types/StickerSet.md) | Yes|The stickerset| -|packs|Array of [StickerPack](../types/StickerPack.md) | Yes|Packs| -|documents|Array of [Document](../types/Document.md) | Yes|Documents| - - - -### Type: [messages\_StickerSet](../types/messages_StickerSet.md) - - -### Example: - -```php -$messages_stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'packs' => [StickerPack, StickerPack], 'documents' => [Document, Document]]; -``` - - -Or, if you're into Lua: - -```lua -messages_stickerSet={_='messages.stickerSet', set=StickerSet, packs={StickerPack}, documents={Document}} - -``` - - diff --git a/old_docs/API_docs_v72/constructors/messages_stickerSetInstallResultArchive.md b/old_docs/API_docs_v72/constructors/messages_stickerSetInstallResultArchive.md deleted file mode 100644 index 8a5f4d5d..00000000 --- a/old_docs/API_docs_v72/constructors/messages_stickerSetInstallResultArchive.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.stickerSetInstallResultArchive -description: The stickerset was installed, but since there are too many stickersets some were archived -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickerSetInstallResultArchive -[Back to constructors index](index.md) - - - -The stickerset was installed, but since there are too many stickersets some were archived - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| - - - -### Type: [messages\_StickerSetInstallResult](../types/messages_StickerSetInstallResult.md) - - -### Example: - -```php -$messages_stickerSetInstallResultArchive = ['_' => 'messages.stickerSetInstallResultArchive', 'sets' => [StickerSetCovered, StickerSetCovered]]; -``` - - -Or, if you're into Lua: - -```lua -messages_stickerSetInstallResultArchive={_='messages.stickerSetInstallResultArchive', sets={StickerSetCovered}} - -``` - - diff --git a/old_docs/API_docs_v72/constructors/messages_stickerSetInstallResultSuccess.md b/old_docs/API_docs_v72/constructors/messages_stickerSetInstallResultSuccess.md deleted file mode 100644 index 1d33b89f..00000000 --- a/old_docs/API_docs_v72/constructors/messages_stickerSetInstallResultSuccess.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.stickerSetInstallResultSuccess -description: The stickerset was installed successfully -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickerSetInstallResultSuccess -[Back to constructors index](index.md) - - - -The stickerset was installed successfully - - - - -### Type: [messages\_StickerSetInstallResult](../types/messages_StickerSetInstallResult.md) - - -### Example: - -```php -$messages_stickerSetInstallResultSuccess = ['_' => 'messages.stickerSetInstallResultSuccess']; -``` - - -Or, if you're into Lua: - -```lua -messages_stickerSetInstallResultSuccess={_='messages.stickerSetInstallResultSuccess'} - -``` - - diff --git a/old_docs/API_docs_v72/constructors/messages_stickers.md b/old_docs/API_docs_v72/constructors/messages_stickers.md deleted file mode 100644 index 1c007df2..00000000 --- a/old_docs/API_docs_v72/constructors/messages_stickers.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.stickers -description: Found stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickers -[Back to constructors index](index.md) - - - -Found stickers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[string](../types/string.md) | Yes|Hash| -|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| - - - -### Type: [messages\_Stickers](../types/messages_Stickers.md) - - -### Example: - -```php -$messages_stickers = ['_' => 'messages.stickers', 'hash' => 'string', 'stickers' => [Document, Document]]; -``` - - -Or, if you're into Lua: - -```lua -messages_stickers={_='messages.stickers', hash='string', stickers={Document}} - -``` - - diff --git a/old_docs/API_docs_v72/constructors/messages_stickersNotModified.md b/old_docs/API_docs_v72/constructors/messages_stickersNotModified.md deleted file mode 100644 index 3d434a79..00000000 --- a/old_docs/API_docs_v72/constructors/messages_stickersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.stickersNotModified -description: No new stickers were found for the given query -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickersNotModified -[Back to constructors index](index.md) - - - -No new stickers were found for the given query - - - - -### Type: [messages\_Stickers](../types/messages_Stickers.md) - - -### Example: - -```php -$messages_stickersNotModified = ['_' => 'messages.stickersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_stickersNotModified={_='messages.stickersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v72/constructors/payments.paymentForm.md b/old_docs/API_docs_v72/constructors/payments.paymentForm.md new file mode 100644 index 00000000..90e0f39d --- /dev/null +++ b/old_docs/API_docs_v72/constructors/payments.paymentForm.md @@ -0,0 +1,48 @@ +--- +title: payments.paymentForm +description: Payment form +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: payments.paymentForm +[Back to constructors index](index.md) + + + +Payment form + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|can\_save\_credentials|[Bool](../types/Bool.md) | Optional|Whether the user can choose to save credentials.| +|password\_missing|[Bool](../types/Bool.md) | Optional|Indicates that the user can save payment credentials, but only after setting up a [2FA password](https://core.telegram.org/api/srp) (currently the account doesn't have a [2FA password](https://core.telegram.org/api/srp))| +|bot\_id|[int](../types/int.md) | Yes|Bot ID| +|invoice|[Invoice](../types/Invoice.md) | Yes|Invoice| +|provider\_id|[int](../types/int.md) | Yes|Payment provider ID.| +|url|[string](../types/string.md) | Yes|Payment form URL| +|native\_provider|[string](../types/string.md) | Optional|Payment provider name.
One of the following:
\- `stripe`| +|native\_params|[DataJSON](../types/DataJSON.md) | Optional|Contains information about the payment provider, if available, to support it natively without the need for opening the URL.
A JSON object that can contain the following fields:

\- `publishable_key`: Stripe API publishable key
\- `apple_pay_merchant_id`: Apple Pay merchant ID
\- `android_pay_public_key`: Android Pay public key
\- `android_pay_bgcolor`: Android Pay form background color
\- `android_pay_inverse`: Whether to use the dark theme in the Android Pay form
\- `need_country`: True, if the user country must be provided,
\- `need_zip`: True, if the user ZIP/postal code must be provided,
\- `need_cardholder_name`: True, if the cardholder name must be provided
| +|saved\_info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Optional|Saved server-side order information| +|saved\_credentials|[PaymentSavedCredentials](../types/PaymentSavedCredentials.md) | Optional|Contains information about saved card credentials| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [payments.PaymentForm](../types/payments.PaymentForm.md) + + +### Example: + +```php +$payments.paymentForm = ['_' => 'payments.paymentForm', 'can_save_credentials' => Bool, 'password_missing' => Bool, 'bot_id' => int, 'invoice' => Invoice, 'provider_id' => int, 'url' => 'string', 'native_provider' => 'string', 'native_params' => DataJSON, 'saved_info' => PaymentRequestedInfo, 'saved_credentials' => PaymentSavedCredentials, 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +payments.paymentForm={_='payments.paymentForm', can_save_credentials=Bool, password_missing=Bool, bot_id=int, invoice=Invoice, provider_id=int, url='string', native_provider='string', native_params=DataJSON, saved_info=PaymentRequestedInfo, saved_credentials=PaymentSavedCredentials, users={User}} + +``` + + diff --git a/old_docs/API_docs_v72/constructors/payments.paymentReceipt.md b/old_docs/API_docs_v72/constructors/payments.paymentReceipt.md new file mode 100644 index 00000000..5a0cc190 --- /dev/null +++ b/old_docs/API_docs_v72/constructors/payments.paymentReceipt.md @@ -0,0 +1,47 @@ +--- +title: payments.paymentReceipt +description: Receipt +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: payments.paymentReceipt +[Back to constructors index](index.md) + + + +Receipt + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Date of generation| +|bot\_id|[int](../types/int.md) | Yes|Bot ID| +|invoice|[Invoice](../types/Invoice.md) | Yes|Invoice| +|provider\_id|[int](../types/int.md) | Yes|Provider ID| +|info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Optional|Info| +|shipping|[ShippingOption](../types/ShippingOption.md) | Optional|Selected shipping option| +|currency|[string](../types/string.md) | Yes|Three-letter ISO 4217 [currency](https://core.telegram.org/bots/payments#supported-currencies) code| +|total\_amount|[long](../types/long.md) | Yes|Total amount in the smallest units of the currency (integer, not float/double). For example, for a price of `US$ 1.45` pass `amount = 145`. See the exp parameter in [currencies.json](https://core.telegram.org/bots/payments/currencies.json), it shows the number of digits past the decimal point for each currency (2 for the majority of currencies).| +|credentials\_title|[string](../types/string.md) | Yes|Payment credential name| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [payments.PaymentReceipt](../types/payments.PaymentReceipt.md) + + +### Example: + +```php +$payments.paymentReceipt = ['_' => 'payments.paymentReceipt', 'date' => int, 'bot_id' => int, 'invoice' => Invoice, 'provider_id' => int, 'info' => PaymentRequestedInfo, 'shipping' => ShippingOption, 'currency' => 'string', 'total_amount' => long, 'credentials_title' => 'string', 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +payments.paymentReceipt={_='payments.paymentReceipt', date=int, bot_id=int, invoice=Invoice, provider_id=int, info=PaymentRequestedInfo, shipping=ShippingOption, currency='string', total_amount=long, credentials_title='string', users={User}} + +``` + + diff --git a/old_docs/API_docs_v72/constructors/payments.paymentResult.md b/old_docs/API_docs_v72/constructors/payments.paymentResult.md new file mode 100644 index 00000000..df32fd91 --- /dev/null +++ b/old_docs/API_docs_v72/constructors/payments.paymentResult.md @@ -0,0 +1,38 @@ +--- +title: payments.paymentResult +description: Payment result +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: payments.paymentResult +[Back to constructors index](index.md) + + + +Payment result + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|updates|[Updates](../types/Updates.md) | Yes|Info about the payment| + + + +### Type: [payments.PaymentResult](../types/payments.PaymentResult.md) + + +### Example: + +```php +$payments.paymentResult = ['_' => 'payments.paymentResult', 'updates' => Updates]; +``` + + +Or, if you're into Lua: + +```lua +payments.paymentResult={_='payments.paymentResult', updates=Updates} + +``` + + diff --git a/old_docs/API_docs_v72/constructors/payments.paymentVerficationNeeded.md b/old_docs/API_docs_v72/constructors/payments.paymentVerficationNeeded.md new file mode 100644 index 00000000..3f459215 --- /dev/null +++ b/old_docs/API_docs_v72/constructors/payments.paymentVerficationNeeded.md @@ -0,0 +1,38 @@ +--- +title: payments.paymentVerficationNeeded +description: Payment verfication needed +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: payments.paymentVerficationNeeded +[Back to constructors index](index.md) + + + +Payment verfication needed + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|url|[string](../types/string.md) | Yes|URL| + + + +### Type: [payments.PaymentResult](../types/payments.PaymentResult.md) + + +### Example: + +```php +$payments.paymentVerficationNeeded = ['_' => 'payments.paymentVerficationNeeded', 'url' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +payments.paymentVerficationNeeded={_='payments.paymentVerficationNeeded', url='string'} + +``` + + diff --git a/old_docs/API_docs_v72/constructors/payments.savedInfo.md b/old_docs/API_docs_v72/constructors/payments.savedInfo.md new file mode 100644 index 00000000..a005a842 --- /dev/null +++ b/old_docs/API_docs_v72/constructors/payments.savedInfo.md @@ -0,0 +1,39 @@ +--- +title: payments.savedInfo +description: Saved server-side order information +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: payments.savedInfo +[Back to constructors index](index.md) + + + +Saved server-side order information + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|has\_saved\_credentials|[Bool](../types/Bool.md) | Optional|Whether the user has some saved payment credentials| +|saved\_info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Optional|Saved server-side order information| + + + +### Type: [payments.SavedInfo](../types/payments.SavedInfo.md) + + +### Example: + +```php +$payments.savedInfo = ['_' => 'payments.savedInfo', 'has_saved_credentials' => Bool, 'saved_info' => PaymentRequestedInfo]; +``` + + +Or, if you're into Lua: + +```lua +payments.savedInfo={_='payments.savedInfo', has_saved_credentials=Bool, saved_info=PaymentRequestedInfo} + +``` + + diff --git a/old_docs/API_docs_v72/constructors/payments.validatedRequestedInfo.md b/old_docs/API_docs_v72/constructors/payments.validatedRequestedInfo.md new file mode 100644 index 00000000..4789b28d --- /dev/null +++ b/old_docs/API_docs_v72/constructors/payments.validatedRequestedInfo.md @@ -0,0 +1,39 @@ +--- +title: payments.validatedRequestedInfo +description: Validated user-provided info +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: payments.validatedRequestedInfo +[Back to constructors index](index.md) + + + +Validated user-provided info + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|id|[string](../types/string.md) | Optional|ID| +|shipping\_options|Array of [ShippingOption](../types/ShippingOption.md) | Optional|Shipping options| + + + +### Type: [payments.ValidatedRequestedInfo](../types/payments.ValidatedRequestedInfo.md) + + +### Example: + +```php +$payments.validatedRequestedInfo = ['_' => 'payments.validatedRequestedInfo', 'id' => 'string', 'shipping_options' => [ShippingOption, ShippingOption]]; +``` + + +Or, if you're into Lua: + +```lua +payments.validatedRequestedInfo={_='payments.validatedRequestedInfo', id='string', shipping_options={ShippingOption}} + +``` + + diff --git a/old_docs/API_docs_v72/constructors/payments_paymentForm.md b/old_docs/API_docs_v72/constructors/payments_paymentForm.md deleted file mode 100644 index 88848527..00000000 --- a/old_docs/API_docs_v72/constructors/payments_paymentForm.md +++ /dev/null @@ -1,48 +0,0 @@ ---- -title: payments.paymentForm -description: Payment form -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: payments.paymentForm -[Back to constructors index](index.md) - - - -Payment form - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|can\_save\_credentials|[Bool](../types/Bool.md) | Optional|Whether the user can choose to save credentials.| -|password\_missing|[Bool](../types/Bool.md) | Optional|Indicates that the user can save payment credentials, but only after setting up a [2FA password](https://core.telegram.org/api/srp) (currently the account doesn't have a [2FA password](https://core.telegram.org/api/srp))| -|bot\_id|[int](../types/int.md) | Yes|Bot ID| -|invoice|[Invoice](../types/Invoice.md) | Yes|Invoice| -|provider\_id|[int](../types/int.md) | Yes|Payment provider ID.| -|url|[string](../types/string.md) | Yes|Payment form URL| -|native\_provider|[string](../types/string.md) | Optional|Payment provider name.
One of the following:
\- `stripe`| -|native\_params|[DataJSON](../types/DataJSON.md) | Optional|Contains information about the payment provider, if available, to support it natively without the need for opening the URL.
A JSON object that can contain the following fields:

\- `publishable_key`: Stripe API publishable key
\- `apple_pay_merchant_id`: Apple Pay merchant ID
\- `android_pay_public_key`: Android Pay public key
\- `android_pay_bgcolor`: Android Pay form background color
\- `android_pay_inverse`: Whether to use the dark theme in the Android Pay form
\- `need_country`: True, if the user country must be provided,
\- `need_zip`: True, if the user ZIP/postal code must be provided,
\- `need_cardholder_name`: True, if the cardholder name must be provided
| -|saved\_info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Optional|Saved server-side order information| -|saved\_credentials|[PaymentSavedCredentials](../types/PaymentSavedCredentials.md) | Optional|Contains information about saved card credentials| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [payments\_PaymentForm](../types/payments_PaymentForm.md) - - -### Example: - -```php -$payments_paymentForm = ['_' => 'payments.paymentForm', 'can_save_credentials' => Bool, 'password_missing' => Bool, 'bot_id' => int, 'invoice' => Invoice, 'provider_id' => int, 'url' => 'string', 'native_provider' => 'string', 'native_params' => DataJSON, 'saved_info' => PaymentRequestedInfo, 'saved_credentials' => PaymentSavedCredentials, 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -payments_paymentForm={_='payments.paymentForm', can_save_credentials=Bool, password_missing=Bool, bot_id=int, invoice=Invoice, provider_id=int, url='string', native_provider='string', native_params=DataJSON, saved_info=PaymentRequestedInfo, saved_credentials=PaymentSavedCredentials, users={User}} - -``` - - diff --git a/old_docs/API_docs_v72/constructors/payments_paymentReceipt.md b/old_docs/API_docs_v72/constructors/payments_paymentReceipt.md deleted file mode 100644 index 411e9dee..00000000 --- a/old_docs/API_docs_v72/constructors/payments_paymentReceipt.md +++ /dev/null @@ -1,47 +0,0 @@ ---- -title: payments.paymentReceipt -description: Receipt -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: payments.paymentReceipt -[Back to constructors index](index.md) - - - -Receipt - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Date of generation| -|bot\_id|[int](../types/int.md) | Yes|Bot ID| -|invoice|[Invoice](../types/Invoice.md) | Yes|Invoice| -|provider\_id|[int](../types/int.md) | Yes|Provider ID| -|info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Optional|Info| -|shipping|[ShippingOption](../types/ShippingOption.md) | Optional|Selected shipping option| -|currency|[string](../types/string.md) | Yes|Three-letter ISO 4217 [currency](https://core.telegram.org/bots/payments#supported-currencies) code| -|total\_amount|[long](../types/long.md) | Yes|Total amount in the smallest units of the currency (integer, not float/double). For example, for a price of `US$ 1.45` pass `amount = 145`. See the exp parameter in [currencies.json](https://core.telegram.org/bots/payments/currencies.json), it shows the number of digits past the decimal point for each currency (2 for the majority of currencies).| -|credentials\_title|[string](../types/string.md) | Yes|Payment credential name| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [payments\_PaymentReceipt](../types/payments_PaymentReceipt.md) - - -### Example: - -```php -$payments_paymentReceipt = ['_' => 'payments.paymentReceipt', 'date' => int, 'bot_id' => int, 'invoice' => Invoice, 'provider_id' => int, 'info' => PaymentRequestedInfo, 'shipping' => ShippingOption, 'currency' => 'string', 'total_amount' => long, 'credentials_title' => 'string', 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -payments_paymentReceipt={_='payments.paymentReceipt', date=int, bot_id=int, invoice=Invoice, provider_id=int, info=PaymentRequestedInfo, shipping=ShippingOption, currency='string', total_amount=long, credentials_title='string', users={User}} - -``` - - diff --git a/old_docs/API_docs_v72/constructors/payments_paymentResult.md b/old_docs/API_docs_v72/constructors/payments_paymentResult.md deleted file mode 100644 index 12af1d36..00000000 --- a/old_docs/API_docs_v72/constructors/payments_paymentResult.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: payments.paymentResult -description: Payment result -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: payments.paymentResult -[Back to constructors index](index.md) - - - -Payment result - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|updates|[Updates](../types/Updates.md) | Yes|Info about the payment| - - - -### Type: [payments\_PaymentResult](../types/payments_PaymentResult.md) - - -### Example: - -```php -$payments_paymentResult = ['_' => 'payments.paymentResult', 'updates' => Updates]; -``` - - -Or, if you're into Lua: - -```lua -payments_paymentResult={_='payments.paymentResult', updates=Updates} - -``` - - diff --git a/old_docs/API_docs_v72/constructors/payments_paymentVerficationNeeded.md b/old_docs/API_docs_v72/constructors/payments_paymentVerficationNeeded.md deleted file mode 100644 index 70ca205d..00000000 --- a/old_docs/API_docs_v72/constructors/payments_paymentVerficationNeeded.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: payments.paymentVerficationNeeded -description: Payment verfication needed -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: payments.paymentVerficationNeeded -[Back to constructors index](index.md) - - - -Payment verfication needed - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|url|[string](../types/string.md) | Yes|URL| - - - -### Type: [payments\_PaymentResult](../types/payments_PaymentResult.md) - - -### Example: - -```php -$payments_paymentVerficationNeeded = ['_' => 'payments.paymentVerficationNeeded', 'url' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -payments_paymentVerficationNeeded={_='payments.paymentVerficationNeeded', url='string'} - -``` - - diff --git a/old_docs/API_docs_v72/constructors/payments_savedInfo.md b/old_docs/API_docs_v72/constructors/payments_savedInfo.md deleted file mode 100644 index 19d3aee5..00000000 --- a/old_docs/API_docs_v72/constructors/payments_savedInfo.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: payments.savedInfo -description: Saved server-side order information -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: payments.savedInfo -[Back to constructors index](index.md) - - - -Saved server-side order information - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|has\_saved\_credentials|[Bool](../types/Bool.md) | Optional|Whether the user has some saved payment credentials| -|saved\_info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Optional|Saved server-side order information| - - - -### Type: [payments\_SavedInfo](../types/payments_SavedInfo.md) - - -### Example: - -```php -$payments_savedInfo = ['_' => 'payments.savedInfo', 'has_saved_credentials' => Bool, 'saved_info' => PaymentRequestedInfo]; -``` - - -Or, if you're into Lua: - -```lua -payments_savedInfo={_='payments.savedInfo', has_saved_credentials=Bool, saved_info=PaymentRequestedInfo} - -``` - - diff --git a/old_docs/API_docs_v72/constructors/payments_validatedRequestedInfo.md b/old_docs/API_docs_v72/constructors/payments_validatedRequestedInfo.md deleted file mode 100644 index a07c7d06..00000000 --- a/old_docs/API_docs_v72/constructors/payments_validatedRequestedInfo.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: payments.validatedRequestedInfo -description: Validated user-provided info -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: payments.validatedRequestedInfo -[Back to constructors index](index.md) - - - -Validated user-provided info - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|id|[string](../types/string.md) | Optional|ID| -|shipping\_options|Array of [ShippingOption](../types/ShippingOption.md) | Optional|Shipping options| - - - -### Type: [payments\_ValidatedRequestedInfo](../types/payments_ValidatedRequestedInfo.md) - - -### Example: - -```php -$payments_validatedRequestedInfo = ['_' => 'payments.validatedRequestedInfo', 'id' => 'string', 'shipping_options' => [ShippingOption, ShippingOption]]; -``` - - -Or, if you're into Lua: - -```lua -payments_validatedRequestedInfo={_='payments.validatedRequestedInfo', id='string', shipping_options={ShippingOption}} - -``` - - diff --git a/old_docs/API_docs_v72/constructors/phone.phoneCall.md b/old_docs/API_docs_v72/constructors/phone.phoneCall.md new file mode 100644 index 00000000..8c1d26d4 --- /dev/null +++ b/old_docs/API_docs_v72/constructors/phone.phoneCall.md @@ -0,0 +1,39 @@ +--- +title: phone.phoneCall +description: A VoIP phone call +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: phone.phoneCall +[Back to constructors index](index.md) + + + +A VoIP phone call + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_call|[PhoneCall](../types/PhoneCall.md) | Optional|The VoIP phone call| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [phone.PhoneCall](../types/phone.PhoneCall.md) + + +### Example: + +```php +$phone.phoneCall = ['_' => 'phone.phoneCall', 'phone_call' => PhoneCall, 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +phone.phoneCall={_='phone.phoneCall', phone_call=PhoneCall, users={User}} + +``` + + diff --git a/old_docs/API_docs_v72/constructors/phone_phoneCall.md b/old_docs/API_docs_v72/constructors/phone_phoneCall.md deleted file mode 100644 index 94314567..00000000 --- a/old_docs/API_docs_v72/constructors/phone_phoneCall.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: phone.phoneCall -description: A VoIP phone call -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: phone.phoneCall -[Back to constructors index](index.md) - - - -A VoIP phone call - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_call|[PhoneCall](../types/PhoneCall.md) | Optional|The VoIP phone call| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [phone\_PhoneCall](../types/phone_PhoneCall.md) - - -### Example: - -```php -$phone_phoneCall = ['_' => 'phone.phoneCall', 'phone_call' => PhoneCall, 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -phone_phoneCall={_='phone.phoneCall', phone_call=PhoneCall, users={User}} - -``` - - diff --git a/old_docs/API_docs_v72/constructors/photos.photo.md b/old_docs/API_docs_v72/constructors/photos.photo.md new file mode 100644 index 00000000..43d3efc7 --- /dev/null +++ b/old_docs/API_docs_v72/constructors/photos.photo.md @@ -0,0 +1,39 @@ +--- +title: photos.photo +description: Photo with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: photos.photo +[Back to constructors index](index.md) + + + +Photo with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|photo|[Photo](../types/Photo.md) | Optional|Photo| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [photos.Photo](../types/photos.Photo.md) + + +### Example: + +```php +$photos.photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +photos.photo={_='photos.photo', photo=Photo, users={User}} + +``` + + diff --git a/old_docs/API_docs_v72/constructors/photos.photos.md b/old_docs/API_docs_v72/constructors/photos.photos.md new file mode 100644 index 00000000..901a9693 --- /dev/null +++ b/old_docs/API_docs_v72/constructors/photos.photos.md @@ -0,0 +1,39 @@ +--- +title: photos.photos +description: Full list of photos with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: photos.photos +[Back to constructors index](index.md) + + + +Full list of photos with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [photos.Photos](../types/photos.Photos.md) + + +### Example: + +```php +$photos.photos = ['_' => 'photos.photos', 'photos' => [Photo, Photo], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +photos.photos={_='photos.photos', photos={Photo}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v72/constructors/photos.photosSlice.md b/old_docs/API_docs_v72/constructors/photos.photosSlice.md new file mode 100644 index 00000000..2cca3546 --- /dev/null +++ b/old_docs/API_docs_v72/constructors/photos.photosSlice.md @@ -0,0 +1,40 @@ +--- +title: photos.photosSlice +description: Incomplete list of photos with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: photos.photosSlice +[Back to constructors index](index.md) + + + +Incomplete list of photos with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of photos| +|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [photos.Photos](../types/photos.Photos.md) + + +### Example: + +```php +$photos.photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo, Photo], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +photos.photosSlice={_='photos.photosSlice', count=int, photos={Photo}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v72/constructors/photos_photo.md b/old_docs/API_docs_v72/constructors/photos_photo.md deleted file mode 100644 index d5ad61d9..00000000 --- a/old_docs/API_docs_v72/constructors/photos_photo.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: photos.photo -description: Photo with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: photos.photo -[Back to constructors index](index.md) - - - -Photo with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|photo|[Photo](../types/Photo.md) | Optional|Photo| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [photos\_Photo](../types/photos_Photo.md) - - -### Example: - -```php -$photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -photos_photo={_='photos.photo', photo=Photo, users={User}} - -``` - - diff --git a/old_docs/API_docs_v72/constructors/photos_photos.md b/old_docs/API_docs_v72/constructors/photos_photos.md deleted file mode 100644 index 6ae5d048..00000000 --- a/old_docs/API_docs_v72/constructors/photos_photos.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: photos.photos -description: Full list of photos with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: photos.photos -[Back to constructors index](index.md) - - - -Full list of photos with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [photos\_Photos](../types/photos_Photos.md) - - -### Example: - -```php -$photos_photos = ['_' => 'photos.photos', 'photos' => [Photo, Photo], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -photos_photos={_='photos.photos', photos={Photo}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v72/constructors/photos_photosSlice.md b/old_docs/API_docs_v72/constructors/photos_photosSlice.md deleted file mode 100644 index 5c465c21..00000000 --- a/old_docs/API_docs_v72/constructors/photos_photosSlice.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: photos.photosSlice -description: Incomplete list of photos with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: photos.photosSlice -[Back to constructors index](index.md) - - - -Incomplete list of photos with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of photos| -|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [photos\_Photos](../types/photos_Photos.md) - - -### Example: - -```php -$photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo, Photo], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -photos_photosSlice={_='photos.photosSlice', count=int, photos={Photo}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v72/constructors/storage.fileGif.md b/old_docs/API_docs_v72/constructors/storage.fileGif.md new file mode 100644 index 00000000..8193bd25 --- /dev/null +++ b/old_docs/API_docs_v72/constructors/storage.fileGif.md @@ -0,0 +1,33 @@ +--- +title: storage.fileGif +description: GIF image. MIME type: `image/gif`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileGif +[Back to constructors index](index.md) + + + +GIF image. MIME type: `image/gif`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileGif = ['_' => 'storage.fileGif']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileGif={_='storage.fileGif'} + +``` + + diff --git a/old_docs/API_docs_v72/constructors/storage.fileJpeg.md b/old_docs/API_docs_v72/constructors/storage.fileJpeg.md new file mode 100644 index 00000000..7f125963 --- /dev/null +++ b/old_docs/API_docs_v72/constructors/storage.fileJpeg.md @@ -0,0 +1,33 @@ +--- +title: storage.fileJpeg +description: JPEG image. MIME type: `image/jpeg`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileJpeg +[Back to constructors index](index.md) + + + +JPEG image. MIME type: `image/jpeg`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileJpeg = ['_' => 'storage.fileJpeg']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileJpeg={_='storage.fileJpeg'} + +``` + + diff --git a/old_docs/API_docs_v72/constructors/storage.fileMov.md b/old_docs/API_docs_v72/constructors/storage.fileMov.md new file mode 100644 index 00000000..cb3742e0 --- /dev/null +++ b/old_docs/API_docs_v72/constructors/storage.fileMov.md @@ -0,0 +1,33 @@ +--- +title: storage.fileMov +description: Quicktime video. MIME type: `video/quicktime`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileMov +[Back to constructors index](index.md) + + + +Quicktime video. MIME type: `video/quicktime`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileMov = ['_' => 'storage.fileMov']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileMov={_='storage.fileMov'} + +``` + + diff --git a/old_docs/API_docs_v72/constructors/storage.fileMp3.md b/old_docs/API_docs_v72/constructors/storage.fileMp3.md new file mode 100644 index 00000000..617f2d39 --- /dev/null +++ b/old_docs/API_docs_v72/constructors/storage.fileMp3.md @@ -0,0 +1,33 @@ +--- +title: storage.fileMp3 +description: Mp3 audio. MIME type: `audio/mpeg`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileMp3 +[Back to constructors index](index.md) + + + +Mp3 audio. MIME type: `audio/mpeg`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileMp3 = ['_' => 'storage.fileMp3']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileMp3={_='storage.fileMp3'} + +``` + + diff --git a/old_docs/API_docs_v72/constructors/storage.fileMp4.md b/old_docs/API_docs_v72/constructors/storage.fileMp4.md new file mode 100644 index 00000000..37038176 --- /dev/null +++ b/old_docs/API_docs_v72/constructors/storage.fileMp4.md @@ -0,0 +1,33 @@ +--- +title: storage.fileMp4 +description: MPEG-4 video. MIME type: `video/mp4`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileMp4 +[Back to constructors index](index.md) + + + +MPEG-4 video. MIME type: `video/mp4`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileMp4 = ['_' => 'storage.fileMp4']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileMp4={_='storage.fileMp4'} + +``` + + diff --git a/old_docs/API_docs_v72/constructors/storage.filePartial.md b/old_docs/API_docs_v72/constructors/storage.filePartial.md new file mode 100644 index 00000000..98779e71 --- /dev/null +++ b/old_docs/API_docs_v72/constructors/storage.filePartial.md @@ -0,0 +1,33 @@ +--- +title: storage.filePartial +description: Part of a bigger file. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.filePartial +[Back to constructors index](index.md) + + + +Part of a bigger file. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.filePartial = ['_' => 'storage.filePartial']; +``` + + +Or, if you're into Lua: + +```lua +storage.filePartial={_='storage.filePartial'} + +``` + + diff --git a/old_docs/API_docs_v72/constructors/storage.filePdf.md b/old_docs/API_docs_v72/constructors/storage.filePdf.md new file mode 100644 index 00000000..136c0614 --- /dev/null +++ b/old_docs/API_docs_v72/constructors/storage.filePdf.md @@ -0,0 +1,33 @@ +--- +title: storage.filePdf +description: PDF document image. MIME type: `application/pdf`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.filePdf +[Back to constructors index](index.md) + + + +PDF document image. MIME type: `application/pdf`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.filePdf = ['_' => 'storage.filePdf']; +``` + + +Or, if you're into Lua: + +```lua +storage.filePdf={_='storage.filePdf'} + +``` + + diff --git a/old_docs/API_docs_v72/constructors/storage.filePng.md b/old_docs/API_docs_v72/constructors/storage.filePng.md new file mode 100644 index 00000000..db01ce0e --- /dev/null +++ b/old_docs/API_docs_v72/constructors/storage.filePng.md @@ -0,0 +1,33 @@ +--- +title: storage.filePng +description: PNG image. MIME type: `image/png`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.filePng +[Back to constructors index](index.md) + + + +PNG image. MIME type: `image/png`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.filePng = ['_' => 'storage.filePng']; +``` + + +Or, if you're into Lua: + +```lua +storage.filePng={_='storage.filePng'} + +``` + + diff --git a/old_docs/API_docs_v72/constructors/storage.fileUnknown.md b/old_docs/API_docs_v72/constructors/storage.fileUnknown.md new file mode 100644 index 00000000..26f0a5ae --- /dev/null +++ b/old_docs/API_docs_v72/constructors/storage.fileUnknown.md @@ -0,0 +1,33 @@ +--- +title: storage.fileUnknown +description: Unknown type. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileUnknown +[Back to constructors index](index.md) + + + +Unknown type. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileUnknown = ['_' => 'storage.fileUnknown']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileUnknown={_='storage.fileUnknown'} + +``` + + diff --git a/old_docs/API_docs_v72/constructors/storage.fileWebp.md b/old_docs/API_docs_v72/constructors/storage.fileWebp.md new file mode 100644 index 00000000..63c9ded1 --- /dev/null +++ b/old_docs/API_docs_v72/constructors/storage.fileWebp.md @@ -0,0 +1,33 @@ +--- +title: storage.fileWebp +description: WEBP image. MIME type: `image/webp`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileWebp +[Back to constructors index](index.md) + + + +WEBP image. MIME type: `image/webp`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileWebp = ['_' => 'storage.fileWebp']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileWebp={_='storage.fileWebp'} + +``` + + diff --git a/old_docs/API_docs_v72/constructors/storage_fileGif.md b/old_docs/API_docs_v72/constructors/storage_fileGif.md deleted file mode 100644 index 218c7491..00000000 --- a/old_docs/API_docs_v72/constructors/storage_fileGif.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileGif -description: GIF image. MIME type: `image/gif`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileGif -[Back to constructors index](index.md) - - - -GIF image. MIME type: `image/gif`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileGif = ['_' => 'storage.fileGif']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileGif={_='storage.fileGif'} - -``` - - diff --git a/old_docs/API_docs_v72/constructors/storage_fileJpeg.md b/old_docs/API_docs_v72/constructors/storage_fileJpeg.md deleted file mode 100644 index 925531cd..00000000 --- a/old_docs/API_docs_v72/constructors/storage_fileJpeg.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileJpeg -description: JPEG image. MIME type: `image/jpeg`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileJpeg -[Back to constructors index](index.md) - - - -JPEG image. MIME type: `image/jpeg`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileJpeg = ['_' => 'storage.fileJpeg']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileJpeg={_='storage.fileJpeg'} - -``` - - diff --git a/old_docs/API_docs_v72/constructors/storage_fileMov.md b/old_docs/API_docs_v72/constructors/storage_fileMov.md deleted file mode 100644 index eaf2a6ff..00000000 --- a/old_docs/API_docs_v72/constructors/storage_fileMov.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileMov -description: Quicktime video. MIME type: `video/quicktime`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileMov -[Back to constructors index](index.md) - - - -Quicktime video. MIME type: `video/quicktime`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileMov = ['_' => 'storage.fileMov']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileMov={_='storage.fileMov'} - -``` - - diff --git a/old_docs/API_docs_v72/constructors/storage_fileMp3.md b/old_docs/API_docs_v72/constructors/storage_fileMp3.md deleted file mode 100644 index 9afcefbb..00000000 --- a/old_docs/API_docs_v72/constructors/storage_fileMp3.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileMp3 -description: Mp3 audio. MIME type: `audio/mpeg`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileMp3 -[Back to constructors index](index.md) - - - -Mp3 audio. MIME type: `audio/mpeg`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileMp3 = ['_' => 'storage.fileMp3']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileMp3={_='storage.fileMp3'} - -``` - - diff --git a/old_docs/API_docs_v72/constructors/storage_fileMp4.md b/old_docs/API_docs_v72/constructors/storage_fileMp4.md deleted file mode 100644 index cdc0e783..00000000 --- a/old_docs/API_docs_v72/constructors/storage_fileMp4.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileMp4 -description: MPEG-4 video. MIME type: `video/mp4`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileMp4 -[Back to constructors index](index.md) - - - -MPEG-4 video. MIME type: `video/mp4`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileMp4 = ['_' => 'storage.fileMp4']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileMp4={_='storage.fileMp4'} - -``` - - diff --git a/old_docs/API_docs_v72/constructors/storage_filePartial.md b/old_docs/API_docs_v72/constructors/storage_filePartial.md deleted file mode 100644 index 9bfadf63..00000000 --- a/old_docs/API_docs_v72/constructors/storage_filePartial.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.filePartial -description: Part of a bigger file. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.filePartial -[Back to constructors index](index.md) - - - -Part of a bigger file. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_filePartial = ['_' => 'storage.filePartial']; -``` - - -Or, if you're into Lua: - -```lua -storage_filePartial={_='storage.filePartial'} - -``` - - diff --git a/old_docs/API_docs_v72/constructors/storage_filePdf.md b/old_docs/API_docs_v72/constructors/storage_filePdf.md deleted file mode 100644 index efb022cc..00000000 --- a/old_docs/API_docs_v72/constructors/storage_filePdf.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.filePdf -description: PDF document image. MIME type: `application/pdf`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.filePdf -[Back to constructors index](index.md) - - - -PDF document image. MIME type: `application/pdf`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_filePdf = ['_' => 'storage.filePdf']; -``` - - -Or, if you're into Lua: - -```lua -storage_filePdf={_='storage.filePdf'} - -``` - - diff --git a/old_docs/API_docs_v72/constructors/storage_filePng.md b/old_docs/API_docs_v72/constructors/storage_filePng.md deleted file mode 100644 index 412759e4..00000000 --- a/old_docs/API_docs_v72/constructors/storage_filePng.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.filePng -description: PNG image. MIME type: `image/png`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.filePng -[Back to constructors index](index.md) - - - -PNG image. MIME type: `image/png`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_filePng = ['_' => 'storage.filePng']; -``` - - -Or, if you're into Lua: - -```lua -storage_filePng={_='storage.filePng'} - -``` - - diff --git a/old_docs/API_docs_v72/constructors/storage_fileUnknown.md b/old_docs/API_docs_v72/constructors/storage_fileUnknown.md deleted file mode 100644 index ed33dd5e..00000000 --- a/old_docs/API_docs_v72/constructors/storage_fileUnknown.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileUnknown -description: Unknown type. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileUnknown -[Back to constructors index](index.md) - - - -Unknown type. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileUnknown = ['_' => 'storage.fileUnknown']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileUnknown={_='storage.fileUnknown'} - -``` - - diff --git a/old_docs/API_docs_v72/constructors/storage_fileWebp.md b/old_docs/API_docs_v72/constructors/storage_fileWebp.md deleted file mode 100644 index 04dcad74..00000000 --- a/old_docs/API_docs_v72/constructors/storage_fileWebp.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileWebp -description: WEBP image. MIME type: `image/webp`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileWebp -[Back to constructors index](index.md) - - - -WEBP image. MIME type: `image/webp`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileWebp = ['_' => 'storage.fileWebp']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileWebp={_='storage.fileWebp'} - -``` - - diff --git a/old_docs/API_docs_v72/constructors/updateNewStickerSet.md b/old_docs/API_docs_v72/constructors/updateNewStickerSet.md index 8a99a363..c32c41ff 100644 --- a/old_docs/API_docs_v72/constructors/updateNewStickerSet.md +++ b/old_docs/API_docs_v72/constructors/updateNewStickerSet.md @@ -14,7 +14,7 @@ A new stickerset was installed | Name | Type | Required | Description | |----------|---------------|----------|-------------| -|stickerset|[messages\_StickerSet](../types/messages_StickerSet.md) | Yes|The installed stickerset| +|stickerset|[messages.StickerSet](../constructors/messages.StickerSet.md) | Yes|The installed stickerset| @@ -24,14 +24,14 @@ A new stickerset was installed ### Example: ```php -$updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages_StickerSet]; +$updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages.StickerSet]; ``` Or, if you're into Lua: ```lua -updateNewStickerSet={_='updateNewStickerSet', stickerset=messages_StickerSet} +updateNewStickerSet={_='updateNewStickerSet', stickerset=messages.StickerSet} ``` diff --git a/old_docs/API_docs_v72/constructors/updates.channelDifference.md b/old_docs/API_docs_v72/constructors/updates.channelDifference.md new file mode 100644 index 00000000..5a13791c --- /dev/null +++ b/old_docs/API_docs_v72/constructors/updates.channelDifference.md @@ -0,0 +1,44 @@ +--- +title: updates.channelDifference +description: The new updates +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.channelDifference +[Back to constructors index](index.md) + + + +The new updates + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates to be fetched using getDifference, starting from the provided `pts`| +|pts|[int](../types/int.md) | Yes|The [PTS](https://core.telegram.org/api/updates) from which to start getting updates the next time| +|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| +|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| +|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [updates.ChannelDifference](../types/updates.ChannelDifference.md) + + +### Example: + +```php +$updates.channelDifference = ['_' => 'updates.channelDifference', 'final' => Bool, 'pts' => int, 'timeout' => int, 'new_messages' => [Message, Message], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +updates.channelDifference={_='updates.channelDifference', final=Bool, pts=int, timeout=int, new_messages={Message}, other_updates={Update}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v72/constructors/updates.channelDifferenceEmpty.md b/old_docs/API_docs_v72/constructors/updates.channelDifferenceEmpty.md new file mode 100644 index 00000000..8ce43da4 --- /dev/null +++ b/old_docs/API_docs_v72/constructors/updates.channelDifferenceEmpty.md @@ -0,0 +1,40 @@ +--- +title: updates.channelDifferenceEmpty +description: There are no new updates +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.channelDifferenceEmpty +[Back to constructors index](index.md) + + + +There are no new updates + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates that must be fetched (always false)| +|pts|[int](../types/int.md) | Yes|The latest [PTS](https://core.telegram.org/api/updates)| +|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| + + + +### Type: [updates.ChannelDifference](../types/updates.ChannelDifference.md) + + +### Example: + +```php +$updates.channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'final' => Bool, 'pts' => int, 'timeout' => int]; +``` + + +Or, if you're into Lua: + +```lua +updates.channelDifferenceEmpty={_='updates.channelDifferenceEmpty', final=Bool, pts=int, timeout=int} + +``` + + diff --git a/old_docs/API_docs_v72/constructors/updates.channelDifferenceTooLong.md b/old_docs/API_docs_v72/constructors/updates.channelDifferenceTooLong.md new file mode 100644 index 00000000..9290856d --- /dev/null +++ b/old_docs/API_docs_v72/constructors/updates.channelDifferenceTooLong.md @@ -0,0 +1,58 @@ +--- +title: updates.channelDifferenceTooLong +description: The provided `pts + limit < remote pts`. Simply, there are too many updates to be fetched (more than `limit`), the client has to resolve the update gap in one of the following ways: + +1. Delete all known messages in the chat, begin from scratch by refetching all messages manually with [getHistory](../methods/messages.getHistory.md). It is easy to implement, but suddenly disappearing messages looks awful for the user. +2. Save all messages loaded in the memory until application restart, but delete all messages from database. Messages left in the memory must be lazily updated using calls to [getHistory](../methods/messages.getHistory.md). It looks much smoothly for the user, he will need to redownload messages only after client restart. Unsynchronized messages left in the memory shouldn't be saved to database, results of [getHistory](../methods/messages.getHistory.md) and [getMessages](../methods/messages.getMessages.md) must be used to update state of deleted and edited messages left in the memory. +3. Save all messages loaded in the memory and stored in the database without saving that some messages form continuous ranges. Messages in the database will be excluded from results of getChatHistory and searchChatMessages after application restart and will be available only through getMessage. Every message should still be checked using getHistory. It has more disadvantages over 2) than advantages. +4. Save all messages with saving all data about continuous message ranges. Messages from the database may be used as results of getChatHistory and (if implemented continuous ranges support for searching shared media) searchChatMessages. The messages should still be lazily checked using getHistory, but they are still available offline. It is the best way for gaps support, but it is pretty hard to implement correctly. It should be also noted that some messages like live location messages shouldn't be deleted. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.channelDifferenceTooLong +[Back to constructors index](index.md) + + + +The provided `pts + limit < remote pts`. Simply, there are too many updates to be fetched (more than `limit`), the client has to resolve the update gap in one of the following ways: + +1. Delete all known messages in the chat, begin from scratch by refetching all messages manually with [getHistory](../methods/messages.getHistory.md). It is easy to implement, but suddenly disappearing messages looks awful for the user. +2. Save all messages loaded in the memory until application restart, but delete all messages from database. Messages left in the memory must be lazily updated using calls to [getHistory](../methods/messages.getHistory.md). It looks much smoothly for the user, he will need to redownload messages only after client restart. Unsynchronized messages left in the memory shouldn't be saved to database, results of [getHistory](../methods/messages.getHistory.md) and [getMessages](../methods/messages.getMessages.md) must be used to update state of deleted and edited messages left in the memory. +3. Save all messages loaded in the memory and stored in the database without saving that some messages form continuous ranges. Messages in the database will be excluded from results of getChatHistory and searchChatMessages after application restart and will be available only through getMessage. Every message should still be checked using getHistory. It has more disadvantages over 2) than advantages. +4. Save all messages with saving all data about continuous message ranges. Messages from the database may be used as results of getChatHistory and (if implemented continuous ranges support for searching shared media) searchChatMessages. The messages should still be lazily checked using getHistory, but they are still available offline. It is the best way for gaps support, but it is pretty hard to implement correctly. It should be also noted that some messages like live location messages shouldn't be deleted. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates that must be fetched (always false)| +|pts|[int](../types/int.md) | Yes|Pts| +|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| +|top\_message|[int](../types/int.md) | Yes|Top message| +|read\_inbox\_max\_id|[int](../types/int.md) | Yes|Read inbox max ID| +|read\_outbox\_max\_id|[int](../types/int.md) | Yes|Read outbox max ID| +|unread\_count|[int](../types/int.md) | Yes|Unread count| +|unread\_mentions\_count|[int](../types/int.md) | Yes|Unread mentions count| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [updates.ChannelDifference](../types/updates.ChannelDifference.md) + + +### Example: + +```php +$updates.channelDifferenceTooLong = ['_' => 'updates.channelDifferenceTooLong', 'final' => Bool, 'pts' => int, 'timeout' => int, 'top_message' => int, 'read_inbox_max_id' => int, 'read_outbox_max_id' => int, 'unread_count' => int, 'unread_mentions_count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +updates.channelDifferenceTooLong={_='updates.channelDifferenceTooLong', final=Bool, pts=int, timeout=int, top_message=int, read_inbox_max_id=int, read_outbox_max_id=int, unread_count=int, unread_mentions_count=int, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v72/constructors/updates.difference.md b/old_docs/API_docs_v72/constructors/updates.difference.md new file mode 100644 index 00000000..82541b51 --- /dev/null +++ b/old_docs/API_docs_v72/constructors/updates.difference.md @@ -0,0 +1,43 @@ +--- +title: updates.difference +description: Full list of occurred events. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.difference +[Back to constructors index](index.md) + + + +Full list of occurred events. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| +|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| +|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| +|state|[updates.State](../constructors/updates.State.md) | Yes|Current state| + + + +### Type: [updates.Difference](../types/updates.Difference.md) + + +### Example: + +```php +$updates.difference = ['_' => 'updates.difference', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates.State]; +``` + + +Or, if you're into Lua: + +```lua +updates.difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates.State} + +``` + + diff --git a/old_docs/API_docs_v72/constructors/updates.differenceEmpty.md b/old_docs/API_docs_v72/constructors/updates.differenceEmpty.md new file mode 100644 index 00000000..a9dc3bd0 --- /dev/null +++ b/old_docs/API_docs_v72/constructors/updates.differenceEmpty.md @@ -0,0 +1,39 @@ +--- +title: updates.differenceEmpty +description: No events. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.differenceEmpty +[Back to constructors index](index.md) + + + +No events. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Current date| +|seq|[int](../types/int.md) | Yes|Number of sent updates| + + + +### Type: [updates.Difference](../types/updates.Difference.md) + + +### Example: + +```php +$updates.differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int]; +``` + + +Or, if you're into Lua: + +```lua +updates.differenceEmpty={_='updates.differenceEmpty', date=int, seq=int} + +``` + + diff --git a/old_docs/API_docs_v72/constructors/updates.differenceSlice.md b/old_docs/API_docs_v72/constructors/updates.differenceSlice.md new file mode 100644 index 00000000..9daf7a75 --- /dev/null +++ b/old_docs/API_docs_v72/constructors/updates.differenceSlice.md @@ -0,0 +1,43 @@ +--- +title: updates.differenceSlice +description: Incomplete list of occurred events. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.differenceSlice +[Back to constructors index](index.md) + + + +Incomplete list of occurred events. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| +|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| +|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| +|intermediate\_state|[updates.State](../constructors/updates.State.md) | Yes|Intermediary state| + + + +### Type: [updates.Difference](../types/updates.Difference.md) + + +### Example: + +```php +$updates.differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'intermediate_state' => updates.State]; +``` + + +Or, if you're into Lua: + +```lua +updates.differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates.State} + +``` + + diff --git a/old_docs/API_docs_v72/constructors/updates.differenceTooLong.md b/old_docs/API_docs_v72/constructors/updates.differenceTooLong.md new file mode 100644 index 00000000..ef2e7e4d --- /dev/null +++ b/old_docs/API_docs_v72/constructors/updates.differenceTooLong.md @@ -0,0 +1,38 @@ +--- +title: updates.differenceTooLong +description: The difference is [too long](https://core.telegram.org/api/updates#recovering-gaps), and the specified state must be used to refetch updates. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.differenceTooLong +[Back to constructors index](index.md) + + + +The difference is [too long](https://core.telegram.org/api/updates#recovering-gaps), and the specified state must be used to refetch updates. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|The new state to use.| + + + +### Type: [updates.Difference](../types/updates.Difference.md) + + +### Example: + +```php +$updates.differenceTooLong = ['_' => 'updates.differenceTooLong', 'pts' => int]; +``` + + +Or, if you're into Lua: + +```lua +updates.differenceTooLong={_='updates.differenceTooLong', pts=int} + +``` + + diff --git a/old_docs/API_docs_v72/constructors/updates.state.md b/old_docs/API_docs_v72/constructors/updates.state.md new file mode 100644 index 00000000..abe9ddbb --- /dev/null +++ b/old_docs/API_docs_v72/constructors/updates.state.md @@ -0,0 +1,42 @@ +--- +title: updates.state +description: Updates state. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.state +[Back to constructors index](index.md) + + + +Updates state. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| +|qts|[int](../types/int.md) | Yes|Position in a sequence of updates in secret chats. For further detailes refer to article [secret chats](https://core.telegram.org/api/end-to-end)
Parameter was added in [eigth layer](https://core.telegram.org/api/layers#layer-8).| +|date|[int](../types/int.md) | Yes|Date of condition| +|seq|[int](../types/int.md) | Yes|Number of sent updates| +|unread\_count|[int](../types/int.md) | Yes|Number of unread messages| + + + +### Type: [updates.State](../types/updates.State.md) + + +### Example: + +```php +$updates.state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int]; +``` + + +Or, if you're into Lua: + +```lua +updates.state={_='updates.state', pts=int, qts=int, date=int, seq=int, unread_count=int} + +``` + + diff --git a/old_docs/API_docs_v72/constructors/updates_channelDifference.md b/old_docs/API_docs_v72/constructors/updates_channelDifference.md deleted file mode 100644 index 1b50fbf3..00000000 --- a/old_docs/API_docs_v72/constructors/updates_channelDifference.md +++ /dev/null @@ -1,44 +0,0 @@ ---- -title: updates.channelDifference -description: The new updates -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.channelDifference -[Back to constructors index](index.md) - - - -The new updates - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates to be fetched using getDifference, starting from the provided `pts`| -|pts|[int](../types/int.md) | Yes|The [PTS](https://core.telegram.org/api/updates) from which to start getting updates the next time| -|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| -|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| -|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) - - -### Example: - -```php -$updates_channelDifference = ['_' => 'updates.channelDifference', 'final' => Bool, 'pts' => int, 'timeout' => int, 'new_messages' => [Message, Message], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -updates_channelDifference={_='updates.channelDifference', final=Bool, pts=int, timeout=int, new_messages={Message}, other_updates={Update}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v72/constructors/updates_channelDifferenceEmpty.md b/old_docs/API_docs_v72/constructors/updates_channelDifferenceEmpty.md deleted file mode 100644 index 713137aa..00000000 --- a/old_docs/API_docs_v72/constructors/updates_channelDifferenceEmpty.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: updates.channelDifferenceEmpty -description: There are no new updates -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.channelDifferenceEmpty -[Back to constructors index](index.md) - - - -There are no new updates - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates that must be fetched (always false)| -|pts|[int](../types/int.md) | Yes|The latest [PTS](https://core.telegram.org/api/updates)| -|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| - - - -### Type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) - - -### Example: - -```php -$updates_channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'final' => Bool, 'pts' => int, 'timeout' => int]; -``` - - -Or, if you're into Lua: - -```lua -updates_channelDifferenceEmpty={_='updates.channelDifferenceEmpty', final=Bool, pts=int, timeout=int} - -``` - - diff --git a/old_docs/API_docs_v72/constructors/updates_channelDifferenceTooLong.md b/old_docs/API_docs_v72/constructors/updates_channelDifferenceTooLong.md deleted file mode 100644 index fd7a5060..00000000 --- a/old_docs/API_docs_v72/constructors/updates_channelDifferenceTooLong.md +++ /dev/null @@ -1,58 +0,0 @@ ---- -title: updates.channelDifferenceTooLong -description: The provided `pts + limit < remote pts`. Simply, there are too many updates to be fetched (more than `limit`), the client has to resolve the update gap in one of the following ways: - -1. Delete all known messages in the chat, begin from scratch by refetching all messages manually with [getHistory](../methods/messages.getHistory.md). It is easy to implement, but suddenly disappearing messages looks awful for the user. -2. Save all messages loaded in the memory until application restart, but delete all messages from database. Messages left in the memory must be lazily updated using calls to [getHistory](../methods/messages.getHistory.md). It looks much smoothly for the user, he will need to redownload messages only after client restart. Unsynchronized messages left in the memory shouldn't be saved to database, results of [getHistory](../methods/messages.getHistory.md) and [getMessages](../methods/messages.getMessages.md) must be used to update state of deleted and edited messages left in the memory. -3. Save all messages loaded in the memory and stored in the database without saving that some messages form continuous ranges. Messages in the database will be excluded from results of getChatHistory and searchChatMessages after application restart and will be available only through getMessage. Every message should still be checked using getHistory. It has more disadvantages over 2) than advantages. -4. Save all messages with saving all data about continuous message ranges. Messages from the database may be used as results of getChatHistory and (if implemented continuous ranges support for searching shared media) searchChatMessages. The messages should still be lazily checked using getHistory, but they are still available offline. It is the best way for gaps support, but it is pretty hard to implement correctly. It should be also noted that some messages like live location messages shouldn't be deleted. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.channelDifferenceTooLong -[Back to constructors index](index.md) - - - -The provided `pts + limit < remote pts`. Simply, there are too many updates to be fetched (more than `limit`), the client has to resolve the update gap in one of the following ways: - -1. Delete all known messages in the chat, begin from scratch by refetching all messages manually with [getHistory](../methods/messages.getHistory.md). It is easy to implement, but suddenly disappearing messages looks awful for the user. -2. Save all messages loaded in the memory until application restart, but delete all messages from database. Messages left in the memory must be lazily updated using calls to [getHistory](../methods/messages.getHistory.md). It looks much smoothly for the user, he will need to redownload messages only after client restart. Unsynchronized messages left in the memory shouldn't be saved to database, results of [getHistory](../methods/messages.getHistory.md) and [getMessages](../methods/messages.getMessages.md) must be used to update state of deleted and edited messages left in the memory. -3. Save all messages loaded in the memory and stored in the database without saving that some messages form continuous ranges. Messages in the database will be excluded from results of getChatHistory and searchChatMessages after application restart and will be available only through getMessage. Every message should still be checked using getHistory. It has more disadvantages over 2) than advantages. -4. Save all messages with saving all data about continuous message ranges. Messages from the database may be used as results of getChatHistory and (if implemented continuous ranges support for searching shared media) searchChatMessages. The messages should still be lazily checked using getHistory, but they are still available offline. It is the best way for gaps support, but it is pretty hard to implement correctly. It should be also noted that some messages like live location messages shouldn't be deleted. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates that must be fetched (always false)| -|pts|[int](../types/int.md) | Yes|Pts| -|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| -|top\_message|[int](../types/int.md) | Yes|Top message| -|read\_inbox\_max\_id|[int](../types/int.md) | Yes|Read inbox max ID| -|read\_outbox\_max\_id|[int](../types/int.md) | Yes|Read outbox max ID| -|unread\_count|[int](../types/int.md) | Yes|Unread count| -|unread\_mentions\_count|[int](../types/int.md) | Yes|Unread mentions count| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) - - -### Example: - -```php -$updates_channelDifferenceTooLong = ['_' => 'updates.channelDifferenceTooLong', 'final' => Bool, 'pts' => int, 'timeout' => int, 'top_message' => int, 'read_inbox_max_id' => int, 'read_outbox_max_id' => int, 'unread_count' => int, 'unread_mentions_count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -updates_channelDifferenceTooLong={_='updates.channelDifferenceTooLong', final=Bool, pts=int, timeout=int, top_message=int, read_inbox_max_id=int, read_outbox_max_id=int, unread_count=int, unread_mentions_count=int, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v72/constructors/updates_difference.md b/old_docs/API_docs_v72/constructors/updates_difference.md deleted file mode 100644 index 71ac7d4c..00000000 --- a/old_docs/API_docs_v72/constructors/updates_difference.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: updates.difference -description: Full list of occurred events. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.difference -[Back to constructors index](index.md) - - - -Full list of occurred events. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| -|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| -|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| -|state|[updates\_State](../types/updates_State.md) | Yes|Current state| - - - -### Type: [updates\_Difference](../types/updates_Difference.md) - - -### Example: - -```php -$updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates_State]; -``` - - -Or, if you're into Lua: - -```lua -updates_difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates_State} - -``` - - diff --git a/old_docs/API_docs_v72/constructors/updates_differenceEmpty.md b/old_docs/API_docs_v72/constructors/updates_differenceEmpty.md deleted file mode 100644 index c3c95c5a..00000000 --- a/old_docs/API_docs_v72/constructors/updates_differenceEmpty.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: updates.differenceEmpty -description: No events. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.differenceEmpty -[Back to constructors index](index.md) - - - -No events. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Current date| -|seq|[int](../types/int.md) | Yes|Number of sent updates| - - - -### Type: [updates\_Difference](../types/updates_Difference.md) - - -### Example: - -```php -$updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int]; -``` - - -Or, if you're into Lua: - -```lua -updates_differenceEmpty={_='updates.differenceEmpty', date=int, seq=int} - -``` - - diff --git a/old_docs/API_docs_v72/constructors/updates_differenceSlice.md b/old_docs/API_docs_v72/constructors/updates_differenceSlice.md deleted file mode 100644 index 8b12a369..00000000 --- a/old_docs/API_docs_v72/constructors/updates_differenceSlice.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: updates.differenceSlice -description: Incomplete list of occurred events. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.differenceSlice -[Back to constructors index](index.md) - - - -Incomplete list of occurred events. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| -|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| -|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| -|intermediate\_state|[updates\_State](../types/updates_State.md) | Yes|Intermediary state| - - - -### Type: [updates\_Difference](../types/updates_Difference.md) - - -### Example: - -```php -$updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'intermediate_state' => updates_State]; -``` - - -Or, if you're into Lua: - -```lua -updates_differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates_State} - -``` - - diff --git a/old_docs/API_docs_v72/constructors/updates_differenceTooLong.md b/old_docs/API_docs_v72/constructors/updates_differenceTooLong.md deleted file mode 100644 index 1fbdfa01..00000000 --- a/old_docs/API_docs_v72/constructors/updates_differenceTooLong.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: updates.differenceTooLong -description: The difference is [too long](https://core.telegram.org/api/updates#recovering-gaps), and the specified state must be used to refetch updates. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.differenceTooLong -[Back to constructors index](index.md) - - - -The difference is [too long](https://core.telegram.org/api/updates#recovering-gaps), and the specified state must be used to refetch updates. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|The new state to use.| - - - -### Type: [updates\_Difference](../types/updates_Difference.md) - - -### Example: - -```php -$updates_differenceTooLong = ['_' => 'updates.differenceTooLong', 'pts' => int]; -``` - - -Or, if you're into Lua: - -```lua -updates_differenceTooLong={_='updates.differenceTooLong', pts=int} - -``` - - diff --git a/old_docs/API_docs_v72/constructors/updates_state.md b/old_docs/API_docs_v72/constructors/updates_state.md deleted file mode 100644 index ef3698e2..00000000 --- a/old_docs/API_docs_v72/constructors/updates_state.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: updates.state -description: Updates state. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.state -[Back to constructors index](index.md) - - - -Updates state. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| -|qts|[int](../types/int.md) | Yes|Position in a sequence of updates in secret chats. For further detailes refer to article [secret chats](https://core.telegram.org/api/end-to-end)
Parameter was added in [eigth layer](https://core.telegram.org/api/layers#layer-8).| -|date|[int](../types/int.md) | Yes|Date of condition| -|seq|[int](../types/int.md) | Yes|Number of sent updates| -|unread\_count|[int](../types/int.md) | Yes|Number of unread messages| - - - -### Type: [updates\_State](../types/updates_State.md) - - -### Example: - -```php -$updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int]; -``` - - -Or, if you're into Lua: - -```lua -updates_state={_='updates.state', pts=int, qts=int, date=int, seq=int, unread_count=int} - -``` - - diff --git a/old_docs/API_docs_v72/constructors/upload.cdnFile.md b/old_docs/API_docs_v72/constructors/upload.cdnFile.md new file mode 100644 index 00000000..d6d75513 --- /dev/null +++ b/old_docs/API_docs_v72/constructors/upload.cdnFile.md @@ -0,0 +1,38 @@ +--- +title: upload.cdnFile +description: Represent a chunk of a [CDN](https://core.telegram.org/cdn) file. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: upload.cdnFile +[Back to constructors index](index.md) + + + +Represent a chunk of a [CDN](https://core.telegram.org/cdn) file. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|bytes|[bytes](../types/bytes.md) | Yes|The data| + + + +### Type: [upload.CdnFile](../types/upload.CdnFile.md) + + +### Example: + +```php +$upload.cdnFile = ['_' => 'upload.cdnFile', 'bytes' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +upload.cdnFile={_='upload.cdnFile', bytes='bytes'} + +``` + + diff --git a/old_docs/API_docs_v72/constructors/upload.cdnFileReuploadNeeded.md b/old_docs/API_docs_v72/constructors/upload.cdnFileReuploadNeeded.md new file mode 100644 index 00000000..7c461a87 --- /dev/null +++ b/old_docs/API_docs_v72/constructors/upload.cdnFileReuploadNeeded.md @@ -0,0 +1,38 @@ +--- +title: upload.cdnFileReuploadNeeded +description: The file was cleared from the temporary RAM cache of the [CDN](https://core.telegram.org/cdn) and has to be reuploaded. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: upload.cdnFileReuploadNeeded +[Back to constructors index](index.md) + + + +The file was cleared from the temporary RAM cache of the [CDN](https://core.telegram.org/cdn) and has to be reuploaded. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|request\_token|[bytes](../types/bytes.md) | Yes|Request token (see [CDN](https://core.telegram.org/cdn))| + + + +### Type: [upload.CdnFile](../types/upload.CdnFile.md) + + +### Example: + +```php +$upload.cdnFileReuploadNeeded = ['_' => 'upload.cdnFileReuploadNeeded', 'request_token' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +upload.cdnFileReuploadNeeded={_='upload.cdnFileReuploadNeeded', request_token='bytes'} + +``` + + diff --git a/old_docs/API_docs_v72/constructors/upload.file.md b/old_docs/API_docs_v72/constructors/upload.file.md new file mode 100644 index 00000000..145a4c24 --- /dev/null +++ b/old_docs/API_docs_v72/constructors/upload.file.md @@ -0,0 +1,40 @@ +--- +title: upload.file +description: File content. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: upload.file +[Back to constructors index](index.md) + + + +File content. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|type|[storage.FileType](../constructors/storage.FileType.md) | Yes|File type| +|mtime|[int](../types/int.md) | Yes|Modification type| +|bytes|[bytes](../types/bytes.md) | Yes|Binary data, file content| + + + +### Type: [upload.File](../types/upload.File.md) + + +### Example: + +```php +$upload.file = ['_' => 'upload.file', 'type' => storage.FileType, 'mtime' => int, 'bytes' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +upload.file={_='upload.file', type=storage.FileType, mtime=int, bytes='bytes'} + +``` + + diff --git a/old_docs/API_docs_v72/constructors/upload.fileCdnRedirect.md b/old_docs/API_docs_v72/constructors/upload.fileCdnRedirect.md new file mode 100644 index 00000000..294ccbcc --- /dev/null +++ b/old_docs/API_docs_v72/constructors/upload.fileCdnRedirect.md @@ -0,0 +1,42 @@ +--- +title: upload.fileCdnRedirect +description: The file must be downloaded from a [CDN DC](https://core.telegram.org/cdn). +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: upload.fileCdnRedirect +[Back to constructors index](index.md) + + + +The file must be downloaded from a [CDN DC](https://core.telegram.org/cdn). + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|dc\_id|[int](../types/int.md) | Yes|[CDN DC](https://core.telegram.org/cdn) ID| +|file\_token|[bytes](../types/bytes.md) | Yes|File token (see [CDN files](https://core.telegram.org/cdn)| +|encryption\_key|[bytes](../types/bytes.md) | Yes|Encryption key (see [CDN files](https://core.telegram.org/cdn)| +|encryption\_iv|[bytes](../types/bytes.md) | Yes|Encryption IV (see [CDN files](https://core.telegram.org/cdn)| +|cdn\_file\_hashes|Array of [CdnFileHash](../types/CdnFileHash.md) | Yes|Cdn file hashes| + + + +### Type: [upload.File](../types/upload.File.md) + + +### Example: + +```php +$upload.fileCdnRedirect = ['_' => 'upload.fileCdnRedirect', 'dc_id' => int, 'file_token' => 'bytes', 'encryption_key' => 'bytes', 'encryption_iv' => 'bytes', 'cdn_file_hashes' => [CdnFileHash, CdnFileHash]]; +``` + + +Or, if you're into Lua: + +```lua +upload.fileCdnRedirect={_='upload.fileCdnRedirect', dc_id=int, file_token='bytes', encryption_key='bytes', encryption_iv='bytes', cdn_file_hashes={CdnFileHash}} + +``` + + diff --git a/old_docs/API_docs_v72/constructors/upload.webFile.md b/old_docs/API_docs_v72/constructors/upload.webFile.md new file mode 100644 index 00000000..a93ea94f --- /dev/null +++ b/old_docs/API_docs_v72/constructors/upload.webFile.md @@ -0,0 +1,42 @@ +--- +title: upload.webFile +description: Represents a chunk of an [HTTP webfile](https://core.telegram.org/api/files) downloaded through telegram's secure MTProto servers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: upload.webFile +[Back to constructors index](index.md) + + + +Represents a chunk of an [HTTP webfile](https://core.telegram.org/api/files) downloaded through telegram's secure MTProto servers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|size|[int](../types/int.md) | Yes|File size| +|mime\_type|[string](../types/string.md) | Yes|Mime type| +|file\_type|[storage.FileType](../constructors/storage.FileType.md) | Yes|File type| +|mtime|[int](../types/int.md) | Yes|Modified time| +|bytes|[bytes](../types/bytes.md) | Yes|Data| + + + +### Type: [upload.WebFile](../types/upload.WebFile.md) + + +### Example: + +```php +$upload.webFile = ['_' => 'upload.webFile', 'size' => int, 'mime_type' => 'string', 'file_type' => storage.FileType, 'mtime' => int, 'bytes' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +upload.webFile={_='upload.webFile', size=int, mime_type='string', file_type=storage.FileType, mtime=int, bytes='bytes'} + +``` + + diff --git a/old_docs/API_docs_v72/constructors/upload_cdnFile.md b/old_docs/API_docs_v72/constructors/upload_cdnFile.md deleted file mode 100644 index 019b8742..00000000 --- a/old_docs/API_docs_v72/constructors/upload_cdnFile.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: upload.cdnFile -description: Represent a chunk of a [CDN](https://core.telegram.org/cdn) file. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: upload.cdnFile -[Back to constructors index](index.md) - - - -Represent a chunk of a [CDN](https://core.telegram.org/cdn) file. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|bytes|[bytes](../types/bytes.md) | Yes|The data| - - - -### Type: [upload\_CdnFile](../types/upload_CdnFile.md) - - -### Example: - -```php -$upload_cdnFile = ['_' => 'upload.cdnFile', 'bytes' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -upload_cdnFile={_='upload.cdnFile', bytes='bytes'} - -``` - - diff --git a/old_docs/API_docs_v72/constructors/upload_cdnFileReuploadNeeded.md b/old_docs/API_docs_v72/constructors/upload_cdnFileReuploadNeeded.md deleted file mode 100644 index 6588a596..00000000 --- a/old_docs/API_docs_v72/constructors/upload_cdnFileReuploadNeeded.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: upload.cdnFileReuploadNeeded -description: The file was cleared from the temporary RAM cache of the [CDN](https://core.telegram.org/cdn) and has to be reuploaded. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: upload.cdnFileReuploadNeeded -[Back to constructors index](index.md) - - - -The file was cleared from the temporary RAM cache of the [CDN](https://core.telegram.org/cdn) and has to be reuploaded. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|request\_token|[bytes](../types/bytes.md) | Yes|Request token (see [CDN](https://core.telegram.org/cdn))| - - - -### Type: [upload\_CdnFile](../types/upload_CdnFile.md) - - -### Example: - -```php -$upload_cdnFileReuploadNeeded = ['_' => 'upload.cdnFileReuploadNeeded', 'request_token' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -upload_cdnFileReuploadNeeded={_='upload.cdnFileReuploadNeeded', request_token='bytes'} - -``` - - diff --git a/old_docs/API_docs_v72/constructors/upload_file.md b/old_docs/API_docs_v72/constructors/upload_file.md deleted file mode 100644 index 1e07d9fb..00000000 --- a/old_docs/API_docs_v72/constructors/upload_file.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: upload.file -description: File content. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: upload.file -[Back to constructors index](index.md) - - - -File content. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|type|[storage\_FileType](../types/storage_FileType.md) | Yes|File type| -|mtime|[int](../types/int.md) | Yes|Modification type| -|bytes|[bytes](../types/bytes.md) | Yes|Binary data, file content| - - - -### Type: [upload\_File](../types/upload_File.md) - - -### Example: - -```php -$upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int, 'bytes' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -upload_file={_='upload.file', type=storage_FileType, mtime=int, bytes='bytes'} - -``` - - diff --git a/old_docs/API_docs_v72/constructors/upload_fileCdnRedirect.md b/old_docs/API_docs_v72/constructors/upload_fileCdnRedirect.md deleted file mode 100644 index 65abab3a..00000000 --- a/old_docs/API_docs_v72/constructors/upload_fileCdnRedirect.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: upload.fileCdnRedirect -description: The file must be downloaded from a [CDN DC](https://core.telegram.org/cdn). -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: upload.fileCdnRedirect -[Back to constructors index](index.md) - - - -The file must be downloaded from a [CDN DC](https://core.telegram.org/cdn). - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|dc\_id|[int](../types/int.md) | Yes|[CDN DC](https://core.telegram.org/cdn) ID| -|file\_token|[bytes](../types/bytes.md) | Yes|File token (see [CDN files](https://core.telegram.org/cdn)| -|encryption\_key|[bytes](../types/bytes.md) | Yes|Encryption key (see [CDN files](https://core.telegram.org/cdn)| -|encryption\_iv|[bytes](../types/bytes.md) | Yes|Encryption IV (see [CDN files](https://core.telegram.org/cdn)| -|cdn\_file\_hashes|Array of [CdnFileHash](../types/CdnFileHash.md) | Yes|Cdn file hashes| - - - -### Type: [upload\_File](../types/upload_File.md) - - -### Example: - -```php -$upload_fileCdnRedirect = ['_' => 'upload.fileCdnRedirect', 'dc_id' => int, 'file_token' => 'bytes', 'encryption_key' => 'bytes', 'encryption_iv' => 'bytes', 'cdn_file_hashes' => [CdnFileHash, CdnFileHash]]; -``` - - -Or, if you're into Lua: - -```lua -upload_fileCdnRedirect={_='upload.fileCdnRedirect', dc_id=int, file_token='bytes', encryption_key='bytes', encryption_iv='bytes', cdn_file_hashes={CdnFileHash}} - -``` - - diff --git a/old_docs/API_docs_v72/constructors/upload_webFile.md b/old_docs/API_docs_v72/constructors/upload_webFile.md deleted file mode 100644 index ee8053b1..00000000 --- a/old_docs/API_docs_v72/constructors/upload_webFile.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: upload.webFile -description: Represents a chunk of an [HTTP webfile](https://core.telegram.org/api/files) downloaded through telegram's secure MTProto servers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: upload.webFile -[Back to constructors index](index.md) - - - -Represents a chunk of an [HTTP webfile](https://core.telegram.org/api/files) downloaded through telegram's secure MTProto servers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|size|[int](../types/int.md) | Yes|File size| -|mime\_type|[string](../types/string.md) | Yes|Mime type| -|file\_type|[storage\_FileType](../types/storage_FileType.md) | Yes|File type| -|mtime|[int](../types/int.md) | Yes|Modified time| -|bytes|[bytes](../types/bytes.md) | Yes|Data| - - - -### Type: [upload\_WebFile](../types/upload_WebFile.md) - - -### Example: - -```php -$upload_webFile = ['_' => 'upload.webFile', 'size' => int, 'mime_type' => 'string', 'file_type' => storage_FileType, 'mtime' => int, 'bytes' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -upload_webFile={_='upload.webFile', size=int, mime_type='string', file_type=storage_FileType, mtime=int, bytes='bytes'} - -``` - - diff --git a/old_docs/API_docs_v72/constructors/userFull.md b/old_docs/API_docs_v72/constructors/userFull.md index 31af6535..e44e0673 100644 --- a/old_docs/API_docs_v72/constructors/userFull.md +++ b/old_docs/API_docs_v72/constructors/userFull.md @@ -19,7 +19,7 @@ Extended user info |phone\_calls\_private|[Bool](../types/Bool.md) | Optional|Whether this user's privacy settings allow you to call him| |user|[User](../types/User.md) | Optional|Remaining user info| |about|[string](../types/string.md) | Optional|Bio of the user| -|link|[contacts\_Link](../types/contacts_Link.md) | Yes|Link| +|link|[contacts.Link](../constructors/contacts.Link.md) | Yes|Link| |profile\_photo|[Photo](../types/Photo.md) | Optional|Profile photo| |notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Optional|Notification settings| |bot\_info|[BotInfo](../types/BotInfo.md) | Optional|For bots, info about the bot (bot commands, etc)| @@ -33,14 +33,14 @@ Extended user info ### Example: ```php -$userFull = ['_' => 'userFull', 'blocked' => Bool, 'phone_calls_available' => Bool, 'phone_calls_private' => Bool, 'user' => User, 'about' => 'string', 'link' => contacts_Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'bot_info' => BotInfo, 'common_chats_count' => int]; +$userFull = ['_' => 'userFull', 'blocked' => Bool, 'phone_calls_available' => Bool, 'phone_calls_private' => Bool, 'user' => User, 'about' => 'string', 'link' => contacts.Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'bot_info' => BotInfo, 'common_chats_count' => int]; ``` Or, if you're into Lua: ```lua -userFull={_='userFull', blocked=Bool, phone_calls_available=Bool, phone_calls_private=Bool, user=User, about='string', link=contacts_Link, profile_photo=Photo, notify_settings=PeerNotifySettings, bot_info=BotInfo, common_chats_count=int} +userFull={_='userFull', blocked=Bool, phone_calls_available=Bool, phone_calls_private=Bool, user=User, about='string', link=contacts.Link, profile_photo=Photo, notify_settings=PeerNotifySettings, bot_info=BotInfo, common_chats_count=int} ``` diff --git a/old_docs/API_docs_v72/methods/account.getAuthorizations.md b/old_docs/API_docs_v72/methods/account.getAuthorizations.md index f69c130a..fad3a7ae 100644 --- a/old_docs/API_docs_v72/methods/account.getAuthorizations.md +++ b/old_docs/API_docs_v72/methods/account.getAuthorizations.md @@ -11,7 +11,7 @@ Get logged-in sessions -### Return type: [account\_Authorizations](../types/account_Authorizations.md) +### Return type: [account.Authorizations](../types/account.Authorizations.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_Authorizations = $MadelineProto->account->getAuthorizations(); +$account.Authorizations = $MadelineProto->account->getAuthorizations(); ``` Or, if you're into Lua: ```lua -account_Authorizations = account.getAuthorizations({}) +account.Authorizations = account.getAuthorizations({}) ``` diff --git a/old_docs/API_docs_v72/methods/account.getPassword.md b/old_docs/API_docs_v72/methods/account.getPassword.md index eed4aee3..621271b6 100644 --- a/old_docs/API_docs_v72/methods/account.getPassword.md +++ b/old_docs/API_docs_v72/methods/account.getPassword.md @@ -11,7 +11,7 @@ Obtain configuration for two-factor authorization with password -### Return type: [account\_Password](../types/account_Password.md) +### Return type: [account.Password](../types/account.Password.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_Password = $MadelineProto->account->getPassword(); +$account.Password = $MadelineProto->account->getPassword(); ``` Or, if you're into Lua: ```lua -account_Password = account.getPassword({}) +account.Password = account.getPassword({}) ``` diff --git a/old_docs/API_docs_v72/methods/account.getPasswordSettings.md b/old_docs/API_docs_v72/methods/account.getPasswordSettings.md index dcdae61a..3d3cce08 100644 --- a/old_docs/API_docs_v72/methods/account.getPasswordSettings.md +++ b/old_docs/API_docs_v72/methods/account.getPasswordSettings.md @@ -16,7 +16,7 @@ You cannot use this method directly; use $MadelineProto->update_2fa($params), in |current\_password\_hash|[bytes](../types/bytes.md) | You cannot use this method directly; use $MadelineProto->update_2fa($params), instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [account\_PasswordSettings](../types/account_PasswordSettings.md) +### Return type: [account.PasswordSettings](../types/account.PasswordSettings.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_PasswordSettings = $MadelineProto->account->getPasswordSettings(['current_password_hash' => 'bytes', ]); +$account.PasswordSettings = $MadelineProto->account->getPasswordSettings(['current_password_hash' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -account_PasswordSettings = account.getPasswordSettings({current_password_hash='bytes', }) +account.PasswordSettings = account.getPasswordSettings({current_password_hash='bytes', }) ``` ### Errors diff --git a/old_docs/API_docs_v72/methods/account.getPrivacy.md b/old_docs/API_docs_v72/methods/account.getPrivacy.md index 6a240129..e20c292c 100644 --- a/old_docs/API_docs_v72/methods/account.getPrivacy.md +++ b/old_docs/API_docs_v72/methods/account.getPrivacy.md @@ -16,7 +16,7 @@ Get privacy settings of current account |key|[InputPrivacyKey](../types/InputPrivacyKey.md) | Peer category whose privacy settings should be fetched | Yes| -### Return type: [account\_PrivacyRules](../types/account_PrivacyRules.md) +### Return type: [account.PrivacyRules](../types/account.PrivacyRules.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_PrivacyRules = $MadelineProto->account->getPrivacy(['key' => InputPrivacyKey, ]); +$account.PrivacyRules = $MadelineProto->account->getPrivacy(['key' => InputPrivacyKey, ]); ``` Or, if you're into Lua: ```lua -account_PrivacyRules = account.getPrivacy({key=InputPrivacyKey, }) +account.PrivacyRules = account.getPrivacy({key=InputPrivacyKey, }) ``` ### Errors diff --git a/old_docs/API_docs_v72/methods/account.getTmpPassword.md b/old_docs/API_docs_v72/methods/account.getTmpPassword.md index 4f269586..7e05a423 100644 --- a/old_docs/API_docs_v72/methods/account.getTmpPassword.md +++ b/old_docs/API_docs_v72/methods/account.getTmpPassword.md @@ -17,7 +17,7 @@ Get temporary payment password |period|[int](../types/int.md) | Time during which the temporary password will be valid, in seconds; should be between 60 and 86400 | Yes| -### Return type: [account\_TmpPassword](../types/account_TmpPassword.md) +### Return type: [account.TmpPassword](../types/account.TmpPassword.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_TmpPassword = $MadelineProto->account->getTmpPassword(['password_hash' => 'bytes', 'period' => int, ]); +$account.TmpPassword = $MadelineProto->account->getTmpPassword(['password_hash' => 'bytes', 'period' => int, ]); ``` Or, if you're into Lua: ```lua -account_TmpPassword = account.getTmpPassword({password_hash='bytes', period=int, }) +account.TmpPassword = account.getTmpPassword({password_hash='bytes', period=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v72/methods/account.sendChangePhoneCode.md b/old_docs/API_docs_v72/methods/account.sendChangePhoneCode.md index 0f81306e..30589ffa 100644 --- a/old_docs/API_docs_v72/methods/account.sendChangePhoneCode.md +++ b/old_docs/API_docs_v72/methods/account.sendChangePhoneCode.md @@ -18,7 +18,7 @@ Verify a new phone number to associate to the current account |current\_number|[Bool](../types/Bool.md) | Current phone number | Optional| -### Return type: [auth\_SentCode](../types/auth_SentCode.md) +### Return type: [auth.SentCode](../types/auth.SentCode.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_SentCode = $MadelineProto->account->sendChangePhoneCode(['allow_flashcall' => Bool, 'phone_number' => 'string', 'current_number' => Bool, ]); +$auth.SentCode = $MadelineProto->account->sendChangePhoneCode(['allow_flashcall' => Bool, 'phone_number' => 'string', 'current_number' => Bool, ]); ``` Or, if you're into Lua: ```lua -auth_SentCode = account.sendChangePhoneCode({allow_flashcall=Bool, phone_number='string', current_number=Bool, }) +auth.SentCode = account.sendChangePhoneCode({allow_flashcall=Bool, phone_number='string', current_number=Bool, }) ``` ### Errors diff --git a/old_docs/API_docs_v72/methods/account.sendConfirmPhoneCode.md b/old_docs/API_docs_v72/methods/account.sendConfirmPhoneCode.md index 68ba8fd3..9ec24f07 100644 --- a/old_docs/API_docs_v72/methods/account.sendConfirmPhoneCode.md +++ b/old_docs/API_docs_v72/methods/account.sendConfirmPhoneCode.md @@ -18,7 +18,7 @@ Send confirmation code to cancel account deletion, for more info [click here »] |current\_number|[Bool](../types/Bool.md) | The current phone number | Optional| -### Return type: [auth\_SentCode](../types/auth_SentCode.md) +### Return type: [auth.SentCode](../types/auth.SentCode.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_SentCode = $MadelineProto->account->sendConfirmPhoneCode(['allow_flashcall' => Bool, 'hash' => 'string', 'current_number' => Bool, ]); +$auth.SentCode = $MadelineProto->account->sendConfirmPhoneCode(['allow_flashcall' => Bool, 'hash' => 'string', 'current_number' => Bool, ]); ``` Or, if you're into Lua: ```lua -auth_SentCode = account.sendConfirmPhoneCode({allow_flashcall=Bool, hash='string', current_number=Bool, }) +auth.SentCode = account.sendConfirmPhoneCode({allow_flashcall=Bool, hash='string', current_number=Bool, }) ``` ### Errors diff --git a/old_docs/API_docs_v72/methods/account.setPrivacy.md b/old_docs/API_docs_v72/methods/account.setPrivacy.md index 7c4cfba7..096d373e 100644 --- a/old_docs/API_docs_v72/methods/account.setPrivacy.md +++ b/old_docs/API_docs_v72/methods/account.setPrivacy.md @@ -17,7 +17,7 @@ Change privacy settings of current account |rules|Array of [InputPrivacyRule](../types/InputPrivacyRule.md) | Privacy settings | Yes| -### Return type: [account\_PrivacyRules](../types/account_PrivacyRules.md) +### Return type: [account.PrivacyRules](../types/account.PrivacyRules.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_PrivacyRules = $MadelineProto->account->setPrivacy(['key' => InputPrivacyKey, 'rules' => [InputPrivacyRule, InputPrivacyRule], ]); +$account.PrivacyRules = $MadelineProto->account->setPrivacy(['key' => InputPrivacyKey, 'rules' => [InputPrivacyRule, InputPrivacyRule], ]); ``` Or, if you're into Lua: ```lua -account_PrivacyRules = account.setPrivacy({key=InputPrivacyKey, rules={InputPrivacyRule}, }) +account.PrivacyRules = account.setPrivacy({key=InputPrivacyKey, rules={InputPrivacyRule}, }) ``` ### Errors diff --git a/old_docs/API_docs_v72/methods/api_README.md b/old_docs/API_docs_v72/methods/api_README.md index 17f46945..04da310d 100644 --- a/old_docs/API_docs_v72/methods/api_README.md +++ b/old_docs/API_docs_v72/methods/api_README.md @@ -56,7 +56,7 @@ $MadelineProto->[account->getAccountTTL](account.getAccountTTL.md)(\[\]) === [$A ***

-$MadelineProto->[account->getAuthorizations](account.getAuthorizations.md)(\[\]) === [$account\_Authorizations](../types/account_Authorizations.md) +$MadelineProto->[account->getAuthorizations](account.getAuthorizations.md)(\[\]) === [$account.Authorizations](../types/account.Authorizations.md) ***

@@ -64,19 +64,19 @@ $MadelineProto->[account->getNotifySettings](account.getNotifySettings.md)(\['pe ***

-$MadelineProto->[account->getPassword](account.getPassword.md)(\[\]) === [$account\_Password](../types/account_Password.md) +$MadelineProto->[account->getPassword](account.getPassword.md)(\[\]) === [$account.Password](../types/account.Password.md) ***

-$MadelineProto->[account->getPasswordSettings](account.getPasswordSettings.md)(\['current_password_hash' => [bytes](../types/bytes.md), \]) === [$account\_PasswordSettings](../types/account_PasswordSettings.md) +$MadelineProto->[account->getPasswordSettings](account.getPasswordSettings.md)(\['current_password_hash' => [bytes](../types/bytes.md), \]) === [$account.PasswordSettings](../types/account.PasswordSettings.md) ***

-$MadelineProto->[account->getPrivacy](account.getPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), \]) === [$account\_PrivacyRules](../types/account_PrivacyRules.md) +$MadelineProto->[account->getPrivacy](account.getPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), \]) === [$account.PrivacyRules](../types/account.PrivacyRules.md) ***

-$MadelineProto->[account->getTmpPassword](account.getTmpPassword.md)(\['password_hash' => [bytes](../types/bytes.md), 'period' => [int](../types/int.md), \]) === [$account\_TmpPassword](../types/account_TmpPassword.md) +$MadelineProto->[account->getTmpPassword](account.getTmpPassword.md)(\['password_hash' => [bytes](../types/bytes.md), 'period' => [int](../types/int.md), \]) === [$account.TmpPassword](../types/account.TmpPassword.md) ***

@@ -100,11 +100,11 @@ $MadelineProto->[account->resetNotifySettings](account.resetNotifySettings.md)(\ ***

-$MadelineProto->[account->sendChangePhoneCode](account.sendChangePhoneCode.md)(\['allow_flashcall' => [Bool](../types/Bool.md), 'phone_number' => [string](../types/string.md), 'current_number' => [Bool](../types/Bool.md), \]) === [$auth\_SentCode](../types/auth_SentCode.md) +$MadelineProto->[account->sendChangePhoneCode](account.sendChangePhoneCode.md)(\['allow_flashcall' => [Bool](../types/Bool.md), 'phone_number' => [string](../types/string.md), 'current_number' => [Bool](../types/Bool.md), \]) === [$auth.SentCode](../types/auth.SentCode.md) ***

-$MadelineProto->[account->sendConfirmPhoneCode](account.sendConfirmPhoneCode.md)(\['allow_flashcall' => [Bool](../types/Bool.md), 'hash' => [string](../types/string.md), 'current_number' => [Bool](../types/Bool.md), \]) === [$auth\_SentCode](../types/auth_SentCode.md) +$MadelineProto->[account->sendConfirmPhoneCode](account.sendConfirmPhoneCode.md)(\['allow_flashcall' => [Bool](../types/Bool.md), 'hash' => [string](../types/string.md), 'current_number' => [Bool](../types/Bool.md), \]) === [$auth.SentCode](../types/auth.SentCode.md) ***

@@ -112,7 +112,7 @@ $MadelineProto->[account->setAccountTTL](account.setAccountTTL.md)(\['ttl' => [A ***

-$MadelineProto->[account->setPrivacy](account.setPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), 'rules' => \[[InputPrivacyRule](../types/InputPrivacyRule.md)\], \]) === [$account\_PrivacyRules](../types/account_PrivacyRules.md) +$MadelineProto->[account->setPrivacy](account.setPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), 'rules' => \[[InputPrivacyRule](../types/InputPrivacyRule.md)\], \]) === [$account.PrivacyRules](../types/account.PrivacyRules.md) ***

@@ -152,11 +152,11 @@ $MadelineProto->[auth->cancelCode](auth.cancelCode.md)(\['phone_number' => [stri ***

-$MadelineProto->[auth->checkPassword](auth.checkPassword.md)(\['password_hash' => [bytes](../types/bytes.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->checkPassword](auth.checkPassword.md)(\['password_hash' => [bytes](../types/bytes.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

-$MadelineProto->[auth->checkPhone](auth.checkPhone.md)(\['phone_number' => [string](../types/string.md), \]) === [$auth\_CheckedPhone](../types/auth_CheckedPhone.md) +$MadelineProto->[auth->checkPhone](auth.checkPhone.md)(\['phone_number' => [string](../types/string.md), \]) === [$auth.CheckedPhone](../types/auth.CheckedPhone.md) ***

@@ -164,15 +164,15 @@ $MadelineProto->[auth->dropTempAuthKeys](auth.dropTempAuthKeys.md)(\['except_aut ***

-$MadelineProto->[auth->exportAuthorization](auth.exportAuthorization.md)(\['dc_id' => [int](../types/int.md), \]) === [$auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) +$MadelineProto->[auth->exportAuthorization](auth.exportAuthorization.md)(\['dc_id' => [int](../types/int.md), \]) === [$auth.ExportedAuthorization](../types/auth.ExportedAuthorization.md) ***

-$MadelineProto->[auth->importAuthorization](auth.importAuthorization.md)(\['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->importAuthorization](auth.importAuthorization.md)(\['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

-$MadelineProto->[auth->importBotAuthorization](auth.importBotAuthorization.md)(\['api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), 'bot_auth_token' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->importBotAuthorization](auth.importBotAuthorization.md)(\['api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), 'bot_auth_token' => [string](../types/string.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

@@ -180,15 +180,15 @@ $MadelineProto->[auth->logOut](auth.logOut.md)(\[\]) === [$Bool](../types/Bool.m ***

-$MadelineProto->[auth->recoverPassword](auth.recoverPassword.md)(\['code' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->recoverPassword](auth.recoverPassword.md)(\['code' => [string](../types/string.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

-$MadelineProto->[auth->requestPasswordRecovery](auth.requestPasswordRecovery.md)(\[\]) === [$auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) +$MadelineProto->[auth->requestPasswordRecovery](auth.requestPasswordRecovery.md)(\[\]) === [$auth.PasswordRecovery](../types/auth.PasswordRecovery.md) ***

-$MadelineProto->[auth->resendCode](auth.resendCode.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), \]) === [$auth\_SentCode](../types/auth_SentCode.md) +$MadelineProto->[auth->resendCode](auth.resendCode.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), \]) === [$auth.SentCode](../types/auth.SentCode.md) ***

@@ -196,7 +196,7 @@ $MadelineProto->[auth->resetAuthorizations](auth.resetAuthorizations.md)(\[\]) = ***

-$MadelineProto->[auth->sendCode](auth.sendCode.md)(\['allow_flashcall' => [Bool](../types/Bool.md), 'phone_number' => [string](../types/string.md), 'current_number' => [Bool](../types/Bool.md), 'api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), \]) === [$auth\_SentCode](../types/auth_SentCode.md) +$MadelineProto->[auth->sendCode](auth.sendCode.md)(\['allow_flashcall' => [Bool](../types/Bool.md), 'phone_number' => [string](../types/string.md), 'current_number' => [Bool](../types/Bool.md), 'api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), \]) === [$auth.SentCode](../types/auth.SentCode.md) ***

@@ -204,11 +204,11 @@ $MadelineProto->[auth->sendInvites](auth.sendInvites.md)(\['phone_numbers' => \[ ***

-$MadelineProto->[auth->signIn](auth.signIn.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->signIn](auth.signIn.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

-$MadelineProto->[auth->signUp](auth.signUp.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->signUp](auth.signUp.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

@@ -236,11 +236,11 @@ $MadelineProto->[channels->deleteHistory](channels.deleteHistory.md)(\['channel' ***

-$MadelineProto->[channels->deleteMessages](channels.deleteMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) +$MadelineProto->[channels->deleteMessages](channels.deleteMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages.AffectedMessages](../types/messages.AffectedMessages.md) ***

-$MadelineProto->[channels->deleteUserHistory](channels.deleteUserHistory.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages\_AffectedHistory](../types/messages_AffectedHistory.md) +$MadelineProto->[channels->deleteUserHistory](channels.deleteUserHistory.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages.AffectedHistory](../types/messages.AffectedHistory.md) ***

@@ -272,31 +272,31 @@ $MadelineProto->[channels->exportMessageLink](channels.exportMessageLink.md)(\[' ***

-$MadelineProto->[channels->getAdminLog](channels.getAdminLog.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'q' => [string](../types/string.md), 'events_filter' => [ChannelAdminLogEventsFilter](../types/ChannelAdminLogEventsFilter.md), 'admins' => \[[InputUser](../types/InputUser.md)\], 'max_id' => [long](../types/long.md), 'min_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$channels\_AdminLogResults](../types/channels_AdminLogResults.md) +$MadelineProto->[channels->getAdminLog](channels.getAdminLog.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'q' => [string](../types/string.md), 'events_filter' => [ChannelAdminLogEventsFilter](../types/ChannelAdminLogEventsFilter.md), 'admins' => \[[InputUser](../types/InputUser.md)\], 'max_id' => [long](../types/long.md), 'min_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$channels.AdminLogResults](../types/channels.AdminLogResults.md) ***

-$MadelineProto->[channels->getAdminedPublicChannels](channels.getAdminedPublicChannels.md)(\[\]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[channels->getAdminedPublicChannels](channels.getAdminedPublicChannels.md)(\[\]) === [$messages.Chats](../types/messages.Chats.md) ***

-$MadelineProto->[channels->getChannels](channels.getChannels.md)(\['id' => \[[InputChannel](../types/InputChannel.md)\], \]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[channels->getChannels](channels.getChannels.md)(\['id' => \[[InputChannel](../types/InputChannel.md)\], \]) === [$messages.Chats](../types/messages.Chats.md) ***

-$MadelineProto->[channels->getFullChannel](channels.getFullChannel.md)(\['channel' => [InputChannel](../types/InputChannel.md), \]) === [$messages\_ChatFull](../types/messages_ChatFull.md) +$MadelineProto->[channels->getFullChannel](channels.getFullChannel.md)(\['channel' => [InputChannel](../types/InputChannel.md), \]) === [$messages.ChatFull](../types/messages.ChatFull.md) ***

-$MadelineProto->[channels->getMessages](channels.getMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[channels->getMessages](channels.getMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[channels->getParticipant](channels.getParticipant.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$channels\_ChannelParticipant](../types/channels_ChannelParticipant.md) +$MadelineProto->[channels->getParticipant](channels.getParticipant.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$channels.ChannelParticipant](../types/channels.ChannelParticipant.md) ***

-$MadelineProto->[channels->getParticipants](channels.getParticipants.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$channels\_ChannelParticipants](../types/channels_ChannelParticipants.md) +$MadelineProto->[channels->getParticipants](channels.getParticipants.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$channels.ChannelParticipants](../types/channels.ChannelParticipants.md) ***

@@ -352,7 +352,7 @@ $MadelineProto->[contacts->block](contacts.block.md)(\['id' => [InputUser](../ty ***

-$MadelineProto->[contacts->deleteContact](contacts.deleteContact.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$contacts\_Link](../types/contacts_Link.md) +$MadelineProto->[contacts->deleteContact](contacts.deleteContact.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$contacts.Link](../types/contacts.Link.md) ***

@@ -364,11 +364,11 @@ $MadelineProto->[contacts->exportCard](contacts.exportCard.md)(\[\]) === [$Vecto ***

-$MadelineProto->[contacts->getBlocked](contacts.getBlocked.md)(\['offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$contacts\_Blocked](../types/contacts_Blocked.md) +$MadelineProto->[contacts->getBlocked](contacts.getBlocked.md)(\['offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$contacts.Blocked](../types/contacts.Blocked.md) ***

-$MadelineProto->[contacts->getContacts](contacts.getContacts.md)(\['hash' => [int](../types/int.md), \]) === [$contacts\_Contacts](../types/contacts_Contacts.md) +$MadelineProto->[contacts->getContacts](contacts.getContacts.md)(\['hash' => [int](../types/int.md), \]) === [$contacts.Contacts](../types/contacts.Contacts.md) ***

@@ -376,7 +376,7 @@ $MadelineProto->[contacts->getStatuses](contacts.getStatuses.md)(\[\]) === [$Vec ***

-$MadelineProto->[contacts->getTopPeers](contacts.getTopPeers.md)(\['correspondents' => [Bool](../types/Bool.md), 'bots_pm' => [Bool](../types/Bool.md), 'bots_inline' => [Bool](../types/Bool.md), 'phone_calls' => [Bool](../types/Bool.md), 'groups' => [Bool](../types/Bool.md), 'channels' => [Bool](../types/Bool.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$contacts\_TopPeers](../types/contacts_TopPeers.md) +$MadelineProto->[contacts->getTopPeers](contacts.getTopPeers.md)(\['correspondents' => [Bool](../types/Bool.md), 'bots_pm' => [Bool](../types/Bool.md), 'bots_inline' => [Bool](../types/Bool.md), 'phone_calls' => [Bool](../types/Bool.md), 'groups' => [Bool](../types/Bool.md), 'channels' => [Bool](../types/Bool.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$contacts.TopPeers](../types/contacts.TopPeers.md) ***

@@ -384,7 +384,7 @@ $MadelineProto->[contacts->importCard](contacts.importCard.md)(\['export_card' = ***

-$MadelineProto->[contacts->importContacts](contacts.importContacts.md)(\['contacts' => \[[InputContact](../types/InputContact.md)\], \]) === [$contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) +$MadelineProto->[contacts->importContacts](contacts.importContacts.md)(\['contacts' => \[[InputContact](../types/InputContact.md)\], \]) === [$contacts.ImportedContacts](../types/contacts.ImportedContacts.md) ***

@@ -396,11 +396,11 @@ $MadelineProto->[contacts->resetTopPeerRating](contacts.resetTopPeerRating.md)(\ ***

-$MadelineProto->[contacts->resolveUsername](contacts.resolveUsername.md)(\['username' => [string](../types/string.md), \]) === [$contacts\_ResolvedPeer](../types/contacts_ResolvedPeer.md) +$MadelineProto->[contacts->resolveUsername](contacts.resolveUsername.md)(\['username' => [string](../types/string.md), \]) === [$contacts.ResolvedPeer](../types/contacts.ResolvedPeer.md) ***

-$MadelineProto->[contacts->search](contacts.search.md)(\['q' => [string](../types/string.md), 'limit' => [int](../types/int.md), \]) === [$contacts\_Found](../types/contacts_Found.md) +$MadelineProto->[contacts->search](contacts.search.md)(\['q' => [string](../types/string.md), 'limit' => [int](../types/int.md), \]) === [$contacts.Found](../types/contacts.Found.md) ***

@@ -426,7 +426,7 @@ $MadelineProto->[help->getAppChangelog](help.getAppChangelog.md)(\['prev_app_ver ***

-$MadelineProto->[help->getAppUpdate](help.getAppUpdate.md)(\[\]) === [$help\_AppUpdate](../types/help_AppUpdate.md) +$MadelineProto->[help->getAppUpdate](help.getAppUpdate.md)(\[\]) === [$help.AppUpdate](../types/help.AppUpdate.md) ***

@@ -438,7 +438,7 @@ $MadelineProto->[help->getConfig](help.getConfig.md)(\[\]) === [$Config](../type ***

-$MadelineProto->[help->getInviteText](help.getInviteText.md)(\[\]) === [$help\_InviteText](../types/help_InviteText.md) +$MadelineProto->[help->getInviteText](help.getInviteText.md)(\[\]) === [$help.InviteText](../types/help.InviteText.md) ***

@@ -446,15 +446,15 @@ $MadelineProto->[help->getNearestDc](help.getNearestDc.md)(\[\]) === [$NearestDc ***

-$MadelineProto->[help->getRecentMeUrls](help.getRecentMeUrls.md)(\['referer' => [string](../types/string.md), \]) === [$help\_RecentMeUrls](../types/help_RecentMeUrls.md) +$MadelineProto->[help->getRecentMeUrls](help.getRecentMeUrls.md)(\['referer' => [string](../types/string.md), \]) === [$help.RecentMeUrls](../types/help.RecentMeUrls.md) ***

-$MadelineProto->[help->getSupport](help.getSupport.md)(\[\]) === [$help\_Support](../types/help_Support.md) +$MadelineProto->[help->getSupport](help.getSupport.md)(\[\]) === [$help.Support](../types/help.Support.md) ***

-$MadelineProto->[help->getTermsOfService](help.getTermsOfService.md)(\[\]) === [$help\_TermsOfService](../types/help_TermsOfService.md) +$MadelineProto->[help->getTermsOfService](help.getTermsOfService.md)(\[\]) === [$help.TermsOfService](../types/help.TermsOfService.md) ***

@@ -526,11 +526,11 @@ $MadelineProto->[messages->deleteChatUser](messages.deleteChatUser.md)(\['chat_i ***

-$MadelineProto->[messages->deleteHistory](messages.deleteHistory.md)(\['just_clear' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), \]) === [$messages\_AffectedHistory](../types/messages_AffectedHistory.md) +$MadelineProto->[messages->deleteHistory](messages.deleteHistory.md)(\['just_clear' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), \]) === [$messages.AffectedHistory](../types/messages.AffectedHistory.md) ***

-$MadelineProto->[messages->deleteMessages](messages.deleteMessages.md)(\['revoke' => [Bool](../types/Bool.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) +$MadelineProto->[messages->deleteMessages](messages.deleteMessages.md)(\['revoke' => [Bool](../types/Bool.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages.AffectedMessages](../types/messages.AffectedMessages.md) ***

@@ -574,7 +574,7 @@ $MadelineProto->[messages->forwardMessages](messages.forwardMessages.md)(\['sile ***

-$MadelineProto->[messages->getAllChats](messages.getAllChats.md)(\['except_ids' => \[[int](../types/int.md)\], \]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[messages->getAllChats](messages.getAllChats.md)(\['except_ids' => \[[int](../types/int.md)\], \]) === [$messages.Chats](../types/messages.Chats.md) ***

@@ -582,11 +582,11 @@ $MadelineProto->[messages->getAllDrafts](messages.getAllDrafts.md)(\[\]) === [$U ***

-$MadelineProto->[messages->getAllStickers](messages.getAllStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages\_AllStickers](../types/messages_AllStickers.md) +$MadelineProto->[messages->getAllStickers](messages.getAllStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages.AllStickers](../types/messages.AllStickers.md) ***

-$MadelineProto->[messages->getArchivedStickers](messages.getArchivedStickers.md)(\['masks' => [Bool](../types/Bool.md), 'offset_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$messages\_ArchivedStickers](../types/messages_ArchivedStickers.md) +$MadelineProto->[messages->getArchivedStickers](messages.getArchivedStickers.md)(\['masks' => [Bool](../types/Bool.md), 'offset_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$messages.ArchivedStickers](../types/messages.ArchivedStickers.md) ***

@@ -594,23 +594,23 @@ $MadelineProto->[messages->getAttachedStickers](messages.getAttachedStickers.md) ***

-$MadelineProto->[messages->getBotCallbackAnswer](messages.getBotCallbackAnswer.md)(\['game' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'msg_id' => [int](../types/int.md), 'data' => [bytes](../types/bytes.md), \]) === [$messages\_BotCallbackAnswer](../types/messages_BotCallbackAnswer.md) +$MadelineProto->[messages->getBotCallbackAnswer](messages.getBotCallbackAnswer.md)(\['game' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'msg_id' => [int](../types/int.md), 'data' => [bytes](../types/bytes.md), \]) === [$messages.BotCallbackAnswer](../types/messages.BotCallbackAnswer.md) ***

-$MadelineProto->[messages->getChats](messages.getChats.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[messages->getChats](messages.getChats.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages.Chats](../types/messages.Chats.md) ***

-$MadelineProto->[messages->getCommonChats](messages.getCommonChats.md)(\['user_id' => [InputUser](../types/InputUser.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[messages->getCommonChats](messages.getCommonChats.md)(\['user_id' => [InputUser](../types/InputUser.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages.Chats](../types/messages.Chats.md) ***

-$MadelineProto->[messages->getDhConfig](messages.getDhConfig.md)(\['version' => [int](../types/int.md), 'random_length' => [int](../types/int.md), \]) === [$messages\_DhConfig](../types/messages_DhConfig.md) +$MadelineProto->[messages->getDhConfig](messages.getDhConfig.md)(\['version' => [int](../types/int.md), 'random_length' => [int](../types/int.md), \]) === [$messages.DhConfig](../types/messages.DhConfig.md) ***

-$MadelineProto->[messages->getDialogs](messages.getDialogs.md)(\['exclude_pinned' => [Bool](../types/Bool.md), 'offset_date' => [int](../types/int.md), 'offset_id' => [int](../types/int.md), 'offset_peer' => [InputPeer](../types/InputPeer.md), 'limit' => [int](../types/int.md), \]) === [$messages\_Dialogs](../types/messages_Dialogs.md) +$MadelineProto->[messages->getDialogs](messages.getDialogs.md)(\['exclude_pinned' => [Bool](../types/Bool.md), 'offset_date' => [int](../types/int.md), 'offset_id' => [int](../types/int.md), 'offset_peer' => [InputPeer](../types/InputPeer.md), 'limit' => [int](../types/int.md), \]) === [$messages.Dialogs](../types/messages.Dialogs.md) ***

@@ -618,43 +618,43 @@ $MadelineProto->[messages->getDocumentByHash](messages.getDocumentByHash.md)(\[' ***

-$MadelineProto->[messages->getFavedStickers](messages.getFavedStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages\_FavedStickers](../types/messages_FavedStickers.md) +$MadelineProto->[messages->getFavedStickers](messages.getFavedStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages.FavedStickers](../types/messages.FavedStickers.md) ***

-$MadelineProto->[messages->getFeaturedStickers](messages.getFeaturedStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages\_FeaturedStickers](../types/messages_FeaturedStickers.md) +$MadelineProto->[messages->getFeaturedStickers](messages.getFeaturedStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages.FeaturedStickers](../types/messages.FeaturedStickers.md) ***

-$MadelineProto->[messages->getFullChat](messages.getFullChat.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), \]) === [$messages\_ChatFull](../types/messages_ChatFull.md) +$MadelineProto->[messages->getFullChat](messages.getFullChat.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), \]) === [$messages.ChatFull](../types/messages.ChatFull.md) ***

-$MadelineProto->[messages->getGameHighScores](messages.getGameHighScores.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages\_HighScores](../types/messages_HighScores.md) +$MadelineProto->[messages->getGameHighScores](messages.getGameHighScores.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages.HighScores](../types/messages.HighScores.md) ***

-$MadelineProto->[messages->getHistory](messages.getHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'offset_date' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->getHistory](messages.getHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'offset_date' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[messages->getInlineBotResults](messages.getInlineBotResults.md)(\['bot' => [InputUser](../types/InputUser.md), 'peer' => [InputPeer](../types/InputPeer.md), 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'query' => [string](../types/string.md), 'offset' => [string](../types/string.md), \]) === [$messages\_BotResults](../types/messages_BotResults.md) +$MadelineProto->[messages->getInlineBotResults](messages.getInlineBotResults.md)(\['bot' => [InputUser](../types/InputUser.md), 'peer' => [InputPeer](../types/InputPeer.md), 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'query' => [string](../types/string.md), 'offset' => [string](../types/string.md), \]) === [$messages.BotResults](../types/messages.BotResults.md) ***

-$MadelineProto->[messages->getInlineGameHighScores](messages.getInlineGameHighScores.md)(\['id' => [InputBotInlineMessageID](../types/InputBotInlineMessageID.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages\_HighScores](../types/messages_HighScores.md) +$MadelineProto->[messages->getInlineGameHighScores](messages.getInlineGameHighScores.md)(\['id' => [InputBotInlineMessageID](../types/InputBotInlineMessageID.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages.HighScores](../types/messages.HighScores.md) ***

-$MadelineProto->[messages->getMaskStickers](messages.getMaskStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages\_AllStickers](../types/messages_AllStickers.md) +$MadelineProto->[messages->getMaskStickers](messages.getMaskStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages.AllStickers](../types/messages.AllStickers.md) ***

-$MadelineProto->[messages->getMessageEditData](messages.getMessageEditData.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), \]) === [$messages\_MessageEditData](../types/messages_MessageEditData.md) +$MadelineProto->[messages->getMessageEditData](messages.getMessageEditData.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), \]) === [$messages.MessageEditData](../types/messages.MessageEditData.md) ***

-$MadelineProto->[messages->getMessages](messages.getMessages.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->getMessages](messages.getMessages.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages.Messages](../types/messages.Messages.md) ***

@@ -662,7 +662,7 @@ $MadelineProto->[messages->getMessagesViews](messages.getMessagesViews.md)(\['pe ***

-$MadelineProto->[messages->getPeerDialogs](messages.getPeerDialogs.md)(\['peers' => \[[InputPeer](../types/InputPeer.md)\], \]) === [$messages\_PeerDialogs](../types/messages_PeerDialogs.md) +$MadelineProto->[messages->getPeerDialogs](messages.getPeerDialogs.md)(\['peers' => \[[InputPeer](../types/InputPeer.md)\], \]) === [$messages.PeerDialogs](../types/messages.PeerDialogs.md) ***

@@ -670,27 +670,27 @@ $MadelineProto->[messages->getPeerSettings](messages.getPeerSettings.md)(\['peer ***

-$MadelineProto->[messages->getPinnedDialogs](messages.getPinnedDialogs.md)(\[\]) === [$messages\_PeerDialogs](../types/messages_PeerDialogs.md) +$MadelineProto->[messages->getPinnedDialogs](messages.getPinnedDialogs.md)(\[\]) === [$messages.PeerDialogs](../types/messages.PeerDialogs.md) ***

-$MadelineProto->[messages->getRecentLocations](messages.getRecentLocations.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'limit' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->getRecentLocations](messages.getRecentLocations.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'limit' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[messages->getRecentStickers](messages.getRecentStickers.md)(\['attached' => [Bool](../types/Bool.md), 'hash' => [int](../types/int.md), \]) === [$messages\_RecentStickers](../types/messages_RecentStickers.md) +$MadelineProto->[messages->getRecentStickers](messages.getRecentStickers.md)(\['attached' => [Bool](../types/Bool.md), 'hash' => [int](../types/int.md), \]) === [$messages.RecentStickers](../types/messages.RecentStickers.md) ***

-$MadelineProto->[messages->getSavedGifs](messages.getSavedGifs.md)(\['hash' => [int](../types/int.md), \]) === [$messages\_SavedGifs](../types/messages_SavedGifs.md) +$MadelineProto->[messages->getSavedGifs](messages.getSavedGifs.md)(\['hash' => [int](../types/int.md), \]) === [$messages.SavedGifs](../types/messages.SavedGifs.md) ***

-$MadelineProto->[messages->getStickerSet](messages.getStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), \]) === [$messages\_StickerSet](../types/messages_StickerSet.md) +$MadelineProto->[messages->getStickerSet](messages.getStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), \]) === [$messages.StickerSet](../types/messages.StickerSet.md) ***

-$MadelineProto->[messages->getUnreadMentions](messages.getUnreadMentions.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->getUnreadMentions](messages.getUnreadMentions.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

@@ -710,7 +710,7 @@ $MadelineProto->[messages->importChatInvite](messages.importChatInvite.md)(\['ha ***

-$MadelineProto->[messages->installStickerSet](messages.installStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), 'archived' => [Bool](../types/Bool.md), \]) === [$messages\_StickerSetInstallResult](../types/messages_StickerSetInstallResult.md) +$MadelineProto->[messages->installStickerSet](messages.installStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), 'archived' => [Bool](../types/Bool.md), \]) === [$messages.StickerSetInstallResult](../types/messages.StickerSetInstallResult.md) ***

@@ -726,15 +726,15 @@ $MadelineProto->[messages->readFeaturedStickers](messages.readFeaturedStickers.m ***

-$MadelineProto->[messages->readHistory](messages.readHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), \]) === [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) +$MadelineProto->[messages->readHistory](messages.readHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), \]) === [$messages.AffectedMessages](../types/messages.AffectedMessages.md) ***

-$MadelineProto->[messages->readMentions](messages.readMentions.md)(\['peer' => [InputPeer](../types/InputPeer.md), \]) === [$messages\_AffectedHistory](../types/messages_AffectedHistory.md) +$MadelineProto->[messages->readMentions](messages.readMentions.md)(\['peer' => [InputPeer](../types/InputPeer.md), \]) === [$messages.AffectedHistory](../types/messages.AffectedHistory.md) ***

-$MadelineProto->[messages->readMessageContents](messages.readMessageContents.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) +$MadelineProto->[messages->readMessageContents](messages.readMessageContents.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages.AffectedMessages](../types/messages.AffectedMessages.md) ***

@@ -778,27 +778,27 @@ $MadelineProto->[messages->saveRecentSticker](messages.saveRecentSticker.md)(\[' ***

-$MadelineProto->[messages->search](messages.search.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'q' => [string](../types/string.md), 'from_id' => [InputUser](../types/InputUser.md), 'filter' => [MessagesFilter](../types/MessagesFilter.md), 'min_date' => [int](../types/int.md), 'max_date' => [int](../types/int.md), 'offset_id' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->search](messages.search.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'q' => [string](../types/string.md), 'from_id' => [InputUser](../types/InputUser.md), 'filter' => [MessagesFilter](../types/MessagesFilter.md), 'min_date' => [int](../types/int.md), 'max_date' => [int](../types/int.md), 'offset_id' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[messages->searchGifs](messages.searchGifs.md)(\['q' => [string](../types/string.md), 'offset' => [int](../types/int.md), \]) === [$messages\_FoundGifs](../types/messages_FoundGifs.md) +$MadelineProto->[messages->searchGifs](messages.searchGifs.md)(\['q' => [string](../types/string.md), 'offset' => [int](../types/int.md), \]) === [$messages.FoundGifs](../types/messages.FoundGifs.md) ***

-$MadelineProto->[messages->searchGlobal](messages.searchGlobal.md)(\['q' => [string](../types/string.md), 'offset_date' => [int](../types/int.md), 'offset_peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->searchGlobal](messages.searchGlobal.md)(\['q' => [string](../types/string.md), 'offset_date' => [int](../types/int.md), 'offset_peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[messages->sendEncrypted](messages.sendEncrypted.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'message' => [DecryptedMessage](../types/DecryptedMessage.md), \]) === [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +$MadelineProto->[messages->sendEncrypted](messages.sendEncrypted.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), \]) === [$messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ***

-$MadelineProto->[messages->sendEncryptedFile](messages.sendEncryptedFile.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'message' => [DecryptedMessage](../types/DecryptedMessage.md), 'file' => [InputEncryptedFile](../types/InputEncryptedFile.md), \]) === [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +$MadelineProto->[messages->sendEncryptedFile](messages.sendEncryptedFile.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), 'file' => [InputEncryptedFile](../types/InputEncryptedFile.md), \]) === [$messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ***

-$MadelineProto->[messages->sendEncryptedService](messages.sendEncryptedService.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'message' => [DecryptedMessage](../types/DecryptedMessage.md), \]) === [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +$MadelineProto->[messages->sendEncryptedService](messages.sendEncryptedService.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), \]) === [$messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ***

@@ -874,31 +874,31 @@ $MadelineProto->[payments->clearSavedInfo](payments.clearSavedInfo.md)(\['creden ***

-$MadelineProto->[payments->getPaymentForm](payments.getPaymentForm.md)(\['msg_id' => [int](../types/int.md), \]) === [$payments\_PaymentForm](../types/payments_PaymentForm.md) +$MadelineProto->[payments->getPaymentForm](payments.getPaymentForm.md)(\['msg_id' => [int](../types/int.md), \]) === [$payments.PaymentForm](../types/payments.PaymentForm.md) ***

-$MadelineProto->[payments->getPaymentReceipt](payments.getPaymentReceipt.md)(\['msg_id' => [int](../types/int.md), \]) === [$payments\_PaymentReceipt](../types/payments_PaymentReceipt.md) +$MadelineProto->[payments->getPaymentReceipt](payments.getPaymentReceipt.md)(\['msg_id' => [int](../types/int.md), \]) === [$payments.PaymentReceipt](../types/payments.PaymentReceipt.md) ***

-$MadelineProto->[payments->getSavedInfo](payments.getSavedInfo.md)(\[\]) === [$payments\_SavedInfo](../types/payments_SavedInfo.md) +$MadelineProto->[payments->getSavedInfo](payments.getSavedInfo.md)(\[\]) === [$payments.SavedInfo](../types/payments.SavedInfo.md) ***

-$MadelineProto->[payments->sendPaymentForm](payments.sendPaymentForm.md)(\['msg_id' => [int](../types/int.md), 'requested_info_id' => [string](../types/string.md), 'shipping_option_id' => [string](../types/string.md), 'credentials' => [InputPaymentCredentials](../types/InputPaymentCredentials.md), \]) === [$payments\_PaymentResult](../types/payments_PaymentResult.md) +$MadelineProto->[payments->sendPaymentForm](payments.sendPaymentForm.md)(\['msg_id' => [int](../types/int.md), 'requested_info_id' => [string](../types/string.md), 'shipping_option_id' => [string](../types/string.md), 'credentials' => [InputPaymentCredentials](../types/InputPaymentCredentials.md), \]) === [$payments.PaymentResult](../types/payments.PaymentResult.md) ***

-$MadelineProto->[payments->validateRequestedInfo](payments.validateRequestedInfo.md)(\['save' => [Bool](../types/Bool.md), 'msg_id' => [int](../types/int.md), 'info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), \]) === [$payments\_ValidatedRequestedInfo](../types/payments_ValidatedRequestedInfo.md) +$MadelineProto->[payments->validateRequestedInfo](payments.validateRequestedInfo.md)(\['save' => [Bool](../types/Bool.md), 'msg_id' => [int](../types/int.md), 'info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), \]) === [$payments.ValidatedRequestedInfo](../types/payments.ValidatedRequestedInfo.md) ***

-$MadelineProto->[phone->acceptCall](phone.acceptCall.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'g_b' => [bytes](../types/bytes.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone\_PhoneCall](../types/phone_PhoneCall.md) +$MadelineProto->[phone->acceptCall](phone.acceptCall.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'g_b' => [bytes](../types/bytes.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone.PhoneCall](../types/phone.PhoneCall.md) ***

-$MadelineProto->[phone->confirmCall](phone.confirmCall.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'g_a' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone\_PhoneCall](../types/phone_PhoneCall.md) +$MadelineProto->[phone->confirmCall](phone.confirmCall.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'g_a' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone.PhoneCall](../types/phone.PhoneCall.md) ***

@@ -914,7 +914,7 @@ $MadelineProto->[phone->receivedCall](phone.receivedCall.md)(\['peer' => [InputP ***

-$MadelineProto->[phone->requestCall](phone.requestCall.md)(\['user_id' => [InputUser](../types/InputUser.md), 'g_a_hash' => [bytes](../types/bytes.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone\_PhoneCall](../types/phone_PhoneCall.md) +$MadelineProto->[phone->requestCall](phone.requestCall.md)(\['user_id' => [InputUser](../types/InputUser.md), 'g_a_hash' => [bytes](../types/bytes.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone.PhoneCall](../types/phone.PhoneCall.md) ***

@@ -930,7 +930,7 @@ $MadelineProto->[photos->deletePhotos](photos.deletePhotos.md)(\['id' => \[[Inpu ***

-$MadelineProto->[photos->getUserPhotos](photos.getUserPhotos.md)(\['user_id' => [InputUser](../types/InputUser.md), 'offset' => [int](../types/int.md), 'max_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$photos\_Photos](../types/photos_Photos.md) +$MadelineProto->[photos->getUserPhotos](photos.getUserPhotos.md)(\['user_id' => [InputUser](../types/InputUser.md), 'offset' => [int](../types/int.md), 'max_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$photos.Photos](../types/photos.Photos.md) ***

@@ -938,7 +938,7 @@ $MadelineProto->[photos->updateProfilePhoto](photos.updateProfilePhoto.md)(\['id ***

-$MadelineProto->[photos->uploadProfilePhoto](photos.uploadProfilePhoto.md)(\['file' => [InputFile](../types/InputFile.md), \]) === [$photos\_Photo](../types/photos_Photo.md) +$MadelineProto->[photos->uploadProfilePhoto](photos.uploadProfilePhoto.md)(\['file' => [InputFile](../types/InputFile.md), \]) === [$photos.Photo](../types/photos.Photo.md) ***

@@ -962,35 +962,35 @@ $MadelineProto->[set_client_DH_params](set_client_DH_params.md)(\['nonce' => [in ***

-$MadelineProto->[stickers->addStickerToSet](stickers.addStickerToSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), 'sticker' => [InputStickerSetItem](../types/InputStickerSetItem.md), \]) === [$messages\_StickerSet](../types/messages_StickerSet.md) +$MadelineProto->[stickers->addStickerToSet](stickers.addStickerToSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), 'sticker' => [InputStickerSetItem](../types/InputStickerSetItem.md), \]) === [$messages.StickerSet](../types/messages.StickerSet.md) ***

-$MadelineProto->[stickers->changeStickerPosition](stickers.changeStickerPosition.md)(\['sticker' => [InputDocument](../types/InputDocument.md), 'position' => [int](../types/int.md), \]) === [$messages\_StickerSet](../types/messages_StickerSet.md) +$MadelineProto->[stickers->changeStickerPosition](stickers.changeStickerPosition.md)(\['sticker' => [InputDocument](../types/InputDocument.md), 'position' => [int](../types/int.md), \]) === [$messages.StickerSet](../types/messages.StickerSet.md) ***

-$MadelineProto->[stickers->createStickerSet](stickers.createStickerSet.md)(\['masks' => [Bool](../types/Bool.md), 'user_id' => [InputUser](../types/InputUser.md), 'title' => [string](../types/string.md), 'short_name' => [string](../types/string.md), 'stickers' => \[[InputStickerSetItem](../types/InputStickerSetItem.md)\], \]) === [$messages\_StickerSet](../types/messages_StickerSet.md) +$MadelineProto->[stickers->createStickerSet](stickers.createStickerSet.md)(\['masks' => [Bool](../types/Bool.md), 'user_id' => [InputUser](../types/InputUser.md), 'title' => [string](../types/string.md), 'short_name' => [string](../types/string.md), 'stickers' => \[[InputStickerSetItem](../types/InputStickerSetItem.md)\], \]) === [$messages.StickerSet](../types/messages.StickerSet.md) ***

-$MadelineProto->[stickers->removeStickerFromSet](stickers.removeStickerFromSet.md)(\['sticker' => [InputDocument](../types/InputDocument.md), \]) === [$messages\_StickerSet](../types/messages_StickerSet.md) +$MadelineProto->[stickers->removeStickerFromSet](stickers.removeStickerFromSet.md)(\['sticker' => [InputDocument](../types/InputDocument.md), \]) === [$messages.StickerSet](../types/messages.StickerSet.md) ***

-$MadelineProto->[updates->getChannelDifference](updates.getChannelDifference.md)(\['force' => [Bool](../types/Bool.md), 'channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$updates\_ChannelDifference](../types/updates_ChannelDifference.md) +$MadelineProto->[updates->getChannelDifference](updates.getChannelDifference.md)(\['force' => [Bool](../types/Bool.md), 'channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$updates.ChannelDifference](../types/updates.ChannelDifference.md) ***

-$MadelineProto->[updates->getDifference](updates.getDifference.md)(\['pts' => [int](../types/int.md), 'pts_total_limit' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) === [$updates\_Difference](../types/updates_Difference.md) +$MadelineProto->[updates->getDifference](updates.getDifference.md)(\['pts' => [int](../types/int.md), 'pts_total_limit' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) === [$updates.Difference](../types/updates.Difference.md) ***

-$MadelineProto->[updates->getState](updates.getState.md)(\[\]) === [$updates\_State](../types/updates_State.md) +$MadelineProto->[updates->getState](updates.getState.md)(\[\]) === [$updates.State](../types/updates.State.md) ***

-$MadelineProto->[upload->getCdnFile](upload.getCdnFile.md)(\['file_token' => [bytes](../types/bytes.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_CdnFile](../types/upload_CdnFile.md) +$MadelineProto->[upload->getCdnFile](upload.getCdnFile.md)(\['file_token' => [bytes](../types/bytes.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload.CdnFile](../types/upload.CdnFile.md) ***

@@ -998,11 +998,11 @@ $MadelineProto->[upload->getCdnFileHashes](upload.getCdnFileHashes.md)(\['file_t ***

-$MadelineProto->[upload->getFile](upload.getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_File](../types/upload_File.md) +$MadelineProto->[upload->getFile](upload.getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload.File](../types/upload.File.md) ***

-$MadelineProto->[upload->getWebFile](upload.getWebFile.md)(\['location' => [InputWebFileLocation](../types/InputWebFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_WebFile](../types/upload_WebFile.md) +$MadelineProto->[upload->getWebFile](upload.getWebFile.md)(\['location' => [InputWebFileLocation](../types/InputWebFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload.WebFile](../types/upload.WebFile.md) ***

diff --git a/old_docs/API_docs_v72/methods/auth.checkPassword.md b/old_docs/API_docs_v72/methods/auth.checkPassword.md index db65cb56..eeeed171 100644 --- a/old_docs/API_docs_v72/methods/auth.checkPassword.md +++ b/old_docs/API_docs_v72/methods/auth.checkPassword.md @@ -16,7 +16,7 @@ You cannot use this method directly, use the complete_2fa_login method instead ( |password\_hash|[bytes](../types/bytes.md) | You cannot use this method directly, use the complete_2fa_login method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->checkPassword(['password_hash' => 'bytes', ]); +$auth.Authorization = $MadelineProto->auth->checkPassword(['password_hash' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.checkPassword({password_hash='bytes', }) +auth.Authorization = auth.checkPassword({password_hash='bytes', }) ``` ### Errors diff --git a/old_docs/API_docs_v72/methods/auth.checkPhone.md b/old_docs/API_docs_v72/methods/auth.checkPhone.md index 227358cb..51d4cba6 100644 --- a/old_docs/API_docs_v72/methods/auth.checkPhone.md +++ b/old_docs/API_docs_v72/methods/auth.checkPhone.md @@ -16,7 +16,7 @@ Check if this phone number is registered on telegram |phone\_number|[string](../types/string.md) | The phone number to check | Yes| -### Return type: [auth\_CheckedPhone](../types/auth_CheckedPhone.md) +### Return type: [auth.CheckedPhone](../types/auth.CheckedPhone.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => 'string', ]); +$auth.CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_CheckedPhone = auth.checkPhone({phone_number='string', }) +auth.CheckedPhone = auth.checkPhone({phone_number='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v72/methods/auth.exportAuthorization.md b/old_docs/API_docs_v72/methods/auth.exportAuthorization.md index 72063a2b..41a1f87d 100644 --- a/old_docs/API_docs_v72/methods/auth.exportAuthorization.md +++ b/old_docs/API_docs_v72/methods/auth.exportAuthorization.md @@ -16,7 +16,7 @@ You cannot use this method directly, use $MadelineProto->exportAuthorization() i |dc\_id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| -### Return type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) +### Return type: [auth.ExportedAuthorization](../types/auth.ExportedAuthorization.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_ExportedAuthorization = $MadelineProto->auth->exportAuthorization(['dc_id' => int, ]); +$auth.ExportedAuthorization = $MadelineProto->auth->exportAuthorization(['dc_id' => int, ]); ``` Or, if you're into Lua: ```lua -auth_ExportedAuthorization = auth.exportAuthorization({dc_id=int, }) +auth.ExportedAuthorization = auth.exportAuthorization({dc_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v72/methods/auth.importAuthorization.md b/old_docs/API_docs_v72/methods/auth.importAuthorization.md index d9c13751..5257e0b0 100644 --- a/old_docs/API_docs_v72/methods/auth.importAuthorization.md +++ b/old_docs/API_docs_v72/methods/auth.importAuthorization.md @@ -17,7 +17,7 @@ You cannot use this method directly, use $MadelineProto->importAuthorization($au |bytes|[bytes](../types/bytes.md) | You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => 'bytes', ]); +$auth.Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.importAuthorization({id=int, bytes='bytes', }) +auth.Authorization = auth.importAuthorization({id=int, bytes='bytes', }) ``` ### Errors diff --git a/old_docs/API_docs_v72/methods/auth.importBotAuthorization.md b/old_docs/API_docs_v72/methods/auth.importBotAuthorization.md index 3161d6be..a4ea8027 100644 --- a/old_docs/API_docs_v72/methods/auth.importBotAuthorization.md +++ b/old_docs/API_docs_v72/methods/auth.importBotAuthorization.md @@ -18,7 +18,7 @@ You cannot use this method directly, use the botLogin method instead (see https: |bot\_auth\_token|[string](../types/string.md) | You cannot use this method directly, use the botLogin method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **YES** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->importBotAuthorization(['api_id' => int, 'api_hash' => 'string', 'bot_auth_token' => 'string', ]); +$auth.Authorization = $MadelineProto->auth->importBotAuthorization(['api_id' => int, 'api_hash' => 'string', 'bot_auth_token' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.importBotAuthorization({api_id=int, api_hash='string', bot_auth_token='string', }) +auth.Authorization = auth.importBotAuthorization({api_id=int, api_hash='string', bot_auth_token='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v72/methods/auth.recoverPassword.md b/old_docs/API_docs_v72/methods/auth.recoverPassword.md index f7cbf4a4..2e78444b 100644 --- a/old_docs/API_docs_v72/methods/auth.recoverPassword.md +++ b/old_docs/API_docs_v72/methods/auth.recoverPassword.md @@ -16,7 +16,7 @@ Reset the [2FA password](https://core.telegram.org/api/srp) using the recovery c |code|[string](../types/string.md) | Code received via email | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->recoverPassword(['code' => 'string', ]); +$auth.Authorization = $MadelineProto->auth->recoverPassword(['code' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.recoverPassword({code='string', }) +auth.Authorization = auth.recoverPassword({code='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v72/methods/auth.requestPasswordRecovery.md b/old_docs/API_docs_v72/methods/auth.requestPasswordRecovery.md index 5cd77936..ff1ecc02 100644 --- a/old_docs/API_docs_v72/methods/auth.requestPasswordRecovery.md +++ b/old_docs/API_docs_v72/methods/auth.requestPasswordRecovery.md @@ -11,7 +11,7 @@ Request recovery code of a [2FA password](https://core.telegram.org/api/srp), on -### Return type: [auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) +### Return type: [auth.PasswordRecovery](../types/auth.PasswordRecovery.md) ### Can bots use this method: **NO** @@ -28,13 +28,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_PasswordRecovery = $MadelineProto->auth->requestPasswordRecovery(); +$auth.PasswordRecovery = $MadelineProto->auth->requestPasswordRecovery(); ``` Or, if you're into Lua: ```lua -auth_PasswordRecovery = auth.requestPasswordRecovery({}) +auth.PasswordRecovery = auth.requestPasswordRecovery({}) ``` ### Errors diff --git a/old_docs/API_docs_v72/methods/auth.resendCode.md b/old_docs/API_docs_v72/methods/auth.resendCode.md index a395a91b..f59f1b7b 100644 --- a/old_docs/API_docs_v72/methods/auth.resendCode.md +++ b/old_docs/API_docs_v72/methods/auth.resendCode.md @@ -17,7 +17,7 @@ Resend the login code via another medium, the phone code type is determined by t |phone\_code\_hash|[string](../types/string.md) | The phone code hash obtained from [auth.sendCode](../methods/auth.sendCode.md) | Yes| -### Return type: [auth\_SentCode](../types/auth_SentCode.md) +### Return type: [auth.SentCode](../types/auth.SentCode.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_SentCode = $MadelineProto->auth->resendCode(['phone_number' => 'string', 'phone_code_hash' => 'string', ]); +$auth.SentCode = $MadelineProto->auth->resendCode(['phone_number' => 'string', 'phone_code_hash' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_SentCode = auth.resendCode({phone_number='string', phone_code_hash='string', }) +auth.SentCode = auth.resendCode({phone_number='string', phone_code_hash='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v72/methods/auth.sendCode.md b/old_docs/API_docs_v72/methods/auth.sendCode.md index bd922a48..0c818fbb 100644 --- a/old_docs/API_docs_v72/methods/auth.sendCode.md +++ b/old_docs/API_docs_v72/methods/auth.sendCode.md @@ -20,7 +20,7 @@ You cannot use this method directly, use the phoneLogin method instead (see http |api\_hash|[string](../types/string.md) | You cannot use this method directly, use the phoneLogin method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_SentCode](../types/auth_SentCode.md) +### Return type: [auth.SentCode](../types/auth.SentCode.md) ### Can bots use this method: **NO** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_SentCode = $MadelineProto->auth->sendCode(['allow_flashcall' => Bool, 'phone_number' => 'string', 'current_number' => Bool, 'api_id' => int, 'api_hash' => 'string', ]); +$auth.SentCode = $MadelineProto->auth->sendCode(['allow_flashcall' => Bool, 'phone_number' => 'string', 'current_number' => Bool, 'api_id' => int, 'api_hash' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_SentCode = auth.sendCode({allow_flashcall=Bool, phone_number='string', current_number=Bool, api_id=int, api_hash='string', }) +auth.SentCode = auth.sendCode({allow_flashcall=Bool, phone_number='string', current_number=Bool, api_id=int, api_hash='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v72/methods/auth.signIn.md b/old_docs/API_docs_v72/methods/auth.signIn.md index 54812a2e..95b14f32 100644 --- a/old_docs/API_docs_v72/methods/auth.signIn.md +++ b/old_docs/API_docs_v72/methods/auth.signIn.md @@ -18,7 +18,7 @@ You cannot use this method directly, use the completePhoneLogin method instead ( |phone\_code|[string](../types/string.md) | You cannot use this method directly, use the completePhoneLogin method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->signIn(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', ]); +$auth.Authorization = $MadelineProto->auth->signIn(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.signIn({phone_number='string', phone_code_hash='string', phone_code='string', }) +auth.Authorization = auth.signIn({phone_number='string', phone_code_hash='string', phone_code='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v72/methods/auth.signUp.md b/old_docs/API_docs_v72/methods/auth.signUp.md index 2aca2bfa..fdb5d628 100644 --- a/old_docs/API_docs_v72/methods/auth.signUp.md +++ b/old_docs/API_docs_v72/methods/auth.signUp.md @@ -20,7 +20,7 @@ You cannot use this method directly, use the completeSignup method instead (see |last\_name|[string](../types/string.md) | You cannot use this method directly, use the completeSignup method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **NO** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->signUp(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', 'first_name' => 'string', 'last_name' => 'string', ]); +$auth.Authorization = $MadelineProto->auth->signUp(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', 'first_name' => 'string', 'last_name' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.signUp({phone_number='string', phone_code_hash='string', phone_code='string', first_name='string', last_name='string', }) +auth.Authorization = auth.signUp({phone_number='string', phone_code_hash='string', phone_code='string', first_name='string', last_name='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v72/methods/channels.deleteMessages.md b/old_docs/API_docs_v72/methods/channels.deleteMessages.md index 10a439fb..8583e560 100644 --- a/old_docs/API_docs_v72/methods/channels.deleteMessages.md +++ b/old_docs/API_docs_v72/methods/channels.deleteMessages.md @@ -17,7 +17,7 @@ Delete messages in a [channel/supergroup](https://core.telegram.org/api/channel) |id|Array of [int](../types/int.md) | The IDs of messages to delete | Yes| -### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) +### Return type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedMessages = $MadelineProto->channels->deleteMessages(['channel' => InputChannel, 'id' => [int, int], ]); +$messages.AffectedMessages = $MadelineProto->channels->deleteMessages(['channel' => InputChannel, 'id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AffectedMessages = channels.deleteMessages({channel=InputChannel, id={int}, }) +messages.AffectedMessages = channels.deleteMessages({channel=InputChannel, id={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v72/methods/channels.deleteUserHistory.md b/old_docs/API_docs_v72/methods/channels.deleteUserHistory.md index 9b8b159f..6ccaf7dd 100644 --- a/old_docs/API_docs_v72/methods/channels.deleteUserHistory.md +++ b/old_docs/API_docs_v72/methods/channels.deleteUserHistory.md @@ -17,7 +17,7 @@ Delete all messages sent by a certain user in a [supergroup](https://core.telegr |user\_id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | User whose messages should be deleted | Optional| -### Return type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) +### Return type: [messages.AffectedHistory](../types/messages.AffectedHistory.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedHistory = $MadelineProto->channels->deleteUserHistory(['channel' => InputChannel, 'user_id' => InputUser, ]); +$messages.AffectedHistory = $MadelineProto->channels->deleteUserHistory(['channel' => InputChannel, 'user_id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -messages_AffectedHistory = channels.deleteUserHistory({channel=InputChannel, user_id=InputUser, }) +messages.AffectedHistory = channels.deleteUserHistory({channel=InputChannel, user_id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v72/methods/channels.getAdminLog.md b/old_docs/API_docs_v72/methods/channels.getAdminLog.md index e149f653..3b550a73 100644 --- a/old_docs/API_docs_v72/methods/channels.getAdminLog.md +++ b/old_docs/API_docs_v72/methods/channels.getAdminLog.md @@ -22,7 +22,7 @@ Get the admin log of a [channel/supergroup](https://core.telegram.org/api/channe |limit|[int](../types/int.md) | Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets) | Yes| -### Return type: [channels\_AdminLogResults](../types/channels_AdminLogResults.md) +### Return type: [channels.AdminLogResults](../types/channels.AdminLogResults.md) ### Can bots use this method: **NO** @@ -39,13 +39,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$channels_AdminLogResults = $MadelineProto->channels->getAdminLog(['channel' => InputChannel, 'q' => 'string', 'events_filter' => ChannelAdminLogEventsFilter, 'admins' => [InputUser, InputUser], 'max_id' => long, 'min_id' => long, 'limit' => int, ]); +$channels.AdminLogResults = $MadelineProto->channels->getAdminLog(['channel' => InputChannel, 'q' => 'string', 'events_filter' => ChannelAdminLogEventsFilter, 'admins' => [InputUser, InputUser], 'max_id' => long, 'min_id' => long, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -channels_AdminLogResults = channels.getAdminLog({channel=InputChannel, q='string', events_filter=ChannelAdminLogEventsFilter, admins={InputUser}, max_id=long, min_id=long, limit=int, }) +channels.AdminLogResults = channels.getAdminLog({channel=InputChannel, q='string', events_filter=ChannelAdminLogEventsFilter, admins={InputUser}, max_id=long, min_id=long, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v72/methods/channels.getAdminedPublicChannels.md b/old_docs/API_docs_v72/methods/channels.getAdminedPublicChannels.md index 55a686ca..eb277404 100644 --- a/old_docs/API_docs_v72/methods/channels.getAdminedPublicChannels.md +++ b/old_docs/API_docs_v72/methods/channels.getAdminedPublicChannels.md @@ -11,7 +11,7 @@ Get [channels/supergroups/geogroups](https://core.telegram.org/api/channel) we'r -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->channels->getAdminedPublicChannels(); +$messages.Chats = $MadelineProto->channels->getAdminedPublicChannels(); ``` Or, if you're into Lua: ```lua -messages_Chats = channels.getAdminedPublicChannels({}) +messages.Chats = channels.getAdminedPublicChannels({}) ``` diff --git a/old_docs/API_docs_v72/methods/channels.getChannels.md b/old_docs/API_docs_v72/methods/channels.getChannels.md index 368c96ce..ed9cf4a7 100644 --- a/old_docs/API_docs_v72/methods/channels.getChannels.md +++ b/old_docs/API_docs_v72/methods/channels.getChannels.md @@ -16,7 +16,7 @@ Get info about [channels/supergroups](https://core.telegram.org/api/channel) |id|Array of [Username, chat ID, Update, Message or InputChannel](../types/InputChannel.md) | The channel/supergroup MTProto IDs | Yes| -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->channels->getChannels(['id' => [InputChannel, InputChannel], ]); +$messages.Chats = $MadelineProto->channels->getChannels(['id' => [InputChannel, InputChannel], ]); ``` Or, if you're into Lua: ```lua -messages_Chats = channels.getChannels({id={InputChannel}, }) +messages.Chats = channels.getChannels({id={InputChannel}, }) ``` ### Errors diff --git a/old_docs/API_docs_v72/methods/channels.getFullChannel.md b/old_docs/API_docs_v72/methods/channels.getFullChannel.md index 08dc21bb..1369e0a0 100644 --- a/old_docs/API_docs_v72/methods/channels.getFullChannel.md +++ b/old_docs/API_docs_v72/methods/channels.getFullChannel.md @@ -16,7 +16,7 @@ You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo me |channel|[Username, chat ID, Update, Message or InputChannel](../types/InputChannel.md) | You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo methods instead (see https://docs.madelineproto.xyz for more info) | Optional| -### Return type: [messages\_ChatFull](../types/messages_ChatFull.md) +### Return type: [messages.ChatFull](../types/messages.ChatFull.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_ChatFull = $MadelineProto->channels->getFullChannel(['channel' => InputChannel, ]); +$messages.ChatFull = $MadelineProto->channels->getFullChannel(['channel' => InputChannel, ]); ``` Or, if you're into Lua: ```lua -messages_ChatFull = channels.getFullChannel({channel=InputChannel, }) +messages.ChatFull = channels.getFullChannel({channel=InputChannel, }) ``` ### Errors diff --git a/old_docs/API_docs_v72/methods/channels.getMessages.md b/old_docs/API_docs_v72/methods/channels.getMessages.md index 379e0e9d..5023ea1a 100644 --- a/old_docs/API_docs_v72/methods/channels.getMessages.md +++ b/old_docs/API_docs_v72/methods/channels.getMessages.md @@ -17,7 +17,7 @@ Get [channel/supergroup](https://core.telegram.org/api/channel) messages |id|Array of [int](../types/int.md) | The message IDs | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->channels->getMessages(['channel' => InputChannel, 'id' => [int, int], ]); +$messages.Messages = $MadelineProto->channels->getMessages(['channel' => InputChannel, 'id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Messages = channels.getMessages({channel=InputChannel, id={int}, }) +messages.Messages = channels.getMessages({channel=InputChannel, id={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v72/methods/channels.getParticipant.md b/old_docs/API_docs_v72/methods/channels.getParticipant.md index aa2ce655..cf6a7771 100644 --- a/old_docs/API_docs_v72/methods/channels.getParticipant.md +++ b/old_docs/API_docs_v72/methods/channels.getParticipant.md @@ -17,7 +17,7 @@ Get info about a [channel/supergroup](https://core.telegram.org/api/channel) par |user\_id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | ID of participant to get info about | Optional| -### Return type: [channels\_ChannelParticipant](../types/channels_ChannelParticipant.md) +### Return type: [channels.ChannelParticipant](../types/channels.ChannelParticipant.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$channels_ChannelParticipant = $MadelineProto->channels->getParticipant(['channel' => InputChannel, 'user_id' => InputUser, ]); +$channels.ChannelParticipant = $MadelineProto->channels->getParticipant(['channel' => InputChannel, 'user_id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -channels_ChannelParticipant = channels.getParticipant({channel=InputChannel, user_id=InputUser, }) +channels.ChannelParticipant = channels.getParticipant({channel=InputChannel, user_id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v72/methods/channels.getParticipants.md b/old_docs/API_docs_v72/methods/channels.getParticipants.md index dd7e0087..c6b15b63 100644 --- a/old_docs/API_docs_v72/methods/channels.getParticipants.md +++ b/old_docs/API_docs_v72/methods/channels.getParticipants.md @@ -20,7 +20,7 @@ Get the participants of a channel |hash|Array of [int](../types/int.md) | IDs of previously fetched participants | Optional| -### Return type: [channels\_ChannelParticipants](../types/channels_ChannelParticipants.md) +### Return type: [channels.ChannelParticipants](../types/channels.ChannelParticipants.md) ### Can bots use this method: **YES** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$channels_ChannelParticipants = $MadelineProto->channels->getParticipants(['channel' => InputChannel, 'filter' => ChannelParticipantsFilter, 'offset' => int, 'limit' => int, 'hash' => [int, int], ]); +$channels.ChannelParticipants = $MadelineProto->channels->getParticipants(['channel' => InputChannel, 'filter' => ChannelParticipantsFilter, 'offset' => int, 'limit' => int, 'hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -channels_ChannelParticipants = channels.getParticipants({channel=InputChannel, filter=ChannelParticipantsFilter, offset=int, limit=int, hash={int}, }) +channels.ChannelParticipants = channels.getParticipants({channel=InputChannel, filter=ChannelParticipantsFilter, offset=int, limit=int, hash={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v72/methods/contacts.deleteContact.md b/old_docs/API_docs_v72/methods/contacts.deleteContact.md index a9321d64..9169e1e0 100644 --- a/old_docs/API_docs_v72/methods/contacts.deleteContact.md +++ b/old_docs/API_docs_v72/methods/contacts.deleteContact.md @@ -16,7 +16,7 @@ Delete a contact |id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | The contact to delete | Optional| -### Return type: [contacts\_Link](../types/contacts_Link.md) +### Return type: [contacts.Link](../types/contacts.Link.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Link = $MadelineProto->contacts->deleteContact(['id' => InputUser, ]); +$contacts.Link = $MadelineProto->contacts->deleteContact(['id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -contacts_Link = contacts.deleteContact({id=InputUser, }) +contacts.Link = contacts.deleteContact({id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v72/methods/contacts.getBlocked.md b/old_docs/API_docs_v72/methods/contacts.getBlocked.md index 92f2f331..6ac1c343 100644 --- a/old_docs/API_docs_v72/methods/contacts.getBlocked.md +++ b/old_docs/API_docs_v72/methods/contacts.getBlocked.md @@ -17,7 +17,7 @@ Returns the list of blocked users. |limit|[int](../types/int.md) | The number of list elements to be returned | Yes| -### Return type: [contacts\_Blocked](../types/contacts_Blocked.md) +### Return type: [contacts.Blocked](../types/contacts.Blocked.md) ### Can bots use this method: **NO** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Blocked = $MadelineProto->contacts->getBlocked(['offset' => int, 'limit' => int, ]); +$contacts.Blocked = $MadelineProto->contacts->getBlocked(['offset' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -contacts_Blocked = contacts.getBlocked({offset=int, limit=int, }) +contacts.Blocked = contacts.getBlocked({offset=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v72/methods/contacts.getContacts.md b/old_docs/API_docs_v72/methods/contacts.getContacts.md index c67e6240..609549b0 100644 --- a/old_docs/API_docs_v72/methods/contacts.getContacts.md +++ b/old_docs/API_docs_v72/methods/contacts.getContacts.md @@ -16,7 +16,7 @@ Returns the current user's contact list. |hash|Array of [int](../types/int.md) | User IDs of previously cached contacts | Optional| -### Return type: [contacts\_Contacts](../types/contacts_Contacts.md) +### Return type: [contacts.Contacts](../types/contacts.Contacts.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Contacts = $MadelineProto->contacts->getContacts(['hash' => [int, int], ]); +$contacts.Contacts = $MadelineProto->contacts->getContacts(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -contacts_Contacts = contacts.getContacts({hash={int}, }) +contacts.Contacts = contacts.getContacts({hash={int}, }) ``` diff --git a/old_docs/API_docs_v72/methods/contacts.getTopPeers.md b/old_docs/API_docs_v72/methods/contacts.getTopPeers.md index 0acf7155..870de6b3 100644 --- a/old_docs/API_docs_v72/methods/contacts.getTopPeers.md +++ b/old_docs/API_docs_v72/methods/contacts.getTopPeers.md @@ -24,7 +24,7 @@ Get most used peers |hash|Array of [int](../types/int.md) | Peer IDs of previously cached peers | Optional| -### Return type: [contacts\_TopPeers](../types/contacts_TopPeers.md) +### Return type: [contacts.TopPeers](../types/contacts.TopPeers.md) ### Can bots use this method: **NO** @@ -41,13 +41,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_TopPeers = $MadelineProto->contacts->getTopPeers(['correspondents' => Bool, 'bots_pm' => Bool, 'bots_inline' => Bool, 'phone_calls' => Bool, 'groups' => Bool, 'channels' => Bool, 'offset' => int, 'limit' => int, 'hash' => [int, int], ]); +$contacts.TopPeers = $MadelineProto->contacts->getTopPeers(['correspondents' => Bool, 'bots_pm' => Bool, 'bots_inline' => Bool, 'phone_calls' => Bool, 'groups' => Bool, 'channels' => Bool, 'offset' => int, 'limit' => int, 'hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -contacts_TopPeers = contacts.getTopPeers({correspondents=Bool, bots_pm=Bool, bots_inline=Bool, phone_calls=Bool, groups=Bool, channels=Bool, offset=int, limit=int, hash={int}, }) +contacts.TopPeers = contacts.getTopPeers({correspondents=Bool, bots_pm=Bool, bots_inline=Bool, phone_calls=Bool, groups=Bool, channels=Bool, offset=int, limit=int, hash={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v72/methods/contacts.importContacts.md b/old_docs/API_docs_v72/methods/contacts.importContacts.md index 7c795780..dbb9b7fa 100644 --- a/old_docs/API_docs_v72/methods/contacts.importContacts.md +++ b/old_docs/API_docs_v72/methods/contacts.importContacts.md @@ -16,7 +16,7 @@ Imports contacts: saves a full list on the server, adds already registered conta |contacts|Array of [InputContact](../types/InputContact.md) | The numbers to import | Yes| -### Return type: [contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) +### Return type: [contacts.ImportedContacts](../types/contacts.ImportedContacts.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_ImportedContacts = $MadelineProto->contacts->importContacts(['contacts' => [InputContact, InputContact], ]); +$contacts.ImportedContacts = $MadelineProto->contacts->importContacts(['contacts' => [InputContact, InputContact], ]); ``` Or, if you're into Lua: ```lua -contacts_ImportedContacts = contacts.importContacts({contacts={InputContact}, }) +contacts.ImportedContacts = contacts.importContacts({contacts={InputContact}, }) ``` diff --git a/old_docs/API_docs_v72/methods/contacts.resolveUsername.md b/old_docs/API_docs_v72/methods/contacts.resolveUsername.md index 05e3d854..46f1eb50 100644 --- a/old_docs/API_docs_v72/methods/contacts.resolveUsername.md +++ b/old_docs/API_docs_v72/methods/contacts.resolveUsername.md @@ -16,7 +16,7 @@ You cannot use this method directly, use the resolveUsername, getPwrChat, getInf |username|[string](../types/string.md) | You cannot use this method directly, use the resolveUsername, getPwrChat, getInfo, getFullInfo methods instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [contacts\_ResolvedPeer](../types/contacts_ResolvedPeer.md) +### Return type: [contacts.ResolvedPeer](../types/contacts.ResolvedPeer.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_ResolvedPeer = $MadelineProto->contacts->resolveUsername(['username' => 'string', ]); +$contacts.ResolvedPeer = $MadelineProto->contacts->resolveUsername(['username' => 'string', ]); ``` Or, if you're into Lua: ```lua -contacts_ResolvedPeer = contacts.resolveUsername({username='string', }) +contacts.ResolvedPeer = contacts.resolveUsername({username='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v72/methods/contacts.search.md b/old_docs/API_docs_v72/methods/contacts.search.md index 2f39d6f1..ec04c7f9 100644 --- a/old_docs/API_docs_v72/methods/contacts.search.md +++ b/old_docs/API_docs_v72/methods/contacts.search.md @@ -17,7 +17,7 @@ Returns users found by username substring. |limit|[int](../types/int.md) | Maximum number of users to be returned | Yes| -### Return type: [contacts\_Found](../types/contacts_Found.md) +### Return type: [contacts.Found](../types/contacts.Found.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Found = $MadelineProto->contacts->search(['q' => 'string', 'limit' => int, ]); +$contacts.Found = $MadelineProto->contacts->search(['q' => 'string', 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -contacts_Found = contacts.search({q='string', limit=int, }) +contacts.Found = contacts.search({q='string', limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v72/methods/help.getAppUpdate.md b/old_docs/API_docs_v72/methods/help.getAppUpdate.md index 4c58e898..b9899d71 100644 --- a/old_docs/API_docs_v72/methods/help.getAppUpdate.md +++ b/old_docs/API_docs_v72/methods/help.getAppUpdate.md @@ -11,7 +11,7 @@ Returns information on update availability for the current application. -### Return type: [help\_AppUpdate](../types/help_AppUpdate.md) +### Return type: [help.AppUpdate](../types/help.AppUpdate.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_AppUpdate = $MadelineProto->help->getAppUpdate(); +$help.AppUpdate = $MadelineProto->help->getAppUpdate(); ``` Or, if you're into Lua: ```lua -help_AppUpdate = help.getAppUpdate({}) +help.AppUpdate = help.getAppUpdate({}) ``` diff --git a/old_docs/API_docs_v72/methods/help.getInviteText.md b/old_docs/API_docs_v72/methods/help.getInviteText.md index 6fd67362..0d427974 100644 --- a/old_docs/API_docs_v72/methods/help.getInviteText.md +++ b/old_docs/API_docs_v72/methods/help.getInviteText.md @@ -11,7 +11,7 @@ Returns text of a text message with an invitation. -### Return type: [help\_InviteText](../types/help_InviteText.md) +### Return type: [help.InviteText](../types/help.InviteText.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_InviteText = $MadelineProto->help->getInviteText(); +$help.InviteText = $MadelineProto->help->getInviteText(); ``` Or, if you're into Lua: ```lua -help_InviteText = help.getInviteText({}) +help.InviteText = help.getInviteText({}) ``` diff --git a/old_docs/API_docs_v72/methods/help.getRecentMeUrls.md b/old_docs/API_docs_v72/methods/help.getRecentMeUrls.md index 38cc44c8..a5ab9e06 100644 --- a/old_docs/API_docs_v72/methods/help.getRecentMeUrls.md +++ b/old_docs/API_docs_v72/methods/help.getRecentMeUrls.md @@ -16,7 +16,7 @@ Get recently used `t.me` links |referer|[string](../types/string.md) | Referer | Yes| -### Return type: [help\_RecentMeUrls](../types/help_RecentMeUrls.md) +### Return type: [help.RecentMeUrls](../types/help.RecentMeUrls.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_RecentMeUrls = $MadelineProto->help->getRecentMeUrls(['referer' => 'string', ]); +$help.RecentMeUrls = $MadelineProto->help->getRecentMeUrls(['referer' => 'string', ]); ``` Or, if you're into Lua: ```lua -help_RecentMeUrls = help.getRecentMeUrls({referer='string', }) +help.RecentMeUrls = help.getRecentMeUrls({referer='string', }) ``` diff --git a/old_docs/API_docs_v72/methods/help.getSupport.md b/old_docs/API_docs_v72/methods/help.getSupport.md index 7a577892..8a8df916 100644 --- a/old_docs/API_docs_v72/methods/help.getSupport.md +++ b/old_docs/API_docs_v72/methods/help.getSupport.md @@ -11,7 +11,7 @@ Returns the support user for the 'ask a question' feature. -### Return type: [help\_Support](../types/help_Support.md) +### Return type: [help.Support](../types/help.Support.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_Support = $MadelineProto->help->getSupport(); +$help.Support = $MadelineProto->help->getSupport(); ``` Or, if you're into Lua: ```lua -help_Support = help.getSupport({}) +help.Support = help.getSupport({}) ``` diff --git a/old_docs/API_docs_v72/methods/help.getTermsOfService.md b/old_docs/API_docs_v72/methods/help.getTermsOfService.md index f6226458..9f9b28f9 100644 --- a/old_docs/API_docs_v72/methods/help.getTermsOfService.md +++ b/old_docs/API_docs_v72/methods/help.getTermsOfService.md @@ -11,7 +11,7 @@ Get terms of service -### Return type: [help\_TermsOfService](../types/help_TermsOfService.md) +### Return type: [help.TermsOfService](../types/help.TermsOfService.md) ### Can bots use this method: **YES** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_TermsOfService = $MadelineProto->help->getTermsOfService(); +$help.TermsOfService = $MadelineProto->help->getTermsOfService(); ``` Or, if you're into Lua: ```lua -help_TermsOfService = help.getTermsOfService({}) +help.TermsOfService = help.getTermsOfService({}) ``` diff --git a/old_docs/API_docs_v72/methods/messages.deleteHistory.md b/old_docs/API_docs_v72/methods/messages.deleteHistory.md index 9ae1bae9..41460415 100644 --- a/old_docs/API_docs_v72/methods/messages.deleteHistory.md +++ b/old_docs/API_docs_v72/methods/messages.deleteHistory.md @@ -18,7 +18,7 @@ Deletes communication history. |max\_id|[int](../types/int.md) | Maximum ID of message to delete | Yes| -### Return type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) +### Return type: [messages.AffectedHistory](../types/messages.AffectedHistory.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedHistory = $MadelineProto->messages->deleteHistory(['just_clear' => Bool, 'peer' => InputPeer, 'max_id' => int, ]); +$messages.AffectedHistory = $MadelineProto->messages->deleteHistory(['just_clear' => Bool, 'peer' => InputPeer, 'max_id' => int, ]); ``` Or, if you're into Lua: ```lua -messages_AffectedHistory = messages.deleteHistory({just_clear=Bool, peer=InputPeer, max_id=int, }) +messages.AffectedHistory = messages.deleteHistory({just_clear=Bool, peer=InputPeer, max_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v72/methods/messages.deleteMessages.md b/old_docs/API_docs_v72/methods/messages.deleteMessages.md index ade04cae..ade96e60 100644 --- a/old_docs/API_docs_v72/methods/messages.deleteMessages.md +++ b/old_docs/API_docs_v72/methods/messages.deleteMessages.md @@ -17,7 +17,7 @@ Deletes messages by their identifiers. |id|Array of [int](../types/int.md) | IDs of messages to delete, use channels->deleteMessages for supergroups | Yes| -### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) +### Return type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedMessages = $MadelineProto->messages->deleteMessages(['revoke' => Bool, 'id' => [int, int], ]); +$messages.AffectedMessages = $MadelineProto->messages->deleteMessages(['revoke' => Bool, 'id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AffectedMessages = messages.deleteMessages({revoke=Bool, id={int}, }) +messages.AffectedMessages = messages.deleteMessages({revoke=Bool, id={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v72/methods/messages.getAllChats.md b/old_docs/API_docs_v72/methods/messages.getAllChats.md index cdcc5430..97cc4817 100644 --- a/old_docs/API_docs_v72/methods/messages.getAllChats.md +++ b/old_docs/API_docs_v72/methods/messages.getAllChats.md @@ -16,7 +16,7 @@ Get all chats, channels and supergroups |except\_ids|Array of [int](../types/int.md) | Do not fetch these chats (MTProto id) | Yes| -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->messages->getAllChats(['except_ids' => [int, int], ]); +$messages.Chats = $MadelineProto->messages->getAllChats(['except_ids' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Chats = messages.getAllChats({except_ids={int}, }) +messages.Chats = messages.getAllChats({except_ids={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v72/methods/messages.getAllStickers.md b/old_docs/API_docs_v72/methods/messages.getAllStickers.md index 329b70be..0f0de7f1 100644 --- a/old_docs/API_docs_v72/methods/messages.getAllStickers.md +++ b/old_docs/API_docs_v72/methods/messages.getAllStickers.md @@ -16,7 +16,7 @@ Get all installed stickers |hash|Array of [int](../types/int.md) | The hash parameter of the previous result of this method | Optional| -### Return type: [messages\_AllStickers](../types/messages_AllStickers.md) +### Return type: [messages.AllStickers](../types/messages.AllStickers.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AllStickers = $MadelineProto->messages->getAllStickers(['hash' => [int, int], ]); +$messages.AllStickers = $MadelineProto->messages->getAllStickers(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AllStickers = messages.getAllStickers({hash={int}, }) +messages.AllStickers = messages.getAllStickers({hash={int}, }) ``` diff --git a/old_docs/API_docs_v72/methods/messages.getArchivedStickers.md b/old_docs/API_docs_v72/methods/messages.getArchivedStickers.md index d3abe9fc..c108376e 100644 --- a/old_docs/API_docs_v72/methods/messages.getArchivedStickers.md +++ b/old_docs/API_docs_v72/methods/messages.getArchivedStickers.md @@ -18,7 +18,7 @@ Get all archived stickers |limit|[int](../types/int.md) | Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_ArchivedStickers](../types/messages_ArchivedStickers.md) +### Return type: [messages.ArchivedStickers](../types/messages.ArchivedStickers.md) ### Can bots use this method: **NO** @@ -35,12 +35,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_ArchivedStickers = $MadelineProto->messages->getArchivedStickers(['masks' => Bool, 'offset_id' => long, 'limit' => int, ]); +$messages.ArchivedStickers = $MadelineProto->messages->getArchivedStickers(['masks' => Bool, 'offset_id' => long, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -messages_ArchivedStickers = messages.getArchivedStickers({masks=Bool, offset_id=long, limit=int, }) +messages.ArchivedStickers = messages.getArchivedStickers({masks=Bool, offset_id=long, limit=int, }) ``` diff --git a/old_docs/API_docs_v72/methods/messages.getBotCallbackAnswer.md b/old_docs/API_docs_v72/methods/messages.getBotCallbackAnswer.md index 015fc46b..10072386 100644 --- a/old_docs/API_docs_v72/methods/messages.getBotCallbackAnswer.md +++ b/old_docs/API_docs_v72/methods/messages.getBotCallbackAnswer.md @@ -19,7 +19,7 @@ Press an inline callback button and get a callback answer from the bot |data|[bytes](../types/bytes.md) | Callback data | Optional| -### Return type: [messages\_BotCallbackAnswer](../types/messages_BotCallbackAnswer.md) +### Return type: [messages.BotCallbackAnswer](../types/messages.BotCallbackAnswer.md) ### Can bots use this method: **NO** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_BotCallbackAnswer = $MadelineProto->messages->getBotCallbackAnswer(['game' => Bool, 'peer' => InputPeer, 'msg_id' => int, 'data' => 'bytes', ]); +$messages.BotCallbackAnswer = $MadelineProto->messages->getBotCallbackAnswer(['game' => Bool, 'peer' => InputPeer, 'msg_id' => int, 'data' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -messages_BotCallbackAnswer = messages.getBotCallbackAnswer({game=Bool, peer=InputPeer, msg_id=int, data='bytes', }) +messages.BotCallbackAnswer = messages.getBotCallbackAnswer({game=Bool, peer=InputPeer, msg_id=int, data='bytes', }) ``` ### Errors diff --git a/old_docs/API_docs_v72/methods/messages.getChats.md b/old_docs/API_docs_v72/methods/messages.getChats.md index c34b0488..146341f5 100644 --- a/old_docs/API_docs_v72/methods/messages.getChats.md +++ b/old_docs/API_docs_v72/methods/messages.getChats.md @@ -16,7 +16,7 @@ Returns chat basic info on their IDs. |id|Array of [int](../types/int.md) | The MTProto IDs of chats to fetch info about | Yes| -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->messages->getChats(['id' => [int, int], ]); +$messages.Chats = $MadelineProto->messages->getChats(['id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Chats = messages.getChats({id={int}, }) +messages.Chats = messages.getChats({id={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v72/methods/messages.getCommonChats.md b/old_docs/API_docs_v72/methods/messages.getCommonChats.md index fc7b2363..56a3ec01 100644 --- a/old_docs/API_docs_v72/methods/messages.getCommonChats.md +++ b/old_docs/API_docs_v72/methods/messages.getCommonChats.md @@ -18,7 +18,7 @@ Get chats in common with a user |limit|[int](../types/int.md) | Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->messages->getCommonChats(['user_id' => InputUser, 'max_id' => int, 'limit' => int, ]); +$messages.Chats = $MadelineProto->messages->getCommonChats(['user_id' => InputUser, 'max_id' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Chats = messages.getCommonChats({user_id=InputUser, max_id=int, limit=int, }) +messages.Chats = messages.getCommonChats({user_id=InputUser, max_id=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v72/methods/messages.getDhConfig.md b/old_docs/API_docs_v72/methods/messages.getDhConfig.md index 88ea4ab3..7b9da566 100644 --- a/old_docs/API_docs_v72/methods/messages.getDhConfig.md +++ b/old_docs/API_docs_v72/methods/messages.getDhConfig.md @@ -17,7 +17,7 @@ You cannot use this method directly, instead use $MadelineProto->getDhConfig(); |random\_length|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->getDhConfig(); | Yes| -### Return type: [messages\_DhConfig](../types/messages_DhConfig.md) +### Return type: [messages.DhConfig](../types/messages.DhConfig.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_DhConfig = $MadelineProto->messages->getDhConfig(['version' => int, 'random_length' => int, ]); +$messages.DhConfig = $MadelineProto->messages->getDhConfig(['version' => int, 'random_length' => int, ]); ``` Or, if you're into Lua: ```lua -messages_DhConfig = messages.getDhConfig({version=int, random_length=int, }) +messages.DhConfig = messages.getDhConfig({version=int, random_length=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v72/methods/messages.getDialogs.md b/old_docs/API_docs_v72/methods/messages.getDialogs.md index 9f3fd365..44b8efc8 100644 --- a/old_docs/API_docs_v72/methods/messages.getDialogs.md +++ b/old_docs/API_docs_v72/methods/messages.getDialogs.md @@ -20,7 +20,7 @@ Returns the current user dialog list. |limit|[int](../types/int.md) | Number of list elements to be returned | Yes| -### Return type: [messages\_Dialogs](../types/messages_Dialogs.md) +### Return type: [messages.Dialogs](../types/messages.Dialogs.md) ### Can bots use this method: **NO** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Dialogs = $MadelineProto->messages->getDialogs(['exclude_pinned' => Bool, 'offset_date' => int, 'offset_id' => int, 'offset_peer' => InputPeer, 'limit' => int, ]); +$messages.Dialogs = $MadelineProto->messages->getDialogs(['exclude_pinned' => Bool, 'offset_date' => int, 'offset_id' => int, 'offset_peer' => InputPeer, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Dialogs = messages.getDialogs({exclude_pinned=Bool, offset_date=int, offset_id=int, offset_peer=InputPeer, limit=int, }) +messages.Dialogs = messages.getDialogs({exclude_pinned=Bool, offset_date=int, offset_id=int, offset_peer=InputPeer, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v72/methods/messages.getFavedStickers.md b/old_docs/API_docs_v72/methods/messages.getFavedStickers.md index 3ba077ef..19f64e43 100644 --- a/old_docs/API_docs_v72/methods/messages.getFavedStickers.md +++ b/old_docs/API_docs_v72/methods/messages.getFavedStickers.md @@ -16,7 +16,7 @@ Get faved stickers |hash|Array of [int](../types/int.md) | the hash parameter of the previous result of this method | Optional| -### Return type: [messages\_FavedStickers](../types/messages_FavedStickers.md) +### Return type: [messages.FavedStickers](../types/messages.FavedStickers.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_FavedStickers = $MadelineProto->messages->getFavedStickers(['hash' => [int, int], ]); +$messages.FavedStickers = $MadelineProto->messages->getFavedStickers(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_FavedStickers = messages.getFavedStickers({hash={int}, }) +messages.FavedStickers = messages.getFavedStickers({hash={int}, }) ``` diff --git a/old_docs/API_docs_v72/methods/messages.getFeaturedStickers.md b/old_docs/API_docs_v72/methods/messages.getFeaturedStickers.md index 8f2634c3..2d65d626 100644 --- a/old_docs/API_docs_v72/methods/messages.getFeaturedStickers.md +++ b/old_docs/API_docs_v72/methods/messages.getFeaturedStickers.md @@ -16,7 +16,7 @@ Get featured stickers |hash|Array of [int](../types/int.md) | the hash parameter of the previous result of this method | Optional| -### Return type: [messages\_FeaturedStickers](../types/messages_FeaturedStickers.md) +### Return type: [messages.FeaturedStickers](../types/messages.FeaturedStickers.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_FeaturedStickers = $MadelineProto->messages->getFeaturedStickers(['hash' => [int, int], ]); +$messages.FeaturedStickers = $MadelineProto->messages->getFeaturedStickers(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_FeaturedStickers = messages.getFeaturedStickers({hash={int}, }) +messages.FeaturedStickers = messages.getFeaturedStickers({hash={int}, }) ``` diff --git a/old_docs/API_docs_v72/methods/messages.getFullChat.md b/old_docs/API_docs_v72/methods/messages.getFullChat.md index abf23e21..de543651 100644 --- a/old_docs/API_docs_v72/methods/messages.getFullChat.md +++ b/old_docs/API_docs_v72/methods/messages.getFullChat.md @@ -16,7 +16,7 @@ You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo me |chat\_id|[Username, chat ID, Update, Message or InputPeer](../types/InputPeer.md) | You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo methods instead (see https://docs.madelineproto.xyz for more info) | Optional| -### Return type: [messages\_ChatFull](../types/messages_ChatFull.md) +### Return type: [messages.ChatFull](../types/messages.ChatFull.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_ChatFull = $MadelineProto->messages->getFullChat(['chat_id' => InputPeer, ]); +$messages.ChatFull = $MadelineProto->messages->getFullChat(['chat_id' => InputPeer, ]); ``` Or, if you're into Lua: ```lua -messages_ChatFull = messages.getFullChat({chat_id=InputPeer, }) +messages.ChatFull = messages.getFullChat({chat_id=InputPeer, }) ``` ### Errors diff --git a/old_docs/API_docs_v72/methods/messages.getGameHighScores.md b/old_docs/API_docs_v72/methods/messages.getGameHighScores.md index 0ee9d754..6e4dacb2 100644 --- a/old_docs/API_docs_v72/methods/messages.getGameHighScores.md +++ b/old_docs/API_docs_v72/methods/messages.getGameHighScores.md @@ -18,7 +18,7 @@ Get highscores of a game |user\_id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | Get high scores made by a certain user | Optional| -### Return type: [messages\_HighScores](../types/messages_HighScores.md) +### Return type: [messages.HighScores](../types/messages.HighScores.md) ### Can bots use this method: **YES** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_HighScores = $MadelineProto->messages->getGameHighScores(['peer' => InputPeer, 'id' => int, 'user_id' => InputUser, ]); +$messages.HighScores = $MadelineProto->messages->getGameHighScores(['peer' => InputPeer, 'id' => int, 'user_id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -messages_HighScores = messages.getGameHighScores({peer=InputPeer, id=int, user_id=InputUser, }) +messages.HighScores = messages.getGameHighScores({peer=InputPeer, id=int, user_id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v72/methods/messages.getHistory.md b/old_docs/API_docs_v72/methods/messages.getHistory.md index 636183d2..8e012da1 100644 --- a/old_docs/API_docs_v72/methods/messages.getHistory.md +++ b/old_docs/API_docs_v72/methods/messages.getHistory.md @@ -22,7 +22,7 @@ Gets back the conversation history with one interlocutor / within a chat |min\_id|[int](../types/int.md) | If a positive value was transferred, the method will return only messages with IDs more than **min\_id** | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **NO** @@ -39,13 +39,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->getHistory(['peer' => InputPeer, 'offset_id' => int, 'offset_date' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); +$messages.Messages = $MadelineProto->messages->getHistory(['peer' => InputPeer, 'offset_id' => int, 'offset_date' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.getHistory({peer=InputPeer, offset_id=int, offset_date=int, add_offset=int, limit=int, max_id=int, min_id=int, }) +messages.Messages = messages.getHistory({peer=InputPeer, offset_id=int, offset_date=int, add_offset=int, limit=int, max_id=int, min_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v72/methods/messages.getInlineBotResults.md b/old_docs/API_docs_v72/methods/messages.getInlineBotResults.md index ac251797..8a397236 100644 --- a/old_docs/API_docs_v72/methods/messages.getInlineBotResults.md +++ b/old_docs/API_docs_v72/methods/messages.getInlineBotResults.md @@ -20,7 +20,7 @@ Query an inline bot |offset|[string](../types/string.md) | The offset within the results, will be passed directly as-is to the bot. | Yes| -### Return type: [messages\_BotResults](../types/messages_BotResults.md) +### Return type: [messages.BotResults](../types/messages.BotResults.md) ### Can bots use this method: **NO** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_BotResults = $MadelineProto->messages->getInlineBotResults(['bot' => InputUser, 'peer' => InputPeer, 'geo_point' => InputGeoPoint, 'query' => 'string', 'offset' => 'string', ]); +$messages.BotResults = $MadelineProto->messages->getInlineBotResults(['bot' => InputUser, 'peer' => InputPeer, 'geo_point' => InputGeoPoint, 'query' => 'string', 'offset' => 'string', ]); ``` Or, if you're into Lua: ```lua -messages_BotResults = messages.getInlineBotResults({bot=InputUser, peer=InputPeer, geo_point=InputGeoPoint, query='string', offset='string', }) +messages.BotResults = messages.getInlineBotResults({bot=InputUser, peer=InputPeer, geo_point=InputGeoPoint, query='string', offset='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v72/methods/messages.getInlineGameHighScores.md b/old_docs/API_docs_v72/methods/messages.getInlineGameHighScores.md index 0d02b426..dbcb2cf6 100644 --- a/old_docs/API_docs_v72/methods/messages.getInlineGameHighScores.md +++ b/old_docs/API_docs_v72/methods/messages.getInlineGameHighScores.md @@ -17,7 +17,7 @@ Get highscores of a game sent using an inline bot |user\_id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | Get high scores of a certain user | Optional| -### Return type: [messages\_HighScores](../types/messages_HighScores.md) +### Return type: [messages.HighScores](../types/messages.HighScores.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_HighScores = $MadelineProto->messages->getInlineGameHighScores(['id' => InputBotInlineMessageID, 'user_id' => InputUser, ]); +$messages.HighScores = $MadelineProto->messages->getInlineGameHighScores(['id' => InputBotInlineMessageID, 'user_id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -messages_HighScores = messages.getInlineGameHighScores({id=InputBotInlineMessageID, user_id=InputUser, }) +messages.HighScores = messages.getInlineGameHighScores({id=InputBotInlineMessageID, user_id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v72/methods/messages.getMaskStickers.md b/old_docs/API_docs_v72/methods/messages.getMaskStickers.md index a09834e1..093645f6 100644 --- a/old_docs/API_docs_v72/methods/messages.getMaskStickers.md +++ b/old_docs/API_docs_v72/methods/messages.getMaskStickers.md @@ -16,7 +16,7 @@ Get installed mask stickers |hash|Array of [int](../types/int.md) | the hash parameter of the previous result of this method | Optional| -### Return type: [messages\_AllStickers](../types/messages_AllStickers.md) +### Return type: [messages.AllStickers](../types/messages.AllStickers.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AllStickers = $MadelineProto->messages->getMaskStickers(['hash' => [int, int], ]); +$messages.AllStickers = $MadelineProto->messages->getMaskStickers(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AllStickers = messages.getMaskStickers({hash={int}, }) +messages.AllStickers = messages.getMaskStickers({hash={int}, }) ``` diff --git a/old_docs/API_docs_v72/methods/messages.getMessageEditData.md b/old_docs/API_docs_v72/methods/messages.getMessageEditData.md index 1a083f08..7fd32e82 100644 --- a/old_docs/API_docs_v72/methods/messages.getMessageEditData.md +++ b/old_docs/API_docs_v72/methods/messages.getMessageEditData.md @@ -17,7 +17,7 @@ Find out if a media message's caption can be edited |id|[int](../types/int.md) | ID of message | Yes| -### Return type: [messages\_MessageEditData](../types/messages_MessageEditData.md) +### Return type: [messages.MessageEditData](../types/messages.MessageEditData.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_MessageEditData = $MadelineProto->messages->getMessageEditData(['peer' => InputPeer, 'id' => int, ]); +$messages.MessageEditData = $MadelineProto->messages->getMessageEditData(['peer' => InputPeer, 'id' => int, ]); ``` Or, if you're into Lua: ```lua -messages_MessageEditData = messages.getMessageEditData({peer=InputPeer, id=int, }) +messages.MessageEditData = messages.getMessageEditData({peer=InputPeer, id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v72/methods/messages.getMessages.md b/old_docs/API_docs_v72/methods/messages.getMessages.md index a3139513..c7760d7e 100644 --- a/old_docs/API_docs_v72/methods/messages.getMessages.md +++ b/old_docs/API_docs_v72/methods/messages.getMessages.md @@ -16,7 +16,7 @@ Returns the list of messages by their IDs. |id|Array of [int](../types/int.md) | The IDs of messages to fetch (only for users and normal groups) | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **YES** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->getMessages(['id' => [int, int], ]); +$messages.Messages = $MadelineProto->messages->getMessages(['id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.getMessages({id={int}, }) +messages.Messages = messages.getMessages({id={int}, }) ``` diff --git a/old_docs/API_docs_v72/methods/messages.getPeerDialogs.md b/old_docs/API_docs_v72/methods/messages.getPeerDialogs.md index a2c2714b..79bd7fa3 100644 --- a/old_docs/API_docs_v72/methods/messages.getPeerDialogs.md +++ b/old_docs/API_docs_v72/methods/messages.getPeerDialogs.md @@ -16,7 +16,7 @@ Get dialog info of specified peers |peers|Array of [Username, chat ID, Update, Message or InputPeer](../types/InputPeer.md) | The peers | Yes| -### Return type: [messages\_PeerDialogs](../types/messages_PeerDialogs.md) +### Return type: [messages.PeerDialogs](../types/messages.PeerDialogs.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_PeerDialogs = $MadelineProto->messages->getPeerDialogs(['peers' => [InputPeer, InputPeer], ]); +$messages.PeerDialogs = $MadelineProto->messages->getPeerDialogs(['peers' => [InputPeer, InputPeer], ]); ``` Or, if you're into Lua: ```lua -messages_PeerDialogs = messages.getPeerDialogs({peers={InputPeer}, }) +messages.PeerDialogs = messages.getPeerDialogs({peers={InputPeer}, }) ``` ### Errors diff --git a/old_docs/API_docs_v72/methods/messages.getPinnedDialogs.md b/old_docs/API_docs_v72/methods/messages.getPinnedDialogs.md index f106098d..161075f2 100644 --- a/old_docs/API_docs_v72/methods/messages.getPinnedDialogs.md +++ b/old_docs/API_docs_v72/methods/messages.getPinnedDialogs.md @@ -11,7 +11,7 @@ Get pinned dialogs -### Return type: [messages\_PeerDialogs](../types/messages_PeerDialogs.md) +### Return type: [messages.PeerDialogs](../types/messages.PeerDialogs.md) ### Can bots use this method: **NO** @@ -28,13 +28,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_PeerDialogs = $MadelineProto->messages->getPinnedDialogs(); +$messages.PeerDialogs = $MadelineProto->messages->getPinnedDialogs(); ``` Or, if you're into Lua: ```lua -messages_PeerDialogs = messages.getPinnedDialogs({}) +messages.PeerDialogs = messages.getPinnedDialogs({}) ``` ### Errors diff --git a/old_docs/API_docs_v72/methods/messages.getRecentLocations.md b/old_docs/API_docs_v72/methods/messages.getRecentLocations.md index 751c1c89..cce23765 100644 --- a/old_docs/API_docs_v72/methods/messages.getRecentLocations.md +++ b/old_docs/API_docs_v72/methods/messages.getRecentLocations.md @@ -17,7 +17,7 @@ Get live location history of a certain user |limit|[int](../types/int.md) | Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **NO** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->getRecentLocations(['peer' => InputPeer, 'limit' => int, ]); +$messages.Messages = $MadelineProto->messages->getRecentLocations(['peer' => InputPeer, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.getRecentLocations({peer=InputPeer, limit=int, }) +messages.Messages = messages.getRecentLocations({peer=InputPeer, limit=int, }) ``` diff --git a/old_docs/API_docs_v72/methods/messages.getRecentStickers.md b/old_docs/API_docs_v72/methods/messages.getRecentStickers.md index 28a70889..39cef16a 100644 --- a/old_docs/API_docs_v72/methods/messages.getRecentStickers.md +++ b/old_docs/API_docs_v72/methods/messages.getRecentStickers.md @@ -17,7 +17,7 @@ Get recent stickers |hash|Array of [int](../types/int.md) | IDs the hash parameter of the previous result of this method | Optional| -### Return type: [messages\_RecentStickers](../types/messages_RecentStickers.md) +### Return type: [messages.RecentStickers](../types/messages.RecentStickers.md) ### Can bots use this method: **NO** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_RecentStickers = $MadelineProto->messages->getRecentStickers(['attached' => Bool, 'hash' => [int, int], ]); +$messages.RecentStickers = $MadelineProto->messages->getRecentStickers(['attached' => Bool, 'hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_RecentStickers = messages.getRecentStickers({attached=Bool, hash={int}, }) +messages.RecentStickers = messages.getRecentStickers({attached=Bool, hash={int}, }) ``` diff --git a/old_docs/API_docs_v72/methods/messages.getSavedGifs.md b/old_docs/API_docs_v72/methods/messages.getSavedGifs.md index 1df7f37c..8b31f7b8 100644 --- a/old_docs/API_docs_v72/methods/messages.getSavedGifs.md +++ b/old_docs/API_docs_v72/methods/messages.getSavedGifs.md @@ -16,7 +16,7 @@ Get saved GIFs |hash|Array of [int](../types/int.md) | the hash parameter of the previous result of this method | Optional| -### Return type: [messages\_SavedGifs](../types/messages_SavedGifs.md) +### Return type: [messages.SavedGifs](../types/messages.SavedGifs.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_SavedGifs = $MadelineProto->messages->getSavedGifs(['hash' => [int, int], ]); +$messages.SavedGifs = $MadelineProto->messages->getSavedGifs(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_SavedGifs = messages.getSavedGifs({hash={int}, }) +messages.SavedGifs = messages.getSavedGifs({hash={int}, }) ``` diff --git a/old_docs/API_docs_v72/methods/messages.getStickerSet.md b/old_docs/API_docs_v72/methods/messages.getStickerSet.md index 45fca60f..f11887ee 100644 --- a/old_docs/API_docs_v72/methods/messages.getStickerSet.md +++ b/old_docs/API_docs_v72/methods/messages.getStickerSet.md @@ -16,7 +16,7 @@ Get info about a stickerset |stickerset|[InputStickerSet](../types/InputStickerSet.md) | Stickerset | Optional| -### Return type: [messages\_StickerSet](../types/messages_StickerSet.md) +### Return type: [messages.StickerSet](../types/messages.StickerSet.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StickerSet = $MadelineProto->messages->getStickerSet(['stickerset' => InputStickerSet, ]); +$messages.StickerSet = $MadelineProto->messages->getStickerSet(['stickerset' => InputStickerSet, ]); ``` Or, if you're into Lua: ```lua -messages_StickerSet = messages.getStickerSet({stickerset=InputStickerSet, }) +messages.StickerSet = messages.getStickerSet({stickerset=InputStickerSet, }) ``` ### Errors diff --git a/old_docs/API_docs_v72/methods/messages.getUnreadMentions.md b/old_docs/API_docs_v72/methods/messages.getUnreadMentions.md index 33bba261..679ed841 100644 --- a/old_docs/API_docs_v72/methods/messages.getUnreadMentions.md +++ b/old_docs/API_docs_v72/methods/messages.getUnreadMentions.md @@ -21,7 +21,7 @@ Get unread messages where we were mentioned |min\_id|[int](../types/int.md) | Minimum message ID to return, [see pagination](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **NO** @@ -38,13 +38,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->getUnreadMentions(['peer' => InputPeer, 'offset_id' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); +$messages.Messages = $MadelineProto->messages->getUnreadMentions(['peer' => InputPeer, 'offset_id' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.getUnreadMentions({peer=InputPeer, offset_id=int, add_offset=int, limit=int, max_id=int, min_id=int, }) +messages.Messages = messages.getUnreadMentions({peer=InputPeer, offset_id=int, add_offset=int, limit=int, max_id=int, min_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v72/methods/messages.installStickerSet.md b/old_docs/API_docs_v72/methods/messages.installStickerSet.md index 1a95ca0b..83ce2121 100644 --- a/old_docs/API_docs_v72/methods/messages.installStickerSet.md +++ b/old_docs/API_docs_v72/methods/messages.installStickerSet.md @@ -17,7 +17,7 @@ Install a stickerset |archived|[Bool](../types/Bool.md) | Whether to archive stickerset | Yes| -### Return type: [messages\_StickerSetInstallResult](../types/messages_StickerSetInstallResult.md) +### Return type: [messages.StickerSetInstallResult](../types/messages.StickerSetInstallResult.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StickerSetInstallResult = $MadelineProto->messages->installStickerSet(['stickerset' => InputStickerSet, 'archived' => Bool, ]); +$messages.StickerSetInstallResult = $MadelineProto->messages->installStickerSet(['stickerset' => InputStickerSet, 'archived' => Bool, ]); ``` Or, if you're into Lua: ```lua -messages_StickerSetInstallResult = messages.installStickerSet({stickerset=InputStickerSet, archived=Bool, }) +messages.StickerSetInstallResult = messages.installStickerSet({stickerset=InputStickerSet, archived=Bool, }) ``` ### Errors diff --git a/old_docs/API_docs_v72/methods/messages.readHistory.md b/old_docs/API_docs_v72/methods/messages.readHistory.md index 39753375..52030c68 100644 --- a/old_docs/API_docs_v72/methods/messages.readHistory.md +++ b/old_docs/API_docs_v72/methods/messages.readHistory.md @@ -17,7 +17,7 @@ Marks message history as read. |max\_id|[int](../types/int.md) | If a positive value is passed, only messages with identifiers less or equal than the given one will be read | Yes| -### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) +### Return type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedMessages = $MadelineProto->messages->readHistory(['peer' => InputPeer, 'max_id' => int, ]); +$messages.AffectedMessages = $MadelineProto->messages->readHistory(['peer' => InputPeer, 'max_id' => int, ]); ``` Or, if you're into Lua: ```lua -messages_AffectedMessages = messages.readHistory({peer=InputPeer, max_id=int, }) +messages.AffectedMessages = messages.readHistory({peer=InputPeer, max_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v72/methods/messages.readMentions.md b/old_docs/API_docs_v72/methods/messages.readMentions.md index 9b73851d..c8c94f00 100644 --- a/old_docs/API_docs_v72/methods/messages.readMentions.md +++ b/old_docs/API_docs_v72/methods/messages.readMentions.md @@ -16,7 +16,7 @@ Mark mentions as read |peer|[Username, chat ID, Update, Message or InputPeer](../types/InputPeer.md) | Dialog | Optional| -### Return type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) +### Return type: [messages.AffectedHistory](../types/messages.AffectedHistory.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedHistory = $MadelineProto->messages->readMentions(['peer' => InputPeer, ]); +$messages.AffectedHistory = $MadelineProto->messages->readMentions(['peer' => InputPeer, ]); ``` Or, if you're into Lua: ```lua -messages_AffectedHistory = messages.readMentions({peer=InputPeer, }) +messages.AffectedHistory = messages.readMentions({peer=InputPeer, }) ``` diff --git a/old_docs/API_docs_v72/methods/messages.readMessageContents.md b/old_docs/API_docs_v72/methods/messages.readMessageContents.md index c479cafe..9798e661 100644 --- a/old_docs/API_docs_v72/methods/messages.readMessageContents.md +++ b/old_docs/API_docs_v72/methods/messages.readMessageContents.md @@ -16,7 +16,7 @@ Notifies the sender about the recipient having listened a voice message or watch |id|Array of [int](../types/int.md) | The messages to mark as read (only users and normal chats, not supergroups) | Yes| -### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) +### Return type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedMessages = $MadelineProto->messages->readMessageContents(['id' => [int, int], ]); +$messages.AffectedMessages = $MadelineProto->messages->readMessageContents(['id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AffectedMessages = messages.readMessageContents({id={int}, }) +messages.AffectedMessages = messages.readMessageContents({id={int}, }) ``` diff --git a/old_docs/API_docs_v72/methods/messages.search.md b/old_docs/API_docs_v72/methods/messages.search.md index 264b9f7e..72c22a4e 100644 --- a/old_docs/API_docs_v72/methods/messages.search.md +++ b/old_docs/API_docs_v72/methods/messages.search.md @@ -26,7 +26,7 @@ Gets back found messages |min\_id|[int](../types/int.md) | [Minimum message ID to return](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **NO** @@ -43,13 +43,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->search(['peer' => InputPeer, 'q' => 'string', 'from_id' => InputUser, 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset_id' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); +$messages.Messages = $MadelineProto->messages->search(['peer' => InputPeer, 'q' => 'string', 'from_id' => InputUser, 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset_id' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.search({peer=InputPeer, q='string', from_id=InputUser, filter=MessagesFilter, min_date=int, max_date=int, offset_id=int, add_offset=int, limit=int, max_id=int, min_id=int, }) +messages.Messages = messages.search({peer=InputPeer, q='string', from_id=InputUser, filter=MessagesFilter, min_date=int, max_date=int, offset_id=int, add_offset=int, limit=int, max_id=int, min_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v72/methods/messages.searchGifs.md b/old_docs/API_docs_v72/methods/messages.searchGifs.md index 851371d7..193a0cd4 100644 --- a/old_docs/API_docs_v72/methods/messages.searchGifs.md +++ b/old_docs/API_docs_v72/methods/messages.searchGifs.md @@ -17,7 +17,7 @@ Search for GIFs |offset|[int](../types/int.md) | Offset for [pagination »](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_FoundGifs](../types/messages_FoundGifs.md) +### Return type: [messages.FoundGifs](../types/messages.FoundGifs.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_FoundGifs = $MadelineProto->messages->searchGifs(['q' => 'string', 'offset' => int, ]); +$messages.FoundGifs = $MadelineProto->messages->searchGifs(['q' => 'string', 'offset' => int, ]); ``` Or, if you're into Lua: ```lua -messages_FoundGifs = messages.searchGifs({q='string', offset=int, }) +messages.FoundGifs = messages.searchGifs({q='string', offset=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v72/methods/messages.searchGlobal.md b/old_docs/API_docs_v72/methods/messages.searchGlobal.md index 4bd59f25..1a3b736d 100644 --- a/old_docs/API_docs_v72/methods/messages.searchGlobal.md +++ b/old_docs/API_docs_v72/methods/messages.searchGlobal.md @@ -20,7 +20,7 @@ Search for messages and peers globally |limit|[int](../types/int.md) | [Offsets for pagination, for more info click here](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **NO** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->searchGlobal(['q' => 'string', 'offset_date' => int, 'offset_peer' => InputPeer, 'offset_id' => int, 'limit' => int, ]); +$messages.Messages = $MadelineProto->messages->searchGlobal(['q' => 'string', 'offset_date' => int, 'offset_peer' => InputPeer, 'offset_id' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.searchGlobal({q='string', offset_date=int, offset_peer=InputPeer, offset_id=int, limit=int, }) +messages.Messages = messages.searchGlobal({q='string', offset_date=int, offset_peer=InputPeer, offset_id=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v72/methods/messages.sendEncrypted.md b/old_docs/API_docs_v72/methods/messages.sendEncrypted.md index 47b5ef29..6a68b563 100644 --- a/old_docs/API_docs_v72/methods/messages.sendEncrypted.md +++ b/old_docs/API_docs_v72/methods/messages.sendEncrypted.md @@ -14,10 +14,10 @@ Sends a text message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|message|[DecryptedMessage](../types/DecryptedMessage.md) | The message to send | Yes| +|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key that was created during chat initialization | Yes| -### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ### Can bots use this method: **NO** @@ -34,21 +34,15 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncrypted(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); +$messages.SentEncryptedMessage = $MadelineProto->messages->sendEncrypted(['peer' => InputEncryptedChat, 'data' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -messages_SentEncryptedMessage = messages.sendEncrypted({peer=InputEncryptedChat, message=DecryptedMessage, }) +messages.SentEncryptedMessage = messages.sendEncrypted({peer=InputEncryptedChat, data='bytes', }) ``` - -## Return value - -If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) will be returned instead. - - ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v72/methods/messages.sendEncryptedFile.md b/old_docs/API_docs_v72/methods/messages.sendEncryptedFile.md index 4e0f7b7f..87185ba4 100644 --- a/old_docs/API_docs_v72/methods/messages.sendEncryptedFile.md +++ b/old_docs/API_docs_v72/methods/messages.sendEncryptedFile.md @@ -14,11 +14,11 @@ Sends a message with a file attachment to a secret chat | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|message|[DecryptedMessage](../types/DecryptedMessage.md) | The message with the file | Yes| +|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| |file|[File path or InputEncryptedFile](../types/InputEncryptedFile.md) | File attachment for the secret chat | Optional| -### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ### Can bots use this method: **NO** @@ -35,21 +35,15 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedFile(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, 'file' => InputEncryptedFile, ]); +$messages.SentEncryptedMessage = $MadelineProto->messages->sendEncryptedFile(['peer' => InputEncryptedChat, 'data' => 'bytes', 'file' => InputEncryptedFile, ]); ``` Or, if you're into Lua: ```lua -messages_SentEncryptedMessage = messages.sendEncryptedFile({peer=InputEncryptedChat, message=DecryptedMessage, file=InputEncryptedFile, }) +messages.SentEncryptedMessage = messages.sendEncryptedFile({peer=InputEncryptedChat, data='bytes', file=InputEncryptedFile, }) ``` - -## Return value - -If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) will be returned instead. - - ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v72/methods/messages.sendEncryptedService.md b/old_docs/API_docs_v72/methods/messages.sendEncryptedService.md index 86925ae3..38171272 100644 --- a/old_docs/API_docs_v72/methods/messages.sendEncryptedService.md +++ b/old_docs/API_docs_v72/methods/messages.sendEncryptedService.md @@ -14,10 +14,10 @@ Sends a service message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|message|[DecryptedMessage](../types/DecryptedMessage.md) | The service message | Yes| +|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| -### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ### Can bots use this method: **NO** @@ -34,21 +34,15 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedService(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); +$messages.SentEncryptedMessage = $MadelineProto->messages->sendEncryptedService(['peer' => InputEncryptedChat, 'data' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -messages_SentEncryptedMessage = messages.sendEncryptedService({peer=InputEncryptedChat, message=DecryptedMessage, }) +messages.SentEncryptedMessage = messages.sendEncryptedService({peer=InputEncryptedChat, data='bytes', }) ``` - -## Return value - -If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) will be returned instead. - - ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v72/methods/payments.getPaymentForm.md b/old_docs/API_docs_v72/methods/payments.getPaymentForm.md index 3a171a05..da173f14 100644 --- a/old_docs/API_docs_v72/methods/payments.getPaymentForm.md +++ b/old_docs/API_docs_v72/methods/payments.getPaymentForm.md @@ -16,7 +16,7 @@ Get a payment form |msg\_id|[int](../types/int.md) | Message ID of payment form | Yes| -### Return type: [payments\_PaymentForm](../types/payments_PaymentForm.md) +### Return type: [payments.PaymentForm](../types/payments.PaymentForm.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$payments_PaymentForm = $MadelineProto->payments->getPaymentForm(['msg_id' => int, ]); +$payments.PaymentForm = $MadelineProto->payments->getPaymentForm(['msg_id' => int, ]); ``` Or, if you're into Lua: ```lua -payments_PaymentForm = payments.getPaymentForm({msg_id=int, }) +payments.PaymentForm = payments.getPaymentForm({msg_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v72/methods/payments.getPaymentReceipt.md b/old_docs/API_docs_v72/methods/payments.getPaymentReceipt.md index 46d2267c..16e41367 100644 --- a/old_docs/API_docs_v72/methods/payments.getPaymentReceipt.md +++ b/old_docs/API_docs_v72/methods/payments.getPaymentReceipt.md @@ -16,7 +16,7 @@ Get payment receipt |msg\_id|[int](../types/int.md) | Message ID of receipt | Yes| -### Return type: [payments\_PaymentReceipt](../types/payments_PaymentReceipt.md) +### Return type: [payments.PaymentReceipt](../types/payments.PaymentReceipt.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$payments_PaymentReceipt = $MadelineProto->payments->getPaymentReceipt(['msg_id' => int, ]); +$payments.PaymentReceipt = $MadelineProto->payments->getPaymentReceipt(['msg_id' => int, ]); ``` Or, if you're into Lua: ```lua -payments_PaymentReceipt = payments.getPaymentReceipt({msg_id=int, }) +payments.PaymentReceipt = payments.getPaymentReceipt({msg_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v72/methods/payments.getSavedInfo.md b/old_docs/API_docs_v72/methods/payments.getSavedInfo.md index dc9c9b98..fe2c16ec 100644 --- a/old_docs/API_docs_v72/methods/payments.getSavedInfo.md +++ b/old_docs/API_docs_v72/methods/payments.getSavedInfo.md @@ -11,7 +11,7 @@ Get saved payment information -### Return type: [payments\_SavedInfo](../types/payments_SavedInfo.md) +### Return type: [payments.SavedInfo](../types/payments.SavedInfo.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$payments_SavedInfo = $MadelineProto->payments->getSavedInfo(); +$payments.SavedInfo = $MadelineProto->payments->getSavedInfo(); ``` Or, if you're into Lua: ```lua -payments_SavedInfo = payments.getSavedInfo({}) +payments.SavedInfo = payments.getSavedInfo({}) ``` diff --git a/old_docs/API_docs_v72/methods/payments.sendPaymentForm.md b/old_docs/API_docs_v72/methods/payments.sendPaymentForm.md index 8c478b92..de154e7f 100644 --- a/old_docs/API_docs_v72/methods/payments.sendPaymentForm.md +++ b/old_docs/API_docs_v72/methods/payments.sendPaymentForm.md @@ -19,7 +19,7 @@ Send compiled payment form |credentials|[InputPaymentCredentials](../types/InputPaymentCredentials.md) | Payment credentials | Yes| -### Return type: [payments\_PaymentResult](../types/payments_PaymentResult.md) +### Return type: [payments.PaymentResult](../types/payments.PaymentResult.md) ### Can bots use this method: **NO** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$payments_PaymentResult = $MadelineProto->payments->sendPaymentForm(['msg_id' => int, 'requested_info_id' => 'string', 'shipping_option_id' => 'string', 'credentials' => InputPaymentCredentials, ]); +$payments.PaymentResult = $MadelineProto->payments->sendPaymentForm(['msg_id' => int, 'requested_info_id' => 'string', 'shipping_option_id' => 'string', 'credentials' => InputPaymentCredentials, ]); ``` Or, if you're into Lua: ```lua -payments_PaymentResult = payments.sendPaymentForm({msg_id=int, requested_info_id='string', shipping_option_id='string', credentials=InputPaymentCredentials, }) +payments.PaymentResult = payments.sendPaymentForm({msg_id=int, requested_info_id='string', shipping_option_id='string', credentials=InputPaymentCredentials, }) ``` ### Errors diff --git a/old_docs/API_docs_v72/methods/payments.validateRequestedInfo.md b/old_docs/API_docs_v72/methods/payments.validateRequestedInfo.md index d6364a02..ce22cfe8 100644 --- a/old_docs/API_docs_v72/methods/payments.validateRequestedInfo.md +++ b/old_docs/API_docs_v72/methods/payments.validateRequestedInfo.md @@ -18,7 +18,7 @@ Submit requested order information for validation |info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Requested order information | Yes| -### Return type: [payments\_ValidatedRequestedInfo](../types/payments_ValidatedRequestedInfo.md) +### Return type: [payments.ValidatedRequestedInfo](../types/payments.ValidatedRequestedInfo.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$payments_ValidatedRequestedInfo = $MadelineProto->payments->validateRequestedInfo(['save' => Bool, 'msg_id' => int, 'info' => PaymentRequestedInfo, ]); +$payments.ValidatedRequestedInfo = $MadelineProto->payments->validateRequestedInfo(['save' => Bool, 'msg_id' => int, 'info' => PaymentRequestedInfo, ]); ``` Or, if you're into Lua: ```lua -payments_ValidatedRequestedInfo = payments.validateRequestedInfo({save=Bool, msg_id=int, info=PaymentRequestedInfo, }) +payments.ValidatedRequestedInfo = payments.validateRequestedInfo({save=Bool, msg_id=int, info=PaymentRequestedInfo, }) ``` ### Errors diff --git a/old_docs/API_docs_v72/methods/phone.acceptCall.md b/old_docs/API_docs_v72/methods/phone.acceptCall.md index f5c58f01..6b9185aa 100644 --- a/old_docs/API_docs_v72/methods/phone.acceptCall.md +++ b/old_docs/API_docs_v72/methods/phone.acceptCall.md @@ -18,7 +18,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz#calls fo |protocol|[PhoneCallProtocol](../types/PhoneCallProtocol.md) | You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls | Yes| -### Return type: [phone\_PhoneCall](../types/phone_PhoneCall.md) +### Return type: [phone.PhoneCall](../types/phone.PhoneCall.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$phone_PhoneCall = $MadelineProto->phone->acceptCall(['peer' => InputPhoneCall, 'g_b' => 'bytes', 'protocol' => PhoneCallProtocol, ]); +$phone.PhoneCall = $MadelineProto->phone->acceptCall(['peer' => InputPhoneCall, 'g_b' => 'bytes', 'protocol' => PhoneCallProtocol, ]); ``` Or, if you're into Lua: ```lua -phone_PhoneCall = phone.acceptCall({peer=InputPhoneCall, g_b='bytes', protocol=PhoneCallProtocol, }) +phone.PhoneCall = phone.acceptCall({peer=InputPhoneCall, g_b='bytes', protocol=PhoneCallProtocol, }) ``` ### Errors diff --git a/old_docs/API_docs_v72/methods/phone.confirmCall.md b/old_docs/API_docs_v72/methods/phone.confirmCall.md index 468307cc..a52d1f9c 100644 --- a/old_docs/API_docs_v72/methods/phone.confirmCall.md +++ b/old_docs/API_docs_v72/methods/phone.confirmCall.md @@ -19,7 +19,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz#calls fo |protocol|[PhoneCallProtocol](../types/PhoneCallProtocol.md) | You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls | Yes| -### Return type: [phone\_PhoneCall](../types/phone_PhoneCall.md) +### Return type: [phone.PhoneCall](../types/phone.PhoneCall.md) ### Can bots use this method: **NO** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$phone_PhoneCall = $MadelineProto->phone->confirmCall(['peer' => InputPhoneCall, 'g_a' => 'bytes', 'key_fingerprint' => long, 'protocol' => PhoneCallProtocol, ]); +$phone.PhoneCall = $MadelineProto->phone->confirmCall(['peer' => InputPhoneCall, 'g_a' => 'bytes', 'key_fingerprint' => long, 'protocol' => PhoneCallProtocol, ]); ``` Or, if you're into Lua: ```lua -phone_PhoneCall = phone.confirmCall({peer=InputPhoneCall, g_a='bytes', key_fingerprint=long, protocol=PhoneCallProtocol, }) +phone.PhoneCall = phone.confirmCall({peer=InputPhoneCall, g_a='bytes', key_fingerprint=long, protocol=PhoneCallProtocol, }) ``` ### Errors diff --git a/old_docs/API_docs_v72/methods/phone.requestCall.md b/old_docs/API_docs_v72/methods/phone.requestCall.md index c8e828f2..37e847a7 100644 --- a/old_docs/API_docs_v72/methods/phone.requestCall.md +++ b/old_docs/API_docs_v72/methods/phone.requestCall.md @@ -18,7 +18,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz#calls fo |protocol|[PhoneCallProtocol](../types/PhoneCallProtocol.md) | You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls | Yes| -### Return type: [phone\_PhoneCall](../types/phone_PhoneCall.md) +### Return type: [phone.PhoneCall](../types/phone.PhoneCall.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$phone_PhoneCall = $MadelineProto->phone->requestCall(['user_id' => InputUser, 'g_a_hash' => 'bytes', 'protocol' => PhoneCallProtocol, ]); +$phone.PhoneCall = $MadelineProto->phone->requestCall(['user_id' => InputUser, 'g_a_hash' => 'bytes', 'protocol' => PhoneCallProtocol, ]); ``` Or, if you're into Lua: ```lua -phone_PhoneCall = phone.requestCall({user_id=InputUser, g_a_hash='bytes', protocol=PhoneCallProtocol, }) +phone.PhoneCall = phone.requestCall({user_id=InputUser, g_a_hash='bytes', protocol=PhoneCallProtocol, }) ``` ### Errors diff --git a/old_docs/API_docs_v72/methods/photos.getUserPhotos.md b/old_docs/API_docs_v72/methods/photos.getUserPhotos.md index a1dec2ed..1f8d5c64 100644 --- a/old_docs/API_docs_v72/methods/photos.getUserPhotos.md +++ b/old_docs/API_docs_v72/methods/photos.getUserPhotos.md @@ -19,7 +19,7 @@ Returns the list of user photos. |limit|[int](../types/int.md) | Number of list elements to be returned | Yes| -### Return type: [photos\_Photos](../types/photos_Photos.md) +### Return type: [photos.Photos](../types/photos.Photos.md) ### Can bots use this method: **YES** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$photos_Photos = $MadelineProto->photos->getUserPhotos(['user_id' => InputUser, 'offset' => int, 'max_id' => long, 'limit' => int, ]); +$photos.Photos = $MadelineProto->photos->getUserPhotos(['user_id' => InputUser, 'offset' => int, 'max_id' => long, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -photos_Photos = photos.getUserPhotos({user_id=InputUser, offset=int, max_id=long, limit=int, }) +photos.Photos = photos.getUserPhotos({user_id=InputUser, offset=int, max_id=long, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v72/methods/photos.uploadProfilePhoto.md b/old_docs/API_docs_v72/methods/photos.uploadProfilePhoto.md index b6a01ee7..4de76a24 100644 --- a/old_docs/API_docs_v72/methods/photos.uploadProfilePhoto.md +++ b/old_docs/API_docs_v72/methods/photos.uploadProfilePhoto.md @@ -16,7 +16,7 @@ Updates current user profile photo. |file|[File path or InputFile](../types/InputFile.md) | File saved in parts by means of [upload.saveFilePart](../methods/upload.saveFilePart.md) method | Yes| -### Return type: [photos\_Photo](../types/photos_Photo.md) +### Return type: [photos.Photo](../types/photos.Photo.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$photos_Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, ]); +$photos.Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, ]); ``` Or, if you're into Lua: ```lua -photos_Photo = photos.uploadProfilePhoto({file=InputFile, }) +photos.Photo = photos.uploadProfilePhoto({file=InputFile, }) ``` ### Errors diff --git a/old_docs/API_docs_v72/methods/stickers.addStickerToSet.md b/old_docs/API_docs_v72/methods/stickers.addStickerToSet.md index 727d3f27..e8392355 100644 --- a/old_docs/API_docs_v72/methods/stickers.addStickerToSet.md +++ b/old_docs/API_docs_v72/methods/stickers.addStickerToSet.md @@ -17,7 +17,7 @@ Add a sticker to a stickerset, bots only. The sticker set must have been created |sticker|[InputStickerSetItem](../types/InputStickerSetItem.md) | The sticker | Yes| -### Return type: [messages\_StickerSet](../types/messages_StickerSet.md) +### Return type: [messages.StickerSet](../types/messages.StickerSet.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StickerSet = $MadelineProto->stickers->addStickerToSet(['stickerset' => InputStickerSet, 'sticker' => InputStickerSetItem, ]); +$messages.StickerSet = $MadelineProto->stickers->addStickerToSet(['stickerset' => InputStickerSet, 'sticker' => InputStickerSetItem, ]); ``` Or, if you're into Lua: ```lua -messages_StickerSet = stickers.addStickerToSet({stickerset=InputStickerSet, sticker=InputStickerSetItem, }) +messages.StickerSet = stickers.addStickerToSet({stickerset=InputStickerSet, sticker=InputStickerSetItem, }) ``` ### Errors diff --git a/old_docs/API_docs_v72/methods/stickers.changeStickerPosition.md b/old_docs/API_docs_v72/methods/stickers.changeStickerPosition.md index ed390f21..e1d8ab5e 100644 --- a/old_docs/API_docs_v72/methods/stickers.changeStickerPosition.md +++ b/old_docs/API_docs_v72/methods/stickers.changeStickerPosition.md @@ -17,7 +17,7 @@ Changes the absolute position of a sticker in the set to which it belongs; for b |position|[int](../types/int.md) | The new position of the sticker, zero-based | Yes| -### Return type: [messages\_StickerSet](../types/messages_StickerSet.md) +### Return type: [messages.StickerSet](../types/messages.StickerSet.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StickerSet = $MadelineProto->stickers->changeStickerPosition(['sticker' => InputDocument, 'position' => int, ]); +$messages.StickerSet = $MadelineProto->stickers->changeStickerPosition(['sticker' => InputDocument, 'position' => int, ]); ``` Or, if you're into Lua: ```lua -messages_StickerSet = stickers.changeStickerPosition({sticker=InputDocument, position=int, }) +messages.StickerSet = stickers.changeStickerPosition({sticker=InputDocument, position=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v72/methods/stickers.createStickerSet.md b/old_docs/API_docs_v72/methods/stickers.createStickerSet.md index 5a6ef396..7eeeb48f 100644 --- a/old_docs/API_docs_v72/methods/stickers.createStickerSet.md +++ b/old_docs/API_docs_v72/methods/stickers.createStickerSet.md @@ -20,7 +20,7 @@ Create a stickerset, bots only. |stickers|Array of [InputStickerSetItem](../types/InputStickerSetItem.md) | The stickers to add | Yes| -### Return type: [messages\_StickerSet](../types/messages_StickerSet.md) +### Return type: [messages.StickerSet](../types/messages.StickerSet.md) ### Can bots use this method: **YES** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StickerSet = $MadelineProto->stickers->createStickerSet(['masks' => Bool, 'user_id' => InputUser, 'title' => 'string', 'short_name' => 'string', 'stickers' => [InputStickerSetItem, InputStickerSetItem], ]); +$messages.StickerSet = $MadelineProto->stickers->createStickerSet(['masks' => Bool, 'user_id' => InputUser, 'title' => 'string', 'short_name' => 'string', 'stickers' => [InputStickerSetItem, InputStickerSetItem], ]); ``` Or, if you're into Lua: ```lua -messages_StickerSet = stickers.createStickerSet({masks=Bool, user_id=InputUser, title='string', short_name='string', stickers={InputStickerSetItem}, }) +messages.StickerSet = stickers.createStickerSet({masks=Bool, user_id=InputUser, title='string', short_name='string', stickers={InputStickerSetItem}, }) ``` ### Errors diff --git a/old_docs/API_docs_v72/methods/stickers.removeStickerFromSet.md b/old_docs/API_docs_v72/methods/stickers.removeStickerFromSet.md index 33f677b3..aa4927ca 100644 --- a/old_docs/API_docs_v72/methods/stickers.removeStickerFromSet.md +++ b/old_docs/API_docs_v72/methods/stickers.removeStickerFromSet.md @@ -16,7 +16,7 @@ Remove a sticker from the set where it belongs, bots only. The sticker set must |sticker|[MessageMedia, Update, Message or InputDocument](../types/InputDocument.md) | The sticker to remove | Optional| -### Return type: [messages\_StickerSet](../types/messages_StickerSet.md) +### Return type: [messages.StickerSet](../types/messages.StickerSet.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StickerSet = $MadelineProto->stickers->removeStickerFromSet(['sticker' => InputDocument, ]); +$messages.StickerSet = $MadelineProto->stickers->removeStickerFromSet(['sticker' => InputDocument, ]); ``` Or, if you're into Lua: ```lua -messages_StickerSet = stickers.removeStickerFromSet({sticker=InputDocument, }) +messages.StickerSet = stickers.removeStickerFromSet({sticker=InputDocument, }) ``` ### Errors diff --git a/old_docs/API_docs_v72/methods/updates.getChannelDifference.md b/old_docs/API_docs_v72/methods/updates.getChannelDifference.md index 5675cd33..08df3395 100644 --- a/old_docs/API_docs_v72/methods/updates.getChannelDifference.md +++ b/old_docs/API_docs_v72/methods/updates.getChannelDifference.md @@ -20,7 +20,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz for more |limit|[int](../types/int.md) | You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates | Yes| -### Return type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) +### Return type: [updates.ChannelDifference](../types/updates.ChannelDifference.md) ### Can bots use this method: **YES** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$updates_ChannelDifference = $MadelineProto->updates->getChannelDifference(['force' => Bool, 'channel' => InputChannel, 'filter' => ChannelMessagesFilter, 'pts' => int, 'limit' => int, ]); +$updates.ChannelDifference = $MadelineProto->updates->getChannelDifference(['force' => Bool, 'channel' => InputChannel, 'filter' => ChannelMessagesFilter, 'pts' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -updates_ChannelDifference = updates.getChannelDifference({force=Bool, channel=InputChannel, filter=ChannelMessagesFilter, pts=int, limit=int, }) +updates.ChannelDifference = updates.getChannelDifference({force=Bool, channel=InputChannel, filter=ChannelMessagesFilter, pts=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v72/methods/updates.getDifference.md b/old_docs/API_docs_v72/methods/updates.getDifference.md index bcfac4e2..b3796a10 100644 --- a/old_docs/API_docs_v72/methods/updates.getDifference.md +++ b/old_docs/API_docs_v72/methods/updates.getDifference.md @@ -19,7 +19,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz for more |qts|[int](../types/int.md) | You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates | Yes| -### Return type: [updates\_Difference](../types/updates_Difference.md) +### Return type: [updates.Difference](../types/updates.Difference.md) ### Can bots use this method: **YES** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$updates_Difference = $MadelineProto->updates->getDifference(['pts' => int, 'pts_total_limit' => int, 'date' => int, 'qts' => int, ]); +$updates.Difference = $MadelineProto->updates->getDifference(['pts' => int, 'pts_total_limit' => int, 'date' => int, 'qts' => int, ]); ``` Or, if you're into Lua: ```lua -updates_Difference = updates.getDifference({pts=int, pts_total_limit=int, date=int, qts=int, }) +updates.Difference = updates.getDifference({pts=int, pts_total_limit=int, date=int, qts=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v72/methods/updates.getState.md b/old_docs/API_docs_v72/methods/updates.getState.md index c591408a..9a7d2f34 100644 --- a/old_docs/API_docs_v72/methods/updates.getState.md +++ b/old_docs/API_docs_v72/methods/updates.getState.md @@ -11,7 +11,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz for more -### Return type: [updates\_State](../types/updates_State.md) +### Return type: [updates.State](../types/updates.State.md) ### Can bots use this method: **YES** @@ -28,13 +28,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$updates_State = $MadelineProto->updates->getState(); +$updates.State = $MadelineProto->updates->getState(); ``` Or, if you're into Lua: ```lua -updates_State = updates.getState({}) +updates.State = updates.getState({}) ``` ### Errors diff --git a/old_docs/API_docs_v72/methods/upload.getCdnFile.md b/old_docs/API_docs_v72/methods/upload.getCdnFile.md index a3c928b2..67b2e84e 100644 --- a/old_docs/API_docs_v72/methods/upload.getCdnFile.md +++ b/old_docs/API_docs_v72/methods/upload.getCdnFile.md @@ -18,7 +18,7 @@ You cannot use this method directly, use the upload, downloadToStream, downloadT |limit|[int](../types/int.md) | You cannot use this method directly, use the upload, downloadToStream, downloadToFile, downloadToDir methods instead; see https://docs.madelineproto.xyz for more info | Yes| -### Return type: [upload\_CdnFile](../types/upload_CdnFile.md) +### Return type: [upload.CdnFile](../types/upload.CdnFile.md) ### Can bots use this method: **NO** @@ -35,12 +35,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$upload_CdnFile = $MadelineProto->upload->getCdnFile(['file_token' => 'bytes', 'offset' => int, 'limit' => int, ]); +$upload.CdnFile = $MadelineProto->upload->getCdnFile(['file_token' => 'bytes', 'offset' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -upload_CdnFile = upload.getCdnFile({file_token='bytes', offset=int, limit=int, }) +upload.CdnFile = upload.getCdnFile({file_token='bytes', offset=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v72/methods/upload.getFile.md b/old_docs/API_docs_v72/methods/upload.getFile.md index 8aba03d4..ab9f4fe2 100644 --- a/old_docs/API_docs_v72/methods/upload.getFile.md +++ b/old_docs/API_docs_v72/methods/upload.getFile.md @@ -18,7 +18,7 @@ You cannot use this method directly, use the upload, downloadToStream, downloadT |limit|[int](../types/int.md) | You cannot use this method directly, use the upload, downloadToStream, downloadToFile, downloadToDir methods instead; see https://docs.madelineproto.xyz for more info | Yes| -### Return type: [upload\_File](../types/upload_File.md) +### Return type: [upload.File](../types/upload.File.md) ### Can bots use this method: **YES** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$upload_File = $MadelineProto->upload->getFile(['location' => InputFileLocation, 'offset' => int, 'limit' => int, ]); +$upload.File = $MadelineProto->upload->getFile(['location' => InputFileLocation, 'offset' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -upload_File = upload.getFile({location=InputFileLocation, offset=int, limit=int, }) +upload.File = upload.getFile({location=InputFileLocation, offset=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v72/methods/upload.getWebFile.md b/old_docs/API_docs_v72/methods/upload.getWebFile.md index 32f6b322..60f1b8c1 100644 --- a/old_docs/API_docs_v72/methods/upload.getWebFile.md +++ b/old_docs/API_docs_v72/methods/upload.getWebFile.md @@ -18,7 +18,7 @@ Returns content of an HTTP file or a part, by proxying the request through teleg |limit|[int](../types/int.md) | Number of bytes to be returned | Yes| -### Return type: [upload\_WebFile](../types/upload_WebFile.md) +### Return type: [upload.WebFile](../types/upload.WebFile.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$upload_WebFile = $MadelineProto->upload->getWebFile(['location' => InputWebFileLocation, 'offset' => int, 'limit' => int, ]); +$upload.WebFile = $MadelineProto->upload->getWebFile(['location' => InputWebFileLocation, 'offset' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -upload_WebFile = upload.getWebFile({location=InputWebFileLocation, offset=int, limit=int, }) +upload.WebFile = upload.getWebFile({location=InputWebFileLocation, offset=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v72/types/AccountDaysTTL.md b/old_docs/API_docs_v72/types/AccountDaysTTL.md index 12a10190..f3494aac 100644 --- a/old_docs/API_docs_v72/types/AccountDaysTTL.md +++ b/old_docs/API_docs_v72/types/AccountDaysTTL.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->account->getAccountTTL](../methods/account_getAccountTTL.md) +[$MadelineProto->account->getAccountTTL](../methods/account.getAccountTTL.md) diff --git a/old_docs/API_docs_v72/types/CdnConfig.md b/old_docs/API_docs_v72/types/CdnConfig.md index fbfe01c3..0b0fb5be 100644 --- a/old_docs/API_docs_v72/types/CdnConfig.md +++ b/old_docs/API_docs_v72/types/CdnConfig.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->help->getCdnConfig](../methods/help_getCdnConfig.md) +[$MadelineProto->help->getCdnConfig](../methods/help.getCdnConfig.md) diff --git a/old_docs/API_docs_v72/types/CdnFileHash.md b/old_docs/API_docs_v72/types/CdnFileHash.md index 006bc256..cbb19024 100644 --- a/old_docs/API_docs_v72/types/CdnFileHash.md +++ b/old_docs/API_docs_v72/types/CdnFileHash.md @@ -16,9 +16,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->upload->reuploadCdnFile](../methods/upload_reuploadCdnFile.md) +[$MadelineProto->upload->reuploadCdnFile](../methods/upload.reuploadCdnFile.md) -[$MadelineProto->upload->getCdnFileHashes](../methods/upload_getCdnFileHashes.md) +[$MadelineProto->upload->getCdnFileHashes](../methods/upload.getCdnFileHashes.md) diff --git a/old_docs/API_docs_v72/types/ChatInvite.md b/old_docs/API_docs_v72/types/ChatInvite.md index 5022a2f0..9fafabb4 100644 --- a/old_docs/API_docs_v72/types/ChatInvite.md +++ b/old_docs/API_docs_v72/types/ChatInvite.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->checkChatInvite](../methods/messages_checkChatInvite.md) +[$MadelineProto->messages->checkChatInvite](../methods/messages.checkChatInvite.md) diff --git a/old_docs/API_docs_v72/types/Config.md b/old_docs/API_docs_v72/types/Config.md index 0f7fbe70..3a23b7b7 100644 --- a/old_docs/API_docs_v72/types/Config.md +++ b/old_docs/API_docs_v72/types/Config.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->help->getConfig](../methods/help_getConfig.md) +[$MadelineProto->help->getConfig](../methods/help.getConfig.md) diff --git a/old_docs/API_docs_v72/types/ContactStatus.md b/old_docs/API_docs_v72/types/ContactStatus.md index c5f5d658..30aee6e2 100644 --- a/old_docs/API_docs_v72/types/ContactStatus.md +++ b/old_docs/API_docs_v72/types/ContactStatus.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->contacts->getStatuses](../methods/contacts_getStatuses.md) +[$MadelineProto->contacts->getStatuses](../methods/contacts.getStatuses.md) diff --git a/old_docs/API_docs_v72/types/DestroyAuthKeyRes.md b/old_docs/API_docs_v72/types/DestroyAuthKeyRes.md index 947e79cc..6b877d82 100644 --- a/old_docs/API_docs_v72/types/DestroyAuthKeyRes.md +++ b/old_docs/API_docs_v72/types/DestroyAuthKeyRes.md @@ -20,7 +20,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->destroy->auth->key](../methods/destroy_auth_key.md) +[$MadelineProto->destroy\_auth\_key](../methods/destroy_auth_key.md) diff --git a/old_docs/API_docs_v72/types/DestroySessionRes.md b/old_docs/API_docs_v72/types/DestroySessionRes.md index dbc73cdf..dc5d2bc3 100644 --- a/old_docs/API_docs_v72/types/DestroySessionRes.md +++ b/old_docs/API_docs_v72/types/DestroySessionRes.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->destroy->session](../methods/destroy_session.md) +[$MadelineProto->destroy\_session](../methods/destroy_session.md) diff --git a/old_docs/API_docs_v72/types/Document.md b/old_docs/API_docs_v72/types/Document.md index f68b7aa4..2cb85623 100644 --- a/old_docs/API_docs_v72/types/Document.md +++ b/old_docs/API_docs_v72/types/Document.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getDocumentByHash](../methods/messages_getDocumentByHash.md) +[$MadelineProto->messages->getDocumentByHash](../methods/messages.getDocumentByHash.md) diff --git a/old_docs/API_docs_v72/types/EncryptedChat.md b/old_docs/API_docs_v72/types/EncryptedChat.md index fd2277f6..19cf52b0 100644 --- a/old_docs/API_docs_v72/types/EncryptedChat.md +++ b/old_docs/API_docs_v72/types/EncryptedChat.md @@ -24,9 +24,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->requestEncryption](../methods/messages_requestEncryption.md) +[$MadelineProto->messages->requestEncryption](../methods/messages.requestEncryption.md) -[$MadelineProto->messages->acceptEncryption](../methods/messages_acceptEncryption.md) +[$MadelineProto->messages->acceptEncryption](../methods/messages.acceptEncryption.md) diff --git a/old_docs/API_docs_v72/types/ExportedChatInvite.md b/old_docs/API_docs_v72/types/ExportedChatInvite.md index 4213a78f..53ce5f59 100644 --- a/old_docs/API_docs_v72/types/ExportedChatInvite.md +++ b/old_docs/API_docs_v72/types/ExportedChatInvite.md @@ -18,9 +18,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->exportChatInvite](../methods/messages_exportChatInvite.md) +[$MadelineProto->messages->exportChatInvite](../methods/messages.exportChatInvite.md) -[$MadelineProto->channels->exportInvite](../methods/channels_exportInvite.md) +[$MadelineProto->channels->exportInvite](../methods/channels.exportInvite.md) diff --git a/old_docs/API_docs_v72/types/ExportedMessageLink.md b/old_docs/API_docs_v72/types/ExportedMessageLink.md index eb2400f6..948e9c90 100644 --- a/old_docs/API_docs_v72/types/ExportedMessageLink.md +++ b/old_docs/API_docs_v72/types/ExportedMessageLink.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->channels->exportMessageLink](../methods/channels_exportMessageLink.md) +[$MadelineProto->channels->exportMessageLink](../methods/channels.exportMessageLink.md) diff --git a/old_docs/API_docs_v72/types/FutureSalts.md b/old_docs/API_docs_v72/types/FutureSalts.md index 5cb9f9e1..3a10b4a2 100644 --- a/old_docs/API_docs_v72/types/FutureSalts.md +++ b/old_docs/API_docs_v72/types/FutureSalts.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->get->future->salts](../methods/get_future_salts.md) +[$MadelineProto->get\_future\_salts](../methods/get_future_salts.md) diff --git a/old_docs/API_docs_v72/types/LangPackDifference.md b/old_docs/API_docs_v72/types/LangPackDifference.md index fd9f41f2..e04125b8 100644 --- a/old_docs/API_docs_v72/types/LangPackDifference.md +++ b/old_docs/API_docs_v72/types/LangPackDifference.md @@ -16,9 +16,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->langpack->getLangPack](../methods/langpack_getLangPack.md) +[$MadelineProto->langpack->getLangPack](../methods/langpack.getLangPack.md) -[$MadelineProto->langpack->getDifference](../methods/langpack_getDifference.md) +[$MadelineProto->langpack->getDifference](../methods/langpack.getDifference.md) diff --git a/old_docs/API_docs_v72/types/LangPackLanguage.md b/old_docs/API_docs_v72/types/LangPackLanguage.md index f7459fc2..280d0243 100644 --- a/old_docs/API_docs_v72/types/LangPackLanguage.md +++ b/old_docs/API_docs_v72/types/LangPackLanguage.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->langpack->getLanguages](../methods/langpack_getLanguages.md) +[$MadelineProto->langpack->getLanguages](../methods/langpack.getLanguages.md) diff --git a/old_docs/API_docs_v72/types/LangPackString.md b/old_docs/API_docs_v72/types/LangPackString.md index f1a43dd9..15f9dc3d 100644 --- a/old_docs/API_docs_v72/types/LangPackString.md +++ b/old_docs/API_docs_v72/types/LangPackString.md @@ -20,7 +20,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->langpack->getStrings](../methods/langpack_getStrings.md) +[$MadelineProto->langpack->getStrings](../methods/langpack.getStrings.md) diff --git a/old_docs/API_docs_v72/types/MessageMedia.md b/old_docs/API_docs_v72/types/MessageMedia.md index fa00818d..23c0e9a5 100644 --- a/old_docs/API_docs_v72/types/MessageMedia.md +++ b/old_docs/API_docs_v72/types/MessageMedia.md @@ -36,9 +36,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getWebPagePreview](../methods/messages_getWebPagePreview.md) +[$MadelineProto->messages->getWebPagePreview](../methods/messages.getWebPagePreview.md) -[$MadelineProto->messages->uploadMedia](../methods/messages_uploadMedia.md) +[$MadelineProto->messages->uploadMedia](../methods/messages.uploadMedia.md) diff --git a/old_docs/API_docs_v72/types/NearestDc.md b/old_docs/API_docs_v72/types/NearestDc.md index 31f24377..296a4dff 100644 --- a/old_docs/API_docs_v72/types/NearestDc.md +++ b/old_docs/API_docs_v72/types/NearestDc.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->help->getNearestDc](../methods/help_getNearestDc.md) +[$MadelineProto->help->getNearestDc](../methods/help.getNearestDc.md) diff --git a/old_docs/API_docs_v72/types/PeerNotifySettings.md b/old_docs/API_docs_v72/types/PeerNotifySettings.md index 769de075..3d72b7c5 100644 --- a/old_docs/API_docs_v72/types/PeerNotifySettings.md +++ b/old_docs/API_docs_v72/types/PeerNotifySettings.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->account->getNotifySettings](../methods/account_getNotifySettings.md) +[$MadelineProto->account->getNotifySettings](../methods/account.getNotifySettings.md) diff --git a/old_docs/API_docs_v72/types/PeerSettings.md b/old_docs/API_docs_v72/types/PeerSettings.md index 60ac3765..31ef7e38 100644 --- a/old_docs/API_docs_v72/types/PeerSettings.md +++ b/old_docs/API_docs_v72/types/PeerSettings.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getPeerSettings](../methods/messages_getPeerSettings.md) +[$MadelineProto->messages->getPeerSettings](../methods/messages.getPeerSettings.md) diff --git a/old_docs/API_docs_v72/types/Pong.md b/old_docs/API_docs_v72/types/Pong.md index 7658af03..aa25a60e 100644 --- a/old_docs/API_docs_v72/types/Pong.md +++ b/old_docs/API_docs_v72/types/Pong.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png [$MadelineProto->ping](../methods/ping.md) -[$MadelineProto->ping->delay->disconnect](../methods/ping_delay_disconnect.md) +[$MadelineProto->ping\_delay\_disconnect](../methods/ping_delay_disconnect.md) diff --git a/old_docs/API_docs_v72/types/README.md b/old_docs/API_docs_v72/types/README.md index 64713b0d..6ee5c4a7 100644 --- a/old_docs/API_docs_v72/types/README.md +++ b/old_docs/API_docs_v72/types/README.md @@ -333,141 +333,141 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png [X](X.md) -[account\_Authorizations](account_Authorizations.md) +[account.Authorizations](account.Authorizations.md) -[account\_Password](account_Password.md) +[account.Password](account.Password.md) -[account\_PasswordInputSettings](account_PasswordInputSettings.md) +[account.PasswordInputSettings](account.PasswordInputSettings.md) -[account\_PasswordSettings](account_PasswordSettings.md) +[account.PasswordSettings](account.PasswordSettings.md) -[account\_PrivacyRules](account_PrivacyRules.md) +[account.PrivacyRules](account.PrivacyRules.md) -[account\_TmpPassword](account_TmpPassword.md) +[account.TmpPassword](account.TmpPassword.md) -[auth\_Authorization](auth_Authorization.md) +[auth.Authorization](auth.Authorization.md) -[auth\_CheckedPhone](auth_CheckedPhone.md) +[auth.CheckedPhone](auth.CheckedPhone.md) -[auth\_CodeType](auth_CodeType.md) +[auth.CodeType](auth.CodeType.md) -[auth\_ExportedAuthorization](auth_ExportedAuthorization.md) +[auth.ExportedAuthorization](auth.ExportedAuthorization.md) -[auth\_PasswordRecovery](auth_PasswordRecovery.md) +[auth.PasswordRecovery](auth.PasswordRecovery.md) -[auth\_SentCode](auth_SentCode.md) +[auth.SentCode](auth.SentCode.md) -[auth\_SentCodeType](auth_SentCodeType.md) +[auth.SentCodeType](auth.SentCodeType.md) -[channels\_AdminLogResults](channels_AdminLogResults.md) +[channels.AdminLogResults](channels.AdminLogResults.md) -[channels\_ChannelParticipant](channels_ChannelParticipant.md) +[channels.ChannelParticipant](channels.ChannelParticipant.md) -[channels\_ChannelParticipants](channels_ChannelParticipants.md) +[channels.ChannelParticipants](channels.ChannelParticipants.md) -[contacts\_Blocked](contacts_Blocked.md) +[contacts.Blocked](contacts.Blocked.md) -[contacts\_Contacts](contacts_Contacts.md) +[contacts.Contacts](contacts.Contacts.md) -[contacts\_Found](contacts_Found.md) +[contacts.Found](contacts.Found.md) -[contacts\_ImportedContacts](contacts_ImportedContacts.md) +[contacts.ImportedContacts](contacts.ImportedContacts.md) -[contacts\_Link](contacts_Link.md) +[contacts.Link](contacts.Link.md) -[contacts\_ResolvedPeer](contacts_ResolvedPeer.md) +[contacts.ResolvedPeer](contacts.ResolvedPeer.md) -[contacts\_TopPeers](contacts_TopPeers.md) +[contacts.TopPeers](contacts.TopPeers.md) -[help\_AppUpdate](help_AppUpdate.md) +[help.AppUpdate](help.AppUpdate.md) -[help\_ConfigSimple](help_ConfigSimple.md) +[help.ConfigSimple](help.ConfigSimple.md) -[help\_InviteText](help_InviteText.md) +[help.InviteText](help.InviteText.md) -[help\_RecentMeUrls](help_RecentMeUrls.md) +[help.RecentMeUrls](help.RecentMeUrls.md) -[help\_Support](help_Support.md) +[help.Support](help.Support.md) -[help\_TermsOfService](help_TermsOfService.md) +[help.TermsOfService](help.TermsOfService.md) [int](int.md) [long](long.md) -[messages\_AffectedHistory](messages_AffectedHistory.md) +[messages.AffectedHistory](messages.AffectedHistory.md) -[messages\_AffectedMessages](messages_AffectedMessages.md) +[messages.AffectedMessages](messages.AffectedMessages.md) -[messages\_AllStickers](messages_AllStickers.md) +[messages.AllStickers](messages.AllStickers.md) -[messages\_ArchivedStickers](messages_ArchivedStickers.md) +[messages.ArchivedStickers](messages.ArchivedStickers.md) -[messages\_BotCallbackAnswer](messages_BotCallbackAnswer.md) +[messages.BotCallbackAnswer](messages.BotCallbackAnswer.md) -[messages\_BotResults](messages_BotResults.md) +[messages.BotResults](messages.BotResults.md) -[messages\_ChatFull](messages_ChatFull.md) +[messages.ChatFull](messages.ChatFull.md) -[messages\_Chats](messages_Chats.md) +[messages.Chats](messages.Chats.md) -[messages\_DhConfig](messages_DhConfig.md) +[messages.DhConfig](messages.DhConfig.md) -[messages\_Dialogs](messages_Dialogs.md) +[messages.Dialogs](messages.Dialogs.md) -[messages\_FavedStickers](messages_FavedStickers.md) +[messages.FavedStickers](messages.FavedStickers.md) -[messages\_FeaturedStickers](messages_FeaturedStickers.md) +[messages.FeaturedStickers](messages.FeaturedStickers.md) -[messages\_FoundGifs](messages_FoundGifs.md) +[messages.FoundGifs](messages.FoundGifs.md) -[messages\_HighScores](messages_HighScores.md) +[messages.HighScores](messages.HighScores.md) -[messages\_MessageEditData](messages_MessageEditData.md) +[messages.MessageEditData](messages.MessageEditData.md) -[messages\_Messages](messages_Messages.md) +[messages.Messages](messages.Messages.md) -[messages\_PeerDialogs](messages_PeerDialogs.md) +[messages.PeerDialogs](messages.PeerDialogs.md) -[messages\_RecentStickers](messages_RecentStickers.md) +[messages.RecentStickers](messages.RecentStickers.md) -[messages\_SavedGifs](messages_SavedGifs.md) +[messages.SavedGifs](messages.SavedGifs.md) -[messages\_SentEncryptedMessage](messages_SentEncryptedMessage.md) +[messages.SentEncryptedMessage](messages.SentEncryptedMessage.md) -[messages\_StickerSet](messages_StickerSet.md) +[messages.StickerSet](messages.StickerSet.md) -[messages\_StickerSetInstallResult](messages_StickerSetInstallResult.md) +[messages.StickerSetInstallResult](messages.StickerSetInstallResult.md) -[messages\_Stickers](messages_Stickers.md) +[messages.Stickers](messages.Stickers.md) -[payments\_PaymentForm](payments_PaymentForm.md) +[payments.PaymentForm](payments.PaymentForm.md) -[payments\_PaymentReceipt](payments_PaymentReceipt.md) +[payments.PaymentReceipt](payments.PaymentReceipt.md) -[payments\_PaymentResult](payments_PaymentResult.md) +[payments.PaymentResult](payments.PaymentResult.md) -[payments\_SavedInfo](payments_SavedInfo.md) +[payments.SavedInfo](payments.SavedInfo.md) -[payments\_ValidatedRequestedInfo](payments_ValidatedRequestedInfo.md) +[payments.ValidatedRequestedInfo](payments.ValidatedRequestedInfo.md) -[phone\_PhoneCall](phone_PhoneCall.md) +[phone.PhoneCall](phone.PhoneCall.md) -[photos\_Photo](photos_Photo.md) +[photos.Photo](photos.Photo.md) -[photos\_Photos](photos_Photos.md) +[photos.Photos](photos.Photos.md) -[storage\_FileType](storage_FileType.md) +[storage.FileType](storage.FileType.md) -[updates\_ChannelDifference](updates_ChannelDifference.md) +[updates.ChannelDifference](updates.ChannelDifference.md) -[updates\_Difference](updates_Difference.md) +[updates.Difference](updates.Difference.md) -[updates\_State](updates_State.md) +[updates.State](updates.State.md) -[upload\_CdnFile](upload_CdnFile.md) +[upload.CdnFile](upload.CdnFile.md) -[upload\_File](upload_File.md) +[upload.File](upload.File.md) -[upload\_WebFile](upload_WebFile.md) +[upload.WebFile](upload.WebFile.md) diff --git a/old_docs/API_docs_v72/types/ReceivedNotifyMessage.md b/old_docs/API_docs_v72/types/ReceivedNotifyMessage.md index c7fc3b8c..416aa275 100644 --- a/old_docs/API_docs_v72/types/ReceivedNotifyMessage.md +++ b/old_docs/API_docs_v72/types/ReceivedNotifyMessage.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->receivedMessages](../methods/messages_receivedMessages.md) +[$MadelineProto->messages->receivedMessages](../methods/messages.receivedMessages.md) diff --git a/old_docs/API_docs_v72/types/ResPQ.md b/old_docs/API_docs_v72/types/ResPQ.md index ebd5c8ed..860ee76d 100644 --- a/old_docs/API_docs_v72/types/ResPQ.md +++ b/old_docs/API_docs_v72/types/ResPQ.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->req->pq](../methods/req_pq.md) +[$MadelineProto->req\_pq](../methods/req_pq.md) diff --git a/old_docs/API_docs_v72/types/RpcDropAnswer.md b/old_docs/API_docs_v72/types/RpcDropAnswer.md index 4fb1ced7..05586b65 100644 --- a/old_docs/API_docs_v72/types/RpcDropAnswer.md +++ b/old_docs/API_docs_v72/types/RpcDropAnswer.md @@ -20,7 +20,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->rpc->drop->answer](../methods/rpc_drop_answer.md) +[$MadelineProto->rpc\_drop\_answer](../methods/rpc_drop_answer.md) diff --git a/old_docs/API_docs_v72/types/Server_DH_Params.md b/old_docs/API_docs_v72/types/Server_DH_Params.md index e007d828..40530f7e 100644 --- a/old_docs/API_docs_v72/types/Server_DH_Params.md +++ b/old_docs/API_docs_v72/types/Server_DH_Params.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->req->DH->params](../methods/req_DH_params.md) +[$MadelineProto->req\_DH\_params](../methods/req_DH_params.md) diff --git a/old_docs/API_docs_v72/types/Set_client_DH_params_answer.md b/old_docs/API_docs_v72/types/Set_client_DH_params_answer.md index f316e712..523432b7 100644 --- a/old_docs/API_docs_v72/types/Set_client_DH_params_answer.md +++ b/old_docs/API_docs_v72/types/Set_client_DH_params_answer.md @@ -20,7 +20,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->set->client->DH->params](../methods/set_client_DH_params.md) +[$MadelineProto->set\_client\_DH\_params](../methods/set_client_DH_params.md) diff --git a/old_docs/API_docs_v72/types/StickerSetCovered.md b/old_docs/API_docs_v72/types/StickerSetCovered.md index ffd1da1f..f57cd117 100644 --- a/old_docs/API_docs_v72/types/StickerSetCovered.md +++ b/old_docs/API_docs_v72/types/StickerSetCovered.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getAttachedStickers](../methods/messages_getAttachedStickers.md) +[$MadelineProto->messages->getAttachedStickers](../methods/messages.getAttachedStickers.md) diff --git a/old_docs/API_docs_v72/types/Updates.md b/old_docs/API_docs_v72/types/Updates.md index f0718bc1..3349c2d6 100644 --- a/old_docs/API_docs_v72/types/Updates.md +++ b/old_docs/API_docs_v72/types/Updates.md @@ -28,73 +28,73 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->sendMessage](../methods/messages_sendMessage.md) +[$MadelineProto->messages->sendMessage](../methods/messages.sendMessage.md) -[$MadelineProto->messages->sendMedia](../methods/messages_sendMedia.md) +[$MadelineProto->messages->sendMedia](../methods/messages.sendMedia.md) -[$MadelineProto->messages->forwardMessages](../methods/messages_forwardMessages.md) +[$MadelineProto->messages->forwardMessages](../methods/messages.forwardMessages.md) -[$MadelineProto->messages->editChatTitle](../methods/messages_editChatTitle.md) +[$MadelineProto->messages->editChatTitle](../methods/messages.editChatTitle.md) -[$MadelineProto->messages->editChatPhoto](../methods/messages_editChatPhoto.md) +[$MadelineProto->messages->editChatPhoto](../methods/messages.editChatPhoto.md) -[$MadelineProto->messages->addChatUser](../methods/messages_addChatUser.md) +[$MadelineProto->messages->addChatUser](../methods/messages.addChatUser.md) -[$MadelineProto->messages->deleteChatUser](../methods/messages_deleteChatUser.md) +[$MadelineProto->messages->deleteChatUser](../methods/messages.deleteChatUser.md) -[$MadelineProto->messages->createChat](../methods/messages_createChat.md) +[$MadelineProto->messages->createChat](../methods/messages.createChat.md) -[$MadelineProto->messages->forwardMessage](../methods/messages_forwardMessage.md) +[$MadelineProto->messages->forwardMessage](../methods/messages.forwardMessage.md) -[$MadelineProto->messages->importChatInvite](../methods/messages_importChatInvite.md) +[$MadelineProto->messages->importChatInvite](../methods/messages.importChatInvite.md) -[$MadelineProto->messages->startBot](../methods/messages_startBot.md) +[$MadelineProto->messages->startBot](../methods/messages.startBot.md) -[$MadelineProto->messages->toggleChatAdmins](../methods/messages_toggleChatAdmins.md) +[$MadelineProto->messages->toggleChatAdmins](../methods/messages.toggleChatAdmins.md) -[$MadelineProto->messages->migrateChat](../methods/messages_migrateChat.md) +[$MadelineProto->messages->migrateChat](../methods/messages.migrateChat.md) -[$MadelineProto->messages->sendInlineBotResult](../methods/messages_sendInlineBotResult.md) +[$MadelineProto->messages->sendInlineBotResult](../methods/messages.sendInlineBotResult.md) -[$MadelineProto->messages->editMessage](../methods/messages_editMessage.md) +[$MadelineProto->messages->editMessage](../methods/messages.editMessage.md) -[$MadelineProto->messages->getAllDrafts](../methods/messages_getAllDrafts.md) +[$MadelineProto->messages->getAllDrafts](../methods/messages.getAllDrafts.md) -[$MadelineProto->messages->setGameScore](../methods/messages_setGameScore.md) +[$MadelineProto->messages->setGameScore](../methods/messages.setGameScore.md) -[$MadelineProto->messages->sendScreenshotNotification](../methods/messages_sendScreenshotNotification.md) +[$MadelineProto->messages->sendScreenshotNotification](../methods/messages.sendScreenshotNotification.md) -[$MadelineProto->help->getAppChangelog](../methods/help_getAppChangelog.md) +[$MadelineProto->help->getAppChangelog](../methods/help.getAppChangelog.md) -[$MadelineProto->channels->createChannel](../methods/channels_createChannel.md) +[$MadelineProto->channels->createChannel](../methods/channels.createChannel.md) -[$MadelineProto->channels->editAdmin](../methods/channels_editAdmin.md) +[$MadelineProto->channels->editAdmin](../methods/channels.editAdmin.md) -[$MadelineProto->channels->editTitle](../methods/channels_editTitle.md) +[$MadelineProto->channels->editTitle](../methods/channels.editTitle.md) -[$MadelineProto->channels->editPhoto](../methods/channels_editPhoto.md) +[$MadelineProto->channels->editPhoto](../methods/channels.editPhoto.md) -[$MadelineProto->channels->joinChannel](../methods/channels_joinChannel.md) +[$MadelineProto->channels->joinChannel](../methods/channels.joinChannel.md) -[$MadelineProto->channels->leaveChannel](../methods/channels_leaveChannel.md) +[$MadelineProto->channels->leaveChannel](../methods/channels.leaveChannel.md) -[$MadelineProto->channels->inviteToChannel](../methods/channels_inviteToChannel.md) +[$MadelineProto->channels->inviteToChannel](../methods/channels.inviteToChannel.md) -[$MadelineProto->channels->deleteChannel](../methods/channels_deleteChannel.md) +[$MadelineProto->channels->deleteChannel](../methods/channels.deleteChannel.md) -[$MadelineProto->channels->toggleInvites](../methods/channels_toggleInvites.md) +[$MadelineProto->channels->toggleInvites](../methods/channels.toggleInvites.md) -[$MadelineProto->channels->toggleSignatures](../methods/channels_toggleSignatures.md) +[$MadelineProto->channels->toggleSignatures](../methods/channels.toggleSignatures.md) -[$MadelineProto->channels->updatePinnedMessage](../methods/channels_updatePinnedMessage.md) +[$MadelineProto->channels->updatePinnedMessage](../methods/channels.updatePinnedMessage.md) -[$MadelineProto->channels->editBanned](../methods/channels_editBanned.md) +[$MadelineProto->channels->editBanned](../methods/channels.editBanned.md) -[$MadelineProto->channels->togglePreHistoryHidden](../methods/channels_togglePreHistoryHidden.md) +[$MadelineProto->channels->togglePreHistoryHidden](../methods/channels.togglePreHistoryHidden.md) -[$MadelineProto->phone->discardCall](../methods/phone_discardCall.md) +[$MadelineProto->phone->discardCall](../methods/phone.discardCall.md) -[$MadelineProto->phone->setCallRating](../methods/phone_setCallRating.md) +[$MadelineProto->phone->setCallRating](../methods/phone.setCallRating.md) diff --git a/old_docs/API_docs_v72/types/User.md b/old_docs/API_docs_v72/types/User.md index 3abd182f..a2e028f4 100644 --- a/old_docs/API_docs_v72/types/User.md +++ b/old_docs/API_docs_v72/types/User.md @@ -42,15 +42,15 @@ A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDia ### Methods that return an object of this type (methods): -[$MadelineProto->account->updateProfile](../methods/account_updateProfile.md) +[$MadelineProto->account->updateProfile](../methods/account.updateProfile.md) -[$MadelineProto->account->updateUsername](../methods/account_updateUsername.md) +[$MadelineProto->account->updateUsername](../methods/account.updateUsername.md) -[$MadelineProto->account->changePhone](../methods/account_changePhone.md) +[$MadelineProto->account->changePhone](../methods/account.changePhone.md) -[$MadelineProto->users->getUsers](../methods/users_getUsers.md) +[$MadelineProto->users->getUsers](../methods/users.getUsers.md) -[$MadelineProto->contacts->importCard](../methods/contacts_importCard.md) +[$MadelineProto->contacts->importCard](../methods/contacts.importCard.md) diff --git a/old_docs/API_docs_v72/types/UserFull.md b/old_docs/API_docs_v72/types/UserFull.md index 79ad30bb..ac50052f 100644 --- a/old_docs/API_docs_v72/types/UserFull.md +++ b/old_docs/API_docs_v72/types/UserFull.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->users->getFullUser](../methods/users_getFullUser.md) +[$MadelineProto->users->getFullUser](../methods/users.getFullUser.md) diff --git a/old_docs/API_docs_v72/types/UserProfilePhoto.md b/old_docs/API_docs_v72/types/UserProfilePhoto.md index e5243a2e..e81e92fd 100644 --- a/old_docs/API_docs_v72/types/UserProfilePhoto.md +++ b/old_docs/API_docs_v72/types/UserProfilePhoto.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->photos->updateProfilePhoto](../methods/photos_updateProfilePhoto.md) +[$MadelineProto->photos->updateProfilePhoto](../methods/photos.updateProfilePhoto.md) diff --git a/old_docs/API_docs_v72/types/WallPaper.md b/old_docs/API_docs_v72/types/WallPaper.md index 8c5ac7cf..45337565 100644 --- a/old_docs/API_docs_v72/types/WallPaper.md +++ b/old_docs/API_docs_v72/types/WallPaper.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->account->getWallPapers](../methods/account_getWallPapers.md) +[$MadelineProto->account->getWallPapers](../methods/account.getWallPapers.md) diff --git a/old_docs/API_docs_v72/types/WebPage.md b/old_docs/API_docs_v72/types/WebPage.md index a3df791f..f6b61c5e 100644 --- a/old_docs/API_docs_v72/types/WebPage.md +++ b/old_docs/API_docs_v72/types/WebPage.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getWebPage](../methods/messages_getWebPage.md) +[$MadelineProto->messages->getWebPage](../methods/messages.getWebPage.md) diff --git a/old_docs/API_docs_v72/types/account.Authorizations.md b/old_docs/API_docs_v72/types/account.Authorizations.md new file mode 100644 index 00000000..f9112038 --- /dev/null +++ b/old_docs/API_docs_v72/types/account.Authorizations.md @@ -0,0 +1,22 @@ +--- +title: account.Authorizations +description: constructors and methods of type account.Authorizations +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.Authorizations +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.authorizations](../constructors/account.authorizations.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getAuthorizations](../methods/account.getAuthorizations.md) + + + diff --git a/old_docs/API_docs_v72/types/account.Password.md b/old_docs/API_docs_v72/types/account.Password.md new file mode 100644 index 00000000..5217ab5e --- /dev/null +++ b/old_docs/API_docs_v72/types/account.Password.md @@ -0,0 +1,24 @@ +--- +title: account.Password +description: constructors and methods of type account.Password +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.Password +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.noPassword](../constructors/account.noPassword.md) + +[account.password](../constructors/account.password.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getPassword](../methods/account.getPassword.md) + + + diff --git a/old_docs/API_docs_v72/types/account.PasswordInputSettings.md b/old_docs/API_docs_v72/types/account.PasswordInputSettings.md new file mode 100644 index 00000000..72e11fdc --- /dev/null +++ b/old_docs/API_docs_v72/types/account.PasswordInputSettings.md @@ -0,0 +1,20 @@ +--- +title: account.PasswordInputSettings +description: constructors and methods of type account.PasswordInputSettings +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.PasswordInputSettings +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.passwordInputSettings](../constructors/account.passwordInputSettings.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v72/types/account.PasswordSettings.md b/old_docs/API_docs_v72/types/account.PasswordSettings.md new file mode 100644 index 00000000..47016832 --- /dev/null +++ b/old_docs/API_docs_v72/types/account.PasswordSettings.md @@ -0,0 +1,22 @@ +--- +title: account.PasswordSettings +description: constructors and methods of type account.PasswordSettings +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.PasswordSettings +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.passwordSettings](../constructors/account.passwordSettings.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getPasswordSettings](../methods/account.getPasswordSettings.md) + + + diff --git a/old_docs/API_docs_v72/types/account.PrivacyRules.md b/old_docs/API_docs_v72/types/account.PrivacyRules.md new file mode 100644 index 00000000..738651ad --- /dev/null +++ b/old_docs/API_docs_v72/types/account.PrivacyRules.md @@ -0,0 +1,24 @@ +--- +title: account.PrivacyRules +description: constructors and methods of type account.PrivacyRules +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.PrivacyRules +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.privacyRules](../constructors/account.privacyRules.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getPrivacy](../methods/account.getPrivacy.md) + +[$MadelineProto->account->setPrivacy](../methods/account.setPrivacy.md) + + + diff --git a/old_docs/API_docs_v72/types/account.TmpPassword.md b/old_docs/API_docs_v72/types/account.TmpPassword.md new file mode 100644 index 00000000..2116c6c0 --- /dev/null +++ b/old_docs/API_docs_v72/types/account.TmpPassword.md @@ -0,0 +1,22 @@ +--- +title: account.TmpPassword +description: constructors and methods of type account.TmpPassword +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.TmpPassword +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.tmpPassword](../constructors/account.tmpPassword.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getTmpPassword](../methods/account.getTmpPassword.md) + + + diff --git a/old_docs/API_docs_v72/types/account_Authorizations.md b/old_docs/API_docs_v72/types/account_Authorizations.md deleted file mode 100644 index 4709ddb5..00000000 --- a/old_docs/API_docs_v72/types/account_Authorizations.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_Authorizations -description: constructors and methods of type account_Authorizations -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_Authorizations -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_authorizations](../constructors/account_authorizations.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getAuthorizations](../methods/account_getAuthorizations.md) - - - diff --git a/old_docs/API_docs_v72/types/account_Password.md b/old_docs/API_docs_v72/types/account_Password.md deleted file mode 100644 index 23e05987..00000000 --- a/old_docs/API_docs_v72/types/account_Password.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: account_Password -description: constructors and methods of type account_Password -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_Password -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_noPassword](../constructors/account_noPassword.md) - -[account\_password](../constructors/account_password.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getPassword](../methods/account_getPassword.md) - - - diff --git a/old_docs/API_docs_v72/types/account_PasswordInputSettings.md b/old_docs/API_docs_v72/types/account_PasswordInputSettings.md deleted file mode 100644 index a6455eb8..00000000 --- a/old_docs/API_docs_v72/types/account_PasswordInputSettings.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: account_PasswordInputSettings -description: constructors and methods of type account_PasswordInputSettings -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_PasswordInputSettings -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_passwordInputSettings](../constructors/account_passwordInputSettings.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v72/types/account_PasswordSettings.md b/old_docs/API_docs_v72/types/account_PasswordSettings.md deleted file mode 100644 index 687eb217..00000000 --- a/old_docs/API_docs_v72/types/account_PasswordSettings.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_PasswordSettings -description: constructors and methods of type account_PasswordSettings -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_PasswordSettings -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_passwordSettings](../constructors/account_passwordSettings.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getPasswordSettings](../methods/account_getPasswordSettings.md) - - - diff --git a/old_docs/API_docs_v72/types/account_PrivacyRules.md b/old_docs/API_docs_v72/types/account_PrivacyRules.md deleted file mode 100644 index 40b00077..00000000 --- a/old_docs/API_docs_v72/types/account_PrivacyRules.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: account_PrivacyRules -description: constructors and methods of type account_PrivacyRules -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_PrivacyRules -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_privacyRules](../constructors/account_privacyRules.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getPrivacy](../methods/account_getPrivacy.md) - -[$MadelineProto->account->setPrivacy](../methods/account_setPrivacy.md) - - - diff --git a/old_docs/API_docs_v72/types/account_TmpPassword.md b/old_docs/API_docs_v72/types/account_TmpPassword.md deleted file mode 100644 index d7557921..00000000 --- a/old_docs/API_docs_v72/types/account_TmpPassword.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_TmpPassword -description: constructors and methods of type account_TmpPassword -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_TmpPassword -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_tmpPassword](../constructors/account_tmpPassword.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getTmpPassword](../methods/account_getTmpPassword.md) - - - diff --git a/old_docs/API_docs_v72/types/auth.Authorization.md b/old_docs/API_docs_v72/types/auth.Authorization.md new file mode 100644 index 00000000..adcfa7d3 --- /dev/null +++ b/old_docs/API_docs_v72/types/auth.Authorization.md @@ -0,0 +1,32 @@ +--- +title: auth.Authorization +description: constructors and methods of type auth.Authorization +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.Authorization +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.authorization](../constructors/auth.authorization.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->signUp](../methods/auth.signUp.md) + +[$MadelineProto->auth->signIn](../methods/auth.signIn.md) + +[$MadelineProto->auth->importAuthorization](../methods/auth.importAuthorization.md) + +[$MadelineProto->auth->importBotAuthorization](../methods/auth.importBotAuthorization.md) + +[$MadelineProto->auth->checkPassword](../methods/auth.checkPassword.md) + +[$MadelineProto->auth->recoverPassword](../methods/auth.recoverPassword.md) + + + diff --git a/old_docs/API_docs_v72/types/auth.CheckedPhone.md b/old_docs/API_docs_v72/types/auth.CheckedPhone.md new file mode 100644 index 00000000..94af3915 --- /dev/null +++ b/old_docs/API_docs_v72/types/auth.CheckedPhone.md @@ -0,0 +1,22 @@ +--- +title: auth.CheckedPhone +description: constructors and methods of type auth.CheckedPhone +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.CheckedPhone +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.checkedPhone](../constructors/auth.checkedPhone.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->checkPhone](../methods/auth.checkPhone.md) + + + diff --git a/old_docs/API_docs_v72/types/auth.CodeType.md b/old_docs/API_docs_v72/types/auth.CodeType.md new file mode 100644 index 00000000..8d2b308d --- /dev/null +++ b/old_docs/API_docs_v72/types/auth.CodeType.md @@ -0,0 +1,24 @@ +--- +title: auth.CodeType +description: constructors and methods of type auth.CodeType +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.CodeType +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.codeTypeSms](../constructors/auth.codeTypeSms.md) + +[auth.codeTypeCall](../constructors/auth.codeTypeCall.md) + +[auth.codeTypeFlashCall](../constructors/auth.codeTypeFlashCall.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v72/types/auth.ExportedAuthorization.md b/old_docs/API_docs_v72/types/auth.ExportedAuthorization.md new file mode 100644 index 00000000..ccb38d60 --- /dev/null +++ b/old_docs/API_docs_v72/types/auth.ExportedAuthorization.md @@ -0,0 +1,22 @@ +--- +title: auth.ExportedAuthorization +description: constructors and methods of type auth.ExportedAuthorization +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.ExportedAuthorization +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.exportedAuthorization](../constructors/auth.exportedAuthorization.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->exportAuthorization](../methods/auth.exportAuthorization.md) + + + diff --git a/old_docs/API_docs_v72/types/auth.PasswordRecovery.md b/old_docs/API_docs_v72/types/auth.PasswordRecovery.md new file mode 100644 index 00000000..c1c18992 --- /dev/null +++ b/old_docs/API_docs_v72/types/auth.PasswordRecovery.md @@ -0,0 +1,22 @@ +--- +title: auth.PasswordRecovery +description: constructors and methods of type auth.PasswordRecovery +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.PasswordRecovery +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.passwordRecovery](../constructors/auth.passwordRecovery.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->requestPasswordRecovery](../methods/auth.requestPasswordRecovery.md) + + + diff --git a/old_docs/API_docs_v72/types/auth.SentCode.md b/old_docs/API_docs_v72/types/auth.SentCode.md new file mode 100644 index 00000000..c786d77e --- /dev/null +++ b/old_docs/API_docs_v72/types/auth.SentCode.md @@ -0,0 +1,28 @@ +--- +title: auth.SentCode +description: constructors and methods of type auth.SentCode +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.SentCode +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.sentCode](../constructors/auth.sentCode.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->sendCode](../methods/auth.sendCode.md) + +[$MadelineProto->auth->resendCode](../methods/auth.resendCode.md) + +[$MadelineProto->account->sendChangePhoneCode](../methods/account.sendChangePhoneCode.md) + +[$MadelineProto->account->sendConfirmPhoneCode](../methods/account.sendConfirmPhoneCode.md) + + + diff --git a/old_docs/API_docs_v72/types/auth.SentCodeType.md b/old_docs/API_docs_v72/types/auth.SentCodeType.md new file mode 100644 index 00000000..7c7c534e --- /dev/null +++ b/old_docs/API_docs_v72/types/auth.SentCodeType.md @@ -0,0 +1,26 @@ +--- +title: auth.SentCodeType +description: constructors and methods of type auth.SentCodeType +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.SentCodeType +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.sentCodeTypeApp](../constructors/auth.sentCodeTypeApp.md) + +[auth.sentCodeTypeSms](../constructors/auth.sentCodeTypeSms.md) + +[auth.sentCodeTypeCall](../constructors/auth.sentCodeTypeCall.md) + +[auth.sentCodeTypeFlashCall](../constructors/auth.sentCodeTypeFlashCall.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v72/types/auth_Authorization.md b/old_docs/API_docs_v72/types/auth_Authorization.md deleted file mode 100644 index 5a34fc2d..00000000 --- a/old_docs/API_docs_v72/types/auth_Authorization.md +++ /dev/null @@ -1,32 +0,0 @@ ---- -title: auth_Authorization -description: constructors and methods of type auth_Authorization -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_Authorization -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_authorization](../constructors/auth_authorization.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->signUp](../methods/auth_signUp.md) - -[$MadelineProto->auth->signIn](../methods/auth_signIn.md) - -[$MadelineProto->auth->importAuthorization](../methods/auth_importAuthorization.md) - -[$MadelineProto->auth->importBotAuthorization](../methods/auth_importBotAuthorization.md) - -[$MadelineProto->auth->checkPassword](../methods/auth_checkPassword.md) - -[$MadelineProto->auth->recoverPassword](../methods/auth_recoverPassword.md) - - - diff --git a/old_docs/API_docs_v72/types/auth_CheckedPhone.md b/old_docs/API_docs_v72/types/auth_CheckedPhone.md deleted file mode 100644 index e9b0def4..00000000 --- a/old_docs/API_docs_v72/types/auth_CheckedPhone.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: auth_CheckedPhone -description: constructors and methods of type auth_CheckedPhone -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_CheckedPhone -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_checkedPhone](../constructors/auth_checkedPhone.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->checkPhone](../methods/auth_checkPhone.md) - - - diff --git a/old_docs/API_docs_v72/types/auth_CodeType.md b/old_docs/API_docs_v72/types/auth_CodeType.md deleted file mode 100644 index 3cd9a7b7..00000000 --- a/old_docs/API_docs_v72/types/auth_CodeType.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: auth_CodeType -description: constructors and methods of type auth_CodeType -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_CodeType -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_codeTypeSms](../constructors/auth_codeTypeSms.md) - -[auth\_codeTypeCall](../constructors/auth_codeTypeCall.md) - -[auth\_codeTypeFlashCall](../constructors/auth_codeTypeFlashCall.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v72/types/auth_ExportedAuthorization.md b/old_docs/API_docs_v72/types/auth_ExportedAuthorization.md deleted file mode 100644 index 69e5c42e..00000000 --- a/old_docs/API_docs_v72/types/auth_ExportedAuthorization.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: auth_ExportedAuthorization -description: constructors and methods of type auth_ExportedAuthorization -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_ExportedAuthorization -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_exportedAuthorization](../constructors/auth_exportedAuthorization.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->exportAuthorization](../methods/auth_exportAuthorization.md) - - - diff --git a/old_docs/API_docs_v72/types/auth_PasswordRecovery.md b/old_docs/API_docs_v72/types/auth_PasswordRecovery.md deleted file mode 100644 index 4962bf42..00000000 --- a/old_docs/API_docs_v72/types/auth_PasswordRecovery.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: auth_PasswordRecovery -description: constructors and methods of type auth_PasswordRecovery -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_PasswordRecovery -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_passwordRecovery](../constructors/auth_passwordRecovery.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->requestPasswordRecovery](../methods/auth_requestPasswordRecovery.md) - - - diff --git a/old_docs/API_docs_v72/types/auth_SentCode.md b/old_docs/API_docs_v72/types/auth_SentCode.md deleted file mode 100644 index 93734713..00000000 --- a/old_docs/API_docs_v72/types/auth_SentCode.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: auth_SentCode -description: constructors and methods of type auth_SentCode -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_SentCode -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_sentCode](../constructors/auth_sentCode.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->sendCode](../methods/auth_sendCode.md) - -[$MadelineProto->auth->resendCode](../methods/auth_resendCode.md) - -[$MadelineProto->account->sendChangePhoneCode](../methods/account_sendChangePhoneCode.md) - -[$MadelineProto->account->sendConfirmPhoneCode](../methods/account_sendConfirmPhoneCode.md) - - - diff --git a/old_docs/API_docs_v72/types/auth_SentCodeType.md b/old_docs/API_docs_v72/types/auth_SentCodeType.md deleted file mode 100644 index 8dfcb93b..00000000 --- a/old_docs/API_docs_v72/types/auth_SentCodeType.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: auth_SentCodeType -description: constructors and methods of type auth_SentCodeType -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_SentCodeType -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_sentCodeTypeApp](../constructors/auth_sentCodeTypeApp.md) - -[auth\_sentCodeTypeSms](../constructors/auth_sentCodeTypeSms.md) - -[auth\_sentCodeTypeCall](../constructors/auth_sentCodeTypeCall.md) - -[auth\_sentCodeTypeFlashCall](../constructors/auth_sentCodeTypeFlashCall.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v72/types/channels.AdminLogResults.md b/old_docs/API_docs_v72/types/channels.AdminLogResults.md new file mode 100644 index 00000000..7855a4fd --- /dev/null +++ b/old_docs/API_docs_v72/types/channels.AdminLogResults.md @@ -0,0 +1,22 @@ +--- +title: channels.AdminLogResults +description: constructors and methods of type channels.AdminLogResults +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: channels.AdminLogResults +[Back to types index](index.md) + + + +### Possible values (constructors): + +[channels.adminLogResults](../constructors/channels.adminLogResults.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->channels->getAdminLog](../methods/channels.getAdminLog.md) + + + diff --git a/old_docs/API_docs_v72/types/channels.ChannelParticipant.md b/old_docs/API_docs_v72/types/channels.ChannelParticipant.md new file mode 100644 index 00000000..8dc7f7e6 --- /dev/null +++ b/old_docs/API_docs_v72/types/channels.ChannelParticipant.md @@ -0,0 +1,22 @@ +--- +title: channels.ChannelParticipant +description: constructors and methods of type channels.ChannelParticipant +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: channels.ChannelParticipant +[Back to types index](index.md) + + + +### Possible values (constructors): + +[channels.channelParticipant](../constructors/channels.channelParticipant.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->channels->getParticipant](../methods/channels.getParticipant.md) + + + diff --git a/old_docs/API_docs_v72/types/channels.ChannelParticipants.md b/old_docs/API_docs_v72/types/channels.ChannelParticipants.md new file mode 100644 index 00000000..d448e007 --- /dev/null +++ b/old_docs/API_docs_v72/types/channels.ChannelParticipants.md @@ -0,0 +1,24 @@ +--- +title: channels.ChannelParticipants +description: constructors and methods of type channels.ChannelParticipants +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: channels.ChannelParticipants +[Back to types index](index.md) + + + +### Possible values (constructors): + +[channels.channelParticipants](../constructors/channels.channelParticipants.md) + +[channels.channelParticipantsNotModified](../constructors/channels.channelParticipantsNotModified.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->channels->getParticipants](../methods/channels.getParticipants.md) + + + diff --git a/old_docs/API_docs_v72/types/channels_AdminLogResults.md b/old_docs/API_docs_v72/types/channels_AdminLogResults.md deleted file mode 100644 index 4e9b5544..00000000 --- a/old_docs/API_docs_v72/types/channels_AdminLogResults.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: channels_AdminLogResults -description: constructors and methods of type channels_AdminLogResults -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: channels\_AdminLogResults -[Back to types index](index.md) - - - -### Possible values (constructors): - -[channels\_adminLogResults](../constructors/channels_adminLogResults.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->channels->getAdminLog](../methods/channels_getAdminLog.md) - - - diff --git a/old_docs/API_docs_v72/types/channels_ChannelParticipant.md b/old_docs/API_docs_v72/types/channels_ChannelParticipant.md deleted file mode 100644 index 3d4667c3..00000000 --- a/old_docs/API_docs_v72/types/channels_ChannelParticipant.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: channels_ChannelParticipant -description: constructors and methods of type channels_ChannelParticipant -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: channels\_ChannelParticipant -[Back to types index](index.md) - - - -### Possible values (constructors): - -[channels\_channelParticipant](../constructors/channels_channelParticipant.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->channels->getParticipant](../methods/channels_getParticipant.md) - - - diff --git a/old_docs/API_docs_v72/types/channels_ChannelParticipants.md b/old_docs/API_docs_v72/types/channels_ChannelParticipants.md deleted file mode 100644 index 80a41dd9..00000000 --- a/old_docs/API_docs_v72/types/channels_ChannelParticipants.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: channels_ChannelParticipants -description: constructors and methods of type channels_ChannelParticipants -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: channels\_ChannelParticipants -[Back to types index](index.md) - - - -### Possible values (constructors): - -[channels\_channelParticipants](../constructors/channels_channelParticipants.md) - -[channels\_channelParticipantsNotModified](../constructors/channels_channelParticipantsNotModified.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->channels->getParticipants](../methods/channels_getParticipants.md) - - - diff --git a/old_docs/API_docs_v72/types/contacts.Blocked.md b/old_docs/API_docs_v72/types/contacts.Blocked.md new file mode 100644 index 00000000..cb2af80f --- /dev/null +++ b/old_docs/API_docs_v72/types/contacts.Blocked.md @@ -0,0 +1,24 @@ +--- +title: contacts.Blocked +description: constructors and methods of type contacts.Blocked +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Blocked +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.blocked](../constructors/contacts.blocked.md) + +[contacts.blockedSlice](../constructors/contacts.blockedSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getBlocked](../methods/contacts.getBlocked.md) + + + diff --git a/old_docs/API_docs_v72/types/contacts.Contacts.md b/old_docs/API_docs_v72/types/contacts.Contacts.md new file mode 100644 index 00000000..5f695d8e --- /dev/null +++ b/old_docs/API_docs_v72/types/contacts.Contacts.md @@ -0,0 +1,24 @@ +--- +title: contacts.Contacts +description: constructors and methods of type contacts.Contacts +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Contacts +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.contactsNotModified](../constructors/contacts.contactsNotModified.md) + +[contacts.contacts](../constructors/contacts.contacts.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getContacts](../methods/contacts.getContacts.md) + + + diff --git a/old_docs/API_docs_v72/types/contacts.Found.md b/old_docs/API_docs_v72/types/contacts.Found.md new file mode 100644 index 00000000..7df98927 --- /dev/null +++ b/old_docs/API_docs_v72/types/contacts.Found.md @@ -0,0 +1,22 @@ +--- +title: contacts.Found +description: constructors and methods of type contacts.Found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Found +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.found](../constructors/contacts.found.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->search](../methods/contacts.search.md) + + + diff --git a/old_docs/API_docs_v72/types/contacts.ImportedContacts.md b/old_docs/API_docs_v72/types/contacts.ImportedContacts.md new file mode 100644 index 00000000..16795bab --- /dev/null +++ b/old_docs/API_docs_v72/types/contacts.ImportedContacts.md @@ -0,0 +1,22 @@ +--- +title: contacts.ImportedContacts +description: constructors and methods of type contacts.ImportedContacts +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.ImportedContacts +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.importedContacts](../constructors/contacts.importedContacts.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->importContacts](../methods/contacts.importContacts.md) + + + diff --git a/old_docs/API_docs_v72/types/contacts.Link.md b/old_docs/API_docs_v72/types/contacts.Link.md new file mode 100644 index 00000000..eb9da683 --- /dev/null +++ b/old_docs/API_docs_v72/types/contacts.Link.md @@ -0,0 +1,22 @@ +--- +title: contacts.Link +description: constructors and methods of type contacts.Link +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Link +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.link](../constructors/contacts.link.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->deleteContact](../methods/contacts.deleteContact.md) + + + diff --git a/old_docs/API_docs_v72/types/contacts.ResolvedPeer.md b/old_docs/API_docs_v72/types/contacts.ResolvedPeer.md new file mode 100644 index 00000000..13630d54 --- /dev/null +++ b/old_docs/API_docs_v72/types/contacts.ResolvedPeer.md @@ -0,0 +1,22 @@ +--- +title: contacts.ResolvedPeer +description: constructors and methods of type contacts.ResolvedPeer +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.ResolvedPeer +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.resolvedPeer](../constructors/contacts.resolvedPeer.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->resolveUsername](../methods/contacts.resolveUsername.md) + + + diff --git a/old_docs/API_docs_v72/types/contacts.TopPeers.md b/old_docs/API_docs_v72/types/contacts.TopPeers.md new file mode 100644 index 00000000..b8107616 --- /dev/null +++ b/old_docs/API_docs_v72/types/contacts.TopPeers.md @@ -0,0 +1,24 @@ +--- +title: contacts.TopPeers +description: constructors and methods of type contacts.TopPeers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.TopPeers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.topPeersNotModified](../constructors/contacts.topPeersNotModified.md) + +[contacts.topPeers](../constructors/contacts.topPeers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getTopPeers](../methods/contacts.getTopPeers.md) + + + diff --git a/old_docs/API_docs_v72/types/contacts_Blocked.md b/old_docs/API_docs_v72/types/contacts_Blocked.md deleted file mode 100644 index 3e1f02eb..00000000 --- a/old_docs/API_docs_v72/types/contacts_Blocked.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: contacts_Blocked -description: constructors and methods of type contacts_Blocked -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Blocked -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_blocked](../constructors/contacts_blocked.md) - -[contacts\_blockedSlice](../constructors/contacts_blockedSlice.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->getBlocked](../methods/contacts_getBlocked.md) - - - diff --git a/old_docs/API_docs_v72/types/contacts_Contacts.md b/old_docs/API_docs_v72/types/contacts_Contacts.md deleted file mode 100644 index 5d6c9506..00000000 --- a/old_docs/API_docs_v72/types/contacts_Contacts.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: contacts_Contacts -description: constructors and methods of type contacts_Contacts -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Contacts -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_contactsNotModified](../constructors/contacts_contactsNotModified.md) - -[contacts\_contacts](../constructors/contacts_contacts.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->getContacts](../methods/contacts_getContacts.md) - - - diff --git a/old_docs/API_docs_v72/types/contacts_Found.md b/old_docs/API_docs_v72/types/contacts_Found.md deleted file mode 100644 index 806101cf..00000000 --- a/old_docs/API_docs_v72/types/contacts_Found.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_Found -description: constructors and methods of type contacts_Found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Found -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_found](../constructors/contacts_found.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->search](../methods/contacts_search.md) - - - diff --git a/old_docs/API_docs_v72/types/contacts_ImportedContacts.md b/old_docs/API_docs_v72/types/contacts_ImportedContacts.md deleted file mode 100644 index faf7e615..00000000 --- a/old_docs/API_docs_v72/types/contacts_ImportedContacts.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_ImportedContacts -description: constructors and methods of type contacts_ImportedContacts -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_ImportedContacts -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_importedContacts](../constructors/contacts_importedContacts.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->importContacts](../methods/contacts_importContacts.md) - - - diff --git a/old_docs/API_docs_v72/types/contacts_Link.md b/old_docs/API_docs_v72/types/contacts_Link.md deleted file mode 100644 index 01556606..00000000 --- a/old_docs/API_docs_v72/types/contacts_Link.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_Link -description: constructors and methods of type contacts_Link -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Link -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_link](../constructors/contacts_link.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->deleteContact](../methods/contacts_deleteContact.md) - - - diff --git a/old_docs/API_docs_v72/types/contacts_ResolvedPeer.md b/old_docs/API_docs_v72/types/contacts_ResolvedPeer.md deleted file mode 100644 index cf107f7c..00000000 --- a/old_docs/API_docs_v72/types/contacts_ResolvedPeer.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_ResolvedPeer -description: constructors and methods of type contacts_ResolvedPeer -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_ResolvedPeer -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_resolvedPeer](../constructors/contacts_resolvedPeer.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->resolveUsername](../methods/contacts_resolveUsername.md) - - - diff --git a/old_docs/API_docs_v72/types/contacts_TopPeers.md b/old_docs/API_docs_v72/types/contacts_TopPeers.md deleted file mode 100644 index fe4255c7..00000000 --- a/old_docs/API_docs_v72/types/contacts_TopPeers.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: contacts_TopPeers -description: constructors and methods of type contacts_TopPeers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_TopPeers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_topPeersNotModified](../constructors/contacts_topPeersNotModified.md) - -[contacts\_topPeers](../constructors/contacts_topPeers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->getTopPeers](../methods/contacts_getTopPeers.md) - - - diff --git a/old_docs/API_docs_v72/types/help.AppUpdate.md b/old_docs/API_docs_v72/types/help.AppUpdate.md new file mode 100644 index 00000000..285ec2b7 --- /dev/null +++ b/old_docs/API_docs_v72/types/help.AppUpdate.md @@ -0,0 +1,24 @@ +--- +title: help.AppUpdate +description: constructors and methods of type help.AppUpdate +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.AppUpdate +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.appUpdate](../constructors/help.appUpdate.md) + +[help.noAppUpdate](../constructors/help.noAppUpdate.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getAppUpdate](../methods/help.getAppUpdate.md) + + + diff --git a/old_docs/API_docs_v72/types/help.ConfigSimple.md b/old_docs/API_docs_v72/types/help.ConfigSimple.md new file mode 100644 index 00000000..92d9e15f --- /dev/null +++ b/old_docs/API_docs_v72/types/help.ConfigSimple.md @@ -0,0 +1,20 @@ +--- +title: help.ConfigSimple +description: constructors and methods of type help.ConfigSimple +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.ConfigSimple +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.configSimple](../constructors/help.configSimple.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v72/types/help.InviteText.md b/old_docs/API_docs_v72/types/help.InviteText.md new file mode 100644 index 00000000..43293f46 --- /dev/null +++ b/old_docs/API_docs_v72/types/help.InviteText.md @@ -0,0 +1,22 @@ +--- +title: help.InviteText +description: constructors and methods of type help.InviteText +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.InviteText +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.inviteText](../constructors/help.inviteText.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getInviteText](../methods/help.getInviteText.md) + + + diff --git a/old_docs/API_docs_v72/types/help.RecentMeUrls.md b/old_docs/API_docs_v72/types/help.RecentMeUrls.md new file mode 100644 index 00000000..6b7ee2c1 --- /dev/null +++ b/old_docs/API_docs_v72/types/help.RecentMeUrls.md @@ -0,0 +1,22 @@ +--- +title: help.RecentMeUrls +description: constructors and methods of type help.RecentMeUrls +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.RecentMeUrls +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.recentMeUrls](../constructors/help.recentMeUrls.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getRecentMeUrls](../methods/help.getRecentMeUrls.md) + + + diff --git a/old_docs/API_docs_v72/types/help.Support.md b/old_docs/API_docs_v72/types/help.Support.md new file mode 100644 index 00000000..42c20483 --- /dev/null +++ b/old_docs/API_docs_v72/types/help.Support.md @@ -0,0 +1,22 @@ +--- +title: help.Support +description: constructors and methods of type help.Support +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.Support +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.support](../constructors/help.support.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getSupport](../methods/help.getSupport.md) + + + diff --git a/old_docs/API_docs_v72/types/help.TermsOfService.md b/old_docs/API_docs_v72/types/help.TermsOfService.md new file mode 100644 index 00000000..6c29d2e6 --- /dev/null +++ b/old_docs/API_docs_v72/types/help.TermsOfService.md @@ -0,0 +1,22 @@ +--- +title: help.TermsOfService +description: constructors and methods of type help.TermsOfService +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.TermsOfService +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.termsOfService](../constructors/help.termsOfService.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getTermsOfService](../methods/help.getTermsOfService.md) + + + diff --git a/old_docs/API_docs_v72/types/help_AppUpdate.md b/old_docs/API_docs_v72/types/help_AppUpdate.md deleted file mode 100644 index 1f296a70..00000000 --- a/old_docs/API_docs_v72/types/help_AppUpdate.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: help_AppUpdate -description: constructors and methods of type help_AppUpdate -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_AppUpdate -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_appUpdate](../constructors/help_appUpdate.md) - -[help\_noAppUpdate](../constructors/help_noAppUpdate.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getAppUpdate](../methods/help_getAppUpdate.md) - - - diff --git a/old_docs/API_docs_v72/types/help_ConfigSimple.md b/old_docs/API_docs_v72/types/help_ConfigSimple.md deleted file mode 100644 index 81678d74..00000000 --- a/old_docs/API_docs_v72/types/help_ConfigSimple.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: help_ConfigSimple -description: constructors and methods of type help_ConfigSimple -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_ConfigSimple -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_configSimple](../constructors/help_configSimple.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v72/types/help_InviteText.md b/old_docs/API_docs_v72/types/help_InviteText.md deleted file mode 100644 index 018d35bf..00000000 --- a/old_docs/API_docs_v72/types/help_InviteText.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: help_InviteText -description: constructors and methods of type help_InviteText -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_InviteText -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_inviteText](../constructors/help_inviteText.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getInviteText](../methods/help_getInviteText.md) - - - diff --git a/old_docs/API_docs_v72/types/help_RecentMeUrls.md b/old_docs/API_docs_v72/types/help_RecentMeUrls.md deleted file mode 100644 index 691af1c3..00000000 --- a/old_docs/API_docs_v72/types/help_RecentMeUrls.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: help_RecentMeUrls -description: constructors and methods of type help_RecentMeUrls -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_RecentMeUrls -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_recentMeUrls](../constructors/help_recentMeUrls.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getRecentMeUrls](../methods/help_getRecentMeUrls.md) - - - diff --git a/old_docs/API_docs_v72/types/help_Support.md b/old_docs/API_docs_v72/types/help_Support.md deleted file mode 100644 index 26de447b..00000000 --- a/old_docs/API_docs_v72/types/help_Support.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: help_Support -description: constructors and methods of type help_Support -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_Support -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_support](../constructors/help_support.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getSupport](../methods/help_getSupport.md) - - - diff --git a/old_docs/API_docs_v72/types/help_TermsOfService.md b/old_docs/API_docs_v72/types/help_TermsOfService.md deleted file mode 100644 index 84a05df3..00000000 --- a/old_docs/API_docs_v72/types/help_TermsOfService.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: help_TermsOfService -description: constructors and methods of type help_TermsOfService -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_TermsOfService -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_termsOfService](../constructors/help_termsOfService.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getTermsOfService](../methods/help_getTermsOfService.md) - - - diff --git a/old_docs/API_docs_v72/types/messages.AffectedHistory.md b/old_docs/API_docs_v72/types/messages.AffectedHistory.md new file mode 100644 index 00000000..8a1e850a --- /dev/null +++ b/old_docs/API_docs_v72/types/messages.AffectedHistory.md @@ -0,0 +1,26 @@ +--- +title: messages.AffectedHistory +description: constructors and methods of type messages.AffectedHistory +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.AffectedHistory +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.affectedHistory](../constructors/messages.affectedHistory.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->deleteHistory](../methods/messages.deleteHistory.md) + +[$MadelineProto->messages->readMentions](../methods/messages.readMentions.md) + +[$MadelineProto->channels->deleteUserHistory](../methods/channels.deleteUserHistory.md) + + + diff --git a/old_docs/API_docs_v72/types/messages.AffectedMessages.md b/old_docs/API_docs_v72/types/messages.AffectedMessages.md new file mode 100644 index 00000000..a9159de3 --- /dev/null +++ b/old_docs/API_docs_v72/types/messages.AffectedMessages.md @@ -0,0 +1,28 @@ +--- +title: messages.AffectedMessages +description: constructors and methods of type messages.AffectedMessages +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.AffectedMessages +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.affectedMessages](../constructors/messages.affectedMessages.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->readHistory](../methods/messages.readHistory.md) + +[$MadelineProto->messages->deleteMessages](../methods/messages.deleteMessages.md) + +[$MadelineProto->messages->readMessageContents](../methods/messages.readMessageContents.md) + +[$MadelineProto->channels->deleteMessages](../methods/channels.deleteMessages.md) + + + diff --git a/old_docs/API_docs_v72/types/messages.AllStickers.md b/old_docs/API_docs_v72/types/messages.AllStickers.md new file mode 100644 index 00000000..fd8565de --- /dev/null +++ b/old_docs/API_docs_v72/types/messages.AllStickers.md @@ -0,0 +1,26 @@ +--- +title: messages.AllStickers +description: constructors and methods of type messages.AllStickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.AllStickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.allStickersNotModified](../constructors/messages.allStickersNotModified.md) + +[messages.allStickers](../constructors/messages.allStickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getAllStickers](../methods/messages.getAllStickers.md) + +[$MadelineProto->messages->getMaskStickers](../methods/messages.getMaskStickers.md) + + + diff --git a/old_docs/API_docs_v72/types/messages.ArchivedStickers.md b/old_docs/API_docs_v72/types/messages.ArchivedStickers.md new file mode 100644 index 00000000..3e017c5d --- /dev/null +++ b/old_docs/API_docs_v72/types/messages.ArchivedStickers.md @@ -0,0 +1,22 @@ +--- +title: messages.ArchivedStickers +description: constructors and methods of type messages.ArchivedStickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.ArchivedStickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.archivedStickers](../constructors/messages.archivedStickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getArchivedStickers](../methods/messages.getArchivedStickers.md) + + + diff --git a/old_docs/API_docs_v72/types/messages.BotCallbackAnswer.md b/old_docs/API_docs_v72/types/messages.BotCallbackAnswer.md new file mode 100644 index 00000000..ef30fbfb --- /dev/null +++ b/old_docs/API_docs_v72/types/messages.BotCallbackAnswer.md @@ -0,0 +1,22 @@ +--- +title: messages.BotCallbackAnswer +description: constructors and methods of type messages.BotCallbackAnswer +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.BotCallbackAnswer +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.botCallbackAnswer](../constructors/messages.botCallbackAnswer.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getBotCallbackAnswer](../methods/messages.getBotCallbackAnswer.md) + + + diff --git a/old_docs/API_docs_v72/types/messages.BotResults.md b/old_docs/API_docs_v72/types/messages.BotResults.md new file mode 100644 index 00000000..76ee2b99 --- /dev/null +++ b/old_docs/API_docs_v72/types/messages.BotResults.md @@ -0,0 +1,22 @@ +--- +title: messages.BotResults +description: constructors and methods of type messages.BotResults +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.BotResults +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.botResults](../constructors/messages.botResults.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getInlineBotResults](../methods/messages.getInlineBotResults.md) + + + diff --git a/old_docs/API_docs_v72/types/messages.ChatFull.md b/old_docs/API_docs_v72/types/messages.ChatFull.md new file mode 100644 index 00000000..3ad38748 --- /dev/null +++ b/old_docs/API_docs_v72/types/messages.ChatFull.md @@ -0,0 +1,24 @@ +--- +title: messages.ChatFull +description: constructors and methods of type messages.ChatFull +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.ChatFull +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.chatFull](../constructors/messages.chatFull.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getFullChat](../methods/messages.getFullChat.md) + +[$MadelineProto->channels->getFullChannel](../methods/channels.getFullChannel.md) + + + diff --git a/old_docs/API_docs_v72/types/messages.Chats.md b/old_docs/API_docs_v72/types/messages.Chats.md new file mode 100644 index 00000000..2c730bf4 --- /dev/null +++ b/old_docs/API_docs_v72/types/messages.Chats.md @@ -0,0 +1,32 @@ +--- +title: messages.Chats +description: constructors and methods of type messages.Chats +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Chats +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.chats](../constructors/messages.chats.md) + +[messages.chatsSlice](../constructors/messages.chatsSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getChats](../methods/messages.getChats.md) + +[$MadelineProto->messages->getCommonChats](../methods/messages.getCommonChats.md) + +[$MadelineProto->messages->getAllChats](../methods/messages.getAllChats.md) + +[$MadelineProto->channels->getChannels](../methods/channels.getChannels.md) + +[$MadelineProto->channels->getAdminedPublicChannels](../methods/channels.getAdminedPublicChannels.md) + + + diff --git a/old_docs/API_docs_v72/types/messages.DhConfig.md b/old_docs/API_docs_v72/types/messages.DhConfig.md new file mode 100644 index 00000000..77188ab7 --- /dev/null +++ b/old_docs/API_docs_v72/types/messages.DhConfig.md @@ -0,0 +1,24 @@ +--- +title: messages.DhConfig +description: constructors and methods of type messages.DhConfig +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.DhConfig +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.dhConfigNotModified](../constructors/messages.dhConfigNotModified.md) + +[messages.dhConfig](../constructors/messages.dhConfig.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getDhConfig](../methods/messages.getDhConfig.md) + + + diff --git a/old_docs/API_docs_v72/types/messages.Dialogs.md b/old_docs/API_docs_v72/types/messages.Dialogs.md new file mode 100644 index 00000000..1a57d535 --- /dev/null +++ b/old_docs/API_docs_v72/types/messages.Dialogs.md @@ -0,0 +1,24 @@ +--- +title: messages.Dialogs +description: constructors and methods of type messages.Dialogs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Dialogs +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.dialogs](../constructors/messages.dialogs.md) + +[messages.dialogsSlice](../constructors/messages.dialogsSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getDialogs](../methods/messages.getDialogs.md) + + + diff --git a/old_docs/API_docs_v72/types/messages.FavedStickers.md b/old_docs/API_docs_v72/types/messages.FavedStickers.md new file mode 100644 index 00000000..3edc863b --- /dev/null +++ b/old_docs/API_docs_v72/types/messages.FavedStickers.md @@ -0,0 +1,24 @@ +--- +title: messages.FavedStickers +description: constructors and methods of type messages.FavedStickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.FavedStickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.favedStickersNotModified](../constructors/messages.favedStickersNotModified.md) + +[messages.favedStickers](../constructors/messages.favedStickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getFavedStickers](../methods/messages.getFavedStickers.md) + + + diff --git a/old_docs/API_docs_v72/types/messages.FeaturedStickers.md b/old_docs/API_docs_v72/types/messages.FeaturedStickers.md new file mode 100644 index 00000000..06ed87bb --- /dev/null +++ b/old_docs/API_docs_v72/types/messages.FeaturedStickers.md @@ -0,0 +1,24 @@ +--- +title: messages.FeaturedStickers +description: constructors and methods of type messages.FeaturedStickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.FeaturedStickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.featuredStickersNotModified](../constructors/messages.featuredStickersNotModified.md) + +[messages.featuredStickers](../constructors/messages.featuredStickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getFeaturedStickers](../methods/messages.getFeaturedStickers.md) + + + diff --git a/old_docs/API_docs_v72/types/messages.FoundGifs.md b/old_docs/API_docs_v72/types/messages.FoundGifs.md new file mode 100644 index 00000000..b5176a5d --- /dev/null +++ b/old_docs/API_docs_v72/types/messages.FoundGifs.md @@ -0,0 +1,22 @@ +--- +title: messages.FoundGifs +description: constructors and methods of type messages.FoundGifs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.FoundGifs +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.foundGifs](../constructors/messages.foundGifs.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->searchGifs](../methods/messages.searchGifs.md) + + + diff --git a/old_docs/API_docs_v72/types/messages.HighScores.md b/old_docs/API_docs_v72/types/messages.HighScores.md new file mode 100644 index 00000000..eae9db66 --- /dev/null +++ b/old_docs/API_docs_v72/types/messages.HighScores.md @@ -0,0 +1,24 @@ +--- +title: messages.HighScores +description: constructors and methods of type messages.HighScores +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.HighScores +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.highScores](../constructors/messages.highScores.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getGameHighScores](../methods/messages.getGameHighScores.md) + +[$MadelineProto->messages->getInlineGameHighScores](../methods/messages.getInlineGameHighScores.md) + + + diff --git a/old_docs/API_docs_v72/types/messages.MessageEditData.md b/old_docs/API_docs_v72/types/messages.MessageEditData.md new file mode 100644 index 00000000..feb572f1 --- /dev/null +++ b/old_docs/API_docs_v72/types/messages.MessageEditData.md @@ -0,0 +1,22 @@ +--- +title: messages.MessageEditData +description: constructors and methods of type messages.MessageEditData +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.MessageEditData +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.messageEditData](../constructors/messages.messageEditData.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getMessageEditData](../methods/messages.getMessageEditData.md) + + + diff --git a/old_docs/API_docs_v72/types/messages.Messages.md b/old_docs/API_docs_v72/types/messages.Messages.md new file mode 100644 index 00000000..cc1f36cf --- /dev/null +++ b/old_docs/API_docs_v72/types/messages.Messages.md @@ -0,0 +1,38 @@ +--- +title: messages.Messages +description: constructors and methods of type messages.Messages +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Messages +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.messages](../constructors/messages.messages.md) + +[messages.messagesSlice](../constructors/messages.messagesSlice.md) + +[messages.channelMessages](../constructors/messages.channelMessages.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getMessages](../methods/messages.getMessages.md) + +[$MadelineProto->messages->getHistory](../methods/messages.getHistory.md) + +[$MadelineProto->messages->search](../methods/messages.search.md) + +[$MadelineProto->messages->searchGlobal](../methods/messages.searchGlobal.md) + +[$MadelineProto->messages->getUnreadMentions](../methods/messages.getUnreadMentions.md) + +[$MadelineProto->messages->getRecentLocations](../methods/messages.getRecentLocations.md) + +[$MadelineProto->channels->getMessages](../methods/channels.getMessages.md) + + + diff --git a/old_docs/API_docs_v72/types/messages.PeerDialogs.md b/old_docs/API_docs_v72/types/messages.PeerDialogs.md new file mode 100644 index 00000000..9a1ceaf0 --- /dev/null +++ b/old_docs/API_docs_v72/types/messages.PeerDialogs.md @@ -0,0 +1,24 @@ +--- +title: messages.PeerDialogs +description: constructors and methods of type messages.PeerDialogs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.PeerDialogs +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.peerDialogs](../constructors/messages.peerDialogs.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getPeerDialogs](../methods/messages.getPeerDialogs.md) + +[$MadelineProto->messages->getPinnedDialogs](../methods/messages.getPinnedDialogs.md) + + + diff --git a/old_docs/API_docs_v72/types/messages.RecentStickers.md b/old_docs/API_docs_v72/types/messages.RecentStickers.md new file mode 100644 index 00000000..e5c49b92 --- /dev/null +++ b/old_docs/API_docs_v72/types/messages.RecentStickers.md @@ -0,0 +1,24 @@ +--- +title: messages.RecentStickers +description: constructors and methods of type messages.RecentStickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.RecentStickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.recentStickersNotModified](../constructors/messages.recentStickersNotModified.md) + +[messages.recentStickers](../constructors/messages.recentStickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getRecentStickers](../methods/messages.getRecentStickers.md) + + + diff --git a/old_docs/API_docs_v72/types/messages.SavedGifs.md b/old_docs/API_docs_v72/types/messages.SavedGifs.md new file mode 100644 index 00000000..99844c98 --- /dev/null +++ b/old_docs/API_docs_v72/types/messages.SavedGifs.md @@ -0,0 +1,24 @@ +--- +title: messages.SavedGifs +description: constructors and methods of type messages.SavedGifs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.SavedGifs +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.savedGifsNotModified](../constructors/messages.savedGifsNotModified.md) + +[messages.savedGifs](../constructors/messages.savedGifs.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getSavedGifs](../methods/messages.getSavedGifs.md) + + + diff --git a/old_docs/API_docs_v72/types/messages.SentEncryptedMessage.md b/old_docs/API_docs_v72/types/messages.SentEncryptedMessage.md new file mode 100644 index 00000000..b6d05b1f --- /dev/null +++ b/old_docs/API_docs_v72/types/messages.SentEncryptedMessage.md @@ -0,0 +1,28 @@ +--- +title: messages.SentEncryptedMessage +description: constructors and methods of type messages.SentEncryptedMessage +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.SentEncryptedMessage +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.sentEncryptedMessage](../constructors/messages.sentEncryptedMessage.md) + +[messages.sentEncryptedFile](../constructors/messages.sentEncryptedFile.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->sendEncrypted](../methods/messages.sendEncrypted.md) + +[$MadelineProto->messages->sendEncryptedFile](../methods/messages.sendEncryptedFile.md) + +[$MadelineProto->messages->sendEncryptedService](../methods/messages.sendEncryptedService.md) + + + diff --git a/old_docs/API_docs_v72/types/messages.StickerSet.md b/old_docs/API_docs_v72/types/messages.StickerSet.md new file mode 100644 index 00000000..e173fe45 --- /dev/null +++ b/old_docs/API_docs_v72/types/messages.StickerSet.md @@ -0,0 +1,30 @@ +--- +title: messages.StickerSet +description: constructors and methods of type messages.StickerSet +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.StickerSet +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.stickerSet](../constructors/messages.stickerSet.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getStickerSet](../methods/messages.getStickerSet.md) + +[$MadelineProto->stickers->createStickerSet](../methods/stickers.createStickerSet.md) + +[$MadelineProto->stickers->removeStickerFromSet](../methods/stickers.removeStickerFromSet.md) + +[$MadelineProto->stickers->changeStickerPosition](../methods/stickers.changeStickerPosition.md) + +[$MadelineProto->stickers->addStickerToSet](../methods/stickers.addStickerToSet.md) + + + diff --git a/old_docs/API_docs_v72/types/messages.StickerSetInstallResult.md b/old_docs/API_docs_v72/types/messages.StickerSetInstallResult.md new file mode 100644 index 00000000..9e09c293 --- /dev/null +++ b/old_docs/API_docs_v72/types/messages.StickerSetInstallResult.md @@ -0,0 +1,24 @@ +--- +title: messages.StickerSetInstallResult +description: constructors and methods of type messages.StickerSetInstallResult +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.StickerSetInstallResult +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.stickerSetInstallResultSuccess](../constructors/messages.stickerSetInstallResultSuccess.md) + +[messages.stickerSetInstallResultArchive](../constructors/messages.stickerSetInstallResultArchive.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->installStickerSet](../methods/messages.installStickerSet.md) + + + diff --git a/old_docs/API_docs_v72/types/messages.Stickers.md b/old_docs/API_docs_v72/types/messages.Stickers.md new file mode 100644 index 00000000..0da398ca --- /dev/null +++ b/old_docs/API_docs_v72/types/messages.Stickers.md @@ -0,0 +1,22 @@ +--- +title: messages.Stickers +description: constructors and methods of type messages.Stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Stickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.stickersNotModified](../constructors/messages.stickersNotModified.md) + +[messages.stickers](../constructors/messages.stickers.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v72/types/messages_AffectedHistory.md b/old_docs/API_docs_v72/types/messages_AffectedHistory.md deleted file mode 100644 index 9eef04c0..00000000 --- a/old_docs/API_docs_v72/types/messages_AffectedHistory.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: messages_AffectedHistory -description: constructors and methods of type messages_AffectedHistory -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_AffectedHistory -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_affectedHistory](../constructors/messages_affectedHistory.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->deleteHistory](../methods/messages_deleteHistory.md) - -[$MadelineProto->messages->readMentions](../methods/messages_readMentions.md) - -[$MadelineProto->channels->deleteUserHistory](../methods/channels_deleteUserHistory.md) - - - diff --git a/old_docs/API_docs_v72/types/messages_AffectedMessages.md b/old_docs/API_docs_v72/types/messages_AffectedMessages.md deleted file mode 100644 index dcbea721..00000000 --- a/old_docs/API_docs_v72/types/messages_AffectedMessages.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: messages_AffectedMessages -description: constructors and methods of type messages_AffectedMessages -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_AffectedMessages -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_affectedMessages](../constructors/messages_affectedMessages.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->readHistory](../methods/messages_readHistory.md) - -[$MadelineProto->messages->deleteMessages](../methods/messages_deleteMessages.md) - -[$MadelineProto->messages->readMessageContents](../methods/messages_readMessageContents.md) - -[$MadelineProto->channels->deleteMessages](../methods/channels_deleteMessages.md) - - - diff --git a/old_docs/API_docs_v72/types/messages_AllStickers.md b/old_docs/API_docs_v72/types/messages_AllStickers.md deleted file mode 100644 index b6a322e0..00000000 --- a/old_docs/API_docs_v72/types/messages_AllStickers.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: messages_AllStickers -description: constructors and methods of type messages_AllStickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_AllStickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_allStickersNotModified](../constructors/messages_allStickersNotModified.md) - -[messages\_allStickers](../constructors/messages_allStickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getAllStickers](../methods/messages_getAllStickers.md) - -[$MadelineProto->messages->getMaskStickers](../methods/messages_getMaskStickers.md) - - - diff --git a/old_docs/API_docs_v72/types/messages_ArchivedStickers.md b/old_docs/API_docs_v72/types/messages_ArchivedStickers.md deleted file mode 100644 index c569675e..00000000 --- a/old_docs/API_docs_v72/types/messages_ArchivedStickers.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_ArchivedStickers -description: constructors and methods of type messages_ArchivedStickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_ArchivedStickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_archivedStickers](../constructors/messages_archivedStickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getArchivedStickers](../methods/messages_getArchivedStickers.md) - - - diff --git a/old_docs/API_docs_v72/types/messages_BotCallbackAnswer.md b/old_docs/API_docs_v72/types/messages_BotCallbackAnswer.md deleted file mode 100644 index f8d424d0..00000000 --- a/old_docs/API_docs_v72/types/messages_BotCallbackAnswer.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_BotCallbackAnswer -description: constructors and methods of type messages_BotCallbackAnswer -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_BotCallbackAnswer -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_botCallbackAnswer](../constructors/messages_botCallbackAnswer.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getBotCallbackAnswer](../methods/messages_getBotCallbackAnswer.md) - - - diff --git a/old_docs/API_docs_v72/types/messages_BotResults.md b/old_docs/API_docs_v72/types/messages_BotResults.md deleted file mode 100644 index c346c5bd..00000000 --- a/old_docs/API_docs_v72/types/messages_BotResults.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_BotResults -description: constructors and methods of type messages_BotResults -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_BotResults -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_botResults](../constructors/messages_botResults.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getInlineBotResults](../methods/messages_getInlineBotResults.md) - - - diff --git a/old_docs/API_docs_v72/types/messages_ChatFull.md b/old_docs/API_docs_v72/types/messages_ChatFull.md deleted file mode 100644 index e4add41e..00000000 --- a/old_docs/API_docs_v72/types/messages_ChatFull.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_ChatFull -description: constructors and methods of type messages_ChatFull -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_ChatFull -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_chatFull](../constructors/messages_chatFull.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getFullChat](../methods/messages_getFullChat.md) - -[$MadelineProto->channels->getFullChannel](../methods/channels_getFullChannel.md) - - - diff --git a/old_docs/API_docs_v72/types/messages_Chats.md b/old_docs/API_docs_v72/types/messages_Chats.md deleted file mode 100644 index e49a9718..00000000 --- a/old_docs/API_docs_v72/types/messages_Chats.md +++ /dev/null @@ -1,32 +0,0 @@ ---- -title: messages_Chats -description: constructors and methods of type messages_Chats -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Chats -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_chats](../constructors/messages_chats.md) - -[messages\_chatsSlice](../constructors/messages_chatsSlice.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getChats](../methods/messages_getChats.md) - -[$MadelineProto->messages->getCommonChats](../methods/messages_getCommonChats.md) - -[$MadelineProto->messages->getAllChats](../methods/messages_getAllChats.md) - -[$MadelineProto->channels->getChannels](../methods/channels_getChannels.md) - -[$MadelineProto->channels->getAdminedPublicChannels](../methods/channels_getAdminedPublicChannels.md) - - - diff --git a/old_docs/API_docs_v72/types/messages_DhConfig.md b/old_docs/API_docs_v72/types/messages_DhConfig.md deleted file mode 100644 index ce237411..00000000 --- a/old_docs/API_docs_v72/types/messages_DhConfig.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_DhConfig -description: constructors and methods of type messages_DhConfig -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_DhConfig -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_dhConfigNotModified](../constructors/messages_dhConfigNotModified.md) - -[messages\_dhConfig](../constructors/messages_dhConfig.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getDhConfig](../methods/messages_getDhConfig.md) - - - diff --git a/old_docs/API_docs_v72/types/messages_Dialogs.md b/old_docs/API_docs_v72/types/messages_Dialogs.md deleted file mode 100644 index 733a42c5..00000000 --- a/old_docs/API_docs_v72/types/messages_Dialogs.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_Dialogs -description: constructors and methods of type messages_Dialogs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Dialogs -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_dialogs](../constructors/messages_dialogs.md) - -[messages\_dialogsSlice](../constructors/messages_dialogsSlice.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getDialogs](../methods/messages_getDialogs.md) - - - diff --git a/old_docs/API_docs_v72/types/messages_FavedStickers.md b/old_docs/API_docs_v72/types/messages_FavedStickers.md deleted file mode 100644 index 6fa1f221..00000000 --- a/old_docs/API_docs_v72/types/messages_FavedStickers.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_FavedStickers -description: constructors and methods of type messages_FavedStickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_FavedStickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_favedStickersNotModified](../constructors/messages_favedStickersNotModified.md) - -[messages\_favedStickers](../constructors/messages_favedStickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getFavedStickers](../methods/messages_getFavedStickers.md) - - - diff --git a/old_docs/API_docs_v72/types/messages_FeaturedStickers.md b/old_docs/API_docs_v72/types/messages_FeaturedStickers.md deleted file mode 100644 index 9b4c5002..00000000 --- a/old_docs/API_docs_v72/types/messages_FeaturedStickers.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_FeaturedStickers -description: constructors and methods of type messages_FeaturedStickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_FeaturedStickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_featuredStickersNotModified](../constructors/messages_featuredStickersNotModified.md) - -[messages\_featuredStickers](../constructors/messages_featuredStickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getFeaturedStickers](../methods/messages_getFeaturedStickers.md) - - - diff --git a/old_docs/API_docs_v72/types/messages_FoundGifs.md b/old_docs/API_docs_v72/types/messages_FoundGifs.md deleted file mode 100644 index 9dd088ba..00000000 --- a/old_docs/API_docs_v72/types/messages_FoundGifs.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_FoundGifs -description: constructors and methods of type messages_FoundGifs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_FoundGifs -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_foundGifs](../constructors/messages_foundGifs.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->searchGifs](../methods/messages_searchGifs.md) - - - diff --git a/old_docs/API_docs_v72/types/messages_HighScores.md b/old_docs/API_docs_v72/types/messages_HighScores.md deleted file mode 100644 index 9660e255..00000000 --- a/old_docs/API_docs_v72/types/messages_HighScores.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_HighScores -description: constructors and methods of type messages_HighScores -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_HighScores -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_highScores](../constructors/messages_highScores.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getGameHighScores](../methods/messages_getGameHighScores.md) - -[$MadelineProto->messages->getInlineGameHighScores](../methods/messages_getInlineGameHighScores.md) - - - diff --git a/old_docs/API_docs_v72/types/messages_MessageEditData.md b/old_docs/API_docs_v72/types/messages_MessageEditData.md deleted file mode 100644 index ed3c507a..00000000 --- a/old_docs/API_docs_v72/types/messages_MessageEditData.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_MessageEditData -description: constructors and methods of type messages_MessageEditData -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_MessageEditData -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_messageEditData](../constructors/messages_messageEditData.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getMessageEditData](../methods/messages_getMessageEditData.md) - - - diff --git a/old_docs/API_docs_v72/types/messages_Messages.md b/old_docs/API_docs_v72/types/messages_Messages.md deleted file mode 100644 index 132d8d8a..00000000 --- a/old_docs/API_docs_v72/types/messages_Messages.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages_Messages -description: constructors and methods of type messages_Messages -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Messages -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_messages](../constructors/messages_messages.md) - -[messages\_messagesSlice](../constructors/messages_messagesSlice.md) - -[messages\_channelMessages](../constructors/messages_channelMessages.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getMessages](../methods/messages_getMessages.md) - -[$MadelineProto->messages->getHistory](../methods/messages_getHistory.md) - -[$MadelineProto->messages->search](../methods/messages_search.md) - -[$MadelineProto->messages->searchGlobal](../methods/messages_searchGlobal.md) - -[$MadelineProto->messages->getUnreadMentions](../methods/messages_getUnreadMentions.md) - -[$MadelineProto->messages->getRecentLocations](../methods/messages_getRecentLocations.md) - -[$MadelineProto->channels->getMessages](../methods/channels_getMessages.md) - - - diff --git a/old_docs/API_docs_v72/types/messages_PeerDialogs.md b/old_docs/API_docs_v72/types/messages_PeerDialogs.md deleted file mode 100644 index 2477931f..00000000 --- a/old_docs/API_docs_v72/types/messages_PeerDialogs.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_PeerDialogs -description: constructors and methods of type messages_PeerDialogs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_PeerDialogs -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_peerDialogs](../constructors/messages_peerDialogs.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getPeerDialogs](../methods/messages_getPeerDialogs.md) - -[$MadelineProto->messages->getPinnedDialogs](../methods/messages_getPinnedDialogs.md) - - - diff --git a/old_docs/API_docs_v72/types/messages_RecentStickers.md b/old_docs/API_docs_v72/types/messages_RecentStickers.md deleted file mode 100644 index 2c9db779..00000000 --- a/old_docs/API_docs_v72/types/messages_RecentStickers.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_RecentStickers -description: constructors and methods of type messages_RecentStickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_RecentStickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_recentStickersNotModified](../constructors/messages_recentStickersNotModified.md) - -[messages\_recentStickers](../constructors/messages_recentStickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getRecentStickers](../methods/messages_getRecentStickers.md) - - - diff --git a/old_docs/API_docs_v72/types/messages_SavedGifs.md b/old_docs/API_docs_v72/types/messages_SavedGifs.md deleted file mode 100644 index ffb000aa..00000000 --- a/old_docs/API_docs_v72/types/messages_SavedGifs.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_SavedGifs -description: constructors and methods of type messages_SavedGifs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_SavedGifs -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_savedGifsNotModified](../constructors/messages_savedGifsNotModified.md) - -[messages\_savedGifs](../constructors/messages_savedGifs.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getSavedGifs](../methods/messages_getSavedGifs.md) - - - diff --git a/old_docs/API_docs_v72/types/messages_SentEncryptedMessage.md b/old_docs/API_docs_v72/types/messages_SentEncryptedMessage.md deleted file mode 100644 index 9f7ab935..00000000 --- a/old_docs/API_docs_v72/types/messages_SentEncryptedMessage.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: messages_SentEncryptedMessage -description: constructors and methods of type messages_SentEncryptedMessage -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_SentEncryptedMessage -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_sentEncryptedMessage](../constructors/messages_sentEncryptedMessage.md) - -[messages\_sentEncryptedFile](../constructors/messages_sentEncryptedFile.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->sendEncrypted](../methods/messages_sendEncrypted.md) - -[$MadelineProto->messages->sendEncryptedFile](../methods/messages_sendEncryptedFile.md) - -[$MadelineProto->messages->sendEncryptedService](../methods/messages_sendEncryptedService.md) - - - diff --git a/old_docs/API_docs_v72/types/messages_StickerSet.md b/old_docs/API_docs_v72/types/messages_StickerSet.md deleted file mode 100644 index 98e34dd2..00000000 --- a/old_docs/API_docs_v72/types/messages_StickerSet.md +++ /dev/null @@ -1,30 +0,0 @@ ---- -title: messages_StickerSet -description: constructors and methods of type messages_StickerSet -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_StickerSet -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_stickerSet](../constructors/messages_stickerSet.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getStickerSet](../methods/messages_getStickerSet.md) - -[$MadelineProto->stickers->createStickerSet](../methods/stickers_createStickerSet.md) - -[$MadelineProto->stickers->removeStickerFromSet](../methods/stickers_removeStickerFromSet.md) - -[$MadelineProto->stickers->changeStickerPosition](../methods/stickers_changeStickerPosition.md) - -[$MadelineProto->stickers->addStickerToSet](../methods/stickers_addStickerToSet.md) - - - diff --git a/old_docs/API_docs_v72/types/messages_StickerSetInstallResult.md b/old_docs/API_docs_v72/types/messages_StickerSetInstallResult.md deleted file mode 100644 index bb62ec11..00000000 --- a/old_docs/API_docs_v72/types/messages_StickerSetInstallResult.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_StickerSetInstallResult -description: constructors and methods of type messages_StickerSetInstallResult -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_StickerSetInstallResult -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_stickerSetInstallResultSuccess](../constructors/messages_stickerSetInstallResultSuccess.md) - -[messages\_stickerSetInstallResultArchive](../constructors/messages_stickerSetInstallResultArchive.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->installStickerSet](../methods/messages_installStickerSet.md) - - - diff --git a/old_docs/API_docs_v72/types/messages_Stickers.md b/old_docs/API_docs_v72/types/messages_Stickers.md deleted file mode 100644 index c0fa45cc..00000000 --- a/old_docs/API_docs_v72/types/messages_Stickers.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_Stickers -description: constructors and methods of type messages_Stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Stickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_stickersNotModified](../constructors/messages_stickersNotModified.md) - -[messages\_stickers](../constructors/messages_stickers.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v72/types/payments.PaymentForm.md b/old_docs/API_docs_v72/types/payments.PaymentForm.md new file mode 100644 index 00000000..985c1957 --- /dev/null +++ b/old_docs/API_docs_v72/types/payments.PaymentForm.md @@ -0,0 +1,22 @@ +--- +title: payments.PaymentForm +description: constructors and methods of type payments.PaymentForm +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: payments.PaymentForm +[Back to types index](index.md) + + + +### Possible values (constructors): + +[payments.paymentForm](../constructors/payments.paymentForm.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->payments->getPaymentForm](../methods/payments.getPaymentForm.md) + + + diff --git a/old_docs/API_docs_v72/types/payments.PaymentReceipt.md b/old_docs/API_docs_v72/types/payments.PaymentReceipt.md new file mode 100644 index 00000000..45cebd47 --- /dev/null +++ b/old_docs/API_docs_v72/types/payments.PaymentReceipt.md @@ -0,0 +1,22 @@ +--- +title: payments.PaymentReceipt +description: constructors and methods of type payments.PaymentReceipt +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: payments.PaymentReceipt +[Back to types index](index.md) + + + +### Possible values (constructors): + +[payments.paymentReceipt](../constructors/payments.paymentReceipt.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->payments->getPaymentReceipt](../methods/payments.getPaymentReceipt.md) + + + diff --git a/old_docs/API_docs_v72/types/payments.PaymentResult.md b/old_docs/API_docs_v72/types/payments.PaymentResult.md new file mode 100644 index 00000000..9bbff9af --- /dev/null +++ b/old_docs/API_docs_v72/types/payments.PaymentResult.md @@ -0,0 +1,24 @@ +--- +title: payments.PaymentResult +description: constructors and methods of type payments.PaymentResult +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: payments.PaymentResult +[Back to types index](index.md) + + + +### Possible values (constructors): + +[payments.paymentResult](../constructors/payments.paymentResult.md) + +[payments.paymentVerficationNeeded](../constructors/payments.paymentVerficationNeeded.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->payments->sendPaymentForm](../methods/payments.sendPaymentForm.md) + + + diff --git a/old_docs/API_docs_v72/types/payments.SavedInfo.md b/old_docs/API_docs_v72/types/payments.SavedInfo.md new file mode 100644 index 00000000..cf7be16c --- /dev/null +++ b/old_docs/API_docs_v72/types/payments.SavedInfo.md @@ -0,0 +1,22 @@ +--- +title: payments.SavedInfo +description: constructors and methods of type payments.SavedInfo +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: payments.SavedInfo +[Back to types index](index.md) + + + +### Possible values (constructors): + +[payments.savedInfo](../constructors/payments.savedInfo.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->payments->getSavedInfo](../methods/payments.getSavedInfo.md) + + + diff --git a/old_docs/API_docs_v72/types/payments.ValidatedRequestedInfo.md b/old_docs/API_docs_v72/types/payments.ValidatedRequestedInfo.md new file mode 100644 index 00000000..653a5064 --- /dev/null +++ b/old_docs/API_docs_v72/types/payments.ValidatedRequestedInfo.md @@ -0,0 +1,22 @@ +--- +title: payments.ValidatedRequestedInfo +description: constructors and methods of type payments.ValidatedRequestedInfo +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: payments.ValidatedRequestedInfo +[Back to types index](index.md) + + + +### Possible values (constructors): + +[payments.validatedRequestedInfo](../constructors/payments.validatedRequestedInfo.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->payments->validateRequestedInfo](../methods/payments.validateRequestedInfo.md) + + + diff --git a/old_docs/API_docs_v72/types/payments_PaymentForm.md b/old_docs/API_docs_v72/types/payments_PaymentForm.md deleted file mode 100644 index 4662586d..00000000 --- a/old_docs/API_docs_v72/types/payments_PaymentForm.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: payments_PaymentForm -description: constructors and methods of type payments_PaymentForm -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: payments\_PaymentForm -[Back to types index](index.md) - - - -### Possible values (constructors): - -[payments\_paymentForm](../constructors/payments_paymentForm.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->payments->getPaymentForm](../methods/payments_getPaymentForm.md) - - - diff --git a/old_docs/API_docs_v72/types/payments_PaymentReceipt.md b/old_docs/API_docs_v72/types/payments_PaymentReceipt.md deleted file mode 100644 index b4770d2a..00000000 --- a/old_docs/API_docs_v72/types/payments_PaymentReceipt.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: payments_PaymentReceipt -description: constructors and methods of type payments_PaymentReceipt -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: payments\_PaymentReceipt -[Back to types index](index.md) - - - -### Possible values (constructors): - -[payments\_paymentReceipt](../constructors/payments_paymentReceipt.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->payments->getPaymentReceipt](../methods/payments_getPaymentReceipt.md) - - - diff --git a/old_docs/API_docs_v72/types/payments_PaymentResult.md b/old_docs/API_docs_v72/types/payments_PaymentResult.md deleted file mode 100644 index 3c0ad411..00000000 --- a/old_docs/API_docs_v72/types/payments_PaymentResult.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: payments_PaymentResult -description: constructors and methods of type payments_PaymentResult -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: payments\_PaymentResult -[Back to types index](index.md) - - - -### Possible values (constructors): - -[payments\_paymentResult](../constructors/payments_paymentResult.md) - -[payments\_paymentVerficationNeeded](../constructors/payments_paymentVerficationNeeded.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->payments->sendPaymentForm](../methods/payments_sendPaymentForm.md) - - - diff --git a/old_docs/API_docs_v72/types/payments_SavedInfo.md b/old_docs/API_docs_v72/types/payments_SavedInfo.md deleted file mode 100644 index c8f7b9e3..00000000 --- a/old_docs/API_docs_v72/types/payments_SavedInfo.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: payments_SavedInfo -description: constructors and methods of type payments_SavedInfo -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: payments\_SavedInfo -[Back to types index](index.md) - - - -### Possible values (constructors): - -[payments\_savedInfo](../constructors/payments_savedInfo.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->payments->getSavedInfo](../methods/payments_getSavedInfo.md) - - - diff --git a/old_docs/API_docs_v72/types/payments_ValidatedRequestedInfo.md b/old_docs/API_docs_v72/types/payments_ValidatedRequestedInfo.md deleted file mode 100644 index ff6c4e39..00000000 --- a/old_docs/API_docs_v72/types/payments_ValidatedRequestedInfo.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: payments_ValidatedRequestedInfo -description: constructors and methods of type payments_ValidatedRequestedInfo -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: payments\_ValidatedRequestedInfo -[Back to types index](index.md) - - - -### Possible values (constructors): - -[payments\_validatedRequestedInfo](../constructors/payments_validatedRequestedInfo.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->payments->validateRequestedInfo](../methods/payments_validateRequestedInfo.md) - - - diff --git a/old_docs/API_docs_v72/types/phone.PhoneCall.md b/old_docs/API_docs_v72/types/phone.PhoneCall.md new file mode 100644 index 00000000..db0708e9 --- /dev/null +++ b/old_docs/API_docs_v72/types/phone.PhoneCall.md @@ -0,0 +1,26 @@ +--- +title: phone.PhoneCall +description: constructors and methods of type phone.PhoneCall +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: phone.PhoneCall +[Back to types index](index.md) + + + +### Possible values (constructors): + +[phone.phoneCall](../constructors/phone.phoneCall.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->phone->requestCall](../methods/phone.requestCall.md) + +[$MadelineProto->phone->acceptCall](../methods/phone.acceptCall.md) + +[$MadelineProto->phone->confirmCall](../methods/phone.confirmCall.md) + + + diff --git a/old_docs/API_docs_v72/types/phone_PhoneCall.md b/old_docs/API_docs_v72/types/phone_PhoneCall.md deleted file mode 100644 index 0a49d482..00000000 --- a/old_docs/API_docs_v72/types/phone_PhoneCall.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: phone_PhoneCall -description: constructors and methods of type phone_PhoneCall -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: phone\_PhoneCall -[Back to types index](index.md) - - - -### Possible values (constructors): - -[phone\_phoneCall](../constructors/phone_phoneCall.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->phone->requestCall](../methods/phone_requestCall.md) - -[$MadelineProto->phone->acceptCall](../methods/phone_acceptCall.md) - -[$MadelineProto->phone->confirmCall](../methods/phone_confirmCall.md) - - - diff --git a/old_docs/API_docs_v72/types/photos.Photo.md b/old_docs/API_docs_v72/types/photos.Photo.md new file mode 100644 index 00000000..d60f203c --- /dev/null +++ b/old_docs/API_docs_v72/types/photos.Photo.md @@ -0,0 +1,22 @@ +--- +title: photos.Photo +description: constructors and methods of type photos.Photo +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: photos.Photo +[Back to types index](index.md) + + + +### Possible values (constructors): + +[photos.photo](../constructors/photos.photo.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->photos->uploadProfilePhoto](../methods/photos.uploadProfilePhoto.md) + + + diff --git a/old_docs/API_docs_v72/types/photos.Photos.md b/old_docs/API_docs_v72/types/photos.Photos.md new file mode 100644 index 00000000..fff0e296 --- /dev/null +++ b/old_docs/API_docs_v72/types/photos.Photos.md @@ -0,0 +1,24 @@ +--- +title: photos.Photos +description: constructors and methods of type photos.Photos +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: photos.Photos +[Back to types index](index.md) + + + +### Possible values (constructors): + +[photos.photos](../constructors/photos.photos.md) + +[photos.photosSlice](../constructors/photos.photosSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->photos->getUserPhotos](../methods/photos.getUserPhotos.md) + + + diff --git a/old_docs/API_docs_v72/types/photos_Photo.md b/old_docs/API_docs_v72/types/photos_Photo.md deleted file mode 100644 index d11bbdef..00000000 --- a/old_docs/API_docs_v72/types/photos_Photo.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: photos_Photo -description: constructors and methods of type photos_Photo -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: photos\_Photo -[Back to types index](index.md) - - - -### Possible values (constructors): - -[photos\_photo](../constructors/photos_photo.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->photos->uploadProfilePhoto](../methods/photos_uploadProfilePhoto.md) - - - diff --git a/old_docs/API_docs_v72/types/photos_Photos.md b/old_docs/API_docs_v72/types/photos_Photos.md deleted file mode 100644 index 9875ad70..00000000 --- a/old_docs/API_docs_v72/types/photos_Photos.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: photos_Photos -description: constructors and methods of type photos_Photos -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: photos\_Photos -[Back to types index](index.md) - - - -### Possible values (constructors): - -[photos\_photos](../constructors/photos_photos.md) - -[photos\_photosSlice](../constructors/photos_photosSlice.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->photos->getUserPhotos](../methods/photos_getUserPhotos.md) - - - diff --git a/old_docs/API_docs_v72/types/storage.FileType.md b/old_docs/API_docs_v72/types/storage.FileType.md new file mode 100644 index 00000000..32f1bb72 --- /dev/null +++ b/old_docs/API_docs_v72/types/storage.FileType.md @@ -0,0 +1,38 @@ +--- +title: storage.FileType +description: constructors and methods of type storage.FileType +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: storage.FileType +[Back to types index](index.md) + + + +### Possible values (constructors): + +[storage.fileUnknown](../constructors/storage.fileUnknown.md) + +[storage.filePartial](../constructors/storage.filePartial.md) + +[storage.fileJpeg](../constructors/storage.fileJpeg.md) + +[storage.fileGif](../constructors/storage.fileGif.md) + +[storage.filePng](../constructors/storage.filePng.md) + +[storage.filePdf](../constructors/storage.filePdf.md) + +[storage.fileMp3](../constructors/storage.fileMp3.md) + +[storage.fileMov](../constructors/storage.fileMov.md) + +[storage.fileMp4](../constructors/storage.fileMp4.md) + +[storage.fileWebp](../constructors/storage.fileWebp.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v72/types/storage_FileType.md b/old_docs/API_docs_v72/types/storage_FileType.md deleted file mode 100644 index 22118805..00000000 --- a/old_docs/API_docs_v72/types/storage_FileType.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: storage_FileType -description: constructors and methods of type storage_FileType -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: storage\_FileType -[Back to types index](index.md) - - - -### Possible values (constructors): - -[storage\_fileUnknown](../constructors/storage_fileUnknown.md) - -[storage\_filePartial](../constructors/storage_filePartial.md) - -[storage\_fileJpeg](../constructors/storage_fileJpeg.md) - -[storage\_fileGif](../constructors/storage_fileGif.md) - -[storage\_filePng](../constructors/storage_filePng.md) - -[storage\_filePdf](../constructors/storage_filePdf.md) - -[storage\_fileMp3](../constructors/storage_fileMp3.md) - -[storage\_fileMov](../constructors/storage_fileMov.md) - -[storage\_fileMp4](../constructors/storage_fileMp4.md) - -[storage\_fileWebp](../constructors/storage_fileWebp.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v72/types/updates.ChannelDifference.md b/old_docs/API_docs_v72/types/updates.ChannelDifference.md new file mode 100644 index 00000000..ac889a1e --- /dev/null +++ b/old_docs/API_docs_v72/types/updates.ChannelDifference.md @@ -0,0 +1,26 @@ +--- +title: updates.ChannelDifference +description: constructors and methods of type updates.ChannelDifference +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: updates.ChannelDifference +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updates.channelDifferenceEmpty](../constructors/updates.channelDifferenceEmpty.md) + +[updates.channelDifferenceTooLong](../constructors/updates.channelDifferenceTooLong.md) + +[updates.channelDifference](../constructors/updates.channelDifference.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->updates->getChannelDifference](../methods/updates.getChannelDifference.md) + + + diff --git a/old_docs/API_docs_v72/types/updates.Difference.md b/old_docs/API_docs_v72/types/updates.Difference.md new file mode 100644 index 00000000..0c1a1b6e --- /dev/null +++ b/old_docs/API_docs_v72/types/updates.Difference.md @@ -0,0 +1,28 @@ +--- +title: updates.Difference +description: constructors and methods of type updates.Difference +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: updates.Difference +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updates.differenceEmpty](../constructors/updates.differenceEmpty.md) + +[updates.difference](../constructors/updates.difference.md) + +[updates.differenceSlice](../constructors/updates.differenceSlice.md) + +[updates.differenceTooLong](../constructors/updates.differenceTooLong.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->updates->getDifference](../methods/updates.getDifference.md) + + + diff --git a/old_docs/API_docs_v72/types/updates.State.md b/old_docs/API_docs_v72/types/updates.State.md new file mode 100644 index 00000000..49bbb7fd --- /dev/null +++ b/old_docs/API_docs_v72/types/updates.State.md @@ -0,0 +1,22 @@ +--- +title: updates.State +description: constructors and methods of type updates.State +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: updates.State +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updates.state](../constructors/updates.state.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->updates->getState](../methods/updates.getState.md) + + + diff --git a/old_docs/API_docs_v72/types/updates_ChannelDifference.md b/old_docs/API_docs_v72/types/updates_ChannelDifference.md deleted file mode 100644 index dc988692..00000000 --- a/old_docs/API_docs_v72/types/updates_ChannelDifference.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: updates_ChannelDifference -description: constructors and methods of type updates_ChannelDifference -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: updates\_ChannelDifference -[Back to types index](index.md) - - - -### Possible values (constructors): - -[updates\_channelDifferenceEmpty](../constructors/updates_channelDifferenceEmpty.md) - -[updates\_channelDifferenceTooLong](../constructors/updates_channelDifferenceTooLong.md) - -[updates\_channelDifference](../constructors/updates_channelDifference.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->updates->getChannelDifference](../methods/updates_getChannelDifference.md) - - - diff --git a/old_docs/API_docs_v72/types/updates_Difference.md b/old_docs/API_docs_v72/types/updates_Difference.md deleted file mode 100644 index 50bb098e..00000000 --- a/old_docs/API_docs_v72/types/updates_Difference.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: updates_Difference -description: constructors and methods of type updates_Difference -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: updates\_Difference -[Back to types index](index.md) - - - -### Possible values (constructors): - -[updates\_differenceEmpty](../constructors/updates_differenceEmpty.md) - -[updates\_difference](../constructors/updates_difference.md) - -[updates\_differenceSlice](../constructors/updates_differenceSlice.md) - -[updates\_differenceTooLong](../constructors/updates_differenceTooLong.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->updates->getDifference](../methods/updates_getDifference.md) - - - diff --git a/old_docs/API_docs_v72/types/updates_State.md b/old_docs/API_docs_v72/types/updates_State.md deleted file mode 100644 index 7a441145..00000000 --- a/old_docs/API_docs_v72/types/updates_State.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: updates_State -description: constructors and methods of type updates_State -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: updates\_State -[Back to types index](index.md) - - - -### Possible values (constructors): - -[updates\_state](../constructors/updates_state.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->updates->getState](../methods/updates_getState.md) - - - diff --git a/old_docs/API_docs_v72/types/upload.CdnFile.md b/old_docs/API_docs_v72/types/upload.CdnFile.md new file mode 100644 index 00000000..396c4bf4 --- /dev/null +++ b/old_docs/API_docs_v72/types/upload.CdnFile.md @@ -0,0 +1,24 @@ +--- +title: upload.CdnFile +description: constructors and methods of type upload.CdnFile +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: upload.CdnFile +[Back to types index](index.md) + + + +### Possible values (constructors): + +[upload.cdnFileReuploadNeeded](../constructors/upload.cdnFileReuploadNeeded.md) + +[upload.cdnFile](../constructors/upload.cdnFile.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->upload->getCdnFile](../methods/upload.getCdnFile.md) + + + diff --git a/old_docs/API_docs_v72/types/upload.File.md b/old_docs/API_docs_v72/types/upload.File.md new file mode 100644 index 00000000..6963341b --- /dev/null +++ b/old_docs/API_docs_v72/types/upload.File.md @@ -0,0 +1,24 @@ +--- +title: upload.File +description: constructors and methods of type upload.File +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: upload.File +[Back to types index](index.md) + + + +### Possible values (constructors): + +[upload.file](../constructors/upload.file.md) + +[upload.fileCdnRedirect](../constructors/upload.fileCdnRedirect.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->upload->getFile](../methods/upload.getFile.md) + + + diff --git a/old_docs/API_docs_v72/types/upload.WebFile.md b/old_docs/API_docs_v72/types/upload.WebFile.md new file mode 100644 index 00000000..e834457b --- /dev/null +++ b/old_docs/API_docs_v72/types/upload.WebFile.md @@ -0,0 +1,22 @@ +--- +title: upload.WebFile +description: constructors and methods of type upload.WebFile +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: upload.WebFile +[Back to types index](index.md) + + + +### Possible values (constructors): + +[upload.webFile](../constructors/upload.webFile.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->upload->getWebFile](../methods/upload.getWebFile.md) + + + diff --git a/old_docs/API_docs_v72/types/upload_CdnFile.md b/old_docs/API_docs_v72/types/upload_CdnFile.md deleted file mode 100644 index 51ae2e68..00000000 --- a/old_docs/API_docs_v72/types/upload_CdnFile.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: upload_CdnFile -description: constructors and methods of type upload_CdnFile -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: upload\_CdnFile -[Back to types index](index.md) - - - -### Possible values (constructors): - -[upload\_cdnFileReuploadNeeded](../constructors/upload_cdnFileReuploadNeeded.md) - -[upload\_cdnFile](../constructors/upload_cdnFile.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->upload->getCdnFile](../methods/upload_getCdnFile.md) - - - diff --git a/old_docs/API_docs_v72/types/upload_File.md b/old_docs/API_docs_v72/types/upload_File.md deleted file mode 100644 index 00e0f9cb..00000000 --- a/old_docs/API_docs_v72/types/upload_File.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: upload_File -description: constructors and methods of type upload_File -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: upload\_File -[Back to types index](index.md) - - - -### Possible values (constructors): - -[upload\_file](../constructors/upload_file.md) - -[upload\_fileCdnRedirect](../constructors/upload_fileCdnRedirect.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->upload->getFile](../methods/upload_getFile.md) - - - diff --git a/old_docs/API_docs_v72/types/upload_WebFile.md b/old_docs/API_docs_v72/types/upload_WebFile.md deleted file mode 100644 index 9a86264f..00000000 --- a/old_docs/API_docs_v72/types/upload_WebFile.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: upload_WebFile -description: constructors and methods of type upload_WebFile -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: upload\_WebFile -[Back to types index](index.md) - - - -### Possible values (constructors): - -[upload\_webFile](../constructors/upload_webFile.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->upload->getWebFile](../methods/upload_getWebFile.md) - - - diff --git a/old_docs/API_docs_v73/constructors/README.md b/old_docs/API_docs_v73/constructors/README.md index 36a634b5..254f8606 100644 --- a/old_docs/API_docs_v73/constructors/README.md +++ b/old_docs/API_docs_v73/constructors/README.md @@ -6,48 +6,65 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png # Constructors [Back to API documentation index](..) +*** +

[$account.authorizations](../constructors/account.authorizations.md) = \['authorizations' => \[[Authorization](../types/Authorization.md)\], \]; + +*** +

[$account.noPassword](../constructors/account.noPassword.md) = \['new_salt' => [bytes](../types/bytes.md), 'email_unconfirmed_pattern' => [string](../types/string.md), \]; + +*** +

[$account.password](../constructors/account.password.md) = \['current_salt' => [bytes](../types/bytes.md), 'new_salt' => [bytes](../types/bytes.md), 'hint' => [string](../types/string.md), 'has_recovery' => [Bool](../types/Bool.md), 'email_unconfirmed_pattern' => [string](../types/string.md), \]; + +*** +

[$account.passwordInputSettings](../constructors/account.passwordInputSettings.md) = \['new_salt' => [bytes](../types/bytes.md), 'new_password_hash' => [bytes](../types/bytes.md), 'hint' => [string](../types/string.md), 'email' => [string](../types/string.md), \]; + +*** +

[$account.passwordSettings](../constructors/account.passwordSettings.md) = \['email' => [string](../types/string.md), \]; + +*** +

[$account.privacyRules](../constructors/account.privacyRules.md) = \['rules' => \[[PrivacyRule](../types/PrivacyRule.md)\], 'users' => \[[User](../types/User.md)\], \]; + +*** +

[$account.tmpPassword](../constructors/account.tmpPassword.md) = \['tmp_password' => [bytes](../types/bytes.md), 'valid_until' => [int](../types/int.md), \]; + ***

[$accountDaysTTL](../constructors/accountDaysTTL.md) = \['days' => [int](../types/int.md), \]; *** -

[$account\_authorizations](../constructors/account_authorizations.md) = \['authorizations' => \[[Authorization](../types/Authorization.md)\], \]; - -[$account\_noPassword](../constructors/account_noPassword.md) = \['new_salt' => [bytes](../types/bytes.md), 'email_unconfirmed_pattern' => [string](../types/string.md), \]; - -[$account\_password](../constructors/account_password.md) = \['current_salt' => [bytes](../types/bytes.md), 'new_salt' => [bytes](../types/bytes.md), 'hint' => [string](../types/string.md), 'has_recovery' => [Bool](../types/Bool.md), 'email_unconfirmed_pattern' => [string](../types/string.md), \]; - -[$account\_passwordInputSettings](../constructors/account_passwordInputSettings.md) = \['new_salt' => [bytes](../types/bytes.md), 'new_password_hash' => [bytes](../types/bytes.md), 'hint' => [string](../types/string.md), 'email' => [string](../types/string.md), \]; - -[$account\_passwordSettings](../constructors/account_passwordSettings.md) = \['email' => [string](../types/string.md), \]; - -[$account\_privacyRules](../constructors/account_privacyRules.md) = \['rules' => \[[PrivacyRule](../types/PrivacyRule.md)\], 'users' => \[[User](../types/User.md)\], \]; - -[$account\_tmpPassword](../constructors/account_tmpPassword.md) = \['tmp_password' => [bytes](../types/bytes.md), 'valid_until' => [int](../types/int.md), \]; +

[$auth.authorization](../constructors/auth.authorization.md) = \['tmp_sessions' => [int](../types/int.md), 'user' => [User](../types/User.md), \]; *** -

[$auth\_authorization](../constructors/auth_authorization.md) = \['tmp_sessions' => [int](../types/int.md), 'user' => [User](../types/User.md), \]; +

[$auth.checkedPhone](../constructors/auth.checkedPhone.md) = \['phone_registered' => [Bool](../types/Bool.md), \]; -[$auth\_checkedPhone](../constructors/auth_checkedPhone.md) = \['phone_registered' => [Bool](../types/Bool.md), \]; +*** +

[$auth.codeTypeCall](../constructors/auth.codeTypeCall.md) = \[\]; -[$auth\_codeTypeCall](../constructors/auth_codeTypeCall.md) = \[\]; +*** +

[$auth.codeTypeFlashCall](../constructors/auth.codeTypeFlashCall.md) = \[\]; -[$auth\_codeTypeFlashCall](../constructors/auth_codeTypeFlashCall.md) = \[\]; +*** +

[$auth.codeTypeSms](../constructors/auth.codeTypeSms.md) = \[\]; -[$auth\_codeTypeSms](../constructors/auth_codeTypeSms.md) = \[\]; +*** +

[$auth.exportedAuthorization](../constructors/auth.exportedAuthorization.md) = \['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; -[$auth\_exportedAuthorization](../constructors/auth_exportedAuthorization.md) = \['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; +*** +

[$auth.passwordRecovery](../constructors/auth.passwordRecovery.md) = \['email_pattern' => [string](../types/string.md), \]; -[$auth\_passwordRecovery](../constructors/auth_passwordRecovery.md) = \['email_pattern' => [string](../types/string.md), \]; +*** +

[$auth.sentCode](../constructors/auth.sentCode.md) = \['phone_registered' => [Bool](../types/Bool.md), 'type' => [auth.SentCodeType](../types/auth.SentCodeType.md), 'phone_code_hash' => [string](../types/string.md), 'next_type' => [auth.CodeType](../types/auth.CodeType.md), 'timeout' => [int](../types/int.md), \]; -[$auth\_sentCode](../constructors/auth_sentCode.md) = \['phone_registered' => [Bool](../types/Bool.md), 'type' => [auth.SentCodeType](../types/auth.SentCodeType.md), 'phone_code_hash' => [string](../types/string.md), 'next_type' => [auth.CodeType](../types/auth.CodeType.md), 'timeout' => [int](../types/int.md), \]; +*** +

[$auth.sentCodeTypeApp](../constructors/auth.sentCodeTypeApp.md) = \['length' => [int](../types/int.md), \]; -[$auth\_sentCodeTypeApp](../constructors/auth_sentCodeTypeApp.md) = \['length' => [int](../types/int.md), \]; +*** +

[$auth.sentCodeTypeCall](../constructors/auth.sentCodeTypeCall.md) = \['length' => [int](../types/int.md), \]; -[$auth\_sentCodeTypeCall](../constructors/auth_sentCodeTypeCall.md) = \['length' => [int](../types/int.md), \]; +*** +

[$auth.sentCodeTypeFlashCall](../constructors/auth.sentCodeTypeFlashCall.md) = \['pattern' => [string](../types/string.md), \]; -[$auth\_sentCodeTypeFlashCall](../constructors/auth_sentCodeTypeFlashCall.md) = \['pattern' => [string](../types/string.md), \]; - -[$auth\_sentCodeTypeSms](../constructors/auth_sentCodeTypeSms.md) = \['length' => [int](../types/int.md), \]; +*** +

[$auth.sentCodeTypeSms](../constructors/auth.sentCodeTypeSms.md) = \['length' => [int](../types/int.md), \]; ***

[$authorization](../constructors/authorization.md) = \['hash' => [long](../types/long.md), 'device_model' => [string](../types/string.md), 'platform' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'api_id' => [int](../types/int.md), 'app_name' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'date_created' => [int](../types/int.md), 'date_active' => [int](../types/int.md), 'ip' => [string](../types/string.md), 'country' => [string](../types/string.md), 'region' => [string](../types/string.md), \]; @@ -203,13 +220,16 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$channelParticipantsSearch](../constructors/channelParticipantsSearch.md) = \['q' => [string](../types/string.md), \]; *** -

[$channels\_adminLogResults](../constructors/channels_adminLogResults.md) = \['events' => \[[ChannelAdminLogEvent](../types/ChannelAdminLogEvent.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +

[$channels.adminLogResults](../constructors/channels.adminLogResults.md) = \['events' => \[[ChannelAdminLogEvent](../types/ChannelAdminLogEvent.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$channels\_channelParticipant](../constructors/channels_channelParticipant.md) = \['participant' => [ChannelParticipant](../types/ChannelParticipant.md), 'users' => \[[User](../types/User.md)\], \]; +*** +

[$channels.channelParticipant](../constructors/channels.channelParticipant.md) = \['participant' => [ChannelParticipant](../types/ChannelParticipant.md), 'users' => \[[User](../types/User.md)\], \]; -[$channels\_channelParticipants](../constructors/channels_channelParticipants.md) = \['count' => [int](../types/int.md), 'participants' => \[[ChannelParticipant](../types/ChannelParticipant.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$channels.channelParticipants](../constructors/channels.channelParticipants.md) = \['count' => [int](../types/int.md), 'participants' => \[[ChannelParticipant](../types/ChannelParticipant.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$channels\_channelParticipantsNotModified](../constructors/channels_channelParticipantsNotModified.md) = \[\]; +*** +

[$channels.channelParticipantsNotModified](../constructors/channels.channelParticipantsNotModified.md) = \[\]; ***

[$chat](../constructors/chat.md) = \['creator' => [Bool](../types/Bool.md), 'kicked' => [Bool](../types/Bool.md), 'left' => [Bool](../types/Bool.md), 'admins_enabled' => [Bool](../types/Bool.md), 'admin' => [Bool](../types/Bool.md), 'deactivated' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'title' => [string](../types/string.md), 'photo' => [ChatPhoto](../types/ChatPhoto.md), 'participants_count' => [int](../types/int.md), 'date' => [int](../types/int.md), 'version' => [int](../types/int.md), 'migrated_to' => [InputChannel](../types/InputChannel.md), \]; @@ -281,25 +301,34 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$contactStatus](../constructors/contactStatus.md) = \['user_id' => [int](../types/int.md), 'status' => [UserStatus](../types/UserStatus.md), \]; *** -

[$contacts\_blocked](../constructors/contacts_blocked.md) = \['blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; +

[$contacts.blocked](../constructors/contacts.blocked.md) = \['blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_blockedSlice](../constructors/contacts_blockedSlice.md) = \['count' => [int](../types/int.md), 'blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.blockedSlice](../constructors/contacts.blockedSlice.md) = \['count' => [int](../types/int.md), 'blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_contacts](../constructors/contacts_contacts.md) = \['contacts' => \[[Contact](../types/Contact.md)\], 'saved_count' => [int](../types/int.md), 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.contacts](../constructors/contacts.contacts.md) = \['contacts' => \[[Contact](../types/Contact.md)\], 'saved_count' => [int](../types/int.md), 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_contactsNotModified](../constructors/contacts_contactsNotModified.md) = \[\]; +*** +

[$contacts.contactsNotModified](../constructors/contacts.contactsNotModified.md) = \[\]; -[$contacts\_found](../constructors/contacts_found.md) = \['results' => \[[Peer](../types/Peer.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.found](../constructors/contacts.found.md) = \['results' => \[[Peer](../types/Peer.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_importedContacts](../constructors/contacts_importedContacts.md) = \['imported' => \[[ImportedContact](../types/ImportedContact.md)\], 'popular_invites' => \[[PopularContact](../types/PopularContact.md)\], 'retry_contacts' => \[[long](../types/long.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.importedContacts](../constructors/contacts.importedContacts.md) = \['imported' => \[[ImportedContact](../types/ImportedContact.md)\], 'popular_invites' => \[[PopularContact](../types/PopularContact.md)\], 'retry_contacts' => \[[long](../types/long.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_link](../constructors/contacts_link.md) = \['my_link' => [ContactLink](../types/ContactLink.md), 'foreign_link' => [ContactLink](../types/ContactLink.md), 'user' => [User](../types/User.md), \]; +*** +

[$contacts.link](../constructors/contacts.link.md) = \['my_link' => [ContactLink](../types/ContactLink.md), 'foreign_link' => [ContactLink](../types/ContactLink.md), 'user' => [User](../types/User.md), \]; -[$contacts\_resolvedPeer](../constructors/contacts_resolvedPeer.md) = \['peer' => [Peer](../types/Peer.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.resolvedPeer](../constructors/contacts.resolvedPeer.md) = \['peer' => [Peer](../types/Peer.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_topPeers](../constructors/contacts_topPeers.md) = \['categories' => \[[TopPeerCategoryPeers](../types/TopPeerCategoryPeers.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.topPeers](../constructors/contacts.topPeers.md) = \['categories' => \[[TopPeerCategoryPeers](../types/TopPeerCategoryPeers.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_topPeersNotModified](../constructors/contacts_topPeersNotModified.md) = \[\]; +*** +

[$contacts.topPeersNotModified](../constructors/contacts.topPeersNotModified.md) = \[\]; ***

[$dataJSON](../constructors/dataJSON.md) = \['data' => [string](../types/string.md), \]; @@ -401,17 +430,22 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$geoPointEmpty](../constructors/geoPointEmpty.md) = \[\]; *** -

[$help\_appUpdate](../constructors/help_appUpdate.md) = \['id' => [int](../types/int.md), 'critical' => [Bool](../types/Bool.md), 'url' => [string](../types/string.md), 'text' => [string](../types/string.md), \]; +

[$help.appUpdate](../constructors/help.appUpdate.md) = \['id' => [int](../types/int.md), 'critical' => [Bool](../types/Bool.md), 'url' => [string](../types/string.md), 'text' => [string](../types/string.md), \]; -[$help\_inviteText](../constructors/help_inviteText.md) = \['message' => [string](../types/string.md), \]; +*** +

[$help.inviteText](../constructors/help.inviteText.md) = \['message' => [string](../types/string.md), \]; -[$help\_noAppUpdate](../constructors/help_noAppUpdate.md) = \[\]; +*** +

[$help.noAppUpdate](../constructors/help.noAppUpdate.md) = \[\]; -[$help\_recentMeUrls](../constructors/help_recentMeUrls.md) = \['urls' => \[[RecentMeUrl](../types/RecentMeUrl.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$help.recentMeUrls](../constructors/help.recentMeUrls.md) = \['urls' => \[[RecentMeUrl](../types/RecentMeUrl.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$help\_support](../constructors/help_support.md) = \['phone_number' => [string](../types/string.md), 'user' => [User](../types/User.md), \]; +*** +

[$help.support](../constructors/help.support.md) = \['phone_number' => [string](../types/string.md), 'user' => [User](../types/User.md), \]; -[$help\_termsOfService](../constructors/help_termsOfService.md) = \['text' => [string](../types/string.md), \]; +*** +

[$help.termsOfService](../constructors/help.termsOfService.md) = \['text' => [string](../types/string.md), \]; ***

[$highScore](../constructors/highScore.md) = \['pos' => [int](../types/int.md), 'user_id' => [int](../types/int.md), 'score' => [int](../types/int.md), \]; @@ -942,79 +976,115 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$messageService](../constructors/messageService.md) = \['out' => [Bool](../types/Bool.md), 'mentioned' => [Bool](../types/Bool.md), 'media_unread' => [Bool](../types/Bool.md), 'silent' => [Bool](../types/Bool.md), 'post' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'from_id' => [int](../types/int.md), 'to_id' => [Peer](../types/Peer.md), 'reply_to_msg_id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'action' => [MessageAction](../types/MessageAction.md), \]; *** -

[$messages\_affectedHistory](../constructors/messages_affectedHistory.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), 'offset' => [int](../types/int.md), \]; +

[$messages.affectedHistory](../constructors/messages.affectedHistory.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), 'offset' => [int](../types/int.md), \]; -[$messages\_affectedMessages](../constructors/messages_affectedMessages.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; +*** +

[$messages.affectedMessages](../constructors/messages.affectedMessages.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; -[$messages\_allStickers](../constructors/messages_allStickers.md) = \['hash' => [int](../types/int.md), 'sets' => \[[StickerSet](../types/StickerSet.md)\], \]; +*** +

[$messages.allStickers](../constructors/messages.allStickers.md) = \['hash' => [int](../types/int.md), 'sets' => \[[StickerSet](../types/StickerSet.md)\], \]; -[$messages\_allStickersNotModified](../constructors/messages_allStickersNotModified.md) = \[\]; +*** +

[$messages.allStickersNotModified](../constructors/messages.allStickersNotModified.md) = \[\]; -[$messages\_archivedStickers](../constructors/messages_archivedStickers.md) = \['count' => [int](../types/int.md), 'sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], \]; +*** +

[$messages.archivedStickers](../constructors/messages.archivedStickers.md) = \['count' => [int](../types/int.md), 'sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], \]; -[$messages\_botCallbackAnswer](../constructors/messages_botCallbackAnswer.md) = \['alert' => [Bool](../types/Bool.md), 'has_url' => [Bool](../types/Bool.md), 'native_ui' => [Bool](../types/Bool.md), 'message' => [string](../types/string.md), 'url' => [string](../types/string.md), 'cache_time' => [int](../types/int.md), \]; +*** +

[$messages.botCallbackAnswer](../constructors/messages.botCallbackAnswer.md) = \['alert' => [Bool](../types/Bool.md), 'has_url' => [Bool](../types/Bool.md), 'native_ui' => [Bool](../types/Bool.md), 'message' => [string](../types/string.md), 'url' => [string](../types/string.md), 'cache_time' => [int](../types/int.md), \]; -[$messages\_botResults](../constructors/messages_botResults.md) = \['gallery' => [Bool](../types/Bool.md), 'query_id' => [long](../types/long.md), 'next_offset' => [string](../types/string.md), 'switch_pm' => [InlineBotSwitchPM](../types/InlineBotSwitchPM.md), 'results' => \[[BotInlineResult](../types/BotInlineResult.md)\], 'cache_time' => [int](../types/int.md), 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.botResults](../constructors/messages.botResults.md) = \['gallery' => [Bool](../types/Bool.md), 'query_id' => [long](../types/long.md), 'next_offset' => [string](../types/string.md), 'switch_pm' => [InlineBotSwitchPM](../types/InlineBotSwitchPM.md), 'results' => \[[BotInlineResult](../types/BotInlineResult.md)\], 'cache_time' => [int](../types/int.md), 'users' => \[[User](../types/User.md)\], \]; -[$messages\_channelMessages](../constructors/messages_channelMessages.md) = \['pts' => [int](../types/int.md), 'count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.channelMessages](../constructors/messages.channelMessages.md) = \['pts' => [int](../types/int.md), 'count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_chatFull](../constructors/messages_chatFull.md) = \['full_chat' => [ChatFull](../types/ChatFull.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.chatFull](../constructors/messages.chatFull.md) = \['full_chat' => [ChatFull](../types/ChatFull.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_chats](../constructors/messages_chats.md) = \['chats' => \[[Chat](../types/Chat.md)\], \]; +*** +

[$messages.chats](../constructors/messages.chats.md) = \['chats' => \[[Chat](../types/Chat.md)\], \]; -[$messages\_chatsSlice](../constructors/messages_chatsSlice.md) = \['count' => [int](../types/int.md), 'chats' => \[[Chat](../types/Chat.md)\], \]; +*** +

[$messages.chatsSlice](../constructors/messages.chatsSlice.md) = \['count' => [int](../types/int.md), 'chats' => \[[Chat](../types/Chat.md)\], \]; -[$messages\_dhConfig](../constructors/messages_dhConfig.md) = \['g' => [int](../types/int.md), 'p' => [bytes](../types/bytes.md), 'version' => [int](../types/int.md), 'random' => [bytes](../types/bytes.md), \]; +*** +

[$messages.dhConfig](../constructors/messages.dhConfig.md) = \['g' => [int](../types/int.md), 'p' => [bytes](../types/bytes.md), 'version' => [int](../types/int.md), 'random' => [bytes](../types/bytes.md), \]; -[$messages\_dhConfigNotModified](../constructors/messages_dhConfigNotModified.md) = \['random' => [bytes](../types/bytes.md), \]; +*** +

[$messages.dhConfigNotModified](../constructors/messages.dhConfigNotModified.md) = \['random' => [bytes](../types/bytes.md), \]; -[$messages\_dialogs](../constructors/messages_dialogs.md) = \['dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.dialogs](../constructors/messages.dialogs.md) = \['dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_dialogsSlice](../constructors/messages_dialogsSlice.md) = \['count' => [int](../types/int.md), 'dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.dialogsSlice](../constructors/messages.dialogsSlice.md) = \['count' => [int](../types/int.md), 'dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_favedStickers](../constructors/messages_favedStickers.md) = \['hash' => [int](../types/int.md), 'packs' => \[[StickerPack](../types/StickerPack.md)\], 'stickers' => \[[Document](../types/Document.md)\], \]; +*** +

[$messages.favedStickers](../constructors/messages.favedStickers.md) = \['hash' => [int](../types/int.md), 'packs' => \[[StickerPack](../types/StickerPack.md)\], 'stickers' => \[[Document](../types/Document.md)\], \]; -[$messages\_favedStickersNotModified](../constructors/messages_favedStickersNotModified.md) = \[\]; +*** +

[$messages.favedStickersNotModified](../constructors/messages.favedStickersNotModified.md) = \[\]; -[$messages\_featuredStickers](../constructors/messages_featuredStickers.md) = \['hash' => [int](../types/int.md), 'sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], 'unread' => \[[long](../types/long.md)\], \]; +*** +

[$messages.featuredStickers](../constructors/messages.featuredStickers.md) = \['hash' => [int](../types/int.md), 'sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], 'unread' => \[[long](../types/long.md)\], \]; -[$messages\_featuredStickersNotModified](../constructors/messages_featuredStickersNotModified.md) = \[\]; +*** +

[$messages.featuredStickersNotModified](../constructors/messages.featuredStickersNotModified.md) = \[\]; -[$messages\_foundGifs](../constructors/messages_foundGifs.md) = \['next_offset' => [int](../types/int.md), 'results' => \[[FoundGif](../types/FoundGif.md)\], \]; +*** +

[$messages.foundGifs](../constructors/messages.foundGifs.md) = \['next_offset' => [int](../types/int.md), 'results' => \[[FoundGif](../types/FoundGif.md)\], \]; -[$messages\_highScores](../constructors/messages_highScores.md) = \['scores' => \[[HighScore](../types/HighScore.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.highScores](../constructors/messages.highScores.md) = \['scores' => \[[HighScore](../types/HighScore.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_messageEditData](../constructors/messages_messageEditData.md) = \['caption' => [Bool](../types/Bool.md), \]; +*** +

[$messages.messageEditData](../constructors/messages.messageEditData.md) = \['caption' => [Bool](../types/Bool.md), \]; -[$messages\_messages](../constructors/messages_messages.md) = \['messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.messages](../constructors/messages.messages.md) = \['messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_messagesNotModified](../constructors/messages_messagesNotModified.md) = \['count' => [int](../types/int.md), \]; +*** +

[$messages.messagesNotModified](../constructors/messages.messagesNotModified.md) = \['count' => [int](../types/int.md), \]; -[$messages\_messagesSlice](../constructors/messages_messagesSlice.md) = \['count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.messagesSlice](../constructors/messages.messagesSlice.md) = \['count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_peerDialogs](../constructors/messages_peerDialogs.md) = \['dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'state' => [updates.State](../types/updates.State.md), \]; +*** +

[$messages.peerDialogs](../constructors/messages.peerDialogs.md) = \['dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'state' => [updates.State](../types/updates.State.md), \]; -[$messages\_recentStickers](../constructors/messages_recentStickers.md) = \['hash' => [int](../types/int.md), 'stickers' => \[[Document](../types/Document.md)\], \]; +*** +

[$messages.recentStickers](../constructors/messages.recentStickers.md) = \['hash' => [int](../types/int.md), 'stickers' => \[[Document](../types/Document.md)\], \]; -[$messages\_recentStickersNotModified](../constructors/messages_recentStickersNotModified.md) = \[\]; +*** +

[$messages.recentStickersNotModified](../constructors/messages.recentStickersNotModified.md) = \[\]; -[$messages\_savedGifs](../constructors/messages_savedGifs.md) = \['hash' => [int](../types/int.md), 'gifs' => \[[Document](../types/Document.md)\], \]; +*** +

[$messages.savedGifs](../constructors/messages.savedGifs.md) = \['hash' => [int](../types/int.md), 'gifs' => \[[Document](../types/Document.md)\], \]; -[$messages\_savedGifsNotModified](../constructors/messages_savedGifsNotModified.md) = \[\]; +*** +

[$messages.savedGifsNotModified](../constructors/messages.savedGifsNotModified.md) = \[\]; -[$messages\_sentEncryptedFile](../constructors/messages_sentEncryptedFile.md) = \['date' => [int](../types/int.md), 'file' => [EncryptedFile](../types/EncryptedFile.md), \]; +*** +

[$messages.sentEncryptedFile](../constructors/messages.sentEncryptedFile.md) = \['date' => [int](../types/int.md), 'file' => [EncryptedFile](../types/EncryptedFile.md), \]; -[$messages\_sentEncryptedMessage](../constructors/messages_sentEncryptedMessage.md) = \['date' => [int](../types/int.md), \]; +*** +

[$messages.sentEncryptedMessage](../constructors/messages.sentEncryptedMessage.md) = \['date' => [int](../types/int.md), \]; -[$messages\_stickerSet](../constructors/messages_stickerSet.md) = \['set' => [StickerSet](../types/StickerSet.md), 'packs' => \[[StickerPack](../types/StickerPack.md)\], 'documents' => \[[Document](../types/Document.md)\], \]; +*** +

[$messages.stickerSet](../constructors/messages.stickerSet.md) = \['set' => [StickerSet](../types/StickerSet.md), 'packs' => \[[StickerPack](../types/StickerPack.md)\], 'documents' => \[[Document](../types/Document.md)\], \]; -[$messages\_stickerSetInstallResultArchive](../constructors/messages_stickerSetInstallResultArchive.md) = \['sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], \]; +*** +

[$messages.stickerSetInstallResultArchive](../constructors/messages.stickerSetInstallResultArchive.md) = \['sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], \]; -[$messages\_stickerSetInstallResultSuccess](../constructors/messages_stickerSetInstallResultSuccess.md) = \[\]; +*** +

[$messages.stickerSetInstallResultSuccess](../constructors/messages.stickerSetInstallResultSuccess.md) = \[\]; -[$messages\_stickers](../constructors/messages_stickers.md) = \['hash' => [string](../types/string.md), 'stickers' => \[[Document](../types/Document.md)\], \]; +*** +

[$messages.stickers](../constructors/messages.stickers.md) = \['hash' => [string](../types/string.md), 'stickers' => \[[Document](../types/Document.md)\], \]; -[$messages\_stickersNotModified](../constructors/messages_stickersNotModified.md) = \[\]; +*** +

[$messages.stickersNotModified](../constructors/messages.stickersNotModified.md) = \[\]; ***

[$nearestDc](../constructors/nearestDc.md) = \['country' => [string](../types/string.md), 'this_dc' => [int](../types/int.md), 'nearest_dc' => [int](../types/int.md), \]; @@ -1119,17 +1189,22 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$paymentSavedCredentialsCard](../constructors/paymentSavedCredentialsCard.md) = \['id' => [string](../types/string.md), 'title' => [string](../types/string.md), \]; *** -

[$payments\_paymentForm](../constructors/payments_paymentForm.md) = \['can_save_credentials' => [Bool](../types/Bool.md), 'password_missing' => [Bool](../types/Bool.md), 'bot_id' => [int](../types/int.md), 'invoice' => [Invoice](../types/Invoice.md), 'provider_id' => [int](../types/int.md), 'url' => [string](../types/string.md), 'native_provider' => [string](../types/string.md), 'native_params' => [DataJSON](../types/DataJSON.md), 'saved_info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), 'saved_credentials' => [PaymentSavedCredentials](../types/PaymentSavedCredentials.md), 'users' => \[[User](../types/User.md)\], \]; +

[$payments.paymentForm](../constructors/payments.paymentForm.md) = \['can_save_credentials' => [Bool](../types/Bool.md), 'password_missing' => [Bool](../types/Bool.md), 'bot_id' => [int](../types/int.md), 'invoice' => [Invoice](../types/Invoice.md), 'provider_id' => [int](../types/int.md), 'url' => [string](../types/string.md), 'native_provider' => [string](../types/string.md), 'native_params' => [DataJSON](../types/DataJSON.md), 'saved_info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), 'saved_credentials' => [PaymentSavedCredentials](../types/PaymentSavedCredentials.md), 'users' => \[[User](../types/User.md)\], \]; -[$payments\_paymentReceipt](../constructors/payments_paymentReceipt.md) = \['date' => [int](../types/int.md), 'bot_id' => [int](../types/int.md), 'invoice' => [Invoice](../types/Invoice.md), 'provider_id' => [int](../types/int.md), 'info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), 'shipping' => [ShippingOption](../types/ShippingOption.md), 'currency' => [string](../types/string.md), 'total_amount' => [long](../types/long.md), 'credentials_title' => [string](../types/string.md), 'users' => \[[User](../types/User.md)\], \]; +*** +

[$payments.paymentReceipt](../constructors/payments.paymentReceipt.md) = \['date' => [int](../types/int.md), 'bot_id' => [int](../types/int.md), 'invoice' => [Invoice](../types/Invoice.md), 'provider_id' => [int](../types/int.md), 'info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), 'shipping' => [ShippingOption](../types/ShippingOption.md), 'currency' => [string](../types/string.md), 'total_amount' => [long](../types/long.md), 'credentials_title' => [string](../types/string.md), 'users' => \[[User](../types/User.md)\], \]; -[$payments\_paymentResult](../constructors/payments_paymentResult.md) = \['updates' => [Updates](../types/Updates.md), \]; +*** +

[$payments.paymentResult](../constructors/payments.paymentResult.md) = \['updates' => [Updates](../types/Updates.md), \]; -[$payments\_paymentVerficationNeeded](../constructors/payments_paymentVerficationNeeded.md) = \['url' => [string](../types/string.md), \]; +*** +

[$payments.paymentVerficationNeeded](../constructors/payments.paymentVerficationNeeded.md) = \['url' => [string](../types/string.md), \]; -[$payments\_savedInfo](../constructors/payments_savedInfo.md) = \['has_saved_credentials' => [Bool](../types/Bool.md), 'saved_info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), \]; +*** +

[$payments.savedInfo](../constructors/payments.savedInfo.md) = \['has_saved_credentials' => [Bool](../types/Bool.md), 'saved_info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), \]; -[$payments\_validatedRequestedInfo](../constructors/payments_validatedRequestedInfo.md) = \['id' => [string](../types/string.md), 'shipping_options' => \[[ShippingOption](../types/ShippingOption.md)\], \]; +*** +

[$payments.validatedRequestedInfo](../constructors/payments.validatedRequestedInfo.md) = \['id' => [string](../types/string.md), 'shipping_options' => \[[ShippingOption](../types/ShippingOption.md)\], \]; ***

[$peerChannel](../constructors/peerChannel.md) = \['channel_id' => [int](../types/int.md), \]; @@ -1155,6 +1230,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ***

[$peerUser](../constructors/peerUser.md) = \['user_id' => [int](../types/int.md), \]; +*** +

[$phone.phoneCall](../constructors/phone.phoneCall.md) = \['phone_call' => [PhoneCall](../types/PhoneCall.md), 'users' => \[[User](../types/User.md)\], \]; + ***

[$phoneCall](../constructors/phoneCall.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'date' => [int](../types/int.md), 'admin_id' => [int](../types/int.md), 'participant_id' => [int](../types/int.md), 'g_a_or_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), 'connection' => [PhoneConnection](../types/PhoneConnection.md), 'alternative_connections' => \[[PhoneConnection](../types/PhoneConnection.md)\], 'start_date' => [int](../types/int.md), \]; @@ -1191,9 +1269,6 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ***

[$phoneConnection](../constructors/phoneConnection.md) = \['id' => [long](../types/long.md), 'ip' => [string](../types/string.md), 'ipv6' => [string](../types/string.md), 'port' => [int](../types/int.md), 'peer_tag' => [bytes](../types/bytes.md), \]; -*** -

[$phone\_phoneCall](../constructors/phone_phoneCall.md) = \['phone_call' => [PhoneCall](../types/PhoneCall.md), 'users' => \[[User](../types/User.md)\], \]; - ***

[$photo](../constructors/photo.md) = \['has_stickers' => [Bool](../types/Bool.md), 'id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'date' => [int](../types/int.md), 'sizes' => \[[PhotoSize](../types/PhotoSize.md)\], \]; @@ -1210,11 +1285,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$photoSizeEmpty](../constructors/photoSizeEmpty.md) = \['type' => [string](../types/string.md), \]; *** -

[$photos\_photo](../constructors/photos_photo.md) = \['photo' => [Photo](../types/Photo.md), 'users' => \[[User](../types/User.md)\], \]; +

[$photos.photo](../constructors/photos.photo.md) = \['photo' => [Photo](../types/Photo.md), 'users' => \[[User](../types/User.md)\], \]; -[$photos\_photos](../constructors/photos_photos.md) = \['photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$photos.photos](../constructors/photos.photos.md) = \['photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$photos\_photosSlice](../constructors/photos_photosSlice.md) = \['count' => [int](../types/int.md), 'photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$photos.photosSlice](../constructors/photos.photosSlice.md) = \['count' => [int](../types/int.md), 'photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; ***

[$popularContact](../constructors/popularContact.md) = \['client_id' => [long](../types/long.md), 'importers' => [int](../types/int.md), \]; @@ -1334,25 +1411,34 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$stickerSetMultiCovered](../constructors/stickerSetMultiCovered.md) = \['set' => [StickerSet](../types/StickerSet.md), 'covers' => \[[Document](../types/Document.md)\], \]; *** -

[$storage\_fileGif](../constructors/storage_fileGif.md) = \[\]; +

[$storage.fileGif](../constructors/storage.fileGif.md) = \[\]; -[$storage\_fileJpeg](../constructors/storage_fileJpeg.md) = \[\]; +*** +

[$storage.fileJpeg](../constructors/storage.fileJpeg.md) = \[\]; -[$storage\_fileMov](../constructors/storage_fileMov.md) = \[\]; +*** +

[$storage.fileMov](../constructors/storage.fileMov.md) = \[\]; -[$storage\_fileMp3](../constructors/storage_fileMp3.md) = \[\]; +*** +

[$storage.fileMp3](../constructors/storage.fileMp3.md) = \[\]; -[$storage\_fileMp4](../constructors/storage_fileMp4.md) = \[\]; +*** +

[$storage.fileMp4](../constructors/storage.fileMp4.md) = \[\]; -[$storage\_filePartial](../constructors/storage_filePartial.md) = \[\]; +*** +

[$storage.filePartial](../constructors/storage.filePartial.md) = \[\]; -[$storage\_filePdf](../constructors/storage_filePdf.md) = \[\]; +*** +

[$storage.filePdf](../constructors/storage.filePdf.md) = \[\]; -[$storage\_filePng](../constructors/storage_filePng.md) = \[\]; +*** +

[$storage.filePng](../constructors/storage.filePng.md) = \[\]; -[$storage\_fileUnknown](../constructors/storage_fileUnknown.md) = \[\]; +*** +

[$storage.fileUnknown](../constructors/storage.fileUnknown.md) = \[\]; -[$storage\_fileWebp](../constructors/storage_fileWebp.md) = \[\]; +*** +

[$storage.fileWebp](../constructors/storage.fileWebp.md) = \[\]; ***

[$textBold](../constructors/textBold.md) = \['text' => [RichText](../types/RichText.md), \]; @@ -1624,6 +1710,30 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ***

[$updates](../constructors/updates.md) = \['updates' => \[[Update](../types/Update.md)\], 'users' => \[[User](../types/User.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'date' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; +*** +

[$updates.channelDifference](../constructors/updates.channelDifference.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), 'new_messages' => \[[Message](../types/Message.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +*** +

[$updates.channelDifferenceEmpty](../constructors/updates.channelDifferenceEmpty.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), \]; + +*** +

[$updates.channelDifferenceTooLong](../constructors/updates.channelDifferenceTooLong.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), 'top_message' => [int](../types/int.md), 'read_inbox_max_id' => [int](../types/int.md), 'read_outbox_max_id' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), 'unread_mentions_count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +*** +

[$updates.difference](../constructors/updates.difference.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'state' => [updates.State](../types/updates.State.md), \]; + +*** +

[$updates.differenceEmpty](../constructors/updates.differenceEmpty.md) = \['date' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; + +*** +

[$updates.differenceSlice](../constructors/updates.differenceSlice.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'intermediate_state' => [updates.State](../types/updates.State.md), \]; + +*** +

[$updates.differenceTooLong](../constructors/updates.differenceTooLong.md) = \['pts' => [int](../types/int.md), \]; + +*** +

[$updates.state](../constructors/updates.state.md) = \['pts' => [int](../types/int.md), 'qts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'seq' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), \]; + ***

[$updatesCombined](../constructors/updatesCombined.md) = \['updates' => \[[Update](../types/Update.md)\], 'users' => \[[User](../types/User.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'date' => [int](../types/int.md), 'seq_start' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; @@ -1631,32 +1741,19 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$updatesTooLong](../constructors/updatesTooLong.md) = \[\]; *** -

[$updates\_channelDifference](../constructors/updates_channelDifference.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), 'new_messages' => \[[Message](../types/Message.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; - -[$updates\_channelDifferenceEmpty](../constructors/updates_channelDifferenceEmpty.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), \]; - -[$updates\_channelDifferenceTooLong](../constructors/updates_channelDifferenceTooLong.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), 'top_message' => [int](../types/int.md), 'read_inbox_max_id' => [int](../types/int.md), 'read_outbox_max_id' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), 'unread_mentions_count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; - -[$updates\_difference](../constructors/updates_difference.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'state' => [updates.State](../types/updates.State.md), \]; - -[$updates\_differenceEmpty](../constructors/updates_differenceEmpty.md) = \['date' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; - -[$updates\_differenceSlice](../constructors/updates_differenceSlice.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'intermediate_state' => [updates.State](../types/updates.State.md), \]; - -[$updates\_differenceTooLong](../constructors/updates_differenceTooLong.md) = \['pts' => [int](../types/int.md), \]; - -[$updates\_state](../constructors/updates_state.md) = \['pts' => [int](../types/int.md), 'qts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'seq' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), \]; +

[$upload.cdnFile](../constructors/upload.cdnFile.md) = \['bytes' => [bytes](../types/bytes.md), \]; *** -

[$upload\_cdnFile](../constructors/upload_cdnFile.md) = \['bytes' => [bytes](../types/bytes.md), \]; +

[$upload.cdnFileReuploadNeeded](../constructors/upload.cdnFileReuploadNeeded.md) = \['request_token' => [bytes](../types/bytes.md), \]; -[$upload\_cdnFileReuploadNeeded](../constructors/upload_cdnFileReuploadNeeded.md) = \['request_token' => [bytes](../types/bytes.md), \]; +*** +

[$upload.file](../constructors/upload.file.md) = \['type' => [storage.FileType](../types/storage.FileType.md), 'mtime' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; -[$upload\_file](../constructors/upload_file.md) = \['type' => [storage.FileType](../types/storage.FileType.md), 'mtime' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; +*** +

[$upload.fileCdnRedirect](../constructors/upload.fileCdnRedirect.md) = \['dc_id' => [int](../types/int.md), 'file_token' => [bytes](../types/bytes.md), 'encryption_key' => [bytes](../types/bytes.md), 'encryption_iv' => [bytes](../types/bytes.md), 'cdn_file_hashes' => \[[CdnFileHash](../types/CdnFileHash.md)\], \]; -[$upload\_fileCdnRedirect](../constructors/upload_fileCdnRedirect.md) = \['dc_id' => [int](../types/int.md), 'file_token' => [bytes](../types/bytes.md), 'encryption_key' => [bytes](../types/bytes.md), 'encryption_iv' => [bytes](../types/bytes.md), 'cdn_file_hashes' => \[[CdnFileHash](../types/CdnFileHash.md)\], \]; - -[$upload\_webFile](../constructors/upload_webFile.md) = \['size' => [int](../types/int.md), 'mime_type' => [string](../types/string.md), 'file_type' => [storage.FileType](../types/storage.FileType.md), 'mtime' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; +*** +

[$upload.webFile](../constructors/upload.webFile.md) = \['size' => [int](../types/int.md), 'mime_type' => [string](../types/string.md), 'file_type' => [storage.FileType](../types/storage.FileType.md), 'mtime' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; ***

[$user](../constructors/user.md) = \['self' => [Bool](../types/Bool.md), 'contact' => [Bool](../types/Bool.md), 'mutual_contact' => [Bool](../types/Bool.md), 'deleted' => [Bool](../types/Bool.md), 'bot' => [Bool](../types/Bool.md), 'bot_chat_history' => [Bool](../types/Bool.md), 'bot_nochats' => [Bool](../types/Bool.md), 'verified' => [Bool](../types/Bool.md), 'restricted' => [Bool](../types/Bool.md), 'min' => [Bool](../types/Bool.md), 'bot_inline_geo' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), 'username' => [string](../types/string.md), 'phone' => [string](../types/string.md), 'photo' => [UserProfilePhoto](../types/UserProfilePhoto.md), 'status' => [UserStatus](../types/UserStatus.md), 'bot_info_version' => [int](../types/int.md), 'restriction_reason' => [string](../types/string.md), 'bot_inline_placeholder' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]; diff --git a/old_docs/API_docs_v73/constructors/account.authorizations.md b/old_docs/API_docs_v73/constructors/account.authorizations.md new file mode 100644 index 00000000..53c961f0 --- /dev/null +++ b/old_docs/API_docs_v73/constructors/account.authorizations.md @@ -0,0 +1,38 @@ +--- +title: account.authorizations +description: Logged-in sessions +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.authorizations +[Back to constructors index](index.md) + + + +Logged-in sessions + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|authorizations|Array of [Authorization](../types/Authorization.md) | Yes|Authorizations| + + + +### Type: [account.Authorizations](../types/account.Authorizations.md) + + +### Example: + +```php +$account.authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization, Authorization]]; +``` + + +Or, if you're into Lua: + +```lua +account.authorizations={_='account.authorizations', authorizations={Authorization}} + +``` + + diff --git a/old_docs/API_docs_v73/constructors/account.noPassword.md b/old_docs/API_docs_v73/constructors/account.noPassword.md new file mode 100644 index 00000000..4dcdc515 --- /dev/null +++ b/old_docs/API_docs_v73/constructors/account.noPassword.md @@ -0,0 +1,39 @@ +--- +title: account.noPassword +description: No password +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.noPassword +[Back to constructors index](index.md) + + + +No password + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|new\_salt|[bytes](../types/bytes.md) | Yes|New salt| +|email\_unconfirmed\_pattern|[string](../types/string.md) | Yes|Email unconfirmed pattern| + + + +### Type: [account.Password](../types/account.Password.md) + + +### Example: + +```php +$account.noPassword = ['_' => 'account.noPassword', 'new_salt' => 'bytes', 'email_unconfirmed_pattern' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +account.noPassword={_='account.noPassword', new_salt='bytes', email_unconfirmed_pattern='string'} + +``` + + diff --git a/old_docs/API_docs_v73/constructors/account.password.md b/old_docs/API_docs_v73/constructors/account.password.md new file mode 100644 index 00000000..9e86a73a --- /dev/null +++ b/old_docs/API_docs_v73/constructors/account.password.md @@ -0,0 +1,42 @@ +--- +title: account.password +description: Configuration for two-factor authorization +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.password +[Back to constructors index](index.md) + + + +Configuration for two-factor authorization + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|current\_salt|[bytes](../types/bytes.md) | Yes|Current salt| +|new\_salt|[bytes](../types/bytes.md) | Yes|New salt| +|hint|[string](../types/string.md) | Yes|Text hint for the password| +|has\_recovery|[Bool](../types/Bool.md) | Yes|Has recovery?| +|email\_unconfirmed\_pattern|[string](../types/string.md) | Yes|A [password recovery email](https://core.telegram.org/api/srp#email-verification) with the specified [pattern](https://core.telegram.org/api/pattern) is still awaiting verification| + + + +### Type: [account.Password](../types/account.Password.md) + + +### Example: + +```php +$account.password = ['_' => 'account.password', 'current_salt' => 'bytes', 'new_salt' => 'bytes', 'hint' => 'string', 'has_recovery' => Bool, 'email_unconfirmed_pattern' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +account.password={_='account.password', current_salt='bytes', new_salt='bytes', hint='string', has_recovery=Bool, email_unconfirmed_pattern='string'} + +``` + + diff --git a/old_docs/API_docs_v73/constructors/account.passwordInputSettings.md b/old_docs/API_docs_v73/constructors/account.passwordInputSettings.md new file mode 100644 index 00000000..c440115a --- /dev/null +++ b/old_docs/API_docs_v73/constructors/account.passwordInputSettings.md @@ -0,0 +1,41 @@ +--- +title: account.passwordInputSettings +description: Settings for setting up a new password +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.passwordInputSettings +[Back to constructors index](index.md) + + + +Settings for setting up a new password + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|new\_salt|[bytes](../types/bytes.md) | Optional|`$new_salt = $MadelineProto->account->getPassword()['new_salt'].$MadelineProto->random(8);`| +|new\_password\_hash|[bytes](../types/bytes.md) | Optional|The [computed password hash](https://core.telegram.org/api/srp)| +|hint|[string](../types/string.md) | Optional|Text hint for the password| +|email|[string](../types/string.md) | Optional|Password recovery email| + + + +### Type: [account.PasswordInputSettings](../types/account.PasswordInputSettings.md) + + +### Example: + +```php +$account.passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_salt' => 'bytes', 'new_password_hash' => 'bytes', 'hint' => 'string', 'email' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +account.passwordInputSettings={_='account.passwordInputSettings', new_salt='bytes', new_password_hash='bytes', hint='string', email='string'} + +``` + + diff --git a/old_docs/API_docs_v73/constructors/account.passwordSettings.md b/old_docs/API_docs_v73/constructors/account.passwordSettings.md new file mode 100644 index 00000000..be899d34 --- /dev/null +++ b/old_docs/API_docs_v73/constructors/account.passwordSettings.md @@ -0,0 +1,38 @@ +--- +title: account.passwordSettings +description: Private info associated to the password info (recovery email, telegram [passport](https://core.telegram.org/passport) info & so on) +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.passwordSettings +[Back to constructors index](index.md) + + + +Private info associated to the password info (recovery email, telegram [passport](https://core.telegram.org/passport) info & so on) + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|email|[string](../types/string.md) | Yes|[2FA Recovery email](https://core.telegram.org/api/srp#email-verification)| + + + +### Type: [account.PasswordSettings](../types/account.PasswordSettings.md) + + +### Example: + +```php +$account.passwordSettings = ['_' => 'account.passwordSettings', 'email' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +account.passwordSettings={_='account.passwordSettings', email='string'} + +``` + + diff --git a/old_docs/API_docs_v73/constructors/account.privacyRules.md b/old_docs/API_docs_v73/constructors/account.privacyRules.md new file mode 100644 index 00000000..7ae04abb --- /dev/null +++ b/old_docs/API_docs_v73/constructors/account.privacyRules.md @@ -0,0 +1,39 @@ +--- +title: account.privacyRules +description: Privacy rules +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.privacyRules +[Back to constructors index](index.md) + + + +Privacy rules + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|rules|Array of [PrivacyRule](../types/PrivacyRule.md) | Yes|Rules| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [account.PrivacyRules](../types/account.PrivacyRules.md) + + +### Example: + +```php +$account.privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule, PrivacyRule], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +account.privacyRules={_='account.privacyRules', rules={PrivacyRule}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v73/constructors/account.tmpPassword.md b/old_docs/API_docs_v73/constructors/account.tmpPassword.md new file mode 100644 index 00000000..996548c4 --- /dev/null +++ b/old_docs/API_docs_v73/constructors/account.tmpPassword.md @@ -0,0 +1,39 @@ +--- +title: account.tmpPassword +description: Temporary payment password +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.tmpPassword +[Back to constructors index](index.md) + + + +Temporary payment password + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|tmp\_password|[bytes](../types/bytes.md) | Yes|Temporary password| +|valid\_until|[int](../types/int.md) | Yes|Validity period| + + + +### Type: [account.TmpPassword](../types/account.TmpPassword.md) + + +### Example: + +```php +$account.tmpPassword = ['_' => 'account.tmpPassword', 'tmp_password' => 'bytes', 'valid_until' => int]; +``` + + +Or, if you're into Lua: + +```lua +account.tmpPassword={_='account.tmpPassword', tmp_password='bytes', valid_until=int} + +``` + + diff --git a/old_docs/API_docs_v73/constructors/account_authorizations.md b/old_docs/API_docs_v73/constructors/account_authorizations.md deleted file mode 100644 index aeae48f3..00000000 --- a/old_docs/API_docs_v73/constructors/account_authorizations.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: account.authorizations -description: Logged-in sessions -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.authorizations -[Back to constructors index](index.md) - - - -Logged-in sessions - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|authorizations|Array of [Authorization](../types/Authorization.md) | Yes|Authorizations| - - - -### Type: [account\_Authorizations](../types/account_Authorizations.md) - - -### Example: - -```php -$account_authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization, Authorization]]; -``` - - -Or, if you're into Lua: - -```lua -account_authorizations={_='account.authorizations', authorizations={Authorization}} - -``` - - diff --git a/old_docs/API_docs_v73/constructors/account_noPassword.md b/old_docs/API_docs_v73/constructors/account_noPassword.md deleted file mode 100644 index 10ef7b2a..00000000 --- a/old_docs/API_docs_v73/constructors/account_noPassword.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: account.noPassword -description: No password -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.noPassword -[Back to constructors index](index.md) - - - -No password - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|new\_salt|[bytes](../types/bytes.md) | Yes|New salt| -|email\_unconfirmed\_pattern|[string](../types/string.md) | Yes|Email unconfirmed pattern| - - - -### Type: [account\_Password](../types/account_Password.md) - - -### Example: - -```php -$account_noPassword = ['_' => 'account.noPassword', 'new_salt' => 'bytes', 'email_unconfirmed_pattern' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -account_noPassword={_='account.noPassword', new_salt='bytes', email_unconfirmed_pattern='string'} - -``` - - diff --git a/old_docs/API_docs_v73/constructors/account_password.md b/old_docs/API_docs_v73/constructors/account_password.md deleted file mode 100644 index a9f512e8..00000000 --- a/old_docs/API_docs_v73/constructors/account_password.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: account.password -description: Configuration for two-factor authorization -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.password -[Back to constructors index](index.md) - - - -Configuration for two-factor authorization - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|current\_salt|[bytes](../types/bytes.md) | Yes|Current salt| -|new\_salt|[bytes](../types/bytes.md) | Yes|New salt| -|hint|[string](../types/string.md) | Yes|Text hint for the password| -|has\_recovery|[Bool](../types/Bool.md) | Yes|Has recovery?| -|email\_unconfirmed\_pattern|[string](../types/string.md) | Yes|A [password recovery email](https://core.telegram.org/api/srp#email-verification) with the specified [pattern](https://core.telegram.org/api/pattern) is still awaiting verification| - - - -### Type: [account\_Password](../types/account_Password.md) - - -### Example: - -```php -$account_password = ['_' => 'account.password', 'current_salt' => 'bytes', 'new_salt' => 'bytes', 'hint' => 'string', 'has_recovery' => Bool, 'email_unconfirmed_pattern' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -account_password={_='account.password', current_salt='bytes', new_salt='bytes', hint='string', has_recovery=Bool, email_unconfirmed_pattern='string'} - -``` - - diff --git a/old_docs/API_docs_v73/constructors/account_passwordInputSettings.md b/old_docs/API_docs_v73/constructors/account_passwordInputSettings.md deleted file mode 100644 index 05ec666b..00000000 --- a/old_docs/API_docs_v73/constructors/account_passwordInputSettings.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: account.passwordInputSettings -description: Settings for setting up a new password -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.passwordInputSettings -[Back to constructors index](index.md) - - - -Settings for setting up a new password - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|new\_salt|[bytes](../types/bytes.md) | Optional|`$new_salt = $MadelineProto->account->getPassword()['new_salt'].$MadelineProto->random(8);`| -|new\_password\_hash|[bytes](../types/bytes.md) | Optional|The [computed password hash](https://core.telegram.org/api/srp)| -|hint|[string](../types/string.md) | Optional|Text hint for the password| -|email|[string](../types/string.md) | Optional|Password recovery email| - - - -### Type: [account\_PasswordInputSettings](../types/account_PasswordInputSettings.md) - - -### Example: - -```php -$account_passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_salt' => 'bytes', 'new_password_hash' => 'bytes', 'hint' => 'string', 'email' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -account_passwordInputSettings={_='account.passwordInputSettings', new_salt='bytes', new_password_hash='bytes', hint='string', email='string'} - -``` - - diff --git a/old_docs/API_docs_v73/constructors/account_passwordSettings.md b/old_docs/API_docs_v73/constructors/account_passwordSettings.md deleted file mode 100644 index e22f9cc4..00000000 --- a/old_docs/API_docs_v73/constructors/account_passwordSettings.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: account.passwordSettings -description: Private info associated to the password info (recovery email, telegram [passport](https://core.telegram.org/passport) info & so on) -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.passwordSettings -[Back to constructors index](index.md) - - - -Private info associated to the password info (recovery email, telegram [passport](https://core.telegram.org/passport) info & so on) - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|email|[string](../types/string.md) | Yes|[2FA Recovery email](https://core.telegram.org/api/srp#email-verification)| - - - -### Type: [account\_PasswordSettings](../types/account_PasswordSettings.md) - - -### Example: - -```php -$account_passwordSettings = ['_' => 'account.passwordSettings', 'email' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -account_passwordSettings={_='account.passwordSettings', email='string'} - -``` - - diff --git a/old_docs/API_docs_v73/constructors/account_privacyRules.md b/old_docs/API_docs_v73/constructors/account_privacyRules.md deleted file mode 100644 index 28b260b7..00000000 --- a/old_docs/API_docs_v73/constructors/account_privacyRules.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: account.privacyRules -description: Privacy rules -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.privacyRules -[Back to constructors index](index.md) - - - -Privacy rules - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|rules|Array of [PrivacyRule](../types/PrivacyRule.md) | Yes|Rules| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [account\_PrivacyRules](../types/account_PrivacyRules.md) - - -### Example: - -```php -$account_privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule, PrivacyRule], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -account_privacyRules={_='account.privacyRules', rules={PrivacyRule}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v73/constructors/account_tmpPassword.md b/old_docs/API_docs_v73/constructors/account_tmpPassword.md deleted file mode 100644 index 68832780..00000000 --- a/old_docs/API_docs_v73/constructors/account_tmpPassword.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: account.tmpPassword -description: Temporary payment password -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.tmpPassword -[Back to constructors index](index.md) - - - -Temporary payment password - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|tmp\_password|[bytes](../types/bytes.md) | Yes|Temporary password| -|valid\_until|[int](../types/int.md) | Yes|Validity period| - - - -### Type: [account\_TmpPassword](../types/account_TmpPassword.md) - - -### Example: - -```php -$account_tmpPassword = ['_' => 'account.tmpPassword', 'tmp_password' => 'bytes', 'valid_until' => int]; -``` - - -Or, if you're into Lua: - -```lua -account_tmpPassword={_='account.tmpPassword', tmp_password='bytes', valid_until=int} - -``` - - diff --git a/old_docs/API_docs_v73/constructors/auth.authorization.md b/old_docs/API_docs_v73/constructors/auth.authorization.md new file mode 100644 index 00000000..2a84bb12 --- /dev/null +++ b/old_docs/API_docs_v73/constructors/auth.authorization.md @@ -0,0 +1,39 @@ +--- +title: auth.authorization +description: Contains user authorization info. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.authorization +[Back to constructors index](index.md) + + + +Contains user authorization info. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|tmp\_sessions|[int](../types/int.md) | Optional|Temporary [passport](https://core.telegram.org/passport) sessions| +|user|[User](../types/User.md) | Optional|Info on authorized user| + + + +### Type: [auth.Authorization](../types/auth.Authorization.md) + + +### Example: + +```php +$auth.authorization = ['_' => 'auth.authorization', 'tmp_sessions' => int, 'user' => User]; +``` + + +Or, if you're into Lua: + +```lua +auth.authorization={_='auth.authorization', tmp_sessions=int, user=User} + +``` + + diff --git a/old_docs/API_docs_v73/constructors/auth.checkedPhone.md b/old_docs/API_docs_v73/constructors/auth.checkedPhone.md new file mode 100644 index 00000000..23e84cf9 --- /dev/null +++ b/old_docs/API_docs_v73/constructors/auth.checkedPhone.md @@ -0,0 +1,38 @@ +--- +title: auth.checkedPhone +description: Checked phone +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.checkedPhone +[Back to constructors index](index.md) + + + +Checked phone + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_registered|[Bool](../types/Bool.md) | Yes|Phone registered?| + + + +### Type: [auth.CheckedPhone](../types/auth.CheckedPhone.md) + + +### Example: + +```php +$auth.checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool]; +``` + + +Or, if you're into Lua: + +```lua +auth.checkedPhone={_='auth.checkedPhone', phone_registered=Bool} + +``` + + diff --git a/old_docs/API_docs_v73/constructors/auth.codeTypeCall.md b/old_docs/API_docs_v73/constructors/auth.codeTypeCall.md new file mode 100644 index 00000000..4b4a1cdc --- /dev/null +++ b/old_docs/API_docs_v73/constructors/auth.codeTypeCall.md @@ -0,0 +1,33 @@ +--- +title: auth.codeTypeCall +description: Type of verification code that will be sent next if you call the resendCode method: SMS code +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.codeTypeCall +[Back to constructors index](index.md) + + + +Type of verification code that will be sent next if you call the resendCode method: SMS code + + + + +### Type: [auth.CodeType](../types/auth.CodeType.md) + + +### Example: + +```php +$auth.codeTypeCall = ['_' => 'auth.codeTypeCall']; +``` + + +Or, if you're into Lua: + +```lua +auth.codeTypeCall={_='auth.codeTypeCall'} + +``` + + diff --git a/old_docs/API_docs_v73/constructors/auth.codeTypeFlashCall.md b/old_docs/API_docs_v73/constructors/auth.codeTypeFlashCall.md new file mode 100644 index 00000000..ef97e034 --- /dev/null +++ b/old_docs/API_docs_v73/constructors/auth.codeTypeFlashCall.md @@ -0,0 +1,33 @@ +--- +title: auth.codeTypeFlashCall +description: Type of verification code that will be sent next if you call the resendCode method: SMS code +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.codeTypeFlashCall +[Back to constructors index](index.md) + + + +Type of verification code that will be sent next if you call the resendCode method: SMS code + + + + +### Type: [auth.CodeType](../types/auth.CodeType.md) + + +### Example: + +```php +$auth.codeTypeFlashCall = ['_' => 'auth.codeTypeFlashCall']; +``` + + +Or, if you're into Lua: + +```lua +auth.codeTypeFlashCall={_='auth.codeTypeFlashCall'} + +``` + + diff --git a/old_docs/API_docs_v73/constructors/auth.codeTypeSms.md b/old_docs/API_docs_v73/constructors/auth.codeTypeSms.md new file mode 100644 index 00000000..bab9a5a4 --- /dev/null +++ b/old_docs/API_docs_v73/constructors/auth.codeTypeSms.md @@ -0,0 +1,33 @@ +--- +title: auth.codeTypeSms +description: Type of verification code that will be sent next if you call the resendCode method: SMS code +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.codeTypeSms +[Back to constructors index](index.md) + + + +Type of verification code that will be sent next if you call the resendCode method: SMS code + + + + +### Type: [auth.CodeType](../types/auth.CodeType.md) + + +### Example: + +```php +$auth.codeTypeSms = ['_' => 'auth.codeTypeSms']; +``` + + +Or, if you're into Lua: + +```lua +auth.codeTypeSms={_='auth.codeTypeSms'} + +``` + + diff --git a/old_docs/API_docs_v73/constructors/auth.exportedAuthorization.md b/old_docs/API_docs_v73/constructors/auth.exportedAuthorization.md new file mode 100644 index 00000000..2a4a9896 --- /dev/null +++ b/old_docs/API_docs_v73/constructors/auth.exportedAuthorization.md @@ -0,0 +1,39 @@ +--- +title: auth.exportedAuthorization +description: Data for copying of authorization between data centres. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.exportedAuthorization +[Back to constructors index](index.md) + + + +Data for copying of authorization between data centres. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|id|[int](../types/int.md) | Yes|Current user identifier| +|bytes|[bytes](../types/bytes.md) | Yes|Authorizes key| + + + +### Type: [auth.ExportedAuthorization](../types/auth.ExportedAuthorization.md) + + +### Example: + +```php +$auth.exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +auth.exportedAuthorization={_='auth.exportedAuthorization', id=int, bytes='bytes'} + +``` + + diff --git a/old_docs/API_docs_v73/constructors/auth.passwordRecovery.md b/old_docs/API_docs_v73/constructors/auth.passwordRecovery.md new file mode 100644 index 00000000..61de922d --- /dev/null +++ b/old_docs/API_docs_v73/constructors/auth.passwordRecovery.md @@ -0,0 +1,38 @@ +--- +title: auth.passwordRecovery +description: Recovery info of a [2FA password](https://core.telegram.org/api/srp), only for accounts with a [recovery email configured](https://core.telegram.org/api/srp#email-verification). +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.passwordRecovery +[Back to constructors index](index.md) + + + +Recovery info of a [2FA password](https://core.telegram.org/api/srp), only for accounts with a [recovery email configured](https://core.telegram.org/api/srp#email-verification). + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|email\_pattern|[string](../types/string.md) | Yes|The email to which the recovery code was sent must match this [pattern](https://core.telegram.org/api/pattern).| + + + +### Type: [auth.PasswordRecovery](../types/auth.PasswordRecovery.md) + + +### Example: + +```php +$auth.passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +auth.passwordRecovery={_='auth.passwordRecovery', email_pattern='string'} + +``` + + diff --git a/old_docs/API_docs_v73/constructors/auth.sentCode.md b/old_docs/API_docs_v73/constructors/auth.sentCode.md new file mode 100644 index 00000000..25e94704 --- /dev/null +++ b/old_docs/API_docs_v73/constructors/auth.sentCode.md @@ -0,0 +1,42 @@ +--- +title: auth.sentCode +description: Contains info about a sent verification code. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentCode +[Back to constructors index](index.md) + + + +Contains info about a sent verification code. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_registered|[Bool](../types/Bool.md) | Optional|Phone registered?| +|type|[auth.SentCodeType](../constructors/auth.SentCodeType.md) | Yes|Phone code type| +|phone\_code\_hash|[string](../types/string.md) | Yes|Phone code hash, to be stored and later re-used with [auth.signIn](../methods/auth.signIn.md)| +|next\_type|[auth.CodeType](../constructors/auth.CodeType.md) | Optional|Phone code type that will be sent next, if the phone code is not received within `timeout` seconds: to send it use [auth.resendCode](../methods/auth.resendCode.md)| +|timeout|[int](../types/int.md) | Optional|Timeout for reception of the phone code| + + + +### Type: [auth.SentCode](../types/auth.SentCode.md) + + +### Example: + +```php +$auth.sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'type' => auth.SentCodeType, 'phone_code_hash' => 'string', 'next_type' => auth.CodeType, 'timeout' => int]; +``` + + +Or, if you're into Lua: + +```lua +auth.sentCode={_='auth.sentCode', phone_registered=Bool, type=auth.SentCodeType, phone_code_hash='string', next_type=auth.CodeType, timeout=int} + +``` + + diff --git a/old_docs/API_docs_v73/constructors/auth.sentCodeTypeApp.md b/old_docs/API_docs_v73/constructors/auth.sentCodeTypeApp.md new file mode 100644 index 00000000..5f2d4aa3 --- /dev/null +++ b/old_docs/API_docs_v73/constructors/auth.sentCodeTypeApp.md @@ -0,0 +1,38 @@ +--- +title: auth.sentCodeTypeApp +description: The code was sent through the telegram app +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentCodeTypeApp +[Back to constructors index](index.md) + + + +The code was sent through the telegram app + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|length|[int](../types/int.md) | Yes|Length of the code in bytes| + + + +### Type: [auth.SentCodeType](../types/auth.SentCodeType.md) + + +### Example: + +```php +$auth.sentCodeTypeApp = ['_' => 'auth.sentCodeTypeApp', 'length' => int]; +``` + + +Or, if you're into Lua: + +```lua +auth.sentCodeTypeApp={_='auth.sentCodeTypeApp', length=int} + +``` + + diff --git a/old_docs/API_docs_v73/constructors/auth.sentCodeTypeCall.md b/old_docs/API_docs_v73/constructors/auth.sentCodeTypeCall.md new file mode 100644 index 00000000..9843b3df --- /dev/null +++ b/old_docs/API_docs_v73/constructors/auth.sentCodeTypeCall.md @@ -0,0 +1,38 @@ +--- +title: auth.sentCodeTypeCall +description: The code will be sent via a phone call: a synthesized voice will tell the user which verification code to input. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentCodeTypeCall +[Back to constructors index](index.md) + + + +The code will be sent via a phone call: a synthesized voice will tell the user which verification code to input. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|length|[int](../types/int.md) | Yes|Length of the verification code| + + + +### Type: [auth.SentCodeType](../types/auth.SentCodeType.md) + + +### Example: + +```php +$auth.sentCodeTypeCall = ['_' => 'auth.sentCodeTypeCall', 'length' => int]; +``` + + +Or, if you're into Lua: + +```lua +auth.sentCodeTypeCall={_='auth.sentCodeTypeCall', length=int} + +``` + + diff --git a/old_docs/API_docs_v73/constructors/auth.sentCodeTypeFlashCall.md b/old_docs/API_docs_v73/constructors/auth.sentCodeTypeFlashCall.md new file mode 100644 index 00000000..0d24751d --- /dev/null +++ b/old_docs/API_docs_v73/constructors/auth.sentCodeTypeFlashCall.md @@ -0,0 +1,38 @@ +--- +title: auth.sentCodeTypeFlashCall +description: The code will be sent via a flash phone call, that will be closed immediately. The phone code will then be the phone number itself, just make sure that the phone number matches the specified pattern. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentCodeTypeFlashCall +[Back to constructors index](index.md) + + + +The code will be sent via a flash phone call, that will be closed immediately. The phone code will then be the phone number itself, just make sure that the phone number matches the specified pattern. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pattern|[string](../types/string.md) | Yes|[pattern](https://core.telegram.org/api/pattern) to match| + + + +### Type: [auth.SentCodeType](../types/auth.SentCodeType.md) + + +### Example: + +```php +$auth.sentCodeTypeFlashCall = ['_' => 'auth.sentCodeTypeFlashCall', 'pattern' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +auth.sentCodeTypeFlashCall={_='auth.sentCodeTypeFlashCall', pattern='string'} + +``` + + diff --git a/old_docs/API_docs_v73/constructors/auth.sentCodeTypeSms.md b/old_docs/API_docs_v73/constructors/auth.sentCodeTypeSms.md new file mode 100644 index 00000000..d8ecb75e --- /dev/null +++ b/old_docs/API_docs_v73/constructors/auth.sentCodeTypeSms.md @@ -0,0 +1,38 @@ +--- +title: auth.sentCodeTypeSms +description: The code was sent via SMS +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentCodeTypeSms +[Back to constructors index](index.md) + + + +The code was sent via SMS + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|length|[int](../types/int.md) | Yes|Length of the code in bytes| + + + +### Type: [auth.SentCodeType](../types/auth.SentCodeType.md) + + +### Example: + +```php +$auth.sentCodeTypeSms = ['_' => 'auth.sentCodeTypeSms', 'length' => int]; +``` + + +Or, if you're into Lua: + +```lua +auth.sentCodeTypeSms={_='auth.sentCodeTypeSms', length=int} + +``` + + diff --git a/old_docs/API_docs_v73/constructors/auth_authorization.md b/old_docs/API_docs_v73/constructors/auth_authorization.md deleted file mode 100644 index cb72811d..00000000 --- a/old_docs/API_docs_v73/constructors/auth_authorization.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: auth.authorization -description: Contains user authorization info. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.authorization -[Back to constructors index](index.md) - - - -Contains user authorization info. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|tmp\_sessions|[int](../types/int.md) | Optional|Temporary [passport](https://core.telegram.org/passport) sessions| -|user|[User](../types/User.md) | Optional|Info on authorized user| - - - -### Type: [auth\_Authorization](../types/auth_Authorization.md) - - -### Example: - -```php -$auth_authorization = ['_' => 'auth.authorization', 'tmp_sessions' => int, 'user' => User]; -``` - - -Or, if you're into Lua: - -```lua -auth_authorization={_='auth.authorization', tmp_sessions=int, user=User} - -``` - - diff --git a/old_docs/API_docs_v73/constructors/auth_checkedPhone.md b/old_docs/API_docs_v73/constructors/auth_checkedPhone.md deleted file mode 100644 index c77becf6..00000000 --- a/old_docs/API_docs_v73/constructors/auth_checkedPhone.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.checkedPhone -description: Checked phone -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.checkedPhone -[Back to constructors index](index.md) - - - -Checked phone - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_registered|[Bool](../types/Bool.md) | Yes|Phone registered?| - - - -### Type: [auth\_CheckedPhone](../types/auth_CheckedPhone.md) - - -### Example: - -```php -$auth_checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool]; -``` - - -Or, if you're into Lua: - -```lua -auth_checkedPhone={_='auth.checkedPhone', phone_registered=Bool} - -``` - - diff --git a/old_docs/API_docs_v73/constructors/auth_codeTypeCall.md b/old_docs/API_docs_v73/constructors/auth_codeTypeCall.md deleted file mode 100644 index 3e957c2a..00000000 --- a/old_docs/API_docs_v73/constructors/auth_codeTypeCall.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: auth.codeTypeCall -description: Type of verification code that will be sent next if you call the resendCode method: SMS code -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.codeTypeCall -[Back to constructors index](index.md) - - - -Type of verification code that will be sent next if you call the resendCode method: SMS code - - - - -### Type: [auth\_CodeType](../types/auth_CodeType.md) - - -### Example: - -```php -$auth_codeTypeCall = ['_' => 'auth.codeTypeCall']; -``` - - -Or, if you're into Lua: - -```lua -auth_codeTypeCall={_='auth.codeTypeCall'} - -``` - - diff --git a/old_docs/API_docs_v73/constructors/auth_codeTypeFlashCall.md b/old_docs/API_docs_v73/constructors/auth_codeTypeFlashCall.md deleted file mode 100644 index 981b2461..00000000 --- a/old_docs/API_docs_v73/constructors/auth_codeTypeFlashCall.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: auth.codeTypeFlashCall -description: Type of verification code that will be sent next if you call the resendCode method: SMS code -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.codeTypeFlashCall -[Back to constructors index](index.md) - - - -Type of verification code that will be sent next if you call the resendCode method: SMS code - - - - -### Type: [auth\_CodeType](../types/auth_CodeType.md) - - -### Example: - -```php -$auth_codeTypeFlashCall = ['_' => 'auth.codeTypeFlashCall']; -``` - - -Or, if you're into Lua: - -```lua -auth_codeTypeFlashCall={_='auth.codeTypeFlashCall'} - -``` - - diff --git a/old_docs/API_docs_v73/constructors/auth_codeTypeSms.md b/old_docs/API_docs_v73/constructors/auth_codeTypeSms.md deleted file mode 100644 index 16eb5d0d..00000000 --- a/old_docs/API_docs_v73/constructors/auth_codeTypeSms.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: auth.codeTypeSms -description: Type of verification code that will be sent next if you call the resendCode method: SMS code -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.codeTypeSms -[Back to constructors index](index.md) - - - -Type of verification code that will be sent next if you call the resendCode method: SMS code - - - - -### Type: [auth\_CodeType](../types/auth_CodeType.md) - - -### Example: - -```php -$auth_codeTypeSms = ['_' => 'auth.codeTypeSms']; -``` - - -Or, if you're into Lua: - -```lua -auth_codeTypeSms={_='auth.codeTypeSms'} - -``` - - diff --git a/old_docs/API_docs_v73/constructors/auth_exportedAuthorization.md b/old_docs/API_docs_v73/constructors/auth_exportedAuthorization.md deleted file mode 100644 index 8d18916e..00000000 --- a/old_docs/API_docs_v73/constructors/auth_exportedAuthorization.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: auth.exportedAuthorization -description: Data for copying of authorization between data centres. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.exportedAuthorization -[Back to constructors index](index.md) - - - -Data for copying of authorization between data centres. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|id|[int](../types/int.md) | Yes|Current user identifier| -|bytes|[bytes](../types/bytes.md) | Yes|Authorizes key| - - - -### Type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) - - -### Example: - -```php -$auth_exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -auth_exportedAuthorization={_='auth.exportedAuthorization', id=int, bytes='bytes'} - -``` - - diff --git a/old_docs/API_docs_v73/constructors/auth_passwordRecovery.md b/old_docs/API_docs_v73/constructors/auth_passwordRecovery.md deleted file mode 100644 index c40f375e..00000000 --- a/old_docs/API_docs_v73/constructors/auth_passwordRecovery.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.passwordRecovery -description: Recovery info of a [2FA password](https://core.telegram.org/api/srp), only for accounts with a [recovery email configured](https://core.telegram.org/api/srp#email-verification). -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.passwordRecovery -[Back to constructors index](index.md) - - - -Recovery info of a [2FA password](https://core.telegram.org/api/srp), only for accounts with a [recovery email configured](https://core.telegram.org/api/srp#email-verification). - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|email\_pattern|[string](../types/string.md) | Yes|The email to which the recovery code was sent must match this [pattern](https://core.telegram.org/api/pattern).| - - - -### Type: [auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) - - -### Example: - -```php -$auth_passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -auth_passwordRecovery={_='auth.passwordRecovery', email_pattern='string'} - -``` - - diff --git a/old_docs/API_docs_v73/constructors/auth_sentCode.md b/old_docs/API_docs_v73/constructors/auth_sentCode.md deleted file mode 100644 index 622c4137..00000000 --- a/old_docs/API_docs_v73/constructors/auth_sentCode.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: auth.sentCode -description: Contains info about a sent verification code. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentCode -[Back to constructors index](index.md) - - - -Contains info about a sent verification code. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_registered|[Bool](../types/Bool.md) | Optional|Phone registered?| -|type|[auth\_SentCodeType](../types/auth_SentCodeType.md) | Yes|Phone code type| -|phone\_code\_hash|[string](../types/string.md) | Yes|Phone code hash, to be stored and later re-used with [auth.signIn](../methods/auth.signIn.md)| -|next\_type|[auth\_CodeType](../types/auth_CodeType.md) | Optional|Phone code type that will be sent next, if the phone code is not received within `timeout` seconds: to send it use [auth.resendCode](../methods/auth.resendCode.md)| -|timeout|[int](../types/int.md) | Optional|Timeout for reception of the phone code| - - - -### Type: [auth\_SentCode](../types/auth_SentCode.md) - - -### Example: - -```php -$auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'type' => auth_SentCodeType, 'phone_code_hash' => 'string', 'next_type' => auth_CodeType, 'timeout' => int]; -``` - - -Or, if you're into Lua: - -```lua -auth_sentCode={_='auth.sentCode', phone_registered=Bool, type=auth_SentCodeType, phone_code_hash='string', next_type=auth_CodeType, timeout=int} - -``` - - diff --git a/old_docs/API_docs_v73/constructors/auth_sentCodeTypeApp.md b/old_docs/API_docs_v73/constructors/auth_sentCodeTypeApp.md deleted file mode 100644 index 6b7ad824..00000000 --- a/old_docs/API_docs_v73/constructors/auth_sentCodeTypeApp.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.sentCodeTypeApp -description: The code was sent through the telegram app -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentCodeTypeApp -[Back to constructors index](index.md) - - - -The code was sent through the telegram app - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|length|[int](../types/int.md) | Yes|Length of the code in bytes| - - - -### Type: [auth\_SentCodeType](../types/auth_SentCodeType.md) - - -### Example: - -```php -$auth_sentCodeTypeApp = ['_' => 'auth.sentCodeTypeApp', 'length' => int]; -``` - - -Or, if you're into Lua: - -```lua -auth_sentCodeTypeApp={_='auth.sentCodeTypeApp', length=int} - -``` - - diff --git a/old_docs/API_docs_v73/constructors/auth_sentCodeTypeCall.md b/old_docs/API_docs_v73/constructors/auth_sentCodeTypeCall.md deleted file mode 100644 index bf025aa5..00000000 --- a/old_docs/API_docs_v73/constructors/auth_sentCodeTypeCall.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.sentCodeTypeCall -description: The code will be sent via a phone call: a synthesized voice will tell the user which verification code to input. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentCodeTypeCall -[Back to constructors index](index.md) - - - -The code will be sent via a phone call: a synthesized voice will tell the user which verification code to input. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|length|[int](../types/int.md) | Yes|Length of the verification code| - - - -### Type: [auth\_SentCodeType](../types/auth_SentCodeType.md) - - -### Example: - -```php -$auth_sentCodeTypeCall = ['_' => 'auth.sentCodeTypeCall', 'length' => int]; -``` - - -Or, if you're into Lua: - -```lua -auth_sentCodeTypeCall={_='auth.sentCodeTypeCall', length=int} - -``` - - diff --git a/old_docs/API_docs_v73/constructors/auth_sentCodeTypeFlashCall.md b/old_docs/API_docs_v73/constructors/auth_sentCodeTypeFlashCall.md deleted file mode 100644 index efe64ce7..00000000 --- a/old_docs/API_docs_v73/constructors/auth_sentCodeTypeFlashCall.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.sentCodeTypeFlashCall -description: The code will be sent via a flash phone call, that will be closed immediately. The phone code will then be the phone number itself, just make sure that the phone number matches the specified pattern. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentCodeTypeFlashCall -[Back to constructors index](index.md) - - - -The code will be sent via a flash phone call, that will be closed immediately. The phone code will then be the phone number itself, just make sure that the phone number matches the specified pattern. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pattern|[string](../types/string.md) | Yes|[pattern](https://core.telegram.org/api/pattern) to match| - - - -### Type: [auth\_SentCodeType](../types/auth_SentCodeType.md) - - -### Example: - -```php -$auth_sentCodeTypeFlashCall = ['_' => 'auth.sentCodeTypeFlashCall', 'pattern' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -auth_sentCodeTypeFlashCall={_='auth.sentCodeTypeFlashCall', pattern='string'} - -``` - - diff --git a/old_docs/API_docs_v73/constructors/auth_sentCodeTypeSms.md b/old_docs/API_docs_v73/constructors/auth_sentCodeTypeSms.md deleted file mode 100644 index 8e27dac9..00000000 --- a/old_docs/API_docs_v73/constructors/auth_sentCodeTypeSms.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.sentCodeTypeSms -description: The code was sent via SMS -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentCodeTypeSms -[Back to constructors index](index.md) - - - -The code was sent via SMS - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|length|[int](../types/int.md) | Yes|Length of the code in bytes| - - - -### Type: [auth\_SentCodeType](../types/auth_SentCodeType.md) - - -### Example: - -```php -$auth_sentCodeTypeSms = ['_' => 'auth.sentCodeTypeSms', 'length' => int]; -``` - - -Or, if you're into Lua: - -```lua -auth_sentCodeTypeSms={_='auth.sentCodeTypeSms', length=int} - -``` - - diff --git a/old_docs/API_docs_v73/constructors/channels.adminLogResults.md b/old_docs/API_docs_v73/constructors/channels.adminLogResults.md new file mode 100644 index 00000000..fc4e234a --- /dev/null +++ b/old_docs/API_docs_v73/constructors/channels.adminLogResults.md @@ -0,0 +1,40 @@ +--- +title: channels.adminLogResults +description: Admin log events +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: channels.adminLogResults +[Back to constructors index](index.md) + + + +Admin log events + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|events|Array of [ChannelAdminLogEvent](../types/ChannelAdminLogEvent.md) | Yes|Events| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [channels.AdminLogResults](../types/channels.AdminLogResults.md) + + +### Example: + +```php +$channels.adminLogResults = ['_' => 'channels.adminLogResults', 'events' => [ChannelAdminLogEvent, ChannelAdminLogEvent], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +channels.adminLogResults={_='channels.adminLogResults', events={ChannelAdminLogEvent}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v73/constructors/channels.channelParticipant.md b/old_docs/API_docs_v73/constructors/channels.channelParticipant.md new file mode 100644 index 00000000..0f09777f --- /dev/null +++ b/old_docs/API_docs_v73/constructors/channels.channelParticipant.md @@ -0,0 +1,39 @@ +--- +title: channels.channelParticipant +description: Represents a channel participant +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: channels.channelParticipant +[Back to constructors index](index.md) + + + +Represents a channel participant + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|participant|[ChannelParticipant](../types/ChannelParticipant.md) | Yes|The channel participant| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [channels.ChannelParticipant](../types/channels.ChannelParticipant.md) + + +### Example: + +```php +$channels.channelParticipant = ['_' => 'channels.channelParticipant', 'participant' => ChannelParticipant, 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +channels.channelParticipant={_='channels.channelParticipant', participant=ChannelParticipant, users={User}} + +``` + + diff --git a/old_docs/API_docs_v73/constructors/channels.channelParticipants.md b/old_docs/API_docs_v73/constructors/channels.channelParticipants.md new file mode 100644 index 00000000..6ee1a8b3 --- /dev/null +++ b/old_docs/API_docs_v73/constructors/channels.channelParticipants.md @@ -0,0 +1,40 @@ +--- +title: channels.channelParticipants +description: Represents multiple channel participants +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: channels.channelParticipants +[Back to constructors index](index.md) + + + +Represents multiple channel participants + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of participants that correspond to the given query| +|participants|Array of [ChannelParticipant](../types/ChannelParticipant.md) | Yes|Participants| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [channels.ChannelParticipants](../types/channels.ChannelParticipants.md) + + +### Example: + +```php +$channels.channelParticipants = ['_' => 'channels.channelParticipants', 'count' => int, 'participants' => [ChannelParticipant, ChannelParticipant], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +channels.channelParticipants={_='channels.channelParticipants', count=int, participants={ChannelParticipant}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v73/constructors/channels.channelParticipantsNotModified.md b/old_docs/API_docs_v73/constructors/channels.channelParticipantsNotModified.md new file mode 100644 index 00000000..37ece73a --- /dev/null +++ b/old_docs/API_docs_v73/constructors/channels.channelParticipantsNotModified.md @@ -0,0 +1,33 @@ +--- +title: channels.channelParticipantsNotModified +description: No new participant info could be found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: channels.channelParticipantsNotModified +[Back to constructors index](index.md) + + + +No new participant info could be found + + + + +### Type: [channels.ChannelParticipants](../types/channels.ChannelParticipants.md) + + +### Example: + +```php +$channels.channelParticipantsNotModified = ['_' => 'channels.channelParticipantsNotModified']; +``` + + +Or, if you're into Lua: + +```lua +channels.channelParticipantsNotModified={_='channels.channelParticipantsNotModified'} + +``` + + diff --git a/old_docs/API_docs_v73/constructors/channels_adminLogResults.md b/old_docs/API_docs_v73/constructors/channels_adminLogResults.md deleted file mode 100644 index 9061212a..00000000 --- a/old_docs/API_docs_v73/constructors/channels_adminLogResults.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: channels.adminLogResults -description: Admin log events -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: channels.adminLogResults -[Back to constructors index](index.md) - - - -Admin log events - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|events|Array of [ChannelAdminLogEvent](../types/ChannelAdminLogEvent.md) | Yes|Events| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [channels\_AdminLogResults](../types/channels_AdminLogResults.md) - - -### Example: - -```php -$channels_adminLogResults = ['_' => 'channels.adminLogResults', 'events' => [ChannelAdminLogEvent, ChannelAdminLogEvent], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -channels_adminLogResults={_='channels.adminLogResults', events={ChannelAdminLogEvent}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v73/constructors/channels_channelParticipant.md b/old_docs/API_docs_v73/constructors/channels_channelParticipant.md deleted file mode 100644 index 15fe46a4..00000000 --- a/old_docs/API_docs_v73/constructors/channels_channelParticipant.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: channels.channelParticipant -description: Represents a channel participant -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: channels.channelParticipant -[Back to constructors index](index.md) - - - -Represents a channel participant - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|participant|[ChannelParticipant](../types/ChannelParticipant.md) | Yes|The channel participant| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [channels\_ChannelParticipant](../types/channels_ChannelParticipant.md) - - -### Example: - -```php -$channels_channelParticipant = ['_' => 'channels.channelParticipant', 'participant' => ChannelParticipant, 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -channels_channelParticipant={_='channels.channelParticipant', participant=ChannelParticipant, users={User}} - -``` - - diff --git a/old_docs/API_docs_v73/constructors/channels_channelParticipants.md b/old_docs/API_docs_v73/constructors/channels_channelParticipants.md deleted file mode 100644 index 1848a04f..00000000 --- a/old_docs/API_docs_v73/constructors/channels_channelParticipants.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: channels.channelParticipants -description: Represents multiple channel participants -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: channels.channelParticipants -[Back to constructors index](index.md) - - - -Represents multiple channel participants - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of participants that correspond to the given query| -|participants|Array of [ChannelParticipant](../types/ChannelParticipant.md) | Yes|Participants| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [channels\_ChannelParticipants](../types/channels_ChannelParticipants.md) - - -### Example: - -```php -$channels_channelParticipants = ['_' => 'channels.channelParticipants', 'count' => int, 'participants' => [ChannelParticipant, ChannelParticipant], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -channels_channelParticipants={_='channels.channelParticipants', count=int, participants={ChannelParticipant}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v73/constructors/channels_channelParticipantsNotModified.md b/old_docs/API_docs_v73/constructors/channels_channelParticipantsNotModified.md deleted file mode 100644 index 800048f7..00000000 --- a/old_docs/API_docs_v73/constructors/channels_channelParticipantsNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: channels.channelParticipantsNotModified -description: No new participant info could be found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: channels.channelParticipantsNotModified -[Back to constructors index](index.md) - - - -No new participant info could be found - - - - -### Type: [channels\_ChannelParticipants](../types/channels_ChannelParticipants.md) - - -### Example: - -```php -$channels_channelParticipantsNotModified = ['_' => 'channels.channelParticipantsNotModified']; -``` - - -Or, if you're into Lua: - -```lua -channels_channelParticipantsNotModified={_='channels.channelParticipantsNotModified'} - -``` - - diff --git a/old_docs/API_docs_v73/constructors/contacts.blocked.md b/old_docs/API_docs_v73/constructors/contacts.blocked.md new file mode 100644 index 00000000..d2b3f680 --- /dev/null +++ b/old_docs/API_docs_v73/constructors/contacts.blocked.md @@ -0,0 +1,39 @@ +--- +title: contacts.blocked +description: Full list of blocked users. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.blocked +[Back to constructors index](index.md) + + + +Full list of blocked users. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Blocked](../types/contacts.Blocked.md) + + +### Example: + +```php +$contacts.blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.blocked={_='contacts.blocked', blocked={ContactBlocked}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v73/constructors/contacts.blockedSlice.md b/old_docs/API_docs_v73/constructors/contacts.blockedSlice.md new file mode 100644 index 00000000..92d19c72 --- /dev/null +++ b/old_docs/API_docs_v73/constructors/contacts.blockedSlice.md @@ -0,0 +1,40 @@ +--- +title: contacts.blockedSlice +description: Incomplete list of blocked users. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.blockedSlice +[Back to constructors index](index.md) + + + +Incomplete list of blocked users. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of elements in the list| +|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Blocked](../types/contacts.Blocked.md) + + +### Example: + +```php +$contacts.blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.blockedSlice={_='contacts.blockedSlice', count=int, blocked={ContactBlocked}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v73/constructors/contacts.contacts.md b/old_docs/API_docs_v73/constructors/contacts.contacts.md new file mode 100644 index 00000000..c3251e5d --- /dev/null +++ b/old_docs/API_docs_v73/constructors/contacts.contacts.md @@ -0,0 +1,40 @@ +--- +title: contacts.contacts +description: The current user's contact list and info on users. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.contacts +[Back to constructors index](index.md) + + + +The current user's contact list and info on users. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|contacts|Array of [Contact](../types/Contact.md) | Yes|Contacts| +|saved\_count|[int](../types/int.md) | Yes|Number of contacts that were saved successfully| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Contacts](../types/contacts.Contacts.md) + + +### Example: + +```php +$contacts.contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact, Contact], 'saved_count' => int, 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.contacts={_='contacts.contacts', contacts={Contact}, saved_count=int, users={User}} + +``` + + diff --git a/old_docs/API_docs_v73/constructors/contacts.contactsNotModified.md b/old_docs/API_docs_v73/constructors/contacts.contactsNotModified.md new file mode 100644 index 00000000..e2149396 --- /dev/null +++ b/old_docs/API_docs_v73/constructors/contacts.contactsNotModified.md @@ -0,0 +1,33 @@ +--- +title: contacts.contactsNotModified +description: Contact list on the server is the same as the list on the client. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.contactsNotModified +[Back to constructors index](index.md) + + + +Contact list on the server is the same as the list on the client. + + + + +### Type: [contacts.Contacts](../types/contacts.Contacts.md) + + +### Example: + +```php +$contacts.contactsNotModified = ['_' => 'contacts.contactsNotModified']; +``` + + +Or, if you're into Lua: + +```lua +contacts.contactsNotModified={_='contacts.contactsNotModified'} + +``` + + diff --git a/old_docs/API_docs_v73/constructors/contacts.found.md b/old_docs/API_docs_v73/constructors/contacts.found.md new file mode 100644 index 00000000..1eaa93b7 --- /dev/null +++ b/old_docs/API_docs_v73/constructors/contacts.found.md @@ -0,0 +1,40 @@ +--- +title: contacts.found +description: Users found by name substring and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.found +[Back to constructors index](index.md) + + + +Users found by name substring and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|results|Array of [Peer](../types/Peer.md) | Yes|Results| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Found](../types/contacts.Found.md) + + +### Example: + +```php +$contacts.found = ['_' => 'contacts.found', 'results' => [Peer, Peer], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.found={_='contacts.found', results={Peer}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v73/constructors/contacts.importedContacts.md b/old_docs/API_docs_v73/constructors/contacts.importedContacts.md new file mode 100644 index 00000000..20075931 --- /dev/null +++ b/old_docs/API_docs_v73/constructors/contacts.importedContacts.md @@ -0,0 +1,41 @@ +--- +title: contacts.importedContacts +description: Info on succesfully imported contacts. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.importedContacts +[Back to constructors index](index.md) + + + +Info on succesfully imported contacts. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|imported|Array of [ImportedContact](../types/ImportedContact.md) | Yes|Imported| +|popular\_invites|Array of [PopularContact](../types/PopularContact.md) | Yes|Popular invites| +|retry\_contacts|Array of [long](../types/long.md) | Yes|Retry importing contacts whose client IDs appear here| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.ImportedContacts](../types/contacts.ImportedContacts.md) + + +### Example: + +```php +$contacts.importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact, ImportedContact], 'popular_invites' => [PopularContact, PopularContact], 'retry_contacts' => [long, long], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.importedContacts={_='contacts.importedContacts', imported={ImportedContact}, popular_invites={PopularContact}, retry_contacts={long}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v73/constructors/contacts.link.md b/old_docs/API_docs_v73/constructors/contacts.link.md new file mode 100644 index 00000000..ab150a0d --- /dev/null +++ b/old_docs/API_docs_v73/constructors/contacts.link.md @@ -0,0 +1,40 @@ +--- +title: contacts.link +description: Link +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.link +[Back to constructors index](index.md) + + + +Link + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|my\_link|[ContactLink](../types/ContactLink.md) | Yes|My link| +|foreign\_link|[ContactLink](../types/ContactLink.md) | Yes|Foreign link| +|user|[User](../types/User.md) | Optional|User| + + + +### Type: [contacts.Link](../types/contacts.Link.md) + + +### Example: + +```php +$contacts.link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User]; +``` + + +Or, if you're into Lua: + +```lua +contacts.link={_='contacts.link', my_link=ContactLink, foreign_link=ContactLink, user=User} + +``` + + diff --git a/old_docs/API_docs_v73/constructors/contacts.resolvedPeer.md b/old_docs/API_docs_v73/constructors/contacts.resolvedPeer.md new file mode 100644 index 00000000..35d88481 --- /dev/null +++ b/old_docs/API_docs_v73/constructors/contacts.resolvedPeer.md @@ -0,0 +1,40 @@ +--- +title: contacts.resolvedPeer +description: Resolved peer +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.resolvedPeer +[Back to constructors index](index.md) + + + +Resolved peer + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|peer|[Peer](../types/Peer.md) | Yes|The peer| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.ResolvedPeer](../types/contacts.ResolvedPeer.md) + + +### Example: + +```php +$contacts.resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.resolvedPeer={_='contacts.resolvedPeer', peer=Peer, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v73/constructors/contacts.topPeers.md b/old_docs/API_docs_v73/constructors/contacts.topPeers.md new file mode 100644 index 00000000..19d9c712 --- /dev/null +++ b/old_docs/API_docs_v73/constructors/contacts.topPeers.md @@ -0,0 +1,40 @@ +--- +title: contacts.topPeers +description: Top peers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.topPeers +[Back to constructors index](index.md) + + + +Top peers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|categories|Array of [TopPeerCategoryPeers](../types/TopPeerCategoryPeers.md) | Yes|Categories| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.TopPeers](../types/contacts.TopPeers.md) + + +### Example: + +```php +$contacts.topPeers = ['_' => 'contacts.topPeers', 'categories' => [TopPeerCategoryPeers, TopPeerCategoryPeers], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.topPeers={_='contacts.topPeers', categories={TopPeerCategoryPeers}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v73/constructors/contacts.topPeersNotModified.md b/old_docs/API_docs_v73/constructors/contacts.topPeersNotModified.md new file mode 100644 index 00000000..77c5eb4d --- /dev/null +++ b/old_docs/API_docs_v73/constructors/contacts.topPeersNotModified.md @@ -0,0 +1,33 @@ +--- +title: contacts.topPeersNotModified +description: Top peer info hasn't changed +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.topPeersNotModified +[Back to constructors index](index.md) + + + +Top peer info hasn't changed + + + + +### Type: [contacts.TopPeers](../types/contacts.TopPeers.md) + + +### Example: + +```php +$contacts.topPeersNotModified = ['_' => 'contacts.topPeersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +contacts.topPeersNotModified={_='contacts.topPeersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v73/constructors/contacts_blocked.md b/old_docs/API_docs_v73/constructors/contacts_blocked.md deleted file mode 100644 index 20e33002..00000000 --- a/old_docs/API_docs_v73/constructors/contacts_blocked.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: contacts.blocked -description: Full list of blocked users. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.blocked -[Back to constructors index](index.md) - - - -Full list of blocked users. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Blocked](../types/contacts_Blocked.md) - - -### Example: - -```php -$contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_blocked={_='contacts.blocked', blocked={ContactBlocked}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v73/constructors/contacts_blockedSlice.md b/old_docs/API_docs_v73/constructors/contacts_blockedSlice.md deleted file mode 100644 index fcab9a28..00000000 --- a/old_docs/API_docs_v73/constructors/contacts_blockedSlice.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.blockedSlice -description: Incomplete list of blocked users. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.blockedSlice -[Back to constructors index](index.md) - - - -Incomplete list of blocked users. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of elements in the list| -|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Blocked](../types/contacts_Blocked.md) - - -### Example: - -```php -$contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_blockedSlice={_='contacts.blockedSlice', count=int, blocked={ContactBlocked}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v73/constructors/contacts_contacts.md b/old_docs/API_docs_v73/constructors/contacts_contacts.md deleted file mode 100644 index 0e6f0dd3..00000000 --- a/old_docs/API_docs_v73/constructors/contacts_contacts.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.contacts -description: The current user's contact list and info on users. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.contacts -[Back to constructors index](index.md) - - - -The current user's contact list and info on users. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|contacts|Array of [Contact](../types/Contact.md) | Yes|Contacts| -|saved\_count|[int](../types/int.md) | Yes|Number of contacts that were saved successfully| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Contacts](../types/contacts_Contacts.md) - - -### Example: - -```php -$contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact, Contact], 'saved_count' => int, 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_contacts={_='contacts.contacts', contacts={Contact}, saved_count=int, users={User}} - -``` - - diff --git a/old_docs/API_docs_v73/constructors/contacts_contactsNotModified.md b/old_docs/API_docs_v73/constructors/contacts_contactsNotModified.md deleted file mode 100644 index 17e76ac3..00000000 --- a/old_docs/API_docs_v73/constructors/contacts_contactsNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: contacts.contactsNotModified -description: Contact list on the server is the same as the list on the client. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.contactsNotModified -[Back to constructors index](index.md) - - - -Contact list on the server is the same as the list on the client. - - - - -### Type: [contacts\_Contacts](../types/contacts_Contacts.md) - - -### Example: - -```php -$contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified']; -``` - - -Or, if you're into Lua: - -```lua -contacts_contactsNotModified={_='contacts.contactsNotModified'} - -``` - - diff --git a/old_docs/API_docs_v73/constructors/contacts_found.md b/old_docs/API_docs_v73/constructors/contacts_found.md deleted file mode 100644 index 0674aabf..00000000 --- a/old_docs/API_docs_v73/constructors/contacts_found.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.found -description: Users found by name substring and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.found -[Back to constructors index](index.md) - - - -Users found by name substring and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|results|Array of [Peer](../types/Peer.md) | Yes|Results| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Found](../types/contacts_Found.md) - - -### Example: - -```php -$contacts_found = ['_' => 'contacts.found', 'results' => [Peer, Peer], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_found={_='contacts.found', results={Peer}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v73/constructors/contacts_importedContacts.md b/old_docs/API_docs_v73/constructors/contacts_importedContacts.md deleted file mode 100644 index e534754b..00000000 --- a/old_docs/API_docs_v73/constructors/contacts_importedContacts.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: contacts.importedContacts -description: Info on succesfully imported contacts. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.importedContacts -[Back to constructors index](index.md) - - - -Info on succesfully imported contacts. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|imported|Array of [ImportedContact](../types/ImportedContact.md) | Yes|Imported| -|popular\_invites|Array of [PopularContact](../types/PopularContact.md) | Yes|Popular invites| -|retry\_contacts|Array of [long](../types/long.md) | Yes|Retry importing contacts whose client IDs appear here| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) - - -### Example: - -```php -$contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact, ImportedContact], 'popular_invites' => [PopularContact, PopularContact], 'retry_contacts' => [long, long], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_importedContacts={_='contacts.importedContacts', imported={ImportedContact}, popular_invites={PopularContact}, retry_contacts={long}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v73/constructors/contacts_link.md b/old_docs/API_docs_v73/constructors/contacts_link.md deleted file mode 100644 index cfc566c7..00000000 --- a/old_docs/API_docs_v73/constructors/contacts_link.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.link -description: Link -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.link -[Back to constructors index](index.md) - - - -Link - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|my\_link|[ContactLink](../types/ContactLink.md) | Yes|My link| -|foreign\_link|[ContactLink](../types/ContactLink.md) | Yes|Foreign link| -|user|[User](../types/User.md) | Optional|User| - - - -### Type: [contacts\_Link](../types/contacts_Link.md) - - -### Example: - -```php -$contacts_link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User]; -``` - - -Or, if you're into Lua: - -```lua -contacts_link={_='contacts.link', my_link=ContactLink, foreign_link=ContactLink, user=User} - -``` - - diff --git a/old_docs/API_docs_v73/constructors/contacts_resolvedPeer.md b/old_docs/API_docs_v73/constructors/contacts_resolvedPeer.md deleted file mode 100644 index aae3c7af..00000000 --- a/old_docs/API_docs_v73/constructors/contacts_resolvedPeer.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.resolvedPeer -description: Resolved peer -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.resolvedPeer -[Back to constructors index](index.md) - - - -Resolved peer - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|peer|[Peer](../types/Peer.md) | Yes|The peer| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_ResolvedPeer](../types/contacts_ResolvedPeer.md) - - -### Example: - -```php -$contacts_resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_resolvedPeer={_='contacts.resolvedPeer', peer=Peer, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v73/constructors/contacts_topPeers.md b/old_docs/API_docs_v73/constructors/contacts_topPeers.md deleted file mode 100644 index 77bc07d3..00000000 --- a/old_docs/API_docs_v73/constructors/contacts_topPeers.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.topPeers -description: Top peers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.topPeers -[Back to constructors index](index.md) - - - -Top peers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|categories|Array of [TopPeerCategoryPeers](../types/TopPeerCategoryPeers.md) | Yes|Categories| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_TopPeers](../types/contacts_TopPeers.md) - - -### Example: - -```php -$contacts_topPeers = ['_' => 'contacts.topPeers', 'categories' => [TopPeerCategoryPeers, TopPeerCategoryPeers], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_topPeers={_='contacts.topPeers', categories={TopPeerCategoryPeers}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v73/constructors/contacts_topPeersNotModified.md b/old_docs/API_docs_v73/constructors/contacts_topPeersNotModified.md deleted file mode 100644 index 43eae59d..00000000 --- a/old_docs/API_docs_v73/constructors/contacts_topPeersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: contacts.topPeersNotModified -description: Top peer info hasn't changed -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.topPeersNotModified -[Back to constructors index](index.md) - - - -Top peer info hasn't changed - - - - -### Type: [contacts\_TopPeers](../types/contacts_TopPeers.md) - - -### Example: - -```php -$contacts_topPeersNotModified = ['_' => 'contacts.topPeersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -contacts_topPeersNotModified={_='contacts.topPeersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v73/constructors/help.appUpdate.md b/old_docs/API_docs_v73/constructors/help.appUpdate.md new file mode 100644 index 00000000..14b2d75b --- /dev/null +++ b/old_docs/API_docs_v73/constructors/help.appUpdate.md @@ -0,0 +1,41 @@ +--- +title: help.appUpdate +description: An update is available for the application. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.appUpdate +[Back to constructors index](index.md) + + + +An update is available for the application. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|id|[int](../types/int.md) | Yes|Update ID| +|critical|[Bool](../types/Bool.md) | Yes|Critical?| +|url|[string](../types/string.md) | Yes|Application download URL| +|text|[string](../types/string.md) | Yes|Text description of the update| + + + +### Type: [help.AppUpdate](../types/help.AppUpdate.md) + + +### Example: + +```php +$help.appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'url' => 'string', 'text' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +help.appUpdate={_='help.appUpdate', id=int, critical=Bool, url='string', text='string'} + +``` + + diff --git a/old_docs/API_docs_v73/constructors/help.inviteText.md b/old_docs/API_docs_v73/constructors/help.inviteText.md new file mode 100644 index 00000000..6a6261c1 --- /dev/null +++ b/old_docs/API_docs_v73/constructors/help.inviteText.md @@ -0,0 +1,38 @@ +--- +title: help.inviteText +description: Text of a text message with an invitation to install application. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.inviteText +[Back to constructors index](index.md) + + + +Text of a text message with an invitation to install application. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|message|[string](../types/string.md) | Yes|Text of a message| + + + +### Type: [help.InviteText](../types/help.InviteText.md) + + +### Example: + +```php +$help.inviteText = ['_' => 'help.inviteText', 'message' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +help.inviteText={_='help.inviteText', message='string'} + +``` + + diff --git a/old_docs/API_docs_v73/constructors/help.noAppUpdate.md b/old_docs/API_docs_v73/constructors/help.noAppUpdate.md new file mode 100644 index 00000000..1b69ac9a --- /dev/null +++ b/old_docs/API_docs_v73/constructors/help.noAppUpdate.md @@ -0,0 +1,33 @@ +--- +title: help.noAppUpdate +description: No updates are available for the application. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.noAppUpdate +[Back to constructors index](index.md) + + + +No updates are available for the application. + + + + +### Type: [help.AppUpdate](../types/help.AppUpdate.md) + + +### Example: + +```php +$help.noAppUpdate = ['_' => 'help.noAppUpdate']; +``` + + +Or, if you're into Lua: + +```lua +help.noAppUpdate={_='help.noAppUpdate'} + +``` + + diff --git a/old_docs/API_docs_v73/constructors/help.recentMeUrls.md b/old_docs/API_docs_v73/constructors/help.recentMeUrls.md new file mode 100644 index 00000000..711407b7 --- /dev/null +++ b/old_docs/API_docs_v73/constructors/help.recentMeUrls.md @@ -0,0 +1,40 @@ +--- +title: help.recentMeUrls +description: Recent t.me URLs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.recentMeUrls +[Back to constructors index](index.md) + + + +Recent t.me URLs + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|urls|Array of [RecentMeUrl](../types/RecentMeUrl.md) | Yes|URLs| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [help.RecentMeUrls](../types/help.RecentMeUrls.md) + + +### Example: + +```php +$help.recentMeUrls = ['_' => 'help.recentMeUrls', 'urls' => [RecentMeUrl, RecentMeUrl], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +help.recentMeUrls={_='help.recentMeUrls', urls={RecentMeUrl}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v73/constructors/help.support.md b/old_docs/API_docs_v73/constructors/help.support.md new file mode 100644 index 00000000..4d4f85fb --- /dev/null +++ b/old_docs/API_docs_v73/constructors/help.support.md @@ -0,0 +1,39 @@ +--- +title: help.support +description: Info on support user. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.support +[Back to constructors index](index.md) + + + +Info on support user. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_number|[string](../types/string.md) | Yes|Phone number| +|user|[User](../types/User.md) | Optional|User| + + + +### Type: [help.Support](../types/help.Support.md) + + +### Example: + +```php +$help.support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => User]; +``` + + +Or, if you're into Lua: + +```lua +help.support={_='help.support', phone_number='string', user=User} + +``` + + diff --git a/old_docs/API_docs_v73/constructors/help.termsOfService.md b/old_docs/API_docs_v73/constructors/help.termsOfService.md new file mode 100644 index 00000000..cab1f128 --- /dev/null +++ b/old_docs/API_docs_v73/constructors/help.termsOfService.md @@ -0,0 +1,38 @@ +--- +title: help.termsOfService +description: Info about the latest telegram Terms Of Service +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.termsOfService +[Back to constructors index](index.md) + + + +Info about the latest telegram Terms Of Service + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|text|[string](../types/string.md) | Yes|Text of the new terms| + + + +### Type: [help.TermsOfService](../types/help.TermsOfService.md) + + +### Example: + +```php +$help.termsOfService = ['_' => 'help.termsOfService', 'text' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +help.termsOfService={_='help.termsOfService', text='string'} + +``` + + diff --git a/old_docs/API_docs_v73/constructors/help_appUpdate.md b/old_docs/API_docs_v73/constructors/help_appUpdate.md deleted file mode 100644 index efba9bdb..00000000 --- a/old_docs/API_docs_v73/constructors/help_appUpdate.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: help.appUpdate -description: An update is available for the application. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.appUpdate -[Back to constructors index](index.md) - - - -An update is available for the application. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|id|[int](../types/int.md) | Yes|Update ID| -|critical|[Bool](../types/Bool.md) | Yes|Critical?| -|url|[string](../types/string.md) | Yes|Application download URL| -|text|[string](../types/string.md) | Yes|Text description of the update| - - - -### Type: [help\_AppUpdate](../types/help_AppUpdate.md) - - -### Example: - -```php -$help_appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'url' => 'string', 'text' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -help_appUpdate={_='help.appUpdate', id=int, critical=Bool, url='string', text='string'} - -``` - - diff --git a/old_docs/API_docs_v73/constructors/help_inviteText.md b/old_docs/API_docs_v73/constructors/help_inviteText.md deleted file mode 100644 index b8317ce3..00000000 --- a/old_docs/API_docs_v73/constructors/help_inviteText.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: help.inviteText -description: Text of a text message with an invitation to install application. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.inviteText -[Back to constructors index](index.md) - - - -Text of a text message with an invitation to install application. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|message|[string](../types/string.md) | Yes|Text of a message| - - - -### Type: [help\_InviteText](../types/help_InviteText.md) - - -### Example: - -```php -$help_inviteText = ['_' => 'help.inviteText', 'message' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -help_inviteText={_='help.inviteText', message='string'} - -``` - - diff --git a/old_docs/API_docs_v73/constructors/help_noAppUpdate.md b/old_docs/API_docs_v73/constructors/help_noAppUpdate.md deleted file mode 100644 index 51505e52..00000000 --- a/old_docs/API_docs_v73/constructors/help_noAppUpdate.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: help.noAppUpdate -description: No updates are available for the application. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.noAppUpdate -[Back to constructors index](index.md) - - - -No updates are available for the application. - - - - -### Type: [help\_AppUpdate](../types/help_AppUpdate.md) - - -### Example: - -```php -$help_noAppUpdate = ['_' => 'help.noAppUpdate']; -``` - - -Or, if you're into Lua: - -```lua -help_noAppUpdate={_='help.noAppUpdate'} - -``` - - diff --git a/old_docs/API_docs_v73/constructors/help_recentMeUrls.md b/old_docs/API_docs_v73/constructors/help_recentMeUrls.md deleted file mode 100644 index 7bf592ef..00000000 --- a/old_docs/API_docs_v73/constructors/help_recentMeUrls.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: help.recentMeUrls -description: Recent t.me URLs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.recentMeUrls -[Back to constructors index](index.md) - - - -Recent t.me URLs - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|urls|Array of [RecentMeUrl](../types/RecentMeUrl.md) | Yes|URLs| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [help\_RecentMeUrls](../types/help_RecentMeUrls.md) - - -### Example: - -```php -$help_recentMeUrls = ['_' => 'help.recentMeUrls', 'urls' => [RecentMeUrl, RecentMeUrl], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -help_recentMeUrls={_='help.recentMeUrls', urls={RecentMeUrl}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v73/constructors/help_support.md b/old_docs/API_docs_v73/constructors/help_support.md deleted file mode 100644 index 148f7f42..00000000 --- a/old_docs/API_docs_v73/constructors/help_support.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: help.support -description: Info on support user. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.support -[Back to constructors index](index.md) - - - -Info on support user. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_number|[string](../types/string.md) | Yes|Phone number| -|user|[User](../types/User.md) | Optional|User| - - - -### Type: [help\_Support](../types/help_Support.md) - - -### Example: - -```php -$help_support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => User]; -``` - - -Or, if you're into Lua: - -```lua -help_support={_='help.support', phone_number='string', user=User} - -``` - - diff --git a/old_docs/API_docs_v73/constructors/help_termsOfService.md b/old_docs/API_docs_v73/constructors/help_termsOfService.md deleted file mode 100644 index 2ac763b3..00000000 --- a/old_docs/API_docs_v73/constructors/help_termsOfService.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: help.termsOfService -description: Info about the latest telegram Terms Of Service -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.termsOfService -[Back to constructors index](index.md) - - - -Info about the latest telegram Terms Of Service - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|text|[string](../types/string.md) | Yes|Text of the new terms| - - - -### Type: [help\_TermsOfService](../types/help_TermsOfService.md) - - -### Example: - -```php -$help_termsOfService = ['_' => 'help.termsOfService', 'text' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -help_termsOfService={_='help.termsOfService', text='string'} - -``` - - diff --git a/old_docs/API_docs_v73/constructors/messages.affectedHistory.md b/old_docs/API_docs_v73/constructors/messages.affectedHistory.md new file mode 100644 index 00000000..5fc8acec --- /dev/null +++ b/old_docs/API_docs_v73/constructors/messages.affectedHistory.md @@ -0,0 +1,40 @@ +--- +title: messages.affectedHistory +description: Affected part of communication history with the user or in a chat. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.affectedHistory +[Back to constructors index](index.md) + + + +Affected part of communication history with the user or in a chat. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| +|pts\_count|[int](../types/int.md) | Yes|Number of affected events| +|offset|[int](../types/int.md) | Yes|If a parameter contains positive value, it is necessary to repeat the method call using the given value; during the proceeding of all the history the value itself shall gradually decrease| + + + +### Type: [messages.AffectedHistory](../types/messages.AffectedHistory.md) + + +### Example: + +```php +$messages.affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.affectedHistory={_='messages.affectedHistory', pts=int, pts_count=int, offset=int} + +``` + + diff --git a/old_docs/API_docs_v73/constructors/messages.affectedMessages.md b/old_docs/API_docs_v73/constructors/messages.affectedMessages.md new file mode 100644 index 00000000..a0e60bdf --- /dev/null +++ b/old_docs/API_docs_v73/constructors/messages.affectedMessages.md @@ -0,0 +1,39 @@ +--- +title: messages.affectedMessages +description: Events affected by operation +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.affectedMessages +[Back to constructors index](index.md) + + + +Events affected by operation + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|[Event count after generation](https://core.telegram.org/api/updates)| +|pts\_count|[int](../types/int.md) | Yes|[Number of events that were generated](https://core.telegram.org/api/updates)| + + + +### Type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) + + +### Example: + +```php +$messages.affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.affectedMessages={_='messages.affectedMessages', pts=int, pts_count=int} + +``` + + diff --git a/old_docs/API_docs_v73/constructors/messages.allStickers.md b/old_docs/API_docs_v73/constructors/messages.allStickers.md new file mode 100644 index 00000000..5f13bfde --- /dev/null +++ b/old_docs/API_docs_v73/constructors/messages.allStickers.md @@ -0,0 +1,39 @@ +--- +title: messages.allStickers +description: Info about all installed stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.allStickers +[Back to constructors index](index.md) + + + +Info about all installed stickers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|sets|Array of [StickerSet](../types/StickerSet.md) | Yes|Sets| + + + +### Type: [messages.AllStickers](../types/messages.AllStickers.md) + + +### Example: + +```php +$messages.allStickers = ['_' => 'messages.allStickers', 'hash' => int, 'sets' => [StickerSet, StickerSet]]; +``` + + +Or, if you're into Lua: + +```lua +messages.allStickers={_='messages.allStickers', hash=int, sets={StickerSet}} + +``` + + diff --git a/old_docs/API_docs_v73/constructors/messages.allStickersNotModified.md b/old_docs/API_docs_v73/constructors/messages.allStickersNotModified.md new file mode 100644 index 00000000..d3db088b --- /dev/null +++ b/old_docs/API_docs_v73/constructors/messages.allStickersNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.allStickersNotModified +description: Info about all installed stickers hasn't changed +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.allStickersNotModified +[Back to constructors index](index.md) + + + +Info about all installed stickers hasn't changed + + + + +### Type: [messages.AllStickers](../types/messages.AllStickers.md) + + +### Example: + +```php +$messages.allStickersNotModified = ['_' => 'messages.allStickersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.allStickersNotModified={_='messages.allStickersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v73/constructors/messages.archivedStickers.md b/old_docs/API_docs_v73/constructors/messages.archivedStickers.md new file mode 100644 index 00000000..6ad9927c --- /dev/null +++ b/old_docs/API_docs_v73/constructors/messages.archivedStickers.md @@ -0,0 +1,39 @@ +--- +title: messages.archivedStickers +description: Archived stickersets +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.archivedStickers +[Back to constructors index](index.md) + + + +Archived stickersets + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Number of archived stickers| +|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| + + + +### Type: [messages.ArchivedStickers](../types/messages.ArchivedStickers.md) + + +### Example: + +```php +$messages.archivedStickers = ['_' => 'messages.archivedStickers', 'count' => int, 'sets' => [StickerSetCovered, StickerSetCovered]]; +``` + + +Or, if you're into Lua: + +```lua +messages.archivedStickers={_='messages.archivedStickers', count=int, sets={StickerSetCovered}} + +``` + + diff --git a/old_docs/API_docs_v73/constructors/messages.botCallbackAnswer.md b/old_docs/API_docs_v73/constructors/messages.botCallbackAnswer.md new file mode 100644 index 00000000..08bfeba5 --- /dev/null +++ b/old_docs/API_docs_v73/constructors/messages.botCallbackAnswer.md @@ -0,0 +1,43 @@ +--- +title: messages.botCallbackAnswer +description: Callback answer sent by the bot in response to a button press +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.botCallbackAnswer +[Back to constructors index](index.md) + + + +Callback answer sent by the bot in response to a button press + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|alert|[Bool](../types/Bool.md) | Optional|Whether an alert should be shown to the user instead of a toast notification| +|has\_url|[Bool](../types/Bool.md) | Optional|Whether an URL is present| +|native\_ui|[Bool](../types/Bool.md) | Optional|Whether to show games in WebView or in native UI.| +|message|[string](../types/string.md) | Optional|Alert to show| +|url|[string](../types/string.md) | Optional|URL to open| +|cache\_time|[int](../types/int.md) | Yes|For how long should this answer be cached| + + + +### Type: [messages.BotCallbackAnswer](../types/messages.BotCallbackAnswer.md) + + +### Example: + +```php +$messages.botCallbackAnswer = ['_' => 'messages.botCallbackAnswer', 'alert' => Bool, 'has_url' => Bool, 'native_ui' => Bool, 'message' => 'string', 'url' => 'string', 'cache_time' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.botCallbackAnswer={_='messages.botCallbackAnswer', alert=Bool, has_url=Bool, native_ui=Bool, message='string', url='string', cache_time=int} + +``` + + diff --git a/old_docs/API_docs_v73/constructors/messages.botResults.md b/old_docs/API_docs_v73/constructors/messages.botResults.md new file mode 100644 index 00000000..7b6dcfba --- /dev/null +++ b/old_docs/API_docs_v73/constructors/messages.botResults.md @@ -0,0 +1,44 @@ +--- +title: messages.botResults +description: Result of a query to an inline bot +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.botResults +[Back to constructors index](index.md) + + + +Result of a query to an inline bot + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|gallery|[Bool](../types/Bool.md) | Optional|Whether the result is a picture gallery| +|query\_id|[long](../types/long.md) | Yes|Query ID| +|next\_offset|[string](../types/string.md) | Optional|The next offset to use when navigating through results| +|switch\_pm|[InlineBotSwitchPM](../types/InlineBotSwitchPM.md) | Optional|Whether the bot requested the user to message him in private| +|results|Array of [BotInlineResult](../types/BotInlineResult.md) | Yes|Results| +|cache\_time|[int](../types/int.md) | Yes|Caching validity of the results| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.BotResults](../types/messages.BotResults.md) + + +### Example: + +```php +$messages.botResults = ['_' => 'messages.botResults', 'gallery' => Bool, 'query_id' => long, 'next_offset' => 'string', 'switch_pm' => InlineBotSwitchPM, 'results' => [BotInlineResult, BotInlineResult], 'cache_time' => int, 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.botResults={_='messages.botResults', gallery=Bool, query_id=long, next_offset='string', switch_pm=InlineBotSwitchPM, results={BotInlineResult}, cache_time=int, users={User}} + +``` + + diff --git a/old_docs/API_docs_v73/constructors/messages.channelMessages.md b/old_docs/API_docs_v73/constructors/messages.channelMessages.md new file mode 100644 index 00000000..95633336 --- /dev/null +++ b/old_docs/API_docs_v73/constructors/messages.channelMessages.md @@ -0,0 +1,42 @@ +--- +title: messages.channelMessages +description: Channel messages +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.channelMessages +[Back to constructors index](index.md) + + + +Channel messages + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|[Event count after generation](https://core.telegram.org/api/updates)| +|count|[int](../types/int.md) | Yes|Total number of results were found server-side (may not be all included here)| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Messages](../types/messages.Messages.md) + + +### Example: + +```php +$messages.channelMessages = ['_' => 'messages.channelMessages', 'pts' => int, 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.channelMessages={_='messages.channelMessages', pts=int, count=int, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v73/constructors/messages.chatFull.md b/old_docs/API_docs_v73/constructors/messages.chatFull.md new file mode 100644 index 00000000..3906cc54 --- /dev/null +++ b/old_docs/API_docs_v73/constructors/messages.chatFull.md @@ -0,0 +1,40 @@ +--- +title: messages.chatFull +description: Extended info on chat and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.chatFull +[Back to constructors index](index.md) + + + +Extended info on chat and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|full\_chat|[ChatFull](../types/ChatFull.md) | Yes|Extended info on a chat| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.ChatFull](../types/messages.ChatFull.md) + + +### Example: + +```php +$messages.chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.chatFull={_='messages.chatFull', full_chat=ChatFull, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v73/constructors/messages.chats.md b/old_docs/API_docs_v73/constructors/messages.chats.md new file mode 100644 index 00000000..9ede9ff2 --- /dev/null +++ b/old_docs/API_docs_v73/constructors/messages.chats.md @@ -0,0 +1,38 @@ +--- +title: messages.chats +description: List of chats with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.chats +[Back to constructors index](index.md) + + + +List of chats with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| + + + +### Type: [messages.Chats](../types/messages.Chats.md) + + +### Example: + +```php +$messages.chats = ['_' => 'messages.chats', 'chats' => [Chat, Chat]]; +``` + + +Or, if you're into Lua: + +```lua +messages.chats={_='messages.chats', chats={Chat}} + +``` + + diff --git a/old_docs/API_docs_v73/constructors/messages.chatsSlice.md b/old_docs/API_docs_v73/constructors/messages.chatsSlice.md new file mode 100644 index 00000000..efd153e0 --- /dev/null +++ b/old_docs/API_docs_v73/constructors/messages.chatsSlice.md @@ -0,0 +1,39 @@ +--- +title: messages.chatsSlice +description: Partial list of chats, more would have to be fetched with [pagination](https://core.telegram.org/api/offsets) +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.chatsSlice +[Back to constructors index](index.md) + + + +Partial list of chats, more would have to be fetched with [pagination](https://core.telegram.org/api/offsets) + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of results that were found server-side (not all are included in `chats`)| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| + + + +### Type: [messages.Chats](../types/messages.Chats.md) + + +### Example: + +```php +$messages.chatsSlice = ['_' => 'messages.chatsSlice', 'count' => int, 'chats' => [Chat, Chat]]; +``` + + +Or, if you're into Lua: + +```lua +messages.chatsSlice={_='messages.chatsSlice', count=int, chats={Chat}} + +``` + + diff --git a/old_docs/API_docs_v73/constructors/messages.dhConfig.md b/old_docs/API_docs_v73/constructors/messages.dhConfig.md new file mode 100644 index 00000000..58344f64 --- /dev/null +++ b/old_docs/API_docs_v73/constructors/messages.dhConfig.md @@ -0,0 +1,41 @@ +--- +title: messages.dhConfig +description: New set of configuring parameters. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dhConfig +[Back to constructors index](index.md) + + + +New set of configuring parameters. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|g|[int](../types/int.md) | Yes|New value **prime**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| +|p|[bytes](../types/bytes.md) | Yes|New value **primitive root**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| +|version|[int](../types/int.md) | Yes|Vestion of set of parameters| +|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| + + + +### Type: [messages.DhConfig](../types/messages.DhConfig.md) + + +### Example: + +```php +$messages.dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'version' => int, 'random' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +messages.dhConfig={_='messages.dhConfig', g=int, p='bytes', version=int, random='bytes'} + +``` + + diff --git a/old_docs/API_docs_v73/constructors/messages.dhConfigNotModified.md b/old_docs/API_docs_v73/constructors/messages.dhConfigNotModified.md new file mode 100644 index 00000000..a9a95389 --- /dev/null +++ b/old_docs/API_docs_v73/constructors/messages.dhConfigNotModified.md @@ -0,0 +1,38 @@ +--- +title: messages.dhConfigNotModified +description: Configuring parameters did not change. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dhConfigNotModified +[Back to constructors index](index.md) + + + +Configuring parameters did not change. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| + + + +### Type: [messages.DhConfig](../types/messages.DhConfig.md) + + +### Example: + +```php +$messages.dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +messages.dhConfigNotModified={_='messages.dhConfigNotModified', random='bytes'} + +``` + + diff --git a/old_docs/API_docs_v73/constructors/messages.dialogs.md b/old_docs/API_docs_v73/constructors/messages.dialogs.md new file mode 100644 index 00000000..a72eabce --- /dev/null +++ b/old_docs/API_docs_v73/constructors/messages.dialogs.md @@ -0,0 +1,41 @@ +--- +title: messages.dialogs +description: Full list of chats with messages and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dialogs +[Back to constructors index](index.md) + + + +Full list of chats with messages and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Dialogs](../types/messages.Dialogs.md) + + +### Example: + +```php +$messages.dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.dialogs={_='messages.dialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v73/constructors/messages.dialogsSlice.md b/old_docs/API_docs_v73/constructors/messages.dialogsSlice.md new file mode 100644 index 00000000..26227d2c --- /dev/null +++ b/old_docs/API_docs_v73/constructors/messages.dialogsSlice.md @@ -0,0 +1,42 @@ +--- +title: messages.dialogsSlice +description: Incomplete list of dialogs with messages and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dialogsSlice +[Back to constructors index](index.md) + + + +Incomplete list of dialogs with messages and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of dialogs| +|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Dialogs](../types/messages.Dialogs.md) + + +### Example: + +```php +$messages.dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.dialogsSlice={_='messages.dialogsSlice', count=int, dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v73/constructors/messages.favedStickers.md b/old_docs/API_docs_v73/constructors/messages.favedStickers.md new file mode 100644 index 00000000..a5cfb7c9 --- /dev/null +++ b/old_docs/API_docs_v73/constructors/messages.favedStickers.md @@ -0,0 +1,40 @@ +--- +title: messages.favedStickers +description: Favorited stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.favedStickers +[Back to constructors index](index.md) + + + +Favorited stickers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|packs|Array of [StickerPack](../types/StickerPack.md) | Yes|Packs| +|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| + + + +### Type: [messages.FavedStickers](../types/messages.FavedStickers.md) + + +### Example: + +```php +$messages.favedStickers = ['_' => 'messages.favedStickers', 'hash' => int, 'packs' => [StickerPack, StickerPack], 'stickers' => [Document, Document]]; +``` + + +Or, if you're into Lua: + +```lua +messages.favedStickers={_='messages.favedStickers', hash=int, packs={StickerPack}, stickers={Document}} + +``` + + diff --git a/old_docs/API_docs_v73/constructors/messages.favedStickersNotModified.md b/old_docs/API_docs_v73/constructors/messages.favedStickersNotModified.md new file mode 100644 index 00000000..8723659e --- /dev/null +++ b/old_docs/API_docs_v73/constructors/messages.favedStickersNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.favedStickersNotModified +description: No new favorited stickers were found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.favedStickersNotModified +[Back to constructors index](index.md) + + + +No new favorited stickers were found + + + + +### Type: [messages.FavedStickers](../types/messages.FavedStickers.md) + + +### Example: + +```php +$messages.favedStickersNotModified = ['_' => 'messages.favedStickersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.favedStickersNotModified={_='messages.favedStickersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v73/constructors/messages.featuredStickers.md b/old_docs/API_docs_v73/constructors/messages.featuredStickers.md new file mode 100644 index 00000000..344376ea --- /dev/null +++ b/old_docs/API_docs_v73/constructors/messages.featuredStickers.md @@ -0,0 +1,40 @@ +--- +title: messages.featuredStickers +description: Featured stickersets +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.featuredStickers +[Back to constructors index](index.md) + + + +Featured stickersets + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| +|unread|Array of [long](../types/long.md) | Yes|Unread| + + + +### Type: [messages.FeaturedStickers](../types/messages.FeaturedStickers.md) + + +### Example: + +```php +$messages.featuredStickers = ['_' => 'messages.featuredStickers', 'hash' => int, 'sets' => [StickerSetCovered, StickerSetCovered], 'unread' => [long, long]]; +``` + + +Or, if you're into Lua: + +```lua +messages.featuredStickers={_='messages.featuredStickers', hash=int, sets={StickerSetCovered}, unread={long}} + +``` + + diff --git a/old_docs/API_docs_v73/constructors/messages.featuredStickersNotModified.md b/old_docs/API_docs_v73/constructors/messages.featuredStickersNotModified.md new file mode 100644 index 00000000..0fe9b4d5 --- /dev/null +++ b/old_docs/API_docs_v73/constructors/messages.featuredStickersNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.featuredStickersNotModified +description: Featured stickers haven't changed +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.featuredStickersNotModified +[Back to constructors index](index.md) + + + +Featured stickers haven't changed + + + + +### Type: [messages.FeaturedStickers](../types/messages.FeaturedStickers.md) + + +### Example: + +```php +$messages.featuredStickersNotModified = ['_' => 'messages.featuredStickersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.featuredStickersNotModified={_='messages.featuredStickersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v73/constructors/messages.foundGifs.md b/old_docs/API_docs_v73/constructors/messages.foundGifs.md new file mode 100644 index 00000000..c75e36f9 --- /dev/null +++ b/old_docs/API_docs_v73/constructors/messages.foundGifs.md @@ -0,0 +1,39 @@ +--- +title: messages.foundGifs +description: Found GIFs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.foundGifs +[Back to constructors index](index.md) + + + +Found GIFs + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|next\_offset|[int](../types/int.md) | Yes|Next offset to use when trying to [load more results](../methods/messages.searchGifs.md)| +|results|Array of [FoundGif](../types/FoundGif.md) | Yes|Results| + + + +### Type: [messages.FoundGifs](../types/messages.FoundGifs.md) + + +### Example: + +```php +$messages.foundGifs = ['_' => 'messages.foundGifs', 'next_offset' => int, 'results' => [FoundGif, FoundGif]]; +``` + + +Or, if you're into Lua: + +```lua +messages.foundGifs={_='messages.foundGifs', next_offset=int, results={FoundGif}} + +``` + + diff --git a/old_docs/API_docs_v73/constructors/messages.highScores.md b/old_docs/API_docs_v73/constructors/messages.highScores.md new file mode 100644 index 00000000..d7d25826 --- /dev/null +++ b/old_docs/API_docs_v73/constructors/messages.highScores.md @@ -0,0 +1,39 @@ +--- +title: messages.highScores +description: Highscores in a game +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.highScores +[Back to constructors index](index.md) + + + +Highscores in a game + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|scores|Array of [HighScore](../types/HighScore.md) | Yes|Scores| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.HighScores](../types/messages.HighScores.md) + + +### Example: + +```php +$messages.highScores = ['_' => 'messages.highScores', 'scores' => [HighScore, HighScore], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.highScores={_='messages.highScores', scores={HighScore}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v73/constructors/messages.messageEditData.md b/old_docs/API_docs_v73/constructors/messages.messageEditData.md new file mode 100644 index 00000000..578b53d9 --- /dev/null +++ b/old_docs/API_docs_v73/constructors/messages.messageEditData.md @@ -0,0 +1,38 @@ +--- +title: messages.messageEditData +description: Message edit data for media +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.messageEditData +[Back to constructors index](index.md) + + + +Message edit data for media + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|caption|[Bool](../types/Bool.md) | Optional|Media caption, if the specified media's caption can be edited| + + + +### Type: [messages.MessageEditData](../types/messages.MessageEditData.md) + + +### Example: + +```php +$messages.messageEditData = ['_' => 'messages.messageEditData', 'caption' => Bool]; +``` + + +Or, if you're into Lua: + +```lua +messages.messageEditData={_='messages.messageEditData', caption=Bool} + +``` + + diff --git a/old_docs/API_docs_v73/constructors/messages.messages.md b/old_docs/API_docs_v73/constructors/messages.messages.md new file mode 100644 index 00000000..3af71dca --- /dev/null +++ b/old_docs/API_docs_v73/constructors/messages.messages.md @@ -0,0 +1,40 @@ +--- +title: messages.messages +description: Full list of messages with auxilary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.messages +[Back to constructors index](index.md) + + + +Full list of messages with auxilary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Messages](../types/messages.Messages.md) + + +### Example: + +```php +$messages.messages = ['_' => 'messages.messages', 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.messages={_='messages.messages', messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v73/constructors/messages.messagesNotModified.md b/old_docs/API_docs_v73/constructors/messages.messagesNotModified.md new file mode 100644 index 00000000..c4cb60ed --- /dev/null +++ b/old_docs/API_docs_v73/constructors/messages.messagesNotModified.md @@ -0,0 +1,38 @@ +--- +title: messages.messagesNotModified +description: No new messages matching the query were found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.messagesNotModified +[Back to constructors index](index.md) + + + +No new messages matching the query were found + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Number of results found server-side by the given query| + + + +### Type: [messages.Messages](../types/messages.Messages.md) + + +### Example: + +```php +$messages.messagesNotModified = ['_' => 'messages.messagesNotModified', 'count' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.messagesNotModified={_='messages.messagesNotModified', count=int} + +``` + + diff --git a/old_docs/API_docs_v73/constructors/messages.messagesSlice.md b/old_docs/API_docs_v73/constructors/messages.messagesSlice.md new file mode 100644 index 00000000..2fe91df0 --- /dev/null +++ b/old_docs/API_docs_v73/constructors/messages.messagesSlice.md @@ -0,0 +1,41 @@ +--- +title: messages.messagesSlice +description: Incomplete list of messages and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.messagesSlice +[Back to constructors index](index.md) + + + +Incomplete list of messages and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of messages in the list| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Messages](../types/messages.Messages.md) + + +### Example: + +```php +$messages.messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.messagesSlice={_='messages.messagesSlice', count=int, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v73/constructors/messages.peerDialogs.md b/old_docs/API_docs_v73/constructors/messages.peerDialogs.md new file mode 100644 index 00000000..39cb71f8 --- /dev/null +++ b/old_docs/API_docs_v73/constructors/messages.peerDialogs.md @@ -0,0 +1,42 @@ +--- +title: messages.peerDialogs +description: Dialog info of multiple peers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.peerDialogs +[Back to constructors index](index.md) + + + +Dialog info of multiple peers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| +|state|[updates.State](../constructors/updates.State.md) | Yes|Current [update state of dialog](https://core.telegram.org/api/updates)| + + + +### Type: [messages.PeerDialogs](../types/messages.PeerDialogs.md) + + +### Example: + +```php +$messages.peerDialogs = ['_' => 'messages.peerDialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates.State]; +``` + + +Or, if you're into Lua: + +```lua +messages.peerDialogs={_='messages.peerDialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}, state=updates.State} + +``` + + diff --git a/old_docs/API_docs_v73/constructors/messages.recentStickers.md b/old_docs/API_docs_v73/constructors/messages.recentStickers.md new file mode 100644 index 00000000..c5c3b389 --- /dev/null +++ b/old_docs/API_docs_v73/constructors/messages.recentStickers.md @@ -0,0 +1,39 @@ +--- +title: messages.recentStickers +description: Recently used stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.recentStickers +[Back to constructors index](index.md) + + + +Recently used stickers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| + + + +### Type: [messages.RecentStickers](../types/messages.RecentStickers.md) + + +### Example: + +```php +$messages.recentStickers = ['_' => 'messages.recentStickers', 'hash' => int, 'stickers' => [Document, Document]]; +``` + + +Or, if you're into Lua: + +```lua +messages.recentStickers={_='messages.recentStickers', hash=int, stickers={Document}} + +``` + + diff --git a/old_docs/API_docs_v73/constructors/messages.recentStickersNotModified.md b/old_docs/API_docs_v73/constructors/messages.recentStickersNotModified.md new file mode 100644 index 00000000..1c3bbf5c --- /dev/null +++ b/old_docs/API_docs_v73/constructors/messages.recentStickersNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.recentStickersNotModified +description: No new recent sticker was found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.recentStickersNotModified +[Back to constructors index](index.md) + + + +No new recent sticker was found + + + + +### Type: [messages.RecentStickers](../types/messages.RecentStickers.md) + + +### Example: + +```php +$messages.recentStickersNotModified = ['_' => 'messages.recentStickersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.recentStickersNotModified={_='messages.recentStickersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v73/constructors/messages.savedGifs.md b/old_docs/API_docs_v73/constructors/messages.savedGifs.md new file mode 100644 index 00000000..c82929a3 --- /dev/null +++ b/old_docs/API_docs_v73/constructors/messages.savedGifs.md @@ -0,0 +1,39 @@ +--- +title: messages.savedGifs +description: Saved gifs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.savedGifs +[Back to constructors index](index.md) + + + +Saved gifs + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|gifs|Array of [Document](../types/Document.md) | Yes|Gifs| + + + +### Type: [messages.SavedGifs](../types/messages.SavedGifs.md) + + +### Example: + +```php +$messages.savedGifs = ['_' => 'messages.savedGifs', 'hash' => int, 'gifs' => [Document, Document]]; +``` + + +Or, if you're into Lua: + +```lua +messages.savedGifs={_='messages.savedGifs', hash=int, gifs={Document}} + +``` + + diff --git a/old_docs/API_docs_v73/constructors/messages.savedGifsNotModified.md b/old_docs/API_docs_v73/constructors/messages.savedGifsNotModified.md new file mode 100644 index 00000000..0fbccacc --- /dev/null +++ b/old_docs/API_docs_v73/constructors/messages.savedGifsNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.savedGifsNotModified +description: No new saved gifs were found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.savedGifsNotModified +[Back to constructors index](index.md) + + + +No new saved gifs were found + + + + +### Type: [messages.SavedGifs](../types/messages.SavedGifs.md) + + +### Example: + +```php +$messages.savedGifsNotModified = ['_' => 'messages.savedGifsNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.savedGifsNotModified={_='messages.savedGifsNotModified'} + +``` + + diff --git a/old_docs/API_docs_v73/constructors/messages.sentEncryptedFile.md b/old_docs/API_docs_v73/constructors/messages.sentEncryptedFile.md new file mode 100644 index 00000000..1f0e43c6 --- /dev/null +++ b/old_docs/API_docs_v73/constructors/messages.sentEncryptedFile.md @@ -0,0 +1,39 @@ +--- +title: messages.sentEncryptedFile +description: Message with a file enclosure sent to a protected chat +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.sentEncryptedFile +[Back to constructors index](index.md) + + + +Message with a file enclosure sent to a protected chat + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Sending date| +|file|[EncryptedFile](../types/EncryptedFile.md) | Optional|Attached file| + + + +### Type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) + + +### Example: + +```php +$messages.sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile]; +``` + + +Or, if you're into Lua: + +```lua +messages.sentEncryptedFile={_='messages.sentEncryptedFile', date=int, file=EncryptedFile} + +``` + + diff --git a/old_docs/API_docs_v73/constructors/messages.sentEncryptedMessage.md b/old_docs/API_docs_v73/constructors/messages.sentEncryptedMessage.md new file mode 100644 index 00000000..3d5eb40c --- /dev/null +++ b/old_docs/API_docs_v73/constructors/messages.sentEncryptedMessage.md @@ -0,0 +1,38 @@ +--- +title: messages.sentEncryptedMessage +description: Message without file attachemts sent to an encrypted file. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.sentEncryptedMessage +[Back to constructors index](index.md) + + + +Message without file attachemts sent to an encrypted file. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Date of sending| + + + +### Type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) + + +### Example: + +```php +$messages.sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.sentEncryptedMessage={_='messages.sentEncryptedMessage', date=int} + +``` + + diff --git a/old_docs/API_docs_v73/constructors/messages.stickerSet.md b/old_docs/API_docs_v73/constructors/messages.stickerSet.md new file mode 100644 index 00000000..fbc154d0 --- /dev/null +++ b/old_docs/API_docs_v73/constructors/messages.stickerSet.md @@ -0,0 +1,40 @@ +--- +title: messages.stickerSet +description: Stickerset and stickers inside it +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickerSet +[Back to constructors index](index.md) + + + +Stickerset and stickers inside it + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|set|[StickerSet](../types/StickerSet.md) | Yes|The stickerset| +|packs|Array of [StickerPack](../types/StickerPack.md) | Yes|Packs| +|documents|Array of [Document](../types/Document.md) | Yes|Documents| + + + +### Type: [messages.StickerSet](../types/messages.StickerSet.md) + + +### Example: + +```php +$messages.stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'packs' => [StickerPack, StickerPack], 'documents' => [Document, Document]]; +``` + + +Or, if you're into Lua: + +```lua +messages.stickerSet={_='messages.stickerSet', set=StickerSet, packs={StickerPack}, documents={Document}} + +``` + + diff --git a/old_docs/API_docs_v73/constructors/messages.stickerSetInstallResultArchive.md b/old_docs/API_docs_v73/constructors/messages.stickerSetInstallResultArchive.md new file mode 100644 index 00000000..fefe2270 --- /dev/null +++ b/old_docs/API_docs_v73/constructors/messages.stickerSetInstallResultArchive.md @@ -0,0 +1,38 @@ +--- +title: messages.stickerSetInstallResultArchive +description: The stickerset was installed, but since there are too many stickersets some were archived +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickerSetInstallResultArchive +[Back to constructors index](index.md) + + + +The stickerset was installed, but since there are too many stickersets some were archived + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| + + + +### Type: [messages.StickerSetInstallResult](../types/messages.StickerSetInstallResult.md) + + +### Example: + +```php +$messages.stickerSetInstallResultArchive = ['_' => 'messages.stickerSetInstallResultArchive', 'sets' => [StickerSetCovered, StickerSetCovered]]; +``` + + +Or, if you're into Lua: + +```lua +messages.stickerSetInstallResultArchive={_='messages.stickerSetInstallResultArchive', sets={StickerSetCovered}} + +``` + + diff --git a/old_docs/API_docs_v73/constructors/messages.stickerSetInstallResultSuccess.md b/old_docs/API_docs_v73/constructors/messages.stickerSetInstallResultSuccess.md new file mode 100644 index 00000000..bbe8b961 --- /dev/null +++ b/old_docs/API_docs_v73/constructors/messages.stickerSetInstallResultSuccess.md @@ -0,0 +1,33 @@ +--- +title: messages.stickerSetInstallResultSuccess +description: The stickerset was installed successfully +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickerSetInstallResultSuccess +[Back to constructors index](index.md) + + + +The stickerset was installed successfully + + + + +### Type: [messages.StickerSetInstallResult](../types/messages.StickerSetInstallResult.md) + + +### Example: + +```php +$messages.stickerSetInstallResultSuccess = ['_' => 'messages.stickerSetInstallResultSuccess']; +``` + + +Or, if you're into Lua: + +```lua +messages.stickerSetInstallResultSuccess={_='messages.stickerSetInstallResultSuccess'} + +``` + + diff --git a/old_docs/API_docs_v73/constructors/messages.stickers.md b/old_docs/API_docs_v73/constructors/messages.stickers.md new file mode 100644 index 00000000..310b64b0 --- /dev/null +++ b/old_docs/API_docs_v73/constructors/messages.stickers.md @@ -0,0 +1,39 @@ +--- +title: messages.stickers +description: Found stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickers +[Back to constructors index](index.md) + + + +Found stickers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[string](../types/string.md) | Yes|Hash| +|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| + + + +### Type: [messages.Stickers](../types/messages.Stickers.md) + + +### Example: + +```php +$messages.stickers = ['_' => 'messages.stickers', 'hash' => 'string', 'stickers' => [Document, Document]]; +``` + + +Or, if you're into Lua: + +```lua +messages.stickers={_='messages.stickers', hash='string', stickers={Document}} + +``` + + diff --git a/old_docs/API_docs_v73/constructors/messages.stickersNotModified.md b/old_docs/API_docs_v73/constructors/messages.stickersNotModified.md new file mode 100644 index 00000000..e8c7766c --- /dev/null +++ b/old_docs/API_docs_v73/constructors/messages.stickersNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.stickersNotModified +description: No new stickers were found for the given query +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickersNotModified +[Back to constructors index](index.md) + + + +No new stickers were found for the given query + + + + +### Type: [messages.Stickers](../types/messages.Stickers.md) + + +### Example: + +```php +$messages.stickersNotModified = ['_' => 'messages.stickersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.stickersNotModified={_='messages.stickersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v73/constructors/messages_affectedHistory.md b/old_docs/API_docs_v73/constructors/messages_affectedHistory.md deleted file mode 100644 index 449a7e3f..00000000 --- a/old_docs/API_docs_v73/constructors/messages_affectedHistory.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.affectedHistory -description: Affected part of communication history with the user or in a chat. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.affectedHistory -[Back to constructors index](index.md) - - - -Affected part of communication history with the user or in a chat. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| -|pts\_count|[int](../types/int.md) | Yes|Number of affected events| -|offset|[int](../types/int.md) | Yes|If a parameter contains positive value, it is necessary to repeat the method call using the given value; during the proceeding of all the history the value itself shall gradually decrease| - - - -### Type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) - - -### Example: - -```php -$messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_affectedHistory={_='messages.affectedHistory', pts=int, pts_count=int, offset=int} - -``` - - diff --git a/old_docs/API_docs_v73/constructors/messages_affectedMessages.md b/old_docs/API_docs_v73/constructors/messages_affectedMessages.md deleted file mode 100644 index 86760581..00000000 --- a/old_docs/API_docs_v73/constructors/messages_affectedMessages.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.affectedMessages -description: Events affected by operation -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.affectedMessages -[Back to constructors index](index.md) - - - -Events affected by operation - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|[Event count after generation](https://core.telegram.org/api/updates)| -|pts\_count|[int](../types/int.md) | Yes|[Number of events that were generated](https://core.telegram.org/api/updates)| - - - -### Type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) - - -### Example: - -```php -$messages_affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_affectedMessages={_='messages.affectedMessages', pts=int, pts_count=int} - -``` - - diff --git a/old_docs/API_docs_v73/constructors/messages_allStickers.md b/old_docs/API_docs_v73/constructors/messages_allStickers.md deleted file mode 100644 index 2e64f46e..00000000 --- a/old_docs/API_docs_v73/constructors/messages_allStickers.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.allStickers -description: Info about all installed stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.allStickers -[Back to constructors index](index.md) - - - -Info about all installed stickers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|sets|Array of [StickerSet](../types/StickerSet.md) | Yes|Sets| - - - -### Type: [messages\_AllStickers](../types/messages_AllStickers.md) - - -### Example: - -```php -$messages_allStickers = ['_' => 'messages.allStickers', 'hash' => int, 'sets' => [StickerSet, StickerSet]]; -``` - - -Or, if you're into Lua: - -```lua -messages_allStickers={_='messages.allStickers', hash=int, sets={StickerSet}} - -``` - - diff --git a/old_docs/API_docs_v73/constructors/messages_allStickersNotModified.md b/old_docs/API_docs_v73/constructors/messages_allStickersNotModified.md deleted file mode 100644 index c4da85ab..00000000 --- a/old_docs/API_docs_v73/constructors/messages_allStickersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.allStickersNotModified -description: Info about all installed stickers hasn't changed -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.allStickersNotModified -[Back to constructors index](index.md) - - - -Info about all installed stickers hasn't changed - - - - -### Type: [messages\_AllStickers](../types/messages_AllStickers.md) - - -### Example: - -```php -$messages_allStickersNotModified = ['_' => 'messages.allStickersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_allStickersNotModified={_='messages.allStickersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v73/constructors/messages_archivedStickers.md b/old_docs/API_docs_v73/constructors/messages_archivedStickers.md deleted file mode 100644 index 6b28c885..00000000 --- a/old_docs/API_docs_v73/constructors/messages_archivedStickers.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.archivedStickers -description: Archived stickersets -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.archivedStickers -[Back to constructors index](index.md) - - - -Archived stickersets - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Number of archived stickers| -|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| - - - -### Type: [messages\_ArchivedStickers](../types/messages_ArchivedStickers.md) - - -### Example: - -```php -$messages_archivedStickers = ['_' => 'messages.archivedStickers', 'count' => int, 'sets' => [StickerSetCovered, StickerSetCovered]]; -``` - - -Or, if you're into Lua: - -```lua -messages_archivedStickers={_='messages.archivedStickers', count=int, sets={StickerSetCovered}} - -``` - - diff --git a/old_docs/API_docs_v73/constructors/messages_botCallbackAnswer.md b/old_docs/API_docs_v73/constructors/messages_botCallbackAnswer.md deleted file mode 100644 index e56f4b56..00000000 --- a/old_docs/API_docs_v73/constructors/messages_botCallbackAnswer.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: messages.botCallbackAnswer -description: Callback answer sent by the bot in response to a button press -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.botCallbackAnswer -[Back to constructors index](index.md) - - - -Callback answer sent by the bot in response to a button press - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|alert|[Bool](../types/Bool.md) | Optional|Whether an alert should be shown to the user instead of a toast notification| -|has\_url|[Bool](../types/Bool.md) | Optional|Whether an URL is present| -|native\_ui|[Bool](../types/Bool.md) | Optional|Whether to show games in WebView or in native UI.| -|message|[string](../types/string.md) | Optional|Alert to show| -|url|[string](../types/string.md) | Optional|URL to open| -|cache\_time|[int](../types/int.md) | Yes|For how long should this answer be cached| - - - -### Type: [messages\_BotCallbackAnswer](../types/messages_BotCallbackAnswer.md) - - -### Example: - -```php -$messages_botCallbackAnswer = ['_' => 'messages.botCallbackAnswer', 'alert' => Bool, 'has_url' => Bool, 'native_ui' => Bool, 'message' => 'string', 'url' => 'string', 'cache_time' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_botCallbackAnswer={_='messages.botCallbackAnswer', alert=Bool, has_url=Bool, native_ui=Bool, message='string', url='string', cache_time=int} - -``` - - diff --git a/old_docs/API_docs_v73/constructors/messages_botResults.md b/old_docs/API_docs_v73/constructors/messages_botResults.md deleted file mode 100644 index 19b9edf6..00000000 --- a/old_docs/API_docs_v73/constructors/messages_botResults.md +++ /dev/null @@ -1,44 +0,0 @@ ---- -title: messages.botResults -description: Result of a query to an inline bot -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.botResults -[Back to constructors index](index.md) - - - -Result of a query to an inline bot - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|gallery|[Bool](../types/Bool.md) | Optional|Whether the result is a picture gallery| -|query\_id|[long](../types/long.md) | Yes|Query ID| -|next\_offset|[string](../types/string.md) | Optional|The next offset to use when navigating through results| -|switch\_pm|[InlineBotSwitchPM](../types/InlineBotSwitchPM.md) | Optional|Whether the bot requested the user to message him in private| -|results|Array of [BotInlineResult](../types/BotInlineResult.md) | Yes|Results| -|cache\_time|[int](../types/int.md) | Yes|Caching validity of the results| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_BotResults](../types/messages_BotResults.md) - - -### Example: - -```php -$messages_botResults = ['_' => 'messages.botResults', 'gallery' => Bool, 'query_id' => long, 'next_offset' => 'string', 'switch_pm' => InlineBotSwitchPM, 'results' => [BotInlineResult, BotInlineResult], 'cache_time' => int, 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_botResults={_='messages.botResults', gallery=Bool, query_id=long, next_offset='string', switch_pm=InlineBotSwitchPM, results={BotInlineResult}, cache_time=int, users={User}} - -``` - - diff --git a/old_docs/API_docs_v73/constructors/messages_channelMessages.md b/old_docs/API_docs_v73/constructors/messages_channelMessages.md deleted file mode 100644 index 12cdb9cd..00000000 --- a/old_docs/API_docs_v73/constructors/messages_channelMessages.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: messages.channelMessages -description: Channel messages -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.channelMessages -[Back to constructors index](index.md) - - - -Channel messages - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|[Event count after generation](https://core.telegram.org/api/updates)| -|count|[int](../types/int.md) | Yes|Total number of results were found server-side (may not be all included here)| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Messages](../types/messages_Messages.md) - - -### Example: - -```php -$messages_channelMessages = ['_' => 'messages.channelMessages', 'pts' => int, 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_channelMessages={_='messages.channelMessages', pts=int, count=int, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v73/constructors/messages_chatFull.md b/old_docs/API_docs_v73/constructors/messages_chatFull.md deleted file mode 100644 index 02f1acdf..00000000 --- a/old_docs/API_docs_v73/constructors/messages_chatFull.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.chatFull -description: Extended info on chat and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.chatFull -[Back to constructors index](index.md) - - - -Extended info on chat and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|full\_chat|[ChatFull](../types/ChatFull.md) | Yes|Extended info on a chat| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_ChatFull](../types/messages_ChatFull.md) - - -### Example: - -```php -$messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_chatFull={_='messages.chatFull', full_chat=ChatFull, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v73/constructors/messages_chats.md b/old_docs/API_docs_v73/constructors/messages_chats.md deleted file mode 100644 index ef3690a9..00000000 --- a/old_docs/API_docs_v73/constructors/messages_chats.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.chats -description: List of chats with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.chats -[Back to constructors index](index.md) - - - -List of chats with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| - - - -### Type: [messages\_Chats](../types/messages_Chats.md) - - -### Example: - -```php -$messages_chats = ['_' => 'messages.chats', 'chats' => [Chat, Chat]]; -``` - - -Or, if you're into Lua: - -```lua -messages_chats={_='messages.chats', chats={Chat}} - -``` - - diff --git a/old_docs/API_docs_v73/constructors/messages_chatsSlice.md b/old_docs/API_docs_v73/constructors/messages_chatsSlice.md deleted file mode 100644 index f19c4357..00000000 --- a/old_docs/API_docs_v73/constructors/messages_chatsSlice.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.chatsSlice -description: Partial list of chats, more would have to be fetched with [pagination](https://core.telegram.org/api/offsets) -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.chatsSlice -[Back to constructors index](index.md) - - - -Partial list of chats, more would have to be fetched with [pagination](https://core.telegram.org/api/offsets) - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of results that were found server-side (not all are included in `chats`)| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| - - - -### Type: [messages\_Chats](../types/messages_Chats.md) - - -### Example: - -```php -$messages_chatsSlice = ['_' => 'messages.chatsSlice', 'count' => int, 'chats' => [Chat, Chat]]; -``` - - -Or, if you're into Lua: - -```lua -messages_chatsSlice={_='messages.chatsSlice', count=int, chats={Chat}} - -``` - - diff --git a/old_docs/API_docs_v73/constructors/messages_dhConfig.md b/old_docs/API_docs_v73/constructors/messages_dhConfig.md deleted file mode 100644 index 42c2feb1..00000000 --- a/old_docs/API_docs_v73/constructors/messages_dhConfig.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: messages.dhConfig -description: New set of configuring parameters. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dhConfig -[Back to constructors index](index.md) - - - -New set of configuring parameters. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|g|[int](../types/int.md) | Yes|New value **prime**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| -|p|[bytes](../types/bytes.md) | Yes|New value **primitive root**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| -|version|[int](../types/int.md) | Yes|Vestion of set of parameters| -|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| - - - -### Type: [messages\_DhConfig](../types/messages_DhConfig.md) - - -### Example: - -```php -$messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'version' => int, 'random' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -messages_dhConfig={_='messages.dhConfig', g=int, p='bytes', version=int, random='bytes'} - -``` - - diff --git a/old_docs/API_docs_v73/constructors/messages_dhConfigNotModified.md b/old_docs/API_docs_v73/constructors/messages_dhConfigNotModified.md deleted file mode 100644 index 5bf64230..00000000 --- a/old_docs/API_docs_v73/constructors/messages_dhConfigNotModified.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.dhConfigNotModified -description: Configuring parameters did not change. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dhConfigNotModified -[Back to constructors index](index.md) - - - -Configuring parameters did not change. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| - - - -### Type: [messages\_DhConfig](../types/messages_DhConfig.md) - - -### Example: - -```php -$messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -messages_dhConfigNotModified={_='messages.dhConfigNotModified', random='bytes'} - -``` - - diff --git a/old_docs/API_docs_v73/constructors/messages_dialogs.md b/old_docs/API_docs_v73/constructors/messages_dialogs.md deleted file mode 100644 index e6a431b4..00000000 --- a/old_docs/API_docs_v73/constructors/messages_dialogs.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: messages.dialogs -description: Full list of chats with messages and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dialogs -[Back to constructors index](index.md) - - - -Full list of chats with messages and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Dialogs](../types/messages_Dialogs.md) - - -### Example: - -```php -$messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_dialogs={_='messages.dialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v73/constructors/messages_dialogsSlice.md b/old_docs/API_docs_v73/constructors/messages_dialogsSlice.md deleted file mode 100644 index f183b9a8..00000000 --- a/old_docs/API_docs_v73/constructors/messages_dialogsSlice.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: messages.dialogsSlice -description: Incomplete list of dialogs with messages and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dialogsSlice -[Back to constructors index](index.md) - - - -Incomplete list of dialogs with messages and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of dialogs| -|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Dialogs](../types/messages_Dialogs.md) - - -### Example: - -```php -$messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_dialogsSlice={_='messages.dialogsSlice', count=int, dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v73/constructors/messages_favedStickers.md b/old_docs/API_docs_v73/constructors/messages_favedStickers.md deleted file mode 100644 index 72d79df2..00000000 --- a/old_docs/API_docs_v73/constructors/messages_favedStickers.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.favedStickers -description: Favorited stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.favedStickers -[Back to constructors index](index.md) - - - -Favorited stickers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|packs|Array of [StickerPack](../types/StickerPack.md) | Yes|Packs| -|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| - - - -### Type: [messages\_FavedStickers](../types/messages_FavedStickers.md) - - -### Example: - -```php -$messages_favedStickers = ['_' => 'messages.favedStickers', 'hash' => int, 'packs' => [StickerPack, StickerPack], 'stickers' => [Document, Document]]; -``` - - -Or, if you're into Lua: - -```lua -messages_favedStickers={_='messages.favedStickers', hash=int, packs={StickerPack}, stickers={Document}} - -``` - - diff --git a/old_docs/API_docs_v73/constructors/messages_favedStickersNotModified.md b/old_docs/API_docs_v73/constructors/messages_favedStickersNotModified.md deleted file mode 100644 index a47c08e8..00000000 --- a/old_docs/API_docs_v73/constructors/messages_favedStickersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.favedStickersNotModified -description: No new favorited stickers were found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.favedStickersNotModified -[Back to constructors index](index.md) - - - -No new favorited stickers were found - - - - -### Type: [messages\_FavedStickers](../types/messages_FavedStickers.md) - - -### Example: - -```php -$messages_favedStickersNotModified = ['_' => 'messages.favedStickersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_favedStickersNotModified={_='messages.favedStickersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v73/constructors/messages_featuredStickers.md b/old_docs/API_docs_v73/constructors/messages_featuredStickers.md deleted file mode 100644 index 8ef1046e..00000000 --- a/old_docs/API_docs_v73/constructors/messages_featuredStickers.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.featuredStickers -description: Featured stickersets -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.featuredStickers -[Back to constructors index](index.md) - - - -Featured stickersets - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| -|unread|Array of [long](../types/long.md) | Yes|Unread| - - - -### Type: [messages\_FeaturedStickers](../types/messages_FeaturedStickers.md) - - -### Example: - -```php -$messages_featuredStickers = ['_' => 'messages.featuredStickers', 'hash' => int, 'sets' => [StickerSetCovered, StickerSetCovered], 'unread' => [long, long]]; -``` - - -Or, if you're into Lua: - -```lua -messages_featuredStickers={_='messages.featuredStickers', hash=int, sets={StickerSetCovered}, unread={long}} - -``` - - diff --git a/old_docs/API_docs_v73/constructors/messages_featuredStickersNotModified.md b/old_docs/API_docs_v73/constructors/messages_featuredStickersNotModified.md deleted file mode 100644 index de01131b..00000000 --- a/old_docs/API_docs_v73/constructors/messages_featuredStickersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.featuredStickersNotModified -description: Featured stickers haven't changed -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.featuredStickersNotModified -[Back to constructors index](index.md) - - - -Featured stickers haven't changed - - - - -### Type: [messages\_FeaturedStickers](../types/messages_FeaturedStickers.md) - - -### Example: - -```php -$messages_featuredStickersNotModified = ['_' => 'messages.featuredStickersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_featuredStickersNotModified={_='messages.featuredStickersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v73/constructors/messages_foundGifs.md b/old_docs/API_docs_v73/constructors/messages_foundGifs.md deleted file mode 100644 index eb3603ca..00000000 --- a/old_docs/API_docs_v73/constructors/messages_foundGifs.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.foundGifs -description: Found GIFs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.foundGifs -[Back to constructors index](index.md) - - - -Found GIFs - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|next\_offset|[int](../types/int.md) | Yes|Next offset to use when trying to [load more results](../methods/messages.searchGifs.md)| -|results|Array of [FoundGif](../types/FoundGif.md) | Yes|Results| - - - -### Type: [messages\_FoundGifs](../types/messages_FoundGifs.md) - - -### Example: - -```php -$messages_foundGifs = ['_' => 'messages.foundGifs', 'next_offset' => int, 'results' => [FoundGif, FoundGif]]; -``` - - -Or, if you're into Lua: - -```lua -messages_foundGifs={_='messages.foundGifs', next_offset=int, results={FoundGif}} - -``` - - diff --git a/old_docs/API_docs_v73/constructors/messages_highScores.md b/old_docs/API_docs_v73/constructors/messages_highScores.md deleted file mode 100644 index d6fc5210..00000000 --- a/old_docs/API_docs_v73/constructors/messages_highScores.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.highScores -description: Highscores in a game -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.highScores -[Back to constructors index](index.md) - - - -Highscores in a game - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|scores|Array of [HighScore](../types/HighScore.md) | Yes|Scores| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_HighScores](../types/messages_HighScores.md) - - -### Example: - -```php -$messages_highScores = ['_' => 'messages.highScores', 'scores' => [HighScore, HighScore], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_highScores={_='messages.highScores', scores={HighScore}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v73/constructors/messages_messageEditData.md b/old_docs/API_docs_v73/constructors/messages_messageEditData.md deleted file mode 100644 index 76aefca5..00000000 --- a/old_docs/API_docs_v73/constructors/messages_messageEditData.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.messageEditData -description: Message edit data for media -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.messageEditData -[Back to constructors index](index.md) - - - -Message edit data for media - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|caption|[Bool](../types/Bool.md) | Optional|Media caption, if the specified media's caption can be edited| - - - -### Type: [messages\_MessageEditData](../types/messages_MessageEditData.md) - - -### Example: - -```php -$messages_messageEditData = ['_' => 'messages.messageEditData', 'caption' => Bool]; -``` - - -Or, if you're into Lua: - -```lua -messages_messageEditData={_='messages.messageEditData', caption=Bool} - -``` - - diff --git a/old_docs/API_docs_v73/constructors/messages_messages.md b/old_docs/API_docs_v73/constructors/messages_messages.md deleted file mode 100644 index 3e369e1a..00000000 --- a/old_docs/API_docs_v73/constructors/messages_messages.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.messages -description: Full list of messages with auxilary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.messages -[Back to constructors index](index.md) - - - -Full list of messages with auxilary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Messages](../types/messages_Messages.md) - - -### Example: - -```php -$messages_messages = ['_' => 'messages.messages', 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_messages={_='messages.messages', messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v73/constructors/messages_messagesNotModified.md b/old_docs/API_docs_v73/constructors/messages_messagesNotModified.md deleted file mode 100644 index 2e9c4ad9..00000000 --- a/old_docs/API_docs_v73/constructors/messages_messagesNotModified.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.messagesNotModified -description: No new messages matching the query were found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.messagesNotModified -[Back to constructors index](index.md) - - - -No new messages matching the query were found - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Number of results found server-side by the given query| - - - -### Type: [messages\_Messages](../types/messages_Messages.md) - - -### Example: - -```php -$messages_messagesNotModified = ['_' => 'messages.messagesNotModified', 'count' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_messagesNotModified={_='messages.messagesNotModified', count=int} - -``` - - diff --git a/old_docs/API_docs_v73/constructors/messages_messagesSlice.md b/old_docs/API_docs_v73/constructors/messages_messagesSlice.md deleted file mode 100644 index f9b8dc18..00000000 --- a/old_docs/API_docs_v73/constructors/messages_messagesSlice.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: messages.messagesSlice -description: Incomplete list of messages and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.messagesSlice -[Back to constructors index](index.md) - - - -Incomplete list of messages and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of messages in the list| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Messages](../types/messages_Messages.md) - - -### Example: - -```php -$messages_messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_messagesSlice={_='messages.messagesSlice', count=int, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v73/constructors/messages_peerDialogs.md b/old_docs/API_docs_v73/constructors/messages_peerDialogs.md deleted file mode 100644 index 29b4b842..00000000 --- a/old_docs/API_docs_v73/constructors/messages_peerDialogs.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: messages.peerDialogs -description: Dialog info of multiple peers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.peerDialogs -[Back to constructors index](index.md) - - - -Dialog info of multiple peers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| -|state|[updates\_State](../types/updates_State.md) | Yes|Current [update state of dialog](https://core.telegram.org/api/updates)| - - - -### Type: [messages\_PeerDialogs](../types/messages_PeerDialogs.md) - - -### Example: - -```php -$messages_peerDialogs = ['_' => 'messages.peerDialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates_State]; -``` - - -Or, if you're into Lua: - -```lua -messages_peerDialogs={_='messages.peerDialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}, state=updates_State} - -``` - - diff --git a/old_docs/API_docs_v73/constructors/messages_recentStickers.md b/old_docs/API_docs_v73/constructors/messages_recentStickers.md deleted file mode 100644 index 31b059e5..00000000 --- a/old_docs/API_docs_v73/constructors/messages_recentStickers.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.recentStickers -description: Recently used stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.recentStickers -[Back to constructors index](index.md) - - - -Recently used stickers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| - - - -### Type: [messages\_RecentStickers](../types/messages_RecentStickers.md) - - -### Example: - -```php -$messages_recentStickers = ['_' => 'messages.recentStickers', 'hash' => int, 'stickers' => [Document, Document]]; -``` - - -Or, if you're into Lua: - -```lua -messages_recentStickers={_='messages.recentStickers', hash=int, stickers={Document}} - -``` - - diff --git a/old_docs/API_docs_v73/constructors/messages_recentStickersNotModified.md b/old_docs/API_docs_v73/constructors/messages_recentStickersNotModified.md deleted file mode 100644 index 3e81dceb..00000000 --- a/old_docs/API_docs_v73/constructors/messages_recentStickersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.recentStickersNotModified -description: No new recent sticker was found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.recentStickersNotModified -[Back to constructors index](index.md) - - - -No new recent sticker was found - - - - -### Type: [messages\_RecentStickers](../types/messages_RecentStickers.md) - - -### Example: - -```php -$messages_recentStickersNotModified = ['_' => 'messages.recentStickersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_recentStickersNotModified={_='messages.recentStickersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v73/constructors/messages_savedGifs.md b/old_docs/API_docs_v73/constructors/messages_savedGifs.md deleted file mode 100644 index ed3e8ea3..00000000 --- a/old_docs/API_docs_v73/constructors/messages_savedGifs.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.savedGifs -description: Saved gifs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.savedGifs -[Back to constructors index](index.md) - - - -Saved gifs - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|gifs|Array of [Document](../types/Document.md) | Yes|Gifs| - - - -### Type: [messages\_SavedGifs](../types/messages_SavedGifs.md) - - -### Example: - -```php -$messages_savedGifs = ['_' => 'messages.savedGifs', 'hash' => int, 'gifs' => [Document, Document]]; -``` - - -Or, if you're into Lua: - -```lua -messages_savedGifs={_='messages.savedGifs', hash=int, gifs={Document}} - -``` - - diff --git a/old_docs/API_docs_v73/constructors/messages_savedGifsNotModified.md b/old_docs/API_docs_v73/constructors/messages_savedGifsNotModified.md deleted file mode 100644 index 0f843a0c..00000000 --- a/old_docs/API_docs_v73/constructors/messages_savedGifsNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.savedGifsNotModified -description: No new saved gifs were found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.savedGifsNotModified -[Back to constructors index](index.md) - - - -No new saved gifs were found - - - - -### Type: [messages\_SavedGifs](../types/messages_SavedGifs.md) - - -### Example: - -```php -$messages_savedGifsNotModified = ['_' => 'messages.savedGifsNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_savedGifsNotModified={_='messages.savedGifsNotModified'} - -``` - - diff --git a/old_docs/API_docs_v73/constructors/messages_sentEncryptedFile.md b/old_docs/API_docs_v73/constructors/messages_sentEncryptedFile.md deleted file mode 100644 index fdc2a11e..00000000 --- a/old_docs/API_docs_v73/constructors/messages_sentEncryptedFile.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.sentEncryptedFile -description: Message with a file enclosure sent to a protected chat -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.sentEncryptedFile -[Back to constructors index](index.md) - - - -Message with a file enclosure sent to a protected chat - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Sending date| -|file|[EncryptedFile](../types/EncryptedFile.md) | Optional|Attached file| - - - -### Type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) - - -### Example: - -```php -$messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile]; -``` - - -Or, if you're into Lua: - -```lua -messages_sentEncryptedFile={_='messages.sentEncryptedFile', date=int, file=EncryptedFile} - -``` - - diff --git a/old_docs/API_docs_v73/constructors/messages_sentEncryptedMessage.md b/old_docs/API_docs_v73/constructors/messages_sentEncryptedMessage.md deleted file mode 100644 index 36b2bbff..00000000 --- a/old_docs/API_docs_v73/constructors/messages_sentEncryptedMessage.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.sentEncryptedMessage -description: Message without file attachemts sent to an encrypted file. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.sentEncryptedMessage -[Back to constructors index](index.md) - - - -Message without file attachemts sent to an encrypted file. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Date of sending| - - - -### Type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) - - -### Example: - -```php -$messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_sentEncryptedMessage={_='messages.sentEncryptedMessage', date=int} - -``` - - diff --git a/old_docs/API_docs_v73/constructors/messages_stickerSet.md b/old_docs/API_docs_v73/constructors/messages_stickerSet.md deleted file mode 100644 index 127191de..00000000 --- a/old_docs/API_docs_v73/constructors/messages_stickerSet.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.stickerSet -description: Stickerset and stickers inside it -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickerSet -[Back to constructors index](index.md) - - - -Stickerset and stickers inside it - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|set|[StickerSet](../types/StickerSet.md) | Yes|The stickerset| -|packs|Array of [StickerPack](../types/StickerPack.md) | Yes|Packs| -|documents|Array of [Document](../types/Document.md) | Yes|Documents| - - - -### Type: [messages\_StickerSet](../types/messages_StickerSet.md) - - -### Example: - -```php -$messages_stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'packs' => [StickerPack, StickerPack], 'documents' => [Document, Document]]; -``` - - -Or, if you're into Lua: - -```lua -messages_stickerSet={_='messages.stickerSet', set=StickerSet, packs={StickerPack}, documents={Document}} - -``` - - diff --git a/old_docs/API_docs_v73/constructors/messages_stickerSetInstallResultArchive.md b/old_docs/API_docs_v73/constructors/messages_stickerSetInstallResultArchive.md deleted file mode 100644 index 8a5f4d5d..00000000 --- a/old_docs/API_docs_v73/constructors/messages_stickerSetInstallResultArchive.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.stickerSetInstallResultArchive -description: The stickerset was installed, but since there are too many stickersets some were archived -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickerSetInstallResultArchive -[Back to constructors index](index.md) - - - -The stickerset was installed, but since there are too many stickersets some were archived - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| - - - -### Type: [messages\_StickerSetInstallResult](../types/messages_StickerSetInstallResult.md) - - -### Example: - -```php -$messages_stickerSetInstallResultArchive = ['_' => 'messages.stickerSetInstallResultArchive', 'sets' => [StickerSetCovered, StickerSetCovered]]; -``` - - -Or, if you're into Lua: - -```lua -messages_stickerSetInstallResultArchive={_='messages.stickerSetInstallResultArchive', sets={StickerSetCovered}} - -``` - - diff --git a/old_docs/API_docs_v73/constructors/messages_stickerSetInstallResultSuccess.md b/old_docs/API_docs_v73/constructors/messages_stickerSetInstallResultSuccess.md deleted file mode 100644 index 1d33b89f..00000000 --- a/old_docs/API_docs_v73/constructors/messages_stickerSetInstallResultSuccess.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.stickerSetInstallResultSuccess -description: The stickerset was installed successfully -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickerSetInstallResultSuccess -[Back to constructors index](index.md) - - - -The stickerset was installed successfully - - - - -### Type: [messages\_StickerSetInstallResult](../types/messages_StickerSetInstallResult.md) - - -### Example: - -```php -$messages_stickerSetInstallResultSuccess = ['_' => 'messages.stickerSetInstallResultSuccess']; -``` - - -Or, if you're into Lua: - -```lua -messages_stickerSetInstallResultSuccess={_='messages.stickerSetInstallResultSuccess'} - -``` - - diff --git a/old_docs/API_docs_v73/constructors/messages_stickers.md b/old_docs/API_docs_v73/constructors/messages_stickers.md deleted file mode 100644 index 1c007df2..00000000 --- a/old_docs/API_docs_v73/constructors/messages_stickers.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.stickers -description: Found stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickers -[Back to constructors index](index.md) - - - -Found stickers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[string](../types/string.md) | Yes|Hash| -|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| - - - -### Type: [messages\_Stickers](../types/messages_Stickers.md) - - -### Example: - -```php -$messages_stickers = ['_' => 'messages.stickers', 'hash' => 'string', 'stickers' => [Document, Document]]; -``` - - -Or, if you're into Lua: - -```lua -messages_stickers={_='messages.stickers', hash='string', stickers={Document}} - -``` - - diff --git a/old_docs/API_docs_v73/constructors/messages_stickersNotModified.md b/old_docs/API_docs_v73/constructors/messages_stickersNotModified.md deleted file mode 100644 index 3d434a79..00000000 --- a/old_docs/API_docs_v73/constructors/messages_stickersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.stickersNotModified -description: No new stickers were found for the given query -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickersNotModified -[Back to constructors index](index.md) - - - -No new stickers were found for the given query - - - - -### Type: [messages\_Stickers](../types/messages_Stickers.md) - - -### Example: - -```php -$messages_stickersNotModified = ['_' => 'messages.stickersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_stickersNotModified={_='messages.stickersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v73/constructors/payments.paymentForm.md b/old_docs/API_docs_v73/constructors/payments.paymentForm.md new file mode 100644 index 00000000..90e0f39d --- /dev/null +++ b/old_docs/API_docs_v73/constructors/payments.paymentForm.md @@ -0,0 +1,48 @@ +--- +title: payments.paymentForm +description: Payment form +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: payments.paymentForm +[Back to constructors index](index.md) + + + +Payment form + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|can\_save\_credentials|[Bool](../types/Bool.md) | Optional|Whether the user can choose to save credentials.| +|password\_missing|[Bool](../types/Bool.md) | Optional|Indicates that the user can save payment credentials, but only after setting up a [2FA password](https://core.telegram.org/api/srp) (currently the account doesn't have a [2FA password](https://core.telegram.org/api/srp))| +|bot\_id|[int](../types/int.md) | Yes|Bot ID| +|invoice|[Invoice](../types/Invoice.md) | Yes|Invoice| +|provider\_id|[int](../types/int.md) | Yes|Payment provider ID.| +|url|[string](../types/string.md) | Yes|Payment form URL| +|native\_provider|[string](../types/string.md) | Optional|Payment provider name.
One of the following:
\- `stripe`| +|native\_params|[DataJSON](../types/DataJSON.md) | Optional|Contains information about the payment provider, if available, to support it natively without the need for opening the URL.
A JSON object that can contain the following fields:

\- `publishable_key`: Stripe API publishable key
\- `apple_pay_merchant_id`: Apple Pay merchant ID
\- `android_pay_public_key`: Android Pay public key
\- `android_pay_bgcolor`: Android Pay form background color
\- `android_pay_inverse`: Whether to use the dark theme in the Android Pay form
\- `need_country`: True, if the user country must be provided,
\- `need_zip`: True, if the user ZIP/postal code must be provided,
\- `need_cardholder_name`: True, if the cardholder name must be provided
| +|saved\_info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Optional|Saved server-side order information| +|saved\_credentials|[PaymentSavedCredentials](../types/PaymentSavedCredentials.md) | Optional|Contains information about saved card credentials| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [payments.PaymentForm](../types/payments.PaymentForm.md) + + +### Example: + +```php +$payments.paymentForm = ['_' => 'payments.paymentForm', 'can_save_credentials' => Bool, 'password_missing' => Bool, 'bot_id' => int, 'invoice' => Invoice, 'provider_id' => int, 'url' => 'string', 'native_provider' => 'string', 'native_params' => DataJSON, 'saved_info' => PaymentRequestedInfo, 'saved_credentials' => PaymentSavedCredentials, 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +payments.paymentForm={_='payments.paymentForm', can_save_credentials=Bool, password_missing=Bool, bot_id=int, invoice=Invoice, provider_id=int, url='string', native_provider='string', native_params=DataJSON, saved_info=PaymentRequestedInfo, saved_credentials=PaymentSavedCredentials, users={User}} + +``` + + diff --git a/old_docs/API_docs_v73/constructors/payments.paymentReceipt.md b/old_docs/API_docs_v73/constructors/payments.paymentReceipt.md new file mode 100644 index 00000000..5a0cc190 --- /dev/null +++ b/old_docs/API_docs_v73/constructors/payments.paymentReceipt.md @@ -0,0 +1,47 @@ +--- +title: payments.paymentReceipt +description: Receipt +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: payments.paymentReceipt +[Back to constructors index](index.md) + + + +Receipt + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Date of generation| +|bot\_id|[int](../types/int.md) | Yes|Bot ID| +|invoice|[Invoice](../types/Invoice.md) | Yes|Invoice| +|provider\_id|[int](../types/int.md) | Yes|Provider ID| +|info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Optional|Info| +|shipping|[ShippingOption](../types/ShippingOption.md) | Optional|Selected shipping option| +|currency|[string](../types/string.md) | Yes|Three-letter ISO 4217 [currency](https://core.telegram.org/bots/payments#supported-currencies) code| +|total\_amount|[long](../types/long.md) | Yes|Total amount in the smallest units of the currency (integer, not float/double). For example, for a price of `US$ 1.45` pass `amount = 145`. See the exp parameter in [currencies.json](https://core.telegram.org/bots/payments/currencies.json), it shows the number of digits past the decimal point for each currency (2 for the majority of currencies).| +|credentials\_title|[string](../types/string.md) | Yes|Payment credential name| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [payments.PaymentReceipt](../types/payments.PaymentReceipt.md) + + +### Example: + +```php +$payments.paymentReceipt = ['_' => 'payments.paymentReceipt', 'date' => int, 'bot_id' => int, 'invoice' => Invoice, 'provider_id' => int, 'info' => PaymentRequestedInfo, 'shipping' => ShippingOption, 'currency' => 'string', 'total_amount' => long, 'credentials_title' => 'string', 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +payments.paymentReceipt={_='payments.paymentReceipt', date=int, bot_id=int, invoice=Invoice, provider_id=int, info=PaymentRequestedInfo, shipping=ShippingOption, currency='string', total_amount=long, credentials_title='string', users={User}} + +``` + + diff --git a/old_docs/API_docs_v73/constructors/payments.paymentResult.md b/old_docs/API_docs_v73/constructors/payments.paymentResult.md new file mode 100644 index 00000000..df32fd91 --- /dev/null +++ b/old_docs/API_docs_v73/constructors/payments.paymentResult.md @@ -0,0 +1,38 @@ +--- +title: payments.paymentResult +description: Payment result +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: payments.paymentResult +[Back to constructors index](index.md) + + + +Payment result + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|updates|[Updates](../types/Updates.md) | Yes|Info about the payment| + + + +### Type: [payments.PaymentResult](../types/payments.PaymentResult.md) + + +### Example: + +```php +$payments.paymentResult = ['_' => 'payments.paymentResult', 'updates' => Updates]; +``` + + +Or, if you're into Lua: + +```lua +payments.paymentResult={_='payments.paymentResult', updates=Updates} + +``` + + diff --git a/old_docs/API_docs_v73/constructors/payments.paymentVerficationNeeded.md b/old_docs/API_docs_v73/constructors/payments.paymentVerficationNeeded.md new file mode 100644 index 00000000..3f459215 --- /dev/null +++ b/old_docs/API_docs_v73/constructors/payments.paymentVerficationNeeded.md @@ -0,0 +1,38 @@ +--- +title: payments.paymentVerficationNeeded +description: Payment verfication needed +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: payments.paymentVerficationNeeded +[Back to constructors index](index.md) + + + +Payment verfication needed + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|url|[string](../types/string.md) | Yes|URL| + + + +### Type: [payments.PaymentResult](../types/payments.PaymentResult.md) + + +### Example: + +```php +$payments.paymentVerficationNeeded = ['_' => 'payments.paymentVerficationNeeded', 'url' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +payments.paymentVerficationNeeded={_='payments.paymentVerficationNeeded', url='string'} + +``` + + diff --git a/old_docs/API_docs_v73/constructors/payments.savedInfo.md b/old_docs/API_docs_v73/constructors/payments.savedInfo.md new file mode 100644 index 00000000..a005a842 --- /dev/null +++ b/old_docs/API_docs_v73/constructors/payments.savedInfo.md @@ -0,0 +1,39 @@ +--- +title: payments.savedInfo +description: Saved server-side order information +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: payments.savedInfo +[Back to constructors index](index.md) + + + +Saved server-side order information + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|has\_saved\_credentials|[Bool](../types/Bool.md) | Optional|Whether the user has some saved payment credentials| +|saved\_info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Optional|Saved server-side order information| + + + +### Type: [payments.SavedInfo](../types/payments.SavedInfo.md) + + +### Example: + +```php +$payments.savedInfo = ['_' => 'payments.savedInfo', 'has_saved_credentials' => Bool, 'saved_info' => PaymentRequestedInfo]; +``` + + +Or, if you're into Lua: + +```lua +payments.savedInfo={_='payments.savedInfo', has_saved_credentials=Bool, saved_info=PaymentRequestedInfo} + +``` + + diff --git a/old_docs/API_docs_v73/constructors/payments.validatedRequestedInfo.md b/old_docs/API_docs_v73/constructors/payments.validatedRequestedInfo.md new file mode 100644 index 00000000..4789b28d --- /dev/null +++ b/old_docs/API_docs_v73/constructors/payments.validatedRequestedInfo.md @@ -0,0 +1,39 @@ +--- +title: payments.validatedRequestedInfo +description: Validated user-provided info +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: payments.validatedRequestedInfo +[Back to constructors index](index.md) + + + +Validated user-provided info + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|id|[string](../types/string.md) | Optional|ID| +|shipping\_options|Array of [ShippingOption](../types/ShippingOption.md) | Optional|Shipping options| + + + +### Type: [payments.ValidatedRequestedInfo](../types/payments.ValidatedRequestedInfo.md) + + +### Example: + +```php +$payments.validatedRequestedInfo = ['_' => 'payments.validatedRequestedInfo', 'id' => 'string', 'shipping_options' => [ShippingOption, ShippingOption]]; +``` + + +Or, if you're into Lua: + +```lua +payments.validatedRequestedInfo={_='payments.validatedRequestedInfo', id='string', shipping_options={ShippingOption}} + +``` + + diff --git a/old_docs/API_docs_v73/constructors/payments_paymentForm.md b/old_docs/API_docs_v73/constructors/payments_paymentForm.md deleted file mode 100644 index 88848527..00000000 --- a/old_docs/API_docs_v73/constructors/payments_paymentForm.md +++ /dev/null @@ -1,48 +0,0 @@ ---- -title: payments.paymentForm -description: Payment form -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: payments.paymentForm -[Back to constructors index](index.md) - - - -Payment form - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|can\_save\_credentials|[Bool](../types/Bool.md) | Optional|Whether the user can choose to save credentials.| -|password\_missing|[Bool](../types/Bool.md) | Optional|Indicates that the user can save payment credentials, but only after setting up a [2FA password](https://core.telegram.org/api/srp) (currently the account doesn't have a [2FA password](https://core.telegram.org/api/srp))| -|bot\_id|[int](../types/int.md) | Yes|Bot ID| -|invoice|[Invoice](../types/Invoice.md) | Yes|Invoice| -|provider\_id|[int](../types/int.md) | Yes|Payment provider ID.| -|url|[string](../types/string.md) | Yes|Payment form URL| -|native\_provider|[string](../types/string.md) | Optional|Payment provider name.
One of the following:
\- `stripe`| -|native\_params|[DataJSON](../types/DataJSON.md) | Optional|Contains information about the payment provider, if available, to support it natively without the need for opening the URL.
A JSON object that can contain the following fields:

\- `publishable_key`: Stripe API publishable key
\- `apple_pay_merchant_id`: Apple Pay merchant ID
\- `android_pay_public_key`: Android Pay public key
\- `android_pay_bgcolor`: Android Pay form background color
\- `android_pay_inverse`: Whether to use the dark theme in the Android Pay form
\- `need_country`: True, if the user country must be provided,
\- `need_zip`: True, if the user ZIP/postal code must be provided,
\- `need_cardholder_name`: True, if the cardholder name must be provided
| -|saved\_info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Optional|Saved server-side order information| -|saved\_credentials|[PaymentSavedCredentials](../types/PaymentSavedCredentials.md) | Optional|Contains information about saved card credentials| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [payments\_PaymentForm](../types/payments_PaymentForm.md) - - -### Example: - -```php -$payments_paymentForm = ['_' => 'payments.paymentForm', 'can_save_credentials' => Bool, 'password_missing' => Bool, 'bot_id' => int, 'invoice' => Invoice, 'provider_id' => int, 'url' => 'string', 'native_provider' => 'string', 'native_params' => DataJSON, 'saved_info' => PaymentRequestedInfo, 'saved_credentials' => PaymentSavedCredentials, 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -payments_paymentForm={_='payments.paymentForm', can_save_credentials=Bool, password_missing=Bool, bot_id=int, invoice=Invoice, provider_id=int, url='string', native_provider='string', native_params=DataJSON, saved_info=PaymentRequestedInfo, saved_credentials=PaymentSavedCredentials, users={User}} - -``` - - diff --git a/old_docs/API_docs_v73/constructors/payments_paymentReceipt.md b/old_docs/API_docs_v73/constructors/payments_paymentReceipt.md deleted file mode 100644 index 411e9dee..00000000 --- a/old_docs/API_docs_v73/constructors/payments_paymentReceipt.md +++ /dev/null @@ -1,47 +0,0 @@ ---- -title: payments.paymentReceipt -description: Receipt -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: payments.paymentReceipt -[Back to constructors index](index.md) - - - -Receipt - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Date of generation| -|bot\_id|[int](../types/int.md) | Yes|Bot ID| -|invoice|[Invoice](../types/Invoice.md) | Yes|Invoice| -|provider\_id|[int](../types/int.md) | Yes|Provider ID| -|info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Optional|Info| -|shipping|[ShippingOption](../types/ShippingOption.md) | Optional|Selected shipping option| -|currency|[string](../types/string.md) | Yes|Three-letter ISO 4217 [currency](https://core.telegram.org/bots/payments#supported-currencies) code| -|total\_amount|[long](../types/long.md) | Yes|Total amount in the smallest units of the currency (integer, not float/double). For example, for a price of `US$ 1.45` pass `amount = 145`. See the exp parameter in [currencies.json](https://core.telegram.org/bots/payments/currencies.json), it shows the number of digits past the decimal point for each currency (2 for the majority of currencies).| -|credentials\_title|[string](../types/string.md) | Yes|Payment credential name| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [payments\_PaymentReceipt](../types/payments_PaymentReceipt.md) - - -### Example: - -```php -$payments_paymentReceipt = ['_' => 'payments.paymentReceipt', 'date' => int, 'bot_id' => int, 'invoice' => Invoice, 'provider_id' => int, 'info' => PaymentRequestedInfo, 'shipping' => ShippingOption, 'currency' => 'string', 'total_amount' => long, 'credentials_title' => 'string', 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -payments_paymentReceipt={_='payments.paymentReceipt', date=int, bot_id=int, invoice=Invoice, provider_id=int, info=PaymentRequestedInfo, shipping=ShippingOption, currency='string', total_amount=long, credentials_title='string', users={User}} - -``` - - diff --git a/old_docs/API_docs_v73/constructors/payments_paymentResult.md b/old_docs/API_docs_v73/constructors/payments_paymentResult.md deleted file mode 100644 index 12af1d36..00000000 --- a/old_docs/API_docs_v73/constructors/payments_paymentResult.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: payments.paymentResult -description: Payment result -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: payments.paymentResult -[Back to constructors index](index.md) - - - -Payment result - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|updates|[Updates](../types/Updates.md) | Yes|Info about the payment| - - - -### Type: [payments\_PaymentResult](../types/payments_PaymentResult.md) - - -### Example: - -```php -$payments_paymentResult = ['_' => 'payments.paymentResult', 'updates' => Updates]; -``` - - -Or, if you're into Lua: - -```lua -payments_paymentResult={_='payments.paymentResult', updates=Updates} - -``` - - diff --git a/old_docs/API_docs_v73/constructors/payments_paymentVerficationNeeded.md b/old_docs/API_docs_v73/constructors/payments_paymentVerficationNeeded.md deleted file mode 100644 index 70ca205d..00000000 --- a/old_docs/API_docs_v73/constructors/payments_paymentVerficationNeeded.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: payments.paymentVerficationNeeded -description: Payment verfication needed -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: payments.paymentVerficationNeeded -[Back to constructors index](index.md) - - - -Payment verfication needed - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|url|[string](../types/string.md) | Yes|URL| - - - -### Type: [payments\_PaymentResult](../types/payments_PaymentResult.md) - - -### Example: - -```php -$payments_paymentVerficationNeeded = ['_' => 'payments.paymentVerficationNeeded', 'url' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -payments_paymentVerficationNeeded={_='payments.paymentVerficationNeeded', url='string'} - -``` - - diff --git a/old_docs/API_docs_v73/constructors/payments_savedInfo.md b/old_docs/API_docs_v73/constructors/payments_savedInfo.md deleted file mode 100644 index 19d3aee5..00000000 --- a/old_docs/API_docs_v73/constructors/payments_savedInfo.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: payments.savedInfo -description: Saved server-side order information -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: payments.savedInfo -[Back to constructors index](index.md) - - - -Saved server-side order information - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|has\_saved\_credentials|[Bool](../types/Bool.md) | Optional|Whether the user has some saved payment credentials| -|saved\_info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Optional|Saved server-side order information| - - - -### Type: [payments\_SavedInfo](../types/payments_SavedInfo.md) - - -### Example: - -```php -$payments_savedInfo = ['_' => 'payments.savedInfo', 'has_saved_credentials' => Bool, 'saved_info' => PaymentRequestedInfo]; -``` - - -Or, if you're into Lua: - -```lua -payments_savedInfo={_='payments.savedInfo', has_saved_credentials=Bool, saved_info=PaymentRequestedInfo} - -``` - - diff --git a/old_docs/API_docs_v73/constructors/payments_validatedRequestedInfo.md b/old_docs/API_docs_v73/constructors/payments_validatedRequestedInfo.md deleted file mode 100644 index a07c7d06..00000000 --- a/old_docs/API_docs_v73/constructors/payments_validatedRequestedInfo.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: payments.validatedRequestedInfo -description: Validated user-provided info -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: payments.validatedRequestedInfo -[Back to constructors index](index.md) - - - -Validated user-provided info - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|id|[string](../types/string.md) | Optional|ID| -|shipping\_options|Array of [ShippingOption](../types/ShippingOption.md) | Optional|Shipping options| - - - -### Type: [payments\_ValidatedRequestedInfo](../types/payments_ValidatedRequestedInfo.md) - - -### Example: - -```php -$payments_validatedRequestedInfo = ['_' => 'payments.validatedRequestedInfo', 'id' => 'string', 'shipping_options' => [ShippingOption, ShippingOption]]; -``` - - -Or, if you're into Lua: - -```lua -payments_validatedRequestedInfo={_='payments.validatedRequestedInfo', id='string', shipping_options={ShippingOption}} - -``` - - diff --git a/old_docs/API_docs_v73/constructors/phone.phoneCall.md b/old_docs/API_docs_v73/constructors/phone.phoneCall.md new file mode 100644 index 00000000..8c1d26d4 --- /dev/null +++ b/old_docs/API_docs_v73/constructors/phone.phoneCall.md @@ -0,0 +1,39 @@ +--- +title: phone.phoneCall +description: A VoIP phone call +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: phone.phoneCall +[Back to constructors index](index.md) + + + +A VoIP phone call + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_call|[PhoneCall](../types/PhoneCall.md) | Optional|The VoIP phone call| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [phone.PhoneCall](../types/phone.PhoneCall.md) + + +### Example: + +```php +$phone.phoneCall = ['_' => 'phone.phoneCall', 'phone_call' => PhoneCall, 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +phone.phoneCall={_='phone.phoneCall', phone_call=PhoneCall, users={User}} + +``` + + diff --git a/old_docs/API_docs_v73/constructors/phone_phoneCall.md b/old_docs/API_docs_v73/constructors/phone_phoneCall.md deleted file mode 100644 index 94314567..00000000 --- a/old_docs/API_docs_v73/constructors/phone_phoneCall.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: phone.phoneCall -description: A VoIP phone call -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: phone.phoneCall -[Back to constructors index](index.md) - - - -A VoIP phone call - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_call|[PhoneCall](../types/PhoneCall.md) | Optional|The VoIP phone call| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [phone\_PhoneCall](../types/phone_PhoneCall.md) - - -### Example: - -```php -$phone_phoneCall = ['_' => 'phone.phoneCall', 'phone_call' => PhoneCall, 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -phone_phoneCall={_='phone.phoneCall', phone_call=PhoneCall, users={User}} - -``` - - diff --git a/old_docs/API_docs_v73/constructors/photos.photo.md b/old_docs/API_docs_v73/constructors/photos.photo.md new file mode 100644 index 00000000..43d3efc7 --- /dev/null +++ b/old_docs/API_docs_v73/constructors/photos.photo.md @@ -0,0 +1,39 @@ +--- +title: photos.photo +description: Photo with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: photos.photo +[Back to constructors index](index.md) + + + +Photo with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|photo|[Photo](../types/Photo.md) | Optional|Photo| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [photos.Photo](../types/photos.Photo.md) + + +### Example: + +```php +$photos.photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +photos.photo={_='photos.photo', photo=Photo, users={User}} + +``` + + diff --git a/old_docs/API_docs_v73/constructors/photos.photos.md b/old_docs/API_docs_v73/constructors/photos.photos.md new file mode 100644 index 00000000..901a9693 --- /dev/null +++ b/old_docs/API_docs_v73/constructors/photos.photos.md @@ -0,0 +1,39 @@ +--- +title: photos.photos +description: Full list of photos with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: photos.photos +[Back to constructors index](index.md) + + + +Full list of photos with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [photos.Photos](../types/photos.Photos.md) + + +### Example: + +```php +$photos.photos = ['_' => 'photos.photos', 'photos' => [Photo, Photo], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +photos.photos={_='photos.photos', photos={Photo}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v73/constructors/photos.photosSlice.md b/old_docs/API_docs_v73/constructors/photos.photosSlice.md new file mode 100644 index 00000000..2cca3546 --- /dev/null +++ b/old_docs/API_docs_v73/constructors/photos.photosSlice.md @@ -0,0 +1,40 @@ +--- +title: photos.photosSlice +description: Incomplete list of photos with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: photos.photosSlice +[Back to constructors index](index.md) + + + +Incomplete list of photos with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of photos| +|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [photos.Photos](../types/photos.Photos.md) + + +### Example: + +```php +$photos.photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo, Photo], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +photos.photosSlice={_='photos.photosSlice', count=int, photos={Photo}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v73/constructors/photos_photo.md b/old_docs/API_docs_v73/constructors/photos_photo.md deleted file mode 100644 index d5ad61d9..00000000 --- a/old_docs/API_docs_v73/constructors/photos_photo.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: photos.photo -description: Photo with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: photos.photo -[Back to constructors index](index.md) - - - -Photo with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|photo|[Photo](../types/Photo.md) | Optional|Photo| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [photos\_Photo](../types/photos_Photo.md) - - -### Example: - -```php -$photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -photos_photo={_='photos.photo', photo=Photo, users={User}} - -``` - - diff --git a/old_docs/API_docs_v73/constructors/photos_photos.md b/old_docs/API_docs_v73/constructors/photos_photos.md deleted file mode 100644 index 6ae5d048..00000000 --- a/old_docs/API_docs_v73/constructors/photos_photos.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: photos.photos -description: Full list of photos with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: photos.photos -[Back to constructors index](index.md) - - - -Full list of photos with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [photos\_Photos](../types/photos_Photos.md) - - -### Example: - -```php -$photos_photos = ['_' => 'photos.photos', 'photos' => [Photo, Photo], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -photos_photos={_='photos.photos', photos={Photo}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v73/constructors/photos_photosSlice.md b/old_docs/API_docs_v73/constructors/photos_photosSlice.md deleted file mode 100644 index 5c465c21..00000000 --- a/old_docs/API_docs_v73/constructors/photos_photosSlice.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: photos.photosSlice -description: Incomplete list of photos with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: photos.photosSlice -[Back to constructors index](index.md) - - - -Incomplete list of photos with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of photos| -|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [photos\_Photos](../types/photos_Photos.md) - - -### Example: - -```php -$photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo, Photo], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -photos_photosSlice={_='photos.photosSlice', count=int, photos={Photo}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v73/constructors/storage.fileGif.md b/old_docs/API_docs_v73/constructors/storage.fileGif.md new file mode 100644 index 00000000..8193bd25 --- /dev/null +++ b/old_docs/API_docs_v73/constructors/storage.fileGif.md @@ -0,0 +1,33 @@ +--- +title: storage.fileGif +description: GIF image. MIME type: `image/gif`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileGif +[Back to constructors index](index.md) + + + +GIF image. MIME type: `image/gif`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileGif = ['_' => 'storage.fileGif']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileGif={_='storage.fileGif'} + +``` + + diff --git a/old_docs/API_docs_v73/constructors/storage.fileJpeg.md b/old_docs/API_docs_v73/constructors/storage.fileJpeg.md new file mode 100644 index 00000000..7f125963 --- /dev/null +++ b/old_docs/API_docs_v73/constructors/storage.fileJpeg.md @@ -0,0 +1,33 @@ +--- +title: storage.fileJpeg +description: JPEG image. MIME type: `image/jpeg`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileJpeg +[Back to constructors index](index.md) + + + +JPEG image. MIME type: `image/jpeg`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileJpeg = ['_' => 'storage.fileJpeg']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileJpeg={_='storage.fileJpeg'} + +``` + + diff --git a/old_docs/API_docs_v73/constructors/storage.fileMov.md b/old_docs/API_docs_v73/constructors/storage.fileMov.md new file mode 100644 index 00000000..cb3742e0 --- /dev/null +++ b/old_docs/API_docs_v73/constructors/storage.fileMov.md @@ -0,0 +1,33 @@ +--- +title: storage.fileMov +description: Quicktime video. MIME type: `video/quicktime`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileMov +[Back to constructors index](index.md) + + + +Quicktime video. MIME type: `video/quicktime`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileMov = ['_' => 'storage.fileMov']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileMov={_='storage.fileMov'} + +``` + + diff --git a/old_docs/API_docs_v73/constructors/storage.fileMp3.md b/old_docs/API_docs_v73/constructors/storage.fileMp3.md new file mode 100644 index 00000000..617f2d39 --- /dev/null +++ b/old_docs/API_docs_v73/constructors/storage.fileMp3.md @@ -0,0 +1,33 @@ +--- +title: storage.fileMp3 +description: Mp3 audio. MIME type: `audio/mpeg`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileMp3 +[Back to constructors index](index.md) + + + +Mp3 audio. MIME type: `audio/mpeg`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileMp3 = ['_' => 'storage.fileMp3']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileMp3={_='storage.fileMp3'} + +``` + + diff --git a/old_docs/API_docs_v73/constructors/storage.fileMp4.md b/old_docs/API_docs_v73/constructors/storage.fileMp4.md new file mode 100644 index 00000000..37038176 --- /dev/null +++ b/old_docs/API_docs_v73/constructors/storage.fileMp4.md @@ -0,0 +1,33 @@ +--- +title: storage.fileMp4 +description: MPEG-4 video. MIME type: `video/mp4`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileMp4 +[Back to constructors index](index.md) + + + +MPEG-4 video. MIME type: `video/mp4`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileMp4 = ['_' => 'storage.fileMp4']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileMp4={_='storage.fileMp4'} + +``` + + diff --git a/old_docs/API_docs_v73/constructors/storage.filePartial.md b/old_docs/API_docs_v73/constructors/storage.filePartial.md new file mode 100644 index 00000000..98779e71 --- /dev/null +++ b/old_docs/API_docs_v73/constructors/storage.filePartial.md @@ -0,0 +1,33 @@ +--- +title: storage.filePartial +description: Part of a bigger file. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.filePartial +[Back to constructors index](index.md) + + + +Part of a bigger file. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.filePartial = ['_' => 'storage.filePartial']; +``` + + +Or, if you're into Lua: + +```lua +storage.filePartial={_='storage.filePartial'} + +``` + + diff --git a/old_docs/API_docs_v73/constructors/storage.filePdf.md b/old_docs/API_docs_v73/constructors/storage.filePdf.md new file mode 100644 index 00000000..136c0614 --- /dev/null +++ b/old_docs/API_docs_v73/constructors/storage.filePdf.md @@ -0,0 +1,33 @@ +--- +title: storage.filePdf +description: PDF document image. MIME type: `application/pdf`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.filePdf +[Back to constructors index](index.md) + + + +PDF document image. MIME type: `application/pdf`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.filePdf = ['_' => 'storage.filePdf']; +``` + + +Or, if you're into Lua: + +```lua +storage.filePdf={_='storage.filePdf'} + +``` + + diff --git a/old_docs/API_docs_v73/constructors/storage.filePng.md b/old_docs/API_docs_v73/constructors/storage.filePng.md new file mode 100644 index 00000000..db01ce0e --- /dev/null +++ b/old_docs/API_docs_v73/constructors/storage.filePng.md @@ -0,0 +1,33 @@ +--- +title: storage.filePng +description: PNG image. MIME type: `image/png`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.filePng +[Back to constructors index](index.md) + + + +PNG image. MIME type: `image/png`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.filePng = ['_' => 'storage.filePng']; +``` + + +Or, if you're into Lua: + +```lua +storage.filePng={_='storage.filePng'} + +``` + + diff --git a/old_docs/API_docs_v73/constructors/storage.fileUnknown.md b/old_docs/API_docs_v73/constructors/storage.fileUnknown.md new file mode 100644 index 00000000..26f0a5ae --- /dev/null +++ b/old_docs/API_docs_v73/constructors/storage.fileUnknown.md @@ -0,0 +1,33 @@ +--- +title: storage.fileUnknown +description: Unknown type. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileUnknown +[Back to constructors index](index.md) + + + +Unknown type. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileUnknown = ['_' => 'storage.fileUnknown']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileUnknown={_='storage.fileUnknown'} + +``` + + diff --git a/old_docs/API_docs_v73/constructors/storage.fileWebp.md b/old_docs/API_docs_v73/constructors/storage.fileWebp.md new file mode 100644 index 00000000..63c9ded1 --- /dev/null +++ b/old_docs/API_docs_v73/constructors/storage.fileWebp.md @@ -0,0 +1,33 @@ +--- +title: storage.fileWebp +description: WEBP image. MIME type: `image/webp`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileWebp +[Back to constructors index](index.md) + + + +WEBP image. MIME type: `image/webp`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileWebp = ['_' => 'storage.fileWebp']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileWebp={_='storage.fileWebp'} + +``` + + diff --git a/old_docs/API_docs_v73/constructors/storage_fileGif.md b/old_docs/API_docs_v73/constructors/storage_fileGif.md deleted file mode 100644 index 218c7491..00000000 --- a/old_docs/API_docs_v73/constructors/storage_fileGif.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileGif -description: GIF image. MIME type: `image/gif`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileGif -[Back to constructors index](index.md) - - - -GIF image. MIME type: `image/gif`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileGif = ['_' => 'storage.fileGif']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileGif={_='storage.fileGif'} - -``` - - diff --git a/old_docs/API_docs_v73/constructors/storage_fileJpeg.md b/old_docs/API_docs_v73/constructors/storage_fileJpeg.md deleted file mode 100644 index 925531cd..00000000 --- a/old_docs/API_docs_v73/constructors/storage_fileJpeg.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileJpeg -description: JPEG image. MIME type: `image/jpeg`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileJpeg -[Back to constructors index](index.md) - - - -JPEG image. MIME type: `image/jpeg`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileJpeg = ['_' => 'storage.fileJpeg']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileJpeg={_='storage.fileJpeg'} - -``` - - diff --git a/old_docs/API_docs_v73/constructors/storage_fileMov.md b/old_docs/API_docs_v73/constructors/storage_fileMov.md deleted file mode 100644 index eaf2a6ff..00000000 --- a/old_docs/API_docs_v73/constructors/storage_fileMov.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileMov -description: Quicktime video. MIME type: `video/quicktime`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileMov -[Back to constructors index](index.md) - - - -Quicktime video. MIME type: `video/quicktime`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileMov = ['_' => 'storage.fileMov']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileMov={_='storage.fileMov'} - -``` - - diff --git a/old_docs/API_docs_v73/constructors/storage_fileMp3.md b/old_docs/API_docs_v73/constructors/storage_fileMp3.md deleted file mode 100644 index 9afcefbb..00000000 --- a/old_docs/API_docs_v73/constructors/storage_fileMp3.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileMp3 -description: Mp3 audio. MIME type: `audio/mpeg`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileMp3 -[Back to constructors index](index.md) - - - -Mp3 audio. MIME type: `audio/mpeg`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileMp3 = ['_' => 'storage.fileMp3']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileMp3={_='storage.fileMp3'} - -``` - - diff --git a/old_docs/API_docs_v73/constructors/storage_fileMp4.md b/old_docs/API_docs_v73/constructors/storage_fileMp4.md deleted file mode 100644 index cdc0e783..00000000 --- a/old_docs/API_docs_v73/constructors/storage_fileMp4.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileMp4 -description: MPEG-4 video. MIME type: `video/mp4`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileMp4 -[Back to constructors index](index.md) - - - -MPEG-4 video. MIME type: `video/mp4`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileMp4 = ['_' => 'storage.fileMp4']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileMp4={_='storage.fileMp4'} - -``` - - diff --git a/old_docs/API_docs_v73/constructors/storage_filePartial.md b/old_docs/API_docs_v73/constructors/storage_filePartial.md deleted file mode 100644 index 9bfadf63..00000000 --- a/old_docs/API_docs_v73/constructors/storage_filePartial.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.filePartial -description: Part of a bigger file. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.filePartial -[Back to constructors index](index.md) - - - -Part of a bigger file. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_filePartial = ['_' => 'storage.filePartial']; -``` - - -Or, if you're into Lua: - -```lua -storage_filePartial={_='storage.filePartial'} - -``` - - diff --git a/old_docs/API_docs_v73/constructors/storage_filePdf.md b/old_docs/API_docs_v73/constructors/storage_filePdf.md deleted file mode 100644 index efb022cc..00000000 --- a/old_docs/API_docs_v73/constructors/storage_filePdf.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.filePdf -description: PDF document image. MIME type: `application/pdf`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.filePdf -[Back to constructors index](index.md) - - - -PDF document image. MIME type: `application/pdf`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_filePdf = ['_' => 'storage.filePdf']; -``` - - -Or, if you're into Lua: - -```lua -storage_filePdf={_='storage.filePdf'} - -``` - - diff --git a/old_docs/API_docs_v73/constructors/storage_filePng.md b/old_docs/API_docs_v73/constructors/storage_filePng.md deleted file mode 100644 index 412759e4..00000000 --- a/old_docs/API_docs_v73/constructors/storage_filePng.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.filePng -description: PNG image. MIME type: `image/png`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.filePng -[Back to constructors index](index.md) - - - -PNG image. MIME type: `image/png`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_filePng = ['_' => 'storage.filePng']; -``` - - -Or, if you're into Lua: - -```lua -storage_filePng={_='storage.filePng'} - -``` - - diff --git a/old_docs/API_docs_v73/constructors/storage_fileUnknown.md b/old_docs/API_docs_v73/constructors/storage_fileUnknown.md deleted file mode 100644 index ed33dd5e..00000000 --- a/old_docs/API_docs_v73/constructors/storage_fileUnknown.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileUnknown -description: Unknown type. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileUnknown -[Back to constructors index](index.md) - - - -Unknown type. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileUnknown = ['_' => 'storage.fileUnknown']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileUnknown={_='storage.fileUnknown'} - -``` - - diff --git a/old_docs/API_docs_v73/constructors/storage_fileWebp.md b/old_docs/API_docs_v73/constructors/storage_fileWebp.md deleted file mode 100644 index 04dcad74..00000000 --- a/old_docs/API_docs_v73/constructors/storage_fileWebp.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileWebp -description: WEBP image. MIME type: `image/webp`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileWebp -[Back to constructors index](index.md) - - - -WEBP image. MIME type: `image/webp`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileWebp = ['_' => 'storage.fileWebp']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileWebp={_='storage.fileWebp'} - -``` - - diff --git a/old_docs/API_docs_v73/constructors/updateNewStickerSet.md b/old_docs/API_docs_v73/constructors/updateNewStickerSet.md index 8a99a363..c32c41ff 100644 --- a/old_docs/API_docs_v73/constructors/updateNewStickerSet.md +++ b/old_docs/API_docs_v73/constructors/updateNewStickerSet.md @@ -14,7 +14,7 @@ A new stickerset was installed | Name | Type | Required | Description | |----------|---------------|----------|-------------| -|stickerset|[messages\_StickerSet](../types/messages_StickerSet.md) | Yes|The installed stickerset| +|stickerset|[messages.StickerSet](../constructors/messages.StickerSet.md) | Yes|The installed stickerset| @@ -24,14 +24,14 @@ A new stickerset was installed ### Example: ```php -$updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages_StickerSet]; +$updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages.StickerSet]; ``` Or, if you're into Lua: ```lua -updateNewStickerSet={_='updateNewStickerSet', stickerset=messages_StickerSet} +updateNewStickerSet={_='updateNewStickerSet', stickerset=messages.StickerSet} ``` diff --git a/old_docs/API_docs_v73/constructors/updates.channelDifference.md b/old_docs/API_docs_v73/constructors/updates.channelDifference.md new file mode 100644 index 00000000..5a13791c --- /dev/null +++ b/old_docs/API_docs_v73/constructors/updates.channelDifference.md @@ -0,0 +1,44 @@ +--- +title: updates.channelDifference +description: The new updates +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.channelDifference +[Back to constructors index](index.md) + + + +The new updates + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates to be fetched using getDifference, starting from the provided `pts`| +|pts|[int](../types/int.md) | Yes|The [PTS](https://core.telegram.org/api/updates) from which to start getting updates the next time| +|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| +|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| +|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [updates.ChannelDifference](../types/updates.ChannelDifference.md) + + +### Example: + +```php +$updates.channelDifference = ['_' => 'updates.channelDifference', 'final' => Bool, 'pts' => int, 'timeout' => int, 'new_messages' => [Message, Message], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +updates.channelDifference={_='updates.channelDifference', final=Bool, pts=int, timeout=int, new_messages={Message}, other_updates={Update}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v73/constructors/updates.channelDifferenceEmpty.md b/old_docs/API_docs_v73/constructors/updates.channelDifferenceEmpty.md new file mode 100644 index 00000000..8ce43da4 --- /dev/null +++ b/old_docs/API_docs_v73/constructors/updates.channelDifferenceEmpty.md @@ -0,0 +1,40 @@ +--- +title: updates.channelDifferenceEmpty +description: There are no new updates +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.channelDifferenceEmpty +[Back to constructors index](index.md) + + + +There are no new updates + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates that must be fetched (always false)| +|pts|[int](../types/int.md) | Yes|The latest [PTS](https://core.telegram.org/api/updates)| +|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| + + + +### Type: [updates.ChannelDifference](../types/updates.ChannelDifference.md) + + +### Example: + +```php +$updates.channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'final' => Bool, 'pts' => int, 'timeout' => int]; +``` + + +Or, if you're into Lua: + +```lua +updates.channelDifferenceEmpty={_='updates.channelDifferenceEmpty', final=Bool, pts=int, timeout=int} + +``` + + diff --git a/old_docs/API_docs_v73/constructors/updates.channelDifferenceTooLong.md b/old_docs/API_docs_v73/constructors/updates.channelDifferenceTooLong.md new file mode 100644 index 00000000..9290856d --- /dev/null +++ b/old_docs/API_docs_v73/constructors/updates.channelDifferenceTooLong.md @@ -0,0 +1,58 @@ +--- +title: updates.channelDifferenceTooLong +description: The provided `pts + limit < remote pts`. Simply, there are too many updates to be fetched (more than `limit`), the client has to resolve the update gap in one of the following ways: + +1. Delete all known messages in the chat, begin from scratch by refetching all messages manually with [getHistory](../methods/messages.getHistory.md). It is easy to implement, but suddenly disappearing messages looks awful for the user. +2. Save all messages loaded in the memory until application restart, but delete all messages from database. Messages left in the memory must be lazily updated using calls to [getHistory](../methods/messages.getHistory.md). It looks much smoothly for the user, he will need to redownload messages only after client restart. Unsynchronized messages left in the memory shouldn't be saved to database, results of [getHistory](../methods/messages.getHistory.md) and [getMessages](../methods/messages.getMessages.md) must be used to update state of deleted and edited messages left in the memory. +3. Save all messages loaded in the memory and stored in the database without saving that some messages form continuous ranges. Messages in the database will be excluded from results of getChatHistory and searchChatMessages after application restart and will be available only through getMessage. Every message should still be checked using getHistory. It has more disadvantages over 2) than advantages. +4. Save all messages with saving all data about continuous message ranges. Messages from the database may be used as results of getChatHistory and (if implemented continuous ranges support for searching shared media) searchChatMessages. The messages should still be lazily checked using getHistory, but they are still available offline. It is the best way for gaps support, but it is pretty hard to implement correctly. It should be also noted that some messages like live location messages shouldn't be deleted. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.channelDifferenceTooLong +[Back to constructors index](index.md) + + + +The provided `pts + limit < remote pts`. Simply, there are too many updates to be fetched (more than `limit`), the client has to resolve the update gap in one of the following ways: + +1. Delete all known messages in the chat, begin from scratch by refetching all messages manually with [getHistory](../methods/messages.getHistory.md). It is easy to implement, but suddenly disappearing messages looks awful for the user. +2. Save all messages loaded in the memory until application restart, but delete all messages from database. Messages left in the memory must be lazily updated using calls to [getHistory](../methods/messages.getHistory.md). It looks much smoothly for the user, he will need to redownload messages only after client restart. Unsynchronized messages left in the memory shouldn't be saved to database, results of [getHistory](../methods/messages.getHistory.md) and [getMessages](../methods/messages.getMessages.md) must be used to update state of deleted and edited messages left in the memory. +3. Save all messages loaded in the memory and stored in the database without saving that some messages form continuous ranges. Messages in the database will be excluded from results of getChatHistory and searchChatMessages after application restart and will be available only through getMessage. Every message should still be checked using getHistory. It has more disadvantages over 2) than advantages. +4. Save all messages with saving all data about continuous message ranges. Messages from the database may be used as results of getChatHistory and (if implemented continuous ranges support for searching shared media) searchChatMessages. The messages should still be lazily checked using getHistory, but they are still available offline. It is the best way for gaps support, but it is pretty hard to implement correctly. It should be also noted that some messages like live location messages shouldn't be deleted. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates that must be fetched (always false)| +|pts|[int](../types/int.md) | Yes|Pts| +|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| +|top\_message|[int](../types/int.md) | Yes|Top message| +|read\_inbox\_max\_id|[int](../types/int.md) | Yes|Read inbox max ID| +|read\_outbox\_max\_id|[int](../types/int.md) | Yes|Read outbox max ID| +|unread\_count|[int](../types/int.md) | Yes|Unread count| +|unread\_mentions\_count|[int](../types/int.md) | Yes|Unread mentions count| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [updates.ChannelDifference](../types/updates.ChannelDifference.md) + + +### Example: + +```php +$updates.channelDifferenceTooLong = ['_' => 'updates.channelDifferenceTooLong', 'final' => Bool, 'pts' => int, 'timeout' => int, 'top_message' => int, 'read_inbox_max_id' => int, 'read_outbox_max_id' => int, 'unread_count' => int, 'unread_mentions_count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +updates.channelDifferenceTooLong={_='updates.channelDifferenceTooLong', final=Bool, pts=int, timeout=int, top_message=int, read_inbox_max_id=int, read_outbox_max_id=int, unread_count=int, unread_mentions_count=int, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v73/constructors/updates.difference.md b/old_docs/API_docs_v73/constructors/updates.difference.md new file mode 100644 index 00000000..82541b51 --- /dev/null +++ b/old_docs/API_docs_v73/constructors/updates.difference.md @@ -0,0 +1,43 @@ +--- +title: updates.difference +description: Full list of occurred events. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.difference +[Back to constructors index](index.md) + + + +Full list of occurred events. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| +|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| +|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| +|state|[updates.State](../constructors/updates.State.md) | Yes|Current state| + + + +### Type: [updates.Difference](../types/updates.Difference.md) + + +### Example: + +```php +$updates.difference = ['_' => 'updates.difference', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates.State]; +``` + + +Or, if you're into Lua: + +```lua +updates.difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates.State} + +``` + + diff --git a/old_docs/API_docs_v73/constructors/updates.differenceEmpty.md b/old_docs/API_docs_v73/constructors/updates.differenceEmpty.md new file mode 100644 index 00000000..a9dc3bd0 --- /dev/null +++ b/old_docs/API_docs_v73/constructors/updates.differenceEmpty.md @@ -0,0 +1,39 @@ +--- +title: updates.differenceEmpty +description: No events. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.differenceEmpty +[Back to constructors index](index.md) + + + +No events. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Current date| +|seq|[int](../types/int.md) | Yes|Number of sent updates| + + + +### Type: [updates.Difference](../types/updates.Difference.md) + + +### Example: + +```php +$updates.differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int]; +``` + + +Or, if you're into Lua: + +```lua +updates.differenceEmpty={_='updates.differenceEmpty', date=int, seq=int} + +``` + + diff --git a/old_docs/API_docs_v73/constructors/updates.differenceSlice.md b/old_docs/API_docs_v73/constructors/updates.differenceSlice.md new file mode 100644 index 00000000..9daf7a75 --- /dev/null +++ b/old_docs/API_docs_v73/constructors/updates.differenceSlice.md @@ -0,0 +1,43 @@ +--- +title: updates.differenceSlice +description: Incomplete list of occurred events. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.differenceSlice +[Back to constructors index](index.md) + + + +Incomplete list of occurred events. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| +|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| +|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| +|intermediate\_state|[updates.State](../constructors/updates.State.md) | Yes|Intermediary state| + + + +### Type: [updates.Difference](../types/updates.Difference.md) + + +### Example: + +```php +$updates.differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'intermediate_state' => updates.State]; +``` + + +Or, if you're into Lua: + +```lua +updates.differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates.State} + +``` + + diff --git a/old_docs/API_docs_v73/constructors/updates.differenceTooLong.md b/old_docs/API_docs_v73/constructors/updates.differenceTooLong.md new file mode 100644 index 00000000..ef2e7e4d --- /dev/null +++ b/old_docs/API_docs_v73/constructors/updates.differenceTooLong.md @@ -0,0 +1,38 @@ +--- +title: updates.differenceTooLong +description: The difference is [too long](https://core.telegram.org/api/updates#recovering-gaps), and the specified state must be used to refetch updates. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.differenceTooLong +[Back to constructors index](index.md) + + + +The difference is [too long](https://core.telegram.org/api/updates#recovering-gaps), and the specified state must be used to refetch updates. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|The new state to use.| + + + +### Type: [updates.Difference](../types/updates.Difference.md) + + +### Example: + +```php +$updates.differenceTooLong = ['_' => 'updates.differenceTooLong', 'pts' => int]; +``` + + +Or, if you're into Lua: + +```lua +updates.differenceTooLong={_='updates.differenceTooLong', pts=int} + +``` + + diff --git a/old_docs/API_docs_v73/constructors/updates.state.md b/old_docs/API_docs_v73/constructors/updates.state.md new file mode 100644 index 00000000..abe9ddbb --- /dev/null +++ b/old_docs/API_docs_v73/constructors/updates.state.md @@ -0,0 +1,42 @@ +--- +title: updates.state +description: Updates state. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.state +[Back to constructors index](index.md) + + + +Updates state. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| +|qts|[int](../types/int.md) | Yes|Position in a sequence of updates in secret chats. For further detailes refer to article [secret chats](https://core.telegram.org/api/end-to-end)
Parameter was added in [eigth layer](https://core.telegram.org/api/layers#layer-8).| +|date|[int](../types/int.md) | Yes|Date of condition| +|seq|[int](../types/int.md) | Yes|Number of sent updates| +|unread\_count|[int](../types/int.md) | Yes|Number of unread messages| + + + +### Type: [updates.State](../types/updates.State.md) + + +### Example: + +```php +$updates.state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int]; +``` + + +Or, if you're into Lua: + +```lua +updates.state={_='updates.state', pts=int, qts=int, date=int, seq=int, unread_count=int} + +``` + + diff --git a/old_docs/API_docs_v73/constructors/updates_channelDifference.md b/old_docs/API_docs_v73/constructors/updates_channelDifference.md deleted file mode 100644 index 1b50fbf3..00000000 --- a/old_docs/API_docs_v73/constructors/updates_channelDifference.md +++ /dev/null @@ -1,44 +0,0 @@ ---- -title: updates.channelDifference -description: The new updates -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.channelDifference -[Back to constructors index](index.md) - - - -The new updates - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates to be fetched using getDifference, starting from the provided `pts`| -|pts|[int](../types/int.md) | Yes|The [PTS](https://core.telegram.org/api/updates) from which to start getting updates the next time| -|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| -|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| -|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) - - -### Example: - -```php -$updates_channelDifference = ['_' => 'updates.channelDifference', 'final' => Bool, 'pts' => int, 'timeout' => int, 'new_messages' => [Message, Message], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -updates_channelDifference={_='updates.channelDifference', final=Bool, pts=int, timeout=int, new_messages={Message}, other_updates={Update}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v73/constructors/updates_channelDifferenceEmpty.md b/old_docs/API_docs_v73/constructors/updates_channelDifferenceEmpty.md deleted file mode 100644 index 713137aa..00000000 --- a/old_docs/API_docs_v73/constructors/updates_channelDifferenceEmpty.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: updates.channelDifferenceEmpty -description: There are no new updates -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.channelDifferenceEmpty -[Back to constructors index](index.md) - - - -There are no new updates - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates that must be fetched (always false)| -|pts|[int](../types/int.md) | Yes|The latest [PTS](https://core.telegram.org/api/updates)| -|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| - - - -### Type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) - - -### Example: - -```php -$updates_channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'final' => Bool, 'pts' => int, 'timeout' => int]; -``` - - -Or, if you're into Lua: - -```lua -updates_channelDifferenceEmpty={_='updates.channelDifferenceEmpty', final=Bool, pts=int, timeout=int} - -``` - - diff --git a/old_docs/API_docs_v73/constructors/updates_channelDifferenceTooLong.md b/old_docs/API_docs_v73/constructors/updates_channelDifferenceTooLong.md deleted file mode 100644 index fd7a5060..00000000 --- a/old_docs/API_docs_v73/constructors/updates_channelDifferenceTooLong.md +++ /dev/null @@ -1,58 +0,0 @@ ---- -title: updates.channelDifferenceTooLong -description: The provided `pts + limit < remote pts`. Simply, there are too many updates to be fetched (more than `limit`), the client has to resolve the update gap in one of the following ways: - -1. Delete all known messages in the chat, begin from scratch by refetching all messages manually with [getHistory](../methods/messages.getHistory.md). It is easy to implement, but suddenly disappearing messages looks awful for the user. -2. Save all messages loaded in the memory until application restart, but delete all messages from database. Messages left in the memory must be lazily updated using calls to [getHistory](../methods/messages.getHistory.md). It looks much smoothly for the user, he will need to redownload messages only after client restart. Unsynchronized messages left in the memory shouldn't be saved to database, results of [getHistory](../methods/messages.getHistory.md) and [getMessages](../methods/messages.getMessages.md) must be used to update state of deleted and edited messages left in the memory. -3. Save all messages loaded in the memory and stored in the database without saving that some messages form continuous ranges. Messages in the database will be excluded from results of getChatHistory and searchChatMessages after application restart and will be available only through getMessage. Every message should still be checked using getHistory. It has more disadvantages over 2) than advantages. -4. Save all messages with saving all data about continuous message ranges. Messages from the database may be used as results of getChatHistory and (if implemented continuous ranges support for searching shared media) searchChatMessages. The messages should still be lazily checked using getHistory, but they are still available offline. It is the best way for gaps support, but it is pretty hard to implement correctly. It should be also noted that some messages like live location messages shouldn't be deleted. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.channelDifferenceTooLong -[Back to constructors index](index.md) - - - -The provided `pts + limit < remote pts`. Simply, there are too many updates to be fetched (more than `limit`), the client has to resolve the update gap in one of the following ways: - -1. Delete all known messages in the chat, begin from scratch by refetching all messages manually with [getHistory](../methods/messages.getHistory.md). It is easy to implement, but suddenly disappearing messages looks awful for the user. -2. Save all messages loaded in the memory until application restart, but delete all messages from database. Messages left in the memory must be lazily updated using calls to [getHistory](../methods/messages.getHistory.md). It looks much smoothly for the user, he will need to redownload messages only after client restart. Unsynchronized messages left in the memory shouldn't be saved to database, results of [getHistory](../methods/messages.getHistory.md) and [getMessages](../methods/messages.getMessages.md) must be used to update state of deleted and edited messages left in the memory. -3. Save all messages loaded in the memory and stored in the database without saving that some messages form continuous ranges. Messages in the database will be excluded from results of getChatHistory and searchChatMessages after application restart and will be available only through getMessage. Every message should still be checked using getHistory. It has more disadvantages over 2) than advantages. -4. Save all messages with saving all data about continuous message ranges. Messages from the database may be used as results of getChatHistory and (if implemented continuous ranges support for searching shared media) searchChatMessages. The messages should still be lazily checked using getHistory, but they are still available offline. It is the best way for gaps support, but it is pretty hard to implement correctly. It should be also noted that some messages like live location messages shouldn't be deleted. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates that must be fetched (always false)| -|pts|[int](../types/int.md) | Yes|Pts| -|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| -|top\_message|[int](../types/int.md) | Yes|Top message| -|read\_inbox\_max\_id|[int](../types/int.md) | Yes|Read inbox max ID| -|read\_outbox\_max\_id|[int](../types/int.md) | Yes|Read outbox max ID| -|unread\_count|[int](../types/int.md) | Yes|Unread count| -|unread\_mentions\_count|[int](../types/int.md) | Yes|Unread mentions count| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) - - -### Example: - -```php -$updates_channelDifferenceTooLong = ['_' => 'updates.channelDifferenceTooLong', 'final' => Bool, 'pts' => int, 'timeout' => int, 'top_message' => int, 'read_inbox_max_id' => int, 'read_outbox_max_id' => int, 'unread_count' => int, 'unread_mentions_count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -updates_channelDifferenceTooLong={_='updates.channelDifferenceTooLong', final=Bool, pts=int, timeout=int, top_message=int, read_inbox_max_id=int, read_outbox_max_id=int, unread_count=int, unread_mentions_count=int, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v73/constructors/updates_difference.md b/old_docs/API_docs_v73/constructors/updates_difference.md deleted file mode 100644 index 71ac7d4c..00000000 --- a/old_docs/API_docs_v73/constructors/updates_difference.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: updates.difference -description: Full list of occurred events. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.difference -[Back to constructors index](index.md) - - - -Full list of occurred events. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| -|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| -|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| -|state|[updates\_State](../types/updates_State.md) | Yes|Current state| - - - -### Type: [updates\_Difference](../types/updates_Difference.md) - - -### Example: - -```php -$updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates_State]; -``` - - -Or, if you're into Lua: - -```lua -updates_difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates_State} - -``` - - diff --git a/old_docs/API_docs_v73/constructors/updates_differenceEmpty.md b/old_docs/API_docs_v73/constructors/updates_differenceEmpty.md deleted file mode 100644 index c3c95c5a..00000000 --- a/old_docs/API_docs_v73/constructors/updates_differenceEmpty.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: updates.differenceEmpty -description: No events. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.differenceEmpty -[Back to constructors index](index.md) - - - -No events. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Current date| -|seq|[int](../types/int.md) | Yes|Number of sent updates| - - - -### Type: [updates\_Difference](../types/updates_Difference.md) - - -### Example: - -```php -$updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int]; -``` - - -Or, if you're into Lua: - -```lua -updates_differenceEmpty={_='updates.differenceEmpty', date=int, seq=int} - -``` - - diff --git a/old_docs/API_docs_v73/constructors/updates_differenceSlice.md b/old_docs/API_docs_v73/constructors/updates_differenceSlice.md deleted file mode 100644 index 8b12a369..00000000 --- a/old_docs/API_docs_v73/constructors/updates_differenceSlice.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: updates.differenceSlice -description: Incomplete list of occurred events. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.differenceSlice -[Back to constructors index](index.md) - - - -Incomplete list of occurred events. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| -|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| -|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| -|intermediate\_state|[updates\_State](../types/updates_State.md) | Yes|Intermediary state| - - - -### Type: [updates\_Difference](../types/updates_Difference.md) - - -### Example: - -```php -$updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'intermediate_state' => updates_State]; -``` - - -Or, if you're into Lua: - -```lua -updates_differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates_State} - -``` - - diff --git a/old_docs/API_docs_v73/constructors/updates_differenceTooLong.md b/old_docs/API_docs_v73/constructors/updates_differenceTooLong.md deleted file mode 100644 index 1fbdfa01..00000000 --- a/old_docs/API_docs_v73/constructors/updates_differenceTooLong.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: updates.differenceTooLong -description: The difference is [too long](https://core.telegram.org/api/updates#recovering-gaps), and the specified state must be used to refetch updates. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.differenceTooLong -[Back to constructors index](index.md) - - - -The difference is [too long](https://core.telegram.org/api/updates#recovering-gaps), and the specified state must be used to refetch updates. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|The new state to use.| - - - -### Type: [updates\_Difference](../types/updates_Difference.md) - - -### Example: - -```php -$updates_differenceTooLong = ['_' => 'updates.differenceTooLong', 'pts' => int]; -``` - - -Or, if you're into Lua: - -```lua -updates_differenceTooLong={_='updates.differenceTooLong', pts=int} - -``` - - diff --git a/old_docs/API_docs_v73/constructors/updates_state.md b/old_docs/API_docs_v73/constructors/updates_state.md deleted file mode 100644 index ef3698e2..00000000 --- a/old_docs/API_docs_v73/constructors/updates_state.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: updates.state -description: Updates state. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.state -[Back to constructors index](index.md) - - - -Updates state. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| -|qts|[int](../types/int.md) | Yes|Position in a sequence of updates in secret chats. For further detailes refer to article [secret chats](https://core.telegram.org/api/end-to-end)
Parameter was added in [eigth layer](https://core.telegram.org/api/layers#layer-8).| -|date|[int](../types/int.md) | Yes|Date of condition| -|seq|[int](../types/int.md) | Yes|Number of sent updates| -|unread\_count|[int](../types/int.md) | Yes|Number of unread messages| - - - -### Type: [updates\_State](../types/updates_State.md) - - -### Example: - -```php -$updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int]; -``` - - -Or, if you're into Lua: - -```lua -updates_state={_='updates.state', pts=int, qts=int, date=int, seq=int, unread_count=int} - -``` - - diff --git a/old_docs/API_docs_v73/constructors/upload.cdnFile.md b/old_docs/API_docs_v73/constructors/upload.cdnFile.md new file mode 100644 index 00000000..d6d75513 --- /dev/null +++ b/old_docs/API_docs_v73/constructors/upload.cdnFile.md @@ -0,0 +1,38 @@ +--- +title: upload.cdnFile +description: Represent a chunk of a [CDN](https://core.telegram.org/cdn) file. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: upload.cdnFile +[Back to constructors index](index.md) + + + +Represent a chunk of a [CDN](https://core.telegram.org/cdn) file. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|bytes|[bytes](../types/bytes.md) | Yes|The data| + + + +### Type: [upload.CdnFile](../types/upload.CdnFile.md) + + +### Example: + +```php +$upload.cdnFile = ['_' => 'upload.cdnFile', 'bytes' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +upload.cdnFile={_='upload.cdnFile', bytes='bytes'} + +``` + + diff --git a/old_docs/API_docs_v73/constructors/upload.cdnFileReuploadNeeded.md b/old_docs/API_docs_v73/constructors/upload.cdnFileReuploadNeeded.md new file mode 100644 index 00000000..7c461a87 --- /dev/null +++ b/old_docs/API_docs_v73/constructors/upload.cdnFileReuploadNeeded.md @@ -0,0 +1,38 @@ +--- +title: upload.cdnFileReuploadNeeded +description: The file was cleared from the temporary RAM cache of the [CDN](https://core.telegram.org/cdn) and has to be reuploaded. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: upload.cdnFileReuploadNeeded +[Back to constructors index](index.md) + + + +The file was cleared from the temporary RAM cache of the [CDN](https://core.telegram.org/cdn) and has to be reuploaded. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|request\_token|[bytes](../types/bytes.md) | Yes|Request token (see [CDN](https://core.telegram.org/cdn))| + + + +### Type: [upload.CdnFile](../types/upload.CdnFile.md) + + +### Example: + +```php +$upload.cdnFileReuploadNeeded = ['_' => 'upload.cdnFileReuploadNeeded', 'request_token' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +upload.cdnFileReuploadNeeded={_='upload.cdnFileReuploadNeeded', request_token='bytes'} + +``` + + diff --git a/old_docs/API_docs_v73/constructors/upload.file.md b/old_docs/API_docs_v73/constructors/upload.file.md new file mode 100644 index 00000000..145a4c24 --- /dev/null +++ b/old_docs/API_docs_v73/constructors/upload.file.md @@ -0,0 +1,40 @@ +--- +title: upload.file +description: File content. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: upload.file +[Back to constructors index](index.md) + + + +File content. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|type|[storage.FileType](../constructors/storage.FileType.md) | Yes|File type| +|mtime|[int](../types/int.md) | Yes|Modification type| +|bytes|[bytes](../types/bytes.md) | Yes|Binary data, file content| + + + +### Type: [upload.File](../types/upload.File.md) + + +### Example: + +```php +$upload.file = ['_' => 'upload.file', 'type' => storage.FileType, 'mtime' => int, 'bytes' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +upload.file={_='upload.file', type=storage.FileType, mtime=int, bytes='bytes'} + +``` + + diff --git a/old_docs/API_docs_v73/constructors/upload.fileCdnRedirect.md b/old_docs/API_docs_v73/constructors/upload.fileCdnRedirect.md new file mode 100644 index 00000000..294ccbcc --- /dev/null +++ b/old_docs/API_docs_v73/constructors/upload.fileCdnRedirect.md @@ -0,0 +1,42 @@ +--- +title: upload.fileCdnRedirect +description: The file must be downloaded from a [CDN DC](https://core.telegram.org/cdn). +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: upload.fileCdnRedirect +[Back to constructors index](index.md) + + + +The file must be downloaded from a [CDN DC](https://core.telegram.org/cdn). + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|dc\_id|[int](../types/int.md) | Yes|[CDN DC](https://core.telegram.org/cdn) ID| +|file\_token|[bytes](../types/bytes.md) | Yes|File token (see [CDN files](https://core.telegram.org/cdn)| +|encryption\_key|[bytes](../types/bytes.md) | Yes|Encryption key (see [CDN files](https://core.telegram.org/cdn)| +|encryption\_iv|[bytes](../types/bytes.md) | Yes|Encryption IV (see [CDN files](https://core.telegram.org/cdn)| +|cdn\_file\_hashes|Array of [CdnFileHash](../types/CdnFileHash.md) | Yes|Cdn file hashes| + + + +### Type: [upload.File](../types/upload.File.md) + + +### Example: + +```php +$upload.fileCdnRedirect = ['_' => 'upload.fileCdnRedirect', 'dc_id' => int, 'file_token' => 'bytes', 'encryption_key' => 'bytes', 'encryption_iv' => 'bytes', 'cdn_file_hashes' => [CdnFileHash, CdnFileHash]]; +``` + + +Or, if you're into Lua: + +```lua +upload.fileCdnRedirect={_='upload.fileCdnRedirect', dc_id=int, file_token='bytes', encryption_key='bytes', encryption_iv='bytes', cdn_file_hashes={CdnFileHash}} + +``` + + diff --git a/old_docs/API_docs_v73/constructors/upload.webFile.md b/old_docs/API_docs_v73/constructors/upload.webFile.md new file mode 100644 index 00000000..a93ea94f --- /dev/null +++ b/old_docs/API_docs_v73/constructors/upload.webFile.md @@ -0,0 +1,42 @@ +--- +title: upload.webFile +description: Represents a chunk of an [HTTP webfile](https://core.telegram.org/api/files) downloaded through telegram's secure MTProto servers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: upload.webFile +[Back to constructors index](index.md) + + + +Represents a chunk of an [HTTP webfile](https://core.telegram.org/api/files) downloaded through telegram's secure MTProto servers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|size|[int](../types/int.md) | Yes|File size| +|mime\_type|[string](../types/string.md) | Yes|Mime type| +|file\_type|[storage.FileType](../constructors/storage.FileType.md) | Yes|File type| +|mtime|[int](../types/int.md) | Yes|Modified time| +|bytes|[bytes](../types/bytes.md) | Yes|Data| + + + +### Type: [upload.WebFile](../types/upload.WebFile.md) + + +### Example: + +```php +$upload.webFile = ['_' => 'upload.webFile', 'size' => int, 'mime_type' => 'string', 'file_type' => storage.FileType, 'mtime' => int, 'bytes' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +upload.webFile={_='upload.webFile', size=int, mime_type='string', file_type=storage.FileType, mtime=int, bytes='bytes'} + +``` + + diff --git a/old_docs/API_docs_v73/constructors/upload_cdnFile.md b/old_docs/API_docs_v73/constructors/upload_cdnFile.md deleted file mode 100644 index 019b8742..00000000 --- a/old_docs/API_docs_v73/constructors/upload_cdnFile.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: upload.cdnFile -description: Represent a chunk of a [CDN](https://core.telegram.org/cdn) file. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: upload.cdnFile -[Back to constructors index](index.md) - - - -Represent a chunk of a [CDN](https://core.telegram.org/cdn) file. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|bytes|[bytes](../types/bytes.md) | Yes|The data| - - - -### Type: [upload\_CdnFile](../types/upload_CdnFile.md) - - -### Example: - -```php -$upload_cdnFile = ['_' => 'upload.cdnFile', 'bytes' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -upload_cdnFile={_='upload.cdnFile', bytes='bytes'} - -``` - - diff --git a/old_docs/API_docs_v73/constructors/upload_cdnFileReuploadNeeded.md b/old_docs/API_docs_v73/constructors/upload_cdnFileReuploadNeeded.md deleted file mode 100644 index 6588a596..00000000 --- a/old_docs/API_docs_v73/constructors/upload_cdnFileReuploadNeeded.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: upload.cdnFileReuploadNeeded -description: The file was cleared from the temporary RAM cache of the [CDN](https://core.telegram.org/cdn) and has to be reuploaded. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: upload.cdnFileReuploadNeeded -[Back to constructors index](index.md) - - - -The file was cleared from the temporary RAM cache of the [CDN](https://core.telegram.org/cdn) and has to be reuploaded. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|request\_token|[bytes](../types/bytes.md) | Yes|Request token (see [CDN](https://core.telegram.org/cdn))| - - - -### Type: [upload\_CdnFile](../types/upload_CdnFile.md) - - -### Example: - -```php -$upload_cdnFileReuploadNeeded = ['_' => 'upload.cdnFileReuploadNeeded', 'request_token' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -upload_cdnFileReuploadNeeded={_='upload.cdnFileReuploadNeeded', request_token='bytes'} - -``` - - diff --git a/old_docs/API_docs_v73/constructors/upload_file.md b/old_docs/API_docs_v73/constructors/upload_file.md deleted file mode 100644 index 1e07d9fb..00000000 --- a/old_docs/API_docs_v73/constructors/upload_file.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: upload.file -description: File content. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: upload.file -[Back to constructors index](index.md) - - - -File content. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|type|[storage\_FileType](../types/storage_FileType.md) | Yes|File type| -|mtime|[int](../types/int.md) | Yes|Modification type| -|bytes|[bytes](../types/bytes.md) | Yes|Binary data, file content| - - - -### Type: [upload\_File](../types/upload_File.md) - - -### Example: - -```php -$upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int, 'bytes' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -upload_file={_='upload.file', type=storage_FileType, mtime=int, bytes='bytes'} - -``` - - diff --git a/old_docs/API_docs_v73/constructors/upload_fileCdnRedirect.md b/old_docs/API_docs_v73/constructors/upload_fileCdnRedirect.md deleted file mode 100644 index 65abab3a..00000000 --- a/old_docs/API_docs_v73/constructors/upload_fileCdnRedirect.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: upload.fileCdnRedirect -description: The file must be downloaded from a [CDN DC](https://core.telegram.org/cdn). -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: upload.fileCdnRedirect -[Back to constructors index](index.md) - - - -The file must be downloaded from a [CDN DC](https://core.telegram.org/cdn). - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|dc\_id|[int](../types/int.md) | Yes|[CDN DC](https://core.telegram.org/cdn) ID| -|file\_token|[bytes](../types/bytes.md) | Yes|File token (see [CDN files](https://core.telegram.org/cdn)| -|encryption\_key|[bytes](../types/bytes.md) | Yes|Encryption key (see [CDN files](https://core.telegram.org/cdn)| -|encryption\_iv|[bytes](../types/bytes.md) | Yes|Encryption IV (see [CDN files](https://core.telegram.org/cdn)| -|cdn\_file\_hashes|Array of [CdnFileHash](../types/CdnFileHash.md) | Yes|Cdn file hashes| - - - -### Type: [upload\_File](../types/upload_File.md) - - -### Example: - -```php -$upload_fileCdnRedirect = ['_' => 'upload.fileCdnRedirect', 'dc_id' => int, 'file_token' => 'bytes', 'encryption_key' => 'bytes', 'encryption_iv' => 'bytes', 'cdn_file_hashes' => [CdnFileHash, CdnFileHash]]; -``` - - -Or, if you're into Lua: - -```lua -upload_fileCdnRedirect={_='upload.fileCdnRedirect', dc_id=int, file_token='bytes', encryption_key='bytes', encryption_iv='bytes', cdn_file_hashes={CdnFileHash}} - -``` - - diff --git a/old_docs/API_docs_v73/constructors/upload_webFile.md b/old_docs/API_docs_v73/constructors/upload_webFile.md deleted file mode 100644 index ee8053b1..00000000 --- a/old_docs/API_docs_v73/constructors/upload_webFile.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: upload.webFile -description: Represents a chunk of an [HTTP webfile](https://core.telegram.org/api/files) downloaded through telegram's secure MTProto servers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: upload.webFile -[Back to constructors index](index.md) - - - -Represents a chunk of an [HTTP webfile](https://core.telegram.org/api/files) downloaded through telegram's secure MTProto servers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|size|[int](../types/int.md) | Yes|File size| -|mime\_type|[string](../types/string.md) | Yes|Mime type| -|file\_type|[storage\_FileType](../types/storage_FileType.md) | Yes|File type| -|mtime|[int](../types/int.md) | Yes|Modified time| -|bytes|[bytes](../types/bytes.md) | Yes|Data| - - - -### Type: [upload\_WebFile](../types/upload_WebFile.md) - - -### Example: - -```php -$upload_webFile = ['_' => 'upload.webFile', 'size' => int, 'mime_type' => 'string', 'file_type' => storage_FileType, 'mtime' => int, 'bytes' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -upload_webFile={_='upload.webFile', size=int, mime_type='string', file_type=storage_FileType, mtime=int, bytes='bytes'} - -``` - - diff --git a/old_docs/API_docs_v73/constructors/userFull.md b/old_docs/API_docs_v73/constructors/userFull.md index 31af6535..e44e0673 100644 --- a/old_docs/API_docs_v73/constructors/userFull.md +++ b/old_docs/API_docs_v73/constructors/userFull.md @@ -19,7 +19,7 @@ Extended user info |phone\_calls\_private|[Bool](../types/Bool.md) | Optional|Whether this user's privacy settings allow you to call him| |user|[User](../types/User.md) | Optional|Remaining user info| |about|[string](../types/string.md) | Optional|Bio of the user| -|link|[contacts\_Link](../types/contacts_Link.md) | Yes|Link| +|link|[contacts.Link](../constructors/contacts.Link.md) | Yes|Link| |profile\_photo|[Photo](../types/Photo.md) | Optional|Profile photo| |notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Optional|Notification settings| |bot\_info|[BotInfo](../types/BotInfo.md) | Optional|For bots, info about the bot (bot commands, etc)| @@ -33,14 +33,14 @@ Extended user info ### Example: ```php -$userFull = ['_' => 'userFull', 'blocked' => Bool, 'phone_calls_available' => Bool, 'phone_calls_private' => Bool, 'user' => User, 'about' => 'string', 'link' => contacts_Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'bot_info' => BotInfo, 'common_chats_count' => int]; +$userFull = ['_' => 'userFull', 'blocked' => Bool, 'phone_calls_available' => Bool, 'phone_calls_private' => Bool, 'user' => User, 'about' => 'string', 'link' => contacts.Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'bot_info' => BotInfo, 'common_chats_count' => int]; ``` Or, if you're into Lua: ```lua -userFull={_='userFull', blocked=Bool, phone_calls_available=Bool, phone_calls_private=Bool, user=User, about='string', link=contacts_Link, profile_photo=Photo, notify_settings=PeerNotifySettings, bot_info=BotInfo, common_chats_count=int} +userFull={_='userFull', blocked=Bool, phone_calls_available=Bool, phone_calls_private=Bool, user=User, about='string', link=contacts.Link, profile_photo=Photo, notify_settings=PeerNotifySettings, bot_info=BotInfo, common_chats_count=int} ``` diff --git a/old_docs/API_docs_v73/methods/account.getAuthorizations.md b/old_docs/API_docs_v73/methods/account.getAuthorizations.md index f69c130a..fad3a7ae 100644 --- a/old_docs/API_docs_v73/methods/account.getAuthorizations.md +++ b/old_docs/API_docs_v73/methods/account.getAuthorizations.md @@ -11,7 +11,7 @@ Get logged-in sessions -### Return type: [account\_Authorizations](../types/account_Authorizations.md) +### Return type: [account.Authorizations](../types/account.Authorizations.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_Authorizations = $MadelineProto->account->getAuthorizations(); +$account.Authorizations = $MadelineProto->account->getAuthorizations(); ``` Or, if you're into Lua: ```lua -account_Authorizations = account.getAuthorizations({}) +account.Authorizations = account.getAuthorizations({}) ``` diff --git a/old_docs/API_docs_v73/methods/account.getPassword.md b/old_docs/API_docs_v73/methods/account.getPassword.md index eed4aee3..621271b6 100644 --- a/old_docs/API_docs_v73/methods/account.getPassword.md +++ b/old_docs/API_docs_v73/methods/account.getPassword.md @@ -11,7 +11,7 @@ Obtain configuration for two-factor authorization with password -### Return type: [account\_Password](../types/account_Password.md) +### Return type: [account.Password](../types/account.Password.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_Password = $MadelineProto->account->getPassword(); +$account.Password = $MadelineProto->account->getPassword(); ``` Or, if you're into Lua: ```lua -account_Password = account.getPassword({}) +account.Password = account.getPassword({}) ``` diff --git a/old_docs/API_docs_v73/methods/account.getPasswordSettings.md b/old_docs/API_docs_v73/methods/account.getPasswordSettings.md index dcdae61a..3d3cce08 100644 --- a/old_docs/API_docs_v73/methods/account.getPasswordSettings.md +++ b/old_docs/API_docs_v73/methods/account.getPasswordSettings.md @@ -16,7 +16,7 @@ You cannot use this method directly; use $MadelineProto->update_2fa($params), in |current\_password\_hash|[bytes](../types/bytes.md) | You cannot use this method directly; use $MadelineProto->update_2fa($params), instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [account\_PasswordSettings](../types/account_PasswordSettings.md) +### Return type: [account.PasswordSettings](../types/account.PasswordSettings.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_PasswordSettings = $MadelineProto->account->getPasswordSettings(['current_password_hash' => 'bytes', ]); +$account.PasswordSettings = $MadelineProto->account->getPasswordSettings(['current_password_hash' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -account_PasswordSettings = account.getPasswordSettings({current_password_hash='bytes', }) +account.PasswordSettings = account.getPasswordSettings({current_password_hash='bytes', }) ``` ### Errors diff --git a/old_docs/API_docs_v73/methods/account.getPrivacy.md b/old_docs/API_docs_v73/methods/account.getPrivacy.md index 6a240129..e20c292c 100644 --- a/old_docs/API_docs_v73/methods/account.getPrivacy.md +++ b/old_docs/API_docs_v73/methods/account.getPrivacy.md @@ -16,7 +16,7 @@ Get privacy settings of current account |key|[InputPrivacyKey](../types/InputPrivacyKey.md) | Peer category whose privacy settings should be fetched | Yes| -### Return type: [account\_PrivacyRules](../types/account_PrivacyRules.md) +### Return type: [account.PrivacyRules](../types/account.PrivacyRules.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_PrivacyRules = $MadelineProto->account->getPrivacy(['key' => InputPrivacyKey, ]); +$account.PrivacyRules = $MadelineProto->account->getPrivacy(['key' => InputPrivacyKey, ]); ``` Or, if you're into Lua: ```lua -account_PrivacyRules = account.getPrivacy({key=InputPrivacyKey, }) +account.PrivacyRules = account.getPrivacy({key=InputPrivacyKey, }) ``` ### Errors diff --git a/old_docs/API_docs_v73/methods/account.getTmpPassword.md b/old_docs/API_docs_v73/methods/account.getTmpPassword.md index 4f269586..7e05a423 100644 --- a/old_docs/API_docs_v73/methods/account.getTmpPassword.md +++ b/old_docs/API_docs_v73/methods/account.getTmpPassword.md @@ -17,7 +17,7 @@ Get temporary payment password |period|[int](../types/int.md) | Time during which the temporary password will be valid, in seconds; should be between 60 and 86400 | Yes| -### Return type: [account\_TmpPassword](../types/account_TmpPassword.md) +### Return type: [account.TmpPassword](../types/account.TmpPassword.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_TmpPassword = $MadelineProto->account->getTmpPassword(['password_hash' => 'bytes', 'period' => int, ]); +$account.TmpPassword = $MadelineProto->account->getTmpPassword(['password_hash' => 'bytes', 'period' => int, ]); ``` Or, if you're into Lua: ```lua -account_TmpPassword = account.getTmpPassword({password_hash='bytes', period=int, }) +account.TmpPassword = account.getTmpPassword({password_hash='bytes', period=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v73/methods/account.sendChangePhoneCode.md b/old_docs/API_docs_v73/methods/account.sendChangePhoneCode.md index 0f81306e..30589ffa 100644 --- a/old_docs/API_docs_v73/methods/account.sendChangePhoneCode.md +++ b/old_docs/API_docs_v73/methods/account.sendChangePhoneCode.md @@ -18,7 +18,7 @@ Verify a new phone number to associate to the current account |current\_number|[Bool](../types/Bool.md) | Current phone number | Optional| -### Return type: [auth\_SentCode](../types/auth_SentCode.md) +### Return type: [auth.SentCode](../types/auth.SentCode.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_SentCode = $MadelineProto->account->sendChangePhoneCode(['allow_flashcall' => Bool, 'phone_number' => 'string', 'current_number' => Bool, ]); +$auth.SentCode = $MadelineProto->account->sendChangePhoneCode(['allow_flashcall' => Bool, 'phone_number' => 'string', 'current_number' => Bool, ]); ``` Or, if you're into Lua: ```lua -auth_SentCode = account.sendChangePhoneCode({allow_flashcall=Bool, phone_number='string', current_number=Bool, }) +auth.SentCode = account.sendChangePhoneCode({allow_flashcall=Bool, phone_number='string', current_number=Bool, }) ``` ### Errors diff --git a/old_docs/API_docs_v73/methods/account.sendConfirmPhoneCode.md b/old_docs/API_docs_v73/methods/account.sendConfirmPhoneCode.md index 68ba8fd3..9ec24f07 100644 --- a/old_docs/API_docs_v73/methods/account.sendConfirmPhoneCode.md +++ b/old_docs/API_docs_v73/methods/account.sendConfirmPhoneCode.md @@ -18,7 +18,7 @@ Send confirmation code to cancel account deletion, for more info [click here »] |current\_number|[Bool](../types/Bool.md) | The current phone number | Optional| -### Return type: [auth\_SentCode](../types/auth_SentCode.md) +### Return type: [auth.SentCode](../types/auth.SentCode.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_SentCode = $MadelineProto->account->sendConfirmPhoneCode(['allow_flashcall' => Bool, 'hash' => 'string', 'current_number' => Bool, ]); +$auth.SentCode = $MadelineProto->account->sendConfirmPhoneCode(['allow_flashcall' => Bool, 'hash' => 'string', 'current_number' => Bool, ]); ``` Or, if you're into Lua: ```lua -auth_SentCode = account.sendConfirmPhoneCode({allow_flashcall=Bool, hash='string', current_number=Bool, }) +auth.SentCode = account.sendConfirmPhoneCode({allow_flashcall=Bool, hash='string', current_number=Bool, }) ``` ### Errors diff --git a/old_docs/API_docs_v73/methods/account.setPrivacy.md b/old_docs/API_docs_v73/methods/account.setPrivacy.md index 7c4cfba7..096d373e 100644 --- a/old_docs/API_docs_v73/methods/account.setPrivacy.md +++ b/old_docs/API_docs_v73/methods/account.setPrivacy.md @@ -17,7 +17,7 @@ Change privacy settings of current account |rules|Array of [InputPrivacyRule](../types/InputPrivacyRule.md) | Privacy settings | Yes| -### Return type: [account\_PrivacyRules](../types/account_PrivacyRules.md) +### Return type: [account.PrivacyRules](../types/account.PrivacyRules.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_PrivacyRules = $MadelineProto->account->setPrivacy(['key' => InputPrivacyKey, 'rules' => [InputPrivacyRule, InputPrivacyRule], ]); +$account.PrivacyRules = $MadelineProto->account->setPrivacy(['key' => InputPrivacyKey, 'rules' => [InputPrivacyRule, InputPrivacyRule], ]); ``` Or, if you're into Lua: ```lua -account_PrivacyRules = account.setPrivacy({key=InputPrivacyKey, rules={InputPrivacyRule}, }) +account.PrivacyRules = account.setPrivacy({key=InputPrivacyKey, rules={InputPrivacyRule}, }) ``` ### Errors diff --git a/old_docs/API_docs_v73/methods/api_README.md b/old_docs/API_docs_v73/methods/api_README.md index a3f57753..3e0dee38 100644 --- a/old_docs/API_docs_v73/methods/api_README.md +++ b/old_docs/API_docs_v73/methods/api_README.md @@ -56,7 +56,7 @@ $MadelineProto->[account->getAccountTTL](account.getAccountTTL.md)(\[\]) === [$A ***

-$MadelineProto->[account->getAuthorizations](account.getAuthorizations.md)(\[\]) === [$account\_Authorizations](../types/account_Authorizations.md) +$MadelineProto->[account->getAuthorizations](account.getAuthorizations.md)(\[\]) === [$account.Authorizations](../types/account.Authorizations.md) ***

@@ -64,19 +64,19 @@ $MadelineProto->[account->getNotifySettings](account.getNotifySettings.md)(\['pe ***

-$MadelineProto->[account->getPassword](account.getPassword.md)(\[\]) === [$account\_Password](../types/account_Password.md) +$MadelineProto->[account->getPassword](account.getPassword.md)(\[\]) === [$account.Password](../types/account.Password.md) ***

-$MadelineProto->[account->getPasswordSettings](account.getPasswordSettings.md)(\['current_password_hash' => [bytes](../types/bytes.md), \]) === [$account\_PasswordSettings](../types/account_PasswordSettings.md) +$MadelineProto->[account->getPasswordSettings](account.getPasswordSettings.md)(\['current_password_hash' => [bytes](../types/bytes.md), \]) === [$account.PasswordSettings](../types/account.PasswordSettings.md) ***

-$MadelineProto->[account->getPrivacy](account.getPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), \]) === [$account\_PrivacyRules](../types/account_PrivacyRules.md) +$MadelineProto->[account->getPrivacy](account.getPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), \]) === [$account.PrivacyRules](../types/account.PrivacyRules.md) ***

-$MadelineProto->[account->getTmpPassword](account.getTmpPassword.md)(\['password_hash' => [bytes](../types/bytes.md), 'period' => [int](../types/int.md), \]) === [$account\_TmpPassword](../types/account_TmpPassword.md) +$MadelineProto->[account->getTmpPassword](account.getTmpPassword.md)(\['password_hash' => [bytes](../types/bytes.md), 'period' => [int](../types/int.md), \]) === [$account.TmpPassword](../types/account.TmpPassword.md) ***

@@ -100,11 +100,11 @@ $MadelineProto->[account->resetNotifySettings](account.resetNotifySettings.md)(\ ***

-$MadelineProto->[account->sendChangePhoneCode](account.sendChangePhoneCode.md)(\['allow_flashcall' => [Bool](../types/Bool.md), 'phone_number' => [string](../types/string.md), 'current_number' => [Bool](../types/Bool.md), \]) === [$auth\_SentCode](../types/auth_SentCode.md) +$MadelineProto->[account->sendChangePhoneCode](account.sendChangePhoneCode.md)(\['allow_flashcall' => [Bool](../types/Bool.md), 'phone_number' => [string](../types/string.md), 'current_number' => [Bool](../types/Bool.md), \]) === [$auth.SentCode](../types/auth.SentCode.md) ***

-$MadelineProto->[account->sendConfirmPhoneCode](account.sendConfirmPhoneCode.md)(\['allow_flashcall' => [Bool](../types/Bool.md), 'hash' => [string](../types/string.md), 'current_number' => [Bool](../types/Bool.md), \]) === [$auth\_SentCode](../types/auth_SentCode.md) +$MadelineProto->[account->sendConfirmPhoneCode](account.sendConfirmPhoneCode.md)(\['allow_flashcall' => [Bool](../types/Bool.md), 'hash' => [string](../types/string.md), 'current_number' => [Bool](../types/Bool.md), \]) === [$auth.SentCode](../types/auth.SentCode.md) ***

@@ -112,7 +112,7 @@ $MadelineProto->[account->setAccountTTL](account.setAccountTTL.md)(\['ttl' => [A ***

-$MadelineProto->[account->setPrivacy](account.setPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), 'rules' => \[[InputPrivacyRule](../types/InputPrivacyRule.md)\], \]) === [$account\_PrivacyRules](../types/account_PrivacyRules.md) +$MadelineProto->[account->setPrivacy](account.setPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), 'rules' => \[[InputPrivacyRule](../types/InputPrivacyRule.md)\], \]) === [$account.PrivacyRules](../types/account.PrivacyRules.md) ***

@@ -152,11 +152,11 @@ $MadelineProto->[auth->cancelCode](auth.cancelCode.md)(\['phone_number' => [stri ***

-$MadelineProto->[auth->checkPassword](auth.checkPassword.md)(\['password_hash' => [bytes](../types/bytes.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->checkPassword](auth.checkPassword.md)(\['password_hash' => [bytes](../types/bytes.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

-$MadelineProto->[auth->checkPhone](auth.checkPhone.md)(\['phone_number' => [string](../types/string.md), \]) === [$auth\_CheckedPhone](../types/auth_CheckedPhone.md) +$MadelineProto->[auth->checkPhone](auth.checkPhone.md)(\['phone_number' => [string](../types/string.md), \]) === [$auth.CheckedPhone](../types/auth.CheckedPhone.md) ***

@@ -164,15 +164,15 @@ $MadelineProto->[auth->dropTempAuthKeys](auth.dropTempAuthKeys.md)(\['except_aut ***

-$MadelineProto->[auth->exportAuthorization](auth.exportAuthorization.md)(\['dc_id' => [int](../types/int.md), \]) === [$auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) +$MadelineProto->[auth->exportAuthorization](auth.exportAuthorization.md)(\['dc_id' => [int](../types/int.md), \]) === [$auth.ExportedAuthorization](../types/auth.ExportedAuthorization.md) ***

-$MadelineProto->[auth->importAuthorization](auth.importAuthorization.md)(\['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->importAuthorization](auth.importAuthorization.md)(\['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

-$MadelineProto->[auth->importBotAuthorization](auth.importBotAuthorization.md)(\['api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), 'bot_auth_token' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->importBotAuthorization](auth.importBotAuthorization.md)(\['api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), 'bot_auth_token' => [string](../types/string.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

@@ -180,15 +180,15 @@ $MadelineProto->[auth->logOut](auth.logOut.md)(\[\]) === [$Bool](../types/Bool.m ***

-$MadelineProto->[auth->recoverPassword](auth.recoverPassword.md)(\['code' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->recoverPassword](auth.recoverPassword.md)(\['code' => [string](../types/string.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

-$MadelineProto->[auth->requestPasswordRecovery](auth.requestPasswordRecovery.md)(\[\]) === [$auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) +$MadelineProto->[auth->requestPasswordRecovery](auth.requestPasswordRecovery.md)(\[\]) === [$auth.PasswordRecovery](../types/auth.PasswordRecovery.md) ***

-$MadelineProto->[auth->resendCode](auth.resendCode.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), \]) === [$auth\_SentCode](../types/auth_SentCode.md) +$MadelineProto->[auth->resendCode](auth.resendCode.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), \]) === [$auth.SentCode](../types/auth.SentCode.md) ***

@@ -196,7 +196,7 @@ $MadelineProto->[auth->resetAuthorizations](auth.resetAuthorizations.md)(\[\]) = ***

-$MadelineProto->[auth->sendCode](auth.sendCode.md)(\['allow_flashcall' => [Bool](../types/Bool.md), 'phone_number' => [string](../types/string.md), 'current_number' => [Bool](../types/Bool.md), 'api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), \]) === [$auth\_SentCode](../types/auth_SentCode.md) +$MadelineProto->[auth->sendCode](auth.sendCode.md)(\['allow_flashcall' => [Bool](../types/Bool.md), 'phone_number' => [string](../types/string.md), 'current_number' => [Bool](../types/Bool.md), 'api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), \]) === [$auth.SentCode](../types/auth.SentCode.md) ***

@@ -204,11 +204,11 @@ $MadelineProto->[auth->sendInvites](auth.sendInvites.md)(\['phone_numbers' => \[ ***

-$MadelineProto->[auth->signIn](auth.signIn.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->signIn](auth.signIn.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

-$MadelineProto->[auth->signUp](auth.signUp.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->signUp](auth.signUp.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

@@ -236,11 +236,11 @@ $MadelineProto->[channels->deleteHistory](channels.deleteHistory.md)(\['channel' ***

-$MadelineProto->[channels->deleteMessages](channels.deleteMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) +$MadelineProto->[channels->deleteMessages](channels.deleteMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages.AffectedMessages](../types/messages.AffectedMessages.md) ***

-$MadelineProto->[channels->deleteUserHistory](channels.deleteUserHistory.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages\_AffectedHistory](../types/messages_AffectedHistory.md) +$MadelineProto->[channels->deleteUserHistory](channels.deleteUserHistory.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages.AffectedHistory](../types/messages.AffectedHistory.md) ***

@@ -272,31 +272,31 @@ $MadelineProto->[channels->exportMessageLink](channels.exportMessageLink.md)(\[' ***

-$MadelineProto->[channels->getAdminLog](channels.getAdminLog.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'q' => [string](../types/string.md), 'events_filter' => [ChannelAdminLogEventsFilter](../types/ChannelAdminLogEventsFilter.md), 'admins' => \[[InputUser](../types/InputUser.md)\], 'max_id' => [long](../types/long.md), 'min_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$channels\_AdminLogResults](../types/channels_AdminLogResults.md) +$MadelineProto->[channels->getAdminLog](channels.getAdminLog.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'q' => [string](../types/string.md), 'events_filter' => [ChannelAdminLogEventsFilter](../types/ChannelAdminLogEventsFilter.md), 'admins' => \[[InputUser](../types/InputUser.md)\], 'max_id' => [long](../types/long.md), 'min_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$channels.AdminLogResults](../types/channels.AdminLogResults.md) ***

-$MadelineProto->[channels->getAdminedPublicChannels](channels.getAdminedPublicChannels.md)(\[\]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[channels->getAdminedPublicChannels](channels.getAdminedPublicChannels.md)(\[\]) === [$messages.Chats](../types/messages.Chats.md) ***

-$MadelineProto->[channels->getChannels](channels.getChannels.md)(\['id' => \[[InputChannel](../types/InputChannel.md)\], \]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[channels->getChannels](channels.getChannels.md)(\['id' => \[[InputChannel](../types/InputChannel.md)\], \]) === [$messages.Chats](../types/messages.Chats.md) ***

-$MadelineProto->[channels->getFullChannel](channels.getFullChannel.md)(\['channel' => [InputChannel](../types/InputChannel.md), \]) === [$messages\_ChatFull](../types/messages_ChatFull.md) +$MadelineProto->[channels->getFullChannel](channels.getFullChannel.md)(\['channel' => [InputChannel](../types/InputChannel.md), \]) === [$messages.ChatFull](../types/messages.ChatFull.md) ***

-$MadelineProto->[channels->getMessages](channels.getMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[channels->getMessages](channels.getMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[channels->getParticipant](channels.getParticipant.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$channels\_ChannelParticipant](../types/channels_ChannelParticipant.md) +$MadelineProto->[channels->getParticipant](channels.getParticipant.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$channels.ChannelParticipant](../types/channels.ChannelParticipant.md) ***

-$MadelineProto->[channels->getParticipants](channels.getParticipants.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$channels\_ChannelParticipants](../types/channels_ChannelParticipants.md) +$MadelineProto->[channels->getParticipants](channels.getParticipants.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$channels.ChannelParticipants](../types/channels.ChannelParticipants.md) ***

@@ -352,7 +352,7 @@ $MadelineProto->[contacts->block](contacts.block.md)(\['id' => [InputUser](../ty ***

-$MadelineProto->[contacts->deleteContact](contacts.deleteContact.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$contacts\_Link](../types/contacts_Link.md) +$MadelineProto->[contacts->deleteContact](contacts.deleteContact.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$contacts.Link](../types/contacts.Link.md) ***

@@ -364,11 +364,11 @@ $MadelineProto->[contacts->exportCard](contacts.exportCard.md)(\[\]) === [$Vecto ***

-$MadelineProto->[contacts->getBlocked](contacts.getBlocked.md)(\['offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$contacts\_Blocked](../types/contacts_Blocked.md) +$MadelineProto->[contacts->getBlocked](contacts.getBlocked.md)(\['offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$contacts.Blocked](../types/contacts.Blocked.md) ***

-$MadelineProto->[contacts->getContacts](contacts.getContacts.md)(\['hash' => [int](../types/int.md), \]) === [$contacts\_Contacts](../types/contacts_Contacts.md) +$MadelineProto->[contacts->getContacts](contacts.getContacts.md)(\['hash' => [int](../types/int.md), \]) === [$contacts.Contacts](../types/contacts.Contacts.md) ***

@@ -376,7 +376,7 @@ $MadelineProto->[contacts->getStatuses](contacts.getStatuses.md)(\[\]) === [$Vec ***

-$MadelineProto->[contacts->getTopPeers](contacts.getTopPeers.md)(\['correspondents' => [Bool](../types/Bool.md), 'bots_pm' => [Bool](../types/Bool.md), 'bots_inline' => [Bool](../types/Bool.md), 'phone_calls' => [Bool](../types/Bool.md), 'groups' => [Bool](../types/Bool.md), 'channels' => [Bool](../types/Bool.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$contacts\_TopPeers](../types/contacts_TopPeers.md) +$MadelineProto->[contacts->getTopPeers](contacts.getTopPeers.md)(\['correspondents' => [Bool](../types/Bool.md), 'bots_pm' => [Bool](../types/Bool.md), 'bots_inline' => [Bool](../types/Bool.md), 'phone_calls' => [Bool](../types/Bool.md), 'groups' => [Bool](../types/Bool.md), 'channels' => [Bool](../types/Bool.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$contacts.TopPeers](../types/contacts.TopPeers.md) ***

@@ -384,7 +384,7 @@ $MadelineProto->[contacts->importCard](contacts.importCard.md)(\['export_card' = ***

-$MadelineProto->[contacts->importContacts](contacts.importContacts.md)(\['contacts' => \[[InputContact](../types/InputContact.md)\], \]) === [$contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) +$MadelineProto->[contacts->importContacts](contacts.importContacts.md)(\['contacts' => \[[InputContact](../types/InputContact.md)\], \]) === [$contacts.ImportedContacts](../types/contacts.ImportedContacts.md) ***

@@ -396,11 +396,11 @@ $MadelineProto->[contacts->resetTopPeerRating](contacts.resetTopPeerRating.md)(\ ***

-$MadelineProto->[contacts->resolveUsername](contacts.resolveUsername.md)(\['username' => [string](../types/string.md), \]) === [$contacts\_ResolvedPeer](../types/contacts_ResolvedPeer.md) +$MadelineProto->[contacts->resolveUsername](contacts.resolveUsername.md)(\['username' => [string](../types/string.md), \]) === [$contacts.ResolvedPeer](../types/contacts.ResolvedPeer.md) ***

-$MadelineProto->[contacts->search](contacts.search.md)(\['q' => [string](../types/string.md), 'limit' => [int](../types/int.md), \]) === [$contacts\_Found](../types/contacts_Found.md) +$MadelineProto->[contacts->search](contacts.search.md)(\['q' => [string](../types/string.md), 'limit' => [int](../types/int.md), \]) === [$contacts.Found](../types/contacts.Found.md) ***

@@ -412,7 +412,7 @@ $MadelineProto->[help->getAppChangelog](help.getAppChangelog.md)(\['prev_app_ver ***

-$MadelineProto->[help->getAppUpdate](help.getAppUpdate.md)(\[\]) === [$help\_AppUpdate](../types/help_AppUpdate.md) +$MadelineProto->[help->getAppUpdate](help.getAppUpdate.md)(\[\]) === [$help.AppUpdate](../types/help.AppUpdate.md) ***

@@ -424,7 +424,7 @@ $MadelineProto->[help->getConfig](help.getConfig.md)(\[\]) === [$Config](../type ***

-$MadelineProto->[help->getInviteText](help.getInviteText.md)(\[\]) === [$help\_InviteText](../types/help_InviteText.md) +$MadelineProto->[help->getInviteText](help.getInviteText.md)(\[\]) === [$help.InviteText](../types/help.InviteText.md) ***

@@ -432,15 +432,15 @@ $MadelineProto->[help->getNearestDc](help.getNearestDc.md)(\[\]) === [$NearestDc ***

-$MadelineProto->[help->getRecentMeUrls](help.getRecentMeUrls.md)(\['referer' => [string](../types/string.md), \]) === [$help\_RecentMeUrls](../types/help_RecentMeUrls.md) +$MadelineProto->[help->getRecentMeUrls](help.getRecentMeUrls.md)(\['referer' => [string](../types/string.md), \]) === [$help.RecentMeUrls](../types/help.RecentMeUrls.md) ***

-$MadelineProto->[help->getSupport](help.getSupport.md)(\[\]) === [$help\_Support](../types/help_Support.md) +$MadelineProto->[help->getSupport](help.getSupport.md)(\[\]) === [$help.Support](../types/help.Support.md) ***

-$MadelineProto->[help->getTermsOfService](help.getTermsOfService.md)(\[\]) === [$help\_TermsOfService](../types/help_TermsOfService.md) +$MadelineProto->[help->getTermsOfService](help.getTermsOfService.md)(\[\]) === [$help.TermsOfService](../types/help.TermsOfService.md) ***

@@ -512,11 +512,11 @@ $MadelineProto->[messages->deleteChatUser](messages.deleteChatUser.md)(\['chat_i ***

-$MadelineProto->[messages->deleteHistory](messages.deleteHistory.md)(\['just_clear' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), \]) === [$messages\_AffectedHistory](../types/messages_AffectedHistory.md) +$MadelineProto->[messages->deleteHistory](messages.deleteHistory.md)(\['just_clear' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), \]) === [$messages.AffectedHistory](../types/messages.AffectedHistory.md) ***

-$MadelineProto->[messages->deleteMessages](messages.deleteMessages.md)(\['revoke' => [Bool](../types/Bool.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) +$MadelineProto->[messages->deleteMessages](messages.deleteMessages.md)(\['revoke' => [Bool](../types/Bool.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages.AffectedMessages](../types/messages.AffectedMessages.md) ***

@@ -560,7 +560,7 @@ $MadelineProto->[messages->forwardMessages](messages.forwardMessages.md)(\['sile ***

-$MadelineProto->[messages->getAllChats](messages.getAllChats.md)(\['except_ids' => \[[int](../types/int.md)\], \]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[messages->getAllChats](messages.getAllChats.md)(\['except_ids' => \[[int](../types/int.md)\], \]) === [$messages.Chats](../types/messages.Chats.md) ***

@@ -568,11 +568,11 @@ $MadelineProto->[messages->getAllDrafts](messages.getAllDrafts.md)(\[\]) === [$U ***

-$MadelineProto->[messages->getAllStickers](messages.getAllStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages\_AllStickers](../types/messages_AllStickers.md) +$MadelineProto->[messages->getAllStickers](messages.getAllStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages.AllStickers](../types/messages.AllStickers.md) ***

-$MadelineProto->[messages->getArchivedStickers](messages.getArchivedStickers.md)(\['masks' => [Bool](../types/Bool.md), 'offset_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$messages\_ArchivedStickers](../types/messages_ArchivedStickers.md) +$MadelineProto->[messages->getArchivedStickers](messages.getArchivedStickers.md)(\['masks' => [Bool](../types/Bool.md), 'offset_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$messages.ArchivedStickers](../types/messages.ArchivedStickers.md) ***

@@ -580,23 +580,23 @@ $MadelineProto->[messages->getAttachedStickers](messages.getAttachedStickers.md) ***

-$MadelineProto->[messages->getBotCallbackAnswer](messages.getBotCallbackAnswer.md)(\['game' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'msg_id' => [int](../types/int.md), 'data' => [bytes](../types/bytes.md), \]) === [$messages\_BotCallbackAnswer](../types/messages_BotCallbackAnswer.md) +$MadelineProto->[messages->getBotCallbackAnswer](messages.getBotCallbackAnswer.md)(\['game' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'msg_id' => [int](../types/int.md), 'data' => [bytes](../types/bytes.md), \]) === [$messages.BotCallbackAnswer](../types/messages.BotCallbackAnswer.md) ***

-$MadelineProto->[messages->getChats](messages.getChats.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[messages->getChats](messages.getChats.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages.Chats](../types/messages.Chats.md) ***

-$MadelineProto->[messages->getCommonChats](messages.getCommonChats.md)(\['user_id' => [InputUser](../types/InputUser.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[messages->getCommonChats](messages.getCommonChats.md)(\['user_id' => [InputUser](../types/InputUser.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages.Chats](../types/messages.Chats.md) ***

-$MadelineProto->[messages->getDhConfig](messages.getDhConfig.md)(\['version' => [int](../types/int.md), 'random_length' => [int](../types/int.md), \]) === [$messages\_DhConfig](../types/messages_DhConfig.md) +$MadelineProto->[messages->getDhConfig](messages.getDhConfig.md)(\['version' => [int](../types/int.md), 'random_length' => [int](../types/int.md), \]) === [$messages.DhConfig](../types/messages.DhConfig.md) ***

-$MadelineProto->[messages->getDialogs](messages.getDialogs.md)(\['exclude_pinned' => [Bool](../types/Bool.md), 'offset_date' => [int](../types/int.md), 'offset_id' => [int](../types/int.md), 'offset_peer' => [InputPeer](../types/InputPeer.md), 'limit' => [int](../types/int.md), \]) === [$messages\_Dialogs](../types/messages_Dialogs.md) +$MadelineProto->[messages->getDialogs](messages.getDialogs.md)(\['exclude_pinned' => [Bool](../types/Bool.md), 'offset_date' => [int](../types/int.md), 'offset_id' => [int](../types/int.md), 'offset_peer' => [InputPeer](../types/InputPeer.md), 'limit' => [int](../types/int.md), \]) === [$messages.Dialogs](../types/messages.Dialogs.md) ***

@@ -604,43 +604,43 @@ $MadelineProto->[messages->getDocumentByHash](messages.getDocumentByHash.md)(\[' ***

-$MadelineProto->[messages->getFavedStickers](messages.getFavedStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages\_FavedStickers](../types/messages_FavedStickers.md) +$MadelineProto->[messages->getFavedStickers](messages.getFavedStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages.FavedStickers](../types/messages.FavedStickers.md) ***

-$MadelineProto->[messages->getFeaturedStickers](messages.getFeaturedStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages\_FeaturedStickers](../types/messages_FeaturedStickers.md) +$MadelineProto->[messages->getFeaturedStickers](messages.getFeaturedStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages.FeaturedStickers](../types/messages.FeaturedStickers.md) ***

-$MadelineProto->[messages->getFullChat](messages.getFullChat.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), \]) === [$messages\_ChatFull](../types/messages_ChatFull.md) +$MadelineProto->[messages->getFullChat](messages.getFullChat.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), \]) === [$messages.ChatFull](../types/messages.ChatFull.md) ***

-$MadelineProto->[messages->getGameHighScores](messages.getGameHighScores.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages\_HighScores](../types/messages_HighScores.md) +$MadelineProto->[messages->getGameHighScores](messages.getGameHighScores.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages.HighScores](../types/messages.HighScores.md) ***

-$MadelineProto->[messages->getHistory](messages.getHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'offset_date' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->getHistory](messages.getHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'offset_date' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[messages->getInlineBotResults](messages.getInlineBotResults.md)(\['bot' => [InputUser](../types/InputUser.md), 'peer' => [InputPeer](../types/InputPeer.md), 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'query' => [string](../types/string.md), 'offset' => [string](../types/string.md), \]) === [$messages\_BotResults](../types/messages_BotResults.md) +$MadelineProto->[messages->getInlineBotResults](messages.getInlineBotResults.md)(\['bot' => [InputUser](../types/InputUser.md), 'peer' => [InputPeer](../types/InputPeer.md), 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'query' => [string](../types/string.md), 'offset' => [string](../types/string.md), \]) === [$messages.BotResults](../types/messages.BotResults.md) ***

-$MadelineProto->[messages->getInlineGameHighScores](messages.getInlineGameHighScores.md)(\['id' => [InputBotInlineMessageID](../types/InputBotInlineMessageID.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages\_HighScores](../types/messages_HighScores.md) +$MadelineProto->[messages->getInlineGameHighScores](messages.getInlineGameHighScores.md)(\['id' => [InputBotInlineMessageID](../types/InputBotInlineMessageID.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages.HighScores](../types/messages.HighScores.md) ***

-$MadelineProto->[messages->getMaskStickers](messages.getMaskStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages\_AllStickers](../types/messages_AllStickers.md) +$MadelineProto->[messages->getMaskStickers](messages.getMaskStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages.AllStickers](../types/messages.AllStickers.md) ***

-$MadelineProto->[messages->getMessageEditData](messages.getMessageEditData.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), \]) === [$messages\_MessageEditData](../types/messages_MessageEditData.md) +$MadelineProto->[messages->getMessageEditData](messages.getMessageEditData.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), \]) === [$messages.MessageEditData](../types/messages.MessageEditData.md) ***

-$MadelineProto->[messages->getMessages](messages.getMessages.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->getMessages](messages.getMessages.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages.Messages](../types/messages.Messages.md) ***

@@ -648,7 +648,7 @@ $MadelineProto->[messages->getMessagesViews](messages.getMessagesViews.md)(\['pe ***

-$MadelineProto->[messages->getPeerDialogs](messages.getPeerDialogs.md)(\['peers' => \[[InputPeer](../types/InputPeer.md)\], \]) === [$messages\_PeerDialogs](../types/messages_PeerDialogs.md) +$MadelineProto->[messages->getPeerDialogs](messages.getPeerDialogs.md)(\['peers' => \[[InputPeer](../types/InputPeer.md)\], \]) === [$messages.PeerDialogs](../types/messages.PeerDialogs.md) ***

@@ -656,27 +656,27 @@ $MadelineProto->[messages->getPeerSettings](messages.getPeerSettings.md)(\['peer ***

-$MadelineProto->[messages->getPinnedDialogs](messages.getPinnedDialogs.md)(\[\]) === [$messages\_PeerDialogs](../types/messages_PeerDialogs.md) +$MadelineProto->[messages->getPinnedDialogs](messages.getPinnedDialogs.md)(\[\]) === [$messages.PeerDialogs](../types/messages.PeerDialogs.md) ***

-$MadelineProto->[messages->getRecentLocations](messages.getRecentLocations.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'limit' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->getRecentLocations](messages.getRecentLocations.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'limit' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[messages->getRecentStickers](messages.getRecentStickers.md)(\['attached' => [Bool](../types/Bool.md), 'hash' => [int](../types/int.md), \]) === [$messages\_RecentStickers](../types/messages_RecentStickers.md) +$MadelineProto->[messages->getRecentStickers](messages.getRecentStickers.md)(\['attached' => [Bool](../types/Bool.md), 'hash' => [int](../types/int.md), \]) === [$messages.RecentStickers](../types/messages.RecentStickers.md) ***

-$MadelineProto->[messages->getSavedGifs](messages.getSavedGifs.md)(\['hash' => [int](../types/int.md), \]) === [$messages\_SavedGifs](../types/messages_SavedGifs.md) +$MadelineProto->[messages->getSavedGifs](messages.getSavedGifs.md)(\['hash' => [int](../types/int.md), \]) === [$messages.SavedGifs](../types/messages.SavedGifs.md) ***

-$MadelineProto->[messages->getStickerSet](messages.getStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), \]) === [$messages\_StickerSet](../types/messages_StickerSet.md) +$MadelineProto->[messages->getStickerSet](messages.getStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), \]) === [$messages.StickerSet](../types/messages.StickerSet.md) ***

-$MadelineProto->[messages->getUnreadMentions](messages.getUnreadMentions.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->getUnreadMentions](messages.getUnreadMentions.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

@@ -696,7 +696,7 @@ $MadelineProto->[messages->importChatInvite](messages.importChatInvite.md)(\['ha ***

-$MadelineProto->[messages->installStickerSet](messages.installStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), 'archived' => [Bool](../types/Bool.md), \]) === [$messages\_StickerSetInstallResult](../types/messages_StickerSetInstallResult.md) +$MadelineProto->[messages->installStickerSet](messages.installStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), 'archived' => [Bool](../types/Bool.md), \]) === [$messages.StickerSetInstallResult](../types/messages.StickerSetInstallResult.md) ***

@@ -712,15 +712,15 @@ $MadelineProto->[messages->readFeaturedStickers](messages.readFeaturedStickers.m ***

-$MadelineProto->[messages->readHistory](messages.readHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), \]) === [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) +$MadelineProto->[messages->readHistory](messages.readHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), \]) === [$messages.AffectedMessages](../types/messages.AffectedMessages.md) ***

-$MadelineProto->[messages->readMentions](messages.readMentions.md)(\['peer' => [InputPeer](../types/InputPeer.md), \]) === [$messages\_AffectedHistory](../types/messages_AffectedHistory.md) +$MadelineProto->[messages->readMentions](messages.readMentions.md)(\['peer' => [InputPeer](../types/InputPeer.md), \]) === [$messages.AffectedHistory](../types/messages.AffectedHistory.md) ***

-$MadelineProto->[messages->readMessageContents](messages.readMessageContents.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) +$MadelineProto->[messages->readMessageContents](messages.readMessageContents.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages.AffectedMessages](../types/messages.AffectedMessages.md) ***

@@ -764,27 +764,27 @@ $MadelineProto->[messages->saveRecentSticker](messages.saveRecentSticker.md)(\[' ***

-$MadelineProto->[messages->search](messages.search.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'q' => [string](../types/string.md), 'from_id' => [InputUser](../types/InputUser.md), 'filter' => [MessagesFilter](../types/MessagesFilter.md), 'min_date' => [int](../types/int.md), 'max_date' => [int](../types/int.md), 'offset_id' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->search](messages.search.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'q' => [string](../types/string.md), 'from_id' => [InputUser](../types/InputUser.md), 'filter' => [MessagesFilter](../types/MessagesFilter.md), 'min_date' => [int](../types/int.md), 'max_date' => [int](../types/int.md), 'offset_id' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[messages->searchGifs](messages.searchGifs.md)(\['q' => [string](../types/string.md), 'offset' => [int](../types/int.md), \]) === [$messages\_FoundGifs](../types/messages_FoundGifs.md) +$MadelineProto->[messages->searchGifs](messages.searchGifs.md)(\['q' => [string](../types/string.md), 'offset' => [int](../types/int.md), \]) === [$messages.FoundGifs](../types/messages.FoundGifs.md) ***

-$MadelineProto->[messages->searchGlobal](messages.searchGlobal.md)(\['q' => [string](../types/string.md), 'offset_date' => [int](../types/int.md), 'offset_peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->searchGlobal](messages.searchGlobal.md)(\['q' => [string](../types/string.md), 'offset_date' => [int](../types/int.md), 'offset_peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[messages->sendEncrypted](messages.sendEncrypted.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'message' => [DecryptedMessage](../types/DecryptedMessage.md), \]) === [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +$MadelineProto->[messages->sendEncrypted](messages.sendEncrypted.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), \]) === [$messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ***

-$MadelineProto->[messages->sendEncryptedFile](messages.sendEncryptedFile.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'message' => [DecryptedMessage](../types/DecryptedMessage.md), 'file' => [InputEncryptedFile](../types/InputEncryptedFile.md), \]) === [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +$MadelineProto->[messages->sendEncryptedFile](messages.sendEncryptedFile.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), 'file' => [InputEncryptedFile](../types/InputEncryptedFile.md), \]) === [$messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ***

-$MadelineProto->[messages->sendEncryptedService](messages.sendEncryptedService.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'message' => [DecryptedMessage](../types/DecryptedMessage.md), \]) === [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +$MadelineProto->[messages->sendEncryptedService](messages.sendEncryptedService.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), \]) === [$messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ***

@@ -868,31 +868,31 @@ $MadelineProto->[payments->clearSavedInfo](payments.clearSavedInfo.md)(\['creden ***

-$MadelineProto->[payments->getPaymentForm](payments.getPaymentForm.md)(\['msg_id' => [int](../types/int.md), \]) === [$payments\_PaymentForm](../types/payments_PaymentForm.md) +$MadelineProto->[payments->getPaymentForm](payments.getPaymentForm.md)(\['msg_id' => [int](../types/int.md), \]) === [$payments.PaymentForm](../types/payments.PaymentForm.md) ***

-$MadelineProto->[payments->getPaymentReceipt](payments.getPaymentReceipt.md)(\['msg_id' => [int](../types/int.md), \]) === [$payments\_PaymentReceipt](../types/payments_PaymentReceipt.md) +$MadelineProto->[payments->getPaymentReceipt](payments.getPaymentReceipt.md)(\['msg_id' => [int](../types/int.md), \]) === [$payments.PaymentReceipt](../types/payments.PaymentReceipt.md) ***

-$MadelineProto->[payments->getSavedInfo](payments.getSavedInfo.md)(\[\]) === [$payments\_SavedInfo](../types/payments_SavedInfo.md) +$MadelineProto->[payments->getSavedInfo](payments.getSavedInfo.md)(\[\]) === [$payments.SavedInfo](../types/payments.SavedInfo.md) ***

-$MadelineProto->[payments->sendPaymentForm](payments.sendPaymentForm.md)(\['msg_id' => [int](../types/int.md), 'requested_info_id' => [string](../types/string.md), 'shipping_option_id' => [string](../types/string.md), 'credentials' => [InputPaymentCredentials](../types/InputPaymentCredentials.md), \]) === [$payments\_PaymentResult](../types/payments_PaymentResult.md) +$MadelineProto->[payments->sendPaymentForm](payments.sendPaymentForm.md)(\['msg_id' => [int](../types/int.md), 'requested_info_id' => [string](../types/string.md), 'shipping_option_id' => [string](../types/string.md), 'credentials' => [InputPaymentCredentials](../types/InputPaymentCredentials.md), \]) === [$payments.PaymentResult](../types/payments.PaymentResult.md) ***

-$MadelineProto->[payments->validateRequestedInfo](payments.validateRequestedInfo.md)(\['save' => [Bool](../types/Bool.md), 'msg_id' => [int](../types/int.md), 'info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), \]) === [$payments\_ValidatedRequestedInfo](../types/payments_ValidatedRequestedInfo.md) +$MadelineProto->[payments->validateRequestedInfo](payments.validateRequestedInfo.md)(\['save' => [Bool](../types/Bool.md), 'msg_id' => [int](../types/int.md), 'info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), \]) === [$payments.ValidatedRequestedInfo](../types/payments.ValidatedRequestedInfo.md) ***

-$MadelineProto->[phone->acceptCall](phone.acceptCall.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'g_b' => [bytes](../types/bytes.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone\_PhoneCall](../types/phone_PhoneCall.md) +$MadelineProto->[phone->acceptCall](phone.acceptCall.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'g_b' => [bytes](../types/bytes.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone.PhoneCall](../types/phone.PhoneCall.md) ***

-$MadelineProto->[phone->confirmCall](phone.confirmCall.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'g_a' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone\_PhoneCall](../types/phone_PhoneCall.md) +$MadelineProto->[phone->confirmCall](phone.confirmCall.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'g_a' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone.PhoneCall](../types/phone.PhoneCall.md) ***

@@ -908,7 +908,7 @@ $MadelineProto->[phone->receivedCall](phone.receivedCall.md)(\['peer' => [InputP ***

-$MadelineProto->[phone->requestCall](phone.requestCall.md)(\['user_id' => [InputUser](../types/InputUser.md), 'g_a_hash' => [bytes](../types/bytes.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone\_PhoneCall](../types/phone_PhoneCall.md) +$MadelineProto->[phone->requestCall](phone.requestCall.md)(\['user_id' => [InputUser](../types/InputUser.md), 'g_a_hash' => [bytes](../types/bytes.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone.PhoneCall](../types/phone.PhoneCall.md) ***

@@ -924,7 +924,7 @@ $MadelineProto->[photos->deletePhotos](photos.deletePhotos.md)(\['id' => \[[Inpu ***

-$MadelineProto->[photos->getUserPhotos](photos.getUserPhotos.md)(\['user_id' => [InputUser](../types/InputUser.md), 'offset' => [int](../types/int.md), 'max_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$photos\_Photos](../types/photos_Photos.md) +$MadelineProto->[photos->getUserPhotos](photos.getUserPhotos.md)(\['user_id' => [InputUser](../types/InputUser.md), 'offset' => [int](../types/int.md), 'max_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$photos.Photos](../types/photos.Photos.md) ***

@@ -932,39 +932,39 @@ $MadelineProto->[photos->updateProfilePhoto](photos.updateProfilePhoto.md)(\['id ***

-$MadelineProto->[photos->uploadProfilePhoto](photos.uploadProfilePhoto.md)(\['file' => [InputFile](../types/InputFile.md), \]) === [$photos\_Photo](../types/photos_Photo.md) +$MadelineProto->[photos->uploadProfilePhoto](photos.uploadProfilePhoto.md)(\['file' => [InputFile](../types/InputFile.md), \]) === [$photos.Photo](../types/photos.Photo.md) ***

-$MadelineProto->[stickers->addStickerToSet](stickers.addStickerToSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), 'sticker' => [InputStickerSetItem](../types/InputStickerSetItem.md), \]) === [$messages\_StickerSet](../types/messages_StickerSet.md) +$MadelineProto->[stickers->addStickerToSet](stickers.addStickerToSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), 'sticker' => [InputStickerSetItem](../types/InputStickerSetItem.md), \]) === [$messages.StickerSet](../types/messages.StickerSet.md) ***

-$MadelineProto->[stickers->changeStickerPosition](stickers.changeStickerPosition.md)(\['sticker' => [InputDocument](../types/InputDocument.md), 'position' => [int](../types/int.md), \]) === [$messages\_StickerSet](../types/messages_StickerSet.md) +$MadelineProto->[stickers->changeStickerPosition](stickers.changeStickerPosition.md)(\['sticker' => [InputDocument](../types/InputDocument.md), 'position' => [int](../types/int.md), \]) === [$messages.StickerSet](../types/messages.StickerSet.md) ***

-$MadelineProto->[stickers->createStickerSet](stickers.createStickerSet.md)(\['masks' => [Bool](../types/Bool.md), 'user_id' => [InputUser](../types/InputUser.md), 'title' => [string](../types/string.md), 'short_name' => [string](../types/string.md), 'stickers' => \[[InputStickerSetItem](../types/InputStickerSetItem.md)\], \]) === [$messages\_StickerSet](../types/messages_StickerSet.md) +$MadelineProto->[stickers->createStickerSet](stickers.createStickerSet.md)(\['masks' => [Bool](../types/Bool.md), 'user_id' => [InputUser](../types/InputUser.md), 'title' => [string](../types/string.md), 'short_name' => [string](../types/string.md), 'stickers' => \[[InputStickerSetItem](../types/InputStickerSetItem.md)\], \]) === [$messages.StickerSet](../types/messages.StickerSet.md) ***

-$MadelineProto->[stickers->removeStickerFromSet](stickers.removeStickerFromSet.md)(\['sticker' => [InputDocument](../types/InputDocument.md), \]) === [$messages\_StickerSet](../types/messages_StickerSet.md) +$MadelineProto->[stickers->removeStickerFromSet](stickers.removeStickerFromSet.md)(\['sticker' => [InputDocument](../types/InputDocument.md), \]) === [$messages.StickerSet](../types/messages.StickerSet.md) ***

-$MadelineProto->[updates->getChannelDifference](updates.getChannelDifference.md)(\['force' => [Bool](../types/Bool.md), 'channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$updates\_ChannelDifference](../types/updates_ChannelDifference.md) +$MadelineProto->[updates->getChannelDifference](updates.getChannelDifference.md)(\['force' => [Bool](../types/Bool.md), 'channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$updates.ChannelDifference](../types/updates.ChannelDifference.md) ***

-$MadelineProto->[updates->getDifference](updates.getDifference.md)(\['pts' => [int](../types/int.md), 'pts_total_limit' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) === [$updates\_Difference](../types/updates_Difference.md) +$MadelineProto->[updates->getDifference](updates.getDifference.md)(\['pts' => [int](../types/int.md), 'pts_total_limit' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) === [$updates.Difference](../types/updates.Difference.md) ***

-$MadelineProto->[updates->getState](updates.getState.md)(\[\]) === [$updates\_State](../types/updates_State.md) +$MadelineProto->[updates->getState](updates.getState.md)(\[\]) === [$updates.State](../types/updates.State.md) ***

-$MadelineProto->[upload->getCdnFile](upload.getCdnFile.md)(\['file_token' => [bytes](../types/bytes.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_CdnFile](../types/upload_CdnFile.md) +$MadelineProto->[upload->getCdnFile](upload.getCdnFile.md)(\['file_token' => [bytes](../types/bytes.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload.CdnFile](../types/upload.CdnFile.md) ***

@@ -972,11 +972,11 @@ $MadelineProto->[upload->getCdnFileHashes](upload.getCdnFileHashes.md)(\['file_t ***

-$MadelineProto->[upload->getFile](upload.getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_File](../types/upload_File.md) +$MadelineProto->[upload->getFile](upload.getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload.File](../types/upload.File.md) ***

-$MadelineProto->[upload->getWebFile](upload.getWebFile.md)(\['location' => [InputWebFileLocation](../types/InputWebFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_WebFile](../types/upload_WebFile.md) +$MadelineProto->[upload->getWebFile](upload.getWebFile.md)(\['location' => [InputWebFileLocation](../types/InputWebFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload.WebFile](../types/upload.WebFile.md) ***

diff --git a/old_docs/API_docs_v73/methods/auth.checkPassword.md b/old_docs/API_docs_v73/methods/auth.checkPassword.md index db65cb56..eeeed171 100644 --- a/old_docs/API_docs_v73/methods/auth.checkPassword.md +++ b/old_docs/API_docs_v73/methods/auth.checkPassword.md @@ -16,7 +16,7 @@ You cannot use this method directly, use the complete_2fa_login method instead ( |password\_hash|[bytes](../types/bytes.md) | You cannot use this method directly, use the complete_2fa_login method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->checkPassword(['password_hash' => 'bytes', ]); +$auth.Authorization = $MadelineProto->auth->checkPassword(['password_hash' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.checkPassword({password_hash='bytes', }) +auth.Authorization = auth.checkPassword({password_hash='bytes', }) ``` ### Errors diff --git a/old_docs/API_docs_v73/methods/auth.checkPhone.md b/old_docs/API_docs_v73/methods/auth.checkPhone.md index 227358cb..51d4cba6 100644 --- a/old_docs/API_docs_v73/methods/auth.checkPhone.md +++ b/old_docs/API_docs_v73/methods/auth.checkPhone.md @@ -16,7 +16,7 @@ Check if this phone number is registered on telegram |phone\_number|[string](../types/string.md) | The phone number to check | Yes| -### Return type: [auth\_CheckedPhone](../types/auth_CheckedPhone.md) +### Return type: [auth.CheckedPhone](../types/auth.CheckedPhone.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => 'string', ]); +$auth.CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_CheckedPhone = auth.checkPhone({phone_number='string', }) +auth.CheckedPhone = auth.checkPhone({phone_number='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v73/methods/auth.exportAuthorization.md b/old_docs/API_docs_v73/methods/auth.exportAuthorization.md index 72063a2b..41a1f87d 100644 --- a/old_docs/API_docs_v73/methods/auth.exportAuthorization.md +++ b/old_docs/API_docs_v73/methods/auth.exportAuthorization.md @@ -16,7 +16,7 @@ You cannot use this method directly, use $MadelineProto->exportAuthorization() i |dc\_id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| -### Return type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) +### Return type: [auth.ExportedAuthorization](../types/auth.ExportedAuthorization.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_ExportedAuthorization = $MadelineProto->auth->exportAuthorization(['dc_id' => int, ]); +$auth.ExportedAuthorization = $MadelineProto->auth->exportAuthorization(['dc_id' => int, ]); ``` Or, if you're into Lua: ```lua -auth_ExportedAuthorization = auth.exportAuthorization({dc_id=int, }) +auth.ExportedAuthorization = auth.exportAuthorization({dc_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v73/methods/auth.importAuthorization.md b/old_docs/API_docs_v73/methods/auth.importAuthorization.md index d9c13751..5257e0b0 100644 --- a/old_docs/API_docs_v73/methods/auth.importAuthorization.md +++ b/old_docs/API_docs_v73/methods/auth.importAuthorization.md @@ -17,7 +17,7 @@ You cannot use this method directly, use $MadelineProto->importAuthorization($au |bytes|[bytes](../types/bytes.md) | You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => 'bytes', ]); +$auth.Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.importAuthorization({id=int, bytes='bytes', }) +auth.Authorization = auth.importAuthorization({id=int, bytes='bytes', }) ``` ### Errors diff --git a/old_docs/API_docs_v73/methods/auth.importBotAuthorization.md b/old_docs/API_docs_v73/methods/auth.importBotAuthorization.md index 3161d6be..a4ea8027 100644 --- a/old_docs/API_docs_v73/methods/auth.importBotAuthorization.md +++ b/old_docs/API_docs_v73/methods/auth.importBotAuthorization.md @@ -18,7 +18,7 @@ You cannot use this method directly, use the botLogin method instead (see https: |bot\_auth\_token|[string](../types/string.md) | You cannot use this method directly, use the botLogin method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **YES** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->importBotAuthorization(['api_id' => int, 'api_hash' => 'string', 'bot_auth_token' => 'string', ]); +$auth.Authorization = $MadelineProto->auth->importBotAuthorization(['api_id' => int, 'api_hash' => 'string', 'bot_auth_token' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.importBotAuthorization({api_id=int, api_hash='string', bot_auth_token='string', }) +auth.Authorization = auth.importBotAuthorization({api_id=int, api_hash='string', bot_auth_token='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v73/methods/auth.recoverPassword.md b/old_docs/API_docs_v73/methods/auth.recoverPassword.md index f7cbf4a4..2e78444b 100644 --- a/old_docs/API_docs_v73/methods/auth.recoverPassword.md +++ b/old_docs/API_docs_v73/methods/auth.recoverPassword.md @@ -16,7 +16,7 @@ Reset the [2FA password](https://core.telegram.org/api/srp) using the recovery c |code|[string](../types/string.md) | Code received via email | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->recoverPassword(['code' => 'string', ]); +$auth.Authorization = $MadelineProto->auth->recoverPassword(['code' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.recoverPassword({code='string', }) +auth.Authorization = auth.recoverPassword({code='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v73/methods/auth.requestPasswordRecovery.md b/old_docs/API_docs_v73/methods/auth.requestPasswordRecovery.md index 5cd77936..ff1ecc02 100644 --- a/old_docs/API_docs_v73/methods/auth.requestPasswordRecovery.md +++ b/old_docs/API_docs_v73/methods/auth.requestPasswordRecovery.md @@ -11,7 +11,7 @@ Request recovery code of a [2FA password](https://core.telegram.org/api/srp), on -### Return type: [auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) +### Return type: [auth.PasswordRecovery](../types/auth.PasswordRecovery.md) ### Can bots use this method: **NO** @@ -28,13 +28,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_PasswordRecovery = $MadelineProto->auth->requestPasswordRecovery(); +$auth.PasswordRecovery = $MadelineProto->auth->requestPasswordRecovery(); ``` Or, if you're into Lua: ```lua -auth_PasswordRecovery = auth.requestPasswordRecovery({}) +auth.PasswordRecovery = auth.requestPasswordRecovery({}) ``` ### Errors diff --git a/old_docs/API_docs_v73/methods/auth.resendCode.md b/old_docs/API_docs_v73/methods/auth.resendCode.md index a395a91b..f59f1b7b 100644 --- a/old_docs/API_docs_v73/methods/auth.resendCode.md +++ b/old_docs/API_docs_v73/methods/auth.resendCode.md @@ -17,7 +17,7 @@ Resend the login code via another medium, the phone code type is determined by t |phone\_code\_hash|[string](../types/string.md) | The phone code hash obtained from [auth.sendCode](../methods/auth.sendCode.md) | Yes| -### Return type: [auth\_SentCode](../types/auth_SentCode.md) +### Return type: [auth.SentCode](../types/auth.SentCode.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_SentCode = $MadelineProto->auth->resendCode(['phone_number' => 'string', 'phone_code_hash' => 'string', ]); +$auth.SentCode = $MadelineProto->auth->resendCode(['phone_number' => 'string', 'phone_code_hash' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_SentCode = auth.resendCode({phone_number='string', phone_code_hash='string', }) +auth.SentCode = auth.resendCode({phone_number='string', phone_code_hash='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v73/methods/auth.sendCode.md b/old_docs/API_docs_v73/methods/auth.sendCode.md index bd922a48..0c818fbb 100644 --- a/old_docs/API_docs_v73/methods/auth.sendCode.md +++ b/old_docs/API_docs_v73/methods/auth.sendCode.md @@ -20,7 +20,7 @@ You cannot use this method directly, use the phoneLogin method instead (see http |api\_hash|[string](../types/string.md) | You cannot use this method directly, use the phoneLogin method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_SentCode](../types/auth_SentCode.md) +### Return type: [auth.SentCode](../types/auth.SentCode.md) ### Can bots use this method: **NO** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_SentCode = $MadelineProto->auth->sendCode(['allow_flashcall' => Bool, 'phone_number' => 'string', 'current_number' => Bool, 'api_id' => int, 'api_hash' => 'string', ]); +$auth.SentCode = $MadelineProto->auth->sendCode(['allow_flashcall' => Bool, 'phone_number' => 'string', 'current_number' => Bool, 'api_id' => int, 'api_hash' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_SentCode = auth.sendCode({allow_flashcall=Bool, phone_number='string', current_number=Bool, api_id=int, api_hash='string', }) +auth.SentCode = auth.sendCode({allow_flashcall=Bool, phone_number='string', current_number=Bool, api_id=int, api_hash='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v73/methods/auth.signIn.md b/old_docs/API_docs_v73/methods/auth.signIn.md index 54812a2e..95b14f32 100644 --- a/old_docs/API_docs_v73/methods/auth.signIn.md +++ b/old_docs/API_docs_v73/methods/auth.signIn.md @@ -18,7 +18,7 @@ You cannot use this method directly, use the completePhoneLogin method instead ( |phone\_code|[string](../types/string.md) | You cannot use this method directly, use the completePhoneLogin method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->signIn(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', ]); +$auth.Authorization = $MadelineProto->auth->signIn(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.signIn({phone_number='string', phone_code_hash='string', phone_code='string', }) +auth.Authorization = auth.signIn({phone_number='string', phone_code_hash='string', phone_code='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v73/methods/auth.signUp.md b/old_docs/API_docs_v73/methods/auth.signUp.md index 2aca2bfa..fdb5d628 100644 --- a/old_docs/API_docs_v73/methods/auth.signUp.md +++ b/old_docs/API_docs_v73/methods/auth.signUp.md @@ -20,7 +20,7 @@ You cannot use this method directly, use the completeSignup method instead (see |last\_name|[string](../types/string.md) | You cannot use this method directly, use the completeSignup method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **NO** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->signUp(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', 'first_name' => 'string', 'last_name' => 'string', ]); +$auth.Authorization = $MadelineProto->auth->signUp(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', 'first_name' => 'string', 'last_name' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.signUp({phone_number='string', phone_code_hash='string', phone_code='string', first_name='string', last_name='string', }) +auth.Authorization = auth.signUp({phone_number='string', phone_code_hash='string', phone_code='string', first_name='string', last_name='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v73/methods/channels.deleteMessages.md b/old_docs/API_docs_v73/methods/channels.deleteMessages.md index 10a439fb..8583e560 100644 --- a/old_docs/API_docs_v73/methods/channels.deleteMessages.md +++ b/old_docs/API_docs_v73/methods/channels.deleteMessages.md @@ -17,7 +17,7 @@ Delete messages in a [channel/supergroup](https://core.telegram.org/api/channel) |id|Array of [int](../types/int.md) | The IDs of messages to delete | Yes| -### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) +### Return type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedMessages = $MadelineProto->channels->deleteMessages(['channel' => InputChannel, 'id' => [int, int], ]); +$messages.AffectedMessages = $MadelineProto->channels->deleteMessages(['channel' => InputChannel, 'id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AffectedMessages = channels.deleteMessages({channel=InputChannel, id={int}, }) +messages.AffectedMessages = channels.deleteMessages({channel=InputChannel, id={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v73/methods/channels.deleteUserHistory.md b/old_docs/API_docs_v73/methods/channels.deleteUserHistory.md index 9b8b159f..6ccaf7dd 100644 --- a/old_docs/API_docs_v73/methods/channels.deleteUserHistory.md +++ b/old_docs/API_docs_v73/methods/channels.deleteUserHistory.md @@ -17,7 +17,7 @@ Delete all messages sent by a certain user in a [supergroup](https://core.telegr |user\_id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | User whose messages should be deleted | Optional| -### Return type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) +### Return type: [messages.AffectedHistory](../types/messages.AffectedHistory.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedHistory = $MadelineProto->channels->deleteUserHistory(['channel' => InputChannel, 'user_id' => InputUser, ]); +$messages.AffectedHistory = $MadelineProto->channels->deleteUserHistory(['channel' => InputChannel, 'user_id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -messages_AffectedHistory = channels.deleteUserHistory({channel=InputChannel, user_id=InputUser, }) +messages.AffectedHistory = channels.deleteUserHistory({channel=InputChannel, user_id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v73/methods/channels.getAdminLog.md b/old_docs/API_docs_v73/methods/channels.getAdminLog.md index e149f653..3b550a73 100644 --- a/old_docs/API_docs_v73/methods/channels.getAdminLog.md +++ b/old_docs/API_docs_v73/methods/channels.getAdminLog.md @@ -22,7 +22,7 @@ Get the admin log of a [channel/supergroup](https://core.telegram.org/api/channe |limit|[int](../types/int.md) | Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets) | Yes| -### Return type: [channels\_AdminLogResults](../types/channels_AdminLogResults.md) +### Return type: [channels.AdminLogResults](../types/channels.AdminLogResults.md) ### Can bots use this method: **NO** @@ -39,13 +39,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$channels_AdminLogResults = $MadelineProto->channels->getAdminLog(['channel' => InputChannel, 'q' => 'string', 'events_filter' => ChannelAdminLogEventsFilter, 'admins' => [InputUser, InputUser], 'max_id' => long, 'min_id' => long, 'limit' => int, ]); +$channels.AdminLogResults = $MadelineProto->channels->getAdminLog(['channel' => InputChannel, 'q' => 'string', 'events_filter' => ChannelAdminLogEventsFilter, 'admins' => [InputUser, InputUser], 'max_id' => long, 'min_id' => long, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -channels_AdminLogResults = channels.getAdminLog({channel=InputChannel, q='string', events_filter=ChannelAdminLogEventsFilter, admins={InputUser}, max_id=long, min_id=long, limit=int, }) +channels.AdminLogResults = channels.getAdminLog({channel=InputChannel, q='string', events_filter=ChannelAdminLogEventsFilter, admins={InputUser}, max_id=long, min_id=long, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v73/methods/channels.getAdminedPublicChannels.md b/old_docs/API_docs_v73/methods/channels.getAdminedPublicChannels.md index 55a686ca..eb277404 100644 --- a/old_docs/API_docs_v73/methods/channels.getAdminedPublicChannels.md +++ b/old_docs/API_docs_v73/methods/channels.getAdminedPublicChannels.md @@ -11,7 +11,7 @@ Get [channels/supergroups/geogroups](https://core.telegram.org/api/channel) we'r -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->channels->getAdminedPublicChannels(); +$messages.Chats = $MadelineProto->channels->getAdminedPublicChannels(); ``` Or, if you're into Lua: ```lua -messages_Chats = channels.getAdminedPublicChannels({}) +messages.Chats = channels.getAdminedPublicChannels({}) ``` diff --git a/old_docs/API_docs_v73/methods/channels.getChannels.md b/old_docs/API_docs_v73/methods/channels.getChannels.md index 368c96ce..ed9cf4a7 100644 --- a/old_docs/API_docs_v73/methods/channels.getChannels.md +++ b/old_docs/API_docs_v73/methods/channels.getChannels.md @@ -16,7 +16,7 @@ Get info about [channels/supergroups](https://core.telegram.org/api/channel) |id|Array of [Username, chat ID, Update, Message or InputChannel](../types/InputChannel.md) | The channel/supergroup MTProto IDs | Yes| -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->channels->getChannels(['id' => [InputChannel, InputChannel], ]); +$messages.Chats = $MadelineProto->channels->getChannels(['id' => [InputChannel, InputChannel], ]); ``` Or, if you're into Lua: ```lua -messages_Chats = channels.getChannels({id={InputChannel}, }) +messages.Chats = channels.getChannels({id={InputChannel}, }) ``` ### Errors diff --git a/old_docs/API_docs_v73/methods/channels.getFullChannel.md b/old_docs/API_docs_v73/methods/channels.getFullChannel.md index 08dc21bb..1369e0a0 100644 --- a/old_docs/API_docs_v73/methods/channels.getFullChannel.md +++ b/old_docs/API_docs_v73/methods/channels.getFullChannel.md @@ -16,7 +16,7 @@ You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo me |channel|[Username, chat ID, Update, Message or InputChannel](../types/InputChannel.md) | You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo methods instead (see https://docs.madelineproto.xyz for more info) | Optional| -### Return type: [messages\_ChatFull](../types/messages_ChatFull.md) +### Return type: [messages.ChatFull](../types/messages.ChatFull.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_ChatFull = $MadelineProto->channels->getFullChannel(['channel' => InputChannel, ]); +$messages.ChatFull = $MadelineProto->channels->getFullChannel(['channel' => InputChannel, ]); ``` Or, if you're into Lua: ```lua -messages_ChatFull = channels.getFullChannel({channel=InputChannel, }) +messages.ChatFull = channels.getFullChannel({channel=InputChannel, }) ``` ### Errors diff --git a/old_docs/API_docs_v73/methods/channels.getMessages.md b/old_docs/API_docs_v73/methods/channels.getMessages.md index 379e0e9d..5023ea1a 100644 --- a/old_docs/API_docs_v73/methods/channels.getMessages.md +++ b/old_docs/API_docs_v73/methods/channels.getMessages.md @@ -17,7 +17,7 @@ Get [channel/supergroup](https://core.telegram.org/api/channel) messages |id|Array of [int](../types/int.md) | The message IDs | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->channels->getMessages(['channel' => InputChannel, 'id' => [int, int], ]); +$messages.Messages = $MadelineProto->channels->getMessages(['channel' => InputChannel, 'id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Messages = channels.getMessages({channel=InputChannel, id={int}, }) +messages.Messages = channels.getMessages({channel=InputChannel, id={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v73/methods/channels.getParticipant.md b/old_docs/API_docs_v73/methods/channels.getParticipant.md index aa2ce655..cf6a7771 100644 --- a/old_docs/API_docs_v73/methods/channels.getParticipant.md +++ b/old_docs/API_docs_v73/methods/channels.getParticipant.md @@ -17,7 +17,7 @@ Get info about a [channel/supergroup](https://core.telegram.org/api/channel) par |user\_id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | ID of participant to get info about | Optional| -### Return type: [channels\_ChannelParticipant](../types/channels_ChannelParticipant.md) +### Return type: [channels.ChannelParticipant](../types/channels.ChannelParticipant.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$channels_ChannelParticipant = $MadelineProto->channels->getParticipant(['channel' => InputChannel, 'user_id' => InputUser, ]); +$channels.ChannelParticipant = $MadelineProto->channels->getParticipant(['channel' => InputChannel, 'user_id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -channels_ChannelParticipant = channels.getParticipant({channel=InputChannel, user_id=InputUser, }) +channels.ChannelParticipant = channels.getParticipant({channel=InputChannel, user_id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v73/methods/channels.getParticipants.md b/old_docs/API_docs_v73/methods/channels.getParticipants.md index dd7e0087..c6b15b63 100644 --- a/old_docs/API_docs_v73/methods/channels.getParticipants.md +++ b/old_docs/API_docs_v73/methods/channels.getParticipants.md @@ -20,7 +20,7 @@ Get the participants of a channel |hash|Array of [int](../types/int.md) | IDs of previously fetched participants | Optional| -### Return type: [channels\_ChannelParticipants](../types/channels_ChannelParticipants.md) +### Return type: [channels.ChannelParticipants](../types/channels.ChannelParticipants.md) ### Can bots use this method: **YES** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$channels_ChannelParticipants = $MadelineProto->channels->getParticipants(['channel' => InputChannel, 'filter' => ChannelParticipantsFilter, 'offset' => int, 'limit' => int, 'hash' => [int, int], ]); +$channels.ChannelParticipants = $MadelineProto->channels->getParticipants(['channel' => InputChannel, 'filter' => ChannelParticipantsFilter, 'offset' => int, 'limit' => int, 'hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -channels_ChannelParticipants = channels.getParticipants({channel=InputChannel, filter=ChannelParticipantsFilter, offset=int, limit=int, hash={int}, }) +channels.ChannelParticipants = channels.getParticipants({channel=InputChannel, filter=ChannelParticipantsFilter, offset=int, limit=int, hash={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v73/methods/contacts.deleteContact.md b/old_docs/API_docs_v73/methods/contacts.deleteContact.md index a9321d64..9169e1e0 100644 --- a/old_docs/API_docs_v73/methods/contacts.deleteContact.md +++ b/old_docs/API_docs_v73/methods/contacts.deleteContact.md @@ -16,7 +16,7 @@ Delete a contact |id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | The contact to delete | Optional| -### Return type: [contacts\_Link](../types/contacts_Link.md) +### Return type: [contacts.Link](../types/contacts.Link.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Link = $MadelineProto->contacts->deleteContact(['id' => InputUser, ]); +$contacts.Link = $MadelineProto->contacts->deleteContact(['id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -contacts_Link = contacts.deleteContact({id=InputUser, }) +contacts.Link = contacts.deleteContact({id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v73/methods/contacts.getBlocked.md b/old_docs/API_docs_v73/methods/contacts.getBlocked.md index 92f2f331..6ac1c343 100644 --- a/old_docs/API_docs_v73/methods/contacts.getBlocked.md +++ b/old_docs/API_docs_v73/methods/contacts.getBlocked.md @@ -17,7 +17,7 @@ Returns the list of blocked users. |limit|[int](../types/int.md) | The number of list elements to be returned | Yes| -### Return type: [contacts\_Blocked](../types/contacts_Blocked.md) +### Return type: [contacts.Blocked](../types/contacts.Blocked.md) ### Can bots use this method: **NO** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Blocked = $MadelineProto->contacts->getBlocked(['offset' => int, 'limit' => int, ]); +$contacts.Blocked = $MadelineProto->contacts->getBlocked(['offset' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -contacts_Blocked = contacts.getBlocked({offset=int, limit=int, }) +contacts.Blocked = contacts.getBlocked({offset=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v73/methods/contacts.getContacts.md b/old_docs/API_docs_v73/methods/contacts.getContacts.md index c67e6240..609549b0 100644 --- a/old_docs/API_docs_v73/methods/contacts.getContacts.md +++ b/old_docs/API_docs_v73/methods/contacts.getContacts.md @@ -16,7 +16,7 @@ Returns the current user's contact list. |hash|Array of [int](../types/int.md) | User IDs of previously cached contacts | Optional| -### Return type: [contacts\_Contacts](../types/contacts_Contacts.md) +### Return type: [contacts.Contacts](../types/contacts.Contacts.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Contacts = $MadelineProto->contacts->getContacts(['hash' => [int, int], ]); +$contacts.Contacts = $MadelineProto->contacts->getContacts(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -contacts_Contacts = contacts.getContacts({hash={int}, }) +contacts.Contacts = contacts.getContacts({hash={int}, }) ``` diff --git a/old_docs/API_docs_v73/methods/contacts.getTopPeers.md b/old_docs/API_docs_v73/methods/contacts.getTopPeers.md index 0acf7155..870de6b3 100644 --- a/old_docs/API_docs_v73/methods/contacts.getTopPeers.md +++ b/old_docs/API_docs_v73/methods/contacts.getTopPeers.md @@ -24,7 +24,7 @@ Get most used peers |hash|Array of [int](../types/int.md) | Peer IDs of previously cached peers | Optional| -### Return type: [contacts\_TopPeers](../types/contacts_TopPeers.md) +### Return type: [contacts.TopPeers](../types/contacts.TopPeers.md) ### Can bots use this method: **NO** @@ -41,13 +41,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_TopPeers = $MadelineProto->contacts->getTopPeers(['correspondents' => Bool, 'bots_pm' => Bool, 'bots_inline' => Bool, 'phone_calls' => Bool, 'groups' => Bool, 'channels' => Bool, 'offset' => int, 'limit' => int, 'hash' => [int, int], ]); +$contacts.TopPeers = $MadelineProto->contacts->getTopPeers(['correspondents' => Bool, 'bots_pm' => Bool, 'bots_inline' => Bool, 'phone_calls' => Bool, 'groups' => Bool, 'channels' => Bool, 'offset' => int, 'limit' => int, 'hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -contacts_TopPeers = contacts.getTopPeers({correspondents=Bool, bots_pm=Bool, bots_inline=Bool, phone_calls=Bool, groups=Bool, channels=Bool, offset=int, limit=int, hash={int}, }) +contacts.TopPeers = contacts.getTopPeers({correspondents=Bool, bots_pm=Bool, bots_inline=Bool, phone_calls=Bool, groups=Bool, channels=Bool, offset=int, limit=int, hash={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v73/methods/contacts.importContacts.md b/old_docs/API_docs_v73/methods/contacts.importContacts.md index 7c795780..dbb9b7fa 100644 --- a/old_docs/API_docs_v73/methods/contacts.importContacts.md +++ b/old_docs/API_docs_v73/methods/contacts.importContacts.md @@ -16,7 +16,7 @@ Imports contacts: saves a full list on the server, adds already registered conta |contacts|Array of [InputContact](../types/InputContact.md) | The numbers to import | Yes| -### Return type: [contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) +### Return type: [contacts.ImportedContacts](../types/contacts.ImportedContacts.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_ImportedContacts = $MadelineProto->contacts->importContacts(['contacts' => [InputContact, InputContact], ]); +$contacts.ImportedContacts = $MadelineProto->contacts->importContacts(['contacts' => [InputContact, InputContact], ]); ``` Or, if you're into Lua: ```lua -contacts_ImportedContacts = contacts.importContacts({contacts={InputContact}, }) +contacts.ImportedContacts = contacts.importContacts({contacts={InputContact}, }) ``` diff --git a/old_docs/API_docs_v73/methods/contacts.resolveUsername.md b/old_docs/API_docs_v73/methods/contacts.resolveUsername.md index 05e3d854..46f1eb50 100644 --- a/old_docs/API_docs_v73/methods/contacts.resolveUsername.md +++ b/old_docs/API_docs_v73/methods/contacts.resolveUsername.md @@ -16,7 +16,7 @@ You cannot use this method directly, use the resolveUsername, getPwrChat, getInf |username|[string](../types/string.md) | You cannot use this method directly, use the resolveUsername, getPwrChat, getInfo, getFullInfo methods instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [contacts\_ResolvedPeer](../types/contacts_ResolvedPeer.md) +### Return type: [contacts.ResolvedPeer](../types/contacts.ResolvedPeer.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_ResolvedPeer = $MadelineProto->contacts->resolveUsername(['username' => 'string', ]); +$contacts.ResolvedPeer = $MadelineProto->contacts->resolveUsername(['username' => 'string', ]); ``` Or, if you're into Lua: ```lua -contacts_ResolvedPeer = contacts.resolveUsername({username='string', }) +contacts.ResolvedPeer = contacts.resolveUsername({username='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v73/methods/contacts.search.md b/old_docs/API_docs_v73/methods/contacts.search.md index 2f39d6f1..ec04c7f9 100644 --- a/old_docs/API_docs_v73/methods/contacts.search.md +++ b/old_docs/API_docs_v73/methods/contacts.search.md @@ -17,7 +17,7 @@ Returns users found by username substring. |limit|[int](../types/int.md) | Maximum number of users to be returned | Yes| -### Return type: [contacts\_Found](../types/contacts_Found.md) +### Return type: [contacts.Found](../types/contacts.Found.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Found = $MadelineProto->contacts->search(['q' => 'string', 'limit' => int, ]); +$contacts.Found = $MadelineProto->contacts->search(['q' => 'string', 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -contacts_Found = contacts.search({q='string', limit=int, }) +contacts.Found = contacts.search({q='string', limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v73/methods/help.getAppUpdate.md b/old_docs/API_docs_v73/methods/help.getAppUpdate.md index 4c58e898..b9899d71 100644 --- a/old_docs/API_docs_v73/methods/help.getAppUpdate.md +++ b/old_docs/API_docs_v73/methods/help.getAppUpdate.md @@ -11,7 +11,7 @@ Returns information on update availability for the current application. -### Return type: [help\_AppUpdate](../types/help_AppUpdate.md) +### Return type: [help.AppUpdate](../types/help.AppUpdate.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_AppUpdate = $MadelineProto->help->getAppUpdate(); +$help.AppUpdate = $MadelineProto->help->getAppUpdate(); ``` Or, if you're into Lua: ```lua -help_AppUpdate = help.getAppUpdate({}) +help.AppUpdate = help.getAppUpdate({}) ``` diff --git a/old_docs/API_docs_v73/methods/help.getInviteText.md b/old_docs/API_docs_v73/methods/help.getInviteText.md index 6fd67362..0d427974 100644 --- a/old_docs/API_docs_v73/methods/help.getInviteText.md +++ b/old_docs/API_docs_v73/methods/help.getInviteText.md @@ -11,7 +11,7 @@ Returns text of a text message with an invitation. -### Return type: [help\_InviteText](../types/help_InviteText.md) +### Return type: [help.InviteText](../types/help.InviteText.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_InviteText = $MadelineProto->help->getInviteText(); +$help.InviteText = $MadelineProto->help->getInviteText(); ``` Or, if you're into Lua: ```lua -help_InviteText = help.getInviteText({}) +help.InviteText = help.getInviteText({}) ``` diff --git a/old_docs/API_docs_v73/methods/help.getRecentMeUrls.md b/old_docs/API_docs_v73/methods/help.getRecentMeUrls.md index 38cc44c8..a5ab9e06 100644 --- a/old_docs/API_docs_v73/methods/help.getRecentMeUrls.md +++ b/old_docs/API_docs_v73/methods/help.getRecentMeUrls.md @@ -16,7 +16,7 @@ Get recently used `t.me` links |referer|[string](../types/string.md) | Referer | Yes| -### Return type: [help\_RecentMeUrls](../types/help_RecentMeUrls.md) +### Return type: [help.RecentMeUrls](../types/help.RecentMeUrls.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_RecentMeUrls = $MadelineProto->help->getRecentMeUrls(['referer' => 'string', ]); +$help.RecentMeUrls = $MadelineProto->help->getRecentMeUrls(['referer' => 'string', ]); ``` Or, if you're into Lua: ```lua -help_RecentMeUrls = help.getRecentMeUrls({referer='string', }) +help.RecentMeUrls = help.getRecentMeUrls({referer='string', }) ``` diff --git a/old_docs/API_docs_v73/methods/help.getSupport.md b/old_docs/API_docs_v73/methods/help.getSupport.md index 7a577892..8a8df916 100644 --- a/old_docs/API_docs_v73/methods/help.getSupport.md +++ b/old_docs/API_docs_v73/methods/help.getSupport.md @@ -11,7 +11,7 @@ Returns the support user for the 'ask a question' feature. -### Return type: [help\_Support](../types/help_Support.md) +### Return type: [help.Support](../types/help.Support.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_Support = $MadelineProto->help->getSupport(); +$help.Support = $MadelineProto->help->getSupport(); ``` Or, if you're into Lua: ```lua -help_Support = help.getSupport({}) +help.Support = help.getSupport({}) ``` diff --git a/old_docs/API_docs_v73/methods/help.getTermsOfService.md b/old_docs/API_docs_v73/methods/help.getTermsOfService.md index f6226458..9f9b28f9 100644 --- a/old_docs/API_docs_v73/methods/help.getTermsOfService.md +++ b/old_docs/API_docs_v73/methods/help.getTermsOfService.md @@ -11,7 +11,7 @@ Get terms of service -### Return type: [help\_TermsOfService](../types/help_TermsOfService.md) +### Return type: [help.TermsOfService](../types/help.TermsOfService.md) ### Can bots use this method: **YES** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_TermsOfService = $MadelineProto->help->getTermsOfService(); +$help.TermsOfService = $MadelineProto->help->getTermsOfService(); ``` Or, if you're into Lua: ```lua -help_TermsOfService = help.getTermsOfService({}) +help.TermsOfService = help.getTermsOfService({}) ``` diff --git a/old_docs/API_docs_v73/methods/messages.deleteHistory.md b/old_docs/API_docs_v73/methods/messages.deleteHistory.md index 9ae1bae9..41460415 100644 --- a/old_docs/API_docs_v73/methods/messages.deleteHistory.md +++ b/old_docs/API_docs_v73/methods/messages.deleteHistory.md @@ -18,7 +18,7 @@ Deletes communication history. |max\_id|[int](../types/int.md) | Maximum ID of message to delete | Yes| -### Return type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) +### Return type: [messages.AffectedHistory](../types/messages.AffectedHistory.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedHistory = $MadelineProto->messages->deleteHistory(['just_clear' => Bool, 'peer' => InputPeer, 'max_id' => int, ]); +$messages.AffectedHistory = $MadelineProto->messages->deleteHistory(['just_clear' => Bool, 'peer' => InputPeer, 'max_id' => int, ]); ``` Or, if you're into Lua: ```lua -messages_AffectedHistory = messages.deleteHistory({just_clear=Bool, peer=InputPeer, max_id=int, }) +messages.AffectedHistory = messages.deleteHistory({just_clear=Bool, peer=InputPeer, max_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v73/methods/messages.deleteMessages.md b/old_docs/API_docs_v73/methods/messages.deleteMessages.md index ade04cae..ade96e60 100644 --- a/old_docs/API_docs_v73/methods/messages.deleteMessages.md +++ b/old_docs/API_docs_v73/methods/messages.deleteMessages.md @@ -17,7 +17,7 @@ Deletes messages by their identifiers. |id|Array of [int](../types/int.md) | IDs of messages to delete, use channels->deleteMessages for supergroups | Yes| -### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) +### Return type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedMessages = $MadelineProto->messages->deleteMessages(['revoke' => Bool, 'id' => [int, int], ]); +$messages.AffectedMessages = $MadelineProto->messages->deleteMessages(['revoke' => Bool, 'id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AffectedMessages = messages.deleteMessages({revoke=Bool, id={int}, }) +messages.AffectedMessages = messages.deleteMessages({revoke=Bool, id={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v73/methods/messages.getAllChats.md b/old_docs/API_docs_v73/methods/messages.getAllChats.md index cdcc5430..97cc4817 100644 --- a/old_docs/API_docs_v73/methods/messages.getAllChats.md +++ b/old_docs/API_docs_v73/methods/messages.getAllChats.md @@ -16,7 +16,7 @@ Get all chats, channels and supergroups |except\_ids|Array of [int](../types/int.md) | Do not fetch these chats (MTProto id) | Yes| -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->messages->getAllChats(['except_ids' => [int, int], ]); +$messages.Chats = $MadelineProto->messages->getAllChats(['except_ids' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Chats = messages.getAllChats({except_ids={int}, }) +messages.Chats = messages.getAllChats({except_ids={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v73/methods/messages.getAllStickers.md b/old_docs/API_docs_v73/methods/messages.getAllStickers.md index 329b70be..0f0de7f1 100644 --- a/old_docs/API_docs_v73/methods/messages.getAllStickers.md +++ b/old_docs/API_docs_v73/methods/messages.getAllStickers.md @@ -16,7 +16,7 @@ Get all installed stickers |hash|Array of [int](../types/int.md) | The hash parameter of the previous result of this method | Optional| -### Return type: [messages\_AllStickers](../types/messages_AllStickers.md) +### Return type: [messages.AllStickers](../types/messages.AllStickers.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AllStickers = $MadelineProto->messages->getAllStickers(['hash' => [int, int], ]); +$messages.AllStickers = $MadelineProto->messages->getAllStickers(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AllStickers = messages.getAllStickers({hash={int}, }) +messages.AllStickers = messages.getAllStickers({hash={int}, }) ``` diff --git a/old_docs/API_docs_v73/methods/messages.getArchivedStickers.md b/old_docs/API_docs_v73/methods/messages.getArchivedStickers.md index d3abe9fc..c108376e 100644 --- a/old_docs/API_docs_v73/methods/messages.getArchivedStickers.md +++ b/old_docs/API_docs_v73/methods/messages.getArchivedStickers.md @@ -18,7 +18,7 @@ Get all archived stickers |limit|[int](../types/int.md) | Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_ArchivedStickers](../types/messages_ArchivedStickers.md) +### Return type: [messages.ArchivedStickers](../types/messages.ArchivedStickers.md) ### Can bots use this method: **NO** @@ -35,12 +35,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_ArchivedStickers = $MadelineProto->messages->getArchivedStickers(['masks' => Bool, 'offset_id' => long, 'limit' => int, ]); +$messages.ArchivedStickers = $MadelineProto->messages->getArchivedStickers(['masks' => Bool, 'offset_id' => long, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -messages_ArchivedStickers = messages.getArchivedStickers({masks=Bool, offset_id=long, limit=int, }) +messages.ArchivedStickers = messages.getArchivedStickers({masks=Bool, offset_id=long, limit=int, }) ``` diff --git a/old_docs/API_docs_v73/methods/messages.getBotCallbackAnswer.md b/old_docs/API_docs_v73/methods/messages.getBotCallbackAnswer.md index 015fc46b..10072386 100644 --- a/old_docs/API_docs_v73/methods/messages.getBotCallbackAnswer.md +++ b/old_docs/API_docs_v73/methods/messages.getBotCallbackAnswer.md @@ -19,7 +19,7 @@ Press an inline callback button and get a callback answer from the bot |data|[bytes](../types/bytes.md) | Callback data | Optional| -### Return type: [messages\_BotCallbackAnswer](../types/messages_BotCallbackAnswer.md) +### Return type: [messages.BotCallbackAnswer](../types/messages.BotCallbackAnswer.md) ### Can bots use this method: **NO** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_BotCallbackAnswer = $MadelineProto->messages->getBotCallbackAnswer(['game' => Bool, 'peer' => InputPeer, 'msg_id' => int, 'data' => 'bytes', ]); +$messages.BotCallbackAnswer = $MadelineProto->messages->getBotCallbackAnswer(['game' => Bool, 'peer' => InputPeer, 'msg_id' => int, 'data' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -messages_BotCallbackAnswer = messages.getBotCallbackAnswer({game=Bool, peer=InputPeer, msg_id=int, data='bytes', }) +messages.BotCallbackAnswer = messages.getBotCallbackAnswer({game=Bool, peer=InputPeer, msg_id=int, data='bytes', }) ``` ### Errors diff --git a/old_docs/API_docs_v73/methods/messages.getChats.md b/old_docs/API_docs_v73/methods/messages.getChats.md index c34b0488..146341f5 100644 --- a/old_docs/API_docs_v73/methods/messages.getChats.md +++ b/old_docs/API_docs_v73/methods/messages.getChats.md @@ -16,7 +16,7 @@ Returns chat basic info on their IDs. |id|Array of [int](../types/int.md) | The MTProto IDs of chats to fetch info about | Yes| -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->messages->getChats(['id' => [int, int], ]); +$messages.Chats = $MadelineProto->messages->getChats(['id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Chats = messages.getChats({id={int}, }) +messages.Chats = messages.getChats({id={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v73/methods/messages.getCommonChats.md b/old_docs/API_docs_v73/methods/messages.getCommonChats.md index fc7b2363..56a3ec01 100644 --- a/old_docs/API_docs_v73/methods/messages.getCommonChats.md +++ b/old_docs/API_docs_v73/methods/messages.getCommonChats.md @@ -18,7 +18,7 @@ Get chats in common with a user |limit|[int](../types/int.md) | Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->messages->getCommonChats(['user_id' => InputUser, 'max_id' => int, 'limit' => int, ]); +$messages.Chats = $MadelineProto->messages->getCommonChats(['user_id' => InputUser, 'max_id' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Chats = messages.getCommonChats({user_id=InputUser, max_id=int, limit=int, }) +messages.Chats = messages.getCommonChats({user_id=InputUser, max_id=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v73/methods/messages.getDhConfig.md b/old_docs/API_docs_v73/methods/messages.getDhConfig.md index 88ea4ab3..7b9da566 100644 --- a/old_docs/API_docs_v73/methods/messages.getDhConfig.md +++ b/old_docs/API_docs_v73/methods/messages.getDhConfig.md @@ -17,7 +17,7 @@ You cannot use this method directly, instead use $MadelineProto->getDhConfig(); |random\_length|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->getDhConfig(); | Yes| -### Return type: [messages\_DhConfig](../types/messages_DhConfig.md) +### Return type: [messages.DhConfig](../types/messages.DhConfig.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_DhConfig = $MadelineProto->messages->getDhConfig(['version' => int, 'random_length' => int, ]); +$messages.DhConfig = $MadelineProto->messages->getDhConfig(['version' => int, 'random_length' => int, ]); ``` Or, if you're into Lua: ```lua -messages_DhConfig = messages.getDhConfig({version=int, random_length=int, }) +messages.DhConfig = messages.getDhConfig({version=int, random_length=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v73/methods/messages.getDialogs.md b/old_docs/API_docs_v73/methods/messages.getDialogs.md index 9f3fd365..44b8efc8 100644 --- a/old_docs/API_docs_v73/methods/messages.getDialogs.md +++ b/old_docs/API_docs_v73/methods/messages.getDialogs.md @@ -20,7 +20,7 @@ Returns the current user dialog list. |limit|[int](../types/int.md) | Number of list elements to be returned | Yes| -### Return type: [messages\_Dialogs](../types/messages_Dialogs.md) +### Return type: [messages.Dialogs](../types/messages.Dialogs.md) ### Can bots use this method: **NO** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Dialogs = $MadelineProto->messages->getDialogs(['exclude_pinned' => Bool, 'offset_date' => int, 'offset_id' => int, 'offset_peer' => InputPeer, 'limit' => int, ]); +$messages.Dialogs = $MadelineProto->messages->getDialogs(['exclude_pinned' => Bool, 'offset_date' => int, 'offset_id' => int, 'offset_peer' => InputPeer, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Dialogs = messages.getDialogs({exclude_pinned=Bool, offset_date=int, offset_id=int, offset_peer=InputPeer, limit=int, }) +messages.Dialogs = messages.getDialogs({exclude_pinned=Bool, offset_date=int, offset_id=int, offset_peer=InputPeer, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v73/methods/messages.getFavedStickers.md b/old_docs/API_docs_v73/methods/messages.getFavedStickers.md index 3ba077ef..19f64e43 100644 --- a/old_docs/API_docs_v73/methods/messages.getFavedStickers.md +++ b/old_docs/API_docs_v73/methods/messages.getFavedStickers.md @@ -16,7 +16,7 @@ Get faved stickers |hash|Array of [int](../types/int.md) | the hash parameter of the previous result of this method | Optional| -### Return type: [messages\_FavedStickers](../types/messages_FavedStickers.md) +### Return type: [messages.FavedStickers](../types/messages.FavedStickers.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_FavedStickers = $MadelineProto->messages->getFavedStickers(['hash' => [int, int], ]); +$messages.FavedStickers = $MadelineProto->messages->getFavedStickers(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_FavedStickers = messages.getFavedStickers({hash={int}, }) +messages.FavedStickers = messages.getFavedStickers({hash={int}, }) ``` diff --git a/old_docs/API_docs_v73/methods/messages.getFeaturedStickers.md b/old_docs/API_docs_v73/methods/messages.getFeaturedStickers.md index 8f2634c3..2d65d626 100644 --- a/old_docs/API_docs_v73/methods/messages.getFeaturedStickers.md +++ b/old_docs/API_docs_v73/methods/messages.getFeaturedStickers.md @@ -16,7 +16,7 @@ Get featured stickers |hash|Array of [int](../types/int.md) | the hash parameter of the previous result of this method | Optional| -### Return type: [messages\_FeaturedStickers](../types/messages_FeaturedStickers.md) +### Return type: [messages.FeaturedStickers](../types/messages.FeaturedStickers.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_FeaturedStickers = $MadelineProto->messages->getFeaturedStickers(['hash' => [int, int], ]); +$messages.FeaturedStickers = $MadelineProto->messages->getFeaturedStickers(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_FeaturedStickers = messages.getFeaturedStickers({hash={int}, }) +messages.FeaturedStickers = messages.getFeaturedStickers({hash={int}, }) ``` diff --git a/old_docs/API_docs_v73/methods/messages.getFullChat.md b/old_docs/API_docs_v73/methods/messages.getFullChat.md index abf23e21..de543651 100644 --- a/old_docs/API_docs_v73/methods/messages.getFullChat.md +++ b/old_docs/API_docs_v73/methods/messages.getFullChat.md @@ -16,7 +16,7 @@ You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo me |chat\_id|[Username, chat ID, Update, Message or InputPeer](../types/InputPeer.md) | You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo methods instead (see https://docs.madelineproto.xyz for more info) | Optional| -### Return type: [messages\_ChatFull](../types/messages_ChatFull.md) +### Return type: [messages.ChatFull](../types/messages.ChatFull.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_ChatFull = $MadelineProto->messages->getFullChat(['chat_id' => InputPeer, ]); +$messages.ChatFull = $MadelineProto->messages->getFullChat(['chat_id' => InputPeer, ]); ``` Or, if you're into Lua: ```lua -messages_ChatFull = messages.getFullChat({chat_id=InputPeer, }) +messages.ChatFull = messages.getFullChat({chat_id=InputPeer, }) ``` ### Errors diff --git a/old_docs/API_docs_v73/methods/messages.getGameHighScores.md b/old_docs/API_docs_v73/methods/messages.getGameHighScores.md index 0ee9d754..6e4dacb2 100644 --- a/old_docs/API_docs_v73/methods/messages.getGameHighScores.md +++ b/old_docs/API_docs_v73/methods/messages.getGameHighScores.md @@ -18,7 +18,7 @@ Get highscores of a game |user\_id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | Get high scores made by a certain user | Optional| -### Return type: [messages\_HighScores](../types/messages_HighScores.md) +### Return type: [messages.HighScores](../types/messages.HighScores.md) ### Can bots use this method: **YES** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_HighScores = $MadelineProto->messages->getGameHighScores(['peer' => InputPeer, 'id' => int, 'user_id' => InputUser, ]); +$messages.HighScores = $MadelineProto->messages->getGameHighScores(['peer' => InputPeer, 'id' => int, 'user_id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -messages_HighScores = messages.getGameHighScores({peer=InputPeer, id=int, user_id=InputUser, }) +messages.HighScores = messages.getGameHighScores({peer=InputPeer, id=int, user_id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v73/methods/messages.getHistory.md b/old_docs/API_docs_v73/methods/messages.getHistory.md index 9a3d5f8c..c7bd9850 100644 --- a/old_docs/API_docs_v73/methods/messages.getHistory.md +++ b/old_docs/API_docs_v73/methods/messages.getHistory.md @@ -23,7 +23,7 @@ Gets back the conversation history with one interlocutor / within a chat |hash|Array of [int](../types/int.md) | IDs of messages you already fetched | Optional| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **NO** @@ -40,13 +40,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->getHistory(['peer' => InputPeer, 'offset_id' => int, 'offset_date' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, 'hash' => [int, int], ]); +$messages.Messages = $MadelineProto->messages->getHistory(['peer' => InputPeer, 'offset_id' => int, 'offset_date' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, 'hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.getHistory({peer=InputPeer, offset_id=int, offset_date=int, add_offset=int, limit=int, max_id=int, min_id=int, hash={int}, }) +messages.Messages = messages.getHistory({peer=InputPeer, offset_id=int, offset_date=int, add_offset=int, limit=int, max_id=int, min_id=int, hash={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v73/methods/messages.getInlineBotResults.md b/old_docs/API_docs_v73/methods/messages.getInlineBotResults.md index ac251797..8a397236 100644 --- a/old_docs/API_docs_v73/methods/messages.getInlineBotResults.md +++ b/old_docs/API_docs_v73/methods/messages.getInlineBotResults.md @@ -20,7 +20,7 @@ Query an inline bot |offset|[string](../types/string.md) | The offset within the results, will be passed directly as-is to the bot. | Yes| -### Return type: [messages\_BotResults](../types/messages_BotResults.md) +### Return type: [messages.BotResults](../types/messages.BotResults.md) ### Can bots use this method: **NO** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_BotResults = $MadelineProto->messages->getInlineBotResults(['bot' => InputUser, 'peer' => InputPeer, 'geo_point' => InputGeoPoint, 'query' => 'string', 'offset' => 'string', ]); +$messages.BotResults = $MadelineProto->messages->getInlineBotResults(['bot' => InputUser, 'peer' => InputPeer, 'geo_point' => InputGeoPoint, 'query' => 'string', 'offset' => 'string', ]); ``` Or, if you're into Lua: ```lua -messages_BotResults = messages.getInlineBotResults({bot=InputUser, peer=InputPeer, geo_point=InputGeoPoint, query='string', offset='string', }) +messages.BotResults = messages.getInlineBotResults({bot=InputUser, peer=InputPeer, geo_point=InputGeoPoint, query='string', offset='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v73/methods/messages.getInlineGameHighScores.md b/old_docs/API_docs_v73/methods/messages.getInlineGameHighScores.md index 0d02b426..dbcb2cf6 100644 --- a/old_docs/API_docs_v73/methods/messages.getInlineGameHighScores.md +++ b/old_docs/API_docs_v73/methods/messages.getInlineGameHighScores.md @@ -17,7 +17,7 @@ Get highscores of a game sent using an inline bot |user\_id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | Get high scores of a certain user | Optional| -### Return type: [messages\_HighScores](../types/messages_HighScores.md) +### Return type: [messages.HighScores](../types/messages.HighScores.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_HighScores = $MadelineProto->messages->getInlineGameHighScores(['id' => InputBotInlineMessageID, 'user_id' => InputUser, ]); +$messages.HighScores = $MadelineProto->messages->getInlineGameHighScores(['id' => InputBotInlineMessageID, 'user_id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -messages_HighScores = messages.getInlineGameHighScores({id=InputBotInlineMessageID, user_id=InputUser, }) +messages.HighScores = messages.getInlineGameHighScores({id=InputBotInlineMessageID, user_id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v73/methods/messages.getMaskStickers.md b/old_docs/API_docs_v73/methods/messages.getMaskStickers.md index a09834e1..093645f6 100644 --- a/old_docs/API_docs_v73/methods/messages.getMaskStickers.md +++ b/old_docs/API_docs_v73/methods/messages.getMaskStickers.md @@ -16,7 +16,7 @@ Get installed mask stickers |hash|Array of [int](../types/int.md) | the hash parameter of the previous result of this method | Optional| -### Return type: [messages\_AllStickers](../types/messages_AllStickers.md) +### Return type: [messages.AllStickers](../types/messages.AllStickers.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AllStickers = $MadelineProto->messages->getMaskStickers(['hash' => [int, int], ]); +$messages.AllStickers = $MadelineProto->messages->getMaskStickers(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AllStickers = messages.getMaskStickers({hash={int}, }) +messages.AllStickers = messages.getMaskStickers({hash={int}, }) ``` diff --git a/old_docs/API_docs_v73/methods/messages.getMessageEditData.md b/old_docs/API_docs_v73/methods/messages.getMessageEditData.md index 1a083f08..7fd32e82 100644 --- a/old_docs/API_docs_v73/methods/messages.getMessageEditData.md +++ b/old_docs/API_docs_v73/methods/messages.getMessageEditData.md @@ -17,7 +17,7 @@ Find out if a media message's caption can be edited |id|[int](../types/int.md) | ID of message | Yes| -### Return type: [messages\_MessageEditData](../types/messages_MessageEditData.md) +### Return type: [messages.MessageEditData](../types/messages.MessageEditData.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_MessageEditData = $MadelineProto->messages->getMessageEditData(['peer' => InputPeer, 'id' => int, ]); +$messages.MessageEditData = $MadelineProto->messages->getMessageEditData(['peer' => InputPeer, 'id' => int, ]); ``` Or, if you're into Lua: ```lua -messages_MessageEditData = messages.getMessageEditData({peer=InputPeer, id=int, }) +messages.MessageEditData = messages.getMessageEditData({peer=InputPeer, id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v73/methods/messages.getMessages.md b/old_docs/API_docs_v73/methods/messages.getMessages.md index a3139513..c7760d7e 100644 --- a/old_docs/API_docs_v73/methods/messages.getMessages.md +++ b/old_docs/API_docs_v73/methods/messages.getMessages.md @@ -16,7 +16,7 @@ Returns the list of messages by their IDs. |id|Array of [int](../types/int.md) | The IDs of messages to fetch (only for users and normal groups) | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **YES** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->getMessages(['id' => [int, int], ]); +$messages.Messages = $MadelineProto->messages->getMessages(['id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.getMessages({id={int}, }) +messages.Messages = messages.getMessages({id={int}, }) ``` diff --git a/old_docs/API_docs_v73/methods/messages.getPeerDialogs.md b/old_docs/API_docs_v73/methods/messages.getPeerDialogs.md index a2c2714b..79bd7fa3 100644 --- a/old_docs/API_docs_v73/methods/messages.getPeerDialogs.md +++ b/old_docs/API_docs_v73/methods/messages.getPeerDialogs.md @@ -16,7 +16,7 @@ Get dialog info of specified peers |peers|Array of [Username, chat ID, Update, Message or InputPeer](../types/InputPeer.md) | The peers | Yes| -### Return type: [messages\_PeerDialogs](../types/messages_PeerDialogs.md) +### Return type: [messages.PeerDialogs](../types/messages.PeerDialogs.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_PeerDialogs = $MadelineProto->messages->getPeerDialogs(['peers' => [InputPeer, InputPeer], ]); +$messages.PeerDialogs = $MadelineProto->messages->getPeerDialogs(['peers' => [InputPeer, InputPeer], ]); ``` Or, if you're into Lua: ```lua -messages_PeerDialogs = messages.getPeerDialogs({peers={InputPeer}, }) +messages.PeerDialogs = messages.getPeerDialogs({peers={InputPeer}, }) ``` ### Errors diff --git a/old_docs/API_docs_v73/methods/messages.getPinnedDialogs.md b/old_docs/API_docs_v73/methods/messages.getPinnedDialogs.md index f106098d..161075f2 100644 --- a/old_docs/API_docs_v73/methods/messages.getPinnedDialogs.md +++ b/old_docs/API_docs_v73/methods/messages.getPinnedDialogs.md @@ -11,7 +11,7 @@ Get pinned dialogs -### Return type: [messages\_PeerDialogs](../types/messages_PeerDialogs.md) +### Return type: [messages.PeerDialogs](../types/messages.PeerDialogs.md) ### Can bots use this method: **NO** @@ -28,13 +28,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_PeerDialogs = $MadelineProto->messages->getPinnedDialogs(); +$messages.PeerDialogs = $MadelineProto->messages->getPinnedDialogs(); ``` Or, if you're into Lua: ```lua -messages_PeerDialogs = messages.getPinnedDialogs({}) +messages.PeerDialogs = messages.getPinnedDialogs({}) ``` ### Errors diff --git a/old_docs/API_docs_v73/methods/messages.getRecentLocations.md b/old_docs/API_docs_v73/methods/messages.getRecentLocations.md index 751c1c89..cce23765 100644 --- a/old_docs/API_docs_v73/methods/messages.getRecentLocations.md +++ b/old_docs/API_docs_v73/methods/messages.getRecentLocations.md @@ -17,7 +17,7 @@ Get live location history of a certain user |limit|[int](../types/int.md) | Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **NO** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->getRecentLocations(['peer' => InputPeer, 'limit' => int, ]); +$messages.Messages = $MadelineProto->messages->getRecentLocations(['peer' => InputPeer, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.getRecentLocations({peer=InputPeer, limit=int, }) +messages.Messages = messages.getRecentLocations({peer=InputPeer, limit=int, }) ``` diff --git a/old_docs/API_docs_v73/methods/messages.getRecentStickers.md b/old_docs/API_docs_v73/methods/messages.getRecentStickers.md index 28a70889..39cef16a 100644 --- a/old_docs/API_docs_v73/methods/messages.getRecentStickers.md +++ b/old_docs/API_docs_v73/methods/messages.getRecentStickers.md @@ -17,7 +17,7 @@ Get recent stickers |hash|Array of [int](../types/int.md) | IDs the hash parameter of the previous result of this method | Optional| -### Return type: [messages\_RecentStickers](../types/messages_RecentStickers.md) +### Return type: [messages.RecentStickers](../types/messages.RecentStickers.md) ### Can bots use this method: **NO** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_RecentStickers = $MadelineProto->messages->getRecentStickers(['attached' => Bool, 'hash' => [int, int], ]); +$messages.RecentStickers = $MadelineProto->messages->getRecentStickers(['attached' => Bool, 'hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_RecentStickers = messages.getRecentStickers({attached=Bool, hash={int}, }) +messages.RecentStickers = messages.getRecentStickers({attached=Bool, hash={int}, }) ``` diff --git a/old_docs/API_docs_v73/methods/messages.getSavedGifs.md b/old_docs/API_docs_v73/methods/messages.getSavedGifs.md index 1df7f37c..8b31f7b8 100644 --- a/old_docs/API_docs_v73/methods/messages.getSavedGifs.md +++ b/old_docs/API_docs_v73/methods/messages.getSavedGifs.md @@ -16,7 +16,7 @@ Get saved GIFs |hash|Array of [int](../types/int.md) | the hash parameter of the previous result of this method | Optional| -### Return type: [messages\_SavedGifs](../types/messages_SavedGifs.md) +### Return type: [messages.SavedGifs](../types/messages.SavedGifs.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_SavedGifs = $MadelineProto->messages->getSavedGifs(['hash' => [int, int], ]); +$messages.SavedGifs = $MadelineProto->messages->getSavedGifs(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_SavedGifs = messages.getSavedGifs({hash={int}, }) +messages.SavedGifs = messages.getSavedGifs({hash={int}, }) ``` diff --git a/old_docs/API_docs_v73/methods/messages.getStickerSet.md b/old_docs/API_docs_v73/methods/messages.getStickerSet.md index 45fca60f..f11887ee 100644 --- a/old_docs/API_docs_v73/methods/messages.getStickerSet.md +++ b/old_docs/API_docs_v73/methods/messages.getStickerSet.md @@ -16,7 +16,7 @@ Get info about a stickerset |stickerset|[InputStickerSet](../types/InputStickerSet.md) | Stickerset | Optional| -### Return type: [messages\_StickerSet](../types/messages_StickerSet.md) +### Return type: [messages.StickerSet](../types/messages.StickerSet.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StickerSet = $MadelineProto->messages->getStickerSet(['stickerset' => InputStickerSet, ]); +$messages.StickerSet = $MadelineProto->messages->getStickerSet(['stickerset' => InputStickerSet, ]); ``` Or, if you're into Lua: ```lua -messages_StickerSet = messages.getStickerSet({stickerset=InputStickerSet, }) +messages.StickerSet = messages.getStickerSet({stickerset=InputStickerSet, }) ``` ### Errors diff --git a/old_docs/API_docs_v73/methods/messages.getUnreadMentions.md b/old_docs/API_docs_v73/methods/messages.getUnreadMentions.md index 33bba261..679ed841 100644 --- a/old_docs/API_docs_v73/methods/messages.getUnreadMentions.md +++ b/old_docs/API_docs_v73/methods/messages.getUnreadMentions.md @@ -21,7 +21,7 @@ Get unread messages where we were mentioned |min\_id|[int](../types/int.md) | Minimum message ID to return, [see pagination](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **NO** @@ -38,13 +38,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->getUnreadMentions(['peer' => InputPeer, 'offset_id' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); +$messages.Messages = $MadelineProto->messages->getUnreadMentions(['peer' => InputPeer, 'offset_id' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.getUnreadMentions({peer=InputPeer, offset_id=int, add_offset=int, limit=int, max_id=int, min_id=int, }) +messages.Messages = messages.getUnreadMentions({peer=InputPeer, offset_id=int, add_offset=int, limit=int, max_id=int, min_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v73/methods/messages.installStickerSet.md b/old_docs/API_docs_v73/methods/messages.installStickerSet.md index 1a95ca0b..83ce2121 100644 --- a/old_docs/API_docs_v73/methods/messages.installStickerSet.md +++ b/old_docs/API_docs_v73/methods/messages.installStickerSet.md @@ -17,7 +17,7 @@ Install a stickerset |archived|[Bool](../types/Bool.md) | Whether to archive stickerset | Yes| -### Return type: [messages\_StickerSetInstallResult](../types/messages_StickerSetInstallResult.md) +### Return type: [messages.StickerSetInstallResult](../types/messages.StickerSetInstallResult.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StickerSetInstallResult = $MadelineProto->messages->installStickerSet(['stickerset' => InputStickerSet, 'archived' => Bool, ]); +$messages.StickerSetInstallResult = $MadelineProto->messages->installStickerSet(['stickerset' => InputStickerSet, 'archived' => Bool, ]); ``` Or, if you're into Lua: ```lua -messages_StickerSetInstallResult = messages.installStickerSet({stickerset=InputStickerSet, archived=Bool, }) +messages.StickerSetInstallResult = messages.installStickerSet({stickerset=InputStickerSet, archived=Bool, }) ``` ### Errors diff --git a/old_docs/API_docs_v73/methods/messages.readHistory.md b/old_docs/API_docs_v73/methods/messages.readHistory.md index 39753375..52030c68 100644 --- a/old_docs/API_docs_v73/methods/messages.readHistory.md +++ b/old_docs/API_docs_v73/methods/messages.readHistory.md @@ -17,7 +17,7 @@ Marks message history as read. |max\_id|[int](../types/int.md) | If a positive value is passed, only messages with identifiers less or equal than the given one will be read | Yes| -### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) +### Return type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedMessages = $MadelineProto->messages->readHistory(['peer' => InputPeer, 'max_id' => int, ]); +$messages.AffectedMessages = $MadelineProto->messages->readHistory(['peer' => InputPeer, 'max_id' => int, ]); ``` Or, if you're into Lua: ```lua -messages_AffectedMessages = messages.readHistory({peer=InputPeer, max_id=int, }) +messages.AffectedMessages = messages.readHistory({peer=InputPeer, max_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v73/methods/messages.readMentions.md b/old_docs/API_docs_v73/methods/messages.readMentions.md index 9b73851d..c8c94f00 100644 --- a/old_docs/API_docs_v73/methods/messages.readMentions.md +++ b/old_docs/API_docs_v73/methods/messages.readMentions.md @@ -16,7 +16,7 @@ Mark mentions as read |peer|[Username, chat ID, Update, Message or InputPeer](../types/InputPeer.md) | Dialog | Optional| -### Return type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) +### Return type: [messages.AffectedHistory](../types/messages.AffectedHistory.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedHistory = $MadelineProto->messages->readMentions(['peer' => InputPeer, ]); +$messages.AffectedHistory = $MadelineProto->messages->readMentions(['peer' => InputPeer, ]); ``` Or, if you're into Lua: ```lua -messages_AffectedHistory = messages.readMentions({peer=InputPeer, }) +messages.AffectedHistory = messages.readMentions({peer=InputPeer, }) ``` diff --git a/old_docs/API_docs_v73/methods/messages.readMessageContents.md b/old_docs/API_docs_v73/methods/messages.readMessageContents.md index c479cafe..9798e661 100644 --- a/old_docs/API_docs_v73/methods/messages.readMessageContents.md +++ b/old_docs/API_docs_v73/methods/messages.readMessageContents.md @@ -16,7 +16,7 @@ Notifies the sender about the recipient having listened a voice message or watch |id|Array of [int](../types/int.md) | The messages to mark as read (only users and normal chats, not supergroups) | Yes| -### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) +### Return type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedMessages = $MadelineProto->messages->readMessageContents(['id' => [int, int], ]); +$messages.AffectedMessages = $MadelineProto->messages->readMessageContents(['id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AffectedMessages = messages.readMessageContents({id={int}, }) +messages.AffectedMessages = messages.readMessageContents({id={int}, }) ``` diff --git a/old_docs/API_docs_v73/methods/messages.search.md b/old_docs/API_docs_v73/methods/messages.search.md index 264b9f7e..72c22a4e 100644 --- a/old_docs/API_docs_v73/methods/messages.search.md +++ b/old_docs/API_docs_v73/methods/messages.search.md @@ -26,7 +26,7 @@ Gets back found messages |min\_id|[int](../types/int.md) | [Minimum message ID to return](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **NO** @@ -43,13 +43,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->search(['peer' => InputPeer, 'q' => 'string', 'from_id' => InputUser, 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset_id' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); +$messages.Messages = $MadelineProto->messages->search(['peer' => InputPeer, 'q' => 'string', 'from_id' => InputUser, 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset_id' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.search({peer=InputPeer, q='string', from_id=InputUser, filter=MessagesFilter, min_date=int, max_date=int, offset_id=int, add_offset=int, limit=int, max_id=int, min_id=int, }) +messages.Messages = messages.search({peer=InputPeer, q='string', from_id=InputUser, filter=MessagesFilter, min_date=int, max_date=int, offset_id=int, add_offset=int, limit=int, max_id=int, min_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v73/methods/messages.searchGifs.md b/old_docs/API_docs_v73/methods/messages.searchGifs.md index 851371d7..193a0cd4 100644 --- a/old_docs/API_docs_v73/methods/messages.searchGifs.md +++ b/old_docs/API_docs_v73/methods/messages.searchGifs.md @@ -17,7 +17,7 @@ Search for GIFs |offset|[int](../types/int.md) | Offset for [pagination »](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_FoundGifs](../types/messages_FoundGifs.md) +### Return type: [messages.FoundGifs](../types/messages.FoundGifs.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_FoundGifs = $MadelineProto->messages->searchGifs(['q' => 'string', 'offset' => int, ]); +$messages.FoundGifs = $MadelineProto->messages->searchGifs(['q' => 'string', 'offset' => int, ]); ``` Or, if you're into Lua: ```lua -messages_FoundGifs = messages.searchGifs({q='string', offset=int, }) +messages.FoundGifs = messages.searchGifs({q='string', offset=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v73/methods/messages.searchGlobal.md b/old_docs/API_docs_v73/methods/messages.searchGlobal.md index 4bd59f25..1a3b736d 100644 --- a/old_docs/API_docs_v73/methods/messages.searchGlobal.md +++ b/old_docs/API_docs_v73/methods/messages.searchGlobal.md @@ -20,7 +20,7 @@ Search for messages and peers globally |limit|[int](../types/int.md) | [Offsets for pagination, for more info click here](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **NO** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->searchGlobal(['q' => 'string', 'offset_date' => int, 'offset_peer' => InputPeer, 'offset_id' => int, 'limit' => int, ]); +$messages.Messages = $MadelineProto->messages->searchGlobal(['q' => 'string', 'offset_date' => int, 'offset_peer' => InputPeer, 'offset_id' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.searchGlobal({q='string', offset_date=int, offset_peer=InputPeer, offset_id=int, limit=int, }) +messages.Messages = messages.searchGlobal({q='string', offset_date=int, offset_peer=InputPeer, offset_id=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v73/methods/messages.sendEncrypted.md b/old_docs/API_docs_v73/methods/messages.sendEncrypted.md index 47b5ef29..6a68b563 100644 --- a/old_docs/API_docs_v73/methods/messages.sendEncrypted.md +++ b/old_docs/API_docs_v73/methods/messages.sendEncrypted.md @@ -14,10 +14,10 @@ Sends a text message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|message|[DecryptedMessage](../types/DecryptedMessage.md) | The message to send | Yes| +|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key that was created during chat initialization | Yes| -### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ### Can bots use this method: **NO** @@ -34,21 +34,15 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncrypted(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); +$messages.SentEncryptedMessage = $MadelineProto->messages->sendEncrypted(['peer' => InputEncryptedChat, 'data' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -messages_SentEncryptedMessage = messages.sendEncrypted({peer=InputEncryptedChat, message=DecryptedMessage, }) +messages.SentEncryptedMessage = messages.sendEncrypted({peer=InputEncryptedChat, data='bytes', }) ``` - -## Return value - -If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) will be returned instead. - - ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v73/methods/messages.sendEncryptedFile.md b/old_docs/API_docs_v73/methods/messages.sendEncryptedFile.md index 4e0f7b7f..87185ba4 100644 --- a/old_docs/API_docs_v73/methods/messages.sendEncryptedFile.md +++ b/old_docs/API_docs_v73/methods/messages.sendEncryptedFile.md @@ -14,11 +14,11 @@ Sends a message with a file attachment to a secret chat | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|message|[DecryptedMessage](../types/DecryptedMessage.md) | The message with the file | Yes| +|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| |file|[File path or InputEncryptedFile](../types/InputEncryptedFile.md) | File attachment for the secret chat | Optional| -### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ### Can bots use this method: **NO** @@ -35,21 +35,15 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedFile(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, 'file' => InputEncryptedFile, ]); +$messages.SentEncryptedMessage = $MadelineProto->messages->sendEncryptedFile(['peer' => InputEncryptedChat, 'data' => 'bytes', 'file' => InputEncryptedFile, ]); ``` Or, if you're into Lua: ```lua -messages_SentEncryptedMessage = messages.sendEncryptedFile({peer=InputEncryptedChat, message=DecryptedMessage, file=InputEncryptedFile, }) +messages.SentEncryptedMessage = messages.sendEncryptedFile({peer=InputEncryptedChat, data='bytes', file=InputEncryptedFile, }) ``` - -## Return value - -If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) will be returned instead. - - ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v73/methods/messages.sendEncryptedService.md b/old_docs/API_docs_v73/methods/messages.sendEncryptedService.md index 86925ae3..38171272 100644 --- a/old_docs/API_docs_v73/methods/messages.sendEncryptedService.md +++ b/old_docs/API_docs_v73/methods/messages.sendEncryptedService.md @@ -14,10 +14,10 @@ Sends a service message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|message|[DecryptedMessage](../types/DecryptedMessage.md) | The service message | Yes| +|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| -### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ### Can bots use this method: **NO** @@ -34,21 +34,15 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedService(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); +$messages.SentEncryptedMessage = $MadelineProto->messages->sendEncryptedService(['peer' => InputEncryptedChat, 'data' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -messages_SentEncryptedMessage = messages.sendEncryptedService({peer=InputEncryptedChat, message=DecryptedMessage, }) +messages.SentEncryptedMessage = messages.sendEncryptedService({peer=InputEncryptedChat, data='bytes', }) ``` - -## Return value - -If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) will be returned instead. - - ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v73/methods/payments.getPaymentForm.md b/old_docs/API_docs_v73/methods/payments.getPaymentForm.md index 3a171a05..da173f14 100644 --- a/old_docs/API_docs_v73/methods/payments.getPaymentForm.md +++ b/old_docs/API_docs_v73/methods/payments.getPaymentForm.md @@ -16,7 +16,7 @@ Get a payment form |msg\_id|[int](../types/int.md) | Message ID of payment form | Yes| -### Return type: [payments\_PaymentForm](../types/payments_PaymentForm.md) +### Return type: [payments.PaymentForm](../types/payments.PaymentForm.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$payments_PaymentForm = $MadelineProto->payments->getPaymentForm(['msg_id' => int, ]); +$payments.PaymentForm = $MadelineProto->payments->getPaymentForm(['msg_id' => int, ]); ``` Or, if you're into Lua: ```lua -payments_PaymentForm = payments.getPaymentForm({msg_id=int, }) +payments.PaymentForm = payments.getPaymentForm({msg_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v73/methods/payments.getPaymentReceipt.md b/old_docs/API_docs_v73/methods/payments.getPaymentReceipt.md index 46d2267c..16e41367 100644 --- a/old_docs/API_docs_v73/methods/payments.getPaymentReceipt.md +++ b/old_docs/API_docs_v73/methods/payments.getPaymentReceipt.md @@ -16,7 +16,7 @@ Get payment receipt |msg\_id|[int](../types/int.md) | Message ID of receipt | Yes| -### Return type: [payments\_PaymentReceipt](../types/payments_PaymentReceipt.md) +### Return type: [payments.PaymentReceipt](../types/payments.PaymentReceipt.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$payments_PaymentReceipt = $MadelineProto->payments->getPaymentReceipt(['msg_id' => int, ]); +$payments.PaymentReceipt = $MadelineProto->payments->getPaymentReceipt(['msg_id' => int, ]); ``` Or, if you're into Lua: ```lua -payments_PaymentReceipt = payments.getPaymentReceipt({msg_id=int, }) +payments.PaymentReceipt = payments.getPaymentReceipt({msg_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v73/methods/payments.getSavedInfo.md b/old_docs/API_docs_v73/methods/payments.getSavedInfo.md index dc9c9b98..fe2c16ec 100644 --- a/old_docs/API_docs_v73/methods/payments.getSavedInfo.md +++ b/old_docs/API_docs_v73/methods/payments.getSavedInfo.md @@ -11,7 +11,7 @@ Get saved payment information -### Return type: [payments\_SavedInfo](../types/payments_SavedInfo.md) +### Return type: [payments.SavedInfo](../types/payments.SavedInfo.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$payments_SavedInfo = $MadelineProto->payments->getSavedInfo(); +$payments.SavedInfo = $MadelineProto->payments->getSavedInfo(); ``` Or, if you're into Lua: ```lua -payments_SavedInfo = payments.getSavedInfo({}) +payments.SavedInfo = payments.getSavedInfo({}) ``` diff --git a/old_docs/API_docs_v73/methods/payments.sendPaymentForm.md b/old_docs/API_docs_v73/methods/payments.sendPaymentForm.md index 8c478b92..de154e7f 100644 --- a/old_docs/API_docs_v73/methods/payments.sendPaymentForm.md +++ b/old_docs/API_docs_v73/methods/payments.sendPaymentForm.md @@ -19,7 +19,7 @@ Send compiled payment form |credentials|[InputPaymentCredentials](../types/InputPaymentCredentials.md) | Payment credentials | Yes| -### Return type: [payments\_PaymentResult](../types/payments_PaymentResult.md) +### Return type: [payments.PaymentResult](../types/payments.PaymentResult.md) ### Can bots use this method: **NO** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$payments_PaymentResult = $MadelineProto->payments->sendPaymentForm(['msg_id' => int, 'requested_info_id' => 'string', 'shipping_option_id' => 'string', 'credentials' => InputPaymentCredentials, ]); +$payments.PaymentResult = $MadelineProto->payments->sendPaymentForm(['msg_id' => int, 'requested_info_id' => 'string', 'shipping_option_id' => 'string', 'credentials' => InputPaymentCredentials, ]); ``` Or, if you're into Lua: ```lua -payments_PaymentResult = payments.sendPaymentForm({msg_id=int, requested_info_id='string', shipping_option_id='string', credentials=InputPaymentCredentials, }) +payments.PaymentResult = payments.sendPaymentForm({msg_id=int, requested_info_id='string', shipping_option_id='string', credentials=InputPaymentCredentials, }) ``` ### Errors diff --git a/old_docs/API_docs_v73/methods/payments.validateRequestedInfo.md b/old_docs/API_docs_v73/methods/payments.validateRequestedInfo.md index d6364a02..ce22cfe8 100644 --- a/old_docs/API_docs_v73/methods/payments.validateRequestedInfo.md +++ b/old_docs/API_docs_v73/methods/payments.validateRequestedInfo.md @@ -18,7 +18,7 @@ Submit requested order information for validation |info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Requested order information | Yes| -### Return type: [payments\_ValidatedRequestedInfo](../types/payments_ValidatedRequestedInfo.md) +### Return type: [payments.ValidatedRequestedInfo](../types/payments.ValidatedRequestedInfo.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$payments_ValidatedRequestedInfo = $MadelineProto->payments->validateRequestedInfo(['save' => Bool, 'msg_id' => int, 'info' => PaymentRequestedInfo, ]); +$payments.ValidatedRequestedInfo = $MadelineProto->payments->validateRequestedInfo(['save' => Bool, 'msg_id' => int, 'info' => PaymentRequestedInfo, ]); ``` Or, if you're into Lua: ```lua -payments_ValidatedRequestedInfo = payments.validateRequestedInfo({save=Bool, msg_id=int, info=PaymentRequestedInfo, }) +payments.ValidatedRequestedInfo = payments.validateRequestedInfo({save=Bool, msg_id=int, info=PaymentRequestedInfo, }) ``` ### Errors diff --git a/old_docs/API_docs_v73/methods/phone.acceptCall.md b/old_docs/API_docs_v73/methods/phone.acceptCall.md index f5c58f01..6b9185aa 100644 --- a/old_docs/API_docs_v73/methods/phone.acceptCall.md +++ b/old_docs/API_docs_v73/methods/phone.acceptCall.md @@ -18,7 +18,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz#calls fo |protocol|[PhoneCallProtocol](../types/PhoneCallProtocol.md) | You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls | Yes| -### Return type: [phone\_PhoneCall](../types/phone_PhoneCall.md) +### Return type: [phone.PhoneCall](../types/phone.PhoneCall.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$phone_PhoneCall = $MadelineProto->phone->acceptCall(['peer' => InputPhoneCall, 'g_b' => 'bytes', 'protocol' => PhoneCallProtocol, ]); +$phone.PhoneCall = $MadelineProto->phone->acceptCall(['peer' => InputPhoneCall, 'g_b' => 'bytes', 'protocol' => PhoneCallProtocol, ]); ``` Or, if you're into Lua: ```lua -phone_PhoneCall = phone.acceptCall({peer=InputPhoneCall, g_b='bytes', protocol=PhoneCallProtocol, }) +phone.PhoneCall = phone.acceptCall({peer=InputPhoneCall, g_b='bytes', protocol=PhoneCallProtocol, }) ``` ### Errors diff --git a/old_docs/API_docs_v73/methods/phone.confirmCall.md b/old_docs/API_docs_v73/methods/phone.confirmCall.md index 468307cc..a52d1f9c 100644 --- a/old_docs/API_docs_v73/methods/phone.confirmCall.md +++ b/old_docs/API_docs_v73/methods/phone.confirmCall.md @@ -19,7 +19,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz#calls fo |protocol|[PhoneCallProtocol](../types/PhoneCallProtocol.md) | You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls | Yes| -### Return type: [phone\_PhoneCall](../types/phone_PhoneCall.md) +### Return type: [phone.PhoneCall](../types/phone.PhoneCall.md) ### Can bots use this method: **NO** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$phone_PhoneCall = $MadelineProto->phone->confirmCall(['peer' => InputPhoneCall, 'g_a' => 'bytes', 'key_fingerprint' => long, 'protocol' => PhoneCallProtocol, ]); +$phone.PhoneCall = $MadelineProto->phone->confirmCall(['peer' => InputPhoneCall, 'g_a' => 'bytes', 'key_fingerprint' => long, 'protocol' => PhoneCallProtocol, ]); ``` Or, if you're into Lua: ```lua -phone_PhoneCall = phone.confirmCall({peer=InputPhoneCall, g_a='bytes', key_fingerprint=long, protocol=PhoneCallProtocol, }) +phone.PhoneCall = phone.confirmCall({peer=InputPhoneCall, g_a='bytes', key_fingerprint=long, protocol=PhoneCallProtocol, }) ``` ### Errors diff --git a/old_docs/API_docs_v73/methods/phone.requestCall.md b/old_docs/API_docs_v73/methods/phone.requestCall.md index c8e828f2..37e847a7 100644 --- a/old_docs/API_docs_v73/methods/phone.requestCall.md +++ b/old_docs/API_docs_v73/methods/phone.requestCall.md @@ -18,7 +18,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz#calls fo |protocol|[PhoneCallProtocol](../types/PhoneCallProtocol.md) | You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls | Yes| -### Return type: [phone\_PhoneCall](../types/phone_PhoneCall.md) +### Return type: [phone.PhoneCall](../types/phone.PhoneCall.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$phone_PhoneCall = $MadelineProto->phone->requestCall(['user_id' => InputUser, 'g_a_hash' => 'bytes', 'protocol' => PhoneCallProtocol, ]); +$phone.PhoneCall = $MadelineProto->phone->requestCall(['user_id' => InputUser, 'g_a_hash' => 'bytes', 'protocol' => PhoneCallProtocol, ]); ``` Or, if you're into Lua: ```lua -phone_PhoneCall = phone.requestCall({user_id=InputUser, g_a_hash='bytes', protocol=PhoneCallProtocol, }) +phone.PhoneCall = phone.requestCall({user_id=InputUser, g_a_hash='bytes', protocol=PhoneCallProtocol, }) ``` ### Errors diff --git a/old_docs/API_docs_v73/methods/photos.getUserPhotos.md b/old_docs/API_docs_v73/methods/photos.getUserPhotos.md index a1dec2ed..1f8d5c64 100644 --- a/old_docs/API_docs_v73/methods/photos.getUserPhotos.md +++ b/old_docs/API_docs_v73/methods/photos.getUserPhotos.md @@ -19,7 +19,7 @@ Returns the list of user photos. |limit|[int](../types/int.md) | Number of list elements to be returned | Yes| -### Return type: [photos\_Photos](../types/photos_Photos.md) +### Return type: [photos.Photos](../types/photos.Photos.md) ### Can bots use this method: **YES** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$photos_Photos = $MadelineProto->photos->getUserPhotos(['user_id' => InputUser, 'offset' => int, 'max_id' => long, 'limit' => int, ]); +$photos.Photos = $MadelineProto->photos->getUserPhotos(['user_id' => InputUser, 'offset' => int, 'max_id' => long, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -photos_Photos = photos.getUserPhotos({user_id=InputUser, offset=int, max_id=long, limit=int, }) +photos.Photos = photos.getUserPhotos({user_id=InputUser, offset=int, max_id=long, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v73/methods/photos.uploadProfilePhoto.md b/old_docs/API_docs_v73/methods/photos.uploadProfilePhoto.md index b6a01ee7..4de76a24 100644 --- a/old_docs/API_docs_v73/methods/photos.uploadProfilePhoto.md +++ b/old_docs/API_docs_v73/methods/photos.uploadProfilePhoto.md @@ -16,7 +16,7 @@ Updates current user profile photo. |file|[File path or InputFile](../types/InputFile.md) | File saved in parts by means of [upload.saveFilePart](../methods/upload.saveFilePart.md) method | Yes| -### Return type: [photos\_Photo](../types/photos_Photo.md) +### Return type: [photos.Photo](../types/photos.Photo.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$photos_Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, ]); +$photos.Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, ]); ``` Or, if you're into Lua: ```lua -photos_Photo = photos.uploadProfilePhoto({file=InputFile, }) +photos.Photo = photos.uploadProfilePhoto({file=InputFile, }) ``` ### Errors diff --git a/old_docs/API_docs_v73/methods/stickers.addStickerToSet.md b/old_docs/API_docs_v73/methods/stickers.addStickerToSet.md index 727d3f27..e8392355 100644 --- a/old_docs/API_docs_v73/methods/stickers.addStickerToSet.md +++ b/old_docs/API_docs_v73/methods/stickers.addStickerToSet.md @@ -17,7 +17,7 @@ Add a sticker to a stickerset, bots only. The sticker set must have been created |sticker|[InputStickerSetItem](../types/InputStickerSetItem.md) | The sticker | Yes| -### Return type: [messages\_StickerSet](../types/messages_StickerSet.md) +### Return type: [messages.StickerSet](../types/messages.StickerSet.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StickerSet = $MadelineProto->stickers->addStickerToSet(['stickerset' => InputStickerSet, 'sticker' => InputStickerSetItem, ]); +$messages.StickerSet = $MadelineProto->stickers->addStickerToSet(['stickerset' => InputStickerSet, 'sticker' => InputStickerSetItem, ]); ``` Or, if you're into Lua: ```lua -messages_StickerSet = stickers.addStickerToSet({stickerset=InputStickerSet, sticker=InputStickerSetItem, }) +messages.StickerSet = stickers.addStickerToSet({stickerset=InputStickerSet, sticker=InputStickerSetItem, }) ``` ### Errors diff --git a/old_docs/API_docs_v73/methods/stickers.changeStickerPosition.md b/old_docs/API_docs_v73/methods/stickers.changeStickerPosition.md index ed390f21..e1d8ab5e 100644 --- a/old_docs/API_docs_v73/methods/stickers.changeStickerPosition.md +++ b/old_docs/API_docs_v73/methods/stickers.changeStickerPosition.md @@ -17,7 +17,7 @@ Changes the absolute position of a sticker in the set to which it belongs; for b |position|[int](../types/int.md) | The new position of the sticker, zero-based | Yes| -### Return type: [messages\_StickerSet](../types/messages_StickerSet.md) +### Return type: [messages.StickerSet](../types/messages.StickerSet.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StickerSet = $MadelineProto->stickers->changeStickerPosition(['sticker' => InputDocument, 'position' => int, ]); +$messages.StickerSet = $MadelineProto->stickers->changeStickerPosition(['sticker' => InputDocument, 'position' => int, ]); ``` Or, if you're into Lua: ```lua -messages_StickerSet = stickers.changeStickerPosition({sticker=InputDocument, position=int, }) +messages.StickerSet = stickers.changeStickerPosition({sticker=InputDocument, position=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v73/methods/stickers.createStickerSet.md b/old_docs/API_docs_v73/methods/stickers.createStickerSet.md index 5a6ef396..7eeeb48f 100644 --- a/old_docs/API_docs_v73/methods/stickers.createStickerSet.md +++ b/old_docs/API_docs_v73/methods/stickers.createStickerSet.md @@ -20,7 +20,7 @@ Create a stickerset, bots only. |stickers|Array of [InputStickerSetItem](../types/InputStickerSetItem.md) | The stickers to add | Yes| -### Return type: [messages\_StickerSet](../types/messages_StickerSet.md) +### Return type: [messages.StickerSet](../types/messages.StickerSet.md) ### Can bots use this method: **YES** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StickerSet = $MadelineProto->stickers->createStickerSet(['masks' => Bool, 'user_id' => InputUser, 'title' => 'string', 'short_name' => 'string', 'stickers' => [InputStickerSetItem, InputStickerSetItem], ]); +$messages.StickerSet = $MadelineProto->stickers->createStickerSet(['masks' => Bool, 'user_id' => InputUser, 'title' => 'string', 'short_name' => 'string', 'stickers' => [InputStickerSetItem, InputStickerSetItem], ]); ``` Or, if you're into Lua: ```lua -messages_StickerSet = stickers.createStickerSet({masks=Bool, user_id=InputUser, title='string', short_name='string', stickers={InputStickerSetItem}, }) +messages.StickerSet = stickers.createStickerSet({masks=Bool, user_id=InputUser, title='string', short_name='string', stickers={InputStickerSetItem}, }) ``` ### Errors diff --git a/old_docs/API_docs_v73/methods/stickers.removeStickerFromSet.md b/old_docs/API_docs_v73/methods/stickers.removeStickerFromSet.md index 33f677b3..aa4927ca 100644 --- a/old_docs/API_docs_v73/methods/stickers.removeStickerFromSet.md +++ b/old_docs/API_docs_v73/methods/stickers.removeStickerFromSet.md @@ -16,7 +16,7 @@ Remove a sticker from the set where it belongs, bots only. The sticker set must |sticker|[MessageMedia, Update, Message or InputDocument](../types/InputDocument.md) | The sticker to remove | Optional| -### Return type: [messages\_StickerSet](../types/messages_StickerSet.md) +### Return type: [messages.StickerSet](../types/messages.StickerSet.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StickerSet = $MadelineProto->stickers->removeStickerFromSet(['sticker' => InputDocument, ]); +$messages.StickerSet = $MadelineProto->stickers->removeStickerFromSet(['sticker' => InputDocument, ]); ``` Or, if you're into Lua: ```lua -messages_StickerSet = stickers.removeStickerFromSet({sticker=InputDocument, }) +messages.StickerSet = stickers.removeStickerFromSet({sticker=InputDocument, }) ``` ### Errors diff --git a/old_docs/API_docs_v73/methods/updates.getChannelDifference.md b/old_docs/API_docs_v73/methods/updates.getChannelDifference.md index 5675cd33..08df3395 100644 --- a/old_docs/API_docs_v73/methods/updates.getChannelDifference.md +++ b/old_docs/API_docs_v73/methods/updates.getChannelDifference.md @@ -20,7 +20,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz for more |limit|[int](../types/int.md) | You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates | Yes| -### Return type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) +### Return type: [updates.ChannelDifference](../types/updates.ChannelDifference.md) ### Can bots use this method: **YES** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$updates_ChannelDifference = $MadelineProto->updates->getChannelDifference(['force' => Bool, 'channel' => InputChannel, 'filter' => ChannelMessagesFilter, 'pts' => int, 'limit' => int, ]); +$updates.ChannelDifference = $MadelineProto->updates->getChannelDifference(['force' => Bool, 'channel' => InputChannel, 'filter' => ChannelMessagesFilter, 'pts' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -updates_ChannelDifference = updates.getChannelDifference({force=Bool, channel=InputChannel, filter=ChannelMessagesFilter, pts=int, limit=int, }) +updates.ChannelDifference = updates.getChannelDifference({force=Bool, channel=InputChannel, filter=ChannelMessagesFilter, pts=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v73/methods/updates.getDifference.md b/old_docs/API_docs_v73/methods/updates.getDifference.md index bcfac4e2..b3796a10 100644 --- a/old_docs/API_docs_v73/methods/updates.getDifference.md +++ b/old_docs/API_docs_v73/methods/updates.getDifference.md @@ -19,7 +19,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz for more |qts|[int](../types/int.md) | You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates | Yes| -### Return type: [updates\_Difference](../types/updates_Difference.md) +### Return type: [updates.Difference](../types/updates.Difference.md) ### Can bots use this method: **YES** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$updates_Difference = $MadelineProto->updates->getDifference(['pts' => int, 'pts_total_limit' => int, 'date' => int, 'qts' => int, ]); +$updates.Difference = $MadelineProto->updates->getDifference(['pts' => int, 'pts_total_limit' => int, 'date' => int, 'qts' => int, ]); ``` Or, if you're into Lua: ```lua -updates_Difference = updates.getDifference({pts=int, pts_total_limit=int, date=int, qts=int, }) +updates.Difference = updates.getDifference({pts=int, pts_total_limit=int, date=int, qts=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v73/methods/updates.getState.md b/old_docs/API_docs_v73/methods/updates.getState.md index c591408a..9a7d2f34 100644 --- a/old_docs/API_docs_v73/methods/updates.getState.md +++ b/old_docs/API_docs_v73/methods/updates.getState.md @@ -11,7 +11,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz for more -### Return type: [updates\_State](../types/updates_State.md) +### Return type: [updates.State](../types/updates.State.md) ### Can bots use this method: **YES** @@ -28,13 +28,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$updates_State = $MadelineProto->updates->getState(); +$updates.State = $MadelineProto->updates->getState(); ``` Or, if you're into Lua: ```lua -updates_State = updates.getState({}) +updates.State = updates.getState({}) ``` ### Errors diff --git a/old_docs/API_docs_v73/methods/upload.getCdnFile.md b/old_docs/API_docs_v73/methods/upload.getCdnFile.md index a3c928b2..67b2e84e 100644 --- a/old_docs/API_docs_v73/methods/upload.getCdnFile.md +++ b/old_docs/API_docs_v73/methods/upload.getCdnFile.md @@ -18,7 +18,7 @@ You cannot use this method directly, use the upload, downloadToStream, downloadT |limit|[int](../types/int.md) | You cannot use this method directly, use the upload, downloadToStream, downloadToFile, downloadToDir methods instead; see https://docs.madelineproto.xyz for more info | Yes| -### Return type: [upload\_CdnFile](../types/upload_CdnFile.md) +### Return type: [upload.CdnFile](../types/upload.CdnFile.md) ### Can bots use this method: **NO** @@ -35,12 +35,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$upload_CdnFile = $MadelineProto->upload->getCdnFile(['file_token' => 'bytes', 'offset' => int, 'limit' => int, ]); +$upload.CdnFile = $MadelineProto->upload->getCdnFile(['file_token' => 'bytes', 'offset' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -upload_CdnFile = upload.getCdnFile({file_token='bytes', offset=int, limit=int, }) +upload.CdnFile = upload.getCdnFile({file_token='bytes', offset=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v73/methods/upload.getFile.md b/old_docs/API_docs_v73/methods/upload.getFile.md index 8aba03d4..ab9f4fe2 100644 --- a/old_docs/API_docs_v73/methods/upload.getFile.md +++ b/old_docs/API_docs_v73/methods/upload.getFile.md @@ -18,7 +18,7 @@ You cannot use this method directly, use the upload, downloadToStream, downloadT |limit|[int](../types/int.md) | You cannot use this method directly, use the upload, downloadToStream, downloadToFile, downloadToDir methods instead; see https://docs.madelineproto.xyz for more info | Yes| -### Return type: [upload\_File](../types/upload_File.md) +### Return type: [upload.File](../types/upload.File.md) ### Can bots use this method: **YES** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$upload_File = $MadelineProto->upload->getFile(['location' => InputFileLocation, 'offset' => int, 'limit' => int, ]); +$upload.File = $MadelineProto->upload->getFile(['location' => InputFileLocation, 'offset' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -upload_File = upload.getFile({location=InputFileLocation, offset=int, limit=int, }) +upload.File = upload.getFile({location=InputFileLocation, offset=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v73/methods/upload.getWebFile.md b/old_docs/API_docs_v73/methods/upload.getWebFile.md index 32f6b322..60f1b8c1 100644 --- a/old_docs/API_docs_v73/methods/upload.getWebFile.md +++ b/old_docs/API_docs_v73/methods/upload.getWebFile.md @@ -18,7 +18,7 @@ Returns content of an HTTP file or a part, by proxying the request through teleg |limit|[int](../types/int.md) | Number of bytes to be returned | Yes| -### Return type: [upload\_WebFile](../types/upload_WebFile.md) +### Return type: [upload.WebFile](../types/upload.WebFile.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$upload_WebFile = $MadelineProto->upload->getWebFile(['location' => InputWebFileLocation, 'offset' => int, 'limit' => int, ]); +$upload.WebFile = $MadelineProto->upload->getWebFile(['location' => InputWebFileLocation, 'offset' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -upload_WebFile = upload.getWebFile({location=InputWebFileLocation, offset=int, limit=int, }) +upload.WebFile = upload.getWebFile({location=InputWebFileLocation, offset=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v73/types/AccountDaysTTL.md b/old_docs/API_docs_v73/types/AccountDaysTTL.md index 12a10190..f3494aac 100644 --- a/old_docs/API_docs_v73/types/AccountDaysTTL.md +++ b/old_docs/API_docs_v73/types/AccountDaysTTL.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->account->getAccountTTL](../methods/account_getAccountTTL.md) +[$MadelineProto->account->getAccountTTL](../methods/account.getAccountTTL.md) diff --git a/old_docs/API_docs_v73/types/CdnConfig.md b/old_docs/API_docs_v73/types/CdnConfig.md index fbfe01c3..0b0fb5be 100644 --- a/old_docs/API_docs_v73/types/CdnConfig.md +++ b/old_docs/API_docs_v73/types/CdnConfig.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->help->getCdnConfig](../methods/help_getCdnConfig.md) +[$MadelineProto->help->getCdnConfig](../methods/help.getCdnConfig.md) diff --git a/old_docs/API_docs_v73/types/CdnFileHash.md b/old_docs/API_docs_v73/types/CdnFileHash.md index 006bc256..cbb19024 100644 --- a/old_docs/API_docs_v73/types/CdnFileHash.md +++ b/old_docs/API_docs_v73/types/CdnFileHash.md @@ -16,9 +16,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->upload->reuploadCdnFile](../methods/upload_reuploadCdnFile.md) +[$MadelineProto->upload->reuploadCdnFile](../methods/upload.reuploadCdnFile.md) -[$MadelineProto->upload->getCdnFileHashes](../methods/upload_getCdnFileHashes.md) +[$MadelineProto->upload->getCdnFileHashes](../methods/upload.getCdnFileHashes.md) diff --git a/old_docs/API_docs_v73/types/ChatInvite.md b/old_docs/API_docs_v73/types/ChatInvite.md index 5022a2f0..9fafabb4 100644 --- a/old_docs/API_docs_v73/types/ChatInvite.md +++ b/old_docs/API_docs_v73/types/ChatInvite.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->checkChatInvite](../methods/messages_checkChatInvite.md) +[$MadelineProto->messages->checkChatInvite](../methods/messages.checkChatInvite.md) diff --git a/old_docs/API_docs_v73/types/Config.md b/old_docs/API_docs_v73/types/Config.md index 0f7fbe70..3a23b7b7 100644 --- a/old_docs/API_docs_v73/types/Config.md +++ b/old_docs/API_docs_v73/types/Config.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->help->getConfig](../methods/help_getConfig.md) +[$MadelineProto->help->getConfig](../methods/help.getConfig.md) diff --git a/old_docs/API_docs_v73/types/ContactStatus.md b/old_docs/API_docs_v73/types/ContactStatus.md index c5f5d658..30aee6e2 100644 --- a/old_docs/API_docs_v73/types/ContactStatus.md +++ b/old_docs/API_docs_v73/types/ContactStatus.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->contacts->getStatuses](../methods/contacts_getStatuses.md) +[$MadelineProto->contacts->getStatuses](../methods/contacts.getStatuses.md) diff --git a/old_docs/API_docs_v73/types/Document.md b/old_docs/API_docs_v73/types/Document.md index f68b7aa4..2cb85623 100644 --- a/old_docs/API_docs_v73/types/Document.md +++ b/old_docs/API_docs_v73/types/Document.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getDocumentByHash](../methods/messages_getDocumentByHash.md) +[$MadelineProto->messages->getDocumentByHash](../methods/messages.getDocumentByHash.md) diff --git a/old_docs/API_docs_v73/types/EncryptedChat.md b/old_docs/API_docs_v73/types/EncryptedChat.md index fd2277f6..19cf52b0 100644 --- a/old_docs/API_docs_v73/types/EncryptedChat.md +++ b/old_docs/API_docs_v73/types/EncryptedChat.md @@ -24,9 +24,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->requestEncryption](../methods/messages_requestEncryption.md) +[$MadelineProto->messages->requestEncryption](../methods/messages.requestEncryption.md) -[$MadelineProto->messages->acceptEncryption](../methods/messages_acceptEncryption.md) +[$MadelineProto->messages->acceptEncryption](../methods/messages.acceptEncryption.md) diff --git a/old_docs/API_docs_v73/types/EncryptedFile.md b/old_docs/API_docs_v73/types/EncryptedFile.md index a26d40bb..8ecf8e9d 100644 --- a/old_docs/API_docs_v73/types/EncryptedFile.md +++ b/old_docs/API_docs_v73/types/EncryptedFile.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->uploadEncryptedFile](../methods/messages_uploadEncryptedFile.md) +[$MadelineProto->messages->uploadEncryptedFile](../methods/messages.uploadEncryptedFile.md) diff --git a/old_docs/API_docs_v73/types/ExportedChatInvite.md b/old_docs/API_docs_v73/types/ExportedChatInvite.md index 4213a78f..53ce5f59 100644 --- a/old_docs/API_docs_v73/types/ExportedChatInvite.md +++ b/old_docs/API_docs_v73/types/ExportedChatInvite.md @@ -18,9 +18,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->exportChatInvite](../methods/messages_exportChatInvite.md) +[$MadelineProto->messages->exportChatInvite](../methods/messages.exportChatInvite.md) -[$MadelineProto->channels->exportInvite](../methods/channels_exportInvite.md) +[$MadelineProto->channels->exportInvite](../methods/channels.exportInvite.md) diff --git a/old_docs/API_docs_v73/types/ExportedMessageLink.md b/old_docs/API_docs_v73/types/ExportedMessageLink.md index eb2400f6..948e9c90 100644 --- a/old_docs/API_docs_v73/types/ExportedMessageLink.md +++ b/old_docs/API_docs_v73/types/ExportedMessageLink.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->channels->exportMessageLink](../methods/channels_exportMessageLink.md) +[$MadelineProto->channels->exportMessageLink](../methods/channels.exportMessageLink.md) diff --git a/old_docs/API_docs_v73/types/LangPackDifference.md b/old_docs/API_docs_v73/types/LangPackDifference.md index fd9f41f2..e04125b8 100644 --- a/old_docs/API_docs_v73/types/LangPackDifference.md +++ b/old_docs/API_docs_v73/types/LangPackDifference.md @@ -16,9 +16,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->langpack->getLangPack](../methods/langpack_getLangPack.md) +[$MadelineProto->langpack->getLangPack](../methods/langpack.getLangPack.md) -[$MadelineProto->langpack->getDifference](../methods/langpack_getDifference.md) +[$MadelineProto->langpack->getDifference](../methods/langpack.getDifference.md) diff --git a/old_docs/API_docs_v73/types/LangPackLanguage.md b/old_docs/API_docs_v73/types/LangPackLanguage.md index f7459fc2..280d0243 100644 --- a/old_docs/API_docs_v73/types/LangPackLanguage.md +++ b/old_docs/API_docs_v73/types/LangPackLanguage.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->langpack->getLanguages](../methods/langpack_getLanguages.md) +[$MadelineProto->langpack->getLanguages](../methods/langpack.getLanguages.md) diff --git a/old_docs/API_docs_v73/types/LangPackString.md b/old_docs/API_docs_v73/types/LangPackString.md index f1a43dd9..15f9dc3d 100644 --- a/old_docs/API_docs_v73/types/LangPackString.md +++ b/old_docs/API_docs_v73/types/LangPackString.md @@ -20,7 +20,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->langpack->getStrings](../methods/langpack_getStrings.md) +[$MadelineProto->langpack->getStrings](../methods/langpack.getStrings.md) diff --git a/old_docs/API_docs_v73/types/MessageMedia.md b/old_docs/API_docs_v73/types/MessageMedia.md index fa00818d..23c0e9a5 100644 --- a/old_docs/API_docs_v73/types/MessageMedia.md +++ b/old_docs/API_docs_v73/types/MessageMedia.md @@ -36,9 +36,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getWebPagePreview](../methods/messages_getWebPagePreview.md) +[$MadelineProto->messages->getWebPagePreview](../methods/messages.getWebPagePreview.md) -[$MadelineProto->messages->uploadMedia](../methods/messages_uploadMedia.md) +[$MadelineProto->messages->uploadMedia](../methods/messages.uploadMedia.md) diff --git a/old_docs/API_docs_v73/types/NearestDc.md b/old_docs/API_docs_v73/types/NearestDc.md index 31f24377..296a4dff 100644 --- a/old_docs/API_docs_v73/types/NearestDc.md +++ b/old_docs/API_docs_v73/types/NearestDc.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->help->getNearestDc](../methods/help_getNearestDc.md) +[$MadelineProto->help->getNearestDc](../methods/help.getNearestDc.md) diff --git a/old_docs/API_docs_v73/types/PeerNotifySettings.md b/old_docs/API_docs_v73/types/PeerNotifySettings.md index 769de075..3d72b7c5 100644 --- a/old_docs/API_docs_v73/types/PeerNotifySettings.md +++ b/old_docs/API_docs_v73/types/PeerNotifySettings.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->account->getNotifySettings](../methods/account_getNotifySettings.md) +[$MadelineProto->account->getNotifySettings](../methods/account.getNotifySettings.md) diff --git a/old_docs/API_docs_v73/types/PeerSettings.md b/old_docs/API_docs_v73/types/PeerSettings.md index 60ac3765..31ef7e38 100644 --- a/old_docs/API_docs_v73/types/PeerSettings.md +++ b/old_docs/API_docs_v73/types/PeerSettings.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getPeerSettings](../methods/messages_getPeerSettings.md) +[$MadelineProto->messages->getPeerSettings](../methods/messages.getPeerSettings.md) diff --git a/old_docs/API_docs_v73/types/README.md b/old_docs/API_docs_v73/types/README.md index c403c8f9..c3b9976e 100644 --- a/old_docs/API_docs_v73/types/README.md +++ b/old_docs/API_docs_v73/types/README.md @@ -289,139 +289,139 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png [X](X.md) -[account\_Authorizations](account_Authorizations.md) +[account.Authorizations](account.Authorizations.md) -[account\_Password](account_Password.md) +[account.Password](account.Password.md) -[account\_PasswordInputSettings](account_PasswordInputSettings.md) +[account.PasswordInputSettings](account.PasswordInputSettings.md) -[account\_PasswordSettings](account_PasswordSettings.md) +[account.PasswordSettings](account.PasswordSettings.md) -[account\_PrivacyRules](account_PrivacyRules.md) +[account.PrivacyRules](account.PrivacyRules.md) -[account\_TmpPassword](account_TmpPassword.md) +[account.TmpPassword](account.TmpPassword.md) -[auth\_Authorization](auth_Authorization.md) +[auth.Authorization](auth.Authorization.md) -[auth\_CheckedPhone](auth_CheckedPhone.md) +[auth.CheckedPhone](auth.CheckedPhone.md) -[auth\_CodeType](auth_CodeType.md) +[auth.CodeType](auth.CodeType.md) -[auth\_ExportedAuthorization](auth_ExportedAuthorization.md) +[auth.ExportedAuthorization](auth.ExportedAuthorization.md) -[auth\_PasswordRecovery](auth_PasswordRecovery.md) +[auth.PasswordRecovery](auth.PasswordRecovery.md) -[auth\_SentCode](auth_SentCode.md) +[auth.SentCode](auth.SentCode.md) -[auth\_SentCodeType](auth_SentCodeType.md) +[auth.SentCodeType](auth.SentCodeType.md) -[channels\_AdminLogResults](channels_AdminLogResults.md) +[channels.AdminLogResults](channels.AdminLogResults.md) -[channels\_ChannelParticipant](channels_ChannelParticipant.md) +[channels.ChannelParticipant](channels.ChannelParticipant.md) -[channels\_ChannelParticipants](channels_ChannelParticipants.md) +[channels.ChannelParticipants](channels.ChannelParticipants.md) -[contacts\_Blocked](contacts_Blocked.md) +[contacts.Blocked](contacts.Blocked.md) -[contacts\_Contacts](contacts_Contacts.md) +[contacts.Contacts](contacts.Contacts.md) -[contacts\_Found](contacts_Found.md) +[contacts.Found](contacts.Found.md) -[contacts\_ImportedContacts](contacts_ImportedContacts.md) +[contacts.ImportedContacts](contacts.ImportedContacts.md) -[contacts\_Link](contacts_Link.md) +[contacts.Link](contacts.Link.md) -[contacts\_ResolvedPeer](contacts_ResolvedPeer.md) +[contacts.ResolvedPeer](contacts.ResolvedPeer.md) -[contacts\_TopPeers](contacts_TopPeers.md) +[contacts.TopPeers](contacts.TopPeers.md) -[help\_AppUpdate](help_AppUpdate.md) +[help.AppUpdate](help.AppUpdate.md) -[help\_InviteText](help_InviteText.md) +[help.InviteText](help.InviteText.md) -[help\_RecentMeUrls](help_RecentMeUrls.md) +[help.RecentMeUrls](help.RecentMeUrls.md) -[help\_Support](help_Support.md) +[help.Support](help.Support.md) -[help\_TermsOfService](help_TermsOfService.md) +[help.TermsOfService](help.TermsOfService.md) [int](int.md) [long](long.md) -[messages\_AffectedHistory](messages_AffectedHistory.md) +[messages.AffectedHistory](messages.AffectedHistory.md) -[messages\_AffectedMessages](messages_AffectedMessages.md) +[messages.AffectedMessages](messages.AffectedMessages.md) -[messages\_AllStickers](messages_AllStickers.md) +[messages.AllStickers](messages.AllStickers.md) -[messages\_ArchivedStickers](messages_ArchivedStickers.md) +[messages.ArchivedStickers](messages.ArchivedStickers.md) -[messages\_BotCallbackAnswer](messages_BotCallbackAnswer.md) +[messages.BotCallbackAnswer](messages.BotCallbackAnswer.md) -[messages\_BotResults](messages_BotResults.md) +[messages.BotResults](messages.BotResults.md) -[messages\_ChatFull](messages_ChatFull.md) +[messages.ChatFull](messages.ChatFull.md) -[messages\_Chats](messages_Chats.md) +[messages.Chats](messages.Chats.md) -[messages\_DhConfig](messages_DhConfig.md) +[messages.DhConfig](messages.DhConfig.md) -[messages\_Dialogs](messages_Dialogs.md) +[messages.Dialogs](messages.Dialogs.md) -[messages\_FavedStickers](messages_FavedStickers.md) +[messages.FavedStickers](messages.FavedStickers.md) -[messages\_FeaturedStickers](messages_FeaturedStickers.md) +[messages.FeaturedStickers](messages.FeaturedStickers.md) -[messages\_FoundGifs](messages_FoundGifs.md) +[messages.FoundGifs](messages.FoundGifs.md) -[messages\_HighScores](messages_HighScores.md) +[messages.HighScores](messages.HighScores.md) -[messages\_MessageEditData](messages_MessageEditData.md) +[messages.MessageEditData](messages.MessageEditData.md) -[messages\_Messages](messages_Messages.md) +[messages.Messages](messages.Messages.md) -[messages\_PeerDialogs](messages_PeerDialogs.md) +[messages.PeerDialogs](messages.PeerDialogs.md) -[messages\_RecentStickers](messages_RecentStickers.md) +[messages.RecentStickers](messages.RecentStickers.md) -[messages\_SavedGifs](messages_SavedGifs.md) +[messages.SavedGifs](messages.SavedGifs.md) -[messages\_SentEncryptedMessage](messages_SentEncryptedMessage.md) +[messages.SentEncryptedMessage](messages.SentEncryptedMessage.md) -[messages\_StickerSet](messages_StickerSet.md) +[messages.StickerSet](messages.StickerSet.md) -[messages\_StickerSetInstallResult](messages_StickerSetInstallResult.md) +[messages.StickerSetInstallResult](messages.StickerSetInstallResult.md) -[messages\_Stickers](messages_Stickers.md) +[messages.Stickers](messages.Stickers.md) -[payments\_PaymentForm](payments_PaymentForm.md) +[payments.PaymentForm](payments.PaymentForm.md) -[payments\_PaymentReceipt](payments_PaymentReceipt.md) +[payments.PaymentReceipt](payments.PaymentReceipt.md) -[payments\_PaymentResult](payments_PaymentResult.md) +[payments.PaymentResult](payments.PaymentResult.md) -[payments\_SavedInfo](payments_SavedInfo.md) +[payments.SavedInfo](payments.SavedInfo.md) -[payments\_ValidatedRequestedInfo](payments_ValidatedRequestedInfo.md) +[payments.ValidatedRequestedInfo](payments.ValidatedRequestedInfo.md) -[phone\_PhoneCall](phone_PhoneCall.md) +[phone.PhoneCall](phone.PhoneCall.md) -[photos\_Photo](photos_Photo.md) +[photos.Photo](photos.Photo.md) -[photos\_Photos](photos_Photos.md) +[photos.Photos](photos.Photos.md) -[storage\_FileType](storage_FileType.md) +[storage.FileType](storage.FileType.md) -[updates\_ChannelDifference](updates_ChannelDifference.md) +[updates.ChannelDifference](updates.ChannelDifference.md) -[updates\_Difference](updates_Difference.md) +[updates.Difference](updates.Difference.md) -[updates\_State](updates_State.md) +[updates.State](updates.State.md) -[upload\_CdnFile](upload_CdnFile.md) +[upload.CdnFile](upload.CdnFile.md) -[upload\_File](upload_File.md) +[upload.File](upload.File.md) -[upload\_WebFile](upload_WebFile.md) +[upload.WebFile](upload.WebFile.md) diff --git a/old_docs/API_docs_v73/types/ReceivedNotifyMessage.md b/old_docs/API_docs_v73/types/ReceivedNotifyMessage.md index c7fc3b8c..416aa275 100644 --- a/old_docs/API_docs_v73/types/ReceivedNotifyMessage.md +++ b/old_docs/API_docs_v73/types/ReceivedNotifyMessage.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->receivedMessages](../methods/messages_receivedMessages.md) +[$MadelineProto->messages->receivedMessages](../methods/messages.receivedMessages.md) diff --git a/old_docs/API_docs_v73/types/StickerSetCovered.md b/old_docs/API_docs_v73/types/StickerSetCovered.md index ffd1da1f..f57cd117 100644 --- a/old_docs/API_docs_v73/types/StickerSetCovered.md +++ b/old_docs/API_docs_v73/types/StickerSetCovered.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getAttachedStickers](../methods/messages_getAttachedStickers.md) +[$MadelineProto->messages->getAttachedStickers](../methods/messages.getAttachedStickers.md) diff --git a/old_docs/API_docs_v73/types/Updates.md b/old_docs/API_docs_v73/types/Updates.md index f12f41b7..a0558d88 100644 --- a/old_docs/API_docs_v73/types/Updates.md +++ b/old_docs/API_docs_v73/types/Updates.md @@ -28,75 +28,75 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->sendMessage](../methods/messages_sendMessage.md) +[$MadelineProto->messages->sendMessage](../methods/messages.sendMessage.md) -[$MadelineProto->messages->sendMedia](../methods/messages_sendMedia.md) +[$MadelineProto->messages->sendMedia](../methods/messages.sendMedia.md) -[$MadelineProto->messages->forwardMessages](../methods/messages_forwardMessages.md) +[$MadelineProto->messages->forwardMessages](../methods/messages.forwardMessages.md) -[$MadelineProto->messages->editChatTitle](../methods/messages_editChatTitle.md) +[$MadelineProto->messages->editChatTitle](../methods/messages.editChatTitle.md) -[$MadelineProto->messages->editChatPhoto](../methods/messages_editChatPhoto.md) +[$MadelineProto->messages->editChatPhoto](../methods/messages.editChatPhoto.md) -[$MadelineProto->messages->addChatUser](../methods/messages_addChatUser.md) +[$MadelineProto->messages->addChatUser](../methods/messages.addChatUser.md) -[$MadelineProto->messages->deleteChatUser](../methods/messages_deleteChatUser.md) +[$MadelineProto->messages->deleteChatUser](../methods/messages.deleteChatUser.md) -[$MadelineProto->messages->createChat](../methods/messages_createChat.md) +[$MadelineProto->messages->createChat](../methods/messages.createChat.md) -[$MadelineProto->messages->forwardMessage](../methods/messages_forwardMessage.md) +[$MadelineProto->messages->forwardMessage](../methods/messages.forwardMessage.md) -[$MadelineProto->messages->importChatInvite](../methods/messages_importChatInvite.md) +[$MadelineProto->messages->importChatInvite](../methods/messages.importChatInvite.md) -[$MadelineProto->messages->startBot](../methods/messages_startBot.md) +[$MadelineProto->messages->startBot](../methods/messages.startBot.md) -[$MadelineProto->messages->toggleChatAdmins](../methods/messages_toggleChatAdmins.md) +[$MadelineProto->messages->toggleChatAdmins](../methods/messages.toggleChatAdmins.md) -[$MadelineProto->messages->migrateChat](../methods/messages_migrateChat.md) +[$MadelineProto->messages->migrateChat](../methods/messages.migrateChat.md) -[$MadelineProto->messages->sendInlineBotResult](../methods/messages_sendInlineBotResult.md) +[$MadelineProto->messages->sendInlineBotResult](../methods/messages.sendInlineBotResult.md) -[$MadelineProto->messages->editMessage](../methods/messages_editMessage.md) +[$MadelineProto->messages->editMessage](../methods/messages.editMessage.md) -[$MadelineProto->messages->getAllDrafts](../methods/messages_getAllDrafts.md) +[$MadelineProto->messages->getAllDrafts](../methods/messages.getAllDrafts.md) -[$MadelineProto->messages->setGameScore](../methods/messages_setGameScore.md) +[$MadelineProto->messages->setGameScore](../methods/messages.setGameScore.md) -[$MadelineProto->messages->sendScreenshotNotification](../methods/messages_sendScreenshotNotification.md) +[$MadelineProto->messages->sendScreenshotNotification](../methods/messages.sendScreenshotNotification.md) -[$MadelineProto->messages->sendMultiMedia](../methods/messages_sendMultiMedia.md) +[$MadelineProto->messages->sendMultiMedia](../methods/messages.sendMultiMedia.md) -[$MadelineProto->help->getAppChangelog](../methods/help_getAppChangelog.md) +[$MadelineProto->help->getAppChangelog](../methods/help.getAppChangelog.md) -[$MadelineProto->channels->createChannel](../methods/channels_createChannel.md) +[$MadelineProto->channels->createChannel](../methods/channels.createChannel.md) -[$MadelineProto->channels->editAdmin](../methods/channels_editAdmin.md) +[$MadelineProto->channels->editAdmin](../methods/channels.editAdmin.md) -[$MadelineProto->channels->editTitle](../methods/channels_editTitle.md) +[$MadelineProto->channels->editTitle](../methods/channels.editTitle.md) -[$MadelineProto->channels->editPhoto](../methods/channels_editPhoto.md) +[$MadelineProto->channels->editPhoto](../methods/channels.editPhoto.md) -[$MadelineProto->channels->joinChannel](../methods/channels_joinChannel.md) +[$MadelineProto->channels->joinChannel](../methods/channels.joinChannel.md) -[$MadelineProto->channels->leaveChannel](../methods/channels_leaveChannel.md) +[$MadelineProto->channels->leaveChannel](../methods/channels.leaveChannel.md) -[$MadelineProto->channels->inviteToChannel](../methods/channels_inviteToChannel.md) +[$MadelineProto->channels->inviteToChannel](../methods/channels.inviteToChannel.md) -[$MadelineProto->channels->deleteChannel](../methods/channels_deleteChannel.md) +[$MadelineProto->channels->deleteChannel](../methods/channels.deleteChannel.md) -[$MadelineProto->channels->toggleInvites](../methods/channels_toggleInvites.md) +[$MadelineProto->channels->toggleInvites](../methods/channels.toggleInvites.md) -[$MadelineProto->channels->toggleSignatures](../methods/channels_toggleSignatures.md) +[$MadelineProto->channels->toggleSignatures](../methods/channels.toggleSignatures.md) -[$MadelineProto->channels->updatePinnedMessage](../methods/channels_updatePinnedMessage.md) +[$MadelineProto->channels->updatePinnedMessage](../methods/channels.updatePinnedMessage.md) -[$MadelineProto->channels->editBanned](../methods/channels_editBanned.md) +[$MadelineProto->channels->editBanned](../methods/channels.editBanned.md) -[$MadelineProto->channels->togglePreHistoryHidden](../methods/channels_togglePreHistoryHidden.md) +[$MadelineProto->channels->togglePreHistoryHidden](../methods/channels.togglePreHistoryHidden.md) -[$MadelineProto->phone->discardCall](../methods/phone_discardCall.md) +[$MadelineProto->phone->discardCall](../methods/phone.discardCall.md) -[$MadelineProto->phone->setCallRating](../methods/phone_setCallRating.md) +[$MadelineProto->phone->setCallRating](../methods/phone.setCallRating.md) diff --git a/old_docs/API_docs_v73/types/User.md b/old_docs/API_docs_v73/types/User.md index 3abd182f..a2e028f4 100644 --- a/old_docs/API_docs_v73/types/User.md +++ b/old_docs/API_docs_v73/types/User.md @@ -42,15 +42,15 @@ A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDia ### Methods that return an object of this type (methods): -[$MadelineProto->account->updateProfile](../methods/account_updateProfile.md) +[$MadelineProto->account->updateProfile](../methods/account.updateProfile.md) -[$MadelineProto->account->updateUsername](../methods/account_updateUsername.md) +[$MadelineProto->account->updateUsername](../methods/account.updateUsername.md) -[$MadelineProto->account->changePhone](../methods/account_changePhone.md) +[$MadelineProto->account->changePhone](../methods/account.changePhone.md) -[$MadelineProto->users->getUsers](../methods/users_getUsers.md) +[$MadelineProto->users->getUsers](../methods/users.getUsers.md) -[$MadelineProto->contacts->importCard](../methods/contacts_importCard.md) +[$MadelineProto->contacts->importCard](../methods/contacts.importCard.md) diff --git a/old_docs/API_docs_v73/types/UserFull.md b/old_docs/API_docs_v73/types/UserFull.md index 79ad30bb..ac50052f 100644 --- a/old_docs/API_docs_v73/types/UserFull.md +++ b/old_docs/API_docs_v73/types/UserFull.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->users->getFullUser](../methods/users_getFullUser.md) +[$MadelineProto->users->getFullUser](../methods/users.getFullUser.md) diff --git a/old_docs/API_docs_v73/types/UserProfilePhoto.md b/old_docs/API_docs_v73/types/UserProfilePhoto.md index e5243a2e..e81e92fd 100644 --- a/old_docs/API_docs_v73/types/UserProfilePhoto.md +++ b/old_docs/API_docs_v73/types/UserProfilePhoto.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->photos->updateProfilePhoto](../methods/photos_updateProfilePhoto.md) +[$MadelineProto->photos->updateProfilePhoto](../methods/photos.updateProfilePhoto.md) diff --git a/old_docs/API_docs_v73/types/WallPaper.md b/old_docs/API_docs_v73/types/WallPaper.md index 8c5ac7cf..45337565 100644 --- a/old_docs/API_docs_v73/types/WallPaper.md +++ b/old_docs/API_docs_v73/types/WallPaper.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->account->getWallPapers](../methods/account_getWallPapers.md) +[$MadelineProto->account->getWallPapers](../methods/account.getWallPapers.md) diff --git a/old_docs/API_docs_v73/types/WebPage.md b/old_docs/API_docs_v73/types/WebPage.md index a3df791f..f6b61c5e 100644 --- a/old_docs/API_docs_v73/types/WebPage.md +++ b/old_docs/API_docs_v73/types/WebPage.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getWebPage](../methods/messages_getWebPage.md) +[$MadelineProto->messages->getWebPage](../methods/messages.getWebPage.md) diff --git a/old_docs/API_docs_v73/types/account.Authorizations.md b/old_docs/API_docs_v73/types/account.Authorizations.md new file mode 100644 index 00000000..f9112038 --- /dev/null +++ b/old_docs/API_docs_v73/types/account.Authorizations.md @@ -0,0 +1,22 @@ +--- +title: account.Authorizations +description: constructors and methods of type account.Authorizations +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.Authorizations +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.authorizations](../constructors/account.authorizations.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getAuthorizations](../methods/account.getAuthorizations.md) + + + diff --git a/old_docs/API_docs_v73/types/account.Password.md b/old_docs/API_docs_v73/types/account.Password.md new file mode 100644 index 00000000..5217ab5e --- /dev/null +++ b/old_docs/API_docs_v73/types/account.Password.md @@ -0,0 +1,24 @@ +--- +title: account.Password +description: constructors and methods of type account.Password +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.Password +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.noPassword](../constructors/account.noPassword.md) + +[account.password](../constructors/account.password.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getPassword](../methods/account.getPassword.md) + + + diff --git a/old_docs/API_docs_v73/types/account.PasswordInputSettings.md b/old_docs/API_docs_v73/types/account.PasswordInputSettings.md new file mode 100644 index 00000000..72e11fdc --- /dev/null +++ b/old_docs/API_docs_v73/types/account.PasswordInputSettings.md @@ -0,0 +1,20 @@ +--- +title: account.PasswordInputSettings +description: constructors and methods of type account.PasswordInputSettings +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.PasswordInputSettings +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.passwordInputSettings](../constructors/account.passwordInputSettings.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v73/types/account.PasswordSettings.md b/old_docs/API_docs_v73/types/account.PasswordSettings.md new file mode 100644 index 00000000..47016832 --- /dev/null +++ b/old_docs/API_docs_v73/types/account.PasswordSettings.md @@ -0,0 +1,22 @@ +--- +title: account.PasswordSettings +description: constructors and methods of type account.PasswordSettings +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.PasswordSettings +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.passwordSettings](../constructors/account.passwordSettings.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getPasswordSettings](../methods/account.getPasswordSettings.md) + + + diff --git a/old_docs/API_docs_v73/types/account.PrivacyRules.md b/old_docs/API_docs_v73/types/account.PrivacyRules.md new file mode 100644 index 00000000..738651ad --- /dev/null +++ b/old_docs/API_docs_v73/types/account.PrivacyRules.md @@ -0,0 +1,24 @@ +--- +title: account.PrivacyRules +description: constructors and methods of type account.PrivacyRules +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.PrivacyRules +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.privacyRules](../constructors/account.privacyRules.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getPrivacy](../methods/account.getPrivacy.md) + +[$MadelineProto->account->setPrivacy](../methods/account.setPrivacy.md) + + + diff --git a/old_docs/API_docs_v73/types/account.TmpPassword.md b/old_docs/API_docs_v73/types/account.TmpPassword.md new file mode 100644 index 00000000..2116c6c0 --- /dev/null +++ b/old_docs/API_docs_v73/types/account.TmpPassword.md @@ -0,0 +1,22 @@ +--- +title: account.TmpPassword +description: constructors and methods of type account.TmpPassword +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.TmpPassword +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.tmpPassword](../constructors/account.tmpPassword.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getTmpPassword](../methods/account.getTmpPassword.md) + + + diff --git a/old_docs/API_docs_v73/types/account_Authorizations.md b/old_docs/API_docs_v73/types/account_Authorizations.md deleted file mode 100644 index 4709ddb5..00000000 --- a/old_docs/API_docs_v73/types/account_Authorizations.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_Authorizations -description: constructors and methods of type account_Authorizations -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_Authorizations -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_authorizations](../constructors/account_authorizations.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getAuthorizations](../methods/account_getAuthorizations.md) - - - diff --git a/old_docs/API_docs_v73/types/account_Password.md b/old_docs/API_docs_v73/types/account_Password.md deleted file mode 100644 index 23e05987..00000000 --- a/old_docs/API_docs_v73/types/account_Password.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: account_Password -description: constructors and methods of type account_Password -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_Password -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_noPassword](../constructors/account_noPassword.md) - -[account\_password](../constructors/account_password.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getPassword](../methods/account_getPassword.md) - - - diff --git a/old_docs/API_docs_v73/types/account_PasswordInputSettings.md b/old_docs/API_docs_v73/types/account_PasswordInputSettings.md deleted file mode 100644 index a6455eb8..00000000 --- a/old_docs/API_docs_v73/types/account_PasswordInputSettings.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: account_PasswordInputSettings -description: constructors and methods of type account_PasswordInputSettings -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_PasswordInputSettings -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_passwordInputSettings](../constructors/account_passwordInputSettings.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v73/types/account_PasswordSettings.md b/old_docs/API_docs_v73/types/account_PasswordSettings.md deleted file mode 100644 index 687eb217..00000000 --- a/old_docs/API_docs_v73/types/account_PasswordSettings.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_PasswordSettings -description: constructors and methods of type account_PasswordSettings -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_PasswordSettings -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_passwordSettings](../constructors/account_passwordSettings.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getPasswordSettings](../methods/account_getPasswordSettings.md) - - - diff --git a/old_docs/API_docs_v73/types/account_PrivacyRules.md b/old_docs/API_docs_v73/types/account_PrivacyRules.md deleted file mode 100644 index 40b00077..00000000 --- a/old_docs/API_docs_v73/types/account_PrivacyRules.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: account_PrivacyRules -description: constructors and methods of type account_PrivacyRules -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_PrivacyRules -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_privacyRules](../constructors/account_privacyRules.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getPrivacy](../methods/account_getPrivacy.md) - -[$MadelineProto->account->setPrivacy](../methods/account_setPrivacy.md) - - - diff --git a/old_docs/API_docs_v73/types/account_TmpPassword.md b/old_docs/API_docs_v73/types/account_TmpPassword.md deleted file mode 100644 index d7557921..00000000 --- a/old_docs/API_docs_v73/types/account_TmpPassword.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_TmpPassword -description: constructors and methods of type account_TmpPassword -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_TmpPassword -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_tmpPassword](../constructors/account_tmpPassword.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getTmpPassword](../methods/account_getTmpPassword.md) - - - diff --git a/old_docs/API_docs_v73/types/auth.Authorization.md b/old_docs/API_docs_v73/types/auth.Authorization.md new file mode 100644 index 00000000..adcfa7d3 --- /dev/null +++ b/old_docs/API_docs_v73/types/auth.Authorization.md @@ -0,0 +1,32 @@ +--- +title: auth.Authorization +description: constructors and methods of type auth.Authorization +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.Authorization +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.authorization](../constructors/auth.authorization.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->signUp](../methods/auth.signUp.md) + +[$MadelineProto->auth->signIn](../methods/auth.signIn.md) + +[$MadelineProto->auth->importAuthorization](../methods/auth.importAuthorization.md) + +[$MadelineProto->auth->importBotAuthorization](../methods/auth.importBotAuthorization.md) + +[$MadelineProto->auth->checkPassword](../methods/auth.checkPassword.md) + +[$MadelineProto->auth->recoverPassword](../methods/auth.recoverPassword.md) + + + diff --git a/old_docs/API_docs_v73/types/auth.CheckedPhone.md b/old_docs/API_docs_v73/types/auth.CheckedPhone.md new file mode 100644 index 00000000..94af3915 --- /dev/null +++ b/old_docs/API_docs_v73/types/auth.CheckedPhone.md @@ -0,0 +1,22 @@ +--- +title: auth.CheckedPhone +description: constructors and methods of type auth.CheckedPhone +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.CheckedPhone +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.checkedPhone](../constructors/auth.checkedPhone.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->checkPhone](../methods/auth.checkPhone.md) + + + diff --git a/old_docs/API_docs_v73/types/auth.CodeType.md b/old_docs/API_docs_v73/types/auth.CodeType.md new file mode 100644 index 00000000..8d2b308d --- /dev/null +++ b/old_docs/API_docs_v73/types/auth.CodeType.md @@ -0,0 +1,24 @@ +--- +title: auth.CodeType +description: constructors and methods of type auth.CodeType +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.CodeType +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.codeTypeSms](../constructors/auth.codeTypeSms.md) + +[auth.codeTypeCall](../constructors/auth.codeTypeCall.md) + +[auth.codeTypeFlashCall](../constructors/auth.codeTypeFlashCall.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v73/types/auth.ExportedAuthorization.md b/old_docs/API_docs_v73/types/auth.ExportedAuthorization.md new file mode 100644 index 00000000..ccb38d60 --- /dev/null +++ b/old_docs/API_docs_v73/types/auth.ExportedAuthorization.md @@ -0,0 +1,22 @@ +--- +title: auth.ExportedAuthorization +description: constructors and methods of type auth.ExportedAuthorization +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.ExportedAuthorization +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.exportedAuthorization](../constructors/auth.exportedAuthorization.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->exportAuthorization](../methods/auth.exportAuthorization.md) + + + diff --git a/old_docs/API_docs_v73/types/auth.PasswordRecovery.md b/old_docs/API_docs_v73/types/auth.PasswordRecovery.md new file mode 100644 index 00000000..c1c18992 --- /dev/null +++ b/old_docs/API_docs_v73/types/auth.PasswordRecovery.md @@ -0,0 +1,22 @@ +--- +title: auth.PasswordRecovery +description: constructors and methods of type auth.PasswordRecovery +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.PasswordRecovery +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.passwordRecovery](../constructors/auth.passwordRecovery.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->requestPasswordRecovery](../methods/auth.requestPasswordRecovery.md) + + + diff --git a/old_docs/API_docs_v73/types/auth.SentCode.md b/old_docs/API_docs_v73/types/auth.SentCode.md new file mode 100644 index 00000000..c786d77e --- /dev/null +++ b/old_docs/API_docs_v73/types/auth.SentCode.md @@ -0,0 +1,28 @@ +--- +title: auth.SentCode +description: constructors and methods of type auth.SentCode +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.SentCode +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.sentCode](../constructors/auth.sentCode.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->sendCode](../methods/auth.sendCode.md) + +[$MadelineProto->auth->resendCode](../methods/auth.resendCode.md) + +[$MadelineProto->account->sendChangePhoneCode](../methods/account.sendChangePhoneCode.md) + +[$MadelineProto->account->sendConfirmPhoneCode](../methods/account.sendConfirmPhoneCode.md) + + + diff --git a/old_docs/API_docs_v73/types/auth.SentCodeType.md b/old_docs/API_docs_v73/types/auth.SentCodeType.md new file mode 100644 index 00000000..7c7c534e --- /dev/null +++ b/old_docs/API_docs_v73/types/auth.SentCodeType.md @@ -0,0 +1,26 @@ +--- +title: auth.SentCodeType +description: constructors and methods of type auth.SentCodeType +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.SentCodeType +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.sentCodeTypeApp](../constructors/auth.sentCodeTypeApp.md) + +[auth.sentCodeTypeSms](../constructors/auth.sentCodeTypeSms.md) + +[auth.sentCodeTypeCall](../constructors/auth.sentCodeTypeCall.md) + +[auth.sentCodeTypeFlashCall](../constructors/auth.sentCodeTypeFlashCall.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v73/types/auth_Authorization.md b/old_docs/API_docs_v73/types/auth_Authorization.md deleted file mode 100644 index 5a34fc2d..00000000 --- a/old_docs/API_docs_v73/types/auth_Authorization.md +++ /dev/null @@ -1,32 +0,0 @@ ---- -title: auth_Authorization -description: constructors and methods of type auth_Authorization -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_Authorization -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_authorization](../constructors/auth_authorization.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->signUp](../methods/auth_signUp.md) - -[$MadelineProto->auth->signIn](../methods/auth_signIn.md) - -[$MadelineProto->auth->importAuthorization](../methods/auth_importAuthorization.md) - -[$MadelineProto->auth->importBotAuthorization](../methods/auth_importBotAuthorization.md) - -[$MadelineProto->auth->checkPassword](../methods/auth_checkPassword.md) - -[$MadelineProto->auth->recoverPassword](../methods/auth_recoverPassword.md) - - - diff --git a/old_docs/API_docs_v73/types/auth_CheckedPhone.md b/old_docs/API_docs_v73/types/auth_CheckedPhone.md deleted file mode 100644 index e9b0def4..00000000 --- a/old_docs/API_docs_v73/types/auth_CheckedPhone.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: auth_CheckedPhone -description: constructors and methods of type auth_CheckedPhone -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_CheckedPhone -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_checkedPhone](../constructors/auth_checkedPhone.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->checkPhone](../methods/auth_checkPhone.md) - - - diff --git a/old_docs/API_docs_v73/types/auth_CodeType.md b/old_docs/API_docs_v73/types/auth_CodeType.md deleted file mode 100644 index 3cd9a7b7..00000000 --- a/old_docs/API_docs_v73/types/auth_CodeType.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: auth_CodeType -description: constructors and methods of type auth_CodeType -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_CodeType -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_codeTypeSms](../constructors/auth_codeTypeSms.md) - -[auth\_codeTypeCall](../constructors/auth_codeTypeCall.md) - -[auth\_codeTypeFlashCall](../constructors/auth_codeTypeFlashCall.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v73/types/auth_ExportedAuthorization.md b/old_docs/API_docs_v73/types/auth_ExportedAuthorization.md deleted file mode 100644 index 69e5c42e..00000000 --- a/old_docs/API_docs_v73/types/auth_ExportedAuthorization.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: auth_ExportedAuthorization -description: constructors and methods of type auth_ExportedAuthorization -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_ExportedAuthorization -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_exportedAuthorization](../constructors/auth_exportedAuthorization.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->exportAuthorization](../methods/auth_exportAuthorization.md) - - - diff --git a/old_docs/API_docs_v73/types/auth_PasswordRecovery.md b/old_docs/API_docs_v73/types/auth_PasswordRecovery.md deleted file mode 100644 index 4962bf42..00000000 --- a/old_docs/API_docs_v73/types/auth_PasswordRecovery.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: auth_PasswordRecovery -description: constructors and methods of type auth_PasswordRecovery -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_PasswordRecovery -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_passwordRecovery](../constructors/auth_passwordRecovery.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->requestPasswordRecovery](../methods/auth_requestPasswordRecovery.md) - - - diff --git a/old_docs/API_docs_v73/types/auth_SentCode.md b/old_docs/API_docs_v73/types/auth_SentCode.md deleted file mode 100644 index 93734713..00000000 --- a/old_docs/API_docs_v73/types/auth_SentCode.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: auth_SentCode -description: constructors and methods of type auth_SentCode -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_SentCode -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_sentCode](../constructors/auth_sentCode.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->sendCode](../methods/auth_sendCode.md) - -[$MadelineProto->auth->resendCode](../methods/auth_resendCode.md) - -[$MadelineProto->account->sendChangePhoneCode](../methods/account_sendChangePhoneCode.md) - -[$MadelineProto->account->sendConfirmPhoneCode](../methods/account_sendConfirmPhoneCode.md) - - - diff --git a/old_docs/API_docs_v73/types/auth_SentCodeType.md b/old_docs/API_docs_v73/types/auth_SentCodeType.md deleted file mode 100644 index 8dfcb93b..00000000 --- a/old_docs/API_docs_v73/types/auth_SentCodeType.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: auth_SentCodeType -description: constructors and methods of type auth_SentCodeType -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_SentCodeType -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_sentCodeTypeApp](../constructors/auth_sentCodeTypeApp.md) - -[auth\_sentCodeTypeSms](../constructors/auth_sentCodeTypeSms.md) - -[auth\_sentCodeTypeCall](../constructors/auth_sentCodeTypeCall.md) - -[auth\_sentCodeTypeFlashCall](../constructors/auth_sentCodeTypeFlashCall.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v73/types/channels.AdminLogResults.md b/old_docs/API_docs_v73/types/channels.AdminLogResults.md new file mode 100644 index 00000000..7855a4fd --- /dev/null +++ b/old_docs/API_docs_v73/types/channels.AdminLogResults.md @@ -0,0 +1,22 @@ +--- +title: channels.AdminLogResults +description: constructors and methods of type channels.AdminLogResults +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: channels.AdminLogResults +[Back to types index](index.md) + + + +### Possible values (constructors): + +[channels.adminLogResults](../constructors/channels.adminLogResults.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->channels->getAdminLog](../methods/channels.getAdminLog.md) + + + diff --git a/old_docs/API_docs_v73/types/channels.ChannelParticipant.md b/old_docs/API_docs_v73/types/channels.ChannelParticipant.md new file mode 100644 index 00000000..8dc7f7e6 --- /dev/null +++ b/old_docs/API_docs_v73/types/channels.ChannelParticipant.md @@ -0,0 +1,22 @@ +--- +title: channels.ChannelParticipant +description: constructors and methods of type channels.ChannelParticipant +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: channels.ChannelParticipant +[Back to types index](index.md) + + + +### Possible values (constructors): + +[channels.channelParticipant](../constructors/channels.channelParticipant.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->channels->getParticipant](../methods/channels.getParticipant.md) + + + diff --git a/old_docs/API_docs_v73/types/channels.ChannelParticipants.md b/old_docs/API_docs_v73/types/channels.ChannelParticipants.md new file mode 100644 index 00000000..d448e007 --- /dev/null +++ b/old_docs/API_docs_v73/types/channels.ChannelParticipants.md @@ -0,0 +1,24 @@ +--- +title: channels.ChannelParticipants +description: constructors and methods of type channels.ChannelParticipants +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: channels.ChannelParticipants +[Back to types index](index.md) + + + +### Possible values (constructors): + +[channels.channelParticipants](../constructors/channels.channelParticipants.md) + +[channels.channelParticipantsNotModified](../constructors/channels.channelParticipantsNotModified.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->channels->getParticipants](../methods/channels.getParticipants.md) + + + diff --git a/old_docs/API_docs_v73/types/channels_AdminLogResults.md b/old_docs/API_docs_v73/types/channels_AdminLogResults.md deleted file mode 100644 index 4e9b5544..00000000 --- a/old_docs/API_docs_v73/types/channels_AdminLogResults.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: channels_AdminLogResults -description: constructors and methods of type channels_AdminLogResults -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: channels\_AdminLogResults -[Back to types index](index.md) - - - -### Possible values (constructors): - -[channels\_adminLogResults](../constructors/channels_adminLogResults.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->channels->getAdminLog](../methods/channels_getAdminLog.md) - - - diff --git a/old_docs/API_docs_v73/types/channels_ChannelParticipant.md b/old_docs/API_docs_v73/types/channels_ChannelParticipant.md deleted file mode 100644 index 3d4667c3..00000000 --- a/old_docs/API_docs_v73/types/channels_ChannelParticipant.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: channels_ChannelParticipant -description: constructors and methods of type channels_ChannelParticipant -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: channels\_ChannelParticipant -[Back to types index](index.md) - - - -### Possible values (constructors): - -[channels\_channelParticipant](../constructors/channels_channelParticipant.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->channels->getParticipant](../methods/channels_getParticipant.md) - - - diff --git a/old_docs/API_docs_v73/types/channels_ChannelParticipants.md b/old_docs/API_docs_v73/types/channels_ChannelParticipants.md deleted file mode 100644 index 80a41dd9..00000000 --- a/old_docs/API_docs_v73/types/channels_ChannelParticipants.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: channels_ChannelParticipants -description: constructors and methods of type channels_ChannelParticipants -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: channels\_ChannelParticipants -[Back to types index](index.md) - - - -### Possible values (constructors): - -[channels\_channelParticipants](../constructors/channels_channelParticipants.md) - -[channels\_channelParticipantsNotModified](../constructors/channels_channelParticipantsNotModified.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->channels->getParticipants](../methods/channels_getParticipants.md) - - - diff --git a/old_docs/API_docs_v73/types/contacts.Blocked.md b/old_docs/API_docs_v73/types/contacts.Blocked.md new file mode 100644 index 00000000..cb2af80f --- /dev/null +++ b/old_docs/API_docs_v73/types/contacts.Blocked.md @@ -0,0 +1,24 @@ +--- +title: contacts.Blocked +description: constructors and methods of type contacts.Blocked +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Blocked +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.blocked](../constructors/contacts.blocked.md) + +[contacts.blockedSlice](../constructors/contacts.blockedSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getBlocked](../methods/contacts.getBlocked.md) + + + diff --git a/old_docs/API_docs_v73/types/contacts.Contacts.md b/old_docs/API_docs_v73/types/contacts.Contacts.md new file mode 100644 index 00000000..5f695d8e --- /dev/null +++ b/old_docs/API_docs_v73/types/contacts.Contacts.md @@ -0,0 +1,24 @@ +--- +title: contacts.Contacts +description: constructors and methods of type contacts.Contacts +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Contacts +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.contactsNotModified](../constructors/contacts.contactsNotModified.md) + +[contacts.contacts](../constructors/contacts.contacts.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getContacts](../methods/contacts.getContacts.md) + + + diff --git a/old_docs/API_docs_v73/types/contacts.Found.md b/old_docs/API_docs_v73/types/contacts.Found.md new file mode 100644 index 00000000..7df98927 --- /dev/null +++ b/old_docs/API_docs_v73/types/contacts.Found.md @@ -0,0 +1,22 @@ +--- +title: contacts.Found +description: constructors and methods of type contacts.Found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Found +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.found](../constructors/contacts.found.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->search](../methods/contacts.search.md) + + + diff --git a/old_docs/API_docs_v73/types/contacts.ImportedContacts.md b/old_docs/API_docs_v73/types/contacts.ImportedContacts.md new file mode 100644 index 00000000..16795bab --- /dev/null +++ b/old_docs/API_docs_v73/types/contacts.ImportedContacts.md @@ -0,0 +1,22 @@ +--- +title: contacts.ImportedContacts +description: constructors and methods of type contacts.ImportedContacts +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.ImportedContacts +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.importedContacts](../constructors/contacts.importedContacts.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->importContacts](../methods/contacts.importContacts.md) + + + diff --git a/old_docs/API_docs_v73/types/contacts.Link.md b/old_docs/API_docs_v73/types/contacts.Link.md new file mode 100644 index 00000000..eb9da683 --- /dev/null +++ b/old_docs/API_docs_v73/types/contacts.Link.md @@ -0,0 +1,22 @@ +--- +title: contacts.Link +description: constructors and methods of type contacts.Link +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Link +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.link](../constructors/contacts.link.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->deleteContact](../methods/contacts.deleteContact.md) + + + diff --git a/old_docs/API_docs_v73/types/contacts.ResolvedPeer.md b/old_docs/API_docs_v73/types/contacts.ResolvedPeer.md new file mode 100644 index 00000000..13630d54 --- /dev/null +++ b/old_docs/API_docs_v73/types/contacts.ResolvedPeer.md @@ -0,0 +1,22 @@ +--- +title: contacts.ResolvedPeer +description: constructors and methods of type contacts.ResolvedPeer +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.ResolvedPeer +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.resolvedPeer](../constructors/contacts.resolvedPeer.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->resolveUsername](../methods/contacts.resolveUsername.md) + + + diff --git a/old_docs/API_docs_v73/types/contacts.TopPeers.md b/old_docs/API_docs_v73/types/contacts.TopPeers.md new file mode 100644 index 00000000..b8107616 --- /dev/null +++ b/old_docs/API_docs_v73/types/contacts.TopPeers.md @@ -0,0 +1,24 @@ +--- +title: contacts.TopPeers +description: constructors and methods of type contacts.TopPeers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.TopPeers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.topPeersNotModified](../constructors/contacts.topPeersNotModified.md) + +[contacts.topPeers](../constructors/contacts.topPeers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getTopPeers](../methods/contacts.getTopPeers.md) + + + diff --git a/old_docs/API_docs_v73/types/contacts_Blocked.md b/old_docs/API_docs_v73/types/contacts_Blocked.md deleted file mode 100644 index 3e1f02eb..00000000 --- a/old_docs/API_docs_v73/types/contacts_Blocked.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: contacts_Blocked -description: constructors and methods of type contacts_Blocked -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Blocked -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_blocked](../constructors/contacts_blocked.md) - -[contacts\_blockedSlice](../constructors/contacts_blockedSlice.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->getBlocked](../methods/contacts_getBlocked.md) - - - diff --git a/old_docs/API_docs_v73/types/contacts_Contacts.md b/old_docs/API_docs_v73/types/contacts_Contacts.md deleted file mode 100644 index 5d6c9506..00000000 --- a/old_docs/API_docs_v73/types/contacts_Contacts.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: contacts_Contacts -description: constructors and methods of type contacts_Contacts -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Contacts -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_contactsNotModified](../constructors/contacts_contactsNotModified.md) - -[contacts\_contacts](../constructors/contacts_contacts.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->getContacts](../methods/contacts_getContacts.md) - - - diff --git a/old_docs/API_docs_v73/types/contacts_Found.md b/old_docs/API_docs_v73/types/contacts_Found.md deleted file mode 100644 index 806101cf..00000000 --- a/old_docs/API_docs_v73/types/contacts_Found.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_Found -description: constructors and methods of type contacts_Found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Found -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_found](../constructors/contacts_found.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->search](../methods/contacts_search.md) - - - diff --git a/old_docs/API_docs_v73/types/contacts_ImportedContacts.md b/old_docs/API_docs_v73/types/contacts_ImportedContacts.md deleted file mode 100644 index faf7e615..00000000 --- a/old_docs/API_docs_v73/types/contacts_ImportedContacts.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_ImportedContacts -description: constructors and methods of type contacts_ImportedContacts -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_ImportedContacts -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_importedContacts](../constructors/contacts_importedContacts.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->importContacts](../methods/contacts_importContacts.md) - - - diff --git a/old_docs/API_docs_v73/types/contacts_Link.md b/old_docs/API_docs_v73/types/contacts_Link.md deleted file mode 100644 index 01556606..00000000 --- a/old_docs/API_docs_v73/types/contacts_Link.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_Link -description: constructors and methods of type contacts_Link -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Link -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_link](../constructors/contacts_link.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->deleteContact](../methods/contacts_deleteContact.md) - - - diff --git a/old_docs/API_docs_v73/types/contacts_ResolvedPeer.md b/old_docs/API_docs_v73/types/contacts_ResolvedPeer.md deleted file mode 100644 index cf107f7c..00000000 --- a/old_docs/API_docs_v73/types/contacts_ResolvedPeer.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_ResolvedPeer -description: constructors and methods of type contacts_ResolvedPeer -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_ResolvedPeer -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_resolvedPeer](../constructors/contacts_resolvedPeer.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->resolveUsername](../methods/contacts_resolveUsername.md) - - - diff --git a/old_docs/API_docs_v73/types/contacts_TopPeers.md b/old_docs/API_docs_v73/types/contacts_TopPeers.md deleted file mode 100644 index fe4255c7..00000000 --- a/old_docs/API_docs_v73/types/contacts_TopPeers.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: contacts_TopPeers -description: constructors and methods of type contacts_TopPeers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_TopPeers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_topPeersNotModified](../constructors/contacts_topPeersNotModified.md) - -[contacts\_topPeers](../constructors/contacts_topPeers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->getTopPeers](../methods/contacts_getTopPeers.md) - - - diff --git a/old_docs/API_docs_v73/types/help.AppUpdate.md b/old_docs/API_docs_v73/types/help.AppUpdate.md new file mode 100644 index 00000000..285ec2b7 --- /dev/null +++ b/old_docs/API_docs_v73/types/help.AppUpdate.md @@ -0,0 +1,24 @@ +--- +title: help.AppUpdate +description: constructors and methods of type help.AppUpdate +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.AppUpdate +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.appUpdate](../constructors/help.appUpdate.md) + +[help.noAppUpdate](../constructors/help.noAppUpdate.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getAppUpdate](../methods/help.getAppUpdate.md) + + + diff --git a/old_docs/API_docs_v73/types/help.InviteText.md b/old_docs/API_docs_v73/types/help.InviteText.md new file mode 100644 index 00000000..43293f46 --- /dev/null +++ b/old_docs/API_docs_v73/types/help.InviteText.md @@ -0,0 +1,22 @@ +--- +title: help.InviteText +description: constructors and methods of type help.InviteText +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.InviteText +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.inviteText](../constructors/help.inviteText.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getInviteText](../methods/help.getInviteText.md) + + + diff --git a/old_docs/API_docs_v73/types/help.RecentMeUrls.md b/old_docs/API_docs_v73/types/help.RecentMeUrls.md new file mode 100644 index 00000000..6b7ee2c1 --- /dev/null +++ b/old_docs/API_docs_v73/types/help.RecentMeUrls.md @@ -0,0 +1,22 @@ +--- +title: help.RecentMeUrls +description: constructors and methods of type help.RecentMeUrls +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.RecentMeUrls +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.recentMeUrls](../constructors/help.recentMeUrls.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getRecentMeUrls](../methods/help.getRecentMeUrls.md) + + + diff --git a/old_docs/API_docs_v73/types/help.Support.md b/old_docs/API_docs_v73/types/help.Support.md new file mode 100644 index 00000000..42c20483 --- /dev/null +++ b/old_docs/API_docs_v73/types/help.Support.md @@ -0,0 +1,22 @@ +--- +title: help.Support +description: constructors and methods of type help.Support +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.Support +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.support](../constructors/help.support.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getSupport](../methods/help.getSupport.md) + + + diff --git a/old_docs/API_docs_v73/types/help.TermsOfService.md b/old_docs/API_docs_v73/types/help.TermsOfService.md new file mode 100644 index 00000000..6c29d2e6 --- /dev/null +++ b/old_docs/API_docs_v73/types/help.TermsOfService.md @@ -0,0 +1,22 @@ +--- +title: help.TermsOfService +description: constructors and methods of type help.TermsOfService +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.TermsOfService +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.termsOfService](../constructors/help.termsOfService.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getTermsOfService](../methods/help.getTermsOfService.md) + + + diff --git a/old_docs/API_docs_v73/types/help_AppUpdate.md b/old_docs/API_docs_v73/types/help_AppUpdate.md deleted file mode 100644 index 1f296a70..00000000 --- a/old_docs/API_docs_v73/types/help_AppUpdate.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: help_AppUpdate -description: constructors and methods of type help_AppUpdate -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_AppUpdate -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_appUpdate](../constructors/help_appUpdate.md) - -[help\_noAppUpdate](../constructors/help_noAppUpdate.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getAppUpdate](../methods/help_getAppUpdate.md) - - - diff --git a/old_docs/API_docs_v73/types/help_InviteText.md b/old_docs/API_docs_v73/types/help_InviteText.md deleted file mode 100644 index 018d35bf..00000000 --- a/old_docs/API_docs_v73/types/help_InviteText.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: help_InviteText -description: constructors and methods of type help_InviteText -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_InviteText -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_inviteText](../constructors/help_inviteText.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getInviteText](../methods/help_getInviteText.md) - - - diff --git a/old_docs/API_docs_v73/types/help_RecentMeUrls.md b/old_docs/API_docs_v73/types/help_RecentMeUrls.md deleted file mode 100644 index 691af1c3..00000000 --- a/old_docs/API_docs_v73/types/help_RecentMeUrls.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: help_RecentMeUrls -description: constructors and methods of type help_RecentMeUrls -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_RecentMeUrls -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_recentMeUrls](../constructors/help_recentMeUrls.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getRecentMeUrls](../methods/help_getRecentMeUrls.md) - - - diff --git a/old_docs/API_docs_v73/types/help_Support.md b/old_docs/API_docs_v73/types/help_Support.md deleted file mode 100644 index 26de447b..00000000 --- a/old_docs/API_docs_v73/types/help_Support.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: help_Support -description: constructors and methods of type help_Support -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_Support -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_support](../constructors/help_support.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getSupport](../methods/help_getSupport.md) - - - diff --git a/old_docs/API_docs_v73/types/help_TermsOfService.md b/old_docs/API_docs_v73/types/help_TermsOfService.md deleted file mode 100644 index 84a05df3..00000000 --- a/old_docs/API_docs_v73/types/help_TermsOfService.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: help_TermsOfService -description: constructors and methods of type help_TermsOfService -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_TermsOfService -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_termsOfService](../constructors/help_termsOfService.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getTermsOfService](../methods/help_getTermsOfService.md) - - - diff --git a/old_docs/API_docs_v73/types/messages.AffectedHistory.md b/old_docs/API_docs_v73/types/messages.AffectedHistory.md new file mode 100644 index 00000000..8a1e850a --- /dev/null +++ b/old_docs/API_docs_v73/types/messages.AffectedHistory.md @@ -0,0 +1,26 @@ +--- +title: messages.AffectedHistory +description: constructors and methods of type messages.AffectedHistory +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.AffectedHistory +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.affectedHistory](../constructors/messages.affectedHistory.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->deleteHistory](../methods/messages.deleteHistory.md) + +[$MadelineProto->messages->readMentions](../methods/messages.readMentions.md) + +[$MadelineProto->channels->deleteUserHistory](../methods/channels.deleteUserHistory.md) + + + diff --git a/old_docs/API_docs_v73/types/messages.AffectedMessages.md b/old_docs/API_docs_v73/types/messages.AffectedMessages.md new file mode 100644 index 00000000..a9159de3 --- /dev/null +++ b/old_docs/API_docs_v73/types/messages.AffectedMessages.md @@ -0,0 +1,28 @@ +--- +title: messages.AffectedMessages +description: constructors and methods of type messages.AffectedMessages +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.AffectedMessages +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.affectedMessages](../constructors/messages.affectedMessages.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->readHistory](../methods/messages.readHistory.md) + +[$MadelineProto->messages->deleteMessages](../methods/messages.deleteMessages.md) + +[$MadelineProto->messages->readMessageContents](../methods/messages.readMessageContents.md) + +[$MadelineProto->channels->deleteMessages](../methods/channels.deleteMessages.md) + + + diff --git a/old_docs/API_docs_v73/types/messages.AllStickers.md b/old_docs/API_docs_v73/types/messages.AllStickers.md new file mode 100644 index 00000000..fd8565de --- /dev/null +++ b/old_docs/API_docs_v73/types/messages.AllStickers.md @@ -0,0 +1,26 @@ +--- +title: messages.AllStickers +description: constructors and methods of type messages.AllStickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.AllStickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.allStickersNotModified](../constructors/messages.allStickersNotModified.md) + +[messages.allStickers](../constructors/messages.allStickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getAllStickers](../methods/messages.getAllStickers.md) + +[$MadelineProto->messages->getMaskStickers](../methods/messages.getMaskStickers.md) + + + diff --git a/old_docs/API_docs_v73/types/messages.ArchivedStickers.md b/old_docs/API_docs_v73/types/messages.ArchivedStickers.md new file mode 100644 index 00000000..3e017c5d --- /dev/null +++ b/old_docs/API_docs_v73/types/messages.ArchivedStickers.md @@ -0,0 +1,22 @@ +--- +title: messages.ArchivedStickers +description: constructors and methods of type messages.ArchivedStickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.ArchivedStickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.archivedStickers](../constructors/messages.archivedStickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getArchivedStickers](../methods/messages.getArchivedStickers.md) + + + diff --git a/old_docs/API_docs_v73/types/messages.BotCallbackAnswer.md b/old_docs/API_docs_v73/types/messages.BotCallbackAnswer.md new file mode 100644 index 00000000..ef30fbfb --- /dev/null +++ b/old_docs/API_docs_v73/types/messages.BotCallbackAnswer.md @@ -0,0 +1,22 @@ +--- +title: messages.BotCallbackAnswer +description: constructors and methods of type messages.BotCallbackAnswer +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.BotCallbackAnswer +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.botCallbackAnswer](../constructors/messages.botCallbackAnswer.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getBotCallbackAnswer](../methods/messages.getBotCallbackAnswer.md) + + + diff --git a/old_docs/API_docs_v73/types/messages.BotResults.md b/old_docs/API_docs_v73/types/messages.BotResults.md new file mode 100644 index 00000000..76ee2b99 --- /dev/null +++ b/old_docs/API_docs_v73/types/messages.BotResults.md @@ -0,0 +1,22 @@ +--- +title: messages.BotResults +description: constructors and methods of type messages.BotResults +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.BotResults +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.botResults](../constructors/messages.botResults.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getInlineBotResults](../methods/messages.getInlineBotResults.md) + + + diff --git a/old_docs/API_docs_v73/types/messages.ChatFull.md b/old_docs/API_docs_v73/types/messages.ChatFull.md new file mode 100644 index 00000000..3ad38748 --- /dev/null +++ b/old_docs/API_docs_v73/types/messages.ChatFull.md @@ -0,0 +1,24 @@ +--- +title: messages.ChatFull +description: constructors and methods of type messages.ChatFull +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.ChatFull +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.chatFull](../constructors/messages.chatFull.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getFullChat](../methods/messages.getFullChat.md) + +[$MadelineProto->channels->getFullChannel](../methods/channels.getFullChannel.md) + + + diff --git a/old_docs/API_docs_v73/types/messages.Chats.md b/old_docs/API_docs_v73/types/messages.Chats.md new file mode 100644 index 00000000..2c730bf4 --- /dev/null +++ b/old_docs/API_docs_v73/types/messages.Chats.md @@ -0,0 +1,32 @@ +--- +title: messages.Chats +description: constructors and methods of type messages.Chats +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Chats +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.chats](../constructors/messages.chats.md) + +[messages.chatsSlice](../constructors/messages.chatsSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getChats](../methods/messages.getChats.md) + +[$MadelineProto->messages->getCommonChats](../methods/messages.getCommonChats.md) + +[$MadelineProto->messages->getAllChats](../methods/messages.getAllChats.md) + +[$MadelineProto->channels->getChannels](../methods/channels.getChannels.md) + +[$MadelineProto->channels->getAdminedPublicChannels](../methods/channels.getAdminedPublicChannels.md) + + + diff --git a/old_docs/API_docs_v73/types/messages.DhConfig.md b/old_docs/API_docs_v73/types/messages.DhConfig.md new file mode 100644 index 00000000..77188ab7 --- /dev/null +++ b/old_docs/API_docs_v73/types/messages.DhConfig.md @@ -0,0 +1,24 @@ +--- +title: messages.DhConfig +description: constructors and methods of type messages.DhConfig +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.DhConfig +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.dhConfigNotModified](../constructors/messages.dhConfigNotModified.md) + +[messages.dhConfig](../constructors/messages.dhConfig.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getDhConfig](../methods/messages.getDhConfig.md) + + + diff --git a/old_docs/API_docs_v73/types/messages.Dialogs.md b/old_docs/API_docs_v73/types/messages.Dialogs.md new file mode 100644 index 00000000..1a57d535 --- /dev/null +++ b/old_docs/API_docs_v73/types/messages.Dialogs.md @@ -0,0 +1,24 @@ +--- +title: messages.Dialogs +description: constructors and methods of type messages.Dialogs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Dialogs +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.dialogs](../constructors/messages.dialogs.md) + +[messages.dialogsSlice](../constructors/messages.dialogsSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getDialogs](../methods/messages.getDialogs.md) + + + diff --git a/old_docs/API_docs_v73/types/messages.FavedStickers.md b/old_docs/API_docs_v73/types/messages.FavedStickers.md new file mode 100644 index 00000000..3edc863b --- /dev/null +++ b/old_docs/API_docs_v73/types/messages.FavedStickers.md @@ -0,0 +1,24 @@ +--- +title: messages.FavedStickers +description: constructors and methods of type messages.FavedStickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.FavedStickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.favedStickersNotModified](../constructors/messages.favedStickersNotModified.md) + +[messages.favedStickers](../constructors/messages.favedStickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getFavedStickers](../methods/messages.getFavedStickers.md) + + + diff --git a/old_docs/API_docs_v73/types/messages.FeaturedStickers.md b/old_docs/API_docs_v73/types/messages.FeaturedStickers.md new file mode 100644 index 00000000..06ed87bb --- /dev/null +++ b/old_docs/API_docs_v73/types/messages.FeaturedStickers.md @@ -0,0 +1,24 @@ +--- +title: messages.FeaturedStickers +description: constructors and methods of type messages.FeaturedStickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.FeaturedStickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.featuredStickersNotModified](../constructors/messages.featuredStickersNotModified.md) + +[messages.featuredStickers](../constructors/messages.featuredStickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getFeaturedStickers](../methods/messages.getFeaturedStickers.md) + + + diff --git a/old_docs/API_docs_v73/types/messages.FoundGifs.md b/old_docs/API_docs_v73/types/messages.FoundGifs.md new file mode 100644 index 00000000..b5176a5d --- /dev/null +++ b/old_docs/API_docs_v73/types/messages.FoundGifs.md @@ -0,0 +1,22 @@ +--- +title: messages.FoundGifs +description: constructors and methods of type messages.FoundGifs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.FoundGifs +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.foundGifs](../constructors/messages.foundGifs.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->searchGifs](../methods/messages.searchGifs.md) + + + diff --git a/old_docs/API_docs_v73/types/messages.HighScores.md b/old_docs/API_docs_v73/types/messages.HighScores.md new file mode 100644 index 00000000..eae9db66 --- /dev/null +++ b/old_docs/API_docs_v73/types/messages.HighScores.md @@ -0,0 +1,24 @@ +--- +title: messages.HighScores +description: constructors and methods of type messages.HighScores +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.HighScores +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.highScores](../constructors/messages.highScores.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getGameHighScores](../methods/messages.getGameHighScores.md) + +[$MadelineProto->messages->getInlineGameHighScores](../methods/messages.getInlineGameHighScores.md) + + + diff --git a/old_docs/API_docs_v73/types/messages.MessageEditData.md b/old_docs/API_docs_v73/types/messages.MessageEditData.md new file mode 100644 index 00000000..feb572f1 --- /dev/null +++ b/old_docs/API_docs_v73/types/messages.MessageEditData.md @@ -0,0 +1,22 @@ +--- +title: messages.MessageEditData +description: constructors and methods of type messages.MessageEditData +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.MessageEditData +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.messageEditData](../constructors/messages.messageEditData.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getMessageEditData](../methods/messages.getMessageEditData.md) + + + diff --git a/old_docs/API_docs_v73/types/messages.Messages.md b/old_docs/API_docs_v73/types/messages.Messages.md new file mode 100644 index 00000000..699ceada --- /dev/null +++ b/old_docs/API_docs_v73/types/messages.Messages.md @@ -0,0 +1,40 @@ +--- +title: messages.Messages +description: constructors and methods of type messages.Messages +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Messages +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.messages](../constructors/messages.messages.md) + +[messages.messagesSlice](../constructors/messages.messagesSlice.md) + +[messages.channelMessages](../constructors/messages.channelMessages.md) + +[messages.messagesNotModified](../constructors/messages.messagesNotModified.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getMessages](../methods/messages.getMessages.md) + +[$MadelineProto->messages->getHistory](../methods/messages.getHistory.md) + +[$MadelineProto->messages->search](../methods/messages.search.md) + +[$MadelineProto->messages->searchGlobal](../methods/messages.searchGlobal.md) + +[$MadelineProto->messages->getUnreadMentions](../methods/messages.getUnreadMentions.md) + +[$MadelineProto->messages->getRecentLocations](../methods/messages.getRecentLocations.md) + +[$MadelineProto->channels->getMessages](../methods/channels.getMessages.md) + + + diff --git a/old_docs/API_docs_v73/types/messages.PeerDialogs.md b/old_docs/API_docs_v73/types/messages.PeerDialogs.md new file mode 100644 index 00000000..9a1ceaf0 --- /dev/null +++ b/old_docs/API_docs_v73/types/messages.PeerDialogs.md @@ -0,0 +1,24 @@ +--- +title: messages.PeerDialogs +description: constructors and methods of type messages.PeerDialogs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.PeerDialogs +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.peerDialogs](../constructors/messages.peerDialogs.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getPeerDialogs](../methods/messages.getPeerDialogs.md) + +[$MadelineProto->messages->getPinnedDialogs](../methods/messages.getPinnedDialogs.md) + + + diff --git a/old_docs/API_docs_v73/types/messages.RecentStickers.md b/old_docs/API_docs_v73/types/messages.RecentStickers.md new file mode 100644 index 00000000..e5c49b92 --- /dev/null +++ b/old_docs/API_docs_v73/types/messages.RecentStickers.md @@ -0,0 +1,24 @@ +--- +title: messages.RecentStickers +description: constructors and methods of type messages.RecentStickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.RecentStickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.recentStickersNotModified](../constructors/messages.recentStickersNotModified.md) + +[messages.recentStickers](../constructors/messages.recentStickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getRecentStickers](../methods/messages.getRecentStickers.md) + + + diff --git a/old_docs/API_docs_v73/types/messages.SavedGifs.md b/old_docs/API_docs_v73/types/messages.SavedGifs.md new file mode 100644 index 00000000..99844c98 --- /dev/null +++ b/old_docs/API_docs_v73/types/messages.SavedGifs.md @@ -0,0 +1,24 @@ +--- +title: messages.SavedGifs +description: constructors and methods of type messages.SavedGifs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.SavedGifs +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.savedGifsNotModified](../constructors/messages.savedGifsNotModified.md) + +[messages.savedGifs](../constructors/messages.savedGifs.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getSavedGifs](../methods/messages.getSavedGifs.md) + + + diff --git a/old_docs/API_docs_v73/types/messages.SentEncryptedMessage.md b/old_docs/API_docs_v73/types/messages.SentEncryptedMessage.md new file mode 100644 index 00000000..b6d05b1f --- /dev/null +++ b/old_docs/API_docs_v73/types/messages.SentEncryptedMessage.md @@ -0,0 +1,28 @@ +--- +title: messages.SentEncryptedMessage +description: constructors and methods of type messages.SentEncryptedMessage +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.SentEncryptedMessage +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.sentEncryptedMessage](../constructors/messages.sentEncryptedMessage.md) + +[messages.sentEncryptedFile](../constructors/messages.sentEncryptedFile.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->sendEncrypted](../methods/messages.sendEncrypted.md) + +[$MadelineProto->messages->sendEncryptedFile](../methods/messages.sendEncryptedFile.md) + +[$MadelineProto->messages->sendEncryptedService](../methods/messages.sendEncryptedService.md) + + + diff --git a/old_docs/API_docs_v73/types/messages.StickerSet.md b/old_docs/API_docs_v73/types/messages.StickerSet.md new file mode 100644 index 00000000..e173fe45 --- /dev/null +++ b/old_docs/API_docs_v73/types/messages.StickerSet.md @@ -0,0 +1,30 @@ +--- +title: messages.StickerSet +description: constructors and methods of type messages.StickerSet +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.StickerSet +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.stickerSet](../constructors/messages.stickerSet.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getStickerSet](../methods/messages.getStickerSet.md) + +[$MadelineProto->stickers->createStickerSet](../methods/stickers.createStickerSet.md) + +[$MadelineProto->stickers->removeStickerFromSet](../methods/stickers.removeStickerFromSet.md) + +[$MadelineProto->stickers->changeStickerPosition](../methods/stickers.changeStickerPosition.md) + +[$MadelineProto->stickers->addStickerToSet](../methods/stickers.addStickerToSet.md) + + + diff --git a/old_docs/API_docs_v73/types/messages.StickerSetInstallResult.md b/old_docs/API_docs_v73/types/messages.StickerSetInstallResult.md new file mode 100644 index 00000000..9e09c293 --- /dev/null +++ b/old_docs/API_docs_v73/types/messages.StickerSetInstallResult.md @@ -0,0 +1,24 @@ +--- +title: messages.StickerSetInstallResult +description: constructors and methods of type messages.StickerSetInstallResult +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.StickerSetInstallResult +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.stickerSetInstallResultSuccess](../constructors/messages.stickerSetInstallResultSuccess.md) + +[messages.stickerSetInstallResultArchive](../constructors/messages.stickerSetInstallResultArchive.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->installStickerSet](../methods/messages.installStickerSet.md) + + + diff --git a/old_docs/API_docs_v73/types/messages.Stickers.md b/old_docs/API_docs_v73/types/messages.Stickers.md new file mode 100644 index 00000000..0da398ca --- /dev/null +++ b/old_docs/API_docs_v73/types/messages.Stickers.md @@ -0,0 +1,22 @@ +--- +title: messages.Stickers +description: constructors and methods of type messages.Stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Stickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.stickersNotModified](../constructors/messages.stickersNotModified.md) + +[messages.stickers](../constructors/messages.stickers.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v73/types/messages_AffectedHistory.md b/old_docs/API_docs_v73/types/messages_AffectedHistory.md deleted file mode 100644 index 9eef04c0..00000000 --- a/old_docs/API_docs_v73/types/messages_AffectedHistory.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: messages_AffectedHistory -description: constructors and methods of type messages_AffectedHistory -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_AffectedHistory -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_affectedHistory](../constructors/messages_affectedHistory.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->deleteHistory](../methods/messages_deleteHistory.md) - -[$MadelineProto->messages->readMentions](../methods/messages_readMentions.md) - -[$MadelineProto->channels->deleteUserHistory](../methods/channels_deleteUserHistory.md) - - - diff --git a/old_docs/API_docs_v73/types/messages_AffectedMessages.md b/old_docs/API_docs_v73/types/messages_AffectedMessages.md deleted file mode 100644 index dcbea721..00000000 --- a/old_docs/API_docs_v73/types/messages_AffectedMessages.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: messages_AffectedMessages -description: constructors and methods of type messages_AffectedMessages -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_AffectedMessages -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_affectedMessages](../constructors/messages_affectedMessages.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->readHistory](../methods/messages_readHistory.md) - -[$MadelineProto->messages->deleteMessages](../methods/messages_deleteMessages.md) - -[$MadelineProto->messages->readMessageContents](../methods/messages_readMessageContents.md) - -[$MadelineProto->channels->deleteMessages](../methods/channels_deleteMessages.md) - - - diff --git a/old_docs/API_docs_v73/types/messages_AllStickers.md b/old_docs/API_docs_v73/types/messages_AllStickers.md deleted file mode 100644 index b6a322e0..00000000 --- a/old_docs/API_docs_v73/types/messages_AllStickers.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: messages_AllStickers -description: constructors and methods of type messages_AllStickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_AllStickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_allStickersNotModified](../constructors/messages_allStickersNotModified.md) - -[messages\_allStickers](../constructors/messages_allStickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getAllStickers](../methods/messages_getAllStickers.md) - -[$MadelineProto->messages->getMaskStickers](../methods/messages_getMaskStickers.md) - - - diff --git a/old_docs/API_docs_v73/types/messages_ArchivedStickers.md b/old_docs/API_docs_v73/types/messages_ArchivedStickers.md deleted file mode 100644 index c569675e..00000000 --- a/old_docs/API_docs_v73/types/messages_ArchivedStickers.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_ArchivedStickers -description: constructors and methods of type messages_ArchivedStickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_ArchivedStickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_archivedStickers](../constructors/messages_archivedStickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getArchivedStickers](../methods/messages_getArchivedStickers.md) - - - diff --git a/old_docs/API_docs_v73/types/messages_BotCallbackAnswer.md b/old_docs/API_docs_v73/types/messages_BotCallbackAnswer.md deleted file mode 100644 index f8d424d0..00000000 --- a/old_docs/API_docs_v73/types/messages_BotCallbackAnswer.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_BotCallbackAnswer -description: constructors and methods of type messages_BotCallbackAnswer -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_BotCallbackAnswer -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_botCallbackAnswer](../constructors/messages_botCallbackAnswer.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getBotCallbackAnswer](../methods/messages_getBotCallbackAnswer.md) - - - diff --git a/old_docs/API_docs_v73/types/messages_BotResults.md b/old_docs/API_docs_v73/types/messages_BotResults.md deleted file mode 100644 index c346c5bd..00000000 --- a/old_docs/API_docs_v73/types/messages_BotResults.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_BotResults -description: constructors and methods of type messages_BotResults -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_BotResults -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_botResults](../constructors/messages_botResults.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getInlineBotResults](../methods/messages_getInlineBotResults.md) - - - diff --git a/old_docs/API_docs_v73/types/messages_ChatFull.md b/old_docs/API_docs_v73/types/messages_ChatFull.md deleted file mode 100644 index e4add41e..00000000 --- a/old_docs/API_docs_v73/types/messages_ChatFull.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_ChatFull -description: constructors and methods of type messages_ChatFull -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_ChatFull -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_chatFull](../constructors/messages_chatFull.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getFullChat](../methods/messages_getFullChat.md) - -[$MadelineProto->channels->getFullChannel](../methods/channels_getFullChannel.md) - - - diff --git a/old_docs/API_docs_v73/types/messages_Chats.md b/old_docs/API_docs_v73/types/messages_Chats.md deleted file mode 100644 index e49a9718..00000000 --- a/old_docs/API_docs_v73/types/messages_Chats.md +++ /dev/null @@ -1,32 +0,0 @@ ---- -title: messages_Chats -description: constructors and methods of type messages_Chats -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Chats -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_chats](../constructors/messages_chats.md) - -[messages\_chatsSlice](../constructors/messages_chatsSlice.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getChats](../methods/messages_getChats.md) - -[$MadelineProto->messages->getCommonChats](../methods/messages_getCommonChats.md) - -[$MadelineProto->messages->getAllChats](../methods/messages_getAllChats.md) - -[$MadelineProto->channels->getChannels](../methods/channels_getChannels.md) - -[$MadelineProto->channels->getAdminedPublicChannels](../methods/channels_getAdminedPublicChannels.md) - - - diff --git a/old_docs/API_docs_v73/types/messages_DhConfig.md b/old_docs/API_docs_v73/types/messages_DhConfig.md deleted file mode 100644 index ce237411..00000000 --- a/old_docs/API_docs_v73/types/messages_DhConfig.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_DhConfig -description: constructors and methods of type messages_DhConfig -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_DhConfig -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_dhConfigNotModified](../constructors/messages_dhConfigNotModified.md) - -[messages\_dhConfig](../constructors/messages_dhConfig.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getDhConfig](../methods/messages_getDhConfig.md) - - - diff --git a/old_docs/API_docs_v73/types/messages_Dialogs.md b/old_docs/API_docs_v73/types/messages_Dialogs.md deleted file mode 100644 index 733a42c5..00000000 --- a/old_docs/API_docs_v73/types/messages_Dialogs.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_Dialogs -description: constructors and methods of type messages_Dialogs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Dialogs -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_dialogs](../constructors/messages_dialogs.md) - -[messages\_dialogsSlice](../constructors/messages_dialogsSlice.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getDialogs](../methods/messages_getDialogs.md) - - - diff --git a/old_docs/API_docs_v73/types/messages_FavedStickers.md b/old_docs/API_docs_v73/types/messages_FavedStickers.md deleted file mode 100644 index 6fa1f221..00000000 --- a/old_docs/API_docs_v73/types/messages_FavedStickers.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_FavedStickers -description: constructors and methods of type messages_FavedStickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_FavedStickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_favedStickersNotModified](../constructors/messages_favedStickersNotModified.md) - -[messages\_favedStickers](../constructors/messages_favedStickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getFavedStickers](../methods/messages_getFavedStickers.md) - - - diff --git a/old_docs/API_docs_v73/types/messages_FeaturedStickers.md b/old_docs/API_docs_v73/types/messages_FeaturedStickers.md deleted file mode 100644 index 9b4c5002..00000000 --- a/old_docs/API_docs_v73/types/messages_FeaturedStickers.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_FeaturedStickers -description: constructors and methods of type messages_FeaturedStickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_FeaturedStickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_featuredStickersNotModified](../constructors/messages_featuredStickersNotModified.md) - -[messages\_featuredStickers](../constructors/messages_featuredStickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getFeaturedStickers](../methods/messages_getFeaturedStickers.md) - - - diff --git a/old_docs/API_docs_v73/types/messages_FoundGifs.md b/old_docs/API_docs_v73/types/messages_FoundGifs.md deleted file mode 100644 index 9dd088ba..00000000 --- a/old_docs/API_docs_v73/types/messages_FoundGifs.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_FoundGifs -description: constructors and methods of type messages_FoundGifs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_FoundGifs -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_foundGifs](../constructors/messages_foundGifs.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->searchGifs](../methods/messages_searchGifs.md) - - - diff --git a/old_docs/API_docs_v73/types/messages_HighScores.md b/old_docs/API_docs_v73/types/messages_HighScores.md deleted file mode 100644 index 9660e255..00000000 --- a/old_docs/API_docs_v73/types/messages_HighScores.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_HighScores -description: constructors and methods of type messages_HighScores -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_HighScores -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_highScores](../constructors/messages_highScores.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getGameHighScores](../methods/messages_getGameHighScores.md) - -[$MadelineProto->messages->getInlineGameHighScores](../methods/messages_getInlineGameHighScores.md) - - - diff --git a/old_docs/API_docs_v73/types/messages_MessageEditData.md b/old_docs/API_docs_v73/types/messages_MessageEditData.md deleted file mode 100644 index ed3c507a..00000000 --- a/old_docs/API_docs_v73/types/messages_MessageEditData.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_MessageEditData -description: constructors and methods of type messages_MessageEditData -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_MessageEditData -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_messageEditData](../constructors/messages_messageEditData.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getMessageEditData](../methods/messages_getMessageEditData.md) - - - diff --git a/old_docs/API_docs_v73/types/messages_Messages.md b/old_docs/API_docs_v73/types/messages_Messages.md deleted file mode 100644 index 35514e90..00000000 --- a/old_docs/API_docs_v73/types/messages_Messages.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages_Messages -description: constructors and methods of type messages_Messages -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Messages -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_messages](../constructors/messages_messages.md) - -[messages\_messagesSlice](../constructors/messages_messagesSlice.md) - -[messages\_channelMessages](../constructors/messages_channelMessages.md) - -[messages\_messagesNotModified](../constructors/messages_messagesNotModified.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getMessages](../methods/messages_getMessages.md) - -[$MadelineProto->messages->getHistory](../methods/messages_getHistory.md) - -[$MadelineProto->messages->search](../methods/messages_search.md) - -[$MadelineProto->messages->searchGlobal](../methods/messages_searchGlobal.md) - -[$MadelineProto->messages->getUnreadMentions](../methods/messages_getUnreadMentions.md) - -[$MadelineProto->messages->getRecentLocations](../methods/messages_getRecentLocations.md) - -[$MadelineProto->channels->getMessages](../methods/channels_getMessages.md) - - - diff --git a/old_docs/API_docs_v73/types/messages_PeerDialogs.md b/old_docs/API_docs_v73/types/messages_PeerDialogs.md deleted file mode 100644 index 2477931f..00000000 --- a/old_docs/API_docs_v73/types/messages_PeerDialogs.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_PeerDialogs -description: constructors and methods of type messages_PeerDialogs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_PeerDialogs -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_peerDialogs](../constructors/messages_peerDialogs.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getPeerDialogs](../methods/messages_getPeerDialogs.md) - -[$MadelineProto->messages->getPinnedDialogs](../methods/messages_getPinnedDialogs.md) - - - diff --git a/old_docs/API_docs_v73/types/messages_RecentStickers.md b/old_docs/API_docs_v73/types/messages_RecentStickers.md deleted file mode 100644 index 2c9db779..00000000 --- a/old_docs/API_docs_v73/types/messages_RecentStickers.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_RecentStickers -description: constructors and methods of type messages_RecentStickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_RecentStickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_recentStickersNotModified](../constructors/messages_recentStickersNotModified.md) - -[messages\_recentStickers](../constructors/messages_recentStickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getRecentStickers](../methods/messages_getRecentStickers.md) - - - diff --git a/old_docs/API_docs_v73/types/messages_SavedGifs.md b/old_docs/API_docs_v73/types/messages_SavedGifs.md deleted file mode 100644 index ffb000aa..00000000 --- a/old_docs/API_docs_v73/types/messages_SavedGifs.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_SavedGifs -description: constructors and methods of type messages_SavedGifs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_SavedGifs -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_savedGifsNotModified](../constructors/messages_savedGifsNotModified.md) - -[messages\_savedGifs](../constructors/messages_savedGifs.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getSavedGifs](../methods/messages_getSavedGifs.md) - - - diff --git a/old_docs/API_docs_v73/types/messages_SentEncryptedMessage.md b/old_docs/API_docs_v73/types/messages_SentEncryptedMessage.md deleted file mode 100644 index 9f7ab935..00000000 --- a/old_docs/API_docs_v73/types/messages_SentEncryptedMessage.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: messages_SentEncryptedMessage -description: constructors and methods of type messages_SentEncryptedMessage -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_SentEncryptedMessage -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_sentEncryptedMessage](../constructors/messages_sentEncryptedMessage.md) - -[messages\_sentEncryptedFile](../constructors/messages_sentEncryptedFile.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->sendEncrypted](../methods/messages_sendEncrypted.md) - -[$MadelineProto->messages->sendEncryptedFile](../methods/messages_sendEncryptedFile.md) - -[$MadelineProto->messages->sendEncryptedService](../methods/messages_sendEncryptedService.md) - - - diff --git a/old_docs/API_docs_v73/types/messages_StickerSet.md b/old_docs/API_docs_v73/types/messages_StickerSet.md deleted file mode 100644 index 98e34dd2..00000000 --- a/old_docs/API_docs_v73/types/messages_StickerSet.md +++ /dev/null @@ -1,30 +0,0 @@ ---- -title: messages_StickerSet -description: constructors and methods of type messages_StickerSet -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_StickerSet -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_stickerSet](../constructors/messages_stickerSet.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getStickerSet](../methods/messages_getStickerSet.md) - -[$MadelineProto->stickers->createStickerSet](../methods/stickers_createStickerSet.md) - -[$MadelineProto->stickers->removeStickerFromSet](../methods/stickers_removeStickerFromSet.md) - -[$MadelineProto->stickers->changeStickerPosition](../methods/stickers_changeStickerPosition.md) - -[$MadelineProto->stickers->addStickerToSet](../methods/stickers_addStickerToSet.md) - - - diff --git a/old_docs/API_docs_v73/types/messages_StickerSetInstallResult.md b/old_docs/API_docs_v73/types/messages_StickerSetInstallResult.md deleted file mode 100644 index bb62ec11..00000000 --- a/old_docs/API_docs_v73/types/messages_StickerSetInstallResult.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_StickerSetInstallResult -description: constructors and methods of type messages_StickerSetInstallResult -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_StickerSetInstallResult -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_stickerSetInstallResultSuccess](../constructors/messages_stickerSetInstallResultSuccess.md) - -[messages\_stickerSetInstallResultArchive](../constructors/messages_stickerSetInstallResultArchive.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->installStickerSet](../methods/messages_installStickerSet.md) - - - diff --git a/old_docs/API_docs_v73/types/messages_Stickers.md b/old_docs/API_docs_v73/types/messages_Stickers.md deleted file mode 100644 index c0fa45cc..00000000 --- a/old_docs/API_docs_v73/types/messages_Stickers.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_Stickers -description: constructors and methods of type messages_Stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Stickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_stickersNotModified](../constructors/messages_stickersNotModified.md) - -[messages\_stickers](../constructors/messages_stickers.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v73/types/payments.PaymentForm.md b/old_docs/API_docs_v73/types/payments.PaymentForm.md new file mode 100644 index 00000000..985c1957 --- /dev/null +++ b/old_docs/API_docs_v73/types/payments.PaymentForm.md @@ -0,0 +1,22 @@ +--- +title: payments.PaymentForm +description: constructors and methods of type payments.PaymentForm +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: payments.PaymentForm +[Back to types index](index.md) + + + +### Possible values (constructors): + +[payments.paymentForm](../constructors/payments.paymentForm.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->payments->getPaymentForm](../methods/payments.getPaymentForm.md) + + + diff --git a/old_docs/API_docs_v73/types/payments.PaymentReceipt.md b/old_docs/API_docs_v73/types/payments.PaymentReceipt.md new file mode 100644 index 00000000..45cebd47 --- /dev/null +++ b/old_docs/API_docs_v73/types/payments.PaymentReceipt.md @@ -0,0 +1,22 @@ +--- +title: payments.PaymentReceipt +description: constructors and methods of type payments.PaymentReceipt +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: payments.PaymentReceipt +[Back to types index](index.md) + + + +### Possible values (constructors): + +[payments.paymentReceipt](../constructors/payments.paymentReceipt.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->payments->getPaymentReceipt](../methods/payments.getPaymentReceipt.md) + + + diff --git a/old_docs/API_docs_v73/types/payments.PaymentResult.md b/old_docs/API_docs_v73/types/payments.PaymentResult.md new file mode 100644 index 00000000..9bbff9af --- /dev/null +++ b/old_docs/API_docs_v73/types/payments.PaymentResult.md @@ -0,0 +1,24 @@ +--- +title: payments.PaymentResult +description: constructors and methods of type payments.PaymentResult +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: payments.PaymentResult +[Back to types index](index.md) + + + +### Possible values (constructors): + +[payments.paymentResult](../constructors/payments.paymentResult.md) + +[payments.paymentVerficationNeeded](../constructors/payments.paymentVerficationNeeded.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->payments->sendPaymentForm](../methods/payments.sendPaymentForm.md) + + + diff --git a/old_docs/API_docs_v73/types/payments.SavedInfo.md b/old_docs/API_docs_v73/types/payments.SavedInfo.md new file mode 100644 index 00000000..cf7be16c --- /dev/null +++ b/old_docs/API_docs_v73/types/payments.SavedInfo.md @@ -0,0 +1,22 @@ +--- +title: payments.SavedInfo +description: constructors and methods of type payments.SavedInfo +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: payments.SavedInfo +[Back to types index](index.md) + + + +### Possible values (constructors): + +[payments.savedInfo](../constructors/payments.savedInfo.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->payments->getSavedInfo](../methods/payments.getSavedInfo.md) + + + diff --git a/old_docs/API_docs_v73/types/payments.ValidatedRequestedInfo.md b/old_docs/API_docs_v73/types/payments.ValidatedRequestedInfo.md new file mode 100644 index 00000000..653a5064 --- /dev/null +++ b/old_docs/API_docs_v73/types/payments.ValidatedRequestedInfo.md @@ -0,0 +1,22 @@ +--- +title: payments.ValidatedRequestedInfo +description: constructors and methods of type payments.ValidatedRequestedInfo +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: payments.ValidatedRequestedInfo +[Back to types index](index.md) + + + +### Possible values (constructors): + +[payments.validatedRequestedInfo](../constructors/payments.validatedRequestedInfo.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->payments->validateRequestedInfo](../methods/payments.validateRequestedInfo.md) + + + diff --git a/old_docs/API_docs_v73/types/payments_PaymentForm.md b/old_docs/API_docs_v73/types/payments_PaymentForm.md deleted file mode 100644 index 4662586d..00000000 --- a/old_docs/API_docs_v73/types/payments_PaymentForm.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: payments_PaymentForm -description: constructors and methods of type payments_PaymentForm -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: payments\_PaymentForm -[Back to types index](index.md) - - - -### Possible values (constructors): - -[payments\_paymentForm](../constructors/payments_paymentForm.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->payments->getPaymentForm](../methods/payments_getPaymentForm.md) - - - diff --git a/old_docs/API_docs_v73/types/payments_PaymentReceipt.md b/old_docs/API_docs_v73/types/payments_PaymentReceipt.md deleted file mode 100644 index b4770d2a..00000000 --- a/old_docs/API_docs_v73/types/payments_PaymentReceipt.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: payments_PaymentReceipt -description: constructors and methods of type payments_PaymentReceipt -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: payments\_PaymentReceipt -[Back to types index](index.md) - - - -### Possible values (constructors): - -[payments\_paymentReceipt](../constructors/payments_paymentReceipt.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->payments->getPaymentReceipt](../methods/payments_getPaymentReceipt.md) - - - diff --git a/old_docs/API_docs_v73/types/payments_PaymentResult.md b/old_docs/API_docs_v73/types/payments_PaymentResult.md deleted file mode 100644 index 3c0ad411..00000000 --- a/old_docs/API_docs_v73/types/payments_PaymentResult.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: payments_PaymentResult -description: constructors and methods of type payments_PaymentResult -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: payments\_PaymentResult -[Back to types index](index.md) - - - -### Possible values (constructors): - -[payments\_paymentResult](../constructors/payments_paymentResult.md) - -[payments\_paymentVerficationNeeded](../constructors/payments_paymentVerficationNeeded.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->payments->sendPaymentForm](../methods/payments_sendPaymentForm.md) - - - diff --git a/old_docs/API_docs_v73/types/payments_SavedInfo.md b/old_docs/API_docs_v73/types/payments_SavedInfo.md deleted file mode 100644 index c8f7b9e3..00000000 --- a/old_docs/API_docs_v73/types/payments_SavedInfo.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: payments_SavedInfo -description: constructors and methods of type payments_SavedInfo -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: payments\_SavedInfo -[Back to types index](index.md) - - - -### Possible values (constructors): - -[payments\_savedInfo](../constructors/payments_savedInfo.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->payments->getSavedInfo](../methods/payments_getSavedInfo.md) - - - diff --git a/old_docs/API_docs_v73/types/payments_ValidatedRequestedInfo.md b/old_docs/API_docs_v73/types/payments_ValidatedRequestedInfo.md deleted file mode 100644 index ff6c4e39..00000000 --- a/old_docs/API_docs_v73/types/payments_ValidatedRequestedInfo.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: payments_ValidatedRequestedInfo -description: constructors and methods of type payments_ValidatedRequestedInfo -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: payments\_ValidatedRequestedInfo -[Back to types index](index.md) - - - -### Possible values (constructors): - -[payments\_validatedRequestedInfo](../constructors/payments_validatedRequestedInfo.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->payments->validateRequestedInfo](../methods/payments_validateRequestedInfo.md) - - - diff --git a/old_docs/API_docs_v73/types/phone.PhoneCall.md b/old_docs/API_docs_v73/types/phone.PhoneCall.md new file mode 100644 index 00000000..db0708e9 --- /dev/null +++ b/old_docs/API_docs_v73/types/phone.PhoneCall.md @@ -0,0 +1,26 @@ +--- +title: phone.PhoneCall +description: constructors and methods of type phone.PhoneCall +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: phone.PhoneCall +[Back to types index](index.md) + + + +### Possible values (constructors): + +[phone.phoneCall](../constructors/phone.phoneCall.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->phone->requestCall](../methods/phone.requestCall.md) + +[$MadelineProto->phone->acceptCall](../methods/phone.acceptCall.md) + +[$MadelineProto->phone->confirmCall](../methods/phone.confirmCall.md) + + + diff --git a/old_docs/API_docs_v73/types/phone_PhoneCall.md b/old_docs/API_docs_v73/types/phone_PhoneCall.md deleted file mode 100644 index 0a49d482..00000000 --- a/old_docs/API_docs_v73/types/phone_PhoneCall.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: phone_PhoneCall -description: constructors and methods of type phone_PhoneCall -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: phone\_PhoneCall -[Back to types index](index.md) - - - -### Possible values (constructors): - -[phone\_phoneCall](../constructors/phone_phoneCall.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->phone->requestCall](../methods/phone_requestCall.md) - -[$MadelineProto->phone->acceptCall](../methods/phone_acceptCall.md) - -[$MadelineProto->phone->confirmCall](../methods/phone_confirmCall.md) - - - diff --git a/old_docs/API_docs_v73/types/photos.Photo.md b/old_docs/API_docs_v73/types/photos.Photo.md new file mode 100644 index 00000000..d60f203c --- /dev/null +++ b/old_docs/API_docs_v73/types/photos.Photo.md @@ -0,0 +1,22 @@ +--- +title: photos.Photo +description: constructors and methods of type photos.Photo +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: photos.Photo +[Back to types index](index.md) + + + +### Possible values (constructors): + +[photos.photo](../constructors/photos.photo.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->photos->uploadProfilePhoto](../methods/photos.uploadProfilePhoto.md) + + + diff --git a/old_docs/API_docs_v73/types/photos.Photos.md b/old_docs/API_docs_v73/types/photos.Photos.md new file mode 100644 index 00000000..fff0e296 --- /dev/null +++ b/old_docs/API_docs_v73/types/photos.Photos.md @@ -0,0 +1,24 @@ +--- +title: photos.Photos +description: constructors and methods of type photos.Photos +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: photos.Photos +[Back to types index](index.md) + + + +### Possible values (constructors): + +[photos.photos](../constructors/photos.photos.md) + +[photos.photosSlice](../constructors/photos.photosSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->photos->getUserPhotos](../methods/photos.getUserPhotos.md) + + + diff --git a/old_docs/API_docs_v73/types/photos_Photo.md b/old_docs/API_docs_v73/types/photos_Photo.md deleted file mode 100644 index d11bbdef..00000000 --- a/old_docs/API_docs_v73/types/photos_Photo.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: photos_Photo -description: constructors and methods of type photos_Photo -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: photos\_Photo -[Back to types index](index.md) - - - -### Possible values (constructors): - -[photos\_photo](../constructors/photos_photo.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->photos->uploadProfilePhoto](../methods/photos_uploadProfilePhoto.md) - - - diff --git a/old_docs/API_docs_v73/types/photos_Photos.md b/old_docs/API_docs_v73/types/photos_Photos.md deleted file mode 100644 index 9875ad70..00000000 --- a/old_docs/API_docs_v73/types/photos_Photos.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: photos_Photos -description: constructors and methods of type photos_Photos -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: photos\_Photos -[Back to types index](index.md) - - - -### Possible values (constructors): - -[photos\_photos](../constructors/photos_photos.md) - -[photos\_photosSlice](../constructors/photos_photosSlice.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->photos->getUserPhotos](../methods/photos_getUserPhotos.md) - - - diff --git a/old_docs/API_docs_v73/types/storage.FileType.md b/old_docs/API_docs_v73/types/storage.FileType.md new file mode 100644 index 00000000..32f1bb72 --- /dev/null +++ b/old_docs/API_docs_v73/types/storage.FileType.md @@ -0,0 +1,38 @@ +--- +title: storage.FileType +description: constructors and methods of type storage.FileType +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: storage.FileType +[Back to types index](index.md) + + + +### Possible values (constructors): + +[storage.fileUnknown](../constructors/storage.fileUnknown.md) + +[storage.filePartial](../constructors/storage.filePartial.md) + +[storage.fileJpeg](../constructors/storage.fileJpeg.md) + +[storage.fileGif](../constructors/storage.fileGif.md) + +[storage.filePng](../constructors/storage.filePng.md) + +[storage.filePdf](../constructors/storage.filePdf.md) + +[storage.fileMp3](../constructors/storage.fileMp3.md) + +[storage.fileMov](../constructors/storage.fileMov.md) + +[storage.fileMp4](../constructors/storage.fileMp4.md) + +[storage.fileWebp](../constructors/storage.fileWebp.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v73/types/storage_FileType.md b/old_docs/API_docs_v73/types/storage_FileType.md deleted file mode 100644 index 22118805..00000000 --- a/old_docs/API_docs_v73/types/storage_FileType.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: storage_FileType -description: constructors and methods of type storage_FileType -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: storage\_FileType -[Back to types index](index.md) - - - -### Possible values (constructors): - -[storage\_fileUnknown](../constructors/storage_fileUnknown.md) - -[storage\_filePartial](../constructors/storage_filePartial.md) - -[storage\_fileJpeg](../constructors/storage_fileJpeg.md) - -[storage\_fileGif](../constructors/storage_fileGif.md) - -[storage\_filePng](../constructors/storage_filePng.md) - -[storage\_filePdf](../constructors/storage_filePdf.md) - -[storage\_fileMp3](../constructors/storage_fileMp3.md) - -[storage\_fileMov](../constructors/storage_fileMov.md) - -[storage\_fileMp4](../constructors/storage_fileMp4.md) - -[storage\_fileWebp](../constructors/storage_fileWebp.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v73/types/updates.ChannelDifference.md b/old_docs/API_docs_v73/types/updates.ChannelDifference.md new file mode 100644 index 00000000..ac889a1e --- /dev/null +++ b/old_docs/API_docs_v73/types/updates.ChannelDifference.md @@ -0,0 +1,26 @@ +--- +title: updates.ChannelDifference +description: constructors and methods of type updates.ChannelDifference +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: updates.ChannelDifference +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updates.channelDifferenceEmpty](../constructors/updates.channelDifferenceEmpty.md) + +[updates.channelDifferenceTooLong](../constructors/updates.channelDifferenceTooLong.md) + +[updates.channelDifference](../constructors/updates.channelDifference.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->updates->getChannelDifference](../methods/updates.getChannelDifference.md) + + + diff --git a/old_docs/API_docs_v73/types/updates.Difference.md b/old_docs/API_docs_v73/types/updates.Difference.md new file mode 100644 index 00000000..0c1a1b6e --- /dev/null +++ b/old_docs/API_docs_v73/types/updates.Difference.md @@ -0,0 +1,28 @@ +--- +title: updates.Difference +description: constructors and methods of type updates.Difference +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: updates.Difference +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updates.differenceEmpty](../constructors/updates.differenceEmpty.md) + +[updates.difference](../constructors/updates.difference.md) + +[updates.differenceSlice](../constructors/updates.differenceSlice.md) + +[updates.differenceTooLong](../constructors/updates.differenceTooLong.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->updates->getDifference](../methods/updates.getDifference.md) + + + diff --git a/old_docs/API_docs_v73/types/updates.State.md b/old_docs/API_docs_v73/types/updates.State.md new file mode 100644 index 00000000..49bbb7fd --- /dev/null +++ b/old_docs/API_docs_v73/types/updates.State.md @@ -0,0 +1,22 @@ +--- +title: updates.State +description: constructors and methods of type updates.State +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: updates.State +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updates.state](../constructors/updates.state.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->updates->getState](../methods/updates.getState.md) + + + diff --git a/old_docs/API_docs_v73/types/updates_ChannelDifference.md b/old_docs/API_docs_v73/types/updates_ChannelDifference.md deleted file mode 100644 index dc988692..00000000 --- a/old_docs/API_docs_v73/types/updates_ChannelDifference.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: updates_ChannelDifference -description: constructors and methods of type updates_ChannelDifference -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: updates\_ChannelDifference -[Back to types index](index.md) - - - -### Possible values (constructors): - -[updates\_channelDifferenceEmpty](../constructors/updates_channelDifferenceEmpty.md) - -[updates\_channelDifferenceTooLong](../constructors/updates_channelDifferenceTooLong.md) - -[updates\_channelDifference](../constructors/updates_channelDifference.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->updates->getChannelDifference](../methods/updates_getChannelDifference.md) - - - diff --git a/old_docs/API_docs_v73/types/updates_Difference.md b/old_docs/API_docs_v73/types/updates_Difference.md deleted file mode 100644 index 50bb098e..00000000 --- a/old_docs/API_docs_v73/types/updates_Difference.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: updates_Difference -description: constructors and methods of type updates_Difference -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: updates\_Difference -[Back to types index](index.md) - - - -### Possible values (constructors): - -[updates\_differenceEmpty](../constructors/updates_differenceEmpty.md) - -[updates\_difference](../constructors/updates_difference.md) - -[updates\_differenceSlice](../constructors/updates_differenceSlice.md) - -[updates\_differenceTooLong](../constructors/updates_differenceTooLong.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->updates->getDifference](../methods/updates_getDifference.md) - - - diff --git a/old_docs/API_docs_v73/types/updates_State.md b/old_docs/API_docs_v73/types/updates_State.md deleted file mode 100644 index 7a441145..00000000 --- a/old_docs/API_docs_v73/types/updates_State.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: updates_State -description: constructors and methods of type updates_State -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: updates\_State -[Back to types index](index.md) - - - -### Possible values (constructors): - -[updates\_state](../constructors/updates_state.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->updates->getState](../methods/updates_getState.md) - - - diff --git a/old_docs/API_docs_v73/types/upload.CdnFile.md b/old_docs/API_docs_v73/types/upload.CdnFile.md new file mode 100644 index 00000000..396c4bf4 --- /dev/null +++ b/old_docs/API_docs_v73/types/upload.CdnFile.md @@ -0,0 +1,24 @@ +--- +title: upload.CdnFile +description: constructors and methods of type upload.CdnFile +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: upload.CdnFile +[Back to types index](index.md) + + + +### Possible values (constructors): + +[upload.cdnFileReuploadNeeded](../constructors/upload.cdnFileReuploadNeeded.md) + +[upload.cdnFile](../constructors/upload.cdnFile.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->upload->getCdnFile](../methods/upload.getCdnFile.md) + + + diff --git a/old_docs/API_docs_v73/types/upload.File.md b/old_docs/API_docs_v73/types/upload.File.md new file mode 100644 index 00000000..6963341b --- /dev/null +++ b/old_docs/API_docs_v73/types/upload.File.md @@ -0,0 +1,24 @@ +--- +title: upload.File +description: constructors and methods of type upload.File +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: upload.File +[Back to types index](index.md) + + + +### Possible values (constructors): + +[upload.file](../constructors/upload.file.md) + +[upload.fileCdnRedirect](../constructors/upload.fileCdnRedirect.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->upload->getFile](../methods/upload.getFile.md) + + + diff --git a/old_docs/API_docs_v73/types/upload.WebFile.md b/old_docs/API_docs_v73/types/upload.WebFile.md new file mode 100644 index 00000000..e834457b --- /dev/null +++ b/old_docs/API_docs_v73/types/upload.WebFile.md @@ -0,0 +1,22 @@ +--- +title: upload.WebFile +description: constructors and methods of type upload.WebFile +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: upload.WebFile +[Back to types index](index.md) + + + +### Possible values (constructors): + +[upload.webFile](../constructors/upload.webFile.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->upload->getWebFile](../methods/upload.getWebFile.md) + + + diff --git a/old_docs/API_docs_v73/types/upload_CdnFile.md b/old_docs/API_docs_v73/types/upload_CdnFile.md deleted file mode 100644 index 51ae2e68..00000000 --- a/old_docs/API_docs_v73/types/upload_CdnFile.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: upload_CdnFile -description: constructors and methods of type upload_CdnFile -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: upload\_CdnFile -[Back to types index](index.md) - - - -### Possible values (constructors): - -[upload\_cdnFileReuploadNeeded](../constructors/upload_cdnFileReuploadNeeded.md) - -[upload\_cdnFile](../constructors/upload_cdnFile.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->upload->getCdnFile](../methods/upload_getCdnFile.md) - - - diff --git a/old_docs/API_docs_v73/types/upload_File.md b/old_docs/API_docs_v73/types/upload_File.md deleted file mode 100644 index 00e0f9cb..00000000 --- a/old_docs/API_docs_v73/types/upload_File.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: upload_File -description: constructors and methods of type upload_File -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: upload\_File -[Back to types index](index.md) - - - -### Possible values (constructors): - -[upload\_file](../constructors/upload_file.md) - -[upload\_fileCdnRedirect](../constructors/upload_fileCdnRedirect.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->upload->getFile](../methods/upload_getFile.md) - - - diff --git a/old_docs/API_docs_v73/types/upload_WebFile.md b/old_docs/API_docs_v73/types/upload_WebFile.md deleted file mode 100644 index 9a86264f..00000000 --- a/old_docs/API_docs_v73/types/upload_WebFile.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: upload_WebFile -description: constructors and methods of type upload_WebFile -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: upload\_WebFile -[Back to types index](index.md) - - - -### Possible values (constructors): - -[upload\_webFile](../constructors/upload_webFile.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->upload->getWebFile](../methods/upload_getWebFile.md) - - - diff --git a/old_docs/API_docs_v75/constructors/README.md b/old_docs/API_docs_v75/constructors/README.md index 7ef72398..573c6e1a 100644 --- a/old_docs/API_docs_v75/constructors/README.md +++ b/old_docs/API_docs_v75/constructors/README.md @@ -6,50 +6,68 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png # Constructors [Back to API documentation index](..) +*** +

[$account.authorizations](../constructors/account.authorizations.md) = \['authorizations' => \[[Authorization](../types/Authorization.md)\], \]; + +*** +

[$account.noPassword](../constructors/account.noPassword.md) = \['new_salt' => [bytes](../types/bytes.md), 'email_unconfirmed_pattern' => [string](../types/string.md), \]; + +*** +

[$account.password](../constructors/account.password.md) = \['current_salt' => [bytes](../types/bytes.md), 'new_salt' => [bytes](../types/bytes.md), 'hint' => [string](../types/string.md), 'has_recovery' => [Bool](../types/Bool.md), 'email_unconfirmed_pattern' => [string](../types/string.md), \]; + +*** +

[$account.passwordInputSettings](../constructors/account.passwordInputSettings.md) = \['new_salt' => [bytes](../types/bytes.md), 'new_password_hash' => [bytes](../types/bytes.md), 'hint' => [string](../types/string.md), 'email' => [string](../types/string.md), \]; + +*** +

[$account.passwordSettings](../constructors/account.passwordSettings.md) = \['email' => [string](../types/string.md), \]; + +*** +

[$account.privacyRules](../constructors/account.privacyRules.md) = \['rules' => \[[PrivacyRule](../types/PrivacyRule.md)\], 'users' => \[[User](../types/User.md)\], \]; + +*** +

[$account.tmpPassword](../constructors/account.tmpPassword.md) = \['tmp_password' => [bytes](../types/bytes.md), 'valid_until' => [int](../types/int.md), \]; + +*** +

[$account.webAuthorizations](../constructors/account.webAuthorizations.md) = \['authorizations' => \[[WebAuthorization](../types/WebAuthorization.md)\], 'users' => \[[User](../types/User.md)\], \]; + ***

[$accountDaysTTL](../constructors/accountDaysTTL.md) = \['days' => [int](../types/int.md), \]; *** -

[$account\_authorizations](../constructors/account_authorizations.md) = \['authorizations' => \[[Authorization](../types/Authorization.md)\], \]; - -[$account\_noPassword](../constructors/account_noPassword.md) = \['new_salt' => [bytes](../types/bytes.md), 'email_unconfirmed_pattern' => [string](../types/string.md), \]; - -[$account\_password](../constructors/account_password.md) = \['current_salt' => [bytes](../types/bytes.md), 'new_salt' => [bytes](../types/bytes.md), 'hint' => [string](../types/string.md), 'has_recovery' => [Bool](../types/Bool.md), 'email_unconfirmed_pattern' => [string](../types/string.md), \]; - -[$account\_passwordInputSettings](../constructors/account_passwordInputSettings.md) = \['new_salt' => [bytes](../types/bytes.md), 'new_password_hash' => [bytes](../types/bytes.md), 'hint' => [string](../types/string.md), 'email' => [string](../types/string.md), \]; - -[$account\_passwordSettings](../constructors/account_passwordSettings.md) = \['email' => [string](../types/string.md), \]; - -[$account\_privacyRules](../constructors/account_privacyRules.md) = \['rules' => \[[PrivacyRule](../types/PrivacyRule.md)\], 'users' => \[[User](../types/User.md)\], \]; - -[$account\_tmpPassword](../constructors/account_tmpPassword.md) = \['tmp_password' => [bytes](../types/bytes.md), 'valid_until' => [int](../types/int.md), \]; - -[$account\_webAuthorizations](../constructors/account_webAuthorizations.md) = \['authorizations' => \[[WebAuthorization](../types/WebAuthorization.md)\], 'users' => \[[User](../types/User.md)\], \]; +

[$auth.authorization](../constructors/auth.authorization.md) = \['tmp_sessions' => [int](../types/int.md), 'user' => [User](../types/User.md), \]; *** -

[$auth\_authorization](../constructors/auth_authorization.md) = \['tmp_sessions' => [int](../types/int.md), 'user' => [User](../types/User.md), \]; +

[$auth.checkedPhone](../constructors/auth.checkedPhone.md) = \['phone_registered' => [Bool](../types/Bool.md), \]; -[$auth\_checkedPhone](../constructors/auth_checkedPhone.md) = \['phone_registered' => [Bool](../types/Bool.md), \]; +*** +

[$auth.codeTypeCall](../constructors/auth.codeTypeCall.md) = \[\]; -[$auth\_codeTypeCall](../constructors/auth_codeTypeCall.md) = \[\]; +*** +

[$auth.codeTypeFlashCall](../constructors/auth.codeTypeFlashCall.md) = \[\]; -[$auth\_codeTypeFlashCall](../constructors/auth_codeTypeFlashCall.md) = \[\]; +*** +

[$auth.codeTypeSms](../constructors/auth.codeTypeSms.md) = \[\]; -[$auth\_codeTypeSms](../constructors/auth_codeTypeSms.md) = \[\]; +*** +

[$auth.exportedAuthorization](../constructors/auth.exportedAuthorization.md) = \['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; -[$auth\_exportedAuthorization](../constructors/auth_exportedAuthorization.md) = \['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; +*** +

[$auth.passwordRecovery](../constructors/auth.passwordRecovery.md) = \['email_pattern' => [string](../types/string.md), \]; -[$auth\_passwordRecovery](../constructors/auth_passwordRecovery.md) = \['email_pattern' => [string](../types/string.md), \]; +*** +

[$auth.sentCode](../constructors/auth.sentCode.md) = \['phone_registered' => [Bool](../types/Bool.md), 'type' => [auth.SentCodeType](../types/auth.SentCodeType.md), 'phone_code_hash' => [string](../types/string.md), 'next_type' => [auth.CodeType](../types/auth.CodeType.md), 'timeout' => [int](../types/int.md), \]; -[$auth\_sentCode](../constructors/auth_sentCode.md) = \['phone_registered' => [Bool](../types/Bool.md), 'type' => [auth.SentCodeType](../types/auth.SentCodeType.md), 'phone_code_hash' => [string](../types/string.md), 'next_type' => [auth.CodeType](../types/auth.CodeType.md), 'timeout' => [int](../types/int.md), \]; +*** +

[$auth.sentCodeTypeApp](../constructors/auth.sentCodeTypeApp.md) = \['length' => [int](../types/int.md), \]; -[$auth\_sentCodeTypeApp](../constructors/auth_sentCodeTypeApp.md) = \['length' => [int](../types/int.md), \]; +*** +

[$auth.sentCodeTypeCall](../constructors/auth.sentCodeTypeCall.md) = \['length' => [int](../types/int.md), \]; -[$auth\_sentCodeTypeCall](../constructors/auth_sentCodeTypeCall.md) = \['length' => [int](../types/int.md), \]; +*** +

[$auth.sentCodeTypeFlashCall](../constructors/auth.sentCodeTypeFlashCall.md) = \['pattern' => [string](../types/string.md), \]; -[$auth\_sentCodeTypeFlashCall](../constructors/auth_sentCodeTypeFlashCall.md) = \['pattern' => [string](../types/string.md), \]; - -[$auth\_sentCodeTypeSms](../constructors/auth_sentCodeTypeSms.md) = \['length' => [int](../types/int.md), \]; +*** +

[$auth.sentCodeTypeSms](../constructors/auth.sentCodeTypeSms.md) = \['length' => [int](../types/int.md), \]; ***

[$authorization](../constructors/authorization.md) = \['hash' => [long](../types/long.md), 'device_model' => [string](../types/string.md), 'platform' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'api_id' => [int](../types/int.md), 'app_name' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'date_created' => [int](../types/int.md), 'date_active' => [int](../types/int.md), 'ip' => [string](../types/string.md), 'country' => [string](../types/string.md), 'region' => [string](../types/string.md), \]; @@ -205,13 +223,16 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$channelParticipantsSearch](../constructors/channelParticipantsSearch.md) = \['q' => [string](../types/string.md), \]; *** -

[$channels\_adminLogResults](../constructors/channels_adminLogResults.md) = \['events' => \[[ChannelAdminLogEvent](../types/ChannelAdminLogEvent.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +

[$channels.adminLogResults](../constructors/channels.adminLogResults.md) = \['events' => \[[ChannelAdminLogEvent](../types/ChannelAdminLogEvent.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$channels\_channelParticipant](../constructors/channels_channelParticipant.md) = \['participant' => [ChannelParticipant](../types/ChannelParticipant.md), 'users' => \[[User](../types/User.md)\], \]; +*** +

[$channels.channelParticipant](../constructors/channels.channelParticipant.md) = \['participant' => [ChannelParticipant](../types/ChannelParticipant.md), 'users' => \[[User](../types/User.md)\], \]; -[$channels\_channelParticipants](../constructors/channels_channelParticipants.md) = \['count' => [int](../types/int.md), 'participants' => \[[ChannelParticipant](../types/ChannelParticipant.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$channels.channelParticipants](../constructors/channels.channelParticipants.md) = \['count' => [int](../types/int.md), 'participants' => \[[ChannelParticipant](../types/ChannelParticipant.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$channels\_channelParticipantsNotModified](../constructors/channels_channelParticipantsNotModified.md) = \[\]; +*** +

[$channels.channelParticipantsNotModified](../constructors/channels.channelParticipantsNotModified.md) = \[\]; ***

[$chat](../constructors/chat.md) = \['creator' => [Bool](../types/Bool.md), 'kicked' => [Bool](../types/Bool.md), 'left' => [Bool](../types/Bool.md), 'admins_enabled' => [Bool](../types/Bool.md), 'admin' => [Bool](../types/Bool.md), 'deactivated' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'title' => [string](../types/string.md), 'photo' => [ChatPhoto](../types/ChatPhoto.md), 'participants_count' => [int](../types/int.md), 'date' => [int](../types/int.md), 'version' => [int](../types/int.md), 'migrated_to' => [InputChannel](../types/InputChannel.md), \]; @@ -283,25 +304,34 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$contactStatus](../constructors/contactStatus.md) = \['user_id' => [int](../types/int.md), 'status' => [UserStatus](../types/UserStatus.md), \]; *** -

[$contacts\_blocked](../constructors/contacts_blocked.md) = \['blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; +

[$contacts.blocked](../constructors/contacts.blocked.md) = \['blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_blockedSlice](../constructors/contacts_blockedSlice.md) = \['count' => [int](../types/int.md), 'blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.blockedSlice](../constructors/contacts.blockedSlice.md) = \['count' => [int](../types/int.md), 'blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_contacts](../constructors/contacts_contacts.md) = \['contacts' => \[[Contact](../types/Contact.md)\], 'saved_count' => [int](../types/int.md), 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.contacts](../constructors/contacts.contacts.md) = \['contacts' => \[[Contact](../types/Contact.md)\], 'saved_count' => [int](../types/int.md), 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_contactsNotModified](../constructors/contacts_contactsNotModified.md) = \[\]; +*** +

[$contacts.contactsNotModified](../constructors/contacts.contactsNotModified.md) = \[\]; -[$contacts\_found](../constructors/contacts_found.md) = \['my_results' => \[[Peer](../types/Peer.md)\], 'results' => \[[Peer](../types/Peer.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.found](../constructors/contacts.found.md) = \['my_results' => \[[Peer](../types/Peer.md)\], 'results' => \[[Peer](../types/Peer.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_importedContacts](../constructors/contacts_importedContacts.md) = \['imported' => \[[ImportedContact](../types/ImportedContact.md)\], 'popular_invites' => \[[PopularContact](../types/PopularContact.md)\], 'retry_contacts' => \[[long](../types/long.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.importedContacts](../constructors/contacts.importedContacts.md) = \['imported' => \[[ImportedContact](../types/ImportedContact.md)\], 'popular_invites' => \[[PopularContact](../types/PopularContact.md)\], 'retry_contacts' => \[[long](../types/long.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_link](../constructors/contacts_link.md) = \['my_link' => [ContactLink](../types/ContactLink.md), 'foreign_link' => [ContactLink](../types/ContactLink.md), 'user' => [User](../types/User.md), \]; +*** +

[$contacts.link](../constructors/contacts.link.md) = \['my_link' => [ContactLink](../types/ContactLink.md), 'foreign_link' => [ContactLink](../types/ContactLink.md), 'user' => [User](../types/User.md), \]; -[$contacts\_resolvedPeer](../constructors/contacts_resolvedPeer.md) = \['peer' => [Peer](../types/Peer.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.resolvedPeer](../constructors/contacts.resolvedPeer.md) = \['peer' => [Peer](../types/Peer.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_topPeers](../constructors/contacts_topPeers.md) = \['categories' => \[[TopPeerCategoryPeers](../types/TopPeerCategoryPeers.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.topPeers](../constructors/contacts.topPeers.md) = \['categories' => \[[TopPeerCategoryPeers](../types/TopPeerCategoryPeers.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_topPeersNotModified](../constructors/contacts_topPeersNotModified.md) = \[\]; +*** +

[$contacts.topPeersNotModified](../constructors/contacts.topPeersNotModified.md) = \[\]; ***

[$dataJSON](../constructors/dataJSON.md) = \['data' => [string](../types/string.md), \]; @@ -403,17 +433,22 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$geoPointEmpty](../constructors/geoPointEmpty.md) = \[\]; *** -

[$help\_appUpdate](../constructors/help_appUpdate.md) = \['id' => [int](../types/int.md), 'critical' => [Bool](../types/Bool.md), 'url' => [string](../types/string.md), 'text' => [string](../types/string.md), \]; +

[$help.appUpdate](../constructors/help.appUpdate.md) = \['id' => [int](../types/int.md), 'critical' => [Bool](../types/Bool.md), 'url' => [string](../types/string.md), 'text' => [string](../types/string.md), \]; -[$help\_inviteText](../constructors/help_inviteText.md) = \['message' => [string](../types/string.md), \]; +*** +

[$help.inviteText](../constructors/help.inviteText.md) = \['message' => [string](../types/string.md), \]; -[$help\_noAppUpdate](../constructors/help_noAppUpdate.md) = \[\]; +*** +

[$help.noAppUpdate](../constructors/help.noAppUpdate.md) = \[\]; -[$help\_recentMeUrls](../constructors/help_recentMeUrls.md) = \['urls' => \[[RecentMeUrl](../types/RecentMeUrl.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$help.recentMeUrls](../constructors/help.recentMeUrls.md) = \['urls' => \[[RecentMeUrl](../types/RecentMeUrl.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$help\_support](../constructors/help_support.md) = \['phone_number' => [string](../types/string.md), 'user' => [User](../types/User.md), \]; +*** +

[$help.support](../constructors/help.support.md) = \['phone_number' => [string](../types/string.md), 'user' => [User](../types/User.md), \]; -[$help\_termsOfService](../constructors/help_termsOfService.md) = \['text' => [string](../types/string.md), \]; +*** +

[$help.termsOfService](../constructors/help.termsOfService.md) = \['text' => [string](../types/string.md), \]; ***

[$highScore](../constructors/highScore.md) = \['pos' => [int](../types/int.md), 'user_id' => [int](../types/int.md), 'score' => [int](../types/int.md), \]; @@ -953,79 +988,115 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$messageService](../constructors/messageService.md) = \['out' => [Bool](../types/Bool.md), 'mentioned' => [Bool](../types/Bool.md), 'media_unread' => [Bool](../types/Bool.md), 'silent' => [Bool](../types/Bool.md), 'post' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'from_id' => [int](../types/int.md), 'to_id' => [Peer](../types/Peer.md), 'reply_to_msg_id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'action' => [MessageAction](../types/MessageAction.md), \]; *** -

[$messages\_affectedHistory](../constructors/messages_affectedHistory.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), 'offset' => [int](../types/int.md), \]; +

[$messages.affectedHistory](../constructors/messages.affectedHistory.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), 'offset' => [int](../types/int.md), \]; -[$messages\_affectedMessages](../constructors/messages_affectedMessages.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; +*** +

[$messages.affectedMessages](../constructors/messages.affectedMessages.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; -[$messages\_allStickers](../constructors/messages_allStickers.md) = \['hash' => [int](../types/int.md), 'sets' => \[[StickerSet](../types/StickerSet.md)\], \]; +*** +

[$messages.allStickers](../constructors/messages.allStickers.md) = \['hash' => [int](../types/int.md), 'sets' => \[[StickerSet](../types/StickerSet.md)\], \]; -[$messages\_allStickersNotModified](../constructors/messages_allStickersNotModified.md) = \[\]; +*** +

[$messages.allStickersNotModified](../constructors/messages.allStickersNotModified.md) = \[\]; -[$messages\_archivedStickers](../constructors/messages_archivedStickers.md) = \['count' => [int](../types/int.md), 'sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], \]; +*** +

[$messages.archivedStickers](../constructors/messages.archivedStickers.md) = \['count' => [int](../types/int.md), 'sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], \]; -[$messages\_botCallbackAnswer](../constructors/messages_botCallbackAnswer.md) = \['alert' => [Bool](../types/Bool.md), 'has_url' => [Bool](../types/Bool.md), 'native_ui' => [Bool](../types/Bool.md), 'message' => [string](../types/string.md), 'url' => [string](../types/string.md), 'cache_time' => [int](../types/int.md), \]; +*** +

[$messages.botCallbackAnswer](../constructors/messages.botCallbackAnswer.md) = \['alert' => [Bool](../types/Bool.md), 'has_url' => [Bool](../types/Bool.md), 'native_ui' => [Bool](../types/Bool.md), 'message' => [string](../types/string.md), 'url' => [string](../types/string.md), 'cache_time' => [int](../types/int.md), \]; -[$messages\_botResults](../constructors/messages_botResults.md) = \['gallery' => [Bool](../types/Bool.md), 'query_id' => [long](../types/long.md), 'next_offset' => [string](../types/string.md), 'switch_pm' => [InlineBotSwitchPM](../types/InlineBotSwitchPM.md), 'results' => \[[BotInlineResult](../types/BotInlineResult.md)\], 'cache_time' => [int](../types/int.md), 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.botResults](../constructors/messages.botResults.md) = \['gallery' => [Bool](../types/Bool.md), 'query_id' => [long](../types/long.md), 'next_offset' => [string](../types/string.md), 'switch_pm' => [InlineBotSwitchPM](../types/InlineBotSwitchPM.md), 'results' => \[[BotInlineResult](../types/BotInlineResult.md)\], 'cache_time' => [int](../types/int.md), 'users' => \[[User](../types/User.md)\], \]; -[$messages\_channelMessages](../constructors/messages_channelMessages.md) = \['pts' => [int](../types/int.md), 'count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.channelMessages](../constructors/messages.channelMessages.md) = \['pts' => [int](../types/int.md), 'count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_chatFull](../constructors/messages_chatFull.md) = \['full_chat' => [ChatFull](../types/ChatFull.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.chatFull](../constructors/messages.chatFull.md) = \['full_chat' => [ChatFull](../types/ChatFull.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_chats](../constructors/messages_chats.md) = \['chats' => \[[Chat](../types/Chat.md)\], \]; +*** +

[$messages.chats](../constructors/messages.chats.md) = \['chats' => \[[Chat](../types/Chat.md)\], \]; -[$messages\_chatsSlice](../constructors/messages_chatsSlice.md) = \['count' => [int](../types/int.md), 'chats' => \[[Chat](../types/Chat.md)\], \]; +*** +

[$messages.chatsSlice](../constructors/messages.chatsSlice.md) = \['count' => [int](../types/int.md), 'chats' => \[[Chat](../types/Chat.md)\], \]; -[$messages\_dhConfig](../constructors/messages_dhConfig.md) = \['g' => [int](../types/int.md), 'p' => [bytes](../types/bytes.md), 'version' => [int](../types/int.md), 'random' => [bytes](../types/bytes.md), \]; +*** +

[$messages.dhConfig](../constructors/messages.dhConfig.md) = \['g' => [int](../types/int.md), 'p' => [bytes](../types/bytes.md), 'version' => [int](../types/int.md), 'random' => [bytes](../types/bytes.md), \]; -[$messages\_dhConfigNotModified](../constructors/messages_dhConfigNotModified.md) = \['random' => [bytes](../types/bytes.md), \]; +*** +

[$messages.dhConfigNotModified](../constructors/messages.dhConfigNotModified.md) = \['random' => [bytes](../types/bytes.md), \]; -[$messages\_dialogs](../constructors/messages_dialogs.md) = \['dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.dialogs](../constructors/messages.dialogs.md) = \['dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_dialogsSlice](../constructors/messages_dialogsSlice.md) = \['count' => [int](../types/int.md), 'dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.dialogsSlice](../constructors/messages.dialogsSlice.md) = \['count' => [int](../types/int.md), 'dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_favedStickers](../constructors/messages_favedStickers.md) = \['hash' => [int](../types/int.md), 'packs' => \[[StickerPack](../types/StickerPack.md)\], 'stickers' => \[[Document](../types/Document.md)\], \]; +*** +

[$messages.favedStickers](../constructors/messages.favedStickers.md) = \['hash' => [int](../types/int.md), 'packs' => \[[StickerPack](../types/StickerPack.md)\], 'stickers' => \[[Document](../types/Document.md)\], \]; -[$messages\_favedStickersNotModified](../constructors/messages_favedStickersNotModified.md) = \[\]; +*** +

[$messages.favedStickersNotModified](../constructors/messages.favedStickersNotModified.md) = \[\]; -[$messages\_featuredStickers](../constructors/messages_featuredStickers.md) = \['hash' => [int](../types/int.md), 'sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], 'unread' => \[[long](../types/long.md)\], \]; +*** +

[$messages.featuredStickers](../constructors/messages.featuredStickers.md) = \['hash' => [int](../types/int.md), 'sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], 'unread' => \[[long](../types/long.md)\], \]; -[$messages\_featuredStickersNotModified](../constructors/messages_featuredStickersNotModified.md) = \[\]; +*** +

[$messages.featuredStickersNotModified](../constructors/messages.featuredStickersNotModified.md) = \[\]; -[$messages\_foundGifs](../constructors/messages_foundGifs.md) = \['next_offset' => [int](../types/int.md), 'results' => \[[FoundGif](../types/FoundGif.md)\], \]; +*** +

[$messages.foundGifs](../constructors/messages.foundGifs.md) = \['next_offset' => [int](../types/int.md), 'results' => \[[FoundGif](../types/FoundGif.md)\], \]; -[$messages\_highScores](../constructors/messages_highScores.md) = \['scores' => \[[HighScore](../types/HighScore.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.highScores](../constructors/messages.highScores.md) = \['scores' => \[[HighScore](../types/HighScore.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_messageEditData](../constructors/messages_messageEditData.md) = \['caption' => [Bool](../types/Bool.md), \]; +*** +

[$messages.messageEditData](../constructors/messages.messageEditData.md) = \['caption' => [Bool](../types/Bool.md), \]; -[$messages\_messages](../constructors/messages_messages.md) = \['messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.messages](../constructors/messages.messages.md) = \['messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_messagesNotModified](../constructors/messages_messagesNotModified.md) = \['count' => [int](../types/int.md), \]; +*** +

[$messages.messagesNotModified](../constructors/messages.messagesNotModified.md) = \['count' => [int](../types/int.md), \]; -[$messages\_messagesSlice](../constructors/messages_messagesSlice.md) = \['count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.messagesSlice](../constructors/messages.messagesSlice.md) = \['count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_peerDialogs](../constructors/messages_peerDialogs.md) = \['dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'state' => [updates.State](../types/updates.State.md), \]; +*** +

[$messages.peerDialogs](../constructors/messages.peerDialogs.md) = \['dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'state' => [updates.State](../types/updates.State.md), \]; -[$messages\_recentStickers](../constructors/messages_recentStickers.md) = \['hash' => [int](../types/int.md), 'stickers' => \[[Document](../types/Document.md)\], \]; +*** +

[$messages.recentStickers](../constructors/messages.recentStickers.md) = \['hash' => [int](../types/int.md), 'stickers' => \[[Document](../types/Document.md)\], \]; -[$messages\_recentStickersNotModified](../constructors/messages_recentStickersNotModified.md) = \[\]; +*** +

[$messages.recentStickersNotModified](../constructors/messages.recentStickersNotModified.md) = \[\]; -[$messages\_savedGifs](../constructors/messages_savedGifs.md) = \['hash' => [int](../types/int.md), 'gifs' => \[[Document](../types/Document.md)\], \]; +*** +

[$messages.savedGifs](../constructors/messages.savedGifs.md) = \['hash' => [int](../types/int.md), 'gifs' => \[[Document](../types/Document.md)\], \]; -[$messages\_savedGifsNotModified](../constructors/messages_savedGifsNotModified.md) = \[\]; +*** +

[$messages.savedGifsNotModified](../constructors/messages.savedGifsNotModified.md) = \[\]; -[$messages\_sentEncryptedFile](../constructors/messages_sentEncryptedFile.md) = \['date' => [int](../types/int.md), 'file' => [EncryptedFile](../types/EncryptedFile.md), \]; +*** +

[$messages.sentEncryptedFile](../constructors/messages.sentEncryptedFile.md) = \['date' => [int](../types/int.md), 'file' => [EncryptedFile](../types/EncryptedFile.md), \]; -[$messages\_sentEncryptedMessage](../constructors/messages_sentEncryptedMessage.md) = \['date' => [int](../types/int.md), \]; +*** +

[$messages.sentEncryptedMessage](../constructors/messages.sentEncryptedMessage.md) = \['date' => [int](../types/int.md), \]; -[$messages\_stickerSet](../constructors/messages_stickerSet.md) = \['set' => [StickerSet](../types/StickerSet.md), 'packs' => \[[StickerPack](../types/StickerPack.md)\], 'documents' => \[[Document](../types/Document.md)\], \]; +*** +

[$messages.stickerSet](../constructors/messages.stickerSet.md) = \['set' => [StickerSet](../types/StickerSet.md), 'packs' => \[[StickerPack](../types/StickerPack.md)\], 'documents' => \[[Document](../types/Document.md)\], \]; -[$messages\_stickerSetInstallResultArchive](../constructors/messages_stickerSetInstallResultArchive.md) = \['sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], \]; +*** +

[$messages.stickerSetInstallResultArchive](../constructors/messages.stickerSetInstallResultArchive.md) = \['sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], \]; -[$messages\_stickerSetInstallResultSuccess](../constructors/messages_stickerSetInstallResultSuccess.md) = \[\]; +*** +

[$messages.stickerSetInstallResultSuccess](../constructors/messages.stickerSetInstallResultSuccess.md) = \[\]; -[$messages\_stickers](../constructors/messages_stickers.md) = \['hash' => [string](../types/string.md), 'stickers' => \[[Document](../types/Document.md)\], \]; +*** +

[$messages.stickers](../constructors/messages.stickers.md) = \['hash' => [string](../types/string.md), 'stickers' => \[[Document](../types/Document.md)\], \]; -[$messages\_stickersNotModified](../constructors/messages_stickersNotModified.md) = \[\]; +*** +

[$messages.stickersNotModified](../constructors/messages.stickersNotModified.md) = \[\]; ***

[$nearestDc](../constructors/nearestDc.md) = \['country' => [string](../types/string.md), 'this_dc' => [int](../types/int.md), 'nearest_dc' => [int](../types/int.md), \]; @@ -1130,17 +1201,22 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$paymentSavedCredentialsCard](../constructors/paymentSavedCredentialsCard.md) = \['id' => [string](../types/string.md), 'title' => [string](../types/string.md), \]; *** -

[$payments\_paymentForm](../constructors/payments_paymentForm.md) = \['can_save_credentials' => [Bool](../types/Bool.md), 'password_missing' => [Bool](../types/Bool.md), 'bot_id' => [int](../types/int.md), 'invoice' => [Invoice](../types/Invoice.md), 'provider_id' => [int](../types/int.md), 'url' => [string](../types/string.md), 'native_provider' => [string](../types/string.md), 'native_params' => [DataJSON](../types/DataJSON.md), 'saved_info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), 'saved_credentials' => [PaymentSavedCredentials](../types/PaymentSavedCredentials.md), 'users' => \[[User](../types/User.md)\], \]; +

[$payments.paymentForm](../constructors/payments.paymentForm.md) = \['can_save_credentials' => [Bool](../types/Bool.md), 'password_missing' => [Bool](../types/Bool.md), 'bot_id' => [int](../types/int.md), 'invoice' => [Invoice](../types/Invoice.md), 'provider_id' => [int](../types/int.md), 'url' => [string](../types/string.md), 'native_provider' => [string](../types/string.md), 'native_params' => [DataJSON](../types/DataJSON.md), 'saved_info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), 'saved_credentials' => [PaymentSavedCredentials](../types/PaymentSavedCredentials.md), 'users' => \[[User](../types/User.md)\], \]; -[$payments\_paymentReceipt](../constructors/payments_paymentReceipt.md) = \['date' => [int](../types/int.md), 'bot_id' => [int](../types/int.md), 'invoice' => [Invoice](../types/Invoice.md), 'provider_id' => [int](../types/int.md), 'info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), 'shipping' => [ShippingOption](../types/ShippingOption.md), 'currency' => [string](../types/string.md), 'total_amount' => [long](../types/long.md), 'credentials_title' => [string](../types/string.md), 'users' => \[[User](../types/User.md)\], \]; +*** +

[$payments.paymentReceipt](../constructors/payments.paymentReceipt.md) = \['date' => [int](../types/int.md), 'bot_id' => [int](../types/int.md), 'invoice' => [Invoice](../types/Invoice.md), 'provider_id' => [int](../types/int.md), 'info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), 'shipping' => [ShippingOption](../types/ShippingOption.md), 'currency' => [string](../types/string.md), 'total_amount' => [long](../types/long.md), 'credentials_title' => [string](../types/string.md), 'users' => \[[User](../types/User.md)\], \]; -[$payments\_paymentResult](../constructors/payments_paymentResult.md) = \['updates' => [Updates](../types/Updates.md), \]; +*** +

[$payments.paymentResult](../constructors/payments.paymentResult.md) = \['updates' => [Updates](../types/Updates.md), \]; -[$payments\_paymentVerficationNeeded](../constructors/payments_paymentVerficationNeeded.md) = \['url' => [string](../types/string.md), \]; +*** +

[$payments.paymentVerficationNeeded](../constructors/payments.paymentVerficationNeeded.md) = \['url' => [string](../types/string.md), \]; -[$payments\_savedInfo](../constructors/payments_savedInfo.md) = \['has_saved_credentials' => [Bool](../types/Bool.md), 'saved_info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), \]; +*** +

[$payments.savedInfo](../constructors/payments.savedInfo.md) = \['has_saved_credentials' => [Bool](../types/Bool.md), 'saved_info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), \]; -[$payments\_validatedRequestedInfo](../constructors/payments_validatedRequestedInfo.md) = \['id' => [string](../types/string.md), 'shipping_options' => \[[ShippingOption](../types/ShippingOption.md)\], \]; +*** +

[$payments.validatedRequestedInfo](../constructors/payments.validatedRequestedInfo.md) = \['id' => [string](../types/string.md), 'shipping_options' => \[[ShippingOption](../types/ShippingOption.md)\], \]; ***

[$peerChannel](../constructors/peerChannel.md) = \['channel_id' => [int](../types/int.md), \]; @@ -1166,6 +1242,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ***

[$peerUser](../constructors/peerUser.md) = \['user_id' => [int](../types/int.md), \]; +*** +

[$phone.phoneCall](../constructors/phone.phoneCall.md) = \['phone_call' => [PhoneCall](../types/PhoneCall.md), 'users' => \[[User](../types/User.md)\], \]; + ***

[$phoneCall](../constructors/phoneCall.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'date' => [int](../types/int.md), 'admin_id' => [int](../types/int.md), 'participant_id' => [int](../types/int.md), 'g_a_or_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), 'connection' => [PhoneConnection](../types/PhoneConnection.md), 'alternative_connections' => \[[PhoneConnection](../types/PhoneConnection.md)\], 'start_date' => [int](../types/int.md), \]; @@ -1202,9 +1281,6 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ***

[$phoneConnection](../constructors/phoneConnection.md) = \['id' => [long](../types/long.md), 'ip' => [string](../types/string.md), 'ipv6' => [string](../types/string.md), 'port' => [int](../types/int.md), 'peer_tag' => [bytes](../types/bytes.md), \]; -*** -

[$phone\_phoneCall](../constructors/phone_phoneCall.md) = \['phone_call' => [PhoneCall](../types/PhoneCall.md), 'users' => \[[User](../types/User.md)\], \]; - ***

[$photo](../constructors/photo.md) = \['has_stickers' => [Bool](../types/Bool.md), 'id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'date' => [int](../types/int.md), 'sizes' => \[[PhotoSize](../types/PhotoSize.md)\], \]; @@ -1221,11 +1297,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$photoSizeEmpty](../constructors/photoSizeEmpty.md) = \['type' => [string](../types/string.md), \]; *** -

[$photos\_photo](../constructors/photos_photo.md) = \['photo' => [Photo](../types/Photo.md), 'users' => \[[User](../types/User.md)\], \]; +

[$photos.photo](../constructors/photos.photo.md) = \['photo' => [Photo](../types/Photo.md), 'users' => \[[User](../types/User.md)\], \]; -[$photos\_photos](../constructors/photos_photos.md) = \['photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$photos.photos](../constructors/photos.photos.md) = \['photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$photos\_photosSlice](../constructors/photos_photosSlice.md) = \['count' => [int](../types/int.md), 'photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$photos.photosSlice](../constructors/photos.photosSlice.md) = \['count' => [int](../types/int.md), 'photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; ***

[$popularContact](../constructors/popularContact.md) = \['client_id' => [long](../types/long.md), 'importers' => [int](../types/int.md), \]; @@ -1345,25 +1423,34 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$stickerSetMultiCovered](../constructors/stickerSetMultiCovered.md) = \['set' => [StickerSet](../types/StickerSet.md), 'covers' => \[[Document](../types/Document.md)\], \]; *** -

[$storage\_fileGif](../constructors/storage_fileGif.md) = \[\]; +

[$storage.fileGif](../constructors/storage.fileGif.md) = \[\]; -[$storage\_fileJpeg](../constructors/storage_fileJpeg.md) = \[\]; +*** +

[$storage.fileJpeg](../constructors/storage.fileJpeg.md) = \[\]; -[$storage\_fileMov](../constructors/storage_fileMov.md) = \[\]; +*** +

[$storage.fileMov](../constructors/storage.fileMov.md) = \[\]; -[$storage\_fileMp3](../constructors/storage_fileMp3.md) = \[\]; +*** +

[$storage.fileMp3](../constructors/storage.fileMp3.md) = \[\]; -[$storage\_fileMp4](../constructors/storage_fileMp4.md) = \[\]; +*** +

[$storage.fileMp4](../constructors/storage.fileMp4.md) = \[\]; -[$storage\_filePartial](../constructors/storage_filePartial.md) = \[\]; +*** +

[$storage.filePartial](../constructors/storage.filePartial.md) = \[\]; -[$storage\_filePdf](../constructors/storage_filePdf.md) = \[\]; +*** +

[$storage.filePdf](../constructors/storage.filePdf.md) = \[\]; -[$storage\_filePng](../constructors/storage_filePng.md) = \[\]; +*** +

[$storage.filePng](../constructors/storage.filePng.md) = \[\]; -[$storage\_fileUnknown](../constructors/storage_fileUnknown.md) = \[\]; +*** +

[$storage.fileUnknown](../constructors/storage.fileUnknown.md) = \[\]; -[$storage\_fileWebp](../constructors/storage_fileWebp.md) = \[\]; +*** +

[$storage.fileWebp](../constructors/storage.fileWebp.md) = \[\]; ***

[$textBold](../constructors/textBold.md) = \['text' => [RichText](../types/RichText.md), \]; @@ -1635,6 +1722,30 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ***

[$updates](../constructors/updates.md) = \['updates' => \[[Update](../types/Update.md)\], 'users' => \[[User](../types/User.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'date' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; +*** +

[$updates.channelDifference](../constructors/updates.channelDifference.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), 'new_messages' => \[[Message](../types/Message.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +*** +

[$updates.channelDifferenceEmpty](../constructors/updates.channelDifferenceEmpty.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), \]; + +*** +

[$updates.channelDifferenceTooLong](../constructors/updates.channelDifferenceTooLong.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), 'top_message' => [int](../types/int.md), 'read_inbox_max_id' => [int](../types/int.md), 'read_outbox_max_id' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), 'unread_mentions_count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +*** +

[$updates.difference](../constructors/updates.difference.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'state' => [updates.State](../types/updates.State.md), \]; + +*** +

[$updates.differenceEmpty](../constructors/updates.differenceEmpty.md) = \['date' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; + +*** +

[$updates.differenceSlice](../constructors/updates.differenceSlice.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'intermediate_state' => [updates.State](../types/updates.State.md), \]; + +*** +

[$updates.differenceTooLong](../constructors/updates.differenceTooLong.md) = \['pts' => [int](../types/int.md), \]; + +*** +

[$updates.state](../constructors/updates.state.md) = \['pts' => [int](../types/int.md), 'qts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'seq' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), \]; + ***

[$updatesCombined](../constructors/updatesCombined.md) = \['updates' => \[[Update](../types/Update.md)\], 'users' => \[[User](../types/User.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'date' => [int](../types/int.md), 'seq_start' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; @@ -1642,32 +1753,19 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$updatesTooLong](../constructors/updatesTooLong.md) = \[\]; *** -

[$updates\_channelDifference](../constructors/updates_channelDifference.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), 'new_messages' => \[[Message](../types/Message.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; - -[$updates\_channelDifferenceEmpty](../constructors/updates_channelDifferenceEmpty.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), \]; - -[$updates\_channelDifferenceTooLong](../constructors/updates_channelDifferenceTooLong.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), 'top_message' => [int](../types/int.md), 'read_inbox_max_id' => [int](../types/int.md), 'read_outbox_max_id' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), 'unread_mentions_count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; - -[$updates\_difference](../constructors/updates_difference.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'state' => [updates.State](../types/updates.State.md), \]; - -[$updates\_differenceEmpty](../constructors/updates_differenceEmpty.md) = \['date' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; - -[$updates\_differenceSlice](../constructors/updates_differenceSlice.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'intermediate_state' => [updates.State](../types/updates.State.md), \]; - -[$updates\_differenceTooLong](../constructors/updates_differenceTooLong.md) = \['pts' => [int](../types/int.md), \]; - -[$updates\_state](../constructors/updates_state.md) = \['pts' => [int](../types/int.md), 'qts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'seq' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), \]; +

[$upload.cdnFile](../constructors/upload.cdnFile.md) = \['bytes' => [bytes](../types/bytes.md), \]; *** -

[$upload\_cdnFile](../constructors/upload_cdnFile.md) = \['bytes' => [bytes](../types/bytes.md), \]; +

[$upload.cdnFileReuploadNeeded](../constructors/upload.cdnFileReuploadNeeded.md) = \['request_token' => [bytes](../types/bytes.md), \]; -[$upload\_cdnFileReuploadNeeded](../constructors/upload_cdnFileReuploadNeeded.md) = \['request_token' => [bytes](../types/bytes.md), \]; +*** +

[$upload.file](../constructors/upload.file.md) = \['type' => [storage.FileType](../types/storage.FileType.md), 'mtime' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; -[$upload\_file](../constructors/upload_file.md) = \['type' => [storage.FileType](../types/storage.FileType.md), 'mtime' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; +*** +

[$upload.fileCdnRedirect](../constructors/upload.fileCdnRedirect.md) = \['dc_id' => [int](../types/int.md), 'file_token' => [bytes](../types/bytes.md), 'encryption_key' => [bytes](../types/bytes.md), 'encryption_iv' => [bytes](../types/bytes.md), 'cdn_file_hashes' => \[[CdnFileHash](../types/CdnFileHash.md)\], \]; -[$upload\_fileCdnRedirect](../constructors/upload_fileCdnRedirect.md) = \['dc_id' => [int](../types/int.md), 'file_token' => [bytes](../types/bytes.md), 'encryption_key' => [bytes](../types/bytes.md), 'encryption_iv' => [bytes](../types/bytes.md), 'cdn_file_hashes' => \[[CdnFileHash](../types/CdnFileHash.md)\], \]; - -[$upload\_webFile](../constructors/upload_webFile.md) = \['size' => [int](../types/int.md), 'mime_type' => [string](../types/string.md), 'file_type' => [storage.FileType](../types/storage.FileType.md), 'mtime' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; +*** +

[$upload.webFile](../constructors/upload.webFile.md) = \['size' => [int](../types/int.md), 'mime_type' => [string](../types/string.md), 'file_type' => [storage.FileType](../types/storage.FileType.md), 'mtime' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; ***

[$user](../constructors/user.md) = \['self' => [Bool](../types/Bool.md), 'contact' => [Bool](../types/Bool.md), 'mutual_contact' => [Bool](../types/Bool.md), 'deleted' => [Bool](../types/Bool.md), 'bot' => [Bool](../types/Bool.md), 'bot_chat_history' => [Bool](../types/Bool.md), 'bot_nochats' => [Bool](../types/Bool.md), 'verified' => [Bool](../types/Bool.md), 'restricted' => [Bool](../types/Bool.md), 'min' => [Bool](../types/Bool.md), 'bot_inline_geo' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), 'username' => [string](../types/string.md), 'phone' => [string](../types/string.md), 'photo' => [UserProfilePhoto](../types/UserProfilePhoto.md), 'status' => [UserStatus](../types/UserStatus.md), 'bot_info_version' => [int](../types/int.md), 'restriction_reason' => [string](../types/string.md), 'bot_inline_placeholder' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]; diff --git a/old_docs/API_docs_v75/constructors/account.authorizations.md b/old_docs/API_docs_v75/constructors/account.authorizations.md new file mode 100644 index 00000000..53c961f0 --- /dev/null +++ b/old_docs/API_docs_v75/constructors/account.authorizations.md @@ -0,0 +1,38 @@ +--- +title: account.authorizations +description: Logged-in sessions +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.authorizations +[Back to constructors index](index.md) + + + +Logged-in sessions + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|authorizations|Array of [Authorization](../types/Authorization.md) | Yes|Authorizations| + + + +### Type: [account.Authorizations](../types/account.Authorizations.md) + + +### Example: + +```php +$account.authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization, Authorization]]; +``` + + +Or, if you're into Lua: + +```lua +account.authorizations={_='account.authorizations', authorizations={Authorization}} + +``` + + diff --git a/old_docs/API_docs_v75/constructors/account.noPassword.md b/old_docs/API_docs_v75/constructors/account.noPassword.md new file mode 100644 index 00000000..4dcdc515 --- /dev/null +++ b/old_docs/API_docs_v75/constructors/account.noPassword.md @@ -0,0 +1,39 @@ +--- +title: account.noPassword +description: No password +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.noPassword +[Back to constructors index](index.md) + + + +No password + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|new\_salt|[bytes](../types/bytes.md) | Yes|New salt| +|email\_unconfirmed\_pattern|[string](../types/string.md) | Yes|Email unconfirmed pattern| + + + +### Type: [account.Password](../types/account.Password.md) + + +### Example: + +```php +$account.noPassword = ['_' => 'account.noPassword', 'new_salt' => 'bytes', 'email_unconfirmed_pattern' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +account.noPassword={_='account.noPassword', new_salt='bytes', email_unconfirmed_pattern='string'} + +``` + + diff --git a/old_docs/API_docs_v75/constructors/account.password.md b/old_docs/API_docs_v75/constructors/account.password.md new file mode 100644 index 00000000..9e86a73a --- /dev/null +++ b/old_docs/API_docs_v75/constructors/account.password.md @@ -0,0 +1,42 @@ +--- +title: account.password +description: Configuration for two-factor authorization +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.password +[Back to constructors index](index.md) + + + +Configuration for two-factor authorization + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|current\_salt|[bytes](../types/bytes.md) | Yes|Current salt| +|new\_salt|[bytes](../types/bytes.md) | Yes|New salt| +|hint|[string](../types/string.md) | Yes|Text hint for the password| +|has\_recovery|[Bool](../types/Bool.md) | Yes|Has recovery?| +|email\_unconfirmed\_pattern|[string](../types/string.md) | Yes|A [password recovery email](https://core.telegram.org/api/srp#email-verification) with the specified [pattern](https://core.telegram.org/api/pattern) is still awaiting verification| + + + +### Type: [account.Password](../types/account.Password.md) + + +### Example: + +```php +$account.password = ['_' => 'account.password', 'current_salt' => 'bytes', 'new_salt' => 'bytes', 'hint' => 'string', 'has_recovery' => Bool, 'email_unconfirmed_pattern' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +account.password={_='account.password', current_salt='bytes', new_salt='bytes', hint='string', has_recovery=Bool, email_unconfirmed_pattern='string'} + +``` + + diff --git a/old_docs/API_docs_v75/constructors/account.passwordInputSettings.md b/old_docs/API_docs_v75/constructors/account.passwordInputSettings.md new file mode 100644 index 00000000..c440115a --- /dev/null +++ b/old_docs/API_docs_v75/constructors/account.passwordInputSettings.md @@ -0,0 +1,41 @@ +--- +title: account.passwordInputSettings +description: Settings for setting up a new password +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.passwordInputSettings +[Back to constructors index](index.md) + + + +Settings for setting up a new password + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|new\_salt|[bytes](../types/bytes.md) | Optional|`$new_salt = $MadelineProto->account->getPassword()['new_salt'].$MadelineProto->random(8);`| +|new\_password\_hash|[bytes](../types/bytes.md) | Optional|The [computed password hash](https://core.telegram.org/api/srp)| +|hint|[string](../types/string.md) | Optional|Text hint for the password| +|email|[string](../types/string.md) | Optional|Password recovery email| + + + +### Type: [account.PasswordInputSettings](../types/account.PasswordInputSettings.md) + + +### Example: + +```php +$account.passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_salt' => 'bytes', 'new_password_hash' => 'bytes', 'hint' => 'string', 'email' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +account.passwordInputSettings={_='account.passwordInputSettings', new_salt='bytes', new_password_hash='bytes', hint='string', email='string'} + +``` + + diff --git a/old_docs/API_docs_v75/constructors/account.passwordSettings.md b/old_docs/API_docs_v75/constructors/account.passwordSettings.md new file mode 100644 index 00000000..be899d34 --- /dev/null +++ b/old_docs/API_docs_v75/constructors/account.passwordSettings.md @@ -0,0 +1,38 @@ +--- +title: account.passwordSettings +description: Private info associated to the password info (recovery email, telegram [passport](https://core.telegram.org/passport) info & so on) +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.passwordSettings +[Back to constructors index](index.md) + + + +Private info associated to the password info (recovery email, telegram [passport](https://core.telegram.org/passport) info & so on) + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|email|[string](../types/string.md) | Yes|[2FA Recovery email](https://core.telegram.org/api/srp#email-verification)| + + + +### Type: [account.PasswordSettings](../types/account.PasswordSettings.md) + + +### Example: + +```php +$account.passwordSettings = ['_' => 'account.passwordSettings', 'email' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +account.passwordSettings={_='account.passwordSettings', email='string'} + +``` + + diff --git a/old_docs/API_docs_v75/constructors/account.privacyRules.md b/old_docs/API_docs_v75/constructors/account.privacyRules.md new file mode 100644 index 00000000..7ae04abb --- /dev/null +++ b/old_docs/API_docs_v75/constructors/account.privacyRules.md @@ -0,0 +1,39 @@ +--- +title: account.privacyRules +description: Privacy rules +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.privacyRules +[Back to constructors index](index.md) + + + +Privacy rules + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|rules|Array of [PrivacyRule](../types/PrivacyRule.md) | Yes|Rules| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [account.PrivacyRules](../types/account.PrivacyRules.md) + + +### Example: + +```php +$account.privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule, PrivacyRule], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +account.privacyRules={_='account.privacyRules', rules={PrivacyRule}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v75/constructors/account.tmpPassword.md b/old_docs/API_docs_v75/constructors/account.tmpPassword.md new file mode 100644 index 00000000..996548c4 --- /dev/null +++ b/old_docs/API_docs_v75/constructors/account.tmpPassword.md @@ -0,0 +1,39 @@ +--- +title: account.tmpPassword +description: Temporary payment password +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.tmpPassword +[Back to constructors index](index.md) + + + +Temporary payment password + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|tmp\_password|[bytes](../types/bytes.md) | Yes|Temporary password| +|valid\_until|[int](../types/int.md) | Yes|Validity period| + + + +### Type: [account.TmpPassword](../types/account.TmpPassword.md) + + +### Example: + +```php +$account.tmpPassword = ['_' => 'account.tmpPassword', 'tmp_password' => 'bytes', 'valid_until' => int]; +``` + + +Or, if you're into Lua: + +```lua +account.tmpPassword={_='account.tmpPassword', tmp_password='bytes', valid_until=int} + +``` + + diff --git a/old_docs/API_docs_v75/constructors/account.webAuthorizations.md b/old_docs/API_docs_v75/constructors/account.webAuthorizations.md new file mode 100644 index 00000000..bb5d0211 --- /dev/null +++ b/old_docs/API_docs_v75/constructors/account.webAuthorizations.md @@ -0,0 +1,39 @@ +--- +title: account.webAuthorizations +description: Web authorizations +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.webAuthorizations +[Back to constructors index](index.md) + + + +Web authorizations + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|authorizations|Array of [WebAuthorization](../types/WebAuthorization.md) | Yes|Authorizations| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [account.WebAuthorizations](../types/account.WebAuthorizations.md) + + +### Example: + +```php +$account.webAuthorizations = ['_' => 'account.webAuthorizations', 'authorizations' => [WebAuthorization, WebAuthorization], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +account.webAuthorizations={_='account.webAuthorizations', authorizations={WebAuthorization}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v75/constructors/account_authorizations.md b/old_docs/API_docs_v75/constructors/account_authorizations.md deleted file mode 100644 index aeae48f3..00000000 --- a/old_docs/API_docs_v75/constructors/account_authorizations.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: account.authorizations -description: Logged-in sessions -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.authorizations -[Back to constructors index](index.md) - - - -Logged-in sessions - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|authorizations|Array of [Authorization](../types/Authorization.md) | Yes|Authorizations| - - - -### Type: [account\_Authorizations](../types/account_Authorizations.md) - - -### Example: - -```php -$account_authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization, Authorization]]; -``` - - -Or, if you're into Lua: - -```lua -account_authorizations={_='account.authorizations', authorizations={Authorization}} - -``` - - diff --git a/old_docs/API_docs_v75/constructors/account_noPassword.md b/old_docs/API_docs_v75/constructors/account_noPassword.md deleted file mode 100644 index 10ef7b2a..00000000 --- a/old_docs/API_docs_v75/constructors/account_noPassword.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: account.noPassword -description: No password -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.noPassword -[Back to constructors index](index.md) - - - -No password - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|new\_salt|[bytes](../types/bytes.md) | Yes|New salt| -|email\_unconfirmed\_pattern|[string](../types/string.md) | Yes|Email unconfirmed pattern| - - - -### Type: [account\_Password](../types/account_Password.md) - - -### Example: - -```php -$account_noPassword = ['_' => 'account.noPassword', 'new_salt' => 'bytes', 'email_unconfirmed_pattern' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -account_noPassword={_='account.noPassword', new_salt='bytes', email_unconfirmed_pattern='string'} - -``` - - diff --git a/old_docs/API_docs_v75/constructors/account_password.md b/old_docs/API_docs_v75/constructors/account_password.md deleted file mode 100644 index a9f512e8..00000000 --- a/old_docs/API_docs_v75/constructors/account_password.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: account.password -description: Configuration for two-factor authorization -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.password -[Back to constructors index](index.md) - - - -Configuration for two-factor authorization - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|current\_salt|[bytes](../types/bytes.md) | Yes|Current salt| -|new\_salt|[bytes](../types/bytes.md) | Yes|New salt| -|hint|[string](../types/string.md) | Yes|Text hint for the password| -|has\_recovery|[Bool](../types/Bool.md) | Yes|Has recovery?| -|email\_unconfirmed\_pattern|[string](../types/string.md) | Yes|A [password recovery email](https://core.telegram.org/api/srp#email-verification) with the specified [pattern](https://core.telegram.org/api/pattern) is still awaiting verification| - - - -### Type: [account\_Password](../types/account_Password.md) - - -### Example: - -```php -$account_password = ['_' => 'account.password', 'current_salt' => 'bytes', 'new_salt' => 'bytes', 'hint' => 'string', 'has_recovery' => Bool, 'email_unconfirmed_pattern' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -account_password={_='account.password', current_salt='bytes', new_salt='bytes', hint='string', has_recovery=Bool, email_unconfirmed_pattern='string'} - -``` - - diff --git a/old_docs/API_docs_v75/constructors/account_passwordInputSettings.md b/old_docs/API_docs_v75/constructors/account_passwordInputSettings.md deleted file mode 100644 index 05ec666b..00000000 --- a/old_docs/API_docs_v75/constructors/account_passwordInputSettings.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: account.passwordInputSettings -description: Settings for setting up a new password -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.passwordInputSettings -[Back to constructors index](index.md) - - - -Settings for setting up a new password - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|new\_salt|[bytes](../types/bytes.md) | Optional|`$new_salt = $MadelineProto->account->getPassword()['new_salt'].$MadelineProto->random(8);`| -|new\_password\_hash|[bytes](../types/bytes.md) | Optional|The [computed password hash](https://core.telegram.org/api/srp)| -|hint|[string](../types/string.md) | Optional|Text hint for the password| -|email|[string](../types/string.md) | Optional|Password recovery email| - - - -### Type: [account\_PasswordInputSettings](../types/account_PasswordInputSettings.md) - - -### Example: - -```php -$account_passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_salt' => 'bytes', 'new_password_hash' => 'bytes', 'hint' => 'string', 'email' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -account_passwordInputSettings={_='account.passwordInputSettings', new_salt='bytes', new_password_hash='bytes', hint='string', email='string'} - -``` - - diff --git a/old_docs/API_docs_v75/constructors/account_passwordSettings.md b/old_docs/API_docs_v75/constructors/account_passwordSettings.md deleted file mode 100644 index e22f9cc4..00000000 --- a/old_docs/API_docs_v75/constructors/account_passwordSettings.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: account.passwordSettings -description: Private info associated to the password info (recovery email, telegram [passport](https://core.telegram.org/passport) info & so on) -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.passwordSettings -[Back to constructors index](index.md) - - - -Private info associated to the password info (recovery email, telegram [passport](https://core.telegram.org/passport) info & so on) - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|email|[string](../types/string.md) | Yes|[2FA Recovery email](https://core.telegram.org/api/srp#email-verification)| - - - -### Type: [account\_PasswordSettings](../types/account_PasswordSettings.md) - - -### Example: - -```php -$account_passwordSettings = ['_' => 'account.passwordSettings', 'email' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -account_passwordSettings={_='account.passwordSettings', email='string'} - -``` - - diff --git a/old_docs/API_docs_v75/constructors/account_privacyRules.md b/old_docs/API_docs_v75/constructors/account_privacyRules.md deleted file mode 100644 index 28b260b7..00000000 --- a/old_docs/API_docs_v75/constructors/account_privacyRules.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: account.privacyRules -description: Privacy rules -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.privacyRules -[Back to constructors index](index.md) - - - -Privacy rules - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|rules|Array of [PrivacyRule](../types/PrivacyRule.md) | Yes|Rules| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [account\_PrivacyRules](../types/account_PrivacyRules.md) - - -### Example: - -```php -$account_privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule, PrivacyRule], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -account_privacyRules={_='account.privacyRules', rules={PrivacyRule}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v75/constructors/account_tmpPassword.md b/old_docs/API_docs_v75/constructors/account_tmpPassword.md deleted file mode 100644 index 68832780..00000000 --- a/old_docs/API_docs_v75/constructors/account_tmpPassword.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: account.tmpPassword -description: Temporary payment password -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.tmpPassword -[Back to constructors index](index.md) - - - -Temporary payment password - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|tmp\_password|[bytes](../types/bytes.md) | Yes|Temporary password| -|valid\_until|[int](../types/int.md) | Yes|Validity period| - - - -### Type: [account\_TmpPassword](../types/account_TmpPassword.md) - - -### Example: - -```php -$account_tmpPassword = ['_' => 'account.tmpPassword', 'tmp_password' => 'bytes', 'valid_until' => int]; -``` - - -Or, if you're into Lua: - -```lua -account_tmpPassword={_='account.tmpPassword', tmp_password='bytes', valid_until=int} - -``` - - diff --git a/old_docs/API_docs_v75/constructors/account_webAuthorizations.md b/old_docs/API_docs_v75/constructors/account_webAuthorizations.md deleted file mode 100644 index ae402006..00000000 --- a/old_docs/API_docs_v75/constructors/account_webAuthorizations.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: account.webAuthorizations -description: Web authorizations -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.webAuthorizations -[Back to constructors index](index.md) - - - -Web authorizations - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|authorizations|Array of [WebAuthorization](../types/WebAuthorization.md) | Yes|Authorizations| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [account\_WebAuthorizations](../types/account_WebAuthorizations.md) - - -### Example: - -```php -$account_webAuthorizations = ['_' => 'account.webAuthorizations', 'authorizations' => [WebAuthorization, WebAuthorization], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -account_webAuthorizations={_='account.webAuthorizations', authorizations={WebAuthorization}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v75/constructors/auth.authorization.md b/old_docs/API_docs_v75/constructors/auth.authorization.md new file mode 100644 index 00000000..2a84bb12 --- /dev/null +++ b/old_docs/API_docs_v75/constructors/auth.authorization.md @@ -0,0 +1,39 @@ +--- +title: auth.authorization +description: Contains user authorization info. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.authorization +[Back to constructors index](index.md) + + + +Contains user authorization info. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|tmp\_sessions|[int](../types/int.md) | Optional|Temporary [passport](https://core.telegram.org/passport) sessions| +|user|[User](../types/User.md) | Optional|Info on authorized user| + + + +### Type: [auth.Authorization](../types/auth.Authorization.md) + + +### Example: + +```php +$auth.authorization = ['_' => 'auth.authorization', 'tmp_sessions' => int, 'user' => User]; +``` + + +Or, if you're into Lua: + +```lua +auth.authorization={_='auth.authorization', tmp_sessions=int, user=User} + +``` + + diff --git a/old_docs/API_docs_v75/constructors/auth.checkedPhone.md b/old_docs/API_docs_v75/constructors/auth.checkedPhone.md new file mode 100644 index 00000000..23e84cf9 --- /dev/null +++ b/old_docs/API_docs_v75/constructors/auth.checkedPhone.md @@ -0,0 +1,38 @@ +--- +title: auth.checkedPhone +description: Checked phone +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.checkedPhone +[Back to constructors index](index.md) + + + +Checked phone + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_registered|[Bool](../types/Bool.md) | Yes|Phone registered?| + + + +### Type: [auth.CheckedPhone](../types/auth.CheckedPhone.md) + + +### Example: + +```php +$auth.checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool]; +``` + + +Or, if you're into Lua: + +```lua +auth.checkedPhone={_='auth.checkedPhone', phone_registered=Bool} + +``` + + diff --git a/old_docs/API_docs_v75/constructors/auth.codeTypeCall.md b/old_docs/API_docs_v75/constructors/auth.codeTypeCall.md new file mode 100644 index 00000000..4b4a1cdc --- /dev/null +++ b/old_docs/API_docs_v75/constructors/auth.codeTypeCall.md @@ -0,0 +1,33 @@ +--- +title: auth.codeTypeCall +description: Type of verification code that will be sent next if you call the resendCode method: SMS code +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.codeTypeCall +[Back to constructors index](index.md) + + + +Type of verification code that will be sent next if you call the resendCode method: SMS code + + + + +### Type: [auth.CodeType](../types/auth.CodeType.md) + + +### Example: + +```php +$auth.codeTypeCall = ['_' => 'auth.codeTypeCall']; +``` + + +Or, if you're into Lua: + +```lua +auth.codeTypeCall={_='auth.codeTypeCall'} + +``` + + diff --git a/old_docs/API_docs_v75/constructors/auth.codeTypeFlashCall.md b/old_docs/API_docs_v75/constructors/auth.codeTypeFlashCall.md new file mode 100644 index 00000000..ef97e034 --- /dev/null +++ b/old_docs/API_docs_v75/constructors/auth.codeTypeFlashCall.md @@ -0,0 +1,33 @@ +--- +title: auth.codeTypeFlashCall +description: Type of verification code that will be sent next if you call the resendCode method: SMS code +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.codeTypeFlashCall +[Back to constructors index](index.md) + + + +Type of verification code that will be sent next if you call the resendCode method: SMS code + + + + +### Type: [auth.CodeType](../types/auth.CodeType.md) + + +### Example: + +```php +$auth.codeTypeFlashCall = ['_' => 'auth.codeTypeFlashCall']; +``` + + +Or, if you're into Lua: + +```lua +auth.codeTypeFlashCall={_='auth.codeTypeFlashCall'} + +``` + + diff --git a/old_docs/API_docs_v75/constructors/auth.codeTypeSms.md b/old_docs/API_docs_v75/constructors/auth.codeTypeSms.md new file mode 100644 index 00000000..bab9a5a4 --- /dev/null +++ b/old_docs/API_docs_v75/constructors/auth.codeTypeSms.md @@ -0,0 +1,33 @@ +--- +title: auth.codeTypeSms +description: Type of verification code that will be sent next if you call the resendCode method: SMS code +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.codeTypeSms +[Back to constructors index](index.md) + + + +Type of verification code that will be sent next if you call the resendCode method: SMS code + + + + +### Type: [auth.CodeType](../types/auth.CodeType.md) + + +### Example: + +```php +$auth.codeTypeSms = ['_' => 'auth.codeTypeSms']; +``` + + +Or, if you're into Lua: + +```lua +auth.codeTypeSms={_='auth.codeTypeSms'} + +``` + + diff --git a/old_docs/API_docs_v75/constructors/auth.exportedAuthorization.md b/old_docs/API_docs_v75/constructors/auth.exportedAuthorization.md new file mode 100644 index 00000000..2a4a9896 --- /dev/null +++ b/old_docs/API_docs_v75/constructors/auth.exportedAuthorization.md @@ -0,0 +1,39 @@ +--- +title: auth.exportedAuthorization +description: Data for copying of authorization between data centres. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.exportedAuthorization +[Back to constructors index](index.md) + + + +Data for copying of authorization between data centres. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|id|[int](../types/int.md) | Yes|Current user identifier| +|bytes|[bytes](../types/bytes.md) | Yes|Authorizes key| + + + +### Type: [auth.ExportedAuthorization](../types/auth.ExportedAuthorization.md) + + +### Example: + +```php +$auth.exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +auth.exportedAuthorization={_='auth.exportedAuthorization', id=int, bytes='bytes'} + +``` + + diff --git a/old_docs/API_docs_v75/constructors/auth.passwordRecovery.md b/old_docs/API_docs_v75/constructors/auth.passwordRecovery.md new file mode 100644 index 00000000..61de922d --- /dev/null +++ b/old_docs/API_docs_v75/constructors/auth.passwordRecovery.md @@ -0,0 +1,38 @@ +--- +title: auth.passwordRecovery +description: Recovery info of a [2FA password](https://core.telegram.org/api/srp), only for accounts with a [recovery email configured](https://core.telegram.org/api/srp#email-verification). +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.passwordRecovery +[Back to constructors index](index.md) + + + +Recovery info of a [2FA password](https://core.telegram.org/api/srp), only for accounts with a [recovery email configured](https://core.telegram.org/api/srp#email-verification). + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|email\_pattern|[string](../types/string.md) | Yes|The email to which the recovery code was sent must match this [pattern](https://core.telegram.org/api/pattern).| + + + +### Type: [auth.PasswordRecovery](../types/auth.PasswordRecovery.md) + + +### Example: + +```php +$auth.passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +auth.passwordRecovery={_='auth.passwordRecovery', email_pattern='string'} + +``` + + diff --git a/old_docs/API_docs_v75/constructors/auth.sentCode.md b/old_docs/API_docs_v75/constructors/auth.sentCode.md new file mode 100644 index 00000000..25e94704 --- /dev/null +++ b/old_docs/API_docs_v75/constructors/auth.sentCode.md @@ -0,0 +1,42 @@ +--- +title: auth.sentCode +description: Contains info about a sent verification code. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentCode +[Back to constructors index](index.md) + + + +Contains info about a sent verification code. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_registered|[Bool](../types/Bool.md) | Optional|Phone registered?| +|type|[auth.SentCodeType](../constructors/auth.SentCodeType.md) | Yes|Phone code type| +|phone\_code\_hash|[string](../types/string.md) | Yes|Phone code hash, to be stored and later re-used with [auth.signIn](../methods/auth.signIn.md)| +|next\_type|[auth.CodeType](../constructors/auth.CodeType.md) | Optional|Phone code type that will be sent next, if the phone code is not received within `timeout` seconds: to send it use [auth.resendCode](../methods/auth.resendCode.md)| +|timeout|[int](../types/int.md) | Optional|Timeout for reception of the phone code| + + + +### Type: [auth.SentCode](../types/auth.SentCode.md) + + +### Example: + +```php +$auth.sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'type' => auth.SentCodeType, 'phone_code_hash' => 'string', 'next_type' => auth.CodeType, 'timeout' => int]; +``` + + +Or, if you're into Lua: + +```lua +auth.sentCode={_='auth.sentCode', phone_registered=Bool, type=auth.SentCodeType, phone_code_hash='string', next_type=auth.CodeType, timeout=int} + +``` + + diff --git a/old_docs/API_docs_v75/constructors/auth.sentCodeTypeApp.md b/old_docs/API_docs_v75/constructors/auth.sentCodeTypeApp.md new file mode 100644 index 00000000..5f2d4aa3 --- /dev/null +++ b/old_docs/API_docs_v75/constructors/auth.sentCodeTypeApp.md @@ -0,0 +1,38 @@ +--- +title: auth.sentCodeTypeApp +description: The code was sent through the telegram app +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentCodeTypeApp +[Back to constructors index](index.md) + + + +The code was sent through the telegram app + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|length|[int](../types/int.md) | Yes|Length of the code in bytes| + + + +### Type: [auth.SentCodeType](../types/auth.SentCodeType.md) + + +### Example: + +```php +$auth.sentCodeTypeApp = ['_' => 'auth.sentCodeTypeApp', 'length' => int]; +``` + + +Or, if you're into Lua: + +```lua +auth.sentCodeTypeApp={_='auth.sentCodeTypeApp', length=int} + +``` + + diff --git a/old_docs/API_docs_v75/constructors/auth.sentCodeTypeCall.md b/old_docs/API_docs_v75/constructors/auth.sentCodeTypeCall.md new file mode 100644 index 00000000..9843b3df --- /dev/null +++ b/old_docs/API_docs_v75/constructors/auth.sentCodeTypeCall.md @@ -0,0 +1,38 @@ +--- +title: auth.sentCodeTypeCall +description: The code will be sent via a phone call: a synthesized voice will tell the user which verification code to input. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentCodeTypeCall +[Back to constructors index](index.md) + + + +The code will be sent via a phone call: a synthesized voice will tell the user which verification code to input. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|length|[int](../types/int.md) | Yes|Length of the verification code| + + + +### Type: [auth.SentCodeType](../types/auth.SentCodeType.md) + + +### Example: + +```php +$auth.sentCodeTypeCall = ['_' => 'auth.sentCodeTypeCall', 'length' => int]; +``` + + +Or, if you're into Lua: + +```lua +auth.sentCodeTypeCall={_='auth.sentCodeTypeCall', length=int} + +``` + + diff --git a/old_docs/API_docs_v75/constructors/auth.sentCodeTypeFlashCall.md b/old_docs/API_docs_v75/constructors/auth.sentCodeTypeFlashCall.md new file mode 100644 index 00000000..0d24751d --- /dev/null +++ b/old_docs/API_docs_v75/constructors/auth.sentCodeTypeFlashCall.md @@ -0,0 +1,38 @@ +--- +title: auth.sentCodeTypeFlashCall +description: The code will be sent via a flash phone call, that will be closed immediately. The phone code will then be the phone number itself, just make sure that the phone number matches the specified pattern. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentCodeTypeFlashCall +[Back to constructors index](index.md) + + + +The code will be sent via a flash phone call, that will be closed immediately. The phone code will then be the phone number itself, just make sure that the phone number matches the specified pattern. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pattern|[string](../types/string.md) | Yes|[pattern](https://core.telegram.org/api/pattern) to match| + + + +### Type: [auth.SentCodeType](../types/auth.SentCodeType.md) + + +### Example: + +```php +$auth.sentCodeTypeFlashCall = ['_' => 'auth.sentCodeTypeFlashCall', 'pattern' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +auth.sentCodeTypeFlashCall={_='auth.sentCodeTypeFlashCall', pattern='string'} + +``` + + diff --git a/old_docs/API_docs_v75/constructors/auth.sentCodeTypeSms.md b/old_docs/API_docs_v75/constructors/auth.sentCodeTypeSms.md new file mode 100644 index 00000000..d8ecb75e --- /dev/null +++ b/old_docs/API_docs_v75/constructors/auth.sentCodeTypeSms.md @@ -0,0 +1,38 @@ +--- +title: auth.sentCodeTypeSms +description: The code was sent via SMS +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentCodeTypeSms +[Back to constructors index](index.md) + + + +The code was sent via SMS + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|length|[int](../types/int.md) | Yes|Length of the code in bytes| + + + +### Type: [auth.SentCodeType](../types/auth.SentCodeType.md) + + +### Example: + +```php +$auth.sentCodeTypeSms = ['_' => 'auth.sentCodeTypeSms', 'length' => int]; +``` + + +Or, if you're into Lua: + +```lua +auth.sentCodeTypeSms={_='auth.sentCodeTypeSms', length=int} + +``` + + diff --git a/old_docs/API_docs_v75/constructors/auth_authorization.md b/old_docs/API_docs_v75/constructors/auth_authorization.md deleted file mode 100644 index cb72811d..00000000 --- a/old_docs/API_docs_v75/constructors/auth_authorization.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: auth.authorization -description: Contains user authorization info. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.authorization -[Back to constructors index](index.md) - - - -Contains user authorization info. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|tmp\_sessions|[int](../types/int.md) | Optional|Temporary [passport](https://core.telegram.org/passport) sessions| -|user|[User](../types/User.md) | Optional|Info on authorized user| - - - -### Type: [auth\_Authorization](../types/auth_Authorization.md) - - -### Example: - -```php -$auth_authorization = ['_' => 'auth.authorization', 'tmp_sessions' => int, 'user' => User]; -``` - - -Or, if you're into Lua: - -```lua -auth_authorization={_='auth.authorization', tmp_sessions=int, user=User} - -``` - - diff --git a/old_docs/API_docs_v75/constructors/auth_checkedPhone.md b/old_docs/API_docs_v75/constructors/auth_checkedPhone.md deleted file mode 100644 index c77becf6..00000000 --- a/old_docs/API_docs_v75/constructors/auth_checkedPhone.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.checkedPhone -description: Checked phone -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.checkedPhone -[Back to constructors index](index.md) - - - -Checked phone - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_registered|[Bool](../types/Bool.md) | Yes|Phone registered?| - - - -### Type: [auth\_CheckedPhone](../types/auth_CheckedPhone.md) - - -### Example: - -```php -$auth_checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool]; -``` - - -Or, if you're into Lua: - -```lua -auth_checkedPhone={_='auth.checkedPhone', phone_registered=Bool} - -``` - - diff --git a/old_docs/API_docs_v75/constructors/auth_codeTypeCall.md b/old_docs/API_docs_v75/constructors/auth_codeTypeCall.md deleted file mode 100644 index 3e957c2a..00000000 --- a/old_docs/API_docs_v75/constructors/auth_codeTypeCall.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: auth.codeTypeCall -description: Type of verification code that will be sent next if you call the resendCode method: SMS code -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.codeTypeCall -[Back to constructors index](index.md) - - - -Type of verification code that will be sent next if you call the resendCode method: SMS code - - - - -### Type: [auth\_CodeType](../types/auth_CodeType.md) - - -### Example: - -```php -$auth_codeTypeCall = ['_' => 'auth.codeTypeCall']; -``` - - -Or, if you're into Lua: - -```lua -auth_codeTypeCall={_='auth.codeTypeCall'} - -``` - - diff --git a/old_docs/API_docs_v75/constructors/auth_codeTypeFlashCall.md b/old_docs/API_docs_v75/constructors/auth_codeTypeFlashCall.md deleted file mode 100644 index 981b2461..00000000 --- a/old_docs/API_docs_v75/constructors/auth_codeTypeFlashCall.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: auth.codeTypeFlashCall -description: Type of verification code that will be sent next if you call the resendCode method: SMS code -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.codeTypeFlashCall -[Back to constructors index](index.md) - - - -Type of verification code that will be sent next if you call the resendCode method: SMS code - - - - -### Type: [auth\_CodeType](../types/auth_CodeType.md) - - -### Example: - -```php -$auth_codeTypeFlashCall = ['_' => 'auth.codeTypeFlashCall']; -``` - - -Or, if you're into Lua: - -```lua -auth_codeTypeFlashCall={_='auth.codeTypeFlashCall'} - -``` - - diff --git a/old_docs/API_docs_v75/constructors/auth_codeTypeSms.md b/old_docs/API_docs_v75/constructors/auth_codeTypeSms.md deleted file mode 100644 index 16eb5d0d..00000000 --- a/old_docs/API_docs_v75/constructors/auth_codeTypeSms.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: auth.codeTypeSms -description: Type of verification code that will be sent next if you call the resendCode method: SMS code -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.codeTypeSms -[Back to constructors index](index.md) - - - -Type of verification code that will be sent next if you call the resendCode method: SMS code - - - - -### Type: [auth\_CodeType](../types/auth_CodeType.md) - - -### Example: - -```php -$auth_codeTypeSms = ['_' => 'auth.codeTypeSms']; -``` - - -Or, if you're into Lua: - -```lua -auth_codeTypeSms={_='auth.codeTypeSms'} - -``` - - diff --git a/old_docs/API_docs_v75/constructors/auth_exportedAuthorization.md b/old_docs/API_docs_v75/constructors/auth_exportedAuthorization.md deleted file mode 100644 index 8d18916e..00000000 --- a/old_docs/API_docs_v75/constructors/auth_exportedAuthorization.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: auth.exportedAuthorization -description: Data for copying of authorization between data centres. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.exportedAuthorization -[Back to constructors index](index.md) - - - -Data for copying of authorization between data centres. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|id|[int](../types/int.md) | Yes|Current user identifier| -|bytes|[bytes](../types/bytes.md) | Yes|Authorizes key| - - - -### Type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) - - -### Example: - -```php -$auth_exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -auth_exportedAuthorization={_='auth.exportedAuthorization', id=int, bytes='bytes'} - -``` - - diff --git a/old_docs/API_docs_v75/constructors/auth_passwordRecovery.md b/old_docs/API_docs_v75/constructors/auth_passwordRecovery.md deleted file mode 100644 index c40f375e..00000000 --- a/old_docs/API_docs_v75/constructors/auth_passwordRecovery.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.passwordRecovery -description: Recovery info of a [2FA password](https://core.telegram.org/api/srp), only for accounts with a [recovery email configured](https://core.telegram.org/api/srp#email-verification). -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.passwordRecovery -[Back to constructors index](index.md) - - - -Recovery info of a [2FA password](https://core.telegram.org/api/srp), only for accounts with a [recovery email configured](https://core.telegram.org/api/srp#email-verification). - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|email\_pattern|[string](../types/string.md) | Yes|The email to which the recovery code was sent must match this [pattern](https://core.telegram.org/api/pattern).| - - - -### Type: [auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) - - -### Example: - -```php -$auth_passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -auth_passwordRecovery={_='auth.passwordRecovery', email_pattern='string'} - -``` - - diff --git a/old_docs/API_docs_v75/constructors/auth_sentCode.md b/old_docs/API_docs_v75/constructors/auth_sentCode.md deleted file mode 100644 index 622c4137..00000000 --- a/old_docs/API_docs_v75/constructors/auth_sentCode.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: auth.sentCode -description: Contains info about a sent verification code. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentCode -[Back to constructors index](index.md) - - - -Contains info about a sent verification code. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_registered|[Bool](../types/Bool.md) | Optional|Phone registered?| -|type|[auth\_SentCodeType](../types/auth_SentCodeType.md) | Yes|Phone code type| -|phone\_code\_hash|[string](../types/string.md) | Yes|Phone code hash, to be stored and later re-used with [auth.signIn](../methods/auth.signIn.md)| -|next\_type|[auth\_CodeType](../types/auth_CodeType.md) | Optional|Phone code type that will be sent next, if the phone code is not received within `timeout` seconds: to send it use [auth.resendCode](../methods/auth.resendCode.md)| -|timeout|[int](../types/int.md) | Optional|Timeout for reception of the phone code| - - - -### Type: [auth\_SentCode](../types/auth_SentCode.md) - - -### Example: - -```php -$auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'type' => auth_SentCodeType, 'phone_code_hash' => 'string', 'next_type' => auth_CodeType, 'timeout' => int]; -``` - - -Or, if you're into Lua: - -```lua -auth_sentCode={_='auth.sentCode', phone_registered=Bool, type=auth_SentCodeType, phone_code_hash='string', next_type=auth_CodeType, timeout=int} - -``` - - diff --git a/old_docs/API_docs_v75/constructors/auth_sentCodeTypeApp.md b/old_docs/API_docs_v75/constructors/auth_sentCodeTypeApp.md deleted file mode 100644 index 6b7ad824..00000000 --- a/old_docs/API_docs_v75/constructors/auth_sentCodeTypeApp.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.sentCodeTypeApp -description: The code was sent through the telegram app -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentCodeTypeApp -[Back to constructors index](index.md) - - - -The code was sent through the telegram app - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|length|[int](../types/int.md) | Yes|Length of the code in bytes| - - - -### Type: [auth\_SentCodeType](../types/auth_SentCodeType.md) - - -### Example: - -```php -$auth_sentCodeTypeApp = ['_' => 'auth.sentCodeTypeApp', 'length' => int]; -``` - - -Or, if you're into Lua: - -```lua -auth_sentCodeTypeApp={_='auth.sentCodeTypeApp', length=int} - -``` - - diff --git a/old_docs/API_docs_v75/constructors/auth_sentCodeTypeCall.md b/old_docs/API_docs_v75/constructors/auth_sentCodeTypeCall.md deleted file mode 100644 index bf025aa5..00000000 --- a/old_docs/API_docs_v75/constructors/auth_sentCodeTypeCall.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.sentCodeTypeCall -description: The code will be sent via a phone call: a synthesized voice will tell the user which verification code to input. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentCodeTypeCall -[Back to constructors index](index.md) - - - -The code will be sent via a phone call: a synthesized voice will tell the user which verification code to input. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|length|[int](../types/int.md) | Yes|Length of the verification code| - - - -### Type: [auth\_SentCodeType](../types/auth_SentCodeType.md) - - -### Example: - -```php -$auth_sentCodeTypeCall = ['_' => 'auth.sentCodeTypeCall', 'length' => int]; -``` - - -Or, if you're into Lua: - -```lua -auth_sentCodeTypeCall={_='auth.sentCodeTypeCall', length=int} - -``` - - diff --git a/old_docs/API_docs_v75/constructors/auth_sentCodeTypeFlashCall.md b/old_docs/API_docs_v75/constructors/auth_sentCodeTypeFlashCall.md deleted file mode 100644 index efe64ce7..00000000 --- a/old_docs/API_docs_v75/constructors/auth_sentCodeTypeFlashCall.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.sentCodeTypeFlashCall -description: The code will be sent via a flash phone call, that will be closed immediately. The phone code will then be the phone number itself, just make sure that the phone number matches the specified pattern. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentCodeTypeFlashCall -[Back to constructors index](index.md) - - - -The code will be sent via a flash phone call, that will be closed immediately. The phone code will then be the phone number itself, just make sure that the phone number matches the specified pattern. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pattern|[string](../types/string.md) | Yes|[pattern](https://core.telegram.org/api/pattern) to match| - - - -### Type: [auth\_SentCodeType](../types/auth_SentCodeType.md) - - -### Example: - -```php -$auth_sentCodeTypeFlashCall = ['_' => 'auth.sentCodeTypeFlashCall', 'pattern' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -auth_sentCodeTypeFlashCall={_='auth.sentCodeTypeFlashCall', pattern='string'} - -``` - - diff --git a/old_docs/API_docs_v75/constructors/auth_sentCodeTypeSms.md b/old_docs/API_docs_v75/constructors/auth_sentCodeTypeSms.md deleted file mode 100644 index 8e27dac9..00000000 --- a/old_docs/API_docs_v75/constructors/auth_sentCodeTypeSms.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.sentCodeTypeSms -description: The code was sent via SMS -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentCodeTypeSms -[Back to constructors index](index.md) - - - -The code was sent via SMS - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|length|[int](../types/int.md) | Yes|Length of the code in bytes| - - - -### Type: [auth\_SentCodeType](../types/auth_SentCodeType.md) - - -### Example: - -```php -$auth_sentCodeTypeSms = ['_' => 'auth.sentCodeTypeSms', 'length' => int]; -``` - - -Or, if you're into Lua: - -```lua -auth_sentCodeTypeSms={_='auth.sentCodeTypeSms', length=int} - -``` - - diff --git a/old_docs/API_docs_v75/constructors/channels.adminLogResults.md b/old_docs/API_docs_v75/constructors/channels.adminLogResults.md new file mode 100644 index 00000000..fc4e234a --- /dev/null +++ b/old_docs/API_docs_v75/constructors/channels.adminLogResults.md @@ -0,0 +1,40 @@ +--- +title: channels.adminLogResults +description: Admin log events +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: channels.adminLogResults +[Back to constructors index](index.md) + + + +Admin log events + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|events|Array of [ChannelAdminLogEvent](../types/ChannelAdminLogEvent.md) | Yes|Events| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [channels.AdminLogResults](../types/channels.AdminLogResults.md) + + +### Example: + +```php +$channels.adminLogResults = ['_' => 'channels.adminLogResults', 'events' => [ChannelAdminLogEvent, ChannelAdminLogEvent], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +channels.adminLogResults={_='channels.adminLogResults', events={ChannelAdminLogEvent}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v75/constructors/channels.channelParticipant.md b/old_docs/API_docs_v75/constructors/channels.channelParticipant.md new file mode 100644 index 00000000..0f09777f --- /dev/null +++ b/old_docs/API_docs_v75/constructors/channels.channelParticipant.md @@ -0,0 +1,39 @@ +--- +title: channels.channelParticipant +description: Represents a channel participant +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: channels.channelParticipant +[Back to constructors index](index.md) + + + +Represents a channel participant + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|participant|[ChannelParticipant](../types/ChannelParticipant.md) | Yes|The channel participant| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [channels.ChannelParticipant](../types/channels.ChannelParticipant.md) + + +### Example: + +```php +$channels.channelParticipant = ['_' => 'channels.channelParticipant', 'participant' => ChannelParticipant, 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +channels.channelParticipant={_='channels.channelParticipant', participant=ChannelParticipant, users={User}} + +``` + + diff --git a/old_docs/API_docs_v75/constructors/channels.channelParticipants.md b/old_docs/API_docs_v75/constructors/channels.channelParticipants.md new file mode 100644 index 00000000..6ee1a8b3 --- /dev/null +++ b/old_docs/API_docs_v75/constructors/channels.channelParticipants.md @@ -0,0 +1,40 @@ +--- +title: channels.channelParticipants +description: Represents multiple channel participants +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: channels.channelParticipants +[Back to constructors index](index.md) + + + +Represents multiple channel participants + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of participants that correspond to the given query| +|participants|Array of [ChannelParticipant](../types/ChannelParticipant.md) | Yes|Participants| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [channels.ChannelParticipants](../types/channels.ChannelParticipants.md) + + +### Example: + +```php +$channels.channelParticipants = ['_' => 'channels.channelParticipants', 'count' => int, 'participants' => [ChannelParticipant, ChannelParticipant], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +channels.channelParticipants={_='channels.channelParticipants', count=int, participants={ChannelParticipant}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v75/constructors/channels.channelParticipantsNotModified.md b/old_docs/API_docs_v75/constructors/channels.channelParticipantsNotModified.md new file mode 100644 index 00000000..37ece73a --- /dev/null +++ b/old_docs/API_docs_v75/constructors/channels.channelParticipantsNotModified.md @@ -0,0 +1,33 @@ +--- +title: channels.channelParticipantsNotModified +description: No new participant info could be found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: channels.channelParticipantsNotModified +[Back to constructors index](index.md) + + + +No new participant info could be found + + + + +### Type: [channels.ChannelParticipants](../types/channels.ChannelParticipants.md) + + +### Example: + +```php +$channels.channelParticipantsNotModified = ['_' => 'channels.channelParticipantsNotModified']; +``` + + +Or, if you're into Lua: + +```lua +channels.channelParticipantsNotModified={_='channels.channelParticipantsNotModified'} + +``` + + diff --git a/old_docs/API_docs_v75/constructors/channels_adminLogResults.md b/old_docs/API_docs_v75/constructors/channels_adminLogResults.md deleted file mode 100644 index 9061212a..00000000 --- a/old_docs/API_docs_v75/constructors/channels_adminLogResults.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: channels.adminLogResults -description: Admin log events -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: channels.adminLogResults -[Back to constructors index](index.md) - - - -Admin log events - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|events|Array of [ChannelAdminLogEvent](../types/ChannelAdminLogEvent.md) | Yes|Events| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [channels\_AdminLogResults](../types/channels_AdminLogResults.md) - - -### Example: - -```php -$channels_adminLogResults = ['_' => 'channels.adminLogResults', 'events' => [ChannelAdminLogEvent, ChannelAdminLogEvent], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -channels_adminLogResults={_='channels.adminLogResults', events={ChannelAdminLogEvent}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v75/constructors/channels_channelParticipant.md b/old_docs/API_docs_v75/constructors/channels_channelParticipant.md deleted file mode 100644 index 15fe46a4..00000000 --- a/old_docs/API_docs_v75/constructors/channels_channelParticipant.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: channels.channelParticipant -description: Represents a channel participant -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: channels.channelParticipant -[Back to constructors index](index.md) - - - -Represents a channel participant - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|participant|[ChannelParticipant](../types/ChannelParticipant.md) | Yes|The channel participant| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [channels\_ChannelParticipant](../types/channels_ChannelParticipant.md) - - -### Example: - -```php -$channels_channelParticipant = ['_' => 'channels.channelParticipant', 'participant' => ChannelParticipant, 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -channels_channelParticipant={_='channels.channelParticipant', participant=ChannelParticipant, users={User}} - -``` - - diff --git a/old_docs/API_docs_v75/constructors/channels_channelParticipants.md b/old_docs/API_docs_v75/constructors/channels_channelParticipants.md deleted file mode 100644 index 1848a04f..00000000 --- a/old_docs/API_docs_v75/constructors/channels_channelParticipants.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: channels.channelParticipants -description: Represents multiple channel participants -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: channels.channelParticipants -[Back to constructors index](index.md) - - - -Represents multiple channel participants - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of participants that correspond to the given query| -|participants|Array of [ChannelParticipant](../types/ChannelParticipant.md) | Yes|Participants| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [channels\_ChannelParticipants](../types/channels_ChannelParticipants.md) - - -### Example: - -```php -$channels_channelParticipants = ['_' => 'channels.channelParticipants', 'count' => int, 'participants' => [ChannelParticipant, ChannelParticipant], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -channels_channelParticipants={_='channels.channelParticipants', count=int, participants={ChannelParticipant}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v75/constructors/channels_channelParticipantsNotModified.md b/old_docs/API_docs_v75/constructors/channels_channelParticipantsNotModified.md deleted file mode 100644 index 800048f7..00000000 --- a/old_docs/API_docs_v75/constructors/channels_channelParticipantsNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: channels.channelParticipantsNotModified -description: No new participant info could be found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: channels.channelParticipantsNotModified -[Back to constructors index](index.md) - - - -No new participant info could be found - - - - -### Type: [channels\_ChannelParticipants](../types/channels_ChannelParticipants.md) - - -### Example: - -```php -$channels_channelParticipantsNotModified = ['_' => 'channels.channelParticipantsNotModified']; -``` - - -Or, if you're into Lua: - -```lua -channels_channelParticipantsNotModified={_='channels.channelParticipantsNotModified'} - -``` - - diff --git a/old_docs/API_docs_v75/constructors/contacts.blocked.md b/old_docs/API_docs_v75/constructors/contacts.blocked.md new file mode 100644 index 00000000..d2b3f680 --- /dev/null +++ b/old_docs/API_docs_v75/constructors/contacts.blocked.md @@ -0,0 +1,39 @@ +--- +title: contacts.blocked +description: Full list of blocked users. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.blocked +[Back to constructors index](index.md) + + + +Full list of blocked users. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Blocked](../types/contacts.Blocked.md) + + +### Example: + +```php +$contacts.blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.blocked={_='contacts.blocked', blocked={ContactBlocked}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v75/constructors/contacts.blockedSlice.md b/old_docs/API_docs_v75/constructors/contacts.blockedSlice.md new file mode 100644 index 00000000..92d19c72 --- /dev/null +++ b/old_docs/API_docs_v75/constructors/contacts.blockedSlice.md @@ -0,0 +1,40 @@ +--- +title: contacts.blockedSlice +description: Incomplete list of blocked users. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.blockedSlice +[Back to constructors index](index.md) + + + +Incomplete list of blocked users. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of elements in the list| +|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Blocked](../types/contacts.Blocked.md) + + +### Example: + +```php +$contacts.blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.blockedSlice={_='contacts.blockedSlice', count=int, blocked={ContactBlocked}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v75/constructors/contacts.contacts.md b/old_docs/API_docs_v75/constructors/contacts.contacts.md new file mode 100644 index 00000000..c3251e5d --- /dev/null +++ b/old_docs/API_docs_v75/constructors/contacts.contacts.md @@ -0,0 +1,40 @@ +--- +title: contacts.contacts +description: The current user's contact list and info on users. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.contacts +[Back to constructors index](index.md) + + + +The current user's contact list and info on users. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|contacts|Array of [Contact](../types/Contact.md) | Yes|Contacts| +|saved\_count|[int](../types/int.md) | Yes|Number of contacts that were saved successfully| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Contacts](../types/contacts.Contacts.md) + + +### Example: + +```php +$contacts.contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact, Contact], 'saved_count' => int, 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.contacts={_='contacts.contacts', contacts={Contact}, saved_count=int, users={User}} + +``` + + diff --git a/old_docs/API_docs_v75/constructors/contacts.contactsNotModified.md b/old_docs/API_docs_v75/constructors/contacts.contactsNotModified.md new file mode 100644 index 00000000..e2149396 --- /dev/null +++ b/old_docs/API_docs_v75/constructors/contacts.contactsNotModified.md @@ -0,0 +1,33 @@ +--- +title: contacts.contactsNotModified +description: Contact list on the server is the same as the list on the client. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.contactsNotModified +[Back to constructors index](index.md) + + + +Contact list on the server is the same as the list on the client. + + + + +### Type: [contacts.Contacts](../types/contacts.Contacts.md) + + +### Example: + +```php +$contacts.contactsNotModified = ['_' => 'contacts.contactsNotModified']; +``` + + +Or, if you're into Lua: + +```lua +contacts.contactsNotModified={_='contacts.contactsNotModified'} + +``` + + diff --git a/old_docs/API_docs_v75/constructors/contacts.found.md b/old_docs/API_docs_v75/constructors/contacts.found.md new file mode 100644 index 00000000..65df2f8d --- /dev/null +++ b/old_docs/API_docs_v75/constructors/contacts.found.md @@ -0,0 +1,41 @@ +--- +title: contacts.found +description: Users found by name substring and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.found +[Back to constructors index](index.md) + + + +Users found by name substring and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|my\_results|Array of [Peer](../types/Peer.md) | Yes|My results| +|results|Array of [Peer](../types/Peer.md) | Yes|Results| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Found](../types/contacts.Found.md) + + +### Example: + +```php +$contacts.found = ['_' => 'contacts.found', 'my_results' => [Peer, Peer], 'results' => [Peer, Peer], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.found={_='contacts.found', my_results={Peer}, results={Peer}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v75/constructors/contacts.importedContacts.md b/old_docs/API_docs_v75/constructors/contacts.importedContacts.md new file mode 100644 index 00000000..20075931 --- /dev/null +++ b/old_docs/API_docs_v75/constructors/contacts.importedContacts.md @@ -0,0 +1,41 @@ +--- +title: contacts.importedContacts +description: Info on succesfully imported contacts. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.importedContacts +[Back to constructors index](index.md) + + + +Info on succesfully imported contacts. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|imported|Array of [ImportedContact](../types/ImportedContact.md) | Yes|Imported| +|popular\_invites|Array of [PopularContact](../types/PopularContact.md) | Yes|Popular invites| +|retry\_contacts|Array of [long](../types/long.md) | Yes|Retry importing contacts whose client IDs appear here| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.ImportedContacts](../types/contacts.ImportedContacts.md) + + +### Example: + +```php +$contacts.importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact, ImportedContact], 'popular_invites' => [PopularContact, PopularContact], 'retry_contacts' => [long, long], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.importedContacts={_='contacts.importedContacts', imported={ImportedContact}, popular_invites={PopularContact}, retry_contacts={long}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v75/constructors/contacts.link.md b/old_docs/API_docs_v75/constructors/contacts.link.md new file mode 100644 index 00000000..ab150a0d --- /dev/null +++ b/old_docs/API_docs_v75/constructors/contacts.link.md @@ -0,0 +1,40 @@ +--- +title: contacts.link +description: Link +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.link +[Back to constructors index](index.md) + + + +Link + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|my\_link|[ContactLink](../types/ContactLink.md) | Yes|My link| +|foreign\_link|[ContactLink](../types/ContactLink.md) | Yes|Foreign link| +|user|[User](../types/User.md) | Optional|User| + + + +### Type: [contacts.Link](../types/contacts.Link.md) + + +### Example: + +```php +$contacts.link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User]; +``` + + +Or, if you're into Lua: + +```lua +contacts.link={_='contacts.link', my_link=ContactLink, foreign_link=ContactLink, user=User} + +``` + + diff --git a/old_docs/API_docs_v75/constructors/contacts.resolvedPeer.md b/old_docs/API_docs_v75/constructors/contacts.resolvedPeer.md new file mode 100644 index 00000000..35d88481 --- /dev/null +++ b/old_docs/API_docs_v75/constructors/contacts.resolvedPeer.md @@ -0,0 +1,40 @@ +--- +title: contacts.resolvedPeer +description: Resolved peer +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.resolvedPeer +[Back to constructors index](index.md) + + + +Resolved peer + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|peer|[Peer](../types/Peer.md) | Yes|The peer| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.ResolvedPeer](../types/contacts.ResolvedPeer.md) + + +### Example: + +```php +$contacts.resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.resolvedPeer={_='contacts.resolvedPeer', peer=Peer, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v75/constructors/contacts.topPeers.md b/old_docs/API_docs_v75/constructors/contacts.topPeers.md new file mode 100644 index 00000000..19d9c712 --- /dev/null +++ b/old_docs/API_docs_v75/constructors/contacts.topPeers.md @@ -0,0 +1,40 @@ +--- +title: contacts.topPeers +description: Top peers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.topPeers +[Back to constructors index](index.md) + + + +Top peers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|categories|Array of [TopPeerCategoryPeers](../types/TopPeerCategoryPeers.md) | Yes|Categories| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.TopPeers](../types/contacts.TopPeers.md) + + +### Example: + +```php +$contacts.topPeers = ['_' => 'contacts.topPeers', 'categories' => [TopPeerCategoryPeers, TopPeerCategoryPeers], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.topPeers={_='contacts.topPeers', categories={TopPeerCategoryPeers}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v75/constructors/contacts.topPeersNotModified.md b/old_docs/API_docs_v75/constructors/contacts.topPeersNotModified.md new file mode 100644 index 00000000..77c5eb4d --- /dev/null +++ b/old_docs/API_docs_v75/constructors/contacts.topPeersNotModified.md @@ -0,0 +1,33 @@ +--- +title: contacts.topPeersNotModified +description: Top peer info hasn't changed +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.topPeersNotModified +[Back to constructors index](index.md) + + + +Top peer info hasn't changed + + + + +### Type: [contacts.TopPeers](../types/contacts.TopPeers.md) + + +### Example: + +```php +$contacts.topPeersNotModified = ['_' => 'contacts.topPeersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +contacts.topPeersNotModified={_='contacts.topPeersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v75/constructors/contacts_blocked.md b/old_docs/API_docs_v75/constructors/contacts_blocked.md deleted file mode 100644 index 20e33002..00000000 --- a/old_docs/API_docs_v75/constructors/contacts_blocked.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: contacts.blocked -description: Full list of blocked users. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.blocked -[Back to constructors index](index.md) - - - -Full list of blocked users. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Blocked](../types/contacts_Blocked.md) - - -### Example: - -```php -$contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_blocked={_='contacts.blocked', blocked={ContactBlocked}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v75/constructors/contacts_blockedSlice.md b/old_docs/API_docs_v75/constructors/contacts_blockedSlice.md deleted file mode 100644 index fcab9a28..00000000 --- a/old_docs/API_docs_v75/constructors/contacts_blockedSlice.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.blockedSlice -description: Incomplete list of blocked users. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.blockedSlice -[Back to constructors index](index.md) - - - -Incomplete list of blocked users. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of elements in the list| -|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Blocked](../types/contacts_Blocked.md) - - -### Example: - -```php -$contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_blockedSlice={_='contacts.blockedSlice', count=int, blocked={ContactBlocked}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v75/constructors/contacts_contacts.md b/old_docs/API_docs_v75/constructors/contacts_contacts.md deleted file mode 100644 index 0e6f0dd3..00000000 --- a/old_docs/API_docs_v75/constructors/contacts_contacts.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.contacts -description: The current user's contact list and info on users. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.contacts -[Back to constructors index](index.md) - - - -The current user's contact list and info on users. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|contacts|Array of [Contact](../types/Contact.md) | Yes|Contacts| -|saved\_count|[int](../types/int.md) | Yes|Number of contacts that were saved successfully| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Contacts](../types/contacts_Contacts.md) - - -### Example: - -```php -$contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact, Contact], 'saved_count' => int, 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_contacts={_='contacts.contacts', contacts={Contact}, saved_count=int, users={User}} - -``` - - diff --git a/old_docs/API_docs_v75/constructors/contacts_contactsNotModified.md b/old_docs/API_docs_v75/constructors/contacts_contactsNotModified.md deleted file mode 100644 index 17e76ac3..00000000 --- a/old_docs/API_docs_v75/constructors/contacts_contactsNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: contacts.contactsNotModified -description: Contact list on the server is the same as the list on the client. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.contactsNotModified -[Back to constructors index](index.md) - - - -Contact list on the server is the same as the list on the client. - - - - -### Type: [contacts\_Contacts](../types/contacts_Contacts.md) - - -### Example: - -```php -$contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified']; -``` - - -Or, if you're into Lua: - -```lua -contacts_contactsNotModified={_='contacts.contactsNotModified'} - -``` - - diff --git a/old_docs/API_docs_v75/constructors/contacts_found.md b/old_docs/API_docs_v75/constructors/contacts_found.md deleted file mode 100644 index 76b9aa0c..00000000 --- a/old_docs/API_docs_v75/constructors/contacts_found.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: contacts.found -description: Users found by name substring and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.found -[Back to constructors index](index.md) - - - -Users found by name substring and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|my\_results|Array of [Peer](../types/Peer.md) | Yes|My results| -|results|Array of [Peer](../types/Peer.md) | Yes|Results| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Found](../types/contacts_Found.md) - - -### Example: - -```php -$contacts_found = ['_' => 'contacts.found', 'my_results' => [Peer, Peer], 'results' => [Peer, Peer], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_found={_='contacts.found', my_results={Peer}, results={Peer}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v75/constructors/contacts_importedContacts.md b/old_docs/API_docs_v75/constructors/contacts_importedContacts.md deleted file mode 100644 index e534754b..00000000 --- a/old_docs/API_docs_v75/constructors/contacts_importedContacts.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: contacts.importedContacts -description: Info on succesfully imported contacts. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.importedContacts -[Back to constructors index](index.md) - - - -Info on succesfully imported contacts. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|imported|Array of [ImportedContact](../types/ImportedContact.md) | Yes|Imported| -|popular\_invites|Array of [PopularContact](../types/PopularContact.md) | Yes|Popular invites| -|retry\_contacts|Array of [long](../types/long.md) | Yes|Retry importing contacts whose client IDs appear here| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) - - -### Example: - -```php -$contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact, ImportedContact], 'popular_invites' => [PopularContact, PopularContact], 'retry_contacts' => [long, long], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_importedContacts={_='contacts.importedContacts', imported={ImportedContact}, popular_invites={PopularContact}, retry_contacts={long}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v75/constructors/contacts_link.md b/old_docs/API_docs_v75/constructors/contacts_link.md deleted file mode 100644 index cfc566c7..00000000 --- a/old_docs/API_docs_v75/constructors/contacts_link.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.link -description: Link -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.link -[Back to constructors index](index.md) - - - -Link - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|my\_link|[ContactLink](../types/ContactLink.md) | Yes|My link| -|foreign\_link|[ContactLink](../types/ContactLink.md) | Yes|Foreign link| -|user|[User](../types/User.md) | Optional|User| - - - -### Type: [contacts\_Link](../types/contacts_Link.md) - - -### Example: - -```php -$contacts_link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User]; -``` - - -Or, if you're into Lua: - -```lua -contacts_link={_='contacts.link', my_link=ContactLink, foreign_link=ContactLink, user=User} - -``` - - diff --git a/old_docs/API_docs_v75/constructors/contacts_resolvedPeer.md b/old_docs/API_docs_v75/constructors/contacts_resolvedPeer.md deleted file mode 100644 index aae3c7af..00000000 --- a/old_docs/API_docs_v75/constructors/contacts_resolvedPeer.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.resolvedPeer -description: Resolved peer -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.resolvedPeer -[Back to constructors index](index.md) - - - -Resolved peer - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|peer|[Peer](../types/Peer.md) | Yes|The peer| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_ResolvedPeer](../types/contacts_ResolvedPeer.md) - - -### Example: - -```php -$contacts_resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_resolvedPeer={_='contacts.resolvedPeer', peer=Peer, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v75/constructors/contacts_topPeers.md b/old_docs/API_docs_v75/constructors/contacts_topPeers.md deleted file mode 100644 index 77bc07d3..00000000 --- a/old_docs/API_docs_v75/constructors/contacts_topPeers.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.topPeers -description: Top peers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.topPeers -[Back to constructors index](index.md) - - - -Top peers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|categories|Array of [TopPeerCategoryPeers](../types/TopPeerCategoryPeers.md) | Yes|Categories| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_TopPeers](../types/contacts_TopPeers.md) - - -### Example: - -```php -$contacts_topPeers = ['_' => 'contacts.topPeers', 'categories' => [TopPeerCategoryPeers, TopPeerCategoryPeers], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_topPeers={_='contacts.topPeers', categories={TopPeerCategoryPeers}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v75/constructors/contacts_topPeersNotModified.md b/old_docs/API_docs_v75/constructors/contacts_topPeersNotModified.md deleted file mode 100644 index 43eae59d..00000000 --- a/old_docs/API_docs_v75/constructors/contacts_topPeersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: contacts.topPeersNotModified -description: Top peer info hasn't changed -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.topPeersNotModified -[Back to constructors index](index.md) - - - -Top peer info hasn't changed - - - - -### Type: [contacts\_TopPeers](../types/contacts_TopPeers.md) - - -### Example: - -```php -$contacts_topPeersNotModified = ['_' => 'contacts.topPeersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -contacts_topPeersNotModified={_='contacts.topPeersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v75/constructors/help.appUpdate.md b/old_docs/API_docs_v75/constructors/help.appUpdate.md new file mode 100644 index 00000000..14b2d75b --- /dev/null +++ b/old_docs/API_docs_v75/constructors/help.appUpdate.md @@ -0,0 +1,41 @@ +--- +title: help.appUpdate +description: An update is available for the application. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.appUpdate +[Back to constructors index](index.md) + + + +An update is available for the application. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|id|[int](../types/int.md) | Yes|Update ID| +|critical|[Bool](../types/Bool.md) | Yes|Critical?| +|url|[string](../types/string.md) | Yes|Application download URL| +|text|[string](../types/string.md) | Yes|Text description of the update| + + + +### Type: [help.AppUpdate](../types/help.AppUpdate.md) + + +### Example: + +```php +$help.appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'url' => 'string', 'text' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +help.appUpdate={_='help.appUpdate', id=int, critical=Bool, url='string', text='string'} + +``` + + diff --git a/old_docs/API_docs_v75/constructors/help.inviteText.md b/old_docs/API_docs_v75/constructors/help.inviteText.md new file mode 100644 index 00000000..6a6261c1 --- /dev/null +++ b/old_docs/API_docs_v75/constructors/help.inviteText.md @@ -0,0 +1,38 @@ +--- +title: help.inviteText +description: Text of a text message with an invitation to install application. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.inviteText +[Back to constructors index](index.md) + + + +Text of a text message with an invitation to install application. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|message|[string](../types/string.md) | Yes|Text of a message| + + + +### Type: [help.InviteText](../types/help.InviteText.md) + + +### Example: + +```php +$help.inviteText = ['_' => 'help.inviteText', 'message' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +help.inviteText={_='help.inviteText', message='string'} + +``` + + diff --git a/old_docs/API_docs_v75/constructors/help.noAppUpdate.md b/old_docs/API_docs_v75/constructors/help.noAppUpdate.md new file mode 100644 index 00000000..1b69ac9a --- /dev/null +++ b/old_docs/API_docs_v75/constructors/help.noAppUpdate.md @@ -0,0 +1,33 @@ +--- +title: help.noAppUpdate +description: No updates are available for the application. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.noAppUpdate +[Back to constructors index](index.md) + + + +No updates are available for the application. + + + + +### Type: [help.AppUpdate](../types/help.AppUpdate.md) + + +### Example: + +```php +$help.noAppUpdate = ['_' => 'help.noAppUpdate']; +``` + + +Or, if you're into Lua: + +```lua +help.noAppUpdate={_='help.noAppUpdate'} + +``` + + diff --git a/old_docs/API_docs_v75/constructors/help.recentMeUrls.md b/old_docs/API_docs_v75/constructors/help.recentMeUrls.md new file mode 100644 index 00000000..711407b7 --- /dev/null +++ b/old_docs/API_docs_v75/constructors/help.recentMeUrls.md @@ -0,0 +1,40 @@ +--- +title: help.recentMeUrls +description: Recent t.me URLs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.recentMeUrls +[Back to constructors index](index.md) + + + +Recent t.me URLs + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|urls|Array of [RecentMeUrl](../types/RecentMeUrl.md) | Yes|URLs| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [help.RecentMeUrls](../types/help.RecentMeUrls.md) + + +### Example: + +```php +$help.recentMeUrls = ['_' => 'help.recentMeUrls', 'urls' => [RecentMeUrl, RecentMeUrl], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +help.recentMeUrls={_='help.recentMeUrls', urls={RecentMeUrl}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v75/constructors/help.support.md b/old_docs/API_docs_v75/constructors/help.support.md new file mode 100644 index 00000000..4d4f85fb --- /dev/null +++ b/old_docs/API_docs_v75/constructors/help.support.md @@ -0,0 +1,39 @@ +--- +title: help.support +description: Info on support user. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.support +[Back to constructors index](index.md) + + + +Info on support user. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_number|[string](../types/string.md) | Yes|Phone number| +|user|[User](../types/User.md) | Optional|User| + + + +### Type: [help.Support](../types/help.Support.md) + + +### Example: + +```php +$help.support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => User]; +``` + + +Or, if you're into Lua: + +```lua +help.support={_='help.support', phone_number='string', user=User} + +``` + + diff --git a/old_docs/API_docs_v75/constructors/help.termsOfService.md b/old_docs/API_docs_v75/constructors/help.termsOfService.md new file mode 100644 index 00000000..cab1f128 --- /dev/null +++ b/old_docs/API_docs_v75/constructors/help.termsOfService.md @@ -0,0 +1,38 @@ +--- +title: help.termsOfService +description: Info about the latest telegram Terms Of Service +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.termsOfService +[Back to constructors index](index.md) + + + +Info about the latest telegram Terms Of Service + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|text|[string](../types/string.md) | Yes|Text of the new terms| + + + +### Type: [help.TermsOfService](../types/help.TermsOfService.md) + + +### Example: + +```php +$help.termsOfService = ['_' => 'help.termsOfService', 'text' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +help.termsOfService={_='help.termsOfService', text='string'} + +``` + + diff --git a/old_docs/API_docs_v75/constructors/help_appUpdate.md b/old_docs/API_docs_v75/constructors/help_appUpdate.md deleted file mode 100644 index efba9bdb..00000000 --- a/old_docs/API_docs_v75/constructors/help_appUpdate.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: help.appUpdate -description: An update is available for the application. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.appUpdate -[Back to constructors index](index.md) - - - -An update is available for the application. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|id|[int](../types/int.md) | Yes|Update ID| -|critical|[Bool](../types/Bool.md) | Yes|Critical?| -|url|[string](../types/string.md) | Yes|Application download URL| -|text|[string](../types/string.md) | Yes|Text description of the update| - - - -### Type: [help\_AppUpdate](../types/help_AppUpdate.md) - - -### Example: - -```php -$help_appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'url' => 'string', 'text' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -help_appUpdate={_='help.appUpdate', id=int, critical=Bool, url='string', text='string'} - -``` - - diff --git a/old_docs/API_docs_v75/constructors/help_inviteText.md b/old_docs/API_docs_v75/constructors/help_inviteText.md deleted file mode 100644 index b8317ce3..00000000 --- a/old_docs/API_docs_v75/constructors/help_inviteText.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: help.inviteText -description: Text of a text message with an invitation to install application. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.inviteText -[Back to constructors index](index.md) - - - -Text of a text message with an invitation to install application. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|message|[string](../types/string.md) | Yes|Text of a message| - - - -### Type: [help\_InviteText](../types/help_InviteText.md) - - -### Example: - -```php -$help_inviteText = ['_' => 'help.inviteText', 'message' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -help_inviteText={_='help.inviteText', message='string'} - -``` - - diff --git a/old_docs/API_docs_v75/constructors/help_noAppUpdate.md b/old_docs/API_docs_v75/constructors/help_noAppUpdate.md deleted file mode 100644 index 51505e52..00000000 --- a/old_docs/API_docs_v75/constructors/help_noAppUpdate.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: help.noAppUpdate -description: No updates are available for the application. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.noAppUpdate -[Back to constructors index](index.md) - - - -No updates are available for the application. - - - - -### Type: [help\_AppUpdate](../types/help_AppUpdate.md) - - -### Example: - -```php -$help_noAppUpdate = ['_' => 'help.noAppUpdate']; -``` - - -Or, if you're into Lua: - -```lua -help_noAppUpdate={_='help.noAppUpdate'} - -``` - - diff --git a/old_docs/API_docs_v75/constructors/help_recentMeUrls.md b/old_docs/API_docs_v75/constructors/help_recentMeUrls.md deleted file mode 100644 index 7bf592ef..00000000 --- a/old_docs/API_docs_v75/constructors/help_recentMeUrls.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: help.recentMeUrls -description: Recent t.me URLs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.recentMeUrls -[Back to constructors index](index.md) - - - -Recent t.me URLs - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|urls|Array of [RecentMeUrl](../types/RecentMeUrl.md) | Yes|URLs| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [help\_RecentMeUrls](../types/help_RecentMeUrls.md) - - -### Example: - -```php -$help_recentMeUrls = ['_' => 'help.recentMeUrls', 'urls' => [RecentMeUrl, RecentMeUrl], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -help_recentMeUrls={_='help.recentMeUrls', urls={RecentMeUrl}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v75/constructors/help_support.md b/old_docs/API_docs_v75/constructors/help_support.md deleted file mode 100644 index 148f7f42..00000000 --- a/old_docs/API_docs_v75/constructors/help_support.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: help.support -description: Info on support user. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.support -[Back to constructors index](index.md) - - - -Info on support user. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_number|[string](../types/string.md) | Yes|Phone number| -|user|[User](../types/User.md) | Optional|User| - - - -### Type: [help\_Support](../types/help_Support.md) - - -### Example: - -```php -$help_support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => User]; -``` - - -Or, if you're into Lua: - -```lua -help_support={_='help.support', phone_number='string', user=User} - -``` - - diff --git a/old_docs/API_docs_v75/constructors/help_termsOfService.md b/old_docs/API_docs_v75/constructors/help_termsOfService.md deleted file mode 100644 index 2ac763b3..00000000 --- a/old_docs/API_docs_v75/constructors/help_termsOfService.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: help.termsOfService -description: Info about the latest telegram Terms Of Service -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.termsOfService -[Back to constructors index](index.md) - - - -Info about the latest telegram Terms Of Service - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|text|[string](../types/string.md) | Yes|Text of the new terms| - - - -### Type: [help\_TermsOfService](../types/help_TermsOfService.md) - - -### Example: - -```php -$help_termsOfService = ['_' => 'help.termsOfService', 'text' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -help_termsOfService={_='help.termsOfService', text='string'} - -``` - - diff --git a/old_docs/API_docs_v75/constructors/messages.affectedHistory.md b/old_docs/API_docs_v75/constructors/messages.affectedHistory.md new file mode 100644 index 00000000..5fc8acec --- /dev/null +++ b/old_docs/API_docs_v75/constructors/messages.affectedHistory.md @@ -0,0 +1,40 @@ +--- +title: messages.affectedHistory +description: Affected part of communication history with the user or in a chat. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.affectedHistory +[Back to constructors index](index.md) + + + +Affected part of communication history with the user or in a chat. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| +|pts\_count|[int](../types/int.md) | Yes|Number of affected events| +|offset|[int](../types/int.md) | Yes|If a parameter contains positive value, it is necessary to repeat the method call using the given value; during the proceeding of all the history the value itself shall gradually decrease| + + + +### Type: [messages.AffectedHistory](../types/messages.AffectedHistory.md) + + +### Example: + +```php +$messages.affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.affectedHistory={_='messages.affectedHistory', pts=int, pts_count=int, offset=int} + +``` + + diff --git a/old_docs/API_docs_v75/constructors/messages.affectedMessages.md b/old_docs/API_docs_v75/constructors/messages.affectedMessages.md new file mode 100644 index 00000000..a0e60bdf --- /dev/null +++ b/old_docs/API_docs_v75/constructors/messages.affectedMessages.md @@ -0,0 +1,39 @@ +--- +title: messages.affectedMessages +description: Events affected by operation +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.affectedMessages +[Back to constructors index](index.md) + + + +Events affected by operation + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|[Event count after generation](https://core.telegram.org/api/updates)| +|pts\_count|[int](../types/int.md) | Yes|[Number of events that were generated](https://core.telegram.org/api/updates)| + + + +### Type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) + + +### Example: + +```php +$messages.affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.affectedMessages={_='messages.affectedMessages', pts=int, pts_count=int} + +``` + + diff --git a/old_docs/API_docs_v75/constructors/messages.allStickers.md b/old_docs/API_docs_v75/constructors/messages.allStickers.md new file mode 100644 index 00000000..5f13bfde --- /dev/null +++ b/old_docs/API_docs_v75/constructors/messages.allStickers.md @@ -0,0 +1,39 @@ +--- +title: messages.allStickers +description: Info about all installed stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.allStickers +[Back to constructors index](index.md) + + + +Info about all installed stickers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|sets|Array of [StickerSet](../types/StickerSet.md) | Yes|Sets| + + + +### Type: [messages.AllStickers](../types/messages.AllStickers.md) + + +### Example: + +```php +$messages.allStickers = ['_' => 'messages.allStickers', 'hash' => int, 'sets' => [StickerSet, StickerSet]]; +``` + + +Or, if you're into Lua: + +```lua +messages.allStickers={_='messages.allStickers', hash=int, sets={StickerSet}} + +``` + + diff --git a/old_docs/API_docs_v75/constructors/messages.allStickersNotModified.md b/old_docs/API_docs_v75/constructors/messages.allStickersNotModified.md new file mode 100644 index 00000000..d3db088b --- /dev/null +++ b/old_docs/API_docs_v75/constructors/messages.allStickersNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.allStickersNotModified +description: Info about all installed stickers hasn't changed +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.allStickersNotModified +[Back to constructors index](index.md) + + + +Info about all installed stickers hasn't changed + + + + +### Type: [messages.AllStickers](../types/messages.AllStickers.md) + + +### Example: + +```php +$messages.allStickersNotModified = ['_' => 'messages.allStickersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.allStickersNotModified={_='messages.allStickersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v75/constructors/messages.archivedStickers.md b/old_docs/API_docs_v75/constructors/messages.archivedStickers.md new file mode 100644 index 00000000..6ad9927c --- /dev/null +++ b/old_docs/API_docs_v75/constructors/messages.archivedStickers.md @@ -0,0 +1,39 @@ +--- +title: messages.archivedStickers +description: Archived stickersets +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.archivedStickers +[Back to constructors index](index.md) + + + +Archived stickersets + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Number of archived stickers| +|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| + + + +### Type: [messages.ArchivedStickers](../types/messages.ArchivedStickers.md) + + +### Example: + +```php +$messages.archivedStickers = ['_' => 'messages.archivedStickers', 'count' => int, 'sets' => [StickerSetCovered, StickerSetCovered]]; +``` + + +Or, if you're into Lua: + +```lua +messages.archivedStickers={_='messages.archivedStickers', count=int, sets={StickerSetCovered}} + +``` + + diff --git a/old_docs/API_docs_v75/constructors/messages.botCallbackAnswer.md b/old_docs/API_docs_v75/constructors/messages.botCallbackAnswer.md new file mode 100644 index 00000000..08bfeba5 --- /dev/null +++ b/old_docs/API_docs_v75/constructors/messages.botCallbackAnswer.md @@ -0,0 +1,43 @@ +--- +title: messages.botCallbackAnswer +description: Callback answer sent by the bot in response to a button press +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.botCallbackAnswer +[Back to constructors index](index.md) + + + +Callback answer sent by the bot in response to a button press + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|alert|[Bool](../types/Bool.md) | Optional|Whether an alert should be shown to the user instead of a toast notification| +|has\_url|[Bool](../types/Bool.md) | Optional|Whether an URL is present| +|native\_ui|[Bool](../types/Bool.md) | Optional|Whether to show games in WebView or in native UI.| +|message|[string](../types/string.md) | Optional|Alert to show| +|url|[string](../types/string.md) | Optional|URL to open| +|cache\_time|[int](../types/int.md) | Yes|For how long should this answer be cached| + + + +### Type: [messages.BotCallbackAnswer](../types/messages.BotCallbackAnswer.md) + + +### Example: + +```php +$messages.botCallbackAnswer = ['_' => 'messages.botCallbackAnswer', 'alert' => Bool, 'has_url' => Bool, 'native_ui' => Bool, 'message' => 'string', 'url' => 'string', 'cache_time' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.botCallbackAnswer={_='messages.botCallbackAnswer', alert=Bool, has_url=Bool, native_ui=Bool, message='string', url='string', cache_time=int} + +``` + + diff --git a/old_docs/API_docs_v75/constructors/messages.botResults.md b/old_docs/API_docs_v75/constructors/messages.botResults.md new file mode 100644 index 00000000..7b6dcfba --- /dev/null +++ b/old_docs/API_docs_v75/constructors/messages.botResults.md @@ -0,0 +1,44 @@ +--- +title: messages.botResults +description: Result of a query to an inline bot +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.botResults +[Back to constructors index](index.md) + + + +Result of a query to an inline bot + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|gallery|[Bool](../types/Bool.md) | Optional|Whether the result is a picture gallery| +|query\_id|[long](../types/long.md) | Yes|Query ID| +|next\_offset|[string](../types/string.md) | Optional|The next offset to use when navigating through results| +|switch\_pm|[InlineBotSwitchPM](../types/InlineBotSwitchPM.md) | Optional|Whether the bot requested the user to message him in private| +|results|Array of [BotInlineResult](../types/BotInlineResult.md) | Yes|Results| +|cache\_time|[int](../types/int.md) | Yes|Caching validity of the results| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.BotResults](../types/messages.BotResults.md) + + +### Example: + +```php +$messages.botResults = ['_' => 'messages.botResults', 'gallery' => Bool, 'query_id' => long, 'next_offset' => 'string', 'switch_pm' => InlineBotSwitchPM, 'results' => [BotInlineResult, BotInlineResult], 'cache_time' => int, 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.botResults={_='messages.botResults', gallery=Bool, query_id=long, next_offset='string', switch_pm=InlineBotSwitchPM, results={BotInlineResult}, cache_time=int, users={User}} + +``` + + diff --git a/old_docs/API_docs_v75/constructors/messages.channelMessages.md b/old_docs/API_docs_v75/constructors/messages.channelMessages.md new file mode 100644 index 00000000..95633336 --- /dev/null +++ b/old_docs/API_docs_v75/constructors/messages.channelMessages.md @@ -0,0 +1,42 @@ +--- +title: messages.channelMessages +description: Channel messages +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.channelMessages +[Back to constructors index](index.md) + + + +Channel messages + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|[Event count after generation](https://core.telegram.org/api/updates)| +|count|[int](../types/int.md) | Yes|Total number of results were found server-side (may not be all included here)| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Messages](../types/messages.Messages.md) + + +### Example: + +```php +$messages.channelMessages = ['_' => 'messages.channelMessages', 'pts' => int, 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.channelMessages={_='messages.channelMessages', pts=int, count=int, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v75/constructors/messages.chatFull.md b/old_docs/API_docs_v75/constructors/messages.chatFull.md new file mode 100644 index 00000000..3906cc54 --- /dev/null +++ b/old_docs/API_docs_v75/constructors/messages.chatFull.md @@ -0,0 +1,40 @@ +--- +title: messages.chatFull +description: Extended info on chat and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.chatFull +[Back to constructors index](index.md) + + + +Extended info on chat and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|full\_chat|[ChatFull](../types/ChatFull.md) | Yes|Extended info on a chat| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.ChatFull](../types/messages.ChatFull.md) + + +### Example: + +```php +$messages.chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.chatFull={_='messages.chatFull', full_chat=ChatFull, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v75/constructors/messages.chats.md b/old_docs/API_docs_v75/constructors/messages.chats.md new file mode 100644 index 00000000..9ede9ff2 --- /dev/null +++ b/old_docs/API_docs_v75/constructors/messages.chats.md @@ -0,0 +1,38 @@ +--- +title: messages.chats +description: List of chats with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.chats +[Back to constructors index](index.md) + + + +List of chats with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| + + + +### Type: [messages.Chats](../types/messages.Chats.md) + + +### Example: + +```php +$messages.chats = ['_' => 'messages.chats', 'chats' => [Chat, Chat]]; +``` + + +Or, if you're into Lua: + +```lua +messages.chats={_='messages.chats', chats={Chat}} + +``` + + diff --git a/old_docs/API_docs_v75/constructors/messages.chatsSlice.md b/old_docs/API_docs_v75/constructors/messages.chatsSlice.md new file mode 100644 index 00000000..efd153e0 --- /dev/null +++ b/old_docs/API_docs_v75/constructors/messages.chatsSlice.md @@ -0,0 +1,39 @@ +--- +title: messages.chatsSlice +description: Partial list of chats, more would have to be fetched with [pagination](https://core.telegram.org/api/offsets) +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.chatsSlice +[Back to constructors index](index.md) + + + +Partial list of chats, more would have to be fetched with [pagination](https://core.telegram.org/api/offsets) + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of results that were found server-side (not all are included in `chats`)| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| + + + +### Type: [messages.Chats](../types/messages.Chats.md) + + +### Example: + +```php +$messages.chatsSlice = ['_' => 'messages.chatsSlice', 'count' => int, 'chats' => [Chat, Chat]]; +``` + + +Or, if you're into Lua: + +```lua +messages.chatsSlice={_='messages.chatsSlice', count=int, chats={Chat}} + +``` + + diff --git a/old_docs/API_docs_v75/constructors/messages.dhConfig.md b/old_docs/API_docs_v75/constructors/messages.dhConfig.md new file mode 100644 index 00000000..58344f64 --- /dev/null +++ b/old_docs/API_docs_v75/constructors/messages.dhConfig.md @@ -0,0 +1,41 @@ +--- +title: messages.dhConfig +description: New set of configuring parameters. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dhConfig +[Back to constructors index](index.md) + + + +New set of configuring parameters. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|g|[int](../types/int.md) | Yes|New value **prime**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| +|p|[bytes](../types/bytes.md) | Yes|New value **primitive root**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| +|version|[int](../types/int.md) | Yes|Vestion of set of parameters| +|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| + + + +### Type: [messages.DhConfig](../types/messages.DhConfig.md) + + +### Example: + +```php +$messages.dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'version' => int, 'random' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +messages.dhConfig={_='messages.dhConfig', g=int, p='bytes', version=int, random='bytes'} + +``` + + diff --git a/old_docs/API_docs_v75/constructors/messages.dhConfigNotModified.md b/old_docs/API_docs_v75/constructors/messages.dhConfigNotModified.md new file mode 100644 index 00000000..a9a95389 --- /dev/null +++ b/old_docs/API_docs_v75/constructors/messages.dhConfigNotModified.md @@ -0,0 +1,38 @@ +--- +title: messages.dhConfigNotModified +description: Configuring parameters did not change. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dhConfigNotModified +[Back to constructors index](index.md) + + + +Configuring parameters did not change. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| + + + +### Type: [messages.DhConfig](../types/messages.DhConfig.md) + + +### Example: + +```php +$messages.dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +messages.dhConfigNotModified={_='messages.dhConfigNotModified', random='bytes'} + +``` + + diff --git a/old_docs/API_docs_v75/constructors/messages.dialogs.md b/old_docs/API_docs_v75/constructors/messages.dialogs.md new file mode 100644 index 00000000..a72eabce --- /dev/null +++ b/old_docs/API_docs_v75/constructors/messages.dialogs.md @@ -0,0 +1,41 @@ +--- +title: messages.dialogs +description: Full list of chats with messages and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dialogs +[Back to constructors index](index.md) + + + +Full list of chats with messages and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Dialogs](../types/messages.Dialogs.md) + + +### Example: + +```php +$messages.dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.dialogs={_='messages.dialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v75/constructors/messages.dialogsSlice.md b/old_docs/API_docs_v75/constructors/messages.dialogsSlice.md new file mode 100644 index 00000000..26227d2c --- /dev/null +++ b/old_docs/API_docs_v75/constructors/messages.dialogsSlice.md @@ -0,0 +1,42 @@ +--- +title: messages.dialogsSlice +description: Incomplete list of dialogs with messages and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dialogsSlice +[Back to constructors index](index.md) + + + +Incomplete list of dialogs with messages and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of dialogs| +|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Dialogs](../types/messages.Dialogs.md) + + +### Example: + +```php +$messages.dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.dialogsSlice={_='messages.dialogsSlice', count=int, dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v75/constructors/messages.favedStickers.md b/old_docs/API_docs_v75/constructors/messages.favedStickers.md new file mode 100644 index 00000000..a5cfb7c9 --- /dev/null +++ b/old_docs/API_docs_v75/constructors/messages.favedStickers.md @@ -0,0 +1,40 @@ +--- +title: messages.favedStickers +description: Favorited stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.favedStickers +[Back to constructors index](index.md) + + + +Favorited stickers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|packs|Array of [StickerPack](../types/StickerPack.md) | Yes|Packs| +|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| + + + +### Type: [messages.FavedStickers](../types/messages.FavedStickers.md) + + +### Example: + +```php +$messages.favedStickers = ['_' => 'messages.favedStickers', 'hash' => int, 'packs' => [StickerPack, StickerPack], 'stickers' => [Document, Document]]; +``` + + +Or, if you're into Lua: + +```lua +messages.favedStickers={_='messages.favedStickers', hash=int, packs={StickerPack}, stickers={Document}} + +``` + + diff --git a/old_docs/API_docs_v75/constructors/messages.favedStickersNotModified.md b/old_docs/API_docs_v75/constructors/messages.favedStickersNotModified.md new file mode 100644 index 00000000..8723659e --- /dev/null +++ b/old_docs/API_docs_v75/constructors/messages.favedStickersNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.favedStickersNotModified +description: No new favorited stickers were found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.favedStickersNotModified +[Back to constructors index](index.md) + + + +No new favorited stickers were found + + + + +### Type: [messages.FavedStickers](../types/messages.FavedStickers.md) + + +### Example: + +```php +$messages.favedStickersNotModified = ['_' => 'messages.favedStickersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.favedStickersNotModified={_='messages.favedStickersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v75/constructors/messages.featuredStickers.md b/old_docs/API_docs_v75/constructors/messages.featuredStickers.md new file mode 100644 index 00000000..344376ea --- /dev/null +++ b/old_docs/API_docs_v75/constructors/messages.featuredStickers.md @@ -0,0 +1,40 @@ +--- +title: messages.featuredStickers +description: Featured stickersets +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.featuredStickers +[Back to constructors index](index.md) + + + +Featured stickersets + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| +|unread|Array of [long](../types/long.md) | Yes|Unread| + + + +### Type: [messages.FeaturedStickers](../types/messages.FeaturedStickers.md) + + +### Example: + +```php +$messages.featuredStickers = ['_' => 'messages.featuredStickers', 'hash' => int, 'sets' => [StickerSetCovered, StickerSetCovered], 'unread' => [long, long]]; +``` + + +Or, if you're into Lua: + +```lua +messages.featuredStickers={_='messages.featuredStickers', hash=int, sets={StickerSetCovered}, unread={long}} + +``` + + diff --git a/old_docs/API_docs_v75/constructors/messages.featuredStickersNotModified.md b/old_docs/API_docs_v75/constructors/messages.featuredStickersNotModified.md new file mode 100644 index 00000000..0fe9b4d5 --- /dev/null +++ b/old_docs/API_docs_v75/constructors/messages.featuredStickersNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.featuredStickersNotModified +description: Featured stickers haven't changed +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.featuredStickersNotModified +[Back to constructors index](index.md) + + + +Featured stickers haven't changed + + + + +### Type: [messages.FeaturedStickers](../types/messages.FeaturedStickers.md) + + +### Example: + +```php +$messages.featuredStickersNotModified = ['_' => 'messages.featuredStickersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.featuredStickersNotModified={_='messages.featuredStickersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v75/constructors/messages.foundGifs.md b/old_docs/API_docs_v75/constructors/messages.foundGifs.md new file mode 100644 index 00000000..c75e36f9 --- /dev/null +++ b/old_docs/API_docs_v75/constructors/messages.foundGifs.md @@ -0,0 +1,39 @@ +--- +title: messages.foundGifs +description: Found GIFs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.foundGifs +[Back to constructors index](index.md) + + + +Found GIFs + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|next\_offset|[int](../types/int.md) | Yes|Next offset to use when trying to [load more results](../methods/messages.searchGifs.md)| +|results|Array of [FoundGif](../types/FoundGif.md) | Yes|Results| + + + +### Type: [messages.FoundGifs](../types/messages.FoundGifs.md) + + +### Example: + +```php +$messages.foundGifs = ['_' => 'messages.foundGifs', 'next_offset' => int, 'results' => [FoundGif, FoundGif]]; +``` + + +Or, if you're into Lua: + +```lua +messages.foundGifs={_='messages.foundGifs', next_offset=int, results={FoundGif}} + +``` + + diff --git a/old_docs/API_docs_v75/constructors/messages.highScores.md b/old_docs/API_docs_v75/constructors/messages.highScores.md new file mode 100644 index 00000000..d7d25826 --- /dev/null +++ b/old_docs/API_docs_v75/constructors/messages.highScores.md @@ -0,0 +1,39 @@ +--- +title: messages.highScores +description: Highscores in a game +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.highScores +[Back to constructors index](index.md) + + + +Highscores in a game + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|scores|Array of [HighScore](../types/HighScore.md) | Yes|Scores| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.HighScores](../types/messages.HighScores.md) + + +### Example: + +```php +$messages.highScores = ['_' => 'messages.highScores', 'scores' => [HighScore, HighScore], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.highScores={_='messages.highScores', scores={HighScore}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v75/constructors/messages.messageEditData.md b/old_docs/API_docs_v75/constructors/messages.messageEditData.md new file mode 100644 index 00000000..578b53d9 --- /dev/null +++ b/old_docs/API_docs_v75/constructors/messages.messageEditData.md @@ -0,0 +1,38 @@ +--- +title: messages.messageEditData +description: Message edit data for media +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.messageEditData +[Back to constructors index](index.md) + + + +Message edit data for media + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|caption|[Bool](../types/Bool.md) | Optional|Media caption, if the specified media's caption can be edited| + + + +### Type: [messages.MessageEditData](../types/messages.MessageEditData.md) + + +### Example: + +```php +$messages.messageEditData = ['_' => 'messages.messageEditData', 'caption' => Bool]; +``` + + +Or, if you're into Lua: + +```lua +messages.messageEditData={_='messages.messageEditData', caption=Bool} + +``` + + diff --git a/old_docs/API_docs_v75/constructors/messages.messages.md b/old_docs/API_docs_v75/constructors/messages.messages.md new file mode 100644 index 00000000..3af71dca --- /dev/null +++ b/old_docs/API_docs_v75/constructors/messages.messages.md @@ -0,0 +1,40 @@ +--- +title: messages.messages +description: Full list of messages with auxilary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.messages +[Back to constructors index](index.md) + + + +Full list of messages with auxilary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Messages](../types/messages.Messages.md) + + +### Example: + +```php +$messages.messages = ['_' => 'messages.messages', 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.messages={_='messages.messages', messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v75/constructors/messages.messagesNotModified.md b/old_docs/API_docs_v75/constructors/messages.messagesNotModified.md new file mode 100644 index 00000000..c4cb60ed --- /dev/null +++ b/old_docs/API_docs_v75/constructors/messages.messagesNotModified.md @@ -0,0 +1,38 @@ +--- +title: messages.messagesNotModified +description: No new messages matching the query were found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.messagesNotModified +[Back to constructors index](index.md) + + + +No new messages matching the query were found + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Number of results found server-side by the given query| + + + +### Type: [messages.Messages](../types/messages.Messages.md) + + +### Example: + +```php +$messages.messagesNotModified = ['_' => 'messages.messagesNotModified', 'count' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.messagesNotModified={_='messages.messagesNotModified', count=int} + +``` + + diff --git a/old_docs/API_docs_v75/constructors/messages.messagesSlice.md b/old_docs/API_docs_v75/constructors/messages.messagesSlice.md new file mode 100644 index 00000000..2fe91df0 --- /dev/null +++ b/old_docs/API_docs_v75/constructors/messages.messagesSlice.md @@ -0,0 +1,41 @@ +--- +title: messages.messagesSlice +description: Incomplete list of messages and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.messagesSlice +[Back to constructors index](index.md) + + + +Incomplete list of messages and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of messages in the list| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Messages](../types/messages.Messages.md) + + +### Example: + +```php +$messages.messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.messagesSlice={_='messages.messagesSlice', count=int, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v75/constructors/messages.peerDialogs.md b/old_docs/API_docs_v75/constructors/messages.peerDialogs.md new file mode 100644 index 00000000..39cb71f8 --- /dev/null +++ b/old_docs/API_docs_v75/constructors/messages.peerDialogs.md @@ -0,0 +1,42 @@ +--- +title: messages.peerDialogs +description: Dialog info of multiple peers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.peerDialogs +[Back to constructors index](index.md) + + + +Dialog info of multiple peers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| +|state|[updates.State](../constructors/updates.State.md) | Yes|Current [update state of dialog](https://core.telegram.org/api/updates)| + + + +### Type: [messages.PeerDialogs](../types/messages.PeerDialogs.md) + + +### Example: + +```php +$messages.peerDialogs = ['_' => 'messages.peerDialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates.State]; +``` + + +Or, if you're into Lua: + +```lua +messages.peerDialogs={_='messages.peerDialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}, state=updates.State} + +``` + + diff --git a/old_docs/API_docs_v75/constructors/messages.recentStickers.md b/old_docs/API_docs_v75/constructors/messages.recentStickers.md new file mode 100644 index 00000000..c5c3b389 --- /dev/null +++ b/old_docs/API_docs_v75/constructors/messages.recentStickers.md @@ -0,0 +1,39 @@ +--- +title: messages.recentStickers +description: Recently used stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.recentStickers +[Back to constructors index](index.md) + + + +Recently used stickers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| + + + +### Type: [messages.RecentStickers](../types/messages.RecentStickers.md) + + +### Example: + +```php +$messages.recentStickers = ['_' => 'messages.recentStickers', 'hash' => int, 'stickers' => [Document, Document]]; +``` + + +Or, if you're into Lua: + +```lua +messages.recentStickers={_='messages.recentStickers', hash=int, stickers={Document}} + +``` + + diff --git a/old_docs/API_docs_v75/constructors/messages.recentStickersNotModified.md b/old_docs/API_docs_v75/constructors/messages.recentStickersNotModified.md new file mode 100644 index 00000000..1c3bbf5c --- /dev/null +++ b/old_docs/API_docs_v75/constructors/messages.recentStickersNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.recentStickersNotModified +description: No new recent sticker was found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.recentStickersNotModified +[Back to constructors index](index.md) + + + +No new recent sticker was found + + + + +### Type: [messages.RecentStickers](../types/messages.RecentStickers.md) + + +### Example: + +```php +$messages.recentStickersNotModified = ['_' => 'messages.recentStickersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.recentStickersNotModified={_='messages.recentStickersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v75/constructors/messages.savedGifs.md b/old_docs/API_docs_v75/constructors/messages.savedGifs.md new file mode 100644 index 00000000..c82929a3 --- /dev/null +++ b/old_docs/API_docs_v75/constructors/messages.savedGifs.md @@ -0,0 +1,39 @@ +--- +title: messages.savedGifs +description: Saved gifs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.savedGifs +[Back to constructors index](index.md) + + + +Saved gifs + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|gifs|Array of [Document](../types/Document.md) | Yes|Gifs| + + + +### Type: [messages.SavedGifs](../types/messages.SavedGifs.md) + + +### Example: + +```php +$messages.savedGifs = ['_' => 'messages.savedGifs', 'hash' => int, 'gifs' => [Document, Document]]; +``` + + +Or, if you're into Lua: + +```lua +messages.savedGifs={_='messages.savedGifs', hash=int, gifs={Document}} + +``` + + diff --git a/old_docs/API_docs_v75/constructors/messages.savedGifsNotModified.md b/old_docs/API_docs_v75/constructors/messages.savedGifsNotModified.md new file mode 100644 index 00000000..0fbccacc --- /dev/null +++ b/old_docs/API_docs_v75/constructors/messages.savedGifsNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.savedGifsNotModified +description: No new saved gifs were found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.savedGifsNotModified +[Back to constructors index](index.md) + + + +No new saved gifs were found + + + + +### Type: [messages.SavedGifs](../types/messages.SavedGifs.md) + + +### Example: + +```php +$messages.savedGifsNotModified = ['_' => 'messages.savedGifsNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.savedGifsNotModified={_='messages.savedGifsNotModified'} + +``` + + diff --git a/old_docs/API_docs_v75/constructors/messages.sentEncryptedFile.md b/old_docs/API_docs_v75/constructors/messages.sentEncryptedFile.md new file mode 100644 index 00000000..1f0e43c6 --- /dev/null +++ b/old_docs/API_docs_v75/constructors/messages.sentEncryptedFile.md @@ -0,0 +1,39 @@ +--- +title: messages.sentEncryptedFile +description: Message with a file enclosure sent to a protected chat +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.sentEncryptedFile +[Back to constructors index](index.md) + + + +Message with a file enclosure sent to a protected chat + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Sending date| +|file|[EncryptedFile](../types/EncryptedFile.md) | Optional|Attached file| + + + +### Type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) + + +### Example: + +```php +$messages.sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile]; +``` + + +Or, if you're into Lua: + +```lua +messages.sentEncryptedFile={_='messages.sentEncryptedFile', date=int, file=EncryptedFile} + +``` + + diff --git a/old_docs/API_docs_v75/constructors/messages.sentEncryptedMessage.md b/old_docs/API_docs_v75/constructors/messages.sentEncryptedMessage.md new file mode 100644 index 00000000..3d5eb40c --- /dev/null +++ b/old_docs/API_docs_v75/constructors/messages.sentEncryptedMessage.md @@ -0,0 +1,38 @@ +--- +title: messages.sentEncryptedMessage +description: Message without file attachemts sent to an encrypted file. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.sentEncryptedMessage +[Back to constructors index](index.md) + + + +Message without file attachemts sent to an encrypted file. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Date of sending| + + + +### Type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) + + +### Example: + +```php +$messages.sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.sentEncryptedMessage={_='messages.sentEncryptedMessage', date=int} + +``` + + diff --git a/old_docs/API_docs_v75/constructors/messages.stickerSet.md b/old_docs/API_docs_v75/constructors/messages.stickerSet.md new file mode 100644 index 00000000..fbc154d0 --- /dev/null +++ b/old_docs/API_docs_v75/constructors/messages.stickerSet.md @@ -0,0 +1,40 @@ +--- +title: messages.stickerSet +description: Stickerset and stickers inside it +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickerSet +[Back to constructors index](index.md) + + + +Stickerset and stickers inside it + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|set|[StickerSet](../types/StickerSet.md) | Yes|The stickerset| +|packs|Array of [StickerPack](../types/StickerPack.md) | Yes|Packs| +|documents|Array of [Document](../types/Document.md) | Yes|Documents| + + + +### Type: [messages.StickerSet](../types/messages.StickerSet.md) + + +### Example: + +```php +$messages.stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'packs' => [StickerPack, StickerPack], 'documents' => [Document, Document]]; +``` + + +Or, if you're into Lua: + +```lua +messages.stickerSet={_='messages.stickerSet', set=StickerSet, packs={StickerPack}, documents={Document}} + +``` + + diff --git a/old_docs/API_docs_v75/constructors/messages.stickerSetInstallResultArchive.md b/old_docs/API_docs_v75/constructors/messages.stickerSetInstallResultArchive.md new file mode 100644 index 00000000..fefe2270 --- /dev/null +++ b/old_docs/API_docs_v75/constructors/messages.stickerSetInstallResultArchive.md @@ -0,0 +1,38 @@ +--- +title: messages.stickerSetInstallResultArchive +description: The stickerset was installed, but since there are too many stickersets some were archived +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickerSetInstallResultArchive +[Back to constructors index](index.md) + + + +The stickerset was installed, but since there are too many stickersets some were archived + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| + + + +### Type: [messages.StickerSetInstallResult](../types/messages.StickerSetInstallResult.md) + + +### Example: + +```php +$messages.stickerSetInstallResultArchive = ['_' => 'messages.stickerSetInstallResultArchive', 'sets' => [StickerSetCovered, StickerSetCovered]]; +``` + + +Or, if you're into Lua: + +```lua +messages.stickerSetInstallResultArchive={_='messages.stickerSetInstallResultArchive', sets={StickerSetCovered}} + +``` + + diff --git a/old_docs/API_docs_v75/constructors/messages.stickerSetInstallResultSuccess.md b/old_docs/API_docs_v75/constructors/messages.stickerSetInstallResultSuccess.md new file mode 100644 index 00000000..bbe8b961 --- /dev/null +++ b/old_docs/API_docs_v75/constructors/messages.stickerSetInstallResultSuccess.md @@ -0,0 +1,33 @@ +--- +title: messages.stickerSetInstallResultSuccess +description: The stickerset was installed successfully +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickerSetInstallResultSuccess +[Back to constructors index](index.md) + + + +The stickerset was installed successfully + + + + +### Type: [messages.StickerSetInstallResult](../types/messages.StickerSetInstallResult.md) + + +### Example: + +```php +$messages.stickerSetInstallResultSuccess = ['_' => 'messages.stickerSetInstallResultSuccess']; +``` + + +Or, if you're into Lua: + +```lua +messages.stickerSetInstallResultSuccess={_='messages.stickerSetInstallResultSuccess'} + +``` + + diff --git a/old_docs/API_docs_v75/constructors/messages.stickers.md b/old_docs/API_docs_v75/constructors/messages.stickers.md new file mode 100644 index 00000000..310b64b0 --- /dev/null +++ b/old_docs/API_docs_v75/constructors/messages.stickers.md @@ -0,0 +1,39 @@ +--- +title: messages.stickers +description: Found stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickers +[Back to constructors index](index.md) + + + +Found stickers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[string](../types/string.md) | Yes|Hash| +|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| + + + +### Type: [messages.Stickers](../types/messages.Stickers.md) + + +### Example: + +```php +$messages.stickers = ['_' => 'messages.stickers', 'hash' => 'string', 'stickers' => [Document, Document]]; +``` + + +Or, if you're into Lua: + +```lua +messages.stickers={_='messages.stickers', hash='string', stickers={Document}} + +``` + + diff --git a/old_docs/API_docs_v75/constructors/messages.stickersNotModified.md b/old_docs/API_docs_v75/constructors/messages.stickersNotModified.md new file mode 100644 index 00000000..e8c7766c --- /dev/null +++ b/old_docs/API_docs_v75/constructors/messages.stickersNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.stickersNotModified +description: No new stickers were found for the given query +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickersNotModified +[Back to constructors index](index.md) + + + +No new stickers were found for the given query + + + + +### Type: [messages.Stickers](../types/messages.Stickers.md) + + +### Example: + +```php +$messages.stickersNotModified = ['_' => 'messages.stickersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.stickersNotModified={_='messages.stickersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v75/constructors/messages_affectedHistory.md b/old_docs/API_docs_v75/constructors/messages_affectedHistory.md deleted file mode 100644 index 449a7e3f..00000000 --- a/old_docs/API_docs_v75/constructors/messages_affectedHistory.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.affectedHistory -description: Affected part of communication history with the user or in a chat. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.affectedHistory -[Back to constructors index](index.md) - - - -Affected part of communication history with the user or in a chat. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| -|pts\_count|[int](../types/int.md) | Yes|Number of affected events| -|offset|[int](../types/int.md) | Yes|If a parameter contains positive value, it is necessary to repeat the method call using the given value; during the proceeding of all the history the value itself shall gradually decrease| - - - -### Type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) - - -### Example: - -```php -$messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_affectedHistory={_='messages.affectedHistory', pts=int, pts_count=int, offset=int} - -``` - - diff --git a/old_docs/API_docs_v75/constructors/messages_affectedMessages.md b/old_docs/API_docs_v75/constructors/messages_affectedMessages.md deleted file mode 100644 index 86760581..00000000 --- a/old_docs/API_docs_v75/constructors/messages_affectedMessages.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.affectedMessages -description: Events affected by operation -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.affectedMessages -[Back to constructors index](index.md) - - - -Events affected by operation - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|[Event count after generation](https://core.telegram.org/api/updates)| -|pts\_count|[int](../types/int.md) | Yes|[Number of events that were generated](https://core.telegram.org/api/updates)| - - - -### Type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) - - -### Example: - -```php -$messages_affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_affectedMessages={_='messages.affectedMessages', pts=int, pts_count=int} - -``` - - diff --git a/old_docs/API_docs_v75/constructors/messages_allStickers.md b/old_docs/API_docs_v75/constructors/messages_allStickers.md deleted file mode 100644 index 2e64f46e..00000000 --- a/old_docs/API_docs_v75/constructors/messages_allStickers.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.allStickers -description: Info about all installed stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.allStickers -[Back to constructors index](index.md) - - - -Info about all installed stickers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|sets|Array of [StickerSet](../types/StickerSet.md) | Yes|Sets| - - - -### Type: [messages\_AllStickers](../types/messages_AllStickers.md) - - -### Example: - -```php -$messages_allStickers = ['_' => 'messages.allStickers', 'hash' => int, 'sets' => [StickerSet, StickerSet]]; -``` - - -Or, if you're into Lua: - -```lua -messages_allStickers={_='messages.allStickers', hash=int, sets={StickerSet}} - -``` - - diff --git a/old_docs/API_docs_v75/constructors/messages_allStickersNotModified.md b/old_docs/API_docs_v75/constructors/messages_allStickersNotModified.md deleted file mode 100644 index c4da85ab..00000000 --- a/old_docs/API_docs_v75/constructors/messages_allStickersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.allStickersNotModified -description: Info about all installed stickers hasn't changed -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.allStickersNotModified -[Back to constructors index](index.md) - - - -Info about all installed stickers hasn't changed - - - - -### Type: [messages\_AllStickers](../types/messages_AllStickers.md) - - -### Example: - -```php -$messages_allStickersNotModified = ['_' => 'messages.allStickersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_allStickersNotModified={_='messages.allStickersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v75/constructors/messages_archivedStickers.md b/old_docs/API_docs_v75/constructors/messages_archivedStickers.md deleted file mode 100644 index 6b28c885..00000000 --- a/old_docs/API_docs_v75/constructors/messages_archivedStickers.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.archivedStickers -description: Archived stickersets -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.archivedStickers -[Back to constructors index](index.md) - - - -Archived stickersets - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Number of archived stickers| -|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| - - - -### Type: [messages\_ArchivedStickers](../types/messages_ArchivedStickers.md) - - -### Example: - -```php -$messages_archivedStickers = ['_' => 'messages.archivedStickers', 'count' => int, 'sets' => [StickerSetCovered, StickerSetCovered]]; -``` - - -Or, if you're into Lua: - -```lua -messages_archivedStickers={_='messages.archivedStickers', count=int, sets={StickerSetCovered}} - -``` - - diff --git a/old_docs/API_docs_v75/constructors/messages_botCallbackAnswer.md b/old_docs/API_docs_v75/constructors/messages_botCallbackAnswer.md deleted file mode 100644 index e56f4b56..00000000 --- a/old_docs/API_docs_v75/constructors/messages_botCallbackAnswer.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: messages.botCallbackAnswer -description: Callback answer sent by the bot in response to a button press -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.botCallbackAnswer -[Back to constructors index](index.md) - - - -Callback answer sent by the bot in response to a button press - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|alert|[Bool](../types/Bool.md) | Optional|Whether an alert should be shown to the user instead of a toast notification| -|has\_url|[Bool](../types/Bool.md) | Optional|Whether an URL is present| -|native\_ui|[Bool](../types/Bool.md) | Optional|Whether to show games in WebView or in native UI.| -|message|[string](../types/string.md) | Optional|Alert to show| -|url|[string](../types/string.md) | Optional|URL to open| -|cache\_time|[int](../types/int.md) | Yes|For how long should this answer be cached| - - - -### Type: [messages\_BotCallbackAnswer](../types/messages_BotCallbackAnswer.md) - - -### Example: - -```php -$messages_botCallbackAnswer = ['_' => 'messages.botCallbackAnswer', 'alert' => Bool, 'has_url' => Bool, 'native_ui' => Bool, 'message' => 'string', 'url' => 'string', 'cache_time' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_botCallbackAnswer={_='messages.botCallbackAnswer', alert=Bool, has_url=Bool, native_ui=Bool, message='string', url='string', cache_time=int} - -``` - - diff --git a/old_docs/API_docs_v75/constructors/messages_botResults.md b/old_docs/API_docs_v75/constructors/messages_botResults.md deleted file mode 100644 index 19b9edf6..00000000 --- a/old_docs/API_docs_v75/constructors/messages_botResults.md +++ /dev/null @@ -1,44 +0,0 @@ ---- -title: messages.botResults -description: Result of a query to an inline bot -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.botResults -[Back to constructors index](index.md) - - - -Result of a query to an inline bot - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|gallery|[Bool](../types/Bool.md) | Optional|Whether the result is a picture gallery| -|query\_id|[long](../types/long.md) | Yes|Query ID| -|next\_offset|[string](../types/string.md) | Optional|The next offset to use when navigating through results| -|switch\_pm|[InlineBotSwitchPM](../types/InlineBotSwitchPM.md) | Optional|Whether the bot requested the user to message him in private| -|results|Array of [BotInlineResult](../types/BotInlineResult.md) | Yes|Results| -|cache\_time|[int](../types/int.md) | Yes|Caching validity of the results| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_BotResults](../types/messages_BotResults.md) - - -### Example: - -```php -$messages_botResults = ['_' => 'messages.botResults', 'gallery' => Bool, 'query_id' => long, 'next_offset' => 'string', 'switch_pm' => InlineBotSwitchPM, 'results' => [BotInlineResult, BotInlineResult], 'cache_time' => int, 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_botResults={_='messages.botResults', gallery=Bool, query_id=long, next_offset='string', switch_pm=InlineBotSwitchPM, results={BotInlineResult}, cache_time=int, users={User}} - -``` - - diff --git a/old_docs/API_docs_v75/constructors/messages_channelMessages.md b/old_docs/API_docs_v75/constructors/messages_channelMessages.md deleted file mode 100644 index 12cdb9cd..00000000 --- a/old_docs/API_docs_v75/constructors/messages_channelMessages.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: messages.channelMessages -description: Channel messages -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.channelMessages -[Back to constructors index](index.md) - - - -Channel messages - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|[Event count after generation](https://core.telegram.org/api/updates)| -|count|[int](../types/int.md) | Yes|Total number of results were found server-side (may not be all included here)| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Messages](../types/messages_Messages.md) - - -### Example: - -```php -$messages_channelMessages = ['_' => 'messages.channelMessages', 'pts' => int, 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_channelMessages={_='messages.channelMessages', pts=int, count=int, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v75/constructors/messages_chatFull.md b/old_docs/API_docs_v75/constructors/messages_chatFull.md deleted file mode 100644 index 02f1acdf..00000000 --- a/old_docs/API_docs_v75/constructors/messages_chatFull.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.chatFull -description: Extended info on chat and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.chatFull -[Back to constructors index](index.md) - - - -Extended info on chat and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|full\_chat|[ChatFull](../types/ChatFull.md) | Yes|Extended info on a chat| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_ChatFull](../types/messages_ChatFull.md) - - -### Example: - -```php -$messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_chatFull={_='messages.chatFull', full_chat=ChatFull, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v75/constructors/messages_chats.md b/old_docs/API_docs_v75/constructors/messages_chats.md deleted file mode 100644 index ef3690a9..00000000 --- a/old_docs/API_docs_v75/constructors/messages_chats.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.chats -description: List of chats with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.chats -[Back to constructors index](index.md) - - - -List of chats with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| - - - -### Type: [messages\_Chats](../types/messages_Chats.md) - - -### Example: - -```php -$messages_chats = ['_' => 'messages.chats', 'chats' => [Chat, Chat]]; -``` - - -Or, if you're into Lua: - -```lua -messages_chats={_='messages.chats', chats={Chat}} - -``` - - diff --git a/old_docs/API_docs_v75/constructors/messages_chatsSlice.md b/old_docs/API_docs_v75/constructors/messages_chatsSlice.md deleted file mode 100644 index f19c4357..00000000 --- a/old_docs/API_docs_v75/constructors/messages_chatsSlice.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.chatsSlice -description: Partial list of chats, more would have to be fetched with [pagination](https://core.telegram.org/api/offsets) -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.chatsSlice -[Back to constructors index](index.md) - - - -Partial list of chats, more would have to be fetched with [pagination](https://core.telegram.org/api/offsets) - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of results that were found server-side (not all are included in `chats`)| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| - - - -### Type: [messages\_Chats](../types/messages_Chats.md) - - -### Example: - -```php -$messages_chatsSlice = ['_' => 'messages.chatsSlice', 'count' => int, 'chats' => [Chat, Chat]]; -``` - - -Or, if you're into Lua: - -```lua -messages_chatsSlice={_='messages.chatsSlice', count=int, chats={Chat}} - -``` - - diff --git a/old_docs/API_docs_v75/constructors/messages_dhConfig.md b/old_docs/API_docs_v75/constructors/messages_dhConfig.md deleted file mode 100644 index 42c2feb1..00000000 --- a/old_docs/API_docs_v75/constructors/messages_dhConfig.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: messages.dhConfig -description: New set of configuring parameters. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dhConfig -[Back to constructors index](index.md) - - - -New set of configuring parameters. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|g|[int](../types/int.md) | Yes|New value **prime**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| -|p|[bytes](../types/bytes.md) | Yes|New value **primitive root**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| -|version|[int](../types/int.md) | Yes|Vestion of set of parameters| -|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| - - - -### Type: [messages\_DhConfig](../types/messages_DhConfig.md) - - -### Example: - -```php -$messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'version' => int, 'random' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -messages_dhConfig={_='messages.dhConfig', g=int, p='bytes', version=int, random='bytes'} - -``` - - diff --git a/old_docs/API_docs_v75/constructors/messages_dhConfigNotModified.md b/old_docs/API_docs_v75/constructors/messages_dhConfigNotModified.md deleted file mode 100644 index 5bf64230..00000000 --- a/old_docs/API_docs_v75/constructors/messages_dhConfigNotModified.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.dhConfigNotModified -description: Configuring parameters did not change. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dhConfigNotModified -[Back to constructors index](index.md) - - - -Configuring parameters did not change. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| - - - -### Type: [messages\_DhConfig](../types/messages_DhConfig.md) - - -### Example: - -```php -$messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -messages_dhConfigNotModified={_='messages.dhConfigNotModified', random='bytes'} - -``` - - diff --git a/old_docs/API_docs_v75/constructors/messages_dialogs.md b/old_docs/API_docs_v75/constructors/messages_dialogs.md deleted file mode 100644 index e6a431b4..00000000 --- a/old_docs/API_docs_v75/constructors/messages_dialogs.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: messages.dialogs -description: Full list of chats with messages and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dialogs -[Back to constructors index](index.md) - - - -Full list of chats with messages and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Dialogs](../types/messages_Dialogs.md) - - -### Example: - -```php -$messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_dialogs={_='messages.dialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v75/constructors/messages_dialogsSlice.md b/old_docs/API_docs_v75/constructors/messages_dialogsSlice.md deleted file mode 100644 index f183b9a8..00000000 --- a/old_docs/API_docs_v75/constructors/messages_dialogsSlice.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: messages.dialogsSlice -description: Incomplete list of dialogs with messages and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dialogsSlice -[Back to constructors index](index.md) - - - -Incomplete list of dialogs with messages and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of dialogs| -|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Dialogs](../types/messages_Dialogs.md) - - -### Example: - -```php -$messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_dialogsSlice={_='messages.dialogsSlice', count=int, dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v75/constructors/messages_favedStickers.md b/old_docs/API_docs_v75/constructors/messages_favedStickers.md deleted file mode 100644 index 72d79df2..00000000 --- a/old_docs/API_docs_v75/constructors/messages_favedStickers.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.favedStickers -description: Favorited stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.favedStickers -[Back to constructors index](index.md) - - - -Favorited stickers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|packs|Array of [StickerPack](../types/StickerPack.md) | Yes|Packs| -|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| - - - -### Type: [messages\_FavedStickers](../types/messages_FavedStickers.md) - - -### Example: - -```php -$messages_favedStickers = ['_' => 'messages.favedStickers', 'hash' => int, 'packs' => [StickerPack, StickerPack], 'stickers' => [Document, Document]]; -``` - - -Or, if you're into Lua: - -```lua -messages_favedStickers={_='messages.favedStickers', hash=int, packs={StickerPack}, stickers={Document}} - -``` - - diff --git a/old_docs/API_docs_v75/constructors/messages_favedStickersNotModified.md b/old_docs/API_docs_v75/constructors/messages_favedStickersNotModified.md deleted file mode 100644 index a47c08e8..00000000 --- a/old_docs/API_docs_v75/constructors/messages_favedStickersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.favedStickersNotModified -description: No new favorited stickers were found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.favedStickersNotModified -[Back to constructors index](index.md) - - - -No new favorited stickers were found - - - - -### Type: [messages\_FavedStickers](../types/messages_FavedStickers.md) - - -### Example: - -```php -$messages_favedStickersNotModified = ['_' => 'messages.favedStickersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_favedStickersNotModified={_='messages.favedStickersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v75/constructors/messages_featuredStickers.md b/old_docs/API_docs_v75/constructors/messages_featuredStickers.md deleted file mode 100644 index 8ef1046e..00000000 --- a/old_docs/API_docs_v75/constructors/messages_featuredStickers.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.featuredStickers -description: Featured stickersets -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.featuredStickers -[Back to constructors index](index.md) - - - -Featured stickersets - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| -|unread|Array of [long](../types/long.md) | Yes|Unread| - - - -### Type: [messages\_FeaturedStickers](../types/messages_FeaturedStickers.md) - - -### Example: - -```php -$messages_featuredStickers = ['_' => 'messages.featuredStickers', 'hash' => int, 'sets' => [StickerSetCovered, StickerSetCovered], 'unread' => [long, long]]; -``` - - -Or, if you're into Lua: - -```lua -messages_featuredStickers={_='messages.featuredStickers', hash=int, sets={StickerSetCovered}, unread={long}} - -``` - - diff --git a/old_docs/API_docs_v75/constructors/messages_featuredStickersNotModified.md b/old_docs/API_docs_v75/constructors/messages_featuredStickersNotModified.md deleted file mode 100644 index de01131b..00000000 --- a/old_docs/API_docs_v75/constructors/messages_featuredStickersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.featuredStickersNotModified -description: Featured stickers haven't changed -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.featuredStickersNotModified -[Back to constructors index](index.md) - - - -Featured stickers haven't changed - - - - -### Type: [messages\_FeaturedStickers](../types/messages_FeaturedStickers.md) - - -### Example: - -```php -$messages_featuredStickersNotModified = ['_' => 'messages.featuredStickersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_featuredStickersNotModified={_='messages.featuredStickersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v75/constructors/messages_foundGifs.md b/old_docs/API_docs_v75/constructors/messages_foundGifs.md deleted file mode 100644 index eb3603ca..00000000 --- a/old_docs/API_docs_v75/constructors/messages_foundGifs.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.foundGifs -description: Found GIFs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.foundGifs -[Back to constructors index](index.md) - - - -Found GIFs - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|next\_offset|[int](../types/int.md) | Yes|Next offset to use when trying to [load more results](../methods/messages.searchGifs.md)| -|results|Array of [FoundGif](../types/FoundGif.md) | Yes|Results| - - - -### Type: [messages\_FoundGifs](../types/messages_FoundGifs.md) - - -### Example: - -```php -$messages_foundGifs = ['_' => 'messages.foundGifs', 'next_offset' => int, 'results' => [FoundGif, FoundGif]]; -``` - - -Or, if you're into Lua: - -```lua -messages_foundGifs={_='messages.foundGifs', next_offset=int, results={FoundGif}} - -``` - - diff --git a/old_docs/API_docs_v75/constructors/messages_highScores.md b/old_docs/API_docs_v75/constructors/messages_highScores.md deleted file mode 100644 index d6fc5210..00000000 --- a/old_docs/API_docs_v75/constructors/messages_highScores.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.highScores -description: Highscores in a game -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.highScores -[Back to constructors index](index.md) - - - -Highscores in a game - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|scores|Array of [HighScore](../types/HighScore.md) | Yes|Scores| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_HighScores](../types/messages_HighScores.md) - - -### Example: - -```php -$messages_highScores = ['_' => 'messages.highScores', 'scores' => [HighScore, HighScore], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_highScores={_='messages.highScores', scores={HighScore}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v75/constructors/messages_messageEditData.md b/old_docs/API_docs_v75/constructors/messages_messageEditData.md deleted file mode 100644 index 76aefca5..00000000 --- a/old_docs/API_docs_v75/constructors/messages_messageEditData.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.messageEditData -description: Message edit data for media -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.messageEditData -[Back to constructors index](index.md) - - - -Message edit data for media - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|caption|[Bool](../types/Bool.md) | Optional|Media caption, if the specified media's caption can be edited| - - - -### Type: [messages\_MessageEditData](../types/messages_MessageEditData.md) - - -### Example: - -```php -$messages_messageEditData = ['_' => 'messages.messageEditData', 'caption' => Bool]; -``` - - -Or, if you're into Lua: - -```lua -messages_messageEditData={_='messages.messageEditData', caption=Bool} - -``` - - diff --git a/old_docs/API_docs_v75/constructors/messages_messages.md b/old_docs/API_docs_v75/constructors/messages_messages.md deleted file mode 100644 index 3e369e1a..00000000 --- a/old_docs/API_docs_v75/constructors/messages_messages.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.messages -description: Full list of messages with auxilary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.messages -[Back to constructors index](index.md) - - - -Full list of messages with auxilary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Messages](../types/messages_Messages.md) - - -### Example: - -```php -$messages_messages = ['_' => 'messages.messages', 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_messages={_='messages.messages', messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v75/constructors/messages_messagesNotModified.md b/old_docs/API_docs_v75/constructors/messages_messagesNotModified.md deleted file mode 100644 index 2e9c4ad9..00000000 --- a/old_docs/API_docs_v75/constructors/messages_messagesNotModified.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.messagesNotModified -description: No new messages matching the query were found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.messagesNotModified -[Back to constructors index](index.md) - - - -No new messages matching the query were found - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Number of results found server-side by the given query| - - - -### Type: [messages\_Messages](../types/messages_Messages.md) - - -### Example: - -```php -$messages_messagesNotModified = ['_' => 'messages.messagesNotModified', 'count' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_messagesNotModified={_='messages.messagesNotModified', count=int} - -``` - - diff --git a/old_docs/API_docs_v75/constructors/messages_messagesSlice.md b/old_docs/API_docs_v75/constructors/messages_messagesSlice.md deleted file mode 100644 index f9b8dc18..00000000 --- a/old_docs/API_docs_v75/constructors/messages_messagesSlice.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: messages.messagesSlice -description: Incomplete list of messages and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.messagesSlice -[Back to constructors index](index.md) - - - -Incomplete list of messages and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of messages in the list| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Messages](../types/messages_Messages.md) - - -### Example: - -```php -$messages_messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_messagesSlice={_='messages.messagesSlice', count=int, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v75/constructors/messages_peerDialogs.md b/old_docs/API_docs_v75/constructors/messages_peerDialogs.md deleted file mode 100644 index 29b4b842..00000000 --- a/old_docs/API_docs_v75/constructors/messages_peerDialogs.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: messages.peerDialogs -description: Dialog info of multiple peers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.peerDialogs -[Back to constructors index](index.md) - - - -Dialog info of multiple peers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| -|state|[updates\_State](../types/updates_State.md) | Yes|Current [update state of dialog](https://core.telegram.org/api/updates)| - - - -### Type: [messages\_PeerDialogs](../types/messages_PeerDialogs.md) - - -### Example: - -```php -$messages_peerDialogs = ['_' => 'messages.peerDialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates_State]; -``` - - -Or, if you're into Lua: - -```lua -messages_peerDialogs={_='messages.peerDialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}, state=updates_State} - -``` - - diff --git a/old_docs/API_docs_v75/constructors/messages_recentStickers.md b/old_docs/API_docs_v75/constructors/messages_recentStickers.md deleted file mode 100644 index 31b059e5..00000000 --- a/old_docs/API_docs_v75/constructors/messages_recentStickers.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.recentStickers -description: Recently used stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.recentStickers -[Back to constructors index](index.md) - - - -Recently used stickers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| - - - -### Type: [messages\_RecentStickers](../types/messages_RecentStickers.md) - - -### Example: - -```php -$messages_recentStickers = ['_' => 'messages.recentStickers', 'hash' => int, 'stickers' => [Document, Document]]; -``` - - -Or, if you're into Lua: - -```lua -messages_recentStickers={_='messages.recentStickers', hash=int, stickers={Document}} - -``` - - diff --git a/old_docs/API_docs_v75/constructors/messages_recentStickersNotModified.md b/old_docs/API_docs_v75/constructors/messages_recentStickersNotModified.md deleted file mode 100644 index 3e81dceb..00000000 --- a/old_docs/API_docs_v75/constructors/messages_recentStickersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.recentStickersNotModified -description: No new recent sticker was found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.recentStickersNotModified -[Back to constructors index](index.md) - - - -No new recent sticker was found - - - - -### Type: [messages\_RecentStickers](../types/messages_RecentStickers.md) - - -### Example: - -```php -$messages_recentStickersNotModified = ['_' => 'messages.recentStickersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_recentStickersNotModified={_='messages.recentStickersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v75/constructors/messages_savedGifs.md b/old_docs/API_docs_v75/constructors/messages_savedGifs.md deleted file mode 100644 index ed3e8ea3..00000000 --- a/old_docs/API_docs_v75/constructors/messages_savedGifs.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.savedGifs -description: Saved gifs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.savedGifs -[Back to constructors index](index.md) - - - -Saved gifs - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|gifs|Array of [Document](../types/Document.md) | Yes|Gifs| - - - -### Type: [messages\_SavedGifs](../types/messages_SavedGifs.md) - - -### Example: - -```php -$messages_savedGifs = ['_' => 'messages.savedGifs', 'hash' => int, 'gifs' => [Document, Document]]; -``` - - -Or, if you're into Lua: - -```lua -messages_savedGifs={_='messages.savedGifs', hash=int, gifs={Document}} - -``` - - diff --git a/old_docs/API_docs_v75/constructors/messages_savedGifsNotModified.md b/old_docs/API_docs_v75/constructors/messages_savedGifsNotModified.md deleted file mode 100644 index 0f843a0c..00000000 --- a/old_docs/API_docs_v75/constructors/messages_savedGifsNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.savedGifsNotModified -description: No new saved gifs were found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.savedGifsNotModified -[Back to constructors index](index.md) - - - -No new saved gifs were found - - - - -### Type: [messages\_SavedGifs](../types/messages_SavedGifs.md) - - -### Example: - -```php -$messages_savedGifsNotModified = ['_' => 'messages.savedGifsNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_savedGifsNotModified={_='messages.savedGifsNotModified'} - -``` - - diff --git a/old_docs/API_docs_v75/constructors/messages_sentEncryptedFile.md b/old_docs/API_docs_v75/constructors/messages_sentEncryptedFile.md deleted file mode 100644 index fdc2a11e..00000000 --- a/old_docs/API_docs_v75/constructors/messages_sentEncryptedFile.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.sentEncryptedFile -description: Message with a file enclosure sent to a protected chat -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.sentEncryptedFile -[Back to constructors index](index.md) - - - -Message with a file enclosure sent to a protected chat - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Sending date| -|file|[EncryptedFile](../types/EncryptedFile.md) | Optional|Attached file| - - - -### Type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) - - -### Example: - -```php -$messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile]; -``` - - -Or, if you're into Lua: - -```lua -messages_sentEncryptedFile={_='messages.sentEncryptedFile', date=int, file=EncryptedFile} - -``` - - diff --git a/old_docs/API_docs_v75/constructors/messages_sentEncryptedMessage.md b/old_docs/API_docs_v75/constructors/messages_sentEncryptedMessage.md deleted file mode 100644 index 36b2bbff..00000000 --- a/old_docs/API_docs_v75/constructors/messages_sentEncryptedMessage.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.sentEncryptedMessage -description: Message without file attachemts sent to an encrypted file. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.sentEncryptedMessage -[Back to constructors index](index.md) - - - -Message without file attachemts sent to an encrypted file. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Date of sending| - - - -### Type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) - - -### Example: - -```php -$messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_sentEncryptedMessage={_='messages.sentEncryptedMessage', date=int} - -``` - - diff --git a/old_docs/API_docs_v75/constructors/messages_stickerSet.md b/old_docs/API_docs_v75/constructors/messages_stickerSet.md deleted file mode 100644 index 127191de..00000000 --- a/old_docs/API_docs_v75/constructors/messages_stickerSet.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.stickerSet -description: Stickerset and stickers inside it -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickerSet -[Back to constructors index](index.md) - - - -Stickerset and stickers inside it - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|set|[StickerSet](../types/StickerSet.md) | Yes|The stickerset| -|packs|Array of [StickerPack](../types/StickerPack.md) | Yes|Packs| -|documents|Array of [Document](../types/Document.md) | Yes|Documents| - - - -### Type: [messages\_StickerSet](../types/messages_StickerSet.md) - - -### Example: - -```php -$messages_stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'packs' => [StickerPack, StickerPack], 'documents' => [Document, Document]]; -``` - - -Or, if you're into Lua: - -```lua -messages_stickerSet={_='messages.stickerSet', set=StickerSet, packs={StickerPack}, documents={Document}} - -``` - - diff --git a/old_docs/API_docs_v75/constructors/messages_stickerSetInstallResultArchive.md b/old_docs/API_docs_v75/constructors/messages_stickerSetInstallResultArchive.md deleted file mode 100644 index 8a5f4d5d..00000000 --- a/old_docs/API_docs_v75/constructors/messages_stickerSetInstallResultArchive.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.stickerSetInstallResultArchive -description: The stickerset was installed, but since there are too many stickersets some were archived -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickerSetInstallResultArchive -[Back to constructors index](index.md) - - - -The stickerset was installed, but since there are too many stickersets some were archived - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| - - - -### Type: [messages\_StickerSetInstallResult](../types/messages_StickerSetInstallResult.md) - - -### Example: - -```php -$messages_stickerSetInstallResultArchive = ['_' => 'messages.stickerSetInstallResultArchive', 'sets' => [StickerSetCovered, StickerSetCovered]]; -``` - - -Or, if you're into Lua: - -```lua -messages_stickerSetInstallResultArchive={_='messages.stickerSetInstallResultArchive', sets={StickerSetCovered}} - -``` - - diff --git a/old_docs/API_docs_v75/constructors/messages_stickerSetInstallResultSuccess.md b/old_docs/API_docs_v75/constructors/messages_stickerSetInstallResultSuccess.md deleted file mode 100644 index 1d33b89f..00000000 --- a/old_docs/API_docs_v75/constructors/messages_stickerSetInstallResultSuccess.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.stickerSetInstallResultSuccess -description: The stickerset was installed successfully -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickerSetInstallResultSuccess -[Back to constructors index](index.md) - - - -The stickerset was installed successfully - - - - -### Type: [messages\_StickerSetInstallResult](../types/messages_StickerSetInstallResult.md) - - -### Example: - -```php -$messages_stickerSetInstallResultSuccess = ['_' => 'messages.stickerSetInstallResultSuccess']; -``` - - -Or, if you're into Lua: - -```lua -messages_stickerSetInstallResultSuccess={_='messages.stickerSetInstallResultSuccess'} - -``` - - diff --git a/old_docs/API_docs_v75/constructors/messages_stickers.md b/old_docs/API_docs_v75/constructors/messages_stickers.md deleted file mode 100644 index 1c007df2..00000000 --- a/old_docs/API_docs_v75/constructors/messages_stickers.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.stickers -description: Found stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickers -[Back to constructors index](index.md) - - - -Found stickers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[string](../types/string.md) | Yes|Hash| -|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| - - - -### Type: [messages\_Stickers](../types/messages_Stickers.md) - - -### Example: - -```php -$messages_stickers = ['_' => 'messages.stickers', 'hash' => 'string', 'stickers' => [Document, Document]]; -``` - - -Or, if you're into Lua: - -```lua -messages_stickers={_='messages.stickers', hash='string', stickers={Document}} - -``` - - diff --git a/old_docs/API_docs_v75/constructors/messages_stickersNotModified.md b/old_docs/API_docs_v75/constructors/messages_stickersNotModified.md deleted file mode 100644 index 3d434a79..00000000 --- a/old_docs/API_docs_v75/constructors/messages_stickersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.stickersNotModified -description: No new stickers were found for the given query -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickersNotModified -[Back to constructors index](index.md) - - - -No new stickers were found for the given query - - - - -### Type: [messages\_Stickers](../types/messages_Stickers.md) - - -### Example: - -```php -$messages_stickersNotModified = ['_' => 'messages.stickersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_stickersNotModified={_='messages.stickersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v75/constructors/payments.paymentForm.md b/old_docs/API_docs_v75/constructors/payments.paymentForm.md new file mode 100644 index 00000000..90e0f39d --- /dev/null +++ b/old_docs/API_docs_v75/constructors/payments.paymentForm.md @@ -0,0 +1,48 @@ +--- +title: payments.paymentForm +description: Payment form +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: payments.paymentForm +[Back to constructors index](index.md) + + + +Payment form + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|can\_save\_credentials|[Bool](../types/Bool.md) | Optional|Whether the user can choose to save credentials.| +|password\_missing|[Bool](../types/Bool.md) | Optional|Indicates that the user can save payment credentials, but only after setting up a [2FA password](https://core.telegram.org/api/srp) (currently the account doesn't have a [2FA password](https://core.telegram.org/api/srp))| +|bot\_id|[int](../types/int.md) | Yes|Bot ID| +|invoice|[Invoice](../types/Invoice.md) | Yes|Invoice| +|provider\_id|[int](../types/int.md) | Yes|Payment provider ID.| +|url|[string](../types/string.md) | Yes|Payment form URL| +|native\_provider|[string](../types/string.md) | Optional|Payment provider name.
One of the following:
\- `stripe`| +|native\_params|[DataJSON](../types/DataJSON.md) | Optional|Contains information about the payment provider, if available, to support it natively without the need for opening the URL.
A JSON object that can contain the following fields:

\- `publishable_key`: Stripe API publishable key
\- `apple_pay_merchant_id`: Apple Pay merchant ID
\- `android_pay_public_key`: Android Pay public key
\- `android_pay_bgcolor`: Android Pay form background color
\- `android_pay_inverse`: Whether to use the dark theme in the Android Pay form
\- `need_country`: True, if the user country must be provided,
\- `need_zip`: True, if the user ZIP/postal code must be provided,
\- `need_cardholder_name`: True, if the cardholder name must be provided
| +|saved\_info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Optional|Saved server-side order information| +|saved\_credentials|[PaymentSavedCredentials](../types/PaymentSavedCredentials.md) | Optional|Contains information about saved card credentials| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [payments.PaymentForm](../types/payments.PaymentForm.md) + + +### Example: + +```php +$payments.paymentForm = ['_' => 'payments.paymentForm', 'can_save_credentials' => Bool, 'password_missing' => Bool, 'bot_id' => int, 'invoice' => Invoice, 'provider_id' => int, 'url' => 'string', 'native_provider' => 'string', 'native_params' => DataJSON, 'saved_info' => PaymentRequestedInfo, 'saved_credentials' => PaymentSavedCredentials, 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +payments.paymentForm={_='payments.paymentForm', can_save_credentials=Bool, password_missing=Bool, bot_id=int, invoice=Invoice, provider_id=int, url='string', native_provider='string', native_params=DataJSON, saved_info=PaymentRequestedInfo, saved_credentials=PaymentSavedCredentials, users={User}} + +``` + + diff --git a/old_docs/API_docs_v75/constructors/payments.paymentReceipt.md b/old_docs/API_docs_v75/constructors/payments.paymentReceipt.md new file mode 100644 index 00000000..5a0cc190 --- /dev/null +++ b/old_docs/API_docs_v75/constructors/payments.paymentReceipt.md @@ -0,0 +1,47 @@ +--- +title: payments.paymentReceipt +description: Receipt +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: payments.paymentReceipt +[Back to constructors index](index.md) + + + +Receipt + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Date of generation| +|bot\_id|[int](../types/int.md) | Yes|Bot ID| +|invoice|[Invoice](../types/Invoice.md) | Yes|Invoice| +|provider\_id|[int](../types/int.md) | Yes|Provider ID| +|info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Optional|Info| +|shipping|[ShippingOption](../types/ShippingOption.md) | Optional|Selected shipping option| +|currency|[string](../types/string.md) | Yes|Three-letter ISO 4217 [currency](https://core.telegram.org/bots/payments#supported-currencies) code| +|total\_amount|[long](../types/long.md) | Yes|Total amount in the smallest units of the currency (integer, not float/double). For example, for a price of `US$ 1.45` pass `amount = 145`. See the exp parameter in [currencies.json](https://core.telegram.org/bots/payments/currencies.json), it shows the number of digits past the decimal point for each currency (2 for the majority of currencies).| +|credentials\_title|[string](../types/string.md) | Yes|Payment credential name| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [payments.PaymentReceipt](../types/payments.PaymentReceipt.md) + + +### Example: + +```php +$payments.paymentReceipt = ['_' => 'payments.paymentReceipt', 'date' => int, 'bot_id' => int, 'invoice' => Invoice, 'provider_id' => int, 'info' => PaymentRequestedInfo, 'shipping' => ShippingOption, 'currency' => 'string', 'total_amount' => long, 'credentials_title' => 'string', 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +payments.paymentReceipt={_='payments.paymentReceipt', date=int, bot_id=int, invoice=Invoice, provider_id=int, info=PaymentRequestedInfo, shipping=ShippingOption, currency='string', total_amount=long, credentials_title='string', users={User}} + +``` + + diff --git a/old_docs/API_docs_v75/constructors/payments.paymentResult.md b/old_docs/API_docs_v75/constructors/payments.paymentResult.md new file mode 100644 index 00000000..df32fd91 --- /dev/null +++ b/old_docs/API_docs_v75/constructors/payments.paymentResult.md @@ -0,0 +1,38 @@ +--- +title: payments.paymentResult +description: Payment result +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: payments.paymentResult +[Back to constructors index](index.md) + + + +Payment result + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|updates|[Updates](../types/Updates.md) | Yes|Info about the payment| + + + +### Type: [payments.PaymentResult](../types/payments.PaymentResult.md) + + +### Example: + +```php +$payments.paymentResult = ['_' => 'payments.paymentResult', 'updates' => Updates]; +``` + + +Or, if you're into Lua: + +```lua +payments.paymentResult={_='payments.paymentResult', updates=Updates} + +``` + + diff --git a/old_docs/API_docs_v75/constructors/payments.paymentVerficationNeeded.md b/old_docs/API_docs_v75/constructors/payments.paymentVerficationNeeded.md new file mode 100644 index 00000000..3f459215 --- /dev/null +++ b/old_docs/API_docs_v75/constructors/payments.paymentVerficationNeeded.md @@ -0,0 +1,38 @@ +--- +title: payments.paymentVerficationNeeded +description: Payment verfication needed +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: payments.paymentVerficationNeeded +[Back to constructors index](index.md) + + + +Payment verfication needed + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|url|[string](../types/string.md) | Yes|URL| + + + +### Type: [payments.PaymentResult](../types/payments.PaymentResult.md) + + +### Example: + +```php +$payments.paymentVerficationNeeded = ['_' => 'payments.paymentVerficationNeeded', 'url' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +payments.paymentVerficationNeeded={_='payments.paymentVerficationNeeded', url='string'} + +``` + + diff --git a/old_docs/API_docs_v75/constructors/payments.savedInfo.md b/old_docs/API_docs_v75/constructors/payments.savedInfo.md new file mode 100644 index 00000000..a005a842 --- /dev/null +++ b/old_docs/API_docs_v75/constructors/payments.savedInfo.md @@ -0,0 +1,39 @@ +--- +title: payments.savedInfo +description: Saved server-side order information +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: payments.savedInfo +[Back to constructors index](index.md) + + + +Saved server-side order information + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|has\_saved\_credentials|[Bool](../types/Bool.md) | Optional|Whether the user has some saved payment credentials| +|saved\_info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Optional|Saved server-side order information| + + + +### Type: [payments.SavedInfo](../types/payments.SavedInfo.md) + + +### Example: + +```php +$payments.savedInfo = ['_' => 'payments.savedInfo', 'has_saved_credentials' => Bool, 'saved_info' => PaymentRequestedInfo]; +``` + + +Or, if you're into Lua: + +```lua +payments.savedInfo={_='payments.savedInfo', has_saved_credentials=Bool, saved_info=PaymentRequestedInfo} + +``` + + diff --git a/old_docs/API_docs_v75/constructors/payments.validatedRequestedInfo.md b/old_docs/API_docs_v75/constructors/payments.validatedRequestedInfo.md new file mode 100644 index 00000000..4789b28d --- /dev/null +++ b/old_docs/API_docs_v75/constructors/payments.validatedRequestedInfo.md @@ -0,0 +1,39 @@ +--- +title: payments.validatedRequestedInfo +description: Validated user-provided info +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: payments.validatedRequestedInfo +[Back to constructors index](index.md) + + + +Validated user-provided info + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|id|[string](../types/string.md) | Optional|ID| +|shipping\_options|Array of [ShippingOption](../types/ShippingOption.md) | Optional|Shipping options| + + + +### Type: [payments.ValidatedRequestedInfo](../types/payments.ValidatedRequestedInfo.md) + + +### Example: + +```php +$payments.validatedRequestedInfo = ['_' => 'payments.validatedRequestedInfo', 'id' => 'string', 'shipping_options' => [ShippingOption, ShippingOption]]; +``` + + +Or, if you're into Lua: + +```lua +payments.validatedRequestedInfo={_='payments.validatedRequestedInfo', id='string', shipping_options={ShippingOption}} + +``` + + diff --git a/old_docs/API_docs_v75/constructors/payments_paymentForm.md b/old_docs/API_docs_v75/constructors/payments_paymentForm.md deleted file mode 100644 index 88848527..00000000 --- a/old_docs/API_docs_v75/constructors/payments_paymentForm.md +++ /dev/null @@ -1,48 +0,0 @@ ---- -title: payments.paymentForm -description: Payment form -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: payments.paymentForm -[Back to constructors index](index.md) - - - -Payment form - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|can\_save\_credentials|[Bool](../types/Bool.md) | Optional|Whether the user can choose to save credentials.| -|password\_missing|[Bool](../types/Bool.md) | Optional|Indicates that the user can save payment credentials, but only after setting up a [2FA password](https://core.telegram.org/api/srp) (currently the account doesn't have a [2FA password](https://core.telegram.org/api/srp))| -|bot\_id|[int](../types/int.md) | Yes|Bot ID| -|invoice|[Invoice](../types/Invoice.md) | Yes|Invoice| -|provider\_id|[int](../types/int.md) | Yes|Payment provider ID.| -|url|[string](../types/string.md) | Yes|Payment form URL| -|native\_provider|[string](../types/string.md) | Optional|Payment provider name.
One of the following:
\- `stripe`| -|native\_params|[DataJSON](../types/DataJSON.md) | Optional|Contains information about the payment provider, if available, to support it natively without the need for opening the URL.
A JSON object that can contain the following fields:

\- `publishable_key`: Stripe API publishable key
\- `apple_pay_merchant_id`: Apple Pay merchant ID
\- `android_pay_public_key`: Android Pay public key
\- `android_pay_bgcolor`: Android Pay form background color
\- `android_pay_inverse`: Whether to use the dark theme in the Android Pay form
\- `need_country`: True, if the user country must be provided,
\- `need_zip`: True, if the user ZIP/postal code must be provided,
\- `need_cardholder_name`: True, if the cardholder name must be provided
| -|saved\_info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Optional|Saved server-side order information| -|saved\_credentials|[PaymentSavedCredentials](../types/PaymentSavedCredentials.md) | Optional|Contains information about saved card credentials| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [payments\_PaymentForm](../types/payments_PaymentForm.md) - - -### Example: - -```php -$payments_paymentForm = ['_' => 'payments.paymentForm', 'can_save_credentials' => Bool, 'password_missing' => Bool, 'bot_id' => int, 'invoice' => Invoice, 'provider_id' => int, 'url' => 'string', 'native_provider' => 'string', 'native_params' => DataJSON, 'saved_info' => PaymentRequestedInfo, 'saved_credentials' => PaymentSavedCredentials, 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -payments_paymentForm={_='payments.paymentForm', can_save_credentials=Bool, password_missing=Bool, bot_id=int, invoice=Invoice, provider_id=int, url='string', native_provider='string', native_params=DataJSON, saved_info=PaymentRequestedInfo, saved_credentials=PaymentSavedCredentials, users={User}} - -``` - - diff --git a/old_docs/API_docs_v75/constructors/payments_paymentReceipt.md b/old_docs/API_docs_v75/constructors/payments_paymentReceipt.md deleted file mode 100644 index 411e9dee..00000000 --- a/old_docs/API_docs_v75/constructors/payments_paymentReceipt.md +++ /dev/null @@ -1,47 +0,0 @@ ---- -title: payments.paymentReceipt -description: Receipt -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: payments.paymentReceipt -[Back to constructors index](index.md) - - - -Receipt - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Date of generation| -|bot\_id|[int](../types/int.md) | Yes|Bot ID| -|invoice|[Invoice](../types/Invoice.md) | Yes|Invoice| -|provider\_id|[int](../types/int.md) | Yes|Provider ID| -|info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Optional|Info| -|shipping|[ShippingOption](../types/ShippingOption.md) | Optional|Selected shipping option| -|currency|[string](../types/string.md) | Yes|Three-letter ISO 4217 [currency](https://core.telegram.org/bots/payments#supported-currencies) code| -|total\_amount|[long](../types/long.md) | Yes|Total amount in the smallest units of the currency (integer, not float/double). For example, for a price of `US$ 1.45` pass `amount = 145`. See the exp parameter in [currencies.json](https://core.telegram.org/bots/payments/currencies.json), it shows the number of digits past the decimal point for each currency (2 for the majority of currencies).| -|credentials\_title|[string](../types/string.md) | Yes|Payment credential name| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [payments\_PaymentReceipt](../types/payments_PaymentReceipt.md) - - -### Example: - -```php -$payments_paymentReceipt = ['_' => 'payments.paymentReceipt', 'date' => int, 'bot_id' => int, 'invoice' => Invoice, 'provider_id' => int, 'info' => PaymentRequestedInfo, 'shipping' => ShippingOption, 'currency' => 'string', 'total_amount' => long, 'credentials_title' => 'string', 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -payments_paymentReceipt={_='payments.paymentReceipt', date=int, bot_id=int, invoice=Invoice, provider_id=int, info=PaymentRequestedInfo, shipping=ShippingOption, currency='string', total_amount=long, credentials_title='string', users={User}} - -``` - - diff --git a/old_docs/API_docs_v75/constructors/payments_paymentResult.md b/old_docs/API_docs_v75/constructors/payments_paymentResult.md deleted file mode 100644 index 12af1d36..00000000 --- a/old_docs/API_docs_v75/constructors/payments_paymentResult.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: payments.paymentResult -description: Payment result -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: payments.paymentResult -[Back to constructors index](index.md) - - - -Payment result - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|updates|[Updates](../types/Updates.md) | Yes|Info about the payment| - - - -### Type: [payments\_PaymentResult](../types/payments_PaymentResult.md) - - -### Example: - -```php -$payments_paymentResult = ['_' => 'payments.paymentResult', 'updates' => Updates]; -``` - - -Or, if you're into Lua: - -```lua -payments_paymentResult={_='payments.paymentResult', updates=Updates} - -``` - - diff --git a/old_docs/API_docs_v75/constructors/payments_paymentVerficationNeeded.md b/old_docs/API_docs_v75/constructors/payments_paymentVerficationNeeded.md deleted file mode 100644 index 70ca205d..00000000 --- a/old_docs/API_docs_v75/constructors/payments_paymentVerficationNeeded.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: payments.paymentVerficationNeeded -description: Payment verfication needed -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: payments.paymentVerficationNeeded -[Back to constructors index](index.md) - - - -Payment verfication needed - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|url|[string](../types/string.md) | Yes|URL| - - - -### Type: [payments\_PaymentResult](../types/payments_PaymentResult.md) - - -### Example: - -```php -$payments_paymentVerficationNeeded = ['_' => 'payments.paymentVerficationNeeded', 'url' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -payments_paymentVerficationNeeded={_='payments.paymentVerficationNeeded', url='string'} - -``` - - diff --git a/old_docs/API_docs_v75/constructors/payments_savedInfo.md b/old_docs/API_docs_v75/constructors/payments_savedInfo.md deleted file mode 100644 index 19d3aee5..00000000 --- a/old_docs/API_docs_v75/constructors/payments_savedInfo.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: payments.savedInfo -description: Saved server-side order information -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: payments.savedInfo -[Back to constructors index](index.md) - - - -Saved server-side order information - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|has\_saved\_credentials|[Bool](../types/Bool.md) | Optional|Whether the user has some saved payment credentials| -|saved\_info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Optional|Saved server-side order information| - - - -### Type: [payments\_SavedInfo](../types/payments_SavedInfo.md) - - -### Example: - -```php -$payments_savedInfo = ['_' => 'payments.savedInfo', 'has_saved_credentials' => Bool, 'saved_info' => PaymentRequestedInfo]; -``` - - -Or, if you're into Lua: - -```lua -payments_savedInfo={_='payments.savedInfo', has_saved_credentials=Bool, saved_info=PaymentRequestedInfo} - -``` - - diff --git a/old_docs/API_docs_v75/constructors/payments_validatedRequestedInfo.md b/old_docs/API_docs_v75/constructors/payments_validatedRequestedInfo.md deleted file mode 100644 index a07c7d06..00000000 --- a/old_docs/API_docs_v75/constructors/payments_validatedRequestedInfo.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: payments.validatedRequestedInfo -description: Validated user-provided info -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: payments.validatedRequestedInfo -[Back to constructors index](index.md) - - - -Validated user-provided info - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|id|[string](../types/string.md) | Optional|ID| -|shipping\_options|Array of [ShippingOption](../types/ShippingOption.md) | Optional|Shipping options| - - - -### Type: [payments\_ValidatedRequestedInfo](../types/payments_ValidatedRequestedInfo.md) - - -### Example: - -```php -$payments_validatedRequestedInfo = ['_' => 'payments.validatedRequestedInfo', 'id' => 'string', 'shipping_options' => [ShippingOption, ShippingOption]]; -``` - - -Or, if you're into Lua: - -```lua -payments_validatedRequestedInfo={_='payments.validatedRequestedInfo', id='string', shipping_options={ShippingOption}} - -``` - - diff --git a/old_docs/API_docs_v75/constructors/phone.phoneCall.md b/old_docs/API_docs_v75/constructors/phone.phoneCall.md new file mode 100644 index 00000000..8c1d26d4 --- /dev/null +++ b/old_docs/API_docs_v75/constructors/phone.phoneCall.md @@ -0,0 +1,39 @@ +--- +title: phone.phoneCall +description: A VoIP phone call +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: phone.phoneCall +[Back to constructors index](index.md) + + + +A VoIP phone call + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_call|[PhoneCall](../types/PhoneCall.md) | Optional|The VoIP phone call| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [phone.PhoneCall](../types/phone.PhoneCall.md) + + +### Example: + +```php +$phone.phoneCall = ['_' => 'phone.phoneCall', 'phone_call' => PhoneCall, 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +phone.phoneCall={_='phone.phoneCall', phone_call=PhoneCall, users={User}} + +``` + + diff --git a/old_docs/API_docs_v75/constructors/phone_phoneCall.md b/old_docs/API_docs_v75/constructors/phone_phoneCall.md deleted file mode 100644 index 94314567..00000000 --- a/old_docs/API_docs_v75/constructors/phone_phoneCall.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: phone.phoneCall -description: A VoIP phone call -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: phone.phoneCall -[Back to constructors index](index.md) - - - -A VoIP phone call - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_call|[PhoneCall](../types/PhoneCall.md) | Optional|The VoIP phone call| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [phone\_PhoneCall](../types/phone_PhoneCall.md) - - -### Example: - -```php -$phone_phoneCall = ['_' => 'phone.phoneCall', 'phone_call' => PhoneCall, 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -phone_phoneCall={_='phone.phoneCall', phone_call=PhoneCall, users={User}} - -``` - - diff --git a/old_docs/API_docs_v75/constructors/photos.photo.md b/old_docs/API_docs_v75/constructors/photos.photo.md new file mode 100644 index 00000000..43d3efc7 --- /dev/null +++ b/old_docs/API_docs_v75/constructors/photos.photo.md @@ -0,0 +1,39 @@ +--- +title: photos.photo +description: Photo with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: photos.photo +[Back to constructors index](index.md) + + + +Photo with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|photo|[Photo](../types/Photo.md) | Optional|Photo| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [photos.Photo](../types/photos.Photo.md) + + +### Example: + +```php +$photos.photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +photos.photo={_='photos.photo', photo=Photo, users={User}} + +``` + + diff --git a/old_docs/API_docs_v75/constructors/photos.photos.md b/old_docs/API_docs_v75/constructors/photos.photos.md new file mode 100644 index 00000000..901a9693 --- /dev/null +++ b/old_docs/API_docs_v75/constructors/photos.photos.md @@ -0,0 +1,39 @@ +--- +title: photos.photos +description: Full list of photos with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: photos.photos +[Back to constructors index](index.md) + + + +Full list of photos with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [photos.Photos](../types/photos.Photos.md) + + +### Example: + +```php +$photos.photos = ['_' => 'photos.photos', 'photos' => [Photo, Photo], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +photos.photos={_='photos.photos', photos={Photo}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v75/constructors/photos.photosSlice.md b/old_docs/API_docs_v75/constructors/photos.photosSlice.md new file mode 100644 index 00000000..2cca3546 --- /dev/null +++ b/old_docs/API_docs_v75/constructors/photos.photosSlice.md @@ -0,0 +1,40 @@ +--- +title: photos.photosSlice +description: Incomplete list of photos with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: photos.photosSlice +[Back to constructors index](index.md) + + + +Incomplete list of photos with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of photos| +|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [photos.Photos](../types/photos.Photos.md) + + +### Example: + +```php +$photos.photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo, Photo], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +photos.photosSlice={_='photos.photosSlice', count=int, photos={Photo}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v75/constructors/photos_photo.md b/old_docs/API_docs_v75/constructors/photos_photo.md deleted file mode 100644 index d5ad61d9..00000000 --- a/old_docs/API_docs_v75/constructors/photos_photo.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: photos.photo -description: Photo with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: photos.photo -[Back to constructors index](index.md) - - - -Photo with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|photo|[Photo](../types/Photo.md) | Optional|Photo| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [photos\_Photo](../types/photos_Photo.md) - - -### Example: - -```php -$photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -photos_photo={_='photos.photo', photo=Photo, users={User}} - -``` - - diff --git a/old_docs/API_docs_v75/constructors/photos_photos.md b/old_docs/API_docs_v75/constructors/photos_photos.md deleted file mode 100644 index 6ae5d048..00000000 --- a/old_docs/API_docs_v75/constructors/photos_photos.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: photos.photos -description: Full list of photos with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: photos.photos -[Back to constructors index](index.md) - - - -Full list of photos with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [photos\_Photos](../types/photos_Photos.md) - - -### Example: - -```php -$photos_photos = ['_' => 'photos.photos', 'photos' => [Photo, Photo], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -photos_photos={_='photos.photos', photos={Photo}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v75/constructors/photos_photosSlice.md b/old_docs/API_docs_v75/constructors/photos_photosSlice.md deleted file mode 100644 index 5c465c21..00000000 --- a/old_docs/API_docs_v75/constructors/photos_photosSlice.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: photos.photosSlice -description: Incomplete list of photos with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: photos.photosSlice -[Back to constructors index](index.md) - - - -Incomplete list of photos with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of photos| -|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [photos\_Photos](../types/photos_Photos.md) - - -### Example: - -```php -$photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo, Photo], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -photos_photosSlice={_='photos.photosSlice', count=int, photos={Photo}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v75/constructors/storage.fileGif.md b/old_docs/API_docs_v75/constructors/storage.fileGif.md new file mode 100644 index 00000000..8193bd25 --- /dev/null +++ b/old_docs/API_docs_v75/constructors/storage.fileGif.md @@ -0,0 +1,33 @@ +--- +title: storage.fileGif +description: GIF image. MIME type: `image/gif`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileGif +[Back to constructors index](index.md) + + + +GIF image. MIME type: `image/gif`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileGif = ['_' => 'storage.fileGif']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileGif={_='storage.fileGif'} + +``` + + diff --git a/old_docs/API_docs_v75/constructors/storage.fileJpeg.md b/old_docs/API_docs_v75/constructors/storage.fileJpeg.md new file mode 100644 index 00000000..7f125963 --- /dev/null +++ b/old_docs/API_docs_v75/constructors/storage.fileJpeg.md @@ -0,0 +1,33 @@ +--- +title: storage.fileJpeg +description: JPEG image. MIME type: `image/jpeg`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileJpeg +[Back to constructors index](index.md) + + + +JPEG image. MIME type: `image/jpeg`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileJpeg = ['_' => 'storage.fileJpeg']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileJpeg={_='storage.fileJpeg'} + +``` + + diff --git a/old_docs/API_docs_v75/constructors/storage.fileMov.md b/old_docs/API_docs_v75/constructors/storage.fileMov.md new file mode 100644 index 00000000..cb3742e0 --- /dev/null +++ b/old_docs/API_docs_v75/constructors/storage.fileMov.md @@ -0,0 +1,33 @@ +--- +title: storage.fileMov +description: Quicktime video. MIME type: `video/quicktime`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileMov +[Back to constructors index](index.md) + + + +Quicktime video. MIME type: `video/quicktime`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileMov = ['_' => 'storage.fileMov']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileMov={_='storage.fileMov'} + +``` + + diff --git a/old_docs/API_docs_v75/constructors/storage.fileMp3.md b/old_docs/API_docs_v75/constructors/storage.fileMp3.md new file mode 100644 index 00000000..617f2d39 --- /dev/null +++ b/old_docs/API_docs_v75/constructors/storage.fileMp3.md @@ -0,0 +1,33 @@ +--- +title: storage.fileMp3 +description: Mp3 audio. MIME type: `audio/mpeg`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileMp3 +[Back to constructors index](index.md) + + + +Mp3 audio. MIME type: `audio/mpeg`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileMp3 = ['_' => 'storage.fileMp3']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileMp3={_='storage.fileMp3'} + +``` + + diff --git a/old_docs/API_docs_v75/constructors/storage.fileMp4.md b/old_docs/API_docs_v75/constructors/storage.fileMp4.md new file mode 100644 index 00000000..37038176 --- /dev/null +++ b/old_docs/API_docs_v75/constructors/storage.fileMp4.md @@ -0,0 +1,33 @@ +--- +title: storage.fileMp4 +description: MPEG-4 video. MIME type: `video/mp4`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileMp4 +[Back to constructors index](index.md) + + + +MPEG-4 video. MIME type: `video/mp4`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileMp4 = ['_' => 'storage.fileMp4']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileMp4={_='storage.fileMp4'} + +``` + + diff --git a/old_docs/API_docs_v75/constructors/storage.filePartial.md b/old_docs/API_docs_v75/constructors/storage.filePartial.md new file mode 100644 index 00000000..98779e71 --- /dev/null +++ b/old_docs/API_docs_v75/constructors/storage.filePartial.md @@ -0,0 +1,33 @@ +--- +title: storage.filePartial +description: Part of a bigger file. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.filePartial +[Back to constructors index](index.md) + + + +Part of a bigger file. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.filePartial = ['_' => 'storage.filePartial']; +``` + + +Or, if you're into Lua: + +```lua +storage.filePartial={_='storage.filePartial'} + +``` + + diff --git a/old_docs/API_docs_v75/constructors/storage.filePdf.md b/old_docs/API_docs_v75/constructors/storage.filePdf.md new file mode 100644 index 00000000..136c0614 --- /dev/null +++ b/old_docs/API_docs_v75/constructors/storage.filePdf.md @@ -0,0 +1,33 @@ +--- +title: storage.filePdf +description: PDF document image. MIME type: `application/pdf`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.filePdf +[Back to constructors index](index.md) + + + +PDF document image. MIME type: `application/pdf`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.filePdf = ['_' => 'storage.filePdf']; +``` + + +Or, if you're into Lua: + +```lua +storage.filePdf={_='storage.filePdf'} + +``` + + diff --git a/old_docs/API_docs_v75/constructors/storage.filePng.md b/old_docs/API_docs_v75/constructors/storage.filePng.md new file mode 100644 index 00000000..db01ce0e --- /dev/null +++ b/old_docs/API_docs_v75/constructors/storage.filePng.md @@ -0,0 +1,33 @@ +--- +title: storage.filePng +description: PNG image. MIME type: `image/png`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.filePng +[Back to constructors index](index.md) + + + +PNG image. MIME type: `image/png`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.filePng = ['_' => 'storage.filePng']; +``` + + +Or, if you're into Lua: + +```lua +storage.filePng={_='storage.filePng'} + +``` + + diff --git a/old_docs/API_docs_v75/constructors/storage.fileUnknown.md b/old_docs/API_docs_v75/constructors/storage.fileUnknown.md new file mode 100644 index 00000000..26f0a5ae --- /dev/null +++ b/old_docs/API_docs_v75/constructors/storage.fileUnknown.md @@ -0,0 +1,33 @@ +--- +title: storage.fileUnknown +description: Unknown type. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileUnknown +[Back to constructors index](index.md) + + + +Unknown type. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileUnknown = ['_' => 'storage.fileUnknown']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileUnknown={_='storage.fileUnknown'} + +``` + + diff --git a/old_docs/API_docs_v75/constructors/storage.fileWebp.md b/old_docs/API_docs_v75/constructors/storage.fileWebp.md new file mode 100644 index 00000000..63c9ded1 --- /dev/null +++ b/old_docs/API_docs_v75/constructors/storage.fileWebp.md @@ -0,0 +1,33 @@ +--- +title: storage.fileWebp +description: WEBP image. MIME type: `image/webp`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileWebp +[Back to constructors index](index.md) + + + +WEBP image. MIME type: `image/webp`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileWebp = ['_' => 'storage.fileWebp']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileWebp={_='storage.fileWebp'} + +``` + + diff --git a/old_docs/API_docs_v75/constructors/storage_fileGif.md b/old_docs/API_docs_v75/constructors/storage_fileGif.md deleted file mode 100644 index 218c7491..00000000 --- a/old_docs/API_docs_v75/constructors/storage_fileGif.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileGif -description: GIF image. MIME type: `image/gif`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileGif -[Back to constructors index](index.md) - - - -GIF image. MIME type: `image/gif`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileGif = ['_' => 'storage.fileGif']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileGif={_='storage.fileGif'} - -``` - - diff --git a/old_docs/API_docs_v75/constructors/storage_fileJpeg.md b/old_docs/API_docs_v75/constructors/storage_fileJpeg.md deleted file mode 100644 index 925531cd..00000000 --- a/old_docs/API_docs_v75/constructors/storage_fileJpeg.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileJpeg -description: JPEG image. MIME type: `image/jpeg`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileJpeg -[Back to constructors index](index.md) - - - -JPEG image. MIME type: `image/jpeg`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileJpeg = ['_' => 'storage.fileJpeg']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileJpeg={_='storage.fileJpeg'} - -``` - - diff --git a/old_docs/API_docs_v75/constructors/storage_fileMov.md b/old_docs/API_docs_v75/constructors/storage_fileMov.md deleted file mode 100644 index eaf2a6ff..00000000 --- a/old_docs/API_docs_v75/constructors/storage_fileMov.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileMov -description: Quicktime video. MIME type: `video/quicktime`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileMov -[Back to constructors index](index.md) - - - -Quicktime video. MIME type: `video/quicktime`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileMov = ['_' => 'storage.fileMov']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileMov={_='storage.fileMov'} - -``` - - diff --git a/old_docs/API_docs_v75/constructors/storage_fileMp3.md b/old_docs/API_docs_v75/constructors/storage_fileMp3.md deleted file mode 100644 index 9afcefbb..00000000 --- a/old_docs/API_docs_v75/constructors/storage_fileMp3.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileMp3 -description: Mp3 audio. MIME type: `audio/mpeg`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileMp3 -[Back to constructors index](index.md) - - - -Mp3 audio. MIME type: `audio/mpeg`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileMp3 = ['_' => 'storage.fileMp3']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileMp3={_='storage.fileMp3'} - -``` - - diff --git a/old_docs/API_docs_v75/constructors/storage_fileMp4.md b/old_docs/API_docs_v75/constructors/storage_fileMp4.md deleted file mode 100644 index cdc0e783..00000000 --- a/old_docs/API_docs_v75/constructors/storage_fileMp4.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileMp4 -description: MPEG-4 video. MIME type: `video/mp4`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileMp4 -[Back to constructors index](index.md) - - - -MPEG-4 video. MIME type: `video/mp4`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileMp4 = ['_' => 'storage.fileMp4']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileMp4={_='storage.fileMp4'} - -``` - - diff --git a/old_docs/API_docs_v75/constructors/storage_filePartial.md b/old_docs/API_docs_v75/constructors/storage_filePartial.md deleted file mode 100644 index 9bfadf63..00000000 --- a/old_docs/API_docs_v75/constructors/storage_filePartial.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.filePartial -description: Part of a bigger file. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.filePartial -[Back to constructors index](index.md) - - - -Part of a bigger file. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_filePartial = ['_' => 'storage.filePartial']; -``` - - -Or, if you're into Lua: - -```lua -storage_filePartial={_='storage.filePartial'} - -``` - - diff --git a/old_docs/API_docs_v75/constructors/storage_filePdf.md b/old_docs/API_docs_v75/constructors/storage_filePdf.md deleted file mode 100644 index efb022cc..00000000 --- a/old_docs/API_docs_v75/constructors/storage_filePdf.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.filePdf -description: PDF document image. MIME type: `application/pdf`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.filePdf -[Back to constructors index](index.md) - - - -PDF document image. MIME type: `application/pdf`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_filePdf = ['_' => 'storage.filePdf']; -``` - - -Or, if you're into Lua: - -```lua -storage_filePdf={_='storage.filePdf'} - -``` - - diff --git a/old_docs/API_docs_v75/constructors/storage_filePng.md b/old_docs/API_docs_v75/constructors/storage_filePng.md deleted file mode 100644 index 412759e4..00000000 --- a/old_docs/API_docs_v75/constructors/storage_filePng.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.filePng -description: PNG image. MIME type: `image/png`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.filePng -[Back to constructors index](index.md) - - - -PNG image. MIME type: `image/png`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_filePng = ['_' => 'storage.filePng']; -``` - - -Or, if you're into Lua: - -```lua -storage_filePng={_='storage.filePng'} - -``` - - diff --git a/old_docs/API_docs_v75/constructors/storage_fileUnknown.md b/old_docs/API_docs_v75/constructors/storage_fileUnknown.md deleted file mode 100644 index ed33dd5e..00000000 --- a/old_docs/API_docs_v75/constructors/storage_fileUnknown.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileUnknown -description: Unknown type. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileUnknown -[Back to constructors index](index.md) - - - -Unknown type. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileUnknown = ['_' => 'storage.fileUnknown']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileUnknown={_='storage.fileUnknown'} - -``` - - diff --git a/old_docs/API_docs_v75/constructors/storage_fileWebp.md b/old_docs/API_docs_v75/constructors/storage_fileWebp.md deleted file mode 100644 index 04dcad74..00000000 --- a/old_docs/API_docs_v75/constructors/storage_fileWebp.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileWebp -description: WEBP image. MIME type: `image/webp`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileWebp -[Back to constructors index](index.md) - - - -WEBP image. MIME type: `image/webp`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileWebp = ['_' => 'storage.fileWebp']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileWebp={_='storage.fileWebp'} - -``` - - diff --git a/old_docs/API_docs_v75/constructors/updateNewStickerSet.md b/old_docs/API_docs_v75/constructors/updateNewStickerSet.md index 8a99a363..c32c41ff 100644 --- a/old_docs/API_docs_v75/constructors/updateNewStickerSet.md +++ b/old_docs/API_docs_v75/constructors/updateNewStickerSet.md @@ -14,7 +14,7 @@ A new stickerset was installed | Name | Type | Required | Description | |----------|---------------|----------|-------------| -|stickerset|[messages\_StickerSet](../types/messages_StickerSet.md) | Yes|The installed stickerset| +|stickerset|[messages.StickerSet](../constructors/messages.StickerSet.md) | Yes|The installed stickerset| @@ -24,14 +24,14 @@ A new stickerset was installed ### Example: ```php -$updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages_StickerSet]; +$updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages.StickerSet]; ``` Or, if you're into Lua: ```lua -updateNewStickerSet={_='updateNewStickerSet', stickerset=messages_StickerSet} +updateNewStickerSet={_='updateNewStickerSet', stickerset=messages.StickerSet} ``` diff --git a/old_docs/API_docs_v75/constructors/updates.channelDifference.md b/old_docs/API_docs_v75/constructors/updates.channelDifference.md new file mode 100644 index 00000000..5a13791c --- /dev/null +++ b/old_docs/API_docs_v75/constructors/updates.channelDifference.md @@ -0,0 +1,44 @@ +--- +title: updates.channelDifference +description: The new updates +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.channelDifference +[Back to constructors index](index.md) + + + +The new updates + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates to be fetched using getDifference, starting from the provided `pts`| +|pts|[int](../types/int.md) | Yes|The [PTS](https://core.telegram.org/api/updates) from which to start getting updates the next time| +|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| +|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| +|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [updates.ChannelDifference](../types/updates.ChannelDifference.md) + + +### Example: + +```php +$updates.channelDifference = ['_' => 'updates.channelDifference', 'final' => Bool, 'pts' => int, 'timeout' => int, 'new_messages' => [Message, Message], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +updates.channelDifference={_='updates.channelDifference', final=Bool, pts=int, timeout=int, new_messages={Message}, other_updates={Update}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v75/constructors/updates.channelDifferenceEmpty.md b/old_docs/API_docs_v75/constructors/updates.channelDifferenceEmpty.md new file mode 100644 index 00000000..8ce43da4 --- /dev/null +++ b/old_docs/API_docs_v75/constructors/updates.channelDifferenceEmpty.md @@ -0,0 +1,40 @@ +--- +title: updates.channelDifferenceEmpty +description: There are no new updates +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.channelDifferenceEmpty +[Back to constructors index](index.md) + + + +There are no new updates + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates that must be fetched (always false)| +|pts|[int](../types/int.md) | Yes|The latest [PTS](https://core.telegram.org/api/updates)| +|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| + + + +### Type: [updates.ChannelDifference](../types/updates.ChannelDifference.md) + + +### Example: + +```php +$updates.channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'final' => Bool, 'pts' => int, 'timeout' => int]; +``` + + +Or, if you're into Lua: + +```lua +updates.channelDifferenceEmpty={_='updates.channelDifferenceEmpty', final=Bool, pts=int, timeout=int} + +``` + + diff --git a/old_docs/API_docs_v75/constructors/updates.channelDifferenceTooLong.md b/old_docs/API_docs_v75/constructors/updates.channelDifferenceTooLong.md new file mode 100644 index 00000000..9290856d --- /dev/null +++ b/old_docs/API_docs_v75/constructors/updates.channelDifferenceTooLong.md @@ -0,0 +1,58 @@ +--- +title: updates.channelDifferenceTooLong +description: The provided `pts + limit < remote pts`. Simply, there are too many updates to be fetched (more than `limit`), the client has to resolve the update gap in one of the following ways: + +1. Delete all known messages in the chat, begin from scratch by refetching all messages manually with [getHistory](../methods/messages.getHistory.md). It is easy to implement, but suddenly disappearing messages looks awful for the user. +2. Save all messages loaded in the memory until application restart, but delete all messages from database. Messages left in the memory must be lazily updated using calls to [getHistory](../methods/messages.getHistory.md). It looks much smoothly for the user, he will need to redownload messages only after client restart. Unsynchronized messages left in the memory shouldn't be saved to database, results of [getHistory](../methods/messages.getHistory.md) and [getMessages](../methods/messages.getMessages.md) must be used to update state of deleted and edited messages left in the memory. +3. Save all messages loaded in the memory and stored in the database without saving that some messages form continuous ranges. Messages in the database will be excluded from results of getChatHistory and searchChatMessages after application restart and will be available only through getMessage. Every message should still be checked using getHistory. It has more disadvantages over 2) than advantages. +4. Save all messages with saving all data about continuous message ranges. Messages from the database may be used as results of getChatHistory and (if implemented continuous ranges support for searching shared media) searchChatMessages. The messages should still be lazily checked using getHistory, but they are still available offline. It is the best way for gaps support, but it is pretty hard to implement correctly. It should be also noted that some messages like live location messages shouldn't be deleted. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.channelDifferenceTooLong +[Back to constructors index](index.md) + + + +The provided `pts + limit < remote pts`. Simply, there are too many updates to be fetched (more than `limit`), the client has to resolve the update gap in one of the following ways: + +1. Delete all known messages in the chat, begin from scratch by refetching all messages manually with [getHistory](../methods/messages.getHistory.md). It is easy to implement, but suddenly disappearing messages looks awful for the user. +2. Save all messages loaded in the memory until application restart, but delete all messages from database. Messages left in the memory must be lazily updated using calls to [getHistory](../methods/messages.getHistory.md). It looks much smoothly for the user, he will need to redownload messages only after client restart. Unsynchronized messages left in the memory shouldn't be saved to database, results of [getHistory](../methods/messages.getHistory.md) and [getMessages](../methods/messages.getMessages.md) must be used to update state of deleted and edited messages left in the memory. +3. Save all messages loaded in the memory and stored in the database without saving that some messages form continuous ranges. Messages in the database will be excluded from results of getChatHistory and searchChatMessages after application restart and will be available only through getMessage. Every message should still be checked using getHistory. It has more disadvantages over 2) than advantages. +4. Save all messages with saving all data about continuous message ranges. Messages from the database may be used as results of getChatHistory and (if implemented continuous ranges support for searching shared media) searchChatMessages. The messages should still be lazily checked using getHistory, but they are still available offline. It is the best way for gaps support, but it is pretty hard to implement correctly. It should be also noted that some messages like live location messages shouldn't be deleted. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates that must be fetched (always false)| +|pts|[int](../types/int.md) | Yes|Pts| +|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| +|top\_message|[int](../types/int.md) | Yes|Top message| +|read\_inbox\_max\_id|[int](../types/int.md) | Yes|Read inbox max ID| +|read\_outbox\_max\_id|[int](../types/int.md) | Yes|Read outbox max ID| +|unread\_count|[int](../types/int.md) | Yes|Unread count| +|unread\_mentions\_count|[int](../types/int.md) | Yes|Unread mentions count| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [updates.ChannelDifference](../types/updates.ChannelDifference.md) + + +### Example: + +```php +$updates.channelDifferenceTooLong = ['_' => 'updates.channelDifferenceTooLong', 'final' => Bool, 'pts' => int, 'timeout' => int, 'top_message' => int, 'read_inbox_max_id' => int, 'read_outbox_max_id' => int, 'unread_count' => int, 'unread_mentions_count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +updates.channelDifferenceTooLong={_='updates.channelDifferenceTooLong', final=Bool, pts=int, timeout=int, top_message=int, read_inbox_max_id=int, read_outbox_max_id=int, unread_count=int, unread_mentions_count=int, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v75/constructors/updates.difference.md b/old_docs/API_docs_v75/constructors/updates.difference.md new file mode 100644 index 00000000..82541b51 --- /dev/null +++ b/old_docs/API_docs_v75/constructors/updates.difference.md @@ -0,0 +1,43 @@ +--- +title: updates.difference +description: Full list of occurred events. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.difference +[Back to constructors index](index.md) + + + +Full list of occurred events. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| +|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| +|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| +|state|[updates.State](../constructors/updates.State.md) | Yes|Current state| + + + +### Type: [updates.Difference](../types/updates.Difference.md) + + +### Example: + +```php +$updates.difference = ['_' => 'updates.difference', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates.State]; +``` + + +Or, if you're into Lua: + +```lua +updates.difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates.State} + +``` + + diff --git a/old_docs/API_docs_v75/constructors/updates.differenceEmpty.md b/old_docs/API_docs_v75/constructors/updates.differenceEmpty.md new file mode 100644 index 00000000..a9dc3bd0 --- /dev/null +++ b/old_docs/API_docs_v75/constructors/updates.differenceEmpty.md @@ -0,0 +1,39 @@ +--- +title: updates.differenceEmpty +description: No events. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.differenceEmpty +[Back to constructors index](index.md) + + + +No events. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Current date| +|seq|[int](../types/int.md) | Yes|Number of sent updates| + + + +### Type: [updates.Difference](../types/updates.Difference.md) + + +### Example: + +```php +$updates.differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int]; +``` + + +Or, if you're into Lua: + +```lua +updates.differenceEmpty={_='updates.differenceEmpty', date=int, seq=int} + +``` + + diff --git a/old_docs/API_docs_v75/constructors/updates.differenceSlice.md b/old_docs/API_docs_v75/constructors/updates.differenceSlice.md new file mode 100644 index 00000000..9daf7a75 --- /dev/null +++ b/old_docs/API_docs_v75/constructors/updates.differenceSlice.md @@ -0,0 +1,43 @@ +--- +title: updates.differenceSlice +description: Incomplete list of occurred events. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.differenceSlice +[Back to constructors index](index.md) + + + +Incomplete list of occurred events. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| +|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| +|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| +|intermediate\_state|[updates.State](../constructors/updates.State.md) | Yes|Intermediary state| + + + +### Type: [updates.Difference](../types/updates.Difference.md) + + +### Example: + +```php +$updates.differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'intermediate_state' => updates.State]; +``` + + +Or, if you're into Lua: + +```lua +updates.differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates.State} + +``` + + diff --git a/old_docs/API_docs_v75/constructors/updates.differenceTooLong.md b/old_docs/API_docs_v75/constructors/updates.differenceTooLong.md new file mode 100644 index 00000000..ef2e7e4d --- /dev/null +++ b/old_docs/API_docs_v75/constructors/updates.differenceTooLong.md @@ -0,0 +1,38 @@ +--- +title: updates.differenceTooLong +description: The difference is [too long](https://core.telegram.org/api/updates#recovering-gaps), and the specified state must be used to refetch updates. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.differenceTooLong +[Back to constructors index](index.md) + + + +The difference is [too long](https://core.telegram.org/api/updates#recovering-gaps), and the specified state must be used to refetch updates. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|The new state to use.| + + + +### Type: [updates.Difference](../types/updates.Difference.md) + + +### Example: + +```php +$updates.differenceTooLong = ['_' => 'updates.differenceTooLong', 'pts' => int]; +``` + + +Or, if you're into Lua: + +```lua +updates.differenceTooLong={_='updates.differenceTooLong', pts=int} + +``` + + diff --git a/old_docs/API_docs_v75/constructors/updates.state.md b/old_docs/API_docs_v75/constructors/updates.state.md new file mode 100644 index 00000000..abe9ddbb --- /dev/null +++ b/old_docs/API_docs_v75/constructors/updates.state.md @@ -0,0 +1,42 @@ +--- +title: updates.state +description: Updates state. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.state +[Back to constructors index](index.md) + + + +Updates state. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| +|qts|[int](../types/int.md) | Yes|Position in a sequence of updates in secret chats. For further detailes refer to article [secret chats](https://core.telegram.org/api/end-to-end)
Parameter was added in [eigth layer](https://core.telegram.org/api/layers#layer-8).| +|date|[int](../types/int.md) | Yes|Date of condition| +|seq|[int](../types/int.md) | Yes|Number of sent updates| +|unread\_count|[int](../types/int.md) | Yes|Number of unread messages| + + + +### Type: [updates.State](../types/updates.State.md) + + +### Example: + +```php +$updates.state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int]; +``` + + +Or, if you're into Lua: + +```lua +updates.state={_='updates.state', pts=int, qts=int, date=int, seq=int, unread_count=int} + +``` + + diff --git a/old_docs/API_docs_v75/constructors/updates_channelDifference.md b/old_docs/API_docs_v75/constructors/updates_channelDifference.md deleted file mode 100644 index 1b50fbf3..00000000 --- a/old_docs/API_docs_v75/constructors/updates_channelDifference.md +++ /dev/null @@ -1,44 +0,0 @@ ---- -title: updates.channelDifference -description: The new updates -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.channelDifference -[Back to constructors index](index.md) - - - -The new updates - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates to be fetched using getDifference, starting from the provided `pts`| -|pts|[int](../types/int.md) | Yes|The [PTS](https://core.telegram.org/api/updates) from which to start getting updates the next time| -|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| -|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| -|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) - - -### Example: - -```php -$updates_channelDifference = ['_' => 'updates.channelDifference', 'final' => Bool, 'pts' => int, 'timeout' => int, 'new_messages' => [Message, Message], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -updates_channelDifference={_='updates.channelDifference', final=Bool, pts=int, timeout=int, new_messages={Message}, other_updates={Update}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v75/constructors/updates_channelDifferenceEmpty.md b/old_docs/API_docs_v75/constructors/updates_channelDifferenceEmpty.md deleted file mode 100644 index 713137aa..00000000 --- a/old_docs/API_docs_v75/constructors/updates_channelDifferenceEmpty.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: updates.channelDifferenceEmpty -description: There are no new updates -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.channelDifferenceEmpty -[Back to constructors index](index.md) - - - -There are no new updates - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates that must be fetched (always false)| -|pts|[int](../types/int.md) | Yes|The latest [PTS](https://core.telegram.org/api/updates)| -|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| - - - -### Type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) - - -### Example: - -```php -$updates_channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'final' => Bool, 'pts' => int, 'timeout' => int]; -``` - - -Or, if you're into Lua: - -```lua -updates_channelDifferenceEmpty={_='updates.channelDifferenceEmpty', final=Bool, pts=int, timeout=int} - -``` - - diff --git a/old_docs/API_docs_v75/constructors/updates_channelDifferenceTooLong.md b/old_docs/API_docs_v75/constructors/updates_channelDifferenceTooLong.md deleted file mode 100644 index fd7a5060..00000000 --- a/old_docs/API_docs_v75/constructors/updates_channelDifferenceTooLong.md +++ /dev/null @@ -1,58 +0,0 @@ ---- -title: updates.channelDifferenceTooLong -description: The provided `pts + limit < remote pts`. Simply, there are too many updates to be fetched (more than `limit`), the client has to resolve the update gap in one of the following ways: - -1. Delete all known messages in the chat, begin from scratch by refetching all messages manually with [getHistory](../methods/messages.getHistory.md). It is easy to implement, but suddenly disappearing messages looks awful for the user. -2. Save all messages loaded in the memory until application restart, but delete all messages from database. Messages left in the memory must be lazily updated using calls to [getHistory](../methods/messages.getHistory.md). It looks much smoothly for the user, he will need to redownload messages only after client restart. Unsynchronized messages left in the memory shouldn't be saved to database, results of [getHistory](../methods/messages.getHistory.md) and [getMessages](../methods/messages.getMessages.md) must be used to update state of deleted and edited messages left in the memory. -3. Save all messages loaded in the memory and stored in the database without saving that some messages form continuous ranges. Messages in the database will be excluded from results of getChatHistory and searchChatMessages after application restart and will be available only through getMessage. Every message should still be checked using getHistory. It has more disadvantages over 2) than advantages. -4. Save all messages with saving all data about continuous message ranges. Messages from the database may be used as results of getChatHistory and (if implemented continuous ranges support for searching shared media) searchChatMessages. The messages should still be lazily checked using getHistory, but they are still available offline. It is the best way for gaps support, but it is pretty hard to implement correctly. It should be also noted that some messages like live location messages shouldn't be deleted. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.channelDifferenceTooLong -[Back to constructors index](index.md) - - - -The provided `pts + limit < remote pts`. Simply, there are too many updates to be fetched (more than `limit`), the client has to resolve the update gap in one of the following ways: - -1. Delete all known messages in the chat, begin from scratch by refetching all messages manually with [getHistory](../methods/messages.getHistory.md). It is easy to implement, but suddenly disappearing messages looks awful for the user. -2. Save all messages loaded in the memory until application restart, but delete all messages from database. Messages left in the memory must be lazily updated using calls to [getHistory](../methods/messages.getHistory.md). It looks much smoothly for the user, he will need to redownload messages only after client restart. Unsynchronized messages left in the memory shouldn't be saved to database, results of [getHistory](../methods/messages.getHistory.md) and [getMessages](../methods/messages.getMessages.md) must be used to update state of deleted and edited messages left in the memory. -3. Save all messages loaded in the memory and stored in the database without saving that some messages form continuous ranges. Messages in the database will be excluded from results of getChatHistory and searchChatMessages after application restart and will be available only through getMessage. Every message should still be checked using getHistory. It has more disadvantages over 2) than advantages. -4. Save all messages with saving all data about continuous message ranges. Messages from the database may be used as results of getChatHistory and (if implemented continuous ranges support for searching shared media) searchChatMessages. The messages should still be lazily checked using getHistory, but they are still available offline. It is the best way for gaps support, but it is pretty hard to implement correctly. It should be also noted that some messages like live location messages shouldn't be deleted. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates that must be fetched (always false)| -|pts|[int](../types/int.md) | Yes|Pts| -|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| -|top\_message|[int](../types/int.md) | Yes|Top message| -|read\_inbox\_max\_id|[int](../types/int.md) | Yes|Read inbox max ID| -|read\_outbox\_max\_id|[int](../types/int.md) | Yes|Read outbox max ID| -|unread\_count|[int](../types/int.md) | Yes|Unread count| -|unread\_mentions\_count|[int](../types/int.md) | Yes|Unread mentions count| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) - - -### Example: - -```php -$updates_channelDifferenceTooLong = ['_' => 'updates.channelDifferenceTooLong', 'final' => Bool, 'pts' => int, 'timeout' => int, 'top_message' => int, 'read_inbox_max_id' => int, 'read_outbox_max_id' => int, 'unread_count' => int, 'unread_mentions_count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -updates_channelDifferenceTooLong={_='updates.channelDifferenceTooLong', final=Bool, pts=int, timeout=int, top_message=int, read_inbox_max_id=int, read_outbox_max_id=int, unread_count=int, unread_mentions_count=int, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v75/constructors/updates_difference.md b/old_docs/API_docs_v75/constructors/updates_difference.md deleted file mode 100644 index 71ac7d4c..00000000 --- a/old_docs/API_docs_v75/constructors/updates_difference.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: updates.difference -description: Full list of occurred events. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.difference -[Back to constructors index](index.md) - - - -Full list of occurred events. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| -|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| -|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| -|state|[updates\_State](../types/updates_State.md) | Yes|Current state| - - - -### Type: [updates\_Difference](../types/updates_Difference.md) - - -### Example: - -```php -$updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates_State]; -``` - - -Or, if you're into Lua: - -```lua -updates_difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates_State} - -``` - - diff --git a/old_docs/API_docs_v75/constructors/updates_differenceEmpty.md b/old_docs/API_docs_v75/constructors/updates_differenceEmpty.md deleted file mode 100644 index c3c95c5a..00000000 --- a/old_docs/API_docs_v75/constructors/updates_differenceEmpty.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: updates.differenceEmpty -description: No events. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.differenceEmpty -[Back to constructors index](index.md) - - - -No events. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Current date| -|seq|[int](../types/int.md) | Yes|Number of sent updates| - - - -### Type: [updates\_Difference](../types/updates_Difference.md) - - -### Example: - -```php -$updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int]; -``` - - -Or, if you're into Lua: - -```lua -updates_differenceEmpty={_='updates.differenceEmpty', date=int, seq=int} - -``` - - diff --git a/old_docs/API_docs_v75/constructors/updates_differenceSlice.md b/old_docs/API_docs_v75/constructors/updates_differenceSlice.md deleted file mode 100644 index 8b12a369..00000000 --- a/old_docs/API_docs_v75/constructors/updates_differenceSlice.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: updates.differenceSlice -description: Incomplete list of occurred events. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.differenceSlice -[Back to constructors index](index.md) - - - -Incomplete list of occurred events. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| -|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| -|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| -|intermediate\_state|[updates\_State](../types/updates_State.md) | Yes|Intermediary state| - - - -### Type: [updates\_Difference](../types/updates_Difference.md) - - -### Example: - -```php -$updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'intermediate_state' => updates_State]; -``` - - -Or, if you're into Lua: - -```lua -updates_differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates_State} - -``` - - diff --git a/old_docs/API_docs_v75/constructors/updates_differenceTooLong.md b/old_docs/API_docs_v75/constructors/updates_differenceTooLong.md deleted file mode 100644 index 1fbdfa01..00000000 --- a/old_docs/API_docs_v75/constructors/updates_differenceTooLong.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: updates.differenceTooLong -description: The difference is [too long](https://core.telegram.org/api/updates#recovering-gaps), and the specified state must be used to refetch updates. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.differenceTooLong -[Back to constructors index](index.md) - - - -The difference is [too long](https://core.telegram.org/api/updates#recovering-gaps), and the specified state must be used to refetch updates. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|The new state to use.| - - - -### Type: [updates\_Difference](../types/updates_Difference.md) - - -### Example: - -```php -$updates_differenceTooLong = ['_' => 'updates.differenceTooLong', 'pts' => int]; -``` - - -Or, if you're into Lua: - -```lua -updates_differenceTooLong={_='updates.differenceTooLong', pts=int} - -``` - - diff --git a/old_docs/API_docs_v75/constructors/updates_state.md b/old_docs/API_docs_v75/constructors/updates_state.md deleted file mode 100644 index ef3698e2..00000000 --- a/old_docs/API_docs_v75/constructors/updates_state.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: updates.state -description: Updates state. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.state -[Back to constructors index](index.md) - - - -Updates state. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| -|qts|[int](../types/int.md) | Yes|Position in a sequence of updates in secret chats. For further detailes refer to article [secret chats](https://core.telegram.org/api/end-to-end)
Parameter was added in [eigth layer](https://core.telegram.org/api/layers#layer-8).| -|date|[int](../types/int.md) | Yes|Date of condition| -|seq|[int](../types/int.md) | Yes|Number of sent updates| -|unread\_count|[int](../types/int.md) | Yes|Number of unread messages| - - - -### Type: [updates\_State](../types/updates_State.md) - - -### Example: - -```php -$updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int]; -``` - - -Or, if you're into Lua: - -```lua -updates_state={_='updates.state', pts=int, qts=int, date=int, seq=int, unread_count=int} - -``` - - diff --git a/old_docs/API_docs_v75/constructors/upload.cdnFile.md b/old_docs/API_docs_v75/constructors/upload.cdnFile.md new file mode 100644 index 00000000..d6d75513 --- /dev/null +++ b/old_docs/API_docs_v75/constructors/upload.cdnFile.md @@ -0,0 +1,38 @@ +--- +title: upload.cdnFile +description: Represent a chunk of a [CDN](https://core.telegram.org/cdn) file. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: upload.cdnFile +[Back to constructors index](index.md) + + + +Represent a chunk of a [CDN](https://core.telegram.org/cdn) file. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|bytes|[bytes](../types/bytes.md) | Yes|The data| + + + +### Type: [upload.CdnFile](../types/upload.CdnFile.md) + + +### Example: + +```php +$upload.cdnFile = ['_' => 'upload.cdnFile', 'bytes' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +upload.cdnFile={_='upload.cdnFile', bytes='bytes'} + +``` + + diff --git a/old_docs/API_docs_v75/constructors/upload.cdnFileReuploadNeeded.md b/old_docs/API_docs_v75/constructors/upload.cdnFileReuploadNeeded.md new file mode 100644 index 00000000..7c461a87 --- /dev/null +++ b/old_docs/API_docs_v75/constructors/upload.cdnFileReuploadNeeded.md @@ -0,0 +1,38 @@ +--- +title: upload.cdnFileReuploadNeeded +description: The file was cleared from the temporary RAM cache of the [CDN](https://core.telegram.org/cdn) and has to be reuploaded. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: upload.cdnFileReuploadNeeded +[Back to constructors index](index.md) + + + +The file was cleared from the temporary RAM cache of the [CDN](https://core.telegram.org/cdn) and has to be reuploaded. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|request\_token|[bytes](../types/bytes.md) | Yes|Request token (see [CDN](https://core.telegram.org/cdn))| + + + +### Type: [upload.CdnFile](../types/upload.CdnFile.md) + + +### Example: + +```php +$upload.cdnFileReuploadNeeded = ['_' => 'upload.cdnFileReuploadNeeded', 'request_token' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +upload.cdnFileReuploadNeeded={_='upload.cdnFileReuploadNeeded', request_token='bytes'} + +``` + + diff --git a/old_docs/API_docs_v75/constructors/upload.file.md b/old_docs/API_docs_v75/constructors/upload.file.md new file mode 100644 index 00000000..145a4c24 --- /dev/null +++ b/old_docs/API_docs_v75/constructors/upload.file.md @@ -0,0 +1,40 @@ +--- +title: upload.file +description: File content. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: upload.file +[Back to constructors index](index.md) + + + +File content. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|type|[storage.FileType](../constructors/storage.FileType.md) | Yes|File type| +|mtime|[int](../types/int.md) | Yes|Modification type| +|bytes|[bytes](../types/bytes.md) | Yes|Binary data, file content| + + + +### Type: [upload.File](../types/upload.File.md) + + +### Example: + +```php +$upload.file = ['_' => 'upload.file', 'type' => storage.FileType, 'mtime' => int, 'bytes' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +upload.file={_='upload.file', type=storage.FileType, mtime=int, bytes='bytes'} + +``` + + diff --git a/old_docs/API_docs_v75/constructors/upload.fileCdnRedirect.md b/old_docs/API_docs_v75/constructors/upload.fileCdnRedirect.md new file mode 100644 index 00000000..294ccbcc --- /dev/null +++ b/old_docs/API_docs_v75/constructors/upload.fileCdnRedirect.md @@ -0,0 +1,42 @@ +--- +title: upload.fileCdnRedirect +description: The file must be downloaded from a [CDN DC](https://core.telegram.org/cdn). +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: upload.fileCdnRedirect +[Back to constructors index](index.md) + + + +The file must be downloaded from a [CDN DC](https://core.telegram.org/cdn). + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|dc\_id|[int](../types/int.md) | Yes|[CDN DC](https://core.telegram.org/cdn) ID| +|file\_token|[bytes](../types/bytes.md) | Yes|File token (see [CDN files](https://core.telegram.org/cdn)| +|encryption\_key|[bytes](../types/bytes.md) | Yes|Encryption key (see [CDN files](https://core.telegram.org/cdn)| +|encryption\_iv|[bytes](../types/bytes.md) | Yes|Encryption IV (see [CDN files](https://core.telegram.org/cdn)| +|cdn\_file\_hashes|Array of [CdnFileHash](../types/CdnFileHash.md) | Yes|Cdn file hashes| + + + +### Type: [upload.File](../types/upload.File.md) + + +### Example: + +```php +$upload.fileCdnRedirect = ['_' => 'upload.fileCdnRedirect', 'dc_id' => int, 'file_token' => 'bytes', 'encryption_key' => 'bytes', 'encryption_iv' => 'bytes', 'cdn_file_hashes' => [CdnFileHash, CdnFileHash]]; +``` + + +Or, if you're into Lua: + +```lua +upload.fileCdnRedirect={_='upload.fileCdnRedirect', dc_id=int, file_token='bytes', encryption_key='bytes', encryption_iv='bytes', cdn_file_hashes={CdnFileHash}} + +``` + + diff --git a/old_docs/API_docs_v75/constructors/upload.webFile.md b/old_docs/API_docs_v75/constructors/upload.webFile.md new file mode 100644 index 00000000..a93ea94f --- /dev/null +++ b/old_docs/API_docs_v75/constructors/upload.webFile.md @@ -0,0 +1,42 @@ +--- +title: upload.webFile +description: Represents a chunk of an [HTTP webfile](https://core.telegram.org/api/files) downloaded through telegram's secure MTProto servers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: upload.webFile +[Back to constructors index](index.md) + + + +Represents a chunk of an [HTTP webfile](https://core.telegram.org/api/files) downloaded through telegram's secure MTProto servers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|size|[int](../types/int.md) | Yes|File size| +|mime\_type|[string](../types/string.md) | Yes|Mime type| +|file\_type|[storage.FileType](../constructors/storage.FileType.md) | Yes|File type| +|mtime|[int](../types/int.md) | Yes|Modified time| +|bytes|[bytes](../types/bytes.md) | Yes|Data| + + + +### Type: [upload.WebFile](../types/upload.WebFile.md) + + +### Example: + +```php +$upload.webFile = ['_' => 'upload.webFile', 'size' => int, 'mime_type' => 'string', 'file_type' => storage.FileType, 'mtime' => int, 'bytes' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +upload.webFile={_='upload.webFile', size=int, mime_type='string', file_type=storage.FileType, mtime=int, bytes='bytes'} + +``` + + diff --git a/old_docs/API_docs_v75/constructors/upload_cdnFile.md b/old_docs/API_docs_v75/constructors/upload_cdnFile.md deleted file mode 100644 index 019b8742..00000000 --- a/old_docs/API_docs_v75/constructors/upload_cdnFile.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: upload.cdnFile -description: Represent a chunk of a [CDN](https://core.telegram.org/cdn) file. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: upload.cdnFile -[Back to constructors index](index.md) - - - -Represent a chunk of a [CDN](https://core.telegram.org/cdn) file. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|bytes|[bytes](../types/bytes.md) | Yes|The data| - - - -### Type: [upload\_CdnFile](../types/upload_CdnFile.md) - - -### Example: - -```php -$upload_cdnFile = ['_' => 'upload.cdnFile', 'bytes' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -upload_cdnFile={_='upload.cdnFile', bytes='bytes'} - -``` - - diff --git a/old_docs/API_docs_v75/constructors/upload_cdnFileReuploadNeeded.md b/old_docs/API_docs_v75/constructors/upload_cdnFileReuploadNeeded.md deleted file mode 100644 index 6588a596..00000000 --- a/old_docs/API_docs_v75/constructors/upload_cdnFileReuploadNeeded.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: upload.cdnFileReuploadNeeded -description: The file was cleared from the temporary RAM cache of the [CDN](https://core.telegram.org/cdn) and has to be reuploaded. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: upload.cdnFileReuploadNeeded -[Back to constructors index](index.md) - - - -The file was cleared from the temporary RAM cache of the [CDN](https://core.telegram.org/cdn) and has to be reuploaded. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|request\_token|[bytes](../types/bytes.md) | Yes|Request token (see [CDN](https://core.telegram.org/cdn))| - - - -### Type: [upload\_CdnFile](../types/upload_CdnFile.md) - - -### Example: - -```php -$upload_cdnFileReuploadNeeded = ['_' => 'upload.cdnFileReuploadNeeded', 'request_token' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -upload_cdnFileReuploadNeeded={_='upload.cdnFileReuploadNeeded', request_token='bytes'} - -``` - - diff --git a/old_docs/API_docs_v75/constructors/upload_file.md b/old_docs/API_docs_v75/constructors/upload_file.md deleted file mode 100644 index 1e07d9fb..00000000 --- a/old_docs/API_docs_v75/constructors/upload_file.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: upload.file -description: File content. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: upload.file -[Back to constructors index](index.md) - - - -File content. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|type|[storage\_FileType](../types/storage_FileType.md) | Yes|File type| -|mtime|[int](../types/int.md) | Yes|Modification type| -|bytes|[bytes](../types/bytes.md) | Yes|Binary data, file content| - - - -### Type: [upload\_File](../types/upload_File.md) - - -### Example: - -```php -$upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int, 'bytes' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -upload_file={_='upload.file', type=storage_FileType, mtime=int, bytes='bytes'} - -``` - - diff --git a/old_docs/API_docs_v75/constructors/upload_fileCdnRedirect.md b/old_docs/API_docs_v75/constructors/upload_fileCdnRedirect.md deleted file mode 100644 index 65abab3a..00000000 --- a/old_docs/API_docs_v75/constructors/upload_fileCdnRedirect.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: upload.fileCdnRedirect -description: The file must be downloaded from a [CDN DC](https://core.telegram.org/cdn). -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: upload.fileCdnRedirect -[Back to constructors index](index.md) - - - -The file must be downloaded from a [CDN DC](https://core.telegram.org/cdn). - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|dc\_id|[int](../types/int.md) | Yes|[CDN DC](https://core.telegram.org/cdn) ID| -|file\_token|[bytes](../types/bytes.md) | Yes|File token (see [CDN files](https://core.telegram.org/cdn)| -|encryption\_key|[bytes](../types/bytes.md) | Yes|Encryption key (see [CDN files](https://core.telegram.org/cdn)| -|encryption\_iv|[bytes](../types/bytes.md) | Yes|Encryption IV (see [CDN files](https://core.telegram.org/cdn)| -|cdn\_file\_hashes|Array of [CdnFileHash](../types/CdnFileHash.md) | Yes|Cdn file hashes| - - - -### Type: [upload\_File](../types/upload_File.md) - - -### Example: - -```php -$upload_fileCdnRedirect = ['_' => 'upload.fileCdnRedirect', 'dc_id' => int, 'file_token' => 'bytes', 'encryption_key' => 'bytes', 'encryption_iv' => 'bytes', 'cdn_file_hashes' => [CdnFileHash, CdnFileHash]]; -``` - - -Or, if you're into Lua: - -```lua -upload_fileCdnRedirect={_='upload.fileCdnRedirect', dc_id=int, file_token='bytes', encryption_key='bytes', encryption_iv='bytes', cdn_file_hashes={CdnFileHash}} - -``` - - diff --git a/old_docs/API_docs_v75/constructors/upload_webFile.md b/old_docs/API_docs_v75/constructors/upload_webFile.md deleted file mode 100644 index ee8053b1..00000000 --- a/old_docs/API_docs_v75/constructors/upload_webFile.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: upload.webFile -description: Represents a chunk of an [HTTP webfile](https://core.telegram.org/api/files) downloaded through telegram's secure MTProto servers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: upload.webFile -[Back to constructors index](index.md) - - - -Represents a chunk of an [HTTP webfile](https://core.telegram.org/api/files) downloaded through telegram's secure MTProto servers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|size|[int](../types/int.md) | Yes|File size| -|mime\_type|[string](../types/string.md) | Yes|Mime type| -|file\_type|[storage\_FileType](../types/storage_FileType.md) | Yes|File type| -|mtime|[int](../types/int.md) | Yes|Modified time| -|bytes|[bytes](../types/bytes.md) | Yes|Data| - - - -### Type: [upload\_WebFile](../types/upload_WebFile.md) - - -### Example: - -```php -$upload_webFile = ['_' => 'upload.webFile', 'size' => int, 'mime_type' => 'string', 'file_type' => storage_FileType, 'mtime' => int, 'bytes' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -upload_webFile={_='upload.webFile', size=int, mime_type='string', file_type=storage_FileType, mtime=int, bytes='bytes'} - -``` - - diff --git a/old_docs/API_docs_v75/constructors/userFull.md b/old_docs/API_docs_v75/constructors/userFull.md index 31af6535..e44e0673 100644 --- a/old_docs/API_docs_v75/constructors/userFull.md +++ b/old_docs/API_docs_v75/constructors/userFull.md @@ -19,7 +19,7 @@ Extended user info |phone\_calls\_private|[Bool](../types/Bool.md) | Optional|Whether this user's privacy settings allow you to call him| |user|[User](../types/User.md) | Optional|Remaining user info| |about|[string](../types/string.md) | Optional|Bio of the user| -|link|[contacts\_Link](../types/contacts_Link.md) | Yes|Link| +|link|[contacts.Link](../constructors/contacts.Link.md) | Yes|Link| |profile\_photo|[Photo](../types/Photo.md) | Optional|Profile photo| |notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Optional|Notification settings| |bot\_info|[BotInfo](../types/BotInfo.md) | Optional|For bots, info about the bot (bot commands, etc)| @@ -33,14 +33,14 @@ Extended user info ### Example: ```php -$userFull = ['_' => 'userFull', 'blocked' => Bool, 'phone_calls_available' => Bool, 'phone_calls_private' => Bool, 'user' => User, 'about' => 'string', 'link' => contacts_Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'bot_info' => BotInfo, 'common_chats_count' => int]; +$userFull = ['_' => 'userFull', 'blocked' => Bool, 'phone_calls_available' => Bool, 'phone_calls_private' => Bool, 'user' => User, 'about' => 'string', 'link' => contacts.Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'bot_info' => BotInfo, 'common_chats_count' => int]; ``` Or, if you're into Lua: ```lua -userFull={_='userFull', blocked=Bool, phone_calls_available=Bool, phone_calls_private=Bool, user=User, about='string', link=contacts_Link, profile_photo=Photo, notify_settings=PeerNotifySettings, bot_info=BotInfo, common_chats_count=int} +userFull={_='userFull', blocked=Bool, phone_calls_available=Bool, phone_calls_private=Bool, user=User, about='string', link=contacts.Link, profile_photo=Photo, notify_settings=PeerNotifySettings, bot_info=BotInfo, common_chats_count=int} ``` diff --git a/old_docs/API_docs_v75/methods/account.getAuthorizations.md b/old_docs/API_docs_v75/methods/account.getAuthorizations.md index f69c130a..fad3a7ae 100644 --- a/old_docs/API_docs_v75/methods/account.getAuthorizations.md +++ b/old_docs/API_docs_v75/methods/account.getAuthorizations.md @@ -11,7 +11,7 @@ Get logged-in sessions -### Return type: [account\_Authorizations](../types/account_Authorizations.md) +### Return type: [account.Authorizations](../types/account.Authorizations.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_Authorizations = $MadelineProto->account->getAuthorizations(); +$account.Authorizations = $MadelineProto->account->getAuthorizations(); ``` Or, if you're into Lua: ```lua -account_Authorizations = account.getAuthorizations({}) +account.Authorizations = account.getAuthorizations({}) ``` diff --git a/old_docs/API_docs_v75/methods/account.getPassword.md b/old_docs/API_docs_v75/methods/account.getPassword.md index eed4aee3..621271b6 100644 --- a/old_docs/API_docs_v75/methods/account.getPassword.md +++ b/old_docs/API_docs_v75/methods/account.getPassword.md @@ -11,7 +11,7 @@ Obtain configuration for two-factor authorization with password -### Return type: [account\_Password](../types/account_Password.md) +### Return type: [account.Password](../types/account.Password.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_Password = $MadelineProto->account->getPassword(); +$account.Password = $MadelineProto->account->getPassword(); ``` Or, if you're into Lua: ```lua -account_Password = account.getPassword({}) +account.Password = account.getPassword({}) ``` diff --git a/old_docs/API_docs_v75/methods/account.getPasswordSettings.md b/old_docs/API_docs_v75/methods/account.getPasswordSettings.md index dcdae61a..3d3cce08 100644 --- a/old_docs/API_docs_v75/methods/account.getPasswordSettings.md +++ b/old_docs/API_docs_v75/methods/account.getPasswordSettings.md @@ -16,7 +16,7 @@ You cannot use this method directly; use $MadelineProto->update_2fa($params), in |current\_password\_hash|[bytes](../types/bytes.md) | You cannot use this method directly; use $MadelineProto->update_2fa($params), instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [account\_PasswordSettings](../types/account_PasswordSettings.md) +### Return type: [account.PasswordSettings](../types/account.PasswordSettings.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_PasswordSettings = $MadelineProto->account->getPasswordSettings(['current_password_hash' => 'bytes', ]); +$account.PasswordSettings = $MadelineProto->account->getPasswordSettings(['current_password_hash' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -account_PasswordSettings = account.getPasswordSettings({current_password_hash='bytes', }) +account.PasswordSettings = account.getPasswordSettings({current_password_hash='bytes', }) ``` ### Errors diff --git a/old_docs/API_docs_v75/methods/account.getPrivacy.md b/old_docs/API_docs_v75/methods/account.getPrivacy.md index 6a240129..e20c292c 100644 --- a/old_docs/API_docs_v75/methods/account.getPrivacy.md +++ b/old_docs/API_docs_v75/methods/account.getPrivacy.md @@ -16,7 +16,7 @@ Get privacy settings of current account |key|[InputPrivacyKey](../types/InputPrivacyKey.md) | Peer category whose privacy settings should be fetched | Yes| -### Return type: [account\_PrivacyRules](../types/account_PrivacyRules.md) +### Return type: [account.PrivacyRules](../types/account.PrivacyRules.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_PrivacyRules = $MadelineProto->account->getPrivacy(['key' => InputPrivacyKey, ]); +$account.PrivacyRules = $MadelineProto->account->getPrivacy(['key' => InputPrivacyKey, ]); ``` Or, if you're into Lua: ```lua -account_PrivacyRules = account.getPrivacy({key=InputPrivacyKey, }) +account.PrivacyRules = account.getPrivacy({key=InputPrivacyKey, }) ``` ### Errors diff --git a/old_docs/API_docs_v75/methods/account.getTmpPassword.md b/old_docs/API_docs_v75/methods/account.getTmpPassword.md index 4f269586..7e05a423 100644 --- a/old_docs/API_docs_v75/methods/account.getTmpPassword.md +++ b/old_docs/API_docs_v75/methods/account.getTmpPassword.md @@ -17,7 +17,7 @@ Get temporary payment password |period|[int](../types/int.md) | Time during which the temporary password will be valid, in seconds; should be between 60 and 86400 | Yes| -### Return type: [account\_TmpPassword](../types/account_TmpPassword.md) +### Return type: [account.TmpPassword](../types/account.TmpPassword.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_TmpPassword = $MadelineProto->account->getTmpPassword(['password_hash' => 'bytes', 'period' => int, ]); +$account.TmpPassword = $MadelineProto->account->getTmpPassword(['password_hash' => 'bytes', 'period' => int, ]); ``` Or, if you're into Lua: ```lua -account_TmpPassword = account.getTmpPassword({password_hash='bytes', period=int, }) +account.TmpPassword = account.getTmpPassword({password_hash='bytes', period=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v75/methods/account.getWebAuthorizations.md b/old_docs/API_docs_v75/methods/account.getWebAuthorizations.md index 1a43f138..b97fe978 100644 --- a/old_docs/API_docs_v75/methods/account.getWebAuthorizations.md +++ b/old_docs/API_docs_v75/methods/account.getWebAuthorizations.md @@ -11,7 +11,7 @@ Get web [login widget](https://core.telegram.org/widgets/login) authorizations -### Return type: [account\_WebAuthorizations](../types/account_WebAuthorizations.md) +### Return type: [account.WebAuthorizations](../types/account.WebAuthorizations.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_WebAuthorizations = $MadelineProto->account->getWebAuthorizations(); +$account.WebAuthorizations = $MadelineProto->account->getWebAuthorizations(); ``` Or, if you're into Lua: ```lua -account_WebAuthorizations = account.getWebAuthorizations({}) +account.WebAuthorizations = account.getWebAuthorizations({}) ``` diff --git a/old_docs/API_docs_v75/methods/account.sendChangePhoneCode.md b/old_docs/API_docs_v75/methods/account.sendChangePhoneCode.md index 0f81306e..30589ffa 100644 --- a/old_docs/API_docs_v75/methods/account.sendChangePhoneCode.md +++ b/old_docs/API_docs_v75/methods/account.sendChangePhoneCode.md @@ -18,7 +18,7 @@ Verify a new phone number to associate to the current account |current\_number|[Bool](../types/Bool.md) | Current phone number | Optional| -### Return type: [auth\_SentCode](../types/auth_SentCode.md) +### Return type: [auth.SentCode](../types/auth.SentCode.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_SentCode = $MadelineProto->account->sendChangePhoneCode(['allow_flashcall' => Bool, 'phone_number' => 'string', 'current_number' => Bool, ]); +$auth.SentCode = $MadelineProto->account->sendChangePhoneCode(['allow_flashcall' => Bool, 'phone_number' => 'string', 'current_number' => Bool, ]); ``` Or, if you're into Lua: ```lua -auth_SentCode = account.sendChangePhoneCode({allow_flashcall=Bool, phone_number='string', current_number=Bool, }) +auth.SentCode = account.sendChangePhoneCode({allow_flashcall=Bool, phone_number='string', current_number=Bool, }) ``` ### Errors diff --git a/old_docs/API_docs_v75/methods/account.sendConfirmPhoneCode.md b/old_docs/API_docs_v75/methods/account.sendConfirmPhoneCode.md index 68ba8fd3..9ec24f07 100644 --- a/old_docs/API_docs_v75/methods/account.sendConfirmPhoneCode.md +++ b/old_docs/API_docs_v75/methods/account.sendConfirmPhoneCode.md @@ -18,7 +18,7 @@ Send confirmation code to cancel account deletion, for more info [click here »] |current\_number|[Bool](../types/Bool.md) | The current phone number | Optional| -### Return type: [auth\_SentCode](../types/auth_SentCode.md) +### Return type: [auth.SentCode](../types/auth.SentCode.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_SentCode = $MadelineProto->account->sendConfirmPhoneCode(['allow_flashcall' => Bool, 'hash' => 'string', 'current_number' => Bool, ]); +$auth.SentCode = $MadelineProto->account->sendConfirmPhoneCode(['allow_flashcall' => Bool, 'hash' => 'string', 'current_number' => Bool, ]); ``` Or, if you're into Lua: ```lua -auth_SentCode = account.sendConfirmPhoneCode({allow_flashcall=Bool, hash='string', current_number=Bool, }) +auth.SentCode = account.sendConfirmPhoneCode({allow_flashcall=Bool, hash='string', current_number=Bool, }) ``` ### Errors diff --git a/old_docs/API_docs_v75/methods/account.setPrivacy.md b/old_docs/API_docs_v75/methods/account.setPrivacy.md index 7c4cfba7..096d373e 100644 --- a/old_docs/API_docs_v75/methods/account.setPrivacy.md +++ b/old_docs/API_docs_v75/methods/account.setPrivacy.md @@ -17,7 +17,7 @@ Change privacy settings of current account |rules|Array of [InputPrivacyRule](../types/InputPrivacyRule.md) | Privacy settings | Yes| -### Return type: [account\_PrivacyRules](../types/account_PrivacyRules.md) +### Return type: [account.PrivacyRules](../types/account.PrivacyRules.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_PrivacyRules = $MadelineProto->account->setPrivacy(['key' => InputPrivacyKey, 'rules' => [InputPrivacyRule, InputPrivacyRule], ]); +$account.PrivacyRules = $MadelineProto->account->setPrivacy(['key' => InputPrivacyKey, 'rules' => [InputPrivacyRule, InputPrivacyRule], ]); ``` Or, if you're into Lua: ```lua -account_PrivacyRules = account.setPrivacy({key=InputPrivacyKey, rules={InputPrivacyRule}, }) +account.PrivacyRules = account.setPrivacy({key=InputPrivacyKey, rules={InputPrivacyRule}, }) ``` ### Errors diff --git a/old_docs/API_docs_v75/methods/api_README.md b/old_docs/API_docs_v75/methods/api_README.md index 5db8064b..c14e7c5f 100644 --- a/old_docs/API_docs_v75/methods/api_README.md +++ b/old_docs/API_docs_v75/methods/api_README.md @@ -56,7 +56,7 @@ $MadelineProto->[account->getAccountTTL](account.getAccountTTL.md)(\[\]) === [$A ***

-$MadelineProto->[account->getAuthorizations](account.getAuthorizations.md)(\[\]) === [$account\_Authorizations](../types/account_Authorizations.md) +$MadelineProto->[account->getAuthorizations](account.getAuthorizations.md)(\[\]) === [$account.Authorizations](../types/account.Authorizations.md) ***

@@ -64,19 +64,19 @@ $MadelineProto->[account->getNotifySettings](account.getNotifySettings.md)(\['pe ***

-$MadelineProto->[account->getPassword](account.getPassword.md)(\[\]) === [$account\_Password](../types/account_Password.md) +$MadelineProto->[account->getPassword](account.getPassword.md)(\[\]) === [$account.Password](../types/account.Password.md) ***

-$MadelineProto->[account->getPasswordSettings](account.getPasswordSettings.md)(\['current_password_hash' => [bytes](../types/bytes.md), \]) === [$account\_PasswordSettings](../types/account_PasswordSettings.md) +$MadelineProto->[account->getPasswordSettings](account.getPasswordSettings.md)(\['current_password_hash' => [bytes](../types/bytes.md), \]) === [$account.PasswordSettings](../types/account.PasswordSettings.md) ***

-$MadelineProto->[account->getPrivacy](account.getPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), \]) === [$account\_PrivacyRules](../types/account_PrivacyRules.md) +$MadelineProto->[account->getPrivacy](account.getPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), \]) === [$account.PrivacyRules](../types/account.PrivacyRules.md) ***

-$MadelineProto->[account->getTmpPassword](account.getTmpPassword.md)(\['password_hash' => [bytes](../types/bytes.md), 'period' => [int](../types/int.md), \]) === [$account\_TmpPassword](../types/account_TmpPassword.md) +$MadelineProto->[account->getTmpPassword](account.getTmpPassword.md)(\['password_hash' => [bytes](../types/bytes.md), 'period' => [int](../types/int.md), \]) === [$account.TmpPassword](../types/account.TmpPassword.md) ***

@@ -84,7 +84,7 @@ $MadelineProto->[account->getWallPapers](account.getWallPapers.md)(\[\]) === [$V ***

-$MadelineProto->[account->getWebAuthorizations](account.getWebAuthorizations.md)(\[\]) === [$account\_WebAuthorizations](../types/account_WebAuthorizations.md) +$MadelineProto->[account->getWebAuthorizations](account.getWebAuthorizations.md)(\[\]) === [$account.WebAuthorizations](../types/account.WebAuthorizations.md) ***

@@ -112,11 +112,11 @@ $MadelineProto->[account->resetWebAuthorizations](account.resetWebAuthorizations ***

-$MadelineProto->[account->sendChangePhoneCode](account.sendChangePhoneCode.md)(\['allow_flashcall' => [Bool](../types/Bool.md), 'phone_number' => [string](../types/string.md), 'current_number' => [Bool](../types/Bool.md), \]) === [$auth\_SentCode](../types/auth_SentCode.md) +$MadelineProto->[account->sendChangePhoneCode](account.sendChangePhoneCode.md)(\['allow_flashcall' => [Bool](../types/Bool.md), 'phone_number' => [string](../types/string.md), 'current_number' => [Bool](../types/Bool.md), \]) === [$auth.SentCode](../types/auth.SentCode.md) ***

-$MadelineProto->[account->sendConfirmPhoneCode](account.sendConfirmPhoneCode.md)(\['allow_flashcall' => [Bool](../types/Bool.md), 'hash' => [string](../types/string.md), 'current_number' => [Bool](../types/Bool.md), \]) === [$auth\_SentCode](../types/auth_SentCode.md) +$MadelineProto->[account->sendConfirmPhoneCode](account.sendConfirmPhoneCode.md)(\['allow_flashcall' => [Bool](../types/Bool.md), 'hash' => [string](../types/string.md), 'current_number' => [Bool](../types/Bool.md), \]) === [$auth.SentCode](../types/auth.SentCode.md) ***

@@ -124,7 +124,7 @@ $MadelineProto->[account->setAccountTTL](account.setAccountTTL.md)(\['ttl' => [A ***

-$MadelineProto->[account->setPrivacy](account.setPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), 'rules' => \[[InputPrivacyRule](../types/InputPrivacyRule.md)\], \]) === [$account\_PrivacyRules](../types/account_PrivacyRules.md) +$MadelineProto->[account->setPrivacy](account.setPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), 'rules' => \[[InputPrivacyRule](../types/InputPrivacyRule.md)\], \]) === [$account.PrivacyRules](../types/account.PrivacyRules.md) ***

@@ -164,11 +164,11 @@ $MadelineProto->[auth->cancelCode](auth.cancelCode.md)(\['phone_number' => [stri ***

-$MadelineProto->[auth->checkPassword](auth.checkPassword.md)(\['password_hash' => [bytes](../types/bytes.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->checkPassword](auth.checkPassword.md)(\['password_hash' => [bytes](../types/bytes.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

-$MadelineProto->[auth->checkPhone](auth.checkPhone.md)(\['phone_number' => [string](../types/string.md), \]) === [$auth\_CheckedPhone](../types/auth_CheckedPhone.md) +$MadelineProto->[auth->checkPhone](auth.checkPhone.md)(\['phone_number' => [string](../types/string.md), \]) === [$auth.CheckedPhone](../types/auth.CheckedPhone.md) ***

@@ -176,15 +176,15 @@ $MadelineProto->[auth->dropTempAuthKeys](auth.dropTempAuthKeys.md)(\['except_aut ***

-$MadelineProto->[auth->exportAuthorization](auth.exportAuthorization.md)(\['dc_id' => [int](../types/int.md), \]) === [$auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) +$MadelineProto->[auth->exportAuthorization](auth.exportAuthorization.md)(\['dc_id' => [int](../types/int.md), \]) === [$auth.ExportedAuthorization](../types/auth.ExportedAuthorization.md) ***

-$MadelineProto->[auth->importAuthorization](auth.importAuthorization.md)(\['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->importAuthorization](auth.importAuthorization.md)(\['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

-$MadelineProto->[auth->importBotAuthorization](auth.importBotAuthorization.md)(\['api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), 'bot_auth_token' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->importBotAuthorization](auth.importBotAuthorization.md)(\['api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), 'bot_auth_token' => [string](../types/string.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

@@ -192,15 +192,15 @@ $MadelineProto->[auth->logOut](auth.logOut.md)(\[\]) === [$Bool](../types/Bool.m ***

-$MadelineProto->[auth->recoverPassword](auth.recoverPassword.md)(\['code' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->recoverPassword](auth.recoverPassword.md)(\['code' => [string](../types/string.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

-$MadelineProto->[auth->requestPasswordRecovery](auth.requestPasswordRecovery.md)(\[\]) === [$auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) +$MadelineProto->[auth->requestPasswordRecovery](auth.requestPasswordRecovery.md)(\[\]) === [$auth.PasswordRecovery](../types/auth.PasswordRecovery.md) ***

-$MadelineProto->[auth->resendCode](auth.resendCode.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), \]) === [$auth\_SentCode](../types/auth_SentCode.md) +$MadelineProto->[auth->resendCode](auth.resendCode.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), \]) === [$auth.SentCode](../types/auth.SentCode.md) ***

@@ -208,7 +208,7 @@ $MadelineProto->[auth->resetAuthorizations](auth.resetAuthorizations.md)(\[\]) = ***

-$MadelineProto->[auth->sendCode](auth.sendCode.md)(\['allow_flashcall' => [Bool](../types/Bool.md), 'phone_number' => [string](../types/string.md), 'current_number' => [Bool](../types/Bool.md), 'api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), \]) === [$auth\_SentCode](../types/auth_SentCode.md) +$MadelineProto->[auth->sendCode](auth.sendCode.md)(\['allow_flashcall' => [Bool](../types/Bool.md), 'phone_number' => [string](../types/string.md), 'current_number' => [Bool](../types/Bool.md), 'api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), \]) === [$auth.SentCode](../types/auth.SentCode.md) ***

@@ -216,11 +216,11 @@ $MadelineProto->[auth->sendInvites](auth.sendInvites.md)(\['phone_numbers' => \[ ***

-$MadelineProto->[auth->signIn](auth.signIn.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->signIn](auth.signIn.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

-$MadelineProto->[auth->signUp](auth.signUp.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->signUp](auth.signUp.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

@@ -248,11 +248,11 @@ $MadelineProto->[channels->deleteHistory](channels.deleteHistory.md)(\['channel' ***

-$MadelineProto->[channels->deleteMessages](channels.deleteMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) +$MadelineProto->[channels->deleteMessages](channels.deleteMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages.AffectedMessages](../types/messages.AffectedMessages.md) ***

-$MadelineProto->[channels->deleteUserHistory](channels.deleteUserHistory.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages\_AffectedHistory](../types/messages_AffectedHistory.md) +$MadelineProto->[channels->deleteUserHistory](channels.deleteUserHistory.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages.AffectedHistory](../types/messages.AffectedHistory.md) ***

@@ -284,31 +284,31 @@ $MadelineProto->[channels->exportMessageLink](channels.exportMessageLink.md)(\[' ***

-$MadelineProto->[channels->getAdminLog](channels.getAdminLog.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'q' => [string](../types/string.md), 'events_filter' => [ChannelAdminLogEventsFilter](../types/ChannelAdminLogEventsFilter.md), 'admins' => \[[InputUser](../types/InputUser.md)\], 'max_id' => [long](../types/long.md), 'min_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$channels\_AdminLogResults](../types/channels_AdminLogResults.md) +$MadelineProto->[channels->getAdminLog](channels.getAdminLog.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'q' => [string](../types/string.md), 'events_filter' => [ChannelAdminLogEventsFilter](../types/ChannelAdminLogEventsFilter.md), 'admins' => \[[InputUser](../types/InputUser.md)\], 'max_id' => [long](../types/long.md), 'min_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$channels.AdminLogResults](../types/channels.AdminLogResults.md) ***

-$MadelineProto->[channels->getAdminedPublicChannels](channels.getAdminedPublicChannels.md)(\[\]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[channels->getAdminedPublicChannels](channels.getAdminedPublicChannels.md)(\[\]) === [$messages.Chats](../types/messages.Chats.md) ***

-$MadelineProto->[channels->getChannels](channels.getChannels.md)(\['id' => \[[InputChannel](../types/InputChannel.md)\], \]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[channels->getChannels](channels.getChannels.md)(\['id' => \[[InputChannel](../types/InputChannel.md)\], \]) === [$messages.Chats](../types/messages.Chats.md) ***

-$MadelineProto->[channels->getFullChannel](channels.getFullChannel.md)(\['channel' => [InputChannel](../types/InputChannel.md), \]) === [$messages\_ChatFull](../types/messages_ChatFull.md) +$MadelineProto->[channels->getFullChannel](channels.getFullChannel.md)(\['channel' => [InputChannel](../types/InputChannel.md), \]) === [$messages.ChatFull](../types/messages.ChatFull.md) ***

-$MadelineProto->[channels->getMessages](channels.getMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[InputMessage](../types/InputMessage.md)\], \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[channels->getMessages](channels.getMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[InputMessage](../types/InputMessage.md)\], \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[channels->getParticipant](channels.getParticipant.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$channels\_ChannelParticipant](../types/channels_ChannelParticipant.md) +$MadelineProto->[channels->getParticipant](channels.getParticipant.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$channels.ChannelParticipant](../types/channels.ChannelParticipant.md) ***

-$MadelineProto->[channels->getParticipants](channels.getParticipants.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$channels\_ChannelParticipants](../types/channels_ChannelParticipants.md) +$MadelineProto->[channels->getParticipants](channels.getParticipants.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$channels.ChannelParticipants](../types/channels.ChannelParticipants.md) ***

@@ -364,7 +364,7 @@ $MadelineProto->[contacts->block](contacts.block.md)(\['id' => [InputUser](../ty ***

-$MadelineProto->[contacts->deleteContact](contacts.deleteContact.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$contacts\_Link](../types/contacts_Link.md) +$MadelineProto->[contacts->deleteContact](contacts.deleteContact.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$contacts.Link](../types/contacts.Link.md) ***

@@ -376,11 +376,11 @@ $MadelineProto->[contacts->exportCard](contacts.exportCard.md)(\[\]) === [$Vecto ***

-$MadelineProto->[contacts->getBlocked](contacts.getBlocked.md)(\['offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$contacts\_Blocked](../types/contacts_Blocked.md) +$MadelineProto->[contacts->getBlocked](contacts.getBlocked.md)(\['offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$contacts.Blocked](../types/contacts.Blocked.md) ***

-$MadelineProto->[contacts->getContacts](contacts.getContacts.md)(\['hash' => [int](../types/int.md), \]) === [$contacts\_Contacts](../types/contacts_Contacts.md) +$MadelineProto->[contacts->getContacts](contacts.getContacts.md)(\['hash' => [int](../types/int.md), \]) === [$contacts.Contacts](../types/contacts.Contacts.md) ***

@@ -388,7 +388,7 @@ $MadelineProto->[contacts->getStatuses](contacts.getStatuses.md)(\[\]) === [$Vec ***

-$MadelineProto->[contacts->getTopPeers](contacts.getTopPeers.md)(\['correspondents' => [Bool](../types/Bool.md), 'bots_pm' => [Bool](../types/Bool.md), 'bots_inline' => [Bool](../types/Bool.md), 'phone_calls' => [Bool](../types/Bool.md), 'groups' => [Bool](../types/Bool.md), 'channels' => [Bool](../types/Bool.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$contacts\_TopPeers](../types/contacts_TopPeers.md) +$MadelineProto->[contacts->getTopPeers](contacts.getTopPeers.md)(\['correspondents' => [Bool](../types/Bool.md), 'bots_pm' => [Bool](../types/Bool.md), 'bots_inline' => [Bool](../types/Bool.md), 'phone_calls' => [Bool](../types/Bool.md), 'groups' => [Bool](../types/Bool.md), 'channels' => [Bool](../types/Bool.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$contacts.TopPeers](../types/contacts.TopPeers.md) ***

@@ -396,7 +396,7 @@ $MadelineProto->[contacts->importCard](contacts.importCard.md)(\['export_card' = ***

-$MadelineProto->[contacts->importContacts](contacts.importContacts.md)(\['contacts' => \[[InputContact](../types/InputContact.md)\], \]) === [$contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) +$MadelineProto->[contacts->importContacts](contacts.importContacts.md)(\['contacts' => \[[InputContact](../types/InputContact.md)\], \]) === [$contacts.ImportedContacts](../types/contacts.ImportedContacts.md) ***

@@ -408,11 +408,11 @@ $MadelineProto->[contacts->resetTopPeerRating](contacts.resetTopPeerRating.md)(\ ***

-$MadelineProto->[contacts->resolveUsername](contacts.resolveUsername.md)(\['username' => [string](../types/string.md), \]) === [$contacts\_ResolvedPeer](../types/contacts_ResolvedPeer.md) +$MadelineProto->[contacts->resolveUsername](contacts.resolveUsername.md)(\['username' => [string](../types/string.md), \]) === [$contacts.ResolvedPeer](../types/contacts.ResolvedPeer.md) ***

-$MadelineProto->[contacts->search](contacts.search.md)(\['q' => [string](../types/string.md), 'limit' => [int](../types/int.md), \]) === [$contacts\_Found](../types/contacts_Found.md) +$MadelineProto->[contacts->search](contacts.search.md)(\['q' => [string](../types/string.md), 'limit' => [int](../types/int.md), \]) === [$contacts.Found](../types/contacts.Found.md) ***

@@ -424,7 +424,7 @@ $MadelineProto->[help->getAppChangelog](help.getAppChangelog.md)(\['prev_app_ver ***

-$MadelineProto->[help->getAppUpdate](help.getAppUpdate.md)(\[\]) === [$help\_AppUpdate](../types/help_AppUpdate.md) +$MadelineProto->[help->getAppUpdate](help.getAppUpdate.md)(\[\]) === [$help.AppUpdate](../types/help.AppUpdate.md) ***

@@ -436,7 +436,7 @@ $MadelineProto->[help->getConfig](help.getConfig.md)(\[\]) === [$Config](../type ***

-$MadelineProto->[help->getInviteText](help.getInviteText.md)(\[\]) === [$help\_InviteText](../types/help_InviteText.md) +$MadelineProto->[help->getInviteText](help.getInviteText.md)(\[\]) === [$help.InviteText](../types/help.InviteText.md) ***

@@ -444,15 +444,15 @@ $MadelineProto->[help->getNearestDc](help.getNearestDc.md)(\[\]) === [$NearestDc ***

-$MadelineProto->[help->getRecentMeUrls](help.getRecentMeUrls.md)(\['referer' => [string](../types/string.md), \]) === [$help\_RecentMeUrls](../types/help_RecentMeUrls.md) +$MadelineProto->[help->getRecentMeUrls](help.getRecentMeUrls.md)(\['referer' => [string](../types/string.md), \]) === [$help.RecentMeUrls](../types/help.RecentMeUrls.md) ***

-$MadelineProto->[help->getSupport](help.getSupport.md)(\[\]) === [$help\_Support](../types/help_Support.md) +$MadelineProto->[help->getSupport](help.getSupport.md)(\[\]) === [$help.Support](../types/help.Support.md) ***

-$MadelineProto->[help->getTermsOfService](help.getTermsOfService.md)(\[\]) === [$help\_TermsOfService](../types/help_TermsOfService.md) +$MadelineProto->[help->getTermsOfService](help.getTermsOfService.md)(\[\]) === [$help.TermsOfService](../types/help.TermsOfService.md) ***

@@ -524,11 +524,11 @@ $MadelineProto->[messages->deleteChatUser](messages.deleteChatUser.md)(\['chat_i ***

-$MadelineProto->[messages->deleteHistory](messages.deleteHistory.md)(\['just_clear' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), \]) === [$messages\_AffectedHistory](../types/messages_AffectedHistory.md) +$MadelineProto->[messages->deleteHistory](messages.deleteHistory.md)(\['just_clear' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), \]) === [$messages.AffectedHistory](../types/messages.AffectedHistory.md) ***

-$MadelineProto->[messages->deleteMessages](messages.deleteMessages.md)(\['revoke' => [Bool](../types/Bool.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) +$MadelineProto->[messages->deleteMessages](messages.deleteMessages.md)(\['revoke' => [Bool](../types/Bool.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages.AffectedMessages](../types/messages.AffectedMessages.md) ***

@@ -568,7 +568,7 @@ $MadelineProto->[messages->forwardMessages](messages.forwardMessages.md)(\['sile ***

-$MadelineProto->[messages->getAllChats](messages.getAllChats.md)(\['except_ids' => \[[int](../types/int.md)\], \]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[messages->getAllChats](messages.getAllChats.md)(\['except_ids' => \[[int](../types/int.md)\], \]) === [$messages.Chats](../types/messages.Chats.md) ***

@@ -576,11 +576,11 @@ $MadelineProto->[messages->getAllDrafts](messages.getAllDrafts.md)(\[\]) === [$U ***

-$MadelineProto->[messages->getAllStickers](messages.getAllStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages\_AllStickers](../types/messages_AllStickers.md) +$MadelineProto->[messages->getAllStickers](messages.getAllStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages.AllStickers](../types/messages.AllStickers.md) ***

-$MadelineProto->[messages->getArchivedStickers](messages.getArchivedStickers.md)(\['masks' => [Bool](../types/Bool.md), 'offset_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$messages\_ArchivedStickers](../types/messages_ArchivedStickers.md) +$MadelineProto->[messages->getArchivedStickers](messages.getArchivedStickers.md)(\['masks' => [Bool](../types/Bool.md), 'offset_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$messages.ArchivedStickers](../types/messages.ArchivedStickers.md) ***

@@ -588,23 +588,23 @@ $MadelineProto->[messages->getAttachedStickers](messages.getAttachedStickers.md) ***

-$MadelineProto->[messages->getBotCallbackAnswer](messages.getBotCallbackAnswer.md)(\['game' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'msg_id' => [int](../types/int.md), 'data' => [bytes](../types/bytes.md), \]) === [$messages\_BotCallbackAnswer](../types/messages_BotCallbackAnswer.md) +$MadelineProto->[messages->getBotCallbackAnswer](messages.getBotCallbackAnswer.md)(\['game' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'msg_id' => [int](../types/int.md), 'data' => [bytes](../types/bytes.md), \]) === [$messages.BotCallbackAnswer](../types/messages.BotCallbackAnswer.md) ***

-$MadelineProto->[messages->getChats](messages.getChats.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[messages->getChats](messages.getChats.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages.Chats](../types/messages.Chats.md) ***

-$MadelineProto->[messages->getCommonChats](messages.getCommonChats.md)(\['user_id' => [InputUser](../types/InputUser.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[messages->getCommonChats](messages.getCommonChats.md)(\['user_id' => [InputUser](../types/InputUser.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages.Chats](../types/messages.Chats.md) ***

-$MadelineProto->[messages->getDhConfig](messages.getDhConfig.md)(\['version' => [int](../types/int.md), 'random_length' => [int](../types/int.md), \]) === [$messages\_DhConfig](../types/messages_DhConfig.md) +$MadelineProto->[messages->getDhConfig](messages.getDhConfig.md)(\['version' => [int](../types/int.md), 'random_length' => [int](../types/int.md), \]) === [$messages.DhConfig](../types/messages.DhConfig.md) ***

-$MadelineProto->[messages->getDialogs](messages.getDialogs.md)(\['exclude_pinned' => [Bool](../types/Bool.md), 'offset_date' => [int](../types/int.md), 'offset_id' => [int](../types/int.md), 'offset_peer' => [InputPeer](../types/InputPeer.md), 'limit' => [int](../types/int.md), \]) === [$messages\_Dialogs](../types/messages_Dialogs.md) +$MadelineProto->[messages->getDialogs](messages.getDialogs.md)(\['exclude_pinned' => [Bool](../types/Bool.md), 'offset_date' => [int](../types/int.md), 'offset_id' => [int](../types/int.md), 'offset_peer' => [InputPeer](../types/InputPeer.md), 'limit' => [int](../types/int.md), \]) === [$messages.Dialogs](../types/messages.Dialogs.md) ***

@@ -612,43 +612,43 @@ $MadelineProto->[messages->getDocumentByHash](messages.getDocumentByHash.md)(\[' ***

-$MadelineProto->[messages->getFavedStickers](messages.getFavedStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages\_FavedStickers](../types/messages_FavedStickers.md) +$MadelineProto->[messages->getFavedStickers](messages.getFavedStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages.FavedStickers](../types/messages.FavedStickers.md) ***

-$MadelineProto->[messages->getFeaturedStickers](messages.getFeaturedStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages\_FeaturedStickers](../types/messages_FeaturedStickers.md) +$MadelineProto->[messages->getFeaturedStickers](messages.getFeaturedStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages.FeaturedStickers](../types/messages.FeaturedStickers.md) ***

-$MadelineProto->[messages->getFullChat](messages.getFullChat.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), \]) === [$messages\_ChatFull](../types/messages_ChatFull.md) +$MadelineProto->[messages->getFullChat](messages.getFullChat.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), \]) === [$messages.ChatFull](../types/messages.ChatFull.md) ***

-$MadelineProto->[messages->getGameHighScores](messages.getGameHighScores.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages\_HighScores](../types/messages_HighScores.md) +$MadelineProto->[messages->getGameHighScores](messages.getGameHighScores.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages.HighScores](../types/messages.HighScores.md) ***

-$MadelineProto->[messages->getHistory](messages.getHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'offset_date' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->getHistory](messages.getHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'offset_date' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[messages->getInlineBotResults](messages.getInlineBotResults.md)(\['bot' => [InputUser](../types/InputUser.md), 'peer' => [InputPeer](../types/InputPeer.md), 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'query' => [string](../types/string.md), 'offset' => [string](../types/string.md), \]) === [$messages\_BotResults](../types/messages_BotResults.md) +$MadelineProto->[messages->getInlineBotResults](messages.getInlineBotResults.md)(\['bot' => [InputUser](../types/InputUser.md), 'peer' => [InputPeer](../types/InputPeer.md), 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'query' => [string](../types/string.md), 'offset' => [string](../types/string.md), \]) === [$messages.BotResults](../types/messages.BotResults.md) ***

-$MadelineProto->[messages->getInlineGameHighScores](messages.getInlineGameHighScores.md)(\['id' => [InputBotInlineMessageID](../types/InputBotInlineMessageID.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages\_HighScores](../types/messages_HighScores.md) +$MadelineProto->[messages->getInlineGameHighScores](messages.getInlineGameHighScores.md)(\['id' => [InputBotInlineMessageID](../types/InputBotInlineMessageID.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages.HighScores](../types/messages.HighScores.md) ***

-$MadelineProto->[messages->getMaskStickers](messages.getMaskStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages\_AllStickers](../types/messages_AllStickers.md) +$MadelineProto->[messages->getMaskStickers](messages.getMaskStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages.AllStickers](../types/messages.AllStickers.md) ***

-$MadelineProto->[messages->getMessageEditData](messages.getMessageEditData.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), \]) === [$messages\_MessageEditData](../types/messages_MessageEditData.md) +$MadelineProto->[messages->getMessageEditData](messages.getMessageEditData.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), \]) === [$messages.MessageEditData](../types/messages.MessageEditData.md) ***

-$MadelineProto->[messages->getMessages](messages.getMessages.md)(\['id' => \[[InputMessage](../types/InputMessage.md)\], \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->getMessages](messages.getMessages.md)(\['id' => \[[InputMessage](../types/InputMessage.md)\], \]) === [$messages.Messages](../types/messages.Messages.md) ***

@@ -656,7 +656,7 @@ $MadelineProto->[messages->getMessagesViews](messages.getMessagesViews.md)(\['pe ***

-$MadelineProto->[messages->getPeerDialogs](messages.getPeerDialogs.md)(\['peers' => \[[InputPeer](../types/InputPeer.md)\], \]) === [$messages\_PeerDialogs](../types/messages_PeerDialogs.md) +$MadelineProto->[messages->getPeerDialogs](messages.getPeerDialogs.md)(\['peers' => \[[InputPeer](../types/InputPeer.md)\], \]) === [$messages.PeerDialogs](../types/messages.PeerDialogs.md) ***

@@ -664,31 +664,31 @@ $MadelineProto->[messages->getPeerSettings](messages.getPeerSettings.md)(\['peer ***

-$MadelineProto->[messages->getPinnedDialogs](messages.getPinnedDialogs.md)(\[\]) === [$messages\_PeerDialogs](../types/messages_PeerDialogs.md) +$MadelineProto->[messages->getPinnedDialogs](messages.getPinnedDialogs.md)(\[\]) === [$messages.PeerDialogs](../types/messages.PeerDialogs.md) ***

-$MadelineProto->[messages->getRecentLocations](messages.getRecentLocations.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'limit' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->getRecentLocations](messages.getRecentLocations.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'limit' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[messages->getRecentStickers](messages.getRecentStickers.md)(\['attached' => [Bool](../types/Bool.md), 'hash' => [int](../types/int.md), \]) === [$messages\_RecentStickers](../types/messages_RecentStickers.md) +$MadelineProto->[messages->getRecentStickers](messages.getRecentStickers.md)(\['attached' => [Bool](../types/Bool.md), 'hash' => [int](../types/int.md), \]) === [$messages.RecentStickers](../types/messages.RecentStickers.md) ***

-$MadelineProto->[messages->getSavedGifs](messages.getSavedGifs.md)(\['hash' => [int](../types/int.md), \]) === [$messages\_SavedGifs](../types/messages_SavedGifs.md) +$MadelineProto->[messages->getSavedGifs](messages.getSavedGifs.md)(\['hash' => [int](../types/int.md), \]) === [$messages.SavedGifs](../types/messages.SavedGifs.md) ***

-$MadelineProto->[messages->getStickerSet](messages.getStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), \]) === [$messages\_StickerSet](../types/messages_StickerSet.md) +$MadelineProto->[messages->getStickerSet](messages.getStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), \]) === [$messages.StickerSet](../types/messages.StickerSet.md) ***

-$MadelineProto->[messages->getStickers](messages.getStickers.md)(\['emoticon' => [string](../types/string.md), 'hash' => [string](../types/string.md), \]) === [$messages\_Stickers](../types/messages_Stickers.md) +$MadelineProto->[messages->getStickers](messages.getStickers.md)(\['emoticon' => [string](../types/string.md), 'hash' => [string](../types/string.md), \]) === [$messages.Stickers](../types/messages.Stickers.md) ***

-$MadelineProto->[messages->getUnreadMentions](messages.getUnreadMentions.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->getUnreadMentions](messages.getUnreadMentions.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

@@ -708,7 +708,7 @@ $MadelineProto->[messages->importChatInvite](messages.importChatInvite.md)(\['ha ***

-$MadelineProto->[messages->installStickerSet](messages.installStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), 'archived' => [Bool](../types/Bool.md), \]) === [$messages\_StickerSetInstallResult](../types/messages_StickerSetInstallResult.md) +$MadelineProto->[messages->installStickerSet](messages.installStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), 'archived' => [Bool](../types/Bool.md), \]) === [$messages.StickerSetInstallResult](../types/messages.StickerSetInstallResult.md) ***

@@ -724,15 +724,15 @@ $MadelineProto->[messages->readFeaturedStickers](messages.readFeaturedStickers.m ***

-$MadelineProto->[messages->readHistory](messages.readHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), \]) === [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) +$MadelineProto->[messages->readHistory](messages.readHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), \]) === [$messages.AffectedMessages](../types/messages.AffectedMessages.md) ***

-$MadelineProto->[messages->readMentions](messages.readMentions.md)(\['peer' => [InputPeer](../types/InputPeer.md), \]) === [$messages\_AffectedHistory](../types/messages_AffectedHistory.md) +$MadelineProto->[messages->readMentions](messages.readMentions.md)(\['peer' => [InputPeer](../types/InputPeer.md), \]) === [$messages.AffectedHistory](../types/messages.AffectedHistory.md) ***

-$MadelineProto->[messages->readMessageContents](messages.readMessageContents.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) +$MadelineProto->[messages->readMessageContents](messages.readMessageContents.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages.AffectedMessages](../types/messages.AffectedMessages.md) ***

@@ -776,27 +776,27 @@ $MadelineProto->[messages->saveRecentSticker](messages.saveRecentSticker.md)(\[' ***

-$MadelineProto->[messages->search](messages.search.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'q' => [string](../types/string.md), 'from_id' => [InputUser](../types/InputUser.md), 'filter' => [MessagesFilter](../types/MessagesFilter.md), 'min_date' => [int](../types/int.md), 'max_date' => [int](../types/int.md), 'offset_id' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->search](messages.search.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'q' => [string](../types/string.md), 'from_id' => [InputUser](../types/InputUser.md), 'filter' => [MessagesFilter](../types/MessagesFilter.md), 'min_date' => [int](../types/int.md), 'max_date' => [int](../types/int.md), 'offset_id' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[messages->searchGifs](messages.searchGifs.md)(\['q' => [string](../types/string.md), 'offset' => [int](../types/int.md), \]) === [$messages\_FoundGifs](../types/messages_FoundGifs.md) +$MadelineProto->[messages->searchGifs](messages.searchGifs.md)(\['q' => [string](../types/string.md), 'offset' => [int](../types/int.md), \]) === [$messages.FoundGifs](../types/messages.FoundGifs.md) ***

-$MadelineProto->[messages->searchGlobal](messages.searchGlobal.md)(\['q' => [string](../types/string.md), 'offset_date' => [int](../types/int.md), 'offset_peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->searchGlobal](messages.searchGlobal.md)(\['q' => [string](../types/string.md), 'offset_date' => [int](../types/int.md), 'offset_peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[messages->sendEncrypted](messages.sendEncrypted.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'message' => [DecryptedMessage](../types/DecryptedMessage.md), \]) === [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +$MadelineProto->[messages->sendEncrypted](messages.sendEncrypted.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), \]) === [$messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ***

-$MadelineProto->[messages->sendEncryptedFile](messages.sendEncryptedFile.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'message' => [DecryptedMessage](../types/DecryptedMessage.md), 'file' => [InputEncryptedFile](../types/InputEncryptedFile.md), \]) === [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +$MadelineProto->[messages->sendEncryptedFile](messages.sendEncryptedFile.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), 'file' => [InputEncryptedFile](../types/InputEncryptedFile.md), \]) === [$messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ***

-$MadelineProto->[messages->sendEncryptedService](messages.sendEncryptedService.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'message' => [DecryptedMessage](../types/DecryptedMessage.md), \]) === [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +$MadelineProto->[messages->sendEncryptedService](messages.sendEncryptedService.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), \]) === [$messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ***

@@ -880,31 +880,31 @@ $MadelineProto->[payments->clearSavedInfo](payments.clearSavedInfo.md)(\['creden ***

-$MadelineProto->[payments->getPaymentForm](payments.getPaymentForm.md)(\['msg_id' => [int](../types/int.md), \]) === [$payments\_PaymentForm](../types/payments_PaymentForm.md) +$MadelineProto->[payments->getPaymentForm](payments.getPaymentForm.md)(\['msg_id' => [int](../types/int.md), \]) === [$payments.PaymentForm](../types/payments.PaymentForm.md) ***

-$MadelineProto->[payments->getPaymentReceipt](payments.getPaymentReceipt.md)(\['msg_id' => [int](../types/int.md), \]) === [$payments\_PaymentReceipt](../types/payments_PaymentReceipt.md) +$MadelineProto->[payments->getPaymentReceipt](payments.getPaymentReceipt.md)(\['msg_id' => [int](../types/int.md), \]) === [$payments.PaymentReceipt](../types/payments.PaymentReceipt.md) ***

-$MadelineProto->[payments->getSavedInfo](payments.getSavedInfo.md)(\[\]) === [$payments\_SavedInfo](../types/payments_SavedInfo.md) +$MadelineProto->[payments->getSavedInfo](payments.getSavedInfo.md)(\[\]) === [$payments.SavedInfo](../types/payments.SavedInfo.md) ***

-$MadelineProto->[payments->sendPaymentForm](payments.sendPaymentForm.md)(\['msg_id' => [int](../types/int.md), 'requested_info_id' => [string](../types/string.md), 'shipping_option_id' => [string](../types/string.md), 'credentials' => [InputPaymentCredentials](../types/InputPaymentCredentials.md), \]) === [$payments\_PaymentResult](../types/payments_PaymentResult.md) +$MadelineProto->[payments->sendPaymentForm](payments.sendPaymentForm.md)(\['msg_id' => [int](../types/int.md), 'requested_info_id' => [string](../types/string.md), 'shipping_option_id' => [string](../types/string.md), 'credentials' => [InputPaymentCredentials](../types/InputPaymentCredentials.md), \]) === [$payments.PaymentResult](../types/payments.PaymentResult.md) ***

-$MadelineProto->[payments->validateRequestedInfo](payments.validateRequestedInfo.md)(\['save' => [Bool](../types/Bool.md), 'msg_id' => [int](../types/int.md), 'info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), \]) === [$payments\_ValidatedRequestedInfo](../types/payments_ValidatedRequestedInfo.md) +$MadelineProto->[payments->validateRequestedInfo](payments.validateRequestedInfo.md)(\['save' => [Bool](../types/Bool.md), 'msg_id' => [int](../types/int.md), 'info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), \]) === [$payments.ValidatedRequestedInfo](../types/payments.ValidatedRequestedInfo.md) ***

-$MadelineProto->[phone->acceptCall](phone.acceptCall.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'g_b' => [bytes](../types/bytes.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone\_PhoneCall](../types/phone_PhoneCall.md) +$MadelineProto->[phone->acceptCall](phone.acceptCall.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'g_b' => [bytes](../types/bytes.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone.PhoneCall](../types/phone.PhoneCall.md) ***

-$MadelineProto->[phone->confirmCall](phone.confirmCall.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'g_a' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone\_PhoneCall](../types/phone_PhoneCall.md) +$MadelineProto->[phone->confirmCall](phone.confirmCall.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'g_a' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone.PhoneCall](../types/phone.PhoneCall.md) ***

@@ -920,7 +920,7 @@ $MadelineProto->[phone->receivedCall](phone.receivedCall.md)(\['peer' => [InputP ***

-$MadelineProto->[phone->requestCall](phone.requestCall.md)(\['user_id' => [InputUser](../types/InputUser.md), 'g_a_hash' => [bytes](../types/bytes.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone\_PhoneCall](../types/phone_PhoneCall.md) +$MadelineProto->[phone->requestCall](phone.requestCall.md)(\['user_id' => [InputUser](../types/InputUser.md), 'g_a_hash' => [bytes](../types/bytes.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone.PhoneCall](../types/phone.PhoneCall.md) ***

@@ -936,7 +936,7 @@ $MadelineProto->[photos->deletePhotos](photos.deletePhotos.md)(\['id' => \[[Inpu ***

-$MadelineProto->[photos->getUserPhotos](photos.getUserPhotos.md)(\['user_id' => [InputUser](../types/InputUser.md), 'offset' => [int](../types/int.md), 'max_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$photos\_Photos](../types/photos_Photos.md) +$MadelineProto->[photos->getUserPhotos](photos.getUserPhotos.md)(\['user_id' => [InputUser](../types/InputUser.md), 'offset' => [int](../types/int.md), 'max_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$photos.Photos](../types/photos.Photos.md) ***

@@ -944,39 +944,39 @@ $MadelineProto->[photos->updateProfilePhoto](photos.updateProfilePhoto.md)(\['id ***

-$MadelineProto->[photos->uploadProfilePhoto](photos.uploadProfilePhoto.md)(\['file' => [InputFile](../types/InputFile.md), \]) === [$photos\_Photo](../types/photos_Photo.md) +$MadelineProto->[photos->uploadProfilePhoto](photos.uploadProfilePhoto.md)(\['file' => [InputFile](../types/InputFile.md), \]) === [$photos.Photo](../types/photos.Photo.md) ***

-$MadelineProto->[stickers->addStickerToSet](stickers.addStickerToSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), 'sticker' => [InputStickerSetItem](../types/InputStickerSetItem.md), \]) === [$messages\_StickerSet](../types/messages_StickerSet.md) +$MadelineProto->[stickers->addStickerToSet](stickers.addStickerToSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), 'sticker' => [InputStickerSetItem](../types/InputStickerSetItem.md), \]) === [$messages.StickerSet](../types/messages.StickerSet.md) ***

-$MadelineProto->[stickers->changeStickerPosition](stickers.changeStickerPosition.md)(\['sticker' => [InputDocument](../types/InputDocument.md), 'position' => [int](../types/int.md), \]) === [$messages\_StickerSet](../types/messages_StickerSet.md) +$MadelineProto->[stickers->changeStickerPosition](stickers.changeStickerPosition.md)(\['sticker' => [InputDocument](../types/InputDocument.md), 'position' => [int](../types/int.md), \]) === [$messages.StickerSet](../types/messages.StickerSet.md) ***

-$MadelineProto->[stickers->createStickerSet](stickers.createStickerSet.md)(\['masks' => [Bool](../types/Bool.md), 'user_id' => [InputUser](../types/InputUser.md), 'title' => [string](../types/string.md), 'short_name' => [string](../types/string.md), 'stickers' => \[[InputStickerSetItem](../types/InputStickerSetItem.md)\], \]) === [$messages\_StickerSet](../types/messages_StickerSet.md) +$MadelineProto->[stickers->createStickerSet](stickers.createStickerSet.md)(\['masks' => [Bool](../types/Bool.md), 'user_id' => [InputUser](../types/InputUser.md), 'title' => [string](../types/string.md), 'short_name' => [string](../types/string.md), 'stickers' => \[[InputStickerSetItem](../types/InputStickerSetItem.md)\], \]) === [$messages.StickerSet](../types/messages.StickerSet.md) ***

-$MadelineProto->[stickers->removeStickerFromSet](stickers.removeStickerFromSet.md)(\['sticker' => [InputDocument](../types/InputDocument.md), \]) === [$messages\_StickerSet](../types/messages_StickerSet.md) +$MadelineProto->[stickers->removeStickerFromSet](stickers.removeStickerFromSet.md)(\['sticker' => [InputDocument](../types/InputDocument.md), \]) === [$messages.StickerSet](../types/messages.StickerSet.md) ***

-$MadelineProto->[updates->getChannelDifference](updates.getChannelDifference.md)(\['force' => [Bool](../types/Bool.md), 'channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$updates\_ChannelDifference](../types/updates_ChannelDifference.md) +$MadelineProto->[updates->getChannelDifference](updates.getChannelDifference.md)(\['force' => [Bool](../types/Bool.md), 'channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$updates.ChannelDifference](../types/updates.ChannelDifference.md) ***

-$MadelineProto->[updates->getDifference](updates.getDifference.md)(\['pts' => [int](../types/int.md), 'pts_total_limit' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) === [$updates\_Difference](../types/updates_Difference.md) +$MadelineProto->[updates->getDifference](updates.getDifference.md)(\['pts' => [int](../types/int.md), 'pts_total_limit' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) === [$updates.Difference](../types/updates.Difference.md) ***

-$MadelineProto->[updates->getState](updates.getState.md)(\[\]) === [$updates\_State](../types/updates_State.md) +$MadelineProto->[updates->getState](updates.getState.md)(\[\]) === [$updates.State](../types/updates.State.md) ***

-$MadelineProto->[upload->getCdnFile](upload.getCdnFile.md)(\['file_token' => [bytes](../types/bytes.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_CdnFile](../types/upload_CdnFile.md) +$MadelineProto->[upload->getCdnFile](upload.getCdnFile.md)(\['file_token' => [bytes](../types/bytes.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload.CdnFile](../types/upload.CdnFile.md) ***

@@ -984,11 +984,11 @@ $MadelineProto->[upload->getCdnFileHashes](upload.getCdnFileHashes.md)(\['file_t ***

-$MadelineProto->[upload->getFile](upload.getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_File](../types/upload_File.md) +$MadelineProto->[upload->getFile](upload.getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload.File](../types/upload.File.md) ***

-$MadelineProto->[upload->getWebFile](upload.getWebFile.md)(\['location' => [InputWebFileLocation](../types/InputWebFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_WebFile](../types/upload_WebFile.md) +$MadelineProto->[upload->getWebFile](upload.getWebFile.md)(\['location' => [InputWebFileLocation](../types/InputWebFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload.WebFile](../types/upload.WebFile.md) ***

diff --git a/old_docs/API_docs_v75/methods/auth.checkPassword.md b/old_docs/API_docs_v75/methods/auth.checkPassword.md index db65cb56..eeeed171 100644 --- a/old_docs/API_docs_v75/methods/auth.checkPassword.md +++ b/old_docs/API_docs_v75/methods/auth.checkPassword.md @@ -16,7 +16,7 @@ You cannot use this method directly, use the complete_2fa_login method instead ( |password\_hash|[bytes](../types/bytes.md) | You cannot use this method directly, use the complete_2fa_login method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->checkPassword(['password_hash' => 'bytes', ]); +$auth.Authorization = $MadelineProto->auth->checkPassword(['password_hash' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.checkPassword({password_hash='bytes', }) +auth.Authorization = auth.checkPassword({password_hash='bytes', }) ``` ### Errors diff --git a/old_docs/API_docs_v75/methods/auth.checkPhone.md b/old_docs/API_docs_v75/methods/auth.checkPhone.md index 227358cb..51d4cba6 100644 --- a/old_docs/API_docs_v75/methods/auth.checkPhone.md +++ b/old_docs/API_docs_v75/methods/auth.checkPhone.md @@ -16,7 +16,7 @@ Check if this phone number is registered on telegram |phone\_number|[string](../types/string.md) | The phone number to check | Yes| -### Return type: [auth\_CheckedPhone](../types/auth_CheckedPhone.md) +### Return type: [auth.CheckedPhone](../types/auth.CheckedPhone.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => 'string', ]); +$auth.CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_CheckedPhone = auth.checkPhone({phone_number='string', }) +auth.CheckedPhone = auth.checkPhone({phone_number='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v75/methods/auth.exportAuthorization.md b/old_docs/API_docs_v75/methods/auth.exportAuthorization.md index 72063a2b..41a1f87d 100644 --- a/old_docs/API_docs_v75/methods/auth.exportAuthorization.md +++ b/old_docs/API_docs_v75/methods/auth.exportAuthorization.md @@ -16,7 +16,7 @@ You cannot use this method directly, use $MadelineProto->exportAuthorization() i |dc\_id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| -### Return type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) +### Return type: [auth.ExportedAuthorization](../types/auth.ExportedAuthorization.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_ExportedAuthorization = $MadelineProto->auth->exportAuthorization(['dc_id' => int, ]); +$auth.ExportedAuthorization = $MadelineProto->auth->exportAuthorization(['dc_id' => int, ]); ``` Or, if you're into Lua: ```lua -auth_ExportedAuthorization = auth.exportAuthorization({dc_id=int, }) +auth.ExportedAuthorization = auth.exportAuthorization({dc_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v75/methods/auth.importAuthorization.md b/old_docs/API_docs_v75/methods/auth.importAuthorization.md index d9c13751..5257e0b0 100644 --- a/old_docs/API_docs_v75/methods/auth.importAuthorization.md +++ b/old_docs/API_docs_v75/methods/auth.importAuthorization.md @@ -17,7 +17,7 @@ You cannot use this method directly, use $MadelineProto->importAuthorization($au |bytes|[bytes](../types/bytes.md) | You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => 'bytes', ]); +$auth.Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.importAuthorization({id=int, bytes='bytes', }) +auth.Authorization = auth.importAuthorization({id=int, bytes='bytes', }) ``` ### Errors diff --git a/old_docs/API_docs_v75/methods/auth.importBotAuthorization.md b/old_docs/API_docs_v75/methods/auth.importBotAuthorization.md index 3161d6be..a4ea8027 100644 --- a/old_docs/API_docs_v75/methods/auth.importBotAuthorization.md +++ b/old_docs/API_docs_v75/methods/auth.importBotAuthorization.md @@ -18,7 +18,7 @@ You cannot use this method directly, use the botLogin method instead (see https: |bot\_auth\_token|[string](../types/string.md) | You cannot use this method directly, use the botLogin method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **YES** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->importBotAuthorization(['api_id' => int, 'api_hash' => 'string', 'bot_auth_token' => 'string', ]); +$auth.Authorization = $MadelineProto->auth->importBotAuthorization(['api_id' => int, 'api_hash' => 'string', 'bot_auth_token' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.importBotAuthorization({api_id=int, api_hash='string', bot_auth_token='string', }) +auth.Authorization = auth.importBotAuthorization({api_id=int, api_hash='string', bot_auth_token='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v75/methods/auth.recoverPassword.md b/old_docs/API_docs_v75/methods/auth.recoverPassword.md index f7cbf4a4..2e78444b 100644 --- a/old_docs/API_docs_v75/methods/auth.recoverPassword.md +++ b/old_docs/API_docs_v75/methods/auth.recoverPassword.md @@ -16,7 +16,7 @@ Reset the [2FA password](https://core.telegram.org/api/srp) using the recovery c |code|[string](../types/string.md) | Code received via email | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->recoverPassword(['code' => 'string', ]); +$auth.Authorization = $MadelineProto->auth->recoverPassword(['code' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.recoverPassword({code='string', }) +auth.Authorization = auth.recoverPassword({code='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v75/methods/auth.requestPasswordRecovery.md b/old_docs/API_docs_v75/methods/auth.requestPasswordRecovery.md index 5cd77936..ff1ecc02 100644 --- a/old_docs/API_docs_v75/methods/auth.requestPasswordRecovery.md +++ b/old_docs/API_docs_v75/methods/auth.requestPasswordRecovery.md @@ -11,7 +11,7 @@ Request recovery code of a [2FA password](https://core.telegram.org/api/srp), on -### Return type: [auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) +### Return type: [auth.PasswordRecovery](../types/auth.PasswordRecovery.md) ### Can bots use this method: **NO** @@ -28,13 +28,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_PasswordRecovery = $MadelineProto->auth->requestPasswordRecovery(); +$auth.PasswordRecovery = $MadelineProto->auth->requestPasswordRecovery(); ``` Or, if you're into Lua: ```lua -auth_PasswordRecovery = auth.requestPasswordRecovery({}) +auth.PasswordRecovery = auth.requestPasswordRecovery({}) ``` ### Errors diff --git a/old_docs/API_docs_v75/methods/auth.resendCode.md b/old_docs/API_docs_v75/methods/auth.resendCode.md index a395a91b..f59f1b7b 100644 --- a/old_docs/API_docs_v75/methods/auth.resendCode.md +++ b/old_docs/API_docs_v75/methods/auth.resendCode.md @@ -17,7 +17,7 @@ Resend the login code via another medium, the phone code type is determined by t |phone\_code\_hash|[string](../types/string.md) | The phone code hash obtained from [auth.sendCode](../methods/auth.sendCode.md) | Yes| -### Return type: [auth\_SentCode](../types/auth_SentCode.md) +### Return type: [auth.SentCode](../types/auth.SentCode.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_SentCode = $MadelineProto->auth->resendCode(['phone_number' => 'string', 'phone_code_hash' => 'string', ]); +$auth.SentCode = $MadelineProto->auth->resendCode(['phone_number' => 'string', 'phone_code_hash' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_SentCode = auth.resendCode({phone_number='string', phone_code_hash='string', }) +auth.SentCode = auth.resendCode({phone_number='string', phone_code_hash='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v75/methods/auth.sendCode.md b/old_docs/API_docs_v75/methods/auth.sendCode.md index bd922a48..0c818fbb 100644 --- a/old_docs/API_docs_v75/methods/auth.sendCode.md +++ b/old_docs/API_docs_v75/methods/auth.sendCode.md @@ -20,7 +20,7 @@ You cannot use this method directly, use the phoneLogin method instead (see http |api\_hash|[string](../types/string.md) | You cannot use this method directly, use the phoneLogin method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_SentCode](../types/auth_SentCode.md) +### Return type: [auth.SentCode](../types/auth.SentCode.md) ### Can bots use this method: **NO** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_SentCode = $MadelineProto->auth->sendCode(['allow_flashcall' => Bool, 'phone_number' => 'string', 'current_number' => Bool, 'api_id' => int, 'api_hash' => 'string', ]); +$auth.SentCode = $MadelineProto->auth->sendCode(['allow_flashcall' => Bool, 'phone_number' => 'string', 'current_number' => Bool, 'api_id' => int, 'api_hash' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_SentCode = auth.sendCode({allow_flashcall=Bool, phone_number='string', current_number=Bool, api_id=int, api_hash='string', }) +auth.SentCode = auth.sendCode({allow_flashcall=Bool, phone_number='string', current_number=Bool, api_id=int, api_hash='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v75/methods/auth.signIn.md b/old_docs/API_docs_v75/methods/auth.signIn.md index 54812a2e..95b14f32 100644 --- a/old_docs/API_docs_v75/methods/auth.signIn.md +++ b/old_docs/API_docs_v75/methods/auth.signIn.md @@ -18,7 +18,7 @@ You cannot use this method directly, use the completePhoneLogin method instead ( |phone\_code|[string](../types/string.md) | You cannot use this method directly, use the completePhoneLogin method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->signIn(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', ]); +$auth.Authorization = $MadelineProto->auth->signIn(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.signIn({phone_number='string', phone_code_hash='string', phone_code='string', }) +auth.Authorization = auth.signIn({phone_number='string', phone_code_hash='string', phone_code='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v75/methods/auth.signUp.md b/old_docs/API_docs_v75/methods/auth.signUp.md index 2aca2bfa..fdb5d628 100644 --- a/old_docs/API_docs_v75/methods/auth.signUp.md +++ b/old_docs/API_docs_v75/methods/auth.signUp.md @@ -20,7 +20,7 @@ You cannot use this method directly, use the completeSignup method instead (see |last\_name|[string](../types/string.md) | You cannot use this method directly, use the completeSignup method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **NO** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->signUp(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', 'first_name' => 'string', 'last_name' => 'string', ]); +$auth.Authorization = $MadelineProto->auth->signUp(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', 'first_name' => 'string', 'last_name' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.signUp({phone_number='string', phone_code_hash='string', phone_code='string', first_name='string', last_name='string', }) +auth.Authorization = auth.signUp({phone_number='string', phone_code_hash='string', phone_code='string', first_name='string', last_name='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v75/methods/channels.deleteMessages.md b/old_docs/API_docs_v75/methods/channels.deleteMessages.md index 10a439fb..8583e560 100644 --- a/old_docs/API_docs_v75/methods/channels.deleteMessages.md +++ b/old_docs/API_docs_v75/methods/channels.deleteMessages.md @@ -17,7 +17,7 @@ Delete messages in a [channel/supergroup](https://core.telegram.org/api/channel) |id|Array of [int](../types/int.md) | The IDs of messages to delete | Yes| -### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) +### Return type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedMessages = $MadelineProto->channels->deleteMessages(['channel' => InputChannel, 'id' => [int, int], ]); +$messages.AffectedMessages = $MadelineProto->channels->deleteMessages(['channel' => InputChannel, 'id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AffectedMessages = channels.deleteMessages({channel=InputChannel, id={int}, }) +messages.AffectedMessages = channels.deleteMessages({channel=InputChannel, id={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v75/methods/channels.deleteUserHistory.md b/old_docs/API_docs_v75/methods/channels.deleteUserHistory.md index 9b8b159f..6ccaf7dd 100644 --- a/old_docs/API_docs_v75/methods/channels.deleteUserHistory.md +++ b/old_docs/API_docs_v75/methods/channels.deleteUserHistory.md @@ -17,7 +17,7 @@ Delete all messages sent by a certain user in a [supergroup](https://core.telegr |user\_id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | User whose messages should be deleted | Optional| -### Return type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) +### Return type: [messages.AffectedHistory](../types/messages.AffectedHistory.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedHistory = $MadelineProto->channels->deleteUserHistory(['channel' => InputChannel, 'user_id' => InputUser, ]); +$messages.AffectedHistory = $MadelineProto->channels->deleteUserHistory(['channel' => InputChannel, 'user_id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -messages_AffectedHistory = channels.deleteUserHistory({channel=InputChannel, user_id=InputUser, }) +messages.AffectedHistory = channels.deleteUserHistory({channel=InputChannel, user_id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v75/methods/channels.getAdminLog.md b/old_docs/API_docs_v75/methods/channels.getAdminLog.md index e149f653..3b550a73 100644 --- a/old_docs/API_docs_v75/methods/channels.getAdminLog.md +++ b/old_docs/API_docs_v75/methods/channels.getAdminLog.md @@ -22,7 +22,7 @@ Get the admin log of a [channel/supergroup](https://core.telegram.org/api/channe |limit|[int](../types/int.md) | Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets) | Yes| -### Return type: [channels\_AdminLogResults](../types/channels_AdminLogResults.md) +### Return type: [channels.AdminLogResults](../types/channels.AdminLogResults.md) ### Can bots use this method: **NO** @@ -39,13 +39,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$channels_AdminLogResults = $MadelineProto->channels->getAdminLog(['channel' => InputChannel, 'q' => 'string', 'events_filter' => ChannelAdminLogEventsFilter, 'admins' => [InputUser, InputUser], 'max_id' => long, 'min_id' => long, 'limit' => int, ]); +$channels.AdminLogResults = $MadelineProto->channels->getAdminLog(['channel' => InputChannel, 'q' => 'string', 'events_filter' => ChannelAdminLogEventsFilter, 'admins' => [InputUser, InputUser], 'max_id' => long, 'min_id' => long, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -channels_AdminLogResults = channels.getAdminLog({channel=InputChannel, q='string', events_filter=ChannelAdminLogEventsFilter, admins={InputUser}, max_id=long, min_id=long, limit=int, }) +channels.AdminLogResults = channels.getAdminLog({channel=InputChannel, q='string', events_filter=ChannelAdminLogEventsFilter, admins={InputUser}, max_id=long, min_id=long, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v75/methods/channels.getAdminedPublicChannels.md b/old_docs/API_docs_v75/methods/channels.getAdminedPublicChannels.md index 55a686ca..eb277404 100644 --- a/old_docs/API_docs_v75/methods/channels.getAdminedPublicChannels.md +++ b/old_docs/API_docs_v75/methods/channels.getAdminedPublicChannels.md @@ -11,7 +11,7 @@ Get [channels/supergroups/geogroups](https://core.telegram.org/api/channel) we'r -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->channels->getAdminedPublicChannels(); +$messages.Chats = $MadelineProto->channels->getAdminedPublicChannels(); ``` Or, if you're into Lua: ```lua -messages_Chats = channels.getAdminedPublicChannels({}) +messages.Chats = channels.getAdminedPublicChannels({}) ``` diff --git a/old_docs/API_docs_v75/methods/channels.getChannels.md b/old_docs/API_docs_v75/methods/channels.getChannels.md index 368c96ce..ed9cf4a7 100644 --- a/old_docs/API_docs_v75/methods/channels.getChannels.md +++ b/old_docs/API_docs_v75/methods/channels.getChannels.md @@ -16,7 +16,7 @@ Get info about [channels/supergroups](https://core.telegram.org/api/channel) |id|Array of [Username, chat ID, Update, Message or InputChannel](../types/InputChannel.md) | The channel/supergroup MTProto IDs | Yes| -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->channels->getChannels(['id' => [InputChannel, InputChannel], ]); +$messages.Chats = $MadelineProto->channels->getChannels(['id' => [InputChannel, InputChannel], ]); ``` Or, if you're into Lua: ```lua -messages_Chats = channels.getChannels({id={InputChannel}, }) +messages.Chats = channels.getChannels({id={InputChannel}, }) ``` ### Errors diff --git a/old_docs/API_docs_v75/methods/channels.getFullChannel.md b/old_docs/API_docs_v75/methods/channels.getFullChannel.md index 08dc21bb..1369e0a0 100644 --- a/old_docs/API_docs_v75/methods/channels.getFullChannel.md +++ b/old_docs/API_docs_v75/methods/channels.getFullChannel.md @@ -16,7 +16,7 @@ You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo me |channel|[Username, chat ID, Update, Message or InputChannel](../types/InputChannel.md) | You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo methods instead (see https://docs.madelineproto.xyz for more info) | Optional| -### Return type: [messages\_ChatFull](../types/messages_ChatFull.md) +### Return type: [messages.ChatFull](../types/messages.ChatFull.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_ChatFull = $MadelineProto->channels->getFullChannel(['channel' => InputChannel, ]); +$messages.ChatFull = $MadelineProto->channels->getFullChannel(['channel' => InputChannel, ]); ``` Or, if you're into Lua: ```lua -messages_ChatFull = channels.getFullChannel({channel=InputChannel, }) +messages.ChatFull = channels.getFullChannel({channel=InputChannel, }) ``` ### Errors diff --git a/old_docs/API_docs_v75/methods/channels.getMessages.md b/old_docs/API_docs_v75/methods/channels.getMessages.md index 428734e3..708e404a 100644 --- a/old_docs/API_docs_v75/methods/channels.getMessages.md +++ b/old_docs/API_docs_v75/methods/channels.getMessages.md @@ -17,7 +17,7 @@ Get [channel/supergroup](https://core.telegram.org/api/channel) messages |id|Array of [Message ID or InputMessage](../types/InputMessage.md) | The message IDs | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->channels->getMessages(['channel' => InputChannel, 'id' => [InputMessage, InputMessage], ]); +$messages.Messages = $MadelineProto->channels->getMessages(['channel' => InputChannel, 'id' => [InputMessage, InputMessage], ]); ``` Or, if you're into Lua: ```lua -messages_Messages = channels.getMessages({channel=InputChannel, id={InputMessage}, }) +messages.Messages = channels.getMessages({channel=InputChannel, id={InputMessage}, }) ``` ### Errors diff --git a/old_docs/API_docs_v75/methods/channels.getParticipant.md b/old_docs/API_docs_v75/methods/channels.getParticipant.md index aa2ce655..cf6a7771 100644 --- a/old_docs/API_docs_v75/methods/channels.getParticipant.md +++ b/old_docs/API_docs_v75/methods/channels.getParticipant.md @@ -17,7 +17,7 @@ Get info about a [channel/supergroup](https://core.telegram.org/api/channel) par |user\_id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | ID of participant to get info about | Optional| -### Return type: [channels\_ChannelParticipant](../types/channels_ChannelParticipant.md) +### Return type: [channels.ChannelParticipant](../types/channels.ChannelParticipant.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$channels_ChannelParticipant = $MadelineProto->channels->getParticipant(['channel' => InputChannel, 'user_id' => InputUser, ]); +$channels.ChannelParticipant = $MadelineProto->channels->getParticipant(['channel' => InputChannel, 'user_id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -channels_ChannelParticipant = channels.getParticipant({channel=InputChannel, user_id=InputUser, }) +channels.ChannelParticipant = channels.getParticipant({channel=InputChannel, user_id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v75/methods/channels.getParticipants.md b/old_docs/API_docs_v75/methods/channels.getParticipants.md index dd7e0087..c6b15b63 100644 --- a/old_docs/API_docs_v75/methods/channels.getParticipants.md +++ b/old_docs/API_docs_v75/methods/channels.getParticipants.md @@ -20,7 +20,7 @@ Get the participants of a channel |hash|Array of [int](../types/int.md) | IDs of previously fetched participants | Optional| -### Return type: [channels\_ChannelParticipants](../types/channels_ChannelParticipants.md) +### Return type: [channels.ChannelParticipants](../types/channels.ChannelParticipants.md) ### Can bots use this method: **YES** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$channels_ChannelParticipants = $MadelineProto->channels->getParticipants(['channel' => InputChannel, 'filter' => ChannelParticipantsFilter, 'offset' => int, 'limit' => int, 'hash' => [int, int], ]); +$channels.ChannelParticipants = $MadelineProto->channels->getParticipants(['channel' => InputChannel, 'filter' => ChannelParticipantsFilter, 'offset' => int, 'limit' => int, 'hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -channels_ChannelParticipants = channels.getParticipants({channel=InputChannel, filter=ChannelParticipantsFilter, offset=int, limit=int, hash={int}, }) +channels.ChannelParticipants = channels.getParticipants({channel=InputChannel, filter=ChannelParticipantsFilter, offset=int, limit=int, hash={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v75/methods/contacts.deleteContact.md b/old_docs/API_docs_v75/methods/contacts.deleteContact.md index a9321d64..9169e1e0 100644 --- a/old_docs/API_docs_v75/methods/contacts.deleteContact.md +++ b/old_docs/API_docs_v75/methods/contacts.deleteContact.md @@ -16,7 +16,7 @@ Delete a contact |id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | The contact to delete | Optional| -### Return type: [contacts\_Link](../types/contacts_Link.md) +### Return type: [contacts.Link](../types/contacts.Link.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Link = $MadelineProto->contacts->deleteContact(['id' => InputUser, ]); +$contacts.Link = $MadelineProto->contacts->deleteContact(['id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -contacts_Link = contacts.deleteContact({id=InputUser, }) +contacts.Link = contacts.deleteContact({id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v75/methods/contacts.getBlocked.md b/old_docs/API_docs_v75/methods/contacts.getBlocked.md index 92f2f331..6ac1c343 100644 --- a/old_docs/API_docs_v75/methods/contacts.getBlocked.md +++ b/old_docs/API_docs_v75/methods/contacts.getBlocked.md @@ -17,7 +17,7 @@ Returns the list of blocked users. |limit|[int](../types/int.md) | The number of list elements to be returned | Yes| -### Return type: [contacts\_Blocked](../types/contacts_Blocked.md) +### Return type: [contacts.Blocked](../types/contacts.Blocked.md) ### Can bots use this method: **NO** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Blocked = $MadelineProto->contacts->getBlocked(['offset' => int, 'limit' => int, ]); +$contacts.Blocked = $MadelineProto->contacts->getBlocked(['offset' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -contacts_Blocked = contacts.getBlocked({offset=int, limit=int, }) +contacts.Blocked = contacts.getBlocked({offset=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v75/methods/contacts.getContacts.md b/old_docs/API_docs_v75/methods/contacts.getContacts.md index c67e6240..609549b0 100644 --- a/old_docs/API_docs_v75/methods/contacts.getContacts.md +++ b/old_docs/API_docs_v75/methods/contacts.getContacts.md @@ -16,7 +16,7 @@ Returns the current user's contact list. |hash|Array of [int](../types/int.md) | User IDs of previously cached contacts | Optional| -### Return type: [contacts\_Contacts](../types/contacts_Contacts.md) +### Return type: [contacts.Contacts](../types/contacts.Contacts.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Contacts = $MadelineProto->contacts->getContacts(['hash' => [int, int], ]); +$contacts.Contacts = $MadelineProto->contacts->getContacts(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -contacts_Contacts = contacts.getContacts({hash={int}, }) +contacts.Contacts = contacts.getContacts({hash={int}, }) ``` diff --git a/old_docs/API_docs_v75/methods/contacts.getTopPeers.md b/old_docs/API_docs_v75/methods/contacts.getTopPeers.md index 0acf7155..870de6b3 100644 --- a/old_docs/API_docs_v75/methods/contacts.getTopPeers.md +++ b/old_docs/API_docs_v75/methods/contacts.getTopPeers.md @@ -24,7 +24,7 @@ Get most used peers |hash|Array of [int](../types/int.md) | Peer IDs of previously cached peers | Optional| -### Return type: [contacts\_TopPeers](../types/contacts_TopPeers.md) +### Return type: [contacts.TopPeers](../types/contacts.TopPeers.md) ### Can bots use this method: **NO** @@ -41,13 +41,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_TopPeers = $MadelineProto->contacts->getTopPeers(['correspondents' => Bool, 'bots_pm' => Bool, 'bots_inline' => Bool, 'phone_calls' => Bool, 'groups' => Bool, 'channels' => Bool, 'offset' => int, 'limit' => int, 'hash' => [int, int], ]); +$contacts.TopPeers = $MadelineProto->contacts->getTopPeers(['correspondents' => Bool, 'bots_pm' => Bool, 'bots_inline' => Bool, 'phone_calls' => Bool, 'groups' => Bool, 'channels' => Bool, 'offset' => int, 'limit' => int, 'hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -contacts_TopPeers = contacts.getTopPeers({correspondents=Bool, bots_pm=Bool, bots_inline=Bool, phone_calls=Bool, groups=Bool, channels=Bool, offset=int, limit=int, hash={int}, }) +contacts.TopPeers = contacts.getTopPeers({correspondents=Bool, bots_pm=Bool, bots_inline=Bool, phone_calls=Bool, groups=Bool, channels=Bool, offset=int, limit=int, hash={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v75/methods/contacts.importContacts.md b/old_docs/API_docs_v75/methods/contacts.importContacts.md index 7c795780..dbb9b7fa 100644 --- a/old_docs/API_docs_v75/methods/contacts.importContacts.md +++ b/old_docs/API_docs_v75/methods/contacts.importContacts.md @@ -16,7 +16,7 @@ Imports contacts: saves a full list on the server, adds already registered conta |contacts|Array of [InputContact](../types/InputContact.md) | The numbers to import | Yes| -### Return type: [contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) +### Return type: [contacts.ImportedContacts](../types/contacts.ImportedContacts.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_ImportedContacts = $MadelineProto->contacts->importContacts(['contacts' => [InputContact, InputContact], ]); +$contacts.ImportedContacts = $MadelineProto->contacts->importContacts(['contacts' => [InputContact, InputContact], ]); ``` Or, if you're into Lua: ```lua -contacts_ImportedContacts = contacts.importContacts({contacts={InputContact}, }) +contacts.ImportedContacts = contacts.importContacts({contacts={InputContact}, }) ``` diff --git a/old_docs/API_docs_v75/methods/contacts.resolveUsername.md b/old_docs/API_docs_v75/methods/contacts.resolveUsername.md index 05e3d854..46f1eb50 100644 --- a/old_docs/API_docs_v75/methods/contacts.resolveUsername.md +++ b/old_docs/API_docs_v75/methods/contacts.resolveUsername.md @@ -16,7 +16,7 @@ You cannot use this method directly, use the resolveUsername, getPwrChat, getInf |username|[string](../types/string.md) | You cannot use this method directly, use the resolveUsername, getPwrChat, getInfo, getFullInfo methods instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [contacts\_ResolvedPeer](../types/contacts_ResolvedPeer.md) +### Return type: [contacts.ResolvedPeer](../types/contacts.ResolvedPeer.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_ResolvedPeer = $MadelineProto->contacts->resolveUsername(['username' => 'string', ]); +$contacts.ResolvedPeer = $MadelineProto->contacts->resolveUsername(['username' => 'string', ]); ``` Or, if you're into Lua: ```lua -contacts_ResolvedPeer = contacts.resolveUsername({username='string', }) +contacts.ResolvedPeer = contacts.resolveUsername({username='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v75/methods/contacts.search.md b/old_docs/API_docs_v75/methods/contacts.search.md index 2f39d6f1..ec04c7f9 100644 --- a/old_docs/API_docs_v75/methods/contacts.search.md +++ b/old_docs/API_docs_v75/methods/contacts.search.md @@ -17,7 +17,7 @@ Returns users found by username substring. |limit|[int](../types/int.md) | Maximum number of users to be returned | Yes| -### Return type: [contacts\_Found](../types/contacts_Found.md) +### Return type: [contacts.Found](../types/contacts.Found.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Found = $MadelineProto->contacts->search(['q' => 'string', 'limit' => int, ]); +$contacts.Found = $MadelineProto->contacts->search(['q' => 'string', 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -contacts_Found = contacts.search({q='string', limit=int, }) +contacts.Found = contacts.search({q='string', limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v75/methods/help.getAppUpdate.md b/old_docs/API_docs_v75/methods/help.getAppUpdate.md index 4c58e898..b9899d71 100644 --- a/old_docs/API_docs_v75/methods/help.getAppUpdate.md +++ b/old_docs/API_docs_v75/methods/help.getAppUpdate.md @@ -11,7 +11,7 @@ Returns information on update availability for the current application. -### Return type: [help\_AppUpdate](../types/help_AppUpdate.md) +### Return type: [help.AppUpdate](../types/help.AppUpdate.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_AppUpdate = $MadelineProto->help->getAppUpdate(); +$help.AppUpdate = $MadelineProto->help->getAppUpdate(); ``` Or, if you're into Lua: ```lua -help_AppUpdate = help.getAppUpdate({}) +help.AppUpdate = help.getAppUpdate({}) ``` diff --git a/old_docs/API_docs_v75/methods/help.getInviteText.md b/old_docs/API_docs_v75/methods/help.getInviteText.md index 6fd67362..0d427974 100644 --- a/old_docs/API_docs_v75/methods/help.getInviteText.md +++ b/old_docs/API_docs_v75/methods/help.getInviteText.md @@ -11,7 +11,7 @@ Returns text of a text message with an invitation. -### Return type: [help\_InviteText](../types/help_InviteText.md) +### Return type: [help.InviteText](../types/help.InviteText.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_InviteText = $MadelineProto->help->getInviteText(); +$help.InviteText = $MadelineProto->help->getInviteText(); ``` Or, if you're into Lua: ```lua -help_InviteText = help.getInviteText({}) +help.InviteText = help.getInviteText({}) ``` diff --git a/old_docs/API_docs_v75/methods/help.getRecentMeUrls.md b/old_docs/API_docs_v75/methods/help.getRecentMeUrls.md index 38cc44c8..a5ab9e06 100644 --- a/old_docs/API_docs_v75/methods/help.getRecentMeUrls.md +++ b/old_docs/API_docs_v75/methods/help.getRecentMeUrls.md @@ -16,7 +16,7 @@ Get recently used `t.me` links |referer|[string](../types/string.md) | Referer | Yes| -### Return type: [help\_RecentMeUrls](../types/help_RecentMeUrls.md) +### Return type: [help.RecentMeUrls](../types/help.RecentMeUrls.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_RecentMeUrls = $MadelineProto->help->getRecentMeUrls(['referer' => 'string', ]); +$help.RecentMeUrls = $MadelineProto->help->getRecentMeUrls(['referer' => 'string', ]); ``` Or, if you're into Lua: ```lua -help_RecentMeUrls = help.getRecentMeUrls({referer='string', }) +help.RecentMeUrls = help.getRecentMeUrls({referer='string', }) ``` diff --git a/old_docs/API_docs_v75/methods/help.getSupport.md b/old_docs/API_docs_v75/methods/help.getSupport.md index 7a577892..8a8df916 100644 --- a/old_docs/API_docs_v75/methods/help.getSupport.md +++ b/old_docs/API_docs_v75/methods/help.getSupport.md @@ -11,7 +11,7 @@ Returns the support user for the 'ask a question' feature. -### Return type: [help\_Support](../types/help_Support.md) +### Return type: [help.Support](../types/help.Support.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_Support = $MadelineProto->help->getSupport(); +$help.Support = $MadelineProto->help->getSupport(); ``` Or, if you're into Lua: ```lua -help_Support = help.getSupport({}) +help.Support = help.getSupport({}) ``` diff --git a/old_docs/API_docs_v75/methods/help.getTermsOfService.md b/old_docs/API_docs_v75/methods/help.getTermsOfService.md index f6226458..9f9b28f9 100644 --- a/old_docs/API_docs_v75/methods/help.getTermsOfService.md +++ b/old_docs/API_docs_v75/methods/help.getTermsOfService.md @@ -11,7 +11,7 @@ Get terms of service -### Return type: [help\_TermsOfService](../types/help_TermsOfService.md) +### Return type: [help.TermsOfService](../types/help.TermsOfService.md) ### Can bots use this method: **YES** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_TermsOfService = $MadelineProto->help->getTermsOfService(); +$help.TermsOfService = $MadelineProto->help->getTermsOfService(); ``` Or, if you're into Lua: ```lua -help_TermsOfService = help.getTermsOfService({}) +help.TermsOfService = help.getTermsOfService({}) ``` diff --git a/old_docs/API_docs_v75/methods/messages.deleteHistory.md b/old_docs/API_docs_v75/methods/messages.deleteHistory.md index 9ae1bae9..41460415 100644 --- a/old_docs/API_docs_v75/methods/messages.deleteHistory.md +++ b/old_docs/API_docs_v75/methods/messages.deleteHistory.md @@ -18,7 +18,7 @@ Deletes communication history. |max\_id|[int](../types/int.md) | Maximum ID of message to delete | Yes| -### Return type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) +### Return type: [messages.AffectedHistory](../types/messages.AffectedHistory.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedHistory = $MadelineProto->messages->deleteHistory(['just_clear' => Bool, 'peer' => InputPeer, 'max_id' => int, ]); +$messages.AffectedHistory = $MadelineProto->messages->deleteHistory(['just_clear' => Bool, 'peer' => InputPeer, 'max_id' => int, ]); ``` Or, if you're into Lua: ```lua -messages_AffectedHistory = messages.deleteHistory({just_clear=Bool, peer=InputPeer, max_id=int, }) +messages.AffectedHistory = messages.deleteHistory({just_clear=Bool, peer=InputPeer, max_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v75/methods/messages.deleteMessages.md b/old_docs/API_docs_v75/methods/messages.deleteMessages.md index ade04cae..ade96e60 100644 --- a/old_docs/API_docs_v75/methods/messages.deleteMessages.md +++ b/old_docs/API_docs_v75/methods/messages.deleteMessages.md @@ -17,7 +17,7 @@ Deletes messages by their identifiers. |id|Array of [int](../types/int.md) | IDs of messages to delete, use channels->deleteMessages for supergroups | Yes| -### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) +### Return type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedMessages = $MadelineProto->messages->deleteMessages(['revoke' => Bool, 'id' => [int, int], ]); +$messages.AffectedMessages = $MadelineProto->messages->deleteMessages(['revoke' => Bool, 'id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AffectedMessages = messages.deleteMessages({revoke=Bool, id={int}, }) +messages.AffectedMessages = messages.deleteMessages({revoke=Bool, id={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v75/methods/messages.getAllChats.md b/old_docs/API_docs_v75/methods/messages.getAllChats.md index cdcc5430..97cc4817 100644 --- a/old_docs/API_docs_v75/methods/messages.getAllChats.md +++ b/old_docs/API_docs_v75/methods/messages.getAllChats.md @@ -16,7 +16,7 @@ Get all chats, channels and supergroups |except\_ids|Array of [int](../types/int.md) | Do not fetch these chats (MTProto id) | Yes| -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->messages->getAllChats(['except_ids' => [int, int], ]); +$messages.Chats = $MadelineProto->messages->getAllChats(['except_ids' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Chats = messages.getAllChats({except_ids={int}, }) +messages.Chats = messages.getAllChats({except_ids={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v75/methods/messages.getAllStickers.md b/old_docs/API_docs_v75/methods/messages.getAllStickers.md index 329b70be..0f0de7f1 100644 --- a/old_docs/API_docs_v75/methods/messages.getAllStickers.md +++ b/old_docs/API_docs_v75/methods/messages.getAllStickers.md @@ -16,7 +16,7 @@ Get all installed stickers |hash|Array of [int](../types/int.md) | The hash parameter of the previous result of this method | Optional| -### Return type: [messages\_AllStickers](../types/messages_AllStickers.md) +### Return type: [messages.AllStickers](../types/messages.AllStickers.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AllStickers = $MadelineProto->messages->getAllStickers(['hash' => [int, int], ]); +$messages.AllStickers = $MadelineProto->messages->getAllStickers(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AllStickers = messages.getAllStickers({hash={int}, }) +messages.AllStickers = messages.getAllStickers({hash={int}, }) ``` diff --git a/old_docs/API_docs_v75/methods/messages.getArchivedStickers.md b/old_docs/API_docs_v75/methods/messages.getArchivedStickers.md index d3abe9fc..c108376e 100644 --- a/old_docs/API_docs_v75/methods/messages.getArchivedStickers.md +++ b/old_docs/API_docs_v75/methods/messages.getArchivedStickers.md @@ -18,7 +18,7 @@ Get all archived stickers |limit|[int](../types/int.md) | Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_ArchivedStickers](../types/messages_ArchivedStickers.md) +### Return type: [messages.ArchivedStickers](../types/messages.ArchivedStickers.md) ### Can bots use this method: **NO** @@ -35,12 +35,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_ArchivedStickers = $MadelineProto->messages->getArchivedStickers(['masks' => Bool, 'offset_id' => long, 'limit' => int, ]); +$messages.ArchivedStickers = $MadelineProto->messages->getArchivedStickers(['masks' => Bool, 'offset_id' => long, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -messages_ArchivedStickers = messages.getArchivedStickers({masks=Bool, offset_id=long, limit=int, }) +messages.ArchivedStickers = messages.getArchivedStickers({masks=Bool, offset_id=long, limit=int, }) ``` diff --git a/old_docs/API_docs_v75/methods/messages.getBotCallbackAnswer.md b/old_docs/API_docs_v75/methods/messages.getBotCallbackAnswer.md index 015fc46b..10072386 100644 --- a/old_docs/API_docs_v75/methods/messages.getBotCallbackAnswer.md +++ b/old_docs/API_docs_v75/methods/messages.getBotCallbackAnswer.md @@ -19,7 +19,7 @@ Press an inline callback button and get a callback answer from the bot |data|[bytes](../types/bytes.md) | Callback data | Optional| -### Return type: [messages\_BotCallbackAnswer](../types/messages_BotCallbackAnswer.md) +### Return type: [messages.BotCallbackAnswer](../types/messages.BotCallbackAnswer.md) ### Can bots use this method: **NO** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_BotCallbackAnswer = $MadelineProto->messages->getBotCallbackAnswer(['game' => Bool, 'peer' => InputPeer, 'msg_id' => int, 'data' => 'bytes', ]); +$messages.BotCallbackAnswer = $MadelineProto->messages->getBotCallbackAnswer(['game' => Bool, 'peer' => InputPeer, 'msg_id' => int, 'data' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -messages_BotCallbackAnswer = messages.getBotCallbackAnswer({game=Bool, peer=InputPeer, msg_id=int, data='bytes', }) +messages.BotCallbackAnswer = messages.getBotCallbackAnswer({game=Bool, peer=InputPeer, msg_id=int, data='bytes', }) ``` ### Errors diff --git a/old_docs/API_docs_v75/methods/messages.getChats.md b/old_docs/API_docs_v75/methods/messages.getChats.md index c34b0488..146341f5 100644 --- a/old_docs/API_docs_v75/methods/messages.getChats.md +++ b/old_docs/API_docs_v75/methods/messages.getChats.md @@ -16,7 +16,7 @@ Returns chat basic info on their IDs. |id|Array of [int](../types/int.md) | The MTProto IDs of chats to fetch info about | Yes| -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->messages->getChats(['id' => [int, int], ]); +$messages.Chats = $MadelineProto->messages->getChats(['id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Chats = messages.getChats({id={int}, }) +messages.Chats = messages.getChats({id={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v75/methods/messages.getCommonChats.md b/old_docs/API_docs_v75/methods/messages.getCommonChats.md index fc7b2363..56a3ec01 100644 --- a/old_docs/API_docs_v75/methods/messages.getCommonChats.md +++ b/old_docs/API_docs_v75/methods/messages.getCommonChats.md @@ -18,7 +18,7 @@ Get chats in common with a user |limit|[int](../types/int.md) | Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->messages->getCommonChats(['user_id' => InputUser, 'max_id' => int, 'limit' => int, ]); +$messages.Chats = $MadelineProto->messages->getCommonChats(['user_id' => InputUser, 'max_id' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Chats = messages.getCommonChats({user_id=InputUser, max_id=int, limit=int, }) +messages.Chats = messages.getCommonChats({user_id=InputUser, max_id=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v75/methods/messages.getDhConfig.md b/old_docs/API_docs_v75/methods/messages.getDhConfig.md index 88ea4ab3..7b9da566 100644 --- a/old_docs/API_docs_v75/methods/messages.getDhConfig.md +++ b/old_docs/API_docs_v75/methods/messages.getDhConfig.md @@ -17,7 +17,7 @@ You cannot use this method directly, instead use $MadelineProto->getDhConfig(); |random\_length|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->getDhConfig(); | Yes| -### Return type: [messages\_DhConfig](../types/messages_DhConfig.md) +### Return type: [messages.DhConfig](../types/messages.DhConfig.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_DhConfig = $MadelineProto->messages->getDhConfig(['version' => int, 'random_length' => int, ]); +$messages.DhConfig = $MadelineProto->messages->getDhConfig(['version' => int, 'random_length' => int, ]); ``` Or, if you're into Lua: ```lua -messages_DhConfig = messages.getDhConfig({version=int, random_length=int, }) +messages.DhConfig = messages.getDhConfig({version=int, random_length=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v75/methods/messages.getDialogs.md b/old_docs/API_docs_v75/methods/messages.getDialogs.md index 9f3fd365..44b8efc8 100644 --- a/old_docs/API_docs_v75/methods/messages.getDialogs.md +++ b/old_docs/API_docs_v75/methods/messages.getDialogs.md @@ -20,7 +20,7 @@ Returns the current user dialog list. |limit|[int](../types/int.md) | Number of list elements to be returned | Yes| -### Return type: [messages\_Dialogs](../types/messages_Dialogs.md) +### Return type: [messages.Dialogs](../types/messages.Dialogs.md) ### Can bots use this method: **NO** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Dialogs = $MadelineProto->messages->getDialogs(['exclude_pinned' => Bool, 'offset_date' => int, 'offset_id' => int, 'offset_peer' => InputPeer, 'limit' => int, ]); +$messages.Dialogs = $MadelineProto->messages->getDialogs(['exclude_pinned' => Bool, 'offset_date' => int, 'offset_id' => int, 'offset_peer' => InputPeer, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Dialogs = messages.getDialogs({exclude_pinned=Bool, offset_date=int, offset_id=int, offset_peer=InputPeer, limit=int, }) +messages.Dialogs = messages.getDialogs({exclude_pinned=Bool, offset_date=int, offset_id=int, offset_peer=InputPeer, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v75/methods/messages.getFavedStickers.md b/old_docs/API_docs_v75/methods/messages.getFavedStickers.md index 3ba077ef..19f64e43 100644 --- a/old_docs/API_docs_v75/methods/messages.getFavedStickers.md +++ b/old_docs/API_docs_v75/methods/messages.getFavedStickers.md @@ -16,7 +16,7 @@ Get faved stickers |hash|Array of [int](../types/int.md) | the hash parameter of the previous result of this method | Optional| -### Return type: [messages\_FavedStickers](../types/messages_FavedStickers.md) +### Return type: [messages.FavedStickers](../types/messages.FavedStickers.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_FavedStickers = $MadelineProto->messages->getFavedStickers(['hash' => [int, int], ]); +$messages.FavedStickers = $MadelineProto->messages->getFavedStickers(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_FavedStickers = messages.getFavedStickers({hash={int}, }) +messages.FavedStickers = messages.getFavedStickers({hash={int}, }) ``` diff --git a/old_docs/API_docs_v75/methods/messages.getFeaturedStickers.md b/old_docs/API_docs_v75/methods/messages.getFeaturedStickers.md index 8f2634c3..2d65d626 100644 --- a/old_docs/API_docs_v75/methods/messages.getFeaturedStickers.md +++ b/old_docs/API_docs_v75/methods/messages.getFeaturedStickers.md @@ -16,7 +16,7 @@ Get featured stickers |hash|Array of [int](../types/int.md) | the hash parameter of the previous result of this method | Optional| -### Return type: [messages\_FeaturedStickers](../types/messages_FeaturedStickers.md) +### Return type: [messages.FeaturedStickers](../types/messages.FeaturedStickers.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_FeaturedStickers = $MadelineProto->messages->getFeaturedStickers(['hash' => [int, int], ]); +$messages.FeaturedStickers = $MadelineProto->messages->getFeaturedStickers(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_FeaturedStickers = messages.getFeaturedStickers({hash={int}, }) +messages.FeaturedStickers = messages.getFeaturedStickers({hash={int}, }) ``` diff --git a/old_docs/API_docs_v75/methods/messages.getFullChat.md b/old_docs/API_docs_v75/methods/messages.getFullChat.md index abf23e21..de543651 100644 --- a/old_docs/API_docs_v75/methods/messages.getFullChat.md +++ b/old_docs/API_docs_v75/methods/messages.getFullChat.md @@ -16,7 +16,7 @@ You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo me |chat\_id|[Username, chat ID, Update, Message or InputPeer](../types/InputPeer.md) | You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo methods instead (see https://docs.madelineproto.xyz for more info) | Optional| -### Return type: [messages\_ChatFull](../types/messages_ChatFull.md) +### Return type: [messages.ChatFull](../types/messages.ChatFull.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_ChatFull = $MadelineProto->messages->getFullChat(['chat_id' => InputPeer, ]); +$messages.ChatFull = $MadelineProto->messages->getFullChat(['chat_id' => InputPeer, ]); ``` Or, if you're into Lua: ```lua -messages_ChatFull = messages.getFullChat({chat_id=InputPeer, }) +messages.ChatFull = messages.getFullChat({chat_id=InputPeer, }) ``` ### Errors diff --git a/old_docs/API_docs_v75/methods/messages.getGameHighScores.md b/old_docs/API_docs_v75/methods/messages.getGameHighScores.md index 0ee9d754..6e4dacb2 100644 --- a/old_docs/API_docs_v75/methods/messages.getGameHighScores.md +++ b/old_docs/API_docs_v75/methods/messages.getGameHighScores.md @@ -18,7 +18,7 @@ Get highscores of a game |user\_id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | Get high scores made by a certain user | Optional| -### Return type: [messages\_HighScores](../types/messages_HighScores.md) +### Return type: [messages.HighScores](../types/messages.HighScores.md) ### Can bots use this method: **YES** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_HighScores = $MadelineProto->messages->getGameHighScores(['peer' => InputPeer, 'id' => int, 'user_id' => InputUser, ]); +$messages.HighScores = $MadelineProto->messages->getGameHighScores(['peer' => InputPeer, 'id' => int, 'user_id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -messages_HighScores = messages.getGameHighScores({peer=InputPeer, id=int, user_id=InputUser, }) +messages.HighScores = messages.getGameHighScores({peer=InputPeer, id=int, user_id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v75/methods/messages.getHistory.md b/old_docs/API_docs_v75/methods/messages.getHistory.md index 9a3d5f8c..c7bd9850 100644 --- a/old_docs/API_docs_v75/methods/messages.getHistory.md +++ b/old_docs/API_docs_v75/methods/messages.getHistory.md @@ -23,7 +23,7 @@ Gets back the conversation history with one interlocutor / within a chat |hash|Array of [int](../types/int.md) | IDs of messages you already fetched | Optional| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **NO** @@ -40,13 +40,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->getHistory(['peer' => InputPeer, 'offset_id' => int, 'offset_date' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, 'hash' => [int, int], ]); +$messages.Messages = $MadelineProto->messages->getHistory(['peer' => InputPeer, 'offset_id' => int, 'offset_date' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, 'hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.getHistory({peer=InputPeer, offset_id=int, offset_date=int, add_offset=int, limit=int, max_id=int, min_id=int, hash={int}, }) +messages.Messages = messages.getHistory({peer=InputPeer, offset_id=int, offset_date=int, add_offset=int, limit=int, max_id=int, min_id=int, hash={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v75/methods/messages.getInlineBotResults.md b/old_docs/API_docs_v75/methods/messages.getInlineBotResults.md index ac251797..8a397236 100644 --- a/old_docs/API_docs_v75/methods/messages.getInlineBotResults.md +++ b/old_docs/API_docs_v75/methods/messages.getInlineBotResults.md @@ -20,7 +20,7 @@ Query an inline bot |offset|[string](../types/string.md) | The offset within the results, will be passed directly as-is to the bot. | Yes| -### Return type: [messages\_BotResults](../types/messages_BotResults.md) +### Return type: [messages.BotResults](../types/messages.BotResults.md) ### Can bots use this method: **NO** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_BotResults = $MadelineProto->messages->getInlineBotResults(['bot' => InputUser, 'peer' => InputPeer, 'geo_point' => InputGeoPoint, 'query' => 'string', 'offset' => 'string', ]); +$messages.BotResults = $MadelineProto->messages->getInlineBotResults(['bot' => InputUser, 'peer' => InputPeer, 'geo_point' => InputGeoPoint, 'query' => 'string', 'offset' => 'string', ]); ``` Or, if you're into Lua: ```lua -messages_BotResults = messages.getInlineBotResults({bot=InputUser, peer=InputPeer, geo_point=InputGeoPoint, query='string', offset='string', }) +messages.BotResults = messages.getInlineBotResults({bot=InputUser, peer=InputPeer, geo_point=InputGeoPoint, query='string', offset='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v75/methods/messages.getInlineGameHighScores.md b/old_docs/API_docs_v75/methods/messages.getInlineGameHighScores.md index 0d02b426..dbcb2cf6 100644 --- a/old_docs/API_docs_v75/methods/messages.getInlineGameHighScores.md +++ b/old_docs/API_docs_v75/methods/messages.getInlineGameHighScores.md @@ -17,7 +17,7 @@ Get highscores of a game sent using an inline bot |user\_id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | Get high scores of a certain user | Optional| -### Return type: [messages\_HighScores](../types/messages_HighScores.md) +### Return type: [messages.HighScores](../types/messages.HighScores.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_HighScores = $MadelineProto->messages->getInlineGameHighScores(['id' => InputBotInlineMessageID, 'user_id' => InputUser, ]); +$messages.HighScores = $MadelineProto->messages->getInlineGameHighScores(['id' => InputBotInlineMessageID, 'user_id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -messages_HighScores = messages.getInlineGameHighScores({id=InputBotInlineMessageID, user_id=InputUser, }) +messages.HighScores = messages.getInlineGameHighScores({id=InputBotInlineMessageID, user_id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v75/methods/messages.getMaskStickers.md b/old_docs/API_docs_v75/methods/messages.getMaskStickers.md index a09834e1..093645f6 100644 --- a/old_docs/API_docs_v75/methods/messages.getMaskStickers.md +++ b/old_docs/API_docs_v75/methods/messages.getMaskStickers.md @@ -16,7 +16,7 @@ Get installed mask stickers |hash|Array of [int](../types/int.md) | the hash parameter of the previous result of this method | Optional| -### Return type: [messages\_AllStickers](../types/messages_AllStickers.md) +### Return type: [messages.AllStickers](../types/messages.AllStickers.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AllStickers = $MadelineProto->messages->getMaskStickers(['hash' => [int, int], ]); +$messages.AllStickers = $MadelineProto->messages->getMaskStickers(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AllStickers = messages.getMaskStickers({hash={int}, }) +messages.AllStickers = messages.getMaskStickers({hash={int}, }) ``` diff --git a/old_docs/API_docs_v75/methods/messages.getMessageEditData.md b/old_docs/API_docs_v75/methods/messages.getMessageEditData.md index 1a083f08..7fd32e82 100644 --- a/old_docs/API_docs_v75/methods/messages.getMessageEditData.md +++ b/old_docs/API_docs_v75/methods/messages.getMessageEditData.md @@ -17,7 +17,7 @@ Find out if a media message's caption can be edited |id|[int](../types/int.md) | ID of message | Yes| -### Return type: [messages\_MessageEditData](../types/messages_MessageEditData.md) +### Return type: [messages.MessageEditData](../types/messages.MessageEditData.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_MessageEditData = $MadelineProto->messages->getMessageEditData(['peer' => InputPeer, 'id' => int, ]); +$messages.MessageEditData = $MadelineProto->messages->getMessageEditData(['peer' => InputPeer, 'id' => int, ]); ``` Or, if you're into Lua: ```lua -messages_MessageEditData = messages.getMessageEditData({peer=InputPeer, id=int, }) +messages.MessageEditData = messages.getMessageEditData({peer=InputPeer, id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v75/methods/messages.getMessages.md b/old_docs/API_docs_v75/methods/messages.getMessages.md index eb5ef6a6..0aed788d 100644 --- a/old_docs/API_docs_v75/methods/messages.getMessages.md +++ b/old_docs/API_docs_v75/methods/messages.getMessages.md @@ -16,7 +16,7 @@ Returns the list of messages by their IDs. |id|Array of [Message ID or InputMessage](../types/InputMessage.md) | The IDs of messages to fetch (only for users and normal groups) | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **YES** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->getMessages(['id' => [InputMessage, InputMessage], ]); +$messages.Messages = $MadelineProto->messages->getMessages(['id' => [InputMessage, InputMessage], ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.getMessages({id={InputMessage}, }) +messages.Messages = messages.getMessages({id={InputMessage}, }) ``` diff --git a/old_docs/API_docs_v75/methods/messages.getPeerDialogs.md b/old_docs/API_docs_v75/methods/messages.getPeerDialogs.md index a2c2714b..79bd7fa3 100644 --- a/old_docs/API_docs_v75/methods/messages.getPeerDialogs.md +++ b/old_docs/API_docs_v75/methods/messages.getPeerDialogs.md @@ -16,7 +16,7 @@ Get dialog info of specified peers |peers|Array of [Username, chat ID, Update, Message or InputPeer](../types/InputPeer.md) | The peers | Yes| -### Return type: [messages\_PeerDialogs](../types/messages_PeerDialogs.md) +### Return type: [messages.PeerDialogs](../types/messages.PeerDialogs.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_PeerDialogs = $MadelineProto->messages->getPeerDialogs(['peers' => [InputPeer, InputPeer], ]); +$messages.PeerDialogs = $MadelineProto->messages->getPeerDialogs(['peers' => [InputPeer, InputPeer], ]); ``` Or, if you're into Lua: ```lua -messages_PeerDialogs = messages.getPeerDialogs({peers={InputPeer}, }) +messages.PeerDialogs = messages.getPeerDialogs({peers={InputPeer}, }) ``` ### Errors diff --git a/old_docs/API_docs_v75/methods/messages.getPinnedDialogs.md b/old_docs/API_docs_v75/methods/messages.getPinnedDialogs.md index f106098d..161075f2 100644 --- a/old_docs/API_docs_v75/methods/messages.getPinnedDialogs.md +++ b/old_docs/API_docs_v75/methods/messages.getPinnedDialogs.md @@ -11,7 +11,7 @@ Get pinned dialogs -### Return type: [messages\_PeerDialogs](../types/messages_PeerDialogs.md) +### Return type: [messages.PeerDialogs](../types/messages.PeerDialogs.md) ### Can bots use this method: **NO** @@ -28,13 +28,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_PeerDialogs = $MadelineProto->messages->getPinnedDialogs(); +$messages.PeerDialogs = $MadelineProto->messages->getPinnedDialogs(); ``` Or, if you're into Lua: ```lua -messages_PeerDialogs = messages.getPinnedDialogs({}) +messages.PeerDialogs = messages.getPinnedDialogs({}) ``` ### Errors diff --git a/old_docs/API_docs_v75/methods/messages.getRecentLocations.md b/old_docs/API_docs_v75/methods/messages.getRecentLocations.md index 751c1c89..cce23765 100644 --- a/old_docs/API_docs_v75/methods/messages.getRecentLocations.md +++ b/old_docs/API_docs_v75/methods/messages.getRecentLocations.md @@ -17,7 +17,7 @@ Get live location history of a certain user |limit|[int](../types/int.md) | Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **NO** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->getRecentLocations(['peer' => InputPeer, 'limit' => int, ]); +$messages.Messages = $MadelineProto->messages->getRecentLocations(['peer' => InputPeer, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.getRecentLocations({peer=InputPeer, limit=int, }) +messages.Messages = messages.getRecentLocations({peer=InputPeer, limit=int, }) ``` diff --git a/old_docs/API_docs_v75/methods/messages.getRecentStickers.md b/old_docs/API_docs_v75/methods/messages.getRecentStickers.md index 28a70889..39cef16a 100644 --- a/old_docs/API_docs_v75/methods/messages.getRecentStickers.md +++ b/old_docs/API_docs_v75/methods/messages.getRecentStickers.md @@ -17,7 +17,7 @@ Get recent stickers |hash|Array of [int](../types/int.md) | IDs the hash parameter of the previous result of this method | Optional| -### Return type: [messages\_RecentStickers](../types/messages_RecentStickers.md) +### Return type: [messages.RecentStickers](../types/messages.RecentStickers.md) ### Can bots use this method: **NO** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_RecentStickers = $MadelineProto->messages->getRecentStickers(['attached' => Bool, 'hash' => [int, int], ]); +$messages.RecentStickers = $MadelineProto->messages->getRecentStickers(['attached' => Bool, 'hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_RecentStickers = messages.getRecentStickers({attached=Bool, hash={int}, }) +messages.RecentStickers = messages.getRecentStickers({attached=Bool, hash={int}, }) ``` diff --git a/old_docs/API_docs_v75/methods/messages.getSavedGifs.md b/old_docs/API_docs_v75/methods/messages.getSavedGifs.md index 1df7f37c..8b31f7b8 100644 --- a/old_docs/API_docs_v75/methods/messages.getSavedGifs.md +++ b/old_docs/API_docs_v75/methods/messages.getSavedGifs.md @@ -16,7 +16,7 @@ Get saved GIFs |hash|Array of [int](../types/int.md) | the hash parameter of the previous result of this method | Optional| -### Return type: [messages\_SavedGifs](../types/messages_SavedGifs.md) +### Return type: [messages.SavedGifs](../types/messages.SavedGifs.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_SavedGifs = $MadelineProto->messages->getSavedGifs(['hash' => [int, int], ]); +$messages.SavedGifs = $MadelineProto->messages->getSavedGifs(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_SavedGifs = messages.getSavedGifs({hash={int}, }) +messages.SavedGifs = messages.getSavedGifs({hash={int}, }) ``` diff --git a/old_docs/API_docs_v75/methods/messages.getStickerSet.md b/old_docs/API_docs_v75/methods/messages.getStickerSet.md index 45fca60f..f11887ee 100644 --- a/old_docs/API_docs_v75/methods/messages.getStickerSet.md +++ b/old_docs/API_docs_v75/methods/messages.getStickerSet.md @@ -16,7 +16,7 @@ Get info about a stickerset |stickerset|[InputStickerSet](../types/InputStickerSet.md) | Stickerset | Optional| -### Return type: [messages\_StickerSet](../types/messages_StickerSet.md) +### Return type: [messages.StickerSet](../types/messages.StickerSet.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StickerSet = $MadelineProto->messages->getStickerSet(['stickerset' => InputStickerSet, ]); +$messages.StickerSet = $MadelineProto->messages->getStickerSet(['stickerset' => InputStickerSet, ]); ``` Or, if you're into Lua: ```lua -messages_StickerSet = messages.getStickerSet({stickerset=InputStickerSet, }) +messages.StickerSet = messages.getStickerSet({stickerset=InputStickerSet, }) ``` ### Errors diff --git a/old_docs/API_docs_v75/methods/messages.getStickers.md b/old_docs/API_docs_v75/methods/messages.getStickers.md index aa149fc3..6fab91a5 100644 --- a/old_docs/API_docs_v75/methods/messages.getStickers.md +++ b/old_docs/API_docs_v75/methods/messages.getStickers.md @@ -17,7 +17,7 @@ Get stickers by emoji |hash|[string](../types/string.md) | Previously fetched sticker IDs | Yes| -### Return type: [messages\_Stickers](../types/messages_Stickers.md) +### Return type: [messages.Stickers](../types/messages.Stickers.md) ### Can bots use this method: **NO** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Stickers = $MadelineProto->messages->getStickers(['emoticon' => 'string', 'hash' => 'string', ]); +$messages.Stickers = $MadelineProto->messages->getStickers(['emoticon' => 'string', 'hash' => 'string', ]); ``` Or, if you're into Lua: ```lua -messages_Stickers = messages.getStickers({emoticon='string', hash='string', }) +messages.Stickers = messages.getStickers({emoticon='string', hash='string', }) ``` diff --git a/old_docs/API_docs_v75/methods/messages.getUnreadMentions.md b/old_docs/API_docs_v75/methods/messages.getUnreadMentions.md index 33bba261..679ed841 100644 --- a/old_docs/API_docs_v75/methods/messages.getUnreadMentions.md +++ b/old_docs/API_docs_v75/methods/messages.getUnreadMentions.md @@ -21,7 +21,7 @@ Get unread messages where we were mentioned |min\_id|[int](../types/int.md) | Minimum message ID to return, [see pagination](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **NO** @@ -38,13 +38,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->getUnreadMentions(['peer' => InputPeer, 'offset_id' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); +$messages.Messages = $MadelineProto->messages->getUnreadMentions(['peer' => InputPeer, 'offset_id' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.getUnreadMentions({peer=InputPeer, offset_id=int, add_offset=int, limit=int, max_id=int, min_id=int, }) +messages.Messages = messages.getUnreadMentions({peer=InputPeer, offset_id=int, add_offset=int, limit=int, max_id=int, min_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v75/methods/messages.installStickerSet.md b/old_docs/API_docs_v75/methods/messages.installStickerSet.md index 1a95ca0b..83ce2121 100644 --- a/old_docs/API_docs_v75/methods/messages.installStickerSet.md +++ b/old_docs/API_docs_v75/methods/messages.installStickerSet.md @@ -17,7 +17,7 @@ Install a stickerset |archived|[Bool](../types/Bool.md) | Whether to archive stickerset | Yes| -### Return type: [messages\_StickerSetInstallResult](../types/messages_StickerSetInstallResult.md) +### Return type: [messages.StickerSetInstallResult](../types/messages.StickerSetInstallResult.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StickerSetInstallResult = $MadelineProto->messages->installStickerSet(['stickerset' => InputStickerSet, 'archived' => Bool, ]); +$messages.StickerSetInstallResult = $MadelineProto->messages->installStickerSet(['stickerset' => InputStickerSet, 'archived' => Bool, ]); ``` Or, if you're into Lua: ```lua -messages_StickerSetInstallResult = messages.installStickerSet({stickerset=InputStickerSet, archived=Bool, }) +messages.StickerSetInstallResult = messages.installStickerSet({stickerset=InputStickerSet, archived=Bool, }) ``` ### Errors diff --git a/old_docs/API_docs_v75/methods/messages.readHistory.md b/old_docs/API_docs_v75/methods/messages.readHistory.md index 39753375..52030c68 100644 --- a/old_docs/API_docs_v75/methods/messages.readHistory.md +++ b/old_docs/API_docs_v75/methods/messages.readHistory.md @@ -17,7 +17,7 @@ Marks message history as read. |max\_id|[int](../types/int.md) | If a positive value is passed, only messages with identifiers less or equal than the given one will be read | Yes| -### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) +### Return type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedMessages = $MadelineProto->messages->readHistory(['peer' => InputPeer, 'max_id' => int, ]); +$messages.AffectedMessages = $MadelineProto->messages->readHistory(['peer' => InputPeer, 'max_id' => int, ]); ``` Or, if you're into Lua: ```lua -messages_AffectedMessages = messages.readHistory({peer=InputPeer, max_id=int, }) +messages.AffectedMessages = messages.readHistory({peer=InputPeer, max_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v75/methods/messages.readMentions.md b/old_docs/API_docs_v75/methods/messages.readMentions.md index 9b73851d..c8c94f00 100644 --- a/old_docs/API_docs_v75/methods/messages.readMentions.md +++ b/old_docs/API_docs_v75/methods/messages.readMentions.md @@ -16,7 +16,7 @@ Mark mentions as read |peer|[Username, chat ID, Update, Message or InputPeer](../types/InputPeer.md) | Dialog | Optional| -### Return type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) +### Return type: [messages.AffectedHistory](../types/messages.AffectedHistory.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedHistory = $MadelineProto->messages->readMentions(['peer' => InputPeer, ]); +$messages.AffectedHistory = $MadelineProto->messages->readMentions(['peer' => InputPeer, ]); ``` Or, if you're into Lua: ```lua -messages_AffectedHistory = messages.readMentions({peer=InputPeer, }) +messages.AffectedHistory = messages.readMentions({peer=InputPeer, }) ``` diff --git a/old_docs/API_docs_v75/methods/messages.readMessageContents.md b/old_docs/API_docs_v75/methods/messages.readMessageContents.md index c479cafe..9798e661 100644 --- a/old_docs/API_docs_v75/methods/messages.readMessageContents.md +++ b/old_docs/API_docs_v75/methods/messages.readMessageContents.md @@ -16,7 +16,7 @@ Notifies the sender about the recipient having listened a voice message or watch |id|Array of [int](../types/int.md) | The messages to mark as read (only users and normal chats, not supergroups) | Yes| -### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) +### Return type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedMessages = $MadelineProto->messages->readMessageContents(['id' => [int, int], ]); +$messages.AffectedMessages = $MadelineProto->messages->readMessageContents(['id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AffectedMessages = messages.readMessageContents({id={int}, }) +messages.AffectedMessages = messages.readMessageContents({id={int}, }) ``` diff --git a/old_docs/API_docs_v75/methods/messages.search.md b/old_docs/API_docs_v75/methods/messages.search.md index 264b9f7e..72c22a4e 100644 --- a/old_docs/API_docs_v75/methods/messages.search.md +++ b/old_docs/API_docs_v75/methods/messages.search.md @@ -26,7 +26,7 @@ Gets back found messages |min\_id|[int](../types/int.md) | [Minimum message ID to return](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **NO** @@ -43,13 +43,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->search(['peer' => InputPeer, 'q' => 'string', 'from_id' => InputUser, 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset_id' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); +$messages.Messages = $MadelineProto->messages->search(['peer' => InputPeer, 'q' => 'string', 'from_id' => InputUser, 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset_id' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.search({peer=InputPeer, q='string', from_id=InputUser, filter=MessagesFilter, min_date=int, max_date=int, offset_id=int, add_offset=int, limit=int, max_id=int, min_id=int, }) +messages.Messages = messages.search({peer=InputPeer, q='string', from_id=InputUser, filter=MessagesFilter, min_date=int, max_date=int, offset_id=int, add_offset=int, limit=int, max_id=int, min_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v75/methods/messages.searchGifs.md b/old_docs/API_docs_v75/methods/messages.searchGifs.md index 851371d7..193a0cd4 100644 --- a/old_docs/API_docs_v75/methods/messages.searchGifs.md +++ b/old_docs/API_docs_v75/methods/messages.searchGifs.md @@ -17,7 +17,7 @@ Search for GIFs |offset|[int](../types/int.md) | Offset for [pagination »](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_FoundGifs](../types/messages_FoundGifs.md) +### Return type: [messages.FoundGifs](../types/messages.FoundGifs.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_FoundGifs = $MadelineProto->messages->searchGifs(['q' => 'string', 'offset' => int, ]); +$messages.FoundGifs = $MadelineProto->messages->searchGifs(['q' => 'string', 'offset' => int, ]); ``` Or, if you're into Lua: ```lua -messages_FoundGifs = messages.searchGifs({q='string', offset=int, }) +messages.FoundGifs = messages.searchGifs({q='string', offset=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v75/methods/messages.searchGlobal.md b/old_docs/API_docs_v75/methods/messages.searchGlobal.md index 4bd59f25..1a3b736d 100644 --- a/old_docs/API_docs_v75/methods/messages.searchGlobal.md +++ b/old_docs/API_docs_v75/methods/messages.searchGlobal.md @@ -20,7 +20,7 @@ Search for messages and peers globally |limit|[int](../types/int.md) | [Offsets for pagination, for more info click here](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **NO** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->searchGlobal(['q' => 'string', 'offset_date' => int, 'offset_peer' => InputPeer, 'offset_id' => int, 'limit' => int, ]); +$messages.Messages = $MadelineProto->messages->searchGlobal(['q' => 'string', 'offset_date' => int, 'offset_peer' => InputPeer, 'offset_id' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.searchGlobal({q='string', offset_date=int, offset_peer=InputPeer, offset_id=int, limit=int, }) +messages.Messages = messages.searchGlobal({q='string', offset_date=int, offset_peer=InputPeer, offset_id=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v75/methods/messages.sendEncrypted.md b/old_docs/API_docs_v75/methods/messages.sendEncrypted.md index 47b5ef29..6a68b563 100644 --- a/old_docs/API_docs_v75/methods/messages.sendEncrypted.md +++ b/old_docs/API_docs_v75/methods/messages.sendEncrypted.md @@ -14,10 +14,10 @@ Sends a text message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|message|[DecryptedMessage](../types/DecryptedMessage.md) | The message to send | Yes| +|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key that was created during chat initialization | Yes| -### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ### Can bots use this method: **NO** @@ -34,21 +34,15 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncrypted(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); +$messages.SentEncryptedMessage = $MadelineProto->messages->sendEncrypted(['peer' => InputEncryptedChat, 'data' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -messages_SentEncryptedMessage = messages.sendEncrypted({peer=InputEncryptedChat, message=DecryptedMessage, }) +messages.SentEncryptedMessage = messages.sendEncrypted({peer=InputEncryptedChat, data='bytes', }) ``` - -## Return value - -If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) will be returned instead. - - ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v75/methods/messages.sendEncryptedFile.md b/old_docs/API_docs_v75/methods/messages.sendEncryptedFile.md index 4e0f7b7f..87185ba4 100644 --- a/old_docs/API_docs_v75/methods/messages.sendEncryptedFile.md +++ b/old_docs/API_docs_v75/methods/messages.sendEncryptedFile.md @@ -14,11 +14,11 @@ Sends a message with a file attachment to a secret chat | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|message|[DecryptedMessage](../types/DecryptedMessage.md) | The message with the file | Yes| +|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| |file|[File path or InputEncryptedFile](../types/InputEncryptedFile.md) | File attachment for the secret chat | Optional| -### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ### Can bots use this method: **NO** @@ -35,21 +35,15 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedFile(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, 'file' => InputEncryptedFile, ]); +$messages.SentEncryptedMessage = $MadelineProto->messages->sendEncryptedFile(['peer' => InputEncryptedChat, 'data' => 'bytes', 'file' => InputEncryptedFile, ]); ``` Or, if you're into Lua: ```lua -messages_SentEncryptedMessage = messages.sendEncryptedFile({peer=InputEncryptedChat, message=DecryptedMessage, file=InputEncryptedFile, }) +messages.SentEncryptedMessage = messages.sendEncryptedFile({peer=InputEncryptedChat, data='bytes', file=InputEncryptedFile, }) ``` - -## Return value - -If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) will be returned instead. - - ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v75/methods/messages.sendEncryptedService.md b/old_docs/API_docs_v75/methods/messages.sendEncryptedService.md index 86925ae3..38171272 100644 --- a/old_docs/API_docs_v75/methods/messages.sendEncryptedService.md +++ b/old_docs/API_docs_v75/methods/messages.sendEncryptedService.md @@ -14,10 +14,10 @@ Sends a service message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|message|[DecryptedMessage](../types/DecryptedMessage.md) | The service message | Yes| +|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| -### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ### Can bots use this method: **NO** @@ -34,21 +34,15 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedService(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); +$messages.SentEncryptedMessage = $MadelineProto->messages->sendEncryptedService(['peer' => InputEncryptedChat, 'data' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -messages_SentEncryptedMessage = messages.sendEncryptedService({peer=InputEncryptedChat, message=DecryptedMessage, }) +messages.SentEncryptedMessage = messages.sendEncryptedService({peer=InputEncryptedChat, data='bytes', }) ``` - -## Return value - -If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) will be returned instead. - - ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v75/methods/payments.getPaymentForm.md b/old_docs/API_docs_v75/methods/payments.getPaymentForm.md index 3a171a05..da173f14 100644 --- a/old_docs/API_docs_v75/methods/payments.getPaymentForm.md +++ b/old_docs/API_docs_v75/methods/payments.getPaymentForm.md @@ -16,7 +16,7 @@ Get a payment form |msg\_id|[int](../types/int.md) | Message ID of payment form | Yes| -### Return type: [payments\_PaymentForm](../types/payments_PaymentForm.md) +### Return type: [payments.PaymentForm](../types/payments.PaymentForm.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$payments_PaymentForm = $MadelineProto->payments->getPaymentForm(['msg_id' => int, ]); +$payments.PaymentForm = $MadelineProto->payments->getPaymentForm(['msg_id' => int, ]); ``` Or, if you're into Lua: ```lua -payments_PaymentForm = payments.getPaymentForm({msg_id=int, }) +payments.PaymentForm = payments.getPaymentForm({msg_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v75/methods/payments.getPaymentReceipt.md b/old_docs/API_docs_v75/methods/payments.getPaymentReceipt.md index 46d2267c..16e41367 100644 --- a/old_docs/API_docs_v75/methods/payments.getPaymentReceipt.md +++ b/old_docs/API_docs_v75/methods/payments.getPaymentReceipt.md @@ -16,7 +16,7 @@ Get payment receipt |msg\_id|[int](../types/int.md) | Message ID of receipt | Yes| -### Return type: [payments\_PaymentReceipt](../types/payments_PaymentReceipt.md) +### Return type: [payments.PaymentReceipt](../types/payments.PaymentReceipt.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$payments_PaymentReceipt = $MadelineProto->payments->getPaymentReceipt(['msg_id' => int, ]); +$payments.PaymentReceipt = $MadelineProto->payments->getPaymentReceipt(['msg_id' => int, ]); ``` Or, if you're into Lua: ```lua -payments_PaymentReceipt = payments.getPaymentReceipt({msg_id=int, }) +payments.PaymentReceipt = payments.getPaymentReceipt({msg_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v75/methods/payments.getSavedInfo.md b/old_docs/API_docs_v75/methods/payments.getSavedInfo.md index dc9c9b98..fe2c16ec 100644 --- a/old_docs/API_docs_v75/methods/payments.getSavedInfo.md +++ b/old_docs/API_docs_v75/methods/payments.getSavedInfo.md @@ -11,7 +11,7 @@ Get saved payment information -### Return type: [payments\_SavedInfo](../types/payments_SavedInfo.md) +### Return type: [payments.SavedInfo](../types/payments.SavedInfo.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$payments_SavedInfo = $MadelineProto->payments->getSavedInfo(); +$payments.SavedInfo = $MadelineProto->payments->getSavedInfo(); ``` Or, if you're into Lua: ```lua -payments_SavedInfo = payments.getSavedInfo({}) +payments.SavedInfo = payments.getSavedInfo({}) ``` diff --git a/old_docs/API_docs_v75/methods/payments.sendPaymentForm.md b/old_docs/API_docs_v75/methods/payments.sendPaymentForm.md index 8c478b92..de154e7f 100644 --- a/old_docs/API_docs_v75/methods/payments.sendPaymentForm.md +++ b/old_docs/API_docs_v75/methods/payments.sendPaymentForm.md @@ -19,7 +19,7 @@ Send compiled payment form |credentials|[InputPaymentCredentials](../types/InputPaymentCredentials.md) | Payment credentials | Yes| -### Return type: [payments\_PaymentResult](../types/payments_PaymentResult.md) +### Return type: [payments.PaymentResult](../types/payments.PaymentResult.md) ### Can bots use this method: **NO** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$payments_PaymentResult = $MadelineProto->payments->sendPaymentForm(['msg_id' => int, 'requested_info_id' => 'string', 'shipping_option_id' => 'string', 'credentials' => InputPaymentCredentials, ]); +$payments.PaymentResult = $MadelineProto->payments->sendPaymentForm(['msg_id' => int, 'requested_info_id' => 'string', 'shipping_option_id' => 'string', 'credentials' => InputPaymentCredentials, ]); ``` Or, if you're into Lua: ```lua -payments_PaymentResult = payments.sendPaymentForm({msg_id=int, requested_info_id='string', shipping_option_id='string', credentials=InputPaymentCredentials, }) +payments.PaymentResult = payments.sendPaymentForm({msg_id=int, requested_info_id='string', shipping_option_id='string', credentials=InputPaymentCredentials, }) ``` ### Errors diff --git a/old_docs/API_docs_v75/methods/payments.validateRequestedInfo.md b/old_docs/API_docs_v75/methods/payments.validateRequestedInfo.md index d6364a02..ce22cfe8 100644 --- a/old_docs/API_docs_v75/methods/payments.validateRequestedInfo.md +++ b/old_docs/API_docs_v75/methods/payments.validateRequestedInfo.md @@ -18,7 +18,7 @@ Submit requested order information for validation |info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Requested order information | Yes| -### Return type: [payments\_ValidatedRequestedInfo](../types/payments_ValidatedRequestedInfo.md) +### Return type: [payments.ValidatedRequestedInfo](../types/payments.ValidatedRequestedInfo.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$payments_ValidatedRequestedInfo = $MadelineProto->payments->validateRequestedInfo(['save' => Bool, 'msg_id' => int, 'info' => PaymentRequestedInfo, ]); +$payments.ValidatedRequestedInfo = $MadelineProto->payments->validateRequestedInfo(['save' => Bool, 'msg_id' => int, 'info' => PaymentRequestedInfo, ]); ``` Or, if you're into Lua: ```lua -payments_ValidatedRequestedInfo = payments.validateRequestedInfo({save=Bool, msg_id=int, info=PaymentRequestedInfo, }) +payments.ValidatedRequestedInfo = payments.validateRequestedInfo({save=Bool, msg_id=int, info=PaymentRequestedInfo, }) ``` ### Errors diff --git a/old_docs/API_docs_v75/methods/phone.acceptCall.md b/old_docs/API_docs_v75/methods/phone.acceptCall.md index f5c58f01..6b9185aa 100644 --- a/old_docs/API_docs_v75/methods/phone.acceptCall.md +++ b/old_docs/API_docs_v75/methods/phone.acceptCall.md @@ -18,7 +18,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz#calls fo |protocol|[PhoneCallProtocol](../types/PhoneCallProtocol.md) | You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls | Yes| -### Return type: [phone\_PhoneCall](../types/phone_PhoneCall.md) +### Return type: [phone.PhoneCall](../types/phone.PhoneCall.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$phone_PhoneCall = $MadelineProto->phone->acceptCall(['peer' => InputPhoneCall, 'g_b' => 'bytes', 'protocol' => PhoneCallProtocol, ]); +$phone.PhoneCall = $MadelineProto->phone->acceptCall(['peer' => InputPhoneCall, 'g_b' => 'bytes', 'protocol' => PhoneCallProtocol, ]); ``` Or, if you're into Lua: ```lua -phone_PhoneCall = phone.acceptCall({peer=InputPhoneCall, g_b='bytes', protocol=PhoneCallProtocol, }) +phone.PhoneCall = phone.acceptCall({peer=InputPhoneCall, g_b='bytes', protocol=PhoneCallProtocol, }) ``` ### Errors diff --git a/old_docs/API_docs_v75/methods/phone.confirmCall.md b/old_docs/API_docs_v75/methods/phone.confirmCall.md index 468307cc..a52d1f9c 100644 --- a/old_docs/API_docs_v75/methods/phone.confirmCall.md +++ b/old_docs/API_docs_v75/methods/phone.confirmCall.md @@ -19,7 +19,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz#calls fo |protocol|[PhoneCallProtocol](../types/PhoneCallProtocol.md) | You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls | Yes| -### Return type: [phone\_PhoneCall](../types/phone_PhoneCall.md) +### Return type: [phone.PhoneCall](../types/phone.PhoneCall.md) ### Can bots use this method: **NO** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$phone_PhoneCall = $MadelineProto->phone->confirmCall(['peer' => InputPhoneCall, 'g_a' => 'bytes', 'key_fingerprint' => long, 'protocol' => PhoneCallProtocol, ]); +$phone.PhoneCall = $MadelineProto->phone->confirmCall(['peer' => InputPhoneCall, 'g_a' => 'bytes', 'key_fingerprint' => long, 'protocol' => PhoneCallProtocol, ]); ``` Or, if you're into Lua: ```lua -phone_PhoneCall = phone.confirmCall({peer=InputPhoneCall, g_a='bytes', key_fingerprint=long, protocol=PhoneCallProtocol, }) +phone.PhoneCall = phone.confirmCall({peer=InputPhoneCall, g_a='bytes', key_fingerprint=long, protocol=PhoneCallProtocol, }) ``` ### Errors diff --git a/old_docs/API_docs_v75/methods/phone.requestCall.md b/old_docs/API_docs_v75/methods/phone.requestCall.md index c8e828f2..37e847a7 100644 --- a/old_docs/API_docs_v75/methods/phone.requestCall.md +++ b/old_docs/API_docs_v75/methods/phone.requestCall.md @@ -18,7 +18,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz#calls fo |protocol|[PhoneCallProtocol](../types/PhoneCallProtocol.md) | You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls | Yes| -### Return type: [phone\_PhoneCall](../types/phone_PhoneCall.md) +### Return type: [phone.PhoneCall](../types/phone.PhoneCall.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$phone_PhoneCall = $MadelineProto->phone->requestCall(['user_id' => InputUser, 'g_a_hash' => 'bytes', 'protocol' => PhoneCallProtocol, ]); +$phone.PhoneCall = $MadelineProto->phone->requestCall(['user_id' => InputUser, 'g_a_hash' => 'bytes', 'protocol' => PhoneCallProtocol, ]); ``` Or, if you're into Lua: ```lua -phone_PhoneCall = phone.requestCall({user_id=InputUser, g_a_hash='bytes', protocol=PhoneCallProtocol, }) +phone.PhoneCall = phone.requestCall({user_id=InputUser, g_a_hash='bytes', protocol=PhoneCallProtocol, }) ``` ### Errors diff --git a/old_docs/API_docs_v75/methods/photos.getUserPhotos.md b/old_docs/API_docs_v75/methods/photos.getUserPhotos.md index a1dec2ed..1f8d5c64 100644 --- a/old_docs/API_docs_v75/methods/photos.getUserPhotos.md +++ b/old_docs/API_docs_v75/methods/photos.getUserPhotos.md @@ -19,7 +19,7 @@ Returns the list of user photos. |limit|[int](../types/int.md) | Number of list elements to be returned | Yes| -### Return type: [photos\_Photos](../types/photos_Photos.md) +### Return type: [photos.Photos](../types/photos.Photos.md) ### Can bots use this method: **YES** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$photos_Photos = $MadelineProto->photos->getUserPhotos(['user_id' => InputUser, 'offset' => int, 'max_id' => long, 'limit' => int, ]); +$photos.Photos = $MadelineProto->photos->getUserPhotos(['user_id' => InputUser, 'offset' => int, 'max_id' => long, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -photos_Photos = photos.getUserPhotos({user_id=InputUser, offset=int, max_id=long, limit=int, }) +photos.Photos = photos.getUserPhotos({user_id=InputUser, offset=int, max_id=long, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v75/methods/photos.uploadProfilePhoto.md b/old_docs/API_docs_v75/methods/photos.uploadProfilePhoto.md index b6a01ee7..4de76a24 100644 --- a/old_docs/API_docs_v75/methods/photos.uploadProfilePhoto.md +++ b/old_docs/API_docs_v75/methods/photos.uploadProfilePhoto.md @@ -16,7 +16,7 @@ Updates current user profile photo. |file|[File path or InputFile](../types/InputFile.md) | File saved in parts by means of [upload.saveFilePart](../methods/upload.saveFilePart.md) method | Yes| -### Return type: [photos\_Photo](../types/photos_Photo.md) +### Return type: [photos.Photo](../types/photos.Photo.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$photos_Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, ]); +$photos.Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, ]); ``` Or, if you're into Lua: ```lua -photos_Photo = photos.uploadProfilePhoto({file=InputFile, }) +photos.Photo = photos.uploadProfilePhoto({file=InputFile, }) ``` ### Errors diff --git a/old_docs/API_docs_v75/methods/stickers.addStickerToSet.md b/old_docs/API_docs_v75/methods/stickers.addStickerToSet.md index 727d3f27..e8392355 100644 --- a/old_docs/API_docs_v75/methods/stickers.addStickerToSet.md +++ b/old_docs/API_docs_v75/methods/stickers.addStickerToSet.md @@ -17,7 +17,7 @@ Add a sticker to a stickerset, bots only. The sticker set must have been created |sticker|[InputStickerSetItem](../types/InputStickerSetItem.md) | The sticker | Yes| -### Return type: [messages\_StickerSet](../types/messages_StickerSet.md) +### Return type: [messages.StickerSet](../types/messages.StickerSet.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StickerSet = $MadelineProto->stickers->addStickerToSet(['stickerset' => InputStickerSet, 'sticker' => InputStickerSetItem, ]); +$messages.StickerSet = $MadelineProto->stickers->addStickerToSet(['stickerset' => InputStickerSet, 'sticker' => InputStickerSetItem, ]); ``` Or, if you're into Lua: ```lua -messages_StickerSet = stickers.addStickerToSet({stickerset=InputStickerSet, sticker=InputStickerSetItem, }) +messages.StickerSet = stickers.addStickerToSet({stickerset=InputStickerSet, sticker=InputStickerSetItem, }) ``` ### Errors diff --git a/old_docs/API_docs_v75/methods/stickers.changeStickerPosition.md b/old_docs/API_docs_v75/methods/stickers.changeStickerPosition.md index ed390f21..e1d8ab5e 100644 --- a/old_docs/API_docs_v75/methods/stickers.changeStickerPosition.md +++ b/old_docs/API_docs_v75/methods/stickers.changeStickerPosition.md @@ -17,7 +17,7 @@ Changes the absolute position of a sticker in the set to which it belongs; for b |position|[int](../types/int.md) | The new position of the sticker, zero-based | Yes| -### Return type: [messages\_StickerSet](../types/messages_StickerSet.md) +### Return type: [messages.StickerSet](../types/messages.StickerSet.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StickerSet = $MadelineProto->stickers->changeStickerPosition(['sticker' => InputDocument, 'position' => int, ]); +$messages.StickerSet = $MadelineProto->stickers->changeStickerPosition(['sticker' => InputDocument, 'position' => int, ]); ``` Or, if you're into Lua: ```lua -messages_StickerSet = stickers.changeStickerPosition({sticker=InputDocument, position=int, }) +messages.StickerSet = stickers.changeStickerPosition({sticker=InputDocument, position=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v75/methods/stickers.createStickerSet.md b/old_docs/API_docs_v75/methods/stickers.createStickerSet.md index 5a6ef396..7eeeb48f 100644 --- a/old_docs/API_docs_v75/methods/stickers.createStickerSet.md +++ b/old_docs/API_docs_v75/methods/stickers.createStickerSet.md @@ -20,7 +20,7 @@ Create a stickerset, bots only. |stickers|Array of [InputStickerSetItem](../types/InputStickerSetItem.md) | The stickers to add | Yes| -### Return type: [messages\_StickerSet](../types/messages_StickerSet.md) +### Return type: [messages.StickerSet](../types/messages.StickerSet.md) ### Can bots use this method: **YES** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StickerSet = $MadelineProto->stickers->createStickerSet(['masks' => Bool, 'user_id' => InputUser, 'title' => 'string', 'short_name' => 'string', 'stickers' => [InputStickerSetItem, InputStickerSetItem], ]); +$messages.StickerSet = $MadelineProto->stickers->createStickerSet(['masks' => Bool, 'user_id' => InputUser, 'title' => 'string', 'short_name' => 'string', 'stickers' => [InputStickerSetItem, InputStickerSetItem], ]); ``` Or, if you're into Lua: ```lua -messages_StickerSet = stickers.createStickerSet({masks=Bool, user_id=InputUser, title='string', short_name='string', stickers={InputStickerSetItem}, }) +messages.StickerSet = stickers.createStickerSet({masks=Bool, user_id=InputUser, title='string', short_name='string', stickers={InputStickerSetItem}, }) ``` ### Errors diff --git a/old_docs/API_docs_v75/methods/stickers.removeStickerFromSet.md b/old_docs/API_docs_v75/methods/stickers.removeStickerFromSet.md index 33f677b3..aa4927ca 100644 --- a/old_docs/API_docs_v75/methods/stickers.removeStickerFromSet.md +++ b/old_docs/API_docs_v75/methods/stickers.removeStickerFromSet.md @@ -16,7 +16,7 @@ Remove a sticker from the set where it belongs, bots only. The sticker set must |sticker|[MessageMedia, Update, Message or InputDocument](../types/InputDocument.md) | The sticker to remove | Optional| -### Return type: [messages\_StickerSet](../types/messages_StickerSet.md) +### Return type: [messages.StickerSet](../types/messages.StickerSet.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StickerSet = $MadelineProto->stickers->removeStickerFromSet(['sticker' => InputDocument, ]); +$messages.StickerSet = $MadelineProto->stickers->removeStickerFromSet(['sticker' => InputDocument, ]); ``` Or, if you're into Lua: ```lua -messages_StickerSet = stickers.removeStickerFromSet({sticker=InputDocument, }) +messages.StickerSet = stickers.removeStickerFromSet({sticker=InputDocument, }) ``` ### Errors diff --git a/old_docs/API_docs_v75/methods/updates.getChannelDifference.md b/old_docs/API_docs_v75/methods/updates.getChannelDifference.md index 5675cd33..08df3395 100644 --- a/old_docs/API_docs_v75/methods/updates.getChannelDifference.md +++ b/old_docs/API_docs_v75/methods/updates.getChannelDifference.md @@ -20,7 +20,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz for more |limit|[int](../types/int.md) | You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates | Yes| -### Return type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) +### Return type: [updates.ChannelDifference](../types/updates.ChannelDifference.md) ### Can bots use this method: **YES** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$updates_ChannelDifference = $MadelineProto->updates->getChannelDifference(['force' => Bool, 'channel' => InputChannel, 'filter' => ChannelMessagesFilter, 'pts' => int, 'limit' => int, ]); +$updates.ChannelDifference = $MadelineProto->updates->getChannelDifference(['force' => Bool, 'channel' => InputChannel, 'filter' => ChannelMessagesFilter, 'pts' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -updates_ChannelDifference = updates.getChannelDifference({force=Bool, channel=InputChannel, filter=ChannelMessagesFilter, pts=int, limit=int, }) +updates.ChannelDifference = updates.getChannelDifference({force=Bool, channel=InputChannel, filter=ChannelMessagesFilter, pts=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v75/methods/updates.getDifference.md b/old_docs/API_docs_v75/methods/updates.getDifference.md index bcfac4e2..b3796a10 100644 --- a/old_docs/API_docs_v75/methods/updates.getDifference.md +++ b/old_docs/API_docs_v75/methods/updates.getDifference.md @@ -19,7 +19,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz for more |qts|[int](../types/int.md) | You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates | Yes| -### Return type: [updates\_Difference](../types/updates_Difference.md) +### Return type: [updates.Difference](../types/updates.Difference.md) ### Can bots use this method: **YES** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$updates_Difference = $MadelineProto->updates->getDifference(['pts' => int, 'pts_total_limit' => int, 'date' => int, 'qts' => int, ]); +$updates.Difference = $MadelineProto->updates->getDifference(['pts' => int, 'pts_total_limit' => int, 'date' => int, 'qts' => int, ]); ``` Or, if you're into Lua: ```lua -updates_Difference = updates.getDifference({pts=int, pts_total_limit=int, date=int, qts=int, }) +updates.Difference = updates.getDifference({pts=int, pts_total_limit=int, date=int, qts=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v75/methods/updates.getState.md b/old_docs/API_docs_v75/methods/updates.getState.md index c591408a..9a7d2f34 100644 --- a/old_docs/API_docs_v75/methods/updates.getState.md +++ b/old_docs/API_docs_v75/methods/updates.getState.md @@ -11,7 +11,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz for more -### Return type: [updates\_State](../types/updates_State.md) +### Return type: [updates.State](../types/updates.State.md) ### Can bots use this method: **YES** @@ -28,13 +28,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$updates_State = $MadelineProto->updates->getState(); +$updates.State = $MadelineProto->updates->getState(); ``` Or, if you're into Lua: ```lua -updates_State = updates.getState({}) +updates.State = updates.getState({}) ``` ### Errors diff --git a/old_docs/API_docs_v75/methods/upload.getCdnFile.md b/old_docs/API_docs_v75/methods/upload.getCdnFile.md index a3c928b2..67b2e84e 100644 --- a/old_docs/API_docs_v75/methods/upload.getCdnFile.md +++ b/old_docs/API_docs_v75/methods/upload.getCdnFile.md @@ -18,7 +18,7 @@ You cannot use this method directly, use the upload, downloadToStream, downloadT |limit|[int](../types/int.md) | You cannot use this method directly, use the upload, downloadToStream, downloadToFile, downloadToDir methods instead; see https://docs.madelineproto.xyz for more info | Yes| -### Return type: [upload\_CdnFile](../types/upload_CdnFile.md) +### Return type: [upload.CdnFile](../types/upload.CdnFile.md) ### Can bots use this method: **NO** @@ -35,12 +35,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$upload_CdnFile = $MadelineProto->upload->getCdnFile(['file_token' => 'bytes', 'offset' => int, 'limit' => int, ]); +$upload.CdnFile = $MadelineProto->upload->getCdnFile(['file_token' => 'bytes', 'offset' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -upload_CdnFile = upload.getCdnFile({file_token='bytes', offset=int, limit=int, }) +upload.CdnFile = upload.getCdnFile({file_token='bytes', offset=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v75/methods/upload.getFile.md b/old_docs/API_docs_v75/methods/upload.getFile.md index 8aba03d4..ab9f4fe2 100644 --- a/old_docs/API_docs_v75/methods/upload.getFile.md +++ b/old_docs/API_docs_v75/methods/upload.getFile.md @@ -18,7 +18,7 @@ You cannot use this method directly, use the upload, downloadToStream, downloadT |limit|[int](../types/int.md) | You cannot use this method directly, use the upload, downloadToStream, downloadToFile, downloadToDir methods instead; see https://docs.madelineproto.xyz for more info | Yes| -### Return type: [upload\_File](../types/upload_File.md) +### Return type: [upload.File](../types/upload.File.md) ### Can bots use this method: **YES** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$upload_File = $MadelineProto->upload->getFile(['location' => InputFileLocation, 'offset' => int, 'limit' => int, ]); +$upload.File = $MadelineProto->upload->getFile(['location' => InputFileLocation, 'offset' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -upload_File = upload.getFile({location=InputFileLocation, offset=int, limit=int, }) +upload.File = upload.getFile({location=InputFileLocation, offset=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v75/methods/upload.getWebFile.md b/old_docs/API_docs_v75/methods/upload.getWebFile.md index 32f6b322..60f1b8c1 100644 --- a/old_docs/API_docs_v75/methods/upload.getWebFile.md +++ b/old_docs/API_docs_v75/methods/upload.getWebFile.md @@ -18,7 +18,7 @@ Returns content of an HTTP file or a part, by proxying the request through teleg |limit|[int](../types/int.md) | Number of bytes to be returned | Yes| -### Return type: [upload\_WebFile](../types/upload_WebFile.md) +### Return type: [upload.WebFile](../types/upload.WebFile.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$upload_WebFile = $MadelineProto->upload->getWebFile(['location' => InputWebFileLocation, 'offset' => int, 'limit' => int, ]); +$upload.WebFile = $MadelineProto->upload->getWebFile(['location' => InputWebFileLocation, 'offset' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -upload_WebFile = upload.getWebFile({location=InputWebFileLocation, offset=int, limit=int, }) +upload.WebFile = upload.getWebFile({location=InputWebFileLocation, offset=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v75/types/AccountDaysTTL.md b/old_docs/API_docs_v75/types/AccountDaysTTL.md index 12a10190..f3494aac 100644 --- a/old_docs/API_docs_v75/types/AccountDaysTTL.md +++ b/old_docs/API_docs_v75/types/AccountDaysTTL.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->account->getAccountTTL](../methods/account_getAccountTTL.md) +[$MadelineProto->account->getAccountTTL](../methods/account.getAccountTTL.md) diff --git a/old_docs/API_docs_v75/types/CdnConfig.md b/old_docs/API_docs_v75/types/CdnConfig.md index fbfe01c3..0b0fb5be 100644 --- a/old_docs/API_docs_v75/types/CdnConfig.md +++ b/old_docs/API_docs_v75/types/CdnConfig.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->help->getCdnConfig](../methods/help_getCdnConfig.md) +[$MadelineProto->help->getCdnConfig](../methods/help.getCdnConfig.md) diff --git a/old_docs/API_docs_v75/types/CdnFileHash.md b/old_docs/API_docs_v75/types/CdnFileHash.md index 006bc256..cbb19024 100644 --- a/old_docs/API_docs_v75/types/CdnFileHash.md +++ b/old_docs/API_docs_v75/types/CdnFileHash.md @@ -16,9 +16,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->upload->reuploadCdnFile](../methods/upload_reuploadCdnFile.md) +[$MadelineProto->upload->reuploadCdnFile](../methods/upload.reuploadCdnFile.md) -[$MadelineProto->upload->getCdnFileHashes](../methods/upload_getCdnFileHashes.md) +[$MadelineProto->upload->getCdnFileHashes](../methods/upload.getCdnFileHashes.md) diff --git a/old_docs/API_docs_v75/types/ChatInvite.md b/old_docs/API_docs_v75/types/ChatInvite.md index 5022a2f0..9fafabb4 100644 --- a/old_docs/API_docs_v75/types/ChatInvite.md +++ b/old_docs/API_docs_v75/types/ChatInvite.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->checkChatInvite](../methods/messages_checkChatInvite.md) +[$MadelineProto->messages->checkChatInvite](../methods/messages.checkChatInvite.md) diff --git a/old_docs/API_docs_v75/types/Config.md b/old_docs/API_docs_v75/types/Config.md index 0f7fbe70..3a23b7b7 100644 --- a/old_docs/API_docs_v75/types/Config.md +++ b/old_docs/API_docs_v75/types/Config.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->help->getConfig](../methods/help_getConfig.md) +[$MadelineProto->help->getConfig](../methods/help.getConfig.md) diff --git a/old_docs/API_docs_v75/types/ContactStatus.md b/old_docs/API_docs_v75/types/ContactStatus.md index c5f5d658..30aee6e2 100644 --- a/old_docs/API_docs_v75/types/ContactStatus.md +++ b/old_docs/API_docs_v75/types/ContactStatus.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->contacts->getStatuses](../methods/contacts_getStatuses.md) +[$MadelineProto->contacts->getStatuses](../methods/contacts.getStatuses.md) diff --git a/old_docs/API_docs_v75/types/Document.md b/old_docs/API_docs_v75/types/Document.md index f68b7aa4..2cb85623 100644 --- a/old_docs/API_docs_v75/types/Document.md +++ b/old_docs/API_docs_v75/types/Document.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getDocumentByHash](../methods/messages_getDocumentByHash.md) +[$MadelineProto->messages->getDocumentByHash](../methods/messages.getDocumentByHash.md) diff --git a/old_docs/API_docs_v75/types/EncryptedChat.md b/old_docs/API_docs_v75/types/EncryptedChat.md index fd2277f6..19cf52b0 100644 --- a/old_docs/API_docs_v75/types/EncryptedChat.md +++ b/old_docs/API_docs_v75/types/EncryptedChat.md @@ -24,9 +24,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->requestEncryption](../methods/messages_requestEncryption.md) +[$MadelineProto->messages->requestEncryption](../methods/messages.requestEncryption.md) -[$MadelineProto->messages->acceptEncryption](../methods/messages_acceptEncryption.md) +[$MadelineProto->messages->acceptEncryption](../methods/messages.acceptEncryption.md) diff --git a/old_docs/API_docs_v75/types/EncryptedFile.md b/old_docs/API_docs_v75/types/EncryptedFile.md index a26d40bb..8ecf8e9d 100644 --- a/old_docs/API_docs_v75/types/EncryptedFile.md +++ b/old_docs/API_docs_v75/types/EncryptedFile.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->uploadEncryptedFile](../methods/messages_uploadEncryptedFile.md) +[$MadelineProto->messages->uploadEncryptedFile](../methods/messages.uploadEncryptedFile.md) diff --git a/old_docs/API_docs_v75/types/ExportedChatInvite.md b/old_docs/API_docs_v75/types/ExportedChatInvite.md index 4213a78f..53ce5f59 100644 --- a/old_docs/API_docs_v75/types/ExportedChatInvite.md +++ b/old_docs/API_docs_v75/types/ExportedChatInvite.md @@ -18,9 +18,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->exportChatInvite](../methods/messages_exportChatInvite.md) +[$MadelineProto->messages->exportChatInvite](../methods/messages.exportChatInvite.md) -[$MadelineProto->channels->exportInvite](../methods/channels_exportInvite.md) +[$MadelineProto->channels->exportInvite](../methods/channels.exportInvite.md) diff --git a/old_docs/API_docs_v75/types/ExportedMessageLink.md b/old_docs/API_docs_v75/types/ExportedMessageLink.md index eb2400f6..948e9c90 100644 --- a/old_docs/API_docs_v75/types/ExportedMessageLink.md +++ b/old_docs/API_docs_v75/types/ExportedMessageLink.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->channels->exportMessageLink](../methods/channels_exportMessageLink.md) +[$MadelineProto->channels->exportMessageLink](../methods/channels.exportMessageLink.md) diff --git a/old_docs/API_docs_v75/types/LangPackDifference.md b/old_docs/API_docs_v75/types/LangPackDifference.md index fd9f41f2..e04125b8 100644 --- a/old_docs/API_docs_v75/types/LangPackDifference.md +++ b/old_docs/API_docs_v75/types/LangPackDifference.md @@ -16,9 +16,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->langpack->getLangPack](../methods/langpack_getLangPack.md) +[$MadelineProto->langpack->getLangPack](../methods/langpack.getLangPack.md) -[$MadelineProto->langpack->getDifference](../methods/langpack_getDifference.md) +[$MadelineProto->langpack->getDifference](../methods/langpack.getDifference.md) diff --git a/old_docs/API_docs_v75/types/LangPackLanguage.md b/old_docs/API_docs_v75/types/LangPackLanguage.md index f7459fc2..280d0243 100644 --- a/old_docs/API_docs_v75/types/LangPackLanguage.md +++ b/old_docs/API_docs_v75/types/LangPackLanguage.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->langpack->getLanguages](../methods/langpack_getLanguages.md) +[$MadelineProto->langpack->getLanguages](../methods/langpack.getLanguages.md) diff --git a/old_docs/API_docs_v75/types/LangPackString.md b/old_docs/API_docs_v75/types/LangPackString.md index f1a43dd9..15f9dc3d 100644 --- a/old_docs/API_docs_v75/types/LangPackString.md +++ b/old_docs/API_docs_v75/types/LangPackString.md @@ -20,7 +20,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->langpack->getStrings](../methods/langpack_getStrings.md) +[$MadelineProto->langpack->getStrings](../methods/langpack.getStrings.md) diff --git a/old_docs/API_docs_v75/types/MessageMedia.md b/old_docs/API_docs_v75/types/MessageMedia.md index fa00818d..23c0e9a5 100644 --- a/old_docs/API_docs_v75/types/MessageMedia.md +++ b/old_docs/API_docs_v75/types/MessageMedia.md @@ -36,9 +36,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getWebPagePreview](../methods/messages_getWebPagePreview.md) +[$MadelineProto->messages->getWebPagePreview](../methods/messages.getWebPagePreview.md) -[$MadelineProto->messages->uploadMedia](../methods/messages_uploadMedia.md) +[$MadelineProto->messages->uploadMedia](../methods/messages.uploadMedia.md) diff --git a/old_docs/API_docs_v75/types/NearestDc.md b/old_docs/API_docs_v75/types/NearestDc.md index 31f24377..296a4dff 100644 --- a/old_docs/API_docs_v75/types/NearestDc.md +++ b/old_docs/API_docs_v75/types/NearestDc.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->help->getNearestDc](../methods/help_getNearestDc.md) +[$MadelineProto->help->getNearestDc](../methods/help.getNearestDc.md) diff --git a/old_docs/API_docs_v75/types/PeerNotifySettings.md b/old_docs/API_docs_v75/types/PeerNotifySettings.md index 769de075..3d72b7c5 100644 --- a/old_docs/API_docs_v75/types/PeerNotifySettings.md +++ b/old_docs/API_docs_v75/types/PeerNotifySettings.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->account->getNotifySettings](../methods/account_getNotifySettings.md) +[$MadelineProto->account->getNotifySettings](../methods/account.getNotifySettings.md) diff --git a/old_docs/API_docs_v75/types/PeerSettings.md b/old_docs/API_docs_v75/types/PeerSettings.md index 60ac3765..31ef7e38 100644 --- a/old_docs/API_docs_v75/types/PeerSettings.md +++ b/old_docs/API_docs_v75/types/PeerSettings.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getPeerSettings](../methods/messages_getPeerSettings.md) +[$MadelineProto->messages->getPeerSettings](../methods/messages.getPeerSettings.md) diff --git a/old_docs/API_docs_v75/types/README.md b/old_docs/API_docs_v75/types/README.md index aa7344a7..6bb21b16 100644 --- a/old_docs/API_docs_v75/types/README.md +++ b/old_docs/API_docs_v75/types/README.md @@ -293,141 +293,141 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png [X](X.md) -[account\_Authorizations](account_Authorizations.md) +[account.Authorizations](account.Authorizations.md) -[account\_Password](account_Password.md) +[account.Password](account.Password.md) -[account\_PasswordInputSettings](account_PasswordInputSettings.md) +[account.PasswordInputSettings](account.PasswordInputSettings.md) -[account\_PasswordSettings](account_PasswordSettings.md) +[account.PasswordSettings](account.PasswordSettings.md) -[account\_PrivacyRules](account_PrivacyRules.md) +[account.PrivacyRules](account.PrivacyRules.md) -[account\_TmpPassword](account_TmpPassword.md) +[account.TmpPassword](account.TmpPassword.md) -[account\_WebAuthorizations](account_WebAuthorizations.md) +[account.WebAuthorizations](account.WebAuthorizations.md) -[auth\_Authorization](auth_Authorization.md) +[auth.Authorization](auth.Authorization.md) -[auth\_CheckedPhone](auth_CheckedPhone.md) +[auth.CheckedPhone](auth.CheckedPhone.md) -[auth\_CodeType](auth_CodeType.md) +[auth.CodeType](auth.CodeType.md) -[auth\_ExportedAuthorization](auth_ExportedAuthorization.md) +[auth.ExportedAuthorization](auth.ExportedAuthorization.md) -[auth\_PasswordRecovery](auth_PasswordRecovery.md) +[auth.PasswordRecovery](auth.PasswordRecovery.md) -[auth\_SentCode](auth_SentCode.md) +[auth.SentCode](auth.SentCode.md) -[auth\_SentCodeType](auth_SentCodeType.md) +[auth.SentCodeType](auth.SentCodeType.md) -[channels\_AdminLogResults](channels_AdminLogResults.md) +[channels.AdminLogResults](channels.AdminLogResults.md) -[channels\_ChannelParticipant](channels_ChannelParticipant.md) +[channels.ChannelParticipant](channels.ChannelParticipant.md) -[channels\_ChannelParticipants](channels_ChannelParticipants.md) +[channels.ChannelParticipants](channels.ChannelParticipants.md) -[contacts\_Blocked](contacts_Blocked.md) +[contacts.Blocked](contacts.Blocked.md) -[contacts\_Contacts](contacts_Contacts.md) +[contacts.Contacts](contacts.Contacts.md) -[contacts\_Found](contacts_Found.md) +[contacts.Found](contacts.Found.md) -[contacts\_ImportedContacts](contacts_ImportedContacts.md) +[contacts.ImportedContacts](contacts.ImportedContacts.md) -[contacts\_Link](contacts_Link.md) +[contacts.Link](contacts.Link.md) -[contacts\_ResolvedPeer](contacts_ResolvedPeer.md) +[contacts.ResolvedPeer](contacts.ResolvedPeer.md) -[contacts\_TopPeers](contacts_TopPeers.md) +[contacts.TopPeers](contacts.TopPeers.md) -[help\_AppUpdate](help_AppUpdate.md) +[help.AppUpdate](help.AppUpdate.md) -[help\_InviteText](help_InviteText.md) +[help.InviteText](help.InviteText.md) -[help\_RecentMeUrls](help_RecentMeUrls.md) +[help.RecentMeUrls](help.RecentMeUrls.md) -[help\_Support](help_Support.md) +[help.Support](help.Support.md) -[help\_TermsOfService](help_TermsOfService.md) +[help.TermsOfService](help.TermsOfService.md) [int](int.md) [long](long.md) -[messages\_AffectedHistory](messages_AffectedHistory.md) +[messages.AffectedHistory](messages.AffectedHistory.md) -[messages\_AffectedMessages](messages_AffectedMessages.md) +[messages.AffectedMessages](messages.AffectedMessages.md) -[messages\_AllStickers](messages_AllStickers.md) +[messages.AllStickers](messages.AllStickers.md) -[messages\_ArchivedStickers](messages_ArchivedStickers.md) +[messages.ArchivedStickers](messages.ArchivedStickers.md) -[messages\_BotCallbackAnswer](messages_BotCallbackAnswer.md) +[messages.BotCallbackAnswer](messages.BotCallbackAnswer.md) -[messages\_BotResults](messages_BotResults.md) +[messages.BotResults](messages.BotResults.md) -[messages\_ChatFull](messages_ChatFull.md) +[messages.ChatFull](messages.ChatFull.md) -[messages\_Chats](messages_Chats.md) +[messages.Chats](messages.Chats.md) -[messages\_DhConfig](messages_DhConfig.md) +[messages.DhConfig](messages.DhConfig.md) -[messages\_Dialogs](messages_Dialogs.md) +[messages.Dialogs](messages.Dialogs.md) -[messages\_FavedStickers](messages_FavedStickers.md) +[messages.FavedStickers](messages.FavedStickers.md) -[messages\_FeaturedStickers](messages_FeaturedStickers.md) +[messages.FeaturedStickers](messages.FeaturedStickers.md) -[messages\_FoundGifs](messages_FoundGifs.md) +[messages.FoundGifs](messages.FoundGifs.md) -[messages\_HighScores](messages_HighScores.md) +[messages.HighScores](messages.HighScores.md) -[messages\_MessageEditData](messages_MessageEditData.md) +[messages.MessageEditData](messages.MessageEditData.md) -[messages\_Messages](messages_Messages.md) +[messages.Messages](messages.Messages.md) -[messages\_PeerDialogs](messages_PeerDialogs.md) +[messages.PeerDialogs](messages.PeerDialogs.md) -[messages\_RecentStickers](messages_RecentStickers.md) +[messages.RecentStickers](messages.RecentStickers.md) -[messages\_SavedGifs](messages_SavedGifs.md) +[messages.SavedGifs](messages.SavedGifs.md) -[messages\_SentEncryptedMessage](messages_SentEncryptedMessage.md) +[messages.SentEncryptedMessage](messages.SentEncryptedMessage.md) -[messages\_StickerSet](messages_StickerSet.md) +[messages.StickerSet](messages.StickerSet.md) -[messages\_StickerSetInstallResult](messages_StickerSetInstallResult.md) +[messages.StickerSetInstallResult](messages.StickerSetInstallResult.md) -[messages\_Stickers](messages_Stickers.md) +[messages.Stickers](messages.Stickers.md) -[payments\_PaymentForm](payments_PaymentForm.md) +[payments.PaymentForm](payments.PaymentForm.md) -[payments\_PaymentReceipt](payments_PaymentReceipt.md) +[payments.PaymentReceipt](payments.PaymentReceipt.md) -[payments\_PaymentResult](payments_PaymentResult.md) +[payments.PaymentResult](payments.PaymentResult.md) -[payments\_SavedInfo](payments_SavedInfo.md) +[payments.SavedInfo](payments.SavedInfo.md) -[payments\_ValidatedRequestedInfo](payments_ValidatedRequestedInfo.md) +[payments.ValidatedRequestedInfo](payments.ValidatedRequestedInfo.md) -[phone\_PhoneCall](phone_PhoneCall.md) +[phone.PhoneCall](phone.PhoneCall.md) -[photos\_Photo](photos_Photo.md) +[photos.Photo](photos.Photo.md) -[photos\_Photos](photos_Photos.md) +[photos.Photos](photos.Photos.md) -[storage\_FileType](storage_FileType.md) +[storage.FileType](storage.FileType.md) -[updates\_ChannelDifference](updates_ChannelDifference.md) +[updates.ChannelDifference](updates.ChannelDifference.md) -[updates\_Difference](updates_Difference.md) +[updates.Difference](updates.Difference.md) -[updates\_State](updates_State.md) +[updates.State](updates.State.md) -[upload\_CdnFile](upload_CdnFile.md) +[upload.CdnFile](upload.CdnFile.md) -[upload\_File](upload_File.md) +[upload.File](upload.File.md) -[upload\_WebFile](upload_WebFile.md) +[upload.WebFile](upload.WebFile.md) diff --git a/old_docs/API_docs_v75/types/ReceivedNotifyMessage.md b/old_docs/API_docs_v75/types/ReceivedNotifyMessage.md index c7fc3b8c..416aa275 100644 --- a/old_docs/API_docs_v75/types/ReceivedNotifyMessage.md +++ b/old_docs/API_docs_v75/types/ReceivedNotifyMessage.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->receivedMessages](../methods/messages_receivedMessages.md) +[$MadelineProto->messages->receivedMessages](../methods/messages.receivedMessages.md) diff --git a/old_docs/API_docs_v75/types/StickerSetCovered.md b/old_docs/API_docs_v75/types/StickerSetCovered.md index ffd1da1f..f57cd117 100644 --- a/old_docs/API_docs_v75/types/StickerSetCovered.md +++ b/old_docs/API_docs_v75/types/StickerSetCovered.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getAttachedStickers](../methods/messages_getAttachedStickers.md) +[$MadelineProto->messages->getAttachedStickers](../methods/messages.getAttachedStickers.md) diff --git a/old_docs/API_docs_v75/types/Updates.md b/old_docs/API_docs_v75/types/Updates.md index a62f270d..ce894d44 100644 --- a/old_docs/API_docs_v75/types/Updates.md +++ b/old_docs/API_docs_v75/types/Updates.md @@ -28,73 +28,73 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->sendMessage](../methods/messages_sendMessage.md) +[$MadelineProto->messages->sendMessage](../methods/messages.sendMessage.md) -[$MadelineProto->messages->sendMedia](../methods/messages_sendMedia.md) +[$MadelineProto->messages->sendMedia](../methods/messages.sendMedia.md) -[$MadelineProto->messages->forwardMessages](../methods/messages_forwardMessages.md) +[$MadelineProto->messages->forwardMessages](../methods/messages.forwardMessages.md) -[$MadelineProto->messages->editChatTitle](../methods/messages_editChatTitle.md) +[$MadelineProto->messages->editChatTitle](../methods/messages.editChatTitle.md) -[$MadelineProto->messages->editChatPhoto](../methods/messages_editChatPhoto.md) +[$MadelineProto->messages->editChatPhoto](../methods/messages.editChatPhoto.md) -[$MadelineProto->messages->addChatUser](../methods/messages_addChatUser.md) +[$MadelineProto->messages->addChatUser](../methods/messages.addChatUser.md) -[$MadelineProto->messages->deleteChatUser](../methods/messages_deleteChatUser.md) +[$MadelineProto->messages->deleteChatUser](../methods/messages.deleteChatUser.md) -[$MadelineProto->messages->createChat](../methods/messages_createChat.md) +[$MadelineProto->messages->createChat](../methods/messages.createChat.md) -[$MadelineProto->messages->importChatInvite](../methods/messages_importChatInvite.md) +[$MadelineProto->messages->importChatInvite](../methods/messages.importChatInvite.md) -[$MadelineProto->messages->startBot](../methods/messages_startBot.md) +[$MadelineProto->messages->startBot](../methods/messages.startBot.md) -[$MadelineProto->messages->toggleChatAdmins](../methods/messages_toggleChatAdmins.md) +[$MadelineProto->messages->toggleChatAdmins](../methods/messages.toggleChatAdmins.md) -[$MadelineProto->messages->migrateChat](../methods/messages_migrateChat.md) +[$MadelineProto->messages->migrateChat](../methods/messages.migrateChat.md) -[$MadelineProto->messages->sendInlineBotResult](../methods/messages_sendInlineBotResult.md) +[$MadelineProto->messages->sendInlineBotResult](../methods/messages.sendInlineBotResult.md) -[$MadelineProto->messages->editMessage](../methods/messages_editMessage.md) +[$MadelineProto->messages->editMessage](../methods/messages.editMessage.md) -[$MadelineProto->messages->getAllDrafts](../methods/messages_getAllDrafts.md) +[$MadelineProto->messages->getAllDrafts](../methods/messages.getAllDrafts.md) -[$MadelineProto->messages->setGameScore](../methods/messages_setGameScore.md) +[$MadelineProto->messages->setGameScore](../methods/messages.setGameScore.md) -[$MadelineProto->messages->sendScreenshotNotification](../methods/messages_sendScreenshotNotification.md) +[$MadelineProto->messages->sendScreenshotNotification](../methods/messages.sendScreenshotNotification.md) -[$MadelineProto->messages->sendMultiMedia](../methods/messages_sendMultiMedia.md) +[$MadelineProto->messages->sendMultiMedia](../methods/messages.sendMultiMedia.md) -[$MadelineProto->help->getAppChangelog](../methods/help_getAppChangelog.md) +[$MadelineProto->help->getAppChangelog](../methods/help.getAppChangelog.md) -[$MadelineProto->channels->createChannel](../methods/channels_createChannel.md) +[$MadelineProto->channels->createChannel](../methods/channels.createChannel.md) -[$MadelineProto->channels->editAdmin](../methods/channels_editAdmin.md) +[$MadelineProto->channels->editAdmin](../methods/channels.editAdmin.md) -[$MadelineProto->channels->editTitle](../methods/channels_editTitle.md) +[$MadelineProto->channels->editTitle](../methods/channels.editTitle.md) -[$MadelineProto->channels->editPhoto](../methods/channels_editPhoto.md) +[$MadelineProto->channels->editPhoto](../methods/channels.editPhoto.md) -[$MadelineProto->channels->joinChannel](../methods/channels_joinChannel.md) +[$MadelineProto->channels->joinChannel](../methods/channels.joinChannel.md) -[$MadelineProto->channels->leaveChannel](../methods/channels_leaveChannel.md) +[$MadelineProto->channels->leaveChannel](../methods/channels.leaveChannel.md) -[$MadelineProto->channels->inviteToChannel](../methods/channels_inviteToChannel.md) +[$MadelineProto->channels->inviteToChannel](../methods/channels.inviteToChannel.md) -[$MadelineProto->channels->deleteChannel](../methods/channels_deleteChannel.md) +[$MadelineProto->channels->deleteChannel](../methods/channels.deleteChannel.md) -[$MadelineProto->channels->toggleInvites](../methods/channels_toggleInvites.md) +[$MadelineProto->channels->toggleInvites](../methods/channels.toggleInvites.md) -[$MadelineProto->channels->toggleSignatures](../methods/channels_toggleSignatures.md) +[$MadelineProto->channels->toggleSignatures](../methods/channels.toggleSignatures.md) -[$MadelineProto->channels->updatePinnedMessage](../methods/channels_updatePinnedMessage.md) +[$MadelineProto->channels->updatePinnedMessage](../methods/channels.updatePinnedMessage.md) -[$MadelineProto->channels->editBanned](../methods/channels_editBanned.md) +[$MadelineProto->channels->editBanned](../methods/channels.editBanned.md) -[$MadelineProto->channels->togglePreHistoryHidden](../methods/channels_togglePreHistoryHidden.md) +[$MadelineProto->channels->togglePreHistoryHidden](../methods/channels.togglePreHistoryHidden.md) -[$MadelineProto->phone->discardCall](../methods/phone_discardCall.md) +[$MadelineProto->phone->discardCall](../methods/phone.discardCall.md) -[$MadelineProto->phone->setCallRating](../methods/phone_setCallRating.md) +[$MadelineProto->phone->setCallRating](../methods/phone.setCallRating.md) diff --git a/old_docs/API_docs_v75/types/User.md b/old_docs/API_docs_v75/types/User.md index 3abd182f..a2e028f4 100644 --- a/old_docs/API_docs_v75/types/User.md +++ b/old_docs/API_docs_v75/types/User.md @@ -42,15 +42,15 @@ A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDia ### Methods that return an object of this type (methods): -[$MadelineProto->account->updateProfile](../methods/account_updateProfile.md) +[$MadelineProto->account->updateProfile](../methods/account.updateProfile.md) -[$MadelineProto->account->updateUsername](../methods/account_updateUsername.md) +[$MadelineProto->account->updateUsername](../methods/account.updateUsername.md) -[$MadelineProto->account->changePhone](../methods/account_changePhone.md) +[$MadelineProto->account->changePhone](../methods/account.changePhone.md) -[$MadelineProto->users->getUsers](../methods/users_getUsers.md) +[$MadelineProto->users->getUsers](../methods/users.getUsers.md) -[$MadelineProto->contacts->importCard](../methods/contacts_importCard.md) +[$MadelineProto->contacts->importCard](../methods/contacts.importCard.md) diff --git a/old_docs/API_docs_v75/types/UserFull.md b/old_docs/API_docs_v75/types/UserFull.md index 79ad30bb..ac50052f 100644 --- a/old_docs/API_docs_v75/types/UserFull.md +++ b/old_docs/API_docs_v75/types/UserFull.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->users->getFullUser](../methods/users_getFullUser.md) +[$MadelineProto->users->getFullUser](../methods/users.getFullUser.md) diff --git a/old_docs/API_docs_v75/types/UserProfilePhoto.md b/old_docs/API_docs_v75/types/UserProfilePhoto.md index e5243a2e..e81e92fd 100644 --- a/old_docs/API_docs_v75/types/UserProfilePhoto.md +++ b/old_docs/API_docs_v75/types/UserProfilePhoto.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->photos->updateProfilePhoto](../methods/photos_updateProfilePhoto.md) +[$MadelineProto->photos->updateProfilePhoto](../methods/photos.updateProfilePhoto.md) diff --git a/old_docs/API_docs_v75/types/WallPaper.md b/old_docs/API_docs_v75/types/WallPaper.md index 8c5ac7cf..45337565 100644 --- a/old_docs/API_docs_v75/types/WallPaper.md +++ b/old_docs/API_docs_v75/types/WallPaper.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->account->getWallPapers](../methods/account_getWallPapers.md) +[$MadelineProto->account->getWallPapers](../methods/account.getWallPapers.md) diff --git a/old_docs/API_docs_v75/types/WebPage.md b/old_docs/API_docs_v75/types/WebPage.md index a3df791f..f6b61c5e 100644 --- a/old_docs/API_docs_v75/types/WebPage.md +++ b/old_docs/API_docs_v75/types/WebPage.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getWebPage](../methods/messages_getWebPage.md) +[$MadelineProto->messages->getWebPage](../methods/messages.getWebPage.md) diff --git a/old_docs/API_docs_v75/types/account.Authorizations.md b/old_docs/API_docs_v75/types/account.Authorizations.md new file mode 100644 index 00000000..f9112038 --- /dev/null +++ b/old_docs/API_docs_v75/types/account.Authorizations.md @@ -0,0 +1,22 @@ +--- +title: account.Authorizations +description: constructors and methods of type account.Authorizations +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.Authorizations +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.authorizations](../constructors/account.authorizations.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getAuthorizations](../methods/account.getAuthorizations.md) + + + diff --git a/old_docs/API_docs_v75/types/account.Password.md b/old_docs/API_docs_v75/types/account.Password.md new file mode 100644 index 00000000..5217ab5e --- /dev/null +++ b/old_docs/API_docs_v75/types/account.Password.md @@ -0,0 +1,24 @@ +--- +title: account.Password +description: constructors and methods of type account.Password +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.Password +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.noPassword](../constructors/account.noPassword.md) + +[account.password](../constructors/account.password.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getPassword](../methods/account.getPassword.md) + + + diff --git a/old_docs/API_docs_v75/types/account.PasswordInputSettings.md b/old_docs/API_docs_v75/types/account.PasswordInputSettings.md new file mode 100644 index 00000000..72e11fdc --- /dev/null +++ b/old_docs/API_docs_v75/types/account.PasswordInputSettings.md @@ -0,0 +1,20 @@ +--- +title: account.PasswordInputSettings +description: constructors and methods of type account.PasswordInputSettings +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.PasswordInputSettings +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.passwordInputSettings](../constructors/account.passwordInputSettings.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v75/types/account.PasswordSettings.md b/old_docs/API_docs_v75/types/account.PasswordSettings.md new file mode 100644 index 00000000..47016832 --- /dev/null +++ b/old_docs/API_docs_v75/types/account.PasswordSettings.md @@ -0,0 +1,22 @@ +--- +title: account.PasswordSettings +description: constructors and methods of type account.PasswordSettings +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.PasswordSettings +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.passwordSettings](../constructors/account.passwordSettings.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getPasswordSettings](../methods/account.getPasswordSettings.md) + + + diff --git a/old_docs/API_docs_v75/types/account.PrivacyRules.md b/old_docs/API_docs_v75/types/account.PrivacyRules.md new file mode 100644 index 00000000..738651ad --- /dev/null +++ b/old_docs/API_docs_v75/types/account.PrivacyRules.md @@ -0,0 +1,24 @@ +--- +title: account.PrivacyRules +description: constructors and methods of type account.PrivacyRules +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.PrivacyRules +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.privacyRules](../constructors/account.privacyRules.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getPrivacy](../methods/account.getPrivacy.md) + +[$MadelineProto->account->setPrivacy](../methods/account.setPrivacy.md) + + + diff --git a/old_docs/API_docs_v75/types/account.TmpPassword.md b/old_docs/API_docs_v75/types/account.TmpPassword.md new file mode 100644 index 00000000..2116c6c0 --- /dev/null +++ b/old_docs/API_docs_v75/types/account.TmpPassword.md @@ -0,0 +1,22 @@ +--- +title: account.TmpPassword +description: constructors and methods of type account.TmpPassword +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.TmpPassword +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.tmpPassword](../constructors/account.tmpPassword.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getTmpPassword](../methods/account.getTmpPassword.md) + + + diff --git a/old_docs/API_docs_v75/types/account.WebAuthorizations.md b/old_docs/API_docs_v75/types/account.WebAuthorizations.md new file mode 100644 index 00000000..931633ef --- /dev/null +++ b/old_docs/API_docs_v75/types/account.WebAuthorizations.md @@ -0,0 +1,22 @@ +--- +title: account.WebAuthorizations +description: constructors and methods of type account.WebAuthorizations +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.WebAuthorizations +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.webAuthorizations](../constructors/account.webAuthorizations.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getWebAuthorizations](../methods/account.getWebAuthorizations.md) + + + diff --git a/old_docs/API_docs_v75/types/account_Authorizations.md b/old_docs/API_docs_v75/types/account_Authorizations.md deleted file mode 100644 index 4709ddb5..00000000 --- a/old_docs/API_docs_v75/types/account_Authorizations.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_Authorizations -description: constructors and methods of type account_Authorizations -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_Authorizations -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_authorizations](../constructors/account_authorizations.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getAuthorizations](../methods/account_getAuthorizations.md) - - - diff --git a/old_docs/API_docs_v75/types/account_Password.md b/old_docs/API_docs_v75/types/account_Password.md deleted file mode 100644 index 23e05987..00000000 --- a/old_docs/API_docs_v75/types/account_Password.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: account_Password -description: constructors and methods of type account_Password -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_Password -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_noPassword](../constructors/account_noPassword.md) - -[account\_password](../constructors/account_password.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getPassword](../methods/account_getPassword.md) - - - diff --git a/old_docs/API_docs_v75/types/account_PasswordInputSettings.md b/old_docs/API_docs_v75/types/account_PasswordInputSettings.md deleted file mode 100644 index a6455eb8..00000000 --- a/old_docs/API_docs_v75/types/account_PasswordInputSettings.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: account_PasswordInputSettings -description: constructors and methods of type account_PasswordInputSettings -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_PasswordInputSettings -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_passwordInputSettings](../constructors/account_passwordInputSettings.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v75/types/account_PasswordSettings.md b/old_docs/API_docs_v75/types/account_PasswordSettings.md deleted file mode 100644 index 687eb217..00000000 --- a/old_docs/API_docs_v75/types/account_PasswordSettings.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_PasswordSettings -description: constructors and methods of type account_PasswordSettings -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_PasswordSettings -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_passwordSettings](../constructors/account_passwordSettings.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getPasswordSettings](../methods/account_getPasswordSettings.md) - - - diff --git a/old_docs/API_docs_v75/types/account_PrivacyRules.md b/old_docs/API_docs_v75/types/account_PrivacyRules.md deleted file mode 100644 index 40b00077..00000000 --- a/old_docs/API_docs_v75/types/account_PrivacyRules.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: account_PrivacyRules -description: constructors and methods of type account_PrivacyRules -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_PrivacyRules -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_privacyRules](../constructors/account_privacyRules.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getPrivacy](../methods/account_getPrivacy.md) - -[$MadelineProto->account->setPrivacy](../methods/account_setPrivacy.md) - - - diff --git a/old_docs/API_docs_v75/types/account_TmpPassword.md b/old_docs/API_docs_v75/types/account_TmpPassword.md deleted file mode 100644 index d7557921..00000000 --- a/old_docs/API_docs_v75/types/account_TmpPassword.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_TmpPassword -description: constructors and methods of type account_TmpPassword -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_TmpPassword -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_tmpPassword](../constructors/account_tmpPassword.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getTmpPassword](../methods/account_getTmpPassword.md) - - - diff --git a/old_docs/API_docs_v75/types/account_WebAuthorizations.md b/old_docs/API_docs_v75/types/account_WebAuthorizations.md deleted file mode 100644 index 1202632b..00000000 --- a/old_docs/API_docs_v75/types/account_WebAuthorizations.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_WebAuthorizations -description: constructors and methods of type account_WebAuthorizations -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_WebAuthorizations -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_webAuthorizations](../constructors/account_webAuthorizations.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getWebAuthorizations](../methods/account_getWebAuthorizations.md) - - - diff --git a/old_docs/API_docs_v75/types/auth.Authorization.md b/old_docs/API_docs_v75/types/auth.Authorization.md new file mode 100644 index 00000000..adcfa7d3 --- /dev/null +++ b/old_docs/API_docs_v75/types/auth.Authorization.md @@ -0,0 +1,32 @@ +--- +title: auth.Authorization +description: constructors and methods of type auth.Authorization +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.Authorization +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.authorization](../constructors/auth.authorization.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->signUp](../methods/auth.signUp.md) + +[$MadelineProto->auth->signIn](../methods/auth.signIn.md) + +[$MadelineProto->auth->importAuthorization](../methods/auth.importAuthorization.md) + +[$MadelineProto->auth->importBotAuthorization](../methods/auth.importBotAuthorization.md) + +[$MadelineProto->auth->checkPassword](../methods/auth.checkPassword.md) + +[$MadelineProto->auth->recoverPassword](../methods/auth.recoverPassword.md) + + + diff --git a/old_docs/API_docs_v75/types/auth.CheckedPhone.md b/old_docs/API_docs_v75/types/auth.CheckedPhone.md new file mode 100644 index 00000000..94af3915 --- /dev/null +++ b/old_docs/API_docs_v75/types/auth.CheckedPhone.md @@ -0,0 +1,22 @@ +--- +title: auth.CheckedPhone +description: constructors and methods of type auth.CheckedPhone +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.CheckedPhone +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.checkedPhone](../constructors/auth.checkedPhone.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->checkPhone](../methods/auth.checkPhone.md) + + + diff --git a/old_docs/API_docs_v75/types/auth.CodeType.md b/old_docs/API_docs_v75/types/auth.CodeType.md new file mode 100644 index 00000000..8d2b308d --- /dev/null +++ b/old_docs/API_docs_v75/types/auth.CodeType.md @@ -0,0 +1,24 @@ +--- +title: auth.CodeType +description: constructors and methods of type auth.CodeType +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.CodeType +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.codeTypeSms](../constructors/auth.codeTypeSms.md) + +[auth.codeTypeCall](../constructors/auth.codeTypeCall.md) + +[auth.codeTypeFlashCall](../constructors/auth.codeTypeFlashCall.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v75/types/auth.ExportedAuthorization.md b/old_docs/API_docs_v75/types/auth.ExportedAuthorization.md new file mode 100644 index 00000000..ccb38d60 --- /dev/null +++ b/old_docs/API_docs_v75/types/auth.ExportedAuthorization.md @@ -0,0 +1,22 @@ +--- +title: auth.ExportedAuthorization +description: constructors and methods of type auth.ExportedAuthorization +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.ExportedAuthorization +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.exportedAuthorization](../constructors/auth.exportedAuthorization.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->exportAuthorization](../methods/auth.exportAuthorization.md) + + + diff --git a/old_docs/API_docs_v75/types/auth.PasswordRecovery.md b/old_docs/API_docs_v75/types/auth.PasswordRecovery.md new file mode 100644 index 00000000..c1c18992 --- /dev/null +++ b/old_docs/API_docs_v75/types/auth.PasswordRecovery.md @@ -0,0 +1,22 @@ +--- +title: auth.PasswordRecovery +description: constructors and methods of type auth.PasswordRecovery +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.PasswordRecovery +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.passwordRecovery](../constructors/auth.passwordRecovery.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->requestPasswordRecovery](../methods/auth.requestPasswordRecovery.md) + + + diff --git a/old_docs/API_docs_v75/types/auth.SentCode.md b/old_docs/API_docs_v75/types/auth.SentCode.md new file mode 100644 index 00000000..c786d77e --- /dev/null +++ b/old_docs/API_docs_v75/types/auth.SentCode.md @@ -0,0 +1,28 @@ +--- +title: auth.SentCode +description: constructors and methods of type auth.SentCode +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.SentCode +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.sentCode](../constructors/auth.sentCode.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->sendCode](../methods/auth.sendCode.md) + +[$MadelineProto->auth->resendCode](../methods/auth.resendCode.md) + +[$MadelineProto->account->sendChangePhoneCode](../methods/account.sendChangePhoneCode.md) + +[$MadelineProto->account->sendConfirmPhoneCode](../methods/account.sendConfirmPhoneCode.md) + + + diff --git a/old_docs/API_docs_v75/types/auth.SentCodeType.md b/old_docs/API_docs_v75/types/auth.SentCodeType.md new file mode 100644 index 00000000..7c7c534e --- /dev/null +++ b/old_docs/API_docs_v75/types/auth.SentCodeType.md @@ -0,0 +1,26 @@ +--- +title: auth.SentCodeType +description: constructors and methods of type auth.SentCodeType +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.SentCodeType +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.sentCodeTypeApp](../constructors/auth.sentCodeTypeApp.md) + +[auth.sentCodeTypeSms](../constructors/auth.sentCodeTypeSms.md) + +[auth.sentCodeTypeCall](../constructors/auth.sentCodeTypeCall.md) + +[auth.sentCodeTypeFlashCall](../constructors/auth.sentCodeTypeFlashCall.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v75/types/auth_Authorization.md b/old_docs/API_docs_v75/types/auth_Authorization.md deleted file mode 100644 index 5a34fc2d..00000000 --- a/old_docs/API_docs_v75/types/auth_Authorization.md +++ /dev/null @@ -1,32 +0,0 @@ ---- -title: auth_Authorization -description: constructors and methods of type auth_Authorization -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_Authorization -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_authorization](../constructors/auth_authorization.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->signUp](../methods/auth_signUp.md) - -[$MadelineProto->auth->signIn](../methods/auth_signIn.md) - -[$MadelineProto->auth->importAuthorization](../methods/auth_importAuthorization.md) - -[$MadelineProto->auth->importBotAuthorization](../methods/auth_importBotAuthorization.md) - -[$MadelineProto->auth->checkPassword](../methods/auth_checkPassword.md) - -[$MadelineProto->auth->recoverPassword](../methods/auth_recoverPassword.md) - - - diff --git a/old_docs/API_docs_v75/types/auth_CheckedPhone.md b/old_docs/API_docs_v75/types/auth_CheckedPhone.md deleted file mode 100644 index e9b0def4..00000000 --- a/old_docs/API_docs_v75/types/auth_CheckedPhone.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: auth_CheckedPhone -description: constructors and methods of type auth_CheckedPhone -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_CheckedPhone -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_checkedPhone](../constructors/auth_checkedPhone.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->checkPhone](../methods/auth_checkPhone.md) - - - diff --git a/old_docs/API_docs_v75/types/auth_CodeType.md b/old_docs/API_docs_v75/types/auth_CodeType.md deleted file mode 100644 index 3cd9a7b7..00000000 --- a/old_docs/API_docs_v75/types/auth_CodeType.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: auth_CodeType -description: constructors and methods of type auth_CodeType -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_CodeType -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_codeTypeSms](../constructors/auth_codeTypeSms.md) - -[auth\_codeTypeCall](../constructors/auth_codeTypeCall.md) - -[auth\_codeTypeFlashCall](../constructors/auth_codeTypeFlashCall.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v75/types/auth_ExportedAuthorization.md b/old_docs/API_docs_v75/types/auth_ExportedAuthorization.md deleted file mode 100644 index 69e5c42e..00000000 --- a/old_docs/API_docs_v75/types/auth_ExportedAuthorization.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: auth_ExportedAuthorization -description: constructors and methods of type auth_ExportedAuthorization -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_ExportedAuthorization -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_exportedAuthorization](../constructors/auth_exportedAuthorization.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->exportAuthorization](../methods/auth_exportAuthorization.md) - - - diff --git a/old_docs/API_docs_v75/types/auth_PasswordRecovery.md b/old_docs/API_docs_v75/types/auth_PasswordRecovery.md deleted file mode 100644 index 4962bf42..00000000 --- a/old_docs/API_docs_v75/types/auth_PasswordRecovery.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: auth_PasswordRecovery -description: constructors and methods of type auth_PasswordRecovery -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_PasswordRecovery -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_passwordRecovery](../constructors/auth_passwordRecovery.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->requestPasswordRecovery](../methods/auth_requestPasswordRecovery.md) - - - diff --git a/old_docs/API_docs_v75/types/auth_SentCode.md b/old_docs/API_docs_v75/types/auth_SentCode.md deleted file mode 100644 index 93734713..00000000 --- a/old_docs/API_docs_v75/types/auth_SentCode.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: auth_SentCode -description: constructors and methods of type auth_SentCode -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_SentCode -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_sentCode](../constructors/auth_sentCode.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->sendCode](../methods/auth_sendCode.md) - -[$MadelineProto->auth->resendCode](../methods/auth_resendCode.md) - -[$MadelineProto->account->sendChangePhoneCode](../methods/account_sendChangePhoneCode.md) - -[$MadelineProto->account->sendConfirmPhoneCode](../methods/account_sendConfirmPhoneCode.md) - - - diff --git a/old_docs/API_docs_v75/types/auth_SentCodeType.md b/old_docs/API_docs_v75/types/auth_SentCodeType.md deleted file mode 100644 index 8dfcb93b..00000000 --- a/old_docs/API_docs_v75/types/auth_SentCodeType.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: auth_SentCodeType -description: constructors and methods of type auth_SentCodeType -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_SentCodeType -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_sentCodeTypeApp](../constructors/auth_sentCodeTypeApp.md) - -[auth\_sentCodeTypeSms](../constructors/auth_sentCodeTypeSms.md) - -[auth\_sentCodeTypeCall](../constructors/auth_sentCodeTypeCall.md) - -[auth\_sentCodeTypeFlashCall](../constructors/auth_sentCodeTypeFlashCall.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v75/types/channels.AdminLogResults.md b/old_docs/API_docs_v75/types/channels.AdminLogResults.md new file mode 100644 index 00000000..7855a4fd --- /dev/null +++ b/old_docs/API_docs_v75/types/channels.AdminLogResults.md @@ -0,0 +1,22 @@ +--- +title: channels.AdminLogResults +description: constructors and methods of type channels.AdminLogResults +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: channels.AdminLogResults +[Back to types index](index.md) + + + +### Possible values (constructors): + +[channels.adminLogResults](../constructors/channels.adminLogResults.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->channels->getAdminLog](../methods/channels.getAdminLog.md) + + + diff --git a/old_docs/API_docs_v75/types/channels.ChannelParticipant.md b/old_docs/API_docs_v75/types/channels.ChannelParticipant.md new file mode 100644 index 00000000..8dc7f7e6 --- /dev/null +++ b/old_docs/API_docs_v75/types/channels.ChannelParticipant.md @@ -0,0 +1,22 @@ +--- +title: channels.ChannelParticipant +description: constructors and methods of type channels.ChannelParticipant +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: channels.ChannelParticipant +[Back to types index](index.md) + + + +### Possible values (constructors): + +[channels.channelParticipant](../constructors/channels.channelParticipant.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->channels->getParticipant](../methods/channels.getParticipant.md) + + + diff --git a/old_docs/API_docs_v75/types/channels.ChannelParticipants.md b/old_docs/API_docs_v75/types/channels.ChannelParticipants.md new file mode 100644 index 00000000..d448e007 --- /dev/null +++ b/old_docs/API_docs_v75/types/channels.ChannelParticipants.md @@ -0,0 +1,24 @@ +--- +title: channels.ChannelParticipants +description: constructors and methods of type channels.ChannelParticipants +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: channels.ChannelParticipants +[Back to types index](index.md) + + + +### Possible values (constructors): + +[channels.channelParticipants](../constructors/channels.channelParticipants.md) + +[channels.channelParticipantsNotModified](../constructors/channels.channelParticipantsNotModified.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->channels->getParticipants](../methods/channels.getParticipants.md) + + + diff --git a/old_docs/API_docs_v75/types/channels_AdminLogResults.md b/old_docs/API_docs_v75/types/channels_AdminLogResults.md deleted file mode 100644 index 4e9b5544..00000000 --- a/old_docs/API_docs_v75/types/channels_AdminLogResults.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: channels_AdminLogResults -description: constructors and methods of type channels_AdminLogResults -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: channels\_AdminLogResults -[Back to types index](index.md) - - - -### Possible values (constructors): - -[channels\_adminLogResults](../constructors/channels_adminLogResults.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->channels->getAdminLog](../methods/channels_getAdminLog.md) - - - diff --git a/old_docs/API_docs_v75/types/channels_ChannelParticipant.md b/old_docs/API_docs_v75/types/channels_ChannelParticipant.md deleted file mode 100644 index 3d4667c3..00000000 --- a/old_docs/API_docs_v75/types/channels_ChannelParticipant.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: channels_ChannelParticipant -description: constructors and methods of type channels_ChannelParticipant -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: channels\_ChannelParticipant -[Back to types index](index.md) - - - -### Possible values (constructors): - -[channels\_channelParticipant](../constructors/channels_channelParticipant.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->channels->getParticipant](../methods/channels_getParticipant.md) - - - diff --git a/old_docs/API_docs_v75/types/channels_ChannelParticipants.md b/old_docs/API_docs_v75/types/channels_ChannelParticipants.md deleted file mode 100644 index 80a41dd9..00000000 --- a/old_docs/API_docs_v75/types/channels_ChannelParticipants.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: channels_ChannelParticipants -description: constructors and methods of type channels_ChannelParticipants -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: channels\_ChannelParticipants -[Back to types index](index.md) - - - -### Possible values (constructors): - -[channels\_channelParticipants](../constructors/channels_channelParticipants.md) - -[channels\_channelParticipantsNotModified](../constructors/channels_channelParticipantsNotModified.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->channels->getParticipants](../methods/channels_getParticipants.md) - - - diff --git a/old_docs/API_docs_v75/types/contacts.Blocked.md b/old_docs/API_docs_v75/types/contacts.Blocked.md new file mode 100644 index 00000000..cb2af80f --- /dev/null +++ b/old_docs/API_docs_v75/types/contacts.Blocked.md @@ -0,0 +1,24 @@ +--- +title: contacts.Blocked +description: constructors and methods of type contacts.Blocked +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Blocked +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.blocked](../constructors/contacts.blocked.md) + +[contacts.blockedSlice](../constructors/contacts.blockedSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getBlocked](../methods/contacts.getBlocked.md) + + + diff --git a/old_docs/API_docs_v75/types/contacts.Contacts.md b/old_docs/API_docs_v75/types/contacts.Contacts.md new file mode 100644 index 00000000..5f695d8e --- /dev/null +++ b/old_docs/API_docs_v75/types/contacts.Contacts.md @@ -0,0 +1,24 @@ +--- +title: contacts.Contacts +description: constructors and methods of type contacts.Contacts +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Contacts +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.contactsNotModified](../constructors/contacts.contactsNotModified.md) + +[contacts.contacts](../constructors/contacts.contacts.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getContacts](../methods/contacts.getContacts.md) + + + diff --git a/old_docs/API_docs_v75/types/contacts.Found.md b/old_docs/API_docs_v75/types/contacts.Found.md new file mode 100644 index 00000000..7df98927 --- /dev/null +++ b/old_docs/API_docs_v75/types/contacts.Found.md @@ -0,0 +1,22 @@ +--- +title: contacts.Found +description: constructors and methods of type contacts.Found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Found +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.found](../constructors/contacts.found.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->search](../methods/contacts.search.md) + + + diff --git a/old_docs/API_docs_v75/types/contacts.ImportedContacts.md b/old_docs/API_docs_v75/types/contacts.ImportedContacts.md new file mode 100644 index 00000000..16795bab --- /dev/null +++ b/old_docs/API_docs_v75/types/contacts.ImportedContacts.md @@ -0,0 +1,22 @@ +--- +title: contacts.ImportedContacts +description: constructors and methods of type contacts.ImportedContacts +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.ImportedContacts +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.importedContacts](../constructors/contacts.importedContacts.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->importContacts](../methods/contacts.importContacts.md) + + + diff --git a/old_docs/API_docs_v75/types/contacts.Link.md b/old_docs/API_docs_v75/types/contacts.Link.md new file mode 100644 index 00000000..eb9da683 --- /dev/null +++ b/old_docs/API_docs_v75/types/contacts.Link.md @@ -0,0 +1,22 @@ +--- +title: contacts.Link +description: constructors and methods of type contacts.Link +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Link +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.link](../constructors/contacts.link.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->deleteContact](../methods/contacts.deleteContact.md) + + + diff --git a/old_docs/API_docs_v75/types/contacts.ResolvedPeer.md b/old_docs/API_docs_v75/types/contacts.ResolvedPeer.md new file mode 100644 index 00000000..13630d54 --- /dev/null +++ b/old_docs/API_docs_v75/types/contacts.ResolvedPeer.md @@ -0,0 +1,22 @@ +--- +title: contacts.ResolvedPeer +description: constructors and methods of type contacts.ResolvedPeer +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.ResolvedPeer +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.resolvedPeer](../constructors/contacts.resolvedPeer.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->resolveUsername](../methods/contacts.resolveUsername.md) + + + diff --git a/old_docs/API_docs_v75/types/contacts.TopPeers.md b/old_docs/API_docs_v75/types/contacts.TopPeers.md new file mode 100644 index 00000000..b8107616 --- /dev/null +++ b/old_docs/API_docs_v75/types/contacts.TopPeers.md @@ -0,0 +1,24 @@ +--- +title: contacts.TopPeers +description: constructors and methods of type contacts.TopPeers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.TopPeers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.topPeersNotModified](../constructors/contacts.topPeersNotModified.md) + +[contacts.topPeers](../constructors/contacts.topPeers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getTopPeers](../methods/contacts.getTopPeers.md) + + + diff --git a/old_docs/API_docs_v75/types/contacts_Blocked.md b/old_docs/API_docs_v75/types/contacts_Blocked.md deleted file mode 100644 index 3e1f02eb..00000000 --- a/old_docs/API_docs_v75/types/contacts_Blocked.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: contacts_Blocked -description: constructors and methods of type contacts_Blocked -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Blocked -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_blocked](../constructors/contacts_blocked.md) - -[contacts\_blockedSlice](../constructors/contacts_blockedSlice.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->getBlocked](../methods/contacts_getBlocked.md) - - - diff --git a/old_docs/API_docs_v75/types/contacts_Contacts.md b/old_docs/API_docs_v75/types/contacts_Contacts.md deleted file mode 100644 index 5d6c9506..00000000 --- a/old_docs/API_docs_v75/types/contacts_Contacts.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: contacts_Contacts -description: constructors and methods of type contacts_Contacts -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Contacts -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_contactsNotModified](../constructors/contacts_contactsNotModified.md) - -[contacts\_contacts](../constructors/contacts_contacts.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->getContacts](../methods/contacts_getContacts.md) - - - diff --git a/old_docs/API_docs_v75/types/contacts_Found.md b/old_docs/API_docs_v75/types/contacts_Found.md deleted file mode 100644 index 806101cf..00000000 --- a/old_docs/API_docs_v75/types/contacts_Found.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_Found -description: constructors and methods of type contacts_Found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Found -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_found](../constructors/contacts_found.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->search](../methods/contacts_search.md) - - - diff --git a/old_docs/API_docs_v75/types/contacts_ImportedContacts.md b/old_docs/API_docs_v75/types/contacts_ImportedContacts.md deleted file mode 100644 index faf7e615..00000000 --- a/old_docs/API_docs_v75/types/contacts_ImportedContacts.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_ImportedContacts -description: constructors and methods of type contacts_ImportedContacts -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_ImportedContacts -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_importedContacts](../constructors/contacts_importedContacts.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->importContacts](../methods/contacts_importContacts.md) - - - diff --git a/old_docs/API_docs_v75/types/contacts_Link.md b/old_docs/API_docs_v75/types/contacts_Link.md deleted file mode 100644 index 01556606..00000000 --- a/old_docs/API_docs_v75/types/contacts_Link.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_Link -description: constructors and methods of type contacts_Link -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Link -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_link](../constructors/contacts_link.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->deleteContact](../methods/contacts_deleteContact.md) - - - diff --git a/old_docs/API_docs_v75/types/contacts_ResolvedPeer.md b/old_docs/API_docs_v75/types/contacts_ResolvedPeer.md deleted file mode 100644 index cf107f7c..00000000 --- a/old_docs/API_docs_v75/types/contacts_ResolvedPeer.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_ResolvedPeer -description: constructors and methods of type contacts_ResolvedPeer -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_ResolvedPeer -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_resolvedPeer](../constructors/contacts_resolvedPeer.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->resolveUsername](../methods/contacts_resolveUsername.md) - - - diff --git a/old_docs/API_docs_v75/types/contacts_TopPeers.md b/old_docs/API_docs_v75/types/contacts_TopPeers.md deleted file mode 100644 index fe4255c7..00000000 --- a/old_docs/API_docs_v75/types/contacts_TopPeers.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: contacts_TopPeers -description: constructors and methods of type contacts_TopPeers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_TopPeers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_topPeersNotModified](../constructors/contacts_topPeersNotModified.md) - -[contacts\_topPeers](../constructors/contacts_topPeers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->getTopPeers](../methods/contacts_getTopPeers.md) - - - diff --git a/old_docs/API_docs_v75/types/help.AppUpdate.md b/old_docs/API_docs_v75/types/help.AppUpdate.md new file mode 100644 index 00000000..285ec2b7 --- /dev/null +++ b/old_docs/API_docs_v75/types/help.AppUpdate.md @@ -0,0 +1,24 @@ +--- +title: help.AppUpdate +description: constructors and methods of type help.AppUpdate +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.AppUpdate +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.appUpdate](../constructors/help.appUpdate.md) + +[help.noAppUpdate](../constructors/help.noAppUpdate.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getAppUpdate](../methods/help.getAppUpdate.md) + + + diff --git a/old_docs/API_docs_v75/types/help.InviteText.md b/old_docs/API_docs_v75/types/help.InviteText.md new file mode 100644 index 00000000..43293f46 --- /dev/null +++ b/old_docs/API_docs_v75/types/help.InviteText.md @@ -0,0 +1,22 @@ +--- +title: help.InviteText +description: constructors and methods of type help.InviteText +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.InviteText +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.inviteText](../constructors/help.inviteText.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getInviteText](../methods/help.getInviteText.md) + + + diff --git a/old_docs/API_docs_v75/types/help.RecentMeUrls.md b/old_docs/API_docs_v75/types/help.RecentMeUrls.md new file mode 100644 index 00000000..6b7ee2c1 --- /dev/null +++ b/old_docs/API_docs_v75/types/help.RecentMeUrls.md @@ -0,0 +1,22 @@ +--- +title: help.RecentMeUrls +description: constructors and methods of type help.RecentMeUrls +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.RecentMeUrls +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.recentMeUrls](../constructors/help.recentMeUrls.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getRecentMeUrls](../methods/help.getRecentMeUrls.md) + + + diff --git a/old_docs/API_docs_v75/types/help.Support.md b/old_docs/API_docs_v75/types/help.Support.md new file mode 100644 index 00000000..42c20483 --- /dev/null +++ b/old_docs/API_docs_v75/types/help.Support.md @@ -0,0 +1,22 @@ +--- +title: help.Support +description: constructors and methods of type help.Support +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.Support +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.support](../constructors/help.support.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getSupport](../methods/help.getSupport.md) + + + diff --git a/old_docs/API_docs_v75/types/help.TermsOfService.md b/old_docs/API_docs_v75/types/help.TermsOfService.md new file mode 100644 index 00000000..6c29d2e6 --- /dev/null +++ b/old_docs/API_docs_v75/types/help.TermsOfService.md @@ -0,0 +1,22 @@ +--- +title: help.TermsOfService +description: constructors and methods of type help.TermsOfService +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.TermsOfService +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.termsOfService](../constructors/help.termsOfService.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getTermsOfService](../methods/help.getTermsOfService.md) + + + diff --git a/old_docs/API_docs_v75/types/help_AppUpdate.md b/old_docs/API_docs_v75/types/help_AppUpdate.md deleted file mode 100644 index 1f296a70..00000000 --- a/old_docs/API_docs_v75/types/help_AppUpdate.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: help_AppUpdate -description: constructors and methods of type help_AppUpdate -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_AppUpdate -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_appUpdate](../constructors/help_appUpdate.md) - -[help\_noAppUpdate](../constructors/help_noAppUpdate.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getAppUpdate](../methods/help_getAppUpdate.md) - - - diff --git a/old_docs/API_docs_v75/types/help_InviteText.md b/old_docs/API_docs_v75/types/help_InviteText.md deleted file mode 100644 index 018d35bf..00000000 --- a/old_docs/API_docs_v75/types/help_InviteText.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: help_InviteText -description: constructors and methods of type help_InviteText -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_InviteText -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_inviteText](../constructors/help_inviteText.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getInviteText](../methods/help_getInviteText.md) - - - diff --git a/old_docs/API_docs_v75/types/help_RecentMeUrls.md b/old_docs/API_docs_v75/types/help_RecentMeUrls.md deleted file mode 100644 index 691af1c3..00000000 --- a/old_docs/API_docs_v75/types/help_RecentMeUrls.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: help_RecentMeUrls -description: constructors and methods of type help_RecentMeUrls -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_RecentMeUrls -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_recentMeUrls](../constructors/help_recentMeUrls.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getRecentMeUrls](../methods/help_getRecentMeUrls.md) - - - diff --git a/old_docs/API_docs_v75/types/help_Support.md b/old_docs/API_docs_v75/types/help_Support.md deleted file mode 100644 index 26de447b..00000000 --- a/old_docs/API_docs_v75/types/help_Support.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: help_Support -description: constructors and methods of type help_Support -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_Support -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_support](../constructors/help_support.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getSupport](../methods/help_getSupport.md) - - - diff --git a/old_docs/API_docs_v75/types/help_TermsOfService.md b/old_docs/API_docs_v75/types/help_TermsOfService.md deleted file mode 100644 index 84a05df3..00000000 --- a/old_docs/API_docs_v75/types/help_TermsOfService.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: help_TermsOfService -description: constructors and methods of type help_TermsOfService -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_TermsOfService -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_termsOfService](../constructors/help_termsOfService.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getTermsOfService](../methods/help_getTermsOfService.md) - - - diff --git a/old_docs/API_docs_v75/types/messages.AffectedHistory.md b/old_docs/API_docs_v75/types/messages.AffectedHistory.md new file mode 100644 index 00000000..8a1e850a --- /dev/null +++ b/old_docs/API_docs_v75/types/messages.AffectedHistory.md @@ -0,0 +1,26 @@ +--- +title: messages.AffectedHistory +description: constructors and methods of type messages.AffectedHistory +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.AffectedHistory +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.affectedHistory](../constructors/messages.affectedHistory.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->deleteHistory](../methods/messages.deleteHistory.md) + +[$MadelineProto->messages->readMentions](../methods/messages.readMentions.md) + +[$MadelineProto->channels->deleteUserHistory](../methods/channels.deleteUserHistory.md) + + + diff --git a/old_docs/API_docs_v75/types/messages.AffectedMessages.md b/old_docs/API_docs_v75/types/messages.AffectedMessages.md new file mode 100644 index 00000000..a9159de3 --- /dev/null +++ b/old_docs/API_docs_v75/types/messages.AffectedMessages.md @@ -0,0 +1,28 @@ +--- +title: messages.AffectedMessages +description: constructors and methods of type messages.AffectedMessages +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.AffectedMessages +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.affectedMessages](../constructors/messages.affectedMessages.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->readHistory](../methods/messages.readHistory.md) + +[$MadelineProto->messages->deleteMessages](../methods/messages.deleteMessages.md) + +[$MadelineProto->messages->readMessageContents](../methods/messages.readMessageContents.md) + +[$MadelineProto->channels->deleteMessages](../methods/channels.deleteMessages.md) + + + diff --git a/old_docs/API_docs_v75/types/messages.AllStickers.md b/old_docs/API_docs_v75/types/messages.AllStickers.md new file mode 100644 index 00000000..fd8565de --- /dev/null +++ b/old_docs/API_docs_v75/types/messages.AllStickers.md @@ -0,0 +1,26 @@ +--- +title: messages.AllStickers +description: constructors and methods of type messages.AllStickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.AllStickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.allStickersNotModified](../constructors/messages.allStickersNotModified.md) + +[messages.allStickers](../constructors/messages.allStickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getAllStickers](../methods/messages.getAllStickers.md) + +[$MadelineProto->messages->getMaskStickers](../methods/messages.getMaskStickers.md) + + + diff --git a/old_docs/API_docs_v75/types/messages.ArchivedStickers.md b/old_docs/API_docs_v75/types/messages.ArchivedStickers.md new file mode 100644 index 00000000..3e017c5d --- /dev/null +++ b/old_docs/API_docs_v75/types/messages.ArchivedStickers.md @@ -0,0 +1,22 @@ +--- +title: messages.ArchivedStickers +description: constructors and methods of type messages.ArchivedStickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.ArchivedStickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.archivedStickers](../constructors/messages.archivedStickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getArchivedStickers](../methods/messages.getArchivedStickers.md) + + + diff --git a/old_docs/API_docs_v75/types/messages.BotCallbackAnswer.md b/old_docs/API_docs_v75/types/messages.BotCallbackAnswer.md new file mode 100644 index 00000000..ef30fbfb --- /dev/null +++ b/old_docs/API_docs_v75/types/messages.BotCallbackAnswer.md @@ -0,0 +1,22 @@ +--- +title: messages.BotCallbackAnswer +description: constructors and methods of type messages.BotCallbackAnswer +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.BotCallbackAnswer +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.botCallbackAnswer](../constructors/messages.botCallbackAnswer.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getBotCallbackAnswer](../methods/messages.getBotCallbackAnswer.md) + + + diff --git a/old_docs/API_docs_v75/types/messages.BotResults.md b/old_docs/API_docs_v75/types/messages.BotResults.md new file mode 100644 index 00000000..76ee2b99 --- /dev/null +++ b/old_docs/API_docs_v75/types/messages.BotResults.md @@ -0,0 +1,22 @@ +--- +title: messages.BotResults +description: constructors and methods of type messages.BotResults +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.BotResults +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.botResults](../constructors/messages.botResults.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getInlineBotResults](../methods/messages.getInlineBotResults.md) + + + diff --git a/old_docs/API_docs_v75/types/messages.ChatFull.md b/old_docs/API_docs_v75/types/messages.ChatFull.md new file mode 100644 index 00000000..3ad38748 --- /dev/null +++ b/old_docs/API_docs_v75/types/messages.ChatFull.md @@ -0,0 +1,24 @@ +--- +title: messages.ChatFull +description: constructors and methods of type messages.ChatFull +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.ChatFull +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.chatFull](../constructors/messages.chatFull.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getFullChat](../methods/messages.getFullChat.md) + +[$MadelineProto->channels->getFullChannel](../methods/channels.getFullChannel.md) + + + diff --git a/old_docs/API_docs_v75/types/messages.Chats.md b/old_docs/API_docs_v75/types/messages.Chats.md new file mode 100644 index 00000000..2c730bf4 --- /dev/null +++ b/old_docs/API_docs_v75/types/messages.Chats.md @@ -0,0 +1,32 @@ +--- +title: messages.Chats +description: constructors and methods of type messages.Chats +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Chats +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.chats](../constructors/messages.chats.md) + +[messages.chatsSlice](../constructors/messages.chatsSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getChats](../methods/messages.getChats.md) + +[$MadelineProto->messages->getCommonChats](../methods/messages.getCommonChats.md) + +[$MadelineProto->messages->getAllChats](../methods/messages.getAllChats.md) + +[$MadelineProto->channels->getChannels](../methods/channels.getChannels.md) + +[$MadelineProto->channels->getAdminedPublicChannels](../methods/channels.getAdminedPublicChannels.md) + + + diff --git a/old_docs/API_docs_v75/types/messages.DhConfig.md b/old_docs/API_docs_v75/types/messages.DhConfig.md new file mode 100644 index 00000000..77188ab7 --- /dev/null +++ b/old_docs/API_docs_v75/types/messages.DhConfig.md @@ -0,0 +1,24 @@ +--- +title: messages.DhConfig +description: constructors and methods of type messages.DhConfig +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.DhConfig +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.dhConfigNotModified](../constructors/messages.dhConfigNotModified.md) + +[messages.dhConfig](../constructors/messages.dhConfig.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getDhConfig](../methods/messages.getDhConfig.md) + + + diff --git a/old_docs/API_docs_v75/types/messages.Dialogs.md b/old_docs/API_docs_v75/types/messages.Dialogs.md new file mode 100644 index 00000000..1a57d535 --- /dev/null +++ b/old_docs/API_docs_v75/types/messages.Dialogs.md @@ -0,0 +1,24 @@ +--- +title: messages.Dialogs +description: constructors and methods of type messages.Dialogs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Dialogs +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.dialogs](../constructors/messages.dialogs.md) + +[messages.dialogsSlice](../constructors/messages.dialogsSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getDialogs](../methods/messages.getDialogs.md) + + + diff --git a/old_docs/API_docs_v75/types/messages.FavedStickers.md b/old_docs/API_docs_v75/types/messages.FavedStickers.md new file mode 100644 index 00000000..3edc863b --- /dev/null +++ b/old_docs/API_docs_v75/types/messages.FavedStickers.md @@ -0,0 +1,24 @@ +--- +title: messages.FavedStickers +description: constructors and methods of type messages.FavedStickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.FavedStickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.favedStickersNotModified](../constructors/messages.favedStickersNotModified.md) + +[messages.favedStickers](../constructors/messages.favedStickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getFavedStickers](../methods/messages.getFavedStickers.md) + + + diff --git a/old_docs/API_docs_v75/types/messages.FeaturedStickers.md b/old_docs/API_docs_v75/types/messages.FeaturedStickers.md new file mode 100644 index 00000000..06ed87bb --- /dev/null +++ b/old_docs/API_docs_v75/types/messages.FeaturedStickers.md @@ -0,0 +1,24 @@ +--- +title: messages.FeaturedStickers +description: constructors and methods of type messages.FeaturedStickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.FeaturedStickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.featuredStickersNotModified](../constructors/messages.featuredStickersNotModified.md) + +[messages.featuredStickers](../constructors/messages.featuredStickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getFeaturedStickers](../methods/messages.getFeaturedStickers.md) + + + diff --git a/old_docs/API_docs_v75/types/messages.FoundGifs.md b/old_docs/API_docs_v75/types/messages.FoundGifs.md new file mode 100644 index 00000000..b5176a5d --- /dev/null +++ b/old_docs/API_docs_v75/types/messages.FoundGifs.md @@ -0,0 +1,22 @@ +--- +title: messages.FoundGifs +description: constructors and methods of type messages.FoundGifs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.FoundGifs +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.foundGifs](../constructors/messages.foundGifs.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->searchGifs](../methods/messages.searchGifs.md) + + + diff --git a/old_docs/API_docs_v75/types/messages.HighScores.md b/old_docs/API_docs_v75/types/messages.HighScores.md new file mode 100644 index 00000000..eae9db66 --- /dev/null +++ b/old_docs/API_docs_v75/types/messages.HighScores.md @@ -0,0 +1,24 @@ +--- +title: messages.HighScores +description: constructors and methods of type messages.HighScores +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.HighScores +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.highScores](../constructors/messages.highScores.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getGameHighScores](../methods/messages.getGameHighScores.md) + +[$MadelineProto->messages->getInlineGameHighScores](../methods/messages.getInlineGameHighScores.md) + + + diff --git a/old_docs/API_docs_v75/types/messages.MessageEditData.md b/old_docs/API_docs_v75/types/messages.MessageEditData.md new file mode 100644 index 00000000..feb572f1 --- /dev/null +++ b/old_docs/API_docs_v75/types/messages.MessageEditData.md @@ -0,0 +1,22 @@ +--- +title: messages.MessageEditData +description: constructors and methods of type messages.MessageEditData +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.MessageEditData +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.messageEditData](../constructors/messages.messageEditData.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getMessageEditData](../methods/messages.getMessageEditData.md) + + + diff --git a/old_docs/API_docs_v75/types/messages.Messages.md b/old_docs/API_docs_v75/types/messages.Messages.md new file mode 100644 index 00000000..699ceada --- /dev/null +++ b/old_docs/API_docs_v75/types/messages.Messages.md @@ -0,0 +1,40 @@ +--- +title: messages.Messages +description: constructors and methods of type messages.Messages +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Messages +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.messages](../constructors/messages.messages.md) + +[messages.messagesSlice](../constructors/messages.messagesSlice.md) + +[messages.channelMessages](../constructors/messages.channelMessages.md) + +[messages.messagesNotModified](../constructors/messages.messagesNotModified.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getMessages](../methods/messages.getMessages.md) + +[$MadelineProto->messages->getHistory](../methods/messages.getHistory.md) + +[$MadelineProto->messages->search](../methods/messages.search.md) + +[$MadelineProto->messages->searchGlobal](../methods/messages.searchGlobal.md) + +[$MadelineProto->messages->getUnreadMentions](../methods/messages.getUnreadMentions.md) + +[$MadelineProto->messages->getRecentLocations](../methods/messages.getRecentLocations.md) + +[$MadelineProto->channels->getMessages](../methods/channels.getMessages.md) + + + diff --git a/old_docs/API_docs_v75/types/messages.PeerDialogs.md b/old_docs/API_docs_v75/types/messages.PeerDialogs.md new file mode 100644 index 00000000..9a1ceaf0 --- /dev/null +++ b/old_docs/API_docs_v75/types/messages.PeerDialogs.md @@ -0,0 +1,24 @@ +--- +title: messages.PeerDialogs +description: constructors and methods of type messages.PeerDialogs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.PeerDialogs +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.peerDialogs](../constructors/messages.peerDialogs.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getPeerDialogs](../methods/messages.getPeerDialogs.md) + +[$MadelineProto->messages->getPinnedDialogs](../methods/messages.getPinnedDialogs.md) + + + diff --git a/old_docs/API_docs_v75/types/messages.RecentStickers.md b/old_docs/API_docs_v75/types/messages.RecentStickers.md new file mode 100644 index 00000000..e5c49b92 --- /dev/null +++ b/old_docs/API_docs_v75/types/messages.RecentStickers.md @@ -0,0 +1,24 @@ +--- +title: messages.RecentStickers +description: constructors and methods of type messages.RecentStickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.RecentStickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.recentStickersNotModified](../constructors/messages.recentStickersNotModified.md) + +[messages.recentStickers](../constructors/messages.recentStickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getRecentStickers](../methods/messages.getRecentStickers.md) + + + diff --git a/old_docs/API_docs_v75/types/messages.SavedGifs.md b/old_docs/API_docs_v75/types/messages.SavedGifs.md new file mode 100644 index 00000000..99844c98 --- /dev/null +++ b/old_docs/API_docs_v75/types/messages.SavedGifs.md @@ -0,0 +1,24 @@ +--- +title: messages.SavedGifs +description: constructors and methods of type messages.SavedGifs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.SavedGifs +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.savedGifsNotModified](../constructors/messages.savedGifsNotModified.md) + +[messages.savedGifs](../constructors/messages.savedGifs.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getSavedGifs](../methods/messages.getSavedGifs.md) + + + diff --git a/old_docs/API_docs_v75/types/messages.SentEncryptedMessage.md b/old_docs/API_docs_v75/types/messages.SentEncryptedMessage.md new file mode 100644 index 00000000..b6d05b1f --- /dev/null +++ b/old_docs/API_docs_v75/types/messages.SentEncryptedMessage.md @@ -0,0 +1,28 @@ +--- +title: messages.SentEncryptedMessage +description: constructors and methods of type messages.SentEncryptedMessage +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.SentEncryptedMessage +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.sentEncryptedMessage](../constructors/messages.sentEncryptedMessage.md) + +[messages.sentEncryptedFile](../constructors/messages.sentEncryptedFile.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->sendEncrypted](../methods/messages.sendEncrypted.md) + +[$MadelineProto->messages->sendEncryptedFile](../methods/messages.sendEncryptedFile.md) + +[$MadelineProto->messages->sendEncryptedService](../methods/messages.sendEncryptedService.md) + + + diff --git a/old_docs/API_docs_v75/types/messages.StickerSet.md b/old_docs/API_docs_v75/types/messages.StickerSet.md new file mode 100644 index 00000000..e173fe45 --- /dev/null +++ b/old_docs/API_docs_v75/types/messages.StickerSet.md @@ -0,0 +1,30 @@ +--- +title: messages.StickerSet +description: constructors and methods of type messages.StickerSet +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.StickerSet +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.stickerSet](../constructors/messages.stickerSet.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getStickerSet](../methods/messages.getStickerSet.md) + +[$MadelineProto->stickers->createStickerSet](../methods/stickers.createStickerSet.md) + +[$MadelineProto->stickers->removeStickerFromSet](../methods/stickers.removeStickerFromSet.md) + +[$MadelineProto->stickers->changeStickerPosition](../methods/stickers.changeStickerPosition.md) + +[$MadelineProto->stickers->addStickerToSet](../methods/stickers.addStickerToSet.md) + + + diff --git a/old_docs/API_docs_v75/types/messages.StickerSetInstallResult.md b/old_docs/API_docs_v75/types/messages.StickerSetInstallResult.md new file mode 100644 index 00000000..9e09c293 --- /dev/null +++ b/old_docs/API_docs_v75/types/messages.StickerSetInstallResult.md @@ -0,0 +1,24 @@ +--- +title: messages.StickerSetInstallResult +description: constructors and methods of type messages.StickerSetInstallResult +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.StickerSetInstallResult +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.stickerSetInstallResultSuccess](../constructors/messages.stickerSetInstallResultSuccess.md) + +[messages.stickerSetInstallResultArchive](../constructors/messages.stickerSetInstallResultArchive.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->installStickerSet](../methods/messages.installStickerSet.md) + + + diff --git a/old_docs/API_docs_v75/types/messages.Stickers.md b/old_docs/API_docs_v75/types/messages.Stickers.md new file mode 100644 index 00000000..43bddf06 --- /dev/null +++ b/old_docs/API_docs_v75/types/messages.Stickers.md @@ -0,0 +1,24 @@ +--- +title: messages.Stickers +description: constructors and methods of type messages.Stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Stickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.stickersNotModified](../constructors/messages.stickersNotModified.md) + +[messages.stickers](../constructors/messages.stickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getStickers](../methods/messages.getStickers.md) + + + diff --git a/old_docs/API_docs_v75/types/messages_AffectedHistory.md b/old_docs/API_docs_v75/types/messages_AffectedHistory.md deleted file mode 100644 index 9eef04c0..00000000 --- a/old_docs/API_docs_v75/types/messages_AffectedHistory.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: messages_AffectedHistory -description: constructors and methods of type messages_AffectedHistory -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_AffectedHistory -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_affectedHistory](../constructors/messages_affectedHistory.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->deleteHistory](../methods/messages_deleteHistory.md) - -[$MadelineProto->messages->readMentions](../methods/messages_readMentions.md) - -[$MadelineProto->channels->deleteUserHistory](../methods/channels_deleteUserHistory.md) - - - diff --git a/old_docs/API_docs_v75/types/messages_AffectedMessages.md b/old_docs/API_docs_v75/types/messages_AffectedMessages.md deleted file mode 100644 index dcbea721..00000000 --- a/old_docs/API_docs_v75/types/messages_AffectedMessages.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: messages_AffectedMessages -description: constructors and methods of type messages_AffectedMessages -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_AffectedMessages -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_affectedMessages](../constructors/messages_affectedMessages.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->readHistory](../methods/messages_readHistory.md) - -[$MadelineProto->messages->deleteMessages](../methods/messages_deleteMessages.md) - -[$MadelineProto->messages->readMessageContents](../methods/messages_readMessageContents.md) - -[$MadelineProto->channels->deleteMessages](../methods/channels_deleteMessages.md) - - - diff --git a/old_docs/API_docs_v75/types/messages_AllStickers.md b/old_docs/API_docs_v75/types/messages_AllStickers.md deleted file mode 100644 index b6a322e0..00000000 --- a/old_docs/API_docs_v75/types/messages_AllStickers.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: messages_AllStickers -description: constructors and methods of type messages_AllStickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_AllStickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_allStickersNotModified](../constructors/messages_allStickersNotModified.md) - -[messages\_allStickers](../constructors/messages_allStickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getAllStickers](../methods/messages_getAllStickers.md) - -[$MadelineProto->messages->getMaskStickers](../methods/messages_getMaskStickers.md) - - - diff --git a/old_docs/API_docs_v75/types/messages_ArchivedStickers.md b/old_docs/API_docs_v75/types/messages_ArchivedStickers.md deleted file mode 100644 index c569675e..00000000 --- a/old_docs/API_docs_v75/types/messages_ArchivedStickers.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_ArchivedStickers -description: constructors and methods of type messages_ArchivedStickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_ArchivedStickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_archivedStickers](../constructors/messages_archivedStickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getArchivedStickers](../methods/messages_getArchivedStickers.md) - - - diff --git a/old_docs/API_docs_v75/types/messages_BotCallbackAnswer.md b/old_docs/API_docs_v75/types/messages_BotCallbackAnswer.md deleted file mode 100644 index f8d424d0..00000000 --- a/old_docs/API_docs_v75/types/messages_BotCallbackAnswer.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_BotCallbackAnswer -description: constructors and methods of type messages_BotCallbackAnswer -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_BotCallbackAnswer -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_botCallbackAnswer](../constructors/messages_botCallbackAnswer.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getBotCallbackAnswer](../methods/messages_getBotCallbackAnswer.md) - - - diff --git a/old_docs/API_docs_v75/types/messages_BotResults.md b/old_docs/API_docs_v75/types/messages_BotResults.md deleted file mode 100644 index c346c5bd..00000000 --- a/old_docs/API_docs_v75/types/messages_BotResults.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_BotResults -description: constructors and methods of type messages_BotResults -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_BotResults -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_botResults](../constructors/messages_botResults.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getInlineBotResults](../methods/messages_getInlineBotResults.md) - - - diff --git a/old_docs/API_docs_v75/types/messages_ChatFull.md b/old_docs/API_docs_v75/types/messages_ChatFull.md deleted file mode 100644 index e4add41e..00000000 --- a/old_docs/API_docs_v75/types/messages_ChatFull.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_ChatFull -description: constructors and methods of type messages_ChatFull -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_ChatFull -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_chatFull](../constructors/messages_chatFull.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getFullChat](../methods/messages_getFullChat.md) - -[$MadelineProto->channels->getFullChannel](../methods/channels_getFullChannel.md) - - - diff --git a/old_docs/API_docs_v75/types/messages_Chats.md b/old_docs/API_docs_v75/types/messages_Chats.md deleted file mode 100644 index e49a9718..00000000 --- a/old_docs/API_docs_v75/types/messages_Chats.md +++ /dev/null @@ -1,32 +0,0 @@ ---- -title: messages_Chats -description: constructors and methods of type messages_Chats -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Chats -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_chats](../constructors/messages_chats.md) - -[messages\_chatsSlice](../constructors/messages_chatsSlice.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getChats](../methods/messages_getChats.md) - -[$MadelineProto->messages->getCommonChats](../methods/messages_getCommonChats.md) - -[$MadelineProto->messages->getAllChats](../methods/messages_getAllChats.md) - -[$MadelineProto->channels->getChannels](../methods/channels_getChannels.md) - -[$MadelineProto->channels->getAdminedPublicChannels](../methods/channels_getAdminedPublicChannels.md) - - - diff --git a/old_docs/API_docs_v75/types/messages_DhConfig.md b/old_docs/API_docs_v75/types/messages_DhConfig.md deleted file mode 100644 index ce237411..00000000 --- a/old_docs/API_docs_v75/types/messages_DhConfig.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_DhConfig -description: constructors and methods of type messages_DhConfig -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_DhConfig -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_dhConfigNotModified](../constructors/messages_dhConfigNotModified.md) - -[messages\_dhConfig](../constructors/messages_dhConfig.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getDhConfig](../methods/messages_getDhConfig.md) - - - diff --git a/old_docs/API_docs_v75/types/messages_Dialogs.md b/old_docs/API_docs_v75/types/messages_Dialogs.md deleted file mode 100644 index 733a42c5..00000000 --- a/old_docs/API_docs_v75/types/messages_Dialogs.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_Dialogs -description: constructors and methods of type messages_Dialogs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Dialogs -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_dialogs](../constructors/messages_dialogs.md) - -[messages\_dialogsSlice](../constructors/messages_dialogsSlice.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getDialogs](../methods/messages_getDialogs.md) - - - diff --git a/old_docs/API_docs_v75/types/messages_FavedStickers.md b/old_docs/API_docs_v75/types/messages_FavedStickers.md deleted file mode 100644 index 6fa1f221..00000000 --- a/old_docs/API_docs_v75/types/messages_FavedStickers.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_FavedStickers -description: constructors and methods of type messages_FavedStickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_FavedStickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_favedStickersNotModified](../constructors/messages_favedStickersNotModified.md) - -[messages\_favedStickers](../constructors/messages_favedStickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getFavedStickers](../methods/messages_getFavedStickers.md) - - - diff --git a/old_docs/API_docs_v75/types/messages_FeaturedStickers.md b/old_docs/API_docs_v75/types/messages_FeaturedStickers.md deleted file mode 100644 index 9b4c5002..00000000 --- a/old_docs/API_docs_v75/types/messages_FeaturedStickers.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_FeaturedStickers -description: constructors and methods of type messages_FeaturedStickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_FeaturedStickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_featuredStickersNotModified](../constructors/messages_featuredStickersNotModified.md) - -[messages\_featuredStickers](../constructors/messages_featuredStickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getFeaturedStickers](../methods/messages_getFeaturedStickers.md) - - - diff --git a/old_docs/API_docs_v75/types/messages_FoundGifs.md b/old_docs/API_docs_v75/types/messages_FoundGifs.md deleted file mode 100644 index 9dd088ba..00000000 --- a/old_docs/API_docs_v75/types/messages_FoundGifs.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_FoundGifs -description: constructors and methods of type messages_FoundGifs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_FoundGifs -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_foundGifs](../constructors/messages_foundGifs.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->searchGifs](../methods/messages_searchGifs.md) - - - diff --git a/old_docs/API_docs_v75/types/messages_HighScores.md b/old_docs/API_docs_v75/types/messages_HighScores.md deleted file mode 100644 index 9660e255..00000000 --- a/old_docs/API_docs_v75/types/messages_HighScores.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_HighScores -description: constructors and methods of type messages_HighScores -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_HighScores -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_highScores](../constructors/messages_highScores.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getGameHighScores](../methods/messages_getGameHighScores.md) - -[$MadelineProto->messages->getInlineGameHighScores](../methods/messages_getInlineGameHighScores.md) - - - diff --git a/old_docs/API_docs_v75/types/messages_MessageEditData.md b/old_docs/API_docs_v75/types/messages_MessageEditData.md deleted file mode 100644 index ed3c507a..00000000 --- a/old_docs/API_docs_v75/types/messages_MessageEditData.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_MessageEditData -description: constructors and methods of type messages_MessageEditData -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_MessageEditData -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_messageEditData](../constructors/messages_messageEditData.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getMessageEditData](../methods/messages_getMessageEditData.md) - - - diff --git a/old_docs/API_docs_v75/types/messages_Messages.md b/old_docs/API_docs_v75/types/messages_Messages.md deleted file mode 100644 index 35514e90..00000000 --- a/old_docs/API_docs_v75/types/messages_Messages.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages_Messages -description: constructors and methods of type messages_Messages -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Messages -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_messages](../constructors/messages_messages.md) - -[messages\_messagesSlice](../constructors/messages_messagesSlice.md) - -[messages\_channelMessages](../constructors/messages_channelMessages.md) - -[messages\_messagesNotModified](../constructors/messages_messagesNotModified.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getMessages](../methods/messages_getMessages.md) - -[$MadelineProto->messages->getHistory](../methods/messages_getHistory.md) - -[$MadelineProto->messages->search](../methods/messages_search.md) - -[$MadelineProto->messages->searchGlobal](../methods/messages_searchGlobal.md) - -[$MadelineProto->messages->getUnreadMentions](../methods/messages_getUnreadMentions.md) - -[$MadelineProto->messages->getRecentLocations](../methods/messages_getRecentLocations.md) - -[$MadelineProto->channels->getMessages](../methods/channels_getMessages.md) - - - diff --git a/old_docs/API_docs_v75/types/messages_PeerDialogs.md b/old_docs/API_docs_v75/types/messages_PeerDialogs.md deleted file mode 100644 index 2477931f..00000000 --- a/old_docs/API_docs_v75/types/messages_PeerDialogs.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_PeerDialogs -description: constructors and methods of type messages_PeerDialogs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_PeerDialogs -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_peerDialogs](../constructors/messages_peerDialogs.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getPeerDialogs](../methods/messages_getPeerDialogs.md) - -[$MadelineProto->messages->getPinnedDialogs](../methods/messages_getPinnedDialogs.md) - - - diff --git a/old_docs/API_docs_v75/types/messages_RecentStickers.md b/old_docs/API_docs_v75/types/messages_RecentStickers.md deleted file mode 100644 index 2c9db779..00000000 --- a/old_docs/API_docs_v75/types/messages_RecentStickers.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_RecentStickers -description: constructors and methods of type messages_RecentStickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_RecentStickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_recentStickersNotModified](../constructors/messages_recentStickersNotModified.md) - -[messages\_recentStickers](../constructors/messages_recentStickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getRecentStickers](../methods/messages_getRecentStickers.md) - - - diff --git a/old_docs/API_docs_v75/types/messages_SavedGifs.md b/old_docs/API_docs_v75/types/messages_SavedGifs.md deleted file mode 100644 index ffb000aa..00000000 --- a/old_docs/API_docs_v75/types/messages_SavedGifs.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_SavedGifs -description: constructors and methods of type messages_SavedGifs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_SavedGifs -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_savedGifsNotModified](../constructors/messages_savedGifsNotModified.md) - -[messages\_savedGifs](../constructors/messages_savedGifs.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getSavedGifs](../methods/messages_getSavedGifs.md) - - - diff --git a/old_docs/API_docs_v75/types/messages_SentEncryptedMessage.md b/old_docs/API_docs_v75/types/messages_SentEncryptedMessage.md deleted file mode 100644 index 9f7ab935..00000000 --- a/old_docs/API_docs_v75/types/messages_SentEncryptedMessage.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: messages_SentEncryptedMessage -description: constructors and methods of type messages_SentEncryptedMessage -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_SentEncryptedMessage -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_sentEncryptedMessage](../constructors/messages_sentEncryptedMessage.md) - -[messages\_sentEncryptedFile](../constructors/messages_sentEncryptedFile.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->sendEncrypted](../methods/messages_sendEncrypted.md) - -[$MadelineProto->messages->sendEncryptedFile](../methods/messages_sendEncryptedFile.md) - -[$MadelineProto->messages->sendEncryptedService](../methods/messages_sendEncryptedService.md) - - - diff --git a/old_docs/API_docs_v75/types/messages_StickerSet.md b/old_docs/API_docs_v75/types/messages_StickerSet.md deleted file mode 100644 index 98e34dd2..00000000 --- a/old_docs/API_docs_v75/types/messages_StickerSet.md +++ /dev/null @@ -1,30 +0,0 @@ ---- -title: messages_StickerSet -description: constructors and methods of type messages_StickerSet -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_StickerSet -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_stickerSet](../constructors/messages_stickerSet.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getStickerSet](../methods/messages_getStickerSet.md) - -[$MadelineProto->stickers->createStickerSet](../methods/stickers_createStickerSet.md) - -[$MadelineProto->stickers->removeStickerFromSet](../methods/stickers_removeStickerFromSet.md) - -[$MadelineProto->stickers->changeStickerPosition](../methods/stickers_changeStickerPosition.md) - -[$MadelineProto->stickers->addStickerToSet](../methods/stickers_addStickerToSet.md) - - - diff --git a/old_docs/API_docs_v75/types/messages_StickerSetInstallResult.md b/old_docs/API_docs_v75/types/messages_StickerSetInstallResult.md deleted file mode 100644 index bb62ec11..00000000 --- a/old_docs/API_docs_v75/types/messages_StickerSetInstallResult.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_StickerSetInstallResult -description: constructors and methods of type messages_StickerSetInstallResult -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_StickerSetInstallResult -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_stickerSetInstallResultSuccess](../constructors/messages_stickerSetInstallResultSuccess.md) - -[messages\_stickerSetInstallResultArchive](../constructors/messages_stickerSetInstallResultArchive.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->installStickerSet](../methods/messages_installStickerSet.md) - - - diff --git a/old_docs/API_docs_v75/types/messages_Stickers.md b/old_docs/API_docs_v75/types/messages_Stickers.md deleted file mode 100644 index cf53f57b..00000000 --- a/old_docs/API_docs_v75/types/messages_Stickers.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_Stickers -description: constructors and methods of type messages_Stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Stickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_stickersNotModified](../constructors/messages_stickersNotModified.md) - -[messages\_stickers](../constructors/messages_stickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getStickers](../methods/messages_getStickers.md) - - - diff --git a/old_docs/API_docs_v75/types/payments.PaymentForm.md b/old_docs/API_docs_v75/types/payments.PaymentForm.md new file mode 100644 index 00000000..985c1957 --- /dev/null +++ b/old_docs/API_docs_v75/types/payments.PaymentForm.md @@ -0,0 +1,22 @@ +--- +title: payments.PaymentForm +description: constructors and methods of type payments.PaymentForm +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: payments.PaymentForm +[Back to types index](index.md) + + + +### Possible values (constructors): + +[payments.paymentForm](../constructors/payments.paymentForm.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->payments->getPaymentForm](../methods/payments.getPaymentForm.md) + + + diff --git a/old_docs/API_docs_v75/types/payments.PaymentReceipt.md b/old_docs/API_docs_v75/types/payments.PaymentReceipt.md new file mode 100644 index 00000000..45cebd47 --- /dev/null +++ b/old_docs/API_docs_v75/types/payments.PaymentReceipt.md @@ -0,0 +1,22 @@ +--- +title: payments.PaymentReceipt +description: constructors and methods of type payments.PaymentReceipt +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: payments.PaymentReceipt +[Back to types index](index.md) + + + +### Possible values (constructors): + +[payments.paymentReceipt](../constructors/payments.paymentReceipt.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->payments->getPaymentReceipt](../methods/payments.getPaymentReceipt.md) + + + diff --git a/old_docs/API_docs_v75/types/payments.PaymentResult.md b/old_docs/API_docs_v75/types/payments.PaymentResult.md new file mode 100644 index 00000000..9bbff9af --- /dev/null +++ b/old_docs/API_docs_v75/types/payments.PaymentResult.md @@ -0,0 +1,24 @@ +--- +title: payments.PaymentResult +description: constructors and methods of type payments.PaymentResult +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: payments.PaymentResult +[Back to types index](index.md) + + + +### Possible values (constructors): + +[payments.paymentResult](../constructors/payments.paymentResult.md) + +[payments.paymentVerficationNeeded](../constructors/payments.paymentVerficationNeeded.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->payments->sendPaymentForm](../methods/payments.sendPaymentForm.md) + + + diff --git a/old_docs/API_docs_v75/types/payments.SavedInfo.md b/old_docs/API_docs_v75/types/payments.SavedInfo.md new file mode 100644 index 00000000..cf7be16c --- /dev/null +++ b/old_docs/API_docs_v75/types/payments.SavedInfo.md @@ -0,0 +1,22 @@ +--- +title: payments.SavedInfo +description: constructors and methods of type payments.SavedInfo +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: payments.SavedInfo +[Back to types index](index.md) + + + +### Possible values (constructors): + +[payments.savedInfo](../constructors/payments.savedInfo.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->payments->getSavedInfo](../methods/payments.getSavedInfo.md) + + + diff --git a/old_docs/API_docs_v75/types/payments.ValidatedRequestedInfo.md b/old_docs/API_docs_v75/types/payments.ValidatedRequestedInfo.md new file mode 100644 index 00000000..653a5064 --- /dev/null +++ b/old_docs/API_docs_v75/types/payments.ValidatedRequestedInfo.md @@ -0,0 +1,22 @@ +--- +title: payments.ValidatedRequestedInfo +description: constructors and methods of type payments.ValidatedRequestedInfo +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: payments.ValidatedRequestedInfo +[Back to types index](index.md) + + + +### Possible values (constructors): + +[payments.validatedRequestedInfo](../constructors/payments.validatedRequestedInfo.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->payments->validateRequestedInfo](../methods/payments.validateRequestedInfo.md) + + + diff --git a/old_docs/API_docs_v75/types/payments_PaymentForm.md b/old_docs/API_docs_v75/types/payments_PaymentForm.md deleted file mode 100644 index 4662586d..00000000 --- a/old_docs/API_docs_v75/types/payments_PaymentForm.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: payments_PaymentForm -description: constructors and methods of type payments_PaymentForm -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: payments\_PaymentForm -[Back to types index](index.md) - - - -### Possible values (constructors): - -[payments\_paymentForm](../constructors/payments_paymentForm.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->payments->getPaymentForm](../methods/payments_getPaymentForm.md) - - - diff --git a/old_docs/API_docs_v75/types/payments_PaymentReceipt.md b/old_docs/API_docs_v75/types/payments_PaymentReceipt.md deleted file mode 100644 index b4770d2a..00000000 --- a/old_docs/API_docs_v75/types/payments_PaymentReceipt.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: payments_PaymentReceipt -description: constructors and methods of type payments_PaymentReceipt -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: payments\_PaymentReceipt -[Back to types index](index.md) - - - -### Possible values (constructors): - -[payments\_paymentReceipt](../constructors/payments_paymentReceipt.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->payments->getPaymentReceipt](../methods/payments_getPaymentReceipt.md) - - - diff --git a/old_docs/API_docs_v75/types/payments_PaymentResult.md b/old_docs/API_docs_v75/types/payments_PaymentResult.md deleted file mode 100644 index 3c0ad411..00000000 --- a/old_docs/API_docs_v75/types/payments_PaymentResult.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: payments_PaymentResult -description: constructors and methods of type payments_PaymentResult -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: payments\_PaymentResult -[Back to types index](index.md) - - - -### Possible values (constructors): - -[payments\_paymentResult](../constructors/payments_paymentResult.md) - -[payments\_paymentVerficationNeeded](../constructors/payments_paymentVerficationNeeded.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->payments->sendPaymentForm](../methods/payments_sendPaymentForm.md) - - - diff --git a/old_docs/API_docs_v75/types/payments_SavedInfo.md b/old_docs/API_docs_v75/types/payments_SavedInfo.md deleted file mode 100644 index c8f7b9e3..00000000 --- a/old_docs/API_docs_v75/types/payments_SavedInfo.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: payments_SavedInfo -description: constructors and methods of type payments_SavedInfo -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: payments\_SavedInfo -[Back to types index](index.md) - - - -### Possible values (constructors): - -[payments\_savedInfo](../constructors/payments_savedInfo.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->payments->getSavedInfo](../methods/payments_getSavedInfo.md) - - - diff --git a/old_docs/API_docs_v75/types/payments_ValidatedRequestedInfo.md b/old_docs/API_docs_v75/types/payments_ValidatedRequestedInfo.md deleted file mode 100644 index ff6c4e39..00000000 --- a/old_docs/API_docs_v75/types/payments_ValidatedRequestedInfo.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: payments_ValidatedRequestedInfo -description: constructors and methods of type payments_ValidatedRequestedInfo -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: payments\_ValidatedRequestedInfo -[Back to types index](index.md) - - - -### Possible values (constructors): - -[payments\_validatedRequestedInfo](../constructors/payments_validatedRequestedInfo.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->payments->validateRequestedInfo](../methods/payments_validateRequestedInfo.md) - - - diff --git a/old_docs/API_docs_v75/types/phone.PhoneCall.md b/old_docs/API_docs_v75/types/phone.PhoneCall.md new file mode 100644 index 00000000..db0708e9 --- /dev/null +++ b/old_docs/API_docs_v75/types/phone.PhoneCall.md @@ -0,0 +1,26 @@ +--- +title: phone.PhoneCall +description: constructors and methods of type phone.PhoneCall +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: phone.PhoneCall +[Back to types index](index.md) + + + +### Possible values (constructors): + +[phone.phoneCall](../constructors/phone.phoneCall.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->phone->requestCall](../methods/phone.requestCall.md) + +[$MadelineProto->phone->acceptCall](../methods/phone.acceptCall.md) + +[$MadelineProto->phone->confirmCall](../methods/phone.confirmCall.md) + + + diff --git a/old_docs/API_docs_v75/types/phone_PhoneCall.md b/old_docs/API_docs_v75/types/phone_PhoneCall.md deleted file mode 100644 index 0a49d482..00000000 --- a/old_docs/API_docs_v75/types/phone_PhoneCall.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: phone_PhoneCall -description: constructors and methods of type phone_PhoneCall -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: phone\_PhoneCall -[Back to types index](index.md) - - - -### Possible values (constructors): - -[phone\_phoneCall](../constructors/phone_phoneCall.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->phone->requestCall](../methods/phone_requestCall.md) - -[$MadelineProto->phone->acceptCall](../methods/phone_acceptCall.md) - -[$MadelineProto->phone->confirmCall](../methods/phone_confirmCall.md) - - - diff --git a/old_docs/API_docs_v75/types/photos.Photo.md b/old_docs/API_docs_v75/types/photos.Photo.md new file mode 100644 index 00000000..d60f203c --- /dev/null +++ b/old_docs/API_docs_v75/types/photos.Photo.md @@ -0,0 +1,22 @@ +--- +title: photos.Photo +description: constructors and methods of type photos.Photo +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: photos.Photo +[Back to types index](index.md) + + + +### Possible values (constructors): + +[photos.photo](../constructors/photos.photo.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->photos->uploadProfilePhoto](../methods/photos.uploadProfilePhoto.md) + + + diff --git a/old_docs/API_docs_v75/types/photos.Photos.md b/old_docs/API_docs_v75/types/photos.Photos.md new file mode 100644 index 00000000..fff0e296 --- /dev/null +++ b/old_docs/API_docs_v75/types/photos.Photos.md @@ -0,0 +1,24 @@ +--- +title: photos.Photos +description: constructors and methods of type photos.Photos +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: photos.Photos +[Back to types index](index.md) + + + +### Possible values (constructors): + +[photos.photos](../constructors/photos.photos.md) + +[photos.photosSlice](../constructors/photos.photosSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->photos->getUserPhotos](../methods/photos.getUserPhotos.md) + + + diff --git a/old_docs/API_docs_v75/types/photos_Photo.md b/old_docs/API_docs_v75/types/photos_Photo.md deleted file mode 100644 index d11bbdef..00000000 --- a/old_docs/API_docs_v75/types/photos_Photo.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: photos_Photo -description: constructors and methods of type photos_Photo -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: photos\_Photo -[Back to types index](index.md) - - - -### Possible values (constructors): - -[photos\_photo](../constructors/photos_photo.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->photos->uploadProfilePhoto](../methods/photos_uploadProfilePhoto.md) - - - diff --git a/old_docs/API_docs_v75/types/photos_Photos.md b/old_docs/API_docs_v75/types/photos_Photos.md deleted file mode 100644 index 9875ad70..00000000 --- a/old_docs/API_docs_v75/types/photos_Photos.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: photos_Photos -description: constructors and methods of type photos_Photos -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: photos\_Photos -[Back to types index](index.md) - - - -### Possible values (constructors): - -[photos\_photos](../constructors/photos_photos.md) - -[photos\_photosSlice](../constructors/photos_photosSlice.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->photos->getUserPhotos](../methods/photos_getUserPhotos.md) - - - diff --git a/old_docs/API_docs_v75/types/storage.FileType.md b/old_docs/API_docs_v75/types/storage.FileType.md new file mode 100644 index 00000000..32f1bb72 --- /dev/null +++ b/old_docs/API_docs_v75/types/storage.FileType.md @@ -0,0 +1,38 @@ +--- +title: storage.FileType +description: constructors and methods of type storage.FileType +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: storage.FileType +[Back to types index](index.md) + + + +### Possible values (constructors): + +[storage.fileUnknown](../constructors/storage.fileUnknown.md) + +[storage.filePartial](../constructors/storage.filePartial.md) + +[storage.fileJpeg](../constructors/storage.fileJpeg.md) + +[storage.fileGif](../constructors/storage.fileGif.md) + +[storage.filePng](../constructors/storage.filePng.md) + +[storage.filePdf](../constructors/storage.filePdf.md) + +[storage.fileMp3](../constructors/storage.fileMp3.md) + +[storage.fileMov](../constructors/storage.fileMov.md) + +[storage.fileMp4](../constructors/storage.fileMp4.md) + +[storage.fileWebp](../constructors/storage.fileWebp.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v75/types/storage_FileType.md b/old_docs/API_docs_v75/types/storage_FileType.md deleted file mode 100644 index 22118805..00000000 --- a/old_docs/API_docs_v75/types/storage_FileType.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: storage_FileType -description: constructors and methods of type storage_FileType -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: storage\_FileType -[Back to types index](index.md) - - - -### Possible values (constructors): - -[storage\_fileUnknown](../constructors/storage_fileUnknown.md) - -[storage\_filePartial](../constructors/storage_filePartial.md) - -[storage\_fileJpeg](../constructors/storage_fileJpeg.md) - -[storage\_fileGif](../constructors/storage_fileGif.md) - -[storage\_filePng](../constructors/storage_filePng.md) - -[storage\_filePdf](../constructors/storage_filePdf.md) - -[storage\_fileMp3](../constructors/storage_fileMp3.md) - -[storage\_fileMov](../constructors/storage_fileMov.md) - -[storage\_fileMp4](../constructors/storage_fileMp4.md) - -[storage\_fileWebp](../constructors/storage_fileWebp.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v75/types/updates.ChannelDifference.md b/old_docs/API_docs_v75/types/updates.ChannelDifference.md new file mode 100644 index 00000000..ac889a1e --- /dev/null +++ b/old_docs/API_docs_v75/types/updates.ChannelDifference.md @@ -0,0 +1,26 @@ +--- +title: updates.ChannelDifference +description: constructors and methods of type updates.ChannelDifference +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: updates.ChannelDifference +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updates.channelDifferenceEmpty](../constructors/updates.channelDifferenceEmpty.md) + +[updates.channelDifferenceTooLong](../constructors/updates.channelDifferenceTooLong.md) + +[updates.channelDifference](../constructors/updates.channelDifference.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->updates->getChannelDifference](../methods/updates.getChannelDifference.md) + + + diff --git a/old_docs/API_docs_v75/types/updates.Difference.md b/old_docs/API_docs_v75/types/updates.Difference.md new file mode 100644 index 00000000..0c1a1b6e --- /dev/null +++ b/old_docs/API_docs_v75/types/updates.Difference.md @@ -0,0 +1,28 @@ +--- +title: updates.Difference +description: constructors and methods of type updates.Difference +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: updates.Difference +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updates.differenceEmpty](../constructors/updates.differenceEmpty.md) + +[updates.difference](../constructors/updates.difference.md) + +[updates.differenceSlice](../constructors/updates.differenceSlice.md) + +[updates.differenceTooLong](../constructors/updates.differenceTooLong.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->updates->getDifference](../methods/updates.getDifference.md) + + + diff --git a/old_docs/API_docs_v75/types/updates.State.md b/old_docs/API_docs_v75/types/updates.State.md new file mode 100644 index 00000000..49bbb7fd --- /dev/null +++ b/old_docs/API_docs_v75/types/updates.State.md @@ -0,0 +1,22 @@ +--- +title: updates.State +description: constructors and methods of type updates.State +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: updates.State +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updates.state](../constructors/updates.state.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->updates->getState](../methods/updates.getState.md) + + + diff --git a/old_docs/API_docs_v75/types/updates_ChannelDifference.md b/old_docs/API_docs_v75/types/updates_ChannelDifference.md deleted file mode 100644 index dc988692..00000000 --- a/old_docs/API_docs_v75/types/updates_ChannelDifference.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: updates_ChannelDifference -description: constructors and methods of type updates_ChannelDifference -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: updates\_ChannelDifference -[Back to types index](index.md) - - - -### Possible values (constructors): - -[updates\_channelDifferenceEmpty](../constructors/updates_channelDifferenceEmpty.md) - -[updates\_channelDifferenceTooLong](../constructors/updates_channelDifferenceTooLong.md) - -[updates\_channelDifference](../constructors/updates_channelDifference.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->updates->getChannelDifference](../methods/updates_getChannelDifference.md) - - - diff --git a/old_docs/API_docs_v75/types/updates_Difference.md b/old_docs/API_docs_v75/types/updates_Difference.md deleted file mode 100644 index 50bb098e..00000000 --- a/old_docs/API_docs_v75/types/updates_Difference.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: updates_Difference -description: constructors and methods of type updates_Difference -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: updates\_Difference -[Back to types index](index.md) - - - -### Possible values (constructors): - -[updates\_differenceEmpty](../constructors/updates_differenceEmpty.md) - -[updates\_difference](../constructors/updates_difference.md) - -[updates\_differenceSlice](../constructors/updates_differenceSlice.md) - -[updates\_differenceTooLong](../constructors/updates_differenceTooLong.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->updates->getDifference](../methods/updates_getDifference.md) - - - diff --git a/old_docs/API_docs_v75/types/updates_State.md b/old_docs/API_docs_v75/types/updates_State.md deleted file mode 100644 index 7a441145..00000000 --- a/old_docs/API_docs_v75/types/updates_State.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: updates_State -description: constructors and methods of type updates_State -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: updates\_State -[Back to types index](index.md) - - - -### Possible values (constructors): - -[updates\_state](../constructors/updates_state.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->updates->getState](../methods/updates_getState.md) - - - diff --git a/old_docs/API_docs_v75/types/upload.CdnFile.md b/old_docs/API_docs_v75/types/upload.CdnFile.md new file mode 100644 index 00000000..396c4bf4 --- /dev/null +++ b/old_docs/API_docs_v75/types/upload.CdnFile.md @@ -0,0 +1,24 @@ +--- +title: upload.CdnFile +description: constructors and methods of type upload.CdnFile +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: upload.CdnFile +[Back to types index](index.md) + + + +### Possible values (constructors): + +[upload.cdnFileReuploadNeeded](../constructors/upload.cdnFileReuploadNeeded.md) + +[upload.cdnFile](../constructors/upload.cdnFile.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->upload->getCdnFile](../methods/upload.getCdnFile.md) + + + diff --git a/old_docs/API_docs_v75/types/upload.File.md b/old_docs/API_docs_v75/types/upload.File.md new file mode 100644 index 00000000..6963341b --- /dev/null +++ b/old_docs/API_docs_v75/types/upload.File.md @@ -0,0 +1,24 @@ +--- +title: upload.File +description: constructors and methods of type upload.File +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: upload.File +[Back to types index](index.md) + + + +### Possible values (constructors): + +[upload.file](../constructors/upload.file.md) + +[upload.fileCdnRedirect](../constructors/upload.fileCdnRedirect.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->upload->getFile](../methods/upload.getFile.md) + + + diff --git a/old_docs/API_docs_v75/types/upload.WebFile.md b/old_docs/API_docs_v75/types/upload.WebFile.md new file mode 100644 index 00000000..e834457b --- /dev/null +++ b/old_docs/API_docs_v75/types/upload.WebFile.md @@ -0,0 +1,22 @@ +--- +title: upload.WebFile +description: constructors and methods of type upload.WebFile +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: upload.WebFile +[Back to types index](index.md) + + + +### Possible values (constructors): + +[upload.webFile](../constructors/upload.webFile.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->upload->getWebFile](../methods/upload.getWebFile.md) + + + diff --git a/old_docs/API_docs_v75/types/upload_CdnFile.md b/old_docs/API_docs_v75/types/upload_CdnFile.md deleted file mode 100644 index 51ae2e68..00000000 --- a/old_docs/API_docs_v75/types/upload_CdnFile.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: upload_CdnFile -description: constructors and methods of type upload_CdnFile -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: upload\_CdnFile -[Back to types index](index.md) - - - -### Possible values (constructors): - -[upload\_cdnFileReuploadNeeded](../constructors/upload_cdnFileReuploadNeeded.md) - -[upload\_cdnFile](../constructors/upload_cdnFile.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->upload->getCdnFile](../methods/upload_getCdnFile.md) - - - diff --git a/old_docs/API_docs_v75/types/upload_File.md b/old_docs/API_docs_v75/types/upload_File.md deleted file mode 100644 index 00e0f9cb..00000000 --- a/old_docs/API_docs_v75/types/upload_File.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: upload_File -description: constructors and methods of type upload_File -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: upload\_File -[Back to types index](index.md) - - - -### Possible values (constructors): - -[upload\_file](../constructors/upload_file.md) - -[upload\_fileCdnRedirect](../constructors/upload_fileCdnRedirect.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->upload->getFile](../methods/upload_getFile.md) - - - diff --git a/old_docs/API_docs_v75/types/upload_WebFile.md b/old_docs/API_docs_v75/types/upload_WebFile.md deleted file mode 100644 index 9a86264f..00000000 --- a/old_docs/API_docs_v75/types/upload_WebFile.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: upload_WebFile -description: constructors and methods of type upload_WebFile -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: upload\_WebFile -[Back to types index](index.md) - - - -### Possible values (constructors): - -[upload\_webFile](../constructors/upload_webFile.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->upload->getWebFile](../methods/upload_getWebFile.md) - - - diff --git a/old_docs/API_docs_v81/constructors/README.md b/old_docs/API_docs_v81/constructors/README.md index 42d08057..37066d12 100644 --- a/old_docs/API_docs_v81/constructors/README.md +++ b/old_docs/API_docs_v81/constructors/README.md @@ -9,56 +9,77 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ***

[$accessPointRule](../constructors/accessPointRule.md) = \['phone_prefix_rules' => [string](../types/string.md), 'dc_id' => [int](../types/int.md), 'ips' => \[[IpPort](../types/IpPort.md)\], \]; +*** +

[$account.authorizationForm](../constructors/account.authorizationForm.md) = \['selfie_required' => [Bool](../types/Bool.md), 'required_types' => \[[SecureValueType](../types/SecureValueType.md)\], 'values' => \[[SecureValue](../types/SecureValue.md)\], 'errors' => \[[SecureValueError](../types/SecureValueError.md)\], 'users' => \[[User](../types/User.md)\], 'privacy_policy_url' => [string](../types/string.md), \]; + +*** +

[$account.authorizations](../constructors/account.authorizations.md) = \['authorizations' => \[[Authorization](../types/Authorization.md)\], \]; + +*** +

[$account.noPassword](../constructors/account.noPassword.md) = \['new_salt' => [bytes](../types/bytes.md), 'new_secure_salt' => [bytes](../types/bytes.md), 'secure_random' => [bytes](../types/bytes.md), 'email_unconfirmed_pattern' => [string](../types/string.md), \]; + +*** +

[$account.password](../constructors/account.password.md) = \['has_recovery' => [Bool](../types/Bool.md), 'has_secure_values' => [Bool](../types/Bool.md), 'current_salt' => [bytes](../types/bytes.md), 'new_salt' => [bytes](../types/bytes.md), 'new_secure_salt' => [bytes](../types/bytes.md), 'secure_random' => [bytes](../types/bytes.md), 'hint' => [string](../types/string.md), 'email_unconfirmed_pattern' => [string](../types/string.md), \]; + +*** +

[$account.passwordInputSettings](../constructors/account.passwordInputSettings.md) = \['new_salt' => [bytes](../types/bytes.md), 'new_password_hash' => [bytes](../types/bytes.md), 'hint' => [string](../types/string.md), 'email' => [string](../types/string.md), 'new_secure_salt' => [bytes](../types/bytes.md), 'new_secure_secret' => [bytes](../types/bytes.md), 'new_secure_secret_id' => [long](../types/long.md), \]; + +*** +

[$account.passwordSettings](../constructors/account.passwordSettings.md) = \['email' => [string](../types/string.md), 'secure_salt' => [bytes](../types/bytes.md), 'secure_secret' => [bytes](../types/bytes.md), 'secure_secret_id' => [long](../types/long.md), \]; + +*** +

[$account.privacyRules](../constructors/account.privacyRules.md) = \['rules' => \[[PrivacyRule](../types/PrivacyRule.md)\], 'users' => \[[User](../types/User.md)\], \]; + +*** +

[$account.sentEmailCode](../constructors/account.sentEmailCode.md) = \['email_pattern' => [string](../types/string.md), 'length' => [int](../types/int.md), \]; + +*** +

[$account.takeout](../constructors/account.takeout.md) = \['id' => [long](../types/long.md), \]; + +*** +

[$account.tmpPassword](../constructors/account.tmpPassword.md) = \['tmp_password' => [bytes](../types/bytes.md), 'valid_until' => [int](../types/int.md), \]; + +*** +

[$account.webAuthorizations](../constructors/account.webAuthorizations.md) = \['authorizations' => \[[WebAuthorization](../types/WebAuthorization.md)\], 'users' => \[[User](../types/User.md)\], \]; + ***

[$accountDaysTTL](../constructors/accountDaysTTL.md) = \['days' => [int](../types/int.md), \]; *** -

[$account\_authorizationForm](../constructors/account_authorizationForm.md) = \['selfie_required' => [Bool](../types/Bool.md), 'required_types' => \[[SecureValueType](../types/SecureValueType.md)\], 'values' => \[[SecureValue](../types/SecureValue.md)\], 'errors' => \[[SecureValueError](../types/SecureValueError.md)\], 'users' => \[[User](../types/User.md)\], 'privacy_policy_url' => [string](../types/string.md), \]; - -[$account\_authorizations](../constructors/account_authorizations.md) = \['authorizations' => \[[Authorization](../types/Authorization.md)\], \]; - -[$account\_noPassword](../constructors/account_noPassword.md) = \['new_salt' => [bytes](../types/bytes.md), 'new_secure_salt' => [bytes](../types/bytes.md), 'secure_random' => [bytes](../types/bytes.md), 'email_unconfirmed_pattern' => [string](../types/string.md), \]; - -[$account\_password](../constructors/account_password.md) = \['has_recovery' => [Bool](../types/Bool.md), 'has_secure_values' => [Bool](../types/Bool.md), 'current_salt' => [bytes](../types/bytes.md), 'new_salt' => [bytes](../types/bytes.md), 'new_secure_salt' => [bytes](../types/bytes.md), 'secure_random' => [bytes](../types/bytes.md), 'hint' => [string](../types/string.md), 'email_unconfirmed_pattern' => [string](../types/string.md), \]; - -[$account\_passwordInputSettings](../constructors/account_passwordInputSettings.md) = \['new_salt' => [bytes](../types/bytes.md), 'new_password_hash' => [bytes](../types/bytes.md), 'hint' => [string](../types/string.md), 'email' => [string](../types/string.md), 'new_secure_salt' => [bytes](../types/bytes.md), 'new_secure_secret' => [bytes](../types/bytes.md), 'new_secure_secret_id' => [long](../types/long.md), \]; - -[$account\_passwordSettings](../constructors/account_passwordSettings.md) = \['email' => [string](../types/string.md), 'secure_salt' => [bytes](../types/bytes.md), 'secure_secret' => [bytes](../types/bytes.md), 'secure_secret_id' => [long](../types/long.md), \]; - -[$account\_privacyRules](../constructors/account_privacyRules.md) = \['rules' => \[[PrivacyRule](../types/PrivacyRule.md)\], 'users' => \[[User](../types/User.md)\], \]; - -[$account\_sentEmailCode](../constructors/account_sentEmailCode.md) = \['email_pattern' => [string](../types/string.md), 'length' => [int](../types/int.md), \]; - -[$account\_takeout](../constructors/account_takeout.md) = \['id' => [long](../types/long.md), \]; - -[$account\_tmpPassword](../constructors/account_tmpPassword.md) = \['tmp_password' => [bytes](../types/bytes.md), 'valid_until' => [int](../types/int.md), \]; - -[$account\_webAuthorizations](../constructors/account_webAuthorizations.md) = \['authorizations' => \[[WebAuthorization](../types/WebAuthorization.md)\], 'users' => \[[User](../types/User.md)\], \]; +

[$auth.authorization](../constructors/auth.authorization.md) = \['tmp_sessions' => [int](../types/int.md), 'user' => [User](../types/User.md), \]; *** -

[$auth\_authorization](../constructors/auth_authorization.md) = \['tmp_sessions' => [int](../types/int.md), 'user' => [User](../types/User.md), \]; +

[$auth.checkedPhone](../constructors/auth.checkedPhone.md) = \['phone_registered' => [Bool](../types/Bool.md), \]; -[$auth\_checkedPhone](../constructors/auth_checkedPhone.md) = \['phone_registered' => [Bool](../types/Bool.md), \]; +*** +

[$auth.codeTypeCall](../constructors/auth.codeTypeCall.md) = \[\]; -[$auth\_codeTypeCall](../constructors/auth_codeTypeCall.md) = \[\]; +*** +

[$auth.codeTypeFlashCall](../constructors/auth.codeTypeFlashCall.md) = \[\]; -[$auth\_codeTypeFlashCall](../constructors/auth_codeTypeFlashCall.md) = \[\]; +*** +

[$auth.codeTypeSms](../constructors/auth.codeTypeSms.md) = \[\]; -[$auth\_codeTypeSms](../constructors/auth_codeTypeSms.md) = \[\]; +*** +

[$auth.exportedAuthorization](../constructors/auth.exportedAuthorization.md) = \['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; -[$auth\_exportedAuthorization](../constructors/auth_exportedAuthorization.md) = \['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; +*** +

[$auth.passwordRecovery](../constructors/auth.passwordRecovery.md) = \['email_pattern' => [string](../types/string.md), \]; -[$auth\_passwordRecovery](../constructors/auth_passwordRecovery.md) = \['email_pattern' => [string](../types/string.md), \]; +*** +

[$auth.sentCode](../constructors/auth.sentCode.md) = \['phone_registered' => [Bool](../types/Bool.md), 'type' => [auth.SentCodeType](../types/auth.SentCodeType.md), 'phone_code_hash' => [string](../types/string.md), 'next_type' => [auth.CodeType](../types/auth.CodeType.md), 'timeout' => [int](../types/int.md), 'terms_of_service' => [help.TermsOfService](../types/help.TermsOfService.md), \]; -[$auth\_sentCode](../constructors/auth_sentCode.md) = \['phone_registered' => [Bool](../types/Bool.md), 'type' => [auth.SentCodeType](../types/auth.SentCodeType.md), 'phone_code_hash' => [string](../types/string.md), 'next_type' => [auth.CodeType](../types/auth.CodeType.md), 'timeout' => [int](../types/int.md), 'terms_of_service' => [help.TermsOfService](../types/help.TermsOfService.md), \]; +*** +

[$auth.sentCodeTypeApp](../constructors/auth.sentCodeTypeApp.md) = \['length' => [int](../types/int.md), \]; -[$auth\_sentCodeTypeApp](../constructors/auth_sentCodeTypeApp.md) = \['length' => [int](../types/int.md), \]; +*** +

[$auth.sentCodeTypeCall](../constructors/auth.sentCodeTypeCall.md) = \['length' => [int](../types/int.md), \]; -[$auth\_sentCodeTypeCall](../constructors/auth_sentCodeTypeCall.md) = \['length' => [int](../types/int.md), \]; +*** +

[$auth.sentCodeTypeFlashCall](../constructors/auth.sentCodeTypeFlashCall.md) = \['pattern' => [string](../types/string.md), \]; -[$auth\_sentCodeTypeFlashCall](../constructors/auth_sentCodeTypeFlashCall.md) = \['pattern' => [string](../types/string.md), \]; - -[$auth\_sentCodeTypeSms](../constructors/auth_sentCodeTypeSms.md) = \['length' => [int](../types/int.md), \]; +*** +

[$auth.sentCodeTypeSms](../constructors/auth.sentCodeTypeSms.md) = \['length' => [int](../types/int.md), \]; ***

[$authorization](../constructors/authorization.md) = \['hash' => [long](../types/long.md), 'device_model' => [string](../types/string.md), 'platform' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'api_id' => [int](../types/int.md), 'app_name' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'date_created' => [int](../types/int.md), 'date_active' => [int](../types/int.md), 'ip' => [string](../types/string.md), 'country' => [string](../types/string.md), 'region' => [string](../types/string.md), \]; @@ -211,13 +232,16 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$channelParticipantsSearch](../constructors/channelParticipantsSearch.md) = \['q' => [string](../types/string.md), \]; *** -

[$channels\_adminLogResults](../constructors/channels_adminLogResults.md) = \['events' => \[[ChannelAdminLogEvent](../types/ChannelAdminLogEvent.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +

[$channels.adminLogResults](../constructors/channels.adminLogResults.md) = \['events' => \[[ChannelAdminLogEvent](../types/ChannelAdminLogEvent.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$channels\_channelParticipant](../constructors/channels_channelParticipant.md) = \['participant' => [ChannelParticipant](../types/ChannelParticipant.md), 'users' => \[[User](../types/User.md)\], \]; +*** +

[$channels.channelParticipant](../constructors/channels.channelParticipant.md) = \['participant' => [ChannelParticipant](../types/ChannelParticipant.md), 'users' => \[[User](../types/User.md)\], \]; -[$channels\_channelParticipants](../constructors/channels_channelParticipants.md) = \['count' => [int](../types/int.md), 'participants' => \[[ChannelParticipant](../types/ChannelParticipant.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$channels.channelParticipants](../constructors/channels.channelParticipants.md) = \['count' => [int](../types/int.md), 'participants' => \[[ChannelParticipant](../types/ChannelParticipant.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$channels\_channelParticipantsNotModified](../constructors/channels_channelParticipantsNotModified.md) = \[\]; +*** +

[$channels.channelParticipantsNotModified](../constructors/channels.channelParticipantsNotModified.md) = \[\]; ***

[$chat](../constructors/chat.md) = \['creator' => [Bool](../types/Bool.md), 'kicked' => [Bool](../types/Bool.md), 'left' => [Bool](../types/Bool.md), 'admins_enabled' => [Bool](../types/Bool.md), 'admin' => [Bool](../types/Bool.md), 'deactivated' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'title' => [string](../types/string.md), 'photo' => [ChatPhoto](../types/ChatPhoto.md), 'participants_count' => [int](../types/int.md), 'date' => [int](../types/int.md), 'version' => [int](../types/int.md), 'migrated_to' => [InputChannel](../types/InputChannel.md), \]; @@ -289,25 +313,34 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$contactStatus](../constructors/contactStatus.md) = \['user_id' => [int](../types/int.md), 'status' => [UserStatus](../types/UserStatus.md), \]; *** -

[$contacts\_blocked](../constructors/contacts_blocked.md) = \['blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; +

[$contacts.blocked](../constructors/contacts.blocked.md) = \['blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_blockedSlice](../constructors/contacts_blockedSlice.md) = \['count' => [int](../types/int.md), 'blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.blockedSlice](../constructors/contacts.blockedSlice.md) = \['count' => [int](../types/int.md), 'blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_contacts](../constructors/contacts_contacts.md) = \['contacts' => \[[Contact](../types/Contact.md)\], 'saved_count' => [int](../types/int.md), 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.contacts](../constructors/contacts.contacts.md) = \['contacts' => \[[Contact](../types/Contact.md)\], 'saved_count' => [int](../types/int.md), 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_contactsNotModified](../constructors/contacts_contactsNotModified.md) = \[\]; +*** +

[$contacts.contactsNotModified](../constructors/contacts.contactsNotModified.md) = \[\]; -[$contacts\_found](../constructors/contacts_found.md) = \['my_results' => \[[Peer](../types/Peer.md)\], 'results' => \[[Peer](../types/Peer.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.found](../constructors/contacts.found.md) = \['my_results' => \[[Peer](../types/Peer.md)\], 'results' => \[[Peer](../types/Peer.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_importedContacts](../constructors/contacts_importedContacts.md) = \['imported' => \[[ImportedContact](../types/ImportedContact.md)\], 'popular_invites' => \[[PopularContact](../types/PopularContact.md)\], 'retry_contacts' => \[[long](../types/long.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.importedContacts](../constructors/contacts.importedContacts.md) = \['imported' => \[[ImportedContact](../types/ImportedContact.md)\], 'popular_invites' => \[[PopularContact](../types/PopularContact.md)\], 'retry_contacts' => \[[long](../types/long.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_link](../constructors/contacts_link.md) = \['my_link' => [ContactLink](../types/ContactLink.md), 'foreign_link' => [ContactLink](../types/ContactLink.md), 'user' => [User](../types/User.md), \]; +*** +

[$contacts.link](../constructors/contacts.link.md) = \['my_link' => [ContactLink](../types/ContactLink.md), 'foreign_link' => [ContactLink](../types/ContactLink.md), 'user' => [User](../types/User.md), \]; -[$contacts\_resolvedPeer](../constructors/contacts_resolvedPeer.md) = \['peer' => [Peer](../types/Peer.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.resolvedPeer](../constructors/contacts.resolvedPeer.md) = \['peer' => [Peer](../types/Peer.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_topPeers](../constructors/contacts_topPeers.md) = \['categories' => \[[TopPeerCategoryPeers](../types/TopPeerCategoryPeers.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.topPeers](../constructors/contacts.topPeers.md) = \['categories' => \[[TopPeerCategoryPeers](../types/TopPeerCategoryPeers.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_topPeersNotModified](../constructors/contacts_topPeersNotModified.md) = \[\]; +*** +

[$contacts.topPeersNotModified](../constructors/contacts.topPeersNotModified.md) = \[\]; ***

[$dataJSON](../constructors/dataJSON.md) = \['data' => [string](../types/string.md), \]; @@ -412,31 +445,43 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$geoPointEmpty](../constructors/geoPointEmpty.md) = \[\]; *** -

[$help\_appUpdate](../constructors/help_appUpdate.md) = \['id' => [int](../types/int.md), 'critical' => [Bool](../types/Bool.md), 'url' => [string](../types/string.md), 'text' => [string](../types/string.md), \]; +

[$help.appUpdate](../constructors/help.appUpdate.md) = \['id' => [int](../types/int.md), 'critical' => [Bool](../types/Bool.md), 'url' => [string](../types/string.md), 'text' => [string](../types/string.md), \]; -[$help\_configSimple](../constructors/help_configSimple.md) = \['date' => [int](../types/int.md), 'expires' => [int](../types/int.md), 'rules' => \[[AccessPointRule](../types/AccessPointRule.md)\], \]; +*** +

[$help.configSimple](../constructors/help.configSimple.md) = \['date' => [int](../types/int.md), 'expires' => [int](../types/int.md), 'rules' => \[[AccessPointRule](../types/AccessPointRule.md)\], \]; -[$help\_deepLinkInfo](../constructors/help_deepLinkInfo.md) = \['update_app' => [Bool](../types/Bool.md), 'message' => [string](../types/string.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], \]; +*** +

[$help.deepLinkInfo](../constructors/help.deepLinkInfo.md) = \['update_app' => [Bool](../types/Bool.md), 'message' => [string](../types/string.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], \]; -[$help\_deepLinkInfoEmpty](../constructors/help_deepLinkInfoEmpty.md) = \[\]; +*** +

[$help.deepLinkInfoEmpty](../constructors/help.deepLinkInfoEmpty.md) = \[\]; -[$help\_inviteText](../constructors/help_inviteText.md) = \['message' => [string](../types/string.md), \]; +*** +

[$help.inviteText](../constructors/help.inviteText.md) = \['message' => [string](../types/string.md), \]; -[$help\_noAppUpdate](../constructors/help_noAppUpdate.md) = \[\]; +*** +

[$help.noAppUpdate](../constructors/help.noAppUpdate.md) = \[\]; -[$help\_proxyDataEmpty](../constructors/help_proxyDataEmpty.md) = \['expires' => [int](../types/int.md), \]; +*** +

[$help.proxyDataEmpty](../constructors/help.proxyDataEmpty.md) = \['expires' => [int](../types/int.md), \]; -[$help\_proxyDataPromo](../constructors/help_proxyDataPromo.md) = \['expires' => [int](../types/int.md), 'peer' => [Peer](../types/Peer.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$help.proxyDataPromo](../constructors/help.proxyDataPromo.md) = \['expires' => [int](../types/int.md), 'peer' => [Peer](../types/Peer.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$help\_recentMeUrls](../constructors/help_recentMeUrls.md) = \['urls' => \[[RecentMeUrl](../types/RecentMeUrl.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$help.recentMeUrls](../constructors/help.recentMeUrls.md) = \['urls' => \[[RecentMeUrl](../types/RecentMeUrl.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$help\_support](../constructors/help_support.md) = \['phone_number' => [string](../types/string.md), 'user' => [User](../types/User.md), \]; +*** +

[$help.support](../constructors/help.support.md) = \['phone_number' => [string](../types/string.md), 'user' => [User](../types/User.md), \]; -[$help\_termsOfService](../constructors/help_termsOfService.md) = \['popup' => [Bool](../types/Bool.md), 'id' => [DataJSON](../types/DataJSON.md), 'text' => [string](../types/string.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], 'min_age_confirm' => [int](../types/int.md), \]; +*** +

[$help.termsOfService](../constructors/help.termsOfService.md) = \['popup' => [Bool](../types/Bool.md), 'id' => [DataJSON](../types/DataJSON.md), 'text' => [string](../types/string.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], 'min_age_confirm' => [int](../types/int.md), \]; -[$help\_termsOfServiceUpdate](../constructors/help_termsOfServiceUpdate.md) = \['expires' => [int](../types/int.md), 'terms_of_service' => [help.TermsOfService](../types/help.TermsOfService.md), \]; +*** +

[$help.termsOfServiceUpdate](../constructors/help.termsOfServiceUpdate.md) = \['expires' => [int](../types/int.md), 'terms_of_service' => [help.TermsOfService](../types/help.TermsOfService.md), \]; -[$help\_termsOfServiceUpdateEmpty](../constructors/help_termsOfServiceUpdateEmpty.md) = \['expires' => [int](../types/int.md), \]; +*** +

[$help.termsOfServiceUpdateEmpty](../constructors/help.termsOfServiceUpdateEmpty.md) = \['expires' => [int](../types/int.md), \]; ***

[$highScore](../constructors/highScore.md) = \['pos' => [int](../types/int.md), 'user_id' => [int](../types/int.md), 'score' => [int](../types/int.md), \]; @@ -1009,83 +1054,121 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$messageService](../constructors/messageService.md) = \['out' => [Bool](../types/Bool.md), 'mentioned' => [Bool](../types/Bool.md), 'media_unread' => [Bool](../types/Bool.md), 'silent' => [Bool](../types/Bool.md), 'post' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'from_id' => [int](../types/int.md), 'to_id' => [Peer](../types/Peer.md), 'reply_to_msg_id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'action' => [MessageAction](../types/MessageAction.md), \]; *** -

[$messages\_affectedHistory](../constructors/messages_affectedHistory.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), 'offset' => [int](../types/int.md), \]; +

[$messages.affectedHistory](../constructors/messages.affectedHistory.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), 'offset' => [int](../types/int.md), \]; -[$messages\_affectedMessages](../constructors/messages_affectedMessages.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; +*** +

[$messages.affectedMessages](../constructors/messages.affectedMessages.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; -[$messages\_allStickers](../constructors/messages_allStickers.md) = \['hash' => [int](../types/int.md), 'sets' => \[[StickerSet](../types/StickerSet.md)\], \]; +*** +

[$messages.allStickers](../constructors/messages.allStickers.md) = \['hash' => [int](../types/int.md), 'sets' => \[[StickerSet](../types/StickerSet.md)\], \]; -[$messages\_allStickersNotModified](../constructors/messages_allStickersNotModified.md) = \[\]; +*** +

[$messages.allStickersNotModified](../constructors/messages.allStickersNotModified.md) = \[\]; -[$messages\_archivedStickers](../constructors/messages_archivedStickers.md) = \['count' => [int](../types/int.md), 'sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], \]; +*** +

[$messages.archivedStickers](../constructors/messages.archivedStickers.md) = \['count' => [int](../types/int.md), 'sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], \]; -[$messages\_botCallbackAnswer](../constructors/messages_botCallbackAnswer.md) = \['alert' => [Bool](../types/Bool.md), 'has_url' => [Bool](../types/Bool.md), 'native_ui' => [Bool](../types/Bool.md), 'message' => [string](../types/string.md), 'url' => [string](../types/string.md), 'cache_time' => [int](../types/int.md), \]; +*** +

[$messages.botCallbackAnswer](../constructors/messages.botCallbackAnswer.md) = \['alert' => [Bool](../types/Bool.md), 'has_url' => [Bool](../types/Bool.md), 'native_ui' => [Bool](../types/Bool.md), 'message' => [string](../types/string.md), 'url' => [string](../types/string.md), 'cache_time' => [int](../types/int.md), \]; -[$messages\_botResults](../constructors/messages_botResults.md) = \['gallery' => [Bool](../types/Bool.md), 'query_id' => [long](../types/long.md), 'next_offset' => [string](../types/string.md), 'switch_pm' => [InlineBotSwitchPM](../types/InlineBotSwitchPM.md), 'results' => \[[BotInlineResult](../types/BotInlineResult.md)\], 'cache_time' => [int](../types/int.md), 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.botResults](../constructors/messages.botResults.md) = \['gallery' => [Bool](../types/Bool.md), 'query_id' => [long](../types/long.md), 'next_offset' => [string](../types/string.md), 'switch_pm' => [InlineBotSwitchPM](../types/InlineBotSwitchPM.md), 'results' => \[[BotInlineResult](../types/BotInlineResult.md)\], 'cache_time' => [int](../types/int.md), 'users' => \[[User](../types/User.md)\], \]; -[$messages\_channelMessages](../constructors/messages_channelMessages.md) = \['pts' => [int](../types/int.md), 'count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.channelMessages](../constructors/messages.channelMessages.md) = \['pts' => [int](../types/int.md), 'count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_chatFull](../constructors/messages_chatFull.md) = \['full_chat' => [ChatFull](../types/ChatFull.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.chatFull](../constructors/messages.chatFull.md) = \['full_chat' => [ChatFull](../types/ChatFull.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_chats](../constructors/messages_chats.md) = \['chats' => \[[Chat](../types/Chat.md)\], \]; +*** +

[$messages.chats](../constructors/messages.chats.md) = \['chats' => \[[Chat](../types/Chat.md)\], \]; -[$messages\_chatsSlice](../constructors/messages_chatsSlice.md) = \['count' => [int](../types/int.md), 'chats' => \[[Chat](../types/Chat.md)\], \]; +*** +

[$messages.chatsSlice](../constructors/messages.chatsSlice.md) = \['count' => [int](../types/int.md), 'chats' => \[[Chat](../types/Chat.md)\], \]; -[$messages\_dhConfig](../constructors/messages_dhConfig.md) = \['g' => [int](../types/int.md), 'p' => [bytes](../types/bytes.md), 'version' => [int](../types/int.md), 'random' => [bytes](../types/bytes.md), \]; +*** +

[$messages.dhConfig](../constructors/messages.dhConfig.md) = \['g' => [int](../types/int.md), 'p' => [bytes](../types/bytes.md), 'version' => [int](../types/int.md), 'random' => [bytes](../types/bytes.md), \]; -[$messages\_dhConfigNotModified](../constructors/messages_dhConfigNotModified.md) = \['random' => [bytes](../types/bytes.md), \]; +*** +

[$messages.dhConfigNotModified](../constructors/messages.dhConfigNotModified.md) = \['random' => [bytes](../types/bytes.md), \]; -[$messages\_dialogs](../constructors/messages_dialogs.md) = \['dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.dialogs](../constructors/messages.dialogs.md) = \['dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_dialogsSlice](../constructors/messages_dialogsSlice.md) = \['count' => [int](../types/int.md), 'dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.dialogsSlice](../constructors/messages.dialogsSlice.md) = \['count' => [int](../types/int.md), 'dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_favedStickers](../constructors/messages_favedStickers.md) = \['hash' => [int](../types/int.md), 'packs' => \[[StickerPack](../types/StickerPack.md)\], 'stickers' => \[[Document](../types/Document.md)\], \]; +*** +

[$messages.favedStickers](../constructors/messages.favedStickers.md) = \['hash' => [int](../types/int.md), 'packs' => \[[StickerPack](../types/StickerPack.md)\], 'stickers' => \[[Document](../types/Document.md)\], \]; -[$messages\_favedStickersNotModified](../constructors/messages_favedStickersNotModified.md) = \[\]; +*** +

[$messages.favedStickersNotModified](../constructors/messages.favedStickersNotModified.md) = \[\]; -[$messages\_featuredStickers](../constructors/messages_featuredStickers.md) = \['hash' => [int](../types/int.md), 'sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], 'unread' => \[[long](../types/long.md)\], \]; +*** +

[$messages.featuredStickers](../constructors/messages.featuredStickers.md) = \['hash' => [int](../types/int.md), 'sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], 'unread' => \[[long](../types/long.md)\], \]; -[$messages\_featuredStickersNotModified](../constructors/messages_featuredStickersNotModified.md) = \[\]; +*** +

[$messages.featuredStickersNotModified](../constructors/messages.featuredStickersNotModified.md) = \[\]; -[$messages\_foundGifs](../constructors/messages_foundGifs.md) = \['next_offset' => [int](../types/int.md), 'results' => \[[FoundGif](../types/FoundGif.md)\], \]; +*** +

[$messages.foundGifs](../constructors/messages.foundGifs.md) = \['next_offset' => [int](../types/int.md), 'results' => \[[FoundGif](../types/FoundGif.md)\], \]; -[$messages\_foundStickerSets](../constructors/messages_foundStickerSets.md) = \['hash' => [int](../types/int.md), 'sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], \]; +*** +

[$messages.foundStickerSets](../constructors/messages.foundStickerSets.md) = \['hash' => [int](../types/int.md), 'sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], \]; -[$messages\_foundStickerSetsNotModified](../constructors/messages_foundStickerSetsNotModified.md) = \[\]; +*** +

[$messages.foundStickerSetsNotModified](../constructors/messages.foundStickerSetsNotModified.md) = \[\]; -[$messages\_highScores](../constructors/messages_highScores.md) = \['scores' => \[[HighScore](../types/HighScore.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.highScores](../constructors/messages.highScores.md) = \['scores' => \[[HighScore](../types/HighScore.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_messageEditData](../constructors/messages_messageEditData.md) = \['caption' => [Bool](../types/Bool.md), \]; +*** +

[$messages.messageEditData](../constructors/messages.messageEditData.md) = \['caption' => [Bool](../types/Bool.md), \]; -[$messages\_messages](../constructors/messages_messages.md) = \['messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.messages](../constructors/messages.messages.md) = \['messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_messagesNotModified](../constructors/messages_messagesNotModified.md) = \['count' => [int](../types/int.md), \]; +*** +

[$messages.messagesNotModified](../constructors/messages.messagesNotModified.md) = \['count' => [int](../types/int.md), \]; -[$messages\_messagesSlice](../constructors/messages_messagesSlice.md) = \['count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.messagesSlice](../constructors/messages.messagesSlice.md) = \['count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_peerDialogs](../constructors/messages_peerDialogs.md) = \['dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'state' => [updates.State](../types/updates.State.md), \]; +*** +

[$messages.peerDialogs](../constructors/messages.peerDialogs.md) = \['dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'state' => [updates.State](../types/updates.State.md), \]; -[$messages\_recentStickers](../constructors/messages_recentStickers.md) = \['hash' => [int](../types/int.md), 'packs' => \[[StickerPack](../types/StickerPack.md)\], 'stickers' => \[[Document](../types/Document.md)\], 'dates' => \[[int](../types/int.md)\], \]; +*** +

[$messages.recentStickers](../constructors/messages.recentStickers.md) = \['hash' => [int](../types/int.md), 'packs' => \[[StickerPack](../types/StickerPack.md)\], 'stickers' => \[[Document](../types/Document.md)\], 'dates' => \[[int](../types/int.md)\], \]; -[$messages\_recentStickersNotModified](../constructors/messages_recentStickersNotModified.md) = \[\]; +*** +

[$messages.recentStickersNotModified](../constructors/messages.recentStickersNotModified.md) = \[\]; -[$messages\_savedGifs](../constructors/messages_savedGifs.md) = \['hash' => [int](../types/int.md), 'gifs' => \[[Document](../types/Document.md)\], \]; +*** +

[$messages.savedGifs](../constructors/messages.savedGifs.md) = \['hash' => [int](../types/int.md), 'gifs' => \[[Document](../types/Document.md)\], \]; -[$messages\_savedGifsNotModified](../constructors/messages_savedGifsNotModified.md) = \[\]; +*** +

[$messages.savedGifsNotModified](../constructors/messages.savedGifsNotModified.md) = \[\]; -[$messages\_sentEncryptedFile](../constructors/messages_sentEncryptedFile.md) = \['date' => [int](../types/int.md), 'file' => [EncryptedFile](../types/EncryptedFile.md), \]; +*** +

[$messages.sentEncryptedFile](../constructors/messages.sentEncryptedFile.md) = \['date' => [int](../types/int.md), 'file' => [EncryptedFile](../types/EncryptedFile.md), \]; -[$messages\_sentEncryptedMessage](../constructors/messages_sentEncryptedMessage.md) = \['date' => [int](../types/int.md), \]; +*** +

[$messages.sentEncryptedMessage](../constructors/messages.sentEncryptedMessage.md) = \['date' => [int](../types/int.md), \]; -[$messages\_stickerSet](../constructors/messages_stickerSet.md) = \['set' => [StickerSet](../types/StickerSet.md), 'packs' => \[[StickerPack](../types/StickerPack.md)\], 'documents' => \[[Document](../types/Document.md)\], \]; +*** +

[$messages.stickerSet](../constructors/messages.stickerSet.md) = \['set' => [StickerSet](../types/StickerSet.md), 'packs' => \[[StickerPack](../types/StickerPack.md)\], 'documents' => \[[Document](../types/Document.md)\], \]; -[$messages\_stickerSetInstallResultArchive](../constructors/messages_stickerSetInstallResultArchive.md) = \['sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], \]; +*** +

[$messages.stickerSetInstallResultArchive](../constructors/messages.stickerSetInstallResultArchive.md) = \['sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], \]; -[$messages\_stickerSetInstallResultSuccess](../constructors/messages_stickerSetInstallResultSuccess.md) = \[\]; +*** +

[$messages.stickerSetInstallResultSuccess](../constructors/messages.stickerSetInstallResultSuccess.md) = \[\]; -[$messages\_stickers](../constructors/messages_stickers.md) = \['hash' => [int](../types/int.md), 'stickers' => \[[Document](../types/Document.md)\], \]; +*** +

[$messages.stickers](../constructors/messages.stickers.md) = \['hash' => [int](../types/int.md), 'stickers' => \[[Document](../types/Document.md)\], \]; -[$messages\_stickersNotModified](../constructors/messages_stickersNotModified.md) = \[\]; +*** +

[$messages.stickersNotModified](../constructors/messages.stickersNotModified.md) = \[\]; ***

[$nearestDc](../constructors/nearestDc.md) = \['country' => [string](../types/string.md), 'this_dc' => [int](../types/int.md), 'nearest_dc' => [int](../types/int.md), \]; @@ -1187,17 +1270,22 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$paymentSavedCredentialsCard](../constructors/paymentSavedCredentialsCard.md) = \['id' => [string](../types/string.md), 'title' => [string](../types/string.md), \]; *** -

[$payments\_paymentForm](../constructors/payments_paymentForm.md) = \['can_save_credentials' => [Bool](../types/Bool.md), 'password_missing' => [Bool](../types/Bool.md), 'bot_id' => [int](../types/int.md), 'invoice' => [Invoice](../types/Invoice.md), 'provider_id' => [int](../types/int.md), 'url' => [string](../types/string.md), 'native_provider' => [string](../types/string.md), 'native_params' => [DataJSON](../types/DataJSON.md), 'saved_info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), 'saved_credentials' => [PaymentSavedCredentials](../types/PaymentSavedCredentials.md), 'users' => \[[User](../types/User.md)\], \]; +

[$payments.paymentForm](../constructors/payments.paymentForm.md) = \['can_save_credentials' => [Bool](../types/Bool.md), 'password_missing' => [Bool](../types/Bool.md), 'bot_id' => [int](../types/int.md), 'invoice' => [Invoice](../types/Invoice.md), 'provider_id' => [int](../types/int.md), 'url' => [string](../types/string.md), 'native_provider' => [string](../types/string.md), 'native_params' => [DataJSON](../types/DataJSON.md), 'saved_info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), 'saved_credentials' => [PaymentSavedCredentials](../types/PaymentSavedCredentials.md), 'users' => \[[User](../types/User.md)\], \]; -[$payments\_paymentReceipt](../constructors/payments_paymentReceipt.md) = \['date' => [int](../types/int.md), 'bot_id' => [int](../types/int.md), 'invoice' => [Invoice](../types/Invoice.md), 'provider_id' => [int](../types/int.md), 'info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), 'shipping' => [ShippingOption](../types/ShippingOption.md), 'currency' => [string](../types/string.md), 'total_amount' => [long](../types/long.md), 'credentials_title' => [string](../types/string.md), 'users' => \[[User](../types/User.md)\], \]; +*** +

[$payments.paymentReceipt](../constructors/payments.paymentReceipt.md) = \['date' => [int](../types/int.md), 'bot_id' => [int](../types/int.md), 'invoice' => [Invoice](../types/Invoice.md), 'provider_id' => [int](../types/int.md), 'info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), 'shipping' => [ShippingOption](../types/ShippingOption.md), 'currency' => [string](../types/string.md), 'total_amount' => [long](../types/long.md), 'credentials_title' => [string](../types/string.md), 'users' => \[[User](../types/User.md)\], \]; -[$payments\_paymentResult](../constructors/payments_paymentResult.md) = \['updates' => [Updates](../types/Updates.md), \]; +*** +

[$payments.paymentResult](../constructors/payments.paymentResult.md) = \['updates' => [Updates](../types/Updates.md), \]; -[$payments\_paymentVerficationNeeded](../constructors/payments_paymentVerficationNeeded.md) = \['url' => [string](../types/string.md), \]; +*** +

[$payments.paymentVerficationNeeded](../constructors/payments.paymentVerficationNeeded.md) = \['url' => [string](../types/string.md), \]; -[$payments\_savedInfo](../constructors/payments_savedInfo.md) = \['has_saved_credentials' => [Bool](../types/Bool.md), 'saved_info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), \]; +*** +

[$payments.savedInfo](../constructors/payments.savedInfo.md) = \['has_saved_credentials' => [Bool](../types/Bool.md), 'saved_info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), \]; -[$payments\_validatedRequestedInfo](../constructors/payments_validatedRequestedInfo.md) = \['id' => [string](../types/string.md), 'shipping_options' => \[[ShippingOption](../types/ShippingOption.md)\], \]; +*** +

[$payments.validatedRequestedInfo](../constructors/payments.validatedRequestedInfo.md) = \['id' => [string](../types/string.md), 'shipping_options' => \[[ShippingOption](../types/ShippingOption.md)\], \]; ***

[$peerChannel](../constructors/peerChannel.md) = \['channel_id' => [int](../types/int.md), \]; @@ -1214,6 +1302,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ***

[$peerUser](../constructors/peerUser.md) = \['user_id' => [int](../types/int.md), \]; +*** +

[$phone.phoneCall](../constructors/phone.phoneCall.md) = \['phone_call' => [PhoneCall](../types/PhoneCall.md), 'users' => \[[User](../types/User.md)\], \]; + ***

[$phoneCall](../constructors/phoneCall.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'date' => [int](../types/int.md), 'admin_id' => [int](../types/int.md), 'participant_id' => [int](../types/int.md), 'g_a_or_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), 'connection' => [PhoneConnection](../types/PhoneConnection.md), 'alternative_connections' => \[[PhoneConnection](../types/PhoneConnection.md)\], 'start_date' => [int](../types/int.md), \]; @@ -1250,9 +1341,6 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ***

[$phoneConnection](../constructors/phoneConnection.md) = \['id' => [long](../types/long.md), 'ip' => [string](../types/string.md), 'ipv6' => [string](../types/string.md), 'port' => [int](../types/int.md), 'peer_tag' => [bytes](../types/bytes.md), \]; -*** -

[$phone\_phoneCall](../constructors/phone_phoneCall.md) = \['phone_call' => [PhoneCall](../types/PhoneCall.md), 'users' => \[[User](../types/User.md)\], \]; - ***

[$photo](../constructors/photo.md) = \['has_stickers' => [Bool](../types/Bool.md), 'id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'date' => [int](../types/int.md), 'sizes' => \[[PhotoSize](../types/PhotoSize.md)\], \]; @@ -1269,11 +1357,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$photoSizeEmpty](../constructors/photoSizeEmpty.md) = \['type' => [string](../types/string.md), \]; *** -

[$photos\_photo](../constructors/photos_photo.md) = \['photo' => [Photo](../types/Photo.md), 'users' => \[[User](../types/User.md)\], \]; +

[$photos.photo](../constructors/photos.photo.md) = \['photo' => [Photo](../types/Photo.md), 'users' => \[[User](../types/User.md)\], \]; -[$photos\_photos](../constructors/photos_photos.md) = \['photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$photos.photos](../constructors/photos.photos.md) = \['photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$photos\_photosSlice](../constructors/photos_photosSlice.md) = \['count' => [int](../types/int.md), 'photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$photos.photosSlice](../constructors/photos.photosSlice.md) = \['count' => [int](../types/int.md), 'photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; ***

[$popularContact](../constructors/popularContact.md) = \['client_id' => [long](../types/long.md), 'importers' => [int](../types/int.md), \]; @@ -1477,25 +1567,34 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$stickerSetMultiCovered](../constructors/stickerSetMultiCovered.md) = \['set' => [StickerSet](../types/StickerSet.md), 'covers' => \[[Document](../types/Document.md)\], \]; *** -

[$storage\_fileGif](../constructors/storage_fileGif.md) = \[\]; +

[$storage.fileGif](../constructors/storage.fileGif.md) = \[\]; -[$storage\_fileJpeg](../constructors/storage_fileJpeg.md) = \[\]; +*** +

[$storage.fileJpeg](../constructors/storage.fileJpeg.md) = \[\]; -[$storage\_fileMov](../constructors/storage_fileMov.md) = \[\]; +*** +

[$storage.fileMov](../constructors/storage.fileMov.md) = \[\]; -[$storage\_fileMp3](../constructors/storage_fileMp3.md) = \[\]; +*** +

[$storage.fileMp3](../constructors/storage.fileMp3.md) = \[\]; -[$storage\_fileMp4](../constructors/storage_fileMp4.md) = \[\]; +*** +

[$storage.fileMp4](../constructors/storage.fileMp4.md) = \[\]; -[$storage\_filePartial](../constructors/storage_filePartial.md) = \[\]; +*** +

[$storage.filePartial](../constructors/storage.filePartial.md) = \[\]; -[$storage\_filePdf](../constructors/storage_filePdf.md) = \[\]; +*** +

[$storage.filePdf](../constructors/storage.filePdf.md) = \[\]; -[$storage\_filePng](../constructors/storage_filePng.md) = \[\]; +*** +

[$storage.filePng](../constructors/storage.filePng.md) = \[\]; -[$storage\_fileUnknown](../constructors/storage_fileUnknown.md) = \[\]; +*** +

[$storage.fileUnknown](../constructors/storage.fileUnknown.md) = \[\]; -[$storage\_fileWebp](../constructors/storage_fileWebp.md) = \[\]; +*** +

[$storage.fileWebp](../constructors/storage.fileWebp.md) = \[\]; ***

[$textBold](../constructors/textBold.md) = \['text' => [RichText](../types/RichText.md), \]; @@ -1767,6 +1866,30 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ***

[$updates](../constructors/updates.md) = \['updates' => \[[Update](../types/Update.md)\], 'users' => \[[User](../types/User.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'date' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; +*** +

[$updates.channelDifference](../constructors/updates.channelDifference.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), 'new_messages' => \[[Message](../types/Message.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +*** +

[$updates.channelDifferenceEmpty](../constructors/updates.channelDifferenceEmpty.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), \]; + +*** +

[$updates.channelDifferenceTooLong](../constructors/updates.channelDifferenceTooLong.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), 'top_message' => [int](../types/int.md), 'read_inbox_max_id' => [int](../types/int.md), 'read_outbox_max_id' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), 'unread_mentions_count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +*** +

[$updates.difference](../constructors/updates.difference.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'state' => [updates.State](../types/updates.State.md), \]; + +*** +

[$updates.differenceEmpty](../constructors/updates.differenceEmpty.md) = \['date' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; + +*** +

[$updates.differenceSlice](../constructors/updates.differenceSlice.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'intermediate_state' => [updates.State](../types/updates.State.md), \]; + +*** +

[$updates.differenceTooLong](../constructors/updates.differenceTooLong.md) = \['pts' => [int](../types/int.md), \]; + +*** +

[$updates.state](../constructors/updates.state.md) = \['pts' => [int](../types/int.md), 'qts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'seq' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), \]; + ***

[$updatesCombined](../constructors/updatesCombined.md) = \['updates' => \[[Update](../types/Update.md)\], 'users' => \[[User](../types/User.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'date' => [int](../types/int.md), 'seq_start' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; @@ -1774,32 +1897,19 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$updatesTooLong](../constructors/updatesTooLong.md) = \[\]; *** -

[$updates\_channelDifference](../constructors/updates_channelDifference.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), 'new_messages' => \[[Message](../types/Message.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; - -[$updates\_channelDifferenceEmpty](../constructors/updates_channelDifferenceEmpty.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), \]; - -[$updates\_channelDifferenceTooLong](../constructors/updates_channelDifferenceTooLong.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), 'top_message' => [int](../types/int.md), 'read_inbox_max_id' => [int](../types/int.md), 'read_outbox_max_id' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), 'unread_mentions_count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; - -[$updates\_difference](../constructors/updates_difference.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'state' => [updates.State](../types/updates.State.md), \]; - -[$updates\_differenceEmpty](../constructors/updates_differenceEmpty.md) = \['date' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; - -[$updates\_differenceSlice](../constructors/updates_differenceSlice.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'intermediate_state' => [updates.State](../types/updates.State.md), \]; - -[$updates\_differenceTooLong](../constructors/updates_differenceTooLong.md) = \['pts' => [int](../types/int.md), \]; - -[$updates\_state](../constructors/updates_state.md) = \['pts' => [int](../types/int.md), 'qts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'seq' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), \]; +

[$upload.cdnFile](../constructors/upload.cdnFile.md) = \['bytes' => [bytes](../types/bytes.md), \]; *** -

[$upload\_cdnFile](../constructors/upload_cdnFile.md) = \['bytes' => [bytes](../types/bytes.md), \]; +

[$upload.cdnFileReuploadNeeded](../constructors/upload.cdnFileReuploadNeeded.md) = \['request_token' => [bytes](../types/bytes.md), \]; -[$upload\_cdnFileReuploadNeeded](../constructors/upload_cdnFileReuploadNeeded.md) = \['request_token' => [bytes](../types/bytes.md), \]; +*** +

[$upload.file](../constructors/upload.file.md) = \['type' => [storage.FileType](../types/storage.FileType.md), 'mtime' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; -[$upload\_file](../constructors/upload_file.md) = \['type' => [storage.FileType](../types/storage.FileType.md), 'mtime' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; +*** +

[$upload.fileCdnRedirect](../constructors/upload.fileCdnRedirect.md) = \['dc_id' => [int](../types/int.md), 'file_token' => [bytes](../types/bytes.md), 'encryption_key' => [bytes](../types/bytes.md), 'encryption_iv' => [bytes](../types/bytes.md), 'file_hashes' => \[[FileHash](../types/FileHash.md)\], \]; -[$upload\_fileCdnRedirect](../constructors/upload_fileCdnRedirect.md) = \['dc_id' => [int](../types/int.md), 'file_token' => [bytes](../types/bytes.md), 'encryption_key' => [bytes](../types/bytes.md), 'encryption_iv' => [bytes](../types/bytes.md), 'file_hashes' => \[[FileHash](../types/FileHash.md)\], \]; - -[$upload\_webFile](../constructors/upload_webFile.md) = \['size' => [int](../types/int.md), 'mime_type' => [string](../types/string.md), 'file_type' => [storage.FileType](../types/storage.FileType.md), 'mtime' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; +*** +

[$upload.webFile](../constructors/upload.webFile.md) = \['size' => [int](../types/int.md), 'mime_type' => [string](../types/string.md), 'file_type' => [storage.FileType](../types/storage.FileType.md), 'mtime' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; ***

[$user](../constructors/user.md) = \['self' => [Bool](../types/Bool.md), 'contact' => [Bool](../types/Bool.md), 'mutual_contact' => [Bool](../types/Bool.md), 'deleted' => [Bool](../types/Bool.md), 'bot' => [Bool](../types/Bool.md), 'bot_chat_history' => [Bool](../types/Bool.md), 'bot_nochats' => [Bool](../types/Bool.md), 'verified' => [Bool](../types/Bool.md), 'restricted' => [Bool](../types/Bool.md), 'min' => [Bool](../types/Bool.md), 'bot_inline_geo' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), 'username' => [string](../types/string.md), 'phone' => [string](../types/string.md), 'photo' => [UserProfilePhoto](../types/UserProfilePhoto.md), 'status' => [UserStatus](../types/UserStatus.md), 'bot_info_version' => [int](../types/int.md), 'restriction_reason' => [string](../types/string.md), 'bot_inline_placeholder' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]; diff --git a/old_docs/API_docs_v81/constructors/account.authorizationForm.md b/old_docs/API_docs_v81/constructors/account.authorizationForm.md new file mode 100644 index 00000000..07847988 --- /dev/null +++ b/old_docs/API_docs_v81/constructors/account.authorizationForm.md @@ -0,0 +1,43 @@ +--- +title: account.authorizationForm +description: [Telegram Passport](https://core.telegram.org/passport) authorization form +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.authorizationForm +[Back to constructors index](index.md) + + + +[Telegram Passport](https://core.telegram.org/passport) authorization form + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|selfie\_required|[Bool](../types/Bool.md) | Optional|Selfie required?| +|required\_types|Array of [SecureValueType](../types/SecureValueType.md) | Yes|Required types| +|values|Array of [SecureValue](../types/SecureValue.md) | Yes|Values| +|errors|Array of [SecureValueError](../types/SecureValueError.md) | Yes|Errors| +|users|Array of [User](../types/User.md) | Yes|Users| +|privacy\_policy\_url|[string](../types/string.md) | Optional|URL of the service's privacy policy| + + + +### Type: [account.AuthorizationForm](../types/account.AuthorizationForm.md) + + +### Example: + +```php +$account.authorizationForm = ['_' => 'account.authorizationForm', 'selfie_required' => Bool, 'required_types' => [SecureValueType, SecureValueType], 'values' => [SecureValue, SecureValue], 'errors' => [SecureValueError, SecureValueError], 'users' => [User, User], 'privacy_policy_url' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +account.authorizationForm={_='account.authorizationForm', selfie_required=Bool, required_types={SecureValueType}, values={SecureValue}, errors={SecureValueError}, users={User}, privacy_policy_url='string'} + +``` + + diff --git a/old_docs/API_docs_v81/constructors/account.authorizations.md b/old_docs/API_docs_v81/constructors/account.authorizations.md new file mode 100644 index 00000000..53c961f0 --- /dev/null +++ b/old_docs/API_docs_v81/constructors/account.authorizations.md @@ -0,0 +1,38 @@ +--- +title: account.authorizations +description: Logged-in sessions +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.authorizations +[Back to constructors index](index.md) + + + +Logged-in sessions + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|authorizations|Array of [Authorization](../types/Authorization.md) | Yes|Authorizations| + + + +### Type: [account.Authorizations](../types/account.Authorizations.md) + + +### Example: + +```php +$account.authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization, Authorization]]; +``` + + +Or, if you're into Lua: + +```lua +account.authorizations={_='account.authorizations', authorizations={Authorization}} + +``` + + diff --git a/old_docs/API_docs_v81/constructors/account.noPassword.md b/old_docs/API_docs_v81/constructors/account.noPassword.md new file mode 100644 index 00000000..cb7d94e1 --- /dev/null +++ b/old_docs/API_docs_v81/constructors/account.noPassword.md @@ -0,0 +1,41 @@ +--- +title: account.noPassword +description: No password +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.noPassword +[Back to constructors index](index.md) + + + +No password + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|new\_salt|[bytes](../types/bytes.md) | Yes|New salt| +|new\_secure\_salt|[bytes](../types/bytes.md) | Yes|New secure salt| +|secure\_random|[bytes](../types/bytes.md) | Yes|Secure random| +|email\_unconfirmed\_pattern|[string](../types/string.md) | Yes|Email unconfirmed pattern| + + + +### Type: [account.Password](../types/account.Password.md) + + +### Example: + +```php +$account.noPassword = ['_' => 'account.noPassword', 'new_salt' => 'bytes', 'new_secure_salt' => 'bytes', 'secure_random' => 'bytes', 'email_unconfirmed_pattern' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +account.noPassword={_='account.noPassword', new_salt='bytes', new_secure_salt='bytes', secure_random='bytes', email_unconfirmed_pattern='string'} + +``` + + diff --git a/old_docs/API_docs_v81/constructors/account.password.md b/old_docs/API_docs_v81/constructors/account.password.md new file mode 100644 index 00000000..73a6434e --- /dev/null +++ b/old_docs/API_docs_v81/constructors/account.password.md @@ -0,0 +1,45 @@ +--- +title: account.password +description: Configuration for two-factor authorization +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.password +[Back to constructors index](index.md) + + + +Configuration for two-factor authorization + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|has\_recovery|[Bool](../types/Bool.md) | Optional|Whether the user has a recovery method configured| +|has\_secure\_values|[Bool](../types/Bool.md) | Optional|Whether telegram [passport](https://core.telegram.org/passport) is enabled| +|current\_salt|[bytes](../types/bytes.md) | Yes|Current salt| +|new\_salt|[bytes](../types/bytes.md) | Yes|New salt| +|new\_secure\_salt|[bytes](../types/bytes.md) | Yes|New secure salt| +|secure\_random|[bytes](../types/bytes.md) | Yes|Secure random string| +|hint|[string](../types/string.md) | Yes|Text hint for the password| +|email\_unconfirmed\_pattern|[string](../types/string.md) | Yes|A [password recovery email](https://core.telegram.org/api/srp#email-verification) with the specified [pattern](https://core.telegram.org/api/pattern) is still awaiting verification| + + + +### Type: [account.Password](../types/account.Password.md) + + +### Example: + +```php +$account.password = ['_' => 'account.password', 'has_recovery' => Bool, 'has_secure_values' => Bool, 'current_salt' => 'bytes', 'new_salt' => 'bytes', 'new_secure_salt' => 'bytes', 'secure_random' => 'bytes', 'hint' => 'string', 'email_unconfirmed_pattern' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +account.password={_='account.password', has_recovery=Bool, has_secure_values=Bool, current_salt='bytes', new_salt='bytes', new_secure_salt='bytes', secure_random='bytes', hint='string', email_unconfirmed_pattern='string'} + +``` + + diff --git a/old_docs/API_docs_v81/constructors/account.passwordInputSettings.md b/old_docs/API_docs_v81/constructors/account.passwordInputSettings.md new file mode 100644 index 00000000..76d8d261 --- /dev/null +++ b/old_docs/API_docs_v81/constructors/account.passwordInputSettings.md @@ -0,0 +1,44 @@ +--- +title: account.passwordInputSettings +description: Settings for setting up a new password +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.passwordInputSettings +[Back to constructors index](index.md) + + + +Settings for setting up a new password + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|new\_salt|[bytes](../types/bytes.md) | Optional|`$new_salt = $MadelineProto->account->getPassword()['new_salt'].$MadelineProto->random(8);`| +|new\_password\_hash|[bytes](../types/bytes.md) | Optional|The [computed password hash](https://core.telegram.org/api/srp)| +|hint|[string](../types/string.md) | Optional|Text hint for the password| +|email|[string](../types/string.md) | Optional|Password recovery email| +|new\_secure\_salt|[bytes](../types/bytes.md) | Optional|New secure salt| +|new\_secure\_secret|[bytes](../types/bytes.md) | Optional|New secure secret| +|new\_secure\_secret\_id|[long](../types/long.md) | Optional|New secure secret ID| + + + +### Type: [account.PasswordInputSettings](../types/account.PasswordInputSettings.md) + + +### Example: + +```php +$account.passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_salt' => 'bytes', 'new_password_hash' => 'bytes', 'hint' => 'string', 'email' => 'string', 'new_secure_salt' => 'bytes', 'new_secure_secret' => 'bytes', 'new_secure_secret_id' => long]; +``` + + +Or, if you're into Lua: + +```lua +account.passwordInputSettings={_='account.passwordInputSettings', new_salt='bytes', new_password_hash='bytes', hint='string', email='string', new_secure_salt='bytes', new_secure_secret='bytes', new_secure_secret_id=long} + +``` + + diff --git a/old_docs/API_docs_v81/constructors/account.passwordSettings.md b/old_docs/API_docs_v81/constructors/account.passwordSettings.md new file mode 100644 index 00000000..3728f42b --- /dev/null +++ b/old_docs/API_docs_v81/constructors/account.passwordSettings.md @@ -0,0 +1,41 @@ +--- +title: account.passwordSettings +description: Private info associated to the password info (recovery email, telegram [passport](https://core.telegram.org/passport) info & so on) +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.passwordSettings +[Back to constructors index](index.md) + + + +Private info associated to the password info (recovery email, telegram [passport](https://core.telegram.org/passport) info & so on) + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|email|[string](../types/string.md) | Yes|[2FA Recovery email](https://core.telegram.org/api/srp#email-verification)| +|secure\_salt|[bytes](../types/bytes.md) | Yes|Secure salt| +|secure\_secret|[bytes](../types/bytes.md) | Yes|Secure secret| +|secure\_secret\_id|[long](../types/long.md) | Yes|Secure secret ID| + + + +### Type: [account.PasswordSettings](../types/account.PasswordSettings.md) + + +### Example: + +```php +$account.passwordSettings = ['_' => 'account.passwordSettings', 'email' => 'string', 'secure_salt' => 'bytes', 'secure_secret' => 'bytes', 'secure_secret_id' => long]; +``` + + +Or, if you're into Lua: + +```lua +account.passwordSettings={_='account.passwordSettings', email='string', secure_salt='bytes', secure_secret='bytes', secure_secret_id=long} + +``` + + diff --git a/old_docs/API_docs_v81/constructors/account.privacyRules.md b/old_docs/API_docs_v81/constructors/account.privacyRules.md new file mode 100644 index 00000000..7ae04abb --- /dev/null +++ b/old_docs/API_docs_v81/constructors/account.privacyRules.md @@ -0,0 +1,39 @@ +--- +title: account.privacyRules +description: Privacy rules +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.privacyRules +[Back to constructors index](index.md) + + + +Privacy rules + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|rules|Array of [PrivacyRule](../types/PrivacyRule.md) | Yes|Rules| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [account.PrivacyRules](../types/account.PrivacyRules.md) + + +### Example: + +```php +$account.privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule, PrivacyRule], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +account.privacyRules={_='account.privacyRules', rules={PrivacyRule}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v81/constructors/account.sentEmailCode.md b/old_docs/API_docs_v81/constructors/account.sentEmailCode.md new file mode 100644 index 00000000..c4c30275 --- /dev/null +++ b/old_docs/API_docs_v81/constructors/account.sentEmailCode.md @@ -0,0 +1,39 @@ +--- +title: account.sentEmailCode +description: The sent email code +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.sentEmailCode +[Back to constructors index](index.md) + + + +The sent email code + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|email\_pattern|[string](../types/string.md) | Yes|The email (to which the code was sent) must match this [pattern](https://core.telegram.org/api/pattern)| +|length|[int](../types/int.md) | Yes|The length of the verification code| + + + +### Type: [account.SentEmailCode](../types/account.SentEmailCode.md) + + +### Example: + +```php +$account.sentEmailCode = ['_' => 'account.sentEmailCode', 'email_pattern' => 'string', 'length' => int]; +``` + + +Or, if you're into Lua: + +```lua +account.sentEmailCode={_='account.sentEmailCode', email_pattern='string', length=int} + +``` + + diff --git a/old_docs/API_docs_v81/constructors/account.takeout.md b/old_docs/API_docs_v81/constructors/account.takeout.md new file mode 100644 index 00000000..1aca6c70 --- /dev/null +++ b/old_docs/API_docs_v81/constructors/account.takeout.md @@ -0,0 +1,38 @@ +--- +title: account.takeout +description: Takout info +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.takeout +[Back to constructors index](index.md) + + + +Takout info + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|id|[long](../types/long.md) | Yes|Takeout ID| + + + +### Type: [account.Takeout](../types/account.Takeout.md) + + +### Example: + +```php +$account.takeout = ['_' => 'account.takeout', 'id' => long]; +``` + + +Or, if you're into Lua: + +```lua +account.takeout={_='account.takeout', id=long} + +``` + + diff --git a/old_docs/API_docs_v81/constructors/account.tmpPassword.md b/old_docs/API_docs_v81/constructors/account.tmpPassword.md new file mode 100644 index 00000000..996548c4 --- /dev/null +++ b/old_docs/API_docs_v81/constructors/account.tmpPassword.md @@ -0,0 +1,39 @@ +--- +title: account.tmpPassword +description: Temporary payment password +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.tmpPassword +[Back to constructors index](index.md) + + + +Temporary payment password + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|tmp\_password|[bytes](../types/bytes.md) | Yes|Temporary password| +|valid\_until|[int](../types/int.md) | Yes|Validity period| + + + +### Type: [account.TmpPassword](../types/account.TmpPassword.md) + + +### Example: + +```php +$account.tmpPassword = ['_' => 'account.tmpPassword', 'tmp_password' => 'bytes', 'valid_until' => int]; +``` + + +Or, if you're into Lua: + +```lua +account.tmpPassword={_='account.tmpPassword', tmp_password='bytes', valid_until=int} + +``` + + diff --git a/old_docs/API_docs_v81/constructors/account.webAuthorizations.md b/old_docs/API_docs_v81/constructors/account.webAuthorizations.md new file mode 100644 index 00000000..bb5d0211 --- /dev/null +++ b/old_docs/API_docs_v81/constructors/account.webAuthorizations.md @@ -0,0 +1,39 @@ +--- +title: account.webAuthorizations +description: Web authorizations +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.webAuthorizations +[Back to constructors index](index.md) + + + +Web authorizations + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|authorizations|Array of [WebAuthorization](../types/WebAuthorization.md) | Yes|Authorizations| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [account.WebAuthorizations](../types/account.WebAuthorizations.md) + + +### Example: + +```php +$account.webAuthorizations = ['_' => 'account.webAuthorizations', 'authorizations' => [WebAuthorization, WebAuthorization], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +account.webAuthorizations={_='account.webAuthorizations', authorizations={WebAuthorization}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v81/constructors/account_authorizationForm.md b/old_docs/API_docs_v81/constructors/account_authorizationForm.md deleted file mode 100644 index d5d3c71c..00000000 --- a/old_docs/API_docs_v81/constructors/account_authorizationForm.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: account.authorizationForm -description: [Telegram Passport](https://core.telegram.org/passport) authorization form -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.authorizationForm -[Back to constructors index](index.md) - - - -[Telegram Passport](https://core.telegram.org/passport) authorization form - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|selfie\_required|[Bool](../types/Bool.md) | Optional|Selfie required?| -|required\_types|Array of [SecureValueType](../types/SecureValueType.md) | Yes|Required types| -|values|Array of [SecureValue](../types/SecureValue.md) | Yes|Values| -|errors|Array of [SecureValueError](../types/SecureValueError.md) | Yes|Errors| -|users|Array of [User](../types/User.md) | Yes|Users| -|privacy\_policy\_url|[string](../types/string.md) | Optional|URL of the service's privacy policy| - - - -### Type: [account\_AuthorizationForm](../types/account_AuthorizationForm.md) - - -### Example: - -```php -$account_authorizationForm = ['_' => 'account.authorizationForm', 'selfie_required' => Bool, 'required_types' => [SecureValueType, SecureValueType], 'values' => [SecureValue, SecureValue], 'errors' => [SecureValueError, SecureValueError], 'users' => [User, User], 'privacy_policy_url' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -account_authorizationForm={_='account.authorizationForm', selfie_required=Bool, required_types={SecureValueType}, values={SecureValue}, errors={SecureValueError}, users={User}, privacy_policy_url='string'} - -``` - - diff --git a/old_docs/API_docs_v81/constructors/account_authorizations.md b/old_docs/API_docs_v81/constructors/account_authorizations.md deleted file mode 100644 index aeae48f3..00000000 --- a/old_docs/API_docs_v81/constructors/account_authorizations.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: account.authorizations -description: Logged-in sessions -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.authorizations -[Back to constructors index](index.md) - - - -Logged-in sessions - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|authorizations|Array of [Authorization](../types/Authorization.md) | Yes|Authorizations| - - - -### Type: [account\_Authorizations](../types/account_Authorizations.md) - - -### Example: - -```php -$account_authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization, Authorization]]; -``` - - -Or, if you're into Lua: - -```lua -account_authorizations={_='account.authorizations', authorizations={Authorization}} - -``` - - diff --git a/old_docs/API_docs_v81/constructors/account_noPassword.md b/old_docs/API_docs_v81/constructors/account_noPassword.md deleted file mode 100644 index a22887b3..00000000 --- a/old_docs/API_docs_v81/constructors/account_noPassword.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: account.noPassword -description: No password -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.noPassword -[Back to constructors index](index.md) - - - -No password - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|new\_salt|[bytes](../types/bytes.md) | Yes|New salt| -|new\_secure\_salt|[bytes](../types/bytes.md) | Yes|New secure salt| -|secure\_random|[bytes](../types/bytes.md) | Yes|Secure random| -|email\_unconfirmed\_pattern|[string](../types/string.md) | Yes|Email unconfirmed pattern| - - - -### Type: [account\_Password](../types/account_Password.md) - - -### Example: - -```php -$account_noPassword = ['_' => 'account.noPassword', 'new_salt' => 'bytes', 'new_secure_salt' => 'bytes', 'secure_random' => 'bytes', 'email_unconfirmed_pattern' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -account_noPassword={_='account.noPassword', new_salt='bytes', new_secure_salt='bytes', secure_random='bytes', email_unconfirmed_pattern='string'} - -``` - - diff --git a/old_docs/API_docs_v81/constructors/account_password.md b/old_docs/API_docs_v81/constructors/account_password.md deleted file mode 100644 index a3daa031..00000000 --- a/old_docs/API_docs_v81/constructors/account_password.md +++ /dev/null @@ -1,45 +0,0 @@ ---- -title: account.password -description: Configuration for two-factor authorization -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.password -[Back to constructors index](index.md) - - - -Configuration for two-factor authorization - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|has\_recovery|[Bool](../types/Bool.md) | Optional|Whether the user has a recovery method configured| -|has\_secure\_values|[Bool](../types/Bool.md) | Optional|Whether telegram [passport](https://core.telegram.org/passport) is enabled| -|current\_salt|[bytes](../types/bytes.md) | Yes|Current salt| -|new\_salt|[bytes](../types/bytes.md) | Yes|New salt| -|new\_secure\_salt|[bytes](../types/bytes.md) | Yes|New secure salt| -|secure\_random|[bytes](../types/bytes.md) | Yes|Secure random string| -|hint|[string](../types/string.md) | Yes|Text hint for the password| -|email\_unconfirmed\_pattern|[string](../types/string.md) | Yes|A [password recovery email](https://core.telegram.org/api/srp#email-verification) with the specified [pattern](https://core.telegram.org/api/pattern) is still awaiting verification| - - - -### Type: [account\_Password](../types/account_Password.md) - - -### Example: - -```php -$account_password = ['_' => 'account.password', 'has_recovery' => Bool, 'has_secure_values' => Bool, 'current_salt' => 'bytes', 'new_salt' => 'bytes', 'new_secure_salt' => 'bytes', 'secure_random' => 'bytes', 'hint' => 'string', 'email_unconfirmed_pattern' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -account_password={_='account.password', has_recovery=Bool, has_secure_values=Bool, current_salt='bytes', new_salt='bytes', new_secure_salt='bytes', secure_random='bytes', hint='string', email_unconfirmed_pattern='string'} - -``` - - diff --git a/old_docs/API_docs_v81/constructors/account_passwordInputSettings.md b/old_docs/API_docs_v81/constructors/account_passwordInputSettings.md deleted file mode 100644 index 5d4ae059..00000000 --- a/old_docs/API_docs_v81/constructors/account_passwordInputSettings.md +++ /dev/null @@ -1,44 +0,0 @@ ---- -title: account.passwordInputSettings -description: Settings for setting up a new password -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.passwordInputSettings -[Back to constructors index](index.md) - - - -Settings for setting up a new password - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|new\_salt|[bytes](../types/bytes.md) | Optional|`$new_salt = $MadelineProto->account->getPassword()['new_salt'].$MadelineProto->random(8);`| -|new\_password\_hash|[bytes](../types/bytes.md) | Optional|The [computed password hash](https://core.telegram.org/api/srp)| -|hint|[string](../types/string.md) | Optional|Text hint for the password| -|email|[string](../types/string.md) | Optional|Password recovery email| -|new\_secure\_salt|[bytes](../types/bytes.md) | Optional|New secure salt| -|new\_secure\_secret|[bytes](../types/bytes.md) | Optional|New secure secret| -|new\_secure\_secret\_id|[long](../types/long.md) | Optional|New secure secret ID| - - - -### Type: [account\_PasswordInputSettings](../types/account_PasswordInputSettings.md) - - -### Example: - -```php -$account_passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_salt' => 'bytes', 'new_password_hash' => 'bytes', 'hint' => 'string', 'email' => 'string', 'new_secure_salt' => 'bytes', 'new_secure_secret' => 'bytes', 'new_secure_secret_id' => long]; -``` - - -Or, if you're into Lua: - -```lua -account_passwordInputSettings={_='account.passwordInputSettings', new_salt='bytes', new_password_hash='bytes', hint='string', email='string', new_secure_salt='bytes', new_secure_secret='bytes', new_secure_secret_id=long} - -``` - - diff --git a/old_docs/API_docs_v81/constructors/account_passwordSettings.md b/old_docs/API_docs_v81/constructors/account_passwordSettings.md deleted file mode 100644 index e924107f..00000000 --- a/old_docs/API_docs_v81/constructors/account_passwordSettings.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: account.passwordSettings -description: Private info associated to the password info (recovery email, telegram [passport](https://core.telegram.org/passport) info & so on) -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.passwordSettings -[Back to constructors index](index.md) - - - -Private info associated to the password info (recovery email, telegram [passport](https://core.telegram.org/passport) info & so on) - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|email|[string](../types/string.md) | Yes|[2FA Recovery email](https://core.telegram.org/api/srp#email-verification)| -|secure\_salt|[bytes](../types/bytes.md) | Yes|Secure salt| -|secure\_secret|[bytes](../types/bytes.md) | Yes|Secure secret| -|secure\_secret\_id|[long](../types/long.md) | Yes|Secure secret ID| - - - -### Type: [account\_PasswordSettings](../types/account_PasswordSettings.md) - - -### Example: - -```php -$account_passwordSettings = ['_' => 'account.passwordSettings', 'email' => 'string', 'secure_salt' => 'bytes', 'secure_secret' => 'bytes', 'secure_secret_id' => long]; -``` - - -Or, if you're into Lua: - -```lua -account_passwordSettings={_='account.passwordSettings', email='string', secure_salt='bytes', secure_secret='bytes', secure_secret_id=long} - -``` - - diff --git a/old_docs/API_docs_v81/constructors/account_privacyRules.md b/old_docs/API_docs_v81/constructors/account_privacyRules.md deleted file mode 100644 index 28b260b7..00000000 --- a/old_docs/API_docs_v81/constructors/account_privacyRules.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: account.privacyRules -description: Privacy rules -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.privacyRules -[Back to constructors index](index.md) - - - -Privacy rules - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|rules|Array of [PrivacyRule](../types/PrivacyRule.md) | Yes|Rules| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [account\_PrivacyRules](../types/account_PrivacyRules.md) - - -### Example: - -```php -$account_privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule, PrivacyRule], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -account_privacyRules={_='account.privacyRules', rules={PrivacyRule}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v81/constructors/account_sentEmailCode.md b/old_docs/API_docs_v81/constructors/account_sentEmailCode.md deleted file mode 100644 index 684fb4b5..00000000 --- a/old_docs/API_docs_v81/constructors/account_sentEmailCode.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: account.sentEmailCode -description: The sent email code -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.sentEmailCode -[Back to constructors index](index.md) - - - -The sent email code - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|email\_pattern|[string](../types/string.md) | Yes|The email (to which the code was sent) must match this [pattern](https://core.telegram.org/api/pattern)| -|length|[int](../types/int.md) | Yes|The length of the verification code| - - - -### Type: [account\_SentEmailCode](../types/account_SentEmailCode.md) - - -### Example: - -```php -$account_sentEmailCode = ['_' => 'account.sentEmailCode', 'email_pattern' => 'string', 'length' => int]; -``` - - -Or, if you're into Lua: - -```lua -account_sentEmailCode={_='account.sentEmailCode', email_pattern='string', length=int} - -``` - - diff --git a/old_docs/API_docs_v81/constructors/account_takeout.md b/old_docs/API_docs_v81/constructors/account_takeout.md deleted file mode 100644 index 09af93ca..00000000 --- a/old_docs/API_docs_v81/constructors/account_takeout.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: account.takeout -description: Takout info -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.takeout -[Back to constructors index](index.md) - - - -Takout info - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|id|[long](../types/long.md) | Yes|Takeout ID| - - - -### Type: [account\_Takeout](../types/account_Takeout.md) - - -### Example: - -```php -$account_takeout = ['_' => 'account.takeout', 'id' => long]; -``` - - -Or, if you're into Lua: - -```lua -account_takeout={_='account.takeout', id=long} - -``` - - diff --git a/old_docs/API_docs_v81/constructors/account_tmpPassword.md b/old_docs/API_docs_v81/constructors/account_tmpPassword.md deleted file mode 100644 index 68832780..00000000 --- a/old_docs/API_docs_v81/constructors/account_tmpPassword.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: account.tmpPassword -description: Temporary payment password -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.tmpPassword -[Back to constructors index](index.md) - - - -Temporary payment password - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|tmp\_password|[bytes](../types/bytes.md) | Yes|Temporary password| -|valid\_until|[int](../types/int.md) | Yes|Validity period| - - - -### Type: [account\_TmpPassword](../types/account_TmpPassword.md) - - -### Example: - -```php -$account_tmpPassword = ['_' => 'account.tmpPassword', 'tmp_password' => 'bytes', 'valid_until' => int]; -``` - - -Or, if you're into Lua: - -```lua -account_tmpPassword={_='account.tmpPassword', tmp_password='bytes', valid_until=int} - -``` - - diff --git a/old_docs/API_docs_v81/constructors/account_webAuthorizations.md b/old_docs/API_docs_v81/constructors/account_webAuthorizations.md deleted file mode 100644 index ae402006..00000000 --- a/old_docs/API_docs_v81/constructors/account_webAuthorizations.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: account.webAuthorizations -description: Web authorizations -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.webAuthorizations -[Back to constructors index](index.md) - - - -Web authorizations - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|authorizations|Array of [WebAuthorization](../types/WebAuthorization.md) | Yes|Authorizations| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [account\_WebAuthorizations](../types/account_WebAuthorizations.md) - - -### Example: - -```php -$account_webAuthorizations = ['_' => 'account.webAuthorizations', 'authorizations' => [WebAuthorization, WebAuthorization], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -account_webAuthorizations={_='account.webAuthorizations', authorizations={WebAuthorization}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v81/constructors/auth.authorization.md b/old_docs/API_docs_v81/constructors/auth.authorization.md new file mode 100644 index 00000000..2a84bb12 --- /dev/null +++ b/old_docs/API_docs_v81/constructors/auth.authorization.md @@ -0,0 +1,39 @@ +--- +title: auth.authorization +description: Contains user authorization info. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.authorization +[Back to constructors index](index.md) + + + +Contains user authorization info. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|tmp\_sessions|[int](../types/int.md) | Optional|Temporary [passport](https://core.telegram.org/passport) sessions| +|user|[User](../types/User.md) | Optional|Info on authorized user| + + + +### Type: [auth.Authorization](../types/auth.Authorization.md) + + +### Example: + +```php +$auth.authorization = ['_' => 'auth.authorization', 'tmp_sessions' => int, 'user' => User]; +``` + + +Or, if you're into Lua: + +```lua +auth.authorization={_='auth.authorization', tmp_sessions=int, user=User} + +``` + + diff --git a/old_docs/API_docs_v81/constructors/auth.checkedPhone.md b/old_docs/API_docs_v81/constructors/auth.checkedPhone.md new file mode 100644 index 00000000..23e84cf9 --- /dev/null +++ b/old_docs/API_docs_v81/constructors/auth.checkedPhone.md @@ -0,0 +1,38 @@ +--- +title: auth.checkedPhone +description: Checked phone +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.checkedPhone +[Back to constructors index](index.md) + + + +Checked phone + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_registered|[Bool](../types/Bool.md) | Yes|Phone registered?| + + + +### Type: [auth.CheckedPhone](../types/auth.CheckedPhone.md) + + +### Example: + +```php +$auth.checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool]; +``` + + +Or, if you're into Lua: + +```lua +auth.checkedPhone={_='auth.checkedPhone', phone_registered=Bool} + +``` + + diff --git a/old_docs/API_docs_v81/constructors/auth.codeTypeCall.md b/old_docs/API_docs_v81/constructors/auth.codeTypeCall.md new file mode 100644 index 00000000..4b4a1cdc --- /dev/null +++ b/old_docs/API_docs_v81/constructors/auth.codeTypeCall.md @@ -0,0 +1,33 @@ +--- +title: auth.codeTypeCall +description: Type of verification code that will be sent next if you call the resendCode method: SMS code +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.codeTypeCall +[Back to constructors index](index.md) + + + +Type of verification code that will be sent next if you call the resendCode method: SMS code + + + + +### Type: [auth.CodeType](../types/auth.CodeType.md) + + +### Example: + +```php +$auth.codeTypeCall = ['_' => 'auth.codeTypeCall']; +``` + + +Or, if you're into Lua: + +```lua +auth.codeTypeCall={_='auth.codeTypeCall'} + +``` + + diff --git a/old_docs/API_docs_v81/constructors/auth.codeTypeFlashCall.md b/old_docs/API_docs_v81/constructors/auth.codeTypeFlashCall.md new file mode 100644 index 00000000..ef97e034 --- /dev/null +++ b/old_docs/API_docs_v81/constructors/auth.codeTypeFlashCall.md @@ -0,0 +1,33 @@ +--- +title: auth.codeTypeFlashCall +description: Type of verification code that will be sent next if you call the resendCode method: SMS code +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.codeTypeFlashCall +[Back to constructors index](index.md) + + + +Type of verification code that will be sent next if you call the resendCode method: SMS code + + + + +### Type: [auth.CodeType](../types/auth.CodeType.md) + + +### Example: + +```php +$auth.codeTypeFlashCall = ['_' => 'auth.codeTypeFlashCall']; +``` + + +Or, if you're into Lua: + +```lua +auth.codeTypeFlashCall={_='auth.codeTypeFlashCall'} + +``` + + diff --git a/old_docs/API_docs_v81/constructors/auth.codeTypeSms.md b/old_docs/API_docs_v81/constructors/auth.codeTypeSms.md new file mode 100644 index 00000000..bab9a5a4 --- /dev/null +++ b/old_docs/API_docs_v81/constructors/auth.codeTypeSms.md @@ -0,0 +1,33 @@ +--- +title: auth.codeTypeSms +description: Type of verification code that will be sent next if you call the resendCode method: SMS code +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.codeTypeSms +[Back to constructors index](index.md) + + + +Type of verification code that will be sent next if you call the resendCode method: SMS code + + + + +### Type: [auth.CodeType](../types/auth.CodeType.md) + + +### Example: + +```php +$auth.codeTypeSms = ['_' => 'auth.codeTypeSms']; +``` + + +Or, if you're into Lua: + +```lua +auth.codeTypeSms={_='auth.codeTypeSms'} + +``` + + diff --git a/old_docs/API_docs_v81/constructors/auth.exportedAuthorization.md b/old_docs/API_docs_v81/constructors/auth.exportedAuthorization.md new file mode 100644 index 00000000..2a4a9896 --- /dev/null +++ b/old_docs/API_docs_v81/constructors/auth.exportedAuthorization.md @@ -0,0 +1,39 @@ +--- +title: auth.exportedAuthorization +description: Data for copying of authorization between data centres. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.exportedAuthorization +[Back to constructors index](index.md) + + + +Data for copying of authorization between data centres. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|id|[int](../types/int.md) | Yes|Current user identifier| +|bytes|[bytes](../types/bytes.md) | Yes|Authorizes key| + + + +### Type: [auth.ExportedAuthorization](../types/auth.ExportedAuthorization.md) + + +### Example: + +```php +$auth.exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +auth.exportedAuthorization={_='auth.exportedAuthorization', id=int, bytes='bytes'} + +``` + + diff --git a/old_docs/API_docs_v81/constructors/auth.passwordRecovery.md b/old_docs/API_docs_v81/constructors/auth.passwordRecovery.md new file mode 100644 index 00000000..61de922d --- /dev/null +++ b/old_docs/API_docs_v81/constructors/auth.passwordRecovery.md @@ -0,0 +1,38 @@ +--- +title: auth.passwordRecovery +description: Recovery info of a [2FA password](https://core.telegram.org/api/srp), only for accounts with a [recovery email configured](https://core.telegram.org/api/srp#email-verification). +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.passwordRecovery +[Back to constructors index](index.md) + + + +Recovery info of a [2FA password](https://core.telegram.org/api/srp), only for accounts with a [recovery email configured](https://core.telegram.org/api/srp#email-verification). + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|email\_pattern|[string](../types/string.md) | Yes|The email to which the recovery code was sent must match this [pattern](https://core.telegram.org/api/pattern).| + + + +### Type: [auth.PasswordRecovery](../types/auth.PasswordRecovery.md) + + +### Example: + +```php +$auth.passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +auth.passwordRecovery={_='auth.passwordRecovery', email_pattern='string'} + +``` + + diff --git a/old_docs/API_docs_v81/constructors/auth.sentCode.md b/old_docs/API_docs_v81/constructors/auth.sentCode.md new file mode 100644 index 00000000..bfdaea05 --- /dev/null +++ b/old_docs/API_docs_v81/constructors/auth.sentCode.md @@ -0,0 +1,43 @@ +--- +title: auth.sentCode +description: Contains info about a sent verification code. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentCode +[Back to constructors index](index.md) + + + +Contains info about a sent verification code. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_registered|[Bool](../types/Bool.md) | Optional|Phone registered?| +|type|[auth.SentCodeType](../constructors/auth.SentCodeType.md) | Yes|Phone code type| +|phone\_code\_hash|[string](../types/string.md) | Yes|Phone code hash, to be stored and later re-used with [auth.signIn](../methods/auth.signIn.md)| +|next\_type|[auth.CodeType](../constructors/auth.CodeType.md) | Optional|Phone code type that will be sent next, if the phone code is not received within `timeout` seconds: to send it use [auth.resendCode](../methods/auth.resendCode.md)| +|timeout|[int](../types/int.md) | Optional|Timeout for reception of the phone code| +|terms\_of\_service|[help.TermsOfService](../constructors/help.TermsOfService.md) | Optional|Terms of service| + + + +### Type: [auth.SentCode](../types/auth.SentCode.md) + + +### Example: + +```php +$auth.sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'type' => auth.SentCodeType, 'phone_code_hash' => 'string', 'next_type' => auth.CodeType, 'timeout' => int, 'terms_of_service' => help.TermsOfService]; +``` + + +Or, if you're into Lua: + +```lua +auth.sentCode={_='auth.sentCode', phone_registered=Bool, type=auth.SentCodeType, phone_code_hash='string', next_type=auth.CodeType, timeout=int, terms_of_service=help.TermsOfService} + +``` + + diff --git a/old_docs/API_docs_v81/constructors/auth.sentCodeTypeApp.md b/old_docs/API_docs_v81/constructors/auth.sentCodeTypeApp.md new file mode 100644 index 00000000..5f2d4aa3 --- /dev/null +++ b/old_docs/API_docs_v81/constructors/auth.sentCodeTypeApp.md @@ -0,0 +1,38 @@ +--- +title: auth.sentCodeTypeApp +description: The code was sent through the telegram app +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentCodeTypeApp +[Back to constructors index](index.md) + + + +The code was sent through the telegram app + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|length|[int](../types/int.md) | Yes|Length of the code in bytes| + + + +### Type: [auth.SentCodeType](../types/auth.SentCodeType.md) + + +### Example: + +```php +$auth.sentCodeTypeApp = ['_' => 'auth.sentCodeTypeApp', 'length' => int]; +``` + + +Or, if you're into Lua: + +```lua +auth.sentCodeTypeApp={_='auth.sentCodeTypeApp', length=int} + +``` + + diff --git a/old_docs/API_docs_v81/constructors/auth.sentCodeTypeCall.md b/old_docs/API_docs_v81/constructors/auth.sentCodeTypeCall.md new file mode 100644 index 00000000..9843b3df --- /dev/null +++ b/old_docs/API_docs_v81/constructors/auth.sentCodeTypeCall.md @@ -0,0 +1,38 @@ +--- +title: auth.sentCodeTypeCall +description: The code will be sent via a phone call: a synthesized voice will tell the user which verification code to input. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentCodeTypeCall +[Back to constructors index](index.md) + + + +The code will be sent via a phone call: a synthesized voice will tell the user which verification code to input. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|length|[int](../types/int.md) | Yes|Length of the verification code| + + + +### Type: [auth.SentCodeType](../types/auth.SentCodeType.md) + + +### Example: + +```php +$auth.sentCodeTypeCall = ['_' => 'auth.sentCodeTypeCall', 'length' => int]; +``` + + +Or, if you're into Lua: + +```lua +auth.sentCodeTypeCall={_='auth.sentCodeTypeCall', length=int} + +``` + + diff --git a/old_docs/API_docs_v81/constructors/auth.sentCodeTypeFlashCall.md b/old_docs/API_docs_v81/constructors/auth.sentCodeTypeFlashCall.md new file mode 100644 index 00000000..0d24751d --- /dev/null +++ b/old_docs/API_docs_v81/constructors/auth.sentCodeTypeFlashCall.md @@ -0,0 +1,38 @@ +--- +title: auth.sentCodeTypeFlashCall +description: The code will be sent via a flash phone call, that will be closed immediately. The phone code will then be the phone number itself, just make sure that the phone number matches the specified pattern. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentCodeTypeFlashCall +[Back to constructors index](index.md) + + + +The code will be sent via a flash phone call, that will be closed immediately. The phone code will then be the phone number itself, just make sure that the phone number matches the specified pattern. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pattern|[string](../types/string.md) | Yes|[pattern](https://core.telegram.org/api/pattern) to match| + + + +### Type: [auth.SentCodeType](../types/auth.SentCodeType.md) + + +### Example: + +```php +$auth.sentCodeTypeFlashCall = ['_' => 'auth.sentCodeTypeFlashCall', 'pattern' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +auth.sentCodeTypeFlashCall={_='auth.sentCodeTypeFlashCall', pattern='string'} + +``` + + diff --git a/old_docs/API_docs_v81/constructors/auth.sentCodeTypeSms.md b/old_docs/API_docs_v81/constructors/auth.sentCodeTypeSms.md new file mode 100644 index 00000000..d8ecb75e --- /dev/null +++ b/old_docs/API_docs_v81/constructors/auth.sentCodeTypeSms.md @@ -0,0 +1,38 @@ +--- +title: auth.sentCodeTypeSms +description: The code was sent via SMS +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentCodeTypeSms +[Back to constructors index](index.md) + + + +The code was sent via SMS + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|length|[int](../types/int.md) | Yes|Length of the code in bytes| + + + +### Type: [auth.SentCodeType](../types/auth.SentCodeType.md) + + +### Example: + +```php +$auth.sentCodeTypeSms = ['_' => 'auth.sentCodeTypeSms', 'length' => int]; +``` + + +Or, if you're into Lua: + +```lua +auth.sentCodeTypeSms={_='auth.sentCodeTypeSms', length=int} + +``` + + diff --git a/old_docs/API_docs_v81/constructors/auth_authorization.md b/old_docs/API_docs_v81/constructors/auth_authorization.md deleted file mode 100644 index cb72811d..00000000 --- a/old_docs/API_docs_v81/constructors/auth_authorization.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: auth.authorization -description: Contains user authorization info. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.authorization -[Back to constructors index](index.md) - - - -Contains user authorization info. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|tmp\_sessions|[int](../types/int.md) | Optional|Temporary [passport](https://core.telegram.org/passport) sessions| -|user|[User](../types/User.md) | Optional|Info on authorized user| - - - -### Type: [auth\_Authorization](../types/auth_Authorization.md) - - -### Example: - -```php -$auth_authorization = ['_' => 'auth.authorization', 'tmp_sessions' => int, 'user' => User]; -``` - - -Or, if you're into Lua: - -```lua -auth_authorization={_='auth.authorization', tmp_sessions=int, user=User} - -``` - - diff --git a/old_docs/API_docs_v81/constructors/auth_checkedPhone.md b/old_docs/API_docs_v81/constructors/auth_checkedPhone.md deleted file mode 100644 index c77becf6..00000000 --- a/old_docs/API_docs_v81/constructors/auth_checkedPhone.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.checkedPhone -description: Checked phone -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.checkedPhone -[Back to constructors index](index.md) - - - -Checked phone - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_registered|[Bool](../types/Bool.md) | Yes|Phone registered?| - - - -### Type: [auth\_CheckedPhone](../types/auth_CheckedPhone.md) - - -### Example: - -```php -$auth_checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool]; -``` - - -Or, if you're into Lua: - -```lua -auth_checkedPhone={_='auth.checkedPhone', phone_registered=Bool} - -``` - - diff --git a/old_docs/API_docs_v81/constructors/auth_codeTypeCall.md b/old_docs/API_docs_v81/constructors/auth_codeTypeCall.md deleted file mode 100644 index 3e957c2a..00000000 --- a/old_docs/API_docs_v81/constructors/auth_codeTypeCall.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: auth.codeTypeCall -description: Type of verification code that will be sent next if you call the resendCode method: SMS code -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.codeTypeCall -[Back to constructors index](index.md) - - - -Type of verification code that will be sent next if you call the resendCode method: SMS code - - - - -### Type: [auth\_CodeType](../types/auth_CodeType.md) - - -### Example: - -```php -$auth_codeTypeCall = ['_' => 'auth.codeTypeCall']; -``` - - -Or, if you're into Lua: - -```lua -auth_codeTypeCall={_='auth.codeTypeCall'} - -``` - - diff --git a/old_docs/API_docs_v81/constructors/auth_codeTypeFlashCall.md b/old_docs/API_docs_v81/constructors/auth_codeTypeFlashCall.md deleted file mode 100644 index 981b2461..00000000 --- a/old_docs/API_docs_v81/constructors/auth_codeTypeFlashCall.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: auth.codeTypeFlashCall -description: Type of verification code that will be sent next if you call the resendCode method: SMS code -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.codeTypeFlashCall -[Back to constructors index](index.md) - - - -Type of verification code that will be sent next if you call the resendCode method: SMS code - - - - -### Type: [auth\_CodeType](../types/auth_CodeType.md) - - -### Example: - -```php -$auth_codeTypeFlashCall = ['_' => 'auth.codeTypeFlashCall']; -``` - - -Or, if you're into Lua: - -```lua -auth_codeTypeFlashCall={_='auth.codeTypeFlashCall'} - -``` - - diff --git a/old_docs/API_docs_v81/constructors/auth_codeTypeSms.md b/old_docs/API_docs_v81/constructors/auth_codeTypeSms.md deleted file mode 100644 index 16eb5d0d..00000000 --- a/old_docs/API_docs_v81/constructors/auth_codeTypeSms.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: auth.codeTypeSms -description: Type of verification code that will be sent next if you call the resendCode method: SMS code -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.codeTypeSms -[Back to constructors index](index.md) - - - -Type of verification code that will be sent next if you call the resendCode method: SMS code - - - - -### Type: [auth\_CodeType](../types/auth_CodeType.md) - - -### Example: - -```php -$auth_codeTypeSms = ['_' => 'auth.codeTypeSms']; -``` - - -Or, if you're into Lua: - -```lua -auth_codeTypeSms={_='auth.codeTypeSms'} - -``` - - diff --git a/old_docs/API_docs_v81/constructors/auth_exportedAuthorization.md b/old_docs/API_docs_v81/constructors/auth_exportedAuthorization.md deleted file mode 100644 index 8d18916e..00000000 --- a/old_docs/API_docs_v81/constructors/auth_exportedAuthorization.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: auth.exportedAuthorization -description: Data for copying of authorization between data centres. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.exportedAuthorization -[Back to constructors index](index.md) - - - -Data for copying of authorization between data centres. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|id|[int](../types/int.md) | Yes|Current user identifier| -|bytes|[bytes](../types/bytes.md) | Yes|Authorizes key| - - - -### Type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) - - -### Example: - -```php -$auth_exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -auth_exportedAuthorization={_='auth.exportedAuthorization', id=int, bytes='bytes'} - -``` - - diff --git a/old_docs/API_docs_v81/constructors/auth_passwordRecovery.md b/old_docs/API_docs_v81/constructors/auth_passwordRecovery.md deleted file mode 100644 index c40f375e..00000000 --- a/old_docs/API_docs_v81/constructors/auth_passwordRecovery.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.passwordRecovery -description: Recovery info of a [2FA password](https://core.telegram.org/api/srp), only for accounts with a [recovery email configured](https://core.telegram.org/api/srp#email-verification). -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.passwordRecovery -[Back to constructors index](index.md) - - - -Recovery info of a [2FA password](https://core.telegram.org/api/srp), only for accounts with a [recovery email configured](https://core.telegram.org/api/srp#email-verification). - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|email\_pattern|[string](../types/string.md) | Yes|The email to which the recovery code was sent must match this [pattern](https://core.telegram.org/api/pattern).| - - - -### Type: [auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) - - -### Example: - -```php -$auth_passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -auth_passwordRecovery={_='auth.passwordRecovery', email_pattern='string'} - -``` - - diff --git a/old_docs/API_docs_v81/constructors/auth_sentCode.md b/old_docs/API_docs_v81/constructors/auth_sentCode.md deleted file mode 100644 index f34f844a..00000000 --- a/old_docs/API_docs_v81/constructors/auth_sentCode.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: auth.sentCode -description: Contains info about a sent verification code. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentCode -[Back to constructors index](index.md) - - - -Contains info about a sent verification code. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_registered|[Bool](../types/Bool.md) | Optional|Phone registered?| -|type|[auth\_SentCodeType](../types/auth_SentCodeType.md) | Yes|Phone code type| -|phone\_code\_hash|[string](../types/string.md) | Yes|Phone code hash, to be stored and later re-used with [auth.signIn](../methods/auth.signIn.md)| -|next\_type|[auth\_CodeType](../types/auth_CodeType.md) | Optional|Phone code type that will be sent next, if the phone code is not received within `timeout` seconds: to send it use [auth.resendCode](../methods/auth.resendCode.md)| -|timeout|[int](../types/int.md) | Optional|Timeout for reception of the phone code| -|terms\_of\_service|[help\_TermsOfService](../types/help_TermsOfService.md) | Optional|Terms of service| - - - -### Type: [auth\_SentCode](../types/auth_SentCode.md) - - -### Example: - -```php -$auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'type' => auth_SentCodeType, 'phone_code_hash' => 'string', 'next_type' => auth_CodeType, 'timeout' => int, 'terms_of_service' => help_TermsOfService]; -``` - - -Or, if you're into Lua: - -```lua -auth_sentCode={_='auth.sentCode', phone_registered=Bool, type=auth_SentCodeType, phone_code_hash='string', next_type=auth_CodeType, timeout=int, terms_of_service=help_TermsOfService} - -``` - - diff --git a/old_docs/API_docs_v81/constructors/auth_sentCodeTypeApp.md b/old_docs/API_docs_v81/constructors/auth_sentCodeTypeApp.md deleted file mode 100644 index 6b7ad824..00000000 --- a/old_docs/API_docs_v81/constructors/auth_sentCodeTypeApp.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.sentCodeTypeApp -description: The code was sent through the telegram app -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentCodeTypeApp -[Back to constructors index](index.md) - - - -The code was sent through the telegram app - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|length|[int](../types/int.md) | Yes|Length of the code in bytes| - - - -### Type: [auth\_SentCodeType](../types/auth_SentCodeType.md) - - -### Example: - -```php -$auth_sentCodeTypeApp = ['_' => 'auth.sentCodeTypeApp', 'length' => int]; -``` - - -Or, if you're into Lua: - -```lua -auth_sentCodeTypeApp={_='auth.sentCodeTypeApp', length=int} - -``` - - diff --git a/old_docs/API_docs_v81/constructors/auth_sentCodeTypeCall.md b/old_docs/API_docs_v81/constructors/auth_sentCodeTypeCall.md deleted file mode 100644 index bf025aa5..00000000 --- a/old_docs/API_docs_v81/constructors/auth_sentCodeTypeCall.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.sentCodeTypeCall -description: The code will be sent via a phone call: a synthesized voice will tell the user which verification code to input. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentCodeTypeCall -[Back to constructors index](index.md) - - - -The code will be sent via a phone call: a synthesized voice will tell the user which verification code to input. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|length|[int](../types/int.md) | Yes|Length of the verification code| - - - -### Type: [auth\_SentCodeType](../types/auth_SentCodeType.md) - - -### Example: - -```php -$auth_sentCodeTypeCall = ['_' => 'auth.sentCodeTypeCall', 'length' => int]; -``` - - -Or, if you're into Lua: - -```lua -auth_sentCodeTypeCall={_='auth.sentCodeTypeCall', length=int} - -``` - - diff --git a/old_docs/API_docs_v81/constructors/auth_sentCodeTypeFlashCall.md b/old_docs/API_docs_v81/constructors/auth_sentCodeTypeFlashCall.md deleted file mode 100644 index efe64ce7..00000000 --- a/old_docs/API_docs_v81/constructors/auth_sentCodeTypeFlashCall.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.sentCodeTypeFlashCall -description: The code will be sent via a flash phone call, that will be closed immediately. The phone code will then be the phone number itself, just make sure that the phone number matches the specified pattern. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentCodeTypeFlashCall -[Back to constructors index](index.md) - - - -The code will be sent via a flash phone call, that will be closed immediately. The phone code will then be the phone number itself, just make sure that the phone number matches the specified pattern. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pattern|[string](../types/string.md) | Yes|[pattern](https://core.telegram.org/api/pattern) to match| - - - -### Type: [auth\_SentCodeType](../types/auth_SentCodeType.md) - - -### Example: - -```php -$auth_sentCodeTypeFlashCall = ['_' => 'auth.sentCodeTypeFlashCall', 'pattern' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -auth_sentCodeTypeFlashCall={_='auth.sentCodeTypeFlashCall', pattern='string'} - -``` - - diff --git a/old_docs/API_docs_v81/constructors/auth_sentCodeTypeSms.md b/old_docs/API_docs_v81/constructors/auth_sentCodeTypeSms.md deleted file mode 100644 index 8e27dac9..00000000 --- a/old_docs/API_docs_v81/constructors/auth_sentCodeTypeSms.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.sentCodeTypeSms -description: The code was sent via SMS -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentCodeTypeSms -[Back to constructors index](index.md) - - - -The code was sent via SMS - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|length|[int](../types/int.md) | Yes|Length of the code in bytes| - - - -### Type: [auth\_SentCodeType](../types/auth_SentCodeType.md) - - -### Example: - -```php -$auth_sentCodeTypeSms = ['_' => 'auth.sentCodeTypeSms', 'length' => int]; -``` - - -Or, if you're into Lua: - -```lua -auth_sentCodeTypeSms={_='auth.sentCodeTypeSms', length=int} - -``` - - diff --git a/old_docs/API_docs_v81/constructors/channels.adminLogResults.md b/old_docs/API_docs_v81/constructors/channels.adminLogResults.md new file mode 100644 index 00000000..fc4e234a --- /dev/null +++ b/old_docs/API_docs_v81/constructors/channels.adminLogResults.md @@ -0,0 +1,40 @@ +--- +title: channels.adminLogResults +description: Admin log events +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: channels.adminLogResults +[Back to constructors index](index.md) + + + +Admin log events + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|events|Array of [ChannelAdminLogEvent](../types/ChannelAdminLogEvent.md) | Yes|Events| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [channels.AdminLogResults](../types/channels.AdminLogResults.md) + + +### Example: + +```php +$channels.adminLogResults = ['_' => 'channels.adminLogResults', 'events' => [ChannelAdminLogEvent, ChannelAdminLogEvent], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +channels.adminLogResults={_='channels.adminLogResults', events={ChannelAdminLogEvent}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v81/constructors/channels.channelParticipant.md b/old_docs/API_docs_v81/constructors/channels.channelParticipant.md new file mode 100644 index 00000000..0f09777f --- /dev/null +++ b/old_docs/API_docs_v81/constructors/channels.channelParticipant.md @@ -0,0 +1,39 @@ +--- +title: channels.channelParticipant +description: Represents a channel participant +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: channels.channelParticipant +[Back to constructors index](index.md) + + + +Represents a channel participant + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|participant|[ChannelParticipant](../types/ChannelParticipant.md) | Yes|The channel participant| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [channels.ChannelParticipant](../types/channels.ChannelParticipant.md) + + +### Example: + +```php +$channels.channelParticipant = ['_' => 'channels.channelParticipant', 'participant' => ChannelParticipant, 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +channels.channelParticipant={_='channels.channelParticipant', participant=ChannelParticipant, users={User}} + +``` + + diff --git a/old_docs/API_docs_v81/constructors/channels.channelParticipants.md b/old_docs/API_docs_v81/constructors/channels.channelParticipants.md new file mode 100644 index 00000000..6ee1a8b3 --- /dev/null +++ b/old_docs/API_docs_v81/constructors/channels.channelParticipants.md @@ -0,0 +1,40 @@ +--- +title: channels.channelParticipants +description: Represents multiple channel participants +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: channels.channelParticipants +[Back to constructors index](index.md) + + + +Represents multiple channel participants + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of participants that correspond to the given query| +|participants|Array of [ChannelParticipant](../types/ChannelParticipant.md) | Yes|Participants| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [channels.ChannelParticipants](../types/channels.ChannelParticipants.md) + + +### Example: + +```php +$channels.channelParticipants = ['_' => 'channels.channelParticipants', 'count' => int, 'participants' => [ChannelParticipant, ChannelParticipant], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +channels.channelParticipants={_='channels.channelParticipants', count=int, participants={ChannelParticipant}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v81/constructors/channels.channelParticipantsNotModified.md b/old_docs/API_docs_v81/constructors/channels.channelParticipantsNotModified.md new file mode 100644 index 00000000..37ece73a --- /dev/null +++ b/old_docs/API_docs_v81/constructors/channels.channelParticipantsNotModified.md @@ -0,0 +1,33 @@ +--- +title: channels.channelParticipantsNotModified +description: No new participant info could be found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: channels.channelParticipantsNotModified +[Back to constructors index](index.md) + + + +No new participant info could be found + + + + +### Type: [channels.ChannelParticipants](../types/channels.ChannelParticipants.md) + + +### Example: + +```php +$channels.channelParticipantsNotModified = ['_' => 'channels.channelParticipantsNotModified']; +``` + + +Or, if you're into Lua: + +```lua +channels.channelParticipantsNotModified={_='channels.channelParticipantsNotModified'} + +``` + + diff --git a/old_docs/API_docs_v81/constructors/channels_adminLogResults.md b/old_docs/API_docs_v81/constructors/channels_adminLogResults.md deleted file mode 100644 index 9061212a..00000000 --- a/old_docs/API_docs_v81/constructors/channels_adminLogResults.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: channels.adminLogResults -description: Admin log events -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: channels.adminLogResults -[Back to constructors index](index.md) - - - -Admin log events - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|events|Array of [ChannelAdminLogEvent](../types/ChannelAdminLogEvent.md) | Yes|Events| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [channels\_AdminLogResults](../types/channels_AdminLogResults.md) - - -### Example: - -```php -$channels_adminLogResults = ['_' => 'channels.adminLogResults', 'events' => [ChannelAdminLogEvent, ChannelAdminLogEvent], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -channels_adminLogResults={_='channels.adminLogResults', events={ChannelAdminLogEvent}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v81/constructors/channels_channelParticipant.md b/old_docs/API_docs_v81/constructors/channels_channelParticipant.md deleted file mode 100644 index 15fe46a4..00000000 --- a/old_docs/API_docs_v81/constructors/channels_channelParticipant.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: channels.channelParticipant -description: Represents a channel participant -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: channels.channelParticipant -[Back to constructors index](index.md) - - - -Represents a channel participant - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|participant|[ChannelParticipant](../types/ChannelParticipant.md) | Yes|The channel participant| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [channels\_ChannelParticipant](../types/channels_ChannelParticipant.md) - - -### Example: - -```php -$channels_channelParticipant = ['_' => 'channels.channelParticipant', 'participant' => ChannelParticipant, 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -channels_channelParticipant={_='channels.channelParticipant', participant=ChannelParticipant, users={User}} - -``` - - diff --git a/old_docs/API_docs_v81/constructors/channels_channelParticipants.md b/old_docs/API_docs_v81/constructors/channels_channelParticipants.md deleted file mode 100644 index 1848a04f..00000000 --- a/old_docs/API_docs_v81/constructors/channels_channelParticipants.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: channels.channelParticipants -description: Represents multiple channel participants -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: channels.channelParticipants -[Back to constructors index](index.md) - - - -Represents multiple channel participants - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of participants that correspond to the given query| -|participants|Array of [ChannelParticipant](../types/ChannelParticipant.md) | Yes|Participants| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [channels\_ChannelParticipants](../types/channels_ChannelParticipants.md) - - -### Example: - -```php -$channels_channelParticipants = ['_' => 'channels.channelParticipants', 'count' => int, 'participants' => [ChannelParticipant, ChannelParticipant], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -channels_channelParticipants={_='channels.channelParticipants', count=int, participants={ChannelParticipant}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v81/constructors/channels_channelParticipantsNotModified.md b/old_docs/API_docs_v81/constructors/channels_channelParticipantsNotModified.md deleted file mode 100644 index 800048f7..00000000 --- a/old_docs/API_docs_v81/constructors/channels_channelParticipantsNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: channels.channelParticipantsNotModified -description: No new participant info could be found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: channels.channelParticipantsNotModified -[Back to constructors index](index.md) - - - -No new participant info could be found - - - - -### Type: [channels\_ChannelParticipants](../types/channels_ChannelParticipants.md) - - -### Example: - -```php -$channels_channelParticipantsNotModified = ['_' => 'channels.channelParticipantsNotModified']; -``` - - -Or, if you're into Lua: - -```lua -channels_channelParticipantsNotModified={_='channels.channelParticipantsNotModified'} - -``` - - diff --git a/old_docs/API_docs_v81/constructors/contacts.blocked.md b/old_docs/API_docs_v81/constructors/contacts.blocked.md new file mode 100644 index 00000000..d2b3f680 --- /dev/null +++ b/old_docs/API_docs_v81/constructors/contacts.blocked.md @@ -0,0 +1,39 @@ +--- +title: contacts.blocked +description: Full list of blocked users. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.blocked +[Back to constructors index](index.md) + + + +Full list of blocked users. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Blocked](../types/contacts.Blocked.md) + + +### Example: + +```php +$contacts.blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.blocked={_='contacts.blocked', blocked={ContactBlocked}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v81/constructors/contacts.blockedSlice.md b/old_docs/API_docs_v81/constructors/contacts.blockedSlice.md new file mode 100644 index 00000000..92d19c72 --- /dev/null +++ b/old_docs/API_docs_v81/constructors/contacts.blockedSlice.md @@ -0,0 +1,40 @@ +--- +title: contacts.blockedSlice +description: Incomplete list of blocked users. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.blockedSlice +[Back to constructors index](index.md) + + + +Incomplete list of blocked users. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of elements in the list| +|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Blocked](../types/contacts.Blocked.md) + + +### Example: + +```php +$contacts.blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.blockedSlice={_='contacts.blockedSlice', count=int, blocked={ContactBlocked}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v81/constructors/contacts.contacts.md b/old_docs/API_docs_v81/constructors/contacts.contacts.md new file mode 100644 index 00000000..c3251e5d --- /dev/null +++ b/old_docs/API_docs_v81/constructors/contacts.contacts.md @@ -0,0 +1,40 @@ +--- +title: contacts.contacts +description: The current user's contact list and info on users. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.contacts +[Back to constructors index](index.md) + + + +The current user's contact list and info on users. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|contacts|Array of [Contact](../types/Contact.md) | Yes|Contacts| +|saved\_count|[int](../types/int.md) | Yes|Number of contacts that were saved successfully| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Contacts](../types/contacts.Contacts.md) + + +### Example: + +```php +$contacts.contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact, Contact], 'saved_count' => int, 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.contacts={_='contacts.contacts', contacts={Contact}, saved_count=int, users={User}} + +``` + + diff --git a/old_docs/API_docs_v81/constructors/contacts.contactsNotModified.md b/old_docs/API_docs_v81/constructors/contacts.contactsNotModified.md new file mode 100644 index 00000000..e2149396 --- /dev/null +++ b/old_docs/API_docs_v81/constructors/contacts.contactsNotModified.md @@ -0,0 +1,33 @@ +--- +title: contacts.contactsNotModified +description: Contact list on the server is the same as the list on the client. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.contactsNotModified +[Back to constructors index](index.md) + + + +Contact list on the server is the same as the list on the client. + + + + +### Type: [contacts.Contacts](../types/contacts.Contacts.md) + + +### Example: + +```php +$contacts.contactsNotModified = ['_' => 'contacts.contactsNotModified']; +``` + + +Or, if you're into Lua: + +```lua +contacts.contactsNotModified={_='contacts.contactsNotModified'} + +``` + + diff --git a/old_docs/API_docs_v81/constructors/contacts.found.md b/old_docs/API_docs_v81/constructors/contacts.found.md new file mode 100644 index 00000000..65df2f8d --- /dev/null +++ b/old_docs/API_docs_v81/constructors/contacts.found.md @@ -0,0 +1,41 @@ +--- +title: contacts.found +description: Users found by name substring and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.found +[Back to constructors index](index.md) + + + +Users found by name substring and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|my\_results|Array of [Peer](../types/Peer.md) | Yes|My results| +|results|Array of [Peer](../types/Peer.md) | Yes|Results| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Found](../types/contacts.Found.md) + + +### Example: + +```php +$contacts.found = ['_' => 'contacts.found', 'my_results' => [Peer, Peer], 'results' => [Peer, Peer], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.found={_='contacts.found', my_results={Peer}, results={Peer}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v81/constructors/contacts.importedContacts.md b/old_docs/API_docs_v81/constructors/contacts.importedContacts.md new file mode 100644 index 00000000..20075931 --- /dev/null +++ b/old_docs/API_docs_v81/constructors/contacts.importedContacts.md @@ -0,0 +1,41 @@ +--- +title: contacts.importedContacts +description: Info on succesfully imported contacts. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.importedContacts +[Back to constructors index](index.md) + + + +Info on succesfully imported contacts. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|imported|Array of [ImportedContact](../types/ImportedContact.md) | Yes|Imported| +|popular\_invites|Array of [PopularContact](../types/PopularContact.md) | Yes|Popular invites| +|retry\_contacts|Array of [long](../types/long.md) | Yes|Retry importing contacts whose client IDs appear here| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.ImportedContacts](../types/contacts.ImportedContacts.md) + + +### Example: + +```php +$contacts.importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact, ImportedContact], 'popular_invites' => [PopularContact, PopularContact], 'retry_contacts' => [long, long], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.importedContacts={_='contacts.importedContacts', imported={ImportedContact}, popular_invites={PopularContact}, retry_contacts={long}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v81/constructors/contacts.link.md b/old_docs/API_docs_v81/constructors/contacts.link.md new file mode 100644 index 00000000..ab150a0d --- /dev/null +++ b/old_docs/API_docs_v81/constructors/contacts.link.md @@ -0,0 +1,40 @@ +--- +title: contacts.link +description: Link +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.link +[Back to constructors index](index.md) + + + +Link + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|my\_link|[ContactLink](../types/ContactLink.md) | Yes|My link| +|foreign\_link|[ContactLink](../types/ContactLink.md) | Yes|Foreign link| +|user|[User](../types/User.md) | Optional|User| + + + +### Type: [contacts.Link](../types/contacts.Link.md) + + +### Example: + +```php +$contacts.link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User]; +``` + + +Or, if you're into Lua: + +```lua +contacts.link={_='contacts.link', my_link=ContactLink, foreign_link=ContactLink, user=User} + +``` + + diff --git a/old_docs/API_docs_v81/constructors/contacts.resolvedPeer.md b/old_docs/API_docs_v81/constructors/contacts.resolvedPeer.md new file mode 100644 index 00000000..35d88481 --- /dev/null +++ b/old_docs/API_docs_v81/constructors/contacts.resolvedPeer.md @@ -0,0 +1,40 @@ +--- +title: contacts.resolvedPeer +description: Resolved peer +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.resolvedPeer +[Back to constructors index](index.md) + + + +Resolved peer + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|peer|[Peer](../types/Peer.md) | Yes|The peer| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.ResolvedPeer](../types/contacts.ResolvedPeer.md) + + +### Example: + +```php +$contacts.resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.resolvedPeer={_='contacts.resolvedPeer', peer=Peer, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v81/constructors/contacts.topPeers.md b/old_docs/API_docs_v81/constructors/contacts.topPeers.md new file mode 100644 index 00000000..19d9c712 --- /dev/null +++ b/old_docs/API_docs_v81/constructors/contacts.topPeers.md @@ -0,0 +1,40 @@ +--- +title: contacts.topPeers +description: Top peers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.topPeers +[Back to constructors index](index.md) + + + +Top peers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|categories|Array of [TopPeerCategoryPeers](../types/TopPeerCategoryPeers.md) | Yes|Categories| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.TopPeers](../types/contacts.TopPeers.md) + + +### Example: + +```php +$contacts.topPeers = ['_' => 'contacts.topPeers', 'categories' => [TopPeerCategoryPeers, TopPeerCategoryPeers], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.topPeers={_='contacts.topPeers', categories={TopPeerCategoryPeers}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v81/constructors/contacts.topPeersNotModified.md b/old_docs/API_docs_v81/constructors/contacts.topPeersNotModified.md new file mode 100644 index 00000000..77c5eb4d --- /dev/null +++ b/old_docs/API_docs_v81/constructors/contacts.topPeersNotModified.md @@ -0,0 +1,33 @@ +--- +title: contacts.topPeersNotModified +description: Top peer info hasn't changed +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.topPeersNotModified +[Back to constructors index](index.md) + + + +Top peer info hasn't changed + + + + +### Type: [contacts.TopPeers](../types/contacts.TopPeers.md) + + +### Example: + +```php +$contacts.topPeersNotModified = ['_' => 'contacts.topPeersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +contacts.topPeersNotModified={_='contacts.topPeersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v81/constructors/contacts_blocked.md b/old_docs/API_docs_v81/constructors/contacts_blocked.md deleted file mode 100644 index 20e33002..00000000 --- a/old_docs/API_docs_v81/constructors/contacts_blocked.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: contacts.blocked -description: Full list of blocked users. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.blocked -[Back to constructors index](index.md) - - - -Full list of blocked users. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Blocked](../types/contacts_Blocked.md) - - -### Example: - -```php -$contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_blocked={_='contacts.blocked', blocked={ContactBlocked}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v81/constructors/contacts_blockedSlice.md b/old_docs/API_docs_v81/constructors/contacts_blockedSlice.md deleted file mode 100644 index fcab9a28..00000000 --- a/old_docs/API_docs_v81/constructors/contacts_blockedSlice.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.blockedSlice -description: Incomplete list of blocked users. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.blockedSlice -[Back to constructors index](index.md) - - - -Incomplete list of blocked users. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of elements in the list| -|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Blocked](../types/contacts_Blocked.md) - - -### Example: - -```php -$contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_blockedSlice={_='contacts.blockedSlice', count=int, blocked={ContactBlocked}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v81/constructors/contacts_contacts.md b/old_docs/API_docs_v81/constructors/contacts_contacts.md deleted file mode 100644 index 0e6f0dd3..00000000 --- a/old_docs/API_docs_v81/constructors/contacts_contacts.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.contacts -description: The current user's contact list and info on users. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.contacts -[Back to constructors index](index.md) - - - -The current user's contact list and info on users. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|contacts|Array of [Contact](../types/Contact.md) | Yes|Contacts| -|saved\_count|[int](../types/int.md) | Yes|Number of contacts that were saved successfully| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Contacts](../types/contacts_Contacts.md) - - -### Example: - -```php -$contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact, Contact], 'saved_count' => int, 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_contacts={_='contacts.contacts', contacts={Contact}, saved_count=int, users={User}} - -``` - - diff --git a/old_docs/API_docs_v81/constructors/contacts_contactsNotModified.md b/old_docs/API_docs_v81/constructors/contacts_contactsNotModified.md deleted file mode 100644 index 17e76ac3..00000000 --- a/old_docs/API_docs_v81/constructors/contacts_contactsNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: contacts.contactsNotModified -description: Contact list on the server is the same as the list on the client. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.contactsNotModified -[Back to constructors index](index.md) - - - -Contact list on the server is the same as the list on the client. - - - - -### Type: [contacts\_Contacts](../types/contacts_Contacts.md) - - -### Example: - -```php -$contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified']; -``` - - -Or, if you're into Lua: - -```lua -contacts_contactsNotModified={_='contacts.contactsNotModified'} - -``` - - diff --git a/old_docs/API_docs_v81/constructors/contacts_found.md b/old_docs/API_docs_v81/constructors/contacts_found.md deleted file mode 100644 index 76b9aa0c..00000000 --- a/old_docs/API_docs_v81/constructors/contacts_found.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: contacts.found -description: Users found by name substring and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.found -[Back to constructors index](index.md) - - - -Users found by name substring and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|my\_results|Array of [Peer](../types/Peer.md) | Yes|My results| -|results|Array of [Peer](../types/Peer.md) | Yes|Results| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Found](../types/contacts_Found.md) - - -### Example: - -```php -$contacts_found = ['_' => 'contacts.found', 'my_results' => [Peer, Peer], 'results' => [Peer, Peer], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_found={_='contacts.found', my_results={Peer}, results={Peer}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v81/constructors/contacts_importedContacts.md b/old_docs/API_docs_v81/constructors/contacts_importedContacts.md deleted file mode 100644 index e534754b..00000000 --- a/old_docs/API_docs_v81/constructors/contacts_importedContacts.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: contacts.importedContacts -description: Info on succesfully imported contacts. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.importedContacts -[Back to constructors index](index.md) - - - -Info on succesfully imported contacts. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|imported|Array of [ImportedContact](../types/ImportedContact.md) | Yes|Imported| -|popular\_invites|Array of [PopularContact](../types/PopularContact.md) | Yes|Popular invites| -|retry\_contacts|Array of [long](../types/long.md) | Yes|Retry importing contacts whose client IDs appear here| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) - - -### Example: - -```php -$contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact, ImportedContact], 'popular_invites' => [PopularContact, PopularContact], 'retry_contacts' => [long, long], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_importedContacts={_='contacts.importedContacts', imported={ImportedContact}, popular_invites={PopularContact}, retry_contacts={long}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v81/constructors/contacts_link.md b/old_docs/API_docs_v81/constructors/contacts_link.md deleted file mode 100644 index cfc566c7..00000000 --- a/old_docs/API_docs_v81/constructors/contacts_link.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.link -description: Link -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.link -[Back to constructors index](index.md) - - - -Link - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|my\_link|[ContactLink](../types/ContactLink.md) | Yes|My link| -|foreign\_link|[ContactLink](../types/ContactLink.md) | Yes|Foreign link| -|user|[User](../types/User.md) | Optional|User| - - - -### Type: [contacts\_Link](../types/contacts_Link.md) - - -### Example: - -```php -$contacts_link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User]; -``` - - -Or, if you're into Lua: - -```lua -contacts_link={_='contacts.link', my_link=ContactLink, foreign_link=ContactLink, user=User} - -``` - - diff --git a/old_docs/API_docs_v81/constructors/contacts_resolvedPeer.md b/old_docs/API_docs_v81/constructors/contacts_resolvedPeer.md deleted file mode 100644 index aae3c7af..00000000 --- a/old_docs/API_docs_v81/constructors/contacts_resolvedPeer.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.resolvedPeer -description: Resolved peer -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.resolvedPeer -[Back to constructors index](index.md) - - - -Resolved peer - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|peer|[Peer](../types/Peer.md) | Yes|The peer| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_ResolvedPeer](../types/contacts_ResolvedPeer.md) - - -### Example: - -```php -$contacts_resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_resolvedPeer={_='contacts.resolvedPeer', peer=Peer, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v81/constructors/contacts_topPeers.md b/old_docs/API_docs_v81/constructors/contacts_topPeers.md deleted file mode 100644 index 77bc07d3..00000000 --- a/old_docs/API_docs_v81/constructors/contacts_topPeers.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.topPeers -description: Top peers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.topPeers -[Back to constructors index](index.md) - - - -Top peers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|categories|Array of [TopPeerCategoryPeers](../types/TopPeerCategoryPeers.md) | Yes|Categories| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_TopPeers](../types/contacts_TopPeers.md) - - -### Example: - -```php -$contacts_topPeers = ['_' => 'contacts.topPeers', 'categories' => [TopPeerCategoryPeers, TopPeerCategoryPeers], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_topPeers={_='contacts.topPeers', categories={TopPeerCategoryPeers}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v81/constructors/contacts_topPeersNotModified.md b/old_docs/API_docs_v81/constructors/contacts_topPeersNotModified.md deleted file mode 100644 index 43eae59d..00000000 --- a/old_docs/API_docs_v81/constructors/contacts_topPeersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: contacts.topPeersNotModified -description: Top peer info hasn't changed -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.topPeersNotModified -[Back to constructors index](index.md) - - - -Top peer info hasn't changed - - - - -### Type: [contacts\_TopPeers](../types/contacts_TopPeers.md) - - -### Example: - -```php -$contacts_topPeersNotModified = ['_' => 'contacts.topPeersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -contacts_topPeersNotModified={_='contacts.topPeersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v81/constructors/help.appUpdate.md b/old_docs/API_docs_v81/constructors/help.appUpdate.md new file mode 100644 index 00000000..14b2d75b --- /dev/null +++ b/old_docs/API_docs_v81/constructors/help.appUpdate.md @@ -0,0 +1,41 @@ +--- +title: help.appUpdate +description: An update is available for the application. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.appUpdate +[Back to constructors index](index.md) + + + +An update is available for the application. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|id|[int](../types/int.md) | Yes|Update ID| +|critical|[Bool](../types/Bool.md) | Yes|Critical?| +|url|[string](../types/string.md) | Yes|Application download URL| +|text|[string](../types/string.md) | Yes|Text description of the update| + + + +### Type: [help.AppUpdate](../types/help.AppUpdate.md) + + +### Example: + +```php +$help.appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'url' => 'string', 'text' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +help.appUpdate={_='help.appUpdate', id=int, critical=Bool, url='string', text='string'} + +``` + + diff --git a/old_docs/API_docs_v81/constructors/help.configSimple.md b/old_docs/API_docs_v81/constructors/help.configSimple.md new file mode 100644 index 00000000..4070e1ce --- /dev/null +++ b/old_docs/API_docs_v81/constructors/help.configSimple.md @@ -0,0 +1,40 @@ +--- +title: help.configSimple +description: Config simple +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.configSimple +[Back to constructors index](index.md) + + + +Config simple + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Date| +|expires|[int](../types/int.md) | Yes|Expires| +|rules|Array of [AccessPointRule](../types/AccessPointRule.md) | Yes|Rules| + + + +### Type: [help.ConfigSimple](../types/help.ConfigSimple.md) + + +### Example: + +```php +$help.configSimple = ['_' => 'help.configSimple', 'date' => int, 'expires' => int, 'rules' => [AccessPointRule, AccessPointRule]]; +``` + + +Or, if you're into Lua: + +```lua +help.configSimple={_='help.configSimple', date=int, expires=int, rules={AccessPointRule}} + +``` + + diff --git a/old_docs/API_docs_v81/constructors/help.deepLinkInfo.md b/old_docs/API_docs_v81/constructors/help.deepLinkInfo.md new file mode 100644 index 00000000..78f70af0 --- /dev/null +++ b/old_docs/API_docs_v81/constructors/help.deepLinkInfo.md @@ -0,0 +1,40 @@ +--- +title: help.deepLinkInfo +description: Deep linking info +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.deepLinkInfo +[Back to constructors index](index.md) + + + +Deep linking info + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|update\_app|[Bool](../types/Bool.md) | Optional|An update of the app is required to parse this link| +|message|[string](../types/string.md) | Yes|Message to show to the user| +|entities|Array of [MessageEntity](../types/MessageEntity.md) | Optional|Entities| + + + +### Type: [help.DeepLinkInfo](../types/help.DeepLinkInfo.md) + + +### Example: + +```php +$help.deepLinkInfo = ['_' => 'help.deepLinkInfo', 'update_app' => Bool, 'message' => 'string', 'entities' => [MessageEntity, MessageEntity]]; +``` + + +Or, if you're into Lua: + +```lua +help.deepLinkInfo={_='help.deepLinkInfo', update_app=Bool, message='string', entities={MessageEntity}} + +``` + + diff --git a/old_docs/API_docs_v81/constructors/help.deepLinkInfoEmpty.md b/old_docs/API_docs_v81/constructors/help.deepLinkInfoEmpty.md new file mode 100644 index 00000000..dc99166c --- /dev/null +++ b/old_docs/API_docs_v81/constructors/help.deepLinkInfoEmpty.md @@ -0,0 +1,33 @@ +--- +title: help.deepLinkInfoEmpty +description: Deep link info empty +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.deepLinkInfoEmpty +[Back to constructors index](index.md) + + + +Deep link info empty + + + + +### Type: [help.DeepLinkInfo](../types/help.DeepLinkInfo.md) + + +### Example: + +```php +$help.deepLinkInfoEmpty = ['_' => 'help.deepLinkInfoEmpty']; +``` + + +Or, if you're into Lua: + +```lua +help.deepLinkInfoEmpty={_='help.deepLinkInfoEmpty'} + +``` + + diff --git a/old_docs/API_docs_v81/constructors/help.inviteText.md b/old_docs/API_docs_v81/constructors/help.inviteText.md new file mode 100644 index 00000000..6a6261c1 --- /dev/null +++ b/old_docs/API_docs_v81/constructors/help.inviteText.md @@ -0,0 +1,38 @@ +--- +title: help.inviteText +description: Text of a text message with an invitation to install application. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.inviteText +[Back to constructors index](index.md) + + + +Text of a text message with an invitation to install application. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|message|[string](../types/string.md) | Yes|Text of a message| + + + +### Type: [help.InviteText](../types/help.InviteText.md) + + +### Example: + +```php +$help.inviteText = ['_' => 'help.inviteText', 'message' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +help.inviteText={_='help.inviteText', message='string'} + +``` + + diff --git a/old_docs/API_docs_v81/constructors/help.noAppUpdate.md b/old_docs/API_docs_v81/constructors/help.noAppUpdate.md new file mode 100644 index 00000000..1b69ac9a --- /dev/null +++ b/old_docs/API_docs_v81/constructors/help.noAppUpdate.md @@ -0,0 +1,33 @@ +--- +title: help.noAppUpdate +description: No updates are available for the application. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.noAppUpdate +[Back to constructors index](index.md) + + + +No updates are available for the application. + + + + +### Type: [help.AppUpdate](../types/help.AppUpdate.md) + + +### Example: + +```php +$help.noAppUpdate = ['_' => 'help.noAppUpdate']; +``` + + +Or, if you're into Lua: + +```lua +help.noAppUpdate={_='help.noAppUpdate'} + +``` + + diff --git a/old_docs/API_docs_v81/constructors/help.proxyDataEmpty.md b/old_docs/API_docs_v81/constructors/help.proxyDataEmpty.md new file mode 100644 index 00000000..66fd63ac --- /dev/null +++ b/old_docs/API_docs_v81/constructors/help.proxyDataEmpty.md @@ -0,0 +1,38 @@ +--- +title: help.proxyDataEmpty +description: No proxy was used to connect to tg (or none was provided to [initConnection](../methods/initConnection.md), or the used proxy doesn't have a promotion channel associated to it) +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.proxyDataEmpty +[Back to constructors index](index.md) + + + +No proxy was used to connect to tg (or none was provided to [initConnection](../methods/initConnection.md), or the used proxy doesn't have a promotion channel associated to it) + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|expires|[int](../types/int.md) | Yes|Expiration date of proxy info, will have to be refetched in `expires` seconds| + + + +### Type: [help.ProxyData](../types/help.ProxyData.md) + + +### Example: + +```php +$help.proxyDataEmpty = ['_' => 'help.proxyDataEmpty', 'expires' => int]; +``` + + +Or, if you're into Lua: + +```lua +help.proxyDataEmpty={_='help.proxyDataEmpty', expires=int} + +``` + + diff --git a/old_docs/API_docs_v81/constructors/help.proxyDataPromo.md b/old_docs/API_docs_v81/constructors/help.proxyDataPromo.md new file mode 100644 index 00000000..eb32aabd --- /dev/null +++ b/old_docs/API_docs_v81/constructors/help.proxyDataPromo.md @@ -0,0 +1,41 @@ +--- +title: help.proxyDataPromo +description: Promotion channel associated to a certain MTProxy +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.proxyDataPromo +[Back to constructors index](index.md) + + + +Promotion channel associated to a certain MTProxy + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|expires|[int](../types/int.md) | Yes|Expiration date of proxy info, will have to be refetched in `expires` seconds| +|peer|[Peer](../types/Peer.md) | Yes|The promoted channel| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [help.ProxyData](../types/help.ProxyData.md) + + +### Example: + +```php +$help.proxyDataPromo = ['_' => 'help.proxyDataPromo', 'expires' => int, 'peer' => Peer, 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +help.proxyDataPromo={_='help.proxyDataPromo', expires=int, peer=Peer, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v81/constructors/help.recentMeUrls.md b/old_docs/API_docs_v81/constructors/help.recentMeUrls.md new file mode 100644 index 00000000..711407b7 --- /dev/null +++ b/old_docs/API_docs_v81/constructors/help.recentMeUrls.md @@ -0,0 +1,40 @@ +--- +title: help.recentMeUrls +description: Recent t.me URLs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.recentMeUrls +[Back to constructors index](index.md) + + + +Recent t.me URLs + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|urls|Array of [RecentMeUrl](../types/RecentMeUrl.md) | Yes|URLs| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [help.RecentMeUrls](../types/help.RecentMeUrls.md) + + +### Example: + +```php +$help.recentMeUrls = ['_' => 'help.recentMeUrls', 'urls' => [RecentMeUrl, RecentMeUrl], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +help.recentMeUrls={_='help.recentMeUrls', urls={RecentMeUrl}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v81/constructors/help.support.md b/old_docs/API_docs_v81/constructors/help.support.md new file mode 100644 index 00000000..4d4f85fb --- /dev/null +++ b/old_docs/API_docs_v81/constructors/help.support.md @@ -0,0 +1,39 @@ +--- +title: help.support +description: Info on support user. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.support +[Back to constructors index](index.md) + + + +Info on support user. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_number|[string](../types/string.md) | Yes|Phone number| +|user|[User](../types/User.md) | Optional|User| + + + +### Type: [help.Support](../types/help.Support.md) + + +### Example: + +```php +$help.support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => User]; +``` + + +Or, if you're into Lua: + +```lua +help.support={_='help.support', phone_number='string', user=User} + +``` + + diff --git a/old_docs/API_docs_v81/constructors/help.termsOfService.md b/old_docs/API_docs_v81/constructors/help.termsOfService.md new file mode 100644 index 00000000..3040828d --- /dev/null +++ b/old_docs/API_docs_v81/constructors/help.termsOfService.md @@ -0,0 +1,42 @@ +--- +title: help.termsOfService +description: Info about the latest telegram Terms Of Service +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.termsOfService +[Back to constructors index](index.md) + + + +Info about the latest telegram Terms Of Service + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|popup|[Bool](../types/Bool.md) | Optional|Whether a prompt must be showed to the user, in order to accept the new terms.| +|id|[DataJSON](../types/DataJSON.md) | Yes|ID of the new terms| +|text|[string](../types/string.md) | Yes|Text of the new terms| +|entities|Array of [MessageEntity](../types/MessageEntity.md) | Yes|Entities| +|min\_age\_confirm|[int](../types/int.md) | Optional|Minimum age required to sign up to telegram, the user must confirm that they is older than the minimum age.| + + + +### Type: [help.wTermsOfService](../types/help.wTermsOfService.md) + + +### Example: + +```php +$help.termsOfService = ['_' => 'help.termsOfService', 'popup' => Bool, 'id' => DataJSON, 'text' => 'string', 'entities' => [MessageEntity, MessageEntity], 'min_age_confirm' => int]; +``` + + +Or, if you're into Lua: + +```lua +help.termsOfService={_='help.termsOfService', popup=Bool, id=DataJSON, text='string', entities={MessageEntity}, min_age_confirm=int} + +``` + + diff --git a/old_docs/API_docs_v81/constructors/help.termsOfServiceUpdate.md b/old_docs/API_docs_v81/constructors/help.termsOfServiceUpdate.md new file mode 100644 index 00000000..058a3655 --- /dev/null +++ b/old_docs/API_docs_v81/constructors/help.termsOfServiceUpdate.md @@ -0,0 +1,39 @@ +--- +title: help.termsOfServiceUpdate +description: Info about an update of telegram's terms of service. If the terms of service are declined, then the [account.deleteAccount](../methods/account.deleteAccount.md) method should be called with the reason "Decline ToS update" +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.termsOfServiceUpdate +[Back to constructors index](index.md) + + + +Info about an update of telegram's terms of service. If the terms of service are declined, then the [account.deleteAccount](../methods/account.deleteAccount.md) method should be called with the reason "Decline ToS update" + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|expires|[int](../types/int.md) | Yes|New TOS updates will have to be queried using [help.getTermsOfServiceUpdate](../methods/help.getTermsOfServiceUpdate.md) in `expires` seconds| +|terms\_of\_service|[help.TermsOfService](../constructors/help.TermsOfService.md) | Yes|New terms of service| + + + +### Type: [help.TermsOfServiceUpdate](../types/help.TermsOfServiceUpdate.md) + + +### Example: + +```php +$help.termsOfServiceUpdate = ['_' => 'help.termsOfServiceUpdate', 'expires' => int, 'terms_of_service' => help.TermsOfService]; +``` + + +Or, if you're into Lua: + +```lua +help.termsOfServiceUpdate={_='help.termsOfServiceUpdate', expires=int, terms_of_service=help.TermsOfService} + +``` + + diff --git a/old_docs/API_docs_v81/constructors/help.termsOfServiceUpdateEmpty.md b/old_docs/API_docs_v81/constructors/help.termsOfServiceUpdateEmpty.md new file mode 100644 index 00000000..8213a41e --- /dev/null +++ b/old_docs/API_docs_v81/constructors/help.termsOfServiceUpdateEmpty.md @@ -0,0 +1,38 @@ +--- +title: help.termsOfServiceUpdateEmpty +description: No changes were made to telegram's terms of service +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.termsOfServiceUpdateEmpty +[Back to constructors index](index.md) + + + +No changes were made to telegram's terms of service + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|expires|[int](../types/int.md) | Yes|New TOS updates will have to be queried using [help.getTermsOfServiceUpdate](../methods/help.getTermsOfServiceUpdate.md) in `expires` seconds| + + + +### Type: [help.TermsOfServiceUpdate](../types/help.TermsOfServiceUpdate.md) + + +### Example: + +```php +$help.termsOfServiceUpdateEmpty = ['_' => 'help.termsOfServiceUpdateEmpty', 'expires' => int]; +``` + + +Or, if you're into Lua: + +```lua +help.termsOfServiceUpdateEmpty={_='help.termsOfServiceUpdateEmpty', expires=int} + +``` + + diff --git a/old_docs/API_docs_v81/constructors/help_appUpdate.md b/old_docs/API_docs_v81/constructors/help_appUpdate.md deleted file mode 100644 index efba9bdb..00000000 --- a/old_docs/API_docs_v81/constructors/help_appUpdate.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: help.appUpdate -description: An update is available for the application. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.appUpdate -[Back to constructors index](index.md) - - - -An update is available for the application. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|id|[int](../types/int.md) | Yes|Update ID| -|critical|[Bool](../types/Bool.md) | Yes|Critical?| -|url|[string](../types/string.md) | Yes|Application download URL| -|text|[string](../types/string.md) | Yes|Text description of the update| - - - -### Type: [help\_AppUpdate](../types/help_AppUpdate.md) - - -### Example: - -```php -$help_appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'url' => 'string', 'text' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -help_appUpdate={_='help.appUpdate', id=int, critical=Bool, url='string', text='string'} - -``` - - diff --git a/old_docs/API_docs_v81/constructors/help_configSimple.md b/old_docs/API_docs_v81/constructors/help_configSimple.md deleted file mode 100644 index 8c07ec9b..00000000 --- a/old_docs/API_docs_v81/constructors/help_configSimple.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: help.configSimple -description: Config simple -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.configSimple -[Back to constructors index](index.md) - - - -Config simple - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Date| -|expires|[int](../types/int.md) | Yes|Expires| -|rules|Array of [AccessPointRule](../types/AccessPointRule.md) | Yes|Rules| - - - -### Type: [help\_ConfigSimple](../types/help_ConfigSimple.md) - - -### Example: - -```php -$help_configSimple = ['_' => 'help.configSimple', 'date' => int, 'expires' => int, 'rules' => [AccessPointRule, AccessPointRule]]; -``` - - -Or, if you're into Lua: - -```lua -help_configSimple={_='help.configSimple', date=int, expires=int, rules={AccessPointRule}} - -``` - - diff --git a/old_docs/API_docs_v81/constructors/help_deepLinkInfo.md b/old_docs/API_docs_v81/constructors/help_deepLinkInfo.md deleted file mode 100644 index bcc24ecd..00000000 --- a/old_docs/API_docs_v81/constructors/help_deepLinkInfo.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: help.deepLinkInfo -description: Deep linking info -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.deepLinkInfo -[Back to constructors index](index.md) - - - -Deep linking info - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|update\_app|[Bool](../types/Bool.md) | Optional|An update of the app is required to parse this link| -|message|[string](../types/string.md) | Yes|Message to show to the user| -|entities|Array of [MessageEntity](../types/MessageEntity.md) | Optional|Entities| - - - -### Type: [help\_DeepLinkInfo](../types/help_DeepLinkInfo.md) - - -### Example: - -```php -$help_deepLinkInfo = ['_' => 'help.deepLinkInfo', 'update_app' => Bool, 'message' => 'string', 'entities' => [MessageEntity, MessageEntity]]; -``` - - -Or, if you're into Lua: - -```lua -help_deepLinkInfo={_='help.deepLinkInfo', update_app=Bool, message='string', entities={MessageEntity}} - -``` - - diff --git a/old_docs/API_docs_v81/constructors/help_deepLinkInfoEmpty.md b/old_docs/API_docs_v81/constructors/help_deepLinkInfoEmpty.md deleted file mode 100644 index ab876dd5..00000000 --- a/old_docs/API_docs_v81/constructors/help_deepLinkInfoEmpty.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: help.deepLinkInfoEmpty -description: Deep link info empty -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.deepLinkInfoEmpty -[Back to constructors index](index.md) - - - -Deep link info empty - - - - -### Type: [help\_DeepLinkInfo](../types/help_DeepLinkInfo.md) - - -### Example: - -```php -$help_deepLinkInfoEmpty = ['_' => 'help.deepLinkInfoEmpty']; -``` - - -Or, if you're into Lua: - -```lua -help_deepLinkInfoEmpty={_='help.deepLinkInfoEmpty'} - -``` - - diff --git a/old_docs/API_docs_v81/constructors/help_inviteText.md b/old_docs/API_docs_v81/constructors/help_inviteText.md deleted file mode 100644 index b8317ce3..00000000 --- a/old_docs/API_docs_v81/constructors/help_inviteText.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: help.inviteText -description: Text of a text message with an invitation to install application. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.inviteText -[Back to constructors index](index.md) - - - -Text of a text message with an invitation to install application. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|message|[string](../types/string.md) | Yes|Text of a message| - - - -### Type: [help\_InviteText](../types/help_InviteText.md) - - -### Example: - -```php -$help_inviteText = ['_' => 'help.inviteText', 'message' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -help_inviteText={_='help.inviteText', message='string'} - -``` - - diff --git a/old_docs/API_docs_v81/constructors/help_noAppUpdate.md b/old_docs/API_docs_v81/constructors/help_noAppUpdate.md deleted file mode 100644 index 51505e52..00000000 --- a/old_docs/API_docs_v81/constructors/help_noAppUpdate.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: help.noAppUpdate -description: No updates are available for the application. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.noAppUpdate -[Back to constructors index](index.md) - - - -No updates are available for the application. - - - - -### Type: [help\_AppUpdate](../types/help_AppUpdate.md) - - -### Example: - -```php -$help_noAppUpdate = ['_' => 'help.noAppUpdate']; -``` - - -Or, if you're into Lua: - -```lua -help_noAppUpdate={_='help.noAppUpdate'} - -``` - - diff --git a/old_docs/API_docs_v81/constructors/help_proxyDataEmpty.md b/old_docs/API_docs_v81/constructors/help_proxyDataEmpty.md deleted file mode 100644 index 96efddd3..00000000 --- a/old_docs/API_docs_v81/constructors/help_proxyDataEmpty.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: help.proxyDataEmpty -description: No proxy was used to connect to tg (or none was provided to [initConnection](../methods/initConnection.md), or the used proxy doesn't have a promotion channel associated to it) -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.proxyDataEmpty -[Back to constructors index](index.md) - - - -No proxy was used to connect to tg (or none was provided to [initConnection](../methods/initConnection.md), or the used proxy doesn't have a promotion channel associated to it) - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|expires|[int](../types/int.md) | Yes|Expiration date of proxy info, will have to be refetched in `expires` seconds| - - - -### Type: [help\_ProxyData](../types/help_ProxyData.md) - - -### Example: - -```php -$help_proxyDataEmpty = ['_' => 'help.proxyDataEmpty', 'expires' => int]; -``` - - -Or, if you're into Lua: - -```lua -help_proxyDataEmpty={_='help.proxyDataEmpty', expires=int} - -``` - - diff --git a/old_docs/API_docs_v81/constructors/help_proxyDataPromo.md b/old_docs/API_docs_v81/constructors/help_proxyDataPromo.md deleted file mode 100644 index 54ca7edb..00000000 --- a/old_docs/API_docs_v81/constructors/help_proxyDataPromo.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: help.proxyDataPromo -description: Promotion channel associated to a certain MTProxy -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.proxyDataPromo -[Back to constructors index](index.md) - - - -Promotion channel associated to a certain MTProxy - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|expires|[int](../types/int.md) | Yes|Expiration date of proxy info, will have to be refetched in `expires` seconds| -|peer|[Peer](../types/Peer.md) | Yes|The promoted channel| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [help\_ProxyData](../types/help_ProxyData.md) - - -### Example: - -```php -$help_proxyDataPromo = ['_' => 'help.proxyDataPromo', 'expires' => int, 'peer' => Peer, 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -help_proxyDataPromo={_='help.proxyDataPromo', expires=int, peer=Peer, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v81/constructors/help_recentMeUrls.md b/old_docs/API_docs_v81/constructors/help_recentMeUrls.md deleted file mode 100644 index 7bf592ef..00000000 --- a/old_docs/API_docs_v81/constructors/help_recentMeUrls.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: help.recentMeUrls -description: Recent t.me URLs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.recentMeUrls -[Back to constructors index](index.md) - - - -Recent t.me URLs - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|urls|Array of [RecentMeUrl](../types/RecentMeUrl.md) | Yes|URLs| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [help\_RecentMeUrls](../types/help_RecentMeUrls.md) - - -### Example: - -```php -$help_recentMeUrls = ['_' => 'help.recentMeUrls', 'urls' => [RecentMeUrl, RecentMeUrl], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -help_recentMeUrls={_='help.recentMeUrls', urls={RecentMeUrl}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v81/constructors/help_support.md b/old_docs/API_docs_v81/constructors/help_support.md deleted file mode 100644 index 148f7f42..00000000 --- a/old_docs/API_docs_v81/constructors/help_support.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: help.support -description: Info on support user. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.support -[Back to constructors index](index.md) - - - -Info on support user. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_number|[string](../types/string.md) | Yes|Phone number| -|user|[User](../types/User.md) | Optional|User| - - - -### Type: [help\_Support](../types/help_Support.md) - - -### Example: - -```php -$help_support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => User]; -``` - - -Or, if you're into Lua: - -```lua -help_support={_='help.support', phone_number='string', user=User} - -``` - - diff --git a/old_docs/API_docs_v81/constructors/help_termsOfService.md b/old_docs/API_docs_v81/constructors/help_termsOfService.md deleted file mode 100644 index dd1fe5ef..00000000 --- a/old_docs/API_docs_v81/constructors/help_termsOfService.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: help.termsOfService -description: Info about the latest telegram Terms Of Service -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.termsOfService -[Back to constructors index](index.md) - - - -Info about the latest telegram Terms Of Service - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|popup|[Bool](../types/Bool.md) | Optional|Whether a prompt must be showed to the user, in order to accept the new terms.| -|id|[DataJSON](../types/DataJSON.md) | Yes|ID of the new terms| -|text|[string](../types/string.md) | Yes|Text of the new terms| -|entities|Array of [MessageEntity](../types/MessageEntity.md) | Yes|Entities| -|min\_age\_confirm|[int](../types/int.md) | Optional|Minimum age required to sign up to telegram, the user must confirm that they is older than the minimum age.| - - - -### Type: [help\_wTermsOfService](../types/help_wTermsOfService.md) - - -### Example: - -```php -$help_termsOfService = ['_' => 'help.termsOfService', 'popup' => Bool, 'id' => DataJSON, 'text' => 'string', 'entities' => [MessageEntity, MessageEntity], 'min_age_confirm' => int]; -``` - - -Or, if you're into Lua: - -```lua -help_termsOfService={_='help.termsOfService', popup=Bool, id=DataJSON, text='string', entities={MessageEntity}, min_age_confirm=int} - -``` - - diff --git a/old_docs/API_docs_v81/constructors/help_termsOfServiceUpdate.md b/old_docs/API_docs_v81/constructors/help_termsOfServiceUpdate.md deleted file mode 100644 index c9e80319..00000000 --- a/old_docs/API_docs_v81/constructors/help_termsOfServiceUpdate.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: help.termsOfServiceUpdate -description: Info about an update of telegram's terms of service. If the terms of service are declined, then the [account.deleteAccount](../methods/account.deleteAccount.md) method should be called with the reason "Decline ToS update" -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.termsOfServiceUpdate -[Back to constructors index](index.md) - - - -Info about an update of telegram's terms of service. If the terms of service are declined, then the [account.deleteAccount](../methods/account.deleteAccount.md) method should be called with the reason "Decline ToS update" - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|expires|[int](../types/int.md) | Yes|New TOS updates will have to be queried using [help.getTermsOfServiceUpdate](../methods/help.getTermsOfServiceUpdate.md) in `expires` seconds| -|terms\_of\_service|[help\_TermsOfService](../types/help_TermsOfService.md) | Yes|New terms of service| - - - -### Type: [help\_TermsOfServiceUpdate](../types/help_TermsOfServiceUpdate.md) - - -### Example: - -```php -$help_termsOfServiceUpdate = ['_' => 'help.termsOfServiceUpdate', 'expires' => int, 'terms_of_service' => help_TermsOfService]; -``` - - -Or, if you're into Lua: - -```lua -help_termsOfServiceUpdate={_='help.termsOfServiceUpdate', expires=int, terms_of_service=help_TermsOfService} - -``` - - diff --git a/old_docs/API_docs_v81/constructors/help_termsOfServiceUpdateEmpty.md b/old_docs/API_docs_v81/constructors/help_termsOfServiceUpdateEmpty.md deleted file mode 100644 index d4d753fc..00000000 --- a/old_docs/API_docs_v81/constructors/help_termsOfServiceUpdateEmpty.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: help.termsOfServiceUpdateEmpty -description: No changes were made to telegram's terms of service -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.termsOfServiceUpdateEmpty -[Back to constructors index](index.md) - - - -No changes were made to telegram's terms of service - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|expires|[int](../types/int.md) | Yes|New TOS updates will have to be queried using [help.getTermsOfServiceUpdate](../methods/help.getTermsOfServiceUpdate.md) in `expires` seconds| - - - -### Type: [help\_TermsOfServiceUpdate](../types/help_TermsOfServiceUpdate.md) - - -### Example: - -```php -$help_termsOfServiceUpdateEmpty = ['_' => 'help.termsOfServiceUpdateEmpty', 'expires' => int]; -``` - - -Or, if you're into Lua: - -```lua -help_termsOfServiceUpdateEmpty={_='help.termsOfServiceUpdateEmpty', expires=int} - -``` - - diff --git a/old_docs/API_docs_v81/constructors/messages.affectedHistory.md b/old_docs/API_docs_v81/constructors/messages.affectedHistory.md new file mode 100644 index 00000000..5fc8acec --- /dev/null +++ b/old_docs/API_docs_v81/constructors/messages.affectedHistory.md @@ -0,0 +1,40 @@ +--- +title: messages.affectedHistory +description: Affected part of communication history with the user or in a chat. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.affectedHistory +[Back to constructors index](index.md) + + + +Affected part of communication history with the user or in a chat. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| +|pts\_count|[int](../types/int.md) | Yes|Number of affected events| +|offset|[int](../types/int.md) | Yes|If a parameter contains positive value, it is necessary to repeat the method call using the given value; during the proceeding of all the history the value itself shall gradually decrease| + + + +### Type: [messages.AffectedHistory](../types/messages.AffectedHistory.md) + + +### Example: + +```php +$messages.affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.affectedHistory={_='messages.affectedHistory', pts=int, pts_count=int, offset=int} + +``` + + diff --git a/old_docs/API_docs_v81/constructors/messages.affectedMessages.md b/old_docs/API_docs_v81/constructors/messages.affectedMessages.md new file mode 100644 index 00000000..a0e60bdf --- /dev/null +++ b/old_docs/API_docs_v81/constructors/messages.affectedMessages.md @@ -0,0 +1,39 @@ +--- +title: messages.affectedMessages +description: Events affected by operation +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.affectedMessages +[Back to constructors index](index.md) + + + +Events affected by operation + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|[Event count after generation](https://core.telegram.org/api/updates)| +|pts\_count|[int](../types/int.md) | Yes|[Number of events that were generated](https://core.telegram.org/api/updates)| + + + +### Type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) + + +### Example: + +```php +$messages.affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.affectedMessages={_='messages.affectedMessages', pts=int, pts_count=int} + +``` + + diff --git a/old_docs/API_docs_v81/constructors/messages.allStickers.md b/old_docs/API_docs_v81/constructors/messages.allStickers.md new file mode 100644 index 00000000..5f13bfde --- /dev/null +++ b/old_docs/API_docs_v81/constructors/messages.allStickers.md @@ -0,0 +1,39 @@ +--- +title: messages.allStickers +description: Info about all installed stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.allStickers +[Back to constructors index](index.md) + + + +Info about all installed stickers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|sets|Array of [StickerSet](../types/StickerSet.md) | Yes|Sets| + + + +### Type: [messages.AllStickers](../types/messages.AllStickers.md) + + +### Example: + +```php +$messages.allStickers = ['_' => 'messages.allStickers', 'hash' => int, 'sets' => [StickerSet, StickerSet]]; +``` + + +Or, if you're into Lua: + +```lua +messages.allStickers={_='messages.allStickers', hash=int, sets={StickerSet}} + +``` + + diff --git a/old_docs/API_docs_v81/constructors/messages.allStickersNotModified.md b/old_docs/API_docs_v81/constructors/messages.allStickersNotModified.md new file mode 100644 index 00000000..d3db088b --- /dev/null +++ b/old_docs/API_docs_v81/constructors/messages.allStickersNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.allStickersNotModified +description: Info about all installed stickers hasn't changed +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.allStickersNotModified +[Back to constructors index](index.md) + + + +Info about all installed stickers hasn't changed + + + + +### Type: [messages.AllStickers](../types/messages.AllStickers.md) + + +### Example: + +```php +$messages.allStickersNotModified = ['_' => 'messages.allStickersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.allStickersNotModified={_='messages.allStickersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v81/constructors/messages.archivedStickers.md b/old_docs/API_docs_v81/constructors/messages.archivedStickers.md new file mode 100644 index 00000000..6ad9927c --- /dev/null +++ b/old_docs/API_docs_v81/constructors/messages.archivedStickers.md @@ -0,0 +1,39 @@ +--- +title: messages.archivedStickers +description: Archived stickersets +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.archivedStickers +[Back to constructors index](index.md) + + + +Archived stickersets + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Number of archived stickers| +|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| + + + +### Type: [messages.ArchivedStickers](../types/messages.ArchivedStickers.md) + + +### Example: + +```php +$messages.archivedStickers = ['_' => 'messages.archivedStickers', 'count' => int, 'sets' => [StickerSetCovered, StickerSetCovered]]; +``` + + +Or, if you're into Lua: + +```lua +messages.archivedStickers={_='messages.archivedStickers', count=int, sets={StickerSetCovered}} + +``` + + diff --git a/old_docs/API_docs_v81/constructors/messages.botCallbackAnswer.md b/old_docs/API_docs_v81/constructors/messages.botCallbackAnswer.md new file mode 100644 index 00000000..08bfeba5 --- /dev/null +++ b/old_docs/API_docs_v81/constructors/messages.botCallbackAnswer.md @@ -0,0 +1,43 @@ +--- +title: messages.botCallbackAnswer +description: Callback answer sent by the bot in response to a button press +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.botCallbackAnswer +[Back to constructors index](index.md) + + + +Callback answer sent by the bot in response to a button press + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|alert|[Bool](../types/Bool.md) | Optional|Whether an alert should be shown to the user instead of a toast notification| +|has\_url|[Bool](../types/Bool.md) | Optional|Whether an URL is present| +|native\_ui|[Bool](../types/Bool.md) | Optional|Whether to show games in WebView or in native UI.| +|message|[string](../types/string.md) | Optional|Alert to show| +|url|[string](../types/string.md) | Optional|URL to open| +|cache\_time|[int](../types/int.md) | Yes|For how long should this answer be cached| + + + +### Type: [messages.BotCallbackAnswer](../types/messages.BotCallbackAnswer.md) + + +### Example: + +```php +$messages.botCallbackAnswer = ['_' => 'messages.botCallbackAnswer', 'alert' => Bool, 'has_url' => Bool, 'native_ui' => Bool, 'message' => 'string', 'url' => 'string', 'cache_time' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.botCallbackAnswer={_='messages.botCallbackAnswer', alert=Bool, has_url=Bool, native_ui=Bool, message='string', url='string', cache_time=int} + +``` + + diff --git a/old_docs/API_docs_v81/constructors/messages.botResults.md b/old_docs/API_docs_v81/constructors/messages.botResults.md new file mode 100644 index 00000000..7b6dcfba --- /dev/null +++ b/old_docs/API_docs_v81/constructors/messages.botResults.md @@ -0,0 +1,44 @@ +--- +title: messages.botResults +description: Result of a query to an inline bot +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.botResults +[Back to constructors index](index.md) + + + +Result of a query to an inline bot + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|gallery|[Bool](../types/Bool.md) | Optional|Whether the result is a picture gallery| +|query\_id|[long](../types/long.md) | Yes|Query ID| +|next\_offset|[string](../types/string.md) | Optional|The next offset to use when navigating through results| +|switch\_pm|[InlineBotSwitchPM](../types/InlineBotSwitchPM.md) | Optional|Whether the bot requested the user to message him in private| +|results|Array of [BotInlineResult](../types/BotInlineResult.md) | Yes|Results| +|cache\_time|[int](../types/int.md) | Yes|Caching validity of the results| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.BotResults](../types/messages.BotResults.md) + + +### Example: + +```php +$messages.botResults = ['_' => 'messages.botResults', 'gallery' => Bool, 'query_id' => long, 'next_offset' => 'string', 'switch_pm' => InlineBotSwitchPM, 'results' => [BotInlineResult, BotInlineResult], 'cache_time' => int, 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.botResults={_='messages.botResults', gallery=Bool, query_id=long, next_offset='string', switch_pm=InlineBotSwitchPM, results={BotInlineResult}, cache_time=int, users={User}} + +``` + + diff --git a/old_docs/API_docs_v81/constructors/messages.channelMessages.md b/old_docs/API_docs_v81/constructors/messages.channelMessages.md new file mode 100644 index 00000000..95633336 --- /dev/null +++ b/old_docs/API_docs_v81/constructors/messages.channelMessages.md @@ -0,0 +1,42 @@ +--- +title: messages.channelMessages +description: Channel messages +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.channelMessages +[Back to constructors index](index.md) + + + +Channel messages + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|[Event count after generation](https://core.telegram.org/api/updates)| +|count|[int](../types/int.md) | Yes|Total number of results were found server-side (may not be all included here)| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Messages](../types/messages.Messages.md) + + +### Example: + +```php +$messages.channelMessages = ['_' => 'messages.channelMessages', 'pts' => int, 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.channelMessages={_='messages.channelMessages', pts=int, count=int, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v81/constructors/messages.chatFull.md b/old_docs/API_docs_v81/constructors/messages.chatFull.md new file mode 100644 index 00000000..3906cc54 --- /dev/null +++ b/old_docs/API_docs_v81/constructors/messages.chatFull.md @@ -0,0 +1,40 @@ +--- +title: messages.chatFull +description: Extended info on chat and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.chatFull +[Back to constructors index](index.md) + + + +Extended info on chat and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|full\_chat|[ChatFull](../types/ChatFull.md) | Yes|Extended info on a chat| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.ChatFull](../types/messages.ChatFull.md) + + +### Example: + +```php +$messages.chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.chatFull={_='messages.chatFull', full_chat=ChatFull, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v81/constructors/messages.chats.md b/old_docs/API_docs_v81/constructors/messages.chats.md new file mode 100644 index 00000000..9ede9ff2 --- /dev/null +++ b/old_docs/API_docs_v81/constructors/messages.chats.md @@ -0,0 +1,38 @@ +--- +title: messages.chats +description: List of chats with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.chats +[Back to constructors index](index.md) + + + +List of chats with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| + + + +### Type: [messages.Chats](../types/messages.Chats.md) + + +### Example: + +```php +$messages.chats = ['_' => 'messages.chats', 'chats' => [Chat, Chat]]; +``` + + +Or, if you're into Lua: + +```lua +messages.chats={_='messages.chats', chats={Chat}} + +``` + + diff --git a/old_docs/API_docs_v81/constructors/messages.chatsSlice.md b/old_docs/API_docs_v81/constructors/messages.chatsSlice.md new file mode 100644 index 00000000..efd153e0 --- /dev/null +++ b/old_docs/API_docs_v81/constructors/messages.chatsSlice.md @@ -0,0 +1,39 @@ +--- +title: messages.chatsSlice +description: Partial list of chats, more would have to be fetched with [pagination](https://core.telegram.org/api/offsets) +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.chatsSlice +[Back to constructors index](index.md) + + + +Partial list of chats, more would have to be fetched with [pagination](https://core.telegram.org/api/offsets) + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of results that were found server-side (not all are included in `chats`)| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| + + + +### Type: [messages.Chats](../types/messages.Chats.md) + + +### Example: + +```php +$messages.chatsSlice = ['_' => 'messages.chatsSlice', 'count' => int, 'chats' => [Chat, Chat]]; +``` + + +Or, if you're into Lua: + +```lua +messages.chatsSlice={_='messages.chatsSlice', count=int, chats={Chat}} + +``` + + diff --git a/old_docs/API_docs_v81/constructors/messages.dhConfig.md b/old_docs/API_docs_v81/constructors/messages.dhConfig.md new file mode 100644 index 00000000..58344f64 --- /dev/null +++ b/old_docs/API_docs_v81/constructors/messages.dhConfig.md @@ -0,0 +1,41 @@ +--- +title: messages.dhConfig +description: New set of configuring parameters. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dhConfig +[Back to constructors index](index.md) + + + +New set of configuring parameters. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|g|[int](../types/int.md) | Yes|New value **prime**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| +|p|[bytes](../types/bytes.md) | Yes|New value **primitive root**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| +|version|[int](../types/int.md) | Yes|Vestion of set of parameters| +|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| + + + +### Type: [messages.DhConfig](../types/messages.DhConfig.md) + + +### Example: + +```php +$messages.dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'version' => int, 'random' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +messages.dhConfig={_='messages.dhConfig', g=int, p='bytes', version=int, random='bytes'} + +``` + + diff --git a/old_docs/API_docs_v81/constructors/messages.dhConfigNotModified.md b/old_docs/API_docs_v81/constructors/messages.dhConfigNotModified.md new file mode 100644 index 00000000..a9a95389 --- /dev/null +++ b/old_docs/API_docs_v81/constructors/messages.dhConfigNotModified.md @@ -0,0 +1,38 @@ +--- +title: messages.dhConfigNotModified +description: Configuring parameters did not change. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dhConfigNotModified +[Back to constructors index](index.md) + + + +Configuring parameters did not change. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| + + + +### Type: [messages.DhConfig](../types/messages.DhConfig.md) + + +### Example: + +```php +$messages.dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +messages.dhConfigNotModified={_='messages.dhConfigNotModified', random='bytes'} + +``` + + diff --git a/old_docs/API_docs_v81/constructors/messages.dialogs.md b/old_docs/API_docs_v81/constructors/messages.dialogs.md new file mode 100644 index 00000000..a72eabce --- /dev/null +++ b/old_docs/API_docs_v81/constructors/messages.dialogs.md @@ -0,0 +1,41 @@ +--- +title: messages.dialogs +description: Full list of chats with messages and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dialogs +[Back to constructors index](index.md) + + + +Full list of chats with messages and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Dialogs](../types/messages.Dialogs.md) + + +### Example: + +```php +$messages.dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.dialogs={_='messages.dialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v81/constructors/messages.dialogsSlice.md b/old_docs/API_docs_v81/constructors/messages.dialogsSlice.md new file mode 100644 index 00000000..26227d2c --- /dev/null +++ b/old_docs/API_docs_v81/constructors/messages.dialogsSlice.md @@ -0,0 +1,42 @@ +--- +title: messages.dialogsSlice +description: Incomplete list of dialogs with messages and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dialogsSlice +[Back to constructors index](index.md) + + + +Incomplete list of dialogs with messages and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of dialogs| +|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Dialogs](../types/messages.Dialogs.md) + + +### Example: + +```php +$messages.dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.dialogsSlice={_='messages.dialogsSlice', count=int, dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v81/constructors/messages.favedStickers.md b/old_docs/API_docs_v81/constructors/messages.favedStickers.md new file mode 100644 index 00000000..a5cfb7c9 --- /dev/null +++ b/old_docs/API_docs_v81/constructors/messages.favedStickers.md @@ -0,0 +1,40 @@ +--- +title: messages.favedStickers +description: Favorited stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.favedStickers +[Back to constructors index](index.md) + + + +Favorited stickers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|packs|Array of [StickerPack](../types/StickerPack.md) | Yes|Packs| +|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| + + + +### Type: [messages.FavedStickers](../types/messages.FavedStickers.md) + + +### Example: + +```php +$messages.favedStickers = ['_' => 'messages.favedStickers', 'hash' => int, 'packs' => [StickerPack, StickerPack], 'stickers' => [Document, Document]]; +``` + + +Or, if you're into Lua: + +```lua +messages.favedStickers={_='messages.favedStickers', hash=int, packs={StickerPack}, stickers={Document}} + +``` + + diff --git a/old_docs/API_docs_v81/constructors/messages.favedStickersNotModified.md b/old_docs/API_docs_v81/constructors/messages.favedStickersNotModified.md new file mode 100644 index 00000000..8723659e --- /dev/null +++ b/old_docs/API_docs_v81/constructors/messages.favedStickersNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.favedStickersNotModified +description: No new favorited stickers were found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.favedStickersNotModified +[Back to constructors index](index.md) + + + +No new favorited stickers were found + + + + +### Type: [messages.FavedStickers](../types/messages.FavedStickers.md) + + +### Example: + +```php +$messages.favedStickersNotModified = ['_' => 'messages.favedStickersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.favedStickersNotModified={_='messages.favedStickersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v81/constructors/messages.featuredStickers.md b/old_docs/API_docs_v81/constructors/messages.featuredStickers.md new file mode 100644 index 00000000..344376ea --- /dev/null +++ b/old_docs/API_docs_v81/constructors/messages.featuredStickers.md @@ -0,0 +1,40 @@ +--- +title: messages.featuredStickers +description: Featured stickersets +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.featuredStickers +[Back to constructors index](index.md) + + + +Featured stickersets + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| +|unread|Array of [long](../types/long.md) | Yes|Unread| + + + +### Type: [messages.FeaturedStickers](../types/messages.FeaturedStickers.md) + + +### Example: + +```php +$messages.featuredStickers = ['_' => 'messages.featuredStickers', 'hash' => int, 'sets' => [StickerSetCovered, StickerSetCovered], 'unread' => [long, long]]; +``` + + +Or, if you're into Lua: + +```lua +messages.featuredStickers={_='messages.featuredStickers', hash=int, sets={StickerSetCovered}, unread={long}} + +``` + + diff --git a/old_docs/API_docs_v81/constructors/messages.featuredStickersNotModified.md b/old_docs/API_docs_v81/constructors/messages.featuredStickersNotModified.md new file mode 100644 index 00000000..0fe9b4d5 --- /dev/null +++ b/old_docs/API_docs_v81/constructors/messages.featuredStickersNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.featuredStickersNotModified +description: Featured stickers haven't changed +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.featuredStickersNotModified +[Back to constructors index](index.md) + + + +Featured stickers haven't changed + + + + +### Type: [messages.FeaturedStickers](../types/messages.FeaturedStickers.md) + + +### Example: + +```php +$messages.featuredStickersNotModified = ['_' => 'messages.featuredStickersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.featuredStickersNotModified={_='messages.featuredStickersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v81/constructors/messages.foundGifs.md b/old_docs/API_docs_v81/constructors/messages.foundGifs.md new file mode 100644 index 00000000..c75e36f9 --- /dev/null +++ b/old_docs/API_docs_v81/constructors/messages.foundGifs.md @@ -0,0 +1,39 @@ +--- +title: messages.foundGifs +description: Found GIFs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.foundGifs +[Back to constructors index](index.md) + + + +Found GIFs + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|next\_offset|[int](../types/int.md) | Yes|Next offset to use when trying to [load more results](../methods/messages.searchGifs.md)| +|results|Array of [FoundGif](../types/FoundGif.md) | Yes|Results| + + + +### Type: [messages.FoundGifs](../types/messages.FoundGifs.md) + + +### Example: + +```php +$messages.foundGifs = ['_' => 'messages.foundGifs', 'next_offset' => int, 'results' => [FoundGif, FoundGif]]; +``` + + +Or, if you're into Lua: + +```lua +messages.foundGifs={_='messages.foundGifs', next_offset=int, results={FoundGif}} + +``` + + diff --git a/old_docs/API_docs_v81/constructors/messages.foundStickerSets.md b/old_docs/API_docs_v81/constructors/messages.foundStickerSets.md new file mode 100644 index 00000000..efc5201e --- /dev/null +++ b/old_docs/API_docs_v81/constructors/messages.foundStickerSets.md @@ -0,0 +1,39 @@ +--- +title: messages.foundStickerSets +description: Found stickersets +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.foundStickerSets +[Back to constructors index](index.md) + + + +Found stickersets + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| + + + +### Type: [messages.FoundStickerSets](../types/messages.FoundStickerSets.md) + + +### Example: + +```php +$messages.foundStickerSets = ['_' => 'messages.foundStickerSets', 'hash' => int, 'sets' => [StickerSetCovered, StickerSetCovered]]; +``` + + +Or, if you're into Lua: + +```lua +messages.foundStickerSets={_='messages.foundStickerSets', hash=int, sets={StickerSetCovered}} + +``` + + diff --git a/old_docs/API_docs_v81/constructors/messages.foundStickerSetsNotModified.md b/old_docs/API_docs_v81/constructors/messages.foundStickerSetsNotModified.md new file mode 100644 index 00000000..2902501a --- /dev/null +++ b/old_docs/API_docs_v81/constructors/messages.foundStickerSetsNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.foundStickerSetsNotModified +description: No further results were found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.foundStickerSetsNotModified +[Back to constructors index](index.md) + + + +No further results were found + + + + +### Type: [messages.FoundStickerSets](../types/messages.FoundStickerSets.md) + + +### Example: + +```php +$messages.foundStickerSetsNotModified = ['_' => 'messages.foundStickerSetsNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.foundStickerSetsNotModified={_='messages.foundStickerSetsNotModified'} + +``` + + diff --git a/old_docs/API_docs_v81/constructors/messages.highScores.md b/old_docs/API_docs_v81/constructors/messages.highScores.md new file mode 100644 index 00000000..d7d25826 --- /dev/null +++ b/old_docs/API_docs_v81/constructors/messages.highScores.md @@ -0,0 +1,39 @@ +--- +title: messages.highScores +description: Highscores in a game +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.highScores +[Back to constructors index](index.md) + + + +Highscores in a game + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|scores|Array of [HighScore](../types/HighScore.md) | Yes|Scores| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.HighScores](../types/messages.HighScores.md) + + +### Example: + +```php +$messages.highScores = ['_' => 'messages.highScores', 'scores' => [HighScore, HighScore], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.highScores={_='messages.highScores', scores={HighScore}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v81/constructors/messages.messageEditData.md b/old_docs/API_docs_v81/constructors/messages.messageEditData.md new file mode 100644 index 00000000..578b53d9 --- /dev/null +++ b/old_docs/API_docs_v81/constructors/messages.messageEditData.md @@ -0,0 +1,38 @@ +--- +title: messages.messageEditData +description: Message edit data for media +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.messageEditData +[Back to constructors index](index.md) + + + +Message edit data for media + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|caption|[Bool](../types/Bool.md) | Optional|Media caption, if the specified media's caption can be edited| + + + +### Type: [messages.MessageEditData](../types/messages.MessageEditData.md) + + +### Example: + +```php +$messages.messageEditData = ['_' => 'messages.messageEditData', 'caption' => Bool]; +``` + + +Or, if you're into Lua: + +```lua +messages.messageEditData={_='messages.messageEditData', caption=Bool} + +``` + + diff --git a/old_docs/API_docs_v81/constructors/messages.messages.md b/old_docs/API_docs_v81/constructors/messages.messages.md new file mode 100644 index 00000000..3af71dca --- /dev/null +++ b/old_docs/API_docs_v81/constructors/messages.messages.md @@ -0,0 +1,40 @@ +--- +title: messages.messages +description: Full list of messages with auxilary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.messages +[Back to constructors index](index.md) + + + +Full list of messages with auxilary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Messages](../types/messages.Messages.md) + + +### Example: + +```php +$messages.messages = ['_' => 'messages.messages', 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.messages={_='messages.messages', messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v81/constructors/messages.messagesNotModified.md b/old_docs/API_docs_v81/constructors/messages.messagesNotModified.md new file mode 100644 index 00000000..c4cb60ed --- /dev/null +++ b/old_docs/API_docs_v81/constructors/messages.messagesNotModified.md @@ -0,0 +1,38 @@ +--- +title: messages.messagesNotModified +description: No new messages matching the query were found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.messagesNotModified +[Back to constructors index](index.md) + + + +No new messages matching the query were found + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Number of results found server-side by the given query| + + + +### Type: [messages.Messages](../types/messages.Messages.md) + + +### Example: + +```php +$messages.messagesNotModified = ['_' => 'messages.messagesNotModified', 'count' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.messagesNotModified={_='messages.messagesNotModified', count=int} + +``` + + diff --git a/old_docs/API_docs_v81/constructors/messages.messagesSlice.md b/old_docs/API_docs_v81/constructors/messages.messagesSlice.md new file mode 100644 index 00000000..2fe91df0 --- /dev/null +++ b/old_docs/API_docs_v81/constructors/messages.messagesSlice.md @@ -0,0 +1,41 @@ +--- +title: messages.messagesSlice +description: Incomplete list of messages and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.messagesSlice +[Back to constructors index](index.md) + + + +Incomplete list of messages and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of messages in the list| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Messages](../types/messages.Messages.md) + + +### Example: + +```php +$messages.messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.messagesSlice={_='messages.messagesSlice', count=int, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v81/constructors/messages.peerDialogs.md b/old_docs/API_docs_v81/constructors/messages.peerDialogs.md new file mode 100644 index 00000000..39cb71f8 --- /dev/null +++ b/old_docs/API_docs_v81/constructors/messages.peerDialogs.md @@ -0,0 +1,42 @@ +--- +title: messages.peerDialogs +description: Dialog info of multiple peers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.peerDialogs +[Back to constructors index](index.md) + + + +Dialog info of multiple peers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| +|state|[updates.State](../constructors/updates.State.md) | Yes|Current [update state of dialog](https://core.telegram.org/api/updates)| + + + +### Type: [messages.PeerDialogs](../types/messages.PeerDialogs.md) + + +### Example: + +```php +$messages.peerDialogs = ['_' => 'messages.peerDialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates.State]; +``` + + +Or, if you're into Lua: + +```lua +messages.peerDialogs={_='messages.peerDialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}, state=updates.State} + +``` + + diff --git a/old_docs/API_docs_v81/constructors/messages.recentStickers.md b/old_docs/API_docs_v81/constructors/messages.recentStickers.md new file mode 100644 index 00000000..33e6c1ad --- /dev/null +++ b/old_docs/API_docs_v81/constructors/messages.recentStickers.md @@ -0,0 +1,41 @@ +--- +title: messages.recentStickers +description: Recently used stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.recentStickers +[Back to constructors index](index.md) + + + +Recently used stickers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|packs|Array of [StickerPack](../types/StickerPack.md) | Yes|Packs| +|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| +|dates|Array of [int](../types/int.md) | Yes|Dates| + + + +### Type: [messages.RecentStickers](../types/messages.RecentStickers.md) + + +### Example: + +```php +$messages.recentStickers = ['_' => 'messages.recentStickers', 'hash' => int, 'packs' => [StickerPack, StickerPack], 'stickers' => [Document, Document], 'dates' => [int, int]]; +``` + + +Or, if you're into Lua: + +```lua +messages.recentStickers={_='messages.recentStickers', hash=int, packs={StickerPack}, stickers={Document}, dates={int}} + +``` + + diff --git a/old_docs/API_docs_v81/constructors/messages.recentStickersNotModified.md b/old_docs/API_docs_v81/constructors/messages.recentStickersNotModified.md new file mode 100644 index 00000000..1c3bbf5c --- /dev/null +++ b/old_docs/API_docs_v81/constructors/messages.recentStickersNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.recentStickersNotModified +description: No new recent sticker was found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.recentStickersNotModified +[Back to constructors index](index.md) + + + +No new recent sticker was found + + + + +### Type: [messages.RecentStickers](../types/messages.RecentStickers.md) + + +### Example: + +```php +$messages.recentStickersNotModified = ['_' => 'messages.recentStickersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.recentStickersNotModified={_='messages.recentStickersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v81/constructors/messages.savedGifs.md b/old_docs/API_docs_v81/constructors/messages.savedGifs.md new file mode 100644 index 00000000..c82929a3 --- /dev/null +++ b/old_docs/API_docs_v81/constructors/messages.savedGifs.md @@ -0,0 +1,39 @@ +--- +title: messages.savedGifs +description: Saved gifs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.savedGifs +[Back to constructors index](index.md) + + + +Saved gifs + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|gifs|Array of [Document](../types/Document.md) | Yes|Gifs| + + + +### Type: [messages.SavedGifs](../types/messages.SavedGifs.md) + + +### Example: + +```php +$messages.savedGifs = ['_' => 'messages.savedGifs', 'hash' => int, 'gifs' => [Document, Document]]; +``` + + +Or, if you're into Lua: + +```lua +messages.savedGifs={_='messages.savedGifs', hash=int, gifs={Document}} + +``` + + diff --git a/old_docs/API_docs_v81/constructors/messages.savedGifsNotModified.md b/old_docs/API_docs_v81/constructors/messages.savedGifsNotModified.md new file mode 100644 index 00000000..0fbccacc --- /dev/null +++ b/old_docs/API_docs_v81/constructors/messages.savedGifsNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.savedGifsNotModified +description: No new saved gifs were found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.savedGifsNotModified +[Back to constructors index](index.md) + + + +No new saved gifs were found + + + + +### Type: [messages.SavedGifs](../types/messages.SavedGifs.md) + + +### Example: + +```php +$messages.savedGifsNotModified = ['_' => 'messages.savedGifsNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.savedGifsNotModified={_='messages.savedGifsNotModified'} + +``` + + diff --git a/old_docs/API_docs_v81/constructors/messages.sentEncryptedFile.md b/old_docs/API_docs_v81/constructors/messages.sentEncryptedFile.md new file mode 100644 index 00000000..1f0e43c6 --- /dev/null +++ b/old_docs/API_docs_v81/constructors/messages.sentEncryptedFile.md @@ -0,0 +1,39 @@ +--- +title: messages.sentEncryptedFile +description: Message with a file enclosure sent to a protected chat +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.sentEncryptedFile +[Back to constructors index](index.md) + + + +Message with a file enclosure sent to a protected chat + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Sending date| +|file|[EncryptedFile](../types/EncryptedFile.md) | Optional|Attached file| + + + +### Type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) + + +### Example: + +```php +$messages.sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile]; +``` + + +Or, if you're into Lua: + +```lua +messages.sentEncryptedFile={_='messages.sentEncryptedFile', date=int, file=EncryptedFile} + +``` + + diff --git a/old_docs/API_docs_v81/constructors/messages.sentEncryptedMessage.md b/old_docs/API_docs_v81/constructors/messages.sentEncryptedMessage.md new file mode 100644 index 00000000..3d5eb40c --- /dev/null +++ b/old_docs/API_docs_v81/constructors/messages.sentEncryptedMessage.md @@ -0,0 +1,38 @@ +--- +title: messages.sentEncryptedMessage +description: Message without file attachemts sent to an encrypted file. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.sentEncryptedMessage +[Back to constructors index](index.md) + + + +Message without file attachemts sent to an encrypted file. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Date of sending| + + + +### Type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) + + +### Example: + +```php +$messages.sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.sentEncryptedMessage={_='messages.sentEncryptedMessage', date=int} + +``` + + diff --git a/old_docs/API_docs_v81/constructors/messages.stickerSet.md b/old_docs/API_docs_v81/constructors/messages.stickerSet.md new file mode 100644 index 00000000..fbc154d0 --- /dev/null +++ b/old_docs/API_docs_v81/constructors/messages.stickerSet.md @@ -0,0 +1,40 @@ +--- +title: messages.stickerSet +description: Stickerset and stickers inside it +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickerSet +[Back to constructors index](index.md) + + + +Stickerset and stickers inside it + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|set|[StickerSet](../types/StickerSet.md) | Yes|The stickerset| +|packs|Array of [StickerPack](../types/StickerPack.md) | Yes|Packs| +|documents|Array of [Document](../types/Document.md) | Yes|Documents| + + + +### Type: [messages.StickerSet](../types/messages.StickerSet.md) + + +### Example: + +```php +$messages.stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'packs' => [StickerPack, StickerPack], 'documents' => [Document, Document]]; +``` + + +Or, if you're into Lua: + +```lua +messages.stickerSet={_='messages.stickerSet', set=StickerSet, packs={StickerPack}, documents={Document}} + +``` + + diff --git a/old_docs/API_docs_v81/constructors/messages.stickerSetInstallResultArchive.md b/old_docs/API_docs_v81/constructors/messages.stickerSetInstallResultArchive.md new file mode 100644 index 00000000..fefe2270 --- /dev/null +++ b/old_docs/API_docs_v81/constructors/messages.stickerSetInstallResultArchive.md @@ -0,0 +1,38 @@ +--- +title: messages.stickerSetInstallResultArchive +description: The stickerset was installed, but since there are too many stickersets some were archived +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickerSetInstallResultArchive +[Back to constructors index](index.md) + + + +The stickerset was installed, but since there are too many stickersets some were archived + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| + + + +### Type: [messages.StickerSetInstallResult](../types/messages.StickerSetInstallResult.md) + + +### Example: + +```php +$messages.stickerSetInstallResultArchive = ['_' => 'messages.stickerSetInstallResultArchive', 'sets' => [StickerSetCovered, StickerSetCovered]]; +``` + + +Or, if you're into Lua: + +```lua +messages.stickerSetInstallResultArchive={_='messages.stickerSetInstallResultArchive', sets={StickerSetCovered}} + +``` + + diff --git a/old_docs/API_docs_v81/constructors/messages.stickerSetInstallResultSuccess.md b/old_docs/API_docs_v81/constructors/messages.stickerSetInstallResultSuccess.md new file mode 100644 index 00000000..bbe8b961 --- /dev/null +++ b/old_docs/API_docs_v81/constructors/messages.stickerSetInstallResultSuccess.md @@ -0,0 +1,33 @@ +--- +title: messages.stickerSetInstallResultSuccess +description: The stickerset was installed successfully +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickerSetInstallResultSuccess +[Back to constructors index](index.md) + + + +The stickerset was installed successfully + + + + +### Type: [messages.StickerSetInstallResult](../types/messages.StickerSetInstallResult.md) + + +### Example: + +```php +$messages.stickerSetInstallResultSuccess = ['_' => 'messages.stickerSetInstallResultSuccess']; +``` + + +Or, if you're into Lua: + +```lua +messages.stickerSetInstallResultSuccess={_='messages.stickerSetInstallResultSuccess'} + +``` + + diff --git a/old_docs/API_docs_v81/constructors/messages.stickers.md b/old_docs/API_docs_v81/constructors/messages.stickers.md new file mode 100644 index 00000000..49ffea6a --- /dev/null +++ b/old_docs/API_docs_v81/constructors/messages.stickers.md @@ -0,0 +1,39 @@ +--- +title: messages.stickers +description: Found stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickers +[Back to constructors index](index.md) + + + +Found stickers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| + + + +### Type: [messages.Stickers](../types/messages.Stickers.md) + + +### Example: + +```php +$messages.stickers = ['_' => 'messages.stickers', 'hash' => int, 'stickers' => [Document, Document]]; +``` + + +Or, if you're into Lua: + +```lua +messages.stickers={_='messages.stickers', hash=int, stickers={Document}} + +``` + + diff --git a/old_docs/API_docs_v81/constructors/messages.stickersNotModified.md b/old_docs/API_docs_v81/constructors/messages.stickersNotModified.md new file mode 100644 index 00000000..e8c7766c --- /dev/null +++ b/old_docs/API_docs_v81/constructors/messages.stickersNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.stickersNotModified +description: No new stickers were found for the given query +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickersNotModified +[Back to constructors index](index.md) + + + +No new stickers were found for the given query + + + + +### Type: [messages.Stickers](../types/messages.Stickers.md) + + +### Example: + +```php +$messages.stickersNotModified = ['_' => 'messages.stickersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.stickersNotModified={_='messages.stickersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v81/constructors/messages_affectedHistory.md b/old_docs/API_docs_v81/constructors/messages_affectedHistory.md deleted file mode 100644 index 449a7e3f..00000000 --- a/old_docs/API_docs_v81/constructors/messages_affectedHistory.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.affectedHistory -description: Affected part of communication history with the user or in a chat. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.affectedHistory -[Back to constructors index](index.md) - - - -Affected part of communication history with the user or in a chat. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| -|pts\_count|[int](../types/int.md) | Yes|Number of affected events| -|offset|[int](../types/int.md) | Yes|If a parameter contains positive value, it is necessary to repeat the method call using the given value; during the proceeding of all the history the value itself shall gradually decrease| - - - -### Type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) - - -### Example: - -```php -$messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_affectedHistory={_='messages.affectedHistory', pts=int, pts_count=int, offset=int} - -``` - - diff --git a/old_docs/API_docs_v81/constructors/messages_affectedMessages.md b/old_docs/API_docs_v81/constructors/messages_affectedMessages.md deleted file mode 100644 index 86760581..00000000 --- a/old_docs/API_docs_v81/constructors/messages_affectedMessages.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.affectedMessages -description: Events affected by operation -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.affectedMessages -[Back to constructors index](index.md) - - - -Events affected by operation - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|[Event count after generation](https://core.telegram.org/api/updates)| -|pts\_count|[int](../types/int.md) | Yes|[Number of events that were generated](https://core.telegram.org/api/updates)| - - - -### Type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) - - -### Example: - -```php -$messages_affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_affectedMessages={_='messages.affectedMessages', pts=int, pts_count=int} - -``` - - diff --git a/old_docs/API_docs_v81/constructors/messages_allStickers.md b/old_docs/API_docs_v81/constructors/messages_allStickers.md deleted file mode 100644 index 2e64f46e..00000000 --- a/old_docs/API_docs_v81/constructors/messages_allStickers.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.allStickers -description: Info about all installed stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.allStickers -[Back to constructors index](index.md) - - - -Info about all installed stickers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|sets|Array of [StickerSet](../types/StickerSet.md) | Yes|Sets| - - - -### Type: [messages\_AllStickers](../types/messages_AllStickers.md) - - -### Example: - -```php -$messages_allStickers = ['_' => 'messages.allStickers', 'hash' => int, 'sets' => [StickerSet, StickerSet]]; -``` - - -Or, if you're into Lua: - -```lua -messages_allStickers={_='messages.allStickers', hash=int, sets={StickerSet}} - -``` - - diff --git a/old_docs/API_docs_v81/constructors/messages_allStickersNotModified.md b/old_docs/API_docs_v81/constructors/messages_allStickersNotModified.md deleted file mode 100644 index c4da85ab..00000000 --- a/old_docs/API_docs_v81/constructors/messages_allStickersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.allStickersNotModified -description: Info about all installed stickers hasn't changed -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.allStickersNotModified -[Back to constructors index](index.md) - - - -Info about all installed stickers hasn't changed - - - - -### Type: [messages\_AllStickers](../types/messages_AllStickers.md) - - -### Example: - -```php -$messages_allStickersNotModified = ['_' => 'messages.allStickersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_allStickersNotModified={_='messages.allStickersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v81/constructors/messages_archivedStickers.md b/old_docs/API_docs_v81/constructors/messages_archivedStickers.md deleted file mode 100644 index 6b28c885..00000000 --- a/old_docs/API_docs_v81/constructors/messages_archivedStickers.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.archivedStickers -description: Archived stickersets -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.archivedStickers -[Back to constructors index](index.md) - - - -Archived stickersets - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Number of archived stickers| -|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| - - - -### Type: [messages\_ArchivedStickers](../types/messages_ArchivedStickers.md) - - -### Example: - -```php -$messages_archivedStickers = ['_' => 'messages.archivedStickers', 'count' => int, 'sets' => [StickerSetCovered, StickerSetCovered]]; -``` - - -Or, if you're into Lua: - -```lua -messages_archivedStickers={_='messages.archivedStickers', count=int, sets={StickerSetCovered}} - -``` - - diff --git a/old_docs/API_docs_v81/constructors/messages_botCallbackAnswer.md b/old_docs/API_docs_v81/constructors/messages_botCallbackAnswer.md deleted file mode 100644 index e56f4b56..00000000 --- a/old_docs/API_docs_v81/constructors/messages_botCallbackAnswer.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: messages.botCallbackAnswer -description: Callback answer sent by the bot in response to a button press -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.botCallbackAnswer -[Back to constructors index](index.md) - - - -Callback answer sent by the bot in response to a button press - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|alert|[Bool](../types/Bool.md) | Optional|Whether an alert should be shown to the user instead of a toast notification| -|has\_url|[Bool](../types/Bool.md) | Optional|Whether an URL is present| -|native\_ui|[Bool](../types/Bool.md) | Optional|Whether to show games in WebView or in native UI.| -|message|[string](../types/string.md) | Optional|Alert to show| -|url|[string](../types/string.md) | Optional|URL to open| -|cache\_time|[int](../types/int.md) | Yes|For how long should this answer be cached| - - - -### Type: [messages\_BotCallbackAnswer](../types/messages_BotCallbackAnswer.md) - - -### Example: - -```php -$messages_botCallbackAnswer = ['_' => 'messages.botCallbackAnswer', 'alert' => Bool, 'has_url' => Bool, 'native_ui' => Bool, 'message' => 'string', 'url' => 'string', 'cache_time' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_botCallbackAnswer={_='messages.botCallbackAnswer', alert=Bool, has_url=Bool, native_ui=Bool, message='string', url='string', cache_time=int} - -``` - - diff --git a/old_docs/API_docs_v81/constructors/messages_botResults.md b/old_docs/API_docs_v81/constructors/messages_botResults.md deleted file mode 100644 index 19b9edf6..00000000 --- a/old_docs/API_docs_v81/constructors/messages_botResults.md +++ /dev/null @@ -1,44 +0,0 @@ ---- -title: messages.botResults -description: Result of a query to an inline bot -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.botResults -[Back to constructors index](index.md) - - - -Result of a query to an inline bot - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|gallery|[Bool](../types/Bool.md) | Optional|Whether the result is a picture gallery| -|query\_id|[long](../types/long.md) | Yes|Query ID| -|next\_offset|[string](../types/string.md) | Optional|The next offset to use when navigating through results| -|switch\_pm|[InlineBotSwitchPM](../types/InlineBotSwitchPM.md) | Optional|Whether the bot requested the user to message him in private| -|results|Array of [BotInlineResult](../types/BotInlineResult.md) | Yes|Results| -|cache\_time|[int](../types/int.md) | Yes|Caching validity of the results| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_BotResults](../types/messages_BotResults.md) - - -### Example: - -```php -$messages_botResults = ['_' => 'messages.botResults', 'gallery' => Bool, 'query_id' => long, 'next_offset' => 'string', 'switch_pm' => InlineBotSwitchPM, 'results' => [BotInlineResult, BotInlineResult], 'cache_time' => int, 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_botResults={_='messages.botResults', gallery=Bool, query_id=long, next_offset='string', switch_pm=InlineBotSwitchPM, results={BotInlineResult}, cache_time=int, users={User}} - -``` - - diff --git a/old_docs/API_docs_v81/constructors/messages_channelMessages.md b/old_docs/API_docs_v81/constructors/messages_channelMessages.md deleted file mode 100644 index 12cdb9cd..00000000 --- a/old_docs/API_docs_v81/constructors/messages_channelMessages.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: messages.channelMessages -description: Channel messages -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.channelMessages -[Back to constructors index](index.md) - - - -Channel messages - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|[Event count after generation](https://core.telegram.org/api/updates)| -|count|[int](../types/int.md) | Yes|Total number of results were found server-side (may not be all included here)| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Messages](../types/messages_Messages.md) - - -### Example: - -```php -$messages_channelMessages = ['_' => 'messages.channelMessages', 'pts' => int, 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_channelMessages={_='messages.channelMessages', pts=int, count=int, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v81/constructors/messages_chatFull.md b/old_docs/API_docs_v81/constructors/messages_chatFull.md deleted file mode 100644 index 02f1acdf..00000000 --- a/old_docs/API_docs_v81/constructors/messages_chatFull.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.chatFull -description: Extended info on chat and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.chatFull -[Back to constructors index](index.md) - - - -Extended info on chat and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|full\_chat|[ChatFull](../types/ChatFull.md) | Yes|Extended info on a chat| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_ChatFull](../types/messages_ChatFull.md) - - -### Example: - -```php -$messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_chatFull={_='messages.chatFull', full_chat=ChatFull, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v81/constructors/messages_chats.md b/old_docs/API_docs_v81/constructors/messages_chats.md deleted file mode 100644 index ef3690a9..00000000 --- a/old_docs/API_docs_v81/constructors/messages_chats.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.chats -description: List of chats with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.chats -[Back to constructors index](index.md) - - - -List of chats with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| - - - -### Type: [messages\_Chats](../types/messages_Chats.md) - - -### Example: - -```php -$messages_chats = ['_' => 'messages.chats', 'chats' => [Chat, Chat]]; -``` - - -Or, if you're into Lua: - -```lua -messages_chats={_='messages.chats', chats={Chat}} - -``` - - diff --git a/old_docs/API_docs_v81/constructors/messages_chatsSlice.md b/old_docs/API_docs_v81/constructors/messages_chatsSlice.md deleted file mode 100644 index f19c4357..00000000 --- a/old_docs/API_docs_v81/constructors/messages_chatsSlice.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.chatsSlice -description: Partial list of chats, more would have to be fetched with [pagination](https://core.telegram.org/api/offsets) -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.chatsSlice -[Back to constructors index](index.md) - - - -Partial list of chats, more would have to be fetched with [pagination](https://core.telegram.org/api/offsets) - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of results that were found server-side (not all are included in `chats`)| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| - - - -### Type: [messages\_Chats](../types/messages_Chats.md) - - -### Example: - -```php -$messages_chatsSlice = ['_' => 'messages.chatsSlice', 'count' => int, 'chats' => [Chat, Chat]]; -``` - - -Or, if you're into Lua: - -```lua -messages_chatsSlice={_='messages.chatsSlice', count=int, chats={Chat}} - -``` - - diff --git a/old_docs/API_docs_v81/constructors/messages_dhConfig.md b/old_docs/API_docs_v81/constructors/messages_dhConfig.md deleted file mode 100644 index 42c2feb1..00000000 --- a/old_docs/API_docs_v81/constructors/messages_dhConfig.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: messages.dhConfig -description: New set of configuring parameters. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dhConfig -[Back to constructors index](index.md) - - - -New set of configuring parameters. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|g|[int](../types/int.md) | Yes|New value **prime**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| -|p|[bytes](../types/bytes.md) | Yes|New value **primitive root**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| -|version|[int](../types/int.md) | Yes|Vestion of set of parameters| -|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| - - - -### Type: [messages\_DhConfig](../types/messages_DhConfig.md) - - -### Example: - -```php -$messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'version' => int, 'random' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -messages_dhConfig={_='messages.dhConfig', g=int, p='bytes', version=int, random='bytes'} - -``` - - diff --git a/old_docs/API_docs_v81/constructors/messages_dhConfigNotModified.md b/old_docs/API_docs_v81/constructors/messages_dhConfigNotModified.md deleted file mode 100644 index 5bf64230..00000000 --- a/old_docs/API_docs_v81/constructors/messages_dhConfigNotModified.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.dhConfigNotModified -description: Configuring parameters did not change. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dhConfigNotModified -[Back to constructors index](index.md) - - - -Configuring parameters did not change. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| - - - -### Type: [messages\_DhConfig](../types/messages_DhConfig.md) - - -### Example: - -```php -$messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -messages_dhConfigNotModified={_='messages.dhConfigNotModified', random='bytes'} - -``` - - diff --git a/old_docs/API_docs_v81/constructors/messages_dialogs.md b/old_docs/API_docs_v81/constructors/messages_dialogs.md deleted file mode 100644 index e6a431b4..00000000 --- a/old_docs/API_docs_v81/constructors/messages_dialogs.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: messages.dialogs -description: Full list of chats with messages and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dialogs -[Back to constructors index](index.md) - - - -Full list of chats with messages and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Dialogs](../types/messages_Dialogs.md) - - -### Example: - -```php -$messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_dialogs={_='messages.dialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v81/constructors/messages_dialogsSlice.md b/old_docs/API_docs_v81/constructors/messages_dialogsSlice.md deleted file mode 100644 index f183b9a8..00000000 --- a/old_docs/API_docs_v81/constructors/messages_dialogsSlice.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: messages.dialogsSlice -description: Incomplete list of dialogs with messages and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dialogsSlice -[Back to constructors index](index.md) - - - -Incomplete list of dialogs with messages and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of dialogs| -|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Dialogs](../types/messages_Dialogs.md) - - -### Example: - -```php -$messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_dialogsSlice={_='messages.dialogsSlice', count=int, dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v81/constructors/messages_favedStickers.md b/old_docs/API_docs_v81/constructors/messages_favedStickers.md deleted file mode 100644 index 72d79df2..00000000 --- a/old_docs/API_docs_v81/constructors/messages_favedStickers.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.favedStickers -description: Favorited stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.favedStickers -[Back to constructors index](index.md) - - - -Favorited stickers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|packs|Array of [StickerPack](../types/StickerPack.md) | Yes|Packs| -|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| - - - -### Type: [messages\_FavedStickers](../types/messages_FavedStickers.md) - - -### Example: - -```php -$messages_favedStickers = ['_' => 'messages.favedStickers', 'hash' => int, 'packs' => [StickerPack, StickerPack], 'stickers' => [Document, Document]]; -``` - - -Or, if you're into Lua: - -```lua -messages_favedStickers={_='messages.favedStickers', hash=int, packs={StickerPack}, stickers={Document}} - -``` - - diff --git a/old_docs/API_docs_v81/constructors/messages_favedStickersNotModified.md b/old_docs/API_docs_v81/constructors/messages_favedStickersNotModified.md deleted file mode 100644 index a47c08e8..00000000 --- a/old_docs/API_docs_v81/constructors/messages_favedStickersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.favedStickersNotModified -description: No new favorited stickers were found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.favedStickersNotModified -[Back to constructors index](index.md) - - - -No new favorited stickers were found - - - - -### Type: [messages\_FavedStickers](../types/messages_FavedStickers.md) - - -### Example: - -```php -$messages_favedStickersNotModified = ['_' => 'messages.favedStickersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_favedStickersNotModified={_='messages.favedStickersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v81/constructors/messages_featuredStickers.md b/old_docs/API_docs_v81/constructors/messages_featuredStickers.md deleted file mode 100644 index 8ef1046e..00000000 --- a/old_docs/API_docs_v81/constructors/messages_featuredStickers.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.featuredStickers -description: Featured stickersets -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.featuredStickers -[Back to constructors index](index.md) - - - -Featured stickersets - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| -|unread|Array of [long](../types/long.md) | Yes|Unread| - - - -### Type: [messages\_FeaturedStickers](../types/messages_FeaturedStickers.md) - - -### Example: - -```php -$messages_featuredStickers = ['_' => 'messages.featuredStickers', 'hash' => int, 'sets' => [StickerSetCovered, StickerSetCovered], 'unread' => [long, long]]; -``` - - -Or, if you're into Lua: - -```lua -messages_featuredStickers={_='messages.featuredStickers', hash=int, sets={StickerSetCovered}, unread={long}} - -``` - - diff --git a/old_docs/API_docs_v81/constructors/messages_featuredStickersNotModified.md b/old_docs/API_docs_v81/constructors/messages_featuredStickersNotModified.md deleted file mode 100644 index de01131b..00000000 --- a/old_docs/API_docs_v81/constructors/messages_featuredStickersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.featuredStickersNotModified -description: Featured stickers haven't changed -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.featuredStickersNotModified -[Back to constructors index](index.md) - - - -Featured stickers haven't changed - - - - -### Type: [messages\_FeaturedStickers](../types/messages_FeaturedStickers.md) - - -### Example: - -```php -$messages_featuredStickersNotModified = ['_' => 'messages.featuredStickersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_featuredStickersNotModified={_='messages.featuredStickersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v81/constructors/messages_foundGifs.md b/old_docs/API_docs_v81/constructors/messages_foundGifs.md deleted file mode 100644 index eb3603ca..00000000 --- a/old_docs/API_docs_v81/constructors/messages_foundGifs.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.foundGifs -description: Found GIFs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.foundGifs -[Back to constructors index](index.md) - - - -Found GIFs - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|next\_offset|[int](../types/int.md) | Yes|Next offset to use when trying to [load more results](../methods/messages.searchGifs.md)| -|results|Array of [FoundGif](../types/FoundGif.md) | Yes|Results| - - - -### Type: [messages\_FoundGifs](../types/messages_FoundGifs.md) - - -### Example: - -```php -$messages_foundGifs = ['_' => 'messages.foundGifs', 'next_offset' => int, 'results' => [FoundGif, FoundGif]]; -``` - - -Or, if you're into Lua: - -```lua -messages_foundGifs={_='messages.foundGifs', next_offset=int, results={FoundGif}} - -``` - - diff --git a/old_docs/API_docs_v81/constructors/messages_foundStickerSets.md b/old_docs/API_docs_v81/constructors/messages_foundStickerSets.md deleted file mode 100644 index 356177e1..00000000 --- a/old_docs/API_docs_v81/constructors/messages_foundStickerSets.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.foundStickerSets -description: Found stickersets -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.foundStickerSets -[Back to constructors index](index.md) - - - -Found stickersets - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| - - - -### Type: [messages\_FoundStickerSets](../types/messages_FoundStickerSets.md) - - -### Example: - -```php -$messages_foundStickerSets = ['_' => 'messages.foundStickerSets', 'hash' => int, 'sets' => [StickerSetCovered, StickerSetCovered]]; -``` - - -Or, if you're into Lua: - -```lua -messages_foundStickerSets={_='messages.foundStickerSets', hash=int, sets={StickerSetCovered}} - -``` - - diff --git a/old_docs/API_docs_v81/constructors/messages_foundStickerSetsNotModified.md b/old_docs/API_docs_v81/constructors/messages_foundStickerSetsNotModified.md deleted file mode 100644 index c1f39490..00000000 --- a/old_docs/API_docs_v81/constructors/messages_foundStickerSetsNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.foundStickerSetsNotModified -description: No further results were found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.foundStickerSetsNotModified -[Back to constructors index](index.md) - - - -No further results were found - - - - -### Type: [messages\_FoundStickerSets](../types/messages_FoundStickerSets.md) - - -### Example: - -```php -$messages_foundStickerSetsNotModified = ['_' => 'messages.foundStickerSetsNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_foundStickerSetsNotModified={_='messages.foundStickerSetsNotModified'} - -``` - - diff --git a/old_docs/API_docs_v81/constructors/messages_highScores.md b/old_docs/API_docs_v81/constructors/messages_highScores.md deleted file mode 100644 index d6fc5210..00000000 --- a/old_docs/API_docs_v81/constructors/messages_highScores.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.highScores -description: Highscores in a game -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.highScores -[Back to constructors index](index.md) - - - -Highscores in a game - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|scores|Array of [HighScore](../types/HighScore.md) | Yes|Scores| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_HighScores](../types/messages_HighScores.md) - - -### Example: - -```php -$messages_highScores = ['_' => 'messages.highScores', 'scores' => [HighScore, HighScore], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_highScores={_='messages.highScores', scores={HighScore}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v81/constructors/messages_messageEditData.md b/old_docs/API_docs_v81/constructors/messages_messageEditData.md deleted file mode 100644 index 76aefca5..00000000 --- a/old_docs/API_docs_v81/constructors/messages_messageEditData.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.messageEditData -description: Message edit data for media -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.messageEditData -[Back to constructors index](index.md) - - - -Message edit data for media - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|caption|[Bool](../types/Bool.md) | Optional|Media caption, if the specified media's caption can be edited| - - - -### Type: [messages\_MessageEditData](../types/messages_MessageEditData.md) - - -### Example: - -```php -$messages_messageEditData = ['_' => 'messages.messageEditData', 'caption' => Bool]; -``` - - -Or, if you're into Lua: - -```lua -messages_messageEditData={_='messages.messageEditData', caption=Bool} - -``` - - diff --git a/old_docs/API_docs_v81/constructors/messages_messages.md b/old_docs/API_docs_v81/constructors/messages_messages.md deleted file mode 100644 index 3e369e1a..00000000 --- a/old_docs/API_docs_v81/constructors/messages_messages.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.messages -description: Full list of messages with auxilary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.messages -[Back to constructors index](index.md) - - - -Full list of messages with auxilary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Messages](../types/messages_Messages.md) - - -### Example: - -```php -$messages_messages = ['_' => 'messages.messages', 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_messages={_='messages.messages', messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v81/constructors/messages_messagesNotModified.md b/old_docs/API_docs_v81/constructors/messages_messagesNotModified.md deleted file mode 100644 index 2e9c4ad9..00000000 --- a/old_docs/API_docs_v81/constructors/messages_messagesNotModified.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.messagesNotModified -description: No new messages matching the query were found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.messagesNotModified -[Back to constructors index](index.md) - - - -No new messages matching the query were found - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Number of results found server-side by the given query| - - - -### Type: [messages\_Messages](../types/messages_Messages.md) - - -### Example: - -```php -$messages_messagesNotModified = ['_' => 'messages.messagesNotModified', 'count' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_messagesNotModified={_='messages.messagesNotModified', count=int} - -``` - - diff --git a/old_docs/API_docs_v81/constructors/messages_messagesSlice.md b/old_docs/API_docs_v81/constructors/messages_messagesSlice.md deleted file mode 100644 index f9b8dc18..00000000 --- a/old_docs/API_docs_v81/constructors/messages_messagesSlice.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: messages.messagesSlice -description: Incomplete list of messages and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.messagesSlice -[Back to constructors index](index.md) - - - -Incomplete list of messages and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of messages in the list| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Messages](../types/messages_Messages.md) - - -### Example: - -```php -$messages_messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_messagesSlice={_='messages.messagesSlice', count=int, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v81/constructors/messages_peerDialogs.md b/old_docs/API_docs_v81/constructors/messages_peerDialogs.md deleted file mode 100644 index 29b4b842..00000000 --- a/old_docs/API_docs_v81/constructors/messages_peerDialogs.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: messages.peerDialogs -description: Dialog info of multiple peers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.peerDialogs -[Back to constructors index](index.md) - - - -Dialog info of multiple peers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| -|state|[updates\_State](../types/updates_State.md) | Yes|Current [update state of dialog](https://core.telegram.org/api/updates)| - - - -### Type: [messages\_PeerDialogs](../types/messages_PeerDialogs.md) - - -### Example: - -```php -$messages_peerDialogs = ['_' => 'messages.peerDialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates_State]; -``` - - -Or, if you're into Lua: - -```lua -messages_peerDialogs={_='messages.peerDialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}, state=updates_State} - -``` - - diff --git a/old_docs/API_docs_v81/constructors/messages_recentStickers.md b/old_docs/API_docs_v81/constructors/messages_recentStickers.md deleted file mode 100644 index 47d5cffd..00000000 --- a/old_docs/API_docs_v81/constructors/messages_recentStickers.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: messages.recentStickers -description: Recently used stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.recentStickers -[Back to constructors index](index.md) - - - -Recently used stickers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|packs|Array of [StickerPack](../types/StickerPack.md) | Yes|Packs| -|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| -|dates|Array of [int](../types/int.md) | Yes|Dates| - - - -### Type: [messages\_RecentStickers](../types/messages_RecentStickers.md) - - -### Example: - -```php -$messages_recentStickers = ['_' => 'messages.recentStickers', 'hash' => int, 'packs' => [StickerPack, StickerPack], 'stickers' => [Document, Document], 'dates' => [int, int]]; -``` - - -Or, if you're into Lua: - -```lua -messages_recentStickers={_='messages.recentStickers', hash=int, packs={StickerPack}, stickers={Document}, dates={int}} - -``` - - diff --git a/old_docs/API_docs_v81/constructors/messages_recentStickersNotModified.md b/old_docs/API_docs_v81/constructors/messages_recentStickersNotModified.md deleted file mode 100644 index 3e81dceb..00000000 --- a/old_docs/API_docs_v81/constructors/messages_recentStickersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.recentStickersNotModified -description: No new recent sticker was found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.recentStickersNotModified -[Back to constructors index](index.md) - - - -No new recent sticker was found - - - - -### Type: [messages\_RecentStickers](../types/messages_RecentStickers.md) - - -### Example: - -```php -$messages_recentStickersNotModified = ['_' => 'messages.recentStickersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_recentStickersNotModified={_='messages.recentStickersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v81/constructors/messages_savedGifs.md b/old_docs/API_docs_v81/constructors/messages_savedGifs.md deleted file mode 100644 index ed3e8ea3..00000000 --- a/old_docs/API_docs_v81/constructors/messages_savedGifs.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.savedGifs -description: Saved gifs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.savedGifs -[Back to constructors index](index.md) - - - -Saved gifs - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|gifs|Array of [Document](../types/Document.md) | Yes|Gifs| - - - -### Type: [messages\_SavedGifs](../types/messages_SavedGifs.md) - - -### Example: - -```php -$messages_savedGifs = ['_' => 'messages.savedGifs', 'hash' => int, 'gifs' => [Document, Document]]; -``` - - -Or, if you're into Lua: - -```lua -messages_savedGifs={_='messages.savedGifs', hash=int, gifs={Document}} - -``` - - diff --git a/old_docs/API_docs_v81/constructors/messages_savedGifsNotModified.md b/old_docs/API_docs_v81/constructors/messages_savedGifsNotModified.md deleted file mode 100644 index 0f843a0c..00000000 --- a/old_docs/API_docs_v81/constructors/messages_savedGifsNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.savedGifsNotModified -description: No new saved gifs were found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.savedGifsNotModified -[Back to constructors index](index.md) - - - -No new saved gifs were found - - - - -### Type: [messages\_SavedGifs](../types/messages_SavedGifs.md) - - -### Example: - -```php -$messages_savedGifsNotModified = ['_' => 'messages.savedGifsNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_savedGifsNotModified={_='messages.savedGifsNotModified'} - -``` - - diff --git a/old_docs/API_docs_v81/constructors/messages_sentEncryptedFile.md b/old_docs/API_docs_v81/constructors/messages_sentEncryptedFile.md deleted file mode 100644 index fdc2a11e..00000000 --- a/old_docs/API_docs_v81/constructors/messages_sentEncryptedFile.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.sentEncryptedFile -description: Message with a file enclosure sent to a protected chat -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.sentEncryptedFile -[Back to constructors index](index.md) - - - -Message with a file enclosure sent to a protected chat - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Sending date| -|file|[EncryptedFile](../types/EncryptedFile.md) | Optional|Attached file| - - - -### Type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) - - -### Example: - -```php -$messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile]; -``` - - -Or, if you're into Lua: - -```lua -messages_sentEncryptedFile={_='messages.sentEncryptedFile', date=int, file=EncryptedFile} - -``` - - diff --git a/old_docs/API_docs_v81/constructors/messages_sentEncryptedMessage.md b/old_docs/API_docs_v81/constructors/messages_sentEncryptedMessage.md deleted file mode 100644 index 36b2bbff..00000000 --- a/old_docs/API_docs_v81/constructors/messages_sentEncryptedMessage.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.sentEncryptedMessage -description: Message without file attachemts sent to an encrypted file. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.sentEncryptedMessage -[Back to constructors index](index.md) - - - -Message without file attachemts sent to an encrypted file. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Date of sending| - - - -### Type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) - - -### Example: - -```php -$messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_sentEncryptedMessage={_='messages.sentEncryptedMessage', date=int} - -``` - - diff --git a/old_docs/API_docs_v81/constructors/messages_stickerSet.md b/old_docs/API_docs_v81/constructors/messages_stickerSet.md deleted file mode 100644 index 127191de..00000000 --- a/old_docs/API_docs_v81/constructors/messages_stickerSet.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.stickerSet -description: Stickerset and stickers inside it -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickerSet -[Back to constructors index](index.md) - - - -Stickerset and stickers inside it - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|set|[StickerSet](../types/StickerSet.md) | Yes|The stickerset| -|packs|Array of [StickerPack](../types/StickerPack.md) | Yes|Packs| -|documents|Array of [Document](../types/Document.md) | Yes|Documents| - - - -### Type: [messages\_StickerSet](../types/messages_StickerSet.md) - - -### Example: - -```php -$messages_stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'packs' => [StickerPack, StickerPack], 'documents' => [Document, Document]]; -``` - - -Or, if you're into Lua: - -```lua -messages_stickerSet={_='messages.stickerSet', set=StickerSet, packs={StickerPack}, documents={Document}} - -``` - - diff --git a/old_docs/API_docs_v81/constructors/messages_stickerSetInstallResultArchive.md b/old_docs/API_docs_v81/constructors/messages_stickerSetInstallResultArchive.md deleted file mode 100644 index 8a5f4d5d..00000000 --- a/old_docs/API_docs_v81/constructors/messages_stickerSetInstallResultArchive.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.stickerSetInstallResultArchive -description: The stickerset was installed, but since there are too many stickersets some were archived -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickerSetInstallResultArchive -[Back to constructors index](index.md) - - - -The stickerset was installed, but since there are too many stickersets some were archived - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| - - - -### Type: [messages\_StickerSetInstallResult](../types/messages_StickerSetInstallResult.md) - - -### Example: - -```php -$messages_stickerSetInstallResultArchive = ['_' => 'messages.stickerSetInstallResultArchive', 'sets' => [StickerSetCovered, StickerSetCovered]]; -``` - - -Or, if you're into Lua: - -```lua -messages_stickerSetInstallResultArchive={_='messages.stickerSetInstallResultArchive', sets={StickerSetCovered}} - -``` - - diff --git a/old_docs/API_docs_v81/constructors/messages_stickerSetInstallResultSuccess.md b/old_docs/API_docs_v81/constructors/messages_stickerSetInstallResultSuccess.md deleted file mode 100644 index 1d33b89f..00000000 --- a/old_docs/API_docs_v81/constructors/messages_stickerSetInstallResultSuccess.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.stickerSetInstallResultSuccess -description: The stickerset was installed successfully -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickerSetInstallResultSuccess -[Back to constructors index](index.md) - - - -The stickerset was installed successfully - - - - -### Type: [messages\_StickerSetInstallResult](../types/messages_StickerSetInstallResult.md) - - -### Example: - -```php -$messages_stickerSetInstallResultSuccess = ['_' => 'messages.stickerSetInstallResultSuccess']; -``` - - -Or, if you're into Lua: - -```lua -messages_stickerSetInstallResultSuccess={_='messages.stickerSetInstallResultSuccess'} - -``` - - diff --git a/old_docs/API_docs_v81/constructors/messages_stickers.md b/old_docs/API_docs_v81/constructors/messages_stickers.md deleted file mode 100644 index c321996b..00000000 --- a/old_docs/API_docs_v81/constructors/messages_stickers.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.stickers -description: Found stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickers -[Back to constructors index](index.md) - - - -Found stickers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| - - - -### Type: [messages\_Stickers](../types/messages_Stickers.md) - - -### Example: - -```php -$messages_stickers = ['_' => 'messages.stickers', 'hash' => int, 'stickers' => [Document, Document]]; -``` - - -Or, if you're into Lua: - -```lua -messages_stickers={_='messages.stickers', hash=int, stickers={Document}} - -``` - - diff --git a/old_docs/API_docs_v81/constructors/messages_stickersNotModified.md b/old_docs/API_docs_v81/constructors/messages_stickersNotModified.md deleted file mode 100644 index 3d434a79..00000000 --- a/old_docs/API_docs_v81/constructors/messages_stickersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.stickersNotModified -description: No new stickers were found for the given query -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickersNotModified -[Back to constructors index](index.md) - - - -No new stickers were found for the given query - - - - -### Type: [messages\_Stickers](../types/messages_Stickers.md) - - -### Example: - -```php -$messages_stickersNotModified = ['_' => 'messages.stickersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_stickersNotModified={_='messages.stickersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v81/constructors/payments.paymentForm.md b/old_docs/API_docs_v81/constructors/payments.paymentForm.md new file mode 100644 index 00000000..90e0f39d --- /dev/null +++ b/old_docs/API_docs_v81/constructors/payments.paymentForm.md @@ -0,0 +1,48 @@ +--- +title: payments.paymentForm +description: Payment form +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: payments.paymentForm +[Back to constructors index](index.md) + + + +Payment form + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|can\_save\_credentials|[Bool](../types/Bool.md) | Optional|Whether the user can choose to save credentials.| +|password\_missing|[Bool](../types/Bool.md) | Optional|Indicates that the user can save payment credentials, but only after setting up a [2FA password](https://core.telegram.org/api/srp) (currently the account doesn't have a [2FA password](https://core.telegram.org/api/srp))| +|bot\_id|[int](../types/int.md) | Yes|Bot ID| +|invoice|[Invoice](../types/Invoice.md) | Yes|Invoice| +|provider\_id|[int](../types/int.md) | Yes|Payment provider ID.| +|url|[string](../types/string.md) | Yes|Payment form URL| +|native\_provider|[string](../types/string.md) | Optional|Payment provider name.
One of the following:
\- `stripe`| +|native\_params|[DataJSON](../types/DataJSON.md) | Optional|Contains information about the payment provider, if available, to support it natively without the need for opening the URL.
A JSON object that can contain the following fields:

\- `publishable_key`: Stripe API publishable key
\- `apple_pay_merchant_id`: Apple Pay merchant ID
\- `android_pay_public_key`: Android Pay public key
\- `android_pay_bgcolor`: Android Pay form background color
\- `android_pay_inverse`: Whether to use the dark theme in the Android Pay form
\- `need_country`: True, if the user country must be provided,
\- `need_zip`: True, if the user ZIP/postal code must be provided,
\- `need_cardholder_name`: True, if the cardholder name must be provided
| +|saved\_info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Optional|Saved server-side order information| +|saved\_credentials|[PaymentSavedCredentials](../types/PaymentSavedCredentials.md) | Optional|Contains information about saved card credentials| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [payments.PaymentForm](../types/payments.PaymentForm.md) + + +### Example: + +```php +$payments.paymentForm = ['_' => 'payments.paymentForm', 'can_save_credentials' => Bool, 'password_missing' => Bool, 'bot_id' => int, 'invoice' => Invoice, 'provider_id' => int, 'url' => 'string', 'native_provider' => 'string', 'native_params' => DataJSON, 'saved_info' => PaymentRequestedInfo, 'saved_credentials' => PaymentSavedCredentials, 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +payments.paymentForm={_='payments.paymentForm', can_save_credentials=Bool, password_missing=Bool, bot_id=int, invoice=Invoice, provider_id=int, url='string', native_provider='string', native_params=DataJSON, saved_info=PaymentRequestedInfo, saved_credentials=PaymentSavedCredentials, users={User}} + +``` + + diff --git a/old_docs/API_docs_v81/constructors/payments.paymentReceipt.md b/old_docs/API_docs_v81/constructors/payments.paymentReceipt.md new file mode 100644 index 00000000..5a0cc190 --- /dev/null +++ b/old_docs/API_docs_v81/constructors/payments.paymentReceipt.md @@ -0,0 +1,47 @@ +--- +title: payments.paymentReceipt +description: Receipt +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: payments.paymentReceipt +[Back to constructors index](index.md) + + + +Receipt + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Date of generation| +|bot\_id|[int](../types/int.md) | Yes|Bot ID| +|invoice|[Invoice](../types/Invoice.md) | Yes|Invoice| +|provider\_id|[int](../types/int.md) | Yes|Provider ID| +|info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Optional|Info| +|shipping|[ShippingOption](../types/ShippingOption.md) | Optional|Selected shipping option| +|currency|[string](../types/string.md) | Yes|Three-letter ISO 4217 [currency](https://core.telegram.org/bots/payments#supported-currencies) code| +|total\_amount|[long](../types/long.md) | Yes|Total amount in the smallest units of the currency (integer, not float/double). For example, for a price of `US$ 1.45` pass `amount = 145`. See the exp parameter in [currencies.json](https://core.telegram.org/bots/payments/currencies.json), it shows the number of digits past the decimal point for each currency (2 for the majority of currencies).| +|credentials\_title|[string](../types/string.md) | Yes|Payment credential name| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [payments.PaymentReceipt](../types/payments.PaymentReceipt.md) + + +### Example: + +```php +$payments.paymentReceipt = ['_' => 'payments.paymentReceipt', 'date' => int, 'bot_id' => int, 'invoice' => Invoice, 'provider_id' => int, 'info' => PaymentRequestedInfo, 'shipping' => ShippingOption, 'currency' => 'string', 'total_amount' => long, 'credentials_title' => 'string', 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +payments.paymentReceipt={_='payments.paymentReceipt', date=int, bot_id=int, invoice=Invoice, provider_id=int, info=PaymentRequestedInfo, shipping=ShippingOption, currency='string', total_amount=long, credentials_title='string', users={User}} + +``` + + diff --git a/old_docs/API_docs_v81/constructors/payments.paymentResult.md b/old_docs/API_docs_v81/constructors/payments.paymentResult.md new file mode 100644 index 00000000..df32fd91 --- /dev/null +++ b/old_docs/API_docs_v81/constructors/payments.paymentResult.md @@ -0,0 +1,38 @@ +--- +title: payments.paymentResult +description: Payment result +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: payments.paymentResult +[Back to constructors index](index.md) + + + +Payment result + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|updates|[Updates](../types/Updates.md) | Yes|Info about the payment| + + + +### Type: [payments.PaymentResult](../types/payments.PaymentResult.md) + + +### Example: + +```php +$payments.paymentResult = ['_' => 'payments.paymentResult', 'updates' => Updates]; +``` + + +Or, if you're into Lua: + +```lua +payments.paymentResult={_='payments.paymentResult', updates=Updates} + +``` + + diff --git a/old_docs/API_docs_v81/constructors/payments.paymentVerficationNeeded.md b/old_docs/API_docs_v81/constructors/payments.paymentVerficationNeeded.md new file mode 100644 index 00000000..3f459215 --- /dev/null +++ b/old_docs/API_docs_v81/constructors/payments.paymentVerficationNeeded.md @@ -0,0 +1,38 @@ +--- +title: payments.paymentVerficationNeeded +description: Payment verfication needed +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: payments.paymentVerficationNeeded +[Back to constructors index](index.md) + + + +Payment verfication needed + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|url|[string](../types/string.md) | Yes|URL| + + + +### Type: [payments.PaymentResult](../types/payments.PaymentResult.md) + + +### Example: + +```php +$payments.paymentVerficationNeeded = ['_' => 'payments.paymentVerficationNeeded', 'url' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +payments.paymentVerficationNeeded={_='payments.paymentVerficationNeeded', url='string'} + +``` + + diff --git a/old_docs/API_docs_v81/constructors/payments.savedInfo.md b/old_docs/API_docs_v81/constructors/payments.savedInfo.md new file mode 100644 index 00000000..a005a842 --- /dev/null +++ b/old_docs/API_docs_v81/constructors/payments.savedInfo.md @@ -0,0 +1,39 @@ +--- +title: payments.savedInfo +description: Saved server-side order information +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: payments.savedInfo +[Back to constructors index](index.md) + + + +Saved server-side order information + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|has\_saved\_credentials|[Bool](../types/Bool.md) | Optional|Whether the user has some saved payment credentials| +|saved\_info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Optional|Saved server-side order information| + + + +### Type: [payments.SavedInfo](../types/payments.SavedInfo.md) + + +### Example: + +```php +$payments.savedInfo = ['_' => 'payments.savedInfo', 'has_saved_credentials' => Bool, 'saved_info' => PaymentRequestedInfo]; +``` + + +Or, if you're into Lua: + +```lua +payments.savedInfo={_='payments.savedInfo', has_saved_credentials=Bool, saved_info=PaymentRequestedInfo} + +``` + + diff --git a/old_docs/API_docs_v81/constructors/payments.validatedRequestedInfo.md b/old_docs/API_docs_v81/constructors/payments.validatedRequestedInfo.md new file mode 100644 index 00000000..4789b28d --- /dev/null +++ b/old_docs/API_docs_v81/constructors/payments.validatedRequestedInfo.md @@ -0,0 +1,39 @@ +--- +title: payments.validatedRequestedInfo +description: Validated user-provided info +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: payments.validatedRequestedInfo +[Back to constructors index](index.md) + + + +Validated user-provided info + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|id|[string](../types/string.md) | Optional|ID| +|shipping\_options|Array of [ShippingOption](../types/ShippingOption.md) | Optional|Shipping options| + + + +### Type: [payments.ValidatedRequestedInfo](../types/payments.ValidatedRequestedInfo.md) + + +### Example: + +```php +$payments.validatedRequestedInfo = ['_' => 'payments.validatedRequestedInfo', 'id' => 'string', 'shipping_options' => [ShippingOption, ShippingOption]]; +``` + + +Or, if you're into Lua: + +```lua +payments.validatedRequestedInfo={_='payments.validatedRequestedInfo', id='string', shipping_options={ShippingOption}} + +``` + + diff --git a/old_docs/API_docs_v81/constructors/payments_paymentForm.md b/old_docs/API_docs_v81/constructors/payments_paymentForm.md deleted file mode 100644 index 88848527..00000000 --- a/old_docs/API_docs_v81/constructors/payments_paymentForm.md +++ /dev/null @@ -1,48 +0,0 @@ ---- -title: payments.paymentForm -description: Payment form -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: payments.paymentForm -[Back to constructors index](index.md) - - - -Payment form - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|can\_save\_credentials|[Bool](../types/Bool.md) | Optional|Whether the user can choose to save credentials.| -|password\_missing|[Bool](../types/Bool.md) | Optional|Indicates that the user can save payment credentials, but only after setting up a [2FA password](https://core.telegram.org/api/srp) (currently the account doesn't have a [2FA password](https://core.telegram.org/api/srp))| -|bot\_id|[int](../types/int.md) | Yes|Bot ID| -|invoice|[Invoice](../types/Invoice.md) | Yes|Invoice| -|provider\_id|[int](../types/int.md) | Yes|Payment provider ID.| -|url|[string](../types/string.md) | Yes|Payment form URL| -|native\_provider|[string](../types/string.md) | Optional|Payment provider name.
One of the following:
\- `stripe`| -|native\_params|[DataJSON](../types/DataJSON.md) | Optional|Contains information about the payment provider, if available, to support it natively without the need for opening the URL.
A JSON object that can contain the following fields:

\- `publishable_key`: Stripe API publishable key
\- `apple_pay_merchant_id`: Apple Pay merchant ID
\- `android_pay_public_key`: Android Pay public key
\- `android_pay_bgcolor`: Android Pay form background color
\- `android_pay_inverse`: Whether to use the dark theme in the Android Pay form
\- `need_country`: True, if the user country must be provided,
\- `need_zip`: True, if the user ZIP/postal code must be provided,
\- `need_cardholder_name`: True, if the cardholder name must be provided
| -|saved\_info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Optional|Saved server-side order information| -|saved\_credentials|[PaymentSavedCredentials](../types/PaymentSavedCredentials.md) | Optional|Contains information about saved card credentials| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [payments\_PaymentForm](../types/payments_PaymentForm.md) - - -### Example: - -```php -$payments_paymentForm = ['_' => 'payments.paymentForm', 'can_save_credentials' => Bool, 'password_missing' => Bool, 'bot_id' => int, 'invoice' => Invoice, 'provider_id' => int, 'url' => 'string', 'native_provider' => 'string', 'native_params' => DataJSON, 'saved_info' => PaymentRequestedInfo, 'saved_credentials' => PaymentSavedCredentials, 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -payments_paymentForm={_='payments.paymentForm', can_save_credentials=Bool, password_missing=Bool, bot_id=int, invoice=Invoice, provider_id=int, url='string', native_provider='string', native_params=DataJSON, saved_info=PaymentRequestedInfo, saved_credentials=PaymentSavedCredentials, users={User}} - -``` - - diff --git a/old_docs/API_docs_v81/constructors/payments_paymentReceipt.md b/old_docs/API_docs_v81/constructors/payments_paymentReceipt.md deleted file mode 100644 index 411e9dee..00000000 --- a/old_docs/API_docs_v81/constructors/payments_paymentReceipt.md +++ /dev/null @@ -1,47 +0,0 @@ ---- -title: payments.paymentReceipt -description: Receipt -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: payments.paymentReceipt -[Back to constructors index](index.md) - - - -Receipt - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Date of generation| -|bot\_id|[int](../types/int.md) | Yes|Bot ID| -|invoice|[Invoice](../types/Invoice.md) | Yes|Invoice| -|provider\_id|[int](../types/int.md) | Yes|Provider ID| -|info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Optional|Info| -|shipping|[ShippingOption](../types/ShippingOption.md) | Optional|Selected shipping option| -|currency|[string](../types/string.md) | Yes|Three-letter ISO 4217 [currency](https://core.telegram.org/bots/payments#supported-currencies) code| -|total\_amount|[long](../types/long.md) | Yes|Total amount in the smallest units of the currency (integer, not float/double). For example, for a price of `US$ 1.45` pass `amount = 145`. See the exp parameter in [currencies.json](https://core.telegram.org/bots/payments/currencies.json), it shows the number of digits past the decimal point for each currency (2 for the majority of currencies).| -|credentials\_title|[string](../types/string.md) | Yes|Payment credential name| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [payments\_PaymentReceipt](../types/payments_PaymentReceipt.md) - - -### Example: - -```php -$payments_paymentReceipt = ['_' => 'payments.paymentReceipt', 'date' => int, 'bot_id' => int, 'invoice' => Invoice, 'provider_id' => int, 'info' => PaymentRequestedInfo, 'shipping' => ShippingOption, 'currency' => 'string', 'total_amount' => long, 'credentials_title' => 'string', 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -payments_paymentReceipt={_='payments.paymentReceipt', date=int, bot_id=int, invoice=Invoice, provider_id=int, info=PaymentRequestedInfo, shipping=ShippingOption, currency='string', total_amount=long, credentials_title='string', users={User}} - -``` - - diff --git a/old_docs/API_docs_v81/constructors/payments_paymentResult.md b/old_docs/API_docs_v81/constructors/payments_paymentResult.md deleted file mode 100644 index 12af1d36..00000000 --- a/old_docs/API_docs_v81/constructors/payments_paymentResult.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: payments.paymentResult -description: Payment result -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: payments.paymentResult -[Back to constructors index](index.md) - - - -Payment result - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|updates|[Updates](../types/Updates.md) | Yes|Info about the payment| - - - -### Type: [payments\_PaymentResult](../types/payments_PaymentResult.md) - - -### Example: - -```php -$payments_paymentResult = ['_' => 'payments.paymentResult', 'updates' => Updates]; -``` - - -Or, if you're into Lua: - -```lua -payments_paymentResult={_='payments.paymentResult', updates=Updates} - -``` - - diff --git a/old_docs/API_docs_v81/constructors/payments_paymentVerficationNeeded.md b/old_docs/API_docs_v81/constructors/payments_paymentVerficationNeeded.md deleted file mode 100644 index 70ca205d..00000000 --- a/old_docs/API_docs_v81/constructors/payments_paymentVerficationNeeded.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: payments.paymentVerficationNeeded -description: Payment verfication needed -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: payments.paymentVerficationNeeded -[Back to constructors index](index.md) - - - -Payment verfication needed - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|url|[string](../types/string.md) | Yes|URL| - - - -### Type: [payments\_PaymentResult](../types/payments_PaymentResult.md) - - -### Example: - -```php -$payments_paymentVerficationNeeded = ['_' => 'payments.paymentVerficationNeeded', 'url' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -payments_paymentVerficationNeeded={_='payments.paymentVerficationNeeded', url='string'} - -``` - - diff --git a/old_docs/API_docs_v81/constructors/payments_savedInfo.md b/old_docs/API_docs_v81/constructors/payments_savedInfo.md deleted file mode 100644 index 19d3aee5..00000000 --- a/old_docs/API_docs_v81/constructors/payments_savedInfo.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: payments.savedInfo -description: Saved server-side order information -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: payments.savedInfo -[Back to constructors index](index.md) - - - -Saved server-side order information - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|has\_saved\_credentials|[Bool](../types/Bool.md) | Optional|Whether the user has some saved payment credentials| -|saved\_info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Optional|Saved server-side order information| - - - -### Type: [payments\_SavedInfo](../types/payments_SavedInfo.md) - - -### Example: - -```php -$payments_savedInfo = ['_' => 'payments.savedInfo', 'has_saved_credentials' => Bool, 'saved_info' => PaymentRequestedInfo]; -``` - - -Or, if you're into Lua: - -```lua -payments_savedInfo={_='payments.savedInfo', has_saved_credentials=Bool, saved_info=PaymentRequestedInfo} - -``` - - diff --git a/old_docs/API_docs_v81/constructors/payments_validatedRequestedInfo.md b/old_docs/API_docs_v81/constructors/payments_validatedRequestedInfo.md deleted file mode 100644 index a07c7d06..00000000 --- a/old_docs/API_docs_v81/constructors/payments_validatedRequestedInfo.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: payments.validatedRequestedInfo -description: Validated user-provided info -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: payments.validatedRequestedInfo -[Back to constructors index](index.md) - - - -Validated user-provided info - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|id|[string](../types/string.md) | Optional|ID| -|shipping\_options|Array of [ShippingOption](../types/ShippingOption.md) | Optional|Shipping options| - - - -### Type: [payments\_ValidatedRequestedInfo](../types/payments_ValidatedRequestedInfo.md) - - -### Example: - -```php -$payments_validatedRequestedInfo = ['_' => 'payments.validatedRequestedInfo', 'id' => 'string', 'shipping_options' => [ShippingOption, ShippingOption]]; -``` - - -Or, if you're into Lua: - -```lua -payments_validatedRequestedInfo={_='payments.validatedRequestedInfo', id='string', shipping_options={ShippingOption}} - -``` - - diff --git a/old_docs/API_docs_v81/constructors/phone.phoneCall.md b/old_docs/API_docs_v81/constructors/phone.phoneCall.md new file mode 100644 index 00000000..8c1d26d4 --- /dev/null +++ b/old_docs/API_docs_v81/constructors/phone.phoneCall.md @@ -0,0 +1,39 @@ +--- +title: phone.phoneCall +description: A VoIP phone call +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: phone.phoneCall +[Back to constructors index](index.md) + + + +A VoIP phone call + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_call|[PhoneCall](../types/PhoneCall.md) | Optional|The VoIP phone call| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [phone.PhoneCall](../types/phone.PhoneCall.md) + + +### Example: + +```php +$phone.phoneCall = ['_' => 'phone.phoneCall', 'phone_call' => PhoneCall, 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +phone.phoneCall={_='phone.phoneCall', phone_call=PhoneCall, users={User}} + +``` + + diff --git a/old_docs/API_docs_v81/constructors/phone_phoneCall.md b/old_docs/API_docs_v81/constructors/phone_phoneCall.md deleted file mode 100644 index 94314567..00000000 --- a/old_docs/API_docs_v81/constructors/phone_phoneCall.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: phone.phoneCall -description: A VoIP phone call -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: phone.phoneCall -[Back to constructors index](index.md) - - - -A VoIP phone call - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_call|[PhoneCall](../types/PhoneCall.md) | Optional|The VoIP phone call| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [phone\_PhoneCall](../types/phone_PhoneCall.md) - - -### Example: - -```php -$phone_phoneCall = ['_' => 'phone.phoneCall', 'phone_call' => PhoneCall, 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -phone_phoneCall={_='phone.phoneCall', phone_call=PhoneCall, users={User}} - -``` - - diff --git a/old_docs/API_docs_v81/constructors/photos.photo.md b/old_docs/API_docs_v81/constructors/photos.photo.md new file mode 100644 index 00000000..43d3efc7 --- /dev/null +++ b/old_docs/API_docs_v81/constructors/photos.photo.md @@ -0,0 +1,39 @@ +--- +title: photos.photo +description: Photo with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: photos.photo +[Back to constructors index](index.md) + + + +Photo with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|photo|[Photo](../types/Photo.md) | Optional|Photo| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [photos.Photo](../types/photos.Photo.md) + + +### Example: + +```php +$photos.photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +photos.photo={_='photos.photo', photo=Photo, users={User}} + +``` + + diff --git a/old_docs/API_docs_v81/constructors/photos.photos.md b/old_docs/API_docs_v81/constructors/photos.photos.md new file mode 100644 index 00000000..901a9693 --- /dev/null +++ b/old_docs/API_docs_v81/constructors/photos.photos.md @@ -0,0 +1,39 @@ +--- +title: photos.photos +description: Full list of photos with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: photos.photos +[Back to constructors index](index.md) + + + +Full list of photos with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [photos.Photos](../types/photos.Photos.md) + + +### Example: + +```php +$photos.photos = ['_' => 'photos.photos', 'photos' => [Photo, Photo], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +photos.photos={_='photos.photos', photos={Photo}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v81/constructors/photos.photosSlice.md b/old_docs/API_docs_v81/constructors/photos.photosSlice.md new file mode 100644 index 00000000..2cca3546 --- /dev/null +++ b/old_docs/API_docs_v81/constructors/photos.photosSlice.md @@ -0,0 +1,40 @@ +--- +title: photos.photosSlice +description: Incomplete list of photos with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: photos.photosSlice +[Back to constructors index](index.md) + + + +Incomplete list of photos with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of photos| +|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [photos.Photos](../types/photos.Photos.md) + + +### Example: + +```php +$photos.photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo, Photo], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +photos.photosSlice={_='photos.photosSlice', count=int, photos={Photo}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v81/constructors/photos_photo.md b/old_docs/API_docs_v81/constructors/photos_photo.md deleted file mode 100644 index d5ad61d9..00000000 --- a/old_docs/API_docs_v81/constructors/photos_photo.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: photos.photo -description: Photo with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: photos.photo -[Back to constructors index](index.md) - - - -Photo with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|photo|[Photo](../types/Photo.md) | Optional|Photo| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [photos\_Photo](../types/photos_Photo.md) - - -### Example: - -```php -$photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -photos_photo={_='photos.photo', photo=Photo, users={User}} - -``` - - diff --git a/old_docs/API_docs_v81/constructors/photos_photos.md b/old_docs/API_docs_v81/constructors/photos_photos.md deleted file mode 100644 index 6ae5d048..00000000 --- a/old_docs/API_docs_v81/constructors/photos_photos.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: photos.photos -description: Full list of photos with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: photos.photos -[Back to constructors index](index.md) - - - -Full list of photos with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [photos\_Photos](../types/photos_Photos.md) - - -### Example: - -```php -$photos_photos = ['_' => 'photos.photos', 'photos' => [Photo, Photo], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -photos_photos={_='photos.photos', photos={Photo}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v81/constructors/photos_photosSlice.md b/old_docs/API_docs_v81/constructors/photos_photosSlice.md deleted file mode 100644 index 5c465c21..00000000 --- a/old_docs/API_docs_v81/constructors/photos_photosSlice.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: photos.photosSlice -description: Incomplete list of photos with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: photos.photosSlice -[Back to constructors index](index.md) - - - -Incomplete list of photos with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of photos| -|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [photos\_Photos](../types/photos_Photos.md) - - -### Example: - -```php -$photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo, Photo], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -photos_photosSlice={_='photos.photosSlice', count=int, photos={Photo}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v81/constructors/storage.fileGif.md b/old_docs/API_docs_v81/constructors/storage.fileGif.md new file mode 100644 index 00000000..8193bd25 --- /dev/null +++ b/old_docs/API_docs_v81/constructors/storage.fileGif.md @@ -0,0 +1,33 @@ +--- +title: storage.fileGif +description: GIF image. MIME type: `image/gif`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileGif +[Back to constructors index](index.md) + + + +GIF image. MIME type: `image/gif`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileGif = ['_' => 'storage.fileGif']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileGif={_='storage.fileGif'} + +``` + + diff --git a/old_docs/API_docs_v81/constructors/storage.fileJpeg.md b/old_docs/API_docs_v81/constructors/storage.fileJpeg.md new file mode 100644 index 00000000..7f125963 --- /dev/null +++ b/old_docs/API_docs_v81/constructors/storage.fileJpeg.md @@ -0,0 +1,33 @@ +--- +title: storage.fileJpeg +description: JPEG image. MIME type: `image/jpeg`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileJpeg +[Back to constructors index](index.md) + + + +JPEG image. MIME type: `image/jpeg`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileJpeg = ['_' => 'storage.fileJpeg']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileJpeg={_='storage.fileJpeg'} + +``` + + diff --git a/old_docs/API_docs_v81/constructors/storage.fileMov.md b/old_docs/API_docs_v81/constructors/storage.fileMov.md new file mode 100644 index 00000000..cb3742e0 --- /dev/null +++ b/old_docs/API_docs_v81/constructors/storage.fileMov.md @@ -0,0 +1,33 @@ +--- +title: storage.fileMov +description: Quicktime video. MIME type: `video/quicktime`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileMov +[Back to constructors index](index.md) + + + +Quicktime video. MIME type: `video/quicktime`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileMov = ['_' => 'storage.fileMov']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileMov={_='storage.fileMov'} + +``` + + diff --git a/old_docs/API_docs_v81/constructors/storage.fileMp3.md b/old_docs/API_docs_v81/constructors/storage.fileMp3.md new file mode 100644 index 00000000..617f2d39 --- /dev/null +++ b/old_docs/API_docs_v81/constructors/storage.fileMp3.md @@ -0,0 +1,33 @@ +--- +title: storage.fileMp3 +description: Mp3 audio. MIME type: `audio/mpeg`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileMp3 +[Back to constructors index](index.md) + + + +Mp3 audio. MIME type: `audio/mpeg`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileMp3 = ['_' => 'storage.fileMp3']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileMp3={_='storage.fileMp3'} + +``` + + diff --git a/old_docs/API_docs_v81/constructors/storage.fileMp4.md b/old_docs/API_docs_v81/constructors/storage.fileMp4.md new file mode 100644 index 00000000..37038176 --- /dev/null +++ b/old_docs/API_docs_v81/constructors/storage.fileMp4.md @@ -0,0 +1,33 @@ +--- +title: storage.fileMp4 +description: MPEG-4 video. MIME type: `video/mp4`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileMp4 +[Back to constructors index](index.md) + + + +MPEG-4 video. MIME type: `video/mp4`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileMp4 = ['_' => 'storage.fileMp4']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileMp4={_='storage.fileMp4'} + +``` + + diff --git a/old_docs/API_docs_v81/constructors/storage.filePartial.md b/old_docs/API_docs_v81/constructors/storage.filePartial.md new file mode 100644 index 00000000..98779e71 --- /dev/null +++ b/old_docs/API_docs_v81/constructors/storage.filePartial.md @@ -0,0 +1,33 @@ +--- +title: storage.filePartial +description: Part of a bigger file. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.filePartial +[Back to constructors index](index.md) + + + +Part of a bigger file. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.filePartial = ['_' => 'storage.filePartial']; +``` + + +Or, if you're into Lua: + +```lua +storage.filePartial={_='storage.filePartial'} + +``` + + diff --git a/old_docs/API_docs_v81/constructors/storage.filePdf.md b/old_docs/API_docs_v81/constructors/storage.filePdf.md new file mode 100644 index 00000000..136c0614 --- /dev/null +++ b/old_docs/API_docs_v81/constructors/storage.filePdf.md @@ -0,0 +1,33 @@ +--- +title: storage.filePdf +description: PDF document image. MIME type: `application/pdf`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.filePdf +[Back to constructors index](index.md) + + + +PDF document image. MIME type: `application/pdf`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.filePdf = ['_' => 'storage.filePdf']; +``` + + +Or, if you're into Lua: + +```lua +storage.filePdf={_='storage.filePdf'} + +``` + + diff --git a/old_docs/API_docs_v81/constructors/storage.filePng.md b/old_docs/API_docs_v81/constructors/storage.filePng.md new file mode 100644 index 00000000..db01ce0e --- /dev/null +++ b/old_docs/API_docs_v81/constructors/storage.filePng.md @@ -0,0 +1,33 @@ +--- +title: storage.filePng +description: PNG image. MIME type: `image/png`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.filePng +[Back to constructors index](index.md) + + + +PNG image. MIME type: `image/png`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.filePng = ['_' => 'storage.filePng']; +``` + + +Or, if you're into Lua: + +```lua +storage.filePng={_='storage.filePng'} + +``` + + diff --git a/old_docs/API_docs_v81/constructors/storage.fileUnknown.md b/old_docs/API_docs_v81/constructors/storage.fileUnknown.md new file mode 100644 index 00000000..26f0a5ae --- /dev/null +++ b/old_docs/API_docs_v81/constructors/storage.fileUnknown.md @@ -0,0 +1,33 @@ +--- +title: storage.fileUnknown +description: Unknown type. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileUnknown +[Back to constructors index](index.md) + + + +Unknown type. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileUnknown = ['_' => 'storage.fileUnknown']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileUnknown={_='storage.fileUnknown'} + +``` + + diff --git a/old_docs/API_docs_v81/constructors/storage.fileWebp.md b/old_docs/API_docs_v81/constructors/storage.fileWebp.md new file mode 100644 index 00000000..63c9ded1 --- /dev/null +++ b/old_docs/API_docs_v81/constructors/storage.fileWebp.md @@ -0,0 +1,33 @@ +--- +title: storage.fileWebp +description: WEBP image. MIME type: `image/webp`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileWebp +[Back to constructors index](index.md) + + + +WEBP image. MIME type: `image/webp`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileWebp = ['_' => 'storage.fileWebp']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileWebp={_='storage.fileWebp'} + +``` + + diff --git a/old_docs/API_docs_v81/constructors/storage_fileGif.md b/old_docs/API_docs_v81/constructors/storage_fileGif.md deleted file mode 100644 index 218c7491..00000000 --- a/old_docs/API_docs_v81/constructors/storage_fileGif.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileGif -description: GIF image. MIME type: `image/gif`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileGif -[Back to constructors index](index.md) - - - -GIF image. MIME type: `image/gif`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileGif = ['_' => 'storage.fileGif']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileGif={_='storage.fileGif'} - -``` - - diff --git a/old_docs/API_docs_v81/constructors/storage_fileJpeg.md b/old_docs/API_docs_v81/constructors/storage_fileJpeg.md deleted file mode 100644 index 925531cd..00000000 --- a/old_docs/API_docs_v81/constructors/storage_fileJpeg.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileJpeg -description: JPEG image. MIME type: `image/jpeg`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileJpeg -[Back to constructors index](index.md) - - - -JPEG image. MIME type: `image/jpeg`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileJpeg = ['_' => 'storage.fileJpeg']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileJpeg={_='storage.fileJpeg'} - -``` - - diff --git a/old_docs/API_docs_v81/constructors/storage_fileMov.md b/old_docs/API_docs_v81/constructors/storage_fileMov.md deleted file mode 100644 index eaf2a6ff..00000000 --- a/old_docs/API_docs_v81/constructors/storage_fileMov.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileMov -description: Quicktime video. MIME type: `video/quicktime`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileMov -[Back to constructors index](index.md) - - - -Quicktime video. MIME type: `video/quicktime`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileMov = ['_' => 'storage.fileMov']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileMov={_='storage.fileMov'} - -``` - - diff --git a/old_docs/API_docs_v81/constructors/storage_fileMp3.md b/old_docs/API_docs_v81/constructors/storage_fileMp3.md deleted file mode 100644 index 9afcefbb..00000000 --- a/old_docs/API_docs_v81/constructors/storage_fileMp3.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileMp3 -description: Mp3 audio. MIME type: `audio/mpeg`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileMp3 -[Back to constructors index](index.md) - - - -Mp3 audio. MIME type: `audio/mpeg`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileMp3 = ['_' => 'storage.fileMp3']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileMp3={_='storage.fileMp3'} - -``` - - diff --git a/old_docs/API_docs_v81/constructors/storage_fileMp4.md b/old_docs/API_docs_v81/constructors/storage_fileMp4.md deleted file mode 100644 index cdc0e783..00000000 --- a/old_docs/API_docs_v81/constructors/storage_fileMp4.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileMp4 -description: MPEG-4 video. MIME type: `video/mp4`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileMp4 -[Back to constructors index](index.md) - - - -MPEG-4 video. MIME type: `video/mp4`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileMp4 = ['_' => 'storage.fileMp4']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileMp4={_='storage.fileMp4'} - -``` - - diff --git a/old_docs/API_docs_v81/constructors/storage_filePartial.md b/old_docs/API_docs_v81/constructors/storage_filePartial.md deleted file mode 100644 index 9bfadf63..00000000 --- a/old_docs/API_docs_v81/constructors/storage_filePartial.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.filePartial -description: Part of a bigger file. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.filePartial -[Back to constructors index](index.md) - - - -Part of a bigger file. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_filePartial = ['_' => 'storage.filePartial']; -``` - - -Or, if you're into Lua: - -```lua -storage_filePartial={_='storage.filePartial'} - -``` - - diff --git a/old_docs/API_docs_v81/constructors/storage_filePdf.md b/old_docs/API_docs_v81/constructors/storage_filePdf.md deleted file mode 100644 index efb022cc..00000000 --- a/old_docs/API_docs_v81/constructors/storage_filePdf.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.filePdf -description: PDF document image. MIME type: `application/pdf`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.filePdf -[Back to constructors index](index.md) - - - -PDF document image. MIME type: `application/pdf`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_filePdf = ['_' => 'storage.filePdf']; -``` - - -Or, if you're into Lua: - -```lua -storage_filePdf={_='storage.filePdf'} - -``` - - diff --git a/old_docs/API_docs_v81/constructors/storage_filePng.md b/old_docs/API_docs_v81/constructors/storage_filePng.md deleted file mode 100644 index 412759e4..00000000 --- a/old_docs/API_docs_v81/constructors/storage_filePng.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.filePng -description: PNG image. MIME type: `image/png`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.filePng -[Back to constructors index](index.md) - - - -PNG image. MIME type: `image/png`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_filePng = ['_' => 'storage.filePng']; -``` - - -Or, if you're into Lua: - -```lua -storage_filePng={_='storage.filePng'} - -``` - - diff --git a/old_docs/API_docs_v81/constructors/storage_fileUnknown.md b/old_docs/API_docs_v81/constructors/storage_fileUnknown.md deleted file mode 100644 index ed33dd5e..00000000 --- a/old_docs/API_docs_v81/constructors/storage_fileUnknown.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileUnknown -description: Unknown type. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileUnknown -[Back to constructors index](index.md) - - - -Unknown type. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileUnknown = ['_' => 'storage.fileUnknown']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileUnknown={_='storage.fileUnknown'} - -``` - - diff --git a/old_docs/API_docs_v81/constructors/storage_fileWebp.md b/old_docs/API_docs_v81/constructors/storage_fileWebp.md deleted file mode 100644 index 04dcad74..00000000 --- a/old_docs/API_docs_v81/constructors/storage_fileWebp.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileWebp -description: WEBP image. MIME type: `image/webp`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileWebp -[Back to constructors index](index.md) - - - -WEBP image. MIME type: `image/webp`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileWebp = ['_' => 'storage.fileWebp']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileWebp={_='storage.fileWebp'} - -``` - - diff --git a/old_docs/API_docs_v81/constructors/updateNewStickerSet.md b/old_docs/API_docs_v81/constructors/updateNewStickerSet.md index 8a99a363..c32c41ff 100644 --- a/old_docs/API_docs_v81/constructors/updateNewStickerSet.md +++ b/old_docs/API_docs_v81/constructors/updateNewStickerSet.md @@ -14,7 +14,7 @@ A new stickerset was installed | Name | Type | Required | Description | |----------|---------------|----------|-------------| -|stickerset|[messages\_StickerSet](../types/messages_StickerSet.md) | Yes|The installed stickerset| +|stickerset|[messages.StickerSet](../constructors/messages.StickerSet.md) | Yes|The installed stickerset| @@ -24,14 +24,14 @@ A new stickerset was installed ### Example: ```php -$updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages_StickerSet]; +$updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages.StickerSet]; ``` Or, if you're into Lua: ```lua -updateNewStickerSet={_='updateNewStickerSet', stickerset=messages_StickerSet} +updateNewStickerSet={_='updateNewStickerSet', stickerset=messages.StickerSet} ``` diff --git a/old_docs/API_docs_v81/constructors/updates.channelDifference.md b/old_docs/API_docs_v81/constructors/updates.channelDifference.md new file mode 100644 index 00000000..5a13791c --- /dev/null +++ b/old_docs/API_docs_v81/constructors/updates.channelDifference.md @@ -0,0 +1,44 @@ +--- +title: updates.channelDifference +description: The new updates +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.channelDifference +[Back to constructors index](index.md) + + + +The new updates + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates to be fetched using getDifference, starting from the provided `pts`| +|pts|[int](../types/int.md) | Yes|The [PTS](https://core.telegram.org/api/updates) from which to start getting updates the next time| +|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| +|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| +|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [updates.ChannelDifference](../types/updates.ChannelDifference.md) + + +### Example: + +```php +$updates.channelDifference = ['_' => 'updates.channelDifference', 'final' => Bool, 'pts' => int, 'timeout' => int, 'new_messages' => [Message, Message], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +updates.channelDifference={_='updates.channelDifference', final=Bool, pts=int, timeout=int, new_messages={Message}, other_updates={Update}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v81/constructors/updates.channelDifferenceEmpty.md b/old_docs/API_docs_v81/constructors/updates.channelDifferenceEmpty.md new file mode 100644 index 00000000..8ce43da4 --- /dev/null +++ b/old_docs/API_docs_v81/constructors/updates.channelDifferenceEmpty.md @@ -0,0 +1,40 @@ +--- +title: updates.channelDifferenceEmpty +description: There are no new updates +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.channelDifferenceEmpty +[Back to constructors index](index.md) + + + +There are no new updates + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates that must be fetched (always false)| +|pts|[int](../types/int.md) | Yes|The latest [PTS](https://core.telegram.org/api/updates)| +|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| + + + +### Type: [updates.ChannelDifference](../types/updates.ChannelDifference.md) + + +### Example: + +```php +$updates.channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'final' => Bool, 'pts' => int, 'timeout' => int]; +``` + + +Or, if you're into Lua: + +```lua +updates.channelDifferenceEmpty={_='updates.channelDifferenceEmpty', final=Bool, pts=int, timeout=int} + +``` + + diff --git a/old_docs/API_docs_v81/constructors/updates.channelDifferenceTooLong.md b/old_docs/API_docs_v81/constructors/updates.channelDifferenceTooLong.md new file mode 100644 index 00000000..9290856d --- /dev/null +++ b/old_docs/API_docs_v81/constructors/updates.channelDifferenceTooLong.md @@ -0,0 +1,58 @@ +--- +title: updates.channelDifferenceTooLong +description: The provided `pts + limit < remote pts`. Simply, there are too many updates to be fetched (more than `limit`), the client has to resolve the update gap in one of the following ways: + +1. Delete all known messages in the chat, begin from scratch by refetching all messages manually with [getHistory](../methods/messages.getHistory.md). It is easy to implement, but suddenly disappearing messages looks awful for the user. +2. Save all messages loaded in the memory until application restart, but delete all messages from database. Messages left in the memory must be lazily updated using calls to [getHistory](../methods/messages.getHistory.md). It looks much smoothly for the user, he will need to redownload messages only after client restart. Unsynchronized messages left in the memory shouldn't be saved to database, results of [getHistory](../methods/messages.getHistory.md) and [getMessages](../methods/messages.getMessages.md) must be used to update state of deleted and edited messages left in the memory. +3. Save all messages loaded in the memory and stored in the database without saving that some messages form continuous ranges. Messages in the database will be excluded from results of getChatHistory and searchChatMessages after application restart and will be available only through getMessage. Every message should still be checked using getHistory. It has more disadvantages over 2) than advantages. +4. Save all messages with saving all data about continuous message ranges. Messages from the database may be used as results of getChatHistory and (if implemented continuous ranges support for searching shared media) searchChatMessages. The messages should still be lazily checked using getHistory, but they are still available offline. It is the best way for gaps support, but it is pretty hard to implement correctly. It should be also noted that some messages like live location messages shouldn't be deleted. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.channelDifferenceTooLong +[Back to constructors index](index.md) + + + +The provided `pts + limit < remote pts`. Simply, there are too many updates to be fetched (more than `limit`), the client has to resolve the update gap in one of the following ways: + +1. Delete all known messages in the chat, begin from scratch by refetching all messages manually with [getHistory](../methods/messages.getHistory.md). It is easy to implement, but suddenly disappearing messages looks awful for the user. +2. Save all messages loaded in the memory until application restart, but delete all messages from database. Messages left in the memory must be lazily updated using calls to [getHistory](../methods/messages.getHistory.md). It looks much smoothly for the user, he will need to redownload messages only after client restart. Unsynchronized messages left in the memory shouldn't be saved to database, results of [getHistory](../methods/messages.getHistory.md) and [getMessages](../methods/messages.getMessages.md) must be used to update state of deleted and edited messages left in the memory. +3. Save all messages loaded in the memory and stored in the database without saving that some messages form continuous ranges. Messages in the database will be excluded from results of getChatHistory and searchChatMessages after application restart and will be available only through getMessage. Every message should still be checked using getHistory. It has more disadvantages over 2) than advantages. +4. Save all messages with saving all data about continuous message ranges. Messages from the database may be used as results of getChatHistory and (if implemented continuous ranges support for searching shared media) searchChatMessages. The messages should still be lazily checked using getHistory, but they are still available offline. It is the best way for gaps support, but it is pretty hard to implement correctly. It should be also noted that some messages like live location messages shouldn't be deleted. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates that must be fetched (always false)| +|pts|[int](../types/int.md) | Yes|Pts| +|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| +|top\_message|[int](../types/int.md) | Yes|Top message| +|read\_inbox\_max\_id|[int](../types/int.md) | Yes|Read inbox max ID| +|read\_outbox\_max\_id|[int](../types/int.md) | Yes|Read outbox max ID| +|unread\_count|[int](../types/int.md) | Yes|Unread count| +|unread\_mentions\_count|[int](../types/int.md) | Yes|Unread mentions count| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [updates.ChannelDifference](../types/updates.ChannelDifference.md) + + +### Example: + +```php +$updates.channelDifferenceTooLong = ['_' => 'updates.channelDifferenceTooLong', 'final' => Bool, 'pts' => int, 'timeout' => int, 'top_message' => int, 'read_inbox_max_id' => int, 'read_outbox_max_id' => int, 'unread_count' => int, 'unread_mentions_count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +updates.channelDifferenceTooLong={_='updates.channelDifferenceTooLong', final=Bool, pts=int, timeout=int, top_message=int, read_inbox_max_id=int, read_outbox_max_id=int, unread_count=int, unread_mentions_count=int, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v81/constructors/updates.difference.md b/old_docs/API_docs_v81/constructors/updates.difference.md new file mode 100644 index 00000000..82541b51 --- /dev/null +++ b/old_docs/API_docs_v81/constructors/updates.difference.md @@ -0,0 +1,43 @@ +--- +title: updates.difference +description: Full list of occurred events. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.difference +[Back to constructors index](index.md) + + + +Full list of occurred events. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| +|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| +|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| +|state|[updates.State](../constructors/updates.State.md) | Yes|Current state| + + + +### Type: [updates.Difference](../types/updates.Difference.md) + + +### Example: + +```php +$updates.difference = ['_' => 'updates.difference', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates.State]; +``` + + +Or, if you're into Lua: + +```lua +updates.difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates.State} + +``` + + diff --git a/old_docs/API_docs_v81/constructors/updates.differenceEmpty.md b/old_docs/API_docs_v81/constructors/updates.differenceEmpty.md new file mode 100644 index 00000000..a9dc3bd0 --- /dev/null +++ b/old_docs/API_docs_v81/constructors/updates.differenceEmpty.md @@ -0,0 +1,39 @@ +--- +title: updates.differenceEmpty +description: No events. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.differenceEmpty +[Back to constructors index](index.md) + + + +No events. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Current date| +|seq|[int](../types/int.md) | Yes|Number of sent updates| + + + +### Type: [updates.Difference](../types/updates.Difference.md) + + +### Example: + +```php +$updates.differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int]; +``` + + +Or, if you're into Lua: + +```lua +updates.differenceEmpty={_='updates.differenceEmpty', date=int, seq=int} + +``` + + diff --git a/old_docs/API_docs_v81/constructors/updates.differenceSlice.md b/old_docs/API_docs_v81/constructors/updates.differenceSlice.md new file mode 100644 index 00000000..9daf7a75 --- /dev/null +++ b/old_docs/API_docs_v81/constructors/updates.differenceSlice.md @@ -0,0 +1,43 @@ +--- +title: updates.differenceSlice +description: Incomplete list of occurred events. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.differenceSlice +[Back to constructors index](index.md) + + + +Incomplete list of occurred events. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| +|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| +|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| +|intermediate\_state|[updates.State](../constructors/updates.State.md) | Yes|Intermediary state| + + + +### Type: [updates.Difference](../types/updates.Difference.md) + + +### Example: + +```php +$updates.differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'intermediate_state' => updates.State]; +``` + + +Or, if you're into Lua: + +```lua +updates.differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates.State} + +``` + + diff --git a/old_docs/API_docs_v81/constructors/updates.differenceTooLong.md b/old_docs/API_docs_v81/constructors/updates.differenceTooLong.md new file mode 100644 index 00000000..ef2e7e4d --- /dev/null +++ b/old_docs/API_docs_v81/constructors/updates.differenceTooLong.md @@ -0,0 +1,38 @@ +--- +title: updates.differenceTooLong +description: The difference is [too long](https://core.telegram.org/api/updates#recovering-gaps), and the specified state must be used to refetch updates. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.differenceTooLong +[Back to constructors index](index.md) + + + +The difference is [too long](https://core.telegram.org/api/updates#recovering-gaps), and the specified state must be used to refetch updates. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|The new state to use.| + + + +### Type: [updates.Difference](../types/updates.Difference.md) + + +### Example: + +```php +$updates.differenceTooLong = ['_' => 'updates.differenceTooLong', 'pts' => int]; +``` + + +Or, if you're into Lua: + +```lua +updates.differenceTooLong={_='updates.differenceTooLong', pts=int} + +``` + + diff --git a/old_docs/API_docs_v81/constructors/updates.state.md b/old_docs/API_docs_v81/constructors/updates.state.md new file mode 100644 index 00000000..abe9ddbb --- /dev/null +++ b/old_docs/API_docs_v81/constructors/updates.state.md @@ -0,0 +1,42 @@ +--- +title: updates.state +description: Updates state. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.state +[Back to constructors index](index.md) + + + +Updates state. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| +|qts|[int](../types/int.md) | Yes|Position in a sequence of updates in secret chats. For further detailes refer to article [secret chats](https://core.telegram.org/api/end-to-end)
Parameter was added in [eigth layer](https://core.telegram.org/api/layers#layer-8).| +|date|[int](../types/int.md) | Yes|Date of condition| +|seq|[int](../types/int.md) | Yes|Number of sent updates| +|unread\_count|[int](../types/int.md) | Yes|Number of unread messages| + + + +### Type: [updates.State](../types/updates.State.md) + + +### Example: + +```php +$updates.state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int]; +``` + + +Or, if you're into Lua: + +```lua +updates.state={_='updates.state', pts=int, qts=int, date=int, seq=int, unread_count=int} + +``` + + diff --git a/old_docs/API_docs_v81/constructors/updates_channelDifference.md b/old_docs/API_docs_v81/constructors/updates_channelDifference.md deleted file mode 100644 index 1b50fbf3..00000000 --- a/old_docs/API_docs_v81/constructors/updates_channelDifference.md +++ /dev/null @@ -1,44 +0,0 @@ ---- -title: updates.channelDifference -description: The new updates -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.channelDifference -[Back to constructors index](index.md) - - - -The new updates - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates to be fetched using getDifference, starting from the provided `pts`| -|pts|[int](../types/int.md) | Yes|The [PTS](https://core.telegram.org/api/updates) from which to start getting updates the next time| -|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| -|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| -|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) - - -### Example: - -```php -$updates_channelDifference = ['_' => 'updates.channelDifference', 'final' => Bool, 'pts' => int, 'timeout' => int, 'new_messages' => [Message, Message], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -updates_channelDifference={_='updates.channelDifference', final=Bool, pts=int, timeout=int, new_messages={Message}, other_updates={Update}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v81/constructors/updates_channelDifferenceEmpty.md b/old_docs/API_docs_v81/constructors/updates_channelDifferenceEmpty.md deleted file mode 100644 index 713137aa..00000000 --- a/old_docs/API_docs_v81/constructors/updates_channelDifferenceEmpty.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: updates.channelDifferenceEmpty -description: There are no new updates -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.channelDifferenceEmpty -[Back to constructors index](index.md) - - - -There are no new updates - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates that must be fetched (always false)| -|pts|[int](../types/int.md) | Yes|The latest [PTS](https://core.telegram.org/api/updates)| -|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| - - - -### Type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) - - -### Example: - -```php -$updates_channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'final' => Bool, 'pts' => int, 'timeout' => int]; -``` - - -Or, if you're into Lua: - -```lua -updates_channelDifferenceEmpty={_='updates.channelDifferenceEmpty', final=Bool, pts=int, timeout=int} - -``` - - diff --git a/old_docs/API_docs_v81/constructors/updates_channelDifferenceTooLong.md b/old_docs/API_docs_v81/constructors/updates_channelDifferenceTooLong.md deleted file mode 100644 index fd7a5060..00000000 --- a/old_docs/API_docs_v81/constructors/updates_channelDifferenceTooLong.md +++ /dev/null @@ -1,58 +0,0 @@ ---- -title: updates.channelDifferenceTooLong -description: The provided `pts + limit < remote pts`. Simply, there are too many updates to be fetched (more than `limit`), the client has to resolve the update gap in one of the following ways: - -1. Delete all known messages in the chat, begin from scratch by refetching all messages manually with [getHistory](../methods/messages.getHistory.md). It is easy to implement, but suddenly disappearing messages looks awful for the user. -2. Save all messages loaded in the memory until application restart, but delete all messages from database. Messages left in the memory must be lazily updated using calls to [getHistory](../methods/messages.getHistory.md). It looks much smoothly for the user, he will need to redownload messages only after client restart. Unsynchronized messages left in the memory shouldn't be saved to database, results of [getHistory](../methods/messages.getHistory.md) and [getMessages](../methods/messages.getMessages.md) must be used to update state of deleted and edited messages left in the memory. -3. Save all messages loaded in the memory and stored in the database without saving that some messages form continuous ranges. Messages in the database will be excluded from results of getChatHistory and searchChatMessages after application restart and will be available only through getMessage. Every message should still be checked using getHistory. It has more disadvantages over 2) than advantages. -4. Save all messages with saving all data about continuous message ranges. Messages from the database may be used as results of getChatHistory and (if implemented continuous ranges support for searching shared media) searchChatMessages. The messages should still be lazily checked using getHistory, but they are still available offline. It is the best way for gaps support, but it is pretty hard to implement correctly. It should be also noted that some messages like live location messages shouldn't be deleted. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.channelDifferenceTooLong -[Back to constructors index](index.md) - - - -The provided `pts + limit < remote pts`. Simply, there are too many updates to be fetched (more than `limit`), the client has to resolve the update gap in one of the following ways: - -1. Delete all known messages in the chat, begin from scratch by refetching all messages manually with [getHistory](../methods/messages.getHistory.md). It is easy to implement, but suddenly disappearing messages looks awful for the user. -2. Save all messages loaded in the memory until application restart, but delete all messages from database. Messages left in the memory must be lazily updated using calls to [getHistory](../methods/messages.getHistory.md). It looks much smoothly for the user, he will need to redownload messages only after client restart. Unsynchronized messages left in the memory shouldn't be saved to database, results of [getHistory](../methods/messages.getHistory.md) and [getMessages](../methods/messages.getMessages.md) must be used to update state of deleted and edited messages left in the memory. -3. Save all messages loaded in the memory and stored in the database without saving that some messages form continuous ranges. Messages in the database will be excluded from results of getChatHistory and searchChatMessages after application restart and will be available only through getMessage. Every message should still be checked using getHistory. It has more disadvantages over 2) than advantages. -4. Save all messages with saving all data about continuous message ranges. Messages from the database may be used as results of getChatHistory and (if implemented continuous ranges support for searching shared media) searchChatMessages. The messages should still be lazily checked using getHistory, but they are still available offline. It is the best way for gaps support, but it is pretty hard to implement correctly. It should be also noted that some messages like live location messages shouldn't be deleted. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates that must be fetched (always false)| -|pts|[int](../types/int.md) | Yes|Pts| -|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| -|top\_message|[int](../types/int.md) | Yes|Top message| -|read\_inbox\_max\_id|[int](../types/int.md) | Yes|Read inbox max ID| -|read\_outbox\_max\_id|[int](../types/int.md) | Yes|Read outbox max ID| -|unread\_count|[int](../types/int.md) | Yes|Unread count| -|unread\_mentions\_count|[int](../types/int.md) | Yes|Unread mentions count| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) - - -### Example: - -```php -$updates_channelDifferenceTooLong = ['_' => 'updates.channelDifferenceTooLong', 'final' => Bool, 'pts' => int, 'timeout' => int, 'top_message' => int, 'read_inbox_max_id' => int, 'read_outbox_max_id' => int, 'unread_count' => int, 'unread_mentions_count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -updates_channelDifferenceTooLong={_='updates.channelDifferenceTooLong', final=Bool, pts=int, timeout=int, top_message=int, read_inbox_max_id=int, read_outbox_max_id=int, unread_count=int, unread_mentions_count=int, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v81/constructors/updates_difference.md b/old_docs/API_docs_v81/constructors/updates_difference.md deleted file mode 100644 index 71ac7d4c..00000000 --- a/old_docs/API_docs_v81/constructors/updates_difference.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: updates.difference -description: Full list of occurred events. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.difference -[Back to constructors index](index.md) - - - -Full list of occurred events. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| -|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| -|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| -|state|[updates\_State](../types/updates_State.md) | Yes|Current state| - - - -### Type: [updates\_Difference](../types/updates_Difference.md) - - -### Example: - -```php -$updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates_State]; -``` - - -Or, if you're into Lua: - -```lua -updates_difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates_State} - -``` - - diff --git a/old_docs/API_docs_v81/constructors/updates_differenceEmpty.md b/old_docs/API_docs_v81/constructors/updates_differenceEmpty.md deleted file mode 100644 index c3c95c5a..00000000 --- a/old_docs/API_docs_v81/constructors/updates_differenceEmpty.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: updates.differenceEmpty -description: No events. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.differenceEmpty -[Back to constructors index](index.md) - - - -No events. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Current date| -|seq|[int](../types/int.md) | Yes|Number of sent updates| - - - -### Type: [updates\_Difference](../types/updates_Difference.md) - - -### Example: - -```php -$updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int]; -``` - - -Or, if you're into Lua: - -```lua -updates_differenceEmpty={_='updates.differenceEmpty', date=int, seq=int} - -``` - - diff --git a/old_docs/API_docs_v81/constructors/updates_differenceSlice.md b/old_docs/API_docs_v81/constructors/updates_differenceSlice.md deleted file mode 100644 index 8b12a369..00000000 --- a/old_docs/API_docs_v81/constructors/updates_differenceSlice.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: updates.differenceSlice -description: Incomplete list of occurred events. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.differenceSlice -[Back to constructors index](index.md) - - - -Incomplete list of occurred events. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| -|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| -|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| -|intermediate\_state|[updates\_State](../types/updates_State.md) | Yes|Intermediary state| - - - -### Type: [updates\_Difference](../types/updates_Difference.md) - - -### Example: - -```php -$updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'intermediate_state' => updates_State]; -``` - - -Or, if you're into Lua: - -```lua -updates_differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates_State} - -``` - - diff --git a/old_docs/API_docs_v81/constructors/updates_differenceTooLong.md b/old_docs/API_docs_v81/constructors/updates_differenceTooLong.md deleted file mode 100644 index 1fbdfa01..00000000 --- a/old_docs/API_docs_v81/constructors/updates_differenceTooLong.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: updates.differenceTooLong -description: The difference is [too long](https://core.telegram.org/api/updates#recovering-gaps), and the specified state must be used to refetch updates. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.differenceTooLong -[Back to constructors index](index.md) - - - -The difference is [too long](https://core.telegram.org/api/updates#recovering-gaps), and the specified state must be used to refetch updates. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|The new state to use.| - - - -### Type: [updates\_Difference](../types/updates_Difference.md) - - -### Example: - -```php -$updates_differenceTooLong = ['_' => 'updates.differenceTooLong', 'pts' => int]; -``` - - -Or, if you're into Lua: - -```lua -updates_differenceTooLong={_='updates.differenceTooLong', pts=int} - -``` - - diff --git a/old_docs/API_docs_v81/constructors/updates_state.md b/old_docs/API_docs_v81/constructors/updates_state.md deleted file mode 100644 index ef3698e2..00000000 --- a/old_docs/API_docs_v81/constructors/updates_state.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: updates.state -description: Updates state. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.state -[Back to constructors index](index.md) - - - -Updates state. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| -|qts|[int](../types/int.md) | Yes|Position in a sequence of updates in secret chats. For further detailes refer to article [secret chats](https://core.telegram.org/api/end-to-end)
Parameter was added in [eigth layer](https://core.telegram.org/api/layers#layer-8).| -|date|[int](../types/int.md) | Yes|Date of condition| -|seq|[int](../types/int.md) | Yes|Number of sent updates| -|unread\_count|[int](../types/int.md) | Yes|Number of unread messages| - - - -### Type: [updates\_State](../types/updates_State.md) - - -### Example: - -```php -$updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int]; -``` - - -Or, if you're into Lua: - -```lua -updates_state={_='updates.state', pts=int, qts=int, date=int, seq=int, unread_count=int} - -``` - - diff --git a/old_docs/API_docs_v81/constructors/upload.cdnFile.md b/old_docs/API_docs_v81/constructors/upload.cdnFile.md new file mode 100644 index 00000000..d6d75513 --- /dev/null +++ b/old_docs/API_docs_v81/constructors/upload.cdnFile.md @@ -0,0 +1,38 @@ +--- +title: upload.cdnFile +description: Represent a chunk of a [CDN](https://core.telegram.org/cdn) file. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: upload.cdnFile +[Back to constructors index](index.md) + + + +Represent a chunk of a [CDN](https://core.telegram.org/cdn) file. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|bytes|[bytes](../types/bytes.md) | Yes|The data| + + + +### Type: [upload.CdnFile](../types/upload.CdnFile.md) + + +### Example: + +```php +$upload.cdnFile = ['_' => 'upload.cdnFile', 'bytes' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +upload.cdnFile={_='upload.cdnFile', bytes='bytes'} + +``` + + diff --git a/old_docs/API_docs_v81/constructors/upload.cdnFileReuploadNeeded.md b/old_docs/API_docs_v81/constructors/upload.cdnFileReuploadNeeded.md new file mode 100644 index 00000000..7c461a87 --- /dev/null +++ b/old_docs/API_docs_v81/constructors/upload.cdnFileReuploadNeeded.md @@ -0,0 +1,38 @@ +--- +title: upload.cdnFileReuploadNeeded +description: The file was cleared from the temporary RAM cache of the [CDN](https://core.telegram.org/cdn) and has to be reuploaded. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: upload.cdnFileReuploadNeeded +[Back to constructors index](index.md) + + + +The file was cleared from the temporary RAM cache of the [CDN](https://core.telegram.org/cdn) and has to be reuploaded. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|request\_token|[bytes](../types/bytes.md) | Yes|Request token (see [CDN](https://core.telegram.org/cdn))| + + + +### Type: [upload.CdnFile](../types/upload.CdnFile.md) + + +### Example: + +```php +$upload.cdnFileReuploadNeeded = ['_' => 'upload.cdnFileReuploadNeeded', 'request_token' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +upload.cdnFileReuploadNeeded={_='upload.cdnFileReuploadNeeded', request_token='bytes'} + +``` + + diff --git a/old_docs/API_docs_v81/constructors/upload.file.md b/old_docs/API_docs_v81/constructors/upload.file.md new file mode 100644 index 00000000..145a4c24 --- /dev/null +++ b/old_docs/API_docs_v81/constructors/upload.file.md @@ -0,0 +1,40 @@ +--- +title: upload.file +description: File content. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: upload.file +[Back to constructors index](index.md) + + + +File content. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|type|[storage.FileType](../constructors/storage.FileType.md) | Yes|File type| +|mtime|[int](../types/int.md) | Yes|Modification type| +|bytes|[bytes](../types/bytes.md) | Yes|Binary data, file content| + + + +### Type: [upload.File](../types/upload.File.md) + + +### Example: + +```php +$upload.file = ['_' => 'upload.file', 'type' => storage.FileType, 'mtime' => int, 'bytes' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +upload.file={_='upload.file', type=storage.FileType, mtime=int, bytes='bytes'} + +``` + + diff --git a/old_docs/API_docs_v81/constructors/upload.fileCdnRedirect.md b/old_docs/API_docs_v81/constructors/upload.fileCdnRedirect.md new file mode 100644 index 00000000..dc56e919 --- /dev/null +++ b/old_docs/API_docs_v81/constructors/upload.fileCdnRedirect.md @@ -0,0 +1,42 @@ +--- +title: upload.fileCdnRedirect +description: The file must be downloaded from a [CDN DC](https://core.telegram.org/cdn). +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: upload.fileCdnRedirect +[Back to constructors index](index.md) + + + +The file must be downloaded from a [CDN DC](https://core.telegram.org/cdn). + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|dc\_id|[int](../types/int.md) | Yes|[CDN DC](https://core.telegram.org/cdn) ID| +|file\_token|[bytes](../types/bytes.md) | Yes|File token (see [CDN files](https://core.telegram.org/cdn)| +|encryption\_key|[bytes](../types/bytes.md) | Yes|Encryption key (see [CDN files](https://core.telegram.org/cdn)| +|encryption\_iv|[bytes](../types/bytes.md) | Yes|Encryption IV (see [CDN files](https://core.telegram.org/cdn)| +|file\_hashes|Array of [FileHash](../types/FileHash.md) | Yes|File hashes| + + + +### Type: [upload.File](../types/upload.File.md) + + +### Example: + +```php +$upload.fileCdnRedirect = ['_' => 'upload.fileCdnRedirect', 'dc_id' => int, 'file_token' => 'bytes', 'encryption_key' => 'bytes', 'encryption_iv' => 'bytes', 'file_hashes' => [FileHash, FileHash]]; +``` + + +Or, if you're into Lua: + +```lua +upload.fileCdnRedirect={_='upload.fileCdnRedirect', dc_id=int, file_token='bytes', encryption_key='bytes', encryption_iv='bytes', file_hashes={FileHash}} + +``` + + diff --git a/old_docs/API_docs_v81/constructors/upload.webFile.md b/old_docs/API_docs_v81/constructors/upload.webFile.md new file mode 100644 index 00000000..a93ea94f --- /dev/null +++ b/old_docs/API_docs_v81/constructors/upload.webFile.md @@ -0,0 +1,42 @@ +--- +title: upload.webFile +description: Represents a chunk of an [HTTP webfile](https://core.telegram.org/api/files) downloaded through telegram's secure MTProto servers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: upload.webFile +[Back to constructors index](index.md) + + + +Represents a chunk of an [HTTP webfile](https://core.telegram.org/api/files) downloaded through telegram's secure MTProto servers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|size|[int](../types/int.md) | Yes|File size| +|mime\_type|[string](../types/string.md) | Yes|Mime type| +|file\_type|[storage.FileType](../constructors/storage.FileType.md) | Yes|File type| +|mtime|[int](../types/int.md) | Yes|Modified time| +|bytes|[bytes](../types/bytes.md) | Yes|Data| + + + +### Type: [upload.WebFile](../types/upload.WebFile.md) + + +### Example: + +```php +$upload.webFile = ['_' => 'upload.webFile', 'size' => int, 'mime_type' => 'string', 'file_type' => storage.FileType, 'mtime' => int, 'bytes' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +upload.webFile={_='upload.webFile', size=int, mime_type='string', file_type=storage.FileType, mtime=int, bytes='bytes'} + +``` + + diff --git a/old_docs/API_docs_v81/constructors/upload_cdnFile.md b/old_docs/API_docs_v81/constructors/upload_cdnFile.md deleted file mode 100644 index 019b8742..00000000 --- a/old_docs/API_docs_v81/constructors/upload_cdnFile.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: upload.cdnFile -description: Represent a chunk of a [CDN](https://core.telegram.org/cdn) file. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: upload.cdnFile -[Back to constructors index](index.md) - - - -Represent a chunk of a [CDN](https://core.telegram.org/cdn) file. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|bytes|[bytes](../types/bytes.md) | Yes|The data| - - - -### Type: [upload\_CdnFile](../types/upload_CdnFile.md) - - -### Example: - -```php -$upload_cdnFile = ['_' => 'upload.cdnFile', 'bytes' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -upload_cdnFile={_='upload.cdnFile', bytes='bytes'} - -``` - - diff --git a/old_docs/API_docs_v81/constructors/upload_cdnFileReuploadNeeded.md b/old_docs/API_docs_v81/constructors/upload_cdnFileReuploadNeeded.md deleted file mode 100644 index 6588a596..00000000 --- a/old_docs/API_docs_v81/constructors/upload_cdnFileReuploadNeeded.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: upload.cdnFileReuploadNeeded -description: The file was cleared from the temporary RAM cache of the [CDN](https://core.telegram.org/cdn) and has to be reuploaded. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: upload.cdnFileReuploadNeeded -[Back to constructors index](index.md) - - - -The file was cleared from the temporary RAM cache of the [CDN](https://core.telegram.org/cdn) and has to be reuploaded. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|request\_token|[bytes](../types/bytes.md) | Yes|Request token (see [CDN](https://core.telegram.org/cdn))| - - - -### Type: [upload\_CdnFile](../types/upload_CdnFile.md) - - -### Example: - -```php -$upload_cdnFileReuploadNeeded = ['_' => 'upload.cdnFileReuploadNeeded', 'request_token' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -upload_cdnFileReuploadNeeded={_='upload.cdnFileReuploadNeeded', request_token='bytes'} - -``` - - diff --git a/old_docs/API_docs_v81/constructors/upload_file.md b/old_docs/API_docs_v81/constructors/upload_file.md deleted file mode 100644 index 1e07d9fb..00000000 --- a/old_docs/API_docs_v81/constructors/upload_file.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: upload.file -description: File content. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: upload.file -[Back to constructors index](index.md) - - - -File content. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|type|[storage\_FileType](../types/storage_FileType.md) | Yes|File type| -|mtime|[int](../types/int.md) | Yes|Modification type| -|bytes|[bytes](../types/bytes.md) | Yes|Binary data, file content| - - - -### Type: [upload\_File](../types/upload_File.md) - - -### Example: - -```php -$upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int, 'bytes' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -upload_file={_='upload.file', type=storage_FileType, mtime=int, bytes='bytes'} - -``` - - diff --git a/old_docs/API_docs_v81/constructors/upload_fileCdnRedirect.md b/old_docs/API_docs_v81/constructors/upload_fileCdnRedirect.md deleted file mode 100644 index de504dc3..00000000 --- a/old_docs/API_docs_v81/constructors/upload_fileCdnRedirect.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: upload.fileCdnRedirect -description: The file must be downloaded from a [CDN DC](https://core.telegram.org/cdn). -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: upload.fileCdnRedirect -[Back to constructors index](index.md) - - - -The file must be downloaded from a [CDN DC](https://core.telegram.org/cdn). - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|dc\_id|[int](../types/int.md) | Yes|[CDN DC](https://core.telegram.org/cdn) ID| -|file\_token|[bytes](../types/bytes.md) | Yes|File token (see [CDN files](https://core.telegram.org/cdn)| -|encryption\_key|[bytes](../types/bytes.md) | Yes|Encryption key (see [CDN files](https://core.telegram.org/cdn)| -|encryption\_iv|[bytes](../types/bytes.md) | Yes|Encryption IV (see [CDN files](https://core.telegram.org/cdn)| -|file\_hashes|Array of [FileHash](../types/FileHash.md) | Yes|File hashes| - - - -### Type: [upload\_File](../types/upload_File.md) - - -### Example: - -```php -$upload_fileCdnRedirect = ['_' => 'upload.fileCdnRedirect', 'dc_id' => int, 'file_token' => 'bytes', 'encryption_key' => 'bytes', 'encryption_iv' => 'bytes', 'file_hashes' => [FileHash, FileHash]]; -``` - - -Or, if you're into Lua: - -```lua -upload_fileCdnRedirect={_='upload.fileCdnRedirect', dc_id=int, file_token='bytes', encryption_key='bytes', encryption_iv='bytes', file_hashes={FileHash}} - -``` - - diff --git a/old_docs/API_docs_v81/constructors/upload_webFile.md b/old_docs/API_docs_v81/constructors/upload_webFile.md deleted file mode 100644 index ee8053b1..00000000 --- a/old_docs/API_docs_v81/constructors/upload_webFile.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: upload.webFile -description: Represents a chunk of an [HTTP webfile](https://core.telegram.org/api/files) downloaded through telegram's secure MTProto servers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: upload.webFile -[Back to constructors index](index.md) - - - -Represents a chunk of an [HTTP webfile](https://core.telegram.org/api/files) downloaded through telegram's secure MTProto servers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|size|[int](../types/int.md) | Yes|File size| -|mime\_type|[string](../types/string.md) | Yes|Mime type| -|file\_type|[storage\_FileType](../types/storage_FileType.md) | Yes|File type| -|mtime|[int](../types/int.md) | Yes|Modified time| -|bytes|[bytes](../types/bytes.md) | Yes|Data| - - - -### Type: [upload\_WebFile](../types/upload_WebFile.md) - - -### Example: - -```php -$upload_webFile = ['_' => 'upload.webFile', 'size' => int, 'mime_type' => 'string', 'file_type' => storage_FileType, 'mtime' => int, 'bytes' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -upload_webFile={_='upload.webFile', size=int, mime_type='string', file_type=storage_FileType, mtime=int, bytes='bytes'} - -``` - - diff --git a/old_docs/API_docs_v81/constructors/userFull.md b/old_docs/API_docs_v81/constructors/userFull.md index 07341da6..3ae2dbc7 100644 --- a/old_docs/API_docs_v81/constructors/userFull.md +++ b/old_docs/API_docs_v81/constructors/userFull.md @@ -19,7 +19,7 @@ Extended user info |phone\_calls\_private|[Bool](../types/Bool.md) | Optional|Whether this user's privacy settings allow you to call him| |user|[User](../types/User.md) | Optional|Remaining user info| |about|[string](../types/string.md) | Optional|Bio of the user| -|link|[contacts\_Link](../types/contacts_Link.md) | Yes|Link| +|link|[contacts.Link](../constructors/contacts.Link.md) | Yes|Link| |profile\_photo|[Photo](../types/Photo.md) | Optional|Profile photo| |notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Yes|Notification settings| |bot\_info|[BotInfo](../types/BotInfo.md) | Optional|For bots, info about the bot (bot commands, etc)| @@ -33,14 +33,14 @@ Extended user info ### Example: ```php -$userFull = ['_' => 'userFull', 'blocked' => Bool, 'phone_calls_available' => Bool, 'phone_calls_private' => Bool, 'user' => User, 'about' => 'string', 'link' => contacts_Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'bot_info' => BotInfo, 'common_chats_count' => int]; +$userFull = ['_' => 'userFull', 'blocked' => Bool, 'phone_calls_available' => Bool, 'phone_calls_private' => Bool, 'user' => User, 'about' => 'string', 'link' => contacts.Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'bot_info' => BotInfo, 'common_chats_count' => int]; ``` Or, if you're into Lua: ```lua -userFull={_='userFull', blocked=Bool, phone_calls_available=Bool, phone_calls_private=Bool, user=User, about='string', link=contacts_Link, profile_photo=Photo, notify_settings=PeerNotifySettings, bot_info=BotInfo, common_chats_count=int} +userFull={_='userFull', blocked=Bool, phone_calls_available=Bool, phone_calls_private=Bool, user=User, about='string', link=contacts.Link, profile_photo=Photo, notify_settings=PeerNotifySettings, bot_info=BotInfo, common_chats_count=int} ``` diff --git a/old_docs/API_docs_v81/methods/account.getAuthorizationForm.md b/old_docs/API_docs_v81/methods/account.getAuthorizationForm.md index 298951cb..b0d52e07 100644 --- a/old_docs/API_docs_v81/methods/account.getAuthorizationForm.md +++ b/old_docs/API_docs_v81/methods/account.getAuthorizationForm.md @@ -18,7 +18,7 @@ Returns a Telegram Passport authorization form for sharing data with a service |public\_key|[string](../types/string.md) | Service's public key | Yes| -### Return type: [account\_AuthorizationForm](../types/account_AuthorizationForm.md) +### Return type: [account.AuthorizationForm](../types/account.AuthorizationForm.md) ### Can bots use this method: **NO** @@ -35,12 +35,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_AuthorizationForm = $MadelineProto->account->getAuthorizationForm(['bot_id' => int, 'scope' => 'string', 'public_key' => 'string', ]); +$account.AuthorizationForm = $MadelineProto->account->getAuthorizationForm(['bot_id' => int, 'scope' => 'string', 'public_key' => 'string', ]); ``` Or, if you're into Lua: ```lua -account_AuthorizationForm = account.getAuthorizationForm({bot_id=int, scope='string', public_key='string', }) +account.AuthorizationForm = account.getAuthorizationForm({bot_id=int, scope='string', public_key='string', }) ``` diff --git a/old_docs/API_docs_v81/methods/account.getAuthorizations.md b/old_docs/API_docs_v81/methods/account.getAuthorizations.md index f69c130a..fad3a7ae 100644 --- a/old_docs/API_docs_v81/methods/account.getAuthorizations.md +++ b/old_docs/API_docs_v81/methods/account.getAuthorizations.md @@ -11,7 +11,7 @@ Get logged-in sessions -### Return type: [account\_Authorizations](../types/account_Authorizations.md) +### Return type: [account.Authorizations](../types/account.Authorizations.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_Authorizations = $MadelineProto->account->getAuthorizations(); +$account.Authorizations = $MadelineProto->account->getAuthorizations(); ``` Or, if you're into Lua: ```lua -account_Authorizations = account.getAuthorizations({}) +account.Authorizations = account.getAuthorizations({}) ``` diff --git a/old_docs/API_docs_v81/methods/account.getPassword.md b/old_docs/API_docs_v81/methods/account.getPassword.md index eed4aee3..621271b6 100644 --- a/old_docs/API_docs_v81/methods/account.getPassword.md +++ b/old_docs/API_docs_v81/methods/account.getPassword.md @@ -11,7 +11,7 @@ Obtain configuration for two-factor authorization with password -### Return type: [account\_Password](../types/account_Password.md) +### Return type: [account.Password](../types/account.Password.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_Password = $MadelineProto->account->getPassword(); +$account.Password = $MadelineProto->account->getPassword(); ``` Or, if you're into Lua: ```lua -account_Password = account.getPassword({}) +account.Password = account.getPassword({}) ``` diff --git a/old_docs/API_docs_v81/methods/account.getPasswordSettings.md b/old_docs/API_docs_v81/methods/account.getPasswordSettings.md index dcdae61a..3d3cce08 100644 --- a/old_docs/API_docs_v81/methods/account.getPasswordSettings.md +++ b/old_docs/API_docs_v81/methods/account.getPasswordSettings.md @@ -16,7 +16,7 @@ You cannot use this method directly; use $MadelineProto->update_2fa($params), in |current\_password\_hash|[bytes](../types/bytes.md) | You cannot use this method directly; use $MadelineProto->update_2fa($params), instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [account\_PasswordSettings](../types/account_PasswordSettings.md) +### Return type: [account.PasswordSettings](../types/account.PasswordSettings.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_PasswordSettings = $MadelineProto->account->getPasswordSettings(['current_password_hash' => 'bytes', ]); +$account.PasswordSettings = $MadelineProto->account->getPasswordSettings(['current_password_hash' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -account_PasswordSettings = account.getPasswordSettings({current_password_hash='bytes', }) +account.PasswordSettings = account.getPasswordSettings({current_password_hash='bytes', }) ``` ### Errors diff --git a/old_docs/API_docs_v81/methods/account.getPrivacy.md b/old_docs/API_docs_v81/methods/account.getPrivacy.md index 6a240129..e20c292c 100644 --- a/old_docs/API_docs_v81/methods/account.getPrivacy.md +++ b/old_docs/API_docs_v81/methods/account.getPrivacy.md @@ -16,7 +16,7 @@ Get privacy settings of current account |key|[InputPrivacyKey](../types/InputPrivacyKey.md) | Peer category whose privacy settings should be fetched | Yes| -### Return type: [account\_PrivacyRules](../types/account_PrivacyRules.md) +### Return type: [account.PrivacyRules](../types/account.PrivacyRules.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_PrivacyRules = $MadelineProto->account->getPrivacy(['key' => InputPrivacyKey, ]); +$account.PrivacyRules = $MadelineProto->account->getPrivacy(['key' => InputPrivacyKey, ]); ``` Or, if you're into Lua: ```lua -account_PrivacyRules = account.getPrivacy({key=InputPrivacyKey, }) +account.PrivacyRules = account.getPrivacy({key=InputPrivacyKey, }) ``` ### Errors diff --git a/old_docs/API_docs_v81/methods/account.getTmpPassword.md b/old_docs/API_docs_v81/methods/account.getTmpPassword.md index 4f269586..7e05a423 100644 --- a/old_docs/API_docs_v81/methods/account.getTmpPassword.md +++ b/old_docs/API_docs_v81/methods/account.getTmpPassword.md @@ -17,7 +17,7 @@ Get temporary payment password |period|[int](../types/int.md) | Time during which the temporary password will be valid, in seconds; should be between 60 and 86400 | Yes| -### Return type: [account\_TmpPassword](../types/account_TmpPassword.md) +### Return type: [account.TmpPassword](../types/account.TmpPassword.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_TmpPassword = $MadelineProto->account->getTmpPassword(['password_hash' => 'bytes', 'period' => int, ]); +$account.TmpPassword = $MadelineProto->account->getTmpPassword(['password_hash' => 'bytes', 'period' => int, ]); ``` Or, if you're into Lua: ```lua -account_TmpPassword = account.getTmpPassword({password_hash='bytes', period=int, }) +account.TmpPassword = account.getTmpPassword({password_hash='bytes', period=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v81/methods/account.getWebAuthorizations.md b/old_docs/API_docs_v81/methods/account.getWebAuthorizations.md index 1a43f138..b97fe978 100644 --- a/old_docs/API_docs_v81/methods/account.getWebAuthorizations.md +++ b/old_docs/API_docs_v81/methods/account.getWebAuthorizations.md @@ -11,7 +11,7 @@ Get web [login widget](https://core.telegram.org/widgets/login) authorizations -### Return type: [account\_WebAuthorizations](../types/account_WebAuthorizations.md) +### Return type: [account.WebAuthorizations](../types/account.WebAuthorizations.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_WebAuthorizations = $MadelineProto->account->getWebAuthorizations(); +$account.WebAuthorizations = $MadelineProto->account->getWebAuthorizations(); ``` Or, if you're into Lua: ```lua -account_WebAuthorizations = account.getWebAuthorizations({}) +account.WebAuthorizations = account.getWebAuthorizations({}) ``` diff --git a/old_docs/API_docs_v81/methods/account.initTakeoutSession.md b/old_docs/API_docs_v81/methods/account.initTakeoutSession.md index 01b3ae0f..3b8774b8 100644 --- a/old_docs/API_docs_v81/methods/account.initTakeoutSession.md +++ b/old_docs/API_docs_v81/methods/account.initTakeoutSession.md @@ -22,7 +22,7 @@ Intialize account takeout session |file\_max\_size|[int](../types/int.md) | Maximum size of files to export | Optional| -### Return type: [account\_Takeout](../types/account_Takeout.md) +### Return type: [account.Takeout](../types/account.Takeout.md) ### Can bots use this method: **NO** @@ -39,12 +39,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_Takeout = $MadelineProto->account->initTakeoutSession(['contacts' => Bool, 'message_users' => Bool, 'message_chats' => Bool, 'message_megagroups' => Bool, 'message_channels' => Bool, 'files' => Bool, 'file_max_size' => int, ]); +$account.Takeout = $MadelineProto->account->initTakeoutSession(['contacts' => Bool, 'message_users' => Bool, 'message_chats' => Bool, 'message_megagroups' => Bool, 'message_channels' => Bool, 'files' => Bool, 'file_max_size' => int, ]); ``` Or, if you're into Lua: ```lua -account_Takeout = account.initTakeoutSession({contacts=Bool, message_users=Bool, message_chats=Bool, message_megagroups=Bool, message_channels=Bool, files=Bool, file_max_size=int, }) +account.Takeout = account.initTakeoutSession({contacts=Bool, message_users=Bool, message_chats=Bool, message_megagroups=Bool, message_channels=Bool, files=Bool, file_max_size=int, }) ``` diff --git a/old_docs/API_docs_v81/methods/account.sendChangePhoneCode.md b/old_docs/API_docs_v81/methods/account.sendChangePhoneCode.md index 0f81306e..30589ffa 100644 --- a/old_docs/API_docs_v81/methods/account.sendChangePhoneCode.md +++ b/old_docs/API_docs_v81/methods/account.sendChangePhoneCode.md @@ -18,7 +18,7 @@ Verify a new phone number to associate to the current account |current\_number|[Bool](../types/Bool.md) | Current phone number | Optional| -### Return type: [auth\_SentCode](../types/auth_SentCode.md) +### Return type: [auth.SentCode](../types/auth.SentCode.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_SentCode = $MadelineProto->account->sendChangePhoneCode(['allow_flashcall' => Bool, 'phone_number' => 'string', 'current_number' => Bool, ]); +$auth.SentCode = $MadelineProto->account->sendChangePhoneCode(['allow_flashcall' => Bool, 'phone_number' => 'string', 'current_number' => Bool, ]); ``` Or, if you're into Lua: ```lua -auth_SentCode = account.sendChangePhoneCode({allow_flashcall=Bool, phone_number='string', current_number=Bool, }) +auth.SentCode = account.sendChangePhoneCode({allow_flashcall=Bool, phone_number='string', current_number=Bool, }) ``` ### Errors diff --git a/old_docs/API_docs_v81/methods/account.sendConfirmPhoneCode.md b/old_docs/API_docs_v81/methods/account.sendConfirmPhoneCode.md index 68ba8fd3..9ec24f07 100644 --- a/old_docs/API_docs_v81/methods/account.sendConfirmPhoneCode.md +++ b/old_docs/API_docs_v81/methods/account.sendConfirmPhoneCode.md @@ -18,7 +18,7 @@ Send confirmation code to cancel account deletion, for more info [click here »] |current\_number|[Bool](../types/Bool.md) | The current phone number | Optional| -### Return type: [auth\_SentCode](../types/auth_SentCode.md) +### Return type: [auth.SentCode](../types/auth.SentCode.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_SentCode = $MadelineProto->account->sendConfirmPhoneCode(['allow_flashcall' => Bool, 'hash' => 'string', 'current_number' => Bool, ]); +$auth.SentCode = $MadelineProto->account->sendConfirmPhoneCode(['allow_flashcall' => Bool, 'hash' => 'string', 'current_number' => Bool, ]); ``` Or, if you're into Lua: ```lua -auth_SentCode = account.sendConfirmPhoneCode({allow_flashcall=Bool, hash='string', current_number=Bool, }) +auth.SentCode = account.sendConfirmPhoneCode({allow_flashcall=Bool, hash='string', current_number=Bool, }) ``` ### Errors diff --git a/old_docs/API_docs_v81/methods/account.sendVerifyEmailCode.md b/old_docs/API_docs_v81/methods/account.sendVerifyEmailCode.md index 54b1fc3f..a4768852 100644 --- a/old_docs/API_docs_v81/methods/account.sendVerifyEmailCode.md +++ b/old_docs/API_docs_v81/methods/account.sendVerifyEmailCode.md @@ -16,7 +16,7 @@ Send the verification email code for telegram [passport](https://core.telegram.o |email|[string](../types/string.md) | The email where to send the code | Yes| -### Return type: [account\_SentEmailCode](../types/account_SentEmailCode.md) +### Return type: [account.SentEmailCode](../types/account.SentEmailCode.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_SentEmailCode = $MadelineProto->account->sendVerifyEmailCode(['email' => 'string', ]); +$account.SentEmailCode = $MadelineProto->account->sendVerifyEmailCode(['email' => 'string', ]); ``` Or, if you're into Lua: ```lua -account_SentEmailCode = account.sendVerifyEmailCode({email='string', }) +account.SentEmailCode = account.sendVerifyEmailCode({email='string', }) ``` diff --git a/old_docs/API_docs_v81/methods/account.sendVerifyPhoneCode.md b/old_docs/API_docs_v81/methods/account.sendVerifyPhoneCode.md index 29cda026..c03ddf63 100644 --- a/old_docs/API_docs_v81/methods/account.sendVerifyPhoneCode.md +++ b/old_docs/API_docs_v81/methods/account.sendVerifyPhoneCode.md @@ -18,7 +18,7 @@ Send the verification phone code for telegram [passport](https://core.telegram.o |current\_number|[Bool](../types/Bool.md) | Is this the current number? | Optional| -### Return type: [auth\_SentCode](../types/auth_SentCode.md) +### Return type: [auth.SentCode](../types/auth.SentCode.md) ### Can bots use this method: **NO** @@ -35,12 +35,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_SentCode = $MadelineProto->account->sendVerifyPhoneCode(['allow_flashcall' => Bool, 'phone_number' => 'string', 'current_number' => Bool, ]); +$auth.SentCode = $MadelineProto->account->sendVerifyPhoneCode(['allow_flashcall' => Bool, 'phone_number' => 'string', 'current_number' => Bool, ]); ``` Or, if you're into Lua: ```lua -auth_SentCode = account.sendVerifyPhoneCode({allow_flashcall=Bool, phone_number='string', current_number=Bool, }) +auth.SentCode = account.sendVerifyPhoneCode({allow_flashcall=Bool, phone_number='string', current_number=Bool, }) ``` diff --git a/old_docs/API_docs_v81/methods/account.setPrivacy.md b/old_docs/API_docs_v81/methods/account.setPrivacy.md index 7c4cfba7..096d373e 100644 --- a/old_docs/API_docs_v81/methods/account.setPrivacy.md +++ b/old_docs/API_docs_v81/methods/account.setPrivacy.md @@ -17,7 +17,7 @@ Change privacy settings of current account |rules|Array of [InputPrivacyRule](../types/InputPrivacyRule.md) | Privacy settings | Yes| -### Return type: [account\_PrivacyRules](../types/account_PrivacyRules.md) +### Return type: [account.PrivacyRules](../types/account.PrivacyRules.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_PrivacyRules = $MadelineProto->account->setPrivacy(['key' => InputPrivacyKey, 'rules' => [InputPrivacyRule, InputPrivacyRule], ]); +$account.PrivacyRules = $MadelineProto->account->setPrivacy(['key' => InputPrivacyKey, 'rules' => [InputPrivacyRule, InputPrivacyRule], ]); ``` Or, if you're into Lua: ```lua -account_PrivacyRules = account.setPrivacy({key=InputPrivacyKey, rules={InputPrivacyRule}, }) +account.PrivacyRules = account.setPrivacy({key=InputPrivacyKey, rules={InputPrivacyRule}, }) ``` ### Errors diff --git a/old_docs/API_docs_v81/methods/api_README.md b/old_docs/API_docs_v81/methods/api_README.md index a7b27bcb..e5322b9c 100644 --- a/old_docs/API_docs_v81/methods/api_README.md +++ b/old_docs/API_docs_v81/methods/api_README.md @@ -72,11 +72,11 @@ $MadelineProto->[account->getAllSecureValues](account.getAllSecureValues.md)(\[\ ***

-$MadelineProto->[account->getAuthorizationForm](account.getAuthorizationForm.md)(\['bot_id' => [int](../types/int.md), 'scope' => [string](../types/string.md), 'public_key' => [string](../types/string.md), \]) === [$account\_AuthorizationForm](../types/account_AuthorizationForm.md) +$MadelineProto->[account->getAuthorizationForm](account.getAuthorizationForm.md)(\['bot_id' => [int](../types/int.md), 'scope' => [string](../types/string.md), 'public_key' => [string](../types/string.md), \]) === [$account.AuthorizationForm](../types/account.AuthorizationForm.md) ***

-$MadelineProto->[account->getAuthorizations](account.getAuthorizations.md)(\[\]) === [$account\_Authorizations](../types/account_Authorizations.md) +$MadelineProto->[account->getAuthorizations](account.getAuthorizations.md)(\[\]) === [$account.Authorizations](../types/account.Authorizations.md) ***

@@ -84,15 +84,15 @@ $MadelineProto->[account->getNotifySettings](account.getNotifySettings.md)(\['pe ***

-$MadelineProto->[account->getPassword](account.getPassword.md)(\[\]) === [$account\_Password](../types/account_Password.md) +$MadelineProto->[account->getPassword](account.getPassword.md)(\[\]) === [$account.Password](../types/account.Password.md) ***

-$MadelineProto->[account->getPasswordSettings](account.getPasswordSettings.md)(\['current_password_hash' => [bytes](../types/bytes.md), \]) === [$account\_PasswordSettings](../types/account_PasswordSettings.md) +$MadelineProto->[account->getPasswordSettings](account.getPasswordSettings.md)(\['current_password_hash' => [bytes](../types/bytes.md), \]) === [$account.PasswordSettings](../types/account.PasswordSettings.md) ***

-$MadelineProto->[account->getPrivacy](account.getPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), \]) === [$account\_PrivacyRules](../types/account_PrivacyRules.md) +$MadelineProto->[account->getPrivacy](account.getPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), \]) === [$account.PrivacyRules](../types/account.PrivacyRules.md) ***

@@ -100,7 +100,7 @@ $MadelineProto->[account->getSecureValue](account.getSecureValue.md)(\['types' = ***

-$MadelineProto->[account->getTmpPassword](account.getTmpPassword.md)(\['password_hash' => [bytes](../types/bytes.md), 'period' => [int](../types/int.md), \]) === [$account\_TmpPassword](../types/account_TmpPassword.md) +$MadelineProto->[account->getTmpPassword](account.getTmpPassword.md)(\['password_hash' => [bytes](../types/bytes.md), 'period' => [int](../types/int.md), \]) === [$account.TmpPassword](../types/account.TmpPassword.md) ***

@@ -108,11 +108,11 @@ $MadelineProto->[account->getWallPapers](account.getWallPapers.md)(\[\]) === [$V ***

-$MadelineProto->[account->getWebAuthorizations](account.getWebAuthorizations.md)(\[\]) === [$account\_WebAuthorizations](../types/account_WebAuthorizations.md) +$MadelineProto->[account->getWebAuthorizations](account.getWebAuthorizations.md)(\[\]) === [$account.WebAuthorizations](../types/account.WebAuthorizations.md) ***

-$MadelineProto->[account->initTakeoutSession](account.initTakeoutSession.md)(\['contacts' => [Bool](../types/Bool.md), 'message_users' => [Bool](../types/Bool.md), 'message_chats' => [Bool](../types/Bool.md), 'message_megagroups' => [Bool](../types/Bool.md), 'message_channels' => [Bool](../types/Bool.md), 'files' => [Bool](../types/Bool.md), 'file_max_size' => [int](../types/int.md), \]) === [$account\_Takeout](../types/account_Takeout.md) +$MadelineProto->[account->initTakeoutSession](account.initTakeoutSession.md)(\['contacts' => [Bool](../types/Bool.md), 'message_users' => [Bool](../types/Bool.md), 'message_chats' => [Bool](../types/Bool.md), 'message_megagroups' => [Bool](../types/Bool.md), 'message_channels' => [Bool](../types/Bool.md), 'files' => [Bool](../types/Bool.md), 'file_max_size' => [int](../types/int.md), \]) === [$account.Takeout](../types/account.Takeout.md) ***

@@ -144,19 +144,19 @@ $MadelineProto->[account->saveSecureValue](account.saveSecureValue.md)(\['value' ***

-$MadelineProto->[account->sendChangePhoneCode](account.sendChangePhoneCode.md)(\['allow_flashcall' => [Bool](../types/Bool.md), 'phone_number' => [string](../types/string.md), 'current_number' => [Bool](../types/Bool.md), \]) === [$auth\_SentCode](../types/auth_SentCode.md) +$MadelineProto->[account->sendChangePhoneCode](account.sendChangePhoneCode.md)(\['allow_flashcall' => [Bool](../types/Bool.md), 'phone_number' => [string](../types/string.md), 'current_number' => [Bool](../types/Bool.md), \]) === [$auth.SentCode](../types/auth.SentCode.md) ***

-$MadelineProto->[account->sendConfirmPhoneCode](account.sendConfirmPhoneCode.md)(\['allow_flashcall' => [Bool](../types/Bool.md), 'hash' => [string](../types/string.md), 'current_number' => [Bool](../types/Bool.md), \]) === [$auth\_SentCode](../types/auth_SentCode.md) +$MadelineProto->[account->sendConfirmPhoneCode](account.sendConfirmPhoneCode.md)(\['allow_flashcall' => [Bool](../types/Bool.md), 'hash' => [string](../types/string.md), 'current_number' => [Bool](../types/Bool.md), \]) === [$auth.SentCode](../types/auth.SentCode.md) ***

-$MadelineProto->[account->sendVerifyEmailCode](account.sendVerifyEmailCode.md)(\['email' => [string](../types/string.md), \]) === [$account\_SentEmailCode](../types/account_SentEmailCode.md) +$MadelineProto->[account->sendVerifyEmailCode](account.sendVerifyEmailCode.md)(\['email' => [string](../types/string.md), \]) === [$account.SentEmailCode](../types/account.SentEmailCode.md) ***

-$MadelineProto->[account->sendVerifyPhoneCode](account.sendVerifyPhoneCode.md)(\['allow_flashcall' => [Bool](../types/Bool.md), 'phone_number' => [string](../types/string.md), 'current_number' => [Bool](../types/Bool.md), \]) === [$auth\_SentCode](../types/auth_SentCode.md) +$MadelineProto->[account->sendVerifyPhoneCode](account.sendVerifyPhoneCode.md)(\['allow_flashcall' => [Bool](../types/Bool.md), 'phone_number' => [string](../types/string.md), 'current_number' => [Bool](../types/Bool.md), \]) === [$auth.SentCode](../types/auth.SentCode.md) ***

@@ -164,7 +164,7 @@ $MadelineProto->[account->setAccountTTL](account.setAccountTTL.md)(\['ttl' => [A ***

-$MadelineProto->[account->setPrivacy](account.setPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), 'rules' => \[[InputPrivacyRule](../types/InputPrivacyRule.md)\], \]) === [$account\_PrivacyRules](../types/account_PrivacyRules.md) +$MadelineProto->[account->setPrivacy](account.setPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), 'rules' => \[[InputPrivacyRule](../types/InputPrivacyRule.md)\], \]) === [$account.PrivacyRules](../types/account.PrivacyRules.md) ***

@@ -212,7 +212,7 @@ $MadelineProto->[auth->cancelCode](auth.cancelCode.md)(\['phone_number' => [stri ***

-$MadelineProto->[auth->checkPassword](auth.checkPassword.md)(\['password_hash' => [bytes](../types/bytes.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->checkPassword](auth.checkPassword.md)(\['password_hash' => [bytes](../types/bytes.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

@@ -220,15 +220,15 @@ $MadelineProto->[auth->dropTempAuthKeys](auth.dropTempAuthKeys.md)(\['except_aut ***

-$MadelineProto->[auth->exportAuthorization](auth.exportAuthorization.md)(\['dc_id' => [int](../types/int.md), \]) === [$auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) +$MadelineProto->[auth->exportAuthorization](auth.exportAuthorization.md)(\['dc_id' => [int](../types/int.md), \]) === [$auth.ExportedAuthorization](../types/auth.ExportedAuthorization.md) ***

-$MadelineProto->[auth->importAuthorization](auth.importAuthorization.md)(\['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->importAuthorization](auth.importAuthorization.md)(\['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

-$MadelineProto->[auth->importBotAuthorization](auth.importBotAuthorization.md)(\['api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), 'bot_auth_token' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->importBotAuthorization](auth.importBotAuthorization.md)(\['api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), 'bot_auth_token' => [string](../types/string.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

@@ -236,15 +236,15 @@ $MadelineProto->[auth->logOut](auth.logOut.md)(\[\]) === [$Bool](../types/Bool.m ***

-$MadelineProto->[auth->recoverPassword](auth.recoverPassword.md)(\['code' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->recoverPassword](auth.recoverPassword.md)(\['code' => [string](../types/string.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

-$MadelineProto->[auth->requestPasswordRecovery](auth.requestPasswordRecovery.md)(\[\]) === [$auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) +$MadelineProto->[auth->requestPasswordRecovery](auth.requestPasswordRecovery.md)(\[\]) === [$auth.PasswordRecovery](../types/auth.PasswordRecovery.md) ***

-$MadelineProto->[auth->resendCode](auth.resendCode.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), \]) === [$auth\_SentCode](../types/auth_SentCode.md) +$MadelineProto->[auth->resendCode](auth.resendCode.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), \]) === [$auth.SentCode](../types/auth.SentCode.md) ***

@@ -252,15 +252,15 @@ $MadelineProto->[auth->resetAuthorizations](auth.resetAuthorizations.md)(\[\]) = ***

-$MadelineProto->[auth->sendCode](auth.sendCode.md)(\['allow_flashcall' => [Bool](../types/Bool.md), 'phone_number' => [string](../types/string.md), 'current_number' => [Bool](../types/Bool.md), 'api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), \]) === [$auth\_SentCode](../types/auth_SentCode.md) +$MadelineProto->[auth->sendCode](auth.sendCode.md)(\['allow_flashcall' => [Bool](../types/Bool.md), 'phone_number' => [string](../types/string.md), 'current_number' => [Bool](../types/Bool.md), 'api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), \]) === [$auth.SentCode](../types/auth.SentCode.md) ***

-$MadelineProto->[auth->signIn](auth.signIn.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->signIn](auth.signIn.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

-$MadelineProto->[auth->signUp](auth.signUp.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->signUp](auth.signUp.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

@@ -288,11 +288,11 @@ $MadelineProto->[channels->deleteHistory](channels.deleteHistory.md)(\['channel' ***

-$MadelineProto->[channels->deleteMessages](channels.deleteMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) +$MadelineProto->[channels->deleteMessages](channels.deleteMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages.AffectedMessages](../types/messages.AffectedMessages.md) ***

-$MadelineProto->[channels->deleteUserHistory](channels.deleteUserHistory.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages\_AffectedHistory](../types/messages_AffectedHistory.md) +$MadelineProto->[channels->deleteUserHistory](channels.deleteUserHistory.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages.AffectedHistory](../types/messages.AffectedHistory.md) ***

@@ -324,35 +324,35 @@ $MadelineProto->[channels->exportMessageLink](channels.exportMessageLink.md)(\[' ***

-$MadelineProto->[channels->getAdminLog](channels.getAdminLog.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'q' => [string](../types/string.md), 'events_filter' => [ChannelAdminLogEventsFilter](../types/ChannelAdminLogEventsFilter.md), 'admins' => \[[InputUser](../types/InputUser.md)\], 'max_id' => [long](../types/long.md), 'min_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$channels\_AdminLogResults](../types/channels_AdminLogResults.md) +$MadelineProto->[channels->getAdminLog](channels.getAdminLog.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'q' => [string](../types/string.md), 'events_filter' => [ChannelAdminLogEventsFilter](../types/ChannelAdminLogEventsFilter.md), 'admins' => \[[InputUser](../types/InputUser.md)\], 'max_id' => [long](../types/long.md), 'min_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$channels.AdminLogResults](../types/channels.AdminLogResults.md) ***

-$MadelineProto->[channels->getAdminedPublicChannels](channels.getAdminedPublicChannels.md)(\[\]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[channels->getAdminedPublicChannels](channels.getAdminedPublicChannels.md)(\[\]) === [$messages.Chats](../types/messages.Chats.md) ***

-$MadelineProto->[channels->getChannels](channels.getChannels.md)(\['id' => \[[InputChannel](../types/InputChannel.md)\], \]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[channels->getChannels](channels.getChannels.md)(\['id' => \[[InputChannel](../types/InputChannel.md)\], \]) === [$messages.Chats](../types/messages.Chats.md) ***

-$MadelineProto->[channels->getFullChannel](channels.getFullChannel.md)(\['channel' => [InputChannel](../types/InputChannel.md), \]) === [$messages\_ChatFull](../types/messages_ChatFull.md) +$MadelineProto->[channels->getFullChannel](channels.getFullChannel.md)(\['channel' => [InputChannel](../types/InputChannel.md), \]) === [$messages.ChatFull](../types/messages.ChatFull.md) ***

-$MadelineProto->[channels->getLeftChannels](channels.getLeftChannels.md)(\['offset' => [int](../types/int.md), \]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[channels->getLeftChannels](channels.getLeftChannels.md)(\['offset' => [int](../types/int.md), \]) === [$messages.Chats](../types/messages.Chats.md) ***

-$MadelineProto->[channels->getMessages](channels.getMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[InputMessage](../types/InputMessage.md)\], \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[channels->getMessages](channels.getMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[InputMessage](../types/InputMessage.md)\], \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[channels->getParticipant](channels.getParticipant.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$channels\_ChannelParticipant](../types/channels_ChannelParticipant.md) +$MadelineProto->[channels->getParticipant](channels.getParticipant.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$channels.ChannelParticipant](../types/channels.ChannelParticipant.md) ***

-$MadelineProto->[channels->getParticipants](channels.getParticipants.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$channels\_ChannelParticipants](../types/channels_ChannelParticipants.md) +$MadelineProto->[channels->getParticipants](channels.getParticipants.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$channels.ChannelParticipants](../types/channels.ChannelParticipants.md) ***

@@ -408,7 +408,7 @@ $MadelineProto->[contacts->block](contacts.block.md)(\['id' => [InputUser](../ty ***

-$MadelineProto->[contacts->deleteContact](contacts.deleteContact.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$contacts\_Link](../types/contacts_Link.md) +$MadelineProto->[contacts->deleteContact](contacts.deleteContact.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$contacts.Link](../types/contacts.Link.md) ***

@@ -420,11 +420,11 @@ $MadelineProto->[contacts->exportCard](contacts.exportCard.md)(\[\]) === [$Vecto ***

-$MadelineProto->[contacts->getBlocked](contacts.getBlocked.md)(\['offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$contacts\_Blocked](../types/contacts_Blocked.md) +$MadelineProto->[contacts->getBlocked](contacts.getBlocked.md)(\['offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$contacts.Blocked](../types/contacts.Blocked.md) ***

-$MadelineProto->[contacts->getContacts](contacts.getContacts.md)(\['hash' => [int](../types/int.md), \]) === [$contacts\_Contacts](../types/contacts_Contacts.md) +$MadelineProto->[contacts->getContacts](contacts.getContacts.md)(\['hash' => [int](../types/int.md), \]) === [$contacts.Contacts](../types/contacts.Contacts.md) ***

@@ -436,7 +436,7 @@ $MadelineProto->[contacts->getStatuses](contacts.getStatuses.md)(\[\]) === [$Vec ***

-$MadelineProto->[contacts->getTopPeers](contacts.getTopPeers.md)(\['correspondents' => [Bool](../types/Bool.md), 'bots_pm' => [Bool](../types/Bool.md), 'bots_inline' => [Bool](../types/Bool.md), 'phone_calls' => [Bool](../types/Bool.md), 'groups' => [Bool](../types/Bool.md), 'channels' => [Bool](../types/Bool.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$contacts\_TopPeers](../types/contacts_TopPeers.md) +$MadelineProto->[contacts->getTopPeers](contacts.getTopPeers.md)(\['correspondents' => [Bool](../types/Bool.md), 'bots_pm' => [Bool](../types/Bool.md), 'bots_inline' => [Bool](../types/Bool.md), 'phone_calls' => [Bool](../types/Bool.md), 'groups' => [Bool](../types/Bool.md), 'channels' => [Bool](../types/Bool.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$contacts.TopPeers](../types/contacts.TopPeers.md) ***

@@ -444,7 +444,7 @@ $MadelineProto->[contacts->importCard](contacts.importCard.md)(\['export_card' = ***

-$MadelineProto->[contacts->importContacts](contacts.importContacts.md)(\['contacts' => \[[InputContact](../types/InputContact.md)\], \]) === [$contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) +$MadelineProto->[contacts->importContacts](contacts.importContacts.md)(\['contacts' => \[[InputContact](../types/InputContact.md)\], \]) === [$contacts.ImportedContacts](../types/contacts.ImportedContacts.md) ***

@@ -456,11 +456,11 @@ $MadelineProto->[contacts->resetTopPeerRating](contacts.resetTopPeerRating.md)(\ ***

-$MadelineProto->[contacts->resolveUsername](contacts.resolveUsername.md)(\['username' => [string](../types/string.md), \]) === [$contacts\_ResolvedPeer](../types/contacts_ResolvedPeer.md) +$MadelineProto->[contacts->resolveUsername](contacts.resolveUsername.md)(\['username' => [string](../types/string.md), \]) === [$contacts.ResolvedPeer](../types/contacts.ResolvedPeer.md) ***

-$MadelineProto->[contacts->search](contacts.search.md)(\['q' => [string](../types/string.md), 'limit' => [int](../types/int.md), \]) === [$contacts\_Found](../types/contacts_Found.md) +$MadelineProto->[contacts->search](contacts.search.md)(\['q' => [string](../types/string.md), 'limit' => [int](../types/int.md), \]) === [$contacts.Found](../types/contacts.Found.md) ***

@@ -476,7 +476,7 @@ $MadelineProto->[help->getAppChangelog](help.getAppChangelog.md)(\['prev_app_ver ***

-$MadelineProto->[help->getAppUpdate](help.getAppUpdate.md)(\[\]) === [$help\_AppUpdate](../types/help_AppUpdate.md) +$MadelineProto->[help->getAppUpdate](help.getAppUpdate.md)(\[\]) === [$help.AppUpdate](../types/help.AppUpdate.md) ***

@@ -488,11 +488,11 @@ $MadelineProto->[help->getConfig](help.getConfig.md)(\[\]) === [$Config](../type ***

-$MadelineProto->[help->getDeepLinkInfo](help.getDeepLinkInfo.md)(\['path' => [string](../types/string.md), \]) === [$help\_DeepLinkInfo](../types/help_DeepLinkInfo.md) +$MadelineProto->[help->getDeepLinkInfo](help.getDeepLinkInfo.md)(\['path' => [string](../types/string.md), \]) === [$help.DeepLinkInfo](../types/help.DeepLinkInfo.md) ***

-$MadelineProto->[help->getInviteText](help.getInviteText.md)(\[\]) === [$help\_InviteText](../types/help_InviteText.md) +$MadelineProto->[help->getInviteText](help.getInviteText.md)(\[\]) === [$help.InviteText](../types/help.InviteText.md) ***

@@ -500,19 +500,19 @@ $MadelineProto->[help->getNearestDc](help.getNearestDc.md)(\[\]) === [$NearestDc ***

-$MadelineProto->[help->getProxyData](help.getProxyData.md)(\[\]) === [$help\_ProxyData](../types/help_ProxyData.md) +$MadelineProto->[help->getProxyData](help.getProxyData.md)(\[\]) === [$help.ProxyData](../types/help.ProxyData.md) ***

-$MadelineProto->[help->getRecentMeUrls](help.getRecentMeUrls.md)(\['referer' => [string](../types/string.md), \]) === [$help\_RecentMeUrls](../types/help_RecentMeUrls.md) +$MadelineProto->[help->getRecentMeUrls](help.getRecentMeUrls.md)(\['referer' => [string](../types/string.md), \]) === [$help.RecentMeUrls](../types/help.RecentMeUrls.md) ***

-$MadelineProto->[help->getSupport](help.getSupport.md)(\[\]) === [$help\_Support](../types/help_Support.md) +$MadelineProto->[help->getSupport](help.getSupport.md)(\[\]) === [$help.Support](../types/help.Support.md) ***

-$MadelineProto->[help->getTermsOfServiceUpdate](help.getTermsOfServiceUpdate.md)(\[\]) === [$help\_TermsOfServiceUpdate](../types/help_TermsOfServiceUpdate.md) +$MadelineProto->[help->getTermsOfServiceUpdate](help.getTermsOfServiceUpdate.md)(\[\]) === [$help.TermsOfServiceUpdate](../types/help.TermsOfServiceUpdate.md) ***

@@ -592,11 +592,11 @@ $MadelineProto->[messages->deleteChatUser](messages.deleteChatUser.md)(\['chat_i ***

-$MadelineProto->[messages->deleteHistory](messages.deleteHistory.md)(\['just_clear' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), \]) === [$messages\_AffectedHistory](../types/messages_AffectedHistory.md) +$MadelineProto->[messages->deleteHistory](messages.deleteHistory.md)(\['just_clear' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), \]) === [$messages.AffectedHistory](../types/messages.AffectedHistory.md) ***

-$MadelineProto->[messages->deleteMessages](messages.deleteMessages.md)(\['revoke' => [Bool](../types/Bool.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) +$MadelineProto->[messages->deleteMessages](messages.deleteMessages.md)(\['revoke' => [Bool](../types/Bool.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages.AffectedMessages](../types/messages.AffectedMessages.md) ***

@@ -636,7 +636,7 @@ $MadelineProto->[messages->forwardMessages](messages.forwardMessages.md)(\['sile ***

-$MadelineProto->[messages->getAllChats](messages.getAllChats.md)(\['except_ids' => \[[int](../types/int.md)\], \]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[messages->getAllChats](messages.getAllChats.md)(\['except_ids' => \[[int](../types/int.md)\], \]) === [$messages.Chats](../types/messages.Chats.md) ***

@@ -644,11 +644,11 @@ $MadelineProto->[messages->getAllDrafts](messages.getAllDrafts.md)(\[\]) === [$U ***

-$MadelineProto->[messages->getAllStickers](messages.getAllStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages\_AllStickers](../types/messages_AllStickers.md) +$MadelineProto->[messages->getAllStickers](messages.getAllStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages.AllStickers](../types/messages.AllStickers.md) ***

-$MadelineProto->[messages->getArchivedStickers](messages.getArchivedStickers.md)(\['masks' => [Bool](../types/Bool.md), 'offset_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$messages\_ArchivedStickers](../types/messages_ArchivedStickers.md) +$MadelineProto->[messages->getArchivedStickers](messages.getArchivedStickers.md)(\['masks' => [Bool](../types/Bool.md), 'offset_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$messages.ArchivedStickers](../types/messages.ArchivedStickers.md) ***

@@ -656,23 +656,23 @@ $MadelineProto->[messages->getAttachedStickers](messages.getAttachedStickers.md) ***

-$MadelineProto->[messages->getBotCallbackAnswer](messages.getBotCallbackAnswer.md)(\['game' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'msg_id' => [int](../types/int.md), 'data' => [bytes](../types/bytes.md), \]) === [$messages\_BotCallbackAnswer](../types/messages_BotCallbackAnswer.md) +$MadelineProto->[messages->getBotCallbackAnswer](messages.getBotCallbackAnswer.md)(\['game' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'msg_id' => [int](../types/int.md), 'data' => [bytes](../types/bytes.md), \]) === [$messages.BotCallbackAnswer](../types/messages.BotCallbackAnswer.md) ***

-$MadelineProto->[messages->getChats](messages.getChats.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[messages->getChats](messages.getChats.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages.Chats](../types/messages.Chats.md) ***

-$MadelineProto->[messages->getCommonChats](messages.getCommonChats.md)(\['user_id' => [InputUser](../types/InputUser.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[messages->getCommonChats](messages.getCommonChats.md)(\['user_id' => [InputUser](../types/InputUser.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages.Chats](../types/messages.Chats.md) ***

-$MadelineProto->[messages->getDhConfig](messages.getDhConfig.md)(\['version' => [int](../types/int.md), 'random_length' => [int](../types/int.md), \]) === [$messages\_DhConfig](../types/messages_DhConfig.md) +$MadelineProto->[messages->getDhConfig](messages.getDhConfig.md)(\['version' => [int](../types/int.md), 'random_length' => [int](../types/int.md), \]) === [$messages.DhConfig](../types/messages.DhConfig.md) ***

-$MadelineProto->[messages->getDialogs](messages.getDialogs.md)(\['exclude_pinned' => [Bool](../types/Bool.md), 'offset_date' => [int](../types/int.md), 'offset_id' => [int](../types/int.md), 'offset_peer' => [InputPeer](../types/InputPeer.md), 'limit' => [int](../types/int.md), \]) === [$messages\_Dialogs](../types/messages_Dialogs.md) +$MadelineProto->[messages->getDialogs](messages.getDialogs.md)(\['exclude_pinned' => [Bool](../types/Bool.md), 'offset_date' => [int](../types/int.md), 'offset_id' => [int](../types/int.md), 'offset_peer' => [InputPeer](../types/InputPeer.md), 'limit' => [int](../types/int.md), \]) === [$messages.Dialogs](../types/messages.Dialogs.md) ***

@@ -680,43 +680,43 @@ $MadelineProto->[messages->getDocumentByHash](messages.getDocumentByHash.md)(\[' ***

-$MadelineProto->[messages->getFavedStickers](messages.getFavedStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages\_FavedStickers](../types/messages_FavedStickers.md) +$MadelineProto->[messages->getFavedStickers](messages.getFavedStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages.FavedStickers](../types/messages.FavedStickers.md) ***

-$MadelineProto->[messages->getFeaturedStickers](messages.getFeaturedStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages\_FeaturedStickers](../types/messages_FeaturedStickers.md) +$MadelineProto->[messages->getFeaturedStickers](messages.getFeaturedStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages.FeaturedStickers](../types/messages.FeaturedStickers.md) ***

-$MadelineProto->[messages->getFullChat](messages.getFullChat.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), \]) === [$messages\_ChatFull](../types/messages_ChatFull.md) +$MadelineProto->[messages->getFullChat](messages.getFullChat.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), \]) === [$messages.ChatFull](../types/messages.ChatFull.md) ***

-$MadelineProto->[messages->getGameHighScores](messages.getGameHighScores.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages\_HighScores](../types/messages_HighScores.md) +$MadelineProto->[messages->getGameHighScores](messages.getGameHighScores.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages.HighScores](../types/messages.HighScores.md) ***

-$MadelineProto->[messages->getHistory](messages.getHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'offset_date' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->getHistory](messages.getHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'offset_date' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[messages->getInlineBotResults](messages.getInlineBotResults.md)(\['bot' => [InputUser](../types/InputUser.md), 'peer' => [InputPeer](../types/InputPeer.md), 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'query' => [string](../types/string.md), 'offset' => [string](../types/string.md), \]) === [$messages\_BotResults](../types/messages_BotResults.md) +$MadelineProto->[messages->getInlineBotResults](messages.getInlineBotResults.md)(\['bot' => [InputUser](../types/InputUser.md), 'peer' => [InputPeer](../types/InputPeer.md), 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'query' => [string](../types/string.md), 'offset' => [string](../types/string.md), \]) === [$messages.BotResults](../types/messages.BotResults.md) ***

-$MadelineProto->[messages->getInlineGameHighScores](messages.getInlineGameHighScores.md)(\['id' => [InputBotInlineMessageID](../types/InputBotInlineMessageID.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages\_HighScores](../types/messages_HighScores.md) +$MadelineProto->[messages->getInlineGameHighScores](messages.getInlineGameHighScores.md)(\['id' => [InputBotInlineMessageID](../types/InputBotInlineMessageID.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages.HighScores](../types/messages.HighScores.md) ***

-$MadelineProto->[messages->getMaskStickers](messages.getMaskStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages\_AllStickers](../types/messages_AllStickers.md) +$MadelineProto->[messages->getMaskStickers](messages.getMaskStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages.AllStickers](../types/messages.AllStickers.md) ***

-$MadelineProto->[messages->getMessageEditData](messages.getMessageEditData.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), \]) === [$messages\_MessageEditData](../types/messages_MessageEditData.md) +$MadelineProto->[messages->getMessageEditData](messages.getMessageEditData.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), \]) === [$messages.MessageEditData](../types/messages.MessageEditData.md) ***

-$MadelineProto->[messages->getMessages](messages.getMessages.md)(\['id' => \[[InputMessage](../types/InputMessage.md)\], \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->getMessages](messages.getMessages.md)(\['id' => \[[InputMessage](../types/InputMessage.md)\], \]) === [$messages.Messages](../types/messages.Messages.md) ***

@@ -724,7 +724,7 @@ $MadelineProto->[messages->getMessagesViews](messages.getMessagesViews.md)(\['pe ***

-$MadelineProto->[messages->getPeerDialogs](messages.getPeerDialogs.md)(\['peers' => \[[InputDialogPeer](../types/InputDialogPeer.md)\], \]) === [$messages\_PeerDialogs](../types/messages_PeerDialogs.md) +$MadelineProto->[messages->getPeerDialogs](messages.getPeerDialogs.md)(\['peers' => \[[InputDialogPeer](../types/InputDialogPeer.md)\], \]) === [$messages.PeerDialogs](../types/messages.PeerDialogs.md) ***

@@ -732,19 +732,19 @@ $MadelineProto->[messages->getPeerSettings](messages.getPeerSettings.md)(\['peer ***

-$MadelineProto->[messages->getPinnedDialogs](messages.getPinnedDialogs.md)(\[\]) === [$messages\_PeerDialogs](../types/messages_PeerDialogs.md) +$MadelineProto->[messages->getPinnedDialogs](messages.getPinnedDialogs.md)(\[\]) === [$messages.PeerDialogs](../types/messages.PeerDialogs.md) ***

-$MadelineProto->[messages->getRecentLocations](messages.getRecentLocations.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'limit' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->getRecentLocations](messages.getRecentLocations.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'limit' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[messages->getRecentStickers](messages.getRecentStickers.md)(\['attached' => [Bool](../types/Bool.md), 'hash' => [int](../types/int.md), \]) === [$messages\_RecentStickers](../types/messages_RecentStickers.md) +$MadelineProto->[messages->getRecentStickers](messages.getRecentStickers.md)(\['attached' => [Bool](../types/Bool.md), 'hash' => [int](../types/int.md), \]) === [$messages.RecentStickers](../types/messages.RecentStickers.md) ***

-$MadelineProto->[messages->getSavedGifs](messages.getSavedGifs.md)(\['hash' => [int](../types/int.md), \]) === [$messages\_SavedGifs](../types/messages_SavedGifs.md) +$MadelineProto->[messages->getSavedGifs](messages.getSavedGifs.md)(\['hash' => [int](../types/int.md), \]) === [$messages.SavedGifs](../types/messages.SavedGifs.md) ***

@@ -752,15 +752,15 @@ $MadelineProto->[messages->getSplitRanges](messages.getSplitRanges.md)(\[\]) === ***

-$MadelineProto->[messages->getStickerSet](messages.getStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), \]) === [$messages\_StickerSet](../types/messages_StickerSet.md) +$MadelineProto->[messages->getStickerSet](messages.getStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), \]) === [$messages.StickerSet](../types/messages.StickerSet.md) ***

-$MadelineProto->[messages->getStickers](messages.getStickers.md)(\['emoticon' => [string](../types/string.md), 'hash' => [int](../types/int.md), \]) === [$messages\_Stickers](../types/messages_Stickers.md) +$MadelineProto->[messages->getStickers](messages.getStickers.md)(\['emoticon' => [string](../types/string.md), 'hash' => [int](../types/int.md), \]) === [$messages.Stickers](../types/messages.Stickers.md) ***

-$MadelineProto->[messages->getUnreadMentions](messages.getUnreadMentions.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->getUnreadMentions](messages.getUnreadMentions.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

@@ -780,7 +780,7 @@ $MadelineProto->[messages->importChatInvite](messages.importChatInvite.md)(\['ha ***

-$MadelineProto->[messages->installStickerSet](messages.installStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), 'archived' => [Bool](../types/Bool.md), \]) === [$messages\_StickerSetInstallResult](../types/messages_StickerSetInstallResult.md) +$MadelineProto->[messages->installStickerSet](messages.installStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), 'archived' => [Bool](../types/Bool.md), \]) === [$messages.StickerSetInstallResult](../types/messages.StickerSetInstallResult.md) ***

@@ -796,15 +796,15 @@ $MadelineProto->[messages->readFeaturedStickers](messages.readFeaturedStickers.m ***

-$MadelineProto->[messages->readHistory](messages.readHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), \]) === [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) +$MadelineProto->[messages->readHistory](messages.readHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), \]) === [$messages.AffectedMessages](../types/messages.AffectedMessages.md) ***

-$MadelineProto->[messages->readMentions](messages.readMentions.md)(\['peer' => [InputPeer](../types/InputPeer.md), \]) === [$messages\_AffectedHistory](../types/messages_AffectedHistory.md) +$MadelineProto->[messages->readMentions](messages.readMentions.md)(\['peer' => [InputPeer](../types/InputPeer.md), \]) === [$messages.AffectedHistory](../types/messages.AffectedHistory.md) ***

-$MadelineProto->[messages->readMessageContents](messages.readMessageContents.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) +$MadelineProto->[messages->readMessageContents](messages.readMessageContents.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages.AffectedMessages](../types/messages.AffectedMessages.md) ***

@@ -852,31 +852,31 @@ $MadelineProto->[messages->saveRecentSticker](messages.saveRecentSticker.md)(\[' ***

-$MadelineProto->[messages->search](messages.search.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'q' => [string](../types/string.md), 'from_id' => [InputUser](../types/InputUser.md), 'filter' => [MessagesFilter](../types/MessagesFilter.md), 'min_date' => [int](../types/int.md), 'max_date' => [int](../types/int.md), 'offset_id' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->search](messages.search.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'q' => [string](../types/string.md), 'from_id' => [InputUser](../types/InputUser.md), 'filter' => [MessagesFilter](../types/MessagesFilter.md), 'min_date' => [int](../types/int.md), 'max_date' => [int](../types/int.md), 'offset_id' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[messages->searchGifs](messages.searchGifs.md)(\['q' => [string](../types/string.md), 'offset' => [int](../types/int.md), \]) === [$messages\_FoundGifs](../types/messages_FoundGifs.md) +$MadelineProto->[messages->searchGifs](messages.searchGifs.md)(\['q' => [string](../types/string.md), 'offset' => [int](../types/int.md), \]) === [$messages.FoundGifs](../types/messages.FoundGifs.md) ***

-$MadelineProto->[messages->searchGlobal](messages.searchGlobal.md)(\['q' => [string](../types/string.md), 'offset_date' => [int](../types/int.md), 'offset_peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->searchGlobal](messages.searchGlobal.md)(\['q' => [string](../types/string.md), 'offset_date' => [int](../types/int.md), 'offset_peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[messages->searchStickerSets](messages.searchStickerSets.md)(\['exclude_featured' => [Bool](../types/Bool.md), 'q' => [string](../types/string.md), 'hash' => [int](../types/int.md), \]) === [$messages\_FoundStickerSets](../types/messages_FoundStickerSets.md) +$MadelineProto->[messages->searchStickerSets](messages.searchStickerSets.md)(\['exclude_featured' => [Bool](../types/Bool.md), 'q' => [string](../types/string.md), 'hash' => [int](../types/int.md), \]) === [$messages.FoundStickerSets](../types/messages.FoundStickerSets.md) ***

-$MadelineProto->[messages->sendEncrypted](messages.sendEncrypted.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'message' => [DecryptedMessage](../types/DecryptedMessage.md), \]) === [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +$MadelineProto->[messages->sendEncrypted](messages.sendEncrypted.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), \]) === [$messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ***

-$MadelineProto->[messages->sendEncryptedFile](messages.sendEncryptedFile.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'message' => [DecryptedMessage](../types/DecryptedMessage.md), 'file' => [InputEncryptedFile](../types/InputEncryptedFile.md), \]) === [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +$MadelineProto->[messages->sendEncryptedFile](messages.sendEncryptedFile.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), 'file' => [InputEncryptedFile](../types/InputEncryptedFile.md), \]) === [$messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ***

-$MadelineProto->[messages->sendEncryptedService](messages.sendEncryptedService.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'message' => [DecryptedMessage](../types/DecryptedMessage.md), \]) === [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +$MadelineProto->[messages->sendEncryptedService](messages.sendEncryptedService.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), \]) === [$messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ***

@@ -960,31 +960,31 @@ $MadelineProto->[payments->clearSavedInfo](payments.clearSavedInfo.md)(\['creden ***

-$MadelineProto->[payments->getPaymentForm](payments.getPaymentForm.md)(\['msg_id' => [int](../types/int.md), \]) === [$payments\_PaymentForm](../types/payments_PaymentForm.md) +$MadelineProto->[payments->getPaymentForm](payments.getPaymentForm.md)(\['msg_id' => [int](../types/int.md), \]) === [$payments.PaymentForm](../types/payments.PaymentForm.md) ***

-$MadelineProto->[payments->getPaymentReceipt](payments.getPaymentReceipt.md)(\['msg_id' => [int](../types/int.md), \]) === [$payments\_PaymentReceipt](../types/payments_PaymentReceipt.md) +$MadelineProto->[payments->getPaymentReceipt](payments.getPaymentReceipt.md)(\['msg_id' => [int](../types/int.md), \]) === [$payments.PaymentReceipt](../types/payments.PaymentReceipt.md) ***

-$MadelineProto->[payments->getSavedInfo](payments.getSavedInfo.md)(\[\]) === [$payments\_SavedInfo](../types/payments_SavedInfo.md) +$MadelineProto->[payments->getSavedInfo](payments.getSavedInfo.md)(\[\]) === [$payments.SavedInfo](../types/payments.SavedInfo.md) ***

-$MadelineProto->[payments->sendPaymentForm](payments.sendPaymentForm.md)(\['msg_id' => [int](../types/int.md), 'requested_info_id' => [string](../types/string.md), 'shipping_option_id' => [string](../types/string.md), 'credentials' => [InputPaymentCredentials](../types/InputPaymentCredentials.md), \]) === [$payments\_PaymentResult](../types/payments_PaymentResult.md) +$MadelineProto->[payments->sendPaymentForm](payments.sendPaymentForm.md)(\['msg_id' => [int](../types/int.md), 'requested_info_id' => [string](../types/string.md), 'shipping_option_id' => [string](../types/string.md), 'credentials' => [InputPaymentCredentials](../types/InputPaymentCredentials.md), \]) === [$payments.PaymentResult](../types/payments.PaymentResult.md) ***

-$MadelineProto->[payments->validateRequestedInfo](payments.validateRequestedInfo.md)(\['save' => [Bool](../types/Bool.md), 'msg_id' => [int](../types/int.md), 'info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), \]) === [$payments\_ValidatedRequestedInfo](../types/payments_ValidatedRequestedInfo.md) +$MadelineProto->[payments->validateRequestedInfo](payments.validateRequestedInfo.md)(\['save' => [Bool](../types/Bool.md), 'msg_id' => [int](../types/int.md), 'info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), \]) === [$payments.ValidatedRequestedInfo](../types/payments.ValidatedRequestedInfo.md) ***

-$MadelineProto->[phone->acceptCall](phone.acceptCall.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'g_b' => [bytes](../types/bytes.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone\_PhoneCall](../types/phone_PhoneCall.md) +$MadelineProto->[phone->acceptCall](phone.acceptCall.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'g_b' => [bytes](../types/bytes.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone.PhoneCall](../types/phone.PhoneCall.md) ***

-$MadelineProto->[phone->confirmCall](phone.confirmCall.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'g_a' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone\_PhoneCall](../types/phone_PhoneCall.md) +$MadelineProto->[phone->confirmCall](phone.confirmCall.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'g_a' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone.PhoneCall](../types/phone.PhoneCall.md) ***

@@ -1000,7 +1000,7 @@ $MadelineProto->[phone->receivedCall](phone.receivedCall.md)(\['peer' => [InputP ***

-$MadelineProto->[phone->requestCall](phone.requestCall.md)(\['user_id' => [InputUser](../types/InputUser.md), 'g_a_hash' => [bytes](../types/bytes.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone\_PhoneCall](../types/phone_PhoneCall.md) +$MadelineProto->[phone->requestCall](phone.requestCall.md)(\['user_id' => [InputUser](../types/InputUser.md), 'g_a_hash' => [bytes](../types/bytes.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone.PhoneCall](../types/phone.PhoneCall.md) ***

@@ -1016,7 +1016,7 @@ $MadelineProto->[photos->deletePhotos](photos.deletePhotos.md)(\['id' => \[[Inpu ***

-$MadelineProto->[photos->getUserPhotos](photos.getUserPhotos.md)(\['user_id' => [InputUser](../types/InputUser.md), 'offset' => [int](../types/int.md), 'max_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$photos\_Photos](../types/photos_Photos.md) +$MadelineProto->[photos->getUserPhotos](photos.getUserPhotos.md)(\['user_id' => [InputUser](../types/InputUser.md), 'offset' => [int](../types/int.md), 'max_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$photos.Photos](../types/photos.Photos.md) ***

@@ -1024,39 +1024,39 @@ $MadelineProto->[photos->updateProfilePhoto](photos.updateProfilePhoto.md)(\['id ***

-$MadelineProto->[photos->uploadProfilePhoto](photos.uploadProfilePhoto.md)(\['file' => [InputFile](../types/InputFile.md), \]) === [$photos\_Photo](../types/photos_Photo.md) +$MadelineProto->[photos->uploadProfilePhoto](photos.uploadProfilePhoto.md)(\['file' => [InputFile](../types/InputFile.md), \]) === [$photos.Photo](../types/photos.Photo.md) ***

-$MadelineProto->[stickers->addStickerToSet](stickers.addStickerToSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), 'sticker' => [InputStickerSetItem](../types/InputStickerSetItem.md), \]) === [$messages\_StickerSet](../types/messages_StickerSet.md) +$MadelineProto->[stickers->addStickerToSet](stickers.addStickerToSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), 'sticker' => [InputStickerSetItem](../types/InputStickerSetItem.md), \]) === [$messages.StickerSet](../types/messages.StickerSet.md) ***

-$MadelineProto->[stickers->changeStickerPosition](stickers.changeStickerPosition.md)(\['sticker' => [InputDocument](../types/InputDocument.md), 'position' => [int](../types/int.md), \]) === [$messages\_StickerSet](../types/messages_StickerSet.md) +$MadelineProto->[stickers->changeStickerPosition](stickers.changeStickerPosition.md)(\['sticker' => [InputDocument](../types/InputDocument.md), 'position' => [int](../types/int.md), \]) === [$messages.StickerSet](../types/messages.StickerSet.md) ***

-$MadelineProto->[stickers->createStickerSet](stickers.createStickerSet.md)(\['masks' => [Bool](../types/Bool.md), 'user_id' => [InputUser](../types/InputUser.md), 'title' => [string](../types/string.md), 'short_name' => [string](../types/string.md), 'stickers' => \[[InputStickerSetItem](../types/InputStickerSetItem.md)\], \]) === [$messages\_StickerSet](../types/messages_StickerSet.md) +$MadelineProto->[stickers->createStickerSet](stickers.createStickerSet.md)(\['masks' => [Bool](../types/Bool.md), 'user_id' => [InputUser](../types/InputUser.md), 'title' => [string](../types/string.md), 'short_name' => [string](../types/string.md), 'stickers' => \[[InputStickerSetItem](../types/InputStickerSetItem.md)\], \]) === [$messages.StickerSet](../types/messages.StickerSet.md) ***

-$MadelineProto->[stickers->removeStickerFromSet](stickers.removeStickerFromSet.md)(\['sticker' => [InputDocument](../types/InputDocument.md), \]) === [$messages\_StickerSet](../types/messages_StickerSet.md) +$MadelineProto->[stickers->removeStickerFromSet](stickers.removeStickerFromSet.md)(\['sticker' => [InputDocument](../types/InputDocument.md), \]) === [$messages.StickerSet](../types/messages.StickerSet.md) ***

-$MadelineProto->[updates->getChannelDifference](updates.getChannelDifference.md)(\['force' => [Bool](../types/Bool.md), 'channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$updates\_ChannelDifference](../types/updates_ChannelDifference.md) +$MadelineProto->[updates->getChannelDifference](updates.getChannelDifference.md)(\['force' => [Bool](../types/Bool.md), 'channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$updates.ChannelDifference](../types/updates.ChannelDifference.md) ***

-$MadelineProto->[updates->getDifference](updates.getDifference.md)(\['pts' => [int](../types/int.md), 'pts_total_limit' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) === [$updates\_Difference](../types/updates_Difference.md) +$MadelineProto->[updates->getDifference](updates.getDifference.md)(\['pts' => [int](../types/int.md), 'pts_total_limit' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) === [$updates.Difference](../types/updates.Difference.md) ***

-$MadelineProto->[updates->getState](updates.getState.md)(\[\]) === [$updates\_State](../types/updates_State.md) +$MadelineProto->[updates->getState](updates.getState.md)(\[\]) === [$updates.State](../types/updates.State.md) ***

-$MadelineProto->[upload->getCdnFile](upload.getCdnFile.md)(\['file_token' => [bytes](../types/bytes.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_CdnFile](../types/upload_CdnFile.md) +$MadelineProto->[upload->getCdnFile](upload.getCdnFile.md)(\['file_token' => [bytes](../types/bytes.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload.CdnFile](../types/upload.CdnFile.md) ***

@@ -1064,7 +1064,7 @@ $MadelineProto->[upload->getCdnFileHashes](upload.getCdnFileHashes.md)(\['file_t ***

-$MadelineProto->[upload->getFile](upload.getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_File](../types/upload_File.md) +$MadelineProto->[upload->getFile](upload.getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload.File](../types/upload.File.md) ***

@@ -1072,7 +1072,7 @@ $MadelineProto->[upload->getFileHashes](upload.getFileHashes.md)(\['location' => ***

-$MadelineProto->[upload->getWebFile](upload.getWebFile.md)(\['location' => [InputWebFileLocation](../types/InputWebFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_WebFile](../types/upload_WebFile.md) +$MadelineProto->[upload->getWebFile](upload.getWebFile.md)(\['location' => [InputWebFileLocation](../types/InputWebFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload.WebFile](../types/upload.WebFile.md) ***

diff --git a/old_docs/API_docs_v81/methods/auth.checkPassword.md b/old_docs/API_docs_v81/methods/auth.checkPassword.md index db65cb56..eeeed171 100644 --- a/old_docs/API_docs_v81/methods/auth.checkPassword.md +++ b/old_docs/API_docs_v81/methods/auth.checkPassword.md @@ -16,7 +16,7 @@ You cannot use this method directly, use the complete_2fa_login method instead ( |password\_hash|[bytes](../types/bytes.md) | You cannot use this method directly, use the complete_2fa_login method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->checkPassword(['password_hash' => 'bytes', ]); +$auth.Authorization = $MadelineProto->auth->checkPassword(['password_hash' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.checkPassword({password_hash='bytes', }) +auth.Authorization = auth.checkPassword({password_hash='bytes', }) ``` ### Errors diff --git a/old_docs/API_docs_v81/methods/auth.exportAuthorization.md b/old_docs/API_docs_v81/methods/auth.exportAuthorization.md index 72063a2b..41a1f87d 100644 --- a/old_docs/API_docs_v81/methods/auth.exportAuthorization.md +++ b/old_docs/API_docs_v81/methods/auth.exportAuthorization.md @@ -16,7 +16,7 @@ You cannot use this method directly, use $MadelineProto->exportAuthorization() i |dc\_id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| -### Return type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) +### Return type: [auth.ExportedAuthorization](../types/auth.ExportedAuthorization.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_ExportedAuthorization = $MadelineProto->auth->exportAuthorization(['dc_id' => int, ]); +$auth.ExportedAuthorization = $MadelineProto->auth->exportAuthorization(['dc_id' => int, ]); ``` Or, if you're into Lua: ```lua -auth_ExportedAuthorization = auth.exportAuthorization({dc_id=int, }) +auth.ExportedAuthorization = auth.exportAuthorization({dc_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v81/methods/auth.importAuthorization.md b/old_docs/API_docs_v81/methods/auth.importAuthorization.md index d9c13751..5257e0b0 100644 --- a/old_docs/API_docs_v81/methods/auth.importAuthorization.md +++ b/old_docs/API_docs_v81/methods/auth.importAuthorization.md @@ -17,7 +17,7 @@ You cannot use this method directly, use $MadelineProto->importAuthorization($au |bytes|[bytes](../types/bytes.md) | You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => 'bytes', ]); +$auth.Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.importAuthorization({id=int, bytes='bytes', }) +auth.Authorization = auth.importAuthorization({id=int, bytes='bytes', }) ``` ### Errors diff --git a/old_docs/API_docs_v81/methods/auth.importBotAuthorization.md b/old_docs/API_docs_v81/methods/auth.importBotAuthorization.md index 3161d6be..a4ea8027 100644 --- a/old_docs/API_docs_v81/methods/auth.importBotAuthorization.md +++ b/old_docs/API_docs_v81/methods/auth.importBotAuthorization.md @@ -18,7 +18,7 @@ You cannot use this method directly, use the botLogin method instead (see https: |bot\_auth\_token|[string](../types/string.md) | You cannot use this method directly, use the botLogin method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **YES** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->importBotAuthorization(['api_id' => int, 'api_hash' => 'string', 'bot_auth_token' => 'string', ]); +$auth.Authorization = $MadelineProto->auth->importBotAuthorization(['api_id' => int, 'api_hash' => 'string', 'bot_auth_token' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.importBotAuthorization({api_id=int, api_hash='string', bot_auth_token='string', }) +auth.Authorization = auth.importBotAuthorization({api_id=int, api_hash='string', bot_auth_token='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v81/methods/auth.recoverPassword.md b/old_docs/API_docs_v81/methods/auth.recoverPassword.md index f7cbf4a4..2e78444b 100644 --- a/old_docs/API_docs_v81/methods/auth.recoverPassword.md +++ b/old_docs/API_docs_v81/methods/auth.recoverPassword.md @@ -16,7 +16,7 @@ Reset the [2FA password](https://core.telegram.org/api/srp) using the recovery c |code|[string](../types/string.md) | Code received via email | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->recoverPassword(['code' => 'string', ]); +$auth.Authorization = $MadelineProto->auth->recoverPassword(['code' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.recoverPassword({code='string', }) +auth.Authorization = auth.recoverPassword({code='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v81/methods/auth.requestPasswordRecovery.md b/old_docs/API_docs_v81/methods/auth.requestPasswordRecovery.md index 5cd77936..ff1ecc02 100644 --- a/old_docs/API_docs_v81/methods/auth.requestPasswordRecovery.md +++ b/old_docs/API_docs_v81/methods/auth.requestPasswordRecovery.md @@ -11,7 +11,7 @@ Request recovery code of a [2FA password](https://core.telegram.org/api/srp), on -### Return type: [auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) +### Return type: [auth.PasswordRecovery](../types/auth.PasswordRecovery.md) ### Can bots use this method: **NO** @@ -28,13 +28,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_PasswordRecovery = $MadelineProto->auth->requestPasswordRecovery(); +$auth.PasswordRecovery = $MadelineProto->auth->requestPasswordRecovery(); ``` Or, if you're into Lua: ```lua -auth_PasswordRecovery = auth.requestPasswordRecovery({}) +auth.PasswordRecovery = auth.requestPasswordRecovery({}) ``` ### Errors diff --git a/old_docs/API_docs_v81/methods/auth.resendCode.md b/old_docs/API_docs_v81/methods/auth.resendCode.md index a395a91b..f59f1b7b 100644 --- a/old_docs/API_docs_v81/methods/auth.resendCode.md +++ b/old_docs/API_docs_v81/methods/auth.resendCode.md @@ -17,7 +17,7 @@ Resend the login code via another medium, the phone code type is determined by t |phone\_code\_hash|[string](../types/string.md) | The phone code hash obtained from [auth.sendCode](../methods/auth.sendCode.md) | Yes| -### Return type: [auth\_SentCode](../types/auth_SentCode.md) +### Return type: [auth.SentCode](../types/auth.SentCode.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_SentCode = $MadelineProto->auth->resendCode(['phone_number' => 'string', 'phone_code_hash' => 'string', ]); +$auth.SentCode = $MadelineProto->auth->resendCode(['phone_number' => 'string', 'phone_code_hash' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_SentCode = auth.resendCode({phone_number='string', phone_code_hash='string', }) +auth.SentCode = auth.resendCode({phone_number='string', phone_code_hash='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v81/methods/auth.sendCode.md b/old_docs/API_docs_v81/methods/auth.sendCode.md index bd922a48..0c818fbb 100644 --- a/old_docs/API_docs_v81/methods/auth.sendCode.md +++ b/old_docs/API_docs_v81/methods/auth.sendCode.md @@ -20,7 +20,7 @@ You cannot use this method directly, use the phoneLogin method instead (see http |api\_hash|[string](../types/string.md) | You cannot use this method directly, use the phoneLogin method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_SentCode](../types/auth_SentCode.md) +### Return type: [auth.SentCode](../types/auth.SentCode.md) ### Can bots use this method: **NO** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_SentCode = $MadelineProto->auth->sendCode(['allow_flashcall' => Bool, 'phone_number' => 'string', 'current_number' => Bool, 'api_id' => int, 'api_hash' => 'string', ]); +$auth.SentCode = $MadelineProto->auth->sendCode(['allow_flashcall' => Bool, 'phone_number' => 'string', 'current_number' => Bool, 'api_id' => int, 'api_hash' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_SentCode = auth.sendCode({allow_flashcall=Bool, phone_number='string', current_number=Bool, api_id=int, api_hash='string', }) +auth.SentCode = auth.sendCode({allow_flashcall=Bool, phone_number='string', current_number=Bool, api_id=int, api_hash='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v81/methods/auth.signIn.md b/old_docs/API_docs_v81/methods/auth.signIn.md index 54812a2e..95b14f32 100644 --- a/old_docs/API_docs_v81/methods/auth.signIn.md +++ b/old_docs/API_docs_v81/methods/auth.signIn.md @@ -18,7 +18,7 @@ You cannot use this method directly, use the completePhoneLogin method instead ( |phone\_code|[string](../types/string.md) | You cannot use this method directly, use the completePhoneLogin method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->signIn(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', ]); +$auth.Authorization = $MadelineProto->auth->signIn(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.signIn({phone_number='string', phone_code_hash='string', phone_code='string', }) +auth.Authorization = auth.signIn({phone_number='string', phone_code_hash='string', phone_code='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v81/methods/auth.signUp.md b/old_docs/API_docs_v81/methods/auth.signUp.md index 2aca2bfa..fdb5d628 100644 --- a/old_docs/API_docs_v81/methods/auth.signUp.md +++ b/old_docs/API_docs_v81/methods/auth.signUp.md @@ -20,7 +20,7 @@ You cannot use this method directly, use the completeSignup method instead (see |last\_name|[string](../types/string.md) | You cannot use this method directly, use the completeSignup method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **NO** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->signUp(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', 'first_name' => 'string', 'last_name' => 'string', ]); +$auth.Authorization = $MadelineProto->auth->signUp(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', 'first_name' => 'string', 'last_name' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.signUp({phone_number='string', phone_code_hash='string', phone_code='string', first_name='string', last_name='string', }) +auth.Authorization = auth.signUp({phone_number='string', phone_code_hash='string', phone_code='string', first_name='string', last_name='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v81/methods/channels.deleteMessages.md b/old_docs/API_docs_v81/methods/channels.deleteMessages.md index 10a439fb..8583e560 100644 --- a/old_docs/API_docs_v81/methods/channels.deleteMessages.md +++ b/old_docs/API_docs_v81/methods/channels.deleteMessages.md @@ -17,7 +17,7 @@ Delete messages in a [channel/supergroup](https://core.telegram.org/api/channel) |id|Array of [int](../types/int.md) | The IDs of messages to delete | Yes| -### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) +### Return type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedMessages = $MadelineProto->channels->deleteMessages(['channel' => InputChannel, 'id' => [int, int], ]); +$messages.AffectedMessages = $MadelineProto->channels->deleteMessages(['channel' => InputChannel, 'id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AffectedMessages = channels.deleteMessages({channel=InputChannel, id={int}, }) +messages.AffectedMessages = channels.deleteMessages({channel=InputChannel, id={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v81/methods/channels.deleteUserHistory.md b/old_docs/API_docs_v81/methods/channels.deleteUserHistory.md index 9b8b159f..6ccaf7dd 100644 --- a/old_docs/API_docs_v81/methods/channels.deleteUserHistory.md +++ b/old_docs/API_docs_v81/methods/channels.deleteUserHistory.md @@ -17,7 +17,7 @@ Delete all messages sent by a certain user in a [supergroup](https://core.telegr |user\_id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | User whose messages should be deleted | Optional| -### Return type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) +### Return type: [messages.AffectedHistory](../types/messages.AffectedHistory.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedHistory = $MadelineProto->channels->deleteUserHistory(['channel' => InputChannel, 'user_id' => InputUser, ]); +$messages.AffectedHistory = $MadelineProto->channels->deleteUserHistory(['channel' => InputChannel, 'user_id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -messages_AffectedHistory = channels.deleteUserHistory({channel=InputChannel, user_id=InputUser, }) +messages.AffectedHistory = channels.deleteUserHistory({channel=InputChannel, user_id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v81/methods/channels.getAdminLog.md b/old_docs/API_docs_v81/methods/channels.getAdminLog.md index e149f653..3b550a73 100644 --- a/old_docs/API_docs_v81/methods/channels.getAdminLog.md +++ b/old_docs/API_docs_v81/methods/channels.getAdminLog.md @@ -22,7 +22,7 @@ Get the admin log of a [channel/supergroup](https://core.telegram.org/api/channe |limit|[int](../types/int.md) | Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets) | Yes| -### Return type: [channels\_AdminLogResults](../types/channels_AdminLogResults.md) +### Return type: [channels.AdminLogResults](../types/channels.AdminLogResults.md) ### Can bots use this method: **NO** @@ -39,13 +39,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$channels_AdminLogResults = $MadelineProto->channels->getAdminLog(['channel' => InputChannel, 'q' => 'string', 'events_filter' => ChannelAdminLogEventsFilter, 'admins' => [InputUser, InputUser], 'max_id' => long, 'min_id' => long, 'limit' => int, ]); +$channels.AdminLogResults = $MadelineProto->channels->getAdminLog(['channel' => InputChannel, 'q' => 'string', 'events_filter' => ChannelAdminLogEventsFilter, 'admins' => [InputUser, InputUser], 'max_id' => long, 'min_id' => long, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -channels_AdminLogResults = channels.getAdminLog({channel=InputChannel, q='string', events_filter=ChannelAdminLogEventsFilter, admins={InputUser}, max_id=long, min_id=long, limit=int, }) +channels.AdminLogResults = channels.getAdminLog({channel=InputChannel, q='string', events_filter=ChannelAdminLogEventsFilter, admins={InputUser}, max_id=long, min_id=long, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v81/methods/channels.getAdminedPublicChannels.md b/old_docs/API_docs_v81/methods/channels.getAdminedPublicChannels.md index 55a686ca..eb277404 100644 --- a/old_docs/API_docs_v81/methods/channels.getAdminedPublicChannels.md +++ b/old_docs/API_docs_v81/methods/channels.getAdminedPublicChannels.md @@ -11,7 +11,7 @@ Get [channels/supergroups/geogroups](https://core.telegram.org/api/channel) we'r -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->channels->getAdminedPublicChannels(); +$messages.Chats = $MadelineProto->channels->getAdminedPublicChannels(); ``` Or, if you're into Lua: ```lua -messages_Chats = channels.getAdminedPublicChannels({}) +messages.Chats = channels.getAdminedPublicChannels({}) ``` diff --git a/old_docs/API_docs_v81/methods/channels.getChannels.md b/old_docs/API_docs_v81/methods/channels.getChannels.md index 368c96ce..ed9cf4a7 100644 --- a/old_docs/API_docs_v81/methods/channels.getChannels.md +++ b/old_docs/API_docs_v81/methods/channels.getChannels.md @@ -16,7 +16,7 @@ Get info about [channels/supergroups](https://core.telegram.org/api/channel) |id|Array of [Username, chat ID, Update, Message or InputChannel](../types/InputChannel.md) | The channel/supergroup MTProto IDs | Yes| -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->channels->getChannels(['id' => [InputChannel, InputChannel], ]); +$messages.Chats = $MadelineProto->channels->getChannels(['id' => [InputChannel, InputChannel], ]); ``` Or, if you're into Lua: ```lua -messages_Chats = channels.getChannels({id={InputChannel}, }) +messages.Chats = channels.getChannels({id={InputChannel}, }) ``` ### Errors diff --git a/old_docs/API_docs_v81/methods/channels.getFullChannel.md b/old_docs/API_docs_v81/methods/channels.getFullChannel.md index 08dc21bb..1369e0a0 100644 --- a/old_docs/API_docs_v81/methods/channels.getFullChannel.md +++ b/old_docs/API_docs_v81/methods/channels.getFullChannel.md @@ -16,7 +16,7 @@ You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo me |channel|[Username, chat ID, Update, Message or InputChannel](../types/InputChannel.md) | You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo methods instead (see https://docs.madelineproto.xyz for more info) | Optional| -### Return type: [messages\_ChatFull](../types/messages_ChatFull.md) +### Return type: [messages.ChatFull](../types/messages.ChatFull.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_ChatFull = $MadelineProto->channels->getFullChannel(['channel' => InputChannel, ]); +$messages.ChatFull = $MadelineProto->channels->getFullChannel(['channel' => InputChannel, ]); ``` Or, if you're into Lua: ```lua -messages_ChatFull = channels.getFullChannel({channel=InputChannel, }) +messages.ChatFull = channels.getFullChannel({channel=InputChannel, }) ``` ### Errors diff --git a/old_docs/API_docs_v81/methods/channels.getLeftChannels.md b/old_docs/API_docs_v81/methods/channels.getLeftChannels.md index a5bcda2c..5a132204 100644 --- a/old_docs/API_docs_v81/methods/channels.getLeftChannels.md +++ b/old_docs/API_docs_v81/methods/channels.getLeftChannels.md @@ -16,7 +16,7 @@ Get a list of [channels/supergroups](https://core.telegram.org/api/channel) we l |offset|[int](../types/int.md) | Offset for [pagination](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->channels->getLeftChannels(['offset' => int, ]); +$messages.Chats = $MadelineProto->channels->getLeftChannels(['offset' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Chats = channels.getLeftChannels({offset=int, }) +messages.Chats = channels.getLeftChannels({offset=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v81/methods/channels.getMessages.md b/old_docs/API_docs_v81/methods/channels.getMessages.md index 428734e3..708e404a 100644 --- a/old_docs/API_docs_v81/methods/channels.getMessages.md +++ b/old_docs/API_docs_v81/methods/channels.getMessages.md @@ -17,7 +17,7 @@ Get [channel/supergroup](https://core.telegram.org/api/channel) messages |id|Array of [Message ID or InputMessage](../types/InputMessage.md) | The message IDs | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->channels->getMessages(['channel' => InputChannel, 'id' => [InputMessage, InputMessage], ]); +$messages.Messages = $MadelineProto->channels->getMessages(['channel' => InputChannel, 'id' => [InputMessage, InputMessage], ]); ``` Or, if you're into Lua: ```lua -messages_Messages = channels.getMessages({channel=InputChannel, id={InputMessage}, }) +messages.Messages = channels.getMessages({channel=InputChannel, id={InputMessage}, }) ``` ### Errors diff --git a/old_docs/API_docs_v81/methods/channels.getParticipant.md b/old_docs/API_docs_v81/methods/channels.getParticipant.md index aa2ce655..cf6a7771 100644 --- a/old_docs/API_docs_v81/methods/channels.getParticipant.md +++ b/old_docs/API_docs_v81/methods/channels.getParticipant.md @@ -17,7 +17,7 @@ Get info about a [channel/supergroup](https://core.telegram.org/api/channel) par |user\_id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | ID of participant to get info about | Optional| -### Return type: [channels\_ChannelParticipant](../types/channels_ChannelParticipant.md) +### Return type: [channels.ChannelParticipant](../types/channels.ChannelParticipant.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$channels_ChannelParticipant = $MadelineProto->channels->getParticipant(['channel' => InputChannel, 'user_id' => InputUser, ]); +$channels.ChannelParticipant = $MadelineProto->channels->getParticipant(['channel' => InputChannel, 'user_id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -channels_ChannelParticipant = channels.getParticipant({channel=InputChannel, user_id=InputUser, }) +channels.ChannelParticipant = channels.getParticipant({channel=InputChannel, user_id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v81/methods/channels.getParticipants.md b/old_docs/API_docs_v81/methods/channels.getParticipants.md index dd7e0087..c6b15b63 100644 --- a/old_docs/API_docs_v81/methods/channels.getParticipants.md +++ b/old_docs/API_docs_v81/methods/channels.getParticipants.md @@ -20,7 +20,7 @@ Get the participants of a channel |hash|Array of [int](../types/int.md) | IDs of previously fetched participants | Optional| -### Return type: [channels\_ChannelParticipants](../types/channels_ChannelParticipants.md) +### Return type: [channels.ChannelParticipants](../types/channels.ChannelParticipants.md) ### Can bots use this method: **YES** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$channels_ChannelParticipants = $MadelineProto->channels->getParticipants(['channel' => InputChannel, 'filter' => ChannelParticipantsFilter, 'offset' => int, 'limit' => int, 'hash' => [int, int], ]); +$channels.ChannelParticipants = $MadelineProto->channels->getParticipants(['channel' => InputChannel, 'filter' => ChannelParticipantsFilter, 'offset' => int, 'limit' => int, 'hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -channels_ChannelParticipants = channels.getParticipants({channel=InputChannel, filter=ChannelParticipantsFilter, offset=int, limit=int, hash={int}, }) +channels.ChannelParticipants = channels.getParticipants({channel=InputChannel, filter=ChannelParticipantsFilter, offset=int, limit=int, hash={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v81/methods/contacts.deleteContact.md b/old_docs/API_docs_v81/methods/contacts.deleteContact.md index a9321d64..9169e1e0 100644 --- a/old_docs/API_docs_v81/methods/contacts.deleteContact.md +++ b/old_docs/API_docs_v81/methods/contacts.deleteContact.md @@ -16,7 +16,7 @@ Delete a contact |id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | The contact to delete | Optional| -### Return type: [contacts\_Link](../types/contacts_Link.md) +### Return type: [contacts.Link](../types/contacts.Link.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Link = $MadelineProto->contacts->deleteContact(['id' => InputUser, ]); +$contacts.Link = $MadelineProto->contacts->deleteContact(['id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -contacts_Link = contacts.deleteContact({id=InputUser, }) +contacts.Link = contacts.deleteContact({id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v81/methods/contacts.getBlocked.md b/old_docs/API_docs_v81/methods/contacts.getBlocked.md index 92f2f331..6ac1c343 100644 --- a/old_docs/API_docs_v81/methods/contacts.getBlocked.md +++ b/old_docs/API_docs_v81/methods/contacts.getBlocked.md @@ -17,7 +17,7 @@ Returns the list of blocked users. |limit|[int](../types/int.md) | The number of list elements to be returned | Yes| -### Return type: [contacts\_Blocked](../types/contacts_Blocked.md) +### Return type: [contacts.Blocked](../types/contacts.Blocked.md) ### Can bots use this method: **NO** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Blocked = $MadelineProto->contacts->getBlocked(['offset' => int, 'limit' => int, ]); +$contacts.Blocked = $MadelineProto->contacts->getBlocked(['offset' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -contacts_Blocked = contacts.getBlocked({offset=int, limit=int, }) +contacts.Blocked = contacts.getBlocked({offset=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v81/methods/contacts.getContacts.md b/old_docs/API_docs_v81/methods/contacts.getContacts.md index c67e6240..609549b0 100644 --- a/old_docs/API_docs_v81/methods/contacts.getContacts.md +++ b/old_docs/API_docs_v81/methods/contacts.getContacts.md @@ -16,7 +16,7 @@ Returns the current user's contact list. |hash|Array of [int](../types/int.md) | User IDs of previously cached contacts | Optional| -### Return type: [contacts\_Contacts](../types/contacts_Contacts.md) +### Return type: [contacts.Contacts](../types/contacts.Contacts.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Contacts = $MadelineProto->contacts->getContacts(['hash' => [int, int], ]); +$contacts.Contacts = $MadelineProto->contacts->getContacts(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -contacts_Contacts = contacts.getContacts({hash={int}, }) +contacts.Contacts = contacts.getContacts({hash={int}, }) ``` diff --git a/old_docs/API_docs_v81/methods/contacts.getTopPeers.md b/old_docs/API_docs_v81/methods/contacts.getTopPeers.md index 0acf7155..870de6b3 100644 --- a/old_docs/API_docs_v81/methods/contacts.getTopPeers.md +++ b/old_docs/API_docs_v81/methods/contacts.getTopPeers.md @@ -24,7 +24,7 @@ Get most used peers |hash|Array of [int](../types/int.md) | Peer IDs of previously cached peers | Optional| -### Return type: [contacts\_TopPeers](../types/contacts_TopPeers.md) +### Return type: [contacts.TopPeers](../types/contacts.TopPeers.md) ### Can bots use this method: **NO** @@ -41,13 +41,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_TopPeers = $MadelineProto->contacts->getTopPeers(['correspondents' => Bool, 'bots_pm' => Bool, 'bots_inline' => Bool, 'phone_calls' => Bool, 'groups' => Bool, 'channels' => Bool, 'offset' => int, 'limit' => int, 'hash' => [int, int], ]); +$contacts.TopPeers = $MadelineProto->contacts->getTopPeers(['correspondents' => Bool, 'bots_pm' => Bool, 'bots_inline' => Bool, 'phone_calls' => Bool, 'groups' => Bool, 'channels' => Bool, 'offset' => int, 'limit' => int, 'hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -contacts_TopPeers = contacts.getTopPeers({correspondents=Bool, bots_pm=Bool, bots_inline=Bool, phone_calls=Bool, groups=Bool, channels=Bool, offset=int, limit=int, hash={int}, }) +contacts.TopPeers = contacts.getTopPeers({correspondents=Bool, bots_pm=Bool, bots_inline=Bool, phone_calls=Bool, groups=Bool, channels=Bool, offset=int, limit=int, hash={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v81/methods/contacts.importContacts.md b/old_docs/API_docs_v81/methods/contacts.importContacts.md index 7c795780..dbb9b7fa 100644 --- a/old_docs/API_docs_v81/methods/contacts.importContacts.md +++ b/old_docs/API_docs_v81/methods/contacts.importContacts.md @@ -16,7 +16,7 @@ Imports contacts: saves a full list on the server, adds already registered conta |contacts|Array of [InputContact](../types/InputContact.md) | The numbers to import | Yes| -### Return type: [contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) +### Return type: [contacts.ImportedContacts](../types/contacts.ImportedContacts.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_ImportedContacts = $MadelineProto->contacts->importContacts(['contacts' => [InputContact, InputContact], ]); +$contacts.ImportedContacts = $MadelineProto->contacts->importContacts(['contacts' => [InputContact, InputContact], ]); ``` Or, if you're into Lua: ```lua -contacts_ImportedContacts = contacts.importContacts({contacts={InputContact}, }) +contacts.ImportedContacts = contacts.importContacts({contacts={InputContact}, }) ``` diff --git a/old_docs/API_docs_v81/methods/contacts.resolveUsername.md b/old_docs/API_docs_v81/methods/contacts.resolveUsername.md index 05e3d854..46f1eb50 100644 --- a/old_docs/API_docs_v81/methods/contacts.resolveUsername.md +++ b/old_docs/API_docs_v81/methods/contacts.resolveUsername.md @@ -16,7 +16,7 @@ You cannot use this method directly, use the resolveUsername, getPwrChat, getInf |username|[string](../types/string.md) | You cannot use this method directly, use the resolveUsername, getPwrChat, getInfo, getFullInfo methods instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [contacts\_ResolvedPeer](../types/contacts_ResolvedPeer.md) +### Return type: [contacts.ResolvedPeer](../types/contacts.ResolvedPeer.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_ResolvedPeer = $MadelineProto->contacts->resolveUsername(['username' => 'string', ]); +$contacts.ResolvedPeer = $MadelineProto->contacts->resolveUsername(['username' => 'string', ]); ``` Or, if you're into Lua: ```lua -contacts_ResolvedPeer = contacts.resolveUsername({username='string', }) +contacts.ResolvedPeer = contacts.resolveUsername({username='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v81/methods/contacts.search.md b/old_docs/API_docs_v81/methods/contacts.search.md index 2f39d6f1..ec04c7f9 100644 --- a/old_docs/API_docs_v81/methods/contacts.search.md +++ b/old_docs/API_docs_v81/methods/contacts.search.md @@ -17,7 +17,7 @@ Returns users found by username substring. |limit|[int](../types/int.md) | Maximum number of users to be returned | Yes| -### Return type: [contacts\_Found](../types/contacts_Found.md) +### Return type: [contacts.Found](../types/contacts.Found.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Found = $MadelineProto->contacts->search(['q' => 'string', 'limit' => int, ]); +$contacts.Found = $MadelineProto->contacts->search(['q' => 'string', 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -contacts_Found = contacts.search({q='string', limit=int, }) +contacts.Found = contacts.search({q='string', limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v81/methods/help.getAppUpdate.md b/old_docs/API_docs_v81/methods/help.getAppUpdate.md index 4c58e898..b9899d71 100644 --- a/old_docs/API_docs_v81/methods/help.getAppUpdate.md +++ b/old_docs/API_docs_v81/methods/help.getAppUpdate.md @@ -11,7 +11,7 @@ Returns information on update availability for the current application. -### Return type: [help\_AppUpdate](../types/help_AppUpdate.md) +### Return type: [help.AppUpdate](../types/help.AppUpdate.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_AppUpdate = $MadelineProto->help->getAppUpdate(); +$help.AppUpdate = $MadelineProto->help->getAppUpdate(); ``` Or, if you're into Lua: ```lua -help_AppUpdate = help.getAppUpdate({}) +help.AppUpdate = help.getAppUpdate({}) ``` diff --git a/old_docs/API_docs_v81/methods/help.getDeepLinkInfo.md b/old_docs/API_docs_v81/methods/help.getDeepLinkInfo.md index e3269bbc..e6e7d6b8 100644 --- a/old_docs/API_docs_v81/methods/help.getDeepLinkInfo.md +++ b/old_docs/API_docs_v81/methods/help.getDeepLinkInfo.md @@ -16,7 +16,7 @@ Get info about a `t.me` link |path|[string](../types/string.md) | Path in `t.me/path` | Yes| -### Return type: [help\_DeepLinkInfo](../types/help_DeepLinkInfo.md) +### Return type: [help.DeepLinkInfo](../types/help.DeepLinkInfo.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_DeepLinkInfo = $MadelineProto->help->getDeepLinkInfo(['path' => 'string', ]); +$help.DeepLinkInfo = $MadelineProto->help->getDeepLinkInfo(['path' => 'string', ]); ``` Or, if you're into Lua: ```lua -help_DeepLinkInfo = help.getDeepLinkInfo({path='string', }) +help.DeepLinkInfo = help.getDeepLinkInfo({path='string', }) ``` diff --git a/old_docs/API_docs_v81/methods/help.getInviteText.md b/old_docs/API_docs_v81/methods/help.getInviteText.md index 6fd67362..0d427974 100644 --- a/old_docs/API_docs_v81/methods/help.getInviteText.md +++ b/old_docs/API_docs_v81/methods/help.getInviteText.md @@ -11,7 +11,7 @@ Returns text of a text message with an invitation. -### Return type: [help\_InviteText](../types/help_InviteText.md) +### Return type: [help.InviteText](../types/help.InviteText.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_InviteText = $MadelineProto->help->getInviteText(); +$help.InviteText = $MadelineProto->help->getInviteText(); ``` Or, if you're into Lua: ```lua -help_InviteText = help.getInviteText({}) +help.InviteText = help.getInviteText({}) ``` diff --git a/old_docs/API_docs_v81/methods/help.getProxyData.md b/old_docs/API_docs_v81/methods/help.getProxyData.md index bbaf4c53..9a0aaa9a 100644 --- a/old_docs/API_docs_v81/methods/help.getProxyData.md +++ b/old_docs/API_docs_v81/methods/help.getProxyData.md @@ -11,7 +11,7 @@ Get promotion info of the currently-used MTProxy -### Return type: [help\_ProxyData](../types/help_ProxyData.md) +### Return type: [help.ProxyData](../types/help.ProxyData.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_ProxyData = $MadelineProto->help->getProxyData(); +$help.ProxyData = $MadelineProto->help->getProxyData(); ``` Or, if you're into Lua: ```lua -help_ProxyData = help.getProxyData({}) +help.ProxyData = help.getProxyData({}) ``` diff --git a/old_docs/API_docs_v81/methods/help.getRecentMeUrls.md b/old_docs/API_docs_v81/methods/help.getRecentMeUrls.md index 38cc44c8..a5ab9e06 100644 --- a/old_docs/API_docs_v81/methods/help.getRecentMeUrls.md +++ b/old_docs/API_docs_v81/methods/help.getRecentMeUrls.md @@ -16,7 +16,7 @@ Get recently used `t.me` links |referer|[string](../types/string.md) | Referer | Yes| -### Return type: [help\_RecentMeUrls](../types/help_RecentMeUrls.md) +### Return type: [help.RecentMeUrls](../types/help.RecentMeUrls.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_RecentMeUrls = $MadelineProto->help->getRecentMeUrls(['referer' => 'string', ]); +$help.RecentMeUrls = $MadelineProto->help->getRecentMeUrls(['referer' => 'string', ]); ``` Or, if you're into Lua: ```lua -help_RecentMeUrls = help.getRecentMeUrls({referer='string', }) +help.RecentMeUrls = help.getRecentMeUrls({referer='string', }) ``` diff --git a/old_docs/API_docs_v81/methods/help.getSupport.md b/old_docs/API_docs_v81/methods/help.getSupport.md index 7a577892..8a8df916 100644 --- a/old_docs/API_docs_v81/methods/help.getSupport.md +++ b/old_docs/API_docs_v81/methods/help.getSupport.md @@ -11,7 +11,7 @@ Returns the support user for the 'ask a question' feature. -### Return type: [help\_Support](../types/help_Support.md) +### Return type: [help.Support](../types/help.Support.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_Support = $MadelineProto->help->getSupport(); +$help.Support = $MadelineProto->help->getSupport(); ``` Or, if you're into Lua: ```lua -help_Support = help.getSupport({}) +help.Support = help.getSupport({}) ``` diff --git a/old_docs/API_docs_v81/methods/help.getTermsOfServiceUpdate.md b/old_docs/API_docs_v81/methods/help.getTermsOfServiceUpdate.md index 7a8ebd65..636a054b 100644 --- a/old_docs/API_docs_v81/methods/help.getTermsOfServiceUpdate.md +++ b/old_docs/API_docs_v81/methods/help.getTermsOfServiceUpdate.md @@ -11,7 +11,7 @@ Look for updates of telegram's terms of service -### Return type: [help\_TermsOfServiceUpdate](../types/help_TermsOfServiceUpdate.md) +### Return type: [help.TermsOfServiceUpdate](../types/help.TermsOfServiceUpdate.md) ### Can bots use this method: **NO** @@ -28,13 +28,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_TermsOfServiceUpdate = $MadelineProto->help->getTermsOfServiceUpdate(); +$help.TermsOfServiceUpdate = $MadelineProto->help->getTermsOfServiceUpdate(); ``` Or, if you're into Lua: ```lua -help_TermsOfServiceUpdate = help.getTermsOfServiceUpdate({}) +help.TermsOfServiceUpdate = help.getTermsOfServiceUpdate({}) ``` ### Errors diff --git a/old_docs/API_docs_v81/methods/messages.deleteHistory.md b/old_docs/API_docs_v81/methods/messages.deleteHistory.md index 9ae1bae9..41460415 100644 --- a/old_docs/API_docs_v81/methods/messages.deleteHistory.md +++ b/old_docs/API_docs_v81/methods/messages.deleteHistory.md @@ -18,7 +18,7 @@ Deletes communication history. |max\_id|[int](../types/int.md) | Maximum ID of message to delete | Yes| -### Return type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) +### Return type: [messages.AffectedHistory](../types/messages.AffectedHistory.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedHistory = $MadelineProto->messages->deleteHistory(['just_clear' => Bool, 'peer' => InputPeer, 'max_id' => int, ]); +$messages.AffectedHistory = $MadelineProto->messages->deleteHistory(['just_clear' => Bool, 'peer' => InputPeer, 'max_id' => int, ]); ``` Or, if you're into Lua: ```lua -messages_AffectedHistory = messages.deleteHistory({just_clear=Bool, peer=InputPeer, max_id=int, }) +messages.AffectedHistory = messages.deleteHistory({just_clear=Bool, peer=InputPeer, max_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v81/methods/messages.deleteMessages.md b/old_docs/API_docs_v81/methods/messages.deleteMessages.md index ade04cae..ade96e60 100644 --- a/old_docs/API_docs_v81/methods/messages.deleteMessages.md +++ b/old_docs/API_docs_v81/methods/messages.deleteMessages.md @@ -17,7 +17,7 @@ Deletes messages by their identifiers. |id|Array of [int](../types/int.md) | IDs of messages to delete, use channels->deleteMessages for supergroups | Yes| -### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) +### Return type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedMessages = $MadelineProto->messages->deleteMessages(['revoke' => Bool, 'id' => [int, int], ]); +$messages.AffectedMessages = $MadelineProto->messages->deleteMessages(['revoke' => Bool, 'id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AffectedMessages = messages.deleteMessages({revoke=Bool, id={int}, }) +messages.AffectedMessages = messages.deleteMessages({revoke=Bool, id={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v81/methods/messages.getAllChats.md b/old_docs/API_docs_v81/methods/messages.getAllChats.md index cdcc5430..97cc4817 100644 --- a/old_docs/API_docs_v81/methods/messages.getAllChats.md +++ b/old_docs/API_docs_v81/methods/messages.getAllChats.md @@ -16,7 +16,7 @@ Get all chats, channels and supergroups |except\_ids|Array of [int](../types/int.md) | Do not fetch these chats (MTProto id) | Yes| -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->messages->getAllChats(['except_ids' => [int, int], ]); +$messages.Chats = $MadelineProto->messages->getAllChats(['except_ids' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Chats = messages.getAllChats({except_ids={int}, }) +messages.Chats = messages.getAllChats({except_ids={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v81/methods/messages.getAllStickers.md b/old_docs/API_docs_v81/methods/messages.getAllStickers.md index 329b70be..0f0de7f1 100644 --- a/old_docs/API_docs_v81/methods/messages.getAllStickers.md +++ b/old_docs/API_docs_v81/methods/messages.getAllStickers.md @@ -16,7 +16,7 @@ Get all installed stickers |hash|Array of [int](../types/int.md) | The hash parameter of the previous result of this method | Optional| -### Return type: [messages\_AllStickers](../types/messages_AllStickers.md) +### Return type: [messages.AllStickers](../types/messages.AllStickers.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AllStickers = $MadelineProto->messages->getAllStickers(['hash' => [int, int], ]); +$messages.AllStickers = $MadelineProto->messages->getAllStickers(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AllStickers = messages.getAllStickers({hash={int}, }) +messages.AllStickers = messages.getAllStickers({hash={int}, }) ``` diff --git a/old_docs/API_docs_v81/methods/messages.getArchivedStickers.md b/old_docs/API_docs_v81/methods/messages.getArchivedStickers.md index d3abe9fc..c108376e 100644 --- a/old_docs/API_docs_v81/methods/messages.getArchivedStickers.md +++ b/old_docs/API_docs_v81/methods/messages.getArchivedStickers.md @@ -18,7 +18,7 @@ Get all archived stickers |limit|[int](../types/int.md) | Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_ArchivedStickers](../types/messages_ArchivedStickers.md) +### Return type: [messages.ArchivedStickers](../types/messages.ArchivedStickers.md) ### Can bots use this method: **NO** @@ -35,12 +35,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_ArchivedStickers = $MadelineProto->messages->getArchivedStickers(['masks' => Bool, 'offset_id' => long, 'limit' => int, ]); +$messages.ArchivedStickers = $MadelineProto->messages->getArchivedStickers(['masks' => Bool, 'offset_id' => long, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -messages_ArchivedStickers = messages.getArchivedStickers({masks=Bool, offset_id=long, limit=int, }) +messages.ArchivedStickers = messages.getArchivedStickers({masks=Bool, offset_id=long, limit=int, }) ``` diff --git a/old_docs/API_docs_v81/methods/messages.getBotCallbackAnswer.md b/old_docs/API_docs_v81/methods/messages.getBotCallbackAnswer.md index 015fc46b..10072386 100644 --- a/old_docs/API_docs_v81/methods/messages.getBotCallbackAnswer.md +++ b/old_docs/API_docs_v81/methods/messages.getBotCallbackAnswer.md @@ -19,7 +19,7 @@ Press an inline callback button and get a callback answer from the bot |data|[bytes](../types/bytes.md) | Callback data | Optional| -### Return type: [messages\_BotCallbackAnswer](../types/messages_BotCallbackAnswer.md) +### Return type: [messages.BotCallbackAnswer](../types/messages.BotCallbackAnswer.md) ### Can bots use this method: **NO** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_BotCallbackAnswer = $MadelineProto->messages->getBotCallbackAnswer(['game' => Bool, 'peer' => InputPeer, 'msg_id' => int, 'data' => 'bytes', ]); +$messages.BotCallbackAnswer = $MadelineProto->messages->getBotCallbackAnswer(['game' => Bool, 'peer' => InputPeer, 'msg_id' => int, 'data' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -messages_BotCallbackAnswer = messages.getBotCallbackAnswer({game=Bool, peer=InputPeer, msg_id=int, data='bytes', }) +messages.BotCallbackAnswer = messages.getBotCallbackAnswer({game=Bool, peer=InputPeer, msg_id=int, data='bytes', }) ``` ### Errors diff --git a/old_docs/API_docs_v81/methods/messages.getChats.md b/old_docs/API_docs_v81/methods/messages.getChats.md index c34b0488..146341f5 100644 --- a/old_docs/API_docs_v81/methods/messages.getChats.md +++ b/old_docs/API_docs_v81/methods/messages.getChats.md @@ -16,7 +16,7 @@ Returns chat basic info on their IDs. |id|Array of [int](../types/int.md) | The MTProto IDs of chats to fetch info about | Yes| -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->messages->getChats(['id' => [int, int], ]); +$messages.Chats = $MadelineProto->messages->getChats(['id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Chats = messages.getChats({id={int}, }) +messages.Chats = messages.getChats({id={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v81/methods/messages.getCommonChats.md b/old_docs/API_docs_v81/methods/messages.getCommonChats.md index fc7b2363..56a3ec01 100644 --- a/old_docs/API_docs_v81/methods/messages.getCommonChats.md +++ b/old_docs/API_docs_v81/methods/messages.getCommonChats.md @@ -18,7 +18,7 @@ Get chats in common with a user |limit|[int](../types/int.md) | Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->messages->getCommonChats(['user_id' => InputUser, 'max_id' => int, 'limit' => int, ]); +$messages.Chats = $MadelineProto->messages->getCommonChats(['user_id' => InputUser, 'max_id' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Chats = messages.getCommonChats({user_id=InputUser, max_id=int, limit=int, }) +messages.Chats = messages.getCommonChats({user_id=InputUser, max_id=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v81/methods/messages.getDhConfig.md b/old_docs/API_docs_v81/methods/messages.getDhConfig.md index 88ea4ab3..7b9da566 100644 --- a/old_docs/API_docs_v81/methods/messages.getDhConfig.md +++ b/old_docs/API_docs_v81/methods/messages.getDhConfig.md @@ -17,7 +17,7 @@ You cannot use this method directly, instead use $MadelineProto->getDhConfig(); |random\_length|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->getDhConfig(); | Yes| -### Return type: [messages\_DhConfig](../types/messages_DhConfig.md) +### Return type: [messages.DhConfig](../types/messages.DhConfig.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_DhConfig = $MadelineProto->messages->getDhConfig(['version' => int, 'random_length' => int, ]); +$messages.DhConfig = $MadelineProto->messages->getDhConfig(['version' => int, 'random_length' => int, ]); ``` Or, if you're into Lua: ```lua -messages_DhConfig = messages.getDhConfig({version=int, random_length=int, }) +messages.DhConfig = messages.getDhConfig({version=int, random_length=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v81/methods/messages.getDialogs.md b/old_docs/API_docs_v81/methods/messages.getDialogs.md index 9f3fd365..44b8efc8 100644 --- a/old_docs/API_docs_v81/methods/messages.getDialogs.md +++ b/old_docs/API_docs_v81/methods/messages.getDialogs.md @@ -20,7 +20,7 @@ Returns the current user dialog list. |limit|[int](../types/int.md) | Number of list elements to be returned | Yes| -### Return type: [messages\_Dialogs](../types/messages_Dialogs.md) +### Return type: [messages.Dialogs](../types/messages.Dialogs.md) ### Can bots use this method: **NO** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Dialogs = $MadelineProto->messages->getDialogs(['exclude_pinned' => Bool, 'offset_date' => int, 'offset_id' => int, 'offset_peer' => InputPeer, 'limit' => int, ]); +$messages.Dialogs = $MadelineProto->messages->getDialogs(['exclude_pinned' => Bool, 'offset_date' => int, 'offset_id' => int, 'offset_peer' => InputPeer, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Dialogs = messages.getDialogs({exclude_pinned=Bool, offset_date=int, offset_id=int, offset_peer=InputPeer, limit=int, }) +messages.Dialogs = messages.getDialogs({exclude_pinned=Bool, offset_date=int, offset_id=int, offset_peer=InputPeer, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v81/methods/messages.getFavedStickers.md b/old_docs/API_docs_v81/methods/messages.getFavedStickers.md index 3ba077ef..19f64e43 100644 --- a/old_docs/API_docs_v81/methods/messages.getFavedStickers.md +++ b/old_docs/API_docs_v81/methods/messages.getFavedStickers.md @@ -16,7 +16,7 @@ Get faved stickers |hash|Array of [int](../types/int.md) | the hash parameter of the previous result of this method | Optional| -### Return type: [messages\_FavedStickers](../types/messages_FavedStickers.md) +### Return type: [messages.FavedStickers](../types/messages.FavedStickers.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_FavedStickers = $MadelineProto->messages->getFavedStickers(['hash' => [int, int], ]); +$messages.FavedStickers = $MadelineProto->messages->getFavedStickers(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_FavedStickers = messages.getFavedStickers({hash={int}, }) +messages.FavedStickers = messages.getFavedStickers({hash={int}, }) ``` diff --git a/old_docs/API_docs_v81/methods/messages.getFeaturedStickers.md b/old_docs/API_docs_v81/methods/messages.getFeaturedStickers.md index 8f2634c3..2d65d626 100644 --- a/old_docs/API_docs_v81/methods/messages.getFeaturedStickers.md +++ b/old_docs/API_docs_v81/methods/messages.getFeaturedStickers.md @@ -16,7 +16,7 @@ Get featured stickers |hash|Array of [int](../types/int.md) | the hash parameter of the previous result of this method | Optional| -### Return type: [messages\_FeaturedStickers](../types/messages_FeaturedStickers.md) +### Return type: [messages.FeaturedStickers](../types/messages.FeaturedStickers.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_FeaturedStickers = $MadelineProto->messages->getFeaturedStickers(['hash' => [int, int], ]); +$messages.FeaturedStickers = $MadelineProto->messages->getFeaturedStickers(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_FeaturedStickers = messages.getFeaturedStickers({hash={int}, }) +messages.FeaturedStickers = messages.getFeaturedStickers({hash={int}, }) ``` diff --git a/old_docs/API_docs_v81/methods/messages.getFullChat.md b/old_docs/API_docs_v81/methods/messages.getFullChat.md index abf23e21..de543651 100644 --- a/old_docs/API_docs_v81/methods/messages.getFullChat.md +++ b/old_docs/API_docs_v81/methods/messages.getFullChat.md @@ -16,7 +16,7 @@ You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo me |chat\_id|[Username, chat ID, Update, Message or InputPeer](../types/InputPeer.md) | You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo methods instead (see https://docs.madelineproto.xyz for more info) | Optional| -### Return type: [messages\_ChatFull](../types/messages_ChatFull.md) +### Return type: [messages.ChatFull](../types/messages.ChatFull.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_ChatFull = $MadelineProto->messages->getFullChat(['chat_id' => InputPeer, ]); +$messages.ChatFull = $MadelineProto->messages->getFullChat(['chat_id' => InputPeer, ]); ``` Or, if you're into Lua: ```lua -messages_ChatFull = messages.getFullChat({chat_id=InputPeer, }) +messages.ChatFull = messages.getFullChat({chat_id=InputPeer, }) ``` ### Errors diff --git a/old_docs/API_docs_v81/methods/messages.getGameHighScores.md b/old_docs/API_docs_v81/methods/messages.getGameHighScores.md index 0ee9d754..6e4dacb2 100644 --- a/old_docs/API_docs_v81/methods/messages.getGameHighScores.md +++ b/old_docs/API_docs_v81/methods/messages.getGameHighScores.md @@ -18,7 +18,7 @@ Get highscores of a game |user\_id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | Get high scores made by a certain user | Optional| -### Return type: [messages\_HighScores](../types/messages_HighScores.md) +### Return type: [messages.HighScores](../types/messages.HighScores.md) ### Can bots use this method: **YES** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_HighScores = $MadelineProto->messages->getGameHighScores(['peer' => InputPeer, 'id' => int, 'user_id' => InputUser, ]); +$messages.HighScores = $MadelineProto->messages->getGameHighScores(['peer' => InputPeer, 'id' => int, 'user_id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -messages_HighScores = messages.getGameHighScores({peer=InputPeer, id=int, user_id=InputUser, }) +messages.HighScores = messages.getGameHighScores({peer=InputPeer, id=int, user_id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v81/methods/messages.getHistory.md b/old_docs/API_docs_v81/methods/messages.getHistory.md index 9a3d5f8c..c7bd9850 100644 --- a/old_docs/API_docs_v81/methods/messages.getHistory.md +++ b/old_docs/API_docs_v81/methods/messages.getHistory.md @@ -23,7 +23,7 @@ Gets back the conversation history with one interlocutor / within a chat |hash|Array of [int](../types/int.md) | IDs of messages you already fetched | Optional| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **NO** @@ -40,13 +40,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->getHistory(['peer' => InputPeer, 'offset_id' => int, 'offset_date' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, 'hash' => [int, int], ]); +$messages.Messages = $MadelineProto->messages->getHistory(['peer' => InputPeer, 'offset_id' => int, 'offset_date' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, 'hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.getHistory({peer=InputPeer, offset_id=int, offset_date=int, add_offset=int, limit=int, max_id=int, min_id=int, hash={int}, }) +messages.Messages = messages.getHistory({peer=InputPeer, offset_id=int, offset_date=int, add_offset=int, limit=int, max_id=int, min_id=int, hash={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v81/methods/messages.getInlineBotResults.md b/old_docs/API_docs_v81/methods/messages.getInlineBotResults.md index ac251797..8a397236 100644 --- a/old_docs/API_docs_v81/methods/messages.getInlineBotResults.md +++ b/old_docs/API_docs_v81/methods/messages.getInlineBotResults.md @@ -20,7 +20,7 @@ Query an inline bot |offset|[string](../types/string.md) | The offset within the results, will be passed directly as-is to the bot. | Yes| -### Return type: [messages\_BotResults](../types/messages_BotResults.md) +### Return type: [messages.BotResults](../types/messages.BotResults.md) ### Can bots use this method: **NO** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_BotResults = $MadelineProto->messages->getInlineBotResults(['bot' => InputUser, 'peer' => InputPeer, 'geo_point' => InputGeoPoint, 'query' => 'string', 'offset' => 'string', ]); +$messages.BotResults = $MadelineProto->messages->getInlineBotResults(['bot' => InputUser, 'peer' => InputPeer, 'geo_point' => InputGeoPoint, 'query' => 'string', 'offset' => 'string', ]); ``` Or, if you're into Lua: ```lua -messages_BotResults = messages.getInlineBotResults({bot=InputUser, peer=InputPeer, geo_point=InputGeoPoint, query='string', offset='string', }) +messages.BotResults = messages.getInlineBotResults({bot=InputUser, peer=InputPeer, geo_point=InputGeoPoint, query='string', offset='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v81/methods/messages.getInlineGameHighScores.md b/old_docs/API_docs_v81/methods/messages.getInlineGameHighScores.md index 0d02b426..dbcb2cf6 100644 --- a/old_docs/API_docs_v81/methods/messages.getInlineGameHighScores.md +++ b/old_docs/API_docs_v81/methods/messages.getInlineGameHighScores.md @@ -17,7 +17,7 @@ Get highscores of a game sent using an inline bot |user\_id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | Get high scores of a certain user | Optional| -### Return type: [messages\_HighScores](../types/messages_HighScores.md) +### Return type: [messages.HighScores](../types/messages.HighScores.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_HighScores = $MadelineProto->messages->getInlineGameHighScores(['id' => InputBotInlineMessageID, 'user_id' => InputUser, ]); +$messages.HighScores = $MadelineProto->messages->getInlineGameHighScores(['id' => InputBotInlineMessageID, 'user_id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -messages_HighScores = messages.getInlineGameHighScores({id=InputBotInlineMessageID, user_id=InputUser, }) +messages.HighScores = messages.getInlineGameHighScores({id=InputBotInlineMessageID, user_id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v81/methods/messages.getMaskStickers.md b/old_docs/API_docs_v81/methods/messages.getMaskStickers.md index a09834e1..093645f6 100644 --- a/old_docs/API_docs_v81/methods/messages.getMaskStickers.md +++ b/old_docs/API_docs_v81/methods/messages.getMaskStickers.md @@ -16,7 +16,7 @@ Get installed mask stickers |hash|Array of [int](../types/int.md) | the hash parameter of the previous result of this method | Optional| -### Return type: [messages\_AllStickers](../types/messages_AllStickers.md) +### Return type: [messages.AllStickers](../types/messages.AllStickers.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AllStickers = $MadelineProto->messages->getMaskStickers(['hash' => [int, int], ]); +$messages.AllStickers = $MadelineProto->messages->getMaskStickers(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AllStickers = messages.getMaskStickers({hash={int}, }) +messages.AllStickers = messages.getMaskStickers({hash={int}, }) ``` diff --git a/old_docs/API_docs_v81/methods/messages.getMessageEditData.md b/old_docs/API_docs_v81/methods/messages.getMessageEditData.md index 1a083f08..7fd32e82 100644 --- a/old_docs/API_docs_v81/methods/messages.getMessageEditData.md +++ b/old_docs/API_docs_v81/methods/messages.getMessageEditData.md @@ -17,7 +17,7 @@ Find out if a media message's caption can be edited |id|[int](../types/int.md) | ID of message | Yes| -### Return type: [messages\_MessageEditData](../types/messages_MessageEditData.md) +### Return type: [messages.MessageEditData](../types/messages.MessageEditData.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_MessageEditData = $MadelineProto->messages->getMessageEditData(['peer' => InputPeer, 'id' => int, ]); +$messages.MessageEditData = $MadelineProto->messages->getMessageEditData(['peer' => InputPeer, 'id' => int, ]); ``` Or, if you're into Lua: ```lua -messages_MessageEditData = messages.getMessageEditData({peer=InputPeer, id=int, }) +messages.MessageEditData = messages.getMessageEditData({peer=InputPeer, id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v81/methods/messages.getMessages.md b/old_docs/API_docs_v81/methods/messages.getMessages.md index eb5ef6a6..0aed788d 100644 --- a/old_docs/API_docs_v81/methods/messages.getMessages.md +++ b/old_docs/API_docs_v81/methods/messages.getMessages.md @@ -16,7 +16,7 @@ Returns the list of messages by their IDs. |id|Array of [Message ID or InputMessage](../types/InputMessage.md) | The IDs of messages to fetch (only for users and normal groups) | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **YES** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->getMessages(['id' => [InputMessage, InputMessage], ]); +$messages.Messages = $MadelineProto->messages->getMessages(['id' => [InputMessage, InputMessage], ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.getMessages({id={InputMessage}, }) +messages.Messages = messages.getMessages({id={InputMessage}, }) ``` diff --git a/old_docs/API_docs_v81/methods/messages.getPeerDialogs.md b/old_docs/API_docs_v81/methods/messages.getPeerDialogs.md index 2ab5d661..1ec67e6a 100644 --- a/old_docs/API_docs_v81/methods/messages.getPeerDialogs.md +++ b/old_docs/API_docs_v81/methods/messages.getPeerDialogs.md @@ -16,7 +16,7 @@ Get dialog info of specified peers |peers|Array of [Username, chat ID, Update, Message or InputDialogPeer](../types/InputDialogPeer.md) | The peers | Yes| -### Return type: [messages\_PeerDialogs](../types/messages_PeerDialogs.md) +### Return type: [messages.PeerDialogs](../types/messages.PeerDialogs.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_PeerDialogs = $MadelineProto->messages->getPeerDialogs(['peers' => [InputDialogPeer, InputDialogPeer], ]); +$messages.PeerDialogs = $MadelineProto->messages->getPeerDialogs(['peers' => [InputDialogPeer, InputDialogPeer], ]); ``` Or, if you're into Lua: ```lua -messages_PeerDialogs = messages.getPeerDialogs({peers={InputDialogPeer}, }) +messages.PeerDialogs = messages.getPeerDialogs({peers={InputDialogPeer}, }) ``` ### Errors diff --git a/old_docs/API_docs_v81/methods/messages.getPinnedDialogs.md b/old_docs/API_docs_v81/methods/messages.getPinnedDialogs.md index f106098d..161075f2 100644 --- a/old_docs/API_docs_v81/methods/messages.getPinnedDialogs.md +++ b/old_docs/API_docs_v81/methods/messages.getPinnedDialogs.md @@ -11,7 +11,7 @@ Get pinned dialogs -### Return type: [messages\_PeerDialogs](../types/messages_PeerDialogs.md) +### Return type: [messages.PeerDialogs](../types/messages.PeerDialogs.md) ### Can bots use this method: **NO** @@ -28,13 +28,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_PeerDialogs = $MadelineProto->messages->getPinnedDialogs(); +$messages.PeerDialogs = $MadelineProto->messages->getPinnedDialogs(); ``` Or, if you're into Lua: ```lua -messages_PeerDialogs = messages.getPinnedDialogs({}) +messages.PeerDialogs = messages.getPinnedDialogs({}) ``` ### Errors diff --git a/old_docs/API_docs_v81/methods/messages.getRecentLocations.md b/old_docs/API_docs_v81/methods/messages.getRecentLocations.md index 40ec1285..4efeb49c 100644 --- a/old_docs/API_docs_v81/methods/messages.getRecentLocations.md +++ b/old_docs/API_docs_v81/methods/messages.getRecentLocations.md @@ -18,7 +18,7 @@ Get live location history of a certain user |hash|Array of [int](../types/int.md) | IDs of locations you already fetched | Optional| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **NO** @@ -35,12 +35,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->getRecentLocations(['peer' => InputPeer, 'limit' => int, 'hash' => [int, int], ]); +$messages.Messages = $MadelineProto->messages->getRecentLocations(['peer' => InputPeer, 'limit' => int, 'hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.getRecentLocations({peer=InputPeer, limit=int, hash={int}, }) +messages.Messages = messages.getRecentLocations({peer=InputPeer, limit=int, hash={int}, }) ``` diff --git a/old_docs/API_docs_v81/methods/messages.getRecentStickers.md b/old_docs/API_docs_v81/methods/messages.getRecentStickers.md index 28a70889..39cef16a 100644 --- a/old_docs/API_docs_v81/methods/messages.getRecentStickers.md +++ b/old_docs/API_docs_v81/methods/messages.getRecentStickers.md @@ -17,7 +17,7 @@ Get recent stickers |hash|Array of [int](../types/int.md) | IDs the hash parameter of the previous result of this method | Optional| -### Return type: [messages\_RecentStickers](../types/messages_RecentStickers.md) +### Return type: [messages.RecentStickers](../types/messages.RecentStickers.md) ### Can bots use this method: **NO** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_RecentStickers = $MadelineProto->messages->getRecentStickers(['attached' => Bool, 'hash' => [int, int], ]); +$messages.RecentStickers = $MadelineProto->messages->getRecentStickers(['attached' => Bool, 'hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_RecentStickers = messages.getRecentStickers({attached=Bool, hash={int}, }) +messages.RecentStickers = messages.getRecentStickers({attached=Bool, hash={int}, }) ``` diff --git a/old_docs/API_docs_v81/methods/messages.getSavedGifs.md b/old_docs/API_docs_v81/methods/messages.getSavedGifs.md index 1df7f37c..8b31f7b8 100644 --- a/old_docs/API_docs_v81/methods/messages.getSavedGifs.md +++ b/old_docs/API_docs_v81/methods/messages.getSavedGifs.md @@ -16,7 +16,7 @@ Get saved GIFs |hash|Array of [int](../types/int.md) | the hash parameter of the previous result of this method | Optional| -### Return type: [messages\_SavedGifs](../types/messages_SavedGifs.md) +### Return type: [messages.SavedGifs](../types/messages.SavedGifs.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_SavedGifs = $MadelineProto->messages->getSavedGifs(['hash' => [int, int], ]); +$messages.SavedGifs = $MadelineProto->messages->getSavedGifs(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_SavedGifs = messages.getSavedGifs({hash={int}, }) +messages.SavedGifs = messages.getSavedGifs({hash={int}, }) ``` diff --git a/old_docs/API_docs_v81/methods/messages.getStickerSet.md b/old_docs/API_docs_v81/methods/messages.getStickerSet.md index 45fca60f..f11887ee 100644 --- a/old_docs/API_docs_v81/methods/messages.getStickerSet.md +++ b/old_docs/API_docs_v81/methods/messages.getStickerSet.md @@ -16,7 +16,7 @@ Get info about a stickerset |stickerset|[InputStickerSet](../types/InputStickerSet.md) | Stickerset | Optional| -### Return type: [messages\_StickerSet](../types/messages_StickerSet.md) +### Return type: [messages.StickerSet](../types/messages.StickerSet.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StickerSet = $MadelineProto->messages->getStickerSet(['stickerset' => InputStickerSet, ]); +$messages.StickerSet = $MadelineProto->messages->getStickerSet(['stickerset' => InputStickerSet, ]); ``` Or, if you're into Lua: ```lua -messages_StickerSet = messages.getStickerSet({stickerset=InputStickerSet, }) +messages.StickerSet = messages.getStickerSet({stickerset=InputStickerSet, }) ``` ### Errors diff --git a/old_docs/API_docs_v81/methods/messages.getStickers.md b/old_docs/API_docs_v81/methods/messages.getStickers.md index 4f8b7598..ff99fbd2 100644 --- a/old_docs/API_docs_v81/methods/messages.getStickers.md +++ b/old_docs/API_docs_v81/methods/messages.getStickers.md @@ -17,7 +17,7 @@ Get stickers by emoji |hash|Array of [int](../types/int.md) | the hash parameter of the previous result of this method | Optional| -### Return type: [messages\_Stickers](../types/messages_Stickers.md) +### Return type: [messages.Stickers](../types/messages.Stickers.md) ### Can bots use this method: **NO** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Stickers = $MadelineProto->messages->getStickers(['emoticon' => 'string', 'hash' => [int, int], ]); +$messages.Stickers = $MadelineProto->messages->getStickers(['emoticon' => 'string', 'hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Stickers = messages.getStickers({emoticon='string', hash={int}, }) +messages.Stickers = messages.getStickers({emoticon='string', hash={int}, }) ``` diff --git a/old_docs/API_docs_v81/methods/messages.getUnreadMentions.md b/old_docs/API_docs_v81/methods/messages.getUnreadMentions.md index 33bba261..679ed841 100644 --- a/old_docs/API_docs_v81/methods/messages.getUnreadMentions.md +++ b/old_docs/API_docs_v81/methods/messages.getUnreadMentions.md @@ -21,7 +21,7 @@ Get unread messages where we were mentioned |min\_id|[int](../types/int.md) | Minimum message ID to return, [see pagination](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **NO** @@ -38,13 +38,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->getUnreadMentions(['peer' => InputPeer, 'offset_id' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); +$messages.Messages = $MadelineProto->messages->getUnreadMentions(['peer' => InputPeer, 'offset_id' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.getUnreadMentions({peer=InputPeer, offset_id=int, add_offset=int, limit=int, max_id=int, min_id=int, }) +messages.Messages = messages.getUnreadMentions({peer=InputPeer, offset_id=int, add_offset=int, limit=int, max_id=int, min_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v81/methods/messages.installStickerSet.md b/old_docs/API_docs_v81/methods/messages.installStickerSet.md index 1a95ca0b..83ce2121 100644 --- a/old_docs/API_docs_v81/methods/messages.installStickerSet.md +++ b/old_docs/API_docs_v81/methods/messages.installStickerSet.md @@ -17,7 +17,7 @@ Install a stickerset |archived|[Bool](../types/Bool.md) | Whether to archive stickerset | Yes| -### Return type: [messages\_StickerSetInstallResult](../types/messages_StickerSetInstallResult.md) +### Return type: [messages.StickerSetInstallResult](../types/messages.StickerSetInstallResult.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StickerSetInstallResult = $MadelineProto->messages->installStickerSet(['stickerset' => InputStickerSet, 'archived' => Bool, ]); +$messages.StickerSetInstallResult = $MadelineProto->messages->installStickerSet(['stickerset' => InputStickerSet, 'archived' => Bool, ]); ``` Or, if you're into Lua: ```lua -messages_StickerSetInstallResult = messages.installStickerSet({stickerset=InputStickerSet, archived=Bool, }) +messages.StickerSetInstallResult = messages.installStickerSet({stickerset=InputStickerSet, archived=Bool, }) ``` ### Errors diff --git a/old_docs/API_docs_v81/methods/messages.readHistory.md b/old_docs/API_docs_v81/methods/messages.readHistory.md index 39753375..52030c68 100644 --- a/old_docs/API_docs_v81/methods/messages.readHistory.md +++ b/old_docs/API_docs_v81/methods/messages.readHistory.md @@ -17,7 +17,7 @@ Marks message history as read. |max\_id|[int](../types/int.md) | If a positive value is passed, only messages with identifiers less or equal than the given one will be read | Yes| -### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) +### Return type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedMessages = $MadelineProto->messages->readHistory(['peer' => InputPeer, 'max_id' => int, ]); +$messages.AffectedMessages = $MadelineProto->messages->readHistory(['peer' => InputPeer, 'max_id' => int, ]); ``` Or, if you're into Lua: ```lua -messages_AffectedMessages = messages.readHistory({peer=InputPeer, max_id=int, }) +messages.AffectedMessages = messages.readHistory({peer=InputPeer, max_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v81/methods/messages.readMentions.md b/old_docs/API_docs_v81/methods/messages.readMentions.md index 9b73851d..c8c94f00 100644 --- a/old_docs/API_docs_v81/methods/messages.readMentions.md +++ b/old_docs/API_docs_v81/methods/messages.readMentions.md @@ -16,7 +16,7 @@ Mark mentions as read |peer|[Username, chat ID, Update, Message or InputPeer](../types/InputPeer.md) | Dialog | Optional| -### Return type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) +### Return type: [messages.AffectedHistory](../types/messages.AffectedHistory.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedHistory = $MadelineProto->messages->readMentions(['peer' => InputPeer, ]); +$messages.AffectedHistory = $MadelineProto->messages->readMentions(['peer' => InputPeer, ]); ``` Or, if you're into Lua: ```lua -messages_AffectedHistory = messages.readMentions({peer=InputPeer, }) +messages.AffectedHistory = messages.readMentions({peer=InputPeer, }) ``` diff --git a/old_docs/API_docs_v81/methods/messages.readMessageContents.md b/old_docs/API_docs_v81/methods/messages.readMessageContents.md index c479cafe..9798e661 100644 --- a/old_docs/API_docs_v81/methods/messages.readMessageContents.md +++ b/old_docs/API_docs_v81/methods/messages.readMessageContents.md @@ -16,7 +16,7 @@ Notifies the sender about the recipient having listened a voice message or watch |id|Array of [int](../types/int.md) | The messages to mark as read (only users and normal chats, not supergroups) | Yes| -### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) +### Return type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedMessages = $MadelineProto->messages->readMessageContents(['id' => [int, int], ]); +$messages.AffectedMessages = $MadelineProto->messages->readMessageContents(['id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AffectedMessages = messages.readMessageContents({id={int}, }) +messages.AffectedMessages = messages.readMessageContents({id={int}, }) ``` diff --git a/old_docs/API_docs_v81/methods/messages.search.md b/old_docs/API_docs_v81/methods/messages.search.md index 75c21af0..b8125fb6 100644 --- a/old_docs/API_docs_v81/methods/messages.search.md +++ b/old_docs/API_docs_v81/methods/messages.search.md @@ -27,7 +27,7 @@ Gets back found messages |hash|Array of [int](../types/int.md) | The IDs of messages you already fetched | Optional| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **NO** @@ -44,13 +44,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->search(['peer' => InputPeer, 'q' => 'string', 'from_id' => InputUser, 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset_id' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, 'hash' => [int, int], ]); +$messages.Messages = $MadelineProto->messages->search(['peer' => InputPeer, 'q' => 'string', 'from_id' => InputUser, 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset_id' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, 'hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.search({peer=InputPeer, q='string', from_id=InputUser, filter=MessagesFilter, min_date=int, max_date=int, offset_id=int, add_offset=int, limit=int, max_id=int, min_id=int, hash={int}, }) +messages.Messages = messages.search({peer=InputPeer, q='string', from_id=InputUser, filter=MessagesFilter, min_date=int, max_date=int, offset_id=int, add_offset=int, limit=int, max_id=int, min_id=int, hash={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v81/methods/messages.searchGifs.md b/old_docs/API_docs_v81/methods/messages.searchGifs.md index 851371d7..193a0cd4 100644 --- a/old_docs/API_docs_v81/methods/messages.searchGifs.md +++ b/old_docs/API_docs_v81/methods/messages.searchGifs.md @@ -17,7 +17,7 @@ Search for GIFs |offset|[int](../types/int.md) | Offset for [pagination »](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_FoundGifs](../types/messages_FoundGifs.md) +### Return type: [messages.FoundGifs](../types/messages.FoundGifs.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_FoundGifs = $MadelineProto->messages->searchGifs(['q' => 'string', 'offset' => int, ]); +$messages.FoundGifs = $MadelineProto->messages->searchGifs(['q' => 'string', 'offset' => int, ]); ``` Or, if you're into Lua: ```lua -messages_FoundGifs = messages.searchGifs({q='string', offset=int, }) +messages.FoundGifs = messages.searchGifs({q='string', offset=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v81/methods/messages.searchGlobal.md b/old_docs/API_docs_v81/methods/messages.searchGlobal.md index 4bd59f25..1a3b736d 100644 --- a/old_docs/API_docs_v81/methods/messages.searchGlobal.md +++ b/old_docs/API_docs_v81/methods/messages.searchGlobal.md @@ -20,7 +20,7 @@ Search for messages and peers globally |limit|[int](../types/int.md) | [Offsets for pagination, for more info click here](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **NO** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->searchGlobal(['q' => 'string', 'offset_date' => int, 'offset_peer' => InputPeer, 'offset_id' => int, 'limit' => int, ]); +$messages.Messages = $MadelineProto->messages->searchGlobal(['q' => 'string', 'offset_date' => int, 'offset_peer' => InputPeer, 'offset_id' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.searchGlobal({q='string', offset_date=int, offset_peer=InputPeer, offset_id=int, limit=int, }) +messages.Messages = messages.searchGlobal({q='string', offset_date=int, offset_peer=InputPeer, offset_id=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v81/methods/messages.searchStickerSets.md b/old_docs/API_docs_v81/methods/messages.searchStickerSets.md index 1759fbc0..a8924f3d 100644 --- a/old_docs/API_docs_v81/methods/messages.searchStickerSets.md +++ b/old_docs/API_docs_v81/methods/messages.searchStickerSets.md @@ -18,7 +18,7 @@ Search for stickersets |hash|Array of [int](../types/int.md) | The IDs of stickersets you already fetched | Optional| -### Return type: [messages\_FoundStickerSets](../types/messages_FoundStickerSets.md) +### Return type: [messages.FoundStickerSets](../types/messages.FoundStickerSets.md) ### Can bots use this method: **NO** @@ -35,12 +35,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_FoundStickerSets = $MadelineProto->messages->searchStickerSets(['exclude_featured' => Bool, 'q' => 'string', 'hash' => [int, int], ]); +$messages.FoundStickerSets = $MadelineProto->messages->searchStickerSets(['exclude_featured' => Bool, 'q' => 'string', 'hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_FoundStickerSets = messages.searchStickerSets({exclude_featured=Bool, q='string', hash={int}, }) +messages.FoundStickerSets = messages.searchStickerSets({exclude_featured=Bool, q='string', hash={int}, }) ``` diff --git a/old_docs/API_docs_v81/methods/messages.sendEncrypted.md b/old_docs/API_docs_v81/methods/messages.sendEncrypted.md index 47b5ef29..6a68b563 100644 --- a/old_docs/API_docs_v81/methods/messages.sendEncrypted.md +++ b/old_docs/API_docs_v81/methods/messages.sendEncrypted.md @@ -14,10 +14,10 @@ Sends a text message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|message|[DecryptedMessage](../types/DecryptedMessage.md) | The message to send | Yes| +|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key that was created during chat initialization | Yes| -### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ### Can bots use this method: **NO** @@ -34,21 +34,15 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncrypted(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); +$messages.SentEncryptedMessage = $MadelineProto->messages->sendEncrypted(['peer' => InputEncryptedChat, 'data' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -messages_SentEncryptedMessage = messages.sendEncrypted({peer=InputEncryptedChat, message=DecryptedMessage, }) +messages.SentEncryptedMessage = messages.sendEncrypted({peer=InputEncryptedChat, data='bytes', }) ``` - -## Return value - -If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) will be returned instead. - - ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v81/methods/messages.sendEncryptedFile.md b/old_docs/API_docs_v81/methods/messages.sendEncryptedFile.md index 4e0f7b7f..87185ba4 100644 --- a/old_docs/API_docs_v81/methods/messages.sendEncryptedFile.md +++ b/old_docs/API_docs_v81/methods/messages.sendEncryptedFile.md @@ -14,11 +14,11 @@ Sends a message with a file attachment to a secret chat | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|message|[DecryptedMessage](../types/DecryptedMessage.md) | The message with the file | Yes| +|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| |file|[File path or InputEncryptedFile](../types/InputEncryptedFile.md) | File attachment for the secret chat | Optional| -### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ### Can bots use this method: **NO** @@ -35,21 +35,15 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedFile(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, 'file' => InputEncryptedFile, ]); +$messages.SentEncryptedMessage = $MadelineProto->messages->sendEncryptedFile(['peer' => InputEncryptedChat, 'data' => 'bytes', 'file' => InputEncryptedFile, ]); ``` Or, if you're into Lua: ```lua -messages_SentEncryptedMessage = messages.sendEncryptedFile({peer=InputEncryptedChat, message=DecryptedMessage, file=InputEncryptedFile, }) +messages.SentEncryptedMessage = messages.sendEncryptedFile({peer=InputEncryptedChat, data='bytes', file=InputEncryptedFile, }) ``` - -## Return value - -If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) will be returned instead. - - ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v81/methods/messages.sendEncryptedService.md b/old_docs/API_docs_v81/methods/messages.sendEncryptedService.md index 86925ae3..38171272 100644 --- a/old_docs/API_docs_v81/methods/messages.sendEncryptedService.md +++ b/old_docs/API_docs_v81/methods/messages.sendEncryptedService.md @@ -14,10 +14,10 @@ Sends a service message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|message|[DecryptedMessage](../types/DecryptedMessage.md) | The service message | Yes| +|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| -### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ### Can bots use this method: **NO** @@ -34,21 +34,15 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedService(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); +$messages.SentEncryptedMessage = $MadelineProto->messages->sendEncryptedService(['peer' => InputEncryptedChat, 'data' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -messages_SentEncryptedMessage = messages.sendEncryptedService({peer=InputEncryptedChat, message=DecryptedMessage, }) +messages.SentEncryptedMessage = messages.sendEncryptedService({peer=InputEncryptedChat, data='bytes', }) ``` - -## Return value - -If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) will be returned instead. - - ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v81/methods/payments.getPaymentForm.md b/old_docs/API_docs_v81/methods/payments.getPaymentForm.md index 3a171a05..da173f14 100644 --- a/old_docs/API_docs_v81/methods/payments.getPaymentForm.md +++ b/old_docs/API_docs_v81/methods/payments.getPaymentForm.md @@ -16,7 +16,7 @@ Get a payment form |msg\_id|[int](../types/int.md) | Message ID of payment form | Yes| -### Return type: [payments\_PaymentForm](../types/payments_PaymentForm.md) +### Return type: [payments.PaymentForm](../types/payments.PaymentForm.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$payments_PaymentForm = $MadelineProto->payments->getPaymentForm(['msg_id' => int, ]); +$payments.PaymentForm = $MadelineProto->payments->getPaymentForm(['msg_id' => int, ]); ``` Or, if you're into Lua: ```lua -payments_PaymentForm = payments.getPaymentForm({msg_id=int, }) +payments.PaymentForm = payments.getPaymentForm({msg_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v81/methods/payments.getPaymentReceipt.md b/old_docs/API_docs_v81/methods/payments.getPaymentReceipt.md index 46d2267c..16e41367 100644 --- a/old_docs/API_docs_v81/methods/payments.getPaymentReceipt.md +++ b/old_docs/API_docs_v81/methods/payments.getPaymentReceipt.md @@ -16,7 +16,7 @@ Get payment receipt |msg\_id|[int](../types/int.md) | Message ID of receipt | Yes| -### Return type: [payments\_PaymentReceipt](../types/payments_PaymentReceipt.md) +### Return type: [payments.PaymentReceipt](../types/payments.PaymentReceipt.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$payments_PaymentReceipt = $MadelineProto->payments->getPaymentReceipt(['msg_id' => int, ]); +$payments.PaymentReceipt = $MadelineProto->payments->getPaymentReceipt(['msg_id' => int, ]); ``` Or, if you're into Lua: ```lua -payments_PaymentReceipt = payments.getPaymentReceipt({msg_id=int, }) +payments.PaymentReceipt = payments.getPaymentReceipt({msg_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v81/methods/payments.getSavedInfo.md b/old_docs/API_docs_v81/methods/payments.getSavedInfo.md index dc9c9b98..fe2c16ec 100644 --- a/old_docs/API_docs_v81/methods/payments.getSavedInfo.md +++ b/old_docs/API_docs_v81/methods/payments.getSavedInfo.md @@ -11,7 +11,7 @@ Get saved payment information -### Return type: [payments\_SavedInfo](../types/payments_SavedInfo.md) +### Return type: [payments.SavedInfo](../types/payments.SavedInfo.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$payments_SavedInfo = $MadelineProto->payments->getSavedInfo(); +$payments.SavedInfo = $MadelineProto->payments->getSavedInfo(); ``` Or, if you're into Lua: ```lua -payments_SavedInfo = payments.getSavedInfo({}) +payments.SavedInfo = payments.getSavedInfo({}) ``` diff --git a/old_docs/API_docs_v81/methods/payments.sendPaymentForm.md b/old_docs/API_docs_v81/methods/payments.sendPaymentForm.md index 8c478b92..de154e7f 100644 --- a/old_docs/API_docs_v81/methods/payments.sendPaymentForm.md +++ b/old_docs/API_docs_v81/methods/payments.sendPaymentForm.md @@ -19,7 +19,7 @@ Send compiled payment form |credentials|[InputPaymentCredentials](../types/InputPaymentCredentials.md) | Payment credentials | Yes| -### Return type: [payments\_PaymentResult](../types/payments_PaymentResult.md) +### Return type: [payments.PaymentResult](../types/payments.PaymentResult.md) ### Can bots use this method: **NO** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$payments_PaymentResult = $MadelineProto->payments->sendPaymentForm(['msg_id' => int, 'requested_info_id' => 'string', 'shipping_option_id' => 'string', 'credentials' => InputPaymentCredentials, ]); +$payments.PaymentResult = $MadelineProto->payments->sendPaymentForm(['msg_id' => int, 'requested_info_id' => 'string', 'shipping_option_id' => 'string', 'credentials' => InputPaymentCredentials, ]); ``` Or, if you're into Lua: ```lua -payments_PaymentResult = payments.sendPaymentForm({msg_id=int, requested_info_id='string', shipping_option_id='string', credentials=InputPaymentCredentials, }) +payments.PaymentResult = payments.sendPaymentForm({msg_id=int, requested_info_id='string', shipping_option_id='string', credentials=InputPaymentCredentials, }) ``` ### Errors diff --git a/old_docs/API_docs_v81/methods/payments.validateRequestedInfo.md b/old_docs/API_docs_v81/methods/payments.validateRequestedInfo.md index d6364a02..ce22cfe8 100644 --- a/old_docs/API_docs_v81/methods/payments.validateRequestedInfo.md +++ b/old_docs/API_docs_v81/methods/payments.validateRequestedInfo.md @@ -18,7 +18,7 @@ Submit requested order information for validation |info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Requested order information | Yes| -### Return type: [payments\_ValidatedRequestedInfo](../types/payments_ValidatedRequestedInfo.md) +### Return type: [payments.ValidatedRequestedInfo](../types/payments.ValidatedRequestedInfo.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$payments_ValidatedRequestedInfo = $MadelineProto->payments->validateRequestedInfo(['save' => Bool, 'msg_id' => int, 'info' => PaymentRequestedInfo, ]); +$payments.ValidatedRequestedInfo = $MadelineProto->payments->validateRequestedInfo(['save' => Bool, 'msg_id' => int, 'info' => PaymentRequestedInfo, ]); ``` Or, if you're into Lua: ```lua -payments_ValidatedRequestedInfo = payments.validateRequestedInfo({save=Bool, msg_id=int, info=PaymentRequestedInfo, }) +payments.ValidatedRequestedInfo = payments.validateRequestedInfo({save=Bool, msg_id=int, info=PaymentRequestedInfo, }) ``` ### Errors diff --git a/old_docs/API_docs_v81/methods/phone.acceptCall.md b/old_docs/API_docs_v81/methods/phone.acceptCall.md index f5c58f01..6b9185aa 100644 --- a/old_docs/API_docs_v81/methods/phone.acceptCall.md +++ b/old_docs/API_docs_v81/methods/phone.acceptCall.md @@ -18,7 +18,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz#calls fo |protocol|[PhoneCallProtocol](../types/PhoneCallProtocol.md) | You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls | Yes| -### Return type: [phone\_PhoneCall](../types/phone_PhoneCall.md) +### Return type: [phone.PhoneCall](../types/phone.PhoneCall.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$phone_PhoneCall = $MadelineProto->phone->acceptCall(['peer' => InputPhoneCall, 'g_b' => 'bytes', 'protocol' => PhoneCallProtocol, ]); +$phone.PhoneCall = $MadelineProto->phone->acceptCall(['peer' => InputPhoneCall, 'g_b' => 'bytes', 'protocol' => PhoneCallProtocol, ]); ``` Or, if you're into Lua: ```lua -phone_PhoneCall = phone.acceptCall({peer=InputPhoneCall, g_b='bytes', protocol=PhoneCallProtocol, }) +phone.PhoneCall = phone.acceptCall({peer=InputPhoneCall, g_b='bytes', protocol=PhoneCallProtocol, }) ``` ### Errors diff --git a/old_docs/API_docs_v81/methods/phone.confirmCall.md b/old_docs/API_docs_v81/methods/phone.confirmCall.md index 468307cc..a52d1f9c 100644 --- a/old_docs/API_docs_v81/methods/phone.confirmCall.md +++ b/old_docs/API_docs_v81/methods/phone.confirmCall.md @@ -19,7 +19,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz#calls fo |protocol|[PhoneCallProtocol](../types/PhoneCallProtocol.md) | You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls | Yes| -### Return type: [phone\_PhoneCall](../types/phone_PhoneCall.md) +### Return type: [phone.PhoneCall](../types/phone.PhoneCall.md) ### Can bots use this method: **NO** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$phone_PhoneCall = $MadelineProto->phone->confirmCall(['peer' => InputPhoneCall, 'g_a' => 'bytes', 'key_fingerprint' => long, 'protocol' => PhoneCallProtocol, ]); +$phone.PhoneCall = $MadelineProto->phone->confirmCall(['peer' => InputPhoneCall, 'g_a' => 'bytes', 'key_fingerprint' => long, 'protocol' => PhoneCallProtocol, ]); ``` Or, if you're into Lua: ```lua -phone_PhoneCall = phone.confirmCall({peer=InputPhoneCall, g_a='bytes', key_fingerprint=long, protocol=PhoneCallProtocol, }) +phone.PhoneCall = phone.confirmCall({peer=InputPhoneCall, g_a='bytes', key_fingerprint=long, protocol=PhoneCallProtocol, }) ``` ### Errors diff --git a/old_docs/API_docs_v81/methods/phone.requestCall.md b/old_docs/API_docs_v81/methods/phone.requestCall.md index c8e828f2..37e847a7 100644 --- a/old_docs/API_docs_v81/methods/phone.requestCall.md +++ b/old_docs/API_docs_v81/methods/phone.requestCall.md @@ -18,7 +18,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz#calls fo |protocol|[PhoneCallProtocol](../types/PhoneCallProtocol.md) | You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls | Yes| -### Return type: [phone\_PhoneCall](../types/phone_PhoneCall.md) +### Return type: [phone.PhoneCall](../types/phone.PhoneCall.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$phone_PhoneCall = $MadelineProto->phone->requestCall(['user_id' => InputUser, 'g_a_hash' => 'bytes', 'protocol' => PhoneCallProtocol, ]); +$phone.PhoneCall = $MadelineProto->phone->requestCall(['user_id' => InputUser, 'g_a_hash' => 'bytes', 'protocol' => PhoneCallProtocol, ]); ``` Or, if you're into Lua: ```lua -phone_PhoneCall = phone.requestCall({user_id=InputUser, g_a_hash='bytes', protocol=PhoneCallProtocol, }) +phone.PhoneCall = phone.requestCall({user_id=InputUser, g_a_hash='bytes', protocol=PhoneCallProtocol, }) ``` ### Errors diff --git a/old_docs/API_docs_v81/methods/photos.getUserPhotos.md b/old_docs/API_docs_v81/methods/photos.getUserPhotos.md index a1dec2ed..1f8d5c64 100644 --- a/old_docs/API_docs_v81/methods/photos.getUserPhotos.md +++ b/old_docs/API_docs_v81/methods/photos.getUserPhotos.md @@ -19,7 +19,7 @@ Returns the list of user photos. |limit|[int](../types/int.md) | Number of list elements to be returned | Yes| -### Return type: [photos\_Photos](../types/photos_Photos.md) +### Return type: [photos.Photos](../types/photos.Photos.md) ### Can bots use this method: **YES** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$photos_Photos = $MadelineProto->photos->getUserPhotos(['user_id' => InputUser, 'offset' => int, 'max_id' => long, 'limit' => int, ]); +$photos.Photos = $MadelineProto->photos->getUserPhotos(['user_id' => InputUser, 'offset' => int, 'max_id' => long, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -photos_Photos = photos.getUserPhotos({user_id=InputUser, offset=int, max_id=long, limit=int, }) +photos.Photos = photos.getUserPhotos({user_id=InputUser, offset=int, max_id=long, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v81/methods/photos.uploadProfilePhoto.md b/old_docs/API_docs_v81/methods/photos.uploadProfilePhoto.md index b6a01ee7..4de76a24 100644 --- a/old_docs/API_docs_v81/methods/photos.uploadProfilePhoto.md +++ b/old_docs/API_docs_v81/methods/photos.uploadProfilePhoto.md @@ -16,7 +16,7 @@ Updates current user profile photo. |file|[File path or InputFile](../types/InputFile.md) | File saved in parts by means of [upload.saveFilePart](../methods/upload.saveFilePart.md) method | Yes| -### Return type: [photos\_Photo](../types/photos_Photo.md) +### Return type: [photos.Photo](../types/photos.Photo.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$photos_Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, ]); +$photos.Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, ]); ``` Or, if you're into Lua: ```lua -photos_Photo = photos.uploadProfilePhoto({file=InputFile, }) +photos.Photo = photos.uploadProfilePhoto({file=InputFile, }) ``` ### Errors diff --git a/old_docs/API_docs_v81/methods/stickers.addStickerToSet.md b/old_docs/API_docs_v81/methods/stickers.addStickerToSet.md index 727d3f27..e8392355 100644 --- a/old_docs/API_docs_v81/methods/stickers.addStickerToSet.md +++ b/old_docs/API_docs_v81/methods/stickers.addStickerToSet.md @@ -17,7 +17,7 @@ Add a sticker to a stickerset, bots only. The sticker set must have been created |sticker|[InputStickerSetItem](../types/InputStickerSetItem.md) | The sticker | Yes| -### Return type: [messages\_StickerSet](../types/messages_StickerSet.md) +### Return type: [messages.StickerSet](../types/messages.StickerSet.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StickerSet = $MadelineProto->stickers->addStickerToSet(['stickerset' => InputStickerSet, 'sticker' => InputStickerSetItem, ]); +$messages.StickerSet = $MadelineProto->stickers->addStickerToSet(['stickerset' => InputStickerSet, 'sticker' => InputStickerSetItem, ]); ``` Or, if you're into Lua: ```lua -messages_StickerSet = stickers.addStickerToSet({stickerset=InputStickerSet, sticker=InputStickerSetItem, }) +messages.StickerSet = stickers.addStickerToSet({stickerset=InputStickerSet, sticker=InputStickerSetItem, }) ``` ### Errors diff --git a/old_docs/API_docs_v81/methods/stickers.changeStickerPosition.md b/old_docs/API_docs_v81/methods/stickers.changeStickerPosition.md index ed390f21..e1d8ab5e 100644 --- a/old_docs/API_docs_v81/methods/stickers.changeStickerPosition.md +++ b/old_docs/API_docs_v81/methods/stickers.changeStickerPosition.md @@ -17,7 +17,7 @@ Changes the absolute position of a sticker in the set to which it belongs; for b |position|[int](../types/int.md) | The new position of the sticker, zero-based | Yes| -### Return type: [messages\_StickerSet](../types/messages_StickerSet.md) +### Return type: [messages.StickerSet](../types/messages.StickerSet.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StickerSet = $MadelineProto->stickers->changeStickerPosition(['sticker' => InputDocument, 'position' => int, ]); +$messages.StickerSet = $MadelineProto->stickers->changeStickerPosition(['sticker' => InputDocument, 'position' => int, ]); ``` Or, if you're into Lua: ```lua -messages_StickerSet = stickers.changeStickerPosition({sticker=InputDocument, position=int, }) +messages.StickerSet = stickers.changeStickerPosition({sticker=InputDocument, position=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v81/methods/stickers.createStickerSet.md b/old_docs/API_docs_v81/methods/stickers.createStickerSet.md index 5a6ef396..7eeeb48f 100644 --- a/old_docs/API_docs_v81/methods/stickers.createStickerSet.md +++ b/old_docs/API_docs_v81/methods/stickers.createStickerSet.md @@ -20,7 +20,7 @@ Create a stickerset, bots only. |stickers|Array of [InputStickerSetItem](../types/InputStickerSetItem.md) | The stickers to add | Yes| -### Return type: [messages\_StickerSet](../types/messages_StickerSet.md) +### Return type: [messages.StickerSet](../types/messages.StickerSet.md) ### Can bots use this method: **YES** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StickerSet = $MadelineProto->stickers->createStickerSet(['masks' => Bool, 'user_id' => InputUser, 'title' => 'string', 'short_name' => 'string', 'stickers' => [InputStickerSetItem, InputStickerSetItem], ]); +$messages.StickerSet = $MadelineProto->stickers->createStickerSet(['masks' => Bool, 'user_id' => InputUser, 'title' => 'string', 'short_name' => 'string', 'stickers' => [InputStickerSetItem, InputStickerSetItem], ]); ``` Or, if you're into Lua: ```lua -messages_StickerSet = stickers.createStickerSet({masks=Bool, user_id=InputUser, title='string', short_name='string', stickers={InputStickerSetItem}, }) +messages.StickerSet = stickers.createStickerSet({masks=Bool, user_id=InputUser, title='string', short_name='string', stickers={InputStickerSetItem}, }) ``` ### Errors diff --git a/old_docs/API_docs_v81/methods/stickers.removeStickerFromSet.md b/old_docs/API_docs_v81/methods/stickers.removeStickerFromSet.md index 33f677b3..aa4927ca 100644 --- a/old_docs/API_docs_v81/methods/stickers.removeStickerFromSet.md +++ b/old_docs/API_docs_v81/methods/stickers.removeStickerFromSet.md @@ -16,7 +16,7 @@ Remove a sticker from the set where it belongs, bots only. The sticker set must |sticker|[MessageMedia, Update, Message or InputDocument](../types/InputDocument.md) | The sticker to remove | Optional| -### Return type: [messages\_StickerSet](../types/messages_StickerSet.md) +### Return type: [messages.StickerSet](../types/messages.StickerSet.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StickerSet = $MadelineProto->stickers->removeStickerFromSet(['sticker' => InputDocument, ]); +$messages.StickerSet = $MadelineProto->stickers->removeStickerFromSet(['sticker' => InputDocument, ]); ``` Or, if you're into Lua: ```lua -messages_StickerSet = stickers.removeStickerFromSet({sticker=InputDocument, }) +messages.StickerSet = stickers.removeStickerFromSet({sticker=InputDocument, }) ``` ### Errors diff --git a/old_docs/API_docs_v81/methods/updates.getChannelDifference.md b/old_docs/API_docs_v81/methods/updates.getChannelDifference.md index 5675cd33..08df3395 100644 --- a/old_docs/API_docs_v81/methods/updates.getChannelDifference.md +++ b/old_docs/API_docs_v81/methods/updates.getChannelDifference.md @@ -20,7 +20,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz for more |limit|[int](../types/int.md) | You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates | Yes| -### Return type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) +### Return type: [updates.ChannelDifference](../types/updates.ChannelDifference.md) ### Can bots use this method: **YES** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$updates_ChannelDifference = $MadelineProto->updates->getChannelDifference(['force' => Bool, 'channel' => InputChannel, 'filter' => ChannelMessagesFilter, 'pts' => int, 'limit' => int, ]); +$updates.ChannelDifference = $MadelineProto->updates->getChannelDifference(['force' => Bool, 'channel' => InputChannel, 'filter' => ChannelMessagesFilter, 'pts' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -updates_ChannelDifference = updates.getChannelDifference({force=Bool, channel=InputChannel, filter=ChannelMessagesFilter, pts=int, limit=int, }) +updates.ChannelDifference = updates.getChannelDifference({force=Bool, channel=InputChannel, filter=ChannelMessagesFilter, pts=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v81/methods/updates.getDifference.md b/old_docs/API_docs_v81/methods/updates.getDifference.md index bcfac4e2..b3796a10 100644 --- a/old_docs/API_docs_v81/methods/updates.getDifference.md +++ b/old_docs/API_docs_v81/methods/updates.getDifference.md @@ -19,7 +19,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz for more |qts|[int](../types/int.md) | You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates | Yes| -### Return type: [updates\_Difference](../types/updates_Difference.md) +### Return type: [updates.Difference](../types/updates.Difference.md) ### Can bots use this method: **YES** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$updates_Difference = $MadelineProto->updates->getDifference(['pts' => int, 'pts_total_limit' => int, 'date' => int, 'qts' => int, ]); +$updates.Difference = $MadelineProto->updates->getDifference(['pts' => int, 'pts_total_limit' => int, 'date' => int, 'qts' => int, ]); ``` Or, if you're into Lua: ```lua -updates_Difference = updates.getDifference({pts=int, pts_total_limit=int, date=int, qts=int, }) +updates.Difference = updates.getDifference({pts=int, pts_total_limit=int, date=int, qts=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v81/methods/updates.getState.md b/old_docs/API_docs_v81/methods/updates.getState.md index c591408a..9a7d2f34 100644 --- a/old_docs/API_docs_v81/methods/updates.getState.md +++ b/old_docs/API_docs_v81/methods/updates.getState.md @@ -11,7 +11,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz for more -### Return type: [updates\_State](../types/updates_State.md) +### Return type: [updates.State](../types/updates.State.md) ### Can bots use this method: **YES** @@ -28,13 +28,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$updates_State = $MadelineProto->updates->getState(); +$updates.State = $MadelineProto->updates->getState(); ``` Or, if you're into Lua: ```lua -updates_State = updates.getState({}) +updates.State = updates.getState({}) ``` ### Errors diff --git a/old_docs/API_docs_v81/methods/upload.getCdnFile.md b/old_docs/API_docs_v81/methods/upload.getCdnFile.md index a3c928b2..67b2e84e 100644 --- a/old_docs/API_docs_v81/methods/upload.getCdnFile.md +++ b/old_docs/API_docs_v81/methods/upload.getCdnFile.md @@ -18,7 +18,7 @@ You cannot use this method directly, use the upload, downloadToStream, downloadT |limit|[int](../types/int.md) | You cannot use this method directly, use the upload, downloadToStream, downloadToFile, downloadToDir methods instead; see https://docs.madelineproto.xyz for more info | Yes| -### Return type: [upload\_CdnFile](../types/upload_CdnFile.md) +### Return type: [upload.CdnFile](../types/upload.CdnFile.md) ### Can bots use this method: **NO** @@ -35,12 +35,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$upload_CdnFile = $MadelineProto->upload->getCdnFile(['file_token' => 'bytes', 'offset' => int, 'limit' => int, ]); +$upload.CdnFile = $MadelineProto->upload->getCdnFile(['file_token' => 'bytes', 'offset' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -upload_CdnFile = upload.getCdnFile({file_token='bytes', offset=int, limit=int, }) +upload.CdnFile = upload.getCdnFile({file_token='bytes', offset=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v81/methods/upload.getFile.md b/old_docs/API_docs_v81/methods/upload.getFile.md index 8aba03d4..ab9f4fe2 100644 --- a/old_docs/API_docs_v81/methods/upload.getFile.md +++ b/old_docs/API_docs_v81/methods/upload.getFile.md @@ -18,7 +18,7 @@ You cannot use this method directly, use the upload, downloadToStream, downloadT |limit|[int](../types/int.md) | You cannot use this method directly, use the upload, downloadToStream, downloadToFile, downloadToDir methods instead; see https://docs.madelineproto.xyz for more info | Yes| -### Return type: [upload\_File](../types/upload_File.md) +### Return type: [upload.File](../types/upload.File.md) ### Can bots use this method: **YES** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$upload_File = $MadelineProto->upload->getFile(['location' => InputFileLocation, 'offset' => int, 'limit' => int, ]); +$upload.File = $MadelineProto->upload->getFile(['location' => InputFileLocation, 'offset' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -upload_File = upload.getFile({location=InputFileLocation, offset=int, limit=int, }) +upload.File = upload.getFile({location=InputFileLocation, offset=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v81/methods/upload.getWebFile.md b/old_docs/API_docs_v81/methods/upload.getWebFile.md index 32f6b322..60f1b8c1 100644 --- a/old_docs/API_docs_v81/methods/upload.getWebFile.md +++ b/old_docs/API_docs_v81/methods/upload.getWebFile.md @@ -18,7 +18,7 @@ Returns content of an HTTP file or a part, by proxying the request through teleg |limit|[int](../types/int.md) | Number of bytes to be returned | Yes| -### Return type: [upload\_WebFile](../types/upload_WebFile.md) +### Return type: [upload.WebFile](../types/upload.WebFile.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$upload_WebFile = $MadelineProto->upload->getWebFile(['location' => InputWebFileLocation, 'offset' => int, 'limit' => int, ]); +$upload.WebFile = $MadelineProto->upload->getWebFile(['location' => InputWebFileLocation, 'offset' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -upload_WebFile = upload.getWebFile({location=InputWebFileLocation, offset=int, limit=int, }) +upload.WebFile = upload.getWebFile({location=InputWebFileLocation, offset=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v81/types/AccountDaysTTL.md b/old_docs/API_docs_v81/types/AccountDaysTTL.md index 12a10190..f3494aac 100644 --- a/old_docs/API_docs_v81/types/AccountDaysTTL.md +++ b/old_docs/API_docs_v81/types/AccountDaysTTL.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->account->getAccountTTL](../methods/account_getAccountTTL.md) +[$MadelineProto->account->getAccountTTL](../methods/account.getAccountTTL.md) diff --git a/old_docs/API_docs_v81/types/CdnConfig.md b/old_docs/API_docs_v81/types/CdnConfig.md index fbfe01c3..0b0fb5be 100644 --- a/old_docs/API_docs_v81/types/CdnConfig.md +++ b/old_docs/API_docs_v81/types/CdnConfig.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->help->getCdnConfig](../methods/help_getCdnConfig.md) +[$MadelineProto->help->getCdnConfig](../methods/help.getCdnConfig.md) diff --git a/old_docs/API_docs_v81/types/ChatInvite.md b/old_docs/API_docs_v81/types/ChatInvite.md index 5022a2f0..9fafabb4 100644 --- a/old_docs/API_docs_v81/types/ChatInvite.md +++ b/old_docs/API_docs_v81/types/ChatInvite.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->checkChatInvite](../methods/messages_checkChatInvite.md) +[$MadelineProto->messages->checkChatInvite](../methods/messages.checkChatInvite.md) diff --git a/old_docs/API_docs_v81/types/Config.md b/old_docs/API_docs_v81/types/Config.md index 0f7fbe70..3a23b7b7 100644 --- a/old_docs/API_docs_v81/types/Config.md +++ b/old_docs/API_docs_v81/types/Config.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->help->getConfig](../methods/help_getConfig.md) +[$MadelineProto->help->getConfig](../methods/help.getConfig.md) diff --git a/old_docs/API_docs_v81/types/ContactStatus.md b/old_docs/API_docs_v81/types/ContactStatus.md index c5f5d658..30aee6e2 100644 --- a/old_docs/API_docs_v81/types/ContactStatus.md +++ b/old_docs/API_docs_v81/types/ContactStatus.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->contacts->getStatuses](../methods/contacts_getStatuses.md) +[$MadelineProto->contacts->getStatuses](../methods/contacts.getStatuses.md) diff --git a/old_docs/API_docs_v81/types/Document.md b/old_docs/API_docs_v81/types/Document.md index f68b7aa4..2cb85623 100644 --- a/old_docs/API_docs_v81/types/Document.md +++ b/old_docs/API_docs_v81/types/Document.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getDocumentByHash](../methods/messages_getDocumentByHash.md) +[$MadelineProto->messages->getDocumentByHash](../methods/messages.getDocumentByHash.md) diff --git a/old_docs/API_docs_v81/types/EncryptedChat.md b/old_docs/API_docs_v81/types/EncryptedChat.md index fd2277f6..19cf52b0 100644 --- a/old_docs/API_docs_v81/types/EncryptedChat.md +++ b/old_docs/API_docs_v81/types/EncryptedChat.md @@ -24,9 +24,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->requestEncryption](../methods/messages_requestEncryption.md) +[$MadelineProto->messages->requestEncryption](../methods/messages.requestEncryption.md) -[$MadelineProto->messages->acceptEncryption](../methods/messages_acceptEncryption.md) +[$MadelineProto->messages->acceptEncryption](../methods/messages.acceptEncryption.md) diff --git a/old_docs/API_docs_v81/types/EncryptedFile.md b/old_docs/API_docs_v81/types/EncryptedFile.md index a26d40bb..8ecf8e9d 100644 --- a/old_docs/API_docs_v81/types/EncryptedFile.md +++ b/old_docs/API_docs_v81/types/EncryptedFile.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->uploadEncryptedFile](../methods/messages_uploadEncryptedFile.md) +[$MadelineProto->messages->uploadEncryptedFile](../methods/messages.uploadEncryptedFile.md) diff --git a/old_docs/API_docs_v81/types/ExportedChatInvite.md b/old_docs/API_docs_v81/types/ExportedChatInvite.md index 4213a78f..53ce5f59 100644 --- a/old_docs/API_docs_v81/types/ExportedChatInvite.md +++ b/old_docs/API_docs_v81/types/ExportedChatInvite.md @@ -18,9 +18,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->exportChatInvite](../methods/messages_exportChatInvite.md) +[$MadelineProto->messages->exportChatInvite](../methods/messages.exportChatInvite.md) -[$MadelineProto->channels->exportInvite](../methods/channels_exportInvite.md) +[$MadelineProto->channels->exportInvite](../methods/channels.exportInvite.md) diff --git a/old_docs/API_docs_v81/types/ExportedMessageLink.md b/old_docs/API_docs_v81/types/ExportedMessageLink.md index eb2400f6..948e9c90 100644 --- a/old_docs/API_docs_v81/types/ExportedMessageLink.md +++ b/old_docs/API_docs_v81/types/ExportedMessageLink.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->channels->exportMessageLink](../methods/channels_exportMessageLink.md) +[$MadelineProto->channels->exportMessageLink](../methods/channels.exportMessageLink.md) diff --git a/old_docs/API_docs_v81/types/FileHash.md b/old_docs/API_docs_v81/types/FileHash.md index 3201d7e0..a908fb9b 100644 --- a/old_docs/API_docs_v81/types/FileHash.md +++ b/old_docs/API_docs_v81/types/FileHash.md @@ -16,11 +16,11 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->upload->reuploadCdnFile](../methods/upload_reuploadCdnFile.md) +[$MadelineProto->upload->reuploadCdnFile](../methods/upload.reuploadCdnFile.md) -[$MadelineProto->upload->getCdnFileHashes](../methods/upload_getCdnFileHashes.md) +[$MadelineProto->upload->getCdnFileHashes](../methods/upload.getCdnFileHashes.md) -[$MadelineProto->upload->getFileHashes](../methods/upload_getFileHashes.md) +[$MadelineProto->upload->getFileHashes](../methods/upload.getFileHashes.md) diff --git a/old_docs/API_docs_v81/types/LangPackDifference.md b/old_docs/API_docs_v81/types/LangPackDifference.md index fd9f41f2..e04125b8 100644 --- a/old_docs/API_docs_v81/types/LangPackDifference.md +++ b/old_docs/API_docs_v81/types/LangPackDifference.md @@ -16,9 +16,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->langpack->getLangPack](../methods/langpack_getLangPack.md) +[$MadelineProto->langpack->getLangPack](../methods/langpack.getLangPack.md) -[$MadelineProto->langpack->getDifference](../methods/langpack_getDifference.md) +[$MadelineProto->langpack->getDifference](../methods/langpack.getDifference.md) diff --git a/old_docs/API_docs_v81/types/LangPackLanguage.md b/old_docs/API_docs_v81/types/LangPackLanguage.md index f7459fc2..280d0243 100644 --- a/old_docs/API_docs_v81/types/LangPackLanguage.md +++ b/old_docs/API_docs_v81/types/LangPackLanguage.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->langpack->getLanguages](../methods/langpack_getLanguages.md) +[$MadelineProto->langpack->getLanguages](../methods/langpack.getLanguages.md) diff --git a/old_docs/API_docs_v81/types/LangPackString.md b/old_docs/API_docs_v81/types/LangPackString.md index f1a43dd9..15f9dc3d 100644 --- a/old_docs/API_docs_v81/types/LangPackString.md +++ b/old_docs/API_docs_v81/types/LangPackString.md @@ -20,7 +20,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->langpack->getStrings](../methods/langpack_getStrings.md) +[$MadelineProto->langpack->getStrings](../methods/langpack.getStrings.md) diff --git a/old_docs/API_docs_v81/types/MessageMedia.md b/old_docs/API_docs_v81/types/MessageMedia.md index fa00818d..23c0e9a5 100644 --- a/old_docs/API_docs_v81/types/MessageMedia.md +++ b/old_docs/API_docs_v81/types/MessageMedia.md @@ -36,9 +36,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getWebPagePreview](../methods/messages_getWebPagePreview.md) +[$MadelineProto->messages->getWebPagePreview](../methods/messages.getWebPagePreview.md) -[$MadelineProto->messages->uploadMedia](../methods/messages_uploadMedia.md) +[$MadelineProto->messages->uploadMedia](../methods/messages.uploadMedia.md) diff --git a/old_docs/API_docs_v81/types/MessageRange.md b/old_docs/API_docs_v81/types/MessageRange.md index c93011aa..ffd65e90 100644 --- a/old_docs/API_docs_v81/types/MessageRange.md +++ b/old_docs/API_docs_v81/types/MessageRange.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getSplitRanges](../methods/messages_getSplitRanges.md) +[$MadelineProto->messages->getSplitRanges](../methods/messages.getSplitRanges.md) diff --git a/old_docs/API_docs_v81/types/NearestDc.md b/old_docs/API_docs_v81/types/NearestDc.md index 31f24377..296a4dff 100644 --- a/old_docs/API_docs_v81/types/NearestDc.md +++ b/old_docs/API_docs_v81/types/NearestDc.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->help->getNearestDc](../methods/help_getNearestDc.md) +[$MadelineProto->help->getNearestDc](../methods/help.getNearestDc.md) diff --git a/old_docs/API_docs_v81/types/PeerNotifySettings.md b/old_docs/API_docs_v81/types/PeerNotifySettings.md index ecb483c5..d3b4833c 100644 --- a/old_docs/API_docs_v81/types/PeerNotifySettings.md +++ b/old_docs/API_docs_v81/types/PeerNotifySettings.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->account->getNotifySettings](../methods/account_getNotifySettings.md) +[$MadelineProto->account->getNotifySettings](../methods/account.getNotifySettings.md) diff --git a/old_docs/API_docs_v81/types/PeerSettings.md b/old_docs/API_docs_v81/types/PeerSettings.md index 60ac3765..31ef7e38 100644 --- a/old_docs/API_docs_v81/types/PeerSettings.md +++ b/old_docs/API_docs_v81/types/PeerSettings.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getPeerSettings](../methods/messages_getPeerSettings.md) +[$MadelineProto->messages->getPeerSettings](../methods/messages.getPeerSettings.md) diff --git a/old_docs/API_docs_v81/types/README.md b/old_docs/API_docs_v81/types/README.md index 0ec3b91f..706a94b8 100644 --- a/old_docs/API_docs_v81/types/README.md +++ b/old_docs/API_docs_v81/types/README.md @@ -319,157 +319,157 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png [X](X.md) -[account\_AuthorizationForm](account_AuthorizationForm.md) +[account.AuthorizationForm](account.AuthorizationForm.md) -[account\_Authorizations](account_Authorizations.md) +[account.Authorizations](account.Authorizations.md) -[account\_Password](account_Password.md) +[account.Password](account.Password.md) -[account\_PasswordInputSettings](account_PasswordInputSettings.md) +[account.PasswordInputSettings](account.PasswordInputSettings.md) -[account\_PasswordSettings](account_PasswordSettings.md) +[account.PasswordSettings](account.PasswordSettings.md) -[account\_PrivacyRules](account_PrivacyRules.md) +[account.PrivacyRules](account.PrivacyRules.md) -[account\_SentEmailCode](account_SentEmailCode.md) +[account.SentEmailCode](account.SentEmailCode.md) -[account\_Takeout](account_Takeout.md) +[account.Takeout](account.Takeout.md) -[account\_TmpPassword](account_TmpPassword.md) +[account.TmpPassword](account.TmpPassword.md) -[account\_WebAuthorizations](account_WebAuthorizations.md) +[account.WebAuthorizations](account.WebAuthorizations.md) -[auth\_Authorization](auth_Authorization.md) +[auth.Authorization](auth.Authorization.md) -[auth\_CheckedPhone](auth_CheckedPhone.md) +[auth.CheckedPhone](auth.CheckedPhone.md) -[auth\_CodeType](auth_CodeType.md) +[auth.CodeType](auth.CodeType.md) -[auth\_ExportedAuthorization](auth_ExportedAuthorization.md) +[auth.ExportedAuthorization](auth.ExportedAuthorization.md) -[auth\_PasswordRecovery](auth_PasswordRecovery.md) +[auth.PasswordRecovery](auth.PasswordRecovery.md) -[auth\_SentCode](auth_SentCode.md) +[auth.SentCode](auth.SentCode.md) -[auth\_SentCodeType](auth_SentCodeType.md) +[auth.SentCodeType](auth.SentCodeType.md) -[channels\_AdminLogResults](channels_AdminLogResults.md) +[channels.AdminLogResults](channels.AdminLogResults.md) -[channels\_ChannelParticipant](channels_ChannelParticipant.md) +[channels.ChannelParticipant](channels.ChannelParticipant.md) -[channels\_ChannelParticipants](channels_ChannelParticipants.md) +[channels.ChannelParticipants](channels.ChannelParticipants.md) -[contacts\_Blocked](contacts_Blocked.md) +[contacts.Blocked](contacts.Blocked.md) -[contacts\_Contacts](contacts_Contacts.md) +[contacts.Contacts](contacts.Contacts.md) -[contacts\_Found](contacts_Found.md) +[contacts.Found](contacts.Found.md) -[contacts\_ImportedContacts](contacts_ImportedContacts.md) +[contacts.ImportedContacts](contacts.ImportedContacts.md) -[contacts\_Link](contacts_Link.md) +[contacts.Link](contacts.Link.md) -[contacts\_ResolvedPeer](contacts_ResolvedPeer.md) +[contacts.ResolvedPeer](contacts.ResolvedPeer.md) -[contacts\_TopPeers](contacts_TopPeers.md) +[contacts.TopPeers](contacts.TopPeers.md) -[help\_AppUpdate](help_AppUpdate.md) +[help.AppUpdate](help.AppUpdate.md) -[help\_ConfigSimple](help_ConfigSimple.md) +[help.ConfigSimple](help.ConfigSimple.md) -[help\_DeepLinkInfo](help_DeepLinkInfo.md) +[help.DeepLinkInfo](help.DeepLinkInfo.md) -[help\_InviteText](help_InviteText.md) +[help.InviteText](help.InviteText.md) -[help\_ProxyData](help_ProxyData.md) +[help.ProxyData](help.ProxyData.md) -[help\_RecentMeUrls](help_RecentMeUrls.md) +[help.RecentMeUrls](help.RecentMeUrls.md) -[help\_Support](help_Support.md) +[help.Support](help.Support.md) -[help\_TermsOfServiceUpdate](help_TermsOfServiceUpdate.md) +[help.TermsOfServiceUpdate](help.TermsOfServiceUpdate.md) -[help\_wTermsOfService](help_wTermsOfService.md) +[help.wTermsOfService](help.wTermsOfService.md) [int](int.md) [long](long.md) -[messages\_AffectedHistory](messages_AffectedHistory.md) +[messages.AffectedHistory](messages.AffectedHistory.md) -[messages\_AffectedMessages](messages_AffectedMessages.md) +[messages.AffectedMessages](messages.AffectedMessages.md) -[messages\_AllStickers](messages_AllStickers.md) +[messages.AllStickers](messages.AllStickers.md) -[messages\_ArchivedStickers](messages_ArchivedStickers.md) +[messages.ArchivedStickers](messages.ArchivedStickers.md) -[messages\_BotCallbackAnswer](messages_BotCallbackAnswer.md) +[messages.BotCallbackAnswer](messages.BotCallbackAnswer.md) -[messages\_BotResults](messages_BotResults.md) +[messages.BotResults](messages.BotResults.md) -[messages\_ChatFull](messages_ChatFull.md) +[messages.ChatFull](messages.ChatFull.md) -[messages\_Chats](messages_Chats.md) +[messages.Chats](messages.Chats.md) -[messages\_DhConfig](messages_DhConfig.md) +[messages.DhConfig](messages.DhConfig.md) -[messages\_Dialogs](messages_Dialogs.md) +[messages.Dialogs](messages.Dialogs.md) -[messages\_FavedStickers](messages_FavedStickers.md) +[messages.FavedStickers](messages.FavedStickers.md) -[messages\_FeaturedStickers](messages_FeaturedStickers.md) +[messages.FeaturedStickers](messages.FeaturedStickers.md) -[messages\_FoundGifs](messages_FoundGifs.md) +[messages.FoundGifs](messages.FoundGifs.md) -[messages\_FoundStickerSets](messages_FoundStickerSets.md) +[messages.FoundStickerSets](messages.FoundStickerSets.md) -[messages\_HighScores](messages_HighScores.md) +[messages.HighScores](messages.HighScores.md) -[messages\_MessageEditData](messages_MessageEditData.md) +[messages.MessageEditData](messages.MessageEditData.md) -[messages\_Messages](messages_Messages.md) +[messages.Messages](messages.Messages.md) -[messages\_PeerDialogs](messages_PeerDialogs.md) +[messages.PeerDialogs](messages.PeerDialogs.md) -[messages\_RecentStickers](messages_RecentStickers.md) +[messages.RecentStickers](messages.RecentStickers.md) -[messages\_SavedGifs](messages_SavedGifs.md) +[messages.SavedGifs](messages.SavedGifs.md) -[messages\_SentEncryptedMessage](messages_SentEncryptedMessage.md) +[messages.SentEncryptedMessage](messages.SentEncryptedMessage.md) -[messages\_StickerSet](messages_StickerSet.md) +[messages.StickerSet](messages.StickerSet.md) -[messages\_StickerSetInstallResult](messages_StickerSetInstallResult.md) +[messages.StickerSetInstallResult](messages.StickerSetInstallResult.md) -[messages\_Stickers](messages_Stickers.md) +[messages.Stickers](messages.Stickers.md) -[payments\_PaymentForm](payments_PaymentForm.md) +[payments.PaymentForm](payments.PaymentForm.md) -[payments\_PaymentReceipt](payments_PaymentReceipt.md) +[payments.PaymentReceipt](payments.PaymentReceipt.md) -[payments\_PaymentResult](payments_PaymentResult.md) +[payments.PaymentResult](payments.PaymentResult.md) -[payments\_SavedInfo](payments_SavedInfo.md) +[payments.SavedInfo](payments.SavedInfo.md) -[payments\_ValidatedRequestedInfo](payments_ValidatedRequestedInfo.md) +[payments.ValidatedRequestedInfo](payments.ValidatedRequestedInfo.md) -[phone\_PhoneCall](phone_PhoneCall.md) +[phone.PhoneCall](phone.PhoneCall.md) -[photos\_Photo](photos_Photo.md) +[photos.Photo](photos.Photo.md) -[photos\_Photos](photos_Photos.md) +[photos.Photos](photos.Photos.md) -[storage\_FileType](storage_FileType.md) +[storage.FileType](storage.FileType.md) -[updates\_ChannelDifference](updates_ChannelDifference.md) +[updates.ChannelDifference](updates.ChannelDifference.md) -[updates\_Difference](updates_Difference.md) +[updates.Difference](updates.Difference.md) -[updates\_State](updates_State.md) +[updates.State](updates.State.md) -[upload\_CdnFile](upload_CdnFile.md) +[upload.CdnFile](upload.CdnFile.md) -[upload\_File](upload_File.md) +[upload.File](upload.File.md) -[upload\_WebFile](upload_WebFile.md) +[upload.WebFile](upload.WebFile.md) diff --git a/old_docs/API_docs_v81/types/ReceivedNotifyMessage.md b/old_docs/API_docs_v81/types/ReceivedNotifyMessage.md index c7fc3b8c..416aa275 100644 --- a/old_docs/API_docs_v81/types/ReceivedNotifyMessage.md +++ b/old_docs/API_docs_v81/types/ReceivedNotifyMessage.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->receivedMessages](../methods/messages_receivedMessages.md) +[$MadelineProto->messages->receivedMessages](../methods/messages.receivedMessages.md) diff --git a/old_docs/API_docs_v81/types/SavedContact.md b/old_docs/API_docs_v81/types/SavedContact.md index c337f3eb..73a91ba6 100644 --- a/old_docs/API_docs_v81/types/SavedContact.md +++ b/old_docs/API_docs_v81/types/SavedContact.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->contacts->getSaved](../methods/contacts_getSaved.md) +[$MadelineProto->contacts->getSaved](../methods/contacts.getSaved.md) diff --git a/old_docs/API_docs_v81/types/SecureValue.md b/old_docs/API_docs_v81/types/SecureValue.md index 8490f399..2ab18f68 100644 --- a/old_docs/API_docs_v81/types/SecureValue.md +++ b/old_docs/API_docs_v81/types/SecureValue.md @@ -16,11 +16,11 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->account->getAllSecureValues](../methods/account_getAllSecureValues.md) +[$MadelineProto->account->getAllSecureValues](../methods/account.getAllSecureValues.md) -[$MadelineProto->account->getSecureValue](../methods/account_getSecureValue.md) +[$MadelineProto->account->getSecureValue](../methods/account.getSecureValue.md) -[$MadelineProto->account->saveSecureValue](../methods/account_saveSecureValue.md) +[$MadelineProto->account->saveSecureValue](../methods/account.saveSecureValue.md) diff --git a/old_docs/API_docs_v81/types/StickerSetCovered.md b/old_docs/API_docs_v81/types/StickerSetCovered.md index ffd1da1f..f57cd117 100644 --- a/old_docs/API_docs_v81/types/StickerSetCovered.md +++ b/old_docs/API_docs_v81/types/StickerSetCovered.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getAttachedStickers](../methods/messages_getAttachedStickers.md) +[$MadelineProto->messages->getAttachedStickers](../methods/messages.getAttachedStickers.md) diff --git a/old_docs/API_docs_v81/types/Updates.md b/old_docs/API_docs_v81/types/Updates.md index a62f270d..ce894d44 100644 --- a/old_docs/API_docs_v81/types/Updates.md +++ b/old_docs/API_docs_v81/types/Updates.md @@ -28,73 +28,73 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->sendMessage](../methods/messages_sendMessage.md) +[$MadelineProto->messages->sendMessage](../methods/messages.sendMessage.md) -[$MadelineProto->messages->sendMedia](../methods/messages_sendMedia.md) +[$MadelineProto->messages->sendMedia](../methods/messages.sendMedia.md) -[$MadelineProto->messages->forwardMessages](../methods/messages_forwardMessages.md) +[$MadelineProto->messages->forwardMessages](../methods/messages.forwardMessages.md) -[$MadelineProto->messages->editChatTitle](../methods/messages_editChatTitle.md) +[$MadelineProto->messages->editChatTitle](../methods/messages.editChatTitle.md) -[$MadelineProto->messages->editChatPhoto](../methods/messages_editChatPhoto.md) +[$MadelineProto->messages->editChatPhoto](../methods/messages.editChatPhoto.md) -[$MadelineProto->messages->addChatUser](../methods/messages_addChatUser.md) +[$MadelineProto->messages->addChatUser](../methods/messages.addChatUser.md) -[$MadelineProto->messages->deleteChatUser](../methods/messages_deleteChatUser.md) +[$MadelineProto->messages->deleteChatUser](../methods/messages.deleteChatUser.md) -[$MadelineProto->messages->createChat](../methods/messages_createChat.md) +[$MadelineProto->messages->createChat](../methods/messages.createChat.md) -[$MadelineProto->messages->importChatInvite](../methods/messages_importChatInvite.md) +[$MadelineProto->messages->importChatInvite](../methods/messages.importChatInvite.md) -[$MadelineProto->messages->startBot](../methods/messages_startBot.md) +[$MadelineProto->messages->startBot](../methods/messages.startBot.md) -[$MadelineProto->messages->toggleChatAdmins](../methods/messages_toggleChatAdmins.md) +[$MadelineProto->messages->toggleChatAdmins](../methods/messages.toggleChatAdmins.md) -[$MadelineProto->messages->migrateChat](../methods/messages_migrateChat.md) +[$MadelineProto->messages->migrateChat](../methods/messages.migrateChat.md) -[$MadelineProto->messages->sendInlineBotResult](../methods/messages_sendInlineBotResult.md) +[$MadelineProto->messages->sendInlineBotResult](../methods/messages.sendInlineBotResult.md) -[$MadelineProto->messages->editMessage](../methods/messages_editMessage.md) +[$MadelineProto->messages->editMessage](../methods/messages.editMessage.md) -[$MadelineProto->messages->getAllDrafts](../methods/messages_getAllDrafts.md) +[$MadelineProto->messages->getAllDrafts](../methods/messages.getAllDrafts.md) -[$MadelineProto->messages->setGameScore](../methods/messages_setGameScore.md) +[$MadelineProto->messages->setGameScore](../methods/messages.setGameScore.md) -[$MadelineProto->messages->sendScreenshotNotification](../methods/messages_sendScreenshotNotification.md) +[$MadelineProto->messages->sendScreenshotNotification](../methods/messages.sendScreenshotNotification.md) -[$MadelineProto->messages->sendMultiMedia](../methods/messages_sendMultiMedia.md) +[$MadelineProto->messages->sendMultiMedia](../methods/messages.sendMultiMedia.md) -[$MadelineProto->help->getAppChangelog](../methods/help_getAppChangelog.md) +[$MadelineProto->help->getAppChangelog](../methods/help.getAppChangelog.md) -[$MadelineProto->channels->createChannel](../methods/channels_createChannel.md) +[$MadelineProto->channels->createChannel](../methods/channels.createChannel.md) -[$MadelineProto->channels->editAdmin](../methods/channels_editAdmin.md) +[$MadelineProto->channels->editAdmin](../methods/channels.editAdmin.md) -[$MadelineProto->channels->editTitle](../methods/channels_editTitle.md) +[$MadelineProto->channels->editTitle](../methods/channels.editTitle.md) -[$MadelineProto->channels->editPhoto](../methods/channels_editPhoto.md) +[$MadelineProto->channels->editPhoto](../methods/channels.editPhoto.md) -[$MadelineProto->channels->joinChannel](../methods/channels_joinChannel.md) +[$MadelineProto->channels->joinChannel](../methods/channels.joinChannel.md) -[$MadelineProto->channels->leaveChannel](../methods/channels_leaveChannel.md) +[$MadelineProto->channels->leaveChannel](../methods/channels.leaveChannel.md) -[$MadelineProto->channels->inviteToChannel](../methods/channels_inviteToChannel.md) +[$MadelineProto->channels->inviteToChannel](../methods/channels.inviteToChannel.md) -[$MadelineProto->channels->deleteChannel](../methods/channels_deleteChannel.md) +[$MadelineProto->channels->deleteChannel](../methods/channels.deleteChannel.md) -[$MadelineProto->channels->toggleInvites](../methods/channels_toggleInvites.md) +[$MadelineProto->channels->toggleInvites](../methods/channels.toggleInvites.md) -[$MadelineProto->channels->toggleSignatures](../methods/channels_toggleSignatures.md) +[$MadelineProto->channels->toggleSignatures](../methods/channels.toggleSignatures.md) -[$MadelineProto->channels->updatePinnedMessage](../methods/channels_updatePinnedMessage.md) +[$MadelineProto->channels->updatePinnedMessage](../methods/channels.updatePinnedMessage.md) -[$MadelineProto->channels->editBanned](../methods/channels_editBanned.md) +[$MadelineProto->channels->editBanned](../methods/channels.editBanned.md) -[$MadelineProto->channels->togglePreHistoryHidden](../methods/channels_togglePreHistoryHidden.md) +[$MadelineProto->channels->togglePreHistoryHidden](../methods/channels.togglePreHistoryHidden.md) -[$MadelineProto->phone->discardCall](../methods/phone_discardCall.md) +[$MadelineProto->phone->discardCall](../methods/phone.discardCall.md) -[$MadelineProto->phone->setCallRating](../methods/phone_setCallRating.md) +[$MadelineProto->phone->setCallRating](../methods/phone.setCallRating.md) diff --git a/old_docs/API_docs_v81/types/User.md b/old_docs/API_docs_v81/types/User.md index 3abd182f..a2e028f4 100644 --- a/old_docs/API_docs_v81/types/User.md +++ b/old_docs/API_docs_v81/types/User.md @@ -42,15 +42,15 @@ A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDia ### Methods that return an object of this type (methods): -[$MadelineProto->account->updateProfile](../methods/account_updateProfile.md) +[$MadelineProto->account->updateProfile](../methods/account.updateProfile.md) -[$MadelineProto->account->updateUsername](../methods/account_updateUsername.md) +[$MadelineProto->account->updateUsername](../methods/account.updateUsername.md) -[$MadelineProto->account->changePhone](../methods/account_changePhone.md) +[$MadelineProto->account->changePhone](../methods/account.changePhone.md) -[$MadelineProto->users->getUsers](../methods/users_getUsers.md) +[$MadelineProto->users->getUsers](../methods/users.getUsers.md) -[$MadelineProto->contacts->importCard](../methods/contacts_importCard.md) +[$MadelineProto->contacts->importCard](../methods/contacts.importCard.md) diff --git a/old_docs/API_docs_v81/types/UserFull.md b/old_docs/API_docs_v81/types/UserFull.md index 79ad30bb..ac50052f 100644 --- a/old_docs/API_docs_v81/types/UserFull.md +++ b/old_docs/API_docs_v81/types/UserFull.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->users->getFullUser](../methods/users_getFullUser.md) +[$MadelineProto->users->getFullUser](../methods/users.getFullUser.md) diff --git a/old_docs/API_docs_v81/types/UserProfilePhoto.md b/old_docs/API_docs_v81/types/UserProfilePhoto.md index e5243a2e..e81e92fd 100644 --- a/old_docs/API_docs_v81/types/UserProfilePhoto.md +++ b/old_docs/API_docs_v81/types/UserProfilePhoto.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->photos->updateProfilePhoto](../methods/photos_updateProfilePhoto.md) +[$MadelineProto->photos->updateProfilePhoto](../methods/photos.updateProfilePhoto.md) diff --git a/old_docs/API_docs_v81/types/WallPaper.md b/old_docs/API_docs_v81/types/WallPaper.md index 8c5ac7cf..45337565 100644 --- a/old_docs/API_docs_v81/types/WallPaper.md +++ b/old_docs/API_docs_v81/types/WallPaper.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->account->getWallPapers](../methods/account_getWallPapers.md) +[$MadelineProto->account->getWallPapers](../methods/account.getWallPapers.md) diff --git a/old_docs/API_docs_v81/types/WebPage.md b/old_docs/API_docs_v81/types/WebPage.md index a3df791f..f6b61c5e 100644 --- a/old_docs/API_docs_v81/types/WebPage.md +++ b/old_docs/API_docs_v81/types/WebPage.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getWebPage](../methods/messages_getWebPage.md) +[$MadelineProto->messages->getWebPage](../methods/messages.getWebPage.md) diff --git a/old_docs/API_docs_v81/types/account.AuthorizationForm.md b/old_docs/API_docs_v81/types/account.AuthorizationForm.md new file mode 100644 index 00000000..860ff40f --- /dev/null +++ b/old_docs/API_docs_v81/types/account.AuthorizationForm.md @@ -0,0 +1,22 @@ +--- +title: account.AuthorizationForm +description: constructors and methods of type account.AuthorizationForm +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.AuthorizationForm +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.authorizationForm](../constructors/account.authorizationForm.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getAuthorizationForm](../methods/account.getAuthorizationForm.md) + + + diff --git a/old_docs/API_docs_v81/types/account.Authorizations.md b/old_docs/API_docs_v81/types/account.Authorizations.md new file mode 100644 index 00000000..f9112038 --- /dev/null +++ b/old_docs/API_docs_v81/types/account.Authorizations.md @@ -0,0 +1,22 @@ +--- +title: account.Authorizations +description: constructors and methods of type account.Authorizations +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.Authorizations +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.authorizations](../constructors/account.authorizations.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getAuthorizations](../methods/account.getAuthorizations.md) + + + diff --git a/old_docs/API_docs_v81/types/account.Password.md b/old_docs/API_docs_v81/types/account.Password.md new file mode 100644 index 00000000..5217ab5e --- /dev/null +++ b/old_docs/API_docs_v81/types/account.Password.md @@ -0,0 +1,24 @@ +--- +title: account.Password +description: constructors and methods of type account.Password +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.Password +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.noPassword](../constructors/account.noPassword.md) + +[account.password](../constructors/account.password.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getPassword](../methods/account.getPassword.md) + + + diff --git a/old_docs/API_docs_v81/types/account.PasswordInputSettings.md b/old_docs/API_docs_v81/types/account.PasswordInputSettings.md new file mode 100644 index 00000000..72e11fdc --- /dev/null +++ b/old_docs/API_docs_v81/types/account.PasswordInputSettings.md @@ -0,0 +1,20 @@ +--- +title: account.PasswordInputSettings +description: constructors and methods of type account.PasswordInputSettings +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.PasswordInputSettings +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.passwordInputSettings](../constructors/account.passwordInputSettings.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v81/types/account.PasswordSettings.md b/old_docs/API_docs_v81/types/account.PasswordSettings.md new file mode 100644 index 00000000..47016832 --- /dev/null +++ b/old_docs/API_docs_v81/types/account.PasswordSettings.md @@ -0,0 +1,22 @@ +--- +title: account.PasswordSettings +description: constructors and methods of type account.PasswordSettings +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.PasswordSettings +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.passwordSettings](../constructors/account.passwordSettings.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getPasswordSettings](../methods/account.getPasswordSettings.md) + + + diff --git a/old_docs/API_docs_v81/types/account.PrivacyRules.md b/old_docs/API_docs_v81/types/account.PrivacyRules.md new file mode 100644 index 00000000..738651ad --- /dev/null +++ b/old_docs/API_docs_v81/types/account.PrivacyRules.md @@ -0,0 +1,24 @@ +--- +title: account.PrivacyRules +description: constructors and methods of type account.PrivacyRules +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.PrivacyRules +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.privacyRules](../constructors/account.privacyRules.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getPrivacy](../methods/account.getPrivacy.md) + +[$MadelineProto->account->setPrivacy](../methods/account.setPrivacy.md) + + + diff --git a/old_docs/API_docs_v81/types/account.SentEmailCode.md b/old_docs/API_docs_v81/types/account.SentEmailCode.md new file mode 100644 index 00000000..6adcd649 --- /dev/null +++ b/old_docs/API_docs_v81/types/account.SentEmailCode.md @@ -0,0 +1,22 @@ +--- +title: account.SentEmailCode +description: constructors and methods of type account.SentEmailCode +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.SentEmailCode +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.sentEmailCode](../constructors/account.sentEmailCode.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->sendVerifyEmailCode](../methods/account.sendVerifyEmailCode.md) + + + diff --git a/old_docs/API_docs_v81/types/account.Takeout.md b/old_docs/API_docs_v81/types/account.Takeout.md new file mode 100644 index 00000000..96998ce4 --- /dev/null +++ b/old_docs/API_docs_v81/types/account.Takeout.md @@ -0,0 +1,22 @@ +--- +title: account.Takeout +description: constructors and methods of type account.Takeout +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.Takeout +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.takeout](../constructors/account.takeout.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->initTakeoutSession](../methods/account.initTakeoutSession.md) + + + diff --git a/old_docs/API_docs_v81/types/account.TmpPassword.md b/old_docs/API_docs_v81/types/account.TmpPassword.md new file mode 100644 index 00000000..2116c6c0 --- /dev/null +++ b/old_docs/API_docs_v81/types/account.TmpPassword.md @@ -0,0 +1,22 @@ +--- +title: account.TmpPassword +description: constructors and methods of type account.TmpPassword +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.TmpPassword +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.tmpPassword](../constructors/account.tmpPassword.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getTmpPassword](../methods/account.getTmpPassword.md) + + + diff --git a/old_docs/API_docs_v81/types/account.WebAuthorizations.md b/old_docs/API_docs_v81/types/account.WebAuthorizations.md new file mode 100644 index 00000000..931633ef --- /dev/null +++ b/old_docs/API_docs_v81/types/account.WebAuthorizations.md @@ -0,0 +1,22 @@ +--- +title: account.WebAuthorizations +description: constructors and methods of type account.WebAuthorizations +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.WebAuthorizations +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.webAuthorizations](../constructors/account.webAuthorizations.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getWebAuthorizations](../methods/account.getWebAuthorizations.md) + + + diff --git a/old_docs/API_docs_v81/types/account_AuthorizationForm.md b/old_docs/API_docs_v81/types/account_AuthorizationForm.md deleted file mode 100644 index 5eec2b92..00000000 --- a/old_docs/API_docs_v81/types/account_AuthorizationForm.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_AuthorizationForm -description: constructors and methods of type account_AuthorizationForm -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_AuthorizationForm -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_authorizationForm](../constructors/account_authorizationForm.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getAuthorizationForm](../methods/account_getAuthorizationForm.md) - - - diff --git a/old_docs/API_docs_v81/types/account_Authorizations.md b/old_docs/API_docs_v81/types/account_Authorizations.md deleted file mode 100644 index 4709ddb5..00000000 --- a/old_docs/API_docs_v81/types/account_Authorizations.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_Authorizations -description: constructors and methods of type account_Authorizations -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_Authorizations -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_authorizations](../constructors/account_authorizations.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getAuthorizations](../methods/account_getAuthorizations.md) - - - diff --git a/old_docs/API_docs_v81/types/account_Password.md b/old_docs/API_docs_v81/types/account_Password.md deleted file mode 100644 index 23e05987..00000000 --- a/old_docs/API_docs_v81/types/account_Password.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: account_Password -description: constructors and methods of type account_Password -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_Password -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_noPassword](../constructors/account_noPassword.md) - -[account\_password](../constructors/account_password.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getPassword](../methods/account_getPassword.md) - - - diff --git a/old_docs/API_docs_v81/types/account_PasswordInputSettings.md b/old_docs/API_docs_v81/types/account_PasswordInputSettings.md deleted file mode 100644 index a6455eb8..00000000 --- a/old_docs/API_docs_v81/types/account_PasswordInputSettings.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: account_PasswordInputSettings -description: constructors and methods of type account_PasswordInputSettings -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_PasswordInputSettings -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_passwordInputSettings](../constructors/account_passwordInputSettings.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v81/types/account_PasswordSettings.md b/old_docs/API_docs_v81/types/account_PasswordSettings.md deleted file mode 100644 index 687eb217..00000000 --- a/old_docs/API_docs_v81/types/account_PasswordSettings.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_PasswordSettings -description: constructors and methods of type account_PasswordSettings -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_PasswordSettings -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_passwordSettings](../constructors/account_passwordSettings.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getPasswordSettings](../methods/account_getPasswordSettings.md) - - - diff --git a/old_docs/API_docs_v81/types/account_PrivacyRules.md b/old_docs/API_docs_v81/types/account_PrivacyRules.md deleted file mode 100644 index 40b00077..00000000 --- a/old_docs/API_docs_v81/types/account_PrivacyRules.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: account_PrivacyRules -description: constructors and methods of type account_PrivacyRules -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_PrivacyRules -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_privacyRules](../constructors/account_privacyRules.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getPrivacy](../methods/account_getPrivacy.md) - -[$MadelineProto->account->setPrivacy](../methods/account_setPrivacy.md) - - - diff --git a/old_docs/API_docs_v81/types/account_SentEmailCode.md b/old_docs/API_docs_v81/types/account_SentEmailCode.md deleted file mode 100644 index 4aa38335..00000000 --- a/old_docs/API_docs_v81/types/account_SentEmailCode.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_SentEmailCode -description: constructors and methods of type account_SentEmailCode -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_SentEmailCode -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_sentEmailCode](../constructors/account_sentEmailCode.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->sendVerifyEmailCode](../methods/account_sendVerifyEmailCode.md) - - - diff --git a/old_docs/API_docs_v81/types/account_Takeout.md b/old_docs/API_docs_v81/types/account_Takeout.md deleted file mode 100644 index 26960f88..00000000 --- a/old_docs/API_docs_v81/types/account_Takeout.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_Takeout -description: constructors and methods of type account_Takeout -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_Takeout -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_takeout](../constructors/account_takeout.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->initTakeoutSession](../methods/account_initTakeoutSession.md) - - - diff --git a/old_docs/API_docs_v81/types/account_TmpPassword.md b/old_docs/API_docs_v81/types/account_TmpPassword.md deleted file mode 100644 index d7557921..00000000 --- a/old_docs/API_docs_v81/types/account_TmpPassword.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_TmpPassword -description: constructors and methods of type account_TmpPassword -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_TmpPassword -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_tmpPassword](../constructors/account_tmpPassword.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getTmpPassword](../methods/account_getTmpPassword.md) - - - diff --git a/old_docs/API_docs_v81/types/account_WebAuthorizations.md b/old_docs/API_docs_v81/types/account_WebAuthorizations.md deleted file mode 100644 index 1202632b..00000000 --- a/old_docs/API_docs_v81/types/account_WebAuthorizations.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_WebAuthorizations -description: constructors and methods of type account_WebAuthorizations -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_WebAuthorizations -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_webAuthorizations](../constructors/account_webAuthorizations.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getWebAuthorizations](../methods/account_getWebAuthorizations.md) - - - diff --git a/old_docs/API_docs_v81/types/auth.Authorization.md b/old_docs/API_docs_v81/types/auth.Authorization.md new file mode 100644 index 00000000..adcfa7d3 --- /dev/null +++ b/old_docs/API_docs_v81/types/auth.Authorization.md @@ -0,0 +1,32 @@ +--- +title: auth.Authorization +description: constructors and methods of type auth.Authorization +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.Authorization +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.authorization](../constructors/auth.authorization.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->signUp](../methods/auth.signUp.md) + +[$MadelineProto->auth->signIn](../methods/auth.signIn.md) + +[$MadelineProto->auth->importAuthorization](../methods/auth.importAuthorization.md) + +[$MadelineProto->auth->importBotAuthorization](../methods/auth.importBotAuthorization.md) + +[$MadelineProto->auth->checkPassword](../methods/auth.checkPassword.md) + +[$MadelineProto->auth->recoverPassword](../methods/auth.recoverPassword.md) + + + diff --git a/old_docs/API_docs_v81/types/auth.CheckedPhone.md b/old_docs/API_docs_v81/types/auth.CheckedPhone.md new file mode 100644 index 00000000..1d6672e7 --- /dev/null +++ b/old_docs/API_docs_v81/types/auth.CheckedPhone.md @@ -0,0 +1,20 @@ +--- +title: auth.CheckedPhone +description: constructors and methods of type auth.CheckedPhone +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.CheckedPhone +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.checkedPhone](../constructors/auth.checkedPhone.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v81/types/auth.CodeType.md b/old_docs/API_docs_v81/types/auth.CodeType.md new file mode 100644 index 00000000..8d2b308d --- /dev/null +++ b/old_docs/API_docs_v81/types/auth.CodeType.md @@ -0,0 +1,24 @@ +--- +title: auth.CodeType +description: constructors and methods of type auth.CodeType +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.CodeType +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.codeTypeSms](../constructors/auth.codeTypeSms.md) + +[auth.codeTypeCall](../constructors/auth.codeTypeCall.md) + +[auth.codeTypeFlashCall](../constructors/auth.codeTypeFlashCall.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v81/types/auth.ExportedAuthorization.md b/old_docs/API_docs_v81/types/auth.ExportedAuthorization.md new file mode 100644 index 00000000..ccb38d60 --- /dev/null +++ b/old_docs/API_docs_v81/types/auth.ExportedAuthorization.md @@ -0,0 +1,22 @@ +--- +title: auth.ExportedAuthorization +description: constructors and methods of type auth.ExportedAuthorization +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.ExportedAuthorization +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.exportedAuthorization](../constructors/auth.exportedAuthorization.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->exportAuthorization](../methods/auth.exportAuthorization.md) + + + diff --git a/old_docs/API_docs_v81/types/auth.PasswordRecovery.md b/old_docs/API_docs_v81/types/auth.PasswordRecovery.md new file mode 100644 index 00000000..c1c18992 --- /dev/null +++ b/old_docs/API_docs_v81/types/auth.PasswordRecovery.md @@ -0,0 +1,22 @@ +--- +title: auth.PasswordRecovery +description: constructors and methods of type auth.PasswordRecovery +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.PasswordRecovery +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.passwordRecovery](../constructors/auth.passwordRecovery.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->requestPasswordRecovery](../methods/auth.requestPasswordRecovery.md) + + + diff --git a/old_docs/API_docs_v81/types/auth.SentCode.md b/old_docs/API_docs_v81/types/auth.SentCode.md new file mode 100644 index 00000000..4950edeb --- /dev/null +++ b/old_docs/API_docs_v81/types/auth.SentCode.md @@ -0,0 +1,30 @@ +--- +title: auth.SentCode +description: constructors and methods of type auth.SentCode +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.SentCode +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.sentCode](../constructors/auth.sentCode.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->sendCode](../methods/auth.sendCode.md) + +[$MadelineProto->auth->resendCode](../methods/auth.resendCode.md) + +[$MadelineProto->account->sendChangePhoneCode](../methods/account.sendChangePhoneCode.md) + +[$MadelineProto->account->sendConfirmPhoneCode](../methods/account.sendConfirmPhoneCode.md) + +[$MadelineProto->account->sendVerifyPhoneCode](../methods/account.sendVerifyPhoneCode.md) + + + diff --git a/old_docs/API_docs_v81/types/auth.SentCodeType.md b/old_docs/API_docs_v81/types/auth.SentCodeType.md new file mode 100644 index 00000000..7c7c534e --- /dev/null +++ b/old_docs/API_docs_v81/types/auth.SentCodeType.md @@ -0,0 +1,26 @@ +--- +title: auth.SentCodeType +description: constructors and methods of type auth.SentCodeType +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.SentCodeType +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.sentCodeTypeApp](../constructors/auth.sentCodeTypeApp.md) + +[auth.sentCodeTypeSms](../constructors/auth.sentCodeTypeSms.md) + +[auth.sentCodeTypeCall](../constructors/auth.sentCodeTypeCall.md) + +[auth.sentCodeTypeFlashCall](../constructors/auth.sentCodeTypeFlashCall.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v81/types/auth_Authorization.md b/old_docs/API_docs_v81/types/auth_Authorization.md deleted file mode 100644 index 5a34fc2d..00000000 --- a/old_docs/API_docs_v81/types/auth_Authorization.md +++ /dev/null @@ -1,32 +0,0 @@ ---- -title: auth_Authorization -description: constructors and methods of type auth_Authorization -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_Authorization -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_authorization](../constructors/auth_authorization.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->signUp](../methods/auth_signUp.md) - -[$MadelineProto->auth->signIn](../methods/auth_signIn.md) - -[$MadelineProto->auth->importAuthorization](../methods/auth_importAuthorization.md) - -[$MadelineProto->auth->importBotAuthorization](../methods/auth_importBotAuthorization.md) - -[$MadelineProto->auth->checkPassword](../methods/auth_checkPassword.md) - -[$MadelineProto->auth->recoverPassword](../methods/auth_recoverPassword.md) - - - diff --git a/old_docs/API_docs_v81/types/auth_CheckedPhone.md b/old_docs/API_docs_v81/types/auth_CheckedPhone.md deleted file mode 100644 index e2b823f7..00000000 --- a/old_docs/API_docs_v81/types/auth_CheckedPhone.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: auth_CheckedPhone -description: constructors and methods of type auth_CheckedPhone -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_CheckedPhone -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_checkedPhone](../constructors/auth_checkedPhone.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v81/types/auth_CodeType.md b/old_docs/API_docs_v81/types/auth_CodeType.md deleted file mode 100644 index 3cd9a7b7..00000000 --- a/old_docs/API_docs_v81/types/auth_CodeType.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: auth_CodeType -description: constructors and methods of type auth_CodeType -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_CodeType -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_codeTypeSms](../constructors/auth_codeTypeSms.md) - -[auth\_codeTypeCall](../constructors/auth_codeTypeCall.md) - -[auth\_codeTypeFlashCall](../constructors/auth_codeTypeFlashCall.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v81/types/auth_ExportedAuthorization.md b/old_docs/API_docs_v81/types/auth_ExportedAuthorization.md deleted file mode 100644 index 69e5c42e..00000000 --- a/old_docs/API_docs_v81/types/auth_ExportedAuthorization.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: auth_ExportedAuthorization -description: constructors and methods of type auth_ExportedAuthorization -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_ExportedAuthorization -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_exportedAuthorization](../constructors/auth_exportedAuthorization.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->exportAuthorization](../methods/auth_exportAuthorization.md) - - - diff --git a/old_docs/API_docs_v81/types/auth_PasswordRecovery.md b/old_docs/API_docs_v81/types/auth_PasswordRecovery.md deleted file mode 100644 index 4962bf42..00000000 --- a/old_docs/API_docs_v81/types/auth_PasswordRecovery.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: auth_PasswordRecovery -description: constructors and methods of type auth_PasswordRecovery -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_PasswordRecovery -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_passwordRecovery](../constructors/auth_passwordRecovery.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->requestPasswordRecovery](../methods/auth_requestPasswordRecovery.md) - - - diff --git a/old_docs/API_docs_v81/types/auth_SentCode.md b/old_docs/API_docs_v81/types/auth_SentCode.md deleted file mode 100644 index 140d956c..00000000 --- a/old_docs/API_docs_v81/types/auth_SentCode.md +++ /dev/null @@ -1,30 +0,0 @@ ---- -title: auth_SentCode -description: constructors and methods of type auth_SentCode -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_SentCode -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_sentCode](../constructors/auth_sentCode.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->sendCode](../methods/auth_sendCode.md) - -[$MadelineProto->auth->resendCode](../methods/auth_resendCode.md) - -[$MadelineProto->account->sendChangePhoneCode](../methods/account_sendChangePhoneCode.md) - -[$MadelineProto->account->sendConfirmPhoneCode](../methods/account_sendConfirmPhoneCode.md) - -[$MadelineProto->account->sendVerifyPhoneCode](../methods/account_sendVerifyPhoneCode.md) - - - diff --git a/old_docs/API_docs_v81/types/auth_SentCodeType.md b/old_docs/API_docs_v81/types/auth_SentCodeType.md deleted file mode 100644 index 8dfcb93b..00000000 --- a/old_docs/API_docs_v81/types/auth_SentCodeType.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: auth_SentCodeType -description: constructors and methods of type auth_SentCodeType -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_SentCodeType -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_sentCodeTypeApp](../constructors/auth_sentCodeTypeApp.md) - -[auth\_sentCodeTypeSms](../constructors/auth_sentCodeTypeSms.md) - -[auth\_sentCodeTypeCall](../constructors/auth_sentCodeTypeCall.md) - -[auth\_sentCodeTypeFlashCall](../constructors/auth_sentCodeTypeFlashCall.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v81/types/channels.AdminLogResults.md b/old_docs/API_docs_v81/types/channels.AdminLogResults.md new file mode 100644 index 00000000..7855a4fd --- /dev/null +++ b/old_docs/API_docs_v81/types/channels.AdminLogResults.md @@ -0,0 +1,22 @@ +--- +title: channels.AdminLogResults +description: constructors and methods of type channels.AdminLogResults +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: channels.AdminLogResults +[Back to types index](index.md) + + + +### Possible values (constructors): + +[channels.adminLogResults](../constructors/channels.adminLogResults.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->channels->getAdminLog](../methods/channels.getAdminLog.md) + + + diff --git a/old_docs/API_docs_v81/types/channels.ChannelParticipant.md b/old_docs/API_docs_v81/types/channels.ChannelParticipant.md new file mode 100644 index 00000000..8dc7f7e6 --- /dev/null +++ b/old_docs/API_docs_v81/types/channels.ChannelParticipant.md @@ -0,0 +1,22 @@ +--- +title: channels.ChannelParticipant +description: constructors and methods of type channels.ChannelParticipant +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: channels.ChannelParticipant +[Back to types index](index.md) + + + +### Possible values (constructors): + +[channels.channelParticipant](../constructors/channels.channelParticipant.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->channels->getParticipant](../methods/channels.getParticipant.md) + + + diff --git a/old_docs/API_docs_v81/types/channels.ChannelParticipants.md b/old_docs/API_docs_v81/types/channels.ChannelParticipants.md new file mode 100644 index 00000000..d448e007 --- /dev/null +++ b/old_docs/API_docs_v81/types/channels.ChannelParticipants.md @@ -0,0 +1,24 @@ +--- +title: channels.ChannelParticipants +description: constructors and methods of type channels.ChannelParticipants +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: channels.ChannelParticipants +[Back to types index](index.md) + + + +### Possible values (constructors): + +[channels.channelParticipants](../constructors/channels.channelParticipants.md) + +[channels.channelParticipantsNotModified](../constructors/channels.channelParticipantsNotModified.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->channels->getParticipants](../methods/channels.getParticipants.md) + + + diff --git a/old_docs/API_docs_v81/types/channels_AdminLogResults.md b/old_docs/API_docs_v81/types/channels_AdminLogResults.md deleted file mode 100644 index 4e9b5544..00000000 --- a/old_docs/API_docs_v81/types/channels_AdminLogResults.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: channels_AdminLogResults -description: constructors and methods of type channels_AdminLogResults -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: channels\_AdminLogResults -[Back to types index](index.md) - - - -### Possible values (constructors): - -[channels\_adminLogResults](../constructors/channels_adminLogResults.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->channels->getAdminLog](../methods/channels_getAdminLog.md) - - - diff --git a/old_docs/API_docs_v81/types/channels_ChannelParticipant.md b/old_docs/API_docs_v81/types/channels_ChannelParticipant.md deleted file mode 100644 index 3d4667c3..00000000 --- a/old_docs/API_docs_v81/types/channels_ChannelParticipant.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: channels_ChannelParticipant -description: constructors and methods of type channels_ChannelParticipant -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: channels\_ChannelParticipant -[Back to types index](index.md) - - - -### Possible values (constructors): - -[channels\_channelParticipant](../constructors/channels_channelParticipant.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->channels->getParticipant](../methods/channels_getParticipant.md) - - - diff --git a/old_docs/API_docs_v81/types/channels_ChannelParticipants.md b/old_docs/API_docs_v81/types/channels_ChannelParticipants.md deleted file mode 100644 index 80a41dd9..00000000 --- a/old_docs/API_docs_v81/types/channels_ChannelParticipants.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: channels_ChannelParticipants -description: constructors and methods of type channels_ChannelParticipants -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: channels\_ChannelParticipants -[Back to types index](index.md) - - - -### Possible values (constructors): - -[channels\_channelParticipants](../constructors/channels_channelParticipants.md) - -[channels\_channelParticipantsNotModified](../constructors/channels_channelParticipantsNotModified.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->channels->getParticipants](../methods/channels_getParticipants.md) - - - diff --git a/old_docs/API_docs_v81/types/contacts.Blocked.md b/old_docs/API_docs_v81/types/contacts.Blocked.md new file mode 100644 index 00000000..cb2af80f --- /dev/null +++ b/old_docs/API_docs_v81/types/contacts.Blocked.md @@ -0,0 +1,24 @@ +--- +title: contacts.Blocked +description: constructors and methods of type contacts.Blocked +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Blocked +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.blocked](../constructors/contacts.blocked.md) + +[contacts.blockedSlice](../constructors/contacts.blockedSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getBlocked](../methods/contacts.getBlocked.md) + + + diff --git a/old_docs/API_docs_v81/types/contacts.Contacts.md b/old_docs/API_docs_v81/types/contacts.Contacts.md new file mode 100644 index 00000000..5f695d8e --- /dev/null +++ b/old_docs/API_docs_v81/types/contacts.Contacts.md @@ -0,0 +1,24 @@ +--- +title: contacts.Contacts +description: constructors and methods of type contacts.Contacts +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Contacts +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.contactsNotModified](../constructors/contacts.contactsNotModified.md) + +[contacts.contacts](../constructors/contacts.contacts.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getContacts](../methods/contacts.getContacts.md) + + + diff --git a/old_docs/API_docs_v81/types/contacts.Found.md b/old_docs/API_docs_v81/types/contacts.Found.md new file mode 100644 index 00000000..7df98927 --- /dev/null +++ b/old_docs/API_docs_v81/types/contacts.Found.md @@ -0,0 +1,22 @@ +--- +title: contacts.Found +description: constructors and methods of type contacts.Found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Found +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.found](../constructors/contacts.found.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->search](../methods/contacts.search.md) + + + diff --git a/old_docs/API_docs_v81/types/contacts.ImportedContacts.md b/old_docs/API_docs_v81/types/contacts.ImportedContacts.md new file mode 100644 index 00000000..16795bab --- /dev/null +++ b/old_docs/API_docs_v81/types/contacts.ImportedContacts.md @@ -0,0 +1,22 @@ +--- +title: contacts.ImportedContacts +description: constructors and methods of type contacts.ImportedContacts +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.ImportedContacts +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.importedContacts](../constructors/contacts.importedContacts.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->importContacts](../methods/contacts.importContacts.md) + + + diff --git a/old_docs/API_docs_v81/types/contacts.Link.md b/old_docs/API_docs_v81/types/contacts.Link.md new file mode 100644 index 00000000..eb9da683 --- /dev/null +++ b/old_docs/API_docs_v81/types/contacts.Link.md @@ -0,0 +1,22 @@ +--- +title: contacts.Link +description: constructors and methods of type contacts.Link +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Link +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.link](../constructors/contacts.link.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->deleteContact](../methods/contacts.deleteContact.md) + + + diff --git a/old_docs/API_docs_v81/types/contacts.ResolvedPeer.md b/old_docs/API_docs_v81/types/contacts.ResolvedPeer.md new file mode 100644 index 00000000..13630d54 --- /dev/null +++ b/old_docs/API_docs_v81/types/contacts.ResolvedPeer.md @@ -0,0 +1,22 @@ +--- +title: contacts.ResolvedPeer +description: constructors and methods of type contacts.ResolvedPeer +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.ResolvedPeer +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.resolvedPeer](../constructors/contacts.resolvedPeer.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->resolveUsername](../methods/contacts.resolveUsername.md) + + + diff --git a/old_docs/API_docs_v81/types/contacts.TopPeers.md b/old_docs/API_docs_v81/types/contacts.TopPeers.md new file mode 100644 index 00000000..b8107616 --- /dev/null +++ b/old_docs/API_docs_v81/types/contacts.TopPeers.md @@ -0,0 +1,24 @@ +--- +title: contacts.TopPeers +description: constructors and methods of type contacts.TopPeers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.TopPeers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.topPeersNotModified](../constructors/contacts.topPeersNotModified.md) + +[contacts.topPeers](../constructors/contacts.topPeers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getTopPeers](../methods/contacts.getTopPeers.md) + + + diff --git a/old_docs/API_docs_v81/types/contacts_Blocked.md b/old_docs/API_docs_v81/types/contacts_Blocked.md deleted file mode 100644 index 3e1f02eb..00000000 --- a/old_docs/API_docs_v81/types/contacts_Blocked.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: contacts_Blocked -description: constructors and methods of type contacts_Blocked -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Blocked -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_blocked](../constructors/contacts_blocked.md) - -[contacts\_blockedSlice](../constructors/contacts_blockedSlice.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->getBlocked](../methods/contacts_getBlocked.md) - - - diff --git a/old_docs/API_docs_v81/types/contacts_Contacts.md b/old_docs/API_docs_v81/types/contacts_Contacts.md deleted file mode 100644 index 5d6c9506..00000000 --- a/old_docs/API_docs_v81/types/contacts_Contacts.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: contacts_Contacts -description: constructors and methods of type contacts_Contacts -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Contacts -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_contactsNotModified](../constructors/contacts_contactsNotModified.md) - -[contacts\_contacts](../constructors/contacts_contacts.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->getContacts](../methods/contacts_getContacts.md) - - - diff --git a/old_docs/API_docs_v81/types/contacts_Found.md b/old_docs/API_docs_v81/types/contacts_Found.md deleted file mode 100644 index 806101cf..00000000 --- a/old_docs/API_docs_v81/types/contacts_Found.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_Found -description: constructors and methods of type contacts_Found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Found -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_found](../constructors/contacts_found.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->search](../methods/contacts_search.md) - - - diff --git a/old_docs/API_docs_v81/types/contacts_ImportedContacts.md b/old_docs/API_docs_v81/types/contacts_ImportedContacts.md deleted file mode 100644 index faf7e615..00000000 --- a/old_docs/API_docs_v81/types/contacts_ImportedContacts.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_ImportedContacts -description: constructors and methods of type contacts_ImportedContacts -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_ImportedContacts -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_importedContacts](../constructors/contacts_importedContacts.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->importContacts](../methods/contacts_importContacts.md) - - - diff --git a/old_docs/API_docs_v81/types/contacts_Link.md b/old_docs/API_docs_v81/types/contacts_Link.md deleted file mode 100644 index 01556606..00000000 --- a/old_docs/API_docs_v81/types/contacts_Link.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_Link -description: constructors and methods of type contacts_Link -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Link -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_link](../constructors/contacts_link.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->deleteContact](../methods/contacts_deleteContact.md) - - - diff --git a/old_docs/API_docs_v81/types/contacts_ResolvedPeer.md b/old_docs/API_docs_v81/types/contacts_ResolvedPeer.md deleted file mode 100644 index cf107f7c..00000000 --- a/old_docs/API_docs_v81/types/contacts_ResolvedPeer.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_ResolvedPeer -description: constructors and methods of type contacts_ResolvedPeer -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_ResolvedPeer -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_resolvedPeer](../constructors/contacts_resolvedPeer.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->resolveUsername](../methods/contacts_resolveUsername.md) - - - diff --git a/old_docs/API_docs_v81/types/contacts_TopPeers.md b/old_docs/API_docs_v81/types/contacts_TopPeers.md deleted file mode 100644 index fe4255c7..00000000 --- a/old_docs/API_docs_v81/types/contacts_TopPeers.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: contacts_TopPeers -description: constructors and methods of type contacts_TopPeers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_TopPeers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_topPeersNotModified](../constructors/contacts_topPeersNotModified.md) - -[contacts\_topPeers](../constructors/contacts_topPeers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->getTopPeers](../methods/contacts_getTopPeers.md) - - - diff --git a/old_docs/API_docs_v81/types/help.AppUpdate.md b/old_docs/API_docs_v81/types/help.AppUpdate.md new file mode 100644 index 00000000..285ec2b7 --- /dev/null +++ b/old_docs/API_docs_v81/types/help.AppUpdate.md @@ -0,0 +1,24 @@ +--- +title: help.AppUpdate +description: constructors and methods of type help.AppUpdate +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.AppUpdate +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.appUpdate](../constructors/help.appUpdate.md) + +[help.noAppUpdate](../constructors/help.noAppUpdate.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getAppUpdate](../methods/help.getAppUpdate.md) + + + diff --git a/old_docs/API_docs_v81/types/help.ConfigSimple.md b/old_docs/API_docs_v81/types/help.ConfigSimple.md new file mode 100644 index 00000000..92d9e15f --- /dev/null +++ b/old_docs/API_docs_v81/types/help.ConfigSimple.md @@ -0,0 +1,20 @@ +--- +title: help.ConfigSimple +description: constructors and methods of type help.ConfigSimple +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.ConfigSimple +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.configSimple](../constructors/help.configSimple.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v81/types/help.DeepLinkInfo.md b/old_docs/API_docs_v81/types/help.DeepLinkInfo.md new file mode 100644 index 00000000..356af1c4 --- /dev/null +++ b/old_docs/API_docs_v81/types/help.DeepLinkInfo.md @@ -0,0 +1,24 @@ +--- +title: help.DeepLinkInfo +description: constructors and methods of type help.DeepLinkInfo +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.DeepLinkInfo +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.deepLinkInfoEmpty](../constructors/help.deepLinkInfoEmpty.md) + +[help.deepLinkInfo](../constructors/help.deepLinkInfo.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getDeepLinkInfo](../methods/help.getDeepLinkInfo.md) + + + diff --git a/old_docs/API_docs_v81/types/help.InviteText.md b/old_docs/API_docs_v81/types/help.InviteText.md new file mode 100644 index 00000000..43293f46 --- /dev/null +++ b/old_docs/API_docs_v81/types/help.InviteText.md @@ -0,0 +1,22 @@ +--- +title: help.InviteText +description: constructors and methods of type help.InviteText +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.InviteText +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.inviteText](../constructors/help.inviteText.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getInviteText](../methods/help.getInviteText.md) + + + diff --git a/old_docs/API_docs_v81/types/help.ProxyData.md b/old_docs/API_docs_v81/types/help.ProxyData.md new file mode 100644 index 00000000..e45b4211 --- /dev/null +++ b/old_docs/API_docs_v81/types/help.ProxyData.md @@ -0,0 +1,24 @@ +--- +title: help.ProxyData +description: constructors and methods of type help.ProxyData +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.ProxyData +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.proxyDataEmpty](../constructors/help.proxyDataEmpty.md) + +[help.proxyDataPromo](../constructors/help.proxyDataPromo.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getProxyData](../methods/help.getProxyData.md) + + + diff --git a/old_docs/API_docs_v81/types/help.RecentMeUrls.md b/old_docs/API_docs_v81/types/help.RecentMeUrls.md new file mode 100644 index 00000000..6b7ee2c1 --- /dev/null +++ b/old_docs/API_docs_v81/types/help.RecentMeUrls.md @@ -0,0 +1,22 @@ +--- +title: help.RecentMeUrls +description: constructors and methods of type help.RecentMeUrls +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.RecentMeUrls +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.recentMeUrls](../constructors/help.recentMeUrls.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getRecentMeUrls](../methods/help.getRecentMeUrls.md) + + + diff --git a/old_docs/API_docs_v81/types/help.Support.md b/old_docs/API_docs_v81/types/help.Support.md new file mode 100644 index 00000000..42c20483 --- /dev/null +++ b/old_docs/API_docs_v81/types/help.Support.md @@ -0,0 +1,22 @@ +--- +title: help.Support +description: constructors and methods of type help.Support +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.Support +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.support](../constructors/help.support.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getSupport](../methods/help.getSupport.md) + + + diff --git a/old_docs/API_docs_v81/types/help.TermsOfServiceUpdate.md b/old_docs/API_docs_v81/types/help.TermsOfServiceUpdate.md new file mode 100644 index 00000000..e27b3c71 --- /dev/null +++ b/old_docs/API_docs_v81/types/help.TermsOfServiceUpdate.md @@ -0,0 +1,24 @@ +--- +title: help.TermsOfServiceUpdate +description: constructors and methods of type help.TermsOfServiceUpdate +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.TermsOfServiceUpdate +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.termsOfServiceUpdateEmpty](../constructors/help.termsOfServiceUpdateEmpty.md) + +[help.termsOfServiceUpdate](../constructors/help.termsOfServiceUpdate.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getTermsOfServiceUpdate](../methods/help.getTermsOfServiceUpdate.md) + + + diff --git a/old_docs/API_docs_v81/types/help.wTermsOfService.md b/old_docs/API_docs_v81/types/help.wTermsOfService.md new file mode 100644 index 00000000..8f486b4b --- /dev/null +++ b/old_docs/API_docs_v81/types/help.wTermsOfService.md @@ -0,0 +1,20 @@ +--- +title: help.wTermsOfService +description: constructors and methods of type help.wTermsOfService +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.wTermsOfService +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.termsOfService](../constructors/help.termsOfService.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v81/types/help_AppUpdate.md b/old_docs/API_docs_v81/types/help_AppUpdate.md deleted file mode 100644 index 1f296a70..00000000 --- a/old_docs/API_docs_v81/types/help_AppUpdate.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: help_AppUpdate -description: constructors and methods of type help_AppUpdate -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_AppUpdate -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_appUpdate](../constructors/help_appUpdate.md) - -[help\_noAppUpdate](../constructors/help_noAppUpdate.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getAppUpdate](../methods/help_getAppUpdate.md) - - - diff --git a/old_docs/API_docs_v81/types/help_ConfigSimple.md b/old_docs/API_docs_v81/types/help_ConfigSimple.md deleted file mode 100644 index 81678d74..00000000 --- a/old_docs/API_docs_v81/types/help_ConfigSimple.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: help_ConfigSimple -description: constructors and methods of type help_ConfigSimple -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_ConfigSimple -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_configSimple](../constructors/help_configSimple.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v81/types/help_DeepLinkInfo.md b/old_docs/API_docs_v81/types/help_DeepLinkInfo.md deleted file mode 100644 index 776e8e09..00000000 --- a/old_docs/API_docs_v81/types/help_DeepLinkInfo.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: help_DeepLinkInfo -description: constructors and methods of type help_DeepLinkInfo -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_DeepLinkInfo -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_deepLinkInfoEmpty](../constructors/help_deepLinkInfoEmpty.md) - -[help\_deepLinkInfo](../constructors/help_deepLinkInfo.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getDeepLinkInfo](../methods/help_getDeepLinkInfo.md) - - - diff --git a/old_docs/API_docs_v81/types/help_InviteText.md b/old_docs/API_docs_v81/types/help_InviteText.md deleted file mode 100644 index 018d35bf..00000000 --- a/old_docs/API_docs_v81/types/help_InviteText.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: help_InviteText -description: constructors and methods of type help_InviteText -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_InviteText -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_inviteText](../constructors/help_inviteText.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getInviteText](../methods/help_getInviteText.md) - - - diff --git a/old_docs/API_docs_v81/types/help_ProxyData.md b/old_docs/API_docs_v81/types/help_ProxyData.md deleted file mode 100644 index 1bc6839e..00000000 --- a/old_docs/API_docs_v81/types/help_ProxyData.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: help_ProxyData -description: constructors and methods of type help_ProxyData -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_ProxyData -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_proxyDataEmpty](../constructors/help_proxyDataEmpty.md) - -[help\_proxyDataPromo](../constructors/help_proxyDataPromo.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getProxyData](../methods/help_getProxyData.md) - - - diff --git a/old_docs/API_docs_v81/types/help_RecentMeUrls.md b/old_docs/API_docs_v81/types/help_RecentMeUrls.md deleted file mode 100644 index 691af1c3..00000000 --- a/old_docs/API_docs_v81/types/help_RecentMeUrls.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: help_RecentMeUrls -description: constructors and methods of type help_RecentMeUrls -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_RecentMeUrls -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_recentMeUrls](../constructors/help_recentMeUrls.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getRecentMeUrls](../methods/help_getRecentMeUrls.md) - - - diff --git a/old_docs/API_docs_v81/types/help_Support.md b/old_docs/API_docs_v81/types/help_Support.md deleted file mode 100644 index 26de447b..00000000 --- a/old_docs/API_docs_v81/types/help_Support.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: help_Support -description: constructors and methods of type help_Support -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_Support -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_support](../constructors/help_support.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getSupport](../methods/help_getSupport.md) - - - diff --git a/old_docs/API_docs_v81/types/help_TermsOfServiceUpdate.md b/old_docs/API_docs_v81/types/help_TermsOfServiceUpdate.md deleted file mode 100644 index 0e4f1ef2..00000000 --- a/old_docs/API_docs_v81/types/help_TermsOfServiceUpdate.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: help_TermsOfServiceUpdate -description: constructors and methods of type help_TermsOfServiceUpdate -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_TermsOfServiceUpdate -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_termsOfServiceUpdateEmpty](../constructors/help_termsOfServiceUpdateEmpty.md) - -[help\_termsOfServiceUpdate](../constructors/help_termsOfServiceUpdate.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getTermsOfServiceUpdate](../methods/help_getTermsOfServiceUpdate.md) - - - diff --git a/old_docs/API_docs_v81/types/help_wTermsOfService.md b/old_docs/API_docs_v81/types/help_wTermsOfService.md deleted file mode 100644 index 797be4dc..00000000 --- a/old_docs/API_docs_v81/types/help_wTermsOfService.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: help_wTermsOfService -description: constructors and methods of type help_wTermsOfService -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_wTermsOfService -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_termsOfService](../constructors/help_termsOfService.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v81/types/messages.AffectedHistory.md b/old_docs/API_docs_v81/types/messages.AffectedHistory.md new file mode 100644 index 00000000..8a1e850a --- /dev/null +++ b/old_docs/API_docs_v81/types/messages.AffectedHistory.md @@ -0,0 +1,26 @@ +--- +title: messages.AffectedHistory +description: constructors and methods of type messages.AffectedHistory +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.AffectedHistory +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.affectedHistory](../constructors/messages.affectedHistory.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->deleteHistory](../methods/messages.deleteHistory.md) + +[$MadelineProto->messages->readMentions](../methods/messages.readMentions.md) + +[$MadelineProto->channels->deleteUserHistory](../methods/channels.deleteUserHistory.md) + + + diff --git a/old_docs/API_docs_v81/types/messages.AffectedMessages.md b/old_docs/API_docs_v81/types/messages.AffectedMessages.md new file mode 100644 index 00000000..a9159de3 --- /dev/null +++ b/old_docs/API_docs_v81/types/messages.AffectedMessages.md @@ -0,0 +1,28 @@ +--- +title: messages.AffectedMessages +description: constructors and methods of type messages.AffectedMessages +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.AffectedMessages +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.affectedMessages](../constructors/messages.affectedMessages.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->readHistory](../methods/messages.readHistory.md) + +[$MadelineProto->messages->deleteMessages](../methods/messages.deleteMessages.md) + +[$MadelineProto->messages->readMessageContents](../methods/messages.readMessageContents.md) + +[$MadelineProto->channels->deleteMessages](../methods/channels.deleteMessages.md) + + + diff --git a/old_docs/API_docs_v81/types/messages.AllStickers.md b/old_docs/API_docs_v81/types/messages.AllStickers.md new file mode 100644 index 00000000..fd8565de --- /dev/null +++ b/old_docs/API_docs_v81/types/messages.AllStickers.md @@ -0,0 +1,26 @@ +--- +title: messages.AllStickers +description: constructors and methods of type messages.AllStickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.AllStickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.allStickersNotModified](../constructors/messages.allStickersNotModified.md) + +[messages.allStickers](../constructors/messages.allStickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getAllStickers](../methods/messages.getAllStickers.md) + +[$MadelineProto->messages->getMaskStickers](../methods/messages.getMaskStickers.md) + + + diff --git a/old_docs/API_docs_v81/types/messages.ArchivedStickers.md b/old_docs/API_docs_v81/types/messages.ArchivedStickers.md new file mode 100644 index 00000000..3e017c5d --- /dev/null +++ b/old_docs/API_docs_v81/types/messages.ArchivedStickers.md @@ -0,0 +1,22 @@ +--- +title: messages.ArchivedStickers +description: constructors and methods of type messages.ArchivedStickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.ArchivedStickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.archivedStickers](../constructors/messages.archivedStickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getArchivedStickers](../methods/messages.getArchivedStickers.md) + + + diff --git a/old_docs/API_docs_v81/types/messages.BotCallbackAnswer.md b/old_docs/API_docs_v81/types/messages.BotCallbackAnswer.md new file mode 100644 index 00000000..ef30fbfb --- /dev/null +++ b/old_docs/API_docs_v81/types/messages.BotCallbackAnswer.md @@ -0,0 +1,22 @@ +--- +title: messages.BotCallbackAnswer +description: constructors and methods of type messages.BotCallbackAnswer +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.BotCallbackAnswer +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.botCallbackAnswer](../constructors/messages.botCallbackAnswer.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getBotCallbackAnswer](../methods/messages.getBotCallbackAnswer.md) + + + diff --git a/old_docs/API_docs_v81/types/messages.BotResults.md b/old_docs/API_docs_v81/types/messages.BotResults.md new file mode 100644 index 00000000..76ee2b99 --- /dev/null +++ b/old_docs/API_docs_v81/types/messages.BotResults.md @@ -0,0 +1,22 @@ +--- +title: messages.BotResults +description: constructors and methods of type messages.BotResults +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.BotResults +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.botResults](../constructors/messages.botResults.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getInlineBotResults](../methods/messages.getInlineBotResults.md) + + + diff --git a/old_docs/API_docs_v81/types/messages.ChatFull.md b/old_docs/API_docs_v81/types/messages.ChatFull.md new file mode 100644 index 00000000..3ad38748 --- /dev/null +++ b/old_docs/API_docs_v81/types/messages.ChatFull.md @@ -0,0 +1,24 @@ +--- +title: messages.ChatFull +description: constructors and methods of type messages.ChatFull +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.ChatFull +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.chatFull](../constructors/messages.chatFull.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getFullChat](../methods/messages.getFullChat.md) + +[$MadelineProto->channels->getFullChannel](../methods/channels.getFullChannel.md) + + + diff --git a/old_docs/API_docs_v81/types/messages.Chats.md b/old_docs/API_docs_v81/types/messages.Chats.md new file mode 100644 index 00000000..4678b110 --- /dev/null +++ b/old_docs/API_docs_v81/types/messages.Chats.md @@ -0,0 +1,34 @@ +--- +title: messages.Chats +description: constructors and methods of type messages.Chats +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Chats +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.chats](../constructors/messages.chats.md) + +[messages.chatsSlice](../constructors/messages.chatsSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getChats](../methods/messages.getChats.md) + +[$MadelineProto->messages->getCommonChats](../methods/messages.getCommonChats.md) + +[$MadelineProto->messages->getAllChats](../methods/messages.getAllChats.md) + +[$MadelineProto->channels->getChannels](../methods/channels.getChannels.md) + +[$MadelineProto->channels->getAdminedPublicChannels](../methods/channels.getAdminedPublicChannels.md) + +[$MadelineProto->channels->getLeftChannels](../methods/channels.getLeftChannels.md) + + + diff --git a/old_docs/API_docs_v81/types/messages.DhConfig.md b/old_docs/API_docs_v81/types/messages.DhConfig.md new file mode 100644 index 00000000..77188ab7 --- /dev/null +++ b/old_docs/API_docs_v81/types/messages.DhConfig.md @@ -0,0 +1,24 @@ +--- +title: messages.DhConfig +description: constructors and methods of type messages.DhConfig +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.DhConfig +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.dhConfigNotModified](../constructors/messages.dhConfigNotModified.md) + +[messages.dhConfig](../constructors/messages.dhConfig.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getDhConfig](../methods/messages.getDhConfig.md) + + + diff --git a/old_docs/API_docs_v81/types/messages.Dialogs.md b/old_docs/API_docs_v81/types/messages.Dialogs.md new file mode 100644 index 00000000..1a57d535 --- /dev/null +++ b/old_docs/API_docs_v81/types/messages.Dialogs.md @@ -0,0 +1,24 @@ +--- +title: messages.Dialogs +description: constructors and methods of type messages.Dialogs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Dialogs +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.dialogs](../constructors/messages.dialogs.md) + +[messages.dialogsSlice](../constructors/messages.dialogsSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getDialogs](../methods/messages.getDialogs.md) + + + diff --git a/old_docs/API_docs_v81/types/messages.FavedStickers.md b/old_docs/API_docs_v81/types/messages.FavedStickers.md new file mode 100644 index 00000000..3edc863b --- /dev/null +++ b/old_docs/API_docs_v81/types/messages.FavedStickers.md @@ -0,0 +1,24 @@ +--- +title: messages.FavedStickers +description: constructors and methods of type messages.FavedStickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.FavedStickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.favedStickersNotModified](../constructors/messages.favedStickersNotModified.md) + +[messages.favedStickers](../constructors/messages.favedStickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getFavedStickers](../methods/messages.getFavedStickers.md) + + + diff --git a/old_docs/API_docs_v81/types/messages.FeaturedStickers.md b/old_docs/API_docs_v81/types/messages.FeaturedStickers.md new file mode 100644 index 00000000..06ed87bb --- /dev/null +++ b/old_docs/API_docs_v81/types/messages.FeaturedStickers.md @@ -0,0 +1,24 @@ +--- +title: messages.FeaturedStickers +description: constructors and methods of type messages.FeaturedStickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.FeaturedStickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.featuredStickersNotModified](../constructors/messages.featuredStickersNotModified.md) + +[messages.featuredStickers](../constructors/messages.featuredStickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getFeaturedStickers](../methods/messages.getFeaturedStickers.md) + + + diff --git a/old_docs/API_docs_v81/types/messages.FoundGifs.md b/old_docs/API_docs_v81/types/messages.FoundGifs.md new file mode 100644 index 00000000..b5176a5d --- /dev/null +++ b/old_docs/API_docs_v81/types/messages.FoundGifs.md @@ -0,0 +1,22 @@ +--- +title: messages.FoundGifs +description: constructors and methods of type messages.FoundGifs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.FoundGifs +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.foundGifs](../constructors/messages.foundGifs.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->searchGifs](../methods/messages.searchGifs.md) + + + diff --git a/old_docs/API_docs_v81/types/messages.FoundStickerSets.md b/old_docs/API_docs_v81/types/messages.FoundStickerSets.md new file mode 100644 index 00000000..eb6eb284 --- /dev/null +++ b/old_docs/API_docs_v81/types/messages.FoundStickerSets.md @@ -0,0 +1,24 @@ +--- +title: messages.FoundStickerSets +description: constructors and methods of type messages.FoundStickerSets +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.FoundStickerSets +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.foundStickerSetsNotModified](../constructors/messages.foundStickerSetsNotModified.md) + +[messages.foundStickerSets](../constructors/messages.foundStickerSets.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->searchStickerSets](../methods/messages.searchStickerSets.md) + + + diff --git a/old_docs/API_docs_v81/types/messages.HighScores.md b/old_docs/API_docs_v81/types/messages.HighScores.md new file mode 100644 index 00000000..eae9db66 --- /dev/null +++ b/old_docs/API_docs_v81/types/messages.HighScores.md @@ -0,0 +1,24 @@ +--- +title: messages.HighScores +description: constructors and methods of type messages.HighScores +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.HighScores +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.highScores](../constructors/messages.highScores.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getGameHighScores](../methods/messages.getGameHighScores.md) + +[$MadelineProto->messages->getInlineGameHighScores](../methods/messages.getInlineGameHighScores.md) + + + diff --git a/old_docs/API_docs_v81/types/messages.MessageEditData.md b/old_docs/API_docs_v81/types/messages.MessageEditData.md new file mode 100644 index 00000000..feb572f1 --- /dev/null +++ b/old_docs/API_docs_v81/types/messages.MessageEditData.md @@ -0,0 +1,22 @@ +--- +title: messages.MessageEditData +description: constructors and methods of type messages.MessageEditData +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.MessageEditData +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.messageEditData](../constructors/messages.messageEditData.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getMessageEditData](../methods/messages.getMessageEditData.md) + + + diff --git a/old_docs/API_docs_v81/types/messages.Messages.md b/old_docs/API_docs_v81/types/messages.Messages.md new file mode 100644 index 00000000..699ceada --- /dev/null +++ b/old_docs/API_docs_v81/types/messages.Messages.md @@ -0,0 +1,40 @@ +--- +title: messages.Messages +description: constructors and methods of type messages.Messages +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Messages +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.messages](../constructors/messages.messages.md) + +[messages.messagesSlice](../constructors/messages.messagesSlice.md) + +[messages.channelMessages](../constructors/messages.channelMessages.md) + +[messages.messagesNotModified](../constructors/messages.messagesNotModified.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getMessages](../methods/messages.getMessages.md) + +[$MadelineProto->messages->getHistory](../methods/messages.getHistory.md) + +[$MadelineProto->messages->search](../methods/messages.search.md) + +[$MadelineProto->messages->searchGlobal](../methods/messages.searchGlobal.md) + +[$MadelineProto->messages->getUnreadMentions](../methods/messages.getUnreadMentions.md) + +[$MadelineProto->messages->getRecentLocations](../methods/messages.getRecentLocations.md) + +[$MadelineProto->channels->getMessages](../methods/channels.getMessages.md) + + + diff --git a/old_docs/API_docs_v81/types/messages.PeerDialogs.md b/old_docs/API_docs_v81/types/messages.PeerDialogs.md new file mode 100644 index 00000000..9a1ceaf0 --- /dev/null +++ b/old_docs/API_docs_v81/types/messages.PeerDialogs.md @@ -0,0 +1,24 @@ +--- +title: messages.PeerDialogs +description: constructors and methods of type messages.PeerDialogs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.PeerDialogs +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.peerDialogs](../constructors/messages.peerDialogs.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getPeerDialogs](../methods/messages.getPeerDialogs.md) + +[$MadelineProto->messages->getPinnedDialogs](../methods/messages.getPinnedDialogs.md) + + + diff --git a/old_docs/API_docs_v81/types/messages.RecentStickers.md b/old_docs/API_docs_v81/types/messages.RecentStickers.md new file mode 100644 index 00000000..e5c49b92 --- /dev/null +++ b/old_docs/API_docs_v81/types/messages.RecentStickers.md @@ -0,0 +1,24 @@ +--- +title: messages.RecentStickers +description: constructors and methods of type messages.RecentStickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.RecentStickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.recentStickersNotModified](../constructors/messages.recentStickersNotModified.md) + +[messages.recentStickers](../constructors/messages.recentStickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getRecentStickers](../methods/messages.getRecentStickers.md) + + + diff --git a/old_docs/API_docs_v81/types/messages.SavedGifs.md b/old_docs/API_docs_v81/types/messages.SavedGifs.md new file mode 100644 index 00000000..99844c98 --- /dev/null +++ b/old_docs/API_docs_v81/types/messages.SavedGifs.md @@ -0,0 +1,24 @@ +--- +title: messages.SavedGifs +description: constructors and methods of type messages.SavedGifs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.SavedGifs +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.savedGifsNotModified](../constructors/messages.savedGifsNotModified.md) + +[messages.savedGifs](../constructors/messages.savedGifs.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getSavedGifs](../methods/messages.getSavedGifs.md) + + + diff --git a/old_docs/API_docs_v81/types/messages.SentEncryptedMessage.md b/old_docs/API_docs_v81/types/messages.SentEncryptedMessage.md new file mode 100644 index 00000000..b6d05b1f --- /dev/null +++ b/old_docs/API_docs_v81/types/messages.SentEncryptedMessage.md @@ -0,0 +1,28 @@ +--- +title: messages.SentEncryptedMessage +description: constructors and methods of type messages.SentEncryptedMessage +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.SentEncryptedMessage +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.sentEncryptedMessage](../constructors/messages.sentEncryptedMessage.md) + +[messages.sentEncryptedFile](../constructors/messages.sentEncryptedFile.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->sendEncrypted](../methods/messages.sendEncrypted.md) + +[$MadelineProto->messages->sendEncryptedFile](../methods/messages.sendEncryptedFile.md) + +[$MadelineProto->messages->sendEncryptedService](../methods/messages.sendEncryptedService.md) + + + diff --git a/old_docs/API_docs_v81/types/messages.StickerSet.md b/old_docs/API_docs_v81/types/messages.StickerSet.md new file mode 100644 index 00000000..e173fe45 --- /dev/null +++ b/old_docs/API_docs_v81/types/messages.StickerSet.md @@ -0,0 +1,30 @@ +--- +title: messages.StickerSet +description: constructors and methods of type messages.StickerSet +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.StickerSet +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.stickerSet](../constructors/messages.stickerSet.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getStickerSet](../methods/messages.getStickerSet.md) + +[$MadelineProto->stickers->createStickerSet](../methods/stickers.createStickerSet.md) + +[$MadelineProto->stickers->removeStickerFromSet](../methods/stickers.removeStickerFromSet.md) + +[$MadelineProto->stickers->changeStickerPosition](../methods/stickers.changeStickerPosition.md) + +[$MadelineProto->stickers->addStickerToSet](../methods/stickers.addStickerToSet.md) + + + diff --git a/old_docs/API_docs_v81/types/messages.StickerSetInstallResult.md b/old_docs/API_docs_v81/types/messages.StickerSetInstallResult.md new file mode 100644 index 00000000..9e09c293 --- /dev/null +++ b/old_docs/API_docs_v81/types/messages.StickerSetInstallResult.md @@ -0,0 +1,24 @@ +--- +title: messages.StickerSetInstallResult +description: constructors and methods of type messages.StickerSetInstallResult +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.StickerSetInstallResult +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.stickerSetInstallResultSuccess](../constructors/messages.stickerSetInstallResultSuccess.md) + +[messages.stickerSetInstallResultArchive](../constructors/messages.stickerSetInstallResultArchive.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->installStickerSet](../methods/messages.installStickerSet.md) + + + diff --git a/old_docs/API_docs_v81/types/messages.Stickers.md b/old_docs/API_docs_v81/types/messages.Stickers.md new file mode 100644 index 00000000..43bddf06 --- /dev/null +++ b/old_docs/API_docs_v81/types/messages.Stickers.md @@ -0,0 +1,24 @@ +--- +title: messages.Stickers +description: constructors and methods of type messages.Stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Stickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.stickersNotModified](../constructors/messages.stickersNotModified.md) + +[messages.stickers](../constructors/messages.stickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getStickers](../methods/messages.getStickers.md) + + + diff --git a/old_docs/API_docs_v81/types/messages_AffectedHistory.md b/old_docs/API_docs_v81/types/messages_AffectedHistory.md deleted file mode 100644 index 9eef04c0..00000000 --- a/old_docs/API_docs_v81/types/messages_AffectedHistory.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: messages_AffectedHistory -description: constructors and methods of type messages_AffectedHistory -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_AffectedHistory -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_affectedHistory](../constructors/messages_affectedHistory.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->deleteHistory](../methods/messages_deleteHistory.md) - -[$MadelineProto->messages->readMentions](../methods/messages_readMentions.md) - -[$MadelineProto->channels->deleteUserHistory](../methods/channels_deleteUserHistory.md) - - - diff --git a/old_docs/API_docs_v81/types/messages_AffectedMessages.md b/old_docs/API_docs_v81/types/messages_AffectedMessages.md deleted file mode 100644 index dcbea721..00000000 --- a/old_docs/API_docs_v81/types/messages_AffectedMessages.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: messages_AffectedMessages -description: constructors and methods of type messages_AffectedMessages -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_AffectedMessages -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_affectedMessages](../constructors/messages_affectedMessages.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->readHistory](../methods/messages_readHistory.md) - -[$MadelineProto->messages->deleteMessages](../methods/messages_deleteMessages.md) - -[$MadelineProto->messages->readMessageContents](../methods/messages_readMessageContents.md) - -[$MadelineProto->channels->deleteMessages](../methods/channels_deleteMessages.md) - - - diff --git a/old_docs/API_docs_v81/types/messages_AllStickers.md b/old_docs/API_docs_v81/types/messages_AllStickers.md deleted file mode 100644 index b6a322e0..00000000 --- a/old_docs/API_docs_v81/types/messages_AllStickers.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: messages_AllStickers -description: constructors and methods of type messages_AllStickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_AllStickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_allStickersNotModified](../constructors/messages_allStickersNotModified.md) - -[messages\_allStickers](../constructors/messages_allStickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getAllStickers](../methods/messages_getAllStickers.md) - -[$MadelineProto->messages->getMaskStickers](../methods/messages_getMaskStickers.md) - - - diff --git a/old_docs/API_docs_v81/types/messages_ArchivedStickers.md b/old_docs/API_docs_v81/types/messages_ArchivedStickers.md deleted file mode 100644 index c569675e..00000000 --- a/old_docs/API_docs_v81/types/messages_ArchivedStickers.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_ArchivedStickers -description: constructors and methods of type messages_ArchivedStickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_ArchivedStickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_archivedStickers](../constructors/messages_archivedStickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getArchivedStickers](../methods/messages_getArchivedStickers.md) - - - diff --git a/old_docs/API_docs_v81/types/messages_BotCallbackAnswer.md b/old_docs/API_docs_v81/types/messages_BotCallbackAnswer.md deleted file mode 100644 index f8d424d0..00000000 --- a/old_docs/API_docs_v81/types/messages_BotCallbackAnswer.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_BotCallbackAnswer -description: constructors and methods of type messages_BotCallbackAnswer -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_BotCallbackAnswer -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_botCallbackAnswer](../constructors/messages_botCallbackAnswer.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getBotCallbackAnswer](../methods/messages_getBotCallbackAnswer.md) - - - diff --git a/old_docs/API_docs_v81/types/messages_BotResults.md b/old_docs/API_docs_v81/types/messages_BotResults.md deleted file mode 100644 index c346c5bd..00000000 --- a/old_docs/API_docs_v81/types/messages_BotResults.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_BotResults -description: constructors and methods of type messages_BotResults -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_BotResults -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_botResults](../constructors/messages_botResults.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getInlineBotResults](../methods/messages_getInlineBotResults.md) - - - diff --git a/old_docs/API_docs_v81/types/messages_ChatFull.md b/old_docs/API_docs_v81/types/messages_ChatFull.md deleted file mode 100644 index e4add41e..00000000 --- a/old_docs/API_docs_v81/types/messages_ChatFull.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_ChatFull -description: constructors and methods of type messages_ChatFull -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_ChatFull -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_chatFull](../constructors/messages_chatFull.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getFullChat](../methods/messages_getFullChat.md) - -[$MadelineProto->channels->getFullChannel](../methods/channels_getFullChannel.md) - - - diff --git a/old_docs/API_docs_v81/types/messages_Chats.md b/old_docs/API_docs_v81/types/messages_Chats.md deleted file mode 100644 index 57349b11..00000000 --- a/old_docs/API_docs_v81/types/messages_Chats.md +++ /dev/null @@ -1,34 +0,0 @@ ---- -title: messages_Chats -description: constructors and methods of type messages_Chats -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Chats -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_chats](../constructors/messages_chats.md) - -[messages\_chatsSlice](../constructors/messages_chatsSlice.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getChats](../methods/messages_getChats.md) - -[$MadelineProto->messages->getCommonChats](../methods/messages_getCommonChats.md) - -[$MadelineProto->messages->getAllChats](../methods/messages_getAllChats.md) - -[$MadelineProto->channels->getChannels](../methods/channels_getChannels.md) - -[$MadelineProto->channels->getAdminedPublicChannels](../methods/channels_getAdminedPublicChannels.md) - -[$MadelineProto->channels->getLeftChannels](../methods/channels_getLeftChannels.md) - - - diff --git a/old_docs/API_docs_v81/types/messages_DhConfig.md b/old_docs/API_docs_v81/types/messages_DhConfig.md deleted file mode 100644 index ce237411..00000000 --- a/old_docs/API_docs_v81/types/messages_DhConfig.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_DhConfig -description: constructors and methods of type messages_DhConfig -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_DhConfig -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_dhConfigNotModified](../constructors/messages_dhConfigNotModified.md) - -[messages\_dhConfig](../constructors/messages_dhConfig.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getDhConfig](../methods/messages_getDhConfig.md) - - - diff --git a/old_docs/API_docs_v81/types/messages_Dialogs.md b/old_docs/API_docs_v81/types/messages_Dialogs.md deleted file mode 100644 index 733a42c5..00000000 --- a/old_docs/API_docs_v81/types/messages_Dialogs.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_Dialogs -description: constructors and methods of type messages_Dialogs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Dialogs -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_dialogs](../constructors/messages_dialogs.md) - -[messages\_dialogsSlice](../constructors/messages_dialogsSlice.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getDialogs](../methods/messages_getDialogs.md) - - - diff --git a/old_docs/API_docs_v81/types/messages_FavedStickers.md b/old_docs/API_docs_v81/types/messages_FavedStickers.md deleted file mode 100644 index 6fa1f221..00000000 --- a/old_docs/API_docs_v81/types/messages_FavedStickers.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_FavedStickers -description: constructors and methods of type messages_FavedStickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_FavedStickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_favedStickersNotModified](../constructors/messages_favedStickersNotModified.md) - -[messages\_favedStickers](../constructors/messages_favedStickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getFavedStickers](../methods/messages_getFavedStickers.md) - - - diff --git a/old_docs/API_docs_v81/types/messages_FeaturedStickers.md b/old_docs/API_docs_v81/types/messages_FeaturedStickers.md deleted file mode 100644 index 9b4c5002..00000000 --- a/old_docs/API_docs_v81/types/messages_FeaturedStickers.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_FeaturedStickers -description: constructors and methods of type messages_FeaturedStickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_FeaturedStickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_featuredStickersNotModified](../constructors/messages_featuredStickersNotModified.md) - -[messages\_featuredStickers](../constructors/messages_featuredStickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getFeaturedStickers](../methods/messages_getFeaturedStickers.md) - - - diff --git a/old_docs/API_docs_v81/types/messages_FoundGifs.md b/old_docs/API_docs_v81/types/messages_FoundGifs.md deleted file mode 100644 index 9dd088ba..00000000 --- a/old_docs/API_docs_v81/types/messages_FoundGifs.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_FoundGifs -description: constructors and methods of type messages_FoundGifs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_FoundGifs -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_foundGifs](../constructors/messages_foundGifs.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->searchGifs](../methods/messages_searchGifs.md) - - - diff --git a/old_docs/API_docs_v81/types/messages_FoundStickerSets.md b/old_docs/API_docs_v81/types/messages_FoundStickerSets.md deleted file mode 100644 index 9045b0d7..00000000 --- a/old_docs/API_docs_v81/types/messages_FoundStickerSets.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_FoundStickerSets -description: constructors and methods of type messages_FoundStickerSets -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_FoundStickerSets -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_foundStickerSetsNotModified](../constructors/messages_foundStickerSetsNotModified.md) - -[messages\_foundStickerSets](../constructors/messages_foundStickerSets.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->searchStickerSets](../methods/messages_searchStickerSets.md) - - - diff --git a/old_docs/API_docs_v81/types/messages_HighScores.md b/old_docs/API_docs_v81/types/messages_HighScores.md deleted file mode 100644 index 9660e255..00000000 --- a/old_docs/API_docs_v81/types/messages_HighScores.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_HighScores -description: constructors and methods of type messages_HighScores -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_HighScores -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_highScores](../constructors/messages_highScores.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getGameHighScores](../methods/messages_getGameHighScores.md) - -[$MadelineProto->messages->getInlineGameHighScores](../methods/messages_getInlineGameHighScores.md) - - - diff --git a/old_docs/API_docs_v81/types/messages_MessageEditData.md b/old_docs/API_docs_v81/types/messages_MessageEditData.md deleted file mode 100644 index ed3c507a..00000000 --- a/old_docs/API_docs_v81/types/messages_MessageEditData.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_MessageEditData -description: constructors and methods of type messages_MessageEditData -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_MessageEditData -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_messageEditData](../constructors/messages_messageEditData.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getMessageEditData](../methods/messages_getMessageEditData.md) - - - diff --git a/old_docs/API_docs_v81/types/messages_Messages.md b/old_docs/API_docs_v81/types/messages_Messages.md deleted file mode 100644 index 35514e90..00000000 --- a/old_docs/API_docs_v81/types/messages_Messages.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages_Messages -description: constructors and methods of type messages_Messages -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Messages -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_messages](../constructors/messages_messages.md) - -[messages\_messagesSlice](../constructors/messages_messagesSlice.md) - -[messages\_channelMessages](../constructors/messages_channelMessages.md) - -[messages\_messagesNotModified](../constructors/messages_messagesNotModified.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getMessages](../methods/messages_getMessages.md) - -[$MadelineProto->messages->getHistory](../methods/messages_getHistory.md) - -[$MadelineProto->messages->search](../methods/messages_search.md) - -[$MadelineProto->messages->searchGlobal](../methods/messages_searchGlobal.md) - -[$MadelineProto->messages->getUnreadMentions](../methods/messages_getUnreadMentions.md) - -[$MadelineProto->messages->getRecentLocations](../methods/messages_getRecentLocations.md) - -[$MadelineProto->channels->getMessages](../methods/channels_getMessages.md) - - - diff --git a/old_docs/API_docs_v81/types/messages_PeerDialogs.md b/old_docs/API_docs_v81/types/messages_PeerDialogs.md deleted file mode 100644 index 2477931f..00000000 --- a/old_docs/API_docs_v81/types/messages_PeerDialogs.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_PeerDialogs -description: constructors and methods of type messages_PeerDialogs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_PeerDialogs -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_peerDialogs](../constructors/messages_peerDialogs.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getPeerDialogs](../methods/messages_getPeerDialogs.md) - -[$MadelineProto->messages->getPinnedDialogs](../methods/messages_getPinnedDialogs.md) - - - diff --git a/old_docs/API_docs_v81/types/messages_RecentStickers.md b/old_docs/API_docs_v81/types/messages_RecentStickers.md deleted file mode 100644 index 2c9db779..00000000 --- a/old_docs/API_docs_v81/types/messages_RecentStickers.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_RecentStickers -description: constructors and methods of type messages_RecentStickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_RecentStickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_recentStickersNotModified](../constructors/messages_recentStickersNotModified.md) - -[messages\_recentStickers](../constructors/messages_recentStickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getRecentStickers](../methods/messages_getRecentStickers.md) - - - diff --git a/old_docs/API_docs_v81/types/messages_SavedGifs.md b/old_docs/API_docs_v81/types/messages_SavedGifs.md deleted file mode 100644 index ffb000aa..00000000 --- a/old_docs/API_docs_v81/types/messages_SavedGifs.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_SavedGifs -description: constructors and methods of type messages_SavedGifs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_SavedGifs -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_savedGifsNotModified](../constructors/messages_savedGifsNotModified.md) - -[messages\_savedGifs](../constructors/messages_savedGifs.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getSavedGifs](../methods/messages_getSavedGifs.md) - - - diff --git a/old_docs/API_docs_v81/types/messages_SentEncryptedMessage.md b/old_docs/API_docs_v81/types/messages_SentEncryptedMessage.md deleted file mode 100644 index 9f7ab935..00000000 --- a/old_docs/API_docs_v81/types/messages_SentEncryptedMessage.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: messages_SentEncryptedMessage -description: constructors and methods of type messages_SentEncryptedMessage -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_SentEncryptedMessage -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_sentEncryptedMessage](../constructors/messages_sentEncryptedMessage.md) - -[messages\_sentEncryptedFile](../constructors/messages_sentEncryptedFile.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->sendEncrypted](../methods/messages_sendEncrypted.md) - -[$MadelineProto->messages->sendEncryptedFile](../methods/messages_sendEncryptedFile.md) - -[$MadelineProto->messages->sendEncryptedService](../methods/messages_sendEncryptedService.md) - - - diff --git a/old_docs/API_docs_v81/types/messages_StickerSet.md b/old_docs/API_docs_v81/types/messages_StickerSet.md deleted file mode 100644 index 98e34dd2..00000000 --- a/old_docs/API_docs_v81/types/messages_StickerSet.md +++ /dev/null @@ -1,30 +0,0 @@ ---- -title: messages_StickerSet -description: constructors and methods of type messages_StickerSet -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_StickerSet -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_stickerSet](../constructors/messages_stickerSet.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getStickerSet](../methods/messages_getStickerSet.md) - -[$MadelineProto->stickers->createStickerSet](../methods/stickers_createStickerSet.md) - -[$MadelineProto->stickers->removeStickerFromSet](../methods/stickers_removeStickerFromSet.md) - -[$MadelineProto->stickers->changeStickerPosition](../methods/stickers_changeStickerPosition.md) - -[$MadelineProto->stickers->addStickerToSet](../methods/stickers_addStickerToSet.md) - - - diff --git a/old_docs/API_docs_v81/types/messages_StickerSetInstallResult.md b/old_docs/API_docs_v81/types/messages_StickerSetInstallResult.md deleted file mode 100644 index bb62ec11..00000000 --- a/old_docs/API_docs_v81/types/messages_StickerSetInstallResult.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_StickerSetInstallResult -description: constructors and methods of type messages_StickerSetInstallResult -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_StickerSetInstallResult -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_stickerSetInstallResultSuccess](../constructors/messages_stickerSetInstallResultSuccess.md) - -[messages\_stickerSetInstallResultArchive](../constructors/messages_stickerSetInstallResultArchive.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->installStickerSet](../methods/messages_installStickerSet.md) - - - diff --git a/old_docs/API_docs_v81/types/messages_Stickers.md b/old_docs/API_docs_v81/types/messages_Stickers.md deleted file mode 100644 index cf53f57b..00000000 --- a/old_docs/API_docs_v81/types/messages_Stickers.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_Stickers -description: constructors and methods of type messages_Stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Stickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_stickersNotModified](../constructors/messages_stickersNotModified.md) - -[messages\_stickers](../constructors/messages_stickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getStickers](../methods/messages_getStickers.md) - - - diff --git a/old_docs/API_docs_v81/types/payments.PaymentForm.md b/old_docs/API_docs_v81/types/payments.PaymentForm.md new file mode 100644 index 00000000..985c1957 --- /dev/null +++ b/old_docs/API_docs_v81/types/payments.PaymentForm.md @@ -0,0 +1,22 @@ +--- +title: payments.PaymentForm +description: constructors and methods of type payments.PaymentForm +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: payments.PaymentForm +[Back to types index](index.md) + + + +### Possible values (constructors): + +[payments.paymentForm](../constructors/payments.paymentForm.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->payments->getPaymentForm](../methods/payments.getPaymentForm.md) + + + diff --git a/old_docs/API_docs_v81/types/payments.PaymentReceipt.md b/old_docs/API_docs_v81/types/payments.PaymentReceipt.md new file mode 100644 index 00000000..45cebd47 --- /dev/null +++ b/old_docs/API_docs_v81/types/payments.PaymentReceipt.md @@ -0,0 +1,22 @@ +--- +title: payments.PaymentReceipt +description: constructors and methods of type payments.PaymentReceipt +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: payments.PaymentReceipt +[Back to types index](index.md) + + + +### Possible values (constructors): + +[payments.paymentReceipt](../constructors/payments.paymentReceipt.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->payments->getPaymentReceipt](../methods/payments.getPaymentReceipt.md) + + + diff --git a/old_docs/API_docs_v81/types/payments.PaymentResult.md b/old_docs/API_docs_v81/types/payments.PaymentResult.md new file mode 100644 index 00000000..9bbff9af --- /dev/null +++ b/old_docs/API_docs_v81/types/payments.PaymentResult.md @@ -0,0 +1,24 @@ +--- +title: payments.PaymentResult +description: constructors and methods of type payments.PaymentResult +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: payments.PaymentResult +[Back to types index](index.md) + + + +### Possible values (constructors): + +[payments.paymentResult](../constructors/payments.paymentResult.md) + +[payments.paymentVerficationNeeded](../constructors/payments.paymentVerficationNeeded.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->payments->sendPaymentForm](../methods/payments.sendPaymentForm.md) + + + diff --git a/old_docs/API_docs_v81/types/payments.SavedInfo.md b/old_docs/API_docs_v81/types/payments.SavedInfo.md new file mode 100644 index 00000000..cf7be16c --- /dev/null +++ b/old_docs/API_docs_v81/types/payments.SavedInfo.md @@ -0,0 +1,22 @@ +--- +title: payments.SavedInfo +description: constructors and methods of type payments.SavedInfo +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: payments.SavedInfo +[Back to types index](index.md) + + + +### Possible values (constructors): + +[payments.savedInfo](../constructors/payments.savedInfo.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->payments->getSavedInfo](../methods/payments.getSavedInfo.md) + + + diff --git a/old_docs/API_docs_v81/types/payments.ValidatedRequestedInfo.md b/old_docs/API_docs_v81/types/payments.ValidatedRequestedInfo.md new file mode 100644 index 00000000..653a5064 --- /dev/null +++ b/old_docs/API_docs_v81/types/payments.ValidatedRequestedInfo.md @@ -0,0 +1,22 @@ +--- +title: payments.ValidatedRequestedInfo +description: constructors and methods of type payments.ValidatedRequestedInfo +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: payments.ValidatedRequestedInfo +[Back to types index](index.md) + + + +### Possible values (constructors): + +[payments.validatedRequestedInfo](../constructors/payments.validatedRequestedInfo.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->payments->validateRequestedInfo](../methods/payments.validateRequestedInfo.md) + + + diff --git a/old_docs/API_docs_v81/types/payments_PaymentForm.md b/old_docs/API_docs_v81/types/payments_PaymentForm.md deleted file mode 100644 index 4662586d..00000000 --- a/old_docs/API_docs_v81/types/payments_PaymentForm.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: payments_PaymentForm -description: constructors and methods of type payments_PaymentForm -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: payments\_PaymentForm -[Back to types index](index.md) - - - -### Possible values (constructors): - -[payments\_paymentForm](../constructors/payments_paymentForm.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->payments->getPaymentForm](../methods/payments_getPaymentForm.md) - - - diff --git a/old_docs/API_docs_v81/types/payments_PaymentReceipt.md b/old_docs/API_docs_v81/types/payments_PaymentReceipt.md deleted file mode 100644 index b4770d2a..00000000 --- a/old_docs/API_docs_v81/types/payments_PaymentReceipt.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: payments_PaymentReceipt -description: constructors and methods of type payments_PaymentReceipt -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: payments\_PaymentReceipt -[Back to types index](index.md) - - - -### Possible values (constructors): - -[payments\_paymentReceipt](../constructors/payments_paymentReceipt.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->payments->getPaymentReceipt](../methods/payments_getPaymentReceipt.md) - - - diff --git a/old_docs/API_docs_v81/types/payments_PaymentResult.md b/old_docs/API_docs_v81/types/payments_PaymentResult.md deleted file mode 100644 index 3c0ad411..00000000 --- a/old_docs/API_docs_v81/types/payments_PaymentResult.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: payments_PaymentResult -description: constructors and methods of type payments_PaymentResult -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: payments\_PaymentResult -[Back to types index](index.md) - - - -### Possible values (constructors): - -[payments\_paymentResult](../constructors/payments_paymentResult.md) - -[payments\_paymentVerficationNeeded](../constructors/payments_paymentVerficationNeeded.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->payments->sendPaymentForm](../methods/payments_sendPaymentForm.md) - - - diff --git a/old_docs/API_docs_v81/types/payments_SavedInfo.md b/old_docs/API_docs_v81/types/payments_SavedInfo.md deleted file mode 100644 index c8f7b9e3..00000000 --- a/old_docs/API_docs_v81/types/payments_SavedInfo.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: payments_SavedInfo -description: constructors and methods of type payments_SavedInfo -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: payments\_SavedInfo -[Back to types index](index.md) - - - -### Possible values (constructors): - -[payments\_savedInfo](../constructors/payments_savedInfo.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->payments->getSavedInfo](../methods/payments_getSavedInfo.md) - - - diff --git a/old_docs/API_docs_v81/types/payments_ValidatedRequestedInfo.md b/old_docs/API_docs_v81/types/payments_ValidatedRequestedInfo.md deleted file mode 100644 index ff6c4e39..00000000 --- a/old_docs/API_docs_v81/types/payments_ValidatedRequestedInfo.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: payments_ValidatedRequestedInfo -description: constructors and methods of type payments_ValidatedRequestedInfo -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: payments\_ValidatedRequestedInfo -[Back to types index](index.md) - - - -### Possible values (constructors): - -[payments\_validatedRequestedInfo](../constructors/payments_validatedRequestedInfo.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->payments->validateRequestedInfo](../methods/payments_validateRequestedInfo.md) - - - diff --git a/old_docs/API_docs_v81/types/phone.PhoneCall.md b/old_docs/API_docs_v81/types/phone.PhoneCall.md new file mode 100644 index 00000000..db0708e9 --- /dev/null +++ b/old_docs/API_docs_v81/types/phone.PhoneCall.md @@ -0,0 +1,26 @@ +--- +title: phone.PhoneCall +description: constructors and methods of type phone.PhoneCall +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: phone.PhoneCall +[Back to types index](index.md) + + + +### Possible values (constructors): + +[phone.phoneCall](../constructors/phone.phoneCall.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->phone->requestCall](../methods/phone.requestCall.md) + +[$MadelineProto->phone->acceptCall](../methods/phone.acceptCall.md) + +[$MadelineProto->phone->confirmCall](../methods/phone.confirmCall.md) + + + diff --git a/old_docs/API_docs_v81/types/phone_PhoneCall.md b/old_docs/API_docs_v81/types/phone_PhoneCall.md deleted file mode 100644 index 0a49d482..00000000 --- a/old_docs/API_docs_v81/types/phone_PhoneCall.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: phone_PhoneCall -description: constructors and methods of type phone_PhoneCall -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: phone\_PhoneCall -[Back to types index](index.md) - - - -### Possible values (constructors): - -[phone\_phoneCall](../constructors/phone_phoneCall.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->phone->requestCall](../methods/phone_requestCall.md) - -[$MadelineProto->phone->acceptCall](../methods/phone_acceptCall.md) - -[$MadelineProto->phone->confirmCall](../methods/phone_confirmCall.md) - - - diff --git a/old_docs/API_docs_v81/types/photos.Photo.md b/old_docs/API_docs_v81/types/photos.Photo.md new file mode 100644 index 00000000..d60f203c --- /dev/null +++ b/old_docs/API_docs_v81/types/photos.Photo.md @@ -0,0 +1,22 @@ +--- +title: photos.Photo +description: constructors and methods of type photos.Photo +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: photos.Photo +[Back to types index](index.md) + + + +### Possible values (constructors): + +[photos.photo](../constructors/photos.photo.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->photos->uploadProfilePhoto](../methods/photos.uploadProfilePhoto.md) + + + diff --git a/old_docs/API_docs_v81/types/photos.Photos.md b/old_docs/API_docs_v81/types/photos.Photos.md new file mode 100644 index 00000000..fff0e296 --- /dev/null +++ b/old_docs/API_docs_v81/types/photos.Photos.md @@ -0,0 +1,24 @@ +--- +title: photos.Photos +description: constructors and methods of type photos.Photos +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: photos.Photos +[Back to types index](index.md) + + + +### Possible values (constructors): + +[photos.photos](../constructors/photos.photos.md) + +[photos.photosSlice](../constructors/photos.photosSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->photos->getUserPhotos](../methods/photos.getUserPhotos.md) + + + diff --git a/old_docs/API_docs_v81/types/photos_Photo.md b/old_docs/API_docs_v81/types/photos_Photo.md deleted file mode 100644 index d11bbdef..00000000 --- a/old_docs/API_docs_v81/types/photos_Photo.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: photos_Photo -description: constructors and methods of type photos_Photo -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: photos\_Photo -[Back to types index](index.md) - - - -### Possible values (constructors): - -[photos\_photo](../constructors/photos_photo.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->photos->uploadProfilePhoto](../methods/photos_uploadProfilePhoto.md) - - - diff --git a/old_docs/API_docs_v81/types/photos_Photos.md b/old_docs/API_docs_v81/types/photos_Photos.md deleted file mode 100644 index 9875ad70..00000000 --- a/old_docs/API_docs_v81/types/photos_Photos.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: photos_Photos -description: constructors and methods of type photos_Photos -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: photos\_Photos -[Back to types index](index.md) - - - -### Possible values (constructors): - -[photos\_photos](../constructors/photos_photos.md) - -[photos\_photosSlice](../constructors/photos_photosSlice.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->photos->getUserPhotos](../methods/photos_getUserPhotos.md) - - - diff --git a/old_docs/API_docs_v81/types/storage.FileType.md b/old_docs/API_docs_v81/types/storage.FileType.md new file mode 100644 index 00000000..32f1bb72 --- /dev/null +++ b/old_docs/API_docs_v81/types/storage.FileType.md @@ -0,0 +1,38 @@ +--- +title: storage.FileType +description: constructors and methods of type storage.FileType +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: storage.FileType +[Back to types index](index.md) + + + +### Possible values (constructors): + +[storage.fileUnknown](../constructors/storage.fileUnknown.md) + +[storage.filePartial](../constructors/storage.filePartial.md) + +[storage.fileJpeg](../constructors/storage.fileJpeg.md) + +[storage.fileGif](../constructors/storage.fileGif.md) + +[storage.filePng](../constructors/storage.filePng.md) + +[storage.filePdf](../constructors/storage.filePdf.md) + +[storage.fileMp3](../constructors/storage.fileMp3.md) + +[storage.fileMov](../constructors/storage.fileMov.md) + +[storage.fileMp4](../constructors/storage.fileMp4.md) + +[storage.fileWebp](../constructors/storage.fileWebp.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v81/types/storage_FileType.md b/old_docs/API_docs_v81/types/storage_FileType.md deleted file mode 100644 index 22118805..00000000 --- a/old_docs/API_docs_v81/types/storage_FileType.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: storage_FileType -description: constructors and methods of type storage_FileType -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: storage\_FileType -[Back to types index](index.md) - - - -### Possible values (constructors): - -[storage\_fileUnknown](../constructors/storage_fileUnknown.md) - -[storage\_filePartial](../constructors/storage_filePartial.md) - -[storage\_fileJpeg](../constructors/storage_fileJpeg.md) - -[storage\_fileGif](../constructors/storage_fileGif.md) - -[storage\_filePng](../constructors/storage_filePng.md) - -[storage\_filePdf](../constructors/storage_filePdf.md) - -[storage\_fileMp3](../constructors/storage_fileMp3.md) - -[storage\_fileMov](../constructors/storage_fileMov.md) - -[storage\_fileMp4](../constructors/storage_fileMp4.md) - -[storage\_fileWebp](../constructors/storage_fileWebp.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v81/types/updates.ChannelDifference.md b/old_docs/API_docs_v81/types/updates.ChannelDifference.md new file mode 100644 index 00000000..ac889a1e --- /dev/null +++ b/old_docs/API_docs_v81/types/updates.ChannelDifference.md @@ -0,0 +1,26 @@ +--- +title: updates.ChannelDifference +description: constructors and methods of type updates.ChannelDifference +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: updates.ChannelDifference +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updates.channelDifferenceEmpty](../constructors/updates.channelDifferenceEmpty.md) + +[updates.channelDifferenceTooLong](../constructors/updates.channelDifferenceTooLong.md) + +[updates.channelDifference](../constructors/updates.channelDifference.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->updates->getChannelDifference](../methods/updates.getChannelDifference.md) + + + diff --git a/old_docs/API_docs_v81/types/updates.Difference.md b/old_docs/API_docs_v81/types/updates.Difference.md new file mode 100644 index 00000000..0c1a1b6e --- /dev/null +++ b/old_docs/API_docs_v81/types/updates.Difference.md @@ -0,0 +1,28 @@ +--- +title: updates.Difference +description: constructors and methods of type updates.Difference +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: updates.Difference +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updates.differenceEmpty](../constructors/updates.differenceEmpty.md) + +[updates.difference](../constructors/updates.difference.md) + +[updates.differenceSlice](../constructors/updates.differenceSlice.md) + +[updates.differenceTooLong](../constructors/updates.differenceTooLong.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->updates->getDifference](../methods/updates.getDifference.md) + + + diff --git a/old_docs/API_docs_v81/types/updates.State.md b/old_docs/API_docs_v81/types/updates.State.md new file mode 100644 index 00000000..49bbb7fd --- /dev/null +++ b/old_docs/API_docs_v81/types/updates.State.md @@ -0,0 +1,22 @@ +--- +title: updates.State +description: constructors and methods of type updates.State +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: updates.State +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updates.state](../constructors/updates.state.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->updates->getState](../methods/updates.getState.md) + + + diff --git a/old_docs/API_docs_v81/types/updates_ChannelDifference.md b/old_docs/API_docs_v81/types/updates_ChannelDifference.md deleted file mode 100644 index dc988692..00000000 --- a/old_docs/API_docs_v81/types/updates_ChannelDifference.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: updates_ChannelDifference -description: constructors and methods of type updates_ChannelDifference -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: updates\_ChannelDifference -[Back to types index](index.md) - - - -### Possible values (constructors): - -[updates\_channelDifferenceEmpty](../constructors/updates_channelDifferenceEmpty.md) - -[updates\_channelDifferenceTooLong](../constructors/updates_channelDifferenceTooLong.md) - -[updates\_channelDifference](../constructors/updates_channelDifference.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->updates->getChannelDifference](../methods/updates_getChannelDifference.md) - - - diff --git a/old_docs/API_docs_v81/types/updates_Difference.md b/old_docs/API_docs_v81/types/updates_Difference.md deleted file mode 100644 index 50bb098e..00000000 --- a/old_docs/API_docs_v81/types/updates_Difference.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: updates_Difference -description: constructors and methods of type updates_Difference -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: updates\_Difference -[Back to types index](index.md) - - - -### Possible values (constructors): - -[updates\_differenceEmpty](../constructors/updates_differenceEmpty.md) - -[updates\_difference](../constructors/updates_difference.md) - -[updates\_differenceSlice](../constructors/updates_differenceSlice.md) - -[updates\_differenceTooLong](../constructors/updates_differenceTooLong.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->updates->getDifference](../methods/updates_getDifference.md) - - - diff --git a/old_docs/API_docs_v81/types/updates_State.md b/old_docs/API_docs_v81/types/updates_State.md deleted file mode 100644 index 7a441145..00000000 --- a/old_docs/API_docs_v81/types/updates_State.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: updates_State -description: constructors and methods of type updates_State -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: updates\_State -[Back to types index](index.md) - - - -### Possible values (constructors): - -[updates\_state](../constructors/updates_state.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->updates->getState](../methods/updates_getState.md) - - - diff --git a/old_docs/API_docs_v81/types/upload.CdnFile.md b/old_docs/API_docs_v81/types/upload.CdnFile.md new file mode 100644 index 00000000..396c4bf4 --- /dev/null +++ b/old_docs/API_docs_v81/types/upload.CdnFile.md @@ -0,0 +1,24 @@ +--- +title: upload.CdnFile +description: constructors and methods of type upload.CdnFile +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: upload.CdnFile +[Back to types index](index.md) + + + +### Possible values (constructors): + +[upload.cdnFileReuploadNeeded](../constructors/upload.cdnFileReuploadNeeded.md) + +[upload.cdnFile](../constructors/upload.cdnFile.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->upload->getCdnFile](../methods/upload.getCdnFile.md) + + + diff --git a/old_docs/API_docs_v81/types/upload.File.md b/old_docs/API_docs_v81/types/upload.File.md new file mode 100644 index 00000000..6963341b --- /dev/null +++ b/old_docs/API_docs_v81/types/upload.File.md @@ -0,0 +1,24 @@ +--- +title: upload.File +description: constructors and methods of type upload.File +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: upload.File +[Back to types index](index.md) + + + +### Possible values (constructors): + +[upload.file](../constructors/upload.file.md) + +[upload.fileCdnRedirect](../constructors/upload.fileCdnRedirect.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->upload->getFile](../methods/upload.getFile.md) + + + diff --git a/old_docs/API_docs_v81/types/upload.WebFile.md b/old_docs/API_docs_v81/types/upload.WebFile.md new file mode 100644 index 00000000..e834457b --- /dev/null +++ b/old_docs/API_docs_v81/types/upload.WebFile.md @@ -0,0 +1,22 @@ +--- +title: upload.WebFile +description: constructors and methods of type upload.WebFile +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: upload.WebFile +[Back to types index](index.md) + + + +### Possible values (constructors): + +[upload.webFile](../constructors/upload.webFile.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->upload->getWebFile](../methods/upload.getWebFile.md) + + + diff --git a/old_docs/API_docs_v81/types/upload_CdnFile.md b/old_docs/API_docs_v81/types/upload_CdnFile.md deleted file mode 100644 index 51ae2e68..00000000 --- a/old_docs/API_docs_v81/types/upload_CdnFile.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: upload_CdnFile -description: constructors and methods of type upload_CdnFile -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: upload\_CdnFile -[Back to types index](index.md) - - - -### Possible values (constructors): - -[upload\_cdnFileReuploadNeeded](../constructors/upload_cdnFileReuploadNeeded.md) - -[upload\_cdnFile](../constructors/upload_cdnFile.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->upload->getCdnFile](../methods/upload_getCdnFile.md) - - - diff --git a/old_docs/API_docs_v81/types/upload_File.md b/old_docs/API_docs_v81/types/upload_File.md deleted file mode 100644 index 00e0f9cb..00000000 --- a/old_docs/API_docs_v81/types/upload_File.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: upload_File -description: constructors and methods of type upload_File -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: upload\_File -[Back to types index](index.md) - - - -### Possible values (constructors): - -[upload\_file](../constructors/upload_file.md) - -[upload\_fileCdnRedirect](../constructors/upload_fileCdnRedirect.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->upload->getFile](../methods/upload_getFile.md) - - - diff --git a/old_docs/API_docs_v81/types/upload_WebFile.md b/old_docs/API_docs_v81/types/upload_WebFile.md deleted file mode 100644 index 9a86264f..00000000 --- a/old_docs/API_docs_v81/types/upload_WebFile.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: upload_WebFile -description: constructors and methods of type upload_WebFile -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: upload\_WebFile -[Back to types index](index.md) - - - -### Possible values (constructors): - -[upload\_webFile](../constructors/upload_webFile.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->upload->getWebFile](../methods/upload_getWebFile.md) - - - diff --git a/old_docs/API_docs_v82/constructors/README.md b/old_docs/API_docs_v82/constructors/README.md index 4ab6e980..8c76a77b 100644 --- a/old_docs/API_docs_v82/constructors/README.md +++ b/old_docs/API_docs_v82/constructors/README.md @@ -9,56 +9,77 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ***

[$accessPointRule](../constructors/accessPointRule.md) = \['phone_prefix_rules' => [string](../types/string.md), 'dc_id' => [int](../types/int.md), 'ips' => \[[IpPort](../types/IpPort.md)\], \]; +*** +

[$account.authorizationForm](../constructors/account.authorizationForm.md) = \['selfie_required' => [Bool](../types/Bool.md), 'required_types' => \[[SecureValueType](../types/SecureValueType.md)\], 'values' => \[[SecureValue](../types/SecureValue.md)\], 'errors' => \[[SecureValueError](../types/SecureValueError.md)\], 'users' => \[[User](../types/User.md)\], 'privacy_policy_url' => [string](../types/string.md), \]; + +*** +

[$account.authorizations](../constructors/account.authorizations.md) = \['authorizations' => \[[Authorization](../types/Authorization.md)\], \]; + +*** +

[$account.noPassword](../constructors/account.noPassword.md) = \['new_salt' => [bytes](../types/bytes.md), 'new_secure_salt' => [bytes](../types/bytes.md), 'secure_random' => [bytes](../types/bytes.md), 'email_unconfirmed_pattern' => [string](../types/string.md), \]; + +*** +

[$account.password](../constructors/account.password.md) = \['has_recovery' => [Bool](../types/Bool.md), 'has_secure_values' => [Bool](../types/Bool.md), 'current_salt' => [bytes](../types/bytes.md), 'new_salt' => [bytes](../types/bytes.md), 'new_secure_salt' => [bytes](../types/bytes.md), 'secure_random' => [bytes](../types/bytes.md), 'hint' => [string](../types/string.md), 'email_unconfirmed_pattern' => [string](../types/string.md), \]; + +*** +

[$account.passwordInputSettings](../constructors/account.passwordInputSettings.md) = \['new_salt' => [bytes](../types/bytes.md), 'new_password_hash' => [bytes](../types/bytes.md), 'hint' => [string](../types/string.md), 'email' => [string](../types/string.md), 'new_secure_salt' => [bytes](../types/bytes.md), 'new_secure_secret' => [bytes](../types/bytes.md), 'new_secure_secret_id' => [long](../types/long.md), \]; + +*** +

[$account.passwordSettings](../constructors/account.passwordSettings.md) = \['email' => [string](../types/string.md), 'secure_salt' => [bytes](../types/bytes.md), 'secure_secret' => [bytes](../types/bytes.md), 'secure_secret_id' => [long](../types/long.md), \]; + +*** +

[$account.privacyRules](../constructors/account.privacyRules.md) = \['rules' => \[[PrivacyRule](../types/PrivacyRule.md)\], 'users' => \[[User](../types/User.md)\], \]; + +*** +

[$account.sentEmailCode](../constructors/account.sentEmailCode.md) = \['email_pattern' => [string](../types/string.md), 'length' => [int](../types/int.md), \]; + +*** +

[$account.takeout](../constructors/account.takeout.md) = \['id' => [long](../types/long.md), \]; + +*** +

[$account.tmpPassword](../constructors/account.tmpPassword.md) = \['tmp_password' => [bytes](../types/bytes.md), 'valid_until' => [int](../types/int.md), \]; + +*** +

[$account.webAuthorizations](../constructors/account.webAuthorizations.md) = \['authorizations' => \[[WebAuthorization](../types/WebAuthorization.md)\], 'users' => \[[User](../types/User.md)\], \]; + ***

[$accountDaysTTL](../constructors/accountDaysTTL.md) = \['days' => [int](../types/int.md), \]; *** -

[$account\_authorizationForm](../constructors/account_authorizationForm.md) = \['selfie_required' => [Bool](../types/Bool.md), 'required_types' => \[[SecureValueType](../types/SecureValueType.md)\], 'values' => \[[SecureValue](../types/SecureValue.md)\], 'errors' => \[[SecureValueError](../types/SecureValueError.md)\], 'users' => \[[User](../types/User.md)\], 'privacy_policy_url' => [string](../types/string.md), \]; - -[$account\_authorizations](../constructors/account_authorizations.md) = \['authorizations' => \[[Authorization](../types/Authorization.md)\], \]; - -[$account\_noPassword](../constructors/account_noPassword.md) = \['new_salt' => [bytes](../types/bytes.md), 'new_secure_salt' => [bytes](../types/bytes.md), 'secure_random' => [bytes](../types/bytes.md), 'email_unconfirmed_pattern' => [string](../types/string.md), \]; - -[$account\_password](../constructors/account_password.md) = \['has_recovery' => [Bool](../types/Bool.md), 'has_secure_values' => [Bool](../types/Bool.md), 'current_salt' => [bytes](../types/bytes.md), 'new_salt' => [bytes](../types/bytes.md), 'new_secure_salt' => [bytes](../types/bytes.md), 'secure_random' => [bytes](../types/bytes.md), 'hint' => [string](../types/string.md), 'email_unconfirmed_pattern' => [string](../types/string.md), \]; - -[$account\_passwordInputSettings](../constructors/account_passwordInputSettings.md) = \['new_salt' => [bytes](../types/bytes.md), 'new_password_hash' => [bytes](../types/bytes.md), 'hint' => [string](../types/string.md), 'email' => [string](../types/string.md), 'new_secure_salt' => [bytes](../types/bytes.md), 'new_secure_secret' => [bytes](../types/bytes.md), 'new_secure_secret_id' => [long](../types/long.md), \]; - -[$account\_passwordSettings](../constructors/account_passwordSettings.md) = \['email' => [string](../types/string.md), 'secure_salt' => [bytes](../types/bytes.md), 'secure_secret' => [bytes](../types/bytes.md), 'secure_secret_id' => [long](../types/long.md), \]; - -[$account\_privacyRules](../constructors/account_privacyRules.md) = \['rules' => \[[PrivacyRule](../types/PrivacyRule.md)\], 'users' => \[[User](../types/User.md)\], \]; - -[$account\_sentEmailCode](../constructors/account_sentEmailCode.md) = \['email_pattern' => [string](../types/string.md), 'length' => [int](../types/int.md), \]; - -[$account\_takeout](../constructors/account_takeout.md) = \['id' => [long](../types/long.md), \]; - -[$account\_tmpPassword](../constructors/account_tmpPassword.md) = \['tmp_password' => [bytes](../types/bytes.md), 'valid_until' => [int](../types/int.md), \]; - -[$account\_webAuthorizations](../constructors/account_webAuthorizations.md) = \['authorizations' => \[[WebAuthorization](../types/WebAuthorization.md)\], 'users' => \[[User](../types/User.md)\], \]; +

[$auth.authorization](../constructors/auth.authorization.md) = \['tmp_sessions' => [int](../types/int.md), 'user' => [User](../types/User.md), \]; *** -

[$auth\_authorization](../constructors/auth_authorization.md) = \['tmp_sessions' => [int](../types/int.md), 'user' => [User](../types/User.md), \]; +

[$auth.checkedPhone](../constructors/auth.checkedPhone.md) = \['phone_registered' => [Bool](../types/Bool.md), \]; -[$auth\_checkedPhone](../constructors/auth_checkedPhone.md) = \['phone_registered' => [Bool](../types/Bool.md), \]; +*** +

[$auth.codeTypeCall](../constructors/auth.codeTypeCall.md) = \[\]; -[$auth\_codeTypeCall](../constructors/auth_codeTypeCall.md) = \[\]; +*** +

[$auth.codeTypeFlashCall](../constructors/auth.codeTypeFlashCall.md) = \[\]; -[$auth\_codeTypeFlashCall](../constructors/auth_codeTypeFlashCall.md) = \[\]; +*** +

[$auth.codeTypeSms](../constructors/auth.codeTypeSms.md) = \[\]; -[$auth\_codeTypeSms](../constructors/auth_codeTypeSms.md) = \[\]; +*** +

[$auth.exportedAuthorization](../constructors/auth.exportedAuthorization.md) = \['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; -[$auth\_exportedAuthorization](../constructors/auth_exportedAuthorization.md) = \['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; +*** +

[$auth.passwordRecovery](../constructors/auth.passwordRecovery.md) = \['email_pattern' => [string](../types/string.md), \]; -[$auth\_passwordRecovery](../constructors/auth_passwordRecovery.md) = \['email_pattern' => [string](../types/string.md), \]; +*** +

[$auth.sentCode](../constructors/auth.sentCode.md) = \['phone_registered' => [Bool](../types/Bool.md), 'type' => [auth.SentCodeType](../types/auth.SentCodeType.md), 'phone_code_hash' => [string](../types/string.md), 'next_type' => [auth.CodeType](../types/auth.CodeType.md), 'timeout' => [int](../types/int.md), 'terms_of_service' => [help.TermsOfService](../types/help.TermsOfService.md), \]; -[$auth\_sentCode](../constructors/auth_sentCode.md) = \['phone_registered' => [Bool](../types/Bool.md), 'type' => [auth.SentCodeType](../types/auth.SentCodeType.md), 'phone_code_hash' => [string](../types/string.md), 'next_type' => [auth.CodeType](../types/auth.CodeType.md), 'timeout' => [int](../types/int.md), 'terms_of_service' => [help.TermsOfService](../types/help.TermsOfService.md), \]; +*** +

[$auth.sentCodeTypeApp](../constructors/auth.sentCodeTypeApp.md) = \['length' => [int](../types/int.md), \]; -[$auth\_sentCodeTypeApp](../constructors/auth_sentCodeTypeApp.md) = \['length' => [int](../types/int.md), \]; +*** +

[$auth.sentCodeTypeCall](../constructors/auth.sentCodeTypeCall.md) = \['length' => [int](../types/int.md), \]; -[$auth\_sentCodeTypeCall](../constructors/auth_sentCodeTypeCall.md) = \['length' => [int](../types/int.md), \]; +*** +

[$auth.sentCodeTypeFlashCall](../constructors/auth.sentCodeTypeFlashCall.md) = \['pattern' => [string](../types/string.md), \]; -[$auth\_sentCodeTypeFlashCall](../constructors/auth_sentCodeTypeFlashCall.md) = \['pattern' => [string](../types/string.md), \]; - -[$auth\_sentCodeTypeSms](../constructors/auth_sentCodeTypeSms.md) = \['length' => [int](../types/int.md), \]; +*** +

[$auth.sentCodeTypeSms](../constructors/auth.sentCodeTypeSms.md) = \['length' => [int](../types/int.md), \]; ***

[$authorization](../constructors/authorization.md) = \['hash' => [long](../types/long.md), 'device_model' => [string](../types/string.md), 'platform' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'api_id' => [int](../types/int.md), 'app_name' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'date_created' => [int](../types/int.md), 'date_active' => [int](../types/int.md), 'ip' => [string](../types/string.md), 'country' => [string](../types/string.md), 'region' => [string](../types/string.md), \]; @@ -211,13 +232,16 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$channelParticipantsSearch](../constructors/channelParticipantsSearch.md) = \['q' => [string](../types/string.md), \]; *** -

[$channels\_adminLogResults](../constructors/channels_adminLogResults.md) = \['events' => \[[ChannelAdminLogEvent](../types/ChannelAdminLogEvent.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +

[$channels.adminLogResults](../constructors/channels.adminLogResults.md) = \['events' => \[[ChannelAdminLogEvent](../types/ChannelAdminLogEvent.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$channels\_channelParticipant](../constructors/channels_channelParticipant.md) = \['participant' => [ChannelParticipant](../types/ChannelParticipant.md), 'users' => \[[User](../types/User.md)\], \]; +*** +

[$channels.channelParticipant](../constructors/channels.channelParticipant.md) = \['participant' => [ChannelParticipant](../types/ChannelParticipant.md), 'users' => \[[User](../types/User.md)\], \]; -[$channels\_channelParticipants](../constructors/channels_channelParticipants.md) = \['count' => [int](../types/int.md), 'participants' => \[[ChannelParticipant](../types/ChannelParticipant.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$channels.channelParticipants](../constructors/channels.channelParticipants.md) = \['count' => [int](../types/int.md), 'participants' => \[[ChannelParticipant](../types/ChannelParticipant.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$channels\_channelParticipantsNotModified](../constructors/channels_channelParticipantsNotModified.md) = \[\]; +*** +

[$channels.channelParticipantsNotModified](../constructors/channels.channelParticipantsNotModified.md) = \[\]; ***

[$chat](../constructors/chat.md) = \['creator' => [Bool](../types/Bool.md), 'kicked' => [Bool](../types/Bool.md), 'left' => [Bool](../types/Bool.md), 'admins_enabled' => [Bool](../types/Bool.md), 'admin' => [Bool](../types/Bool.md), 'deactivated' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'title' => [string](../types/string.md), 'photo' => [ChatPhoto](../types/ChatPhoto.md), 'participants_count' => [int](../types/int.md), 'date' => [int](../types/int.md), 'version' => [int](../types/int.md), 'migrated_to' => [InputChannel](../types/InputChannel.md), \]; @@ -289,27 +313,37 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$contactStatus](../constructors/contactStatus.md) = \['user_id' => [int](../types/int.md), 'status' => [UserStatus](../types/UserStatus.md), \]; *** -

[$contacts\_blocked](../constructors/contacts_blocked.md) = \['blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; +

[$contacts.blocked](../constructors/contacts.blocked.md) = \['blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_blockedSlice](../constructors/contacts_blockedSlice.md) = \['count' => [int](../types/int.md), 'blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.blockedSlice](../constructors/contacts.blockedSlice.md) = \['count' => [int](../types/int.md), 'blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_contacts](../constructors/contacts_contacts.md) = \['contacts' => \[[Contact](../types/Contact.md)\], 'saved_count' => [int](../types/int.md), 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.contacts](../constructors/contacts.contacts.md) = \['contacts' => \[[Contact](../types/Contact.md)\], 'saved_count' => [int](../types/int.md), 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_contactsNotModified](../constructors/contacts_contactsNotModified.md) = \[\]; +*** +

[$contacts.contactsNotModified](../constructors/contacts.contactsNotModified.md) = \[\]; -[$contacts\_found](../constructors/contacts_found.md) = \['my_results' => \[[Peer](../types/Peer.md)\], 'results' => \[[Peer](../types/Peer.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.found](../constructors/contacts.found.md) = \['my_results' => \[[Peer](../types/Peer.md)\], 'results' => \[[Peer](../types/Peer.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_importedContacts](../constructors/contacts_importedContacts.md) = \['imported' => \[[ImportedContact](../types/ImportedContact.md)\], 'popular_invites' => \[[PopularContact](../types/PopularContact.md)\], 'retry_contacts' => \[[long](../types/long.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.importedContacts](../constructors/contacts.importedContacts.md) = \['imported' => \[[ImportedContact](../types/ImportedContact.md)\], 'popular_invites' => \[[PopularContact](../types/PopularContact.md)\], 'retry_contacts' => \[[long](../types/long.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_link](../constructors/contacts_link.md) = \['my_link' => [ContactLink](../types/ContactLink.md), 'foreign_link' => [ContactLink](../types/ContactLink.md), 'user' => [User](../types/User.md), \]; +*** +

[$contacts.link](../constructors/contacts.link.md) = \['my_link' => [ContactLink](../types/ContactLink.md), 'foreign_link' => [ContactLink](../types/ContactLink.md), 'user' => [User](../types/User.md), \]; -[$contacts\_resolvedPeer](../constructors/contacts_resolvedPeer.md) = \['peer' => [Peer](../types/Peer.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.resolvedPeer](../constructors/contacts.resolvedPeer.md) = \['peer' => [Peer](../types/Peer.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_topPeers](../constructors/contacts_topPeers.md) = \['categories' => \[[TopPeerCategoryPeers](../types/TopPeerCategoryPeers.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.topPeers](../constructors/contacts.topPeers.md) = \['categories' => \[[TopPeerCategoryPeers](../types/TopPeerCategoryPeers.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_topPeersDisabled](../constructors/contacts_topPeersDisabled.md) = \[\]; +*** +

[$contacts.topPeersDisabled](../constructors/contacts.topPeersDisabled.md) = \[\]; -[$contacts\_topPeersNotModified](../constructors/contacts_topPeersNotModified.md) = \[\]; +*** +

[$contacts.topPeersNotModified](../constructors/contacts.topPeersNotModified.md) = \[\]; ***

[$dataJSON](../constructors/dataJSON.md) = \['data' => [string](../types/string.md), \]; @@ -414,31 +448,43 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$geoPointEmpty](../constructors/geoPointEmpty.md) = \[\]; *** -

[$help\_appUpdate](../constructors/help_appUpdate.md) = \['id' => [int](../types/int.md), 'critical' => [Bool](../types/Bool.md), 'url' => [string](../types/string.md), 'text' => [string](../types/string.md), \]; +

[$help.appUpdate](../constructors/help.appUpdate.md) = \['id' => [int](../types/int.md), 'critical' => [Bool](../types/Bool.md), 'url' => [string](../types/string.md), 'text' => [string](../types/string.md), \]; -[$help\_configSimple](../constructors/help_configSimple.md) = \['date' => [int](../types/int.md), 'expires' => [int](../types/int.md), 'rules' => \[[AccessPointRule](../types/AccessPointRule.md)\], \]; +*** +

[$help.configSimple](../constructors/help.configSimple.md) = \['date' => [int](../types/int.md), 'expires' => [int](../types/int.md), 'rules' => \[[AccessPointRule](../types/AccessPointRule.md)\], \]; -[$help\_deepLinkInfo](../constructors/help_deepLinkInfo.md) = \['update_app' => [Bool](../types/Bool.md), 'message' => [string](../types/string.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], \]; +*** +

[$help.deepLinkInfo](../constructors/help.deepLinkInfo.md) = \['update_app' => [Bool](../types/Bool.md), 'message' => [string](../types/string.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], \]; -[$help\_deepLinkInfoEmpty](../constructors/help_deepLinkInfoEmpty.md) = \[\]; +*** +

[$help.deepLinkInfoEmpty](../constructors/help.deepLinkInfoEmpty.md) = \[\]; -[$help\_inviteText](../constructors/help_inviteText.md) = \['message' => [string](../types/string.md), \]; +*** +

[$help.inviteText](../constructors/help.inviteText.md) = \['message' => [string](../types/string.md), \]; -[$help\_noAppUpdate](../constructors/help_noAppUpdate.md) = \[\]; +*** +

[$help.noAppUpdate](../constructors/help.noAppUpdate.md) = \[\]; -[$help\_proxyDataEmpty](../constructors/help_proxyDataEmpty.md) = \['expires' => [int](../types/int.md), \]; +*** +

[$help.proxyDataEmpty](../constructors/help.proxyDataEmpty.md) = \['expires' => [int](../types/int.md), \]; -[$help\_proxyDataPromo](../constructors/help_proxyDataPromo.md) = \['expires' => [int](../types/int.md), 'peer' => [Peer](../types/Peer.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$help.proxyDataPromo](../constructors/help.proxyDataPromo.md) = \['expires' => [int](../types/int.md), 'peer' => [Peer](../types/Peer.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$help\_recentMeUrls](../constructors/help_recentMeUrls.md) = \['urls' => \[[RecentMeUrl](../types/RecentMeUrl.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$help.recentMeUrls](../constructors/help.recentMeUrls.md) = \['urls' => \[[RecentMeUrl](../types/RecentMeUrl.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$help\_support](../constructors/help_support.md) = \['phone_number' => [string](../types/string.md), 'user' => [User](../types/User.md), \]; +*** +

[$help.support](../constructors/help.support.md) = \['phone_number' => [string](../types/string.md), 'user' => [User](../types/User.md), \]; -[$help\_termsOfService](../constructors/help_termsOfService.md) = \['popup' => [Bool](../types/Bool.md), 'id' => [DataJSON](../types/DataJSON.md), 'text' => [string](../types/string.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], 'min_age_confirm' => [int](../types/int.md), \]; +*** +

[$help.termsOfService](../constructors/help.termsOfService.md) = \['popup' => [Bool](../types/Bool.md), 'id' => [DataJSON](../types/DataJSON.md), 'text' => [string](../types/string.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], 'min_age_confirm' => [int](../types/int.md), \]; -[$help\_termsOfServiceUpdate](../constructors/help_termsOfServiceUpdate.md) = \['expires' => [int](../types/int.md), 'terms_of_service' => [help.TermsOfService](../types/help.TermsOfService.md), \]; +*** +

[$help.termsOfServiceUpdate](../constructors/help.termsOfServiceUpdate.md) = \['expires' => [int](../types/int.md), 'terms_of_service' => [help.TermsOfService](../types/help.TermsOfService.md), \]; -[$help\_termsOfServiceUpdateEmpty](../constructors/help_termsOfServiceUpdateEmpty.md) = \['expires' => [int](../types/int.md), \]; +*** +

[$help.termsOfServiceUpdateEmpty](../constructors/help.termsOfServiceUpdateEmpty.md) = \['expires' => [int](../types/int.md), \]; ***

[$highScore](../constructors/highScore.md) = \['pos' => [int](../types/int.md), 'user_id' => [int](../types/int.md), 'score' => [int](../types/int.md), \]; @@ -1014,85 +1060,124 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$messageService](../constructors/messageService.md) = \['out' => [Bool](../types/Bool.md), 'mentioned' => [Bool](../types/Bool.md), 'media_unread' => [Bool](../types/Bool.md), 'silent' => [Bool](../types/Bool.md), 'post' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'from_id' => [int](../types/int.md), 'to_id' => [Peer](../types/Peer.md), 'reply_to_msg_id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'action' => [MessageAction](../types/MessageAction.md), \]; *** -

[$messages\_affectedHistory](../constructors/messages_affectedHistory.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), 'offset' => [int](../types/int.md), \]; +

[$messages.affectedHistory](../constructors/messages.affectedHistory.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), 'offset' => [int](../types/int.md), \]; -[$messages\_affectedMessages](../constructors/messages_affectedMessages.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; +*** +

[$messages.affectedMessages](../constructors/messages.affectedMessages.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; -[$messages\_allStickers](../constructors/messages_allStickers.md) = \['hash' => [int](../types/int.md), 'sets' => \[[StickerSet](../types/StickerSet.md)\], \]; +*** +

[$messages.allStickers](../constructors/messages.allStickers.md) = \['hash' => [int](../types/int.md), 'sets' => \[[StickerSet](../types/StickerSet.md)\], \]; -[$messages\_allStickersNotModified](../constructors/messages_allStickersNotModified.md) = \[\]; +*** +

[$messages.allStickersNotModified](../constructors/messages.allStickersNotModified.md) = \[\]; -[$messages\_archivedStickers](../constructors/messages_archivedStickers.md) = \['count' => [int](../types/int.md), 'sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], \]; +*** +

[$messages.archivedStickers](../constructors/messages.archivedStickers.md) = \['count' => [int](../types/int.md), 'sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], \]; -[$messages\_botCallbackAnswer](../constructors/messages_botCallbackAnswer.md) = \['alert' => [Bool](../types/Bool.md), 'has_url' => [Bool](../types/Bool.md), 'native_ui' => [Bool](../types/Bool.md), 'message' => [string](../types/string.md), 'url' => [string](../types/string.md), 'cache_time' => [int](../types/int.md), \]; +*** +

[$messages.botCallbackAnswer](../constructors/messages.botCallbackAnswer.md) = \['alert' => [Bool](../types/Bool.md), 'has_url' => [Bool](../types/Bool.md), 'native_ui' => [Bool](../types/Bool.md), 'message' => [string](../types/string.md), 'url' => [string](../types/string.md), 'cache_time' => [int](../types/int.md), \]; -[$messages\_botResults](../constructors/messages_botResults.md) = \['gallery' => [Bool](../types/Bool.md), 'query_id' => [long](../types/long.md), 'next_offset' => [string](../types/string.md), 'switch_pm' => [InlineBotSwitchPM](../types/InlineBotSwitchPM.md), 'results' => \[[BotInlineResult](../types/BotInlineResult.md)\], 'cache_time' => [int](../types/int.md), 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.botResults](../constructors/messages.botResults.md) = \['gallery' => [Bool](../types/Bool.md), 'query_id' => [long](../types/long.md), 'next_offset' => [string](../types/string.md), 'switch_pm' => [InlineBotSwitchPM](../types/InlineBotSwitchPM.md), 'results' => \[[BotInlineResult](../types/BotInlineResult.md)\], 'cache_time' => [int](../types/int.md), 'users' => \[[User](../types/User.md)\], \]; -[$messages\_channelMessages](../constructors/messages_channelMessages.md) = \['pts' => [int](../types/int.md), 'count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.channelMessages](../constructors/messages.channelMessages.md) = \['pts' => [int](../types/int.md), 'count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_chatFull](../constructors/messages_chatFull.md) = \['full_chat' => [ChatFull](../types/ChatFull.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.chatFull](../constructors/messages.chatFull.md) = \['full_chat' => [ChatFull](../types/ChatFull.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_chats](../constructors/messages_chats.md) = \['chats' => \[[Chat](../types/Chat.md)\], \]; +*** +

[$messages.chats](../constructors/messages.chats.md) = \['chats' => \[[Chat](../types/Chat.md)\], \]; -[$messages\_chatsSlice](../constructors/messages_chatsSlice.md) = \['count' => [int](../types/int.md), 'chats' => \[[Chat](../types/Chat.md)\], \]; +*** +

[$messages.chatsSlice](../constructors/messages.chatsSlice.md) = \['count' => [int](../types/int.md), 'chats' => \[[Chat](../types/Chat.md)\], \]; -[$messages\_dhConfig](../constructors/messages_dhConfig.md) = \['g' => [int](../types/int.md), 'p' => [bytes](../types/bytes.md), 'version' => [int](../types/int.md), 'random' => [bytes](../types/bytes.md), \]; +*** +

[$messages.dhConfig](../constructors/messages.dhConfig.md) = \['g' => [int](../types/int.md), 'p' => [bytes](../types/bytes.md), 'version' => [int](../types/int.md), 'random' => [bytes](../types/bytes.md), \]; -[$messages\_dhConfigNotModified](../constructors/messages_dhConfigNotModified.md) = \['random' => [bytes](../types/bytes.md), \]; +*** +

[$messages.dhConfigNotModified](../constructors/messages.dhConfigNotModified.md) = \['random' => [bytes](../types/bytes.md), \]; -[$messages\_dialogs](../constructors/messages_dialogs.md) = \['dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.dialogs](../constructors/messages.dialogs.md) = \['dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_dialogsNotModified](../constructors/messages_dialogsNotModified.md) = \['count' => [int](../types/int.md), \]; +*** +

[$messages.dialogsNotModified](../constructors/messages.dialogsNotModified.md) = \['count' => [int](../types/int.md), \]; -[$messages\_dialogsSlice](../constructors/messages_dialogsSlice.md) = \['count' => [int](../types/int.md), 'dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.dialogsSlice](../constructors/messages.dialogsSlice.md) = \['count' => [int](../types/int.md), 'dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_favedStickers](../constructors/messages_favedStickers.md) = \['hash' => [int](../types/int.md), 'packs' => \[[StickerPack](../types/StickerPack.md)\], 'stickers' => \[[Document](../types/Document.md)\], \]; +*** +

[$messages.favedStickers](../constructors/messages.favedStickers.md) = \['hash' => [int](../types/int.md), 'packs' => \[[StickerPack](../types/StickerPack.md)\], 'stickers' => \[[Document](../types/Document.md)\], \]; -[$messages\_favedStickersNotModified](../constructors/messages_favedStickersNotModified.md) = \[\]; +*** +

[$messages.favedStickersNotModified](../constructors/messages.favedStickersNotModified.md) = \[\]; -[$messages\_featuredStickers](../constructors/messages_featuredStickers.md) = \['hash' => [int](../types/int.md), 'sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], 'unread' => \[[long](../types/long.md)\], \]; +*** +

[$messages.featuredStickers](../constructors/messages.featuredStickers.md) = \['hash' => [int](../types/int.md), 'sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], 'unread' => \[[long](../types/long.md)\], \]; -[$messages\_featuredStickersNotModified](../constructors/messages_featuredStickersNotModified.md) = \[\]; +*** +

[$messages.featuredStickersNotModified](../constructors/messages.featuredStickersNotModified.md) = \[\]; -[$messages\_foundGifs](../constructors/messages_foundGifs.md) = \['next_offset' => [int](../types/int.md), 'results' => \[[FoundGif](../types/FoundGif.md)\], \]; +*** +

[$messages.foundGifs](../constructors/messages.foundGifs.md) = \['next_offset' => [int](../types/int.md), 'results' => \[[FoundGif](../types/FoundGif.md)\], \]; -[$messages\_foundStickerSets](../constructors/messages_foundStickerSets.md) = \['hash' => [int](../types/int.md), 'sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], \]; +*** +

[$messages.foundStickerSets](../constructors/messages.foundStickerSets.md) = \['hash' => [int](../types/int.md), 'sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], \]; -[$messages\_foundStickerSetsNotModified](../constructors/messages_foundStickerSetsNotModified.md) = \[\]; +*** +

[$messages.foundStickerSetsNotModified](../constructors/messages.foundStickerSetsNotModified.md) = \[\]; -[$messages\_highScores](../constructors/messages_highScores.md) = \['scores' => \[[HighScore](../types/HighScore.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.highScores](../constructors/messages.highScores.md) = \['scores' => \[[HighScore](../types/HighScore.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_messageEditData](../constructors/messages_messageEditData.md) = \['caption' => [Bool](../types/Bool.md), \]; +*** +

[$messages.messageEditData](../constructors/messages.messageEditData.md) = \['caption' => [Bool](../types/Bool.md), \]; -[$messages\_messages](../constructors/messages_messages.md) = \['messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.messages](../constructors/messages.messages.md) = \['messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_messagesNotModified](../constructors/messages_messagesNotModified.md) = \['count' => [int](../types/int.md), \]; +*** +

[$messages.messagesNotModified](../constructors/messages.messagesNotModified.md) = \['count' => [int](../types/int.md), \]; -[$messages\_messagesSlice](../constructors/messages_messagesSlice.md) = \['count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.messagesSlice](../constructors/messages.messagesSlice.md) = \['count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_peerDialogs](../constructors/messages_peerDialogs.md) = \['dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'state' => [updates.State](../types/updates.State.md), \]; +*** +

[$messages.peerDialogs](../constructors/messages.peerDialogs.md) = \['dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'state' => [updates.State](../types/updates.State.md), \]; -[$messages\_recentStickers](../constructors/messages_recentStickers.md) = \['hash' => [int](../types/int.md), 'packs' => \[[StickerPack](../types/StickerPack.md)\], 'stickers' => \[[Document](../types/Document.md)\], 'dates' => \[[int](../types/int.md)\], \]; +*** +

[$messages.recentStickers](../constructors/messages.recentStickers.md) = \['hash' => [int](../types/int.md), 'packs' => \[[StickerPack](../types/StickerPack.md)\], 'stickers' => \[[Document](../types/Document.md)\], 'dates' => \[[int](../types/int.md)\], \]; -[$messages\_recentStickersNotModified](../constructors/messages_recentStickersNotModified.md) = \[\]; +*** +

[$messages.recentStickersNotModified](../constructors/messages.recentStickersNotModified.md) = \[\]; -[$messages\_savedGifs](../constructors/messages_savedGifs.md) = \['hash' => [int](../types/int.md), 'gifs' => \[[Document](../types/Document.md)\], \]; +*** +

[$messages.savedGifs](../constructors/messages.savedGifs.md) = \['hash' => [int](../types/int.md), 'gifs' => \[[Document](../types/Document.md)\], \]; -[$messages\_savedGifsNotModified](../constructors/messages_savedGifsNotModified.md) = \[\]; +*** +

[$messages.savedGifsNotModified](../constructors/messages.savedGifsNotModified.md) = \[\]; -[$messages\_sentEncryptedFile](../constructors/messages_sentEncryptedFile.md) = \['date' => [int](../types/int.md), 'file' => [EncryptedFile](../types/EncryptedFile.md), \]; +*** +

[$messages.sentEncryptedFile](../constructors/messages.sentEncryptedFile.md) = \['date' => [int](../types/int.md), 'file' => [EncryptedFile](../types/EncryptedFile.md), \]; -[$messages\_sentEncryptedMessage](../constructors/messages_sentEncryptedMessage.md) = \['date' => [int](../types/int.md), \]; +*** +

[$messages.sentEncryptedMessage](../constructors/messages.sentEncryptedMessage.md) = \['date' => [int](../types/int.md), \]; -[$messages\_stickerSet](../constructors/messages_stickerSet.md) = \['set' => [StickerSet](../types/StickerSet.md), 'packs' => \[[StickerPack](../types/StickerPack.md)\], 'documents' => \[[Document](../types/Document.md)\], \]; +*** +

[$messages.stickerSet](../constructors/messages.stickerSet.md) = \['set' => [StickerSet](../types/StickerSet.md), 'packs' => \[[StickerPack](../types/StickerPack.md)\], 'documents' => \[[Document](../types/Document.md)\], \]; -[$messages\_stickerSetInstallResultArchive](../constructors/messages_stickerSetInstallResultArchive.md) = \['sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], \]; +*** +

[$messages.stickerSetInstallResultArchive](../constructors/messages.stickerSetInstallResultArchive.md) = \['sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], \]; -[$messages\_stickerSetInstallResultSuccess](../constructors/messages_stickerSetInstallResultSuccess.md) = \[\]; +*** +

[$messages.stickerSetInstallResultSuccess](../constructors/messages.stickerSetInstallResultSuccess.md) = \[\]; -[$messages\_stickers](../constructors/messages_stickers.md) = \['hash' => [int](../types/int.md), 'stickers' => \[[Document](../types/Document.md)\], \]; +*** +

[$messages.stickers](../constructors/messages.stickers.md) = \['hash' => [int](../types/int.md), 'stickers' => \[[Document](../types/Document.md)\], \]; -[$messages\_stickersNotModified](../constructors/messages_stickersNotModified.md) = \[\]; +*** +

[$messages.stickersNotModified](../constructors/messages.stickersNotModified.md) = \[\]; ***

[$nearestDc](../constructors/nearestDc.md) = \['country' => [string](../types/string.md), 'this_dc' => [int](../types/int.md), 'nearest_dc' => [int](../types/int.md), \]; @@ -1194,17 +1279,22 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$paymentSavedCredentialsCard](../constructors/paymentSavedCredentialsCard.md) = \['id' => [string](../types/string.md), 'title' => [string](../types/string.md), \]; *** -

[$payments\_paymentForm](../constructors/payments_paymentForm.md) = \['can_save_credentials' => [Bool](../types/Bool.md), 'password_missing' => [Bool](../types/Bool.md), 'bot_id' => [int](../types/int.md), 'invoice' => [Invoice](../types/Invoice.md), 'provider_id' => [int](../types/int.md), 'url' => [string](../types/string.md), 'native_provider' => [string](../types/string.md), 'native_params' => [DataJSON](../types/DataJSON.md), 'saved_info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), 'saved_credentials' => [PaymentSavedCredentials](../types/PaymentSavedCredentials.md), 'users' => \[[User](../types/User.md)\], \]; +

[$payments.paymentForm](../constructors/payments.paymentForm.md) = \['can_save_credentials' => [Bool](../types/Bool.md), 'password_missing' => [Bool](../types/Bool.md), 'bot_id' => [int](../types/int.md), 'invoice' => [Invoice](../types/Invoice.md), 'provider_id' => [int](../types/int.md), 'url' => [string](../types/string.md), 'native_provider' => [string](../types/string.md), 'native_params' => [DataJSON](../types/DataJSON.md), 'saved_info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), 'saved_credentials' => [PaymentSavedCredentials](../types/PaymentSavedCredentials.md), 'users' => \[[User](../types/User.md)\], \]; -[$payments\_paymentReceipt](../constructors/payments_paymentReceipt.md) = \['date' => [int](../types/int.md), 'bot_id' => [int](../types/int.md), 'invoice' => [Invoice](../types/Invoice.md), 'provider_id' => [int](../types/int.md), 'info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), 'shipping' => [ShippingOption](../types/ShippingOption.md), 'currency' => [string](../types/string.md), 'total_amount' => [long](../types/long.md), 'credentials_title' => [string](../types/string.md), 'users' => \[[User](../types/User.md)\], \]; +*** +

[$payments.paymentReceipt](../constructors/payments.paymentReceipt.md) = \['date' => [int](../types/int.md), 'bot_id' => [int](../types/int.md), 'invoice' => [Invoice](../types/Invoice.md), 'provider_id' => [int](../types/int.md), 'info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), 'shipping' => [ShippingOption](../types/ShippingOption.md), 'currency' => [string](../types/string.md), 'total_amount' => [long](../types/long.md), 'credentials_title' => [string](../types/string.md), 'users' => \[[User](../types/User.md)\], \]; -[$payments\_paymentResult](../constructors/payments_paymentResult.md) = \['updates' => [Updates](../types/Updates.md), \]; +*** +

[$payments.paymentResult](../constructors/payments.paymentResult.md) = \['updates' => [Updates](../types/Updates.md), \]; -[$payments\_paymentVerficationNeeded](../constructors/payments_paymentVerficationNeeded.md) = \['url' => [string](../types/string.md), \]; +*** +

[$payments.paymentVerficationNeeded](../constructors/payments.paymentVerficationNeeded.md) = \['url' => [string](../types/string.md), \]; -[$payments\_savedInfo](../constructors/payments_savedInfo.md) = \['has_saved_credentials' => [Bool](../types/Bool.md), 'saved_info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), \]; +*** +

[$payments.savedInfo](../constructors/payments.savedInfo.md) = \['has_saved_credentials' => [Bool](../types/Bool.md), 'saved_info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), \]; -[$payments\_validatedRequestedInfo](../constructors/payments_validatedRequestedInfo.md) = \['id' => [string](../types/string.md), 'shipping_options' => \[[ShippingOption](../types/ShippingOption.md)\], \]; +*** +

[$payments.validatedRequestedInfo](../constructors/payments.validatedRequestedInfo.md) = \['id' => [string](../types/string.md), 'shipping_options' => \[[ShippingOption](../types/ShippingOption.md)\], \]; ***

[$peerChannel](../constructors/peerChannel.md) = \['channel_id' => [int](../types/int.md), \]; @@ -1221,6 +1311,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ***

[$peerUser](../constructors/peerUser.md) = \['user_id' => [int](../types/int.md), \]; +*** +

[$phone.phoneCall](../constructors/phone.phoneCall.md) = \['phone_call' => [PhoneCall](../types/PhoneCall.md), 'users' => \[[User](../types/User.md)\], \]; + ***

[$phoneCall](../constructors/phoneCall.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'date' => [int](../types/int.md), 'admin_id' => [int](../types/int.md), 'participant_id' => [int](../types/int.md), 'g_a_or_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), 'connection' => [PhoneConnection](../types/PhoneConnection.md), 'alternative_connections' => \[[PhoneConnection](../types/PhoneConnection.md)\], 'start_date' => [int](../types/int.md), \]; @@ -1257,9 +1350,6 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ***

[$phoneConnection](../constructors/phoneConnection.md) = \['id' => [long](../types/long.md), 'ip' => [string](../types/string.md), 'ipv6' => [string](../types/string.md), 'port' => [int](../types/int.md), 'peer_tag' => [bytes](../types/bytes.md), \]; -*** -

[$phone\_phoneCall](../constructors/phone_phoneCall.md) = \['phone_call' => [PhoneCall](../types/PhoneCall.md), 'users' => \[[User](../types/User.md)\], \]; - ***

[$photo](../constructors/photo.md) = \['has_stickers' => [Bool](../types/Bool.md), 'id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'date' => [int](../types/int.md), 'sizes' => \[[PhotoSize](../types/PhotoSize.md)\], \]; @@ -1276,11 +1366,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$photoSizeEmpty](../constructors/photoSizeEmpty.md) = \['type' => [string](../types/string.md), \]; *** -

[$photos\_photo](../constructors/photos_photo.md) = \['photo' => [Photo](../types/Photo.md), 'users' => \[[User](../types/User.md)\], \]; +

[$photos.photo](../constructors/photos.photo.md) = \['photo' => [Photo](../types/Photo.md), 'users' => \[[User](../types/User.md)\], \]; -[$photos\_photos](../constructors/photos_photos.md) = \['photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$photos.photos](../constructors/photos.photos.md) = \['photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$photos\_photosSlice](../constructors/photos_photosSlice.md) = \['count' => [int](../types/int.md), 'photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$photos.photosSlice](../constructors/photos.photosSlice.md) = \['count' => [int](../types/int.md), 'photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; ***

[$popularContact](../constructors/popularContact.md) = \['client_id' => [long](../types/long.md), 'importers' => [int](../types/int.md), \]; @@ -1484,25 +1576,34 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$stickerSetMultiCovered](../constructors/stickerSetMultiCovered.md) = \['set' => [StickerSet](../types/StickerSet.md), 'covers' => \[[Document](../types/Document.md)\], \]; *** -

[$storage\_fileGif](../constructors/storage_fileGif.md) = \[\]; +

[$storage.fileGif](../constructors/storage.fileGif.md) = \[\]; -[$storage\_fileJpeg](../constructors/storage_fileJpeg.md) = \[\]; +*** +

[$storage.fileJpeg](../constructors/storage.fileJpeg.md) = \[\]; -[$storage\_fileMov](../constructors/storage_fileMov.md) = \[\]; +*** +

[$storage.fileMov](../constructors/storage.fileMov.md) = \[\]; -[$storage\_fileMp3](../constructors/storage_fileMp3.md) = \[\]; +*** +

[$storage.fileMp3](../constructors/storage.fileMp3.md) = \[\]; -[$storage\_fileMp4](../constructors/storage_fileMp4.md) = \[\]; +*** +

[$storage.fileMp4](../constructors/storage.fileMp4.md) = \[\]; -[$storage\_filePartial](../constructors/storage_filePartial.md) = \[\]; +*** +

[$storage.filePartial](../constructors/storage.filePartial.md) = \[\]; -[$storage\_filePdf](../constructors/storage_filePdf.md) = \[\]; +*** +

[$storage.filePdf](../constructors/storage.filePdf.md) = \[\]; -[$storage\_filePng](../constructors/storage_filePng.md) = \[\]; +*** +

[$storage.filePng](../constructors/storage.filePng.md) = \[\]; -[$storage\_fileUnknown](../constructors/storage_fileUnknown.md) = \[\]; +*** +

[$storage.fileUnknown](../constructors/storage.fileUnknown.md) = \[\]; -[$storage\_fileWebp](../constructors/storage_fileWebp.md) = \[\]; +*** +

[$storage.fileWebp](../constructors/storage.fileWebp.md) = \[\]; ***

[$textBold](../constructors/textBold.md) = \['text' => [RichText](../types/RichText.md), \]; @@ -1777,6 +1878,30 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ***

[$updates](../constructors/updates.md) = \['updates' => \[[Update](../types/Update.md)\], 'users' => \[[User](../types/User.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'date' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; +*** +

[$updates.channelDifference](../constructors/updates.channelDifference.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), 'new_messages' => \[[Message](../types/Message.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +*** +

[$updates.channelDifferenceEmpty](../constructors/updates.channelDifferenceEmpty.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), \]; + +*** +

[$updates.channelDifferenceTooLong](../constructors/updates.channelDifferenceTooLong.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), 'top_message' => [int](../types/int.md), 'read_inbox_max_id' => [int](../types/int.md), 'read_outbox_max_id' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), 'unread_mentions_count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +*** +

[$updates.difference](../constructors/updates.difference.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'state' => [updates.State](../types/updates.State.md), \]; + +*** +

[$updates.differenceEmpty](../constructors/updates.differenceEmpty.md) = \['date' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; + +*** +

[$updates.differenceSlice](../constructors/updates.differenceSlice.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'intermediate_state' => [updates.State](../types/updates.State.md), \]; + +*** +

[$updates.differenceTooLong](../constructors/updates.differenceTooLong.md) = \['pts' => [int](../types/int.md), \]; + +*** +

[$updates.state](../constructors/updates.state.md) = \['pts' => [int](../types/int.md), 'qts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'seq' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), \]; + ***

[$updatesCombined](../constructors/updatesCombined.md) = \['updates' => \[[Update](../types/Update.md)\], 'users' => \[[User](../types/User.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'date' => [int](../types/int.md), 'seq_start' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; @@ -1784,32 +1909,19 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$updatesTooLong](../constructors/updatesTooLong.md) = \[\]; *** -

[$updates\_channelDifference](../constructors/updates_channelDifference.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), 'new_messages' => \[[Message](../types/Message.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; - -[$updates\_channelDifferenceEmpty](../constructors/updates_channelDifferenceEmpty.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), \]; - -[$updates\_channelDifferenceTooLong](../constructors/updates_channelDifferenceTooLong.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), 'top_message' => [int](../types/int.md), 'read_inbox_max_id' => [int](../types/int.md), 'read_outbox_max_id' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), 'unread_mentions_count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; - -[$updates\_difference](../constructors/updates_difference.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'state' => [updates.State](../types/updates.State.md), \]; - -[$updates\_differenceEmpty](../constructors/updates_differenceEmpty.md) = \['date' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; - -[$updates\_differenceSlice](../constructors/updates_differenceSlice.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'intermediate_state' => [updates.State](../types/updates.State.md), \]; - -[$updates\_differenceTooLong](../constructors/updates_differenceTooLong.md) = \['pts' => [int](../types/int.md), \]; - -[$updates\_state](../constructors/updates_state.md) = \['pts' => [int](../types/int.md), 'qts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'seq' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), \]; +

[$upload.cdnFile](../constructors/upload.cdnFile.md) = \['bytes' => [bytes](../types/bytes.md), \]; *** -

[$upload\_cdnFile](../constructors/upload_cdnFile.md) = \['bytes' => [bytes](../types/bytes.md), \]; +

[$upload.cdnFileReuploadNeeded](../constructors/upload.cdnFileReuploadNeeded.md) = \['request_token' => [bytes](../types/bytes.md), \]; -[$upload\_cdnFileReuploadNeeded](../constructors/upload_cdnFileReuploadNeeded.md) = \['request_token' => [bytes](../types/bytes.md), \]; +*** +

[$upload.file](../constructors/upload.file.md) = \['type' => [storage.FileType](../types/storage.FileType.md), 'mtime' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; -[$upload\_file](../constructors/upload_file.md) = \['type' => [storage.FileType](../types/storage.FileType.md), 'mtime' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; +*** +

[$upload.fileCdnRedirect](../constructors/upload.fileCdnRedirect.md) = \['dc_id' => [int](../types/int.md), 'file_token' => [bytes](../types/bytes.md), 'encryption_key' => [bytes](../types/bytes.md), 'encryption_iv' => [bytes](../types/bytes.md), 'file_hashes' => \[[FileHash](../types/FileHash.md)\], \]; -[$upload\_fileCdnRedirect](../constructors/upload_fileCdnRedirect.md) = \['dc_id' => [int](../types/int.md), 'file_token' => [bytes](../types/bytes.md), 'encryption_key' => [bytes](../types/bytes.md), 'encryption_iv' => [bytes](../types/bytes.md), 'file_hashes' => \[[FileHash](../types/FileHash.md)\], \]; - -[$upload\_webFile](../constructors/upload_webFile.md) = \['size' => [int](../types/int.md), 'mime_type' => [string](../types/string.md), 'file_type' => [storage.FileType](../types/storage.FileType.md), 'mtime' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; +*** +

[$upload.webFile](../constructors/upload.webFile.md) = \['size' => [int](../types/int.md), 'mime_type' => [string](../types/string.md), 'file_type' => [storage.FileType](../types/storage.FileType.md), 'mtime' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; ***

[$user](../constructors/user.md) = \['self' => [Bool](../types/Bool.md), 'contact' => [Bool](../types/Bool.md), 'mutual_contact' => [Bool](../types/Bool.md), 'deleted' => [Bool](../types/Bool.md), 'bot' => [Bool](../types/Bool.md), 'bot_chat_history' => [Bool](../types/Bool.md), 'bot_nochats' => [Bool](../types/Bool.md), 'verified' => [Bool](../types/Bool.md), 'restricted' => [Bool](../types/Bool.md), 'min' => [Bool](../types/Bool.md), 'bot_inline_geo' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), 'username' => [string](../types/string.md), 'phone' => [string](../types/string.md), 'photo' => [UserProfilePhoto](../types/UserProfilePhoto.md), 'status' => [UserStatus](../types/UserStatus.md), 'bot_info_version' => [int](../types/int.md), 'restriction_reason' => [string](../types/string.md), 'bot_inline_placeholder' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]; diff --git a/old_docs/API_docs_v82/constructors/account.authorizationForm.md b/old_docs/API_docs_v82/constructors/account.authorizationForm.md new file mode 100644 index 00000000..07847988 --- /dev/null +++ b/old_docs/API_docs_v82/constructors/account.authorizationForm.md @@ -0,0 +1,43 @@ +--- +title: account.authorizationForm +description: [Telegram Passport](https://core.telegram.org/passport) authorization form +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.authorizationForm +[Back to constructors index](index.md) + + + +[Telegram Passport](https://core.telegram.org/passport) authorization form + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|selfie\_required|[Bool](../types/Bool.md) | Optional|Selfie required?| +|required\_types|Array of [SecureValueType](../types/SecureValueType.md) | Yes|Required types| +|values|Array of [SecureValue](../types/SecureValue.md) | Yes|Values| +|errors|Array of [SecureValueError](../types/SecureValueError.md) | Yes|Errors| +|users|Array of [User](../types/User.md) | Yes|Users| +|privacy\_policy\_url|[string](../types/string.md) | Optional|URL of the service's privacy policy| + + + +### Type: [account.AuthorizationForm](../types/account.AuthorizationForm.md) + + +### Example: + +```php +$account.authorizationForm = ['_' => 'account.authorizationForm', 'selfie_required' => Bool, 'required_types' => [SecureValueType, SecureValueType], 'values' => [SecureValue, SecureValue], 'errors' => [SecureValueError, SecureValueError], 'users' => [User, User], 'privacy_policy_url' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +account.authorizationForm={_='account.authorizationForm', selfie_required=Bool, required_types={SecureValueType}, values={SecureValue}, errors={SecureValueError}, users={User}, privacy_policy_url='string'} + +``` + + diff --git a/old_docs/API_docs_v82/constructors/account.authorizations.md b/old_docs/API_docs_v82/constructors/account.authorizations.md new file mode 100644 index 00000000..53c961f0 --- /dev/null +++ b/old_docs/API_docs_v82/constructors/account.authorizations.md @@ -0,0 +1,38 @@ +--- +title: account.authorizations +description: Logged-in sessions +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.authorizations +[Back to constructors index](index.md) + + + +Logged-in sessions + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|authorizations|Array of [Authorization](../types/Authorization.md) | Yes|Authorizations| + + + +### Type: [account.Authorizations](../types/account.Authorizations.md) + + +### Example: + +```php +$account.authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization, Authorization]]; +``` + + +Or, if you're into Lua: + +```lua +account.authorizations={_='account.authorizations', authorizations={Authorization}} + +``` + + diff --git a/old_docs/API_docs_v82/constructors/account.noPassword.md b/old_docs/API_docs_v82/constructors/account.noPassword.md new file mode 100644 index 00000000..cb7d94e1 --- /dev/null +++ b/old_docs/API_docs_v82/constructors/account.noPassword.md @@ -0,0 +1,41 @@ +--- +title: account.noPassword +description: No password +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.noPassword +[Back to constructors index](index.md) + + + +No password + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|new\_salt|[bytes](../types/bytes.md) | Yes|New salt| +|new\_secure\_salt|[bytes](../types/bytes.md) | Yes|New secure salt| +|secure\_random|[bytes](../types/bytes.md) | Yes|Secure random| +|email\_unconfirmed\_pattern|[string](../types/string.md) | Yes|Email unconfirmed pattern| + + + +### Type: [account.Password](../types/account.Password.md) + + +### Example: + +```php +$account.noPassword = ['_' => 'account.noPassword', 'new_salt' => 'bytes', 'new_secure_salt' => 'bytes', 'secure_random' => 'bytes', 'email_unconfirmed_pattern' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +account.noPassword={_='account.noPassword', new_salt='bytes', new_secure_salt='bytes', secure_random='bytes', email_unconfirmed_pattern='string'} + +``` + + diff --git a/old_docs/API_docs_v82/constructors/account.password.md b/old_docs/API_docs_v82/constructors/account.password.md new file mode 100644 index 00000000..73a6434e --- /dev/null +++ b/old_docs/API_docs_v82/constructors/account.password.md @@ -0,0 +1,45 @@ +--- +title: account.password +description: Configuration for two-factor authorization +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.password +[Back to constructors index](index.md) + + + +Configuration for two-factor authorization + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|has\_recovery|[Bool](../types/Bool.md) | Optional|Whether the user has a recovery method configured| +|has\_secure\_values|[Bool](../types/Bool.md) | Optional|Whether telegram [passport](https://core.telegram.org/passport) is enabled| +|current\_salt|[bytes](../types/bytes.md) | Yes|Current salt| +|new\_salt|[bytes](../types/bytes.md) | Yes|New salt| +|new\_secure\_salt|[bytes](../types/bytes.md) | Yes|New secure salt| +|secure\_random|[bytes](../types/bytes.md) | Yes|Secure random string| +|hint|[string](../types/string.md) | Yes|Text hint for the password| +|email\_unconfirmed\_pattern|[string](../types/string.md) | Yes|A [password recovery email](https://core.telegram.org/api/srp#email-verification) with the specified [pattern](https://core.telegram.org/api/pattern) is still awaiting verification| + + + +### Type: [account.Password](../types/account.Password.md) + + +### Example: + +```php +$account.password = ['_' => 'account.password', 'has_recovery' => Bool, 'has_secure_values' => Bool, 'current_salt' => 'bytes', 'new_salt' => 'bytes', 'new_secure_salt' => 'bytes', 'secure_random' => 'bytes', 'hint' => 'string', 'email_unconfirmed_pattern' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +account.password={_='account.password', has_recovery=Bool, has_secure_values=Bool, current_salt='bytes', new_salt='bytes', new_secure_salt='bytes', secure_random='bytes', hint='string', email_unconfirmed_pattern='string'} + +``` + + diff --git a/old_docs/API_docs_v82/constructors/account.passwordInputSettings.md b/old_docs/API_docs_v82/constructors/account.passwordInputSettings.md new file mode 100644 index 00000000..76d8d261 --- /dev/null +++ b/old_docs/API_docs_v82/constructors/account.passwordInputSettings.md @@ -0,0 +1,44 @@ +--- +title: account.passwordInputSettings +description: Settings for setting up a new password +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.passwordInputSettings +[Back to constructors index](index.md) + + + +Settings for setting up a new password + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|new\_salt|[bytes](../types/bytes.md) | Optional|`$new_salt = $MadelineProto->account->getPassword()['new_salt'].$MadelineProto->random(8);`| +|new\_password\_hash|[bytes](../types/bytes.md) | Optional|The [computed password hash](https://core.telegram.org/api/srp)| +|hint|[string](../types/string.md) | Optional|Text hint for the password| +|email|[string](../types/string.md) | Optional|Password recovery email| +|new\_secure\_salt|[bytes](../types/bytes.md) | Optional|New secure salt| +|new\_secure\_secret|[bytes](../types/bytes.md) | Optional|New secure secret| +|new\_secure\_secret\_id|[long](../types/long.md) | Optional|New secure secret ID| + + + +### Type: [account.PasswordInputSettings](../types/account.PasswordInputSettings.md) + + +### Example: + +```php +$account.passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_salt' => 'bytes', 'new_password_hash' => 'bytes', 'hint' => 'string', 'email' => 'string', 'new_secure_salt' => 'bytes', 'new_secure_secret' => 'bytes', 'new_secure_secret_id' => long]; +``` + + +Or, if you're into Lua: + +```lua +account.passwordInputSettings={_='account.passwordInputSettings', new_salt='bytes', new_password_hash='bytes', hint='string', email='string', new_secure_salt='bytes', new_secure_secret='bytes', new_secure_secret_id=long} + +``` + + diff --git a/old_docs/API_docs_v82/constructors/account.passwordSettings.md b/old_docs/API_docs_v82/constructors/account.passwordSettings.md new file mode 100644 index 00000000..3728f42b --- /dev/null +++ b/old_docs/API_docs_v82/constructors/account.passwordSettings.md @@ -0,0 +1,41 @@ +--- +title: account.passwordSettings +description: Private info associated to the password info (recovery email, telegram [passport](https://core.telegram.org/passport) info & so on) +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.passwordSettings +[Back to constructors index](index.md) + + + +Private info associated to the password info (recovery email, telegram [passport](https://core.telegram.org/passport) info & so on) + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|email|[string](../types/string.md) | Yes|[2FA Recovery email](https://core.telegram.org/api/srp#email-verification)| +|secure\_salt|[bytes](../types/bytes.md) | Yes|Secure salt| +|secure\_secret|[bytes](../types/bytes.md) | Yes|Secure secret| +|secure\_secret\_id|[long](../types/long.md) | Yes|Secure secret ID| + + + +### Type: [account.PasswordSettings](../types/account.PasswordSettings.md) + + +### Example: + +```php +$account.passwordSettings = ['_' => 'account.passwordSettings', 'email' => 'string', 'secure_salt' => 'bytes', 'secure_secret' => 'bytes', 'secure_secret_id' => long]; +``` + + +Or, if you're into Lua: + +```lua +account.passwordSettings={_='account.passwordSettings', email='string', secure_salt='bytes', secure_secret='bytes', secure_secret_id=long} + +``` + + diff --git a/old_docs/API_docs_v82/constructors/account.privacyRules.md b/old_docs/API_docs_v82/constructors/account.privacyRules.md new file mode 100644 index 00000000..7ae04abb --- /dev/null +++ b/old_docs/API_docs_v82/constructors/account.privacyRules.md @@ -0,0 +1,39 @@ +--- +title: account.privacyRules +description: Privacy rules +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.privacyRules +[Back to constructors index](index.md) + + + +Privacy rules + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|rules|Array of [PrivacyRule](../types/PrivacyRule.md) | Yes|Rules| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [account.PrivacyRules](../types/account.PrivacyRules.md) + + +### Example: + +```php +$account.privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule, PrivacyRule], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +account.privacyRules={_='account.privacyRules', rules={PrivacyRule}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v82/constructors/account.sentEmailCode.md b/old_docs/API_docs_v82/constructors/account.sentEmailCode.md new file mode 100644 index 00000000..c4c30275 --- /dev/null +++ b/old_docs/API_docs_v82/constructors/account.sentEmailCode.md @@ -0,0 +1,39 @@ +--- +title: account.sentEmailCode +description: The sent email code +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.sentEmailCode +[Back to constructors index](index.md) + + + +The sent email code + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|email\_pattern|[string](../types/string.md) | Yes|The email (to which the code was sent) must match this [pattern](https://core.telegram.org/api/pattern)| +|length|[int](../types/int.md) | Yes|The length of the verification code| + + + +### Type: [account.SentEmailCode](../types/account.SentEmailCode.md) + + +### Example: + +```php +$account.sentEmailCode = ['_' => 'account.sentEmailCode', 'email_pattern' => 'string', 'length' => int]; +``` + + +Or, if you're into Lua: + +```lua +account.sentEmailCode={_='account.sentEmailCode', email_pattern='string', length=int} + +``` + + diff --git a/old_docs/API_docs_v82/constructors/account.takeout.md b/old_docs/API_docs_v82/constructors/account.takeout.md new file mode 100644 index 00000000..1aca6c70 --- /dev/null +++ b/old_docs/API_docs_v82/constructors/account.takeout.md @@ -0,0 +1,38 @@ +--- +title: account.takeout +description: Takout info +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.takeout +[Back to constructors index](index.md) + + + +Takout info + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|id|[long](../types/long.md) | Yes|Takeout ID| + + + +### Type: [account.Takeout](../types/account.Takeout.md) + + +### Example: + +```php +$account.takeout = ['_' => 'account.takeout', 'id' => long]; +``` + + +Or, if you're into Lua: + +```lua +account.takeout={_='account.takeout', id=long} + +``` + + diff --git a/old_docs/API_docs_v82/constructors/account.tmpPassword.md b/old_docs/API_docs_v82/constructors/account.tmpPassword.md new file mode 100644 index 00000000..996548c4 --- /dev/null +++ b/old_docs/API_docs_v82/constructors/account.tmpPassword.md @@ -0,0 +1,39 @@ +--- +title: account.tmpPassword +description: Temporary payment password +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.tmpPassword +[Back to constructors index](index.md) + + + +Temporary payment password + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|tmp\_password|[bytes](../types/bytes.md) | Yes|Temporary password| +|valid\_until|[int](../types/int.md) | Yes|Validity period| + + + +### Type: [account.TmpPassword](../types/account.TmpPassword.md) + + +### Example: + +```php +$account.tmpPassword = ['_' => 'account.tmpPassword', 'tmp_password' => 'bytes', 'valid_until' => int]; +``` + + +Or, if you're into Lua: + +```lua +account.tmpPassword={_='account.tmpPassword', tmp_password='bytes', valid_until=int} + +``` + + diff --git a/old_docs/API_docs_v82/constructors/account.webAuthorizations.md b/old_docs/API_docs_v82/constructors/account.webAuthorizations.md new file mode 100644 index 00000000..bb5d0211 --- /dev/null +++ b/old_docs/API_docs_v82/constructors/account.webAuthorizations.md @@ -0,0 +1,39 @@ +--- +title: account.webAuthorizations +description: Web authorizations +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.webAuthorizations +[Back to constructors index](index.md) + + + +Web authorizations + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|authorizations|Array of [WebAuthorization](../types/WebAuthorization.md) | Yes|Authorizations| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [account.WebAuthorizations](../types/account.WebAuthorizations.md) + + +### Example: + +```php +$account.webAuthorizations = ['_' => 'account.webAuthorizations', 'authorizations' => [WebAuthorization, WebAuthorization], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +account.webAuthorizations={_='account.webAuthorizations', authorizations={WebAuthorization}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v82/constructors/account_authorizationForm.md b/old_docs/API_docs_v82/constructors/account_authorizationForm.md deleted file mode 100644 index d5d3c71c..00000000 --- a/old_docs/API_docs_v82/constructors/account_authorizationForm.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: account.authorizationForm -description: [Telegram Passport](https://core.telegram.org/passport) authorization form -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.authorizationForm -[Back to constructors index](index.md) - - - -[Telegram Passport](https://core.telegram.org/passport) authorization form - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|selfie\_required|[Bool](../types/Bool.md) | Optional|Selfie required?| -|required\_types|Array of [SecureValueType](../types/SecureValueType.md) | Yes|Required types| -|values|Array of [SecureValue](../types/SecureValue.md) | Yes|Values| -|errors|Array of [SecureValueError](../types/SecureValueError.md) | Yes|Errors| -|users|Array of [User](../types/User.md) | Yes|Users| -|privacy\_policy\_url|[string](../types/string.md) | Optional|URL of the service's privacy policy| - - - -### Type: [account\_AuthorizationForm](../types/account_AuthorizationForm.md) - - -### Example: - -```php -$account_authorizationForm = ['_' => 'account.authorizationForm', 'selfie_required' => Bool, 'required_types' => [SecureValueType, SecureValueType], 'values' => [SecureValue, SecureValue], 'errors' => [SecureValueError, SecureValueError], 'users' => [User, User], 'privacy_policy_url' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -account_authorizationForm={_='account.authorizationForm', selfie_required=Bool, required_types={SecureValueType}, values={SecureValue}, errors={SecureValueError}, users={User}, privacy_policy_url='string'} - -``` - - diff --git a/old_docs/API_docs_v82/constructors/account_authorizations.md b/old_docs/API_docs_v82/constructors/account_authorizations.md deleted file mode 100644 index aeae48f3..00000000 --- a/old_docs/API_docs_v82/constructors/account_authorizations.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: account.authorizations -description: Logged-in sessions -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.authorizations -[Back to constructors index](index.md) - - - -Logged-in sessions - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|authorizations|Array of [Authorization](../types/Authorization.md) | Yes|Authorizations| - - - -### Type: [account\_Authorizations](../types/account_Authorizations.md) - - -### Example: - -```php -$account_authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization, Authorization]]; -``` - - -Or, if you're into Lua: - -```lua -account_authorizations={_='account.authorizations', authorizations={Authorization}} - -``` - - diff --git a/old_docs/API_docs_v82/constructors/account_noPassword.md b/old_docs/API_docs_v82/constructors/account_noPassword.md deleted file mode 100644 index a22887b3..00000000 --- a/old_docs/API_docs_v82/constructors/account_noPassword.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: account.noPassword -description: No password -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.noPassword -[Back to constructors index](index.md) - - - -No password - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|new\_salt|[bytes](../types/bytes.md) | Yes|New salt| -|new\_secure\_salt|[bytes](../types/bytes.md) | Yes|New secure salt| -|secure\_random|[bytes](../types/bytes.md) | Yes|Secure random| -|email\_unconfirmed\_pattern|[string](../types/string.md) | Yes|Email unconfirmed pattern| - - - -### Type: [account\_Password](../types/account_Password.md) - - -### Example: - -```php -$account_noPassword = ['_' => 'account.noPassword', 'new_salt' => 'bytes', 'new_secure_salt' => 'bytes', 'secure_random' => 'bytes', 'email_unconfirmed_pattern' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -account_noPassword={_='account.noPassword', new_salt='bytes', new_secure_salt='bytes', secure_random='bytes', email_unconfirmed_pattern='string'} - -``` - - diff --git a/old_docs/API_docs_v82/constructors/account_password.md b/old_docs/API_docs_v82/constructors/account_password.md deleted file mode 100644 index a3daa031..00000000 --- a/old_docs/API_docs_v82/constructors/account_password.md +++ /dev/null @@ -1,45 +0,0 @@ ---- -title: account.password -description: Configuration for two-factor authorization -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.password -[Back to constructors index](index.md) - - - -Configuration for two-factor authorization - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|has\_recovery|[Bool](../types/Bool.md) | Optional|Whether the user has a recovery method configured| -|has\_secure\_values|[Bool](../types/Bool.md) | Optional|Whether telegram [passport](https://core.telegram.org/passport) is enabled| -|current\_salt|[bytes](../types/bytes.md) | Yes|Current salt| -|new\_salt|[bytes](../types/bytes.md) | Yes|New salt| -|new\_secure\_salt|[bytes](../types/bytes.md) | Yes|New secure salt| -|secure\_random|[bytes](../types/bytes.md) | Yes|Secure random string| -|hint|[string](../types/string.md) | Yes|Text hint for the password| -|email\_unconfirmed\_pattern|[string](../types/string.md) | Yes|A [password recovery email](https://core.telegram.org/api/srp#email-verification) with the specified [pattern](https://core.telegram.org/api/pattern) is still awaiting verification| - - - -### Type: [account\_Password](../types/account_Password.md) - - -### Example: - -```php -$account_password = ['_' => 'account.password', 'has_recovery' => Bool, 'has_secure_values' => Bool, 'current_salt' => 'bytes', 'new_salt' => 'bytes', 'new_secure_salt' => 'bytes', 'secure_random' => 'bytes', 'hint' => 'string', 'email_unconfirmed_pattern' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -account_password={_='account.password', has_recovery=Bool, has_secure_values=Bool, current_salt='bytes', new_salt='bytes', new_secure_salt='bytes', secure_random='bytes', hint='string', email_unconfirmed_pattern='string'} - -``` - - diff --git a/old_docs/API_docs_v82/constructors/account_passwordInputSettings.md b/old_docs/API_docs_v82/constructors/account_passwordInputSettings.md deleted file mode 100644 index 5d4ae059..00000000 --- a/old_docs/API_docs_v82/constructors/account_passwordInputSettings.md +++ /dev/null @@ -1,44 +0,0 @@ ---- -title: account.passwordInputSettings -description: Settings for setting up a new password -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.passwordInputSettings -[Back to constructors index](index.md) - - - -Settings for setting up a new password - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|new\_salt|[bytes](../types/bytes.md) | Optional|`$new_salt = $MadelineProto->account->getPassword()['new_salt'].$MadelineProto->random(8);`| -|new\_password\_hash|[bytes](../types/bytes.md) | Optional|The [computed password hash](https://core.telegram.org/api/srp)| -|hint|[string](../types/string.md) | Optional|Text hint for the password| -|email|[string](../types/string.md) | Optional|Password recovery email| -|new\_secure\_salt|[bytes](../types/bytes.md) | Optional|New secure salt| -|new\_secure\_secret|[bytes](../types/bytes.md) | Optional|New secure secret| -|new\_secure\_secret\_id|[long](../types/long.md) | Optional|New secure secret ID| - - - -### Type: [account\_PasswordInputSettings](../types/account_PasswordInputSettings.md) - - -### Example: - -```php -$account_passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_salt' => 'bytes', 'new_password_hash' => 'bytes', 'hint' => 'string', 'email' => 'string', 'new_secure_salt' => 'bytes', 'new_secure_secret' => 'bytes', 'new_secure_secret_id' => long]; -``` - - -Or, if you're into Lua: - -```lua -account_passwordInputSettings={_='account.passwordInputSettings', new_salt='bytes', new_password_hash='bytes', hint='string', email='string', new_secure_salt='bytes', new_secure_secret='bytes', new_secure_secret_id=long} - -``` - - diff --git a/old_docs/API_docs_v82/constructors/account_passwordSettings.md b/old_docs/API_docs_v82/constructors/account_passwordSettings.md deleted file mode 100644 index e924107f..00000000 --- a/old_docs/API_docs_v82/constructors/account_passwordSettings.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: account.passwordSettings -description: Private info associated to the password info (recovery email, telegram [passport](https://core.telegram.org/passport) info & so on) -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.passwordSettings -[Back to constructors index](index.md) - - - -Private info associated to the password info (recovery email, telegram [passport](https://core.telegram.org/passport) info & so on) - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|email|[string](../types/string.md) | Yes|[2FA Recovery email](https://core.telegram.org/api/srp#email-verification)| -|secure\_salt|[bytes](../types/bytes.md) | Yes|Secure salt| -|secure\_secret|[bytes](../types/bytes.md) | Yes|Secure secret| -|secure\_secret\_id|[long](../types/long.md) | Yes|Secure secret ID| - - - -### Type: [account\_PasswordSettings](../types/account_PasswordSettings.md) - - -### Example: - -```php -$account_passwordSettings = ['_' => 'account.passwordSettings', 'email' => 'string', 'secure_salt' => 'bytes', 'secure_secret' => 'bytes', 'secure_secret_id' => long]; -``` - - -Or, if you're into Lua: - -```lua -account_passwordSettings={_='account.passwordSettings', email='string', secure_salt='bytes', secure_secret='bytes', secure_secret_id=long} - -``` - - diff --git a/old_docs/API_docs_v82/constructors/account_privacyRules.md b/old_docs/API_docs_v82/constructors/account_privacyRules.md deleted file mode 100644 index 28b260b7..00000000 --- a/old_docs/API_docs_v82/constructors/account_privacyRules.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: account.privacyRules -description: Privacy rules -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.privacyRules -[Back to constructors index](index.md) - - - -Privacy rules - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|rules|Array of [PrivacyRule](../types/PrivacyRule.md) | Yes|Rules| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [account\_PrivacyRules](../types/account_PrivacyRules.md) - - -### Example: - -```php -$account_privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule, PrivacyRule], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -account_privacyRules={_='account.privacyRules', rules={PrivacyRule}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v82/constructors/account_sentEmailCode.md b/old_docs/API_docs_v82/constructors/account_sentEmailCode.md deleted file mode 100644 index 684fb4b5..00000000 --- a/old_docs/API_docs_v82/constructors/account_sentEmailCode.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: account.sentEmailCode -description: The sent email code -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.sentEmailCode -[Back to constructors index](index.md) - - - -The sent email code - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|email\_pattern|[string](../types/string.md) | Yes|The email (to which the code was sent) must match this [pattern](https://core.telegram.org/api/pattern)| -|length|[int](../types/int.md) | Yes|The length of the verification code| - - - -### Type: [account\_SentEmailCode](../types/account_SentEmailCode.md) - - -### Example: - -```php -$account_sentEmailCode = ['_' => 'account.sentEmailCode', 'email_pattern' => 'string', 'length' => int]; -``` - - -Or, if you're into Lua: - -```lua -account_sentEmailCode={_='account.sentEmailCode', email_pattern='string', length=int} - -``` - - diff --git a/old_docs/API_docs_v82/constructors/account_takeout.md b/old_docs/API_docs_v82/constructors/account_takeout.md deleted file mode 100644 index 09af93ca..00000000 --- a/old_docs/API_docs_v82/constructors/account_takeout.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: account.takeout -description: Takout info -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.takeout -[Back to constructors index](index.md) - - - -Takout info - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|id|[long](../types/long.md) | Yes|Takeout ID| - - - -### Type: [account\_Takeout](../types/account_Takeout.md) - - -### Example: - -```php -$account_takeout = ['_' => 'account.takeout', 'id' => long]; -``` - - -Or, if you're into Lua: - -```lua -account_takeout={_='account.takeout', id=long} - -``` - - diff --git a/old_docs/API_docs_v82/constructors/account_tmpPassword.md b/old_docs/API_docs_v82/constructors/account_tmpPassword.md deleted file mode 100644 index 68832780..00000000 --- a/old_docs/API_docs_v82/constructors/account_tmpPassword.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: account.tmpPassword -description: Temporary payment password -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.tmpPassword -[Back to constructors index](index.md) - - - -Temporary payment password - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|tmp\_password|[bytes](../types/bytes.md) | Yes|Temporary password| -|valid\_until|[int](../types/int.md) | Yes|Validity period| - - - -### Type: [account\_TmpPassword](../types/account_TmpPassword.md) - - -### Example: - -```php -$account_tmpPassword = ['_' => 'account.tmpPassword', 'tmp_password' => 'bytes', 'valid_until' => int]; -``` - - -Or, if you're into Lua: - -```lua -account_tmpPassword={_='account.tmpPassword', tmp_password='bytes', valid_until=int} - -``` - - diff --git a/old_docs/API_docs_v82/constructors/account_webAuthorizations.md b/old_docs/API_docs_v82/constructors/account_webAuthorizations.md deleted file mode 100644 index ae402006..00000000 --- a/old_docs/API_docs_v82/constructors/account_webAuthorizations.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: account.webAuthorizations -description: Web authorizations -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.webAuthorizations -[Back to constructors index](index.md) - - - -Web authorizations - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|authorizations|Array of [WebAuthorization](../types/WebAuthorization.md) | Yes|Authorizations| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [account\_WebAuthorizations](../types/account_WebAuthorizations.md) - - -### Example: - -```php -$account_webAuthorizations = ['_' => 'account.webAuthorizations', 'authorizations' => [WebAuthorization, WebAuthorization], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -account_webAuthorizations={_='account.webAuthorizations', authorizations={WebAuthorization}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v82/constructors/auth.authorization.md b/old_docs/API_docs_v82/constructors/auth.authorization.md new file mode 100644 index 00000000..2a84bb12 --- /dev/null +++ b/old_docs/API_docs_v82/constructors/auth.authorization.md @@ -0,0 +1,39 @@ +--- +title: auth.authorization +description: Contains user authorization info. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.authorization +[Back to constructors index](index.md) + + + +Contains user authorization info. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|tmp\_sessions|[int](../types/int.md) | Optional|Temporary [passport](https://core.telegram.org/passport) sessions| +|user|[User](../types/User.md) | Optional|Info on authorized user| + + + +### Type: [auth.Authorization](../types/auth.Authorization.md) + + +### Example: + +```php +$auth.authorization = ['_' => 'auth.authorization', 'tmp_sessions' => int, 'user' => User]; +``` + + +Or, if you're into Lua: + +```lua +auth.authorization={_='auth.authorization', tmp_sessions=int, user=User} + +``` + + diff --git a/old_docs/API_docs_v82/constructors/auth.checkedPhone.md b/old_docs/API_docs_v82/constructors/auth.checkedPhone.md new file mode 100644 index 00000000..23e84cf9 --- /dev/null +++ b/old_docs/API_docs_v82/constructors/auth.checkedPhone.md @@ -0,0 +1,38 @@ +--- +title: auth.checkedPhone +description: Checked phone +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.checkedPhone +[Back to constructors index](index.md) + + + +Checked phone + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_registered|[Bool](../types/Bool.md) | Yes|Phone registered?| + + + +### Type: [auth.CheckedPhone](../types/auth.CheckedPhone.md) + + +### Example: + +```php +$auth.checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool]; +``` + + +Or, if you're into Lua: + +```lua +auth.checkedPhone={_='auth.checkedPhone', phone_registered=Bool} + +``` + + diff --git a/old_docs/API_docs_v82/constructors/auth.codeTypeCall.md b/old_docs/API_docs_v82/constructors/auth.codeTypeCall.md new file mode 100644 index 00000000..4b4a1cdc --- /dev/null +++ b/old_docs/API_docs_v82/constructors/auth.codeTypeCall.md @@ -0,0 +1,33 @@ +--- +title: auth.codeTypeCall +description: Type of verification code that will be sent next if you call the resendCode method: SMS code +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.codeTypeCall +[Back to constructors index](index.md) + + + +Type of verification code that will be sent next if you call the resendCode method: SMS code + + + + +### Type: [auth.CodeType](../types/auth.CodeType.md) + + +### Example: + +```php +$auth.codeTypeCall = ['_' => 'auth.codeTypeCall']; +``` + + +Or, if you're into Lua: + +```lua +auth.codeTypeCall={_='auth.codeTypeCall'} + +``` + + diff --git a/old_docs/API_docs_v82/constructors/auth.codeTypeFlashCall.md b/old_docs/API_docs_v82/constructors/auth.codeTypeFlashCall.md new file mode 100644 index 00000000..ef97e034 --- /dev/null +++ b/old_docs/API_docs_v82/constructors/auth.codeTypeFlashCall.md @@ -0,0 +1,33 @@ +--- +title: auth.codeTypeFlashCall +description: Type of verification code that will be sent next if you call the resendCode method: SMS code +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.codeTypeFlashCall +[Back to constructors index](index.md) + + + +Type of verification code that will be sent next if you call the resendCode method: SMS code + + + + +### Type: [auth.CodeType](../types/auth.CodeType.md) + + +### Example: + +```php +$auth.codeTypeFlashCall = ['_' => 'auth.codeTypeFlashCall']; +``` + + +Or, if you're into Lua: + +```lua +auth.codeTypeFlashCall={_='auth.codeTypeFlashCall'} + +``` + + diff --git a/old_docs/API_docs_v82/constructors/auth.codeTypeSms.md b/old_docs/API_docs_v82/constructors/auth.codeTypeSms.md new file mode 100644 index 00000000..bab9a5a4 --- /dev/null +++ b/old_docs/API_docs_v82/constructors/auth.codeTypeSms.md @@ -0,0 +1,33 @@ +--- +title: auth.codeTypeSms +description: Type of verification code that will be sent next if you call the resendCode method: SMS code +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.codeTypeSms +[Back to constructors index](index.md) + + + +Type of verification code that will be sent next if you call the resendCode method: SMS code + + + + +### Type: [auth.CodeType](../types/auth.CodeType.md) + + +### Example: + +```php +$auth.codeTypeSms = ['_' => 'auth.codeTypeSms']; +``` + + +Or, if you're into Lua: + +```lua +auth.codeTypeSms={_='auth.codeTypeSms'} + +``` + + diff --git a/old_docs/API_docs_v82/constructors/auth.exportedAuthorization.md b/old_docs/API_docs_v82/constructors/auth.exportedAuthorization.md new file mode 100644 index 00000000..2a4a9896 --- /dev/null +++ b/old_docs/API_docs_v82/constructors/auth.exportedAuthorization.md @@ -0,0 +1,39 @@ +--- +title: auth.exportedAuthorization +description: Data for copying of authorization between data centres. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.exportedAuthorization +[Back to constructors index](index.md) + + + +Data for copying of authorization between data centres. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|id|[int](../types/int.md) | Yes|Current user identifier| +|bytes|[bytes](../types/bytes.md) | Yes|Authorizes key| + + + +### Type: [auth.ExportedAuthorization](../types/auth.ExportedAuthorization.md) + + +### Example: + +```php +$auth.exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +auth.exportedAuthorization={_='auth.exportedAuthorization', id=int, bytes='bytes'} + +``` + + diff --git a/old_docs/API_docs_v82/constructors/auth.passwordRecovery.md b/old_docs/API_docs_v82/constructors/auth.passwordRecovery.md new file mode 100644 index 00000000..61de922d --- /dev/null +++ b/old_docs/API_docs_v82/constructors/auth.passwordRecovery.md @@ -0,0 +1,38 @@ +--- +title: auth.passwordRecovery +description: Recovery info of a [2FA password](https://core.telegram.org/api/srp), only for accounts with a [recovery email configured](https://core.telegram.org/api/srp#email-verification). +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.passwordRecovery +[Back to constructors index](index.md) + + + +Recovery info of a [2FA password](https://core.telegram.org/api/srp), only for accounts with a [recovery email configured](https://core.telegram.org/api/srp#email-verification). + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|email\_pattern|[string](../types/string.md) | Yes|The email to which the recovery code was sent must match this [pattern](https://core.telegram.org/api/pattern).| + + + +### Type: [auth.PasswordRecovery](../types/auth.PasswordRecovery.md) + + +### Example: + +```php +$auth.passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +auth.passwordRecovery={_='auth.passwordRecovery', email_pattern='string'} + +``` + + diff --git a/old_docs/API_docs_v82/constructors/auth.sentCode.md b/old_docs/API_docs_v82/constructors/auth.sentCode.md new file mode 100644 index 00000000..bfdaea05 --- /dev/null +++ b/old_docs/API_docs_v82/constructors/auth.sentCode.md @@ -0,0 +1,43 @@ +--- +title: auth.sentCode +description: Contains info about a sent verification code. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentCode +[Back to constructors index](index.md) + + + +Contains info about a sent verification code. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_registered|[Bool](../types/Bool.md) | Optional|Phone registered?| +|type|[auth.SentCodeType](../constructors/auth.SentCodeType.md) | Yes|Phone code type| +|phone\_code\_hash|[string](../types/string.md) | Yes|Phone code hash, to be stored and later re-used with [auth.signIn](../methods/auth.signIn.md)| +|next\_type|[auth.CodeType](../constructors/auth.CodeType.md) | Optional|Phone code type that will be sent next, if the phone code is not received within `timeout` seconds: to send it use [auth.resendCode](../methods/auth.resendCode.md)| +|timeout|[int](../types/int.md) | Optional|Timeout for reception of the phone code| +|terms\_of\_service|[help.TermsOfService](../constructors/help.TermsOfService.md) | Optional|Terms of service| + + + +### Type: [auth.SentCode](../types/auth.SentCode.md) + + +### Example: + +```php +$auth.sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'type' => auth.SentCodeType, 'phone_code_hash' => 'string', 'next_type' => auth.CodeType, 'timeout' => int, 'terms_of_service' => help.TermsOfService]; +``` + + +Or, if you're into Lua: + +```lua +auth.sentCode={_='auth.sentCode', phone_registered=Bool, type=auth.SentCodeType, phone_code_hash='string', next_type=auth.CodeType, timeout=int, terms_of_service=help.TermsOfService} + +``` + + diff --git a/old_docs/API_docs_v82/constructors/auth.sentCodeTypeApp.md b/old_docs/API_docs_v82/constructors/auth.sentCodeTypeApp.md new file mode 100644 index 00000000..5f2d4aa3 --- /dev/null +++ b/old_docs/API_docs_v82/constructors/auth.sentCodeTypeApp.md @@ -0,0 +1,38 @@ +--- +title: auth.sentCodeTypeApp +description: The code was sent through the telegram app +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentCodeTypeApp +[Back to constructors index](index.md) + + + +The code was sent through the telegram app + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|length|[int](../types/int.md) | Yes|Length of the code in bytes| + + + +### Type: [auth.SentCodeType](../types/auth.SentCodeType.md) + + +### Example: + +```php +$auth.sentCodeTypeApp = ['_' => 'auth.sentCodeTypeApp', 'length' => int]; +``` + + +Or, if you're into Lua: + +```lua +auth.sentCodeTypeApp={_='auth.sentCodeTypeApp', length=int} + +``` + + diff --git a/old_docs/API_docs_v82/constructors/auth.sentCodeTypeCall.md b/old_docs/API_docs_v82/constructors/auth.sentCodeTypeCall.md new file mode 100644 index 00000000..9843b3df --- /dev/null +++ b/old_docs/API_docs_v82/constructors/auth.sentCodeTypeCall.md @@ -0,0 +1,38 @@ +--- +title: auth.sentCodeTypeCall +description: The code will be sent via a phone call: a synthesized voice will tell the user which verification code to input. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentCodeTypeCall +[Back to constructors index](index.md) + + + +The code will be sent via a phone call: a synthesized voice will tell the user which verification code to input. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|length|[int](../types/int.md) | Yes|Length of the verification code| + + + +### Type: [auth.SentCodeType](../types/auth.SentCodeType.md) + + +### Example: + +```php +$auth.sentCodeTypeCall = ['_' => 'auth.sentCodeTypeCall', 'length' => int]; +``` + + +Or, if you're into Lua: + +```lua +auth.sentCodeTypeCall={_='auth.sentCodeTypeCall', length=int} + +``` + + diff --git a/old_docs/API_docs_v82/constructors/auth.sentCodeTypeFlashCall.md b/old_docs/API_docs_v82/constructors/auth.sentCodeTypeFlashCall.md new file mode 100644 index 00000000..0d24751d --- /dev/null +++ b/old_docs/API_docs_v82/constructors/auth.sentCodeTypeFlashCall.md @@ -0,0 +1,38 @@ +--- +title: auth.sentCodeTypeFlashCall +description: The code will be sent via a flash phone call, that will be closed immediately. The phone code will then be the phone number itself, just make sure that the phone number matches the specified pattern. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentCodeTypeFlashCall +[Back to constructors index](index.md) + + + +The code will be sent via a flash phone call, that will be closed immediately. The phone code will then be the phone number itself, just make sure that the phone number matches the specified pattern. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pattern|[string](../types/string.md) | Yes|[pattern](https://core.telegram.org/api/pattern) to match| + + + +### Type: [auth.SentCodeType](../types/auth.SentCodeType.md) + + +### Example: + +```php +$auth.sentCodeTypeFlashCall = ['_' => 'auth.sentCodeTypeFlashCall', 'pattern' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +auth.sentCodeTypeFlashCall={_='auth.sentCodeTypeFlashCall', pattern='string'} + +``` + + diff --git a/old_docs/API_docs_v82/constructors/auth.sentCodeTypeSms.md b/old_docs/API_docs_v82/constructors/auth.sentCodeTypeSms.md new file mode 100644 index 00000000..d8ecb75e --- /dev/null +++ b/old_docs/API_docs_v82/constructors/auth.sentCodeTypeSms.md @@ -0,0 +1,38 @@ +--- +title: auth.sentCodeTypeSms +description: The code was sent via SMS +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentCodeTypeSms +[Back to constructors index](index.md) + + + +The code was sent via SMS + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|length|[int](../types/int.md) | Yes|Length of the code in bytes| + + + +### Type: [auth.SentCodeType](../types/auth.SentCodeType.md) + + +### Example: + +```php +$auth.sentCodeTypeSms = ['_' => 'auth.sentCodeTypeSms', 'length' => int]; +``` + + +Or, if you're into Lua: + +```lua +auth.sentCodeTypeSms={_='auth.sentCodeTypeSms', length=int} + +``` + + diff --git a/old_docs/API_docs_v82/constructors/auth_authorization.md b/old_docs/API_docs_v82/constructors/auth_authorization.md deleted file mode 100644 index cb72811d..00000000 --- a/old_docs/API_docs_v82/constructors/auth_authorization.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: auth.authorization -description: Contains user authorization info. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.authorization -[Back to constructors index](index.md) - - - -Contains user authorization info. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|tmp\_sessions|[int](../types/int.md) | Optional|Temporary [passport](https://core.telegram.org/passport) sessions| -|user|[User](../types/User.md) | Optional|Info on authorized user| - - - -### Type: [auth\_Authorization](../types/auth_Authorization.md) - - -### Example: - -```php -$auth_authorization = ['_' => 'auth.authorization', 'tmp_sessions' => int, 'user' => User]; -``` - - -Or, if you're into Lua: - -```lua -auth_authorization={_='auth.authorization', tmp_sessions=int, user=User} - -``` - - diff --git a/old_docs/API_docs_v82/constructors/auth_checkedPhone.md b/old_docs/API_docs_v82/constructors/auth_checkedPhone.md deleted file mode 100644 index c77becf6..00000000 --- a/old_docs/API_docs_v82/constructors/auth_checkedPhone.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.checkedPhone -description: Checked phone -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.checkedPhone -[Back to constructors index](index.md) - - - -Checked phone - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_registered|[Bool](../types/Bool.md) | Yes|Phone registered?| - - - -### Type: [auth\_CheckedPhone](../types/auth_CheckedPhone.md) - - -### Example: - -```php -$auth_checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool]; -``` - - -Or, if you're into Lua: - -```lua -auth_checkedPhone={_='auth.checkedPhone', phone_registered=Bool} - -``` - - diff --git a/old_docs/API_docs_v82/constructors/auth_codeTypeCall.md b/old_docs/API_docs_v82/constructors/auth_codeTypeCall.md deleted file mode 100644 index 3e957c2a..00000000 --- a/old_docs/API_docs_v82/constructors/auth_codeTypeCall.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: auth.codeTypeCall -description: Type of verification code that will be sent next if you call the resendCode method: SMS code -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.codeTypeCall -[Back to constructors index](index.md) - - - -Type of verification code that will be sent next if you call the resendCode method: SMS code - - - - -### Type: [auth\_CodeType](../types/auth_CodeType.md) - - -### Example: - -```php -$auth_codeTypeCall = ['_' => 'auth.codeTypeCall']; -``` - - -Or, if you're into Lua: - -```lua -auth_codeTypeCall={_='auth.codeTypeCall'} - -``` - - diff --git a/old_docs/API_docs_v82/constructors/auth_codeTypeFlashCall.md b/old_docs/API_docs_v82/constructors/auth_codeTypeFlashCall.md deleted file mode 100644 index 981b2461..00000000 --- a/old_docs/API_docs_v82/constructors/auth_codeTypeFlashCall.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: auth.codeTypeFlashCall -description: Type of verification code that will be sent next if you call the resendCode method: SMS code -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.codeTypeFlashCall -[Back to constructors index](index.md) - - - -Type of verification code that will be sent next if you call the resendCode method: SMS code - - - - -### Type: [auth\_CodeType](../types/auth_CodeType.md) - - -### Example: - -```php -$auth_codeTypeFlashCall = ['_' => 'auth.codeTypeFlashCall']; -``` - - -Or, if you're into Lua: - -```lua -auth_codeTypeFlashCall={_='auth.codeTypeFlashCall'} - -``` - - diff --git a/old_docs/API_docs_v82/constructors/auth_codeTypeSms.md b/old_docs/API_docs_v82/constructors/auth_codeTypeSms.md deleted file mode 100644 index 16eb5d0d..00000000 --- a/old_docs/API_docs_v82/constructors/auth_codeTypeSms.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: auth.codeTypeSms -description: Type of verification code that will be sent next if you call the resendCode method: SMS code -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.codeTypeSms -[Back to constructors index](index.md) - - - -Type of verification code that will be sent next if you call the resendCode method: SMS code - - - - -### Type: [auth\_CodeType](../types/auth_CodeType.md) - - -### Example: - -```php -$auth_codeTypeSms = ['_' => 'auth.codeTypeSms']; -``` - - -Or, if you're into Lua: - -```lua -auth_codeTypeSms={_='auth.codeTypeSms'} - -``` - - diff --git a/old_docs/API_docs_v82/constructors/auth_exportedAuthorization.md b/old_docs/API_docs_v82/constructors/auth_exportedAuthorization.md deleted file mode 100644 index 8d18916e..00000000 --- a/old_docs/API_docs_v82/constructors/auth_exportedAuthorization.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: auth.exportedAuthorization -description: Data for copying of authorization between data centres. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.exportedAuthorization -[Back to constructors index](index.md) - - - -Data for copying of authorization between data centres. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|id|[int](../types/int.md) | Yes|Current user identifier| -|bytes|[bytes](../types/bytes.md) | Yes|Authorizes key| - - - -### Type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) - - -### Example: - -```php -$auth_exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -auth_exportedAuthorization={_='auth.exportedAuthorization', id=int, bytes='bytes'} - -``` - - diff --git a/old_docs/API_docs_v82/constructors/auth_passwordRecovery.md b/old_docs/API_docs_v82/constructors/auth_passwordRecovery.md deleted file mode 100644 index c40f375e..00000000 --- a/old_docs/API_docs_v82/constructors/auth_passwordRecovery.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.passwordRecovery -description: Recovery info of a [2FA password](https://core.telegram.org/api/srp), only for accounts with a [recovery email configured](https://core.telegram.org/api/srp#email-verification). -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.passwordRecovery -[Back to constructors index](index.md) - - - -Recovery info of a [2FA password](https://core.telegram.org/api/srp), only for accounts with a [recovery email configured](https://core.telegram.org/api/srp#email-verification). - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|email\_pattern|[string](../types/string.md) | Yes|The email to which the recovery code was sent must match this [pattern](https://core.telegram.org/api/pattern).| - - - -### Type: [auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) - - -### Example: - -```php -$auth_passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -auth_passwordRecovery={_='auth.passwordRecovery', email_pattern='string'} - -``` - - diff --git a/old_docs/API_docs_v82/constructors/auth_sentCode.md b/old_docs/API_docs_v82/constructors/auth_sentCode.md deleted file mode 100644 index f34f844a..00000000 --- a/old_docs/API_docs_v82/constructors/auth_sentCode.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: auth.sentCode -description: Contains info about a sent verification code. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentCode -[Back to constructors index](index.md) - - - -Contains info about a sent verification code. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_registered|[Bool](../types/Bool.md) | Optional|Phone registered?| -|type|[auth\_SentCodeType](../types/auth_SentCodeType.md) | Yes|Phone code type| -|phone\_code\_hash|[string](../types/string.md) | Yes|Phone code hash, to be stored and later re-used with [auth.signIn](../methods/auth.signIn.md)| -|next\_type|[auth\_CodeType](../types/auth_CodeType.md) | Optional|Phone code type that will be sent next, if the phone code is not received within `timeout` seconds: to send it use [auth.resendCode](../methods/auth.resendCode.md)| -|timeout|[int](../types/int.md) | Optional|Timeout for reception of the phone code| -|terms\_of\_service|[help\_TermsOfService](../types/help_TermsOfService.md) | Optional|Terms of service| - - - -### Type: [auth\_SentCode](../types/auth_SentCode.md) - - -### Example: - -```php -$auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'type' => auth_SentCodeType, 'phone_code_hash' => 'string', 'next_type' => auth_CodeType, 'timeout' => int, 'terms_of_service' => help_TermsOfService]; -``` - - -Or, if you're into Lua: - -```lua -auth_sentCode={_='auth.sentCode', phone_registered=Bool, type=auth_SentCodeType, phone_code_hash='string', next_type=auth_CodeType, timeout=int, terms_of_service=help_TermsOfService} - -``` - - diff --git a/old_docs/API_docs_v82/constructors/auth_sentCodeTypeApp.md b/old_docs/API_docs_v82/constructors/auth_sentCodeTypeApp.md deleted file mode 100644 index 6b7ad824..00000000 --- a/old_docs/API_docs_v82/constructors/auth_sentCodeTypeApp.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.sentCodeTypeApp -description: The code was sent through the telegram app -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentCodeTypeApp -[Back to constructors index](index.md) - - - -The code was sent through the telegram app - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|length|[int](../types/int.md) | Yes|Length of the code in bytes| - - - -### Type: [auth\_SentCodeType](../types/auth_SentCodeType.md) - - -### Example: - -```php -$auth_sentCodeTypeApp = ['_' => 'auth.sentCodeTypeApp', 'length' => int]; -``` - - -Or, if you're into Lua: - -```lua -auth_sentCodeTypeApp={_='auth.sentCodeTypeApp', length=int} - -``` - - diff --git a/old_docs/API_docs_v82/constructors/auth_sentCodeTypeCall.md b/old_docs/API_docs_v82/constructors/auth_sentCodeTypeCall.md deleted file mode 100644 index bf025aa5..00000000 --- a/old_docs/API_docs_v82/constructors/auth_sentCodeTypeCall.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.sentCodeTypeCall -description: The code will be sent via a phone call: a synthesized voice will tell the user which verification code to input. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentCodeTypeCall -[Back to constructors index](index.md) - - - -The code will be sent via a phone call: a synthesized voice will tell the user which verification code to input. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|length|[int](../types/int.md) | Yes|Length of the verification code| - - - -### Type: [auth\_SentCodeType](../types/auth_SentCodeType.md) - - -### Example: - -```php -$auth_sentCodeTypeCall = ['_' => 'auth.sentCodeTypeCall', 'length' => int]; -``` - - -Or, if you're into Lua: - -```lua -auth_sentCodeTypeCall={_='auth.sentCodeTypeCall', length=int} - -``` - - diff --git a/old_docs/API_docs_v82/constructors/auth_sentCodeTypeFlashCall.md b/old_docs/API_docs_v82/constructors/auth_sentCodeTypeFlashCall.md deleted file mode 100644 index efe64ce7..00000000 --- a/old_docs/API_docs_v82/constructors/auth_sentCodeTypeFlashCall.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.sentCodeTypeFlashCall -description: The code will be sent via a flash phone call, that will be closed immediately. The phone code will then be the phone number itself, just make sure that the phone number matches the specified pattern. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentCodeTypeFlashCall -[Back to constructors index](index.md) - - - -The code will be sent via a flash phone call, that will be closed immediately. The phone code will then be the phone number itself, just make sure that the phone number matches the specified pattern. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pattern|[string](../types/string.md) | Yes|[pattern](https://core.telegram.org/api/pattern) to match| - - - -### Type: [auth\_SentCodeType](../types/auth_SentCodeType.md) - - -### Example: - -```php -$auth_sentCodeTypeFlashCall = ['_' => 'auth.sentCodeTypeFlashCall', 'pattern' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -auth_sentCodeTypeFlashCall={_='auth.sentCodeTypeFlashCall', pattern='string'} - -``` - - diff --git a/old_docs/API_docs_v82/constructors/auth_sentCodeTypeSms.md b/old_docs/API_docs_v82/constructors/auth_sentCodeTypeSms.md deleted file mode 100644 index 8e27dac9..00000000 --- a/old_docs/API_docs_v82/constructors/auth_sentCodeTypeSms.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.sentCodeTypeSms -description: The code was sent via SMS -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentCodeTypeSms -[Back to constructors index](index.md) - - - -The code was sent via SMS - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|length|[int](../types/int.md) | Yes|Length of the code in bytes| - - - -### Type: [auth\_SentCodeType](../types/auth_SentCodeType.md) - - -### Example: - -```php -$auth_sentCodeTypeSms = ['_' => 'auth.sentCodeTypeSms', 'length' => int]; -``` - - -Or, if you're into Lua: - -```lua -auth_sentCodeTypeSms={_='auth.sentCodeTypeSms', length=int} - -``` - - diff --git a/old_docs/API_docs_v82/constructors/channels.adminLogResults.md b/old_docs/API_docs_v82/constructors/channels.adminLogResults.md new file mode 100644 index 00000000..fc4e234a --- /dev/null +++ b/old_docs/API_docs_v82/constructors/channels.adminLogResults.md @@ -0,0 +1,40 @@ +--- +title: channels.adminLogResults +description: Admin log events +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: channels.adminLogResults +[Back to constructors index](index.md) + + + +Admin log events + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|events|Array of [ChannelAdminLogEvent](../types/ChannelAdminLogEvent.md) | Yes|Events| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [channels.AdminLogResults](../types/channels.AdminLogResults.md) + + +### Example: + +```php +$channels.adminLogResults = ['_' => 'channels.adminLogResults', 'events' => [ChannelAdminLogEvent, ChannelAdminLogEvent], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +channels.adminLogResults={_='channels.adminLogResults', events={ChannelAdminLogEvent}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v82/constructors/channels.channelParticipant.md b/old_docs/API_docs_v82/constructors/channels.channelParticipant.md new file mode 100644 index 00000000..0f09777f --- /dev/null +++ b/old_docs/API_docs_v82/constructors/channels.channelParticipant.md @@ -0,0 +1,39 @@ +--- +title: channels.channelParticipant +description: Represents a channel participant +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: channels.channelParticipant +[Back to constructors index](index.md) + + + +Represents a channel participant + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|participant|[ChannelParticipant](../types/ChannelParticipant.md) | Yes|The channel participant| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [channels.ChannelParticipant](../types/channels.ChannelParticipant.md) + + +### Example: + +```php +$channels.channelParticipant = ['_' => 'channels.channelParticipant', 'participant' => ChannelParticipant, 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +channels.channelParticipant={_='channels.channelParticipant', participant=ChannelParticipant, users={User}} + +``` + + diff --git a/old_docs/API_docs_v82/constructors/channels.channelParticipants.md b/old_docs/API_docs_v82/constructors/channels.channelParticipants.md new file mode 100644 index 00000000..6ee1a8b3 --- /dev/null +++ b/old_docs/API_docs_v82/constructors/channels.channelParticipants.md @@ -0,0 +1,40 @@ +--- +title: channels.channelParticipants +description: Represents multiple channel participants +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: channels.channelParticipants +[Back to constructors index](index.md) + + + +Represents multiple channel participants + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of participants that correspond to the given query| +|participants|Array of [ChannelParticipant](../types/ChannelParticipant.md) | Yes|Participants| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [channels.ChannelParticipants](../types/channels.ChannelParticipants.md) + + +### Example: + +```php +$channels.channelParticipants = ['_' => 'channels.channelParticipants', 'count' => int, 'participants' => [ChannelParticipant, ChannelParticipant], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +channels.channelParticipants={_='channels.channelParticipants', count=int, participants={ChannelParticipant}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v82/constructors/channels.channelParticipantsNotModified.md b/old_docs/API_docs_v82/constructors/channels.channelParticipantsNotModified.md new file mode 100644 index 00000000..37ece73a --- /dev/null +++ b/old_docs/API_docs_v82/constructors/channels.channelParticipantsNotModified.md @@ -0,0 +1,33 @@ +--- +title: channels.channelParticipantsNotModified +description: No new participant info could be found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: channels.channelParticipantsNotModified +[Back to constructors index](index.md) + + + +No new participant info could be found + + + + +### Type: [channels.ChannelParticipants](../types/channels.ChannelParticipants.md) + + +### Example: + +```php +$channels.channelParticipantsNotModified = ['_' => 'channels.channelParticipantsNotModified']; +``` + + +Or, if you're into Lua: + +```lua +channels.channelParticipantsNotModified={_='channels.channelParticipantsNotModified'} + +``` + + diff --git a/old_docs/API_docs_v82/constructors/channels_adminLogResults.md b/old_docs/API_docs_v82/constructors/channels_adminLogResults.md deleted file mode 100644 index 9061212a..00000000 --- a/old_docs/API_docs_v82/constructors/channels_adminLogResults.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: channels.adminLogResults -description: Admin log events -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: channels.adminLogResults -[Back to constructors index](index.md) - - - -Admin log events - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|events|Array of [ChannelAdminLogEvent](../types/ChannelAdminLogEvent.md) | Yes|Events| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [channels\_AdminLogResults](../types/channels_AdminLogResults.md) - - -### Example: - -```php -$channels_adminLogResults = ['_' => 'channels.adminLogResults', 'events' => [ChannelAdminLogEvent, ChannelAdminLogEvent], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -channels_adminLogResults={_='channels.adminLogResults', events={ChannelAdminLogEvent}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v82/constructors/channels_channelParticipant.md b/old_docs/API_docs_v82/constructors/channels_channelParticipant.md deleted file mode 100644 index 15fe46a4..00000000 --- a/old_docs/API_docs_v82/constructors/channels_channelParticipant.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: channels.channelParticipant -description: Represents a channel participant -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: channels.channelParticipant -[Back to constructors index](index.md) - - - -Represents a channel participant - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|participant|[ChannelParticipant](../types/ChannelParticipant.md) | Yes|The channel participant| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [channels\_ChannelParticipant](../types/channels_ChannelParticipant.md) - - -### Example: - -```php -$channels_channelParticipant = ['_' => 'channels.channelParticipant', 'participant' => ChannelParticipant, 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -channels_channelParticipant={_='channels.channelParticipant', participant=ChannelParticipant, users={User}} - -``` - - diff --git a/old_docs/API_docs_v82/constructors/channels_channelParticipants.md b/old_docs/API_docs_v82/constructors/channels_channelParticipants.md deleted file mode 100644 index 1848a04f..00000000 --- a/old_docs/API_docs_v82/constructors/channels_channelParticipants.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: channels.channelParticipants -description: Represents multiple channel participants -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: channels.channelParticipants -[Back to constructors index](index.md) - - - -Represents multiple channel participants - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of participants that correspond to the given query| -|participants|Array of [ChannelParticipant](../types/ChannelParticipant.md) | Yes|Participants| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [channels\_ChannelParticipants](../types/channels_ChannelParticipants.md) - - -### Example: - -```php -$channels_channelParticipants = ['_' => 'channels.channelParticipants', 'count' => int, 'participants' => [ChannelParticipant, ChannelParticipant], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -channels_channelParticipants={_='channels.channelParticipants', count=int, participants={ChannelParticipant}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v82/constructors/channels_channelParticipantsNotModified.md b/old_docs/API_docs_v82/constructors/channels_channelParticipantsNotModified.md deleted file mode 100644 index 800048f7..00000000 --- a/old_docs/API_docs_v82/constructors/channels_channelParticipantsNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: channels.channelParticipantsNotModified -description: No new participant info could be found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: channels.channelParticipantsNotModified -[Back to constructors index](index.md) - - - -No new participant info could be found - - - - -### Type: [channels\_ChannelParticipants](../types/channels_ChannelParticipants.md) - - -### Example: - -```php -$channels_channelParticipantsNotModified = ['_' => 'channels.channelParticipantsNotModified']; -``` - - -Or, if you're into Lua: - -```lua -channels_channelParticipantsNotModified={_='channels.channelParticipantsNotModified'} - -``` - - diff --git a/old_docs/API_docs_v82/constructors/contacts.blocked.md b/old_docs/API_docs_v82/constructors/contacts.blocked.md new file mode 100644 index 00000000..d2b3f680 --- /dev/null +++ b/old_docs/API_docs_v82/constructors/contacts.blocked.md @@ -0,0 +1,39 @@ +--- +title: contacts.blocked +description: Full list of blocked users. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.blocked +[Back to constructors index](index.md) + + + +Full list of blocked users. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Blocked](../types/contacts.Blocked.md) + + +### Example: + +```php +$contacts.blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.blocked={_='contacts.blocked', blocked={ContactBlocked}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v82/constructors/contacts.blockedSlice.md b/old_docs/API_docs_v82/constructors/contacts.blockedSlice.md new file mode 100644 index 00000000..92d19c72 --- /dev/null +++ b/old_docs/API_docs_v82/constructors/contacts.blockedSlice.md @@ -0,0 +1,40 @@ +--- +title: contacts.blockedSlice +description: Incomplete list of blocked users. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.blockedSlice +[Back to constructors index](index.md) + + + +Incomplete list of blocked users. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of elements in the list| +|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Blocked](../types/contacts.Blocked.md) + + +### Example: + +```php +$contacts.blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.blockedSlice={_='contacts.blockedSlice', count=int, blocked={ContactBlocked}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v82/constructors/contacts.contacts.md b/old_docs/API_docs_v82/constructors/contacts.contacts.md new file mode 100644 index 00000000..c3251e5d --- /dev/null +++ b/old_docs/API_docs_v82/constructors/contacts.contacts.md @@ -0,0 +1,40 @@ +--- +title: contacts.contacts +description: The current user's contact list and info on users. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.contacts +[Back to constructors index](index.md) + + + +The current user's contact list and info on users. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|contacts|Array of [Contact](../types/Contact.md) | Yes|Contacts| +|saved\_count|[int](../types/int.md) | Yes|Number of contacts that were saved successfully| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Contacts](../types/contacts.Contacts.md) + + +### Example: + +```php +$contacts.contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact, Contact], 'saved_count' => int, 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.contacts={_='contacts.contacts', contacts={Contact}, saved_count=int, users={User}} + +``` + + diff --git a/old_docs/API_docs_v82/constructors/contacts.contactsNotModified.md b/old_docs/API_docs_v82/constructors/contacts.contactsNotModified.md new file mode 100644 index 00000000..e2149396 --- /dev/null +++ b/old_docs/API_docs_v82/constructors/contacts.contactsNotModified.md @@ -0,0 +1,33 @@ +--- +title: contacts.contactsNotModified +description: Contact list on the server is the same as the list on the client. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.contactsNotModified +[Back to constructors index](index.md) + + + +Contact list on the server is the same as the list on the client. + + + + +### Type: [contacts.Contacts](../types/contacts.Contacts.md) + + +### Example: + +```php +$contacts.contactsNotModified = ['_' => 'contacts.contactsNotModified']; +``` + + +Or, if you're into Lua: + +```lua +contacts.contactsNotModified={_='contacts.contactsNotModified'} + +``` + + diff --git a/old_docs/API_docs_v82/constructors/contacts.found.md b/old_docs/API_docs_v82/constructors/contacts.found.md new file mode 100644 index 00000000..65df2f8d --- /dev/null +++ b/old_docs/API_docs_v82/constructors/contacts.found.md @@ -0,0 +1,41 @@ +--- +title: contacts.found +description: Users found by name substring and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.found +[Back to constructors index](index.md) + + + +Users found by name substring and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|my\_results|Array of [Peer](../types/Peer.md) | Yes|My results| +|results|Array of [Peer](../types/Peer.md) | Yes|Results| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Found](../types/contacts.Found.md) + + +### Example: + +```php +$contacts.found = ['_' => 'contacts.found', 'my_results' => [Peer, Peer], 'results' => [Peer, Peer], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.found={_='contacts.found', my_results={Peer}, results={Peer}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v82/constructors/contacts.importedContacts.md b/old_docs/API_docs_v82/constructors/contacts.importedContacts.md new file mode 100644 index 00000000..20075931 --- /dev/null +++ b/old_docs/API_docs_v82/constructors/contacts.importedContacts.md @@ -0,0 +1,41 @@ +--- +title: contacts.importedContacts +description: Info on succesfully imported contacts. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.importedContacts +[Back to constructors index](index.md) + + + +Info on succesfully imported contacts. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|imported|Array of [ImportedContact](../types/ImportedContact.md) | Yes|Imported| +|popular\_invites|Array of [PopularContact](../types/PopularContact.md) | Yes|Popular invites| +|retry\_contacts|Array of [long](../types/long.md) | Yes|Retry importing contacts whose client IDs appear here| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.ImportedContacts](../types/contacts.ImportedContacts.md) + + +### Example: + +```php +$contacts.importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact, ImportedContact], 'popular_invites' => [PopularContact, PopularContact], 'retry_contacts' => [long, long], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.importedContacts={_='contacts.importedContacts', imported={ImportedContact}, popular_invites={PopularContact}, retry_contacts={long}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v82/constructors/contacts.link.md b/old_docs/API_docs_v82/constructors/contacts.link.md new file mode 100644 index 00000000..ab150a0d --- /dev/null +++ b/old_docs/API_docs_v82/constructors/contacts.link.md @@ -0,0 +1,40 @@ +--- +title: contacts.link +description: Link +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.link +[Back to constructors index](index.md) + + + +Link + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|my\_link|[ContactLink](../types/ContactLink.md) | Yes|My link| +|foreign\_link|[ContactLink](../types/ContactLink.md) | Yes|Foreign link| +|user|[User](../types/User.md) | Optional|User| + + + +### Type: [contacts.Link](../types/contacts.Link.md) + + +### Example: + +```php +$contacts.link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User]; +``` + + +Or, if you're into Lua: + +```lua +contacts.link={_='contacts.link', my_link=ContactLink, foreign_link=ContactLink, user=User} + +``` + + diff --git a/old_docs/API_docs_v82/constructors/contacts.resolvedPeer.md b/old_docs/API_docs_v82/constructors/contacts.resolvedPeer.md new file mode 100644 index 00000000..35d88481 --- /dev/null +++ b/old_docs/API_docs_v82/constructors/contacts.resolvedPeer.md @@ -0,0 +1,40 @@ +--- +title: contacts.resolvedPeer +description: Resolved peer +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.resolvedPeer +[Back to constructors index](index.md) + + + +Resolved peer + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|peer|[Peer](../types/Peer.md) | Yes|The peer| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.ResolvedPeer](../types/contacts.ResolvedPeer.md) + + +### Example: + +```php +$contacts.resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.resolvedPeer={_='contacts.resolvedPeer', peer=Peer, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v82/constructors/contacts.topPeers.md b/old_docs/API_docs_v82/constructors/contacts.topPeers.md new file mode 100644 index 00000000..19d9c712 --- /dev/null +++ b/old_docs/API_docs_v82/constructors/contacts.topPeers.md @@ -0,0 +1,40 @@ +--- +title: contacts.topPeers +description: Top peers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.topPeers +[Back to constructors index](index.md) + + + +Top peers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|categories|Array of [TopPeerCategoryPeers](../types/TopPeerCategoryPeers.md) | Yes|Categories| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.TopPeers](../types/contacts.TopPeers.md) + + +### Example: + +```php +$contacts.topPeers = ['_' => 'contacts.topPeers', 'categories' => [TopPeerCategoryPeers, TopPeerCategoryPeers], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.topPeers={_='contacts.topPeers', categories={TopPeerCategoryPeers}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v82/constructors/contacts.topPeersDisabled.md b/old_docs/API_docs_v82/constructors/contacts.topPeersDisabled.md new file mode 100644 index 00000000..a0e2c50b --- /dev/null +++ b/old_docs/API_docs_v82/constructors/contacts.topPeersDisabled.md @@ -0,0 +1,33 @@ +--- +title: contacts.topPeersDisabled +description: Top peers disabled +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.topPeersDisabled +[Back to constructors index](index.md) + + + +Top peers disabled + + + + +### Type: [contacts.TopPeers](../types/contacts.TopPeers.md) + + +### Example: + +```php +$contacts.topPeersDisabled = ['_' => 'contacts.topPeersDisabled']; +``` + + +Or, if you're into Lua: + +```lua +contacts.topPeersDisabled={_='contacts.topPeersDisabled'} + +``` + + diff --git a/old_docs/API_docs_v82/constructors/contacts.topPeersNotModified.md b/old_docs/API_docs_v82/constructors/contacts.topPeersNotModified.md new file mode 100644 index 00000000..77c5eb4d --- /dev/null +++ b/old_docs/API_docs_v82/constructors/contacts.topPeersNotModified.md @@ -0,0 +1,33 @@ +--- +title: contacts.topPeersNotModified +description: Top peer info hasn't changed +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.topPeersNotModified +[Back to constructors index](index.md) + + + +Top peer info hasn't changed + + + + +### Type: [contacts.TopPeers](../types/contacts.TopPeers.md) + + +### Example: + +```php +$contacts.topPeersNotModified = ['_' => 'contacts.topPeersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +contacts.topPeersNotModified={_='contacts.topPeersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v82/constructors/contacts_blocked.md b/old_docs/API_docs_v82/constructors/contacts_blocked.md deleted file mode 100644 index 20e33002..00000000 --- a/old_docs/API_docs_v82/constructors/contacts_blocked.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: contacts.blocked -description: Full list of blocked users. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.blocked -[Back to constructors index](index.md) - - - -Full list of blocked users. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Blocked](../types/contacts_Blocked.md) - - -### Example: - -```php -$contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_blocked={_='contacts.blocked', blocked={ContactBlocked}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v82/constructors/contacts_blockedSlice.md b/old_docs/API_docs_v82/constructors/contacts_blockedSlice.md deleted file mode 100644 index fcab9a28..00000000 --- a/old_docs/API_docs_v82/constructors/contacts_blockedSlice.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.blockedSlice -description: Incomplete list of blocked users. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.blockedSlice -[Back to constructors index](index.md) - - - -Incomplete list of blocked users. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of elements in the list| -|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Blocked](../types/contacts_Blocked.md) - - -### Example: - -```php -$contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_blockedSlice={_='contacts.blockedSlice', count=int, blocked={ContactBlocked}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v82/constructors/contacts_contacts.md b/old_docs/API_docs_v82/constructors/contacts_contacts.md deleted file mode 100644 index 0e6f0dd3..00000000 --- a/old_docs/API_docs_v82/constructors/contacts_contacts.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.contacts -description: The current user's contact list and info on users. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.contacts -[Back to constructors index](index.md) - - - -The current user's contact list and info on users. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|contacts|Array of [Contact](../types/Contact.md) | Yes|Contacts| -|saved\_count|[int](../types/int.md) | Yes|Number of contacts that were saved successfully| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Contacts](../types/contacts_Contacts.md) - - -### Example: - -```php -$contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact, Contact], 'saved_count' => int, 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_contacts={_='contacts.contacts', contacts={Contact}, saved_count=int, users={User}} - -``` - - diff --git a/old_docs/API_docs_v82/constructors/contacts_contactsNotModified.md b/old_docs/API_docs_v82/constructors/contacts_contactsNotModified.md deleted file mode 100644 index 17e76ac3..00000000 --- a/old_docs/API_docs_v82/constructors/contacts_contactsNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: contacts.contactsNotModified -description: Contact list on the server is the same as the list on the client. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.contactsNotModified -[Back to constructors index](index.md) - - - -Contact list on the server is the same as the list on the client. - - - - -### Type: [contacts\_Contacts](../types/contacts_Contacts.md) - - -### Example: - -```php -$contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified']; -``` - - -Or, if you're into Lua: - -```lua -contacts_contactsNotModified={_='contacts.contactsNotModified'} - -``` - - diff --git a/old_docs/API_docs_v82/constructors/contacts_found.md b/old_docs/API_docs_v82/constructors/contacts_found.md deleted file mode 100644 index 76b9aa0c..00000000 --- a/old_docs/API_docs_v82/constructors/contacts_found.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: contacts.found -description: Users found by name substring and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.found -[Back to constructors index](index.md) - - - -Users found by name substring and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|my\_results|Array of [Peer](../types/Peer.md) | Yes|My results| -|results|Array of [Peer](../types/Peer.md) | Yes|Results| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Found](../types/contacts_Found.md) - - -### Example: - -```php -$contacts_found = ['_' => 'contacts.found', 'my_results' => [Peer, Peer], 'results' => [Peer, Peer], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_found={_='contacts.found', my_results={Peer}, results={Peer}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v82/constructors/contacts_importedContacts.md b/old_docs/API_docs_v82/constructors/contacts_importedContacts.md deleted file mode 100644 index e534754b..00000000 --- a/old_docs/API_docs_v82/constructors/contacts_importedContacts.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: contacts.importedContacts -description: Info on succesfully imported contacts. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.importedContacts -[Back to constructors index](index.md) - - - -Info on succesfully imported contacts. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|imported|Array of [ImportedContact](../types/ImportedContact.md) | Yes|Imported| -|popular\_invites|Array of [PopularContact](../types/PopularContact.md) | Yes|Popular invites| -|retry\_contacts|Array of [long](../types/long.md) | Yes|Retry importing contacts whose client IDs appear here| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) - - -### Example: - -```php -$contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact, ImportedContact], 'popular_invites' => [PopularContact, PopularContact], 'retry_contacts' => [long, long], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_importedContacts={_='contacts.importedContacts', imported={ImportedContact}, popular_invites={PopularContact}, retry_contacts={long}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v82/constructors/contacts_link.md b/old_docs/API_docs_v82/constructors/contacts_link.md deleted file mode 100644 index cfc566c7..00000000 --- a/old_docs/API_docs_v82/constructors/contacts_link.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.link -description: Link -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.link -[Back to constructors index](index.md) - - - -Link - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|my\_link|[ContactLink](../types/ContactLink.md) | Yes|My link| -|foreign\_link|[ContactLink](../types/ContactLink.md) | Yes|Foreign link| -|user|[User](../types/User.md) | Optional|User| - - - -### Type: [contacts\_Link](../types/contacts_Link.md) - - -### Example: - -```php -$contacts_link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User]; -``` - - -Or, if you're into Lua: - -```lua -contacts_link={_='contacts.link', my_link=ContactLink, foreign_link=ContactLink, user=User} - -``` - - diff --git a/old_docs/API_docs_v82/constructors/contacts_resolvedPeer.md b/old_docs/API_docs_v82/constructors/contacts_resolvedPeer.md deleted file mode 100644 index aae3c7af..00000000 --- a/old_docs/API_docs_v82/constructors/contacts_resolvedPeer.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.resolvedPeer -description: Resolved peer -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.resolvedPeer -[Back to constructors index](index.md) - - - -Resolved peer - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|peer|[Peer](../types/Peer.md) | Yes|The peer| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_ResolvedPeer](../types/contacts_ResolvedPeer.md) - - -### Example: - -```php -$contacts_resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_resolvedPeer={_='contacts.resolvedPeer', peer=Peer, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v82/constructors/contacts_topPeers.md b/old_docs/API_docs_v82/constructors/contacts_topPeers.md deleted file mode 100644 index 77bc07d3..00000000 --- a/old_docs/API_docs_v82/constructors/contacts_topPeers.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.topPeers -description: Top peers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.topPeers -[Back to constructors index](index.md) - - - -Top peers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|categories|Array of [TopPeerCategoryPeers](../types/TopPeerCategoryPeers.md) | Yes|Categories| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_TopPeers](../types/contacts_TopPeers.md) - - -### Example: - -```php -$contacts_topPeers = ['_' => 'contacts.topPeers', 'categories' => [TopPeerCategoryPeers, TopPeerCategoryPeers], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_topPeers={_='contacts.topPeers', categories={TopPeerCategoryPeers}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v82/constructors/contacts_topPeersDisabled.md b/old_docs/API_docs_v82/constructors/contacts_topPeersDisabled.md deleted file mode 100644 index e359a76d..00000000 --- a/old_docs/API_docs_v82/constructors/contacts_topPeersDisabled.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: contacts.topPeersDisabled -description: Top peers disabled -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.topPeersDisabled -[Back to constructors index](index.md) - - - -Top peers disabled - - - - -### Type: [contacts\_TopPeers](../types/contacts_TopPeers.md) - - -### Example: - -```php -$contacts_topPeersDisabled = ['_' => 'contacts.topPeersDisabled']; -``` - - -Or, if you're into Lua: - -```lua -contacts_topPeersDisabled={_='contacts.topPeersDisabled'} - -``` - - diff --git a/old_docs/API_docs_v82/constructors/contacts_topPeersNotModified.md b/old_docs/API_docs_v82/constructors/contacts_topPeersNotModified.md deleted file mode 100644 index 43eae59d..00000000 --- a/old_docs/API_docs_v82/constructors/contacts_topPeersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: contacts.topPeersNotModified -description: Top peer info hasn't changed -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.topPeersNotModified -[Back to constructors index](index.md) - - - -Top peer info hasn't changed - - - - -### Type: [contacts\_TopPeers](../types/contacts_TopPeers.md) - - -### Example: - -```php -$contacts_topPeersNotModified = ['_' => 'contacts.topPeersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -contacts_topPeersNotModified={_='contacts.topPeersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v82/constructors/help.appUpdate.md b/old_docs/API_docs_v82/constructors/help.appUpdate.md new file mode 100644 index 00000000..14b2d75b --- /dev/null +++ b/old_docs/API_docs_v82/constructors/help.appUpdate.md @@ -0,0 +1,41 @@ +--- +title: help.appUpdate +description: An update is available for the application. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.appUpdate +[Back to constructors index](index.md) + + + +An update is available for the application. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|id|[int](../types/int.md) | Yes|Update ID| +|critical|[Bool](../types/Bool.md) | Yes|Critical?| +|url|[string](../types/string.md) | Yes|Application download URL| +|text|[string](../types/string.md) | Yes|Text description of the update| + + + +### Type: [help.AppUpdate](../types/help.AppUpdate.md) + + +### Example: + +```php +$help.appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'url' => 'string', 'text' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +help.appUpdate={_='help.appUpdate', id=int, critical=Bool, url='string', text='string'} + +``` + + diff --git a/old_docs/API_docs_v82/constructors/help.configSimple.md b/old_docs/API_docs_v82/constructors/help.configSimple.md new file mode 100644 index 00000000..4070e1ce --- /dev/null +++ b/old_docs/API_docs_v82/constructors/help.configSimple.md @@ -0,0 +1,40 @@ +--- +title: help.configSimple +description: Config simple +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.configSimple +[Back to constructors index](index.md) + + + +Config simple + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Date| +|expires|[int](../types/int.md) | Yes|Expires| +|rules|Array of [AccessPointRule](../types/AccessPointRule.md) | Yes|Rules| + + + +### Type: [help.ConfigSimple](../types/help.ConfigSimple.md) + + +### Example: + +```php +$help.configSimple = ['_' => 'help.configSimple', 'date' => int, 'expires' => int, 'rules' => [AccessPointRule, AccessPointRule]]; +``` + + +Or, if you're into Lua: + +```lua +help.configSimple={_='help.configSimple', date=int, expires=int, rules={AccessPointRule}} + +``` + + diff --git a/old_docs/API_docs_v82/constructors/help.deepLinkInfo.md b/old_docs/API_docs_v82/constructors/help.deepLinkInfo.md new file mode 100644 index 00000000..78f70af0 --- /dev/null +++ b/old_docs/API_docs_v82/constructors/help.deepLinkInfo.md @@ -0,0 +1,40 @@ +--- +title: help.deepLinkInfo +description: Deep linking info +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.deepLinkInfo +[Back to constructors index](index.md) + + + +Deep linking info + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|update\_app|[Bool](../types/Bool.md) | Optional|An update of the app is required to parse this link| +|message|[string](../types/string.md) | Yes|Message to show to the user| +|entities|Array of [MessageEntity](../types/MessageEntity.md) | Optional|Entities| + + + +### Type: [help.DeepLinkInfo](../types/help.DeepLinkInfo.md) + + +### Example: + +```php +$help.deepLinkInfo = ['_' => 'help.deepLinkInfo', 'update_app' => Bool, 'message' => 'string', 'entities' => [MessageEntity, MessageEntity]]; +``` + + +Or, if you're into Lua: + +```lua +help.deepLinkInfo={_='help.deepLinkInfo', update_app=Bool, message='string', entities={MessageEntity}} + +``` + + diff --git a/old_docs/API_docs_v82/constructors/help.deepLinkInfoEmpty.md b/old_docs/API_docs_v82/constructors/help.deepLinkInfoEmpty.md new file mode 100644 index 00000000..dc99166c --- /dev/null +++ b/old_docs/API_docs_v82/constructors/help.deepLinkInfoEmpty.md @@ -0,0 +1,33 @@ +--- +title: help.deepLinkInfoEmpty +description: Deep link info empty +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.deepLinkInfoEmpty +[Back to constructors index](index.md) + + + +Deep link info empty + + + + +### Type: [help.DeepLinkInfo](../types/help.DeepLinkInfo.md) + + +### Example: + +```php +$help.deepLinkInfoEmpty = ['_' => 'help.deepLinkInfoEmpty']; +``` + + +Or, if you're into Lua: + +```lua +help.deepLinkInfoEmpty={_='help.deepLinkInfoEmpty'} + +``` + + diff --git a/old_docs/API_docs_v82/constructors/help.inviteText.md b/old_docs/API_docs_v82/constructors/help.inviteText.md new file mode 100644 index 00000000..6a6261c1 --- /dev/null +++ b/old_docs/API_docs_v82/constructors/help.inviteText.md @@ -0,0 +1,38 @@ +--- +title: help.inviteText +description: Text of a text message with an invitation to install application. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.inviteText +[Back to constructors index](index.md) + + + +Text of a text message with an invitation to install application. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|message|[string](../types/string.md) | Yes|Text of a message| + + + +### Type: [help.InviteText](../types/help.InviteText.md) + + +### Example: + +```php +$help.inviteText = ['_' => 'help.inviteText', 'message' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +help.inviteText={_='help.inviteText', message='string'} + +``` + + diff --git a/old_docs/API_docs_v82/constructors/help.noAppUpdate.md b/old_docs/API_docs_v82/constructors/help.noAppUpdate.md new file mode 100644 index 00000000..1b69ac9a --- /dev/null +++ b/old_docs/API_docs_v82/constructors/help.noAppUpdate.md @@ -0,0 +1,33 @@ +--- +title: help.noAppUpdate +description: No updates are available for the application. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.noAppUpdate +[Back to constructors index](index.md) + + + +No updates are available for the application. + + + + +### Type: [help.AppUpdate](../types/help.AppUpdate.md) + + +### Example: + +```php +$help.noAppUpdate = ['_' => 'help.noAppUpdate']; +``` + + +Or, if you're into Lua: + +```lua +help.noAppUpdate={_='help.noAppUpdate'} + +``` + + diff --git a/old_docs/API_docs_v82/constructors/help.proxyDataEmpty.md b/old_docs/API_docs_v82/constructors/help.proxyDataEmpty.md new file mode 100644 index 00000000..66fd63ac --- /dev/null +++ b/old_docs/API_docs_v82/constructors/help.proxyDataEmpty.md @@ -0,0 +1,38 @@ +--- +title: help.proxyDataEmpty +description: No proxy was used to connect to tg (or none was provided to [initConnection](../methods/initConnection.md), or the used proxy doesn't have a promotion channel associated to it) +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.proxyDataEmpty +[Back to constructors index](index.md) + + + +No proxy was used to connect to tg (or none was provided to [initConnection](../methods/initConnection.md), or the used proxy doesn't have a promotion channel associated to it) + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|expires|[int](../types/int.md) | Yes|Expiration date of proxy info, will have to be refetched in `expires` seconds| + + + +### Type: [help.ProxyData](../types/help.ProxyData.md) + + +### Example: + +```php +$help.proxyDataEmpty = ['_' => 'help.proxyDataEmpty', 'expires' => int]; +``` + + +Or, if you're into Lua: + +```lua +help.proxyDataEmpty={_='help.proxyDataEmpty', expires=int} + +``` + + diff --git a/old_docs/API_docs_v82/constructors/help.proxyDataPromo.md b/old_docs/API_docs_v82/constructors/help.proxyDataPromo.md new file mode 100644 index 00000000..eb32aabd --- /dev/null +++ b/old_docs/API_docs_v82/constructors/help.proxyDataPromo.md @@ -0,0 +1,41 @@ +--- +title: help.proxyDataPromo +description: Promotion channel associated to a certain MTProxy +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.proxyDataPromo +[Back to constructors index](index.md) + + + +Promotion channel associated to a certain MTProxy + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|expires|[int](../types/int.md) | Yes|Expiration date of proxy info, will have to be refetched in `expires` seconds| +|peer|[Peer](../types/Peer.md) | Yes|The promoted channel| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [help.ProxyData](../types/help.ProxyData.md) + + +### Example: + +```php +$help.proxyDataPromo = ['_' => 'help.proxyDataPromo', 'expires' => int, 'peer' => Peer, 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +help.proxyDataPromo={_='help.proxyDataPromo', expires=int, peer=Peer, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v82/constructors/help.recentMeUrls.md b/old_docs/API_docs_v82/constructors/help.recentMeUrls.md new file mode 100644 index 00000000..711407b7 --- /dev/null +++ b/old_docs/API_docs_v82/constructors/help.recentMeUrls.md @@ -0,0 +1,40 @@ +--- +title: help.recentMeUrls +description: Recent t.me URLs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.recentMeUrls +[Back to constructors index](index.md) + + + +Recent t.me URLs + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|urls|Array of [RecentMeUrl](../types/RecentMeUrl.md) | Yes|URLs| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [help.RecentMeUrls](../types/help.RecentMeUrls.md) + + +### Example: + +```php +$help.recentMeUrls = ['_' => 'help.recentMeUrls', 'urls' => [RecentMeUrl, RecentMeUrl], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +help.recentMeUrls={_='help.recentMeUrls', urls={RecentMeUrl}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v82/constructors/help.support.md b/old_docs/API_docs_v82/constructors/help.support.md new file mode 100644 index 00000000..4d4f85fb --- /dev/null +++ b/old_docs/API_docs_v82/constructors/help.support.md @@ -0,0 +1,39 @@ +--- +title: help.support +description: Info on support user. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.support +[Back to constructors index](index.md) + + + +Info on support user. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_number|[string](../types/string.md) | Yes|Phone number| +|user|[User](../types/User.md) | Optional|User| + + + +### Type: [help.Support](../types/help.Support.md) + + +### Example: + +```php +$help.support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => User]; +``` + + +Or, if you're into Lua: + +```lua +help.support={_='help.support', phone_number='string', user=User} + +``` + + diff --git a/old_docs/API_docs_v82/constructors/help.termsOfService.md b/old_docs/API_docs_v82/constructors/help.termsOfService.md new file mode 100644 index 00000000..61ffb70a --- /dev/null +++ b/old_docs/API_docs_v82/constructors/help.termsOfService.md @@ -0,0 +1,42 @@ +--- +title: help.termsOfService +description: Info about the latest telegram Terms Of Service +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.termsOfService +[Back to constructors index](index.md) + + + +Info about the latest telegram Terms Of Service + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|popup|[Bool](../types/Bool.md) | Optional|Whether a prompt must be showed to the user, in order to accept the new terms.| +|id|[DataJSON](../types/DataJSON.md) | Yes|ID of the new terms| +|text|[string](../types/string.md) | Yes|Text of the new terms| +|entities|Array of [MessageEntity](../types/MessageEntity.md) | Yes|Entities| +|min\_age\_confirm|[int](../types/int.md) | Optional|Minimum age required to sign up to telegram, the user must confirm that they is older than the minimum age.| + + + +### Type: [help.TermsOfService](../types/help.TermsOfService.md) + + +### Example: + +```php +$help.termsOfService = ['_' => 'help.termsOfService', 'popup' => Bool, 'id' => DataJSON, 'text' => 'string', 'entities' => [MessageEntity, MessageEntity], 'min_age_confirm' => int]; +``` + + +Or, if you're into Lua: + +```lua +help.termsOfService={_='help.termsOfService', popup=Bool, id=DataJSON, text='string', entities={MessageEntity}, min_age_confirm=int} + +``` + + diff --git a/old_docs/API_docs_v82/constructors/help.termsOfServiceUpdate.md b/old_docs/API_docs_v82/constructors/help.termsOfServiceUpdate.md new file mode 100644 index 00000000..058a3655 --- /dev/null +++ b/old_docs/API_docs_v82/constructors/help.termsOfServiceUpdate.md @@ -0,0 +1,39 @@ +--- +title: help.termsOfServiceUpdate +description: Info about an update of telegram's terms of service. If the terms of service are declined, then the [account.deleteAccount](../methods/account.deleteAccount.md) method should be called with the reason "Decline ToS update" +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.termsOfServiceUpdate +[Back to constructors index](index.md) + + + +Info about an update of telegram's terms of service. If the terms of service are declined, then the [account.deleteAccount](../methods/account.deleteAccount.md) method should be called with the reason "Decline ToS update" + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|expires|[int](../types/int.md) | Yes|New TOS updates will have to be queried using [help.getTermsOfServiceUpdate](../methods/help.getTermsOfServiceUpdate.md) in `expires` seconds| +|terms\_of\_service|[help.TermsOfService](../constructors/help.TermsOfService.md) | Yes|New terms of service| + + + +### Type: [help.TermsOfServiceUpdate](../types/help.TermsOfServiceUpdate.md) + + +### Example: + +```php +$help.termsOfServiceUpdate = ['_' => 'help.termsOfServiceUpdate', 'expires' => int, 'terms_of_service' => help.TermsOfService]; +``` + + +Or, if you're into Lua: + +```lua +help.termsOfServiceUpdate={_='help.termsOfServiceUpdate', expires=int, terms_of_service=help.TermsOfService} + +``` + + diff --git a/old_docs/API_docs_v82/constructors/help.termsOfServiceUpdateEmpty.md b/old_docs/API_docs_v82/constructors/help.termsOfServiceUpdateEmpty.md new file mode 100644 index 00000000..8213a41e --- /dev/null +++ b/old_docs/API_docs_v82/constructors/help.termsOfServiceUpdateEmpty.md @@ -0,0 +1,38 @@ +--- +title: help.termsOfServiceUpdateEmpty +description: No changes were made to telegram's terms of service +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.termsOfServiceUpdateEmpty +[Back to constructors index](index.md) + + + +No changes were made to telegram's terms of service + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|expires|[int](../types/int.md) | Yes|New TOS updates will have to be queried using [help.getTermsOfServiceUpdate](../methods/help.getTermsOfServiceUpdate.md) in `expires` seconds| + + + +### Type: [help.TermsOfServiceUpdate](../types/help.TermsOfServiceUpdate.md) + + +### Example: + +```php +$help.termsOfServiceUpdateEmpty = ['_' => 'help.termsOfServiceUpdateEmpty', 'expires' => int]; +``` + + +Or, if you're into Lua: + +```lua +help.termsOfServiceUpdateEmpty={_='help.termsOfServiceUpdateEmpty', expires=int} + +``` + + diff --git a/old_docs/API_docs_v82/constructors/help_appUpdate.md b/old_docs/API_docs_v82/constructors/help_appUpdate.md deleted file mode 100644 index efba9bdb..00000000 --- a/old_docs/API_docs_v82/constructors/help_appUpdate.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: help.appUpdate -description: An update is available for the application. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.appUpdate -[Back to constructors index](index.md) - - - -An update is available for the application. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|id|[int](../types/int.md) | Yes|Update ID| -|critical|[Bool](../types/Bool.md) | Yes|Critical?| -|url|[string](../types/string.md) | Yes|Application download URL| -|text|[string](../types/string.md) | Yes|Text description of the update| - - - -### Type: [help\_AppUpdate](../types/help_AppUpdate.md) - - -### Example: - -```php -$help_appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'url' => 'string', 'text' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -help_appUpdate={_='help.appUpdate', id=int, critical=Bool, url='string', text='string'} - -``` - - diff --git a/old_docs/API_docs_v82/constructors/help_configSimple.md b/old_docs/API_docs_v82/constructors/help_configSimple.md deleted file mode 100644 index 8c07ec9b..00000000 --- a/old_docs/API_docs_v82/constructors/help_configSimple.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: help.configSimple -description: Config simple -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.configSimple -[Back to constructors index](index.md) - - - -Config simple - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Date| -|expires|[int](../types/int.md) | Yes|Expires| -|rules|Array of [AccessPointRule](../types/AccessPointRule.md) | Yes|Rules| - - - -### Type: [help\_ConfigSimple](../types/help_ConfigSimple.md) - - -### Example: - -```php -$help_configSimple = ['_' => 'help.configSimple', 'date' => int, 'expires' => int, 'rules' => [AccessPointRule, AccessPointRule]]; -``` - - -Or, if you're into Lua: - -```lua -help_configSimple={_='help.configSimple', date=int, expires=int, rules={AccessPointRule}} - -``` - - diff --git a/old_docs/API_docs_v82/constructors/help_deepLinkInfo.md b/old_docs/API_docs_v82/constructors/help_deepLinkInfo.md deleted file mode 100644 index bcc24ecd..00000000 --- a/old_docs/API_docs_v82/constructors/help_deepLinkInfo.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: help.deepLinkInfo -description: Deep linking info -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.deepLinkInfo -[Back to constructors index](index.md) - - - -Deep linking info - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|update\_app|[Bool](../types/Bool.md) | Optional|An update of the app is required to parse this link| -|message|[string](../types/string.md) | Yes|Message to show to the user| -|entities|Array of [MessageEntity](../types/MessageEntity.md) | Optional|Entities| - - - -### Type: [help\_DeepLinkInfo](../types/help_DeepLinkInfo.md) - - -### Example: - -```php -$help_deepLinkInfo = ['_' => 'help.deepLinkInfo', 'update_app' => Bool, 'message' => 'string', 'entities' => [MessageEntity, MessageEntity]]; -``` - - -Or, if you're into Lua: - -```lua -help_deepLinkInfo={_='help.deepLinkInfo', update_app=Bool, message='string', entities={MessageEntity}} - -``` - - diff --git a/old_docs/API_docs_v82/constructors/help_deepLinkInfoEmpty.md b/old_docs/API_docs_v82/constructors/help_deepLinkInfoEmpty.md deleted file mode 100644 index ab876dd5..00000000 --- a/old_docs/API_docs_v82/constructors/help_deepLinkInfoEmpty.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: help.deepLinkInfoEmpty -description: Deep link info empty -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.deepLinkInfoEmpty -[Back to constructors index](index.md) - - - -Deep link info empty - - - - -### Type: [help\_DeepLinkInfo](../types/help_DeepLinkInfo.md) - - -### Example: - -```php -$help_deepLinkInfoEmpty = ['_' => 'help.deepLinkInfoEmpty']; -``` - - -Or, if you're into Lua: - -```lua -help_deepLinkInfoEmpty={_='help.deepLinkInfoEmpty'} - -``` - - diff --git a/old_docs/API_docs_v82/constructors/help_inviteText.md b/old_docs/API_docs_v82/constructors/help_inviteText.md deleted file mode 100644 index b8317ce3..00000000 --- a/old_docs/API_docs_v82/constructors/help_inviteText.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: help.inviteText -description: Text of a text message with an invitation to install application. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.inviteText -[Back to constructors index](index.md) - - - -Text of a text message with an invitation to install application. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|message|[string](../types/string.md) | Yes|Text of a message| - - - -### Type: [help\_InviteText](../types/help_InviteText.md) - - -### Example: - -```php -$help_inviteText = ['_' => 'help.inviteText', 'message' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -help_inviteText={_='help.inviteText', message='string'} - -``` - - diff --git a/old_docs/API_docs_v82/constructors/help_noAppUpdate.md b/old_docs/API_docs_v82/constructors/help_noAppUpdate.md deleted file mode 100644 index 51505e52..00000000 --- a/old_docs/API_docs_v82/constructors/help_noAppUpdate.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: help.noAppUpdate -description: No updates are available for the application. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.noAppUpdate -[Back to constructors index](index.md) - - - -No updates are available for the application. - - - - -### Type: [help\_AppUpdate](../types/help_AppUpdate.md) - - -### Example: - -```php -$help_noAppUpdate = ['_' => 'help.noAppUpdate']; -``` - - -Or, if you're into Lua: - -```lua -help_noAppUpdate={_='help.noAppUpdate'} - -``` - - diff --git a/old_docs/API_docs_v82/constructors/help_proxyDataEmpty.md b/old_docs/API_docs_v82/constructors/help_proxyDataEmpty.md deleted file mode 100644 index 96efddd3..00000000 --- a/old_docs/API_docs_v82/constructors/help_proxyDataEmpty.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: help.proxyDataEmpty -description: No proxy was used to connect to tg (or none was provided to [initConnection](../methods/initConnection.md), or the used proxy doesn't have a promotion channel associated to it) -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.proxyDataEmpty -[Back to constructors index](index.md) - - - -No proxy was used to connect to tg (or none was provided to [initConnection](../methods/initConnection.md), or the used proxy doesn't have a promotion channel associated to it) - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|expires|[int](../types/int.md) | Yes|Expiration date of proxy info, will have to be refetched in `expires` seconds| - - - -### Type: [help\_ProxyData](../types/help_ProxyData.md) - - -### Example: - -```php -$help_proxyDataEmpty = ['_' => 'help.proxyDataEmpty', 'expires' => int]; -``` - - -Or, if you're into Lua: - -```lua -help_proxyDataEmpty={_='help.proxyDataEmpty', expires=int} - -``` - - diff --git a/old_docs/API_docs_v82/constructors/help_proxyDataPromo.md b/old_docs/API_docs_v82/constructors/help_proxyDataPromo.md deleted file mode 100644 index 54ca7edb..00000000 --- a/old_docs/API_docs_v82/constructors/help_proxyDataPromo.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: help.proxyDataPromo -description: Promotion channel associated to a certain MTProxy -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.proxyDataPromo -[Back to constructors index](index.md) - - - -Promotion channel associated to a certain MTProxy - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|expires|[int](../types/int.md) | Yes|Expiration date of proxy info, will have to be refetched in `expires` seconds| -|peer|[Peer](../types/Peer.md) | Yes|The promoted channel| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [help\_ProxyData](../types/help_ProxyData.md) - - -### Example: - -```php -$help_proxyDataPromo = ['_' => 'help.proxyDataPromo', 'expires' => int, 'peer' => Peer, 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -help_proxyDataPromo={_='help.proxyDataPromo', expires=int, peer=Peer, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v82/constructors/help_recentMeUrls.md b/old_docs/API_docs_v82/constructors/help_recentMeUrls.md deleted file mode 100644 index 7bf592ef..00000000 --- a/old_docs/API_docs_v82/constructors/help_recentMeUrls.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: help.recentMeUrls -description: Recent t.me URLs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.recentMeUrls -[Back to constructors index](index.md) - - - -Recent t.me URLs - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|urls|Array of [RecentMeUrl](../types/RecentMeUrl.md) | Yes|URLs| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [help\_RecentMeUrls](../types/help_RecentMeUrls.md) - - -### Example: - -```php -$help_recentMeUrls = ['_' => 'help.recentMeUrls', 'urls' => [RecentMeUrl, RecentMeUrl], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -help_recentMeUrls={_='help.recentMeUrls', urls={RecentMeUrl}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v82/constructors/help_support.md b/old_docs/API_docs_v82/constructors/help_support.md deleted file mode 100644 index 148f7f42..00000000 --- a/old_docs/API_docs_v82/constructors/help_support.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: help.support -description: Info on support user. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.support -[Back to constructors index](index.md) - - - -Info on support user. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_number|[string](../types/string.md) | Yes|Phone number| -|user|[User](../types/User.md) | Optional|User| - - - -### Type: [help\_Support](../types/help_Support.md) - - -### Example: - -```php -$help_support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => User]; -``` - - -Or, if you're into Lua: - -```lua -help_support={_='help.support', phone_number='string', user=User} - -``` - - diff --git a/old_docs/API_docs_v82/constructors/help_termsOfService.md b/old_docs/API_docs_v82/constructors/help_termsOfService.md deleted file mode 100644 index f9d496e5..00000000 --- a/old_docs/API_docs_v82/constructors/help_termsOfService.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: help.termsOfService -description: Info about the latest telegram Terms Of Service -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.termsOfService -[Back to constructors index](index.md) - - - -Info about the latest telegram Terms Of Service - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|popup|[Bool](../types/Bool.md) | Optional|Whether a prompt must be showed to the user, in order to accept the new terms.| -|id|[DataJSON](../types/DataJSON.md) | Yes|ID of the new terms| -|text|[string](../types/string.md) | Yes|Text of the new terms| -|entities|Array of [MessageEntity](../types/MessageEntity.md) | Yes|Entities| -|min\_age\_confirm|[int](../types/int.md) | Optional|Minimum age required to sign up to telegram, the user must confirm that they is older than the minimum age.| - - - -### Type: [help\_TermsOfService](../types/help_TermsOfService.md) - - -### Example: - -```php -$help_termsOfService = ['_' => 'help.termsOfService', 'popup' => Bool, 'id' => DataJSON, 'text' => 'string', 'entities' => [MessageEntity, MessageEntity], 'min_age_confirm' => int]; -``` - - -Or, if you're into Lua: - -```lua -help_termsOfService={_='help.termsOfService', popup=Bool, id=DataJSON, text='string', entities={MessageEntity}, min_age_confirm=int} - -``` - - diff --git a/old_docs/API_docs_v82/constructors/help_termsOfServiceUpdate.md b/old_docs/API_docs_v82/constructors/help_termsOfServiceUpdate.md deleted file mode 100644 index c9e80319..00000000 --- a/old_docs/API_docs_v82/constructors/help_termsOfServiceUpdate.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: help.termsOfServiceUpdate -description: Info about an update of telegram's terms of service. If the terms of service are declined, then the [account.deleteAccount](../methods/account.deleteAccount.md) method should be called with the reason "Decline ToS update" -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.termsOfServiceUpdate -[Back to constructors index](index.md) - - - -Info about an update of telegram's terms of service. If the terms of service are declined, then the [account.deleteAccount](../methods/account.deleteAccount.md) method should be called with the reason "Decline ToS update" - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|expires|[int](../types/int.md) | Yes|New TOS updates will have to be queried using [help.getTermsOfServiceUpdate](../methods/help.getTermsOfServiceUpdate.md) in `expires` seconds| -|terms\_of\_service|[help\_TermsOfService](../types/help_TermsOfService.md) | Yes|New terms of service| - - - -### Type: [help\_TermsOfServiceUpdate](../types/help_TermsOfServiceUpdate.md) - - -### Example: - -```php -$help_termsOfServiceUpdate = ['_' => 'help.termsOfServiceUpdate', 'expires' => int, 'terms_of_service' => help_TermsOfService]; -``` - - -Or, if you're into Lua: - -```lua -help_termsOfServiceUpdate={_='help.termsOfServiceUpdate', expires=int, terms_of_service=help_TermsOfService} - -``` - - diff --git a/old_docs/API_docs_v82/constructors/help_termsOfServiceUpdateEmpty.md b/old_docs/API_docs_v82/constructors/help_termsOfServiceUpdateEmpty.md deleted file mode 100644 index d4d753fc..00000000 --- a/old_docs/API_docs_v82/constructors/help_termsOfServiceUpdateEmpty.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: help.termsOfServiceUpdateEmpty -description: No changes were made to telegram's terms of service -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.termsOfServiceUpdateEmpty -[Back to constructors index](index.md) - - - -No changes were made to telegram's terms of service - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|expires|[int](../types/int.md) | Yes|New TOS updates will have to be queried using [help.getTermsOfServiceUpdate](../methods/help.getTermsOfServiceUpdate.md) in `expires` seconds| - - - -### Type: [help\_TermsOfServiceUpdate](../types/help_TermsOfServiceUpdate.md) - - -### Example: - -```php -$help_termsOfServiceUpdateEmpty = ['_' => 'help.termsOfServiceUpdateEmpty', 'expires' => int]; -``` - - -Or, if you're into Lua: - -```lua -help_termsOfServiceUpdateEmpty={_='help.termsOfServiceUpdateEmpty', expires=int} - -``` - - diff --git a/old_docs/API_docs_v82/constructors/messages.affectedHistory.md b/old_docs/API_docs_v82/constructors/messages.affectedHistory.md new file mode 100644 index 00000000..5fc8acec --- /dev/null +++ b/old_docs/API_docs_v82/constructors/messages.affectedHistory.md @@ -0,0 +1,40 @@ +--- +title: messages.affectedHistory +description: Affected part of communication history with the user or in a chat. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.affectedHistory +[Back to constructors index](index.md) + + + +Affected part of communication history with the user or in a chat. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| +|pts\_count|[int](../types/int.md) | Yes|Number of affected events| +|offset|[int](../types/int.md) | Yes|If a parameter contains positive value, it is necessary to repeat the method call using the given value; during the proceeding of all the history the value itself shall gradually decrease| + + + +### Type: [messages.AffectedHistory](../types/messages.AffectedHistory.md) + + +### Example: + +```php +$messages.affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.affectedHistory={_='messages.affectedHistory', pts=int, pts_count=int, offset=int} + +``` + + diff --git a/old_docs/API_docs_v82/constructors/messages.affectedMessages.md b/old_docs/API_docs_v82/constructors/messages.affectedMessages.md new file mode 100644 index 00000000..a0e60bdf --- /dev/null +++ b/old_docs/API_docs_v82/constructors/messages.affectedMessages.md @@ -0,0 +1,39 @@ +--- +title: messages.affectedMessages +description: Events affected by operation +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.affectedMessages +[Back to constructors index](index.md) + + + +Events affected by operation + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|[Event count after generation](https://core.telegram.org/api/updates)| +|pts\_count|[int](../types/int.md) | Yes|[Number of events that were generated](https://core.telegram.org/api/updates)| + + + +### Type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) + + +### Example: + +```php +$messages.affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.affectedMessages={_='messages.affectedMessages', pts=int, pts_count=int} + +``` + + diff --git a/old_docs/API_docs_v82/constructors/messages.allStickers.md b/old_docs/API_docs_v82/constructors/messages.allStickers.md new file mode 100644 index 00000000..5f13bfde --- /dev/null +++ b/old_docs/API_docs_v82/constructors/messages.allStickers.md @@ -0,0 +1,39 @@ +--- +title: messages.allStickers +description: Info about all installed stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.allStickers +[Back to constructors index](index.md) + + + +Info about all installed stickers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|sets|Array of [StickerSet](../types/StickerSet.md) | Yes|Sets| + + + +### Type: [messages.AllStickers](../types/messages.AllStickers.md) + + +### Example: + +```php +$messages.allStickers = ['_' => 'messages.allStickers', 'hash' => int, 'sets' => [StickerSet, StickerSet]]; +``` + + +Or, if you're into Lua: + +```lua +messages.allStickers={_='messages.allStickers', hash=int, sets={StickerSet}} + +``` + + diff --git a/old_docs/API_docs_v82/constructors/messages.allStickersNotModified.md b/old_docs/API_docs_v82/constructors/messages.allStickersNotModified.md new file mode 100644 index 00000000..d3db088b --- /dev/null +++ b/old_docs/API_docs_v82/constructors/messages.allStickersNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.allStickersNotModified +description: Info about all installed stickers hasn't changed +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.allStickersNotModified +[Back to constructors index](index.md) + + + +Info about all installed stickers hasn't changed + + + + +### Type: [messages.AllStickers](../types/messages.AllStickers.md) + + +### Example: + +```php +$messages.allStickersNotModified = ['_' => 'messages.allStickersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.allStickersNotModified={_='messages.allStickersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v82/constructors/messages.archivedStickers.md b/old_docs/API_docs_v82/constructors/messages.archivedStickers.md new file mode 100644 index 00000000..6ad9927c --- /dev/null +++ b/old_docs/API_docs_v82/constructors/messages.archivedStickers.md @@ -0,0 +1,39 @@ +--- +title: messages.archivedStickers +description: Archived stickersets +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.archivedStickers +[Back to constructors index](index.md) + + + +Archived stickersets + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Number of archived stickers| +|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| + + + +### Type: [messages.ArchivedStickers](../types/messages.ArchivedStickers.md) + + +### Example: + +```php +$messages.archivedStickers = ['_' => 'messages.archivedStickers', 'count' => int, 'sets' => [StickerSetCovered, StickerSetCovered]]; +``` + + +Or, if you're into Lua: + +```lua +messages.archivedStickers={_='messages.archivedStickers', count=int, sets={StickerSetCovered}} + +``` + + diff --git a/old_docs/API_docs_v82/constructors/messages.botCallbackAnswer.md b/old_docs/API_docs_v82/constructors/messages.botCallbackAnswer.md new file mode 100644 index 00000000..08bfeba5 --- /dev/null +++ b/old_docs/API_docs_v82/constructors/messages.botCallbackAnswer.md @@ -0,0 +1,43 @@ +--- +title: messages.botCallbackAnswer +description: Callback answer sent by the bot in response to a button press +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.botCallbackAnswer +[Back to constructors index](index.md) + + + +Callback answer sent by the bot in response to a button press + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|alert|[Bool](../types/Bool.md) | Optional|Whether an alert should be shown to the user instead of a toast notification| +|has\_url|[Bool](../types/Bool.md) | Optional|Whether an URL is present| +|native\_ui|[Bool](../types/Bool.md) | Optional|Whether to show games in WebView or in native UI.| +|message|[string](../types/string.md) | Optional|Alert to show| +|url|[string](../types/string.md) | Optional|URL to open| +|cache\_time|[int](../types/int.md) | Yes|For how long should this answer be cached| + + + +### Type: [messages.BotCallbackAnswer](../types/messages.BotCallbackAnswer.md) + + +### Example: + +```php +$messages.botCallbackAnswer = ['_' => 'messages.botCallbackAnswer', 'alert' => Bool, 'has_url' => Bool, 'native_ui' => Bool, 'message' => 'string', 'url' => 'string', 'cache_time' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.botCallbackAnswer={_='messages.botCallbackAnswer', alert=Bool, has_url=Bool, native_ui=Bool, message='string', url='string', cache_time=int} + +``` + + diff --git a/old_docs/API_docs_v82/constructors/messages.botResults.md b/old_docs/API_docs_v82/constructors/messages.botResults.md new file mode 100644 index 00000000..7b6dcfba --- /dev/null +++ b/old_docs/API_docs_v82/constructors/messages.botResults.md @@ -0,0 +1,44 @@ +--- +title: messages.botResults +description: Result of a query to an inline bot +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.botResults +[Back to constructors index](index.md) + + + +Result of a query to an inline bot + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|gallery|[Bool](../types/Bool.md) | Optional|Whether the result is a picture gallery| +|query\_id|[long](../types/long.md) | Yes|Query ID| +|next\_offset|[string](../types/string.md) | Optional|The next offset to use when navigating through results| +|switch\_pm|[InlineBotSwitchPM](../types/InlineBotSwitchPM.md) | Optional|Whether the bot requested the user to message him in private| +|results|Array of [BotInlineResult](../types/BotInlineResult.md) | Yes|Results| +|cache\_time|[int](../types/int.md) | Yes|Caching validity of the results| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.BotResults](../types/messages.BotResults.md) + + +### Example: + +```php +$messages.botResults = ['_' => 'messages.botResults', 'gallery' => Bool, 'query_id' => long, 'next_offset' => 'string', 'switch_pm' => InlineBotSwitchPM, 'results' => [BotInlineResult, BotInlineResult], 'cache_time' => int, 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.botResults={_='messages.botResults', gallery=Bool, query_id=long, next_offset='string', switch_pm=InlineBotSwitchPM, results={BotInlineResult}, cache_time=int, users={User}} + +``` + + diff --git a/old_docs/API_docs_v82/constructors/messages.channelMessages.md b/old_docs/API_docs_v82/constructors/messages.channelMessages.md new file mode 100644 index 00000000..95633336 --- /dev/null +++ b/old_docs/API_docs_v82/constructors/messages.channelMessages.md @@ -0,0 +1,42 @@ +--- +title: messages.channelMessages +description: Channel messages +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.channelMessages +[Back to constructors index](index.md) + + + +Channel messages + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|[Event count after generation](https://core.telegram.org/api/updates)| +|count|[int](../types/int.md) | Yes|Total number of results were found server-side (may not be all included here)| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Messages](../types/messages.Messages.md) + + +### Example: + +```php +$messages.channelMessages = ['_' => 'messages.channelMessages', 'pts' => int, 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.channelMessages={_='messages.channelMessages', pts=int, count=int, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v82/constructors/messages.chatFull.md b/old_docs/API_docs_v82/constructors/messages.chatFull.md new file mode 100644 index 00000000..3906cc54 --- /dev/null +++ b/old_docs/API_docs_v82/constructors/messages.chatFull.md @@ -0,0 +1,40 @@ +--- +title: messages.chatFull +description: Extended info on chat and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.chatFull +[Back to constructors index](index.md) + + + +Extended info on chat and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|full\_chat|[ChatFull](../types/ChatFull.md) | Yes|Extended info on a chat| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.ChatFull](../types/messages.ChatFull.md) + + +### Example: + +```php +$messages.chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.chatFull={_='messages.chatFull', full_chat=ChatFull, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v82/constructors/messages.chats.md b/old_docs/API_docs_v82/constructors/messages.chats.md new file mode 100644 index 00000000..9ede9ff2 --- /dev/null +++ b/old_docs/API_docs_v82/constructors/messages.chats.md @@ -0,0 +1,38 @@ +--- +title: messages.chats +description: List of chats with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.chats +[Back to constructors index](index.md) + + + +List of chats with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| + + + +### Type: [messages.Chats](../types/messages.Chats.md) + + +### Example: + +```php +$messages.chats = ['_' => 'messages.chats', 'chats' => [Chat, Chat]]; +``` + + +Or, if you're into Lua: + +```lua +messages.chats={_='messages.chats', chats={Chat}} + +``` + + diff --git a/old_docs/API_docs_v82/constructors/messages.chatsSlice.md b/old_docs/API_docs_v82/constructors/messages.chatsSlice.md new file mode 100644 index 00000000..efd153e0 --- /dev/null +++ b/old_docs/API_docs_v82/constructors/messages.chatsSlice.md @@ -0,0 +1,39 @@ +--- +title: messages.chatsSlice +description: Partial list of chats, more would have to be fetched with [pagination](https://core.telegram.org/api/offsets) +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.chatsSlice +[Back to constructors index](index.md) + + + +Partial list of chats, more would have to be fetched with [pagination](https://core.telegram.org/api/offsets) + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of results that were found server-side (not all are included in `chats`)| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| + + + +### Type: [messages.Chats](../types/messages.Chats.md) + + +### Example: + +```php +$messages.chatsSlice = ['_' => 'messages.chatsSlice', 'count' => int, 'chats' => [Chat, Chat]]; +``` + + +Or, if you're into Lua: + +```lua +messages.chatsSlice={_='messages.chatsSlice', count=int, chats={Chat}} + +``` + + diff --git a/old_docs/API_docs_v82/constructors/messages.dhConfig.md b/old_docs/API_docs_v82/constructors/messages.dhConfig.md new file mode 100644 index 00000000..58344f64 --- /dev/null +++ b/old_docs/API_docs_v82/constructors/messages.dhConfig.md @@ -0,0 +1,41 @@ +--- +title: messages.dhConfig +description: New set of configuring parameters. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dhConfig +[Back to constructors index](index.md) + + + +New set of configuring parameters. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|g|[int](../types/int.md) | Yes|New value **prime**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| +|p|[bytes](../types/bytes.md) | Yes|New value **primitive root**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| +|version|[int](../types/int.md) | Yes|Vestion of set of parameters| +|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| + + + +### Type: [messages.DhConfig](../types/messages.DhConfig.md) + + +### Example: + +```php +$messages.dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'version' => int, 'random' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +messages.dhConfig={_='messages.dhConfig', g=int, p='bytes', version=int, random='bytes'} + +``` + + diff --git a/old_docs/API_docs_v82/constructors/messages.dhConfigNotModified.md b/old_docs/API_docs_v82/constructors/messages.dhConfigNotModified.md new file mode 100644 index 00000000..a9a95389 --- /dev/null +++ b/old_docs/API_docs_v82/constructors/messages.dhConfigNotModified.md @@ -0,0 +1,38 @@ +--- +title: messages.dhConfigNotModified +description: Configuring parameters did not change. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dhConfigNotModified +[Back to constructors index](index.md) + + + +Configuring parameters did not change. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| + + + +### Type: [messages.DhConfig](../types/messages.DhConfig.md) + + +### Example: + +```php +$messages.dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +messages.dhConfigNotModified={_='messages.dhConfigNotModified', random='bytes'} + +``` + + diff --git a/old_docs/API_docs_v82/constructors/messages.dialogs.md b/old_docs/API_docs_v82/constructors/messages.dialogs.md new file mode 100644 index 00000000..a72eabce --- /dev/null +++ b/old_docs/API_docs_v82/constructors/messages.dialogs.md @@ -0,0 +1,41 @@ +--- +title: messages.dialogs +description: Full list of chats with messages and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dialogs +[Back to constructors index](index.md) + + + +Full list of chats with messages and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Dialogs](../types/messages.Dialogs.md) + + +### Example: + +```php +$messages.dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.dialogs={_='messages.dialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v82/constructors/messages.dialogsNotModified.md b/old_docs/API_docs_v82/constructors/messages.dialogsNotModified.md new file mode 100644 index 00000000..b4615516 --- /dev/null +++ b/old_docs/API_docs_v82/constructors/messages.dialogsNotModified.md @@ -0,0 +1,38 @@ +--- +title: messages.dialogsNotModified +description: Dialogs haven't changed +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dialogsNotModified +[Back to constructors index](index.md) + + + +Dialogs haven't changed + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Number of dialogs found server-side by the query| + + + +### Type: [messages.Dialogs](../types/messages.Dialogs.md) + + +### Example: + +```php +$messages.dialogsNotModified = ['_' => 'messages.dialogsNotModified', 'count' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.dialogsNotModified={_='messages.dialogsNotModified', count=int} + +``` + + diff --git a/old_docs/API_docs_v82/constructors/messages.dialogsSlice.md b/old_docs/API_docs_v82/constructors/messages.dialogsSlice.md new file mode 100644 index 00000000..26227d2c --- /dev/null +++ b/old_docs/API_docs_v82/constructors/messages.dialogsSlice.md @@ -0,0 +1,42 @@ +--- +title: messages.dialogsSlice +description: Incomplete list of dialogs with messages and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dialogsSlice +[Back to constructors index](index.md) + + + +Incomplete list of dialogs with messages and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of dialogs| +|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Dialogs](../types/messages.Dialogs.md) + + +### Example: + +```php +$messages.dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.dialogsSlice={_='messages.dialogsSlice', count=int, dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v82/constructors/messages.favedStickers.md b/old_docs/API_docs_v82/constructors/messages.favedStickers.md new file mode 100644 index 00000000..a5cfb7c9 --- /dev/null +++ b/old_docs/API_docs_v82/constructors/messages.favedStickers.md @@ -0,0 +1,40 @@ +--- +title: messages.favedStickers +description: Favorited stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.favedStickers +[Back to constructors index](index.md) + + + +Favorited stickers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|packs|Array of [StickerPack](../types/StickerPack.md) | Yes|Packs| +|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| + + + +### Type: [messages.FavedStickers](../types/messages.FavedStickers.md) + + +### Example: + +```php +$messages.favedStickers = ['_' => 'messages.favedStickers', 'hash' => int, 'packs' => [StickerPack, StickerPack], 'stickers' => [Document, Document]]; +``` + + +Or, if you're into Lua: + +```lua +messages.favedStickers={_='messages.favedStickers', hash=int, packs={StickerPack}, stickers={Document}} + +``` + + diff --git a/old_docs/API_docs_v82/constructors/messages.favedStickersNotModified.md b/old_docs/API_docs_v82/constructors/messages.favedStickersNotModified.md new file mode 100644 index 00000000..8723659e --- /dev/null +++ b/old_docs/API_docs_v82/constructors/messages.favedStickersNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.favedStickersNotModified +description: No new favorited stickers were found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.favedStickersNotModified +[Back to constructors index](index.md) + + + +No new favorited stickers were found + + + + +### Type: [messages.FavedStickers](../types/messages.FavedStickers.md) + + +### Example: + +```php +$messages.favedStickersNotModified = ['_' => 'messages.favedStickersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.favedStickersNotModified={_='messages.favedStickersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v82/constructors/messages.featuredStickers.md b/old_docs/API_docs_v82/constructors/messages.featuredStickers.md new file mode 100644 index 00000000..344376ea --- /dev/null +++ b/old_docs/API_docs_v82/constructors/messages.featuredStickers.md @@ -0,0 +1,40 @@ +--- +title: messages.featuredStickers +description: Featured stickersets +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.featuredStickers +[Back to constructors index](index.md) + + + +Featured stickersets + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| +|unread|Array of [long](../types/long.md) | Yes|Unread| + + + +### Type: [messages.FeaturedStickers](../types/messages.FeaturedStickers.md) + + +### Example: + +```php +$messages.featuredStickers = ['_' => 'messages.featuredStickers', 'hash' => int, 'sets' => [StickerSetCovered, StickerSetCovered], 'unread' => [long, long]]; +``` + + +Or, if you're into Lua: + +```lua +messages.featuredStickers={_='messages.featuredStickers', hash=int, sets={StickerSetCovered}, unread={long}} + +``` + + diff --git a/old_docs/API_docs_v82/constructors/messages.featuredStickersNotModified.md b/old_docs/API_docs_v82/constructors/messages.featuredStickersNotModified.md new file mode 100644 index 00000000..0fe9b4d5 --- /dev/null +++ b/old_docs/API_docs_v82/constructors/messages.featuredStickersNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.featuredStickersNotModified +description: Featured stickers haven't changed +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.featuredStickersNotModified +[Back to constructors index](index.md) + + + +Featured stickers haven't changed + + + + +### Type: [messages.FeaturedStickers](../types/messages.FeaturedStickers.md) + + +### Example: + +```php +$messages.featuredStickersNotModified = ['_' => 'messages.featuredStickersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.featuredStickersNotModified={_='messages.featuredStickersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v82/constructors/messages.foundGifs.md b/old_docs/API_docs_v82/constructors/messages.foundGifs.md new file mode 100644 index 00000000..c75e36f9 --- /dev/null +++ b/old_docs/API_docs_v82/constructors/messages.foundGifs.md @@ -0,0 +1,39 @@ +--- +title: messages.foundGifs +description: Found GIFs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.foundGifs +[Back to constructors index](index.md) + + + +Found GIFs + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|next\_offset|[int](../types/int.md) | Yes|Next offset to use when trying to [load more results](../methods/messages.searchGifs.md)| +|results|Array of [FoundGif](../types/FoundGif.md) | Yes|Results| + + + +### Type: [messages.FoundGifs](../types/messages.FoundGifs.md) + + +### Example: + +```php +$messages.foundGifs = ['_' => 'messages.foundGifs', 'next_offset' => int, 'results' => [FoundGif, FoundGif]]; +``` + + +Or, if you're into Lua: + +```lua +messages.foundGifs={_='messages.foundGifs', next_offset=int, results={FoundGif}} + +``` + + diff --git a/old_docs/API_docs_v82/constructors/messages.foundStickerSets.md b/old_docs/API_docs_v82/constructors/messages.foundStickerSets.md new file mode 100644 index 00000000..efc5201e --- /dev/null +++ b/old_docs/API_docs_v82/constructors/messages.foundStickerSets.md @@ -0,0 +1,39 @@ +--- +title: messages.foundStickerSets +description: Found stickersets +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.foundStickerSets +[Back to constructors index](index.md) + + + +Found stickersets + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| + + + +### Type: [messages.FoundStickerSets](../types/messages.FoundStickerSets.md) + + +### Example: + +```php +$messages.foundStickerSets = ['_' => 'messages.foundStickerSets', 'hash' => int, 'sets' => [StickerSetCovered, StickerSetCovered]]; +``` + + +Or, if you're into Lua: + +```lua +messages.foundStickerSets={_='messages.foundStickerSets', hash=int, sets={StickerSetCovered}} + +``` + + diff --git a/old_docs/API_docs_v82/constructors/messages.foundStickerSetsNotModified.md b/old_docs/API_docs_v82/constructors/messages.foundStickerSetsNotModified.md new file mode 100644 index 00000000..2902501a --- /dev/null +++ b/old_docs/API_docs_v82/constructors/messages.foundStickerSetsNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.foundStickerSetsNotModified +description: No further results were found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.foundStickerSetsNotModified +[Back to constructors index](index.md) + + + +No further results were found + + + + +### Type: [messages.FoundStickerSets](../types/messages.FoundStickerSets.md) + + +### Example: + +```php +$messages.foundStickerSetsNotModified = ['_' => 'messages.foundStickerSetsNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.foundStickerSetsNotModified={_='messages.foundStickerSetsNotModified'} + +``` + + diff --git a/old_docs/API_docs_v82/constructors/messages.highScores.md b/old_docs/API_docs_v82/constructors/messages.highScores.md new file mode 100644 index 00000000..d7d25826 --- /dev/null +++ b/old_docs/API_docs_v82/constructors/messages.highScores.md @@ -0,0 +1,39 @@ +--- +title: messages.highScores +description: Highscores in a game +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.highScores +[Back to constructors index](index.md) + + + +Highscores in a game + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|scores|Array of [HighScore](../types/HighScore.md) | Yes|Scores| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.HighScores](../types/messages.HighScores.md) + + +### Example: + +```php +$messages.highScores = ['_' => 'messages.highScores', 'scores' => [HighScore, HighScore], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.highScores={_='messages.highScores', scores={HighScore}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v82/constructors/messages.messageEditData.md b/old_docs/API_docs_v82/constructors/messages.messageEditData.md new file mode 100644 index 00000000..578b53d9 --- /dev/null +++ b/old_docs/API_docs_v82/constructors/messages.messageEditData.md @@ -0,0 +1,38 @@ +--- +title: messages.messageEditData +description: Message edit data for media +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.messageEditData +[Back to constructors index](index.md) + + + +Message edit data for media + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|caption|[Bool](../types/Bool.md) | Optional|Media caption, if the specified media's caption can be edited| + + + +### Type: [messages.MessageEditData](../types/messages.MessageEditData.md) + + +### Example: + +```php +$messages.messageEditData = ['_' => 'messages.messageEditData', 'caption' => Bool]; +``` + + +Or, if you're into Lua: + +```lua +messages.messageEditData={_='messages.messageEditData', caption=Bool} + +``` + + diff --git a/old_docs/API_docs_v82/constructors/messages.messages.md b/old_docs/API_docs_v82/constructors/messages.messages.md new file mode 100644 index 00000000..3af71dca --- /dev/null +++ b/old_docs/API_docs_v82/constructors/messages.messages.md @@ -0,0 +1,40 @@ +--- +title: messages.messages +description: Full list of messages with auxilary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.messages +[Back to constructors index](index.md) + + + +Full list of messages with auxilary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Messages](../types/messages.Messages.md) + + +### Example: + +```php +$messages.messages = ['_' => 'messages.messages', 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.messages={_='messages.messages', messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v82/constructors/messages.messagesNotModified.md b/old_docs/API_docs_v82/constructors/messages.messagesNotModified.md new file mode 100644 index 00000000..c4cb60ed --- /dev/null +++ b/old_docs/API_docs_v82/constructors/messages.messagesNotModified.md @@ -0,0 +1,38 @@ +--- +title: messages.messagesNotModified +description: No new messages matching the query were found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.messagesNotModified +[Back to constructors index](index.md) + + + +No new messages matching the query were found + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Number of results found server-side by the given query| + + + +### Type: [messages.Messages](../types/messages.Messages.md) + + +### Example: + +```php +$messages.messagesNotModified = ['_' => 'messages.messagesNotModified', 'count' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.messagesNotModified={_='messages.messagesNotModified', count=int} + +``` + + diff --git a/old_docs/API_docs_v82/constructors/messages.messagesSlice.md b/old_docs/API_docs_v82/constructors/messages.messagesSlice.md new file mode 100644 index 00000000..2fe91df0 --- /dev/null +++ b/old_docs/API_docs_v82/constructors/messages.messagesSlice.md @@ -0,0 +1,41 @@ +--- +title: messages.messagesSlice +description: Incomplete list of messages and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.messagesSlice +[Back to constructors index](index.md) + + + +Incomplete list of messages and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of messages in the list| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Messages](../types/messages.Messages.md) + + +### Example: + +```php +$messages.messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.messagesSlice={_='messages.messagesSlice', count=int, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v82/constructors/messages.peerDialogs.md b/old_docs/API_docs_v82/constructors/messages.peerDialogs.md new file mode 100644 index 00000000..39cb71f8 --- /dev/null +++ b/old_docs/API_docs_v82/constructors/messages.peerDialogs.md @@ -0,0 +1,42 @@ +--- +title: messages.peerDialogs +description: Dialog info of multiple peers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.peerDialogs +[Back to constructors index](index.md) + + + +Dialog info of multiple peers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| +|state|[updates.State](../constructors/updates.State.md) | Yes|Current [update state of dialog](https://core.telegram.org/api/updates)| + + + +### Type: [messages.PeerDialogs](../types/messages.PeerDialogs.md) + + +### Example: + +```php +$messages.peerDialogs = ['_' => 'messages.peerDialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates.State]; +``` + + +Or, if you're into Lua: + +```lua +messages.peerDialogs={_='messages.peerDialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}, state=updates.State} + +``` + + diff --git a/old_docs/API_docs_v82/constructors/messages.recentStickers.md b/old_docs/API_docs_v82/constructors/messages.recentStickers.md new file mode 100644 index 00000000..33e6c1ad --- /dev/null +++ b/old_docs/API_docs_v82/constructors/messages.recentStickers.md @@ -0,0 +1,41 @@ +--- +title: messages.recentStickers +description: Recently used stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.recentStickers +[Back to constructors index](index.md) + + + +Recently used stickers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|packs|Array of [StickerPack](../types/StickerPack.md) | Yes|Packs| +|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| +|dates|Array of [int](../types/int.md) | Yes|Dates| + + + +### Type: [messages.RecentStickers](../types/messages.RecentStickers.md) + + +### Example: + +```php +$messages.recentStickers = ['_' => 'messages.recentStickers', 'hash' => int, 'packs' => [StickerPack, StickerPack], 'stickers' => [Document, Document], 'dates' => [int, int]]; +``` + + +Or, if you're into Lua: + +```lua +messages.recentStickers={_='messages.recentStickers', hash=int, packs={StickerPack}, stickers={Document}, dates={int}} + +``` + + diff --git a/old_docs/API_docs_v82/constructors/messages.recentStickersNotModified.md b/old_docs/API_docs_v82/constructors/messages.recentStickersNotModified.md new file mode 100644 index 00000000..1c3bbf5c --- /dev/null +++ b/old_docs/API_docs_v82/constructors/messages.recentStickersNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.recentStickersNotModified +description: No new recent sticker was found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.recentStickersNotModified +[Back to constructors index](index.md) + + + +No new recent sticker was found + + + + +### Type: [messages.RecentStickers](../types/messages.RecentStickers.md) + + +### Example: + +```php +$messages.recentStickersNotModified = ['_' => 'messages.recentStickersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.recentStickersNotModified={_='messages.recentStickersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v82/constructors/messages.savedGifs.md b/old_docs/API_docs_v82/constructors/messages.savedGifs.md new file mode 100644 index 00000000..c82929a3 --- /dev/null +++ b/old_docs/API_docs_v82/constructors/messages.savedGifs.md @@ -0,0 +1,39 @@ +--- +title: messages.savedGifs +description: Saved gifs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.savedGifs +[Back to constructors index](index.md) + + + +Saved gifs + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|gifs|Array of [Document](../types/Document.md) | Yes|Gifs| + + + +### Type: [messages.SavedGifs](../types/messages.SavedGifs.md) + + +### Example: + +```php +$messages.savedGifs = ['_' => 'messages.savedGifs', 'hash' => int, 'gifs' => [Document, Document]]; +``` + + +Or, if you're into Lua: + +```lua +messages.savedGifs={_='messages.savedGifs', hash=int, gifs={Document}} + +``` + + diff --git a/old_docs/API_docs_v82/constructors/messages.savedGifsNotModified.md b/old_docs/API_docs_v82/constructors/messages.savedGifsNotModified.md new file mode 100644 index 00000000..0fbccacc --- /dev/null +++ b/old_docs/API_docs_v82/constructors/messages.savedGifsNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.savedGifsNotModified +description: No new saved gifs were found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.savedGifsNotModified +[Back to constructors index](index.md) + + + +No new saved gifs were found + + + + +### Type: [messages.SavedGifs](../types/messages.SavedGifs.md) + + +### Example: + +```php +$messages.savedGifsNotModified = ['_' => 'messages.savedGifsNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.savedGifsNotModified={_='messages.savedGifsNotModified'} + +``` + + diff --git a/old_docs/API_docs_v82/constructors/messages.sentEncryptedFile.md b/old_docs/API_docs_v82/constructors/messages.sentEncryptedFile.md new file mode 100644 index 00000000..1f0e43c6 --- /dev/null +++ b/old_docs/API_docs_v82/constructors/messages.sentEncryptedFile.md @@ -0,0 +1,39 @@ +--- +title: messages.sentEncryptedFile +description: Message with a file enclosure sent to a protected chat +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.sentEncryptedFile +[Back to constructors index](index.md) + + + +Message with a file enclosure sent to a protected chat + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Sending date| +|file|[EncryptedFile](../types/EncryptedFile.md) | Optional|Attached file| + + + +### Type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) + + +### Example: + +```php +$messages.sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile]; +``` + + +Or, if you're into Lua: + +```lua +messages.sentEncryptedFile={_='messages.sentEncryptedFile', date=int, file=EncryptedFile} + +``` + + diff --git a/old_docs/API_docs_v82/constructors/messages.sentEncryptedMessage.md b/old_docs/API_docs_v82/constructors/messages.sentEncryptedMessage.md new file mode 100644 index 00000000..3d5eb40c --- /dev/null +++ b/old_docs/API_docs_v82/constructors/messages.sentEncryptedMessage.md @@ -0,0 +1,38 @@ +--- +title: messages.sentEncryptedMessage +description: Message without file attachemts sent to an encrypted file. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.sentEncryptedMessage +[Back to constructors index](index.md) + + + +Message without file attachemts sent to an encrypted file. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Date of sending| + + + +### Type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) + + +### Example: + +```php +$messages.sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.sentEncryptedMessage={_='messages.sentEncryptedMessage', date=int} + +``` + + diff --git a/old_docs/API_docs_v82/constructors/messages.stickerSet.md b/old_docs/API_docs_v82/constructors/messages.stickerSet.md new file mode 100644 index 00000000..fbc154d0 --- /dev/null +++ b/old_docs/API_docs_v82/constructors/messages.stickerSet.md @@ -0,0 +1,40 @@ +--- +title: messages.stickerSet +description: Stickerset and stickers inside it +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickerSet +[Back to constructors index](index.md) + + + +Stickerset and stickers inside it + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|set|[StickerSet](../types/StickerSet.md) | Yes|The stickerset| +|packs|Array of [StickerPack](../types/StickerPack.md) | Yes|Packs| +|documents|Array of [Document](../types/Document.md) | Yes|Documents| + + + +### Type: [messages.StickerSet](../types/messages.StickerSet.md) + + +### Example: + +```php +$messages.stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'packs' => [StickerPack, StickerPack], 'documents' => [Document, Document]]; +``` + + +Or, if you're into Lua: + +```lua +messages.stickerSet={_='messages.stickerSet', set=StickerSet, packs={StickerPack}, documents={Document}} + +``` + + diff --git a/old_docs/API_docs_v82/constructors/messages.stickerSetInstallResultArchive.md b/old_docs/API_docs_v82/constructors/messages.stickerSetInstallResultArchive.md new file mode 100644 index 00000000..fefe2270 --- /dev/null +++ b/old_docs/API_docs_v82/constructors/messages.stickerSetInstallResultArchive.md @@ -0,0 +1,38 @@ +--- +title: messages.stickerSetInstallResultArchive +description: The stickerset was installed, but since there are too many stickersets some were archived +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickerSetInstallResultArchive +[Back to constructors index](index.md) + + + +The stickerset was installed, but since there are too many stickersets some were archived + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| + + + +### Type: [messages.StickerSetInstallResult](../types/messages.StickerSetInstallResult.md) + + +### Example: + +```php +$messages.stickerSetInstallResultArchive = ['_' => 'messages.stickerSetInstallResultArchive', 'sets' => [StickerSetCovered, StickerSetCovered]]; +``` + + +Or, if you're into Lua: + +```lua +messages.stickerSetInstallResultArchive={_='messages.stickerSetInstallResultArchive', sets={StickerSetCovered}} + +``` + + diff --git a/old_docs/API_docs_v82/constructors/messages.stickerSetInstallResultSuccess.md b/old_docs/API_docs_v82/constructors/messages.stickerSetInstallResultSuccess.md new file mode 100644 index 00000000..bbe8b961 --- /dev/null +++ b/old_docs/API_docs_v82/constructors/messages.stickerSetInstallResultSuccess.md @@ -0,0 +1,33 @@ +--- +title: messages.stickerSetInstallResultSuccess +description: The stickerset was installed successfully +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickerSetInstallResultSuccess +[Back to constructors index](index.md) + + + +The stickerset was installed successfully + + + + +### Type: [messages.StickerSetInstallResult](../types/messages.StickerSetInstallResult.md) + + +### Example: + +```php +$messages.stickerSetInstallResultSuccess = ['_' => 'messages.stickerSetInstallResultSuccess']; +``` + + +Or, if you're into Lua: + +```lua +messages.stickerSetInstallResultSuccess={_='messages.stickerSetInstallResultSuccess'} + +``` + + diff --git a/old_docs/API_docs_v82/constructors/messages.stickers.md b/old_docs/API_docs_v82/constructors/messages.stickers.md new file mode 100644 index 00000000..49ffea6a --- /dev/null +++ b/old_docs/API_docs_v82/constructors/messages.stickers.md @@ -0,0 +1,39 @@ +--- +title: messages.stickers +description: Found stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickers +[Back to constructors index](index.md) + + + +Found stickers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| + + + +### Type: [messages.Stickers](../types/messages.Stickers.md) + + +### Example: + +```php +$messages.stickers = ['_' => 'messages.stickers', 'hash' => int, 'stickers' => [Document, Document]]; +``` + + +Or, if you're into Lua: + +```lua +messages.stickers={_='messages.stickers', hash=int, stickers={Document}} + +``` + + diff --git a/old_docs/API_docs_v82/constructors/messages.stickersNotModified.md b/old_docs/API_docs_v82/constructors/messages.stickersNotModified.md new file mode 100644 index 00000000..e8c7766c --- /dev/null +++ b/old_docs/API_docs_v82/constructors/messages.stickersNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.stickersNotModified +description: No new stickers were found for the given query +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickersNotModified +[Back to constructors index](index.md) + + + +No new stickers were found for the given query + + + + +### Type: [messages.Stickers](../types/messages.Stickers.md) + + +### Example: + +```php +$messages.stickersNotModified = ['_' => 'messages.stickersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.stickersNotModified={_='messages.stickersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v82/constructors/messages_affectedHistory.md b/old_docs/API_docs_v82/constructors/messages_affectedHistory.md deleted file mode 100644 index 449a7e3f..00000000 --- a/old_docs/API_docs_v82/constructors/messages_affectedHistory.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.affectedHistory -description: Affected part of communication history with the user or in a chat. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.affectedHistory -[Back to constructors index](index.md) - - - -Affected part of communication history with the user or in a chat. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| -|pts\_count|[int](../types/int.md) | Yes|Number of affected events| -|offset|[int](../types/int.md) | Yes|If a parameter contains positive value, it is necessary to repeat the method call using the given value; during the proceeding of all the history the value itself shall gradually decrease| - - - -### Type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) - - -### Example: - -```php -$messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_affectedHistory={_='messages.affectedHistory', pts=int, pts_count=int, offset=int} - -``` - - diff --git a/old_docs/API_docs_v82/constructors/messages_affectedMessages.md b/old_docs/API_docs_v82/constructors/messages_affectedMessages.md deleted file mode 100644 index 86760581..00000000 --- a/old_docs/API_docs_v82/constructors/messages_affectedMessages.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.affectedMessages -description: Events affected by operation -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.affectedMessages -[Back to constructors index](index.md) - - - -Events affected by operation - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|[Event count after generation](https://core.telegram.org/api/updates)| -|pts\_count|[int](../types/int.md) | Yes|[Number of events that were generated](https://core.telegram.org/api/updates)| - - - -### Type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) - - -### Example: - -```php -$messages_affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_affectedMessages={_='messages.affectedMessages', pts=int, pts_count=int} - -``` - - diff --git a/old_docs/API_docs_v82/constructors/messages_allStickers.md b/old_docs/API_docs_v82/constructors/messages_allStickers.md deleted file mode 100644 index 2e64f46e..00000000 --- a/old_docs/API_docs_v82/constructors/messages_allStickers.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.allStickers -description: Info about all installed stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.allStickers -[Back to constructors index](index.md) - - - -Info about all installed stickers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|sets|Array of [StickerSet](../types/StickerSet.md) | Yes|Sets| - - - -### Type: [messages\_AllStickers](../types/messages_AllStickers.md) - - -### Example: - -```php -$messages_allStickers = ['_' => 'messages.allStickers', 'hash' => int, 'sets' => [StickerSet, StickerSet]]; -``` - - -Or, if you're into Lua: - -```lua -messages_allStickers={_='messages.allStickers', hash=int, sets={StickerSet}} - -``` - - diff --git a/old_docs/API_docs_v82/constructors/messages_allStickersNotModified.md b/old_docs/API_docs_v82/constructors/messages_allStickersNotModified.md deleted file mode 100644 index c4da85ab..00000000 --- a/old_docs/API_docs_v82/constructors/messages_allStickersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.allStickersNotModified -description: Info about all installed stickers hasn't changed -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.allStickersNotModified -[Back to constructors index](index.md) - - - -Info about all installed stickers hasn't changed - - - - -### Type: [messages\_AllStickers](../types/messages_AllStickers.md) - - -### Example: - -```php -$messages_allStickersNotModified = ['_' => 'messages.allStickersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_allStickersNotModified={_='messages.allStickersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v82/constructors/messages_archivedStickers.md b/old_docs/API_docs_v82/constructors/messages_archivedStickers.md deleted file mode 100644 index 6b28c885..00000000 --- a/old_docs/API_docs_v82/constructors/messages_archivedStickers.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.archivedStickers -description: Archived stickersets -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.archivedStickers -[Back to constructors index](index.md) - - - -Archived stickersets - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Number of archived stickers| -|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| - - - -### Type: [messages\_ArchivedStickers](../types/messages_ArchivedStickers.md) - - -### Example: - -```php -$messages_archivedStickers = ['_' => 'messages.archivedStickers', 'count' => int, 'sets' => [StickerSetCovered, StickerSetCovered]]; -``` - - -Or, if you're into Lua: - -```lua -messages_archivedStickers={_='messages.archivedStickers', count=int, sets={StickerSetCovered}} - -``` - - diff --git a/old_docs/API_docs_v82/constructors/messages_botCallbackAnswer.md b/old_docs/API_docs_v82/constructors/messages_botCallbackAnswer.md deleted file mode 100644 index e56f4b56..00000000 --- a/old_docs/API_docs_v82/constructors/messages_botCallbackAnswer.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: messages.botCallbackAnswer -description: Callback answer sent by the bot in response to a button press -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.botCallbackAnswer -[Back to constructors index](index.md) - - - -Callback answer sent by the bot in response to a button press - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|alert|[Bool](../types/Bool.md) | Optional|Whether an alert should be shown to the user instead of a toast notification| -|has\_url|[Bool](../types/Bool.md) | Optional|Whether an URL is present| -|native\_ui|[Bool](../types/Bool.md) | Optional|Whether to show games in WebView or in native UI.| -|message|[string](../types/string.md) | Optional|Alert to show| -|url|[string](../types/string.md) | Optional|URL to open| -|cache\_time|[int](../types/int.md) | Yes|For how long should this answer be cached| - - - -### Type: [messages\_BotCallbackAnswer](../types/messages_BotCallbackAnswer.md) - - -### Example: - -```php -$messages_botCallbackAnswer = ['_' => 'messages.botCallbackAnswer', 'alert' => Bool, 'has_url' => Bool, 'native_ui' => Bool, 'message' => 'string', 'url' => 'string', 'cache_time' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_botCallbackAnswer={_='messages.botCallbackAnswer', alert=Bool, has_url=Bool, native_ui=Bool, message='string', url='string', cache_time=int} - -``` - - diff --git a/old_docs/API_docs_v82/constructors/messages_botResults.md b/old_docs/API_docs_v82/constructors/messages_botResults.md deleted file mode 100644 index 19b9edf6..00000000 --- a/old_docs/API_docs_v82/constructors/messages_botResults.md +++ /dev/null @@ -1,44 +0,0 @@ ---- -title: messages.botResults -description: Result of a query to an inline bot -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.botResults -[Back to constructors index](index.md) - - - -Result of a query to an inline bot - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|gallery|[Bool](../types/Bool.md) | Optional|Whether the result is a picture gallery| -|query\_id|[long](../types/long.md) | Yes|Query ID| -|next\_offset|[string](../types/string.md) | Optional|The next offset to use when navigating through results| -|switch\_pm|[InlineBotSwitchPM](../types/InlineBotSwitchPM.md) | Optional|Whether the bot requested the user to message him in private| -|results|Array of [BotInlineResult](../types/BotInlineResult.md) | Yes|Results| -|cache\_time|[int](../types/int.md) | Yes|Caching validity of the results| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_BotResults](../types/messages_BotResults.md) - - -### Example: - -```php -$messages_botResults = ['_' => 'messages.botResults', 'gallery' => Bool, 'query_id' => long, 'next_offset' => 'string', 'switch_pm' => InlineBotSwitchPM, 'results' => [BotInlineResult, BotInlineResult], 'cache_time' => int, 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_botResults={_='messages.botResults', gallery=Bool, query_id=long, next_offset='string', switch_pm=InlineBotSwitchPM, results={BotInlineResult}, cache_time=int, users={User}} - -``` - - diff --git a/old_docs/API_docs_v82/constructors/messages_channelMessages.md b/old_docs/API_docs_v82/constructors/messages_channelMessages.md deleted file mode 100644 index 12cdb9cd..00000000 --- a/old_docs/API_docs_v82/constructors/messages_channelMessages.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: messages.channelMessages -description: Channel messages -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.channelMessages -[Back to constructors index](index.md) - - - -Channel messages - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|[Event count after generation](https://core.telegram.org/api/updates)| -|count|[int](../types/int.md) | Yes|Total number of results were found server-side (may not be all included here)| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Messages](../types/messages_Messages.md) - - -### Example: - -```php -$messages_channelMessages = ['_' => 'messages.channelMessages', 'pts' => int, 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_channelMessages={_='messages.channelMessages', pts=int, count=int, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v82/constructors/messages_chatFull.md b/old_docs/API_docs_v82/constructors/messages_chatFull.md deleted file mode 100644 index 02f1acdf..00000000 --- a/old_docs/API_docs_v82/constructors/messages_chatFull.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.chatFull -description: Extended info on chat and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.chatFull -[Back to constructors index](index.md) - - - -Extended info on chat and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|full\_chat|[ChatFull](../types/ChatFull.md) | Yes|Extended info on a chat| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_ChatFull](../types/messages_ChatFull.md) - - -### Example: - -```php -$messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_chatFull={_='messages.chatFull', full_chat=ChatFull, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v82/constructors/messages_chats.md b/old_docs/API_docs_v82/constructors/messages_chats.md deleted file mode 100644 index ef3690a9..00000000 --- a/old_docs/API_docs_v82/constructors/messages_chats.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.chats -description: List of chats with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.chats -[Back to constructors index](index.md) - - - -List of chats with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| - - - -### Type: [messages\_Chats](../types/messages_Chats.md) - - -### Example: - -```php -$messages_chats = ['_' => 'messages.chats', 'chats' => [Chat, Chat]]; -``` - - -Or, if you're into Lua: - -```lua -messages_chats={_='messages.chats', chats={Chat}} - -``` - - diff --git a/old_docs/API_docs_v82/constructors/messages_chatsSlice.md b/old_docs/API_docs_v82/constructors/messages_chatsSlice.md deleted file mode 100644 index f19c4357..00000000 --- a/old_docs/API_docs_v82/constructors/messages_chatsSlice.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.chatsSlice -description: Partial list of chats, more would have to be fetched with [pagination](https://core.telegram.org/api/offsets) -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.chatsSlice -[Back to constructors index](index.md) - - - -Partial list of chats, more would have to be fetched with [pagination](https://core.telegram.org/api/offsets) - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of results that were found server-side (not all are included in `chats`)| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| - - - -### Type: [messages\_Chats](../types/messages_Chats.md) - - -### Example: - -```php -$messages_chatsSlice = ['_' => 'messages.chatsSlice', 'count' => int, 'chats' => [Chat, Chat]]; -``` - - -Or, if you're into Lua: - -```lua -messages_chatsSlice={_='messages.chatsSlice', count=int, chats={Chat}} - -``` - - diff --git a/old_docs/API_docs_v82/constructors/messages_dhConfig.md b/old_docs/API_docs_v82/constructors/messages_dhConfig.md deleted file mode 100644 index 42c2feb1..00000000 --- a/old_docs/API_docs_v82/constructors/messages_dhConfig.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: messages.dhConfig -description: New set of configuring parameters. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dhConfig -[Back to constructors index](index.md) - - - -New set of configuring parameters. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|g|[int](../types/int.md) | Yes|New value **prime**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| -|p|[bytes](../types/bytes.md) | Yes|New value **primitive root**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| -|version|[int](../types/int.md) | Yes|Vestion of set of parameters| -|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| - - - -### Type: [messages\_DhConfig](../types/messages_DhConfig.md) - - -### Example: - -```php -$messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'version' => int, 'random' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -messages_dhConfig={_='messages.dhConfig', g=int, p='bytes', version=int, random='bytes'} - -``` - - diff --git a/old_docs/API_docs_v82/constructors/messages_dhConfigNotModified.md b/old_docs/API_docs_v82/constructors/messages_dhConfigNotModified.md deleted file mode 100644 index 5bf64230..00000000 --- a/old_docs/API_docs_v82/constructors/messages_dhConfigNotModified.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.dhConfigNotModified -description: Configuring parameters did not change. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dhConfigNotModified -[Back to constructors index](index.md) - - - -Configuring parameters did not change. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| - - - -### Type: [messages\_DhConfig](../types/messages_DhConfig.md) - - -### Example: - -```php -$messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -messages_dhConfigNotModified={_='messages.dhConfigNotModified', random='bytes'} - -``` - - diff --git a/old_docs/API_docs_v82/constructors/messages_dialogs.md b/old_docs/API_docs_v82/constructors/messages_dialogs.md deleted file mode 100644 index e6a431b4..00000000 --- a/old_docs/API_docs_v82/constructors/messages_dialogs.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: messages.dialogs -description: Full list of chats with messages and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dialogs -[Back to constructors index](index.md) - - - -Full list of chats with messages and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Dialogs](../types/messages_Dialogs.md) - - -### Example: - -```php -$messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_dialogs={_='messages.dialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v82/constructors/messages_dialogsNotModified.md b/old_docs/API_docs_v82/constructors/messages_dialogsNotModified.md deleted file mode 100644 index 16a32b2e..00000000 --- a/old_docs/API_docs_v82/constructors/messages_dialogsNotModified.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.dialogsNotModified -description: Dialogs haven't changed -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dialogsNotModified -[Back to constructors index](index.md) - - - -Dialogs haven't changed - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Number of dialogs found server-side by the query| - - - -### Type: [messages\_Dialogs](../types/messages_Dialogs.md) - - -### Example: - -```php -$messages_dialogsNotModified = ['_' => 'messages.dialogsNotModified', 'count' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_dialogsNotModified={_='messages.dialogsNotModified', count=int} - -``` - - diff --git a/old_docs/API_docs_v82/constructors/messages_dialogsSlice.md b/old_docs/API_docs_v82/constructors/messages_dialogsSlice.md deleted file mode 100644 index f183b9a8..00000000 --- a/old_docs/API_docs_v82/constructors/messages_dialogsSlice.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: messages.dialogsSlice -description: Incomplete list of dialogs with messages and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dialogsSlice -[Back to constructors index](index.md) - - - -Incomplete list of dialogs with messages and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of dialogs| -|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Dialogs](../types/messages_Dialogs.md) - - -### Example: - -```php -$messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_dialogsSlice={_='messages.dialogsSlice', count=int, dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v82/constructors/messages_favedStickers.md b/old_docs/API_docs_v82/constructors/messages_favedStickers.md deleted file mode 100644 index 72d79df2..00000000 --- a/old_docs/API_docs_v82/constructors/messages_favedStickers.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.favedStickers -description: Favorited stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.favedStickers -[Back to constructors index](index.md) - - - -Favorited stickers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|packs|Array of [StickerPack](../types/StickerPack.md) | Yes|Packs| -|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| - - - -### Type: [messages\_FavedStickers](../types/messages_FavedStickers.md) - - -### Example: - -```php -$messages_favedStickers = ['_' => 'messages.favedStickers', 'hash' => int, 'packs' => [StickerPack, StickerPack], 'stickers' => [Document, Document]]; -``` - - -Or, if you're into Lua: - -```lua -messages_favedStickers={_='messages.favedStickers', hash=int, packs={StickerPack}, stickers={Document}} - -``` - - diff --git a/old_docs/API_docs_v82/constructors/messages_favedStickersNotModified.md b/old_docs/API_docs_v82/constructors/messages_favedStickersNotModified.md deleted file mode 100644 index a47c08e8..00000000 --- a/old_docs/API_docs_v82/constructors/messages_favedStickersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.favedStickersNotModified -description: No new favorited stickers were found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.favedStickersNotModified -[Back to constructors index](index.md) - - - -No new favorited stickers were found - - - - -### Type: [messages\_FavedStickers](../types/messages_FavedStickers.md) - - -### Example: - -```php -$messages_favedStickersNotModified = ['_' => 'messages.favedStickersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_favedStickersNotModified={_='messages.favedStickersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v82/constructors/messages_featuredStickers.md b/old_docs/API_docs_v82/constructors/messages_featuredStickers.md deleted file mode 100644 index 8ef1046e..00000000 --- a/old_docs/API_docs_v82/constructors/messages_featuredStickers.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.featuredStickers -description: Featured stickersets -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.featuredStickers -[Back to constructors index](index.md) - - - -Featured stickersets - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| -|unread|Array of [long](../types/long.md) | Yes|Unread| - - - -### Type: [messages\_FeaturedStickers](../types/messages_FeaturedStickers.md) - - -### Example: - -```php -$messages_featuredStickers = ['_' => 'messages.featuredStickers', 'hash' => int, 'sets' => [StickerSetCovered, StickerSetCovered], 'unread' => [long, long]]; -``` - - -Or, if you're into Lua: - -```lua -messages_featuredStickers={_='messages.featuredStickers', hash=int, sets={StickerSetCovered}, unread={long}} - -``` - - diff --git a/old_docs/API_docs_v82/constructors/messages_featuredStickersNotModified.md b/old_docs/API_docs_v82/constructors/messages_featuredStickersNotModified.md deleted file mode 100644 index de01131b..00000000 --- a/old_docs/API_docs_v82/constructors/messages_featuredStickersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.featuredStickersNotModified -description: Featured stickers haven't changed -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.featuredStickersNotModified -[Back to constructors index](index.md) - - - -Featured stickers haven't changed - - - - -### Type: [messages\_FeaturedStickers](../types/messages_FeaturedStickers.md) - - -### Example: - -```php -$messages_featuredStickersNotModified = ['_' => 'messages.featuredStickersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_featuredStickersNotModified={_='messages.featuredStickersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v82/constructors/messages_foundGifs.md b/old_docs/API_docs_v82/constructors/messages_foundGifs.md deleted file mode 100644 index eb3603ca..00000000 --- a/old_docs/API_docs_v82/constructors/messages_foundGifs.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.foundGifs -description: Found GIFs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.foundGifs -[Back to constructors index](index.md) - - - -Found GIFs - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|next\_offset|[int](../types/int.md) | Yes|Next offset to use when trying to [load more results](../methods/messages.searchGifs.md)| -|results|Array of [FoundGif](../types/FoundGif.md) | Yes|Results| - - - -### Type: [messages\_FoundGifs](../types/messages_FoundGifs.md) - - -### Example: - -```php -$messages_foundGifs = ['_' => 'messages.foundGifs', 'next_offset' => int, 'results' => [FoundGif, FoundGif]]; -``` - - -Or, if you're into Lua: - -```lua -messages_foundGifs={_='messages.foundGifs', next_offset=int, results={FoundGif}} - -``` - - diff --git a/old_docs/API_docs_v82/constructors/messages_foundStickerSets.md b/old_docs/API_docs_v82/constructors/messages_foundStickerSets.md deleted file mode 100644 index 356177e1..00000000 --- a/old_docs/API_docs_v82/constructors/messages_foundStickerSets.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.foundStickerSets -description: Found stickersets -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.foundStickerSets -[Back to constructors index](index.md) - - - -Found stickersets - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| - - - -### Type: [messages\_FoundStickerSets](../types/messages_FoundStickerSets.md) - - -### Example: - -```php -$messages_foundStickerSets = ['_' => 'messages.foundStickerSets', 'hash' => int, 'sets' => [StickerSetCovered, StickerSetCovered]]; -``` - - -Or, if you're into Lua: - -```lua -messages_foundStickerSets={_='messages.foundStickerSets', hash=int, sets={StickerSetCovered}} - -``` - - diff --git a/old_docs/API_docs_v82/constructors/messages_foundStickerSetsNotModified.md b/old_docs/API_docs_v82/constructors/messages_foundStickerSetsNotModified.md deleted file mode 100644 index c1f39490..00000000 --- a/old_docs/API_docs_v82/constructors/messages_foundStickerSetsNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.foundStickerSetsNotModified -description: No further results were found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.foundStickerSetsNotModified -[Back to constructors index](index.md) - - - -No further results were found - - - - -### Type: [messages\_FoundStickerSets](../types/messages_FoundStickerSets.md) - - -### Example: - -```php -$messages_foundStickerSetsNotModified = ['_' => 'messages.foundStickerSetsNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_foundStickerSetsNotModified={_='messages.foundStickerSetsNotModified'} - -``` - - diff --git a/old_docs/API_docs_v82/constructors/messages_highScores.md b/old_docs/API_docs_v82/constructors/messages_highScores.md deleted file mode 100644 index d6fc5210..00000000 --- a/old_docs/API_docs_v82/constructors/messages_highScores.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.highScores -description: Highscores in a game -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.highScores -[Back to constructors index](index.md) - - - -Highscores in a game - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|scores|Array of [HighScore](../types/HighScore.md) | Yes|Scores| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_HighScores](../types/messages_HighScores.md) - - -### Example: - -```php -$messages_highScores = ['_' => 'messages.highScores', 'scores' => [HighScore, HighScore], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_highScores={_='messages.highScores', scores={HighScore}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v82/constructors/messages_messageEditData.md b/old_docs/API_docs_v82/constructors/messages_messageEditData.md deleted file mode 100644 index 76aefca5..00000000 --- a/old_docs/API_docs_v82/constructors/messages_messageEditData.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.messageEditData -description: Message edit data for media -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.messageEditData -[Back to constructors index](index.md) - - - -Message edit data for media - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|caption|[Bool](../types/Bool.md) | Optional|Media caption, if the specified media's caption can be edited| - - - -### Type: [messages\_MessageEditData](../types/messages_MessageEditData.md) - - -### Example: - -```php -$messages_messageEditData = ['_' => 'messages.messageEditData', 'caption' => Bool]; -``` - - -Or, if you're into Lua: - -```lua -messages_messageEditData={_='messages.messageEditData', caption=Bool} - -``` - - diff --git a/old_docs/API_docs_v82/constructors/messages_messages.md b/old_docs/API_docs_v82/constructors/messages_messages.md deleted file mode 100644 index 3e369e1a..00000000 --- a/old_docs/API_docs_v82/constructors/messages_messages.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.messages -description: Full list of messages with auxilary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.messages -[Back to constructors index](index.md) - - - -Full list of messages with auxilary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Messages](../types/messages_Messages.md) - - -### Example: - -```php -$messages_messages = ['_' => 'messages.messages', 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_messages={_='messages.messages', messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v82/constructors/messages_messagesNotModified.md b/old_docs/API_docs_v82/constructors/messages_messagesNotModified.md deleted file mode 100644 index 2e9c4ad9..00000000 --- a/old_docs/API_docs_v82/constructors/messages_messagesNotModified.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.messagesNotModified -description: No new messages matching the query were found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.messagesNotModified -[Back to constructors index](index.md) - - - -No new messages matching the query were found - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Number of results found server-side by the given query| - - - -### Type: [messages\_Messages](../types/messages_Messages.md) - - -### Example: - -```php -$messages_messagesNotModified = ['_' => 'messages.messagesNotModified', 'count' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_messagesNotModified={_='messages.messagesNotModified', count=int} - -``` - - diff --git a/old_docs/API_docs_v82/constructors/messages_messagesSlice.md b/old_docs/API_docs_v82/constructors/messages_messagesSlice.md deleted file mode 100644 index f9b8dc18..00000000 --- a/old_docs/API_docs_v82/constructors/messages_messagesSlice.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: messages.messagesSlice -description: Incomplete list of messages and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.messagesSlice -[Back to constructors index](index.md) - - - -Incomplete list of messages and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of messages in the list| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Messages](../types/messages_Messages.md) - - -### Example: - -```php -$messages_messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_messagesSlice={_='messages.messagesSlice', count=int, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v82/constructors/messages_peerDialogs.md b/old_docs/API_docs_v82/constructors/messages_peerDialogs.md deleted file mode 100644 index 29b4b842..00000000 --- a/old_docs/API_docs_v82/constructors/messages_peerDialogs.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: messages.peerDialogs -description: Dialog info of multiple peers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.peerDialogs -[Back to constructors index](index.md) - - - -Dialog info of multiple peers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| -|state|[updates\_State](../types/updates_State.md) | Yes|Current [update state of dialog](https://core.telegram.org/api/updates)| - - - -### Type: [messages\_PeerDialogs](../types/messages_PeerDialogs.md) - - -### Example: - -```php -$messages_peerDialogs = ['_' => 'messages.peerDialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates_State]; -``` - - -Or, if you're into Lua: - -```lua -messages_peerDialogs={_='messages.peerDialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}, state=updates_State} - -``` - - diff --git a/old_docs/API_docs_v82/constructors/messages_recentStickers.md b/old_docs/API_docs_v82/constructors/messages_recentStickers.md deleted file mode 100644 index 47d5cffd..00000000 --- a/old_docs/API_docs_v82/constructors/messages_recentStickers.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: messages.recentStickers -description: Recently used stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.recentStickers -[Back to constructors index](index.md) - - - -Recently used stickers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|packs|Array of [StickerPack](../types/StickerPack.md) | Yes|Packs| -|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| -|dates|Array of [int](../types/int.md) | Yes|Dates| - - - -### Type: [messages\_RecentStickers](../types/messages_RecentStickers.md) - - -### Example: - -```php -$messages_recentStickers = ['_' => 'messages.recentStickers', 'hash' => int, 'packs' => [StickerPack, StickerPack], 'stickers' => [Document, Document], 'dates' => [int, int]]; -``` - - -Or, if you're into Lua: - -```lua -messages_recentStickers={_='messages.recentStickers', hash=int, packs={StickerPack}, stickers={Document}, dates={int}} - -``` - - diff --git a/old_docs/API_docs_v82/constructors/messages_recentStickersNotModified.md b/old_docs/API_docs_v82/constructors/messages_recentStickersNotModified.md deleted file mode 100644 index 3e81dceb..00000000 --- a/old_docs/API_docs_v82/constructors/messages_recentStickersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.recentStickersNotModified -description: No new recent sticker was found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.recentStickersNotModified -[Back to constructors index](index.md) - - - -No new recent sticker was found - - - - -### Type: [messages\_RecentStickers](../types/messages_RecentStickers.md) - - -### Example: - -```php -$messages_recentStickersNotModified = ['_' => 'messages.recentStickersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_recentStickersNotModified={_='messages.recentStickersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v82/constructors/messages_savedGifs.md b/old_docs/API_docs_v82/constructors/messages_savedGifs.md deleted file mode 100644 index ed3e8ea3..00000000 --- a/old_docs/API_docs_v82/constructors/messages_savedGifs.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.savedGifs -description: Saved gifs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.savedGifs -[Back to constructors index](index.md) - - - -Saved gifs - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|gifs|Array of [Document](../types/Document.md) | Yes|Gifs| - - - -### Type: [messages\_SavedGifs](../types/messages_SavedGifs.md) - - -### Example: - -```php -$messages_savedGifs = ['_' => 'messages.savedGifs', 'hash' => int, 'gifs' => [Document, Document]]; -``` - - -Or, if you're into Lua: - -```lua -messages_savedGifs={_='messages.savedGifs', hash=int, gifs={Document}} - -``` - - diff --git a/old_docs/API_docs_v82/constructors/messages_savedGifsNotModified.md b/old_docs/API_docs_v82/constructors/messages_savedGifsNotModified.md deleted file mode 100644 index 0f843a0c..00000000 --- a/old_docs/API_docs_v82/constructors/messages_savedGifsNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.savedGifsNotModified -description: No new saved gifs were found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.savedGifsNotModified -[Back to constructors index](index.md) - - - -No new saved gifs were found - - - - -### Type: [messages\_SavedGifs](../types/messages_SavedGifs.md) - - -### Example: - -```php -$messages_savedGifsNotModified = ['_' => 'messages.savedGifsNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_savedGifsNotModified={_='messages.savedGifsNotModified'} - -``` - - diff --git a/old_docs/API_docs_v82/constructors/messages_sentEncryptedFile.md b/old_docs/API_docs_v82/constructors/messages_sentEncryptedFile.md deleted file mode 100644 index fdc2a11e..00000000 --- a/old_docs/API_docs_v82/constructors/messages_sentEncryptedFile.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.sentEncryptedFile -description: Message with a file enclosure sent to a protected chat -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.sentEncryptedFile -[Back to constructors index](index.md) - - - -Message with a file enclosure sent to a protected chat - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Sending date| -|file|[EncryptedFile](../types/EncryptedFile.md) | Optional|Attached file| - - - -### Type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) - - -### Example: - -```php -$messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile]; -``` - - -Or, if you're into Lua: - -```lua -messages_sentEncryptedFile={_='messages.sentEncryptedFile', date=int, file=EncryptedFile} - -``` - - diff --git a/old_docs/API_docs_v82/constructors/messages_sentEncryptedMessage.md b/old_docs/API_docs_v82/constructors/messages_sentEncryptedMessage.md deleted file mode 100644 index 36b2bbff..00000000 --- a/old_docs/API_docs_v82/constructors/messages_sentEncryptedMessage.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.sentEncryptedMessage -description: Message without file attachemts sent to an encrypted file. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.sentEncryptedMessage -[Back to constructors index](index.md) - - - -Message without file attachemts sent to an encrypted file. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Date of sending| - - - -### Type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) - - -### Example: - -```php -$messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_sentEncryptedMessage={_='messages.sentEncryptedMessage', date=int} - -``` - - diff --git a/old_docs/API_docs_v82/constructors/messages_stickerSet.md b/old_docs/API_docs_v82/constructors/messages_stickerSet.md deleted file mode 100644 index 127191de..00000000 --- a/old_docs/API_docs_v82/constructors/messages_stickerSet.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.stickerSet -description: Stickerset and stickers inside it -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickerSet -[Back to constructors index](index.md) - - - -Stickerset and stickers inside it - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|set|[StickerSet](../types/StickerSet.md) | Yes|The stickerset| -|packs|Array of [StickerPack](../types/StickerPack.md) | Yes|Packs| -|documents|Array of [Document](../types/Document.md) | Yes|Documents| - - - -### Type: [messages\_StickerSet](../types/messages_StickerSet.md) - - -### Example: - -```php -$messages_stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'packs' => [StickerPack, StickerPack], 'documents' => [Document, Document]]; -``` - - -Or, if you're into Lua: - -```lua -messages_stickerSet={_='messages.stickerSet', set=StickerSet, packs={StickerPack}, documents={Document}} - -``` - - diff --git a/old_docs/API_docs_v82/constructors/messages_stickerSetInstallResultArchive.md b/old_docs/API_docs_v82/constructors/messages_stickerSetInstallResultArchive.md deleted file mode 100644 index 8a5f4d5d..00000000 --- a/old_docs/API_docs_v82/constructors/messages_stickerSetInstallResultArchive.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.stickerSetInstallResultArchive -description: The stickerset was installed, but since there are too many stickersets some were archived -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickerSetInstallResultArchive -[Back to constructors index](index.md) - - - -The stickerset was installed, but since there are too many stickersets some were archived - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| - - - -### Type: [messages\_StickerSetInstallResult](../types/messages_StickerSetInstallResult.md) - - -### Example: - -```php -$messages_stickerSetInstallResultArchive = ['_' => 'messages.stickerSetInstallResultArchive', 'sets' => [StickerSetCovered, StickerSetCovered]]; -``` - - -Or, if you're into Lua: - -```lua -messages_stickerSetInstallResultArchive={_='messages.stickerSetInstallResultArchive', sets={StickerSetCovered}} - -``` - - diff --git a/old_docs/API_docs_v82/constructors/messages_stickerSetInstallResultSuccess.md b/old_docs/API_docs_v82/constructors/messages_stickerSetInstallResultSuccess.md deleted file mode 100644 index 1d33b89f..00000000 --- a/old_docs/API_docs_v82/constructors/messages_stickerSetInstallResultSuccess.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.stickerSetInstallResultSuccess -description: The stickerset was installed successfully -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickerSetInstallResultSuccess -[Back to constructors index](index.md) - - - -The stickerset was installed successfully - - - - -### Type: [messages\_StickerSetInstallResult](../types/messages_StickerSetInstallResult.md) - - -### Example: - -```php -$messages_stickerSetInstallResultSuccess = ['_' => 'messages.stickerSetInstallResultSuccess']; -``` - - -Or, if you're into Lua: - -```lua -messages_stickerSetInstallResultSuccess={_='messages.stickerSetInstallResultSuccess'} - -``` - - diff --git a/old_docs/API_docs_v82/constructors/messages_stickers.md b/old_docs/API_docs_v82/constructors/messages_stickers.md deleted file mode 100644 index c321996b..00000000 --- a/old_docs/API_docs_v82/constructors/messages_stickers.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.stickers -description: Found stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickers -[Back to constructors index](index.md) - - - -Found stickers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| - - - -### Type: [messages\_Stickers](../types/messages_Stickers.md) - - -### Example: - -```php -$messages_stickers = ['_' => 'messages.stickers', 'hash' => int, 'stickers' => [Document, Document]]; -``` - - -Or, if you're into Lua: - -```lua -messages_stickers={_='messages.stickers', hash=int, stickers={Document}} - -``` - - diff --git a/old_docs/API_docs_v82/constructors/messages_stickersNotModified.md b/old_docs/API_docs_v82/constructors/messages_stickersNotModified.md deleted file mode 100644 index 3d434a79..00000000 --- a/old_docs/API_docs_v82/constructors/messages_stickersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.stickersNotModified -description: No new stickers were found for the given query -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickersNotModified -[Back to constructors index](index.md) - - - -No new stickers were found for the given query - - - - -### Type: [messages\_Stickers](../types/messages_Stickers.md) - - -### Example: - -```php -$messages_stickersNotModified = ['_' => 'messages.stickersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_stickersNotModified={_='messages.stickersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v82/constructors/payments.paymentForm.md b/old_docs/API_docs_v82/constructors/payments.paymentForm.md new file mode 100644 index 00000000..90e0f39d --- /dev/null +++ b/old_docs/API_docs_v82/constructors/payments.paymentForm.md @@ -0,0 +1,48 @@ +--- +title: payments.paymentForm +description: Payment form +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: payments.paymentForm +[Back to constructors index](index.md) + + + +Payment form + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|can\_save\_credentials|[Bool](../types/Bool.md) | Optional|Whether the user can choose to save credentials.| +|password\_missing|[Bool](../types/Bool.md) | Optional|Indicates that the user can save payment credentials, but only after setting up a [2FA password](https://core.telegram.org/api/srp) (currently the account doesn't have a [2FA password](https://core.telegram.org/api/srp))| +|bot\_id|[int](../types/int.md) | Yes|Bot ID| +|invoice|[Invoice](../types/Invoice.md) | Yes|Invoice| +|provider\_id|[int](../types/int.md) | Yes|Payment provider ID.| +|url|[string](../types/string.md) | Yes|Payment form URL| +|native\_provider|[string](../types/string.md) | Optional|Payment provider name.
One of the following:
\- `stripe`| +|native\_params|[DataJSON](../types/DataJSON.md) | Optional|Contains information about the payment provider, if available, to support it natively without the need for opening the URL.
A JSON object that can contain the following fields:

\- `publishable_key`: Stripe API publishable key
\- `apple_pay_merchant_id`: Apple Pay merchant ID
\- `android_pay_public_key`: Android Pay public key
\- `android_pay_bgcolor`: Android Pay form background color
\- `android_pay_inverse`: Whether to use the dark theme in the Android Pay form
\- `need_country`: True, if the user country must be provided,
\- `need_zip`: True, if the user ZIP/postal code must be provided,
\- `need_cardholder_name`: True, if the cardholder name must be provided
| +|saved\_info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Optional|Saved server-side order information| +|saved\_credentials|[PaymentSavedCredentials](../types/PaymentSavedCredentials.md) | Optional|Contains information about saved card credentials| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [payments.PaymentForm](../types/payments.PaymentForm.md) + + +### Example: + +```php +$payments.paymentForm = ['_' => 'payments.paymentForm', 'can_save_credentials' => Bool, 'password_missing' => Bool, 'bot_id' => int, 'invoice' => Invoice, 'provider_id' => int, 'url' => 'string', 'native_provider' => 'string', 'native_params' => DataJSON, 'saved_info' => PaymentRequestedInfo, 'saved_credentials' => PaymentSavedCredentials, 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +payments.paymentForm={_='payments.paymentForm', can_save_credentials=Bool, password_missing=Bool, bot_id=int, invoice=Invoice, provider_id=int, url='string', native_provider='string', native_params=DataJSON, saved_info=PaymentRequestedInfo, saved_credentials=PaymentSavedCredentials, users={User}} + +``` + + diff --git a/old_docs/API_docs_v82/constructors/payments.paymentReceipt.md b/old_docs/API_docs_v82/constructors/payments.paymentReceipt.md new file mode 100644 index 00000000..5a0cc190 --- /dev/null +++ b/old_docs/API_docs_v82/constructors/payments.paymentReceipt.md @@ -0,0 +1,47 @@ +--- +title: payments.paymentReceipt +description: Receipt +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: payments.paymentReceipt +[Back to constructors index](index.md) + + + +Receipt + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Date of generation| +|bot\_id|[int](../types/int.md) | Yes|Bot ID| +|invoice|[Invoice](../types/Invoice.md) | Yes|Invoice| +|provider\_id|[int](../types/int.md) | Yes|Provider ID| +|info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Optional|Info| +|shipping|[ShippingOption](../types/ShippingOption.md) | Optional|Selected shipping option| +|currency|[string](../types/string.md) | Yes|Three-letter ISO 4217 [currency](https://core.telegram.org/bots/payments#supported-currencies) code| +|total\_amount|[long](../types/long.md) | Yes|Total amount in the smallest units of the currency (integer, not float/double). For example, for a price of `US$ 1.45` pass `amount = 145`. See the exp parameter in [currencies.json](https://core.telegram.org/bots/payments/currencies.json), it shows the number of digits past the decimal point for each currency (2 for the majority of currencies).| +|credentials\_title|[string](../types/string.md) | Yes|Payment credential name| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [payments.PaymentReceipt](../types/payments.PaymentReceipt.md) + + +### Example: + +```php +$payments.paymentReceipt = ['_' => 'payments.paymentReceipt', 'date' => int, 'bot_id' => int, 'invoice' => Invoice, 'provider_id' => int, 'info' => PaymentRequestedInfo, 'shipping' => ShippingOption, 'currency' => 'string', 'total_amount' => long, 'credentials_title' => 'string', 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +payments.paymentReceipt={_='payments.paymentReceipt', date=int, bot_id=int, invoice=Invoice, provider_id=int, info=PaymentRequestedInfo, shipping=ShippingOption, currency='string', total_amount=long, credentials_title='string', users={User}} + +``` + + diff --git a/old_docs/API_docs_v82/constructors/payments.paymentResult.md b/old_docs/API_docs_v82/constructors/payments.paymentResult.md new file mode 100644 index 00000000..df32fd91 --- /dev/null +++ b/old_docs/API_docs_v82/constructors/payments.paymentResult.md @@ -0,0 +1,38 @@ +--- +title: payments.paymentResult +description: Payment result +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: payments.paymentResult +[Back to constructors index](index.md) + + + +Payment result + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|updates|[Updates](../types/Updates.md) | Yes|Info about the payment| + + + +### Type: [payments.PaymentResult](../types/payments.PaymentResult.md) + + +### Example: + +```php +$payments.paymentResult = ['_' => 'payments.paymentResult', 'updates' => Updates]; +``` + + +Or, if you're into Lua: + +```lua +payments.paymentResult={_='payments.paymentResult', updates=Updates} + +``` + + diff --git a/old_docs/API_docs_v82/constructors/payments.paymentVerficationNeeded.md b/old_docs/API_docs_v82/constructors/payments.paymentVerficationNeeded.md new file mode 100644 index 00000000..3f459215 --- /dev/null +++ b/old_docs/API_docs_v82/constructors/payments.paymentVerficationNeeded.md @@ -0,0 +1,38 @@ +--- +title: payments.paymentVerficationNeeded +description: Payment verfication needed +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: payments.paymentVerficationNeeded +[Back to constructors index](index.md) + + + +Payment verfication needed + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|url|[string](../types/string.md) | Yes|URL| + + + +### Type: [payments.PaymentResult](../types/payments.PaymentResult.md) + + +### Example: + +```php +$payments.paymentVerficationNeeded = ['_' => 'payments.paymentVerficationNeeded', 'url' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +payments.paymentVerficationNeeded={_='payments.paymentVerficationNeeded', url='string'} + +``` + + diff --git a/old_docs/API_docs_v82/constructors/payments.savedInfo.md b/old_docs/API_docs_v82/constructors/payments.savedInfo.md new file mode 100644 index 00000000..a005a842 --- /dev/null +++ b/old_docs/API_docs_v82/constructors/payments.savedInfo.md @@ -0,0 +1,39 @@ +--- +title: payments.savedInfo +description: Saved server-side order information +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: payments.savedInfo +[Back to constructors index](index.md) + + + +Saved server-side order information + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|has\_saved\_credentials|[Bool](../types/Bool.md) | Optional|Whether the user has some saved payment credentials| +|saved\_info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Optional|Saved server-side order information| + + + +### Type: [payments.SavedInfo](../types/payments.SavedInfo.md) + + +### Example: + +```php +$payments.savedInfo = ['_' => 'payments.savedInfo', 'has_saved_credentials' => Bool, 'saved_info' => PaymentRequestedInfo]; +``` + + +Or, if you're into Lua: + +```lua +payments.savedInfo={_='payments.savedInfo', has_saved_credentials=Bool, saved_info=PaymentRequestedInfo} + +``` + + diff --git a/old_docs/API_docs_v82/constructors/payments.validatedRequestedInfo.md b/old_docs/API_docs_v82/constructors/payments.validatedRequestedInfo.md new file mode 100644 index 00000000..4789b28d --- /dev/null +++ b/old_docs/API_docs_v82/constructors/payments.validatedRequestedInfo.md @@ -0,0 +1,39 @@ +--- +title: payments.validatedRequestedInfo +description: Validated user-provided info +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: payments.validatedRequestedInfo +[Back to constructors index](index.md) + + + +Validated user-provided info + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|id|[string](../types/string.md) | Optional|ID| +|shipping\_options|Array of [ShippingOption](../types/ShippingOption.md) | Optional|Shipping options| + + + +### Type: [payments.ValidatedRequestedInfo](../types/payments.ValidatedRequestedInfo.md) + + +### Example: + +```php +$payments.validatedRequestedInfo = ['_' => 'payments.validatedRequestedInfo', 'id' => 'string', 'shipping_options' => [ShippingOption, ShippingOption]]; +``` + + +Or, if you're into Lua: + +```lua +payments.validatedRequestedInfo={_='payments.validatedRequestedInfo', id='string', shipping_options={ShippingOption}} + +``` + + diff --git a/old_docs/API_docs_v82/constructors/payments_paymentForm.md b/old_docs/API_docs_v82/constructors/payments_paymentForm.md deleted file mode 100644 index 88848527..00000000 --- a/old_docs/API_docs_v82/constructors/payments_paymentForm.md +++ /dev/null @@ -1,48 +0,0 @@ ---- -title: payments.paymentForm -description: Payment form -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: payments.paymentForm -[Back to constructors index](index.md) - - - -Payment form - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|can\_save\_credentials|[Bool](../types/Bool.md) | Optional|Whether the user can choose to save credentials.| -|password\_missing|[Bool](../types/Bool.md) | Optional|Indicates that the user can save payment credentials, but only after setting up a [2FA password](https://core.telegram.org/api/srp) (currently the account doesn't have a [2FA password](https://core.telegram.org/api/srp))| -|bot\_id|[int](../types/int.md) | Yes|Bot ID| -|invoice|[Invoice](../types/Invoice.md) | Yes|Invoice| -|provider\_id|[int](../types/int.md) | Yes|Payment provider ID.| -|url|[string](../types/string.md) | Yes|Payment form URL| -|native\_provider|[string](../types/string.md) | Optional|Payment provider name.
One of the following:
\- `stripe`| -|native\_params|[DataJSON](../types/DataJSON.md) | Optional|Contains information about the payment provider, if available, to support it natively without the need for opening the URL.
A JSON object that can contain the following fields:

\- `publishable_key`: Stripe API publishable key
\- `apple_pay_merchant_id`: Apple Pay merchant ID
\- `android_pay_public_key`: Android Pay public key
\- `android_pay_bgcolor`: Android Pay form background color
\- `android_pay_inverse`: Whether to use the dark theme in the Android Pay form
\- `need_country`: True, if the user country must be provided,
\- `need_zip`: True, if the user ZIP/postal code must be provided,
\- `need_cardholder_name`: True, if the cardholder name must be provided
| -|saved\_info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Optional|Saved server-side order information| -|saved\_credentials|[PaymentSavedCredentials](../types/PaymentSavedCredentials.md) | Optional|Contains information about saved card credentials| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [payments\_PaymentForm](../types/payments_PaymentForm.md) - - -### Example: - -```php -$payments_paymentForm = ['_' => 'payments.paymentForm', 'can_save_credentials' => Bool, 'password_missing' => Bool, 'bot_id' => int, 'invoice' => Invoice, 'provider_id' => int, 'url' => 'string', 'native_provider' => 'string', 'native_params' => DataJSON, 'saved_info' => PaymentRequestedInfo, 'saved_credentials' => PaymentSavedCredentials, 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -payments_paymentForm={_='payments.paymentForm', can_save_credentials=Bool, password_missing=Bool, bot_id=int, invoice=Invoice, provider_id=int, url='string', native_provider='string', native_params=DataJSON, saved_info=PaymentRequestedInfo, saved_credentials=PaymentSavedCredentials, users={User}} - -``` - - diff --git a/old_docs/API_docs_v82/constructors/payments_paymentReceipt.md b/old_docs/API_docs_v82/constructors/payments_paymentReceipt.md deleted file mode 100644 index 411e9dee..00000000 --- a/old_docs/API_docs_v82/constructors/payments_paymentReceipt.md +++ /dev/null @@ -1,47 +0,0 @@ ---- -title: payments.paymentReceipt -description: Receipt -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: payments.paymentReceipt -[Back to constructors index](index.md) - - - -Receipt - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Date of generation| -|bot\_id|[int](../types/int.md) | Yes|Bot ID| -|invoice|[Invoice](../types/Invoice.md) | Yes|Invoice| -|provider\_id|[int](../types/int.md) | Yes|Provider ID| -|info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Optional|Info| -|shipping|[ShippingOption](../types/ShippingOption.md) | Optional|Selected shipping option| -|currency|[string](../types/string.md) | Yes|Three-letter ISO 4217 [currency](https://core.telegram.org/bots/payments#supported-currencies) code| -|total\_amount|[long](../types/long.md) | Yes|Total amount in the smallest units of the currency (integer, not float/double). For example, for a price of `US$ 1.45` pass `amount = 145`. See the exp parameter in [currencies.json](https://core.telegram.org/bots/payments/currencies.json), it shows the number of digits past the decimal point for each currency (2 for the majority of currencies).| -|credentials\_title|[string](../types/string.md) | Yes|Payment credential name| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [payments\_PaymentReceipt](../types/payments_PaymentReceipt.md) - - -### Example: - -```php -$payments_paymentReceipt = ['_' => 'payments.paymentReceipt', 'date' => int, 'bot_id' => int, 'invoice' => Invoice, 'provider_id' => int, 'info' => PaymentRequestedInfo, 'shipping' => ShippingOption, 'currency' => 'string', 'total_amount' => long, 'credentials_title' => 'string', 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -payments_paymentReceipt={_='payments.paymentReceipt', date=int, bot_id=int, invoice=Invoice, provider_id=int, info=PaymentRequestedInfo, shipping=ShippingOption, currency='string', total_amount=long, credentials_title='string', users={User}} - -``` - - diff --git a/old_docs/API_docs_v82/constructors/payments_paymentResult.md b/old_docs/API_docs_v82/constructors/payments_paymentResult.md deleted file mode 100644 index 12af1d36..00000000 --- a/old_docs/API_docs_v82/constructors/payments_paymentResult.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: payments.paymentResult -description: Payment result -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: payments.paymentResult -[Back to constructors index](index.md) - - - -Payment result - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|updates|[Updates](../types/Updates.md) | Yes|Info about the payment| - - - -### Type: [payments\_PaymentResult](../types/payments_PaymentResult.md) - - -### Example: - -```php -$payments_paymentResult = ['_' => 'payments.paymentResult', 'updates' => Updates]; -``` - - -Or, if you're into Lua: - -```lua -payments_paymentResult={_='payments.paymentResult', updates=Updates} - -``` - - diff --git a/old_docs/API_docs_v82/constructors/payments_paymentVerficationNeeded.md b/old_docs/API_docs_v82/constructors/payments_paymentVerficationNeeded.md deleted file mode 100644 index 70ca205d..00000000 --- a/old_docs/API_docs_v82/constructors/payments_paymentVerficationNeeded.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: payments.paymentVerficationNeeded -description: Payment verfication needed -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: payments.paymentVerficationNeeded -[Back to constructors index](index.md) - - - -Payment verfication needed - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|url|[string](../types/string.md) | Yes|URL| - - - -### Type: [payments\_PaymentResult](../types/payments_PaymentResult.md) - - -### Example: - -```php -$payments_paymentVerficationNeeded = ['_' => 'payments.paymentVerficationNeeded', 'url' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -payments_paymentVerficationNeeded={_='payments.paymentVerficationNeeded', url='string'} - -``` - - diff --git a/old_docs/API_docs_v82/constructors/payments_savedInfo.md b/old_docs/API_docs_v82/constructors/payments_savedInfo.md deleted file mode 100644 index 19d3aee5..00000000 --- a/old_docs/API_docs_v82/constructors/payments_savedInfo.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: payments.savedInfo -description: Saved server-side order information -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: payments.savedInfo -[Back to constructors index](index.md) - - - -Saved server-side order information - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|has\_saved\_credentials|[Bool](../types/Bool.md) | Optional|Whether the user has some saved payment credentials| -|saved\_info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Optional|Saved server-side order information| - - - -### Type: [payments\_SavedInfo](../types/payments_SavedInfo.md) - - -### Example: - -```php -$payments_savedInfo = ['_' => 'payments.savedInfo', 'has_saved_credentials' => Bool, 'saved_info' => PaymentRequestedInfo]; -``` - - -Or, if you're into Lua: - -```lua -payments_savedInfo={_='payments.savedInfo', has_saved_credentials=Bool, saved_info=PaymentRequestedInfo} - -``` - - diff --git a/old_docs/API_docs_v82/constructors/payments_validatedRequestedInfo.md b/old_docs/API_docs_v82/constructors/payments_validatedRequestedInfo.md deleted file mode 100644 index a07c7d06..00000000 --- a/old_docs/API_docs_v82/constructors/payments_validatedRequestedInfo.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: payments.validatedRequestedInfo -description: Validated user-provided info -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: payments.validatedRequestedInfo -[Back to constructors index](index.md) - - - -Validated user-provided info - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|id|[string](../types/string.md) | Optional|ID| -|shipping\_options|Array of [ShippingOption](../types/ShippingOption.md) | Optional|Shipping options| - - - -### Type: [payments\_ValidatedRequestedInfo](../types/payments_ValidatedRequestedInfo.md) - - -### Example: - -```php -$payments_validatedRequestedInfo = ['_' => 'payments.validatedRequestedInfo', 'id' => 'string', 'shipping_options' => [ShippingOption, ShippingOption]]; -``` - - -Or, if you're into Lua: - -```lua -payments_validatedRequestedInfo={_='payments.validatedRequestedInfo', id='string', shipping_options={ShippingOption}} - -``` - - diff --git a/old_docs/API_docs_v82/constructors/phone.phoneCall.md b/old_docs/API_docs_v82/constructors/phone.phoneCall.md new file mode 100644 index 00000000..8c1d26d4 --- /dev/null +++ b/old_docs/API_docs_v82/constructors/phone.phoneCall.md @@ -0,0 +1,39 @@ +--- +title: phone.phoneCall +description: A VoIP phone call +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: phone.phoneCall +[Back to constructors index](index.md) + + + +A VoIP phone call + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_call|[PhoneCall](../types/PhoneCall.md) | Optional|The VoIP phone call| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [phone.PhoneCall](../types/phone.PhoneCall.md) + + +### Example: + +```php +$phone.phoneCall = ['_' => 'phone.phoneCall', 'phone_call' => PhoneCall, 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +phone.phoneCall={_='phone.phoneCall', phone_call=PhoneCall, users={User}} + +``` + + diff --git a/old_docs/API_docs_v82/constructors/phone_phoneCall.md b/old_docs/API_docs_v82/constructors/phone_phoneCall.md deleted file mode 100644 index 94314567..00000000 --- a/old_docs/API_docs_v82/constructors/phone_phoneCall.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: phone.phoneCall -description: A VoIP phone call -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: phone.phoneCall -[Back to constructors index](index.md) - - - -A VoIP phone call - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_call|[PhoneCall](../types/PhoneCall.md) | Optional|The VoIP phone call| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [phone\_PhoneCall](../types/phone_PhoneCall.md) - - -### Example: - -```php -$phone_phoneCall = ['_' => 'phone.phoneCall', 'phone_call' => PhoneCall, 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -phone_phoneCall={_='phone.phoneCall', phone_call=PhoneCall, users={User}} - -``` - - diff --git a/old_docs/API_docs_v82/constructors/photos.photo.md b/old_docs/API_docs_v82/constructors/photos.photo.md new file mode 100644 index 00000000..43d3efc7 --- /dev/null +++ b/old_docs/API_docs_v82/constructors/photos.photo.md @@ -0,0 +1,39 @@ +--- +title: photos.photo +description: Photo with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: photos.photo +[Back to constructors index](index.md) + + + +Photo with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|photo|[Photo](../types/Photo.md) | Optional|Photo| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [photos.Photo](../types/photos.Photo.md) + + +### Example: + +```php +$photos.photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +photos.photo={_='photos.photo', photo=Photo, users={User}} + +``` + + diff --git a/old_docs/API_docs_v82/constructors/photos.photos.md b/old_docs/API_docs_v82/constructors/photos.photos.md new file mode 100644 index 00000000..901a9693 --- /dev/null +++ b/old_docs/API_docs_v82/constructors/photos.photos.md @@ -0,0 +1,39 @@ +--- +title: photos.photos +description: Full list of photos with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: photos.photos +[Back to constructors index](index.md) + + + +Full list of photos with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [photos.Photos](../types/photos.Photos.md) + + +### Example: + +```php +$photos.photos = ['_' => 'photos.photos', 'photos' => [Photo, Photo], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +photos.photos={_='photos.photos', photos={Photo}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v82/constructors/photos.photosSlice.md b/old_docs/API_docs_v82/constructors/photos.photosSlice.md new file mode 100644 index 00000000..2cca3546 --- /dev/null +++ b/old_docs/API_docs_v82/constructors/photos.photosSlice.md @@ -0,0 +1,40 @@ +--- +title: photos.photosSlice +description: Incomplete list of photos with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: photos.photosSlice +[Back to constructors index](index.md) + + + +Incomplete list of photos with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of photos| +|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [photos.Photos](../types/photos.Photos.md) + + +### Example: + +```php +$photos.photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo, Photo], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +photos.photosSlice={_='photos.photosSlice', count=int, photos={Photo}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v82/constructors/photos_photo.md b/old_docs/API_docs_v82/constructors/photos_photo.md deleted file mode 100644 index d5ad61d9..00000000 --- a/old_docs/API_docs_v82/constructors/photos_photo.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: photos.photo -description: Photo with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: photos.photo -[Back to constructors index](index.md) - - - -Photo with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|photo|[Photo](../types/Photo.md) | Optional|Photo| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [photos\_Photo](../types/photos_Photo.md) - - -### Example: - -```php -$photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -photos_photo={_='photos.photo', photo=Photo, users={User}} - -``` - - diff --git a/old_docs/API_docs_v82/constructors/photos_photos.md b/old_docs/API_docs_v82/constructors/photos_photos.md deleted file mode 100644 index 6ae5d048..00000000 --- a/old_docs/API_docs_v82/constructors/photos_photos.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: photos.photos -description: Full list of photos with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: photos.photos -[Back to constructors index](index.md) - - - -Full list of photos with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [photos\_Photos](../types/photos_Photos.md) - - -### Example: - -```php -$photos_photos = ['_' => 'photos.photos', 'photos' => [Photo, Photo], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -photos_photos={_='photos.photos', photos={Photo}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v82/constructors/photos_photosSlice.md b/old_docs/API_docs_v82/constructors/photos_photosSlice.md deleted file mode 100644 index 5c465c21..00000000 --- a/old_docs/API_docs_v82/constructors/photos_photosSlice.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: photos.photosSlice -description: Incomplete list of photos with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: photos.photosSlice -[Back to constructors index](index.md) - - - -Incomplete list of photos with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of photos| -|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [photos\_Photos](../types/photos_Photos.md) - - -### Example: - -```php -$photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo, Photo], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -photos_photosSlice={_='photos.photosSlice', count=int, photos={Photo}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v82/constructors/storage.fileGif.md b/old_docs/API_docs_v82/constructors/storage.fileGif.md new file mode 100644 index 00000000..8193bd25 --- /dev/null +++ b/old_docs/API_docs_v82/constructors/storage.fileGif.md @@ -0,0 +1,33 @@ +--- +title: storage.fileGif +description: GIF image. MIME type: `image/gif`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileGif +[Back to constructors index](index.md) + + + +GIF image. MIME type: `image/gif`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileGif = ['_' => 'storage.fileGif']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileGif={_='storage.fileGif'} + +``` + + diff --git a/old_docs/API_docs_v82/constructors/storage.fileJpeg.md b/old_docs/API_docs_v82/constructors/storage.fileJpeg.md new file mode 100644 index 00000000..7f125963 --- /dev/null +++ b/old_docs/API_docs_v82/constructors/storage.fileJpeg.md @@ -0,0 +1,33 @@ +--- +title: storage.fileJpeg +description: JPEG image. MIME type: `image/jpeg`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileJpeg +[Back to constructors index](index.md) + + + +JPEG image. MIME type: `image/jpeg`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileJpeg = ['_' => 'storage.fileJpeg']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileJpeg={_='storage.fileJpeg'} + +``` + + diff --git a/old_docs/API_docs_v82/constructors/storage.fileMov.md b/old_docs/API_docs_v82/constructors/storage.fileMov.md new file mode 100644 index 00000000..cb3742e0 --- /dev/null +++ b/old_docs/API_docs_v82/constructors/storage.fileMov.md @@ -0,0 +1,33 @@ +--- +title: storage.fileMov +description: Quicktime video. MIME type: `video/quicktime`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileMov +[Back to constructors index](index.md) + + + +Quicktime video. MIME type: `video/quicktime`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileMov = ['_' => 'storage.fileMov']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileMov={_='storage.fileMov'} + +``` + + diff --git a/old_docs/API_docs_v82/constructors/storage.fileMp3.md b/old_docs/API_docs_v82/constructors/storage.fileMp3.md new file mode 100644 index 00000000..617f2d39 --- /dev/null +++ b/old_docs/API_docs_v82/constructors/storage.fileMp3.md @@ -0,0 +1,33 @@ +--- +title: storage.fileMp3 +description: Mp3 audio. MIME type: `audio/mpeg`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileMp3 +[Back to constructors index](index.md) + + + +Mp3 audio. MIME type: `audio/mpeg`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileMp3 = ['_' => 'storage.fileMp3']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileMp3={_='storage.fileMp3'} + +``` + + diff --git a/old_docs/API_docs_v82/constructors/storage.fileMp4.md b/old_docs/API_docs_v82/constructors/storage.fileMp4.md new file mode 100644 index 00000000..37038176 --- /dev/null +++ b/old_docs/API_docs_v82/constructors/storage.fileMp4.md @@ -0,0 +1,33 @@ +--- +title: storage.fileMp4 +description: MPEG-4 video. MIME type: `video/mp4`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileMp4 +[Back to constructors index](index.md) + + + +MPEG-4 video. MIME type: `video/mp4`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileMp4 = ['_' => 'storage.fileMp4']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileMp4={_='storage.fileMp4'} + +``` + + diff --git a/old_docs/API_docs_v82/constructors/storage.filePartial.md b/old_docs/API_docs_v82/constructors/storage.filePartial.md new file mode 100644 index 00000000..98779e71 --- /dev/null +++ b/old_docs/API_docs_v82/constructors/storage.filePartial.md @@ -0,0 +1,33 @@ +--- +title: storage.filePartial +description: Part of a bigger file. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.filePartial +[Back to constructors index](index.md) + + + +Part of a bigger file. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.filePartial = ['_' => 'storage.filePartial']; +``` + + +Or, if you're into Lua: + +```lua +storage.filePartial={_='storage.filePartial'} + +``` + + diff --git a/old_docs/API_docs_v82/constructors/storage.filePdf.md b/old_docs/API_docs_v82/constructors/storage.filePdf.md new file mode 100644 index 00000000..136c0614 --- /dev/null +++ b/old_docs/API_docs_v82/constructors/storage.filePdf.md @@ -0,0 +1,33 @@ +--- +title: storage.filePdf +description: PDF document image. MIME type: `application/pdf`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.filePdf +[Back to constructors index](index.md) + + + +PDF document image. MIME type: `application/pdf`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.filePdf = ['_' => 'storage.filePdf']; +``` + + +Or, if you're into Lua: + +```lua +storage.filePdf={_='storage.filePdf'} + +``` + + diff --git a/old_docs/API_docs_v82/constructors/storage.filePng.md b/old_docs/API_docs_v82/constructors/storage.filePng.md new file mode 100644 index 00000000..db01ce0e --- /dev/null +++ b/old_docs/API_docs_v82/constructors/storage.filePng.md @@ -0,0 +1,33 @@ +--- +title: storage.filePng +description: PNG image. MIME type: `image/png`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.filePng +[Back to constructors index](index.md) + + + +PNG image. MIME type: `image/png`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.filePng = ['_' => 'storage.filePng']; +``` + + +Or, if you're into Lua: + +```lua +storage.filePng={_='storage.filePng'} + +``` + + diff --git a/old_docs/API_docs_v82/constructors/storage.fileUnknown.md b/old_docs/API_docs_v82/constructors/storage.fileUnknown.md new file mode 100644 index 00000000..26f0a5ae --- /dev/null +++ b/old_docs/API_docs_v82/constructors/storage.fileUnknown.md @@ -0,0 +1,33 @@ +--- +title: storage.fileUnknown +description: Unknown type. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileUnknown +[Back to constructors index](index.md) + + + +Unknown type. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileUnknown = ['_' => 'storage.fileUnknown']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileUnknown={_='storage.fileUnknown'} + +``` + + diff --git a/old_docs/API_docs_v82/constructors/storage.fileWebp.md b/old_docs/API_docs_v82/constructors/storage.fileWebp.md new file mode 100644 index 00000000..63c9ded1 --- /dev/null +++ b/old_docs/API_docs_v82/constructors/storage.fileWebp.md @@ -0,0 +1,33 @@ +--- +title: storage.fileWebp +description: WEBP image. MIME type: `image/webp`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileWebp +[Back to constructors index](index.md) + + + +WEBP image. MIME type: `image/webp`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileWebp = ['_' => 'storage.fileWebp']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileWebp={_='storage.fileWebp'} + +``` + + diff --git a/old_docs/API_docs_v82/constructors/storage_fileGif.md b/old_docs/API_docs_v82/constructors/storage_fileGif.md deleted file mode 100644 index 218c7491..00000000 --- a/old_docs/API_docs_v82/constructors/storage_fileGif.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileGif -description: GIF image. MIME type: `image/gif`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileGif -[Back to constructors index](index.md) - - - -GIF image. MIME type: `image/gif`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileGif = ['_' => 'storage.fileGif']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileGif={_='storage.fileGif'} - -``` - - diff --git a/old_docs/API_docs_v82/constructors/storage_fileJpeg.md b/old_docs/API_docs_v82/constructors/storage_fileJpeg.md deleted file mode 100644 index 925531cd..00000000 --- a/old_docs/API_docs_v82/constructors/storage_fileJpeg.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileJpeg -description: JPEG image. MIME type: `image/jpeg`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileJpeg -[Back to constructors index](index.md) - - - -JPEG image. MIME type: `image/jpeg`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileJpeg = ['_' => 'storage.fileJpeg']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileJpeg={_='storage.fileJpeg'} - -``` - - diff --git a/old_docs/API_docs_v82/constructors/storage_fileMov.md b/old_docs/API_docs_v82/constructors/storage_fileMov.md deleted file mode 100644 index eaf2a6ff..00000000 --- a/old_docs/API_docs_v82/constructors/storage_fileMov.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileMov -description: Quicktime video. MIME type: `video/quicktime`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileMov -[Back to constructors index](index.md) - - - -Quicktime video. MIME type: `video/quicktime`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileMov = ['_' => 'storage.fileMov']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileMov={_='storage.fileMov'} - -``` - - diff --git a/old_docs/API_docs_v82/constructors/storage_fileMp3.md b/old_docs/API_docs_v82/constructors/storage_fileMp3.md deleted file mode 100644 index 9afcefbb..00000000 --- a/old_docs/API_docs_v82/constructors/storage_fileMp3.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileMp3 -description: Mp3 audio. MIME type: `audio/mpeg`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileMp3 -[Back to constructors index](index.md) - - - -Mp3 audio. MIME type: `audio/mpeg`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileMp3 = ['_' => 'storage.fileMp3']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileMp3={_='storage.fileMp3'} - -``` - - diff --git a/old_docs/API_docs_v82/constructors/storage_fileMp4.md b/old_docs/API_docs_v82/constructors/storage_fileMp4.md deleted file mode 100644 index cdc0e783..00000000 --- a/old_docs/API_docs_v82/constructors/storage_fileMp4.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileMp4 -description: MPEG-4 video. MIME type: `video/mp4`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileMp4 -[Back to constructors index](index.md) - - - -MPEG-4 video. MIME type: `video/mp4`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileMp4 = ['_' => 'storage.fileMp4']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileMp4={_='storage.fileMp4'} - -``` - - diff --git a/old_docs/API_docs_v82/constructors/storage_filePartial.md b/old_docs/API_docs_v82/constructors/storage_filePartial.md deleted file mode 100644 index 9bfadf63..00000000 --- a/old_docs/API_docs_v82/constructors/storage_filePartial.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.filePartial -description: Part of a bigger file. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.filePartial -[Back to constructors index](index.md) - - - -Part of a bigger file. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_filePartial = ['_' => 'storage.filePartial']; -``` - - -Or, if you're into Lua: - -```lua -storage_filePartial={_='storage.filePartial'} - -``` - - diff --git a/old_docs/API_docs_v82/constructors/storage_filePdf.md b/old_docs/API_docs_v82/constructors/storage_filePdf.md deleted file mode 100644 index efb022cc..00000000 --- a/old_docs/API_docs_v82/constructors/storage_filePdf.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.filePdf -description: PDF document image. MIME type: `application/pdf`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.filePdf -[Back to constructors index](index.md) - - - -PDF document image. MIME type: `application/pdf`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_filePdf = ['_' => 'storage.filePdf']; -``` - - -Or, if you're into Lua: - -```lua -storage_filePdf={_='storage.filePdf'} - -``` - - diff --git a/old_docs/API_docs_v82/constructors/storage_filePng.md b/old_docs/API_docs_v82/constructors/storage_filePng.md deleted file mode 100644 index 412759e4..00000000 --- a/old_docs/API_docs_v82/constructors/storage_filePng.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.filePng -description: PNG image. MIME type: `image/png`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.filePng -[Back to constructors index](index.md) - - - -PNG image. MIME type: `image/png`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_filePng = ['_' => 'storage.filePng']; -``` - - -Or, if you're into Lua: - -```lua -storage_filePng={_='storage.filePng'} - -``` - - diff --git a/old_docs/API_docs_v82/constructors/storage_fileUnknown.md b/old_docs/API_docs_v82/constructors/storage_fileUnknown.md deleted file mode 100644 index ed33dd5e..00000000 --- a/old_docs/API_docs_v82/constructors/storage_fileUnknown.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileUnknown -description: Unknown type. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileUnknown -[Back to constructors index](index.md) - - - -Unknown type. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileUnknown = ['_' => 'storage.fileUnknown']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileUnknown={_='storage.fileUnknown'} - -``` - - diff --git a/old_docs/API_docs_v82/constructors/storage_fileWebp.md b/old_docs/API_docs_v82/constructors/storage_fileWebp.md deleted file mode 100644 index 04dcad74..00000000 --- a/old_docs/API_docs_v82/constructors/storage_fileWebp.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileWebp -description: WEBP image. MIME type: `image/webp`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileWebp -[Back to constructors index](index.md) - - - -WEBP image. MIME type: `image/webp`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileWebp = ['_' => 'storage.fileWebp']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileWebp={_='storage.fileWebp'} - -``` - - diff --git a/old_docs/API_docs_v82/constructors/updateNewStickerSet.md b/old_docs/API_docs_v82/constructors/updateNewStickerSet.md index 8a99a363..c32c41ff 100644 --- a/old_docs/API_docs_v82/constructors/updateNewStickerSet.md +++ b/old_docs/API_docs_v82/constructors/updateNewStickerSet.md @@ -14,7 +14,7 @@ A new stickerset was installed | Name | Type | Required | Description | |----------|---------------|----------|-------------| -|stickerset|[messages\_StickerSet](../types/messages_StickerSet.md) | Yes|The installed stickerset| +|stickerset|[messages.StickerSet](../constructors/messages.StickerSet.md) | Yes|The installed stickerset| @@ -24,14 +24,14 @@ A new stickerset was installed ### Example: ```php -$updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages_StickerSet]; +$updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages.StickerSet]; ``` Or, if you're into Lua: ```lua -updateNewStickerSet={_='updateNewStickerSet', stickerset=messages_StickerSet} +updateNewStickerSet={_='updateNewStickerSet', stickerset=messages.StickerSet} ``` diff --git a/old_docs/API_docs_v82/constructors/updates.channelDifference.md b/old_docs/API_docs_v82/constructors/updates.channelDifference.md new file mode 100644 index 00000000..5a13791c --- /dev/null +++ b/old_docs/API_docs_v82/constructors/updates.channelDifference.md @@ -0,0 +1,44 @@ +--- +title: updates.channelDifference +description: The new updates +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.channelDifference +[Back to constructors index](index.md) + + + +The new updates + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates to be fetched using getDifference, starting from the provided `pts`| +|pts|[int](../types/int.md) | Yes|The [PTS](https://core.telegram.org/api/updates) from which to start getting updates the next time| +|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| +|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| +|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [updates.ChannelDifference](../types/updates.ChannelDifference.md) + + +### Example: + +```php +$updates.channelDifference = ['_' => 'updates.channelDifference', 'final' => Bool, 'pts' => int, 'timeout' => int, 'new_messages' => [Message, Message], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +updates.channelDifference={_='updates.channelDifference', final=Bool, pts=int, timeout=int, new_messages={Message}, other_updates={Update}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v82/constructors/updates.channelDifferenceEmpty.md b/old_docs/API_docs_v82/constructors/updates.channelDifferenceEmpty.md new file mode 100644 index 00000000..8ce43da4 --- /dev/null +++ b/old_docs/API_docs_v82/constructors/updates.channelDifferenceEmpty.md @@ -0,0 +1,40 @@ +--- +title: updates.channelDifferenceEmpty +description: There are no new updates +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.channelDifferenceEmpty +[Back to constructors index](index.md) + + + +There are no new updates + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates that must be fetched (always false)| +|pts|[int](../types/int.md) | Yes|The latest [PTS](https://core.telegram.org/api/updates)| +|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| + + + +### Type: [updates.ChannelDifference](../types/updates.ChannelDifference.md) + + +### Example: + +```php +$updates.channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'final' => Bool, 'pts' => int, 'timeout' => int]; +``` + + +Or, if you're into Lua: + +```lua +updates.channelDifferenceEmpty={_='updates.channelDifferenceEmpty', final=Bool, pts=int, timeout=int} + +``` + + diff --git a/old_docs/API_docs_v82/constructors/updates.channelDifferenceTooLong.md b/old_docs/API_docs_v82/constructors/updates.channelDifferenceTooLong.md new file mode 100644 index 00000000..9290856d --- /dev/null +++ b/old_docs/API_docs_v82/constructors/updates.channelDifferenceTooLong.md @@ -0,0 +1,58 @@ +--- +title: updates.channelDifferenceTooLong +description: The provided `pts + limit < remote pts`. Simply, there are too many updates to be fetched (more than `limit`), the client has to resolve the update gap in one of the following ways: + +1. Delete all known messages in the chat, begin from scratch by refetching all messages manually with [getHistory](../methods/messages.getHistory.md). It is easy to implement, but suddenly disappearing messages looks awful for the user. +2. Save all messages loaded in the memory until application restart, but delete all messages from database. Messages left in the memory must be lazily updated using calls to [getHistory](../methods/messages.getHistory.md). It looks much smoothly for the user, he will need to redownload messages only after client restart. Unsynchronized messages left in the memory shouldn't be saved to database, results of [getHistory](../methods/messages.getHistory.md) and [getMessages](../methods/messages.getMessages.md) must be used to update state of deleted and edited messages left in the memory. +3. Save all messages loaded in the memory and stored in the database without saving that some messages form continuous ranges. Messages in the database will be excluded from results of getChatHistory and searchChatMessages after application restart and will be available only through getMessage. Every message should still be checked using getHistory. It has more disadvantages over 2) than advantages. +4. Save all messages with saving all data about continuous message ranges. Messages from the database may be used as results of getChatHistory and (if implemented continuous ranges support for searching shared media) searchChatMessages. The messages should still be lazily checked using getHistory, but they are still available offline. It is the best way for gaps support, but it is pretty hard to implement correctly. It should be also noted that some messages like live location messages shouldn't be deleted. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.channelDifferenceTooLong +[Back to constructors index](index.md) + + + +The provided `pts + limit < remote pts`. Simply, there are too many updates to be fetched (more than `limit`), the client has to resolve the update gap in one of the following ways: + +1. Delete all known messages in the chat, begin from scratch by refetching all messages manually with [getHistory](../methods/messages.getHistory.md). It is easy to implement, but suddenly disappearing messages looks awful for the user. +2. Save all messages loaded in the memory until application restart, but delete all messages from database. Messages left in the memory must be lazily updated using calls to [getHistory](../methods/messages.getHistory.md). It looks much smoothly for the user, he will need to redownload messages only after client restart. Unsynchronized messages left in the memory shouldn't be saved to database, results of [getHistory](../methods/messages.getHistory.md) and [getMessages](../methods/messages.getMessages.md) must be used to update state of deleted and edited messages left in the memory. +3. Save all messages loaded in the memory and stored in the database without saving that some messages form continuous ranges. Messages in the database will be excluded from results of getChatHistory and searchChatMessages after application restart and will be available only through getMessage. Every message should still be checked using getHistory. It has more disadvantages over 2) than advantages. +4. Save all messages with saving all data about continuous message ranges. Messages from the database may be used as results of getChatHistory and (if implemented continuous ranges support for searching shared media) searchChatMessages. The messages should still be lazily checked using getHistory, but they are still available offline. It is the best way for gaps support, but it is pretty hard to implement correctly. It should be also noted that some messages like live location messages shouldn't be deleted. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates that must be fetched (always false)| +|pts|[int](../types/int.md) | Yes|Pts| +|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| +|top\_message|[int](../types/int.md) | Yes|Top message| +|read\_inbox\_max\_id|[int](../types/int.md) | Yes|Read inbox max ID| +|read\_outbox\_max\_id|[int](../types/int.md) | Yes|Read outbox max ID| +|unread\_count|[int](../types/int.md) | Yes|Unread count| +|unread\_mentions\_count|[int](../types/int.md) | Yes|Unread mentions count| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [updates.ChannelDifference](../types/updates.ChannelDifference.md) + + +### Example: + +```php +$updates.channelDifferenceTooLong = ['_' => 'updates.channelDifferenceTooLong', 'final' => Bool, 'pts' => int, 'timeout' => int, 'top_message' => int, 'read_inbox_max_id' => int, 'read_outbox_max_id' => int, 'unread_count' => int, 'unread_mentions_count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +updates.channelDifferenceTooLong={_='updates.channelDifferenceTooLong', final=Bool, pts=int, timeout=int, top_message=int, read_inbox_max_id=int, read_outbox_max_id=int, unread_count=int, unread_mentions_count=int, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v82/constructors/updates.difference.md b/old_docs/API_docs_v82/constructors/updates.difference.md new file mode 100644 index 00000000..82541b51 --- /dev/null +++ b/old_docs/API_docs_v82/constructors/updates.difference.md @@ -0,0 +1,43 @@ +--- +title: updates.difference +description: Full list of occurred events. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.difference +[Back to constructors index](index.md) + + + +Full list of occurred events. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| +|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| +|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| +|state|[updates.State](../constructors/updates.State.md) | Yes|Current state| + + + +### Type: [updates.Difference](../types/updates.Difference.md) + + +### Example: + +```php +$updates.difference = ['_' => 'updates.difference', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates.State]; +``` + + +Or, if you're into Lua: + +```lua +updates.difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates.State} + +``` + + diff --git a/old_docs/API_docs_v82/constructors/updates.differenceEmpty.md b/old_docs/API_docs_v82/constructors/updates.differenceEmpty.md new file mode 100644 index 00000000..a9dc3bd0 --- /dev/null +++ b/old_docs/API_docs_v82/constructors/updates.differenceEmpty.md @@ -0,0 +1,39 @@ +--- +title: updates.differenceEmpty +description: No events. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.differenceEmpty +[Back to constructors index](index.md) + + + +No events. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Current date| +|seq|[int](../types/int.md) | Yes|Number of sent updates| + + + +### Type: [updates.Difference](../types/updates.Difference.md) + + +### Example: + +```php +$updates.differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int]; +``` + + +Or, if you're into Lua: + +```lua +updates.differenceEmpty={_='updates.differenceEmpty', date=int, seq=int} + +``` + + diff --git a/old_docs/API_docs_v82/constructors/updates.differenceSlice.md b/old_docs/API_docs_v82/constructors/updates.differenceSlice.md new file mode 100644 index 00000000..9daf7a75 --- /dev/null +++ b/old_docs/API_docs_v82/constructors/updates.differenceSlice.md @@ -0,0 +1,43 @@ +--- +title: updates.differenceSlice +description: Incomplete list of occurred events. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.differenceSlice +[Back to constructors index](index.md) + + + +Incomplete list of occurred events. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| +|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| +|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| +|intermediate\_state|[updates.State](../constructors/updates.State.md) | Yes|Intermediary state| + + + +### Type: [updates.Difference](../types/updates.Difference.md) + + +### Example: + +```php +$updates.differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'intermediate_state' => updates.State]; +``` + + +Or, if you're into Lua: + +```lua +updates.differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates.State} + +``` + + diff --git a/old_docs/API_docs_v82/constructors/updates.differenceTooLong.md b/old_docs/API_docs_v82/constructors/updates.differenceTooLong.md new file mode 100644 index 00000000..ef2e7e4d --- /dev/null +++ b/old_docs/API_docs_v82/constructors/updates.differenceTooLong.md @@ -0,0 +1,38 @@ +--- +title: updates.differenceTooLong +description: The difference is [too long](https://core.telegram.org/api/updates#recovering-gaps), and the specified state must be used to refetch updates. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.differenceTooLong +[Back to constructors index](index.md) + + + +The difference is [too long](https://core.telegram.org/api/updates#recovering-gaps), and the specified state must be used to refetch updates. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|The new state to use.| + + + +### Type: [updates.Difference](../types/updates.Difference.md) + + +### Example: + +```php +$updates.differenceTooLong = ['_' => 'updates.differenceTooLong', 'pts' => int]; +``` + + +Or, if you're into Lua: + +```lua +updates.differenceTooLong={_='updates.differenceTooLong', pts=int} + +``` + + diff --git a/old_docs/API_docs_v82/constructors/updates.state.md b/old_docs/API_docs_v82/constructors/updates.state.md new file mode 100644 index 00000000..abe9ddbb --- /dev/null +++ b/old_docs/API_docs_v82/constructors/updates.state.md @@ -0,0 +1,42 @@ +--- +title: updates.state +description: Updates state. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.state +[Back to constructors index](index.md) + + + +Updates state. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| +|qts|[int](../types/int.md) | Yes|Position in a sequence of updates in secret chats. For further detailes refer to article [secret chats](https://core.telegram.org/api/end-to-end)
Parameter was added in [eigth layer](https://core.telegram.org/api/layers#layer-8).| +|date|[int](../types/int.md) | Yes|Date of condition| +|seq|[int](../types/int.md) | Yes|Number of sent updates| +|unread\_count|[int](../types/int.md) | Yes|Number of unread messages| + + + +### Type: [updates.State](../types/updates.State.md) + + +### Example: + +```php +$updates.state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int]; +``` + + +Or, if you're into Lua: + +```lua +updates.state={_='updates.state', pts=int, qts=int, date=int, seq=int, unread_count=int} + +``` + + diff --git a/old_docs/API_docs_v82/constructors/updates_channelDifference.md b/old_docs/API_docs_v82/constructors/updates_channelDifference.md deleted file mode 100644 index 1b50fbf3..00000000 --- a/old_docs/API_docs_v82/constructors/updates_channelDifference.md +++ /dev/null @@ -1,44 +0,0 @@ ---- -title: updates.channelDifference -description: The new updates -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.channelDifference -[Back to constructors index](index.md) - - - -The new updates - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates to be fetched using getDifference, starting from the provided `pts`| -|pts|[int](../types/int.md) | Yes|The [PTS](https://core.telegram.org/api/updates) from which to start getting updates the next time| -|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| -|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| -|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) - - -### Example: - -```php -$updates_channelDifference = ['_' => 'updates.channelDifference', 'final' => Bool, 'pts' => int, 'timeout' => int, 'new_messages' => [Message, Message], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -updates_channelDifference={_='updates.channelDifference', final=Bool, pts=int, timeout=int, new_messages={Message}, other_updates={Update}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v82/constructors/updates_channelDifferenceEmpty.md b/old_docs/API_docs_v82/constructors/updates_channelDifferenceEmpty.md deleted file mode 100644 index 713137aa..00000000 --- a/old_docs/API_docs_v82/constructors/updates_channelDifferenceEmpty.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: updates.channelDifferenceEmpty -description: There are no new updates -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.channelDifferenceEmpty -[Back to constructors index](index.md) - - - -There are no new updates - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates that must be fetched (always false)| -|pts|[int](../types/int.md) | Yes|The latest [PTS](https://core.telegram.org/api/updates)| -|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| - - - -### Type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) - - -### Example: - -```php -$updates_channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'final' => Bool, 'pts' => int, 'timeout' => int]; -``` - - -Or, if you're into Lua: - -```lua -updates_channelDifferenceEmpty={_='updates.channelDifferenceEmpty', final=Bool, pts=int, timeout=int} - -``` - - diff --git a/old_docs/API_docs_v82/constructors/updates_channelDifferenceTooLong.md b/old_docs/API_docs_v82/constructors/updates_channelDifferenceTooLong.md deleted file mode 100644 index fd7a5060..00000000 --- a/old_docs/API_docs_v82/constructors/updates_channelDifferenceTooLong.md +++ /dev/null @@ -1,58 +0,0 @@ ---- -title: updates.channelDifferenceTooLong -description: The provided `pts + limit < remote pts`. Simply, there are too many updates to be fetched (more than `limit`), the client has to resolve the update gap in one of the following ways: - -1. Delete all known messages in the chat, begin from scratch by refetching all messages manually with [getHistory](../methods/messages.getHistory.md). It is easy to implement, but suddenly disappearing messages looks awful for the user. -2. Save all messages loaded in the memory until application restart, but delete all messages from database. Messages left in the memory must be lazily updated using calls to [getHistory](../methods/messages.getHistory.md). It looks much smoothly for the user, he will need to redownload messages only after client restart. Unsynchronized messages left in the memory shouldn't be saved to database, results of [getHistory](../methods/messages.getHistory.md) and [getMessages](../methods/messages.getMessages.md) must be used to update state of deleted and edited messages left in the memory. -3. Save all messages loaded in the memory and stored in the database without saving that some messages form continuous ranges. Messages in the database will be excluded from results of getChatHistory and searchChatMessages after application restart and will be available only through getMessage. Every message should still be checked using getHistory. It has more disadvantages over 2) than advantages. -4. Save all messages with saving all data about continuous message ranges. Messages from the database may be used as results of getChatHistory and (if implemented continuous ranges support for searching shared media) searchChatMessages. The messages should still be lazily checked using getHistory, but they are still available offline. It is the best way for gaps support, but it is pretty hard to implement correctly. It should be also noted that some messages like live location messages shouldn't be deleted. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.channelDifferenceTooLong -[Back to constructors index](index.md) - - - -The provided `pts + limit < remote pts`. Simply, there are too many updates to be fetched (more than `limit`), the client has to resolve the update gap in one of the following ways: - -1. Delete all known messages in the chat, begin from scratch by refetching all messages manually with [getHistory](../methods/messages.getHistory.md). It is easy to implement, but suddenly disappearing messages looks awful for the user. -2. Save all messages loaded in the memory until application restart, but delete all messages from database. Messages left in the memory must be lazily updated using calls to [getHistory](../methods/messages.getHistory.md). It looks much smoothly for the user, he will need to redownload messages only after client restart. Unsynchronized messages left in the memory shouldn't be saved to database, results of [getHistory](../methods/messages.getHistory.md) and [getMessages](../methods/messages.getMessages.md) must be used to update state of deleted and edited messages left in the memory. -3. Save all messages loaded in the memory and stored in the database without saving that some messages form continuous ranges. Messages in the database will be excluded from results of getChatHistory and searchChatMessages after application restart and will be available only through getMessage. Every message should still be checked using getHistory. It has more disadvantages over 2) than advantages. -4. Save all messages with saving all data about continuous message ranges. Messages from the database may be used as results of getChatHistory and (if implemented continuous ranges support for searching shared media) searchChatMessages. The messages should still be lazily checked using getHistory, but they are still available offline. It is the best way for gaps support, but it is pretty hard to implement correctly. It should be also noted that some messages like live location messages shouldn't be deleted. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates that must be fetched (always false)| -|pts|[int](../types/int.md) | Yes|Pts| -|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| -|top\_message|[int](../types/int.md) | Yes|Top message| -|read\_inbox\_max\_id|[int](../types/int.md) | Yes|Read inbox max ID| -|read\_outbox\_max\_id|[int](../types/int.md) | Yes|Read outbox max ID| -|unread\_count|[int](../types/int.md) | Yes|Unread count| -|unread\_mentions\_count|[int](../types/int.md) | Yes|Unread mentions count| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) - - -### Example: - -```php -$updates_channelDifferenceTooLong = ['_' => 'updates.channelDifferenceTooLong', 'final' => Bool, 'pts' => int, 'timeout' => int, 'top_message' => int, 'read_inbox_max_id' => int, 'read_outbox_max_id' => int, 'unread_count' => int, 'unread_mentions_count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -updates_channelDifferenceTooLong={_='updates.channelDifferenceTooLong', final=Bool, pts=int, timeout=int, top_message=int, read_inbox_max_id=int, read_outbox_max_id=int, unread_count=int, unread_mentions_count=int, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v82/constructors/updates_difference.md b/old_docs/API_docs_v82/constructors/updates_difference.md deleted file mode 100644 index 71ac7d4c..00000000 --- a/old_docs/API_docs_v82/constructors/updates_difference.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: updates.difference -description: Full list of occurred events. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.difference -[Back to constructors index](index.md) - - - -Full list of occurred events. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| -|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| -|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| -|state|[updates\_State](../types/updates_State.md) | Yes|Current state| - - - -### Type: [updates\_Difference](../types/updates_Difference.md) - - -### Example: - -```php -$updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates_State]; -``` - - -Or, if you're into Lua: - -```lua -updates_difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates_State} - -``` - - diff --git a/old_docs/API_docs_v82/constructors/updates_differenceEmpty.md b/old_docs/API_docs_v82/constructors/updates_differenceEmpty.md deleted file mode 100644 index c3c95c5a..00000000 --- a/old_docs/API_docs_v82/constructors/updates_differenceEmpty.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: updates.differenceEmpty -description: No events. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.differenceEmpty -[Back to constructors index](index.md) - - - -No events. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Current date| -|seq|[int](../types/int.md) | Yes|Number of sent updates| - - - -### Type: [updates\_Difference](../types/updates_Difference.md) - - -### Example: - -```php -$updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int]; -``` - - -Or, if you're into Lua: - -```lua -updates_differenceEmpty={_='updates.differenceEmpty', date=int, seq=int} - -``` - - diff --git a/old_docs/API_docs_v82/constructors/updates_differenceSlice.md b/old_docs/API_docs_v82/constructors/updates_differenceSlice.md deleted file mode 100644 index 8b12a369..00000000 --- a/old_docs/API_docs_v82/constructors/updates_differenceSlice.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: updates.differenceSlice -description: Incomplete list of occurred events. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.differenceSlice -[Back to constructors index](index.md) - - - -Incomplete list of occurred events. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| -|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| -|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| -|intermediate\_state|[updates\_State](../types/updates_State.md) | Yes|Intermediary state| - - - -### Type: [updates\_Difference](../types/updates_Difference.md) - - -### Example: - -```php -$updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'intermediate_state' => updates_State]; -``` - - -Or, if you're into Lua: - -```lua -updates_differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates_State} - -``` - - diff --git a/old_docs/API_docs_v82/constructors/updates_differenceTooLong.md b/old_docs/API_docs_v82/constructors/updates_differenceTooLong.md deleted file mode 100644 index 1fbdfa01..00000000 --- a/old_docs/API_docs_v82/constructors/updates_differenceTooLong.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: updates.differenceTooLong -description: The difference is [too long](https://core.telegram.org/api/updates#recovering-gaps), and the specified state must be used to refetch updates. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.differenceTooLong -[Back to constructors index](index.md) - - - -The difference is [too long](https://core.telegram.org/api/updates#recovering-gaps), and the specified state must be used to refetch updates. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|The new state to use.| - - - -### Type: [updates\_Difference](../types/updates_Difference.md) - - -### Example: - -```php -$updates_differenceTooLong = ['_' => 'updates.differenceTooLong', 'pts' => int]; -``` - - -Or, if you're into Lua: - -```lua -updates_differenceTooLong={_='updates.differenceTooLong', pts=int} - -``` - - diff --git a/old_docs/API_docs_v82/constructors/updates_state.md b/old_docs/API_docs_v82/constructors/updates_state.md deleted file mode 100644 index ef3698e2..00000000 --- a/old_docs/API_docs_v82/constructors/updates_state.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: updates.state -description: Updates state. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.state -[Back to constructors index](index.md) - - - -Updates state. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| -|qts|[int](../types/int.md) | Yes|Position in a sequence of updates in secret chats. For further detailes refer to article [secret chats](https://core.telegram.org/api/end-to-end)
Parameter was added in [eigth layer](https://core.telegram.org/api/layers#layer-8).| -|date|[int](../types/int.md) | Yes|Date of condition| -|seq|[int](../types/int.md) | Yes|Number of sent updates| -|unread\_count|[int](../types/int.md) | Yes|Number of unread messages| - - - -### Type: [updates\_State](../types/updates_State.md) - - -### Example: - -```php -$updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int]; -``` - - -Or, if you're into Lua: - -```lua -updates_state={_='updates.state', pts=int, qts=int, date=int, seq=int, unread_count=int} - -``` - - diff --git a/old_docs/API_docs_v82/constructors/upload.cdnFile.md b/old_docs/API_docs_v82/constructors/upload.cdnFile.md new file mode 100644 index 00000000..d6d75513 --- /dev/null +++ b/old_docs/API_docs_v82/constructors/upload.cdnFile.md @@ -0,0 +1,38 @@ +--- +title: upload.cdnFile +description: Represent a chunk of a [CDN](https://core.telegram.org/cdn) file. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: upload.cdnFile +[Back to constructors index](index.md) + + + +Represent a chunk of a [CDN](https://core.telegram.org/cdn) file. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|bytes|[bytes](../types/bytes.md) | Yes|The data| + + + +### Type: [upload.CdnFile](../types/upload.CdnFile.md) + + +### Example: + +```php +$upload.cdnFile = ['_' => 'upload.cdnFile', 'bytes' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +upload.cdnFile={_='upload.cdnFile', bytes='bytes'} + +``` + + diff --git a/old_docs/API_docs_v82/constructors/upload.cdnFileReuploadNeeded.md b/old_docs/API_docs_v82/constructors/upload.cdnFileReuploadNeeded.md new file mode 100644 index 00000000..7c461a87 --- /dev/null +++ b/old_docs/API_docs_v82/constructors/upload.cdnFileReuploadNeeded.md @@ -0,0 +1,38 @@ +--- +title: upload.cdnFileReuploadNeeded +description: The file was cleared from the temporary RAM cache of the [CDN](https://core.telegram.org/cdn) and has to be reuploaded. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: upload.cdnFileReuploadNeeded +[Back to constructors index](index.md) + + + +The file was cleared from the temporary RAM cache of the [CDN](https://core.telegram.org/cdn) and has to be reuploaded. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|request\_token|[bytes](../types/bytes.md) | Yes|Request token (see [CDN](https://core.telegram.org/cdn))| + + + +### Type: [upload.CdnFile](../types/upload.CdnFile.md) + + +### Example: + +```php +$upload.cdnFileReuploadNeeded = ['_' => 'upload.cdnFileReuploadNeeded', 'request_token' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +upload.cdnFileReuploadNeeded={_='upload.cdnFileReuploadNeeded', request_token='bytes'} + +``` + + diff --git a/old_docs/API_docs_v82/constructors/upload.file.md b/old_docs/API_docs_v82/constructors/upload.file.md new file mode 100644 index 00000000..145a4c24 --- /dev/null +++ b/old_docs/API_docs_v82/constructors/upload.file.md @@ -0,0 +1,40 @@ +--- +title: upload.file +description: File content. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: upload.file +[Back to constructors index](index.md) + + + +File content. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|type|[storage.FileType](../constructors/storage.FileType.md) | Yes|File type| +|mtime|[int](../types/int.md) | Yes|Modification type| +|bytes|[bytes](../types/bytes.md) | Yes|Binary data, file content| + + + +### Type: [upload.File](../types/upload.File.md) + + +### Example: + +```php +$upload.file = ['_' => 'upload.file', 'type' => storage.FileType, 'mtime' => int, 'bytes' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +upload.file={_='upload.file', type=storage.FileType, mtime=int, bytes='bytes'} + +``` + + diff --git a/old_docs/API_docs_v82/constructors/upload.fileCdnRedirect.md b/old_docs/API_docs_v82/constructors/upload.fileCdnRedirect.md new file mode 100644 index 00000000..dc56e919 --- /dev/null +++ b/old_docs/API_docs_v82/constructors/upload.fileCdnRedirect.md @@ -0,0 +1,42 @@ +--- +title: upload.fileCdnRedirect +description: The file must be downloaded from a [CDN DC](https://core.telegram.org/cdn). +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: upload.fileCdnRedirect +[Back to constructors index](index.md) + + + +The file must be downloaded from a [CDN DC](https://core.telegram.org/cdn). + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|dc\_id|[int](../types/int.md) | Yes|[CDN DC](https://core.telegram.org/cdn) ID| +|file\_token|[bytes](../types/bytes.md) | Yes|File token (see [CDN files](https://core.telegram.org/cdn)| +|encryption\_key|[bytes](../types/bytes.md) | Yes|Encryption key (see [CDN files](https://core.telegram.org/cdn)| +|encryption\_iv|[bytes](../types/bytes.md) | Yes|Encryption IV (see [CDN files](https://core.telegram.org/cdn)| +|file\_hashes|Array of [FileHash](../types/FileHash.md) | Yes|File hashes| + + + +### Type: [upload.File](../types/upload.File.md) + + +### Example: + +```php +$upload.fileCdnRedirect = ['_' => 'upload.fileCdnRedirect', 'dc_id' => int, 'file_token' => 'bytes', 'encryption_key' => 'bytes', 'encryption_iv' => 'bytes', 'file_hashes' => [FileHash, FileHash]]; +``` + + +Or, if you're into Lua: + +```lua +upload.fileCdnRedirect={_='upload.fileCdnRedirect', dc_id=int, file_token='bytes', encryption_key='bytes', encryption_iv='bytes', file_hashes={FileHash}} + +``` + + diff --git a/old_docs/API_docs_v82/constructors/upload.webFile.md b/old_docs/API_docs_v82/constructors/upload.webFile.md new file mode 100644 index 00000000..a93ea94f --- /dev/null +++ b/old_docs/API_docs_v82/constructors/upload.webFile.md @@ -0,0 +1,42 @@ +--- +title: upload.webFile +description: Represents a chunk of an [HTTP webfile](https://core.telegram.org/api/files) downloaded through telegram's secure MTProto servers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: upload.webFile +[Back to constructors index](index.md) + + + +Represents a chunk of an [HTTP webfile](https://core.telegram.org/api/files) downloaded through telegram's secure MTProto servers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|size|[int](../types/int.md) | Yes|File size| +|mime\_type|[string](../types/string.md) | Yes|Mime type| +|file\_type|[storage.FileType](../constructors/storage.FileType.md) | Yes|File type| +|mtime|[int](../types/int.md) | Yes|Modified time| +|bytes|[bytes](../types/bytes.md) | Yes|Data| + + + +### Type: [upload.WebFile](../types/upload.WebFile.md) + + +### Example: + +```php +$upload.webFile = ['_' => 'upload.webFile', 'size' => int, 'mime_type' => 'string', 'file_type' => storage.FileType, 'mtime' => int, 'bytes' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +upload.webFile={_='upload.webFile', size=int, mime_type='string', file_type=storage.FileType, mtime=int, bytes='bytes'} + +``` + + diff --git a/old_docs/API_docs_v82/constructors/upload_cdnFile.md b/old_docs/API_docs_v82/constructors/upload_cdnFile.md deleted file mode 100644 index 019b8742..00000000 --- a/old_docs/API_docs_v82/constructors/upload_cdnFile.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: upload.cdnFile -description: Represent a chunk of a [CDN](https://core.telegram.org/cdn) file. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: upload.cdnFile -[Back to constructors index](index.md) - - - -Represent a chunk of a [CDN](https://core.telegram.org/cdn) file. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|bytes|[bytes](../types/bytes.md) | Yes|The data| - - - -### Type: [upload\_CdnFile](../types/upload_CdnFile.md) - - -### Example: - -```php -$upload_cdnFile = ['_' => 'upload.cdnFile', 'bytes' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -upload_cdnFile={_='upload.cdnFile', bytes='bytes'} - -``` - - diff --git a/old_docs/API_docs_v82/constructors/upload_cdnFileReuploadNeeded.md b/old_docs/API_docs_v82/constructors/upload_cdnFileReuploadNeeded.md deleted file mode 100644 index 6588a596..00000000 --- a/old_docs/API_docs_v82/constructors/upload_cdnFileReuploadNeeded.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: upload.cdnFileReuploadNeeded -description: The file was cleared from the temporary RAM cache of the [CDN](https://core.telegram.org/cdn) and has to be reuploaded. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: upload.cdnFileReuploadNeeded -[Back to constructors index](index.md) - - - -The file was cleared from the temporary RAM cache of the [CDN](https://core.telegram.org/cdn) and has to be reuploaded. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|request\_token|[bytes](../types/bytes.md) | Yes|Request token (see [CDN](https://core.telegram.org/cdn))| - - - -### Type: [upload\_CdnFile](../types/upload_CdnFile.md) - - -### Example: - -```php -$upload_cdnFileReuploadNeeded = ['_' => 'upload.cdnFileReuploadNeeded', 'request_token' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -upload_cdnFileReuploadNeeded={_='upload.cdnFileReuploadNeeded', request_token='bytes'} - -``` - - diff --git a/old_docs/API_docs_v82/constructors/upload_file.md b/old_docs/API_docs_v82/constructors/upload_file.md deleted file mode 100644 index 1e07d9fb..00000000 --- a/old_docs/API_docs_v82/constructors/upload_file.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: upload.file -description: File content. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: upload.file -[Back to constructors index](index.md) - - - -File content. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|type|[storage\_FileType](../types/storage_FileType.md) | Yes|File type| -|mtime|[int](../types/int.md) | Yes|Modification type| -|bytes|[bytes](../types/bytes.md) | Yes|Binary data, file content| - - - -### Type: [upload\_File](../types/upload_File.md) - - -### Example: - -```php -$upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int, 'bytes' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -upload_file={_='upload.file', type=storage_FileType, mtime=int, bytes='bytes'} - -``` - - diff --git a/old_docs/API_docs_v82/constructors/upload_fileCdnRedirect.md b/old_docs/API_docs_v82/constructors/upload_fileCdnRedirect.md deleted file mode 100644 index de504dc3..00000000 --- a/old_docs/API_docs_v82/constructors/upload_fileCdnRedirect.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: upload.fileCdnRedirect -description: The file must be downloaded from a [CDN DC](https://core.telegram.org/cdn). -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: upload.fileCdnRedirect -[Back to constructors index](index.md) - - - -The file must be downloaded from a [CDN DC](https://core.telegram.org/cdn). - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|dc\_id|[int](../types/int.md) | Yes|[CDN DC](https://core.telegram.org/cdn) ID| -|file\_token|[bytes](../types/bytes.md) | Yes|File token (see [CDN files](https://core.telegram.org/cdn)| -|encryption\_key|[bytes](../types/bytes.md) | Yes|Encryption key (see [CDN files](https://core.telegram.org/cdn)| -|encryption\_iv|[bytes](../types/bytes.md) | Yes|Encryption IV (see [CDN files](https://core.telegram.org/cdn)| -|file\_hashes|Array of [FileHash](../types/FileHash.md) | Yes|File hashes| - - - -### Type: [upload\_File](../types/upload_File.md) - - -### Example: - -```php -$upload_fileCdnRedirect = ['_' => 'upload.fileCdnRedirect', 'dc_id' => int, 'file_token' => 'bytes', 'encryption_key' => 'bytes', 'encryption_iv' => 'bytes', 'file_hashes' => [FileHash, FileHash]]; -``` - - -Or, if you're into Lua: - -```lua -upload_fileCdnRedirect={_='upload.fileCdnRedirect', dc_id=int, file_token='bytes', encryption_key='bytes', encryption_iv='bytes', file_hashes={FileHash}} - -``` - - diff --git a/old_docs/API_docs_v82/constructors/upload_webFile.md b/old_docs/API_docs_v82/constructors/upload_webFile.md deleted file mode 100644 index ee8053b1..00000000 --- a/old_docs/API_docs_v82/constructors/upload_webFile.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: upload.webFile -description: Represents a chunk of an [HTTP webfile](https://core.telegram.org/api/files) downloaded through telegram's secure MTProto servers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: upload.webFile -[Back to constructors index](index.md) - - - -Represents a chunk of an [HTTP webfile](https://core.telegram.org/api/files) downloaded through telegram's secure MTProto servers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|size|[int](../types/int.md) | Yes|File size| -|mime\_type|[string](../types/string.md) | Yes|Mime type| -|file\_type|[storage\_FileType](../types/storage_FileType.md) | Yes|File type| -|mtime|[int](../types/int.md) | Yes|Modified time| -|bytes|[bytes](../types/bytes.md) | Yes|Data| - - - -### Type: [upload\_WebFile](../types/upload_WebFile.md) - - -### Example: - -```php -$upload_webFile = ['_' => 'upload.webFile', 'size' => int, 'mime_type' => 'string', 'file_type' => storage_FileType, 'mtime' => int, 'bytes' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -upload_webFile={_='upload.webFile', size=int, mime_type='string', file_type=storage_FileType, mtime=int, bytes='bytes'} - -``` - - diff --git a/old_docs/API_docs_v82/constructors/userFull.md b/old_docs/API_docs_v82/constructors/userFull.md index 07341da6..3ae2dbc7 100644 --- a/old_docs/API_docs_v82/constructors/userFull.md +++ b/old_docs/API_docs_v82/constructors/userFull.md @@ -19,7 +19,7 @@ Extended user info |phone\_calls\_private|[Bool](../types/Bool.md) | Optional|Whether this user's privacy settings allow you to call him| |user|[User](../types/User.md) | Optional|Remaining user info| |about|[string](../types/string.md) | Optional|Bio of the user| -|link|[contacts\_Link](../types/contacts_Link.md) | Yes|Link| +|link|[contacts.Link](../constructors/contacts.Link.md) | Yes|Link| |profile\_photo|[Photo](../types/Photo.md) | Optional|Profile photo| |notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Yes|Notification settings| |bot\_info|[BotInfo](../types/BotInfo.md) | Optional|For bots, info about the bot (bot commands, etc)| @@ -33,14 +33,14 @@ Extended user info ### Example: ```php -$userFull = ['_' => 'userFull', 'blocked' => Bool, 'phone_calls_available' => Bool, 'phone_calls_private' => Bool, 'user' => User, 'about' => 'string', 'link' => contacts_Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'bot_info' => BotInfo, 'common_chats_count' => int]; +$userFull = ['_' => 'userFull', 'blocked' => Bool, 'phone_calls_available' => Bool, 'phone_calls_private' => Bool, 'user' => User, 'about' => 'string', 'link' => contacts.Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'bot_info' => BotInfo, 'common_chats_count' => int]; ``` Or, if you're into Lua: ```lua -userFull={_='userFull', blocked=Bool, phone_calls_available=Bool, phone_calls_private=Bool, user=User, about='string', link=contacts_Link, profile_photo=Photo, notify_settings=PeerNotifySettings, bot_info=BotInfo, common_chats_count=int} +userFull={_='userFull', blocked=Bool, phone_calls_available=Bool, phone_calls_private=Bool, user=User, about='string', link=contacts.Link, profile_photo=Photo, notify_settings=PeerNotifySettings, bot_info=BotInfo, common_chats_count=int} ``` diff --git a/old_docs/API_docs_v82/methods/account.getAuthorizationForm.md b/old_docs/API_docs_v82/methods/account.getAuthorizationForm.md index 298951cb..b0d52e07 100644 --- a/old_docs/API_docs_v82/methods/account.getAuthorizationForm.md +++ b/old_docs/API_docs_v82/methods/account.getAuthorizationForm.md @@ -18,7 +18,7 @@ Returns a Telegram Passport authorization form for sharing data with a service |public\_key|[string](../types/string.md) | Service's public key | Yes| -### Return type: [account\_AuthorizationForm](../types/account_AuthorizationForm.md) +### Return type: [account.AuthorizationForm](../types/account.AuthorizationForm.md) ### Can bots use this method: **NO** @@ -35,12 +35,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_AuthorizationForm = $MadelineProto->account->getAuthorizationForm(['bot_id' => int, 'scope' => 'string', 'public_key' => 'string', ]); +$account.AuthorizationForm = $MadelineProto->account->getAuthorizationForm(['bot_id' => int, 'scope' => 'string', 'public_key' => 'string', ]); ``` Or, if you're into Lua: ```lua -account_AuthorizationForm = account.getAuthorizationForm({bot_id=int, scope='string', public_key='string', }) +account.AuthorizationForm = account.getAuthorizationForm({bot_id=int, scope='string', public_key='string', }) ``` diff --git a/old_docs/API_docs_v82/methods/account.getAuthorizations.md b/old_docs/API_docs_v82/methods/account.getAuthorizations.md index f69c130a..fad3a7ae 100644 --- a/old_docs/API_docs_v82/methods/account.getAuthorizations.md +++ b/old_docs/API_docs_v82/methods/account.getAuthorizations.md @@ -11,7 +11,7 @@ Get logged-in sessions -### Return type: [account\_Authorizations](../types/account_Authorizations.md) +### Return type: [account.Authorizations](../types/account.Authorizations.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_Authorizations = $MadelineProto->account->getAuthorizations(); +$account.Authorizations = $MadelineProto->account->getAuthorizations(); ``` Or, if you're into Lua: ```lua -account_Authorizations = account.getAuthorizations({}) +account.Authorizations = account.getAuthorizations({}) ``` diff --git a/old_docs/API_docs_v82/methods/account.getPassword.md b/old_docs/API_docs_v82/methods/account.getPassword.md index eed4aee3..621271b6 100644 --- a/old_docs/API_docs_v82/methods/account.getPassword.md +++ b/old_docs/API_docs_v82/methods/account.getPassword.md @@ -11,7 +11,7 @@ Obtain configuration for two-factor authorization with password -### Return type: [account\_Password](../types/account_Password.md) +### Return type: [account.Password](../types/account.Password.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_Password = $MadelineProto->account->getPassword(); +$account.Password = $MadelineProto->account->getPassword(); ``` Or, if you're into Lua: ```lua -account_Password = account.getPassword({}) +account.Password = account.getPassword({}) ``` diff --git a/old_docs/API_docs_v82/methods/account.getPasswordSettings.md b/old_docs/API_docs_v82/methods/account.getPasswordSettings.md index dcdae61a..3d3cce08 100644 --- a/old_docs/API_docs_v82/methods/account.getPasswordSettings.md +++ b/old_docs/API_docs_v82/methods/account.getPasswordSettings.md @@ -16,7 +16,7 @@ You cannot use this method directly; use $MadelineProto->update_2fa($params), in |current\_password\_hash|[bytes](../types/bytes.md) | You cannot use this method directly; use $MadelineProto->update_2fa($params), instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [account\_PasswordSettings](../types/account_PasswordSettings.md) +### Return type: [account.PasswordSettings](../types/account.PasswordSettings.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_PasswordSettings = $MadelineProto->account->getPasswordSettings(['current_password_hash' => 'bytes', ]); +$account.PasswordSettings = $MadelineProto->account->getPasswordSettings(['current_password_hash' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -account_PasswordSettings = account.getPasswordSettings({current_password_hash='bytes', }) +account.PasswordSettings = account.getPasswordSettings({current_password_hash='bytes', }) ``` ### Errors diff --git a/old_docs/API_docs_v82/methods/account.getPrivacy.md b/old_docs/API_docs_v82/methods/account.getPrivacy.md index 6a240129..e20c292c 100644 --- a/old_docs/API_docs_v82/methods/account.getPrivacy.md +++ b/old_docs/API_docs_v82/methods/account.getPrivacy.md @@ -16,7 +16,7 @@ Get privacy settings of current account |key|[InputPrivacyKey](../types/InputPrivacyKey.md) | Peer category whose privacy settings should be fetched | Yes| -### Return type: [account\_PrivacyRules](../types/account_PrivacyRules.md) +### Return type: [account.PrivacyRules](../types/account.PrivacyRules.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_PrivacyRules = $MadelineProto->account->getPrivacy(['key' => InputPrivacyKey, ]); +$account.PrivacyRules = $MadelineProto->account->getPrivacy(['key' => InputPrivacyKey, ]); ``` Or, if you're into Lua: ```lua -account_PrivacyRules = account.getPrivacy({key=InputPrivacyKey, }) +account.PrivacyRules = account.getPrivacy({key=InputPrivacyKey, }) ``` ### Errors diff --git a/old_docs/API_docs_v82/methods/account.getTmpPassword.md b/old_docs/API_docs_v82/methods/account.getTmpPassword.md index 4f269586..7e05a423 100644 --- a/old_docs/API_docs_v82/methods/account.getTmpPassword.md +++ b/old_docs/API_docs_v82/methods/account.getTmpPassword.md @@ -17,7 +17,7 @@ Get temporary payment password |period|[int](../types/int.md) | Time during which the temporary password will be valid, in seconds; should be between 60 and 86400 | Yes| -### Return type: [account\_TmpPassword](../types/account_TmpPassword.md) +### Return type: [account.TmpPassword](../types/account.TmpPassword.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_TmpPassword = $MadelineProto->account->getTmpPassword(['password_hash' => 'bytes', 'period' => int, ]); +$account.TmpPassword = $MadelineProto->account->getTmpPassword(['password_hash' => 'bytes', 'period' => int, ]); ``` Or, if you're into Lua: ```lua -account_TmpPassword = account.getTmpPassword({password_hash='bytes', period=int, }) +account.TmpPassword = account.getTmpPassword({password_hash='bytes', period=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v82/methods/account.getWebAuthorizations.md b/old_docs/API_docs_v82/methods/account.getWebAuthorizations.md index 1a43f138..b97fe978 100644 --- a/old_docs/API_docs_v82/methods/account.getWebAuthorizations.md +++ b/old_docs/API_docs_v82/methods/account.getWebAuthorizations.md @@ -11,7 +11,7 @@ Get web [login widget](https://core.telegram.org/widgets/login) authorizations -### Return type: [account\_WebAuthorizations](../types/account_WebAuthorizations.md) +### Return type: [account.WebAuthorizations](../types/account.WebAuthorizations.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_WebAuthorizations = $MadelineProto->account->getWebAuthorizations(); +$account.WebAuthorizations = $MadelineProto->account->getWebAuthorizations(); ``` Or, if you're into Lua: ```lua -account_WebAuthorizations = account.getWebAuthorizations({}) +account.WebAuthorizations = account.getWebAuthorizations({}) ``` diff --git a/old_docs/API_docs_v82/methods/account.initTakeoutSession.md b/old_docs/API_docs_v82/methods/account.initTakeoutSession.md index 01b3ae0f..3b8774b8 100644 --- a/old_docs/API_docs_v82/methods/account.initTakeoutSession.md +++ b/old_docs/API_docs_v82/methods/account.initTakeoutSession.md @@ -22,7 +22,7 @@ Intialize account takeout session |file\_max\_size|[int](../types/int.md) | Maximum size of files to export | Optional| -### Return type: [account\_Takeout](../types/account_Takeout.md) +### Return type: [account.Takeout](../types/account.Takeout.md) ### Can bots use this method: **NO** @@ -39,12 +39,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_Takeout = $MadelineProto->account->initTakeoutSession(['contacts' => Bool, 'message_users' => Bool, 'message_chats' => Bool, 'message_megagroups' => Bool, 'message_channels' => Bool, 'files' => Bool, 'file_max_size' => int, ]); +$account.Takeout = $MadelineProto->account->initTakeoutSession(['contacts' => Bool, 'message_users' => Bool, 'message_chats' => Bool, 'message_megagroups' => Bool, 'message_channels' => Bool, 'files' => Bool, 'file_max_size' => int, ]); ``` Or, if you're into Lua: ```lua -account_Takeout = account.initTakeoutSession({contacts=Bool, message_users=Bool, message_chats=Bool, message_megagroups=Bool, message_channels=Bool, files=Bool, file_max_size=int, }) +account.Takeout = account.initTakeoutSession({contacts=Bool, message_users=Bool, message_chats=Bool, message_megagroups=Bool, message_channels=Bool, files=Bool, file_max_size=int, }) ``` diff --git a/old_docs/API_docs_v82/methods/account.sendChangePhoneCode.md b/old_docs/API_docs_v82/methods/account.sendChangePhoneCode.md index 0f81306e..30589ffa 100644 --- a/old_docs/API_docs_v82/methods/account.sendChangePhoneCode.md +++ b/old_docs/API_docs_v82/methods/account.sendChangePhoneCode.md @@ -18,7 +18,7 @@ Verify a new phone number to associate to the current account |current\_number|[Bool](../types/Bool.md) | Current phone number | Optional| -### Return type: [auth\_SentCode](../types/auth_SentCode.md) +### Return type: [auth.SentCode](../types/auth.SentCode.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_SentCode = $MadelineProto->account->sendChangePhoneCode(['allow_flashcall' => Bool, 'phone_number' => 'string', 'current_number' => Bool, ]); +$auth.SentCode = $MadelineProto->account->sendChangePhoneCode(['allow_flashcall' => Bool, 'phone_number' => 'string', 'current_number' => Bool, ]); ``` Or, if you're into Lua: ```lua -auth_SentCode = account.sendChangePhoneCode({allow_flashcall=Bool, phone_number='string', current_number=Bool, }) +auth.SentCode = account.sendChangePhoneCode({allow_flashcall=Bool, phone_number='string', current_number=Bool, }) ``` ### Errors diff --git a/old_docs/API_docs_v82/methods/account.sendConfirmPhoneCode.md b/old_docs/API_docs_v82/methods/account.sendConfirmPhoneCode.md index 68ba8fd3..9ec24f07 100644 --- a/old_docs/API_docs_v82/methods/account.sendConfirmPhoneCode.md +++ b/old_docs/API_docs_v82/methods/account.sendConfirmPhoneCode.md @@ -18,7 +18,7 @@ Send confirmation code to cancel account deletion, for more info [click here »] |current\_number|[Bool](../types/Bool.md) | The current phone number | Optional| -### Return type: [auth\_SentCode](../types/auth_SentCode.md) +### Return type: [auth.SentCode](../types/auth.SentCode.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_SentCode = $MadelineProto->account->sendConfirmPhoneCode(['allow_flashcall' => Bool, 'hash' => 'string', 'current_number' => Bool, ]); +$auth.SentCode = $MadelineProto->account->sendConfirmPhoneCode(['allow_flashcall' => Bool, 'hash' => 'string', 'current_number' => Bool, ]); ``` Or, if you're into Lua: ```lua -auth_SentCode = account.sendConfirmPhoneCode({allow_flashcall=Bool, hash='string', current_number=Bool, }) +auth.SentCode = account.sendConfirmPhoneCode({allow_flashcall=Bool, hash='string', current_number=Bool, }) ``` ### Errors diff --git a/old_docs/API_docs_v82/methods/account.sendVerifyEmailCode.md b/old_docs/API_docs_v82/methods/account.sendVerifyEmailCode.md index 54b1fc3f..a4768852 100644 --- a/old_docs/API_docs_v82/methods/account.sendVerifyEmailCode.md +++ b/old_docs/API_docs_v82/methods/account.sendVerifyEmailCode.md @@ -16,7 +16,7 @@ Send the verification email code for telegram [passport](https://core.telegram.o |email|[string](../types/string.md) | The email where to send the code | Yes| -### Return type: [account\_SentEmailCode](../types/account_SentEmailCode.md) +### Return type: [account.SentEmailCode](../types/account.SentEmailCode.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_SentEmailCode = $MadelineProto->account->sendVerifyEmailCode(['email' => 'string', ]); +$account.SentEmailCode = $MadelineProto->account->sendVerifyEmailCode(['email' => 'string', ]); ``` Or, if you're into Lua: ```lua -account_SentEmailCode = account.sendVerifyEmailCode({email='string', }) +account.SentEmailCode = account.sendVerifyEmailCode({email='string', }) ``` diff --git a/old_docs/API_docs_v82/methods/account.sendVerifyPhoneCode.md b/old_docs/API_docs_v82/methods/account.sendVerifyPhoneCode.md index 29cda026..c03ddf63 100644 --- a/old_docs/API_docs_v82/methods/account.sendVerifyPhoneCode.md +++ b/old_docs/API_docs_v82/methods/account.sendVerifyPhoneCode.md @@ -18,7 +18,7 @@ Send the verification phone code for telegram [passport](https://core.telegram.o |current\_number|[Bool](../types/Bool.md) | Is this the current number? | Optional| -### Return type: [auth\_SentCode](../types/auth_SentCode.md) +### Return type: [auth.SentCode](../types/auth.SentCode.md) ### Can bots use this method: **NO** @@ -35,12 +35,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_SentCode = $MadelineProto->account->sendVerifyPhoneCode(['allow_flashcall' => Bool, 'phone_number' => 'string', 'current_number' => Bool, ]); +$auth.SentCode = $MadelineProto->account->sendVerifyPhoneCode(['allow_flashcall' => Bool, 'phone_number' => 'string', 'current_number' => Bool, ]); ``` Or, if you're into Lua: ```lua -auth_SentCode = account.sendVerifyPhoneCode({allow_flashcall=Bool, phone_number='string', current_number=Bool, }) +auth.SentCode = account.sendVerifyPhoneCode({allow_flashcall=Bool, phone_number='string', current_number=Bool, }) ``` diff --git a/old_docs/API_docs_v82/methods/account.setPrivacy.md b/old_docs/API_docs_v82/methods/account.setPrivacy.md index 7c4cfba7..096d373e 100644 --- a/old_docs/API_docs_v82/methods/account.setPrivacy.md +++ b/old_docs/API_docs_v82/methods/account.setPrivacy.md @@ -17,7 +17,7 @@ Change privacy settings of current account |rules|Array of [InputPrivacyRule](../types/InputPrivacyRule.md) | Privacy settings | Yes| -### Return type: [account\_PrivacyRules](../types/account_PrivacyRules.md) +### Return type: [account.PrivacyRules](../types/account.PrivacyRules.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_PrivacyRules = $MadelineProto->account->setPrivacy(['key' => InputPrivacyKey, 'rules' => [InputPrivacyRule, InputPrivacyRule], ]); +$account.PrivacyRules = $MadelineProto->account->setPrivacy(['key' => InputPrivacyKey, 'rules' => [InputPrivacyRule, InputPrivacyRule], ]); ``` Or, if you're into Lua: ```lua -account_PrivacyRules = account.setPrivacy({key=InputPrivacyKey, rules={InputPrivacyRule}, }) +account.PrivacyRules = account.setPrivacy({key=InputPrivacyKey, rules={InputPrivacyRule}, }) ``` ### Errors diff --git a/old_docs/API_docs_v82/methods/api_README.md b/old_docs/API_docs_v82/methods/api_README.md index 030d3f84..9c553901 100644 --- a/old_docs/API_docs_v82/methods/api_README.md +++ b/old_docs/API_docs_v82/methods/api_README.md @@ -72,11 +72,11 @@ $MadelineProto->[account->getAllSecureValues](account.getAllSecureValues.md)(\[\ ***

-$MadelineProto->[account->getAuthorizationForm](account.getAuthorizationForm.md)(\['bot_id' => [int](../types/int.md), 'scope' => [string](../types/string.md), 'public_key' => [string](../types/string.md), \]) === [$account\_AuthorizationForm](../types/account_AuthorizationForm.md) +$MadelineProto->[account->getAuthorizationForm](account.getAuthorizationForm.md)(\['bot_id' => [int](../types/int.md), 'scope' => [string](../types/string.md), 'public_key' => [string](../types/string.md), \]) === [$account.AuthorizationForm](../types/account.AuthorizationForm.md) ***

-$MadelineProto->[account->getAuthorizations](account.getAuthorizations.md)(\[\]) === [$account\_Authorizations](../types/account_Authorizations.md) +$MadelineProto->[account->getAuthorizations](account.getAuthorizations.md)(\[\]) === [$account.Authorizations](../types/account.Authorizations.md) ***

@@ -84,15 +84,15 @@ $MadelineProto->[account->getNotifySettings](account.getNotifySettings.md)(\['pe ***

-$MadelineProto->[account->getPassword](account.getPassword.md)(\[\]) === [$account\_Password](../types/account_Password.md) +$MadelineProto->[account->getPassword](account.getPassword.md)(\[\]) === [$account.Password](../types/account.Password.md) ***

-$MadelineProto->[account->getPasswordSettings](account.getPasswordSettings.md)(\['current_password_hash' => [bytes](../types/bytes.md), \]) === [$account\_PasswordSettings](../types/account_PasswordSettings.md) +$MadelineProto->[account->getPasswordSettings](account.getPasswordSettings.md)(\['current_password_hash' => [bytes](../types/bytes.md), \]) === [$account.PasswordSettings](../types/account.PasswordSettings.md) ***

-$MadelineProto->[account->getPrivacy](account.getPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), \]) === [$account\_PrivacyRules](../types/account_PrivacyRules.md) +$MadelineProto->[account->getPrivacy](account.getPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), \]) === [$account.PrivacyRules](../types/account.PrivacyRules.md) ***

@@ -100,7 +100,7 @@ $MadelineProto->[account->getSecureValue](account.getSecureValue.md)(\['types' = ***

-$MadelineProto->[account->getTmpPassword](account.getTmpPassword.md)(\['password_hash' => [bytes](../types/bytes.md), 'period' => [int](../types/int.md), \]) === [$account\_TmpPassword](../types/account_TmpPassword.md) +$MadelineProto->[account->getTmpPassword](account.getTmpPassword.md)(\['password_hash' => [bytes](../types/bytes.md), 'period' => [int](../types/int.md), \]) === [$account.TmpPassword](../types/account.TmpPassword.md) ***

@@ -108,11 +108,11 @@ $MadelineProto->[account->getWallPapers](account.getWallPapers.md)(\[\]) === [$V ***

-$MadelineProto->[account->getWebAuthorizations](account.getWebAuthorizations.md)(\[\]) === [$account\_WebAuthorizations](../types/account_WebAuthorizations.md) +$MadelineProto->[account->getWebAuthorizations](account.getWebAuthorizations.md)(\[\]) === [$account.WebAuthorizations](../types/account.WebAuthorizations.md) ***

-$MadelineProto->[account->initTakeoutSession](account.initTakeoutSession.md)(\['contacts' => [Bool](../types/Bool.md), 'message_users' => [Bool](../types/Bool.md), 'message_chats' => [Bool](../types/Bool.md), 'message_megagroups' => [Bool](../types/Bool.md), 'message_channels' => [Bool](../types/Bool.md), 'files' => [Bool](../types/Bool.md), 'file_max_size' => [int](../types/int.md), \]) === [$account\_Takeout](../types/account_Takeout.md) +$MadelineProto->[account->initTakeoutSession](account.initTakeoutSession.md)(\['contacts' => [Bool](../types/Bool.md), 'message_users' => [Bool](../types/Bool.md), 'message_chats' => [Bool](../types/Bool.md), 'message_megagroups' => [Bool](../types/Bool.md), 'message_channels' => [Bool](../types/Bool.md), 'files' => [Bool](../types/Bool.md), 'file_max_size' => [int](../types/int.md), \]) === [$account.Takeout](../types/account.Takeout.md) ***

@@ -144,19 +144,19 @@ $MadelineProto->[account->saveSecureValue](account.saveSecureValue.md)(\['value' ***

-$MadelineProto->[account->sendChangePhoneCode](account.sendChangePhoneCode.md)(\['allow_flashcall' => [Bool](../types/Bool.md), 'phone_number' => [string](../types/string.md), 'current_number' => [Bool](../types/Bool.md), \]) === [$auth\_SentCode](../types/auth_SentCode.md) +$MadelineProto->[account->sendChangePhoneCode](account.sendChangePhoneCode.md)(\['allow_flashcall' => [Bool](../types/Bool.md), 'phone_number' => [string](../types/string.md), 'current_number' => [Bool](../types/Bool.md), \]) === [$auth.SentCode](../types/auth.SentCode.md) ***

-$MadelineProto->[account->sendConfirmPhoneCode](account.sendConfirmPhoneCode.md)(\['allow_flashcall' => [Bool](../types/Bool.md), 'hash' => [string](../types/string.md), 'current_number' => [Bool](../types/Bool.md), \]) === [$auth\_SentCode](../types/auth_SentCode.md) +$MadelineProto->[account->sendConfirmPhoneCode](account.sendConfirmPhoneCode.md)(\['allow_flashcall' => [Bool](../types/Bool.md), 'hash' => [string](../types/string.md), 'current_number' => [Bool](../types/Bool.md), \]) === [$auth.SentCode](../types/auth.SentCode.md) ***

-$MadelineProto->[account->sendVerifyEmailCode](account.sendVerifyEmailCode.md)(\['email' => [string](../types/string.md), \]) === [$account\_SentEmailCode](../types/account_SentEmailCode.md) +$MadelineProto->[account->sendVerifyEmailCode](account.sendVerifyEmailCode.md)(\['email' => [string](../types/string.md), \]) === [$account.SentEmailCode](../types/account.SentEmailCode.md) ***

-$MadelineProto->[account->sendVerifyPhoneCode](account.sendVerifyPhoneCode.md)(\['allow_flashcall' => [Bool](../types/Bool.md), 'phone_number' => [string](../types/string.md), 'current_number' => [Bool](../types/Bool.md), \]) === [$auth\_SentCode](../types/auth_SentCode.md) +$MadelineProto->[account->sendVerifyPhoneCode](account.sendVerifyPhoneCode.md)(\['allow_flashcall' => [Bool](../types/Bool.md), 'phone_number' => [string](../types/string.md), 'current_number' => [Bool](../types/Bool.md), \]) === [$auth.SentCode](../types/auth.SentCode.md) ***

@@ -164,7 +164,7 @@ $MadelineProto->[account->setAccountTTL](account.setAccountTTL.md)(\['ttl' => [A ***

-$MadelineProto->[account->setPrivacy](account.setPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), 'rules' => \[[InputPrivacyRule](../types/InputPrivacyRule.md)\], \]) === [$account\_PrivacyRules](../types/account_PrivacyRules.md) +$MadelineProto->[account->setPrivacy](account.setPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), 'rules' => \[[InputPrivacyRule](../types/InputPrivacyRule.md)\], \]) === [$account.PrivacyRules](../types/account.PrivacyRules.md) ***

@@ -212,7 +212,7 @@ $MadelineProto->[auth->cancelCode](auth.cancelCode.md)(\['phone_number' => [stri ***

-$MadelineProto->[auth->checkPassword](auth.checkPassword.md)(\['password_hash' => [bytes](../types/bytes.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->checkPassword](auth.checkPassword.md)(\['password_hash' => [bytes](../types/bytes.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

@@ -220,15 +220,15 @@ $MadelineProto->[auth->dropTempAuthKeys](auth.dropTempAuthKeys.md)(\['except_aut ***

-$MadelineProto->[auth->exportAuthorization](auth.exportAuthorization.md)(\['dc_id' => [int](../types/int.md), \]) === [$auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) +$MadelineProto->[auth->exportAuthorization](auth.exportAuthorization.md)(\['dc_id' => [int](../types/int.md), \]) === [$auth.ExportedAuthorization](../types/auth.ExportedAuthorization.md) ***

-$MadelineProto->[auth->importAuthorization](auth.importAuthorization.md)(\['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->importAuthorization](auth.importAuthorization.md)(\['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

-$MadelineProto->[auth->importBotAuthorization](auth.importBotAuthorization.md)(\['api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), 'bot_auth_token' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->importBotAuthorization](auth.importBotAuthorization.md)(\['api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), 'bot_auth_token' => [string](../types/string.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

@@ -236,15 +236,15 @@ $MadelineProto->[auth->logOut](auth.logOut.md)(\[\]) === [$Bool](../types/Bool.m ***

-$MadelineProto->[auth->recoverPassword](auth.recoverPassword.md)(\['code' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->recoverPassword](auth.recoverPassword.md)(\['code' => [string](../types/string.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

-$MadelineProto->[auth->requestPasswordRecovery](auth.requestPasswordRecovery.md)(\[\]) === [$auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) +$MadelineProto->[auth->requestPasswordRecovery](auth.requestPasswordRecovery.md)(\[\]) === [$auth.PasswordRecovery](../types/auth.PasswordRecovery.md) ***

-$MadelineProto->[auth->resendCode](auth.resendCode.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), \]) === [$auth\_SentCode](../types/auth_SentCode.md) +$MadelineProto->[auth->resendCode](auth.resendCode.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), \]) === [$auth.SentCode](../types/auth.SentCode.md) ***

@@ -252,15 +252,15 @@ $MadelineProto->[auth->resetAuthorizations](auth.resetAuthorizations.md)(\[\]) = ***

-$MadelineProto->[auth->sendCode](auth.sendCode.md)(\['allow_flashcall' => [Bool](../types/Bool.md), 'phone_number' => [string](../types/string.md), 'current_number' => [Bool](../types/Bool.md), 'api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), \]) === [$auth\_SentCode](../types/auth_SentCode.md) +$MadelineProto->[auth->sendCode](auth.sendCode.md)(\['allow_flashcall' => [Bool](../types/Bool.md), 'phone_number' => [string](../types/string.md), 'current_number' => [Bool](../types/Bool.md), 'api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), \]) === [$auth.SentCode](../types/auth.SentCode.md) ***

-$MadelineProto->[auth->signIn](auth.signIn.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->signIn](auth.signIn.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

-$MadelineProto->[auth->signUp](auth.signUp.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->signUp](auth.signUp.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

@@ -288,11 +288,11 @@ $MadelineProto->[channels->deleteHistory](channels.deleteHistory.md)(\['channel' ***

-$MadelineProto->[channels->deleteMessages](channels.deleteMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) +$MadelineProto->[channels->deleteMessages](channels.deleteMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages.AffectedMessages](../types/messages.AffectedMessages.md) ***

-$MadelineProto->[channels->deleteUserHistory](channels.deleteUserHistory.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages\_AffectedHistory](../types/messages_AffectedHistory.md) +$MadelineProto->[channels->deleteUserHistory](channels.deleteUserHistory.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages.AffectedHistory](../types/messages.AffectedHistory.md) ***

@@ -324,35 +324,35 @@ $MadelineProto->[channels->exportMessageLink](channels.exportMessageLink.md)(\[' ***

-$MadelineProto->[channels->getAdminLog](channels.getAdminLog.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'q' => [string](../types/string.md), 'events_filter' => [ChannelAdminLogEventsFilter](../types/ChannelAdminLogEventsFilter.md), 'admins' => \[[InputUser](../types/InputUser.md)\], 'max_id' => [long](../types/long.md), 'min_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$channels\_AdminLogResults](../types/channels_AdminLogResults.md) +$MadelineProto->[channels->getAdminLog](channels.getAdminLog.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'q' => [string](../types/string.md), 'events_filter' => [ChannelAdminLogEventsFilter](../types/ChannelAdminLogEventsFilter.md), 'admins' => \[[InputUser](../types/InputUser.md)\], 'max_id' => [long](../types/long.md), 'min_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$channels.AdminLogResults](../types/channels.AdminLogResults.md) ***

-$MadelineProto->[channels->getAdminedPublicChannels](channels.getAdminedPublicChannels.md)(\[\]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[channels->getAdminedPublicChannels](channels.getAdminedPublicChannels.md)(\[\]) === [$messages.Chats](../types/messages.Chats.md) ***

-$MadelineProto->[channels->getChannels](channels.getChannels.md)(\['id' => \[[InputChannel](../types/InputChannel.md)\], \]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[channels->getChannels](channels.getChannels.md)(\['id' => \[[InputChannel](../types/InputChannel.md)\], \]) === [$messages.Chats](../types/messages.Chats.md) ***

-$MadelineProto->[channels->getFullChannel](channels.getFullChannel.md)(\['channel' => [InputChannel](../types/InputChannel.md), \]) === [$messages\_ChatFull](../types/messages_ChatFull.md) +$MadelineProto->[channels->getFullChannel](channels.getFullChannel.md)(\['channel' => [InputChannel](../types/InputChannel.md), \]) === [$messages.ChatFull](../types/messages.ChatFull.md) ***

-$MadelineProto->[channels->getLeftChannels](channels.getLeftChannels.md)(\['offset' => [int](../types/int.md), \]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[channels->getLeftChannels](channels.getLeftChannels.md)(\['offset' => [int](../types/int.md), \]) === [$messages.Chats](../types/messages.Chats.md) ***

-$MadelineProto->[channels->getMessages](channels.getMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[InputMessage](../types/InputMessage.md)\], \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[channels->getMessages](channels.getMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[InputMessage](../types/InputMessage.md)\], \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[channels->getParticipant](channels.getParticipant.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$channels\_ChannelParticipant](../types/channels_ChannelParticipant.md) +$MadelineProto->[channels->getParticipant](channels.getParticipant.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$channels.ChannelParticipant](../types/channels.ChannelParticipant.md) ***

-$MadelineProto->[channels->getParticipants](channels.getParticipants.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$channels\_ChannelParticipants](../types/channels_ChannelParticipants.md) +$MadelineProto->[channels->getParticipants](channels.getParticipants.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$channels.ChannelParticipants](../types/channels.ChannelParticipants.md) ***

@@ -408,7 +408,7 @@ $MadelineProto->[contacts->block](contacts.block.md)(\['id' => [InputUser](../ty ***

-$MadelineProto->[contacts->deleteContact](contacts.deleteContact.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$contacts\_Link](../types/contacts_Link.md) +$MadelineProto->[contacts->deleteContact](contacts.deleteContact.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$contacts.Link](../types/contacts.Link.md) ***

@@ -420,11 +420,11 @@ $MadelineProto->[contacts->exportCard](contacts.exportCard.md)(\[\]) === [$Vecto ***

-$MadelineProto->[contacts->getBlocked](contacts.getBlocked.md)(\['offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$contacts\_Blocked](../types/contacts_Blocked.md) +$MadelineProto->[contacts->getBlocked](contacts.getBlocked.md)(\['offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$contacts.Blocked](../types/contacts.Blocked.md) ***

-$MadelineProto->[contacts->getContacts](contacts.getContacts.md)(\['hash' => [int](../types/int.md), \]) === [$contacts\_Contacts](../types/contacts_Contacts.md) +$MadelineProto->[contacts->getContacts](contacts.getContacts.md)(\['hash' => [int](../types/int.md), \]) === [$contacts.Contacts](../types/contacts.Contacts.md) ***

@@ -436,7 +436,7 @@ $MadelineProto->[contacts->getStatuses](contacts.getStatuses.md)(\[\]) === [$Vec ***

-$MadelineProto->[contacts->getTopPeers](contacts.getTopPeers.md)(\['correspondents' => [Bool](../types/Bool.md), 'bots_pm' => [Bool](../types/Bool.md), 'bots_inline' => [Bool](../types/Bool.md), 'phone_calls' => [Bool](../types/Bool.md), 'groups' => [Bool](../types/Bool.md), 'channels' => [Bool](../types/Bool.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$contacts\_TopPeers](../types/contacts_TopPeers.md) +$MadelineProto->[contacts->getTopPeers](contacts.getTopPeers.md)(\['correspondents' => [Bool](../types/Bool.md), 'bots_pm' => [Bool](../types/Bool.md), 'bots_inline' => [Bool](../types/Bool.md), 'phone_calls' => [Bool](../types/Bool.md), 'groups' => [Bool](../types/Bool.md), 'channels' => [Bool](../types/Bool.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$contacts.TopPeers](../types/contacts.TopPeers.md) ***

@@ -444,7 +444,7 @@ $MadelineProto->[contacts->importCard](contacts.importCard.md)(\['export_card' = ***

-$MadelineProto->[contacts->importContacts](contacts.importContacts.md)(\['contacts' => \[[InputContact](../types/InputContact.md)\], \]) === [$contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) +$MadelineProto->[contacts->importContacts](contacts.importContacts.md)(\['contacts' => \[[InputContact](../types/InputContact.md)\], \]) === [$contacts.ImportedContacts](../types/contacts.ImportedContacts.md) ***

@@ -456,11 +456,11 @@ $MadelineProto->[contacts->resetTopPeerRating](contacts.resetTopPeerRating.md)(\ ***

-$MadelineProto->[contacts->resolveUsername](contacts.resolveUsername.md)(\['username' => [string](../types/string.md), \]) === [$contacts\_ResolvedPeer](../types/contacts_ResolvedPeer.md) +$MadelineProto->[contacts->resolveUsername](contacts.resolveUsername.md)(\['username' => [string](../types/string.md), \]) === [$contacts.ResolvedPeer](../types/contacts.ResolvedPeer.md) ***

-$MadelineProto->[contacts->search](contacts.search.md)(\['q' => [string](../types/string.md), 'limit' => [int](../types/int.md), \]) === [$contacts\_Found](../types/contacts_Found.md) +$MadelineProto->[contacts->search](contacts.search.md)(\['q' => [string](../types/string.md), 'limit' => [int](../types/int.md), \]) === [$contacts.Found](../types/contacts.Found.md) ***

@@ -480,7 +480,7 @@ $MadelineProto->[help->getAppChangelog](help.getAppChangelog.md)(\['prev_app_ver ***

-$MadelineProto->[help->getAppUpdate](help.getAppUpdate.md)(\[\]) === [$help\_AppUpdate](../types/help_AppUpdate.md) +$MadelineProto->[help->getAppUpdate](help.getAppUpdate.md)(\[\]) === [$help.AppUpdate](../types/help.AppUpdate.md) ***

@@ -492,11 +492,11 @@ $MadelineProto->[help->getConfig](help.getConfig.md)(\[\]) === [$Config](../type ***

-$MadelineProto->[help->getDeepLinkInfo](help.getDeepLinkInfo.md)(\['path' => [string](../types/string.md), \]) === [$help\_DeepLinkInfo](../types/help_DeepLinkInfo.md) +$MadelineProto->[help->getDeepLinkInfo](help.getDeepLinkInfo.md)(\['path' => [string](../types/string.md), \]) === [$help.DeepLinkInfo](../types/help.DeepLinkInfo.md) ***

-$MadelineProto->[help->getInviteText](help.getInviteText.md)(\[\]) === [$help\_InviteText](../types/help_InviteText.md) +$MadelineProto->[help->getInviteText](help.getInviteText.md)(\[\]) === [$help.InviteText](../types/help.InviteText.md) ***

@@ -504,19 +504,19 @@ $MadelineProto->[help->getNearestDc](help.getNearestDc.md)(\[\]) === [$NearestDc ***

-$MadelineProto->[help->getProxyData](help.getProxyData.md)(\[\]) === [$help\_ProxyData](../types/help_ProxyData.md) +$MadelineProto->[help->getProxyData](help.getProxyData.md)(\[\]) === [$help.ProxyData](../types/help.ProxyData.md) ***

-$MadelineProto->[help->getRecentMeUrls](help.getRecentMeUrls.md)(\['referer' => [string](../types/string.md), \]) === [$help\_RecentMeUrls](../types/help_RecentMeUrls.md) +$MadelineProto->[help->getRecentMeUrls](help.getRecentMeUrls.md)(\['referer' => [string](../types/string.md), \]) === [$help.RecentMeUrls](../types/help.RecentMeUrls.md) ***

-$MadelineProto->[help->getSupport](help.getSupport.md)(\[\]) === [$help\_Support](../types/help_Support.md) +$MadelineProto->[help->getSupport](help.getSupport.md)(\[\]) === [$help.Support](../types/help.Support.md) ***

-$MadelineProto->[help->getTermsOfServiceUpdate](help.getTermsOfServiceUpdate.md)(\[\]) === [$help\_TermsOfServiceUpdate](../types/help_TermsOfServiceUpdate.md) +$MadelineProto->[help->getTermsOfServiceUpdate](help.getTermsOfServiceUpdate.md)(\[\]) === [$help.TermsOfServiceUpdate](../types/help.TermsOfServiceUpdate.md) ***

@@ -596,11 +596,11 @@ $MadelineProto->[messages->deleteChatUser](messages.deleteChatUser.md)(\['chat_i ***

-$MadelineProto->[messages->deleteHistory](messages.deleteHistory.md)(\['just_clear' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), \]) === [$messages\_AffectedHistory](../types/messages_AffectedHistory.md) +$MadelineProto->[messages->deleteHistory](messages.deleteHistory.md)(\['just_clear' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), \]) === [$messages.AffectedHistory](../types/messages.AffectedHistory.md) ***

-$MadelineProto->[messages->deleteMessages](messages.deleteMessages.md)(\['revoke' => [Bool](../types/Bool.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) +$MadelineProto->[messages->deleteMessages](messages.deleteMessages.md)(\['revoke' => [Bool](../types/Bool.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages.AffectedMessages](../types/messages.AffectedMessages.md) ***

@@ -640,7 +640,7 @@ $MadelineProto->[messages->forwardMessages](messages.forwardMessages.md)(\['sile ***

-$MadelineProto->[messages->getAllChats](messages.getAllChats.md)(\['except_ids' => \[[int](../types/int.md)\], \]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[messages->getAllChats](messages.getAllChats.md)(\['except_ids' => \[[int](../types/int.md)\], \]) === [$messages.Chats](../types/messages.Chats.md) ***

@@ -648,11 +648,11 @@ $MadelineProto->[messages->getAllDrafts](messages.getAllDrafts.md)(\[\]) === [$U ***

-$MadelineProto->[messages->getAllStickers](messages.getAllStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages\_AllStickers](../types/messages_AllStickers.md) +$MadelineProto->[messages->getAllStickers](messages.getAllStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages.AllStickers](../types/messages.AllStickers.md) ***

-$MadelineProto->[messages->getArchivedStickers](messages.getArchivedStickers.md)(\['masks' => [Bool](../types/Bool.md), 'offset_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$messages\_ArchivedStickers](../types/messages_ArchivedStickers.md) +$MadelineProto->[messages->getArchivedStickers](messages.getArchivedStickers.md)(\['masks' => [Bool](../types/Bool.md), 'offset_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$messages.ArchivedStickers](../types/messages.ArchivedStickers.md) ***

@@ -660,19 +660,19 @@ $MadelineProto->[messages->getAttachedStickers](messages.getAttachedStickers.md) ***

-$MadelineProto->[messages->getBotCallbackAnswer](messages.getBotCallbackAnswer.md)(\['game' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'msg_id' => [int](../types/int.md), 'data' => [bytes](../types/bytes.md), \]) === [$messages\_BotCallbackAnswer](../types/messages_BotCallbackAnswer.md) +$MadelineProto->[messages->getBotCallbackAnswer](messages.getBotCallbackAnswer.md)(\['game' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'msg_id' => [int](../types/int.md), 'data' => [bytes](../types/bytes.md), \]) === [$messages.BotCallbackAnswer](../types/messages.BotCallbackAnswer.md) ***

-$MadelineProto->[messages->getChats](messages.getChats.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[messages->getChats](messages.getChats.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages.Chats](../types/messages.Chats.md) ***

-$MadelineProto->[messages->getCommonChats](messages.getCommonChats.md)(\['user_id' => [InputUser](../types/InputUser.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[messages->getCommonChats](messages.getCommonChats.md)(\['user_id' => [InputUser](../types/InputUser.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages.Chats](../types/messages.Chats.md) ***

-$MadelineProto->[messages->getDhConfig](messages.getDhConfig.md)(\['version' => [int](../types/int.md), 'random_length' => [int](../types/int.md), \]) === [$messages\_DhConfig](../types/messages_DhConfig.md) +$MadelineProto->[messages->getDhConfig](messages.getDhConfig.md)(\['version' => [int](../types/int.md), 'random_length' => [int](../types/int.md), \]) === [$messages.DhConfig](../types/messages.DhConfig.md) ***

@@ -680,7 +680,7 @@ $MadelineProto->[messages->getDialogUnreadMarks](messages.getDialogUnreadMarks.m ***

-$MadelineProto->[messages->getDialogs](messages.getDialogs.md)(\['exclude_pinned' => [Bool](../types/Bool.md), 'offset_date' => [int](../types/int.md), 'offset_id' => [int](../types/int.md), 'offset_peer' => [InputPeer](../types/InputPeer.md), 'limit' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$messages\_Dialogs](../types/messages_Dialogs.md) +$MadelineProto->[messages->getDialogs](messages.getDialogs.md)(\['exclude_pinned' => [Bool](../types/Bool.md), 'offset_date' => [int](../types/int.md), 'offset_id' => [int](../types/int.md), 'offset_peer' => [InputPeer](../types/InputPeer.md), 'limit' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$messages.Dialogs](../types/messages.Dialogs.md) ***

@@ -688,43 +688,43 @@ $MadelineProto->[messages->getDocumentByHash](messages.getDocumentByHash.md)(\[' ***

-$MadelineProto->[messages->getFavedStickers](messages.getFavedStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages\_FavedStickers](../types/messages_FavedStickers.md) +$MadelineProto->[messages->getFavedStickers](messages.getFavedStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages.FavedStickers](../types/messages.FavedStickers.md) ***

-$MadelineProto->[messages->getFeaturedStickers](messages.getFeaturedStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages\_FeaturedStickers](../types/messages_FeaturedStickers.md) +$MadelineProto->[messages->getFeaturedStickers](messages.getFeaturedStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages.FeaturedStickers](../types/messages.FeaturedStickers.md) ***

-$MadelineProto->[messages->getFullChat](messages.getFullChat.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), \]) === [$messages\_ChatFull](../types/messages_ChatFull.md) +$MadelineProto->[messages->getFullChat](messages.getFullChat.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), \]) === [$messages.ChatFull](../types/messages.ChatFull.md) ***

-$MadelineProto->[messages->getGameHighScores](messages.getGameHighScores.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages\_HighScores](../types/messages_HighScores.md) +$MadelineProto->[messages->getGameHighScores](messages.getGameHighScores.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages.HighScores](../types/messages.HighScores.md) ***

-$MadelineProto->[messages->getHistory](messages.getHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'offset_date' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->getHistory](messages.getHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'offset_date' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[messages->getInlineBotResults](messages.getInlineBotResults.md)(\['bot' => [InputUser](../types/InputUser.md), 'peer' => [InputPeer](../types/InputPeer.md), 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'query' => [string](../types/string.md), 'offset' => [string](../types/string.md), \]) === [$messages\_BotResults](../types/messages_BotResults.md) +$MadelineProto->[messages->getInlineBotResults](messages.getInlineBotResults.md)(\['bot' => [InputUser](../types/InputUser.md), 'peer' => [InputPeer](../types/InputPeer.md), 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'query' => [string](../types/string.md), 'offset' => [string](../types/string.md), \]) === [$messages.BotResults](../types/messages.BotResults.md) ***

-$MadelineProto->[messages->getInlineGameHighScores](messages.getInlineGameHighScores.md)(\['id' => [InputBotInlineMessageID](../types/InputBotInlineMessageID.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages\_HighScores](../types/messages_HighScores.md) +$MadelineProto->[messages->getInlineGameHighScores](messages.getInlineGameHighScores.md)(\['id' => [InputBotInlineMessageID](../types/InputBotInlineMessageID.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages.HighScores](../types/messages.HighScores.md) ***

-$MadelineProto->[messages->getMaskStickers](messages.getMaskStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages\_AllStickers](../types/messages_AllStickers.md) +$MadelineProto->[messages->getMaskStickers](messages.getMaskStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages.AllStickers](../types/messages.AllStickers.md) ***

-$MadelineProto->[messages->getMessageEditData](messages.getMessageEditData.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), \]) === [$messages\_MessageEditData](../types/messages_MessageEditData.md) +$MadelineProto->[messages->getMessageEditData](messages.getMessageEditData.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), \]) === [$messages.MessageEditData](../types/messages.MessageEditData.md) ***

-$MadelineProto->[messages->getMessages](messages.getMessages.md)(\['id' => \[[InputMessage](../types/InputMessage.md)\], \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->getMessages](messages.getMessages.md)(\['id' => \[[InputMessage](../types/InputMessage.md)\], \]) === [$messages.Messages](../types/messages.Messages.md) ***

@@ -732,7 +732,7 @@ $MadelineProto->[messages->getMessagesViews](messages.getMessagesViews.md)(\['pe ***

-$MadelineProto->[messages->getPeerDialogs](messages.getPeerDialogs.md)(\['peers' => \[[InputDialogPeer](../types/InputDialogPeer.md)\], \]) === [$messages\_PeerDialogs](../types/messages_PeerDialogs.md) +$MadelineProto->[messages->getPeerDialogs](messages.getPeerDialogs.md)(\['peers' => \[[InputDialogPeer](../types/InputDialogPeer.md)\], \]) === [$messages.PeerDialogs](../types/messages.PeerDialogs.md) ***

@@ -740,19 +740,19 @@ $MadelineProto->[messages->getPeerSettings](messages.getPeerSettings.md)(\['peer ***

-$MadelineProto->[messages->getPinnedDialogs](messages.getPinnedDialogs.md)(\[\]) === [$messages\_PeerDialogs](../types/messages_PeerDialogs.md) +$MadelineProto->[messages->getPinnedDialogs](messages.getPinnedDialogs.md)(\[\]) === [$messages.PeerDialogs](../types/messages.PeerDialogs.md) ***

-$MadelineProto->[messages->getRecentLocations](messages.getRecentLocations.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'limit' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->getRecentLocations](messages.getRecentLocations.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'limit' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[messages->getRecentStickers](messages.getRecentStickers.md)(\['attached' => [Bool](../types/Bool.md), 'hash' => [int](../types/int.md), \]) === [$messages\_RecentStickers](../types/messages_RecentStickers.md) +$MadelineProto->[messages->getRecentStickers](messages.getRecentStickers.md)(\['attached' => [Bool](../types/Bool.md), 'hash' => [int](../types/int.md), \]) === [$messages.RecentStickers](../types/messages.RecentStickers.md) ***

-$MadelineProto->[messages->getSavedGifs](messages.getSavedGifs.md)(\['hash' => [int](../types/int.md), \]) === [$messages\_SavedGifs](../types/messages_SavedGifs.md) +$MadelineProto->[messages->getSavedGifs](messages.getSavedGifs.md)(\['hash' => [int](../types/int.md), \]) === [$messages.SavedGifs](../types/messages.SavedGifs.md) ***

@@ -760,15 +760,15 @@ $MadelineProto->[messages->getSplitRanges](messages.getSplitRanges.md)(\[\]) === ***

-$MadelineProto->[messages->getStickerSet](messages.getStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), \]) === [$messages\_StickerSet](../types/messages_StickerSet.md) +$MadelineProto->[messages->getStickerSet](messages.getStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), \]) === [$messages.StickerSet](../types/messages.StickerSet.md) ***

-$MadelineProto->[messages->getStickers](messages.getStickers.md)(\['emoticon' => [string](../types/string.md), 'hash' => [int](../types/int.md), \]) === [$messages\_Stickers](../types/messages_Stickers.md) +$MadelineProto->[messages->getStickers](messages.getStickers.md)(\['emoticon' => [string](../types/string.md), 'hash' => [int](../types/int.md), \]) === [$messages.Stickers](../types/messages.Stickers.md) ***

-$MadelineProto->[messages->getUnreadMentions](messages.getUnreadMentions.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->getUnreadMentions](messages.getUnreadMentions.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

@@ -788,7 +788,7 @@ $MadelineProto->[messages->importChatInvite](messages.importChatInvite.md)(\['ha ***

-$MadelineProto->[messages->installStickerSet](messages.installStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), 'archived' => [Bool](../types/Bool.md), \]) === [$messages\_StickerSetInstallResult](../types/messages_StickerSetInstallResult.md) +$MadelineProto->[messages->installStickerSet](messages.installStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), 'archived' => [Bool](../types/Bool.md), \]) === [$messages.StickerSetInstallResult](../types/messages.StickerSetInstallResult.md) ***

@@ -808,15 +808,15 @@ $MadelineProto->[messages->readFeaturedStickers](messages.readFeaturedStickers.m ***

-$MadelineProto->[messages->readHistory](messages.readHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), \]) === [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) +$MadelineProto->[messages->readHistory](messages.readHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), \]) === [$messages.AffectedMessages](../types/messages.AffectedMessages.md) ***

-$MadelineProto->[messages->readMentions](messages.readMentions.md)(\['peer' => [InputPeer](../types/InputPeer.md), \]) === [$messages\_AffectedHistory](../types/messages_AffectedHistory.md) +$MadelineProto->[messages->readMentions](messages.readMentions.md)(\['peer' => [InputPeer](../types/InputPeer.md), \]) === [$messages.AffectedHistory](../types/messages.AffectedHistory.md) ***

-$MadelineProto->[messages->readMessageContents](messages.readMessageContents.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) +$MadelineProto->[messages->readMessageContents](messages.readMessageContents.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages.AffectedMessages](../types/messages.AffectedMessages.md) ***

@@ -864,31 +864,31 @@ $MadelineProto->[messages->saveRecentSticker](messages.saveRecentSticker.md)(\[' ***

-$MadelineProto->[messages->search](messages.search.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'q' => [string](../types/string.md), 'from_id' => [InputUser](../types/InputUser.md), 'filter' => [MessagesFilter](../types/MessagesFilter.md), 'min_date' => [int](../types/int.md), 'max_date' => [int](../types/int.md), 'offset_id' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->search](messages.search.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'q' => [string](../types/string.md), 'from_id' => [InputUser](../types/InputUser.md), 'filter' => [MessagesFilter](../types/MessagesFilter.md), 'min_date' => [int](../types/int.md), 'max_date' => [int](../types/int.md), 'offset_id' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[messages->searchGifs](messages.searchGifs.md)(\['q' => [string](../types/string.md), 'offset' => [int](../types/int.md), \]) === [$messages\_FoundGifs](../types/messages_FoundGifs.md) +$MadelineProto->[messages->searchGifs](messages.searchGifs.md)(\['q' => [string](../types/string.md), 'offset' => [int](../types/int.md), \]) === [$messages.FoundGifs](../types/messages.FoundGifs.md) ***

-$MadelineProto->[messages->searchGlobal](messages.searchGlobal.md)(\['q' => [string](../types/string.md), 'offset_date' => [int](../types/int.md), 'offset_peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->searchGlobal](messages.searchGlobal.md)(\['q' => [string](../types/string.md), 'offset_date' => [int](../types/int.md), 'offset_peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[messages->searchStickerSets](messages.searchStickerSets.md)(\['exclude_featured' => [Bool](../types/Bool.md), 'q' => [string](../types/string.md), 'hash' => [int](../types/int.md), \]) === [$messages\_FoundStickerSets](../types/messages_FoundStickerSets.md) +$MadelineProto->[messages->searchStickerSets](messages.searchStickerSets.md)(\['exclude_featured' => [Bool](../types/Bool.md), 'q' => [string](../types/string.md), 'hash' => [int](../types/int.md), \]) === [$messages.FoundStickerSets](../types/messages.FoundStickerSets.md) ***

-$MadelineProto->[messages->sendEncrypted](messages.sendEncrypted.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'message' => [DecryptedMessage](../types/DecryptedMessage.md), \]) === [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +$MadelineProto->[messages->sendEncrypted](messages.sendEncrypted.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), \]) === [$messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ***

-$MadelineProto->[messages->sendEncryptedFile](messages.sendEncryptedFile.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'message' => [DecryptedMessage](../types/DecryptedMessage.md), 'file' => [InputEncryptedFile](../types/InputEncryptedFile.md), \]) === [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +$MadelineProto->[messages->sendEncryptedFile](messages.sendEncryptedFile.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), 'file' => [InputEncryptedFile](../types/InputEncryptedFile.md), \]) === [$messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ***

-$MadelineProto->[messages->sendEncryptedService](messages.sendEncryptedService.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'message' => [DecryptedMessage](../types/DecryptedMessage.md), \]) === [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +$MadelineProto->[messages->sendEncryptedService](messages.sendEncryptedService.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), \]) === [$messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ***

@@ -972,31 +972,31 @@ $MadelineProto->[payments->clearSavedInfo](payments.clearSavedInfo.md)(\['creden ***

-$MadelineProto->[payments->getPaymentForm](payments.getPaymentForm.md)(\['msg_id' => [int](../types/int.md), \]) === [$payments\_PaymentForm](../types/payments_PaymentForm.md) +$MadelineProto->[payments->getPaymentForm](payments.getPaymentForm.md)(\['msg_id' => [int](../types/int.md), \]) === [$payments.PaymentForm](../types/payments.PaymentForm.md) ***

-$MadelineProto->[payments->getPaymentReceipt](payments.getPaymentReceipt.md)(\['msg_id' => [int](../types/int.md), \]) === [$payments\_PaymentReceipt](../types/payments_PaymentReceipt.md) +$MadelineProto->[payments->getPaymentReceipt](payments.getPaymentReceipt.md)(\['msg_id' => [int](../types/int.md), \]) === [$payments.PaymentReceipt](../types/payments.PaymentReceipt.md) ***

-$MadelineProto->[payments->getSavedInfo](payments.getSavedInfo.md)(\[\]) === [$payments\_SavedInfo](../types/payments_SavedInfo.md) +$MadelineProto->[payments->getSavedInfo](payments.getSavedInfo.md)(\[\]) === [$payments.SavedInfo](../types/payments.SavedInfo.md) ***

-$MadelineProto->[payments->sendPaymentForm](payments.sendPaymentForm.md)(\['msg_id' => [int](../types/int.md), 'requested_info_id' => [string](../types/string.md), 'shipping_option_id' => [string](../types/string.md), 'credentials' => [InputPaymentCredentials](../types/InputPaymentCredentials.md), \]) === [$payments\_PaymentResult](../types/payments_PaymentResult.md) +$MadelineProto->[payments->sendPaymentForm](payments.sendPaymentForm.md)(\['msg_id' => [int](../types/int.md), 'requested_info_id' => [string](../types/string.md), 'shipping_option_id' => [string](../types/string.md), 'credentials' => [InputPaymentCredentials](../types/InputPaymentCredentials.md), \]) === [$payments.PaymentResult](../types/payments.PaymentResult.md) ***

-$MadelineProto->[payments->validateRequestedInfo](payments.validateRequestedInfo.md)(\['save' => [Bool](../types/Bool.md), 'msg_id' => [int](../types/int.md), 'info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), \]) === [$payments\_ValidatedRequestedInfo](../types/payments_ValidatedRequestedInfo.md) +$MadelineProto->[payments->validateRequestedInfo](payments.validateRequestedInfo.md)(\['save' => [Bool](../types/Bool.md), 'msg_id' => [int](../types/int.md), 'info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), \]) === [$payments.ValidatedRequestedInfo](../types/payments.ValidatedRequestedInfo.md) ***

-$MadelineProto->[phone->acceptCall](phone.acceptCall.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'g_b' => [bytes](../types/bytes.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone\_PhoneCall](../types/phone_PhoneCall.md) +$MadelineProto->[phone->acceptCall](phone.acceptCall.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'g_b' => [bytes](../types/bytes.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone.PhoneCall](../types/phone.PhoneCall.md) ***

-$MadelineProto->[phone->confirmCall](phone.confirmCall.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'g_a' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone\_PhoneCall](../types/phone_PhoneCall.md) +$MadelineProto->[phone->confirmCall](phone.confirmCall.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'g_a' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone.PhoneCall](../types/phone.PhoneCall.md) ***

@@ -1012,7 +1012,7 @@ $MadelineProto->[phone->receivedCall](phone.receivedCall.md)(\['peer' => [InputP ***

-$MadelineProto->[phone->requestCall](phone.requestCall.md)(\['user_id' => [InputUser](../types/InputUser.md), 'g_a_hash' => [bytes](../types/bytes.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone\_PhoneCall](../types/phone_PhoneCall.md) +$MadelineProto->[phone->requestCall](phone.requestCall.md)(\['user_id' => [InputUser](../types/InputUser.md), 'g_a_hash' => [bytes](../types/bytes.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone.PhoneCall](../types/phone.PhoneCall.md) ***

@@ -1028,7 +1028,7 @@ $MadelineProto->[photos->deletePhotos](photos.deletePhotos.md)(\['id' => \[[Inpu ***

-$MadelineProto->[photos->getUserPhotos](photos.getUserPhotos.md)(\['user_id' => [InputUser](../types/InputUser.md), 'offset' => [int](../types/int.md), 'max_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$photos\_Photos](../types/photos_Photos.md) +$MadelineProto->[photos->getUserPhotos](photos.getUserPhotos.md)(\['user_id' => [InputUser](../types/InputUser.md), 'offset' => [int](../types/int.md), 'max_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$photos.Photos](../types/photos.Photos.md) ***

@@ -1036,39 +1036,39 @@ $MadelineProto->[photos->updateProfilePhoto](photos.updateProfilePhoto.md)(\['id ***

-$MadelineProto->[photos->uploadProfilePhoto](photos.uploadProfilePhoto.md)(\['file' => [InputFile](../types/InputFile.md), \]) === [$photos\_Photo](../types/photos_Photo.md) +$MadelineProto->[photos->uploadProfilePhoto](photos.uploadProfilePhoto.md)(\['file' => [InputFile](../types/InputFile.md), \]) === [$photos.Photo](../types/photos.Photo.md) ***

-$MadelineProto->[stickers->addStickerToSet](stickers.addStickerToSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), 'sticker' => [InputStickerSetItem](../types/InputStickerSetItem.md), \]) === [$messages\_StickerSet](../types/messages_StickerSet.md) +$MadelineProto->[stickers->addStickerToSet](stickers.addStickerToSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), 'sticker' => [InputStickerSetItem](../types/InputStickerSetItem.md), \]) === [$messages.StickerSet](../types/messages.StickerSet.md) ***

-$MadelineProto->[stickers->changeStickerPosition](stickers.changeStickerPosition.md)(\['sticker' => [InputDocument](../types/InputDocument.md), 'position' => [int](../types/int.md), \]) === [$messages\_StickerSet](../types/messages_StickerSet.md) +$MadelineProto->[stickers->changeStickerPosition](stickers.changeStickerPosition.md)(\['sticker' => [InputDocument](../types/InputDocument.md), 'position' => [int](../types/int.md), \]) === [$messages.StickerSet](../types/messages.StickerSet.md) ***

-$MadelineProto->[stickers->createStickerSet](stickers.createStickerSet.md)(\['masks' => [Bool](../types/Bool.md), 'user_id' => [InputUser](../types/InputUser.md), 'title' => [string](../types/string.md), 'short_name' => [string](../types/string.md), 'stickers' => \[[InputStickerSetItem](../types/InputStickerSetItem.md)\], \]) === [$messages\_StickerSet](../types/messages_StickerSet.md) +$MadelineProto->[stickers->createStickerSet](stickers.createStickerSet.md)(\['masks' => [Bool](../types/Bool.md), 'user_id' => [InputUser](../types/InputUser.md), 'title' => [string](../types/string.md), 'short_name' => [string](../types/string.md), 'stickers' => \[[InputStickerSetItem](../types/InputStickerSetItem.md)\], \]) === [$messages.StickerSet](../types/messages.StickerSet.md) ***

-$MadelineProto->[stickers->removeStickerFromSet](stickers.removeStickerFromSet.md)(\['sticker' => [InputDocument](../types/InputDocument.md), \]) === [$messages\_StickerSet](../types/messages_StickerSet.md) +$MadelineProto->[stickers->removeStickerFromSet](stickers.removeStickerFromSet.md)(\['sticker' => [InputDocument](../types/InputDocument.md), \]) === [$messages.StickerSet](../types/messages.StickerSet.md) ***

-$MadelineProto->[updates->getChannelDifference](updates.getChannelDifference.md)(\['force' => [Bool](../types/Bool.md), 'channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$updates\_ChannelDifference](../types/updates_ChannelDifference.md) +$MadelineProto->[updates->getChannelDifference](updates.getChannelDifference.md)(\['force' => [Bool](../types/Bool.md), 'channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$updates.ChannelDifference](../types/updates.ChannelDifference.md) ***

-$MadelineProto->[updates->getDifference](updates.getDifference.md)(\['pts' => [int](../types/int.md), 'pts_total_limit' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) === [$updates\_Difference](../types/updates_Difference.md) +$MadelineProto->[updates->getDifference](updates.getDifference.md)(\['pts' => [int](../types/int.md), 'pts_total_limit' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) === [$updates.Difference](../types/updates.Difference.md) ***

-$MadelineProto->[updates->getState](updates.getState.md)(\[\]) === [$updates\_State](../types/updates_State.md) +$MadelineProto->[updates->getState](updates.getState.md)(\[\]) === [$updates.State](../types/updates.State.md) ***

-$MadelineProto->[upload->getCdnFile](upload.getCdnFile.md)(\['file_token' => [bytes](../types/bytes.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_CdnFile](../types/upload_CdnFile.md) +$MadelineProto->[upload->getCdnFile](upload.getCdnFile.md)(\['file_token' => [bytes](../types/bytes.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload.CdnFile](../types/upload.CdnFile.md) ***

@@ -1076,7 +1076,7 @@ $MadelineProto->[upload->getCdnFileHashes](upload.getCdnFileHashes.md)(\['file_t ***

-$MadelineProto->[upload->getFile](upload.getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_File](../types/upload_File.md) +$MadelineProto->[upload->getFile](upload.getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload.File](../types/upload.File.md) ***

@@ -1084,7 +1084,7 @@ $MadelineProto->[upload->getFileHashes](upload.getFileHashes.md)(\['location' => ***

-$MadelineProto->[upload->getWebFile](upload.getWebFile.md)(\['location' => [InputWebFileLocation](../types/InputWebFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_WebFile](../types/upload_WebFile.md) +$MadelineProto->[upload->getWebFile](upload.getWebFile.md)(\['location' => [InputWebFileLocation](../types/InputWebFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload.WebFile](../types/upload.WebFile.md) ***

diff --git a/old_docs/API_docs_v82/methods/auth.checkPassword.md b/old_docs/API_docs_v82/methods/auth.checkPassword.md index db65cb56..eeeed171 100644 --- a/old_docs/API_docs_v82/methods/auth.checkPassword.md +++ b/old_docs/API_docs_v82/methods/auth.checkPassword.md @@ -16,7 +16,7 @@ You cannot use this method directly, use the complete_2fa_login method instead ( |password\_hash|[bytes](../types/bytes.md) | You cannot use this method directly, use the complete_2fa_login method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->checkPassword(['password_hash' => 'bytes', ]); +$auth.Authorization = $MadelineProto->auth->checkPassword(['password_hash' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.checkPassword({password_hash='bytes', }) +auth.Authorization = auth.checkPassword({password_hash='bytes', }) ``` ### Errors diff --git a/old_docs/API_docs_v82/methods/auth.exportAuthorization.md b/old_docs/API_docs_v82/methods/auth.exportAuthorization.md index 72063a2b..41a1f87d 100644 --- a/old_docs/API_docs_v82/methods/auth.exportAuthorization.md +++ b/old_docs/API_docs_v82/methods/auth.exportAuthorization.md @@ -16,7 +16,7 @@ You cannot use this method directly, use $MadelineProto->exportAuthorization() i |dc\_id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| -### Return type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) +### Return type: [auth.ExportedAuthorization](../types/auth.ExportedAuthorization.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_ExportedAuthorization = $MadelineProto->auth->exportAuthorization(['dc_id' => int, ]); +$auth.ExportedAuthorization = $MadelineProto->auth->exportAuthorization(['dc_id' => int, ]); ``` Or, if you're into Lua: ```lua -auth_ExportedAuthorization = auth.exportAuthorization({dc_id=int, }) +auth.ExportedAuthorization = auth.exportAuthorization({dc_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v82/methods/auth.importAuthorization.md b/old_docs/API_docs_v82/methods/auth.importAuthorization.md index d9c13751..5257e0b0 100644 --- a/old_docs/API_docs_v82/methods/auth.importAuthorization.md +++ b/old_docs/API_docs_v82/methods/auth.importAuthorization.md @@ -17,7 +17,7 @@ You cannot use this method directly, use $MadelineProto->importAuthorization($au |bytes|[bytes](../types/bytes.md) | You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => 'bytes', ]); +$auth.Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.importAuthorization({id=int, bytes='bytes', }) +auth.Authorization = auth.importAuthorization({id=int, bytes='bytes', }) ``` ### Errors diff --git a/old_docs/API_docs_v82/methods/auth.importBotAuthorization.md b/old_docs/API_docs_v82/methods/auth.importBotAuthorization.md index 3161d6be..a4ea8027 100644 --- a/old_docs/API_docs_v82/methods/auth.importBotAuthorization.md +++ b/old_docs/API_docs_v82/methods/auth.importBotAuthorization.md @@ -18,7 +18,7 @@ You cannot use this method directly, use the botLogin method instead (see https: |bot\_auth\_token|[string](../types/string.md) | You cannot use this method directly, use the botLogin method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **YES** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->importBotAuthorization(['api_id' => int, 'api_hash' => 'string', 'bot_auth_token' => 'string', ]); +$auth.Authorization = $MadelineProto->auth->importBotAuthorization(['api_id' => int, 'api_hash' => 'string', 'bot_auth_token' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.importBotAuthorization({api_id=int, api_hash='string', bot_auth_token='string', }) +auth.Authorization = auth.importBotAuthorization({api_id=int, api_hash='string', bot_auth_token='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v82/methods/auth.recoverPassword.md b/old_docs/API_docs_v82/methods/auth.recoverPassword.md index f7cbf4a4..2e78444b 100644 --- a/old_docs/API_docs_v82/methods/auth.recoverPassword.md +++ b/old_docs/API_docs_v82/methods/auth.recoverPassword.md @@ -16,7 +16,7 @@ Reset the [2FA password](https://core.telegram.org/api/srp) using the recovery c |code|[string](../types/string.md) | Code received via email | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->recoverPassword(['code' => 'string', ]); +$auth.Authorization = $MadelineProto->auth->recoverPassword(['code' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.recoverPassword({code='string', }) +auth.Authorization = auth.recoverPassword({code='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v82/methods/auth.requestPasswordRecovery.md b/old_docs/API_docs_v82/methods/auth.requestPasswordRecovery.md index 5cd77936..ff1ecc02 100644 --- a/old_docs/API_docs_v82/methods/auth.requestPasswordRecovery.md +++ b/old_docs/API_docs_v82/methods/auth.requestPasswordRecovery.md @@ -11,7 +11,7 @@ Request recovery code of a [2FA password](https://core.telegram.org/api/srp), on -### Return type: [auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) +### Return type: [auth.PasswordRecovery](../types/auth.PasswordRecovery.md) ### Can bots use this method: **NO** @@ -28,13 +28,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_PasswordRecovery = $MadelineProto->auth->requestPasswordRecovery(); +$auth.PasswordRecovery = $MadelineProto->auth->requestPasswordRecovery(); ``` Or, if you're into Lua: ```lua -auth_PasswordRecovery = auth.requestPasswordRecovery({}) +auth.PasswordRecovery = auth.requestPasswordRecovery({}) ``` ### Errors diff --git a/old_docs/API_docs_v82/methods/auth.resendCode.md b/old_docs/API_docs_v82/methods/auth.resendCode.md index a395a91b..f59f1b7b 100644 --- a/old_docs/API_docs_v82/methods/auth.resendCode.md +++ b/old_docs/API_docs_v82/methods/auth.resendCode.md @@ -17,7 +17,7 @@ Resend the login code via another medium, the phone code type is determined by t |phone\_code\_hash|[string](../types/string.md) | The phone code hash obtained from [auth.sendCode](../methods/auth.sendCode.md) | Yes| -### Return type: [auth\_SentCode](../types/auth_SentCode.md) +### Return type: [auth.SentCode](../types/auth.SentCode.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_SentCode = $MadelineProto->auth->resendCode(['phone_number' => 'string', 'phone_code_hash' => 'string', ]); +$auth.SentCode = $MadelineProto->auth->resendCode(['phone_number' => 'string', 'phone_code_hash' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_SentCode = auth.resendCode({phone_number='string', phone_code_hash='string', }) +auth.SentCode = auth.resendCode({phone_number='string', phone_code_hash='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v82/methods/auth.sendCode.md b/old_docs/API_docs_v82/methods/auth.sendCode.md index bd922a48..0c818fbb 100644 --- a/old_docs/API_docs_v82/methods/auth.sendCode.md +++ b/old_docs/API_docs_v82/methods/auth.sendCode.md @@ -20,7 +20,7 @@ You cannot use this method directly, use the phoneLogin method instead (see http |api\_hash|[string](../types/string.md) | You cannot use this method directly, use the phoneLogin method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_SentCode](../types/auth_SentCode.md) +### Return type: [auth.SentCode](../types/auth.SentCode.md) ### Can bots use this method: **NO** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_SentCode = $MadelineProto->auth->sendCode(['allow_flashcall' => Bool, 'phone_number' => 'string', 'current_number' => Bool, 'api_id' => int, 'api_hash' => 'string', ]); +$auth.SentCode = $MadelineProto->auth->sendCode(['allow_flashcall' => Bool, 'phone_number' => 'string', 'current_number' => Bool, 'api_id' => int, 'api_hash' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_SentCode = auth.sendCode({allow_flashcall=Bool, phone_number='string', current_number=Bool, api_id=int, api_hash='string', }) +auth.SentCode = auth.sendCode({allow_flashcall=Bool, phone_number='string', current_number=Bool, api_id=int, api_hash='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v82/methods/auth.signIn.md b/old_docs/API_docs_v82/methods/auth.signIn.md index 54812a2e..95b14f32 100644 --- a/old_docs/API_docs_v82/methods/auth.signIn.md +++ b/old_docs/API_docs_v82/methods/auth.signIn.md @@ -18,7 +18,7 @@ You cannot use this method directly, use the completePhoneLogin method instead ( |phone\_code|[string](../types/string.md) | You cannot use this method directly, use the completePhoneLogin method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->signIn(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', ]); +$auth.Authorization = $MadelineProto->auth->signIn(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.signIn({phone_number='string', phone_code_hash='string', phone_code='string', }) +auth.Authorization = auth.signIn({phone_number='string', phone_code_hash='string', phone_code='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v82/methods/auth.signUp.md b/old_docs/API_docs_v82/methods/auth.signUp.md index 2aca2bfa..fdb5d628 100644 --- a/old_docs/API_docs_v82/methods/auth.signUp.md +++ b/old_docs/API_docs_v82/methods/auth.signUp.md @@ -20,7 +20,7 @@ You cannot use this method directly, use the completeSignup method instead (see |last\_name|[string](../types/string.md) | You cannot use this method directly, use the completeSignup method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **NO** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->signUp(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', 'first_name' => 'string', 'last_name' => 'string', ]); +$auth.Authorization = $MadelineProto->auth->signUp(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', 'first_name' => 'string', 'last_name' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.signUp({phone_number='string', phone_code_hash='string', phone_code='string', first_name='string', last_name='string', }) +auth.Authorization = auth.signUp({phone_number='string', phone_code_hash='string', phone_code='string', first_name='string', last_name='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v82/methods/channels.deleteMessages.md b/old_docs/API_docs_v82/methods/channels.deleteMessages.md index 10a439fb..8583e560 100644 --- a/old_docs/API_docs_v82/methods/channels.deleteMessages.md +++ b/old_docs/API_docs_v82/methods/channels.deleteMessages.md @@ -17,7 +17,7 @@ Delete messages in a [channel/supergroup](https://core.telegram.org/api/channel) |id|Array of [int](../types/int.md) | The IDs of messages to delete | Yes| -### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) +### Return type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedMessages = $MadelineProto->channels->deleteMessages(['channel' => InputChannel, 'id' => [int, int], ]); +$messages.AffectedMessages = $MadelineProto->channels->deleteMessages(['channel' => InputChannel, 'id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AffectedMessages = channels.deleteMessages({channel=InputChannel, id={int}, }) +messages.AffectedMessages = channels.deleteMessages({channel=InputChannel, id={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v82/methods/channels.deleteUserHistory.md b/old_docs/API_docs_v82/methods/channels.deleteUserHistory.md index 9b8b159f..6ccaf7dd 100644 --- a/old_docs/API_docs_v82/methods/channels.deleteUserHistory.md +++ b/old_docs/API_docs_v82/methods/channels.deleteUserHistory.md @@ -17,7 +17,7 @@ Delete all messages sent by a certain user in a [supergroup](https://core.telegr |user\_id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | User whose messages should be deleted | Optional| -### Return type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) +### Return type: [messages.AffectedHistory](../types/messages.AffectedHistory.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedHistory = $MadelineProto->channels->deleteUserHistory(['channel' => InputChannel, 'user_id' => InputUser, ]); +$messages.AffectedHistory = $MadelineProto->channels->deleteUserHistory(['channel' => InputChannel, 'user_id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -messages_AffectedHistory = channels.deleteUserHistory({channel=InputChannel, user_id=InputUser, }) +messages.AffectedHistory = channels.deleteUserHistory({channel=InputChannel, user_id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v82/methods/channels.getAdminLog.md b/old_docs/API_docs_v82/methods/channels.getAdminLog.md index e149f653..3b550a73 100644 --- a/old_docs/API_docs_v82/methods/channels.getAdminLog.md +++ b/old_docs/API_docs_v82/methods/channels.getAdminLog.md @@ -22,7 +22,7 @@ Get the admin log of a [channel/supergroup](https://core.telegram.org/api/channe |limit|[int](../types/int.md) | Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets) | Yes| -### Return type: [channels\_AdminLogResults](../types/channels_AdminLogResults.md) +### Return type: [channels.AdminLogResults](../types/channels.AdminLogResults.md) ### Can bots use this method: **NO** @@ -39,13 +39,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$channels_AdminLogResults = $MadelineProto->channels->getAdminLog(['channel' => InputChannel, 'q' => 'string', 'events_filter' => ChannelAdminLogEventsFilter, 'admins' => [InputUser, InputUser], 'max_id' => long, 'min_id' => long, 'limit' => int, ]); +$channels.AdminLogResults = $MadelineProto->channels->getAdminLog(['channel' => InputChannel, 'q' => 'string', 'events_filter' => ChannelAdminLogEventsFilter, 'admins' => [InputUser, InputUser], 'max_id' => long, 'min_id' => long, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -channels_AdminLogResults = channels.getAdminLog({channel=InputChannel, q='string', events_filter=ChannelAdminLogEventsFilter, admins={InputUser}, max_id=long, min_id=long, limit=int, }) +channels.AdminLogResults = channels.getAdminLog({channel=InputChannel, q='string', events_filter=ChannelAdminLogEventsFilter, admins={InputUser}, max_id=long, min_id=long, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v82/methods/channels.getAdminedPublicChannels.md b/old_docs/API_docs_v82/methods/channels.getAdminedPublicChannels.md index 55a686ca..eb277404 100644 --- a/old_docs/API_docs_v82/methods/channels.getAdminedPublicChannels.md +++ b/old_docs/API_docs_v82/methods/channels.getAdminedPublicChannels.md @@ -11,7 +11,7 @@ Get [channels/supergroups/geogroups](https://core.telegram.org/api/channel) we'r -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->channels->getAdminedPublicChannels(); +$messages.Chats = $MadelineProto->channels->getAdminedPublicChannels(); ``` Or, if you're into Lua: ```lua -messages_Chats = channels.getAdminedPublicChannels({}) +messages.Chats = channels.getAdminedPublicChannels({}) ``` diff --git a/old_docs/API_docs_v82/methods/channels.getChannels.md b/old_docs/API_docs_v82/methods/channels.getChannels.md index 368c96ce..ed9cf4a7 100644 --- a/old_docs/API_docs_v82/methods/channels.getChannels.md +++ b/old_docs/API_docs_v82/methods/channels.getChannels.md @@ -16,7 +16,7 @@ Get info about [channels/supergroups](https://core.telegram.org/api/channel) |id|Array of [Username, chat ID, Update, Message or InputChannel](../types/InputChannel.md) | The channel/supergroup MTProto IDs | Yes| -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->channels->getChannels(['id' => [InputChannel, InputChannel], ]); +$messages.Chats = $MadelineProto->channels->getChannels(['id' => [InputChannel, InputChannel], ]); ``` Or, if you're into Lua: ```lua -messages_Chats = channels.getChannels({id={InputChannel}, }) +messages.Chats = channels.getChannels({id={InputChannel}, }) ``` ### Errors diff --git a/old_docs/API_docs_v82/methods/channels.getFullChannel.md b/old_docs/API_docs_v82/methods/channels.getFullChannel.md index 08dc21bb..1369e0a0 100644 --- a/old_docs/API_docs_v82/methods/channels.getFullChannel.md +++ b/old_docs/API_docs_v82/methods/channels.getFullChannel.md @@ -16,7 +16,7 @@ You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo me |channel|[Username, chat ID, Update, Message or InputChannel](../types/InputChannel.md) | You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo methods instead (see https://docs.madelineproto.xyz for more info) | Optional| -### Return type: [messages\_ChatFull](../types/messages_ChatFull.md) +### Return type: [messages.ChatFull](../types/messages.ChatFull.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_ChatFull = $MadelineProto->channels->getFullChannel(['channel' => InputChannel, ]); +$messages.ChatFull = $MadelineProto->channels->getFullChannel(['channel' => InputChannel, ]); ``` Or, if you're into Lua: ```lua -messages_ChatFull = channels.getFullChannel({channel=InputChannel, }) +messages.ChatFull = channels.getFullChannel({channel=InputChannel, }) ``` ### Errors diff --git a/old_docs/API_docs_v82/methods/channels.getLeftChannels.md b/old_docs/API_docs_v82/methods/channels.getLeftChannels.md index a5bcda2c..5a132204 100644 --- a/old_docs/API_docs_v82/methods/channels.getLeftChannels.md +++ b/old_docs/API_docs_v82/methods/channels.getLeftChannels.md @@ -16,7 +16,7 @@ Get a list of [channels/supergroups](https://core.telegram.org/api/channel) we l |offset|[int](../types/int.md) | Offset for [pagination](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->channels->getLeftChannels(['offset' => int, ]); +$messages.Chats = $MadelineProto->channels->getLeftChannels(['offset' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Chats = channels.getLeftChannels({offset=int, }) +messages.Chats = channels.getLeftChannels({offset=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v82/methods/channels.getMessages.md b/old_docs/API_docs_v82/methods/channels.getMessages.md index 428734e3..708e404a 100644 --- a/old_docs/API_docs_v82/methods/channels.getMessages.md +++ b/old_docs/API_docs_v82/methods/channels.getMessages.md @@ -17,7 +17,7 @@ Get [channel/supergroup](https://core.telegram.org/api/channel) messages |id|Array of [Message ID or InputMessage](../types/InputMessage.md) | The message IDs | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->channels->getMessages(['channel' => InputChannel, 'id' => [InputMessage, InputMessage], ]); +$messages.Messages = $MadelineProto->channels->getMessages(['channel' => InputChannel, 'id' => [InputMessage, InputMessage], ]); ``` Or, if you're into Lua: ```lua -messages_Messages = channels.getMessages({channel=InputChannel, id={InputMessage}, }) +messages.Messages = channels.getMessages({channel=InputChannel, id={InputMessage}, }) ``` ### Errors diff --git a/old_docs/API_docs_v82/methods/channels.getParticipant.md b/old_docs/API_docs_v82/methods/channels.getParticipant.md index aa2ce655..cf6a7771 100644 --- a/old_docs/API_docs_v82/methods/channels.getParticipant.md +++ b/old_docs/API_docs_v82/methods/channels.getParticipant.md @@ -17,7 +17,7 @@ Get info about a [channel/supergroup](https://core.telegram.org/api/channel) par |user\_id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | ID of participant to get info about | Optional| -### Return type: [channels\_ChannelParticipant](../types/channels_ChannelParticipant.md) +### Return type: [channels.ChannelParticipant](../types/channels.ChannelParticipant.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$channels_ChannelParticipant = $MadelineProto->channels->getParticipant(['channel' => InputChannel, 'user_id' => InputUser, ]); +$channels.ChannelParticipant = $MadelineProto->channels->getParticipant(['channel' => InputChannel, 'user_id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -channels_ChannelParticipant = channels.getParticipant({channel=InputChannel, user_id=InputUser, }) +channels.ChannelParticipant = channels.getParticipant({channel=InputChannel, user_id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v82/methods/channels.getParticipants.md b/old_docs/API_docs_v82/methods/channels.getParticipants.md index dd7e0087..c6b15b63 100644 --- a/old_docs/API_docs_v82/methods/channels.getParticipants.md +++ b/old_docs/API_docs_v82/methods/channels.getParticipants.md @@ -20,7 +20,7 @@ Get the participants of a channel |hash|Array of [int](../types/int.md) | IDs of previously fetched participants | Optional| -### Return type: [channels\_ChannelParticipants](../types/channels_ChannelParticipants.md) +### Return type: [channels.ChannelParticipants](../types/channels.ChannelParticipants.md) ### Can bots use this method: **YES** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$channels_ChannelParticipants = $MadelineProto->channels->getParticipants(['channel' => InputChannel, 'filter' => ChannelParticipantsFilter, 'offset' => int, 'limit' => int, 'hash' => [int, int], ]); +$channels.ChannelParticipants = $MadelineProto->channels->getParticipants(['channel' => InputChannel, 'filter' => ChannelParticipantsFilter, 'offset' => int, 'limit' => int, 'hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -channels_ChannelParticipants = channels.getParticipants({channel=InputChannel, filter=ChannelParticipantsFilter, offset=int, limit=int, hash={int}, }) +channels.ChannelParticipants = channels.getParticipants({channel=InputChannel, filter=ChannelParticipantsFilter, offset=int, limit=int, hash={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v82/methods/contacts.deleteContact.md b/old_docs/API_docs_v82/methods/contacts.deleteContact.md index a9321d64..9169e1e0 100644 --- a/old_docs/API_docs_v82/methods/contacts.deleteContact.md +++ b/old_docs/API_docs_v82/methods/contacts.deleteContact.md @@ -16,7 +16,7 @@ Delete a contact |id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | The contact to delete | Optional| -### Return type: [contacts\_Link](../types/contacts_Link.md) +### Return type: [contacts.Link](../types/contacts.Link.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Link = $MadelineProto->contacts->deleteContact(['id' => InputUser, ]); +$contacts.Link = $MadelineProto->contacts->deleteContact(['id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -contacts_Link = contacts.deleteContact({id=InputUser, }) +contacts.Link = contacts.deleteContact({id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v82/methods/contacts.getBlocked.md b/old_docs/API_docs_v82/methods/contacts.getBlocked.md index 92f2f331..6ac1c343 100644 --- a/old_docs/API_docs_v82/methods/contacts.getBlocked.md +++ b/old_docs/API_docs_v82/methods/contacts.getBlocked.md @@ -17,7 +17,7 @@ Returns the list of blocked users. |limit|[int](../types/int.md) | The number of list elements to be returned | Yes| -### Return type: [contacts\_Blocked](../types/contacts_Blocked.md) +### Return type: [contacts.Blocked](../types/contacts.Blocked.md) ### Can bots use this method: **NO** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Blocked = $MadelineProto->contacts->getBlocked(['offset' => int, 'limit' => int, ]); +$contacts.Blocked = $MadelineProto->contacts->getBlocked(['offset' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -contacts_Blocked = contacts.getBlocked({offset=int, limit=int, }) +contacts.Blocked = contacts.getBlocked({offset=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v82/methods/contacts.getContacts.md b/old_docs/API_docs_v82/methods/contacts.getContacts.md index c67e6240..609549b0 100644 --- a/old_docs/API_docs_v82/methods/contacts.getContacts.md +++ b/old_docs/API_docs_v82/methods/contacts.getContacts.md @@ -16,7 +16,7 @@ Returns the current user's contact list. |hash|Array of [int](../types/int.md) | User IDs of previously cached contacts | Optional| -### Return type: [contacts\_Contacts](../types/contacts_Contacts.md) +### Return type: [contacts.Contacts](../types/contacts.Contacts.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Contacts = $MadelineProto->contacts->getContacts(['hash' => [int, int], ]); +$contacts.Contacts = $MadelineProto->contacts->getContacts(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -contacts_Contacts = contacts.getContacts({hash={int}, }) +contacts.Contacts = contacts.getContacts({hash={int}, }) ``` diff --git a/old_docs/API_docs_v82/methods/contacts.getTopPeers.md b/old_docs/API_docs_v82/methods/contacts.getTopPeers.md index 0acf7155..870de6b3 100644 --- a/old_docs/API_docs_v82/methods/contacts.getTopPeers.md +++ b/old_docs/API_docs_v82/methods/contacts.getTopPeers.md @@ -24,7 +24,7 @@ Get most used peers |hash|Array of [int](../types/int.md) | Peer IDs of previously cached peers | Optional| -### Return type: [contacts\_TopPeers](../types/contacts_TopPeers.md) +### Return type: [contacts.TopPeers](../types/contacts.TopPeers.md) ### Can bots use this method: **NO** @@ -41,13 +41,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_TopPeers = $MadelineProto->contacts->getTopPeers(['correspondents' => Bool, 'bots_pm' => Bool, 'bots_inline' => Bool, 'phone_calls' => Bool, 'groups' => Bool, 'channels' => Bool, 'offset' => int, 'limit' => int, 'hash' => [int, int], ]); +$contacts.TopPeers = $MadelineProto->contacts->getTopPeers(['correspondents' => Bool, 'bots_pm' => Bool, 'bots_inline' => Bool, 'phone_calls' => Bool, 'groups' => Bool, 'channels' => Bool, 'offset' => int, 'limit' => int, 'hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -contacts_TopPeers = contacts.getTopPeers({correspondents=Bool, bots_pm=Bool, bots_inline=Bool, phone_calls=Bool, groups=Bool, channels=Bool, offset=int, limit=int, hash={int}, }) +contacts.TopPeers = contacts.getTopPeers({correspondents=Bool, bots_pm=Bool, bots_inline=Bool, phone_calls=Bool, groups=Bool, channels=Bool, offset=int, limit=int, hash={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v82/methods/contacts.importContacts.md b/old_docs/API_docs_v82/methods/contacts.importContacts.md index 7c795780..dbb9b7fa 100644 --- a/old_docs/API_docs_v82/methods/contacts.importContacts.md +++ b/old_docs/API_docs_v82/methods/contacts.importContacts.md @@ -16,7 +16,7 @@ Imports contacts: saves a full list on the server, adds already registered conta |contacts|Array of [InputContact](../types/InputContact.md) | The numbers to import | Yes| -### Return type: [contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) +### Return type: [contacts.ImportedContacts](../types/contacts.ImportedContacts.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_ImportedContacts = $MadelineProto->contacts->importContacts(['contacts' => [InputContact, InputContact], ]); +$contacts.ImportedContacts = $MadelineProto->contacts->importContacts(['contacts' => [InputContact, InputContact], ]); ``` Or, if you're into Lua: ```lua -contacts_ImportedContacts = contacts.importContacts({contacts={InputContact}, }) +contacts.ImportedContacts = contacts.importContacts({contacts={InputContact}, }) ``` diff --git a/old_docs/API_docs_v82/methods/contacts.resolveUsername.md b/old_docs/API_docs_v82/methods/contacts.resolveUsername.md index 05e3d854..46f1eb50 100644 --- a/old_docs/API_docs_v82/methods/contacts.resolveUsername.md +++ b/old_docs/API_docs_v82/methods/contacts.resolveUsername.md @@ -16,7 +16,7 @@ You cannot use this method directly, use the resolveUsername, getPwrChat, getInf |username|[string](../types/string.md) | You cannot use this method directly, use the resolveUsername, getPwrChat, getInfo, getFullInfo methods instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [contacts\_ResolvedPeer](../types/contacts_ResolvedPeer.md) +### Return type: [contacts.ResolvedPeer](../types/contacts.ResolvedPeer.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_ResolvedPeer = $MadelineProto->contacts->resolveUsername(['username' => 'string', ]); +$contacts.ResolvedPeer = $MadelineProto->contacts->resolveUsername(['username' => 'string', ]); ``` Or, if you're into Lua: ```lua -contacts_ResolvedPeer = contacts.resolveUsername({username='string', }) +contacts.ResolvedPeer = contacts.resolveUsername({username='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v82/methods/contacts.search.md b/old_docs/API_docs_v82/methods/contacts.search.md index 2f39d6f1..ec04c7f9 100644 --- a/old_docs/API_docs_v82/methods/contacts.search.md +++ b/old_docs/API_docs_v82/methods/contacts.search.md @@ -17,7 +17,7 @@ Returns users found by username substring. |limit|[int](../types/int.md) | Maximum number of users to be returned | Yes| -### Return type: [contacts\_Found](../types/contacts_Found.md) +### Return type: [contacts.Found](../types/contacts.Found.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Found = $MadelineProto->contacts->search(['q' => 'string', 'limit' => int, ]); +$contacts.Found = $MadelineProto->contacts->search(['q' => 'string', 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -contacts_Found = contacts.search({q='string', limit=int, }) +contacts.Found = contacts.search({q='string', limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v82/methods/help.getAppUpdate.md b/old_docs/API_docs_v82/methods/help.getAppUpdate.md index 4c58e898..b9899d71 100644 --- a/old_docs/API_docs_v82/methods/help.getAppUpdate.md +++ b/old_docs/API_docs_v82/methods/help.getAppUpdate.md @@ -11,7 +11,7 @@ Returns information on update availability for the current application. -### Return type: [help\_AppUpdate](../types/help_AppUpdate.md) +### Return type: [help.AppUpdate](../types/help.AppUpdate.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_AppUpdate = $MadelineProto->help->getAppUpdate(); +$help.AppUpdate = $MadelineProto->help->getAppUpdate(); ``` Or, if you're into Lua: ```lua -help_AppUpdate = help.getAppUpdate({}) +help.AppUpdate = help.getAppUpdate({}) ``` diff --git a/old_docs/API_docs_v82/methods/help.getDeepLinkInfo.md b/old_docs/API_docs_v82/methods/help.getDeepLinkInfo.md index e3269bbc..e6e7d6b8 100644 --- a/old_docs/API_docs_v82/methods/help.getDeepLinkInfo.md +++ b/old_docs/API_docs_v82/methods/help.getDeepLinkInfo.md @@ -16,7 +16,7 @@ Get info about a `t.me` link |path|[string](../types/string.md) | Path in `t.me/path` | Yes| -### Return type: [help\_DeepLinkInfo](../types/help_DeepLinkInfo.md) +### Return type: [help.DeepLinkInfo](../types/help.DeepLinkInfo.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_DeepLinkInfo = $MadelineProto->help->getDeepLinkInfo(['path' => 'string', ]); +$help.DeepLinkInfo = $MadelineProto->help->getDeepLinkInfo(['path' => 'string', ]); ``` Or, if you're into Lua: ```lua -help_DeepLinkInfo = help.getDeepLinkInfo({path='string', }) +help.DeepLinkInfo = help.getDeepLinkInfo({path='string', }) ``` diff --git a/old_docs/API_docs_v82/methods/help.getInviteText.md b/old_docs/API_docs_v82/methods/help.getInviteText.md index 6fd67362..0d427974 100644 --- a/old_docs/API_docs_v82/methods/help.getInviteText.md +++ b/old_docs/API_docs_v82/methods/help.getInviteText.md @@ -11,7 +11,7 @@ Returns text of a text message with an invitation. -### Return type: [help\_InviteText](../types/help_InviteText.md) +### Return type: [help.InviteText](../types/help.InviteText.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_InviteText = $MadelineProto->help->getInviteText(); +$help.InviteText = $MadelineProto->help->getInviteText(); ``` Or, if you're into Lua: ```lua -help_InviteText = help.getInviteText({}) +help.InviteText = help.getInviteText({}) ``` diff --git a/old_docs/API_docs_v82/methods/help.getProxyData.md b/old_docs/API_docs_v82/methods/help.getProxyData.md index bbaf4c53..9a0aaa9a 100644 --- a/old_docs/API_docs_v82/methods/help.getProxyData.md +++ b/old_docs/API_docs_v82/methods/help.getProxyData.md @@ -11,7 +11,7 @@ Get promotion info of the currently-used MTProxy -### Return type: [help\_ProxyData](../types/help_ProxyData.md) +### Return type: [help.ProxyData](../types/help.ProxyData.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_ProxyData = $MadelineProto->help->getProxyData(); +$help.ProxyData = $MadelineProto->help->getProxyData(); ``` Or, if you're into Lua: ```lua -help_ProxyData = help.getProxyData({}) +help.ProxyData = help.getProxyData({}) ``` diff --git a/old_docs/API_docs_v82/methods/help.getRecentMeUrls.md b/old_docs/API_docs_v82/methods/help.getRecentMeUrls.md index 38cc44c8..a5ab9e06 100644 --- a/old_docs/API_docs_v82/methods/help.getRecentMeUrls.md +++ b/old_docs/API_docs_v82/methods/help.getRecentMeUrls.md @@ -16,7 +16,7 @@ Get recently used `t.me` links |referer|[string](../types/string.md) | Referer | Yes| -### Return type: [help\_RecentMeUrls](../types/help_RecentMeUrls.md) +### Return type: [help.RecentMeUrls](../types/help.RecentMeUrls.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_RecentMeUrls = $MadelineProto->help->getRecentMeUrls(['referer' => 'string', ]); +$help.RecentMeUrls = $MadelineProto->help->getRecentMeUrls(['referer' => 'string', ]); ``` Or, if you're into Lua: ```lua -help_RecentMeUrls = help.getRecentMeUrls({referer='string', }) +help.RecentMeUrls = help.getRecentMeUrls({referer='string', }) ``` diff --git a/old_docs/API_docs_v82/methods/help.getSupport.md b/old_docs/API_docs_v82/methods/help.getSupport.md index 7a577892..8a8df916 100644 --- a/old_docs/API_docs_v82/methods/help.getSupport.md +++ b/old_docs/API_docs_v82/methods/help.getSupport.md @@ -11,7 +11,7 @@ Returns the support user for the 'ask a question' feature. -### Return type: [help\_Support](../types/help_Support.md) +### Return type: [help.Support](../types/help.Support.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_Support = $MadelineProto->help->getSupport(); +$help.Support = $MadelineProto->help->getSupport(); ``` Or, if you're into Lua: ```lua -help_Support = help.getSupport({}) +help.Support = help.getSupport({}) ``` diff --git a/old_docs/API_docs_v82/methods/help.getTermsOfServiceUpdate.md b/old_docs/API_docs_v82/methods/help.getTermsOfServiceUpdate.md index 7a8ebd65..636a054b 100644 --- a/old_docs/API_docs_v82/methods/help.getTermsOfServiceUpdate.md +++ b/old_docs/API_docs_v82/methods/help.getTermsOfServiceUpdate.md @@ -11,7 +11,7 @@ Look for updates of telegram's terms of service -### Return type: [help\_TermsOfServiceUpdate](../types/help_TermsOfServiceUpdate.md) +### Return type: [help.TermsOfServiceUpdate](../types/help.TermsOfServiceUpdate.md) ### Can bots use this method: **NO** @@ -28,13 +28,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_TermsOfServiceUpdate = $MadelineProto->help->getTermsOfServiceUpdate(); +$help.TermsOfServiceUpdate = $MadelineProto->help->getTermsOfServiceUpdate(); ``` Or, if you're into Lua: ```lua -help_TermsOfServiceUpdate = help.getTermsOfServiceUpdate({}) +help.TermsOfServiceUpdate = help.getTermsOfServiceUpdate({}) ``` ### Errors diff --git a/old_docs/API_docs_v82/methods/messages.deleteHistory.md b/old_docs/API_docs_v82/methods/messages.deleteHistory.md index 9ae1bae9..41460415 100644 --- a/old_docs/API_docs_v82/methods/messages.deleteHistory.md +++ b/old_docs/API_docs_v82/methods/messages.deleteHistory.md @@ -18,7 +18,7 @@ Deletes communication history. |max\_id|[int](../types/int.md) | Maximum ID of message to delete | Yes| -### Return type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) +### Return type: [messages.AffectedHistory](../types/messages.AffectedHistory.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedHistory = $MadelineProto->messages->deleteHistory(['just_clear' => Bool, 'peer' => InputPeer, 'max_id' => int, ]); +$messages.AffectedHistory = $MadelineProto->messages->deleteHistory(['just_clear' => Bool, 'peer' => InputPeer, 'max_id' => int, ]); ``` Or, if you're into Lua: ```lua -messages_AffectedHistory = messages.deleteHistory({just_clear=Bool, peer=InputPeer, max_id=int, }) +messages.AffectedHistory = messages.deleteHistory({just_clear=Bool, peer=InputPeer, max_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v82/methods/messages.deleteMessages.md b/old_docs/API_docs_v82/methods/messages.deleteMessages.md index ade04cae..ade96e60 100644 --- a/old_docs/API_docs_v82/methods/messages.deleteMessages.md +++ b/old_docs/API_docs_v82/methods/messages.deleteMessages.md @@ -17,7 +17,7 @@ Deletes messages by their identifiers. |id|Array of [int](../types/int.md) | IDs of messages to delete, use channels->deleteMessages for supergroups | Yes| -### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) +### Return type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedMessages = $MadelineProto->messages->deleteMessages(['revoke' => Bool, 'id' => [int, int], ]); +$messages.AffectedMessages = $MadelineProto->messages->deleteMessages(['revoke' => Bool, 'id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AffectedMessages = messages.deleteMessages({revoke=Bool, id={int}, }) +messages.AffectedMessages = messages.deleteMessages({revoke=Bool, id={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v82/methods/messages.getAllChats.md b/old_docs/API_docs_v82/methods/messages.getAllChats.md index cdcc5430..97cc4817 100644 --- a/old_docs/API_docs_v82/methods/messages.getAllChats.md +++ b/old_docs/API_docs_v82/methods/messages.getAllChats.md @@ -16,7 +16,7 @@ Get all chats, channels and supergroups |except\_ids|Array of [int](../types/int.md) | Do not fetch these chats (MTProto id) | Yes| -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->messages->getAllChats(['except_ids' => [int, int], ]); +$messages.Chats = $MadelineProto->messages->getAllChats(['except_ids' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Chats = messages.getAllChats({except_ids={int}, }) +messages.Chats = messages.getAllChats({except_ids={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v82/methods/messages.getAllStickers.md b/old_docs/API_docs_v82/methods/messages.getAllStickers.md index 329b70be..0f0de7f1 100644 --- a/old_docs/API_docs_v82/methods/messages.getAllStickers.md +++ b/old_docs/API_docs_v82/methods/messages.getAllStickers.md @@ -16,7 +16,7 @@ Get all installed stickers |hash|Array of [int](../types/int.md) | The hash parameter of the previous result of this method | Optional| -### Return type: [messages\_AllStickers](../types/messages_AllStickers.md) +### Return type: [messages.AllStickers](../types/messages.AllStickers.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AllStickers = $MadelineProto->messages->getAllStickers(['hash' => [int, int], ]); +$messages.AllStickers = $MadelineProto->messages->getAllStickers(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AllStickers = messages.getAllStickers({hash={int}, }) +messages.AllStickers = messages.getAllStickers({hash={int}, }) ``` diff --git a/old_docs/API_docs_v82/methods/messages.getArchivedStickers.md b/old_docs/API_docs_v82/methods/messages.getArchivedStickers.md index d3abe9fc..c108376e 100644 --- a/old_docs/API_docs_v82/methods/messages.getArchivedStickers.md +++ b/old_docs/API_docs_v82/methods/messages.getArchivedStickers.md @@ -18,7 +18,7 @@ Get all archived stickers |limit|[int](../types/int.md) | Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_ArchivedStickers](../types/messages_ArchivedStickers.md) +### Return type: [messages.ArchivedStickers](../types/messages.ArchivedStickers.md) ### Can bots use this method: **NO** @@ -35,12 +35,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_ArchivedStickers = $MadelineProto->messages->getArchivedStickers(['masks' => Bool, 'offset_id' => long, 'limit' => int, ]); +$messages.ArchivedStickers = $MadelineProto->messages->getArchivedStickers(['masks' => Bool, 'offset_id' => long, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -messages_ArchivedStickers = messages.getArchivedStickers({masks=Bool, offset_id=long, limit=int, }) +messages.ArchivedStickers = messages.getArchivedStickers({masks=Bool, offset_id=long, limit=int, }) ``` diff --git a/old_docs/API_docs_v82/methods/messages.getBotCallbackAnswer.md b/old_docs/API_docs_v82/methods/messages.getBotCallbackAnswer.md index 015fc46b..10072386 100644 --- a/old_docs/API_docs_v82/methods/messages.getBotCallbackAnswer.md +++ b/old_docs/API_docs_v82/methods/messages.getBotCallbackAnswer.md @@ -19,7 +19,7 @@ Press an inline callback button and get a callback answer from the bot |data|[bytes](../types/bytes.md) | Callback data | Optional| -### Return type: [messages\_BotCallbackAnswer](../types/messages_BotCallbackAnswer.md) +### Return type: [messages.BotCallbackAnswer](../types/messages.BotCallbackAnswer.md) ### Can bots use this method: **NO** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_BotCallbackAnswer = $MadelineProto->messages->getBotCallbackAnswer(['game' => Bool, 'peer' => InputPeer, 'msg_id' => int, 'data' => 'bytes', ]); +$messages.BotCallbackAnswer = $MadelineProto->messages->getBotCallbackAnswer(['game' => Bool, 'peer' => InputPeer, 'msg_id' => int, 'data' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -messages_BotCallbackAnswer = messages.getBotCallbackAnswer({game=Bool, peer=InputPeer, msg_id=int, data='bytes', }) +messages.BotCallbackAnswer = messages.getBotCallbackAnswer({game=Bool, peer=InputPeer, msg_id=int, data='bytes', }) ``` ### Errors diff --git a/old_docs/API_docs_v82/methods/messages.getChats.md b/old_docs/API_docs_v82/methods/messages.getChats.md index c34b0488..146341f5 100644 --- a/old_docs/API_docs_v82/methods/messages.getChats.md +++ b/old_docs/API_docs_v82/methods/messages.getChats.md @@ -16,7 +16,7 @@ Returns chat basic info on their IDs. |id|Array of [int](../types/int.md) | The MTProto IDs of chats to fetch info about | Yes| -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->messages->getChats(['id' => [int, int], ]); +$messages.Chats = $MadelineProto->messages->getChats(['id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Chats = messages.getChats({id={int}, }) +messages.Chats = messages.getChats({id={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v82/methods/messages.getCommonChats.md b/old_docs/API_docs_v82/methods/messages.getCommonChats.md index fc7b2363..56a3ec01 100644 --- a/old_docs/API_docs_v82/methods/messages.getCommonChats.md +++ b/old_docs/API_docs_v82/methods/messages.getCommonChats.md @@ -18,7 +18,7 @@ Get chats in common with a user |limit|[int](../types/int.md) | Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->messages->getCommonChats(['user_id' => InputUser, 'max_id' => int, 'limit' => int, ]); +$messages.Chats = $MadelineProto->messages->getCommonChats(['user_id' => InputUser, 'max_id' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Chats = messages.getCommonChats({user_id=InputUser, max_id=int, limit=int, }) +messages.Chats = messages.getCommonChats({user_id=InputUser, max_id=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v82/methods/messages.getDhConfig.md b/old_docs/API_docs_v82/methods/messages.getDhConfig.md index 88ea4ab3..7b9da566 100644 --- a/old_docs/API_docs_v82/methods/messages.getDhConfig.md +++ b/old_docs/API_docs_v82/methods/messages.getDhConfig.md @@ -17,7 +17,7 @@ You cannot use this method directly, instead use $MadelineProto->getDhConfig(); |random\_length|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->getDhConfig(); | Yes| -### Return type: [messages\_DhConfig](../types/messages_DhConfig.md) +### Return type: [messages.DhConfig](../types/messages.DhConfig.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_DhConfig = $MadelineProto->messages->getDhConfig(['version' => int, 'random_length' => int, ]); +$messages.DhConfig = $MadelineProto->messages->getDhConfig(['version' => int, 'random_length' => int, ]); ``` Or, if you're into Lua: ```lua -messages_DhConfig = messages.getDhConfig({version=int, random_length=int, }) +messages.DhConfig = messages.getDhConfig({version=int, random_length=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v82/methods/messages.getDialogs.md b/old_docs/API_docs_v82/methods/messages.getDialogs.md index 9871d8e6..7ceff940 100644 --- a/old_docs/API_docs_v82/methods/messages.getDialogs.md +++ b/old_docs/API_docs_v82/methods/messages.getDialogs.md @@ -21,7 +21,7 @@ Returns the current user dialog list. |hash|Array of [int](../types/int.md) | IDs of previously fetched dialogs | Optional| -### Return type: [messages\_Dialogs](../types/messages_Dialogs.md) +### Return type: [messages.Dialogs](../types/messages.Dialogs.md) ### Can bots use this method: **NO** @@ -38,13 +38,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Dialogs = $MadelineProto->messages->getDialogs(['exclude_pinned' => Bool, 'offset_date' => int, 'offset_id' => int, 'offset_peer' => InputPeer, 'limit' => int, 'hash' => [int, int], ]); +$messages.Dialogs = $MadelineProto->messages->getDialogs(['exclude_pinned' => Bool, 'offset_date' => int, 'offset_id' => int, 'offset_peer' => InputPeer, 'limit' => int, 'hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Dialogs = messages.getDialogs({exclude_pinned=Bool, offset_date=int, offset_id=int, offset_peer=InputPeer, limit=int, hash={int}, }) +messages.Dialogs = messages.getDialogs({exclude_pinned=Bool, offset_date=int, offset_id=int, offset_peer=InputPeer, limit=int, hash={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v82/methods/messages.getFavedStickers.md b/old_docs/API_docs_v82/methods/messages.getFavedStickers.md index 3ba077ef..19f64e43 100644 --- a/old_docs/API_docs_v82/methods/messages.getFavedStickers.md +++ b/old_docs/API_docs_v82/methods/messages.getFavedStickers.md @@ -16,7 +16,7 @@ Get faved stickers |hash|Array of [int](../types/int.md) | the hash parameter of the previous result of this method | Optional| -### Return type: [messages\_FavedStickers](../types/messages_FavedStickers.md) +### Return type: [messages.FavedStickers](../types/messages.FavedStickers.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_FavedStickers = $MadelineProto->messages->getFavedStickers(['hash' => [int, int], ]); +$messages.FavedStickers = $MadelineProto->messages->getFavedStickers(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_FavedStickers = messages.getFavedStickers({hash={int}, }) +messages.FavedStickers = messages.getFavedStickers({hash={int}, }) ``` diff --git a/old_docs/API_docs_v82/methods/messages.getFeaturedStickers.md b/old_docs/API_docs_v82/methods/messages.getFeaturedStickers.md index 8f2634c3..2d65d626 100644 --- a/old_docs/API_docs_v82/methods/messages.getFeaturedStickers.md +++ b/old_docs/API_docs_v82/methods/messages.getFeaturedStickers.md @@ -16,7 +16,7 @@ Get featured stickers |hash|Array of [int](../types/int.md) | the hash parameter of the previous result of this method | Optional| -### Return type: [messages\_FeaturedStickers](../types/messages_FeaturedStickers.md) +### Return type: [messages.FeaturedStickers](../types/messages.FeaturedStickers.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_FeaturedStickers = $MadelineProto->messages->getFeaturedStickers(['hash' => [int, int], ]); +$messages.FeaturedStickers = $MadelineProto->messages->getFeaturedStickers(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_FeaturedStickers = messages.getFeaturedStickers({hash={int}, }) +messages.FeaturedStickers = messages.getFeaturedStickers({hash={int}, }) ``` diff --git a/old_docs/API_docs_v82/methods/messages.getFullChat.md b/old_docs/API_docs_v82/methods/messages.getFullChat.md index abf23e21..de543651 100644 --- a/old_docs/API_docs_v82/methods/messages.getFullChat.md +++ b/old_docs/API_docs_v82/methods/messages.getFullChat.md @@ -16,7 +16,7 @@ You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo me |chat\_id|[Username, chat ID, Update, Message or InputPeer](../types/InputPeer.md) | You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo methods instead (see https://docs.madelineproto.xyz for more info) | Optional| -### Return type: [messages\_ChatFull](../types/messages_ChatFull.md) +### Return type: [messages.ChatFull](../types/messages.ChatFull.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_ChatFull = $MadelineProto->messages->getFullChat(['chat_id' => InputPeer, ]); +$messages.ChatFull = $MadelineProto->messages->getFullChat(['chat_id' => InputPeer, ]); ``` Or, if you're into Lua: ```lua -messages_ChatFull = messages.getFullChat({chat_id=InputPeer, }) +messages.ChatFull = messages.getFullChat({chat_id=InputPeer, }) ``` ### Errors diff --git a/old_docs/API_docs_v82/methods/messages.getGameHighScores.md b/old_docs/API_docs_v82/methods/messages.getGameHighScores.md index 0ee9d754..6e4dacb2 100644 --- a/old_docs/API_docs_v82/methods/messages.getGameHighScores.md +++ b/old_docs/API_docs_v82/methods/messages.getGameHighScores.md @@ -18,7 +18,7 @@ Get highscores of a game |user\_id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | Get high scores made by a certain user | Optional| -### Return type: [messages\_HighScores](../types/messages_HighScores.md) +### Return type: [messages.HighScores](../types/messages.HighScores.md) ### Can bots use this method: **YES** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_HighScores = $MadelineProto->messages->getGameHighScores(['peer' => InputPeer, 'id' => int, 'user_id' => InputUser, ]); +$messages.HighScores = $MadelineProto->messages->getGameHighScores(['peer' => InputPeer, 'id' => int, 'user_id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -messages_HighScores = messages.getGameHighScores({peer=InputPeer, id=int, user_id=InputUser, }) +messages.HighScores = messages.getGameHighScores({peer=InputPeer, id=int, user_id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v82/methods/messages.getHistory.md b/old_docs/API_docs_v82/methods/messages.getHistory.md index 9a3d5f8c..c7bd9850 100644 --- a/old_docs/API_docs_v82/methods/messages.getHistory.md +++ b/old_docs/API_docs_v82/methods/messages.getHistory.md @@ -23,7 +23,7 @@ Gets back the conversation history with one interlocutor / within a chat |hash|Array of [int](../types/int.md) | IDs of messages you already fetched | Optional| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **NO** @@ -40,13 +40,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->getHistory(['peer' => InputPeer, 'offset_id' => int, 'offset_date' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, 'hash' => [int, int], ]); +$messages.Messages = $MadelineProto->messages->getHistory(['peer' => InputPeer, 'offset_id' => int, 'offset_date' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, 'hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.getHistory({peer=InputPeer, offset_id=int, offset_date=int, add_offset=int, limit=int, max_id=int, min_id=int, hash={int}, }) +messages.Messages = messages.getHistory({peer=InputPeer, offset_id=int, offset_date=int, add_offset=int, limit=int, max_id=int, min_id=int, hash={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v82/methods/messages.getInlineBotResults.md b/old_docs/API_docs_v82/methods/messages.getInlineBotResults.md index ac251797..8a397236 100644 --- a/old_docs/API_docs_v82/methods/messages.getInlineBotResults.md +++ b/old_docs/API_docs_v82/methods/messages.getInlineBotResults.md @@ -20,7 +20,7 @@ Query an inline bot |offset|[string](../types/string.md) | The offset within the results, will be passed directly as-is to the bot. | Yes| -### Return type: [messages\_BotResults](../types/messages_BotResults.md) +### Return type: [messages.BotResults](../types/messages.BotResults.md) ### Can bots use this method: **NO** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_BotResults = $MadelineProto->messages->getInlineBotResults(['bot' => InputUser, 'peer' => InputPeer, 'geo_point' => InputGeoPoint, 'query' => 'string', 'offset' => 'string', ]); +$messages.BotResults = $MadelineProto->messages->getInlineBotResults(['bot' => InputUser, 'peer' => InputPeer, 'geo_point' => InputGeoPoint, 'query' => 'string', 'offset' => 'string', ]); ``` Or, if you're into Lua: ```lua -messages_BotResults = messages.getInlineBotResults({bot=InputUser, peer=InputPeer, geo_point=InputGeoPoint, query='string', offset='string', }) +messages.BotResults = messages.getInlineBotResults({bot=InputUser, peer=InputPeer, geo_point=InputGeoPoint, query='string', offset='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v82/methods/messages.getInlineGameHighScores.md b/old_docs/API_docs_v82/methods/messages.getInlineGameHighScores.md index 0d02b426..dbcb2cf6 100644 --- a/old_docs/API_docs_v82/methods/messages.getInlineGameHighScores.md +++ b/old_docs/API_docs_v82/methods/messages.getInlineGameHighScores.md @@ -17,7 +17,7 @@ Get highscores of a game sent using an inline bot |user\_id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | Get high scores of a certain user | Optional| -### Return type: [messages\_HighScores](../types/messages_HighScores.md) +### Return type: [messages.HighScores](../types/messages.HighScores.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_HighScores = $MadelineProto->messages->getInlineGameHighScores(['id' => InputBotInlineMessageID, 'user_id' => InputUser, ]); +$messages.HighScores = $MadelineProto->messages->getInlineGameHighScores(['id' => InputBotInlineMessageID, 'user_id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -messages_HighScores = messages.getInlineGameHighScores({id=InputBotInlineMessageID, user_id=InputUser, }) +messages.HighScores = messages.getInlineGameHighScores({id=InputBotInlineMessageID, user_id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v82/methods/messages.getMaskStickers.md b/old_docs/API_docs_v82/methods/messages.getMaskStickers.md index a09834e1..093645f6 100644 --- a/old_docs/API_docs_v82/methods/messages.getMaskStickers.md +++ b/old_docs/API_docs_v82/methods/messages.getMaskStickers.md @@ -16,7 +16,7 @@ Get installed mask stickers |hash|Array of [int](../types/int.md) | the hash parameter of the previous result of this method | Optional| -### Return type: [messages\_AllStickers](../types/messages_AllStickers.md) +### Return type: [messages.AllStickers](../types/messages.AllStickers.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AllStickers = $MadelineProto->messages->getMaskStickers(['hash' => [int, int], ]); +$messages.AllStickers = $MadelineProto->messages->getMaskStickers(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AllStickers = messages.getMaskStickers({hash={int}, }) +messages.AllStickers = messages.getMaskStickers({hash={int}, }) ``` diff --git a/old_docs/API_docs_v82/methods/messages.getMessageEditData.md b/old_docs/API_docs_v82/methods/messages.getMessageEditData.md index 1a083f08..7fd32e82 100644 --- a/old_docs/API_docs_v82/methods/messages.getMessageEditData.md +++ b/old_docs/API_docs_v82/methods/messages.getMessageEditData.md @@ -17,7 +17,7 @@ Find out if a media message's caption can be edited |id|[int](../types/int.md) | ID of message | Yes| -### Return type: [messages\_MessageEditData](../types/messages_MessageEditData.md) +### Return type: [messages.MessageEditData](../types/messages.MessageEditData.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_MessageEditData = $MadelineProto->messages->getMessageEditData(['peer' => InputPeer, 'id' => int, ]); +$messages.MessageEditData = $MadelineProto->messages->getMessageEditData(['peer' => InputPeer, 'id' => int, ]); ``` Or, if you're into Lua: ```lua -messages_MessageEditData = messages.getMessageEditData({peer=InputPeer, id=int, }) +messages.MessageEditData = messages.getMessageEditData({peer=InputPeer, id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v82/methods/messages.getMessages.md b/old_docs/API_docs_v82/methods/messages.getMessages.md index eb5ef6a6..0aed788d 100644 --- a/old_docs/API_docs_v82/methods/messages.getMessages.md +++ b/old_docs/API_docs_v82/methods/messages.getMessages.md @@ -16,7 +16,7 @@ Returns the list of messages by their IDs. |id|Array of [Message ID or InputMessage](../types/InputMessage.md) | The IDs of messages to fetch (only for users and normal groups) | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **YES** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->getMessages(['id' => [InputMessage, InputMessage], ]); +$messages.Messages = $MadelineProto->messages->getMessages(['id' => [InputMessage, InputMessage], ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.getMessages({id={InputMessage}, }) +messages.Messages = messages.getMessages({id={InputMessage}, }) ``` diff --git a/old_docs/API_docs_v82/methods/messages.getPeerDialogs.md b/old_docs/API_docs_v82/methods/messages.getPeerDialogs.md index 2ab5d661..1ec67e6a 100644 --- a/old_docs/API_docs_v82/methods/messages.getPeerDialogs.md +++ b/old_docs/API_docs_v82/methods/messages.getPeerDialogs.md @@ -16,7 +16,7 @@ Get dialog info of specified peers |peers|Array of [Username, chat ID, Update, Message or InputDialogPeer](../types/InputDialogPeer.md) | The peers | Yes| -### Return type: [messages\_PeerDialogs](../types/messages_PeerDialogs.md) +### Return type: [messages.PeerDialogs](../types/messages.PeerDialogs.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_PeerDialogs = $MadelineProto->messages->getPeerDialogs(['peers' => [InputDialogPeer, InputDialogPeer], ]); +$messages.PeerDialogs = $MadelineProto->messages->getPeerDialogs(['peers' => [InputDialogPeer, InputDialogPeer], ]); ``` Or, if you're into Lua: ```lua -messages_PeerDialogs = messages.getPeerDialogs({peers={InputDialogPeer}, }) +messages.PeerDialogs = messages.getPeerDialogs({peers={InputDialogPeer}, }) ``` ### Errors diff --git a/old_docs/API_docs_v82/methods/messages.getPinnedDialogs.md b/old_docs/API_docs_v82/methods/messages.getPinnedDialogs.md index f106098d..161075f2 100644 --- a/old_docs/API_docs_v82/methods/messages.getPinnedDialogs.md +++ b/old_docs/API_docs_v82/methods/messages.getPinnedDialogs.md @@ -11,7 +11,7 @@ Get pinned dialogs -### Return type: [messages\_PeerDialogs](../types/messages_PeerDialogs.md) +### Return type: [messages.PeerDialogs](../types/messages.PeerDialogs.md) ### Can bots use this method: **NO** @@ -28,13 +28,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_PeerDialogs = $MadelineProto->messages->getPinnedDialogs(); +$messages.PeerDialogs = $MadelineProto->messages->getPinnedDialogs(); ``` Or, if you're into Lua: ```lua -messages_PeerDialogs = messages.getPinnedDialogs({}) +messages.PeerDialogs = messages.getPinnedDialogs({}) ``` ### Errors diff --git a/old_docs/API_docs_v82/methods/messages.getRecentLocations.md b/old_docs/API_docs_v82/methods/messages.getRecentLocations.md index 40ec1285..4efeb49c 100644 --- a/old_docs/API_docs_v82/methods/messages.getRecentLocations.md +++ b/old_docs/API_docs_v82/methods/messages.getRecentLocations.md @@ -18,7 +18,7 @@ Get live location history of a certain user |hash|Array of [int](../types/int.md) | IDs of locations you already fetched | Optional| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **NO** @@ -35,12 +35,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->getRecentLocations(['peer' => InputPeer, 'limit' => int, 'hash' => [int, int], ]); +$messages.Messages = $MadelineProto->messages->getRecentLocations(['peer' => InputPeer, 'limit' => int, 'hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.getRecentLocations({peer=InputPeer, limit=int, hash={int}, }) +messages.Messages = messages.getRecentLocations({peer=InputPeer, limit=int, hash={int}, }) ``` diff --git a/old_docs/API_docs_v82/methods/messages.getRecentStickers.md b/old_docs/API_docs_v82/methods/messages.getRecentStickers.md index 28a70889..39cef16a 100644 --- a/old_docs/API_docs_v82/methods/messages.getRecentStickers.md +++ b/old_docs/API_docs_v82/methods/messages.getRecentStickers.md @@ -17,7 +17,7 @@ Get recent stickers |hash|Array of [int](../types/int.md) | IDs the hash parameter of the previous result of this method | Optional| -### Return type: [messages\_RecentStickers](../types/messages_RecentStickers.md) +### Return type: [messages.RecentStickers](../types/messages.RecentStickers.md) ### Can bots use this method: **NO** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_RecentStickers = $MadelineProto->messages->getRecentStickers(['attached' => Bool, 'hash' => [int, int], ]); +$messages.RecentStickers = $MadelineProto->messages->getRecentStickers(['attached' => Bool, 'hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_RecentStickers = messages.getRecentStickers({attached=Bool, hash={int}, }) +messages.RecentStickers = messages.getRecentStickers({attached=Bool, hash={int}, }) ``` diff --git a/old_docs/API_docs_v82/methods/messages.getSavedGifs.md b/old_docs/API_docs_v82/methods/messages.getSavedGifs.md index 1df7f37c..8b31f7b8 100644 --- a/old_docs/API_docs_v82/methods/messages.getSavedGifs.md +++ b/old_docs/API_docs_v82/methods/messages.getSavedGifs.md @@ -16,7 +16,7 @@ Get saved GIFs |hash|Array of [int](../types/int.md) | the hash parameter of the previous result of this method | Optional| -### Return type: [messages\_SavedGifs](../types/messages_SavedGifs.md) +### Return type: [messages.SavedGifs](../types/messages.SavedGifs.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_SavedGifs = $MadelineProto->messages->getSavedGifs(['hash' => [int, int], ]); +$messages.SavedGifs = $MadelineProto->messages->getSavedGifs(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_SavedGifs = messages.getSavedGifs({hash={int}, }) +messages.SavedGifs = messages.getSavedGifs({hash={int}, }) ``` diff --git a/old_docs/API_docs_v82/methods/messages.getStickerSet.md b/old_docs/API_docs_v82/methods/messages.getStickerSet.md index 45fca60f..f11887ee 100644 --- a/old_docs/API_docs_v82/methods/messages.getStickerSet.md +++ b/old_docs/API_docs_v82/methods/messages.getStickerSet.md @@ -16,7 +16,7 @@ Get info about a stickerset |stickerset|[InputStickerSet](../types/InputStickerSet.md) | Stickerset | Optional| -### Return type: [messages\_StickerSet](../types/messages_StickerSet.md) +### Return type: [messages.StickerSet](../types/messages.StickerSet.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StickerSet = $MadelineProto->messages->getStickerSet(['stickerset' => InputStickerSet, ]); +$messages.StickerSet = $MadelineProto->messages->getStickerSet(['stickerset' => InputStickerSet, ]); ``` Or, if you're into Lua: ```lua -messages_StickerSet = messages.getStickerSet({stickerset=InputStickerSet, }) +messages.StickerSet = messages.getStickerSet({stickerset=InputStickerSet, }) ``` ### Errors diff --git a/old_docs/API_docs_v82/methods/messages.getStickers.md b/old_docs/API_docs_v82/methods/messages.getStickers.md index 4f8b7598..ff99fbd2 100644 --- a/old_docs/API_docs_v82/methods/messages.getStickers.md +++ b/old_docs/API_docs_v82/methods/messages.getStickers.md @@ -17,7 +17,7 @@ Get stickers by emoji |hash|Array of [int](../types/int.md) | the hash parameter of the previous result of this method | Optional| -### Return type: [messages\_Stickers](../types/messages_Stickers.md) +### Return type: [messages.Stickers](../types/messages.Stickers.md) ### Can bots use this method: **NO** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Stickers = $MadelineProto->messages->getStickers(['emoticon' => 'string', 'hash' => [int, int], ]); +$messages.Stickers = $MadelineProto->messages->getStickers(['emoticon' => 'string', 'hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Stickers = messages.getStickers({emoticon='string', hash={int}, }) +messages.Stickers = messages.getStickers({emoticon='string', hash={int}, }) ``` diff --git a/old_docs/API_docs_v82/methods/messages.getUnreadMentions.md b/old_docs/API_docs_v82/methods/messages.getUnreadMentions.md index 33bba261..679ed841 100644 --- a/old_docs/API_docs_v82/methods/messages.getUnreadMentions.md +++ b/old_docs/API_docs_v82/methods/messages.getUnreadMentions.md @@ -21,7 +21,7 @@ Get unread messages where we were mentioned |min\_id|[int](../types/int.md) | Minimum message ID to return, [see pagination](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **NO** @@ -38,13 +38,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->getUnreadMentions(['peer' => InputPeer, 'offset_id' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); +$messages.Messages = $MadelineProto->messages->getUnreadMentions(['peer' => InputPeer, 'offset_id' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.getUnreadMentions({peer=InputPeer, offset_id=int, add_offset=int, limit=int, max_id=int, min_id=int, }) +messages.Messages = messages.getUnreadMentions({peer=InputPeer, offset_id=int, add_offset=int, limit=int, max_id=int, min_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v82/methods/messages.installStickerSet.md b/old_docs/API_docs_v82/methods/messages.installStickerSet.md index 1a95ca0b..83ce2121 100644 --- a/old_docs/API_docs_v82/methods/messages.installStickerSet.md +++ b/old_docs/API_docs_v82/methods/messages.installStickerSet.md @@ -17,7 +17,7 @@ Install a stickerset |archived|[Bool](../types/Bool.md) | Whether to archive stickerset | Yes| -### Return type: [messages\_StickerSetInstallResult](../types/messages_StickerSetInstallResult.md) +### Return type: [messages.StickerSetInstallResult](../types/messages.StickerSetInstallResult.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StickerSetInstallResult = $MadelineProto->messages->installStickerSet(['stickerset' => InputStickerSet, 'archived' => Bool, ]); +$messages.StickerSetInstallResult = $MadelineProto->messages->installStickerSet(['stickerset' => InputStickerSet, 'archived' => Bool, ]); ``` Or, if you're into Lua: ```lua -messages_StickerSetInstallResult = messages.installStickerSet({stickerset=InputStickerSet, archived=Bool, }) +messages.StickerSetInstallResult = messages.installStickerSet({stickerset=InputStickerSet, archived=Bool, }) ``` ### Errors diff --git a/old_docs/API_docs_v82/methods/messages.readHistory.md b/old_docs/API_docs_v82/methods/messages.readHistory.md index 39753375..52030c68 100644 --- a/old_docs/API_docs_v82/methods/messages.readHistory.md +++ b/old_docs/API_docs_v82/methods/messages.readHistory.md @@ -17,7 +17,7 @@ Marks message history as read. |max\_id|[int](../types/int.md) | If a positive value is passed, only messages with identifiers less or equal than the given one will be read | Yes| -### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) +### Return type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedMessages = $MadelineProto->messages->readHistory(['peer' => InputPeer, 'max_id' => int, ]); +$messages.AffectedMessages = $MadelineProto->messages->readHistory(['peer' => InputPeer, 'max_id' => int, ]); ``` Or, if you're into Lua: ```lua -messages_AffectedMessages = messages.readHistory({peer=InputPeer, max_id=int, }) +messages.AffectedMessages = messages.readHistory({peer=InputPeer, max_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v82/methods/messages.readMentions.md b/old_docs/API_docs_v82/methods/messages.readMentions.md index 9b73851d..c8c94f00 100644 --- a/old_docs/API_docs_v82/methods/messages.readMentions.md +++ b/old_docs/API_docs_v82/methods/messages.readMentions.md @@ -16,7 +16,7 @@ Mark mentions as read |peer|[Username, chat ID, Update, Message or InputPeer](../types/InputPeer.md) | Dialog | Optional| -### Return type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) +### Return type: [messages.AffectedHistory](../types/messages.AffectedHistory.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedHistory = $MadelineProto->messages->readMentions(['peer' => InputPeer, ]); +$messages.AffectedHistory = $MadelineProto->messages->readMentions(['peer' => InputPeer, ]); ``` Or, if you're into Lua: ```lua -messages_AffectedHistory = messages.readMentions({peer=InputPeer, }) +messages.AffectedHistory = messages.readMentions({peer=InputPeer, }) ``` diff --git a/old_docs/API_docs_v82/methods/messages.readMessageContents.md b/old_docs/API_docs_v82/methods/messages.readMessageContents.md index c479cafe..9798e661 100644 --- a/old_docs/API_docs_v82/methods/messages.readMessageContents.md +++ b/old_docs/API_docs_v82/methods/messages.readMessageContents.md @@ -16,7 +16,7 @@ Notifies the sender about the recipient having listened a voice message or watch |id|Array of [int](../types/int.md) | The messages to mark as read (only users and normal chats, not supergroups) | Yes| -### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) +### Return type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedMessages = $MadelineProto->messages->readMessageContents(['id' => [int, int], ]); +$messages.AffectedMessages = $MadelineProto->messages->readMessageContents(['id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AffectedMessages = messages.readMessageContents({id={int}, }) +messages.AffectedMessages = messages.readMessageContents({id={int}, }) ``` diff --git a/old_docs/API_docs_v82/methods/messages.search.md b/old_docs/API_docs_v82/methods/messages.search.md index 75c21af0..b8125fb6 100644 --- a/old_docs/API_docs_v82/methods/messages.search.md +++ b/old_docs/API_docs_v82/methods/messages.search.md @@ -27,7 +27,7 @@ Gets back found messages |hash|Array of [int](../types/int.md) | The IDs of messages you already fetched | Optional| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **NO** @@ -44,13 +44,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->search(['peer' => InputPeer, 'q' => 'string', 'from_id' => InputUser, 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset_id' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, 'hash' => [int, int], ]); +$messages.Messages = $MadelineProto->messages->search(['peer' => InputPeer, 'q' => 'string', 'from_id' => InputUser, 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset_id' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, 'hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.search({peer=InputPeer, q='string', from_id=InputUser, filter=MessagesFilter, min_date=int, max_date=int, offset_id=int, add_offset=int, limit=int, max_id=int, min_id=int, hash={int}, }) +messages.Messages = messages.search({peer=InputPeer, q='string', from_id=InputUser, filter=MessagesFilter, min_date=int, max_date=int, offset_id=int, add_offset=int, limit=int, max_id=int, min_id=int, hash={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v82/methods/messages.searchGifs.md b/old_docs/API_docs_v82/methods/messages.searchGifs.md index 851371d7..193a0cd4 100644 --- a/old_docs/API_docs_v82/methods/messages.searchGifs.md +++ b/old_docs/API_docs_v82/methods/messages.searchGifs.md @@ -17,7 +17,7 @@ Search for GIFs |offset|[int](../types/int.md) | Offset for [pagination »](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_FoundGifs](../types/messages_FoundGifs.md) +### Return type: [messages.FoundGifs](../types/messages.FoundGifs.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_FoundGifs = $MadelineProto->messages->searchGifs(['q' => 'string', 'offset' => int, ]); +$messages.FoundGifs = $MadelineProto->messages->searchGifs(['q' => 'string', 'offset' => int, ]); ``` Or, if you're into Lua: ```lua -messages_FoundGifs = messages.searchGifs({q='string', offset=int, }) +messages.FoundGifs = messages.searchGifs({q='string', offset=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v82/methods/messages.searchGlobal.md b/old_docs/API_docs_v82/methods/messages.searchGlobal.md index 4bd59f25..1a3b736d 100644 --- a/old_docs/API_docs_v82/methods/messages.searchGlobal.md +++ b/old_docs/API_docs_v82/methods/messages.searchGlobal.md @@ -20,7 +20,7 @@ Search for messages and peers globally |limit|[int](../types/int.md) | [Offsets for pagination, for more info click here](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **NO** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->searchGlobal(['q' => 'string', 'offset_date' => int, 'offset_peer' => InputPeer, 'offset_id' => int, 'limit' => int, ]); +$messages.Messages = $MadelineProto->messages->searchGlobal(['q' => 'string', 'offset_date' => int, 'offset_peer' => InputPeer, 'offset_id' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.searchGlobal({q='string', offset_date=int, offset_peer=InputPeer, offset_id=int, limit=int, }) +messages.Messages = messages.searchGlobal({q='string', offset_date=int, offset_peer=InputPeer, offset_id=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v82/methods/messages.searchStickerSets.md b/old_docs/API_docs_v82/methods/messages.searchStickerSets.md index 1759fbc0..a8924f3d 100644 --- a/old_docs/API_docs_v82/methods/messages.searchStickerSets.md +++ b/old_docs/API_docs_v82/methods/messages.searchStickerSets.md @@ -18,7 +18,7 @@ Search for stickersets |hash|Array of [int](../types/int.md) | The IDs of stickersets you already fetched | Optional| -### Return type: [messages\_FoundStickerSets](../types/messages_FoundStickerSets.md) +### Return type: [messages.FoundStickerSets](../types/messages.FoundStickerSets.md) ### Can bots use this method: **NO** @@ -35,12 +35,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_FoundStickerSets = $MadelineProto->messages->searchStickerSets(['exclude_featured' => Bool, 'q' => 'string', 'hash' => [int, int], ]); +$messages.FoundStickerSets = $MadelineProto->messages->searchStickerSets(['exclude_featured' => Bool, 'q' => 'string', 'hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_FoundStickerSets = messages.searchStickerSets({exclude_featured=Bool, q='string', hash={int}, }) +messages.FoundStickerSets = messages.searchStickerSets({exclude_featured=Bool, q='string', hash={int}, }) ``` diff --git a/old_docs/API_docs_v82/methods/messages.sendEncrypted.md b/old_docs/API_docs_v82/methods/messages.sendEncrypted.md index 47b5ef29..6a68b563 100644 --- a/old_docs/API_docs_v82/methods/messages.sendEncrypted.md +++ b/old_docs/API_docs_v82/methods/messages.sendEncrypted.md @@ -14,10 +14,10 @@ Sends a text message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|message|[DecryptedMessage](../types/DecryptedMessage.md) | The message to send | Yes| +|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key that was created during chat initialization | Yes| -### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ### Can bots use this method: **NO** @@ -34,21 +34,15 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncrypted(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); +$messages.SentEncryptedMessage = $MadelineProto->messages->sendEncrypted(['peer' => InputEncryptedChat, 'data' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -messages_SentEncryptedMessage = messages.sendEncrypted({peer=InputEncryptedChat, message=DecryptedMessage, }) +messages.SentEncryptedMessage = messages.sendEncrypted({peer=InputEncryptedChat, data='bytes', }) ``` - -## Return value - -If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) will be returned instead. - - ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v82/methods/messages.sendEncryptedFile.md b/old_docs/API_docs_v82/methods/messages.sendEncryptedFile.md index 4e0f7b7f..87185ba4 100644 --- a/old_docs/API_docs_v82/methods/messages.sendEncryptedFile.md +++ b/old_docs/API_docs_v82/methods/messages.sendEncryptedFile.md @@ -14,11 +14,11 @@ Sends a message with a file attachment to a secret chat | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|message|[DecryptedMessage](../types/DecryptedMessage.md) | The message with the file | Yes| +|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| |file|[File path or InputEncryptedFile](../types/InputEncryptedFile.md) | File attachment for the secret chat | Optional| -### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ### Can bots use this method: **NO** @@ -35,21 +35,15 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedFile(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, 'file' => InputEncryptedFile, ]); +$messages.SentEncryptedMessage = $MadelineProto->messages->sendEncryptedFile(['peer' => InputEncryptedChat, 'data' => 'bytes', 'file' => InputEncryptedFile, ]); ``` Or, if you're into Lua: ```lua -messages_SentEncryptedMessage = messages.sendEncryptedFile({peer=InputEncryptedChat, message=DecryptedMessage, file=InputEncryptedFile, }) +messages.SentEncryptedMessage = messages.sendEncryptedFile({peer=InputEncryptedChat, data='bytes', file=InputEncryptedFile, }) ``` - -## Return value - -If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) will be returned instead. - - ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v82/methods/messages.sendEncryptedService.md b/old_docs/API_docs_v82/methods/messages.sendEncryptedService.md index 86925ae3..38171272 100644 --- a/old_docs/API_docs_v82/methods/messages.sendEncryptedService.md +++ b/old_docs/API_docs_v82/methods/messages.sendEncryptedService.md @@ -14,10 +14,10 @@ Sends a service message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|message|[DecryptedMessage](../types/DecryptedMessage.md) | The service message | Yes| +|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| -### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ### Can bots use this method: **NO** @@ -34,21 +34,15 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedService(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); +$messages.SentEncryptedMessage = $MadelineProto->messages->sendEncryptedService(['peer' => InputEncryptedChat, 'data' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -messages_SentEncryptedMessage = messages.sendEncryptedService({peer=InputEncryptedChat, message=DecryptedMessage, }) +messages.SentEncryptedMessage = messages.sendEncryptedService({peer=InputEncryptedChat, data='bytes', }) ``` - -## Return value - -If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) will be returned instead. - - ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v82/methods/payments.getPaymentForm.md b/old_docs/API_docs_v82/methods/payments.getPaymentForm.md index 3a171a05..da173f14 100644 --- a/old_docs/API_docs_v82/methods/payments.getPaymentForm.md +++ b/old_docs/API_docs_v82/methods/payments.getPaymentForm.md @@ -16,7 +16,7 @@ Get a payment form |msg\_id|[int](../types/int.md) | Message ID of payment form | Yes| -### Return type: [payments\_PaymentForm](../types/payments_PaymentForm.md) +### Return type: [payments.PaymentForm](../types/payments.PaymentForm.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$payments_PaymentForm = $MadelineProto->payments->getPaymentForm(['msg_id' => int, ]); +$payments.PaymentForm = $MadelineProto->payments->getPaymentForm(['msg_id' => int, ]); ``` Or, if you're into Lua: ```lua -payments_PaymentForm = payments.getPaymentForm({msg_id=int, }) +payments.PaymentForm = payments.getPaymentForm({msg_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v82/methods/payments.getPaymentReceipt.md b/old_docs/API_docs_v82/methods/payments.getPaymentReceipt.md index 46d2267c..16e41367 100644 --- a/old_docs/API_docs_v82/methods/payments.getPaymentReceipt.md +++ b/old_docs/API_docs_v82/methods/payments.getPaymentReceipt.md @@ -16,7 +16,7 @@ Get payment receipt |msg\_id|[int](../types/int.md) | Message ID of receipt | Yes| -### Return type: [payments\_PaymentReceipt](../types/payments_PaymentReceipt.md) +### Return type: [payments.PaymentReceipt](../types/payments.PaymentReceipt.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$payments_PaymentReceipt = $MadelineProto->payments->getPaymentReceipt(['msg_id' => int, ]); +$payments.PaymentReceipt = $MadelineProto->payments->getPaymentReceipt(['msg_id' => int, ]); ``` Or, if you're into Lua: ```lua -payments_PaymentReceipt = payments.getPaymentReceipt({msg_id=int, }) +payments.PaymentReceipt = payments.getPaymentReceipt({msg_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v82/methods/payments.getSavedInfo.md b/old_docs/API_docs_v82/methods/payments.getSavedInfo.md index dc9c9b98..fe2c16ec 100644 --- a/old_docs/API_docs_v82/methods/payments.getSavedInfo.md +++ b/old_docs/API_docs_v82/methods/payments.getSavedInfo.md @@ -11,7 +11,7 @@ Get saved payment information -### Return type: [payments\_SavedInfo](../types/payments_SavedInfo.md) +### Return type: [payments.SavedInfo](../types/payments.SavedInfo.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$payments_SavedInfo = $MadelineProto->payments->getSavedInfo(); +$payments.SavedInfo = $MadelineProto->payments->getSavedInfo(); ``` Or, if you're into Lua: ```lua -payments_SavedInfo = payments.getSavedInfo({}) +payments.SavedInfo = payments.getSavedInfo({}) ``` diff --git a/old_docs/API_docs_v82/methods/payments.sendPaymentForm.md b/old_docs/API_docs_v82/methods/payments.sendPaymentForm.md index 8c478b92..de154e7f 100644 --- a/old_docs/API_docs_v82/methods/payments.sendPaymentForm.md +++ b/old_docs/API_docs_v82/methods/payments.sendPaymentForm.md @@ -19,7 +19,7 @@ Send compiled payment form |credentials|[InputPaymentCredentials](../types/InputPaymentCredentials.md) | Payment credentials | Yes| -### Return type: [payments\_PaymentResult](../types/payments_PaymentResult.md) +### Return type: [payments.PaymentResult](../types/payments.PaymentResult.md) ### Can bots use this method: **NO** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$payments_PaymentResult = $MadelineProto->payments->sendPaymentForm(['msg_id' => int, 'requested_info_id' => 'string', 'shipping_option_id' => 'string', 'credentials' => InputPaymentCredentials, ]); +$payments.PaymentResult = $MadelineProto->payments->sendPaymentForm(['msg_id' => int, 'requested_info_id' => 'string', 'shipping_option_id' => 'string', 'credentials' => InputPaymentCredentials, ]); ``` Or, if you're into Lua: ```lua -payments_PaymentResult = payments.sendPaymentForm({msg_id=int, requested_info_id='string', shipping_option_id='string', credentials=InputPaymentCredentials, }) +payments.PaymentResult = payments.sendPaymentForm({msg_id=int, requested_info_id='string', shipping_option_id='string', credentials=InputPaymentCredentials, }) ``` ### Errors diff --git a/old_docs/API_docs_v82/methods/payments.validateRequestedInfo.md b/old_docs/API_docs_v82/methods/payments.validateRequestedInfo.md index d6364a02..ce22cfe8 100644 --- a/old_docs/API_docs_v82/methods/payments.validateRequestedInfo.md +++ b/old_docs/API_docs_v82/methods/payments.validateRequestedInfo.md @@ -18,7 +18,7 @@ Submit requested order information for validation |info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Requested order information | Yes| -### Return type: [payments\_ValidatedRequestedInfo](../types/payments_ValidatedRequestedInfo.md) +### Return type: [payments.ValidatedRequestedInfo](../types/payments.ValidatedRequestedInfo.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$payments_ValidatedRequestedInfo = $MadelineProto->payments->validateRequestedInfo(['save' => Bool, 'msg_id' => int, 'info' => PaymentRequestedInfo, ]); +$payments.ValidatedRequestedInfo = $MadelineProto->payments->validateRequestedInfo(['save' => Bool, 'msg_id' => int, 'info' => PaymentRequestedInfo, ]); ``` Or, if you're into Lua: ```lua -payments_ValidatedRequestedInfo = payments.validateRequestedInfo({save=Bool, msg_id=int, info=PaymentRequestedInfo, }) +payments.ValidatedRequestedInfo = payments.validateRequestedInfo({save=Bool, msg_id=int, info=PaymentRequestedInfo, }) ``` ### Errors diff --git a/old_docs/API_docs_v82/methods/phone.acceptCall.md b/old_docs/API_docs_v82/methods/phone.acceptCall.md index f5c58f01..6b9185aa 100644 --- a/old_docs/API_docs_v82/methods/phone.acceptCall.md +++ b/old_docs/API_docs_v82/methods/phone.acceptCall.md @@ -18,7 +18,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz#calls fo |protocol|[PhoneCallProtocol](../types/PhoneCallProtocol.md) | You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls | Yes| -### Return type: [phone\_PhoneCall](../types/phone_PhoneCall.md) +### Return type: [phone.PhoneCall](../types/phone.PhoneCall.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$phone_PhoneCall = $MadelineProto->phone->acceptCall(['peer' => InputPhoneCall, 'g_b' => 'bytes', 'protocol' => PhoneCallProtocol, ]); +$phone.PhoneCall = $MadelineProto->phone->acceptCall(['peer' => InputPhoneCall, 'g_b' => 'bytes', 'protocol' => PhoneCallProtocol, ]); ``` Or, if you're into Lua: ```lua -phone_PhoneCall = phone.acceptCall({peer=InputPhoneCall, g_b='bytes', protocol=PhoneCallProtocol, }) +phone.PhoneCall = phone.acceptCall({peer=InputPhoneCall, g_b='bytes', protocol=PhoneCallProtocol, }) ``` ### Errors diff --git a/old_docs/API_docs_v82/methods/phone.confirmCall.md b/old_docs/API_docs_v82/methods/phone.confirmCall.md index 468307cc..a52d1f9c 100644 --- a/old_docs/API_docs_v82/methods/phone.confirmCall.md +++ b/old_docs/API_docs_v82/methods/phone.confirmCall.md @@ -19,7 +19,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz#calls fo |protocol|[PhoneCallProtocol](../types/PhoneCallProtocol.md) | You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls | Yes| -### Return type: [phone\_PhoneCall](../types/phone_PhoneCall.md) +### Return type: [phone.PhoneCall](../types/phone.PhoneCall.md) ### Can bots use this method: **NO** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$phone_PhoneCall = $MadelineProto->phone->confirmCall(['peer' => InputPhoneCall, 'g_a' => 'bytes', 'key_fingerprint' => long, 'protocol' => PhoneCallProtocol, ]); +$phone.PhoneCall = $MadelineProto->phone->confirmCall(['peer' => InputPhoneCall, 'g_a' => 'bytes', 'key_fingerprint' => long, 'protocol' => PhoneCallProtocol, ]); ``` Or, if you're into Lua: ```lua -phone_PhoneCall = phone.confirmCall({peer=InputPhoneCall, g_a='bytes', key_fingerprint=long, protocol=PhoneCallProtocol, }) +phone.PhoneCall = phone.confirmCall({peer=InputPhoneCall, g_a='bytes', key_fingerprint=long, protocol=PhoneCallProtocol, }) ``` ### Errors diff --git a/old_docs/API_docs_v82/methods/phone.requestCall.md b/old_docs/API_docs_v82/methods/phone.requestCall.md index c8e828f2..37e847a7 100644 --- a/old_docs/API_docs_v82/methods/phone.requestCall.md +++ b/old_docs/API_docs_v82/methods/phone.requestCall.md @@ -18,7 +18,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz#calls fo |protocol|[PhoneCallProtocol](../types/PhoneCallProtocol.md) | You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls | Yes| -### Return type: [phone\_PhoneCall](../types/phone_PhoneCall.md) +### Return type: [phone.PhoneCall](../types/phone.PhoneCall.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$phone_PhoneCall = $MadelineProto->phone->requestCall(['user_id' => InputUser, 'g_a_hash' => 'bytes', 'protocol' => PhoneCallProtocol, ]); +$phone.PhoneCall = $MadelineProto->phone->requestCall(['user_id' => InputUser, 'g_a_hash' => 'bytes', 'protocol' => PhoneCallProtocol, ]); ``` Or, if you're into Lua: ```lua -phone_PhoneCall = phone.requestCall({user_id=InputUser, g_a_hash='bytes', protocol=PhoneCallProtocol, }) +phone.PhoneCall = phone.requestCall({user_id=InputUser, g_a_hash='bytes', protocol=PhoneCallProtocol, }) ``` ### Errors diff --git a/old_docs/API_docs_v82/methods/photos.getUserPhotos.md b/old_docs/API_docs_v82/methods/photos.getUserPhotos.md index a1dec2ed..1f8d5c64 100644 --- a/old_docs/API_docs_v82/methods/photos.getUserPhotos.md +++ b/old_docs/API_docs_v82/methods/photos.getUserPhotos.md @@ -19,7 +19,7 @@ Returns the list of user photos. |limit|[int](../types/int.md) | Number of list elements to be returned | Yes| -### Return type: [photos\_Photos](../types/photos_Photos.md) +### Return type: [photos.Photos](../types/photos.Photos.md) ### Can bots use this method: **YES** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$photos_Photos = $MadelineProto->photos->getUserPhotos(['user_id' => InputUser, 'offset' => int, 'max_id' => long, 'limit' => int, ]); +$photos.Photos = $MadelineProto->photos->getUserPhotos(['user_id' => InputUser, 'offset' => int, 'max_id' => long, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -photos_Photos = photos.getUserPhotos({user_id=InputUser, offset=int, max_id=long, limit=int, }) +photos.Photos = photos.getUserPhotos({user_id=InputUser, offset=int, max_id=long, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v82/methods/photos.uploadProfilePhoto.md b/old_docs/API_docs_v82/methods/photos.uploadProfilePhoto.md index b6a01ee7..4de76a24 100644 --- a/old_docs/API_docs_v82/methods/photos.uploadProfilePhoto.md +++ b/old_docs/API_docs_v82/methods/photos.uploadProfilePhoto.md @@ -16,7 +16,7 @@ Updates current user profile photo. |file|[File path or InputFile](../types/InputFile.md) | File saved in parts by means of [upload.saveFilePart](../methods/upload.saveFilePart.md) method | Yes| -### Return type: [photos\_Photo](../types/photos_Photo.md) +### Return type: [photos.Photo](../types/photos.Photo.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$photos_Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, ]); +$photos.Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, ]); ``` Or, if you're into Lua: ```lua -photos_Photo = photos.uploadProfilePhoto({file=InputFile, }) +photos.Photo = photos.uploadProfilePhoto({file=InputFile, }) ``` ### Errors diff --git a/old_docs/API_docs_v82/methods/stickers.addStickerToSet.md b/old_docs/API_docs_v82/methods/stickers.addStickerToSet.md index 727d3f27..e8392355 100644 --- a/old_docs/API_docs_v82/methods/stickers.addStickerToSet.md +++ b/old_docs/API_docs_v82/methods/stickers.addStickerToSet.md @@ -17,7 +17,7 @@ Add a sticker to a stickerset, bots only. The sticker set must have been created |sticker|[InputStickerSetItem](../types/InputStickerSetItem.md) | The sticker | Yes| -### Return type: [messages\_StickerSet](../types/messages_StickerSet.md) +### Return type: [messages.StickerSet](../types/messages.StickerSet.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StickerSet = $MadelineProto->stickers->addStickerToSet(['stickerset' => InputStickerSet, 'sticker' => InputStickerSetItem, ]); +$messages.StickerSet = $MadelineProto->stickers->addStickerToSet(['stickerset' => InputStickerSet, 'sticker' => InputStickerSetItem, ]); ``` Or, if you're into Lua: ```lua -messages_StickerSet = stickers.addStickerToSet({stickerset=InputStickerSet, sticker=InputStickerSetItem, }) +messages.StickerSet = stickers.addStickerToSet({stickerset=InputStickerSet, sticker=InputStickerSetItem, }) ``` ### Errors diff --git a/old_docs/API_docs_v82/methods/stickers.changeStickerPosition.md b/old_docs/API_docs_v82/methods/stickers.changeStickerPosition.md index ed390f21..e1d8ab5e 100644 --- a/old_docs/API_docs_v82/methods/stickers.changeStickerPosition.md +++ b/old_docs/API_docs_v82/methods/stickers.changeStickerPosition.md @@ -17,7 +17,7 @@ Changes the absolute position of a sticker in the set to which it belongs; for b |position|[int](../types/int.md) | The new position of the sticker, zero-based | Yes| -### Return type: [messages\_StickerSet](../types/messages_StickerSet.md) +### Return type: [messages.StickerSet](../types/messages.StickerSet.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StickerSet = $MadelineProto->stickers->changeStickerPosition(['sticker' => InputDocument, 'position' => int, ]); +$messages.StickerSet = $MadelineProto->stickers->changeStickerPosition(['sticker' => InputDocument, 'position' => int, ]); ``` Or, if you're into Lua: ```lua -messages_StickerSet = stickers.changeStickerPosition({sticker=InputDocument, position=int, }) +messages.StickerSet = stickers.changeStickerPosition({sticker=InputDocument, position=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v82/methods/stickers.createStickerSet.md b/old_docs/API_docs_v82/methods/stickers.createStickerSet.md index 5a6ef396..7eeeb48f 100644 --- a/old_docs/API_docs_v82/methods/stickers.createStickerSet.md +++ b/old_docs/API_docs_v82/methods/stickers.createStickerSet.md @@ -20,7 +20,7 @@ Create a stickerset, bots only. |stickers|Array of [InputStickerSetItem](../types/InputStickerSetItem.md) | The stickers to add | Yes| -### Return type: [messages\_StickerSet](../types/messages_StickerSet.md) +### Return type: [messages.StickerSet](../types/messages.StickerSet.md) ### Can bots use this method: **YES** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StickerSet = $MadelineProto->stickers->createStickerSet(['masks' => Bool, 'user_id' => InputUser, 'title' => 'string', 'short_name' => 'string', 'stickers' => [InputStickerSetItem, InputStickerSetItem], ]); +$messages.StickerSet = $MadelineProto->stickers->createStickerSet(['masks' => Bool, 'user_id' => InputUser, 'title' => 'string', 'short_name' => 'string', 'stickers' => [InputStickerSetItem, InputStickerSetItem], ]); ``` Or, if you're into Lua: ```lua -messages_StickerSet = stickers.createStickerSet({masks=Bool, user_id=InputUser, title='string', short_name='string', stickers={InputStickerSetItem}, }) +messages.StickerSet = stickers.createStickerSet({masks=Bool, user_id=InputUser, title='string', short_name='string', stickers={InputStickerSetItem}, }) ``` ### Errors diff --git a/old_docs/API_docs_v82/methods/stickers.removeStickerFromSet.md b/old_docs/API_docs_v82/methods/stickers.removeStickerFromSet.md index 33f677b3..aa4927ca 100644 --- a/old_docs/API_docs_v82/methods/stickers.removeStickerFromSet.md +++ b/old_docs/API_docs_v82/methods/stickers.removeStickerFromSet.md @@ -16,7 +16,7 @@ Remove a sticker from the set where it belongs, bots only. The sticker set must |sticker|[MessageMedia, Update, Message or InputDocument](../types/InputDocument.md) | The sticker to remove | Optional| -### Return type: [messages\_StickerSet](../types/messages_StickerSet.md) +### Return type: [messages.StickerSet](../types/messages.StickerSet.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StickerSet = $MadelineProto->stickers->removeStickerFromSet(['sticker' => InputDocument, ]); +$messages.StickerSet = $MadelineProto->stickers->removeStickerFromSet(['sticker' => InputDocument, ]); ``` Or, if you're into Lua: ```lua -messages_StickerSet = stickers.removeStickerFromSet({sticker=InputDocument, }) +messages.StickerSet = stickers.removeStickerFromSet({sticker=InputDocument, }) ``` ### Errors diff --git a/old_docs/API_docs_v82/methods/updates.getChannelDifference.md b/old_docs/API_docs_v82/methods/updates.getChannelDifference.md index 5675cd33..08df3395 100644 --- a/old_docs/API_docs_v82/methods/updates.getChannelDifference.md +++ b/old_docs/API_docs_v82/methods/updates.getChannelDifference.md @@ -20,7 +20,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz for more |limit|[int](../types/int.md) | You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates | Yes| -### Return type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) +### Return type: [updates.ChannelDifference](../types/updates.ChannelDifference.md) ### Can bots use this method: **YES** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$updates_ChannelDifference = $MadelineProto->updates->getChannelDifference(['force' => Bool, 'channel' => InputChannel, 'filter' => ChannelMessagesFilter, 'pts' => int, 'limit' => int, ]); +$updates.ChannelDifference = $MadelineProto->updates->getChannelDifference(['force' => Bool, 'channel' => InputChannel, 'filter' => ChannelMessagesFilter, 'pts' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -updates_ChannelDifference = updates.getChannelDifference({force=Bool, channel=InputChannel, filter=ChannelMessagesFilter, pts=int, limit=int, }) +updates.ChannelDifference = updates.getChannelDifference({force=Bool, channel=InputChannel, filter=ChannelMessagesFilter, pts=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v82/methods/updates.getDifference.md b/old_docs/API_docs_v82/methods/updates.getDifference.md index bcfac4e2..b3796a10 100644 --- a/old_docs/API_docs_v82/methods/updates.getDifference.md +++ b/old_docs/API_docs_v82/methods/updates.getDifference.md @@ -19,7 +19,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz for more |qts|[int](../types/int.md) | You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates | Yes| -### Return type: [updates\_Difference](../types/updates_Difference.md) +### Return type: [updates.Difference](../types/updates.Difference.md) ### Can bots use this method: **YES** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$updates_Difference = $MadelineProto->updates->getDifference(['pts' => int, 'pts_total_limit' => int, 'date' => int, 'qts' => int, ]); +$updates.Difference = $MadelineProto->updates->getDifference(['pts' => int, 'pts_total_limit' => int, 'date' => int, 'qts' => int, ]); ``` Or, if you're into Lua: ```lua -updates_Difference = updates.getDifference({pts=int, pts_total_limit=int, date=int, qts=int, }) +updates.Difference = updates.getDifference({pts=int, pts_total_limit=int, date=int, qts=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v82/methods/updates.getState.md b/old_docs/API_docs_v82/methods/updates.getState.md index c591408a..9a7d2f34 100644 --- a/old_docs/API_docs_v82/methods/updates.getState.md +++ b/old_docs/API_docs_v82/methods/updates.getState.md @@ -11,7 +11,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz for more -### Return type: [updates\_State](../types/updates_State.md) +### Return type: [updates.State](../types/updates.State.md) ### Can bots use this method: **YES** @@ -28,13 +28,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$updates_State = $MadelineProto->updates->getState(); +$updates.State = $MadelineProto->updates->getState(); ``` Or, if you're into Lua: ```lua -updates_State = updates.getState({}) +updates.State = updates.getState({}) ``` ### Errors diff --git a/old_docs/API_docs_v82/methods/upload.getCdnFile.md b/old_docs/API_docs_v82/methods/upload.getCdnFile.md index a3c928b2..67b2e84e 100644 --- a/old_docs/API_docs_v82/methods/upload.getCdnFile.md +++ b/old_docs/API_docs_v82/methods/upload.getCdnFile.md @@ -18,7 +18,7 @@ You cannot use this method directly, use the upload, downloadToStream, downloadT |limit|[int](../types/int.md) | You cannot use this method directly, use the upload, downloadToStream, downloadToFile, downloadToDir methods instead; see https://docs.madelineproto.xyz for more info | Yes| -### Return type: [upload\_CdnFile](../types/upload_CdnFile.md) +### Return type: [upload.CdnFile](../types/upload.CdnFile.md) ### Can bots use this method: **NO** @@ -35,12 +35,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$upload_CdnFile = $MadelineProto->upload->getCdnFile(['file_token' => 'bytes', 'offset' => int, 'limit' => int, ]); +$upload.CdnFile = $MadelineProto->upload->getCdnFile(['file_token' => 'bytes', 'offset' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -upload_CdnFile = upload.getCdnFile({file_token='bytes', offset=int, limit=int, }) +upload.CdnFile = upload.getCdnFile({file_token='bytes', offset=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v82/methods/upload.getFile.md b/old_docs/API_docs_v82/methods/upload.getFile.md index 8aba03d4..ab9f4fe2 100644 --- a/old_docs/API_docs_v82/methods/upload.getFile.md +++ b/old_docs/API_docs_v82/methods/upload.getFile.md @@ -18,7 +18,7 @@ You cannot use this method directly, use the upload, downloadToStream, downloadT |limit|[int](../types/int.md) | You cannot use this method directly, use the upload, downloadToStream, downloadToFile, downloadToDir methods instead; see https://docs.madelineproto.xyz for more info | Yes| -### Return type: [upload\_File](../types/upload_File.md) +### Return type: [upload.File](../types/upload.File.md) ### Can bots use this method: **YES** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$upload_File = $MadelineProto->upload->getFile(['location' => InputFileLocation, 'offset' => int, 'limit' => int, ]); +$upload.File = $MadelineProto->upload->getFile(['location' => InputFileLocation, 'offset' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -upload_File = upload.getFile({location=InputFileLocation, offset=int, limit=int, }) +upload.File = upload.getFile({location=InputFileLocation, offset=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v82/methods/upload.getWebFile.md b/old_docs/API_docs_v82/methods/upload.getWebFile.md index 32f6b322..60f1b8c1 100644 --- a/old_docs/API_docs_v82/methods/upload.getWebFile.md +++ b/old_docs/API_docs_v82/methods/upload.getWebFile.md @@ -18,7 +18,7 @@ Returns content of an HTTP file or a part, by proxying the request through teleg |limit|[int](../types/int.md) | Number of bytes to be returned | Yes| -### Return type: [upload\_WebFile](../types/upload_WebFile.md) +### Return type: [upload.WebFile](../types/upload.WebFile.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$upload_WebFile = $MadelineProto->upload->getWebFile(['location' => InputWebFileLocation, 'offset' => int, 'limit' => int, ]); +$upload.WebFile = $MadelineProto->upload->getWebFile(['location' => InputWebFileLocation, 'offset' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -upload_WebFile = upload.getWebFile({location=InputWebFileLocation, offset=int, limit=int, }) +upload.WebFile = upload.getWebFile({location=InputWebFileLocation, offset=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v82/types/AccountDaysTTL.md b/old_docs/API_docs_v82/types/AccountDaysTTL.md index 12a10190..f3494aac 100644 --- a/old_docs/API_docs_v82/types/AccountDaysTTL.md +++ b/old_docs/API_docs_v82/types/AccountDaysTTL.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->account->getAccountTTL](../methods/account_getAccountTTL.md) +[$MadelineProto->account->getAccountTTL](../methods/account.getAccountTTL.md) diff --git a/old_docs/API_docs_v82/types/CdnConfig.md b/old_docs/API_docs_v82/types/CdnConfig.md index fbfe01c3..0b0fb5be 100644 --- a/old_docs/API_docs_v82/types/CdnConfig.md +++ b/old_docs/API_docs_v82/types/CdnConfig.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->help->getCdnConfig](../methods/help_getCdnConfig.md) +[$MadelineProto->help->getCdnConfig](../methods/help.getCdnConfig.md) diff --git a/old_docs/API_docs_v82/types/ChatInvite.md b/old_docs/API_docs_v82/types/ChatInvite.md index 5022a2f0..9fafabb4 100644 --- a/old_docs/API_docs_v82/types/ChatInvite.md +++ b/old_docs/API_docs_v82/types/ChatInvite.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->checkChatInvite](../methods/messages_checkChatInvite.md) +[$MadelineProto->messages->checkChatInvite](../methods/messages.checkChatInvite.md) diff --git a/old_docs/API_docs_v82/types/Config.md b/old_docs/API_docs_v82/types/Config.md index 0f7fbe70..3a23b7b7 100644 --- a/old_docs/API_docs_v82/types/Config.md +++ b/old_docs/API_docs_v82/types/Config.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->help->getConfig](../methods/help_getConfig.md) +[$MadelineProto->help->getConfig](../methods/help.getConfig.md) diff --git a/old_docs/API_docs_v82/types/ContactStatus.md b/old_docs/API_docs_v82/types/ContactStatus.md index c5f5d658..30aee6e2 100644 --- a/old_docs/API_docs_v82/types/ContactStatus.md +++ b/old_docs/API_docs_v82/types/ContactStatus.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->contacts->getStatuses](../methods/contacts_getStatuses.md) +[$MadelineProto->contacts->getStatuses](../methods/contacts.getStatuses.md) diff --git a/old_docs/API_docs_v82/types/DialogPeer.md b/old_docs/API_docs_v82/types/DialogPeer.md index 77d00a35..72c2a973 100644 --- a/old_docs/API_docs_v82/types/DialogPeer.md +++ b/old_docs/API_docs_v82/types/DialogPeer.md @@ -40,7 +40,7 @@ A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDia ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getDialogUnreadMarks](../methods/messages_getDialogUnreadMarks.md) +[$MadelineProto->messages->getDialogUnreadMarks](../methods/messages.getDialogUnreadMarks.md) diff --git a/old_docs/API_docs_v82/types/Document.md b/old_docs/API_docs_v82/types/Document.md index f68b7aa4..2cb85623 100644 --- a/old_docs/API_docs_v82/types/Document.md +++ b/old_docs/API_docs_v82/types/Document.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getDocumentByHash](../methods/messages_getDocumentByHash.md) +[$MadelineProto->messages->getDocumentByHash](../methods/messages.getDocumentByHash.md) diff --git a/old_docs/API_docs_v82/types/EncryptedChat.md b/old_docs/API_docs_v82/types/EncryptedChat.md index fd2277f6..19cf52b0 100644 --- a/old_docs/API_docs_v82/types/EncryptedChat.md +++ b/old_docs/API_docs_v82/types/EncryptedChat.md @@ -24,9 +24,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->requestEncryption](../methods/messages_requestEncryption.md) +[$MadelineProto->messages->requestEncryption](../methods/messages.requestEncryption.md) -[$MadelineProto->messages->acceptEncryption](../methods/messages_acceptEncryption.md) +[$MadelineProto->messages->acceptEncryption](../methods/messages.acceptEncryption.md) diff --git a/old_docs/API_docs_v82/types/EncryptedFile.md b/old_docs/API_docs_v82/types/EncryptedFile.md index a26d40bb..8ecf8e9d 100644 --- a/old_docs/API_docs_v82/types/EncryptedFile.md +++ b/old_docs/API_docs_v82/types/EncryptedFile.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->uploadEncryptedFile](../methods/messages_uploadEncryptedFile.md) +[$MadelineProto->messages->uploadEncryptedFile](../methods/messages.uploadEncryptedFile.md) diff --git a/old_docs/API_docs_v82/types/ExportedChatInvite.md b/old_docs/API_docs_v82/types/ExportedChatInvite.md index 4213a78f..53ce5f59 100644 --- a/old_docs/API_docs_v82/types/ExportedChatInvite.md +++ b/old_docs/API_docs_v82/types/ExportedChatInvite.md @@ -18,9 +18,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->exportChatInvite](../methods/messages_exportChatInvite.md) +[$MadelineProto->messages->exportChatInvite](../methods/messages.exportChatInvite.md) -[$MadelineProto->channels->exportInvite](../methods/channels_exportInvite.md) +[$MadelineProto->channels->exportInvite](../methods/channels.exportInvite.md) diff --git a/old_docs/API_docs_v82/types/ExportedMessageLink.md b/old_docs/API_docs_v82/types/ExportedMessageLink.md index eb2400f6..948e9c90 100644 --- a/old_docs/API_docs_v82/types/ExportedMessageLink.md +++ b/old_docs/API_docs_v82/types/ExportedMessageLink.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->channels->exportMessageLink](../methods/channels_exportMessageLink.md) +[$MadelineProto->channels->exportMessageLink](../methods/channels.exportMessageLink.md) diff --git a/old_docs/API_docs_v82/types/FileHash.md b/old_docs/API_docs_v82/types/FileHash.md index 3201d7e0..a908fb9b 100644 --- a/old_docs/API_docs_v82/types/FileHash.md +++ b/old_docs/API_docs_v82/types/FileHash.md @@ -16,11 +16,11 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->upload->reuploadCdnFile](../methods/upload_reuploadCdnFile.md) +[$MadelineProto->upload->reuploadCdnFile](../methods/upload.reuploadCdnFile.md) -[$MadelineProto->upload->getCdnFileHashes](../methods/upload_getCdnFileHashes.md) +[$MadelineProto->upload->getCdnFileHashes](../methods/upload.getCdnFileHashes.md) -[$MadelineProto->upload->getFileHashes](../methods/upload_getFileHashes.md) +[$MadelineProto->upload->getFileHashes](../methods/upload.getFileHashes.md) diff --git a/old_docs/API_docs_v82/types/LangPackDifference.md b/old_docs/API_docs_v82/types/LangPackDifference.md index fd9f41f2..e04125b8 100644 --- a/old_docs/API_docs_v82/types/LangPackDifference.md +++ b/old_docs/API_docs_v82/types/LangPackDifference.md @@ -16,9 +16,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->langpack->getLangPack](../methods/langpack_getLangPack.md) +[$MadelineProto->langpack->getLangPack](../methods/langpack.getLangPack.md) -[$MadelineProto->langpack->getDifference](../methods/langpack_getDifference.md) +[$MadelineProto->langpack->getDifference](../methods/langpack.getDifference.md) diff --git a/old_docs/API_docs_v82/types/LangPackLanguage.md b/old_docs/API_docs_v82/types/LangPackLanguage.md index f7459fc2..280d0243 100644 --- a/old_docs/API_docs_v82/types/LangPackLanguage.md +++ b/old_docs/API_docs_v82/types/LangPackLanguage.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->langpack->getLanguages](../methods/langpack_getLanguages.md) +[$MadelineProto->langpack->getLanguages](../methods/langpack.getLanguages.md) diff --git a/old_docs/API_docs_v82/types/LangPackString.md b/old_docs/API_docs_v82/types/LangPackString.md index f1a43dd9..15f9dc3d 100644 --- a/old_docs/API_docs_v82/types/LangPackString.md +++ b/old_docs/API_docs_v82/types/LangPackString.md @@ -20,7 +20,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->langpack->getStrings](../methods/langpack_getStrings.md) +[$MadelineProto->langpack->getStrings](../methods/langpack.getStrings.md) diff --git a/old_docs/API_docs_v82/types/MessageMedia.md b/old_docs/API_docs_v82/types/MessageMedia.md index fa00818d..23c0e9a5 100644 --- a/old_docs/API_docs_v82/types/MessageMedia.md +++ b/old_docs/API_docs_v82/types/MessageMedia.md @@ -36,9 +36,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getWebPagePreview](../methods/messages_getWebPagePreview.md) +[$MadelineProto->messages->getWebPagePreview](../methods/messages.getWebPagePreview.md) -[$MadelineProto->messages->uploadMedia](../methods/messages_uploadMedia.md) +[$MadelineProto->messages->uploadMedia](../methods/messages.uploadMedia.md) diff --git a/old_docs/API_docs_v82/types/MessageRange.md b/old_docs/API_docs_v82/types/MessageRange.md index c93011aa..ffd65e90 100644 --- a/old_docs/API_docs_v82/types/MessageRange.md +++ b/old_docs/API_docs_v82/types/MessageRange.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getSplitRanges](../methods/messages_getSplitRanges.md) +[$MadelineProto->messages->getSplitRanges](../methods/messages.getSplitRanges.md) diff --git a/old_docs/API_docs_v82/types/NearestDc.md b/old_docs/API_docs_v82/types/NearestDc.md index 31f24377..296a4dff 100644 --- a/old_docs/API_docs_v82/types/NearestDc.md +++ b/old_docs/API_docs_v82/types/NearestDc.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->help->getNearestDc](../methods/help_getNearestDc.md) +[$MadelineProto->help->getNearestDc](../methods/help.getNearestDc.md) diff --git a/old_docs/API_docs_v82/types/PeerNotifySettings.md b/old_docs/API_docs_v82/types/PeerNotifySettings.md index ecb483c5..d3b4833c 100644 --- a/old_docs/API_docs_v82/types/PeerNotifySettings.md +++ b/old_docs/API_docs_v82/types/PeerNotifySettings.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->account->getNotifySettings](../methods/account_getNotifySettings.md) +[$MadelineProto->account->getNotifySettings](../methods/account.getNotifySettings.md) diff --git a/old_docs/API_docs_v82/types/PeerSettings.md b/old_docs/API_docs_v82/types/PeerSettings.md index 60ac3765..31ef7e38 100644 --- a/old_docs/API_docs_v82/types/PeerSettings.md +++ b/old_docs/API_docs_v82/types/PeerSettings.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getPeerSettings](../methods/messages_getPeerSettings.md) +[$MadelineProto->messages->getPeerSettings](../methods/messages.getPeerSettings.md) diff --git a/old_docs/API_docs_v82/types/README.md b/old_docs/API_docs_v82/types/README.md index 7078bf1c..5480f57d 100644 --- a/old_docs/API_docs_v82/types/README.md +++ b/old_docs/API_docs_v82/types/README.md @@ -319,157 +319,157 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png [X](X.md) -[account\_AuthorizationForm](account_AuthorizationForm.md) +[account.AuthorizationForm](account.AuthorizationForm.md) -[account\_Authorizations](account_Authorizations.md) +[account.Authorizations](account.Authorizations.md) -[account\_Password](account_Password.md) +[account.Password](account.Password.md) -[account\_PasswordInputSettings](account_PasswordInputSettings.md) +[account.PasswordInputSettings](account.PasswordInputSettings.md) -[account\_PasswordSettings](account_PasswordSettings.md) +[account.PasswordSettings](account.PasswordSettings.md) -[account\_PrivacyRules](account_PrivacyRules.md) +[account.PrivacyRules](account.PrivacyRules.md) -[account\_SentEmailCode](account_SentEmailCode.md) +[account.SentEmailCode](account.SentEmailCode.md) -[account\_Takeout](account_Takeout.md) +[account.Takeout](account.Takeout.md) -[account\_TmpPassword](account_TmpPassword.md) +[account.TmpPassword](account.TmpPassword.md) -[account\_WebAuthorizations](account_WebAuthorizations.md) +[account.WebAuthorizations](account.WebAuthorizations.md) -[auth\_Authorization](auth_Authorization.md) +[auth.Authorization](auth.Authorization.md) -[auth\_CheckedPhone](auth_CheckedPhone.md) +[auth.CheckedPhone](auth.CheckedPhone.md) -[auth\_CodeType](auth_CodeType.md) +[auth.CodeType](auth.CodeType.md) -[auth\_ExportedAuthorization](auth_ExportedAuthorization.md) +[auth.ExportedAuthorization](auth.ExportedAuthorization.md) -[auth\_PasswordRecovery](auth_PasswordRecovery.md) +[auth.PasswordRecovery](auth.PasswordRecovery.md) -[auth\_SentCode](auth_SentCode.md) +[auth.SentCode](auth.SentCode.md) -[auth\_SentCodeType](auth_SentCodeType.md) +[auth.SentCodeType](auth.SentCodeType.md) -[channels\_AdminLogResults](channels_AdminLogResults.md) +[channels.AdminLogResults](channels.AdminLogResults.md) -[channels\_ChannelParticipant](channels_ChannelParticipant.md) +[channels.ChannelParticipant](channels.ChannelParticipant.md) -[channels\_ChannelParticipants](channels_ChannelParticipants.md) +[channels.ChannelParticipants](channels.ChannelParticipants.md) -[contacts\_Blocked](contacts_Blocked.md) +[contacts.Blocked](contacts.Blocked.md) -[contacts\_Contacts](contacts_Contacts.md) +[contacts.Contacts](contacts.Contacts.md) -[contacts\_Found](contacts_Found.md) +[contacts.Found](contacts.Found.md) -[contacts\_ImportedContacts](contacts_ImportedContacts.md) +[contacts.ImportedContacts](contacts.ImportedContacts.md) -[contacts\_Link](contacts_Link.md) +[contacts.Link](contacts.Link.md) -[contacts\_ResolvedPeer](contacts_ResolvedPeer.md) +[contacts.ResolvedPeer](contacts.ResolvedPeer.md) -[contacts\_TopPeers](contacts_TopPeers.md) +[contacts.TopPeers](contacts.TopPeers.md) -[help\_AppUpdate](help_AppUpdate.md) +[help.AppUpdate](help.AppUpdate.md) -[help\_ConfigSimple](help_ConfigSimple.md) +[help.ConfigSimple](help.ConfigSimple.md) -[help\_DeepLinkInfo](help_DeepLinkInfo.md) +[help.DeepLinkInfo](help.DeepLinkInfo.md) -[help\_InviteText](help_InviteText.md) +[help.InviteText](help.InviteText.md) -[help\_ProxyData](help_ProxyData.md) +[help.ProxyData](help.ProxyData.md) -[help\_RecentMeUrls](help_RecentMeUrls.md) +[help.RecentMeUrls](help.RecentMeUrls.md) -[help\_Support](help_Support.md) +[help.Support](help.Support.md) -[help\_TermsOfService](help_TermsOfService.md) +[help.TermsOfService](help.TermsOfService.md) -[help\_TermsOfServiceUpdate](help_TermsOfServiceUpdate.md) +[help.TermsOfServiceUpdate](help.TermsOfServiceUpdate.md) [int](int.md) [long](long.md) -[messages\_AffectedHistory](messages_AffectedHistory.md) +[messages.AffectedHistory](messages.AffectedHistory.md) -[messages\_AffectedMessages](messages_AffectedMessages.md) +[messages.AffectedMessages](messages.AffectedMessages.md) -[messages\_AllStickers](messages_AllStickers.md) +[messages.AllStickers](messages.AllStickers.md) -[messages\_ArchivedStickers](messages_ArchivedStickers.md) +[messages.ArchivedStickers](messages.ArchivedStickers.md) -[messages\_BotCallbackAnswer](messages_BotCallbackAnswer.md) +[messages.BotCallbackAnswer](messages.BotCallbackAnswer.md) -[messages\_BotResults](messages_BotResults.md) +[messages.BotResults](messages.BotResults.md) -[messages\_ChatFull](messages_ChatFull.md) +[messages.ChatFull](messages.ChatFull.md) -[messages\_Chats](messages_Chats.md) +[messages.Chats](messages.Chats.md) -[messages\_DhConfig](messages_DhConfig.md) +[messages.DhConfig](messages.DhConfig.md) -[messages\_Dialogs](messages_Dialogs.md) +[messages.Dialogs](messages.Dialogs.md) -[messages\_FavedStickers](messages_FavedStickers.md) +[messages.FavedStickers](messages.FavedStickers.md) -[messages\_FeaturedStickers](messages_FeaturedStickers.md) +[messages.FeaturedStickers](messages.FeaturedStickers.md) -[messages\_FoundGifs](messages_FoundGifs.md) +[messages.FoundGifs](messages.FoundGifs.md) -[messages\_FoundStickerSets](messages_FoundStickerSets.md) +[messages.FoundStickerSets](messages.FoundStickerSets.md) -[messages\_HighScores](messages_HighScores.md) +[messages.HighScores](messages.HighScores.md) -[messages\_MessageEditData](messages_MessageEditData.md) +[messages.MessageEditData](messages.MessageEditData.md) -[messages\_Messages](messages_Messages.md) +[messages.Messages](messages.Messages.md) -[messages\_PeerDialogs](messages_PeerDialogs.md) +[messages.PeerDialogs](messages.PeerDialogs.md) -[messages\_RecentStickers](messages_RecentStickers.md) +[messages.RecentStickers](messages.RecentStickers.md) -[messages\_SavedGifs](messages_SavedGifs.md) +[messages.SavedGifs](messages.SavedGifs.md) -[messages\_SentEncryptedMessage](messages_SentEncryptedMessage.md) +[messages.SentEncryptedMessage](messages.SentEncryptedMessage.md) -[messages\_StickerSet](messages_StickerSet.md) +[messages.StickerSet](messages.StickerSet.md) -[messages\_StickerSetInstallResult](messages_StickerSetInstallResult.md) +[messages.StickerSetInstallResult](messages.StickerSetInstallResult.md) -[messages\_Stickers](messages_Stickers.md) +[messages.Stickers](messages.Stickers.md) -[payments\_PaymentForm](payments_PaymentForm.md) +[payments.PaymentForm](payments.PaymentForm.md) -[payments\_PaymentReceipt](payments_PaymentReceipt.md) +[payments.PaymentReceipt](payments.PaymentReceipt.md) -[payments\_PaymentResult](payments_PaymentResult.md) +[payments.PaymentResult](payments.PaymentResult.md) -[payments\_SavedInfo](payments_SavedInfo.md) +[payments.SavedInfo](payments.SavedInfo.md) -[payments\_ValidatedRequestedInfo](payments_ValidatedRequestedInfo.md) +[payments.ValidatedRequestedInfo](payments.ValidatedRequestedInfo.md) -[phone\_PhoneCall](phone_PhoneCall.md) +[phone.PhoneCall](phone.PhoneCall.md) -[photos\_Photo](photos_Photo.md) +[photos.Photo](photos.Photo.md) -[photos\_Photos](photos_Photos.md) +[photos.Photos](photos.Photos.md) -[storage\_FileType](storage_FileType.md) +[storage.FileType](storage.FileType.md) -[updates\_ChannelDifference](updates_ChannelDifference.md) +[updates.ChannelDifference](updates.ChannelDifference.md) -[updates\_Difference](updates_Difference.md) +[updates.Difference](updates.Difference.md) -[updates\_State](updates_State.md) +[updates.State](updates.State.md) -[upload\_CdnFile](upload_CdnFile.md) +[upload.CdnFile](upload.CdnFile.md) -[upload\_File](upload_File.md) +[upload.File](upload.File.md) -[upload\_WebFile](upload_WebFile.md) +[upload.WebFile](upload.WebFile.md) diff --git a/old_docs/API_docs_v82/types/ReceivedNotifyMessage.md b/old_docs/API_docs_v82/types/ReceivedNotifyMessage.md index c7fc3b8c..416aa275 100644 --- a/old_docs/API_docs_v82/types/ReceivedNotifyMessage.md +++ b/old_docs/API_docs_v82/types/ReceivedNotifyMessage.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->receivedMessages](../methods/messages_receivedMessages.md) +[$MadelineProto->messages->receivedMessages](../methods/messages.receivedMessages.md) diff --git a/old_docs/API_docs_v82/types/SavedContact.md b/old_docs/API_docs_v82/types/SavedContact.md index c337f3eb..73a91ba6 100644 --- a/old_docs/API_docs_v82/types/SavedContact.md +++ b/old_docs/API_docs_v82/types/SavedContact.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->contacts->getSaved](../methods/contacts_getSaved.md) +[$MadelineProto->contacts->getSaved](../methods/contacts.getSaved.md) diff --git a/old_docs/API_docs_v82/types/SecureValue.md b/old_docs/API_docs_v82/types/SecureValue.md index 8490f399..2ab18f68 100644 --- a/old_docs/API_docs_v82/types/SecureValue.md +++ b/old_docs/API_docs_v82/types/SecureValue.md @@ -16,11 +16,11 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->account->getAllSecureValues](../methods/account_getAllSecureValues.md) +[$MadelineProto->account->getAllSecureValues](../methods/account.getAllSecureValues.md) -[$MadelineProto->account->getSecureValue](../methods/account_getSecureValue.md) +[$MadelineProto->account->getSecureValue](../methods/account.getSecureValue.md) -[$MadelineProto->account->saveSecureValue](../methods/account_saveSecureValue.md) +[$MadelineProto->account->saveSecureValue](../methods/account.saveSecureValue.md) diff --git a/old_docs/API_docs_v82/types/StickerSetCovered.md b/old_docs/API_docs_v82/types/StickerSetCovered.md index ffd1da1f..f57cd117 100644 --- a/old_docs/API_docs_v82/types/StickerSetCovered.md +++ b/old_docs/API_docs_v82/types/StickerSetCovered.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getAttachedStickers](../methods/messages_getAttachedStickers.md) +[$MadelineProto->messages->getAttachedStickers](../methods/messages.getAttachedStickers.md) diff --git a/old_docs/API_docs_v82/types/Updates.md b/old_docs/API_docs_v82/types/Updates.md index a62f270d..ce894d44 100644 --- a/old_docs/API_docs_v82/types/Updates.md +++ b/old_docs/API_docs_v82/types/Updates.md @@ -28,73 +28,73 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->sendMessage](../methods/messages_sendMessage.md) +[$MadelineProto->messages->sendMessage](../methods/messages.sendMessage.md) -[$MadelineProto->messages->sendMedia](../methods/messages_sendMedia.md) +[$MadelineProto->messages->sendMedia](../methods/messages.sendMedia.md) -[$MadelineProto->messages->forwardMessages](../methods/messages_forwardMessages.md) +[$MadelineProto->messages->forwardMessages](../methods/messages.forwardMessages.md) -[$MadelineProto->messages->editChatTitle](../methods/messages_editChatTitle.md) +[$MadelineProto->messages->editChatTitle](../methods/messages.editChatTitle.md) -[$MadelineProto->messages->editChatPhoto](../methods/messages_editChatPhoto.md) +[$MadelineProto->messages->editChatPhoto](../methods/messages.editChatPhoto.md) -[$MadelineProto->messages->addChatUser](../methods/messages_addChatUser.md) +[$MadelineProto->messages->addChatUser](../methods/messages.addChatUser.md) -[$MadelineProto->messages->deleteChatUser](../methods/messages_deleteChatUser.md) +[$MadelineProto->messages->deleteChatUser](../methods/messages.deleteChatUser.md) -[$MadelineProto->messages->createChat](../methods/messages_createChat.md) +[$MadelineProto->messages->createChat](../methods/messages.createChat.md) -[$MadelineProto->messages->importChatInvite](../methods/messages_importChatInvite.md) +[$MadelineProto->messages->importChatInvite](../methods/messages.importChatInvite.md) -[$MadelineProto->messages->startBot](../methods/messages_startBot.md) +[$MadelineProto->messages->startBot](../methods/messages.startBot.md) -[$MadelineProto->messages->toggleChatAdmins](../methods/messages_toggleChatAdmins.md) +[$MadelineProto->messages->toggleChatAdmins](../methods/messages.toggleChatAdmins.md) -[$MadelineProto->messages->migrateChat](../methods/messages_migrateChat.md) +[$MadelineProto->messages->migrateChat](../methods/messages.migrateChat.md) -[$MadelineProto->messages->sendInlineBotResult](../methods/messages_sendInlineBotResult.md) +[$MadelineProto->messages->sendInlineBotResult](../methods/messages.sendInlineBotResult.md) -[$MadelineProto->messages->editMessage](../methods/messages_editMessage.md) +[$MadelineProto->messages->editMessage](../methods/messages.editMessage.md) -[$MadelineProto->messages->getAllDrafts](../methods/messages_getAllDrafts.md) +[$MadelineProto->messages->getAllDrafts](../methods/messages.getAllDrafts.md) -[$MadelineProto->messages->setGameScore](../methods/messages_setGameScore.md) +[$MadelineProto->messages->setGameScore](../methods/messages.setGameScore.md) -[$MadelineProto->messages->sendScreenshotNotification](../methods/messages_sendScreenshotNotification.md) +[$MadelineProto->messages->sendScreenshotNotification](../methods/messages.sendScreenshotNotification.md) -[$MadelineProto->messages->sendMultiMedia](../methods/messages_sendMultiMedia.md) +[$MadelineProto->messages->sendMultiMedia](../methods/messages.sendMultiMedia.md) -[$MadelineProto->help->getAppChangelog](../methods/help_getAppChangelog.md) +[$MadelineProto->help->getAppChangelog](../methods/help.getAppChangelog.md) -[$MadelineProto->channels->createChannel](../methods/channels_createChannel.md) +[$MadelineProto->channels->createChannel](../methods/channels.createChannel.md) -[$MadelineProto->channels->editAdmin](../methods/channels_editAdmin.md) +[$MadelineProto->channels->editAdmin](../methods/channels.editAdmin.md) -[$MadelineProto->channels->editTitle](../methods/channels_editTitle.md) +[$MadelineProto->channels->editTitle](../methods/channels.editTitle.md) -[$MadelineProto->channels->editPhoto](../methods/channels_editPhoto.md) +[$MadelineProto->channels->editPhoto](../methods/channels.editPhoto.md) -[$MadelineProto->channels->joinChannel](../methods/channels_joinChannel.md) +[$MadelineProto->channels->joinChannel](../methods/channels.joinChannel.md) -[$MadelineProto->channels->leaveChannel](../methods/channels_leaveChannel.md) +[$MadelineProto->channels->leaveChannel](../methods/channels.leaveChannel.md) -[$MadelineProto->channels->inviteToChannel](../methods/channels_inviteToChannel.md) +[$MadelineProto->channels->inviteToChannel](../methods/channels.inviteToChannel.md) -[$MadelineProto->channels->deleteChannel](../methods/channels_deleteChannel.md) +[$MadelineProto->channels->deleteChannel](../methods/channels.deleteChannel.md) -[$MadelineProto->channels->toggleInvites](../methods/channels_toggleInvites.md) +[$MadelineProto->channels->toggleInvites](../methods/channels.toggleInvites.md) -[$MadelineProto->channels->toggleSignatures](../methods/channels_toggleSignatures.md) +[$MadelineProto->channels->toggleSignatures](../methods/channels.toggleSignatures.md) -[$MadelineProto->channels->updatePinnedMessage](../methods/channels_updatePinnedMessage.md) +[$MadelineProto->channels->updatePinnedMessage](../methods/channels.updatePinnedMessage.md) -[$MadelineProto->channels->editBanned](../methods/channels_editBanned.md) +[$MadelineProto->channels->editBanned](../methods/channels.editBanned.md) -[$MadelineProto->channels->togglePreHistoryHidden](../methods/channels_togglePreHistoryHidden.md) +[$MadelineProto->channels->togglePreHistoryHidden](../methods/channels.togglePreHistoryHidden.md) -[$MadelineProto->phone->discardCall](../methods/phone_discardCall.md) +[$MadelineProto->phone->discardCall](../methods/phone.discardCall.md) -[$MadelineProto->phone->setCallRating](../methods/phone_setCallRating.md) +[$MadelineProto->phone->setCallRating](../methods/phone.setCallRating.md) diff --git a/old_docs/API_docs_v82/types/User.md b/old_docs/API_docs_v82/types/User.md index 3abd182f..a2e028f4 100644 --- a/old_docs/API_docs_v82/types/User.md +++ b/old_docs/API_docs_v82/types/User.md @@ -42,15 +42,15 @@ A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDia ### Methods that return an object of this type (methods): -[$MadelineProto->account->updateProfile](../methods/account_updateProfile.md) +[$MadelineProto->account->updateProfile](../methods/account.updateProfile.md) -[$MadelineProto->account->updateUsername](../methods/account_updateUsername.md) +[$MadelineProto->account->updateUsername](../methods/account.updateUsername.md) -[$MadelineProto->account->changePhone](../methods/account_changePhone.md) +[$MadelineProto->account->changePhone](../methods/account.changePhone.md) -[$MadelineProto->users->getUsers](../methods/users_getUsers.md) +[$MadelineProto->users->getUsers](../methods/users.getUsers.md) -[$MadelineProto->contacts->importCard](../methods/contacts_importCard.md) +[$MadelineProto->contacts->importCard](../methods/contacts.importCard.md) diff --git a/old_docs/API_docs_v82/types/UserFull.md b/old_docs/API_docs_v82/types/UserFull.md index 79ad30bb..ac50052f 100644 --- a/old_docs/API_docs_v82/types/UserFull.md +++ b/old_docs/API_docs_v82/types/UserFull.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->users->getFullUser](../methods/users_getFullUser.md) +[$MadelineProto->users->getFullUser](../methods/users.getFullUser.md) diff --git a/old_docs/API_docs_v82/types/UserProfilePhoto.md b/old_docs/API_docs_v82/types/UserProfilePhoto.md index e5243a2e..e81e92fd 100644 --- a/old_docs/API_docs_v82/types/UserProfilePhoto.md +++ b/old_docs/API_docs_v82/types/UserProfilePhoto.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->photos->updateProfilePhoto](../methods/photos_updateProfilePhoto.md) +[$MadelineProto->photos->updateProfilePhoto](../methods/photos.updateProfilePhoto.md) diff --git a/old_docs/API_docs_v82/types/WallPaper.md b/old_docs/API_docs_v82/types/WallPaper.md index 8c5ac7cf..45337565 100644 --- a/old_docs/API_docs_v82/types/WallPaper.md +++ b/old_docs/API_docs_v82/types/WallPaper.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->account->getWallPapers](../methods/account_getWallPapers.md) +[$MadelineProto->account->getWallPapers](../methods/account.getWallPapers.md) diff --git a/old_docs/API_docs_v82/types/WebPage.md b/old_docs/API_docs_v82/types/WebPage.md index a3df791f..f6b61c5e 100644 --- a/old_docs/API_docs_v82/types/WebPage.md +++ b/old_docs/API_docs_v82/types/WebPage.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getWebPage](../methods/messages_getWebPage.md) +[$MadelineProto->messages->getWebPage](../methods/messages.getWebPage.md) diff --git a/old_docs/API_docs_v82/types/account.AuthorizationForm.md b/old_docs/API_docs_v82/types/account.AuthorizationForm.md new file mode 100644 index 00000000..860ff40f --- /dev/null +++ b/old_docs/API_docs_v82/types/account.AuthorizationForm.md @@ -0,0 +1,22 @@ +--- +title: account.AuthorizationForm +description: constructors and methods of type account.AuthorizationForm +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.AuthorizationForm +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.authorizationForm](../constructors/account.authorizationForm.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getAuthorizationForm](../methods/account.getAuthorizationForm.md) + + + diff --git a/old_docs/API_docs_v82/types/account.Authorizations.md b/old_docs/API_docs_v82/types/account.Authorizations.md new file mode 100644 index 00000000..f9112038 --- /dev/null +++ b/old_docs/API_docs_v82/types/account.Authorizations.md @@ -0,0 +1,22 @@ +--- +title: account.Authorizations +description: constructors and methods of type account.Authorizations +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.Authorizations +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.authorizations](../constructors/account.authorizations.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getAuthorizations](../methods/account.getAuthorizations.md) + + + diff --git a/old_docs/API_docs_v82/types/account.Password.md b/old_docs/API_docs_v82/types/account.Password.md new file mode 100644 index 00000000..5217ab5e --- /dev/null +++ b/old_docs/API_docs_v82/types/account.Password.md @@ -0,0 +1,24 @@ +--- +title: account.Password +description: constructors and methods of type account.Password +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.Password +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.noPassword](../constructors/account.noPassword.md) + +[account.password](../constructors/account.password.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getPassword](../methods/account.getPassword.md) + + + diff --git a/old_docs/API_docs_v82/types/account.PasswordInputSettings.md b/old_docs/API_docs_v82/types/account.PasswordInputSettings.md new file mode 100644 index 00000000..72e11fdc --- /dev/null +++ b/old_docs/API_docs_v82/types/account.PasswordInputSettings.md @@ -0,0 +1,20 @@ +--- +title: account.PasswordInputSettings +description: constructors and methods of type account.PasswordInputSettings +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.PasswordInputSettings +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.passwordInputSettings](../constructors/account.passwordInputSettings.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v82/types/account.PasswordSettings.md b/old_docs/API_docs_v82/types/account.PasswordSettings.md new file mode 100644 index 00000000..47016832 --- /dev/null +++ b/old_docs/API_docs_v82/types/account.PasswordSettings.md @@ -0,0 +1,22 @@ +--- +title: account.PasswordSettings +description: constructors and methods of type account.PasswordSettings +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.PasswordSettings +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.passwordSettings](../constructors/account.passwordSettings.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getPasswordSettings](../methods/account.getPasswordSettings.md) + + + diff --git a/old_docs/API_docs_v82/types/account.PrivacyRules.md b/old_docs/API_docs_v82/types/account.PrivacyRules.md new file mode 100644 index 00000000..738651ad --- /dev/null +++ b/old_docs/API_docs_v82/types/account.PrivacyRules.md @@ -0,0 +1,24 @@ +--- +title: account.PrivacyRules +description: constructors and methods of type account.PrivacyRules +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.PrivacyRules +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.privacyRules](../constructors/account.privacyRules.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getPrivacy](../methods/account.getPrivacy.md) + +[$MadelineProto->account->setPrivacy](../methods/account.setPrivacy.md) + + + diff --git a/old_docs/API_docs_v82/types/account.SentEmailCode.md b/old_docs/API_docs_v82/types/account.SentEmailCode.md new file mode 100644 index 00000000..6adcd649 --- /dev/null +++ b/old_docs/API_docs_v82/types/account.SentEmailCode.md @@ -0,0 +1,22 @@ +--- +title: account.SentEmailCode +description: constructors and methods of type account.SentEmailCode +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.SentEmailCode +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.sentEmailCode](../constructors/account.sentEmailCode.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->sendVerifyEmailCode](../methods/account.sendVerifyEmailCode.md) + + + diff --git a/old_docs/API_docs_v82/types/account.Takeout.md b/old_docs/API_docs_v82/types/account.Takeout.md new file mode 100644 index 00000000..96998ce4 --- /dev/null +++ b/old_docs/API_docs_v82/types/account.Takeout.md @@ -0,0 +1,22 @@ +--- +title: account.Takeout +description: constructors and methods of type account.Takeout +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.Takeout +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.takeout](../constructors/account.takeout.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->initTakeoutSession](../methods/account.initTakeoutSession.md) + + + diff --git a/old_docs/API_docs_v82/types/account.TmpPassword.md b/old_docs/API_docs_v82/types/account.TmpPassword.md new file mode 100644 index 00000000..2116c6c0 --- /dev/null +++ b/old_docs/API_docs_v82/types/account.TmpPassword.md @@ -0,0 +1,22 @@ +--- +title: account.TmpPassword +description: constructors and methods of type account.TmpPassword +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.TmpPassword +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.tmpPassword](../constructors/account.tmpPassword.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getTmpPassword](../methods/account.getTmpPassword.md) + + + diff --git a/old_docs/API_docs_v82/types/account.WebAuthorizations.md b/old_docs/API_docs_v82/types/account.WebAuthorizations.md new file mode 100644 index 00000000..931633ef --- /dev/null +++ b/old_docs/API_docs_v82/types/account.WebAuthorizations.md @@ -0,0 +1,22 @@ +--- +title: account.WebAuthorizations +description: constructors and methods of type account.WebAuthorizations +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.WebAuthorizations +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.webAuthorizations](../constructors/account.webAuthorizations.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getWebAuthorizations](../methods/account.getWebAuthorizations.md) + + + diff --git a/old_docs/API_docs_v82/types/account_AuthorizationForm.md b/old_docs/API_docs_v82/types/account_AuthorizationForm.md deleted file mode 100644 index 5eec2b92..00000000 --- a/old_docs/API_docs_v82/types/account_AuthorizationForm.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_AuthorizationForm -description: constructors and methods of type account_AuthorizationForm -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_AuthorizationForm -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_authorizationForm](../constructors/account_authorizationForm.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getAuthorizationForm](../methods/account_getAuthorizationForm.md) - - - diff --git a/old_docs/API_docs_v82/types/account_Authorizations.md b/old_docs/API_docs_v82/types/account_Authorizations.md deleted file mode 100644 index 4709ddb5..00000000 --- a/old_docs/API_docs_v82/types/account_Authorizations.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_Authorizations -description: constructors and methods of type account_Authorizations -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_Authorizations -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_authorizations](../constructors/account_authorizations.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getAuthorizations](../methods/account_getAuthorizations.md) - - - diff --git a/old_docs/API_docs_v82/types/account_Password.md b/old_docs/API_docs_v82/types/account_Password.md deleted file mode 100644 index 23e05987..00000000 --- a/old_docs/API_docs_v82/types/account_Password.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: account_Password -description: constructors and methods of type account_Password -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_Password -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_noPassword](../constructors/account_noPassword.md) - -[account\_password](../constructors/account_password.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getPassword](../methods/account_getPassword.md) - - - diff --git a/old_docs/API_docs_v82/types/account_PasswordInputSettings.md b/old_docs/API_docs_v82/types/account_PasswordInputSettings.md deleted file mode 100644 index a6455eb8..00000000 --- a/old_docs/API_docs_v82/types/account_PasswordInputSettings.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: account_PasswordInputSettings -description: constructors and methods of type account_PasswordInputSettings -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_PasswordInputSettings -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_passwordInputSettings](../constructors/account_passwordInputSettings.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v82/types/account_PasswordSettings.md b/old_docs/API_docs_v82/types/account_PasswordSettings.md deleted file mode 100644 index 687eb217..00000000 --- a/old_docs/API_docs_v82/types/account_PasswordSettings.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_PasswordSettings -description: constructors and methods of type account_PasswordSettings -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_PasswordSettings -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_passwordSettings](../constructors/account_passwordSettings.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getPasswordSettings](../methods/account_getPasswordSettings.md) - - - diff --git a/old_docs/API_docs_v82/types/account_PrivacyRules.md b/old_docs/API_docs_v82/types/account_PrivacyRules.md deleted file mode 100644 index 40b00077..00000000 --- a/old_docs/API_docs_v82/types/account_PrivacyRules.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: account_PrivacyRules -description: constructors and methods of type account_PrivacyRules -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_PrivacyRules -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_privacyRules](../constructors/account_privacyRules.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getPrivacy](../methods/account_getPrivacy.md) - -[$MadelineProto->account->setPrivacy](../methods/account_setPrivacy.md) - - - diff --git a/old_docs/API_docs_v82/types/account_SentEmailCode.md b/old_docs/API_docs_v82/types/account_SentEmailCode.md deleted file mode 100644 index 4aa38335..00000000 --- a/old_docs/API_docs_v82/types/account_SentEmailCode.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_SentEmailCode -description: constructors and methods of type account_SentEmailCode -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_SentEmailCode -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_sentEmailCode](../constructors/account_sentEmailCode.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->sendVerifyEmailCode](../methods/account_sendVerifyEmailCode.md) - - - diff --git a/old_docs/API_docs_v82/types/account_Takeout.md b/old_docs/API_docs_v82/types/account_Takeout.md deleted file mode 100644 index 26960f88..00000000 --- a/old_docs/API_docs_v82/types/account_Takeout.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_Takeout -description: constructors and methods of type account_Takeout -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_Takeout -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_takeout](../constructors/account_takeout.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->initTakeoutSession](../methods/account_initTakeoutSession.md) - - - diff --git a/old_docs/API_docs_v82/types/account_TmpPassword.md b/old_docs/API_docs_v82/types/account_TmpPassword.md deleted file mode 100644 index d7557921..00000000 --- a/old_docs/API_docs_v82/types/account_TmpPassword.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_TmpPassword -description: constructors and methods of type account_TmpPassword -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_TmpPassword -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_tmpPassword](../constructors/account_tmpPassword.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getTmpPassword](../methods/account_getTmpPassword.md) - - - diff --git a/old_docs/API_docs_v82/types/account_WebAuthorizations.md b/old_docs/API_docs_v82/types/account_WebAuthorizations.md deleted file mode 100644 index 1202632b..00000000 --- a/old_docs/API_docs_v82/types/account_WebAuthorizations.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_WebAuthorizations -description: constructors and methods of type account_WebAuthorizations -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_WebAuthorizations -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_webAuthorizations](../constructors/account_webAuthorizations.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getWebAuthorizations](../methods/account_getWebAuthorizations.md) - - - diff --git a/old_docs/API_docs_v82/types/auth.Authorization.md b/old_docs/API_docs_v82/types/auth.Authorization.md new file mode 100644 index 00000000..adcfa7d3 --- /dev/null +++ b/old_docs/API_docs_v82/types/auth.Authorization.md @@ -0,0 +1,32 @@ +--- +title: auth.Authorization +description: constructors and methods of type auth.Authorization +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.Authorization +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.authorization](../constructors/auth.authorization.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->signUp](../methods/auth.signUp.md) + +[$MadelineProto->auth->signIn](../methods/auth.signIn.md) + +[$MadelineProto->auth->importAuthorization](../methods/auth.importAuthorization.md) + +[$MadelineProto->auth->importBotAuthorization](../methods/auth.importBotAuthorization.md) + +[$MadelineProto->auth->checkPassword](../methods/auth.checkPassword.md) + +[$MadelineProto->auth->recoverPassword](../methods/auth.recoverPassword.md) + + + diff --git a/old_docs/API_docs_v82/types/auth.CheckedPhone.md b/old_docs/API_docs_v82/types/auth.CheckedPhone.md new file mode 100644 index 00000000..1d6672e7 --- /dev/null +++ b/old_docs/API_docs_v82/types/auth.CheckedPhone.md @@ -0,0 +1,20 @@ +--- +title: auth.CheckedPhone +description: constructors and methods of type auth.CheckedPhone +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.CheckedPhone +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.checkedPhone](../constructors/auth.checkedPhone.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v82/types/auth.CodeType.md b/old_docs/API_docs_v82/types/auth.CodeType.md new file mode 100644 index 00000000..8d2b308d --- /dev/null +++ b/old_docs/API_docs_v82/types/auth.CodeType.md @@ -0,0 +1,24 @@ +--- +title: auth.CodeType +description: constructors and methods of type auth.CodeType +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.CodeType +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.codeTypeSms](../constructors/auth.codeTypeSms.md) + +[auth.codeTypeCall](../constructors/auth.codeTypeCall.md) + +[auth.codeTypeFlashCall](../constructors/auth.codeTypeFlashCall.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v82/types/auth.ExportedAuthorization.md b/old_docs/API_docs_v82/types/auth.ExportedAuthorization.md new file mode 100644 index 00000000..ccb38d60 --- /dev/null +++ b/old_docs/API_docs_v82/types/auth.ExportedAuthorization.md @@ -0,0 +1,22 @@ +--- +title: auth.ExportedAuthorization +description: constructors and methods of type auth.ExportedAuthorization +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.ExportedAuthorization +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.exportedAuthorization](../constructors/auth.exportedAuthorization.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->exportAuthorization](../methods/auth.exportAuthorization.md) + + + diff --git a/old_docs/API_docs_v82/types/auth.PasswordRecovery.md b/old_docs/API_docs_v82/types/auth.PasswordRecovery.md new file mode 100644 index 00000000..c1c18992 --- /dev/null +++ b/old_docs/API_docs_v82/types/auth.PasswordRecovery.md @@ -0,0 +1,22 @@ +--- +title: auth.PasswordRecovery +description: constructors and methods of type auth.PasswordRecovery +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.PasswordRecovery +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.passwordRecovery](../constructors/auth.passwordRecovery.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->requestPasswordRecovery](../methods/auth.requestPasswordRecovery.md) + + + diff --git a/old_docs/API_docs_v82/types/auth.SentCode.md b/old_docs/API_docs_v82/types/auth.SentCode.md new file mode 100644 index 00000000..4950edeb --- /dev/null +++ b/old_docs/API_docs_v82/types/auth.SentCode.md @@ -0,0 +1,30 @@ +--- +title: auth.SentCode +description: constructors and methods of type auth.SentCode +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.SentCode +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.sentCode](../constructors/auth.sentCode.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->sendCode](../methods/auth.sendCode.md) + +[$MadelineProto->auth->resendCode](../methods/auth.resendCode.md) + +[$MadelineProto->account->sendChangePhoneCode](../methods/account.sendChangePhoneCode.md) + +[$MadelineProto->account->sendConfirmPhoneCode](../methods/account.sendConfirmPhoneCode.md) + +[$MadelineProto->account->sendVerifyPhoneCode](../methods/account.sendVerifyPhoneCode.md) + + + diff --git a/old_docs/API_docs_v82/types/auth.SentCodeType.md b/old_docs/API_docs_v82/types/auth.SentCodeType.md new file mode 100644 index 00000000..7c7c534e --- /dev/null +++ b/old_docs/API_docs_v82/types/auth.SentCodeType.md @@ -0,0 +1,26 @@ +--- +title: auth.SentCodeType +description: constructors and methods of type auth.SentCodeType +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.SentCodeType +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.sentCodeTypeApp](../constructors/auth.sentCodeTypeApp.md) + +[auth.sentCodeTypeSms](../constructors/auth.sentCodeTypeSms.md) + +[auth.sentCodeTypeCall](../constructors/auth.sentCodeTypeCall.md) + +[auth.sentCodeTypeFlashCall](../constructors/auth.sentCodeTypeFlashCall.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v82/types/auth_Authorization.md b/old_docs/API_docs_v82/types/auth_Authorization.md deleted file mode 100644 index 5a34fc2d..00000000 --- a/old_docs/API_docs_v82/types/auth_Authorization.md +++ /dev/null @@ -1,32 +0,0 @@ ---- -title: auth_Authorization -description: constructors and methods of type auth_Authorization -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_Authorization -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_authorization](../constructors/auth_authorization.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->signUp](../methods/auth_signUp.md) - -[$MadelineProto->auth->signIn](../methods/auth_signIn.md) - -[$MadelineProto->auth->importAuthorization](../methods/auth_importAuthorization.md) - -[$MadelineProto->auth->importBotAuthorization](../methods/auth_importBotAuthorization.md) - -[$MadelineProto->auth->checkPassword](../methods/auth_checkPassword.md) - -[$MadelineProto->auth->recoverPassword](../methods/auth_recoverPassword.md) - - - diff --git a/old_docs/API_docs_v82/types/auth_CheckedPhone.md b/old_docs/API_docs_v82/types/auth_CheckedPhone.md deleted file mode 100644 index e2b823f7..00000000 --- a/old_docs/API_docs_v82/types/auth_CheckedPhone.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: auth_CheckedPhone -description: constructors and methods of type auth_CheckedPhone -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_CheckedPhone -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_checkedPhone](../constructors/auth_checkedPhone.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v82/types/auth_CodeType.md b/old_docs/API_docs_v82/types/auth_CodeType.md deleted file mode 100644 index 3cd9a7b7..00000000 --- a/old_docs/API_docs_v82/types/auth_CodeType.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: auth_CodeType -description: constructors and methods of type auth_CodeType -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_CodeType -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_codeTypeSms](../constructors/auth_codeTypeSms.md) - -[auth\_codeTypeCall](../constructors/auth_codeTypeCall.md) - -[auth\_codeTypeFlashCall](../constructors/auth_codeTypeFlashCall.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v82/types/auth_ExportedAuthorization.md b/old_docs/API_docs_v82/types/auth_ExportedAuthorization.md deleted file mode 100644 index 69e5c42e..00000000 --- a/old_docs/API_docs_v82/types/auth_ExportedAuthorization.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: auth_ExportedAuthorization -description: constructors and methods of type auth_ExportedAuthorization -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_ExportedAuthorization -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_exportedAuthorization](../constructors/auth_exportedAuthorization.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->exportAuthorization](../methods/auth_exportAuthorization.md) - - - diff --git a/old_docs/API_docs_v82/types/auth_PasswordRecovery.md b/old_docs/API_docs_v82/types/auth_PasswordRecovery.md deleted file mode 100644 index 4962bf42..00000000 --- a/old_docs/API_docs_v82/types/auth_PasswordRecovery.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: auth_PasswordRecovery -description: constructors and methods of type auth_PasswordRecovery -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_PasswordRecovery -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_passwordRecovery](../constructors/auth_passwordRecovery.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->requestPasswordRecovery](../methods/auth_requestPasswordRecovery.md) - - - diff --git a/old_docs/API_docs_v82/types/auth_SentCode.md b/old_docs/API_docs_v82/types/auth_SentCode.md deleted file mode 100644 index 140d956c..00000000 --- a/old_docs/API_docs_v82/types/auth_SentCode.md +++ /dev/null @@ -1,30 +0,0 @@ ---- -title: auth_SentCode -description: constructors and methods of type auth_SentCode -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_SentCode -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_sentCode](../constructors/auth_sentCode.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->sendCode](../methods/auth_sendCode.md) - -[$MadelineProto->auth->resendCode](../methods/auth_resendCode.md) - -[$MadelineProto->account->sendChangePhoneCode](../methods/account_sendChangePhoneCode.md) - -[$MadelineProto->account->sendConfirmPhoneCode](../methods/account_sendConfirmPhoneCode.md) - -[$MadelineProto->account->sendVerifyPhoneCode](../methods/account_sendVerifyPhoneCode.md) - - - diff --git a/old_docs/API_docs_v82/types/auth_SentCodeType.md b/old_docs/API_docs_v82/types/auth_SentCodeType.md deleted file mode 100644 index 8dfcb93b..00000000 --- a/old_docs/API_docs_v82/types/auth_SentCodeType.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: auth_SentCodeType -description: constructors and methods of type auth_SentCodeType -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_SentCodeType -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_sentCodeTypeApp](../constructors/auth_sentCodeTypeApp.md) - -[auth\_sentCodeTypeSms](../constructors/auth_sentCodeTypeSms.md) - -[auth\_sentCodeTypeCall](../constructors/auth_sentCodeTypeCall.md) - -[auth\_sentCodeTypeFlashCall](../constructors/auth_sentCodeTypeFlashCall.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v82/types/channels.AdminLogResults.md b/old_docs/API_docs_v82/types/channels.AdminLogResults.md new file mode 100644 index 00000000..7855a4fd --- /dev/null +++ b/old_docs/API_docs_v82/types/channels.AdminLogResults.md @@ -0,0 +1,22 @@ +--- +title: channels.AdminLogResults +description: constructors and methods of type channels.AdminLogResults +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: channels.AdminLogResults +[Back to types index](index.md) + + + +### Possible values (constructors): + +[channels.adminLogResults](../constructors/channels.adminLogResults.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->channels->getAdminLog](../methods/channels.getAdminLog.md) + + + diff --git a/old_docs/API_docs_v82/types/channels.ChannelParticipant.md b/old_docs/API_docs_v82/types/channels.ChannelParticipant.md new file mode 100644 index 00000000..8dc7f7e6 --- /dev/null +++ b/old_docs/API_docs_v82/types/channels.ChannelParticipant.md @@ -0,0 +1,22 @@ +--- +title: channels.ChannelParticipant +description: constructors and methods of type channels.ChannelParticipant +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: channels.ChannelParticipant +[Back to types index](index.md) + + + +### Possible values (constructors): + +[channels.channelParticipant](../constructors/channels.channelParticipant.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->channels->getParticipant](../methods/channels.getParticipant.md) + + + diff --git a/old_docs/API_docs_v82/types/channels.ChannelParticipants.md b/old_docs/API_docs_v82/types/channels.ChannelParticipants.md new file mode 100644 index 00000000..d448e007 --- /dev/null +++ b/old_docs/API_docs_v82/types/channels.ChannelParticipants.md @@ -0,0 +1,24 @@ +--- +title: channels.ChannelParticipants +description: constructors and methods of type channels.ChannelParticipants +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: channels.ChannelParticipants +[Back to types index](index.md) + + + +### Possible values (constructors): + +[channels.channelParticipants](../constructors/channels.channelParticipants.md) + +[channels.channelParticipantsNotModified](../constructors/channels.channelParticipantsNotModified.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->channels->getParticipants](../methods/channels.getParticipants.md) + + + diff --git a/old_docs/API_docs_v82/types/channels_AdminLogResults.md b/old_docs/API_docs_v82/types/channels_AdminLogResults.md deleted file mode 100644 index 4e9b5544..00000000 --- a/old_docs/API_docs_v82/types/channels_AdminLogResults.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: channels_AdminLogResults -description: constructors and methods of type channels_AdminLogResults -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: channels\_AdminLogResults -[Back to types index](index.md) - - - -### Possible values (constructors): - -[channels\_adminLogResults](../constructors/channels_adminLogResults.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->channels->getAdminLog](../methods/channels_getAdminLog.md) - - - diff --git a/old_docs/API_docs_v82/types/channels_ChannelParticipant.md b/old_docs/API_docs_v82/types/channels_ChannelParticipant.md deleted file mode 100644 index 3d4667c3..00000000 --- a/old_docs/API_docs_v82/types/channels_ChannelParticipant.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: channels_ChannelParticipant -description: constructors and methods of type channels_ChannelParticipant -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: channels\_ChannelParticipant -[Back to types index](index.md) - - - -### Possible values (constructors): - -[channels\_channelParticipant](../constructors/channels_channelParticipant.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->channels->getParticipant](../methods/channels_getParticipant.md) - - - diff --git a/old_docs/API_docs_v82/types/channels_ChannelParticipants.md b/old_docs/API_docs_v82/types/channels_ChannelParticipants.md deleted file mode 100644 index 80a41dd9..00000000 --- a/old_docs/API_docs_v82/types/channels_ChannelParticipants.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: channels_ChannelParticipants -description: constructors and methods of type channels_ChannelParticipants -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: channels\_ChannelParticipants -[Back to types index](index.md) - - - -### Possible values (constructors): - -[channels\_channelParticipants](../constructors/channels_channelParticipants.md) - -[channels\_channelParticipantsNotModified](../constructors/channels_channelParticipantsNotModified.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->channels->getParticipants](../methods/channels_getParticipants.md) - - - diff --git a/old_docs/API_docs_v82/types/contacts.Blocked.md b/old_docs/API_docs_v82/types/contacts.Blocked.md new file mode 100644 index 00000000..cb2af80f --- /dev/null +++ b/old_docs/API_docs_v82/types/contacts.Blocked.md @@ -0,0 +1,24 @@ +--- +title: contacts.Blocked +description: constructors and methods of type contacts.Blocked +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Blocked +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.blocked](../constructors/contacts.blocked.md) + +[contacts.blockedSlice](../constructors/contacts.blockedSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getBlocked](../methods/contacts.getBlocked.md) + + + diff --git a/old_docs/API_docs_v82/types/contacts.Contacts.md b/old_docs/API_docs_v82/types/contacts.Contacts.md new file mode 100644 index 00000000..5f695d8e --- /dev/null +++ b/old_docs/API_docs_v82/types/contacts.Contacts.md @@ -0,0 +1,24 @@ +--- +title: contacts.Contacts +description: constructors and methods of type contacts.Contacts +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Contacts +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.contactsNotModified](../constructors/contacts.contactsNotModified.md) + +[contacts.contacts](../constructors/contacts.contacts.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getContacts](../methods/contacts.getContacts.md) + + + diff --git a/old_docs/API_docs_v82/types/contacts.Found.md b/old_docs/API_docs_v82/types/contacts.Found.md new file mode 100644 index 00000000..7df98927 --- /dev/null +++ b/old_docs/API_docs_v82/types/contacts.Found.md @@ -0,0 +1,22 @@ +--- +title: contacts.Found +description: constructors and methods of type contacts.Found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Found +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.found](../constructors/contacts.found.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->search](../methods/contacts.search.md) + + + diff --git a/old_docs/API_docs_v82/types/contacts.ImportedContacts.md b/old_docs/API_docs_v82/types/contacts.ImportedContacts.md new file mode 100644 index 00000000..16795bab --- /dev/null +++ b/old_docs/API_docs_v82/types/contacts.ImportedContacts.md @@ -0,0 +1,22 @@ +--- +title: contacts.ImportedContacts +description: constructors and methods of type contacts.ImportedContacts +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.ImportedContacts +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.importedContacts](../constructors/contacts.importedContacts.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->importContacts](../methods/contacts.importContacts.md) + + + diff --git a/old_docs/API_docs_v82/types/contacts.Link.md b/old_docs/API_docs_v82/types/contacts.Link.md new file mode 100644 index 00000000..eb9da683 --- /dev/null +++ b/old_docs/API_docs_v82/types/contacts.Link.md @@ -0,0 +1,22 @@ +--- +title: contacts.Link +description: constructors and methods of type contacts.Link +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Link +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.link](../constructors/contacts.link.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->deleteContact](../methods/contacts.deleteContact.md) + + + diff --git a/old_docs/API_docs_v82/types/contacts.ResolvedPeer.md b/old_docs/API_docs_v82/types/contacts.ResolvedPeer.md new file mode 100644 index 00000000..13630d54 --- /dev/null +++ b/old_docs/API_docs_v82/types/contacts.ResolvedPeer.md @@ -0,0 +1,22 @@ +--- +title: contacts.ResolvedPeer +description: constructors and methods of type contacts.ResolvedPeer +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.ResolvedPeer +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.resolvedPeer](../constructors/contacts.resolvedPeer.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->resolveUsername](../methods/contacts.resolveUsername.md) + + + diff --git a/old_docs/API_docs_v82/types/contacts.TopPeers.md b/old_docs/API_docs_v82/types/contacts.TopPeers.md new file mode 100644 index 00000000..563e63aa --- /dev/null +++ b/old_docs/API_docs_v82/types/contacts.TopPeers.md @@ -0,0 +1,26 @@ +--- +title: contacts.TopPeers +description: constructors and methods of type contacts.TopPeers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.TopPeers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.topPeersNotModified](../constructors/contacts.topPeersNotModified.md) + +[contacts.topPeers](../constructors/contacts.topPeers.md) + +[contacts.topPeersDisabled](../constructors/contacts.topPeersDisabled.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getTopPeers](../methods/contacts.getTopPeers.md) + + + diff --git a/old_docs/API_docs_v82/types/contacts_Blocked.md b/old_docs/API_docs_v82/types/contacts_Blocked.md deleted file mode 100644 index 3e1f02eb..00000000 --- a/old_docs/API_docs_v82/types/contacts_Blocked.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: contacts_Blocked -description: constructors and methods of type contacts_Blocked -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Blocked -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_blocked](../constructors/contacts_blocked.md) - -[contacts\_blockedSlice](../constructors/contacts_blockedSlice.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->getBlocked](../methods/contacts_getBlocked.md) - - - diff --git a/old_docs/API_docs_v82/types/contacts_Contacts.md b/old_docs/API_docs_v82/types/contacts_Contacts.md deleted file mode 100644 index 5d6c9506..00000000 --- a/old_docs/API_docs_v82/types/contacts_Contacts.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: contacts_Contacts -description: constructors and methods of type contacts_Contacts -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Contacts -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_contactsNotModified](../constructors/contacts_contactsNotModified.md) - -[contacts\_contacts](../constructors/contacts_contacts.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->getContacts](../methods/contacts_getContacts.md) - - - diff --git a/old_docs/API_docs_v82/types/contacts_Found.md b/old_docs/API_docs_v82/types/contacts_Found.md deleted file mode 100644 index 806101cf..00000000 --- a/old_docs/API_docs_v82/types/contacts_Found.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_Found -description: constructors and methods of type contacts_Found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Found -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_found](../constructors/contacts_found.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->search](../methods/contacts_search.md) - - - diff --git a/old_docs/API_docs_v82/types/contacts_ImportedContacts.md b/old_docs/API_docs_v82/types/contacts_ImportedContacts.md deleted file mode 100644 index faf7e615..00000000 --- a/old_docs/API_docs_v82/types/contacts_ImportedContacts.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_ImportedContacts -description: constructors and methods of type contacts_ImportedContacts -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_ImportedContacts -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_importedContacts](../constructors/contacts_importedContacts.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->importContacts](../methods/contacts_importContacts.md) - - - diff --git a/old_docs/API_docs_v82/types/contacts_Link.md b/old_docs/API_docs_v82/types/contacts_Link.md deleted file mode 100644 index 01556606..00000000 --- a/old_docs/API_docs_v82/types/contacts_Link.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_Link -description: constructors and methods of type contacts_Link -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Link -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_link](../constructors/contacts_link.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->deleteContact](../methods/contacts_deleteContact.md) - - - diff --git a/old_docs/API_docs_v82/types/contacts_ResolvedPeer.md b/old_docs/API_docs_v82/types/contacts_ResolvedPeer.md deleted file mode 100644 index cf107f7c..00000000 --- a/old_docs/API_docs_v82/types/contacts_ResolvedPeer.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_ResolvedPeer -description: constructors and methods of type contacts_ResolvedPeer -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_ResolvedPeer -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_resolvedPeer](../constructors/contacts_resolvedPeer.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->resolveUsername](../methods/contacts_resolveUsername.md) - - - diff --git a/old_docs/API_docs_v82/types/contacts_TopPeers.md b/old_docs/API_docs_v82/types/contacts_TopPeers.md deleted file mode 100644 index dc8ee478..00000000 --- a/old_docs/API_docs_v82/types/contacts_TopPeers.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: contacts_TopPeers -description: constructors and methods of type contacts_TopPeers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_TopPeers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_topPeersNotModified](../constructors/contacts_topPeersNotModified.md) - -[contacts\_topPeers](../constructors/contacts_topPeers.md) - -[contacts\_topPeersDisabled](../constructors/contacts_topPeersDisabled.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->getTopPeers](../methods/contacts_getTopPeers.md) - - - diff --git a/old_docs/API_docs_v82/types/help.AppUpdate.md b/old_docs/API_docs_v82/types/help.AppUpdate.md new file mode 100644 index 00000000..285ec2b7 --- /dev/null +++ b/old_docs/API_docs_v82/types/help.AppUpdate.md @@ -0,0 +1,24 @@ +--- +title: help.AppUpdate +description: constructors and methods of type help.AppUpdate +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.AppUpdate +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.appUpdate](../constructors/help.appUpdate.md) + +[help.noAppUpdate](../constructors/help.noAppUpdate.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getAppUpdate](../methods/help.getAppUpdate.md) + + + diff --git a/old_docs/API_docs_v82/types/help.ConfigSimple.md b/old_docs/API_docs_v82/types/help.ConfigSimple.md new file mode 100644 index 00000000..92d9e15f --- /dev/null +++ b/old_docs/API_docs_v82/types/help.ConfigSimple.md @@ -0,0 +1,20 @@ +--- +title: help.ConfigSimple +description: constructors and methods of type help.ConfigSimple +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.ConfigSimple +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.configSimple](../constructors/help.configSimple.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v82/types/help.DeepLinkInfo.md b/old_docs/API_docs_v82/types/help.DeepLinkInfo.md new file mode 100644 index 00000000..356af1c4 --- /dev/null +++ b/old_docs/API_docs_v82/types/help.DeepLinkInfo.md @@ -0,0 +1,24 @@ +--- +title: help.DeepLinkInfo +description: constructors and methods of type help.DeepLinkInfo +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.DeepLinkInfo +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.deepLinkInfoEmpty](../constructors/help.deepLinkInfoEmpty.md) + +[help.deepLinkInfo](../constructors/help.deepLinkInfo.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getDeepLinkInfo](../methods/help.getDeepLinkInfo.md) + + + diff --git a/old_docs/API_docs_v82/types/help.InviteText.md b/old_docs/API_docs_v82/types/help.InviteText.md new file mode 100644 index 00000000..43293f46 --- /dev/null +++ b/old_docs/API_docs_v82/types/help.InviteText.md @@ -0,0 +1,22 @@ +--- +title: help.InviteText +description: constructors and methods of type help.InviteText +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.InviteText +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.inviteText](../constructors/help.inviteText.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getInviteText](../methods/help.getInviteText.md) + + + diff --git a/old_docs/API_docs_v82/types/help.ProxyData.md b/old_docs/API_docs_v82/types/help.ProxyData.md new file mode 100644 index 00000000..e45b4211 --- /dev/null +++ b/old_docs/API_docs_v82/types/help.ProxyData.md @@ -0,0 +1,24 @@ +--- +title: help.ProxyData +description: constructors and methods of type help.ProxyData +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.ProxyData +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.proxyDataEmpty](../constructors/help.proxyDataEmpty.md) + +[help.proxyDataPromo](../constructors/help.proxyDataPromo.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getProxyData](../methods/help.getProxyData.md) + + + diff --git a/old_docs/API_docs_v82/types/help.RecentMeUrls.md b/old_docs/API_docs_v82/types/help.RecentMeUrls.md new file mode 100644 index 00000000..6b7ee2c1 --- /dev/null +++ b/old_docs/API_docs_v82/types/help.RecentMeUrls.md @@ -0,0 +1,22 @@ +--- +title: help.RecentMeUrls +description: constructors and methods of type help.RecentMeUrls +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.RecentMeUrls +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.recentMeUrls](../constructors/help.recentMeUrls.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getRecentMeUrls](../methods/help.getRecentMeUrls.md) + + + diff --git a/old_docs/API_docs_v82/types/help.Support.md b/old_docs/API_docs_v82/types/help.Support.md new file mode 100644 index 00000000..42c20483 --- /dev/null +++ b/old_docs/API_docs_v82/types/help.Support.md @@ -0,0 +1,22 @@ +--- +title: help.Support +description: constructors and methods of type help.Support +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.Support +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.support](../constructors/help.support.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getSupport](../methods/help.getSupport.md) + + + diff --git a/old_docs/API_docs_v82/types/help.TermsOfService.md b/old_docs/API_docs_v82/types/help.TermsOfService.md new file mode 100644 index 00000000..d4d091e1 --- /dev/null +++ b/old_docs/API_docs_v82/types/help.TermsOfService.md @@ -0,0 +1,20 @@ +--- +title: help.TermsOfService +description: constructors and methods of type help.TermsOfService +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.TermsOfService +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.termsOfService](../constructors/help.termsOfService.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v82/types/help.TermsOfServiceUpdate.md b/old_docs/API_docs_v82/types/help.TermsOfServiceUpdate.md new file mode 100644 index 00000000..e27b3c71 --- /dev/null +++ b/old_docs/API_docs_v82/types/help.TermsOfServiceUpdate.md @@ -0,0 +1,24 @@ +--- +title: help.TermsOfServiceUpdate +description: constructors and methods of type help.TermsOfServiceUpdate +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.TermsOfServiceUpdate +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.termsOfServiceUpdateEmpty](../constructors/help.termsOfServiceUpdateEmpty.md) + +[help.termsOfServiceUpdate](../constructors/help.termsOfServiceUpdate.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getTermsOfServiceUpdate](../methods/help.getTermsOfServiceUpdate.md) + + + diff --git a/old_docs/API_docs_v82/types/help_AppUpdate.md b/old_docs/API_docs_v82/types/help_AppUpdate.md deleted file mode 100644 index 1f296a70..00000000 --- a/old_docs/API_docs_v82/types/help_AppUpdate.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: help_AppUpdate -description: constructors and methods of type help_AppUpdate -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_AppUpdate -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_appUpdate](../constructors/help_appUpdate.md) - -[help\_noAppUpdate](../constructors/help_noAppUpdate.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getAppUpdate](../methods/help_getAppUpdate.md) - - - diff --git a/old_docs/API_docs_v82/types/help_ConfigSimple.md b/old_docs/API_docs_v82/types/help_ConfigSimple.md deleted file mode 100644 index 81678d74..00000000 --- a/old_docs/API_docs_v82/types/help_ConfigSimple.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: help_ConfigSimple -description: constructors and methods of type help_ConfigSimple -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_ConfigSimple -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_configSimple](../constructors/help_configSimple.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v82/types/help_DeepLinkInfo.md b/old_docs/API_docs_v82/types/help_DeepLinkInfo.md deleted file mode 100644 index 776e8e09..00000000 --- a/old_docs/API_docs_v82/types/help_DeepLinkInfo.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: help_DeepLinkInfo -description: constructors and methods of type help_DeepLinkInfo -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_DeepLinkInfo -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_deepLinkInfoEmpty](../constructors/help_deepLinkInfoEmpty.md) - -[help\_deepLinkInfo](../constructors/help_deepLinkInfo.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getDeepLinkInfo](../methods/help_getDeepLinkInfo.md) - - - diff --git a/old_docs/API_docs_v82/types/help_InviteText.md b/old_docs/API_docs_v82/types/help_InviteText.md deleted file mode 100644 index 018d35bf..00000000 --- a/old_docs/API_docs_v82/types/help_InviteText.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: help_InviteText -description: constructors and methods of type help_InviteText -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_InviteText -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_inviteText](../constructors/help_inviteText.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getInviteText](../methods/help_getInviteText.md) - - - diff --git a/old_docs/API_docs_v82/types/help_ProxyData.md b/old_docs/API_docs_v82/types/help_ProxyData.md deleted file mode 100644 index 1bc6839e..00000000 --- a/old_docs/API_docs_v82/types/help_ProxyData.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: help_ProxyData -description: constructors and methods of type help_ProxyData -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_ProxyData -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_proxyDataEmpty](../constructors/help_proxyDataEmpty.md) - -[help\_proxyDataPromo](../constructors/help_proxyDataPromo.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getProxyData](../methods/help_getProxyData.md) - - - diff --git a/old_docs/API_docs_v82/types/help_RecentMeUrls.md b/old_docs/API_docs_v82/types/help_RecentMeUrls.md deleted file mode 100644 index 691af1c3..00000000 --- a/old_docs/API_docs_v82/types/help_RecentMeUrls.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: help_RecentMeUrls -description: constructors and methods of type help_RecentMeUrls -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_RecentMeUrls -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_recentMeUrls](../constructors/help_recentMeUrls.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getRecentMeUrls](../methods/help_getRecentMeUrls.md) - - - diff --git a/old_docs/API_docs_v82/types/help_Support.md b/old_docs/API_docs_v82/types/help_Support.md deleted file mode 100644 index 26de447b..00000000 --- a/old_docs/API_docs_v82/types/help_Support.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: help_Support -description: constructors and methods of type help_Support -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_Support -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_support](../constructors/help_support.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getSupport](../methods/help_getSupport.md) - - - diff --git a/old_docs/API_docs_v82/types/help_TermsOfService.md b/old_docs/API_docs_v82/types/help_TermsOfService.md deleted file mode 100644 index 24f8eb68..00000000 --- a/old_docs/API_docs_v82/types/help_TermsOfService.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: help_TermsOfService -description: constructors and methods of type help_TermsOfService -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_TermsOfService -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_termsOfService](../constructors/help_termsOfService.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v82/types/help_TermsOfServiceUpdate.md b/old_docs/API_docs_v82/types/help_TermsOfServiceUpdate.md deleted file mode 100644 index 0e4f1ef2..00000000 --- a/old_docs/API_docs_v82/types/help_TermsOfServiceUpdate.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: help_TermsOfServiceUpdate -description: constructors and methods of type help_TermsOfServiceUpdate -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_TermsOfServiceUpdate -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_termsOfServiceUpdateEmpty](../constructors/help_termsOfServiceUpdateEmpty.md) - -[help\_termsOfServiceUpdate](../constructors/help_termsOfServiceUpdate.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getTermsOfServiceUpdate](../methods/help_getTermsOfServiceUpdate.md) - - - diff --git a/old_docs/API_docs_v82/types/messages.AffectedHistory.md b/old_docs/API_docs_v82/types/messages.AffectedHistory.md new file mode 100644 index 00000000..8a1e850a --- /dev/null +++ b/old_docs/API_docs_v82/types/messages.AffectedHistory.md @@ -0,0 +1,26 @@ +--- +title: messages.AffectedHistory +description: constructors and methods of type messages.AffectedHistory +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.AffectedHistory +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.affectedHistory](../constructors/messages.affectedHistory.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->deleteHistory](../methods/messages.deleteHistory.md) + +[$MadelineProto->messages->readMentions](../methods/messages.readMentions.md) + +[$MadelineProto->channels->deleteUserHistory](../methods/channels.deleteUserHistory.md) + + + diff --git a/old_docs/API_docs_v82/types/messages.AffectedMessages.md b/old_docs/API_docs_v82/types/messages.AffectedMessages.md new file mode 100644 index 00000000..a9159de3 --- /dev/null +++ b/old_docs/API_docs_v82/types/messages.AffectedMessages.md @@ -0,0 +1,28 @@ +--- +title: messages.AffectedMessages +description: constructors and methods of type messages.AffectedMessages +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.AffectedMessages +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.affectedMessages](../constructors/messages.affectedMessages.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->readHistory](../methods/messages.readHistory.md) + +[$MadelineProto->messages->deleteMessages](../methods/messages.deleteMessages.md) + +[$MadelineProto->messages->readMessageContents](../methods/messages.readMessageContents.md) + +[$MadelineProto->channels->deleteMessages](../methods/channels.deleteMessages.md) + + + diff --git a/old_docs/API_docs_v82/types/messages.AllStickers.md b/old_docs/API_docs_v82/types/messages.AllStickers.md new file mode 100644 index 00000000..fd8565de --- /dev/null +++ b/old_docs/API_docs_v82/types/messages.AllStickers.md @@ -0,0 +1,26 @@ +--- +title: messages.AllStickers +description: constructors and methods of type messages.AllStickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.AllStickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.allStickersNotModified](../constructors/messages.allStickersNotModified.md) + +[messages.allStickers](../constructors/messages.allStickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getAllStickers](../methods/messages.getAllStickers.md) + +[$MadelineProto->messages->getMaskStickers](../methods/messages.getMaskStickers.md) + + + diff --git a/old_docs/API_docs_v82/types/messages.ArchivedStickers.md b/old_docs/API_docs_v82/types/messages.ArchivedStickers.md new file mode 100644 index 00000000..3e017c5d --- /dev/null +++ b/old_docs/API_docs_v82/types/messages.ArchivedStickers.md @@ -0,0 +1,22 @@ +--- +title: messages.ArchivedStickers +description: constructors and methods of type messages.ArchivedStickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.ArchivedStickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.archivedStickers](../constructors/messages.archivedStickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getArchivedStickers](../methods/messages.getArchivedStickers.md) + + + diff --git a/old_docs/API_docs_v82/types/messages.BotCallbackAnswer.md b/old_docs/API_docs_v82/types/messages.BotCallbackAnswer.md new file mode 100644 index 00000000..ef30fbfb --- /dev/null +++ b/old_docs/API_docs_v82/types/messages.BotCallbackAnswer.md @@ -0,0 +1,22 @@ +--- +title: messages.BotCallbackAnswer +description: constructors and methods of type messages.BotCallbackAnswer +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.BotCallbackAnswer +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.botCallbackAnswer](../constructors/messages.botCallbackAnswer.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getBotCallbackAnswer](../methods/messages.getBotCallbackAnswer.md) + + + diff --git a/old_docs/API_docs_v82/types/messages.BotResults.md b/old_docs/API_docs_v82/types/messages.BotResults.md new file mode 100644 index 00000000..76ee2b99 --- /dev/null +++ b/old_docs/API_docs_v82/types/messages.BotResults.md @@ -0,0 +1,22 @@ +--- +title: messages.BotResults +description: constructors and methods of type messages.BotResults +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.BotResults +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.botResults](../constructors/messages.botResults.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getInlineBotResults](../methods/messages.getInlineBotResults.md) + + + diff --git a/old_docs/API_docs_v82/types/messages.ChatFull.md b/old_docs/API_docs_v82/types/messages.ChatFull.md new file mode 100644 index 00000000..3ad38748 --- /dev/null +++ b/old_docs/API_docs_v82/types/messages.ChatFull.md @@ -0,0 +1,24 @@ +--- +title: messages.ChatFull +description: constructors and methods of type messages.ChatFull +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.ChatFull +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.chatFull](../constructors/messages.chatFull.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getFullChat](../methods/messages.getFullChat.md) + +[$MadelineProto->channels->getFullChannel](../methods/channels.getFullChannel.md) + + + diff --git a/old_docs/API_docs_v82/types/messages.Chats.md b/old_docs/API_docs_v82/types/messages.Chats.md new file mode 100644 index 00000000..4678b110 --- /dev/null +++ b/old_docs/API_docs_v82/types/messages.Chats.md @@ -0,0 +1,34 @@ +--- +title: messages.Chats +description: constructors and methods of type messages.Chats +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Chats +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.chats](../constructors/messages.chats.md) + +[messages.chatsSlice](../constructors/messages.chatsSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getChats](../methods/messages.getChats.md) + +[$MadelineProto->messages->getCommonChats](../methods/messages.getCommonChats.md) + +[$MadelineProto->messages->getAllChats](../methods/messages.getAllChats.md) + +[$MadelineProto->channels->getChannels](../methods/channels.getChannels.md) + +[$MadelineProto->channels->getAdminedPublicChannels](../methods/channels.getAdminedPublicChannels.md) + +[$MadelineProto->channels->getLeftChannels](../methods/channels.getLeftChannels.md) + + + diff --git a/old_docs/API_docs_v82/types/messages.DhConfig.md b/old_docs/API_docs_v82/types/messages.DhConfig.md new file mode 100644 index 00000000..77188ab7 --- /dev/null +++ b/old_docs/API_docs_v82/types/messages.DhConfig.md @@ -0,0 +1,24 @@ +--- +title: messages.DhConfig +description: constructors and methods of type messages.DhConfig +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.DhConfig +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.dhConfigNotModified](../constructors/messages.dhConfigNotModified.md) + +[messages.dhConfig](../constructors/messages.dhConfig.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getDhConfig](../methods/messages.getDhConfig.md) + + + diff --git a/old_docs/API_docs_v82/types/messages.Dialogs.md b/old_docs/API_docs_v82/types/messages.Dialogs.md new file mode 100644 index 00000000..e14885b1 --- /dev/null +++ b/old_docs/API_docs_v82/types/messages.Dialogs.md @@ -0,0 +1,26 @@ +--- +title: messages.Dialogs +description: constructors and methods of type messages.Dialogs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Dialogs +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.dialogs](../constructors/messages.dialogs.md) + +[messages.dialogsSlice](../constructors/messages.dialogsSlice.md) + +[messages.dialogsNotModified](../constructors/messages.dialogsNotModified.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getDialogs](../methods/messages.getDialogs.md) + + + diff --git a/old_docs/API_docs_v82/types/messages.FavedStickers.md b/old_docs/API_docs_v82/types/messages.FavedStickers.md new file mode 100644 index 00000000..3edc863b --- /dev/null +++ b/old_docs/API_docs_v82/types/messages.FavedStickers.md @@ -0,0 +1,24 @@ +--- +title: messages.FavedStickers +description: constructors and methods of type messages.FavedStickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.FavedStickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.favedStickersNotModified](../constructors/messages.favedStickersNotModified.md) + +[messages.favedStickers](../constructors/messages.favedStickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getFavedStickers](../methods/messages.getFavedStickers.md) + + + diff --git a/old_docs/API_docs_v82/types/messages.FeaturedStickers.md b/old_docs/API_docs_v82/types/messages.FeaturedStickers.md new file mode 100644 index 00000000..06ed87bb --- /dev/null +++ b/old_docs/API_docs_v82/types/messages.FeaturedStickers.md @@ -0,0 +1,24 @@ +--- +title: messages.FeaturedStickers +description: constructors and methods of type messages.FeaturedStickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.FeaturedStickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.featuredStickersNotModified](../constructors/messages.featuredStickersNotModified.md) + +[messages.featuredStickers](../constructors/messages.featuredStickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getFeaturedStickers](../methods/messages.getFeaturedStickers.md) + + + diff --git a/old_docs/API_docs_v82/types/messages.FoundGifs.md b/old_docs/API_docs_v82/types/messages.FoundGifs.md new file mode 100644 index 00000000..b5176a5d --- /dev/null +++ b/old_docs/API_docs_v82/types/messages.FoundGifs.md @@ -0,0 +1,22 @@ +--- +title: messages.FoundGifs +description: constructors and methods of type messages.FoundGifs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.FoundGifs +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.foundGifs](../constructors/messages.foundGifs.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->searchGifs](../methods/messages.searchGifs.md) + + + diff --git a/old_docs/API_docs_v82/types/messages.FoundStickerSets.md b/old_docs/API_docs_v82/types/messages.FoundStickerSets.md new file mode 100644 index 00000000..eb6eb284 --- /dev/null +++ b/old_docs/API_docs_v82/types/messages.FoundStickerSets.md @@ -0,0 +1,24 @@ +--- +title: messages.FoundStickerSets +description: constructors and methods of type messages.FoundStickerSets +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.FoundStickerSets +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.foundStickerSetsNotModified](../constructors/messages.foundStickerSetsNotModified.md) + +[messages.foundStickerSets](../constructors/messages.foundStickerSets.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->searchStickerSets](../methods/messages.searchStickerSets.md) + + + diff --git a/old_docs/API_docs_v82/types/messages.HighScores.md b/old_docs/API_docs_v82/types/messages.HighScores.md new file mode 100644 index 00000000..eae9db66 --- /dev/null +++ b/old_docs/API_docs_v82/types/messages.HighScores.md @@ -0,0 +1,24 @@ +--- +title: messages.HighScores +description: constructors and methods of type messages.HighScores +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.HighScores +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.highScores](../constructors/messages.highScores.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getGameHighScores](../methods/messages.getGameHighScores.md) + +[$MadelineProto->messages->getInlineGameHighScores](../methods/messages.getInlineGameHighScores.md) + + + diff --git a/old_docs/API_docs_v82/types/messages.MessageEditData.md b/old_docs/API_docs_v82/types/messages.MessageEditData.md new file mode 100644 index 00000000..feb572f1 --- /dev/null +++ b/old_docs/API_docs_v82/types/messages.MessageEditData.md @@ -0,0 +1,22 @@ +--- +title: messages.MessageEditData +description: constructors and methods of type messages.MessageEditData +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.MessageEditData +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.messageEditData](../constructors/messages.messageEditData.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getMessageEditData](../methods/messages.getMessageEditData.md) + + + diff --git a/old_docs/API_docs_v82/types/messages.Messages.md b/old_docs/API_docs_v82/types/messages.Messages.md new file mode 100644 index 00000000..699ceada --- /dev/null +++ b/old_docs/API_docs_v82/types/messages.Messages.md @@ -0,0 +1,40 @@ +--- +title: messages.Messages +description: constructors and methods of type messages.Messages +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Messages +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.messages](../constructors/messages.messages.md) + +[messages.messagesSlice](../constructors/messages.messagesSlice.md) + +[messages.channelMessages](../constructors/messages.channelMessages.md) + +[messages.messagesNotModified](../constructors/messages.messagesNotModified.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getMessages](../methods/messages.getMessages.md) + +[$MadelineProto->messages->getHistory](../methods/messages.getHistory.md) + +[$MadelineProto->messages->search](../methods/messages.search.md) + +[$MadelineProto->messages->searchGlobal](../methods/messages.searchGlobal.md) + +[$MadelineProto->messages->getUnreadMentions](../methods/messages.getUnreadMentions.md) + +[$MadelineProto->messages->getRecentLocations](../methods/messages.getRecentLocations.md) + +[$MadelineProto->channels->getMessages](../methods/channels.getMessages.md) + + + diff --git a/old_docs/API_docs_v82/types/messages.PeerDialogs.md b/old_docs/API_docs_v82/types/messages.PeerDialogs.md new file mode 100644 index 00000000..9a1ceaf0 --- /dev/null +++ b/old_docs/API_docs_v82/types/messages.PeerDialogs.md @@ -0,0 +1,24 @@ +--- +title: messages.PeerDialogs +description: constructors and methods of type messages.PeerDialogs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.PeerDialogs +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.peerDialogs](../constructors/messages.peerDialogs.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getPeerDialogs](../methods/messages.getPeerDialogs.md) + +[$MadelineProto->messages->getPinnedDialogs](../methods/messages.getPinnedDialogs.md) + + + diff --git a/old_docs/API_docs_v82/types/messages.RecentStickers.md b/old_docs/API_docs_v82/types/messages.RecentStickers.md new file mode 100644 index 00000000..e5c49b92 --- /dev/null +++ b/old_docs/API_docs_v82/types/messages.RecentStickers.md @@ -0,0 +1,24 @@ +--- +title: messages.RecentStickers +description: constructors and methods of type messages.RecentStickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.RecentStickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.recentStickersNotModified](../constructors/messages.recentStickersNotModified.md) + +[messages.recentStickers](../constructors/messages.recentStickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getRecentStickers](../methods/messages.getRecentStickers.md) + + + diff --git a/old_docs/API_docs_v82/types/messages.SavedGifs.md b/old_docs/API_docs_v82/types/messages.SavedGifs.md new file mode 100644 index 00000000..99844c98 --- /dev/null +++ b/old_docs/API_docs_v82/types/messages.SavedGifs.md @@ -0,0 +1,24 @@ +--- +title: messages.SavedGifs +description: constructors and methods of type messages.SavedGifs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.SavedGifs +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.savedGifsNotModified](../constructors/messages.savedGifsNotModified.md) + +[messages.savedGifs](../constructors/messages.savedGifs.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getSavedGifs](../methods/messages.getSavedGifs.md) + + + diff --git a/old_docs/API_docs_v82/types/messages.SentEncryptedMessage.md b/old_docs/API_docs_v82/types/messages.SentEncryptedMessage.md new file mode 100644 index 00000000..b6d05b1f --- /dev/null +++ b/old_docs/API_docs_v82/types/messages.SentEncryptedMessage.md @@ -0,0 +1,28 @@ +--- +title: messages.SentEncryptedMessage +description: constructors and methods of type messages.SentEncryptedMessage +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.SentEncryptedMessage +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.sentEncryptedMessage](../constructors/messages.sentEncryptedMessage.md) + +[messages.sentEncryptedFile](../constructors/messages.sentEncryptedFile.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->sendEncrypted](../methods/messages.sendEncrypted.md) + +[$MadelineProto->messages->sendEncryptedFile](../methods/messages.sendEncryptedFile.md) + +[$MadelineProto->messages->sendEncryptedService](../methods/messages.sendEncryptedService.md) + + + diff --git a/old_docs/API_docs_v82/types/messages.StickerSet.md b/old_docs/API_docs_v82/types/messages.StickerSet.md new file mode 100644 index 00000000..e173fe45 --- /dev/null +++ b/old_docs/API_docs_v82/types/messages.StickerSet.md @@ -0,0 +1,30 @@ +--- +title: messages.StickerSet +description: constructors and methods of type messages.StickerSet +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.StickerSet +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.stickerSet](../constructors/messages.stickerSet.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getStickerSet](../methods/messages.getStickerSet.md) + +[$MadelineProto->stickers->createStickerSet](../methods/stickers.createStickerSet.md) + +[$MadelineProto->stickers->removeStickerFromSet](../methods/stickers.removeStickerFromSet.md) + +[$MadelineProto->stickers->changeStickerPosition](../methods/stickers.changeStickerPosition.md) + +[$MadelineProto->stickers->addStickerToSet](../methods/stickers.addStickerToSet.md) + + + diff --git a/old_docs/API_docs_v82/types/messages.StickerSetInstallResult.md b/old_docs/API_docs_v82/types/messages.StickerSetInstallResult.md new file mode 100644 index 00000000..9e09c293 --- /dev/null +++ b/old_docs/API_docs_v82/types/messages.StickerSetInstallResult.md @@ -0,0 +1,24 @@ +--- +title: messages.StickerSetInstallResult +description: constructors and methods of type messages.StickerSetInstallResult +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.StickerSetInstallResult +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.stickerSetInstallResultSuccess](../constructors/messages.stickerSetInstallResultSuccess.md) + +[messages.stickerSetInstallResultArchive](../constructors/messages.stickerSetInstallResultArchive.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->installStickerSet](../methods/messages.installStickerSet.md) + + + diff --git a/old_docs/API_docs_v82/types/messages.Stickers.md b/old_docs/API_docs_v82/types/messages.Stickers.md new file mode 100644 index 00000000..43bddf06 --- /dev/null +++ b/old_docs/API_docs_v82/types/messages.Stickers.md @@ -0,0 +1,24 @@ +--- +title: messages.Stickers +description: constructors and methods of type messages.Stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Stickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.stickersNotModified](../constructors/messages.stickersNotModified.md) + +[messages.stickers](../constructors/messages.stickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getStickers](../methods/messages.getStickers.md) + + + diff --git a/old_docs/API_docs_v82/types/messages_AffectedHistory.md b/old_docs/API_docs_v82/types/messages_AffectedHistory.md deleted file mode 100644 index 9eef04c0..00000000 --- a/old_docs/API_docs_v82/types/messages_AffectedHistory.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: messages_AffectedHistory -description: constructors and methods of type messages_AffectedHistory -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_AffectedHistory -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_affectedHistory](../constructors/messages_affectedHistory.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->deleteHistory](../methods/messages_deleteHistory.md) - -[$MadelineProto->messages->readMentions](../methods/messages_readMentions.md) - -[$MadelineProto->channels->deleteUserHistory](../methods/channels_deleteUserHistory.md) - - - diff --git a/old_docs/API_docs_v82/types/messages_AffectedMessages.md b/old_docs/API_docs_v82/types/messages_AffectedMessages.md deleted file mode 100644 index dcbea721..00000000 --- a/old_docs/API_docs_v82/types/messages_AffectedMessages.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: messages_AffectedMessages -description: constructors and methods of type messages_AffectedMessages -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_AffectedMessages -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_affectedMessages](../constructors/messages_affectedMessages.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->readHistory](../methods/messages_readHistory.md) - -[$MadelineProto->messages->deleteMessages](../methods/messages_deleteMessages.md) - -[$MadelineProto->messages->readMessageContents](../methods/messages_readMessageContents.md) - -[$MadelineProto->channels->deleteMessages](../methods/channels_deleteMessages.md) - - - diff --git a/old_docs/API_docs_v82/types/messages_AllStickers.md b/old_docs/API_docs_v82/types/messages_AllStickers.md deleted file mode 100644 index b6a322e0..00000000 --- a/old_docs/API_docs_v82/types/messages_AllStickers.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: messages_AllStickers -description: constructors and methods of type messages_AllStickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_AllStickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_allStickersNotModified](../constructors/messages_allStickersNotModified.md) - -[messages\_allStickers](../constructors/messages_allStickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getAllStickers](../methods/messages_getAllStickers.md) - -[$MadelineProto->messages->getMaskStickers](../methods/messages_getMaskStickers.md) - - - diff --git a/old_docs/API_docs_v82/types/messages_ArchivedStickers.md b/old_docs/API_docs_v82/types/messages_ArchivedStickers.md deleted file mode 100644 index c569675e..00000000 --- a/old_docs/API_docs_v82/types/messages_ArchivedStickers.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_ArchivedStickers -description: constructors and methods of type messages_ArchivedStickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_ArchivedStickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_archivedStickers](../constructors/messages_archivedStickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getArchivedStickers](../methods/messages_getArchivedStickers.md) - - - diff --git a/old_docs/API_docs_v82/types/messages_BotCallbackAnswer.md b/old_docs/API_docs_v82/types/messages_BotCallbackAnswer.md deleted file mode 100644 index f8d424d0..00000000 --- a/old_docs/API_docs_v82/types/messages_BotCallbackAnswer.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_BotCallbackAnswer -description: constructors and methods of type messages_BotCallbackAnswer -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_BotCallbackAnswer -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_botCallbackAnswer](../constructors/messages_botCallbackAnswer.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getBotCallbackAnswer](../methods/messages_getBotCallbackAnswer.md) - - - diff --git a/old_docs/API_docs_v82/types/messages_BotResults.md b/old_docs/API_docs_v82/types/messages_BotResults.md deleted file mode 100644 index c346c5bd..00000000 --- a/old_docs/API_docs_v82/types/messages_BotResults.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_BotResults -description: constructors and methods of type messages_BotResults -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_BotResults -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_botResults](../constructors/messages_botResults.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getInlineBotResults](../methods/messages_getInlineBotResults.md) - - - diff --git a/old_docs/API_docs_v82/types/messages_ChatFull.md b/old_docs/API_docs_v82/types/messages_ChatFull.md deleted file mode 100644 index e4add41e..00000000 --- a/old_docs/API_docs_v82/types/messages_ChatFull.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_ChatFull -description: constructors and methods of type messages_ChatFull -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_ChatFull -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_chatFull](../constructors/messages_chatFull.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getFullChat](../methods/messages_getFullChat.md) - -[$MadelineProto->channels->getFullChannel](../methods/channels_getFullChannel.md) - - - diff --git a/old_docs/API_docs_v82/types/messages_Chats.md b/old_docs/API_docs_v82/types/messages_Chats.md deleted file mode 100644 index 57349b11..00000000 --- a/old_docs/API_docs_v82/types/messages_Chats.md +++ /dev/null @@ -1,34 +0,0 @@ ---- -title: messages_Chats -description: constructors and methods of type messages_Chats -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Chats -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_chats](../constructors/messages_chats.md) - -[messages\_chatsSlice](../constructors/messages_chatsSlice.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getChats](../methods/messages_getChats.md) - -[$MadelineProto->messages->getCommonChats](../methods/messages_getCommonChats.md) - -[$MadelineProto->messages->getAllChats](../methods/messages_getAllChats.md) - -[$MadelineProto->channels->getChannels](../methods/channels_getChannels.md) - -[$MadelineProto->channels->getAdminedPublicChannels](../methods/channels_getAdminedPublicChannels.md) - -[$MadelineProto->channels->getLeftChannels](../methods/channels_getLeftChannels.md) - - - diff --git a/old_docs/API_docs_v82/types/messages_DhConfig.md b/old_docs/API_docs_v82/types/messages_DhConfig.md deleted file mode 100644 index ce237411..00000000 --- a/old_docs/API_docs_v82/types/messages_DhConfig.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_DhConfig -description: constructors and methods of type messages_DhConfig -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_DhConfig -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_dhConfigNotModified](../constructors/messages_dhConfigNotModified.md) - -[messages\_dhConfig](../constructors/messages_dhConfig.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getDhConfig](../methods/messages_getDhConfig.md) - - - diff --git a/old_docs/API_docs_v82/types/messages_Dialogs.md b/old_docs/API_docs_v82/types/messages_Dialogs.md deleted file mode 100644 index 86d5eb72..00000000 --- a/old_docs/API_docs_v82/types/messages_Dialogs.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: messages_Dialogs -description: constructors and methods of type messages_Dialogs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Dialogs -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_dialogs](../constructors/messages_dialogs.md) - -[messages\_dialogsSlice](../constructors/messages_dialogsSlice.md) - -[messages\_dialogsNotModified](../constructors/messages_dialogsNotModified.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getDialogs](../methods/messages_getDialogs.md) - - - diff --git a/old_docs/API_docs_v82/types/messages_FavedStickers.md b/old_docs/API_docs_v82/types/messages_FavedStickers.md deleted file mode 100644 index 6fa1f221..00000000 --- a/old_docs/API_docs_v82/types/messages_FavedStickers.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_FavedStickers -description: constructors and methods of type messages_FavedStickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_FavedStickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_favedStickersNotModified](../constructors/messages_favedStickersNotModified.md) - -[messages\_favedStickers](../constructors/messages_favedStickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getFavedStickers](../methods/messages_getFavedStickers.md) - - - diff --git a/old_docs/API_docs_v82/types/messages_FeaturedStickers.md b/old_docs/API_docs_v82/types/messages_FeaturedStickers.md deleted file mode 100644 index 9b4c5002..00000000 --- a/old_docs/API_docs_v82/types/messages_FeaturedStickers.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_FeaturedStickers -description: constructors and methods of type messages_FeaturedStickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_FeaturedStickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_featuredStickersNotModified](../constructors/messages_featuredStickersNotModified.md) - -[messages\_featuredStickers](../constructors/messages_featuredStickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getFeaturedStickers](../methods/messages_getFeaturedStickers.md) - - - diff --git a/old_docs/API_docs_v82/types/messages_FoundGifs.md b/old_docs/API_docs_v82/types/messages_FoundGifs.md deleted file mode 100644 index 9dd088ba..00000000 --- a/old_docs/API_docs_v82/types/messages_FoundGifs.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_FoundGifs -description: constructors and methods of type messages_FoundGifs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_FoundGifs -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_foundGifs](../constructors/messages_foundGifs.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->searchGifs](../methods/messages_searchGifs.md) - - - diff --git a/old_docs/API_docs_v82/types/messages_FoundStickerSets.md b/old_docs/API_docs_v82/types/messages_FoundStickerSets.md deleted file mode 100644 index 9045b0d7..00000000 --- a/old_docs/API_docs_v82/types/messages_FoundStickerSets.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_FoundStickerSets -description: constructors and methods of type messages_FoundStickerSets -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_FoundStickerSets -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_foundStickerSetsNotModified](../constructors/messages_foundStickerSetsNotModified.md) - -[messages\_foundStickerSets](../constructors/messages_foundStickerSets.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->searchStickerSets](../methods/messages_searchStickerSets.md) - - - diff --git a/old_docs/API_docs_v82/types/messages_HighScores.md b/old_docs/API_docs_v82/types/messages_HighScores.md deleted file mode 100644 index 9660e255..00000000 --- a/old_docs/API_docs_v82/types/messages_HighScores.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_HighScores -description: constructors and methods of type messages_HighScores -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_HighScores -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_highScores](../constructors/messages_highScores.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getGameHighScores](../methods/messages_getGameHighScores.md) - -[$MadelineProto->messages->getInlineGameHighScores](../methods/messages_getInlineGameHighScores.md) - - - diff --git a/old_docs/API_docs_v82/types/messages_MessageEditData.md b/old_docs/API_docs_v82/types/messages_MessageEditData.md deleted file mode 100644 index ed3c507a..00000000 --- a/old_docs/API_docs_v82/types/messages_MessageEditData.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_MessageEditData -description: constructors and methods of type messages_MessageEditData -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_MessageEditData -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_messageEditData](../constructors/messages_messageEditData.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getMessageEditData](../methods/messages_getMessageEditData.md) - - - diff --git a/old_docs/API_docs_v82/types/messages_Messages.md b/old_docs/API_docs_v82/types/messages_Messages.md deleted file mode 100644 index 35514e90..00000000 --- a/old_docs/API_docs_v82/types/messages_Messages.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages_Messages -description: constructors and methods of type messages_Messages -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Messages -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_messages](../constructors/messages_messages.md) - -[messages\_messagesSlice](../constructors/messages_messagesSlice.md) - -[messages\_channelMessages](../constructors/messages_channelMessages.md) - -[messages\_messagesNotModified](../constructors/messages_messagesNotModified.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getMessages](../methods/messages_getMessages.md) - -[$MadelineProto->messages->getHistory](../methods/messages_getHistory.md) - -[$MadelineProto->messages->search](../methods/messages_search.md) - -[$MadelineProto->messages->searchGlobal](../methods/messages_searchGlobal.md) - -[$MadelineProto->messages->getUnreadMentions](../methods/messages_getUnreadMentions.md) - -[$MadelineProto->messages->getRecentLocations](../methods/messages_getRecentLocations.md) - -[$MadelineProto->channels->getMessages](../methods/channels_getMessages.md) - - - diff --git a/old_docs/API_docs_v82/types/messages_PeerDialogs.md b/old_docs/API_docs_v82/types/messages_PeerDialogs.md deleted file mode 100644 index 2477931f..00000000 --- a/old_docs/API_docs_v82/types/messages_PeerDialogs.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_PeerDialogs -description: constructors and methods of type messages_PeerDialogs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_PeerDialogs -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_peerDialogs](../constructors/messages_peerDialogs.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getPeerDialogs](../methods/messages_getPeerDialogs.md) - -[$MadelineProto->messages->getPinnedDialogs](../methods/messages_getPinnedDialogs.md) - - - diff --git a/old_docs/API_docs_v82/types/messages_RecentStickers.md b/old_docs/API_docs_v82/types/messages_RecentStickers.md deleted file mode 100644 index 2c9db779..00000000 --- a/old_docs/API_docs_v82/types/messages_RecentStickers.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_RecentStickers -description: constructors and methods of type messages_RecentStickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_RecentStickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_recentStickersNotModified](../constructors/messages_recentStickersNotModified.md) - -[messages\_recentStickers](../constructors/messages_recentStickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getRecentStickers](../methods/messages_getRecentStickers.md) - - - diff --git a/old_docs/API_docs_v82/types/messages_SavedGifs.md b/old_docs/API_docs_v82/types/messages_SavedGifs.md deleted file mode 100644 index ffb000aa..00000000 --- a/old_docs/API_docs_v82/types/messages_SavedGifs.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_SavedGifs -description: constructors and methods of type messages_SavedGifs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_SavedGifs -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_savedGifsNotModified](../constructors/messages_savedGifsNotModified.md) - -[messages\_savedGifs](../constructors/messages_savedGifs.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getSavedGifs](../methods/messages_getSavedGifs.md) - - - diff --git a/old_docs/API_docs_v82/types/messages_SentEncryptedMessage.md b/old_docs/API_docs_v82/types/messages_SentEncryptedMessage.md deleted file mode 100644 index 9f7ab935..00000000 --- a/old_docs/API_docs_v82/types/messages_SentEncryptedMessage.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: messages_SentEncryptedMessage -description: constructors and methods of type messages_SentEncryptedMessage -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_SentEncryptedMessage -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_sentEncryptedMessage](../constructors/messages_sentEncryptedMessage.md) - -[messages\_sentEncryptedFile](../constructors/messages_sentEncryptedFile.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->sendEncrypted](../methods/messages_sendEncrypted.md) - -[$MadelineProto->messages->sendEncryptedFile](../methods/messages_sendEncryptedFile.md) - -[$MadelineProto->messages->sendEncryptedService](../methods/messages_sendEncryptedService.md) - - - diff --git a/old_docs/API_docs_v82/types/messages_StickerSet.md b/old_docs/API_docs_v82/types/messages_StickerSet.md deleted file mode 100644 index 98e34dd2..00000000 --- a/old_docs/API_docs_v82/types/messages_StickerSet.md +++ /dev/null @@ -1,30 +0,0 @@ ---- -title: messages_StickerSet -description: constructors and methods of type messages_StickerSet -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_StickerSet -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_stickerSet](../constructors/messages_stickerSet.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getStickerSet](../methods/messages_getStickerSet.md) - -[$MadelineProto->stickers->createStickerSet](../methods/stickers_createStickerSet.md) - -[$MadelineProto->stickers->removeStickerFromSet](../methods/stickers_removeStickerFromSet.md) - -[$MadelineProto->stickers->changeStickerPosition](../methods/stickers_changeStickerPosition.md) - -[$MadelineProto->stickers->addStickerToSet](../methods/stickers_addStickerToSet.md) - - - diff --git a/old_docs/API_docs_v82/types/messages_StickerSetInstallResult.md b/old_docs/API_docs_v82/types/messages_StickerSetInstallResult.md deleted file mode 100644 index bb62ec11..00000000 --- a/old_docs/API_docs_v82/types/messages_StickerSetInstallResult.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_StickerSetInstallResult -description: constructors and methods of type messages_StickerSetInstallResult -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_StickerSetInstallResult -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_stickerSetInstallResultSuccess](../constructors/messages_stickerSetInstallResultSuccess.md) - -[messages\_stickerSetInstallResultArchive](../constructors/messages_stickerSetInstallResultArchive.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->installStickerSet](../methods/messages_installStickerSet.md) - - - diff --git a/old_docs/API_docs_v82/types/messages_Stickers.md b/old_docs/API_docs_v82/types/messages_Stickers.md deleted file mode 100644 index cf53f57b..00000000 --- a/old_docs/API_docs_v82/types/messages_Stickers.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_Stickers -description: constructors and methods of type messages_Stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Stickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_stickersNotModified](../constructors/messages_stickersNotModified.md) - -[messages\_stickers](../constructors/messages_stickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getStickers](../methods/messages_getStickers.md) - - - diff --git a/old_docs/API_docs_v82/types/payments.PaymentForm.md b/old_docs/API_docs_v82/types/payments.PaymentForm.md new file mode 100644 index 00000000..985c1957 --- /dev/null +++ b/old_docs/API_docs_v82/types/payments.PaymentForm.md @@ -0,0 +1,22 @@ +--- +title: payments.PaymentForm +description: constructors and methods of type payments.PaymentForm +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: payments.PaymentForm +[Back to types index](index.md) + + + +### Possible values (constructors): + +[payments.paymentForm](../constructors/payments.paymentForm.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->payments->getPaymentForm](../methods/payments.getPaymentForm.md) + + + diff --git a/old_docs/API_docs_v82/types/payments.PaymentReceipt.md b/old_docs/API_docs_v82/types/payments.PaymentReceipt.md new file mode 100644 index 00000000..45cebd47 --- /dev/null +++ b/old_docs/API_docs_v82/types/payments.PaymentReceipt.md @@ -0,0 +1,22 @@ +--- +title: payments.PaymentReceipt +description: constructors and methods of type payments.PaymentReceipt +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: payments.PaymentReceipt +[Back to types index](index.md) + + + +### Possible values (constructors): + +[payments.paymentReceipt](../constructors/payments.paymentReceipt.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->payments->getPaymentReceipt](../methods/payments.getPaymentReceipt.md) + + + diff --git a/old_docs/API_docs_v82/types/payments.PaymentResult.md b/old_docs/API_docs_v82/types/payments.PaymentResult.md new file mode 100644 index 00000000..9bbff9af --- /dev/null +++ b/old_docs/API_docs_v82/types/payments.PaymentResult.md @@ -0,0 +1,24 @@ +--- +title: payments.PaymentResult +description: constructors and methods of type payments.PaymentResult +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: payments.PaymentResult +[Back to types index](index.md) + + + +### Possible values (constructors): + +[payments.paymentResult](../constructors/payments.paymentResult.md) + +[payments.paymentVerficationNeeded](../constructors/payments.paymentVerficationNeeded.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->payments->sendPaymentForm](../methods/payments.sendPaymentForm.md) + + + diff --git a/old_docs/API_docs_v82/types/payments.SavedInfo.md b/old_docs/API_docs_v82/types/payments.SavedInfo.md new file mode 100644 index 00000000..cf7be16c --- /dev/null +++ b/old_docs/API_docs_v82/types/payments.SavedInfo.md @@ -0,0 +1,22 @@ +--- +title: payments.SavedInfo +description: constructors and methods of type payments.SavedInfo +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: payments.SavedInfo +[Back to types index](index.md) + + + +### Possible values (constructors): + +[payments.savedInfo](../constructors/payments.savedInfo.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->payments->getSavedInfo](../methods/payments.getSavedInfo.md) + + + diff --git a/old_docs/API_docs_v82/types/payments.ValidatedRequestedInfo.md b/old_docs/API_docs_v82/types/payments.ValidatedRequestedInfo.md new file mode 100644 index 00000000..653a5064 --- /dev/null +++ b/old_docs/API_docs_v82/types/payments.ValidatedRequestedInfo.md @@ -0,0 +1,22 @@ +--- +title: payments.ValidatedRequestedInfo +description: constructors and methods of type payments.ValidatedRequestedInfo +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: payments.ValidatedRequestedInfo +[Back to types index](index.md) + + + +### Possible values (constructors): + +[payments.validatedRequestedInfo](../constructors/payments.validatedRequestedInfo.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->payments->validateRequestedInfo](../methods/payments.validateRequestedInfo.md) + + + diff --git a/old_docs/API_docs_v82/types/payments_PaymentForm.md b/old_docs/API_docs_v82/types/payments_PaymentForm.md deleted file mode 100644 index 4662586d..00000000 --- a/old_docs/API_docs_v82/types/payments_PaymentForm.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: payments_PaymentForm -description: constructors and methods of type payments_PaymentForm -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: payments\_PaymentForm -[Back to types index](index.md) - - - -### Possible values (constructors): - -[payments\_paymentForm](../constructors/payments_paymentForm.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->payments->getPaymentForm](../methods/payments_getPaymentForm.md) - - - diff --git a/old_docs/API_docs_v82/types/payments_PaymentReceipt.md b/old_docs/API_docs_v82/types/payments_PaymentReceipt.md deleted file mode 100644 index b4770d2a..00000000 --- a/old_docs/API_docs_v82/types/payments_PaymentReceipt.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: payments_PaymentReceipt -description: constructors and methods of type payments_PaymentReceipt -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: payments\_PaymentReceipt -[Back to types index](index.md) - - - -### Possible values (constructors): - -[payments\_paymentReceipt](../constructors/payments_paymentReceipt.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->payments->getPaymentReceipt](../methods/payments_getPaymentReceipt.md) - - - diff --git a/old_docs/API_docs_v82/types/payments_PaymentResult.md b/old_docs/API_docs_v82/types/payments_PaymentResult.md deleted file mode 100644 index 3c0ad411..00000000 --- a/old_docs/API_docs_v82/types/payments_PaymentResult.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: payments_PaymentResult -description: constructors and methods of type payments_PaymentResult -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: payments\_PaymentResult -[Back to types index](index.md) - - - -### Possible values (constructors): - -[payments\_paymentResult](../constructors/payments_paymentResult.md) - -[payments\_paymentVerficationNeeded](../constructors/payments_paymentVerficationNeeded.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->payments->sendPaymentForm](../methods/payments_sendPaymentForm.md) - - - diff --git a/old_docs/API_docs_v82/types/payments_SavedInfo.md b/old_docs/API_docs_v82/types/payments_SavedInfo.md deleted file mode 100644 index c8f7b9e3..00000000 --- a/old_docs/API_docs_v82/types/payments_SavedInfo.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: payments_SavedInfo -description: constructors and methods of type payments_SavedInfo -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: payments\_SavedInfo -[Back to types index](index.md) - - - -### Possible values (constructors): - -[payments\_savedInfo](../constructors/payments_savedInfo.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->payments->getSavedInfo](../methods/payments_getSavedInfo.md) - - - diff --git a/old_docs/API_docs_v82/types/payments_ValidatedRequestedInfo.md b/old_docs/API_docs_v82/types/payments_ValidatedRequestedInfo.md deleted file mode 100644 index ff6c4e39..00000000 --- a/old_docs/API_docs_v82/types/payments_ValidatedRequestedInfo.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: payments_ValidatedRequestedInfo -description: constructors and methods of type payments_ValidatedRequestedInfo -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: payments\_ValidatedRequestedInfo -[Back to types index](index.md) - - - -### Possible values (constructors): - -[payments\_validatedRequestedInfo](../constructors/payments_validatedRequestedInfo.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->payments->validateRequestedInfo](../methods/payments_validateRequestedInfo.md) - - - diff --git a/old_docs/API_docs_v82/types/phone.PhoneCall.md b/old_docs/API_docs_v82/types/phone.PhoneCall.md new file mode 100644 index 00000000..db0708e9 --- /dev/null +++ b/old_docs/API_docs_v82/types/phone.PhoneCall.md @@ -0,0 +1,26 @@ +--- +title: phone.PhoneCall +description: constructors and methods of type phone.PhoneCall +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: phone.PhoneCall +[Back to types index](index.md) + + + +### Possible values (constructors): + +[phone.phoneCall](../constructors/phone.phoneCall.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->phone->requestCall](../methods/phone.requestCall.md) + +[$MadelineProto->phone->acceptCall](../methods/phone.acceptCall.md) + +[$MadelineProto->phone->confirmCall](../methods/phone.confirmCall.md) + + + diff --git a/old_docs/API_docs_v82/types/phone_PhoneCall.md b/old_docs/API_docs_v82/types/phone_PhoneCall.md deleted file mode 100644 index 0a49d482..00000000 --- a/old_docs/API_docs_v82/types/phone_PhoneCall.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: phone_PhoneCall -description: constructors and methods of type phone_PhoneCall -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: phone\_PhoneCall -[Back to types index](index.md) - - - -### Possible values (constructors): - -[phone\_phoneCall](../constructors/phone_phoneCall.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->phone->requestCall](../methods/phone_requestCall.md) - -[$MadelineProto->phone->acceptCall](../methods/phone_acceptCall.md) - -[$MadelineProto->phone->confirmCall](../methods/phone_confirmCall.md) - - - diff --git a/old_docs/API_docs_v82/types/photos.Photo.md b/old_docs/API_docs_v82/types/photos.Photo.md new file mode 100644 index 00000000..d60f203c --- /dev/null +++ b/old_docs/API_docs_v82/types/photos.Photo.md @@ -0,0 +1,22 @@ +--- +title: photos.Photo +description: constructors and methods of type photos.Photo +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: photos.Photo +[Back to types index](index.md) + + + +### Possible values (constructors): + +[photos.photo](../constructors/photos.photo.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->photos->uploadProfilePhoto](../methods/photos.uploadProfilePhoto.md) + + + diff --git a/old_docs/API_docs_v82/types/photos.Photos.md b/old_docs/API_docs_v82/types/photos.Photos.md new file mode 100644 index 00000000..fff0e296 --- /dev/null +++ b/old_docs/API_docs_v82/types/photos.Photos.md @@ -0,0 +1,24 @@ +--- +title: photos.Photos +description: constructors and methods of type photos.Photos +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: photos.Photos +[Back to types index](index.md) + + + +### Possible values (constructors): + +[photos.photos](../constructors/photos.photos.md) + +[photos.photosSlice](../constructors/photos.photosSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->photos->getUserPhotos](../methods/photos.getUserPhotos.md) + + + diff --git a/old_docs/API_docs_v82/types/photos_Photo.md b/old_docs/API_docs_v82/types/photos_Photo.md deleted file mode 100644 index d11bbdef..00000000 --- a/old_docs/API_docs_v82/types/photos_Photo.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: photos_Photo -description: constructors and methods of type photos_Photo -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: photos\_Photo -[Back to types index](index.md) - - - -### Possible values (constructors): - -[photos\_photo](../constructors/photos_photo.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->photos->uploadProfilePhoto](../methods/photos_uploadProfilePhoto.md) - - - diff --git a/old_docs/API_docs_v82/types/photos_Photos.md b/old_docs/API_docs_v82/types/photos_Photos.md deleted file mode 100644 index 9875ad70..00000000 --- a/old_docs/API_docs_v82/types/photos_Photos.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: photos_Photos -description: constructors and methods of type photos_Photos -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: photos\_Photos -[Back to types index](index.md) - - - -### Possible values (constructors): - -[photos\_photos](../constructors/photos_photos.md) - -[photos\_photosSlice](../constructors/photos_photosSlice.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->photos->getUserPhotos](../methods/photos_getUserPhotos.md) - - - diff --git a/old_docs/API_docs_v82/types/storage.FileType.md b/old_docs/API_docs_v82/types/storage.FileType.md new file mode 100644 index 00000000..32f1bb72 --- /dev/null +++ b/old_docs/API_docs_v82/types/storage.FileType.md @@ -0,0 +1,38 @@ +--- +title: storage.FileType +description: constructors and methods of type storage.FileType +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: storage.FileType +[Back to types index](index.md) + + + +### Possible values (constructors): + +[storage.fileUnknown](../constructors/storage.fileUnknown.md) + +[storage.filePartial](../constructors/storage.filePartial.md) + +[storage.fileJpeg](../constructors/storage.fileJpeg.md) + +[storage.fileGif](../constructors/storage.fileGif.md) + +[storage.filePng](../constructors/storage.filePng.md) + +[storage.filePdf](../constructors/storage.filePdf.md) + +[storage.fileMp3](../constructors/storage.fileMp3.md) + +[storage.fileMov](../constructors/storage.fileMov.md) + +[storage.fileMp4](../constructors/storage.fileMp4.md) + +[storage.fileWebp](../constructors/storage.fileWebp.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v82/types/storage_FileType.md b/old_docs/API_docs_v82/types/storage_FileType.md deleted file mode 100644 index 22118805..00000000 --- a/old_docs/API_docs_v82/types/storage_FileType.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: storage_FileType -description: constructors and methods of type storage_FileType -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: storage\_FileType -[Back to types index](index.md) - - - -### Possible values (constructors): - -[storage\_fileUnknown](../constructors/storage_fileUnknown.md) - -[storage\_filePartial](../constructors/storage_filePartial.md) - -[storage\_fileJpeg](../constructors/storage_fileJpeg.md) - -[storage\_fileGif](../constructors/storage_fileGif.md) - -[storage\_filePng](../constructors/storage_filePng.md) - -[storage\_filePdf](../constructors/storage_filePdf.md) - -[storage\_fileMp3](../constructors/storage_fileMp3.md) - -[storage\_fileMov](../constructors/storage_fileMov.md) - -[storage\_fileMp4](../constructors/storage_fileMp4.md) - -[storage\_fileWebp](../constructors/storage_fileWebp.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v82/types/updates.ChannelDifference.md b/old_docs/API_docs_v82/types/updates.ChannelDifference.md new file mode 100644 index 00000000..ac889a1e --- /dev/null +++ b/old_docs/API_docs_v82/types/updates.ChannelDifference.md @@ -0,0 +1,26 @@ +--- +title: updates.ChannelDifference +description: constructors and methods of type updates.ChannelDifference +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: updates.ChannelDifference +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updates.channelDifferenceEmpty](../constructors/updates.channelDifferenceEmpty.md) + +[updates.channelDifferenceTooLong](../constructors/updates.channelDifferenceTooLong.md) + +[updates.channelDifference](../constructors/updates.channelDifference.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->updates->getChannelDifference](../methods/updates.getChannelDifference.md) + + + diff --git a/old_docs/API_docs_v82/types/updates.Difference.md b/old_docs/API_docs_v82/types/updates.Difference.md new file mode 100644 index 00000000..0c1a1b6e --- /dev/null +++ b/old_docs/API_docs_v82/types/updates.Difference.md @@ -0,0 +1,28 @@ +--- +title: updates.Difference +description: constructors and methods of type updates.Difference +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: updates.Difference +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updates.differenceEmpty](../constructors/updates.differenceEmpty.md) + +[updates.difference](../constructors/updates.difference.md) + +[updates.differenceSlice](../constructors/updates.differenceSlice.md) + +[updates.differenceTooLong](../constructors/updates.differenceTooLong.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->updates->getDifference](../methods/updates.getDifference.md) + + + diff --git a/old_docs/API_docs_v82/types/updates.State.md b/old_docs/API_docs_v82/types/updates.State.md new file mode 100644 index 00000000..49bbb7fd --- /dev/null +++ b/old_docs/API_docs_v82/types/updates.State.md @@ -0,0 +1,22 @@ +--- +title: updates.State +description: constructors and methods of type updates.State +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: updates.State +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updates.state](../constructors/updates.state.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->updates->getState](../methods/updates.getState.md) + + + diff --git a/old_docs/API_docs_v82/types/updates_ChannelDifference.md b/old_docs/API_docs_v82/types/updates_ChannelDifference.md deleted file mode 100644 index dc988692..00000000 --- a/old_docs/API_docs_v82/types/updates_ChannelDifference.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: updates_ChannelDifference -description: constructors and methods of type updates_ChannelDifference -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: updates\_ChannelDifference -[Back to types index](index.md) - - - -### Possible values (constructors): - -[updates\_channelDifferenceEmpty](../constructors/updates_channelDifferenceEmpty.md) - -[updates\_channelDifferenceTooLong](../constructors/updates_channelDifferenceTooLong.md) - -[updates\_channelDifference](../constructors/updates_channelDifference.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->updates->getChannelDifference](../methods/updates_getChannelDifference.md) - - - diff --git a/old_docs/API_docs_v82/types/updates_Difference.md b/old_docs/API_docs_v82/types/updates_Difference.md deleted file mode 100644 index 50bb098e..00000000 --- a/old_docs/API_docs_v82/types/updates_Difference.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: updates_Difference -description: constructors and methods of type updates_Difference -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: updates\_Difference -[Back to types index](index.md) - - - -### Possible values (constructors): - -[updates\_differenceEmpty](../constructors/updates_differenceEmpty.md) - -[updates\_difference](../constructors/updates_difference.md) - -[updates\_differenceSlice](../constructors/updates_differenceSlice.md) - -[updates\_differenceTooLong](../constructors/updates_differenceTooLong.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->updates->getDifference](../methods/updates_getDifference.md) - - - diff --git a/old_docs/API_docs_v82/types/updates_State.md b/old_docs/API_docs_v82/types/updates_State.md deleted file mode 100644 index 7a441145..00000000 --- a/old_docs/API_docs_v82/types/updates_State.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: updates_State -description: constructors and methods of type updates_State -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: updates\_State -[Back to types index](index.md) - - - -### Possible values (constructors): - -[updates\_state](../constructors/updates_state.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->updates->getState](../methods/updates_getState.md) - - - diff --git a/old_docs/API_docs_v82/types/upload.CdnFile.md b/old_docs/API_docs_v82/types/upload.CdnFile.md new file mode 100644 index 00000000..396c4bf4 --- /dev/null +++ b/old_docs/API_docs_v82/types/upload.CdnFile.md @@ -0,0 +1,24 @@ +--- +title: upload.CdnFile +description: constructors and methods of type upload.CdnFile +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: upload.CdnFile +[Back to types index](index.md) + + + +### Possible values (constructors): + +[upload.cdnFileReuploadNeeded](../constructors/upload.cdnFileReuploadNeeded.md) + +[upload.cdnFile](../constructors/upload.cdnFile.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->upload->getCdnFile](../methods/upload.getCdnFile.md) + + + diff --git a/old_docs/API_docs_v82/types/upload.File.md b/old_docs/API_docs_v82/types/upload.File.md new file mode 100644 index 00000000..6963341b --- /dev/null +++ b/old_docs/API_docs_v82/types/upload.File.md @@ -0,0 +1,24 @@ +--- +title: upload.File +description: constructors and methods of type upload.File +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: upload.File +[Back to types index](index.md) + + + +### Possible values (constructors): + +[upload.file](../constructors/upload.file.md) + +[upload.fileCdnRedirect](../constructors/upload.fileCdnRedirect.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->upload->getFile](../methods/upload.getFile.md) + + + diff --git a/old_docs/API_docs_v82/types/upload.WebFile.md b/old_docs/API_docs_v82/types/upload.WebFile.md new file mode 100644 index 00000000..e834457b --- /dev/null +++ b/old_docs/API_docs_v82/types/upload.WebFile.md @@ -0,0 +1,22 @@ +--- +title: upload.WebFile +description: constructors and methods of type upload.WebFile +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: upload.WebFile +[Back to types index](index.md) + + + +### Possible values (constructors): + +[upload.webFile](../constructors/upload.webFile.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->upload->getWebFile](../methods/upload.getWebFile.md) + + + diff --git a/old_docs/API_docs_v82/types/upload_CdnFile.md b/old_docs/API_docs_v82/types/upload_CdnFile.md deleted file mode 100644 index 51ae2e68..00000000 --- a/old_docs/API_docs_v82/types/upload_CdnFile.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: upload_CdnFile -description: constructors and methods of type upload_CdnFile -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: upload\_CdnFile -[Back to types index](index.md) - - - -### Possible values (constructors): - -[upload\_cdnFileReuploadNeeded](../constructors/upload_cdnFileReuploadNeeded.md) - -[upload\_cdnFile](../constructors/upload_cdnFile.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->upload->getCdnFile](../methods/upload_getCdnFile.md) - - - diff --git a/old_docs/API_docs_v82/types/upload_File.md b/old_docs/API_docs_v82/types/upload_File.md deleted file mode 100644 index 00e0f9cb..00000000 --- a/old_docs/API_docs_v82/types/upload_File.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: upload_File -description: constructors and methods of type upload_File -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: upload\_File -[Back to types index](index.md) - - - -### Possible values (constructors): - -[upload\_file](../constructors/upload_file.md) - -[upload\_fileCdnRedirect](../constructors/upload_fileCdnRedirect.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->upload->getFile](../methods/upload_getFile.md) - - - diff --git a/old_docs/API_docs_v82/types/upload_WebFile.md b/old_docs/API_docs_v82/types/upload_WebFile.md deleted file mode 100644 index 9a86264f..00000000 --- a/old_docs/API_docs_v82/types/upload_WebFile.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: upload_WebFile -description: constructors and methods of type upload_WebFile -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: upload\_WebFile -[Back to types index](index.md) - - - -### Possible values (constructors): - -[upload\_webFile](../constructors/upload_webFile.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->upload->getWebFile](../methods/upload_getWebFile.md) - - - diff --git a/old_docs/API_docs_v86/constructors/README.md b/old_docs/API_docs_v86/constructors/README.md index 635732f1..9269643f 100644 --- a/old_docs/API_docs_v86/constructors/README.md +++ b/old_docs/API_docs_v86/constructors/README.md @@ -9,54 +9,74 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ***

[$accessPointRule](../constructors/accessPointRule.md) = \['phone_prefix_rules' => [string](../types/string.md), 'dc_id' => [int](../types/int.md), 'ips' => \[[IpPort](../types/IpPort.md)\], \]; +*** +

[$account.authorizationForm](../constructors/account.authorizationForm.md) = \['required_types' => \[[SecureRequiredType](../types/SecureRequiredType.md)\], 'values' => \[[SecureValue](../types/SecureValue.md)\], 'errors' => \[[SecureValueError](../types/SecureValueError.md)\], 'users' => \[[User](../types/User.md)\], 'privacy_policy_url' => [string](../types/string.md), \]; + +*** +

[$account.authorizations](../constructors/account.authorizations.md) = \['authorizations' => \[[Authorization](../types/Authorization.md)\], \]; + +*** +

[$account.password](../constructors/account.password.md) = \['has_recovery' => [Bool](../types/Bool.md), 'has_secure_values' => [Bool](../types/Bool.md), 'has_password' => [Bool](../types/Bool.md), 'current_algo' => [PasswordKdfAlgo](../types/PasswordKdfAlgo.md), 'srp_B' => [bytes](../types/bytes.md), 'srp_id' => [long](../types/long.md), 'hint' => [string](../types/string.md), 'email_unconfirmed_pattern' => [string](../types/string.md), 'new_algo' => [PasswordKdfAlgo](../types/PasswordKdfAlgo.md), 'new_secure_algo' => [SecurePasswordKdfAlgo](../types/SecurePasswordKdfAlgo.md), 'secure_random' => [bytes](../types/bytes.md), \]; + +*** +

[$account.passwordInputSettings](../constructors/account.passwordInputSettings.md) = \['new_algo' => [PasswordKdfAlgo](../types/PasswordKdfAlgo.md), 'new_password_hash' => [bytes](../types/bytes.md), 'hint' => [string](../types/string.md), 'email' => [string](../types/string.md), 'new_secure_settings' => [SecureSecretSettings](../types/SecureSecretSettings.md), \]; + +*** +

[$account.passwordSettings](../constructors/account.passwordSettings.md) = \['email' => [string](../types/string.md), 'secure_settings' => [SecureSecretSettings](../types/SecureSecretSettings.md), \]; + +*** +

[$account.privacyRules](../constructors/account.privacyRules.md) = \['rules' => \[[PrivacyRule](../types/PrivacyRule.md)\], 'users' => \[[User](../types/User.md)\], \]; + +*** +

[$account.sentEmailCode](../constructors/account.sentEmailCode.md) = \['email_pattern' => [string](../types/string.md), 'length' => [int](../types/int.md), \]; + +*** +

[$account.takeout](../constructors/account.takeout.md) = \['id' => [long](../types/long.md), \]; + +*** +

[$account.tmpPassword](../constructors/account.tmpPassword.md) = \['tmp_password' => [bytes](../types/bytes.md), 'valid_until' => [int](../types/int.md), \]; + +*** +

[$account.webAuthorizations](../constructors/account.webAuthorizations.md) = \['authorizations' => \[[WebAuthorization](../types/WebAuthorization.md)\], 'users' => \[[User](../types/User.md)\], \]; + ***

[$accountDaysTTL](../constructors/accountDaysTTL.md) = \['days' => [int](../types/int.md), \]; *** -

[$account\_authorizationForm](../constructors/account_authorizationForm.md) = \['required_types' => \[[SecureRequiredType](../types/SecureRequiredType.md)\], 'values' => \[[SecureValue](../types/SecureValue.md)\], 'errors' => \[[SecureValueError](../types/SecureValueError.md)\], 'users' => \[[User](../types/User.md)\], 'privacy_policy_url' => [string](../types/string.md), \]; - -[$account\_authorizations](../constructors/account_authorizations.md) = \['authorizations' => \[[Authorization](../types/Authorization.md)\], \]; - -[$account\_password](../constructors/account_password.md) = \['has_recovery' => [Bool](../types/Bool.md), 'has_secure_values' => [Bool](../types/Bool.md), 'has_password' => [Bool](../types/Bool.md), 'current_algo' => [PasswordKdfAlgo](../types/PasswordKdfAlgo.md), 'srp_B' => [bytes](../types/bytes.md), 'srp_id' => [long](../types/long.md), 'hint' => [string](../types/string.md), 'email_unconfirmed_pattern' => [string](../types/string.md), 'new_algo' => [PasswordKdfAlgo](../types/PasswordKdfAlgo.md), 'new_secure_algo' => [SecurePasswordKdfAlgo](../types/SecurePasswordKdfAlgo.md), 'secure_random' => [bytes](../types/bytes.md), \]; - -[$account\_passwordInputSettings](../constructors/account_passwordInputSettings.md) = \['new_algo' => [PasswordKdfAlgo](../types/PasswordKdfAlgo.md), 'new_password_hash' => [bytes](../types/bytes.md), 'hint' => [string](../types/string.md), 'email' => [string](../types/string.md), 'new_secure_settings' => [SecureSecretSettings](../types/SecureSecretSettings.md), \]; - -[$account\_passwordSettings](../constructors/account_passwordSettings.md) = \['email' => [string](../types/string.md), 'secure_settings' => [SecureSecretSettings](../types/SecureSecretSettings.md), \]; - -[$account\_privacyRules](../constructors/account_privacyRules.md) = \['rules' => \[[PrivacyRule](../types/PrivacyRule.md)\], 'users' => \[[User](../types/User.md)\], \]; - -[$account\_sentEmailCode](../constructors/account_sentEmailCode.md) = \['email_pattern' => [string](../types/string.md), 'length' => [int](../types/int.md), \]; - -[$account\_takeout](../constructors/account_takeout.md) = \['id' => [long](../types/long.md), \]; - -[$account\_tmpPassword](../constructors/account_tmpPassword.md) = \['tmp_password' => [bytes](../types/bytes.md), 'valid_until' => [int](../types/int.md), \]; - -[$account\_webAuthorizations](../constructors/account_webAuthorizations.md) = \['authorizations' => \[[WebAuthorization](../types/WebAuthorization.md)\], 'users' => \[[User](../types/User.md)\], \]; +

[$auth.authorization](../constructors/auth.authorization.md) = \['tmp_sessions' => [int](../types/int.md), 'user' => [User](../types/User.md), \]; *** -

[$auth\_authorization](../constructors/auth_authorization.md) = \['tmp_sessions' => [int](../types/int.md), 'user' => [User](../types/User.md), \]; +

[$auth.checkedPhone](../constructors/auth.checkedPhone.md) = \['phone_registered' => [Bool](../types/Bool.md), \]; -[$auth\_checkedPhone](../constructors/auth_checkedPhone.md) = \['phone_registered' => [Bool](../types/Bool.md), \]; +*** +

[$auth.codeTypeCall](../constructors/auth.codeTypeCall.md) = \[\]; -[$auth\_codeTypeCall](../constructors/auth_codeTypeCall.md) = \[\]; +*** +

[$auth.codeTypeFlashCall](../constructors/auth.codeTypeFlashCall.md) = \[\]; -[$auth\_codeTypeFlashCall](../constructors/auth_codeTypeFlashCall.md) = \[\]; +*** +

[$auth.codeTypeSms](../constructors/auth.codeTypeSms.md) = \[\]; -[$auth\_codeTypeSms](../constructors/auth_codeTypeSms.md) = \[\]; +*** +

[$auth.exportedAuthorization](../constructors/auth.exportedAuthorization.md) = \['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; -[$auth\_exportedAuthorization](../constructors/auth_exportedAuthorization.md) = \['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; +*** +

[$auth.passwordRecovery](../constructors/auth.passwordRecovery.md) = \['email_pattern' => [string](../types/string.md), \]; -[$auth\_passwordRecovery](../constructors/auth_passwordRecovery.md) = \['email_pattern' => [string](../types/string.md), \]; +*** +

[$auth.sentCode](../constructors/auth.sentCode.md) = \['phone_registered' => [Bool](../types/Bool.md), 'type' => [auth.SentCodeType](../types/auth.SentCodeType.md), 'phone_code_hash' => [string](../types/string.md), 'next_type' => [auth.CodeType](../types/auth.CodeType.md), 'timeout' => [int](../types/int.md), 'terms_of_service' => [help.TermsOfService](../types/help.TermsOfService.md), \]; -[$auth\_sentCode](../constructors/auth_sentCode.md) = \['phone_registered' => [Bool](../types/Bool.md), 'type' => [auth.SentCodeType](../types/auth.SentCodeType.md), 'phone_code_hash' => [string](../types/string.md), 'next_type' => [auth.CodeType](../types/auth.CodeType.md), 'timeout' => [int](../types/int.md), 'terms_of_service' => [help.TermsOfService](../types/help.TermsOfService.md), \]; +*** +

[$auth.sentCodeTypeApp](../constructors/auth.sentCodeTypeApp.md) = \['length' => [int](../types/int.md), \]; -[$auth\_sentCodeTypeApp](../constructors/auth_sentCodeTypeApp.md) = \['length' => [int](../types/int.md), \]; +*** +

[$auth.sentCodeTypeCall](../constructors/auth.sentCodeTypeCall.md) = \['length' => [int](../types/int.md), \]; -[$auth\_sentCodeTypeCall](../constructors/auth_sentCodeTypeCall.md) = \['length' => [int](../types/int.md), \]; +*** +

[$auth.sentCodeTypeFlashCall](../constructors/auth.sentCodeTypeFlashCall.md) = \['pattern' => [string](../types/string.md), \]; -[$auth\_sentCodeTypeFlashCall](../constructors/auth_sentCodeTypeFlashCall.md) = \['pattern' => [string](../types/string.md), \]; - -[$auth\_sentCodeTypeSms](../constructors/auth_sentCodeTypeSms.md) = \['length' => [int](../types/int.md), \]; +*** +

[$auth.sentCodeTypeSms](../constructors/auth.sentCodeTypeSms.md) = \['length' => [int](../types/int.md), \]; ***

[$authorization](../constructors/authorization.md) = \['hash' => [long](../types/long.md), 'device_model' => [string](../types/string.md), 'platform' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'api_id' => [int](../types/int.md), 'app_name' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'date_created' => [int](../types/int.md), 'date_active' => [int](../types/int.md), 'ip' => [string](../types/string.md), 'country' => [string](../types/string.md), 'region' => [string](../types/string.md), \]; @@ -209,13 +229,16 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$channelParticipantsSearch](../constructors/channelParticipantsSearch.md) = \['q' => [string](../types/string.md), \]; *** -

[$channels\_adminLogResults](../constructors/channels_adminLogResults.md) = \['events' => \[[ChannelAdminLogEvent](../types/ChannelAdminLogEvent.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +

[$channels.adminLogResults](../constructors/channels.adminLogResults.md) = \['events' => \[[ChannelAdminLogEvent](../types/ChannelAdminLogEvent.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$channels\_channelParticipant](../constructors/channels_channelParticipant.md) = \['participant' => [ChannelParticipant](../types/ChannelParticipant.md), 'users' => \[[User](../types/User.md)\], \]; +*** +

[$channels.channelParticipant](../constructors/channels.channelParticipant.md) = \['participant' => [ChannelParticipant](../types/ChannelParticipant.md), 'users' => \[[User](../types/User.md)\], \]; -[$channels\_channelParticipants](../constructors/channels_channelParticipants.md) = \['count' => [int](../types/int.md), 'participants' => \[[ChannelParticipant](../types/ChannelParticipant.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$channels.channelParticipants](../constructors/channels.channelParticipants.md) = \['count' => [int](../types/int.md), 'participants' => \[[ChannelParticipant](../types/ChannelParticipant.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$channels\_channelParticipantsNotModified](../constructors/channels_channelParticipantsNotModified.md) = \[\]; +*** +

[$channels.channelParticipantsNotModified](../constructors/channels.channelParticipantsNotModified.md) = \[\]; ***

[$chat](../constructors/chat.md) = \['creator' => [Bool](../types/Bool.md), 'kicked' => [Bool](../types/Bool.md), 'left' => [Bool](../types/Bool.md), 'admins_enabled' => [Bool](../types/Bool.md), 'admin' => [Bool](../types/Bool.md), 'deactivated' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'title' => [string](../types/string.md), 'photo' => [ChatPhoto](../types/ChatPhoto.md), 'participants_count' => [int](../types/int.md), 'date' => [int](../types/int.md), 'version' => [int](../types/int.md), 'migrated_to' => [InputChannel](../types/InputChannel.md), \]; @@ -287,27 +310,37 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$contactStatus](../constructors/contactStatus.md) = \['user_id' => [int](../types/int.md), 'status' => [UserStatus](../types/UserStatus.md), \]; *** -

[$contacts\_blocked](../constructors/contacts_blocked.md) = \['blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; +

[$contacts.blocked](../constructors/contacts.blocked.md) = \['blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_blockedSlice](../constructors/contacts_blockedSlice.md) = \['count' => [int](../types/int.md), 'blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.blockedSlice](../constructors/contacts.blockedSlice.md) = \['count' => [int](../types/int.md), 'blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_contacts](../constructors/contacts_contacts.md) = \['contacts' => \[[Contact](../types/Contact.md)\], 'saved_count' => [int](../types/int.md), 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.contacts](../constructors/contacts.contacts.md) = \['contacts' => \[[Contact](../types/Contact.md)\], 'saved_count' => [int](../types/int.md), 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_contactsNotModified](../constructors/contacts_contactsNotModified.md) = \[\]; +*** +

[$contacts.contactsNotModified](../constructors/contacts.contactsNotModified.md) = \[\]; -[$contacts\_found](../constructors/contacts_found.md) = \['my_results' => \[[Peer](../types/Peer.md)\], 'results' => \[[Peer](../types/Peer.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.found](../constructors/contacts.found.md) = \['my_results' => \[[Peer](../types/Peer.md)\], 'results' => \[[Peer](../types/Peer.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_importedContacts](../constructors/contacts_importedContacts.md) = \['imported' => \[[ImportedContact](../types/ImportedContact.md)\], 'popular_invites' => \[[PopularContact](../types/PopularContact.md)\], 'retry_contacts' => \[[long](../types/long.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.importedContacts](../constructors/contacts.importedContacts.md) = \['imported' => \[[ImportedContact](../types/ImportedContact.md)\], 'popular_invites' => \[[PopularContact](../types/PopularContact.md)\], 'retry_contacts' => \[[long](../types/long.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_link](../constructors/contacts_link.md) = \['my_link' => [ContactLink](../types/ContactLink.md), 'foreign_link' => [ContactLink](../types/ContactLink.md), 'user' => [User](../types/User.md), \]; +*** +

[$contacts.link](../constructors/contacts.link.md) = \['my_link' => [ContactLink](../types/ContactLink.md), 'foreign_link' => [ContactLink](../types/ContactLink.md), 'user' => [User](../types/User.md), \]; -[$contacts\_resolvedPeer](../constructors/contacts_resolvedPeer.md) = \['peer' => [Peer](../types/Peer.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.resolvedPeer](../constructors/contacts.resolvedPeer.md) = \['peer' => [Peer](../types/Peer.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_topPeers](../constructors/contacts_topPeers.md) = \['categories' => \[[TopPeerCategoryPeers](../types/TopPeerCategoryPeers.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.topPeers](../constructors/contacts.topPeers.md) = \['categories' => \[[TopPeerCategoryPeers](../types/TopPeerCategoryPeers.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_topPeersDisabled](../constructors/contacts_topPeersDisabled.md) = \[\]; +*** +

[$contacts.topPeersDisabled](../constructors/contacts.topPeersDisabled.md) = \[\]; -[$contacts\_topPeersNotModified](../constructors/contacts_topPeersNotModified.md) = \[\]; +*** +

[$contacts.topPeersNotModified](../constructors/contacts.topPeersNotModified.md) = \[\]; ***

[$dataJSON](../constructors/dataJSON.md) = \['data' => [string](../types/string.md), \]; @@ -412,35 +445,49 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$geoPointEmpty](../constructors/geoPointEmpty.md) = \[\]; *** -

[$help\_appUpdate](../constructors/help_appUpdate.md) = \['popup' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'version' => [string](../types/string.md), 'text' => [string](../types/string.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], 'document' => [Document](../types/Document.md), 'url' => [string](../types/string.md), \]; +

[$help.appUpdate](../constructors/help.appUpdate.md) = \['popup' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'version' => [string](../types/string.md), 'text' => [string](../types/string.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], 'document' => [Document](../types/Document.md), 'url' => [string](../types/string.md), \]; -[$help\_configSimple](../constructors/help_configSimple.md) = \['date' => [int](../types/int.md), 'expires' => [int](../types/int.md), 'rules' => \[[AccessPointRule](../types/AccessPointRule.md)\], \]; +*** +

[$help.configSimple](../constructors/help.configSimple.md) = \['date' => [int](../types/int.md), 'expires' => [int](../types/int.md), 'rules' => \[[AccessPointRule](../types/AccessPointRule.md)\], \]; -[$help\_deepLinkInfo](../constructors/help_deepLinkInfo.md) = \['update_app' => [Bool](../types/Bool.md), 'message' => [string](../types/string.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], \]; +*** +

[$help.deepLinkInfo](../constructors/help.deepLinkInfo.md) = \['update_app' => [Bool](../types/Bool.md), 'message' => [string](../types/string.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], \]; -[$help\_deepLinkInfoEmpty](../constructors/help_deepLinkInfoEmpty.md) = \[\]; +*** +

[$help.deepLinkInfoEmpty](../constructors/help.deepLinkInfoEmpty.md) = \[\]; -[$help\_inviteText](../constructors/help_inviteText.md) = \['message' => [string](../types/string.md), \]; +*** +

[$help.inviteText](../constructors/help.inviteText.md) = \['message' => [string](../types/string.md), \]; -[$help\_noAppUpdate](../constructors/help_noAppUpdate.md) = \[\]; +*** +

[$help.noAppUpdate](../constructors/help.noAppUpdate.md) = \[\]; -[$help\_passportConfig](../constructors/help_passportConfig.md) = \['hash' => [int](../types/int.md), 'countries_langs' => [DataJSON](../types/DataJSON.md), \]; +*** +

[$help.passportConfig](../constructors/help.passportConfig.md) = \['hash' => [int](../types/int.md), 'countries_langs' => [DataJSON](../types/DataJSON.md), \]; -[$help\_passportConfigNotModified](../constructors/help_passportConfigNotModified.md) = \[\]; +*** +

[$help.passportConfigNotModified](../constructors/help.passportConfigNotModified.md) = \[\]; -[$help\_proxyDataEmpty](../constructors/help_proxyDataEmpty.md) = \['expires' => [int](../types/int.md), \]; +*** +

[$help.proxyDataEmpty](../constructors/help.proxyDataEmpty.md) = \['expires' => [int](../types/int.md), \]; -[$help\_proxyDataPromo](../constructors/help_proxyDataPromo.md) = \['expires' => [int](../types/int.md), 'peer' => [Peer](../types/Peer.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$help.proxyDataPromo](../constructors/help.proxyDataPromo.md) = \['expires' => [int](../types/int.md), 'peer' => [Peer](../types/Peer.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$help\_recentMeUrls](../constructors/help_recentMeUrls.md) = \['urls' => \[[RecentMeUrl](../types/RecentMeUrl.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$help.recentMeUrls](../constructors/help.recentMeUrls.md) = \['urls' => \[[RecentMeUrl](../types/RecentMeUrl.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$help\_support](../constructors/help_support.md) = \['phone_number' => [string](../types/string.md), 'user' => [User](../types/User.md), \]; +*** +

[$help.support](../constructors/help.support.md) = \['phone_number' => [string](../types/string.md), 'user' => [User](../types/User.md), \]; -[$help\_termsOfService](../constructors/help_termsOfService.md) = \['popup' => [Bool](../types/Bool.md), 'id' => [DataJSON](../types/DataJSON.md), 'text' => [string](../types/string.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], 'min_age_confirm' => [int](../types/int.md), \]; +*** +

[$help.termsOfService](../constructors/help.termsOfService.md) = \['popup' => [Bool](../types/Bool.md), 'id' => [DataJSON](../types/DataJSON.md), 'text' => [string](../types/string.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], 'min_age_confirm' => [int](../types/int.md), \]; -[$help\_termsOfServiceUpdate](../constructors/help_termsOfServiceUpdate.md) = \['expires' => [int](../types/int.md), 'terms_of_service' => [help.TermsOfService](../types/help.TermsOfService.md), \]; +*** +

[$help.termsOfServiceUpdate](../constructors/help.termsOfServiceUpdate.md) = \['expires' => [int](../types/int.md), 'terms_of_service' => [help.TermsOfService](../types/help.TermsOfService.md), \]; -[$help\_termsOfServiceUpdateEmpty](../constructors/help_termsOfServiceUpdateEmpty.md) = \['expires' => [int](../types/int.md), \]; +*** +

[$help.termsOfServiceUpdateEmpty](../constructors/help.termsOfServiceUpdateEmpty.md) = \['expires' => [int](../types/int.md), \]; ***

[$highScore](../constructors/highScore.md) = \['pos' => [int](../types/int.md), 'user_id' => [int](../types/int.md), 'score' => [int](../types/int.md), \]; @@ -1025,85 +1072,124 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$messageService](../constructors/messageService.md) = \['out' => [Bool](../types/Bool.md), 'mentioned' => [Bool](../types/Bool.md), 'media_unread' => [Bool](../types/Bool.md), 'silent' => [Bool](../types/Bool.md), 'post' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'from_id' => [int](../types/int.md), 'to_id' => [Peer](../types/Peer.md), 'reply_to_msg_id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'action' => [MessageAction](../types/MessageAction.md), \]; *** -

[$messages\_affectedHistory](../constructors/messages_affectedHistory.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), 'offset' => [int](../types/int.md), \]; +

[$messages.affectedHistory](../constructors/messages.affectedHistory.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), 'offset' => [int](../types/int.md), \]; -[$messages\_affectedMessages](../constructors/messages_affectedMessages.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; +*** +

[$messages.affectedMessages](../constructors/messages.affectedMessages.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; -[$messages\_allStickers](../constructors/messages_allStickers.md) = \['hash' => [int](../types/int.md), 'sets' => \[[StickerSet](../types/StickerSet.md)\], \]; +*** +

[$messages.allStickers](../constructors/messages.allStickers.md) = \['hash' => [int](../types/int.md), 'sets' => \[[StickerSet](../types/StickerSet.md)\], \]; -[$messages\_allStickersNotModified](../constructors/messages_allStickersNotModified.md) = \[\]; +*** +

[$messages.allStickersNotModified](../constructors/messages.allStickersNotModified.md) = \[\]; -[$messages\_archivedStickers](../constructors/messages_archivedStickers.md) = \['count' => [int](../types/int.md), 'sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], \]; +*** +

[$messages.archivedStickers](../constructors/messages.archivedStickers.md) = \['count' => [int](../types/int.md), 'sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], \]; -[$messages\_botCallbackAnswer](../constructors/messages_botCallbackAnswer.md) = \['alert' => [Bool](../types/Bool.md), 'has_url' => [Bool](../types/Bool.md), 'native_ui' => [Bool](../types/Bool.md), 'message' => [string](../types/string.md), 'url' => [string](../types/string.md), 'cache_time' => [int](../types/int.md), \]; +*** +

[$messages.botCallbackAnswer](../constructors/messages.botCallbackAnswer.md) = \['alert' => [Bool](../types/Bool.md), 'has_url' => [Bool](../types/Bool.md), 'native_ui' => [Bool](../types/Bool.md), 'message' => [string](../types/string.md), 'url' => [string](../types/string.md), 'cache_time' => [int](../types/int.md), \]; -[$messages\_botResults](../constructors/messages_botResults.md) = \['gallery' => [Bool](../types/Bool.md), 'query_id' => [long](../types/long.md), 'next_offset' => [string](../types/string.md), 'switch_pm' => [InlineBotSwitchPM](../types/InlineBotSwitchPM.md), 'results' => \[[BotInlineResult](../types/BotInlineResult.md)\], 'cache_time' => [int](../types/int.md), 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.botResults](../constructors/messages.botResults.md) = \['gallery' => [Bool](../types/Bool.md), 'query_id' => [long](../types/long.md), 'next_offset' => [string](../types/string.md), 'switch_pm' => [InlineBotSwitchPM](../types/InlineBotSwitchPM.md), 'results' => \[[BotInlineResult](../types/BotInlineResult.md)\], 'cache_time' => [int](../types/int.md), 'users' => \[[User](../types/User.md)\], \]; -[$messages\_channelMessages](../constructors/messages_channelMessages.md) = \['pts' => [int](../types/int.md), 'count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.channelMessages](../constructors/messages.channelMessages.md) = \['pts' => [int](../types/int.md), 'count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_chatFull](../constructors/messages_chatFull.md) = \['full_chat' => [ChatFull](../types/ChatFull.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.chatFull](../constructors/messages.chatFull.md) = \['full_chat' => [ChatFull](../types/ChatFull.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_chats](../constructors/messages_chats.md) = \['chats' => \[[Chat](../types/Chat.md)\], \]; +*** +

[$messages.chats](../constructors/messages.chats.md) = \['chats' => \[[Chat](../types/Chat.md)\], \]; -[$messages\_chatsSlice](../constructors/messages_chatsSlice.md) = \['count' => [int](../types/int.md), 'chats' => \[[Chat](../types/Chat.md)\], \]; +*** +

[$messages.chatsSlice](../constructors/messages.chatsSlice.md) = \['count' => [int](../types/int.md), 'chats' => \[[Chat](../types/Chat.md)\], \]; -[$messages\_dhConfig](../constructors/messages_dhConfig.md) = \['g' => [int](../types/int.md), 'p' => [bytes](../types/bytes.md), 'version' => [int](../types/int.md), 'random' => [bytes](../types/bytes.md), \]; +*** +

[$messages.dhConfig](../constructors/messages.dhConfig.md) = \['g' => [int](../types/int.md), 'p' => [bytes](../types/bytes.md), 'version' => [int](../types/int.md), 'random' => [bytes](../types/bytes.md), \]; -[$messages\_dhConfigNotModified](../constructors/messages_dhConfigNotModified.md) = \['random' => [bytes](../types/bytes.md), \]; +*** +

[$messages.dhConfigNotModified](../constructors/messages.dhConfigNotModified.md) = \['random' => [bytes](../types/bytes.md), \]; -[$messages\_dialogs](../constructors/messages_dialogs.md) = \['dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.dialogs](../constructors/messages.dialogs.md) = \['dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_dialogsNotModified](../constructors/messages_dialogsNotModified.md) = \['count' => [int](../types/int.md), \]; +*** +

[$messages.dialogsNotModified](../constructors/messages.dialogsNotModified.md) = \['count' => [int](../types/int.md), \]; -[$messages\_dialogsSlice](../constructors/messages_dialogsSlice.md) = \['count' => [int](../types/int.md), 'dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.dialogsSlice](../constructors/messages.dialogsSlice.md) = \['count' => [int](../types/int.md), 'dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_favedStickers](../constructors/messages_favedStickers.md) = \['hash' => [int](../types/int.md), 'packs' => \[[StickerPack](../types/StickerPack.md)\], 'stickers' => \[[Document](../types/Document.md)\], \]; +*** +

[$messages.favedStickers](../constructors/messages.favedStickers.md) = \['hash' => [int](../types/int.md), 'packs' => \[[StickerPack](../types/StickerPack.md)\], 'stickers' => \[[Document](../types/Document.md)\], \]; -[$messages\_favedStickersNotModified](../constructors/messages_favedStickersNotModified.md) = \[\]; +*** +

[$messages.favedStickersNotModified](../constructors/messages.favedStickersNotModified.md) = \[\]; -[$messages\_featuredStickers](../constructors/messages_featuredStickers.md) = \['hash' => [int](../types/int.md), 'sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], 'unread' => \[[long](../types/long.md)\], \]; +*** +

[$messages.featuredStickers](../constructors/messages.featuredStickers.md) = \['hash' => [int](../types/int.md), 'sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], 'unread' => \[[long](../types/long.md)\], \]; -[$messages\_featuredStickersNotModified](../constructors/messages_featuredStickersNotModified.md) = \[\]; +*** +

[$messages.featuredStickersNotModified](../constructors/messages.featuredStickersNotModified.md) = \[\]; -[$messages\_foundGifs](../constructors/messages_foundGifs.md) = \['next_offset' => [int](../types/int.md), 'results' => \[[FoundGif](../types/FoundGif.md)\], \]; +*** +

[$messages.foundGifs](../constructors/messages.foundGifs.md) = \['next_offset' => [int](../types/int.md), 'results' => \[[FoundGif](../types/FoundGif.md)\], \]; -[$messages\_foundStickerSets](../constructors/messages_foundStickerSets.md) = \['hash' => [int](../types/int.md), 'sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], \]; +*** +

[$messages.foundStickerSets](../constructors/messages.foundStickerSets.md) = \['hash' => [int](../types/int.md), 'sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], \]; -[$messages\_foundStickerSetsNotModified](../constructors/messages_foundStickerSetsNotModified.md) = \[\]; +*** +

[$messages.foundStickerSetsNotModified](../constructors/messages.foundStickerSetsNotModified.md) = \[\]; -[$messages\_highScores](../constructors/messages_highScores.md) = \['scores' => \[[HighScore](../types/HighScore.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.highScores](../constructors/messages.highScores.md) = \['scores' => \[[HighScore](../types/HighScore.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_messageEditData](../constructors/messages_messageEditData.md) = \['caption' => [Bool](../types/Bool.md), \]; +*** +

[$messages.messageEditData](../constructors/messages.messageEditData.md) = \['caption' => [Bool](../types/Bool.md), \]; -[$messages\_messages](../constructors/messages_messages.md) = \['messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.messages](../constructors/messages.messages.md) = \['messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_messagesNotModified](../constructors/messages_messagesNotModified.md) = \['count' => [int](../types/int.md), \]; +*** +

[$messages.messagesNotModified](../constructors/messages.messagesNotModified.md) = \['count' => [int](../types/int.md), \]; -[$messages\_messagesSlice](../constructors/messages_messagesSlice.md) = \['count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.messagesSlice](../constructors/messages.messagesSlice.md) = \['count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_peerDialogs](../constructors/messages_peerDialogs.md) = \['dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'state' => [updates.State](../types/updates.State.md), \]; +*** +

[$messages.peerDialogs](../constructors/messages.peerDialogs.md) = \['dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'state' => [updates.State](../types/updates.State.md), \]; -[$messages\_recentStickers](../constructors/messages_recentStickers.md) = \['hash' => [int](../types/int.md), 'packs' => \[[StickerPack](../types/StickerPack.md)\], 'stickers' => \[[Document](../types/Document.md)\], 'dates' => \[[int](../types/int.md)\], \]; +*** +

[$messages.recentStickers](../constructors/messages.recentStickers.md) = \['hash' => [int](../types/int.md), 'packs' => \[[StickerPack](../types/StickerPack.md)\], 'stickers' => \[[Document](../types/Document.md)\], 'dates' => \[[int](../types/int.md)\], \]; -[$messages\_recentStickersNotModified](../constructors/messages_recentStickersNotModified.md) = \[\]; +*** +

[$messages.recentStickersNotModified](../constructors/messages.recentStickersNotModified.md) = \[\]; -[$messages\_savedGifs](../constructors/messages_savedGifs.md) = \['hash' => [int](../types/int.md), 'gifs' => \[[Document](../types/Document.md)\], \]; +*** +

[$messages.savedGifs](../constructors/messages.savedGifs.md) = \['hash' => [int](../types/int.md), 'gifs' => \[[Document](../types/Document.md)\], \]; -[$messages\_savedGifsNotModified](../constructors/messages_savedGifsNotModified.md) = \[\]; +*** +

[$messages.savedGifsNotModified](../constructors/messages.savedGifsNotModified.md) = \[\]; -[$messages\_sentEncryptedFile](../constructors/messages_sentEncryptedFile.md) = \['date' => [int](../types/int.md), 'file' => [EncryptedFile](../types/EncryptedFile.md), \]; +*** +

[$messages.sentEncryptedFile](../constructors/messages.sentEncryptedFile.md) = \['date' => [int](../types/int.md), 'file' => [EncryptedFile](../types/EncryptedFile.md), \]; -[$messages\_sentEncryptedMessage](../constructors/messages_sentEncryptedMessage.md) = \['date' => [int](../types/int.md), \]; +*** +

[$messages.sentEncryptedMessage](../constructors/messages.sentEncryptedMessage.md) = \['date' => [int](../types/int.md), \]; -[$messages\_stickerSet](../constructors/messages_stickerSet.md) = \['set' => [StickerSet](../types/StickerSet.md), 'packs' => \[[StickerPack](../types/StickerPack.md)\], 'documents' => \[[Document](../types/Document.md)\], \]; +*** +

[$messages.stickerSet](../constructors/messages.stickerSet.md) = \['set' => [StickerSet](../types/StickerSet.md), 'packs' => \[[StickerPack](../types/StickerPack.md)\], 'documents' => \[[Document](../types/Document.md)\], \]; -[$messages\_stickerSetInstallResultArchive](../constructors/messages_stickerSetInstallResultArchive.md) = \['sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], \]; +*** +

[$messages.stickerSetInstallResultArchive](../constructors/messages.stickerSetInstallResultArchive.md) = \['sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], \]; -[$messages\_stickerSetInstallResultSuccess](../constructors/messages_stickerSetInstallResultSuccess.md) = \[\]; +*** +

[$messages.stickerSetInstallResultSuccess](../constructors/messages.stickerSetInstallResultSuccess.md) = \[\]; -[$messages\_stickers](../constructors/messages_stickers.md) = \['hash' => [int](../types/int.md), 'stickers' => \[[Document](../types/Document.md)\], \]; +*** +

[$messages.stickers](../constructors/messages.stickers.md) = \['hash' => [int](../types/int.md), 'stickers' => \[[Document](../types/Document.md)\], \]; -[$messages\_stickersNotModified](../constructors/messages_stickersNotModified.md) = \[\]; +*** +

[$messages.stickersNotModified](../constructors/messages.stickersNotModified.md) = \[\]; ***

[$nearestDc](../constructors/nearestDc.md) = \['country' => [string](../types/string.md), 'this_dc' => [int](../types/int.md), 'nearest_dc' => [int](../types/int.md), \]; @@ -1211,17 +1297,22 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$paymentSavedCredentialsCard](../constructors/paymentSavedCredentialsCard.md) = \['id' => [string](../types/string.md), 'title' => [string](../types/string.md), \]; *** -

[$payments\_paymentForm](../constructors/payments_paymentForm.md) = \['can_save_credentials' => [Bool](../types/Bool.md), 'password_missing' => [Bool](../types/Bool.md), 'bot_id' => [int](../types/int.md), 'invoice' => [Invoice](../types/Invoice.md), 'provider_id' => [int](../types/int.md), 'url' => [string](../types/string.md), 'native_provider' => [string](../types/string.md), 'native_params' => [DataJSON](../types/DataJSON.md), 'saved_info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), 'saved_credentials' => [PaymentSavedCredentials](../types/PaymentSavedCredentials.md), 'users' => \[[User](../types/User.md)\], \]; +

[$payments.paymentForm](../constructors/payments.paymentForm.md) = \['can_save_credentials' => [Bool](../types/Bool.md), 'password_missing' => [Bool](../types/Bool.md), 'bot_id' => [int](../types/int.md), 'invoice' => [Invoice](../types/Invoice.md), 'provider_id' => [int](../types/int.md), 'url' => [string](../types/string.md), 'native_provider' => [string](../types/string.md), 'native_params' => [DataJSON](../types/DataJSON.md), 'saved_info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), 'saved_credentials' => [PaymentSavedCredentials](../types/PaymentSavedCredentials.md), 'users' => \[[User](../types/User.md)\], \]; -[$payments\_paymentReceipt](../constructors/payments_paymentReceipt.md) = \['date' => [int](../types/int.md), 'bot_id' => [int](../types/int.md), 'invoice' => [Invoice](../types/Invoice.md), 'provider_id' => [int](../types/int.md), 'info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), 'shipping' => [ShippingOption](../types/ShippingOption.md), 'currency' => [string](../types/string.md), 'total_amount' => [long](../types/long.md), 'credentials_title' => [string](../types/string.md), 'users' => \[[User](../types/User.md)\], \]; +*** +

[$payments.paymentReceipt](../constructors/payments.paymentReceipt.md) = \['date' => [int](../types/int.md), 'bot_id' => [int](../types/int.md), 'invoice' => [Invoice](../types/Invoice.md), 'provider_id' => [int](../types/int.md), 'info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), 'shipping' => [ShippingOption](../types/ShippingOption.md), 'currency' => [string](../types/string.md), 'total_amount' => [long](../types/long.md), 'credentials_title' => [string](../types/string.md), 'users' => \[[User](../types/User.md)\], \]; -[$payments\_paymentResult](../constructors/payments_paymentResult.md) = \['updates' => [Updates](../types/Updates.md), \]; +*** +

[$payments.paymentResult](../constructors/payments.paymentResult.md) = \['updates' => [Updates](../types/Updates.md), \]; -[$payments\_paymentVerficationNeeded](../constructors/payments_paymentVerficationNeeded.md) = \['url' => [string](../types/string.md), \]; +*** +

[$payments.paymentVerficationNeeded](../constructors/payments.paymentVerficationNeeded.md) = \['url' => [string](../types/string.md), \]; -[$payments\_savedInfo](../constructors/payments_savedInfo.md) = \['has_saved_credentials' => [Bool](../types/Bool.md), 'saved_info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), \]; +*** +

[$payments.savedInfo](../constructors/payments.savedInfo.md) = \['has_saved_credentials' => [Bool](../types/Bool.md), 'saved_info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), \]; -[$payments\_validatedRequestedInfo](../constructors/payments_validatedRequestedInfo.md) = \['id' => [string](../types/string.md), 'shipping_options' => \[[ShippingOption](../types/ShippingOption.md)\], \]; +*** +

[$payments.validatedRequestedInfo](../constructors/payments.validatedRequestedInfo.md) = \['id' => [string](../types/string.md), 'shipping_options' => \[[ShippingOption](../types/ShippingOption.md)\], \]; ***

[$peerChannel](../constructors/peerChannel.md) = \['channel_id' => [int](../types/int.md), \]; @@ -1238,6 +1329,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ***

[$peerUser](../constructors/peerUser.md) = \['user_id' => [int](../types/int.md), \]; +*** +

[$phone.phoneCall](../constructors/phone.phoneCall.md) = \['phone_call' => [PhoneCall](../types/PhoneCall.md), 'users' => \[[User](../types/User.md)\], \]; + ***

[$phoneCall](../constructors/phoneCall.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'date' => [int](../types/int.md), 'admin_id' => [int](../types/int.md), 'participant_id' => [int](../types/int.md), 'g_a_or_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), 'connection' => [PhoneConnection](../types/PhoneConnection.md), 'alternative_connections' => \[[PhoneConnection](../types/PhoneConnection.md)\], 'start_date' => [int](../types/int.md), \]; @@ -1274,9 +1368,6 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ***

[$phoneConnection](../constructors/phoneConnection.md) = \['id' => [long](../types/long.md), 'ip' => [string](../types/string.md), 'ipv6' => [string](../types/string.md), 'port' => [int](../types/int.md), 'peer_tag' => [bytes](../types/bytes.md), \]; -*** -

[$phone\_phoneCall](../constructors/phone_phoneCall.md) = \['phone_call' => [PhoneCall](../types/PhoneCall.md), 'users' => \[[User](../types/User.md)\], \]; - ***

[$photo](../constructors/photo.md) = \['has_stickers' => [Bool](../types/Bool.md), 'id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'file_reference' => [bytes](../types/bytes.md), 'date' => [int](../types/int.md), 'sizes' => \[[PhotoSize](../types/PhotoSize.md)\], \]; @@ -1293,11 +1384,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$photoSizeEmpty](../constructors/photoSizeEmpty.md) = \['type' => [string](../types/string.md), \]; *** -

[$photos\_photo](../constructors/photos_photo.md) = \['photo' => [Photo](../types/Photo.md), 'users' => \[[User](../types/User.md)\], \]; +

[$photos.photo](../constructors/photos.photo.md) = \['photo' => [Photo](../types/Photo.md), 'users' => \[[User](../types/User.md)\], \]; -[$photos\_photos](../constructors/photos_photos.md) = \['photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$photos.photos](../constructors/photos.photos.md) = \['photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$photos\_photosSlice](../constructors/photos_photosSlice.md) = \['count' => [int](../types/int.md), 'photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$photos.photosSlice](../constructors/photos.photosSlice.md) = \['count' => [int](../types/int.md), 'photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; ***

[$popularContact](../constructors/popularContact.md) = \['client_id' => [long](../types/long.md), 'importers' => [int](../types/int.md), \]; @@ -1528,25 +1621,34 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$stickerSetMultiCovered](../constructors/stickerSetMultiCovered.md) = \['set' => [StickerSet](../types/StickerSet.md), 'covers' => \[[Document](../types/Document.md)\], \]; *** -

[$storage\_fileGif](../constructors/storage_fileGif.md) = \[\]; +

[$storage.fileGif](../constructors/storage.fileGif.md) = \[\]; -[$storage\_fileJpeg](../constructors/storage_fileJpeg.md) = \[\]; +*** +

[$storage.fileJpeg](../constructors/storage.fileJpeg.md) = \[\]; -[$storage\_fileMov](../constructors/storage_fileMov.md) = \[\]; +*** +

[$storage.fileMov](../constructors/storage.fileMov.md) = \[\]; -[$storage\_fileMp3](../constructors/storage_fileMp3.md) = \[\]; +*** +

[$storage.fileMp3](../constructors/storage.fileMp3.md) = \[\]; -[$storage\_fileMp4](../constructors/storage_fileMp4.md) = \[\]; +*** +

[$storage.fileMp4](../constructors/storage.fileMp4.md) = \[\]; -[$storage\_filePartial](../constructors/storage_filePartial.md) = \[\]; +*** +

[$storage.filePartial](../constructors/storage.filePartial.md) = \[\]; -[$storage\_filePdf](../constructors/storage_filePdf.md) = \[\]; +*** +

[$storage.filePdf](../constructors/storage.filePdf.md) = \[\]; -[$storage\_filePng](../constructors/storage_filePng.md) = \[\]; +*** +

[$storage.filePng](../constructors/storage.filePng.md) = \[\]; -[$storage\_fileUnknown](../constructors/storage_fileUnknown.md) = \[\]; +*** +

[$storage.fileUnknown](../constructors/storage.fileUnknown.md) = \[\]; -[$storage\_fileWebp](../constructors/storage_fileWebp.md) = \[\]; +*** +

[$storage.fileWebp](../constructors/storage.fileWebp.md) = \[\]; ***

[$textBold](../constructors/textBold.md) = \['text' => [RichText](../types/RichText.md), \]; @@ -1821,6 +1923,30 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ***

[$updates](../constructors/updates.md) = \['updates' => \[[Update](../types/Update.md)\], 'users' => \[[User](../types/User.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'date' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; +*** +

[$updates.channelDifference](../constructors/updates.channelDifference.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), 'new_messages' => \[[Message](../types/Message.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +*** +

[$updates.channelDifferenceEmpty](../constructors/updates.channelDifferenceEmpty.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), \]; + +*** +

[$updates.channelDifferenceTooLong](../constructors/updates.channelDifferenceTooLong.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), 'top_message' => [int](../types/int.md), 'read_inbox_max_id' => [int](../types/int.md), 'read_outbox_max_id' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), 'unread_mentions_count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +*** +

[$updates.difference](../constructors/updates.difference.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'state' => [updates.State](../types/updates.State.md), \]; + +*** +

[$updates.differenceEmpty](../constructors/updates.differenceEmpty.md) = \['date' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; + +*** +

[$updates.differenceSlice](../constructors/updates.differenceSlice.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'intermediate_state' => [updates.State](../types/updates.State.md), \]; + +*** +

[$updates.differenceTooLong](../constructors/updates.differenceTooLong.md) = \['pts' => [int](../types/int.md), \]; + +*** +

[$updates.state](../constructors/updates.state.md) = \['pts' => [int](../types/int.md), 'qts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'seq' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), \]; + ***

[$updatesCombined](../constructors/updatesCombined.md) = \['updates' => \[[Update](../types/Update.md)\], 'users' => \[[User](../types/User.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'date' => [int](../types/int.md), 'seq_start' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; @@ -1828,32 +1954,19 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$updatesTooLong](../constructors/updatesTooLong.md) = \[\]; *** -

[$updates\_channelDifference](../constructors/updates_channelDifference.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), 'new_messages' => \[[Message](../types/Message.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; - -[$updates\_channelDifferenceEmpty](../constructors/updates_channelDifferenceEmpty.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), \]; - -[$updates\_channelDifferenceTooLong](../constructors/updates_channelDifferenceTooLong.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), 'top_message' => [int](../types/int.md), 'read_inbox_max_id' => [int](../types/int.md), 'read_outbox_max_id' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), 'unread_mentions_count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; - -[$updates\_difference](../constructors/updates_difference.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'state' => [updates.State](../types/updates.State.md), \]; - -[$updates\_differenceEmpty](../constructors/updates_differenceEmpty.md) = \['date' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; - -[$updates\_differenceSlice](../constructors/updates_differenceSlice.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'intermediate_state' => [updates.State](../types/updates.State.md), \]; - -[$updates\_differenceTooLong](../constructors/updates_differenceTooLong.md) = \['pts' => [int](../types/int.md), \]; - -[$updates\_state](../constructors/updates_state.md) = \['pts' => [int](../types/int.md), 'qts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'seq' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), \]; +

[$upload.cdnFile](../constructors/upload.cdnFile.md) = \['bytes' => [bytes](../types/bytes.md), \]; *** -

[$upload\_cdnFile](../constructors/upload_cdnFile.md) = \['bytes' => [bytes](../types/bytes.md), \]; +

[$upload.cdnFileReuploadNeeded](../constructors/upload.cdnFileReuploadNeeded.md) = \['request_token' => [bytes](../types/bytes.md), \]; -[$upload\_cdnFileReuploadNeeded](../constructors/upload_cdnFileReuploadNeeded.md) = \['request_token' => [bytes](../types/bytes.md), \]; +*** +

[$upload.file](../constructors/upload.file.md) = \['type' => [storage.FileType](../types/storage.FileType.md), 'mtime' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; -[$upload\_file](../constructors/upload_file.md) = \['type' => [storage.FileType](../types/storage.FileType.md), 'mtime' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; +*** +

[$upload.fileCdnRedirect](../constructors/upload.fileCdnRedirect.md) = \['dc_id' => [int](../types/int.md), 'file_token' => [bytes](../types/bytes.md), 'encryption_key' => [bytes](../types/bytes.md), 'encryption_iv' => [bytes](../types/bytes.md), 'file_hashes' => \[[FileHash](../types/FileHash.md)\], \]; -[$upload\_fileCdnRedirect](../constructors/upload_fileCdnRedirect.md) = \['dc_id' => [int](../types/int.md), 'file_token' => [bytes](../types/bytes.md), 'encryption_key' => [bytes](../types/bytes.md), 'encryption_iv' => [bytes](../types/bytes.md), 'file_hashes' => \[[FileHash](../types/FileHash.md)\], \]; - -[$upload\_webFile](../constructors/upload_webFile.md) = \['size' => [int](../types/int.md), 'mime_type' => [string](../types/string.md), 'file_type' => [storage.FileType](../types/storage.FileType.md), 'mtime' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; +*** +

[$upload.webFile](../constructors/upload.webFile.md) = \['size' => [int](../types/int.md), 'mime_type' => [string](../types/string.md), 'file_type' => [storage.FileType](../types/storage.FileType.md), 'mtime' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; ***

[$user](../constructors/user.md) = \['self' => [Bool](../types/Bool.md), 'contact' => [Bool](../types/Bool.md), 'mutual_contact' => [Bool](../types/Bool.md), 'deleted' => [Bool](../types/Bool.md), 'bot' => [Bool](../types/Bool.md), 'bot_chat_history' => [Bool](../types/Bool.md), 'bot_nochats' => [Bool](../types/Bool.md), 'verified' => [Bool](../types/Bool.md), 'restricted' => [Bool](../types/Bool.md), 'min' => [Bool](../types/Bool.md), 'bot_inline_geo' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), 'username' => [string](../types/string.md), 'phone' => [string](../types/string.md), 'photo' => [UserProfilePhoto](../types/UserProfilePhoto.md), 'status' => [UserStatus](../types/UserStatus.md), 'bot_info_version' => [int](../types/int.md), 'restriction_reason' => [string](../types/string.md), 'bot_inline_placeholder' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]; diff --git a/old_docs/API_docs_v86/constructors/account.authorizationForm.md b/old_docs/API_docs_v86/constructors/account.authorizationForm.md new file mode 100644 index 00000000..175276bf --- /dev/null +++ b/old_docs/API_docs_v86/constructors/account.authorizationForm.md @@ -0,0 +1,42 @@ +--- +title: account.authorizationForm +description: [Telegram Passport](https://core.telegram.org/passport) authorization form +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.authorizationForm +[Back to constructors index](index.md) + + + +[Telegram Passport](https://core.telegram.org/passport) authorization form + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|required\_types|Array of [SecureRequiredType](../types/SecureRequiredType.md) | Yes|Required types| +|values|Array of [SecureValue](../types/SecureValue.md) | Yes|Values| +|errors|Array of [SecureValueError](../types/SecureValueError.md) | Yes|Errors| +|users|Array of [User](../types/User.md) | Yes|Users| +|privacy\_policy\_url|[string](../types/string.md) | Optional|URL of the service's privacy policy| + + + +### Type: [account.AuthorizationForm](../types/account.AuthorizationForm.md) + + +### Example: + +```php +$account.authorizationForm = ['_' => 'account.authorizationForm', 'required_types' => [SecureRequiredType, SecureRequiredType], 'values' => [SecureValue, SecureValue], 'errors' => [SecureValueError, SecureValueError], 'users' => [User, User], 'privacy_policy_url' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +account.authorizationForm={_='account.authorizationForm', required_types={SecureRequiredType}, values={SecureValue}, errors={SecureValueError}, users={User}, privacy_policy_url='string'} + +``` + + diff --git a/old_docs/API_docs_v86/constructors/account.authorizations.md b/old_docs/API_docs_v86/constructors/account.authorizations.md new file mode 100644 index 00000000..53c961f0 --- /dev/null +++ b/old_docs/API_docs_v86/constructors/account.authorizations.md @@ -0,0 +1,38 @@ +--- +title: account.authorizations +description: Logged-in sessions +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.authorizations +[Back to constructors index](index.md) + + + +Logged-in sessions + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|authorizations|Array of [Authorization](../types/Authorization.md) | Yes|Authorizations| + + + +### Type: [account.Authorizations](../types/account.Authorizations.md) + + +### Example: + +```php +$account.authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization, Authorization]]; +``` + + +Or, if you're into Lua: + +```lua +account.authorizations={_='account.authorizations', authorizations={Authorization}} + +``` + + diff --git a/old_docs/API_docs_v86/constructors/account.password.md b/old_docs/API_docs_v86/constructors/account.password.md new file mode 100644 index 00000000..b6ad79db --- /dev/null +++ b/old_docs/API_docs_v86/constructors/account.password.md @@ -0,0 +1,48 @@ +--- +title: account.password +description: Configuration for two-factor authorization +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.password +[Back to constructors index](index.md) + + + +Configuration for two-factor authorization + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|has\_recovery|[Bool](../types/Bool.md) | Optional|Whether the user has a recovery method configured| +|has\_secure\_values|[Bool](../types/Bool.md) | Optional|Whether telegram [passport](https://core.telegram.org/passport) is enabled| +|has\_password|[Bool](../types/Bool.md) | Optional|Whether the user has a password| +|current\_algo|[PasswordKdfAlgo](../types/PasswordKdfAlgo.md) | Optional|The [KDF algorithm for SRP two-factor authentication](https://core.telegram.org/api/srp) of the current password| +|srp\_B|[bytes](../types/bytes.md) | Optional|Srp B param for [SRP authorization](https://core.telegram.org/api/srp)| +|srp\_id|[long](../types/long.md) | Optional|Srp ID param for [SRP authorization](https://core.telegram.org/api/srp)| +|hint|[string](../types/string.md) | Optional|Text hint for the password| +|email\_unconfirmed\_pattern|[string](../types/string.md) | Optional|A [password recovery email](https://core.telegram.org/api/srp#email-verification) with the specified [pattern](https://core.telegram.org/api/pattern) is still awaiting verification| +|new\_algo|[PasswordKdfAlgo](../types/PasswordKdfAlgo.md) | Yes|The [KDF algorithm for SRP two-factor authentication](https://core.telegram.org/api/srp) to use when creating new passwords| +|new\_secure\_algo|[SecurePasswordKdfAlgo](../types/SecurePasswordKdfAlgo.md) | Yes|The KDF algorithm for telegram [passport](https://core.telegram.org/passport)| +|secure\_random|[bytes](../types/bytes.md) | Yes|Secure random string| + + + +### Type: [account.Password](../types/account.Password.md) + + +### Example: + +```php +$account.password = ['_' => 'account.password', 'has_recovery' => Bool, 'has_secure_values' => Bool, 'has_password' => Bool, 'current_algo' => PasswordKdfAlgo, 'srp_B' => 'bytes', 'srp_id' => long, 'hint' => 'string', 'email_unconfirmed_pattern' => 'string', 'new_algo' => PasswordKdfAlgo, 'new_secure_algo' => SecurePasswordKdfAlgo, 'secure_random' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +account.password={_='account.password', has_recovery=Bool, has_secure_values=Bool, has_password=Bool, current_algo=PasswordKdfAlgo, srp_B='bytes', srp_id=long, hint='string', email_unconfirmed_pattern='string', new_algo=PasswordKdfAlgo, new_secure_algo=SecurePasswordKdfAlgo, secure_random='bytes'} + +``` + + diff --git a/old_docs/API_docs_v86/constructors/account.passwordInputSettings.md b/old_docs/API_docs_v86/constructors/account.passwordInputSettings.md new file mode 100644 index 00000000..f55837c8 --- /dev/null +++ b/old_docs/API_docs_v86/constructors/account.passwordInputSettings.md @@ -0,0 +1,42 @@ +--- +title: account.passwordInputSettings +description: Settings for setting up a new password +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.passwordInputSettings +[Back to constructors index](index.md) + + + +Settings for setting up a new password + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|new\_algo|[PasswordKdfAlgo](../types/PasswordKdfAlgo.md) | Optional|The [SRP algorithm](https://core.telegram.org/api/srp) to use| +|new\_password\_hash|[bytes](../types/bytes.md) | Optional|The [computed password hash](https://core.telegram.org/api/srp)| +|hint|[string](../types/string.md) | Optional|Text hint for the password| +|email|[string](../types/string.md) | Optional|Password recovery email| +|new\_secure\_settings|[SecureSecretSettings](../types/SecureSecretSettings.md) | Optional|Telegram [passport](https://core.telegram.org/passport) settings| + + + +### Type: [account.PasswordInputSettings](../types/account.PasswordInputSettings.md) + + +### Example: + +```php +$account.passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_algo' => PasswordKdfAlgo, 'new_password_hash' => 'bytes', 'hint' => 'string', 'email' => 'string', 'new_secure_settings' => SecureSecretSettings]; +``` + + +Or, if you're into Lua: + +```lua +account.passwordInputSettings={_='account.passwordInputSettings', new_algo=PasswordKdfAlgo, new_password_hash='bytes', hint='string', email='string', new_secure_settings=SecureSecretSettings} + +``` + + diff --git a/old_docs/API_docs_v86/constructors/account.passwordSettings.md b/old_docs/API_docs_v86/constructors/account.passwordSettings.md new file mode 100644 index 00000000..ab81079e --- /dev/null +++ b/old_docs/API_docs_v86/constructors/account.passwordSettings.md @@ -0,0 +1,39 @@ +--- +title: account.passwordSettings +description: Private info associated to the password info (recovery email, telegram [passport](https://core.telegram.org/passport) info & so on) +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.passwordSettings +[Back to constructors index](index.md) + + + +Private info associated to the password info (recovery email, telegram [passport](https://core.telegram.org/passport) info & so on) + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|email|[string](../types/string.md) | Optional|[2FA Recovery email](https://core.telegram.org/api/srp#email-verification)| +|secure\_settings|[SecureSecretSettings](../types/SecureSecretSettings.md) | Optional|Telegram [passport](https://core.telegram.org/passport) settings| + + + +### Type: [account.PasswordSettings](../types/account.PasswordSettings.md) + + +### Example: + +```php +$account.passwordSettings = ['_' => 'account.passwordSettings', 'email' => 'string', 'secure_settings' => SecureSecretSettings]; +``` + + +Or, if you're into Lua: + +```lua +account.passwordSettings={_='account.passwordSettings', email='string', secure_settings=SecureSecretSettings} + +``` + + diff --git a/old_docs/API_docs_v86/constructors/account.privacyRules.md b/old_docs/API_docs_v86/constructors/account.privacyRules.md new file mode 100644 index 00000000..7ae04abb --- /dev/null +++ b/old_docs/API_docs_v86/constructors/account.privacyRules.md @@ -0,0 +1,39 @@ +--- +title: account.privacyRules +description: Privacy rules +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.privacyRules +[Back to constructors index](index.md) + + + +Privacy rules + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|rules|Array of [PrivacyRule](../types/PrivacyRule.md) | Yes|Rules| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [account.PrivacyRules](../types/account.PrivacyRules.md) + + +### Example: + +```php +$account.privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule, PrivacyRule], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +account.privacyRules={_='account.privacyRules', rules={PrivacyRule}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v86/constructors/account.sentEmailCode.md b/old_docs/API_docs_v86/constructors/account.sentEmailCode.md new file mode 100644 index 00000000..c4c30275 --- /dev/null +++ b/old_docs/API_docs_v86/constructors/account.sentEmailCode.md @@ -0,0 +1,39 @@ +--- +title: account.sentEmailCode +description: The sent email code +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.sentEmailCode +[Back to constructors index](index.md) + + + +The sent email code + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|email\_pattern|[string](../types/string.md) | Yes|The email (to which the code was sent) must match this [pattern](https://core.telegram.org/api/pattern)| +|length|[int](../types/int.md) | Yes|The length of the verification code| + + + +### Type: [account.SentEmailCode](../types/account.SentEmailCode.md) + + +### Example: + +```php +$account.sentEmailCode = ['_' => 'account.sentEmailCode', 'email_pattern' => 'string', 'length' => int]; +``` + + +Or, if you're into Lua: + +```lua +account.sentEmailCode={_='account.sentEmailCode', email_pattern='string', length=int} + +``` + + diff --git a/old_docs/API_docs_v86/constructors/account.takeout.md b/old_docs/API_docs_v86/constructors/account.takeout.md new file mode 100644 index 00000000..1aca6c70 --- /dev/null +++ b/old_docs/API_docs_v86/constructors/account.takeout.md @@ -0,0 +1,38 @@ +--- +title: account.takeout +description: Takout info +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.takeout +[Back to constructors index](index.md) + + + +Takout info + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|id|[long](../types/long.md) | Yes|Takeout ID| + + + +### Type: [account.Takeout](../types/account.Takeout.md) + + +### Example: + +```php +$account.takeout = ['_' => 'account.takeout', 'id' => long]; +``` + + +Or, if you're into Lua: + +```lua +account.takeout={_='account.takeout', id=long} + +``` + + diff --git a/old_docs/API_docs_v86/constructors/account.tmpPassword.md b/old_docs/API_docs_v86/constructors/account.tmpPassword.md new file mode 100644 index 00000000..996548c4 --- /dev/null +++ b/old_docs/API_docs_v86/constructors/account.tmpPassword.md @@ -0,0 +1,39 @@ +--- +title: account.tmpPassword +description: Temporary payment password +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.tmpPassword +[Back to constructors index](index.md) + + + +Temporary payment password + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|tmp\_password|[bytes](../types/bytes.md) | Yes|Temporary password| +|valid\_until|[int](../types/int.md) | Yes|Validity period| + + + +### Type: [account.TmpPassword](../types/account.TmpPassword.md) + + +### Example: + +```php +$account.tmpPassword = ['_' => 'account.tmpPassword', 'tmp_password' => 'bytes', 'valid_until' => int]; +``` + + +Or, if you're into Lua: + +```lua +account.tmpPassword={_='account.tmpPassword', tmp_password='bytes', valid_until=int} + +``` + + diff --git a/old_docs/API_docs_v86/constructors/account.webAuthorizations.md b/old_docs/API_docs_v86/constructors/account.webAuthorizations.md new file mode 100644 index 00000000..bb5d0211 --- /dev/null +++ b/old_docs/API_docs_v86/constructors/account.webAuthorizations.md @@ -0,0 +1,39 @@ +--- +title: account.webAuthorizations +description: Web authorizations +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.webAuthorizations +[Back to constructors index](index.md) + + + +Web authorizations + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|authorizations|Array of [WebAuthorization](../types/WebAuthorization.md) | Yes|Authorizations| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [account.WebAuthorizations](../types/account.WebAuthorizations.md) + + +### Example: + +```php +$account.webAuthorizations = ['_' => 'account.webAuthorizations', 'authorizations' => [WebAuthorization, WebAuthorization], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +account.webAuthorizations={_='account.webAuthorizations', authorizations={WebAuthorization}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v86/constructors/account_authorizationForm.md b/old_docs/API_docs_v86/constructors/account_authorizationForm.md deleted file mode 100644 index aaeff19b..00000000 --- a/old_docs/API_docs_v86/constructors/account_authorizationForm.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: account.authorizationForm -description: [Telegram Passport](https://core.telegram.org/passport) authorization form -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.authorizationForm -[Back to constructors index](index.md) - - - -[Telegram Passport](https://core.telegram.org/passport) authorization form - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|required\_types|Array of [SecureRequiredType](../types/SecureRequiredType.md) | Yes|Required types| -|values|Array of [SecureValue](../types/SecureValue.md) | Yes|Values| -|errors|Array of [SecureValueError](../types/SecureValueError.md) | Yes|Errors| -|users|Array of [User](../types/User.md) | Yes|Users| -|privacy\_policy\_url|[string](../types/string.md) | Optional|URL of the service's privacy policy| - - - -### Type: [account\_AuthorizationForm](../types/account_AuthorizationForm.md) - - -### Example: - -```php -$account_authorizationForm = ['_' => 'account.authorizationForm', 'required_types' => [SecureRequiredType, SecureRequiredType], 'values' => [SecureValue, SecureValue], 'errors' => [SecureValueError, SecureValueError], 'users' => [User, User], 'privacy_policy_url' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -account_authorizationForm={_='account.authorizationForm', required_types={SecureRequiredType}, values={SecureValue}, errors={SecureValueError}, users={User}, privacy_policy_url='string'} - -``` - - diff --git a/old_docs/API_docs_v86/constructors/account_authorizations.md b/old_docs/API_docs_v86/constructors/account_authorizations.md deleted file mode 100644 index aeae48f3..00000000 --- a/old_docs/API_docs_v86/constructors/account_authorizations.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: account.authorizations -description: Logged-in sessions -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.authorizations -[Back to constructors index](index.md) - - - -Logged-in sessions - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|authorizations|Array of [Authorization](../types/Authorization.md) | Yes|Authorizations| - - - -### Type: [account\_Authorizations](../types/account_Authorizations.md) - - -### Example: - -```php -$account_authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization, Authorization]]; -``` - - -Or, if you're into Lua: - -```lua -account_authorizations={_='account.authorizations', authorizations={Authorization}} - -``` - - diff --git a/old_docs/API_docs_v86/constructors/account_password.md b/old_docs/API_docs_v86/constructors/account_password.md deleted file mode 100644 index 0f2eaafb..00000000 --- a/old_docs/API_docs_v86/constructors/account_password.md +++ /dev/null @@ -1,48 +0,0 @@ ---- -title: account.password -description: Configuration for two-factor authorization -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.password -[Back to constructors index](index.md) - - - -Configuration for two-factor authorization - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|has\_recovery|[Bool](../types/Bool.md) | Optional|Whether the user has a recovery method configured| -|has\_secure\_values|[Bool](../types/Bool.md) | Optional|Whether telegram [passport](https://core.telegram.org/passport) is enabled| -|has\_password|[Bool](../types/Bool.md) | Optional|Whether the user has a password| -|current\_algo|[PasswordKdfAlgo](../types/PasswordKdfAlgo.md) | Optional|The [KDF algorithm for SRP two-factor authentication](https://core.telegram.org/api/srp) of the current password| -|srp\_B|[bytes](../types/bytes.md) | Optional|Srp B param for [SRP authorization](https://core.telegram.org/api/srp)| -|srp\_id|[long](../types/long.md) | Optional|Srp ID param for [SRP authorization](https://core.telegram.org/api/srp)| -|hint|[string](../types/string.md) | Optional|Text hint for the password| -|email\_unconfirmed\_pattern|[string](../types/string.md) | Optional|A [password recovery email](https://core.telegram.org/api/srp#email-verification) with the specified [pattern](https://core.telegram.org/api/pattern) is still awaiting verification| -|new\_algo|[PasswordKdfAlgo](../types/PasswordKdfAlgo.md) | Yes|The [KDF algorithm for SRP two-factor authentication](https://core.telegram.org/api/srp) to use when creating new passwords| -|new\_secure\_algo|[SecurePasswordKdfAlgo](../types/SecurePasswordKdfAlgo.md) | Yes|The KDF algorithm for telegram [passport](https://core.telegram.org/passport)| -|secure\_random|[bytes](../types/bytes.md) | Yes|Secure random string| - - - -### Type: [account\_Password](../types/account_Password.md) - - -### Example: - -```php -$account_password = ['_' => 'account.password', 'has_recovery' => Bool, 'has_secure_values' => Bool, 'has_password' => Bool, 'current_algo' => PasswordKdfAlgo, 'srp_B' => 'bytes', 'srp_id' => long, 'hint' => 'string', 'email_unconfirmed_pattern' => 'string', 'new_algo' => PasswordKdfAlgo, 'new_secure_algo' => SecurePasswordKdfAlgo, 'secure_random' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -account_password={_='account.password', has_recovery=Bool, has_secure_values=Bool, has_password=Bool, current_algo=PasswordKdfAlgo, srp_B='bytes', srp_id=long, hint='string', email_unconfirmed_pattern='string', new_algo=PasswordKdfAlgo, new_secure_algo=SecurePasswordKdfAlgo, secure_random='bytes'} - -``` - - diff --git a/old_docs/API_docs_v86/constructors/account_passwordInputSettings.md b/old_docs/API_docs_v86/constructors/account_passwordInputSettings.md deleted file mode 100644 index a4800a7c..00000000 --- a/old_docs/API_docs_v86/constructors/account_passwordInputSettings.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: account.passwordInputSettings -description: Settings for setting up a new password -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.passwordInputSettings -[Back to constructors index](index.md) - - - -Settings for setting up a new password - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|new\_algo|[PasswordKdfAlgo](../types/PasswordKdfAlgo.md) | Optional|The [SRP algorithm](https://core.telegram.org/api/srp) to use| -|new\_password\_hash|[bytes](../types/bytes.md) | Optional|The [computed password hash](https://core.telegram.org/api/srp)| -|hint|[string](../types/string.md) | Optional|Text hint for the password| -|email|[string](../types/string.md) | Optional|Password recovery email| -|new\_secure\_settings|[SecureSecretSettings](../types/SecureSecretSettings.md) | Optional|Telegram [passport](https://core.telegram.org/passport) settings| - - - -### Type: [account\_PasswordInputSettings](../types/account_PasswordInputSettings.md) - - -### Example: - -```php -$account_passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_algo' => PasswordKdfAlgo, 'new_password_hash' => 'bytes', 'hint' => 'string', 'email' => 'string', 'new_secure_settings' => SecureSecretSettings]; -``` - - -Or, if you're into Lua: - -```lua -account_passwordInputSettings={_='account.passwordInputSettings', new_algo=PasswordKdfAlgo, new_password_hash='bytes', hint='string', email='string', new_secure_settings=SecureSecretSettings} - -``` - - diff --git a/old_docs/API_docs_v86/constructors/account_passwordSettings.md b/old_docs/API_docs_v86/constructors/account_passwordSettings.md deleted file mode 100644 index 16eaf433..00000000 --- a/old_docs/API_docs_v86/constructors/account_passwordSettings.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: account.passwordSettings -description: Private info associated to the password info (recovery email, telegram [passport](https://core.telegram.org/passport) info & so on) -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.passwordSettings -[Back to constructors index](index.md) - - - -Private info associated to the password info (recovery email, telegram [passport](https://core.telegram.org/passport) info & so on) - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|email|[string](../types/string.md) | Optional|[2FA Recovery email](https://core.telegram.org/api/srp#email-verification)| -|secure\_settings|[SecureSecretSettings](../types/SecureSecretSettings.md) | Optional|Telegram [passport](https://core.telegram.org/passport) settings| - - - -### Type: [account\_PasswordSettings](../types/account_PasswordSettings.md) - - -### Example: - -```php -$account_passwordSettings = ['_' => 'account.passwordSettings', 'email' => 'string', 'secure_settings' => SecureSecretSettings]; -``` - - -Or, if you're into Lua: - -```lua -account_passwordSettings={_='account.passwordSettings', email='string', secure_settings=SecureSecretSettings} - -``` - - diff --git a/old_docs/API_docs_v86/constructors/account_privacyRules.md b/old_docs/API_docs_v86/constructors/account_privacyRules.md deleted file mode 100644 index 28b260b7..00000000 --- a/old_docs/API_docs_v86/constructors/account_privacyRules.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: account.privacyRules -description: Privacy rules -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.privacyRules -[Back to constructors index](index.md) - - - -Privacy rules - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|rules|Array of [PrivacyRule](../types/PrivacyRule.md) | Yes|Rules| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [account\_PrivacyRules](../types/account_PrivacyRules.md) - - -### Example: - -```php -$account_privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule, PrivacyRule], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -account_privacyRules={_='account.privacyRules', rules={PrivacyRule}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v86/constructors/account_sentEmailCode.md b/old_docs/API_docs_v86/constructors/account_sentEmailCode.md deleted file mode 100644 index 684fb4b5..00000000 --- a/old_docs/API_docs_v86/constructors/account_sentEmailCode.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: account.sentEmailCode -description: The sent email code -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.sentEmailCode -[Back to constructors index](index.md) - - - -The sent email code - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|email\_pattern|[string](../types/string.md) | Yes|The email (to which the code was sent) must match this [pattern](https://core.telegram.org/api/pattern)| -|length|[int](../types/int.md) | Yes|The length of the verification code| - - - -### Type: [account\_SentEmailCode](../types/account_SentEmailCode.md) - - -### Example: - -```php -$account_sentEmailCode = ['_' => 'account.sentEmailCode', 'email_pattern' => 'string', 'length' => int]; -``` - - -Or, if you're into Lua: - -```lua -account_sentEmailCode={_='account.sentEmailCode', email_pattern='string', length=int} - -``` - - diff --git a/old_docs/API_docs_v86/constructors/account_takeout.md b/old_docs/API_docs_v86/constructors/account_takeout.md deleted file mode 100644 index 09af93ca..00000000 --- a/old_docs/API_docs_v86/constructors/account_takeout.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: account.takeout -description: Takout info -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.takeout -[Back to constructors index](index.md) - - - -Takout info - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|id|[long](../types/long.md) | Yes|Takeout ID| - - - -### Type: [account\_Takeout](../types/account_Takeout.md) - - -### Example: - -```php -$account_takeout = ['_' => 'account.takeout', 'id' => long]; -``` - - -Or, if you're into Lua: - -```lua -account_takeout={_='account.takeout', id=long} - -``` - - diff --git a/old_docs/API_docs_v86/constructors/account_tmpPassword.md b/old_docs/API_docs_v86/constructors/account_tmpPassword.md deleted file mode 100644 index 68832780..00000000 --- a/old_docs/API_docs_v86/constructors/account_tmpPassword.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: account.tmpPassword -description: Temporary payment password -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.tmpPassword -[Back to constructors index](index.md) - - - -Temporary payment password - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|tmp\_password|[bytes](../types/bytes.md) | Yes|Temporary password| -|valid\_until|[int](../types/int.md) | Yes|Validity period| - - - -### Type: [account\_TmpPassword](../types/account_TmpPassword.md) - - -### Example: - -```php -$account_tmpPassword = ['_' => 'account.tmpPassword', 'tmp_password' => 'bytes', 'valid_until' => int]; -``` - - -Or, if you're into Lua: - -```lua -account_tmpPassword={_='account.tmpPassword', tmp_password='bytes', valid_until=int} - -``` - - diff --git a/old_docs/API_docs_v86/constructors/account_webAuthorizations.md b/old_docs/API_docs_v86/constructors/account_webAuthorizations.md deleted file mode 100644 index ae402006..00000000 --- a/old_docs/API_docs_v86/constructors/account_webAuthorizations.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: account.webAuthorizations -description: Web authorizations -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.webAuthorizations -[Back to constructors index](index.md) - - - -Web authorizations - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|authorizations|Array of [WebAuthorization](../types/WebAuthorization.md) | Yes|Authorizations| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [account\_WebAuthorizations](../types/account_WebAuthorizations.md) - - -### Example: - -```php -$account_webAuthorizations = ['_' => 'account.webAuthorizations', 'authorizations' => [WebAuthorization, WebAuthorization], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -account_webAuthorizations={_='account.webAuthorizations', authorizations={WebAuthorization}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v86/constructors/auth.authorization.md b/old_docs/API_docs_v86/constructors/auth.authorization.md new file mode 100644 index 00000000..2a84bb12 --- /dev/null +++ b/old_docs/API_docs_v86/constructors/auth.authorization.md @@ -0,0 +1,39 @@ +--- +title: auth.authorization +description: Contains user authorization info. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.authorization +[Back to constructors index](index.md) + + + +Contains user authorization info. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|tmp\_sessions|[int](../types/int.md) | Optional|Temporary [passport](https://core.telegram.org/passport) sessions| +|user|[User](../types/User.md) | Optional|Info on authorized user| + + + +### Type: [auth.Authorization](../types/auth.Authorization.md) + + +### Example: + +```php +$auth.authorization = ['_' => 'auth.authorization', 'tmp_sessions' => int, 'user' => User]; +``` + + +Or, if you're into Lua: + +```lua +auth.authorization={_='auth.authorization', tmp_sessions=int, user=User} + +``` + + diff --git a/old_docs/API_docs_v86/constructors/auth.checkedPhone.md b/old_docs/API_docs_v86/constructors/auth.checkedPhone.md new file mode 100644 index 00000000..23e84cf9 --- /dev/null +++ b/old_docs/API_docs_v86/constructors/auth.checkedPhone.md @@ -0,0 +1,38 @@ +--- +title: auth.checkedPhone +description: Checked phone +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.checkedPhone +[Back to constructors index](index.md) + + + +Checked phone + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_registered|[Bool](../types/Bool.md) | Yes|Phone registered?| + + + +### Type: [auth.CheckedPhone](../types/auth.CheckedPhone.md) + + +### Example: + +```php +$auth.checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool]; +``` + + +Or, if you're into Lua: + +```lua +auth.checkedPhone={_='auth.checkedPhone', phone_registered=Bool} + +``` + + diff --git a/old_docs/API_docs_v86/constructors/auth.codeTypeCall.md b/old_docs/API_docs_v86/constructors/auth.codeTypeCall.md new file mode 100644 index 00000000..4b4a1cdc --- /dev/null +++ b/old_docs/API_docs_v86/constructors/auth.codeTypeCall.md @@ -0,0 +1,33 @@ +--- +title: auth.codeTypeCall +description: Type of verification code that will be sent next if you call the resendCode method: SMS code +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.codeTypeCall +[Back to constructors index](index.md) + + + +Type of verification code that will be sent next if you call the resendCode method: SMS code + + + + +### Type: [auth.CodeType](../types/auth.CodeType.md) + + +### Example: + +```php +$auth.codeTypeCall = ['_' => 'auth.codeTypeCall']; +``` + + +Or, if you're into Lua: + +```lua +auth.codeTypeCall={_='auth.codeTypeCall'} + +``` + + diff --git a/old_docs/API_docs_v86/constructors/auth.codeTypeFlashCall.md b/old_docs/API_docs_v86/constructors/auth.codeTypeFlashCall.md new file mode 100644 index 00000000..ef97e034 --- /dev/null +++ b/old_docs/API_docs_v86/constructors/auth.codeTypeFlashCall.md @@ -0,0 +1,33 @@ +--- +title: auth.codeTypeFlashCall +description: Type of verification code that will be sent next if you call the resendCode method: SMS code +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.codeTypeFlashCall +[Back to constructors index](index.md) + + + +Type of verification code that will be sent next if you call the resendCode method: SMS code + + + + +### Type: [auth.CodeType](../types/auth.CodeType.md) + + +### Example: + +```php +$auth.codeTypeFlashCall = ['_' => 'auth.codeTypeFlashCall']; +``` + + +Or, if you're into Lua: + +```lua +auth.codeTypeFlashCall={_='auth.codeTypeFlashCall'} + +``` + + diff --git a/old_docs/API_docs_v86/constructors/auth.codeTypeSms.md b/old_docs/API_docs_v86/constructors/auth.codeTypeSms.md new file mode 100644 index 00000000..bab9a5a4 --- /dev/null +++ b/old_docs/API_docs_v86/constructors/auth.codeTypeSms.md @@ -0,0 +1,33 @@ +--- +title: auth.codeTypeSms +description: Type of verification code that will be sent next if you call the resendCode method: SMS code +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.codeTypeSms +[Back to constructors index](index.md) + + + +Type of verification code that will be sent next if you call the resendCode method: SMS code + + + + +### Type: [auth.CodeType](../types/auth.CodeType.md) + + +### Example: + +```php +$auth.codeTypeSms = ['_' => 'auth.codeTypeSms']; +``` + + +Or, if you're into Lua: + +```lua +auth.codeTypeSms={_='auth.codeTypeSms'} + +``` + + diff --git a/old_docs/API_docs_v86/constructors/auth.exportedAuthorization.md b/old_docs/API_docs_v86/constructors/auth.exportedAuthorization.md new file mode 100644 index 00000000..2a4a9896 --- /dev/null +++ b/old_docs/API_docs_v86/constructors/auth.exportedAuthorization.md @@ -0,0 +1,39 @@ +--- +title: auth.exportedAuthorization +description: Data for copying of authorization between data centres. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.exportedAuthorization +[Back to constructors index](index.md) + + + +Data for copying of authorization between data centres. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|id|[int](../types/int.md) | Yes|Current user identifier| +|bytes|[bytes](../types/bytes.md) | Yes|Authorizes key| + + + +### Type: [auth.ExportedAuthorization](../types/auth.ExportedAuthorization.md) + + +### Example: + +```php +$auth.exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +auth.exportedAuthorization={_='auth.exportedAuthorization', id=int, bytes='bytes'} + +``` + + diff --git a/old_docs/API_docs_v86/constructors/auth.passwordRecovery.md b/old_docs/API_docs_v86/constructors/auth.passwordRecovery.md new file mode 100644 index 00000000..61de922d --- /dev/null +++ b/old_docs/API_docs_v86/constructors/auth.passwordRecovery.md @@ -0,0 +1,38 @@ +--- +title: auth.passwordRecovery +description: Recovery info of a [2FA password](https://core.telegram.org/api/srp), only for accounts with a [recovery email configured](https://core.telegram.org/api/srp#email-verification). +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.passwordRecovery +[Back to constructors index](index.md) + + + +Recovery info of a [2FA password](https://core.telegram.org/api/srp), only for accounts with a [recovery email configured](https://core.telegram.org/api/srp#email-verification). + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|email\_pattern|[string](../types/string.md) | Yes|The email to which the recovery code was sent must match this [pattern](https://core.telegram.org/api/pattern).| + + + +### Type: [auth.PasswordRecovery](../types/auth.PasswordRecovery.md) + + +### Example: + +```php +$auth.passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +auth.passwordRecovery={_='auth.passwordRecovery', email_pattern='string'} + +``` + + diff --git a/old_docs/API_docs_v86/constructors/auth.sentCode.md b/old_docs/API_docs_v86/constructors/auth.sentCode.md new file mode 100644 index 00000000..bfdaea05 --- /dev/null +++ b/old_docs/API_docs_v86/constructors/auth.sentCode.md @@ -0,0 +1,43 @@ +--- +title: auth.sentCode +description: Contains info about a sent verification code. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentCode +[Back to constructors index](index.md) + + + +Contains info about a sent verification code. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_registered|[Bool](../types/Bool.md) | Optional|Phone registered?| +|type|[auth.SentCodeType](../constructors/auth.SentCodeType.md) | Yes|Phone code type| +|phone\_code\_hash|[string](../types/string.md) | Yes|Phone code hash, to be stored and later re-used with [auth.signIn](../methods/auth.signIn.md)| +|next\_type|[auth.CodeType](../constructors/auth.CodeType.md) | Optional|Phone code type that will be sent next, if the phone code is not received within `timeout` seconds: to send it use [auth.resendCode](../methods/auth.resendCode.md)| +|timeout|[int](../types/int.md) | Optional|Timeout for reception of the phone code| +|terms\_of\_service|[help.TermsOfService](../constructors/help.TermsOfService.md) | Optional|Terms of service| + + + +### Type: [auth.SentCode](../types/auth.SentCode.md) + + +### Example: + +```php +$auth.sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'type' => auth.SentCodeType, 'phone_code_hash' => 'string', 'next_type' => auth.CodeType, 'timeout' => int, 'terms_of_service' => help.TermsOfService]; +``` + + +Or, if you're into Lua: + +```lua +auth.sentCode={_='auth.sentCode', phone_registered=Bool, type=auth.SentCodeType, phone_code_hash='string', next_type=auth.CodeType, timeout=int, terms_of_service=help.TermsOfService} + +``` + + diff --git a/old_docs/API_docs_v86/constructors/auth.sentCodeTypeApp.md b/old_docs/API_docs_v86/constructors/auth.sentCodeTypeApp.md new file mode 100644 index 00000000..5f2d4aa3 --- /dev/null +++ b/old_docs/API_docs_v86/constructors/auth.sentCodeTypeApp.md @@ -0,0 +1,38 @@ +--- +title: auth.sentCodeTypeApp +description: The code was sent through the telegram app +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentCodeTypeApp +[Back to constructors index](index.md) + + + +The code was sent through the telegram app + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|length|[int](../types/int.md) | Yes|Length of the code in bytes| + + + +### Type: [auth.SentCodeType](../types/auth.SentCodeType.md) + + +### Example: + +```php +$auth.sentCodeTypeApp = ['_' => 'auth.sentCodeTypeApp', 'length' => int]; +``` + + +Or, if you're into Lua: + +```lua +auth.sentCodeTypeApp={_='auth.sentCodeTypeApp', length=int} + +``` + + diff --git a/old_docs/API_docs_v86/constructors/auth.sentCodeTypeCall.md b/old_docs/API_docs_v86/constructors/auth.sentCodeTypeCall.md new file mode 100644 index 00000000..9843b3df --- /dev/null +++ b/old_docs/API_docs_v86/constructors/auth.sentCodeTypeCall.md @@ -0,0 +1,38 @@ +--- +title: auth.sentCodeTypeCall +description: The code will be sent via a phone call: a synthesized voice will tell the user which verification code to input. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentCodeTypeCall +[Back to constructors index](index.md) + + + +The code will be sent via a phone call: a synthesized voice will tell the user which verification code to input. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|length|[int](../types/int.md) | Yes|Length of the verification code| + + + +### Type: [auth.SentCodeType](../types/auth.SentCodeType.md) + + +### Example: + +```php +$auth.sentCodeTypeCall = ['_' => 'auth.sentCodeTypeCall', 'length' => int]; +``` + + +Or, if you're into Lua: + +```lua +auth.sentCodeTypeCall={_='auth.sentCodeTypeCall', length=int} + +``` + + diff --git a/old_docs/API_docs_v86/constructors/auth.sentCodeTypeFlashCall.md b/old_docs/API_docs_v86/constructors/auth.sentCodeTypeFlashCall.md new file mode 100644 index 00000000..0d24751d --- /dev/null +++ b/old_docs/API_docs_v86/constructors/auth.sentCodeTypeFlashCall.md @@ -0,0 +1,38 @@ +--- +title: auth.sentCodeTypeFlashCall +description: The code will be sent via a flash phone call, that will be closed immediately. The phone code will then be the phone number itself, just make sure that the phone number matches the specified pattern. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentCodeTypeFlashCall +[Back to constructors index](index.md) + + + +The code will be sent via a flash phone call, that will be closed immediately. The phone code will then be the phone number itself, just make sure that the phone number matches the specified pattern. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pattern|[string](../types/string.md) | Yes|[pattern](https://core.telegram.org/api/pattern) to match| + + + +### Type: [auth.SentCodeType](../types/auth.SentCodeType.md) + + +### Example: + +```php +$auth.sentCodeTypeFlashCall = ['_' => 'auth.sentCodeTypeFlashCall', 'pattern' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +auth.sentCodeTypeFlashCall={_='auth.sentCodeTypeFlashCall', pattern='string'} + +``` + + diff --git a/old_docs/API_docs_v86/constructors/auth.sentCodeTypeSms.md b/old_docs/API_docs_v86/constructors/auth.sentCodeTypeSms.md new file mode 100644 index 00000000..d8ecb75e --- /dev/null +++ b/old_docs/API_docs_v86/constructors/auth.sentCodeTypeSms.md @@ -0,0 +1,38 @@ +--- +title: auth.sentCodeTypeSms +description: The code was sent via SMS +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentCodeTypeSms +[Back to constructors index](index.md) + + + +The code was sent via SMS + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|length|[int](../types/int.md) | Yes|Length of the code in bytes| + + + +### Type: [auth.SentCodeType](../types/auth.SentCodeType.md) + + +### Example: + +```php +$auth.sentCodeTypeSms = ['_' => 'auth.sentCodeTypeSms', 'length' => int]; +``` + + +Or, if you're into Lua: + +```lua +auth.sentCodeTypeSms={_='auth.sentCodeTypeSms', length=int} + +``` + + diff --git a/old_docs/API_docs_v86/constructors/auth_authorization.md b/old_docs/API_docs_v86/constructors/auth_authorization.md deleted file mode 100644 index cb72811d..00000000 --- a/old_docs/API_docs_v86/constructors/auth_authorization.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: auth.authorization -description: Contains user authorization info. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.authorization -[Back to constructors index](index.md) - - - -Contains user authorization info. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|tmp\_sessions|[int](../types/int.md) | Optional|Temporary [passport](https://core.telegram.org/passport) sessions| -|user|[User](../types/User.md) | Optional|Info on authorized user| - - - -### Type: [auth\_Authorization](../types/auth_Authorization.md) - - -### Example: - -```php -$auth_authorization = ['_' => 'auth.authorization', 'tmp_sessions' => int, 'user' => User]; -``` - - -Or, if you're into Lua: - -```lua -auth_authorization={_='auth.authorization', tmp_sessions=int, user=User} - -``` - - diff --git a/old_docs/API_docs_v86/constructors/auth_checkedPhone.md b/old_docs/API_docs_v86/constructors/auth_checkedPhone.md deleted file mode 100644 index c77becf6..00000000 --- a/old_docs/API_docs_v86/constructors/auth_checkedPhone.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.checkedPhone -description: Checked phone -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.checkedPhone -[Back to constructors index](index.md) - - - -Checked phone - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_registered|[Bool](../types/Bool.md) | Yes|Phone registered?| - - - -### Type: [auth\_CheckedPhone](../types/auth_CheckedPhone.md) - - -### Example: - -```php -$auth_checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool]; -``` - - -Or, if you're into Lua: - -```lua -auth_checkedPhone={_='auth.checkedPhone', phone_registered=Bool} - -``` - - diff --git a/old_docs/API_docs_v86/constructors/auth_codeTypeCall.md b/old_docs/API_docs_v86/constructors/auth_codeTypeCall.md deleted file mode 100644 index 3e957c2a..00000000 --- a/old_docs/API_docs_v86/constructors/auth_codeTypeCall.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: auth.codeTypeCall -description: Type of verification code that will be sent next if you call the resendCode method: SMS code -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.codeTypeCall -[Back to constructors index](index.md) - - - -Type of verification code that will be sent next if you call the resendCode method: SMS code - - - - -### Type: [auth\_CodeType](../types/auth_CodeType.md) - - -### Example: - -```php -$auth_codeTypeCall = ['_' => 'auth.codeTypeCall']; -``` - - -Or, if you're into Lua: - -```lua -auth_codeTypeCall={_='auth.codeTypeCall'} - -``` - - diff --git a/old_docs/API_docs_v86/constructors/auth_codeTypeFlashCall.md b/old_docs/API_docs_v86/constructors/auth_codeTypeFlashCall.md deleted file mode 100644 index 981b2461..00000000 --- a/old_docs/API_docs_v86/constructors/auth_codeTypeFlashCall.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: auth.codeTypeFlashCall -description: Type of verification code that will be sent next if you call the resendCode method: SMS code -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.codeTypeFlashCall -[Back to constructors index](index.md) - - - -Type of verification code that will be sent next if you call the resendCode method: SMS code - - - - -### Type: [auth\_CodeType](../types/auth_CodeType.md) - - -### Example: - -```php -$auth_codeTypeFlashCall = ['_' => 'auth.codeTypeFlashCall']; -``` - - -Or, if you're into Lua: - -```lua -auth_codeTypeFlashCall={_='auth.codeTypeFlashCall'} - -``` - - diff --git a/old_docs/API_docs_v86/constructors/auth_codeTypeSms.md b/old_docs/API_docs_v86/constructors/auth_codeTypeSms.md deleted file mode 100644 index 16eb5d0d..00000000 --- a/old_docs/API_docs_v86/constructors/auth_codeTypeSms.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: auth.codeTypeSms -description: Type of verification code that will be sent next if you call the resendCode method: SMS code -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.codeTypeSms -[Back to constructors index](index.md) - - - -Type of verification code that will be sent next if you call the resendCode method: SMS code - - - - -### Type: [auth\_CodeType](../types/auth_CodeType.md) - - -### Example: - -```php -$auth_codeTypeSms = ['_' => 'auth.codeTypeSms']; -``` - - -Or, if you're into Lua: - -```lua -auth_codeTypeSms={_='auth.codeTypeSms'} - -``` - - diff --git a/old_docs/API_docs_v86/constructors/auth_exportedAuthorization.md b/old_docs/API_docs_v86/constructors/auth_exportedAuthorization.md deleted file mode 100644 index 8d18916e..00000000 --- a/old_docs/API_docs_v86/constructors/auth_exportedAuthorization.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: auth.exportedAuthorization -description: Data for copying of authorization between data centres. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.exportedAuthorization -[Back to constructors index](index.md) - - - -Data for copying of authorization between data centres. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|id|[int](../types/int.md) | Yes|Current user identifier| -|bytes|[bytes](../types/bytes.md) | Yes|Authorizes key| - - - -### Type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) - - -### Example: - -```php -$auth_exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -auth_exportedAuthorization={_='auth.exportedAuthorization', id=int, bytes='bytes'} - -``` - - diff --git a/old_docs/API_docs_v86/constructors/auth_passwordRecovery.md b/old_docs/API_docs_v86/constructors/auth_passwordRecovery.md deleted file mode 100644 index c40f375e..00000000 --- a/old_docs/API_docs_v86/constructors/auth_passwordRecovery.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.passwordRecovery -description: Recovery info of a [2FA password](https://core.telegram.org/api/srp), only for accounts with a [recovery email configured](https://core.telegram.org/api/srp#email-verification). -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.passwordRecovery -[Back to constructors index](index.md) - - - -Recovery info of a [2FA password](https://core.telegram.org/api/srp), only for accounts with a [recovery email configured](https://core.telegram.org/api/srp#email-verification). - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|email\_pattern|[string](../types/string.md) | Yes|The email to which the recovery code was sent must match this [pattern](https://core.telegram.org/api/pattern).| - - - -### Type: [auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) - - -### Example: - -```php -$auth_passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -auth_passwordRecovery={_='auth.passwordRecovery', email_pattern='string'} - -``` - - diff --git a/old_docs/API_docs_v86/constructors/auth_sentCode.md b/old_docs/API_docs_v86/constructors/auth_sentCode.md deleted file mode 100644 index f34f844a..00000000 --- a/old_docs/API_docs_v86/constructors/auth_sentCode.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: auth.sentCode -description: Contains info about a sent verification code. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentCode -[Back to constructors index](index.md) - - - -Contains info about a sent verification code. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_registered|[Bool](../types/Bool.md) | Optional|Phone registered?| -|type|[auth\_SentCodeType](../types/auth_SentCodeType.md) | Yes|Phone code type| -|phone\_code\_hash|[string](../types/string.md) | Yes|Phone code hash, to be stored and later re-used with [auth.signIn](../methods/auth.signIn.md)| -|next\_type|[auth\_CodeType](../types/auth_CodeType.md) | Optional|Phone code type that will be sent next, if the phone code is not received within `timeout` seconds: to send it use [auth.resendCode](../methods/auth.resendCode.md)| -|timeout|[int](../types/int.md) | Optional|Timeout for reception of the phone code| -|terms\_of\_service|[help\_TermsOfService](../types/help_TermsOfService.md) | Optional|Terms of service| - - - -### Type: [auth\_SentCode](../types/auth_SentCode.md) - - -### Example: - -```php -$auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'type' => auth_SentCodeType, 'phone_code_hash' => 'string', 'next_type' => auth_CodeType, 'timeout' => int, 'terms_of_service' => help_TermsOfService]; -``` - - -Or, if you're into Lua: - -```lua -auth_sentCode={_='auth.sentCode', phone_registered=Bool, type=auth_SentCodeType, phone_code_hash='string', next_type=auth_CodeType, timeout=int, terms_of_service=help_TermsOfService} - -``` - - diff --git a/old_docs/API_docs_v86/constructors/auth_sentCodeTypeApp.md b/old_docs/API_docs_v86/constructors/auth_sentCodeTypeApp.md deleted file mode 100644 index 6b7ad824..00000000 --- a/old_docs/API_docs_v86/constructors/auth_sentCodeTypeApp.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.sentCodeTypeApp -description: The code was sent through the telegram app -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentCodeTypeApp -[Back to constructors index](index.md) - - - -The code was sent through the telegram app - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|length|[int](../types/int.md) | Yes|Length of the code in bytes| - - - -### Type: [auth\_SentCodeType](../types/auth_SentCodeType.md) - - -### Example: - -```php -$auth_sentCodeTypeApp = ['_' => 'auth.sentCodeTypeApp', 'length' => int]; -``` - - -Or, if you're into Lua: - -```lua -auth_sentCodeTypeApp={_='auth.sentCodeTypeApp', length=int} - -``` - - diff --git a/old_docs/API_docs_v86/constructors/auth_sentCodeTypeCall.md b/old_docs/API_docs_v86/constructors/auth_sentCodeTypeCall.md deleted file mode 100644 index bf025aa5..00000000 --- a/old_docs/API_docs_v86/constructors/auth_sentCodeTypeCall.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.sentCodeTypeCall -description: The code will be sent via a phone call: a synthesized voice will tell the user which verification code to input. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentCodeTypeCall -[Back to constructors index](index.md) - - - -The code will be sent via a phone call: a synthesized voice will tell the user which verification code to input. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|length|[int](../types/int.md) | Yes|Length of the verification code| - - - -### Type: [auth\_SentCodeType](../types/auth_SentCodeType.md) - - -### Example: - -```php -$auth_sentCodeTypeCall = ['_' => 'auth.sentCodeTypeCall', 'length' => int]; -``` - - -Or, if you're into Lua: - -```lua -auth_sentCodeTypeCall={_='auth.sentCodeTypeCall', length=int} - -``` - - diff --git a/old_docs/API_docs_v86/constructors/auth_sentCodeTypeFlashCall.md b/old_docs/API_docs_v86/constructors/auth_sentCodeTypeFlashCall.md deleted file mode 100644 index efe64ce7..00000000 --- a/old_docs/API_docs_v86/constructors/auth_sentCodeTypeFlashCall.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.sentCodeTypeFlashCall -description: The code will be sent via a flash phone call, that will be closed immediately. The phone code will then be the phone number itself, just make sure that the phone number matches the specified pattern. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentCodeTypeFlashCall -[Back to constructors index](index.md) - - - -The code will be sent via a flash phone call, that will be closed immediately. The phone code will then be the phone number itself, just make sure that the phone number matches the specified pattern. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pattern|[string](../types/string.md) | Yes|[pattern](https://core.telegram.org/api/pattern) to match| - - - -### Type: [auth\_SentCodeType](../types/auth_SentCodeType.md) - - -### Example: - -```php -$auth_sentCodeTypeFlashCall = ['_' => 'auth.sentCodeTypeFlashCall', 'pattern' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -auth_sentCodeTypeFlashCall={_='auth.sentCodeTypeFlashCall', pattern='string'} - -``` - - diff --git a/old_docs/API_docs_v86/constructors/auth_sentCodeTypeSms.md b/old_docs/API_docs_v86/constructors/auth_sentCodeTypeSms.md deleted file mode 100644 index 8e27dac9..00000000 --- a/old_docs/API_docs_v86/constructors/auth_sentCodeTypeSms.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.sentCodeTypeSms -description: The code was sent via SMS -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentCodeTypeSms -[Back to constructors index](index.md) - - - -The code was sent via SMS - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|length|[int](../types/int.md) | Yes|Length of the code in bytes| - - - -### Type: [auth\_SentCodeType](../types/auth_SentCodeType.md) - - -### Example: - -```php -$auth_sentCodeTypeSms = ['_' => 'auth.sentCodeTypeSms', 'length' => int]; -``` - - -Or, if you're into Lua: - -```lua -auth_sentCodeTypeSms={_='auth.sentCodeTypeSms', length=int} - -``` - - diff --git a/old_docs/API_docs_v86/constructors/channels.adminLogResults.md b/old_docs/API_docs_v86/constructors/channels.adminLogResults.md new file mode 100644 index 00000000..fc4e234a --- /dev/null +++ b/old_docs/API_docs_v86/constructors/channels.adminLogResults.md @@ -0,0 +1,40 @@ +--- +title: channels.adminLogResults +description: Admin log events +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: channels.adminLogResults +[Back to constructors index](index.md) + + + +Admin log events + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|events|Array of [ChannelAdminLogEvent](../types/ChannelAdminLogEvent.md) | Yes|Events| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [channels.AdminLogResults](../types/channels.AdminLogResults.md) + + +### Example: + +```php +$channels.adminLogResults = ['_' => 'channels.adminLogResults', 'events' => [ChannelAdminLogEvent, ChannelAdminLogEvent], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +channels.adminLogResults={_='channels.adminLogResults', events={ChannelAdminLogEvent}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v86/constructors/channels.channelParticipant.md b/old_docs/API_docs_v86/constructors/channels.channelParticipant.md new file mode 100644 index 00000000..0f09777f --- /dev/null +++ b/old_docs/API_docs_v86/constructors/channels.channelParticipant.md @@ -0,0 +1,39 @@ +--- +title: channels.channelParticipant +description: Represents a channel participant +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: channels.channelParticipant +[Back to constructors index](index.md) + + + +Represents a channel participant + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|participant|[ChannelParticipant](../types/ChannelParticipant.md) | Yes|The channel participant| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [channels.ChannelParticipant](../types/channels.ChannelParticipant.md) + + +### Example: + +```php +$channels.channelParticipant = ['_' => 'channels.channelParticipant', 'participant' => ChannelParticipant, 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +channels.channelParticipant={_='channels.channelParticipant', participant=ChannelParticipant, users={User}} + +``` + + diff --git a/old_docs/API_docs_v86/constructors/channels.channelParticipants.md b/old_docs/API_docs_v86/constructors/channels.channelParticipants.md new file mode 100644 index 00000000..6ee1a8b3 --- /dev/null +++ b/old_docs/API_docs_v86/constructors/channels.channelParticipants.md @@ -0,0 +1,40 @@ +--- +title: channels.channelParticipants +description: Represents multiple channel participants +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: channels.channelParticipants +[Back to constructors index](index.md) + + + +Represents multiple channel participants + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of participants that correspond to the given query| +|participants|Array of [ChannelParticipant](../types/ChannelParticipant.md) | Yes|Participants| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [channels.ChannelParticipants](../types/channels.ChannelParticipants.md) + + +### Example: + +```php +$channels.channelParticipants = ['_' => 'channels.channelParticipants', 'count' => int, 'participants' => [ChannelParticipant, ChannelParticipant], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +channels.channelParticipants={_='channels.channelParticipants', count=int, participants={ChannelParticipant}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v86/constructors/channels.channelParticipantsNotModified.md b/old_docs/API_docs_v86/constructors/channels.channelParticipantsNotModified.md new file mode 100644 index 00000000..37ece73a --- /dev/null +++ b/old_docs/API_docs_v86/constructors/channels.channelParticipantsNotModified.md @@ -0,0 +1,33 @@ +--- +title: channels.channelParticipantsNotModified +description: No new participant info could be found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: channels.channelParticipantsNotModified +[Back to constructors index](index.md) + + + +No new participant info could be found + + + + +### Type: [channels.ChannelParticipants](../types/channels.ChannelParticipants.md) + + +### Example: + +```php +$channels.channelParticipantsNotModified = ['_' => 'channels.channelParticipantsNotModified']; +``` + + +Or, if you're into Lua: + +```lua +channels.channelParticipantsNotModified={_='channels.channelParticipantsNotModified'} + +``` + + diff --git a/old_docs/API_docs_v86/constructors/channels_adminLogResults.md b/old_docs/API_docs_v86/constructors/channels_adminLogResults.md deleted file mode 100644 index 9061212a..00000000 --- a/old_docs/API_docs_v86/constructors/channels_adminLogResults.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: channels.adminLogResults -description: Admin log events -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: channels.adminLogResults -[Back to constructors index](index.md) - - - -Admin log events - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|events|Array of [ChannelAdminLogEvent](../types/ChannelAdminLogEvent.md) | Yes|Events| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [channels\_AdminLogResults](../types/channels_AdminLogResults.md) - - -### Example: - -```php -$channels_adminLogResults = ['_' => 'channels.adminLogResults', 'events' => [ChannelAdminLogEvent, ChannelAdminLogEvent], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -channels_adminLogResults={_='channels.adminLogResults', events={ChannelAdminLogEvent}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v86/constructors/channels_channelParticipant.md b/old_docs/API_docs_v86/constructors/channels_channelParticipant.md deleted file mode 100644 index 15fe46a4..00000000 --- a/old_docs/API_docs_v86/constructors/channels_channelParticipant.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: channels.channelParticipant -description: Represents a channel participant -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: channels.channelParticipant -[Back to constructors index](index.md) - - - -Represents a channel participant - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|participant|[ChannelParticipant](../types/ChannelParticipant.md) | Yes|The channel participant| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [channels\_ChannelParticipant](../types/channels_ChannelParticipant.md) - - -### Example: - -```php -$channels_channelParticipant = ['_' => 'channels.channelParticipant', 'participant' => ChannelParticipant, 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -channels_channelParticipant={_='channels.channelParticipant', participant=ChannelParticipant, users={User}} - -``` - - diff --git a/old_docs/API_docs_v86/constructors/channels_channelParticipants.md b/old_docs/API_docs_v86/constructors/channels_channelParticipants.md deleted file mode 100644 index 1848a04f..00000000 --- a/old_docs/API_docs_v86/constructors/channels_channelParticipants.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: channels.channelParticipants -description: Represents multiple channel participants -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: channels.channelParticipants -[Back to constructors index](index.md) - - - -Represents multiple channel participants - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of participants that correspond to the given query| -|participants|Array of [ChannelParticipant](../types/ChannelParticipant.md) | Yes|Participants| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [channels\_ChannelParticipants](../types/channels_ChannelParticipants.md) - - -### Example: - -```php -$channels_channelParticipants = ['_' => 'channels.channelParticipants', 'count' => int, 'participants' => [ChannelParticipant, ChannelParticipant], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -channels_channelParticipants={_='channels.channelParticipants', count=int, participants={ChannelParticipant}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v86/constructors/channels_channelParticipantsNotModified.md b/old_docs/API_docs_v86/constructors/channels_channelParticipantsNotModified.md deleted file mode 100644 index 800048f7..00000000 --- a/old_docs/API_docs_v86/constructors/channels_channelParticipantsNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: channels.channelParticipantsNotModified -description: No new participant info could be found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: channels.channelParticipantsNotModified -[Back to constructors index](index.md) - - - -No new participant info could be found - - - - -### Type: [channels\_ChannelParticipants](../types/channels_ChannelParticipants.md) - - -### Example: - -```php -$channels_channelParticipantsNotModified = ['_' => 'channels.channelParticipantsNotModified']; -``` - - -Or, if you're into Lua: - -```lua -channels_channelParticipantsNotModified={_='channels.channelParticipantsNotModified'} - -``` - - diff --git a/old_docs/API_docs_v86/constructors/contacts.blocked.md b/old_docs/API_docs_v86/constructors/contacts.blocked.md new file mode 100644 index 00000000..d2b3f680 --- /dev/null +++ b/old_docs/API_docs_v86/constructors/contacts.blocked.md @@ -0,0 +1,39 @@ +--- +title: contacts.blocked +description: Full list of blocked users. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.blocked +[Back to constructors index](index.md) + + + +Full list of blocked users. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Blocked](../types/contacts.Blocked.md) + + +### Example: + +```php +$contacts.blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.blocked={_='contacts.blocked', blocked={ContactBlocked}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v86/constructors/contacts.blockedSlice.md b/old_docs/API_docs_v86/constructors/contacts.blockedSlice.md new file mode 100644 index 00000000..92d19c72 --- /dev/null +++ b/old_docs/API_docs_v86/constructors/contacts.blockedSlice.md @@ -0,0 +1,40 @@ +--- +title: contacts.blockedSlice +description: Incomplete list of blocked users. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.blockedSlice +[Back to constructors index](index.md) + + + +Incomplete list of blocked users. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of elements in the list| +|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Blocked](../types/contacts.Blocked.md) + + +### Example: + +```php +$contacts.blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.blockedSlice={_='contacts.blockedSlice', count=int, blocked={ContactBlocked}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v86/constructors/contacts.contacts.md b/old_docs/API_docs_v86/constructors/contacts.contacts.md new file mode 100644 index 00000000..c3251e5d --- /dev/null +++ b/old_docs/API_docs_v86/constructors/contacts.contacts.md @@ -0,0 +1,40 @@ +--- +title: contacts.contacts +description: The current user's contact list and info on users. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.contacts +[Back to constructors index](index.md) + + + +The current user's contact list and info on users. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|contacts|Array of [Contact](../types/Contact.md) | Yes|Contacts| +|saved\_count|[int](../types/int.md) | Yes|Number of contacts that were saved successfully| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Contacts](../types/contacts.Contacts.md) + + +### Example: + +```php +$contacts.contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact, Contact], 'saved_count' => int, 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.contacts={_='contacts.contacts', contacts={Contact}, saved_count=int, users={User}} + +``` + + diff --git a/old_docs/API_docs_v86/constructors/contacts.contactsNotModified.md b/old_docs/API_docs_v86/constructors/contacts.contactsNotModified.md new file mode 100644 index 00000000..e2149396 --- /dev/null +++ b/old_docs/API_docs_v86/constructors/contacts.contactsNotModified.md @@ -0,0 +1,33 @@ +--- +title: contacts.contactsNotModified +description: Contact list on the server is the same as the list on the client. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.contactsNotModified +[Back to constructors index](index.md) + + + +Contact list on the server is the same as the list on the client. + + + + +### Type: [contacts.Contacts](../types/contacts.Contacts.md) + + +### Example: + +```php +$contacts.contactsNotModified = ['_' => 'contacts.contactsNotModified']; +``` + + +Or, if you're into Lua: + +```lua +contacts.contactsNotModified={_='contacts.contactsNotModified'} + +``` + + diff --git a/old_docs/API_docs_v86/constructors/contacts.found.md b/old_docs/API_docs_v86/constructors/contacts.found.md new file mode 100644 index 00000000..65df2f8d --- /dev/null +++ b/old_docs/API_docs_v86/constructors/contacts.found.md @@ -0,0 +1,41 @@ +--- +title: contacts.found +description: Users found by name substring and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.found +[Back to constructors index](index.md) + + + +Users found by name substring and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|my\_results|Array of [Peer](../types/Peer.md) | Yes|My results| +|results|Array of [Peer](../types/Peer.md) | Yes|Results| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Found](../types/contacts.Found.md) + + +### Example: + +```php +$contacts.found = ['_' => 'contacts.found', 'my_results' => [Peer, Peer], 'results' => [Peer, Peer], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.found={_='contacts.found', my_results={Peer}, results={Peer}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v86/constructors/contacts.importedContacts.md b/old_docs/API_docs_v86/constructors/contacts.importedContacts.md new file mode 100644 index 00000000..20075931 --- /dev/null +++ b/old_docs/API_docs_v86/constructors/contacts.importedContacts.md @@ -0,0 +1,41 @@ +--- +title: contacts.importedContacts +description: Info on succesfully imported contacts. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.importedContacts +[Back to constructors index](index.md) + + + +Info on succesfully imported contacts. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|imported|Array of [ImportedContact](../types/ImportedContact.md) | Yes|Imported| +|popular\_invites|Array of [PopularContact](../types/PopularContact.md) | Yes|Popular invites| +|retry\_contacts|Array of [long](../types/long.md) | Yes|Retry importing contacts whose client IDs appear here| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.ImportedContacts](../types/contacts.ImportedContacts.md) + + +### Example: + +```php +$contacts.importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact, ImportedContact], 'popular_invites' => [PopularContact, PopularContact], 'retry_contacts' => [long, long], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.importedContacts={_='contacts.importedContacts', imported={ImportedContact}, popular_invites={PopularContact}, retry_contacts={long}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v86/constructors/contacts.link.md b/old_docs/API_docs_v86/constructors/contacts.link.md new file mode 100644 index 00000000..ab150a0d --- /dev/null +++ b/old_docs/API_docs_v86/constructors/contacts.link.md @@ -0,0 +1,40 @@ +--- +title: contacts.link +description: Link +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.link +[Back to constructors index](index.md) + + + +Link + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|my\_link|[ContactLink](../types/ContactLink.md) | Yes|My link| +|foreign\_link|[ContactLink](../types/ContactLink.md) | Yes|Foreign link| +|user|[User](../types/User.md) | Optional|User| + + + +### Type: [contacts.Link](../types/contacts.Link.md) + + +### Example: + +```php +$contacts.link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User]; +``` + + +Or, if you're into Lua: + +```lua +contacts.link={_='contacts.link', my_link=ContactLink, foreign_link=ContactLink, user=User} + +``` + + diff --git a/old_docs/API_docs_v86/constructors/contacts.resolvedPeer.md b/old_docs/API_docs_v86/constructors/contacts.resolvedPeer.md new file mode 100644 index 00000000..35d88481 --- /dev/null +++ b/old_docs/API_docs_v86/constructors/contacts.resolvedPeer.md @@ -0,0 +1,40 @@ +--- +title: contacts.resolvedPeer +description: Resolved peer +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.resolvedPeer +[Back to constructors index](index.md) + + + +Resolved peer + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|peer|[Peer](../types/Peer.md) | Yes|The peer| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.ResolvedPeer](../types/contacts.ResolvedPeer.md) + + +### Example: + +```php +$contacts.resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.resolvedPeer={_='contacts.resolvedPeer', peer=Peer, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v86/constructors/contacts.topPeers.md b/old_docs/API_docs_v86/constructors/contacts.topPeers.md new file mode 100644 index 00000000..19d9c712 --- /dev/null +++ b/old_docs/API_docs_v86/constructors/contacts.topPeers.md @@ -0,0 +1,40 @@ +--- +title: contacts.topPeers +description: Top peers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.topPeers +[Back to constructors index](index.md) + + + +Top peers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|categories|Array of [TopPeerCategoryPeers](../types/TopPeerCategoryPeers.md) | Yes|Categories| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.TopPeers](../types/contacts.TopPeers.md) + + +### Example: + +```php +$contacts.topPeers = ['_' => 'contacts.topPeers', 'categories' => [TopPeerCategoryPeers, TopPeerCategoryPeers], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.topPeers={_='contacts.topPeers', categories={TopPeerCategoryPeers}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v86/constructors/contacts.topPeersDisabled.md b/old_docs/API_docs_v86/constructors/contacts.topPeersDisabled.md new file mode 100644 index 00000000..a0e2c50b --- /dev/null +++ b/old_docs/API_docs_v86/constructors/contacts.topPeersDisabled.md @@ -0,0 +1,33 @@ +--- +title: contacts.topPeersDisabled +description: Top peers disabled +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.topPeersDisabled +[Back to constructors index](index.md) + + + +Top peers disabled + + + + +### Type: [contacts.TopPeers](../types/contacts.TopPeers.md) + + +### Example: + +```php +$contacts.topPeersDisabled = ['_' => 'contacts.topPeersDisabled']; +``` + + +Or, if you're into Lua: + +```lua +contacts.topPeersDisabled={_='contacts.topPeersDisabled'} + +``` + + diff --git a/old_docs/API_docs_v86/constructors/contacts.topPeersNotModified.md b/old_docs/API_docs_v86/constructors/contacts.topPeersNotModified.md new file mode 100644 index 00000000..77c5eb4d --- /dev/null +++ b/old_docs/API_docs_v86/constructors/contacts.topPeersNotModified.md @@ -0,0 +1,33 @@ +--- +title: contacts.topPeersNotModified +description: Top peer info hasn't changed +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.topPeersNotModified +[Back to constructors index](index.md) + + + +Top peer info hasn't changed + + + + +### Type: [contacts.TopPeers](../types/contacts.TopPeers.md) + + +### Example: + +```php +$contacts.topPeersNotModified = ['_' => 'contacts.topPeersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +contacts.topPeersNotModified={_='contacts.topPeersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v86/constructors/contacts_blocked.md b/old_docs/API_docs_v86/constructors/contacts_blocked.md deleted file mode 100644 index 20e33002..00000000 --- a/old_docs/API_docs_v86/constructors/contacts_blocked.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: contacts.blocked -description: Full list of blocked users. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.blocked -[Back to constructors index](index.md) - - - -Full list of blocked users. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Blocked](../types/contacts_Blocked.md) - - -### Example: - -```php -$contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_blocked={_='contacts.blocked', blocked={ContactBlocked}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v86/constructors/contacts_blockedSlice.md b/old_docs/API_docs_v86/constructors/contacts_blockedSlice.md deleted file mode 100644 index fcab9a28..00000000 --- a/old_docs/API_docs_v86/constructors/contacts_blockedSlice.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.blockedSlice -description: Incomplete list of blocked users. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.blockedSlice -[Back to constructors index](index.md) - - - -Incomplete list of blocked users. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of elements in the list| -|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Blocked](../types/contacts_Blocked.md) - - -### Example: - -```php -$contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_blockedSlice={_='contacts.blockedSlice', count=int, blocked={ContactBlocked}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v86/constructors/contacts_contacts.md b/old_docs/API_docs_v86/constructors/contacts_contacts.md deleted file mode 100644 index 0e6f0dd3..00000000 --- a/old_docs/API_docs_v86/constructors/contacts_contacts.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.contacts -description: The current user's contact list and info on users. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.contacts -[Back to constructors index](index.md) - - - -The current user's contact list and info on users. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|contacts|Array of [Contact](../types/Contact.md) | Yes|Contacts| -|saved\_count|[int](../types/int.md) | Yes|Number of contacts that were saved successfully| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Contacts](../types/contacts_Contacts.md) - - -### Example: - -```php -$contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact, Contact], 'saved_count' => int, 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_contacts={_='contacts.contacts', contacts={Contact}, saved_count=int, users={User}} - -``` - - diff --git a/old_docs/API_docs_v86/constructors/contacts_contactsNotModified.md b/old_docs/API_docs_v86/constructors/contacts_contactsNotModified.md deleted file mode 100644 index 17e76ac3..00000000 --- a/old_docs/API_docs_v86/constructors/contacts_contactsNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: contacts.contactsNotModified -description: Contact list on the server is the same as the list on the client. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.contactsNotModified -[Back to constructors index](index.md) - - - -Contact list on the server is the same as the list on the client. - - - - -### Type: [contacts\_Contacts](../types/contacts_Contacts.md) - - -### Example: - -```php -$contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified']; -``` - - -Or, if you're into Lua: - -```lua -contacts_contactsNotModified={_='contacts.contactsNotModified'} - -``` - - diff --git a/old_docs/API_docs_v86/constructors/contacts_found.md b/old_docs/API_docs_v86/constructors/contacts_found.md deleted file mode 100644 index 76b9aa0c..00000000 --- a/old_docs/API_docs_v86/constructors/contacts_found.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: contacts.found -description: Users found by name substring and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.found -[Back to constructors index](index.md) - - - -Users found by name substring and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|my\_results|Array of [Peer](../types/Peer.md) | Yes|My results| -|results|Array of [Peer](../types/Peer.md) | Yes|Results| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Found](../types/contacts_Found.md) - - -### Example: - -```php -$contacts_found = ['_' => 'contacts.found', 'my_results' => [Peer, Peer], 'results' => [Peer, Peer], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_found={_='contacts.found', my_results={Peer}, results={Peer}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v86/constructors/contacts_importedContacts.md b/old_docs/API_docs_v86/constructors/contacts_importedContacts.md deleted file mode 100644 index e534754b..00000000 --- a/old_docs/API_docs_v86/constructors/contacts_importedContacts.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: contacts.importedContacts -description: Info on succesfully imported contacts. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.importedContacts -[Back to constructors index](index.md) - - - -Info on succesfully imported contacts. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|imported|Array of [ImportedContact](../types/ImportedContact.md) | Yes|Imported| -|popular\_invites|Array of [PopularContact](../types/PopularContact.md) | Yes|Popular invites| -|retry\_contacts|Array of [long](../types/long.md) | Yes|Retry importing contacts whose client IDs appear here| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) - - -### Example: - -```php -$contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact, ImportedContact], 'popular_invites' => [PopularContact, PopularContact], 'retry_contacts' => [long, long], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_importedContacts={_='contacts.importedContacts', imported={ImportedContact}, popular_invites={PopularContact}, retry_contacts={long}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v86/constructors/contacts_link.md b/old_docs/API_docs_v86/constructors/contacts_link.md deleted file mode 100644 index cfc566c7..00000000 --- a/old_docs/API_docs_v86/constructors/contacts_link.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.link -description: Link -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.link -[Back to constructors index](index.md) - - - -Link - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|my\_link|[ContactLink](../types/ContactLink.md) | Yes|My link| -|foreign\_link|[ContactLink](../types/ContactLink.md) | Yes|Foreign link| -|user|[User](../types/User.md) | Optional|User| - - - -### Type: [contacts\_Link](../types/contacts_Link.md) - - -### Example: - -```php -$contacts_link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User]; -``` - - -Or, if you're into Lua: - -```lua -contacts_link={_='contacts.link', my_link=ContactLink, foreign_link=ContactLink, user=User} - -``` - - diff --git a/old_docs/API_docs_v86/constructors/contacts_resolvedPeer.md b/old_docs/API_docs_v86/constructors/contacts_resolvedPeer.md deleted file mode 100644 index aae3c7af..00000000 --- a/old_docs/API_docs_v86/constructors/contacts_resolvedPeer.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.resolvedPeer -description: Resolved peer -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.resolvedPeer -[Back to constructors index](index.md) - - - -Resolved peer - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|peer|[Peer](../types/Peer.md) | Yes|The peer| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_ResolvedPeer](../types/contacts_ResolvedPeer.md) - - -### Example: - -```php -$contacts_resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_resolvedPeer={_='contacts.resolvedPeer', peer=Peer, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v86/constructors/contacts_topPeers.md b/old_docs/API_docs_v86/constructors/contacts_topPeers.md deleted file mode 100644 index 77bc07d3..00000000 --- a/old_docs/API_docs_v86/constructors/contacts_topPeers.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.topPeers -description: Top peers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.topPeers -[Back to constructors index](index.md) - - - -Top peers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|categories|Array of [TopPeerCategoryPeers](../types/TopPeerCategoryPeers.md) | Yes|Categories| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_TopPeers](../types/contacts_TopPeers.md) - - -### Example: - -```php -$contacts_topPeers = ['_' => 'contacts.topPeers', 'categories' => [TopPeerCategoryPeers, TopPeerCategoryPeers], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_topPeers={_='contacts.topPeers', categories={TopPeerCategoryPeers}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v86/constructors/contacts_topPeersDisabled.md b/old_docs/API_docs_v86/constructors/contacts_topPeersDisabled.md deleted file mode 100644 index e359a76d..00000000 --- a/old_docs/API_docs_v86/constructors/contacts_topPeersDisabled.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: contacts.topPeersDisabled -description: Top peers disabled -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.topPeersDisabled -[Back to constructors index](index.md) - - - -Top peers disabled - - - - -### Type: [contacts\_TopPeers](../types/contacts_TopPeers.md) - - -### Example: - -```php -$contacts_topPeersDisabled = ['_' => 'contacts.topPeersDisabled']; -``` - - -Or, if you're into Lua: - -```lua -contacts_topPeersDisabled={_='contacts.topPeersDisabled'} - -``` - - diff --git a/old_docs/API_docs_v86/constructors/contacts_topPeersNotModified.md b/old_docs/API_docs_v86/constructors/contacts_topPeersNotModified.md deleted file mode 100644 index 43eae59d..00000000 --- a/old_docs/API_docs_v86/constructors/contacts_topPeersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: contacts.topPeersNotModified -description: Top peer info hasn't changed -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.topPeersNotModified -[Back to constructors index](index.md) - - - -Top peer info hasn't changed - - - - -### Type: [contacts\_TopPeers](../types/contacts_TopPeers.md) - - -### Example: - -```php -$contacts_topPeersNotModified = ['_' => 'contacts.topPeersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -contacts_topPeersNotModified={_='contacts.topPeersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v86/constructors/help.appUpdate.md b/old_docs/API_docs_v86/constructors/help.appUpdate.md new file mode 100644 index 00000000..90b41636 --- /dev/null +++ b/old_docs/API_docs_v86/constructors/help.appUpdate.md @@ -0,0 +1,44 @@ +--- +title: help.appUpdate +description: An update is available for the application. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.appUpdate +[Back to constructors index](index.md) + + + +An update is available for the application. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|popup|[Bool](../types/Bool.md) | Optional|Popup?| +|id|[int](../types/int.md) | Yes|Update ID| +|version|[string](../types/string.md) | Yes|New version name| +|text|[string](../types/string.md) | Yes|Text description of the update| +|entities|Array of [MessageEntity](../types/MessageEntity.md) | Yes|Entities| +|document|[Document](../types/Document.md) | Optional|Attached document| +|url|[string](../types/string.md) | Optional|Application download URL| + + + +### Type: [help.AppUpdate](../types/help.AppUpdate.md) + + +### Example: + +```php +$help.appUpdate = ['_' => 'help.appUpdate', 'popup' => Bool, 'id' => int, 'version' => 'string', 'text' => 'string', 'entities' => [MessageEntity, MessageEntity], 'document' => Document, 'url' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +help.appUpdate={_='help.appUpdate', popup=Bool, id=int, version='string', text='string', entities={MessageEntity}, document=Document, url='string'} + +``` + + diff --git a/old_docs/API_docs_v86/constructors/help.configSimple.md b/old_docs/API_docs_v86/constructors/help.configSimple.md new file mode 100644 index 00000000..4070e1ce --- /dev/null +++ b/old_docs/API_docs_v86/constructors/help.configSimple.md @@ -0,0 +1,40 @@ +--- +title: help.configSimple +description: Config simple +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.configSimple +[Back to constructors index](index.md) + + + +Config simple + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Date| +|expires|[int](../types/int.md) | Yes|Expires| +|rules|Array of [AccessPointRule](../types/AccessPointRule.md) | Yes|Rules| + + + +### Type: [help.ConfigSimple](../types/help.ConfigSimple.md) + + +### Example: + +```php +$help.configSimple = ['_' => 'help.configSimple', 'date' => int, 'expires' => int, 'rules' => [AccessPointRule, AccessPointRule]]; +``` + + +Or, if you're into Lua: + +```lua +help.configSimple={_='help.configSimple', date=int, expires=int, rules={AccessPointRule}} + +``` + + diff --git a/old_docs/API_docs_v86/constructors/help.deepLinkInfo.md b/old_docs/API_docs_v86/constructors/help.deepLinkInfo.md new file mode 100644 index 00000000..78f70af0 --- /dev/null +++ b/old_docs/API_docs_v86/constructors/help.deepLinkInfo.md @@ -0,0 +1,40 @@ +--- +title: help.deepLinkInfo +description: Deep linking info +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.deepLinkInfo +[Back to constructors index](index.md) + + + +Deep linking info + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|update\_app|[Bool](../types/Bool.md) | Optional|An update of the app is required to parse this link| +|message|[string](../types/string.md) | Yes|Message to show to the user| +|entities|Array of [MessageEntity](../types/MessageEntity.md) | Optional|Entities| + + + +### Type: [help.DeepLinkInfo](../types/help.DeepLinkInfo.md) + + +### Example: + +```php +$help.deepLinkInfo = ['_' => 'help.deepLinkInfo', 'update_app' => Bool, 'message' => 'string', 'entities' => [MessageEntity, MessageEntity]]; +``` + + +Or, if you're into Lua: + +```lua +help.deepLinkInfo={_='help.deepLinkInfo', update_app=Bool, message='string', entities={MessageEntity}} + +``` + + diff --git a/old_docs/API_docs_v86/constructors/help.deepLinkInfoEmpty.md b/old_docs/API_docs_v86/constructors/help.deepLinkInfoEmpty.md new file mode 100644 index 00000000..dc99166c --- /dev/null +++ b/old_docs/API_docs_v86/constructors/help.deepLinkInfoEmpty.md @@ -0,0 +1,33 @@ +--- +title: help.deepLinkInfoEmpty +description: Deep link info empty +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.deepLinkInfoEmpty +[Back to constructors index](index.md) + + + +Deep link info empty + + + + +### Type: [help.DeepLinkInfo](../types/help.DeepLinkInfo.md) + + +### Example: + +```php +$help.deepLinkInfoEmpty = ['_' => 'help.deepLinkInfoEmpty']; +``` + + +Or, if you're into Lua: + +```lua +help.deepLinkInfoEmpty={_='help.deepLinkInfoEmpty'} + +``` + + diff --git a/old_docs/API_docs_v86/constructors/help.inviteText.md b/old_docs/API_docs_v86/constructors/help.inviteText.md new file mode 100644 index 00000000..6a6261c1 --- /dev/null +++ b/old_docs/API_docs_v86/constructors/help.inviteText.md @@ -0,0 +1,38 @@ +--- +title: help.inviteText +description: Text of a text message with an invitation to install application. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.inviteText +[Back to constructors index](index.md) + + + +Text of a text message with an invitation to install application. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|message|[string](../types/string.md) | Yes|Text of a message| + + + +### Type: [help.InviteText](../types/help.InviteText.md) + + +### Example: + +```php +$help.inviteText = ['_' => 'help.inviteText', 'message' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +help.inviteText={_='help.inviteText', message='string'} + +``` + + diff --git a/old_docs/API_docs_v86/constructors/help.noAppUpdate.md b/old_docs/API_docs_v86/constructors/help.noAppUpdate.md new file mode 100644 index 00000000..1b69ac9a --- /dev/null +++ b/old_docs/API_docs_v86/constructors/help.noAppUpdate.md @@ -0,0 +1,33 @@ +--- +title: help.noAppUpdate +description: No updates are available for the application. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.noAppUpdate +[Back to constructors index](index.md) + + + +No updates are available for the application. + + + + +### Type: [help.AppUpdate](../types/help.AppUpdate.md) + + +### Example: + +```php +$help.noAppUpdate = ['_' => 'help.noAppUpdate']; +``` + + +Or, if you're into Lua: + +```lua +help.noAppUpdate={_='help.noAppUpdate'} + +``` + + diff --git a/old_docs/API_docs_v86/constructors/help.passportConfig.md b/old_docs/API_docs_v86/constructors/help.passportConfig.md new file mode 100644 index 00000000..b418b611 --- /dev/null +++ b/old_docs/API_docs_v86/constructors/help.passportConfig.md @@ -0,0 +1,39 @@ +--- +title: help.passportConfig +description: Telegram [passport](https://core.telegram.org/passport) configuration +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.passportConfig +[Back to constructors index](index.md) + + + +Telegram [passport](https://core.telegram.org/passport) configuration + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|countries\_langs|[DataJSON](../types/DataJSON.md) | Yes|Localization| + + + +### Type: [help.PassportConfig](../types/help.PassportConfig.md) + + +### Example: + +```php +$help.passportConfig = ['_' => 'help.passportConfig', 'hash' => int, 'countries_langs' => DataJSON]; +``` + + +Or, if you're into Lua: + +```lua +help.passportConfig={_='help.passportConfig', hash=int, countries_langs=DataJSON} + +``` + + diff --git a/old_docs/API_docs_v86/constructors/help.passportConfigNotModified.md b/old_docs/API_docs_v86/constructors/help.passportConfigNotModified.md new file mode 100644 index 00000000..d48cc55b --- /dev/null +++ b/old_docs/API_docs_v86/constructors/help.passportConfigNotModified.md @@ -0,0 +1,33 @@ +--- +title: help.passportConfigNotModified +description: Password configuration not modified +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.passportConfigNotModified +[Back to constructors index](index.md) + + + +Password configuration not modified + + + + +### Type: [help.PassportConfig](../types/help.PassportConfig.md) + + +### Example: + +```php +$help.passportConfigNotModified = ['_' => 'help.passportConfigNotModified']; +``` + + +Or, if you're into Lua: + +```lua +help.passportConfigNotModified={_='help.passportConfigNotModified'} + +``` + + diff --git a/old_docs/API_docs_v86/constructors/help.proxyDataEmpty.md b/old_docs/API_docs_v86/constructors/help.proxyDataEmpty.md new file mode 100644 index 00000000..66fd63ac --- /dev/null +++ b/old_docs/API_docs_v86/constructors/help.proxyDataEmpty.md @@ -0,0 +1,38 @@ +--- +title: help.proxyDataEmpty +description: No proxy was used to connect to tg (or none was provided to [initConnection](../methods/initConnection.md), or the used proxy doesn't have a promotion channel associated to it) +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.proxyDataEmpty +[Back to constructors index](index.md) + + + +No proxy was used to connect to tg (or none was provided to [initConnection](../methods/initConnection.md), or the used proxy doesn't have a promotion channel associated to it) + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|expires|[int](../types/int.md) | Yes|Expiration date of proxy info, will have to be refetched in `expires` seconds| + + + +### Type: [help.ProxyData](../types/help.ProxyData.md) + + +### Example: + +```php +$help.proxyDataEmpty = ['_' => 'help.proxyDataEmpty', 'expires' => int]; +``` + + +Or, if you're into Lua: + +```lua +help.proxyDataEmpty={_='help.proxyDataEmpty', expires=int} + +``` + + diff --git a/old_docs/API_docs_v86/constructors/help.proxyDataPromo.md b/old_docs/API_docs_v86/constructors/help.proxyDataPromo.md new file mode 100644 index 00000000..eb32aabd --- /dev/null +++ b/old_docs/API_docs_v86/constructors/help.proxyDataPromo.md @@ -0,0 +1,41 @@ +--- +title: help.proxyDataPromo +description: Promotion channel associated to a certain MTProxy +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.proxyDataPromo +[Back to constructors index](index.md) + + + +Promotion channel associated to a certain MTProxy + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|expires|[int](../types/int.md) | Yes|Expiration date of proxy info, will have to be refetched in `expires` seconds| +|peer|[Peer](../types/Peer.md) | Yes|The promoted channel| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [help.ProxyData](../types/help.ProxyData.md) + + +### Example: + +```php +$help.proxyDataPromo = ['_' => 'help.proxyDataPromo', 'expires' => int, 'peer' => Peer, 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +help.proxyDataPromo={_='help.proxyDataPromo', expires=int, peer=Peer, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v86/constructors/help.recentMeUrls.md b/old_docs/API_docs_v86/constructors/help.recentMeUrls.md new file mode 100644 index 00000000..711407b7 --- /dev/null +++ b/old_docs/API_docs_v86/constructors/help.recentMeUrls.md @@ -0,0 +1,40 @@ +--- +title: help.recentMeUrls +description: Recent t.me URLs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.recentMeUrls +[Back to constructors index](index.md) + + + +Recent t.me URLs + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|urls|Array of [RecentMeUrl](../types/RecentMeUrl.md) | Yes|URLs| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [help.RecentMeUrls](../types/help.RecentMeUrls.md) + + +### Example: + +```php +$help.recentMeUrls = ['_' => 'help.recentMeUrls', 'urls' => [RecentMeUrl, RecentMeUrl], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +help.recentMeUrls={_='help.recentMeUrls', urls={RecentMeUrl}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v86/constructors/help.support.md b/old_docs/API_docs_v86/constructors/help.support.md new file mode 100644 index 00000000..4d4f85fb --- /dev/null +++ b/old_docs/API_docs_v86/constructors/help.support.md @@ -0,0 +1,39 @@ +--- +title: help.support +description: Info on support user. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.support +[Back to constructors index](index.md) + + + +Info on support user. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_number|[string](../types/string.md) | Yes|Phone number| +|user|[User](../types/User.md) | Optional|User| + + + +### Type: [help.Support](../types/help.Support.md) + + +### Example: + +```php +$help.support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => User]; +``` + + +Or, if you're into Lua: + +```lua +help.support={_='help.support', phone_number='string', user=User} + +``` + + diff --git a/old_docs/API_docs_v86/constructors/help.termsOfService.md b/old_docs/API_docs_v86/constructors/help.termsOfService.md new file mode 100644 index 00000000..61ffb70a --- /dev/null +++ b/old_docs/API_docs_v86/constructors/help.termsOfService.md @@ -0,0 +1,42 @@ +--- +title: help.termsOfService +description: Info about the latest telegram Terms Of Service +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.termsOfService +[Back to constructors index](index.md) + + + +Info about the latest telegram Terms Of Service + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|popup|[Bool](../types/Bool.md) | Optional|Whether a prompt must be showed to the user, in order to accept the new terms.| +|id|[DataJSON](../types/DataJSON.md) | Yes|ID of the new terms| +|text|[string](../types/string.md) | Yes|Text of the new terms| +|entities|Array of [MessageEntity](../types/MessageEntity.md) | Yes|Entities| +|min\_age\_confirm|[int](../types/int.md) | Optional|Minimum age required to sign up to telegram, the user must confirm that they is older than the minimum age.| + + + +### Type: [help.TermsOfService](../types/help.TermsOfService.md) + + +### Example: + +```php +$help.termsOfService = ['_' => 'help.termsOfService', 'popup' => Bool, 'id' => DataJSON, 'text' => 'string', 'entities' => [MessageEntity, MessageEntity], 'min_age_confirm' => int]; +``` + + +Or, if you're into Lua: + +```lua +help.termsOfService={_='help.termsOfService', popup=Bool, id=DataJSON, text='string', entities={MessageEntity}, min_age_confirm=int} + +``` + + diff --git a/old_docs/API_docs_v86/constructors/help.termsOfServiceUpdate.md b/old_docs/API_docs_v86/constructors/help.termsOfServiceUpdate.md new file mode 100644 index 00000000..058a3655 --- /dev/null +++ b/old_docs/API_docs_v86/constructors/help.termsOfServiceUpdate.md @@ -0,0 +1,39 @@ +--- +title: help.termsOfServiceUpdate +description: Info about an update of telegram's terms of service. If the terms of service are declined, then the [account.deleteAccount](../methods/account.deleteAccount.md) method should be called with the reason "Decline ToS update" +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.termsOfServiceUpdate +[Back to constructors index](index.md) + + + +Info about an update of telegram's terms of service. If the terms of service are declined, then the [account.deleteAccount](../methods/account.deleteAccount.md) method should be called with the reason "Decline ToS update" + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|expires|[int](../types/int.md) | Yes|New TOS updates will have to be queried using [help.getTermsOfServiceUpdate](../methods/help.getTermsOfServiceUpdate.md) in `expires` seconds| +|terms\_of\_service|[help.TermsOfService](../constructors/help.TermsOfService.md) | Yes|New terms of service| + + + +### Type: [help.TermsOfServiceUpdate](../types/help.TermsOfServiceUpdate.md) + + +### Example: + +```php +$help.termsOfServiceUpdate = ['_' => 'help.termsOfServiceUpdate', 'expires' => int, 'terms_of_service' => help.TermsOfService]; +``` + + +Or, if you're into Lua: + +```lua +help.termsOfServiceUpdate={_='help.termsOfServiceUpdate', expires=int, terms_of_service=help.TermsOfService} + +``` + + diff --git a/old_docs/API_docs_v86/constructors/help.termsOfServiceUpdateEmpty.md b/old_docs/API_docs_v86/constructors/help.termsOfServiceUpdateEmpty.md new file mode 100644 index 00000000..8213a41e --- /dev/null +++ b/old_docs/API_docs_v86/constructors/help.termsOfServiceUpdateEmpty.md @@ -0,0 +1,38 @@ +--- +title: help.termsOfServiceUpdateEmpty +description: No changes were made to telegram's terms of service +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.termsOfServiceUpdateEmpty +[Back to constructors index](index.md) + + + +No changes were made to telegram's terms of service + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|expires|[int](../types/int.md) | Yes|New TOS updates will have to be queried using [help.getTermsOfServiceUpdate](../methods/help.getTermsOfServiceUpdate.md) in `expires` seconds| + + + +### Type: [help.TermsOfServiceUpdate](../types/help.TermsOfServiceUpdate.md) + + +### Example: + +```php +$help.termsOfServiceUpdateEmpty = ['_' => 'help.termsOfServiceUpdateEmpty', 'expires' => int]; +``` + + +Or, if you're into Lua: + +```lua +help.termsOfServiceUpdateEmpty={_='help.termsOfServiceUpdateEmpty', expires=int} + +``` + + diff --git a/old_docs/API_docs_v86/constructors/help_appUpdate.md b/old_docs/API_docs_v86/constructors/help_appUpdate.md deleted file mode 100644 index 67960b34..00000000 --- a/old_docs/API_docs_v86/constructors/help_appUpdate.md +++ /dev/null @@ -1,44 +0,0 @@ ---- -title: help.appUpdate -description: An update is available for the application. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.appUpdate -[Back to constructors index](index.md) - - - -An update is available for the application. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|popup|[Bool](../types/Bool.md) | Optional|Popup?| -|id|[int](../types/int.md) | Yes|Update ID| -|version|[string](../types/string.md) | Yes|New version name| -|text|[string](../types/string.md) | Yes|Text description of the update| -|entities|Array of [MessageEntity](../types/MessageEntity.md) | Yes|Entities| -|document|[Document](../types/Document.md) | Optional|Attached document| -|url|[string](../types/string.md) | Optional|Application download URL| - - - -### Type: [help\_AppUpdate](../types/help_AppUpdate.md) - - -### Example: - -```php -$help_appUpdate = ['_' => 'help.appUpdate', 'popup' => Bool, 'id' => int, 'version' => 'string', 'text' => 'string', 'entities' => [MessageEntity, MessageEntity], 'document' => Document, 'url' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -help_appUpdate={_='help.appUpdate', popup=Bool, id=int, version='string', text='string', entities={MessageEntity}, document=Document, url='string'} - -``` - - diff --git a/old_docs/API_docs_v86/constructors/help_configSimple.md b/old_docs/API_docs_v86/constructors/help_configSimple.md deleted file mode 100644 index 8c07ec9b..00000000 --- a/old_docs/API_docs_v86/constructors/help_configSimple.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: help.configSimple -description: Config simple -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.configSimple -[Back to constructors index](index.md) - - - -Config simple - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Date| -|expires|[int](../types/int.md) | Yes|Expires| -|rules|Array of [AccessPointRule](../types/AccessPointRule.md) | Yes|Rules| - - - -### Type: [help\_ConfigSimple](../types/help_ConfigSimple.md) - - -### Example: - -```php -$help_configSimple = ['_' => 'help.configSimple', 'date' => int, 'expires' => int, 'rules' => [AccessPointRule, AccessPointRule]]; -``` - - -Or, if you're into Lua: - -```lua -help_configSimple={_='help.configSimple', date=int, expires=int, rules={AccessPointRule}} - -``` - - diff --git a/old_docs/API_docs_v86/constructors/help_deepLinkInfo.md b/old_docs/API_docs_v86/constructors/help_deepLinkInfo.md deleted file mode 100644 index bcc24ecd..00000000 --- a/old_docs/API_docs_v86/constructors/help_deepLinkInfo.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: help.deepLinkInfo -description: Deep linking info -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.deepLinkInfo -[Back to constructors index](index.md) - - - -Deep linking info - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|update\_app|[Bool](../types/Bool.md) | Optional|An update of the app is required to parse this link| -|message|[string](../types/string.md) | Yes|Message to show to the user| -|entities|Array of [MessageEntity](../types/MessageEntity.md) | Optional|Entities| - - - -### Type: [help\_DeepLinkInfo](../types/help_DeepLinkInfo.md) - - -### Example: - -```php -$help_deepLinkInfo = ['_' => 'help.deepLinkInfo', 'update_app' => Bool, 'message' => 'string', 'entities' => [MessageEntity, MessageEntity]]; -``` - - -Or, if you're into Lua: - -```lua -help_deepLinkInfo={_='help.deepLinkInfo', update_app=Bool, message='string', entities={MessageEntity}} - -``` - - diff --git a/old_docs/API_docs_v86/constructors/help_deepLinkInfoEmpty.md b/old_docs/API_docs_v86/constructors/help_deepLinkInfoEmpty.md deleted file mode 100644 index ab876dd5..00000000 --- a/old_docs/API_docs_v86/constructors/help_deepLinkInfoEmpty.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: help.deepLinkInfoEmpty -description: Deep link info empty -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.deepLinkInfoEmpty -[Back to constructors index](index.md) - - - -Deep link info empty - - - - -### Type: [help\_DeepLinkInfo](../types/help_DeepLinkInfo.md) - - -### Example: - -```php -$help_deepLinkInfoEmpty = ['_' => 'help.deepLinkInfoEmpty']; -``` - - -Or, if you're into Lua: - -```lua -help_deepLinkInfoEmpty={_='help.deepLinkInfoEmpty'} - -``` - - diff --git a/old_docs/API_docs_v86/constructors/help_inviteText.md b/old_docs/API_docs_v86/constructors/help_inviteText.md deleted file mode 100644 index b8317ce3..00000000 --- a/old_docs/API_docs_v86/constructors/help_inviteText.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: help.inviteText -description: Text of a text message with an invitation to install application. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.inviteText -[Back to constructors index](index.md) - - - -Text of a text message with an invitation to install application. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|message|[string](../types/string.md) | Yes|Text of a message| - - - -### Type: [help\_InviteText](../types/help_InviteText.md) - - -### Example: - -```php -$help_inviteText = ['_' => 'help.inviteText', 'message' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -help_inviteText={_='help.inviteText', message='string'} - -``` - - diff --git a/old_docs/API_docs_v86/constructors/help_noAppUpdate.md b/old_docs/API_docs_v86/constructors/help_noAppUpdate.md deleted file mode 100644 index 51505e52..00000000 --- a/old_docs/API_docs_v86/constructors/help_noAppUpdate.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: help.noAppUpdate -description: No updates are available for the application. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.noAppUpdate -[Back to constructors index](index.md) - - - -No updates are available for the application. - - - - -### Type: [help\_AppUpdate](../types/help_AppUpdate.md) - - -### Example: - -```php -$help_noAppUpdate = ['_' => 'help.noAppUpdate']; -``` - - -Or, if you're into Lua: - -```lua -help_noAppUpdate={_='help.noAppUpdate'} - -``` - - diff --git a/old_docs/API_docs_v86/constructors/help_passportConfig.md b/old_docs/API_docs_v86/constructors/help_passportConfig.md deleted file mode 100644 index 9722c925..00000000 --- a/old_docs/API_docs_v86/constructors/help_passportConfig.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: help.passportConfig -description: Telegram [passport](https://core.telegram.org/passport) configuration -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.passportConfig -[Back to constructors index](index.md) - - - -Telegram [passport](https://core.telegram.org/passport) configuration - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|countries\_langs|[DataJSON](../types/DataJSON.md) | Yes|Localization| - - - -### Type: [help\_PassportConfig](../types/help_PassportConfig.md) - - -### Example: - -```php -$help_passportConfig = ['_' => 'help.passportConfig', 'hash' => int, 'countries_langs' => DataJSON]; -``` - - -Or, if you're into Lua: - -```lua -help_passportConfig={_='help.passportConfig', hash=int, countries_langs=DataJSON} - -``` - - diff --git a/old_docs/API_docs_v86/constructors/help_passportConfigNotModified.md b/old_docs/API_docs_v86/constructors/help_passportConfigNotModified.md deleted file mode 100644 index af7769aa..00000000 --- a/old_docs/API_docs_v86/constructors/help_passportConfigNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: help.passportConfigNotModified -description: Password configuration not modified -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.passportConfigNotModified -[Back to constructors index](index.md) - - - -Password configuration not modified - - - - -### Type: [help\_PassportConfig](../types/help_PassportConfig.md) - - -### Example: - -```php -$help_passportConfigNotModified = ['_' => 'help.passportConfigNotModified']; -``` - - -Or, if you're into Lua: - -```lua -help_passportConfigNotModified={_='help.passportConfigNotModified'} - -``` - - diff --git a/old_docs/API_docs_v86/constructors/help_proxyDataEmpty.md b/old_docs/API_docs_v86/constructors/help_proxyDataEmpty.md deleted file mode 100644 index 96efddd3..00000000 --- a/old_docs/API_docs_v86/constructors/help_proxyDataEmpty.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: help.proxyDataEmpty -description: No proxy was used to connect to tg (or none was provided to [initConnection](../methods/initConnection.md), or the used proxy doesn't have a promotion channel associated to it) -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.proxyDataEmpty -[Back to constructors index](index.md) - - - -No proxy was used to connect to tg (or none was provided to [initConnection](../methods/initConnection.md), or the used proxy doesn't have a promotion channel associated to it) - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|expires|[int](../types/int.md) | Yes|Expiration date of proxy info, will have to be refetched in `expires` seconds| - - - -### Type: [help\_ProxyData](../types/help_ProxyData.md) - - -### Example: - -```php -$help_proxyDataEmpty = ['_' => 'help.proxyDataEmpty', 'expires' => int]; -``` - - -Or, if you're into Lua: - -```lua -help_proxyDataEmpty={_='help.proxyDataEmpty', expires=int} - -``` - - diff --git a/old_docs/API_docs_v86/constructors/help_proxyDataPromo.md b/old_docs/API_docs_v86/constructors/help_proxyDataPromo.md deleted file mode 100644 index 54ca7edb..00000000 --- a/old_docs/API_docs_v86/constructors/help_proxyDataPromo.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: help.proxyDataPromo -description: Promotion channel associated to a certain MTProxy -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.proxyDataPromo -[Back to constructors index](index.md) - - - -Promotion channel associated to a certain MTProxy - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|expires|[int](../types/int.md) | Yes|Expiration date of proxy info, will have to be refetched in `expires` seconds| -|peer|[Peer](../types/Peer.md) | Yes|The promoted channel| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [help\_ProxyData](../types/help_ProxyData.md) - - -### Example: - -```php -$help_proxyDataPromo = ['_' => 'help.proxyDataPromo', 'expires' => int, 'peer' => Peer, 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -help_proxyDataPromo={_='help.proxyDataPromo', expires=int, peer=Peer, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v86/constructors/help_recentMeUrls.md b/old_docs/API_docs_v86/constructors/help_recentMeUrls.md deleted file mode 100644 index 7bf592ef..00000000 --- a/old_docs/API_docs_v86/constructors/help_recentMeUrls.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: help.recentMeUrls -description: Recent t.me URLs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.recentMeUrls -[Back to constructors index](index.md) - - - -Recent t.me URLs - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|urls|Array of [RecentMeUrl](../types/RecentMeUrl.md) | Yes|URLs| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [help\_RecentMeUrls](../types/help_RecentMeUrls.md) - - -### Example: - -```php -$help_recentMeUrls = ['_' => 'help.recentMeUrls', 'urls' => [RecentMeUrl, RecentMeUrl], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -help_recentMeUrls={_='help.recentMeUrls', urls={RecentMeUrl}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v86/constructors/help_support.md b/old_docs/API_docs_v86/constructors/help_support.md deleted file mode 100644 index 148f7f42..00000000 --- a/old_docs/API_docs_v86/constructors/help_support.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: help.support -description: Info on support user. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.support -[Back to constructors index](index.md) - - - -Info on support user. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_number|[string](../types/string.md) | Yes|Phone number| -|user|[User](../types/User.md) | Optional|User| - - - -### Type: [help\_Support](../types/help_Support.md) - - -### Example: - -```php -$help_support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => User]; -``` - - -Or, if you're into Lua: - -```lua -help_support={_='help.support', phone_number='string', user=User} - -``` - - diff --git a/old_docs/API_docs_v86/constructors/help_termsOfService.md b/old_docs/API_docs_v86/constructors/help_termsOfService.md deleted file mode 100644 index f9d496e5..00000000 --- a/old_docs/API_docs_v86/constructors/help_termsOfService.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: help.termsOfService -description: Info about the latest telegram Terms Of Service -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.termsOfService -[Back to constructors index](index.md) - - - -Info about the latest telegram Terms Of Service - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|popup|[Bool](../types/Bool.md) | Optional|Whether a prompt must be showed to the user, in order to accept the new terms.| -|id|[DataJSON](../types/DataJSON.md) | Yes|ID of the new terms| -|text|[string](../types/string.md) | Yes|Text of the new terms| -|entities|Array of [MessageEntity](../types/MessageEntity.md) | Yes|Entities| -|min\_age\_confirm|[int](../types/int.md) | Optional|Minimum age required to sign up to telegram, the user must confirm that they is older than the minimum age.| - - - -### Type: [help\_TermsOfService](../types/help_TermsOfService.md) - - -### Example: - -```php -$help_termsOfService = ['_' => 'help.termsOfService', 'popup' => Bool, 'id' => DataJSON, 'text' => 'string', 'entities' => [MessageEntity, MessageEntity], 'min_age_confirm' => int]; -``` - - -Or, if you're into Lua: - -```lua -help_termsOfService={_='help.termsOfService', popup=Bool, id=DataJSON, text='string', entities={MessageEntity}, min_age_confirm=int} - -``` - - diff --git a/old_docs/API_docs_v86/constructors/help_termsOfServiceUpdate.md b/old_docs/API_docs_v86/constructors/help_termsOfServiceUpdate.md deleted file mode 100644 index c9e80319..00000000 --- a/old_docs/API_docs_v86/constructors/help_termsOfServiceUpdate.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: help.termsOfServiceUpdate -description: Info about an update of telegram's terms of service. If the terms of service are declined, then the [account.deleteAccount](../methods/account.deleteAccount.md) method should be called with the reason "Decline ToS update" -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.termsOfServiceUpdate -[Back to constructors index](index.md) - - - -Info about an update of telegram's terms of service. If the terms of service are declined, then the [account.deleteAccount](../methods/account.deleteAccount.md) method should be called with the reason "Decline ToS update" - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|expires|[int](../types/int.md) | Yes|New TOS updates will have to be queried using [help.getTermsOfServiceUpdate](../methods/help.getTermsOfServiceUpdate.md) in `expires` seconds| -|terms\_of\_service|[help\_TermsOfService](../types/help_TermsOfService.md) | Yes|New terms of service| - - - -### Type: [help\_TermsOfServiceUpdate](../types/help_TermsOfServiceUpdate.md) - - -### Example: - -```php -$help_termsOfServiceUpdate = ['_' => 'help.termsOfServiceUpdate', 'expires' => int, 'terms_of_service' => help_TermsOfService]; -``` - - -Or, if you're into Lua: - -```lua -help_termsOfServiceUpdate={_='help.termsOfServiceUpdate', expires=int, terms_of_service=help_TermsOfService} - -``` - - diff --git a/old_docs/API_docs_v86/constructors/help_termsOfServiceUpdateEmpty.md b/old_docs/API_docs_v86/constructors/help_termsOfServiceUpdateEmpty.md deleted file mode 100644 index d4d753fc..00000000 --- a/old_docs/API_docs_v86/constructors/help_termsOfServiceUpdateEmpty.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: help.termsOfServiceUpdateEmpty -description: No changes were made to telegram's terms of service -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.termsOfServiceUpdateEmpty -[Back to constructors index](index.md) - - - -No changes were made to telegram's terms of service - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|expires|[int](../types/int.md) | Yes|New TOS updates will have to be queried using [help.getTermsOfServiceUpdate](../methods/help.getTermsOfServiceUpdate.md) in `expires` seconds| - - - -### Type: [help\_TermsOfServiceUpdate](../types/help_TermsOfServiceUpdate.md) - - -### Example: - -```php -$help_termsOfServiceUpdateEmpty = ['_' => 'help.termsOfServiceUpdateEmpty', 'expires' => int]; -``` - - -Or, if you're into Lua: - -```lua -help_termsOfServiceUpdateEmpty={_='help.termsOfServiceUpdateEmpty', expires=int} - -``` - - diff --git a/old_docs/API_docs_v86/constructors/messages.affectedHistory.md b/old_docs/API_docs_v86/constructors/messages.affectedHistory.md new file mode 100644 index 00000000..5fc8acec --- /dev/null +++ b/old_docs/API_docs_v86/constructors/messages.affectedHistory.md @@ -0,0 +1,40 @@ +--- +title: messages.affectedHistory +description: Affected part of communication history with the user or in a chat. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.affectedHistory +[Back to constructors index](index.md) + + + +Affected part of communication history with the user or in a chat. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| +|pts\_count|[int](../types/int.md) | Yes|Number of affected events| +|offset|[int](../types/int.md) | Yes|If a parameter contains positive value, it is necessary to repeat the method call using the given value; during the proceeding of all the history the value itself shall gradually decrease| + + + +### Type: [messages.AffectedHistory](../types/messages.AffectedHistory.md) + + +### Example: + +```php +$messages.affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.affectedHistory={_='messages.affectedHistory', pts=int, pts_count=int, offset=int} + +``` + + diff --git a/old_docs/API_docs_v86/constructors/messages.affectedMessages.md b/old_docs/API_docs_v86/constructors/messages.affectedMessages.md new file mode 100644 index 00000000..a0e60bdf --- /dev/null +++ b/old_docs/API_docs_v86/constructors/messages.affectedMessages.md @@ -0,0 +1,39 @@ +--- +title: messages.affectedMessages +description: Events affected by operation +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.affectedMessages +[Back to constructors index](index.md) + + + +Events affected by operation + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|[Event count after generation](https://core.telegram.org/api/updates)| +|pts\_count|[int](../types/int.md) | Yes|[Number of events that were generated](https://core.telegram.org/api/updates)| + + + +### Type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) + + +### Example: + +```php +$messages.affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.affectedMessages={_='messages.affectedMessages', pts=int, pts_count=int} + +``` + + diff --git a/old_docs/API_docs_v86/constructors/messages.allStickers.md b/old_docs/API_docs_v86/constructors/messages.allStickers.md new file mode 100644 index 00000000..5f13bfde --- /dev/null +++ b/old_docs/API_docs_v86/constructors/messages.allStickers.md @@ -0,0 +1,39 @@ +--- +title: messages.allStickers +description: Info about all installed stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.allStickers +[Back to constructors index](index.md) + + + +Info about all installed stickers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|sets|Array of [StickerSet](../types/StickerSet.md) | Yes|Sets| + + + +### Type: [messages.AllStickers](../types/messages.AllStickers.md) + + +### Example: + +```php +$messages.allStickers = ['_' => 'messages.allStickers', 'hash' => int, 'sets' => [StickerSet, StickerSet]]; +``` + + +Or, if you're into Lua: + +```lua +messages.allStickers={_='messages.allStickers', hash=int, sets={StickerSet}} + +``` + + diff --git a/old_docs/API_docs_v86/constructors/messages.allStickersNotModified.md b/old_docs/API_docs_v86/constructors/messages.allStickersNotModified.md new file mode 100644 index 00000000..d3db088b --- /dev/null +++ b/old_docs/API_docs_v86/constructors/messages.allStickersNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.allStickersNotModified +description: Info about all installed stickers hasn't changed +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.allStickersNotModified +[Back to constructors index](index.md) + + + +Info about all installed stickers hasn't changed + + + + +### Type: [messages.AllStickers](../types/messages.AllStickers.md) + + +### Example: + +```php +$messages.allStickersNotModified = ['_' => 'messages.allStickersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.allStickersNotModified={_='messages.allStickersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v86/constructors/messages.archivedStickers.md b/old_docs/API_docs_v86/constructors/messages.archivedStickers.md new file mode 100644 index 00000000..6ad9927c --- /dev/null +++ b/old_docs/API_docs_v86/constructors/messages.archivedStickers.md @@ -0,0 +1,39 @@ +--- +title: messages.archivedStickers +description: Archived stickersets +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.archivedStickers +[Back to constructors index](index.md) + + + +Archived stickersets + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Number of archived stickers| +|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| + + + +### Type: [messages.ArchivedStickers](../types/messages.ArchivedStickers.md) + + +### Example: + +```php +$messages.archivedStickers = ['_' => 'messages.archivedStickers', 'count' => int, 'sets' => [StickerSetCovered, StickerSetCovered]]; +``` + + +Or, if you're into Lua: + +```lua +messages.archivedStickers={_='messages.archivedStickers', count=int, sets={StickerSetCovered}} + +``` + + diff --git a/old_docs/API_docs_v86/constructors/messages.botCallbackAnswer.md b/old_docs/API_docs_v86/constructors/messages.botCallbackAnswer.md new file mode 100644 index 00000000..08bfeba5 --- /dev/null +++ b/old_docs/API_docs_v86/constructors/messages.botCallbackAnswer.md @@ -0,0 +1,43 @@ +--- +title: messages.botCallbackAnswer +description: Callback answer sent by the bot in response to a button press +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.botCallbackAnswer +[Back to constructors index](index.md) + + + +Callback answer sent by the bot in response to a button press + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|alert|[Bool](../types/Bool.md) | Optional|Whether an alert should be shown to the user instead of a toast notification| +|has\_url|[Bool](../types/Bool.md) | Optional|Whether an URL is present| +|native\_ui|[Bool](../types/Bool.md) | Optional|Whether to show games in WebView or in native UI.| +|message|[string](../types/string.md) | Optional|Alert to show| +|url|[string](../types/string.md) | Optional|URL to open| +|cache\_time|[int](../types/int.md) | Yes|For how long should this answer be cached| + + + +### Type: [messages.BotCallbackAnswer](../types/messages.BotCallbackAnswer.md) + + +### Example: + +```php +$messages.botCallbackAnswer = ['_' => 'messages.botCallbackAnswer', 'alert' => Bool, 'has_url' => Bool, 'native_ui' => Bool, 'message' => 'string', 'url' => 'string', 'cache_time' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.botCallbackAnswer={_='messages.botCallbackAnswer', alert=Bool, has_url=Bool, native_ui=Bool, message='string', url='string', cache_time=int} + +``` + + diff --git a/old_docs/API_docs_v86/constructors/messages.botResults.md b/old_docs/API_docs_v86/constructors/messages.botResults.md new file mode 100644 index 00000000..7b6dcfba --- /dev/null +++ b/old_docs/API_docs_v86/constructors/messages.botResults.md @@ -0,0 +1,44 @@ +--- +title: messages.botResults +description: Result of a query to an inline bot +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.botResults +[Back to constructors index](index.md) + + + +Result of a query to an inline bot + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|gallery|[Bool](../types/Bool.md) | Optional|Whether the result is a picture gallery| +|query\_id|[long](../types/long.md) | Yes|Query ID| +|next\_offset|[string](../types/string.md) | Optional|The next offset to use when navigating through results| +|switch\_pm|[InlineBotSwitchPM](../types/InlineBotSwitchPM.md) | Optional|Whether the bot requested the user to message him in private| +|results|Array of [BotInlineResult](../types/BotInlineResult.md) | Yes|Results| +|cache\_time|[int](../types/int.md) | Yes|Caching validity of the results| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.BotResults](../types/messages.BotResults.md) + + +### Example: + +```php +$messages.botResults = ['_' => 'messages.botResults', 'gallery' => Bool, 'query_id' => long, 'next_offset' => 'string', 'switch_pm' => InlineBotSwitchPM, 'results' => [BotInlineResult, BotInlineResult], 'cache_time' => int, 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.botResults={_='messages.botResults', gallery=Bool, query_id=long, next_offset='string', switch_pm=InlineBotSwitchPM, results={BotInlineResult}, cache_time=int, users={User}} + +``` + + diff --git a/old_docs/API_docs_v86/constructors/messages.channelMessages.md b/old_docs/API_docs_v86/constructors/messages.channelMessages.md new file mode 100644 index 00000000..95633336 --- /dev/null +++ b/old_docs/API_docs_v86/constructors/messages.channelMessages.md @@ -0,0 +1,42 @@ +--- +title: messages.channelMessages +description: Channel messages +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.channelMessages +[Back to constructors index](index.md) + + + +Channel messages + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|[Event count after generation](https://core.telegram.org/api/updates)| +|count|[int](../types/int.md) | Yes|Total number of results were found server-side (may not be all included here)| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Messages](../types/messages.Messages.md) + + +### Example: + +```php +$messages.channelMessages = ['_' => 'messages.channelMessages', 'pts' => int, 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.channelMessages={_='messages.channelMessages', pts=int, count=int, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v86/constructors/messages.chatFull.md b/old_docs/API_docs_v86/constructors/messages.chatFull.md new file mode 100644 index 00000000..3906cc54 --- /dev/null +++ b/old_docs/API_docs_v86/constructors/messages.chatFull.md @@ -0,0 +1,40 @@ +--- +title: messages.chatFull +description: Extended info on chat and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.chatFull +[Back to constructors index](index.md) + + + +Extended info on chat and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|full\_chat|[ChatFull](../types/ChatFull.md) | Yes|Extended info on a chat| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.ChatFull](../types/messages.ChatFull.md) + + +### Example: + +```php +$messages.chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.chatFull={_='messages.chatFull', full_chat=ChatFull, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v86/constructors/messages.chats.md b/old_docs/API_docs_v86/constructors/messages.chats.md new file mode 100644 index 00000000..9ede9ff2 --- /dev/null +++ b/old_docs/API_docs_v86/constructors/messages.chats.md @@ -0,0 +1,38 @@ +--- +title: messages.chats +description: List of chats with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.chats +[Back to constructors index](index.md) + + + +List of chats with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| + + + +### Type: [messages.Chats](../types/messages.Chats.md) + + +### Example: + +```php +$messages.chats = ['_' => 'messages.chats', 'chats' => [Chat, Chat]]; +``` + + +Or, if you're into Lua: + +```lua +messages.chats={_='messages.chats', chats={Chat}} + +``` + + diff --git a/old_docs/API_docs_v86/constructors/messages.chatsSlice.md b/old_docs/API_docs_v86/constructors/messages.chatsSlice.md new file mode 100644 index 00000000..efd153e0 --- /dev/null +++ b/old_docs/API_docs_v86/constructors/messages.chatsSlice.md @@ -0,0 +1,39 @@ +--- +title: messages.chatsSlice +description: Partial list of chats, more would have to be fetched with [pagination](https://core.telegram.org/api/offsets) +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.chatsSlice +[Back to constructors index](index.md) + + + +Partial list of chats, more would have to be fetched with [pagination](https://core.telegram.org/api/offsets) + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of results that were found server-side (not all are included in `chats`)| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| + + + +### Type: [messages.Chats](../types/messages.Chats.md) + + +### Example: + +```php +$messages.chatsSlice = ['_' => 'messages.chatsSlice', 'count' => int, 'chats' => [Chat, Chat]]; +``` + + +Or, if you're into Lua: + +```lua +messages.chatsSlice={_='messages.chatsSlice', count=int, chats={Chat}} + +``` + + diff --git a/old_docs/API_docs_v86/constructors/messages.dhConfig.md b/old_docs/API_docs_v86/constructors/messages.dhConfig.md new file mode 100644 index 00000000..58344f64 --- /dev/null +++ b/old_docs/API_docs_v86/constructors/messages.dhConfig.md @@ -0,0 +1,41 @@ +--- +title: messages.dhConfig +description: New set of configuring parameters. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dhConfig +[Back to constructors index](index.md) + + + +New set of configuring parameters. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|g|[int](../types/int.md) | Yes|New value **prime**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| +|p|[bytes](../types/bytes.md) | Yes|New value **primitive root**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| +|version|[int](../types/int.md) | Yes|Vestion of set of parameters| +|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| + + + +### Type: [messages.DhConfig](../types/messages.DhConfig.md) + + +### Example: + +```php +$messages.dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'version' => int, 'random' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +messages.dhConfig={_='messages.dhConfig', g=int, p='bytes', version=int, random='bytes'} + +``` + + diff --git a/old_docs/API_docs_v86/constructors/messages.dhConfigNotModified.md b/old_docs/API_docs_v86/constructors/messages.dhConfigNotModified.md new file mode 100644 index 00000000..a9a95389 --- /dev/null +++ b/old_docs/API_docs_v86/constructors/messages.dhConfigNotModified.md @@ -0,0 +1,38 @@ +--- +title: messages.dhConfigNotModified +description: Configuring parameters did not change. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dhConfigNotModified +[Back to constructors index](index.md) + + + +Configuring parameters did not change. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| + + + +### Type: [messages.DhConfig](../types/messages.DhConfig.md) + + +### Example: + +```php +$messages.dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +messages.dhConfigNotModified={_='messages.dhConfigNotModified', random='bytes'} + +``` + + diff --git a/old_docs/API_docs_v86/constructors/messages.dialogs.md b/old_docs/API_docs_v86/constructors/messages.dialogs.md new file mode 100644 index 00000000..a72eabce --- /dev/null +++ b/old_docs/API_docs_v86/constructors/messages.dialogs.md @@ -0,0 +1,41 @@ +--- +title: messages.dialogs +description: Full list of chats with messages and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dialogs +[Back to constructors index](index.md) + + + +Full list of chats with messages and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Dialogs](../types/messages.Dialogs.md) + + +### Example: + +```php +$messages.dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.dialogs={_='messages.dialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v86/constructors/messages.dialogsNotModified.md b/old_docs/API_docs_v86/constructors/messages.dialogsNotModified.md new file mode 100644 index 00000000..b4615516 --- /dev/null +++ b/old_docs/API_docs_v86/constructors/messages.dialogsNotModified.md @@ -0,0 +1,38 @@ +--- +title: messages.dialogsNotModified +description: Dialogs haven't changed +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dialogsNotModified +[Back to constructors index](index.md) + + + +Dialogs haven't changed + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Number of dialogs found server-side by the query| + + + +### Type: [messages.Dialogs](../types/messages.Dialogs.md) + + +### Example: + +```php +$messages.dialogsNotModified = ['_' => 'messages.dialogsNotModified', 'count' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.dialogsNotModified={_='messages.dialogsNotModified', count=int} + +``` + + diff --git a/old_docs/API_docs_v86/constructors/messages.dialogsSlice.md b/old_docs/API_docs_v86/constructors/messages.dialogsSlice.md new file mode 100644 index 00000000..26227d2c --- /dev/null +++ b/old_docs/API_docs_v86/constructors/messages.dialogsSlice.md @@ -0,0 +1,42 @@ +--- +title: messages.dialogsSlice +description: Incomplete list of dialogs with messages and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dialogsSlice +[Back to constructors index](index.md) + + + +Incomplete list of dialogs with messages and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of dialogs| +|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Dialogs](../types/messages.Dialogs.md) + + +### Example: + +```php +$messages.dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.dialogsSlice={_='messages.dialogsSlice', count=int, dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v86/constructors/messages.favedStickers.md b/old_docs/API_docs_v86/constructors/messages.favedStickers.md new file mode 100644 index 00000000..a5cfb7c9 --- /dev/null +++ b/old_docs/API_docs_v86/constructors/messages.favedStickers.md @@ -0,0 +1,40 @@ +--- +title: messages.favedStickers +description: Favorited stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.favedStickers +[Back to constructors index](index.md) + + + +Favorited stickers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|packs|Array of [StickerPack](../types/StickerPack.md) | Yes|Packs| +|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| + + + +### Type: [messages.FavedStickers](../types/messages.FavedStickers.md) + + +### Example: + +```php +$messages.favedStickers = ['_' => 'messages.favedStickers', 'hash' => int, 'packs' => [StickerPack, StickerPack], 'stickers' => [Document, Document]]; +``` + + +Or, if you're into Lua: + +```lua +messages.favedStickers={_='messages.favedStickers', hash=int, packs={StickerPack}, stickers={Document}} + +``` + + diff --git a/old_docs/API_docs_v86/constructors/messages.favedStickersNotModified.md b/old_docs/API_docs_v86/constructors/messages.favedStickersNotModified.md new file mode 100644 index 00000000..8723659e --- /dev/null +++ b/old_docs/API_docs_v86/constructors/messages.favedStickersNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.favedStickersNotModified +description: No new favorited stickers were found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.favedStickersNotModified +[Back to constructors index](index.md) + + + +No new favorited stickers were found + + + + +### Type: [messages.FavedStickers](../types/messages.FavedStickers.md) + + +### Example: + +```php +$messages.favedStickersNotModified = ['_' => 'messages.favedStickersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.favedStickersNotModified={_='messages.favedStickersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v86/constructors/messages.featuredStickers.md b/old_docs/API_docs_v86/constructors/messages.featuredStickers.md new file mode 100644 index 00000000..344376ea --- /dev/null +++ b/old_docs/API_docs_v86/constructors/messages.featuredStickers.md @@ -0,0 +1,40 @@ +--- +title: messages.featuredStickers +description: Featured stickersets +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.featuredStickers +[Back to constructors index](index.md) + + + +Featured stickersets + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| +|unread|Array of [long](../types/long.md) | Yes|Unread| + + + +### Type: [messages.FeaturedStickers](../types/messages.FeaturedStickers.md) + + +### Example: + +```php +$messages.featuredStickers = ['_' => 'messages.featuredStickers', 'hash' => int, 'sets' => [StickerSetCovered, StickerSetCovered], 'unread' => [long, long]]; +``` + + +Or, if you're into Lua: + +```lua +messages.featuredStickers={_='messages.featuredStickers', hash=int, sets={StickerSetCovered}, unread={long}} + +``` + + diff --git a/old_docs/API_docs_v86/constructors/messages.featuredStickersNotModified.md b/old_docs/API_docs_v86/constructors/messages.featuredStickersNotModified.md new file mode 100644 index 00000000..0fe9b4d5 --- /dev/null +++ b/old_docs/API_docs_v86/constructors/messages.featuredStickersNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.featuredStickersNotModified +description: Featured stickers haven't changed +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.featuredStickersNotModified +[Back to constructors index](index.md) + + + +Featured stickers haven't changed + + + + +### Type: [messages.FeaturedStickers](../types/messages.FeaturedStickers.md) + + +### Example: + +```php +$messages.featuredStickersNotModified = ['_' => 'messages.featuredStickersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.featuredStickersNotModified={_='messages.featuredStickersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v86/constructors/messages.foundGifs.md b/old_docs/API_docs_v86/constructors/messages.foundGifs.md new file mode 100644 index 00000000..c75e36f9 --- /dev/null +++ b/old_docs/API_docs_v86/constructors/messages.foundGifs.md @@ -0,0 +1,39 @@ +--- +title: messages.foundGifs +description: Found GIFs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.foundGifs +[Back to constructors index](index.md) + + + +Found GIFs + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|next\_offset|[int](../types/int.md) | Yes|Next offset to use when trying to [load more results](../methods/messages.searchGifs.md)| +|results|Array of [FoundGif](../types/FoundGif.md) | Yes|Results| + + + +### Type: [messages.FoundGifs](../types/messages.FoundGifs.md) + + +### Example: + +```php +$messages.foundGifs = ['_' => 'messages.foundGifs', 'next_offset' => int, 'results' => [FoundGif, FoundGif]]; +``` + + +Or, if you're into Lua: + +```lua +messages.foundGifs={_='messages.foundGifs', next_offset=int, results={FoundGif}} + +``` + + diff --git a/old_docs/API_docs_v86/constructors/messages.foundStickerSets.md b/old_docs/API_docs_v86/constructors/messages.foundStickerSets.md new file mode 100644 index 00000000..efc5201e --- /dev/null +++ b/old_docs/API_docs_v86/constructors/messages.foundStickerSets.md @@ -0,0 +1,39 @@ +--- +title: messages.foundStickerSets +description: Found stickersets +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.foundStickerSets +[Back to constructors index](index.md) + + + +Found stickersets + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| + + + +### Type: [messages.FoundStickerSets](../types/messages.FoundStickerSets.md) + + +### Example: + +```php +$messages.foundStickerSets = ['_' => 'messages.foundStickerSets', 'hash' => int, 'sets' => [StickerSetCovered, StickerSetCovered]]; +``` + + +Or, if you're into Lua: + +```lua +messages.foundStickerSets={_='messages.foundStickerSets', hash=int, sets={StickerSetCovered}} + +``` + + diff --git a/old_docs/API_docs_v86/constructors/messages.foundStickerSetsNotModified.md b/old_docs/API_docs_v86/constructors/messages.foundStickerSetsNotModified.md new file mode 100644 index 00000000..2902501a --- /dev/null +++ b/old_docs/API_docs_v86/constructors/messages.foundStickerSetsNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.foundStickerSetsNotModified +description: No further results were found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.foundStickerSetsNotModified +[Back to constructors index](index.md) + + + +No further results were found + + + + +### Type: [messages.FoundStickerSets](../types/messages.FoundStickerSets.md) + + +### Example: + +```php +$messages.foundStickerSetsNotModified = ['_' => 'messages.foundStickerSetsNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.foundStickerSetsNotModified={_='messages.foundStickerSetsNotModified'} + +``` + + diff --git a/old_docs/API_docs_v86/constructors/messages.highScores.md b/old_docs/API_docs_v86/constructors/messages.highScores.md new file mode 100644 index 00000000..d7d25826 --- /dev/null +++ b/old_docs/API_docs_v86/constructors/messages.highScores.md @@ -0,0 +1,39 @@ +--- +title: messages.highScores +description: Highscores in a game +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.highScores +[Back to constructors index](index.md) + + + +Highscores in a game + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|scores|Array of [HighScore](../types/HighScore.md) | Yes|Scores| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.HighScores](../types/messages.HighScores.md) + + +### Example: + +```php +$messages.highScores = ['_' => 'messages.highScores', 'scores' => [HighScore, HighScore], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.highScores={_='messages.highScores', scores={HighScore}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v86/constructors/messages.messageEditData.md b/old_docs/API_docs_v86/constructors/messages.messageEditData.md new file mode 100644 index 00000000..578b53d9 --- /dev/null +++ b/old_docs/API_docs_v86/constructors/messages.messageEditData.md @@ -0,0 +1,38 @@ +--- +title: messages.messageEditData +description: Message edit data for media +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.messageEditData +[Back to constructors index](index.md) + + + +Message edit data for media + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|caption|[Bool](../types/Bool.md) | Optional|Media caption, if the specified media's caption can be edited| + + + +### Type: [messages.MessageEditData](../types/messages.MessageEditData.md) + + +### Example: + +```php +$messages.messageEditData = ['_' => 'messages.messageEditData', 'caption' => Bool]; +``` + + +Or, if you're into Lua: + +```lua +messages.messageEditData={_='messages.messageEditData', caption=Bool} + +``` + + diff --git a/old_docs/API_docs_v86/constructors/messages.messages.md b/old_docs/API_docs_v86/constructors/messages.messages.md new file mode 100644 index 00000000..3af71dca --- /dev/null +++ b/old_docs/API_docs_v86/constructors/messages.messages.md @@ -0,0 +1,40 @@ +--- +title: messages.messages +description: Full list of messages with auxilary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.messages +[Back to constructors index](index.md) + + + +Full list of messages with auxilary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Messages](../types/messages.Messages.md) + + +### Example: + +```php +$messages.messages = ['_' => 'messages.messages', 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.messages={_='messages.messages', messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v86/constructors/messages.messagesNotModified.md b/old_docs/API_docs_v86/constructors/messages.messagesNotModified.md new file mode 100644 index 00000000..c4cb60ed --- /dev/null +++ b/old_docs/API_docs_v86/constructors/messages.messagesNotModified.md @@ -0,0 +1,38 @@ +--- +title: messages.messagesNotModified +description: No new messages matching the query were found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.messagesNotModified +[Back to constructors index](index.md) + + + +No new messages matching the query were found + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Number of results found server-side by the given query| + + + +### Type: [messages.Messages](../types/messages.Messages.md) + + +### Example: + +```php +$messages.messagesNotModified = ['_' => 'messages.messagesNotModified', 'count' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.messagesNotModified={_='messages.messagesNotModified', count=int} + +``` + + diff --git a/old_docs/API_docs_v86/constructors/messages.messagesSlice.md b/old_docs/API_docs_v86/constructors/messages.messagesSlice.md new file mode 100644 index 00000000..2fe91df0 --- /dev/null +++ b/old_docs/API_docs_v86/constructors/messages.messagesSlice.md @@ -0,0 +1,41 @@ +--- +title: messages.messagesSlice +description: Incomplete list of messages and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.messagesSlice +[Back to constructors index](index.md) + + + +Incomplete list of messages and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of messages in the list| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Messages](../types/messages.Messages.md) + + +### Example: + +```php +$messages.messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.messagesSlice={_='messages.messagesSlice', count=int, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v86/constructors/messages.peerDialogs.md b/old_docs/API_docs_v86/constructors/messages.peerDialogs.md new file mode 100644 index 00000000..39cb71f8 --- /dev/null +++ b/old_docs/API_docs_v86/constructors/messages.peerDialogs.md @@ -0,0 +1,42 @@ +--- +title: messages.peerDialogs +description: Dialog info of multiple peers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.peerDialogs +[Back to constructors index](index.md) + + + +Dialog info of multiple peers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| +|state|[updates.State](../constructors/updates.State.md) | Yes|Current [update state of dialog](https://core.telegram.org/api/updates)| + + + +### Type: [messages.PeerDialogs](../types/messages.PeerDialogs.md) + + +### Example: + +```php +$messages.peerDialogs = ['_' => 'messages.peerDialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates.State]; +``` + + +Or, if you're into Lua: + +```lua +messages.peerDialogs={_='messages.peerDialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}, state=updates.State} + +``` + + diff --git a/old_docs/API_docs_v86/constructors/messages.recentStickers.md b/old_docs/API_docs_v86/constructors/messages.recentStickers.md new file mode 100644 index 00000000..33e6c1ad --- /dev/null +++ b/old_docs/API_docs_v86/constructors/messages.recentStickers.md @@ -0,0 +1,41 @@ +--- +title: messages.recentStickers +description: Recently used stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.recentStickers +[Back to constructors index](index.md) + + + +Recently used stickers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|packs|Array of [StickerPack](../types/StickerPack.md) | Yes|Packs| +|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| +|dates|Array of [int](../types/int.md) | Yes|Dates| + + + +### Type: [messages.RecentStickers](../types/messages.RecentStickers.md) + + +### Example: + +```php +$messages.recentStickers = ['_' => 'messages.recentStickers', 'hash' => int, 'packs' => [StickerPack, StickerPack], 'stickers' => [Document, Document], 'dates' => [int, int]]; +``` + + +Or, if you're into Lua: + +```lua +messages.recentStickers={_='messages.recentStickers', hash=int, packs={StickerPack}, stickers={Document}, dates={int}} + +``` + + diff --git a/old_docs/API_docs_v86/constructors/messages.recentStickersNotModified.md b/old_docs/API_docs_v86/constructors/messages.recentStickersNotModified.md new file mode 100644 index 00000000..1c3bbf5c --- /dev/null +++ b/old_docs/API_docs_v86/constructors/messages.recentStickersNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.recentStickersNotModified +description: No new recent sticker was found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.recentStickersNotModified +[Back to constructors index](index.md) + + + +No new recent sticker was found + + + + +### Type: [messages.RecentStickers](../types/messages.RecentStickers.md) + + +### Example: + +```php +$messages.recentStickersNotModified = ['_' => 'messages.recentStickersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.recentStickersNotModified={_='messages.recentStickersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v86/constructors/messages.savedGifs.md b/old_docs/API_docs_v86/constructors/messages.savedGifs.md new file mode 100644 index 00000000..c82929a3 --- /dev/null +++ b/old_docs/API_docs_v86/constructors/messages.savedGifs.md @@ -0,0 +1,39 @@ +--- +title: messages.savedGifs +description: Saved gifs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.savedGifs +[Back to constructors index](index.md) + + + +Saved gifs + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|gifs|Array of [Document](../types/Document.md) | Yes|Gifs| + + + +### Type: [messages.SavedGifs](../types/messages.SavedGifs.md) + + +### Example: + +```php +$messages.savedGifs = ['_' => 'messages.savedGifs', 'hash' => int, 'gifs' => [Document, Document]]; +``` + + +Or, if you're into Lua: + +```lua +messages.savedGifs={_='messages.savedGifs', hash=int, gifs={Document}} + +``` + + diff --git a/old_docs/API_docs_v86/constructors/messages.savedGifsNotModified.md b/old_docs/API_docs_v86/constructors/messages.savedGifsNotModified.md new file mode 100644 index 00000000..0fbccacc --- /dev/null +++ b/old_docs/API_docs_v86/constructors/messages.savedGifsNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.savedGifsNotModified +description: No new saved gifs were found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.savedGifsNotModified +[Back to constructors index](index.md) + + + +No new saved gifs were found + + + + +### Type: [messages.SavedGifs](../types/messages.SavedGifs.md) + + +### Example: + +```php +$messages.savedGifsNotModified = ['_' => 'messages.savedGifsNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.savedGifsNotModified={_='messages.savedGifsNotModified'} + +``` + + diff --git a/old_docs/API_docs_v86/constructors/messages.sentEncryptedFile.md b/old_docs/API_docs_v86/constructors/messages.sentEncryptedFile.md new file mode 100644 index 00000000..1f0e43c6 --- /dev/null +++ b/old_docs/API_docs_v86/constructors/messages.sentEncryptedFile.md @@ -0,0 +1,39 @@ +--- +title: messages.sentEncryptedFile +description: Message with a file enclosure sent to a protected chat +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.sentEncryptedFile +[Back to constructors index](index.md) + + + +Message with a file enclosure sent to a protected chat + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Sending date| +|file|[EncryptedFile](../types/EncryptedFile.md) | Optional|Attached file| + + + +### Type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) + + +### Example: + +```php +$messages.sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile]; +``` + + +Or, if you're into Lua: + +```lua +messages.sentEncryptedFile={_='messages.sentEncryptedFile', date=int, file=EncryptedFile} + +``` + + diff --git a/old_docs/API_docs_v86/constructors/messages.sentEncryptedMessage.md b/old_docs/API_docs_v86/constructors/messages.sentEncryptedMessage.md new file mode 100644 index 00000000..3d5eb40c --- /dev/null +++ b/old_docs/API_docs_v86/constructors/messages.sentEncryptedMessage.md @@ -0,0 +1,38 @@ +--- +title: messages.sentEncryptedMessage +description: Message without file attachemts sent to an encrypted file. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.sentEncryptedMessage +[Back to constructors index](index.md) + + + +Message without file attachemts sent to an encrypted file. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Date of sending| + + + +### Type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) + + +### Example: + +```php +$messages.sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.sentEncryptedMessage={_='messages.sentEncryptedMessage', date=int} + +``` + + diff --git a/old_docs/API_docs_v86/constructors/messages.stickerSet.md b/old_docs/API_docs_v86/constructors/messages.stickerSet.md new file mode 100644 index 00000000..fbc154d0 --- /dev/null +++ b/old_docs/API_docs_v86/constructors/messages.stickerSet.md @@ -0,0 +1,40 @@ +--- +title: messages.stickerSet +description: Stickerset and stickers inside it +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickerSet +[Back to constructors index](index.md) + + + +Stickerset and stickers inside it + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|set|[StickerSet](../types/StickerSet.md) | Yes|The stickerset| +|packs|Array of [StickerPack](../types/StickerPack.md) | Yes|Packs| +|documents|Array of [Document](../types/Document.md) | Yes|Documents| + + + +### Type: [messages.StickerSet](../types/messages.StickerSet.md) + + +### Example: + +```php +$messages.stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'packs' => [StickerPack, StickerPack], 'documents' => [Document, Document]]; +``` + + +Or, if you're into Lua: + +```lua +messages.stickerSet={_='messages.stickerSet', set=StickerSet, packs={StickerPack}, documents={Document}} + +``` + + diff --git a/old_docs/API_docs_v86/constructors/messages.stickerSetInstallResultArchive.md b/old_docs/API_docs_v86/constructors/messages.stickerSetInstallResultArchive.md new file mode 100644 index 00000000..fefe2270 --- /dev/null +++ b/old_docs/API_docs_v86/constructors/messages.stickerSetInstallResultArchive.md @@ -0,0 +1,38 @@ +--- +title: messages.stickerSetInstallResultArchive +description: The stickerset was installed, but since there are too many stickersets some were archived +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickerSetInstallResultArchive +[Back to constructors index](index.md) + + + +The stickerset was installed, but since there are too many stickersets some were archived + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| + + + +### Type: [messages.StickerSetInstallResult](../types/messages.StickerSetInstallResult.md) + + +### Example: + +```php +$messages.stickerSetInstallResultArchive = ['_' => 'messages.stickerSetInstallResultArchive', 'sets' => [StickerSetCovered, StickerSetCovered]]; +``` + + +Or, if you're into Lua: + +```lua +messages.stickerSetInstallResultArchive={_='messages.stickerSetInstallResultArchive', sets={StickerSetCovered}} + +``` + + diff --git a/old_docs/API_docs_v86/constructors/messages.stickerSetInstallResultSuccess.md b/old_docs/API_docs_v86/constructors/messages.stickerSetInstallResultSuccess.md new file mode 100644 index 00000000..bbe8b961 --- /dev/null +++ b/old_docs/API_docs_v86/constructors/messages.stickerSetInstallResultSuccess.md @@ -0,0 +1,33 @@ +--- +title: messages.stickerSetInstallResultSuccess +description: The stickerset was installed successfully +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickerSetInstallResultSuccess +[Back to constructors index](index.md) + + + +The stickerset was installed successfully + + + + +### Type: [messages.StickerSetInstallResult](../types/messages.StickerSetInstallResult.md) + + +### Example: + +```php +$messages.stickerSetInstallResultSuccess = ['_' => 'messages.stickerSetInstallResultSuccess']; +``` + + +Or, if you're into Lua: + +```lua +messages.stickerSetInstallResultSuccess={_='messages.stickerSetInstallResultSuccess'} + +``` + + diff --git a/old_docs/API_docs_v86/constructors/messages.stickers.md b/old_docs/API_docs_v86/constructors/messages.stickers.md new file mode 100644 index 00000000..49ffea6a --- /dev/null +++ b/old_docs/API_docs_v86/constructors/messages.stickers.md @@ -0,0 +1,39 @@ +--- +title: messages.stickers +description: Found stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickers +[Back to constructors index](index.md) + + + +Found stickers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| + + + +### Type: [messages.Stickers](../types/messages.Stickers.md) + + +### Example: + +```php +$messages.stickers = ['_' => 'messages.stickers', 'hash' => int, 'stickers' => [Document, Document]]; +``` + + +Or, if you're into Lua: + +```lua +messages.stickers={_='messages.stickers', hash=int, stickers={Document}} + +``` + + diff --git a/old_docs/API_docs_v86/constructors/messages.stickersNotModified.md b/old_docs/API_docs_v86/constructors/messages.stickersNotModified.md new file mode 100644 index 00000000..e8c7766c --- /dev/null +++ b/old_docs/API_docs_v86/constructors/messages.stickersNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.stickersNotModified +description: No new stickers were found for the given query +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickersNotModified +[Back to constructors index](index.md) + + + +No new stickers were found for the given query + + + + +### Type: [messages.Stickers](../types/messages.Stickers.md) + + +### Example: + +```php +$messages.stickersNotModified = ['_' => 'messages.stickersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.stickersNotModified={_='messages.stickersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v86/constructors/messages_affectedHistory.md b/old_docs/API_docs_v86/constructors/messages_affectedHistory.md deleted file mode 100644 index 449a7e3f..00000000 --- a/old_docs/API_docs_v86/constructors/messages_affectedHistory.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.affectedHistory -description: Affected part of communication history with the user or in a chat. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.affectedHistory -[Back to constructors index](index.md) - - - -Affected part of communication history with the user or in a chat. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| -|pts\_count|[int](../types/int.md) | Yes|Number of affected events| -|offset|[int](../types/int.md) | Yes|If a parameter contains positive value, it is necessary to repeat the method call using the given value; during the proceeding of all the history the value itself shall gradually decrease| - - - -### Type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) - - -### Example: - -```php -$messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_affectedHistory={_='messages.affectedHistory', pts=int, pts_count=int, offset=int} - -``` - - diff --git a/old_docs/API_docs_v86/constructors/messages_affectedMessages.md b/old_docs/API_docs_v86/constructors/messages_affectedMessages.md deleted file mode 100644 index 86760581..00000000 --- a/old_docs/API_docs_v86/constructors/messages_affectedMessages.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.affectedMessages -description: Events affected by operation -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.affectedMessages -[Back to constructors index](index.md) - - - -Events affected by operation - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|[Event count after generation](https://core.telegram.org/api/updates)| -|pts\_count|[int](../types/int.md) | Yes|[Number of events that were generated](https://core.telegram.org/api/updates)| - - - -### Type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) - - -### Example: - -```php -$messages_affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_affectedMessages={_='messages.affectedMessages', pts=int, pts_count=int} - -``` - - diff --git a/old_docs/API_docs_v86/constructors/messages_allStickers.md b/old_docs/API_docs_v86/constructors/messages_allStickers.md deleted file mode 100644 index 2e64f46e..00000000 --- a/old_docs/API_docs_v86/constructors/messages_allStickers.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.allStickers -description: Info about all installed stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.allStickers -[Back to constructors index](index.md) - - - -Info about all installed stickers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|sets|Array of [StickerSet](../types/StickerSet.md) | Yes|Sets| - - - -### Type: [messages\_AllStickers](../types/messages_AllStickers.md) - - -### Example: - -```php -$messages_allStickers = ['_' => 'messages.allStickers', 'hash' => int, 'sets' => [StickerSet, StickerSet]]; -``` - - -Or, if you're into Lua: - -```lua -messages_allStickers={_='messages.allStickers', hash=int, sets={StickerSet}} - -``` - - diff --git a/old_docs/API_docs_v86/constructors/messages_allStickersNotModified.md b/old_docs/API_docs_v86/constructors/messages_allStickersNotModified.md deleted file mode 100644 index c4da85ab..00000000 --- a/old_docs/API_docs_v86/constructors/messages_allStickersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.allStickersNotModified -description: Info about all installed stickers hasn't changed -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.allStickersNotModified -[Back to constructors index](index.md) - - - -Info about all installed stickers hasn't changed - - - - -### Type: [messages\_AllStickers](../types/messages_AllStickers.md) - - -### Example: - -```php -$messages_allStickersNotModified = ['_' => 'messages.allStickersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_allStickersNotModified={_='messages.allStickersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v86/constructors/messages_archivedStickers.md b/old_docs/API_docs_v86/constructors/messages_archivedStickers.md deleted file mode 100644 index 6b28c885..00000000 --- a/old_docs/API_docs_v86/constructors/messages_archivedStickers.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.archivedStickers -description: Archived stickersets -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.archivedStickers -[Back to constructors index](index.md) - - - -Archived stickersets - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Number of archived stickers| -|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| - - - -### Type: [messages\_ArchivedStickers](../types/messages_ArchivedStickers.md) - - -### Example: - -```php -$messages_archivedStickers = ['_' => 'messages.archivedStickers', 'count' => int, 'sets' => [StickerSetCovered, StickerSetCovered]]; -``` - - -Or, if you're into Lua: - -```lua -messages_archivedStickers={_='messages.archivedStickers', count=int, sets={StickerSetCovered}} - -``` - - diff --git a/old_docs/API_docs_v86/constructors/messages_botCallbackAnswer.md b/old_docs/API_docs_v86/constructors/messages_botCallbackAnswer.md deleted file mode 100644 index e56f4b56..00000000 --- a/old_docs/API_docs_v86/constructors/messages_botCallbackAnswer.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: messages.botCallbackAnswer -description: Callback answer sent by the bot in response to a button press -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.botCallbackAnswer -[Back to constructors index](index.md) - - - -Callback answer sent by the bot in response to a button press - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|alert|[Bool](../types/Bool.md) | Optional|Whether an alert should be shown to the user instead of a toast notification| -|has\_url|[Bool](../types/Bool.md) | Optional|Whether an URL is present| -|native\_ui|[Bool](../types/Bool.md) | Optional|Whether to show games in WebView or in native UI.| -|message|[string](../types/string.md) | Optional|Alert to show| -|url|[string](../types/string.md) | Optional|URL to open| -|cache\_time|[int](../types/int.md) | Yes|For how long should this answer be cached| - - - -### Type: [messages\_BotCallbackAnswer](../types/messages_BotCallbackAnswer.md) - - -### Example: - -```php -$messages_botCallbackAnswer = ['_' => 'messages.botCallbackAnswer', 'alert' => Bool, 'has_url' => Bool, 'native_ui' => Bool, 'message' => 'string', 'url' => 'string', 'cache_time' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_botCallbackAnswer={_='messages.botCallbackAnswer', alert=Bool, has_url=Bool, native_ui=Bool, message='string', url='string', cache_time=int} - -``` - - diff --git a/old_docs/API_docs_v86/constructors/messages_botResults.md b/old_docs/API_docs_v86/constructors/messages_botResults.md deleted file mode 100644 index 19b9edf6..00000000 --- a/old_docs/API_docs_v86/constructors/messages_botResults.md +++ /dev/null @@ -1,44 +0,0 @@ ---- -title: messages.botResults -description: Result of a query to an inline bot -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.botResults -[Back to constructors index](index.md) - - - -Result of a query to an inline bot - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|gallery|[Bool](../types/Bool.md) | Optional|Whether the result is a picture gallery| -|query\_id|[long](../types/long.md) | Yes|Query ID| -|next\_offset|[string](../types/string.md) | Optional|The next offset to use when navigating through results| -|switch\_pm|[InlineBotSwitchPM](../types/InlineBotSwitchPM.md) | Optional|Whether the bot requested the user to message him in private| -|results|Array of [BotInlineResult](../types/BotInlineResult.md) | Yes|Results| -|cache\_time|[int](../types/int.md) | Yes|Caching validity of the results| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_BotResults](../types/messages_BotResults.md) - - -### Example: - -```php -$messages_botResults = ['_' => 'messages.botResults', 'gallery' => Bool, 'query_id' => long, 'next_offset' => 'string', 'switch_pm' => InlineBotSwitchPM, 'results' => [BotInlineResult, BotInlineResult], 'cache_time' => int, 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_botResults={_='messages.botResults', gallery=Bool, query_id=long, next_offset='string', switch_pm=InlineBotSwitchPM, results={BotInlineResult}, cache_time=int, users={User}} - -``` - - diff --git a/old_docs/API_docs_v86/constructors/messages_channelMessages.md b/old_docs/API_docs_v86/constructors/messages_channelMessages.md deleted file mode 100644 index 12cdb9cd..00000000 --- a/old_docs/API_docs_v86/constructors/messages_channelMessages.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: messages.channelMessages -description: Channel messages -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.channelMessages -[Back to constructors index](index.md) - - - -Channel messages - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|[Event count after generation](https://core.telegram.org/api/updates)| -|count|[int](../types/int.md) | Yes|Total number of results were found server-side (may not be all included here)| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Messages](../types/messages_Messages.md) - - -### Example: - -```php -$messages_channelMessages = ['_' => 'messages.channelMessages', 'pts' => int, 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_channelMessages={_='messages.channelMessages', pts=int, count=int, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v86/constructors/messages_chatFull.md b/old_docs/API_docs_v86/constructors/messages_chatFull.md deleted file mode 100644 index 02f1acdf..00000000 --- a/old_docs/API_docs_v86/constructors/messages_chatFull.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.chatFull -description: Extended info on chat and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.chatFull -[Back to constructors index](index.md) - - - -Extended info on chat and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|full\_chat|[ChatFull](../types/ChatFull.md) | Yes|Extended info on a chat| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_ChatFull](../types/messages_ChatFull.md) - - -### Example: - -```php -$messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_chatFull={_='messages.chatFull', full_chat=ChatFull, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v86/constructors/messages_chats.md b/old_docs/API_docs_v86/constructors/messages_chats.md deleted file mode 100644 index ef3690a9..00000000 --- a/old_docs/API_docs_v86/constructors/messages_chats.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.chats -description: List of chats with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.chats -[Back to constructors index](index.md) - - - -List of chats with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| - - - -### Type: [messages\_Chats](../types/messages_Chats.md) - - -### Example: - -```php -$messages_chats = ['_' => 'messages.chats', 'chats' => [Chat, Chat]]; -``` - - -Or, if you're into Lua: - -```lua -messages_chats={_='messages.chats', chats={Chat}} - -``` - - diff --git a/old_docs/API_docs_v86/constructors/messages_chatsSlice.md b/old_docs/API_docs_v86/constructors/messages_chatsSlice.md deleted file mode 100644 index f19c4357..00000000 --- a/old_docs/API_docs_v86/constructors/messages_chatsSlice.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.chatsSlice -description: Partial list of chats, more would have to be fetched with [pagination](https://core.telegram.org/api/offsets) -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.chatsSlice -[Back to constructors index](index.md) - - - -Partial list of chats, more would have to be fetched with [pagination](https://core.telegram.org/api/offsets) - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of results that were found server-side (not all are included in `chats`)| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| - - - -### Type: [messages\_Chats](../types/messages_Chats.md) - - -### Example: - -```php -$messages_chatsSlice = ['_' => 'messages.chatsSlice', 'count' => int, 'chats' => [Chat, Chat]]; -``` - - -Or, if you're into Lua: - -```lua -messages_chatsSlice={_='messages.chatsSlice', count=int, chats={Chat}} - -``` - - diff --git a/old_docs/API_docs_v86/constructors/messages_dhConfig.md b/old_docs/API_docs_v86/constructors/messages_dhConfig.md deleted file mode 100644 index 42c2feb1..00000000 --- a/old_docs/API_docs_v86/constructors/messages_dhConfig.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: messages.dhConfig -description: New set of configuring parameters. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dhConfig -[Back to constructors index](index.md) - - - -New set of configuring parameters. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|g|[int](../types/int.md) | Yes|New value **prime**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| -|p|[bytes](../types/bytes.md) | Yes|New value **primitive root**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| -|version|[int](../types/int.md) | Yes|Vestion of set of parameters| -|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| - - - -### Type: [messages\_DhConfig](../types/messages_DhConfig.md) - - -### Example: - -```php -$messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'version' => int, 'random' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -messages_dhConfig={_='messages.dhConfig', g=int, p='bytes', version=int, random='bytes'} - -``` - - diff --git a/old_docs/API_docs_v86/constructors/messages_dhConfigNotModified.md b/old_docs/API_docs_v86/constructors/messages_dhConfigNotModified.md deleted file mode 100644 index 5bf64230..00000000 --- a/old_docs/API_docs_v86/constructors/messages_dhConfigNotModified.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.dhConfigNotModified -description: Configuring parameters did not change. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dhConfigNotModified -[Back to constructors index](index.md) - - - -Configuring parameters did not change. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| - - - -### Type: [messages\_DhConfig](../types/messages_DhConfig.md) - - -### Example: - -```php -$messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -messages_dhConfigNotModified={_='messages.dhConfigNotModified', random='bytes'} - -``` - - diff --git a/old_docs/API_docs_v86/constructors/messages_dialogs.md b/old_docs/API_docs_v86/constructors/messages_dialogs.md deleted file mode 100644 index e6a431b4..00000000 --- a/old_docs/API_docs_v86/constructors/messages_dialogs.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: messages.dialogs -description: Full list of chats with messages and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dialogs -[Back to constructors index](index.md) - - - -Full list of chats with messages and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Dialogs](../types/messages_Dialogs.md) - - -### Example: - -```php -$messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_dialogs={_='messages.dialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v86/constructors/messages_dialogsNotModified.md b/old_docs/API_docs_v86/constructors/messages_dialogsNotModified.md deleted file mode 100644 index 16a32b2e..00000000 --- a/old_docs/API_docs_v86/constructors/messages_dialogsNotModified.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.dialogsNotModified -description: Dialogs haven't changed -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dialogsNotModified -[Back to constructors index](index.md) - - - -Dialogs haven't changed - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Number of dialogs found server-side by the query| - - - -### Type: [messages\_Dialogs](../types/messages_Dialogs.md) - - -### Example: - -```php -$messages_dialogsNotModified = ['_' => 'messages.dialogsNotModified', 'count' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_dialogsNotModified={_='messages.dialogsNotModified', count=int} - -``` - - diff --git a/old_docs/API_docs_v86/constructors/messages_dialogsSlice.md b/old_docs/API_docs_v86/constructors/messages_dialogsSlice.md deleted file mode 100644 index f183b9a8..00000000 --- a/old_docs/API_docs_v86/constructors/messages_dialogsSlice.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: messages.dialogsSlice -description: Incomplete list of dialogs with messages and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dialogsSlice -[Back to constructors index](index.md) - - - -Incomplete list of dialogs with messages and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of dialogs| -|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Dialogs](../types/messages_Dialogs.md) - - -### Example: - -```php -$messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_dialogsSlice={_='messages.dialogsSlice', count=int, dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v86/constructors/messages_favedStickers.md b/old_docs/API_docs_v86/constructors/messages_favedStickers.md deleted file mode 100644 index 72d79df2..00000000 --- a/old_docs/API_docs_v86/constructors/messages_favedStickers.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.favedStickers -description: Favorited stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.favedStickers -[Back to constructors index](index.md) - - - -Favorited stickers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|packs|Array of [StickerPack](../types/StickerPack.md) | Yes|Packs| -|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| - - - -### Type: [messages\_FavedStickers](../types/messages_FavedStickers.md) - - -### Example: - -```php -$messages_favedStickers = ['_' => 'messages.favedStickers', 'hash' => int, 'packs' => [StickerPack, StickerPack], 'stickers' => [Document, Document]]; -``` - - -Or, if you're into Lua: - -```lua -messages_favedStickers={_='messages.favedStickers', hash=int, packs={StickerPack}, stickers={Document}} - -``` - - diff --git a/old_docs/API_docs_v86/constructors/messages_favedStickersNotModified.md b/old_docs/API_docs_v86/constructors/messages_favedStickersNotModified.md deleted file mode 100644 index a47c08e8..00000000 --- a/old_docs/API_docs_v86/constructors/messages_favedStickersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.favedStickersNotModified -description: No new favorited stickers were found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.favedStickersNotModified -[Back to constructors index](index.md) - - - -No new favorited stickers were found - - - - -### Type: [messages\_FavedStickers](../types/messages_FavedStickers.md) - - -### Example: - -```php -$messages_favedStickersNotModified = ['_' => 'messages.favedStickersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_favedStickersNotModified={_='messages.favedStickersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v86/constructors/messages_featuredStickers.md b/old_docs/API_docs_v86/constructors/messages_featuredStickers.md deleted file mode 100644 index 8ef1046e..00000000 --- a/old_docs/API_docs_v86/constructors/messages_featuredStickers.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.featuredStickers -description: Featured stickersets -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.featuredStickers -[Back to constructors index](index.md) - - - -Featured stickersets - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| -|unread|Array of [long](../types/long.md) | Yes|Unread| - - - -### Type: [messages\_FeaturedStickers](../types/messages_FeaturedStickers.md) - - -### Example: - -```php -$messages_featuredStickers = ['_' => 'messages.featuredStickers', 'hash' => int, 'sets' => [StickerSetCovered, StickerSetCovered], 'unread' => [long, long]]; -``` - - -Or, if you're into Lua: - -```lua -messages_featuredStickers={_='messages.featuredStickers', hash=int, sets={StickerSetCovered}, unread={long}} - -``` - - diff --git a/old_docs/API_docs_v86/constructors/messages_featuredStickersNotModified.md b/old_docs/API_docs_v86/constructors/messages_featuredStickersNotModified.md deleted file mode 100644 index de01131b..00000000 --- a/old_docs/API_docs_v86/constructors/messages_featuredStickersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.featuredStickersNotModified -description: Featured stickers haven't changed -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.featuredStickersNotModified -[Back to constructors index](index.md) - - - -Featured stickers haven't changed - - - - -### Type: [messages\_FeaturedStickers](../types/messages_FeaturedStickers.md) - - -### Example: - -```php -$messages_featuredStickersNotModified = ['_' => 'messages.featuredStickersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_featuredStickersNotModified={_='messages.featuredStickersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v86/constructors/messages_foundGifs.md b/old_docs/API_docs_v86/constructors/messages_foundGifs.md deleted file mode 100644 index eb3603ca..00000000 --- a/old_docs/API_docs_v86/constructors/messages_foundGifs.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.foundGifs -description: Found GIFs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.foundGifs -[Back to constructors index](index.md) - - - -Found GIFs - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|next\_offset|[int](../types/int.md) | Yes|Next offset to use when trying to [load more results](../methods/messages.searchGifs.md)| -|results|Array of [FoundGif](../types/FoundGif.md) | Yes|Results| - - - -### Type: [messages\_FoundGifs](../types/messages_FoundGifs.md) - - -### Example: - -```php -$messages_foundGifs = ['_' => 'messages.foundGifs', 'next_offset' => int, 'results' => [FoundGif, FoundGif]]; -``` - - -Or, if you're into Lua: - -```lua -messages_foundGifs={_='messages.foundGifs', next_offset=int, results={FoundGif}} - -``` - - diff --git a/old_docs/API_docs_v86/constructors/messages_foundStickerSets.md b/old_docs/API_docs_v86/constructors/messages_foundStickerSets.md deleted file mode 100644 index 356177e1..00000000 --- a/old_docs/API_docs_v86/constructors/messages_foundStickerSets.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.foundStickerSets -description: Found stickersets -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.foundStickerSets -[Back to constructors index](index.md) - - - -Found stickersets - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| - - - -### Type: [messages\_FoundStickerSets](../types/messages_FoundStickerSets.md) - - -### Example: - -```php -$messages_foundStickerSets = ['_' => 'messages.foundStickerSets', 'hash' => int, 'sets' => [StickerSetCovered, StickerSetCovered]]; -``` - - -Or, if you're into Lua: - -```lua -messages_foundStickerSets={_='messages.foundStickerSets', hash=int, sets={StickerSetCovered}} - -``` - - diff --git a/old_docs/API_docs_v86/constructors/messages_foundStickerSetsNotModified.md b/old_docs/API_docs_v86/constructors/messages_foundStickerSetsNotModified.md deleted file mode 100644 index c1f39490..00000000 --- a/old_docs/API_docs_v86/constructors/messages_foundStickerSetsNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.foundStickerSetsNotModified -description: No further results were found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.foundStickerSetsNotModified -[Back to constructors index](index.md) - - - -No further results were found - - - - -### Type: [messages\_FoundStickerSets](../types/messages_FoundStickerSets.md) - - -### Example: - -```php -$messages_foundStickerSetsNotModified = ['_' => 'messages.foundStickerSetsNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_foundStickerSetsNotModified={_='messages.foundStickerSetsNotModified'} - -``` - - diff --git a/old_docs/API_docs_v86/constructors/messages_highScores.md b/old_docs/API_docs_v86/constructors/messages_highScores.md deleted file mode 100644 index d6fc5210..00000000 --- a/old_docs/API_docs_v86/constructors/messages_highScores.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.highScores -description: Highscores in a game -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.highScores -[Back to constructors index](index.md) - - - -Highscores in a game - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|scores|Array of [HighScore](../types/HighScore.md) | Yes|Scores| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_HighScores](../types/messages_HighScores.md) - - -### Example: - -```php -$messages_highScores = ['_' => 'messages.highScores', 'scores' => [HighScore, HighScore], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_highScores={_='messages.highScores', scores={HighScore}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v86/constructors/messages_messageEditData.md b/old_docs/API_docs_v86/constructors/messages_messageEditData.md deleted file mode 100644 index 76aefca5..00000000 --- a/old_docs/API_docs_v86/constructors/messages_messageEditData.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.messageEditData -description: Message edit data for media -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.messageEditData -[Back to constructors index](index.md) - - - -Message edit data for media - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|caption|[Bool](../types/Bool.md) | Optional|Media caption, if the specified media's caption can be edited| - - - -### Type: [messages\_MessageEditData](../types/messages_MessageEditData.md) - - -### Example: - -```php -$messages_messageEditData = ['_' => 'messages.messageEditData', 'caption' => Bool]; -``` - - -Or, if you're into Lua: - -```lua -messages_messageEditData={_='messages.messageEditData', caption=Bool} - -``` - - diff --git a/old_docs/API_docs_v86/constructors/messages_messages.md b/old_docs/API_docs_v86/constructors/messages_messages.md deleted file mode 100644 index 3e369e1a..00000000 --- a/old_docs/API_docs_v86/constructors/messages_messages.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.messages -description: Full list of messages with auxilary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.messages -[Back to constructors index](index.md) - - - -Full list of messages with auxilary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Messages](../types/messages_Messages.md) - - -### Example: - -```php -$messages_messages = ['_' => 'messages.messages', 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_messages={_='messages.messages', messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v86/constructors/messages_messagesNotModified.md b/old_docs/API_docs_v86/constructors/messages_messagesNotModified.md deleted file mode 100644 index 2e9c4ad9..00000000 --- a/old_docs/API_docs_v86/constructors/messages_messagesNotModified.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.messagesNotModified -description: No new messages matching the query were found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.messagesNotModified -[Back to constructors index](index.md) - - - -No new messages matching the query were found - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Number of results found server-side by the given query| - - - -### Type: [messages\_Messages](../types/messages_Messages.md) - - -### Example: - -```php -$messages_messagesNotModified = ['_' => 'messages.messagesNotModified', 'count' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_messagesNotModified={_='messages.messagesNotModified', count=int} - -``` - - diff --git a/old_docs/API_docs_v86/constructors/messages_messagesSlice.md b/old_docs/API_docs_v86/constructors/messages_messagesSlice.md deleted file mode 100644 index f9b8dc18..00000000 --- a/old_docs/API_docs_v86/constructors/messages_messagesSlice.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: messages.messagesSlice -description: Incomplete list of messages and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.messagesSlice -[Back to constructors index](index.md) - - - -Incomplete list of messages and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of messages in the list| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Messages](../types/messages_Messages.md) - - -### Example: - -```php -$messages_messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_messagesSlice={_='messages.messagesSlice', count=int, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v86/constructors/messages_peerDialogs.md b/old_docs/API_docs_v86/constructors/messages_peerDialogs.md deleted file mode 100644 index 29b4b842..00000000 --- a/old_docs/API_docs_v86/constructors/messages_peerDialogs.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: messages.peerDialogs -description: Dialog info of multiple peers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.peerDialogs -[Back to constructors index](index.md) - - - -Dialog info of multiple peers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| -|state|[updates\_State](../types/updates_State.md) | Yes|Current [update state of dialog](https://core.telegram.org/api/updates)| - - - -### Type: [messages\_PeerDialogs](../types/messages_PeerDialogs.md) - - -### Example: - -```php -$messages_peerDialogs = ['_' => 'messages.peerDialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates_State]; -``` - - -Or, if you're into Lua: - -```lua -messages_peerDialogs={_='messages.peerDialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}, state=updates_State} - -``` - - diff --git a/old_docs/API_docs_v86/constructors/messages_recentStickers.md b/old_docs/API_docs_v86/constructors/messages_recentStickers.md deleted file mode 100644 index 47d5cffd..00000000 --- a/old_docs/API_docs_v86/constructors/messages_recentStickers.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: messages.recentStickers -description: Recently used stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.recentStickers -[Back to constructors index](index.md) - - - -Recently used stickers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|packs|Array of [StickerPack](../types/StickerPack.md) | Yes|Packs| -|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| -|dates|Array of [int](../types/int.md) | Yes|Dates| - - - -### Type: [messages\_RecentStickers](../types/messages_RecentStickers.md) - - -### Example: - -```php -$messages_recentStickers = ['_' => 'messages.recentStickers', 'hash' => int, 'packs' => [StickerPack, StickerPack], 'stickers' => [Document, Document], 'dates' => [int, int]]; -``` - - -Or, if you're into Lua: - -```lua -messages_recentStickers={_='messages.recentStickers', hash=int, packs={StickerPack}, stickers={Document}, dates={int}} - -``` - - diff --git a/old_docs/API_docs_v86/constructors/messages_recentStickersNotModified.md b/old_docs/API_docs_v86/constructors/messages_recentStickersNotModified.md deleted file mode 100644 index 3e81dceb..00000000 --- a/old_docs/API_docs_v86/constructors/messages_recentStickersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.recentStickersNotModified -description: No new recent sticker was found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.recentStickersNotModified -[Back to constructors index](index.md) - - - -No new recent sticker was found - - - - -### Type: [messages\_RecentStickers](../types/messages_RecentStickers.md) - - -### Example: - -```php -$messages_recentStickersNotModified = ['_' => 'messages.recentStickersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_recentStickersNotModified={_='messages.recentStickersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v86/constructors/messages_savedGifs.md b/old_docs/API_docs_v86/constructors/messages_savedGifs.md deleted file mode 100644 index ed3e8ea3..00000000 --- a/old_docs/API_docs_v86/constructors/messages_savedGifs.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.savedGifs -description: Saved gifs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.savedGifs -[Back to constructors index](index.md) - - - -Saved gifs - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|gifs|Array of [Document](../types/Document.md) | Yes|Gifs| - - - -### Type: [messages\_SavedGifs](../types/messages_SavedGifs.md) - - -### Example: - -```php -$messages_savedGifs = ['_' => 'messages.savedGifs', 'hash' => int, 'gifs' => [Document, Document]]; -``` - - -Or, if you're into Lua: - -```lua -messages_savedGifs={_='messages.savedGifs', hash=int, gifs={Document}} - -``` - - diff --git a/old_docs/API_docs_v86/constructors/messages_savedGifsNotModified.md b/old_docs/API_docs_v86/constructors/messages_savedGifsNotModified.md deleted file mode 100644 index 0f843a0c..00000000 --- a/old_docs/API_docs_v86/constructors/messages_savedGifsNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.savedGifsNotModified -description: No new saved gifs were found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.savedGifsNotModified -[Back to constructors index](index.md) - - - -No new saved gifs were found - - - - -### Type: [messages\_SavedGifs](../types/messages_SavedGifs.md) - - -### Example: - -```php -$messages_savedGifsNotModified = ['_' => 'messages.savedGifsNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_savedGifsNotModified={_='messages.savedGifsNotModified'} - -``` - - diff --git a/old_docs/API_docs_v86/constructors/messages_sentEncryptedFile.md b/old_docs/API_docs_v86/constructors/messages_sentEncryptedFile.md deleted file mode 100644 index fdc2a11e..00000000 --- a/old_docs/API_docs_v86/constructors/messages_sentEncryptedFile.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.sentEncryptedFile -description: Message with a file enclosure sent to a protected chat -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.sentEncryptedFile -[Back to constructors index](index.md) - - - -Message with a file enclosure sent to a protected chat - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Sending date| -|file|[EncryptedFile](../types/EncryptedFile.md) | Optional|Attached file| - - - -### Type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) - - -### Example: - -```php -$messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile]; -``` - - -Or, if you're into Lua: - -```lua -messages_sentEncryptedFile={_='messages.sentEncryptedFile', date=int, file=EncryptedFile} - -``` - - diff --git a/old_docs/API_docs_v86/constructors/messages_sentEncryptedMessage.md b/old_docs/API_docs_v86/constructors/messages_sentEncryptedMessage.md deleted file mode 100644 index 36b2bbff..00000000 --- a/old_docs/API_docs_v86/constructors/messages_sentEncryptedMessage.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.sentEncryptedMessage -description: Message without file attachemts sent to an encrypted file. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.sentEncryptedMessage -[Back to constructors index](index.md) - - - -Message without file attachemts sent to an encrypted file. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Date of sending| - - - -### Type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) - - -### Example: - -```php -$messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_sentEncryptedMessage={_='messages.sentEncryptedMessage', date=int} - -``` - - diff --git a/old_docs/API_docs_v86/constructors/messages_stickerSet.md b/old_docs/API_docs_v86/constructors/messages_stickerSet.md deleted file mode 100644 index 127191de..00000000 --- a/old_docs/API_docs_v86/constructors/messages_stickerSet.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.stickerSet -description: Stickerset and stickers inside it -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickerSet -[Back to constructors index](index.md) - - - -Stickerset and stickers inside it - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|set|[StickerSet](../types/StickerSet.md) | Yes|The stickerset| -|packs|Array of [StickerPack](../types/StickerPack.md) | Yes|Packs| -|documents|Array of [Document](../types/Document.md) | Yes|Documents| - - - -### Type: [messages\_StickerSet](../types/messages_StickerSet.md) - - -### Example: - -```php -$messages_stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'packs' => [StickerPack, StickerPack], 'documents' => [Document, Document]]; -``` - - -Or, if you're into Lua: - -```lua -messages_stickerSet={_='messages.stickerSet', set=StickerSet, packs={StickerPack}, documents={Document}} - -``` - - diff --git a/old_docs/API_docs_v86/constructors/messages_stickerSetInstallResultArchive.md b/old_docs/API_docs_v86/constructors/messages_stickerSetInstallResultArchive.md deleted file mode 100644 index 8a5f4d5d..00000000 --- a/old_docs/API_docs_v86/constructors/messages_stickerSetInstallResultArchive.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.stickerSetInstallResultArchive -description: The stickerset was installed, but since there are too many stickersets some were archived -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickerSetInstallResultArchive -[Back to constructors index](index.md) - - - -The stickerset was installed, but since there are too many stickersets some were archived - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| - - - -### Type: [messages\_StickerSetInstallResult](../types/messages_StickerSetInstallResult.md) - - -### Example: - -```php -$messages_stickerSetInstallResultArchive = ['_' => 'messages.stickerSetInstallResultArchive', 'sets' => [StickerSetCovered, StickerSetCovered]]; -``` - - -Or, if you're into Lua: - -```lua -messages_stickerSetInstallResultArchive={_='messages.stickerSetInstallResultArchive', sets={StickerSetCovered}} - -``` - - diff --git a/old_docs/API_docs_v86/constructors/messages_stickerSetInstallResultSuccess.md b/old_docs/API_docs_v86/constructors/messages_stickerSetInstallResultSuccess.md deleted file mode 100644 index 1d33b89f..00000000 --- a/old_docs/API_docs_v86/constructors/messages_stickerSetInstallResultSuccess.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.stickerSetInstallResultSuccess -description: The stickerset was installed successfully -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickerSetInstallResultSuccess -[Back to constructors index](index.md) - - - -The stickerset was installed successfully - - - - -### Type: [messages\_StickerSetInstallResult](../types/messages_StickerSetInstallResult.md) - - -### Example: - -```php -$messages_stickerSetInstallResultSuccess = ['_' => 'messages.stickerSetInstallResultSuccess']; -``` - - -Or, if you're into Lua: - -```lua -messages_stickerSetInstallResultSuccess={_='messages.stickerSetInstallResultSuccess'} - -``` - - diff --git a/old_docs/API_docs_v86/constructors/messages_stickers.md b/old_docs/API_docs_v86/constructors/messages_stickers.md deleted file mode 100644 index c321996b..00000000 --- a/old_docs/API_docs_v86/constructors/messages_stickers.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.stickers -description: Found stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickers -[Back to constructors index](index.md) - - - -Found stickers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| - - - -### Type: [messages\_Stickers](../types/messages_Stickers.md) - - -### Example: - -```php -$messages_stickers = ['_' => 'messages.stickers', 'hash' => int, 'stickers' => [Document, Document]]; -``` - - -Or, if you're into Lua: - -```lua -messages_stickers={_='messages.stickers', hash=int, stickers={Document}} - -``` - - diff --git a/old_docs/API_docs_v86/constructors/messages_stickersNotModified.md b/old_docs/API_docs_v86/constructors/messages_stickersNotModified.md deleted file mode 100644 index 3d434a79..00000000 --- a/old_docs/API_docs_v86/constructors/messages_stickersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.stickersNotModified -description: No new stickers were found for the given query -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickersNotModified -[Back to constructors index](index.md) - - - -No new stickers were found for the given query - - - - -### Type: [messages\_Stickers](../types/messages_Stickers.md) - - -### Example: - -```php -$messages_stickersNotModified = ['_' => 'messages.stickersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_stickersNotModified={_='messages.stickersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v86/constructors/payments.paymentForm.md b/old_docs/API_docs_v86/constructors/payments.paymentForm.md new file mode 100644 index 00000000..90e0f39d --- /dev/null +++ b/old_docs/API_docs_v86/constructors/payments.paymentForm.md @@ -0,0 +1,48 @@ +--- +title: payments.paymentForm +description: Payment form +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: payments.paymentForm +[Back to constructors index](index.md) + + + +Payment form + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|can\_save\_credentials|[Bool](../types/Bool.md) | Optional|Whether the user can choose to save credentials.| +|password\_missing|[Bool](../types/Bool.md) | Optional|Indicates that the user can save payment credentials, but only after setting up a [2FA password](https://core.telegram.org/api/srp) (currently the account doesn't have a [2FA password](https://core.telegram.org/api/srp))| +|bot\_id|[int](../types/int.md) | Yes|Bot ID| +|invoice|[Invoice](../types/Invoice.md) | Yes|Invoice| +|provider\_id|[int](../types/int.md) | Yes|Payment provider ID.| +|url|[string](../types/string.md) | Yes|Payment form URL| +|native\_provider|[string](../types/string.md) | Optional|Payment provider name.
One of the following:
\- `stripe`| +|native\_params|[DataJSON](../types/DataJSON.md) | Optional|Contains information about the payment provider, if available, to support it natively without the need for opening the URL.
A JSON object that can contain the following fields:

\- `publishable_key`: Stripe API publishable key
\- `apple_pay_merchant_id`: Apple Pay merchant ID
\- `android_pay_public_key`: Android Pay public key
\- `android_pay_bgcolor`: Android Pay form background color
\- `android_pay_inverse`: Whether to use the dark theme in the Android Pay form
\- `need_country`: True, if the user country must be provided,
\- `need_zip`: True, if the user ZIP/postal code must be provided,
\- `need_cardholder_name`: True, if the cardholder name must be provided
| +|saved\_info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Optional|Saved server-side order information| +|saved\_credentials|[PaymentSavedCredentials](../types/PaymentSavedCredentials.md) | Optional|Contains information about saved card credentials| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [payments.PaymentForm](../types/payments.PaymentForm.md) + + +### Example: + +```php +$payments.paymentForm = ['_' => 'payments.paymentForm', 'can_save_credentials' => Bool, 'password_missing' => Bool, 'bot_id' => int, 'invoice' => Invoice, 'provider_id' => int, 'url' => 'string', 'native_provider' => 'string', 'native_params' => DataJSON, 'saved_info' => PaymentRequestedInfo, 'saved_credentials' => PaymentSavedCredentials, 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +payments.paymentForm={_='payments.paymentForm', can_save_credentials=Bool, password_missing=Bool, bot_id=int, invoice=Invoice, provider_id=int, url='string', native_provider='string', native_params=DataJSON, saved_info=PaymentRequestedInfo, saved_credentials=PaymentSavedCredentials, users={User}} + +``` + + diff --git a/old_docs/API_docs_v86/constructors/payments.paymentReceipt.md b/old_docs/API_docs_v86/constructors/payments.paymentReceipt.md new file mode 100644 index 00000000..5a0cc190 --- /dev/null +++ b/old_docs/API_docs_v86/constructors/payments.paymentReceipt.md @@ -0,0 +1,47 @@ +--- +title: payments.paymentReceipt +description: Receipt +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: payments.paymentReceipt +[Back to constructors index](index.md) + + + +Receipt + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Date of generation| +|bot\_id|[int](../types/int.md) | Yes|Bot ID| +|invoice|[Invoice](../types/Invoice.md) | Yes|Invoice| +|provider\_id|[int](../types/int.md) | Yes|Provider ID| +|info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Optional|Info| +|shipping|[ShippingOption](../types/ShippingOption.md) | Optional|Selected shipping option| +|currency|[string](../types/string.md) | Yes|Three-letter ISO 4217 [currency](https://core.telegram.org/bots/payments#supported-currencies) code| +|total\_amount|[long](../types/long.md) | Yes|Total amount in the smallest units of the currency (integer, not float/double). For example, for a price of `US$ 1.45` pass `amount = 145`. See the exp parameter in [currencies.json](https://core.telegram.org/bots/payments/currencies.json), it shows the number of digits past the decimal point for each currency (2 for the majority of currencies).| +|credentials\_title|[string](../types/string.md) | Yes|Payment credential name| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [payments.PaymentReceipt](../types/payments.PaymentReceipt.md) + + +### Example: + +```php +$payments.paymentReceipt = ['_' => 'payments.paymentReceipt', 'date' => int, 'bot_id' => int, 'invoice' => Invoice, 'provider_id' => int, 'info' => PaymentRequestedInfo, 'shipping' => ShippingOption, 'currency' => 'string', 'total_amount' => long, 'credentials_title' => 'string', 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +payments.paymentReceipt={_='payments.paymentReceipt', date=int, bot_id=int, invoice=Invoice, provider_id=int, info=PaymentRequestedInfo, shipping=ShippingOption, currency='string', total_amount=long, credentials_title='string', users={User}} + +``` + + diff --git a/old_docs/API_docs_v86/constructors/payments.paymentResult.md b/old_docs/API_docs_v86/constructors/payments.paymentResult.md new file mode 100644 index 00000000..df32fd91 --- /dev/null +++ b/old_docs/API_docs_v86/constructors/payments.paymentResult.md @@ -0,0 +1,38 @@ +--- +title: payments.paymentResult +description: Payment result +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: payments.paymentResult +[Back to constructors index](index.md) + + + +Payment result + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|updates|[Updates](../types/Updates.md) | Yes|Info about the payment| + + + +### Type: [payments.PaymentResult](../types/payments.PaymentResult.md) + + +### Example: + +```php +$payments.paymentResult = ['_' => 'payments.paymentResult', 'updates' => Updates]; +``` + + +Or, if you're into Lua: + +```lua +payments.paymentResult={_='payments.paymentResult', updates=Updates} + +``` + + diff --git a/old_docs/API_docs_v86/constructors/payments.paymentVerficationNeeded.md b/old_docs/API_docs_v86/constructors/payments.paymentVerficationNeeded.md new file mode 100644 index 00000000..3f459215 --- /dev/null +++ b/old_docs/API_docs_v86/constructors/payments.paymentVerficationNeeded.md @@ -0,0 +1,38 @@ +--- +title: payments.paymentVerficationNeeded +description: Payment verfication needed +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: payments.paymentVerficationNeeded +[Back to constructors index](index.md) + + + +Payment verfication needed + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|url|[string](../types/string.md) | Yes|URL| + + + +### Type: [payments.PaymentResult](../types/payments.PaymentResult.md) + + +### Example: + +```php +$payments.paymentVerficationNeeded = ['_' => 'payments.paymentVerficationNeeded', 'url' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +payments.paymentVerficationNeeded={_='payments.paymentVerficationNeeded', url='string'} + +``` + + diff --git a/old_docs/API_docs_v86/constructors/payments.savedInfo.md b/old_docs/API_docs_v86/constructors/payments.savedInfo.md new file mode 100644 index 00000000..a005a842 --- /dev/null +++ b/old_docs/API_docs_v86/constructors/payments.savedInfo.md @@ -0,0 +1,39 @@ +--- +title: payments.savedInfo +description: Saved server-side order information +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: payments.savedInfo +[Back to constructors index](index.md) + + + +Saved server-side order information + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|has\_saved\_credentials|[Bool](../types/Bool.md) | Optional|Whether the user has some saved payment credentials| +|saved\_info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Optional|Saved server-side order information| + + + +### Type: [payments.SavedInfo](../types/payments.SavedInfo.md) + + +### Example: + +```php +$payments.savedInfo = ['_' => 'payments.savedInfo', 'has_saved_credentials' => Bool, 'saved_info' => PaymentRequestedInfo]; +``` + + +Or, if you're into Lua: + +```lua +payments.savedInfo={_='payments.savedInfo', has_saved_credentials=Bool, saved_info=PaymentRequestedInfo} + +``` + + diff --git a/old_docs/API_docs_v86/constructors/payments.validatedRequestedInfo.md b/old_docs/API_docs_v86/constructors/payments.validatedRequestedInfo.md new file mode 100644 index 00000000..4789b28d --- /dev/null +++ b/old_docs/API_docs_v86/constructors/payments.validatedRequestedInfo.md @@ -0,0 +1,39 @@ +--- +title: payments.validatedRequestedInfo +description: Validated user-provided info +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: payments.validatedRequestedInfo +[Back to constructors index](index.md) + + + +Validated user-provided info + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|id|[string](../types/string.md) | Optional|ID| +|shipping\_options|Array of [ShippingOption](../types/ShippingOption.md) | Optional|Shipping options| + + + +### Type: [payments.ValidatedRequestedInfo](../types/payments.ValidatedRequestedInfo.md) + + +### Example: + +```php +$payments.validatedRequestedInfo = ['_' => 'payments.validatedRequestedInfo', 'id' => 'string', 'shipping_options' => [ShippingOption, ShippingOption]]; +``` + + +Or, if you're into Lua: + +```lua +payments.validatedRequestedInfo={_='payments.validatedRequestedInfo', id='string', shipping_options={ShippingOption}} + +``` + + diff --git a/old_docs/API_docs_v86/constructors/payments_paymentForm.md b/old_docs/API_docs_v86/constructors/payments_paymentForm.md deleted file mode 100644 index 88848527..00000000 --- a/old_docs/API_docs_v86/constructors/payments_paymentForm.md +++ /dev/null @@ -1,48 +0,0 @@ ---- -title: payments.paymentForm -description: Payment form -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: payments.paymentForm -[Back to constructors index](index.md) - - - -Payment form - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|can\_save\_credentials|[Bool](../types/Bool.md) | Optional|Whether the user can choose to save credentials.| -|password\_missing|[Bool](../types/Bool.md) | Optional|Indicates that the user can save payment credentials, but only after setting up a [2FA password](https://core.telegram.org/api/srp) (currently the account doesn't have a [2FA password](https://core.telegram.org/api/srp))| -|bot\_id|[int](../types/int.md) | Yes|Bot ID| -|invoice|[Invoice](../types/Invoice.md) | Yes|Invoice| -|provider\_id|[int](../types/int.md) | Yes|Payment provider ID.| -|url|[string](../types/string.md) | Yes|Payment form URL| -|native\_provider|[string](../types/string.md) | Optional|Payment provider name.
One of the following:
\- `stripe`| -|native\_params|[DataJSON](../types/DataJSON.md) | Optional|Contains information about the payment provider, if available, to support it natively without the need for opening the URL.
A JSON object that can contain the following fields:

\- `publishable_key`: Stripe API publishable key
\- `apple_pay_merchant_id`: Apple Pay merchant ID
\- `android_pay_public_key`: Android Pay public key
\- `android_pay_bgcolor`: Android Pay form background color
\- `android_pay_inverse`: Whether to use the dark theme in the Android Pay form
\- `need_country`: True, if the user country must be provided,
\- `need_zip`: True, if the user ZIP/postal code must be provided,
\- `need_cardholder_name`: True, if the cardholder name must be provided
| -|saved\_info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Optional|Saved server-side order information| -|saved\_credentials|[PaymentSavedCredentials](../types/PaymentSavedCredentials.md) | Optional|Contains information about saved card credentials| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [payments\_PaymentForm](../types/payments_PaymentForm.md) - - -### Example: - -```php -$payments_paymentForm = ['_' => 'payments.paymentForm', 'can_save_credentials' => Bool, 'password_missing' => Bool, 'bot_id' => int, 'invoice' => Invoice, 'provider_id' => int, 'url' => 'string', 'native_provider' => 'string', 'native_params' => DataJSON, 'saved_info' => PaymentRequestedInfo, 'saved_credentials' => PaymentSavedCredentials, 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -payments_paymentForm={_='payments.paymentForm', can_save_credentials=Bool, password_missing=Bool, bot_id=int, invoice=Invoice, provider_id=int, url='string', native_provider='string', native_params=DataJSON, saved_info=PaymentRequestedInfo, saved_credentials=PaymentSavedCredentials, users={User}} - -``` - - diff --git a/old_docs/API_docs_v86/constructors/payments_paymentReceipt.md b/old_docs/API_docs_v86/constructors/payments_paymentReceipt.md deleted file mode 100644 index 411e9dee..00000000 --- a/old_docs/API_docs_v86/constructors/payments_paymentReceipt.md +++ /dev/null @@ -1,47 +0,0 @@ ---- -title: payments.paymentReceipt -description: Receipt -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: payments.paymentReceipt -[Back to constructors index](index.md) - - - -Receipt - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Date of generation| -|bot\_id|[int](../types/int.md) | Yes|Bot ID| -|invoice|[Invoice](../types/Invoice.md) | Yes|Invoice| -|provider\_id|[int](../types/int.md) | Yes|Provider ID| -|info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Optional|Info| -|shipping|[ShippingOption](../types/ShippingOption.md) | Optional|Selected shipping option| -|currency|[string](../types/string.md) | Yes|Three-letter ISO 4217 [currency](https://core.telegram.org/bots/payments#supported-currencies) code| -|total\_amount|[long](../types/long.md) | Yes|Total amount in the smallest units of the currency (integer, not float/double). For example, for a price of `US$ 1.45` pass `amount = 145`. See the exp parameter in [currencies.json](https://core.telegram.org/bots/payments/currencies.json), it shows the number of digits past the decimal point for each currency (2 for the majority of currencies).| -|credentials\_title|[string](../types/string.md) | Yes|Payment credential name| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [payments\_PaymentReceipt](../types/payments_PaymentReceipt.md) - - -### Example: - -```php -$payments_paymentReceipt = ['_' => 'payments.paymentReceipt', 'date' => int, 'bot_id' => int, 'invoice' => Invoice, 'provider_id' => int, 'info' => PaymentRequestedInfo, 'shipping' => ShippingOption, 'currency' => 'string', 'total_amount' => long, 'credentials_title' => 'string', 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -payments_paymentReceipt={_='payments.paymentReceipt', date=int, bot_id=int, invoice=Invoice, provider_id=int, info=PaymentRequestedInfo, shipping=ShippingOption, currency='string', total_amount=long, credentials_title='string', users={User}} - -``` - - diff --git a/old_docs/API_docs_v86/constructors/payments_paymentResult.md b/old_docs/API_docs_v86/constructors/payments_paymentResult.md deleted file mode 100644 index 12af1d36..00000000 --- a/old_docs/API_docs_v86/constructors/payments_paymentResult.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: payments.paymentResult -description: Payment result -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: payments.paymentResult -[Back to constructors index](index.md) - - - -Payment result - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|updates|[Updates](../types/Updates.md) | Yes|Info about the payment| - - - -### Type: [payments\_PaymentResult](../types/payments_PaymentResult.md) - - -### Example: - -```php -$payments_paymentResult = ['_' => 'payments.paymentResult', 'updates' => Updates]; -``` - - -Or, if you're into Lua: - -```lua -payments_paymentResult={_='payments.paymentResult', updates=Updates} - -``` - - diff --git a/old_docs/API_docs_v86/constructors/payments_paymentVerficationNeeded.md b/old_docs/API_docs_v86/constructors/payments_paymentVerficationNeeded.md deleted file mode 100644 index 70ca205d..00000000 --- a/old_docs/API_docs_v86/constructors/payments_paymentVerficationNeeded.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: payments.paymentVerficationNeeded -description: Payment verfication needed -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: payments.paymentVerficationNeeded -[Back to constructors index](index.md) - - - -Payment verfication needed - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|url|[string](../types/string.md) | Yes|URL| - - - -### Type: [payments\_PaymentResult](../types/payments_PaymentResult.md) - - -### Example: - -```php -$payments_paymentVerficationNeeded = ['_' => 'payments.paymentVerficationNeeded', 'url' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -payments_paymentVerficationNeeded={_='payments.paymentVerficationNeeded', url='string'} - -``` - - diff --git a/old_docs/API_docs_v86/constructors/payments_savedInfo.md b/old_docs/API_docs_v86/constructors/payments_savedInfo.md deleted file mode 100644 index 19d3aee5..00000000 --- a/old_docs/API_docs_v86/constructors/payments_savedInfo.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: payments.savedInfo -description: Saved server-side order information -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: payments.savedInfo -[Back to constructors index](index.md) - - - -Saved server-side order information - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|has\_saved\_credentials|[Bool](../types/Bool.md) | Optional|Whether the user has some saved payment credentials| -|saved\_info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Optional|Saved server-side order information| - - - -### Type: [payments\_SavedInfo](../types/payments_SavedInfo.md) - - -### Example: - -```php -$payments_savedInfo = ['_' => 'payments.savedInfo', 'has_saved_credentials' => Bool, 'saved_info' => PaymentRequestedInfo]; -``` - - -Or, if you're into Lua: - -```lua -payments_savedInfo={_='payments.savedInfo', has_saved_credentials=Bool, saved_info=PaymentRequestedInfo} - -``` - - diff --git a/old_docs/API_docs_v86/constructors/payments_validatedRequestedInfo.md b/old_docs/API_docs_v86/constructors/payments_validatedRequestedInfo.md deleted file mode 100644 index a07c7d06..00000000 --- a/old_docs/API_docs_v86/constructors/payments_validatedRequestedInfo.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: payments.validatedRequestedInfo -description: Validated user-provided info -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: payments.validatedRequestedInfo -[Back to constructors index](index.md) - - - -Validated user-provided info - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|id|[string](../types/string.md) | Optional|ID| -|shipping\_options|Array of [ShippingOption](../types/ShippingOption.md) | Optional|Shipping options| - - - -### Type: [payments\_ValidatedRequestedInfo](../types/payments_ValidatedRequestedInfo.md) - - -### Example: - -```php -$payments_validatedRequestedInfo = ['_' => 'payments.validatedRequestedInfo', 'id' => 'string', 'shipping_options' => [ShippingOption, ShippingOption]]; -``` - - -Or, if you're into Lua: - -```lua -payments_validatedRequestedInfo={_='payments.validatedRequestedInfo', id='string', shipping_options={ShippingOption}} - -``` - - diff --git a/old_docs/API_docs_v86/constructors/phone.phoneCall.md b/old_docs/API_docs_v86/constructors/phone.phoneCall.md new file mode 100644 index 00000000..8c1d26d4 --- /dev/null +++ b/old_docs/API_docs_v86/constructors/phone.phoneCall.md @@ -0,0 +1,39 @@ +--- +title: phone.phoneCall +description: A VoIP phone call +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: phone.phoneCall +[Back to constructors index](index.md) + + + +A VoIP phone call + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_call|[PhoneCall](../types/PhoneCall.md) | Optional|The VoIP phone call| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [phone.PhoneCall](../types/phone.PhoneCall.md) + + +### Example: + +```php +$phone.phoneCall = ['_' => 'phone.phoneCall', 'phone_call' => PhoneCall, 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +phone.phoneCall={_='phone.phoneCall', phone_call=PhoneCall, users={User}} + +``` + + diff --git a/old_docs/API_docs_v86/constructors/phone_phoneCall.md b/old_docs/API_docs_v86/constructors/phone_phoneCall.md deleted file mode 100644 index 94314567..00000000 --- a/old_docs/API_docs_v86/constructors/phone_phoneCall.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: phone.phoneCall -description: A VoIP phone call -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: phone.phoneCall -[Back to constructors index](index.md) - - - -A VoIP phone call - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_call|[PhoneCall](../types/PhoneCall.md) | Optional|The VoIP phone call| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [phone\_PhoneCall](../types/phone_PhoneCall.md) - - -### Example: - -```php -$phone_phoneCall = ['_' => 'phone.phoneCall', 'phone_call' => PhoneCall, 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -phone_phoneCall={_='phone.phoneCall', phone_call=PhoneCall, users={User}} - -``` - - diff --git a/old_docs/API_docs_v86/constructors/photos.photo.md b/old_docs/API_docs_v86/constructors/photos.photo.md new file mode 100644 index 00000000..43d3efc7 --- /dev/null +++ b/old_docs/API_docs_v86/constructors/photos.photo.md @@ -0,0 +1,39 @@ +--- +title: photos.photo +description: Photo with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: photos.photo +[Back to constructors index](index.md) + + + +Photo with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|photo|[Photo](../types/Photo.md) | Optional|Photo| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [photos.Photo](../types/photos.Photo.md) + + +### Example: + +```php +$photos.photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +photos.photo={_='photos.photo', photo=Photo, users={User}} + +``` + + diff --git a/old_docs/API_docs_v86/constructors/photos.photos.md b/old_docs/API_docs_v86/constructors/photos.photos.md new file mode 100644 index 00000000..901a9693 --- /dev/null +++ b/old_docs/API_docs_v86/constructors/photos.photos.md @@ -0,0 +1,39 @@ +--- +title: photos.photos +description: Full list of photos with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: photos.photos +[Back to constructors index](index.md) + + + +Full list of photos with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [photos.Photos](../types/photos.Photos.md) + + +### Example: + +```php +$photos.photos = ['_' => 'photos.photos', 'photos' => [Photo, Photo], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +photos.photos={_='photos.photos', photos={Photo}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v86/constructors/photos.photosSlice.md b/old_docs/API_docs_v86/constructors/photos.photosSlice.md new file mode 100644 index 00000000..2cca3546 --- /dev/null +++ b/old_docs/API_docs_v86/constructors/photos.photosSlice.md @@ -0,0 +1,40 @@ +--- +title: photos.photosSlice +description: Incomplete list of photos with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: photos.photosSlice +[Back to constructors index](index.md) + + + +Incomplete list of photos with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of photos| +|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [photos.Photos](../types/photos.Photos.md) + + +### Example: + +```php +$photos.photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo, Photo], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +photos.photosSlice={_='photos.photosSlice', count=int, photos={Photo}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v86/constructors/photos_photo.md b/old_docs/API_docs_v86/constructors/photos_photo.md deleted file mode 100644 index d5ad61d9..00000000 --- a/old_docs/API_docs_v86/constructors/photos_photo.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: photos.photo -description: Photo with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: photos.photo -[Back to constructors index](index.md) - - - -Photo with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|photo|[Photo](../types/Photo.md) | Optional|Photo| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [photos\_Photo](../types/photos_Photo.md) - - -### Example: - -```php -$photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -photos_photo={_='photos.photo', photo=Photo, users={User}} - -``` - - diff --git a/old_docs/API_docs_v86/constructors/photos_photos.md b/old_docs/API_docs_v86/constructors/photos_photos.md deleted file mode 100644 index 6ae5d048..00000000 --- a/old_docs/API_docs_v86/constructors/photos_photos.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: photos.photos -description: Full list of photos with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: photos.photos -[Back to constructors index](index.md) - - - -Full list of photos with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [photos\_Photos](../types/photos_Photos.md) - - -### Example: - -```php -$photos_photos = ['_' => 'photos.photos', 'photos' => [Photo, Photo], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -photos_photos={_='photos.photos', photos={Photo}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v86/constructors/photos_photosSlice.md b/old_docs/API_docs_v86/constructors/photos_photosSlice.md deleted file mode 100644 index 5c465c21..00000000 --- a/old_docs/API_docs_v86/constructors/photos_photosSlice.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: photos.photosSlice -description: Incomplete list of photos with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: photos.photosSlice -[Back to constructors index](index.md) - - - -Incomplete list of photos with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of photos| -|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [photos\_Photos](../types/photos_Photos.md) - - -### Example: - -```php -$photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo, Photo], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -photos_photosSlice={_='photos.photosSlice', count=int, photos={Photo}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v86/constructors/storage.fileGif.md b/old_docs/API_docs_v86/constructors/storage.fileGif.md new file mode 100644 index 00000000..8193bd25 --- /dev/null +++ b/old_docs/API_docs_v86/constructors/storage.fileGif.md @@ -0,0 +1,33 @@ +--- +title: storage.fileGif +description: GIF image. MIME type: `image/gif`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileGif +[Back to constructors index](index.md) + + + +GIF image. MIME type: `image/gif`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileGif = ['_' => 'storage.fileGif']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileGif={_='storage.fileGif'} + +``` + + diff --git a/old_docs/API_docs_v86/constructors/storage.fileJpeg.md b/old_docs/API_docs_v86/constructors/storage.fileJpeg.md new file mode 100644 index 00000000..7f125963 --- /dev/null +++ b/old_docs/API_docs_v86/constructors/storage.fileJpeg.md @@ -0,0 +1,33 @@ +--- +title: storage.fileJpeg +description: JPEG image. MIME type: `image/jpeg`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileJpeg +[Back to constructors index](index.md) + + + +JPEG image. MIME type: `image/jpeg`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileJpeg = ['_' => 'storage.fileJpeg']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileJpeg={_='storage.fileJpeg'} + +``` + + diff --git a/old_docs/API_docs_v86/constructors/storage.fileMov.md b/old_docs/API_docs_v86/constructors/storage.fileMov.md new file mode 100644 index 00000000..cb3742e0 --- /dev/null +++ b/old_docs/API_docs_v86/constructors/storage.fileMov.md @@ -0,0 +1,33 @@ +--- +title: storage.fileMov +description: Quicktime video. MIME type: `video/quicktime`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileMov +[Back to constructors index](index.md) + + + +Quicktime video. MIME type: `video/quicktime`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileMov = ['_' => 'storage.fileMov']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileMov={_='storage.fileMov'} + +``` + + diff --git a/old_docs/API_docs_v86/constructors/storage.fileMp3.md b/old_docs/API_docs_v86/constructors/storage.fileMp3.md new file mode 100644 index 00000000..617f2d39 --- /dev/null +++ b/old_docs/API_docs_v86/constructors/storage.fileMp3.md @@ -0,0 +1,33 @@ +--- +title: storage.fileMp3 +description: Mp3 audio. MIME type: `audio/mpeg`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileMp3 +[Back to constructors index](index.md) + + + +Mp3 audio. MIME type: `audio/mpeg`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileMp3 = ['_' => 'storage.fileMp3']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileMp3={_='storage.fileMp3'} + +``` + + diff --git a/old_docs/API_docs_v86/constructors/storage.fileMp4.md b/old_docs/API_docs_v86/constructors/storage.fileMp4.md new file mode 100644 index 00000000..37038176 --- /dev/null +++ b/old_docs/API_docs_v86/constructors/storage.fileMp4.md @@ -0,0 +1,33 @@ +--- +title: storage.fileMp4 +description: MPEG-4 video. MIME type: `video/mp4`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileMp4 +[Back to constructors index](index.md) + + + +MPEG-4 video. MIME type: `video/mp4`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileMp4 = ['_' => 'storage.fileMp4']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileMp4={_='storage.fileMp4'} + +``` + + diff --git a/old_docs/API_docs_v86/constructors/storage.filePartial.md b/old_docs/API_docs_v86/constructors/storage.filePartial.md new file mode 100644 index 00000000..98779e71 --- /dev/null +++ b/old_docs/API_docs_v86/constructors/storage.filePartial.md @@ -0,0 +1,33 @@ +--- +title: storage.filePartial +description: Part of a bigger file. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.filePartial +[Back to constructors index](index.md) + + + +Part of a bigger file. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.filePartial = ['_' => 'storage.filePartial']; +``` + + +Or, if you're into Lua: + +```lua +storage.filePartial={_='storage.filePartial'} + +``` + + diff --git a/old_docs/API_docs_v86/constructors/storage.filePdf.md b/old_docs/API_docs_v86/constructors/storage.filePdf.md new file mode 100644 index 00000000..136c0614 --- /dev/null +++ b/old_docs/API_docs_v86/constructors/storage.filePdf.md @@ -0,0 +1,33 @@ +--- +title: storage.filePdf +description: PDF document image. MIME type: `application/pdf`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.filePdf +[Back to constructors index](index.md) + + + +PDF document image. MIME type: `application/pdf`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.filePdf = ['_' => 'storage.filePdf']; +``` + + +Or, if you're into Lua: + +```lua +storage.filePdf={_='storage.filePdf'} + +``` + + diff --git a/old_docs/API_docs_v86/constructors/storage.filePng.md b/old_docs/API_docs_v86/constructors/storage.filePng.md new file mode 100644 index 00000000..db01ce0e --- /dev/null +++ b/old_docs/API_docs_v86/constructors/storage.filePng.md @@ -0,0 +1,33 @@ +--- +title: storage.filePng +description: PNG image. MIME type: `image/png`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.filePng +[Back to constructors index](index.md) + + + +PNG image. MIME type: `image/png`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.filePng = ['_' => 'storage.filePng']; +``` + + +Or, if you're into Lua: + +```lua +storage.filePng={_='storage.filePng'} + +``` + + diff --git a/old_docs/API_docs_v86/constructors/storage.fileUnknown.md b/old_docs/API_docs_v86/constructors/storage.fileUnknown.md new file mode 100644 index 00000000..26f0a5ae --- /dev/null +++ b/old_docs/API_docs_v86/constructors/storage.fileUnknown.md @@ -0,0 +1,33 @@ +--- +title: storage.fileUnknown +description: Unknown type. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileUnknown +[Back to constructors index](index.md) + + + +Unknown type. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileUnknown = ['_' => 'storage.fileUnknown']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileUnknown={_='storage.fileUnknown'} + +``` + + diff --git a/old_docs/API_docs_v86/constructors/storage.fileWebp.md b/old_docs/API_docs_v86/constructors/storage.fileWebp.md new file mode 100644 index 00000000..63c9ded1 --- /dev/null +++ b/old_docs/API_docs_v86/constructors/storage.fileWebp.md @@ -0,0 +1,33 @@ +--- +title: storage.fileWebp +description: WEBP image. MIME type: `image/webp`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileWebp +[Back to constructors index](index.md) + + + +WEBP image. MIME type: `image/webp`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileWebp = ['_' => 'storage.fileWebp']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileWebp={_='storage.fileWebp'} + +``` + + diff --git a/old_docs/API_docs_v86/constructors/storage_fileGif.md b/old_docs/API_docs_v86/constructors/storage_fileGif.md deleted file mode 100644 index 218c7491..00000000 --- a/old_docs/API_docs_v86/constructors/storage_fileGif.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileGif -description: GIF image. MIME type: `image/gif`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileGif -[Back to constructors index](index.md) - - - -GIF image. MIME type: `image/gif`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileGif = ['_' => 'storage.fileGif']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileGif={_='storage.fileGif'} - -``` - - diff --git a/old_docs/API_docs_v86/constructors/storage_fileJpeg.md b/old_docs/API_docs_v86/constructors/storage_fileJpeg.md deleted file mode 100644 index 925531cd..00000000 --- a/old_docs/API_docs_v86/constructors/storage_fileJpeg.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileJpeg -description: JPEG image. MIME type: `image/jpeg`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileJpeg -[Back to constructors index](index.md) - - - -JPEG image. MIME type: `image/jpeg`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileJpeg = ['_' => 'storage.fileJpeg']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileJpeg={_='storage.fileJpeg'} - -``` - - diff --git a/old_docs/API_docs_v86/constructors/storage_fileMov.md b/old_docs/API_docs_v86/constructors/storage_fileMov.md deleted file mode 100644 index eaf2a6ff..00000000 --- a/old_docs/API_docs_v86/constructors/storage_fileMov.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileMov -description: Quicktime video. MIME type: `video/quicktime`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileMov -[Back to constructors index](index.md) - - - -Quicktime video. MIME type: `video/quicktime`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileMov = ['_' => 'storage.fileMov']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileMov={_='storage.fileMov'} - -``` - - diff --git a/old_docs/API_docs_v86/constructors/storage_fileMp3.md b/old_docs/API_docs_v86/constructors/storage_fileMp3.md deleted file mode 100644 index 9afcefbb..00000000 --- a/old_docs/API_docs_v86/constructors/storage_fileMp3.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileMp3 -description: Mp3 audio. MIME type: `audio/mpeg`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileMp3 -[Back to constructors index](index.md) - - - -Mp3 audio. MIME type: `audio/mpeg`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileMp3 = ['_' => 'storage.fileMp3']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileMp3={_='storage.fileMp3'} - -``` - - diff --git a/old_docs/API_docs_v86/constructors/storage_fileMp4.md b/old_docs/API_docs_v86/constructors/storage_fileMp4.md deleted file mode 100644 index cdc0e783..00000000 --- a/old_docs/API_docs_v86/constructors/storage_fileMp4.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileMp4 -description: MPEG-4 video. MIME type: `video/mp4`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileMp4 -[Back to constructors index](index.md) - - - -MPEG-4 video. MIME type: `video/mp4`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileMp4 = ['_' => 'storage.fileMp4']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileMp4={_='storage.fileMp4'} - -``` - - diff --git a/old_docs/API_docs_v86/constructors/storage_filePartial.md b/old_docs/API_docs_v86/constructors/storage_filePartial.md deleted file mode 100644 index 9bfadf63..00000000 --- a/old_docs/API_docs_v86/constructors/storage_filePartial.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.filePartial -description: Part of a bigger file. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.filePartial -[Back to constructors index](index.md) - - - -Part of a bigger file. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_filePartial = ['_' => 'storage.filePartial']; -``` - - -Or, if you're into Lua: - -```lua -storage_filePartial={_='storage.filePartial'} - -``` - - diff --git a/old_docs/API_docs_v86/constructors/storage_filePdf.md b/old_docs/API_docs_v86/constructors/storage_filePdf.md deleted file mode 100644 index efb022cc..00000000 --- a/old_docs/API_docs_v86/constructors/storage_filePdf.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.filePdf -description: PDF document image. MIME type: `application/pdf`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.filePdf -[Back to constructors index](index.md) - - - -PDF document image. MIME type: `application/pdf`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_filePdf = ['_' => 'storage.filePdf']; -``` - - -Or, if you're into Lua: - -```lua -storage_filePdf={_='storage.filePdf'} - -``` - - diff --git a/old_docs/API_docs_v86/constructors/storage_filePng.md b/old_docs/API_docs_v86/constructors/storage_filePng.md deleted file mode 100644 index 412759e4..00000000 --- a/old_docs/API_docs_v86/constructors/storage_filePng.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.filePng -description: PNG image. MIME type: `image/png`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.filePng -[Back to constructors index](index.md) - - - -PNG image. MIME type: `image/png`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_filePng = ['_' => 'storage.filePng']; -``` - - -Or, if you're into Lua: - -```lua -storage_filePng={_='storage.filePng'} - -``` - - diff --git a/old_docs/API_docs_v86/constructors/storage_fileUnknown.md b/old_docs/API_docs_v86/constructors/storage_fileUnknown.md deleted file mode 100644 index ed33dd5e..00000000 --- a/old_docs/API_docs_v86/constructors/storage_fileUnknown.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileUnknown -description: Unknown type. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileUnknown -[Back to constructors index](index.md) - - - -Unknown type. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileUnknown = ['_' => 'storage.fileUnknown']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileUnknown={_='storage.fileUnknown'} - -``` - - diff --git a/old_docs/API_docs_v86/constructors/storage_fileWebp.md b/old_docs/API_docs_v86/constructors/storage_fileWebp.md deleted file mode 100644 index 04dcad74..00000000 --- a/old_docs/API_docs_v86/constructors/storage_fileWebp.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileWebp -description: WEBP image. MIME type: `image/webp`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileWebp -[Back to constructors index](index.md) - - - -WEBP image. MIME type: `image/webp`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileWebp = ['_' => 'storage.fileWebp']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileWebp={_='storage.fileWebp'} - -``` - - diff --git a/old_docs/API_docs_v86/constructors/updateNewStickerSet.md b/old_docs/API_docs_v86/constructors/updateNewStickerSet.md index 8a99a363..c32c41ff 100644 --- a/old_docs/API_docs_v86/constructors/updateNewStickerSet.md +++ b/old_docs/API_docs_v86/constructors/updateNewStickerSet.md @@ -14,7 +14,7 @@ A new stickerset was installed | Name | Type | Required | Description | |----------|---------------|----------|-------------| -|stickerset|[messages\_StickerSet](../types/messages_StickerSet.md) | Yes|The installed stickerset| +|stickerset|[messages.StickerSet](../constructors/messages.StickerSet.md) | Yes|The installed stickerset| @@ -24,14 +24,14 @@ A new stickerset was installed ### Example: ```php -$updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages_StickerSet]; +$updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages.StickerSet]; ``` Or, if you're into Lua: ```lua -updateNewStickerSet={_='updateNewStickerSet', stickerset=messages_StickerSet} +updateNewStickerSet={_='updateNewStickerSet', stickerset=messages.StickerSet} ``` diff --git a/old_docs/API_docs_v86/constructors/updates.channelDifference.md b/old_docs/API_docs_v86/constructors/updates.channelDifference.md new file mode 100644 index 00000000..5a13791c --- /dev/null +++ b/old_docs/API_docs_v86/constructors/updates.channelDifference.md @@ -0,0 +1,44 @@ +--- +title: updates.channelDifference +description: The new updates +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.channelDifference +[Back to constructors index](index.md) + + + +The new updates + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates to be fetched using getDifference, starting from the provided `pts`| +|pts|[int](../types/int.md) | Yes|The [PTS](https://core.telegram.org/api/updates) from which to start getting updates the next time| +|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| +|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| +|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [updates.ChannelDifference](../types/updates.ChannelDifference.md) + + +### Example: + +```php +$updates.channelDifference = ['_' => 'updates.channelDifference', 'final' => Bool, 'pts' => int, 'timeout' => int, 'new_messages' => [Message, Message], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +updates.channelDifference={_='updates.channelDifference', final=Bool, pts=int, timeout=int, new_messages={Message}, other_updates={Update}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v86/constructors/updates.channelDifferenceEmpty.md b/old_docs/API_docs_v86/constructors/updates.channelDifferenceEmpty.md new file mode 100644 index 00000000..8ce43da4 --- /dev/null +++ b/old_docs/API_docs_v86/constructors/updates.channelDifferenceEmpty.md @@ -0,0 +1,40 @@ +--- +title: updates.channelDifferenceEmpty +description: There are no new updates +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.channelDifferenceEmpty +[Back to constructors index](index.md) + + + +There are no new updates + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates that must be fetched (always false)| +|pts|[int](../types/int.md) | Yes|The latest [PTS](https://core.telegram.org/api/updates)| +|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| + + + +### Type: [updates.ChannelDifference](../types/updates.ChannelDifference.md) + + +### Example: + +```php +$updates.channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'final' => Bool, 'pts' => int, 'timeout' => int]; +``` + + +Or, if you're into Lua: + +```lua +updates.channelDifferenceEmpty={_='updates.channelDifferenceEmpty', final=Bool, pts=int, timeout=int} + +``` + + diff --git a/old_docs/API_docs_v86/constructors/updates.channelDifferenceTooLong.md b/old_docs/API_docs_v86/constructors/updates.channelDifferenceTooLong.md new file mode 100644 index 00000000..9290856d --- /dev/null +++ b/old_docs/API_docs_v86/constructors/updates.channelDifferenceTooLong.md @@ -0,0 +1,58 @@ +--- +title: updates.channelDifferenceTooLong +description: The provided `pts + limit < remote pts`. Simply, there are too many updates to be fetched (more than `limit`), the client has to resolve the update gap in one of the following ways: + +1. Delete all known messages in the chat, begin from scratch by refetching all messages manually with [getHistory](../methods/messages.getHistory.md). It is easy to implement, but suddenly disappearing messages looks awful for the user. +2. Save all messages loaded in the memory until application restart, but delete all messages from database. Messages left in the memory must be lazily updated using calls to [getHistory](../methods/messages.getHistory.md). It looks much smoothly for the user, he will need to redownload messages only after client restart. Unsynchronized messages left in the memory shouldn't be saved to database, results of [getHistory](../methods/messages.getHistory.md) and [getMessages](../methods/messages.getMessages.md) must be used to update state of deleted and edited messages left in the memory. +3. Save all messages loaded in the memory and stored in the database without saving that some messages form continuous ranges. Messages in the database will be excluded from results of getChatHistory and searchChatMessages after application restart and will be available only through getMessage. Every message should still be checked using getHistory. It has more disadvantages over 2) than advantages. +4. Save all messages with saving all data about continuous message ranges. Messages from the database may be used as results of getChatHistory and (if implemented continuous ranges support for searching shared media) searchChatMessages. The messages should still be lazily checked using getHistory, but they are still available offline. It is the best way for gaps support, but it is pretty hard to implement correctly. It should be also noted that some messages like live location messages shouldn't be deleted. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.channelDifferenceTooLong +[Back to constructors index](index.md) + + + +The provided `pts + limit < remote pts`. Simply, there are too many updates to be fetched (more than `limit`), the client has to resolve the update gap in one of the following ways: + +1. Delete all known messages in the chat, begin from scratch by refetching all messages manually with [getHistory](../methods/messages.getHistory.md). It is easy to implement, but suddenly disappearing messages looks awful for the user. +2. Save all messages loaded in the memory until application restart, but delete all messages from database. Messages left in the memory must be lazily updated using calls to [getHistory](../methods/messages.getHistory.md). It looks much smoothly for the user, he will need to redownload messages only after client restart. Unsynchronized messages left in the memory shouldn't be saved to database, results of [getHistory](../methods/messages.getHistory.md) and [getMessages](../methods/messages.getMessages.md) must be used to update state of deleted and edited messages left in the memory. +3. Save all messages loaded in the memory and stored in the database without saving that some messages form continuous ranges. Messages in the database will be excluded from results of getChatHistory and searchChatMessages after application restart and will be available only through getMessage. Every message should still be checked using getHistory. It has more disadvantages over 2) than advantages. +4. Save all messages with saving all data about continuous message ranges. Messages from the database may be used as results of getChatHistory and (if implemented continuous ranges support for searching shared media) searchChatMessages. The messages should still be lazily checked using getHistory, but they are still available offline. It is the best way for gaps support, but it is pretty hard to implement correctly. It should be also noted that some messages like live location messages shouldn't be deleted. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates that must be fetched (always false)| +|pts|[int](../types/int.md) | Yes|Pts| +|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| +|top\_message|[int](../types/int.md) | Yes|Top message| +|read\_inbox\_max\_id|[int](../types/int.md) | Yes|Read inbox max ID| +|read\_outbox\_max\_id|[int](../types/int.md) | Yes|Read outbox max ID| +|unread\_count|[int](../types/int.md) | Yes|Unread count| +|unread\_mentions\_count|[int](../types/int.md) | Yes|Unread mentions count| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [updates.ChannelDifference](../types/updates.ChannelDifference.md) + + +### Example: + +```php +$updates.channelDifferenceTooLong = ['_' => 'updates.channelDifferenceTooLong', 'final' => Bool, 'pts' => int, 'timeout' => int, 'top_message' => int, 'read_inbox_max_id' => int, 'read_outbox_max_id' => int, 'unread_count' => int, 'unread_mentions_count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +updates.channelDifferenceTooLong={_='updates.channelDifferenceTooLong', final=Bool, pts=int, timeout=int, top_message=int, read_inbox_max_id=int, read_outbox_max_id=int, unread_count=int, unread_mentions_count=int, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v86/constructors/updates.difference.md b/old_docs/API_docs_v86/constructors/updates.difference.md new file mode 100644 index 00000000..82541b51 --- /dev/null +++ b/old_docs/API_docs_v86/constructors/updates.difference.md @@ -0,0 +1,43 @@ +--- +title: updates.difference +description: Full list of occurred events. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.difference +[Back to constructors index](index.md) + + + +Full list of occurred events. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| +|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| +|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| +|state|[updates.State](../constructors/updates.State.md) | Yes|Current state| + + + +### Type: [updates.Difference](../types/updates.Difference.md) + + +### Example: + +```php +$updates.difference = ['_' => 'updates.difference', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates.State]; +``` + + +Or, if you're into Lua: + +```lua +updates.difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates.State} + +``` + + diff --git a/old_docs/API_docs_v86/constructors/updates.differenceEmpty.md b/old_docs/API_docs_v86/constructors/updates.differenceEmpty.md new file mode 100644 index 00000000..a9dc3bd0 --- /dev/null +++ b/old_docs/API_docs_v86/constructors/updates.differenceEmpty.md @@ -0,0 +1,39 @@ +--- +title: updates.differenceEmpty +description: No events. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.differenceEmpty +[Back to constructors index](index.md) + + + +No events. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Current date| +|seq|[int](../types/int.md) | Yes|Number of sent updates| + + + +### Type: [updates.Difference](../types/updates.Difference.md) + + +### Example: + +```php +$updates.differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int]; +``` + + +Or, if you're into Lua: + +```lua +updates.differenceEmpty={_='updates.differenceEmpty', date=int, seq=int} + +``` + + diff --git a/old_docs/API_docs_v86/constructors/updates.differenceSlice.md b/old_docs/API_docs_v86/constructors/updates.differenceSlice.md new file mode 100644 index 00000000..9daf7a75 --- /dev/null +++ b/old_docs/API_docs_v86/constructors/updates.differenceSlice.md @@ -0,0 +1,43 @@ +--- +title: updates.differenceSlice +description: Incomplete list of occurred events. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.differenceSlice +[Back to constructors index](index.md) + + + +Incomplete list of occurred events. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| +|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| +|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| +|intermediate\_state|[updates.State](../constructors/updates.State.md) | Yes|Intermediary state| + + + +### Type: [updates.Difference](../types/updates.Difference.md) + + +### Example: + +```php +$updates.differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'intermediate_state' => updates.State]; +``` + + +Or, if you're into Lua: + +```lua +updates.differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates.State} + +``` + + diff --git a/old_docs/API_docs_v86/constructors/updates.differenceTooLong.md b/old_docs/API_docs_v86/constructors/updates.differenceTooLong.md new file mode 100644 index 00000000..ef2e7e4d --- /dev/null +++ b/old_docs/API_docs_v86/constructors/updates.differenceTooLong.md @@ -0,0 +1,38 @@ +--- +title: updates.differenceTooLong +description: The difference is [too long](https://core.telegram.org/api/updates#recovering-gaps), and the specified state must be used to refetch updates. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.differenceTooLong +[Back to constructors index](index.md) + + + +The difference is [too long](https://core.telegram.org/api/updates#recovering-gaps), and the specified state must be used to refetch updates. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|The new state to use.| + + + +### Type: [updates.Difference](../types/updates.Difference.md) + + +### Example: + +```php +$updates.differenceTooLong = ['_' => 'updates.differenceTooLong', 'pts' => int]; +``` + + +Or, if you're into Lua: + +```lua +updates.differenceTooLong={_='updates.differenceTooLong', pts=int} + +``` + + diff --git a/old_docs/API_docs_v86/constructors/updates.state.md b/old_docs/API_docs_v86/constructors/updates.state.md new file mode 100644 index 00000000..abe9ddbb --- /dev/null +++ b/old_docs/API_docs_v86/constructors/updates.state.md @@ -0,0 +1,42 @@ +--- +title: updates.state +description: Updates state. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.state +[Back to constructors index](index.md) + + + +Updates state. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| +|qts|[int](../types/int.md) | Yes|Position in a sequence of updates in secret chats. For further detailes refer to article [secret chats](https://core.telegram.org/api/end-to-end)
Parameter was added in [eigth layer](https://core.telegram.org/api/layers#layer-8).| +|date|[int](../types/int.md) | Yes|Date of condition| +|seq|[int](../types/int.md) | Yes|Number of sent updates| +|unread\_count|[int](../types/int.md) | Yes|Number of unread messages| + + + +### Type: [updates.State](../types/updates.State.md) + + +### Example: + +```php +$updates.state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int]; +``` + + +Or, if you're into Lua: + +```lua +updates.state={_='updates.state', pts=int, qts=int, date=int, seq=int, unread_count=int} + +``` + + diff --git a/old_docs/API_docs_v86/constructors/updates_channelDifference.md b/old_docs/API_docs_v86/constructors/updates_channelDifference.md deleted file mode 100644 index 1b50fbf3..00000000 --- a/old_docs/API_docs_v86/constructors/updates_channelDifference.md +++ /dev/null @@ -1,44 +0,0 @@ ---- -title: updates.channelDifference -description: The new updates -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.channelDifference -[Back to constructors index](index.md) - - - -The new updates - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates to be fetched using getDifference, starting from the provided `pts`| -|pts|[int](../types/int.md) | Yes|The [PTS](https://core.telegram.org/api/updates) from which to start getting updates the next time| -|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| -|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| -|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) - - -### Example: - -```php -$updates_channelDifference = ['_' => 'updates.channelDifference', 'final' => Bool, 'pts' => int, 'timeout' => int, 'new_messages' => [Message, Message], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -updates_channelDifference={_='updates.channelDifference', final=Bool, pts=int, timeout=int, new_messages={Message}, other_updates={Update}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v86/constructors/updates_channelDifferenceEmpty.md b/old_docs/API_docs_v86/constructors/updates_channelDifferenceEmpty.md deleted file mode 100644 index 713137aa..00000000 --- a/old_docs/API_docs_v86/constructors/updates_channelDifferenceEmpty.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: updates.channelDifferenceEmpty -description: There are no new updates -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.channelDifferenceEmpty -[Back to constructors index](index.md) - - - -There are no new updates - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates that must be fetched (always false)| -|pts|[int](../types/int.md) | Yes|The latest [PTS](https://core.telegram.org/api/updates)| -|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| - - - -### Type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) - - -### Example: - -```php -$updates_channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'final' => Bool, 'pts' => int, 'timeout' => int]; -``` - - -Or, if you're into Lua: - -```lua -updates_channelDifferenceEmpty={_='updates.channelDifferenceEmpty', final=Bool, pts=int, timeout=int} - -``` - - diff --git a/old_docs/API_docs_v86/constructors/updates_channelDifferenceTooLong.md b/old_docs/API_docs_v86/constructors/updates_channelDifferenceTooLong.md deleted file mode 100644 index fd7a5060..00000000 --- a/old_docs/API_docs_v86/constructors/updates_channelDifferenceTooLong.md +++ /dev/null @@ -1,58 +0,0 @@ ---- -title: updates.channelDifferenceTooLong -description: The provided `pts + limit < remote pts`. Simply, there are too many updates to be fetched (more than `limit`), the client has to resolve the update gap in one of the following ways: - -1. Delete all known messages in the chat, begin from scratch by refetching all messages manually with [getHistory](../methods/messages.getHistory.md). It is easy to implement, but suddenly disappearing messages looks awful for the user. -2. Save all messages loaded in the memory until application restart, but delete all messages from database. Messages left in the memory must be lazily updated using calls to [getHistory](../methods/messages.getHistory.md). It looks much smoothly for the user, he will need to redownload messages only after client restart. Unsynchronized messages left in the memory shouldn't be saved to database, results of [getHistory](../methods/messages.getHistory.md) and [getMessages](../methods/messages.getMessages.md) must be used to update state of deleted and edited messages left in the memory. -3. Save all messages loaded in the memory and stored in the database without saving that some messages form continuous ranges. Messages in the database will be excluded from results of getChatHistory and searchChatMessages after application restart and will be available only through getMessage. Every message should still be checked using getHistory. It has more disadvantages over 2) than advantages. -4. Save all messages with saving all data about continuous message ranges. Messages from the database may be used as results of getChatHistory and (if implemented continuous ranges support for searching shared media) searchChatMessages. The messages should still be lazily checked using getHistory, but they are still available offline. It is the best way for gaps support, but it is pretty hard to implement correctly. It should be also noted that some messages like live location messages shouldn't be deleted. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.channelDifferenceTooLong -[Back to constructors index](index.md) - - - -The provided `pts + limit < remote pts`. Simply, there are too many updates to be fetched (more than `limit`), the client has to resolve the update gap in one of the following ways: - -1. Delete all known messages in the chat, begin from scratch by refetching all messages manually with [getHistory](../methods/messages.getHistory.md). It is easy to implement, but suddenly disappearing messages looks awful for the user. -2. Save all messages loaded in the memory until application restart, but delete all messages from database. Messages left in the memory must be lazily updated using calls to [getHistory](../methods/messages.getHistory.md). It looks much smoothly for the user, he will need to redownload messages only after client restart. Unsynchronized messages left in the memory shouldn't be saved to database, results of [getHistory](../methods/messages.getHistory.md) and [getMessages](../methods/messages.getMessages.md) must be used to update state of deleted and edited messages left in the memory. -3. Save all messages loaded in the memory and stored in the database without saving that some messages form continuous ranges. Messages in the database will be excluded from results of getChatHistory and searchChatMessages after application restart and will be available only through getMessage. Every message should still be checked using getHistory. It has more disadvantages over 2) than advantages. -4. Save all messages with saving all data about continuous message ranges. Messages from the database may be used as results of getChatHistory and (if implemented continuous ranges support for searching shared media) searchChatMessages. The messages should still be lazily checked using getHistory, but they are still available offline. It is the best way for gaps support, but it is pretty hard to implement correctly. It should be also noted that some messages like live location messages shouldn't be deleted. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates that must be fetched (always false)| -|pts|[int](../types/int.md) | Yes|Pts| -|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| -|top\_message|[int](../types/int.md) | Yes|Top message| -|read\_inbox\_max\_id|[int](../types/int.md) | Yes|Read inbox max ID| -|read\_outbox\_max\_id|[int](../types/int.md) | Yes|Read outbox max ID| -|unread\_count|[int](../types/int.md) | Yes|Unread count| -|unread\_mentions\_count|[int](../types/int.md) | Yes|Unread mentions count| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) - - -### Example: - -```php -$updates_channelDifferenceTooLong = ['_' => 'updates.channelDifferenceTooLong', 'final' => Bool, 'pts' => int, 'timeout' => int, 'top_message' => int, 'read_inbox_max_id' => int, 'read_outbox_max_id' => int, 'unread_count' => int, 'unread_mentions_count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -updates_channelDifferenceTooLong={_='updates.channelDifferenceTooLong', final=Bool, pts=int, timeout=int, top_message=int, read_inbox_max_id=int, read_outbox_max_id=int, unread_count=int, unread_mentions_count=int, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v86/constructors/updates_difference.md b/old_docs/API_docs_v86/constructors/updates_difference.md deleted file mode 100644 index 71ac7d4c..00000000 --- a/old_docs/API_docs_v86/constructors/updates_difference.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: updates.difference -description: Full list of occurred events. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.difference -[Back to constructors index](index.md) - - - -Full list of occurred events. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| -|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| -|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| -|state|[updates\_State](../types/updates_State.md) | Yes|Current state| - - - -### Type: [updates\_Difference](../types/updates_Difference.md) - - -### Example: - -```php -$updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates_State]; -``` - - -Or, if you're into Lua: - -```lua -updates_difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates_State} - -``` - - diff --git a/old_docs/API_docs_v86/constructors/updates_differenceEmpty.md b/old_docs/API_docs_v86/constructors/updates_differenceEmpty.md deleted file mode 100644 index c3c95c5a..00000000 --- a/old_docs/API_docs_v86/constructors/updates_differenceEmpty.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: updates.differenceEmpty -description: No events. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.differenceEmpty -[Back to constructors index](index.md) - - - -No events. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Current date| -|seq|[int](../types/int.md) | Yes|Number of sent updates| - - - -### Type: [updates\_Difference](../types/updates_Difference.md) - - -### Example: - -```php -$updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int]; -``` - - -Or, if you're into Lua: - -```lua -updates_differenceEmpty={_='updates.differenceEmpty', date=int, seq=int} - -``` - - diff --git a/old_docs/API_docs_v86/constructors/updates_differenceSlice.md b/old_docs/API_docs_v86/constructors/updates_differenceSlice.md deleted file mode 100644 index 8b12a369..00000000 --- a/old_docs/API_docs_v86/constructors/updates_differenceSlice.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: updates.differenceSlice -description: Incomplete list of occurred events. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.differenceSlice -[Back to constructors index](index.md) - - - -Incomplete list of occurred events. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| -|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| -|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| -|intermediate\_state|[updates\_State](../types/updates_State.md) | Yes|Intermediary state| - - - -### Type: [updates\_Difference](../types/updates_Difference.md) - - -### Example: - -```php -$updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'intermediate_state' => updates_State]; -``` - - -Or, if you're into Lua: - -```lua -updates_differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates_State} - -``` - - diff --git a/old_docs/API_docs_v86/constructors/updates_differenceTooLong.md b/old_docs/API_docs_v86/constructors/updates_differenceTooLong.md deleted file mode 100644 index 1fbdfa01..00000000 --- a/old_docs/API_docs_v86/constructors/updates_differenceTooLong.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: updates.differenceTooLong -description: The difference is [too long](https://core.telegram.org/api/updates#recovering-gaps), and the specified state must be used to refetch updates. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.differenceTooLong -[Back to constructors index](index.md) - - - -The difference is [too long](https://core.telegram.org/api/updates#recovering-gaps), and the specified state must be used to refetch updates. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|The new state to use.| - - - -### Type: [updates\_Difference](../types/updates_Difference.md) - - -### Example: - -```php -$updates_differenceTooLong = ['_' => 'updates.differenceTooLong', 'pts' => int]; -``` - - -Or, if you're into Lua: - -```lua -updates_differenceTooLong={_='updates.differenceTooLong', pts=int} - -``` - - diff --git a/old_docs/API_docs_v86/constructors/updates_state.md b/old_docs/API_docs_v86/constructors/updates_state.md deleted file mode 100644 index ef3698e2..00000000 --- a/old_docs/API_docs_v86/constructors/updates_state.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: updates.state -description: Updates state. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.state -[Back to constructors index](index.md) - - - -Updates state. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| -|qts|[int](../types/int.md) | Yes|Position in a sequence of updates in secret chats. For further detailes refer to article [secret chats](https://core.telegram.org/api/end-to-end)
Parameter was added in [eigth layer](https://core.telegram.org/api/layers#layer-8).| -|date|[int](../types/int.md) | Yes|Date of condition| -|seq|[int](../types/int.md) | Yes|Number of sent updates| -|unread\_count|[int](../types/int.md) | Yes|Number of unread messages| - - - -### Type: [updates\_State](../types/updates_State.md) - - -### Example: - -```php -$updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int]; -``` - - -Or, if you're into Lua: - -```lua -updates_state={_='updates.state', pts=int, qts=int, date=int, seq=int, unread_count=int} - -``` - - diff --git a/old_docs/API_docs_v86/constructors/upload.cdnFile.md b/old_docs/API_docs_v86/constructors/upload.cdnFile.md new file mode 100644 index 00000000..d6d75513 --- /dev/null +++ b/old_docs/API_docs_v86/constructors/upload.cdnFile.md @@ -0,0 +1,38 @@ +--- +title: upload.cdnFile +description: Represent a chunk of a [CDN](https://core.telegram.org/cdn) file. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: upload.cdnFile +[Back to constructors index](index.md) + + + +Represent a chunk of a [CDN](https://core.telegram.org/cdn) file. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|bytes|[bytes](../types/bytes.md) | Yes|The data| + + + +### Type: [upload.CdnFile](../types/upload.CdnFile.md) + + +### Example: + +```php +$upload.cdnFile = ['_' => 'upload.cdnFile', 'bytes' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +upload.cdnFile={_='upload.cdnFile', bytes='bytes'} + +``` + + diff --git a/old_docs/API_docs_v86/constructors/upload.cdnFileReuploadNeeded.md b/old_docs/API_docs_v86/constructors/upload.cdnFileReuploadNeeded.md new file mode 100644 index 00000000..7c461a87 --- /dev/null +++ b/old_docs/API_docs_v86/constructors/upload.cdnFileReuploadNeeded.md @@ -0,0 +1,38 @@ +--- +title: upload.cdnFileReuploadNeeded +description: The file was cleared from the temporary RAM cache of the [CDN](https://core.telegram.org/cdn) and has to be reuploaded. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: upload.cdnFileReuploadNeeded +[Back to constructors index](index.md) + + + +The file was cleared from the temporary RAM cache of the [CDN](https://core.telegram.org/cdn) and has to be reuploaded. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|request\_token|[bytes](../types/bytes.md) | Yes|Request token (see [CDN](https://core.telegram.org/cdn))| + + + +### Type: [upload.CdnFile](../types/upload.CdnFile.md) + + +### Example: + +```php +$upload.cdnFileReuploadNeeded = ['_' => 'upload.cdnFileReuploadNeeded', 'request_token' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +upload.cdnFileReuploadNeeded={_='upload.cdnFileReuploadNeeded', request_token='bytes'} + +``` + + diff --git a/old_docs/API_docs_v86/constructors/upload.file.md b/old_docs/API_docs_v86/constructors/upload.file.md new file mode 100644 index 00000000..145a4c24 --- /dev/null +++ b/old_docs/API_docs_v86/constructors/upload.file.md @@ -0,0 +1,40 @@ +--- +title: upload.file +description: File content. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: upload.file +[Back to constructors index](index.md) + + + +File content. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|type|[storage.FileType](../constructors/storage.FileType.md) | Yes|File type| +|mtime|[int](../types/int.md) | Yes|Modification type| +|bytes|[bytes](../types/bytes.md) | Yes|Binary data, file content| + + + +### Type: [upload.File](../types/upload.File.md) + + +### Example: + +```php +$upload.file = ['_' => 'upload.file', 'type' => storage.FileType, 'mtime' => int, 'bytes' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +upload.file={_='upload.file', type=storage.FileType, mtime=int, bytes='bytes'} + +``` + + diff --git a/old_docs/API_docs_v86/constructors/upload.fileCdnRedirect.md b/old_docs/API_docs_v86/constructors/upload.fileCdnRedirect.md new file mode 100644 index 00000000..dc56e919 --- /dev/null +++ b/old_docs/API_docs_v86/constructors/upload.fileCdnRedirect.md @@ -0,0 +1,42 @@ +--- +title: upload.fileCdnRedirect +description: The file must be downloaded from a [CDN DC](https://core.telegram.org/cdn). +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: upload.fileCdnRedirect +[Back to constructors index](index.md) + + + +The file must be downloaded from a [CDN DC](https://core.telegram.org/cdn). + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|dc\_id|[int](../types/int.md) | Yes|[CDN DC](https://core.telegram.org/cdn) ID| +|file\_token|[bytes](../types/bytes.md) | Yes|File token (see [CDN files](https://core.telegram.org/cdn)| +|encryption\_key|[bytes](../types/bytes.md) | Yes|Encryption key (see [CDN files](https://core.telegram.org/cdn)| +|encryption\_iv|[bytes](../types/bytes.md) | Yes|Encryption IV (see [CDN files](https://core.telegram.org/cdn)| +|file\_hashes|Array of [FileHash](../types/FileHash.md) | Yes|File hashes| + + + +### Type: [upload.File](../types/upload.File.md) + + +### Example: + +```php +$upload.fileCdnRedirect = ['_' => 'upload.fileCdnRedirect', 'dc_id' => int, 'file_token' => 'bytes', 'encryption_key' => 'bytes', 'encryption_iv' => 'bytes', 'file_hashes' => [FileHash, FileHash]]; +``` + + +Or, if you're into Lua: + +```lua +upload.fileCdnRedirect={_='upload.fileCdnRedirect', dc_id=int, file_token='bytes', encryption_key='bytes', encryption_iv='bytes', file_hashes={FileHash}} + +``` + + diff --git a/old_docs/API_docs_v86/constructors/upload.webFile.md b/old_docs/API_docs_v86/constructors/upload.webFile.md new file mode 100644 index 00000000..a93ea94f --- /dev/null +++ b/old_docs/API_docs_v86/constructors/upload.webFile.md @@ -0,0 +1,42 @@ +--- +title: upload.webFile +description: Represents a chunk of an [HTTP webfile](https://core.telegram.org/api/files) downloaded through telegram's secure MTProto servers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: upload.webFile +[Back to constructors index](index.md) + + + +Represents a chunk of an [HTTP webfile](https://core.telegram.org/api/files) downloaded through telegram's secure MTProto servers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|size|[int](../types/int.md) | Yes|File size| +|mime\_type|[string](../types/string.md) | Yes|Mime type| +|file\_type|[storage.FileType](../constructors/storage.FileType.md) | Yes|File type| +|mtime|[int](../types/int.md) | Yes|Modified time| +|bytes|[bytes](../types/bytes.md) | Yes|Data| + + + +### Type: [upload.WebFile](../types/upload.WebFile.md) + + +### Example: + +```php +$upload.webFile = ['_' => 'upload.webFile', 'size' => int, 'mime_type' => 'string', 'file_type' => storage.FileType, 'mtime' => int, 'bytes' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +upload.webFile={_='upload.webFile', size=int, mime_type='string', file_type=storage.FileType, mtime=int, bytes='bytes'} + +``` + + diff --git a/old_docs/API_docs_v86/constructors/upload_cdnFile.md b/old_docs/API_docs_v86/constructors/upload_cdnFile.md deleted file mode 100644 index 019b8742..00000000 --- a/old_docs/API_docs_v86/constructors/upload_cdnFile.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: upload.cdnFile -description: Represent a chunk of a [CDN](https://core.telegram.org/cdn) file. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: upload.cdnFile -[Back to constructors index](index.md) - - - -Represent a chunk of a [CDN](https://core.telegram.org/cdn) file. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|bytes|[bytes](../types/bytes.md) | Yes|The data| - - - -### Type: [upload\_CdnFile](../types/upload_CdnFile.md) - - -### Example: - -```php -$upload_cdnFile = ['_' => 'upload.cdnFile', 'bytes' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -upload_cdnFile={_='upload.cdnFile', bytes='bytes'} - -``` - - diff --git a/old_docs/API_docs_v86/constructors/upload_cdnFileReuploadNeeded.md b/old_docs/API_docs_v86/constructors/upload_cdnFileReuploadNeeded.md deleted file mode 100644 index 6588a596..00000000 --- a/old_docs/API_docs_v86/constructors/upload_cdnFileReuploadNeeded.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: upload.cdnFileReuploadNeeded -description: The file was cleared from the temporary RAM cache of the [CDN](https://core.telegram.org/cdn) and has to be reuploaded. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: upload.cdnFileReuploadNeeded -[Back to constructors index](index.md) - - - -The file was cleared from the temporary RAM cache of the [CDN](https://core.telegram.org/cdn) and has to be reuploaded. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|request\_token|[bytes](../types/bytes.md) | Yes|Request token (see [CDN](https://core.telegram.org/cdn))| - - - -### Type: [upload\_CdnFile](../types/upload_CdnFile.md) - - -### Example: - -```php -$upload_cdnFileReuploadNeeded = ['_' => 'upload.cdnFileReuploadNeeded', 'request_token' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -upload_cdnFileReuploadNeeded={_='upload.cdnFileReuploadNeeded', request_token='bytes'} - -``` - - diff --git a/old_docs/API_docs_v86/constructors/upload_file.md b/old_docs/API_docs_v86/constructors/upload_file.md deleted file mode 100644 index 1e07d9fb..00000000 --- a/old_docs/API_docs_v86/constructors/upload_file.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: upload.file -description: File content. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: upload.file -[Back to constructors index](index.md) - - - -File content. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|type|[storage\_FileType](../types/storage_FileType.md) | Yes|File type| -|mtime|[int](../types/int.md) | Yes|Modification type| -|bytes|[bytes](../types/bytes.md) | Yes|Binary data, file content| - - - -### Type: [upload\_File](../types/upload_File.md) - - -### Example: - -```php -$upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int, 'bytes' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -upload_file={_='upload.file', type=storage_FileType, mtime=int, bytes='bytes'} - -``` - - diff --git a/old_docs/API_docs_v86/constructors/upload_fileCdnRedirect.md b/old_docs/API_docs_v86/constructors/upload_fileCdnRedirect.md deleted file mode 100644 index de504dc3..00000000 --- a/old_docs/API_docs_v86/constructors/upload_fileCdnRedirect.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: upload.fileCdnRedirect -description: The file must be downloaded from a [CDN DC](https://core.telegram.org/cdn). -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: upload.fileCdnRedirect -[Back to constructors index](index.md) - - - -The file must be downloaded from a [CDN DC](https://core.telegram.org/cdn). - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|dc\_id|[int](../types/int.md) | Yes|[CDN DC](https://core.telegram.org/cdn) ID| -|file\_token|[bytes](../types/bytes.md) | Yes|File token (see [CDN files](https://core.telegram.org/cdn)| -|encryption\_key|[bytes](../types/bytes.md) | Yes|Encryption key (see [CDN files](https://core.telegram.org/cdn)| -|encryption\_iv|[bytes](../types/bytes.md) | Yes|Encryption IV (see [CDN files](https://core.telegram.org/cdn)| -|file\_hashes|Array of [FileHash](../types/FileHash.md) | Yes|File hashes| - - - -### Type: [upload\_File](../types/upload_File.md) - - -### Example: - -```php -$upload_fileCdnRedirect = ['_' => 'upload.fileCdnRedirect', 'dc_id' => int, 'file_token' => 'bytes', 'encryption_key' => 'bytes', 'encryption_iv' => 'bytes', 'file_hashes' => [FileHash, FileHash]]; -``` - - -Or, if you're into Lua: - -```lua -upload_fileCdnRedirect={_='upload.fileCdnRedirect', dc_id=int, file_token='bytes', encryption_key='bytes', encryption_iv='bytes', file_hashes={FileHash}} - -``` - - diff --git a/old_docs/API_docs_v86/constructors/upload_webFile.md b/old_docs/API_docs_v86/constructors/upload_webFile.md deleted file mode 100644 index ee8053b1..00000000 --- a/old_docs/API_docs_v86/constructors/upload_webFile.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: upload.webFile -description: Represents a chunk of an [HTTP webfile](https://core.telegram.org/api/files) downloaded through telegram's secure MTProto servers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: upload.webFile -[Back to constructors index](index.md) - - - -Represents a chunk of an [HTTP webfile](https://core.telegram.org/api/files) downloaded through telegram's secure MTProto servers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|size|[int](../types/int.md) | Yes|File size| -|mime\_type|[string](../types/string.md) | Yes|Mime type| -|file\_type|[storage\_FileType](../types/storage_FileType.md) | Yes|File type| -|mtime|[int](../types/int.md) | Yes|Modified time| -|bytes|[bytes](../types/bytes.md) | Yes|Data| - - - -### Type: [upload\_WebFile](../types/upload_WebFile.md) - - -### Example: - -```php -$upload_webFile = ['_' => 'upload.webFile', 'size' => int, 'mime_type' => 'string', 'file_type' => storage_FileType, 'mtime' => int, 'bytes' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -upload_webFile={_='upload.webFile', size=int, mime_type='string', file_type=storage_FileType, mtime=int, bytes='bytes'} - -``` - - diff --git a/old_docs/API_docs_v86/constructors/userFull.md b/old_docs/API_docs_v86/constructors/userFull.md index 07341da6..3ae2dbc7 100644 --- a/old_docs/API_docs_v86/constructors/userFull.md +++ b/old_docs/API_docs_v86/constructors/userFull.md @@ -19,7 +19,7 @@ Extended user info |phone\_calls\_private|[Bool](../types/Bool.md) | Optional|Whether this user's privacy settings allow you to call him| |user|[User](../types/User.md) | Optional|Remaining user info| |about|[string](../types/string.md) | Optional|Bio of the user| -|link|[contacts\_Link](../types/contacts_Link.md) | Yes|Link| +|link|[contacts.Link](../constructors/contacts.Link.md) | Yes|Link| |profile\_photo|[Photo](../types/Photo.md) | Optional|Profile photo| |notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Yes|Notification settings| |bot\_info|[BotInfo](../types/BotInfo.md) | Optional|For bots, info about the bot (bot commands, etc)| @@ -33,14 +33,14 @@ Extended user info ### Example: ```php -$userFull = ['_' => 'userFull', 'blocked' => Bool, 'phone_calls_available' => Bool, 'phone_calls_private' => Bool, 'user' => User, 'about' => 'string', 'link' => contacts_Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'bot_info' => BotInfo, 'common_chats_count' => int]; +$userFull = ['_' => 'userFull', 'blocked' => Bool, 'phone_calls_available' => Bool, 'phone_calls_private' => Bool, 'user' => User, 'about' => 'string', 'link' => contacts.Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'bot_info' => BotInfo, 'common_chats_count' => int]; ``` Or, if you're into Lua: ```lua -userFull={_='userFull', blocked=Bool, phone_calls_available=Bool, phone_calls_private=Bool, user=User, about='string', link=contacts_Link, profile_photo=Photo, notify_settings=PeerNotifySettings, bot_info=BotInfo, common_chats_count=int} +userFull={_='userFull', blocked=Bool, phone_calls_available=Bool, phone_calls_private=Bool, user=User, about='string', link=contacts.Link, profile_photo=Photo, notify_settings=PeerNotifySettings, bot_info=BotInfo, common_chats_count=int} ``` diff --git a/old_docs/API_docs_v86/methods/account.getAuthorizationForm.md b/old_docs/API_docs_v86/methods/account.getAuthorizationForm.md index 298951cb..b0d52e07 100644 --- a/old_docs/API_docs_v86/methods/account.getAuthorizationForm.md +++ b/old_docs/API_docs_v86/methods/account.getAuthorizationForm.md @@ -18,7 +18,7 @@ Returns a Telegram Passport authorization form for sharing data with a service |public\_key|[string](../types/string.md) | Service's public key | Yes| -### Return type: [account\_AuthorizationForm](../types/account_AuthorizationForm.md) +### Return type: [account.AuthorizationForm](../types/account.AuthorizationForm.md) ### Can bots use this method: **NO** @@ -35,12 +35,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_AuthorizationForm = $MadelineProto->account->getAuthorizationForm(['bot_id' => int, 'scope' => 'string', 'public_key' => 'string', ]); +$account.AuthorizationForm = $MadelineProto->account->getAuthorizationForm(['bot_id' => int, 'scope' => 'string', 'public_key' => 'string', ]); ``` Or, if you're into Lua: ```lua -account_AuthorizationForm = account.getAuthorizationForm({bot_id=int, scope='string', public_key='string', }) +account.AuthorizationForm = account.getAuthorizationForm({bot_id=int, scope='string', public_key='string', }) ``` diff --git a/old_docs/API_docs_v86/methods/account.getAuthorizations.md b/old_docs/API_docs_v86/methods/account.getAuthorizations.md index f69c130a..fad3a7ae 100644 --- a/old_docs/API_docs_v86/methods/account.getAuthorizations.md +++ b/old_docs/API_docs_v86/methods/account.getAuthorizations.md @@ -11,7 +11,7 @@ Get logged-in sessions -### Return type: [account\_Authorizations](../types/account_Authorizations.md) +### Return type: [account.Authorizations](../types/account.Authorizations.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_Authorizations = $MadelineProto->account->getAuthorizations(); +$account.Authorizations = $MadelineProto->account->getAuthorizations(); ``` Or, if you're into Lua: ```lua -account_Authorizations = account.getAuthorizations({}) +account.Authorizations = account.getAuthorizations({}) ``` diff --git a/old_docs/API_docs_v86/methods/account.getPassword.md b/old_docs/API_docs_v86/methods/account.getPassword.md index eed4aee3..621271b6 100644 --- a/old_docs/API_docs_v86/methods/account.getPassword.md +++ b/old_docs/API_docs_v86/methods/account.getPassword.md @@ -11,7 +11,7 @@ Obtain configuration for two-factor authorization with password -### Return type: [account\_Password](../types/account_Password.md) +### Return type: [account.Password](../types/account.Password.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_Password = $MadelineProto->account->getPassword(); +$account.Password = $MadelineProto->account->getPassword(); ``` Or, if you're into Lua: ```lua -account_Password = account.getPassword({}) +account.Password = account.getPassword({}) ``` diff --git a/old_docs/API_docs_v86/methods/account.getPasswordSettings.md b/old_docs/API_docs_v86/methods/account.getPasswordSettings.md index a7a47b1a..2b8607b9 100644 --- a/old_docs/API_docs_v86/methods/account.getPasswordSettings.md +++ b/old_docs/API_docs_v86/methods/account.getPasswordSettings.md @@ -16,7 +16,7 @@ You cannot use this method directly; use $MadelineProto->update_2fa($params), in |password|[InputCheckPasswordSRP](../types/InputCheckPasswordSRP.md) | You cannot use this method directly; use $MadelineProto->update_2fa($params), instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [account\_PasswordSettings](../types/account_PasswordSettings.md) +### Return type: [account.PasswordSettings](../types/account.PasswordSettings.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_PasswordSettings = $MadelineProto->account->getPasswordSettings(['password' => InputCheckPasswordSRP, ]); +$account.PasswordSettings = $MadelineProto->account->getPasswordSettings(['password' => InputCheckPasswordSRP, ]); ``` Or, if you're into Lua: ```lua -account_PasswordSettings = account.getPasswordSettings({password=InputCheckPasswordSRP, }) +account.PasswordSettings = account.getPasswordSettings({password=InputCheckPasswordSRP, }) ``` ### Errors diff --git a/old_docs/API_docs_v86/methods/account.getPrivacy.md b/old_docs/API_docs_v86/methods/account.getPrivacy.md index 6a240129..e20c292c 100644 --- a/old_docs/API_docs_v86/methods/account.getPrivacy.md +++ b/old_docs/API_docs_v86/methods/account.getPrivacy.md @@ -16,7 +16,7 @@ Get privacy settings of current account |key|[InputPrivacyKey](../types/InputPrivacyKey.md) | Peer category whose privacy settings should be fetched | Yes| -### Return type: [account\_PrivacyRules](../types/account_PrivacyRules.md) +### Return type: [account.PrivacyRules](../types/account.PrivacyRules.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_PrivacyRules = $MadelineProto->account->getPrivacy(['key' => InputPrivacyKey, ]); +$account.PrivacyRules = $MadelineProto->account->getPrivacy(['key' => InputPrivacyKey, ]); ``` Or, if you're into Lua: ```lua -account_PrivacyRules = account.getPrivacy({key=InputPrivacyKey, }) +account.PrivacyRules = account.getPrivacy({key=InputPrivacyKey, }) ``` ### Errors diff --git a/old_docs/API_docs_v86/methods/account.getTmpPassword.md b/old_docs/API_docs_v86/methods/account.getTmpPassword.md index 76729595..2328df1e 100644 --- a/old_docs/API_docs_v86/methods/account.getTmpPassword.md +++ b/old_docs/API_docs_v86/methods/account.getTmpPassword.md @@ -17,7 +17,7 @@ Get temporary payment password |period|[int](../types/int.md) | Time during which the temporary password will be valid, in seconds; should be between 60 and 86400 | Yes| -### Return type: [account\_TmpPassword](../types/account_TmpPassword.md) +### Return type: [account.TmpPassword](../types/account.TmpPassword.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_TmpPassword = $MadelineProto->account->getTmpPassword(['password' => InputCheckPasswordSRP, 'period' => int, ]); +$account.TmpPassword = $MadelineProto->account->getTmpPassword(['password' => InputCheckPasswordSRP, 'period' => int, ]); ``` Or, if you're into Lua: ```lua -account_TmpPassword = account.getTmpPassword({password=InputCheckPasswordSRP, period=int, }) +account.TmpPassword = account.getTmpPassword({password=InputCheckPasswordSRP, period=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v86/methods/account.getWebAuthorizations.md b/old_docs/API_docs_v86/methods/account.getWebAuthorizations.md index 1a43f138..b97fe978 100644 --- a/old_docs/API_docs_v86/methods/account.getWebAuthorizations.md +++ b/old_docs/API_docs_v86/methods/account.getWebAuthorizations.md @@ -11,7 +11,7 @@ Get web [login widget](https://core.telegram.org/widgets/login) authorizations -### Return type: [account\_WebAuthorizations](../types/account_WebAuthorizations.md) +### Return type: [account.WebAuthorizations](../types/account.WebAuthorizations.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_WebAuthorizations = $MadelineProto->account->getWebAuthorizations(); +$account.WebAuthorizations = $MadelineProto->account->getWebAuthorizations(); ``` Or, if you're into Lua: ```lua -account_WebAuthorizations = account.getWebAuthorizations({}) +account.WebAuthorizations = account.getWebAuthorizations({}) ``` diff --git a/old_docs/API_docs_v86/methods/account.initTakeoutSession.md b/old_docs/API_docs_v86/methods/account.initTakeoutSession.md index 01b3ae0f..3b8774b8 100644 --- a/old_docs/API_docs_v86/methods/account.initTakeoutSession.md +++ b/old_docs/API_docs_v86/methods/account.initTakeoutSession.md @@ -22,7 +22,7 @@ Intialize account takeout session |file\_max\_size|[int](../types/int.md) | Maximum size of files to export | Optional| -### Return type: [account\_Takeout](../types/account_Takeout.md) +### Return type: [account.Takeout](../types/account.Takeout.md) ### Can bots use this method: **NO** @@ -39,12 +39,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_Takeout = $MadelineProto->account->initTakeoutSession(['contacts' => Bool, 'message_users' => Bool, 'message_chats' => Bool, 'message_megagroups' => Bool, 'message_channels' => Bool, 'files' => Bool, 'file_max_size' => int, ]); +$account.Takeout = $MadelineProto->account->initTakeoutSession(['contacts' => Bool, 'message_users' => Bool, 'message_chats' => Bool, 'message_megagroups' => Bool, 'message_channels' => Bool, 'files' => Bool, 'file_max_size' => int, ]); ``` Or, if you're into Lua: ```lua -account_Takeout = account.initTakeoutSession({contacts=Bool, message_users=Bool, message_chats=Bool, message_megagroups=Bool, message_channels=Bool, files=Bool, file_max_size=int, }) +account.Takeout = account.initTakeoutSession({contacts=Bool, message_users=Bool, message_chats=Bool, message_megagroups=Bool, message_channels=Bool, files=Bool, file_max_size=int, }) ``` diff --git a/old_docs/API_docs_v86/methods/account.sendChangePhoneCode.md b/old_docs/API_docs_v86/methods/account.sendChangePhoneCode.md index 0f81306e..30589ffa 100644 --- a/old_docs/API_docs_v86/methods/account.sendChangePhoneCode.md +++ b/old_docs/API_docs_v86/methods/account.sendChangePhoneCode.md @@ -18,7 +18,7 @@ Verify a new phone number to associate to the current account |current\_number|[Bool](../types/Bool.md) | Current phone number | Optional| -### Return type: [auth\_SentCode](../types/auth_SentCode.md) +### Return type: [auth.SentCode](../types/auth.SentCode.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_SentCode = $MadelineProto->account->sendChangePhoneCode(['allow_flashcall' => Bool, 'phone_number' => 'string', 'current_number' => Bool, ]); +$auth.SentCode = $MadelineProto->account->sendChangePhoneCode(['allow_flashcall' => Bool, 'phone_number' => 'string', 'current_number' => Bool, ]); ``` Or, if you're into Lua: ```lua -auth_SentCode = account.sendChangePhoneCode({allow_flashcall=Bool, phone_number='string', current_number=Bool, }) +auth.SentCode = account.sendChangePhoneCode({allow_flashcall=Bool, phone_number='string', current_number=Bool, }) ``` ### Errors diff --git a/old_docs/API_docs_v86/methods/account.sendConfirmPhoneCode.md b/old_docs/API_docs_v86/methods/account.sendConfirmPhoneCode.md index 68ba8fd3..9ec24f07 100644 --- a/old_docs/API_docs_v86/methods/account.sendConfirmPhoneCode.md +++ b/old_docs/API_docs_v86/methods/account.sendConfirmPhoneCode.md @@ -18,7 +18,7 @@ Send confirmation code to cancel account deletion, for more info [click here »] |current\_number|[Bool](../types/Bool.md) | The current phone number | Optional| -### Return type: [auth\_SentCode](../types/auth_SentCode.md) +### Return type: [auth.SentCode](../types/auth.SentCode.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_SentCode = $MadelineProto->account->sendConfirmPhoneCode(['allow_flashcall' => Bool, 'hash' => 'string', 'current_number' => Bool, ]); +$auth.SentCode = $MadelineProto->account->sendConfirmPhoneCode(['allow_flashcall' => Bool, 'hash' => 'string', 'current_number' => Bool, ]); ``` Or, if you're into Lua: ```lua -auth_SentCode = account.sendConfirmPhoneCode({allow_flashcall=Bool, hash='string', current_number=Bool, }) +auth.SentCode = account.sendConfirmPhoneCode({allow_flashcall=Bool, hash='string', current_number=Bool, }) ``` ### Errors diff --git a/old_docs/API_docs_v86/methods/account.sendVerifyEmailCode.md b/old_docs/API_docs_v86/methods/account.sendVerifyEmailCode.md index 54b1fc3f..a4768852 100644 --- a/old_docs/API_docs_v86/methods/account.sendVerifyEmailCode.md +++ b/old_docs/API_docs_v86/methods/account.sendVerifyEmailCode.md @@ -16,7 +16,7 @@ Send the verification email code for telegram [passport](https://core.telegram.o |email|[string](../types/string.md) | The email where to send the code | Yes| -### Return type: [account\_SentEmailCode](../types/account_SentEmailCode.md) +### Return type: [account.SentEmailCode](../types/account.SentEmailCode.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_SentEmailCode = $MadelineProto->account->sendVerifyEmailCode(['email' => 'string', ]); +$account.SentEmailCode = $MadelineProto->account->sendVerifyEmailCode(['email' => 'string', ]); ``` Or, if you're into Lua: ```lua -account_SentEmailCode = account.sendVerifyEmailCode({email='string', }) +account.SentEmailCode = account.sendVerifyEmailCode({email='string', }) ``` diff --git a/old_docs/API_docs_v86/methods/account.sendVerifyPhoneCode.md b/old_docs/API_docs_v86/methods/account.sendVerifyPhoneCode.md index 29cda026..c03ddf63 100644 --- a/old_docs/API_docs_v86/methods/account.sendVerifyPhoneCode.md +++ b/old_docs/API_docs_v86/methods/account.sendVerifyPhoneCode.md @@ -18,7 +18,7 @@ Send the verification phone code for telegram [passport](https://core.telegram.o |current\_number|[Bool](../types/Bool.md) | Is this the current number? | Optional| -### Return type: [auth\_SentCode](../types/auth_SentCode.md) +### Return type: [auth.SentCode](../types/auth.SentCode.md) ### Can bots use this method: **NO** @@ -35,12 +35,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_SentCode = $MadelineProto->account->sendVerifyPhoneCode(['allow_flashcall' => Bool, 'phone_number' => 'string', 'current_number' => Bool, ]); +$auth.SentCode = $MadelineProto->account->sendVerifyPhoneCode(['allow_flashcall' => Bool, 'phone_number' => 'string', 'current_number' => Bool, ]); ``` Or, if you're into Lua: ```lua -auth_SentCode = account.sendVerifyPhoneCode({allow_flashcall=Bool, phone_number='string', current_number=Bool, }) +auth.SentCode = account.sendVerifyPhoneCode({allow_flashcall=Bool, phone_number='string', current_number=Bool, }) ``` diff --git a/old_docs/API_docs_v86/methods/account.setPrivacy.md b/old_docs/API_docs_v86/methods/account.setPrivacy.md index 7c4cfba7..096d373e 100644 --- a/old_docs/API_docs_v86/methods/account.setPrivacy.md +++ b/old_docs/API_docs_v86/methods/account.setPrivacy.md @@ -17,7 +17,7 @@ Change privacy settings of current account |rules|Array of [InputPrivacyRule](../types/InputPrivacyRule.md) | Privacy settings | Yes| -### Return type: [account\_PrivacyRules](../types/account_PrivacyRules.md) +### Return type: [account.PrivacyRules](../types/account.PrivacyRules.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_PrivacyRules = $MadelineProto->account->setPrivacy(['key' => InputPrivacyKey, 'rules' => [InputPrivacyRule, InputPrivacyRule], ]); +$account.PrivacyRules = $MadelineProto->account->setPrivacy(['key' => InputPrivacyKey, 'rules' => [InputPrivacyRule, InputPrivacyRule], ]); ``` Or, if you're into Lua: ```lua -account_PrivacyRules = account.setPrivacy({key=InputPrivacyKey, rules={InputPrivacyRule}, }) +account.PrivacyRules = account.setPrivacy({key=InputPrivacyKey, rules={InputPrivacyRule}, }) ``` ### Errors diff --git a/old_docs/API_docs_v86/methods/api_README.md b/old_docs/API_docs_v86/methods/api_README.md index 0ea2edcf..fb19a6cb 100644 --- a/old_docs/API_docs_v86/methods/api_README.md +++ b/old_docs/API_docs_v86/methods/api_README.md @@ -72,11 +72,11 @@ $MadelineProto->[account->getAllSecureValues](account.getAllSecureValues.md)(\[\ ***

-$MadelineProto->[account->getAuthorizationForm](account.getAuthorizationForm.md)(\['bot_id' => [int](../types/int.md), 'scope' => [string](../types/string.md), 'public_key' => [string](../types/string.md), \]) === [$account\_AuthorizationForm](../types/account_AuthorizationForm.md) +$MadelineProto->[account->getAuthorizationForm](account.getAuthorizationForm.md)(\['bot_id' => [int](../types/int.md), 'scope' => [string](../types/string.md), 'public_key' => [string](../types/string.md), \]) === [$account.AuthorizationForm](../types/account.AuthorizationForm.md) ***

-$MadelineProto->[account->getAuthorizations](account.getAuthorizations.md)(\[\]) === [$account\_Authorizations](../types/account_Authorizations.md) +$MadelineProto->[account->getAuthorizations](account.getAuthorizations.md)(\[\]) === [$account.Authorizations](../types/account.Authorizations.md) ***

@@ -84,15 +84,15 @@ $MadelineProto->[account->getNotifySettings](account.getNotifySettings.md)(\['pe ***

-$MadelineProto->[account->getPassword](account.getPassword.md)(\[\]) === [$account\_Password](../types/account_Password.md) +$MadelineProto->[account->getPassword](account.getPassword.md)(\[\]) === [$account.Password](../types/account.Password.md) ***

-$MadelineProto->[account->getPasswordSettings](account.getPasswordSettings.md)(\['password' => [InputCheckPasswordSRP](../types/InputCheckPasswordSRP.md), \]) === [$account\_PasswordSettings](../types/account_PasswordSettings.md) +$MadelineProto->[account->getPasswordSettings](account.getPasswordSettings.md)(\['password' => [InputCheckPasswordSRP](../types/InputCheckPasswordSRP.md), \]) === [$account.PasswordSettings](../types/account.PasswordSettings.md) ***

-$MadelineProto->[account->getPrivacy](account.getPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), \]) === [$account\_PrivacyRules](../types/account_PrivacyRules.md) +$MadelineProto->[account->getPrivacy](account.getPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), \]) === [$account.PrivacyRules](../types/account.PrivacyRules.md) ***

@@ -100,7 +100,7 @@ $MadelineProto->[account->getSecureValue](account.getSecureValue.md)(\['types' = ***

-$MadelineProto->[account->getTmpPassword](account.getTmpPassword.md)(\['password' => [InputCheckPasswordSRP](../types/InputCheckPasswordSRP.md), 'period' => [int](../types/int.md), \]) === [$account\_TmpPassword](../types/account_TmpPassword.md) +$MadelineProto->[account->getTmpPassword](account.getTmpPassword.md)(\['password' => [InputCheckPasswordSRP](../types/InputCheckPasswordSRP.md), 'period' => [int](../types/int.md), \]) === [$account.TmpPassword](../types/account.TmpPassword.md) ***

@@ -108,11 +108,11 @@ $MadelineProto->[account->getWallPapers](account.getWallPapers.md)(\[\]) === [$V ***

-$MadelineProto->[account->getWebAuthorizations](account.getWebAuthorizations.md)(\[\]) === [$account\_WebAuthorizations](../types/account_WebAuthorizations.md) +$MadelineProto->[account->getWebAuthorizations](account.getWebAuthorizations.md)(\[\]) === [$account.WebAuthorizations](../types/account.WebAuthorizations.md) ***

-$MadelineProto->[account->initTakeoutSession](account.initTakeoutSession.md)(\['contacts' => [Bool](../types/Bool.md), 'message_users' => [Bool](../types/Bool.md), 'message_chats' => [Bool](../types/Bool.md), 'message_megagroups' => [Bool](../types/Bool.md), 'message_channels' => [Bool](../types/Bool.md), 'files' => [Bool](../types/Bool.md), 'file_max_size' => [int](../types/int.md), \]) === [$account\_Takeout](../types/account_Takeout.md) +$MadelineProto->[account->initTakeoutSession](account.initTakeoutSession.md)(\['contacts' => [Bool](../types/Bool.md), 'message_users' => [Bool](../types/Bool.md), 'message_chats' => [Bool](../types/Bool.md), 'message_megagroups' => [Bool](../types/Bool.md), 'message_channels' => [Bool](../types/Bool.md), 'files' => [Bool](../types/Bool.md), 'file_max_size' => [int](../types/int.md), \]) === [$account.Takeout](../types/account.Takeout.md) ***

@@ -144,19 +144,19 @@ $MadelineProto->[account->saveSecureValue](account.saveSecureValue.md)(\['value' ***

-$MadelineProto->[account->sendChangePhoneCode](account.sendChangePhoneCode.md)(\['allow_flashcall' => [Bool](../types/Bool.md), 'phone_number' => [string](../types/string.md), 'current_number' => [Bool](../types/Bool.md), \]) === [$auth\_SentCode](../types/auth_SentCode.md) +$MadelineProto->[account->sendChangePhoneCode](account.sendChangePhoneCode.md)(\['allow_flashcall' => [Bool](../types/Bool.md), 'phone_number' => [string](../types/string.md), 'current_number' => [Bool](../types/Bool.md), \]) === [$auth.SentCode](../types/auth.SentCode.md) ***

-$MadelineProto->[account->sendConfirmPhoneCode](account.sendConfirmPhoneCode.md)(\['allow_flashcall' => [Bool](../types/Bool.md), 'hash' => [string](../types/string.md), 'current_number' => [Bool](../types/Bool.md), \]) === [$auth\_SentCode](../types/auth_SentCode.md) +$MadelineProto->[account->sendConfirmPhoneCode](account.sendConfirmPhoneCode.md)(\['allow_flashcall' => [Bool](../types/Bool.md), 'hash' => [string](../types/string.md), 'current_number' => [Bool](../types/Bool.md), \]) === [$auth.SentCode](../types/auth.SentCode.md) ***

-$MadelineProto->[account->sendVerifyEmailCode](account.sendVerifyEmailCode.md)(\['email' => [string](../types/string.md), \]) === [$account\_SentEmailCode](../types/account_SentEmailCode.md) +$MadelineProto->[account->sendVerifyEmailCode](account.sendVerifyEmailCode.md)(\['email' => [string](../types/string.md), \]) === [$account.SentEmailCode](../types/account.SentEmailCode.md) ***

-$MadelineProto->[account->sendVerifyPhoneCode](account.sendVerifyPhoneCode.md)(\['allow_flashcall' => [Bool](../types/Bool.md), 'phone_number' => [string](../types/string.md), 'current_number' => [Bool](../types/Bool.md), \]) === [$auth\_SentCode](../types/auth_SentCode.md) +$MadelineProto->[account->sendVerifyPhoneCode](account.sendVerifyPhoneCode.md)(\['allow_flashcall' => [Bool](../types/Bool.md), 'phone_number' => [string](../types/string.md), 'current_number' => [Bool](../types/Bool.md), \]) === [$auth.SentCode](../types/auth.SentCode.md) ***

@@ -164,7 +164,7 @@ $MadelineProto->[account->setAccountTTL](account.setAccountTTL.md)(\['ttl' => [A ***

-$MadelineProto->[account->setPrivacy](account.setPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), 'rules' => \[[InputPrivacyRule](../types/InputPrivacyRule.md)\], \]) === [$account\_PrivacyRules](../types/account_PrivacyRules.md) +$MadelineProto->[account->setPrivacy](account.setPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), 'rules' => \[[InputPrivacyRule](../types/InputPrivacyRule.md)\], \]) === [$account.PrivacyRules](../types/account.PrivacyRules.md) ***

@@ -212,7 +212,7 @@ $MadelineProto->[auth->cancelCode](auth.cancelCode.md)(\['phone_number' => [stri ***

-$MadelineProto->[auth->checkPassword](auth.checkPassword.md)(\['password' => [InputCheckPasswordSRP](../types/InputCheckPasswordSRP.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->checkPassword](auth.checkPassword.md)(\['password' => [InputCheckPasswordSRP](../types/InputCheckPasswordSRP.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

@@ -220,15 +220,15 @@ $MadelineProto->[auth->dropTempAuthKeys](auth.dropTempAuthKeys.md)(\['except_aut ***

-$MadelineProto->[auth->exportAuthorization](auth.exportAuthorization.md)(\['dc_id' => [int](../types/int.md), \]) === [$auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) +$MadelineProto->[auth->exportAuthorization](auth.exportAuthorization.md)(\['dc_id' => [int](../types/int.md), \]) === [$auth.ExportedAuthorization](../types/auth.ExportedAuthorization.md) ***

-$MadelineProto->[auth->importAuthorization](auth.importAuthorization.md)(\['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->importAuthorization](auth.importAuthorization.md)(\['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

-$MadelineProto->[auth->importBotAuthorization](auth.importBotAuthorization.md)(\['api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), 'bot_auth_token' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->importBotAuthorization](auth.importBotAuthorization.md)(\['api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), 'bot_auth_token' => [string](../types/string.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

@@ -236,15 +236,15 @@ $MadelineProto->[auth->logOut](auth.logOut.md)(\[\]) === [$Bool](../types/Bool.m ***

-$MadelineProto->[auth->recoverPassword](auth.recoverPassword.md)(\['code' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->recoverPassword](auth.recoverPassword.md)(\['code' => [string](../types/string.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

-$MadelineProto->[auth->requestPasswordRecovery](auth.requestPasswordRecovery.md)(\[\]) === [$auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) +$MadelineProto->[auth->requestPasswordRecovery](auth.requestPasswordRecovery.md)(\[\]) === [$auth.PasswordRecovery](../types/auth.PasswordRecovery.md) ***

-$MadelineProto->[auth->resendCode](auth.resendCode.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), \]) === [$auth\_SentCode](../types/auth_SentCode.md) +$MadelineProto->[auth->resendCode](auth.resendCode.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), \]) === [$auth.SentCode](../types/auth.SentCode.md) ***

@@ -252,15 +252,15 @@ $MadelineProto->[auth->resetAuthorizations](auth.resetAuthorizations.md)(\[\]) = ***

-$MadelineProto->[auth->sendCode](auth.sendCode.md)(\['allow_flashcall' => [Bool](../types/Bool.md), 'phone_number' => [string](../types/string.md), 'current_number' => [Bool](../types/Bool.md), 'api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), \]) === [$auth\_SentCode](../types/auth_SentCode.md) +$MadelineProto->[auth->sendCode](auth.sendCode.md)(\['allow_flashcall' => [Bool](../types/Bool.md), 'phone_number' => [string](../types/string.md), 'current_number' => [Bool](../types/Bool.md), 'api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), \]) === [$auth.SentCode](../types/auth.SentCode.md) ***

-$MadelineProto->[auth->signIn](auth.signIn.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->signIn](auth.signIn.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

-$MadelineProto->[auth->signUp](auth.signUp.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->signUp](auth.signUp.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

@@ -288,11 +288,11 @@ $MadelineProto->[channels->deleteHistory](channels.deleteHistory.md)(\['channel' ***

-$MadelineProto->[channels->deleteMessages](channels.deleteMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) +$MadelineProto->[channels->deleteMessages](channels.deleteMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages.AffectedMessages](../types/messages.AffectedMessages.md) ***

-$MadelineProto->[channels->deleteUserHistory](channels.deleteUserHistory.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages\_AffectedHistory](../types/messages_AffectedHistory.md) +$MadelineProto->[channels->deleteUserHistory](channels.deleteUserHistory.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages.AffectedHistory](../types/messages.AffectedHistory.md) ***

@@ -324,35 +324,35 @@ $MadelineProto->[channels->exportMessageLink](channels.exportMessageLink.md)(\[' ***

-$MadelineProto->[channels->getAdminLog](channels.getAdminLog.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'q' => [string](../types/string.md), 'events_filter' => [ChannelAdminLogEventsFilter](../types/ChannelAdminLogEventsFilter.md), 'admins' => \[[InputUser](../types/InputUser.md)\], 'max_id' => [long](../types/long.md), 'min_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$channels\_AdminLogResults](../types/channels_AdminLogResults.md) +$MadelineProto->[channels->getAdminLog](channels.getAdminLog.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'q' => [string](../types/string.md), 'events_filter' => [ChannelAdminLogEventsFilter](../types/ChannelAdminLogEventsFilter.md), 'admins' => \[[InputUser](../types/InputUser.md)\], 'max_id' => [long](../types/long.md), 'min_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$channels.AdminLogResults](../types/channels.AdminLogResults.md) ***

-$MadelineProto->[channels->getAdminedPublicChannels](channels.getAdminedPublicChannels.md)(\[\]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[channels->getAdminedPublicChannels](channels.getAdminedPublicChannels.md)(\[\]) === [$messages.Chats](../types/messages.Chats.md) ***

-$MadelineProto->[channels->getChannels](channels.getChannels.md)(\['id' => \[[InputChannel](../types/InputChannel.md)\], \]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[channels->getChannels](channels.getChannels.md)(\['id' => \[[InputChannel](../types/InputChannel.md)\], \]) === [$messages.Chats](../types/messages.Chats.md) ***

-$MadelineProto->[channels->getFullChannel](channels.getFullChannel.md)(\['channel' => [InputChannel](../types/InputChannel.md), \]) === [$messages\_ChatFull](../types/messages_ChatFull.md) +$MadelineProto->[channels->getFullChannel](channels.getFullChannel.md)(\['channel' => [InputChannel](../types/InputChannel.md), \]) === [$messages.ChatFull](../types/messages.ChatFull.md) ***

-$MadelineProto->[channels->getLeftChannels](channels.getLeftChannels.md)(\['offset' => [int](../types/int.md), \]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[channels->getLeftChannels](channels.getLeftChannels.md)(\['offset' => [int](../types/int.md), \]) === [$messages.Chats](../types/messages.Chats.md) ***

-$MadelineProto->[channels->getMessages](channels.getMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[InputMessage](../types/InputMessage.md)\], \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[channels->getMessages](channels.getMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[InputMessage](../types/InputMessage.md)\], \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[channels->getParticipant](channels.getParticipant.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$channels\_ChannelParticipant](../types/channels_ChannelParticipant.md) +$MadelineProto->[channels->getParticipant](channels.getParticipant.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$channels.ChannelParticipant](../types/channels.ChannelParticipant.md) ***

-$MadelineProto->[channels->getParticipants](channels.getParticipants.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$channels\_ChannelParticipants](../types/channels_ChannelParticipants.md) +$MadelineProto->[channels->getParticipants](channels.getParticipants.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$channels.ChannelParticipants](../types/channels.ChannelParticipants.md) ***

@@ -408,7 +408,7 @@ $MadelineProto->[contacts->block](contacts.block.md)(\['id' => [InputUser](../ty ***

-$MadelineProto->[contacts->deleteContact](contacts.deleteContact.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$contacts\_Link](../types/contacts_Link.md) +$MadelineProto->[contacts->deleteContact](contacts.deleteContact.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$contacts.Link](../types/contacts.Link.md) ***

@@ -420,11 +420,11 @@ $MadelineProto->[contacts->exportCard](contacts.exportCard.md)(\[\]) === [$Vecto ***

-$MadelineProto->[contacts->getBlocked](contacts.getBlocked.md)(\['offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$contacts\_Blocked](../types/contacts_Blocked.md) +$MadelineProto->[contacts->getBlocked](contacts.getBlocked.md)(\['offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$contacts.Blocked](../types/contacts.Blocked.md) ***

-$MadelineProto->[contacts->getContacts](contacts.getContacts.md)(\['hash' => [int](../types/int.md), \]) === [$contacts\_Contacts](../types/contacts_Contacts.md) +$MadelineProto->[contacts->getContacts](contacts.getContacts.md)(\['hash' => [int](../types/int.md), \]) === [$contacts.Contacts](../types/contacts.Contacts.md) ***

@@ -436,7 +436,7 @@ $MadelineProto->[contacts->getStatuses](contacts.getStatuses.md)(\[\]) === [$Vec ***

-$MadelineProto->[contacts->getTopPeers](contacts.getTopPeers.md)(\['correspondents' => [Bool](../types/Bool.md), 'bots_pm' => [Bool](../types/Bool.md), 'bots_inline' => [Bool](../types/Bool.md), 'phone_calls' => [Bool](../types/Bool.md), 'groups' => [Bool](../types/Bool.md), 'channels' => [Bool](../types/Bool.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$contacts\_TopPeers](../types/contacts_TopPeers.md) +$MadelineProto->[contacts->getTopPeers](contacts.getTopPeers.md)(\['correspondents' => [Bool](../types/Bool.md), 'bots_pm' => [Bool](../types/Bool.md), 'bots_inline' => [Bool](../types/Bool.md), 'phone_calls' => [Bool](../types/Bool.md), 'groups' => [Bool](../types/Bool.md), 'channels' => [Bool](../types/Bool.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$contacts.TopPeers](../types/contacts.TopPeers.md) ***

@@ -444,7 +444,7 @@ $MadelineProto->[contacts->importCard](contacts.importCard.md)(\['export_card' = ***

-$MadelineProto->[contacts->importContacts](contacts.importContacts.md)(\['contacts' => \[[InputContact](../types/InputContact.md)\], \]) === [$contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) +$MadelineProto->[contacts->importContacts](contacts.importContacts.md)(\['contacts' => \[[InputContact](../types/InputContact.md)\], \]) === [$contacts.ImportedContacts](../types/contacts.ImportedContacts.md) ***

@@ -456,11 +456,11 @@ $MadelineProto->[contacts->resetTopPeerRating](contacts.resetTopPeerRating.md)(\ ***

-$MadelineProto->[contacts->resolveUsername](contacts.resolveUsername.md)(\['username' => [string](../types/string.md), \]) === [$contacts\_ResolvedPeer](../types/contacts_ResolvedPeer.md) +$MadelineProto->[contacts->resolveUsername](contacts.resolveUsername.md)(\['username' => [string](../types/string.md), \]) === [$contacts.ResolvedPeer](../types/contacts.ResolvedPeer.md) ***

-$MadelineProto->[contacts->search](contacts.search.md)(\['q' => [string](../types/string.md), 'limit' => [int](../types/int.md), \]) === [$contacts\_Found](../types/contacts_Found.md) +$MadelineProto->[contacts->search](contacts.search.md)(\['q' => [string](../types/string.md), 'limit' => [int](../types/int.md), \]) === [$contacts.Found](../types/contacts.Found.md) ***

@@ -480,7 +480,7 @@ $MadelineProto->[help->getAppChangelog](help.getAppChangelog.md)(\['prev_app_ver ***

-$MadelineProto->[help->getAppUpdate](help.getAppUpdate.md)(\['source' => [string](../types/string.md), \]) === [$help\_AppUpdate](../types/help_AppUpdate.md) +$MadelineProto->[help->getAppUpdate](help.getAppUpdate.md)(\['source' => [string](../types/string.md), \]) === [$help.AppUpdate](../types/help.AppUpdate.md) ***

@@ -492,11 +492,11 @@ $MadelineProto->[help->getConfig](help.getConfig.md)(\[\]) === [$Config](../type ***

-$MadelineProto->[help->getDeepLinkInfo](help.getDeepLinkInfo.md)(\['path' => [string](../types/string.md), \]) === [$help\_DeepLinkInfo](../types/help_DeepLinkInfo.md) +$MadelineProto->[help->getDeepLinkInfo](help.getDeepLinkInfo.md)(\['path' => [string](../types/string.md), \]) === [$help.DeepLinkInfo](../types/help.DeepLinkInfo.md) ***

-$MadelineProto->[help->getInviteText](help.getInviteText.md)(\[\]) === [$help\_InviteText](../types/help_InviteText.md) +$MadelineProto->[help->getInviteText](help.getInviteText.md)(\[\]) === [$help.InviteText](../types/help.InviteText.md) ***

@@ -504,23 +504,23 @@ $MadelineProto->[help->getNearestDc](help.getNearestDc.md)(\[\]) === [$NearestDc ***

-$MadelineProto->[help->getPassportConfig](help.getPassportConfig.md)(\['hash' => [int](../types/int.md), \]) === [$help\_PassportConfig](../types/help_PassportConfig.md) +$MadelineProto->[help->getPassportConfig](help.getPassportConfig.md)(\['hash' => [int](../types/int.md), \]) === [$help.PassportConfig](../types/help.PassportConfig.md) ***

-$MadelineProto->[help->getProxyData](help.getProxyData.md)(\[\]) === [$help\_ProxyData](../types/help_ProxyData.md) +$MadelineProto->[help->getProxyData](help.getProxyData.md)(\[\]) === [$help.ProxyData](../types/help.ProxyData.md) ***

-$MadelineProto->[help->getRecentMeUrls](help.getRecentMeUrls.md)(\['referer' => [string](../types/string.md), \]) === [$help\_RecentMeUrls](../types/help_RecentMeUrls.md) +$MadelineProto->[help->getRecentMeUrls](help.getRecentMeUrls.md)(\['referer' => [string](../types/string.md), \]) === [$help.RecentMeUrls](../types/help.RecentMeUrls.md) ***

-$MadelineProto->[help->getSupport](help.getSupport.md)(\[\]) === [$help\_Support](../types/help_Support.md) +$MadelineProto->[help->getSupport](help.getSupport.md)(\[\]) === [$help.Support](../types/help.Support.md) ***

-$MadelineProto->[help->getTermsOfServiceUpdate](help.getTermsOfServiceUpdate.md)(\[\]) === [$help\_TermsOfServiceUpdate](../types/help_TermsOfServiceUpdate.md) +$MadelineProto->[help->getTermsOfServiceUpdate](help.getTermsOfServiceUpdate.md)(\[\]) === [$help.TermsOfServiceUpdate](../types/help.TermsOfServiceUpdate.md) ***

@@ -604,11 +604,11 @@ $MadelineProto->[messages->deleteChatUser](messages.deleteChatUser.md)(\['chat_i ***

-$MadelineProto->[messages->deleteHistory](messages.deleteHistory.md)(\['just_clear' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), \]) === [$messages\_AffectedHistory](../types/messages_AffectedHistory.md) +$MadelineProto->[messages->deleteHistory](messages.deleteHistory.md)(\['just_clear' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), \]) === [$messages.AffectedHistory](../types/messages.AffectedHistory.md) ***

-$MadelineProto->[messages->deleteMessages](messages.deleteMessages.md)(\['revoke' => [Bool](../types/Bool.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) +$MadelineProto->[messages->deleteMessages](messages.deleteMessages.md)(\['revoke' => [Bool](../types/Bool.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages.AffectedMessages](../types/messages.AffectedMessages.md) ***

@@ -648,7 +648,7 @@ $MadelineProto->[messages->forwardMessages](messages.forwardMessages.md)(\['sile ***

-$MadelineProto->[messages->getAllChats](messages.getAllChats.md)(\['except_ids' => \[[int](../types/int.md)\], \]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[messages->getAllChats](messages.getAllChats.md)(\['except_ids' => \[[int](../types/int.md)\], \]) === [$messages.Chats](../types/messages.Chats.md) ***

@@ -656,11 +656,11 @@ $MadelineProto->[messages->getAllDrafts](messages.getAllDrafts.md)(\[\]) === [$U ***

-$MadelineProto->[messages->getAllStickers](messages.getAllStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages\_AllStickers](../types/messages_AllStickers.md) +$MadelineProto->[messages->getAllStickers](messages.getAllStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages.AllStickers](../types/messages.AllStickers.md) ***

-$MadelineProto->[messages->getArchivedStickers](messages.getArchivedStickers.md)(\['masks' => [Bool](../types/Bool.md), 'offset_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$messages\_ArchivedStickers](../types/messages_ArchivedStickers.md) +$MadelineProto->[messages->getArchivedStickers](messages.getArchivedStickers.md)(\['masks' => [Bool](../types/Bool.md), 'offset_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$messages.ArchivedStickers](../types/messages.ArchivedStickers.md) ***

@@ -668,19 +668,19 @@ $MadelineProto->[messages->getAttachedStickers](messages.getAttachedStickers.md) ***

-$MadelineProto->[messages->getBotCallbackAnswer](messages.getBotCallbackAnswer.md)(\['game' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'msg_id' => [int](../types/int.md), 'data' => [bytes](../types/bytes.md), \]) === [$messages\_BotCallbackAnswer](../types/messages_BotCallbackAnswer.md) +$MadelineProto->[messages->getBotCallbackAnswer](messages.getBotCallbackAnswer.md)(\['game' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'msg_id' => [int](../types/int.md), 'data' => [bytes](../types/bytes.md), \]) === [$messages.BotCallbackAnswer](../types/messages.BotCallbackAnswer.md) ***

-$MadelineProto->[messages->getChats](messages.getChats.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[messages->getChats](messages.getChats.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages.Chats](../types/messages.Chats.md) ***

-$MadelineProto->[messages->getCommonChats](messages.getCommonChats.md)(\['user_id' => [InputUser](../types/InputUser.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[messages->getCommonChats](messages.getCommonChats.md)(\['user_id' => [InputUser](../types/InputUser.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages.Chats](../types/messages.Chats.md) ***

-$MadelineProto->[messages->getDhConfig](messages.getDhConfig.md)(\['version' => [int](../types/int.md), 'random_length' => [int](../types/int.md), \]) === [$messages\_DhConfig](../types/messages_DhConfig.md) +$MadelineProto->[messages->getDhConfig](messages.getDhConfig.md)(\['version' => [int](../types/int.md), 'random_length' => [int](../types/int.md), \]) === [$messages.DhConfig](../types/messages.DhConfig.md) ***

@@ -688,7 +688,7 @@ $MadelineProto->[messages->getDialogUnreadMarks](messages.getDialogUnreadMarks.m ***

-$MadelineProto->[messages->getDialogs](messages.getDialogs.md)(\['exclude_pinned' => [Bool](../types/Bool.md), 'offset_date' => [int](../types/int.md), 'offset_id' => [int](../types/int.md), 'offset_peer' => [InputPeer](../types/InputPeer.md), 'limit' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$messages\_Dialogs](../types/messages_Dialogs.md) +$MadelineProto->[messages->getDialogs](messages.getDialogs.md)(\['exclude_pinned' => [Bool](../types/Bool.md), 'offset_date' => [int](../types/int.md), 'offset_id' => [int](../types/int.md), 'offset_peer' => [InputPeer](../types/InputPeer.md), 'limit' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$messages.Dialogs](../types/messages.Dialogs.md) ***

@@ -696,43 +696,43 @@ $MadelineProto->[messages->getDocumentByHash](messages.getDocumentByHash.md)(\[' ***

-$MadelineProto->[messages->getFavedStickers](messages.getFavedStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages\_FavedStickers](../types/messages_FavedStickers.md) +$MadelineProto->[messages->getFavedStickers](messages.getFavedStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages.FavedStickers](../types/messages.FavedStickers.md) ***

-$MadelineProto->[messages->getFeaturedStickers](messages.getFeaturedStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages\_FeaturedStickers](../types/messages_FeaturedStickers.md) +$MadelineProto->[messages->getFeaturedStickers](messages.getFeaturedStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages.FeaturedStickers](../types/messages.FeaturedStickers.md) ***

-$MadelineProto->[messages->getFullChat](messages.getFullChat.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), \]) === [$messages\_ChatFull](../types/messages_ChatFull.md) +$MadelineProto->[messages->getFullChat](messages.getFullChat.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), \]) === [$messages.ChatFull](../types/messages.ChatFull.md) ***

-$MadelineProto->[messages->getGameHighScores](messages.getGameHighScores.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages\_HighScores](../types/messages_HighScores.md) +$MadelineProto->[messages->getGameHighScores](messages.getGameHighScores.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages.HighScores](../types/messages.HighScores.md) ***

-$MadelineProto->[messages->getHistory](messages.getHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'offset_date' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->getHistory](messages.getHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'offset_date' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[messages->getInlineBotResults](messages.getInlineBotResults.md)(\['bot' => [InputUser](../types/InputUser.md), 'peer' => [InputPeer](../types/InputPeer.md), 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'query' => [string](../types/string.md), 'offset' => [string](../types/string.md), \]) === [$messages\_BotResults](../types/messages_BotResults.md) +$MadelineProto->[messages->getInlineBotResults](messages.getInlineBotResults.md)(\['bot' => [InputUser](../types/InputUser.md), 'peer' => [InputPeer](../types/InputPeer.md), 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'query' => [string](../types/string.md), 'offset' => [string](../types/string.md), \]) === [$messages.BotResults](../types/messages.BotResults.md) ***

-$MadelineProto->[messages->getInlineGameHighScores](messages.getInlineGameHighScores.md)(\['id' => [InputBotInlineMessageID](../types/InputBotInlineMessageID.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages\_HighScores](../types/messages_HighScores.md) +$MadelineProto->[messages->getInlineGameHighScores](messages.getInlineGameHighScores.md)(\['id' => [InputBotInlineMessageID](../types/InputBotInlineMessageID.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages.HighScores](../types/messages.HighScores.md) ***

-$MadelineProto->[messages->getMaskStickers](messages.getMaskStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages\_AllStickers](../types/messages_AllStickers.md) +$MadelineProto->[messages->getMaskStickers](messages.getMaskStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages.AllStickers](../types/messages.AllStickers.md) ***

-$MadelineProto->[messages->getMessageEditData](messages.getMessageEditData.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), \]) === [$messages\_MessageEditData](../types/messages_MessageEditData.md) +$MadelineProto->[messages->getMessageEditData](messages.getMessageEditData.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), \]) === [$messages.MessageEditData](../types/messages.MessageEditData.md) ***

-$MadelineProto->[messages->getMessages](messages.getMessages.md)(\['id' => \[[InputMessage](../types/InputMessage.md)\], \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->getMessages](messages.getMessages.md)(\['id' => \[[InputMessage](../types/InputMessage.md)\], \]) === [$messages.Messages](../types/messages.Messages.md) ***

@@ -740,7 +740,7 @@ $MadelineProto->[messages->getMessagesViews](messages.getMessagesViews.md)(\['pe ***

-$MadelineProto->[messages->getPeerDialogs](messages.getPeerDialogs.md)(\['peers' => \[[InputDialogPeer](../types/InputDialogPeer.md)\], \]) === [$messages\_PeerDialogs](../types/messages_PeerDialogs.md) +$MadelineProto->[messages->getPeerDialogs](messages.getPeerDialogs.md)(\['peers' => \[[InputDialogPeer](../types/InputDialogPeer.md)\], \]) === [$messages.PeerDialogs](../types/messages.PeerDialogs.md) ***

@@ -748,19 +748,19 @@ $MadelineProto->[messages->getPeerSettings](messages.getPeerSettings.md)(\['peer ***

-$MadelineProto->[messages->getPinnedDialogs](messages.getPinnedDialogs.md)(\[\]) === [$messages\_PeerDialogs](../types/messages_PeerDialogs.md) +$MadelineProto->[messages->getPinnedDialogs](messages.getPinnedDialogs.md)(\[\]) === [$messages.PeerDialogs](../types/messages.PeerDialogs.md) ***

-$MadelineProto->[messages->getRecentLocations](messages.getRecentLocations.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'limit' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->getRecentLocations](messages.getRecentLocations.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'limit' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[messages->getRecentStickers](messages.getRecentStickers.md)(\['attached' => [Bool](../types/Bool.md), 'hash' => [int](../types/int.md), \]) === [$messages\_RecentStickers](../types/messages_RecentStickers.md) +$MadelineProto->[messages->getRecentStickers](messages.getRecentStickers.md)(\['attached' => [Bool](../types/Bool.md), 'hash' => [int](../types/int.md), \]) === [$messages.RecentStickers](../types/messages.RecentStickers.md) ***

-$MadelineProto->[messages->getSavedGifs](messages.getSavedGifs.md)(\['hash' => [int](../types/int.md), \]) === [$messages\_SavedGifs](../types/messages_SavedGifs.md) +$MadelineProto->[messages->getSavedGifs](messages.getSavedGifs.md)(\['hash' => [int](../types/int.md), \]) === [$messages.SavedGifs](../types/messages.SavedGifs.md) ***

@@ -768,15 +768,15 @@ $MadelineProto->[messages->getSplitRanges](messages.getSplitRanges.md)(\[\]) === ***

-$MadelineProto->[messages->getStickerSet](messages.getStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), \]) === [$messages\_StickerSet](../types/messages_StickerSet.md) +$MadelineProto->[messages->getStickerSet](messages.getStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), \]) === [$messages.StickerSet](../types/messages.StickerSet.md) ***

-$MadelineProto->[messages->getStickers](messages.getStickers.md)(\['emoticon' => [string](../types/string.md), 'hash' => [int](../types/int.md), \]) === [$messages\_Stickers](../types/messages_Stickers.md) +$MadelineProto->[messages->getStickers](messages.getStickers.md)(\['emoticon' => [string](../types/string.md), 'hash' => [int](../types/int.md), \]) === [$messages.Stickers](../types/messages.Stickers.md) ***

-$MadelineProto->[messages->getUnreadMentions](messages.getUnreadMentions.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->getUnreadMentions](messages.getUnreadMentions.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

@@ -796,7 +796,7 @@ $MadelineProto->[messages->importChatInvite](messages.importChatInvite.md)(\['ha ***

-$MadelineProto->[messages->installStickerSet](messages.installStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), 'archived' => [Bool](../types/Bool.md), \]) === [$messages\_StickerSetInstallResult](../types/messages_StickerSetInstallResult.md) +$MadelineProto->[messages->installStickerSet](messages.installStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), 'archived' => [Bool](../types/Bool.md), \]) === [$messages.StickerSetInstallResult](../types/messages.StickerSetInstallResult.md) ***

@@ -816,15 +816,15 @@ $MadelineProto->[messages->readFeaturedStickers](messages.readFeaturedStickers.m ***

-$MadelineProto->[messages->readHistory](messages.readHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), \]) === [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) +$MadelineProto->[messages->readHistory](messages.readHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), \]) === [$messages.AffectedMessages](../types/messages.AffectedMessages.md) ***

-$MadelineProto->[messages->readMentions](messages.readMentions.md)(\['peer' => [InputPeer](../types/InputPeer.md), \]) === [$messages\_AffectedHistory](../types/messages_AffectedHistory.md) +$MadelineProto->[messages->readMentions](messages.readMentions.md)(\['peer' => [InputPeer](../types/InputPeer.md), \]) === [$messages.AffectedHistory](../types/messages.AffectedHistory.md) ***

-$MadelineProto->[messages->readMessageContents](messages.readMessageContents.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) +$MadelineProto->[messages->readMessageContents](messages.readMessageContents.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages.AffectedMessages](../types/messages.AffectedMessages.md) ***

@@ -872,31 +872,31 @@ $MadelineProto->[messages->saveRecentSticker](messages.saveRecentSticker.md)(\[' ***

-$MadelineProto->[messages->search](messages.search.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'q' => [string](../types/string.md), 'from_id' => [InputUser](../types/InputUser.md), 'filter' => [MessagesFilter](../types/MessagesFilter.md), 'min_date' => [int](../types/int.md), 'max_date' => [int](../types/int.md), 'offset_id' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->search](messages.search.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'q' => [string](../types/string.md), 'from_id' => [InputUser](../types/InputUser.md), 'filter' => [MessagesFilter](../types/MessagesFilter.md), 'min_date' => [int](../types/int.md), 'max_date' => [int](../types/int.md), 'offset_id' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[messages->searchGifs](messages.searchGifs.md)(\['q' => [string](../types/string.md), 'offset' => [int](../types/int.md), \]) === [$messages\_FoundGifs](../types/messages_FoundGifs.md) +$MadelineProto->[messages->searchGifs](messages.searchGifs.md)(\['q' => [string](../types/string.md), 'offset' => [int](../types/int.md), \]) === [$messages.FoundGifs](../types/messages.FoundGifs.md) ***

-$MadelineProto->[messages->searchGlobal](messages.searchGlobal.md)(\['q' => [string](../types/string.md), 'offset_date' => [int](../types/int.md), 'offset_peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->searchGlobal](messages.searchGlobal.md)(\['q' => [string](../types/string.md), 'offset_date' => [int](../types/int.md), 'offset_peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[messages->searchStickerSets](messages.searchStickerSets.md)(\['exclude_featured' => [Bool](../types/Bool.md), 'q' => [string](../types/string.md), 'hash' => [int](../types/int.md), \]) === [$messages\_FoundStickerSets](../types/messages_FoundStickerSets.md) +$MadelineProto->[messages->searchStickerSets](messages.searchStickerSets.md)(\['exclude_featured' => [Bool](../types/Bool.md), 'q' => [string](../types/string.md), 'hash' => [int](../types/int.md), \]) === [$messages.FoundStickerSets](../types/messages.FoundStickerSets.md) ***

-$MadelineProto->[messages->sendEncrypted](messages.sendEncrypted.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'message' => [DecryptedMessage](../types/DecryptedMessage.md), \]) === [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +$MadelineProto->[messages->sendEncrypted](messages.sendEncrypted.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), \]) === [$messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ***

-$MadelineProto->[messages->sendEncryptedFile](messages.sendEncryptedFile.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'message' => [DecryptedMessage](../types/DecryptedMessage.md), 'file' => [InputEncryptedFile](../types/InputEncryptedFile.md), \]) === [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +$MadelineProto->[messages->sendEncryptedFile](messages.sendEncryptedFile.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), 'file' => [InputEncryptedFile](../types/InputEncryptedFile.md), \]) === [$messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ***

-$MadelineProto->[messages->sendEncryptedService](messages.sendEncryptedService.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'message' => [DecryptedMessage](../types/DecryptedMessage.md), \]) === [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +$MadelineProto->[messages->sendEncryptedService](messages.sendEncryptedService.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), \]) === [$messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ***

@@ -980,31 +980,31 @@ $MadelineProto->[payments->clearSavedInfo](payments.clearSavedInfo.md)(\['creden ***

-$MadelineProto->[payments->getPaymentForm](payments.getPaymentForm.md)(\['msg_id' => [int](../types/int.md), \]) === [$payments\_PaymentForm](../types/payments_PaymentForm.md) +$MadelineProto->[payments->getPaymentForm](payments.getPaymentForm.md)(\['msg_id' => [int](../types/int.md), \]) === [$payments.PaymentForm](../types/payments.PaymentForm.md) ***

-$MadelineProto->[payments->getPaymentReceipt](payments.getPaymentReceipt.md)(\['msg_id' => [int](../types/int.md), \]) === [$payments\_PaymentReceipt](../types/payments_PaymentReceipt.md) +$MadelineProto->[payments->getPaymentReceipt](payments.getPaymentReceipt.md)(\['msg_id' => [int](../types/int.md), \]) === [$payments.PaymentReceipt](../types/payments.PaymentReceipt.md) ***

-$MadelineProto->[payments->getSavedInfo](payments.getSavedInfo.md)(\[\]) === [$payments\_SavedInfo](../types/payments_SavedInfo.md) +$MadelineProto->[payments->getSavedInfo](payments.getSavedInfo.md)(\[\]) === [$payments.SavedInfo](../types/payments.SavedInfo.md) ***

-$MadelineProto->[payments->sendPaymentForm](payments.sendPaymentForm.md)(\['msg_id' => [int](../types/int.md), 'requested_info_id' => [string](../types/string.md), 'shipping_option_id' => [string](../types/string.md), 'credentials' => [InputPaymentCredentials](../types/InputPaymentCredentials.md), \]) === [$payments\_PaymentResult](../types/payments_PaymentResult.md) +$MadelineProto->[payments->sendPaymentForm](payments.sendPaymentForm.md)(\['msg_id' => [int](../types/int.md), 'requested_info_id' => [string](../types/string.md), 'shipping_option_id' => [string](../types/string.md), 'credentials' => [InputPaymentCredentials](../types/InputPaymentCredentials.md), \]) === [$payments.PaymentResult](../types/payments.PaymentResult.md) ***

-$MadelineProto->[payments->validateRequestedInfo](payments.validateRequestedInfo.md)(\['save' => [Bool](../types/Bool.md), 'msg_id' => [int](../types/int.md), 'info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), \]) === [$payments\_ValidatedRequestedInfo](../types/payments_ValidatedRequestedInfo.md) +$MadelineProto->[payments->validateRequestedInfo](payments.validateRequestedInfo.md)(\['save' => [Bool](../types/Bool.md), 'msg_id' => [int](../types/int.md), 'info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), \]) === [$payments.ValidatedRequestedInfo](../types/payments.ValidatedRequestedInfo.md) ***

-$MadelineProto->[phone->acceptCall](phone.acceptCall.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'g_b' => [bytes](../types/bytes.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone\_PhoneCall](../types/phone_PhoneCall.md) +$MadelineProto->[phone->acceptCall](phone.acceptCall.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'g_b' => [bytes](../types/bytes.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone.PhoneCall](../types/phone.PhoneCall.md) ***

-$MadelineProto->[phone->confirmCall](phone.confirmCall.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'g_a' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone\_PhoneCall](../types/phone_PhoneCall.md) +$MadelineProto->[phone->confirmCall](phone.confirmCall.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'g_a' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone.PhoneCall](../types/phone.PhoneCall.md) ***

@@ -1020,7 +1020,7 @@ $MadelineProto->[phone->receivedCall](phone.receivedCall.md)(\['peer' => [InputP ***

-$MadelineProto->[phone->requestCall](phone.requestCall.md)(\['user_id' => [InputUser](../types/InputUser.md), 'g_a_hash' => [bytes](../types/bytes.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone\_PhoneCall](../types/phone_PhoneCall.md) +$MadelineProto->[phone->requestCall](phone.requestCall.md)(\['user_id' => [InputUser](../types/InputUser.md), 'g_a_hash' => [bytes](../types/bytes.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone.PhoneCall](../types/phone.PhoneCall.md) ***

@@ -1036,7 +1036,7 @@ $MadelineProto->[photos->deletePhotos](photos.deletePhotos.md)(\['id' => \[[Inpu ***

-$MadelineProto->[photos->getUserPhotos](photos.getUserPhotos.md)(\['user_id' => [InputUser](../types/InputUser.md), 'offset' => [int](../types/int.md), 'max_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$photos\_Photos](../types/photos_Photos.md) +$MadelineProto->[photos->getUserPhotos](photos.getUserPhotos.md)(\['user_id' => [InputUser](../types/InputUser.md), 'offset' => [int](../types/int.md), 'max_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$photos.Photos](../types/photos.Photos.md) ***

@@ -1044,39 +1044,39 @@ $MadelineProto->[photos->updateProfilePhoto](photos.updateProfilePhoto.md)(\['id ***

-$MadelineProto->[photos->uploadProfilePhoto](photos.uploadProfilePhoto.md)(\['file' => [InputFile](../types/InputFile.md), \]) === [$photos\_Photo](../types/photos_Photo.md) +$MadelineProto->[photos->uploadProfilePhoto](photos.uploadProfilePhoto.md)(\['file' => [InputFile](../types/InputFile.md), \]) === [$photos.Photo](../types/photos.Photo.md) ***

-$MadelineProto->[stickers->addStickerToSet](stickers.addStickerToSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), 'sticker' => [InputStickerSetItem](../types/InputStickerSetItem.md), \]) === [$messages\_StickerSet](../types/messages_StickerSet.md) +$MadelineProto->[stickers->addStickerToSet](stickers.addStickerToSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), 'sticker' => [InputStickerSetItem](../types/InputStickerSetItem.md), \]) === [$messages.StickerSet](../types/messages.StickerSet.md) ***

-$MadelineProto->[stickers->changeStickerPosition](stickers.changeStickerPosition.md)(\['sticker' => [InputDocument](../types/InputDocument.md), 'position' => [int](../types/int.md), \]) === [$messages\_StickerSet](../types/messages_StickerSet.md) +$MadelineProto->[stickers->changeStickerPosition](stickers.changeStickerPosition.md)(\['sticker' => [InputDocument](../types/InputDocument.md), 'position' => [int](../types/int.md), \]) === [$messages.StickerSet](../types/messages.StickerSet.md) ***

-$MadelineProto->[stickers->createStickerSet](stickers.createStickerSet.md)(\['masks' => [Bool](../types/Bool.md), 'user_id' => [InputUser](../types/InputUser.md), 'title' => [string](../types/string.md), 'short_name' => [string](../types/string.md), 'stickers' => \[[InputStickerSetItem](../types/InputStickerSetItem.md)\], \]) === [$messages\_StickerSet](../types/messages_StickerSet.md) +$MadelineProto->[stickers->createStickerSet](stickers.createStickerSet.md)(\['masks' => [Bool](../types/Bool.md), 'user_id' => [InputUser](../types/InputUser.md), 'title' => [string](../types/string.md), 'short_name' => [string](../types/string.md), 'stickers' => \[[InputStickerSetItem](../types/InputStickerSetItem.md)\], \]) === [$messages.StickerSet](../types/messages.StickerSet.md) ***

-$MadelineProto->[stickers->removeStickerFromSet](stickers.removeStickerFromSet.md)(\['sticker' => [InputDocument](../types/InputDocument.md), \]) === [$messages\_StickerSet](../types/messages_StickerSet.md) +$MadelineProto->[stickers->removeStickerFromSet](stickers.removeStickerFromSet.md)(\['sticker' => [InputDocument](../types/InputDocument.md), \]) === [$messages.StickerSet](../types/messages.StickerSet.md) ***

-$MadelineProto->[updates->getChannelDifference](updates.getChannelDifference.md)(\['force' => [Bool](../types/Bool.md), 'channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$updates\_ChannelDifference](../types/updates_ChannelDifference.md) +$MadelineProto->[updates->getChannelDifference](updates.getChannelDifference.md)(\['force' => [Bool](../types/Bool.md), 'channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$updates.ChannelDifference](../types/updates.ChannelDifference.md) ***

-$MadelineProto->[updates->getDifference](updates.getDifference.md)(\['pts' => [int](../types/int.md), 'pts_total_limit' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) === [$updates\_Difference](../types/updates_Difference.md) +$MadelineProto->[updates->getDifference](updates.getDifference.md)(\['pts' => [int](../types/int.md), 'pts_total_limit' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) === [$updates.Difference](../types/updates.Difference.md) ***

-$MadelineProto->[updates->getState](updates.getState.md)(\[\]) === [$updates\_State](../types/updates_State.md) +$MadelineProto->[updates->getState](updates.getState.md)(\[\]) === [$updates.State](../types/updates.State.md) ***

-$MadelineProto->[upload->getCdnFile](upload.getCdnFile.md)(\['file_token' => [bytes](../types/bytes.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_CdnFile](../types/upload_CdnFile.md) +$MadelineProto->[upload->getCdnFile](upload.getCdnFile.md)(\['file_token' => [bytes](../types/bytes.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload.CdnFile](../types/upload.CdnFile.md) ***

@@ -1084,7 +1084,7 @@ $MadelineProto->[upload->getCdnFileHashes](upload.getCdnFileHashes.md)(\['file_t ***

-$MadelineProto->[upload->getFile](upload.getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_File](../types/upload_File.md) +$MadelineProto->[upload->getFile](upload.getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload.File](../types/upload.File.md) ***

@@ -1092,7 +1092,7 @@ $MadelineProto->[upload->getFileHashes](upload.getFileHashes.md)(\['location' => ***

-$MadelineProto->[upload->getWebFile](upload.getWebFile.md)(\['location' => [InputWebFileLocation](../types/InputWebFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_WebFile](../types/upload_WebFile.md) +$MadelineProto->[upload->getWebFile](upload.getWebFile.md)(\['location' => [InputWebFileLocation](../types/InputWebFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload.WebFile](../types/upload.WebFile.md) ***

diff --git a/old_docs/API_docs_v86/methods/auth.checkPassword.md b/old_docs/API_docs_v86/methods/auth.checkPassword.md index ad2a88a2..510e6c03 100644 --- a/old_docs/API_docs_v86/methods/auth.checkPassword.md +++ b/old_docs/API_docs_v86/methods/auth.checkPassword.md @@ -16,7 +16,7 @@ You cannot use this method directly, use the complete_2fa_login method instead ( |password|[InputCheckPasswordSRP](../types/InputCheckPasswordSRP.md) | You cannot use this method directly, use the complete_2fa_login method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->checkPassword(['password' => InputCheckPasswordSRP, ]); +$auth.Authorization = $MadelineProto->auth->checkPassword(['password' => InputCheckPasswordSRP, ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.checkPassword({password=InputCheckPasswordSRP, }) +auth.Authorization = auth.checkPassword({password=InputCheckPasswordSRP, }) ``` ### Errors diff --git a/old_docs/API_docs_v86/methods/auth.exportAuthorization.md b/old_docs/API_docs_v86/methods/auth.exportAuthorization.md index 72063a2b..41a1f87d 100644 --- a/old_docs/API_docs_v86/methods/auth.exportAuthorization.md +++ b/old_docs/API_docs_v86/methods/auth.exportAuthorization.md @@ -16,7 +16,7 @@ You cannot use this method directly, use $MadelineProto->exportAuthorization() i |dc\_id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| -### Return type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) +### Return type: [auth.ExportedAuthorization](../types/auth.ExportedAuthorization.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_ExportedAuthorization = $MadelineProto->auth->exportAuthorization(['dc_id' => int, ]); +$auth.ExportedAuthorization = $MadelineProto->auth->exportAuthorization(['dc_id' => int, ]); ``` Or, if you're into Lua: ```lua -auth_ExportedAuthorization = auth.exportAuthorization({dc_id=int, }) +auth.ExportedAuthorization = auth.exportAuthorization({dc_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v86/methods/auth.importAuthorization.md b/old_docs/API_docs_v86/methods/auth.importAuthorization.md index d9c13751..5257e0b0 100644 --- a/old_docs/API_docs_v86/methods/auth.importAuthorization.md +++ b/old_docs/API_docs_v86/methods/auth.importAuthorization.md @@ -17,7 +17,7 @@ You cannot use this method directly, use $MadelineProto->importAuthorization($au |bytes|[bytes](../types/bytes.md) | You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => 'bytes', ]); +$auth.Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.importAuthorization({id=int, bytes='bytes', }) +auth.Authorization = auth.importAuthorization({id=int, bytes='bytes', }) ``` ### Errors diff --git a/old_docs/API_docs_v86/methods/auth.importBotAuthorization.md b/old_docs/API_docs_v86/methods/auth.importBotAuthorization.md index 3161d6be..a4ea8027 100644 --- a/old_docs/API_docs_v86/methods/auth.importBotAuthorization.md +++ b/old_docs/API_docs_v86/methods/auth.importBotAuthorization.md @@ -18,7 +18,7 @@ You cannot use this method directly, use the botLogin method instead (see https: |bot\_auth\_token|[string](../types/string.md) | You cannot use this method directly, use the botLogin method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **YES** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->importBotAuthorization(['api_id' => int, 'api_hash' => 'string', 'bot_auth_token' => 'string', ]); +$auth.Authorization = $MadelineProto->auth->importBotAuthorization(['api_id' => int, 'api_hash' => 'string', 'bot_auth_token' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.importBotAuthorization({api_id=int, api_hash='string', bot_auth_token='string', }) +auth.Authorization = auth.importBotAuthorization({api_id=int, api_hash='string', bot_auth_token='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v86/methods/auth.recoverPassword.md b/old_docs/API_docs_v86/methods/auth.recoverPassword.md index f7cbf4a4..2e78444b 100644 --- a/old_docs/API_docs_v86/methods/auth.recoverPassword.md +++ b/old_docs/API_docs_v86/methods/auth.recoverPassword.md @@ -16,7 +16,7 @@ Reset the [2FA password](https://core.telegram.org/api/srp) using the recovery c |code|[string](../types/string.md) | Code received via email | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->recoverPassword(['code' => 'string', ]); +$auth.Authorization = $MadelineProto->auth->recoverPassword(['code' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.recoverPassword({code='string', }) +auth.Authorization = auth.recoverPassword({code='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v86/methods/auth.requestPasswordRecovery.md b/old_docs/API_docs_v86/methods/auth.requestPasswordRecovery.md index 5cd77936..ff1ecc02 100644 --- a/old_docs/API_docs_v86/methods/auth.requestPasswordRecovery.md +++ b/old_docs/API_docs_v86/methods/auth.requestPasswordRecovery.md @@ -11,7 +11,7 @@ Request recovery code of a [2FA password](https://core.telegram.org/api/srp), on -### Return type: [auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) +### Return type: [auth.PasswordRecovery](../types/auth.PasswordRecovery.md) ### Can bots use this method: **NO** @@ -28,13 +28,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_PasswordRecovery = $MadelineProto->auth->requestPasswordRecovery(); +$auth.PasswordRecovery = $MadelineProto->auth->requestPasswordRecovery(); ``` Or, if you're into Lua: ```lua -auth_PasswordRecovery = auth.requestPasswordRecovery({}) +auth.PasswordRecovery = auth.requestPasswordRecovery({}) ``` ### Errors diff --git a/old_docs/API_docs_v86/methods/auth.resendCode.md b/old_docs/API_docs_v86/methods/auth.resendCode.md index a395a91b..f59f1b7b 100644 --- a/old_docs/API_docs_v86/methods/auth.resendCode.md +++ b/old_docs/API_docs_v86/methods/auth.resendCode.md @@ -17,7 +17,7 @@ Resend the login code via another medium, the phone code type is determined by t |phone\_code\_hash|[string](../types/string.md) | The phone code hash obtained from [auth.sendCode](../methods/auth.sendCode.md) | Yes| -### Return type: [auth\_SentCode](../types/auth_SentCode.md) +### Return type: [auth.SentCode](../types/auth.SentCode.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_SentCode = $MadelineProto->auth->resendCode(['phone_number' => 'string', 'phone_code_hash' => 'string', ]); +$auth.SentCode = $MadelineProto->auth->resendCode(['phone_number' => 'string', 'phone_code_hash' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_SentCode = auth.resendCode({phone_number='string', phone_code_hash='string', }) +auth.SentCode = auth.resendCode({phone_number='string', phone_code_hash='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v86/methods/auth.sendCode.md b/old_docs/API_docs_v86/methods/auth.sendCode.md index bd922a48..0c818fbb 100644 --- a/old_docs/API_docs_v86/methods/auth.sendCode.md +++ b/old_docs/API_docs_v86/methods/auth.sendCode.md @@ -20,7 +20,7 @@ You cannot use this method directly, use the phoneLogin method instead (see http |api\_hash|[string](../types/string.md) | You cannot use this method directly, use the phoneLogin method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_SentCode](../types/auth_SentCode.md) +### Return type: [auth.SentCode](../types/auth.SentCode.md) ### Can bots use this method: **NO** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_SentCode = $MadelineProto->auth->sendCode(['allow_flashcall' => Bool, 'phone_number' => 'string', 'current_number' => Bool, 'api_id' => int, 'api_hash' => 'string', ]); +$auth.SentCode = $MadelineProto->auth->sendCode(['allow_flashcall' => Bool, 'phone_number' => 'string', 'current_number' => Bool, 'api_id' => int, 'api_hash' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_SentCode = auth.sendCode({allow_flashcall=Bool, phone_number='string', current_number=Bool, api_id=int, api_hash='string', }) +auth.SentCode = auth.sendCode({allow_flashcall=Bool, phone_number='string', current_number=Bool, api_id=int, api_hash='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v86/methods/auth.signIn.md b/old_docs/API_docs_v86/methods/auth.signIn.md index 54812a2e..95b14f32 100644 --- a/old_docs/API_docs_v86/methods/auth.signIn.md +++ b/old_docs/API_docs_v86/methods/auth.signIn.md @@ -18,7 +18,7 @@ You cannot use this method directly, use the completePhoneLogin method instead ( |phone\_code|[string](../types/string.md) | You cannot use this method directly, use the completePhoneLogin method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->signIn(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', ]); +$auth.Authorization = $MadelineProto->auth->signIn(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.signIn({phone_number='string', phone_code_hash='string', phone_code='string', }) +auth.Authorization = auth.signIn({phone_number='string', phone_code_hash='string', phone_code='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v86/methods/auth.signUp.md b/old_docs/API_docs_v86/methods/auth.signUp.md index 2aca2bfa..fdb5d628 100644 --- a/old_docs/API_docs_v86/methods/auth.signUp.md +++ b/old_docs/API_docs_v86/methods/auth.signUp.md @@ -20,7 +20,7 @@ You cannot use this method directly, use the completeSignup method instead (see |last\_name|[string](../types/string.md) | You cannot use this method directly, use the completeSignup method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **NO** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->signUp(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', 'first_name' => 'string', 'last_name' => 'string', ]); +$auth.Authorization = $MadelineProto->auth->signUp(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', 'first_name' => 'string', 'last_name' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.signUp({phone_number='string', phone_code_hash='string', phone_code='string', first_name='string', last_name='string', }) +auth.Authorization = auth.signUp({phone_number='string', phone_code_hash='string', phone_code='string', first_name='string', last_name='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v86/methods/channels.deleteMessages.md b/old_docs/API_docs_v86/methods/channels.deleteMessages.md index 10a439fb..8583e560 100644 --- a/old_docs/API_docs_v86/methods/channels.deleteMessages.md +++ b/old_docs/API_docs_v86/methods/channels.deleteMessages.md @@ -17,7 +17,7 @@ Delete messages in a [channel/supergroup](https://core.telegram.org/api/channel) |id|Array of [int](../types/int.md) | The IDs of messages to delete | Yes| -### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) +### Return type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedMessages = $MadelineProto->channels->deleteMessages(['channel' => InputChannel, 'id' => [int, int], ]); +$messages.AffectedMessages = $MadelineProto->channels->deleteMessages(['channel' => InputChannel, 'id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AffectedMessages = channels.deleteMessages({channel=InputChannel, id={int}, }) +messages.AffectedMessages = channels.deleteMessages({channel=InputChannel, id={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v86/methods/channels.deleteUserHistory.md b/old_docs/API_docs_v86/methods/channels.deleteUserHistory.md index 9b8b159f..6ccaf7dd 100644 --- a/old_docs/API_docs_v86/methods/channels.deleteUserHistory.md +++ b/old_docs/API_docs_v86/methods/channels.deleteUserHistory.md @@ -17,7 +17,7 @@ Delete all messages sent by a certain user in a [supergroup](https://core.telegr |user\_id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | User whose messages should be deleted | Optional| -### Return type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) +### Return type: [messages.AffectedHistory](../types/messages.AffectedHistory.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedHistory = $MadelineProto->channels->deleteUserHistory(['channel' => InputChannel, 'user_id' => InputUser, ]); +$messages.AffectedHistory = $MadelineProto->channels->deleteUserHistory(['channel' => InputChannel, 'user_id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -messages_AffectedHistory = channels.deleteUserHistory({channel=InputChannel, user_id=InputUser, }) +messages.AffectedHistory = channels.deleteUserHistory({channel=InputChannel, user_id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v86/methods/channels.getAdminLog.md b/old_docs/API_docs_v86/methods/channels.getAdminLog.md index e149f653..3b550a73 100644 --- a/old_docs/API_docs_v86/methods/channels.getAdminLog.md +++ b/old_docs/API_docs_v86/methods/channels.getAdminLog.md @@ -22,7 +22,7 @@ Get the admin log of a [channel/supergroup](https://core.telegram.org/api/channe |limit|[int](../types/int.md) | Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets) | Yes| -### Return type: [channels\_AdminLogResults](../types/channels_AdminLogResults.md) +### Return type: [channels.AdminLogResults](../types/channels.AdminLogResults.md) ### Can bots use this method: **NO** @@ -39,13 +39,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$channels_AdminLogResults = $MadelineProto->channels->getAdminLog(['channel' => InputChannel, 'q' => 'string', 'events_filter' => ChannelAdminLogEventsFilter, 'admins' => [InputUser, InputUser], 'max_id' => long, 'min_id' => long, 'limit' => int, ]); +$channels.AdminLogResults = $MadelineProto->channels->getAdminLog(['channel' => InputChannel, 'q' => 'string', 'events_filter' => ChannelAdminLogEventsFilter, 'admins' => [InputUser, InputUser], 'max_id' => long, 'min_id' => long, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -channels_AdminLogResults = channels.getAdminLog({channel=InputChannel, q='string', events_filter=ChannelAdminLogEventsFilter, admins={InputUser}, max_id=long, min_id=long, limit=int, }) +channels.AdminLogResults = channels.getAdminLog({channel=InputChannel, q='string', events_filter=ChannelAdminLogEventsFilter, admins={InputUser}, max_id=long, min_id=long, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v86/methods/channels.getAdminedPublicChannels.md b/old_docs/API_docs_v86/methods/channels.getAdminedPublicChannels.md index 55a686ca..eb277404 100644 --- a/old_docs/API_docs_v86/methods/channels.getAdminedPublicChannels.md +++ b/old_docs/API_docs_v86/methods/channels.getAdminedPublicChannels.md @@ -11,7 +11,7 @@ Get [channels/supergroups/geogroups](https://core.telegram.org/api/channel) we'r -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->channels->getAdminedPublicChannels(); +$messages.Chats = $MadelineProto->channels->getAdminedPublicChannels(); ``` Or, if you're into Lua: ```lua -messages_Chats = channels.getAdminedPublicChannels({}) +messages.Chats = channels.getAdminedPublicChannels({}) ``` diff --git a/old_docs/API_docs_v86/methods/channels.getChannels.md b/old_docs/API_docs_v86/methods/channels.getChannels.md index 368c96ce..ed9cf4a7 100644 --- a/old_docs/API_docs_v86/methods/channels.getChannels.md +++ b/old_docs/API_docs_v86/methods/channels.getChannels.md @@ -16,7 +16,7 @@ Get info about [channels/supergroups](https://core.telegram.org/api/channel) |id|Array of [Username, chat ID, Update, Message or InputChannel](../types/InputChannel.md) | The channel/supergroup MTProto IDs | Yes| -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->channels->getChannels(['id' => [InputChannel, InputChannel], ]); +$messages.Chats = $MadelineProto->channels->getChannels(['id' => [InputChannel, InputChannel], ]); ``` Or, if you're into Lua: ```lua -messages_Chats = channels.getChannels({id={InputChannel}, }) +messages.Chats = channels.getChannels({id={InputChannel}, }) ``` ### Errors diff --git a/old_docs/API_docs_v86/methods/channels.getFullChannel.md b/old_docs/API_docs_v86/methods/channels.getFullChannel.md index 08dc21bb..1369e0a0 100644 --- a/old_docs/API_docs_v86/methods/channels.getFullChannel.md +++ b/old_docs/API_docs_v86/methods/channels.getFullChannel.md @@ -16,7 +16,7 @@ You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo me |channel|[Username, chat ID, Update, Message or InputChannel](../types/InputChannel.md) | You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo methods instead (see https://docs.madelineproto.xyz for more info) | Optional| -### Return type: [messages\_ChatFull](../types/messages_ChatFull.md) +### Return type: [messages.ChatFull](../types/messages.ChatFull.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_ChatFull = $MadelineProto->channels->getFullChannel(['channel' => InputChannel, ]); +$messages.ChatFull = $MadelineProto->channels->getFullChannel(['channel' => InputChannel, ]); ``` Or, if you're into Lua: ```lua -messages_ChatFull = channels.getFullChannel({channel=InputChannel, }) +messages.ChatFull = channels.getFullChannel({channel=InputChannel, }) ``` ### Errors diff --git a/old_docs/API_docs_v86/methods/channels.getLeftChannels.md b/old_docs/API_docs_v86/methods/channels.getLeftChannels.md index a5bcda2c..5a132204 100644 --- a/old_docs/API_docs_v86/methods/channels.getLeftChannels.md +++ b/old_docs/API_docs_v86/methods/channels.getLeftChannels.md @@ -16,7 +16,7 @@ Get a list of [channels/supergroups](https://core.telegram.org/api/channel) we l |offset|[int](../types/int.md) | Offset for [pagination](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->channels->getLeftChannels(['offset' => int, ]); +$messages.Chats = $MadelineProto->channels->getLeftChannels(['offset' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Chats = channels.getLeftChannels({offset=int, }) +messages.Chats = channels.getLeftChannels({offset=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v86/methods/channels.getMessages.md b/old_docs/API_docs_v86/methods/channels.getMessages.md index 428734e3..708e404a 100644 --- a/old_docs/API_docs_v86/methods/channels.getMessages.md +++ b/old_docs/API_docs_v86/methods/channels.getMessages.md @@ -17,7 +17,7 @@ Get [channel/supergroup](https://core.telegram.org/api/channel) messages |id|Array of [Message ID or InputMessage](../types/InputMessage.md) | The message IDs | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->channels->getMessages(['channel' => InputChannel, 'id' => [InputMessage, InputMessage], ]); +$messages.Messages = $MadelineProto->channels->getMessages(['channel' => InputChannel, 'id' => [InputMessage, InputMessage], ]); ``` Or, if you're into Lua: ```lua -messages_Messages = channels.getMessages({channel=InputChannel, id={InputMessage}, }) +messages.Messages = channels.getMessages({channel=InputChannel, id={InputMessage}, }) ``` ### Errors diff --git a/old_docs/API_docs_v86/methods/channels.getParticipant.md b/old_docs/API_docs_v86/methods/channels.getParticipant.md index aa2ce655..cf6a7771 100644 --- a/old_docs/API_docs_v86/methods/channels.getParticipant.md +++ b/old_docs/API_docs_v86/methods/channels.getParticipant.md @@ -17,7 +17,7 @@ Get info about a [channel/supergroup](https://core.telegram.org/api/channel) par |user\_id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | ID of participant to get info about | Optional| -### Return type: [channels\_ChannelParticipant](../types/channels_ChannelParticipant.md) +### Return type: [channels.ChannelParticipant](../types/channels.ChannelParticipant.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$channels_ChannelParticipant = $MadelineProto->channels->getParticipant(['channel' => InputChannel, 'user_id' => InputUser, ]); +$channels.ChannelParticipant = $MadelineProto->channels->getParticipant(['channel' => InputChannel, 'user_id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -channels_ChannelParticipant = channels.getParticipant({channel=InputChannel, user_id=InputUser, }) +channels.ChannelParticipant = channels.getParticipant({channel=InputChannel, user_id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v86/methods/channels.getParticipants.md b/old_docs/API_docs_v86/methods/channels.getParticipants.md index dd7e0087..c6b15b63 100644 --- a/old_docs/API_docs_v86/methods/channels.getParticipants.md +++ b/old_docs/API_docs_v86/methods/channels.getParticipants.md @@ -20,7 +20,7 @@ Get the participants of a channel |hash|Array of [int](../types/int.md) | IDs of previously fetched participants | Optional| -### Return type: [channels\_ChannelParticipants](../types/channels_ChannelParticipants.md) +### Return type: [channels.ChannelParticipants](../types/channels.ChannelParticipants.md) ### Can bots use this method: **YES** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$channels_ChannelParticipants = $MadelineProto->channels->getParticipants(['channel' => InputChannel, 'filter' => ChannelParticipantsFilter, 'offset' => int, 'limit' => int, 'hash' => [int, int], ]); +$channels.ChannelParticipants = $MadelineProto->channels->getParticipants(['channel' => InputChannel, 'filter' => ChannelParticipantsFilter, 'offset' => int, 'limit' => int, 'hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -channels_ChannelParticipants = channels.getParticipants({channel=InputChannel, filter=ChannelParticipantsFilter, offset=int, limit=int, hash={int}, }) +channels.ChannelParticipants = channels.getParticipants({channel=InputChannel, filter=ChannelParticipantsFilter, offset=int, limit=int, hash={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v86/methods/contacts.deleteContact.md b/old_docs/API_docs_v86/methods/contacts.deleteContact.md index a9321d64..9169e1e0 100644 --- a/old_docs/API_docs_v86/methods/contacts.deleteContact.md +++ b/old_docs/API_docs_v86/methods/contacts.deleteContact.md @@ -16,7 +16,7 @@ Delete a contact |id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | The contact to delete | Optional| -### Return type: [contacts\_Link](../types/contacts_Link.md) +### Return type: [contacts.Link](../types/contacts.Link.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Link = $MadelineProto->contacts->deleteContact(['id' => InputUser, ]); +$contacts.Link = $MadelineProto->contacts->deleteContact(['id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -contacts_Link = contacts.deleteContact({id=InputUser, }) +contacts.Link = contacts.deleteContact({id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v86/methods/contacts.getBlocked.md b/old_docs/API_docs_v86/methods/contacts.getBlocked.md index 92f2f331..6ac1c343 100644 --- a/old_docs/API_docs_v86/methods/contacts.getBlocked.md +++ b/old_docs/API_docs_v86/methods/contacts.getBlocked.md @@ -17,7 +17,7 @@ Returns the list of blocked users. |limit|[int](../types/int.md) | The number of list elements to be returned | Yes| -### Return type: [contacts\_Blocked](../types/contacts_Blocked.md) +### Return type: [contacts.Blocked](../types/contacts.Blocked.md) ### Can bots use this method: **NO** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Blocked = $MadelineProto->contacts->getBlocked(['offset' => int, 'limit' => int, ]); +$contacts.Blocked = $MadelineProto->contacts->getBlocked(['offset' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -contacts_Blocked = contacts.getBlocked({offset=int, limit=int, }) +contacts.Blocked = contacts.getBlocked({offset=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v86/methods/contacts.getContacts.md b/old_docs/API_docs_v86/methods/contacts.getContacts.md index c67e6240..609549b0 100644 --- a/old_docs/API_docs_v86/methods/contacts.getContacts.md +++ b/old_docs/API_docs_v86/methods/contacts.getContacts.md @@ -16,7 +16,7 @@ Returns the current user's contact list. |hash|Array of [int](../types/int.md) | User IDs of previously cached contacts | Optional| -### Return type: [contacts\_Contacts](../types/contacts_Contacts.md) +### Return type: [contacts.Contacts](../types/contacts.Contacts.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Contacts = $MadelineProto->contacts->getContacts(['hash' => [int, int], ]); +$contacts.Contacts = $MadelineProto->contacts->getContacts(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -contacts_Contacts = contacts.getContacts({hash={int}, }) +contacts.Contacts = contacts.getContacts({hash={int}, }) ``` diff --git a/old_docs/API_docs_v86/methods/contacts.getTopPeers.md b/old_docs/API_docs_v86/methods/contacts.getTopPeers.md index 0acf7155..870de6b3 100644 --- a/old_docs/API_docs_v86/methods/contacts.getTopPeers.md +++ b/old_docs/API_docs_v86/methods/contacts.getTopPeers.md @@ -24,7 +24,7 @@ Get most used peers |hash|Array of [int](../types/int.md) | Peer IDs of previously cached peers | Optional| -### Return type: [contacts\_TopPeers](../types/contacts_TopPeers.md) +### Return type: [contacts.TopPeers](../types/contacts.TopPeers.md) ### Can bots use this method: **NO** @@ -41,13 +41,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_TopPeers = $MadelineProto->contacts->getTopPeers(['correspondents' => Bool, 'bots_pm' => Bool, 'bots_inline' => Bool, 'phone_calls' => Bool, 'groups' => Bool, 'channels' => Bool, 'offset' => int, 'limit' => int, 'hash' => [int, int], ]); +$contacts.TopPeers = $MadelineProto->contacts->getTopPeers(['correspondents' => Bool, 'bots_pm' => Bool, 'bots_inline' => Bool, 'phone_calls' => Bool, 'groups' => Bool, 'channels' => Bool, 'offset' => int, 'limit' => int, 'hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -contacts_TopPeers = contacts.getTopPeers({correspondents=Bool, bots_pm=Bool, bots_inline=Bool, phone_calls=Bool, groups=Bool, channels=Bool, offset=int, limit=int, hash={int}, }) +contacts.TopPeers = contacts.getTopPeers({correspondents=Bool, bots_pm=Bool, bots_inline=Bool, phone_calls=Bool, groups=Bool, channels=Bool, offset=int, limit=int, hash={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v86/methods/contacts.importContacts.md b/old_docs/API_docs_v86/methods/contacts.importContacts.md index 7c795780..dbb9b7fa 100644 --- a/old_docs/API_docs_v86/methods/contacts.importContacts.md +++ b/old_docs/API_docs_v86/methods/contacts.importContacts.md @@ -16,7 +16,7 @@ Imports contacts: saves a full list on the server, adds already registered conta |contacts|Array of [InputContact](../types/InputContact.md) | The numbers to import | Yes| -### Return type: [contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) +### Return type: [contacts.ImportedContacts](../types/contacts.ImportedContacts.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_ImportedContacts = $MadelineProto->contacts->importContacts(['contacts' => [InputContact, InputContact], ]); +$contacts.ImportedContacts = $MadelineProto->contacts->importContacts(['contacts' => [InputContact, InputContact], ]); ``` Or, if you're into Lua: ```lua -contacts_ImportedContacts = contacts.importContacts({contacts={InputContact}, }) +contacts.ImportedContacts = contacts.importContacts({contacts={InputContact}, }) ``` diff --git a/old_docs/API_docs_v86/methods/contacts.resolveUsername.md b/old_docs/API_docs_v86/methods/contacts.resolveUsername.md index 05e3d854..46f1eb50 100644 --- a/old_docs/API_docs_v86/methods/contacts.resolveUsername.md +++ b/old_docs/API_docs_v86/methods/contacts.resolveUsername.md @@ -16,7 +16,7 @@ You cannot use this method directly, use the resolveUsername, getPwrChat, getInf |username|[string](../types/string.md) | You cannot use this method directly, use the resolveUsername, getPwrChat, getInfo, getFullInfo methods instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [contacts\_ResolvedPeer](../types/contacts_ResolvedPeer.md) +### Return type: [contacts.ResolvedPeer](../types/contacts.ResolvedPeer.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_ResolvedPeer = $MadelineProto->contacts->resolveUsername(['username' => 'string', ]); +$contacts.ResolvedPeer = $MadelineProto->contacts->resolveUsername(['username' => 'string', ]); ``` Or, if you're into Lua: ```lua -contacts_ResolvedPeer = contacts.resolveUsername({username='string', }) +contacts.ResolvedPeer = contacts.resolveUsername({username='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v86/methods/contacts.search.md b/old_docs/API_docs_v86/methods/contacts.search.md index 2f39d6f1..ec04c7f9 100644 --- a/old_docs/API_docs_v86/methods/contacts.search.md +++ b/old_docs/API_docs_v86/methods/contacts.search.md @@ -17,7 +17,7 @@ Returns users found by username substring. |limit|[int](../types/int.md) | Maximum number of users to be returned | Yes| -### Return type: [contacts\_Found](../types/contacts_Found.md) +### Return type: [contacts.Found](../types/contacts.Found.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Found = $MadelineProto->contacts->search(['q' => 'string', 'limit' => int, ]); +$contacts.Found = $MadelineProto->contacts->search(['q' => 'string', 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -contacts_Found = contacts.search({q='string', limit=int, }) +contacts.Found = contacts.search({q='string', limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v86/methods/help.getAppUpdate.md b/old_docs/API_docs_v86/methods/help.getAppUpdate.md index e744d727..2a81fa8f 100644 --- a/old_docs/API_docs_v86/methods/help.getAppUpdate.md +++ b/old_docs/API_docs_v86/methods/help.getAppUpdate.md @@ -16,7 +16,7 @@ Returns information on update availability for the current application. |source|[string](../types/string.md) | Source | Yes| -### Return type: [help\_AppUpdate](../types/help_AppUpdate.md) +### Return type: [help.AppUpdate](../types/help.AppUpdate.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_AppUpdate = $MadelineProto->help->getAppUpdate(['source' => 'string', ]); +$help.AppUpdate = $MadelineProto->help->getAppUpdate(['source' => 'string', ]); ``` Or, if you're into Lua: ```lua -help_AppUpdate = help.getAppUpdate({source='string', }) +help.AppUpdate = help.getAppUpdate({source='string', }) ``` diff --git a/old_docs/API_docs_v86/methods/help.getDeepLinkInfo.md b/old_docs/API_docs_v86/methods/help.getDeepLinkInfo.md index e3269bbc..e6e7d6b8 100644 --- a/old_docs/API_docs_v86/methods/help.getDeepLinkInfo.md +++ b/old_docs/API_docs_v86/methods/help.getDeepLinkInfo.md @@ -16,7 +16,7 @@ Get info about a `t.me` link |path|[string](../types/string.md) | Path in `t.me/path` | Yes| -### Return type: [help\_DeepLinkInfo](../types/help_DeepLinkInfo.md) +### Return type: [help.DeepLinkInfo](../types/help.DeepLinkInfo.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_DeepLinkInfo = $MadelineProto->help->getDeepLinkInfo(['path' => 'string', ]); +$help.DeepLinkInfo = $MadelineProto->help->getDeepLinkInfo(['path' => 'string', ]); ``` Or, if you're into Lua: ```lua -help_DeepLinkInfo = help.getDeepLinkInfo({path='string', }) +help.DeepLinkInfo = help.getDeepLinkInfo({path='string', }) ``` diff --git a/old_docs/API_docs_v86/methods/help.getInviteText.md b/old_docs/API_docs_v86/methods/help.getInviteText.md index 6fd67362..0d427974 100644 --- a/old_docs/API_docs_v86/methods/help.getInviteText.md +++ b/old_docs/API_docs_v86/methods/help.getInviteText.md @@ -11,7 +11,7 @@ Returns text of a text message with an invitation. -### Return type: [help\_InviteText](../types/help_InviteText.md) +### Return type: [help.InviteText](../types/help.InviteText.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_InviteText = $MadelineProto->help->getInviteText(); +$help.InviteText = $MadelineProto->help->getInviteText(); ``` Or, if you're into Lua: ```lua -help_InviteText = help.getInviteText({}) +help.InviteText = help.getInviteText({}) ``` diff --git a/old_docs/API_docs_v86/methods/help.getPassportConfig.md b/old_docs/API_docs_v86/methods/help.getPassportConfig.md index 3710737d..f71e67b2 100644 --- a/old_docs/API_docs_v86/methods/help.getPassportConfig.md +++ b/old_docs/API_docs_v86/methods/help.getPassportConfig.md @@ -16,7 +16,7 @@ Get [passport](https://core.telegram.org/passport) configuration |hash|Array of [int](../types/int.md) | Hash | Optional| -### Return type: [help\_PassportConfig](../types/help_PassportConfig.md) +### Return type: [help.PassportConfig](../types/help.PassportConfig.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_PassportConfig = $MadelineProto->help->getPassportConfig(['hash' => [int, int], ]); +$help.PassportConfig = $MadelineProto->help->getPassportConfig(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -help_PassportConfig = help.getPassportConfig({hash={int}, }) +help.PassportConfig = help.getPassportConfig({hash={int}, }) ``` diff --git a/old_docs/API_docs_v86/methods/help.getProxyData.md b/old_docs/API_docs_v86/methods/help.getProxyData.md index bbaf4c53..9a0aaa9a 100644 --- a/old_docs/API_docs_v86/methods/help.getProxyData.md +++ b/old_docs/API_docs_v86/methods/help.getProxyData.md @@ -11,7 +11,7 @@ Get promotion info of the currently-used MTProxy -### Return type: [help\_ProxyData](../types/help_ProxyData.md) +### Return type: [help.ProxyData](../types/help.ProxyData.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_ProxyData = $MadelineProto->help->getProxyData(); +$help.ProxyData = $MadelineProto->help->getProxyData(); ``` Or, if you're into Lua: ```lua -help_ProxyData = help.getProxyData({}) +help.ProxyData = help.getProxyData({}) ``` diff --git a/old_docs/API_docs_v86/methods/help.getRecentMeUrls.md b/old_docs/API_docs_v86/methods/help.getRecentMeUrls.md index 38cc44c8..a5ab9e06 100644 --- a/old_docs/API_docs_v86/methods/help.getRecentMeUrls.md +++ b/old_docs/API_docs_v86/methods/help.getRecentMeUrls.md @@ -16,7 +16,7 @@ Get recently used `t.me` links |referer|[string](../types/string.md) | Referer | Yes| -### Return type: [help\_RecentMeUrls](../types/help_RecentMeUrls.md) +### Return type: [help.RecentMeUrls](../types/help.RecentMeUrls.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_RecentMeUrls = $MadelineProto->help->getRecentMeUrls(['referer' => 'string', ]); +$help.RecentMeUrls = $MadelineProto->help->getRecentMeUrls(['referer' => 'string', ]); ``` Or, if you're into Lua: ```lua -help_RecentMeUrls = help.getRecentMeUrls({referer='string', }) +help.RecentMeUrls = help.getRecentMeUrls({referer='string', }) ``` diff --git a/old_docs/API_docs_v86/methods/help.getSupport.md b/old_docs/API_docs_v86/methods/help.getSupport.md index 7a577892..8a8df916 100644 --- a/old_docs/API_docs_v86/methods/help.getSupport.md +++ b/old_docs/API_docs_v86/methods/help.getSupport.md @@ -11,7 +11,7 @@ Returns the support user for the 'ask a question' feature. -### Return type: [help\_Support](../types/help_Support.md) +### Return type: [help.Support](../types/help.Support.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_Support = $MadelineProto->help->getSupport(); +$help.Support = $MadelineProto->help->getSupport(); ``` Or, if you're into Lua: ```lua -help_Support = help.getSupport({}) +help.Support = help.getSupport({}) ``` diff --git a/old_docs/API_docs_v86/methods/help.getTermsOfServiceUpdate.md b/old_docs/API_docs_v86/methods/help.getTermsOfServiceUpdate.md index 7a8ebd65..636a054b 100644 --- a/old_docs/API_docs_v86/methods/help.getTermsOfServiceUpdate.md +++ b/old_docs/API_docs_v86/methods/help.getTermsOfServiceUpdate.md @@ -11,7 +11,7 @@ Look for updates of telegram's terms of service -### Return type: [help\_TermsOfServiceUpdate](../types/help_TermsOfServiceUpdate.md) +### Return type: [help.TermsOfServiceUpdate](../types/help.TermsOfServiceUpdate.md) ### Can bots use this method: **NO** @@ -28,13 +28,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_TermsOfServiceUpdate = $MadelineProto->help->getTermsOfServiceUpdate(); +$help.TermsOfServiceUpdate = $MadelineProto->help->getTermsOfServiceUpdate(); ``` Or, if you're into Lua: ```lua -help_TermsOfServiceUpdate = help.getTermsOfServiceUpdate({}) +help.TermsOfServiceUpdate = help.getTermsOfServiceUpdate({}) ``` ### Errors diff --git a/old_docs/API_docs_v86/methods/messages.deleteHistory.md b/old_docs/API_docs_v86/methods/messages.deleteHistory.md index 9ae1bae9..41460415 100644 --- a/old_docs/API_docs_v86/methods/messages.deleteHistory.md +++ b/old_docs/API_docs_v86/methods/messages.deleteHistory.md @@ -18,7 +18,7 @@ Deletes communication history. |max\_id|[int](../types/int.md) | Maximum ID of message to delete | Yes| -### Return type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) +### Return type: [messages.AffectedHistory](../types/messages.AffectedHistory.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedHistory = $MadelineProto->messages->deleteHistory(['just_clear' => Bool, 'peer' => InputPeer, 'max_id' => int, ]); +$messages.AffectedHistory = $MadelineProto->messages->deleteHistory(['just_clear' => Bool, 'peer' => InputPeer, 'max_id' => int, ]); ``` Or, if you're into Lua: ```lua -messages_AffectedHistory = messages.deleteHistory({just_clear=Bool, peer=InputPeer, max_id=int, }) +messages.AffectedHistory = messages.deleteHistory({just_clear=Bool, peer=InputPeer, max_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v86/methods/messages.deleteMessages.md b/old_docs/API_docs_v86/methods/messages.deleteMessages.md index ade04cae..ade96e60 100644 --- a/old_docs/API_docs_v86/methods/messages.deleteMessages.md +++ b/old_docs/API_docs_v86/methods/messages.deleteMessages.md @@ -17,7 +17,7 @@ Deletes messages by their identifiers. |id|Array of [int](../types/int.md) | IDs of messages to delete, use channels->deleteMessages for supergroups | Yes| -### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) +### Return type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedMessages = $MadelineProto->messages->deleteMessages(['revoke' => Bool, 'id' => [int, int], ]); +$messages.AffectedMessages = $MadelineProto->messages->deleteMessages(['revoke' => Bool, 'id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AffectedMessages = messages.deleteMessages({revoke=Bool, id={int}, }) +messages.AffectedMessages = messages.deleteMessages({revoke=Bool, id={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v86/methods/messages.getAllChats.md b/old_docs/API_docs_v86/methods/messages.getAllChats.md index cdcc5430..97cc4817 100644 --- a/old_docs/API_docs_v86/methods/messages.getAllChats.md +++ b/old_docs/API_docs_v86/methods/messages.getAllChats.md @@ -16,7 +16,7 @@ Get all chats, channels and supergroups |except\_ids|Array of [int](../types/int.md) | Do not fetch these chats (MTProto id) | Yes| -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->messages->getAllChats(['except_ids' => [int, int], ]); +$messages.Chats = $MadelineProto->messages->getAllChats(['except_ids' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Chats = messages.getAllChats({except_ids={int}, }) +messages.Chats = messages.getAllChats({except_ids={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v86/methods/messages.getAllStickers.md b/old_docs/API_docs_v86/methods/messages.getAllStickers.md index 329b70be..0f0de7f1 100644 --- a/old_docs/API_docs_v86/methods/messages.getAllStickers.md +++ b/old_docs/API_docs_v86/methods/messages.getAllStickers.md @@ -16,7 +16,7 @@ Get all installed stickers |hash|Array of [int](../types/int.md) | The hash parameter of the previous result of this method | Optional| -### Return type: [messages\_AllStickers](../types/messages_AllStickers.md) +### Return type: [messages.AllStickers](../types/messages.AllStickers.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AllStickers = $MadelineProto->messages->getAllStickers(['hash' => [int, int], ]); +$messages.AllStickers = $MadelineProto->messages->getAllStickers(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AllStickers = messages.getAllStickers({hash={int}, }) +messages.AllStickers = messages.getAllStickers({hash={int}, }) ``` diff --git a/old_docs/API_docs_v86/methods/messages.getArchivedStickers.md b/old_docs/API_docs_v86/methods/messages.getArchivedStickers.md index d3abe9fc..c108376e 100644 --- a/old_docs/API_docs_v86/methods/messages.getArchivedStickers.md +++ b/old_docs/API_docs_v86/methods/messages.getArchivedStickers.md @@ -18,7 +18,7 @@ Get all archived stickers |limit|[int](../types/int.md) | Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_ArchivedStickers](../types/messages_ArchivedStickers.md) +### Return type: [messages.ArchivedStickers](../types/messages.ArchivedStickers.md) ### Can bots use this method: **NO** @@ -35,12 +35,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_ArchivedStickers = $MadelineProto->messages->getArchivedStickers(['masks' => Bool, 'offset_id' => long, 'limit' => int, ]); +$messages.ArchivedStickers = $MadelineProto->messages->getArchivedStickers(['masks' => Bool, 'offset_id' => long, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -messages_ArchivedStickers = messages.getArchivedStickers({masks=Bool, offset_id=long, limit=int, }) +messages.ArchivedStickers = messages.getArchivedStickers({masks=Bool, offset_id=long, limit=int, }) ``` diff --git a/old_docs/API_docs_v86/methods/messages.getBotCallbackAnswer.md b/old_docs/API_docs_v86/methods/messages.getBotCallbackAnswer.md index 015fc46b..10072386 100644 --- a/old_docs/API_docs_v86/methods/messages.getBotCallbackAnswer.md +++ b/old_docs/API_docs_v86/methods/messages.getBotCallbackAnswer.md @@ -19,7 +19,7 @@ Press an inline callback button and get a callback answer from the bot |data|[bytes](../types/bytes.md) | Callback data | Optional| -### Return type: [messages\_BotCallbackAnswer](../types/messages_BotCallbackAnswer.md) +### Return type: [messages.BotCallbackAnswer](../types/messages.BotCallbackAnswer.md) ### Can bots use this method: **NO** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_BotCallbackAnswer = $MadelineProto->messages->getBotCallbackAnswer(['game' => Bool, 'peer' => InputPeer, 'msg_id' => int, 'data' => 'bytes', ]); +$messages.BotCallbackAnswer = $MadelineProto->messages->getBotCallbackAnswer(['game' => Bool, 'peer' => InputPeer, 'msg_id' => int, 'data' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -messages_BotCallbackAnswer = messages.getBotCallbackAnswer({game=Bool, peer=InputPeer, msg_id=int, data='bytes', }) +messages.BotCallbackAnswer = messages.getBotCallbackAnswer({game=Bool, peer=InputPeer, msg_id=int, data='bytes', }) ``` ### Errors diff --git a/old_docs/API_docs_v86/methods/messages.getChats.md b/old_docs/API_docs_v86/methods/messages.getChats.md index c34b0488..146341f5 100644 --- a/old_docs/API_docs_v86/methods/messages.getChats.md +++ b/old_docs/API_docs_v86/methods/messages.getChats.md @@ -16,7 +16,7 @@ Returns chat basic info on their IDs. |id|Array of [int](../types/int.md) | The MTProto IDs of chats to fetch info about | Yes| -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->messages->getChats(['id' => [int, int], ]); +$messages.Chats = $MadelineProto->messages->getChats(['id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Chats = messages.getChats({id={int}, }) +messages.Chats = messages.getChats({id={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v86/methods/messages.getCommonChats.md b/old_docs/API_docs_v86/methods/messages.getCommonChats.md index fc7b2363..56a3ec01 100644 --- a/old_docs/API_docs_v86/methods/messages.getCommonChats.md +++ b/old_docs/API_docs_v86/methods/messages.getCommonChats.md @@ -18,7 +18,7 @@ Get chats in common with a user |limit|[int](../types/int.md) | Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->messages->getCommonChats(['user_id' => InputUser, 'max_id' => int, 'limit' => int, ]); +$messages.Chats = $MadelineProto->messages->getCommonChats(['user_id' => InputUser, 'max_id' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Chats = messages.getCommonChats({user_id=InputUser, max_id=int, limit=int, }) +messages.Chats = messages.getCommonChats({user_id=InputUser, max_id=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v86/methods/messages.getDhConfig.md b/old_docs/API_docs_v86/methods/messages.getDhConfig.md index 88ea4ab3..7b9da566 100644 --- a/old_docs/API_docs_v86/methods/messages.getDhConfig.md +++ b/old_docs/API_docs_v86/methods/messages.getDhConfig.md @@ -17,7 +17,7 @@ You cannot use this method directly, instead use $MadelineProto->getDhConfig(); |random\_length|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->getDhConfig(); | Yes| -### Return type: [messages\_DhConfig](../types/messages_DhConfig.md) +### Return type: [messages.DhConfig](../types/messages.DhConfig.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_DhConfig = $MadelineProto->messages->getDhConfig(['version' => int, 'random_length' => int, ]); +$messages.DhConfig = $MadelineProto->messages->getDhConfig(['version' => int, 'random_length' => int, ]); ``` Or, if you're into Lua: ```lua -messages_DhConfig = messages.getDhConfig({version=int, random_length=int, }) +messages.DhConfig = messages.getDhConfig({version=int, random_length=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v86/methods/messages.getDialogs.md b/old_docs/API_docs_v86/methods/messages.getDialogs.md index 9871d8e6..7ceff940 100644 --- a/old_docs/API_docs_v86/methods/messages.getDialogs.md +++ b/old_docs/API_docs_v86/methods/messages.getDialogs.md @@ -21,7 +21,7 @@ Returns the current user dialog list. |hash|Array of [int](../types/int.md) | IDs of previously fetched dialogs | Optional| -### Return type: [messages\_Dialogs](../types/messages_Dialogs.md) +### Return type: [messages.Dialogs](../types/messages.Dialogs.md) ### Can bots use this method: **NO** @@ -38,13 +38,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Dialogs = $MadelineProto->messages->getDialogs(['exclude_pinned' => Bool, 'offset_date' => int, 'offset_id' => int, 'offset_peer' => InputPeer, 'limit' => int, 'hash' => [int, int], ]); +$messages.Dialogs = $MadelineProto->messages->getDialogs(['exclude_pinned' => Bool, 'offset_date' => int, 'offset_id' => int, 'offset_peer' => InputPeer, 'limit' => int, 'hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Dialogs = messages.getDialogs({exclude_pinned=Bool, offset_date=int, offset_id=int, offset_peer=InputPeer, limit=int, hash={int}, }) +messages.Dialogs = messages.getDialogs({exclude_pinned=Bool, offset_date=int, offset_id=int, offset_peer=InputPeer, limit=int, hash={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v86/methods/messages.getFavedStickers.md b/old_docs/API_docs_v86/methods/messages.getFavedStickers.md index 3ba077ef..19f64e43 100644 --- a/old_docs/API_docs_v86/methods/messages.getFavedStickers.md +++ b/old_docs/API_docs_v86/methods/messages.getFavedStickers.md @@ -16,7 +16,7 @@ Get faved stickers |hash|Array of [int](../types/int.md) | the hash parameter of the previous result of this method | Optional| -### Return type: [messages\_FavedStickers](../types/messages_FavedStickers.md) +### Return type: [messages.FavedStickers](../types/messages.FavedStickers.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_FavedStickers = $MadelineProto->messages->getFavedStickers(['hash' => [int, int], ]); +$messages.FavedStickers = $MadelineProto->messages->getFavedStickers(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_FavedStickers = messages.getFavedStickers({hash={int}, }) +messages.FavedStickers = messages.getFavedStickers({hash={int}, }) ``` diff --git a/old_docs/API_docs_v86/methods/messages.getFeaturedStickers.md b/old_docs/API_docs_v86/methods/messages.getFeaturedStickers.md index 8f2634c3..2d65d626 100644 --- a/old_docs/API_docs_v86/methods/messages.getFeaturedStickers.md +++ b/old_docs/API_docs_v86/methods/messages.getFeaturedStickers.md @@ -16,7 +16,7 @@ Get featured stickers |hash|Array of [int](../types/int.md) | the hash parameter of the previous result of this method | Optional| -### Return type: [messages\_FeaturedStickers](../types/messages_FeaturedStickers.md) +### Return type: [messages.FeaturedStickers](../types/messages.FeaturedStickers.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_FeaturedStickers = $MadelineProto->messages->getFeaturedStickers(['hash' => [int, int], ]); +$messages.FeaturedStickers = $MadelineProto->messages->getFeaturedStickers(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_FeaturedStickers = messages.getFeaturedStickers({hash={int}, }) +messages.FeaturedStickers = messages.getFeaturedStickers({hash={int}, }) ``` diff --git a/old_docs/API_docs_v86/methods/messages.getFullChat.md b/old_docs/API_docs_v86/methods/messages.getFullChat.md index abf23e21..de543651 100644 --- a/old_docs/API_docs_v86/methods/messages.getFullChat.md +++ b/old_docs/API_docs_v86/methods/messages.getFullChat.md @@ -16,7 +16,7 @@ You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo me |chat\_id|[Username, chat ID, Update, Message or InputPeer](../types/InputPeer.md) | You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo methods instead (see https://docs.madelineproto.xyz for more info) | Optional| -### Return type: [messages\_ChatFull](../types/messages_ChatFull.md) +### Return type: [messages.ChatFull](../types/messages.ChatFull.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_ChatFull = $MadelineProto->messages->getFullChat(['chat_id' => InputPeer, ]); +$messages.ChatFull = $MadelineProto->messages->getFullChat(['chat_id' => InputPeer, ]); ``` Or, if you're into Lua: ```lua -messages_ChatFull = messages.getFullChat({chat_id=InputPeer, }) +messages.ChatFull = messages.getFullChat({chat_id=InputPeer, }) ``` ### Errors diff --git a/old_docs/API_docs_v86/methods/messages.getGameHighScores.md b/old_docs/API_docs_v86/methods/messages.getGameHighScores.md index 0ee9d754..6e4dacb2 100644 --- a/old_docs/API_docs_v86/methods/messages.getGameHighScores.md +++ b/old_docs/API_docs_v86/methods/messages.getGameHighScores.md @@ -18,7 +18,7 @@ Get highscores of a game |user\_id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | Get high scores made by a certain user | Optional| -### Return type: [messages\_HighScores](../types/messages_HighScores.md) +### Return type: [messages.HighScores](../types/messages.HighScores.md) ### Can bots use this method: **YES** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_HighScores = $MadelineProto->messages->getGameHighScores(['peer' => InputPeer, 'id' => int, 'user_id' => InputUser, ]); +$messages.HighScores = $MadelineProto->messages->getGameHighScores(['peer' => InputPeer, 'id' => int, 'user_id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -messages_HighScores = messages.getGameHighScores({peer=InputPeer, id=int, user_id=InputUser, }) +messages.HighScores = messages.getGameHighScores({peer=InputPeer, id=int, user_id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v86/methods/messages.getHistory.md b/old_docs/API_docs_v86/methods/messages.getHistory.md index 9a3d5f8c..c7bd9850 100644 --- a/old_docs/API_docs_v86/methods/messages.getHistory.md +++ b/old_docs/API_docs_v86/methods/messages.getHistory.md @@ -23,7 +23,7 @@ Gets back the conversation history with one interlocutor / within a chat |hash|Array of [int](../types/int.md) | IDs of messages you already fetched | Optional| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **NO** @@ -40,13 +40,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->getHistory(['peer' => InputPeer, 'offset_id' => int, 'offset_date' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, 'hash' => [int, int], ]); +$messages.Messages = $MadelineProto->messages->getHistory(['peer' => InputPeer, 'offset_id' => int, 'offset_date' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, 'hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.getHistory({peer=InputPeer, offset_id=int, offset_date=int, add_offset=int, limit=int, max_id=int, min_id=int, hash={int}, }) +messages.Messages = messages.getHistory({peer=InputPeer, offset_id=int, offset_date=int, add_offset=int, limit=int, max_id=int, min_id=int, hash={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v86/methods/messages.getInlineBotResults.md b/old_docs/API_docs_v86/methods/messages.getInlineBotResults.md index ac251797..8a397236 100644 --- a/old_docs/API_docs_v86/methods/messages.getInlineBotResults.md +++ b/old_docs/API_docs_v86/methods/messages.getInlineBotResults.md @@ -20,7 +20,7 @@ Query an inline bot |offset|[string](../types/string.md) | The offset within the results, will be passed directly as-is to the bot. | Yes| -### Return type: [messages\_BotResults](../types/messages_BotResults.md) +### Return type: [messages.BotResults](../types/messages.BotResults.md) ### Can bots use this method: **NO** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_BotResults = $MadelineProto->messages->getInlineBotResults(['bot' => InputUser, 'peer' => InputPeer, 'geo_point' => InputGeoPoint, 'query' => 'string', 'offset' => 'string', ]); +$messages.BotResults = $MadelineProto->messages->getInlineBotResults(['bot' => InputUser, 'peer' => InputPeer, 'geo_point' => InputGeoPoint, 'query' => 'string', 'offset' => 'string', ]); ``` Or, if you're into Lua: ```lua -messages_BotResults = messages.getInlineBotResults({bot=InputUser, peer=InputPeer, geo_point=InputGeoPoint, query='string', offset='string', }) +messages.BotResults = messages.getInlineBotResults({bot=InputUser, peer=InputPeer, geo_point=InputGeoPoint, query='string', offset='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v86/methods/messages.getInlineGameHighScores.md b/old_docs/API_docs_v86/methods/messages.getInlineGameHighScores.md index 0d02b426..dbcb2cf6 100644 --- a/old_docs/API_docs_v86/methods/messages.getInlineGameHighScores.md +++ b/old_docs/API_docs_v86/methods/messages.getInlineGameHighScores.md @@ -17,7 +17,7 @@ Get highscores of a game sent using an inline bot |user\_id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | Get high scores of a certain user | Optional| -### Return type: [messages\_HighScores](../types/messages_HighScores.md) +### Return type: [messages.HighScores](../types/messages.HighScores.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_HighScores = $MadelineProto->messages->getInlineGameHighScores(['id' => InputBotInlineMessageID, 'user_id' => InputUser, ]); +$messages.HighScores = $MadelineProto->messages->getInlineGameHighScores(['id' => InputBotInlineMessageID, 'user_id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -messages_HighScores = messages.getInlineGameHighScores({id=InputBotInlineMessageID, user_id=InputUser, }) +messages.HighScores = messages.getInlineGameHighScores({id=InputBotInlineMessageID, user_id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v86/methods/messages.getMaskStickers.md b/old_docs/API_docs_v86/methods/messages.getMaskStickers.md index a09834e1..093645f6 100644 --- a/old_docs/API_docs_v86/methods/messages.getMaskStickers.md +++ b/old_docs/API_docs_v86/methods/messages.getMaskStickers.md @@ -16,7 +16,7 @@ Get installed mask stickers |hash|Array of [int](../types/int.md) | the hash parameter of the previous result of this method | Optional| -### Return type: [messages\_AllStickers](../types/messages_AllStickers.md) +### Return type: [messages.AllStickers](../types/messages.AllStickers.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AllStickers = $MadelineProto->messages->getMaskStickers(['hash' => [int, int], ]); +$messages.AllStickers = $MadelineProto->messages->getMaskStickers(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AllStickers = messages.getMaskStickers({hash={int}, }) +messages.AllStickers = messages.getMaskStickers({hash={int}, }) ``` diff --git a/old_docs/API_docs_v86/methods/messages.getMessageEditData.md b/old_docs/API_docs_v86/methods/messages.getMessageEditData.md index 1a083f08..7fd32e82 100644 --- a/old_docs/API_docs_v86/methods/messages.getMessageEditData.md +++ b/old_docs/API_docs_v86/methods/messages.getMessageEditData.md @@ -17,7 +17,7 @@ Find out if a media message's caption can be edited |id|[int](../types/int.md) | ID of message | Yes| -### Return type: [messages\_MessageEditData](../types/messages_MessageEditData.md) +### Return type: [messages.MessageEditData](../types/messages.MessageEditData.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_MessageEditData = $MadelineProto->messages->getMessageEditData(['peer' => InputPeer, 'id' => int, ]); +$messages.MessageEditData = $MadelineProto->messages->getMessageEditData(['peer' => InputPeer, 'id' => int, ]); ``` Or, if you're into Lua: ```lua -messages_MessageEditData = messages.getMessageEditData({peer=InputPeer, id=int, }) +messages.MessageEditData = messages.getMessageEditData({peer=InputPeer, id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v86/methods/messages.getMessages.md b/old_docs/API_docs_v86/methods/messages.getMessages.md index eb5ef6a6..0aed788d 100644 --- a/old_docs/API_docs_v86/methods/messages.getMessages.md +++ b/old_docs/API_docs_v86/methods/messages.getMessages.md @@ -16,7 +16,7 @@ Returns the list of messages by their IDs. |id|Array of [Message ID or InputMessage](../types/InputMessage.md) | The IDs of messages to fetch (only for users and normal groups) | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **YES** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->getMessages(['id' => [InputMessage, InputMessage], ]); +$messages.Messages = $MadelineProto->messages->getMessages(['id' => [InputMessage, InputMessage], ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.getMessages({id={InputMessage}, }) +messages.Messages = messages.getMessages({id={InputMessage}, }) ``` diff --git a/old_docs/API_docs_v86/methods/messages.getPeerDialogs.md b/old_docs/API_docs_v86/methods/messages.getPeerDialogs.md index 2ab5d661..1ec67e6a 100644 --- a/old_docs/API_docs_v86/methods/messages.getPeerDialogs.md +++ b/old_docs/API_docs_v86/methods/messages.getPeerDialogs.md @@ -16,7 +16,7 @@ Get dialog info of specified peers |peers|Array of [Username, chat ID, Update, Message or InputDialogPeer](../types/InputDialogPeer.md) | The peers | Yes| -### Return type: [messages\_PeerDialogs](../types/messages_PeerDialogs.md) +### Return type: [messages.PeerDialogs](../types/messages.PeerDialogs.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_PeerDialogs = $MadelineProto->messages->getPeerDialogs(['peers' => [InputDialogPeer, InputDialogPeer], ]); +$messages.PeerDialogs = $MadelineProto->messages->getPeerDialogs(['peers' => [InputDialogPeer, InputDialogPeer], ]); ``` Or, if you're into Lua: ```lua -messages_PeerDialogs = messages.getPeerDialogs({peers={InputDialogPeer}, }) +messages.PeerDialogs = messages.getPeerDialogs({peers={InputDialogPeer}, }) ``` ### Errors diff --git a/old_docs/API_docs_v86/methods/messages.getPinnedDialogs.md b/old_docs/API_docs_v86/methods/messages.getPinnedDialogs.md index f106098d..161075f2 100644 --- a/old_docs/API_docs_v86/methods/messages.getPinnedDialogs.md +++ b/old_docs/API_docs_v86/methods/messages.getPinnedDialogs.md @@ -11,7 +11,7 @@ Get pinned dialogs -### Return type: [messages\_PeerDialogs](../types/messages_PeerDialogs.md) +### Return type: [messages.PeerDialogs](../types/messages.PeerDialogs.md) ### Can bots use this method: **NO** @@ -28,13 +28,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_PeerDialogs = $MadelineProto->messages->getPinnedDialogs(); +$messages.PeerDialogs = $MadelineProto->messages->getPinnedDialogs(); ``` Or, if you're into Lua: ```lua -messages_PeerDialogs = messages.getPinnedDialogs({}) +messages.PeerDialogs = messages.getPinnedDialogs({}) ``` ### Errors diff --git a/old_docs/API_docs_v86/methods/messages.getRecentLocations.md b/old_docs/API_docs_v86/methods/messages.getRecentLocations.md index 40ec1285..4efeb49c 100644 --- a/old_docs/API_docs_v86/methods/messages.getRecentLocations.md +++ b/old_docs/API_docs_v86/methods/messages.getRecentLocations.md @@ -18,7 +18,7 @@ Get live location history of a certain user |hash|Array of [int](../types/int.md) | IDs of locations you already fetched | Optional| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **NO** @@ -35,12 +35,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->getRecentLocations(['peer' => InputPeer, 'limit' => int, 'hash' => [int, int], ]); +$messages.Messages = $MadelineProto->messages->getRecentLocations(['peer' => InputPeer, 'limit' => int, 'hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.getRecentLocations({peer=InputPeer, limit=int, hash={int}, }) +messages.Messages = messages.getRecentLocations({peer=InputPeer, limit=int, hash={int}, }) ``` diff --git a/old_docs/API_docs_v86/methods/messages.getRecentStickers.md b/old_docs/API_docs_v86/methods/messages.getRecentStickers.md index 28a70889..39cef16a 100644 --- a/old_docs/API_docs_v86/methods/messages.getRecentStickers.md +++ b/old_docs/API_docs_v86/methods/messages.getRecentStickers.md @@ -17,7 +17,7 @@ Get recent stickers |hash|Array of [int](../types/int.md) | IDs the hash parameter of the previous result of this method | Optional| -### Return type: [messages\_RecentStickers](../types/messages_RecentStickers.md) +### Return type: [messages.RecentStickers](../types/messages.RecentStickers.md) ### Can bots use this method: **NO** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_RecentStickers = $MadelineProto->messages->getRecentStickers(['attached' => Bool, 'hash' => [int, int], ]); +$messages.RecentStickers = $MadelineProto->messages->getRecentStickers(['attached' => Bool, 'hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_RecentStickers = messages.getRecentStickers({attached=Bool, hash={int}, }) +messages.RecentStickers = messages.getRecentStickers({attached=Bool, hash={int}, }) ``` diff --git a/old_docs/API_docs_v86/methods/messages.getSavedGifs.md b/old_docs/API_docs_v86/methods/messages.getSavedGifs.md index 1df7f37c..8b31f7b8 100644 --- a/old_docs/API_docs_v86/methods/messages.getSavedGifs.md +++ b/old_docs/API_docs_v86/methods/messages.getSavedGifs.md @@ -16,7 +16,7 @@ Get saved GIFs |hash|Array of [int](../types/int.md) | the hash parameter of the previous result of this method | Optional| -### Return type: [messages\_SavedGifs](../types/messages_SavedGifs.md) +### Return type: [messages.SavedGifs](../types/messages.SavedGifs.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_SavedGifs = $MadelineProto->messages->getSavedGifs(['hash' => [int, int], ]); +$messages.SavedGifs = $MadelineProto->messages->getSavedGifs(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_SavedGifs = messages.getSavedGifs({hash={int}, }) +messages.SavedGifs = messages.getSavedGifs({hash={int}, }) ``` diff --git a/old_docs/API_docs_v86/methods/messages.getStickerSet.md b/old_docs/API_docs_v86/methods/messages.getStickerSet.md index 45fca60f..f11887ee 100644 --- a/old_docs/API_docs_v86/methods/messages.getStickerSet.md +++ b/old_docs/API_docs_v86/methods/messages.getStickerSet.md @@ -16,7 +16,7 @@ Get info about a stickerset |stickerset|[InputStickerSet](../types/InputStickerSet.md) | Stickerset | Optional| -### Return type: [messages\_StickerSet](../types/messages_StickerSet.md) +### Return type: [messages.StickerSet](../types/messages.StickerSet.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StickerSet = $MadelineProto->messages->getStickerSet(['stickerset' => InputStickerSet, ]); +$messages.StickerSet = $MadelineProto->messages->getStickerSet(['stickerset' => InputStickerSet, ]); ``` Or, if you're into Lua: ```lua -messages_StickerSet = messages.getStickerSet({stickerset=InputStickerSet, }) +messages.StickerSet = messages.getStickerSet({stickerset=InputStickerSet, }) ``` ### Errors diff --git a/old_docs/API_docs_v86/methods/messages.getStickers.md b/old_docs/API_docs_v86/methods/messages.getStickers.md index 4f8b7598..ff99fbd2 100644 --- a/old_docs/API_docs_v86/methods/messages.getStickers.md +++ b/old_docs/API_docs_v86/methods/messages.getStickers.md @@ -17,7 +17,7 @@ Get stickers by emoji |hash|Array of [int](../types/int.md) | the hash parameter of the previous result of this method | Optional| -### Return type: [messages\_Stickers](../types/messages_Stickers.md) +### Return type: [messages.Stickers](../types/messages.Stickers.md) ### Can bots use this method: **NO** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Stickers = $MadelineProto->messages->getStickers(['emoticon' => 'string', 'hash' => [int, int], ]); +$messages.Stickers = $MadelineProto->messages->getStickers(['emoticon' => 'string', 'hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Stickers = messages.getStickers({emoticon='string', hash={int}, }) +messages.Stickers = messages.getStickers({emoticon='string', hash={int}, }) ``` diff --git a/old_docs/API_docs_v86/methods/messages.getUnreadMentions.md b/old_docs/API_docs_v86/methods/messages.getUnreadMentions.md index 33bba261..679ed841 100644 --- a/old_docs/API_docs_v86/methods/messages.getUnreadMentions.md +++ b/old_docs/API_docs_v86/methods/messages.getUnreadMentions.md @@ -21,7 +21,7 @@ Get unread messages where we were mentioned |min\_id|[int](../types/int.md) | Minimum message ID to return, [see pagination](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **NO** @@ -38,13 +38,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->getUnreadMentions(['peer' => InputPeer, 'offset_id' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); +$messages.Messages = $MadelineProto->messages->getUnreadMentions(['peer' => InputPeer, 'offset_id' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.getUnreadMentions({peer=InputPeer, offset_id=int, add_offset=int, limit=int, max_id=int, min_id=int, }) +messages.Messages = messages.getUnreadMentions({peer=InputPeer, offset_id=int, add_offset=int, limit=int, max_id=int, min_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v86/methods/messages.installStickerSet.md b/old_docs/API_docs_v86/methods/messages.installStickerSet.md index 1a95ca0b..83ce2121 100644 --- a/old_docs/API_docs_v86/methods/messages.installStickerSet.md +++ b/old_docs/API_docs_v86/methods/messages.installStickerSet.md @@ -17,7 +17,7 @@ Install a stickerset |archived|[Bool](../types/Bool.md) | Whether to archive stickerset | Yes| -### Return type: [messages\_StickerSetInstallResult](../types/messages_StickerSetInstallResult.md) +### Return type: [messages.StickerSetInstallResult](../types/messages.StickerSetInstallResult.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StickerSetInstallResult = $MadelineProto->messages->installStickerSet(['stickerset' => InputStickerSet, 'archived' => Bool, ]); +$messages.StickerSetInstallResult = $MadelineProto->messages->installStickerSet(['stickerset' => InputStickerSet, 'archived' => Bool, ]); ``` Or, if you're into Lua: ```lua -messages_StickerSetInstallResult = messages.installStickerSet({stickerset=InputStickerSet, archived=Bool, }) +messages.StickerSetInstallResult = messages.installStickerSet({stickerset=InputStickerSet, archived=Bool, }) ``` ### Errors diff --git a/old_docs/API_docs_v86/methods/messages.readHistory.md b/old_docs/API_docs_v86/methods/messages.readHistory.md index 39753375..52030c68 100644 --- a/old_docs/API_docs_v86/methods/messages.readHistory.md +++ b/old_docs/API_docs_v86/methods/messages.readHistory.md @@ -17,7 +17,7 @@ Marks message history as read. |max\_id|[int](../types/int.md) | If a positive value is passed, only messages with identifiers less or equal than the given one will be read | Yes| -### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) +### Return type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedMessages = $MadelineProto->messages->readHistory(['peer' => InputPeer, 'max_id' => int, ]); +$messages.AffectedMessages = $MadelineProto->messages->readHistory(['peer' => InputPeer, 'max_id' => int, ]); ``` Or, if you're into Lua: ```lua -messages_AffectedMessages = messages.readHistory({peer=InputPeer, max_id=int, }) +messages.AffectedMessages = messages.readHistory({peer=InputPeer, max_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v86/methods/messages.readMentions.md b/old_docs/API_docs_v86/methods/messages.readMentions.md index 9b73851d..c8c94f00 100644 --- a/old_docs/API_docs_v86/methods/messages.readMentions.md +++ b/old_docs/API_docs_v86/methods/messages.readMentions.md @@ -16,7 +16,7 @@ Mark mentions as read |peer|[Username, chat ID, Update, Message or InputPeer](../types/InputPeer.md) | Dialog | Optional| -### Return type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) +### Return type: [messages.AffectedHistory](../types/messages.AffectedHistory.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedHistory = $MadelineProto->messages->readMentions(['peer' => InputPeer, ]); +$messages.AffectedHistory = $MadelineProto->messages->readMentions(['peer' => InputPeer, ]); ``` Or, if you're into Lua: ```lua -messages_AffectedHistory = messages.readMentions({peer=InputPeer, }) +messages.AffectedHistory = messages.readMentions({peer=InputPeer, }) ``` diff --git a/old_docs/API_docs_v86/methods/messages.readMessageContents.md b/old_docs/API_docs_v86/methods/messages.readMessageContents.md index c479cafe..9798e661 100644 --- a/old_docs/API_docs_v86/methods/messages.readMessageContents.md +++ b/old_docs/API_docs_v86/methods/messages.readMessageContents.md @@ -16,7 +16,7 @@ Notifies the sender about the recipient having listened a voice message or watch |id|Array of [int](../types/int.md) | The messages to mark as read (only users and normal chats, not supergroups) | Yes| -### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) +### Return type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedMessages = $MadelineProto->messages->readMessageContents(['id' => [int, int], ]); +$messages.AffectedMessages = $MadelineProto->messages->readMessageContents(['id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AffectedMessages = messages.readMessageContents({id={int}, }) +messages.AffectedMessages = messages.readMessageContents({id={int}, }) ``` diff --git a/old_docs/API_docs_v86/methods/messages.search.md b/old_docs/API_docs_v86/methods/messages.search.md index 75c21af0..b8125fb6 100644 --- a/old_docs/API_docs_v86/methods/messages.search.md +++ b/old_docs/API_docs_v86/methods/messages.search.md @@ -27,7 +27,7 @@ Gets back found messages |hash|Array of [int](../types/int.md) | The IDs of messages you already fetched | Optional| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **NO** @@ -44,13 +44,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->search(['peer' => InputPeer, 'q' => 'string', 'from_id' => InputUser, 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset_id' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, 'hash' => [int, int], ]); +$messages.Messages = $MadelineProto->messages->search(['peer' => InputPeer, 'q' => 'string', 'from_id' => InputUser, 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset_id' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, 'hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.search({peer=InputPeer, q='string', from_id=InputUser, filter=MessagesFilter, min_date=int, max_date=int, offset_id=int, add_offset=int, limit=int, max_id=int, min_id=int, hash={int}, }) +messages.Messages = messages.search({peer=InputPeer, q='string', from_id=InputUser, filter=MessagesFilter, min_date=int, max_date=int, offset_id=int, add_offset=int, limit=int, max_id=int, min_id=int, hash={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v86/methods/messages.searchGifs.md b/old_docs/API_docs_v86/methods/messages.searchGifs.md index 851371d7..193a0cd4 100644 --- a/old_docs/API_docs_v86/methods/messages.searchGifs.md +++ b/old_docs/API_docs_v86/methods/messages.searchGifs.md @@ -17,7 +17,7 @@ Search for GIFs |offset|[int](../types/int.md) | Offset for [pagination »](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_FoundGifs](../types/messages_FoundGifs.md) +### Return type: [messages.FoundGifs](../types/messages.FoundGifs.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_FoundGifs = $MadelineProto->messages->searchGifs(['q' => 'string', 'offset' => int, ]); +$messages.FoundGifs = $MadelineProto->messages->searchGifs(['q' => 'string', 'offset' => int, ]); ``` Or, if you're into Lua: ```lua -messages_FoundGifs = messages.searchGifs({q='string', offset=int, }) +messages.FoundGifs = messages.searchGifs({q='string', offset=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v86/methods/messages.searchGlobal.md b/old_docs/API_docs_v86/methods/messages.searchGlobal.md index 4bd59f25..1a3b736d 100644 --- a/old_docs/API_docs_v86/methods/messages.searchGlobal.md +++ b/old_docs/API_docs_v86/methods/messages.searchGlobal.md @@ -20,7 +20,7 @@ Search for messages and peers globally |limit|[int](../types/int.md) | [Offsets for pagination, for more info click here](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **NO** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->searchGlobal(['q' => 'string', 'offset_date' => int, 'offset_peer' => InputPeer, 'offset_id' => int, 'limit' => int, ]); +$messages.Messages = $MadelineProto->messages->searchGlobal(['q' => 'string', 'offset_date' => int, 'offset_peer' => InputPeer, 'offset_id' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.searchGlobal({q='string', offset_date=int, offset_peer=InputPeer, offset_id=int, limit=int, }) +messages.Messages = messages.searchGlobal({q='string', offset_date=int, offset_peer=InputPeer, offset_id=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v86/methods/messages.searchStickerSets.md b/old_docs/API_docs_v86/methods/messages.searchStickerSets.md index 1759fbc0..a8924f3d 100644 --- a/old_docs/API_docs_v86/methods/messages.searchStickerSets.md +++ b/old_docs/API_docs_v86/methods/messages.searchStickerSets.md @@ -18,7 +18,7 @@ Search for stickersets |hash|Array of [int](../types/int.md) | The IDs of stickersets you already fetched | Optional| -### Return type: [messages\_FoundStickerSets](../types/messages_FoundStickerSets.md) +### Return type: [messages.FoundStickerSets](../types/messages.FoundStickerSets.md) ### Can bots use this method: **NO** @@ -35,12 +35,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_FoundStickerSets = $MadelineProto->messages->searchStickerSets(['exclude_featured' => Bool, 'q' => 'string', 'hash' => [int, int], ]); +$messages.FoundStickerSets = $MadelineProto->messages->searchStickerSets(['exclude_featured' => Bool, 'q' => 'string', 'hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_FoundStickerSets = messages.searchStickerSets({exclude_featured=Bool, q='string', hash={int}, }) +messages.FoundStickerSets = messages.searchStickerSets({exclude_featured=Bool, q='string', hash={int}, }) ``` diff --git a/old_docs/API_docs_v86/methods/messages.sendEncrypted.md b/old_docs/API_docs_v86/methods/messages.sendEncrypted.md index 47b5ef29..6a68b563 100644 --- a/old_docs/API_docs_v86/methods/messages.sendEncrypted.md +++ b/old_docs/API_docs_v86/methods/messages.sendEncrypted.md @@ -14,10 +14,10 @@ Sends a text message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|message|[DecryptedMessage](../types/DecryptedMessage.md) | The message to send | Yes| +|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key that was created during chat initialization | Yes| -### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ### Can bots use this method: **NO** @@ -34,21 +34,15 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncrypted(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); +$messages.SentEncryptedMessage = $MadelineProto->messages->sendEncrypted(['peer' => InputEncryptedChat, 'data' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -messages_SentEncryptedMessage = messages.sendEncrypted({peer=InputEncryptedChat, message=DecryptedMessage, }) +messages.SentEncryptedMessage = messages.sendEncrypted({peer=InputEncryptedChat, data='bytes', }) ``` - -## Return value - -If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) will be returned instead. - - ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v86/methods/messages.sendEncryptedFile.md b/old_docs/API_docs_v86/methods/messages.sendEncryptedFile.md index 4e0f7b7f..87185ba4 100644 --- a/old_docs/API_docs_v86/methods/messages.sendEncryptedFile.md +++ b/old_docs/API_docs_v86/methods/messages.sendEncryptedFile.md @@ -14,11 +14,11 @@ Sends a message with a file attachment to a secret chat | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|message|[DecryptedMessage](../types/DecryptedMessage.md) | The message with the file | Yes| +|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| |file|[File path or InputEncryptedFile](../types/InputEncryptedFile.md) | File attachment for the secret chat | Optional| -### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ### Can bots use this method: **NO** @@ -35,21 +35,15 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedFile(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, 'file' => InputEncryptedFile, ]); +$messages.SentEncryptedMessage = $MadelineProto->messages->sendEncryptedFile(['peer' => InputEncryptedChat, 'data' => 'bytes', 'file' => InputEncryptedFile, ]); ``` Or, if you're into Lua: ```lua -messages_SentEncryptedMessage = messages.sendEncryptedFile({peer=InputEncryptedChat, message=DecryptedMessage, file=InputEncryptedFile, }) +messages.SentEncryptedMessage = messages.sendEncryptedFile({peer=InputEncryptedChat, data='bytes', file=InputEncryptedFile, }) ``` - -## Return value - -If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) will be returned instead. - - ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v86/methods/messages.sendEncryptedService.md b/old_docs/API_docs_v86/methods/messages.sendEncryptedService.md index 86925ae3..38171272 100644 --- a/old_docs/API_docs_v86/methods/messages.sendEncryptedService.md +++ b/old_docs/API_docs_v86/methods/messages.sendEncryptedService.md @@ -14,10 +14,10 @@ Sends a service message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|message|[DecryptedMessage](../types/DecryptedMessage.md) | The service message | Yes| +|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| -### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ### Can bots use this method: **NO** @@ -34,21 +34,15 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedService(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); +$messages.SentEncryptedMessage = $MadelineProto->messages->sendEncryptedService(['peer' => InputEncryptedChat, 'data' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -messages_SentEncryptedMessage = messages.sendEncryptedService({peer=InputEncryptedChat, message=DecryptedMessage, }) +messages.SentEncryptedMessage = messages.sendEncryptedService({peer=InputEncryptedChat, data='bytes', }) ``` - -## Return value - -If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) will be returned instead. - - ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v86/methods/payments.getPaymentForm.md b/old_docs/API_docs_v86/methods/payments.getPaymentForm.md index 3a171a05..da173f14 100644 --- a/old_docs/API_docs_v86/methods/payments.getPaymentForm.md +++ b/old_docs/API_docs_v86/methods/payments.getPaymentForm.md @@ -16,7 +16,7 @@ Get a payment form |msg\_id|[int](../types/int.md) | Message ID of payment form | Yes| -### Return type: [payments\_PaymentForm](../types/payments_PaymentForm.md) +### Return type: [payments.PaymentForm](../types/payments.PaymentForm.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$payments_PaymentForm = $MadelineProto->payments->getPaymentForm(['msg_id' => int, ]); +$payments.PaymentForm = $MadelineProto->payments->getPaymentForm(['msg_id' => int, ]); ``` Or, if you're into Lua: ```lua -payments_PaymentForm = payments.getPaymentForm({msg_id=int, }) +payments.PaymentForm = payments.getPaymentForm({msg_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v86/methods/payments.getPaymentReceipt.md b/old_docs/API_docs_v86/methods/payments.getPaymentReceipt.md index 46d2267c..16e41367 100644 --- a/old_docs/API_docs_v86/methods/payments.getPaymentReceipt.md +++ b/old_docs/API_docs_v86/methods/payments.getPaymentReceipt.md @@ -16,7 +16,7 @@ Get payment receipt |msg\_id|[int](../types/int.md) | Message ID of receipt | Yes| -### Return type: [payments\_PaymentReceipt](../types/payments_PaymentReceipt.md) +### Return type: [payments.PaymentReceipt](../types/payments.PaymentReceipt.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$payments_PaymentReceipt = $MadelineProto->payments->getPaymentReceipt(['msg_id' => int, ]); +$payments.PaymentReceipt = $MadelineProto->payments->getPaymentReceipt(['msg_id' => int, ]); ``` Or, if you're into Lua: ```lua -payments_PaymentReceipt = payments.getPaymentReceipt({msg_id=int, }) +payments.PaymentReceipt = payments.getPaymentReceipt({msg_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v86/methods/payments.getSavedInfo.md b/old_docs/API_docs_v86/methods/payments.getSavedInfo.md index dc9c9b98..fe2c16ec 100644 --- a/old_docs/API_docs_v86/methods/payments.getSavedInfo.md +++ b/old_docs/API_docs_v86/methods/payments.getSavedInfo.md @@ -11,7 +11,7 @@ Get saved payment information -### Return type: [payments\_SavedInfo](../types/payments_SavedInfo.md) +### Return type: [payments.SavedInfo](../types/payments.SavedInfo.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$payments_SavedInfo = $MadelineProto->payments->getSavedInfo(); +$payments.SavedInfo = $MadelineProto->payments->getSavedInfo(); ``` Or, if you're into Lua: ```lua -payments_SavedInfo = payments.getSavedInfo({}) +payments.SavedInfo = payments.getSavedInfo({}) ``` diff --git a/old_docs/API_docs_v86/methods/payments.sendPaymentForm.md b/old_docs/API_docs_v86/methods/payments.sendPaymentForm.md index 8c478b92..de154e7f 100644 --- a/old_docs/API_docs_v86/methods/payments.sendPaymentForm.md +++ b/old_docs/API_docs_v86/methods/payments.sendPaymentForm.md @@ -19,7 +19,7 @@ Send compiled payment form |credentials|[InputPaymentCredentials](../types/InputPaymentCredentials.md) | Payment credentials | Yes| -### Return type: [payments\_PaymentResult](../types/payments_PaymentResult.md) +### Return type: [payments.PaymentResult](../types/payments.PaymentResult.md) ### Can bots use this method: **NO** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$payments_PaymentResult = $MadelineProto->payments->sendPaymentForm(['msg_id' => int, 'requested_info_id' => 'string', 'shipping_option_id' => 'string', 'credentials' => InputPaymentCredentials, ]); +$payments.PaymentResult = $MadelineProto->payments->sendPaymentForm(['msg_id' => int, 'requested_info_id' => 'string', 'shipping_option_id' => 'string', 'credentials' => InputPaymentCredentials, ]); ``` Or, if you're into Lua: ```lua -payments_PaymentResult = payments.sendPaymentForm({msg_id=int, requested_info_id='string', shipping_option_id='string', credentials=InputPaymentCredentials, }) +payments.PaymentResult = payments.sendPaymentForm({msg_id=int, requested_info_id='string', shipping_option_id='string', credentials=InputPaymentCredentials, }) ``` ### Errors diff --git a/old_docs/API_docs_v86/methods/payments.validateRequestedInfo.md b/old_docs/API_docs_v86/methods/payments.validateRequestedInfo.md index d6364a02..ce22cfe8 100644 --- a/old_docs/API_docs_v86/methods/payments.validateRequestedInfo.md +++ b/old_docs/API_docs_v86/methods/payments.validateRequestedInfo.md @@ -18,7 +18,7 @@ Submit requested order information for validation |info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Requested order information | Yes| -### Return type: [payments\_ValidatedRequestedInfo](../types/payments_ValidatedRequestedInfo.md) +### Return type: [payments.ValidatedRequestedInfo](../types/payments.ValidatedRequestedInfo.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$payments_ValidatedRequestedInfo = $MadelineProto->payments->validateRequestedInfo(['save' => Bool, 'msg_id' => int, 'info' => PaymentRequestedInfo, ]); +$payments.ValidatedRequestedInfo = $MadelineProto->payments->validateRequestedInfo(['save' => Bool, 'msg_id' => int, 'info' => PaymentRequestedInfo, ]); ``` Or, if you're into Lua: ```lua -payments_ValidatedRequestedInfo = payments.validateRequestedInfo({save=Bool, msg_id=int, info=PaymentRequestedInfo, }) +payments.ValidatedRequestedInfo = payments.validateRequestedInfo({save=Bool, msg_id=int, info=PaymentRequestedInfo, }) ``` ### Errors diff --git a/old_docs/API_docs_v86/methods/phone.acceptCall.md b/old_docs/API_docs_v86/methods/phone.acceptCall.md index f5c58f01..6b9185aa 100644 --- a/old_docs/API_docs_v86/methods/phone.acceptCall.md +++ b/old_docs/API_docs_v86/methods/phone.acceptCall.md @@ -18,7 +18,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz#calls fo |protocol|[PhoneCallProtocol](../types/PhoneCallProtocol.md) | You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls | Yes| -### Return type: [phone\_PhoneCall](../types/phone_PhoneCall.md) +### Return type: [phone.PhoneCall](../types/phone.PhoneCall.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$phone_PhoneCall = $MadelineProto->phone->acceptCall(['peer' => InputPhoneCall, 'g_b' => 'bytes', 'protocol' => PhoneCallProtocol, ]); +$phone.PhoneCall = $MadelineProto->phone->acceptCall(['peer' => InputPhoneCall, 'g_b' => 'bytes', 'protocol' => PhoneCallProtocol, ]); ``` Or, if you're into Lua: ```lua -phone_PhoneCall = phone.acceptCall({peer=InputPhoneCall, g_b='bytes', protocol=PhoneCallProtocol, }) +phone.PhoneCall = phone.acceptCall({peer=InputPhoneCall, g_b='bytes', protocol=PhoneCallProtocol, }) ``` ### Errors diff --git a/old_docs/API_docs_v86/methods/phone.confirmCall.md b/old_docs/API_docs_v86/methods/phone.confirmCall.md index 468307cc..a52d1f9c 100644 --- a/old_docs/API_docs_v86/methods/phone.confirmCall.md +++ b/old_docs/API_docs_v86/methods/phone.confirmCall.md @@ -19,7 +19,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz#calls fo |protocol|[PhoneCallProtocol](../types/PhoneCallProtocol.md) | You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls | Yes| -### Return type: [phone\_PhoneCall](../types/phone_PhoneCall.md) +### Return type: [phone.PhoneCall](../types/phone.PhoneCall.md) ### Can bots use this method: **NO** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$phone_PhoneCall = $MadelineProto->phone->confirmCall(['peer' => InputPhoneCall, 'g_a' => 'bytes', 'key_fingerprint' => long, 'protocol' => PhoneCallProtocol, ]); +$phone.PhoneCall = $MadelineProto->phone->confirmCall(['peer' => InputPhoneCall, 'g_a' => 'bytes', 'key_fingerprint' => long, 'protocol' => PhoneCallProtocol, ]); ``` Or, if you're into Lua: ```lua -phone_PhoneCall = phone.confirmCall({peer=InputPhoneCall, g_a='bytes', key_fingerprint=long, protocol=PhoneCallProtocol, }) +phone.PhoneCall = phone.confirmCall({peer=InputPhoneCall, g_a='bytes', key_fingerprint=long, protocol=PhoneCallProtocol, }) ``` ### Errors diff --git a/old_docs/API_docs_v86/methods/phone.requestCall.md b/old_docs/API_docs_v86/methods/phone.requestCall.md index c8e828f2..37e847a7 100644 --- a/old_docs/API_docs_v86/methods/phone.requestCall.md +++ b/old_docs/API_docs_v86/methods/phone.requestCall.md @@ -18,7 +18,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz#calls fo |protocol|[PhoneCallProtocol](../types/PhoneCallProtocol.md) | You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls | Yes| -### Return type: [phone\_PhoneCall](../types/phone_PhoneCall.md) +### Return type: [phone.PhoneCall](../types/phone.PhoneCall.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$phone_PhoneCall = $MadelineProto->phone->requestCall(['user_id' => InputUser, 'g_a_hash' => 'bytes', 'protocol' => PhoneCallProtocol, ]); +$phone.PhoneCall = $MadelineProto->phone->requestCall(['user_id' => InputUser, 'g_a_hash' => 'bytes', 'protocol' => PhoneCallProtocol, ]); ``` Or, if you're into Lua: ```lua -phone_PhoneCall = phone.requestCall({user_id=InputUser, g_a_hash='bytes', protocol=PhoneCallProtocol, }) +phone.PhoneCall = phone.requestCall({user_id=InputUser, g_a_hash='bytes', protocol=PhoneCallProtocol, }) ``` ### Errors diff --git a/old_docs/API_docs_v86/methods/photos.getUserPhotos.md b/old_docs/API_docs_v86/methods/photos.getUserPhotos.md index a1dec2ed..1f8d5c64 100644 --- a/old_docs/API_docs_v86/methods/photos.getUserPhotos.md +++ b/old_docs/API_docs_v86/methods/photos.getUserPhotos.md @@ -19,7 +19,7 @@ Returns the list of user photos. |limit|[int](../types/int.md) | Number of list elements to be returned | Yes| -### Return type: [photos\_Photos](../types/photos_Photos.md) +### Return type: [photos.Photos](../types/photos.Photos.md) ### Can bots use this method: **YES** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$photos_Photos = $MadelineProto->photos->getUserPhotos(['user_id' => InputUser, 'offset' => int, 'max_id' => long, 'limit' => int, ]); +$photos.Photos = $MadelineProto->photos->getUserPhotos(['user_id' => InputUser, 'offset' => int, 'max_id' => long, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -photos_Photos = photos.getUserPhotos({user_id=InputUser, offset=int, max_id=long, limit=int, }) +photos.Photos = photos.getUserPhotos({user_id=InputUser, offset=int, max_id=long, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v86/methods/photos.uploadProfilePhoto.md b/old_docs/API_docs_v86/methods/photos.uploadProfilePhoto.md index b6a01ee7..4de76a24 100644 --- a/old_docs/API_docs_v86/methods/photos.uploadProfilePhoto.md +++ b/old_docs/API_docs_v86/methods/photos.uploadProfilePhoto.md @@ -16,7 +16,7 @@ Updates current user profile photo. |file|[File path or InputFile](../types/InputFile.md) | File saved in parts by means of [upload.saveFilePart](../methods/upload.saveFilePart.md) method | Yes| -### Return type: [photos\_Photo](../types/photos_Photo.md) +### Return type: [photos.Photo](../types/photos.Photo.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$photos_Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, ]); +$photos.Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, ]); ``` Or, if you're into Lua: ```lua -photos_Photo = photos.uploadProfilePhoto({file=InputFile, }) +photos.Photo = photos.uploadProfilePhoto({file=InputFile, }) ``` ### Errors diff --git a/old_docs/API_docs_v86/methods/stickers.addStickerToSet.md b/old_docs/API_docs_v86/methods/stickers.addStickerToSet.md index 727d3f27..e8392355 100644 --- a/old_docs/API_docs_v86/methods/stickers.addStickerToSet.md +++ b/old_docs/API_docs_v86/methods/stickers.addStickerToSet.md @@ -17,7 +17,7 @@ Add a sticker to a stickerset, bots only. The sticker set must have been created |sticker|[InputStickerSetItem](../types/InputStickerSetItem.md) | The sticker | Yes| -### Return type: [messages\_StickerSet](../types/messages_StickerSet.md) +### Return type: [messages.StickerSet](../types/messages.StickerSet.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StickerSet = $MadelineProto->stickers->addStickerToSet(['stickerset' => InputStickerSet, 'sticker' => InputStickerSetItem, ]); +$messages.StickerSet = $MadelineProto->stickers->addStickerToSet(['stickerset' => InputStickerSet, 'sticker' => InputStickerSetItem, ]); ``` Or, if you're into Lua: ```lua -messages_StickerSet = stickers.addStickerToSet({stickerset=InputStickerSet, sticker=InputStickerSetItem, }) +messages.StickerSet = stickers.addStickerToSet({stickerset=InputStickerSet, sticker=InputStickerSetItem, }) ``` ### Errors diff --git a/old_docs/API_docs_v86/methods/stickers.changeStickerPosition.md b/old_docs/API_docs_v86/methods/stickers.changeStickerPosition.md index ed390f21..e1d8ab5e 100644 --- a/old_docs/API_docs_v86/methods/stickers.changeStickerPosition.md +++ b/old_docs/API_docs_v86/methods/stickers.changeStickerPosition.md @@ -17,7 +17,7 @@ Changes the absolute position of a sticker in the set to which it belongs; for b |position|[int](../types/int.md) | The new position of the sticker, zero-based | Yes| -### Return type: [messages\_StickerSet](../types/messages_StickerSet.md) +### Return type: [messages.StickerSet](../types/messages.StickerSet.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StickerSet = $MadelineProto->stickers->changeStickerPosition(['sticker' => InputDocument, 'position' => int, ]); +$messages.StickerSet = $MadelineProto->stickers->changeStickerPosition(['sticker' => InputDocument, 'position' => int, ]); ``` Or, if you're into Lua: ```lua -messages_StickerSet = stickers.changeStickerPosition({sticker=InputDocument, position=int, }) +messages.StickerSet = stickers.changeStickerPosition({sticker=InputDocument, position=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v86/methods/stickers.createStickerSet.md b/old_docs/API_docs_v86/methods/stickers.createStickerSet.md index 5a6ef396..7eeeb48f 100644 --- a/old_docs/API_docs_v86/methods/stickers.createStickerSet.md +++ b/old_docs/API_docs_v86/methods/stickers.createStickerSet.md @@ -20,7 +20,7 @@ Create a stickerset, bots only. |stickers|Array of [InputStickerSetItem](../types/InputStickerSetItem.md) | The stickers to add | Yes| -### Return type: [messages\_StickerSet](../types/messages_StickerSet.md) +### Return type: [messages.StickerSet](../types/messages.StickerSet.md) ### Can bots use this method: **YES** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StickerSet = $MadelineProto->stickers->createStickerSet(['masks' => Bool, 'user_id' => InputUser, 'title' => 'string', 'short_name' => 'string', 'stickers' => [InputStickerSetItem, InputStickerSetItem], ]); +$messages.StickerSet = $MadelineProto->stickers->createStickerSet(['masks' => Bool, 'user_id' => InputUser, 'title' => 'string', 'short_name' => 'string', 'stickers' => [InputStickerSetItem, InputStickerSetItem], ]); ``` Or, if you're into Lua: ```lua -messages_StickerSet = stickers.createStickerSet({masks=Bool, user_id=InputUser, title='string', short_name='string', stickers={InputStickerSetItem}, }) +messages.StickerSet = stickers.createStickerSet({masks=Bool, user_id=InputUser, title='string', short_name='string', stickers={InputStickerSetItem}, }) ``` ### Errors diff --git a/old_docs/API_docs_v86/methods/stickers.removeStickerFromSet.md b/old_docs/API_docs_v86/methods/stickers.removeStickerFromSet.md index 33f677b3..aa4927ca 100644 --- a/old_docs/API_docs_v86/methods/stickers.removeStickerFromSet.md +++ b/old_docs/API_docs_v86/methods/stickers.removeStickerFromSet.md @@ -16,7 +16,7 @@ Remove a sticker from the set where it belongs, bots only. The sticker set must |sticker|[MessageMedia, Update, Message or InputDocument](../types/InputDocument.md) | The sticker to remove | Optional| -### Return type: [messages\_StickerSet](../types/messages_StickerSet.md) +### Return type: [messages.StickerSet](../types/messages.StickerSet.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StickerSet = $MadelineProto->stickers->removeStickerFromSet(['sticker' => InputDocument, ]); +$messages.StickerSet = $MadelineProto->stickers->removeStickerFromSet(['sticker' => InputDocument, ]); ``` Or, if you're into Lua: ```lua -messages_StickerSet = stickers.removeStickerFromSet({sticker=InputDocument, }) +messages.StickerSet = stickers.removeStickerFromSet({sticker=InputDocument, }) ``` ### Errors diff --git a/old_docs/API_docs_v86/methods/updates.getChannelDifference.md b/old_docs/API_docs_v86/methods/updates.getChannelDifference.md index 5675cd33..08df3395 100644 --- a/old_docs/API_docs_v86/methods/updates.getChannelDifference.md +++ b/old_docs/API_docs_v86/methods/updates.getChannelDifference.md @@ -20,7 +20,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz for more |limit|[int](../types/int.md) | You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates | Yes| -### Return type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) +### Return type: [updates.ChannelDifference](../types/updates.ChannelDifference.md) ### Can bots use this method: **YES** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$updates_ChannelDifference = $MadelineProto->updates->getChannelDifference(['force' => Bool, 'channel' => InputChannel, 'filter' => ChannelMessagesFilter, 'pts' => int, 'limit' => int, ]); +$updates.ChannelDifference = $MadelineProto->updates->getChannelDifference(['force' => Bool, 'channel' => InputChannel, 'filter' => ChannelMessagesFilter, 'pts' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -updates_ChannelDifference = updates.getChannelDifference({force=Bool, channel=InputChannel, filter=ChannelMessagesFilter, pts=int, limit=int, }) +updates.ChannelDifference = updates.getChannelDifference({force=Bool, channel=InputChannel, filter=ChannelMessagesFilter, pts=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v86/methods/updates.getDifference.md b/old_docs/API_docs_v86/methods/updates.getDifference.md index bcfac4e2..b3796a10 100644 --- a/old_docs/API_docs_v86/methods/updates.getDifference.md +++ b/old_docs/API_docs_v86/methods/updates.getDifference.md @@ -19,7 +19,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz for more |qts|[int](../types/int.md) | You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates | Yes| -### Return type: [updates\_Difference](../types/updates_Difference.md) +### Return type: [updates.Difference](../types/updates.Difference.md) ### Can bots use this method: **YES** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$updates_Difference = $MadelineProto->updates->getDifference(['pts' => int, 'pts_total_limit' => int, 'date' => int, 'qts' => int, ]); +$updates.Difference = $MadelineProto->updates->getDifference(['pts' => int, 'pts_total_limit' => int, 'date' => int, 'qts' => int, ]); ``` Or, if you're into Lua: ```lua -updates_Difference = updates.getDifference({pts=int, pts_total_limit=int, date=int, qts=int, }) +updates.Difference = updates.getDifference({pts=int, pts_total_limit=int, date=int, qts=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v86/methods/updates.getState.md b/old_docs/API_docs_v86/methods/updates.getState.md index c591408a..9a7d2f34 100644 --- a/old_docs/API_docs_v86/methods/updates.getState.md +++ b/old_docs/API_docs_v86/methods/updates.getState.md @@ -11,7 +11,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz for more -### Return type: [updates\_State](../types/updates_State.md) +### Return type: [updates.State](../types/updates.State.md) ### Can bots use this method: **YES** @@ -28,13 +28,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$updates_State = $MadelineProto->updates->getState(); +$updates.State = $MadelineProto->updates->getState(); ``` Or, if you're into Lua: ```lua -updates_State = updates.getState({}) +updates.State = updates.getState({}) ``` ### Errors diff --git a/old_docs/API_docs_v86/methods/upload.getCdnFile.md b/old_docs/API_docs_v86/methods/upload.getCdnFile.md index a3c928b2..67b2e84e 100644 --- a/old_docs/API_docs_v86/methods/upload.getCdnFile.md +++ b/old_docs/API_docs_v86/methods/upload.getCdnFile.md @@ -18,7 +18,7 @@ You cannot use this method directly, use the upload, downloadToStream, downloadT |limit|[int](../types/int.md) | You cannot use this method directly, use the upload, downloadToStream, downloadToFile, downloadToDir methods instead; see https://docs.madelineproto.xyz for more info | Yes| -### Return type: [upload\_CdnFile](../types/upload_CdnFile.md) +### Return type: [upload.CdnFile](../types/upload.CdnFile.md) ### Can bots use this method: **NO** @@ -35,12 +35,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$upload_CdnFile = $MadelineProto->upload->getCdnFile(['file_token' => 'bytes', 'offset' => int, 'limit' => int, ]); +$upload.CdnFile = $MadelineProto->upload->getCdnFile(['file_token' => 'bytes', 'offset' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -upload_CdnFile = upload.getCdnFile({file_token='bytes', offset=int, limit=int, }) +upload.CdnFile = upload.getCdnFile({file_token='bytes', offset=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v86/methods/upload.getFile.md b/old_docs/API_docs_v86/methods/upload.getFile.md index 8aba03d4..ab9f4fe2 100644 --- a/old_docs/API_docs_v86/methods/upload.getFile.md +++ b/old_docs/API_docs_v86/methods/upload.getFile.md @@ -18,7 +18,7 @@ You cannot use this method directly, use the upload, downloadToStream, downloadT |limit|[int](../types/int.md) | You cannot use this method directly, use the upload, downloadToStream, downloadToFile, downloadToDir methods instead; see https://docs.madelineproto.xyz for more info | Yes| -### Return type: [upload\_File](../types/upload_File.md) +### Return type: [upload.File](../types/upload.File.md) ### Can bots use this method: **YES** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$upload_File = $MadelineProto->upload->getFile(['location' => InputFileLocation, 'offset' => int, 'limit' => int, ]); +$upload.File = $MadelineProto->upload->getFile(['location' => InputFileLocation, 'offset' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -upload_File = upload.getFile({location=InputFileLocation, offset=int, limit=int, }) +upload.File = upload.getFile({location=InputFileLocation, offset=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v86/methods/upload.getWebFile.md b/old_docs/API_docs_v86/methods/upload.getWebFile.md index 32f6b322..60f1b8c1 100644 --- a/old_docs/API_docs_v86/methods/upload.getWebFile.md +++ b/old_docs/API_docs_v86/methods/upload.getWebFile.md @@ -18,7 +18,7 @@ Returns content of an HTTP file or a part, by proxying the request through teleg |limit|[int](../types/int.md) | Number of bytes to be returned | Yes| -### Return type: [upload\_WebFile](../types/upload_WebFile.md) +### Return type: [upload.WebFile](../types/upload.WebFile.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$upload_WebFile = $MadelineProto->upload->getWebFile(['location' => InputWebFileLocation, 'offset' => int, 'limit' => int, ]); +$upload.WebFile = $MadelineProto->upload->getWebFile(['location' => InputWebFileLocation, 'offset' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -upload_WebFile = upload.getWebFile({location=InputWebFileLocation, offset=int, limit=int, }) +upload.WebFile = upload.getWebFile({location=InputWebFileLocation, offset=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v86/types/AccountDaysTTL.md b/old_docs/API_docs_v86/types/AccountDaysTTL.md index 12a10190..f3494aac 100644 --- a/old_docs/API_docs_v86/types/AccountDaysTTL.md +++ b/old_docs/API_docs_v86/types/AccountDaysTTL.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->account->getAccountTTL](../methods/account_getAccountTTL.md) +[$MadelineProto->account->getAccountTTL](../methods/account.getAccountTTL.md) diff --git a/old_docs/API_docs_v86/types/CdnConfig.md b/old_docs/API_docs_v86/types/CdnConfig.md index fbfe01c3..0b0fb5be 100644 --- a/old_docs/API_docs_v86/types/CdnConfig.md +++ b/old_docs/API_docs_v86/types/CdnConfig.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->help->getCdnConfig](../methods/help_getCdnConfig.md) +[$MadelineProto->help->getCdnConfig](../methods/help.getCdnConfig.md) diff --git a/old_docs/API_docs_v86/types/ChatInvite.md b/old_docs/API_docs_v86/types/ChatInvite.md index 5022a2f0..9fafabb4 100644 --- a/old_docs/API_docs_v86/types/ChatInvite.md +++ b/old_docs/API_docs_v86/types/ChatInvite.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->checkChatInvite](../methods/messages_checkChatInvite.md) +[$MadelineProto->messages->checkChatInvite](../methods/messages.checkChatInvite.md) diff --git a/old_docs/API_docs_v86/types/Config.md b/old_docs/API_docs_v86/types/Config.md index 0f7fbe70..3a23b7b7 100644 --- a/old_docs/API_docs_v86/types/Config.md +++ b/old_docs/API_docs_v86/types/Config.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->help->getConfig](../methods/help_getConfig.md) +[$MadelineProto->help->getConfig](../methods/help.getConfig.md) diff --git a/old_docs/API_docs_v86/types/ContactStatus.md b/old_docs/API_docs_v86/types/ContactStatus.md index c5f5d658..30aee6e2 100644 --- a/old_docs/API_docs_v86/types/ContactStatus.md +++ b/old_docs/API_docs_v86/types/ContactStatus.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->contacts->getStatuses](../methods/contacts_getStatuses.md) +[$MadelineProto->contacts->getStatuses](../methods/contacts.getStatuses.md) diff --git a/old_docs/API_docs_v86/types/DialogPeer.md b/old_docs/API_docs_v86/types/DialogPeer.md index 77d00a35..72c2a973 100644 --- a/old_docs/API_docs_v86/types/DialogPeer.md +++ b/old_docs/API_docs_v86/types/DialogPeer.md @@ -40,7 +40,7 @@ A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDia ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getDialogUnreadMarks](../methods/messages_getDialogUnreadMarks.md) +[$MadelineProto->messages->getDialogUnreadMarks](../methods/messages.getDialogUnreadMarks.md) diff --git a/old_docs/API_docs_v86/types/Document.md b/old_docs/API_docs_v86/types/Document.md index f68b7aa4..2cb85623 100644 --- a/old_docs/API_docs_v86/types/Document.md +++ b/old_docs/API_docs_v86/types/Document.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getDocumentByHash](../methods/messages_getDocumentByHash.md) +[$MadelineProto->messages->getDocumentByHash](../methods/messages.getDocumentByHash.md) diff --git a/old_docs/API_docs_v86/types/EncryptedChat.md b/old_docs/API_docs_v86/types/EncryptedChat.md index fd2277f6..19cf52b0 100644 --- a/old_docs/API_docs_v86/types/EncryptedChat.md +++ b/old_docs/API_docs_v86/types/EncryptedChat.md @@ -24,9 +24,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->requestEncryption](../methods/messages_requestEncryption.md) +[$MadelineProto->messages->requestEncryption](../methods/messages.requestEncryption.md) -[$MadelineProto->messages->acceptEncryption](../methods/messages_acceptEncryption.md) +[$MadelineProto->messages->acceptEncryption](../methods/messages.acceptEncryption.md) diff --git a/old_docs/API_docs_v86/types/EncryptedFile.md b/old_docs/API_docs_v86/types/EncryptedFile.md index a26d40bb..8ecf8e9d 100644 --- a/old_docs/API_docs_v86/types/EncryptedFile.md +++ b/old_docs/API_docs_v86/types/EncryptedFile.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->uploadEncryptedFile](../methods/messages_uploadEncryptedFile.md) +[$MadelineProto->messages->uploadEncryptedFile](../methods/messages.uploadEncryptedFile.md) diff --git a/old_docs/API_docs_v86/types/ExportedChatInvite.md b/old_docs/API_docs_v86/types/ExportedChatInvite.md index 4213a78f..53ce5f59 100644 --- a/old_docs/API_docs_v86/types/ExportedChatInvite.md +++ b/old_docs/API_docs_v86/types/ExportedChatInvite.md @@ -18,9 +18,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->exportChatInvite](../methods/messages_exportChatInvite.md) +[$MadelineProto->messages->exportChatInvite](../methods/messages.exportChatInvite.md) -[$MadelineProto->channels->exportInvite](../methods/channels_exportInvite.md) +[$MadelineProto->channels->exportInvite](../methods/channels.exportInvite.md) diff --git a/old_docs/API_docs_v86/types/ExportedMessageLink.md b/old_docs/API_docs_v86/types/ExportedMessageLink.md index eb2400f6..948e9c90 100644 --- a/old_docs/API_docs_v86/types/ExportedMessageLink.md +++ b/old_docs/API_docs_v86/types/ExportedMessageLink.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->channels->exportMessageLink](../methods/channels_exportMessageLink.md) +[$MadelineProto->channels->exportMessageLink](../methods/channels.exportMessageLink.md) diff --git a/old_docs/API_docs_v86/types/FileHash.md b/old_docs/API_docs_v86/types/FileHash.md index 3201d7e0..a908fb9b 100644 --- a/old_docs/API_docs_v86/types/FileHash.md +++ b/old_docs/API_docs_v86/types/FileHash.md @@ -16,11 +16,11 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->upload->reuploadCdnFile](../methods/upload_reuploadCdnFile.md) +[$MadelineProto->upload->reuploadCdnFile](../methods/upload.reuploadCdnFile.md) -[$MadelineProto->upload->getCdnFileHashes](../methods/upload_getCdnFileHashes.md) +[$MadelineProto->upload->getCdnFileHashes](../methods/upload.getCdnFileHashes.md) -[$MadelineProto->upload->getFileHashes](../methods/upload_getFileHashes.md) +[$MadelineProto->upload->getFileHashes](../methods/upload.getFileHashes.md) diff --git a/old_docs/API_docs_v86/types/LangPackDifference.md b/old_docs/API_docs_v86/types/LangPackDifference.md index fd9f41f2..e04125b8 100644 --- a/old_docs/API_docs_v86/types/LangPackDifference.md +++ b/old_docs/API_docs_v86/types/LangPackDifference.md @@ -16,9 +16,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->langpack->getLangPack](../methods/langpack_getLangPack.md) +[$MadelineProto->langpack->getLangPack](../methods/langpack.getLangPack.md) -[$MadelineProto->langpack->getDifference](../methods/langpack_getDifference.md) +[$MadelineProto->langpack->getDifference](../methods/langpack.getDifference.md) diff --git a/old_docs/API_docs_v86/types/LangPackLanguage.md b/old_docs/API_docs_v86/types/LangPackLanguage.md index f7459fc2..280d0243 100644 --- a/old_docs/API_docs_v86/types/LangPackLanguage.md +++ b/old_docs/API_docs_v86/types/LangPackLanguage.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->langpack->getLanguages](../methods/langpack_getLanguages.md) +[$MadelineProto->langpack->getLanguages](../methods/langpack.getLanguages.md) diff --git a/old_docs/API_docs_v86/types/LangPackString.md b/old_docs/API_docs_v86/types/LangPackString.md index f1a43dd9..15f9dc3d 100644 --- a/old_docs/API_docs_v86/types/LangPackString.md +++ b/old_docs/API_docs_v86/types/LangPackString.md @@ -20,7 +20,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->langpack->getStrings](../methods/langpack_getStrings.md) +[$MadelineProto->langpack->getStrings](../methods/langpack.getStrings.md) diff --git a/old_docs/API_docs_v86/types/MessageMedia.md b/old_docs/API_docs_v86/types/MessageMedia.md index fa00818d..23c0e9a5 100644 --- a/old_docs/API_docs_v86/types/MessageMedia.md +++ b/old_docs/API_docs_v86/types/MessageMedia.md @@ -36,9 +36,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getWebPagePreview](../methods/messages_getWebPagePreview.md) +[$MadelineProto->messages->getWebPagePreview](../methods/messages.getWebPagePreview.md) -[$MadelineProto->messages->uploadMedia](../methods/messages_uploadMedia.md) +[$MadelineProto->messages->uploadMedia](../methods/messages.uploadMedia.md) diff --git a/old_docs/API_docs_v86/types/MessageRange.md b/old_docs/API_docs_v86/types/MessageRange.md index c93011aa..ffd65e90 100644 --- a/old_docs/API_docs_v86/types/MessageRange.md +++ b/old_docs/API_docs_v86/types/MessageRange.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getSplitRanges](../methods/messages_getSplitRanges.md) +[$MadelineProto->messages->getSplitRanges](../methods/messages.getSplitRanges.md) diff --git a/old_docs/API_docs_v86/types/NearestDc.md b/old_docs/API_docs_v86/types/NearestDc.md index 31f24377..296a4dff 100644 --- a/old_docs/API_docs_v86/types/NearestDc.md +++ b/old_docs/API_docs_v86/types/NearestDc.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->help->getNearestDc](../methods/help_getNearestDc.md) +[$MadelineProto->help->getNearestDc](../methods/help.getNearestDc.md) diff --git a/old_docs/API_docs_v86/types/PeerNotifySettings.md b/old_docs/API_docs_v86/types/PeerNotifySettings.md index ecb483c5..d3b4833c 100644 --- a/old_docs/API_docs_v86/types/PeerNotifySettings.md +++ b/old_docs/API_docs_v86/types/PeerNotifySettings.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->account->getNotifySettings](../methods/account_getNotifySettings.md) +[$MadelineProto->account->getNotifySettings](../methods/account.getNotifySettings.md) diff --git a/old_docs/API_docs_v86/types/PeerSettings.md b/old_docs/API_docs_v86/types/PeerSettings.md index 60ac3765..31ef7e38 100644 --- a/old_docs/API_docs_v86/types/PeerSettings.md +++ b/old_docs/API_docs_v86/types/PeerSettings.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getPeerSettings](../methods/messages_getPeerSettings.md) +[$MadelineProto->messages->getPeerSettings](../methods/messages.getPeerSettings.md) diff --git a/old_docs/API_docs_v86/types/README.md b/old_docs/API_docs_v86/types/README.md index a96dbbf4..b174c01e 100644 --- a/old_docs/API_docs_v86/types/README.md +++ b/old_docs/API_docs_v86/types/README.md @@ -329,159 +329,159 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png [X](X.md) -[account\_AuthorizationForm](account_AuthorizationForm.md) +[account.AuthorizationForm](account.AuthorizationForm.md) -[account\_Authorizations](account_Authorizations.md) +[account.Authorizations](account.Authorizations.md) -[account\_Password](account_Password.md) +[account.Password](account.Password.md) -[account\_PasswordInputSettings](account_PasswordInputSettings.md) +[account.PasswordInputSettings](account.PasswordInputSettings.md) -[account\_PasswordSettings](account_PasswordSettings.md) +[account.PasswordSettings](account.PasswordSettings.md) -[account\_PrivacyRules](account_PrivacyRules.md) +[account.PrivacyRules](account.PrivacyRules.md) -[account\_SentEmailCode](account_SentEmailCode.md) +[account.SentEmailCode](account.SentEmailCode.md) -[account\_Takeout](account_Takeout.md) +[account.Takeout](account.Takeout.md) -[account\_TmpPassword](account_TmpPassword.md) +[account.TmpPassword](account.TmpPassword.md) -[account\_WebAuthorizations](account_WebAuthorizations.md) +[account.WebAuthorizations](account.WebAuthorizations.md) -[auth\_Authorization](auth_Authorization.md) +[auth.Authorization](auth.Authorization.md) -[auth\_CheckedPhone](auth_CheckedPhone.md) +[auth.CheckedPhone](auth.CheckedPhone.md) -[auth\_CodeType](auth_CodeType.md) +[auth.CodeType](auth.CodeType.md) -[auth\_ExportedAuthorization](auth_ExportedAuthorization.md) +[auth.ExportedAuthorization](auth.ExportedAuthorization.md) -[auth\_PasswordRecovery](auth_PasswordRecovery.md) +[auth.PasswordRecovery](auth.PasswordRecovery.md) -[auth\_SentCode](auth_SentCode.md) +[auth.SentCode](auth.SentCode.md) -[auth\_SentCodeType](auth_SentCodeType.md) +[auth.SentCodeType](auth.SentCodeType.md) -[channels\_AdminLogResults](channels_AdminLogResults.md) +[channels.AdminLogResults](channels.AdminLogResults.md) -[channels\_ChannelParticipant](channels_ChannelParticipant.md) +[channels.ChannelParticipant](channels.ChannelParticipant.md) -[channels\_ChannelParticipants](channels_ChannelParticipants.md) +[channels.ChannelParticipants](channels.ChannelParticipants.md) -[contacts\_Blocked](contacts_Blocked.md) +[contacts.Blocked](contacts.Blocked.md) -[contacts\_Contacts](contacts_Contacts.md) +[contacts.Contacts](contacts.Contacts.md) -[contacts\_Found](contacts_Found.md) +[contacts.Found](contacts.Found.md) -[contacts\_ImportedContacts](contacts_ImportedContacts.md) +[contacts.ImportedContacts](contacts.ImportedContacts.md) -[contacts\_Link](contacts_Link.md) +[contacts.Link](contacts.Link.md) -[contacts\_ResolvedPeer](contacts_ResolvedPeer.md) +[contacts.ResolvedPeer](contacts.ResolvedPeer.md) -[contacts\_TopPeers](contacts_TopPeers.md) +[contacts.TopPeers](contacts.TopPeers.md) -[help\_AppUpdate](help_AppUpdate.md) +[help.AppUpdate](help.AppUpdate.md) -[help\_ConfigSimple](help_ConfigSimple.md) +[help.ConfigSimple](help.ConfigSimple.md) -[help\_DeepLinkInfo](help_DeepLinkInfo.md) +[help.DeepLinkInfo](help.DeepLinkInfo.md) -[help\_InviteText](help_InviteText.md) +[help.InviteText](help.InviteText.md) -[help\_PassportConfig](help_PassportConfig.md) +[help.PassportConfig](help.PassportConfig.md) -[help\_ProxyData](help_ProxyData.md) +[help.ProxyData](help.ProxyData.md) -[help\_RecentMeUrls](help_RecentMeUrls.md) +[help.RecentMeUrls](help.RecentMeUrls.md) -[help\_Support](help_Support.md) +[help.Support](help.Support.md) -[help\_TermsOfService](help_TermsOfService.md) +[help.TermsOfService](help.TermsOfService.md) -[help\_TermsOfServiceUpdate](help_TermsOfServiceUpdate.md) +[help.TermsOfServiceUpdate](help.TermsOfServiceUpdate.md) [int](int.md) [long](long.md) -[messages\_AffectedHistory](messages_AffectedHistory.md) +[messages.AffectedHistory](messages.AffectedHistory.md) -[messages\_AffectedMessages](messages_AffectedMessages.md) +[messages.AffectedMessages](messages.AffectedMessages.md) -[messages\_AllStickers](messages_AllStickers.md) +[messages.AllStickers](messages.AllStickers.md) -[messages\_ArchivedStickers](messages_ArchivedStickers.md) +[messages.ArchivedStickers](messages.ArchivedStickers.md) -[messages\_BotCallbackAnswer](messages_BotCallbackAnswer.md) +[messages.BotCallbackAnswer](messages.BotCallbackAnswer.md) -[messages\_BotResults](messages_BotResults.md) +[messages.BotResults](messages.BotResults.md) -[messages\_ChatFull](messages_ChatFull.md) +[messages.ChatFull](messages.ChatFull.md) -[messages\_Chats](messages_Chats.md) +[messages.Chats](messages.Chats.md) -[messages\_DhConfig](messages_DhConfig.md) +[messages.DhConfig](messages.DhConfig.md) -[messages\_Dialogs](messages_Dialogs.md) +[messages.Dialogs](messages.Dialogs.md) -[messages\_FavedStickers](messages_FavedStickers.md) +[messages.FavedStickers](messages.FavedStickers.md) -[messages\_FeaturedStickers](messages_FeaturedStickers.md) +[messages.FeaturedStickers](messages.FeaturedStickers.md) -[messages\_FoundGifs](messages_FoundGifs.md) +[messages.FoundGifs](messages.FoundGifs.md) -[messages\_FoundStickerSets](messages_FoundStickerSets.md) +[messages.FoundStickerSets](messages.FoundStickerSets.md) -[messages\_HighScores](messages_HighScores.md) +[messages.HighScores](messages.HighScores.md) -[messages\_MessageEditData](messages_MessageEditData.md) +[messages.MessageEditData](messages.MessageEditData.md) -[messages\_Messages](messages_Messages.md) +[messages.Messages](messages.Messages.md) -[messages\_PeerDialogs](messages_PeerDialogs.md) +[messages.PeerDialogs](messages.PeerDialogs.md) -[messages\_RecentStickers](messages_RecentStickers.md) +[messages.RecentStickers](messages.RecentStickers.md) -[messages\_SavedGifs](messages_SavedGifs.md) +[messages.SavedGifs](messages.SavedGifs.md) -[messages\_SentEncryptedMessage](messages_SentEncryptedMessage.md) +[messages.SentEncryptedMessage](messages.SentEncryptedMessage.md) -[messages\_StickerSet](messages_StickerSet.md) +[messages.StickerSet](messages.StickerSet.md) -[messages\_StickerSetInstallResult](messages_StickerSetInstallResult.md) +[messages.StickerSetInstallResult](messages.StickerSetInstallResult.md) -[messages\_Stickers](messages_Stickers.md) +[messages.Stickers](messages.Stickers.md) -[payments\_PaymentForm](payments_PaymentForm.md) +[payments.PaymentForm](payments.PaymentForm.md) -[payments\_PaymentReceipt](payments_PaymentReceipt.md) +[payments.PaymentReceipt](payments.PaymentReceipt.md) -[payments\_PaymentResult](payments_PaymentResult.md) +[payments.PaymentResult](payments.PaymentResult.md) -[payments\_SavedInfo](payments_SavedInfo.md) +[payments.SavedInfo](payments.SavedInfo.md) -[payments\_ValidatedRequestedInfo](payments_ValidatedRequestedInfo.md) +[payments.ValidatedRequestedInfo](payments.ValidatedRequestedInfo.md) -[phone\_PhoneCall](phone_PhoneCall.md) +[phone.PhoneCall](phone.PhoneCall.md) -[photos\_Photo](photos_Photo.md) +[photos.Photo](photos.Photo.md) -[photos\_Photos](photos_Photos.md) +[photos.Photos](photos.Photos.md) -[storage\_FileType](storage_FileType.md) +[storage.FileType](storage.FileType.md) -[updates\_ChannelDifference](updates_ChannelDifference.md) +[updates.ChannelDifference](updates.ChannelDifference.md) -[updates\_Difference](updates_Difference.md) +[updates.Difference](updates.Difference.md) -[updates\_State](updates_State.md) +[updates.State](updates.State.md) -[upload\_CdnFile](upload_CdnFile.md) +[upload.CdnFile](upload.CdnFile.md) -[upload\_File](upload_File.md) +[upload.File](upload.File.md) -[upload\_WebFile](upload_WebFile.md) +[upload.WebFile](upload.WebFile.md) diff --git a/old_docs/API_docs_v86/types/ReceivedNotifyMessage.md b/old_docs/API_docs_v86/types/ReceivedNotifyMessage.md index c7fc3b8c..416aa275 100644 --- a/old_docs/API_docs_v86/types/ReceivedNotifyMessage.md +++ b/old_docs/API_docs_v86/types/ReceivedNotifyMessage.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->receivedMessages](../methods/messages_receivedMessages.md) +[$MadelineProto->messages->receivedMessages](../methods/messages.receivedMessages.md) diff --git a/old_docs/API_docs_v86/types/SavedContact.md b/old_docs/API_docs_v86/types/SavedContact.md index c337f3eb..73a91ba6 100644 --- a/old_docs/API_docs_v86/types/SavedContact.md +++ b/old_docs/API_docs_v86/types/SavedContact.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->contacts->getSaved](../methods/contacts_getSaved.md) +[$MadelineProto->contacts->getSaved](../methods/contacts.getSaved.md) diff --git a/old_docs/API_docs_v86/types/SecureValue.md b/old_docs/API_docs_v86/types/SecureValue.md index 8490f399..2ab18f68 100644 --- a/old_docs/API_docs_v86/types/SecureValue.md +++ b/old_docs/API_docs_v86/types/SecureValue.md @@ -16,11 +16,11 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->account->getAllSecureValues](../methods/account_getAllSecureValues.md) +[$MadelineProto->account->getAllSecureValues](../methods/account.getAllSecureValues.md) -[$MadelineProto->account->getSecureValue](../methods/account_getSecureValue.md) +[$MadelineProto->account->getSecureValue](../methods/account.getSecureValue.md) -[$MadelineProto->account->saveSecureValue](../methods/account_saveSecureValue.md) +[$MadelineProto->account->saveSecureValue](../methods/account.saveSecureValue.md) diff --git a/old_docs/API_docs_v86/types/StickerSetCovered.md b/old_docs/API_docs_v86/types/StickerSetCovered.md index ffd1da1f..f57cd117 100644 --- a/old_docs/API_docs_v86/types/StickerSetCovered.md +++ b/old_docs/API_docs_v86/types/StickerSetCovered.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getAttachedStickers](../methods/messages_getAttachedStickers.md) +[$MadelineProto->messages->getAttachedStickers](../methods/messages.getAttachedStickers.md) diff --git a/old_docs/API_docs_v86/types/Updates.md b/old_docs/API_docs_v86/types/Updates.md index a62f270d..ce894d44 100644 --- a/old_docs/API_docs_v86/types/Updates.md +++ b/old_docs/API_docs_v86/types/Updates.md @@ -28,73 +28,73 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->sendMessage](../methods/messages_sendMessage.md) +[$MadelineProto->messages->sendMessage](../methods/messages.sendMessage.md) -[$MadelineProto->messages->sendMedia](../methods/messages_sendMedia.md) +[$MadelineProto->messages->sendMedia](../methods/messages.sendMedia.md) -[$MadelineProto->messages->forwardMessages](../methods/messages_forwardMessages.md) +[$MadelineProto->messages->forwardMessages](../methods/messages.forwardMessages.md) -[$MadelineProto->messages->editChatTitle](../methods/messages_editChatTitle.md) +[$MadelineProto->messages->editChatTitle](../methods/messages.editChatTitle.md) -[$MadelineProto->messages->editChatPhoto](../methods/messages_editChatPhoto.md) +[$MadelineProto->messages->editChatPhoto](../methods/messages.editChatPhoto.md) -[$MadelineProto->messages->addChatUser](../methods/messages_addChatUser.md) +[$MadelineProto->messages->addChatUser](../methods/messages.addChatUser.md) -[$MadelineProto->messages->deleteChatUser](../methods/messages_deleteChatUser.md) +[$MadelineProto->messages->deleteChatUser](../methods/messages.deleteChatUser.md) -[$MadelineProto->messages->createChat](../methods/messages_createChat.md) +[$MadelineProto->messages->createChat](../methods/messages.createChat.md) -[$MadelineProto->messages->importChatInvite](../methods/messages_importChatInvite.md) +[$MadelineProto->messages->importChatInvite](../methods/messages.importChatInvite.md) -[$MadelineProto->messages->startBot](../methods/messages_startBot.md) +[$MadelineProto->messages->startBot](../methods/messages.startBot.md) -[$MadelineProto->messages->toggleChatAdmins](../methods/messages_toggleChatAdmins.md) +[$MadelineProto->messages->toggleChatAdmins](../methods/messages.toggleChatAdmins.md) -[$MadelineProto->messages->migrateChat](../methods/messages_migrateChat.md) +[$MadelineProto->messages->migrateChat](../methods/messages.migrateChat.md) -[$MadelineProto->messages->sendInlineBotResult](../methods/messages_sendInlineBotResult.md) +[$MadelineProto->messages->sendInlineBotResult](../methods/messages.sendInlineBotResult.md) -[$MadelineProto->messages->editMessage](../methods/messages_editMessage.md) +[$MadelineProto->messages->editMessage](../methods/messages.editMessage.md) -[$MadelineProto->messages->getAllDrafts](../methods/messages_getAllDrafts.md) +[$MadelineProto->messages->getAllDrafts](../methods/messages.getAllDrafts.md) -[$MadelineProto->messages->setGameScore](../methods/messages_setGameScore.md) +[$MadelineProto->messages->setGameScore](../methods/messages.setGameScore.md) -[$MadelineProto->messages->sendScreenshotNotification](../methods/messages_sendScreenshotNotification.md) +[$MadelineProto->messages->sendScreenshotNotification](../methods/messages.sendScreenshotNotification.md) -[$MadelineProto->messages->sendMultiMedia](../methods/messages_sendMultiMedia.md) +[$MadelineProto->messages->sendMultiMedia](../methods/messages.sendMultiMedia.md) -[$MadelineProto->help->getAppChangelog](../methods/help_getAppChangelog.md) +[$MadelineProto->help->getAppChangelog](../methods/help.getAppChangelog.md) -[$MadelineProto->channels->createChannel](../methods/channels_createChannel.md) +[$MadelineProto->channels->createChannel](../methods/channels.createChannel.md) -[$MadelineProto->channels->editAdmin](../methods/channels_editAdmin.md) +[$MadelineProto->channels->editAdmin](../methods/channels.editAdmin.md) -[$MadelineProto->channels->editTitle](../methods/channels_editTitle.md) +[$MadelineProto->channels->editTitle](../methods/channels.editTitle.md) -[$MadelineProto->channels->editPhoto](../methods/channels_editPhoto.md) +[$MadelineProto->channels->editPhoto](../methods/channels.editPhoto.md) -[$MadelineProto->channels->joinChannel](../methods/channels_joinChannel.md) +[$MadelineProto->channels->joinChannel](../methods/channels.joinChannel.md) -[$MadelineProto->channels->leaveChannel](../methods/channels_leaveChannel.md) +[$MadelineProto->channels->leaveChannel](../methods/channels.leaveChannel.md) -[$MadelineProto->channels->inviteToChannel](../methods/channels_inviteToChannel.md) +[$MadelineProto->channels->inviteToChannel](../methods/channels.inviteToChannel.md) -[$MadelineProto->channels->deleteChannel](../methods/channels_deleteChannel.md) +[$MadelineProto->channels->deleteChannel](../methods/channels.deleteChannel.md) -[$MadelineProto->channels->toggleInvites](../methods/channels_toggleInvites.md) +[$MadelineProto->channels->toggleInvites](../methods/channels.toggleInvites.md) -[$MadelineProto->channels->toggleSignatures](../methods/channels_toggleSignatures.md) +[$MadelineProto->channels->toggleSignatures](../methods/channels.toggleSignatures.md) -[$MadelineProto->channels->updatePinnedMessage](../methods/channels_updatePinnedMessage.md) +[$MadelineProto->channels->updatePinnedMessage](../methods/channels.updatePinnedMessage.md) -[$MadelineProto->channels->editBanned](../methods/channels_editBanned.md) +[$MadelineProto->channels->editBanned](../methods/channels.editBanned.md) -[$MadelineProto->channels->togglePreHistoryHidden](../methods/channels_togglePreHistoryHidden.md) +[$MadelineProto->channels->togglePreHistoryHidden](../methods/channels.togglePreHistoryHidden.md) -[$MadelineProto->phone->discardCall](../methods/phone_discardCall.md) +[$MadelineProto->phone->discardCall](../methods/phone.discardCall.md) -[$MadelineProto->phone->setCallRating](../methods/phone_setCallRating.md) +[$MadelineProto->phone->setCallRating](../methods/phone.setCallRating.md) diff --git a/old_docs/API_docs_v86/types/User.md b/old_docs/API_docs_v86/types/User.md index 3abd182f..a2e028f4 100644 --- a/old_docs/API_docs_v86/types/User.md +++ b/old_docs/API_docs_v86/types/User.md @@ -42,15 +42,15 @@ A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDia ### Methods that return an object of this type (methods): -[$MadelineProto->account->updateProfile](../methods/account_updateProfile.md) +[$MadelineProto->account->updateProfile](../methods/account.updateProfile.md) -[$MadelineProto->account->updateUsername](../methods/account_updateUsername.md) +[$MadelineProto->account->updateUsername](../methods/account.updateUsername.md) -[$MadelineProto->account->changePhone](../methods/account_changePhone.md) +[$MadelineProto->account->changePhone](../methods/account.changePhone.md) -[$MadelineProto->users->getUsers](../methods/users_getUsers.md) +[$MadelineProto->users->getUsers](../methods/users.getUsers.md) -[$MadelineProto->contacts->importCard](../methods/contacts_importCard.md) +[$MadelineProto->contacts->importCard](../methods/contacts.importCard.md) diff --git a/old_docs/API_docs_v86/types/UserFull.md b/old_docs/API_docs_v86/types/UserFull.md index 79ad30bb..ac50052f 100644 --- a/old_docs/API_docs_v86/types/UserFull.md +++ b/old_docs/API_docs_v86/types/UserFull.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->users->getFullUser](../methods/users_getFullUser.md) +[$MadelineProto->users->getFullUser](../methods/users.getFullUser.md) diff --git a/old_docs/API_docs_v86/types/UserProfilePhoto.md b/old_docs/API_docs_v86/types/UserProfilePhoto.md index e5243a2e..e81e92fd 100644 --- a/old_docs/API_docs_v86/types/UserProfilePhoto.md +++ b/old_docs/API_docs_v86/types/UserProfilePhoto.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->photos->updateProfilePhoto](../methods/photos_updateProfilePhoto.md) +[$MadelineProto->photos->updateProfilePhoto](../methods/photos.updateProfilePhoto.md) diff --git a/old_docs/API_docs_v86/types/WallPaper.md b/old_docs/API_docs_v86/types/WallPaper.md index 8c5ac7cf..45337565 100644 --- a/old_docs/API_docs_v86/types/WallPaper.md +++ b/old_docs/API_docs_v86/types/WallPaper.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->account->getWallPapers](../methods/account_getWallPapers.md) +[$MadelineProto->account->getWallPapers](../methods/account.getWallPapers.md) diff --git a/old_docs/API_docs_v86/types/WebPage.md b/old_docs/API_docs_v86/types/WebPage.md index a3df791f..f6b61c5e 100644 --- a/old_docs/API_docs_v86/types/WebPage.md +++ b/old_docs/API_docs_v86/types/WebPage.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getWebPage](../methods/messages_getWebPage.md) +[$MadelineProto->messages->getWebPage](../methods/messages.getWebPage.md) diff --git a/old_docs/API_docs_v86/types/account.AuthorizationForm.md b/old_docs/API_docs_v86/types/account.AuthorizationForm.md new file mode 100644 index 00000000..860ff40f --- /dev/null +++ b/old_docs/API_docs_v86/types/account.AuthorizationForm.md @@ -0,0 +1,22 @@ +--- +title: account.AuthorizationForm +description: constructors and methods of type account.AuthorizationForm +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.AuthorizationForm +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.authorizationForm](../constructors/account.authorizationForm.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getAuthorizationForm](../methods/account.getAuthorizationForm.md) + + + diff --git a/old_docs/API_docs_v86/types/account.Authorizations.md b/old_docs/API_docs_v86/types/account.Authorizations.md new file mode 100644 index 00000000..f9112038 --- /dev/null +++ b/old_docs/API_docs_v86/types/account.Authorizations.md @@ -0,0 +1,22 @@ +--- +title: account.Authorizations +description: constructors and methods of type account.Authorizations +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.Authorizations +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.authorizations](../constructors/account.authorizations.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getAuthorizations](../methods/account.getAuthorizations.md) + + + diff --git a/old_docs/API_docs_v86/types/account.Password.md b/old_docs/API_docs_v86/types/account.Password.md new file mode 100644 index 00000000..190704a3 --- /dev/null +++ b/old_docs/API_docs_v86/types/account.Password.md @@ -0,0 +1,22 @@ +--- +title: account.Password +description: constructors and methods of type account.Password +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.Password +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.password](../constructors/account.password.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getPassword](../methods/account.getPassword.md) + + + diff --git a/old_docs/API_docs_v86/types/account.PasswordInputSettings.md b/old_docs/API_docs_v86/types/account.PasswordInputSettings.md new file mode 100644 index 00000000..72e11fdc --- /dev/null +++ b/old_docs/API_docs_v86/types/account.PasswordInputSettings.md @@ -0,0 +1,20 @@ +--- +title: account.PasswordInputSettings +description: constructors and methods of type account.PasswordInputSettings +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.PasswordInputSettings +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.passwordInputSettings](../constructors/account.passwordInputSettings.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v86/types/account.PasswordSettings.md b/old_docs/API_docs_v86/types/account.PasswordSettings.md new file mode 100644 index 00000000..47016832 --- /dev/null +++ b/old_docs/API_docs_v86/types/account.PasswordSettings.md @@ -0,0 +1,22 @@ +--- +title: account.PasswordSettings +description: constructors and methods of type account.PasswordSettings +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.PasswordSettings +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.passwordSettings](../constructors/account.passwordSettings.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getPasswordSettings](../methods/account.getPasswordSettings.md) + + + diff --git a/old_docs/API_docs_v86/types/account.PrivacyRules.md b/old_docs/API_docs_v86/types/account.PrivacyRules.md new file mode 100644 index 00000000..738651ad --- /dev/null +++ b/old_docs/API_docs_v86/types/account.PrivacyRules.md @@ -0,0 +1,24 @@ +--- +title: account.PrivacyRules +description: constructors and methods of type account.PrivacyRules +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.PrivacyRules +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.privacyRules](../constructors/account.privacyRules.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getPrivacy](../methods/account.getPrivacy.md) + +[$MadelineProto->account->setPrivacy](../methods/account.setPrivacy.md) + + + diff --git a/old_docs/API_docs_v86/types/account.SentEmailCode.md b/old_docs/API_docs_v86/types/account.SentEmailCode.md new file mode 100644 index 00000000..6adcd649 --- /dev/null +++ b/old_docs/API_docs_v86/types/account.SentEmailCode.md @@ -0,0 +1,22 @@ +--- +title: account.SentEmailCode +description: constructors and methods of type account.SentEmailCode +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.SentEmailCode +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.sentEmailCode](../constructors/account.sentEmailCode.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->sendVerifyEmailCode](../methods/account.sendVerifyEmailCode.md) + + + diff --git a/old_docs/API_docs_v86/types/account.Takeout.md b/old_docs/API_docs_v86/types/account.Takeout.md new file mode 100644 index 00000000..96998ce4 --- /dev/null +++ b/old_docs/API_docs_v86/types/account.Takeout.md @@ -0,0 +1,22 @@ +--- +title: account.Takeout +description: constructors and methods of type account.Takeout +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.Takeout +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.takeout](../constructors/account.takeout.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->initTakeoutSession](../methods/account.initTakeoutSession.md) + + + diff --git a/old_docs/API_docs_v86/types/account.TmpPassword.md b/old_docs/API_docs_v86/types/account.TmpPassword.md new file mode 100644 index 00000000..2116c6c0 --- /dev/null +++ b/old_docs/API_docs_v86/types/account.TmpPassword.md @@ -0,0 +1,22 @@ +--- +title: account.TmpPassword +description: constructors and methods of type account.TmpPassword +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.TmpPassword +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.tmpPassword](../constructors/account.tmpPassword.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getTmpPassword](../methods/account.getTmpPassword.md) + + + diff --git a/old_docs/API_docs_v86/types/account.WebAuthorizations.md b/old_docs/API_docs_v86/types/account.WebAuthorizations.md new file mode 100644 index 00000000..931633ef --- /dev/null +++ b/old_docs/API_docs_v86/types/account.WebAuthorizations.md @@ -0,0 +1,22 @@ +--- +title: account.WebAuthorizations +description: constructors and methods of type account.WebAuthorizations +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.WebAuthorizations +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.webAuthorizations](../constructors/account.webAuthorizations.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getWebAuthorizations](../methods/account.getWebAuthorizations.md) + + + diff --git a/old_docs/API_docs_v86/types/account_AuthorizationForm.md b/old_docs/API_docs_v86/types/account_AuthorizationForm.md deleted file mode 100644 index 5eec2b92..00000000 --- a/old_docs/API_docs_v86/types/account_AuthorizationForm.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_AuthorizationForm -description: constructors and methods of type account_AuthorizationForm -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_AuthorizationForm -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_authorizationForm](../constructors/account_authorizationForm.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getAuthorizationForm](../methods/account_getAuthorizationForm.md) - - - diff --git a/old_docs/API_docs_v86/types/account_Authorizations.md b/old_docs/API_docs_v86/types/account_Authorizations.md deleted file mode 100644 index 4709ddb5..00000000 --- a/old_docs/API_docs_v86/types/account_Authorizations.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_Authorizations -description: constructors and methods of type account_Authorizations -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_Authorizations -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_authorizations](../constructors/account_authorizations.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getAuthorizations](../methods/account_getAuthorizations.md) - - - diff --git a/old_docs/API_docs_v86/types/account_Password.md b/old_docs/API_docs_v86/types/account_Password.md deleted file mode 100644 index f3b6e065..00000000 --- a/old_docs/API_docs_v86/types/account_Password.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_Password -description: constructors and methods of type account_Password -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_Password -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_password](../constructors/account_password.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getPassword](../methods/account_getPassword.md) - - - diff --git a/old_docs/API_docs_v86/types/account_PasswordInputSettings.md b/old_docs/API_docs_v86/types/account_PasswordInputSettings.md deleted file mode 100644 index a6455eb8..00000000 --- a/old_docs/API_docs_v86/types/account_PasswordInputSettings.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: account_PasswordInputSettings -description: constructors and methods of type account_PasswordInputSettings -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_PasswordInputSettings -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_passwordInputSettings](../constructors/account_passwordInputSettings.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v86/types/account_PasswordSettings.md b/old_docs/API_docs_v86/types/account_PasswordSettings.md deleted file mode 100644 index 687eb217..00000000 --- a/old_docs/API_docs_v86/types/account_PasswordSettings.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_PasswordSettings -description: constructors and methods of type account_PasswordSettings -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_PasswordSettings -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_passwordSettings](../constructors/account_passwordSettings.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getPasswordSettings](../methods/account_getPasswordSettings.md) - - - diff --git a/old_docs/API_docs_v86/types/account_PrivacyRules.md b/old_docs/API_docs_v86/types/account_PrivacyRules.md deleted file mode 100644 index 40b00077..00000000 --- a/old_docs/API_docs_v86/types/account_PrivacyRules.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: account_PrivacyRules -description: constructors and methods of type account_PrivacyRules -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_PrivacyRules -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_privacyRules](../constructors/account_privacyRules.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getPrivacy](../methods/account_getPrivacy.md) - -[$MadelineProto->account->setPrivacy](../methods/account_setPrivacy.md) - - - diff --git a/old_docs/API_docs_v86/types/account_SentEmailCode.md b/old_docs/API_docs_v86/types/account_SentEmailCode.md deleted file mode 100644 index 4aa38335..00000000 --- a/old_docs/API_docs_v86/types/account_SentEmailCode.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_SentEmailCode -description: constructors and methods of type account_SentEmailCode -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_SentEmailCode -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_sentEmailCode](../constructors/account_sentEmailCode.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->sendVerifyEmailCode](../methods/account_sendVerifyEmailCode.md) - - - diff --git a/old_docs/API_docs_v86/types/account_Takeout.md b/old_docs/API_docs_v86/types/account_Takeout.md deleted file mode 100644 index 26960f88..00000000 --- a/old_docs/API_docs_v86/types/account_Takeout.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_Takeout -description: constructors and methods of type account_Takeout -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_Takeout -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_takeout](../constructors/account_takeout.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->initTakeoutSession](../methods/account_initTakeoutSession.md) - - - diff --git a/old_docs/API_docs_v86/types/account_TmpPassword.md b/old_docs/API_docs_v86/types/account_TmpPassword.md deleted file mode 100644 index d7557921..00000000 --- a/old_docs/API_docs_v86/types/account_TmpPassword.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_TmpPassword -description: constructors and methods of type account_TmpPassword -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_TmpPassword -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_tmpPassword](../constructors/account_tmpPassword.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getTmpPassword](../methods/account_getTmpPassword.md) - - - diff --git a/old_docs/API_docs_v86/types/account_WebAuthorizations.md b/old_docs/API_docs_v86/types/account_WebAuthorizations.md deleted file mode 100644 index 1202632b..00000000 --- a/old_docs/API_docs_v86/types/account_WebAuthorizations.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_WebAuthorizations -description: constructors and methods of type account_WebAuthorizations -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_WebAuthorizations -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_webAuthorizations](../constructors/account_webAuthorizations.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getWebAuthorizations](../methods/account_getWebAuthorizations.md) - - - diff --git a/old_docs/API_docs_v86/types/auth.Authorization.md b/old_docs/API_docs_v86/types/auth.Authorization.md new file mode 100644 index 00000000..adcfa7d3 --- /dev/null +++ b/old_docs/API_docs_v86/types/auth.Authorization.md @@ -0,0 +1,32 @@ +--- +title: auth.Authorization +description: constructors and methods of type auth.Authorization +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.Authorization +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.authorization](../constructors/auth.authorization.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->signUp](../methods/auth.signUp.md) + +[$MadelineProto->auth->signIn](../methods/auth.signIn.md) + +[$MadelineProto->auth->importAuthorization](../methods/auth.importAuthorization.md) + +[$MadelineProto->auth->importBotAuthorization](../methods/auth.importBotAuthorization.md) + +[$MadelineProto->auth->checkPassword](../methods/auth.checkPassword.md) + +[$MadelineProto->auth->recoverPassword](../methods/auth.recoverPassword.md) + + + diff --git a/old_docs/API_docs_v86/types/auth.CheckedPhone.md b/old_docs/API_docs_v86/types/auth.CheckedPhone.md new file mode 100644 index 00000000..1d6672e7 --- /dev/null +++ b/old_docs/API_docs_v86/types/auth.CheckedPhone.md @@ -0,0 +1,20 @@ +--- +title: auth.CheckedPhone +description: constructors and methods of type auth.CheckedPhone +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.CheckedPhone +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.checkedPhone](../constructors/auth.checkedPhone.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v86/types/auth.CodeType.md b/old_docs/API_docs_v86/types/auth.CodeType.md new file mode 100644 index 00000000..8d2b308d --- /dev/null +++ b/old_docs/API_docs_v86/types/auth.CodeType.md @@ -0,0 +1,24 @@ +--- +title: auth.CodeType +description: constructors and methods of type auth.CodeType +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.CodeType +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.codeTypeSms](../constructors/auth.codeTypeSms.md) + +[auth.codeTypeCall](../constructors/auth.codeTypeCall.md) + +[auth.codeTypeFlashCall](../constructors/auth.codeTypeFlashCall.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v86/types/auth.ExportedAuthorization.md b/old_docs/API_docs_v86/types/auth.ExportedAuthorization.md new file mode 100644 index 00000000..ccb38d60 --- /dev/null +++ b/old_docs/API_docs_v86/types/auth.ExportedAuthorization.md @@ -0,0 +1,22 @@ +--- +title: auth.ExportedAuthorization +description: constructors and methods of type auth.ExportedAuthorization +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.ExportedAuthorization +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.exportedAuthorization](../constructors/auth.exportedAuthorization.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->exportAuthorization](../methods/auth.exportAuthorization.md) + + + diff --git a/old_docs/API_docs_v86/types/auth.PasswordRecovery.md b/old_docs/API_docs_v86/types/auth.PasswordRecovery.md new file mode 100644 index 00000000..c1c18992 --- /dev/null +++ b/old_docs/API_docs_v86/types/auth.PasswordRecovery.md @@ -0,0 +1,22 @@ +--- +title: auth.PasswordRecovery +description: constructors and methods of type auth.PasswordRecovery +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.PasswordRecovery +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.passwordRecovery](../constructors/auth.passwordRecovery.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->requestPasswordRecovery](../methods/auth.requestPasswordRecovery.md) + + + diff --git a/old_docs/API_docs_v86/types/auth.SentCode.md b/old_docs/API_docs_v86/types/auth.SentCode.md new file mode 100644 index 00000000..4950edeb --- /dev/null +++ b/old_docs/API_docs_v86/types/auth.SentCode.md @@ -0,0 +1,30 @@ +--- +title: auth.SentCode +description: constructors and methods of type auth.SentCode +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.SentCode +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.sentCode](../constructors/auth.sentCode.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->sendCode](../methods/auth.sendCode.md) + +[$MadelineProto->auth->resendCode](../methods/auth.resendCode.md) + +[$MadelineProto->account->sendChangePhoneCode](../methods/account.sendChangePhoneCode.md) + +[$MadelineProto->account->sendConfirmPhoneCode](../methods/account.sendConfirmPhoneCode.md) + +[$MadelineProto->account->sendVerifyPhoneCode](../methods/account.sendVerifyPhoneCode.md) + + + diff --git a/old_docs/API_docs_v86/types/auth.SentCodeType.md b/old_docs/API_docs_v86/types/auth.SentCodeType.md new file mode 100644 index 00000000..7c7c534e --- /dev/null +++ b/old_docs/API_docs_v86/types/auth.SentCodeType.md @@ -0,0 +1,26 @@ +--- +title: auth.SentCodeType +description: constructors and methods of type auth.SentCodeType +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.SentCodeType +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.sentCodeTypeApp](../constructors/auth.sentCodeTypeApp.md) + +[auth.sentCodeTypeSms](../constructors/auth.sentCodeTypeSms.md) + +[auth.sentCodeTypeCall](../constructors/auth.sentCodeTypeCall.md) + +[auth.sentCodeTypeFlashCall](../constructors/auth.sentCodeTypeFlashCall.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v86/types/auth_Authorization.md b/old_docs/API_docs_v86/types/auth_Authorization.md deleted file mode 100644 index 5a34fc2d..00000000 --- a/old_docs/API_docs_v86/types/auth_Authorization.md +++ /dev/null @@ -1,32 +0,0 @@ ---- -title: auth_Authorization -description: constructors and methods of type auth_Authorization -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_Authorization -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_authorization](../constructors/auth_authorization.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->signUp](../methods/auth_signUp.md) - -[$MadelineProto->auth->signIn](../methods/auth_signIn.md) - -[$MadelineProto->auth->importAuthorization](../methods/auth_importAuthorization.md) - -[$MadelineProto->auth->importBotAuthorization](../methods/auth_importBotAuthorization.md) - -[$MadelineProto->auth->checkPassword](../methods/auth_checkPassword.md) - -[$MadelineProto->auth->recoverPassword](../methods/auth_recoverPassword.md) - - - diff --git a/old_docs/API_docs_v86/types/auth_CheckedPhone.md b/old_docs/API_docs_v86/types/auth_CheckedPhone.md deleted file mode 100644 index e2b823f7..00000000 --- a/old_docs/API_docs_v86/types/auth_CheckedPhone.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: auth_CheckedPhone -description: constructors and methods of type auth_CheckedPhone -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_CheckedPhone -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_checkedPhone](../constructors/auth_checkedPhone.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v86/types/auth_CodeType.md b/old_docs/API_docs_v86/types/auth_CodeType.md deleted file mode 100644 index 3cd9a7b7..00000000 --- a/old_docs/API_docs_v86/types/auth_CodeType.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: auth_CodeType -description: constructors and methods of type auth_CodeType -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_CodeType -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_codeTypeSms](../constructors/auth_codeTypeSms.md) - -[auth\_codeTypeCall](../constructors/auth_codeTypeCall.md) - -[auth\_codeTypeFlashCall](../constructors/auth_codeTypeFlashCall.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v86/types/auth_ExportedAuthorization.md b/old_docs/API_docs_v86/types/auth_ExportedAuthorization.md deleted file mode 100644 index 69e5c42e..00000000 --- a/old_docs/API_docs_v86/types/auth_ExportedAuthorization.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: auth_ExportedAuthorization -description: constructors and methods of type auth_ExportedAuthorization -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_ExportedAuthorization -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_exportedAuthorization](../constructors/auth_exportedAuthorization.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->exportAuthorization](../methods/auth_exportAuthorization.md) - - - diff --git a/old_docs/API_docs_v86/types/auth_PasswordRecovery.md b/old_docs/API_docs_v86/types/auth_PasswordRecovery.md deleted file mode 100644 index 4962bf42..00000000 --- a/old_docs/API_docs_v86/types/auth_PasswordRecovery.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: auth_PasswordRecovery -description: constructors and methods of type auth_PasswordRecovery -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_PasswordRecovery -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_passwordRecovery](../constructors/auth_passwordRecovery.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->requestPasswordRecovery](../methods/auth_requestPasswordRecovery.md) - - - diff --git a/old_docs/API_docs_v86/types/auth_SentCode.md b/old_docs/API_docs_v86/types/auth_SentCode.md deleted file mode 100644 index 140d956c..00000000 --- a/old_docs/API_docs_v86/types/auth_SentCode.md +++ /dev/null @@ -1,30 +0,0 @@ ---- -title: auth_SentCode -description: constructors and methods of type auth_SentCode -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_SentCode -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_sentCode](../constructors/auth_sentCode.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->sendCode](../methods/auth_sendCode.md) - -[$MadelineProto->auth->resendCode](../methods/auth_resendCode.md) - -[$MadelineProto->account->sendChangePhoneCode](../methods/account_sendChangePhoneCode.md) - -[$MadelineProto->account->sendConfirmPhoneCode](../methods/account_sendConfirmPhoneCode.md) - -[$MadelineProto->account->sendVerifyPhoneCode](../methods/account_sendVerifyPhoneCode.md) - - - diff --git a/old_docs/API_docs_v86/types/auth_SentCodeType.md b/old_docs/API_docs_v86/types/auth_SentCodeType.md deleted file mode 100644 index 8dfcb93b..00000000 --- a/old_docs/API_docs_v86/types/auth_SentCodeType.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: auth_SentCodeType -description: constructors and methods of type auth_SentCodeType -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_SentCodeType -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_sentCodeTypeApp](../constructors/auth_sentCodeTypeApp.md) - -[auth\_sentCodeTypeSms](../constructors/auth_sentCodeTypeSms.md) - -[auth\_sentCodeTypeCall](../constructors/auth_sentCodeTypeCall.md) - -[auth\_sentCodeTypeFlashCall](../constructors/auth_sentCodeTypeFlashCall.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v86/types/channels.AdminLogResults.md b/old_docs/API_docs_v86/types/channels.AdminLogResults.md new file mode 100644 index 00000000..7855a4fd --- /dev/null +++ b/old_docs/API_docs_v86/types/channels.AdminLogResults.md @@ -0,0 +1,22 @@ +--- +title: channels.AdminLogResults +description: constructors and methods of type channels.AdminLogResults +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: channels.AdminLogResults +[Back to types index](index.md) + + + +### Possible values (constructors): + +[channels.adminLogResults](../constructors/channels.adminLogResults.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->channels->getAdminLog](../methods/channels.getAdminLog.md) + + + diff --git a/old_docs/API_docs_v86/types/channels.ChannelParticipant.md b/old_docs/API_docs_v86/types/channels.ChannelParticipant.md new file mode 100644 index 00000000..8dc7f7e6 --- /dev/null +++ b/old_docs/API_docs_v86/types/channels.ChannelParticipant.md @@ -0,0 +1,22 @@ +--- +title: channels.ChannelParticipant +description: constructors and methods of type channels.ChannelParticipant +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: channels.ChannelParticipant +[Back to types index](index.md) + + + +### Possible values (constructors): + +[channels.channelParticipant](../constructors/channels.channelParticipant.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->channels->getParticipant](../methods/channels.getParticipant.md) + + + diff --git a/old_docs/API_docs_v86/types/channels.ChannelParticipants.md b/old_docs/API_docs_v86/types/channels.ChannelParticipants.md new file mode 100644 index 00000000..d448e007 --- /dev/null +++ b/old_docs/API_docs_v86/types/channels.ChannelParticipants.md @@ -0,0 +1,24 @@ +--- +title: channels.ChannelParticipants +description: constructors and methods of type channels.ChannelParticipants +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: channels.ChannelParticipants +[Back to types index](index.md) + + + +### Possible values (constructors): + +[channels.channelParticipants](../constructors/channels.channelParticipants.md) + +[channels.channelParticipantsNotModified](../constructors/channels.channelParticipantsNotModified.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->channels->getParticipants](../methods/channels.getParticipants.md) + + + diff --git a/old_docs/API_docs_v86/types/channels_AdminLogResults.md b/old_docs/API_docs_v86/types/channels_AdminLogResults.md deleted file mode 100644 index 4e9b5544..00000000 --- a/old_docs/API_docs_v86/types/channels_AdminLogResults.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: channels_AdminLogResults -description: constructors and methods of type channels_AdminLogResults -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: channels\_AdminLogResults -[Back to types index](index.md) - - - -### Possible values (constructors): - -[channels\_adminLogResults](../constructors/channels_adminLogResults.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->channels->getAdminLog](../methods/channels_getAdminLog.md) - - - diff --git a/old_docs/API_docs_v86/types/channels_ChannelParticipant.md b/old_docs/API_docs_v86/types/channels_ChannelParticipant.md deleted file mode 100644 index 3d4667c3..00000000 --- a/old_docs/API_docs_v86/types/channels_ChannelParticipant.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: channels_ChannelParticipant -description: constructors and methods of type channels_ChannelParticipant -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: channels\_ChannelParticipant -[Back to types index](index.md) - - - -### Possible values (constructors): - -[channels\_channelParticipant](../constructors/channels_channelParticipant.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->channels->getParticipant](../methods/channels_getParticipant.md) - - - diff --git a/old_docs/API_docs_v86/types/channels_ChannelParticipants.md b/old_docs/API_docs_v86/types/channels_ChannelParticipants.md deleted file mode 100644 index 80a41dd9..00000000 --- a/old_docs/API_docs_v86/types/channels_ChannelParticipants.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: channels_ChannelParticipants -description: constructors and methods of type channels_ChannelParticipants -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: channels\_ChannelParticipants -[Back to types index](index.md) - - - -### Possible values (constructors): - -[channels\_channelParticipants](../constructors/channels_channelParticipants.md) - -[channels\_channelParticipantsNotModified](../constructors/channels_channelParticipantsNotModified.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->channels->getParticipants](../methods/channels_getParticipants.md) - - - diff --git a/old_docs/API_docs_v86/types/contacts.Blocked.md b/old_docs/API_docs_v86/types/contacts.Blocked.md new file mode 100644 index 00000000..cb2af80f --- /dev/null +++ b/old_docs/API_docs_v86/types/contacts.Blocked.md @@ -0,0 +1,24 @@ +--- +title: contacts.Blocked +description: constructors and methods of type contacts.Blocked +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Blocked +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.blocked](../constructors/contacts.blocked.md) + +[contacts.blockedSlice](../constructors/contacts.blockedSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getBlocked](../methods/contacts.getBlocked.md) + + + diff --git a/old_docs/API_docs_v86/types/contacts.Contacts.md b/old_docs/API_docs_v86/types/contacts.Contacts.md new file mode 100644 index 00000000..5f695d8e --- /dev/null +++ b/old_docs/API_docs_v86/types/contacts.Contacts.md @@ -0,0 +1,24 @@ +--- +title: contacts.Contacts +description: constructors and methods of type contacts.Contacts +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Contacts +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.contactsNotModified](../constructors/contacts.contactsNotModified.md) + +[contacts.contacts](../constructors/contacts.contacts.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getContacts](../methods/contacts.getContacts.md) + + + diff --git a/old_docs/API_docs_v86/types/contacts.Found.md b/old_docs/API_docs_v86/types/contacts.Found.md new file mode 100644 index 00000000..7df98927 --- /dev/null +++ b/old_docs/API_docs_v86/types/contacts.Found.md @@ -0,0 +1,22 @@ +--- +title: contacts.Found +description: constructors and methods of type contacts.Found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Found +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.found](../constructors/contacts.found.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->search](../methods/contacts.search.md) + + + diff --git a/old_docs/API_docs_v86/types/contacts.ImportedContacts.md b/old_docs/API_docs_v86/types/contacts.ImportedContacts.md new file mode 100644 index 00000000..16795bab --- /dev/null +++ b/old_docs/API_docs_v86/types/contacts.ImportedContacts.md @@ -0,0 +1,22 @@ +--- +title: contacts.ImportedContacts +description: constructors and methods of type contacts.ImportedContacts +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.ImportedContacts +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.importedContacts](../constructors/contacts.importedContacts.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->importContacts](../methods/contacts.importContacts.md) + + + diff --git a/old_docs/API_docs_v86/types/contacts.Link.md b/old_docs/API_docs_v86/types/contacts.Link.md new file mode 100644 index 00000000..eb9da683 --- /dev/null +++ b/old_docs/API_docs_v86/types/contacts.Link.md @@ -0,0 +1,22 @@ +--- +title: contacts.Link +description: constructors and methods of type contacts.Link +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Link +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.link](../constructors/contacts.link.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->deleteContact](../methods/contacts.deleteContact.md) + + + diff --git a/old_docs/API_docs_v86/types/contacts.ResolvedPeer.md b/old_docs/API_docs_v86/types/contacts.ResolvedPeer.md new file mode 100644 index 00000000..13630d54 --- /dev/null +++ b/old_docs/API_docs_v86/types/contacts.ResolvedPeer.md @@ -0,0 +1,22 @@ +--- +title: contacts.ResolvedPeer +description: constructors and methods of type contacts.ResolvedPeer +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.ResolvedPeer +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.resolvedPeer](../constructors/contacts.resolvedPeer.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->resolveUsername](../methods/contacts.resolveUsername.md) + + + diff --git a/old_docs/API_docs_v86/types/contacts.TopPeers.md b/old_docs/API_docs_v86/types/contacts.TopPeers.md new file mode 100644 index 00000000..563e63aa --- /dev/null +++ b/old_docs/API_docs_v86/types/contacts.TopPeers.md @@ -0,0 +1,26 @@ +--- +title: contacts.TopPeers +description: constructors and methods of type contacts.TopPeers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.TopPeers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.topPeersNotModified](../constructors/contacts.topPeersNotModified.md) + +[contacts.topPeers](../constructors/contacts.topPeers.md) + +[contacts.topPeersDisabled](../constructors/contacts.topPeersDisabled.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getTopPeers](../methods/contacts.getTopPeers.md) + + + diff --git a/old_docs/API_docs_v86/types/contacts_Blocked.md b/old_docs/API_docs_v86/types/contacts_Blocked.md deleted file mode 100644 index 3e1f02eb..00000000 --- a/old_docs/API_docs_v86/types/contacts_Blocked.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: contacts_Blocked -description: constructors and methods of type contacts_Blocked -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Blocked -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_blocked](../constructors/contacts_blocked.md) - -[contacts\_blockedSlice](../constructors/contacts_blockedSlice.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->getBlocked](../methods/contacts_getBlocked.md) - - - diff --git a/old_docs/API_docs_v86/types/contacts_Contacts.md b/old_docs/API_docs_v86/types/contacts_Contacts.md deleted file mode 100644 index 5d6c9506..00000000 --- a/old_docs/API_docs_v86/types/contacts_Contacts.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: contacts_Contacts -description: constructors and methods of type contacts_Contacts -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Contacts -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_contactsNotModified](../constructors/contacts_contactsNotModified.md) - -[contacts\_contacts](../constructors/contacts_contacts.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->getContacts](../methods/contacts_getContacts.md) - - - diff --git a/old_docs/API_docs_v86/types/contacts_Found.md b/old_docs/API_docs_v86/types/contacts_Found.md deleted file mode 100644 index 806101cf..00000000 --- a/old_docs/API_docs_v86/types/contacts_Found.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_Found -description: constructors and methods of type contacts_Found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Found -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_found](../constructors/contacts_found.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->search](../methods/contacts_search.md) - - - diff --git a/old_docs/API_docs_v86/types/contacts_ImportedContacts.md b/old_docs/API_docs_v86/types/contacts_ImportedContacts.md deleted file mode 100644 index faf7e615..00000000 --- a/old_docs/API_docs_v86/types/contacts_ImportedContacts.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_ImportedContacts -description: constructors and methods of type contacts_ImportedContacts -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_ImportedContacts -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_importedContacts](../constructors/contacts_importedContacts.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->importContacts](../methods/contacts_importContacts.md) - - - diff --git a/old_docs/API_docs_v86/types/contacts_Link.md b/old_docs/API_docs_v86/types/contacts_Link.md deleted file mode 100644 index 01556606..00000000 --- a/old_docs/API_docs_v86/types/contacts_Link.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_Link -description: constructors and methods of type contacts_Link -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Link -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_link](../constructors/contacts_link.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->deleteContact](../methods/contacts_deleteContact.md) - - - diff --git a/old_docs/API_docs_v86/types/contacts_ResolvedPeer.md b/old_docs/API_docs_v86/types/contacts_ResolvedPeer.md deleted file mode 100644 index cf107f7c..00000000 --- a/old_docs/API_docs_v86/types/contacts_ResolvedPeer.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_ResolvedPeer -description: constructors and methods of type contacts_ResolvedPeer -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_ResolvedPeer -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_resolvedPeer](../constructors/contacts_resolvedPeer.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->resolveUsername](../methods/contacts_resolveUsername.md) - - - diff --git a/old_docs/API_docs_v86/types/contacts_TopPeers.md b/old_docs/API_docs_v86/types/contacts_TopPeers.md deleted file mode 100644 index dc8ee478..00000000 --- a/old_docs/API_docs_v86/types/contacts_TopPeers.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: contacts_TopPeers -description: constructors and methods of type contacts_TopPeers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_TopPeers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_topPeersNotModified](../constructors/contacts_topPeersNotModified.md) - -[contacts\_topPeers](../constructors/contacts_topPeers.md) - -[contacts\_topPeersDisabled](../constructors/contacts_topPeersDisabled.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->getTopPeers](../methods/contacts_getTopPeers.md) - - - diff --git a/old_docs/API_docs_v86/types/help.AppUpdate.md b/old_docs/API_docs_v86/types/help.AppUpdate.md new file mode 100644 index 00000000..285ec2b7 --- /dev/null +++ b/old_docs/API_docs_v86/types/help.AppUpdate.md @@ -0,0 +1,24 @@ +--- +title: help.AppUpdate +description: constructors and methods of type help.AppUpdate +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.AppUpdate +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.appUpdate](../constructors/help.appUpdate.md) + +[help.noAppUpdate](../constructors/help.noAppUpdate.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getAppUpdate](../methods/help.getAppUpdate.md) + + + diff --git a/old_docs/API_docs_v86/types/help.ConfigSimple.md b/old_docs/API_docs_v86/types/help.ConfigSimple.md new file mode 100644 index 00000000..92d9e15f --- /dev/null +++ b/old_docs/API_docs_v86/types/help.ConfigSimple.md @@ -0,0 +1,20 @@ +--- +title: help.ConfigSimple +description: constructors and methods of type help.ConfigSimple +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.ConfigSimple +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.configSimple](../constructors/help.configSimple.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v86/types/help.DeepLinkInfo.md b/old_docs/API_docs_v86/types/help.DeepLinkInfo.md new file mode 100644 index 00000000..356af1c4 --- /dev/null +++ b/old_docs/API_docs_v86/types/help.DeepLinkInfo.md @@ -0,0 +1,24 @@ +--- +title: help.DeepLinkInfo +description: constructors and methods of type help.DeepLinkInfo +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.DeepLinkInfo +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.deepLinkInfoEmpty](../constructors/help.deepLinkInfoEmpty.md) + +[help.deepLinkInfo](../constructors/help.deepLinkInfo.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getDeepLinkInfo](../methods/help.getDeepLinkInfo.md) + + + diff --git a/old_docs/API_docs_v86/types/help.InviteText.md b/old_docs/API_docs_v86/types/help.InviteText.md new file mode 100644 index 00000000..43293f46 --- /dev/null +++ b/old_docs/API_docs_v86/types/help.InviteText.md @@ -0,0 +1,22 @@ +--- +title: help.InviteText +description: constructors and methods of type help.InviteText +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.InviteText +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.inviteText](../constructors/help.inviteText.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getInviteText](../methods/help.getInviteText.md) + + + diff --git a/old_docs/API_docs_v86/types/help.PassportConfig.md b/old_docs/API_docs_v86/types/help.PassportConfig.md new file mode 100644 index 00000000..15eb12cc --- /dev/null +++ b/old_docs/API_docs_v86/types/help.PassportConfig.md @@ -0,0 +1,24 @@ +--- +title: help.PassportConfig +description: constructors and methods of type help.PassportConfig +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.PassportConfig +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.passportConfigNotModified](../constructors/help.passportConfigNotModified.md) + +[help.passportConfig](../constructors/help.passportConfig.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getPassportConfig](../methods/help.getPassportConfig.md) + + + diff --git a/old_docs/API_docs_v86/types/help.ProxyData.md b/old_docs/API_docs_v86/types/help.ProxyData.md new file mode 100644 index 00000000..e45b4211 --- /dev/null +++ b/old_docs/API_docs_v86/types/help.ProxyData.md @@ -0,0 +1,24 @@ +--- +title: help.ProxyData +description: constructors and methods of type help.ProxyData +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.ProxyData +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.proxyDataEmpty](../constructors/help.proxyDataEmpty.md) + +[help.proxyDataPromo](../constructors/help.proxyDataPromo.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getProxyData](../methods/help.getProxyData.md) + + + diff --git a/old_docs/API_docs_v86/types/help.RecentMeUrls.md b/old_docs/API_docs_v86/types/help.RecentMeUrls.md new file mode 100644 index 00000000..6b7ee2c1 --- /dev/null +++ b/old_docs/API_docs_v86/types/help.RecentMeUrls.md @@ -0,0 +1,22 @@ +--- +title: help.RecentMeUrls +description: constructors and methods of type help.RecentMeUrls +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.RecentMeUrls +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.recentMeUrls](../constructors/help.recentMeUrls.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getRecentMeUrls](../methods/help.getRecentMeUrls.md) + + + diff --git a/old_docs/API_docs_v86/types/help.Support.md b/old_docs/API_docs_v86/types/help.Support.md new file mode 100644 index 00000000..42c20483 --- /dev/null +++ b/old_docs/API_docs_v86/types/help.Support.md @@ -0,0 +1,22 @@ +--- +title: help.Support +description: constructors and methods of type help.Support +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.Support +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.support](../constructors/help.support.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getSupport](../methods/help.getSupport.md) + + + diff --git a/old_docs/API_docs_v86/types/help.TermsOfService.md b/old_docs/API_docs_v86/types/help.TermsOfService.md new file mode 100644 index 00000000..d4d091e1 --- /dev/null +++ b/old_docs/API_docs_v86/types/help.TermsOfService.md @@ -0,0 +1,20 @@ +--- +title: help.TermsOfService +description: constructors and methods of type help.TermsOfService +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.TermsOfService +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.termsOfService](../constructors/help.termsOfService.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v86/types/help.TermsOfServiceUpdate.md b/old_docs/API_docs_v86/types/help.TermsOfServiceUpdate.md new file mode 100644 index 00000000..e27b3c71 --- /dev/null +++ b/old_docs/API_docs_v86/types/help.TermsOfServiceUpdate.md @@ -0,0 +1,24 @@ +--- +title: help.TermsOfServiceUpdate +description: constructors and methods of type help.TermsOfServiceUpdate +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.TermsOfServiceUpdate +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.termsOfServiceUpdateEmpty](../constructors/help.termsOfServiceUpdateEmpty.md) + +[help.termsOfServiceUpdate](../constructors/help.termsOfServiceUpdate.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getTermsOfServiceUpdate](../methods/help.getTermsOfServiceUpdate.md) + + + diff --git a/old_docs/API_docs_v86/types/help_AppUpdate.md b/old_docs/API_docs_v86/types/help_AppUpdate.md deleted file mode 100644 index 1f296a70..00000000 --- a/old_docs/API_docs_v86/types/help_AppUpdate.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: help_AppUpdate -description: constructors and methods of type help_AppUpdate -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_AppUpdate -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_appUpdate](../constructors/help_appUpdate.md) - -[help\_noAppUpdate](../constructors/help_noAppUpdate.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getAppUpdate](../methods/help_getAppUpdate.md) - - - diff --git a/old_docs/API_docs_v86/types/help_ConfigSimple.md b/old_docs/API_docs_v86/types/help_ConfigSimple.md deleted file mode 100644 index 81678d74..00000000 --- a/old_docs/API_docs_v86/types/help_ConfigSimple.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: help_ConfigSimple -description: constructors and methods of type help_ConfigSimple -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_ConfigSimple -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_configSimple](../constructors/help_configSimple.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v86/types/help_DeepLinkInfo.md b/old_docs/API_docs_v86/types/help_DeepLinkInfo.md deleted file mode 100644 index 776e8e09..00000000 --- a/old_docs/API_docs_v86/types/help_DeepLinkInfo.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: help_DeepLinkInfo -description: constructors and methods of type help_DeepLinkInfo -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_DeepLinkInfo -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_deepLinkInfoEmpty](../constructors/help_deepLinkInfoEmpty.md) - -[help\_deepLinkInfo](../constructors/help_deepLinkInfo.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getDeepLinkInfo](../methods/help_getDeepLinkInfo.md) - - - diff --git a/old_docs/API_docs_v86/types/help_InviteText.md b/old_docs/API_docs_v86/types/help_InviteText.md deleted file mode 100644 index 018d35bf..00000000 --- a/old_docs/API_docs_v86/types/help_InviteText.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: help_InviteText -description: constructors and methods of type help_InviteText -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_InviteText -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_inviteText](../constructors/help_inviteText.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getInviteText](../methods/help_getInviteText.md) - - - diff --git a/old_docs/API_docs_v86/types/help_PassportConfig.md b/old_docs/API_docs_v86/types/help_PassportConfig.md deleted file mode 100644 index e03abab7..00000000 --- a/old_docs/API_docs_v86/types/help_PassportConfig.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: help_PassportConfig -description: constructors and methods of type help_PassportConfig -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_PassportConfig -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_passportConfigNotModified](../constructors/help_passportConfigNotModified.md) - -[help\_passportConfig](../constructors/help_passportConfig.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getPassportConfig](../methods/help_getPassportConfig.md) - - - diff --git a/old_docs/API_docs_v86/types/help_ProxyData.md b/old_docs/API_docs_v86/types/help_ProxyData.md deleted file mode 100644 index 1bc6839e..00000000 --- a/old_docs/API_docs_v86/types/help_ProxyData.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: help_ProxyData -description: constructors and methods of type help_ProxyData -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_ProxyData -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_proxyDataEmpty](../constructors/help_proxyDataEmpty.md) - -[help\_proxyDataPromo](../constructors/help_proxyDataPromo.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getProxyData](../methods/help_getProxyData.md) - - - diff --git a/old_docs/API_docs_v86/types/help_RecentMeUrls.md b/old_docs/API_docs_v86/types/help_RecentMeUrls.md deleted file mode 100644 index 691af1c3..00000000 --- a/old_docs/API_docs_v86/types/help_RecentMeUrls.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: help_RecentMeUrls -description: constructors and methods of type help_RecentMeUrls -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_RecentMeUrls -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_recentMeUrls](../constructors/help_recentMeUrls.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getRecentMeUrls](../methods/help_getRecentMeUrls.md) - - - diff --git a/old_docs/API_docs_v86/types/help_Support.md b/old_docs/API_docs_v86/types/help_Support.md deleted file mode 100644 index 26de447b..00000000 --- a/old_docs/API_docs_v86/types/help_Support.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: help_Support -description: constructors and methods of type help_Support -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_Support -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_support](../constructors/help_support.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getSupport](../methods/help_getSupport.md) - - - diff --git a/old_docs/API_docs_v86/types/help_TermsOfService.md b/old_docs/API_docs_v86/types/help_TermsOfService.md deleted file mode 100644 index 24f8eb68..00000000 --- a/old_docs/API_docs_v86/types/help_TermsOfService.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: help_TermsOfService -description: constructors and methods of type help_TermsOfService -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_TermsOfService -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_termsOfService](../constructors/help_termsOfService.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v86/types/help_TermsOfServiceUpdate.md b/old_docs/API_docs_v86/types/help_TermsOfServiceUpdate.md deleted file mode 100644 index 0e4f1ef2..00000000 --- a/old_docs/API_docs_v86/types/help_TermsOfServiceUpdate.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: help_TermsOfServiceUpdate -description: constructors and methods of type help_TermsOfServiceUpdate -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_TermsOfServiceUpdate -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_termsOfServiceUpdateEmpty](../constructors/help_termsOfServiceUpdateEmpty.md) - -[help\_termsOfServiceUpdate](../constructors/help_termsOfServiceUpdate.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getTermsOfServiceUpdate](../methods/help_getTermsOfServiceUpdate.md) - - - diff --git a/old_docs/API_docs_v86/types/messages.AffectedHistory.md b/old_docs/API_docs_v86/types/messages.AffectedHistory.md new file mode 100644 index 00000000..8a1e850a --- /dev/null +++ b/old_docs/API_docs_v86/types/messages.AffectedHistory.md @@ -0,0 +1,26 @@ +--- +title: messages.AffectedHistory +description: constructors and methods of type messages.AffectedHistory +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.AffectedHistory +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.affectedHistory](../constructors/messages.affectedHistory.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->deleteHistory](../methods/messages.deleteHistory.md) + +[$MadelineProto->messages->readMentions](../methods/messages.readMentions.md) + +[$MadelineProto->channels->deleteUserHistory](../methods/channels.deleteUserHistory.md) + + + diff --git a/old_docs/API_docs_v86/types/messages.AffectedMessages.md b/old_docs/API_docs_v86/types/messages.AffectedMessages.md new file mode 100644 index 00000000..a9159de3 --- /dev/null +++ b/old_docs/API_docs_v86/types/messages.AffectedMessages.md @@ -0,0 +1,28 @@ +--- +title: messages.AffectedMessages +description: constructors and methods of type messages.AffectedMessages +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.AffectedMessages +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.affectedMessages](../constructors/messages.affectedMessages.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->readHistory](../methods/messages.readHistory.md) + +[$MadelineProto->messages->deleteMessages](../methods/messages.deleteMessages.md) + +[$MadelineProto->messages->readMessageContents](../methods/messages.readMessageContents.md) + +[$MadelineProto->channels->deleteMessages](../methods/channels.deleteMessages.md) + + + diff --git a/old_docs/API_docs_v86/types/messages.AllStickers.md b/old_docs/API_docs_v86/types/messages.AllStickers.md new file mode 100644 index 00000000..fd8565de --- /dev/null +++ b/old_docs/API_docs_v86/types/messages.AllStickers.md @@ -0,0 +1,26 @@ +--- +title: messages.AllStickers +description: constructors and methods of type messages.AllStickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.AllStickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.allStickersNotModified](../constructors/messages.allStickersNotModified.md) + +[messages.allStickers](../constructors/messages.allStickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getAllStickers](../methods/messages.getAllStickers.md) + +[$MadelineProto->messages->getMaskStickers](../methods/messages.getMaskStickers.md) + + + diff --git a/old_docs/API_docs_v86/types/messages.ArchivedStickers.md b/old_docs/API_docs_v86/types/messages.ArchivedStickers.md new file mode 100644 index 00000000..3e017c5d --- /dev/null +++ b/old_docs/API_docs_v86/types/messages.ArchivedStickers.md @@ -0,0 +1,22 @@ +--- +title: messages.ArchivedStickers +description: constructors and methods of type messages.ArchivedStickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.ArchivedStickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.archivedStickers](../constructors/messages.archivedStickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getArchivedStickers](../methods/messages.getArchivedStickers.md) + + + diff --git a/old_docs/API_docs_v86/types/messages.BotCallbackAnswer.md b/old_docs/API_docs_v86/types/messages.BotCallbackAnswer.md new file mode 100644 index 00000000..ef30fbfb --- /dev/null +++ b/old_docs/API_docs_v86/types/messages.BotCallbackAnswer.md @@ -0,0 +1,22 @@ +--- +title: messages.BotCallbackAnswer +description: constructors and methods of type messages.BotCallbackAnswer +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.BotCallbackAnswer +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.botCallbackAnswer](../constructors/messages.botCallbackAnswer.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getBotCallbackAnswer](../methods/messages.getBotCallbackAnswer.md) + + + diff --git a/old_docs/API_docs_v86/types/messages.BotResults.md b/old_docs/API_docs_v86/types/messages.BotResults.md new file mode 100644 index 00000000..76ee2b99 --- /dev/null +++ b/old_docs/API_docs_v86/types/messages.BotResults.md @@ -0,0 +1,22 @@ +--- +title: messages.BotResults +description: constructors and methods of type messages.BotResults +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.BotResults +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.botResults](../constructors/messages.botResults.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getInlineBotResults](../methods/messages.getInlineBotResults.md) + + + diff --git a/old_docs/API_docs_v86/types/messages.ChatFull.md b/old_docs/API_docs_v86/types/messages.ChatFull.md new file mode 100644 index 00000000..3ad38748 --- /dev/null +++ b/old_docs/API_docs_v86/types/messages.ChatFull.md @@ -0,0 +1,24 @@ +--- +title: messages.ChatFull +description: constructors and methods of type messages.ChatFull +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.ChatFull +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.chatFull](../constructors/messages.chatFull.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getFullChat](../methods/messages.getFullChat.md) + +[$MadelineProto->channels->getFullChannel](../methods/channels.getFullChannel.md) + + + diff --git a/old_docs/API_docs_v86/types/messages.Chats.md b/old_docs/API_docs_v86/types/messages.Chats.md new file mode 100644 index 00000000..4678b110 --- /dev/null +++ b/old_docs/API_docs_v86/types/messages.Chats.md @@ -0,0 +1,34 @@ +--- +title: messages.Chats +description: constructors and methods of type messages.Chats +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Chats +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.chats](../constructors/messages.chats.md) + +[messages.chatsSlice](../constructors/messages.chatsSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getChats](../methods/messages.getChats.md) + +[$MadelineProto->messages->getCommonChats](../methods/messages.getCommonChats.md) + +[$MadelineProto->messages->getAllChats](../methods/messages.getAllChats.md) + +[$MadelineProto->channels->getChannels](../methods/channels.getChannels.md) + +[$MadelineProto->channels->getAdminedPublicChannels](../methods/channels.getAdminedPublicChannels.md) + +[$MadelineProto->channels->getLeftChannels](../methods/channels.getLeftChannels.md) + + + diff --git a/old_docs/API_docs_v86/types/messages.DhConfig.md b/old_docs/API_docs_v86/types/messages.DhConfig.md new file mode 100644 index 00000000..77188ab7 --- /dev/null +++ b/old_docs/API_docs_v86/types/messages.DhConfig.md @@ -0,0 +1,24 @@ +--- +title: messages.DhConfig +description: constructors and methods of type messages.DhConfig +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.DhConfig +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.dhConfigNotModified](../constructors/messages.dhConfigNotModified.md) + +[messages.dhConfig](../constructors/messages.dhConfig.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getDhConfig](../methods/messages.getDhConfig.md) + + + diff --git a/old_docs/API_docs_v86/types/messages.Dialogs.md b/old_docs/API_docs_v86/types/messages.Dialogs.md new file mode 100644 index 00000000..e14885b1 --- /dev/null +++ b/old_docs/API_docs_v86/types/messages.Dialogs.md @@ -0,0 +1,26 @@ +--- +title: messages.Dialogs +description: constructors and methods of type messages.Dialogs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Dialogs +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.dialogs](../constructors/messages.dialogs.md) + +[messages.dialogsSlice](../constructors/messages.dialogsSlice.md) + +[messages.dialogsNotModified](../constructors/messages.dialogsNotModified.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getDialogs](../methods/messages.getDialogs.md) + + + diff --git a/old_docs/API_docs_v86/types/messages.FavedStickers.md b/old_docs/API_docs_v86/types/messages.FavedStickers.md new file mode 100644 index 00000000..3edc863b --- /dev/null +++ b/old_docs/API_docs_v86/types/messages.FavedStickers.md @@ -0,0 +1,24 @@ +--- +title: messages.FavedStickers +description: constructors and methods of type messages.FavedStickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.FavedStickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.favedStickersNotModified](../constructors/messages.favedStickersNotModified.md) + +[messages.favedStickers](../constructors/messages.favedStickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getFavedStickers](../methods/messages.getFavedStickers.md) + + + diff --git a/old_docs/API_docs_v86/types/messages.FeaturedStickers.md b/old_docs/API_docs_v86/types/messages.FeaturedStickers.md new file mode 100644 index 00000000..06ed87bb --- /dev/null +++ b/old_docs/API_docs_v86/types/messages.FeaturedStickers.md @@ -0,0 +1,24 @@ +--- +title: messages.FeaturedStickers +description: constructors and methods of type messages.FeaturedStickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.FeaturedStickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.featuredStickersNotModified](../constructors/messages.featuredStickersNotModified.md) + +[messages.featuredStickers](../constructors/messages.featuredStickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getFeaturedStickers](../methods/messages.getFeaturedStickers.md) + + + diff --git a/old_docs/API_docs_v86/types/messages.FoundGifs.md b/old_docs/API_docs_v86/types/messages.FoundGifs.md new file mode 100644 index 00000000..b5176a5d --- /dev/null +++ b/old_docs/API_docs_v86/types/messages.FoundGifs.md @@ -0,0 +1,22 @@ +--- +title: messages.FoundGifs +description: constructors and methods of type messages.FoundGifs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.FoundGifs +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.foundGifs](../constructors/messages.foundGifs.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->searchGifs](../methods/messages.searchGifs.md) + + + diff --git a/old_docs/API_docs_v86/types/messages.FoundStickerSets.md b/old_docs/API_docs_v86/types/messages.FoundStickerSets.md new file mode 100644 index 00000000..eb6eb284 --- /dev/null +++ b/old_docs/API_docs_v86/types/messages.FoundStickerSets.md @@ -0,0 +1,24 @@ +--- +title: messages.FoundStickerSets +description: constructors and methods of type messages.FoundStickerSets +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.FoundStickerSets +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.foundStickerSetsNotModified](../constructors/messages.foundStickerSetsNotModified.md) + +[messages.foundStickerSets](../constructors/messages.foundStickerSets.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->searchStickerSets](../methods/messages.searchStickerSets.md) + + + diff --git a/old_docs/API_docs_v86/types/messages.HighScores.md b/old_docs/API_docs_v86/types/messages.HighScores.md new file mode 100644 index 00000000..eae9db66 --- /dev/null +++ b/old_docs/API_docs_v86/types/messages.HighScores.md @@ -0,0 +1,24 @@ +--- +title: messages.HighScores +description: constructors and methods of type messages.HighScores +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.HighScores +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.highScores](../constructors/messages.highScores.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getGameHighScores](../methods/messages.getGameHighScores.md) + +[$MadelineProto->messages->getInlineGameHighScores](../methods/messages.getInlineGameHighScores.md) + + + diff --git a/old_docs/API_docs_v86/types/messages.MessageEditData.md b/old_docs/API_docs_v86/types/messages.MessageEditData.md new file mode 100644 index 00000000..feb572f1 --- /dev/null +++ b/old_docs/API_docs_v86/types/messages.MessageEditData.md @@ -0,0 +1,22 @@ +--- +title: messages.MessageEditData +description: constructors and methods of type messages.MessageEditData +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.MessageEditData +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.messageEditData](../constructors/messages.messageEditData.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getMessageEditData](../methods/messages.getMessageEditData.md) + + + diff --git a/old_docs/API_docs_v86/types/messages.Messages.md b/old_docs/API_docs_v86/types/messages.Messages.md new file mode 100644 index 00000000..699ceada --- /dev/null +++ b/old_docs/API_docs_v86/types/messages.Messages.md @@ -0,0 +1,40 @@ +--- +title: messages.Messages +description: constructors and methods of type messages.Messages +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Messages +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.messages](../constructors/messages.messages.md) + +[messages.messagesSlice](../constructors/messages.messagesSlice.md) + +[messages.channelMessages](../constructors/messages.channelMessages.md) + +[messages.messagesNotModified](../constructors/messages.messagesNotModified.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getMessages](../methods/messages.getMessages.md) + +[$MadelineProto->messages->getHistory](../methods/messages.getHistory.md) + +[$MadelineProto->messages->search](../methods/messages.search.md) + +[$MadelineProto->messages->searchGlobal](../methods/messages.searchGlobal.md) + +[$MadelineProto->messages->getUnreadMentions](../methods/messages.getUnreadMentions.md) + +[$MadelineProto->messages->getRecentLocations](../methods/messages.getRecentLocations.md) + +[$MadelineProto->channels->getMessages](../methods/channels.getMessages.md) + + + diff --git a/old_docs/API_docs_v86/types/messages.PeerDialogs.md b/old_docs/API_docs_v86/types/messages.PeerDialogs.md new file mode 100644 index 00000000..9a1ceaf0 --- /dev/null +++ b/old_docs/API_docs_v86/types/messages.PeerDialogs.md @@ -0,0 +1,24 @@ +--- +title: messages.PeerDialogs +description: constructors and methods of type messages.PeerDialogs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.PeerDialogs +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.peerDialogs](../constructors/messages.peerDialogs.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getPeerDialogs](../methods/messages.getPeerDialogs.md) + +[$MadelineProto->messages->getPinnedDialogs](../methods/messages.getPinnedDialogs.md) + + + diff --git a/old_docs/API_docs_v86/types/messages.RecentStickers.md b/old_docs/API_docs_v86/types/messages.RecentStickers.md new file mode 100644 index 00000000..e5c49b92 --- /dev/null +++ b/old_docs/API_docs_v86/types/messages.RecentStickers.md @@ -0,0 +1,24 @@ +--- +title: messages.RecentStickers +description: constructors and methods of type messages.RecentStickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.RecentStickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.recentStickersNotModified](../constructors/messages.recentStickersNotModified.md) + +[messages.recentStickers](../constructors/messages.recentStickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getRecentStickers](../methods/messages.getRecentStickers.md) + + + diff --git a/old_docs/API_docs_v86/types/messages.SavedGifs.md b/old_docs/API_docs_v86/types/messages.SavedGifs.md new file mode 100644 index 00000000..99844c98 --- /dev/null +++ b/old_docs/API_docs_v86/types/messages.SavedGifs.md @@ -0,0 +1,24 @@ +--- +title: messages.SavedGifs +description: constructors and methods of type messages.SavedGifs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.SavedGifs +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.savedGifsNotModified](../constructors/messages.savedGifsNotModified.md) + +[messages.savedGifs](../constructors/messages.savedGifs.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getSavedGifs](../methods/messages.getSavedGifs.md) + + + diff --git a/old_docs/API_docs_v86/types/messages.SentEncryptedMessage.md b/old_docs/API_docs_v86/types/messages.SentEncryptedMessage.md new file mode 100644 index 00000000..b6d05b1f --- /dev/null +++ b/old_docs/API_docs_v86/types/messages.SentEncryptedMessage.md @@ -0,0 +1,28 @@ +--- +title: messages.SentEncryptedMessage +description: constructors and methods of type messages.SentEncryptedMessage +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.SentEncryptedMessage +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.sentEncryptedMessage](../constructors/messages.sentEncryptedMessage.md) + +[messages.sentEncryptedFile](../constructors/messages.sentEncryptedFile.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->sendEncrypted](../methods/messages.sendEncrypted.md) + +[$MadelineProto->messages->sendEncryptedFile](../methods/messages.sendEncryptedFile.md) + +[$MadelineProto->messages->sendEncryptedService](../methods/messages.sendEncryptedService.md) + + + diff --git a/old_docs/API_docs_v86/types/messages.StickerSet.md b/old_docs/API_docs_v86/types/messages.StickerSet.md new file mode 100644 index 00000000..e173fe45 --- /dev/null +++ b/old_docs/API_docs_v86/types/messages.StickerSet.md @@ -0,0 +1,30 @@ +--- +title: messages.StickerSet +description: constructors and methods of type messages.StickerSet +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.StickerSet +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.stickerSet](../constructors/messages.stickerSet.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getStickerSet](../methods/messages.getStickerSet.md) + +[$MadelineProto->stickers->createStickerSet](../methods/stickers.createStickerSet.md) + +[$MadelineProto->stickers->removeStickerFromSet](../methods/stickers.removeStickerFromSet.md) + +[$MadelineProto->stickers->changeStickerPosition](../methods/stickers.changeStickerPosition.md) + +[$MadelineProto->stickers->addStickerToSet](../methods/stickers.addStickerToSet.md) + + + diff --git a/old_docs/API_docs_v86/types/messages.StickerSetInstallResult.md b/old_docs/API_docs_v86/types/messages.StickerSetInstallResult.md new file mode 100644 index 00000000..9e09c293 --- /dev/null +++ b/old_docs/API_docs_v86/types/messages.StickerSetInstallResult.md @@ -0,0 +1,24 @@ +--- +title: messages.StickerSetInstallResult +description: constructors and methods of type messages.StickerSetInstallResult +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.StickerSetInstallResult +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.stickerSetInstallResultSuccess](../constructors/messages.stickerSetInstallResultSuccess.md) + +[messages.stickerSetInstallResultArchive](../constructors/messages.stickerSetInstallResultArchive.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->installStickerSet](../methods/messages.installStickerSet.md) + + + diff --git a/old_docs/API_docs_v86/types/messages.Stickers.md b/old_docs/API_docs_v86/types/messages.Stickers.md new file mode 100644 index 00000000..43bddf06 --- /dev/null +++ b/old_docs/API_docs_v86/types/messages.Stickers.md @@ -0,0 +1,24 @@ +--- +title: messages.Stickers +description: constructors and methods of type messages.Stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Stickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.stickersNotModified](../constructors/messages.stickersNotModified.md) + +[messages.stickers](../constructors/messages.stickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getStickers](../methods/messages.getStickers.md) + + + diff --git a/old_docs/API_docs_v86/types/messages_AffectedHistory.md b/old_docs/API_docs_v86/types/messages_AffectedHistory.md deleted file mode 100644 index 9eef04c0..00000000 --- a/old_docs/API_docs_v86/types/messages_AffectedHistory.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: messages_AffectedHistory -description: constructors and methods of type messages_AffectedHistory -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_AffectedHistory -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_affectedHistory](../constructors/messages_affectedHistory.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->deleteHistory](../methods/messages_deleteHistory.md) - -[$MadelineProto->messages->readMentions](../methods/messages_readMentions.md) - -[$MadelineProto->channels->deleteUserHistory](../methods/channels_deleteUserHistory.md) - - - diff --git a/old_docs/API_docs_v86/types/messages_AffectedMessages.md b/old_docs/API_docs_v86/types/messages_AffectedMessages.md deleted file mode 100644 index dcbea721..00000000 --- a/old_docs/API_docs_v86/types/messages_AffectedMessages.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: messages_AffectedMessages -description: constructors and methods of type messages_AffectedMessages -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_AffectedMessages -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_affectedMessages](../constructors/messages_affectedMessages.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->readHistory](../methods/messages_readHistory.md) - -[$MadelineProto->messages->deleteMessages](../methods/messages_deleteMessages.md) - -[$MadelineProto->messages->readMessageContents](../methods/messages_readMessageContents.md) - -[$MadelineProto->channels->deleteMessages](../methods/channels_deleteMessages.md) - - - diff --git a/old_docs/API_docs_v86/types/messages_AllStickers.md b/old_docs/API_docs_v86/types/messages_AllStickers.md deleted file mode 100644 index b6a322e0..00000000 --- a/old_docs/API_docs_v86/types/messages_AllStickers.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: messages_AllStickers -description: constructors and methods of type messages_AllStickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_AllStickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_allStickersNotModified](../constructors/messages_allStickersNotModified.md) - -[messages\_allStickers](../constructors/messages_allStickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getAllStickers](../methods/messages_getAllStickers.md) - -[$MadelineProto->messages->getMaskStickers](../methods/messages_getMaskStickers.md) - - - diff --git a/old_docs/API_docs_v86/types/messages_ArchivedStickers.md b/old_docs/API_docs_v86/types/messages_ArchivedStickers.md deleted file mode 100644 index c569675e..00000000 --- a/old_docs/API_docs_v86/types/messages_ArchivedStickers.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_ArchivedStickers -description: constructors and methods of type messages_ArchivedStickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_ArchivedStickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_archivedStickers](../constructors/messages_archivedStickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getArchivedStickers](../methods/messages_getArchivedStickers.md) - - - diff --git a/old_docs/API_docs_v86/types/messages_BotCallbackAnswer.md b/old_docs/API_docs_v86/types/messages_BotCallbackAnswer.md deleted file mode 100644 index f8d424d0..00000000 --- a/old_docs/API_docs_v86/types/messages_BotCallbackAnswer.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_BotCallbackAnswer -description: constructors and methods of type messages_BotCallbackAnswer -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_BotCallbackAnswer -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_botCallbackAnswer](../constructors/messages_botCallbackAnswer.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getBotCallbackAnswer](../methods/messages_getBotCallbackAnswer.md) - - - diff --git a/old_docs/API_docs_v86/types/messages_BotResults.md b/old_docs/API_docs_v86/types/messages_BotResults.md deleted file mode 100644 index c346c5bd..00000000 --- a/old_docs/API_docs_v86/types/messages_BotResults.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_BotResults -description: constructors and methods of type messages_BotResults -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_BotResults -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_botResults](../constructors/messages_botResults.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getInlineBotResults](../methods/messages_getInlineBotResults.md) - - - diff --git a/old_docs/API_docs_v86/types/messages_ChatFull.md b/old_docs/API_docs_v86/types/messages_ChatFull.md deleted file mode 100644 index e4add41e..00000000 --- a/old_docs/API_docs_v86/types/messages_ChatFull.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_ChatFull -description: constructors and methods of type messages_ChatFull -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_ChatFull -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_chatFull](../constructors/messages_chatFull.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getFullChat](../methods/messages_getFullChat.md) - -[$MadelineProto->channels->getFullChannel](../methods/channels_getFullChannel.md) - - - diff --git a/old_docs/API_docs_v86/types/messages_Chats.md b/old_docs/API_docs_v86/types/messages_Chats.md deleted file mode 100644 index 57349b11..00000000 --- a/old_docs/API_docs_v86/types/messages_Chats.md +++ /dev/null @@ -1,34 +0,0 @@ ---- -title: messages_Chats -description: constructors and methods of type messages_Chats -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Chats -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_chats](../constructors/messages_chats.md) - -[messages\_chatsSlice](../constructors/messages_chatsSlice.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getChats](../methods/messages_getChats.md) - -[$MadelineProto->messages->getCommonChats](../methods/messages_getCommonChats.md) - -[$MadelineProto->messages->getAllChats](../methods/messages_getAllChats.md) - -[$MadelineProto->channels->getChannels](../methods/channels_getChannels.md) - -[$MadelineProto->channels->getAdminedPublicChannels](../methods/channels_getAdminedPublicChannels.md) - -[$MadelineProto->channels->getLeftChannels](../methods/channels_getLeftChannels.md) - - - diff --git a/old_docs/API_docs_v86/types/messages_DhConfig.md b/old_docs/API_docs_v86/types/messages_DhConfig.md deleted file mode 100644 index ce237411..00000000 --- a/old_docs/API_docs_v86/types/messages_DhConfig.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_DhConfig -description: constructors and methods of type messages_DhConfig -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_DhConfig -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_dhConfigNotModified](../constructors/messages_dhConfigNotModified.md) - -[messages\_dhConfig](../constructors/messages_dhConfig.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getDhConfig](../methods/messages_getDhConfig.md) - - - diff --git a/old_docs/API_docs_v86/types/messages_Dialogs.md b/old_docs/API_docs_v86/types/messages_Dialogs.md deleted file mode 100644 index 86d5eb72..00000000 --- a/old_docs/API_docs_v86/types/messages_Dialogs.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: messages_Dialogs -description: constructors and methods of type messages_Dialogs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Dialogs -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_dialogs](../constructors/messages_dialogs.md) - -[messages\_dialogsSlice](../constructors/messages_dialogsSlice.md) - -[messages\_dialogsNotModified](../constructors/messages_dialogsNotModified.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getDialogs](../methods/messages_getDialogs.md) - - - diff --git a/old_docs/API_docs_v86/types/messages_FavedStickers.md b/old_docs/API_docs_v86/types/messages_FavedStickers.md deleted file mode 100644 index 6fa1f221..00000000 --- a/old_docs/API_docs_v86/types/messages_FavedStickers.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_FavedStickers -description: constructors and methods of type messages_FavedStickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_FavedStickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_favedStickersNotModified](../constructors/messages_favedStickersNotModified.md) - -[messages\_favedStickers](../constructors/messages_favedStickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getFavedStickers](../methods/messages_getFavedStickers.md) - - - diff --git a/old_docs/API_docs_v86/types/messages_FeaturedStickers.md b/old_docs/API_docs_v86/types/messages_FeaturedStickers.md deleted file mode 100644 index 9b4c5002..00000000 --- a/old_docs/API_docs_v86/types/messages_FeaturedStickers.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_FeaturedStickers -description: constructors and methods of type messages_FeaturedStickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_FeaturedStickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_featuredStickersNotModified](../constructors/messages_featuredStickersNotModified.md) - -[messages\_featuredStickers](../constructors/messages_featuredStickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getFeaturedStickers](../methods/messages_getFeaturedStickers.md) - - - diff --git a/old_docs/API_docs_v86/types/messages_FoundGifs.md b/old_docs/API_docs_v86/types/messages_FoundGifs.md deleted file mode 100644 index 9dd088ba..00000000 --- a/old_docs/API_docs_v86/types/messages_FoundGifs.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_FoundGifs -description: constructors and methods of type messages_FoundGifs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_FoundGifs -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_foundGifs](../constructors/messages_foundGifs.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->searchGifs](../methods/messages_searchGifs.md) - - - diff --git a/old_docs/API_docs_v86/types/messages_FoundStickerSets.md b/old_docs/API_docs_v86/types/messages_FoundStickerSets.md deleted file mode 100644 index 9045b0d7..00000000 --- a/old_docs/API_docs_v86/types/messages_FoundStickerSets.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_FoundStickerSets -description: constructors and methods of type messages_FoundStickerSets -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_FoundStickerSets -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_foundStickerSetsNotModified](../constructors/messages_foundStickerSetsNotModified.md) - -[messages\_foundStickerSets](../constructors/messages_foundStickerSets.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->searchStickerSets](../methods/messages_searchStickerSets.md) - - - diff --git a/old_docs/API_docs_v86/types/messages_HighScores.md b/old_docs/API_docs_v86/types/messages_HighScores.md deleted file mode 100644 index 9660e255..00000000 --- a/old_docs/API_docs_v86/types/messages_HighScores.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_HighScores -description: constructors and methods of type messages_HighScores -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_HighScores -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_highScores](../constructors/messages_highScores.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getGameHighScores](../methods/messages_getGameHighScores.md) - -[$MadelineProto->messages->getInlineGameHighScores](../methods/messages_getInlineGameHighScores.md) - - - diff --git a/old_docs/API_docs_v86/types/messages_MessageEditData.md b/old_docs/API_docs_v86/types/messages_MessageEditData.md deleted file mode 100644 index ed3c507a..00000000 --- a/old_docs/API_docs_v86/types/messages_MessageEditData.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_MessageEditData -description: constructors and methods of type messages_MessageEditData -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_MessageEditData -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_messageEditData](../constructors/messages_messageEditData.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getMessageEditData](../methods/messages_getMessageEditData.md) - - - diff --git a/old_docs/API_docs_v86/types/messages_Messages.md b/old_docs/API_docs_v86/types/messages_Messages.md deleted file mode 100644 index 35514e90..00000000 --- a/old_docs/API_docs_v86/types/messages_Messages.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages_Messages -description: constructors and methods of type messages_Messages -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Messages -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_messages](../constructors/messages_messages.md) - -[messages\_messagesSlice](../constructors/messages_messagesSlice.md) - -[messages\_channelMessages](../constructors/messages_channelMessages.md) - -[messages\_messagesNotModified](../constructors/messages_messagesNotModified.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getMessages](../methods/messages_getMessages.md) - -[$MadelineProto->messages->getHistory](../methods/messages_getHistory.md) - -[$MadelineProto->messages->search](../methods/messages_search.md) - -[$MadelineProto->messages->searchGlobal](../methods/messages_searchGlobal.md) - -[$MadelineProto->messages->getUnreadMentions](../methods/messages_getUnreadMentions.md) - -[$MadelineProto->messages->getRecentLocations](../methods/messages_getRecentLocations.md) - -[$MadelineProto->channels->getMessages](../methods/channels_getMessages.md) - - - diff --git a/old_docs/API_docs_v86/types/messages_PeerDialogs.md b/old_docs/API_docs_v86/types/messages_PeerDialogs.md deleted file mode 100644 index 2477931f..00000000 --- a/old_docs/API_docs_v86/types/messages_PeerDialogs.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_PeerDialogs -description: constructors and methods of type messages_PeerDialogs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_PeerDialogs -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_peerDialogs](../constructors/messages_peerDialogs.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getPeerDialogs](../methods/messages_getPeerDialogs.md) - -[$MadelineProto->messages->getPinnedDialogs](../methods/messages_getPinnedDialogs.md) - - - diff --git a/old_docs/API_docs_v86/types/messages_RecentStickers.md b/old_docs/API_docs_v86/types/messages_RecentStickers.md deleted file mode 100644 index 2c9db779..00000000 --- a/old_docs/API_docs_v86/types/messages_RecentStickers.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_RecentStickers -description: constructors and methods of type messages_RecentStickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_RecentStickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_recentStickersNotModified](../constructors/messages_recentStickersNotModified.md) - -[messages\_recentStickers](../constructors/messages_recentStickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getRecentStickers](../methods/messages_getRecentStickers.md) - - - diff --git a/old_docs/API_docs_v86/types/messages_SavedGifs.md b/old_docs/API_docs_v86/types/messages_SavedGifs.md deleted file mode 100644 index ffb000aa..00000000 --- a/old_docs/API_docs_v86/types/messages_SavedGifs.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_SavedGifs -description: constructors and methods of type messages_SavedGifs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_SavedGifs -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_savedGifsNotModified](../constructors/messages_savedGifsNotModified.md) - -[messages\_savedGifs](../constructors/messages_savedGifs.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getSavedGifs](../methods/messages_getSavedGifs.md) - - - diff --git a/old_docs/API_docs_v86/types/messages_SentEncryptedMessage.md b/old_docs/API_docs_v86/types/messages_SentEncryptedMessage.md deleted file mode 100644 index 9f7ab935..00000000 --- a/old_docs/API_docs_v86/types/messages_SentEncryptedMessage.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: messages_SentEncryptedMessage -description: constructors and methods of type messages_SentEncryptedMessage -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_SentEncryptedMessage -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_sentEncryptedMessage](../constructors/messages_sentEncryptedMessage.md) - -[messages\_sentEncryptedFile](../constructors/messages_sentEncryptedFile.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->sendEncrypted](../methods/messages_sendEncrypted.md) - -[$MadelineProto->messages->sendEncryptedFile](../methods/messages_sendEncryptedFile.md) - -[$MadelineProto->messages->sendEncryptedService](../methods/messages_sendEncryptedService.md) - - - diff --git a/old_docs/API_docs_v86/types/messages_StickerSet.md b/old_docs/API_docs_v86/types/messages_StickerSet.md deleted file mode 100644 index 98e34dd2..00000000 --- a/old_docs/API_docs_v86/types/messages_StickerSet.md +++ /dev/null @@ -1,30 +0,0 @@ ---- -title: messages_StickerSet -description: constructors and methods of type messages_StickerSet -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_StickerSet -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_stickerSet](../constructors/messages_stickerSet.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getStickerSet](../methods/messages_getStickerSet.md) - -[$MadelineProto->stickers->createStickerSet](../methods/stickers_createStickerSet.md) - -[$MadelineProto->stickers->removeStickerFromSet](../methods/stickers_removeStickerFromSet.md) - -[$MadelineProto->stickers->changeStickerPosition](../methods/stickers_changeStickerPosition.md) - -[$MadelineProto->stickers->addStickerToSet](../methods/stickers_addStickerToSet.md) - - - diff --git a/old_docs/API_docs_v86/types/messages_StickerSetInstallResult.md b/old_docs/API_docs_v86/types/messages_StickerSetInstallResult.md deleted file mode 100644 index bb62ec11..00000000 --- a/old_docs/API_docs_v86/types/messages_StickerSetInstallResult.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_StickerSetInstallResult -description: constructors and methods of type messages_StickerSetInstallResult -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_StickerSetInstallResult -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_stickerSetInstallResultSuccess](../constructors/messages_stickerSetInstallResultSuccess.md) - -[messages\_stickerSetInstallResultArchive](../constructors/messages_stickerSetInstallResultArchive.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->installStickerSet](../methods/messages_installStickerSet.md) - - - diff --git a/old_docs/API_docs_v86/types/messages_Stickers.md b/old_docs/API_docs_v86/types/messages_Stickers.md deleted file mode 100644 index cf53f57b..00000000 --- a/old_docs/API_docs_v86/types/messages_Stickers.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_Stickers -description: constructors and methods of type messages_Stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Stickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_stickersNotModified](../constructors/messages_stickersNotModified.md) - -[messages\_stickers](../constructors/messages_stickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getStickers](../methods/messages_getStickers.md) - - - diff --git a/old_docs/API_docs_v86/types/payments.PaymentForm.md b/old_docs/API_docs_v86/types/payments.PaymentForm.md new file mode 100644 index 00000000..985c1957 --- /dev/null +++ b/old_docs/API_docs_v86/types/payments.PaymentForm.md @@ -0,0 +1,22 @@ +--- +title: payments.PaymentForm +description: constructors and methods of type payments.PaymentForm +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: payments.PaymentForm +[Back to types index](index.md) + + + +### Possible values (constructors): + +[payments.paymentForm](../constructors/payments.paymentForm.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->payments->getPaymentForm](../methods/payments.getPaymentForm.md) + + + diff --git a/old_docs/API_docs_v86/types/payments.PaymentReceipt.md b/old_docs/API_docs_v86/types/payments.PaymentReceipt.md new file mode 100644 index 00000000..45cebd47 --- /dev/null +++ b/old_docs/API_docs_v86/types/payments.PaymentReceipt.md @@ -0,0 +1,22 @@ +--- +title: payments.PaymentReceipt +description: constructors and methods of type payments.PaymentReceipt +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: payments.PaymentReceipt +[Back to types index](index.md) + + + +### Possible values (constructors): + +[payments.paymentReceipt](../constructors/payments.paymentReceipt.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->payments->getPaymentReceipt](../methods/payments.getPaymentReceipt.md) + + + diff --git a/old_docs/API_docs_v86/types/payments.PaymentResult.md b/old_docs/API_docs_v86/types/payments.PaymentResult.md new file mode 100644 index 00000000..9bbff9af --- /dev/null +++ b/old_docs/API_docs_v86/types/payments.PaymentResult.md @@ -0,0 +1,24 @@ +--- +title: payments.PaymentResult +description: constructors and methods of type payments.PaymentResult +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: payments.PaymentResult +[Back to types index](index.md) + + + +### Possible values (constructors): + +[payments.paymentResult](../constructors/payments.paymentResult.md) + +[payments.paymentVerficationNeeded](../constructors/payments.paymentVerficationNeeded.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->payments->sendPaymentForm](../methods/payments.sendPaymentForm.md) + + + diff --git a/old_docs/API_docs_v86/types/payments.SavedInfo.md b/old_docs/API_docs_v86/types/payments.SavedInfo.md new file mode 100644 index 00000000..cf7be16c --- /dev/null +++ b/old_docs/API_docs_v86/types/payments.SavedInfo.md @@ -0,0 +1,22 @@ +--- +title: payments.SavedInfo +description: constructors and methods of type payments.SavedInfo +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: payments.SavedInfo +[Back to types index](index.md) + + + +### Possible values (constructors): + +[payments.savedInfo](../constructors/payments.savedInfo.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->payments->getSavedInfo](../methods/payments.getSavedInfo.md) + + + diff --git a/old_docs/API_docs_v86/types/payments.ValidatedRequestedInfo.md b/old_docs/API_docs_v86/types/payments.ValidatedRequestedInfo.md new file mode 100644 index 00000000..653a5064 --- /dev/null +++ b/old_docs/API_docs_v86/types/payments.ValidatedRequestedInfo.md @@ -0,0 +1,22 @@ +--- +title: payments.ValidatedRequestedInfo +description: constructors and methods of type payments.ValidatedRequestedInfo +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: payments.ValidatedRequestedInfo +[Back to types index](index.md) + + + +### Possible values (constructors): + +[payments.validatedRequestedInfo](../constructors/payments.validatedRequestedInfo.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->payments->validateRequestedInfo](../methods/payments.validateRequestedInfo.md) + + + diff --git a/old_docs/API_docs_v86/types/payments_PaymentForm.md b/old_docs/API_docs_v86/types/payments_PaymentForm.md deleted file mode 100644 index 4662586d..00000000 --- a/old_docs/API_docs_v86/types/payments_PaymentForm.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: payments_PaymentForm -description: constructors and methods of type payments_PaymentForm -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: payments\_PaymentForm -[Back to types index](index.md) - - - -### Possible values (constructors): - -[payments\_paymentForm](../constructors/payments_paymentForm.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->payments->getPaymentForm](../methods/payments_getPaymentForm.md) - - - diff --git a/old_docs/API_docs_v86/types/payments_PaymentReceipt.md b/old_docs/API_docs_v86/types/payments_PaymentReceipt.md deleted file mode 100644 index b4770d2a..00000000 --- a/old_docs/API_docs_v86/types/payments_PaymentReceipt.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: payments_PaymentReceipt -description: constructors and methods of type payments_PaymentReceipt -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: payments\_PaymentReceipt -[Back to types index](index.md) - - - -### Possible values (constructors): - -[payments\_paymentReceipt](../constructors/payments_paymentReceipt.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->payments->getPaymentReceipt](../methods/payments_getPaymentReceipt.md) - - - diff --git a/old_docs/API_docs_v86/types/payments_PaymentResult.md b/old_docs/API_docs_v86/types/payments_PaymentResult.md deleted file mode 100644 index 3c0ad411..00000000 --- a/old_docs/API_docs_v86/types/payments_PaymentResult.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: payments_PaymentResult -description: constructors and methods of type payments_PaymentResult -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: payments\_PaymentResult -[Back to types index](index.md) - - - -### Possible values (constructors): - -[payments\_paymentResult](../constructors/payments_paymentResult.md) - -[payments\_paymentVerficationNeeded](../constructors/payments_paymentVerficationNeeded.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->payments->sendPaymentForm](../methods/payments_sendPaymentForm.md) - - - diff --git a/old_docs/API_docs_v86/types/payments_SavedInfo.md b/old_docs/API_docs_v86/types/payments_SavedInfo.md deleted file mode 100644 index c8f7b9e3..00000000 --- a/old_docs/API_docs_v86/types/payments_SavedInfo.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: payments_SavedInfo -description: constructors and methods of type payments_SavedInfo -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: payments\_SavedInfo -[Back to types index](index.md) - - - -### Possible values (constructors): - -[payments\_savedInfo](../constructors/payments_savedInfo.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->payments->getSavedInfo](../methods/payments_getSavedInfo.md) - - - diff --git a/old_docs/API_docs_v86/types/payments_ValidatedRequestedInfo.md b/old_docs/API_docs_v86/types/payments_ValidatedRequestedInfo.md deleted file mode 100644 index ff6c4e39..00000000 --- a/old_docs/API_docs_v86/types/payments_ValidatedRequestedInfo.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: payments_ValidatedRequestedInfo -description: constructors and methods of type payments_ValidatedRequestedInfo -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: payments\_ValidatedRequestedInfo -[Back to types index](index.md) - - - -### Possible values (constructors): - -[payments\_validatedRequestedInfo](../constructors/payments_validatedRequestedInfo.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->payments->validateRequestedInfo](../methods/payments_validateRequestedInfo.md) - - - diff --git a/old_docs/API_docs_v86/types/phone.PhoneCall.md b/old_docs/API_docs_v86/types/phone.PhoneCall.md new file mode 100644 index 00000000..db0708e9 --- /dev/null +++ b/old_docs/API_docs_v86/types/phone.PhoneCall.md @@ -0,0 +1,26 @@ +--- +title: phone.PhoneCall +description: constructors and methods of type phone.PhoneCall +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: phone.PhoneCall +[Back to types index](index.md) + + + +### Possible values (constructors): + +[phone.phoneCall](../constructors/phone.phoneCall.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->phone->requestCall](../methods/phone.requestCall.md) + +[$MadelineProto->phone->acceptCall](../methods/phone.acceptCall.md) + +[$MadelineProto->phone->confirmCall](../methods/phone.confirmCall.md) + + + diff --git a/old_docs/API_docs_v86/types/phone_PhoneCall.md b/old_docs/API_docs_v86/types/phone_PhoneCall.md deleted file mode 100644 index 0a49d482..00000000 --- a/old_docs/API_docs_v86/types/phone_PhoneCall.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: phone_PhoneCall -description: constructors and methods of type phone_PhoneCall -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: phone\_PhoneCall -[Back to types index](index.md) - - - -### Possible values (constructors): - -[phone\_phoneCall](../constructors/phone_phoneCall.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->phone->requestCall](../methods/phone_requestCall.md) - -[$MadelineProto->phone->acceptCall](../methods/phone_acceptCall.md) - -[$MadelineProto->phone->confirmCall](../methods/phone_confirmCall.md) - - - diff --git a/old_docs/API_docs_v86/types/photos.Photo.md b/old_docs/API_docs_v86/types/photos.Photo.md new file mode 100644 index 00000000..d60f203c --- /dev/null +++ b/old_docs/API_docs_v86/types/photos.Photo.md @@ -0,0 +1,22 @@ +--- +title: photos.Photo +description: constructors and methods of type photos.Photo +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: photos.Photo +[Back to types index](index.md) + + + +### Possible values (constructors): + +[photos.photo](../constructors/photos.photo.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->photos->uploadProfilePhoto](../methods/photos.uploadProfilePhoto.md) + + + diff --git a/old_docs/API_docs_v86/types/photos.Photos.md b/old_docs/API_docs_v86/types/photos.Photos.md new file mode 100644 index 00000000..fff0e296 --- /dev/null +++ b/old_docs/API_docs_v86/types/photos.Photos.md @@ -0,0 +1,24 @@ +--- +title: photos.Photos +description: constructors and methods of type photos.Photos +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: photos.Photos +[Back to types index](index.md) + + + +### Possible values (constructors): + +[photos.photos](../constructors/photos.photos.md) + +[photos.photosSlice](../constructors/photos.photosSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->photos->getUserPhotos](../methods/photos.getUserPhotos.md) + + + diff --git a/old_docs/API_docs_v86/types/photos_Photo.md b/old_docs/API_docs_v86/types/photos_Photo.md deleted file mode 100644 index d11bbdef..00000000 --- a/old_docs/API_docs_v86/types/photos_Photo.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: photos_Photo -description: constructors and methods of type photos_Photo -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: photos\_Photo -[Back to types index](index.md) - - - -### Possible values (constructors): - -[photos\_photo](../constructors/photos_photo.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->photos->uploadProfilePhoto](../methods/photos_uploadProfilePhoto.md) - - - diff --git a/old_docs/API_docs_v86/types/photos_Photos.md b/old_docs/API_docs_v86/types/photos_Photos.md deleted file mode 100644 index 9875ad70..00000000 --- a/old_docs/API_docs_v86/types/photos_Photos.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: photos_Photos -description: constructors and methods of type photos_Photos -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: photos\_Photos -[Back to types index](index.md) - - - -### Possible values (constructors): - -[photos\_photos](../constructors/photos_photos.md) - -[photos\_photosSlice](../constructors/photos_photosSlice.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->photos->getUserPhotos](../methods/photos_getUserPhotos.md) - - - diff --git a/old_docs/API_docs_v86/types/storage.FileType.md b/old_docs/API_docs_v86/types/storage.FileType.md new file mode 100644 index 00000000..32f1bb72 --- /dev/null +++ b/old_docs/API_docs_v86/types/storage.FileType.md @@ -0,0 +1,38 @@ +--- +title: storage.FileType +description: constructors and methods of type storage.FileType +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: storage.FileType +[Back to types index](index.md) + + + +### Possible values (constructors): + +[storage.fileUnknown](../constructors/storage.fileUnknown.md) + +[storage.filePartial](../constructors/storage.filePartial.md) + +[storage.fileJpeg](../constructors/storage.fileJpeg.md) + +[storage.fileGif](../constructors/storage.fileGif.md) + +[storage.filePng](../constructors/storage.filePng.md) + +[storage.filePdf](../constructors/storage.filePdf.md) + +[storage.fileMp3](../constructors/storage.fileMp3.md) + +[storage.fileMov](../constructors/storage.fileMov.md) + +[storage.fileMp4](../constructors/storage.fileMp4.md) + +[storage.fileWebp](../constructors/storage.fileWebp.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v86/types/storage_FileType.md b/old_docs/API_docs_v86/types/storage_FileType.md deleted file mode 100644 index 22118805..00000000 --- a/old_docs/API_docs_v86/types/storage_FileType.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: storage_FileType -description: constructors and methods of type storage_FileType -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: storage\_FileType -[Back to types index](index.md) - - - -### Possible values (constructors): - -[storage\_fileUnknown](../constructors/storage_fileUnknown.md) - -[storage\_filePartial](../constructors/storage_filePartial.md) - -[storage\_fileJpeg](../constructors/storage_fileJpeg.md) - -[storage\_fileGif](../constructors/storage_fileGif.md) - -[storage\_filePng](../constructors/storage_filePng.md) - -[storage\_filePdf](../constructors/storage_filePdf.md) - -[storage\_fileMp3](../constructors/storage_fileMp3.md) - -[storage\_fileMov](../constructors/storage_fileMov.md) - -[storage\_fileMp4](../constructors/storage_fileMp4.md) - -[storage\_fileWebp](../constructors/storage_fileWebp.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v86/types/updates.ChannelDifference.md b/old_docs/API_docs_v86/types/updates.ChannelDifference.md new file mode 100644 index 00000000..ac889a1e --- /dev/null +++ b/old_docs/API_docs_v86/types/updates.ChannelDifference.md @@ -0,0 +1,26 @@ +--- +title: updates.ChannelDifference +description: constructors and methods of type updates.ChannelDifference +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: updates.ChannelDifference +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updates.channelDifferenceEmpty](../constructors/updates.channelDifferenceEmpty.md) + +[updates.channelDifferenceTooLong](../constructors/updates.channelDifferenceTooLong.md) + +[updates.channelDifference](../constructors/updates.channelDifference.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->updates->getChannelDifference](../methods/updates.getChannelDifference.md) + + + diff --git a/old_docs/API_docs_v86/types/updates.Difference.md b/old_docs/API_docs_v86/types/updates.Difference.md new file mode 100644 index 00000000..0c1a1b6e --- /dev/null +++ b/old_docs/API_docs_v86/types/updates.Difference.md @@ -0,0 +1,28 @@ +--- +title: updates.Difference +description: constructors and methods of type updates.Difference +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: updates.Difference +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updates.differenceEmpty](../constructors/updates.differenceEmpty.md) + +[updates.difference](../constructors/updates.difference.md) + +[updates.differenceSlice](../constructors/updates.differenceSlice.md) + +[updates.differenceTooLong](../constructors/updates.differenceTooLong.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->updates->getDifference](../methods/updates.getDifference.md) + + + diff --git a/old_docs/API_docs_v86/types/updates.State.md b/old_docs/API_docs_v86/types/updates.State.md new file mode 100644 index 00000000..49bbb7fd --- /dev/null +++ b/old_docs/API_docs_v86/types/updates.State.md @@ -0,0 +1,22 @@ +--- +title: updates.State +description: constructors and methods of type updates.State +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: updates.State +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updates.state](../constructors/updates.state.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->updates->getState](../methods/updates.getState.md) + + + diff --git a/old_docs/API_docs_v86/types/updates_ChannelDifference.md b/old_docs/API_docs_v86/types/updates_ChannelDifference.md deleted file mode 100644 index dc988692..00000000 --- a/old_docs/API_docs_v86/types/updates_ChannelDifference.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: updates_ChannelDifference -description: constructors and methods of type updates_ChannelDifference -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: updates\_ChannelDifference -[Back to types index](index.md) - - - -### Possible values (constructors): - -[updates\_channelDifferenceEmpty](../constructors/updates_channelDifferenceEmpty.md) - -[updates\_channelDifferenceTooLong](../constructors/updates_channelDifferenceTooLong.md) - -[updates\_channelDifference](../constructors/updates_channelDifference.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->updates->getChannelDifference](../methods/updates_getChannelDifference.md) - - - diff --git a/old_docs/API_docs_v86/types/updates_Difference.md b/old_docs/API_docs_v86/types/updates_Difference.md deleted file mode 100644 index 50bb098e..00000000 --- a/old_docs/API_docs_v86/types/updates_Difference.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: updates_Difference -description: constructors and methods of type updates_Difference -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: updates\_Difference -[Back to types index](index.md) - - - -### Possible values (constructors): - -[updates\_differenceEmpty](../constructors/updates_differenceEmpty.md) - -[updates\_difference](../constructors/updates_difference.md) - -[updates\_differenceSlice](../constructors/updates_differenceSlice.md) - -[updates\_differenceTooLong](../constructors/updates_differenceTooLong.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->updates->getDifference](../methods/updates_getDifference.md) - - - diff --git a/old_docs/API_docs_v86/types/updates_State.md b/old_docs/API_docs_v86/types/updates_State.md deleted file mode 100644 index 7a441145..00000000 --- a/old_docs/API_docs_v86/types/updates_State.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: updates_State -description: constructors and methods of type updates_State -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: updates\_State -[Back to types index](index.md) - - - -### Possible values (constructors): - -[updates\_state](../constructors/updates_state.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->updates->getState](../methods/updates_getState.md) - - - diff --git a/old_docs/API_docs_v86/types/upload.CdnFile.md b/old_docs/API_docs_v86/types/upload.CdnFile.md new file mode 100644 index 00000000..396c4bf4 --- /dev/null +++ b/old_docs/API_docs_v86/types/upload.CdnFile.md @@ -0,0 +1,24 @@ +--- +title: upload.CdnFile +description: constructors and methods of type upload.CdnFile +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: upload.CdnFile +[Back to types index](index.md) + + + +### Possible values (constructors): + +[upload.cdnFileReuploadNeeded](../constructors/upload.cdnFileReuploadNeeded.md) + +[upload.cdnFile](../constructors/upload.cdnFile.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->upload->getCdnFile](../methods/upload.getCdnFile.md) + + + diff --git a/old_docs/API_docs_v86/types/upload.File.md b/old_docs/API_docs_v86/types/upload.File.md new file mode 100644 index 00000000..6963341b --- /dev/null +++ b/old_docs/API_docs_v86/types/upload.File.md @@ -0,0 +1,24 @@ +--- +title: upload.File +description: constructors and methods of type upload.File +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: upload.File +[Back to types index](index.md) + + + +### Possible values (constructors): + +[upload.file](../constructors/upload.file.md) + +[upload.fileCdnRedirect](../constructors/upload.fileCdnRedirect.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->upload->getFile](../methods/upload.getFile.md) + + + diff --git a/old_docs/API_docs_v86/types/upload.WebFile.md b/old_docs/API_docs_v86/types/upload.WebFile.md new file mode 100644 index 00000000..e834457b --- /dev/null +++ b/old_docs/API_docs_v86/types/upload.WebFile.md @@ -0,0 +1,22 @@ +--- +title: upload.WebFile +description: constructors and methods of type upload.WebFile +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: upload.WebFile +[Back to types index](index.md) + + + +### Possible values (constructors): + +[upload.webFile](../constructors/upload.webFile.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->upload->getWebFile](../methods/upload.getWebFile.md) + + + diff --git a/old_docs/API_docs_v86/types/upload_CdnFile.md b/old_docs/API_docs_v86/types/upload_CdnFile.md deleted file mode 100644 index 51ae2e68..00000000 --- a/old_docs/API_docs_v86/types/upload_CdnFile.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: upload_CdnFile -description: constructors and methods of type upload_CdnFile -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: upload\_CdnFile -[Back to types index](index.md) - - - -### Possible values (constructors): - -[upload\_cdnFileReuploadNeeded](../constructors/upload_cdnFileReuploadNeeded.md) - -[upload\_cdnFile](../constructors/upload_cdnFile.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->upload->getCdnFile](../methods/upload_getCdnFile.md) - - - diff --git a/old_docs/API_docs_v86/types/upload_File.md b/old_docs/API_docs_v86/types/upload_File.md deleted file mode 100644 index 00e0f9cb..00000000 --- a/old_docs/API_docs_v86/types/upload_File.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: upload_File -description: constructors and methods of type upload_File -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: upload\_File -[Back to types index](index.md) - - - -### Possible values (constructors): - -[upload\_file](../constructors/upload_file.md) - -[upload\_fileCdnRedirect](../constructors/upload_fileCdnRedirect.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->upload->getFile](../methods/upload_getFile.md) - - - diff --git a/old_docs/API_docs_v86/types/upload_WebFile.md b/old_docs/API_docs_v86/types/upload_WebFile.md deleted file mode 100644 index 9a86264f..00000000 --- a/old_docs/API_docs_v86/types/upload_WebFile.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: upload_WebFile -description: constructors and methods of type upload_WebFile -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: upload\_WebFile -[Back to types index](index.md) - - - -### Possible values (constructors): - -[upload\_webFile](../constructors/upload_webFile.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->upload->getWebFile](../methods/upload_getWebFile.md) - - - diff --git a/old_docs/API_docs_v89/constructors/README.md b/old_docs/API_docs_v89/constructors/README.md index 2dd73b51..b5aee291 100644 --- a/old_docs/API_docs_v89/constructors/README.md +++ b/old_docs/API_docs_v89/constructors/README.md @@ -9,54 +9,74 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ***

[$accessPointRule](../constructors/accessPointRule.md) = \['phone_prefix_rules' => [string](../types/string.md), 'dc_id' => [int](../types/int.md), 'ips' => \[[IpPort](../types/IpPort.md)\], \]; +*** +

[$account.authorizationForm](../constructors/account.authorizationForm.md) = \['required_types' => \[[SecureRequiredType](../types/SecureRequiredType.md)\], 'values' => \[[SecureValue](../types/SecureValue.md)\], 'errors' => \[[SecureValueError](../types/SecureValueError.md)\], 'users' => \[[User](../types/User.md)\], 'privacy_policy_url' => [string](../types/string.md), \]; + +*** +

[$account.authorizations](../constructors/account.authorizations.md) = \['authorizations' => \[[Authorization](../types/Authorization.md)\], \]; + +*** +

[$account.password](../constructors/account.password.md) = \['has_recovery' => [Bool](../types/Bool.md), 'has_secure_values' => [Bool](../types/Bool.md), 'has_password' => [Bool](../types/Bool.md), 'current_algo' => [PasswordKdfAlgo](../types/PasswordKdfAlgo.md), 'srp_B' => [bytes](../types/bytes.md), 'srp_id' => [long](../types/long.md), 'hint' => [string](../types/string.md), 'email_unconfirmed_pattern' => [string](../types/string.md), 'new_algo' => [PasswordKdfAlgo](../types/PasswordKdfAlgo.md), 'new_secure_algo' => [SecurePasswordKdfAlgo](../types/SecurePasswordKdfAlgo.md), 'secure_random' => [bytes](../types/bytes.md), \]; + +*** +

[$account.passwordInputSettings](../constructors/account.passwordInputSettings.md) = \['new_algo' => [PasswordKdfAlgo](../types/PasswordKdfAlgo.md), 'new_password_hash' => [bytes](../types/bytes.md), 'hint' => [string](../types/string.md), 'email' => [string](../types/string.md), 'new_secure_settings' => [SecureSecretSettings](../types/SecureSecretSettings.md), \]; + +*** +

[$account.passwordSettings](../constructors/account.passwordSettings.md) = \['email' => [string](../types/string.md), 'secure_settings' => [SecureSecretSettings](../types/SecureSecretSettings.md), \]; + +*** +

[$account.privacyRules](../constructors/account.privacyRules.md) = \['rules' => \[[PrivacyRule](../types/PrivacyRule.md)\], 'users' => \[[User](../types/User.md)\], \]; + +*** +

[$account.sentEmailCode](../constructors/account.sentEmailCode.md) = \['email_pattern' => [string](../types/string.md), 'length' => [int](../types/int.md), \]; + +*** +

[$account.takeout](../constructors/account.takeout.md) = \['id' => [long](../types/long.md), \]; + +*** +

[$account.tmpPassword](../constructors/account.tmpPassword.md) = \['tmp_password' => [bytes](../types/bytes.md), 'valid_until' => [int](../types/int.md), \]; + +*** +

[$account.webAuthorizations](../constructors/account.webAuthorizations.md) = \['authorizations' => \[[WebAuthorization](../types/WebAuthorization.md)\], 'users' => \[[User](../types/User.md)\], \]; + ***

[$accountDaysTTL](../constructors/accountDaysTTL.md) = \['days' => [int](../types/int.md), \]; *** -

[$account\_authorizationForm](../constructors/account_authorizationForm.md) = \['required_types' => \[[SecureRequiredType](../types/SecureRequiredType.md)\], 'values' => \[[SecureValue](../types/SecureValue.md)\], 'errors' => \[[SecureValueError](../types/SecureValueError.md)\], 'users' => \[[User](../types/User.md)\], 'privacy_policy_url' => [string](../types/string.md), \]; - -[$account\_authorizations](../constructors/account_authorizations.md) = \['authorizations' => \[[Authorization](../types/Authorization.md)\], \]; - -[$account\_password](../constructors/account_password.md) = \['has_recovery' => [Bool](../types/Bool.md), 'has_secure_values' => [Bool](../types/Bool.md), 'has_password' => [Bool](../types/Bool.md), 'current_algo' => [PasswordKdfAlgo](../types/PasswordKdfAlgo.md), 'srp_B' => [bytes](../types/bytes.md), 'srp_id' => [long](../types/long.md), 'hint' => [string](../types/string.md), 'email_unconfirmed_pattern' => [string](../types/string.md), 'new_algo' => [PasswordKdfAlgo](../types/PasswordKdfAlgo.md), 'new_secure_algo' => [SecurePasswordKdfAlgo](../types/SecurePasswordKdfAlgo.md), 'secure_random' => [bytes](../types/bytes.md), \]; - -[$account\_passwordInputSettings](../constructors/account_passwordInputSettings.md) = \['new_algo' => [PasswordKdfAlgo](../types/PasswordKdfAlgo.md), 'new_password_hash' => [bytes](../types/bytes.md), 'hint' => [string](../types/string.md), 'email' => [string](../types/string.md), 'new_secure_settings' => [SecureSecretSettings](../types/SecureSecretSettings.md), \]; - -[$account\_passwordSettings](../constructors/account_passwordSettings.md) = \['email' => [string](../types/string.md), 'secure_settings' => [SecureSecretSettings](../types/SecureSecretSettings.md), \]; - -[$account\_privacyRules](../constructors/account_privacyRules.md) = \['rules' => \[[PrivacyRule](../types/PrivacyRule.md)\], 'users' => \[[User](../types/User.md)\], \]; - -[$account\_sentEmailCode](../constructors/account_sentEmailCode.md) = \['email_pattern' => [string](../types/string.md), 'length' => [int](../types/int.md), \]; - -[$account\_takeout](../constructors/account_takeout.md) = \['id' => [long](../types/long.md), \]; - -[$account\_tmpPassword](../constructors/account_tmpPassword.md) = \['tmp_password' => [bytes](../types/bytes.md), 'valid_until' => [int](../types/int.md), \]; - -[$account\_webAuthorizations](../constructors/account_webAuthorizations.md) = \['authorizations' => \[[WebAuthorization](../types/WebAuthorization.md)\], 'users' => \[[User](../types/User.md)\], \]; +

[$auth.authorization](../constructors/auth.authorization.md) = \['tmp_sessions' => [int](../types/int.md), 'user' => [User](../types/User.md), \]; *** -

[$auth\_authorization](../constructors/auth_authorization.md) = \['tmp_sessions' => [int](../types/int.md), 'user' => [User](../types/User.md), \]; +

[$auth.checkedPhone](../constructors/auth.checkedPhone.md) = \['phone_registered' => [Bool](../types/Bool.md), \]; -[$auth\_checkedPhone](../constructors/auth_checkedPhone.md) = \['phone_registered' => [Bool](../types/Bool.md), \]; +*** +

[$auth.codeTypeCall](../constructors/auth.codeTypeCall.md) = \[\]; -[$auth\_codeTypeCall](../constructors/auth_codeTypeCall.md) = \[\]; +*** +

[$auth.codeTypeFlashCall](../constructors/auth.codeTypeFlashCall.md) = \[\]; -[$auth\_codeTypeFlashCall](../constructors/auth_codeTypeFlashCall.md) = \[\]; +*** +

[$auth.codeTypeSms](../constructors/auth.codeTypeSms.md) = \[\]; -[$auth\_codeTypeSms](../constructors/auth_codeTypeSms.md) = \[\]; +*** +

[$auth.exportedAuthorization](../constructors/auth.exportedAuthorization.md) = \['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; -[$auth\_exportedAuthorization](../constructors/auth_exportedAuthorization.md) = \['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; +*** +

[$auth.passwordRecovery](../constructors/auth.passwordRecovery.md) = \['email_pattern' => [string](../types/string.md), \]; -[$auth\_passwordRecovery](../constructors/auth_passwordRecovery.md) = \['email_pattern' => [string](../types/string.md), \]; +*** +

[$auth.sentCode](../constructors/auth.sentCode.md) = \['phone_registered' => [Bool](../types/Bool.md), 'type' => [auth.SentCodeType](../types/auth.SentCodeType.md), 'phone_code_hash' => [string](../types/string.md), 'next_type' => [auth.CodeType](../types/auth.CodeType.md), 'timeout' => [int](../types/int.md), 'terms_of_service' => [help.TermsOfService](../types/help.TermsOfService.md), \]; -[$auth\_sentCode](../constructors/auth_sentCode.md) = \['phone_registered' => [Bool](../types/Bool.md), 'type' => [auth.SentCodeType](../types/auth.SentCodeType.md), 'phone_code_hash' => [string](../types/string.md), 'next_type' => [auth.CodeType](../types/auth.CodeType.md), 'timeout' => [int](../types/int.md), 'terms_of_service' => [help.TermsOfService](../types/help.TermsOfService.md), \]; +*** +

[$auth.sentCodeTypeApp](../constructors/auth.sentCodeTypeApp.md) = \['length' => [int](../types/int.md), \]; -[$auth\_sentCodeTypeApp](../constructors/auth_sentCodeTypeApp.md) = \['length' => [int](../types/int.md), \]; +*** +

[$auth.sentCodeTypeCall](../constructors/auth.sentCodeTypeCall.md) = \['length' => [int](../types/int.md), \]; -[$auth\_sentCodeTypeCall](../constructors/auth_sentCodeTypeCall.md) = \['length' => [int](../types/int.md), \]; +*** +

[$auth.sentCodeTypeFlashCall](../constructors/auth.sentCodeTypeFlashCall.md) = \['pattern' => [string](../types/string.md), \]; -[$auth\_sentCodeTypeFlashCall](../constructors/auth_sentCodeTypeFlashCall.md) = \['pattern' => [string](../types/string.md), \]; - -[$auth\_sentCodeTypeSms](../constructors/auth_sentCodeTypeSms.md) = \['length' => [int](../types/int.md), \]; +*** +

[$auth.sentCodeTypeSms](../constructors/auth.sentCodeTypeSms.md) = \['length' => [int](../types/int.md), \]; ***

[$authorization](../constructors/authorization.md) = \['current' => [Bool](../types/Bool.md), 'official_app' => [Bool](../types/Bool.md), 'password_pending' => [Bool](../types/Bool.md), 'hash' => [long](../types/long.md), 'device_model' => [string](../types/string.md), 'platform' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'api_id' => [int](../types/int.md), 'app_name' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'date_created' => [int](../types/int.md), 'date_active' => [int](../types/int.md), 'ip' => [string](../types/string.md), 'country' => [string](../types/string.md), 'region' => [string](../types/string.md), \]; @@ -209,13 +229,16 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$channelParticipantsSearch](../constructors/channelParticipantsSearch.md) = \['q' => [string](../types/string.md), \]; *** -

[$channels\_adminLogResults](../constructors/channels_adminLogResults.md) = \['events' => \[[ChannelAdminLogEvent](../types/ChannelAdminLogEvent.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +

[$channels.adminLogResults](../constructors/channels.adminLogResults.md) = \['events' => \[[ChannelAdminLogEvent](../types/ChannelAdminLogEvent.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$channels\_channelParticipant](../constructors/channels_channelParticipant.md) = \['participant' => [ChannelParticipant](../types/ChannelParticipant.md), 'users' => \[[User](../types/User.md)\], \]; +*** +

[$channels.channelParticipant](../constructors/channels.channelParticipant.md) = \['participant' => [ChannelParticipant](../types/ChannelParticipant.md), 'users' => \[[User](../types/User.md)\], \]; -[$channels\_channelParticipants](../constructors/channels_channelParticipants.md) = \['count' => [int](../types/int.md), 'participants' => \[[ChannelParticipant](../types/ChannelParticipant.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$channels.channelParticipants](../constructors/channels.channelParticipants.md) = \['count' => [int](../types/int.md), 'participants' => \[[ChannelParticipant](../types/ChannelParticipant.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$channels\_channelParticipantsNotModified](../constructors/channels_channelParticipantsNotModified.md) = \[\]; +*** +

[$channels.channelParticipantsNotModified](../constructors/channels.channelParticipantsNotModified.md) = \[\]; ***

[$chat](../constructors/chat.md) = \['creator' => [Bool](../types/Bool.md), 'kicked' => [Bool](../types/Bool.md), 'left' => [Bool](../types/Bool.md), 'admins_enabled' => [Bool](../types/Bool.md), 'admin' => [Bool](../types/Bool.md), 'deactivated' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'title' => [string](../types/string.md), 'photo' => [ChatPhoto](../types/ChatPhoto.md), 'participants_count' => [int](../types/int.md), 'date' => [int](../types/int.md), 'version' => [int](../types/int.md), 'migrated_to' => [InputChannel](../types/InputChannel.md), \]; @@ -287,27 +310,37 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$contactStatus](../constructors/contactStatus.md) = \['user_id' => [int](../types/int.md), 'status' => [UserStatus](../types/UserStatus.md), \]; *** -

[$contacts\_blocked](../constructors/contacts_blocked.md) = \['blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; +

[$contacts.blocked](../constructors/contacts.blocked.md) = \['blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_blockedSlice](../constructors/contacts_blockedSlice.md) = \['count' => [int](../types/int.md), 'blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.blockedSlice](../constructors/contacts.blockedSlice.md) = \['count' => [int](../types/int.md), 'blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_contacts](../constructors/contacts_contacts.md) = \['contacts' => \[[Contact](../types/Contact.md)\], 'saved_count' => [int](../types/int.md), 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.contacts](../constructors/contacts.contacts.md) = \['contacts' => \[[Contact](../types/Contact.md)\], 'saved_count' => [int](../types/int.md), 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_contactsNotModified](../constructors/contacts_contactsNotModified.md) = \[\]; +*** +

[$contacts.contactsNotModified](../constructors/contacts.contactsNotModified.md) = \[\]; -[$contacts\_found](../constructors/contacts_found.md) = \['my_results' => \[[Peer](../types/Peer.md)\], 'results' => \[[Peer](../types/Peer.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.found](../constructors/contacts.found.md) = \['my_results' => \[[Peer](../types/Peer.md)\], 'results' => \[[Peer](../types/Peer.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_importedContacts](../constructors/contacts_importedContacts.md) = \['imported' => \[[ImportedContact](../types/ImportedContact.md)\], 'popular_invites' => \[[PopularContact](../types/PopularContact.md)\], 'retry_contacts' => \[[long](../types/long.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.importedContacts](../constructors/contacts.importedContacts.md) = \['imported' => \[[ImportedContact](../types/ImportedContact.md)\], 'popular_invites' => \[[PopularContact](../types/PopularContact.md)\], 'retry_contacts' => \[[long](../types/long.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_link](../constructors/contacts_link.md) = \['my_link' => [ContactLink](../types/ContactLink.md), 'foreign_link' => [ContactLink](../types/ContactLink.md), 'user' => [User](../types/User.md), \]; +*** +

[$contacts.link](../constructors/contacts.link.md) = \['my_link' => [ContactLink](../types/ContactLink.md), 'foreign_link' => [ContactLink](../types/ContactLink.md), 'user' => [User](../types/User.md), \]; -[$contacts\_resolvedPeer](../constructors/contacts_resolvedPeer.md) = \['peer' => [Peer](../types/Peer.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.resolvedPeer](../constructors/contacts.resolvedPeer.md) = \['peer' => [Peer](../types/Peer.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_topPeers](../constructors/contacts_topPeers.md) = \['categories' => \[[TopPeerCategoryPeers](../types/TopPeerCategoryPeers.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.topPeers](../constructors/contacts.topPeers.md) = \['categories' => \[[TopPeerCategoryPeers](../types/TopPeerCategoryPeers.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_topPeersDisabled](../constructors/contacts_topPeersDisabled.md) = \[\]; +*** +

[$contacts.topPeersDisabled](../constructors/contacts.topPeersDisabled.md) = \[\]; -[$contacts\_topPeersNotModified](../constructors/contacts_topPeersNotModified.md) = \[\]; +*** +

[$contacts.topPeersNotModified](../constructors/contacts.topPeersNotModified.md) = \[\]; ***

[$dataJSON](../constructors/dataJSON.md) = \['data' => [string](../types/string.md), \]; @@ -412,41 +445,58 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$geoPointEmpty](../constructors/geoPointEmpty.md) = \[\]; *** -

[$help\_appUpdate](../constructors/help_appUpdate.md) = \['popup' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'version' => [string](../types/string.md), 'text' => [string](../types/string.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], 'document' => [Document](../types/Document.md), 'url' => [string](../types/string.md), \]; +

[$help.appUpdate](../constructors/help.appUpdate.md) = \['popup' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'version' => [string](../types/string.md), 'text' => [string](../types/string.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], 'document' => [Document](../types/Document.md), 'url' => [string](../types/string.md), \]; -[$help\_configSimple](../constructors/help_configSimple.md) = \['date' => [int](../types/int.md), 'expires' => [int](../types/int.md), 'rules' => \[[AccessPointRule](../types/AccessPointRule.md)\], \]; +*** +

[$help.configSimple](../constructors/help.configSimple.md) = \['date' => [int](../types/int.md), 'expires' => [int](../types/int.md), 'rules' => \[[AccessPointRule](../types/AccessPointRule.md)\], \]; -[$help\_deepLinkInfo](../constructors/help_deepLinkInfo.md) = \['update_app' => [Bool](../types/Bool.md), 'message' => [string](../types/string.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], \]; +*** +

[$help.deepLinkInfo](../constructors/help.deepLinkInfo.md) = \['update_app' => [Bool](../types/Bool.md), 'message' => [string](../types/string.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], \]; -[$help\_deepLinkInfoEmpty](../constructors/help_deepLinkInfoEmpty.md) = \[\]; +*** +

[$help.deepLinkInfoEmpty](../constructors/help.deepLinkInfoEmpty.md) = \[\]; -[$help\_inviteText](../constructors/help_inviteText.md) = \['message' => [string](../types/string.md), \]; +*** +

[$help.inviteText](../constructors/help.inviteText.md) = \['message' => [string](../types/string.md), \]; -[$help\_noAppUpdate](../constructors/help_noAppUpdate.md) = \[\]; +*** +

[$help.noAppUpdate](../constructors/help.noAppUpdate.md) = \[\]; -[$help\_passportConfig](../constructors/help_passportConfig.md) = \['hash' => [int](../types/int.md), 'countries_langs' => [DataJSON](../types/DataJSON.md), \]; +*** +

[$help.passportConfig](../constructors/help.passportConfig.md) = \['hash' => [int](../types/int.md), 'countries_langs' => [DataJSON](../types/DataJSON.md), \]; -[$help\_passportConfigNotModified](../constructors/help_passportConfigNotModified.md) = \[\]; +*** +

[$help.passportConfigNotModified](../constructors/help.passportConfigNotModified.md) = \[\]; -[$help\_proxyDataEmpty](../constructors/help_proxyDataEmpty.md) = \['expires' => [int](../types/int.md), \]; +*** +

[$help.proxyDataEmpty](../constructors/help.proxyDataEmpty.md) = \['expires' => [int](../types/int.md), \]; -[$help\_proxyDataPromo](../constructors/help_proxyDataPromo.md) = \['expires' => [int](../types/int.md), 'peer' => [Peer](../types/Peer.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$help.proxyDataPromo](../constructors/help.proxyDataPromo.md) = \['expires' => [int](../types/int.md), 'peer' => [Peer](../types/Peer.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$help\_recentMeUrls](../constructors/help_recentMeUrls.md) = \['urls' => \[[RecentMeUrl](../types/RecentMeUrl.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$help.recentMeUrls](../constructors/help.recentMeUrls.md) = \['urls' => \[[RecentMeUrl](../types/RecentMeUrl.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$help\_support](../constructors/help_support.md) = \['phone_number' => [string](../types/string.md), 'user' => [User](../types/User.md), \]; +*** +

[$help.support](../constructors/help.support.md) = \['phone_number' => [string](../types/string.md), 'user' => [User](../types/User.md), \]; -[$help\_supportName](../constructors/help_supportName.md) = \['name' => [string](../types/string.md), \]; +*** +

[$help.supportName](../constructors/help.supportName.md) = \['name' => [string](../types/string.md), \]; -[$help\_termsOfService](../constructors/help_termsOfService.md) = \['popup' => [Bool](../types/Bool.md), 'id' => [DataJSON](../types/DataJSON.md), 'text' => [string](../types/string.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], 'min_age_confirm' => [int](../types/int.md), \]; +*** +

[$help.termsOfService](../constructors/help.termsOfService.md) = \['popup' => [Bool](../types/Bool.md), 'id' => [DataJSON](../types/DataJSON.md), 'text' => [string](../types/string.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], 'min_age_confirm' => [int](../types/int.md), \]; -[$help\_termsOfServiceUpdate](../constructors/help_termsOfServiceUpdate.md) = \['expires' => [int](../types/int.md), 'terms_of_service' => [help.TermsOfService](../types/help.TermsOfService.md), \]; +*** +

[$help.termsOfServiceUpdate](../constructors/help.termsOfServiceUpdate.md) = \['expires' => [int](../types/int.md), 'terms_of_service' => [help.TermsOfService](../types/help.TermsOfService.md), \]; -[$help\_termsOfServiceUpdateEmpty](../constructors/help_termsOfServiceUpdateEmpty.md) = \['expires' => [int](../types/int.md), \]; +*** +

[$help.termsOfServiceUpdateEmpty](../constructors/help.termsOfServiceUpdateEmpty.md) = \['expires' => [int](../types/int.md), \]; -[$help\_userInfo](../constructors/help_userInfo.md) = \['message' => [string](../types/string.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], 'author' => [string](../types/string.md), 'date' => [int](../types/int.md), \]; +*** +

[$help.userInfo](../constructors/help.userInfo.md) = \['message' => [string](../types/string.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], 'author' => [string](../types/string.md), 'date' => [int](../types/int.md), \]; -[$help\_userInfoEmpty](../constructors/help_userInfoEmpty.md) = \[\]; +*** +

[$help.userInfoEmpty](../constructors/help.userInfoEmpty.md) = \[\]; ***

[$highScore](../constructors/highScore.md) = \['pos' => [int](../types/int.md), 'user_id' => [int](../types/int.md), 'score' => [int](../types/int.md), \]; @@ -1037,85 +1087,124 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$messageService](../constructors/messageService.md) = \['out' => [Bool](../types/Bool.md), 'mentioned' => [Bool](../types/Bool.md), 'media_unread' => [Bool](../types/Bool.md), 'silent' => [Bool](../types/Bool.md), 'post' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'from_id' => [int](../types/int.md), 'to_id' => [Peer](../types/Peer.md), 'reply_to_msg_id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'action' => [MessageAction](../types/MessageAction.md), \]; *** -

[$messages\_affectedHistory](../constructors/messages_affectedHistory.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), 'offset' => [int](../types/int.md), \]; +

[$messages.affectedHistory](../constructors/messages.affectedHistory.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), 'offset' => [int](../types/int.md), \]; -[$messages\_affectedMessages](../constructors/messages_affectedMessages.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; +*** +

[$messages.affectedMessages](../constructors/messages.affectedMessages.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; -[$messages\_allStickers](../constructors/messages_allStickers.md) = \['hash' => [int](../types/int.md), 'sets' => \[[StickerSet](../types/StickerSet.md)\], \]; +*** +

[$messages.allStickers](../constructors/messages.allStickers.md) = \['hash' => [int](../types/int.md), 'sets' => \[[StickerSet](../types/StickerSet.md)\], \]; -[$messages\_allStickersNotModified](../constructors/messages_allStickersNotModified.md) = \[\]; +*** +

[$messages.allStickersNotModified](../constructors/messages.allStickersNotModified.md) = \[\]; -[$messages\_archivedStickers](../constructors/messages_archivedStickers.md) = \['count' => [int](../types/int.md), 'sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], \]; +*** +

[$messages.archivedStickers](../constructors/messages.archivedStickers.md) = \['count' => [int](../types/int.md), 'sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], \]; -[$messages\_botCallbackAnswer](../constructors/messages_botCallbackAnswer.md) = \['alert' => [Bool](../types/Bool.md), 'has_url' => [Bool](../types/Bool.md), 'native_ui' => [Bool](../types/Bool.md), 'message' => [string](../types/string.md), 'url' => [string](../types/string.md), 'cache_time' => [int](../types/int.md), \]; +*** +

[$messages.botCallbackAnswer](../constructors/messages.botCallbackAnswer.md) = \['alert' => [Bool](../types/Bool.md), 'has_url' => [Bool](../types/Bool.md), 'native_ui' => [Bool](../types/Bool.md), 'message' => [string](../types/string.md), 'url' => [string](../types/string.md), 'cache_time' => [int](../types/int.md), \]; -[$messages\_botResults](../constructors/messages_botResults.md) = \['gallery' => [Bool](../types/Bool.md), 'query_id' => [long](../types/long.md), 'next_offset' => [string](../types/string.md), 'switch_pm' => [InlineBotSwitchPM](../types/InlineBotSwitchPM.md), 'results' => \[[BotInlineResult](../types/BotInlineResult.md)\], 'cache_time' => [int](../types/int.md), 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.botResults](../constructors/messages.botResults.md) = \['gallery' => [Bool](../types/Bool.md), 'query_id' => [long](../types/long.md), 'next_offset' => [string](../types/string.md), 'switch_pm' => [InlineBotSwitchPM](../types/InlineBotSwitchPM.md), 'results' => \[[BotInlineResult](../types/BotInlineResult.md)\], 'cache_time' => [int](../types/int.md), 'users' => \[[User](../types/User.md)\], \]; -[$messages\_channelMessages](../constructors/messages_channelMessages.md) = \['pts' => [int](../types/int.md), 'count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.channelMessages](../constructors/messages.channelMessages.md) = \['pts' => [int](../types/int.md), 'count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_chatFull](../constructors/messages_chatFull.md) = \['full_chat' => [ChatFull](../types/ChatFull.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.chatFull](../constructors/messages.chatFull.md) = \['full_chat' => [ChatFull](../types/ChatFull.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_chats](../constructors/messages_chats.md) = \['chats' => \[[Chat](../types/Chat.md)\], \]; +*** +

[$messages.chats](../constructors/messages.chats.md) = \['chats' => \[[Chat](../types/Chat.md)\], \]; -[$messages\_chatsSlice](../constructors/messages_chatsSlice.md) = \['count' => [int](../types/int.md), 'chats' => \[[Chat](../types/Chat.md)\], \]; +*** +

[$messages.chatsSlice](../constructors/messages.chatsSlice.md) = \['count' => [int](../types/int.md), 'chats' => \[[Chat](../types/Chat.md)\], \]; -[$messages\_dhConfig](../constructors/messages_dhConfig.md) = \['g' => [int](../types/int.md), 'p' => [bytes](../types/bytes.md), 'version' => [int](../types/int.md), 'random' => [bytes](../types/bytes.md), \]; +*** +

[$messages.dhConfig](../constructors/messages.dhConfig.md) = \['g' => [int](../types/int.md), 'p' => [bytes](../types/bytes.md), 'version' => [int](../types/int.md), 'random' => [bytes](../types/bytes.md), \]; -[$messages\_dhConfigNotModified](../constructors/messages_dhConfigNotModified.md) = \['random' => [bytes](../types/bytes.md), \]; +*** +

[$messages.dhConfigNotModified](../constructors/messages.dhConfigNotModified.md) = \['random' => [bytes](../types/bytes.md), \]; -[$messages\_dialogs](../constructors/messages_dialogs.md) = \['dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.dialogs](../constructors/messages.dialogs.md) = \['dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_dialogsNotModified](../constructors/messages_dialogsNotModified.md) = \['count' => [int](../types/int.md), \]; +*** +

[$messages.dialogsNotModified](../constructors/messages.dialogsNotModified.md) = \['count' => [int](../types/int.md), \]; -[$messages\_dialogsSlice](../constructors/messages_dialogsSlice.md) = \['count' => [int](../types/int.md), 'dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.dialogsSlice](../constructors/messages.dialogsSlice.md) = \['count' => [int](../types/int.md), 'dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_favedStickers](../constructors/messages_favedStickers.md) = \['hash' => [int](../types/int.md), 'packs' => \[[StickerPack](../types/StickerPack.md)\], 'stickers' => \[[Document](../types/Document.md)\], \]; +*** +

[$messages.favedStickers](../constructors/messages.favedStickers.md) = \['hash' => [int](../types/int.md), 'packs' => \[[StickerPack](../types/StickerPack.md)\], 'stickers' => \[[Document](../types/Document.md)\], \]; -[$messages\_favedStickersNotModified](../constructors/messages_favedStickersNotModified.md) = \[\]; +*** +

[$messages.favedStickersNotModified](../constructors/messages.favedStickersNotModified.md) = \[\]; -[$messages\_featuredStickers](../constructors/messages_featuredStickers.md) = \['hash' => [int](../types/int.md), 'sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], 'unread' => \[[long](../types/long.md)\], \]; +*** +

[$messages.featuredStickers](../constructors/messages.featuredStickers.md) = \['hash' => [int](../types/int.md), 'sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], 'unread' => \[[long](../types/long.md)\], \]; -[$messages\_featuredStickersNotModified](../constructors/messages_featuredStickersNotModified.md) = \[\]; +*** +

[$messages.featuredStickersNotModified](../constructors/messages.featuredStickersNotModified.md) = \[\]; -[$messages\_foundGifs](../constructors/messages_foundGifs.md) = \['next_offset' => [int](../types/int.md), 'results' => \[[FoundGif](../types/FoundGif.md)\], \]; +*** +

[$messages.foundGifs](../constructors/messages.foundGifs.md) = \['next_offset' => [int](../types/int.md), 'results' => \[[FoundGif](../types/FoundGif.md)\], \]; -[$messages\_foundStickerSets](../constructors/messages_foundStickerSets.md) = \['hash' => [int](../types/int.md), 'sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], \]; +*** +

[$messages.foundStickerSets](../constructors/messages.foundStickerSets.md) = \['hash' => [int](../types/int.md), 'sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], \]; -[$messages\_foundStickerSetsNotModified](../constructors/messages_foundStickerSetsNotModified.md) = \[\]; +*** +

[$messages.foundStickerSetsNotModified](../constructors/messages.foundStickerSetsNotModified.md) = \[\]; -[$messages\_highScores](../constructors/messages_highScores.md) = \['scores' => \[[HighScore](../types/HighScore.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.highScores](../constructors/messages.highScores.md) = \['scores' => \[[HighScore](../types/HighScore.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_messageEditData](../constructors/messages_messageEditData.md) = \['caption' => [Bool](../types/Bool.md), \]; +*** +

[$messages.messageEditData](../constructors/messages.messageEditData.md) = \['caption' => [Bool](../types/Bool.md), \]; -[$messages\_messages](../constructors/messages_messages.md) = \['messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.messages](../constructors/messages.messages.md) = \['messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_messagesNotModified](../constructors/messages_messagesNotModified.md) = \['count' => [int](../types/int.md), \]; +*** +

[$messages.messagesNotModified](../constructors/messages.messagesNotModified.md) = \['count' => [int](../types/int.md), \]; -[$messages\_messagesSlice](../constructors/messages_messagesSlice.md) = \['count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.messagesSlice](../constructors/messages.messagesSlice.md) = \['count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_peerDialogs](../constructors/messages_peerDialogs.md) = \['dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'state' => [updates.State](../types/updates.State.md), \]; +*** +

[$messages.peerDialogs](../constructors/messages.peerDialogs.md) = \['dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'state' => [updates.State](../types/updates.State.md), \]; -[$messages\_recentStickers](../constructors/messages_recentStickers.md) = \['hash' => [int](../types/int.md), 'packs' => \[[StickerPack](../types/StickerPack.md)\], 'stickers' => \[[Document](../types/Document.md)\], 'dates' => \[[int](../types/int.md)\], \]; +*** +

[$messages.recentStickers](../constructors/messages.recentStickers.md) = \['hash' => [int](../types/int.md), 'packs' => \[[StickerPack](../types/StickerPack.md)\], 'stickers' => \[[Document](../types/Document.md)\], 'dates' => \[[int](../types/int.md)\], \]; -[$messages\_recentStickersNotModified](../constructors/messages_recentStickersNotModified.md) = \[\]; +*** +

[$messages.recentStickersNotModified](../constructors/messages.recentStickersNotModified.md) = \[\]; -[$messages\_savedGifs](../constructors/messages_savedGifs.md) = \['hash' => [int](../types/int.md), 'gifs' => \[[Document](../types/Document.md)\], \]; +*** +

[$messages.savedGifs](../constructors/messages.savedGifs.md) = \['hash' => [int](../types/int.md), 'gifs' => \[[Document](../types/Document.md)\], \]; -[$messages\_savedGifsNotModified](../constructors/messages_savedGifsNotModified.md) = \[\]; +*** +

[$messages.savedGifsNotModified](../constructors/messages.savedGifsNotModified.md) = \[\]; -[$messages\_sentEncryptedFile](../constructors/messages_sentEncryptedFile.md) = \['date' => [int](../types/int.md), 'file' => [EncryptedFile](../types/EncryptedFile.md), \]; +*** +

[$messages.sentEncryptedFile](../constructors/messages.sentEncryptedFile.md) = \['date' => [int](../types/int.md), 'file' => [EncryptedFile](../types/EncryptedFile.md), \]; -[$messages\_sentEncryptedMessage](../constructors/messages_sentEncryptedMessage.md) = \['date' => [int](../types/int.md), \]; +*** +

[$messages.sentEncryptedMessage](../constructors/messages.sentEncryptedMessage.md) = \['date' => [int](../types/int.md), \]; -[$messages\_stickerSet](../constructors/messages_stickerSet.md) = \['set' => [StickerSet](../types/StickerSet.md), 'packs' => \[[StickerPack](../types/StickerPack.md)\], 'documents' => \[[Document](../types/Document.md)\], \]; +*** +

[$messages.stickerSet](../constructors/messages.stickerSet.md) = \['set' => [StickerSet](../types/StickerSet.md), 'packs' => \[[StickerPack](../types/StickerPack.md)\], 'documents' => \[[Document](../types/Document.md)\], \]; -[$messages\_stickerSetInstallResultArchive](../constructors/messages_stickerSetInstallResultArchive.md) = \['sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], \]; +*** +

[$messages.stickerSetInstallResultArchive](../constructors/messages.stickerSetInstallResultArchive.md) = \['sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], \]; -[$messages\_stickerSetInstallResultSuccess](../constructors/messages_stickerSetInstallResultSuccess.md) = \[\]; +*** +

[$messages.stickerSetInstallResultSuccess](../constructors/messages.stickerSetInstallResultSuccess.md) = \[\]; -[$messages\_stickers](../constructors/messages_stickers.md) = \['hash' => [int](../types/int.md), 'stickers' => \[[Document](../types/Document.md)\], \]; +*** +

[$messages.stickers](../constructors/messages.stickers.md) = \['hash' => [int](../types/int.md), 'stickers' => \[[Document](../types/Document.md)\], \]; -[$messages\_stickersNotModified](../constructors/messages_stickersNotModified.md) = \[\]; +*** +

[$messages.stickersNotModified](../constructors/messages.stickersNotModified.md) = \[\]; ***

[$nearestDc](../constructors/nearestDc.md) = \['country' => [string](../types/string.md), 'this_dc' => [int](../types/int.md), 'nearest_dc' => [int](../types/int.md), \]; @@ -1265,17 +1354,22 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$paymentSavedCredentialsCard](../constructors/paymentSavedCredentialsCard.md) = \['id' => [string](../types/string.md), 'title' => [string](../types/string.md), \]; *** -

[$payments\_paymentForm](../constructors/payments_paymentForm.md) = \['can_save_credentials' => [Bool](../types/Bool.md), 'password_missing' => [Bool](../types/Bool.md), 'bot_id' => [int](../types/int.md), 'invoice' => [Invoice](../types/Invoice.md), 'provider_id' => [int](../types/int.md), 'url' => [string](../types/string.md), 'native_provider' => [string](../types/string.md), 'native_params' => [DataJSON](../types/DataJSON.md), 'saved_info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), 'saved_credentials' => [PaymentSavedCredentials](../types/PaymentSavedCredentials.md), 'users' => \[[User](../types/User.md)\], \]; +

[$payments.paymentForm](../constructors/payments.paymentForm.md) = \['can_save_credentials' => [Bool](../types/Bool.md), 'password_missing' => [Bool](../types/Bool.md), 'bot_id' => [int](../types/int.md), 'invoice' => [Invoice](../types/Invoice.md), 'provider_id' => [int](../types/int.md), 'url' => [string](../types/string.md), 'native_provider' => [string](../types/string.md), 'native_params' => [DataJSON](../types/DataJSON.md), 'saved_info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), 'saved_credentials' => [PaymentSavedCredentials](../types/PaymentSavedCredentials.md), 'users' => \[[User](../types/User.md)\], \]; -[$payments\_paymentReceipt](../constructors/payments_paymentReceipt.md) = \['date' => [int](../types/int.md), 'bot_id' => [int](../types/int.md), 'invoice' => [Invoice](../types/Invoice.md), 'provider_id' => [int](../types/int.md), 'info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), 'shipping' => [ShippingOption](../types/ShippingOption.md), 'currency' => [string](../types/string.md), 'total_amount' => [long](../types/long.md), 'credentials_title' => [string](../types/string.md), 'users' => \[[User](../types/User.md)\], \]; +*** +

[$payments.paymentReceipt](../constructors/payments.paymentReceipt.md) = \['date' => [int](../types/int.md), 'bot_id' => [int](../types/int.md), 'invoice' => [Invoice](../types/Invoice.md), 'provider_id' => [int](../types/int.md), 'info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), 'shipping' => [ShippingOption](../types/ShippingOption.md), 'currency' => [string](../types/string.md), 'total_amount' => [long](../types/long.md), 'credentials_title' => [string](../types/string.md), 'users' => \[[User](../types/User.md)\], \]; -[$payments\_paymentResult](../constructors/payments_paymentResult.md) = \['updates' => [Updates](../types/Updates.md), \]; +*** +

[$payments.paymentResult](../constructors/payments.paymentResult.md) = \['updates' => [Updates](../types/Updates.md), \]; -[$payments\_paymentVerficationNeeded](../constructors/payments_paymentVerficationNeeded.md) = \['url' => [string](../types/string.md), \]; +*** +

[$payments.paymentVerficationNeeded](../constructors/payments.paymentVerficationNeeded.md) = \['url' => [string](../types/string.md), \]; -[$payments\_savedInfo](../constructors/payments_savedInfo.md) = \['has_saved_credentials' => [Bool](../types/Bool.md), 'saved_info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), \]; +*** +

[$payments.savedInfo](../constructors/payments.savedInfo.md) = \['has_saved_credentials' => [Bool](../types/Bool.md), 'saved_info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), \]; -[$payments\_validatedRequestedInfo](../constructors/payments_validatedRequestedInfo.md) = \['id' => [string](../types/string.md), 'shipping_options' => \[[ShippingOption](../types/ShippingOption.md)\], \]; +*** +

[$payments.validatedRequestedInfo](../constructors/payments.validatedRequestedInfo.md) = \['id' => [string](../types/string.md), 'shipping_options' => \[[ShippingOption](../types/ShippingOption.md)\], \]; ***

[$peerChannel](../constructors/peerChannel.md) = \['channel_id' => [int](../types/int.md), \]; @@ -1292,6 +1386,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ***

[$peerUser](../constructors/peerUser.md) = \['user_id' => [int](../types/int.md), \]; +*** +

[$phone.phoneCall](../constructors/phone.phoneCall.md) = \['phone_call' => [PhoneCall](../types/PhoneCall.md), 'users' => \[[User](../types/User.md)\], \]; + ***

[$phoneCall](../constructors/phoneCall.md) = \['p2p_allowed' => [Bool](../types/Bool.md), 'id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'date' => [int](../types/int.md), 'admin_id' => [int](../types/int.md), 'participant_id' => [int](../types/int.md), 'g_a_or_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), 'connection' => [PhoneConnection](../types/PhoneConnection.md), 'alternative_connections' => \[[PhoneConnection](../types/PhoneConnection.md)\], 'start_date' => [int](../types/int.md), \]; @@ -1328,9 +1425,6 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ***

[$phoneConnection](../constructors/phoneConnection.md) = \['id' => [long](../types/long.md), 'ip' => [string](../types/string.md), 'ipv6' => [string](../types/string.md), 'port' => [int](../types/int.md), 'peer_tag' => [bytes](../types/bytes.md), \]; -*** -

[$phone\_phoneCall](../constructors/phone_phoneCall.md) = \['phone_call' => [PhoneCall](../types/PhoneCall.md), 'users' => \[[User](../types/User.md)\], \]; - ***

[$photo](../constructors/photo.md) = \['has_stickers' => [Bool](../types/Bool.md), 'id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'file_reference' => [bytes](../types/bytes.md), 'date' => [int](../types/int.md), 'sizes' => \[[PhotoSize](../types/PhotoSize.md)\], \]; @@ -1347,11 +1441,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$photoSizeEmpty](../constructors/photoSizeEmpty.md) = \['type' => [string](../types/string.md), \]; *** -

[$photos\_photo](../constructors/photos_photo.md) = \['photo' => [Photo](../types/Photo.md), 'users' => \[[User](../types/User.md)\], \]; +

[$photos.photo](../constructors/photos.photo.md) = \['photo' => [Photo](../types/Photo.md), 'users' => \[[User](../types/User.md)\], \]; -[$photos\_photos](../constructors/photos_photos.md) = \['photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$photos.photos](../constructors/photos.photos.md) = \['photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$photos\_photosSlice](../constructors/photos_photosSlice.md) = \['count' => [int](../types/int.md), 'photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$photos.photosSlice](../constructors/photos.photosSlice.md) = \['count' => [int](../types/int.md), 'photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; ***

[$popularContact](../constructors/popularContact.md) = \['client_id' => [long](../types/long.md), 'importers' => [int](../types/int.md), \]; @@ -1585,25 +1681,34 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$stickerSetMultiCovered](../constructors/stickerSetMultiCovered.md) = \['set' => [StickerSet](../types/StickerSet.md), 'covers' => \[[Document](../types/Document.md)\], \]; *** -

[$storage\_fileGif](../constructors/storage_fileGif.md) = \[\]; +

[$storage.fileGif](../constructors/storage.fileGif.md) = \[\]; -[$storage\_fileJpeg](../constructors/storage_fileJpeg.md) = \[\]; +*** +

[$storage.fileJpeg](../constructors/storage.fileJpeg.md) = \[\]; -[$storage\_fileMov](../constructors/storage_fileMov.md) = \[\]; +*** +

[$storage.fileMov](../constructors/storage.fileMov.md) = \[\]; -[$storage\_fileMp3](../constructors/storage_fileMp3.md) = \[\]; +*** +

[$storage.fileMp3](../constructors/storage.fileMp3.md) = \[\]; -[$storage\_fileMp4](../constructors/storage_fileMp4.md) = \[\]; +*** +

[$storage.fileMp4](../constructors/storage.fileMp4.md) = \[\]; -[$storage\_filePartial](../constructors/storage_filePartial.md) = \[\]; +*** +

[$storage.filePartial](../constructors/storage.filePartial.md) = \[\]; -[$storage\_filePdf](../constructors/storage_filePdf.md) = \[\]; +*** +

[$storage.filePdf](../constructors/storage.filePdf.md) = \[\]; -[$storage\_filePng](../constructors/storage_filePng.md) = \[\]; +*** +

[$storage.filePng](../constructors/storage.filePng.md) = \[\]; -[$storage\_fileUnknown](../constructors/storage_fileUnknown.md) = \[\]; +*** +

[$storage.fileUnknown](../constructors/storage.fileUnknown.md) = \[\]; -[$storage\_fileWebp](../constructors/storage_fileWebp.md) = \[\]; +*** +

[$storage.fileWebp](../constructors/storage.fileWebp.md) = \[\]; ***

[$textAnchor](../constructors/textAnchor.md) = \['text' => [RichText](../types/RichText.md), 'name' => [string](../types/string.md), \]; @@ -1902,6 +2007,30 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ***

[$updates](../constructors/updates.md) = \['updates' => \[[Update](../types/Update.md)\], 'users' => \[[User](../types/User.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'date' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; +*** +

[$updates.channelDifference](../constructors/updates.channelDifference.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), 'new_messages' => \[[Message](../types/Message.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +*** +

[$updates.channelDifferenceEmpty](../constructors/updates.channelDifferenceEmpty.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), \]; + +*** +

[$updates.channelDifferenceTooLong](../constructors/updates.channelDifferenceTooLong.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), 'top_message' => [int](../types/int.md), 'read_inbox_max_id' => [int](../types/int.md), 'read_outbox_max_id' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), 'unread_mentions_count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +*** +

[$updates.difference](../constructors/updates.difference.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'state' => [updates.State](../types/updates.State.md), \]; + +*** +

[$updates.differenceEmpty](../constructors/updates.differenceEmpty.md) = \['date' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; + +*** +

[$updates.differenceSlice](../constructors/updates.differenceSlice.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'intermediate_state' => [updates.State](../types/updates.State.md), \]; + +*** +

[$updates.differenceTooLong](../constructors/updates.differenceTooLong.md) = \['pts' => [int](../types/int.md), \]; + +*** +

[$updates.state](../constructors/updates.state.md) = \['pts' => [int](../types/int.md), 'qts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'seq' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), \]; + ***

[$updatesCombined](../constructors/updatesCombined.md) = \['updates' => \[[Update](../types/Update.md)\], 'users' => \[[User](../types/User.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'date' => [int](../types/int.md), 'seq_start' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; @@ -1909,32 +2038,19 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$updatesTooLong](../constructors/updatesTooLong.md) = \[\]; *** -

[$updates\_channelDifference](../constructors/updates_channelDifference.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), 'new_messages' => \[[Message](../types/Message.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; - -[$updates\_channelDifferenceEmpty](../constructors/updates_channelDifferenceEmpty.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), \]; - -[$updates\_channelDifferenceTooLong](../constructors/updates_channelDifferenceTooLong.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), 'top_message' => [int](../types/int.md), 'read_inbox_max_id' => [int](../types/int.md), 'read_outbox_max_id' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), 'unread_mentions_count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; - -[$updates\_difference](../constructors/updates_difference.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'state' => [updates.State](../types/updates.State.md), \]; - -[$updates\_differenceEmpty](../constructors/updates_differenceEmpty.md) = \['date' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; - -[$updates\_differenceSlice](../constructors/updates_differenceSlice.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'intermediate_state' => [updates.State](../types/updates.State.md), \]; - -[$updates\_differenceTooLong](../constructors/updates_differenceTooLong.md) = \['pts' => [int](../types/int.md), \]; - -[$updates\_state](../constructors/updates_state.md) = \['pts' => [int](../types/int.md), 'qts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'seq' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), \]; +

[$upload.cdnFile](../constructors/upload.cdnFile.md) = \['bytes' => [bytes](../types/bytes.md), \]; *** -

[$upload\_cdnFile](../constructors/upload_cdnFile.md) = \['bytes' => [bytes](../types/bytes.md), \]; +

[$upload.cdnFileReuploadNeeded](../constructors/upload.cdnFileReuploadNeeded.md) = \['request_token' => [bytes](../types/bytes.md), \]; -[$upload\_cdnFileReuploadNeeded](../constructors/upload_cdnFileReuploadNeeded.md) = \['request_token' => [bytes](../types/bytes.md), \]; +*** +

[$upload.file](../constructors/upload.file.md) = \['type' => [storage.FileType](../types/storage.FileType.md), 'mtime' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; -[$upload\_file](../constructors/upload_file.md) = \['type' => [storage.FileType](../types/storage.FileType.md), 'mtime' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; +*** +

[$upload.fileCdnRedirect](../constructors/upload.fileCdnRedirect.md) = \['dc_id' => [int](../types/int.md), 'file_token' => [bytes](../types/bytes.md), 'encryption_key' => [bytes](../types/bytes.md), 'encryption_iv' => [bytes](../types/bytes.md), 'file_hashes' => \[[FileHash](../types/FileHash.md)\], \]; -[$upload\_fileCdnRedirect](../constructors/upload_fileCdnRedirect.md) = \['dc_id' => [int](../types/int.md), 'file_token' => [bytes](../types/bytes.md), 'encryption_key' => [bytes](../types/bytes.md), 'encryption_iv' => [bytes](../types/bytes.md), 'file_hashes' => \[[FileHash](../types/FileHash.md)\], \]; - -[$upload\_webFile](../constructors/upload_webFile.md) = \['size' => [int](../types/int.md), 'mime_type' => [string](../types/string.md), 'file_type' => [storage.FileType](../types/storage.FileType.md), 'mtime' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; +*** +

[$upload.webFile](../constructors/upload.webFile.md) = \['size' => [int](../types/int.md), 'mime_type' => [string](../types/string.md), 'file_type' => [storage.FileType](../types/storage.FileType.md), 'mtime' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; ***

[$user](../constructors/user.md) = \['self' => [Bool](../types/Bool.md), 'contact' => [Bool](../types/Bool.md), 'mutual_contact' => [Bool](../types/Bool.md), 'deleted' => [Bool](../types/Bool.md), 'bot' => [Bool](../types/Bool.md), 'bot_chat_history' => [Bool](../types/Bool.md), 'bot_nochats' => [Bool](../types/Bool.md), 'verified' => [Bool](../types/Bool.md), 'restricted' => [Bool](../types/Bool.md), 'min' => [Bool](../types/Bool.md), 'bot_inline_geo' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), 'username' => [string](../types/string.md), 'phone' => [string](../types/string.md), 'photo' => [UserProfilePhoto](../types/UserProfilePhoto.md), 'status' => [UserStatus](../types/UserStatus.md), 'bot_info_version' => [int](../types/int.md), 'restriction_reason' => [string](../types/string.md), 'bot_inline_placeholder' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]; diff --git a/old_docs/API_docs_v89/constructors/account.authorizationForm.md b/old_docs/API_docs_v89/constructors/account.authorizationForm.md new file mode 100644 index 00000000..175276bf --- /dev/null +++ b/old_docs/API_docs_v89/constructors/account.authorizationForm.md @@ -0,0 +1,42 @@ +--- +title: account.authorizationForm +description: [Telegram Passport](https://core.telegram.org/passport) authorization form +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.authorizationForm +[Back to constructors index](index.md) + + + +[Telegram Passport](https://core.telegram.org/passport) authorization form + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|required\_types|Array of [SecureRequiredType](../types/SecureRequiredType.md) | Yes|Required types| +|values|Array of [SecureValue](../types/SecureValue.md) | Yes|Values| +|errors|Array of [SecureValueError](../types/SecureValueError.md) | Yes|Errors| +|users|Array of [User](../types/User.md) | Yes|Users| +|privacy\_policy\_url|[string](../types/string.md) | Optional|URL of the service's privacy policy| + + + +### Type: [account.AuthorizationForm](../types/account.AuthorizationForm.md) + + +### Example: + +```php +$account.authorizationForm = ['_' => 'account.authorizationForm', 'required_types' => [SecureRequiredType, SecureRequiredType], 'values' => [SecureValue, SecureValue], 'errors' => [SecureValueError, SecureValueError], 'users' => [User, User], 'privacy_policy_url' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +account.authorizationForm={_='account.authorizationForm', required_types={SecureRequiredType}, values={SecureValue}, errors={SecureValueError}, users={User}, privacy_policy_url='string'} + +``` + + diff --git a/old_docs/API_docs_v89/constructors/account.authorizations.md b/old_docs/API_docs_v89/constructors/account.authorizations.md new file mode 100644 index 00000000..53c961f0 --- /dev/null +++ b/old_docs/API_docs_v89/constructors/account.authorizations.md @@ -0,0 +1,38 @@ +--- +title: account.authorizations +description: Logged-in sessions +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.authorizations +[Back to constructors index](index.md) + + + +Logged-in sessions + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|authorizations|Array of [Authorization](../types/Authorization.md) | Yes|Authorizations| + + + +### Type: [account.Authorizations](../types/account.Authorizations.md) + + +### Example: + +```php +$account.authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization, Authorization]]; +``` + + +Or, if you're into Lua: + +```lua +account.authorizations={_='account.authorizations', authorizations={Authorization}} + +``` + + diff --git a/old_docs/API_docs_v89/constructors/account.password.md b/old_docs/API_docs_v89/constructors/account.password.md new file mode 100644 index 00000000..b6ad79db --- /dev/null +++ b/old_docs/API_docs_v89/constructors/account.password.md @@ -0,0 +1,48 @@ +--- +title: account.password +description: Configuration for two-factor authorization +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.password +[Back to constructors index](index.md) + + + +Configuration for two-factor authorization + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|has\_recovery|[Bool](../types/Bool.md) | Optional|Whether the user has a recovery method configured| +|has\_secure\_values|[Bool](../types/Bool.md) | Optional|Whether telegram [passport](https://core.telegram.org/passport) is enabled| +|has\_password|[Bool](../types/Bool.md) | Optional|Whether the user has a password| +|current\_algo|[PasswordKdfAlgo](../types/PasswordKdfAlgo.md) | Optional|The [KDF algorithm for SRP two-factor authentication](https://core.telegram.org/api/srp) of the current password| +|srp\_B|[bytes](../types/bytes.md) | Optional|Srp B param for [SRP authorization](https://core.telegram.org/api/srp)| +|srp\_id|[long](../types/long.md) | Optional|Srp ID param for [SRP authorization](https://core.telegram.org/api/srp)| +|hint|[string](../types/string.md) | Optional|Text hint for the password| +|email\_unconfirmed\_pattern|[string](../types/string.md) | Optional|A [password recovery email](https://core.telegram.org/api/srp#email-verification) with the specified [pattern](https://core.telegram.org/api/pattern) is still awaiting verification| +|new\_algo|[PasswordKdfAlgo](../types/PasswordKdfAlgo.md) | Yes|The [KDF algorithm for SRP two-factor authentication](https://core.telegram.org/api/srp) to use when creating new passwords| +|new\_secure\_algo|[SecurePasswordKdfAlgo](../types/SecurePasswordKdfAlgo.md) | Yes|The KDF algorithm for telegram [passport](https://core.telegram.org/passport)| +|secure\_random|[bytes](../types/bytes.md) | Yes|Secure random string| + + + +### Type: [account.Password](../types/account.Password.md) + + +### Example: + +```php +$account.password = ['_' => 'account.password', 'has_recovery' => Bool, 'has_secure_values' => Bool, 'has_password' => Bool, 'current_algo' => PasswordKdfAlgo, 'srp_B' => 'bytes', 'srp_id' => long, 'hint' => 'string', 'email_unconfirmed_pattern' => 'string', 'new_algo' => PasswordKdfAlgo, 'new_secure_algo' => SecurePasswordKdfAlgo, 'secure_random' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +account.password={_='account.password', has_recovery=Bool, has_secure_values=Bool, has_password=Bool, current_algo=PasswordKdfAlgo, srp_B='bytes', srp_id=long, hint='string', email_unconfirmed_pattern='string', new_algo=PasswordKdfAlgo, new_secure_algo=SecurePasswordKdfAlgo, secure_random='bytes'} + +``` + + diff --git a/old_docs/API_docs_v89/constructors/account.passwordInputSettings.md b/old_docs/API_docs_v89/constructors/account.passwordInputSettings.md new file mode 100644 index 00000000..f55837c8 --- /dev/null +++ b/old_docs/API_docs_v89/constructors/account.passwordInputSettings.md @@ -0,0 +1,42 @@ +--- +title: account.passwordInputSettings +description: Settings for setting up a new password +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.passwordInputSettings +[Back to constructors index](index.md) + + + +Settings for setting up a new password + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|new\_algo|[PasswordKdfAlgo](../types/PasswordKdfAlgo.md) | Optional|The [SRP algorithm](https://core.telegram.org/api/srp) to use| +|new\_password\_hash|[bytes](../types/bytes.md) | Optional|The [computed password hash](https://core.telegram.org/api/srp)| +|hint|[string](../types/string.md) | Optional|Text hint for the password| +|email|[string](../types/string.md) | Optional|Password recovery email| +|new\_secure\_settings|[SecureSecretSettings](../types/SecureSecretSettings.md) | Optional|Telegram [passport](https://core.telegram.org/passport) settings| + + + +### Type: [account.PasswordInputSettings](../types/account.PasswordInputSettings.md) + + +### Example: + +```php +$account.passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_algo' => PasswordKdfAlgo, 'new_password_hash' => 'bytes', 'hint' => 'string', 'email' => 'string', 'new_secure_settings' => SecureSecretSettings]; +``` + + +Or, if you're into Lua: + +```lua +account.passwordInputSettings={_='account.passwordInputSettings', new_algo=PasswordKdfAlgo, new_password_hash='bytes', hint='string', email='string', new_secure_settings=SecureSecretSettings} + +``` + + diff --git a/old_docs/API_docs_v89/constructors/account.passwordSettings.md b/old_docs/API_docs_v89/constructors/account.passwordSettings.md new file mode 100644 index 00000000..ab81079e --- /dev/null +++ b/old_docs/API_docs_v89/constructors/account.passwordSettings.md @@ -0,0 +1,39 @@ +--- +title: account.passwordSettings +description: Private info associated to the password info (recovery email, telegram [passport](https://core.telegram.org/passport) info & so on) +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.passwordSettings +[Back to constructors index](index.md) + + + +Private info associated to the password info (recovery email, telegram [passport](https://core.telegram.org/passport) info & so on) + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|email|[string](../types/string.md) | Optional|[2FA Recovery email](https://core.telegram.org/api/srp#email-verification)| +|secure\_settings|[SecureSecretSettings](../types/SecureSecretSettings.md) | Optional|Telegram [passport](https://core.telegram.org/passport) settings| + + + +### Type: [account.PasswordSettings](../types/account.PasswordSettings.md) + + +### Example: + +```php +$account.passwordSettings = ['_' => 'account.passwordSettings', 'email' => 'string', 'secure_settings' => SecureSecretSettings]; +``` + + +Or, if you're into Lua: + +```lua +account.passwordSettings={_='account.passwordSettings', email='string', secure_settings=SecureSecretSettings} + +``` + + diff --git a/old_docs/API_docs_v89/constructors/account.privacyRules.md b/old_docs/API_docs_v89/constructors/account.privacyRules.md new file mode 100644 index 00000000..7ae04abb --- /dev/null +++ b/old_docs/API_docs_v89/constructors/account.privacyRules.md @@ -0,0 +1,39 @@ +--- +title: account.privacyRules +description: Privacy rules +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.privacyRules +[Back to constructors index](index.md) + + + +Privacy rules + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|rules|Array of [PrivacyRule](../types/PrivacyRule.md) | Yes|Rules| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [account.PrivacyRules](../types/account.PrivacyRules.md) + + +### Example: + +```php +$account.privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule, PrivacyRule], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +account.privacyRules={_='account.privacyRules', rules={PrivacyRule}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v89/constructors/account.sentEmailCode.md b/old_docs/API_docs_v89/constructors/account.sentEmailCode.md new file mode 100644 index 00000000..c4c30275 --- /dev/null +++ b/old_docs/API_docs_v89/constructors/account.sentEmailCode.md @@ -0,0 +1,39 @@ +--- +title: account.sentEmailCode +description: The sent email code +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.sentEmailCode +[Back to constructors index](index.md) + + + +The sent email code + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|email\_pattern|[string](../types/string.md) | Yes|The email (to which the code was sent) must match this [pattern](https://core.telegram.org/api/pattern)| +|length|[int](../types/int.md) | Yes|The length of the verification code| + + + +### Type: [account.SentEmailCode](../types/account.SentEmailCode.md) + + +### Example: + +```php +$account.sentEmailCode = ['_' => 'account.sentEmailCode', 'email_pattern' => 'string', 'length' => int]; +``` + + +Or, if you're into Lua: + +```lua +account.sentEmailCode={_='account.sentEmailCode', email_pattern='string', length=int} + +``` + + diff --git a/old_docs/API_docs_v89/constructors/account.takeout.md b/old_docs/API_docs_v89/constructors/account.takeout.md new file mode 100644 index 00000000..1aca6c70 --- /dev/null +++ b/old_docs/API_docs_v89/constructors/account.takeout.md @@ -0,0 +1,38 @@ +--- +title: account.takeout +description: Takout info +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.takeout +[Back to constructors index](index.md) + + + +Takout info + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|id|[long](../types/long.md) | Yes|Takeout ID| + + + +### Type: [account.Takeout](../types/account.Takeout.md) + + +### Example: + +```php +$account.takeout = ['_' => 'account.takeout', 'id' => long]; +``` + + +Or, if you're into Lua: + +```lua +account.takeout={_='account.takeout', id=long} + +``` + + diff --git a/old_docs/API_docs_v89/constructors/account.tmpPassword.md b/old_docs/API_docs_v89/constructors/account.tmpPassword.md new file mode 100644 index 00000000..996548c4 --- /dev/null +++ b/old_docs/API_docs_v89/constructors/account.tmpPassword.md @@ -0,0 +1,39 @@ +--- +title: account.tmpPassword +description: Temporary payment password +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.tmpPassword +[Back to constructors index](index.md) + + + +Temporary payment password + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|tmp\_password|[bytes](../types/bytes.md) | Yes|Temporary password| +|valid\_until|[int](../types/int.md) | Yes|Validity period| + + + +### Type: [account.TmpPassword](../types/account.TmpPassword.md) + + +### Example: + +```php +$account.tmpPassword = ['_' => 'account.tmpPassword', 'tmp_password' => 'bytes', 'valid_until' => int]; +``` + + +Or, if you're into Lua: + +```lua +account.tmpPassword={_='account.tmpPassword', tmp_password='bytes', valid_until=int} + +``` + + diff --git a/old_docs/API_docs_v89/constructors/account.webAuthorizations.md b/old_docs/API_docs_v89/constructors/account.webAuthorizations.md new file mode 100644 index 00000000..bb5d0211 --- /dev/null +++ b/old_docs/API_docs_v89/constructors/account.webAuthorizations.md @@ -0,0 +1,39 @@ +--- +title: account.webAuthorizations +description: Web authorizations +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.webAuthorizations +[Back to constructors index](index.md) + + + +Web authorizations + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|authorizations|Array of [WebAuthorization](../types/WebAuthorization.md) | Yes|Authorizations| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [account.WebAuthorizations](../types/account.WebAuthorizations.md) + + +### Example: + +```php +$account.webAuthorizations = ['_' => 'account.webAuthorizations', 'authorizations' => [WebAuthorization, WebAuthorization], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +account.webAuthorizations={_='account.webAuthorizations', authorizations={WebAuthorization}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v89/constructors/account_authorizationForm.md b/old_docs/API_docs_v89/constructors/account_authorizationForm.md deleted file mode 100644 index aaeff19b..00000000 --- a/old_docs/API_docs_v89/constructors/account_authorizationForm.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: account.authorizationForm -description: [Telegram Passport](https://core.telegram.org/passport) authorization form -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.authorizationForm -[Back to constructors index](index.md) - - - -[Telegram Passport](https://core.telegram.org/passport) authorization form - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|required\_types|Array of [SecureRequiredType](../types/SecureRequiredType.md) | Yes|Required types| -|values|Array of [SecureValue](../types/SecureValue.md) | Yes|Values| -|errors|Array of [SecureValueError](../types/SecureValueError.md) | Yes|Errors| -|users|Array of [User](../types/User.md) | Yes|Users| -|privacy\_policy\_url|[string](../types/string.md) | Optional|URL of the service's privacy policy| - - - -### Type: [account\_AuthorizationForm](../types/account_AuthorizationForm.md) - - -### Example: - -```php -$account_authorizationForm = ['_' => 'account.authorizationForm', 'required_types' => [SecureRequiredType, SecureRequiredType], 'values' => [SecureValue, SecureValue], 'errors' => [SecureValueError, SecureValueError], 'users' => [User, User], 'privacy_policy_url' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -account_authorizationForm={_='account.authorizationForm', required_types={SecureRequiredType}, values={SecureValue}, errors={SecureValueError}, users={User}, privacy_policy_url='string'} - -``` - - diff --git a/old_docs/API_docs_v89/constructors/account_authorizations.md b/old_docs/API_docs_v89/constructors/account_authorizations.md deleted file mode 100644 index aeae48f3..00000000 --- a/old_docs/API_docs_v89/constructors/account_authorizations.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: account.authorizations -description: Logged-in sessions -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.authorizations -[Back to constructors index](index.md) - - - -Logged-in sessions - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|authorizations|Array of [Authorization](../types/Authorization.md) | Yes|Authorizations| - - - -### Type: [account\_Authorizations](../types/account_Authorizations.md) - - -### Example: - -```php -$account_authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization, Authorization]]; -``` - - -Or, if you're into Lua: - -```lua -account_authorizations={_='account.authorizations', authorizations={Authorization}} - -``` - - diff --git a/old_docs/API_docs_v89/constructors/account_password.md b/old_docs/API_docs_v89/constructors/account_password.md deleted file mode 100644 index 0f2eaafb..00000000 --- a/old_docs/API_docs_v89/constructors/account_password.md +++ /dev/null @@ -1,48 +0,0 @@ ---- -title: account.password -description: Configuration for two-factor authorization -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.password -[Back to constructors index](index.md) - - - -Configuration for two-factor authorization - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|has\_recovery|[Bool](../types/Bool.md) | Optional|Whether the user has a recovery method configured| -|has\_secure\_values|[Bool](../types/Bool.md) | Optional|Whether telegram [passport](https://core.telegram.org/passport) is enabled| -|has\_password|[Bool](../types/Bool.md) | Optional|Whether the user has a password| -|current\_algo|[PasswordKdfAlgo](../types/PasswordKdfAlgo.md) | Optional|The [KDF algorithm for SRP two-factor authentication](https://core.telegram.org/api/srp) of the current password| -|srp\_B|[bytes](../types/bytes.md) | Optional|Srp B param for [SRP authorization](https://core.telegram.org/api/srp)| -|srp\_id|[long](../types/long.md) | Optional|Srp ID param for [SRP authorization](https://core.telegram.org/api/srp)| -|hint|[string](../types/string.md) | Optional|Text hint for the password| -|email\_unconfirmed\_pattern|[string](../types/string.md) | Optional|A [password recovery email](https://core.telegram.org/api/srp#email-verification) with the specified [pattern](https://core.telegram.org/api/pattern) is still awaiting verification| -|new\_algo|[PasswordKdfAlgo](../types/PasswordKdfAlgo.md) | Yes|The [KDF algorithm for SRP two-factor authentication](https://core.telegram.org/api/srp) to use when creating new passwords| -|new\_secure\_algo|[SecurePasswordKdfAlgo](../types/SecurePasswordKdfAlgo.md) | Yes|The KDF algorithm for telegram [passport](https://core.telegram.org/passport)| -|secure\_random|[bytes](../types/bytes.md) | Yes|Secure random string| - - - -### Type: [account\_Password](../types/account_Password.md) - - -### Example: - -```php -$account_password = ['_' => 'account.password', 'has_recovery' => Bool, 'has_secure_values' => Bool, 'has_password' => Bool, 'current_algo' => PasswordKdfAlgo, 'srp_B' => 'bytes', 'srp_id' => long, 'hint' => 'string', 'email_unconfirmed_pattern' => 'string', 'new_algo' => PasswordKdfAlgo, 'new_secure_algo' => SecurePasswordKdfAlgo, 'secure_random' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -account_password={_='account.password', has_recovery=Bool, has_secure_values=Bool, has_password=Bool, current_algo=PasswordKdfAlgo, srp_B='bytes', srp_id=long, hint='string', email_unconfirmed_pattern='string', new_algo=PasswordKdfAlgo, new_secure_algo=SecurePasswordKdfAlgo, secure_random='bytes'} - -``` - - diff --git a/old_docs/API_docs_v89/constructors/account_passwordInputSettings.md b/old_docs/API_docs_v89/constructors/account_passwordInputSettings.md deleted file mode 100644 index a4800a7c..00000000 --- a/old_docs/API_docs_v89/constructors/account_passwordInputSettings.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: account.passwordInputSettings -description: Settings for setting up a new password -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.passwordInputSettings -[Back to constructors index](index.md) - - - -Settings for setting up a new password - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|new\_algo|[PasswordKdfAlgo](../types/PasswordKdfAlgo.md) | Optional|The [SRP algorithm](https://core.telegram.org/api/srp) to use| -|new\_password\_hash|[bytes](../types/bytes.md) | Optional|The [computed password hash](https://core.telegram.org/api/srp)| -|hint|[string](../types/string.md) | Optional|Text hint for the password| -|email|[string](../types/string.md) | Optional|Password recovery email| -|new\_secure\_settings|[SecureSecretSettings](../types/SecureSecretSettings.md) | Optional|Telegram [passport](https://core.telegram.org/passport) settings| - - - -### Type: [account\_PasswordInputSettings](../types/account_PasswordInputSettings.md) - - -### Example: - -```php -$account_passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_algo' => PasswordKdfAlgo, 'new_password_hash' => 'bytes', 'hint' => 'string', 'email' => 'string', 'new_secure_settings' => SecureSecretSettings]; -``` - - -Or, if you're into Lua: - -```lua -account_passwordInputSettings={_='account.passwordInputSettings', new_algo=PasswordKdfAlgo, new_password_hash='bytes', hint='string', email='string', new_secure_settings=SecureSecretSettings} - -``` - - diff --git a/old_docs/API_docs_v89/constructors/account_passwordSettings.md b/old_docs/API_docs_v89/constructors/account_passwordSettings.md deleted file mode 100644 index 16eaf433..00000000 --- a/old_docs/API_docs_v89/constructors/account_passwordSettings.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: account.passwordSettings -description: Private info associated to the password info (recovery email, telegram [passport](https://core.telegram.org/passport) info & so on) -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.passwordSettings -[Back to constructors index](index.md) - - - -Private info associated to the password info (recovery email, telegram [passport](https://core.telegram.org/passport) info & so on) - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|email|[string](../types/string.md) | Optional|[2FA Recovery email](https://core.telegram.org/api/srp#email-verification)| -|secure\_settings|[SecureSecretSettings](../types/SecureSecretSettings.md) | Optional|Telegram [passport](https://core.telegram.org/passport) settings| - - - -### Type: [account\_PasswordSettings](../types/account_PasswordSettings.md) - - -### Example: - -```php -$account_passwordSettings = ['_' => 'account.passwordSettings', 'email' => 'string', 'secure_settings' => SecureSecretSettings]; -``` - - -Or, if you're into Lua: - -```lua -account_passwordSettings={_='account.passwordSettings', email='string', secure_settings=SecureSecretSettings} - -``` - - diff --git a/old_docs/API_docs_v89/constructors/account_privacyRules.md b/old_docs/API_docs_v89/constructors/account_privacyRules.md deleted file mode 100644 index 28b260b7..00000000 --- a/old_docs/API_docs_v89/constructors/account_privacyRules.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: account.privacyRules -description: Privacy rules -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.privacyRules -[Back to constructors index](index.md) - - - -Privacy rules - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|rules|Array of [PrivacyRule](../types/PrivacyRule.md) | Yes|Rules| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [account\_PrivacyRules](../types/account_PrivacyRules.md) - - -### Example: - -```php -$account_privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule, PrivacyRule], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -account_privacyRules={_='account.privacyRules', rules={PrivacyRule}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v89/constructors/account_sentEmailCode.md b/old_docs/API_docs_v89/constructors/account_sentEmailCode.md deleted file mode 100644 index 684fb4b5..00000000 --- a/old_docs/API_docs_v89/constructors/account_sentEmailCode.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: account.sentEmailCode -description: The sent email code -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.sentEmailCode -[Back to constructors index](index.md) - - - -The sent email code - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|email\_pattern|[string](../types/string.md) | Yes|The email (to which the code was sent) must match this [pattern](https://core.telegram.org/api/pattern)| -|length|[int](../types/int.md) | Yes|The length of the verification code| - - - -### Type: [account\_SentEmailCode](../types/account_SentEmailCode.md) - - -### Example: - -```php -$account_sentEmailCode = ['_' => 'account.sentEmailCode', 'email_pattern' => 'string', 'length' => int]; -``` - - -Or, if you're into Lua: - -```lua -account_sentEmailCode={_='account.sentEmailCode', email_pattern='string', length=int} - -``` - - diff --git a/old_docs/API_docs_v89/constructors/account_takeout.md b/old_docs/API_docs_v89/constructors/account_takeout.md deleted file mode 100644 index 09af93ca..00000000 --- a/old_docs/API_docs_v89/constructors/account_takeout.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: account.takeout -description: Takout info -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.takeout -[Back to constructors index](index.md) - - - -Takout info - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|id|[long](../types/long.md) | Yes|Takeout ID| - - - -### Type: [account\_Takeout](../types/account_Takeout.md) - - -### Example: - -```php -$account_takeout = ['_' => 'account.takeout', 'id' => long]; -``` - - -Or, if you're into Lua: - -```lua -account_takeout={_='account.takeout', id=long} - -``` - - diff --git a/old_docs/API_docs_v89/constructors/account_tmpPassword.md b/old_docs/API_docs_v89/constructors/account_tmpPassword.md deleted file mode 100644 index 68832780..00000000 --- a/old_docs/API_docs_v89/constructors/account_tmpPassword.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: account.tmpPassword -description: Temporary payment password -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.tmpPassword -[Back to constructors index](index.md) - - - -Temporary payment password - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|tmp\_password|[bytes](../types/bytes.md) | Yes|Temporary password| -|valid\_until|[int](../types/int.md) | Yes|Validity period| - - - -### Type: [account\_TmpPassword](../types/account_TmpPassword.md) - - -### Example: - -```php -$account_tmpPassword = ['_' => 'account.tmpPassword', 'tmp_password' => 'bytes', 'valid_until' => int]; -``` - - -Or, if you're into Lua: - -```lua -account_tmpPassword={_='account.tmpPassword', tmp_password='bytes', valid_until=int} - -``` - - diff --git a/old_docs/API_docs_v89/constructors/account_webAuthorizations.md b/old_docs/API_docs_v89/constructors/account_webAuthorizations.md deleted file mode 100644 index ae402006..00000000 --- a/old_docs/API_docs_v89/constructors/account_webAuthorizations.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: account.webAuthorizations -description: Web authorizations -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.webAuthorizations -[Back to constructors index](index.md) - - - -Web authorizations - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|authorizations|Array of [WebAuthorization](../types/WebAuthorization.md) | Yes|Authorizations| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [account\_WebAuthorizations](../types/account_WebAuthorizations.md) - - -### Example: - -```php -$account_webAuthorizations = ['_' => 'account.webAuthorizations', 'authorizations' => [WebAuthorization, WebAuthorization], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -account_webAuthorizations={_='account.webAuthorizations', authorizations={WebAuthorization}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v89/constructors/auth.authorization.md b/old_docs/API_docs_v89/constructors/auth.authorization.md new file mode 100644 index 00000000..2a84bb12 --- /dev/null +++ b/old_docs/API_docs_v89/constructors/auth.authorization.md @@ -0,0 +1,39 @@ +--- +title: auth.authorization +description: Contains user authorization info. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.authorization +[Back to constructors index](index.md) + + + +Contains user authorization info. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|tmp\_sessions|[int](../types/int.md) | Optional|Temporary [passport](https://core.telegram.org/passport) sessions| +|user|[User](../types/User.md) | Optional|Info on authorized user| + + + +### Type: [auth.Authorization](../types/auth.Authorization.md) + + +### Example: + +```php +$auth.authorization = ['_' => 'auth.authorization', 'tmp_sessions' => int, 'user' => User]; +``` + + +Or, if you're into Lua: + +```lua +auth.authorization={_='auth.authorization', tmp_sessions=int, user=User} + +``` + + diff --git a/old_docs/API_docs_v89/constructors/auth.checkedPhone.md b/old_docs/API_docs_v89/constructors/auth.checkedPhone.md new file mode 100644 index 00000000..23e84cf9 --- /dev/null +++ b/old_docs/API_docs_v89/constructors/auth.checkedPhone.md @@ -0,0 +1,38 @@ +--- +title: auth.checkedPhone +description: Checked phone +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.checkedPhone +[Back to constructors index](index.md) + + + +Checked phone + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_registered|[Bool](../types/Bool.md) | Yes|Phone registered?| + + + +### Type: [auth.CheckedPhone](../types/auth.CheckedPhone.md) + + +### Example: + +```php +$auth.checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool]; +``` + + +Or, if you're into Lua: + +```lua +auth.checkedPhone={_='auth.checkedPhone', phone_registered=Bool} + +``` + + diff --git a/old_docs/API_docs_v89/constructors/auth.codeTypeCall.md b/old_docs/API_docs_v89/constructors/auth.codeTypeCall.md new file mode 100644 index 00000000..4b4a1cdc --- /dev/null +++ b/old_docs/API_docs_v89/constructors/auth.codeTypeCall.md @@ -0,0 +1,33 @@ +--- +title: auth.codeTypeCall +description: Type of verification code that will be sent next if you call the resendCode method: SMS code +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.codeTypeCall +[Back to constructors index](index.md) + + + +Type of verification code that will be sent next if you call the resendCode method: SMS code + + + + +### Type: [auth.CodeType](../types/auth.CodeType.md) + + +### Example: + +```php +$auth.codeTypeCall = ['_' => 'auth.codeTypeCall']; +``` + + +Or, if you're into Lua: + +```lua +auth.codeTypeCall={_='auth.codeTypeCall'} + +``` + + diff --git a/old_docs/API_docs_v89/constructors/auth.codeTypeFlashCall.md b/old_docs/API_docs_v89/constructors/auth.codeTypeFlashCall.md new file mode 100644 index 00000000..ef97e034 --- /dev/null +++ b/old_docs/API_docs_v89/constructors/auth.codeTypeFlashCall.md @@ -0,0 +1,33 @@ +--- +title: auth.codeTypeFlashCall +description: Type of verification code that will be sent next if you call the resendCode method: SMS code +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.codeTypeFlashCall +[Back to constructors index](index.md) + + + +Type of verification code that will be sent next if you call the resendCode method: SMS code + + + + +### Type: [auth.CodeType](../types/auth.CodeType.md) + + +### Example: + +```php +$auth.codeTypeFlashCall = ['_' => 'auth.codeTypeFlashCall']; +``` + + +Or, if you're into Lua: + +```lua +auth.codeTypeFlashCall={_='auth.codeTypeFlashCall'} + +``` + + diff --git a/old_docs/API_docs_v89/constructors/auth.codeTypeSms.md b/old_docs/API_docs_v89/constructors/auth.codeTypeSms.md new file mode 100644 index 00000000..bab9a5a4 --- /dev/null +++ b/old_docs/API_docs_v89/constructors/auth.codeTypeSms.md @@ -0,0 +1,33 @@ +--- +title: auth.codeTypeSms +description: Type of verification code that will be sent next if you call the resendCode method: SMS code +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.codeTypeSms +[Back to constructors index](index.md) + + + +Type of verification code that will be sent next if you call the resendCode method: SMS code + + + + +### Type: [auth.CodeType](../types/auth.CodeType.md) + + +### Example: + +```php +$auth.codeTypeSms = ['_' => 'auth.codeTypeSms']; +``` + + +Or, if you're into Lua: + +```lua +auth.codeTypeSms={_='auth.codeTypeSms'} + +``` + + diff --git a/old_docs/API_docs_v89/constructors/auth.exportedAuthorization.md b/old_docs/API_docs_v89/constructors/auth.exportedAuthorization.md new file mode 100644 index 00000000..2a4a9896 --- /dev/null +++ b/old_docs/API_docs_v89/constructors/auth.exportedAuthorization.md @@ -0,0 +1,39 @@ +--- +title: auth.exportedAuthorization +description: Data for copying of authorization between data centres. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.exportedAuthorization +[Back to constructors index](index.md) + + + +Data for copying of authorization between data centres. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|id|[int](../types/int.md) | Yes|Current user identifier| +|bytes|[bytes](../types/bytes.md) | Yes|Authorizes key| + + + +### Type: [auth.ExportedAuthorization](../types/auth.ExportedAuthorization.md) + + +### Example: + +```php +$auth.exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +auth.exportedAuthorization={_='auth.exportedAuthorization', id=int, bytes='bytes'} + +``` + + diff --git a/old_docs/API_docs_v89/constructors/auth.passwordRecovery.md b/old_docs/API_docs_v89/constructors/auth.passwordRecovery.md new file mode 100644 index 00000000..61de922d --- /dev/null +++ b/old_docs/API_docs_v89/constructors/auth.passwordRecovery.md @@ -0,0 +1,38 @@ +--- +title: auth.passwordRecovery +description: Recovery info of a [2FA password](https://core.telegram.org/api/srp), only for accounts with a [recovery email configured](https://core.telegram.org/api/srp#email-verification). +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.passwordRecovery +[Back to constructors index](index.md) + + + +Recovery info of a [2FA password](https://core.telegram.org/api/srp), only for accounts with a [recovery email configured](https://core.telegram.org/api/srp#email-verification). + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|email\_pattern|[string](../types/string.md) | Yes|The email to which the recovery code was sent must match this [pattern](https://core.telegram.org/api/pattern).| + + + +### Type: [auth.PasswordRecovery](../types/auth.PasswordRecovery.md) + + +### Example: + +```php +$auth.passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +auth.passwordRecovery={_='auth.passwordRecovery', email_pattern='string'} + +``` + + diff --git a/old_docs/API_docs_v89/constructors/auth.sentCode.md b/old_docs/API_docs_v89/constructors/auth.sentCode.md new file mode 100644 index 00000000..bfdaea05 --- /dev/null +++ b/old_docs/API_docs_v89/constructors/auth.sentCode.md @@ -0,0 +1,43 @@ +--- +title: auth.sentCode +description: Contains info about a sent verification code. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentCode +[Back to constructors index](index.md) + + + +Contains info about a sent verification code. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_registered|[Bool](../types/Bool.md) | Optional|Phone registered?| +|type|[auth.SentCodeType](../constructors/auth.SentCodeType.md) | Yes|Phone code type| +|phone\_code\_hash|[string](../types/string.md) | Yes|Phone code hash, to be stored and later re-used with [auth.signIn](../methods/auth.signIn.md)| +|next\_type|[auth.CodeType](../constructors/auth.CodeType.md) | Optional|Phone code type that will be sent next, if the phone code is not received within `timeout` seconds: to send it use [auth.resendCode](../methods/auth.resendCode.md)| +|timeout|[int](../types/int.md) | Optional|Timeout for reception of the phone code| +|terms\_of\_service|[help.TermsOfService](../constructors/help.TermsOfService.md) | Optional|Terms of service| + + + +### Type: [auth.SentCode](../types/auth.SentCode.md) + + +### Example: + +```php +$auth.sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'type' => auth.SentCodeType, 'phone_code_hash' => 'string', 'next_type' => auth.CodeType, 'timeout' => int, 'terms_of_service' => help.TermsOfService]; +``` + + +Or, if you're into Lua: + +```lua +auth.sentCode={_='auth.sentCode', phone_registered=Bool, type=auth.SentCodeType, phone_code_hash='string', next_type=auth.CodeType, timeout=int, terms_of_service=help.TermsOfService} + +``` + + diff --git a/old_docs/API_docs_v89/constructors/auth.sentCodeTypeApp.md b/old_docs/API_docs_v89/constructors/auth.sentCodeTypeApp.md new file mode 100644 index 00000000..5f2d4aa3 --- /dev/null +++ b/old_docs/API_docs_v89/constructors/auth.sentCodeTypeApp.md @@ -0,0 +1,38 @@ +--- +title: auth.sentCodeTypeApp +description: The code was sent through the telegram app +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentCodeTypeApp +[Back to constructors index](index.md) + + + +The code was sent through the telegram app + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|length|[int](../types/int.md) | Yes|Length of the code in bytes| + + + +### Type: [auth.SentCodeType](../types/auth.SentCodeType.md) + + +### Example: + +```php +$auth.sentCodeTypeApp = ['_' => 'auth.sentCodeTypeApp', 'length' => int]; +``` + + +Or, if you're into Lua: + +```lua +auth.sentCodeTypeApp={_='auth.sentCodeTypeApp', length=int} + +``` + + diff --git a/old_docs/API_docs_v89/constructors/auth.sentCodeTypeCall.md b/old_docs/API_docs_v89/constructors/auth.sentCodeTypeCall.md new file mode 100644 index 00000000..9843b3df --- /dev/null +++ b/old_docs/API_docs_v89/constructors/auth.sentCodeTypeCall.md @@ -0,0 +1,38 @@ +--- +title: auth.sentCodeTypeCall +description: The code will be sent via a phone call: a synthesized voice will tell the user which verification code to input. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentCodeTypeCall +[Back to constructors index](index.md) + + + +The code will be sent via a phone call: a synthesized voice will tell the user which verification code to input. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|length|[int](../types/int.md) | Yes|Length of the verification code| + + + +### Type: [auth.SentCodeType](../types/auth.SentCodeType.md) + + +### Example: + +```php +$auth.sentCodeTypeCall = ['_' => 'auth.sentCodeTypeCall', 'length' => int]; +``` + + +Or, if you're into Lua: + +```lua +auth.sentCodeTypeCall={_='auth.sentCodeTypeCall', length=int} + +``` + + diff --git a/old_docs/API_docs_v89/constructors/auth.sentCodeTypeFlashCall.md b/old_docs/API_docs_v89/constructors/auth.sentCodeTypeFlashCall.md new file mode 100644 index 00000000..0d24751d --- /dev/null +++ b/old_docs/API_docs_v89/constructors/auth.sentCodeTypeFlashCall.md @@ -0,0 +1,38 @@ +--- +title: auth.sentCodeTypeFlashCall +description: The code will be sent via a flash phone call, that will be closed immediately. The phone code will then be the phone number itself, just make sure that the phone number matches the specified pattern. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentCodeTypeFlashCall +[Back to constructors index](index.md) + + + +The code will be sent via a flash phone call, that will be closed immediately. The phone code will then be the phone number itself, just make sure that the phone number matches the specified pattern. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pattern|[string](../types/string.md) | Yes|[pattern](https://core.telegram.org/api/pattern) to match| + + + +### Type: [auth.SentCodeType](../types/auth.SentCodeType.md) + + +### Example: + +```php +$auth.sentCodeTypeFlashCall = ['_' => 'auth.sentCodeTypeFlashCall', 'pattern' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +auth.sentCodeTypeFlashCall={_='auth.sentCodeTypeFlashCall', pattern='string'} + +``` + + diff --git a/old_docs/API_docs_v89/constructors/auth.sentCodeTypeSms.md b/old_docs/API_docs_v89/constructors/auth.sentCodeTypeSms.md new file mode 100644 index 00000000..d8ecb75e --- /dev/null +++ b/old_docs/API_docs_v89/constructors/auth.sentCodeTypeSms.md @@ -0,0 +1,38 @@ +--- +title: auth.sentCodeTypeSms +description: The code was sent via SMS +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentCodeTypeSms +[Back to constructors index](index.md) + + + +The code was sent via SMS + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|length|[int](../types/int.md) | Yes|Length of the code in bytes| + + + +### Type: [auth.SentCodeType](../types/auth.SentCodeType.md) + + +### Example: + +```php +$auth.sentCodeTypeSms = ['_' => 'auth.sentCodeTypeSms', 'length' => int]; +``` + + +Or, if you're into Lua: + +```lua +auth.sentCodeTypeSms={_='auth.sentCodeTypeSms', length=int} + +``` + + diff --git a/old_docs/API_docs_v89/constructors/auth_authorization.md b/old_docs/API_docs_v89/constructors/auth_authorization.md deleted file mode 100644 index cb72811d..00000000 --- a/old_docs/API_docs_v89/constructors/auth_authorization.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: auth.authorization -description: Contains user authorization info. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.authorization -[Back to constructors index](index.md) - - - -Contains user authorization info. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|tmp\_sessions|[int](../types/int.md) | Optional|Temporary [passport](https://core.telegram.org/passport) sessions| -|user|[User](../types/User.md) | Optional|Info on authorized user| - - - -### Type: [auth\_Authorization](../types/auth_Authorization.md) - - -### Example: - -```php -$auth_authorization = ['_' => 'auth.authorization', 'tmp_sessions' => int, 'user' => User]; -``` - - -Or, if you're into Lua: - -```lua -auth_authorization={_='auth.authorization', tmp_sessions=int, user=User} - -``` - - diff --git a/old_docs/API_docs_v89/constructors/auth_checkedPhone.md b/old_docs/API_docs_v89/constructors/auth_checkedPhone.md deleted file mode 100644 index c77becf6..00000000 --- a/old_docs/API_docs_v89/constructors/auth_checkedPhone.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.checkedPhone -description: Checked phone -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.checkedPhone -[Back to constructors index](index.md) - - - -Checked phone - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_registered|[Bool](../types/Bool.md) | Yes|Phone registered?| - - - -### Type: [auth\_CheckedPhone](../types/auth_CheckedPhone.md) - - -### Example: - -```php -$auth_checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool]; -``` - - -Or, if you're into Lua: - -```lua -auth_checkedPhone={_='auth.checkedPhone', phone_registered=Bool} - -``` - - diff --git a/old_docs/API_docs_v89/constructors/auth_codeTypeCall.md b/old_docs/API_docs_v89/constructors/auth_codeTypeCall.md deleted file mode 100644 index 3e957c2a..00000000 --- a/old_docs/API_docs_v89/constructors/auth_codeTypeCall.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: auth.codeTypeCall -description: Type of verification code that will be sent next if you call the resendCode method: SMS code -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.codeTypeCall -[Back to constructors index](index.md) - - - -Type of verification code that will be sent next if you call the resendCode method: SMS code - - - - -### Type: [auth\_CodeType](../types/auth_CodeType.md) - - -### Example: - -```php -$auth_codeTypeCall = ['_' => 'auth.codeTypeCall']; -``` - - -Or, if you're into Lua: - -```lua -auth_codeTypeCall={_='auth.codeTypeCall'} - -``` - - diff --git a/old_docs/API_docs_v89/constructors/auth_codeTypeFlashCall.md b/old_docs/API_docs_v89/constructors/auth_codeTypeFlashCall.md deleted file mode 100644 index 981b2461..00000000 --- a/old_docs/API_docs_v89/constructors/auth_codeTypeFlashCall.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: auth.codeTypeFlashCall -description: Type of verification code that will be sent next if you call the resendCode method: SMS code -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.codeTypeFlashCall -[Back to constructors index](index.md) - - - -Type of verification code that will be sent next if you call the resendCode method: SMS code - - - - -### Type: [auth\_CodeType](../types/auth_CodeType.md) - - -### Example: - -```php -$auth_codeTypeFlashCall = ['_' => 'auth.codeTypeFlashCall']; -``` - - -Or, if you're into Lua: - -```lua -auth_codeTypeFlashCall={_='auth.codeTypeFlashCall'} - -``` - - diff --git a/old_docs/API_docs_v89/constructors/auth_codeTypeSms.md b/old_docs/API_docs_v89/constructors/auth_codeTypeSms.md deleted file mode 100644 index 16eb5d0d..00000000 --- a/old_docs/API_docs_v89/constructors/auth_codeTypeSms.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: auth.codeTypeSms -description: Type of verification code that will be sent next if you call the resendCode method: SMS code -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.codeTypeSms -[Back to constructors index](index.md) - - - -Type of verification code that will be sent next if you call the resendCode method: SMS code - - - - -### Type: [auth\_CodeType](../types/auth_CodeType.md) - - -### Example: - -```php -$auth_codeTypeSms = ['_' => 'auth.codeTypeSms']; -``` - - -Or, if you're into Lua: - -```lua -auth_codeTypeSms={_='auth.codeTypeSms'} - -``` - - diff --git a/old_docs/API_docs_v89/constructors/auth_exportedAuthorization.md b/old_docs/API_docs_v89/constructors/auth_exportedAuthorization.md deleted file mode 100644 index 8d18916e..00000000 --- a/old_docs/API_docs_v89/constructors/auth_exportedAuthorization.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: auth.exportedAuthorization -description: Data for copying of authorization between data centres. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.exportedAuthorization -[Back to constructors index](index.md) - - - -Data for copying of authorization between data centres. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|id|[int](../types/int.md) | Yes|Current user identifier| -|bytes|[bytes](../types/bytes.md) | Yes|Authorizes key| - - - -### Type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) - - -### Example: - -```php -$auth_exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -auth_exportedAuthorization={_='auth.exportedAuthorization', id=int, bytes='bytes'} - -``` - - diff --git a/old_docs/API_docs_v89/constructors/auth_passwordRecovery.md b/old_docs/API_docs_v89/constructors/auth_passwordRecovery.md deleted file mode 100644 index c40f375e..00000000 --- a/old_docs/API_docs_v89/constructors/auth_passwordRecovery.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.passwordRecovery -description: Recovery info of a [2FA password](https://core.telegram.org/api/srp), only for accounts with a [recovery email configured](https://core.telegram.org/api/srp#email-verification). -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.passwordRecovery -[Back to constructors index](index.md) - - - -Recovery info of a [2FA password](https://core.telegram.org/api/srp), only for accounts with a [recovery email configured](https://core.telegram.org/api/srp#email-verification). - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|email\_pattern|[string](../types/string.md) | Yes|The email to which the recovery code was sent must match this [pattern](https://core.telegram.org/api/pattern).| - - - -### Type: [auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) - - -### Example: - -```php -$auth_passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -auth_passwordRecovery={_='auth.passwordRecovery', email_pattern='string'} - -``` - - diff --git a/old_docs/API_docs_v89/constructors/auth_sentCode.md b/old_docs/API_docs_v89/constructors/auth_sentCode.md deleted file mode 100644 index f34f844a..00000000 --- a/old_docs/API_docs_v89/constructors/auth_sentCode.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: auth.sentCode -description: Contains info about a sent verification code. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentCode -[Back to constructors index](index.md) - - - -Contains info about a sent verification code. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_registered|[Bool](../types/Bool.md) | Optional|Phone registered?| -|type|[auth\_SentCodeType](../types/auth_SentCodeType.md) | Yes|Phone code type| -|phone\_code\_hash|[string](../types/string.md) | Yes|Phone code hash, to be stored and later re-used with [auth.signIn](../methods/auth.signIn.md)| -|next\_type|[auth\_CodeType](../types/auth_CodeType.md) | Optional|Phone code type that will be sent next, if the phone code is not received within `timeout` seconds: to send it use [auth.resendCode](../methods/auth.resendCode.md)| -|timeout|[int](../types/int.md) | Optional|Timeout for reception of the phone code| -|terms\_of\_service|[help\_TermsOfService](../types/help_TermsOfService.md) | Optional|Terms of service| - - - -### Type: [auth\_SentCode](../types/auth_SentCode.md) - - -### Example: - -```php -$auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'type' => auth_SentCodeType, 'phone_code_hash' => 'string', 'next_type' => auth_CodeType, 'timeout' => int, 'terms_of_service' => help_TermsOfService]; -``` - - -Or, if you're into Lua: - -```lua -auth_sentCode={_='auth.sentCode', phone_registered=Bool, type=auth_SentCodeType, phone_code_hash='string', next_type=auth_CodeType, timeout=int, terms_of_service=help_TermsOfService} - -``` - - diff --git a/old_docs/API_docs_v89/constructors/auth_sentCodeTypeApp.md b/old_docs/API_docs_v89/constructors/auth_sentCodeTypeApp.md deleted file mode 100644 index 6b7ad824..00000000 --- a/old_docs/API_docs_v89/constructors/auth_sentCodeTypeApp.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.sentCodeTypeApp -description: The code was sent through the telegram app -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentCodeTypeApp -[Back to constructors index](index.md) - - - -The code was sent through the telegram app - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|length|[int](../types/int.md) | Yes|Length of the code in bytes| - - - -### Type: [auth\_SentCodeType](../types/auth_SentCodeType.md) - - -### Example: - -```php -$auth_sentCodeTypeApp = ['_' => 'auth.sentCodeTypeApp', 'length' => int]; -``` - - -Or, if you're into Lua: - -```lua -auth_sentCodeTypeApp={_='auth.sentCodeTypeApp', length=int} - -``` - - diff --git a/old_docs/API_docs_v89/constructors/auth_sentCodeTypeCall.md b/old_docs/API_docs_v89/constructors/auth_sentCodeTypeCall.md deleted file mode 100644 index bf025aa5..00000000 --- a/old_docs/API_docs_v89/constructors/auth_sentCodeTypeCall.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.sentCodeTypeCall -description: The code will be sent via a phone call: a synthesized voice will tell the user which verification code to input. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentCodeTypeCall -[Back to constructors index](index.md) - - - -The code will be sent via a phone call: a synthesized voice will tell the user which verification code to input. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|length|[int](../types/int.md) | Yes|Length of the verification code| - - - -### Type: [auth\_SentCodeType](../types/auth_SentCodeType.md) - - -### Example: - -```php -$auth_sentCodeTypeCall = ['_' => 'auth.sentCodeTypeCall', 'length' => int]; -``` - - -Or, if you're into Lua: - -```lua -auth_sentCodeTypeCall={_='auth.sentCodeTypeCall', length=int} - -``` - - diff --git a/old_docs/API_docs_v89/constructors/auth_sentCodeTypeFlashCall.md b/old_docs/API_docs_v89/constructors/auth_sentCodeTypeFlashCall.md deleted file mode 100644 index efe64ce7..00000000 --- a/old_docs/API_docs_v89/constructors/auth_sentCodeTypeFlashCall.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.sentCodeTypeFlashCall -description: The code will be sent via a flash phone call, that will be closed immediately. The phone code will then be the phone number itself, just make sure that the phone number matches the specified pattern. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentCodeTypeFlashCall -[Back to constructors index](index.md) - - - -The code will be sent via a flash phone call, that will be closed immediately. The phone code will then be the phone number itself, just make sure that the phone number matches the specified pattern. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pattern|[string](../types/string.md) | Yes|[pattern](https://core.telegram.org/api/pattern) to match| - - - -### Type: [auth\_SentCodeType](../types/auth_SentCodeType.md) - - -### Example: - -```php -$auth_sentCodeTypeFlashCall = ['_' => 'auth.sentCodeTypeFlashCall', 'pattern' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -auth_sentCodeTypeFlashCall={_='auth.sentCodeTypeFlashCall', pattern='string'} - -``` - - diff --git a/old_docs/API_docs_v89/constructors/auth_sentCodeTypeSms.md b/old_docs/API_docs_v89/constructors/auth_sentCodeTypeSms.md deleted file mode 100644 index 8e27dac9..00000000 --- a/old_docs/API_docs_v89/constructors/auth_sentCodeTypeSms.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.sentCodeTypeSms -description: The code was sent via SMS -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentCodeTypeSms -[Back to constructors index](index.md) - - - -The code was sent via SMS - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|length|[int](../types/int.md) | Yes|Length of the code in bytes| - - - -### Type: [auth\_SentCodeType](../types/auth_SentCodeType.md) - - -### Example: - -```php -$auth_sentCodeTypeSms = ['_' => 'auth.sentCodeTypeSms', 'length' => int]; -``` - - -Or, if you're into Lua: - -```lua -auth_sentCodeTypeSms={_='auth.sentCodeTypeSms', length=int} - -``` - - diff --git a/old_docs/API_docs_v89/constructors/channels.adminLogResults.md b/old_docs/API_docs_v89/constructors/channels.adminLogResults.md new file mode 100644 index 00000000..fc4e234a --- /dev/null +++ b/old_docs/API_docs_v89/constructors/channels.adminLogResults.md @@ -0,0 +1,40 @@ +--- +title: channels.adminLogResults +description: Admin log events +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: channels.adminLogResults +[Back to constructors index](index.md) + + + +Admin log events + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|events|Array of [ChannelAdminLogEvent](../types/ChannelAdminLogEvent.md) | Yes|Events| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [channels.AdminLogResults](../types/channels.AdminLogResults.md) + + +### Example: + +```php +$channels.adminLogResults = ['_' => 'channels.adminLogResults', 'events' => [ChannelAdminLogEvent, ChannelAdminLogEvent], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +channels.adminLogResults={_='channels.adminLogResults', events={ChannelAdminLogEvent}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v89/constructors/channels.channelParticipant.md b/old_docs/API_docs_v89/constructors/channels.channelParticipant.md new file mode 100644 index 00000000..0f09777f --- /dev/null +++ b/old_docs/API_docs_v89/constructors/channels.channelParticipant.md @@ -0,0 +1,39 @@ +--- +title: channels.channelParticipant +description: Represents a channel participant +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: channels.channelParticipant +[Back to constructors index](index.md) + + + +Represents a channel participant + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|participant|[ChannelParticipant](../types/ChannelParticipant.md) | Yes|The channel participant| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [channels.ChannelParticipant](../types/channels.ChannelParticipant.md) + + +### Example: + +```php +$channels.channelParticipant = ['_' => 'channels.channelParticipant', 'participant' => ChannelParticipant, 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +channels.channelParticipant={_='channels.channelParticipant', participant=ChannelParticipant, users={User}} + +``` + + diff --git a/old_docs/API_docs_v89/constructors/channels.channelParticipants.md b/old_docs/API_docs_v89/constructors/channels.channelParticipants.md new file mode 100644 index 00000000..6ee1a8b3 --- /dev/null +++ b/old_docs/API_docs_v89/constructors/channels.channelParticipants.md @@ -0,0 +1,40 @@ +--- +title: channels.channelParticipants +description: Represents multiple channel participants +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: channels.channelParticipants +[Back to constructors index](index.md) + + + +Represents multiple channel participants + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of participants that correspond to the given query| +|participants|Array of [ChannelParticipant](../types/ChannelParticipant.md) | Yes|Participants| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [channels.ChannelParticipants](../types/channels.ChannelParticipants.md) + + +### Example: + +```php +$channels.channelParticipants = ['_' => 'channels.channelParticipants', 'count' => int, 'participants' => [ChannelParticipant, ChannelParticipant], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +channels.channelParticipants={_='channels.channelParticipants', count=int, participants={ChannelParticipant}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v89/constructors/channels.channelParticipantsNotModified.md b/old_docs/API_docs_v89/constructors/channels.channelParticipantsNotModified.md new file mode 100644 index 00000000..37ece73a --- /dev/null +++ b/old_docs/API_docs_v89/constructors/channels.channelParticipantsNotModified.md @@ -0,0 +1,33 @@ +--- +title: channels.channelParticipantsNotModified +description: No new participant info could be found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: channels.channelParticipantsNotModified +[Back to constructors index](index.md) + + + +No new participant info could be found + + + + +### Type: [channels.ChannelParticipants](../types/channels.ChannelParticipants.md) + + +### Example: + +```php +$channels.channelParticipantsNotModified = ['_' => 'channels.channelParticipantsNotModified']; +``` + + +Or, if you're into Lua: + +```lua +channels.channelParticipantsNotModified={_='channels.channelParticipantsNotModified'} + +``` + + diff --git a/old_docs/API_docs_v89/constructors/channels_adminLogResults.md b/old_docs/API_docs_v89/constructors/channels_adminLogResults.md deleted file mode 100644 index 9061212a..00000000 --- a/old_docs/API_docs_v89/constructors/channels_adminLogResults.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: channels.adminLogResults -description: Admin log events -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: channels.adminLogResults -[Back to constructors index](index.md) - - - -Admin log events - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|events|Array of [ChannelAdminLogEvent](../types/ChannelAdminLogEvent.md) | Yes|Events| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [channels\_AdminLogResults](../types/channels_AdminLogResults.md) - - -### Example: - -```php -$channels_adminLogResults = ['_' => 'channels.adminLogResults', 'events' => [ChannelAdminLogEvent, ChannelAdminLogEvent], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -channels_adminLogResults={_='channels.adminLogResults', events={ChannelAdminLogEvent}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v89/constructors/channels_channelParticipant.md b/old_docs/API_docs_v89/constructors/channels_channelParticipant.md deleted file mode 100644 index 15fe46a4..00000000 --- a/old_docs/API_docs_v89/constructors/channels_channelParticipant.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: channels.channelParticipant -description: Represents a channel participant -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: channels.channelParticipant -[Back to constructors index](index.md) - - - -Represents a channel participant - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|participant|[ChannelParticipant](../types/ChannelParticipant.md) | Yes|The channel participant| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [channels\_ChannelParticipant](../types/channels_ChannelParticipant.md) - - -### Example: - -```php -$channels_channelParticipant = ['_' => 'channels.channelParticipant', 'participant' => ChannelParticipant, 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -channels_channelParticipant={_='channels.channelParticipant', participant=ChannelParticipant, users={User}} - -``` - - diff --git a/old_docs/API_docs_v89/constructors/channels_channelParticipants.md b/old_docs/API_docs_v89/constructors/channels_channelParticipants.md deleted file mode 100644 index 1848a04f..00000000 --- a/old_docs/API_docs_v89/constructors/channels_channelParticipants.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: channels.channelParticipants -description: Represents multiple channel participants -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: channels.channelParticipants -[Back to constructors index](index.md) - - - -Represents multiple channel participants - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of participants that correspond to the given query| -|participants|Array of [ChannelParticipant](../types/ChannelParticipant.md) | Yes|Participants| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [channels\_ChannelParticipants](../types/channels_ChannelParticipants.md) - - -### Example: - -```php -$channels_channelParticipants = ['_' => 'channels.channelParticipants', 'count' => int, 'participants' => [ChannelParticipant, ChannelParticipant], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -channels_channelParticipants={_='channels.channelParticipants', count=int, participants={ChannelParticipant}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v89/constructors/channels_channelParticipantsNotModified.md b/old_docs/API_docs_v89/constructors/channels_channelParticipantsNotModified.md deleted file mode 100644 index 800048f7..00000000 --- a/old_docs/API_docs_v89/constructors/channels_channelParticipantsNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: channels.channelParticipantsNotModified -description: No new participant info could be found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: channels.channelParticipantsNotModified -[Back to constructors index](index.md) - - - -No new participant info could be found - - - - -### Type: [channels\_ChannelParticipants](../types/channels_ChannelParticipants.md) - - -### Example: - -```php -$channels_channelParticipantsNotModified = ['_' => 'channels.channelParticipantsNotModified']; -``` - - -Or, if you're into Lua: - -```lua -channels_channelParticipantsNotModified={_='channels.channelParticipantsNotModified'} - -``` - - diff --git a/old_docs/API_docs_v89/constructors/contacts.blocked.md b/old_docs/API_docs_v89/constructors/contacts.blocked.md new file mode 100644 index 00000000..d2b3f680 --- /dev/null +++ b/old_docs/API_docs_v89/constructors/contacts.blocked.md @@ -0,0 +1,39 @@ +--- +title: contacts.blocked +description: Full list of blocked users. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.blocked +[Back to constructors index](index.md) + + + +Full list of blocked users. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Blocked](../types/contacts.Blocked.md) + + +### Example: + +```php +$contacts.blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.blocked={_='contacts.blocked', blocked={ContactBlocked}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v89/constructors/contacts.blockedSlice.md b/old_docs/API_docs_v89/constructors/contacts.blockedSlice.md new file mode 100644 index 00000000..92d19c72 --- /dev/null +++ b/old_docs/API_docs_v89/constructors/contacts.blockedSlice.md @@ -0,0 +1,40 @@ +--- +title: contacts.blockedSlice +description: Incomplete list of blocked users. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.blockedSlice +[Back to constructors index](index.md) + + + +Incomplete list of blocked users. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of elements in the list| +|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Blocked](../types/contacts.Blocked.md) + + +### Example: + +```php +$contacts.blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.blockedSlice={_='contacts.blockedSlice', count=int, blocked={ContactBlocked}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v89/constructors/contacts.contacts.md b/old_docs/API_docs_v89/constructors/contacts.contacts.md new file mode 100644 index 00000000..c3251e5d --- /dev/null +++ b/old_docs/API_docs_v89/constructors/contacts.contacts.md @@ -0,0 +1,40 @@ +--- +title: contacts.contacts +description: The current user's contact list and info on users. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.contacts +[Back to constructors index](index.md) + + + +The current user's contact list and info on users. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|contacts|Array of [Contact](../types/Contact.md) | Yes|Contacts| +|saved\_count|[int](../types/int.md) | Yes|Number of contacts that were saved successfully| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Contacts](../types/contacts.Contacts.md) + + +### Example: + +```php +$contacts.contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact, Contact], 'saved_count' => int, 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.contacts={_='contacts.contacts', contacts={Contact}, saved_count=int, users={User}} + +``` + + diff --git a/old_docs/API_docs_v89/constructors/contacts.contactsNotModified.md b/old_docs/API_docs_v89/constructors/contacts.contactsNotModified.md new file mode 100644 index 00000000..e2149396 --- /dev/null +++ b/old_docs/API_docs_v89/constructors/contacts.contactsNotModified.md @@ -0,0 +1,33 @@ +--- +title: contacts.contactsNotModified +description: Contact list on the server is the same as the list on the client. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.contactsNotModified +[Back to constructors index](index.md) + + + +Contact list on the server is the same as the list on the client. + + + + +### Type: [contacts.Contacts](../types/contacts.Contacts.md) + + +### Example: + +```php +$contacts.contactsNotModified = ['_' => 'contacts.contactsNotModified']; +``` + + +Or, if you're into Lua: + +```lua +contacts.contactsNotModified={_='contacts.contactsNotModified'} + +``` + + diff --git a/old_docs/API_docs_v89/constructors/contacts.found.md b/old_docs/API_docs_v89/constructors/contacts.found.md new file mode 100644 index 00000000..65df2f8d --- /dev/null +++ b/old_docs/API_docs_v89/constructors/contacts.found.md @@ -0,0 +1,41 @@ +--- +title: contacts.found +description: Users found by name substring and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.found +[Back to constructors index](index.md) + + + +Users found by name substring and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|my\_results|Array of [Peer](../types/Peer.md) | Yes|My results| +|results|Array of [Peer](../types/Peer.md) | Yes|Results| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Found](../types/contacts.Found.md) + + +### Example: + +```php +$contacts.found = ['_' => 'contacts.found', 'my_results' => [Peer, Peer], 'results' => [Peer, Peer], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.found={_='contacts.found', my_results={Peer}, results={Peer}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v89/constructors/contacts.importedContacts.md b/old_docs/API_docs_v89/constructors/contacts.importedContacts.md new file mode 100644 index 00000000..20075931 --- /dev/null +++ b/old_docs/API_docs_v89/constructors/contacts.importedContacts.md @@ -0,0 +1,41 @@ +--- +title: contacts.importedContacts +description: Info on succesfully imported contacts. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.importedContacts +[Back to constructors index](index.md) + + + +Info on succesfully imported contacts. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|imported|Array of [ImportedContact](../types/ImportedContact.md) | Yes|Imported| +|popular\_invites|Array of [PopularContact](../types/PopularContact.md) | Yes|Popular invites| +|retry\_contacts|Array of [long](../types/long.md) | Yes|Retry importing contacts whose client IDs appear here| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.ImportedContacts](../types/contacts.ImportedContacts.md) + + +### Example: + +```php +$contacts.importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact, ImportedContact], 'popular_invites' => [PopularContact, PopularContact], 'retry_contacts' => [long, long], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.importedContacts={_='contacts.importedContacts', imported={ImportedContact}, popular_invites={PopularContact}, retry_contacts={long}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v89/constructors/contacts.link.md b/old_docs/API_docs_v89/constructors/contacts.link.md new file mode 100644 index 00000000..ab150a0d --- /dev/null +++ b/old_docs/API_docs_v89/constructors/contacts.link.md @@ -0,0 +1,40 @@ +--- +title: contacts.link +description: Link +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.link +[Back to constructors index](index.md) + + + +Link + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|my\_link|[ContactLink](../types/ContactLink.md) | Yes|My link| +|foreign\_link|[ContactLink](../types/ContactLink.md) | Yes|Foreign link| +|user|[User](../types/User.md) | Optional|User| + + + +### Type: [contacts.Link](../types/contacts.Link.md) + + +### Example: + +```php +$contacts.link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User]; +``` + + +Or, if you're into Lua: + +```lua +contacts.link={_='contacts.link', my_link=ContactLink, foreign_link=ContactLink, user=User} + +``` + + diff --git a/old_docs/API_docs_v89/constructors/contacts.resolvedPeer.md b/old_docs/API_docs_v89/constructors/contacts.resolvedPeer.md new file mode 100644 index 00000000..35d88481 --- /dev/null +++ b/old_docs/API_docs_v89/constructors/contacts.resolvedPeer.md @@ -0,0 +1,40 @@ +--- +title: contacts.resolvedPeer +description: Resolved peer +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.resolvedPeer +[Back to constructors index](index.md) + + + +Resolved peer + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|peer|[Peer](../types/Peer.md) | Yes|The peer| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.ResolvedPeer](../types/contacts.ResolvedPeer.md) + + +### Example: + +```php +$contacts.resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.resolvedPeer={_='contacts.resolvedPeer', peer=Peer, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v89/constructors/contacts.topPeers.md b/old_docs/API_docs_v89/constructors/contacts.topPeers.md new file mode 100644 index 00000000..19d9c712 --- /dev/null +++ b/old_docs/API_docs_v89/constructors/contacts.topPeers.md @@ -0,0 +1,40 @@ +--- +title: contacts.topPeers +description: Top peers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.topPeers +[Back to constructors index](index.md) + + + +Top peers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|categories|Array of [TopPeerCategoryPeers](../types/TopPeerCategoryPeers.md) | Yes|Categories| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.TopPeers](../types/contacts.TopPeers.md) + + +### Example: + +```php +$contacts.topPeers = ['_' => 'contacts.topPeers', 'categories' => [TopPeerCategoryPeers, TopPeerCategoryPeers], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.topPeers={_='contacts.topPeers', categories={TopPeerCategoryPeers}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v89/constructors/contacts.topPeersDisabled.md b/old_docs/API_docs_v89/constructors/contacts.topPeersDisabled.md new file mode 100644 index 00000000..a0e2c50b --- /dev/null +++ b/old_docs/API_docs_v89/constructors/contacts.topPeersDisabled.md @@ -0,0 +1,33 @@ +--- +title: contacts.topPeersDisabled +description: Top peers disabled +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.topPeersDisabled +[Back to constructors index](index.md) + + + +Top peers disabled + + + + +### Type: [contacts.TopPeers](../types/contacts.TopPeers.md) + + +### Example: + +```php +$contacts.topPeersDisabled = ['_' => 'contacts.topPeersDisabled']; +``` + + +Or, if you're into Lua: + +```lua +contacts.topPeersDisabled={_='contacts.topPeersDisabled'} + +``` + + diff --git a/old_docs/API_docs_v89/constructors/contacts.topPeersNotModified.md b/old_docs/API_docs_v89/constructors/contacts.topPeersNotModified.md new file mode 100644 index 00000000..77c5eb4d --- /dev/null +++ b/old_docs/API_docs_v89/constructors/contacts.topPeersNotModified.md @@ -0,0 +1,33 @@ +--- +title: contacts.topPeersNotModified +description: Top peer info hasn't changed +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.topPeersNotModified +[Back to constructors index](index.md) + + + +Top peer info hasn't changed + + + + +### Type: [contacts.TopPeers](../types/contacts.TopPeers.md) + + +### Example: + +```php +$contacts.topPeersNotModified = ['_' => 'contacts.topPeersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +contacts.topPeersNotModified={_='contacts.topPeersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v89/constructors/contacts_blocked.md b/old_docs/API_docs_v89/constructors/contacts_blocked.md deleted file mode 100644 index 20e33002..00000000 --- a/old_docs/API_docs_v89/constructors/contacts_blocked.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: contacts.blocked -description: Full list of blocked users. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.blocked -[Back to constructors index](index.md) - - - -Full list of blocked users. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Blocked](../types/contacts_Blocked.md) - - -### Example: - -```php -$contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_blocked={_='contacts.blocked', blocked={ContactBlocked}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v89/constructors/contacts_blockedSlice.md b/old_docs/API_docs_v89/constructors/contacts_blockedSlice.md deleted file mode 100644 index fcab9a28..00000000 --- a/old_docs/API_docs_v89/constructors/contacts_blockedSlice.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.blockedSlice -description: Incomplete list of blocked users. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.blockedSlice -[Back to constructors index](index.md) - - - -Incomplete list of blocked users. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of elements in the list| -|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Blocked](../types/contacts_Blocked.md) - - -### Example: - -```php -$contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_blockedSlice={_='contacts.blockedSlice', count=int, blocked={ContactBlocked}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v89/constructors/contacts_contacts.md b/old_docs/API_docs_v89/constructors/contacts_contacts.md deleted file mode 100644 index 0e6f0dd3..00000000 --- a/old_docs/API_docs_v89/constructors/contacts_contacts.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.contacts -description: The current user's contact list and info on users. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.contacts -[Back to constructors index](index.md) - - - -The current user's contact list and info on users. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|contacts|Array of [Contact](../types/Contact.md) | Yes|Contacts| -|saved\_count|[int](../types/int.md) | Yes|Number of contacts that were saved successfully| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Contacts](../types/contacts_Contacts.md) - - -### Example: - -```php -$contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact, Contact], 'saved_count' => int, 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_contacts={_='contacts.contacts', contacts={Contact}, saved_count=int, users={User}} - -``` - - diff --git a/old_docs/API_docs_v89/constructors/contacts_contactsNotModified.md b/old_docs/API_docs_v89/constructors/contacts_contactsNotModified.md deleted file mode 100644 index 17e76ac3..00000000 --- a/old_docs/API_docs_v89/constructors/contacts_contactsNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: contacts.contactsNotModified -description: Contact list on the server is the same as the list on the client. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.contactsNotModified -[Back to constructors index](index.md) - - - -Contact list on the server is the same as the list on the client. - - - - -### Type: [contacts\_Contacts](../types/contacts_Contacts.md) - - -### Example: - -```php -$contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified']; -``` - - -Or, if you're into Lua: - -```lua -contacts_contactsNotModified={_='contacts.contactsNotModified'} - -``` - - diff --git a/old_docs/API_docs_v89/constructors/contacts_found.md b/old_docs/API_docs_v89/constructors/contacts_found.md deleted file mode 100644 index 76b9aa0c..00000000 --- a/old_docs/API_docs_v89/constructors/contacts_found.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: contacts.found -description: Users found by name substring and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.found -[Back to constructors index](index.md) - - - -Users found by name substring and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|my\_results|Array of [Peer](../types/Peer.md) | Yes|My results| -|results|Array of [Peer](../types/Peer.md) | Yes|Results| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Found](../types/contacts_Found.md) - - -### Example: - -```php -$contacts_found = ['_' => 'contacts.found', 'my_results' => [Peer, Peer], 'results' => [Peer, Peer], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_found={_='contacts.found', my_results={Peer}, results={Peer}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v89/constructors/contacts_importedContacts.md b/old_docs/API_docs_v89/constructors/contacts_importedContacts.md deleted file mode 100644 index e534754b..00000000 --- a/old_docs/API_docs_v89/constructors/contacts_importedContacts.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: contacts.importedContacts -description: Info on succesfully imported contacts. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.importedContacts -[Back to constructors index](index.md) - - - -Info on succesfully imported contacts. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|imported|Array of [ImportedContact](../types/ImportedContact.md) | Yes|Imported| -|popular\_invites|Array of [PopularContact](../types/PopularContact.md) | Yes|Popular invites| -|retry\_contacts|Array of [long](../types/long.md) | Yes|Retry importing contacts whose client IDs appear here| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) - - -### Example: - -```php -$contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact, ImportedContact], 'popular_invites' => [PopularContact, PopularContact], 'retry_contacts' => [long, long], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_importedContacts={_='contacts.importedContacts', imported={ImportedContact}, popular_invites={PopularContact}, retry_contacts={long}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v89/constructors/contacts_link.md b/old_docs/API_docs_v89/constructors/contacts_link.md deleted file mode 100644 index cfc566c7..00000000 --- a/old_docs/API_docs_v89/constructors/contacts_link.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.link -description: Link -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.link -[Back to constructors index](index.md) - - - -Link - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|my\_link|[ContactLink](../types/ContactLink.md) | Yes|My link| -|foreign\_link|[ContactLink](../types/ContactLink.md) | Yes|Foreign link| -|user|[User](../types/User.md) | Optional|User| - - - -### Type: [contacts\_Link](../types/contacts_Link.md) - - -### Example: - -```php -$contacts_link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User]; -``` - - -Or, if you're into Lua: - -```lua -contacts_link={_='contacts.link', my_link=ContactLink, foreign_link=ContactLink, user=User} - -``` - - diff --git a/old_docs/API_docs_v89/constructors/contacts_resolvedPeer.md b/old_docs/API_docs_v89/constructors/contacts_resolvedPeer.md deleted file mode 100644 index aae3c7af..00000000 --- a/old_docs/API_docs_v89/constructors/contacts_resolvedPeer.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.resolvedPeer -description: Resolved peer -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.resolvedPeer -[Back to constructors index](index.md) - - - -Resolved peer - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|peer|[Peer](../types/Peer.md) | Yes|The peer| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_ResolvedPeer](../types/contacts_ResolvedPeer.md) - - -### Example: - -```php -$contacts_resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_resolvedPeer={_='contacts.resolvedPeer', peer=Peer, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v89/constructors/contacts_topPeers.md b/old_docs/API_docs_v89/constructors/contacts_topPeers.md deleted file mode 100644 index 77bc07d3..00000000 --- a/old_docs/API_docs_v89/constructors/contacts_topPeers.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.topPeers -description: Top peers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.topPeers -[Back to constructors index](index.md) - - - -Top peers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|categories|Array of [TopPeerCategoryPeers](../types/TopPeerCategoryPeers.md) | Yes|Categories| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_TopPeers](../types/contacts_TopPeers.md) - - -### Example: - -```php -$contacts_topPeers = ['_' => 'contacts.topPeers', 'categories' => [TopPeerCategoryPeers, TopPeerCategoryPeers], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_topPeers={_='contacts.topPeers', categories={TopPeerCategoryPeers}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v89/constructors/contacts_topPeersDisabled.md b/old_docs/API_docs_v89/constructors/contacts_topPeersDisabled.md deleted file mode 100644 index e359a76d..00000000 --- a/old_docs/API_docs_v89/constructors/contacts_topPeersDisabled.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: contacts.topPeersDisabled -description: Top peers disabled -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.topPeersDisabled -[Back to constructors index](index.md) - - - -Top peers disabled - - - - -### Type: [contacts\_TopPeers](../types/contacts_TopPeers.md) - - -### Example: - -```php -$contacts_topPeersDisabled = ['_' => 'contacts.topPeersDisabled']; -``` - - -Or, if you're into Lua: - -```lua -contacts_topPeersDisabled={_='contacts.topPeersDisabled'} - -``` - - diff --git a/old_docs/API_docs_v89/constructors/contacts_topPeersNotModified.md b/old_docs/API_docs_v89/constructors/contacts_topPeersNotModified.md deleted file mode 100644 index 43eae59d..00000000 --- a/old_docs/API_docs_v89/constructors/contacts_topPeersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: contacts.topPeersNotModified -description: Top peer info hasn't changed -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.topPeersNotModified -[Back to constructors index](index.md) - - - -Top peer info hasn't changed - - - - -### Type: [contacts\_TopPeers](../types/contacts_TopPeers.md) - - -### Example: - -```php -$contacts_topPeersNotModified = ['_' => 'contacts.topPeersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -contacts_topPeersNotModified={_='contacts.topPeersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v89/constructors/help.appUpdate.md b/old_docs/API_docs_v89/constructors/help.appUpdate.md new file mode 100644 index 00000000..90b41636 --- /dev/null +++ b/old_docs/API_docs_v89/constructors/help.appUpdate.md @@ -0,0 +1,44 @@ +--- +title: help.appUpdate +description: An update is available for the application. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.appUpdate +[Back to constructors index](index.md) + + + +An update is available for the application. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|popup|[Bool](../types/Bool.md) | Optional|Popup?| +|id|[int](../types/int.md) | Yes|Update ID| +|version|[string](../types/string.md) | Yes|New version name| +|text|[string](../types/string.md) | Yes|Text description of the update| +|entities|Array of [MessageEntity](../types/MessageEntity.md) | Yes|Entities| +|document|[Document](../types/Document.md) | Optional|Attached document| +|url|[string](../types/string.md) | Optional|Application download URL| + + + +### Type: [help.AppUpdate](../types/help.AppUpdate.md) + + +### Example: + +```php +$help.appUpdate = ['_' => 'help.appUpdate', 'popup' => Bool, 'id' => int, 'version' => 'string', 'text' => 'string', 'entities' => [MessageEntity, MessageEntity], 'document' => Document, 'url' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +help.appUpdate={_='help.appUpdate', popup=Bool, id=int, version='string', text='string', entities={MessageEntity}, document=Document, url='string'} + +``` + + diff --git a/old_docs/API_docs_v89/constructors/help.configSimple.md b/old_docs/API_docs_v89/constructors/help.configSimple.md new file mode 100644 index 00000000..4070e1ce --- /dev/null +++ b/old_docs/API_docs_v89/constructors/help.configSimple.md @@ -0,0 +1,40 @@ +--- +title: help.configSimple +description: Config simple +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.configSimple +[Back to constructors index](index.md) + + + +Config simple + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Date| +|expires|[int](../types/int.md) | Yes|Expires| +|rules|Array of [AccessPointRule](../types/AccessPointRule.md) | Yes|Rules| + + + +### Type: [help.ConfigSimple](../types/help.ConfigSimple.md) + + +### Example: + +```php +$help.configSimple = ['_' => 'help.configSimple', 'date' => int, 'expires' => int, 'rules' => [AccessPointRule, AccessPointRule]]; +``` + + +Or, if you're into Lua: + +```lua +help.configSimple={_='help.configSimple', date=int, expires=int, rules={AccessPointRule}} + +``` + + diff --git a/old_docs/API_docs_v89/constructors/help.deepLinkInfo.md b/old_docs/API_docs_v89/constructors/help.deepLinkInfo.md new file mode 100644 index 00000000..78f70af0 --- /dev/null +++ b/old_docs/API_docs_v89/constructors/help.deepLinkInfo.md @@ -0,0 +1,40 @@ +--- +title: help.deepLinkInfo +description: Deep linking info +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.deepLinkInfo +[Back to constructors index](index.md) + + + +Deep linking info + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|update\_app|[Bool](../types/Bool.md) | Optional|An update of the app is required to parse this link| +|message|[string](../types/string.md) | Yes|Message to show to the user| +|entities|Array of [MessageEntity](../types/MessageEntity.md) | Optional|Entities| + + + +### Type: [help.DeepLinkInfo](../types/help.DeepLinkInfo.md) + + +### Example: + +```php +$help.deepLinkInfo = ['_' => 'help.deepLinkInfo', 'update_app' => Bool, 'message' => 'string', 'entities' => [MessageEntity, MessageEntity]]; +``` + + +Or, if you're into Lua: + +```lua +help.deepLinkInfo={_='help.deepLinkInfo', update_app=Bool, message='string', entities={MessageEntity}} + +``` + + diff --git a/old_docs/API_docs_v89/constructors/help.deepLinkInfoEmpty.md b/old_docs/API_docs_v89/constructors/help.deepLinkInfoEmpty.md new file mode 100644 index 00000000..dc99166c --- /dev/null +++ b/old_docs/API_docs_v89/constructors/help.deepLinkInfoEmpty.md @@ -0,0 +1,33 @@ +--- +title: help.deepLinkInfoEmpty +description: Deep link info empty +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.deepLinkInfoEmpty +[Back to constructors index](index.md) + + + +Deep link info empty + + + + +### Type: [help.DeepLinkInfo](../types/help.DeepLinkInfo.md) + + +### Example: + +```php +$help.deepLinkInfoEmpty = ['_' => 'help.deepLinkInfoEmpty']; +``` + + +Or, if you're into Lua: + +```lua +help.deepLinkInfoEmpty={_='help.deepLinkInfoEmpty'} + +``` + + diff --git a/old_docs/API_docs_v89/constructors/help.inviteText.md b/old_docs/API_docs_v89/constructors/help.inviteText.md new file mode 100644 index 00000000..6a6261c1 --- /dev/null +++ b/old_docs/API_docs_v89/constructors/help.inviteText.md @@ -0,0 +1,38 @@ +--- +title: help.inviteText +description: Text of a text message with an invitation to install application. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.inviteText +[Back to constructors index](index.md) + + + +Text of a text message with an invitation to install application. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|message|[string](../types/string.md) | Yes|Text of a message| + + + +### Type: [help.InviteText](../types/help.InviteText.md) + + +### Example: + +```php +$help.inviteText = ['_' => 'help.inviteText', 'message' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +help.inviteText={_='help.inviteText', message='string'} + +``` + + diff --git a/old_docs/API_docs_v89/constructors/help.noAppUpdate.md b/old_docs/API_docs_v89/constructors/help.noAppUpdate.md new file mode 100644 index 00000000..1b69ac9a --- /dev/null +++ b/old_docs/API_docs_v89/constructors/help.noAppUpdate.md @@ -0,0 +1,33 @@ +--- +title: help.noAppUpdate +description: No updates are available for the application. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.noAppUpdate +[Back to constructors index](index.md) + + + +No updates are available for the application. + + + + +### Type: [help.AppUpdate](../types/help.AppUpdate.md) + + +### Example: + +```php +$help.noAppUpdate = ['_' => 'help.noAppUpdate']; +``` + + +Or, if you're into Lua: + +```lua +help.noAppUpdate={_='help.noAppUpdate'} + +``` + + diff --git a/old_docs/API_docs_v89/constructors/help.passportConfig.md b/old_docs/API_docs_v89/constructors/help.passportConfig.md new file mode 100644 index 00000000..b418b611 --- /dev/null +++ b/old_docs/API_docs_v89/constructors/help.passportConfig.md @@ -0,0 +1,39 @@ +--- +title: help.passportConfig +description: Telegram [passport](https://core.telegram.org/passport) configuration +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.passportConfig +[Back to constructors index](index.md) + + + +Telegram [passport](https://core.telegram.org/passport) configuration + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|countries\_langs|[DataJSON](../types/DataJSON.md) | Yes|Localization| + + + +### Type: [help.PassportConfig](../types/help.PassportConfig.md) + + +### Example: + +```php +$help.passportConfig = ['_' => 'help.passportConfig', 'hash' => int, 'countries_langs' => DataJSON]; +``` + + +Or, if you're into Lua: + +```lua +help.passportConfig={_='help.passportConfig', hash=int, countries_langs=DataJSON} + +``` + + diff --git a/old_docs/API_docs_v89/constructors/help.passportConfigNotModified.md b/old_docs/API_docs_v89/constructors/help.passportConfigNotModified.md new file mode 100644 index 00000000..d48cc55b --- /dev/null +++ b/old_docs/API_docs_v89/constructors/help.passportConfigNotModified.md @@ -0,0 +1,33 @@ +--- +title: help.passportConfigNotModified +description: Password configuration not modified +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.passportConfigNotModified +[Back to constructors index](index.md) + + + +Password configuration not modified + + + + +### Type: [help.PassportConfig](../types/help.PassportConfig.md) + + +### Example: + +```php +$help.passportConfigNotModified = ['_' => 'help.passportConfigNotModified']; +``` + + +Or, if you're into Lua: + +```lua +help.passportConfigNotModified={_='help.passportConfigNotModified'} + +``` + + diff --git a/old_docs/API_docs_v89/constructors/help.proxyDataEmpty.md b/old_docs/API_docs_v89/constructors/help.proxyDataEmpty.md new file mode 100644 index 00000000..66fd63ac --- /dev/null +++ b/old_docs/API_docs_v89/constructors/help.proxyDataEmpty.md @@ -0,0 +1,38 @@ +--- +title: help.proxyDataEmpty +description: No proxy was used to connect to tg (or none was provided to [initConnection](../methods/initConnection.md), or the used proxy doesn't have a promotion channel associated to it) +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.proxyDataEmpty +[Back to constructors index](index.md) + + + +No proxy was used to connect to tg (or none was provided to [initConnection](../methods/initConnection.md), or the used proxy doesn't have a promotion channel associated to it) + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|expires|[int](../types/int.md) | Yes|Expiration date of proxy info, will have to be refetched in `expires` seconds| + + + +### Type: [help.ProxyData](../types/help.ProxyData.md) + + +### Example: + +```php +$help.proxyDataEmpty = ['_' => 'help.proxyDataEmpty', 'expires' => int]; +``` + + +Or, if you're into Lua: + +```lua +help.proxyDataEmpty={_='help.proxyDataEmpty', expires=int} + +``` + + diff --git a/old_docs/API_docs_v89/constructors/help.proxyDataPromo.md b/old_docs/API_docs_v89/constructors/help.proxyDataPromo.md new file mode 100644 index 00000000..eb32aabd --- /dev/null +++ b/old_docs/API_docs_v89/constructors/help.proxyDataPromo.md @@ -0,0 +1,41 @@ +--- +title: help.proxyDataPromo +description: Promotion channel associated to a certain MTProxy +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.proxyDataPromo +[Back to constructors index](index.md) + + + +Promotion channel associated to a certain MTProxy + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|expires|[int](../types/int.md) | Yes|Expiration date of proxy info, will have to be refetched in `expires` seconds| +|peer|[Peer](../types/Peer.md) | Yes|The promoted channel| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [help.ProxyData](../types/help.ProxyData.md) + + +### Example: + +```php +$help.proxyDataPromo = ['_' => 'help.proxyDataPromo', 'expires' => int, 'peer' => Peer, 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +help.proxyDataPromo={_='help.proxyDataPromo', expires=int, peer=Peer, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v89/constructors/help.recentMeUrls.md b/old_docs/API_docs_v89/constructors/help.recentMeUrls.md new file mode 100644 index 00000000..711407b7 --- /dev/null +++ b/old_docs/API_docs_v89/constructors/help.recentMeUrls.md @@ -0,0 +1,40 @@ +--- +title: help.recentMeUrls +description: Recent t.me URLs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.recentMeUrls +[Back to constructors index](index.md) + + + +Recent t.me URLs + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|urls|Array of [RecentMeUrl](../types/RecentMeUrl.md) | Yes|URLs| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [help.RecentMeUrls](../types/help.RecentMeUrls.md) + + +### Example: + +```php +$help.recentMeUrls = ['_' => 'help.recentMeUrls', 'urls' => [RecentMeUrl, RecentMeUrl], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +help.recentMeUrls={_='help.recentMeUrls', urls={RecentMeUrl}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v89/constructors/help.support.md b/old_docs/API_docs_v89/constructors/help.support.md new file mode 100644 index 00000000..4d4f85fb --- /dev/null +++ b/old_docs/API_docs_v89/constructors/help.support.md @@ -0,0 +1,39 @@ +--- +title: help.support +description: Info on support user. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.support +[Back to constructors index](index.md) + + + +Info on support user. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_number|[string](../types/string.md) | Yes|Phone number| +|user|[User](../types/User.md) | Optional|User| + + + +### Type: [help.Support](../types/help.Support.md) + + +### Example: + +```php +$help.support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => User]; +``` + + +Or, if you're into Lua: + +```lua +help.support={_='help.support', phone_number='string', user=User} + +``` + + diff --git a/old_docs/API_docs_v89/constructors/help.supportName.md b/old_docs/API_docs_v89/constructors/help.supportName.md new file mode 100644 index 00000000..3d66c8d9 --- /dev/null +++ b/old_docs/API_docs_v89/constructors/help.supportName.md @@ -0,0 +1,38 @@ +--- +title: help.supportName +description: Localized name for telegram support +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.supportName +[Back to constructors index](index.md) + + + +Localized name for telegram support + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|name|[string](../types/string.md) | Yes|Localized name| + + + +### Type: [help.SupportName](../types/help.SupportName.md) + + +### Example: + +```php +$help.supportName = ['_' => 'help.supportName', 'name' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +help.supportName={_='help.supportName', name='string'} + +``` + + diff --git a/old_docs/API_docs_v89/constructors/help.termsOfService.md b/old_docs/API_docs_v89/constructors/help.termsOfService.md new file mode 100644 index 00000000..61ffb70a --- /dev/null +++ b/old_docs/API_docs_v89/constructors/help.termsOfService.md @@ -0,0 +1,42 @@ +--- +title: help.termsOfService +description: Info about the latest telegram Terms Of Service +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.termsOfService +[Back to constructors index](index.md) + + + +Info about the latest telegram Terms Of Service + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|popup|[Bool](../types/Bool.md) | Optional|Whether a prompt must be showed to the user, in order to accept the new terms.| +|id|[DataJSON](../types/DataJSON.md) | Yes|ID of the new terms| +|text|[string](../types/string.md) | Yes|Text of the new terms| +|entities|Array of [MessageEntity](../types/MessageEntity.md) | Yes|Entities| +|min\_age\_confirm|[int](../types/int.md) | Optional|Minimum age required to sign up to telegram, the user must confirm that they is older than the minimum age.| + + + +### Type: [help.TermsOfService](../types/help.TermsOfService.md) + + +### Example: + +```php +$help.termsOfService = ['_' => 'help.termsOfService', 'popup' => Bool, 'id' => DataJSON, 'text' => 'string', 'entities' => [MessageEntity, MessageEntity], 'min_age_confirm' => int]; +``` + + +Or, if you're into Lua: + +```lua +help.termsOfService={_='help.termsOfService', popup=Bool, id=DataJSON, text='string', entities={MessageEntity}, min_age_confirm=int} + +``` + + diff --git a/old_docs/API_docs_v89/constructors/help.termsOfServiceUpdate.md b/old_docs/API_docs_v89/constructors/help.termsOfServiceUpdate.md new file mode 100644 index 00000000..058a3655 --- /dev/null +++ b/old_docs/API_docs_v89/constructors/help.termsOfServiceUpdate.md @@ -0,0 +1,39 @@ +--- +title: help.termsOfServiceUpdate +description: Info about an update of telegram's terms of service. If the terms of service are declined, then the [account.deleteAccount](../methods/account.deleteAccount.md) method should be called with the reason "Decline ToS update" +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.termsOfServiceUpdate +[Back to constructors index](index.md) + + + +Info about an update of telegram's terms of service. If the terms of service are declined, then the [account.deleteAccount](../methods/account.deleteAccount.md) method should be called with the reason "Decline ToS update" + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|expires|[int](../types/int.md) | Yes|New TOS updates will have to be queried using [help.getTermsOfServiceUpdate](../methods/help.getTermsOfServiceUpdate.md) in `expires` seconds| +|terms\_of\_service|[help.TermsOfService](../constructors/help.TermsOfService.md) | Yes|New terms of service| + + + +### Type: [help.TermsOfServiceUpdate](../types/help.TermsOfServiceUpdate.md) + + +### Example: + +```php +$help.termsOfServiceUpdate = ['_' => 'help.termsOfServiceUpdate', 'expires' => int, 'terms_of_service' => help.TermsOfService]; +``` + + +Or, if you're into Lua: + +```lua +help.termsOfServiceUpdate={_='help.termsOfServiceUpdate', expires=int, terms_of_service=help.TermsOfService} + +``` + + diff --git a/old_docs/API_docs_v89/constructors/help.termsOfServiceUpdateEmpty.md b/old_docs/API_docs_v89/constructors/help.termsOfServiceUpdateEmpty.md new file mode 100644 index 00000000..8213a41e --- /dev/null +++ b/old_docs/API_docs_v89/constructors/help.termsOfServiceUpdateEmpty.md @@ -0,0 +1,38 @@ +--- +title: help.termsOfServiceUpdateEmpty +description: No changes were made to telegram's terms of service +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.termsOfServiceUpdateEmpty +[Back to constructors index](index.md) + + + +No changes were made to telegram's terms of service + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|expires|[int](../types/int.md) | Yes|New TOS updates will have to be queried using [help.getTermsOfServiceUpdate](../methods/help.getTermsOfServiceUpdate.md) in `expires` seconds| + + + +### Type: [help.TermsOfServiceUpdate](../types/help.TermsOfServiceUpdate.md) + + +### Example: + +```php +$help.termsOfServiceUpdateEmpty = ['_' => 'help.termsOfServiceUpdateEmpty', 'expires' => int]; +``` + + +Or, if you're into Lua: + +```lua +help.termsOfServiceUpdateEmpty={_='help.termsOfServiceUpdateEmpty', expires=int} + +``` + + diff --git a/old_docs/API_docs_v89/constructors/help.userInfo.md b/old_docs/API_docs_v89/constructors/help.userInfo.md new file mode 100644 index 00000000..172df165 --- /dev/null +++ b/old_docs/API_docs_v89/constructors/help.userInfo.md @@ -0,0 +1,41 @@ +--- +title: help.userInfo +description: Internal use +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.userInfo +[Back to constructors index](index.md) + + + +Internal use + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|message|[string](../types/string.md) | Yes|Info| +|entities|Array of [MessageEntity](../types/MessageEntity.md) | Yes|Entities| +|author|[string](../types/string.md) | Yes|Author| +|date|[int](../types/int.md) | Yes|Date| + + + +### Type: [help.UserInfo](../types/help.UserInfo.md) + + +### Example: + +```php +$help.userInfo = ['_' => 'help.userInfo', 'message' => 'string', 'entities' => [MessageEntity, MessageEntity], 'author' => 'string', 'date' => int]; +``` + + +Or, if you're into Lua: + +```lua +help.userInfo={_='help.userInfo', message='string', entities={MessageEntity}, author='string', date=int} + +``` + + diff --git a/old_docs/API_docs_v89/constructors/help.userInfoEmpty.md b/old_docs/API_docs_v89/constructors/help.userInfoEmpty.md new file mode 100644 index 00000000..c284d602 --- /dev/null +++ b/old_docs/API_docs_v89/constructors/help.userInfoEmpty.md @@ -0,0 +1,33 @@ +--- +title: help.userInfoEmpty +description: Internal use +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.userInfoEmpty +[Back to constructors index](index.md) + + + +Internal use + + + + +### Type: [help.UserInfo](../types/help.UserInfo.md) + + +### Example: + +```php +$help.userInfoEmpty = ['_' => 'help.userInfoEmpty']; +``` + + +Or, if you're into Lua: + +```lua +help.userInfoEmpty={_='help.userInfoEmpty'} + +``` + + diff --git a/old_docs/API_docs_v89/constructors/help_appUpdate.md b/old_docs/API_docs_v89/constructors/help_appUpdate.md deleted file mode 100644 index 67960b34..00000000 --- a/old_docs/API_docs_v89/constructors/help_appUpdate.md +++ /dev/null @@ -1,44 +0,0 @@ ---- -title: help.appUpdate -description: An update is available for the application. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.appUpdate -[Back to constructors index](index.md) - - - -An update is available for the application. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|popup|[Bool](../types/Bool.md) | Optional|Popup?| -|id|[int](../types/int.md) | Yes|Update ID| -|version|[string](../types/string.md) | Yes|New version name| -|text|[string](../types/string.md) | Yes|Text description of the update| -|entities|Array of [MessageEntity](../types/MessageEntity.md) | Yes|Entities| -|document|[Document](../types/Document.md) | Optional|Attached document| -|url|[string](../types/string.md) | Optional|Application download URL| - - - -### Type: [help\_AppUpdate](../types/help_AppUpdate.md) - - -### Example: - -```php -$help_appUpdate = ['_' => 'help.appUpdate', 'popup' => Bool, 'id' => int, 'version' => 'string', 'text' => 'string', 'entities' => [MessageEntity, MessageEntity], 'document' => Document, 'url' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -help_appUpdate={_='help.appUpdate', popup=Bool, id=int, version='string', text='string', entities={MessageEntity}, document=Document, url='string'} - -``` - - diff --git a/old_docs/API_docs_v89/constructors/help_configSimple.md b/old_docs/API_docs_v89/constructors/help_configSimple.md deleted file mode 100644 index 8c07ec9b..00000000 --- a/old_docs/API_docs_v89/constructors/help_configSimple.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: help.configSimple -description: Config simple -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.configSimple -[Back to constructors index](index.md) - - - -Config simple - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Date| -|expires|[int](../types/int.md) | Yes|Expires| -|rules|Array of [AccessPointRule](../types/AccessPointRule.md) | Yes|Rules| - - - -### Type: [help\_ConfigSimple](../types/help_ConfigSimple.md) - - -### Example: - -```php -$help_configSimple = ['_' => 'help.configSimple', 'date' => int, 'expires' => int, 'rules' => [AccessPointRule, AccessPointRule]]; -``` - - -Or, if you're into Lua: - -```lua -help_configSimple={_='help.configSimple', date=int, expires=int, rules={AccessPointRule}} - -``` - - diff --git a/old_docs/API_docs_v89/constructors/help_deepLinkInfo.md b/old_docs/API_docs_v89/constructors/help_deepLinkInfo.md deleted file mode 100644 index bcc24ecd..00000000 --- a/old_docs/API_docs_v89/constructors/help_deepLinkInfo.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: help.deepLinkInfo -description: Deep linking info -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.deepLinkInfo -[Back to constructors index](index.md) - - - -Deep linking info - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|update\_app|[Bool](../types/Bool.md) | Optional|An update of the app is required to parse this link| -|message|[string](../types/string.md) | Yes|Message to show to the user| -|entities|Array of [MessageEntity](../types/MessageEntity.md) | Optional|Entities| - - - -### Type: [help\_DeepLinkInfo](../types/help_DeepLinkInfo.md) - - -### Example: - -```php -$help_deepLinkInfo = ['_' => 'help.deepLinkInfo', 'update_app' => Bool, 'message' => 'string', 'entities' => [MessageEntity, MessageEntity]]; -``` - - -Or, if you're into Lua: - -```lua -help_deepLinkInfo={_='help.deepLinkInfo', update_app=Bool, message='string', entities={MessageEntity}} - -``` - - diff --git a/old_docs/API_docs_v89/constructors/help_deepLinkInfoEmpty.md b/old_docs/API_docs_v89/constructors/help_deepLinkInfoEmpty.md deleted file mode 100644 index ab876dd5..00000000 --- a/old_docs/API_docs_v89/constructors/help_deepLinkInfoEmpty.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: help.deepLinkInfoEmpty -description: Deep link info empty -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.deepLinkInfoEmpty -[Back to constructors index](index.md) - - - -Deep link info empty - - - - -### Type: [help\_DeepLinkInfo](../types/help_DeepLinkInfo.md) - - -### Example: - -```php -$help_deepLinkInfoEmpty = ['_' => 'help.deepLinkInfoEmpty']; -``` - - -Or, if you're into Lua: - -```lua -help_deepLinkInfoEmpty={_='help.deepLinkInfoEmpty'} - -``` - - diff --git a/old_docs/API_docs_v89/constructors/help_inviteText.md b/old_docs/API_docs_v89/constructors/help_inviteText.md deleted file mode 100644 index b8317ce3..00000000 --- a/old_docs/API_docs_v89/constructors/help_inviteText.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: help.inviteText -description: Text of a text message with an invitation to install application. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.inviteText -[Back to constructors index](index.md) - - - -Text of a text message with an invitation to install application. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|message|[string](../types/string.md) | Yes|Text of a message| - - - -### Type: [help\_InviteText](../types/help_InviteText.md) - - -### Example: - -```php -$help_inviteText = ['_' => 'help.inviteText', 'message' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -help_inviteText={_='help.inviteText', message='string'} - -``` - - diff --git a/old_docs/API_docs_v89/constructors/help_noAppUpdate.md b/old_docs/API_docs_v89/constructors/help_noAppUpdate.md deleted file mode 100644 index 51505e52..00000000 --- a/old_docs/API_docs_v89/constructors/help_noAppUpdate.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: help.noAppUpdate -description: No updates are available for the application. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.noAppUpdate -[Back to constructors index](index.md) - - - -No updates are available for the application. - - - - -### Type: [help\_AppUpdate](../types/help_AppUpdate.md) - - -### Example: - -```php -$help_noAppUpdate = ['_' => 'help.noAppUpdate']; -``` - - -Or, if you're into Lua: - -```lua -help_noAppUpdate={_='help.noAppUpdate'} - -``` - - diff --git a/old_docs/API_docs_v89/constructors/help_passportConfig.md b/old_docs/API_docs_v89/constructors/help_passportConfig.md deleted file mode 100644 index 9722c925..00000000 --- a/old_docs/API_docs_v89/constructors/help_passportConfig.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: help.passportConfig -description: Telegram [passport](https://core.telegram.org/passport) configuration -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.passportConfig -[Back to constructors index](index.md) - - - -Telegram [passport](https://core.telegram.org/passport) configuration - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|countries\_langs|[DataJSON](../types/DataJSON.md) | Yes|Localization| - - - -### Type: [help\_PassportConfig](../types/help_PassportConfig.md) - - -### Example: - -```php -$help_passportConfig = ['_' => 'help.passportConfig', 'hash' => int, 'countries_langs' => DataJSON]; -``` - - -Or, if you're into Lua: - -```lua -help_passportConfig={_='help.passportConfig', hash=int, countries_langs=DataJSON} - -``` - - diff --git a/old_docs/API_docs_v89/constructors/help_passportConfigNotModified.md b/old_docs/API_docs_v89/constructors/help_passportConfigNotModified.md deleted file mode 100644 index af7769aa..00000000 --- a/old_docs/API_docs_v89/constructors/help_passportConfigNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: help.passportConfigNotModified -description: Password configuration not modified -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.passportConfigNotModified -[Back to constructors index](index.md) - - - -Password configuration not modified - - - - -### Type: [help\_PassportConfig](../types/help_PassportConfig.md) - - -### Example: - -```php -$help_passportConfigNotModified = ['_' => 'help.passportConfigNotModified']; -``` - - -Or, if you're into Lua: - -```lua -help_passportConfigNotModified={_='help.passportConfigNotModified'} - -``` - - diff --git a/old_docs/API_docs_v89/constructors/help_proxyDataEmpty.md b/old_docs/API_docs_v89/constructors/help_proxyDataEmpty.md deleted file mode 100644 index 96efddd3..00000000 --- a/old_docs/API_docs_v89/constructors/help_proxyDataEmpty.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: help.proxyDataEmpty -description: No proxy was used to connect to tg (or none was provided to [initConnection](../methods/initConnection.md), or the used proxy doesn't have a promotion channel associated to it) -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.proxyDataEmpty -[Back to constructors index](index.md) - - - -No proxy was used to connect to tg (or none was provided to [initConnection](../methods/initConnection.md), or the used proxy doesn't have a promotion channel associated to it) - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|expires|[int](../types/int.md) | Yes|Expiration date of proxy info, will have to be refetched in `expires` seconds| - - - -### Type: [help\_ProxyData](../types/help_ProxyData.md) - - -### Example: - -```php -$help_proxyDataEmpty = ['_' => 'help.proxyDataEmpty', 'expires' => int]; -``` - - -Or, if you're into Lua: - -```lua -help_proxyDataEmpty={_='help.proxyDataEmpty', expires=int} - -``` - - diff --git a/old_docs/API_docs_v89/constructors/help_proxyDataPromo.md b/old_docs/API_docs_v89/constructors/help_proxyDataPromo.md deleted file mode 100644 index 54ca7edb..00000000 --- a/old_docs/API_docs_v89/constructors/help_proxyDataPromo.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: help.proxyDataPromo -description: Promotion channel associated to a certain MTProxy -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.proxyDataPromo -[Back to constructors index](index.md) - - - -Promotion channel associated to a certain MTProxy - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|expires|[int](../types/int.md) | Yes|Expiration date of proxy info, will have to be refetched in `expires` seconds| -|peer|[Peer](../types/Peer.md) | Yes|The promoted channel| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [help\_ProxyData](../types/help_ProxyData.md) - - -### Example: - -```php -$help_proxyDataPromo = ['_' => 'help.proxyDataPromo', 'expires' => int, 'peer' => Peer, 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -help_proxyDataPromo={_='help.proxyDataPromo', expires=int, peer=Peer, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v89/constructors/help_recentMeUrls.md b/old_docs/API_docs_v89/constructors/help_recentMeUrls.md deleted file mode 100644 index 7bf592ef..00000000 --- a/old_docs/API_docs_v89/constructors/help_recentMeUrls.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: help.recentMeUrls -description: Recent t.me URLs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.recentMeUrls -[Back to constructors index](index.md) - - - -Recent t.me URLs - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|urls|Array of [RecentMeUrl](../types/RecentMeUrl.md) | Yes|URLs| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [help\_RecentMeUrls](../types/help_RecentMeUrls.md) - - -### Example: - -```php -$help_recentMeUrls = ['_' => 'help.recentMeUrls', 'urls' => [RecentMeUrl, RecentMeUrl], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -help_recentMeUrls={_='help.recentMeUrls', urls={RecentMeUrl}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v89/constructors/help_support.md b/old_docs/API_docs_v89/constructors/help_support.md deleted file mode 100644 index 148f7f42..00000000 --- a/old_docs/API_docs_v89/constructors/help_support.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: help.support -description: Info on support user. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.support -[Back to constructors index](index.md) - - - -Info on support user. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_number|[string](../types/string.md) | Yes|Phone number| -|user|[User](../types/User.md) | Optional|User| - - - -### Type: [help\_Support](../types/help_Support.md) - - -### Example: - -```php -$help_support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => User]; -``` - - -Or, if you're into Lua: - -```lua -help_support={_='help.support', phone_number='string', user=User} - -``` - - diff --git a/old_docs/API_docs_v89/constructors/help_supportName.md b/old_docs/API_docs_v89/constructors/help_supportName.md deleted file mode 100644 index b4bc77d4..00000000 --- a/old_docs/API_docs_v89/constructors/help_supportName.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: help.supportName -description: Localized name for telegram support -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.supportName -[Back to constructors index](index.md) - - - -Localized name for telegram support - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|name|[string](../types/string.md) | Yes|Localized name| - - - -### Type: [help\_SupportName](../types/help_SupportName.md) - - -### Example: - -```php -$help_supportName = ['_' => 'help.supportName', 'name' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -help_supportName={_='help.supportName', name='string'} - -``` - - diff --git a/old_docs/API_docs_v89/constructors/help_termsOfService.md b/old_docs/API_docs_v89/constructors/help_termsOfService.md deleted file mode 100644 index f9d496e5..00000000 --- a/old_docs/API_docs_v89/constructors/help_termsOfService.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: help.termsOfService -description: Info about the latest telegram Terms Of Service -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.termsOfService -[Back to constructors index](index.md) - - - -Info about the latest telegram Terms Of Service - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|popup|[Bool](../types/Bool.md) | Optional|Whether a prompt must be showed to the user, in order to accept the new terms.| -|id|[DataJSON](../types/DataJSON.md) | Yes|ID of the new terms| -|text|[string](../types/string.md) | Yes|Text of the new terms| -|entities|Array of [MessageEntity](../types/MessageEntity.md) | Yes|Entities| -|min\_age\_confirm|[int](../types/int.md) | Optional|Minimum age required to sign up to telegram, the user must confirm that they is older than the minimum age.| - - - -### Type: [help\_TermsOfService](../types/help_TermsOfService.md) - - -### Example: - -```php -$help_termsOfService = ['_' => 'help.termsOfService', 'popup' => Bool, 'id' => DataJSON, 'text' => 'string', 'entities' => [MessageEntity, MessageEntity], 'min_age_confirm' => int]; -``` - - -Or, if you're into Lua: - -```lua -help_termsOfService={_='help.termsOfService', popup=Bool, id=DataJSON, text='string', entities={MessageEntity}, min_age_confirm=int} - -``` - - diff --git a/old_docs/API_docs_v89/constructors/help_termsOfServiceUpdate.md b/old_docs/API_docs_v89/constructors/help_termsOfServiceUpdate.md deleted file mode 100644 index c9e80319..00000000 --- a/old_docs/API_docs_v89/constructors/help_termsOfServiceUpdate.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: help.termsOfServiceUpdate -description: Info about an update of telegram's terms of service. If the terms of service are declined, then the [account.deleteAccount](../methods/account.deleteAccount.md) method should be called with the reason "Decline ToS update" -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.termsOfServiceUpdate -[Back to constructors index](index.md) - - - -Info about an update of telegram's terms of service. If the terms of service are declined, then the [account.deleteAccount](../methods/account.deleteAccount.md) method should be called with the reason "Decline ToS update" - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|expires|[int](../types/int.md) | Yes|New TOS updates will have to be queried using [help.getTermsOfServiceUpdate](../methods/help.getTermsOfServiceUpdate.md) in `expires` seconds| -|terms\_of\_service|[help\_TermsOfService](../types/help_TermsOfService.md) | Yes|New terms of service| - - - -### Type: [help\_TermsOfServiceUpdate](../types/help_TermsOfServiceUpdate.md) - - -### Example: - -```php -$help_termsOfServiceUpdate = ['_' => 'help.termsOfServiceUpdate', 'expires' => int, 'terms_of_service' => help_TermsOfService]; -``` - - -Or, if you're into Lua: - -```lua -help_termsOfServiceUpdate={_='help.termsOfServiceUpdate', expires=int, terms_of_service=help_TermsOfService} - -``` - - diff --git a/old_docs/API_docs_v89/constructors/help_termsOfServiceUpdateEmpty.md b/old_docs/API_docs_v89/constructors/help_termsOfServiceUpdateEmpty.md deleted file mode 100644 index d4d753fc..00000000 --- a/old_docs/API_docs_v89/constructors/help_termsOfServiceUpdateEmpty.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: help.termsOfServiceUpdateEmpty -description: No changes were made to telegram's terms of service -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.termsOfServiceUpdateEmpty -[Back to constructors index](index.md) - - - -No changes were made to telegram's terms of service - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|expires|[int](../types/int.md) | Yes|New TOS updates will have to be queried using [help.getTermsOfServiceUpdate](../methods/help.getTermsOfServiceUpdate.md) in `expires` seconds| - - - -### Type: [help\_TermsOfServiceUpdate](../types/help_TermsOfServiceUpdate.md) - - -### Example: - -```php -$help_termsOfServiceUpdateEmpty = ['_' => 'help.termsOfServiceUpdateEmpty', 'expires' => int]; -``` - - -Or, if you're into Lua: - -```lua -help_termsOfServiceUpdateEmpty={_='help.termsOfServiceUpdateEmpty', expires=int} - -``` - - diff --git a/old_docs/API_docs_v89/constructors/help_userInfo.md b/old_docs/API_docs_v89/constructors/help_userInfo.md deleted file mode 100644 index a444124b..00000000 --- a/old_docs/API_docs_v89/constructors/help_userInfo.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: help.userInfo -description: Internal use -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.userInfo -[Back to constructors index](index.md) - - - -Internal use - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|message|[string](../types/string.md) | Yes|Info| -|entities|Array of [MessageEntity](../types/MessageEntity.md) | Yes|Entities| -|author|[string](../types/string.md) | Yes|Author| -|date|[int](../types/int.md) | Yes|Date| - - - -### Type: [help\_UserInfo](../types/help_UserInfo.md) - - -### Example: - -```php -$help_userInfo = ['_' => 'help.userInfo', 'message' => 'string', 'entities' => [MessageEntity, MessageEntity], 'author' => 'string', 'date' => int]; -``` - - -Or, if you're into Lua: - -```lua -help_userInfo={_='help.userInfo', message='string', entities={MessageEntity}, author='string', date=int} - -``` - - diff --git a/old_docs/API_docs_v89/constructors/help_userInfoEmpty.md b/old_docs/API_docs_v89/constructors/help_userInfoEmpty.md deleted file mode 100644 index 66690c62..00000000 --- a/old_docs/API_docs_v89/constructors/help_userInfoEmpty.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: help.userInfoEmpty -description: Internal use -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.userInfoEmpty -[Back to constructors index](index.md) - - - -Internal use - - - - -### Type: [help\_UserInfo](../types/help_UserInfo.md) - - -### Example: - -```php -$help_userInfoEmpty = ['_' => 'help.userInfoEmpty']; -``` - - -Or, if you're into Lua: - -```lua -help_userInfoEmpty={_='help.userInfoEmpty'} - -``` - - diff --git a/old_docs/API_docs_v89/constructors/messages.affectedHistory.md b/old_docs/API_docs_v89/constructors/messages.affectedHistory.md new file mode 100644 index 00000000..5fc8acec --- /dev/null +++ b/old_docs/API_docs_v89/constructors/messages.affectedHistory.md @@ -0,0 +1,40 @@ +--- +title: messages.affectedHistory +description: Affected part of communication history with the user or in a chat. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.affectedHistory +[Back to constructors index](index.md) + + + +Affected part of communication history with the user or in a chat. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| +|pts\_count|[int](../types/int.md) | Yes|Number of affected events| +|offset|[int](../types/int.md) | Yes|If a parameter contains positive value, it is necessary to repeat the method call using the given value; during the proceeding of all the history the value itself shall gradually decrease| + + + +### Type: [messages.AffectedHistory](../types/messages.AffectedHistory.md) + + +### Example: + +```php +$messages.affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.affectedHistory={_='messages.affectedHistory', pts=int, pts_count=int, offset=int} + +``` + + diff --git a/old_docs/API_docs_v89/constructors/messages.affectedMessages.md b/old_docs/API_docs_v89/constructors/messages.affectedMessages.md new file mode 100644 index 00000000..a0e60bdf --- /dev/null +++ b/old_docs/API_docs_v89/constructors/messages.affectedMessages.md @@ -0,0 +1,39 @@ +--- +title: messages.affectedMessages +description: Events affected by operation +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.affectedMessages +[Back to constructors index](index.md) + + + +Events affected by operation + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|[Event count after generation](https://core.telegram.org/api/updates)| +|pts\_count|[int](../types/int.md) | Yes|[Number of events that were generated](https://core.telegram.org/api/updates)| + + + +### Type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) + + +### Example: + +```php +$messages.affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.affectedMessages={_='messages.affectedMessages', pts=int, pts_count=int} + +``` + + diff --git a/old_docs/API_docs_v89/constructors/messages.allStickers.md b/old_docs/API_docs_v89/constructors/messages.allStickers.md new file mode 100644 index 00000000..5f13bfde --- /dev/null +++ b/old_docs/API_docs_v89/constructors/messages.allStickers.md @@ -0,0 +1,39 @@ +--- +title: messages.allStickers +description: Info about all installed stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.allStickers +[Back to constructors index](index.md) + + + +Info about all installed stickers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|sets|Array of [StickerSet](../types/StickerSet.md) | Yes|Sets| + + + +### Type: [messages.AllStickers](../types/messages.AllStickers.md) + + +### Example: + +```php +$messages.allStickers = ['_' => 'messages.allStickers', 'hash' => int, 'sets' => [StickerSet, StickerSet]]; +``` + + +Or, if you're into Lua: + +```lua +messages.allStickers={_='messages.allStickers', hash=int, sets={StickerSet}} + +``` + + diff --git a/old_docs/API_docs_v89/constructors/messages.allStickersNotModified.md b/old_docs/API_docs_v89/constructors/messages.allStickersNotModified.md new file mode 100644 index 00000000..d3db088b --- /dev/null +++ b/old_docs/API_docs_v89/constructors/messages.allStickersNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.allStickersNotModified +description: Info about all installed stickers hasn't changed +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.allStickersNotModified +[Back to constructors index](index.md) + + + +Info about all installed stickers hasn't changed + + + + +### Type: [messages.AllStickers](../types/messages.AllStickers.md) + + +### Example: + +```php +$messages.allStickersNotModified = ['_' => 'messages.allStickersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.allStickersNotModified={_='messages.allStickersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v89/constructors/messages.archivedStickers.md b/old_docs/API_docs_v89/constructors/messages.archivedStickers.md new file mode 100644 index 00000000..6ad9927c --- /dev/null +++ b/old_docs/API_docs_v89/constructors/messages.archivedStickers.md @@ -0,0 +1,39 @@ +--- +title: messages.archivedStickers +description: Archived stickersets +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.archivedStickers +[Back to constructors index](index.md) + + + +Archived stickersets + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Number of archived stickers| +|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| + + + +### Type: [messages.ArchivedStickers](../types/messages.ArchivedStickers.md) + + +### Example: + +```php +$messages.archivedStickers = ['_' => 'messages.archivedStickers', 'count' => int, 'sets' => [StickerSetCovered, StickerSetCovered]]; +``` + + +Or, if you're into Lua: + +```lua +messages.archivedStickers={_='messages.archivedStickers', count=int, sets={StickerSetCovered}} + +``` + + diff --git a/old_docs/API_docs_v89/constructors/messages.botCallbackAnswer.md b/old_docs/API_docs_v89/constructors/messages.botCallbackAnswer.md new file mode 100644 index 00000000..08bfeba5 --- /dev/null +++ b/old_docs/API_docs_v89/constructors/messages.botCallbackAnswer.md @@ -0,0 +1,43 @@ +--- +title: messages.botCallbackAnswer +description: Callback answer sent by the bot in response to a button press +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.botCallbackAnswer +[Back to constructors index](index.md) + + + +Callback answer sent by the bot in response to a button press + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|alert|[Bool](../types/Bool.md) | Optional|Whether an alert should be shown to the user instead of a toast notification| +|has\_url|[Bool](../types/Bool.md) | Optional|Whether an URL is present| +|native\_ui|[Bool](../types/Bool.md) | Optional|Whether to show games in WebView or in native UI.| +|message|[string](../types/string.md) | Optional|Alert to show| +|url|[string](../types/string.md) | Optional|URL to open| +|cache\_time|[int](../types/int.md) | Yes|For how long should this answer be cached| + + + +### Type: [messages.BotCallbackAnswer](../types/messages.BotCallbackAnswer.md) + + +### Example: + +```php +$messages.botCallbackAnswer = ['_' => 'messages.botCallbackAnswer', 'alert' => Bool, 'has_url' => Bool, 'native_ui' => Bool, 'message' => 'string', 'url' => 'string', 'cache_time' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.botCallbackAnswer={_='messages.botCallbackAnswer', alert=Bool, has_url=Bool, native_ui=Bool, message='string', url='string', cache_time=int} + +``` + + diff --git a/old_docs/API_docs_v89/constructors/messages.botResults.md b/old_docs/API_docs_v89/constructors/messages.botResults.md new file mode 100644 index 00000000..7b6dcfba --- /dev/null +++ b/old_docs/API_docs_v89/constructors/messages.botResults.md @@ -0,0 +1,44 @@ +--- +title: messages.botResults +description: Result of a query to an inline bot +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.botResults +[Back to constructors index](index.md) + + + +Result of a query to an inline bot + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|gallery|[Bool](../types/Bool.md) | Optional|Whether the result is a picture gallery| +|query\_id|[long](../types/long.md) | Yes|Query ID| +|next\_offset|[string](../types/string.md) | Optional|The next offset to use when navigating through results| +|switch\_pm|[InlineBotSwitchPM](../types/InlineBotSwitchPM.md) | Optional|Whether the bot requested the user to message him in private| +|results|Array of [BotInlineResult](../types/BotInlineResult.md) | Yes|Results| +|cache\_time|[int](../types/int.md) | Yes|Caching validity of the results| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.BotResults](../types/messages.BotResults.md) + + +### Example: + +```php +$messages.botResults = ['_' => 'messages.botResults', 'gallery' => Bool, 'query_id' => long, 'next_offset' => 'string', 'switch_pm' => InlineBotSwitchPM, 'results' => [BotInlineResult, BotInlineResult], 'cache_time' => int, 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.botResults={_='messages.botResults', gallery=Bool, query_id=long, next_offset='string', switch_pm=InlineBotSwitchPM, results={BotInlineResult}, cache_time=int, users={User}} + +``` + + diff --git a/old_docs/API_docs_v89/constructors/messages.channelMessages.md b/old_docs/API_docs_v89/constructors/messages.channelMessages.md new file mode 100644 index 00000000..95633336 --- /dev/null +++ b/old_docs/API_docs_v89/constructors/messages.channelMessages.md @@ -0,0 +1,42 @@ +--- +title: messages.channelMessages +description: Channel messages +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.channelMessages +[Back to constructors index](index.md) + + + +Channel messages + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|[Event count after generation](https://core.telegram.org/api/updates)| +|count|[int](../types/int.md) | Yes|Total number of results were found server-side (may not be all included here)| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Messages](../types/messages.Messages.md) + + +### Example: + +```php +$messages.channelMessages = ['_' => 'messages.channelMessages', 'pts' => int, 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.channelMessages={_='messages.channelMessages', pts=int, count=int, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v89/constructors/messages.chatFull.md b/old_docs/API_docs_v89/constructors/messages.chatFull.md new file mode 100644 index 00000000..3906cc54 --- /dev/null +++ b/old_docs/API_docs_v89/constructors/messages.chatFull.md @@ -0,0 +1,40 @@ +--- +title: messages.chatFull +description: Extended info on chat and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.chatFull +[Back to constructors index](index.md) + + + +Extended info on chat and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|full\_chat|[ChatFull](../types/ChatFull.md) | Yes|Extended info on a chat| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.ChatFull](../types/messages.ChatFull.md) + + +### Example: + +```php +$messages.chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.chatFull={_='messages.chatFull', full_chat=ChatFull, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v89/constructors/messages.chats.md b/old_docs/API_docs_v89/constructors/messages.chats.md new file mode 100644 index 00000000..9ede9ff2 --- /dev/null +++ b/old_docs/API_docs_v89/constructors/messages.chats.md @@ -0,0 +1,38 @@ +--- +title: messages.chats +description: List of chats with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.chats +[Back to constructors index](index.md) + + + +List of chats with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| + + + +### Type: [messages.Chats](../types/messages.Chats.md) + + +### Example: + +```php +$messages.chats = ['_' => 'messages.chats', 'chats' => [Chat, Chat]]; +``` + + +Or, if you're into Lua: + +```lua +messages.chats={_='messages.chats', chats={Chat}} + +``` + + diff --git a/old_docs/API_docs_v89/constructors/messages.chatsSlice.md b/old_docs/API_docs_v89/constructors/messages.chatsSlice.md new file mode 100644 index 00000000..efd153e0 --- /dev/null +++ b/old_docs/API_docs_v89/constructors/messages.chatsSlice.md @@ -0,0 +1,39 @@ +--- +title: messages.chatsSlice +description: Partial list of chats, more would have to be fetched with [pagination](https://core.telegram.org/api/offsets) +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.chatsSlice +[Back to constructors index](index.md) + + + +Partial list of chats, more would have to be fetched with [pagination](https://core.telegram.org/api/offsets) + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of results that were found server-side (not all are included in `chats`)| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| + + + +### Type: [messages.Chats](../types/messages.Chats.md) + + +### Example: + +```php +$messages.chatsSlice = ['_' => 'messages.chatsSlice', 'count' => int, 'chats' => [Chat, Chat]]; +``` + + +Or, if you're into Lua: + +```lua +messages.chatsSlice={_='messages.chatsSlice', count=int, chats={Chat}} + +``` + + diff --git a/old_docs/API_docs_v89/constructors/messages.dhConfig.md b/old_docs/API_docs_v89/constructors/messages.dhConfig.md new file mode 100644 index 00000000..58344f64 --- /dev/null +++ b/old_docs/API_docs_v89/constructors/messages.dhConfig.md @@ -0,0 +1,41 @@ +--- +title: messages.dhConfig +description: New set of configuring parameters. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dhConfig +[Back to constructors index](index.md) + + + +New set of configuring parameters. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|g|[int](../types/int.md) | Yes|New value **prime**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| +|p|[bytes](../types/bytes.md) | Yes|New value **primitive root**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| +|version|[int](../types/int.md) | Yes|Vestion of set of parameters| +|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| + + + +### Type: [messages.DhConfig](../types/messages.DhConfig.md) + + +### Example: + +```php +$messages.dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'version' => int, 'random' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +messages.dhConfig={_='messages.dhConfig', g=int, p='bytes', version=int, random='bytes'} + +``` + + diff --git a/old_docs/API_docs_v89/constructors/messages.dhConfigNotModified.md b/old_docs/API_docs_v89/constructors/messages.dhConfigNotModified.md new file mode 100644 index 00000000..a9a95389 --- /dev/null +++ b/old_docs/API_docs_v89/constructors/messages.dhConfigNotModified.md @@ -0,0 +1,38 @@ +--- +title: messages.dhConfigNotModified +description: Configuring parameters did not change. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dhConfigNotModified +[Back to constructors index](index.md) + + + +Configuring parameters did not change. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| + + + +### Type: [messages.DhConfig](../types/messages.DhConfig.md) + + +### Example: + +```php +$messages.dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +messages.dhConfigNotModified={_='messages.dhConfigNotModified', random='bytes'} + +``` + + diff --git a/old_docs/API_docs_v89/constructors/messages.dialogs.md b/old_docs/API_docs_v89/constructors/messages.dialogs.md new file mode 100644 index 00000000..a72eabce --- /dev/null +++ b/old_docs/API_docs_v89/constructors/messages.dialogs.md @@ -0,0 +1,41 @@ +--- +title: messages.dialogs +description: Full list of chats with messages and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dialogs +[Back to constructors index](index.md) + + + +Full list of chats with messages and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Dialogs](../types/messages.Dialogs.md) + + +### Example: + +```php +$messages.dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.dialogs={_='messages.dialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v89/constructors/messages.dialogsNotModified.md b/old_docs/API_docs_v89/constructors/messages.dialogsNotModified.md new file mode 100644 index 00000000..b4615516 --- /dev/null +++ b/old_docs/API_docs_v89/constructors/messages.dialogsNotModified.md @@ -0,0 +1,38 @@ +--- +title: messages.dialogsNotModified +description: Dialogs haven't changed +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dialogsNotModified +[Back to constructors index](index.md) + + + +Dialogs haven't changed + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Number of dialogs found server-side by the query| + + + +### Type: [messages.Dialogs](../types/messages.Dialogs.md) + + +### Example: + +```php +$messages.dialogsNotModified = ['_' => 'messages.dialogsNotModified', 'count' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.dialogsNotModified={_='messages.dialogsNotModified', count=int} + +``` + + diff --git a/old_docs/API_docs_v89/constructors/messages.dialogsSlice.md b/old_docs/API_docs_v89/constructors/messages.dialogsSlice.md new file mode 100644 index 00000000..26227d2c --- /dev/null +++ b/old_docs/API_docs_v89/constructors/messages.dialogsSlice.md @@ -0,0 +1,42 @@ +--- +title: messages.dialogsSlice +description: Incomplete list of dialogs with messages and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dialogsSlice +[Back to constructors index](index.md) + + + +Incomplete list of dialogs with messages and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of dialogs| +|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Dialogs](../types/messages.Dialogs.md) + + +### Example: + +```php +$messages.dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.dialogsSlice={_='messages.dialogsSlice', count=int, dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v89/constructors/messages.favedStickers.md b/old_docs/API_docs_v89/constructors/messages.favedStickers.md new file mode 100644 index 00000000..a5cfb7c9 --- /dev/null +++ b/old_docs/API_docs_v89/constructors/messages.favedStickers.md @@ -0,0 +1,40 @@ +--- +title: messages.favedStickers +description: Favorited stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.favedStickers +[Back to constructors index](index.md) + + + +Favorited stickers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|packs|Array of [StickerPack](../types/StickerPack.md) | Yes|Packs| +|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| + + + +### Type: [messages.FavedStickers](../types/messages.FavedStickers.md) + + +### Example: + +```php +$messages.favedStickers = ['_' => 'messages.favedStickers', 'hash' => int, 'packs' => [StickerPack, StickerPack], 'stickers' => [Document, Document]]; +``` + + +Or, if you're into Lua: + +```lua +messages.favedStickers={_='messages.favedStickers', hash=int, packs={StickerPack}, stickers={Document}} + +``` + + diff --git a/old_docs/API_docs_v89/constructors/messages.favedStickersNotModified.md b/old_docs/API_docs_v89/constructors/messages.favedStickersNotModified.md new file mode 100644 index 00000000..8723659e --- /dev/null +++ b/old_docs/API_docs_v89/constructors/messages.favedStickersNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.favedStickersNotModified +description: No new favorited stickers were found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.favedStickersNotModified +[Back to constructors index](index.md) + + + +No new favorited stickers were found + + + + +### Type: [messages.FavedStickers](../types/messages.FavedStickers.md) + + +### Example: + +```php +$messages.favedStickersNotModified = ['_' => 'messages.favedStickersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.favedStickersNotModified={_='messages.favedStickersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v89/constructors/messages.featuredStickers.md b/old_docs/API_docs_v89/constructors/messages.featuredStickers.md new file mode 100644 index 00000000..344376ea --- /dev/null +++ b/old_docs/API_docs_v89/constructors/messages.featuredStickers.md @@ -0,0 +1,40 @@ +--- +title: messages.featuredStickers +description: Featured stickersets +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.featuredStickers +[Back to constructors index](index.md) + + + +Featured stickersets + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| +|unread|Array of [long](../types/long.md) | Yes|Unread| + + + +### Type: [messages.FeaturedStickers](../types/messages.FeaturedStickers.md) + + +### Example: + +```php +$messages.featuredStickers = ['_' => 'messages.featuredStickers', 'hash' => int, 'sets' => [StickerSetCovered, StickerSetCovered], 'unread' => [long, long]]; +``` + + +Or, if you're into Lua: + +```lua +messages.featuredStickers={_='messages.featuredStickers', hash=int, sets={StickerSetCovered}, unread={long}} + +``` + + diff --git a/old_docs/API_docs_v89/constructors/messages.featuredStickersNotModified.md b/old_docs/API_docs_v89/constructors/messages.featuredStickersNotModified.md new file mode 100644 index 00000000..0fe9b4d5 --- /dev/null +++ b/old_docs/API_docs_v89/constructors/messages.featuredStickersNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.featuredStickersNotModified +description: Featured stickers haven't changed +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.featuredStickersNotModified +[Back to constructors index](index.md) + + + +Featured stickers haven't changed + + + + +### Type: [messages.FeaturedStickers](../types/messages.FeaturedStickers.md) + + +### Example: + +```php +$messages.featuredStickersNotModified = ['_' => 'messages.featuredStickersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.featuredStickersNotModified={_='messages.featuredStickersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v89/constructors/messages.foundGifs.md b/old_docs/API_docs_v89/constructors/messages.foundGifs.md new file mode 100644 index 00000000..c75e36f9 --- /dev/null +++ b/old_docs/API_docs_v89/constructors/messages.foundGifs.md @@ -0,0 +1,39 @@ +--- +title: messages.foundGifs +description: Found GIFs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.foundGifs +[Back to constructors index](index.md) + + + +Found GIFs + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|next\_offset|[int](../types/int.md) | Yes|Next offset to use when trying to [load more results](../methods/messages.searchGifs.md)| +|results|Array of [FoundGif](../types/FoundGif.md) | Yes|Results| + + + +### Type: [messages.FoundGifs](../types/messages.FoundGifs.md) + + +### Example: + +```php +$messages.foundGifs = ['_' => 'messages.foundGifs', 'next_offset' => int, 'results' => [FoundGif, FoundGif]]; +``` + + +Or, if you're into Lua: + +```lua +messages.foundGifs={_='messages.foundGifs', next_offset=int, results={FoundGif}} + +``` + + diff --git a/old_docs/API_docs_v89/constructors/messages.foundStickerSets.md b/old_docs/API_docs_v89/constructors/messages.foundStickerSets.md new file mode 100644 index 00000000..efc5201e --- /dev/null +++ b/old_docs/API_docs_v89/constructors/messages.foundStickerSets.md @@ -0,0 +1,39 @@ +--- +title: messages.foundStickerSets +description: Found stickersets +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.foundStickerSets +[Back to constructors index](index.md) + + + +Found stickersets + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| + + + +### Type: [messages.FoundStickerSets](../types/messages.FoundStickerSets.md) + + +### Example: + +```php +$messages.foundStickerSets = ['_' => 'messages.foundStickerSets', 'hash' => int, 'sets' => [StickerSetCovered, StickerSetCovered]]; +``` + + +Or, if you're into Lua: + +```lua +messages.foundStickerSets={_='messages.foundStickerSets', hash=int, sets={StickerSetCovered}} + +``` + + diff --git a/old_docs/API_docs_v89/constructors/messages.foundStickerSetsNotModified.md b/old_docs/API_docs_v89/constructors/messages.foundStickerSetsNotModified.md new file mode 100644 index 00000000..2902501a --- /dev/null +++ b/old_docs/API_docs_v89/constructors/messages.foundStickerSetsNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.foundStickerSetsNotModified +description: No further results were found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.foundStickerSetsNotModified +[Back to constructors index](index.md) + + + +No further results were found + + + + +### Type: [messages.FoundStickerSets](../types/messages.FoundStickerSets.md) + + +### Example: + +```php +$messages.foundStickerSetsNotModified = ['_' => 'messages.foundStickerSetsNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.foundStickerSetsNotModified={_='messages.foundStickerSetsNotModified'} + +``` + + diff --git a/old_docs/API_docs_v89/constructors/messages.highScores.md b/old_docs/API_docs_v89/constructors/messages.highScores.md new file mode 100644 index 00000000..d7d25826 --- /dev/null +++ b/old_docs/API_docs_v89/constructors/messages.highScores.md @@ -0,0 +1,39 @@ +--- +title: messages.highScores +description: Highscores in a game +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.highScores +[Back to constructors index](index.md) + + + +Highscores in a game + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|scores|Array of [HighScore](../types/HighScore.md) | Yes|Scores| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.HighScores](../types/messages.HighScores.md) + + +### Example: + +```php +$messages.highScores = ['_' => 'messages.highScores', 'scores' => [HighScore, HighScore], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.highScores={_='messages.highScores', scores={HighScore}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v89/constructors/messages.messageEditData.md b/old_docs/API_docs_v89/constructors/messages.messageEditData.md new file mode 100644 index 00000000..578b53d9 --- /dev/null +++ b/old_docs/API_docs_v89/constructors/messages.messageEditData.md @@ -0,0 +1,38 @@ +--- +title: messages.messageEditData +description: Message edit data for media +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.messageEditData +[Back to constructors index](index.md) + + + +Message edit data for media + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|caption|[Bool](../types/Bool.md) | Optional|Media caption, if the specified media's caption can be edited| + + + +### Type: [messages.MessageEditData](../types/messages.MessageEditData.md) + + +### Example: + +```php +$messages.messageEditData = ['_' => 'messages.messageEditData', 'caption' => Bool]; +``` + + +Or, if you're into Lua: + +```lua +messages.messageEditData={_='messages.messageEditData', caption=Bool} + +``` + + diff --git a/old_docs/API_docs_v89/constructors/messages.messages.md b/old_docs/API_docs_v89/constructors/messages.messages.md new file mode 100644 index 00000000..3af71dca --- /dev/null +++ b/old_docs/API_docs_v89/constructors/messages.messages.md @@ -0,0 +1,40 @@ +--- +title: messages.messages +description: Full list of messages with auxilary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.messages +[Back to constructors index](index.md) + + + +Full list of messages with auxilary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Messages](../types/messages.Messages.md) + + +### Example: + +```php +$messages.messages = ['_' => 'messages.messages', 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.messages={_='messages.messages', messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v89/constructors/messages.messagesNotModified.md b/old_docs/API_docs_v89/constructors/messages.messagesNotModified.md new file mode 100644 index 00000000..c4cb60ed --- /dev/null +++ b/old_docs/API_docs_v89/constructors/messages.messagesNotModified.md @@ -0,0 +1,38 @@ +--- +title: messages.messagesNotModified +description: No new messages matching the query were found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.messagesNotModified +[Back to constructors index](index.md) + + + +No new messages matching the query were found + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Number of results found server-side by the given query| + + + +### Type: [messages.Messages](../types/messages.Messages.md) + + +### Example: + +```php +$messages.messagesNotModified = ['_' => 'messages.messagesNotModified', 'count' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.messagesNotModified={_='messages.messagesNotModified', count=int} + +``` + + diff --git a/old_docs/API_docs_v89/constructors/messages.messagesSlice.md b/old_docs/API_docs_v89/constructors/messages.messagesSlice.md new file mode 100644 index 00000000..2fe91df0 --- /dev/null +++ b/old_docs/API_docs_v89/constructors/messages.messagesSlice.md @@ -0,0 +1,41 @@ +--- +title: messages.messagesSlice +description: Incomplete list of messages and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.messagesSlice +[Back to constructors index](index.md) + + + +Incomplete list of messages and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of messages in the list| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Messages](../types/messages.Messages.md) + + +### Example: + +```php +$messages.messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.messagesSlice={_='messages.messagesSlice', count=int, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v89/constructors/messages.peerDialogs.md b/old_docs/API_docs_v89/constructors/messages.peerDialogs.md new file mode 100644 index 00000000..39cb71f8 --- /dev/null +++ b/old_docs/API_docs_v89/constructors/messages.peerDialogs.md @@ -0,0 +1,42 @@ +--- +title: messages.peerDialogs +description: Dialog info of multiple peers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.peerDialogs +[Back to constructors index](index.md) + + + +Dialog info of multiple peers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| +|state|[updates.State](../constructors/updates.State.md) | Yes|Current [update state of dialog](https://core.telegram.org/api/updates)| + + + +### Type: [messages.PeerDialogs](../types/messages.PeerDialogs.md) + + +### Example: + +```php +$messages.peerDialogs = ['_' => 'messages.peerDialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates.State]; +``` + + +Or, if you're into Lua: + +```lua +messages.peerDialogs={_='messages.peerDialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}, state=updates.State} + +``` + + diff --git a/old_docs/API_docs_v89/constructors/messages.recentStickers.md b/old_docs/API_docs_v89/constructors/messages.recentStickers.md new file mode 100644 index 00000000..33e6c1ad --- /dev/null +++ b/old_docs/API_docs_v89/constructors/messages.recentStickers.md @@ -0,0 +1,41 @@ +--- +title: messages.recentStickers +description: Recently used stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.recentStickers +[Back to constructors index](index.md) + + + +Recently used stickers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|packs|Array of [StickerPack](../types/StickerPack.md) | Yes|Packs| +|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| +|dates|Array of [int](../types/int.md) | Yes|Dates| + + + +### Type: [messages.RecentStickers](../types/messages.RecentStickers.md) + + +### Example: + +```php +$messages.recentStickers = ['_' => 'messages.recentStickers', 'hash' => int, 'packs' => [StickerPack, StickerPack], 'stickers' => [Document, Document], 'dates' => [int, int]]; +``` + + +Or, if you're into Lua: + +```lua +messages.recentStickers={_='messages.recentStickers', hash=int, packs={StickerPack}, stickers={Document}, dates={int}} + +``` + + diff --git a/old_docs/API_docs_v89/constructors/messages.recentStickersNotModified.md b/old_docs/API_docs_v89/constructors/messages.recentStickersNotModified.md new file mode 100644 index 00000000..1c3bbf5c --- /dev/null +++ b/old_docs/API_docs_v89/constructors/messages.recentStickersNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.recentStickersNotModified +description: No new recent sticker was found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.recentStickersNotModified +[Back to constructors index](index.md) + + + +No new recent sticker was found + + + + +### Type: [messages.RecentStickers](../types/messages.RecentStickers.md) + + +### Example: + +```php +$messages.recentStickersNotModified = ['_' => 'messages.recentStickersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.recentStickersNotModified={_='messages.recentStickersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v89/constructors/messages.savedGifs.md b/old_docs/API_docs_v89/constructors/messages.savedGifs.md new file mode 100644 index 00000000..c82929a3 --- /dev/null +++ b/old_docs/API_docs_v89/constructors/messages.savedGifs.md @@ -0,0 +1,39 @@ +--- +title: messages.savedGifs +description: Saved gifs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.savedGifs +[Back to constructors index](index.md) + + + +Saved gifs + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|gifs|Array of [Document](../types/Document.md) | Yes|Gifs| + + + +### Type: [messages.SavedGifs](../types/messages.SavedGifs.md) + + +### Example: + +```php +$messages.savedGifs = ['_' => 'messages.savedGifs', 'hash' => int, 'gifs' => [Document, Document]]; +``` + + +Or, if you're into Lua: + +```lua +messages.savedGifs={_='messages.savedGifs', hash=int, gifs={Document}} + +``` + + diff --git a/old_docs/API_docs_v89/constructors/messages.savedGifsNotModified.md b/old_docs/API_docs_v89/constructors/messages.savedGifsNotModified.md new file mode 100644 index 00000000..0fbccacc --- /dev/null +++ b/old_docs/API_docs_v89/constructors/messages.savedGifsNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.savedGifsNotModified +description: No new saved gifs were found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.savedGifsNotModified +[Back to constructors index](index.md) + + + +No new saved gifs were found + + + + +### Type: [messages.SavedGifs](../types/messages.SavedGifs.md) + + +### Example: + +```php +$messages.savedGifsNotModified = ['_' => 'messages.savedGifsNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.savedGifsNotModified={_='messages.savedGifsNotModified'} + +``` + + diff --git a/old_docs/API_docs_v89/constructors/messages.sentEncryptedFile.md b/old_docs/API_docs_v89/constructors/messages.sentEncryptedFile.md new file mode 100644 index 00000000..1f0e43c6 --- /dev/null +++ b/old_docs/API_docs_v89/constructors/messages.sentEncryptedFile.md @@ -0,0 +1,39 @@ +--- +title: messages.sentEncryptedFile +description: Message with a file enclosure sent to a protected chat +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.sentEncryptedFile +[Back to constructors index](index.md) + + + +Message with a file enclosure sent to a protected chat + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Sending date| +|file|[EncryptedFile](../types/EncryptedFile.md) | Optional|Attached file| + + + +### Type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) + + +### Example: + +```php +$messages.sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile]; +``` + + +Or, if you're into Lua: + +```lua +messages.sentEncryptedFile={_='messages.sentEncryptedFile', date=int, file=EncryptedFile} + +``` + + diff --git a/old_docs/API_docs_v89/constructors/messages.sentEncryptedMessage.md b/old_docs/API_docs_v89/constructors/messages.sentEncryptedMessage.md new file mode 100644 index 00000000..3d5eb40c --- /dev/null +++ b/old_docs/API_docs_v89/constructors/messages.sentEncryptedMessage.md @@ -0,0 +1,38 @@ +--- +title: messages.sentEncryptedMessage +description: Message without file attachemts sent to an encrypted file. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.sentEncryptedMessage +[Back to constructors index](index.md) + + + +Message without file attachemts sent to an encrypted file. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Date of sending| + + + +### Type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) + + +### Example: + +```php +$messages.sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.sentEncryptedMessage={_='messages.sentEncryptedMessage', date=int} + +``` + + diff --git a/old_docs/API_docs_v89/constructors/messages.stickerSet.md b/old_docs/API_docs_v89/constructors/messages.stickerSet.md new file mode 100644 index 00000000..fbc154d0 --- /dev/null +++ b/old_docs/API_docs_v89/constructors/messages.stickerSet.md @@ -0,0 +1,40 @@ +--- +title: messages.stickerSet +description: Stickerset and stickers inside it +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickerSet +[Back to constructors index](index.md) + + + +Stickerset and stickers inside it + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|set|[StickerSet](../types/StickerSet.md) | Yes|The stickerset| +|packs|Array of [StickerPack](../types/StickerPack.md) | Yes|Packs| +|documents|Array of [Document](../types/Document.md) | Yes|Documents| + + + +### Type: [messages.StickerSet](../types/messages.StickerSet.md) + + +### Example: + +```php +$messages.stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'packs' => [StickerPack, StickerPack], 'documents' => [Document, Document]]; +``` + + +Or, if you're into Lua: + +```lua +messages.stickerSet={_='messages.stickerSet', set=StickerSet, packs={StickerPack}, documents={Document}} + +``` + + diff --git a/old_docs/API_docs_v89/constructors/messages.stickerSetInstallResultArchive.md b/old_docs/API_docs_v89/constructors/messages.stickerSetInstallResultArchive.md new file mode 100644 index 00000000..fefe2270 --- /dev/null +++ b/old_docs/API_docs_v89/constructors/messages.stickerSetInstallResultArchive.md @@ -0,0 +1,38 @@ +--- +title: messages.stickerSetInstallResultArchive +description: The stickerset was installed, but since there are too many stickersets some were archived +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickerSetInstallResultArchive +[Back to constructors index](index.md) + + + +The stickerset was installed, but since there are too many stickersets some were archived + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| + + + +### Type: [messages.StickerSetInstallResult](../types/messages.StickerSetInstallResult.md) + + +### Example: + +```php +$messages.stickerSetInstallResultArchive = ['_' => 'messages.stickerSetInstallResultArchive', 'sets' => [StickerSetCovered, StickerSetCovered]]; +``` + + +Or, if you're into Lua: + +```lua +messages.stickerSetInstallResultArchive={_='messages.stickerSetInstallResultArchive', sets={StickerSetCovered}} + +``` + + diff --git a/old_docs/API_docs_v89/constructors/messages.stickerSetInstallResultSuccess.md b/old_docs/API_docs_v89/constructors/messages.stickerSetInstallResultSuccess.md new file mode 100644 index 00000000..bbe8b961 --- /dev/null +++ b/old_docs/API_docs_v89/constructors/messages.stickerSetInstallResultSuccess.md @@ -0,0 +1,33 @@ +--- +title: messages.stickerSetInstallResultSuccess +description: The stickerset was installed successfully +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickerSetInstallResultSuccess +[Back to constructors index](index.md) + + + +The stickerset was installed successfully + + + + +### Type: [messages.StickerSetInstallResult](../types/messages.StickerSetInstallResult.md) + + +### Example: + +```php +$messages.stickerSetInstallResultSuccess = ['_' => 'messages.stickerSetInstallResultSuccess']; +``` + + +Or, if you're into Lua: + +```lua +messages.stickerSetInstallResultSuccess={_='messages.stickerSetInstallResultSuccess'} + +``` + + diff --git a/old_docs/API_docs_v89/constructors/messages.stickers.md b/old_docs/API_docs_v89/constructors/messages.stickers.md new file mode 100644 index 00000000..49ffea6a --- /dev/null +++ b/old_docs/API_docs_v89/constructors/messages.stickers.md @@ -0,0 +1,39 @@ +--- +title: messages.stickers +description: Found stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickers +[Back to constructors index](index.md) + + + +Found stickers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| + + + +### Type: [messages.Stickers](../types/messages.Stickers.md) + + +### Example: + +```php +$messages.stickers = ['_' => 'messages.stickers', 'hash' => int, 'stickers' => [Document, Document]]; +``` + + +Or, if you're into Lua: + +```lua +messages.stickers={_='messages.stickers', hash=int, stickers={Document}} + +``` + + diff --git a/old_docs/API_docs_v89/constructors/messages.stickersNotModified.md b/old_docs/API_docs_v89/constructors/messages.stickersNotModified.md new file mode 100644 index 00000000..e8c7766c --- /dev/null +++ b/old_docs/API_docs_v89/constructors/messages.stickersNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.stickersNotModified +description: No new stickers were found for the given query +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickersNotModified +[Back to constructors index](index.md) + + + +No new stickers were found for the given query + + + + +### Type: [messages.Stickers](../types/messages.Stickers.md) + + +### Example: + +```php +$messages.stickersNotModified = ['_' => 'messages.stickersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.stickersNotModified={_='messages.stickersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v89/constructors/messages_affectedHistory.md b/old_docs/API_docs_v89/constructors/messages_affectedHistory.md deleted file mode 100644 index 449a7e3f..00000000 --- a/old_docs/API_docs_v89/constructors/messages_affectedHistory.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.affectedHistory -description: Affected part of communication history with the user or in a chat. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.affectedHistory -[Back to constructors index](index.md) - - - -Affected part of communication history with the user or in a chat. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| -|pts\_count|[int](../types/int.md) | Yes|Number of affected events| -|offset|[int](../types/int.md) | Yes|If a parameter contains positive value, it is necessary to repeat the method call using the given value; during the proceeding of all the history the value itself shall gradually decrease| - - - -### Type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) - - -### Example: - -```php -$messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_affectedHistory={_='messages.affectedHistory', pts=int, pts_count=int, offset=int} - -``` - - diff --git a/old_docs/API_docs_v89/constructors/messages_affectedMessages.md b/old_docs/API_docs_v89/constructors/messages_affectedMessages.md deleted file mode 100644 index 86760581..00000000 --- a/old_docs/API_docs_v89/constructors/messages_affectedMessages.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.affectedMessages -description: Events affected by operation -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.affectedMessages -[Back to constructors index](index.md) - - - -Events affected by operation - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|[Event count after generation](https://core.telegram.org/api/updates)| -|pts\_count|[int](../types/int.md) | Yes|[Number of events that were generated](https://core.telegram.org/api/updates)| - - - -### Type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) - - -### Example: - -```php -$messages_affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_affectedMessages={_='messages.affectedMessages', pts=int, pts_count=int} - -``` - - diff --git a/old_docs/API_docs_v89/constructors/messages_allStickers.md b/old_docs/API_docs_v89/constructors/messages_allStickers.md deleted file mode 100644 index 2e64f46e..00000000 --- a/old_docs/API_docs_v89/constructors/messages_allStickers.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.allStickers -description: Info about all installed stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.allStickers -[Back to constructors index](index.md) - - - -Info about all installed stickers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|sets|Array of [StickerSet](../types/StickerSet.md) | Yes|Sets| - - - -### Type: [messages\_AllStickers](../types/messages_AllStickers.md) - - -### Example: - -```php -$messages_allStickers = ['_' => 'messages.allStickers', 'hash' => int, 'sets' => [StickerSet, StickerSet]]; -``` - - -Or, if you're into Lua: - -```lua -messages_allStickers={_='messages.allStickers', hash=int, sets={StickerSet}} - -``` - - diff --git a/old_docs/API_docs_v89/constructors/messages_allStickersNotModified.md b/old_docs/API_docs_v89/constructors/messages_allStickersNotModified.md deleted file mode 100644 index c4da85ab..00000000 --- a/old_docs/API_docs_v89/constructors/messages_allStickersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.allStickersNotModified -description: Info about all installed stickers hasn't changed -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.allStickersNotModified -[Back to constructors index](index.md) - - - -Info about all installed stickers hasn't changed - - - - -### Type: [messages\_AllStickers](../types/messages_AllStickers.md) - - -### Example: - -```php -$messages_allStickersNotModified = ['_' => 'messages.allStickersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_allStickersNotModified={_='messages.allStickersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v89/constructors/messages_archivedStickers.md b/old_docs/API_docs_v89/constructors/messages_archivedStickers.md deleted file mode 100644 index 6b28c885..00000000 --- a/old_docs/API_docs_v89/constructors/messages_archivedStickers.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.archivedStickers -description: Archived stickersets -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.archivedStickers -[Back to constructors index](index.md) - - - -Archived stickersets - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Number of archived stickers| -|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| - - - -### Type: [messages\_ArchivedStickers](../types/messages_ArchivedStickers.md) - - -### Example: - -```php -$messages_archivedStickers = ['_' => 'messages.archivedStickers', 'count' => int, 'sets' => [StickerSetCovered, StickerSetCovered]]; -``` - - -Or, if you're into Lua: - -```lua -messages_archivedStickers={_='messages.archivedStickers', count=int, sets={StickerSetCovered}} - -``` - - diff --git a/old_docs/API_docs_v89/constructors/messages_botCallbackAnswer.md b/old_docs/API_docs_v89/constructors/messages_botCallbackAnswer.md deleted file mode 100644 index e56f4b56..00000000 --- a/old_docs/API_docs_v89/constructors/messages_botCallbackAnswer.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: messages.botCallbackAnswer -description: Callback answer sent by the bot in response to a button press -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.botCallbackAnswer -[Back to constructors index](index.md) - - - -Callback answer sent by the bot in response to a button press - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|alert|[Bool](../types/Bool.md) | Optional|Whether an alert should be shown to the user instead of a toast notification| -|has\_url|[Bool](../types/Bool.md) | Optional|Whether an URL is present| -|native\_ui|[Bool](../types/Bool.md) | Optional|Whether to show games in WebView or in native UI.| -|message|[string](../types/string.md) | Optional|Alert to show| -|url|[string](../types/string.md) | Optional|URL to open| -|cache\_time|[int](../types/int.md) | Yes|For how long should this answer be cached| - - - -### Type: [messages\_BotCallbackAnswer](../types/messages_BotCallbackAnswer.md) - - -### Example: - -```php -$messages_botCallbackAnswer = ['_' => 'messages.botCallbackAnswer', 'alert' => Bool, 'has_url' => Bool, 'native_ui' => Bool, 'message' => 'string', 'url' => 'string', 'cache_time' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_botCallbackAnswer={_='messages.botCallbackAnswer', alert=Bool, has_url=Bool, native_ui=Bool, message='string', url='string', cache_time=int} - -``` - - diff --git a/old_docs/API_docs_v89/constructors/messages_botResults.md b/old_docs/API_docs_v89/constructors/messages_botResults.md deleted file mode 100644 index 19b9edf6..00000000 --- a/old_docs/API_docs_v89/constructors/messages_botResults.md +++ /dev/null @@ -1,44 +0,0 @@ ---- -title: messages.botResults -description: Result of a query to an inline bot -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.botResults -[Back to constructors index](index.md) - - - -Result of a query to an inline bot - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|gallery|[Bool](../types/Bool.md) | Optional|Whether the result is a picture gallery| -|query\_id|[long](../types/long.md) | Yes|Query ID| -|next\_offset|[string](../types/string.md) | Optional|The next offset to use when navigating through results| -|switch\_pm|[InlineBotSwitchPM](../types/InlineBotSwitchPM.md) | Optional|Whether the bot requested the user to message him in private| -|results|Array of [BotInlineResult](../types/BotInlineResult.md) | Yes|Results| -|cache\_time|[int](../types/int.md) | Yes|Caching validity of the results| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_BotResults](../types/messages_BotResults.md) - - -### Example: - -```php -$messages_botResults = ['_' => 'messages.botResults', 'gallery' => Bool, 'query_id' => long, 'next_offset' => 'string', 'switch_pm' => InlineBotSwitchPM, 'results' => [BotInlineResult, BotInlineResult], 'cache_time' => int, 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_botResults={_='messages.botResults', gallery=Bool, query_id=long, next_offset='string', switch_pm=InlineBotSwitchPM, results={BotInlineResult}, cache_time=int, users={User}} - -``` - - diff --git a/old_docs/API_docs_v89/constructors/messages_channelMessages.md b/old_docs/API_docs_v89/constructors/messages_channelMessages.md deleted file mode 100644 index 12cdb9cd..00000000 --- a/old_docs/API_docs_v89/constructors/messages_channelMessages.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: messages.channelMessages -description: Channel messages -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.channelMessages -[Back to constructors index](index.md) - - - -Channel messages - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|[Event count after generation](https://core.telegram.org/api/updates)| -|count|[int](../types/int.md) | Yes|Total number of results were found server-side (may not be all included here)| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Messages](../types/messages_Messages.md) - - -### Example: - -```php -$messages_channelMessages = ['_' => 'messages.channelMessages', 'pts' => int, 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_channelMessages={_='messages.channelMessages', pts=int, count=int, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v89/constructors/messages_chatFull.md b/old_docs/API_docs_v89/constructors/messages_chatFull.md deleted file mode 100644 index 02f1acdf..00000000 --- a/old_docs/API_docs_v89/constructors/messages_chatFull.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.chatFull -description: Extended info on chat and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.chatFull -[Back to constructors index](index.md) - - - -Extended info on chat and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|full\_chat|[ChatFull](../types/ChatFull.md) | Yes|Extended info on a chat| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_ChatFull](../types/messages_ChatFull.md) - - -### Example: - -```php -$messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_chatFull={_='messages.chatFull', full_chat=ChatFull, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v89/constructors/messages_chats.md b/old_docs/API_docs_v89/constructors/messages_chats.md deleted file mode 100644 index ef3690a9..00000000 --- a/old_docs/API_docs_v89/constructors/messages_chats.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.chats -description: List of chats with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.chats -[Back to constructors index](index.md) - - - -List of chats with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| - - - -### Type: [messages\_Chats](../types/messages_Chats.md) - - -### Example: - -```php -$messages_chats = ['_' => 'messages.chats', 'chats' => [Chat, Chat]]; -``` - - -Or, if you're into Lua: - -```lua -messages_chats={_='messages.chats', chats={Chat}} - -``` - - diff --git a/old_docs/API_docs_v89/constructors/messages_chatsSlice.md b/old_docs/API_docs_v89/constructors/messages_chatsSlice.md deleted file mode 100644 index f19c4357..00000000 --- a/old_docs/API_docs_v89/constructors/messages_chatsSlice.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.chatsSlice -description: Partial list of chats, more would have to be fetched with [pagination](https://core.telegram.org/api/offsets) -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.chatsSlice -[Back to constructors index](index.md) - - - -Partial list of chats, more would have to be fetched with [pagination](https://core.telegram.org/api/offsets) - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of results that were found server-side (not all are included in `chats`)| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| - - - -### Type: [messages\_Chats](../types/messages_Chats.md) - - -### Example: - -```php -$messages_chatsSlice = ['_' => 'messages.chatsSlice', 'count' => int, 'chats' => [Chat, Chat]]; -``` - - -Or, if you're into Lua: - -```lua -messages_chatsSlice={_='messages.chatsSlice', count=int, chats={Chat}} - -``` - - diff --git a/old_docs/API_docs_v89/constructors/messages_dhConfig.md b/old_docs/API_docs_v89/constructors/messages_dhConfig.md deleted file mode 100644 index 42c2feb1..00000000 --- a/old_docs/API_docs_v89/constructors/messages_dhConfig.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: messages.dhConfig -description: New set of configuring parameters. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dhConfig -[Back to constructors index](index.md) - - - -New set of configuring parameters. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|g|[int](../types/int.md) | Yes|New value **prime**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| -|p|[bytes](../types/bytes.md) | Yes|New value **primitive root**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| -|version|[int](../types/int.md) | Yes|Vestion of set of parameters| -|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| - - - -### Type: [messages\_DhConfig](../types/messages_DhConfig.md) - - -### Example: - -```php -$messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'version' => int, 'random' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -messages_dhConfig={_='messages.dhConfig', g=int, p='bytes', version=int, random='bytes'} - -``` - - diff --git a/old_docs/API_docs_v89/constructors/messages_dhConfigNotModified.md b/old_docs/API_docs_v89/constructors/messages_dhConfigNotModified.md deleted file mode 100644 index 5bf64230..00000000 --- a/old_docs/API_docs_v89/constructors/messages_dhConfigNotModified.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.dhConfigNotModified -description: Configuring parameters did not change. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dhConfigNotModified -[Back to constructors index](index.md) - - - -Configuring parameters did not change. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| - - - -### Type: [messages\_DhConfig](../types/messages_DhConfig.md) - - -### Example: - -```php -$messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -messages_dhConfigNotModified={_='messages.dhConfigNotModified', random='bytes'} - -``` - - diff --git a/old_docs/API_docs_v89/constructors/messages_dialogs.md b/old_docs/API_docs_v89/constructors/messages_dialogs.md deleted file mode 100644 index e6a431b4..00000000 --- a/old_docs/API_docs_v89/constructors/messages_dialogs.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: messages.dialogs -description: Full list of chats with messages and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dialogs -[Back to constructors index](index.md) - - - -Full list of chats with messages and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Dialogs](../types/messages_Dialogs.md) - - -### Example: - -```php -$messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_dialogs={_='messages.dialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v89/constructors/messages_dialogsNotModified.md b/old_docs/API_docs_v89/constructors/messages_dialogsNotModified.md deleted file mode 100644 index 16a32b2e..00000000 --- a/old_docs/API_docs_v89/constructors/messages_dialogsNotModified.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.dialogsNotModified -description: Dialogs haven't changed -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dialogsNotModified -[Back to constructors index](index.md) - - - -Dialogs haven't changed - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Number of dialogs found server-side by the query| - - - -### Type: [messages\_Dialogs](../types/messages_Dialogs.md) - - -### Example: - -```php -$messages_dialogsNotModified = ['_' => 'messages.dialogsNotModified', 'count' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_dialogsNotModified={_='messages.dialogsNotModified', count=int} - -``` - - diff --git a/old_docs/API_docs_v89/constructors/messages_dialogsSlice.md b/old_docs/API_docs_v89/constructors/messages_dialogsSlice.md deleted file mode 100644 index f183b9a8..00000000 --- a/old_docs/API_docs_v89/constructors/messages_dialogsSlice.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: messages.dialogsSlice -description: Incomplete list of dialogs with messages and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dialogsSlice -[Back to constructors index](index.md) - - - -Incomplete list of dialogs with messages and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of dialogs| -|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Dialogs](../types/messages_Dialogs.md) - - -### Example: - -```php -$messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_dialogsSlice={_='messages.dialogsSlice', count=int, dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v89/constructors/messages_favedStickers.md b/old_docs/API_docs_v89/constructors/messages_favedStickers.md deleted file mode 100644 index 72d79df2..00000000 --- a/old_docs/API_docs_v89/constructors/messages_favedStickers.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.favedStickers -description: Favorited stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.favedStickers -[Back to constructors index](index.md) - - - -Favorited stickers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|packs|Array of [StickerPack](../types/StickerPack.md) | Yes|Packs| -|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| - - - -### Type: [messages\_FavedStickers](../types/messages_FavedStickers.md) - - -### Example: - -```php -$messages_favedStickers = ['_' => 'messages.favedStickers', 'hash' => int, 'packs' => [StickerPack, StickerPack], 'stickers' => [Document, Document]]; -``` - - -Or, if you're into Lua: - -```lua -messages_favedStickers={_='messages.favedStickers', hash=int, packs={StickerPack}, stickers={Document}} - -``` - - diff --git a/old_docs/API_docs_v89/constructors/messages_favedStickersNotModified.md b/old_docs/API_docs_v89/constructors/messages_favedStickersNotModified.md deleted file mode 100644 index a47c08e8..00000000 --- a/old_docs/API_docs_v89/constructors/messages_favedStickersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.favedStickersNotModified -description: No new favorited stickers were found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.favedStickersNotModified -[Back to constructors index](index.md) - - - -No new favorited stickers were found - - - - -### Type: [messages\_FavedStickers](../types/messages_FavedStickers.md) - - -### Example: - -```php -$messages_favedStickersNotModified = ['_' => 'messages.favedStickersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_favedStickersNotModified={_='messages.favedStickersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v89/constructors/messages_featuredStickers.md b/old_docs/API_docs_v89/constructors/messages_featuredStickers.md deleted file mode 100644 index 8ef1046e..00000000 --- a/old_docs/API_docs_v89/constructors/messages_featuredStickers.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.featuredStickers -description: Featured stickersets -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.featuredStickers -[Back to constructors index](index.md) - - - -Featured stickersets - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| -|unread|Array of [long](../types/long.md) | Yes|Unread| - - - -### Type: [messages\_FeaturedStickers](../types/messages_FeaturedStickers.md) - - -### Example: - -```php -$messages_featuredStickers = ['_' => 'messages.featuredStickers', 'hash' => int, 'sets' => [StickerSetCovered, StickerSetCovered], 'unread' => [long, long]]; -``` - - -Or, if you're into Lua: - -```lua -messages_featuredStickers={_='messages.featuredStickers', hash=int, sets={StickerSetCovered}, unread={long}} - -``` - - diff --git a/old_docs/API_docs_v89/constructors/messages_featuredStickersNotModified.md b/old_docs/API_docs_v89/constructors/messages_featuredStickersNotModified.md deleted file mode 100644 index de01131b..00000000 --- a/old_docs/API_docs_v89/constructors/messages_featuredStickersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.featuredStickersNotModified -description: Featured stickers haven't changed -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.featuredStickersNotModified -[Back to constructors index](index.md) - - - -Featured stickers haven't changed - - - - -### Type: [messages\_FeaturedStickers](../types/messages_FeaturedStickers.md) - - -### Example: - -```php -$messages_featuredStickersNotModified = ['_' => 'messages.featuredStickersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_featuredStickersNotModified={_='messages.featuredStickersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v89/constructors/messages_foundGifs.md b/old_docs/API_docs_v89/constructors/messages_foundGifs.md deleted file mode 100644 index eb3603ca..00000000 --- a/old_docs/API_docs_v89/constructors/messages_foundGifs.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.foundGifs -description: Found GIFs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.foundGifs -[Back to constructors index](index.md) - - - -Found GIFs - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|next\_offset|[int](../types/int.md) | Yes|Next offset to use when trying to [load more results](../methods/messages.searchGifs.md)| -|results|Array of [FoundGif](../types/FoundGif.md) | Yes|Results| - - - -### Type: [messages\_FoundGifs](../types/messages_FoundGifs.md) - - -### Example: - -```php -$messages_foundGifs = ['_' => 'messages.foundGifs', 'next_offset' => int, 'results' => [FoundGif, FoundGif]]; -``` - - -Or, if you're into Lua: - -```lua -messages_foundGifs={_='messages.foundGifs', next_offset=int, results={FoundGif}} - -``` - - diff --git a/old_docs/API_docs_v89/constructors/messages_foundStickerSets.md b/old_docs/API_docs_v89/constructors/messages_foundStickerSets.md deleted file mode 100644 index 356177e1..00000000 --- a/old_docs/API_docs_v89/constructors/messages_foundStickerSets.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.foundStickerSets -description: Found stickersets -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.foundStickerSets -[Back to constructors index](index.md) - - - -Found stickersets - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| - - - -### Type: [messages\_FoundStickerSets](../types/messages_FoundStickerSets.md) - - -### Example: - -```php -$messages_foundStickerSets = ['_' => 'messages.foundStickerSets', 'hash' => int, 'sets' => [StickerSetCovered, StickerSetCovered]]; -``` - - -Or, if you're into Lua: - -```lua -messages_foundStickerSets={_='messages.foundStickerSets', hash=int, sets={StickerSetCovered}} - -``` - - diff --git a/old_docs/API_docs_v89/constructors/messages_foundStickerSetsNotModified.md b/old_docs/API_docs_v89/constructors/messages_foundStickerSetsNotModified.md deleted file mode 100644 index c1f39490..00000000 --- a/old_docs/API_docs_v89/constructors/messages_foundStickerSetsNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.foundStickerSetsNotModified -description: No further results were found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.foundStickerSetsNotModified -[Back to constructors index](index.md) - - - -No further results were found - - - - -### Type: [messages\_FoundStickerSets](../types/messages_FoundStickerSets.md) - - -### Example: - -```php -$messages_foundStickerSetsNotModified = ['_' => 'messages.foundStickerSetsNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_foundStickerSetsNotModified={_='messages.foundStickerSetsNotModified'} - -``` - - diff --git a/old_docs/API_docs_v89/constructors/messages_highScores.md b/old_docs/API_docs_v89/constructors/messages_highScores.md deleted file mode 100644 index d6fc5210..00000000 --- a/old_docs/API_docs_v89/constructors/messages_highScores.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.highScores -description: Highscores in a game -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.highScores -[Back to constructors index](index.md) - - - -Highscores in a game - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|scores|Array of [HighScore](../types/HighScore.md) | Yes|Scores| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_HighScores](../types/messages_HighScores.md) - - -### Example: - -```php -$messages_highScores = ['_' => 'messages.highScores', 'scores' => [HighScore, HighScore], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_highScores={_='messages.highScores', scores={HighScore}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v89/constructors/messages_messageEditData.md b/old_docs/API_docs_v89/constructors/messages_messageEditData.md deleted file mode 100644 index 76aefca5..00000000 --- a/old_docs/API_docs_v89/constructors/messages_messageEditData.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.messageEditData -description: Message edit data for media -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.messageEditData -[Back to constructors index](index.md) - - - -Message edit data for media - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|caption|[Bool](../types/Bool.md) | Optional|Media caption, if the specified media's caption can be edited| - - - -### Type: [messages\_MessageEditData](../types/messages_MessageEditData.md) - - -### Example: - -```php -$messages_messageEditData = ['_' => 'messages.messageEditData', 'caption' => Bool]; -``` - - -Or, if you're into Lua: - -```lua -messages_messageEditData={_='messages.messageEditData', caption=Bool} - -``` - - diff --git a/old_docs/API_docs_v89/constructors/messages_messages.md b/old_docs/API_docs_v89/constructors/messages_messages.md deleted file mode 100644 index 3e369e1a..00000000 --- a/old_docs/API_docs_v89/constructors/messages_messages.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.messages -description: Full list of messages with auxilary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.messages -[Back to constructors index](index.md) - - - -Full list of messages with auxilary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Messages](../types/messages_Messages.md) - - -### Example: - -```php -$messages_messages = ['_' => 'messages.messages', 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_messages={_='messages.messages', messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v89/constructors/messages_messagesNotModified.md b/old_docs/API_docs_v89/constructors/messages_messagesNotModified.md deleted file mode 100644 index 2e9c4ad9..00000000 --- a/old_docs/API_docs_v89/constructors/messages_messagesNotModified.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.messagesNotModified -description: No new messages matching the query were found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.messagesNotModified -[Back to constructors index](index.md) - - - -No new messages matching the query were found - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Number of results found server-side by the given query| - - - -### Type: [messages\_Messages](../types/messages_Messages.md) - - -### Example: - -```php -$messages_messagesNotModified = ['_' => 'messages.messagesNotModified', 'count' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_messagesNotModified={_='messages.messagesNotModified', count=int} - -``` - - diff --git a/old_docs/API_docs_v89/constructors/messages_messagesSlice.md b/old_docs/API_docs_v89/constructors/messages_messagesSlice.md deleted file mode 100644 index f9b8dc18..00000000 --- a/old_docs/API_docs_v89/constructors/messages_messagesSlice.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: messages.messagesSlice -description: Incomplete list of messages and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.messagesSlice -[Back to constructors index](index.md) - - - -Incomplete list of messages and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of messages in the list| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Messages](../types/messages_Messages.md) - - -### Example: - -```php -$messages_messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_messagesSlice={_='messages.messagesSlice', count=int, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v89/constructors/messages_peerDialogs.md b/old_docs/API_docs_v89/constructors/messages_peerDialogs.md deleted file mode 100644 index 29b4b842..00000000 --- a/old_docs/API_docs_v89/constructors/messages_peerDialogs.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: messages.peerDialogs -description: Dialog info of multiple peers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.peerDialogs -[Back to constructors index](index.md) - - - -Dialog info of multiple peers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| -|state|[updates\_State](../types/updates_State.md) | Yes|Current [update state of dialog](https://core.telegram.org/api/updates)| - - - -### Type: [messages\_PeerDialogs](../types/messages_PeerDialogs.md) - - -### Example: - -```php -$messages_peerDialogs = ['_' => 'messages.peerDialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates_State]; -``` - - -Or, if you're into Lua: - -```lua -messages_peerDialogs={_='messages.peerDialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}, state=updates_State} - -``` - - diff --git a/old_docs/API_docs_v89/constructors/messages_recentStickers.md b/old_docs/API_docs_v89/constructors/messages_recentStickers.md deleted file mode 100644 index 47d5cffd..00000000 --- a/old_docs/API_docs_v89/constructors/messages_recentStickers.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: messages.recentStickers -description: Recently used stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.recentStickers -[Back to constructors index](index.md) - - - -Recently used stickers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|packs|Array of [StickerPack](../types/StickerPack.md) | Yes|Packs| -|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| -|dates|Array of [int](../types/int.md) | Yes|Dates| - - - -### Type: [messages\_RecentStickers](../types/messages_RecentStickers.md) - - -### Example: - -```php -$messages_recentStickers = ['_' => 'messages.recentStickers', 'hash' => int, 'packs' => [StickerPack, StickerPack], 'stickers' => [Document, Document], 'dates' => [int, int]]; -``` - - -Or, if you're into Lua: - -```lua -messages_recentStickers={_='messages.recentStickers', hash=int, packs={StickerPack}, stickers={Document}, dates={int}} - -``` - - diff --git a/old_docs/API_docs_v89/constructors/messages_recentStickersNotModified.md b/old_docs/API_docs_v89/constructors/messages_recentStickersNotModified.md deleted file mode 100644 index 3e81dceb..00000000 --- a/old_docs/API_docs_v89/constructors/messages_recentStickersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.recentStickersNotModified -description: No new recent sticker was found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.recentStickersNotModified -[Back to constructors index](index.md) - - - -No new recent sticker was found - - - - -### Type: [messages\_RecentStickers](../types/messages_RecentStickers.md) - - -### Example: - -```php -$messages_recentStickersNotModified = ['_' => 'messages.recentStickersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_recentStickersNotModified={_='messages.recentStickersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v89/constructors/messages_savedGifs.md b/old_docs/API_docs_v89/constructors/messages_savedGifs.md deleted file mode 100644 index ed3e8ea3..00000000 --- a/old_docs/API_docs_v89/constructors/messages_savedGifs.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.savedGifs -description: Saved gifs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.savedGifs -[Back to constructors index](index.md) - - - -Saved gifs - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|gifs|Array of [Document](../types/Document.md) | Yes|Gifs| - - - -### Type: [messages\_SavedGifs](../types/messages_SavedGifs.md) - - -### Example: - -```php -$messages_savedGifs = ['_' => 'messages.savedGifs', 'hash' => int, 'gifs' => [Document, Document]]; -``` - - -Or, if you're into Lua: - -```lua -messages_savedGifs={_='messages.savedGifs', hash=int, gifs={Document}} - -``` - - diff --git a/old_docs/API_docs_v89/constructors/messages_savedGifsNotModified.md b/old_docs/API_docs_v89/constructors/messages_savedGifsNotModified.md deleted file mode 100644 index 0f843a0c..00000000 --- a/old_docs/API_docs_v89/constructors/messages_savedGifsNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.savedGifsNotModified -description: No new saved gifs were found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.savedGifsNotModified -[Back to constructors index](index.md) - - - -No new saved gifs were found - - - - -### Type: [messages\_SavedGifs](../types/messages_SavedGifs.md) - - -### Example: - -```php -$messages_savedGifsNotModified = ['_' => 'messages.savedGifsNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_savedGifsNotModified={_='messages.savedGifsNotModified'} - -``` - - diff --git a/old_docs/API_docs_v89/constructors/messages_sentEncryptedFile.md b/old_docs/API_docs_v89/constructors/messages_sentEncryptedFile.md deleted file mode 100644 index fdc2a11e..00000000 --- a/old_docs/API_docs_v89/constructors/messages_sentEncryptedFile.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.sentEncryptedFile -description: Message with a file enclosure sent to a protected chat -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.sentEncryptedFile -[Back to constructors index](index.md) - - - -Message with a file enclosure sent to a protected chat - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Sending date| -|file|[EncryptedFile](../types/EncryptedFile.md) | Optional|Attached file| - - - -### Type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) - - -### Example: - -```php -$messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile]; -``` - - -Or, if you're into Lua: - -```lua -messages_sentEncryptedFile={_='messages.sentEncryptedFile', date=int, file=EncryptedFile} - -``` - - diff --git a/old_docs/API_docs_v89/constructors/messages_sentEncryptedMessage.md b/old_docs/API_docs_v89/constructors/messages_sentEncryptedMessage.md deleted file mode 100644 index 36b2bbff..00000000 --- a/old_docs/API_docs_v89/constructors/messages_sentEncryptedMessage.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.sentEncryptedMessage -description: Message without file attachemts sent to an encrypted file. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.sentEncryptedMessage -[Back to constructors index](index.md) - - - -Message without file attachemts sent to an encrypted file. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Date of sending| - - - -### Type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) - - -### Example: - -```php -$messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_sentEncryptedMessage={_='messages.sentEncryptedMessage', date=int} - -``` - - diff --git a/old_docs/API_docs_v89/constructors/messages_stickerSet.md b/old_docs/API_docs_v89/constructors/messages_stickerSet.md deleted file mode 100644 index 127191de..00000000 --- a/old_docs/API_docs_v89/constructors/messages_stickerSet.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.stickerSet -description: Stickerset and stickers inside it -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickerSet -[Back to constructors index](index.md) - - - -Stickerset and stickers inside it - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|set|[StickerSet](../types/StickerSet.md) | Yes|The stickerset| -|packs|Array of [StickerPack](../types/StickerPack.md) | Yes|Packs| -|documents|Array of [Document](../types/Document.md) | Yes|Documents| - - - -### Type: [messages\_StickerSet](../types/messages_StickerSet.md) - - -### Example: - -```php -$messages_stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'packs' => [StickerPack, StickerPack], 'documents' => [Document, Document]]; -``` - - -Or, if you're into Lua: - -```lua -messages_stickerSet={_='messages.stickerSet', set=StickerSet, packs={StickerPack}, documents={Document}} - -``` - - diff --git a/old_docs/API_docs_v89/constructors/messages_stickerSetInstallResultArchive.md b/old_docs/API_docs_v89/constructors/messages_stickerSetInstallResultArchive.md deleted file mode 100644 index 8a5f4d5d..00000000 --- a/old_docs/API_docs_v89/constructors/messages_stickerSetInstallResultArchive.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.stickerSetInstallResultArchive -description: The stickerset was installed, but since there are too many stickersets some were archived -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickerSetInstallResultArchive -[Back to constructors index](index.md) - - - -The stickerset was installed, but since there are too many stickersets some were archived - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| - - - -### Type: [messages\_StickerSetInstallResult](../types/messages_StickerSetInstallResult.md) - - -### Example: - -```php -$messages_stickerSetInstallResultArchive = ['_' => 'messages.stickerSetInstallResultArchive', 'sets' => [StickerSetCovered, StickerSetCovered]]; -``` - - -Or, if you're into Lua: - -```lua -messages_stickerSetInstallResultArchive={_='messages.stickerSetInstallResultArchive', sets={StickerSetCovered}} - -``` - - diff --git a/old_docs/API_docs_v89/constructors/messages_stickerSetInstallResultSuccess.md b/old_docs/API_docs_v89/constructors/messages_stickerSetInstallResultSuccess.md deleted file mode 100644 index 1d33b89f..00000000 --- a/old_docs/API_docs_v89/constructors/messages_stickerSetInstallResultSuccess.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.stickerSetInstallResultSuccess -description: The stickerset was installed successfully -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickerSetInstallResultSuccess -[Back to constructors index](index.md) - - - -The stickerset was installed successfully - - - - -### Type: [messages\_StickerSetInstallResult](../types/messages_StickerSetInstallResult.md) - - -### Example: - -```php -$messages_stickerSetInstallResultSuccess = ['_' => 'messages.stickerSetInstallResultSuccess']; -``` - - -Or, if you're into Lua: - -```lua -messages_stickerSetInstallResultSuccess={_='messages.stickerSetInstallResultSuccess'} - -``` - - diff --git a/old_docs/API_docs_v89/constructors/messages_stickers.md b/old_docs/API_docs_v89/constructors/messages_stickers.md deleted file mode 100644 index c321996b..00000000 --- a/old_docs/API_docs_v89/constructors/messages_stickers.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.stickers -description: Found stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickers -[Back to constructors index](index.md) - - - -Found stickers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| - - - -### Type: [messages\_Stickers](../types/messages_Stickers.md) - - -### Example: - -```php -$messages_stickers = ['_' => 'messages.stickers', 'hash' => int, 'stickers' => [Document, Document]]; -``` - - -Or, if you're into Lua: - -```lua -messages_stickers={_='messages.stickers', hash=int, stickers={Document}} - -``` - - diff --git a/old_docs/API_docs_v89/constructors/messages_stickersNotModified.md b/old_docs/API_docs_v89/constructors/messages_stickersNotModified.md deleted file mode 100644 index 3d434a79..00000000 --- a/old_docs/API_docs_v89/constructors/messages_stickersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.stickersNotModified -description: No new stickers were found for the given query -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickersNotModified -[Back to constructors index](index.md) - - - -No new stickers were found for the given query - - - - -### Type: [messages\_Stickers](../types/messages_Stickers.md) - - -### Example: - -```php -$messages_stickersNotModified = ['_' => 'messages.stickersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_stickersNotModified={_='messages.stickersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v89/constructors/payments.paymentForm.md b/old_docs/API_docs_v89/constructors/payments.paymentForm.md new file mode 100644 index 00000000..90e0f39d --- /dev/null +++ b/old_docs/API_docs_v89/constructors/payments.paymentForm.md @@ -0,0 +1,48 @@ +--- +title: payments.paymentForm +description: Payment form +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: payments.paymentForm +[Back to constructors index](index.md) + + + +Payment form + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|can\_save\_credentials|[Bool](../types/Bool.md) | Optional|Whether the user can choose to save credentials.| +|password\_missing|[Bool](../types/Bool.md) | Optional|Indicates that the user can save payment credentials, but only after setting up a [2FA password](https://core.telegram.org/api/srp) (currently the account doesn't have a [2FA password](https://core.telegram.org/api/srp))| +|bot\_id|[int](../types/int.md) | Yes|Bot ID| +|invoice|[Invoice](../types/Invoice.md) | Yes|Invoice| +|provider\_id|[int](../types/int.md) | Yes|Payment provider ID.| +|url|[string](../types/string.md) | Yes|Payment form URL| +|native\_provider|[string](../types/string.md) | Optional|Payment provider name.
One of the following:
\- `stripe`| +|native\_params|[DataJSON](../types/DataJSON.md) | Optional|Contains information about the payment provider, if available, to support it natively without the need for opening the URL.
A JSON object that can contain the following fields:

\- `publishable_key`: Stripe API publishable key
\- `apple_pay_merchant_id`: Apple Pay merchant ID
\- `android_pay_public_key`: Android Pay public key
\- `android_pay_bgcolor`: Android Pay form background color
\- `android_pay_inverse`: Whether to use the dark theme in the Android Pay form
\- `need_country`: True, if the user country must be provided,
\- `need_zip`: True, if the user ZIP/postal code must be provided,
\- `need_cardholder_name`: True, if the cardholder name must be provided
| +|saved\_info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Optional|Saved server-side order information| +|saved\_credentials|[PaymentSavedCredentials](../types/PaymentSavedCredentials.md) | Optional|Contains information about saved card credentials| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [payments.PaymentForm](../types/payments.PaymentForm.md) + + +### Example: + +```php +$payments.paymentForm = ['_' => 'payments.paymentForm', 'can_save_credentials' => Bool, 'password_missing' => Bool, 'bot_id' => int, 'invoice' => Invoice, 'provider_id' => int, 'url' => 'string', 'native_provider' => 'string', 'native_params' => DataJSON, 'saved_info' => PaymentRequestedInfo, 'saved_credentials' => PaymentSavedCredentials, 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +payments.paymentForm={_='payments.paymentForm', can_save_credentials=Bool, password_missing=Bool, bot_id=int, invoice=Invoice, provider_id=int, url='string', native_provider='string', native_params=DataJSON, saved_info=PaymentRequestedInfo, saved_credentials=PaymentSavedCredentials, users={User}} + +``` + + diff --git a/old_docs/API_docs_v89/constructors/payments.paymentReceipt.md b/old_docs/API_docs_v89/constructors/payments.paymentReceipt.md new file mode 100644 index 00000000..5a0cc190 --- /dev/null +++ b/old_docs/API_docs_v89/constructors/payments.paymentReceipt.md @@ -0,0 +1,47 @@ +--- +title: payments.paymentReceipt +description: Receipt +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: payments.paymentReceipt +[Back to constructors index](index.md) + + + +Receipt + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Date of generation| +|bot\_id|[int](../types/int.md) | Yes|Bot ID| +|invoice|[Invoice](../types/Invoice.md) | Yes|Invoice| +|provider\_id|[int](../types/int.md) | Yes|Provider ID| +|info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Optional|Info| +|shipping|[ShippingOption](../types/ShippingOption.md) | Optional|Selected shipping option| +|currency|[string](../types/string.md) | Yes|Three-letter ISO 4217 [currency](https://core.telegram.org/bots/payments#supported-currencies) code| +|total\_amount|[long](../types/long.md) | Yes|Total amount in the smallest units of the currency (integer, not float/double). For example, for a price of `US$ 1.45` pass `amount = 145`. See the exp parameter in [currencies.json](https://core.telegram.org/bots/payments/currencies.json), it shows the number of digits past the decimal point for each currency (2 for the majority of currencies).| +|credentials\_title|[string](../types/string.md) | Yes|Payment credential name| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [payments.PaymentReceipt](../types/payments.PaymentReceipt.md) + + +### Example: + +```php +$payments.paymentReceipt = ['_' => 'payments.paymentReceipt', 'date' => int, 'bot_id' => int, 'invoice' => Invoice, 'provider_id' => int, 'info' => PaymentRequestedInfo, 'shipping' => ShippingOption, 'currency' => 'string', 'total_amount' => long, 'credentials_title' => 'string', 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +payments.paymentReceipt={_='payments.paymentReceipt', date=int, bot_id=int, invoice=Invoice, provider_id=int, info=PaymentRequestedInfo, shipping=ShippingOption, currency='string', total_amount=long, credentials_title='string', users={User}} + +``` + + diff --git a/old_docs/API_docs_v89/constructors/payments.paymentResult.md b/old_docs/API_docs_v89/constructors/payments.paymentResult.md new file mode 100644 index 00000000..df32fd91 --- /dev/null +++ b/old_docs/API_docs_v89/constructors/payments.paymentResult.md @@ -0,0 +1,38 @@ +--- +title: payments.paymentResult +description: Payment result +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: payments.paymentResult +[Back to constructors index](index.md) + + + +Payment result + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|updates|[Updates](../types/Updates.md) | Yes|Info about the payment| + + + +### Type: [payments.PaymentResult](../types/payments.PaymentResult.md) + + +### Example: + +```php +$payments.paymentResult = ['_' => 'payments.paymentResult', 'updates' => Updates]; +``` + + +Or, if you're into Lua: + +```lua +payments.paymentResult={_='payments.paymentResult', updates=Updates} + +``` + + diff --git a/old_docs/API_docs_v89/constructors/payments.paymentVerficationNeeded.md b/old_docs/API_docs_v89/constructors/payments.paymentVerficationNeeded.md new file mode 100644 index 00000000..3f459215 --- /dev/null +++ b/old_docs/API_docs_v89/constructors/payments.paymentVerficationNeeded.md @@ -0,0 +1,38 @@ +--- +title: payments.paymentVerficationNeeded +description: Payment verfication needed +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: payments.paymentVerficationNeeded +[Back to constructors index](index.md) + + + +Payment verfication needed + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|url|[string](../types/string.md) | Yes|URL| + + + +### Type: [payments.PaymentResult](../types/payments.PaymentResult.md) + + +### Example: + +```php +$payments.paymentVerficationNeeded = ['_' => 'payments.paymentVerficationNeeded', 'url' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +payments.paymentVerficationNeeded={_='payments.paymentVerficationNeeded', url='string'} + +``` + + diff --git a/old_docs/API_docs_v89/constructors/payments.savedInfo.md b/old_docs/API_docs_v89/constructors/payments.savedInfo.md new file mode 100644 index 00000000..a005a842 --- /dev/null +++ b/old_docs/API_docs_v89/constructors/payments.savedInfo.md @@ -0,0 +1,39 @@ +--- +title: payments.savedInfo +description: Saved server-side order information +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: payments.savedInfo +[Back to constructors index](index.md) + + + +Saved server-side order information + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|has\_saved\_credentials|[Bool](../types/Bool.md) | Optional|Whether the user has some saved payment credentials| +|saved\_info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Optional|Saved server-side order information| + + + +### Type: [payments.SavedInfo](../types/payments.SavedInfo.md) + + +### Example: + +```php +$payments.savedInfo = ['_' => 'payments.savedInfo', 'has_saved_credentials' => Bool, 'saved_info' => PaymentRequestedInfo]; +``` + + +Or, if you're into Lua: + +```lua +payments.savedInfo={_='payments.savedInfo', has_saved_credentials=Bool, saved_info=PaymentRequestedInfo} + +``` + + diff --git a/old_docs/API_docs_v89/constructors/payments.validatedRequestedInfo.md b/old_docs/API_docs_v89/constructors/payments.validatedRequestedInfo.md new file mode 100644 index 00000000..4789b28d --- /dev/null +++ b/old_docs/API_docs_v89/constructors/payments.validatedRequestedInfo.md @@ -0,0 +1,39 @@ +--- +title: payments.validatedRequestedInfo +description: Validated user-provided info +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: payments.validatedRequestedInfo +[Back to constructors index](index.md) + + + +Validated user-provided info + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|id|[string](../types/string.md) | Optional|ID| +|shipping\_options|Array of [ShippingOption](../types/ShippingOption.md) | Optional|Shipping options| + + + +### Type: [payments.ValidatedRequestedInfo](../types/payments.ValidatedRequestedInfo.md) + + +### Example: + +```php +$payments.validatedRequestedInfo = ['_' => 'payments.validatedRequestedInfo', 'id' => 'string', 'shipping_options' => [ShippingOption, ShippingOption]]; +``` + + +Or, if you're into Lua: + +```lua +payments.validatedRequestedInfo={_='payments.validatedRequestedInfo', id='string', shipping_options={ShippingOption}} + +``` + + diff --git a/old_docs/API_docs_v89/constructors/payments_paymentForm.md b/old_docs/API_docs_v89/constructors/payments_paymentForm.md deleted file mode 100644 index 88848527..00000000 --- a/old_docs/API_docs_v89/constructors/payments_paymentForm.md +++ /dev/null @@ -1,48 +0,0 @@ ---- -title: payments.paymentForm -description: Payment form -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: payments.paymentForm -[Back to constructors index](index.md) - - - -Payment form - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|can\_save\_credentials|[Bool](../types/Bool.md) | Optional|Whether the user can choose to save credentials.| -|password\_missing|[Bool](../types/Bool.md) | Optional|Indicates that the user can save payment credentials, but only after setting up a [2FA password](https://core.telegram.org/api/srp) (currently the account doesn't have a [2FA password](https://core.telegram.org/api/srp))| -|bot\_id|[int](../types/int.md) | Yes|Bot ID| -|invoice|[Invoice](../types/Invoice.md) | Yes|Invoice| -|provider\_id|[int](../types/int.md) | Yes|Payment provider ID.| -|url|[string](../types/string.md) | Yes|Payment form URL| -|native\_provider|[string](../types/string.md) | Optional|Payment provider name.
One of the following:
\- `stripe`| -|native\_params|[DataJSON](../types/DataJSON.md) | Optional|Contains information about the payment provider, if available, to support it natively without the need for opening the URL.
A JSON object that can contain the following fields:

\- `publishable_key`: Stripe API publishable key
\- `apple_pay_merchant_id`: Apple Pay merchant ID
\- `android_pay_public_key`: Android Pay public key
\- `android_pay_bgcolor`: Android Pay form background color
\- `android_pay_inverse`: Whether to use the dark theme in the Android Pay form
\- `need_country`: True, if the user country must be provided,
\- `need_zip`: True, if the user ZIP/postal code must be provided,
\- `need_cardholder_name`: True, if the cardholder name must be provided
| -|saved\_info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Optional|Saved server-side order information| -|saved\_credentials|[PaymentSavedCredentials](../types/PaymentSavedCredentials.md) | Optional|Contains information about saved card credentials| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [payments\_PaymentForm](../types/payments_PaymentForm.md) - - -### Example: - -```php -$payments_paymentForm = ['_' => 'payments.paymentForm', 'can_save_credentials' => Bool, 'password_missing' => Bool, 'bot_id' => int, 'invoice' => Invoice, 'provider_id' => int, 'url' => 'string', 'native_provider' => 'string', 'native_params' => DataJSON, 'saved_info' => PaymentRequestedInfo, 'saved_credentials' => PaymentSavedCredentials, 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -payments_paymentForm={_='payments.paymentForm', can_save_credentials=Bool, password_missing=Bool, bot_id=int, invoice=Invoice, provider_id=int, url='string', native_provider='string', native_params=DataJSON, saved_info=PaymentRequestedInfo, saved_credentials=PaymentSavedCredentials, users={User}} - -``` - - diff --git a/old_docs/API_docs_v89/constructors/payments_paymentReceipt.md b/old_docs/API_docs_v89/constructors/payments_paymentReceipt.md deleted file mode 100644 index 411e9dee..00000000 --- a/old_docs/API_docs_v89/constructors/payments_paymentReceipt.md +++ /dev/null @@ -1,47 +0,0 @@ ---- -title: payments.paymentReceipt -description: Receipt -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: payments.paymentReceipt -[Back to constructors index](index.md) - - - -Receipt - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Date of generation| -|bot\_id|[int](../types/int.md) | Yes|Bot ID| -|invoice|[Invoice](../types/Invoice.md) | Yes|Invoice| -|provider\_id|[int](../types/int.md) | Yes|Provider ID| -|info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Optional|Info| -|shipping|[ShippingOption](../types/ShippingOption.md) | Optional|Selected shipping option| -|currency|[string](../types/string.md) | Yes|Three-letter ISO 4217 [currency](https://core.telegram.org/bots/payments#supported-currencies) code| -|total\_amount|[long](../types/long.md) | Yes|Total amount in the smallest units of the currency (integer, not float/double). For example, for a price of `US$ 1.45` pass `amount = 145`. See the exp parameter in [currencies.json](https://core.telegram.org/bots/payments/currencies.json), it shows the number of digits past the decimal point for each currency (2 for the majority of currencies).| -|credentials\_title|[string](../types/string.md) | Yes|Payment credential name| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [payments\_PaymentReceipt](../types/payments_PaymentReceipt.md) - - -### Example: - -```php -$payments_paymentReceipt = ['_' => 'payments.paymentReceipt', 'date' => int, 'bot_id' => int, 'invoice' => Invoice, 'provider_id' => int, 'info' => PaymentRequestedInfo, 'shipping' => ShippingOption, 'currency' => 'string', 'total_amount' => long, 'credentials_title' => 'string', 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -payments_paymentReceipt={_='payments.paymentReceipt', date=int, bot_id=int, invoice=Invoice, provider_id=int, info=PaymentRequestedInfo, shipping=ShippingOption, currency='string', total_amount=long, credentials_title='string', users={User}} - -``` - - diff --git a/old_docs/API_docs_v89/constructors/payments_paymentResult.md b/old_docs/API_docs_v89/constructors/payments_paymentResult.md deleted file mode 100644 index 12af1d36..00000000 --- a/old_docs/API_docs_v89/constructors/payments_paymentResult.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: payments.paymentResult -description: Payment result -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: payments.paymentResult -[Back to constructors index](index.md) - - - -Payment result - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|updates|[Updates](../types/Updates.md) | Yes|Info about the payment| - - - -### Type: [payments\_PaymentResult](../types/payments_PaymentResult.md) - - -### Example: - -```php -$payments_paymentResult = ['_' => 'payments.paymentResult', 'updates' => Updates]; -``` - - -Or, if you're into Lua: - -```lua -payments_paymentResult={_='payments.paymentResult', updates=Updates} - -``` - - diff --git a/old_docs/API_docs_v89/constructors/payments_paymentVerficationNeeded.md b/old_docs/API_docs_v89/constructors/payments_paymentVerficationNeeded.md deleted file mode 100644 index 70ca205d..00000000 --- a/old_docs/API_docs_v89/constructors/payments_paymentVerficationNeeded.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: payments.paymentVerficationNeeded -description: Payment verfication needed -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: payments.paymentVerficationNeeded -[Back to constructors index](index.md) - - - -Payment verfication needed - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|url|[string](../types/string.md) | Yes|URL| - - - -### Type: [payments\_PaymentResult](../types/payments_PaymentResult.md) - - -### Example: - -```php -$payments_paymentVerficationNeeded = ['_' => 'payments.paymentVerficationNeeded', 'url' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -payments_paymentVerficationNeeded={_='payments.paymentVerficationNeeded', url='string'} - -``` - - diff --git a/old_docs/API_docs_v89/constructors/payments_savedInfo.md b/old_docs/API_docs_v89/constructors/payments_savedInfo.md deleted file mode 100644 index 19d3aee5..00000000 --- a/old_docs/API_docs_v89/constructors/payments_savedInfo.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: payments.savedInfo -description: Saved server-side order information -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: payments.savedInfo -[Back to constructors index](index.md) - - - -Saved server-side order information - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|has\_saved\_credentials|[Bool](../types/Bool.md) | Optional|Whether the user has some saved payment credentials| -|saved\_info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Optional|Saved server-side order information| - - - -### Type: [payments\_SavedInfo](../types/payments_SavedInfo.md) - - -### Example: - -```php -$payments_savedInfo = ['_' => 'payments.savedInfo', 'has_saved_credentials' => Bool, 'saved_info' => PaymentRequestedInfo]; -``` - - -Or, if you're into Lua: - -```lua -payments_savedInfo={_='payments.savedInfo', has_saved_credentials=Bool, saved_info=PaymentRequestedInfo} - -``` - - diff --git a/old_docs/API_docs_v89/constructors/payments_validatedRequestedInfo.md b/old_docs/API_docs_v89/constructors/payments_validatedRequestedInfo.md deleted file mode 100644 index a07c7d06..00000000 --- a/old_docs/API_docs_v89/constructors/payments_validatedRequestedInfo.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: payments.validatedRequestedInfo -description: Validated user-provided info -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: payments.validatedRequestedInfo -[Back to constructors index](index.md) - - - -Validated user-provided info - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|id|[string](../types/string.md) | Optional|ID| -|shipping\_options|Array of [ShippingOption](../types/ShippingOption.md) | Optional|Shipping options| - - - -### Type: [payments\_ValidatedRequestedInfo](../types/payments_ValidatedRequestedInfo.md) - - -### Example: - -```php -$payments_validatedRequestedInfo = ['_' => 'payments.validatedRequestedInfo', 'id' => 'string', 'shipping_options' => [ShippingOption, ShippingOption]]; -``` - - -Or, if you're into Lua: - -```lua -payments_validatedRequestedInfo={_='payments.validatedRequestedInfo', id='string', shipping_options={ShippingOption}} - -``` - - diff --git a/old_docs/API_docs_v89/constructors/phone.phoneCall.md b/old_docs/API_docs_v89/constructors/phone.phoneCall.md new file mode 100644 index 00000000..8c1d26d4 --- /dev/null +++ b/old_docs/API_docs_v89/constructors/phone.phoneCall.md @@ -0,0 +1,39 @@ +--- +title: phone.phoneCall +description: A VoIP phone call +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: phone.phoneCall +[Back to constructors index](index.md) + + + +A VoIP phone call + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_call|[PhoneCall](../types/PhoneCall.md) | Optional|The VoIP phone call| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [phone.PhoneCall](../types/phone.PhoneCall.md) + + +### Example: + +```php +$phone.phoneCall = ['_' => 'phone.phoneCall', 'phone_call' => PhoneCall, 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +phone.phoneCall={_='phone.phoneCall', phone_call=PhoneCall, users={User}} + +``` + + diff --git a/old_docs/API_docs_v89/constructors/phone_phoneCall.md b/old_docs/API_docs_v89/constructors/phone_phoneCall.md deleted file mode 100644 index 94314567..00000000 --- a/old_docs/API_docs_v89/constructors/phone_phoneCall.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: phone.phoneCall -description: A VoIP phone call -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: phone.phoneCall -[Back to constructors index](index.md) - - - -A VoIP phone call - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_call|[PhoneCall](../types/PhoneCall.md) | Optional|The VoIP phone call| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [phone\_PhoneCall](../types/phone_PhoneCall.md) - - -### Example: - -```php -$phone_phoneCall = ['_' => 'phone.phoneCall', 'phone_call' => PhoneCall, 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -phone_phoneCall={_='phone.phoneCall', phone_call=PhoneCall, users={User}} - -``` - - diff --git a/old_docs/API_docs_v89/constructors/photos.photo.md b/old_docs/API_docs_v89/constructors/photos.photo.md new file mode 100644 index 00000000..43d3efc7 --- /dev/null +++ b/old_docs/API_docs_v89/constructors/photos.photo.md @@ -0,0 +1,39 @@ +--- +title: photos.photo +description: Photo with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: photos.photo +[Back to constructors index](index.md) + + + +Photo with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|photo|[Photo](../types/Photo.md) | Optional|Photo| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [photos.Photo](../types/photos.Photo.md) + + +### Example: + +```php +$photos.photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +photos.photo={_='photos.photo', photo=Photo, users={User}} + +``` + + diff --git a/old_docs/API_docs_v89/constructors/photos.photos.md b/old_docs/API_docs_v89/constructors/photos.photos.md new file mode 100644 index 00000000..901a9693 --- /dev/null +++ b/old_docs/API_docs_v89/constructors/photos.photos.md @@ -0,0 +1,39 @@ +--- +title: photos.photos +description: Full list of photos with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: photos.photos +[Back to constructors index](index.md) + + + +Full list of photos with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [photos.Photos](../types/photos.Photos.md) + + +### Example: + +```php +$photos.photos = ['_' => 'photos.photos', 'photos' => [Photo, Photo], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +photos.photos={_='photos.photos', photos={Photo}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v89/constructors/photos.photosSlice.md b/old_docs/API_docs_v89/constructors/photos.photosSlice.md new file mode 100644 index 00000000..2cca3546 --- /dev/null +++ b/old_docs/API_docs_v89/constructors/photos.photosSlice.md @@ -0,0 +1,40 @@ +--- +title: photos.photosSlice +description: Incomplete list of photos with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: photos.photosSlice +[Back to constructors index](index.md) + + + +Incomplete list of photos with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of photos| +|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [photos.Photos](../types/photos.Photos.md) + + +### Example: + +```php +$photos.photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo, Photo], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +photos.photosSlice={_='photos.photosSlice', count=int, photos={Photo}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v89/constructors/photos_photo.md b/old_docs/API_docs_v89/constructors/photos_photo.md deleted file mode 100644 index d5ad61d9..00000000 --- a/old_docs/API_docs_v89/constructors/photos_photo.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: photos.photo -description: Photo with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: photos.photo -[Back to constructors index](index.md) - - - -Photo with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|photo|[Photo](../types/Photo.md) | Optional|Photo| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [photos\_Photo](../types/photos_Photo.md) - - -### Example: - -```php -$photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -photos_photo={_='photos.photo', photo=Photo, users={User}} - -``` - - diff --git a/old_docs/API_docs_v89/constructors/photos_photos.md b/old_docs/API_docs_v89/constructors/photos_photos.md deleted file mode 100644 index 6ae5d048..00000000 --- a/old_docs/API_docs_v89/constructors/photos_photos.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: photos.photos -description: Full list of photos with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: photos.photos -[Back to constructors index](index.md) - - - -Full list of photos with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [photos\_Photos](../types/photos_Photos.md) - - -### Example: - -```php -$photos_photos = ['_' => 'photos.photos', 'photos' => [Photo, Photo], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -photos_photos={_='photos.photos', photos={Photo}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v89/constructors/photos_photosSlice.md b/old_docs/API_docs_v89/constructors/photos_photosSlice.md deleted file mode 100644 index 5c465c21..00000000 --- a/old_docs/API_docs_v89/constructors/photos_photosSlice.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: photos.photosSlice -description: Incomplete list of photos with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: photos.photosSlice -[Back to constructors index](index.md) - - - -Incomplete list of photos with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of photos| -|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [photos\_Photos](../types/photos_Photos.md) - - -### Example: - -```php -$photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo, Photo], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -photos_photosSlice={_='photos.photosSlice', count=int, photos={Photo}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v89/constructors/storage.fileGif.md b/old_docs/API_docs_v89/constructors/storage.fileGif.md new file mode 100644 index 00000000..8193bd25 --- /dev/null +++ b/old_docs/API_docs_v89/constructors/storage.fileGif.md @@ -0,0 +1,33 @@ +--- +title: storage.fileGif +description: GIF image. MIME type: `image/gif`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileGif +[Back to constructors index](index.md) + + + +GIF image. MIME type: `image/gif`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileGif = ['_' => 'storage.fileGif']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileGif={_='storage.fileGif'} + +``` + + diff --git a/old_docs/API_docs_v89/constructors/storage.fileJpeg.md b/old_docs/API_docs_v89/constructors/storage.fileJpeg.md new file mode 100644 index 00000000..7f125963 --- /dev/null +++ b/old_docs/API_docs_v89/constructors/storage.fileJpeg.md @@ -0,0 +1,33 @@ +--- +title: storage.fileJpeg +description: JPEG image. MIME type: `image/jpeg`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileJpeg +[Back to constructors index](index.md) + + + +JPEG image. MIME type: `image/jpeg`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileJpeg = ['_' => 'storage.fileJpeg']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileJpeg={_='storage.fileJpeg'} + +``` + + diff --git a/old_docs/API_docs_v89/constructors/storage.fileMov.md b/old_docs/API_docs_v89/constructors/storage.fileMov.md new file mode 100644 index 00000000..cb3742e0 --- /dev/null +++ b/old_docs/API_docs_v89/constructors/storage.fileMov.md @@ -0,0 +1,33 @@ +--- +title: storage.fileMov +description: Quicktime video. MIME type: `video/quicktime`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileMov +[Back to constructors index](index.md) + + + +Quicktime video. MIME type: `video/quicktime`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileMov = ['_' => 'storage.fileMov']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileMov={_='storage.fileMov'} + +``` + + diff --git a/old_docs/API_docs_v89/constructors/storage.fileMp3.md b/old_docs/API_docs_v89/constructors/storage.fileMp3.md new file mode 100644 index 00000000..617f2d39 --- /dev/null +++ b/old_docs/API_docs_v89/constructors/storage.fileMp3.md @@ -0,0 +1,33 @@ +--- +title: storage.fileMp3 +description: Mp3 audio. MIME type: `audio/mpeg`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileMp3 +[Back to constructors index](index.md) + + + +Mp3 audio. MIME type: `audio/mpeg`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileMp3 = ['_' => 'storage.fileMp3']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileMp3={_='storage.fileMp3'} + +``` + + diff --git a/old_docs/API_docs_v89/constructors/storage.fileMp4.md b/old_docs/API_docs_v89/constructors/storage.fileMp4.md new file mode 100644 index 00000000..37038176 --- /dev/null +++ b/old_docs/API_docs_v89/constructors/storage.fileMp4.md @@ -0,0 +1,33 @@ +--- +title: storage.fileMp4 +description: MPEG-4 video. MIME type: `video/mp4`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileMp4 +[Back to constructors index](index.md) + + + +MPEG-4 video. MIME type: `video/mp4`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileMp4 = ['_' => 'storage.fileMp4']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileMp4={_='storage.fileMp4'} + +``` + + diff --git a/old_docs/API_docs_v89/constructors/storage.filePartial.md b/old_docs/API_docs_v89/constructors/storage.filePartial.md new file mode 100644 index 00000000..98779e71 --- /dev/null +++ b/old_docs/API_docs_v89/constructors/storage.filePartial.md @@ -0,0 +1,33 @@ +--- +title: storage.filePartial +description: Part of a bigger file. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.filePartial +[Back to constructors index](index.md) + + + +Part of a bigger file. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.filePartial = ['_' => 'storage.filePartial']; +``` + + +Or, if you're into Lua: + +```lua +storage.filePartial={_='storage.filePartial'} + +``` + + diff --git a/old_docs/API_docs_v89/constructors/storage.filePdf.md b/old_docs/API_docs_v89/constructors/storage.filePdf.md new file mode 100644 index 00000000..136c0614 --- /dev/null +++ b/old_docs/API_docs_v89/constructors/storage.filePdf.md @@ -0,0 +1,33 @@ +--- +title: storage.filePdf +description: PDF document image. MIME type: `application/pdf`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.filePdf +[Back to constructors index](index.md) + + + +PDF document image. MIME type: `application/pdf`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.filePdf = ['_' => 'storage.filePdf']; +``` + + +Or, if you're into Lua: + +```lua +storage.filePdf={_='storage.filePdf'} + +``` + + diff --git a/old_docs/API_docs_v89/constructors/storage.filePng.md b/old_docs/API_docs_v89/constructors/storage.filePng.md new file mode 100644 index 00000000..db01ce0e --- /dev/null +++ b/old_docs/API_docs_v89/constructors/storage.filePng.md @@ -0,0 +1,33 @@ +--- +title: storage.filePng +description: PNG image. MIME type: `image/png`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.filePng +[Back to constructors index](index.md) + + + +PNG image. MIME type: `image/png`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.filePng = ['_' => 'storage.filePng']; +``` + + +Or, if you're into Lua: + +```lua +storage.filePng={_='storage.filePng'} + +``` + + diff --git a/old_docs/API_docs_v89/constructors/storage.fileUnknown.md b/old_docs/API_docs_v89/constructors/storage.fileUnknown.md new file mode 100644 index 00000000..26f0a5ae --- /dev/null +++ b/old_docs/API_docs_v89/constructors/storage.fileUnknown.md @@ -0,0 +1,33 @@ +--- +title: storage.fileUnknown +description: Unknown type. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileUnknown +[Back to constructors index](index.md) + + + +Unknown type. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileUnknown = ['_' => 'storage.fileUnknown']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileUnknown={_='storage.fileUnknown'} + +``` + + diff --git a/old_docs/API_docs_v89/constructors/storage.fileWebp.md b/old_docs/API_docs_v89/constructors/storage.fileWebp.md new file mode 100644 index 00000000..63c9ded1 --- /dev/null +++ b/old_docs/API_docs_v89/constructors/storage.fileWebp.md @@ -0,0 +1,33 @@ +--- +title: storage.fileWebp +description: WEBP image. MIME type: `image/webp`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileWebp +[Back to constructors index](index.md) + + + +WEBP image. MIME type: `image/webp`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileWebp = ['_' => 'storage.fileWebp']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileWebp={_='storage.fileWebp'} + +``` + + diff --git a/old_docs/API_docs_v89/constructors/storage_fileGif.md b/old_docs/API_docs_v89/constructors/storage_fileGif.md deleted file mode 100644 index 218c7491..00000000 --- a/old_docs/API_docs_v89/constructors/storage_fileGif.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileGif -description: GIF image. MIME type: `image/gif`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileGif -[Back to constructors index](index.md) - - - -GIF image. MIME type: `image/gif`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileGif = ['_' => 'storage.fileGif']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileGif={_='storage.fileGif'} - -``` - - diff --git a/old_docs/API_docs_v89/constructors/storage_fileJpeg.md b/old_docs/API_docs_v89/constructors/storage_fileJpeg.md deleted file mode 100644 index 925531cd..00000000 --- a/old_docs/API_docs_v89/constructors/storage_fileJpeg.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileJpeg -description: JPEG image. MIME type: `image/jpeg`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileJpeg -[Back to constructors index](index.md) - - - -JPEG image. MIME type: `image/jpeg`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileJpeg = ['_' => 'storage.fileJpeg']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileJpeg={_='storage.fileJpeg'} - -``` - - diff --git a/old_docs/API_docs_v89/constructors/storage_fileMov.md b/old_docs/API_docs_v89/constructors/storage_fileMov.md deleted file mode 100644 index eaf2a6ff..00000000 --- a/old_docs/API_docs_v89/constructors/storage_fileMov.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileMov -description: Quicktime video. MIME type: `video/quicktime`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileMov -[Back to constructors index](index.md) - - - -Quicktime video. MIME type: `video/quicktime`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileMov = ['_' => 'storage.fileMov']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileMov={_='storage.fileMov'} - -``` - - diff --git a/old_docs/API_docs_v89/constructors/storage_fileMp3.md b/old_docs/API_docs_v89/constructors/storage_fileMp3.md deleted file mode 100644 index 9afcefbb..00000000 --- a/old_docs/API_docs_v89/constructors/storage_fileMp3.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileMp3 -description: Mp3 audio. MIME type: `audio/mpeg`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileMp3 -[Back to constructors index](index.md) - - - -Mp3 audio. MIME type: `audio/mpeg`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileMp3 = ['_' => 'storage.fileMp3']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileMp3={_='storage.fileMp3'} - -``` - - diff --git a/old_docs/API_docs_v89/constructors/storage_fileMp4.md b/old_docs/API_docs_v89/constructors/storage_fileMp4.md deleted file mode 100644 index cdc0e783..00000000 --- a/old_docs/API_docs_v89/constructors/storage_fileMp4.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileMp4 -description: MPEG-4 video. MIME type: `video/mp4`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileMp4 -[Back to constructors index](index.md) - - - -MPEG-4 video. MIME type: `video/mp4`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileMp4 = ['_' => 'storage.fileMp4']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileMp4={_='storage.fileMp4'} - -``` - - diff --git a/old_docs/API_docs_v89/constructors/storage_filePartial.md b/old_docs/API_docs_v89/constructors/storage_filePartial.md deleted file mode 100644 index 9bfadf63..00000000 --- a/old_docs/API_docs_v89/constructors/storage_filePartial.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.filePartial -description: Part of a bigger file. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.filePartial -[Back to constructors index](index.md) - - - -Part of a bigger file. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_filePartial = ['_' => 'storage.filePartial']; -``` - - -Or, if you're into Lua: - -```lua -storage_filePartial={_='storage.filePartial'} - -``` - - diff --git a/old_docs/API_docs_v89/constructors/storage_filePdf.md b/old_docs/API_docs_v89/constructors/storage_filePdf.md deleted file mode 100644 index efb022cc..00000000 --- a/old_docs/API_docs_v89/constructors/storage_filePdf.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.filePdf -description: PDF document image. MIME type: `application/pdf`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.filePdf -[Back to constructors index](index.md) - - - -PDF document image. MIME type: `application/pdf`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_filePdf = ['_' => 'storage.filePdf']; -``` - - -Or, if you're into Lua: - -```lua -storage_filePdf={_='storage.filePdf'} - -``` - - diff --git a/old_docs/API_docs_v89/constructors/storage_filePng.md b/old_docs/API_docs_v89/constructors/storage_filePng.md deleted file mode 100644 index 412759e4..00000000 --- a/old_docs/API_docs_v89/constructors/storage_filePng.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.filePng -description: PNG image. MIME type: `image/png`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.filePng -[Back to constructors index](index.md) - - - -PNG image. MIME type: `image/png`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_filePng = ['_' => 'storage.filePng']; -``` - - -Or, if you're into Lua: - -```lua -storage_filePng={_='storage.filePng'} - -``` - - diff --git a/old_docs/API_docs_v89/constructors/storage_fileUnknown.md b/old_docs/API_docs_v89/constructors/storage_fileUnknown.md deleted file mode 100644 index ed33dd5e..00000000 --- a/old_docs/API_docs_v89/constructors/storage_fileUnknown.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileUnknown -description: Unknown type. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileUnknown -[Back to constructors index](index.md) - - - -Unknown type. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileUnknown = ['_' => 'storage.fileUnknown']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileUnknown={_='storage.fileUnknown'} - -``` - - diff --git a/old_docs/API_docs_v89/constructors/storage_fileWebp.md b/old_docs/API_docs_v89/constructors/storage_fileWebp.md deleted file mode 100644 index 04dcad74..00000000 --- a/old_docs/API_docs_v89/constructors/storage_fileWebp.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileWebp -description: WEBP image. MIME type: `image/webp`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileWebp -[Back to constructors index](index.md) - - - -WEBP image. MIME type: `image/webp`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileWebp = ['_' => 'storage.fileWebp']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileWebp={_='storage.fileWebp'} - -``` - - diff --git a/old_docs/API_docs_v89/constructors/updateNewStickerSet.md b/old_docs/API_docs_v89/constructors/updateNewStickerSet.md index 8a99a363..c32c41ff 100644 --- a/old_docs/API_docs_v89/constructors/updateNewStickerSet.md +++ b/old_docs/API_docs_v89/constructors/updateNewStickerSet.md @@ -14,7 +14,7 @@ A new stickerset was installed | Name | Type | Required | Description | |----------|---------------|----------|-------------| -|stickerset|[messages\_StickerSet](../types/messages_StickerSet.md) | Yes|The installed stickerset| +|stickerset|[messages.StickerSet](../constructors/messages.StickerSet.md) | Yes|The installed stickerset| @@ -24,14 +24,14 @@ A new stickerset was installed ### Example: ```php -$updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages_StickerSet]; +$updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages.StickerSet]; ``` Or, if you're into Lua: ```lua -updateNewStickerSet={_='updateNewStickerSet', stickerset=messages_StickerSet} +updateNewStickerSet={_='updateNewStickerSet', stickerset=messages.StickerSet} ``` diff --git a/old_docs/API_docs_v89/constructors/updates.channelDifference.md b/old_docs/API_docs_v89/constructors/updates.channelDifference.md new file mode 100644 index 00000000..5a13791c --- /dev/null +++ b/old_docs/API_docs_v89/constructors/updates.channelDifference.md @@ -0,0 +1,44 @@ +--- +title: updates.channelDifference +description: The new updates +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.channelDifference +[Back to constructors index](index.md) + + + +The new updates + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates to be fetched using getDifference, starting from the provided `pts`| +|pts|[int](../types/int.md) | Yes|The [PTS](https://core.telegram.org/api/updates) from which to start getting updates the next time| +|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| +|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| +|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [updates.ChannelDifference](../types/updates.ChannelDifference.md) + + +### Example: + +```php +$updates.channelDifference = ['_' => 'updates.channelDifference', 'final' => Bool, 'pts' => int, 'timeout' => int, 'new_messages' => [Message, Message], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +updates.channelDifference={_='updates.channelDifference', final=Bool, pts=int, timeout=int, new_messages={Message}, other_updates={Update}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v89/constructors/updates.channelDifferenceEmpty.md b/old_docs/API_docs_v89/constructors/updates.channelDifferenceEmpty.md new file mode 100644 index 00000000..8ce43da4 --- /dev/null +++ b/old_docs/API_docs_v89/constructors/updates.channelDifferenceEmpty.md @@ -0,0 +1,40 @@ +--- +title: updates.channelDifferenceEmpty +description: There are no new updates +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.channelDifferenceEmpty +[Back to constructors index](index.md) + + + +There are no new updates + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates that must be fetched (always false)| +|pts|[int](../types/int.md) | Yes|The latest [PTS](https://core.telegram.org/api/updates)| +|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| + + + +### Type: [updates.ChannelDifference](../types/updates.ChannelDifference.md) + + +### Example: + +```php +$updates.channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'final' => Bool, 'pts' => int, 'timeout' => int]; +``` + + +Or, if you're into Lua: + +```lua +updates.channelDifferenceEmpty={_='updates.channelDifferenceEmpty', final=Bool, pts=int, timeout=int} + +``` + + diff --git a/old_docs/API_docs_v89/constructors/updates.channelDifferenceTooLong.md b/old_docs/API_docs_v89/constructors/updates.channelDifferenceTooLong.md new file mode 100644 index 00000000..9290856d --- /dev/null +++ b/old_docs/API_docs_v89/constructors/updates.channelDifferenceTooLong.md @@ -0,0 +1,58 @@ +--- +title: updates.channelDifferenceTooLong +description: The provided `pts + limit < remote pts`. Simply, there are too many updates to be fetched (more than `limit`), the client has to resolve the update gap in one of the following ways: + +1. Delete all known messages in the chat, begin from scratch by refetching all messages manually with [getHistory](../methods/messages.getHistory.md). It is easy to implement, but suddenly disappearing messages looks awful for the user. +2. Save all messages loaded in the memory until application restart, but delete all messages from database. Messages left in the memory must be lazily updated using calls to [getHistory](../methods/messages.getHistory.md). It looks much smoothly for the user, he will need to redownload messages only after client restart. Unsynchronized messages left in the memory shouldn't be saved to database, results of [getHistory](../methods/messages.getHistory.md) and [getMessages](../methods/messages.getMessages.md) must be used to update state of deleted and edited messages left in the memory. +3. Save all messages loaded in the memory and stored in the database without saving that some messages form continuous ranges. Messages in the database will be excluded from results of getChatHistory and searchChatMessages after application restart and will be available only through getMessage. Every message should still be checked using getHistory. It has more disadvantages over 2) than advantages. +4. Save all messages with saving all data about continuous message ranges. Messages from the database may be used as results of getChatHistory and (if implemented continuous ranges support for searching shared media) searchChatMessages. The messages should still be lazily checked using getHistory, but they are still available offline. It is the best way for gaps support, but it is pretty hard to implement correctly. It should be also noted that some messages like live location messages shouldn't be deleted. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.channelDifferenceTooLong +[Back to constructors index](index.md) + + + +The provided `pts + limit < remote pts`. Simply, there are too many updates to be fetched (more than `limit`), the client has to resolve the update gap in one of the following ways: + +1. Delete all known messages in the chat, begin from scratch by refetching all messages manually with [getHistory](../methods/messages.getHistory.md). It is easy to implement, but suddenly disappearing messages looks awful for the user. +2. Save all messages loaded in the memory until application restart, but delete all messages from database. Messages left in the memory must be lazily updated using calls to [getHistory](../methods/messages.getHistory.md). It looks much smoothly for the user, he will need to redownload messages only after client restart. Unsynchronized messages left in the memory shouldn't be saved to database, results of [getHistory](../methods/messages.getHistory.md) and [getMessages](../methods/messages.getMessages.md) must be used to update state of deleted and edited messages left in the memory. +3. Save all messages loaded in the memory and stored in the database without saving that some messages form continuous ranges. Messages in the database will be excluded from results of getChatHistory and searchChatMessages after application restart and will be available only through getMessage. Every message should still be checked using getHistory. It has more disadvantages over 2) than advantages. +4. Save all messages with saving all data about continuous message ranges. Messages from the database may be used as results of getChatHistory and (if implemented continuous ranges support for searching shared media) searchChatMessages. The messages should still be lazily checked using getHistory, but they are still available offline. It is the best way for gaps support, but it is pretty hard to implement correctly. It should be also noted that some messages like live location messages shouldn't be deleted. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates that must be fetched (always false)| +|pts|[int](../types/int.md) | Yes|Pts| +|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| +|top\_message|[int](../types/int.md) | Yes|Top message| +|read\_inbox\_max\_id|[int](../types/int.md) | Yes|Read inbox max ID| +|read\_outbox\_max\_id|[int](../types/int.md) | Yes|Read outbox max ID| +|unread\_count|[int](../types/int.md) | Yes|Unread count| +|unread\_mentions\_count|[int](../types/int.md) | Yes|Unread mentions count| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [updates.ChannelDifference](../types/updates.ChannelDifference.md) + + +### Example: + +```php +$updates.channelDifferenceTooLong = ['_' => 'updates.channelDifferenceTooLong', 'final' => Bool, 'pts' => int, 'timeout' => int, 'top_message' => int, 'read_inbox_max_id' => int, 'read_outbox_max_id' => int, 'unread_count' => int, 'unread_mentions_count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +updates.channelDifferenceTooLong={_='updates.channelDifferenceTooLong', final=Bool, pts=int, timeout=int, top_message=int, read_inbox_max_id=int, read_outbox_max_id=int, unread_count=int, unread_mentions_count=int, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v89/constructors/updates.difference.md b/old_docs/API_docs_v89/constructors/updates.difference.md new file mode 100644 index 00000000..82541b51 --- /dev/null +++ b/old_docs/API_docs_v89/constructors/updates.difference.md @@ -0,0 +1,43 @@ +--- +title: updates.difference +description: Full list of occurred events. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.difference +[Back to constructors index](index.md) + + + +Full list of occurred events. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| +|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| +|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| +|state|[updates.State](../constructors/updates.State.md) | Yes|Current state| + + + +### Type: [updates.Difference](../types/updates.Difference.md) + + +### Example: + +```php +$updates.difference = ['_' => 'updates.difference', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates.State]; +``` + + +Or, if you're into Lua: + +```lua +updates.difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates.State} + +``` + + diff --git a/old_docs/API_docs_v89/constructors/updates.differenceEmpty.md b/old_docs/API_docs_v89/constructors/updates.differenceEmpty.md new file mode 100644 index 00000000..a9dc3bd0 --- /dev/null +++ b/old_docs/API_docs_v89/constructors/updates.differenceEmpty.md @@ -0,0 +1,39 @@ +--- +title: updates.differenceEmpty +description: No events. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.differenceEmpty +[Back to constructors index](index.md) + + + +No events. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Current date| +|seq|[int](../types/int.md) | Yes|Number of sent updates| + + + +### Type: [updates.Difference](../types/updates.Difference.md) + + +### Example: + +```php +$updates.differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int]; +``` + + +Or, if you're into Lua: + +```lua +updates.differenceEmpty={_='updates.differenceEmpty', date=int, seq=int} + +``` + + diff --git a/old_docs/API_docs_v89/constructors/updates.differenceSlice.md b/old_docs/API_docs_v89/constructors/updates.differenceSlice.md new file mode 100644 index 00000000..9daf7a75 --- /dev/null +++ b/old_docs/API_docs_v89/constructors/updates.differenceSlice.md @@ -0,0 +1,43 @@ +--- +title: updates.differenceSlice +description: Incomplete list of occurred events. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.differenceSlice +[Back to constructors index](index.md) + + + +Incomplete list of occurred events. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| +|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| +|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| +|intermediate\_state|[updates.State](../constructors/updates.State.md) | Yes|Intermediary state| + + + +### Type: [updates.Difference](../types/updates.Difference.md) + + +### Example: + +```php +$updates.differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'intermediate_state' => updates.State]; +``` + + +Or, if you're into Lua: + +```lua +updates.differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates.State} + +``` + + diff --git a/old_docs/API_docs_v89/constructors/updates.differenceTooLong.md b/old_docs/API_docs_v89/constructors/updates.differenceTooLong.md new file mode 100644 index 00000000..ef2e7e4d --- /dev/null +++ b/old_docs/API_docs_v89/constructors/updates.differenceTooLong.md @@ -0,0 +1,38 @@ +--- +title: updates.differenceTooLong +description: The difference is [too long](https://core.telegram.org/api/updates#recovering-gaps), and the specified state must be used to refetch updates. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.differenceTooLong +[Back to constructors index](index.md) + + + +The difference is [too long](https://core.telegram.org/api/updates#recovering-gaps), and the specified state must be used to refetch updates. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|The new state to use.| + + + +### Type: [updates.Difference](../types/updates.Difference.md) + + +### Example: + +```php +$updates.differenceTooLong = ['_' => 'updates.differenceTooLong', 'pts' => int]; +``` + + +Or, if you're into Lua: + +```lua +updates.differenceTooLong={_='updates.differenceTooLong', pts=int} + +``` + + diff --git a/old_docs/API_docs_v89/constructors/updates.state.md b/old_docs/API_docs_v89/constructors/updates.state.md new file mode 100644 index 00000000..abe9ddbb --- /dev/null +++ b/old_docs/API_docs_v89/constructors/updates.state.md @@ -0,0 +1,42 @@ +--- +title: updates.state +description: Updates state. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.state +[Back to constructors index](index.md) + + + +Updates state. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| +|qts|[int](../types/int.md) | Yes|Position in a sequence of updates in secret chats. For further detailes refer to article [secret chats](https://core.telegram.org/api/end-to-end)
Parameter was added in [eigth layer](https://core.telegram.org/api/layers#layer-8).| +|date|[int](../types/int.md) | Yes|Date of condition| +|seq|[int](../types/int.md) | Yes|Number of sent updates| +|unread\_count|[int](../types/int.md) | Yes|Number of unread messages| + + + +### Type: [updates.State](../types/updates.State.md) + + +### Example: + +```php +$updates.state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int]; +``` + + +Or, if you're into Lua: + +```lua +updates.state={_='updates.state', pts=int, qts=int, date=int, seq=int, unread_count=int} + +``` + + diff --git a/old_docs/API_docs_v89/constructors/updates_channelDifference.md b/old_docs/API_docs_v89/constructors/updates_channelDifference.md deleted file mode 100644 index 1b50fbf3..00000000 --- a/old_docs/API_docs_v89/constructors/updates_channelDifference.md +++ /dev/null @@ -1,44 +0,0 @@ ---- -title: updates.channelDifference -description: The new updates -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.channelDifference -[Back to constructors index](index.md) - - - -The new updates - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates to be fetched using getDifference, starting from the provided `pts`| -|pts|[int](../types/int.md) | Yes|The [PTS](https://core.telegram.org/api/updates) from which to start getting updates the next time| -|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| -|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| -|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) - - -### Example: - -```php -$updates_channelDifference = ['_' => 'updates.channelDifference', 'final' => Bool, 'pts' => int, 'timeout' => int, 'new_messages' => [Message, Message], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -updates_channelDifference={_='updates.channelDifference', final=Bool, pts=int, timeout=int, new_messages={Message}, other_updates={Update}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v89/constructors/updates_channelDifferenceEmpty.md b/old_docs/API_docs_v89/constructors/updates_channelDifferenceEmpty.md deleted file mode 100644 index 713137aa..00000000 --- a/old_docs/API_docs_v89/constructors/updates_channelDifferenceEmpty.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: updates.channelDifferenceEmpty -description: There are no new updates -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.channelDifferenceEmpty -[Back to constructors index](index.md) - - - -There are no new updates - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates that must be fetched (always false)| -|pts|[int](../types/int.md) | Yes|The latest [PTS](https://core.telegram.org/api/updates)| -|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| - - - -### Type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) - - -### Example: - -```php -$updates_channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'final' => Bool, 'pts' => int, 'timeout' => int]; -``` - - -Or, if you're into Lua: - -```lua -updates_channelDifferenceEmpty={_='updates.channelDifferenceEmpty', final=Bool, pts=int, timeout=int} - -``` - - diff --git a/old_docs/API_docs_v89/constructors/updates_channelDifferenceTooLong.md b/old_docs/API_docs_v89/constructors/updates_channelDifferenceTooLong.md deleted file mode 100644 index fd7a5060..00000000 --- a/old_docs/API_docs_v89/constructors/updates_channelDifferenceTooLong.md +++ /dev/null @@ -1,58 +0,0 @@ ---- -title: updates.channelDifferenceTooLong -description: The provided `pts + limit < remote pts`. Simply, there are too many updates to be fetched (more than `limit`), the client has to resolve the update gap in one of the following ways: - -1. Delete all known messages in the chat, begin from scratch by refetching all messages manually with [getHistory](../methods/messages.getHistory.md). It is easy to implement, but suddenly disappearing messages looks awful for the user. -2. Save all messages loaded in the memory until application restart, but delete all messages from database. Messages left in the memory must be lazily updated using calls to [getHistory](../methods/messages.getHistory.md). It looks much smoothly for the user, he will need to redownload messages only after client restart. Unsynchronized messages left in the memory shouldn't be saved to database, results of [getHistory](../methods/messages.getHistory.md) and [getMessages](../methods/messages.getMessages.md) must be used to update state of deleted and edited messages left in the memory. -3. Save all messages loaded in the memory and stored in the database without saving that some messages form continuous ranges. Messages in the database will be excluded from results of getChatHistory and searchChatMessages after application restart and will be available only through getMessage. Every message should still be checked using getHistory. It has more disadvantages over 2) than advantages. -4. Save all messages with saving all data about continuous message ranges. Messages from the database may be used as results of getChatHistory and (if implemented continuous ranges support for searching shared media) searchChatMessages. The messages should still be lazily checked using getHistory, but they are still available offline. It is the best way for gaps support, but it is pretty hard to implement correctly. It should be also noted that some messages like live location messages shouldn't be deleted. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.channelDifferenceTooLong -[Back to constructors index](index.md) - - - -The provided `pts + limit < remote pts`. Simply, there are too many updates to be fetched (more than `limit`), the client has to resolve the update gap in one of the following ways: - -1. Delete all known messages in the chat, begin from scratch by refetching all messages manually with [getHistory](../methods/messages.getHistory.md). It is easy to implement, but suddenly disappearing messages looks awful for the user. -2. Save all messages loaded in the memory until application restart, but delete all messages from database. Messages left in the memory must be lazily updated using calls to [getHistory](../methods/messages.getHistory.md). It looks much smoothly for the user, he will need to redownload messages only after client restart. Unsynchronized messages left in the memory shouldn't be saved to database, results of [getHistory](../methods/messages.getHistory.md) and [getMessages](../methods/messages.getMessages.md) must be used to update state of deleted and edited messages left in the memory. -3. Save all messages loaded in the memory and stored in the database without saving that some messages form continuous ranges. Messages in the database will be excluded from results of getChatHistory and searchChatMessages after application restart and will be available only through getMessage. Every message should still be checked using getHistory. It has more disadvantages over 2) than advantages. -4. Save all messages with saving all data about continuous message ranges. Messages from the database may be used as results of getChatHistory and (if implemented continuous ranges support for searching shared media) searchChatMessages. The messages should still be lazily checked using getHistory, but they are still available offline. It is the best way for gaps support, but it is pretty hard to implement correctly. It should be also noted that some messages like live location messages shouldn't be deleted. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates that must be fetched (always false)| -|pts|[int](../types/int.md) | Yes|Pts| -|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| -|top\_message|[int](../types/int.md) | Yes|Top message| -|read\_inbox\_max\_id|[int](../types/int.md) | Yes|Read inbox max ID| -|read\_outbox\_max\_id|[int](../types/int.md) | Yes|Read outbox max ID| -|unread\_count|[int](../types/int.md) | Yes|Unread count| -|unread\_mentions\_count|[int](../types/int.md) | Yes|Unread mentions count| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) - - -### Example: - -```php -$updates_channelDifferenceTooLong = ['_' => 'updates.channelDifferenceTooLong', 'final' => Bool, 'pts' => int, 'timeout' => int, 'top_message' => int, 'read_inbox_max_id' => int, 'read_outbox_max_id' => int, 'unread_count' => int, 'unread_mentions_count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -updates_channelDifferenceTooLong={_='updates.channelDifferenceTooLong', final=Bool, pts=int, timeout=int, top_message=int, read_inbox_max_id=int, read_outbox_max_id=int, unread_count=int, unread_mentions_count=int, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v89/constructors/updates_difference.md b/old_docs/API_docs_v89/constructors/updates_difference.md deleted file mode 100644 index 71ac7d4c..00000000 --- a/old_docs/API_docs_v89/constructors/updates_difference.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: updates.difference -description: Full list of occurred events. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.difference -[Back to constructors index](index.md) - - - -Full list of occurred events. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| -|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| -|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| -|state|[updates\_State](../types/updates_State.md) | Yes|Current state| - - - -### Type: [updates\_Difference](../types/updates_Difference.md) - - -### Example: - -```php -$updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates_State]; -``` - - -Or, if you're into Lua: - -```lua -updates_difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates_State} - -``` - - diff --git a/old_docs/API_docs_v89/constructors/updates_differenceEmpty.md b/old_docs/API_docs_v89/constructors/updates_differenceEmpty.md deleted file mode 100644 index c3c95c5a..00000000 --- a/old_docs/API_docs_v89/constructors/updates_differenceEmpty.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: updates.differenceEmpty -description: No events. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.differenceEmpty -[Back to constructors index](index.md) - - - -No events. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Current date| -|seq|[int](../types/int.md) | Yes|Number of sent updates| - - - -### Type: [updates\_Difference](../types/updates_Difference.md) - - -### Example: - -```php -$updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int]; -``` - - -Or, if you're into Lua: - -```lua -updates_differenceEmpty={_='updates.differenceEmpty', date=int, seq=int} - -``` - - diff --git a/old_docs/API_docs_v89/constructors/updates_differenceSlice.md b/old_docs/API_docs_v89/constructors/updates_differenceSlice.md deleted file mode 100644 index 8b12a369..00000000 --- a/old_docs/API_docs_v89/constructors/updates_differenceSlice.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: updates.differenceSlice -description: Incomplete list of occurred events. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.differenceSlice -[Back to constructors index](index.md) - - - -Incomplete list of occurred events. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| -|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| -|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| -|intermediate\_state|[updates\_State](../types/updates_State.md) | Yes|Intermediary state| - - - -### Type: [updates\_Difference](../types/updates_Difference.md) - - -### Example: - -```php -$updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'intermediate_state' => updates_State]; -``` - - -Or, if you're into Lua: - -```lua -updates_differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates_State} - -``` - - diff --git a/old_docs/API_docs_v89/constructors/updates_differenceTooLong.md b/old_docs/API_docs_v89/constructors/updates_differenceTooLong.md deleted file mode 100644 index 1fbdfa01..00000000 --- a/old_docs/API_docs_v89/constructors/updates_differenceTooLong.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: updates.differenceTooLong -description: The difference is [too long](https://core.telegram.org/api/updates#recovering-gaps), and the specified state must be used to refetch updates. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.differenceTooLong -[Back to constructors index](index.md) - - - -The difference is [too long](https://core.telegram.org/api/updates#recovering-gaps), and the specified state must be used to refetch updates. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|The new state to use.| - - - -### Type: [updates\_Difference](../types/updates_Difference.md) - - -### Example: - -```php -$updates_differenceTooLong = ['_' => 'updates.differenceTooLong', 'pts' => int]; -``` - - -Or, if you're into Lua: - -```lua -updates_differenceTooLong={_='updates.differenceTooLong', pts=int} - -``` - - diff --git a/old_docs/API_docs_v89/constructors/updates_state.md b/old_docs/API_docs_v89/constructors/updates_state.md deleted file mode 100644 index ef3698e2..00000000 --- a/old_docs/API_docs_v89/constructors/updates_state.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: updates.state -description: Updates state. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.state -[Back to constructors index](index.md) - - - -Updates state. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| -|qts|[int](../types/int.md) | Yes|Position in a sequence of updates in secret chats. For further detailes refer to article [secret chats](https://core.telegram.org/api/end-to-end)
Parameter was added in [eigth layer](https://core.telegram.org/api/layers#layer-8).| -|date|[int](../types/int.md) | Yes|Date of condition| -|seq|[int](../types/int.md) | Yes|Number of sent updates| -|unread\_count|[int](../types/int.md) | Yes|Number of unread messages| - - - -### Type: [updates\_State](../types/updates_State.md) - - -### Example: - -```php -$updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int]; -``` - - -Or, if you're into Lua: - -```lua -updates_state={_='updates.state', pts=int, qts=int, date=int, seq=int, unread_count=int} - -``` - - diff --git a/old_docs/API_docs_v89/constructors/upload.cdnFile.md b/old_docs/API_docs_v89/constructors/upload.cdnFile.md new file mode 100644 index 00000000..d6d75513 --- /dev/null +++ b/old_docs/API_docs_v89/constructors/upload.cdnFile.md @@ -0,0 +1,38 @@ +--- +title: upload.cdnFile +description: Represent a chunk of a [CDN](https://core.telegram.org/cdn) file. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: upload.cdnFile +[Back to constructors index](index.md) + + + +Represent a chunk of a [CDN](https://core.telegram.org/cdn) file. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|bytes|[bytes](../types/bytes.md) | Yes|The data| + + + +### Type: [upload.CdnFile](../types/upload.CdnFile.md) + + +### Example: + +```php +$upload.cdnFile = ['_' => 'upload.cdnFile', 'bytes' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +upload.cdnFile={_='upload.cdnFile', bytes='bytes'} + +``` + + diff --git a/old_docs/API_docs_v89/constructors/upload.cdnFileReuploadNeeded.md b/old_docs/API_docs_v89/constructors/upload.cdnFileReuploadNeeded.md new file mode 100644 index 00000000..7c461a87 --- /dev/null +++ b/old_docs/API_docs_v89/constructors/upload.cdnFileReuploadNeeded.md @@ -0,0 +1,38 @@ +--- +title: upload.cdnFileReuploadNeeded +description: The file was cleared from the temporary RAM cache of the [CDN](https://core.telegram.org/cdn) and has to be reuploaded. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: upload.cdnFileReuploadNeeded +[Back to constructors index](index.md) + + + +The file was cleared from the temporary RAM cache of the [CDN](https://core.telegram.org/cdn) and has to be reuploaded. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|request\_token|[bytes](../types/bytes.md) | Yes|Request token (see [CDN](https://core.telegram.org/cdn))| + + + +### Type: [upload.CdnFile](../types/upload.CdnFile.md) + + +### Example: + +```php +$upload.cdnFileReuploadNeeded = ['_' => 'upload.cdnFileReuploadNeeded', 'request_token' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +upload.cdnFileReuploadNeeded={_='upload.cdnFileReuploadNeeded', request_token='bytes'} + +``` + + diff --git a/old_docs/API_docs_v89/constructors/upload.file.md b/old_docs/API_docs_v89/constructors/upload.file.md new file mode 100644 index 00000000..145a4c24 --- /dev/null +++ b/old_docs/API_docs_v89/constructors/upload.file.md @@ -0,0 +1,40 @@ +--- +title: upload.file +description: File content. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: upload.file +[Back to constructors index](index.md) + + + +File content. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|type|[storage.FileType](../constructors/storage.FileType.md) | Yes|File type| +|mtime|[int](../types/int.md) | Yes|Modification type| +|bytes|[bytes](../types/bytes.md) | Yes|Binary data, file content| + + + +### Type: [upload.File](../types/upload.File.md) + + +### Example: + +```php +$upload.file = ['_' => 'upload.file', 'type' => storage.FileType, 'mtime' => int, 'bytes' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +upload.file={_='upload.file', type=storage.FileType, mtime=int, bytes='bytes'} + +``` + + diff --git a/old_docs/API_docs_v89/constructors/upload.fileCdnRedirect.md b/old_docs/API_docs_v89/constructors/upload.fileCdnRedirect.md new file mode 100644 index 00000000..dc56e919 --- /dev/null +++ b/old_docs/API_docs_v89/constructors/upload.fileCdnRedirect.md @@ -0,0 +1,42 @@ +--- +title: upload.fileCdnRedirect +description: The file must be downloaded from a [CDN DC](https://core.telegram.org/cdn). +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: upload.fileCdnRedirect +[Back to constructors index](index.md) + + + +The file must be downloaded from a [CDN DC](https://core.telegram.org/cdn). + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|dc\_id|[int](../types/int.md) | Yes|[CDN DC](https://core.telegram.org/cdn) ID| +|file\_token|[bytes](../types/bytes.md) | Yes|File token (see [CDN files](https://core.telegram.org/cdn)| +|encryption\_key|[bytes](../types/bytes.md) | Yes|Encryption key (see [CDN files](https://core.telegram.org/cdn)| +|encryption\_iv|[bytes](../types/bytes.md) | Yes|Encryption IV (see [CDN files](https://core.telegram.org/cdn)| +|file\_hashes|Array of [FileHash](../types/FileHash.md) | Yes|File hashes| + + + +### Type: [upload.File](../types/upload.File.md) + + +### Example: + +```php +$upload.fileCdnRedirect = ['_' => 'upload.fileCdnRedirect', 'dc_id' => int, 'file_token' => 'bytes', 'encryption_key' => 'bytes', 'encryption_iv' => 'bytes', 'file_hashes' => [FileHash, FileHash]]; +``` + + +Or, if you're into Lua: + +```lua +upload.fileCdnRedirect={_='upload.fileCdnRedirect', dc_id=int, file_token='bytes', encryption_key='bytes', encryption_iv='bytes', file_hashes={FileHash}} + +``` + + diff --git a/old_docs/API_docs_v89/constructors/upload.webFile.md b/old_docs/API_docs_v89/constructors/upload.webFile.md new file mode 100644 index 00000000..a93ea94f --- /dev/null +++ b/old_docs/API_docs_v89/constructors/upload.webFile.md @@ -0,0 +1,42 @@ +--- +title: upload.webFile +description: Represents a chunk of an [HTTP webfile](https://core.telegram.org/api/files) downloaded through telegram's secure MTProto servers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: upload.webFile +[Back to constructors index](index.md) + + + +Represents a chunk of an [HTTP webfile](https://core.telegram.org/api/files) downloaded through telegram's secure MTProto servers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|size|[int](../types/int.md) | Yes|File size| +|mime\_type|[string](../types/string.md) | Yes|Mime type| +|file\_type|[storage.FileType](../constructors/storage.FileType.md) | Yes|File type| +|mtime|[int](../types/int.md) | Yes|Modified time| +|bytes|[bytes](../types/bytes.md) | Yes|Data| + + + +### Type: [upload.WebFile](../types/upload.WebFile.md) + + +### Example: + +```php +$upload.webFile = ['_' => 'upload.webFile', 'size' => int, 'mime_type' => 'string', 'file_type' => storage.FileType, 'mtime' => int, 'bytes' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +upload.webFile={_='upload.webFile', size=int, mime_type='string', file_type=storage.FileType, mtime=int, bytes='bytes'} + +``` + + diff --git a/old_docs/API_docs_v89/constructors/upload_cdnFile.md b/old_docs/API_docs_v89/constructors/upload_cdnFile.md deleted file mode 100644 index 019b8742..00000000 --- a/old_docs/API_docs_v89/constructors/upload_cdnFile.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: upload.cdnFile -description: Represent a chunk of a [CDN](https://core.telegram.org/cdn) file. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: upload.cdnFile -[Back to constructors index](index.md) - - - -Represent a chunk of a [CDN](https://core.telegram.org/cdn) file. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|bytes|[bytes](../types/bytes.md) | Yes|The data| - - - -### Type: [upload\_CdnFile](../types/upload_CdnFile.md) - - -### Example: - -```php -$upload_cdnFile = ['_' => 'upload.cdnFile', 'bytes' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -upload_cdnFile={_='upload.cdnFile', bytes='bytes'} - -``` - - diff --git a/old_docs/API_docs_v89/constructors/upload_cdnFileReuploadNeeded.md b/old_docs/API_docs_v89/constructors/upload_cdnFileReuploadNeeded.md deleted file mode 100644 index 6588a596..00000000 --- a/old_docs/API_docs_v89/constructors/upload_cdnFileReuploadNeeded.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: upload.cdnFileReuploadNeeded -description: The file was cleared from the temporary RAM cache of the [CDN](https://core.telegram.org/cdn) and has to be reuploaded. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: upload.cdnFileReuploadNeeded -[Back to constructors index](index.md) - - - -The file was cleared from the temporary RAM cache of the [CDN](https://core.telegram.org/cdn) and has to be reuploaded. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|request\_token|[bytes](../types/bytes.md) | Yes|Request token (see [CDN](https://core.telegram.org/cdn))| - - - -### Type: [upload\_CdnFile](../types/upload_CdnFile.md) - - -### Example: - -```php -$upload_cdnFileReuploadNeeded = ['_' => 'upload.cdnFileReuploadNeeded', 'request_token' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -upload_cdnFileReuploadNeeded={_='upload.cdnFileReuploadNeeded', request_token='bytes'} - -``` - - diff --git a/old_docs/API_docs_v89/constructors/upload_file.md b/old_docs/API_docs_v89/constructors/upload_file.md deleted file mode 100644 index 1e07d9fb..00000000 --- a/old_docs/API_docs_v89/constructors/upload_file.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: upload.file -description: File content. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: upload.file -[Back to constructors index](index.md) - - - -File content. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|type|[storage\_FileType](../types/storage_FileType.md) | Yes|File type| -|mtime|[int](../types/int.md) | Yes|Modification type| -|bytes|[bytes](../types/bytes.md) | Yes|Binary data, file content| - - - -### Type: [upload\_File](../types/upload_File.md) - - -### Example: - -```php -$upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int, 'bytes' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -upload_file={_='upload.file', type=storage_FileType, mtime=int, bytes='bytes'} - -``` - - diff --git a/old_docs/API_docs_v89/constructors/upload_fileCdnRedirect.md b/old_docs/API_docs_v89/constructors/upload_fileCdnRedirect.md deleted file mode 100644 index de504dc3..00000000 --- a/old_docs/API_docs_v89/constructors/upload_fileCdnRedirect.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: upload.fileCdnRedirect -description: The file must be downloaded from a [CDN DC](https://core.telegram.org/cdn). -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: upload.fileCdnRedirect -[Back to constructors index](index.md) - - - -The file must be downloaded from a [CDN DC](https://core.telegram.org/cdn). - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|dc\_id|[int](../types/int.md) | Yes|[CDN DC](https://core.telegram.org/cdn) ID| -|file\_token|[bytes](../types/bytes.md) | Yes|File token (see [CDN files](https://core.telegram.org/cdn)| -|encryption\_key|[bytes](../types/bytes.md) | Yes|Encryption key (see [CDN files](https://core.telegram.org/cdn)| -|encryption\_iv|[bytes](../types/bytes.md) | Yes|Encryption IV (see [CDN files](https://core.telegram.org/cdn)| -|file\_hashes|Array of [FileHash](../types/FileHash.md) | Yes|File hashes| - - - -### Type: [upload\_File](../types/upload_File.md) - - -### Example: - -```php -$upload_fileCdnRedirect = ['_' => 'upload.fileCdnRedirect', 'dc_id' => int, 'file_token' => 'bytes', 'encryption_key' => 'bytes', 'encryption_iv' => 'bytes', 'file_hashes' => [FileHash, FileHash]]; -``` - - -Or, if you're into Lua: - -```lua -upload_fileCdnRedirect={_='upload.fileCdnRedirect', dc_id=int, file_token='bytes', encryption_key='bytes', encryption_iv='bytes', file_hashes={FileHash}} - -``` - - diff --git a/old_docs/API_docs_v89/constructors/upload_webFile.md b/old_docs/API_docs_v89/constructors/upload_webFile.md deleted file mode 100644 index ee8053b1..00000000 --- a/old_docs/API_docs_v89/constructors/upload_webFile.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: upload.webFile -description: Represents a chunk of an [HTTP webfile](https://core.telegram.org/api/files) downloaded through telegram's secure MTProto servers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: upload.webFile -[Back to constructors index](index.md) - - - -Represents a chunk of an [HTTP webfile](https://core.telegram.org/api/files) downloaded through telegram's secure MTProto servers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|size|[int](../types/int.md) | Yes|File size| -|mime\_type|[string](../types/string.md) | Yes|Mime type| -|file\_type|[storage\_FileType](../types/storage_FileType.md) | Yes|File type| -|mtime|[int](../types/int.md) | Yes|Modified time| -|bytes|[bytes](../types/bytes.md) | Yes|Data| - - - -### Type: [upload\_WebFile](../types/upload_WebFile.md) - - -### Example: - -```php -$upload_webFile = ['_' => 'upload.webFile', 'size' => int, 'mime_type' => 'string', 'file_type' => storage_FileType, 'mtime' => int, 'bytes' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -upload_webFile={_='upload.webFile', size=int, mime_type='string', file_type=storage_FileType, mtime=int, bytes='bytes'} - -``` - - diff --git a/old_docs/API_docs_v89/constructors/userFull.md b/old_docs/API_docs_v89/constructors/userFull.md index d0d43c0a..5c4682a8 100644 --- a/old_docs/API_docs_v89/constructors/userFull.md +++ b/old_docs/API_docs_v89/constructors/userFull.md @@ -20,7 +20,7 @@ Extended user info |can\_pin\_message|[Bool](../types/Bool.md) | Optional|Whether you can pin messages in the chat with this user, you can do this only for a chat with yourself| |user|[User](../types/User.md) | Optional|Remaining user info| |about|[string](../types/string.md) | Optional|Bio of the user| -|link|[contacts\_Link](../types/contacts_Link.md) | Yes|Link| +|link|[contacts.Link](../constructors/contacts.Link.md) | Yes|Link| |profile\_photo|[Photo](../types/Photo.md) | Optional|Profile photo| |notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Yes|Notification settings| |bot\_info|[BotInfo](../types/BotInfo.md) | Optional|For bots, info about the bot (bot commands, etc)| @@ -35,14 +35,14 @@ Extended user info ### Example: ```php -$userFull = ['_' => 'userFull', 'blocked' => Bool, 'phone_calls_available' => Bool, 'phone_calls_private' => Bool, 'can_pin_message' => Bool, 'user' => User, 'about' => 'string', 'link' => contacts_Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'bot_info' => BotInfo, 'pinned_msg_id' => int, 'common_chats_count' => int]; +$userFull = ['_' => 'userFull', 'blocked' => Bool, 'phone_calls_available' => Bool, 'phone_calls_private' => Bool, 'can_pin_message' => Bool, 'user' => User, 'about' => 'string', 'link' => contacts.Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'bot_info' => BotInfo, 'pinned_msg_id' => int, 'common_chats_count' => int]; ``` Or, if you're into Lua: ```lua -userFull={_='userFull', blocked=Bool, phone_calls_available=Bool, phone_calls_private=Bool, can_pin_message=Bool, user=User, about='string', link=contacts_Link, profile_photo=Photo, notify_settings=PeerNotifySettings, bot_info=BotInfo, pinned_msg_id=int, common_chats_count=int} +userFull={_='userFull', blocked=Bool, phone_calls_available=Bool, phone_calls_private=Bool, can_pin_message=Bool, user=User, about='string', link=contacts.Link, profile_photo=Photo, notify_settings=PeerNotifySettings, bot_info=BotInfo, pinned_msg_id=int, common_chats_count=int} ``` diff --git a/old_docs/API_docs_v89/methods/account.getAuthorizationForm.md b/old_docs/API_docs_v89/methods/account.getAuthorizationForm.md index 298951cb..b0d52e07 100644 --- a/old_docs/API_docs_v89/methods/account.getAuthorizationForm.md +++ b/old_docs/API_docs_v89/methods/account.getAuthorizationForm.md @@ -18,7 +18,7 @@ Returns a Telegram Passport authorization form for sharing data with a service |public\_key|[string](../types/string.md) | Service's public key | Yes| -### Return type: [account\_AuthorizationForm](../types/account_AuthorizationForm.md) +### Return type: [account.AuthorizationForm](../types/account.AuthorizationForm.md) ### Can bots use this method: **NO** @@ -35,12 +35,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_AuthorizationForm = $MadelineProto->account->getAuthorizationForm(['bot_id' => int, 'scope' => 'string', 'public_key' => 'string', ]); +$account.AuthorizationForm = $MadelineProto->account->getAuthorizationForm(['bot_id' => int, 'scope' => 'string', 'public_key' => 'string', ]); ``` Or, if you're into Lua: ```lua -account_AuthorizationForm = account.getAuthorizationForm({bot_id=int, scope='string', public_key='string', }) +account.AuthorizationForm = account.getAuthorizationForm({bot_id=int, scope='string', public_key='string', }) ``` diff --git a/old_docs/API_docs_v89/methods/account.getAuthorizations.md b/old_docs/API_docs_v89/methods/account.getAuthorizations.md index f69c130a..fad3a7ae 100644 --- a/old_docs/API_docs_v89/methods/account.getAuthorizations.md +++ b/old_docs/API_docs_v89/methods/account.getAuthorizations.md @@ -11,7 +11,7 @@ Get logged-in sessions -### Return type: [account\_Authorizations](../types/account_Authorizations.md) +### Return type: [account.Authorizations](../types/account.Authorizations.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_Authorizations = $MadelineProto->account->getAuthorizations(); +$account.Authorizations = $MadelineProto->account->getAuthorizations(); ``` Or, if you're into Lua: ```lua -account_Authorizations = account.getAuthorizations({}) +account.Authorizations = account.getAuthorizations({}) ``` diff --git a/old_docs/API_docs_v89/methods/account.getPassword.md b/old_docs/API_docs_v89/methods/account.getPassword.md index eed4aee3..621271b6 100644 --- a/old_docs/API_docs_v89/methods/account.getPassword.md +++ b/old_docs/API_docs_v89/methods/account.getPassword.md @@ -11,7 +11,7 @@ Obtain configuration for two-factor authorization with password -### Return type: [account\_Password](../types/account_Password.md) +### Return type: [account.Password](../types/account.Password.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_Password = $MadelineProto->account->getPassword(); +$account.Password = $MadelineProto->account->getPassword(); ``` Or, if you're into Lua: ```lua -account_Password = account.getPassword({}) +account.Password = account.getPassword({}) ``` diff --git a/old_docs/API_docs_v89/methods/account.getPasswordSettings.md b/old_docs/API_docs_v89/methods/account.getPasswordSettings.md index a7a47b1a..2b8607b9 100644 --- a/old_docs/API_docs_v89/methods/account.getPasswordSettings.md +++ b/old_docs/API_docs_v89/methods/account.getPasswordSettings.md @@ -16,7 +16,7 @@ You cannot use this method directly; use $MadelineProto->update_2fa($params), in |password|[InputCheckPasswordSRP](../types/InputCheckPasswordSRP.md) | You cannot use this method directly; use $MadelineProto->update_2fa($params), instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [account\_PasswordSettings](../types/account_PasswordSettings.md) +### Return type: [account.PasswordSettings](../types/account.PasswordSettings.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_PasswordSettings = $MadelineProto->account->getPasswordSettings(['password' => InputCheckPasswordSRP, ]); +$account.PasswordSettings = $MadelineProto->account->getPasswordSettings(['password' => InputCheckPasswordSRP, ]); ``` Or, if you're into Lua: ```lua -account_PasswordSettings = account.getPasswordSettings({password=InputCheckPasswordSRP, }) +account.PasswordSettings = account.getPasswordSettings({password=InputCheckPasswordSRP, }) ``` ### Errors diff --git a/old_docs/API_docs_v89/methods/account.getPrivacy.md b/old_docs/API_docs_v89/methods/account.getPrivacy.md index 6a240129..e20c292c 100644 --- a/old_docs/API_docs_v89/methods/account.getPrivacy.md +++ b/old_docs/API_docs_v89/methods/account.getPrivacy.md @@ -16,7 +16,7 @@ Get privacy settings of current account |key|[InputPrivacyKey](../types/InputPrivacyKey.md) | Peer category whose privacy settings should be fetched | Yes| -### Return type: [account\_PrivacyRules](../types/account_PrivacyRules.md) +### Return type: [account.PrivacyRules](../types/account.PrivacyRules.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_PrivacyRules = $MadelineProto->account->getPrivacy(['key' => InputPrivacyKey, ]); +$account.PrivacyRules = $MadelineProto->account->getPrivacy(['key' => InputPrivacyKey, ]); ``` Or, if you're into Lua: ```lua -account_PrivacyRules = account.getPrivacy({key=InputPrivacyKey, }) +account.PrivacyRules = account.getPrivacy({key=InputPrivacyKey, }) ``` ### Errors diff --git a/old_docs/API_docs_v89/methods/account.getTmpPassword.md b/old_docs/API_docs_v89/methods/account.getTmpPassword.md index 76729595..2328df1e 100644 --- a/old_docs/API_docs_v89/methods/account.getTmpPassword.md +++ b/old_docs/API_docs_v89/methods/account.getTmpPassword.md @@ -17,7 +17,7 @@ Get temporary payment password |period|[int](../types/int.md) | Time during which the temporary password will be valid, in seconds; should be between 60 and 86400 | Yes| -### Return type: [account\_TmpPassword](../types/account_TmpPassword.md) +### Return type: [account.TmpPassword](../types/account.TmpPassword.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_TmpPassword = $MadelineProto->account->getTmpPassword(['password' => InputCheckPasswordSRP, 'period' => int, ]); +$account.TmpPassword = $MadelineProto->account->getTmpPassword(['password' => InputCheckPasswordSRP, 'period' => int, ]); ``` Or, if you're into Lua: ```lua -account_TmpPassword = account.getTmpPassword({password=InputCheckPasswordSRP, period=int, }) +account.TmpPassword = account.getTmpPassword({password=InputCheckPasswordSRP, period=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v89/methods/account.getWebAuthorizations.md b/old_docs/API_docs_v89/methods/account.getWebAuthorizations.md index 1a43f138..b97fe978 100644 --- a/old_docs/API_docs_v89/methods/account.getWebAuthorizations.md +++ b/old_docs/API_docs_v89/methods/account.getWebAuthorizations.md @@ -11,7 +11,7 @@ Get web [login widget](https://core.telegram.org/widgets/login) authorizations -### Return type: [account\_WebAuthorizations](../types/account_WebAuthorizations.md) +### Return type: [account.WebAuthorizations](../types/account.WebAuthorizations.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_WebAuthorizations = $MadelineProto->account->getWebAuthorizations(); +$account.WebAuthorizations = $MadelineProto->account->getWebAuthorizations(); ``` Or, if you're into Lua: ```lua -account_WebAuthorizations = account.getWebAuthorizations({}) +account.WebAuthorizations = account.getWebAuthorizations({}) ``` diff --git a/old_docs/API_docs_v89/methods/account.initTakeoutSession.md b/old_docs/API_docs_v89/methods/account.initTakeoutSession.md index 01b3ae0f..3b8774b8 100644 --- a/old_docs/API_docs_v89/methods/account.initTakeoutSession.md +++ b/old_docs/API_docs_v89/methods/account.initTakeoutSession.md @@ -22,7 +22,7 @@ Intialize account takeout session |file\_max\_size|[int](../types/int.md) | Maximum size of files to export | Optional| -### Return type: [account\_Takeout](../types/account_Takeout.md) +### Return type: [account.Takeout](../types/account.Takeout.md) ### Can bots use this method: **NO** @@ -39,12 +39,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_Takeout = $MadelineProto->account->initTakeoutSession(['contacts' => Bool, 'message_users' => Bool, 'message_chats' => Bool, 'message_megagroups' => Bool, 'message_channels' => Bool, 'files' => Bool, 'file_max_size' => int, ]); +$account.Takeout = $MadelineProto->account->initTakeoutSession(['contacts' => Bool, 'message_users' => Bool, 'message_chats' => Bool, 'message_megagroups' => Bool, 'message_channels' => Bool, 'files' => Bool, 'file_max_size' => int, ]); ``` Or, if you're into Lua: ```lua -account_Takeout = account.initTakeoutSession({contacts=Bool, message_users=Bool, message_chats=Bool, message_megagroups=Bool, message_channels=Bool, files=Bool, file_max_size=int, }) +account.Takeout = account.initTakeoutSession({contacts=Bool, message_users=Bool, message_chats=Bool, message_megagroups=Bool, message_channels=Bool, files=Bool, file_max_size=int, }) ``` diff --git a/old_docs/API_docs_v89/methods/account.sendChangePhoneCode.md b/old_docs/API_docs_v89/methods/account.sendChangePhoneCode.md index 0f81306e..30589ffa 100644 --- a/old_docs/API_docs_v89/methods/account.sendChangePhoneCode.md +++ b/old_docs/API_docs_v89/methods/account.sendChangePhoneCode.md @@ -18,7 +18,7 @@ Verify a new phone number to associate to the current account |current\_number|[Bool](../types/Bool.md) | Current phone number | Optional| -### Return type: [auth\_SentCode](../types/auth_SentCode.md) +### Return type: [auth.SentCode](../types/auth.SentCode.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_SentCode = $MadelineProto->account->sendChangePhoneCode(['allow_flashcall' => Bool, 'phone_number' => 'string', 'current_number' => Bool, ]); +$auth.SentCode = $MadelineProto->account->sendChangePhoneCode(['allow_flashcall' => Bool, 'phone_number' => 'string', 'current_number' => Bool, ]); ``` Or, if you're into Lua: ```lua -auth_SentCode = account.sendChangePhoneCode({allow_flashcall=Bool, phone_number='string', current_number=Bool, }) +auth.SentCode = account.sendChangePhoneCode({allow_flashcall=Bool, phone_number='string', current_number=Bool, }) ``` ### Errors diff --git a/old_docs/API_docs_v89/methods/account.sendConfirmPhoneCode.md b/old_docs/API_docs_v89/methods/account.sendConfirmPhoneCode.md index 68ba8fd3..9ec24f07 100644 --- a/old_docs/API_docs_v89/methods/account.sendConfirmPhoneCode.md +++ b/old_docs/API_docs_v89/methods/account.sendConfirmPhoneCode.md @@ -18,7 +18,7 @@ Send confirmation code to cancel account deletion, for more info [click here »] |current\_number|[Bool](../types/Bool.md) | The current phone number | Optional| -### Return type: [auth\_SentCode](../types/auth_SentCode.md) +### Return type: [auth.SentCode](../types/auth.SentCode.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_SentCode = $MadelineProto->account->sendConfirmPhoneCode(['allow_flashcall' => Bool, 'hash' => 'string', 'current_number' => Bool, ]); +$auth.SentCode = $MadelineProto->account->sendConfirmPhoneCode(['allow_flashcall' => Bool, 'hash' => 'string', 'current_number' => Bool, ]); ``` Or, if you're into Lua: ```lua -auth_SentCode = account.sendConfirmPhoneCode({allow_flashcall=Bool, hash='string', current_number=Bool, }) +auth.SentCode = account.sendConfirmPhoneCode({allow_flashcall=Bool, hash='string', current_number=Bool, }) ``` ### Errors diff --git a/old_docs/API_docs_v89/methods/account.sendVerifyEmailCode.md b/old_docs/API_docs_v89/methods/account.sendVerifyEmailCode.md index 54b1fc3f..a4768852 100644 --- a/old_docs/API_docs_v89/methods/account.sendVerifyEmailCode.md +++ b/old_docs/API_docs_v89/methods/account.sendVerifyEmailCode.md @@ -16,7 +16,7 @@ Send the verification email code for telegram [passport](https://core.telegram.o |email|[string](../types/string.md) | The email where to send the code | Yes| -### Return type: [account\_SentEmailCode](../types/account_SentEmailCode.md) +### Return type: [account.SentEmailCode](../types/account.SentEmailCode.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_SentEmailCode = $MadelineProto->account->sendVerifyEmailCode(['email' => 'string', ]); +$account.SentEmailCode = $MadelineProto->account->sendVerifyEmailCode(['email' => 'string', ]); ``` Or, if you're into Lua: ```lua -account_SentEmailCode = account.sendVerifyEmailCode({email='string', }) +account.SentEmailCode = account.sendVerifyEmailCode({email='string', }) ``` diff --git a/old_docs/API_docs_v89/methods/account.sendVerifyPhoneCode.md b/old_docs/API_docs_v89/methods/account.sendVerifyPhoneCode.md index 29cda026..c03ddf63 100644 --- a/old_docs/API_docs_v89/methods/account.sendVerifyPhoneCode.md +++ b/old_docs/API_docs_v89/methods/account.sendVerifyPhoneCode.md @@ -18,7 +18,7 @@ Send the verification phone code for telegram [passport](https://core.telegram.o |current\_number|[Bool](../types/Bool.md) | Is this the current number? | Optional| -### Return type: [auth\_SentCode](../types/auth_SentCode.md) +### Return type: [auth.SentCode](../types/auth.SentCode.md) ### Can bots use this method: **NO** @@ -35,12 +35,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_SentCode = $MadelineProto->account->sendVerifyPhoneCode(['allow_flashcall' => Bool, 'phone_number' => 'string', 'current_number' => Bool, ]); +$auth.SentCode = $MadelineProto->account->sendVerifyPhoneCode(['allow_flashcall' => Bool, 'phone_number' => 'string', 'current_number' => Bool, ]); ``` Or, if you're into Lua: ```lua -auth_SentCode = account.sendVerifyPhoneCode({allow_flashcall=Bool, phone_number='string', current_number=Bool, }) +auth.SentCode = account.sendVerifyPhoneCode({allow_flashcall=Bool, phone_number='string', current_number=Bool, }) ``` diff --git a/old_docs/API_docs_v89/methods/account.setPrivacy.md b/old_docs/API_docs_v89/methods/account.setPrivacy.md index 7c4cfba7..096d373e 100644 --- a/old_docs/API_docs_v89/methods/account.setPrivacy.md +++ b/old_docs/API_docs_v89/methods/account.setPrivacy.md @@ -17,7 +17,7 @@ Change privacy settings of current account |rules|Array of [InputPrivacyRule](../types/InputPrivacyRule.md) | Privacy settings | Yes| -### Return type: [account\_PrivacyRules](../types/account_PrivacyRules.md) +### Return type: [account.PrivacyRules](../types/account.PrivacyRules.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_PrivacyRules = $MadelineProto->account->setPrivacy(['key' => InputPrivacyKey, 'rules' => [InputPrivacyRule, InputPrivacyRule], ]); +$account.PrivacyRules = $MadelineProto->account->setPrivacy(['key' => InputPrivacyKey, 'rules' => [InputPrivacyRule, InputPrivacyRule], ]); ``` Or, if you're into Lua: ```lua -account_PrivacyRules = account.setPrivacy({key=InputPrivacyKey, rules={InputPrivacyRule}, }) +account.PrivacyRules = account.setPrivacy({key=InputPrivacyKey, rules={InputPrivacyRule}, }) ``` ### Errors diff --git a/old_docs/API_docs_v89/methods/api_README.md b/old_docs/API_docs_v89/methods/api_README.md index d49199aa..89b60100 100644 --- a/old_docs/API_docs_v89/methods/api_README.md +++ b/old_docs/API_docs_v89/methods/api_README.md @@ -80,11 +80,11 @@ $MadelineProto->[account->getAllSecureValues](account.getAllSecureValues.md)(\[\ ***

-$MadelineProto->[account->getAuthorizationForm](account.getAuthorizationForm.md)(\['bot_id' => [int](../types/int.md), 'scope' => [string](../types/string.md), 'public_key' => [string](../types/string.md), \]) === [$account\_AuthorizationForm](../types/account_AuthorizationForm.md) +$MadelineProto->[account->getAuthorizationForm](account.getAuthorizationForm.md)(\['bot_id' => [int](../types/int.md), 'scope' => [string](../types/string.md), 'public_key' => [string](../types/string.md), \]) === [$account.AuthorizationForm](../types/account.AuthorizationForm.md) ***

-$MadelineProto->[account->getAuthorizations](account.getAuthorizations.md)(\[\]) === [$account\_Authorizations](../types/account_Authorizations.md) +$MadelineProto->[account->getAuthorizations](account.getAuthorizations.md)(\[\]) === [$account.Authorizations](../types/account.Authorizations.md) ***

@@ -92,15 +92,15 @@ $MadelineProto->[account->getNotifySettings](account.getNotifySettings.md)(\['pe ***

-$MadelineProto->[account->getPassword](account.getPassword.md)(\[\]) === [$account\_Password](../types/account_Password.md) +$MadelineProto->[account->getPassword](account.getPassword.md)(\[\]) === [$account.Password](../types/account.Password.md) ***

-$MadelineProto->[account->getPasswordSettings](account.getPasswordSettings.md)(\['password' => [InputCheckPasswordSRP](../types/InputCheckPasswordSRP.md), \]) === [$account\_PasswordSettings](../types/account_PasswordSettings.md) +$MadelineProto->[account->getPasswordSettings](account.getPasswordSettings.md)(\['password' => [InputCheckPasswordSRP](../types/InputCheckPasswordSRP.md), \]) === [$account.PasswordSettings](../types/account.PasswordSettings.md) ***

-$MadelineProto->[account->getPrivacy](account.getPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), \]) === [$account\_PrivacyRules](../types/account_PrivacyRules.md) +$MadelineProto->[account->getPrivacy](account.getPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), \]) === [$account.PrivacyRules](../types/account.PrivacyRules.md) ***

@@ -108,7 +108,7 @@ $MadelineProto->[account->getSecureValue](account.getSecureValue.md)(\['types' = ***

-$MadelineProto->[account->getTmpPassword](account.getTmpPassword.md)(\['password' => [InputCheckPasswordSRP](../types/InputCheckPasswordSRP.md), 'period' => [int](../types/int.md), \]) === [$account\_TmpPassword](../types/account_TmpPassword.md) +$MadelineProto->[account->getTmpPassword](account.getTmpPassword.md)(\['password' => [InputCheckPasswordSRP](../types/InputCheckPasswordSRP.md), 'period' => [int](../types/int.md), \]) === [$account.TmpPassword](../types/account.TmpPassword.md) ***

@@ -116,11 +116,11 @@ $MadelineProto->[account->getWallPapers](account.getWallPapers.md)(\[\]) === [$V ***

-$MadelineProto->[account->getWebAuthorizations](account.getWebAuthorizations.md)(\[\]) === [$account\_WebAuthorizations](../types/account_WebAuthorizations.md) +$MadelineProto->[account->getWebAuthorizations](account.getWebAuthorizations.md)(\[\]) === [$account.WebAuthorizations](../types/account.WebAuthorizations.md) ***

-$MadelineProto->[account->initTakeoutSession](account.initTakeoutSession.md)(\['contacts' => [Bool](../types/Bool.md), 'message_users' => [Bool](../types/Bool.md), 'message_chats' => [Bool](../types/Bool.md), 'message_megagroups' => [Bool](../types/Bool.md), 'message_channels' => [Bool](../types/Bool.md), 'files' => [Bool](../types/Bool.md), 'file_max_size' => [int](../types/int.md), \]) === [$account\_Takeout](../types/account_Takeout.md) +$MadelineProto->[account->initTakeoutSession](account.initTakeoutSession.md)(\['contacts' => [Bool](../types/Bool.md), 'message_users' => [Bool](../types/Bool.md), 'message_chats' => [Bool](../types/Bool.md), 'message_megagroups' => [Bool](../types/Bool.md), 'message_channels' => [Bool](../types/Bool.md), 'files' => [Bool](../types/Bool.md), 'file_max_size' => [int](../types/int.md), \]) === [$account.Takeout](../types/account.Takeout.md) ***

@@ -156,19 +156,19 @@ $MadelineProto->[account->saveSecureValue](account.saveSecureValue.md)(\['value' ***

-$MadelineProto->[account->sendChangePhoneCode](account.sendChangePhoneCode.md)(\['allow_flashcall' => [Bool](../types/Bool.md), 'phone_number' => [string](../types/string.md), 'current_number' => [Bool](../types/Bool.md), \]) === [$auth\_SentCode](../types/auth_SentCode.md) +$MadelineProto->[account->sendChangePhoneCode](account.sendChangePhoneCode.md)(\['allow_flashcall' => [Bool](../types/Bool.md), 'phone_number' => [string](../types/string.md), 'current_number' => [Bool](../types/Bool.md), \]) === [$auth.SentCode](../types/auth.SentCode.md) ***

-$MadelineProto->[account->sendConfirmPhoneCode](account.sendConfirmPhoneCode.md)(\['allow_flashcall' => [Bool](../types/Bool.md), 'hash' => [string](../types/string.md), 'current_number' => [Bool](../types/Bool.md), \]) === [$auth\_SentCode](../types/auth_SentCode.md) +$MadelineProto->[account->sendConfirmPhoneCode](account.sendConfirmPhoneCode.md)(\['allow_flashcall' => [Bool](../types/Bool.md), 'hash' => [string](../types/string.md), 'current_number' => [Bool](../types/Bool.md), \]) === [$auth.SentCode](../types/auth.SentCode.md) ***

-$MadelineProto->[account->sendVerifyEmailCode](account.sendVerifyEmailCode.md)(\['email' => [string](../types/string.md), \]) === [$account\_SentEmailCode](../types/account_SentEmailCode.md) +$MadelineProto->[account->sendVerifyEmailCode](account.sendVerifyEmailCode.md)(\['email' => [string](../types/string.md), \]) === [$account.SentEmailCode](../types/account.SentEmailCode.md) ***

-$MadelineProto->[account->sendVerifyPhoneCode](account.sendVerifyPhoneCode.md)(\['allow_flashcall' => [Bool](../types/Bool.md), 'phone_number' => [string](../types/string.md), 'current_number' => [Bool](../types/Bool.md), \]) === [$auth\_SentCode](../types/auth_SentCode.md) +$MadelineProto->[account->sendVerifyPhoneCode](account.sendVerifyPhoneCode.md)(\['allow_flashcall' => [Bool](../types/Bool.md), 'phone_number' => [string](../types/string.md), 'current_number' => [Bool](../types/Bool.md), \]) === [$auth.SentCode](../types/auth.SentCode.md) ***

@@ -176,7 +176,7 @@ $MadelineProto->[account->setAccountTTL](account.setAccountTTL.md)(\['ttl' => [A ***

-$MadelineProto->[account->setPrivacy](account.setPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), 'rules' => \[[InputPrivacyRule](../types/InputPrivacyRule.md)\], \]) === [$account\_PrivacyRules](../types/account_PrivacyRules.md) +$MadelineProto->[account->setPrivacy](account.setPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), 'rules' => \[[InputPrivacyRule](../types/InputPrivacyRule.md)\], \]) === [$account.PrivacyRules](../types/account.PrivacyRules.md) ***

@@ -224,7 +224,7 @@ $MadelineProto->[auth->cancelCode](auth.cancelCode.md)(\['phone_number' => [stri ***

-$MadelineProto->[auth->checkPassword](auth.checkPassword.md)(\['password' => [InputCheckPasswordSRP](../types/InputCheckPasswordSRP.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->checkPassword](auth.checkPassword.md)(\['password' => [InputCheckPasswordSRP](../types/InputCheckPasswordSRP.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

@@ -232,15 +232,15 @@ $MadelineProto->[auth->dropTempAuthKeys](auth.dropTempAuthKeys.md)(\['except_aut ***

-$MadelineProto->[auth->exportAuthorization](auth.exportAuthorization.md)(\['dc_id' => [int](../types/int.md), \]) === [$auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) +$MadelineProto->[auth->exportAuthorization](auth.exportAuthorization.md)(\['dc_id' => [int](../types/int.md), \]) === [$auth.ExportedAuthorization](../types/auth.ExportedAuthorization.md) ***

-$MadelineProto->[auth->importAuthorization](auth.importAuthorization.md)(\['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->importAuthorization](auth.importAuthorization.md)(\['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

-$MadelineProto->[auth->importBotAuthorization](auth.importBotAuthorization.md)(\['api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), 'bot_auth_token' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->importBotAuthorization](auth.importBotAuthorization.md)(\['api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), 'bot_auth_token' => [string](../types/string.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

@@ -248,15 +248,15 @@ $MadelineProto->[auth->logOut](auth.logOut.md)(\[\]) === [$Bool](../types/Bool.m ***

-$MadelineProto->[auth->recoverPassword](auth.recoverPassword.md)(\['code' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->recoverPassword](auth.recoverPassword.md)(\['code' => [string](../types/string.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

-$MadelineProto->[auth->requestPasswordRecovery](auth.requestPasswordRecovery.md)(\[\]) === [$auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) +$MadelineProto->[auth->requestPasswordRecovery](auth.requestPasswordRecovery.md)(\[\]) === [$auth.PasswordRecovery](../types/auth.PasswordRecovery.md) ***

-$MadelineProto->[auth->resendCode](auth.resendCode.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), \]) === [$auth\_SentCode](../types/auth_SentCode.md) +$MadelineProto->[auth->resendCode](auth.resendCode.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), \]) === [$auth.SentCode](../types/auth.SentCode.md) ***

@@ -264,15 +264,15 @@ $MadelineProto->[auth->resetAuthorizations](auth.resetAuthorizations.md)(\[\]) = ***

-$MadelineProto->[auth->sendCode](auth.sendCode.md)(\['allow_flashcall' => [Bool](../types/Bool.md), 'phone_number' => [string](../types/string.md), 'current_number' => [Bool](../types/Bool.md), 'api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), \]) === [$auth\_SentCode](../types/auth_SentCode.md) +$MadelineProto->[auth->sendCode](auth.sendCode.md)(\['allow_flashcall' => [Bool](../types/Bool.md), 'phone_number' => [string](../types/string.md), 'current_number' => [Bool](../types/Bool.md), 'api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), \]) === [$auth.SentCode](../types/auth.SentCode.md) ***

-$MadelineProto->[auth->signIn](auth.signIn.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->signIn](auth.signIn.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

-$MadelineProto->[auth->signUp](auth.signUp.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->signUp](auth.signUp.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

@@ -300,11 +300,11 @@ $MadelineProto->[channels->deleteHistory](channels.deleteHistory.md)(\['channel' ***

-$MadelineProto->[channels->deleteMessages](channels.deleteMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) +$MadelineProto->[channels->deleteMessages](channels.deleteMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages.AffectedMessages](../types/messages.AffectedMessages.md) ***

-$MadelineProto->[channels->deleteUserHistory](channels.deleteUserHistory.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages\_AffectedHistory](../types/messages_AffectedHistory.md) +$MadelineProto->[channels->deleteUserHistory](channels.deleteUserHistory.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages.AffectedHistory](../types/messages.AffectedHistory.md) ***

@@ -336,35 +336,35 @@ $MadelineProto->[channels->exportMessageLink](channels.exportMessageLink.md)(\[' ***

-$MadelineProto->[channels->getAdminLog](channels.getAdminLog.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'q' => [string](../types/string.md), 'events_filter' => [ChannelAdminLogEventsFilter](../types/ChannelAdminLogEventsFilter.md), 'admins' => \[[InputUser](../types/InputUser.md)\], 'max_id' => [long](../types/long.md), 'min_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$channels\_AdminLogResults](../types/channels_AdminLogResults.md) +$MadelineProto->[channels->getAdminLog](channels.getAdminLog.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'q' => [string](../types/string.md), 'events_filter' => [ChannelAdminLogEventsFilter](../types/ChannelAdminLogEventsFilter.md), 'admins' => \[[InputUser](../types/InputUser.md)\], 'max_id' => [long](../types/long.md), 'min_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$channels.AdminLogResults](../types/channels.AdminLogResults.md) ***

-$MadelineProto->[channels->getAdminedPublicChannels](channels.getAdminedPublicChannels.md)(\[\]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[channels->getAdminedPublicChannels](channels.getAdminedPublicChannels.md)(\[\]) === [$messages.Chats](../types/messages.Chats.md) ***

-$MadelineProto->[channels->getChannels](channels.getChannels.md)(\['id' => \[[InputChannel](../types/InputChannel.md)\], \]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[channels->getChannels](channels.getChannels.md)(\['id' => \[[InputChannel](../types/InputChannel.md)\], \]) === [$messages.Chats](../types/messages.Chats.md) ***

-$MadelineProto->[channels->getFullChannel](channels.getFullChannel.md)(\['channel' => [InputChannel](../types/InputChannel.md), \]) === [$messages\_ChatFull](../types/messages_ChatFull.md) +$MadelineProto->[channels->getFullChannel](channels.getFullChannel.md)(\['channel' => [InputChannel](../types/InputChannel.md), \]) === [$messages.ChatFull](../types/messages.ChatFull.md) ***

-$MadelineProto->[channels->getLeftChannels](channels.getLeftChannels.md)(\['offset' => [int](../types/int.md), \]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[channels->getLeftChannels](channels.getLeftChannels.md)(\['offset' => [int](../types/int.md), \]) === [$messages.Chats](../types/messages.Chats.md) ***

-$MadelineProto->[channels->getMessages](channels.getMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[InputMessage](../types/InputMessage.md)\], \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[channels->getMessages](channels.getMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[InputMessage](../types/InputMessage.md)\], \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[channels->getParticipant](channels.getParticipant.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$channels\_ChannelParticipant](../types/channels_ChannelParticipant.md) +$MadelineProto->[channels->getParticipant](channels.getParticipant.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$channels.ChannelParticipant](../types/channels.ChannelParticipant.md) ***

-$MadelineProto->[channels->getParticipants](channels.getParticipants.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$channels\_ChannelParticipants](../types/channels_ChannelParticipants.md) +$MadelineProto->[channels->getParticipants](channels.getParticipants.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$channels.ChannelParticipants](../types/channels.ChannelParticipants.md) ***

@@ -420,7 +420,7 @@ $MadelineProto->[contacts->block](contacts.block.md)(\['id' => [InputUser](../ty ***

-$MadelineProto->[contacts->deleteContact](contacts.deleteContact.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$contacts\_Link](../types/contacts_Link.md) +$MadelineProto->[contacts->deleteContact](contacts.deleteContact.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$contacts.Link](../types/contacts.Link.md) ***

@@ -432,7 +432,7 @@ $MadelineProto->[contacts->exportCard](contacts.exportCard.md)(\[\]) === [$Vecto ***

-$MadelineProto->[contacts->getBlocked](contacts.getBlocked.md)(\['offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$contacts\_Blocked](../types/contacts_Blocked.md) +$MadelineProto->[contacts->getBlocked](contacts.getBlocked.md)(\['offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$contacts.Blocked](../types/contacts.Blocked.md) ***

@@ -440,7 +440,7 @@ $MadelineProto->[contacts->getContactIDs](contacts.getContactIDs.md)(\['hash' => ***

-$MadelineProto->[contacts->getContacts](contacts.getContacts.md)(\['hash' => [int](../types/int.md), \]) === [$contacts\_Contacts](../types/contacts_Contacts.md) +$MadelineProto->[contacts->getContacts](contacts.getContacts.md)(\['hash' => [int](../types/int.md), \]) === [$contacts.Contacts](../types/contacts.Contacts.md) ***

@@ -452,7 +452,7 @@ $MadelineProto->[contacts->getStatuses](contacts.getStatuses.md)(\[\]) === [$Vec ***

-$MadelineProto->[contacts->getTopPeers](contacts.getTopPeers.md)(\['correspondents' => [Bool](../types/Bool.md), 'bots_pm' => [Bool](../types/Bool.md), 'bots_inline' => [Bool](../types/Bool.md), 'phone_calls' => [Bool](../types/Bool.md), 'groups' => [Bool](../types/Bool.md), 'channels' => [Bool](../types/Bool.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$contacts\_TopPeers](../types/contacts_TopPeers.md) +$MadelineProto->[contacts->getTopPeers](contacts.getTopPeers.md)(\['correspondents' => [Bool](../types/Bool.md), 'bots_pm' => [Bool](../types/Bool.md), 'bots_inline' => [Bool](../types/Bool.md), 'phone_calls' => [Bool](../types/Bool.md), 'groups' => [Bool](../types/Bool.md), 'channels' => [Bool](../types/Bool.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$contacts.TopPeers](../types/contacts.TopPeers.md) ***

@@ -460,7 +460,7 @@ $MadelineProto->[contacts->importCard](contacts.importCard.md)(\['export_card' = ***

-$MadelineProto->[contacts->importContacts](contacts.importContacts.md)(\['contacts' => \[[InputContact](../types/InputContact.md)\], \]) === [$contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) +$MadelineProto->[contacts->importContacts](contacts.importContacts.md)(\['contacts' => \[[InputContact](../types/InputContact.md)\], \]) === [$contacts.ImportedContacts](../types/contacts.ImportedContacts.md) ***

@@ -472,11 +472,11 @@ $MadelineProto->[contacts->resetTopPeerRating](contacts.resetTopPeerRating.md)(\ ***

-$MadelineProto->[contacts->resolveUsername](contacts.resolveUsername.md)(\['username' => [string](../types/string.md), \]) === [$contacts\_ResolvedPeer](../types/contacts_ResolvedPeer.md) +$MadelineProto->[contacts->resolveUsername](contacts.resolveUsername.md)(\['username' => [string](../types/string.md), \]) === [$contacts.ResolvedPeer](../types/contacts.ResolvedPeer.md) ***

-$MadelineProto->[contacts->search](contacts.search.md)(\['q' => [string](../types/string.md), 'limit' => [int](../types/int.md), \]) === [$contacts\_Found](../types/contacts_Found.md) +$MadelineProto->[contacts->search](contacts.search.md)(\['q' => [string](../types/string.md), 'limit' => [int](../types/int.md), \]) === [$contacts.Found](../types/contacts.Found.md) ***

@@ -492,7 +492,7 @@ $MadelineProto->[help->acceptTermsOfService](help.acceptTermsOfService.md)(\['id ***

-$MadelineProto->[help->editUserInfo](help.editUserInfo.md)(\['user_id' => [InputUser](../types/InputUser.md), 'message' => [string](../types/string.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], \]) === [$help\_UserInfo](../types/help_UserInfo.md) +$MadelineProto->[help->editUserInfo](help.editUserInfo.md)(\['user_id' => [InputUser](../types/InputUser.md), 'message' => [string](../types/string.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], \]) === [$help.UserInfo](../types/help.UserInfo.md) ***

@@ -500,7 +500,7 @@ $MadelineProto->[help->getAppChangelog](help.getAppChangelog.md)(\['prev_app_ver ***

-$MadelineProto->[help->getAppUpdate](help.getAppUpdate.md)(\['source' => [string](../types/string.md), \]) === [$help\_AppUpdate](../types/help_AppUpdate.md) +$MadelineProto->[help->getAppUpdate](help.getAppUpdate.md)(\['source' => [string](../types/string.md), \]) === [$help.AppUpdate](../types/help.AppUpdate.md) ***

@@ -512,11 +512,11 @@ $MadelineProto->[help->getConfig](help.getConfig.md)(\[\]) === [$Config](../type ***

-$MadelineProto->[help->getDeepLinkInfo](help.getDeepLinkInfo.md)(\['path' => [string](../types/string.md), \]) === [$help\_DeepLinkInfo](../types/help_DeepLinkInfo.md) +$MadelineProto->[help->getDeepLinkInfo](help.getDeepLinkInfo.md)(\['path' => [string](../types/string.md), \]) === [$help.DeepLinkInfo](../types/help.DeepLinkInfo.md) ***

-$MadelineProto->[help->getInviteText](help.getInviteText.md)(\[\]) === [$help\_InviteText](../types/help_InviteText.md) +$MadelineProto->[help->getInviteText](help.getInviteText.md)(\[\]) === [$help.InviteText](../types/help.InviteText.md) ***

@@ -524,31 +524,31 @@ $MadelineProto->[help->getNearestDc](help.getNearestDc.md)(\[\]) === [$NearestDc ***

-$MadelineProto->[help->getPassportConfig](help.getPassportConfig.md)(\['hash' => [int](../types/int.md), \]) === [$help\_PassportConfig](../types/help_PassportConfig.md) +$MadelineProto->[help->getPassportConfig](help.getPassportConfig.md)(\['hash' => [int](../types/int.md), \]) === [$help.PassportConfig](../types/help.PassportConfig.md) ***

-$MadelineProto->[help->getProxyData](help.getProxyData.md)(\[\]) === [$help\_ProxyData](../types/help_ProxyData.md) +$MadelineProto->[help->getProxyData](help.getProxyData.md)(\[\]) === [$help.ProxyData](../types/help.ProxyData.md) ***

-$MadelineProto->[help->getRecentMeUrls](help.getRecentMeUrls.md)(\['referer' => [string](../types/string.md), \]) === [$help\_RecentMeUrls](../types/help_RecentMeUrls.md) +$MadelineProto->[help->getRecentMeUrls](help.getRecentMeUrls.md)(\['referer' => [string](../types/string.md), \]) === [$help.RecentMeUrls](../types/help.RecentMeUrls.md) ***

-$MadelineProto->[help->getSupport](help.getSupport.md)(\[\]) === [$help\_Support](../types/help_Support.md) +$MadelineProto->[help->getSupport](help.getSupport.md)(\[\]) === [$help.Support](../types/help.Support.md) ***

-$MadelineProto->[help->getSupportName](help.getSupportName.md)(\[\]) === [$help\_SupportName](../types/help_SupportName.md) +$MadelineProto->[help->getSupportName](help.getSupportName.md)(\[\]) === [$help.SupportName](../types/help.SupportName.md) ***

-$MadelineProto->[help->getTermsOfServiceUpdate](help.getTermsOfServiceUpdate.md)(\[\]) === [$help\_TermsOfServiceUpdate](../types/help_TermsOfServiceUpdate.md) +$MadelineProto->[help->getTermsOfServiceUpdate](help.getTermsOfServiceUpdate.md)(\[\]) === [$help.TermsOfServiceUpdate](../types/help.TermsOfServiceUpdate.md) ***

-$MadelineProto->[help->getUserInfo](help.getUserInfo.md)(\['user_id' => [InputUser](../types/InputUser.md), \]) === [$help\_UserInfo](../types/help_UserInfo.md) +$MadelineProto->[help->getUserInfo](help.getUserInfo.md)(\['user_id' => [InputUser](../types/InputUser.md), \]) === [$help.UserInfo](../types/help.UserInfo.md) ***

@@ -636,11 +636,11 @@ $MadelineProto->[messages->deleteChatUser](messages.deleteChatUser.md)(\['chat_i ***

-$MadelineProto->[messages->deleteHistory](messages.deleteHistory.md)(\['just_clear' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), \]) === [$messages\_AffectedHistory](../types/messages_AffectedHistory.md) +$MadelineProto->[messages->deleteHistory](messages.deleteHistory.md)(\['just_clear' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), \]) === [$messages.AffectedHistory](../types/messages.AffectedHistory.md) ***

-$MadelineProto->[messages->deleteMessages](messages.deleteMessages.md)(\['revoke' => [Bool](../types/Bool.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) +$MadelineProto->[messages->deleteMessages](messages.deleteMessages.md)(\['revoke' => [Bool](../types/Bool.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages.AffectedMessages](../types/messages.AffectedMessages.md) ***

@@ -680,7 +680,7 @@ $MadelineProto->[messages->forwardMessages](messages.forwardMessages.md)(\['sile ***

-$MadelineProto->[messages->getAllChats](messages.getAllChats.md)(\['except_ids' => \[[int](../types/int.md)\], \]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[messages->getAllChats](messages.getAllChats.md)(\['except_ids' => \[[int](../types/int.md)\], \]) === [$messages.Chats](../types/messages.Chats.md) ***

@@ -688,11 +688,11 @@ $MadelineProto->[messages->getAllDrafts](messages.getAllDrafts.md)(\[\]) === [$U ***

-$MadelineProto->[messages->getAllStickers](messages.getAllStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages\_AllStickers](../types/messages_AllStickers.md) +$MadelineProto->[messages->getAllStickers](messages.getAllStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages.AllStickers](../types/messages.AllStickers.md) ***

-$MadelineProto->[messages->getArchivedStickers](messages.getArchivedStickers.md)(\['masks' => [Bool](../types/Bool.md), 'offset_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$messages\_ArchivedStickers](../types/messages_ArchivedStickers.md) +$MadelineProto->[messages->getArchivedStickers](messages.getArchivedStickers.md)(\['masks' => [Bool](../types/Bool.md), 'offset_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$messages.ArchivedStickers](../types/messages.ArchivedStickers.md) ***

@@ -700,19 +700,19 @@ $MadelineProto->[messages->getAttachedStickers](messages.getAttachedStickers.md) ***

-$MadelineProto->[messages->getBotCallbackAnswer](messages.getBotCallbackAnswer.md)(\['game' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'msg_id' => [int](../types/int.md), 'data' => [bytes](../types/bytes.md), \]) === [$messages\_BotCallbackAnswer](../types/messages_BotCallbackAnswer.md) +$MadelineProto->[messages->getBotCallbackAnswer](messages.getBotCallbackAnswer.md)(\['game' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'msg_id' => [int](../types/int.md), 'data' => [bytes](../types/bytes.md), \]) === [$messages.BotCallbackAnswer](../types/messages.BotCallbackAnswer.md) ***

-$MadelineProto->[messages->getChats](messages.getChats.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[messages->getChats](messages.getChats.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages.Chats](../types/messages.Chats.md) ***

-$MadelineProto->[messages->getCommonChats](messages.getCommonChats.md)(\['user_id' => [InputUser](../types/InputUser.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[messages->getCommonChats](messages.getCommonChats.md)(\['user_id' => [InputUser](../types/InputUser.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages.Chats](../types/messages.Chats.md) ***

-$MadelineProto->[messages->getDhConfig](messages.getDhConfig.md)(\['version' => [int](../types/int.md), 'random_length' => [int](../types/int.md), \]) === [$messages\_DhConfig](../types/messages_DhConfig.md) +$MadelineProto->[messages->getDhConfig](messages.getDhConfig.md)(\['version' => [int](../types/int.md), 'random_length' => [int](../types/int.md), \]) === [$messages.DhConfig](../types/messages.DhConfig.md) ***

@@ -720,7 +720,7 @@ $MadelineProto->[messages->getDialogUnreadMarks](messages.getDialogUnreadMarks.m ***

-$MadelineProto->[messages->getDialogs](messages.getDialogs.md)(\['exclude_pinned' => [Bool](../types/Bool.md), 'offset_date' => [int](../types/int.md), 'offset_id' => [int](../types/int.md), 'offset_peer' => [InputPeer](../types/InputPeer.md), 'limit' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$messages\_Dialogs](../types/messages_Dialogs.md) +$MadelineProto->[messages->getDialogs](messages.getDialogs.md)(\['exclude_pinned' => [Bool](../types/Bool.md), 'offset_date' => [int](../types/int.md), 'offset_id' => [int](../types/int.md), 'offset_peer' => [InputPeer](../types/InputPeer.md), 'limit' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$messages.Dialogs](../types/messages.Dialogs.md) ***

@@ -728,43 +728,43 @@ $MadelineProto->[messages->getDocumentByHash](messages.getDocumentByHash.md)(\[' ***

-$MadelineProto->[messages->getFavedStickers](messages.getFavedStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages\_FavedStickers](../types/messages_FavedStickers.md) +$MadelineProto->[messages->getFavedStickers](messages.getFavedStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages.FavedStickers](../types/messages.FavedStickers.md) ***

-$MadelineProto->[messages->getFeaturedStickers](messages.getFeaturedStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages\_FeaturedStickers](../types/messages_FeaturedStickers.md) +$MadelineProto->[messages->getFeaturedStickers](messages.getFeaturedStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages.FeaturedStickers](../types/messages.FeaturedStickers.md) ***

-$MadelineProto->[messages->getFullChat](messages.getFullChat.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), \]) === [$messages\_ChatFull](../types/messages_ChatFull.md) +$MadelineProto->[messages->getFullChat](messages.getFullChat.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), \]) === [$messages.ChatFull](../types/messages.ChatFull.md) ***

-$MadelineProto->[messages->getGameHighScores](messages.getGameHighScores.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages\_HighScores](../types/messages_HighScores.md) +$MadelineProto->[messages->getGameHighScores](messages.getGameHighScores.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages.HighScores](../types/messages.HighScores.md) ***

-$MadelineProto->[messages->getHistory](messages.getHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'offset_date' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->getHistory](messages.getHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'offset_date' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[messages->getInlineBotResults](messages.getInlineBotResults.md)(\['bot' => [InputUser](../types/InputUser.md), 'peer' => [InputPeer](../types/InputPeer.md), 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'query' => [string](../types/string.md), 'offset' => [string](../types/string.md), \]) === [$messages\_BotResults](../types/messages_BotResults.md) +$MadelineProto->[messages->getInlineBotResults](messages.getInlineBotResults.md)(\['bot' => [InputUser](../types/InputUser.md), 'peer' => [InputPeer](../types/InputPeer.md), 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'query' => [string](../types/string.md), 'offset' => [string](../types/string.md), \]) === [$messages.BotResults](../types/messages.BotResults.md) ***

-$MadelineProto->[messages->getInlineGameHighScores](messages.getInlineGameHighScores.md)(\['id' => [InputBotInlineMessageID](../types/InputBotInlineMessageID.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages\_HighScores](../types/messages_HighScores.md) +$MadelineProto->[messages->getInlineGameHighScores](messages.getInlineGameHighScores.md)(\['id' => [InputBotInlineMessageID](../types/InputBotInlineMessageID.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages.HighScores](../types/messages.HighScores.md) ***

-$MadelineProto->[messages->getMaskStickers](messages.getMaskStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages\_AllStickers](../types/messages_AllStickers.md) +$MadelineProto->[messages->getMaskStickers](messages.getMaskStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages.AllStickers](../types/messages.AllStickers.md) ***

-$MadelineProto->[messages->getMessageEditData](messages.getMessageEditData.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), \]) === [$messages\_MessageEditData](../types/messages_MessageEditData.md) +$MadelineProto->[messages->getMessageEditData](messages.getMessageEditData.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), \]) === [$messages.MessageEditData](../types/messages.MessageEditData.md) ***

-$MadelineProto->[messages->getMessages](messages.getMessages.md)(\['id' => \[[InputMessage](../types/InputMessage.md)\], \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->getMessages](messages.getMessages.md)(\['id' => \[[InputMessage](../types/InputMessage.md)\], \]) === [$messages.Messages](../types/messages.Messages.md) ***

@@ -772,7 +772,7 @@ $MadelineProto->[messages->getMessagesViews](messages.getMessagesViews.md)(\['pe ***

-$MadelineProto->[messages->getPeerDialogs](messages.getPeerDialogs.md)(\['peers' => \[[InputDialogPeer](../types/InputDialogPeer.md)\], \]) === [$messages\_PeerDialogs](../types/messages_PeerDialogs.md) +$MadelineProto->[messages->getPeerDialogs](messages.getPeerDialogs.md)(\['peers' => \[[InputDialogPeer](../types/InputDialogPeer.md)\], \]) === [$messages.PeerDialogs](../types/messages.PeerDialogs.md) ***

@@ -780,19 +780,19 @@ $MadelineProto->[messages->getPeerSettings](messages.getPeerSettings.md)(\['peer ***

-$MadelineProto->[messages->getPinnedDialogs](messages.getPinnedDialogs.md)(\[\]) === [$messages\_PeerDialogs](../types/messages_PeerDialogs.md) +$MadelineProto->[messages->getPinnedDialogs](messages.getPinnedDialogs.md)(\[\]) === [$messages.PeerDialogs](../types/messages.PeerDialogs.md) ***

-$MadelineProto->[messages->getRecentLocations](messages.getRecentLocations.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'limit' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->getRecentLocations](messages.getRecentLocations.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'limit' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[messages->getRecentStickers](messages.getRecentStickers.md)(\['attached' => [Bool](../types/Bool.md), 'hash' => [int](../types/int.md), \]) === [$messages\_RecentStickers](../types/messages_RecentStickers.md) +$MadelineProto->[messages->getRecentStickers](messages.getRecentStickers.md)(\['attached' => [Bool](../types/Bool.md), 'hash' => [int](../types/int.md), \]) === [$messages.RecentStickers](../types/messages.RecentStickers.md) ***

-$MadelineProto->[messages->getSavedGifs](messages.getSavedGifs.md)(\['hash' => [int](../types/int.md), \]) === [$messages\_SavedGifs](../types/messages_SavedGifs.md) +$MadelineProto->[messages->getSavedGifs](messages.getSavedGifs.md)(\['hash' => [int](../types/int.md), \]) === [$messages.SavedGifs](../types/messages.SavedGifs.md) ***

@@ -800,15 +800,15 @@ $MadelineProto->[messages->getSplitRanges](messages.getSplitRanges.md)(\[\]) === ***

-$MadelineProto->[messages->getStickerSet](messages.getStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), \]) === [$messages\_StickerSet](../types/messages_StickerSet.md) +$MadelineProto->[messages->getStickerSet](messages.getStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), \]) === [$messages.StickerSet](../types/messages.StickerSet.md) ***

-$MadelineProto->[messages->getStickers](messages.getStickers.md)(\['emoticon' => [string](../types/string.md), 'hash' => [int](../types/int.md), \]) === [$messages\_Stickers](../types/messages_Stickers.md) +$MadelineProto->[messages->getStickers](messages.getStickers.md)(\['emoticon' => [string](../types/string.md), 'hash' => [int](../types/int.md), \]) === [$messages.Stickers](../types/messages.Stickers.md) ***

-$MadelineProto->[messages->getUnreadMentions](messages.getUnreadMentions.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->getUnreadMentions](messages.getUnreadMentions.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

@@ -828,7 +828,7 @@ $MadelineProto->[messages->importChatInvite](messages.importChatInvite.md)(\['ha ***

-$MadelineProto->[messages->installStickerSet](messages.installStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), 'archived' => [Bool](../types/Bool.md), \]) === [$messages\_StickerSetInstallResult](../types/messages_StickerSetInstallResult.md) +$MadelineProto->[messages->installStickerSet](messages.installStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), 'archived' => [Bool](../types/Bool.md), \]) === [$messages.StickerSetInstallResult](../types/messages.StickerSetInstallResult.md) ***

@@ -848,15 +848,15 @@ $MadelineProto->[messages->readFeaturedStickers](messages.readFeaturedStickers.m ***

-$MadelineProto->[messages->readHistory](messages.readHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), \]) === [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) +$MadelineProto->[messages->readHistory](messages.readHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), \]) === [$messages.AffectedMessages](../types/messages.AffectedMessages.md) ***

-$MadelineProto->[messages->readMentions](messages.readMentions.md)(\['peer' => [InputPeer](../types/InputPeer.md), \]) === [$messages\_AffectedHistory](../types/messages_AffectedHistory.md) +$MadelineProto->[messages->readMentions](messages.readMentions.md)(\['peer' => [InputPeer](../types/InputPeer.md), \]) === [$messages.AffectedHistory](../types/messages.AffectedHistory.md) ***

-$MadelineProto->[messages->readMessageContents](messages.readMessageContents.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) +$MadelineProto->[messages->readMessageContents](messages.readMessageContents.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages.AffectedMessages](../types/messages.AffectedMessages.md) ***

@@ -904,31 +904,31 @@ $MadelineProto->[messages->saveRecentSticker](messages.saveRecentSticker.md)(\[' ***

-$MadelineProto->[messages->search](messages.search.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'q' => [string](../types/string.md), 'from_id' => [InputUser](../types/InputUser.md), 'filter' => [MessagesFilter](../types/MessagesFilter.md), 'min_date' => [int](../types/int.md), 'max_date' => [int](../types/int.md), 'offset_id' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->search](messages.search.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'q' => [string](../types/string.md), 'from_id' => [InputUser](../types/InputUser.md), 'filter' => [MessagesFilter](../types/MessagesFilter.md), 'min_date' => [int](../types/int.md), 'max_date' => [int](../types/int.md), 'offset_id' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[messages->searchGifs](messages.searchGifs.md)(\['q' => [string](../types/string.md), 'offset' => [int](../types/int.md), \]) === [$messages\_FoundGifs](../types/messages_FoundGifs.md) +$MadelineProto->[messages->searchGifs](messages.searchGifs.md)(\['q' => [string](../types/string.md), 'offset' => [int](../types/int.md), \]) === [$messages.FoundGifs](../types/messages.FoundGifs.md) ***

-$MadelineProto->[messages->searchGlobal](messages.searchGlobal.md)(\['q' => [string](../types/string.md), 'offset_date' => [int](../types/int.md), 'offset_peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->searchGlobal](messages.searchGlobal.md)(\['q' => [string](../types/string.md), 'offset_date' => [int](../types/int.md), 'offset_peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[messages->searchStickerSets](messages.searchStickerSets.md)(\['exclude_featured' => [Bool](../types/Bool.md), 'q' => [string](../types/string.md), 'hash' => [int](../types/int.md), \]) === [$messages\_FoundStickerSets](../types/messages_FoundStickerSets.md) +$MadelineProto->[messages->searchStickerSets](messages.searchStickerSets.md)(\['exclude_featured' => [Bool](../types/Bool.md), 'q' => [string](../types/string.md), 'hash' => [int](../types/int.md), \]) === [$messages.FoundStickerSets](../types/messages.FoundStickerSets.md) ***

-$MadelineProto->[messages->sendEncrypted](messages.sendEncrypted.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'message' => [DecryptedMessage](../types/DecryptedMessage.md), \]) === [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +$MadelineProto->[messages->sendEncrypted](messages.sendEncrypted.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), \]) === [$messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ***

-$MadelineProto->[messages->sendEncryptedFile](messages.sendEncryptedFile.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'message' => [DecryptedMessage](../types/DecryptedMessage.md), 'file' => [InputEncryptedFile](../types/InputEncryptedFile.md), \]) === [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +$MadelineProto->[messages->sendEncryptedFile](messages.sendEncryptedFile.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), 'file' => [InputEncryptedFile](../types/InputEncryptedFile.md), \]) === [$messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ***

-$MadelineProto->[messages->sendEncryptedService](messages.sendEncryptedService.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'message' => [DecryptedMessage](../types/DecryptedMessage.md), \]) === [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +$MadelineProto->[messages->sendEncryptedService](messages.sendEncryptedService.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), \]) === [$messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ***

@@ -1016,31 +1016,31 @@ $MadelineProto->[payments->clearSavedInfo](payments.clearSavedInfo.md)(\['creden ***

-$MadelineProto->[payments->getPaymentForm](payments.getPaymentForm.md)(\['msg_id' => [int](../types/int.md), \]) === [$payments\_PaymentForm](../types/payments_PaymentForm.md) +$MadelineProto->[payments->getPaymentForm](payments.getPaymentForm.md)(\['msg_id' => [int](../types/int.md), \]) === [$payments.PaymentForm](../types/payments.PaymentForm.md) ***

-$MadelineProto->[payments->getPaymentReceipt](payments.getPaymentReceipt.md)(\['msg_id' => [int](../types/int.md), \]) === [$payments\_PaymentReceipt](../types/payments_PaymentReceipt.md) +$MadelineProto->[payments->getPaymentReceipt](payments.getPaymentReceipt.md)(\['msg_id' => [int](../types/int.md), \]) === [$payments.PaymentReceipt](../types/payments.PaymentReceipt.md) ***

-$MadelineProto->[payments->getSavedInfo](payments.getSavedInfo.md)(\[\]) === [$payments\_SavedInfo](../types/payments_SavedInfo.md) +$MadelineProto->[payments->getSavedInfo](payments.getSavedInfo.md)(\[\]) === [$payments.SavedInfo](../types/payments.SavedInfo.md) ***

-$MadelineProto->[payments->sendPaymentForm](payments.sendPaymentForm.md)(\['msg_id' => [int](../types/int.md), 'requested_info_id' => [string](../types/string.md), 'shipping_option_id' => [string](../types/string.md), 'credentials' => [InputPaymentCredentials](../types/InputPaymentCredentials.md), \]) === [$payments\_PaymentResult](../types/payments_PaymentResult.md) +$MadelineProto->[payments->sendPaymentForm](payments.sendPaymentForm.md)(\['msg_id' => [int](../types/int.md), 'requested_info_id' => [string](../types/string.md), 'shipping_option_id' => [string](../types/string.md), 'credentials' => [InputPaymentCredentials](../types/InputPaymentCredentials.md), \]) === [$payments.PaymentResult](../types/payments.PaymentResult.md) ***

-$MadelineProto->[payments->validateRequestedInfo](payments.validateRequestedInfo.md)(\['save' => [Bool](../types/Bool.md), 'msg_id' => [int](../types/int.md), 'info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), \]) === [$payments\_ValidatedRequestedInfo](../types/payments_ValidatedRequestedInfo.md) +$MadelineProto->[payments->validateRequestedInfo](payments.validateRequestedInfo.md)(\['save' => [Bool](../types/Bool.md), 'msg_id' => [int](../types/int.md), 'info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), \]) === [$payments.ValidatedRequestedInfo](../types/payments.ValidatedRequestedInfo.md) ***

-$MadelineProto->[phone->acceptCall](phone.acceptCall.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'g_b' => [bytes](../types/bytes.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone\_PhoneCall](../types/phone_PhoneCall.md) +$MadelineProto->[phone->acceptCall](phone.acceptCall.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'g_b' => [bytes](../types/bytes.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone.PhoneCall](../types/phone.PhoneCall.md) ***

-$MadelineProto->[phone->confirmCall](phone.confirmCall.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'g_a' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone\_PhoneCall](../types/phone_PhoneCall.md) +$MadelineProto->[phone->confirmCall](phone.confirmCall.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'g_a' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone.PhoneCall](../types/phone.PhoneCall.md) ***

@@ -1056,7 +1056,7 @@ $MadelineProto->[phone->receivedCall](phone.receivedCall.md)(\['peer' => [InputP ***

-$MadelineProto->[phone->requestCall](phone.requestCall.md)(\['user_id' => [InputUser](../types/InputUser.md), 'g_a_hash' => [bytes](../types/bytes.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone\_PhoneCall](../types/phone_PhoneCall.md) +$MadelineProto->[phone->requestCall](phone.requestCall.md)(\['user_id' => [InputUser](../types/InputUser.md), 'g_a_hash' => [bytes](../types/bytes.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone.PhoneCall](../types/phone.PhoneCall.md) ***

@@ -1072,7 +1072,7 @@ $MadelineProto->[photos->deletePhotos](photos.deletePhotos.md)(\['id' => \[[Inpu ***

-$MadelineProto->[photos->getUserPhotos](photos.getUserPhotos.md)(\['user_id' => [InputUser](../types/InputUser.md), 'offset' => [int](../types/int.md), 'max_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$photos\_Photos](../types/photos_Photos.md) +$MadelineProto->[photos->getUserPhotos](photos.getUserPhotos.md)(\['user_id' => [InputUser](../types/InputUser.md), 'offset' => [int](../types/int.md), 'max_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$photos.Photos](../types/photos.Photos.md) ***

@@ -1080,39 +1080,39 @@ $MadelineProto->[photos->updateProfilePhoto](photos.updateProfilePhoto.md)(\['id ***

-$MadelineProto->[photos->uploadProfilePhoto](photos.uploadProfilePhoto.md)(\['file' => [InputFile](../types/InputFile.md), \]) === [$photos\_Photo](../types/photos_Photo.md) +$MadelineProto->[photos->uploadProfilePhoto](photos.uploadProfilePhoto.md)(\['file' => [InputFile](../types/InputFile.md), \]) === [$photos.Photo](../types/photos.Photo.md) ***

-$MadelineProto->[stickers->addStickerToSet](stickers.addStickerToSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), 'sticker' => [InputStickerSetItem](../types/InputStickerSetItem.md), \]) === [$messages\_StickerSet](../types/messages_StickerSet.md) +$MadelineProto->[stickers->addStickerToSet](stickers.addStickerToSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), 'sticker' => [InputStickerSetItem](../types/InputStickerSetItem.md), \]) === [$messages.StickerSet](../types/messages.StickerSet.md) ***

-$MadelineProto->[stickers->changeStickerPosition](stickers.changeStickerPosition.md)(\['sticker' => [InputDocument](../types/InputDocument.md), 'position' => [int](../types/int.md), \]) === [$messages\_StickerSet](../types/messages_StickerSet.md) +$MadelineProto->[stickers->changeStickerPosition](stickers.changeStickerPosition.md)(\['sticker' => [InputDocument](../types/InputDocument.md), 'position' => [int](../types/int.md), \]) === [$messages.StickerSet](../types/messages.StickerSet.md) ***

-$MadelineProto->[stickers->createStickerSet](stickers.createStickerSet.md)(\['masks' => [Bool](../types/Bool.md), 'user_id' => [InputUser](../types/InputUser.md), 'title' => [string](../types/string.md), 'short_name' => [string](../types/string.md), 'stickers' => \[[InputStickerSetItem](../types/InputStickerSetItem.md)\], \]) === [$messages\_StickerSet](../types/messages_StickerSet.md) +$MadelineProto->[stickers->createStickerSet](stickers.createStickerSet.md)(\['masks' => [Bool](../types/Bool.md), 'user_id' => [InputUser](../types/InputUser.md), 'title' => [string](../types/string.md), 'short_name' => [string](../types/string.md), 'stickers' => \[[InputStickerSetItem](../types/InputStickerSetItem.md)\], \]) === [$messages.StickerSet](../types/messages.StickerSet.md) ***

-$MadelineProto->[stickers->removeStickerFromSet](stickers.removeStickerFromSet.md)(\['sticker' => [InputDocument](../types/InputDocument.md), \]) === [$messages\_StickerSet](../types/messages_StickerSet.md) +$MadelineProto->[stickers->removeStickerFromSet](stickers.removeStickerFromSet.md)(\['sticker' => [InputDocument](../types/InputDocument.md), \]) === [$messages.StickerSet](../types/messages.StickerSet.md) ***

-$MadelineProto->[updates->getChannelDifference](updates.getChannelDifference.md)(\['force' => [Bool](../types/Bool.md), 'channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$updates\_ChannelDifference](../types/updates_ChannelDifference.md) +$MadelineProto->[updates->getChannelDifference](updates.getChannelDifference.md)(\['force' => [Bool](../types/Bool.md), 'channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$updates.ChannelDifference](../types/updates.ChannelDifference.md) ***

-$MadelineProto->[updates->getDifference](updates.getDifference.md)(\['pts' => [int](../types/int.md), 'pts_total_limit' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) === [$updates\_Difference](../types/updates_Difference.md) +$MadelineProto->[updates->getDifference](updates.getDifference.md)(\['pts' => [int](../types/int.md), 'pts_total_limit' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) === [$updates.Difference](../types/updates.Difference.md) ***

-$MadelineProto->[updates->getState](updates.getState.md)(\[\]) === [$updates\_State](../types/updates_State.md) +$MadelineProto->[updates->getState](updates.getState.md)(\[\]) === [$updates.State](../types/updates.State.md) ***

-$MadelineProto->[upload->getCdnFile](upload.getCdnFile.md)(\['file_token' => [bytes](../types/bytes.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_CdnFile](../types/upload_CdnFile.md) +$MadelineProto->[upload->getCdnFile](upload.getCdnFile.md)(\['file_token' => [bytes](../types/bytes.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload.CdnFile](../types/upload.CdnFile.md) ***

@@ -1120,7 +1120,7 @@ $MadelineProto->[upload->getCdnFileHashes](upload.getCdnFileHashes.md)(\['file_t ***

-$MadelineProto->[upload->getFile](upload.getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_File](../types/upload_File.md) +$MadelineProto->[upload->getFile](upload.getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload.File](../types/upload.File.md) ***

@@ -1128,7 +1128,7 @@ $MadelineProto->[upload->getFileHashes](upload.getFileHashes.md)(\['location' => ***

-$MadelineProto->[upload->getWebFile](upload.getWebFile.md)(\['location' => [InputWebFileLocation](../types/InputWebFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_WebFile](../types/upload_WebFile.md) +$MadelineProto->[upload->getWebFile](upload.getWebFile.md)(\['location' => [InputWebFileLocation](../types/InputWebFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload.WebFile](../types/upload.WebFile.md) ***

diff --git a/old_docs/API_docs_v89/methods/auth.checkPassword.md b/old_docs/API_docs_v89/methods/auth.checkPassword.md index ad2a88a2..510e6c03 100644 --- a/old_docs/API_docs_v89/methods/auth.checkPassword.md +++ b/old_docs/API_docs_v89/methods/auth.checkPassword.md @@ -16,7 +16,7 @@ You cannot use this method directly, use the complete_2fa_login method instead ( |password|[InputCheckPasswordSRP](../types/InputCheckPasswordSRP.md) | You cannot use this method directly, use the complete_2fa_login method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->checkPassword(['password' => InputCheckPasswordSRP, ]); +$auth.Authorization = $MadelineProto->auth->checkPassword(['password' => InputCheckPasswordSRP, ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.checkPassword({password=InputCheckPasswordSRP, }) +auth.Authorization = auth.checkPassword({password=InputCheckPasswordSRP, }) ``` ### Errors diff --git a/old_docs/API_docs_v89/methods/auth.exportAuthorization.md b/old_docs/API_docs_v89/methods/auth.exportAuthorization.md index 72063a2b..41a1f87d 100644 --- a/old_docs/API_docs_v89/methods/auth.exportAuthorization.md +++ b/old_docs/API_docs_v89/methods/auth.exportAuthorization.md @@ -16,7 +16,7 @@ You cannot use this method directly, use $MadelineProto->exportAuthorization() i |dc\_id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| -### Return type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) +### Return type: [auth.ExportedAuthorization](../types/auth.ExportedAuthorization.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_ExportedAuthorization = $MadelineProto->auth->exportAuthorization(['dc_id' => int, ]); +$auth.ExportedAuthorization = $MadelineProto->auth->exportAuthorization(['dc_id' => int, ]); ``` Or, if you're into Lua: ```lua -auth_ExportedAuthorization = auth.exportAuthorization({dc_id=int, }) +auth.ExportedAuthorization = auth.exportAuthorization({dc_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v89/methods/auth.importAuthorization.md b/old_docs/API_docs_v89/methods/auth.importAuthorization.md index d9c13751..5257e0b0 100644 --- a/old_docs/API_docs_v89/methods/auth.importAuthorization.md +++ b/old_docs/API_docs_v89/methods/auth.importAuthorization.md @@ -17,7 +17,7 @@ You cannot use this method directly, use $MadelineProto->importAuthorization($au |bytes|[bytes](../types/bytes.md) | You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => 'bytes', ]); +$auth.Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.importAuthorization({id=int, bytes='bytes', }) +auth.Authorization = auth.importAuthorization({id=int, bytes='bytes', }) ``` ### Errors diff --git a/old_docs/API_docs_v89/methods/auth.importBotAuthorization.md b/old_docs/API_docs_v89/methods/auth.importBotAuthorization.md index 3161d6be..a4ea8027 100644 --- a/old_docs/API_docs_v89/methods/auth.importBotAuthorization.md +++ b/old_docs/API_docs_v89/methods/auth.importBotAuthorization.md @@ -18,7 +18,7 @@ You cannot use this method directly, use the botLogin method instead (see https: |bot\_auth\_token|[string](../types/string.md) | You cannot use this method directly, use the botLogin method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **YES** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->importBotAuthorization(['api_id' => int, 'api_hash' => 'string', 'bot_auth_token' => 'string', ]); +$auth.Authorization = $MadelineProto->auth->importBotAuthorization(['api_id' => int, 'api_hash' => 'string', 'bot_auth_token' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.importBotAuthorization({api_id=int, api_hash='string', bot_auth_token='string', }) +auth.Authorization = auth.importBotAuthorization({api_id=int, api_hash='string', bot_auth_token='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v89/methods/auth.recoverPassword.md b/old_docs/API_docs_v89/methods/auth.recoverPassword.md index f7cbf4a4..2e78444b 100644 --- a/old_docs/API_docs_v89/methods/auth.recoverPassword.md +++ b/old_docs/API_docs_v89/methods/auth.recoverPassword.md @@ -16,7 +16,7 @@ Reset the [2FA password](https://core.telegram.org/api/srp) using the recovery c |code|[string](../types/string.md) | Code received via email | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->recoverPassword(['code' => 'string', ]); +$auth.Authorization = $MadelineProto->auth->recoverPassword(['code' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.recoverPassword({code='string', }) +auth.Authorization = auth.recoverPassword({code='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v89/methods/auth.requestPasswordRecovery.md b/old_docs/API_docs_v89/methods/auth.requestPasswordRecovery.md index 5cd77936..ff1ecc02 100644 --- a/old_docs/API_docs_v89/methods/auth.requestPasswordRecovery.md +++ b/old_docs/API_docs_v89/methods/auth.requestPasswordRecovery.md @@ -11,7 +11,7 @@ Request recovery code of a [2FA password](https://core.telegram.org/api/srp), on -### Return type: [auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) +### Return type: [auth.PasswordRecovery](../types/auth.PasswordRecovery.md) ### Can bots use this method: **NO** @@ -28,13 +28,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_PasswordRecovery = $MadelineProto->auth->requestPasswordRecovery(); +$auth.PasswordRecovery = $MadelineProto->auth->requestPasswordRecovery(); ``` Or, if you're into Lua: ```lua -auth_PasswordRecovery = auth.requestPasswordRecovery({}) +auth.PasswordRecovery = auth.requestPasswordRecovery({}) ``` ### Errors diff --git a/old_docs/API_docs_v89/methods/auth.resendCode.md b/old_docs/API_docs_v89/methods/auth.resendCode.md index a395a91b..f59f1b7b 100644 --- a/old_docs/API_docs_v89/methods/auth.resendCode.md +++ b/old_docs/API_docs_v89/methods/auth.resendCode.md @@ -17,7 +17,7 @@ Resend the login code via another medium, the phone code type is determined by t |phone\_code\_hash|[string](../types/string.md) | The phone code hash obtained from [auth.sendCode](../methods/auth.sendCode.md) | Yes| -### Return type: [auth\_SentCode](../types/auth_SentCode.md) +### Return type: [auth.SentCode](../types/auth.SentCode.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_SentCode = $MadelineProto->auth->resendCode(['phone_number' => 'string', 'phone_code_hash' => 'string', ]); +$auth.SentCode = $MadelineProto->auth->resendCode(['phone_number' => 'string', 'phone_code_hash' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_SentCode = auth.resendCode({phone_number='string', phone_code_hash='string', }) +auth.SentCode = auth.resendCode({phone_number='string', phone_code_hash='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v89/methods/auth.sendCode.md b/old_docs/API_docs_v89/methods/auth.sendCode.md index bd922a48..0c818fbb 100644 --- a/old_docs/API_docs_v89/methods/auth.sendCode.md +++ b/old_docs/API_docs_v89/methods/auth.sendCode.md @@ -20,7 +20,7 @@ You cannot use this method directly, use the phoneLogin method instead (see http |api\_hash|[string](../types/string.md) | You cannot use this method directly, use the phoneLogin method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_SentCode](../types/auth_SentCode.md) +### Return type: [auth.SentCode](../types/auth.SentCode.md) ### Can bots use this method: **NO** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_SentCode = $MadelineProto->auth->sendCode(['allow_flashcall' => Bool, 'phone_number' => 'string', 'current_number' => Bool, 'api_id' => int, 'api_hash' => 'string', ]); +$auth.SentCode = $MadelineProto->auth->sendCode(['allow_flashcall' => Bool, 'phone_number' => 'string', 'current_number' => Bool, 'api_id' => int, 'api_hash' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_SentCode = auth.sendCode({allow_flashcall=Bool, phone_number='string', current_number=Bool, api_id=int, api_hash='string', }) +auth.SentCode = auth.sendCode({allow_flashcall=Bool, phone_number='string', current_number=Bool, api_id=int, api_hash='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v89/methods/auth.signIn.md b/old_docs/API_docs_v89/methods/auth.signIn.md index 54812a2e..95b14f32 100644 --- a/old_docs/API_docs_v89/methods/auth.signIn.md +++ b/old_docs/API_docs_v89/methods/auth.signIn.md @@ -18,7 +18,7 @@ You cannot use this method directly, use the completePhoneLogin method instead ( |phone\_code|[string](../types/string.md) | You cannot use this method directly, use the completePhoneLogin method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->signIn(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', ]); +$auth.Authorization = $MadelineProto->auth->signIn(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.signIn({phone_number='string', phone_code_hash='string', phone_code='string', }) +auth.Authorization = auth.signIn({phone_number='string', phone_code_hash='string', phone_code='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v89/methods/auth.signUp.md b/old_docs/API_docs_v89/methods/auth.signUp.md index 2aca2bfa..fdb5d628 100644 --- a/old_docs/API_docs_v89/methods/auth.signUp.md +++ b/old_docs/API_docs_v89/methods/auth.signUp.md @@ -20,7 +20,7 @@ You cannot use this method directly, use the completeSignup method instead (see |last\_name|[string](../types/string.md) | You cannot use this method directly, use the completeSignup method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **NO** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->signUp(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', 'first_name' => 'string', 'last_name' => 'string', ]); +$auth.Authorization = $MadelineProto->auth->signUp(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', 'first_name' => 'string', 'last_name' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.signUp({phone_number='string', phone_code_hash='string', phone_code='string', first_name='string', last_name='string', }) +auth.Authorization = auth.signUp({phone_number='string', phone_code_hash='string', phone_code='string', first_name='string', last_name='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v89/methods/channels.deleteMessages.md b/old_docs/API_docs_v89/methods/channels.deleteMessages.md index 10a439fb..8583e560 100644 --- a/old_docs/API_docs_v89/methods/channels.deleteMessages.md +++ b/old_docs/API_docs_v89/methods/channels.deleteMessages.md @@ -17,7 +17,7 @@ Delete messages in a [channel/supergroup](https://core.telegram.org/api/channel) |id|Array of [int](../types/int.md) | The IDs of messages to delete | Yes| -### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) +### Return type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedMessages = $MadelineProto->channels->deleteMessages(['channel' => InputChannel, 'id' => [int, int], ]); +$messages.AffectedMessages = $MadelineProto->channels->deleteMessages(['channel' => InputChannel, 'id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AffectedMessages = channels.deleteMessages({channel=InputChannel, id={int}, }) +messages.AffectedMessages = channels.deleteMessages({channel=InputChannel, id={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v89/methods/channels.deleteUserHistory.md b/old_docs/API_docs_v89/methods/channels.deleteUserHistory.md index 9b8b159f..6ccaf7dd 100644 --- a/old_docs/API_docs_v89/methods/channels.deleteUserHistory.md +++ b/old_docs/API_docs_v89/methods/channels.deleteUserHistory.md @@ -17,7 +17,7 @@ Delete all messages sent by a certain user in a [supergroup](https://core.telegr |user\_id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | User whose messages should be deleted | Optional| -### Return type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) +### Return type: [messages.AffectedHistory](../types/messages.AffectedHistory.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedHistory = $MadelineProto->channels->deleteUserHistory(['channel' => InputChannel, 'user_id' => InputUser, ]); +$messages.AffectedHistory = $MadelineProto->channels->deleteUserHistory(['channel' => InputChannel, 'user_id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -messages_AffectedHistory = channels.deleteUserHistory({channel=InputChannel, user_id=InputUser, }) +messages.AffectedHistory = channels.deleteUserHistory({channel=InputChannel, user_id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v89/methods/channels.getAdminLog.md b/old_docs/API_docs_v89/methods/channels.getAdminLog.md index e149f653..3b550a73 100644 --- a/old_docs/API_docs_v89/methods/channels.getAdminLog.md +++ b/old_docs/API_docs_v89/methods/channels.getAdminLog.md @@ -22,7 +22,7 @@ Get the admin log of a [channel/supergroup](https://core.telegram.org/api/channe |limit|[int](../types/int.md) | Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets) | Yes| -### Return type: [channels\_AdminLogResults](../types/channels_AdminLogResults.md) +### Return type: [channels.AdminLogResults](../types/channels.AdminLogResults.md) ### Can bots use this method: **NO** @@ -39,13 +39,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$channels_AdminLogResults = $MadelineProto->channels->getAdminLog(['channel' => InputChannel, 'q' => 'string', 'events_filter' => ChannelAdminLogEventsFilter, 'admins' => [InputUser, InputUser], 'max_id' => long, 'min_id' => long, 'limit' => int, ]); +$channels.AdminLogResults = $MadelineProto->channels->getAdminLog(['channel' => InputChannel, 'q' => 'string', 'events_filter' => ChannelAdminLogEventsFilter, 'admins' => [InputUser, InputUser], 'max_id' => long, 'min_id' => long, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -channels_AdminLogResults = channels.getAdminLog({channel=InputChannel, q='string', events_filter=ChannelAdminLogEventsFilter, admins={InputUser}, max_id=long, min_id=long, limit=int, }) +channels.AdminLogResults = channels.getAdminLog({channel=InputChannel, q='string', events_filter=ChannelAdminLogEventsFilter, admins={InputUser}, max_id=long, min_id=long, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v89/methods/channels.getAdminedPublicChannels.md b/old_docs/API_docs_v89/methods/channels.getAdminedPublicChannels.md index 55a686ca..eb277404 100644 --- a/old_docs/API_docs_v89/methods/channels.getAdminedPublicChannels.md +++ b/old_docs/API_docs_v89/methods/channels.getAdminedPublicChannels.md @@ -11,7 +11,7 @@ Get [channels/supergroups/geogroups](https://core.telegram.org/api/channel) we'r -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->channels->getAdminedPublicChannels(); +$messages.Chats = $MadelineProto->channels->getAdminedPublicChannels(); ``` Or, if you're into Lua: ```lua -messages_Chats = channels.getAdminedPublicChannels({}) +messages.Chats = channels.getAdminedPublicChannels({}) ``` diff --git a/old_docs/API_docs_v89/methods/channels.getChannels.md b/old_docs/API_docs_v89/methods/channels.getChannels.md index 368c96ce..ed9cf4a7 100644 --- a/old_docs/API_docs_v89/methods/channels.getChannels.md +++ b/old_docs/API_docs_v89/methods/channels.getChannels.md @@ -16,7 +16,7 @@ Get info about [channels/supergroups](https://core.telegram.org/api/channel) |id|Array of [Username, chat ID, Update, Message or InputChannel](../types/InputChannel.md) | The channel/supergroup MTProto IDs | Yes| -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->channels->getChannels(['id' => [InputChannel, InputChannel], ]); +$messages.Chats = $MadelineProto->channels->getChannels(['id' => [InputChannel, InputChannel], ]); ``` Or, if you're into Lua: ```lua -messages_Chats = channels.getChannels({id={InputChannel}, }) +messages.Chats = channels.getChannels({id={InputChannel}, }) ``` ### Errors diff --git a/old_docs/API_docs_v89/methods/channels.getFullChannel.md b/old_docs/API_docs_v89/methods/channels.getFullChannel.md index 08dc21bb..1369e0a0 100644 --- a/old_docs/API_docs_v89/methods/channels.getFullChannel.md +++ b/old_docs/API_docs_v89/methods/channels.getFullChannel.md @@ -16,7 +16,7 @@ You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo me |channel|[Username, chat ID, Update, Message or InputChannel](../types/InputChannel.md) | You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo methods instead (see https://docs.madelineproto.xyz for more info) | Optional| -### Return type: [messages\_ChatFull](../types/messages_ChatFull.md) +### Return type: [messages.ChatFull](../types/messages.ChatFull.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_ChatFull = $MadelineProto->channels->getFullChannel(['channel' => InputChannel, ]); +$messages.ChatFull = $MadelineProto->channels->getFullChannel(['channel' => InputChannel, ]); ``` Or, if you're into Lua: ```lua -messages_ChatFull = channels.getFullChannel({channel=InputChannel, }) +messages.ChatFull = channels.getFullChannel({channel=InputChannel, }) ``` ### Errors diff --git a/old_docs/API_docs_v89/methods/channels.getLeftChannels.md b/old_docs/API_docs_v89/methods/channels.getLeftChannels.md index a5bcda2c..5a132204 100644 --- a/old_docs/API_docs_v89/methods/channels.getLeftChannels.md +++ b/old_docs/API_docs_v89/methods/channels.getLeftChannels.md @@ -16,7 +16,7 @@ Get a list of [channels/supergroups](https://core.telegram.org/api/channel) we l |offset|[int](../types/int.md) | Offset for [pagination](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->channels->getLeftChannels(['offset' => int, ]); +$messages.Chats = $MadelineProto->channels->getLeftChannels(['offset' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Chats = channels.getLeftChannels({offset=int, }) +messages.Chats = channels.getLeftChannels({offset=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v89/methods/channels.getMessages.md b/old_docs/API_docs_v89/methods/channels.getMessages.md index 428734e3..708e404a 100644 --- a/old_docs/API_docs_v89/methods/channels.getMessages.md +++ b/old_docs/API_docs_v89/methods/channels.getMessages.md @@ -17,7 +17,7 @@ Get [channel/supergroup](https://core.telegram.org/api/channel) messages |id|Array of [Message ID or InputMessage](../types/InputMessage.md) | The message IDs | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->channels->getMessages(['channel' => InputChannel, 'id' => [InputMessage, InputMessage], ]); +$messages.Messages = $MadelineProto->channels->getMessages(['channel' => InputChannel, 'id' => [InputMessage, InputMessage], ]); ``` Or, if you're into Lua: ```lua -messages_Messages = channels.getMessages({channel=InputChannel, id={InputMessage}, }) +messages.Messages = channels.getMessages({channel=InputChannel, id={InputMessage}, }) ``` ### Errors diff --git a/old_docs/API_docs_v89/methods/channels.getParticipant.md b/old_docs/API_docs_v89/methods/channels.getParticipant.md index aa2ce655..cf6a7771 100644 --- a/old_docs/API_docs_v89/methods/channels.getParticipant.md +++ b/old_docs/API_docs_v89/methods/channels.getParticipant.md @@ -17,7 +17,7 @@ Get info about a [channel/supergroup](https://core.telegram.org/api/channel) par |user\_id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | ID of participant to get info about | Optional| -### Return type: [channels\_ChannelParticipant](../types/channels_ChannelParticipant.md) +### Return type: [channels.ChannelParticipant](../types/channels.ChannelParticipant.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$channels_ChannelParticipant = $MadelineProto->channels->getParticipant(['channel' => InputChannel, 'user_id' => InputUser, ]); +$channels.ChannelParticipant = $MadelineProto->channels->getParticipant(['channel' => InputChannel, 'user_id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -channels_ChannelParticipant = channels.getParticipant({channel=InputChannel, user_id=InputUser, }) +channels.ChannelParticipant = channels.getParticipant({channel=InputChannel, user_id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v89/methods/channels.getParticipants.md b/old_docs/API_docs_v89/methods/channels.getParticipants.md index dd7e0087..c6b15b63 100644 --- a/old_docs/API_docs_v89/methods/channels.getParticipants.md +++ b/old_docs/API_docs_v89/methods/channels.getParticipants.md @@ -20,7 +20,7 @@ Get the participants of a channel |hash|Array of [int](../types/int.md) | IDs of previously fetched participants | Optional| -### Return type: [channels\_ChannelParticipants](../types/channels_ChannelParticipants.md) +### Return type: [channels.ChannelParticipants](../types/channels.ChannelParticipants.md) ### Can bots use this method: **YES** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$channels_ChannelParticipants = $MadelineProto->channels->getParticipants(['channel' => InputChannel, 'filter' => ChannelParticipantsFilter, 'offset' => int, 'limit' => int, 'hash' => [int, int], ]); +$channels.ChannelParticipants = $MadelineProto->channels->getParticipants(['channel' => InputChannel, 'filter' => ChannelParticipantsFilter, 'offset' => int, 'limit' => int, 'hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -channels_ChannelParticipants = channels.getParticipants({channel=InputChannel, filter=ChannelParticipantsFilter, offset=int, limit=int, hash={int}, }) +channels.ChannelParticipants = channels.getParticipants({channel=InputChannel, filter=ChannelParticipantsFilter, offset=int, limit=int, hash={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v89/methods/contacts.deleteContact.md b/old_docs/API_docs_v89/methods/contacts.deleteContact.md index a9321d64..9169e1e0 100644 --- a/old_docs/API_docs_v89/methods/contacts.deleteContact.md +++ b/old_docs/API_docs_v89/methods/contacts.deleteContact.md @@ -16,7 +16,7 @@ Delete a contact |id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | The contact to delete | Optional| -### Return type: [contacts\_Link](../types/contacts_Link.md) +### Return type: [contacts.Link](../types/contacts.Link.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Link = $MadelineProto->contacts->deleteContact(['id' => InputUser, ]); +$contacts.Link = $MadelineProto->contacts->deleteContact(['id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -contacts_Link = contacts.deleteContact({id=InputUser, }) +contacts.Link = contacts.deleteContact({id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v89/methods/contacts.getBlocked.md b/old_docs/API_docs_v89/methods/contacts.getBlocked.md index 92f2f331..6ac1c343 100644 --- a/old_docs/API_docs_v89/methods/contacts.getBlocked.md +++ b/old_docs/API_docs_v89/methods/contacts.getBlocked.md @@ -17,7 +17,7 @@ Returns the list of blocked users. |limit|[int](../types/int.md) | The number of list elements to be returned | Yes| -### Return type: [contacts\_Blocked](../types/contacts_Blocked.md) +### Return type: [contacts.Blocked](../types/contacts.Blocked.md) ### Can bots use this method: **NO** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Blocked = $MadelineProto->contacts->getBlocked(['offset' => int, 'limit' => int, ]); +$contacts.Blocked = $MadelineProto->contacts->getBlocked(['offset' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -contacts_Blocked = contacts.getBlocked({offset=int, limit=int, }) +contacts.Blocked = contacts.getBlocked({offset=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v89/methods/contacts.getContacts.md b/old_docs/API_docs_v89/methods/contacts.getContacts.md index c67e6240..609549b0 100644 --- a/old_docs/API_docs_v89/methods/contacts.getContacts.md +++ b/old_docs/API_docs_v89/methods/contacts.getContacts.md @@ -16,7 +16,7 @@ Returns the current user's contact list. |hash|Array of [int](../types/int.md) | User IDs of previously cached contacts | Optional| -### Return type: [contacts\_Contacts](../types/contacts_Contacts.md) +### Return type: [contacts.Contacts](../types/contacts.Contacts.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Contacts = $MadelineProto->contacts->getContacts(['hash' => [int, int], ]); +$contacts.Contacts = $MadelineProto->contacts->getContacts(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -contacts_Contacts = contacts.getContacts({hash={int}, }) +contacts.Contacts = contacts.getContacts({hash={int}, }) ``` diff --git a/old_docs/API_docs_v89/methods/contacts.getTopPeers.md b/old_docs/API_docs_v89/methods/contacts.getTopPeers.md index 0acf7155..870de6b3 100644 --- a/old_docs/API_docs_v89/methods/contacts.getTopPeers.md +++ b/old_docs/API_docs_v89/methods/contacts.getTopPeers.md @@ -24,7 +24,7 @@ Get most used peers |hash|Array of [int](../types/int.md) | Peer IDs of previously cached peers | Optional| -### Return type: [contacts\_TopPeers](../types/contacts_TopPeers.md) +### Return type: [contacts.TopPeers](../types/contacts.TopPeers.md) ### Can bots use this method: **NO** @@ -41,13 +41,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_TopPeers = $MadelineProto->contacts->getTopPeers(['correspondents' => Bool, 'bots_pm' => Bool, 'bots_inline' => Bool, 'phone_calls' => Bool, 'groups' => Bool, 'channels' => Bool, 'offset' => int, 'limit' => int, 'hash' => [int, int], ]); +$contacts.TopPeers = $MadelineProto->contacts->getTopPeers(['correspondents' => Bool, 'bots_pm' => Bool, 'bots_inline' => Bool, 'phone_calls' => Bool, 'groups' => Bool, 'channels' => Bool, 'offset' => int, 'limit' => int, 'hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -contacts_TopPeers = contacts.getTopPeers({correspondents=Bool, bots_pm=Bool, bots_inline=Bool, phone_calls=Bool, groups=Bool, channels=Bool, offset=int, limit=int, hash={int}, }) +contacts.TopPeers = contacts.getTopPeers({correspondents=Bool, bots_pm=Bool, bots_inline=Bool, phone_calls=Bool, groups=Bool, channels=Bool, offset=int, limit=int, hash={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v89/methods/contacts.importContacts.md b/old_docs/API_docs_v89/methods/contacts.importContacts.md index 7c795780..dbb9b7fa 100644 --- a/old_docs/API_docs_v89/methods/contacts.importContacts.md +++ b/old_docs/API_docs_v89/methods/contacts.importContacts.md @@ -16,7 +16,7 @@ Imports contacts: saves a full list on the server, adds already registered conta |contacts|Array of [InputContact](../types/InputContact.md) | The numbers to import | Yes| -### Return type: [contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) +### Return type: [contacts.ImportedContacts](../types/contacts.ImportedContacts.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_ImportedContacts = $MadelineProto->contacts->importContacts(['contacts' => [InputContact, InputContact], ]); +$contacts.ImportedContacts = $MadelineProto->contacts->importContacts(['contacts' => [InputContact, InputContact], ]); ``` Or, if you're into Lua: ```lua -contacts_ImportedContacts = contacts.importContacts({contacts={InputContact}, }) +contacts.ImportedContacts = contacts.importContacts({contacts={InputContact}, }) ``` diff --git a/old_docs/API_docs_v89/methods/contacts.resolveUsername.md b/old_docs/API_docs_v89/methods/contacts.resolveUsername.md index 05e3d854..46f1eb50 100644 --- a/old_docs/API_docs_v89/methods/contacts.resolveUsername.md +++ b/old_docs/API_docs_v89/methods/contacts.resolveUsername.md @@ -16,7 +16,7 @@ You cannot use this method directly, use the resolveUsername, getPwrChat, getInf |username|[string](../types/string.md) | You cannot use this method directly, use the resolveUsername, getPwrChat, getInfo, getFullInfo methods instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [contacts\_ResolvedPeer](../types/contacts_ResolvedPeer.md) +### Return type: [contacts.ResolvedPeer](../types/contacts.ResolvedPeer.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_ResolvedPeer = $MadelineProto->contacts->resolveUsername(['username' => 'string', ]); +$contacts.ResolvedPeer = $MadelineProto->contacts->resolveUsername(['username' => 'string', ]); ``` Or, if you're into Lua: ```lua -contacts_ResolvedPeer = contacts.resolveUsername({username='string', }) +contacts.ResolvedPeer = contacts.resolveUsername({username='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v89/methods/contacts.search.md b/old_docs/API_docs_v89/methods/contacts.search.md index 2f39d6f1..ec04c7f9 100644 --- a/old_docs/API_docs_v89/methods/contacts.search.md +++ b/old_docs/API_docs_v89/methods/contacts.search.md @@ -17,7 +17,7 @@ Returns users found by username substring. |limit|[int](../types/int.md) | Maximum number of users to be returned | Yes| -### Return type: [contacts\_Found](../types/contacts_Found.md) +### Return type: [contacts.Found](../types/contacts.Found.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Found = $MadelineProto->contacts->search(['q' => 'string', 'limit' => int, ]); +$contacts.Found = $MadelineProto->contacts->search(['q' => 'string', 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -contacts_Found = contacts.search({q='string', limit=int, }) +contacts.Found = contacts.search({q='string', limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v89/methods/help.editUserInfo.md b/old_docs/API_docs_v89/methods/help.editUserInfo.md index 7d49e820..0dd21b80 100644 --- a/old_docs/API_docs_v89/methods/help.editUserInfo.md +++ b/old_docs/API_docs_v89/methods/help.editUserInfo.md @@ -19,7 +19,7 @@ Internal use |parse\_mode| [string](../types/string.md) | Whether to parse HTML or Markdown markup in the message| Optional | -### Return type: [help\_UserInfo](../types/help_UserInfo.md) +### Return type: [help.UserInfo](../types/help.UserInfo.md) ### Can bots use this method: **NO** @@ -36,19 +36,19 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_UserInfo = $MadelineProto->help->editUserInfo(['user_id' => InputUser, 'message' => 'string', 'entities' => [MessageEntity, MessageEntity], 'parse_mode' => 'string', ]); +$help.UserInfo = $MadelineProto->help->editUserInfo(['user_id' => InputUser, 'message' => 'string', 'entities' => [MessageEntity, MessageEntity], 'parse_mode' => 'string', ]); ``` Or, if you're into Lua: ```lua -help_UserInfo = help.editUserInfo({user_id=InputUser, message='string', entities={MessageEntity}, parseMode='string', }) +help.UserInfo = help.editUserInfo({user_id=InputUser, message='string', entities={MessageEntity}, parseMode='string', }) ``` ## Return value -If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [help\_UserInfo](../types/help_UserInfo.md) will be returned instead. +If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [help.UserInfo](../types/help.UserInfo.md) will be returned instead. diff --git a/old_docs/API_docs_v89/methods/help.getAppUpdate.md b/old_docs/API_docs_v89/methods/help.getAppUpdate.md index e744d727..2a81fa8f 100644 --- a/old_docs/API_docs_v89/methods/help.getAppUpdate.md +++ b/old_docs/API_docs_v89/methods/help.getAppUpdate.md @@ -16,7 +16,7 @@ Returns information on update availability for the current application. |source|[string](../types/string.md) | Source | Yes| -### Return type: [help\_AppUpdate](../types/help_AppUpdate.md) +### Return type: [help.AppUpdate](../types/help.AppUpdate.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_AppUpdate = $MadelineProto->help->getAppUpdate(['source' => 'string', ]); +$help.AppUpdate = $MadelineProto->help->getAppUpdate(['source' => 'string', ]); ``` Or, if you're into Lua: ```lua -help_AppUpdate = help.getAppUpdate({source='string', }) +help.AppUpdate = help.getAppUpdate({source='string', }) ``` diff --git a/old_docs/API_docs_v89/methods/help.getDeepLinkInfo.md b/old_docs/API_docs_v89/methods/help.getDeepLinkInfo.md index e3269bbc..e6e7d6b8 100644 --- a/old_docs/API_docs_v89/methods/help.getDeepLinkInfo.md +++ b/old_docs/API_docs_v89/methods/help.getDeepLinkInfo.md @@ -16,7 +16,7 @@ Get info about a `t.me` link |path|[string](../types/string.md) | Path in `t.me/path` | Yes| -### Return type: [help\_DeepLinkInfo](../types/help_DeepLinkInfo.md) +### Return type: [help.DeepLinkInfo](../types/help.DeepLinkInfo.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_DeepLinkInfo = $MadelineProto->help->getDeepLinkInfo(['path' => 'string', ]); +$help.DeepLinkInfo = $MadelineProto->help->getDeepLinkInfo(['path' => 'string', ]); ``` Or, if you're into Lua: ```lua -help_DeepLinkInfo = help.getDeepLinkInfo({path='string', }) +help.DeepLinkInfo = help.getDeepLinkInfo({path='string', }) ``` diff --git a/old_docs/API_docs_v89/methods/help.getInviteText.md b/old_docs/API_docs_v89/methods/help.getInviteText.md index 6fd67362..0d427974 100644 --- a/old_docs/API_docs_v89/methods/help.getInviteText.md +++ b/old_docs/API_docs_v89/methods/help.getInviteText.md @@ -11,7 +11,7 @@ Returns text of a text message with an invitation. -### Return type: [help\_InviteText](../types/help_InviteText.md) +### Return type: [help.InviteText](../types/help.InviteText.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_InviteText = $MadelineProto->help->getInviteText(); +$help.InviteText = $MadelineProto->help->getInviteText(); ``` Or, if you're into Lua: ```lua -help_InviteText = help.getInviteText({}) +help.InviteText = help.getInviteText({}) ``` diff --git a/old_docs/API_docs_v89/methods/help.getPassportConfig.md b/old_docs/API_docs_v89/methods/help.getPassportConfig.md index 3710737d..f71e67b2 100644 --- a/old_docs/API_docs_v89/methods/help.getPassportConfig.md +++ b/old_docs/API_docs_v89/methods/help.getPassportConfig.md @@ -16,7 +16,7 @@ Get [passport](https://core.telegram.org/passport) configuration |hash|Array of [int](../types/int.md) | Hash | Optional| -### Return type: [help\_PassportConfig](../types/help_PassportConfig.md) +### Return type: [help.PassportConfig](../types/help.PassportConfig.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_PassportConfig = $MadelineProto->help->getPassportConfig(['hash' => [int, int], ]); +$help.PassportConfig = $MadelineProto->help->getPassportConfig(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -help_PassportConfig = help.getPassportConfig({hash={int}, }) +help.PassportConfig = help.getPassportConfig({hash={int}, }) ``` diff --git a/old_docs/API_docs_v89/methods/help.getProxyData.md b/old_docs/API_docs_v89/methods/help.getProxyData.md index bbaf4c53..9a0aaa9a 100644 --- a/old_docs/API_docs_v89/methods/help.getProxyData.md +++ b/old_docs/API_docs_v89/methods/help.getProxyData.md @@ -11,7 +11,7 @@ Get promotion info of the currently-used MTProxy -### Return type: [help\_ProxyData](../types/help_ProxyData.md) +### Return type: [help.ProxyData](../types/help.ProxyData.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_ProxyData = $MadelineProto->help->getProxyData(); +$help.ProxyData = $MadelineProto->help->getProxyData(); ``` Or, if you're into Lua: ```lua -help_ProxyData = help.getProxyData({}) +help.ProxyData = help.getProxyData({}) ``` diff --git a/old_docs/API_docs_v89/methods/help.getRecentMeUrls.md b/old_docs/API_docs_v89/methods/help.getRecentMeUrls.md index 38cc44c8..a5ab9e06 100644 --- a/old_docs/API_docs_v89/methods/help.getRecentMeUrls.md +++ b/old_docs/API_docs_v89/methods/help.getRecentMeUrls.md @@ -16,7 +16,7 @@ Get recently used `t.me` links |referer|[string](../types/string.md) | Referer | Yes| -### Return type: [help\_RecentMeUrls](../types/help_RecentMeUrls.md) +### Return type: [help.RecentMeUrls](../types/help.RecentMeUrls.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_RecentMeUrls = $MadelineProto->help->getRecentMeUrls(['referer' => 'string', ]); +$help.RecentMeUrls = $MadelineProto->help->getRecentMeUrls(['referer' => 'string', ]); ``` Or, if you're into Lua: ```lua -help_RecentMeUrls = help.getRecentMeUrls({referer='string', }) +help.RecentMeUrls = help.getRecentMeUrls({referer='string', }) ``` diff --git a/old_docs/API_docs_v89/methods/help.getSupport.md b/old_docs/API_docs_v89/methods/help.getSupport.md index 7a577892..8a8df916 100644 --- a/old_docs/API_docs_v89/methods/help.getSupport.md +++ b/old_docs/API_docs_v89/methods/help.getSupport.md @@ -11,7 +11,7 @@ Returns the support user for the 'ask a question' feature. -### Return type: [help\_Support](../types/help_Support.md) +### Return type: [help.Support](../types/help.Support.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_Support = $MadelineProto->help->getSupport(); +$help.Support = $MadelineProto->help->getSupport(); ``` Or, if you're into Lua: ```lua -help_Support = help.getSupport({}) +help.Support = help.getSupport({}) ``` diff --git a/old_docs/API_docs_v89/methods/help.getSupportName.md b/old_docs/API_docs_v89/methods/help.getSupportName.md index d2b1c93c..fbf9ef52 100644 --- a/old_docs/API_docs_v89/methods/help.getSupportName.md +++ b/old_docs/API_docs_v89/methods/help.getSupportName.md @@ -11,7 +11,7 @@ Get localized name of the telegram support user -### Return type: [help\_SupportName](../types/help_SupportName.md) +### Return type: [help.SupportName](../types/help.SupportName.md) ### Can bots use this method: **NO** @@ -28,13 +28,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_SupportName = $MadelineProto->help->getSupportName(); +$help.SupportName = $MadelineProto->help->getSupportName(); ``` Or, if you're into Lua: ```lua -help_SupportName = help.getSupportName({}) +help.SupportName = help.getSupportName({}) ``` ### Errors diff --git a/old_docs/API_docs_v89/methods/help.getTermsOfServiceUpdate.md b/old_docs/API_docs_v89/methods/help.getTermsOfServiceUpdate.md index 7a8ebd65..636a054b 100644 --- a/old_docs/API_docs_v89/methods/help.getTermsOfServiceUpdate.md +++ b/old_docs/API_docs_v89/methods/help.getTermsOfServiceUpdate.md @@ -11,7 +11,7 @@ Look for updates of telegram's terms of service -### Return type: [help\_TermsOfServiceUpdate](../types/help_TermsOfServiceUpdate.md) +### Return type: [help.TermsOfServiceUpdate](../types/help.TermsOfServiceUpdate.md) ### Can bots use this method: **NO** @@ -28,13 +28,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_TermsOfServiceUpdate = $MadelineProto->help->getTermsOfServiceUpdate(); +$help.TermsOfServiceUpdate = $MadelineProto->help->getTermsOfServiceUpdate(); ``` Or, if you're into Lua: ```lua -help_TermsOfServiceUpdate = help.getTermsOfServiceUpdate({}) +help.TermsOfServiceUpdate = help.getTermsOfServiceUpdate({}) ``` ### Errors diff --git a/old_docs/API_docs_v89/methods/help.getUserInfo.md b/old_docs/API_docs_v89/methods/help.getUserInfo.md index 353429d6..27b65cf7 100644 --- a/old_docs/API_docs_v89/methods/help.getUserInfo.md +++ b/old_docs/API_docs_v89/methods/help.getUserInfo.md @@ -16,7 +16,7 @@ Internal use |user\_id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | User ID | Optional| -### Return type: [help\_UserInfo](../types/help_UserInfo.md) +### Return type: [help.UserInfo](../types/help.UserInfo.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_UserInfo = $MadelineProto->help->getUserInfo(['user_id' => InputUser, ]); +$help.UserInfo = $MadelineProto->help->getUserInfo(['user_id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -help_UserInfo = help.getUserInfo({user_id=InputUser, }) +help.UserInfo = help.getUserInfo({user_id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v89/methods/messages.deleteHistory.md b/old_docs/API_docs_v89/methods/messages.deleteHistory.md index 9ae1bae9..41460415 100644 --- a/old_docs/API_docs_v89/methods/messages.deleteHistory.md +++ b/old_docs/API_docs_v89/methods/messages.deleteHistory.md @@ -18,7 +18,7 @@ Deletes communication history. |max\_id|[int](../types/int.md) | Maximum ID of message to delete | Yes| -### Return type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) +### Return type: [messages.AffectedHistory](../types/messages.AffectedHistory.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedHistory = $MadelineProto->messages->deleteHistory(['just_clear' => Bool, 'peer' => InputPeer, 'max_id' => int, ]); +$messages.AffectedHistory = $MadelineProto->messages->deleteHistory(['just_clear' => Bool, 'peer' => InputPeer, 'max_id' => int, ]); ``` Or, if you're into Lua: ```lua -messages_AffectedHistory = messages.deleteHistory({just_clear=Bool, peer=InputPeer, max_id=int, }) +messages.AffectedHistory = messages.deleteHistory({just_clear=Bool, peer=InputPeer, max_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v89/methods/messages.deleteMessages.md b/old_docs/API_docs_v89/methods/messages.deleteMessages.md index ade04cae..ade96e60 100644 --- a/old_docs/API_docs_v89/methods/messages.deleteMessages.md +++ b/old_docs/API_docs_v89/methods/messages.deleteMessages.md @@ -17,7 +17,7 @@ Deletes messages by their identifiers. |id|Array of [int](../types/int.md) | IDs of messages to delete, use channels->deleteMessages for supergroups | Yes| -### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) +### Return type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedMessages = $MadelineProto->messages->deleteMessages(['revoke' => Bool, 'id' => [int, int], ]); +$messages.AffectedMessages = $MadelineProto->messages->deleteMessages(['revoke' => Bool, 'id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AffectedMessages = messages.deleteMessages({revoke=Bool, id={int}, }) +messages.AffectedMessages = messages.deleteMessages({revoke=Bool, id={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v89/methods/messages.getAllChats.md b/old_docs/API_docs_v89/methods/messages.getAllChats.md index cdcc5430..97cc4817 100644 --- a/old_docs/API_docs_v89/methods/messages.getAllChats.md +++ b/old_docs/API_docs_v89/methods/messages.getAllChats.md @@ -16,7 +16,7 @@ Get all chats, channels and supergroups |except\_ids|Array of [int](../types/int.md) | Do not fetch these chats (MTProto id) | Yes| -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->messages->getAllChats(['except_ids' => [int, int], ]); +$messages.Chats = $MadelineProto->messages->getAllChats(['except_ids' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Chats = messages.getAllChats({except_ids={int}, }) +messages.Chats = messages.getAllChats({except_ids={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v89/methods/messages.getAllStickers.md b/old_docs/API_docs_v89/methods/messages.getAllStickers.md index 329b70be..0f0de7f1 100644 --- a/old_docs/API_docs_v89/methods/messages.getAllStickers.md +++ b/old_docs/API_docs_v89/methods/messages.getAllStickers.md @@ -16,7 +16,7 @@ Get all installed stickers |hash|Array of [int](../types/int.md) | The hash parameter of the previous result of this method | Optional| -### Return type: [messages\_AllStickers](../types/messages_AllStickers.md) +### Return type: [messages.AllStickers](../types/messages.AllStickers.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AllStickers = $MadelineProto->messages->getAllStickers(['hash' => [int, int], ]); +$messages.AllStickers = $MadelineProto->messages->getAllStickers(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AllStickers = messages.getAllStickers({hash={int}, }) +messages.AllStickers = messages.getAllStickers({hash={int}, }) ``` diff --git a/old_docs/API_docs_v89/methods/messages.getArchivedStickers.md b/old_docs/API_docs_v89/methods/messages.getArchivedStickers.md index d3abe9fc..c108376e 100644 --- a/old_docs/API_docs_v89/methods/messages.getArchivedStickers.md +++ b/old_docs/API_docs_v89/methods/messages.getArchivedStickers.md @@ -18,7 +18,7 @@ Get all archived stickers |limit|[int](../types/int.md) | Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_ArchivedStickers](../types/messages_ArchivedStickers.md) +### Return type: [messages.ArchivedStickers](../types/messages.ArchivedStickers.md) ### Can bots use this method: **NO** @@ -35,12 +35,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_ArchivedStickers = $MadelineProto->messages->getArchivedStickers(['masks' => Bool, 'offset_id' => long, 'limit' => int, ]); +$messages.ArchivedStickers = $MadelineProto->messages->getArchivedStickers(['masks' => Bool, 'offset_id' => long, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -messages_ArchivedStickers = messages.getArchivedStickers({masks=Bool, offset_id=long, limit=int, }) +messages.ArchivedStickers = messages.getArchivedStickers({masks=Bool, offset_id=long, limit=int, }) ``` diff --git a/old_docs/API_docs_v89/methods/messages.getBotCallbackAnswer.md b/old_docs/API_docs_v89/methods/messages.getBotCallbackAnswer.md index 015fc46b..10072386 100644 --- a/old_docs/API_docs_v89/methods/messages.getBotCallbackAnswer.md +++ b/old_docs/API_docs_v89/methods/messages.getBotCallbackAnswer.md @@ -19,7 +19,7 @@ Press an inline callback button and get a callback answer from the bot |data|[bytes](../types/bytes.md) | Callback data | Optional| -### Return type: [messages\_BotCallbackAnswer](../types/messages_BotCallbackAnswer.md) +### Return type: [messages.BotCallbackAnswer](../types/messages.BotCallbackAnswer.md) ### Can bots use this method: **NO** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_BotCallbackAnswer = $MadelineProto->messages->getBotCallbackAnswer(['game' => Bool, 'peer' => InputPeer, 'msg_id' => int, 'data' => 'bytes', ]); +$messages.BotCallbackAnswer = $MadelineProto->messages->getBotCallbackAnswer(['game' => Bool, 'peer' => InputPeer, 'msg_id' => int, 'data' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -messages_BotCallbackAnswer = messages.getBotCallbackAnswer({game=Bool, peer=InputPeer, msg_id=int, data='bytes', }) +messages.BotCallbackAnswer = messages.getBotCallbackAnswer({game=Bool, peer=InputPeer, msg_id=int, data='bytes', }) ``` ### Errors diff --git a/old_docs/API_docs_v89/methods/messages.getChats.md b/old_docs/API_docs_v89/methods/messages.getChats.md index c34b0488..146341f5 100644 --- a/old_docs/API_docs_v89/methods/messages.getChats.md +++ b/old_docs/API_docs_v89/methods/messages.getChats.md @@ -16,7 +16,7 @@ Returns chat basic info on their IDs. |id|Array of [int](../types/int.md) | The MTProto IDs of chats to fetch info about | Yes| -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->messages->getChats(['id' => [int, int], ]); +$messages.Chats = $MadelineProto->messages->getChats(['id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Chats = messages.getChats({id={int}, }) +messages.Chats = messages.getChats({id={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v89/methods/messages.getCommonChats.md b/old_docs/API_docs_v89/methods/messages.getCommonChats.md index fc7b2363..56a3ec01 100644 --- a/old_docs/API_docs_v89/methods/messages.getCommonChats.md +++ b/old_docs/API_docs_v89/methods/messages.getCommonChats.md @@ -18,7 +18,7 @@ Get chats in common with a user |limit|[int](../types/int.md) | Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->messages->getCommonChats(['user_id' => InputUser, 'max_id' => int, 'limit' => int, ]); +$messages.Chats = $MadelineProto->messages->getCommonChats(['user_id' => InputUser, 'max_id' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Chats = messages.getCommonChats({user_id=InputUser, max_id=int, limit=int, }) +messages.Chats = messages.getCommonChats({user_id=InputUser, max_id=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v89/methods/messages.getDhConfig.md b/old_docs/API_docs_v89/methods/messages.getDhConfig.md index 88ea4ab3..7b9da566 100644 --- a/old_docs/API_docs_v89/methods/messages.getDhConfig.md +++ b/old_docs/API_docs_v89/methods/messages.getDhConfig.md @@ -17,7 +17,7 @@ You cannot use this method directly, instead use $MadelineProto->getDhConfig(); |random\_length|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->getDhConfig(); | Yes| -### Return type: [messages\_DhConfig](../types/messages_DhConfig.md) +### Return type: [messages.DhConfig](../types/messages.DhConfig.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_DhConfig = $MadelineProto->messages->getDhConfig(['version' => int, 'random_length' => int, ]); +$messages.DhConfig = $MadelineProto->messages->getDhConfig(['version' => int, 'random_length' => int, ]); ``` Or, if you're into Lua: ```lua -messages_DhConfig = messages.getDhConfig({version=int, random_length=int, }) +messages.DhConfig = messages.getDhConfig({version=int, random_length=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v89/methods/messages.getDialogs.md b/old_docs/API_docs_v89/methods/messages.getDialogs.md index 9871d8e6..7ceff940 100644 --- a/old_docs/API_docs_v89/methods/messages.getDialogs.md +++ b/old_docs/API_docs_v89/methods/messages.getDialogs.md @@ -21,7 +21,7 @@ Returns the current user dialog list. |hash|Array of [int](../types/int.md) | IDs of previously fetched dialogs | Optional| -### Return type: [messages\_Dialogs](../types/messages_Dialogs.md) +### Return type: [messages.Dialogs](../types/messages.Dialogs.md) ### Can bots use this method: **NO** @@ -38,13 +38,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Dialogs = $MadelineProto->messages->getDialogs(['exclude_pinned' => Bool, 'offset_date' => int, 'offset_id' => int, 'offset_peer' => InputPeer, 'limit' => int, 'hash' => [int, int], ]); +$messages.Dialogs = $MadelineProto->messages->getDialogs(['exclude_pinned' => Bool, 'offset_date' => int, 'offset_id' => int, 'offset_peer' => InputPeer, 'limit' => int, 'hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Dialogs = messages.getDialogs({exclude_pinned=Bool, offset_date=int, offset_id=int, offset_peer=InputPeer, limit=int, hash={int}, }) +messages.Dialogs = messages.getDialogs({exclude_pinned=Bool, offset_date=int, offset_id=int, offset_peer=InputPeer, limit=int, hash={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v89/methods/messages.getFavedStickers.md b/old_docs/API_docs_v89/methods/messages.getFavedStickers.md index 3ba077ef..19f64e43 100644 --- a/old_docs/API_docs_v89/methods/messages.getFavedStickers.md +++ b/old_docs/API_docs_v89/methods/messages.getFavedStickers.md @@ -16,7 +16,7 @@ Get faved stickers |hash|Array of [int](../types/int.md) | the hash parameter of the previous result of this method | Optional| -### Return type: [messages\_FavedStickers](../types/messages_FavedStickers.md) +### Return type: [messages.FavedStickers](../types/messages.FavedStickers.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_FavedStickers = $MadelineProto->messages->getFavedStickers(['hash' => [int, int], ]); +$messages.FavedStickers = $MadelineProto->messages->getFavedStickers(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_FavedStickers = messages.getFavedStickers({hash={int}, }) +messages.FavedStickers = messages.getFavedStickers({hash={int}, }) ``` diff --git a/old_docs/API_docs_v89/methods/messages.getFeaturedStickers.md b/old_docs/API_docs_v89/methods/messages.getFeaturedStickers.md index 8f2634c3..2d65d626 100644 --- a/old_docs/API_docs_v89/methods/messages.getFeaturedStickers.md +++ b/old_docs/API_docs_v89/methods/messages.getFeaturedStickers.md @@ -16,7 +16,7 @@ Get featured stickers |hash|Array of [int](../types/int.md) | the hash parameter of the previous result of this method | Optional| -### Return type: [messages\_FeaturedStickers](../types/messages_FeaturedStickers.md) +### Return type: [messages.FeaturedStickers](../types/messages.FeaturedStickers.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_FeaturedStickers = $MadelineProto->messages->getFeaturedStickers(['hash' => [int, int], ]); +$messages.FeaturedStickers = $MadelineProto->messages->getFeaturedStickers(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_FeaturedStickers = messages.getFeaturedStickers({hash={int}, }) +messages.FeaturedStickers = messages.getFeaturedStickers({hash={int}, }) ``` diff --git a/old_docs/API_docs_v89/methods/messages.getFullChat.md b/old_docs/API_docs_v89/methods/messages.getFullChat.md index abf23e21..de543651 100644 --- a/old_docs/API_docs_v89/methods/messages.getFullChat.md +++ b/old_docs/API_docs_v89/methods/messages.getFullChat.md @@ -16,7 +16,7 @@ You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo me |chat\_id|[Username, chat ID, Update, Message or InputPeer](../types/InputPeer.md) | You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo methods instead (see https://docs.madelineproto.xyz for more info) | Optional| -### Return type: [messages\_ChatFull](../types/messages_ChatFull.md) +### Return type: [messages.ChatFull](../types/messages.ChatFull.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_ChatFull = $MadelineProto->messages->getFullChat(['chat_id' => InputPeer, ]); +$messages.ChatFull = $MadelineProto->messages->getFullChat(['chat_id' => InputPeer, ]); ``` Or, if you're into Lua: ```lua -messages_ChatFull = messages.getFullChat({chat_id=InputPeer, }) +messages.ChatFull = messages.getFullChat({chat_id=InputPeer, }) ``` ### Errors diff --git a/old_docs/API_docs_v89/methods/messages.getGameHighScores.md b/old_docs/API_docs_v89/methods/messages.getGameHighScores.md index 0ee9d754..6e4dacb2 100644 --- a/old_docs/API_docs_v89/methods/messages.getGameHighScores.md +++ b/old_docs/API_docs_v89/methods/messages.getGameHighScores.md @@ -18,7 +18,7 @@ Get highscores of a game |user\_id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | Get high scores made by a certain user | Optional| -### Return type: [messages\_HighScores](../types/messages_HighScores.md) +### Return type: [messages.HighScores](../types/messages.HighScores.md) ### Can bots use this method: **YES** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_HighScores = $MadelineProto->messages->getGameHighScores(['peer' => InputPeer, 'id' => int, 'user_id' => InputUser, ]); +$messages.HighScores = $MadelineProto->messages->getGameHighScores(['peer' => InputPeer, 'id' => int, 'user_id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -messages_HighScores = messages.getGameHighScores({peer=InputPeer, id=int, user_id=InputUser, }) +messages.HighScores = messages.getGameHighScores({peer=InputPeer, id=int, user_id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v89/methods/messages.getHistory.md b/old_docs/API_docs_v89/methods/messages.getHistory.md index 9a3d5f8c..c7bd9850 100644 --- a/old_docs/API_docs_v89/methods/messages.getHistory.md +++ b/old_docs/API_docs_v89/methods/messages.getHistory.md @@ -23,7 +23,7 @@ Gets back the conversation history with one interlocutor / within a chat |hash|Array of [int](../types/int.md) | IDs of messages you already fetched | Optional| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **NO** @@ -40,13 +40,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->getHistory(['peer' => InputPeer, 'offset_id' => int, 'offset_date' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, 'hash' => [int, int], ]); +$messages.Messages = $MadelineProto->messages->getHistory(['peer' => InputPeer, 'offset_id' => int, 'offset_date' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, 'hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.getHistory({peer=InputPeer, offset_id=int, offset_date=int, add_offset=int, limit=int, max_id=int, min_id=int, hash={int}, }) +messages.Messages = messages.getHistory({peer=InputPeer, offset_id=int, offset_date=int, add_offset=int, limit=int, max_id=int, min_id=int, hash={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v89/methods/messages.getInlineBotResults.md b/old_docs/API_docs_v89/methods/messages.getInlineBotResults.md index ac251797..8a397236 100644 --- a/old_docs/API_docs_v89/methods/messages.getInlineBotResults.md +++ b/old_docs/API_docs_v89/methods/messages.getInlineBotResults.md @@ -20,7 +20,7 @@ Query an inline bot |offset|[string](../types/string.md) | The offset within the results, will be passed directly as-is to the bot. | Yes| -### Return type: [messages\_BotResults](../types/messages_BotResults.md) +### Return type: [messages.BotResults](../types/messages.BotResults.md) ### Can bots use this method: **NO** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_BotResults = $MadelineProto->messages->getInlineBotResults(['bot' => InputUser, 'peer' => InputPeer, 'geo_point' => InputGeoPoint, 'query' => 'string', 'offset' => 'string', ]); +$messages.BotResults = $MadelineProto->messages->getInlineBotResults(['bot' => InputUser, 'peer' => InputPeer, 'geo_point' => InputGeoPoint, 'query' => 'string', 'offset' => 'string', ]); ``` Or, if you're into Lua: ```lua -messages_BotResults = messages.getInlineBotResults({bot=InputUser, peer=InputPeer, geo_point=InputGeoPoint, query='string', offset='string', }) +messages.BotResults = messages.getInlineBotResults({bot=InputUser, peer=InputPeer, geo_point=InputGeoPoint, query='string', offset='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v89/methods/messages.getInlineGameHighScores.md b/old_docs/API_docs_v89/methods/messages.getInlineGameHighScores.md index 0d02b426..dbcb2cf6 100644 --- a/old_docs/API_docs_v89/methods/messages.getInlineGameHighScores.md +++ b/old_docs/API_docs_v89/methods/messages.getInlineGameHighScores.md @@ -17,7 +17,7 @@ Get highscores of a game sent using an inline bot |user\_id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | Get high scores of a certain user | Optional| -### Return type: [messages\_HighScores](../types/messages_HighScores.md) +### Return type: [messages.HighScores](../types/messages.HighScores.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_HighScores = $MadelineProto->messages->getInlineGameHighScores(['id' => InputBotInlineMessageID, 'user_id' => InputUser, ]); +$messages.HighScores = $MadelineProto->messages->getInlineGameHighScores(['id' => InputBotInlineMessageID, 'user_id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -messages_HighScores = messages.getInlineGameHighScores({id=InputBotInlineMessageID, user_id=InputUser, }) +messages.HighScores = messages.getInlineGameHighScores({id=InputBotInlineMessageID, user_id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v89/methods/messages.getMaskStickers.md b/old_docs/API_docs_v89/methods/messages.getMaskStickers.md index a09834e1..093645f6 100644 --- a/old_docs/API_docs_v89/methods/messages.getMaskStickers.md +++ b/old_docs/API_docs_v89/methods/messages.getMaskStickers.md @@ -16,7 +16,7 @@ Get installed mask stickers |hash|Array of [int](../types/int.md) | the hash parameter of the previous result of this method | Optional| -### Return type: [messages\_AllStickers](../types/messages_AllStickers.md) +### Return type: [messages.AllStickers](../types/messages.AllStickers.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AllStickers = $MadelineProto->messages->getMaskStickers(['hash' => [int, int], ]); +$messages.AllStickers = $MadelineProto->messages->getMaskStickers(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AllStickers = messages.getMaskStickers({hash={int}, }) +messages.AllStickers = messages.getMaskStickers({hash={int}, }) ``` diff --git a/old_docs/API_docs_v89/methods/messages.getMessageEditData.md b/old_docs/API_docs_v89/methods/messages.getMessageEditData.md index 1a083f08..7fd32e82 100644 --- a/old_docs/API_docs_v89/methods/messages.getMessageEditData.md +++ b/old_docs/API_docs_v89/methods/messages.getMessageEditData.md @@ -17,7 +17,7 @@ Find out if a media message's caption can be edited |id|[int](../types/int.md) | ID of message | Yes| -### Return type: [messages\_MessageEditData](../types/messages_MessageEditData.md) +### Return type: [messages.MessageEditData](../types/messages.MessageEditData.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_MessageEditData = $MadelineProto->messages->getMessageEditData(['peer' => InputPeer, 'id' => int, ]); +$messages.MessageEditData = $MadelineProto->messages->getMessageEditData(['peer' => InputPeer, 'id' => int, ]); ``` Or, if you're into Lua: ```lua -messages_MessageEditData = messages.getMessageEditData({peer=InputPeer, id=int, }) +messages.MessageEditData = messages.getMessageEditData({peer=InputPeer, id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v89/methods/messages.getMessages.md b/old_docs/API_docs_v89/methods/messages.getMessages.md index eb5ef6a6..0aed788d 100644 --- a/old_docs/API_docs_v89/methods/messages.getMessages.md +++ b/old_docs/API_docs_v89/methods/messages.getMessages.md @@ -16,7 +16,7 @@ Returns the list of messages by their IDs. |id|Array of [Message ID or InputMessage](../types/InputMessage.md) | The IDs of messages to fetch (only for users and normal groups) | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **YES** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->getMessages(['id' => [InputMessage, InputMessage], ]); +$messages.Messages = $MadelineProto->messages->getMessages(['id' => [InputMessage, InputMessage], ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.getMessages({id={InputMessage}, }) +messages.Messages = messages.getMessages({id={InputMessage}, }) ``` diff --git a/old_docs/API_docs_v89/methods/messages.getPeerDialogs.md b/old_docs/API_docs_v89/methods/messages.getPeerDialogs.md index 2ab5d661..1ec67e6a 100644 --- a/old_docs/API_docs_v89/methods/messages.getPeerDialogs.md +++ b/old_docs/API_docs_v89/methods/messages.getPeerDialogs.md @@ -16,7 +16,7 @@ Get dialog info of specified peers |peers|Array of [Username, chat ID, Update, Message or InputDialogPeer](../types/InputDialogPeer.md) | The peers | Yes| -### Return type: [messages\_PeerDialogs](../types/messages_PeerDialogs.md) +### Return type: [messages.PeerDialogs](../types/messages.PeerDialogs.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_PeerDialogs = $MadelineProto->messages->getPeerDialogs(['peers' => [InputDialogPeer, InputDialogPeer], ]); +$messages.PeerDialogs = $MadelineProto->messages->getPeerDialogs(['peers' => [InputDialogPeer, InputDialogPeer], ]); ``` Or, if you're into Lua: ```lua -messages_PeerDialogs = messages.getPeerDialogs({peers={InputDialogPeer}, }) +messages.PeerDialogs = messages.getPeerDialogs({peers={InputDialogPeer}, }) ``` ### Errors diff --git a/old_docs/API_docs_v89/methods/messages.getPinnedDialogs.md b/old_docs/API_docs_v89/methods/messages.getPinnedDialogs.md index f106098d..161075f2 100644 --- a/old_docs/API_docs_v89/methods/messages.getPinnedDialogs.md +++ b/old_docs/API_docs_v89/methods/messages.getPinnedDialogs.md @@ -11,7 +11,7 @@ Get pinned dialogs -### Return type: [messages\_PeerDialogs](../types/messages_PeerDialogs.md) +### Return type: [messages.PeerDialogs](../types/messages.PeerDialogs.md) ### Can bots use this method: **NO** @@ -28,13 +28,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_PeerDialogs = $MadelineProto->messages->getPinnedDialogs(); +$messages.PeerDialogs = $MadelineProto->messages->getPinnedDialogs(); ``` Or, if you're into Lua: ```lua -messages_PeerDialogs = messages.getPinnedDialogs({}) +messages.PeerDialogs = messages.getPinnedDialogs({}) ``` ### Errors diff --git a/old_docs/API_docs_v89/methods/messages.getRecentLocations.md b/old_docs/API_docs_v89/methods/messages.getRecentLocations.md index 40ec1285..4efeb49c 100644 --- a/old_docs/API_docs_v89/methods/messages.getRecentLocations.md +++ b/old_docs/API_docs_v89/methods/messages.getRecentLocations.md @@ -18,7 +18,7 @@ Get live location history of a certain user |hash|Array of [int](../types/int.md) | IDs of locations you already fetched | Optional| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **NO** @@ -35,12 +35,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->getRecentLocations(['peer' => InputPeer, 'limit' => int, 'hash' => [int, int], ]); +$messages.Messages = $MadelineProto->messages->getRecentLocations(['peer' => InputPeer, 'limit' => int, 'hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.getRecentLocations({peer=InputPeer, limit=int, hash={int}, }) +messages.Messages = messages.getRecentLocations({peer=InputPeer, limit=int, hash={int}, }) ``` diff --git a/old_docs/API_docs_v89/methods/messages.getRecentStickers.md b/old_docs/API_docs_v89/methods/messages.getRecentStickers.md index 28a70889..39cef16a 100644 --- a/old_docs/API_docs_v89/methods/messages.getRecentStickers.md +++ b/old_docs/API_docs_v89/methods/messages.getRecentStickers.md @@ -17,7 +17,7 @@ Get recent stickers |hash|Array of [int](../types/int.md) | IDs the hash parameter of the previous result of this method | Optional| -### Return type: [messages\_RecentStickers](../types/messages_RecentStickers.md) +### Return type: [messages.RecentStickers](../types/messages.RecentStickers.md) ### Can bots use this method: **NO** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_RecentStickers = $MadelineProto->messages->getRecentStickers(['attached' => Bool, 'hash' => [int, int], ]); +$messages.RecentStickers = $MadelineProto->messages->getRecentStickers(['attached' => Bool, 'hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_RecentStickers = messages.getRecentStickers({attached=Bool, hash={int}, }) +messages.RecentStickers = messages.getRecentStickers({attached=Bool, hash={int}, }) ``` diff --git a/old_docs/API_docs_v89/methods/messages.getSavedGifs.md b/old_docs/API_docs_v89/methods/messages.getSavedGifs.md index 1df7f37c..8b31f7b8 100644 --- a/old_docs/API_docs_v89/methods/messages.getSavedGifs.md +++ b/old_docs/API_docs_v89/methods/messages.getSavedGifs.md @@ -16,7 +16,7 @@ Get saved GIFs |hash|Array of [int](../types/int.md) | the hash parameter of the previous result of this method | Optional| -### Return type: [messages\_SavedGifs](../types/messages_SavedGifs.md) +### Return type: [messages.SavedGifs](../types/messages.SavedGifs.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_SavedGifs = $MadelineProto->messages->getSavedGifs(['hash' => [int, int], ]); +$messages.SavedGifs = $MadelineProto->messages->getSavedGifs(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_SavedGifs = messages.getSavedGifs({hash={int}, }) +messages.SavedGifs = messages.getSavedGifs({hash={int}, }) ``` diff --git a/old_docs/API_docs_v89/methods/messages.getStickerSet.md b/old_docs/API_docs_v89/methods/messages.getStickerSet.md index 45fca60f..f11887ee 100644 --- a/old_docs/API_docs_v89/methods/messages.getStickerSet.md +++ b/old_docs/API_docs_v89/methods/messages.getStickerSet.md @@ -16,7 +16,7 @@ Get info about a stickerset |stickerset|[InputStickerSet](../types/InputStickerSet.md) | Stickerset | Optional| -### Return type: [messages\_StickerSet](../types/messages_StickerSet.md) +### Return type: [messages.StickerSet](../types/messages.StickerSet.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StickerSet = $MadelineProto->messages->getStickerSet(['stickerset' => InputStickerSet, ]); +$messages.StickerSet = $MadelineProto->messages->getStickerSet(['stickerset' => InputStickerSet, ]); ``` Or, if you're into Lua: ```lua -messages_StickerSet = messages.getStickerSet({stickerset=InputStickerSet, }) +messages.StickerSet = messages.getStickerSet({stickerset=InputStickerSet, }) ``` ### Errors diff --git a/old_docs/API_docs_v89/methods/messages.getStickers.md b/old_docs/API_docs_v89/methods/messages.getStickers.md index 4f8b7598..ff99fbd2 100644 --- a/old_docs/API_docs_v89/methods/messages.getStickers.md +++ b/old_docs/API_docs_v89/methods/messages.getStickers.md @@ -17,7 +17,7 @@ Get stickers by emoji |hash|Array of [int](../types/int.md) | the hash parameter of the previous result of this method | Optional| -### Return type: [messages\_Stickers](../types/messages_Stickers.md) +### Return type: [messages.Stickers](../types/messages.Stickers.md) ### Can bots use this method: **NO** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Stickers = $MadelineProto->messages->getStickers(['emoticon' => 'string', 'hash' => [int, int], ]); +$messages.Stickers = $MadelineProto->messages->getStickers(['emoticon' => 'string', 'hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Stickers = messages.getStickers({emoticon='string', hash={int}, }) +messages.Stickers = messages.getStickers({emoticon='string', hash={int}, }) ``` diff --git a/old_docs/API_docs_v89/methods/messages.getUnreadMentions.md b/old_docs/API_docs_v89/methods/messages.getUnreadMentions.md index 33bba261..679ed841 100644 --- a/old_docs/API_docs_v89/methods/messages.getUnreadMentions.md +++ b/old_docs/API_docs_v89/methods/messages.getUnreadMentions.md @@ -21,7 +21,7 @@ Get unread messages where we were mentioned |min\_id|[int](../types/int.md) | Minimum message ID to return, [see pagination](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **NO** @@ -38,13 +38,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->getUnreadMentions(['peer' => InputPeer, 'offset_id' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); +$messages.Messages = $MadelineProto->messages->getUnreadMentions(['peer' => InputPeer, 'offset_id' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.getUnreadMentions({peer=InputPeer, offset_id=int, add_offset=int, limit=int, max_id=int, min_id=int, }) +messages.Messages = messages.getUnreadMentions({peer=InputPeer, offset_id=int, add_offset=int, limit=int, max_id=int, min_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v89/methods/messages.installStickerSet.md b/old_docs/API_docs_v89/methods/messages.installStickerSet.md index 1a95ca0b..83ce2121 100644 --- a/old_docs/API_docs_v89/methods/messages.installStickerSet.md +++ b/old_docs/API_docs_v89/methods/messages.installStickerSet.md @@ -17,7 +17,7 @@ Install a stickerset |archived|[Bool](../types/Bool.md) | Whether to archive stickerset | Yes| -### Return type: [messages\_StickerSetInstallResult](../types/messages_StickerSetInstallResult.md) +### Return type: [messages.StickerSetInstallResult](../types/messages.StickerSetInstallResult.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StickerSetInstallResult = $MadelineProto->messages->installStickerSet(['stickerset' => InputStickerSet, 'archived' => Bool, ]); +$messages.StickerSetInstallResult = $MadelineProto->messages->installStickerSet(['stickerset' => InputStickerSet, 'archived' => Bool, ]); ``` Or, if you're into Lua: ```lua -messages_StickerSetInstallResult = messages.installStickerSet({stickerset=InputStickerSet, archived=Bool, }) +messages.StickerSetInstallResult = messages.installStickerSet({stickerset=InputStickerSet, archived=Bool, }) ``` ### Errors diff --git a/old_docs/API_docs_v89/methods/messages.readHistory.md b/old_docs/API_docs_v89/methods/messages.readHistory.md index 39753375..52030c68 100644 --- a/old_docs/API_docs_v89/methods/messages.readHistory.md +++ b/old_docs/API_docs_v89/methods/messages.readHistory.md @@ -17,7 +17,7 @@ Marks message history as read. |max\_id|[int](../types/int.md) | If a positive value is passed, only messages with identifiers less or equal than the given one will be read | Yes| -### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) +### Return type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedMessages = $MadelineProto->messages->readHistory(['peer' => InputPeer, 'max_id' => int, ]); +$messages.AffectedMessages = $MadelineProto->messages->readHistory(['peer' => InputPeer, 'max_id' => int, ]); ``` Or, if you're into Lua: ```lua -messages_AffectedMessages = messages.readHistory({peer=InputPeer, max_id=int, }) +messages.AffectedMessages = messages.readHistory({peer=InputPeer, max_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v89/methods/messages.readMentions.md b/old_docs/API_docs_v89/methods/messages.readMentions.md index 9b73851d..c8c94f00 100644 --- a/old_docs/API_docs_v89/methods/messages.readMentions.md +++ b/old_docs/API_docs_v89/methods/messages.readMentions.md @@ -16,7 +16,7 @@ Mark mentions as read |peer|[Username, chat ID, Update, Message or InputPeer](../types/InputPeer.md) | Dialog | Optional| -### Return type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) +### Return type: [messages.AffectedHistory](../types/messages.AffectedHistory.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedHistory = $MadelineProto->messages->readMentions(['peer' => InputPeer, ]); +$messages.AffectedHistory = $MadelineProto->messages->readMentions(['peer' => InputPeer, ]); ``` Or, if you're into Lua: ```lua -messages_AffectedHistory = messages.readMentions({peer=InputPeer, }) +messages.AffectedHistory = messages.readMentions({peer=InputPeer, }) ``` diff --git a/old_docs/API_docs_v89/methods/messages.readMessageContents.md b/old_docs/API_docs_v89/methods/messages.readMessageContents.md index c479cafe..9798e661 100644 --- a/old_docs/API_docs_v89/methods/messages.readMessageContents.md +++ b/old_docs/API_docs_v89/methods/messages.readMessageContents.md @@ -16,7 +16,7 @@ Notifies the sender about the recipient having listened a voice message or watch |id|Array of [int](../types/int.md) | The messages to mark as read (only users and normal chats, not supergroups) | Yes| -### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) +### Return type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedMessages = $MadelineProto->messages->readMessageContents(['id' => [int, int], ]); +$messages.AffectedMessages = $MadelineProto->messages->readMessageContents(['id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AffectedMessages = messages.readMessageContents({id={int}, }) +messages.AffectedMessages = messages.readMessageContents({id={int}, }) ``` diff --git a/old_docs/API_docs_v89/methods/messages.search.md b/old_docs/API_docs_v89/methods/messages.search.md index 75c21af0..b8125fb6 100644 --- a/old_docs/API_docs_v89/methods/messages.search.md +++ b/old_docs/API_docs_v89/methods/messages.search.md @@ -27,7 +27,7 @@ Gets back found messages |hash|Array of [int](../types/int.md) | The IDs of messages you already fetched | Optional| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **NO** @@ -44,13 +44,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->search(['peer' => InputPeer, 'q' => 'string', 'from_id' => InputUser, 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset_id' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, 'hash' => [int, int], ]); +$messages.Messages = $MadelineProto->messages->search(['peer' => InputPeer, 'q' => 'string', 'from_id' => InputUser, 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset_id' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, 'hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.search({peer=InputPeer, q='string', from_id=InputUser, filter=MessagesFilter, min_date=int, max_date=int, offset_id=int, add_offset=int, limit=int, max_id=int, min_id=int, hash={int}, }) +messages.Messages = messages.search({peer=InputPeer, q='string', from_id=InputUser, filter=MessagesFilter, min_date=int, max_date=int, offset_id=int, add_offset=int, limit=int, max_id=int, min_id=int, hash={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v89/methods/messages.searchGifs.md b/old_docs/API_docs_v89/methods/messages.searchGifs.md index 851371d7..193a0cd4 100644 --- a/old_docs/API_docs_v89/methods/messages.searchGifs.md +++ b/old_docs/API_docs_v89/methods/messages.searchGifs.md @@ -17,7 +17,7 @@ Search for GIFs |offset|[int](../types/int.md) | Offset for [pagination »](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_FoundGifs](../types/messages_FoundGifs.md) +### Return type: [messages.FoundGifs](../types/messages.FoundGifs.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_FoundGifs = $MadelineProto->messages->searchGifs(['q' => 'string', 'offset' => int, ]); +$messages.FoundGifs = $MadelineProto->messages->searchGifs(['q' => 'string', 'offset' => int, ]); ``` Or, if you're into Lua: ```lua -messages_FoundGifs = messages.searchGifs({q='string', offset=int, }) +messages.FoundGifs = messages.searchGifs({q='string', offset=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v89/methods/messages.searchGlobal.md b/old_docs/API_docs_v89/methods/messages.searchGlobal.md index 4bd59f25..1a3b736d 100644 --- a/old_docs/API_docs_v89/methods/messages.searchGlobal.md +++ b/old_docs/API_docs_v89/methods/messages.searchGlobal.md @@ -20,7 +20,7 @@ Search for messages and peers globally |limit|[int](../types/int.md) | [Offsets for pagination, for more info click here](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **NO** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->searchGlobal(['q' => 'string', 'offset_date' => int, 'offset_peer' => InputPeer, 'offset_id' => int, 'limit' => int, ]); +$messages.Messages = $MadelineProto->messages->searchGlobal(['q' => 'string', 'offset_date' => int, 'offset_peer' => InputPeer, 'offset_id' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.searchGlobal({q='string', offset_date=int, offset_peer=InputPeer, offset_id=int, limit=int, }) +messages.Messages = messages.searchGlobal({q='string', offset_date=int, offset_peer=InputPeer, offset_id=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v89/methods/messages.searchStickerSets.md b/old_docs/API_docs_v89/methods/messages.searchStickerSets.md index 1759fbc0..a8924f3d 100644 --- a/old_docs/API_docs_v89/methods/messages.searchStickerSets.md +++ b/old_docs/API_docs_v89/methods/messages.searchStickerSets.md @@ -18,7 +18,7 @@ Search for stickersets |hash|Array of [int](../types/int.md) | The IDs of stickersets you already fetched | Optional| -### Return type: [messages\_FoundStickerSets](../types/messages_FoundStickerSets.md) +### Return type: [messages.FoundStickerSets](../types/messages.FoundStickerSets.md) ### Can bots use this method: **NO** @@ -35,12 +35,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_FoundStickerSets = $MadelineProto->messages->searchStickerSets(['exclude_featured' => Bool, 'q' => 'string', 'hash' => [int, int], ]); +$messages.FoundStickerSets = $MadelineProto->messages->searchStickerSets(['exclude_featured' => Bool, 'q' => 'string', 'hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_FoundStickerSets = messages.searchStickerSets({exclude_featured=Bool, q='string', hash={int}, }) +messages.FoundStickerSets = messages.searchStickerSets({exclude_featured=Bool, q='string', hash={int}, }) ``` diff --git a/old_docs/API_docs_v89/methods/messages.sendEncrypted.md b/old_docs/API_docs_v89/methods/messages.sendEncrypted.md index 47b5ef29..6a68b563 100644 --- a/old_docs/API_docs_v89/methods/messages.sendEncrypted.md +++ b/old_docs/API_docs_v89/methods/messages.sendEncrypted.md @@ -14,10 +14,10 @@ Sends a text message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|message|[DecryptedMessage](../types/DecryptedMessage.md) | The message to send | Yes| +|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key that was created during chat initialization | Yes| -### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ### Can bots use this method: **NO** @@ -34,21 +34,15 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncrypted(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); +$messages.SentEncryptedMessage = $MadelineProto->messages->sendEncrypted(['peer' => InputEncryptedChat, 'data' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -messages_SentEncryptedMessage = messages.sendEncrypted({peer=InputEncryptedChat, message=DecryptedMessage, }) +messages.SentEncryptedMessage = messages.sendEncrypted({peer=InputEncryptedChat, data='bytes', }) ``` - -## Return value - -If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) will be returned instead. - - ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v89/methods/messages.sendEncryptedFile.md b/old_docs/API_docs_v89/methods/messages.sendEncryptedFile.md index 4e0f7b7f..87185ba4 100644 --- a/old_docs/API_docs_v89/methods/messages.sendEncryptedFile.md +++ b/old_docs/API_docs_v89/methods/messages.sendEncryptedFile.md @@ -14,11 +14,11 @@ Sends a message with a file attachment to a secret chat | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|message|[DecryptedMessage](../types/DecryptedMessage.md) | The message with the file | Yes| +|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| |file|[File path or InputEncryptedFile](../types/InputEncryptedFile.md) | File attachment for the secret chat | Optional| -### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ### Can bots use this method: **NO** @@ -35,21 +35,15 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedFile(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, 'file' => InputEncryptedFile, ]); +$messages.SentEncryptedMessage = $MadelineProto->messages->sendEncryptedFile(['peer' => InputEncryptedChat, 'data' => 'bytes', 'file' => InputEncryptedFile, ]); ``` Or, if you're into Lua: ```lua -messages_SentEncryptedMessage = messages.sendEncryptedFile({peer=InputEncryptedChat, message=DecryptedMessage, file=InputEncryptedFile, }) +messages.SentEncryptedMessage = messages.sendEncryptedFile({peer=InputEncryptedChat, data='bytes', file=InputEncryptedFile, }) ``` - -## Return value - -If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) will be returned instead. - - ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v89/methods/messages.sendEncryptedService.md b/old_docs/API_docs_v89/methods/messages.sendEncryptedService.md index 86925ae3..38171272 100644 --- a/old_docs/API_docs_v89/methods/messages.sendEncryptedService.md +++ b/old_docs/API_docs_v89/methods/messages.sendEncryptedService.md @@ -14,10 +14,10 @@ Sends a service message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|message|[DecryptedMessage](../types/DecryptedMessage.md) | The service message | Yes| +|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| -### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ### Can bots use this method: **NO** @@ -34,21 +34,15 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedService(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); +$messages.SentEncryptedMessage = $MadelineProto->messages->sendEncryptedService(['peer' => InputEncryptedChat, 'data' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -messages_SentEncryptedMessage = messages.sendEncryptedService({peer=InputEncryptedChat, message=DecryptedMessage, }) +messages.SentEncryptedMessage = messages.sendEncryptedService({peer=InputEncryptedChat, data='bytes', }) ``` - -## Return value - -If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) will be returned instead. - - ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v89/methods/payments.getPaymentForm.md b/old_docs/API_docs_v89/methods/payments.getPaymentForm.md index 3a171a05..da173f14 100644 --- a/old_docs/API_docs_v89/methods/payments.getPaymentForm.md +++ b/old_docs/API_docs_v89/methods/payments.getPaymentForm.md @@ -16,7 +16,7 @@ Get a payment form |msg\_id|[int](../types/int.md) | Message ID of payment form | Yes| -### Return type: [payments\_PaymentForm](../types/payments_PaymentForm.md) +### Return type: [payments.PaymentForm](../types/payments.PaymentForm.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$payments_PaymentForm = $MadelineProto->payments->getPaymentForm(['msg_id' => int, ]); +$payments.PaymentForm = $MadelineProto->payments->getPaymentForm(['msg_id' => int, ]); ``` Or, if you're into Lua: ```lua -payments_PaymentForm = payments.getPaymentForm({msg_id=int, }) +payments.PaymentForm = payments.getPaymentForm({msg_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v89/methods/payments.getPaymentReceipt.md b/old_docs/API_docs_v89/methods/payments.getPaymentReceipt.md index 46d2267c..16e41367 100644 --- a/old_docs/API_docs_v89/methods/payments.getPaymentReceipt.md +++ b/old_docs/API_docs_v89/methods/payments.getPaymentReceipt.md @@ -16,7 +16,7 @@ Get payment receipt |msg\_id|[int](../types/int.md) | Message ID of receipt | Yes| -### Return type: [payments\_PaymentReceipt](../types/payments_PaymentReceipt.md) +### Return type: [payments.PaymentReceipt](../types/payments.PaymentReceipt.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$payments_PaymentReceipt = $MadelineProto->payments->getPaymentReceipt(['msg_id' => int, ]); +$payments.PaymentReceipt = $MadelineProto->payments->getPaymentReceipt(['msg_id' => int, ]); ``` Or, if you're into Lua: ```lua -payments_PaymentReceipt = payments.getPaymentReceipt({msg_id=int, }) +payments.PaymentReceipt = payments.getPaymentReceipt({msg_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v89/methods/payments.getSavedInfo.md b/old_docs/API_docs_v89/methods/payments.getSavedInfo.md index dc9c9b98..fe2c16ec 100644 --- a/old_docs/API_docs_v89/methods/payments.getSavedInfo.md +++ b/old_docs/API_docs_v89/methods/payments.getSavedInfo.md @@ -11,7 +11,7 @@ Get saved payment information -### Return type: [payments\_SavedInfo](../types/payments_SavedInfo.md) +### Return type: [payments.SavedInfo](../types/payments.SavedInfo.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$payments_SavedInfo = $MadelineProto->payments->getSavedInfo(); +$payments.SavedInfo = $MadelineProto->payments->getSavedInfo(); ``` Or, if you're into Lua: ```lua -payments_SavedInfo = payments.getSavedInfo({}) +payments.SavedInfo = payments.getSavedInfo({}) ``` diff --git a/old_docs/API_docs_v89/methods/payments.sendPaymentForm.md b/old_docs/API_docs_v89/methods/payments.sendPaymentForm.md index 8c478b92..de154e7f 100644 --- a/old_docs/API_docs_v89/methods/payments.sendPaymentForm.md +++ b/old_docs/API_docs_v89/methods/payments.sendPaymentForm.md @@ -19,7 +19,7 @@ Send compiled payment form |credentials|[InputPaymentCredentials](../types/InputPaymentCredentials.md) | Payment credentials | Yes| -### Return type: [payments\_PaymentResult](../types/payments_PaymentResult.md) +### Return type: [payments.PaymentResult](../types/payments.PaymentResult.md) ### Can bots use this method: **NO** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$payments_PaymentResult = $MadelineProto->payments->sendPaymentForm(['msg_id' => int, 'requested_info_id' => 'string', 'shipping_option_id' => 'string', 'credentials' => InputPaymentCredentials, ]); +$payments.PaymentResult = $MadelineProto->payments->sendPaymentForm(['msg_id' => int, 'requested_info_id' => 'string', 'shipping_option_id' => 'string', 'credentials' => InputPaymentCredentials, ]); ``` Or, if you're into Lua: ```lua -payments_PaymentResult = payments.sendPaymentForm({msg_id=int, requested_info_id='string', shipping_option_id='string', credentials=InputPaymentCredentials, }) +payments.PaymentResult = payments.sendPaymentForm({msg_id=int, requested_info_id='string', shipping_option_id='string', credentials=InputPaymentCredentials, }) ``` ### Errors diff --git a/old_docs/API_docs_v89/methods/payments.validateRequestedInfo.md b/old_docs/API_docs_v89/methods/payments.validateRequestedInfo.md index d6364a02..ce22cfe8 100644 --- a/old_docs/API_docs_v89/methods/payments.validateRequestedInfo.md +++ b/old_docs/API_docs_v89/methods/payments.validateRequestedInfo.md @@ -18,7 +18,7 @@ Submit requested order information for validation |info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Requested order information | Yes| -### Return type: [payments\_ValidatedRequestedInfo](../types/payments_ValidatedRequestedInfo.md) +### Return type: [payments.ValidatedRequestedInfo](../types/payments.ValidatedRequestedInfo.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$payments_ValidatedRequestedInfo = $MadelineProto->payments->validateRequestedInfo(['save' => Bool, 'msg_id' => int, 'info' => PaymentRequestedInfo, ]); +$payments.ValidatedRequestedInfo = $MadelineProto->payments->validateRequestedInfo(['save' => Bool, 'msg_id' => int, 'info' => PaymentRequestedInfo, ]); ``` Or, if you're into Lua: ```lua -payments_ValidatedRequestedInfo = payments.validateRequestedInfo({save=Bool, msg_id=int, info=PaymentRequestedInfo, }) +payments.ValidatedRequestedInfo = payments.validateRequestedInfo({save=Bool, msg_id=int, info=PaymentRequestedInfo, }) ``` ### Errors diff --git a/old_docs/API_docs_v89/methods/phone.acceptCall.md b/old_docs/API_docs_v89/methods/phone.acceptCall.md index f5c58f01..6b9185aa 100644 --- a/old_docs/API_docs_v89/methods/phone.acceptCall.md +++ b/old_docs/API_docs_v89/methods/phone.acceptCall.md @@ -18,7 +18,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz#calls fo |protocol|[PhoneCallProtocol](../types/PhoneCallProtocol.md) | You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls | Yes| -### Return type: [phone\_PhoneCall](../types/phone_PhoneCall.md) +### Return type: [phone.PhoneCall](../types/phone.PhoneCall.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$phone_PhoneCall = $MadelineProto->phone->acceptCall(['peer' => InputPhoneCall, 'g_b' => 'bytes', 'protocol' => PhoneCallProtocol, ]); +$phone.PhoneCall = $MadelineProto->phone->acceptCall(['peer' => InputPhoneCall, 'g_b' => 'bytes', 'protocol' => PhoneCallProtocol, ]); ``` Or, if you're into Lua: ```lua -phone_PhoneCall = phone.acceptCall({peer=InputPhoneCall, g_b='bytes', protocol=PhoneCallProtocol, }) +phone.PhoneCall = phone.acceptCall({peer=InputPhoneCall, g_b='bytes', protocol=PhoneCallProtocol, }) ``` ### Errors diff --git a/old_docs/API_docs_v89/methods/phone.confirmCall.md b/old_docs/API_docs_v89/methods/phone.confirmCall.md index 468307cc..a52d1f9c 100644 --- a/old_docs/API_docs_v89/methods/phone.confirmCall.md +++ b/old_docs/API_docs_v89/methods/phone.confirmCall.md @@ -19,7 +19,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz#calls fo |protocol|[PhoneCallProtocol](../types/PhoneCallProtocol.md) | You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls | Yes| -### Return type: [phone\_PhoneCall](../types/phone_PhoneCall.md) +### Return type: [phone.PhoneCall](../types/phone.PhoneCall.md) ### Can bots use this method: **NO** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$phone_PhoneCall = $MadelineProto->phone->confirmCall(['peer' => InputPhoneCall, 'g_a' => 'bytes', 'key_fingerprint' => long, 'protocol' => PhoneCallProtocol, ]); +$phone.PhoneCall = $MadelineProto->phone->confirmCall(['peer' => InputPhoneCall, 'g_a' => 'bytes', 'key_fingerprint' => long, 'protocol' => PhoneCallProtocol, ]); ``` Or, if you're into Lua: ```lua -phone_PhoneCall = phone.confirmCall({peer=InputPhoneCall, g_a='bytes', key_fingerprint=long, protocol=PhoneCallProtocol, }) +phone.PhoneCall = phone.confirmCall({peer=InputPhoneCall, g_a='bytes', key_fingerprint=long, protocol=PhoneCallProtocol, }) ``` ### Errors diff --git a/old_docs/API_docs_v89/methods/phone.requestCall.md b/old_docs/API_docs_v89/methods/phone.requestCall.md index c8e828f2..37e847a7 100644 --- a/old_docs/API_docs_v89/methods/phone.requestCall.md +++ b/old_docs/API_docs_v89/methods/phone.requestCall.md @@ -18,7 +18,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz#calls fo |protocol|[PhoneCallProtocol](../types/PhoneCallProtocol.md) | You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls | Yes| -### Return type: [phone\_PhoneCall](../types/phone_PhoneCall.md) +### Return type: [phone.PhoneCall](../types/phone.PhoneCall.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$phone_PhoneCall = $MadelineProto->phone->requestCall(['user_id' => InputUser, 'g_a_hash' => 'bytes', 'protocol' => PhoneCallProtocol, ]); +$phone.PhoneCall = $MadelineProto->phone->requestCall(['user_id' => InputUser, 'g_a_hash' => 'bytes', 'protocol' => PhoneCallProtocol, ]); ``` Or, if you're into Lua: ```lua -phone_PhoneCall = phone.requestCall({user_id=InputUser, g_a_hash='bytes', protocol=PhoneCallProtocol, }) +phone.PhoneCall = phone.requestCall({user_id=InputUser, g_a_hash='bytes', protocol=PhoneCallProtocol, }) ``` ### Errors diff --git a/old_docs/API_docs_v89/methods/photos.getUserPhotos.md b/old_docs/API_docs_v89/methods/photos.getUserPhotos.md index a1dec2ed..1f8d5c64 100644 --- a/old_docs/API_docs_v89/methods/photos.getUserPhotos.md +++ b/old_docs/API_docs_v89/methods/photos.getUserPhotos.md @@ -19,7 +19,7 @@ Returns the list of user photos. |limit|[int](../types/int.md) | Number of list elements to be returned | Yes| -### Return type: [photos\_Photos](../types/photos_Photos.md) +### Return type: [photos.Photos](../types/photos.Photos.md) ### Can bots use this method: **YES** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$photos_Photos = $MadelineProto->photos->getUserPhotos(['user_id' => InputUser, 'offset' => int, 'max_id' => long, 'limit' => int, ]); +$photos.Photos = $MadelineProto->photos->getUserPhotos(['user_id' => InputUser, 'offset' => int, 'max_id' => long, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -photos_Photos = photos.getUserPhotos({user_id=InputUser, offset=int, max_id=long, limit=int, }) +photos.Photos = photos.getUserPhotos({user_id=InputUser, offset=int, max_id=long, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v89/methods/photos.uploadProfilePhoto.md b/old_docs/API_docs_v89/methods/photos.uploadProfilePhoto.md index b6a01ee7..4de76a24 100644 --- a/old_docs/API_docs_v89/methods/photos.uploadProfilePhoto.md +++ b/old_docs/API_docs_v89/methods/photos.uploadProfilePhoto.md @@ -16,7 +16,7 @@ Updates current user profile photo. |file|[File path or InputFile](../types/InputFile.md) | File saved in parts by means of [upload.saveFilePart](../methods/upload.saveFilePart.md) method | Yes| -### Return type: [photos\_Photo](../types/photos_Photo.md) +### Return type: [photos.Photo](../types/photos.Photo.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$photos_Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, ]); +$photos.Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, ]); ``` Or, if you're into Lua: ```lua -photos_Photo = photos.uploadProfilePhoto({file=InputFile, }) +photos.Photo = photos.uploadProfilePhoto({file=InputFile, }) ``` ### Errors diff --git a/old_docs/API_docs_v89/methods/stickers.addStickerToSet.md b/old_docs/API_docs_v89/methods/stickers.addStickerToSet.md index 727d3f27..e8392355 100644 --- a/old_docs/API_docs_v89/methods/stickers.addStickerToSet.md +++ b/old_docs/API_docs_v89/methods/stickers.addStickerToSet.md @@ -17,7 +17,7 @@ Add a sticker to a stickerset, bots only. The sticker set must have been created |sticker|[InputStickerSetItem](../types/InputStickerSetItem.md) | The sticker | Yes| -### Return type: [messages\_StickerSet](../types/messages_StickerSet.md) +### Return type: [messages.StickerSet](../types/messages.StickerSet.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StickerSet = $MadelineProto->stickers->addStickerToSet(['stickerset' => InputStickerSet, 'sticker' => InputStickerSetItem, ]); +$messages.StickerSet = $MadelineProto->stickers->addStickerToSet(['stickerset' => InputStickerSet, 'sticker' => InputStickerSetItem, ]); ``` Or, if you're into Lua: ```lua -messages_StickerSet = stickers.addStickerToSet({stickerset=InputStickerSet, sticker=InputStickerSetItem, }) +messages.StickerSet = stickers.addStickerToSet({stickerset=InputStickerSet, sticker=InputStickerSetItem, }) ``` ### Errors diff --git a/old_docs/API_docs_v89/methods/stickers.changeStickerPosition.md b/old_docs/API_docs_v89/methods/stickers.changeStickerPosition.md index ed390f21..e1d8ab5e 100644 --- a/old_docs/API_docs_v89/methods/stickers.changeStickerPosition.md +++ b/old_docs/API_docs_v89/methods/stickers.changeStickerPosition.md @@ -17,7 +17,7 @@ Changes the absolute position of a sticker in the set to which it belongs; for b |position|[int](../types/int.md) | The new position of the sticker, zero-based | Yes| -### Return type: [messages\_StickerSet](../types/messages_StickerSet.md) +### Return type: [messages.StickerSet](../types/messages.StickerSet.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StickerSet = $MadelineProto->stickers->changeStickerPosition(['sticker' => InputDocument, 'position' => int, ]); +$messages.StickerSet = $MadelineProto->stickers->changeStickerPosition(['sticker' => InputDocument, 'position' => int, ]); ``` Or, if you're into Lua: ```lua -messages_StickerSet = stickers.changeStickerPosition({sticker=InputDocument, position=int, }) +messages.StickerSet = stickers.changeStickerPosition({sticker=InputDocument, position=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v89/methods/stickers.createStickerSet.md b/old_docs/API_docs_v89/methods/stickers.createStickerSet.md index 5a6ef396..7eeeb48f 100644 --- a/old_docs/API_docs_v89/methods/stickers.createStickerSet.md +++ b/old_docs/API_docs_v89/methods/stickers.createStickerSet.md @@ -20,7 +20,7 @@ Create a stickerset, bots only. |stickers|Array of [InputStickerSetItem](../types/InputStickerSetItem.md) | The stickers to add | Yes| -### Return type: [messages\_StickerSet](../types/messages_StickerSet.md) +### Return type: [messages.StickerSet](../types/messages.StickerSet.md) ### Can bots use this method: **YES** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StickerSet = $MadelineProto->stickers->createStickerSet(['masks' => Bool, 'user_id' => InputUser, 'title' => 'string', 'short_name' => 'string', 'stickers' => [InputStickerSetItem, InputStickerSetItem], ]); +$messages.StickerSet = $MadelineProto->stickers->createStickerSet(['masks' => Bool, 'user_id' => InputUser, 'title' => 'string', 'short_name' => 'string', 'stickers' => [InputStickerSetItem, InputStickerSetItem], ]); ``` Or, if you're into Lua: ```lua -messages_StickerSet = stickers.createStickerSet({masks=Bool, user_id=InputUser, title='string', short_name='string', stickers={InputStickerSetItem}, }) +messages.StickerSet = stickers.createStickerSet({masks=Bool, user_id=InputUser, title='string', short_name='string', stickers={InputStickerSetItem}, }) ``` ### Errors diff --git a/old_docs/API_docs_v89/methods/stickers.removeStickerFromSet.md b/old_docs/API_docs_v89/methods/stickers.removeStickerFromSet.md index 33f677b3..aa4927ca 100644 --- a/old_docs/API_docs_v89/methods/stickers.removeStickerFromSet.md +++ b/old_docs/API_docs_v89/methods/stickers.removeStickerFromSet.md @@ -16,7 +16,7 @@ Remove a sticker from the set where it belongs, bots only. The sticker set must |sticker|[MessageMedia, Update, Message or InputDocument](../types/InputDocument.md) | The sticker to remove | Optional| -### Return type: [messages\_StickerSet](../types/messages_StickerSet.md) +### Return type: [messages.StickerSet](../types/messages.StickerSet.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StickerSet = $MadelineProto->stickers->removeStickerFromSet(['sticker' => InputDocument, ]); +$messages.StickerSet = $MadelineProto->stickers->removeStickerFromSet(['sticker' => InputDocument, ]); ``` Or, if you're into Lua: ```lua -messages_StickerSet = stickers.removeStickerFromSet({sticker=InputDocument, }) +messages.StickerSet = stickers.removeStickerFromSet({sticker=InputDocument, }) ``` ### Errors diff --git a/old_docs/API_docs_v89/methods/updates.getChannelDifference.md b/old_docs/API_docs_v89/methods/updates.getChannelDifference.md index 5675cd33..08df3395 100644 --- a/old_docs/API_docs_v89/methods/updates.getChannelDifference.md +++ b/old_docs/API_docs_v89/methods/updates.getChannelDifference.md @@ -20,7 +20,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz for more |limit|[int](../types/int.md) | You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates | Yes| -### Return type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) +### Return type: [updates.ChannelDifference](../types/updates.ChannelDifference.md) ### Can bots use this method: **YES** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$updates_ChannelDifference = $MadelineProto->updates->getChannelDifference(['force' => Bool, 'channel' => InputChannel, 'filter' => ChannelMessagesFilter, 'pts' => int, 'limit' => int, ]); +$updates.ChannelDifference = $MadelineProto->updates->getChannelDifference(['force' => Bool, 'channel' => InputChannel, 'filter' => ChannelMessagesFilter, 'pts' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -updates_ChannelDifference = updates.getChannelDifference({force=Bool, channel=InputChannel, filter=ChannelMessagesFilter, pts=int, limit=int, }) +updates.ChannelDifference = updates.getChannelDifference({force=Bool, channel=InputChannel, filter=ChannelMessagesFilter, pts=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v89/methods/updates.getDifference.md b/old_docs/API_docs_v89/methods/updates.getDifference.md index bcfac4e2..b3796a10 100644 --- a/old_docs/API_docs_v89/methods/updates.getDifference.md +++ b/old_docs/API_docs_v89/methods/updates.getDifference.md @@ -19,7 +19,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz for more |qts|[int](../types/int.md) | You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates | Yes| -### Return type: [updates\_Difference](../types/updates_Difference.md) +### Return type: [updates.Difference](../types/updates.Difference.md) ### Can bots use this method: **YES** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$updates_Difference = $MadelineProto->updates->getDifference(['pts' => int, 'pts_total_limit' => int, 'date' => int, 'qts' => int, ]); +$updates.Difference = $MadelineProto->updates->getDifference(['pts' => int, 'pts_total_limit' => int, 'date' => int, 'qts' => int, ]); ``` Or, if you're into Lua: ```lua -updates_Difference = updates.getDifference({pts=int, pts_total_limit=int, date=int, qts=int, }) +updates.Difference = updates.getDifference({pts=int, pts_total_limit=int, date=int, qts=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v89/methods/updates.getState.md b/old_docs/API_docs_v89/methods/updates.getState.md index c591408a..9a7d2f34 100644 --- a/old_docs/API_docs_v89/methods/updates.getState.md +++ b/old_docs/API_docs_v89/methods/updates.getState.md @@ -11,7 +11,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz for more -### Return type: [updates\_State](../types/updates_State.md) +### Return type: [updates.State](../types/updates.State.md) ### Can bots use this method: **YES** @@ -28,13 +28,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$updates_State = $MadelineProto->updates->getState(); +$updates.State = $MadelineProto->updates->getState(); ``` Or, if you're into Lua: ```lua -updates_State = updates.getState({}) +updates.State = updates.getState({}) ``` ### Errors diff --git a/old_docs/API_docs_v89/methods/upload.getCdnFile.md b/old_docs/API_docs_v89/methods/upload.getCdnFile.md index a3c928b2..67b2e84e 100644 --- a/old_docs/API_docs_v89/methods/upload.getCdnFile.md +++ b/old_docs/API_docs_v89/methods/upload.getCdnFile.md @@ -18,7 +18,7 @@ You cannot use this method directly, use the upload, downloadToStream, downloadT |limit|[int](../types/int.md) | You cannot use this method directly, use the upload, downloadToStream, downloadToFile, downloadToDir methods instead; see https://docs.madelineproto.xyz for more info | Yes| -### Return type: [upload\_CdnFile](../types/upload_CdnFile.md) +### Return type: [upload.CdnFile](../types/upload.CdnFile.md) ### Can bots use this method: **NO** @@ -35,12 +35,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$upload_CdnFile = $MadelineProto->upload->getCdnFile(['file_token' => 'bytes', 'offset' => int, 'limit' => int, ]); +$upload.CdnFile = $MadelineProto->upload->getCdnFile(['file_token' => 'bytes', 'offset' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -upload_CdnFile = upload.getCdnFile({file_token='bytes', offset=int, limit=int, }) +upload.CdnFile = upload.getCdnFile({file_token='bytes', offset=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v89/methods/upload.getFile.md b/old_docs/API_docs_v89/methods/upload.getFile.md index 8aba03d4..ab9f4fe2 100644 --- a/old_docs/API_docs_v89/methods/upload.getFile.md +++ b/old_docs/API_docs_v89/methods/upload.getFile.md @@ -18,7 +18,7 @@ You cannot use this method directly, use the upload, downloadToStream, downloadT |limit|[int](../types/int.md) | You cannot use this method directly, use the upload, downloadToStream, downloadToFile, downloadToDir methods instead; see https://docs.madelineproto.xyz for more info | Yes| -### Return type: [upload\_File](../types/upload_File.md) +### Return type: [upload.File](../types/upload.File.md) ### Can bots use this method: **YES** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$upload_File = $MadelineProto->upload->getFile(['location' => InputFileLocation, 'offset' => int, 'limit' => int, ]); +$upload.File = $MadelineProto->upload->getFile(['location' => InputFileLocation, 'offset' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -upload_File = upload.getFile({location=InputFileLocation, offset=int, limit=int, }) +upload.File = upload.getFile({location=InputFileLocation, offset=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v89/methods/upload.getWebFile.md b/old_docs/API_docs_v89/methods/upload.getWebFile.md index 32f6b322..60f1b8c1 100644 --- a/old_docs/API_docs_v89/methods/upload.getWebFile.md +++ b/old_docs/API_docs_v89/methods/upload.getWebFile.md @@ -18,7 +18,7 @@ Returns content of an HTTP file or a part, by proxying the request through teleg |limit|[int](../types/int.md) | Number of bytes to be returned | Yes| -### Return type: [upload\_WebFile](../types/upload_WebFile.md) +### Return type: [upload.WebFile](../types/upload.WebFile.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$upload_WebFile = $MadelineProto->upload->getWebFile(['location' => InputWebFileLocation, 'offset' => int, 'limit' => int, ]); +$upload.WebFile = $MadelineProto->upload->getWebFile(['location' => InputWebFileLocation, 'offset' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -upload_WebFile = upload.getWebFile({location=InputWebFileLocation, offset=int, limit=int, }) +upload.WebFile = upload.getWebFile({location=InputWebFileLocation, offset=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v89/types/AccountDaysTTL.md b/old_docs/API_docs_v89/types/AccountDaysTTL.md index 12a10190..f3494aac 100644 --- a/old_docs/API_docs_v89/types/AccountDaysTTL.md +++ b/old_docs/API_docs_v89/types/AccountDaysTTL.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->account->getAccountTTL](../methods/account_getAccountTTL.md) +[$MadelineProto->account->getAccountTTL](../methods/account.getAccountTTL.md) diff --git a/old_docs/API_docs_v89/types/CdnConfig.md b/old_docs/API_docs_v89/types/CdnConfig.md index fbfe01c3..0b0fb5be 100644 --- a/old_docs/API_docs_v89/types/CdnConfig.md +++ b/old_docs/API_docs_v89/types/CdnConfig.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->help->getCdnConfig](../methods/help_getCdnConfig.md) +[$MadelineProto->help->getCdnConfig](../methods/help.getCdnConfig.md) diff --git a/old_docs/API_docs_v89/types/ChatInvite.md b/old_docs/API_docs_v89/types/ChatInvite.md index 5022a2f0..9fafabb4 100644 --- a/old_docs/API_docs_v89/types/ChatInvite.md +++ b/old_docs/API_docs_v89/types/ChatInvite.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->checkChatInvite](../methods/messages_checkChatInvite.md) +[$MadelineProto->messages->checkChatInvite](../methods/messages.checkChatInvite.md) diff --git a/old_docs/API_docs_v89/types/Config.md b/old_docs/API_docs_v89/types/Config.md index 0f7fbe70..3a23b7b7 100644 --- a/old_docs/API_docs_v89/types/Config.md +++ b/old_docs/API_docs_v89/types/Config.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->help->getConfig](../methods/help_getConfig.md) +[$MadelineProto->help->getConfig](../methods/help.getConfig.md) diff --git a/old_docs/API_docs_v89/types/ContactStatus.md b/old_docs/API_docs_v89/types/ContactStatus.md index c5f5d658..30aee6e2 100644 --- a/old_docs/API_docs_v89/types/ContactStatus.md +++ b/old_docs/API_docs_v89/types/ContactStatus.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->contacts->getStatuses](../methods/contacts_getStatuses.md) +[$MadelineProto->contacts->getStatuses](../methods/contacts.getStatuses.md) diff --git a/old_docs/API_docs_v89/types/DialogPeer.md b/old_docs/API_docs_v89/types/DialogPeer.md index 77d00a35..72c2a973 100644 --- a/old_docs/API_docs_v89/types/DialogPeer.md +++ b/old_docs/API_docs_v89/types/DialogPeer.md @@ -40,7 +40,7 @@ A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDia ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getDialogUnreadMarks](../methods/messages_getDialogUnreadMarks.md) +[$MadelineProto->messages->getDialogUnreadMarks](../methods/messages.getDialogUnreadMarks.md) diff --git a/old_docs/API_docs_v89/types/Document.md b/old_docs/API_docs_v89/types/Document.md index f68b7aa4..2cb85623 100644 --- a/old_docs/API_docs_v89/types/Document.md +++ b/old_docs/API_docs_v89/types/Document.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getDocumentByHash](../methods/messages_getDocumentByHash.md) +[$MadelineProto->messages->getDocumentByHash](../methods/messages.getDocumentByHash.md) diff --git a/old_docs/API_docs_v89/types/EncryptedChat.md b/old_docs/API_docs_v89/types/EncryptedChat.md index fd2277f6..19cf52b0 100644 --- a/old_docs/API_docs_v89/types/EncryptedChat.md +++ b/old_docs/API_docs_v89/types/EncryptedChat.md @@ -24,9 +24,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->requestEncryption](../methods/messages_requestEncryption.md) +[$MadelineProto->messages->requestEncryption](../methods/messages.requestEncryption.md) -[$MadelineProto->messages->acceptEncryption](../methods/messages_acceptEncryption.md) +[$MadelineProto->messages->acceptEncryption](../methods/messages.acceptEncryption.md) diff --git a/old_docs/API_docs_v89/types/EncryptedFile.md b/old_docs/API_docs_v89/types/EncryptedFile.md index a26d40bb..8ecf8e9d 100644 --- a/old_docs/API_docs_v89/types/EncryptedFile.md +++ b/old_docs/API_docs_v89/types/EncryptedFile.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->uploadEncryptedFile](../methods/messages_uploadEncryptedFile.md) +[$MadelineProto->messages->uploadEncryptedFile](../methods/messages.uploadEncryptedFile.md) diff --git a/old_docs/API_docs_v89/types/ExportedChatInvite.md b/old_docs/API_docs_v89/types/ExportedChatInvite.md index 4213a78f..53ce5f59 100644 --- a/old_docs/API_docs_v89/types/ExportedChatInvite.md +++ b/old_docs/API_docs_v89/types/ExportedChatInvite.md @@ -18,9 +18,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->exportChatInvite](../methods/messages_exportChatInvite.md) +[$MadelineProto->messages->exportChatInvite](../methods/messages.exportChatInvite.md) -[$MadelineProto->channels->exportInvite](../methods/channels_exportInvite.md) +[$MadelineProto->channels->exportInvite](../methods/channels.exportInvite.md) diff --git a/old_docs/API_docs_v89/types/ExportedMessageLink.md b/old_docs/API_docs_v89/types/ExportedMessageLink.md index eb2400f6..948e9c90 100644 --- a/old_docs/API_docs_v89/types/ExportedMessageLink.md +++ b/old_docs/API_docs_v89/types/ExportedMessageLink.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->channels->exportMessageLink](../methods/channels_exportMessageLink.md) +[$MadelineProto->channels->exportMessageLink](../methods/channels.exportMessageLink.md) diff --git a/old_docs/API_docs_v89/types/FileHash.md b/old_docs/API_docs_v89/types/FileHash.md index 3201d7e0..a908fb9b 100644 --- a/old_docs/API_docs_v89/types/FileHash.md +++ b/old_docs/API_docs_v89/types/FileHash.md @@ -16,11 +16,11 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->upload->reuploadCdnFile](../methods/upload_reuploadCdnFile.md) +[$MadelineProto->upload->reuploadCdnFile](../methods/upload.reuploadCdnFile.md) -[$MadelineProto->upload->getCdnFileHashes](../methods/upload_getCdnFileHashes.md) +[$MadelineProto->upload->getCdnFileHashes](../methods/upload.getCdnFileHashes.md) -[$MadelineProto->upload->getFileHashes](../methods/upload_getFileHashes.md) +[$MadelineProto->upload->getFileHashes](../methods/upload.getFileHashes.md) diff --git a/old_docs/API_docs_v89/types/LangPackDifference.md b/old_docs/API_docs_v89/types/LangPackDifference.md index fd9f41f2..e04125b8 100644 --- a/old_docs/API_docs_v89/types/LangPackDifference.md +++ b/old_docs/API_docs_v89/types/LangPackDifference.md @@ -16,9 +16,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->langpack->getLangPack](../methods/langpack_getLangPack.md) +[$MadelineProto->langpack->getLangPack](../methods/langpack.getLangPack.md) -[$MadelineProto->langpack->getDifference](../methods/langpack_getDifference.md) +[$MadelineProto->langpack->getDifference](../methods/langpack.getDifference.md) diff --git a/old_docs/API_docs_v89/types/LangPackLanguage.md b/old_docs/API_docs_v89/types/LangPackLanguage.md index f6559af9..74c7172d 100644 --- a/old_docs/API_docs_v89/types/LangPackLanguage.md +++ b/old_docs/API_docs_v89/types/LangPackLanguage.md @@ -16,9 +16,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->langpack->getLanguages](../methods/langpack_getLanguages.md) +[$MadelineProto->langpack->getLanguages](../methods/langpack.getLanguages.md) -[$MadelineProto->langpack->getLanguage](../methods/langpack_getLanguage.md) +[$MadelineProto->langpack->getLanguage](../methods/langpack.getLanguage.md) diff --git a/old_docs/API_docs_v89/types/LangPackString.md b/old_docs/API_docs_v89/types/LangPackString.md index f1a43dd9..15f9dc3d 100644 --- a/old_docs/API_docs_v89/types/LangPackString.md +++ b/old_docs/API_docs_v89/types/LangPackString.md @@ -20,7 +20,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->langpack->getStrings](../methods/langpack_getStrings.md) +[$MadelineProto->langpack->getStrings](../methods/langpack.getStrings.md) diff --git a/old_docs/API_docs_v89/types/MessageMedia.md b/old_docs/API_docs_v89/types/MessageMedia.md index fa00818d..23c0e9a5 100644 --- a/old_docs/API_docs_v89/types/MessageMedia.md +++ b/old_docs/API_docs_v89/types/MessageMedia.md @@ -36,9 +36,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getWebPagePreview](../methods/messages_getWebPagePreview.md) +[$MadelineProto->messages->getWebPagePreview](../methods/messages.getWebPagePreview.md) -[$MadelineProto->messages->uploadMedia](../methods/messages_uploadMedia.md) +[$MadelineProto->messages->uploadMedia](../methods/messages.uploadMedia.md) diff --git a/old_docs/API_docs_v89/types/MessageRange.md b/old_docs/API_docs_v89/types/MessageRange.md index c93011aa..ffd65e90 100644 --- a/old_docs/API_docs_v89/types/MessageRange.md +++ b/old_docs/API_docs_v89/types/MessageRange.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getSplitRanges](../methods/messages_getSplitRanges.md) +[$MadelineProto->messages->getSplitRanges](../methods/messages.getSplitRanges.md) diff --git a/old_docs/API_docs_v89/types/NearestDc.md b/old_docs/API_docs_v89/types/NearestDc.md index 31f24377..296a4dff 100644 --- a/old_docs/API_docs_v89/types/NearestDc.md +++ b/old_docs/API_docs_v89/types/NearestDc.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->help->getNearestDc](../methods/help_getNearestDc.md) +[$MadelineProto->help->getNearestDc](../methods/help.getNearestDc.md) diff --git a/old_docs/API_docs_v89/types/PeerNotifySettings.md b/old_docs/API_docs_v89/types/PeerNotifySettings.md index ecb483c5..d3b4833c 100644 --- a/old_docs/API_docs_v89/types/PeerNotifySettings.md +++ b/old_docs/API_docs_v89/types/PeerNotifySettings.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->account->getNotifySettings](../methods/account_getNotifySettings.md) +[$MadelineProto->account->getNotifySettings](../methods/account.getNotifySettings.md) diff --git a/old_docs/API_docs_v89/types/PeerSettings.md b/old_docs/API_docs_v89/types/PeerSettings.md index 60ac3765..31ef7e38 100644 --- a/old_docs/API_docs_v89/types/PeerSettings.md +++ b/old_docs/API_docs_v89/types/PeerSettings.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getPeerSettings](../methods/messages_getPeerSettings.md) +[$MadelineProto->messages->getPeerSettings](../methods/messages.getPeerSettings.md) diff --git a/old_docs/API_docs_v89/types/README.md b/old_docs/API_docs_v89/types/README.md index f461f45a..d0fca3a3 100644 --- a/old_docs/API_docs_v89/types/README.md +++ b/old_docs/API_docs_v89/types/README.md @@ -341,163 +341,163 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png [X](X.md) -[account\_AuthorizationForm](account_AuthorizationForm.md) +[account.AuthorizationForm](account.AuthorizationForm.md) -[account\_Authorizations](account_Authorizations.md) +[account.Authorizations](account.Authorizations.md) -[account\_Password](account_Password.md) +[account.Password](account.Password.md) -[account\_PasswordInputSettings](account_PasswordInputSettings.md) +[account.PasswordInputSettings](account.PasswordInputSettings.md) -[account\_PasswordSettings](account_PasswordSettings.md) +[account.PasswordSettings](account.PasswordSettings.md) -[account\_PrivacyRules](account_PrivacyRules.md) +[account.PrivacyRules](account.PrivacyRules.md) -[account\_SentEmailCode](account_SentEmailCode.md) +[account.SentEmailCode](account.SentEmailCode.md) -[account\_Takeout](account_Takeout.md) +[account.Takeout](account.Takeout.md) -[account\_TmpPassword](account_TmpPassword.md) +[account.TmpPassword](account.TmpPassword.md) -[account\_WebAuthorizations](account_WebAuthorizations.md) +[account.WebAuthorizations](account.WebAuthorizations.md) -[auth\_Authorization](auth_Authorization.md) +[auth.Authorization](auth.Authorization.md) -[auth\_CheckedPhone](auth_CheckedPhone.md) +[auth.CheckedPhone](auth.CheckedPhone.md) -[auth\_CodeType](auth_CodeType.md) +[auth.CodeType](auth.CodeType.md) -[auth\_ExportedAuthorization](auth_ExportedAuthorization.md) +[auth.ExportedAuthorization](auth.ExportedAuthorization.md) -[auth\_PasswordRecovery](auth_PasswordRecovery.md) +[auth.PasswordRecovery](auth.PasswordRecovery.md) -[auth\_SentCode](auth_SentCode.md) +[auth.SentCode](auth.SentCode.md) -[auth\_SentCodeType](auth_SentCodeType.md) +[auth.SentCodeType](auth.SentCodeType.md) -[channels\_AdminLogResults](channels_AdminLogResults.md) +[channels.AdminLogResults](channels.AdminLogResults.md) -[channels\_ChannelParticipant](channels_ChannelParticipant.md) +[channels.ChannelParticipant](channels.ChannelParticipant.md) -[channels\_ChannelParticipants](channels_ChannelParticipants.md) +[channels.ChannelParticipants](channels.ChannelParticipants.md) -[contacts\_Blocked](contacts_Blocked.md) +[contacts.Blocked](contacts.Blocked.md) -[contacts\_Contacts](contacts_Contacts.md) +[contacts.Contacts](contacts.Contacts.md) -[contacts\_Found](contacts_Found.md) +[contacts.Found](contacts.Found.md) -[contacts\_ImportedContacts](contacts_ImportedContacts.md) +[contacts.ImportedContacts](contacts.ImportedContacts.md) -[contacts\_Link](contacts_Link.md) +[contacts.Link](contacts.Link.md) -[contacts\_ResolvedPeer](contacts_ResolvedPeer.md) +[contacts.ResolvedPeer](contacts.ResolvedPeer.md) -[contacts\_TopPeers](contacts_TopPeers.md) +[contacts.TopPeers](contacts.TopPeers.md) -[help\_AppUpdate](help_AppUpdate.md) +[help.AppUpdate](help.AppUpdate.md) -[help\_ConfigSimple](help_ConfigSimple.md) +[help.ConfigSimple](help.ConfigSimple.md) -[help\_DeepLinkInfo](help_DeepLinkInfo.md) +[help.DeepLinkInfo](help.DeepLinkInfo.md) -[help\_InviteText](help_InviteText.md) +[help.InviteText](help.InviteText.md) -[help\_PassportConfig](help_PassportConfig.md) +[help.PassportConfig](help.PassportConfig.md) -[help\_ProxyData](help_ProxyData.md) +[help.ProxyData](help.ProxyData.md) -[help\_RecentMeUrls](help_RecentMeUrls.md) +[help.RecentMeUrls](help.RecentMeUrls.md) -[help\_Support](help_Support.md) +[help.Support](help.Support.md) -[help\_SupportName](help_SupportName.md) +[help.SupportName](help.SupportName.md) -[help\_TermsOfService](help_TermsOfService.md) +[help.TermsOfService](help.TermsOfService.md) -[help\_TermsOfServiceUpdate](help_TermsOfServiceUpdate.md) +[help.TermsOfServiceUpdate](help.TermsOfServiceUpdate.md) -[help\_UserInfo](help_UserInfo.md) +[help.UserInfo](help.UserInfo.md) [int](int.md) [long](long.md) -[messages\_AffectedHistory](messages_AffectedHistory.md) +[messages.AffectedHistory](messages.AffectedHistory.md) -[messages\_AffectedMessages](messages_AffectedMessages.md) +[messages.AffectedMessages](messages.AffectedMessages.md) -[messages\_AllStickers](messages_AllStickers.md) +[messages.AllStickers](messages.AllStickers.md) -[messages\_ArchivedStickers](messages_ArchivedStickers.md) +[messages.ArchivedStickers](messages.ArchivedStickers.md) -[messages\_BotCallbackAnswer](messages_BotCallbackAnswer.md) +[messages.BotCallbackAnswer](messages.BotCallbackAnswer.md) -[messages\_BotResults](messages_BotResults.md) +[messages.BotResults](messages.BotResults.md) -[messages\_ChatFull](messages_ChatFull.md) +[messages.ChatFull](messages.ChatFull.md) -[messages\_Chats](messages_Chats.md) +[messages.Chats](messages.Chats.md) -[messages\_DhConfig](messages_DhConfig.md) +[messages.DhConfig](messages.DhConfig.md) -[messages\_Dialogs](messages_Dialogs.md) +[messages.Dialogs](messages.Dialogs.md) -[messages\_FavedStickers](messages_FavedStickers.md) +[messages.FavedStickers](messages.FavedStickers.md) -[messages\_FeaturedStickers](messages_FeaturedStickers.md) +[messages.FeaturedStickers](messages.FeaturedStickers.md) -[messages\_FoundGifs](messages_FoundGifs.md) +[messages.FoundGifs](messages.FoundGifs.md) -[messages\_FoundStickerSets](messages_FoundStickerSets.md) +[messages.FoundStickerSets](messages.FoundStickerSets.md) -[messages\_HighScores](messages_HighScores.md) +[messages.HighScores](messages.HighScores.md) -[messages\_MessageEditData](messages_MessageEditData.md) +[messages.MessageEditData](messages.MessageEditData.md) -[messages\_Messages](messages_Messages.md) +[messages.Messages](messages.Messages.md) -[messages\_PeerDialogs](messages_PeerDialogs.md) +[messages.PeerDialogs](messages.PeerDialogs.md) -[messages\_RecentStickers](messages_RecentStickers.md) +[messages.RecentStickers](messages.RecentStickers.md) -[messages\_SavedGifs](messages_SavedGifs.md) +[messages.SavedGifs](messages.SavedGifs.md) -[messages\_SentEncryptedMessage](messages_SentEncryptedMessage.md) +[messages.SentEncryptedMessage](messages.SentEncryptedMessage.md) -[messages\_StickerSet](messages_StickerSet.md) +[messages.StickerSet](messages.StickerSet.md) -[messages\_StickerSetInstallResult](messages_StickerSetInstallResult.md) +[messages.StickerSetInstallResult](messages.StickerSetInstallResult.md) -[messages\_Stickers](messages_Stickers.md) +[messages.Stickers](messages.Stickers.md) -[payments\_PaymentForm](payments_PaymentForm.md) +[payments.PaymentForm](payments.PaymentForm.md) -[payments\_PaymentReceipt](payments_PaymentReceipt.md) +[payments.PaymentReceipt](payments.PaymentReceipt.md) -[payments\_PaymentResult](payments_PaymentResult.md) +[payments.PaymentResult](payments.PaymentResult.md) -[payments\_SavedInfo](payments_SavedInfo.md) +[payments.SavedInfo](payments.SavedInfo.md) -[payments\_ValidatedRequestedInfo](payments_ValidatedRequestedInfo.md) +[payments.ValidatedRequestedInfo](payments.ValidatedRequestedInfo.md) -[phone\_PhoneCall](phone_PhoneCall.md) +[phone.PhoneCall](phone.PhoneCall.md) -[photos\_Photo](photos_Photo.md) +[photos.Photo](photos.Photo.md) -[photos\_Photos](photos_Photos.md) +[photos.Photos](photos.Photos.md) -[storage\_FileType](storage_FileType.md) +[storage.FileType](storage.FileType.md) -[updates\_ChannelDifference](updates_ChannelDifference.md) +[updates.ChannelDifference](updates.ChannelDifference.md) -[updates\_Difference](updates_Difference.md) +[updates.Difference](updates.Difference.md) -[updates\_State](updates_State.md) +[updates.State](updates.State.md) -[upload\_CdnFile](upload_CdnFile.md) +[upload.CdnFile](upload.CdnFile.md) -[upload\_File](upload_File.md) +[upload.File](upload.File.md) -[upload\_WebFile](upload_WebFile.md) +[upload.WebFile](upload.WebFile.md) diff --git a/old_docs/API_docs_v89/types/ReceivedNotifyMessage.md b/old_docs/API_docs_v89/types/ReceivedNotifyMessage.md index c7fc3b8c..416aa275 100644 --- a/old_docs/API_docs_v89/types/ReceivedNotifyMessage.md +++ b/old_docs/API_docs_v89/types/ReceivedNotifyMessage.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->receivedMessages](../methods/messages_receivedMessages.md) +[$MadelineProto->messages->receivedMessages](../methods/messages.receivedMessages.md) diff --git a/old_docs/API_docs_v89/types/SavedContact.md b/old_docs/API_docs_v89/types/SavedContact.md index c337f3eb..73a91ba6 100644 --- a/old_docs/API_docs_v89/types/SavedContact.md +++ b/old_docs/API_docs_v89/types/SavedContact.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->contacts->getSaved](../methods/contacts_getSaved.md) +[$MadelineProto->contacts->getSaved](../methods/contacts.getSaved.md) diff --git a/old_docs/API_docs_v89/types/SecureValue.md b/old_docs/API_docs_v89/types/SecureValue.md index 8490f399..2ab18f68 100644 --- a/old_docs/API_docs_v89/types/SecureValue.md +++ b/old_docs/API_docs_v89/types/SecureValue.md @@ -16,11 +16,11 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->account->getAllSecureValues](../methods/account_getAllSecureValues.md) +[$MadelineProto->account->getAllSecureValues](../methods/account.getAllSecureValues.md) -[$MadelineProto->account->getSecureValue](../methods/account_getSecureValue.md) +[$MadelineProto->account->getSecureValue](../methods/account.getSecureValue.md) -[$MadelineProto->account->saveSecureValue](../methods/account_saveSecureValue.md) +[$MadelineProto->account->saveSecureValue](../methods/account.saveSecureValue.md) diff --git a/old_docs/API_docs_v89/types/StickerSetCovered.md b/old_docs/API_docs_v89/types/StickerSetCovered.md index ffd1da1f..f57cd117 100644 --- a/old_docs/API_docs_v89/types/StickerSetCovered.md +++ b/old_docs/API_docs_v89/types/StickerSetCovered.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getAttachedStickers](../methods/messages_getAttachedStickers.md) +[$MadelineProto->messages->getAttachedStickers](../methods/messages.getAttachedStickers.md) diff --git a/old_docs/API_docs_v89/types/Updates.md b/old_docs/API_docs_v89/types/Updates.md index 2e3d7b82..f75660d0 100644 --- a/old_docs/API_docs_v89/types/Updates.md +++ b/old_docs/API_docs_v89/types/Updates.md @@ -28,75 +28,75 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->sendMessage](../methods/messages_sendMessage.md) +[$MadelineProto->messages->sendMessage](../methods/messages.sendMessage.md) -[$MadelineProto->messages->sendMedia](../methods/messages_sendMedia.md) +[$MadelineProto->messages->sendMedia](../methods/messages.sendMedia.md) -[$MadelineProto->messages->forwardMessages](../methods/messages_forwardMessages.md) +[$MadelineProto->messages->forwardMessages](../methods/messages.forwardMessages.md) -[$MadelineProto->messages->editChatTitle](../methods/messages_editChatTitle.md) +[$MadelineProto->messages->editChatTitle](../methods/messages.editChatTitle.md) -[$MadelineProto->messages->editChatPhoto](../methods/messages_editChatPhoto.md) +[$MadelineProto->messages->editChatPhoto](../methods/messages.editChatPhoto.md) -[$MadelineProto->messages->addChatUser](../methods/messages_addChatUser.md) +[$MadelineProto->messages->addChatUser](../methods/messages.addChatUser.md) -[$MadelineProto->messages->deleteChatUser](../methods/messages_deleteChatUser.md) +[$MadelineProto->messages->deleteChatUser](../methods/messages.deleteChatUser.md) -[$MadelineProto->messages->createChat](../methods/messages_createChat.md) +[$MadelineProto->messages->createChat](../methods/messages.createChat.md) -[$MadelineProto->messages->importChatInvite](../methods/messages_importChatInvite.md) +[$MadelineProto->messages->importChatInvite](../methods/messages.importChatInvite.md) -[$MadelineProto->messages->startBot](../methods/messages_startBot.md) +[$MadelineProto->messages->startBot](../methods/messages.startBot.md) -[$MadelineProto->messages->toggleChatAdmins](../methods/messages_toggleChatAdmins.md) +[$MadelineProto->messages->toggleChatAdmins](../methods/messages.toggleChatAdmins.md) -[$MadelineProto->messages->migrateChat](../methods/messages_migrateChat.md) +[$MadelineProto->messages->migrateChat](../methods/messages.migrateChat.md) -[$MadelineProto->messages->sendInlineBotResult](../methods/messages_sendInlineBotResult.md) +[$MadelineProto->messages->sendInlineBotResult](../methods/messages.sendInlineBotResult.md) -[$MadelineProto->messages->editMessage](../methods/messages_editMessage.md) +[$MadelineProto->messages->editMessage](../methods/messages.editMessage.md) -[$MadelineProto->messages->getAllDrafts](../methods/messages_getAllDrafts.md) +[$MadelineProto->messages->getAllDrafts](../methods/messages.getAllDrafts.md) -[$MadelineProto->messages->setGameScore](../methods/messages_setGameScore.md) +[$MadelineProto->messages->setGameScore](../methods/messages.setGameScore.md) -[$MadelineProto->messages->sendScreenshotNotification](../methods/messages_sendScreenshotNotification.md) +[$MadelineProto->messages->sendScreenshotNotification](../methods/messages.sendScreenshotNotification.md) -[$MadelineProto->messages->sendMultiMedia](../methods/messages_sendMultiMedia.md) +[$MadelineProto->messages->sendMultiMedia](../methods/messages.sendMultiMedia.md) -[$MadelineProto->messages->updatePinnedMessage](../methods/messages_updatePinnedMessage.md) +[$MadelineProto->messages->updatePinnedMessage](../methods/messages.updatePinnedMessage.md) -[$MadelineProto->help->getAppChangelog](../methods/help_getAppChangelog.md) +[$MadelineProto->help->getAppChangelog](../methods/help.getAppChangelog.md) -[$MadelineProto->channels->createChannel](../methods/channels_createChannel.md) +[$MadelineProto->channels->createChannel](../methods/channels.createChannel.md) -[$MadelineProto->channels->editAdmin](../methods/channels_editAdmin.md) +[$MadelineProto->channels->editAdmin](../methods/channels.editAdmin.md) -[$MadelineProto->channels->editTitle](../methods/channels_editTitle.md) +[$MadelineProto->channels->editTitle](../methods/channels.editTitle.md) -[$MadelineProto->channels->editPhoto](../methods/channels_editPhoto.md) +[$MadelineProto->channels->editPhoto](../methods/channels.editPhoto.md) -[$MadelineProto->channels->joinChannel](../methods/channels_joinChannel.md) +[$MadelineProto->channels->joinChannel](../methods/channels.joinChannel.md) -[$MadelineProto->channels->leaveChannel](../methods/channels_leaveChannel.md) +[$MadelineProto->channels->leaveChannel](../methods/channels.leaveChannel.md) -[$MadelineProto->channels->inviteToChannel](../methods/channels_inviteToChannel.md) +[$MadelineProto->channels->inviteToChannel](../methods/channels.inviteToChannel.md) -[$MadelineProto->channels->deleteChannel](../methods/channels_deleteChannel.md) +[$MadelineProto->channels->deleteChannel](../methods/channels.deleteChannel.md) -[$MadelineProto->channels->toggleInvites](../methods/channels_toggleInvites.md) +[$MadelineProto->channels->toggleInvites](../methods/channels.toggleInvites.md) -[$MadelineProto->channels->toggleSignatures](../methods/channels_toggleSignatures.md) +[$MadelineProto->channels->toggleSignatures](../methods/channels.toggleSignatures.md) -[$MadelineProto->channels->updatePinnedMessage](../methods/channels_updatePinnedMessage.md) +[$MadelineProto->channels->updatePinnedMessage](../methods/channels.updatePinnedMessage.md) -[$MadelineProto->channels->editBanned](../methods/channels_editBanned.md) +[$MadelineProto->channels->editBanned](../methods/channels.editBanned.md) -[$MadelineProto->channels->togglePreHistoryHidden](../methods/channels_togglePreHistoryHidden.md) +[$MadelineProto->channels->togglePreHistoryHidden](../methods/channels.togglePreHistoryHidden.md) -[$MadelineProto->phone->discardCall](../methods/phone_discardCall.md) +[$MadelineProto->phone->discardCall](../methods/phone.discardCall.md) -[$MadelineProto->phone->setCallRating](../methods/phone_setCallRating.md) +[$MadelineProto->phone->setCallRating](../methods/phone.setCallRating.md) diff --git a/old_docs/API_docs_v89/types/User.md b/old_docs/API_docs_v89/types/User.md index 3abd182f..a2e028f4 100644 --- a/old_docs/API_docs_v89/types/User.md +++ b/old_docs/API_docs_v89/types/User.md @@ -42,15 +42,15 @@ A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDia ### Methods that return an object of this type (methods): -[$MadelineProto->account->updateProfile](../methods/account_updateProfile.md) +[$MadelineProto->account->updateProfile](../methods/account.updateProfile.md) -[$MadelineProto->account->updateUsername](../methods/account_updateUsername.md) +[$MadelineProto->account->updateUsername](../methods/account.updateUsername.md) -[$MadelineProto->account->changePhone](../methods/account_changePhone.md) +[$MadelineProto->account->changePhone](../methods/account.changePhone.md) -[$MadelineProto->users->getUsers](../methods/users_getUsers.md) +[$MadelineProto->users->getUsers](../methods/users.getUsers.md) -[$MadelineProto->contacts->importCard](../methods/contacts_importCard.md) +[$MadelineProto->contacts->importCard](../methods/contacts.importCard.md) diff --git a/old_docs/API_docs_v89/types/UserFull.md b/old_docs/API_docs_v89/types/UserFull.md index 79ad30bb..ac50052f 100644 --- a/old_docs/API_docs_v89/types/UserFull.md +++ b/old_docs/API_docs_v89/types/UserFull.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->users->getFullUser](../methods/users_getFullUser.md) +[$MadelineProto->users->getFullUser](../methods/users.getFullUser.md) diff --git a/old_docs/API_docs_v89/types/UserProfilePhoto.md b/old_docs/API_docs_v89/types/UserProfilePhoto.md index e5243a2e..e81e92fd 100644 --- a/old_docs/API_docs_v89/types/UserProfilePhoto.md +++ b/old_docs/API_docs_v89/types/UserProfilePhoto.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->photos->updateProfilePhoto](../methods/photos_updateProfilePhoto.md) +[$MadelineProto->photos->updateProfilePhoto](../methods/photos.updateProfilePhoto.md) diff --git a/old_docs/API_docs_v89/types/WallPaper.md b/old_docs/API_docs_v89/types/WallPaper.md index 8c5ac7cf..45337565 100644 --- a/old_docs/API_docs_v89/types/WallPaper.md +++ b/old_docs/API_docs_v89/types/WallPaper.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->account->getWallPapers](../methods/account_getWallPapers.md) +[$MadelineProto->account->getWallPapers](../methods/account.getWallPapers.md) diff --git a/old_docs/API_docs_v89/types/WebPage.md b/old_docs/API_docs_v89/types/WebPage.md index a3df791f..f6b61c5e 100644 --- a/old_docs/API_docs_v89/types/WebPage.md +++ b/old_docs/API_docs_v89/types/WebPage.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getWebPage](../methods/messages_getWebPage.md) +[$MadelineProto->messages->getWebPage](../methods/messages.getWebPage.md) diff --git a/old_docs/API_docs_v89/types/account.AuthorizationForm.md b/old_docs/API_docs_v89/types/account.AuthorizationForm.md new file mode 100644 index 00000000..860ff40f --- /dev/null +++ b/old_docs/API_docs_v89/types/account.AuthorizationForm.md @@ -0,0 +1,22 @@ +--- +title: account.AuthorizationForm +description: constructors and methods of type account.AuthorizationForm +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.AuthorizationForm +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.authorizationForm](../constructors/account.authorizationForm.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getAuthorizationForm](../methods/account.getAuthorizationForm.md) + + + diff --git a/old_docs/API_docs_v89/types/account.Authorizations.md b/old_docs/API_docs_v89/types/account.Authorizations.md new file mode 100644 index 00000000..f9112038 --- /dev/null +++ b/old_docs/API_docs_v89/types/account.Authorizations.md @@ -0,0 +1,22 @@ +--- +title: account.Authorizations +description: constructors and methods of type account.Authorizations +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.Authorizations +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.authorizations](../constructors/account.authorizations.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getAuthorizations](../methods/account.getAuthorizations.md) + + + diff --git a/old_docs/API_docs_v89/types/account.Password.md b/old_docs/API_docs_v89/types/account.Password.md new file mode 100644 index 00000000..190704a3 --- /dev/null +++ b/old_docs/API_docs_v89/types/account.Password.md @@ -0,0 +1,22 @@ +--- +title: account.Password +description: constructors and methods of type account.Password +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.Password +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.password](../constructors/account.password.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getPassword](../methods/account.getPassword.md) + + + diff --git a/old_docs/API_docs_v89/types/account.PasswordInputSettings.md b/old_docs/API_docs_v89/types/account.PasswordInputSettings.md new file mode 100644 index 00000000..72e11fdc --- /dev/null +++ b/old_docs/API_docs_v89/types/account.PasswordInputSettings.md @@ -0,0 +1,20 @@ +--- +title: account.PasswordInputSettings +description: constructors and methods of type account.PasswordInputSettings +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.PasswordInputSettings +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.passwordInputSettings](../constructors/account.passwordInputSettings.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v89/types/account.PasswordSettings.md b/old_docs/API_docs_v89/types/account.PasswordSettings.md new file mode 100644 index 00000000..47016832 --- /dev/null +++ b/old_docs/API_docs_v89/types/account.PasswordSettings.md @@ -0,0 +1,22 @@ +--- +title: account.PasswordSettings +description: constructors and methods of type account.PasswordSettings +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.PasswordSettings +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.passwordSettings](../constructors/account.passwordSettings.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getPasswordSettings](../methods/account.getPasswordSettings.md) + + + diff --git a/old_docs/API_docs_v89/types/account.PrivacyRules.md b/old_docs/API_docs_v89/types/account.PrivacyRules.md new file mode 100644 index 00000000..738651ad --- /dev/null +++ b/old_docs/API_docs_v89/types/account.PrivacyRules.md @@ -0,0 +1,24 @@ +--- +title: account.PrivacyRules +description: constructors and methods of type account.PrivacyRules +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.PrivacyRules +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.privacyRules](../constructors/account.privacyRules.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getPrivacy](../methods/account.getPrivacy.md) + +[$MadelineProto->account->setPrivacy](../methods/account.setPrivacy.md) + + + diff --git a/old_docs/API_docs_v89/types/account.SentEmailCode.md b/old_docs/API_docs_v89/types/account.SentEmailCode.md new file mode 100644 index 00000000..6adcd649 --- /dev/null +++ b/old_docs/API_docs_v89/types/account.SentEmailCode.md @@ -0,0 +1,22 @@ +--- +title: account.SentEmailCode +description: constructors and methods of type account.SentEmailCode +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.SentEmailCode +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.sentEmailCode](../constructors/account.sentEmailCode.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->sendVerifyEmailCode](../methods/account.sendVerifyEmailCode.md) + + + diff --git a/old_docs/API_docs_v89/types/account.Takeout.md b/old_docs/API_docs_v89/types/account.Takeout.md new file mode 100644 index 00000000..96998ce4 --- /dev/null +++ b/old_docs/API_docs_v89/types/account.Takeout.md @@ -0,0 +1,22 @@ +--- +title: account.Takeout +description: constructors and methods of type account.Takeout +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.Takeout +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.takeout](../constructors/account.takeout.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->initTakeoutSession](../methods/account.initTakeoutSession.md) + + + diff --git a/old_docs/API_docs_v89/types/account.TmpPassword.md b/old_docs/API_docs_v89/types/account.TmpPassword.md new file mode 100644 index 00000000..2116c6c0 --- /dev/null +++ b/old_docs/API_docs_v89/types/account.TmpPassword.md @@ -0,0 +1,22 @@ +--- +title: account.TmpPassword +description: constructors and methods of type account.TmpPassword +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.TmpPassword +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.tmpPassword](../constructors/account.tmpPassword.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getTmpPassword](../methods/account.getTmpPassword.md) + + + diff --git a/old_docs/API_docs_v89/types/account.WebAuthorizations.md b/old_docs/API_docs_v89/types/account.WebAuthorizations.md new file mode 100644 index 00000000..931633ef --- /dev/null +++ b/old_docs/API_docs_v89/types/account.WebAuthorizations.md @@ -0,0 +1,22 @@ +--- +title: account.WebAuthorizations +description: constructors and methods of type account.WebAuthorizations +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.WebAuthorizations +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.webAuthorizations](../constructors/account.webAuthorizations.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getWebAuthorizations](../methods/account.getWebAuthorizations.md) + + + diff --git a/old_docs/API_docs_v89/types/account_AuthorizationForm.md b/old_docs/API_docs_v89/types/account_AuthorizationForm.md deleted file mode 100644 index 5eec2b92..00000000 --- a/old_docs/API_docs_v89/types/account_AuthorizationForm.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_AuthorizationForm -description: constructors and methods of type account_AuthorizationForm -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_AuthorizationForm -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_authorizationForm](../constructors/account_authorizationForm.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getAuthorizationForm](../methods/account_getAuthorizationForm.md) - - - diff --git a/old_docs/API_docs_v89/types/account_Authorizations.md b/old_docs/API_docs_v89/types/account_Authorizations.md deleted file mode 100644 index 4709ddb5..00000000 --- a/old_docs/API_docs_v89/types/account_Authorizations.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_Authorizations -description: constructors and methods of type account_Authorizations -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_Authorizations -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_authorizations](../constructors/account_authorizations.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getAuthorizations](../methods/account_getAuthorizations.md) - - - diff --git a/old_docs/API_docs_v89/types/account_Password.md b/old_docs/API_docs_v89/types/account_Password.md deleted file mode 100644 index f3b6e065..00000000 --- a/old_docs/API_docs_v89/types/account_Password.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_Password -description: constructors and methods of type account_Password -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_Password -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_password](../constructors/account_password.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getPassword](../methods/account_getPassword.md) - - - diff --git a/old_docs/API_docs_v89/types/account_PasswordInputSettings.md b/old_docs/API_docs_v89/types/account_PasswordInputSettings.md deleted file mode 100644 index a6455eb8..00000000 --- a/old_docs/API_docs_v89/types/account_PasswordInputSettings.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: account_PasswordInputSettings -description: constructors and methods of type account_PasswordInputSettings -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_PasswordInputSettings -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_passwordInputSettings](../constructors/account_passwordInputSettings.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v89/types/account_PasswordSettings.md b/old_docs/API_docs_v89/types/account_PasswordSettings.md deleted file mode 100644 index 687eb217..00000000 --- a/old_docs/API_docs_v89/types/account_PasswordSettings.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_PasswordSettings -description: constructors and methods of type account_PasswordSettings -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_PasswordSettings -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_passwordSettings](../constructors/account_passwordSettings.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getPasswordSettings](../methods/account_getPasswordSettings.md) - - - diff --git a/old_docs/API_docs_v89/types/account_PrivacyRules.md b/old_docs/API_docs_v89/types/account_PrivacyRules.md deleted file mode 100644 index 40b00077..00000000 --- a/old_docs/API_docs_v89/types/account_PrivacyRules.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: account_PrivacyRules -description: constructors and methods of type account_PrivacyRules -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_PrivacyRules -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_privacyRules](../constructors/account_privacyRules.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getPrivacy](../methods/account_getPrivacy.md) - -[$MadelineProto->account->setPrivacy](../methods/account_setPrivacy.md) - - - diff --git a/old_docs/API_docs_v89/types/account_SentEmailCode.md b/old_docs/API_docs_v89/types/account_SentEmailCode.md deleted file mode 100644 index 4aa38335..00000000 --- a/old_docs/API_docs_v89/types/account_SentEmailCode.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_SentEmailCode -description: constructors and methods of type account_SentEmailCode -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_SentEmailCode -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_sentEmailCode](../constructors/account_sentEmailCode.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->sendVerifyEmailCode](../methods/account_sendVerifyEmailCode.md) - - - diff --git a/old_docs/API_docs_v89/types/account_Takeout.md b/old_docs/API_docs_v89/types/account_Takeout.md deleted file mode 100644 index 26960f88..00000000 --- a/old_docs/API_docs_v89/types/account_Takeout.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_Takeout -description: constructors and methods of type account_Takeout -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_Takeout -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_takeout](../constructors/account_takeout.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->initTakeoutSession](../methods/account_initTakeoutSession.md) - - - diff --git a/old_docs/API_docs_v89/types/account_TmpPassword.md b/old_docs/API_docs_v89/types/account_TmpPassword.md deleted file mode 100644 index d7557921..00000000 --- a/old_docs/API_docs_v89/types/account_TmpPassword.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_TmpPassword -description: constructors and methods of type account_TmpPassword -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_TmpPassword -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_tmpPassword](../constructors/account_tmpPassword.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getTmpPassword](../methods/account_getTmpPassword.md) - - - diff --git a/old_docs/API_docs_v89/types/account_WebAuthorizations.md b/old_docs/API_docs_v89/types/account_WebAuthorizations.md deleted file mode 100644 index 1202632b..00000000 --- a/old_docs/API_docs_v89/types/account_WebAuthorizations.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_WebAuthorizations -description: constructors and methods of type account_WebAuthorizations -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_WebAuthorizations -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_webAuthorizations](../constructors/account_webAuthorizations.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getWebAuthorizations](../methods/account_getWebAuthorizations.md) - - - diff --git a/old_docs/API_docs_v89/types/auth.Authorization.md b/old_docs/API_docs_v89/types/auth.Authorization.md new file mode 100644 index 00000000..adcfa7d3 --- /dev/null +++ b/old_docs/API_docs_v89/types/auth.Authorization.md @@ -0,0 +1,32 @@ +--- +title: auth.Authorization +description: constructors and methods of type auth.Authorization +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.Authorization +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.authorization](../constructors/auth.authorization.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->signUp](../methods/auth.signUp.md) + +[$MadelineProto->auth->signIn](../methods/auth.signIn.md) + +[$MadelineProto->auth->importAuthorization](../methods/auth.importAuthorization.md) + +[$MadelineProto->auth->importBotAuthorization](../methods/auth.importBotAuthorization.md) + +[$MadelineProto->auth->checkPassword](../methods/auth.checkPassword.md) + +[$MadelineProto->auth->recoverPassword](../methods/auth.recoverPassword.md) + + + diff --git a/old_docs/API_docs_v89/types/auth.CheckedPhone.md b/old_docs/API_docs_v89/types/auth.CheckedPhone.md new file mode 100644 index 00000000..1d6672e7 --- /dev/null +++ b/old_docs/API_docs_v89/types/auth.CheckedPhone.md @@ -0,0 +1,20 @@ +--- +title: auth.CheckedPhone +description: constructors and methods of type auth.CheckedPhone +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.CheckedPhone +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.checkedPhone](../constructors/auth.checkedPhone.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v89/types/auth.CodeType.md b/old_docs/API_docs_v89/types/auth.CodeType.md new file mode 100644 index 00000000..8d2b308d --- /dev/null +++ b/old_docs/API_docs_v89/types/auth.CodeType.md @@ -0,0 +1,24 @@ +--- +title: auth.CodeType +description: constructors and methods of type auth.CodeType +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.CodeType +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.codeTypeSms](../constructors/auth.codeTypeSms.md) + +[auth.codeTypeCall](../constructors/auth.codeTypeCall.md) + +[auth.codeTypeFlashCall](../constructors/auth.codeTypeFlashCall.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v89/types/auth.ExportedAuthorization.md b/old_docs/API_docs_v89/types/auth.ExportedAuthorization.md new file mode 100644 index 00000000..ccb38d60 --- /dev/null +++ b/old_docs/API_docs_v89/types/auth.ExportedAuthorization.md @@ -0,0 +1,22 @@ +--- +title: auth.ExportedAuthorization +description: constructors and methods of type auth.ExportedAuthorization +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.ExportedAuthorization +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.exportedAuthorization](../constructors/auth.exportedAuthorization.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->exportAuthorization](../methods/auth.exportAuthorization.md) + + + diff --git a/old_docs/API_docs_v89/types/auth.PasswordRecovery.md b/old_docs/API_docs_v89/types/auth.PasswordRecovery.md new file mode 100644 index 00000000..c1c18992 --- /dev/null +++ b/old_docs/API_docs_v89/types/auth.PasswordRecovery.md @@ -0,0 +1,22 @@ +--- +title: auth.PasswordRecovery +description: constructors and methods of type auth.PasswordRecovery +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.PasswordRecovery +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.passwordRecovery](../constructors/auth.passwordRecovery.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->requestPasswordRecovery](../methods/auth.requestPasswordRecovery.md) + + + diff --git a/old_docs/API_docs_v89/types/auth.SentCode.md b/old_docs/API_docs_v89/types/auth.SentCode.md new file mode 100644 index 00000000..4950edeb --- /dev/null +++ b/old_docs/API_docs_v89/types/auth.SentCode.md @@ -0,0 +1,30 @@ +--- +title: auth.SentCode +description: constructors and methods of type auth.SentCode +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.SentCode +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.sentCode](../constructors/auth.sentCode.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->sendCode](../methods/auth.sendCode.md) + +[$MadelineProto->auth->resendCode](../methods/auth.resendCode.md) + +[$MadelineProto->account->sendChangePhoneCode](../methods/account.sendChangePhoneCode.md) + +[$MadelineProto->account->sendConfirmPhoneCode](../methods/account.sendConfirmPhoneCode.md) + +[$MadelineProto->account->sendVerifyPhoneCode](../methods/account.sendVerifyPhoneCode.md) + + + diff --git a/old_docs/API_docs_v89/types/auth.SentCodeType.md b/old_docs/API_docs_v89/types/auth.SentCodeType.md new file mode 100644 index 00000000..7c7c534e --- /dev/null +++ b/old_docs/API_docs_v89/types/auth.SentCodeType.md @@ -0,0 +1,26 @@ +--- +title: auth.SentCodeType +description: constructors and methods of type auth.SentCodeType +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.SentCodeType +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.sentCodeTypeApp](../constructors/auth.sentCodeTypeApp.md) + +[auth.sentCodeTypeSms](../constructors/auth.sentCodeTypeSms.md) + +[auth.sentCodeTypeCall](../constructors/auth.sentCodeTypeCall.md) + +[auth.sentCodeTypeFlashCall](../constructors/auth.sentCodeTypeFlashCall.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v89/types/auth_Authorization.md b/old_docs/API_docs_v89/types/auth_Authorization.md deleted file mode 100644 index 5a34fc2d..00000000 --- a/old_docs/API_docs_v89/types/auth_Authorization.md +++ /dev/null @@ -1,32 +0,0 @@ ---- -title: auth_Authorization -description: constructors and methods of type auth_Authorization -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_Authorization -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_authorization](../constructors/auth_authorization.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->signUp](../methods/auth_signUp.md) - -[$MadelineProto->auth->signIn](../methods/auth_signIn.md) - -[$MadelineProto->auth->importAuthorization](../methods/auth_importAuthorization.md) - -[$MadelineProto->auth->importBotAuthorization](../methods/auth_importBotAuthorization.md) - -[$MadelineProto->auth->checkPassword](../methods/auth_checkPassword.md) - -[$MadelineProto->auth->recoverPassword](../methods/auth_recoverPassword.md) - - - diff --git a/old_docs/API_docs_v89/types/auth_CheckedPhone.md b/old_docs/API_docs_v89/types/auth_CheckedPhone.md deleted file mode 100644 index e2b823f7..00000000 --- a/old_docs/API_docs_v89/types/auth_CheckedPhone.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: auth_CheckedPhone -description: constructors and methods of type auth_CheckedPhone -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_CheckedPhone -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_checkedPhone](../constructors/auth_checkedPhone.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v89/types/auth_CodeType.md b/old_docs/API_docs_v89/types/auth_CodeType.md deleted file mode 100644 index 3cd9a7b7..00000000 --- a/old_docs/API_docs_v89/types/auth_CodeType.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: auth_CodeType -description: constructors and methods of type auth_CodeType -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_CodeType -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_codeTypeSms](../constructors/auth_codeTypeSms.md) - -[auth\_codeTypeCall](../constructors/auth_codeTypeCall.md) - -[auth\_codeTypeFlashCall](../constructors/auth_codeTypeFlashCall.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v89/types/auth_ExportedAuthorization.md b/old_docs/API_docs_v89/types/auth_ExportedAuthorization.md deleted file mode 100644 index 69e5c42e..00000000 --- a/old_docs/API_docs_v89/types/auth_ExportedAuthorization.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: auth_ExportedAuthorization -description: constructors and methods of type auth_ExportedAuthorization -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_ExportedAuthorization -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_exportedAuthorization](../constructors/auth_exportedAuthorization.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->exportAuthorization](../methods/auth_exportAuthorization.md) - - - diff --git a/old_docs/API_docs_v89/types/auth_PasswordRecovery.md b/old_docs/API_docs_v89/types/auth_PasswordRecovery.md deleted file mode 100644 index 4962bf42..00000000 --- a/old_docs/API_docs_v89/types/auth_PasswordRecovery.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: auth_PasswordRecovery -description: constructors and methods of type auth_PasswordRecovery -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_PasswordRecovery -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_passwordRecovery](../constructors/auth_passwordRecovery.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->requestPasswordRecovery](../methods/auth_requestPasswordRecovery.md) - - - diff --git a/old_docs/API_docs_v89/types/auth_SentCode.md b/old_docs/API_docs_v89/types/auth_SentCode.md deleted file mode 100644 index 140d956c..00000000 --- a/old_docs/API_docs_v89/types/auth_SentCode.md +++ /dev/null @@ -1,30 +0,0 @@ ---- -title: auth_SentCode -description: constructors and methods of type auth_SentCode -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_SentCode -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_sentCode](../constructors/auth_sentCode.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->sendCode](../methods/auth_sendCode.md) - -[$MadelineProto->auth->resendCode](../methods/auth_resendCode.md) - -[$MadelineProto->account->sendChangePhoneCode](../methods/account_sendChangePhoneCode.md) - -[$MadelineProto->account->sendConfirmPhoneCode](../methods/account_sendConfirmPhoneCode.md) - -[$MadelineProto->account->sendVerifyPhoneCode](../methods/account_sendVerifyPhoneCode.md) - - - diff --git a/old_docs/API_docs_v89/types/auth_SentCodeType.md b/old_docs/API_docs_v89/types/auth_SentCodeType.md deleted file mode 100644 index 8dfcb93b..00000000 --- a/old_docs/API_docs_v89/types/auth_SentCodeType.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: auth_SentCodeType -description: constructors and methods of type auth_SentCodeType -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_SentCodeType -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_sentCodeTypeApp](../constructors/auth_sentCodeTypeApp.md) - -[auth\_sentCodeTypeSms](../constructors/auth_sentCodeTypeSms.md) - -[auth\_sentCodeTypeCall](../constructors/auth_sentCodeTypeCall.md) - -[auth\_sentCodeTypeFlashCall](../constructors/auth_sentCodeTypeFlashCall.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v89/types/channels.AdminLogResults.md b/old_docs/API_docs_v89/types/channels.AdminLogResults.md new file mode 100644 index 00000000..7855a4fd --- /dev/null +++ b/old_docs/API_docs_v89/types/channels.AdminLogResults.md @@ -0,0 +1,22 @@ +--- +title: channels.AdminLogResults +description: constructors and methods of type channels.AdminLogResults +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: channels.AdminLogResults +[Back to types index](index.md) + + + +### Possible values (constructors): + +[channels.adminLogResults](../constructors/channels.adminLogResults.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->channels->getAdminLog](../methods/channels.getAdminLog.md) + + + diff --git a/old_docs/API_docs_v89/types/channels.ChannelParticipant.md b/old_docs/API_docs_v89/types/channels.ChannelParticipant.md new file mode 100644 index 00000000..8dc7f7e6 --- /dev/null +++ b/old_docs/API_docs_v89/types/channels.ChannelParticipant.md @@ -0,0 +1,22 @@ +--- +title: channels.ChannelParticipant +description: constructors and methods of type channels.ChannelParticipant +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: channels.ChannelParticipant +[Back to types index](index.md) + + + +### Possible values (constructors): + +[channels.channelParticipant](../constructors/channels.channelParticipant.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->channels->getParticipant](../methods/channels.getParticipant.md) + + + diff --git a/old_docs/API_docs_v89/types/channels.ChannelParticipants.md b/old_docs/API_docs_v89/types/channels.ChannelParticipants.md new file mode 100644 index 00000000..d448e007 --- /dev/null +++ b/old_docs/API_docs_v89/types/channels.ChannelParticipants.md @@ -0,0 +1,24 @@ +--- +title: channels.ChannelParticipants +description: constructors and methods of type channels.ChannelParticipants +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: channels.ChannelParticipants +[Back to types index](index.md) + + + +### Possible values (constructors): + +[channels.channelParticipants](../constructors/channels.channelParticipants.md) + +[channels.channelParticipantsNotModified](../constructors/channels.channelParticipantsNotModified.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->channels->getParticipants](../methods/channels.getParticipants.md) + + + diff --git a/old_docs/API_docs_v89/types/channels_AdminLogResults.md b/old_docs/API_docs_v89/types/channels_AdminLogResults.md deleted file mode 100644 index 4e9b5544..00000000 --- a/old_docs/API_docs_v89/types/channels_AdminLogResults.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: channels_AdminLogResults -description: constructors and methods of type channels_AdminLogResults -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: channels\_AdminLogResults -[Back to types index](index.md) - - - -### Possible values (constructors): - -[channels\_adminLogResults](../constructors/channels_adminLogResults.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->channels->getAdminLog](../methods/channels_getAdminLog.md) - - - diff --git a/old_docs/API_docs_v89/types/channels_ChannelParticipant.md b/old_docs/API_docs_v89/types/channels_ChannelParticipant.md deleted file mode 100644 index 3d4667c3..00000000 --- a/old_docs/API_docs_v89/types/channels_ChannelParticipant.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: channels_ChannelParticipant -description: constructors and methods of type channels_ChannelParticipant -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: channels\_ChannelParticipant -[Back to types index](index.md) - - - -### Possible values (constructors): - -[channels\_channelParticipant](../constructors/channels_channelParticipant.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->channels->getParticipant](../methods/channels_getParticipant.md) - - - diff --git a/old_docs/API_docs_v89/types/channels_ChannelParticipants.md b/old_docs/API_docs_v89/types/channels_ChannelParticipants.md deleted file mode 100644 index 80a41dd9..00000000 --- a/old_docs/API_docs_v89/types/channels_ChannelParticipants.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: channels_ChannelParticipants -description: constructors and methods of type channels_ChannelParticipants -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: channels\_ChannelParticipants -[Back to types index](index.md) - - - -### Possible values (constructors): - -[channels\_channelParticipants](../constructors/channels_channelParticipants.md) - -[channels\_channelParticipantsNotModified](../constructors/channels_channelParticipantsNotModified.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->channels->getParticipants](../methods/channels_getParticipants.md) - - - diff --git a/old_docs/API_docs_v89/types/contacts.Blocked.md b/old_docs/API_docs_v89/types/contacts.Blocked.md new file mode 100644 index 00000000..cb2af80f --- /dev/null +++ b/old_docs/API_docs_v89/types/contacts.Blocked.md @@ -0,0 +1,24 @@ +--- +title: contacts.Blocked +description: constructors and methods of type contacts.Blocked +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Blocked +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.blocked](../constructors/contacts.blocked.md) + +[contacts.blockedSlice](../constructors/contacts.blockedSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getBlocked](../methods/contacts.getBlocked.md) + + + diff --git a/old_docs/API_docs_v89/types/contacts.Contacts.md b/old_docs/API_docs_v89/types/contacts.Contacts.md new file mode 100644 index 00000000..5f695d8e --- /dev/null +++ b/old_docs/API_docs_v89/types/contacts.Contacts.md @@ -0,0 +1,24 @@ +--- +title: contacts.Contacts +description: constructors and methods of type contacts.Contacts +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Contacts +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.contactsNotModified](../constructors/contacts.contactsNotModified.md) + +[contacts.contacts](../constructors/contacts.contacts.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getContacts](../methods/contacts.getContacts.md) + + + diff --git a/old_docs/API_docs_v89/types/contacts.Found.md b/old_docs/API_docs_v89/types/contacts.Found.md new file mode 100644 index 00000000..7df98927 --- /dev/null +++ b/old_docs/API_docs_v89/types/contacts.Found.md @@ -0,0 +1,22 @@ +--- +title: contacts.Found +description: constructors and methods of type contacts.Found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Found +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.found](../constructors/contacts.found.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->search](../methods/contacts.search.md) + + + diff --git a/old_docs/API_docs_v89/types/contacts.ImportedContacts.md b/old_docs/API_docs_v89/types/contacts.ImportedContacts.md new file mode 100644 index 00000000..16795bab --- /dev/null +++ b/old_docs/API_docs_v89/types/contacts.ImportedContacts.md @@ -0,0 +1,22 @@ +--- +title: contacts.ImportedContacts +description: constructors and methods of type contacts.ImportedContacts +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.ImportedContacts +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.importedContacts](../constructors/contacts.importedContacts.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->importContacts](../methods/contacts.importContacts.md) + + + diff --git a/old_docs/API_docs_v89/types/contacts.Link.md b/old_docs/API_docs_v89/types/contacts.Link.md new file mode 100644 index 00000000..eb9da683 --- /dev/null +++ b/old_docs/API_docs_v89/types/contacts.Link.md @@ -0,0 +1,22 @@ +--- +title: contacts.Link +description: constructors and methods of type contacts.Link +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Link +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.link](../constructors/contacts.link.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->deleteContact](../methods/contacts.deleteContact.md) + + + diff --git a/old_docs/API_docs_v89/types/contacts.ResolvedPeer.md b/old_docs/API_docs_v89/types/contacts.ResolvedPeer.md new file mode 100644 index 00000000..13630d54 --- /dev/null +++ b/old_docs/API_docs_v89/types/contacts.ResolvedPeer.md @@ -0,0 +1,22 @@ +--- +title: contacts.ResolvedPeer +description: constructors and methods of type contacts.ResolvedPeer +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.ResolvedPeer +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.resolvedPeer](../constructors/contacts.resolvedPeer.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->resolveUsername](../methods/contacts.resolveUsername.md) + + + diff --git a/old_docs/API_docs_v89/types/contacts.TopPeers.md b/old_docs/API_docs_v89/types/contacts.TopPeers.md new file mode 100644 index 00000000..563e63aa --- /dev/null +++ b/old_docs/API_docs_v89/types/contacts.TopPeers.md @@ -0,0 +1,26 @@ +--- +title: contacts.TopPeers +description: constructors and methods of type contacts.TopPeers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.TopPeers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.topPeersNotModified](../constructors/contacts.topPeersNotModified.md) + +[contacts.topPeers](../constructors/contacts.topPeers.md) + +[contacts.topPeersDisabled](../constructors/contacts.topPeersDisabled.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getTopPeers](../methods/contacts.getTopPeers.md) + + + diff --git a/old_docs/API_docs_v89/types/contacts_Blocked.md b/old_docs/API_docs_v89/types/contacts_Blocked.md deleted file mode 100644 index 3e1f02eb..00000000 --- a/old_docs/API_docs_v89/types/contacts_Blocked.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: contacts_Blocked -description: constructors and methods of type contacts_Blocked -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Blocked -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_blocked](../constructors/contacts_blocked.md) - -[contacts\_blockedSlice](../constructors/contacts_blockedSlice.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->getBlocked](../methods/contacts_getBlocked.md) - - - diff --git a/old_docs/API_docs_v89/types/contacts_Contacts.md b/old_docs/API_docs_v89/types/contacts_Contacts.md deleted file mode 100644 index 5d6c9506..00000000 --- a/old_docs/API_docs_v89/types/contacts_Contacts.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: contacts_Contacts -description: constructors and methods of type contacts_Contacts -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Contacts -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_contactsNotModified](../constructors/contacts_contactsNotModified.md) - -[contacts\_contacts](../constructors/contacts_contacts.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->getContacts](../methods/contacts_getContacts.md) - - - diff --git a/old_docs/API_docs_v89/types/contacts_Found.md b/old_docs/API_docs_v89/types/contacts_Found.md deleted file mode 100644 index 806101cf..00000000 --- a/old_docs/API_docs_v89/types/contacts_Found.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_Found -description: constructors and methods of type contacts_Found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Found -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_found](../constructors/contacts_found.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->search](../methods/contacts_search.md) - - - diff --git a/old_docs/API_docs_v89/types/contacts_ImportedContacts.md b/old_docs/API_docs_v89/types/contacts_ImportedContacts.md deleted file mode 100644 index faf7e615..00000000 --- a/old_docs/API_docs_v89/types/contacts_ImportedContacts.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_ImportedContacts -description: constructors and methods of type contacts_ImportedContacts -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_ImportedContacts -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_importedContacts](../constructors/contacts_importedContacts.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->importContacts](../methods/contacts_importContacts.md) - - - diff --git a/old_docs/API_docs_v89/types/contacts_Link.md b/old_docs/API_docs_v89/types/contacts_Link.md deleted file mode 100644 index 01556606..00000000 --- a/old_docs/API_docs_v89/types/contacts_Link.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_Link -description: constructors and methods of type contacts_Link -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Link -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_link](../constructors/contacts_link.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->deleteContact](../methods/contacts_deleteContact.md) - - - diff --git a/old_docs/API_docs_v89/types/contacts_ResolvedPeer.md b/old_docs/API_docs_v89/types/contacts_ResolvedPeer.md deleted file mode 100644 index cf107f7c..00000000 --- a/old_docs/API_docs_v89/types/contacts_ResolvedPeer.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_ResolvedPeer -description: constructors and methods of type contacts_ResolvedPeer -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_ResolvedPeer -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_resolvedPeer](../constructors/contacts_resolvedPeer.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->resolveUsername](../methods/contacts_resolveUsername.md) - - - diff --git a/old_docs/API_docs_v89/types/contacts_TopPeers.md b/old_docs/API_docs_v89/types/contacts_TopPeers.md deleted file mode 100644 index dc8ee478..00000000 --- a/old_docs/API_docs_v89/types/contacts_TopPeers.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: contacts_TopPeers -description: constructors and methods of type contacts_TopPeers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_TopPeers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_topPeersNotModified](../constructors/contacts_topPeersNotModified.md) - -[contacts\_topPeers](../constructors/contacts_topPeers.md) - -[contacts\_topPeersDisabled](../constructors/contacts_topPeersDisabled.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->getTopPeers](../methods/contacts_getTopPeers.md) - - - diff --git a/old_docs/API_docs_v89/types/help.AppUpdate.md b/old_docs/API_docs_v89/types/help.AppUpdate.md new file mode 100644 index 00000000..285ec2b7 --- /dev/null +++ b/old_docs/API_docs_v89/types/help.AppUpdate.md @@ -0,0 +1,24 @@ +--- +title: help.AppUpdate +description: constructors and methods of type help.AppUpdate +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.AppUpdate +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.appUpdate](../constructors/help.appUpdate.md) + +[help.noAppUpdate](../constructors/help.noAppUpdate.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getAppUpdate](../methods/help.getAppUpdate.md) + + + diff --git a/old_docs/API_docs_v89/types/help.ConfigSimple.md b/old_docs/API_docs_v89/types/help.ConfigSimple.md new file mode 100644 index 00000000..92d9e15f --- /dev/null +++ b/old_docs/API_docs_v89/types/help.ConfigSimple.md @@ -0,0 +1,20 @@ +--- +title: help.ConfigSimple +description: constructors and methods of type help.ConfigSimple +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.ConfigSimple +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.configSimple](../constructors/help.configSimple.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v89/types/help.DeepLinkInfo.md b/old_docs/API_docs_v89/types/help.DeepLinkInfo.md new file mode 100644 index 00000000..356af1c4 --- /dev/null +++ b/old_docs/API_docs_v89/types/help.DeepLinkInfo.md @@ -0,0 +1,24 @@ +--- +title: help.DeepLinkInfo +description: constructors and methods of type help.DeepLinkInfo +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.DeepLinkInfo +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.deepLinkInfoEmpty](../constructors/help.deepLinkInfoEmpty.md) + +[help.deepLinkInfo](../constructors/help.deepLinkInfo.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getDeepLinkInfo](../methods/help.getDeepLinkInfo.md) + + + diff --git a/old_docs/API_docs_v89/types/help.InviteText.md b/old_docs/API_docs_v89/types/help.InviteText.md new file mode 100644 index 00000000..43293f46 --- /dev/null +++ b/old_docs/API_docs_v89/types/help.InviteText.md @@ -0,0 +1,22 @@ +--- +title: help.InviteText +description: constructors and methods of type help.InviteText +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.InviteText +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.inviteText](../constructors/help.inviteText.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getInviteText](../methods/help.getInviteText.md) + + + diff --git a/old_docs/API_docs_v89/types/help.PassportConfig.md b/old_docs/API_docs_v89/types/help.PassportConfig.md new file mode 100644 index 00000000..15eb12cc --- /dev/null +++ b/old_docs/API_docs_v89/types/help.PassportConfig.md @@ -0,0 +1,24 @@ +--- +title: help.PassportConfig +description: constructors and methods of type help.PassportConfig +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.PassportConfig +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.passportConfigNotModified](../constructors/help.passportConfigNotModified.md) + +[help.passportConfig](../constructors/help.passportConfig.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getPassportConfig](../methods/help.getPassportConfig.md) + + + diff --git a/old_docs/API_docs_v89/types/help.ProxyData.md b/old_docs/API_docs_v89/types/help.ProxyData.md new file mode 100644 index 00000000..e45b4211 --- /dev/null +++ b/old_docs/API_docs_v89/types/help.ProxyData.md @@ -0,0 +1,24 @@ +--- +title: help.ProxyData +description: constructors and methods of type help.ProxyData +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.ProxyData +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.proxyDataEmpty](../constructors/help.proxyDataEmpty.md) + +[help.proxyDataPromo](../constructors/help.proxyDataPromo.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getProxyData](../methods/help.getProxyData.md) + + + diff --git a/old_docs/API_docs_v89/types/help.RecentMeUrls.md b/old_docs/API_docs_v89/types/help.RecentMeUrls.md new file mode 100644 index 00000000..6b7ee2c1 --- /dev/null +++ b/old_docs/API_docs_v89/types/help.RecentMeUrls.md @@ -0,0 +1,22 @@ +--- +title: help.RecentMeUrls +description: constructors and methods of type help.RecentMeUrls +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.RecentMeUrls +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.recentMeUrls](../constructors/help.recentMeUrls.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getRecentMeUrls](../methods/help.getRecentMeUrls.md) + + + diff --git a/old_docs/API_docs_v89/types/help.Support.md b/old_docs/API_docs_v89/types/help.Support.md new file mode 100644 index 00000000..42c20483 --- /dev/null +++ b/old_docs/API_docs_v89/types/help.Support.md @@ -0,0 +1,22 @@ +--- +title: help.Support +description: constructors and methods of type help.Support +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.Support +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.support](../constructors/help.support.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getSupport](../methods/help.getSupport.md) + + + diff --git a/old_docs/API_docs_v89/types/help.SupportName.md b/old_docs/API_docs_v89/types/help.SupportName.md new file mode 100644 index 00000000..7f68199a --- /dev/null +++ b/old_docs/API_docs_v89/types/help.SupportName.md @@ -0,0 +1,22 @@ +--- +title: help.SupportName +description: constructors and methods of type help.SupportName +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.SupportName +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.supportName](../constructors/help.supportName.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getSupportName](../methods/help.getSupportName.md) + + + diff --git a/old_docs/API_docs_v89/types/help.TermsOfService.md b/old_docs/API_docs_v89/types/help.TermsOfService.md new file mode 100644 index 00000000..d4d091e1 --- /dev/null +++ b/old_docs/API_docs_v89/types/help.TermsOfService.md @@ -0,0 +1,20 @@ +--- +title: help.TermsOfService +description: constructors and methods of type help.TermsOfService +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.TermsOfService +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.termsOfService](../constructors/help.termsOfService.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v89/types/help.TermsOfServiceUpdate.md b/old_docs/API_docs_v89/types/help.TermsOfServiceUpdate.md new file mode 100644 index 00000000..e27b3c71 --- /dev/null +++ b/old_docs/API_docs_v89/types/help.TermsOfServiceUpdate.md @@ -0,0 +1,24 @@ +--- +title: help.TermsOfServiceUpdate +description: constructors and methods of type help.TermsOfServiceUpdate +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.TermsOfServiceUpdate +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.termsOfServiceUpdateEmpty](../constructors/help.termsOfServiceUpdateEmpty.md) + +[help.termsOfServiceUpdate](../constructors/help.termsOfServiceUpdate.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getTermsOfServiceUpdate](../methods/help.getTermsOfServiceUpdate.md) + + + diff --git a/old_docs/API_docs_v89/types/help.UserInfo.md b/old_docs/API_docs_v89/types/help.UserInfo.md new file mode 100644 index 00000000..9d91ee40 --- /dev/null +++ b/old_docs/API_docs_v89/types/help.UserInfo.md @@ -0,0 +1,26 @@ +--- +title: help.UserInfo +description: constructors and methods of type help.UserInfo +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.UserInfo +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.userInfoEmpty](../constructors/help.userInfoEmpty.md) + +[help.userInfo](../constructors/help.userInfo.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getUserInfo](../methods/help.getUserInfo.md) + +[$MadelineProto->help->editUserInfo](../methods/help.editUserInfo.md) + + + diff --git a/old_docs/API_docs_v89/types/help_AppUpdate.md b/old_docs/API_docs_v89/types/help_AppUpdate.md deleted file mode 100644 index 1f296a70..00000000 --- a/old_docs/API_docs_v89/types/help_AppUpdate.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: help_AppUpdate -description: constructors and methods of type help_AppUpdate -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_AppUpdate -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_appUpdate](../constructors/help_appUpdate.md) - -[help\_noAppUpdate](../constructors/help_noAppUpdate.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getAppUpdate](../methods/help_getAppUpdate.md) - - - diff --git a/old_docs/API_docs_v89/types/help_ConfigSimple.md b/old_docs/API_docs_v89/types/help_ConfigSimple.md deleted file mode 100644 index 81678d74..00000000 --- a/old_docs/API_docs_v89/types/help_ConfigSimple.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: help_ConfigSimple -description: constructors and methods of type help_ConfigSimple -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_ConfigSimple -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_configSimple](../constructors/help_configSimple.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v89/types/help_DeepLinkInfo.md b/old_docs/API_docs_v89/types/help_DeepLinkInfo.md deleted file mode 100644 index 776e8e09..00000000 --- a/old_docs/API_docs_v89/types/help_DeepLinkInfo.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: help_DeepLinkInfo -description: constructors and methods of type help_DeepLinkInfo -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_DeepLinkInfo -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_deepLinkInfoEmpty](../constructors/help_deepLinkInfoEmpty.md) - -[help\_deepLinkInfo](../constructors/help_deepLinkInfo.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getDeepLinkInfo](../methods/help_getDeepLinkInfo.md) - - - diff --git a/old_docs/API_docs_v89/types/help_InviteText.md b/old_docs/API_docs_v89/types/help_InviteText.md deleted file mode 100644 index 018d35bf..00000000 --- a/old_docs/API_docs_v89/types/help_InviteText.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: help_InviteText -description: constructors and methods of type help_InviteText -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_InviteText -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_inviteText](../constructors/help_inviteText.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getInviteText](../methods/help_getInviteText.md) - - - diff --git a/old_docs/API_docs_v89/types/help_PassportConfig.md b/old_docs/API_docs_v89/types/help_PassportConfig.md deleted file mode 100644 index e03abab7..00000000 --- a/old_docs/API_docs_v89/types/help_PassportConfig.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: help_PassportConfig -description: constructors and methods of type help_PassportConfig -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_PassportConfig -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_passportConfigNotModified](../constructors/help_passportConfigNotModified.md) - -[help\_passportConfig](../constructors/help_passportConfig.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getPassportConfig](../methods/help_getPassportConfig.md) - - - diff --git a/old_docs/API_docs_v89/types/help_ProxyData.md b/old_docs/API_docs_v89/types/help_ProxyData.md deleted file mode 100644 index 1bc6839e..00000000 --- a/old_docs/API_docs_v89/types/help_ProxyData.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: help_ProxyData -description: constructors and methods of type help_ProxyData -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_ProxyData -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_proxyDataEmpty](../constructors/help_proxyDataEmpty.md) - -[help\_proxyDataPromo](../constructors/help_proxyDataPromo.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getProxyData](../methods/help_getProxyData.md) - - - diff --git a/old_docs/API_docs_v89/types/help_RecentMeUrls.md b/old_docs/API_docs_v89/types/help_RecentMeUrls.md deleted file mode 100644 index 691af1c3..00000000 --- a/old_docs/API_docs_v89/types/help_RecentMeUrls.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: help_RecentMeUrls -description: constructors and methods of type help_RecentMeUrls -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_RecentMeUrls -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_recentMeUrls](../constructors/help_recentMeUrls.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getRecentMeUrls](../methods/help_getRecentMeUrls.md) - - - diff --git a/old_docs/API_docs_v89/types/help_Support.md b/old_docs/API_docs_v89/types/help_Support.md deleted file mode 100644 index 26de447b..00000000 --- a/old_docs/API_docs_v89/types/help_Support.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: help_Support -description: constructors and methods of type help_Support -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_Support -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_support](../constructors/help_support.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getSupport](../methods/help_getSupport.md) - - - diff --git a/old_docs/API_docs_v89/types/help_SupportName.md b/old_docs/API_docs_v89/types/help_SupportName.md deleted file mode 100644 index e89309a2..00000000 --- a/old_docs/API_docs_v89/types/help_SupportName.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: help_SupportName -description: constructors and methods of type help_SupportName -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_SupportName -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_supportName](../constructors/help_supportName.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getSupportName](../methods/help_getSupportName.md) - - - diff --git a/old_docs/API_docs_v89/types/help_TermsOfService.md b/old_docs/API_docs_v89/types/help_TermsOfService.md deleted file mode 100644 index 24f8eb68..00000000 --- a/old_docs/API_docs_v89/types/help_TermsOfService.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: help_TermsOfService -description: constructors and methods of type help_TermsOfService -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_TermsOfService -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_termsOfService](../constructors/help_termsOfService.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v89/types/help_TermsOfServiceUpdate.md b/old_docs/API_docs_v89/types/help_TermsOfServiceUpdate.md deleted file mode 100644 index 0e4f1ef2..00000000 --- a/old_docs/API_docs_v89/types/help_TermsOfServiceUpdate.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: help_TermsOfServiceUpdate -description: constructors and methods of type help_TermsOfServiceUpdate -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_TermsOfServiceUpdate -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_termsOfServiceUpdateEmpty](../constructors/help_termsOfServiceUpdateEmpty.md) - -[help\_termsOfServiceUpdate](../constructors/help_termsOfServiceUpdate.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getTermsOfServiceUpdate](../methods/help_getTermsOfServiceUpdate.md) - - - diff --git a/old_docs/API_docs_v89/types/help_UserInfo.md b/old_docs/API_docs_v89/types/help_UserInfo.md deleted file mode 100644 index 87ca4327..00000000 --- a/old_docs/API_docs_v89/types/help_UserInfo.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: help_UserInfo -description: constructors and methods of type help_UserInfo -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_UserInfo -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_userInfoEmpty](../constructors/help_userInfoEmpty.md) - -[help\_userInfo](../constructors/help_userInfo.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getUserInfo](../methods/help_getUserInfo.md) - -[$MadelineProto->help->editUserInfo](../methods/help_editUserInfo.md) - - - diff --git a/old_docs/API_docs_v89/types/messages.AffectedHistory.md b/old_docs/API_docs_v89/types/messages.AffectedHistory.md new file mode 100644 index 00000000..8a1e850a --- /dev/null +++ b/old_docs/API_docs_v89/types/messages.AffectedHistory.md @@ -0,0 +1,26 @@ +--- +title: messages.AffectedHistory +description: constructors and methods of type messages.AffectedHistory +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.AffectedHistory +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.affectedHistory](../constructors/messages.affectedHistory.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->deleteHistory](../methods/messages.deleteHistory.md) + +[$MadelineProto->messages->readMentions](../methods/messages.readMentions.md) + +[$MadelineProto->channels->deleteUserHistory](../methods/channels.deleteUserHistory.md) + + + diff --git a/old_docs/API_docs_v89/types/messages.AffectedMessages.md b/old_docs/API_docs_v89/types/messages.AffectedMessages.md new file mode 100644 index 00000000..a9159de3 --- /dev/null +++ b/old_docs/API_docs_v89/types/messages.AffectedMessages.md @@ -0,0 +1,28 @@ +--- +title: messages.AffectedMessages +description: constructors and methods of type messages.AffectedMessages +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.AffectedMessages +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.affectedMessages](../constructors/messages.affectedMessages.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->readHistory](../methods/messages.readHistory.md) + +[$MadelineProto->messages->deleteMessages](../methods/messages.deleteMessages.md) + +[$MadelineProto->messages->readMessageContents](../methods/messages.readMessageContents.md) + +[$MadelineProto->channels->deleteMessages](../methods/channels.deleteMessages.md) + + + diff --git a/old_docs/API_docs_v89/types/messages.AllStickers.md b/old_docs/API_docs_v89/types/messages.AllStickers.md new file mode 100644 index 00000000..fd8565de --- /dev/null +++ b/old_docs/API_docs_v89/types/messages.AllStickers.md @@ -0,0 +1,26 @@ +--- +title: messages.AllStickers +description: constructors and methods of type messages.AllStickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.AllStickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.allStickersNotModified](../constructors/messages.allStickersNotModified.md) + +[messages.allStickers](../constructors/messages.allStickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getAllStickers](../methods/messages.getAllStickers.md) + +[$MadelineProto->messages->getMaskStickers](../methods/messages.getMaskStickers.md) + + + diff --git a/old_docs/API_docs_v89/types/messages.ArchivedStickers.md b/old_docs/API_docs_v89/types/messages.ArchivedStickers.md new file mode 100644 index 00000000..3e017c5d --- /dev/null +++ b/old_docs/API_docs_v89/types/messages.ArchivedStickers.md @@ -0,0 +1,22 @@ +--- +title: messages.ArchivedStickers +description: constructors and methods of type messages.ArchivedStickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.ArchivedStickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.archivedStickers](../constructors/messages.archivedStickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getArchivedStickers](../methods/messages.getArchivedStickers.md) + + + diff --git a/old_docs/API_docs_v89/types/messages.BotCallbackAnswer.md b/old_docs/API_docs_v89/types/messages.BotCallbackAnswer.md new file mode 100644 index 00000000..ef30fbfb --- /dev/null +++ b/old_docs/API_docs_v89/types/messages.BotCallbackAnswer.md @@ -0,0 +1,22 @@ +--- +title: messages.BotCallbackAnswer +description: constructors and methods of type messages.BotCallbackAnswer +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.BotCallbackAnswer +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.botCallbackAnswer](../constructors/messages.botCallbackAnswer.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getBotCallbackAnswer](../methods/messages.getBotCallbackAnswer.md) + + + diff --git a/old_docs/API_docs_v89/types/messages.BotResults.md b/old_docs/API_docs_v89/types/messages.BotResults.md new file mode 100644 index 00000000..76ee2b99 --- /dev/null +++ b/old_docs/API_docs_v89/types/messages.BotResults.md @@ -0,0 +1,22 @@ +--- +title: messages.BotResults +description: constructors and methods of type messages.BotResults +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.BotResults +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.botResults](../constructors/messages.botResults.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getInlineBotResults](../methods/messages.getInlineBotResults.md) + + + diff --git a/old_docs/API_docs_v89/types/messages.ChatFull.md b/old_docs/API_docs_v89/types/messages.ChatFull.md new file mode 100644 index 00000000..3ad38748 --- /dev/null +++ b/old_docs/API_docs_v89/types/messages.ChatFull.md @@ -0,0 +1,24 @@ +--- +title: messages.ChatFull +description: constructors and methods of type messages.ChatFull +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.ChatFull +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.chatFull](../constructors/messages.chatFull.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getFullChat](../methods/messages.getFullChat.md) + +[$MadelineProto->channels->getFullChannel](../methods/channels.getFullChannel.md) + + + diff --git a/old_docs/API_docs_v89/types/messages.Chats.md b/old_docs/API_docs_v89/types/messages.Chats.md new file mode 100644 index 00000000..4678b110 --- /dev/null +++ b/old_docs/API_docs_v89/types/messages.Chats.md @@ -0,0 +1,34 @@ +--- +title: messages.Chats +description: constructors and methods of type messages.Chats +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Chats +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.chats](../constructors/messages.chats.md) + +[messages.chatsSlice](../constructors/messages.chatsSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getChats](../methods/messages.getChats.md) + +[$MadelineProto->messages->getCommonChats](../methods/messages.getCommonChats.md) + +[$MadelineProto->messages->getAllChats](../methods/messages.getAllChats.md) + +[$MadelineProto->channels->getChannels](../methods/channels.getChannels.md) + +[$MadelineProto->channels->getAdminedPublicChannels](../methods/channels.getAdminedPublicChannels.md) + +[$MadelineProto->channels->getLeftChannels](../methods/channels.getLeftChannels.md) + + + diff --git a/old_docs/API_docs_v89/types/messages.DhConfig.md b/old_docs/API_docs_v89/types/messages.DhConfig.md new file mode 100644 index 00000000..77188ab7 --- /dev/null +++ b/old_docs/API_docs_v89/types/messages.DhConfig.md @@ -0,0 +1,24 @@ +--- +title: messages.DhConfig +description: constructors and methods of type messages.DhConfig +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.DhConfig +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.dhConfigNotModified](../constructors/messages.dhConfigNotModified.md) + +[messages.dhConfig](../constructors/messages.dhConfig.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getDhConfig](../methods/messages.getDhConfig.md) + + + diff --git a/old_docs/API_docs_v89/types/messages.Dialogs.md b/old_docs/API_docs_v89/types/messages.Dialogs.md new file mode 100644 index 00000000..e14885b1 --- /dev/null +++ b/old_docs/API_docs_v89/types/messages.Dialogs.md @@ -0,0 +1,26 @@ +--- +title: messages.Dialogs +description: constructors and methods of type messages.Dialogs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Dialogs +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.dialogs](../constructors/messages.dialogs.md) + +[messages.dialogsSlice](../constructors/messages.dialogsSlice.md) + +[messages.dialogsNotModified](../constructors/messages.dialogsNotModified.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getDialogs](../methods/messages.getDialogs.md) + + + diff --git a/old_docs/API_docs_v89/types/messages.FavedStickers.md b/old_docs/API_docs_v89/types/messages.FavedStickers.md new file mode 100644 index 00000000..3edc863b --- /dev/null +++ b/old_docs/API_docs_v89/types/messages.FavedStickers.md @@ -0,0 +1,24 @@ +--- +title: messages.FavedStickers +description: constructors and methods of type messages.FavedStickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.FavedStickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.favedStickersNotModified](../constructors/messages.favedStickersNotModified.md) + +[messages.favedStickers](../constructors/messages.favedStickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getFavedStickers](../methods/messages.getFavedStickers.md) + + + diff --git a/old_docs/API_docs_v89/types/messages.FeaturedStickers.md b/old_docs/API_docs_v89/types/messages.FeaturedStickers.md new file mode 100644 index 00000000..06ed87bb --- /dev/null +++ b/old_docs/API_docs_v89/types/messages.FeaturedStickers.md @@ -0,0 +1,24 @@ +--- +title: messages.FeaturedStickers +description: constructors and methods of type messages.FeaturedStickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.FeaturedStickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.featuredStickersNotModified](../constructors/messages.featuredStickersNotModified.md) + +[messages.featuredStickers](../constructors/messages.featuredStickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getFeaturedStickers](../methods/messages.getFeaturedStickers.md) + + + diff --git a/old_docs/API_docs_v89/types/messages.FoundGifs.md b/old_docs/API_docs_v89/types/messages.FoundGifs.md new file mode 100644 index 00000000..b5176a5d --- /dev/null +++ b/old_docs/API_docs_v89/types/messages.FoundGifs.md @@ -0,0 +1,22 @@ +--- +title: messages.FoundGifs +description: constructors and methods of type messages.FoundGifs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.FoundGifs +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.foundGifs](../constructors/messages.foundGifs.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->searchGifs](../methods/messages.searchGifs.md) + + + diff --git a/old_docs/API_docs_v89/types/messages.FoundStickerSets.md b/old_docs/API_docs_v89/types/messages.FoundStickerSets.md new file mode 100644 index 00000000..eb6eb284 --- /dev/null +++ b/old_docs/API_docs_v89/types/messages.FoundStickerSets.md @@ -0,0 +1,24 @@ +--- +title: messages.FoundStickerSets +description: constructors and methods of type messages.FoundStickerSets +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.FoundStickerSets +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.foundStickerSetsNotModified](../constructors/messages.foundStickerSetsNotModified.md) + +[messages.foundStickerSets](../constructors/messages.foundStickerSets.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->searchStickerSets](../methods/messages.searchStickerSets.md) + + + diff --git a/old_docs/API_docs_v89/types/messages.HighScores.md b/old_docs/API_docs_v89/types/messages.HighScores.md new file mode 100644 index 00000000..eae9db66 --- /dev/null +++ b/old_docs/API_docs_v89/types/messages.HighScores.md @@ -0,0 +1,24 @@ +--- +title: messages.HighScores +description: constructors and methods of type messages.HighScores +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.HighScores +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.highScores](../constructors/messages.highScores.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getGameHighScores](../methods/messages.getGameHighScores.md) + +[$MadelineProto->messages->getInlineGameHighScores](../methods/messages.getInlineGameHighScores.md) + + + diff --git a/old_docs/API_docs_v89/types/messages.MessageEditData.md b/old_docs/API_docs_v89/types/messages.MessageEditData.md new file mode 100644 index 00000000..feb572f1 --- /dev/null +++ b/old_docs/API_docs_v89/types/messages.MessageEditData.md @@ -0,0 +1,22 @@ +--- +title: messages.MessageEditData +description: constructors and methods of type messages.MessageEditData +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.MessageEditData +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.messageEditData](../constructors/messages.messageEditData.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getMessageEditData](../methods/messages.getMessageEditData.md) + + + diff --git a/old_docs/API_docs_v89/types/messages.Messages.md b/old_docs/API_docs_v89/types/messages.Messages.md new file mode 100644 index 00000000..699ceada --- /dev/null +++ b/old_docs/API_docs_v89/types/messages.Messages.md @@ -0,0 +1,40 @@ +--- +title: messages.Messages +description: constructors and methods of type messages.Messages +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Messages +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.messages](../constructors/messages.messages.md) + +[messages.messagesSlice](../constructors/messages.messagesSlice.md) + +[messages.channelMessages](../constructors/messages.channelMessages.md) + +[messages.messagesNotModified](../constructors/messages.messagesNotModified.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getMessages](../methods/messages.getMessages.md) + +[$MadelineProto->messages->getHistory](../methods/messages.getHistory.md) + +[$MadelineProto->messages->search](../methods/messages.search.md) + +[$MadelineProto->messages->searchGlobal](../methods/messages.searchGlobal.md) + +[$MadelineProto->messages->getUnreadMentions](../methods/messages.getUnreadMentions.md) + +[$MadelineProto->messages->getRecentLocations](../methods/messages.getRecentLocations.md) + +[$MadelineProto->channels->getMessages](../methods/channels.getMessages.md) + + + diff --git a/old_docs/API_docs_v89/types/messages.PeerDialogs.md b/old_docs/API_docs_v89/types/messages.PeerDialogs.md new file mode 100644 index 00000000..9a1ceaf0 --- /dev/null +++ b/old_docs/API_docs_v89/types/messages.PeerDialogs.md @@ -0,0 +1,24 @@ +--- +title: messages.PeerDialogs +description: constructors and methods of type messages.PeerDialogs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.PeerDialogs +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.peerDialogs](../constructors/messages.peerDialogs.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getPeerDialogs](../methods/messages.getPeerDialogs.md) + +[$MadelineProto->messages->getPinnedDialogs](../methods/messages.getPinnedDialogs.md) + + + diff --git a/old_docs/API_docs_v89/types/messages.RecentStickers.md b/old_docs/API_docs_v89/types/messages.RecentStickers.md new file mode 100644 index 00000000..e5c49b92 --- /dev/null +++ b/old_docs/API_docs_v89/types/messages.RecentStickers.md @@ -0,0 +1,24 @@ +--- +title: messages.RecentStickers +description: constructors and methods of type messages.RecentStickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.RecentStickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.recentStickersNotModified](../constructors/messages.recentStickersNotModified.md) + +[messages.recentStickers](../constructors/messages.recentStickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getRecentStickers](../methods/messages.getRecentStickers.md) + + + diff --git a/old_docs/API_docs_v89/types/messages.SavedGifs.md b/old_docs/API_docs_v89/types/messages.SavedGifs.md new file mode 100644 index 00000000..99844c98 --- /dev/null +++ b/old_docs/API_docs_v89/types/messages.SavedGifs.md @@ -0,0 +1,24 @@ +--- +title: messages.SavedGifs +description: constructors and methods of type messages.SavedGifs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.SavedGifs +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.savedGifsNotModified](../constructors/messages.savedGifsNotModified.md) + +[messages.savedGifs](../constructors/messages.savedGifs.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getSavedGifs](../methods/messages.getSavedGifs.md) + + + diff --git a/old_docs/API_docs_v89/types/messages.SentEncryptedMessage.md b/old_docs/API_docs_v89/types/messages.SentEncryptedMessage.md new file mode 100644 index 00000000..b6d05b1f --- /dev/null +++ b/old_docs/API_docs_v89/types/messages.SentEncryptedMessage.md @@ -0,0 +1,28 @@ +--- +title: messages.SentEncryptedMessage +description: constructors and methods of type messages.SentEncryptedMessage +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.SentEncryptedMessage +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.sentEncryptedMessage](../constructors/messages.sentEncryptedMessage.md) + +[messages.sentEncryptedFile](../constructors/messages.sentEncryptedFile.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->sendEncrypted](../methods/messages.sendEncrypted.md) + +[$MadelineProto->messages->sendEncryptedFile](../methods/messages.sendEncryptedFile.md) + +[$MadelineProto->messages->sendEncryptedService](../methods/messages.sendEncryptedService.md) + + + diff --git a/old_docs/API_docs_v89/types/messages.StickerSet.md b/old_docs/API_docs_v89/types/messages.StickerSet.md new file mode 100644 index 00000000..e173fe45 --- /dev/null +++ b/old_docs/API_docs_v89/types/messages.StickerSet.md @@ -0,0 +1,30 @@ +--- +title: messages.StickerSet +description: constructors and methods of type messages.StickerSet +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.StickerSet +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.stickerSet](../constructors/messages.stickerSet.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getStickerSet](../methods/messages.getStickerSet.md) + +[$MadelineProto->stickers->createStickerSet](../methods/stickers.createStickerSet.md) + +[$MadelineProto->stickers->removeStickerFromSet](../methods/stickers.removeStickerFromSet.md) + +[$MadelineProto->stickers->changeStickerPosition](../methods/stickers.changeStickerPosition.md) + +[$MadelineProto->stickers->addStickerToSet](../methods/stickers.addStickerToSet.md) + + + diff --git a/old_docs/API_docs_v89/types/messages.StickerSetInstallResult.md b/old_docs/API_docs_v89/types/messages.StickerSetInstallResult.md new file mode 100644 index 00000000..9e09c293 --- /dev/null +++ b/old_docs/API_docs_v89/types/messages.StickerSetInstallResult.md @@ -0,0 +1,24 @@ +--- +title: messages.StickerSetInstallResult +description: constructors and methods of type messages.StickerSetInstallResult +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.StickerSetInstallResult +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.stickerSetInstallResultSuccess](../constructors/messages.stickerSetInstallResultSuccess.md) + +[messages.stickerSetInstallResultArchive](../constructors/messages.stickerSetInstallResultArchive.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->installStickerSet](../methods/messages.installStickerSet.md) + + + diff --git a/old_docs/API_docs_v89/types/messages.Stickers.md b/old_docs/API_docs_v89/types/messages.Stickers.md new file mode 100644 index 00000000..43bddf06 --- /dev/null +++ b/old_docs/API_docs_v89/types/messages.Stickers.md @@ -0,0 +1,24 @@ +--- +title: messages.Stickers +description: constructors and methods of type messages.Stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Stickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.stickersNotModified](../constructors/messages.stickersNotModified.md) + +[messages.stickers](../constructors/messages.stickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getStickers](../methods/messages.getStickers.md) + + + diff --git a/old_docs/API_docs_v89/types/messages_AffectedHistory.md b/old_docs/API_docs_v89/types/messages_AffectedHistory.md deleted file mode 100644 index 9eef04c0..00000000 --- a/old_docs/API_docs_v89/types/messages_AffectedHistory.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: messages_AffectedHistory -description: constructors and methods of type messages_AffectedHistory -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_AffectedHistory -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_affectedHistory](../constructors/messages_affectedHistory.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->deleteHistory](../methods/messages_deleteHistory.md) - -[$MadelineProto->messages->readMentions](../methods/messages_readMentions.md) - -[$MadelineProto->channels->deleteUserHistory](../methods/channels_deleteUserHistory.md) - - - diff --git a/old_docs/API_docs_v89/types/messages_AffectedMessages.md b/old_docs/API_docs_v89/types/messages_AffectedMessages.md deleted file mode 100644 index dcbea721..00000000 --- a/old_docs/API_docs_v89/types/messages_AffectedMessages.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: messages_AffectedMessages -description: constructors and methods of type messages_AffectedMessages -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_AffectedMessages -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_affectedMessages](../constructors/messages_affectedMessages.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->readHistory](../methods/messages_readHistory.md) - -[$MadelineProto->messages->deleteMessages](../methods/messages_deleteMessages.md) - -[$MadelineProto->messages->readMessageContents](../methods/messages_readMessageContents.md) - -[$MadelineProto->channels->deleteMessages](../methods/channels_deleteMessages.md) - - - diff --git a/old_docs/API_docs_v89/types/messages_AllStickers.md b/old_docs/API_docs_v89/types/messages_AllStickers.md deleted file mode 100644 index b6a322e0..00000000 --- a/old_docs/API_docs_v89/types/messages_AllStickers.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: messages_AllStickers -description: constructors and methods of type messages_AllStickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_AllStickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_allStickersNotModified](../constructors/messages_allStickersNotModified.md) - -[messages\_allStickers](../constructors/messages_allStickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getAllStickers](../methods/messages_getAllStickers.md) - -[$MadelineProto->messages->getMaskStickers](../methods/messages_getMaskStickers.md) - - - diff --git a/old_docs/API_docs_v89/types/messages_ArchivedStickers.md b/old_docs/API_docs_v89/types/messages_ArchivedStickers.md deleted file mode 100644 index c569675e..00000000 --- a/old_docs/API_docs_v89/types/messages_ArchivedStickers.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_ArchivedStickers -description: constructors and methods of type messages_ArchivedStickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_ArchivedStickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_archivedStickers](../constructors/messages_archivedStickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getArchivedStickers](../methods/messages_getArchivedStickers.md) - - - diff --git a/old_docs/API_docs_v89/types/messages_BotCallbackAnswer.md b/old_docs/API_docs_v89/types/messages_BotCallbackAnswer.md deleted file mode 100644 index f8d424d0..00000000 --- a/old_docs/API_docs_v89/types/messages_BotCallbackAnswer.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_BotCallbackAnswer -description: constructors and methods of type messages_BotCallbackAnswer -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_BotCallbackAnswer -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_botCallbackAnswer](../constructors/messages_botCallbackAnswer.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getBotCallbackAnswer](../methods/messages_getBotCallbackAnswer.md) - - - diff --git a/old_docs/API_docs_v89/types/messages_BotResults.md b/old_docs/API_docs_v89/types/messages_BotResults.md deleted file mode 100644 index c346c5bd..00000000 --- a/old_docs/API_docs_v89/types/messages_BotResults.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_BotResults -description: constructors and methods of type messages_BotResults -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_BotResults -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_botResults](../constructors/messages_botResults.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getInlineBotResults](../methods/messages_getInlineBotResults.md) - - - diff --git a/old_docs/API_docs_v89/types/messages_ChatFull.md b/old_docs/API_docs_v89/types/messages_ChatFull.md deleted file mode 100644 index e4add41e..00000000 --- a/old_docs/API_docs_v89/types/messages_ChatFull.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_ChatFull -description: constructors and methods of type messages_ChatFull -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_ChatFull -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_chatFull](../constructors/messages_chatFull.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getFullChat](../methods/messages_getFullChat.md) - -[$MadelineProto->channels->getFullChannel](../methods/channels_getFullChannel.md) - - - diff --git a/old_docs/API_docs_v89/types/messages_Chats.md b/old_docs/API_docs_v89/types/messages_Chats.md deleted file mode 100644 index 57349b11..00000000 --- a/old_docs/API_docs_v89/types/messages_Chats.md +++ /dev/null @@ -1,34 +0,0 @@ ---- -title: messages_Chats -description: constructors and methods of type messages_Chats -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Chats -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_chats](../constructors/messages_chats.md) - -[messages\_chatsSlice](../constructors/messages_chatsSlice.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getChats](../methods/messages_getChats.md) - -[$MadelineProto->messages->getCommonChats](../methods/messages_getCommonChats.md) - -[$MadelineProto->messages->getAllChats](../methods/messages_getAllChats.md) - -[$MadelineProto->channels->getChannels](../methods/channels_getChannels.md) - -[$MadelineProto->channels->getAdminedPublicChannels](../methods/channels_getAdminedPublicChannels.md) - -[$MadelineProto->channels->getLeftChannels](../methods/channels_getLeftChannels.md) - - - diff --git a/old_docs/API_docs_v89/types/messages_DhConfig.md b/old_docs/API_docs_v89/types/messages_DhConfig.md deleted file mode 100644 index ce237411..00000000 --- a/old_docs/API_docs_v89/types/messages_DhConfig.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_DhConfig -description: constructors and methods of type messages_DhConfig -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_DhConfig -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_dhConfigNotModified](../constructors/messages_dhConfigNotModified.md) - -[messages\_dhConfig](../constructors/messages_dhConfig.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getDhConfig](../methods/messages_getDhConfig.md) - - - diff --git a/old_docs/API_docs_v89/types/messages_Dialogs.md b/old_docs/API_docs_v89/types/messages_Dialogs.md deleted file mode 100644 index 86d5eb72..00000000 --- a/old_docs/API_docs_v89/types/messages_Dialogs.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: messages_Dialogs -description: constructors and methods of type messages_Dialogs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Dialogs -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_dialogs](../constructors/messages_dialogs.md) - -[messages\_dialogsSlice](../constructors/messages_dialogsSlice.md) - -[messages\_dialogsNotModified](../constructors/messages_dialogsNotModified.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getDialogs](../methods/messages_getDialogs.md) - - - diff --git a/old_docs/API_docs_v89/types/messages_FavedStickers.md b/old_docs/API_docs_v89/types/messages_FavedStickers.md deleted file mode 100644 index 6fa1f221..00000000 --- a/old_docs/API_docs_v89/types/messages_FavedStickers.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_FavedStickers -description: constructors and methods of type messages_FavedStickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_FavedStickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_favedStickersNotModified](../constructors/messages_favedStickersNotModified.md) - -[messages\_favedStickers](../constructors/messages_favedStickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getFavedStickers](../methods/messages_getFavedStickers.md) - - - diff --git a/old_docs/API_docs_v89/types/messages_FeaturedStickers.md b/old_docs/API_docs_v89/types/messages_FeaturedStickers.md deleted file mode 100644 index 9b4c5002..00000000 --- a/old_docs/API_docs_v89/types/messages_FeaturedStickers.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_FeaturedStickers -description: constructors and methods of type messages_FeaturedStickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_FeaturedStickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_featuredStickersNotModified](../constructors/messages_featuredStickersNotModified.md) - -[messages\_featuredStickers](../constructors/messages_featuredStickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getFeaturedStickers](../methods/messages_getFeaturedStickers.md) - - - diff --git a/old_docs/API_docs_v89/types/messages_FoundGifs.md b/old_docs/API_docs_v89/types/messages_FoundGifs.md deleted file mode 100644 index 9dd088ba..00000000 --- a/old_docs/API_docs_v89/types/messages_FoundGifs.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_FoundGifs -description: constructors and methods of type messages_FoundGifs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_FoundGifs -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_foundGifs](../constructors/messages_foundGifs.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->searchGifs](../methods/messages_searchGifs.md) - - - diff --git a/old_docs/API_docs_v89/types/messages_FoundStickerSets.md b/old_docs/API_docs_v89/types/messages_FoundStickerSets.md deleted file mode 100644 index 9045b0d7..00000000 --- a/old_docs/API_docs_v89/types/messages_FoundStickerSets.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_FoundStickerSets -description: constructors and methods of type messages_FoundStickerSets -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_FoundStickerSets -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_foundStickerSetsNotModified](../constructors/messages_foundStickerSetsNotModified.md) - -[messages\_foundStickerSets](../constructors/messages_foundStickerSets.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->searchStickerSets](../methods/messages_searchStickerSets.md) - - - diff --git a/old_docs/API_docs_v89/types/messages_HighScores.md b/old_docs/API_docs_v89/types/messages_HighScores.md deleted file mode 100644 index 9660e255..00000000 --- a/old_docs/API_docs_v89/types/messages_HighScores.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_HighScores -description: constructors and methods of type messages_HighScores -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_HighScores -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_highScores](../constructors/messages_highScores.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getGameHighScores](../methods/messages_getGameHighScores.md) - -[$MadelineProto->messages->getInlineGameHighScores](../methods/messages_getInlineGameHighScores.md) - - - diff --git a/old_docs/API_docs_v89/types/messages_MessageEditData.md b/old_docs/API_docs_v89/types/messages_MessageEditData.md deleted file mode 100644 index ed3c507a..00000000 --- a/old_docs/API_docs_v89/types/messages_MessageEditData.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_MessageEditData -description: constructors and methods of type messages_MessageEditData -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_MessageEditData -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_messageEditData](../constructors/messages_messageEditData.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getMessageEditData](../methods/messages_getMessageEditData.md) - - - diff --git a/old_docs/API_docs_v89/types/messages_Messages.md b/old_docs/API_docs_v89/types/messages_Messages.md deleted file mode 100644 index 35514e90..00000000 --- a/old_docs/API_docs_v89/types/messages_Messages.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages_Messages -description: constructors and methods of type messages_Messages -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Messages -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_messages](../constructors/messages_messages.md) - -[messages\_messagesSlice](../constructors/messages_messagesSlice.md) - -[messages\_channelMessages](../constructors/messages_channelMessages.md) - -[messages\_messagesNotModified](../constructors/messages_messagesNotModified.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getMessages](../methods/messages_getMessages.md) - -[$MadelineProto->messages->getHistory](../methods/messages_getHistory.md) - -[$MadelineProto->messages->search](../methods/messages_search.md) - -[$MadelineProto->messages->searchGlobal](../methods/messages_searchGlobal.md) - -[$MadelineProto->messages->getUnreadMentions](../methods/messages_getUnreadMentions.md) - -[$MadelineProto->messages->getRecentLocations](../methods/messages_getRecentLocations.md) - -[$MadelineProto->channels->getMessages](../methods/channels_getMessages.md) - - - diff --git a/old_docs/API_docs_v89/types/messages_PeerDialogs.md b/old_docs/API_docs_v89/types/messages_PeerDialogs.md deleted file mode 100644 index 2477931f..00000000 --- a/old_docs/API_docs_v89/types/messages_PeerDialogs.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_PeerDialogs -description: constructors and methods of type messages_PeerDialogs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_PeerDialogs -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_peerDialogs](../constructors/messages_peerDialogs.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getPeerDialogs](../methods/messages_getPeerDialogs.md) - -[$MadelineProto->messages->getPinnedDialogs](../methods/messages_getPinnedDialogs.md) - - - diff --git a/old_docs/API_docs_v89/types/messages_RecentStickers.md b/old_docs/API_docs_v89/types/messages_RecentStickers.md deleted file mode 100644 index 2c9db779..00000000 --- a/old_docs/API_docs_v89/types/messages_RecentStickers.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_RecentStickers -description: constructors and methods of type messages_RecentStickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_RecentStickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_recentStickersNotModified](../constructors/messages_recentStickersNotModified.md) - -[messages\_recentStickers](../constructors/messages_recentStickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getRecentStickers](../methods/messages_getRecentStickers.md) - - - diff --git a/old_docs/API_docs_v89/types/messages_SavedGifs.md b/old_docs/API_docs_v89/types/messages_SavedGifs.md deleted file mode 100644 index ffb000aa..00000000 --- a/old_docs/API_docs_v89/types/messages_SavedGifs.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_SavedGifs -description: constructors and methods of type messages_SavedGifs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_SavedGifs -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_savedGifsNotModified](../constructors/messages_savedGifsNotModified.md) - -[messages\_savedGifs](../constructors/messages_savedGifs.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getSavedGifs](../methods/messages_getSavedGifs.md) - - - diff --git a/old_docs/API_docs_v89/types/messages_SentEncryptedMessage.md b/old_docs/API_docs_v89/types/messages_SentEncryptedMessage.md deleted file mode 100644 index 9f7ab935..00000000 --- a/old_docs/API_docs_v89/types/messages_SentEncryptedMessage.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: messages_SentEncryptedMessage -description: constructors and methods of type messages_SentEncryptedMessage -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_SentEncryptedMessage -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_sentEncryptedMessage](../constructors/messages_sentEncryptedMessage.md) - -[messages\_sentEncryptedFile](../constructors/messages_sentEncryptedFile.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->sendEncrypted](../methods/messages_sendEncrypted.md) - -[$MadelineProto->messages->sendEncryptedFile](../methods/messages_sendEncryptedFile.md) - -[$MadelineProto->messages->sendEncryptedService](../methods/messages_sendEncryptedService.md) - - - diff --git a/old_docs/API_docs_v89/types/messages_StickerSet.md b/old_docs/API_docs_v89/types/messages_StickerSet.md deleted file mode 100644 index 98e34dd2..00000000 --- a/old_docs/API_docs_v89/types/messages_StickerSet.md +++ /dev/null @@ -1,30 +0,0 @@ ---- -title: messages_StickerSet -description: constructors and methods of type messages_StickerSet -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_StickerSet -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_stickerSet](../constructors/messages_stickerSet.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getStickerSet](../methods/messages_getStickerSet.md) - -[$MadelineProto->stickers->createStickerSet](../methods/stickers_createStickerSet.md) - -[$MadelineProto->stickers->removeStickerFromSet](../methods/stickers_removeStickerFromSet.md) - -[$MadelineProto->stickers->changeStickerPosition](../methods/stickers_changeStickerPosition.md) - -[$MadelineProto->stickers->addStickerToSet](../methods/stickers_addStickerToSet.md) - - - diff --git a/old_docs/API_docs_v89/types/messages_StickerSetInstallResult.md b/old_docs/API_docs_v89/types/messages_StickerSetInstallResult.md deleted file mode 100644 index bb62ec11..00000000 --- a/old_docs/API_docs_v89/types/messages_StickerSetInstallResult.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_StickerSetInstallResult -description: constructors and methods of type messages_StickerSetInstallResult -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_StickerSetInstallResult -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_stickerSetInstallResultSuccess](../constructors/messages_stickerSetInstallResultSuccess.md) - -[messages\_stickerSetInstallResultArchive](../constructors/messages_stickerSetInstallResultArchive.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->installStickerSet](../methods/messages_installStickerSet.md) - - - diff --git a/old_docs/API_docs_v89/types/messages_Stickers.md b/old_docs/API_docs_v89/types/messages_Stickers.md deleted file mode 100644 index cf53f57b..00000000 --- a/old_docs/API_docs_v89/types/messages_Stickers.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_Stickers -description: constructors and methods of type messages_Stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Stickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_stickersNotModified](../constructors/messages_stickersNotModified.md) - -[messages\_stickers](../constructors/messages_stickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getStickers](../methods/messages_getStickers.md) - - - diff --git a/old_docs/API_docs_v89/types/payments.PaymentForm.md b/old_docs/API_docs_v89/types/payments.PaymentForm.md new file mode 100644 index 00000000..985c1957 --- /dev/null +++ b/old_docs/API_docs_v89/types/payments.PaymentForm.md @@ -0,0 +1,22 @@ +--- +title: payments.PaymentForm +description: constructors and methods of type payments.PaymentForm +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: payments.PaymentForm +[Back to types index](index.md) + + + +### Possible values (constructors): + +[payments.paymentForm](../constructors/payments.paymentForm.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->payments->getPaymentForm](../methods/payments.getPaymentForm.md) + + + diff --git a/old_docs/API_docs_v89/types/payments.PaymentReceipt.md b/old_docs/API_docs_v89/types/payments.PaymentReceipt.md new file mode 100644 index 00000000..45cebd47 --- /dev/null +++ b/old_docs/API_docs_v89/types/payments.PaymentReceipt.md @@ -0,0 +1,22 @@ +--- +title: payments.PaymentReceipt +description: constructors and methods of type payments.PaymentReceipt +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: payments.PaymentReceipt +[Back to types index](index.md) + + + +### Possible values (constructors): + +[payments.paymentReceipt](../constructors/payments.paymentReceipt.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->payments->getPaymentReceipt](../methods/payments.getPaymentReceipt.md) + + + diff --git a/old_docs/API_docs_v89/types/payments.PaymentResult.md b/old_docs/API_docs_v89/types/payments.PaymentResult.md new file mode 100644 index 00000000..9bbff9af --- /dev/null +++ b/old_docs/API_docs_v89/types/payments.PaymentResult.md @@ -0,0 +1,24 @@ +--- +title: payments.PaymentResult +description: constructors and methods of type payments.PaymentResult +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: payments.PaymentResult +[Back to types index](index.md) + + + +### Possible values (constructors): + +[payments.paymentResult](../constructors/payments.paymentResult.md) + +[payments.paymentVerficationNeeded](../constructors/payments.paymentVerficationNeeded.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->payments->sendPaymentForm](../methods/payments.sendPaymentForm.md) + + + diff --git a/old_docs/API_docs_v89/types/payments.SavedInfo.md b/old_docs/API_docs_v89/types/payments.SavedInfo.md new file mode 100644 index 00000000..cf7be16c --- /dev/null +++ b/old_docs/API_docs_v89/types/payments.SavedInfo.md @@ -0,0 +1,22 @@ +--- +title: payments.SavedInfo +description: constructors and methods of type payments.SavedInfo +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: payments.SavedInfo +[Back to types index](index.md) + + + +### Possible values (constructors): + +[payments.savedInfo](../constructors/payments.savedInfo.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->payments->getSavedInfo](../methods/payments.getSavedInfo.md) + + + diff --git a/old_docs/API_docs_v89/types/payments.ValidatedRequestedInfo.md b/old_docs/API_docs_v89/types/payments.ValidatedRequestedInfo.md new file mode 100644 index 00000000..653a5064 --- /dev/null +++ b/old_docs/API_docs_v89/types/payments.ValidatedRequestedInfo.md @@ -0,0 +1,22 @@ +--- +title: payments.ValidatedRequestedInfo +description: constructors and methods of type payments.ValidatedRequestedInfo +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: payments.ValidatedRequestedInfo +[Back to types index](index.md) + + + +### Possible values (constructors): + +[payments.validatedRequestedInfo](../constructors/payments.validatedRequestedInfo.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->payments->validateRequestedInfo](../methods/payments.validateRequestedInfo.md) + + + diff --git a/old_docs/API_docs_v89/types/payments_PaymentForm.md b/old_docs/API_docs_v89/types/payments_PaymentForm.md deleted file mode 100644 index 4662586d..00000000 --- a/old_docs/API_docs_v89/types/payments_PaymentForm.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: payments_PaymentForm -description: constructors and methods of type payments_PaymentForm -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: payments\_PaymentForm -[Back to types index](index.md) - - - -### Possible values (constructors): - -[payments\_paymentForm](../constructors/payments_paymentForm.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->payments->getPaymentForm](../methods/payments_getPaymentForm.md) - - - diff --git a/old_docs/API_docs_v89/types/payments_PaymentReceipt.md b/old_docs/API_docs_v89/types/payments_PaymentReceipt.md deleted file mode 100644 index b4770d2a..00000000 --- a/old_docs/API_docs_v89/types/payments_PaymentReceipt.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: payments_PaymentReceipt -description: constructors and methods of type payments_PaymentReceipt -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: payments\_PaymentReceipt -[Back to types index](index.md) - - - -### Possible values (constructors): - -[payments\_paymentReceipt](../constructors/payments_paymentReceipt.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->payments->getPaymentReceipt](../methods/payments_getPaymentReceipt.md) - - - diff --git a/old_docs/API_docs_v89/types/payments_PaymentResult.md b/old_docs/API_docs_v89/types/payments_PaymentResult.md deleted file mode 100644 index 3c0ad411..00000000 --- a/old_docs/API_docs_v89/types/payments_PaymentResult.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: payments_PaymentResult -description: constructors and methods of type payments_PaymentResult -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: payments\_PaymentResult -[Back to types index](index.md) - - - -### Possible values (constructors): - -[payments\_paymentResult](../constructors/payments_paymentResult.md) - -[payments\_paymentVerficationNeeded](../constructors/payments_paymentVerficationNeeded.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->payments->sendPaymentForm](../methods/payments_sendPaymentForm.md) - - - diff --git a/old_docs/API_docs_v89/types/payments_SavedInfo.md b/old_docs/API_docs_v89/types/payments_SavedInfo.md deleted file mode 100644 index c8f7b9e3..00000000 --- a/old_docs/API_docs_v89/types/payments_SavedInfo.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: payments_SavedInfo -description: constructors and methods of type payments_SavedInfo -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: payments\_SavedInfo -[Back to types index](index.md) - - - -### Possible values (constructors): - -[payments\_savedInfo](../constructors/payments_savedInfo.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->payments->getSavedInfo](../methods/payments_getSavedInfo.md) - - - diff --git a/old_docs/API_docs_v89/types/payments_ValidatedRequestedInfo.md b/old_docs/API_docs_v89/types/payments_ValidatedRequestedInfo.md deleted file mode 100644 index ff6c4e39..00000000 --- a/old_docs/API_docs_v89/types/payments_ValidatedRequestedInfo.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: payments_ValidatedRequestedInfo -description: constructors and methods of type payments_ValidatedRequestedInfo -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: payments\_ValidatedRequestedInfo -[Back to types index](index.md) - - - -### Possible values (constructors): - -[payments\_validatedRequestedInfo](../constructors/payments_validatedRequestedInfo.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->payments->validateRequestedInfo](../methods/payments_validateRequestedInfo.md) - - - diff --git a/old_docs/API_docs_v89/types/phone.PhoneCall.md b/old_docs/API_docs_v89/types/phone.PhoneCall.md new file mode 100644 index 00000000..db0708e9 --- /dev/null +++ b/old_docs/API_docs_v89/types/phone.PhoneCall.md @@ -0,0 +1,26 @@ +--- +title: phone.PhoneCall +description: constructors and methods of type phone.PhoneCall +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: phone.PhoneCall +[Back to types index](index.md) + + + +### Possible values (constructors): + +[phone.phoneCall](../constructors/phone.phoneCall.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->phone->requestCall](../methods/phone.requestCall.md) + +[$MadelineProto->phone->acceptCall](../methods/phone.acceptCall.md) + +[$MadelineProto->phone->confirmCall](../methods/phone.confirmCall.md) + + + diff --git a/old_docs/API_docs_v89/types/phone_PhoneCall.md b/old_docs/API_docs_v89/types/phone_PhoneCall.md deleted file mode 100644 index 0a49d482..00000000 --- a/old_docs/API_docs_v89/types/phone_PhoneCall.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: phone_PhoneCall -description: constructors and methods of type phone_PhoneCall -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: phone\_PhoneCall -[Back to types index](index.md) - - - -### Possible values (constructors): - -[phone\_phoneCall](../constructors/phone_phoneCall.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->phone->requestCall](../methods/phone_requestCall.md) - -[$MadelineProto->phone->acceptCall](../methods/phone_acceptCall.md) - -[$MadelineProto->phone->confirmCall](../methods/phone_confirmCall.md) - - - diff --git a/old_docs/API_docs_v89/types/photos.Photo.md b/old_docs/API_docs_v89/types/photos.Photo.md new file mode 100644 index 00000000..d60f203c --- /dev/null +++ b/old_docs/API_docs_v89/types/photos.Photo.md @@ -0,0 +1,22 @@ +--- +title: photos.Photo +description: constructors and methods of type photos.Photo +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: photos.Photo +[Back to types index](index.md) + + + +### Possible values (constructors): + +[photos.photo](../constructors/photos.photo.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->photos->uploadProfilePhoto](../methods/photos.uploadProfilePhoto.md) + + + diff --git a/old_docs/API_docs_v89/types/photos.Photos.md b/old_docs/API_docs_v89/types/photos.Photos.md new file mode 100644 index 00000000..fff0e296 --- /dev/null +++ b/old_docs/API_docs_v89/types/photos.Photos.md @@ -0,0 +1,24 @@ +--- +title: photos.Photos +description: constructors and methods of type photos.Photos +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: photos.Photos +[Back to types index](index.md) + + + +### Possible values (constructors): + +[photos.photos](../constructors/photos.photos.md) + +[photos.photosSlice](../constructors/photos.photosSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->photos->getUserPhotos](../methods/photos.getUserPhotos.md) + + + diff --git a/old_docs/API_docs_v89/types/photos_Photo.md b/old_docs/API_docs_v89/types/photos_Photo.md deleted file mode 100644 index d11bbdef..00000000 --- a/old_docs/API_docs_v89/types/photos_Photo.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: photos_Photo -description: constructors and methods of type photos_Photo -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: photos\_Photo -[Back to types index](index.md) - - - -### Possible values (constructors): - -[photos\_photo](../constructors/photos_photo.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->photos->uploadProfilePhoto](../methods/photos_uploadProfilePhoto.md) - - - diff --git a/old_docs/API_docs_v89/types/photos_Photos.md b/old_docs/API_docs_v89/types/photos_Photos.md deleted file mode 100644 index 9875ad70..00000000 --- a/old_docs/API_docs_v89/types/photos_Photos.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: photos_Photos -description: constructors and methods of type photos_Photos -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: photos\_Photos -[Back to types index](index.md) - - - -### Possible values (constructors): - -[photos\_photos](../constructors/photos_photos.md) - -[photos\_photosSlice](../constructors/photos_photosSlice.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->photos->getUserPhotos](../methods/photos_getUserPhotos.md) - - - diff --git a/old_docs/API_docs_v89/types/storage.FileType.md b/old_docs/API_docs_v89/types/storage.FileType.md new file mode 100644 index 00000000..32f1bb72 --- /dev/null +++ b/old_docs/API_docs_v89/types/storage.FileType.md @@ -0,0 +1,38 @@ +--- +title: storage.FileType +description: constructors and methods of type storage.FileType +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: storage.FileType +[Back to types index](index.md) + + + +### Possible values (constructors): + +[storage.fileUnknown](../constructors/storage.fileUnknown.md) + +[storage.filePartial](../constructors/storage.filePartial.md) + +[storage.fileJpeg](../constructors/storage.fileJpeg.md) + +[storage.fileGif](../constructors/storage.fileGif.md) + +[storage.filePng](../constructors/storage.filePng.md) + +[storage.filePdf](../constructors/storage.filePdf.md) + +[storage.fileMp3](../constructors/storage.fileMp3.md) + +[storage.fileMov](../constructors/storage.fileMov.md) + +[storage.fileMp4](../constructors/storage.fileMp4.md) + +[storage.fileWebp](../constructors/storage.fileWebp.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v89/types/storage_FileType.md b/old_docs/API_docs_v89/types/storage_FileType.md deleted file mode 100644 index 22118805..00000000 --- a/old_docs/API_docs_v89/types/storage_FileType.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: storage_FileType -description: constructors and methods of type storage_FileType -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: storage\_FileType -[Back to types index](index.md) - - - -### Possible values (constructors): - -[storage\_fileUnknown](../constructors/storage_fileUnknown.md) - -[storage\_filePartial](../constructors/storage_filePartial.md) - -[storage\_fileJpeg](../constructors/storage_fileJpeg.md) - -[storage\_fileGif](../constructors/storage_fileGif.md) - -[storage\_filePng](../constructors/storage_filePng.md) - -[storage\_filePdf](../constructors/storage_filePdf.md) - -[storage\_fileMp3](../constructors/storage_fileMp3.md) - -[storage\_fileMov](../constructors/storage_fileMov.md) - -[storage\_fileMp4](../constructors/storage_fileMp4.md) - -[storage\_fileWebp](../constructors/storage_fileWebp.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v89/types/updates.ChannelDifference.md b/old_docs/API_docs_v89/types/updates.ChannelDifference.md new file mode 100644 index 00000000..ac889a1e --- /dev/null +++ b/old_docs/API_docs_v89/types/updates.ChannelDifference.md @@ -0,0 +1,26 @@ +--- +title: updates.ChannelDifference +description: constructors and methods of type updates.ChannelDifference +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: updates.ChannelDifference +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updates.channelDifferenceEmpty](../constructors/updates.channelDifferenceEmpty.md) + +[updates.channelDifferenceTooLong](../constructors/updates.channelDifferenceTooLong.md) + +[updates.channelDifference](../constructors/updates.channelDifference.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->updates->getChannelDifference](../methods/updates.getChannelDifference.md) + + + diff --git a/old_docs/API_docs_v89/types/updates.Difference.md b/old_docs/API_docs_v89/types/updates.Difference.md new file mode 100644 index 00000000..0c1a1b6e --- /dev/null +++ b/old_docs/API_docs_v89/types/updates.Difference.md @@ -0,0 +1,28 @@ +--- +title: updates.Difference +description: constructors and methods of type updates.Difference +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: updates.Difference +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updates.differenceEmpty](../constructors/updates.differenceEmpty.md) + +[updates.difference](../constructors/updates.difference.md) + +[updates.differenceSlice](../constructors/updates.differenceSlice.md) + +[updates.differenceTooLong](../constructors/updates.differenceTooLong.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->updates->getDifference](../methods/updates.getDifference.md) + + + diff --git a/old_docs/API_docs_v89/types/updates.State.md b/old_docs/API_docs_v89/types/updates.State.md new file mode 100644 index 00000000..49bbb7fd --- /dev/null +++ b/old_docs/API_docs_v89/types/updates.State.md @@ -0,0 +1,22 @@ +--- +title: updates.State +description: constructors and methods of type updates.State +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: updates.State +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updates.state](../constructors/updates.state.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->updates->getState](../methods/updates.getState.md) + + + diff --git a/old_docs/API_docs_v89/types/updates_ChannelDifference.md b/old_docs/API_docs_v89/types/updates_ChannelDifference.md deleted file mode 100644 index dc988692..00000000 --- a/old_docs/API_docs_v89/types/updates_ChannelDifference.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: updates_ChannelDifference -description: constructors and methods of type updates_ChannelDifference -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: updates\_ChannelDifference -[Back to types index](index.md) - - - -### Possible values (constructors): - -[updates\_channelDifferenceEmpty](../constructors/updates_channelDifferenceEmpty.md) - -[updates\_channelDifferenceTooLong](../constructors/updates_channelDifferenceTooLong.md) - -[updates\_channelDifference](../constructors/updates_channelDifference.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->updates->getChannelDifference](../methods/updates_getChannelDifference.md) - - - diff --git a/old_docs/API_docs_v89/types/updates_Difference.md b/old_docs/API_docs_v89/types/updates_Difference.md deleted file mode 100644 index 50bb098e..00000000 --- a/old_docs/API_docs_v89/types/updates_Difference.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: updates_Difference -description: constructors and methods of type updates_Difference -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: updates\_Difference -[Back to types index](index.md) - - - -### Possible values (constructors): - -[updates\_differenceEmpty](../constructors/updates_differenceEmpty.md) - -[updates\_difference](../constructors/updates_difference.md) - -[updates\_differenceSlice](../constructors/updates_differenceSlice.md) - -[updates\_differenceTooLong](../constructors/updates_differenceTooLong.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->updates->getDifference](../methods/updates_getDifference.md) - - - diff --git a/old_docs/API_docs_v89/types/updates_State.md b/old_docs/API_docs_v89/types/updates_State.md deleted file mode 100644 index 7a441145..00000000 --- a/old_docs/API_docs_v89/types/updates_State.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: updates_State -description: constructors and methods of type updates_State -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: updates\_State -[Back to types index](index.md) - - - -### Possible values (constructors): - -[updates\_state](../constructors/updates_state.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->updates->getState](../methods/updates_getState.md) - - - diff --git a/old_docs/API_docs_v89/types/upload.CdnFile.md b/old_docs/API_docs_v89/types/upload.CdnFile.md new file mode 100644 index 00000000..396c4bf4 --- /dev/null +++ b/old_docs/API_docs_v89/types/upload.CdnFile.md @@ -0,0 +1,24 @@ +--- +title: upload.CdnFile +description: constructors and methods of type upload.CdnFile +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: upload.CdnFile +[Back to types index](index.md) + + + +### Possible values (constructors): + +[upload.cdnFileReuploadNeeded](../constructors/upload.cdnFileReuploadNeeded.md) + +[upload.cdnFile](../constructors/upload.cdnFile.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->upload->getCdnFile](../methods/upload.getCdnFile.md) + + + diff --git a/old_docs/API_docs_v89/types/upload.File.md b/old_docs/API_docs_v89/types/upload.File.md new file mode 100644 index 00000000..6963341b --- /dev/null +++ b/old_docs/API_docs_v89/types/upload.File.md @@ -0,0 +1,24 @@ +--- +title: upload.File +description: constructors and methods of type upload.File +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: upload.File +[Back to types index](index.md) + + + +### Possible values (constructors): + +[upload.file](../constructors/upload.file.md) + +[upload.fileCdnRedirect](../constructors/upload.fileCdnRedirect.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->upload->getFile](../methods/upload.getFile.md) + + + diff --git a/old_docs/API_docs_v89/types/upload.WebFile.md b/old_docs/API_docs_v89/types/upload.WebFile.md new file mode 100644 index 00000000..e834457b --- /dev/null +++ b/old_docs/API_docs_v89/types/upload.WebFile.md @@ -0,0 +1,22 @@ +--- +title: upload.WebFile +description: constructors and methods of type upload.WebFile +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: upload.WebFile +[Back to types index](index.md) + + + +### Possible values (constructors): + +[upload.webFile](../constructors/upload.webFile.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->upload->getWebFile](../methods/upload.getWebFile.md) + + + diff --git a/old_docs/API_docs_v89/types/upload_CdnFile.md b/old_docs/API_docs_v89/types/upload_CdnFile.md deleted file mode 100644 index 51ae2e68..00000000 --- a/old_docs/API_docs_v89/types/upload_CdnFile.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: upload_CdnFile -description: constructors and methods of type upload_CdnFile -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: upload\_CdnFile -[Back to types index](index.md) - - - -### Possible values (constructors): - -[upload\_cdnFileReuploadNeeded](../constructors/upload_cdnFileReuploadNeeded.md) - -[upload\_cdnFile](../constructors/upload_cdnFile.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->upload->getCdnFile](../methods/upload_getCdnFile.md) - - - diff --git a/old_docs/API_docs_v89/types/upload_File.md b/old_docs/API_docs_v89/types/upload_File.md deleted file mode 100644 index 00e0f9cb..00000000 --- a/old_docs/API_docs_v89/types/upload_File.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: upload_File -description: constructors and methods of type upload_File -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: upload\_File -[Back to types index](index.md) - - - -### Possible values (constructors): - -[upload\_file](../constructors/upload_file.md) - -[upload\_fileCdnRedirect](../constructors/upload_fileCdnRedirect.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->upload->getFile](../methods/upload_getFile.md) - - - diff --git a/old_docs/API_docs_v89/types/upload_WebFile.md b/old_docs/API_docs_v89/types/upload_WebFile.md deleted file mode 100644 index 9a86264f..00000000 --- a/old_docs/API_docs_v89/types/upload_WebFile.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: upload_WebFile -description: constructors and methods of type upload_WebFile -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: upload\_WebFile -[Back to types index](index.md) - - - -### Possible values (constructors): - -[upload\_webFile](../constructors/upload_webFile.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->upload->getWebFile](../methods/upload_getWebFile.md) - - - diff --git a/old_docs/API_docs_v91/constructors/README.md b/old_docs/API_docs_v91/constructors/README.md index d9601be9..76725868 100644 --- a/old_docs/API_docs_v91/constructors/README.md +++ b/old_docs/API_docs_v91/constructors/README.md @@ -9,54 +9,74 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ***

[$accessPointRule](../constructors/accessPointRule.md) = \['phone_prefix_rules' => [string](../types/string.md), 'dc_id' => [int](../types/int.md), 'ips' => \[[IpPort](../types/IpPort.md)\], \]; +*** +

[$account.authorizationForm](../constructors/account.authorizationForm.md) = \['required_types' => \[[SecureRequiredType](../types/SecureRequiredType.md)\], 'values' => \[[SecureValue](../types/SecureValue.md)\], 'errors' => \[[SecureValueError](../types/SecureValueError.md)\], 'users' => \[[User](../types/User.md)\], 'privacy_policy_url' => [string](../types/string.md), \]; + +*** +

[$account.authorizations](../constructors/account.authorizations.md) = \['authorizations' => \[[Authorization](../types/Authorization.md)\], \]; + +*** +

[$account.password](../constructors/account.password.md) = \['has_recovery' => [Bool](../types/Bool.md), 'has_secure_values' => [Bool](../types/Bool.md), 'has_password' => [Bool](../types/Bool.md), 'current_algo' => [PasswordKdfAlgo](../types/PasswordKdfAlgo.md), 'srp_B' => [bytes](../types/bytes.md), 'srp_id' => [long](../types/long.md), 'hint' => [string](../types/string.md), 'email_unconfirmed_pattern' => [string](../types/string.md), 'new_algo' => [PasswordKdfAlgo](../types/PasswordKdfAlgo.md), 'new_secure_algo' => [SecurePasswordKdfAlgo](../types/SecurePasswordKdfAlgo.md), 'secure_random' => [bytes](../types/bytes.md), \]; + +*** +

[$account.passwordInputSettings](../constructors/account.passwordInputSettings.md) = \['new_algo' => [PasswordKdfAlgo](../types/PasswordKdfAlgo.md), 'new_password_hash' => [bytes](../types/bytes.md), 'hint' => [string](../types/string.md), 'email' => [string](../types/string.md), 'new_secure_settings' => [SecureSecretSettings](../types/SecureSecretSettings.md), \]; + +*** +

[$account.passwordSettings](../constructors/account.passwordSettings.md) = \['email' => [string](../types/string.md), 'secure_settings' => [SecureSecretSettings](../types/SecureSecretSettings.md), \]; + +*** +

[$account.privacyRules](../constructors/account.privacyRules.md) = \['rules' => \[[PrivacyRule](../types/PrivacyRule.md)\], 'users' => \[[User](../types/User.md)\], \]; + +*** +

[$account.sentEmailCode](../constructors/account.sentEmailCode.md) = \['email_pattern' => [string](../types/string.md), 'length' => [int](../types/int.md), \]; + +*** +

[$account.takeout](../constructors/account.takeout.md) = \['id' => [long](../types/long.md), \]; + +*** +

[$account.tmpPassword](../constructors/account.tmpPassword.md) = \['tmp_password' => [bytes](../types/bytes.md), 'valid_until' => [int](../types/int.md), \]; + +*** +

[$account.webAuthorizations](../constructors/account.webAuthorizations.md) = \['authorizations' => \[[WebAuthorization](../types/WebAuthorization.md)\], 'users' => \[[User](../types/User.md)\], \]; + ***

[$accountDaysTTL](../constructors/accountDaysTTL.md) = \['days' => [int](../types/int.md), \]; *** -

[$account\_authorizationForm](../constructors/account_authorizationForm.md) = \['required_types' => \[[SecureRequiredType](../types/SecureRequiredType.md)\], 'values' => \[[SecureValue](../types/SecureValue.md)\], 'errors' => \[[SecureValueError](../types/SecureValueError.md)\], 'users' => \[[User](../types/User.md)\], 'privacy_policy_url' => [string](../types/string.md), \]; - -[$account\_authorizations](../constructors/account_authorizations.md) = \['authorizations' => \[[Authorization](../types/Authorization.md)\], \]; - -[$account\_password](../constructors/account_password.md) = \['has_recovery' => [Bool](../types/Bool.md), 'has_secure_values' => [Bool](../types/Bool.md), 'has_password' => [Bool](../types/Bool.md), 'current_algo' => [PasswordKdfAlgo](../types/PasswordKdfAlgo.md), 'srp_B' => [bytes](../types/bytes.md), 'srp_id' => [long](../types/long.md), 'hint' => [string](../types/string.md), 'email_unconfirmed_pattern' => [string](../types/string.md), 'new_algo' => [PasswordKdfAlgo](../types/PasswordKdfAlgo.md), 'new_secure_algo' => [SecurePasswordKdfAlgo](../types/SecurePasswordKdfAlgo.md), 'secure_random' => [bytes](../types/bytes.md), \]; - -[$account\_passwordInputSettings](../constructors/account_passwordInputSettings.md) = \['new_algo' => [PasswordKdfAlgo](../types/PasswordKdfAlgo.md), 'new_password_hash' => [bytes](../types/bytes.md), 'hint' => [string](../types/string.md), 'email' => [string](../types/string.md), 'new_secure_settings' => [SecureSecretSettings](../types/SecureSecretSettings.md), \]; - -[$account\_passwordSettings](../constructors/account_passwordSettings.md) = \['email' => [string](../types/string.md), 'secure_settings' => [SecureSecretSettings](../types/SecureSecretSettings.md), \]; - -[$account\_privacyRules](../constructors/account_privacyRules.md) = \['rules' => \[[PrivacyRule](../types/PrivacyRule.md)\], 'users' => \[[User](../types/User.md)\], \]; - -[$account\_sentEmailCode](../constructors/account_sentEmailCode.md) = \['email_pattern' => [string](../types/string.md), 'length' => [int](../types/int.md), \]; - -[$account\_takeout](../constructors/account_takeout.md) = \['id' => [long](../types/long.md), \]; - -[$account\_tmpPassword](../constructors/account_tmpPassword.md) = \['tmp_password' => [bytes](../types/bytes.md), 'valid_until' => [int](../types/int.md), \]; - -[$account\_webAuthorizations](../constructors/account_webAuthorizations.md) = \['authorizations' => \[[WebAuthorization](../types/WebAuthorization.md)\], 'users' => \[[User](../types/User.md)\], \]; +

[$auth.authorization](../constructors/auth.authorization.md) = \['tmp_sessions' => [int](../types/int.md), 'user' => [User](../types/User.md), \]; *** -

[$auth\_authorization](../constructors/auth_authorization.md) = \['tmp_sessions' => [int](../types/int.md), 'user' => [User](../types/User.md), \]; +

[$auth.checkedPhone](../constructors/auth.checkedPhone.md) = \['phone_registered' => [Bool](../types/Bool.md), \]; -[$auth\_checkedPhone](../constructors/auth_checkedPhone.md) = \['phone_registered' => [Bool](../types/Bool.md), \]; +*** +

[$auth.codeTypeCall](../constructors/auth.codeTypeCall.md) = \[\]; -[$auth\_codeTypeCall](../constructors/auth_codeTypeCall.md) = \[\]; +*** +

[$auth.codeTypeFlashCall](../constructors/auth.codeTypeFlashCall.md) = \[\]; -[$auth\_codeTypeFlashCall](../constructors/auth_codeTypeFlashCall.md) = \[\]; +*** +

[$auth.codeTypeSms](../constructors/auth.codeTypeSms.md) = \[\]; -[$auth\_codeTypeSms](../constructors/auth_codeTypeSms.md) = \[\]; +*** +

[$auth.exportedAuthorization](../constructors/auth.exportedAuthorization.md) = \['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; -[$auth\_exportedAuthorization](../constructors/auth_exportedAuthorization.md) = \['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; +*** +

[$auth.passwordRecovery](../constructors/auth.passwordRecovery.md) = \['email_pattern' => [string](../types/string.md), \]; -[$auth\_passwordRecovery](../constructors/auth_passwordRecovery.md) = \['email_pattern' => [string](../types/string.md), \]; +*** +

[$auth.sentCode](../constructors/auth.sentCode.md) = \['phone_registered' => [Bool](../types/Bool.md), 'type' => [auth.SentCodeType](../types/auth.SentCodeType.md), 'phone_code_hash' => [string](../types/string.md), 'next_type' => [auth.CodeType](../types/auth.CodeType.md), 'timeout' => [int](../types/int.md), 'terms_of_service' => [help.TermsOfService](../types/help.TermsOfService.md), \]; -[$auth\_sentCode](../constructors/auth_sentCode.md) = \['phone_registered' => [Bool](../types/Bool.md), 'type' => [auth.SentCodeType](../types/auth.SentCodeType.md), 'phone_code_hash' => [string](../types/string.md), 'next_type' => [auth.CodeType](../types/auth.CodeType.md), 'timeout' => [int](../types/int.md), 'terms_of_service' => [help.TermsOfService](../types/help.TermsOfService.md), \]; +*** +

[$auth.sentCodeTypeApp](../constructors/auth.sentCodeTypeApp.md) = \['length' => [int](../types/int.md), \]; -[$auth\_sentCodeTypeApp](../constructors/auth_sentCodeTypeApp.md) = \['length' => [int](../types/int.md), \]; +*** +

[$auth.sentCodeTypeCall](../constructors/auth.sentCodeTypeCall.md) = \['length' => [int](../types/int.md), \]; -[$auth\_sentCodeTypeCall](../constructors/auth_sentCodeTypeCall.md) = \['length' => [int](../types/int.md), \]; +*** +

[$auth.sentCodeTypeFlashCall](../constructors/auth.sentCodeTypeFlashCall.md) = \['pattern' => [string](../types/string.md), \]; -[$auth\_sentCodeTypeFlashCall](../constructors/auth_sentCodeTypeFlashCall.md) = \['pattern' => [string](../types/string.md), \]; - -[$auth\_sentCodeTypeSms](../constructors/auth_sentCodeTypeSms.md) = \['length' => [int](../types/int.md), \]; +*** +

[$auth.sentCodeTypeSms](../constructors/auth.sentCodeTypeSms.md) = \['length' => [int](../types/int.md), \]; ***

[$authorization](../constructors/authorization.md) = \['current' => [Bool](../types/Bool.md), 'official_app' => [Bool](../types/Bool.md), 'password_pending' => [Bool](../types/Bool.md), 'hash' => [long](../types/long.md), 'device_model' => [string](../types/string.md), 'platform' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'api_id' => [int](../types/int.md), 'app_name' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'date_created' => [int](../types/int.md), 'date_active' => [int](../types/int.md), 'ip' => [string](../types/string.md), 'country' => [string](../types/string.md), 'region' => [string](../types/string.md), \]; @@ -209,13 +229,16 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$channelParticipantsSearch](../constructors/channelParticipantsSearch.md) = \['q' => [string](../types/string.md), \]; *** -

[$channels\_adminLogResults](../constructors/channels_adminLogResults.md) = \['events' => \[[ChannelAdminLogEvent](../types/ChannelAdminLogEvent.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +

[$channels.adminLogResults](../constructors/channels.adminLogResults.md) = \['events' => \[[ChannelAdminLogEvent](../types/ChannelAdminLogEvent.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$channels\_channelParticipant](../constructors/channels_channelParticipant.md) = \['participant' => [ChannelParticipant](../types/ChannelParticipant.md), 'users' => \[[User](../types/User.md)\], \]; +*** +

[$channels.channelParticipant](../constructors/channels.channelParticipant.md) = \['participant' => [ChannelParticipant](../types/ChannelParticipant.md), 'users' => \[[User](../types/User.md)\], \]; -[$channels\_channelParticipants](../constructors/channels_channelParticipants.md) = \['count' => [int](../types/int.md), 'participants' => \[[ChannelParticipant](../types/ChannelParticipant.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$channels.channelParticipants](../constructors/channels.channelParticipants.md) = \['count' => [int](../types/int.md), 'participants' => \[[ChannelParticipant](../types/ChannelParticipant.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$channels\_channelParticipantsNotModified](../constructors/channels_channelParticipantsNotModified.md) = \[\]; +*** +

[$channels.channelParticipantsNotModified](../constructors/channels.channelParticipantsNotModified.md) = \[\]; ***

[$chat](../constructors/chat.md) = \['creator' => [Bool](../types/Bool.md), 'kicked' => [Bool](../types/Bool.md), 'left' => [Bool](../types/Bool.md), 'admins_enabled' => [Bool](../types/Bool.md), 'admin' => [Bool](../types/Bool.md), 'deactivated' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'title' => [string](../types/string.md), 'photo' => [ChatPhoto](../types/ChatPhoto.md), 'participants_count' => [int](../types/int.md), 'date' => [int](../types/int.md), 'version' => [int](../types/int.md), 'migrated_to' => [InputChannel](../types/InputChannel.md), \]; @@ -290,27 +313,37 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$contactStatus](../constructors/contactStatus.md) = \['user_id' => [int](../types/int.md), 'status' => [UserStatus](../types/UserStatus.md), \]; *** -

[$contacts\_blocked](../constructors/contacts_blocked.md) = \['blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; +

[$contacts.blocked](../constructors/contacts.blocked.md) = \['blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_blockedSlice](../constructors/contacts_blockedSlice.md) = \['count' => [int](../types/int.md), 'blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.blockedSlice](../constructors/contacts.blockedSlice.md) = \['count' => [int](../types/int.md), 'blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_contacts](../constructors/contacts_contacts.md) = \['contacts' => \[[Contact](../types/Contact.md)\], 'saved_count' => [int](../types/int.md), 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.contacts](../constructors/contacts.contacts.md) = \['contacts' => \[[Contact](../types/Contact.md)\], 'saved_count' => [int](../types/int.md), 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_contactsNotModified](../constructors/contacts_contactsNotModified.md) = \[\]; +*** +

[$contacts.contactsNotModified](../constructors/contacts.contactsNotModified.md) = \[\]; -[$contacts\_found](../constructors/contacts_found.md) = \['my_results' => \[[Peer](../types/Peer.md)\], 'results' => \[[Peer](../types/Peer.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.found](../constructors/contacts.found.md) = \['my_results' => \[[Peer](../types/Peer.md)\], 'results' => \[[Peer](../types/Peer.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_importedContacts](../constructors/contacts_importedContacts.md) = \['imported' => \[[ImportedContact](../types/ImportedContact.md)\], 'popular_invites' => \[[PopularContact](../types/PopularContact.md)\], 'retry_contacts' => \[[long](../types/long.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.importedContacts](../constructors/contacts.importedContacts.md) = \['imported' => \[[ImportedContact](../types/ImportedContact.md)\], 'popular_invites' => \[[PopularContact](../types/PopularContact.md)\], 'retry_contacts' => \[[long](../types/long.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_link](../constructors/contacts_link.md) = \['my_link' => [ContactLink](../types/ContactLink.md), 'foreign_link' => [ContactLink](../types/ContactLink.md), 'user' => [User](../types/User.md), \]; +*** +

[$contacts.link](../constructors/contacts.link.md) = \['my_link' => [ContactLink](../types/ContactLink.md), 'foreign_link' => [ContactLink](../types/ContactLink.md), 'user' => [User](../types/User.md), \]; -[$contacts\_resolvedPeer](../constructors/contacts_resolvedPeer.md) = \['peer' => [Peer](../types/Peer.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.resolvedPeer](../constructors/contacts.resolvedPeer.md) = \['peer' => [Peer](../types/Peer.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_topPeers](../constructors/contacts_topPeers.md) = \['categories' => \[[TopPeerCategoryPeers](../types/TopPeerCategoryPeers.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.topPeers](../constructors/contacts.topPeers.md) = \['categories' => \[[TopPeerCategoryPeers](../types/TopPeerCategoryPeers.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_topPeersDisabled](../constructors/contacts_topPeersDisabled.md) = \[\]; +*** +

[$contacts.topPeersDisabled](../constructors/contacts.topPeersDisabled.md) = \[\]; -[$contacts\_topPeersNotModified](../constructors/contacts_topPeersNotModified.md) = \[\]; +*** +

[$contacts.topPeersNotModified](../constructors/contacts.topPeersNotModified.md) = \[\]; ***

[$dataJSON](../constructors/dataJSON.md) = \['data' => [string](../types/string.md), \]; @@ -415,41 +448,58 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$geoPointEmpty](../constructors/geoPointEmpty.md) = \[\]; *** -

[$help\_appUpdate](../constructors/help_appUpdate.md) = \['popup' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'version' => [string](../types/string.md), 'text' => [string](../types/string.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], 'document' => [Document](../types/Document.md), 'url' => [string](../types/string.md), \]; +

[$help.appUpdate](../constructors/help.appUpdate.md) = \['popup' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'version' => [string](../types/string.md), 'text' => [string](../types/string.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], 'document' => [Document](../types/Document.md), 'url' => [string](../types/string.md), \]; -[$help\_configSimple](../constructors/help_configSimple.md) = \['date' => [int](../types/int.md), 'expires' => [int](../types/int.md), 'rules' => \[[AccessPointRule](../types/AccessPointRule.md)\], \]; +*** +

[$help.configSimple](../constructors/help.configSimple.md) = \['date' => [int](../types/int.md), 'expires' => [int](../types/int.md), 'rules' => \[[AccessPointRule](../types/AccessPointRule.md)\], \]; -[$help\_deepLinkInfo](../constructors/help_deepLinkInfo.md) = \['update_app' => [Bool](../types/Bool.md), 'message' => [string](../types/string.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], \]; +*** +

[$help.deepLinkInfo](../constructors/help.deepLinkInfo.md) = \['update_app' => [Bool](../types/Bool.md), 'message' => [string](../types/string.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], \]; -[$help\_deepLinkInfoEmpty](../constructors/help_deepLinkInfoEmpty.md) = \[\]; +*** +

[$help.deepLinkInfoEmpty](../constructors/help.deepLinkInfoEmpty.md) = \[\]; -[$help\_inviteText](../constructors/help_inviteText.md) = \['message' => [string](../types/string.md), \]; +*** +

[$help.inviteText](../constructors/help.inviteText.md) = \['message' => [string](../types/string.md), \]; -[$help\_noAppUpdate](../constructors/help_noAppUpdate.md) = \[\]; +*** +

[$help.noAppUpdate](../constructors/help.noAppUpdate.md) = \[\]; -[$help\_passportConfig](../constructors/help_passportConfig.md) = \['hash' => [int](../types/int.md), 'countries_langs' => [DataJSON](../types/DataJSON.md), \]; +*** +

[$help.passportConfig](../constructors/help.passportConfig.md) = \['hash' => [int](../types/int.md), 'countries_langs' => [DataJSON](../types/DataJSON.md), \]; -[$help\_passportConfigNotModified](../constructors/help_passportConfigNotModified.md) = \[\]; +*** +

[$help.passportConfigNotModified](../constructors/help.passportConfigNotModified.md) = \[\]; -[$help\_proxyDataEmpty](../constructors/help_proxyDataEmpty.md) = \['expires' => [int](../types/int.md), \]; +*** +

[$help.proxyDataEmpty](../constructors/help.proxyDataEmpty.md) = \['expires' => [int](../types/int.md), \]; -[$help\_proxyDataPromo](../constructors/help_proxyDataPromo.md) = \['expires' => [int](../types/int.md), 'peer' => [Peer](../types/Peer.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$help.proxyDataPromo](../constructors/help.proxyDataPromo.md) = \['expires' => [int](../types/int.md), 'peer' => [Peer](../types/Peer.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$help\_recentMeUrls](../constructors/help_recentMeUrls.md) = \['urls' => \[[RecentMeUrl](../types/RecentMeUrl.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$help.recentMeUrls](../constructors/help.recentMeUrls.md) = \['urls' => \[[RecentMeUrl](../types/RecentMeUrl.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$help\_support](../constructors/help_support.md) = \['phone_number' => [string](../types/string.md), 'user' => [User](../types/User.md), \]; +*** +

[$help.support](../constructors/help.support.md) = \['phone_number' => [string](../types/string.md), 'user' => [User](../types/User.md), \]; -[$help\_supportName](../constructors/help_supportName.md) = \['name' => [string](../types/string.md), \]; +*** +

[$help.supportName](../constructors/help.supportName.md) = \['name' => [string](../types/string.md), \]; -[$help\_termsOfService](../constructors/help_termsOfService.md) = \['popup' => [Bool](../types/Bool.md), 'id' => [DataJSON](../types/DataJSON.md), 'text' => [string](../types/string.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], 'min_age_confirm' => [int](../types/int.md), \]; +*** +

[$help.termsOfService](../constructors/help.termsOfService.md) = \['popup' => [Bool](../types/Bool.md), 'id' => [DataJSON](../types/DataJSON.md), 'text' => [string](../types/string.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], 'min_age_confirm' => [int](../types/int.md), \]; -[$help\_termsOfServiceUpdate](../constructors/help_termsOfServiceUpdate.md) = \['expires' => [int](../types/int.md), 'terms_of_service' => [help.TermsOfService](../types/help.TermsOfService.md), \]; +*** +

[$help.termsOfServiceUpdate](../constructors/help.termsOfServiceUpdate.md) = \['expires' => [int](../types/int.md), 'terms_of_service' => [help.TermsOfService](../types/help.TermsOfService.md), \]; -[$help\_termsOfServiceUpdateEmpty](../constructors/help_termsOfServiceUpdateEmpty.md) = \['expires' => [int](../types/int.md), \]; +*** +

[$help.termsOfServiceUpdateEmpty](../constructors/help.termsOfServiceUpdateEmpty.md) = \['expires' => [int](../types/int.md), \]; -[$help\_userInfo](../constructors/help_userInfo.md) = \['message' => [string](../types/string.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], 'author' => [string](../types/string.md), 'date' => [int](../types/int.md), \]; +*** +

[$help.userInfo](../constructors/help.userInfo.md) = \['message' => [string](../types/string.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], 'author' => [string](../types/string.md), 'date' => [int](../types/int.md), \]; -[$help\_userInfoEmpty](../constructors/help_userInfoEmpty.md) = \[\]; +*** +

[$help.userInfoEmpty](../constructors/help.userInfoEmpty.md) = \[\]; ***

[$highScore](../constructors/highScore.md) = \['pos' => [int](../types/int.md), 'user_id' => [int](../types/int.md), 'score' => [int](../types/int.md), \]; @@ -1073,85 +1123,124 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$messageService](../constructors/messageService.md) = \['out' => [Bool](../types/Bool.md), 'mentioned' => [Bool](../types/Bool.md), 'media_unread' => [Bool](../types/Bool.md), 'silent' => [Bool](../types/Bool.md), 'post' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'from_id' => [int](../types/int.md), 'to_id' => [Peer](../types/Peer.md), 'reply_to_msg_id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'action' => [MessageAction](../types/MessageAction.md), \]; *** -

[$messages\_affectedHistory](../constructors/messages_affectedHistory.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), 'offset' => [int](../types/int.md), \]; +

[$messages.affectedHistory](../constructors/messages.affectedHistory.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), 'offset' => [int](../types/int.md), \]; -[$messages\_affectedMessages](../constructors/messages_affectedMessages.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; +*** +

[$messages.affectedMessages](../constructors/messages.affectedMessages.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; -[$messages\_allStickers](../constructors/messages_allStickers.md) = \['hash' => [int](../types/int.md), 'sets' => \[[StickerSet](../types/StickerSet.md)\], \]; +*** +

[$messages.allStickers](../constructors/messages.allStickers.md) = \['hash' => [int](../types/int.md), 'sets' => \[[StickerSet](../types/StickerSet.md)\], \]; -[$messages\_allStickersNotModified](../constructors/messages_allStickersNotModified.md) = \[\]; +*** +

[$messages.allStickersNotModified](../constructors/messages.allStickersNotModified.md) = \[\]; -[$messages\_archivedStickers](../constructors/messages_archivedStickers.md) = \['count' => [int](../types/int.md), 'sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], \]; +*** +

[$messages.archivedStickers](../constructors/messages.archivedStickers.md) = \['count' => [int](../types/int.md), 'sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], \]; -[$messages\_botCallbackAnswer](../constructors/messages_botCallbackAnswer.md) = \['alert' => [Bool](../types/Bool.md), 'has_url' => [Bool](../types/Bool.md), 'native_ui' => [Bool](../types/Bool.md), 'message' => [string](../types/string.md), 'url' => [string](../types/string.md), 'cache_time' => [int](../types/int.md), \]; +*** +

[$messages.botCallbackAnswer](../constructors/messages.botCallbackAnswer.md) = \['alert' => [Bool](../types/Bool.md), 'has_url' => [Bool](../types/Bool.md), 'native_ui' => [Bool](../types/Bool.md), 'message' => [string](../types/string.md), 'url' => [string](../types/string.md), 'cache_time' => [int](../types/int.md), \]; -[$messages\_botResults](../constructors/messages_botResults.md) = \['gallery' => [Bool](../types/Bool.md), 'query_id' => [long](../types/long.md), 'next_offset' => [string](../types/string.md), 'switch_pm' => [InlineBotSwitchPM](../types/InlineBotSwitchPM.md), 'results' => \[[BotInlineResult](../types/BotInlineResult.md)\], 'cache_time' => [int](../types/int.md), 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.botResults](../constructors/messages.botResults.md) = \['gallery' => [Bool](../types/Bool.md), 'query_id' => [long](../types/long.md), 'next_offset' => [string](../types/string.md), 'switch_pm' => [InlineBotSwitchPM](../types/InlineBotSwitchPM.md), 'results' => \[[BotInlineResult](../types/BotInlineResult.md)\], 'cache_time' => [int](../types/int.md), 'users' => \[[User](../types/User.md)\], \]; -[$messages\_channelMessages](../constructors/messages_channelMessages.md) = \['inexact' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.channelMessages](../constructors/messages.channelMessages.md) = \['inexact' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_chatFull](../constructors/messages_chatFull.md) = \['full_chat' => [ChatFull](../types/ChatFull.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.chatFull](../constructors/messages.chatFull.md) = \['full_chat' => [ChatFull](../types/ChatFull.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_chats](../constructors/messages_chats.md) = \['chats' => \[[Chat](../types/Chat.md)\], \]; +*** +

[$messages.chats](../constructors/messages.chats.md) = \['chats' => \[[Chat](../types/Chat.md)\], \]; -[$messages\_chatsSlice](../constructors/messages_chatsSlice.md) = \['count' => [int](../types/int.md), 'chats' => \[[Chat](../types/Chat.md)\], \]; +*** +

[$messages.chatsSlice](../constructors/messages.chatsSlice.md) = \['count' => [int](../types/int.md), 'chats' => \[[Chat](../types/Chat.md)\], \]; -[$messages\_dhConfig](../constructors/messages_dhConfig.md) = \['g' => [int](../types/int.md), 'p' => [bytes](../types/bytes.md), 'version' => [int](../types/int.md), 'random' => [bytes](../types/bytes.md), \]; +*** +

[$messages.dhConfig](../constructors/messages.dhConfig.md) = \['g' => [int](../types/int.md), 'p' => [bytes](../types/bytes.md), 'version' => [int](../types/int.md), 'random' => [bytes](../types/bytes.md), \]; -[$messages\_dhConfigNotModified](../constructors/messages_dhConfigNotModified.md) = \['random' => [bytes](../types/bytes.md), \]; +*** +

[$messages.dhConfigNotModified](../constructors/messages.dhConfigNotModified.md) = \['random' => [bytes](../types/bytes.md), \]; -[$messages\_dialogs](../constructors/messages_dialogs.md) = \['dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.dialogs](../constructors/messages.dialogs.md) = \['dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_dialogsNotModified](../constructors/messages_dialogsNotModified.md) = \['count' => [int](../types/int.md), \]; +*** +

[$messages.dialogsNotModified](../constructors/messages.dialogsNotModified.md) = \['count' => [int](../types/int.md), \]; -[$messages\_dialogsSlice](../constructors/messages_dialogsSlice.md) = \['count' => [int](../types/int.md), 'dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.dialogsSlice](../constructors/messages.dialogsSlice.md) = \['count' => [int](../types/int.md), 'dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_favedStickers](../constructors/messages_favedStickers.md) = \['hash' => [int](../types/int.md), 'packs' => \[[StickerPack](../types/StickerPack.md)\], 'stickers' => \[[Document](../types/Document.md)\], \]; +*** +

[$messages.favedStickers](../constructors/messages.favedStickers.md) = \['hash' => [int](../types/int.md), 'packs' => \[[StickerPack](../types/StickerPack.md)\], 'stickers' => \[[Document](../types/Document.md)\], \]; -[$messages\_favedStickersNotModified](../constructors/messages_favedStickersNotModified.md) = \[\]; +*** +

[$messages.favedStickersNotModified](../constructors/messages.favedStickersNotModified.md) = \[\]; -[$messages\_featuredStickers](../constructors/messages_featuredStickers.md) = \['hash' => [int](../types/int.md), 'sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], 'unread' => \[[long](../types/long.md)\], \]; +*** +

[$messages.featuredStickers](../constructors/messages.featuredStickers.md) = \['hash' => [int](../types/int.md), 'sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], 'unread' => \[[long](../types/long.md)\], \]; -[$messages\_featuredStickersNotModified](../constructors/messages_featuredStickersNotModified.md) = \[\]; +*** +

[$messages.featuredStickersNotModified](../constructors/messages.featuredStickersNotModified.md) = \[\]; -[$messages\_foundGifs](../constructors/messages_foundGifs.md) = \['next_offset' => [int](../types/int.md), 'results' => \[[FoundGif](../types/FoundGif.md)\], \]; +*** +

[$messages.foundGifs](../constructors/messages.foundGifs.md) = \['next_offset' => [int](../types/int.md), 'results' => \[[FoundGif](../types/FoundGif.md)\], \]; -[$messages\_foundStickerSets](../constructors/messages_foundStickerSets.md) = \['hash' => [int](../types/int.md), 'sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], \]; +*** +

[$messages.foundStickerSets](../constructors/messages.foundStickerSets.md) = \['hash' => [int](../types/int.md), 'sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], \]; -[$messages\_foundStickerSetsNotModified](../constructors/messages_foundStickerSetsNotModified.md) = \[\]; +*** +

[$messages.foundStickerSetsNotModified](../constructors/messages.foundStickerSetsNotModified.md) = \[\]; -[$messages\_highScores](../constructors/messages_highScores.md) = \['scores' => \[[HighScore](../types/HighScore.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.highScores](../constructors/messages.highScores.md) = \['scores' => \[[HighScore](../types/HighScore.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_messageEditData](../constructors/messages_messageEditData.md) = \['caption' => [Bool](../types/Bool.md), \]; +*** +

[$messages.messageEditData](../constructors/messages.messageEditData.md) = \['caption' => [Bool](../types/Bool.md), \]; -[$messages\_messages](../constructors/messages_messages.md) = \['messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.messages](../constructors/messages.messages.md) = \['messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_messagesNotModified](../constructors/messages_messagesNotModified.md) = \['count' => [int](../types/int.md), \]; +*** +

[$messages.messagesNotModified](../constructors/messages.messagesNotModified.md) = \['count' => [int](../types/int.md), \]; -[$messages\_messagesSlice](../constructors/messages_messagesSlice.md) = \['count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.messagesSlice](../constructors/messages.messagesSlice.md) = \['count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_peerDialogs](../constructors/messages_peerDialogs.md) = \['dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'state' => [updates.State](../types/updates.State.md), \]; +*** +

[$messages.peerDialogs](../constructors/messages.peerDialogs.md) = \['dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'state' => [updates.State](../types/updates.State.md), \]; -[$messages\_recentStickers](../constructors/messages_recentStickers.md) = \['hash' => [int](../types/int.md), 'packs' => \[[StickerPack](../types/StickerPack.md)\], 'stickers' => \[[Document](../types/Document.md)\], 'dates' => \[[int](../types/int.md)\], \]; +*** +

[$messages.recentStickers](../constructors/messages.recentStickers.md) = \['hash' => [int](../types/int.md), 'packs' => \[[StickerPack](../types/StickerPack.md)\], 'stickers' => \[[Document](../types/Document.md)\], 'dates' => \[[int](../types/int.md)\], \]; -[$messages\_recentStickersNotModified](../constructors/messages_recentStickersNotModified.md) = \[\]; +*** +

[$messages.recentStickersNotModified](../constructors/messages.recentStickersNotModified.md) = \[\]; -[$messages\_savedGifs](../constructors/messages_savedGifs.md) = \['hash' => [int](../types/int.md), 'gifs' => \[[Document](../types/Document.md)\], \]; +*** +

[$messages.savedGifs](../constructors/messages.savedGifs.md) = \['hash' => [int](../types/int.md), 'gifs' => \[[Document](../types/Document.md)\], \]; -[$messages\_savedGifsNotModified](../constructors/messages_savedGifsNotModified.md) = \[\]; +*** +

[$messages.savedGifsNotModified](../constructors/messages.savedGifsNotModified.md) = \[\]; -[$messages\_sentEncryptedFile](../constructors/messages_sentEncryptedFile.md) = \['date' => [int](../types/int.md), 'file' => [EncryptedFile](../types/EncryptedFile.md), \]; +*** +

[$messages.sentEncryptedFile](../constructors/messages.sentEncryptedFile.md) = \['date' => [int](../types/int.md), 'file' => [EncryptedFile](../types/EncryptedFile.md), \]; -[$messages\_sentEncryptedMessage](../constructors/messages_sentEncryptedMessage.md) = \['date' => [int](../types/int.md), \]; +*** +

[$messages.sentEncryptedMessage](../constructors/messages.sentEncryptedMessage.md) = \['date' => [int](../types/int.md), \]; -[$messages\_stickerSet](../constructors/messages_stickerSet.md) = \['set' => [StickerSet](../types/StickerSet.md), 'packs' => \[[StickerPack](../types/StickerPack.md)\], 'documents' => \[[Document](../types/Document.md)\], \]; +*** +

[$messages.stickerSet](../constructors/messages.stickerSet.md) = \['set' => [StickerSet](../types/StickerSet.md), 'packs' => \[[StickerPack](../types/StickerPack.md)\], 'documents' => \[[Document](../types/Document.md)\], \]; -[$messages\_stickerSetInstallResultArchive](../constructors/messages_stickerSetInstallResultArchive.md) = \['sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], \]; +*** +

[$messages.stickerSetInstallResultArchive](../constructors/messages.stickerSetInstallResultArchive.md) = \['sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], \]; -[$messages\_stickerSetInstallResultSuccess](../constructors/messages_stickerSetInstallResultSuccess.md) = \[\]; +*** +

[$messages.stickerSetInstallResultSuccess](../constructors/messages.stickerSetInstallResultSuccess.md) = \[\]; -[$messages\_stickers](../constructors/messages_stickers.md) = \['hash' => [int](../types/int.md), 'stickers' => \[[Document](../types/Document.md)\], \]; +*** +

[$messages.stickers](../constructors/messages.stickers.md) = \['hash' => [int](../types/int.md), 'stickers' => \[[Document](../types/Document.md)\], \]; -[$messages\_stickersNotModified](../constructors/messages_stickersNotModified.md) = \[\]; +*** +

[$messages.stickersNotModified](../constructors/messages.stickersNotModified.md) = \[\]; ***

[$nearestDc](../constructors/nearestDc.md) = \['country' => [string](../types/string.md), 'this_dc' => [int](../types/int.md), 'nearest_dc' => [int](../types/int.md), \]; @@ -1301,17 +1390,22 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$paymentSavedCredentialsCard](../constructors/paymentSavedCredentialsCard.md) = \['id' => [string](../types/string.md), 'title' => [string](../types/string.md), \]; *** -

[$payments\_paymentForm](../constructors/payments_paymentForm.md) = \['can_save_credentials' => [Bool](../types/Bool.md), 'password_missing' => [Bool](../types/Bool.md), 'bot_id' => [int](../types/int.md), 'invoice' => [Invoice](../types/Invoice.md), 'provider_id' => [int](../types/int.md), 'url' => [string](../types/string.md), 'native_provider' => [string](../types/string.md), 'native_params' => [DataJSON](../types/DataJSON.md), 'saved_info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), 'saved_credentials' => [PaymentSavedCredentials](../types/PaymentSavedCredentials.md), 'users' => \[[User](../types/User.md)\], \]; +

[$payments.paymentForm](../constructors/payments.paymentForm.md) = \['can_save_credentials' => [Bool](../types/Bool.md), 'password_missing' => [Bool](../types/Bool.md), 'bot_id' => [int](../types/int.md), 'invoice' => [Invoice](../types/Invoice.md), 'provider_id' => [int](../types/int.md), 'url' => [string](../types/string.md), 'native_provider' => [string](../types/string.md), 'native_params' => [DataJSON](../types/DataJSON.md), 'saved_info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), 'saved_credentials' => [PaymentSavedCredentials](../types/PaymentSavedCredentials.md), 'users' => \[[User](../types/User.md)\], \]; -[$payments\_paymentReceipt](../constructors/payments_paymentReceipt.md) = \['date' => [int](../types/int.md), 'bot_id' => [int](../types/int.md), 'invoice' => [Invoice](../types/Invoice.md), 'provider_id' => [int](../types/int.md), 'info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), 'shipping' => [ShippingOption](../types/ShippingOption.md), 'currency' => [string](../types/string.md), 'total_amount' => [long](../types/long.md), 'credentials_title' => [string](../types/string.md), 'users' => \[[User](../types/User.md)\], \]; +*** +

[$payments.paymentReceipt](../constructors/payments.paymentReceipt.md) = \['date' => [int](../types/int.md), 'bot_id' => [int](../types/int.md), 'invoice' => [Invoice](../types/Invoice.md), 'provider_id' => [int](../types/int.md), 'info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), 'shipping' => [ShippingOption](../types/ShippingOption.md), 'currency' => [string](../types/string.md), 'total_amount' => [long](../types/long.md), 'credentials_title' => [string](../types/string.md), 'users' => \[[User](../types/User.md)\], \]; -[$payments\_paymentResult](../constructors/payments_paymentResult.md) = \['updates' => [Updates](../types/Updates.md), \]; +*** +

[$payments.paymentResult](../constructors/payments.paymentResult.md) = \['updates' => [Updates](../types/Updates.md), \]; -[$payments\_paymentVerficationNeeded](../constructors/payments_paymentVerficationNeeded.md) = \['url' => [string](../types/string.md), \]; +*** +

[$payments.paymentVerficationNeeded](../constructors/payments.paymentVerficationNeeded.md) = \['url' => [string](../types/string.md), \]; -[$payments\_savedInfo](../constructors/payments_savedInfo.md) = \['has_saved_credentials' => [Bool](../types/Bool.md), 'saved_info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), \]; +*** +

[$payments.savedInfo](../constructors/payments.savedInfo.md) = \['has_saved_credentials' => [Bool](../types/Bool.md), 'saved_info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), \]; -[$payments\_validatedRequestedInfo](../constructors/payments_validatedRequestedInfo.md) = \['id' => [string](../types/string.md), 'shipping_options' => \[[ShippingOption](../types/ShippingOption.md)\], \]; +*** +

[$payments.validatedRequestedInfo](../constructors/payments.validatedRequestedInfo.md) = \['id' => [string](../types/string.md), 'shipping_options' => \[[ShippingOption](../types/ShippingOption.md)\], \]; ***

[$peerChannel](../constructors/peerChannel.md) = \['channel_id' => [int](../types/int.md), \]; @@ -1328,6 +1422,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ***

[$peerUser](../constructors/peerUser.md) = \['user_id' => [int](../types/int.md), \]; +*** +

[$phone.phoneCall](../constructors/phone.phoneCall.md) = \['phone_call' => [PhoneCall](../types/PhoneCall.md), 'users' => \[[User](../types/User.md)\], \]; + ***

[$phoneCall](../constructors/phoneCall.md) = \['p2p_allowed' => [Bool](../types/Bool.md), 'id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'date' => [int](../types/int.md), 'admin_id' => [int](../types/int.md), 'participant_id' => [int](../types/int.md), 'g_a_or_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), 'connection' => [PhoneConnection](../types/PhoneConnection.md), 'alternative_connections' => \[[PhoneConnection](../types/PhoneConnection.md)\], 'start_date' => [int](../types/int.md), \]; @@ -1364,9 +1461,6 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ***

[$phoneConnection](../constructors/phoneConnection.md) = \['id' => [long](../types/long.md), 'ip' => [string](../types/string.md), 'ipv6' => [string](../types/string.md), 'port' => [int](../types/int.md), 'peer_tag' => [bytes](../types/bytes.md), \]; -*** -

[$phone\_phoneCall](../constructors/phone_phoneCall.md) = \['phone_call' => [PhoneCall](../types/PhoneCall.md), 'users' => \[[User](../types/User.md)\], \]; - ***

[$photo](../constructors/photo.md) = \['has_stickers' => [Bool](../types/Bool.md), 'id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'file_reference' => [bytes](../types/bytes.md), 'date' => [int](../types/int.md), 'sizes' => \[[PhotoSize](../types/PhotoSize.md)\], \]; @@ -1383,11 +1477,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$photoSizeEmpty](../constructors/photoSizeEmpty.md) = \['type' => [string](../types/string.md), \]; *** -

[$photos\_photo](../constructors/photos_photo.md) = \['photo' => [Photo](../types/Photo.md), 'users' => \[[User](../types/User.md)\], \]; +

[$photos.photo](../constructors/photos.photo.md) = \['photo' => [Photo](../types/Photo.md), 'users' => \[[User](../types/User.md)\], \]; -[$photos\_photos](../constructors/photos_photos.md) = \['photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$photos.photos](../constructors/photos.photos.md) = \['photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$photos\_photosSlice](../constructors/photos_photosSlice.md) = \['count' => [int](../types/int.md), 'photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$photos.photosSlice](../constructors/photos.photosSlice.md) = \['count' => [int](../types/int.md), 'photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; ***

[$poll](../constructors/poll.md) = \['id' => [long](../types/long.md), 'closed' => [Bool](../types/Bool.md), 'question' => [string](../types/string.md), 'answers' => \[[PollAnswer](../types/PollAnswer.md)\], \]; @@ -1636,25 +1732,34 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$stickerSetMultiCovered](../constructors/stickerSetMultiCovered.md) = \['set' => [StickerSet](../types/StickerSet.md), 'covers' => \[[Document](../types/Document.md)\], \]; *** -

[$storage\_fileGif](../constructors/storage_fileGif.md) = \[\]; +

[$storage.fileGif](../constructors/storage.fileGif.md) = \[\]; -[$storage\_fileJpeg](../constructors/storage_fileJpeg.md) = \[\]; +*** +

[$storage.fileJpeg](../constructors/storage.fileJpeg.md) = \[\]; -[$storage\_fileMov](../constructors/storage_fileMov.md) = \[\]; +*** +

[$storage.fileMov](../constructors/storage.fileMov.md) = \[\]; -[$storage\_fileMp3](../constructors/storage_fileMp3.md) = \[\]; +*** +

[$storage.fileMp3](../constructors/storage.fileMp3.md) = \[\]; -[$storage\_fileMp4](../constructors/storage_fileMp4.md) = \[\]; +*** +

[$storage.fileMp4](../constructors/storage.fileMp4.md) = \[\]; -[$storage\_filePartial](../constructors/storage_filePartial.md) = \[\]; +*** +

[$storage.filePartial](../constructors/storage.filePartial.md) = \[\]; -[$storage\_filePdf](../constructors/storage_filePdf.md) = \[\]; +*** +

[$storage.filePdf](../constructors/storage.filePdf.md) = \[\]; -[$storage\_filePng](../constructors/storage_filePng.md) = \[\]; +*** +

[$storage.filePng](../constructors/storage.filePng.md) = \[\]; -[$storage\_fileUnknown](../constructors/storage_fileUnknown.md) = \[\]; +*** +

[$storage.fileUnknown](../constructors/storage.fileUnknown.md) = \[\]; -[$storage\_fileWebp](../constructors/storage_fileWebp.md) = \[\]; +*** +

[$storage.fileWebp](../constructors/storage.fileWebp.md) = \[\]; ***

[$textAnchor](../constructors/textAnchor.md) = \['text' => [RichText](../types/RichText.md), 'name' => [string](../types/string.md), \]; @@ -1953,6 +2058,30 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ***

[$updates](../constructors/updates.md) = \['updates' => \[[Update](../types/Update.md)\], 'users' => \[[User](../types/User.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'date' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; +*** +

[$updates.channelDifference](../constructors/updates.channelDifference.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), 'new_messages' => \[[Message](../types/Message.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +*** +

[$updates.channelDifferenceEmpty](../constructors/updates.channelDifferenceEmpty.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), \]; + +*** +

[$updates.channelDifferenceTooLong](../constructors/updates.channelDifferenceTooLong.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), 'top_message' => [int](../types/int.md), 'read_inbox_max_id' => [int](../types/int.md), 'read_outbox_max_id' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), 'unread_mentions_count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +*** +

[$updates.difference](../constructors/updates.difference.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'state' => [updates.State](../types/updates.State.md), \]; + +*** +

[$updates.differenceEmpty](../constructors/updates.differenceEmpty.md) = \['date' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; + +*** +

[$updates.differenceSlice](../constructors/updates.differenceSlice.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'intermediate_state' => [updates.State](../types/updates.State.md), \]; + +*** +

[$updates.differenceTooLong](../constructors/updates.differenceTooLong.md) = \['pts' => [int](../types/int.md), \]; + +*** +

[$updates.state](../constructors/updates.state.md) = \['pts' => [int](../types/int.md), 'qts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'seq' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), \]; + ***

[$updatesCombined](../constructors/updatesCombined.md) = \['updates' => \[[Update](../types/Update.md)\], 'users' => \[[User](../types/User.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'date' => [int](../types/int.md), 'seq_start' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; @@ -1960,32 +2089,19 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$updatesTooLong](../constructors/updatesTooLong.md) = \[\]; *** -

[$updates\_channelDifference](../constructors/updates_channelDifference.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), 'new_messages' => \[[Message](../types/Message.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; - -[$updates\_channelDifferenceEmpty](../constructors/updates_channelDifferenceEmpty.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), \]; - -[$updates\_channelDifferenceTooLong](../constructors/updates_channelDifferenceTooLong.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), 'top_message' => [int](../types/int.md), 'read_inbox_max_id' => [int](../types/int.md), 'read_outbox_max_id' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), 'unread_mentions_count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; - -[$updates\_difference](../constructors/updates_difference.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'state' => [updates.State](../types/updates.State.md), \]; - -[$updates\_differenceEmpty](../constructors/updates_differenceEmpty.md) = \['date' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; - -[$updates\_differenceSlice](../constructors/updates_differenceSlice.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'intermediate_state' => [updates.State](../types/updates.State.md), \]; - -[$updates\_differenceTooLong](../constructors/updates_differenceTooLong.md) = \['pts' => [int](../types/int.md), \]; - -[$updates\_state](../constructors/updates_state.md) = \['pts' => [int](../types/int.md), 'qts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'seq' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), \]; +

[$upload.cdnFile](../constructors/upload.cdnFile.md) = \['bytes' => [bytes](../types/bytes.md), \]; *** -

[$upload\_cdnFile](../constructors/upload_cdnFile.md) = \['bytes' => [bytes](../types/bytes.md), \]; +

[$upload.cdnFileReuploadNeeded](../constructors/upload.cdnFileReuploadNeeded.md) = \['request_token' => [bytes](../types/bytes.md), \]; -[$upload\_cdnFileReuploadNeeded](../constructors/upload_cdnFileReuploadNeeded.md) = \['request_token' => [bytes](../types/bytes.md), \]; +*** +

[$upload.file](../constructors/upload.file.md) = \['type' => [storage.FileType](../types/storage.FileType.md), 'mtime' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; -[$upload\_file](../constructors/upload_file.md) = \['type' => [storage.FileType](../types/storage.FileType.md), 'mtime' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; +*** +

[$upload.fileCdnRedirect](../constructors/upload.fileCdnRedirect.md) = \['dc_id' => [int](../types/int.md), 'file_token' => [bytes](../types/bytes.md), 'encryption_key' => [bytes](../types/bytes.md), 'encryption_iv' => [bytes](../types/bytes.md), 'file_hashes' => \[[FileHash](../types/FileHash.md)\], \]; -[$upload\_fileCdnRedirect](../constructors/upload_fileCdnRedirect.md) = \['dc_id' => [int](../types/int.md), 'file_token' => [bytes](../types/bytes.md), 'encryption_key' => [bytes](../types/bytes.md), 'encryption_iv' => [bytes](../types/bytes.md), 'file_hashes' => \[[FileHash](../types/FileHash.md)\], \]; - -[$upload\_webFile](../constructors/upload_webFile.md) = \['size' => [int](../types/int.md), 'mime_type' => [string](../types/string.md), 'file_type' => [storage.FileType](../types/storage.FileType.md), 'mtime' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; +*** +

[$upload.webFile](../constructors/upload.webFile.md) = \['size' => [int](../types/int.md), 'mime_type' => [string](../types/string.md), 'file_type' => [storage.FileType](../types/storage.FileType.md), 'mtime' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; ***

[$user](../constructors/user.md) = \['self' => [Bool](../types/Bool.md), 'contact' => [Bool](../types/Bool.md), 'mutual_contact' => [Bool](../types/Bool.md), 'deleted' => [Bool](../types/Bool.md), 'bot' => [Bool](../types/Bool.md), 'bot_chat_history' => [Bool](../types/Bool.md), 'bot_nochats' => [Bool](../types/Bool.md), 'verified' => [Bool](../types/Bool.md), 'restricted' => [Bool](../types/Bool.md), 'min' => [Bool](../types/Bool.md), 'bot_inline_geo' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), 'username' => [string](../types/string.md), 'phone' => [string](../types/string.md), 'photo' => [UserProfilePhoto](../types/UserProfilePhoto.md), 'status' => [UserStatus](../types/UserStatus.md), 'bot_info_version' => [int](../types/int.md), 'restriction_reason' => [string](../types/string.md), 'bot_inline_placeholder' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]; diff --git a/old_docs/API_docs_v91/constructors/account.authorizationForm.md b/old_docs/API_docs_v91/constructors/account.authorizationForm.md new file mode 100644 index 00000000..175276bf --- /dev/null +++ b/old_docs/API_docs_v91/constructors/account.authorizationForm.md @@ -0,0 +1,42 @@ +--- +title: account.authorizationForm +description: [Telegram Passport](https://core.telegram.org/passport) authorization form +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.authorizationForm +[Back to constructors index](index.md) + + + +[Telegram Passport](https://core.telegram.org/passport) authorization form + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|required\_types|Array of [SecureRequiredType](../types/SecureRequiredType.md) | Yes|Required types| +|values|Array of [SecureValue](../types/SecureValue.md) | Yes|Values| +|errors|Array of [SecureValueError](../types/SecureValueError.md) | Yes|Errors| +|users|Array of [User](../types/User.md) | Yes|Users| +|privacy\_policy\_url|[string](../types/string.md) | Optional|URL of the service's privacy policy| + + + +### Type: [account.AuthorizationForm](../types/account.AuthorizationForm.md) + + +### Example: + +```php +$account.authorizationForm = ['_' => 'account.authorizationForm', 'required_types' => [SecureRequiredType, SecureRequiredType], 'values' => [SecureValue, SecureValue], 'errors' => [SecureValueError, SecureValueError], 'users' => [User, User], 'privacy_policy_url' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +account.authorizationForm={_='account.authorizationForm', required_types={SecureRequiredType}, values={SecureValue}, errors={SecureValueError}, users={User}, privacy_policy_url='string'} + +``` + + diff --git a/old_docs/API_docs_v91/constructors/account.authorizations.md b/old_docs/API_docs_v91/constructors/account.authorizations.md new file mode 100644 index 00000000..53c961f0 --- /dev/null +++ b/old_docs/API_docs_v91/constructors/account.authorizations.md @@ -0,0 +1,38 @@ +--- +title: account.authorizations +description: Logged-in sessions +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.authorizations +[Back to constructors index](index.md) + + + +Logged-in sessions + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|authorizations|Array of [Authorization](../types/Authorization.md) | Yes|Authorizations| + + + +### Type: [account.Authorizations](../types/account.Authorizations.md) + + +### Example: + +```php +$account.authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization, Authorization]]; +``` + + +Or, if you're into Lua: + +```lua +account.authorizations={_='account.authorizations', authorizations={Authorization}} + +``` + + diff --git a/old_docs/API_docs_v91/constructors/account.password.md b/old_docs/API_docs_v91/constructors/account.password.md new file mode 100644 index 00000000..b6ad79db --- /dev/null +++ b/old_docs/API_docs_v91/constructors/account.password.md @@ -0,0 +1,48 @@ +--- +title: account.password +description: Configuration for two-factor authorization +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.password +[Back to constructors index](index.md) + + + +Configuration for two-factor authorization + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|has\_recovery|[Bool](../types/Bool.md) | Optional|Whether the user has a recovery method configured| +|has\_secure\_values|[Bool](../types/Bool.md) | Optional|Whether telegram [passport](https://core.telegram.org/passport) is enabled| +|has\_password|[Bool](../types/Bool.md) | Optional|Whether the user has a password| +|current\_algo|[PasswordKdfAlgo](../types/PasswordKdfAlgo.md) | Optional|The [KDF algorithm for SRP two-factor authentication](https://core.telegram.org/api/srp) of the current password| +|srp\_B|[bytes](../types/bytes.md) | Optional|Srp B param for [SRP authorization](https://core.telegram.org/api/srp)| +|srp\_id|[long](../types/long.md) | Optional|Srp ID param for [SRP authorization](https://core.telegram.org/api/srp)| +|hint|[string](../types/string.md) | Optional|Text hint for the password| +|email\_unconfirmed\_pattern|[string](../types/string.md) | Optional|A [password recovery email](https://core.telegram.org/api/srp#email-verification) with the specified [pattern](https://core.telegram.org/api/pattern) is still awaiting verification| +|new\_algo|[PasswordKdfAlgo](../types/PasswordKdfAlgo.md) | Yes|The [KDF algorithm for SRP two-factor authentication](https://core.telegram.org/api/srp) to use when creating new passwords| +|new\_secure\_algo|[SecurePasswordKdfAlgo](../types/SecurePasswordKdfAlgo.md) | Yes|The KDF algorithm for telegram [passport](https://core.telegram.org/passport)| +|secure\_random|[bytes](../types/bytes.md) | Yes|Secure random string| + + + +### Type: [account.Password](../types/account.Password.md) + + +### Example: + +```php +$account.password = ['_' => 'account.password', 'has_recovery' => Bool, 'has_secure_values' => Bool, 'has_password' => Bool, 'current_algo' => PasswordKdfAlgo, 'srp_B' => 'bytes', 'srp_id' => long, 'hint' => 'string', 'email_unconfirmed_pattern' => 'string', 'new_algo' => PasswordKdfAlgo, 'new_secure_algo' => SecurePasswordKdfAlgo, 'secure_random' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +account.password={_='account.password', has_recovery=Bool, has_secure_values=Bool, has_password=Bool, current_algo=PasswordKdfAlgo, srp_B='bytes', srp_id=long, hint='string', email_unconfirmed_pattern='string', new_algo=PasswordKdfAlgo, new_secure_algo=SecurePasswordKdfAlgo, secure_random='bytes'} + +``` + + diff --git a/old_docs/API_docs_v91/constructors/account.passwordInputSettings.md b/old_docs/API_docs_v91/constructors/account.passwordInputSettings.md new file mode 100644 index 00000000..f55837c8 --- /dev/null +++ b/old_docs/API_docs_v91/constructors/account.passwordInputSettings.md @@ -0,0 +1,42 @@ +--- +title: account.passwordInputSettings +description: Settings for setting up a new password +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.passwordInputSettings +[Back to constructors index](index.md) + + + +Settings for setting up a new password + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|new\_algo|[PasswordKdfAlgo](../types/PasswordKdfAlgo.md) | Optional|The [SRP algorithm](https://core.telegram.org/api/srp) to use| +|new\_password\_hash|[bytes](../types/bytes.md) | Optional|The [computed password hash](https://core.telegram.org/api/srp)| +|hint|[string](../types/string.md) | Optional|Text hint for the password| +|email|[string](../types/string.md) | Optional|Password recovery email| +|new\_secure\_settings|[SecureSecretSettings](../types/SecureSecretSettings.md) | Optional|Telegram [passport](https://core.telegram.org/passport) settings| + + + +### Type: [account.PasswordInputSettings](../types/account.PasswordInputSettings.md) + + +### Example: + +```php +$account.passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_algo' => PasswordKdfAlgo, 'new_password_hash' => 'bytes', 'hint' => 'string', 'email' => 'string', 'new_secure_settings' => SecureSecretSettings]; +``` + + +Or, if you're into Lua: + +```lua +account.passwordInputSettings={_='account.passwordInputSettings', new_algo=PasswordKdfAlgo, new_password_hash='bytes', hint='string', email='string', new_secure_settings=SecureSecretSettings} + +``` + + diff --git a/old_docs/API_docs_v91/constructors/account.passwordSettings.md b/old_docs/API_docs_v91/constructors/account.passwordSettings.md new file mode 100644 index 00000000..ab81079e --- /dev/null +++ b/old_docs/API_docs_v91/constructors/account.passwordSettings.md @@ -0,0 +1,39 @@ +--- +title: account.passwordSettings +description: Private info associated to the password info (recovery email, telegram [passport](https://core.telegram.org/passport) info & so on) +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.passwordSettings +[Back to constructors index](index.md) + + + +Private info associated to the password info (recovery email, telegram [passport](https://core.telegram.org/passport) info & so on) + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|email|[string](../types/string.md) | Optional|[2FA Recovery email](https://core.telegram.org/api/srp#email-verification)| +|secure\_settings|[SecureSecretSettings](../types/SecureSecretSettings.md) | Optional|Telegram [passport](https://core.telegram.org/passport) settings| + + + +### Type: [account.PasswordSettings](../types/account.PasswordSettings.md) + + +### Example: + +```php +$account.passwordSettings = ['_' => 'account.passwordSettings', 'email' => 'string', 'secure_settings' => SecureSecretSettings]; +``` + + +Or, if you're into Lua: + +```lua +account.passwordSettings={_='account.passwordSettings', email='string', secure_settings=SecureSecretSettings} + +``` + + diff --git a/old_docs/API_docs_v91/constructors/account.privacyRules.md b/old_docs/API_docs_v91/constructors/account.privacyRules.md new file mode 100644 index 00000000..7ae04abb --- /dev/null +++ b/old_docs/API_docs_v91/constructors/account.privacyRules.md @@ -0,0 +1,39 @@ +--- +title: account.privacyRules +description: Privacy rules +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.privacyRules +[Back to constructors index](index.md) + + + +Privacy rules + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|rules|Array of [PrivacyRule](../types/PrivacyRule.md) | Yes|Rules| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [account.PrivacyRules](../types/account.PrivacyRules.md) + + +### Example: + +```php +$account.privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule, PrivacyRule], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +account.privacyRules={_='account.privacyRules', rules={PrivacyRule}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v91/constructors/account.sentEmailCode.md b/old_docs/API_docs_v91/constructors/account.sentEmailCode.md new file mode 100644 index 00000000..c4c30275 --- /dev/null +++ b/old_docs/API_docs_v91/constructors/account.sentEmailCode.md @@ -0,0 +1,39 @@ +--- +title: account.sentEmailCode +description: The sent email code +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.sentEmailCode +[Back to constructors index](index.md) + + + +The sent email code + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|email\_pattern|[string](../types/string.md) | Yes|The email (to which the code was sent) must match this [pattern](https://core.telegram.org/api/pattern)| +|length|[int](../types/int.md) | Yes|The length of the verification code| + + + +### Type: [account.SentEmailCode](../types/account.SentEmailCode.md) + + +### Example: + +```php +$account.sentEmailCode = ['_' => 'account.sentEmailCode', 'email_pattern' => 'string', 'length' => int]; +``` + + +Or, if you're into Lua: + +```lua +account.sentEmailCode={_='account.sentEmailCode', email_pattern='string', length=int} + +``` + + diff --git a/old_docs/API_docs_v91/constructors/account.takeout.md b/old_docs/API_docs_v91/constructors/account.takeout.md new file mode 100644 index 00000000..1aca6c70 --- /dev/null +++ b/old_docs/API_docs_v91/constructors/account.takeout.md @@ -0,0 +1,38 @@ +--- +title: account.takeout +description: Takout info +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.takeout +[Back to constructors index](index.md) + + + +Takout info + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|id|[long](../types/long.md) | Yes|Takeout ID| + + + +### Type: [account.Takeout](../types/account.Takeout.md) + + +### Example: + +```php +$account.takeout = ['_' => 'account.takeout', 'id' => long]; +``` + + +Or, if you're into Lua: + +```lua +account.takeout={_='account.takeout', id=long} + +``` + + diff --git a/old_docs/API_docs_v91/constructors/account.tmpPassword.md b/old_docs/API_docs_v91/constructors/account.tmpPassword.md new file mode 100644 index 00000000..996548c4 --- /dev/null +++ b/old_docs/API_docs_v91/constructors/account.tmpPassword.md @@ -0,0 +1,39 @@ +--- +title: account.tmpPassword +description: Temporary payment password +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.tmpPassword +[Back to constructors index](index.md) + + + +Temporary payment password + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|tmp\_password|[bytes](../types/bytes.md) | Yes|Temporary password| +|valid\_until|[int](../types/int.md) | Yes|Validity period| + + + +### Type: [account.TmpPassword](../types/account.TmpPassword.md) + + +### Example: + +```php +$account.tmpPassword = ['_' => 'account.tmpPassword', 'tmp_password' => 'bytes', 'valid_until' => int]; +``` + + +Or, if you're into Lua: + +```lua +account.tmpPassword={_='account.tmpPassword', tmp_password='bytes', valid_until=int} + +``` + + diff --git a/old_docs/API_docs_v91/constructors/account.webAuthorizations.md b/old_docs/API_docs_v91/constructors/account.webAuthorizations.md new file mode 100644 index 00000000..bb5d0211 --- /dev/null +++ b/old_docs/API_docs_v91/constructors/account.webAuthorizations.md @@ -0,0 +1,39 @@ +--- +title: account.webAuthorizations +description: Web authorizations +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.webAuthorizations +[Back to constructors index](index.md) + + + +Web authorizations + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|authorizations|Array of [WebAuthorization](../types/WebAuthorization.md) | Yes|Authorizations| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [account.WebAuthorizations](../types/account.WebAuthorizations.md) + + +### Example: + +```php +$account.webAuthorizations = ['_' => 'account.webAuthorizations', 'authorizations' => [WebAuthorization, WebAuthorization], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +account.webAuthorizations={_='account.webAuthorizations', authorizations={WebAuthorization}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v91/constructors/account_authorizationForm.md b/old_docs/API_docs_v91/constructors/account_authorizationForm.md deleted file mode 100644 index aaeff19b..00000000 --- a/old_docs/API_docs_v91/constructors/account_authorizationForm.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: account.authorizationForm -description: [Telegram Passport](https://core.telegram.org/passport) authorization form -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.authorizationForm -[Back to constructors index](index.md) - - - -[Telegram Passport](https://core.telegram.org/passport) authorization form - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|required\_types|Array of [SecureRequiredType](../types/SecureRequiredType.md) | Yes|Required types| -|values|Array of [SecureValue](../types/SecureValue.md) | Yes|Values| -|errors|Array of [SecureValueError](../types/SecureValueError.md) | Yes|Errors| -|users|Array of [User](../types/User.md) | Yes|Users| -|privacy\_policy\_url|[string](../types/string.md) | Optional|URL of the service's privacy policy| - - - -### Type: [account\_AuthorizationForm](../types/account_AuthorizationForm.md) - - -### Example: - -```php -$account_authorizationForm = ['_' => 'account.authorizationForm', 'required_types' => [SecureRequiredType, SecureRequiredType], 'values' => [SecureValue, SecureValue], 'errors' => [SecureValueError, SecureValueError], 'users' => [User, User], 'privacy_policy_url' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -account_authorizationForm={_='account.authorizationForm', required_types={SecureRequiredType}, values={SecureValue}, errors={SecureValueError}, users={User}, privacy_policy_url='string'} - -``` - - diff --git a/old_docs/API_docs_v91/constructors/account_authorizations.md b/old_docs/API_docs_v91/constructors/account_authorizations.md deleted file mode 100644 index aeae48f3..00000000 --- a/old_docs/API_docs_v91/constructors/account_authorizations.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: account.authorizations -description: Logged-in sessions -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.authorizations -[Back to constructors index](index.md) - - - -Logged-in sessions - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|authorizations|Array of [Authorization](../types/Authorization.md) | Yes|Authorizations| - - - -### Type: [account\_Authorizations](../types/account_Authorizations.md) - - -### Example: - -```php -$account_authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization, Authorization]]; -``` - - -Or, if you're into Lua: - -```lua -account_authorizations={_='account.authorizations', authorizations={Authorization}} - -``` - - diff --git a/old_docs/API_docs_v91/constructors/account_password.md b/old_docs/API_docs_v91/constructors/account_password.md deleted file mode 100644 index 0f2eaafb..00000000 --- a/old_docs/API_docs_v91/constructors/account_password.md +++ /dev/null @@ -1,48 +0,0 @@ ---- -title: account.password -description: Configuration for two-factor authorization -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.password -[Back to constructors index](index.md) - - - -Configuration for two-factor authorization - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|has\_recovery|[Bool](../types/Bool.md) | Optional|Whether the user has a recovery method configured| -|has\_secure\_values|[Bool](../types/Bool.md) | Optional|Whether telegram [passport](https://core.telegram.org/passport) is enabled| -|has\_password|[Bool](../types/Bool.md) | Optional|Whether the user has a password| -|current\_algo|[PasswordKdfAlgo](../types/PasswordKdfAlgo.md) | Optional|The [KDF algorithm for SRP two-factor authentication](https://core.telegram.org/api/srp) of the current password| -|srp\_B|[bytes](../types/bytes.md) | Optional|Srp B param for [SRP authorization](https://core.telegram.org/api/srp)| -|srp\_id|[long](../types/long.md) | Optional|Srp ID param for [SRP authorization](https://core.telegram.org/api/srp)| -|hint|[string](../types/string.md) | Optional|Text hint for the password| -|email\_unconfirmed\_pattern|[string](../types/string.md) | Optional|A [password recovery email](https://core.telegram.org/api/srp#email-verification) with the specified [pattern](https://core.telegram.org/api/pattern) is still awaiting verification| -|new\_algo|[PasswordKdfAlgo](../types/PasswordKdfAlgo.md) | Yes|The [KDF algorithm for SRP two-factor authentication](https://core.telegram.org/api/srp) to use when creating new passwords| -|new\_secure\_algo|[SecurePasswordKdfAlgo](../types/SecurePasswordKdfAlgo.md) | Yes|The KDF algorithm for telegram [passport](https://core.telegram.org/passport)| -|secure\_random|[bytes](../types/bytes.md) | Yes|Secure random string| - - - -### Type: [account\_Password](../types/account_Password.md) - - -### Example: - -```php -$account_password = ['_' => 'account.password', 'has_recovery' => Bool, 'has_secure_values' => Bool, 'has_password' => Bool, 'current_algo' => PasswordKdfAlgo, 'srp_B' => 'bytes', 'srp_id' => long, 'hint' => 'string', 'email_unconfirmed_pattern' => 'string', 'new_algo' => PasswordKdfAlgo, 'new_secure_algo' => SecurePasswordKdfAlgo, 'secure_random' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -account_password={_='account.password', has_recovery=Bool, has_secure_values=Bool, has_password=Bool, current_algo=PasswordKdfAlgo, srp_B='bytes', srp_id=long, hint='string', email_unconfirmed_pattern='string', new_algo=PasswordKdfAlgo, new_secure_algo=SecurePasswordKdfAlgo, secure_random='bytes'} - -``` - - diff --git a/old_docs/API_docs_v91/constructors/account_passwordInputSettings.md b/old_docs/API_docs_v91/constructors/account_passwordInputSettings.md deleted file mode 100644 index a4800a7c..00000000 --- a/old_docs/API_docs_v91/constructors/account_passwordInputSettings.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: account.passwordInputSettings -description: Settings for setting up a new password -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.passwordInputSettings -[Back to constructors index](index.md) - - - -Settings for setting up a new password - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|new\_algo|[PasswordKdfAlgo](../types/PasswordKdfAlgo.md) | Optional|The [SRP algorithm](https://core.telegram.org/api/srp) to use| -|new\_password\_hash|[bytes](../types/bytes.md) | Optional|The [computed password hash](https://core.telegram.org/api/srp)| -|hint|[string](../types/string.md) | Optional|Text hint for the password| -|email|[string](../types/string.md) | Optional|Password recovery email| -|new\_secure\_settings|[SecureSecretSettings](../types/SecureSecretSettings.md) | Optional|Telegram [passport](https://core.telegram.org/passport) settings| - - - -### Type: [account\_PasswordInputSettings](../types/account_PasswordInputSettings.md) - - -### Example: - -```php -$account_passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_algo' => PasswordKdfAlgo, 'new_password_hash' => 'bytes', 'hint' => 'string', 'email' => 'string', 'new_secure_settings' => SecureSecretSettings]; -``` - - -Or, if you're into Lua: - -```lua -account_passwordInputSettings={_='account.passwordInputSettings', new_algo=PasswordKdfAlgo, new_password_hash='bytes', hint='string', email='string', new_secure_settings=SecureSecretSettings} - -``` - - diff --git a/old_docs/API_docs_v91/constructors/account_passwordSettings.md b/old_docs/API_docs_v91/constructors/account_passwordSettings.md deleted file mode 100644 index 16eaf433..00000000 --- a/old_docs/API_docs_v91/constructors/account_passwordSettings.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: account.passwordSettings -description: Private info associated to the password info (recovery email, telegram [passport](https://core.telegram.org/passport) info & so on) -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.passwordSettings -[Back to constructors index](index.md) - - - -Private info associated to the password info (recovery email, telegram [passport](https://core.telegram.org/passport) info & so on) - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|email|[string](../types/string.md) | Optional|[2FA Recovery email](https://core.telegram.org/api/srp#email-verification)| -|secure\_settings|[SecureSecretSettings](../types/SecureSecretSettings.md) | Optional|Telegram [passport](https://core.telegram.org/passport) settings| - - - -### Type: [account\_PasswordSettings](../types/account_PasswordSettings.md) - - -### Example: - -```php -$account_passwordSettings = ['_' => 'account.passwordSettings', 'email' => 'string', 'secure_settings' => SecureSecretSettings]; -``` - - -Or, if you're into Lua: - -```lua -account_passwordSettings={_='account.passwordSettings', email='string', secure_settings=SecureSecretSettings} - -``` - - diff --git a/old_docs/API_docs_v91/constructors/account_privacyRules.md b/old_docs/API_docs_v91/constructors/account_privacyRules.md deleted file mode 100644 index 28b260b7..00000000 --- a/old_docs/API_docs_v91/constructors/account_privacyRules.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: account.privacyRules -description: Privacy rules -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.privacyRules -[Back to constructors index](index.md) - - - -Privacy rules - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|rules|Array of [PrivacyRule](../types/PrivacyRule.md) | Yes|Rules| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [account\_PrivacyRules](../types/account_PrivacyRules.md) - - -### Example: - -```php -$account_privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule, PrivacyRule], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -account_privacyRules={_='account.privacyRules', rules={PrivacyRule}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v91/constructors/account_sentEmailCode.md b/old_docs/API_docs_v91/constructors/account_sentEmailCode.md deleted file mode 100644 index 684fb4b5..00000000 --- a/old_docs/API_docs_v91/constructors/account_sentEmailCode.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: account.sentEmailCode -description: The sent email code -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.sentEmailCode -[Back to constructors index](index.md) - - - -The sent email code - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|email\_pattern|[string](../types/string.md) | Yes|The email (to which the code was sent) must match this [pattern](https://core.telegram.org/api/pattern)| -|length|[int](../types/int.md) | Yes|The length of the verification code| - - - -### Type: [account\_SentEmailCode](../types/account_SentEmailCode.md) - - -### Example: - -```php -$account_sentEmailCode = ['_' => 'account.sentEmailCode', 'email_pattern' => 'string', 'length' => int]; -``` - - -Or, if you're into Lua: - -```lua -account_sentEmailCode={_='account.sentEmailCode', email_pattern='string', length=int} - -``` - - diff --git a/old_docs/API_docs_v91/constructors/account_takeout.md b/old_docs/API_docs_v91/constructors/account_takeout.md deleted file mode 100644 index 09af93ca..00000000 --- a/old_docs/API_docs_v91/constructors/account_takeout.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: account.takeout -description: Takout info -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.takeout -[Back to constructors index](index.md) - - - -Takout info - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|id|[long](../types/long.md) | Yes|Takeout ID| - - - -### Type: [account\_Takeout](../types/account_Takeout.md) - - -### Example: - -```php -$account_takeout = ['_' => 'account.takeout', 'id' => long]; -``` - - -Or, if you're into Lua: - -```lua -account_takeout={_='account.takeout', id=long} - -``` - - diff --git a/old_docs/API_docs_v91/constructors/account_tmpPassword.md b/old_docs/API_docs_v91/constructors/account_tmpPassword.md deleted file mode 100644 index 68832780..00000000 --- a/old_docs/API_docs_v91/constructors/account_tmpPassword.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: account.tmpPassword -description: Temporary payment password -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.tmpPassword -[Back to constructors index](index.md) - - - -Temporary payment password - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|tmp\_password|[bytes](../types/bytes.md) | Yes|Temporary password| -|valid\_until|[int](../types/int.md) | Yes|Validity period| - - - -### Type: [account\_TmpPassword](../types/account_TmpPassword.md) - - -### Example: - -```php -$account_tmpPassword = ['_' => 'account.tmpPassword', 'tmp_password' => 'bytes', 'valid_until' => int]; -``` - - -Or, if you're into Lua: - -```lua -account_tmpPassword={_='account.tmpPassword', tmp_password='bytes', valid_until=int} - -``` - - diff --git a/old_docs/API_docs_v91/constructors/account_webAuthorizations.md b/old_docs/API_docs_v91/constructors/account_webAuthorizations.md deleted file mode 100644 index ae402006..00000000 --- a/old_docs/API_docs_v91/constructors/account_webAuthorizations.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: account.webAuthorizations -description: Web authorizations -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.webAuthorizations -[Back to constructors index](index.md) - - - -Web authorizations - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|authorizations|Array of [WebAuthorization](../types/WebAuthorization.md) | Yes|Authorizations| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [account\_WebAuthorizations](../types/account_WebAuthorizations.md) - - -### Example: - -```php -$account_webAuthorizations = ['_' => 'account.webAuthorizations', 'authorizations' => [WebAuthorization, WebAuthorization], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -account_webAuthorizations={_='account.webAuthorizations', authorizations={WebAuthorization}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v91/constructors/auth.authorization.md b/old_docs/API_docs_v91/constructors/auth.authorization.md new file mode 100644 index 00000000..2a84bb12 --- /dev/null +++ b/old_docs/API_docs_v91/constructors/auth.authorization.md @@ -0,0 +1,39 @@ +--- +title: auth.authorization +description: Contains user authorization info. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.authorization +[Back to constructors index](index.md) + + + +Contains user authorization info. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|tmp\_sessions|[int](../types/int.md) | Optional|Temporary [passport](https://core.telegram.org/passport) sessions| +|user|[User](../types/User.md) | Optional|Info on authorized user| + + + +### Type: [auth.Authorization](../types/auth.Authorization.md) + + +### Example: + +```php +$auth.authorization = ['_' => 'auth.authorization', 'tmp_sessions' => int, 'user' => User]; +``` + + +Or, if you're into Lua: + +```lua +auth.authorization={_='auth.authorization', tmp_sessions=int, user=User} + +``` + + diff --git a/old_docs/API_docs_v91/constructors/auth.checkedPhone.md b/old_docs/API_docs_v91/constructors/auth.checkedPhone.md new file mode 100644 index 00000000..23e84cf9 --- /dev/null +++ b/old_docs/API_docs_v91/constructors/auth.checkedPhone.md @@ -0,0 +1,38 @@ +--- +title: auth.checkedPhone +description: Checked phone +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.checkedPhone +[Back to constructors index](index.md) + + + +Checked phone + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_registered|[Bool](../types/Bool.md) | Yes|Phone registered?| + + + +### Type: [auth.CheckedPhone](../types/auth.CheckedPhone.md) + + +### Example: + +```php +$auth.checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool]; +``` + + +Or, if you're into Lua: + +```lua +auth.checkedPhone={_='auth.checkedPhone', phone_registered=Bool} + +``` + + diff --git a/old_docs/API_docs_v91/constructors/auth.codeTypeCall.md b/old_docs/API_docs_v91/constructors/auth.codeTypeCall.md new file mode 100644 index 00000000..4b4a1cdc --- /dev/null +++ b/old_docs/API_docs_v91/constructors/auth.codeTypeCall.md @@ -0,0 +1,33 @@ +--- +title: auth.codeTypeCall +description: Type of verification code that will be sent next if you call the resendCode method: SMS code +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.codeTypeCall +[Back to constructors index](index.md) + + + +Type of verification code that will be sent next if you call the resendCode method: SMS code + + + + +### Type: [auth.CodeType](../types/auth.CodeType.md) + + +### Example: + +```php +$auth.codeTypeCall = ['_' => 'auth.codeTypeCall']; +``` + + +Or, if you're into Lua: + +```lua +auth.codeTypeCall={_='auth.codeTypeCall'} + +``` + + diff --git a/old_docs/API_docs_v91/constructors/auth.codeTypeFlashCall.md b/old_docs/API_docs_v91/constructors/auth.codeTypeFlashCall.md new file mode 100644 index 00000000..ef97e034 --- /dev/null +++ b/old_docs/API_docs_v91/constructors/auth.codeTypeFlashCall.md @@ -0,0 +1,33 @@ +--- +title: auth.codeTypeFlashCall +description: Type of verification code that will be sent next if you call the resendCode method: SMS code +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.codeTypeFlashCall +[Back to constructors index](index.md) + + + +Type of verification code that will be sent next if you call the resendCode method: SMS code + + + + +### Type: [auth.CodeType](../types/auth.CodeType.md) + + +### Example: + +```php +$auth.codeTypeFlashCall = ['_' => 'auth.codeTypeFlashCall']; +``` + + +Or, if you're into Lua: + +```lua +auth.codeTypeFlashCall={_='auth.codeTypeFlashCall'} + +``` + + diff --git a/old_docs/API_docs_v91/constructors/auth.codeTypeSms.md b/old_docs/API_docs_v91/constructors/auth.codeTypeSms.md new file mode 100644 index 00000000..bab9a5a4 --- /dev/null +++ b/old_docs/API_docs_v91/constructors/auth.codeTypeSms.md @@ -0,0 +1,33 @@ +--- +title: auth.codeTypeSms +description: Type of verification code that will be sent next if you call the resendCode method: SMS code +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.codeTypeSms +[Back to constructors index](index.md) + + + +Type of verification code that will be sent next if you call the resendCode method: SMS code + + + + +### Type: [auth.CodeType](../types/auth.CodeType.md) + + +### Example: + +```php +$auth.codeTypeSms = ['_' => 'auth.codeTypeSms']; +``` + + +Or, if you're into Lua: + +```lua +auth.codeTypeSms={_='auth.codeTypeSms'} + +``` + + diff --git a/old_docs/API_docs_v91/constructors/auth.exportedAuthorization.md b/old_docs/API_docs_v91/constructors/auth.exportedAuthorization.md new file mode 100644 index 00000000..2a4a9896 --- /dev/null +++ b/old_docs/API_docs_v91/constructors/auth.exportedAuthorization.md @@ -0,0 +1,39 @@ +--- +title: auth.exportedAuthorization +description: Data for copying of authorization between data centres. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.exportedAuthorization +[Back to constructors index](index.md) + + + +Data for copying of authorization between data centres. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|id|[int](../types/int.md) | Yes|Current user identifier| +|bytes|[bytes](../types/bytes.md) | Yes|Authorizes key| + + + +### Type: [auth.ExportedAuthorization](../types/auth.ExportedAuthorization.md) + + +### Example: + +```php +$auth.exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +auth.exportedAuthorization={_='auth.exportedAuthorization', id=int, bytes='bytes'} + +``` + + diff --git a/old_docs/API_docs_v91/constructors/auth.passwordRecovery.md b/old_docs/API_docs_v91/constructors/auth.passwordRecovery.md new file mode 100644 index 00000000..61de922d --- /dev/null +++ b/old_docs/API_docs_v91/constructors/auth.passwordRecovery.md @@ -0,0 +1,38 @@ +--- +title: auth.passwordRecovery +description: Recovery info of a [2FA password](https://core.telegram.org/api/srp), only for accounts with a [recovery email configured](https://core.telegram.org/api/srp#email-verification). +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.passwordRecovery +[Back to constructors index](index.md) + + + +Recovery info of a [2FA password](https://core.telegram.org/api/srp), only for accounts with a [recovery email configured](https://core.telegram.org/api/srp#email-verification). + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|email\_pattern|[string](../types/string.md) | Yes|The email to which the recovery code was sent must match this [pattern](https://core.telegram.org/api/pattern).| + + + +### Type: [auth.PasswordRecovery](../types/auth.PasswordRecovery.md) + + +### Example: + +```php +$auth.passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +auth.passwordRecovery={_='auth.passwordRecovery', email_pattern='string'} + +``` + + diff --git a/old_docs/API_docs_v91/constructors/auth.sentCode.md b/old_docs/API_docs_v91/constructors/auth.sentCode.md new file mode 100644 index 00000000..bfdaea05 --- /dev/null +++ b/old_docs/API_docs_v91/constructors/auth.sentCode.md @@ -0,0 +1,43 @@ +--- +title: auth.sentCode +description: Contains info about a sent verification code. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentCode +[Back to constructors index](index.md) + + + +Contains info about a sent verification code. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_registered|[Bool](../types/Bool.md) | Optional|Phone registered?| +|type|[auth.SentCodeType](../constructors/auth.SentCodeType.md) | Yes|Phone code type| +|phone\_code\_hash|[string](../types/string.md) | Yes|Phone code hash, to be stored and later re-used with [auth.signIn](../methods/auth.signIn.md)| +|next\_type|[auth.CodeType](../constructors/auth.CodeType.md) | Optional|Phone code type that will be sent next, if the phone code is not received within `timeout` seconds: to send it use [auth.resendCode](../methods/auth.resendCode.md)| +|timeout|[int](../types/int.md) | Optional|Timeout for reception of the phone code| +|terms\_of\_service|[help.TermsOfService](../constructors/help.TermsOfService.md) | Optional|Terms of service| + + + +### Type: [auth.SentCode](../types/auth.SentCode.md) + + +### Example: + +```php +$auth.sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'type' => auth.SentCodeType, 'phone_code_hash' => 'string', 'next_type' => auth.CodeType, 'timeout' => int, 'terms_of_service' => help.TermsOfService]; +``` + + +Or, if you're into Lua: + +```lua +auth.sentCode={_='auth.sentCode', phone_registered=Bool, type=auth.SentCodeType, phone_code_hash='string', next_type=auth.CodeType, timeout=int, terms_of_service=help.TermsOfService} + +``` + + diff --git a/old_docs/API_docs_v91/constructors/auth.sentCodeTypeApp.md b/old_docs/API_docs_v91/constructors/auth.sentCodeTypeApp.md new file mode 100644 index 00000000..5f2d4aa3 --- /dev/null +++ b/old_docs/API_docs_v91/constructors/auth.sentCodeTypeApp.md @@ -0,0 +1,38 @@ +--- +title: auth.sentCodeTypeApp +description: The code was sent through the telegram app +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentCodeTypeApp +[Back to constructors index](index.md) + + + +The code was sent through the telegram app + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|length|[int](../types/int.md) | Yes|Length of the code in bytes| + + + +### Type: [auth.SentCodeType](../types/auth.SentCodeType.md) + + +### Example: + +```php +$auth.sentCodeTypeApp = ['_' => 'auth.sentCodeTypeApp', 'length' => int]; +``` + + +Or, if you're into Lua: + +```lua +auth.sentCodeTypeApp={_='auth.sentCodeTypeApp', length=int} + +``` + + diff --git a/old_docs/API_docs_v91/constructors/auth.sentCodeTypeCall.md b/old_docs/API_docs_v91/constructors/auth.sentCodeTypeCall.md new file mode 100644 index 00000000..9843b3df --- /dev/null +++ b/old_docs/API_docs_v91/constructors/auth.sentCodeTypeCall.md @@ -0,0 +1,38 @@ +--- +title: auth.sentCodeTypeCall +description: The code will be sent via a phone call: a synthesized voice will tell the user which verification code to input. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentCodeTypeCall +[Back to constructors index](index.md) + + + +The code will be sent via a phone call: a synthesized voice will tell the user which verification code to input. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|length|[int](../types/int.md) | Yes|Length of the verification code| + + + +### Type: [auth.SentCodeType](../types/auth.SentCodeType.md) + + +### Example: + +```php +$auth.sentCodeTypeCall = ['_' => 'auth.sentCodeTypeCall', 'length' => int]; +``` + + +Or, if you're into Lua: + +```lua +auth.sentCodeTypeCall={_='auth.sentCodeTypeCall', length=int} + +``` + + diff --git a/old_docs/API_docs_v91/constructors/auth.sentCodeTypeFlashCall.md b/old_docs/API_docs_v91/constructors/auth.sentCodeTypeFlashCall.md new file mode 100644 index 00000000..0d24751d --- /dev/null +++ b/old_docs/API_docs_v91/constructors/auth.sentCodeTypeFlashCall.md @@ -0,0 +1,38 @@ +--- +title: auth.sentCodeTypeFlashCall +description: The code will be sent via a flash phone call, that will be closed immediately. The phone code will then be the phone number itself, just make sure that the phone number matches the specified pattern. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentCodeTypeFlashCall +[Back to constructors index](index.md) + + + +The code will be sent via a flash phone call, that will be closed immediately. The phone code will then be the phone number itself, just make sure that the phone number matches the specified pattern. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pattern|[string](../types/string.md) | Yes|[pattern](https://core.telegram.org/api/pattern) to match| + + + +### Type: [auth.SentCodeType](../types/auth.SentCodeType.md) + + +### Example: + +```php +$auth.sentCodeTypeFlashCall = ['_' => 'auth.sentCodeTypeFlashCall', 'pattern' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +auth.sentCodeTypeFlashCall={_='auth.sentCodeTypeFlashCall', pattern='string'} + +``` + + diff --git a/old_docs/API_docs_v91/constructors/auth.sentCodeTypeSms.md b/old_docs/API_docs_v91/constructors/auth.sentCodeTypeSms.md new file mode 100644 index 00000000..d8ecb75e --- /dev/null +++ b/old_docs/API_docs_v91/constructors/auth.sentCodeTypeSms.md @@ -0,0 +1,38 @@ +--- +title: auth.sentCodeTypeSms +description: The code was sent via SMS +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentCodeTypeSms +[Back to constructors index](index.md) + + + +The code was sent via SMS + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|length|[int](../types/int.md) | Yes|Length of the code in bytes| + + + +### Type: [auth.SentCodeType](../types/auth.SentCodeType.md) + + +### Example: + +```php +$auth.sentCodeTypeSms = ['_' => 'auth.sentCodeTypeSms', 'length' => int]; +``` + + +Or, if you're into Lua: + +```lua +auth.sentCodeTypeSms={_='auth.sentCodeTypeSms', length=int} + +``` + + diff --git a/old_docs/API_docs_v91/constructors/auth_authorization.md b/old_docs/API_docs_v91/constructors/auth_authorization.md deleted file mode 100644 index cb72811d..00000000 --- a/old_docs/API_docs_v91/constructors/auth_authorization.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: auth.authorization -description: Contains user authorization info. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.authorization -[Back to constructors index](index.md) - - - -Contains user authorization info. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|tmp\_sessions|[int](../types/int.md) | Optional|Temporary [passport](https://core.telegram.org/passport) sessions| -|user|[User](../types/User.md) | Optional|Info on authorized user| - - - -### Type: [auth\_Authorization](../types/auth_Authorization.md) - - -### Example: - -```php -$auth_authorization = ['_' => 'auth.authorization', 'tmp_sessions' => int, 'user' => User]; -``` - - -Or, if you're into Lua: - -```lua -auth_authorization={_='auth.authorization', tmp_sessions=int, user=User} - -``` - - diff --git a/old_docs/API_docs_v91/constructors/auth_checkedPhone.md b/old_docs/API_docs_v91/constructors/auth_checkedPhone.md deleted file mode 100644 index c77becf6..00000000 --- a/old_docs/API_docs_v91/constructors/auth_checkedPhone.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.checkedPhone -description: Checked phone -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.checkedPhone -[Back to constructors index](index.md) - - - -Checked phone - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_registered|[Bool](../types/Bool.md) | Yes|Phone registered?| - - - -### Type: [auth\_CheckedPhone](../types/auth_CheckedPhone.md) - - -### Example: - -```php -$auth_checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool]; -``` - - -Or, if you're into Lua: - -```lua -auth_checkedPhone={_='auth.checkedPhone', phone_registered=Bool} - -``` - - diff --git a/old_docs/API_docs_v91/constructors/auth_codeTypeCall.md b/old_docs/API_docs_v91/constructors/auth_codeTypeCall.md deleted file mode 100644 index 3e957c2a..00000000 --- a/old_docs/API_docs_v91/constructors/auth_codeTypeCall.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: auth.codeTypeCall -description: Type of verification code that will be sent next if you call the resendCode method: SMS code -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.codeTypeCall -[Back to constructors index](index.md) - - - -Type of verification code that will be sent next if you call the resendCode method: SMS code - - - - -### Type: [auth\_CodeType](../types/auth_CodeType.md) - - -### Example: - -```php -$auth_codeTypeCall = ['_' => 'auth.codeTypeCall']; -``` - - -Or, if you're into Lua: - -```lua -auth_codeTypeCall={_='auth.codeTypeCall'} - -``` - - diff --git a/old_docs/API_docs_v91/constructors/auth_codeTypeFlashCall.md b/old_docs/API_docs_v91/constructors/auth_codeTypeFlashCall.md deleted file mode 100644 index 981b2461..00000000 --- a/old_docs/API_docs_v91/constructors/auth_codeTypeFlashCall.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: auth.codeTypeFlashCall -description: Type of verification code that will be sent next if you call the resendCode method: SMS code -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.codeTypeFlashCall -[Back to constructors index](index.md) - - - -Type of verification code that will be sent next if you call the resendCode method: SMS code - - - - -### Type: [auth\_CodeType](../types/auth_CodeType.md) - - -### Example: - -```php -$auth_codeTypeFlashCall = ['_' => 'auth.codeTypeFlashCall']; -``` - - -Or, if you're into Lua: - -```lua -auth_codeTypeFlashCall={_='auth.codeTypeFlashCall'} - -``` - - diff --git a/old_docs/API_docs_v91/constructors/auth_codeTypeSms.md b/old_docs/API_docs_v91/constructors/auth_codeTypeSms.md deleted file mode 100644 index 16eb5d0d..00000000 --- a/old_docs/API_docs_v91/constructors/auth_codeTypeSms.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: auth.codeTypeSms -description: Type of verification code that will be sent next if you call the resendCode method: SMS code -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.codeTypeSms -[Back to constructors index](index.md) - - - -Type of verification code that will be sent next if you call the resendCode method: SMS code - - - - -### Type: [auth\_CodeType](../types/auth_CodeType.md) - - -### Example: - -```php -$auth_codeTypeSms = ['_' => 'auth.codeTypeSms']; -``` - - -Or, if you're into Lua: - -```lua -auth_codeTypeSms={_='auth.codeTypeSms'} - -``` - - diff --git a/old_docs/API_docs_v91/constructors/auth_exportedAuthorization.md b/old_docs/API_docs_v91/constructors/auth_exportedAuthorization.md deleted file mode 100644 index 8d18916e..00000000 --- a/old_docs/API_docs_v91/constructors/auth_exportedAuthorization.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: auth.exportedAuthorization -description: Data for copying of authorization between data centres. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.exportedAuthorization -[Back to constructors index](index.md) - - - -Data for copying of authorization between data centres. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|id|[int](../types/int.md) | Yes|Current user identifier| -|bytes|[bytes](../types/bytes.md) | Yes|Authorizes key| - - - -### Type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) - - -### Example: - -```php -$auth_exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -auth_exportedAuthorization={_='auth.exportedAuthorization', id=int, bytes='bytes'} - -``` - - diff --git a/old_docs/API_docs_v91/constructors/auth_passwordRecovery.md b/old_docs/API_docs_v91/constructors/auth_passwordRecovery.md deleted file mode 100644 index c40f375e..00000000 --- a/old_docs/API_docs_v91/constructors/auth_passwordRecovery.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.passwordRecovery -description: Recovery info of a [2FA password](https://core.telegram.org/api/srp), only for accounts with a [recovery email configured](https://core.telegram.org/api/srp#email-verification). -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.passwordRecovery -[Back to constructors index](index.md) - - - -Recovery info of a [2FA password](https://core.telegram.org/api/srp), only for accounts with a [recovery email configured](https://core.telegram.org/api/srp#email-verification). - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|email\_pattern|[string](../types/string.md) | Yes|The email to which the recovery code was sent must match this [pattern](https://core.telegram.org/api/pattern).| - - - -### Type: [auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) - - -### Example: - -```php -$auth_passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -auth_passwordRecovery={_='auth.passwordRecovery', email_pattern='string'} - -``` - - diff --git a/old_docs/API_docs_v91/constructors/auth_sentCode.md b/old_docs/API_docs_v91/constructors/auth_sentCode.md deleted file mode 100644 index f34f844a..00000000 --- a/old_docs/API_docs_v91/constructors/auth_sentCode.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: auth.sentCode -description: Contains info about a sent verification code. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentCode -[Back to constructors index](index.md) - - - -Contains info about a sent verification code. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_registered|[Bool](../types/Bool.md) | Optional|Phone registered?| -|type|[auth\_SentCodeType](../types/auth_SentCodeType.md) | Yes|Phone code type| -|phone\_code\_hash|[string](../types/string.md) | Yes|Phone code hash, to be stored and later re-used with [auth.signIn](../methods/auth.signIn.md)| -|next\_type|[auth\_CodeType](../types/auth_CodeType.md) | Optional|Phone code type that will be sent next, if the phone code is not received within `timeout` seconds: to send it use [auth.resendCode](../methods/auth.resendCode.md)| -|timeout|[int](../types/int.md) | Optional|Timeout for reception of the phone code| -|terms\_of\_service|[help\_TermsOfService](../types/help_TermsOfService.md) | Optional|Terms of service| - - - -### Type: [auth\_SentCode](../types/auth_SentCode.md) - - -### Example: - -```php -$auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'type' => auth_SentCodeType, 'phone_code_hash' => 'string', 'next_type' => auth_CodeType, 'timeout' => int, 'terms_of_service' => help_TermsOfService]; -``` - - -Or, if you're into Lua: - -```lua -auth_sentCode={_='auth.sentCode', phone_registered=Bool, type=auth_SentCodeType, phone_code_hash='string', next_type=auth_CodeType, timeout=int, terms_of_service=help_TermsOfService} - -``` - - diff --git a/old_docs/API_docs_v91/constructors/auth_sentCodeTypeApp.md b/old_docs/API_docs_v91/constructors/auth_sentCodeTypeApp.md deleted file mode 100644 index 6b7ad824..00000000 --- a/old_docs/API_docs_v91/constructors/auth_sentCodeTypeApp.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.sentCodeTypeApp -description: The code was sent through the telegram app -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentCodeTypeApp -[Back to constructors index](index.md) - - - -The code was sent through the telegram app - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|length|[int](../types/int.md) | Yes|Length of the code in bytes| - - - -### Type: [auth\_SentCodeType](../types/auth_SentCodeType.md) - - -### Example: - -```php -$auth_sentCodeTypeApp = ['_' => 'auth.sentCodeTypeApp', 'length' => int]; -``` - - -Or, if you're into Lua: - -```lua -auth_sentCodeTypeApp={_='auth.sentCodeTypeApp', length=int} - -``` - - diff --git a/old_docs/API_docs_v91/constructors/auth_sentCodeTypeCall.md b/old_docs/API_docs_v91/constructors/auth_sentCodeTypeCall.md deleted file mode 100644 index bf025aa5..00000000 --- a/old_docs/API_docs_v91/constructors/auth_sentCodeTypeCall.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.sentCodeTypeCall -description: The code will be sent via a phone call: a synthesized voice will tell the user which verification code to input. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentCodeTypeCall -[Back to constructors index](index.md) - - - -The code will be sent via a phone call: a synthesized voice will tell the user which verification code to input. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|length|[int](../types/int.md) | Yes|Length of the verification code| - - - -### Type: [auth\_SentCodeType](../types/auth_SentCodeType.md) - - -### Example: - -```php -$auth_sentCodeTypeCall = ['_' => 'auth.sentCodeTypeCall', 'length' => int]; -``` - - -Or, if you're into Lua: - -```lua -auth_sentCodeTypeCall={_='auth.sentCodeTypeCall', length=int} - -``` - - diff --git a/old_docs/API_docs_v91/constructors/auth_sentCodeTypeFlashCall.md b/old_docs/API_docs_v91/constructors/auth_sentCodeTypeFlashCall.md deleted file mode 100644 index efe64ce7..00000000 --- a/old_docs/API_docs_v91/constructors/auth_sentCodeTypeFlashCall.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.sentCodeTypeFlashCall -description: The code will be sent via a flash phone call, that will be closed immediately. The phone code will then be the phone number itself, just make sure that the phone number matches the specified pattern. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentCodeTypeFlashCall -[Back to constructors index](index.md) - - - -The code will be sent via a flash phone call, that will be closed immediately. The phone code will then be the phone number itself, just make sure that the phone number matches the specified pattern. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pattern|[string](../types/string.md) | Yes|[pattern](https://core.telegram.org/api/pattern) to match| - - - -### Type: [auth\_SentCodeType](../types/auth_SentCodeType.md) - - -### Example: - -```php -$auth_sentCodeTypeFlashCall = ['_' => 'auth.sentCodeTypeFlashCall', 'pattern' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -auth_sentCodeTypeFlashCall={_='auth.sentCodeTypeFlashCall', pattern='string'} - -``` - - diff --git a/old_docs/API_docs_v91/constructors/auth_sentCodeTypeSms.md b/old_docs/API_docs_v91/constructors/auth_sentCodeTypeSms.md deleted file mode 100644 index 8e27dac9..00000000 --- a/old_docs/API_docs_v91/constructors/auth_sentCodeTypeSms.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.sentCodeTypeSms -description: The code was sent via SMS -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentCodeTypeSms -[Back to constructors index](index.md) - - - -The code was sent via SMS - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|length|[int](../types/int.md) | Yes|Length of the code in bytes| - - - -### Type: [auth\_SentCodeType](../types/auth_SentCodeType.md) - - -### Example: - -```php -$auth_sentCodeTypeSms = ['_' => 'auth.sentCodeTypeSms', 'length' => int]; -``` - - -Or, if you're into Lua: - -```lua -auth_sentCodeTypeSms={_='auth.sentCodeTypeSms', length=int} - -``` - - diff --git a/old_docs/API_docs_v91/constructors/channels.adminLogResults.md b/old_docs/API_docs_v91/constructors/channels.adminLogResults.md new file mode 100644 index 00000000..fc4e234a --- /dev/null +++ b/old_docs/API_docs_v91/constructors/channels.adminLogResults.md @@ -0,0 +1,40 @@ +--- +title: channels.adminLogResults +description: Admin log events +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: channels.adminLogResults +[Back to constructors index](index.md) + + + +Admin log events + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|events|Array of [ChannelAdminLogEvent](../types/ChannelAdminLogEvent.md) | Yes|Events| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [channels.AdminLogResults](../types/channels.AdminLogResults.md) + + +### Example: + +```php +$channels.adminLogResults = ['_' => 'channels.adminLogResults', 'events' => [ChannelAdminLogEvent, ChannelAdminLogEvent], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +channels.adminLogResults={_='channels.adminLogResults', events={ChannelAdminLogEvent}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v91/constructors/channels.channelParticipant.md b/old_docs/API_docs_v91/constructors/channels.channelParticipant.md new file mode 100644 index 00000000..0f09777f --- /dev/null +++ b/old_docs/API_docs_v91/constructors/channels.channelParticipant.md @@ -0,0 +1,39 @@ +--- +title: channels.channelParticipant +description: Represents a channel participant +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: channels.channelParticipant +[Back to constructors index](index.md) + + + +Represents a channel participant + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|participant|[ChannelParticipant](../types/ChannelParticipant.md) | Yes|The channel participant| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [channels.ChannelParticipant](../types/channels.ChannelParticipant.md) + + +### Example: + +```php +$channels.channelParticipant = ['_' => 'channels.channelParticipant', 'participant' => ChannelParticipant, 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +channels.channelParticipant={_='channels.channelParticipant', participant=ChannelParticipant, users={User}} + +``` + + diff --git a/old_docs/API_docs_v91/constructors/channels.channelParticipants.md b/old_docs/API_docs_v91/constructors/channels.channelParticipants.md new file mode 100644 index 00000000..6ee1a8b3 --- /dev/null +++ b/old_docs/API_docs_v91/constructors/channels.channelParticipants.md @@ -0,0 +1,40 @@ +--- +title: channels.channelParticipants +description: Represents multiple channel participants +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: channels.channelParticipants +[Back to constructors index](index.md) + + + +Represents multiple channel participants + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of participants that correspond to the given query| +|participants|Array of [ChannelParticipant](../types/ChannelParticipant.md) | Yes|Participants| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [channels.ChannelParticipants](../types/channels.ChannelParticipants.md) + + +### Example: + +```php +$channels.channelParticipants = ['_' => 'channels.channelParticipants', 'count' => int, 'participants' => [ChannelParticipant, ChannelParticipant], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +channels.channelParticipants={_='channels.channelParticipants', count=int, participants={ChannelParticipant}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v91/constructors/channels.channelParticipantsNotModified.md b/old_docs/API_docs_v91/constructors/channels.channelParticipantsNotModified.md new file mode 100644 index 00000000..37ece73a --- /dev/null +++ b/old_docs/API_docs_v91/constructors/channels.channelParticipantsNotModified.md @@ -0,0 +1,33 @@ +--- +title: channels.channelParticipantsNotModified +description: No new participant info could be found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: channels.channelParticipantsNotModified +[Back to constructors index](index.md) + + + +No new participant info could be found + + + + +### Type: [channels.ChannelParticipants](../types/channels.ChannelParticipants.md) + + +### Example: + +```php +$channels.channelParticipantsNotModified = ['_' => 'channels.channelParticipantsNotModified']; +``` + + +Or, if you're into Lua: + +```lua +channels.channelParticipantsNotModified={_='channels.channelParticipantsNotModified'} + +``` + + diff --git a/old_docs/API_docs_v91/constructors/channels_adminLogResults.md b/old_docs/API_docs_v91/constructors/channels_adminLogResults.md deleted file mode 100644 index 9061212a..00000000 --- a/old_docs/API_docs_v91/constructors/channels_adminLogResults.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: channels.adminLogResults -description: Admin log events -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: channels.adminLogResults -[Back to constructors index](index.md) - - - -Admin log events - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|events|Array of [ChannelAdminLogEvent](../types/ChannelAdminLogEvent.md) | Yes|Events| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [channels\_AdminLogResults](../types/channels_AdminLogResults.md) - - -### Example: - -```php -$channels_adminLogResults = ['_' => 'channels.adminLogResults', 'events' => [ChannelAdminLogEvent, ChannelAdminLogEvent], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -channels_adminLogResults={_='channels.adminLogResults', events={ChannelAdminLogEvent}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v91/constructors/channels_channelParticipant.md b/old_docs/API_docs_v91/constructors/channels_channelParticipant.md deleted file mode 100644 index 15fe46a4..00000000 --- a/old_docs/API_docs_v91/constructors/channels_channelParticipant.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: channels.channelParticipant -description: Represents a channel participant -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: channels.channelParticipant -[Back to constructors index](index.md) - - - -Represents a channel participant - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|participant|[ChannelParticipant](../types/ChannelParticipant.md) | Yes|The channel participant| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [channels\_ChannelParticipant](../types/channels_ChannelParticipant.md) - - -### Example: - -```php -$channels_channelParticipant = ['_' => 'channels.channelParticipant', 'participant' => ChannelParticipant, 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -channels_channelParticipant={_='channels.channelParticipant', participant=ChannelParticipant, users={User}} - -``` - - diff --git a/old_docs/API_docs_v91/constructors/channels_channelParticipants.md b/old_docs/API_docs_v91/constructors/channels_channelParticipants.md deleted file mode 100644 index 1848a04f..00000000 --- a/old_docs/API_docs_v91/constructors/channels_channelParticipants.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: channels.channelParticipants -description: Represents multiple channel participants -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: channels.channelParticipants -[Back to constructors index](index.md) - - - -Represents multiple channel participants - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of participants that correspond to the given query| -|participants|Array of [ChannelParticipant](../types/ChannelParticipant.md) | Yes|Participants| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [channels\_ChannelParticipants](../types/channels_ChannelParticipants.md) - - -### Example: - -```php -$channels_channelParticipants = ['_' => 'channels.channelParticipants', 'count' => int, 'participants' => [ChannelParticipant, ChannelParticipant], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -channels_channelParticipants={_='channels.channelParticipants', count=int, participants={ChannelParticipant}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v91/constructors/channels_channelParticipantsNotModified.md b/old_docs/API_docs_v91/constructors/channels_channelParticipantsNotModified.md deleted file mode 100644 index 800048f7..00000000 --- a/old_docs/API_docs_v91/constructors/channels_channelParticipantsNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: channels.channelParticipantsNotModified -description: No new participant info could be found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: channels.channelParticipantsNotModified -[Back to constructors index](index.md) - - - -No new participant info could be found - - - - -### Type: [channels\_ChannelParticipants](../types/channels_ChannelParticipants.md) - - -### Example: - -```php -$channels_channelParticipantsNotModified = ['_' => 'channels.channelParticipantsNotModified']; -``` - - -Or, if you're into Lua: - -```lua -channels_channelParticipantsNotModified={_='channels.channelParticipantsNotModified'} - -``` - - diff --git a/old_docs/API_docs_v91/constructors/contacts.blocked.md b/old_docs/API_docs_v91/constructors/contacts.blocked.md new file mode 100644 index 00000000..d2b3f680 --- /dev/null +++ b/old_docs/API_docs_v91/constructors/contacts.blocked.md @@ -0,0 +1,39 @@ +--- +title: contacts.blocked +description: Full list of blocked users. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.blocked +[Back to constructors index](index.md) + + + +Full list of blocked users. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Blocked](../types/contacts.Blocked.md) + + +### Example: + +```php +$contacts.blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.blocked={_='contacts.blocked', blocked={ContactBlocked}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v91/constructors/contacts.blockedSlice.md b/old_docs/API_docs_v91/constructors/contacts.blockedSlice.md new file mode 100644 index 00000000..92d19c72 --- /dev/null +++ b/old_docs/API_docs_v91/constructors/contacts.blockedSlice.md @@ -0,0 +1,40 @@ +--- +title: contacts.blockedSlice +description: Incomplete list of blocked users. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.blockedSlice +[Back to constructors index](index.md) + + + +Incomplete list of blocked users. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of elements in the list| +|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Blocked](../types/contacts.Blocked.md) + + +### Example: + +```php +$contacts.blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.blockedSlice={_='contacts.blockedSlice', count=int, blocked={ContactBlocked}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v91/constructors/contacts.contacts.md b/old_docs/API_docs_v91/constructors/contacts.contacts.md new file mode 100644 index 00000000..c3251e5d --- /dev/null +++ b/old_docs/API_docs_v91/constructors/contacts.contacts.md @@ -0,0 +1,40 @@ +--- +title: contacts.contacts +description: The current user's contact list and info on users. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.contacts +[Back to constructors index](index.md) + + + +The current user's contact list and info on users. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|contacts|Array of [Contact](../types/Contact.md) | Yes|Contacts| +|saved\_count|[int](../types/int.md) | Yes|Number of contacts that were saved successfully| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Contacts](../types/contacts.Contacts.md) + + +### Example: + +```php +$contacts.contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact, Contact], 'saved_count' => int, 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.contacts={_='contacts.contacts', contacts={Contact}, saved_count=int, users={User}} + +``` + + diff --git a/old_docs/API_docs_v91/constructors/contacts.contactsNotModified.md b/old_docs/API_docs_v91/constructors/contacts.contactsNotModified.md new file mode 100644 index 00000000..e2149396 --- /dev/null +++ b/old_docs/API_docs_v91/constructors/contacts.contactsNotModified.md @@ -0,0 +1,33 @@ +--- +title: contacts.contactsNotModified +description: Contact list on the server is the same as the list on the client. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.contactsNotModified +[Back to constructors index](index.md) + + + +Contact list on the server is the same as the list on the client. + + + + +### Type: [contacts.Contacts](../types/contacts.Contacts.md) + + +### Example: + +```php +$contacts.contactsNotModified = ['_' => 'contacts.contactsNotModified']; +``` + + +Or, if you're into Lua: + +```lua +contacts.contactsNotModified={_='contacts.contactsNotModified'} + +``` + + diff --git a/old_docs/API_docs_v91/constructors/contacts.found.md b/old_docs/API_docs_v91/constructors/contacts.found.md new file mode 100644 index 00000000..65df2f8d --- /dev/null +++ b/old_docs/API_docs_v91/constructors/contacts.found.md @@ -0,0 +1,41 @@ +--- +title: contacts.found +description: Users found by name substring and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.found +[Back to constructors index](index.md) + + + +Users found by name substring and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|my\_results|Array of [Peer](../types/Peer.md) | Yes|My results| +|results|Array of [Peer](../types/Peer.md) | Yes|Results| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Found](../types/contacts.Found.md) + + +### Example: + +```php +$contacts.found = ['_' => 'contacts.found', 'my_results' => [Peer, Peer], 'results' => [Peer, Peer], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.found={_='contacts.found', my_results={Peer}, results={Peer}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v91/constructors/contacts.importedContacts.md b/old_docs/API_docs_v91/constructors/contacts.importedContacts.md new file mode 100644 index 00000000..20075931 --- /dev/null +++ b/old_docs/API_docs_v91/constructors/contacts.importedContacts.md @@ -0,0 +1,41 @@ +--- +title: contacts.importedContacts +description: Info on succesfully imported contacts. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.importedContacts +[Back to constructors index](index.md) + + + +Info on succesfully imported contacts. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|imported|Array of [ImportedContact](../types/ImportedContact.md) | Yes|Imported| +|popular\_invites|Array of [PopularContact](../types/PopularContact.md) | Yes|Popular invites| +|retry\_contacts|Array of [long](../types/long.md) | Yes|Retry importing contacts whose client IDs appear here| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.ImportedContacts](../types/contacts.ImportedContacts.md) + + +### Example: + +```php +$contacts.importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact, ImportedContact], 'popular_invites' => [PopularContact, PopularContact], 'retry_contacts' => [long, long], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.importedContacts={_='contacts.importedContacts', imported={ImportedContact}, popular_invites={PopularContact}, retry_contacts={long}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v91/constructors/contacts.link.md b/old_docs/API_docs_v91/constructors/contacts.link.md new file mode 100644 index 00000000..ab150a0d --- /dev/null +++ b/old_docs/API_docs_v91/constructors/contacts.link.md @@ -0,0 +1,40 @@ +--- +title: contacts.link +description: Link +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.link +[Back to constructors index](index.md) + + + +Link + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|my\_link|[ContactLink](../types/ContactLink.md) | Yes|My link| +|foreign\_link|[ContactLink](../types/ContactLink.md) | Yes|Foreign link| +|user|[User](../types/User.md) | Optional|User| + + + +### Type: [contacts.Link](../types/contacts.Link.md) + + +### Example: + +```php +$contacts.link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User]; +``` + + +Or, if you're into Lua: + +```lua +contacts.link={_='contacts.link', my_link=ContactLink, foreign_link=ContactLink, user=User} + +``` + + diff --git a/old_docs/API_docs_v91/constructors/contacts.resolvedPeer.md b/old_docs/API_docs_v91/constructors/contacts.resolvedPeer.md new file mode 100644 index 00000000..35d88481 --- /dev/null +++ b/old_docs/API_docs_v91/constructors/contacts.resolvedPeer.md @@ -0,0 +1,40 @@ +--- +title: contacts.resolvedPeer +description: Resolved peer +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.resolvedPeer +[Back to constructors index](index.md) + + + +Resolved peer + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|peer|[Peer](../types/Peer.md) | Yes|The peer| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.ResolvedPeer](../types/contacts.ResolvedPeer.md) + + +### Example: + +```php +$contacts.resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.resolvedPeer={_='contacts.resolvedPeer', peer=Peer, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v91/constructors/contacts.topPeers.md b/old_docs/API_docs_v91/constructors/contacts.topPeers.md new file mode 100644 index 00000000..19d9c712 --- /dev/null +++ b/old_docs/API_docs_v91/constructors/contacts.topPeers.md @@ -0,0 +1,40 @@ +--- +title: contacts.topPeers +description: Top peers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.topPeers +[Back to constructors index](index.md) + + + +Top peers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|categories|Array of [TopPeerCategoryPeers](../types/TopPeerCategoryPeers.md) | Yes|Categories| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.TopPeers](../types/contacts.TopPeers.md) + + +### Example: + +```php +$contacts.topPeers = ['_' => 'contacts.topPeers', 'categories' => [TopPeerCategoryPeers, TopPeerCategoryPeers], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.topPeers={_='contacts.topPeers', categories={TopPeerCategoryPeers}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v91/constructors/contacts.topPeersDisabled.md b/old_docs/API_docs_v91/constructors/contacts.topPeersDisabled.md new file mode 100644 index 00000000..a0e2c50b --- /dev/null +++ b/old_docs/API_docs_v91/constructors/contacts.topPeersDisabled.md @@ -0,0 +1,33 @@ +--- +title: contacts.topPeersDisabled +description: Top peers disabled +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.topPeersDisabled +[Back to constructors index](index.md) + + + +Top peers disabled + + + + +### Type: [contacts.TopPeers](../types/contacts.TopPeers.md) + + +### Example: + +```php +$contacts.topPeersDisabled = ['_' => 'contacts.topPeersDisabled']; +``` + + +Or, if you're into Lua: + +```lua +contacts.topPeersDisabled={_='contacts.topPeersDisabled'} + +``` + + diff --git a/old_docs/API_docs_v91/constructors/contacts.topPeersNotModified.md b/old_docs/API_docs_v91/constructors/contacts.topPeersNotModified.md new file mode 100644 index 00000000..77c5eb4d --- /dev/null +++ b/old_docs/API_docs_v91/constructors/contacts.topPeersNotModified.md @@ -0,0 +1,33 @@ +--- +title: contacts.topPeersNotModified +description: Top peer info hasn't changed +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.topPeersNotModified +[Back to constructors index](index.md) + + + +Top peer info hasn't changed + + + + +### Type: [contacts.TopPeers](../types/contacts.TopPeers.md) + + +### Example: + +```php +$contacts.topPeersNotModified = ['_' => 'contacts.topPeersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +contacts.topPeersNotModified={_='contacts.topPeersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v91/constructors/contacts_blocked.md b/old_docs/API_docs_v91/constructors/contacts_blocked.md deleted file mode 100644 index 20e33002..00000000 --- a/old_docs/API_docs_v91/constructors/contacts_blocked.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: contacts.blocked -description: Full list of blocked users. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.blocked -[Back to constructors index](index.md) - - - -Full list of blocked users. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Blocked](../types/contacts_Blocked.md) - - -### Example: - -```php -$contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_blocked={_='contacts.blocked', blocked={ContactBlocked}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v91/constructors/contacts_blockedSlice.md b/old_docs/API_docs_v91/constructors/contacts_blockedSlice.md deleted file mode 100644 index fcab9a28..00000000 --- a/old_docs/API_docs_v91/constructors/contacts_blockedSlice.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.blockedSlice -description: Incomplete list of blocked users. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.blockedSlice -[Back to constructors index](index.md) - - - -Incomplete list of blocked users. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of elements in the list| -|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Blocked](../types/contacts_Blocked.md) - - -### Example: - -```php -$contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_blockedSlice={_='contacts.blockedSlice', count=int, blocked={ContactBlocked}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v91/constructors/contacts_contacts.md b/old_docs/API_docs_v91/constructors/contacts_contacts.md deleted file mode 100644 index 0e6f0dd3..00000000 --- a/old_docs/API_docs_v91/constructors/contacts_contacts.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.contacts -description: The current user's contact list and info on users. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.contacts -[Back to constructors index](index.md) - - - -The current user's contact list and info on users. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|contacts|Array of [Contact](../types/Contact.md) | Yes|Contacts| -|saved\_count|[int](../types/int.md) | Yes|Number of contacts that were saved successfully| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Contacts](../types/contacts_Contacts.md) - - -### Example: - -```php -$contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact, Contact], 'saved_count' => int, 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_contacts={_='contacts.contacts', contacts={Contact}, saved_count=int, users={User}} - -``` - - diff --git a/old_docs/API_docs_v91/constructors/contacts_contactsNotModified.md b/old_docs/API_docs_v91/constructors/contacts_contactsNotModified.md deleted file mode 100644 index 17e76ac3..00000000 --- a/old_docs/API_docs_v91/constructors/contacts_contactsNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: contacts.contactsNotModified -description: Contact list on the server is the same as the list on the client. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.contactsNotModified -[Back to constructors index](index.md) - - - -Contact list on the server is the same as the list on the client. - - - - -### Type: [contacts\_Contacts](../types/contacts_Contacts.md) - - -### Example: - -```php -$contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified']; -``` - - -Or, if you're into Lua: - -```lua -contacts_contactsNotModified={_='contacts.contactsNotModified'} - -``` - - diff --git a/old_docs/API_docs_v91/constructors/contacts_found.md b/old_docs/API_docs_v91/constructors/contacts_found.md deleted file mode 100644 index 76b9aa0c..00000000 --- a/old_docs/API_docs_v91/constructors/contacts_found.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: contacts.found -description: Users found by name substring and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.found -[Back to constructors index](index.md) - - - -Users found by name substring and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|my\_results|Array of [Peer](../types/Peer.md) | Yes|My results| -|results|Array of [Peer](../types/Peer.md) | Yes|Results| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Found](../types/contacts_Found.md) - - -### Example: - -```php -$contacts_found = ['_' => 'contacts.found', 'my_results' => [Peer, Peer], 'results' => [Peer, Peer], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_found={_='contacts.found', my_results={Peer}, results={Peer}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v91/constructors/contacts_importedContacts.md b/old_docs/API_docs_v91/constructors/contacts_importedContacts.md deleted file mode 100644 index e534754b..00000000 --- a/old_docs/API_docs_v91/constructors/contacts_importedContacts.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: contacts.importedContacts -description: Info on succesfully imported contacts. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.importedContacts -[Back to constructors index](index.md) - - - -Info on succesfully imported contacts. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|imported|Array of [ImportedContact](../types/ImportedContact.md) | Yes|Imported| -|popular\_invites|Array of [PopularContact](../types/PopularContact.md) | Yes|Popular invites| -|retry\_contacts|Array of [long](../types/long.md) | Yes|Retry importing contacts whose client IDs appear here| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) - - -### Example: - -```php -$contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact, ImportedContact], 'popular_invites' => [PopularContact, PopularContact], 'retry_contacts' => [long, long], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_importedContacts={_='contacts.importedContacts', imported={ImportedContact}, popular_invites={PopularContact}, retry_contacts={long}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v91/constructors/contacts_link.md b/old_docs/API_docs_v91/constructors/contacts_link.md deleted file mode 100644 index cfc566c7..00000000 --- a/old_docs/API_docs_v91/constructors/contacts_link.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.link -description: Link -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.link -[Back to constructors index](index.md) - - - -Link - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|my\_link|[ContactLink](../types/ContactLink.md) | Yes|My link| -|foreign\_link|[ContactLink](../types/ContactLink.md) | Yes|Foreign link| -|user|[User](../types/User.md) | Optional|User| - - - -### Type: [contacts\_Link](../types/contacts_Link.md) - - -### Example: - -```php -$contacts_link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User]; -``` - - -Or, if you're into Lua: - -```lua -contacts_link={_='contacts.link', my_link=ContactLink, foreign_link=ContactLink, user=User} - -``` - - diff --git a/old_docs/API_docs_v91/constructors/contacts_resolvedPeer.md b/old_docs/API_docs_v91/constructors/contacts_resolvedPeer.md deleted file mode 100644 index aae3c7af..00000000 --- a/old_docs/API_docs_v91/constructors/contacts_resolvedPeer.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.resolvedPeer -description: Resolved peer -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.resolvedPeer -[Back to constructors index](index.md) - - - -Resolved peer - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|peer|[Peer](../types/Peer.md) | Yes|The peer| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_ResolvedPeer](../types/contacts_ResolvedPeer.md) - - -### Example: - -```php -$contacts_resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_resolvedPeer={_='contacts.resolvedPeer', peer=Peer, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v91/constructors/contacts_topPeers.md b/old_docs/API_docs_v91/constructors/contacts_topPeers.md deleted file mode 100644 index 77bc07d3..00000000 --- a/old_docs/API_docs_v91/constructors/contacts_topPeers.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.topPeers -description: Top peers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.topPeers -[Back to constructors index](index.md) - - - -Top peers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|categories|Array of [TopPeerCategoryPeers](../types/TopPeerCategoryPeers.md) | Yes|Categories| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_TopPeers](../types/contacts_TopPeers.md) - - -### Example: - -```php -$contacts_topPeers = ['_' => 'contacts.topPeers', 'categories' => [TopPeerCategoryPeers, TopPeerCategoryPeers], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_topPeers={_='contacts.topPeers', categories={TopPeerCategoryPeers}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v91/constructors/contacts_topPeersDisabled.md b/old_docs/API_docs_v91/constructors/contacts_topPeersDisabled.md deleted file mode 100644 index e359a76d..00000000 --- a/old_docs/API_docs_v91/constructors/contacts_topPeersDisabled.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: contacts.topPeersDisabled -description: Top peers disabled -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.topPeersDisabled -[Back to constructors index](index.md) - - - -Top peers disabled - - - - -### Type: [contacts\_TopPeers](../types/contacts_TopPeers.md) - - -### Example: - -```php -$contacts_topPeersDisabled = ['_' => 'contacts.topPeersDisabled']; -``` - - -Or, if you're into Lua: - -```lua -contacts_topPeersDisabled={_='contacts.topPeersDisabled'} - -``` - - diff --git a/old_docs/API_docs_v91/constructors/contacts_topPeersNotModified.md b/old_docs/API_docs_v91/constructors/contacts_topPeersNotModified.md deleted file mode 100644 index 43eae59d..00000000 --- a/old_docs/API_docs_v91/constructors/contacts_topPeersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: contacts.topPeersNotModified -description: Top peer info hasn't changed -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.topPeersNotModified -[Back to constructors index](index.md) - - - -Top peer info hasn't changed - - - - -### Type: [contacts\_TopPeers](../types/contacts_TopPeers.md) - - -### Example: - -```php -$contacts_topPeersNotModified = ['_' => 'contacts.topPeersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -contacts_topPeersNotModified={_='contacts.topPeersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v91/constructors/help.appUpdate.md b/old_docs/API_docs_v91/constructors/help.appUpdate.md new file mode 100644 index 00000000..90b41636 --- /dev/null +++ b/old_docs/API_docs_v91/constructors/help.appUpdate.md @@ -0,0 +1,44 @@ +--- +title: help.appUpdate +description: An update is available for the application. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.appUpdate +[Back to constructors index](index.md) + + + +An update is available for the application. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|popup|[Bool](../types/Bool.md) | Optional|Popup?| +|id|[int](../types/int.md) | Yes|Update ID| +|version|[string](../types/string.md) | Yes|New version name| +|text|[string](../types/string.md) | Yes|Text description of the update| +|entities|Array of [MessageEntity](../types/MessageEntity.md) | Yes|Entities| +|document|[Document](../types/Document.md) | Optional|Attached document| +|url|[string](../types/string.md) | Optional|Application download URL| + + + +### Type: [help.AppUpdate](../types/help.AppUpdate.md) + + +### Example: + +```php +$help.appUpdate = ['_' => 'help.appUpdate', 'popup' => Bool, 'id' => int, 'version' => 'string', 'text' => 'string', 'entities' => [MessageEntity, MessageEntity], 'document' => Document, 'url' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +help.appUpdate={_='help.appUpdate', popup=Bool, id=int, version='string', text='string', entities={MessageEntity}, document=Document, url='string'} + +``` + + diff --git a/old_docs/API_docs_v91/constructors/help.configSimple.md b/old_docs/API_docs_v91/constructors/help.configSimple.md new file mode 100644 index 00000000..4070e1ce --- /dev/null +++ b/old_docs/API_docs_v91/constructors/help.configSimple.md @@ -0,0 +1,40 @@ +--- +title: help.configSimple +description: Config simple +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.configSimple +[Back to constructors index](index.md) + + + +Config simple + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Date| +|expires|[int](../types/int.md) | Yes|Expires| +|rules|Array of [AccessPointRule](../types/AccessPointRule.md) | Yes|Rules| + + + +### Type: [help.ConfigSimple](../types/help.ConfigSimple.md) + + +### Example: + +```php +$help.configSimple = ['_' => 'help.configSimple', 'date' => int, 'expires' => int, 'rules' => [AccessPointRule, AccessPointRule]]; +``` + + +Or, if you're into Lua: + +```lua +help.configSimple={_='help.configSimple', date=int, expires=int, rules={AccessPointRule}} + +``` + + diff --git a/old_docs/API_docs_v91/constructors/help.deepLinkInfo.md b/old_docs/API_docs_v91/constructors/help.deepLinkInfo.md new file mode 100644 index 00000000..78f70af0 --- /dev/null +++ b/old_docs/API_docs_v91/constructors/help.deepLinkInfo.md @@ -0,0 +1,40 @@ +--- +title: help.deepLinkInfo +description: Deep linking info +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.deepLinkInfo +[Back to constructors index](index.md) + + + +Deep linking info + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|update\_app|[Bool](../types/Bool.md) | Optional|An update of the app is required to parse this link| +|message|[string](../types/string.md) | Yes|Message to show to the user| +|entities|Array of [MessageEntity](../types/MessageEntity.md) | Optional|Entities| + + + +### Type: [help.DeepLinkInfo](../types/help.DeepLinkInfo.md) + + +### Example: + +```php +$help.deepLinkInfo = ['_' => 'help.deepLinkInfo', 'update_app' => Bool, 'message' => 'string', 'entities' => [MessageEntity, MessageEntity]]; +``` + + +Or, if you're into Lua: + +```lua +help.deepLinkInfo={_='help.deepLinkInfo', update_app=Bool, message='string', entities={MessageEntity}} + +``` + + diff --git a/old_docs/API_docs_v91/constructors/help.deepLinkInfoEmpty.md b/old_docs/API_docs_v91/constructors/help.deepLinkInfoEmpty.md new file mode 100644 index 00000000..dc99166c --- /dev/null +++ b/old_docs/API_docs_v91/constructors/help.deepLinkInfoEmpty.md @@ -0,0 +1,33 @@ +--- +title: help.deepLinkInfoEmpty +description: Deep link info empty +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.deepLinkInfoEmpty +[Back to constructors index](index.md) + + + +Deep link info empty + + + + +### Type: [help.DeepLinkInfo](../types/help.DeepLinkInfo.md) + + +### Example: + +```php +$help.deepLinkInfoEmpty = ['_' => 'help.deepLinkInfoEmpty']; +``` + + +Or, if you're into Lua: + +```lua +help.deepLinkInfoEmpty={_='help.deepLinkInfoEmpty'} + +``` + + diff --git a/old_docs/API_docs_v91/constructors/help.inviteText.md b/old_docs/API_docs_v91/constructors/help.inviteText.md new file mode 100644 index 00000000..6a6261c1 --- /dev/null +++ b/old_docs/API_docs_v91/constructors/help.inviteText.md @@ -0,0 +1,38 @@ +--- +title: help.inviteText +description: Text of a text message with an invitation to install application. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.inviteText +[Back to constructors index](index.md) + + + +Text of a text message with an invitation to install application. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|message|[string](../types/string.md) | Yes|Text of a message| + + + +### Type: [help.InviteText](../types/help.InviteText.md) + + +### Example: + +```php +$help.inviteText = ['_' => 'help.inviteText', 'message' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +help.inviteText={_='help.inviteText', message='string'} + +``` + + diff --git a/old_docs/API_docs_v91/constructors/help.noAppUpdate.md b/old_docs/API_docs_v91/constructors/help.noAppUpdate.md new file mode 100644 index 00000000..1b69ac9a --- /dev/null +++ b/old_docs/API_docs_v91/constructors/help.noAppUpdate.md @@ -0,0 +1,33 @@ +--- +title: help.noAppUpdate +description: No updates are available for the application. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.noAppUpdate +[Back to constructors index](index.md) + + + +No updates are available for the application. + + + + +### Type: [help.AppUpdate](../types/help.AppUpdate.md) + + +### Example: + +```php +$help.noAppUpdate = ['_' => 'help.noAppUpdate']; +``` + + +Or, if you're into Lua: + +```lua +help.noAppUpdate={_='help.noAppUpdate'} + +``` + + diff --git a/old_docs/API_docs_v91/constructors/help.passportConfig.md b/old_docs/API_docs_v91/constructors/help.passportConfig.md new file mode 100644 index 00000000..b418b611 --- /dev/null +++ b/old_docs/API_docs_v91/constructors/help.passportConfig.md @@ -0,0 +1,39 @@ +--- +title: help.passportConfig +description: Telegram [passport](https://core.telegram.org/passport) configuration +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.passportConfig +[Back to constructors index](index.md) + + + +Telegram [passport](https://core.telegram.org/passport) configuration + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|countries\_langs|[DataJSON](../types/DataJSON.md) | Yes|Localization| + + + +### Type: [help.PassportConfig](../types/help.PassportConfig.md) + + +### Example: + +```php +$help.passportConfig = ['_' => 'help.passportConfig', 'hash' => int, 'countries_langs' => DataJSON]; +``` + + +Or, if you're into Lua: + +```lua +help.passportConfig={_='help.passportConfig', hash=int, countries_langs=DataJSON} + +``` + + diff --git a/old_docs/API_docs_v91/constructors/help.passportConfigNotModified.md b/old_docs/API_docs_v91/constructors/help.passportConfigNotModified.md new file mode 100644 index 00000000..d48cc55b --- /dev/null +++ b/old_docs/API_docs_v91/constructors/help.passportConfigNotModified.md @@ -0,0 +1,33 @@ +--- +title: help.passportConfigNotModified +description: Password configuration not modified +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.passportConfigNotModified +[Back to constructors index](index.md) + + + +Password configuration not modified + + + + +### Type: [help.PassportConfig](../types/help.PassportConfig.md) + + +### Example: + +```php +$help.passportConfigNotModified = ['_' => 'help.passportConfigNotModified']; +``` + + +Or, if you're into Lua: + +```lua +help.passportConfigNotModified={_='help.passportConfigNotModified'} + +``` + + diff --git a/old_docs/API_docs_v91/constructors/help.proxyDataEmpty.md b/old_docs/API_docs_v91/constructors/help.proxyDataEmpty.md new file mode 100644 index 00000000..66fd63ac --- /dev/null +++ b/old_docs/API_docs_v91/constructors/help.proxyDataEmpty.md @@ -0,0 +1,38 @@ +--- +title: help.proxyDataEmpty +description: No proxy was used to connect to tg (or none was provided to [initConnection](../methods/initConnection.md), or the used proxy doesn't have a promotion channel associated to it) +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.proxyDataEmpty +[Back to constructors index](index.md) + + + +No proxy was used to connect to tg (or none was provided to [initConnection](../methods/initConnection.md), or the used proxy doesn't have a promotion channel associated to it) + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|expires|[int](../types/int.md) | Yes|Expiration date of proxy info, will have to be refetched in `expires` seconds| + + + +### Type: [help.ProxyData](../types/help.ProxyData.md) + + +### Example: + +```php +$help.proxyDataEmpty = ['_' => 'help.proxyDataEmpty', 'expires' => int]; +``` + + +Or, if you're into Lua: + +```lua +help.proxyDataEmpty={_='help.proxyDataEmpty', expires=int} + +``` + + diff --git a/old_docs/API_docs_v91/constructors/help.proxyDataPromo.md b/old_docs/API_docs_v91/constructors/help.proxyDataPromo.md new file mode 100644 index 00000000..eb32aabd --- /dev/null +++ b/old_docs/API_docs_v91/constructors/help.proxyDataPromo.md @@ -0,0 +1,41 @@ +--- +title: help.proxyDataPromo +description: Promotion channel associated to a certain MTProxy +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.proxyDataPromo +[Back to constructors index](index.md) + + + +Promotion channel associated to a certain MTProxy + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|expires|[int](../types/int.md) | Yes|Expiration date of proxy info, will have to be refetched in `expires` seconds| +|peer|[Peer](../types/Peer.md) | Yes|The promoted channel| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [help.ProxyData](../types/help.ProxyData.md) + + +### Example: + +```php +$help.proxyDataPromo = ['_' => 'help.proxyDataPromo', 'expires' => int, 'peer' => Peer, 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +help.proxyDataPromo={_='help.proxyDataPromo', expires=int, peer=Peer, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v91/constructors/help.recentMeUrls.md b/old_docs/API_docs_v91/constructors/help.recentMeUrls.md new file mode 100644 index 00000000..711407b7 --- /dev/null +++ b/old_docs/API_docs_v91/constructors/help.recentMeUrls.md @@ -0,0 +1,40 @@ +--- +title: help.recentMeUrls +description: Recent t.me URLs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.recentMeUrls +[Back to constructors index](index.md) + + + +Recent t.me URLs + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|urls|Array of [RecentMeUrl](../types/RecentMeUrl.md) | Yes|URLs| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [help.RecentMeUrls](../types/help.RecentMeUrls.md) + + +### Example: + +```php +$help.recentMeUrls = ['_' => 'help.recentMeUrls', 'urls' => [RecentMeUrl, RecentMeUrl], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +help.recentMeUrls={_='help.recentMeUrls', urls={RecentMeUrl}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v91/constructors/help.support.md b/old_docs/API_docs_v91/constructors/help.support.md new file mode 100644 index 00000000..4d4f85fb --- /dev/null +++ b/old_docs/API_docs_v91/constructors/help.support.md @@ -0,0 +1,39 @@ +--- +title: help.support +description: Info on support user. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.support +[Back to constructors index](index.md) + + + +Info on support user. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_number|[string](../types/string.md) | Yes|Phone number| +|user|[User](../types/User.md) | Optional|User| + + + +### Type: [help.Support](../types/help.Support.md) + + +### Example: + +```php +$help.support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => User]; +``` + + +Or, if you're into Lua: + +```lua +help.support={_='help.support', phone_number='string', user=User} + +``` + + diff --git a/old_docs/API_docs_v91/constructors/help.supportName.md b/old_docs/API_docs_v91/constructors/help.supportName.md new file mode 100644 index 00000000..3d66c8d9 --- /dev/null +++ b/old_docs/API_docs_v91/constructors/help.supportName.md @@ -0,0 +1,38 @@ +--- +title: help.supportName +description: Localized name for telegram support +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.supportName +[Back to constructors index](index.md) + + + +Localized name for telegram support + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|name|[string](../types/string.md) | Yes|Localized name| + + + +### Type: [help.SupportName](../types/help.SupportName.md) + + +### Example: + +```php +$help.supportName = ['_' => 'help.supportName', 'name' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +help.supportName={_='help.supportName', name='string'} + +``` + + diff --git a/old_docs/API_docs_v91/constructors/help.termsOfService.md b/old_docs/API_docs_v91/constructors/help.termsOfService.md new file mode 100644 index 00000000..61ffb70a --- /dev/null +++ b/old_docs/API_docs_v91/constructors/help.termsOfService.md @@ -0,0 +1,42 @@ +--- +title: help.termsOfService +description: Info about the latest telegram Terms Of Service +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.termsOfService +[Back to constructors index](index.md) + + + +Info about the latest telegram Terms Of Service + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|popup|[Bool](../types/Bool.md) | Optional|Whether a prompt must be showed to the user, in order to accept the new terms.| +|id|[DataJSON](../types/DataJSON.md) | Yes|ID of the new terms| +|text|[string](../types/string.md) | Yes|Text of the new terms| +|entities|Array of [MessageEntity](../types/MessageEntity.md) | Yes|Entities| +|min\_age\_confirm|[int](../types/int.md) | Optional|Minimum age required to sign up to telegram, the user must confirm that they is older than the minimum age.| + + + +### Type: [help.TermsOfService](../types/help.TermsOfService.md) + + +### Example: + +```php +$help.termsOfService = ['_' => 'help.termsOfService', 'popup' => Bool, 'id' => DataJSON, 'text' => 'string', 'entities' => [MessageEntity, MessageEntity], 'min_age_confirm' => int]; +``` + + +Or, if you're into Lua: + +```lua +help.termsOfService={_='help.termsOfService', popup=Bool, id=DataJSON, text='string', entities={MessageEntity}, min_age_confirm=int} + +``` + + diff --git a/old_docs/API_docs_v91/constructors/help.termsOfServiceUpdate.md b/old_docs/API_docs_v91/constructors/help.termsOfServiceUpdate.md new file mode 100644 index 00000000..058a3655 --- /dev/null +++ b/old_docs/API_docs_v91/constructors/help.termsOfServiceUpdate.md @@ -0,0 +1,39 @@ +--- +title: help.termsOfServiceUpdate +description: Info about an update of telegram's terms of service. If the terms of service are declined, then the [account.deleteAccount](../methods/account.deleteAccount.md) method should be called with the reason "Decline ToS update" +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.termsOfServiceUpdate +[Back to constructors index](index.md) + + + +Info about an update of telegram's terms of service. If the terms of service are declined, then the [account.deleteAccount](../methods/account.deleteAccount.md) method should be called with the reason "Decline ToS update" + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|expires|[int](../types/int.md) | Yes|New TOS updates will have to be queried using [help.getTermsOfServiceUpdate](../methods/help.getTermsOfServiceUpdate.md) in `expires` seconds| +|terms\_of\_service|[help.TermsOfService](../constructors/help.TermsOfService.md) | Yes|New terms of service| + + + +### Type: [help.TermsOfServiceUpdate](../types/help.TermsOfServiceUpdate.md) + + +### Example: + +```php +$help.termsOfServiceUpdate = ['_' => 'help.termsOfServiceUpdate', 'expires' => int, 'terms_of_service' => help.TermsOfService]; +``` + + +Or, if you're into Lua: + +```lua +help.termsOfServiceUpdate={_='help.termsOfServiceUpdate', expires=int, terms_of_service=help.TermsOfService} + +``` + + diff --git a/old_docs/API_docs_v91/constructors/help.termsOfServiceUpdateEmpty.md b/old_docs/API_docs_v91/constructors/help.termsOfServiceUpdateEmpty.md new file mode 100644 index 00000000..8213a41e --- /dev/null +++ b/old_docs/API_docs_v91/constructors/help.termsOfServiceUpdateEmpty.md @@ -0,0 +1,38 @@ +--- +title: help.termsOfServiceUpdateEmpty +description: No changes were made to telegram's terms of service +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.termsOfServiceUpdateEmpty +[Back to constructors index](index.md) + + + +No changes were made to telegram's terms of service + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|expires|[int](../types/int.md) | Yes|New TOS updates will have to be queried using [help.getTermsOfServiceUpdate](../methods/help.getTermsOfServiceUpdate.md) in `expires` seconds| + + + +### Type: [help.TermsOfServiceUpdate](../types/help.TermsOfServiceUpdate.md) + + +### Example: + +```php +$help.termsOfServiceUpdateEmpty = ['_' => 'help.termsOfServiceUpdateEmpty', 'expires' => int]; +``` + + +Or, if you're into Lua: + +```lua +help.termsOfServiceUpdateEmpty={_='help.termsOfServiceUpdateEmpty', expires=int} + +``` + + diff --git a/old_docs/API_docs_v91/constructors/help.userInfo.md b/old_docs/API_docs_v91/constructors/help.userInfo.md new file mode 100644 index 00000000..172df165 --- /dev/null +++ b/old_docs/API_docs_v91/constructors/help.userInfo.md @@ -0,0 +1,41 @@ +--- +title: help.userInfo +description: Internal use +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.userInfo +[Back to constructors index](index.md) + + + +Internal use + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|message|[string](../types/string.md) | Yes|Info| +|entities|Array of [MessageEntity](../types/MessageEntity.md) | Yes|Entities| +|author|[string](../types/string.md) | Yes|Author| +|date|[int](../types/int.md) | Yes|Date| + + + +### Type: [help.UserInfo](../types/help.UserInfo.md) + + +### Example: + +```php +$help.userInfo = ['_' => 'help.userInfo', 'message' => 'string', 'entities' => [MessageEntity, MessageEntity], 'author' => 'string', 'date' => int]; +``` + + +Or, if you're into Lua: + +```lua +help.userInfo={_='help.userInfo', message='string', entities={MessageEntity}, author='string', date=int} + +``` + + diff --git a/old_docs/API_docs_v91/constructors/help.userInfoEmpty.md b/old_docs/API_docs_v91/constructors/help.userInfoEmpty.md new file mode 100644 index 00000000..c284d602 --- /dev/null +++ b/old_docs/API_docs_v91/constructors/help.userInfoEmpty.md @@ -0,0 +1,33 @@ +--- +title: help.userInfoEmpty +description: Internal use +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.userInfoEmpty +[Back to constructors index](index.md) + + + +Internal use + + + + +### Type: [help.UserInfo](../types/help.UserInfo.md) + + +### Example: + +```php +$help.userInfoEmpty = ['_' => 'help.userInfoEmpty']; +``` + + +Or, if you're into Lua: + +```lua +help.userInfoEmpty={_='help.userInfoEmpty'} + +``` + + diff --git a/old_docs/API_docs_v91/constructors/help_appUpdate.md b/old_docs/API_docs_v91/constructors/help_appUpdate.md deleted file mode 100644 index 67960b34..00000000 --- a/old_docs/API_docs_v91/constructors/help_appUpdate.md +++ /dev/null @@ -1,44 +0,0 @@ ---- -title: help.appUpdate -description: An update is available for the application. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.appUpdate -[Back to constructors index](index.md) - - - -An update is available for the application. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|popup|[Bool](../types/Bool.md) | Optional|Popup?| -|id|[int](../types/int.md) | Yes|Update ID| -|version|[string](../types/string.md) | Yes|New version name| -|text|[string](../types/string.md) | Yes|Text description of the update| -|entities|Array of [MessageEntity](../types/MessageEntity.md) | Yes|Entities| -|document|[Document](../types/Document.md) | Optional|Attached document| -|url|[string](../types/string.md) | Optional|Application download URL| - - - -### Type: [help\_AppUpdate](../types/help_AppUpdate.md) - - -### Example: - -```php -$help_appUpdate = ['_' => 'help.appUpdate', 'popup' => Bool, 'id' => int, 'version' => 'string', 'text' => 'string', 'entities' => [MessageEntity, MessageEntity], 'document' => Document, 'url' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -help_appUpdate={_='help.appUpdate', popup=Bool, id=int, version='string', text='string', entities={MessageEntity}, document=Document, url='string'} - -``` - - diff --git a/old_docs/API_docs_v91/constructors/help_configSimple.md b/old_docs/API_docs_v91/constructors/help_configSimple.md deleted file mode 100644 index 8c07ec9b..00000000 --- a/old_docs/API_docs_v91/constructors/help_configSimple.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: help.configSimple -description: Config simple -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.configSimple -[Back to constructors index](index.md) - - - -Config simple - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Date| -|expires|[int](../types/int.md) | Yes|Expires| -|rules|Array of [AccessPointRule](../types/AccessPointRule.md) | Yes|Rules| - - - -### Type: [help\_ConfigSimple](../types/help_ConfigSimple.md) - - -### Example: - -```php -$help_configSimple = ['_' => 'help.configSimple', 'date' => int, 'expires' => int, 'rules' => [AccessPointRule, AccessPointRule]]; -``` - - -Or, if you're into Lua: - -```lua -help_configSimple={_='help.configSimple', date=int, expires=int, rules={AccessPointRule}} - -``` - - diff --git a/old_docs/API_docs_v91/constructors/help_deepLinkInfo.md b/old_docs/API_docs_v91/constructors/help_deepLinkInfo.md deleted file mode 100644 index bcc24ecd..00000000 --- a/old_docs/API_docs_v91/constructors/help_deepLinkInfo.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: help.deepLinkInfo -description: Deep linking info -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.deepLinkInfo -[Back to constructors index](index.md) - - - -Deep linking info - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|update\_app|[Bool](../types/Bool.md) | Optional|An update of the app is required to parse this link| -|message|[string](../types/string.md) | Yes|Message to show to the user| -|entities|Array of [MessageEntity](../types/MessageEntity.md) | Optional|Entities| - - - -### Type: [help\_DeepLinkInfo](../types/help_DeepLinkInfo.md) - - -### Example: - -```php -$help_deepLinkInfo = ['_' => 'help.deepLinkInfo', 'update_app' => Bool, 'message' => 'string', 'entities' => [MessageEntity, MessageEntity]]; -``` - - -Or, if you're into Lua: - -```lua -help_deepLinkInfo={_='help.deepLinkInfo', update_app=Bool, message='string', entities={MessageEntity}} - -``` - - diff --git a/old_docs/API_docs_v91/constructors/help_deepLinkInfoEmpty.md b/old_docs/API_docs_v91/constructors/help_deepLinkInfoEmpty.md deleted file mode 100644 index ab876dd5..00000000 --- a/old_docs/API_docs_v91/constructors/help_deepLinkInfoEmpty.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: help.deepLinkInfoEmpty -description: Deep link info empty -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.deepLinkInfoEmpty -[Back to constructors index](index.md) - - - -Deep link info empty - - - - -### Type: [help\_DeepLinkInfo](../types/help_DeepLinkInfo.md) - - -### Example: - -```php -$help_deepLinkInfoEmpty = ['_' => 'help.deepLinkInfoEmpty']; -``` - - -Or, if you're into Lua: - -```lua -help_deepLinkInfoEmpty={_='help.deepLinkInfoEmpty'} - -``` - - diff --git a/old_docs/API_docs_v91/constructors/help_inviteText.md b/old_docs/API_docs_v91/constructors/help_inviteText.md deleted file mode 100644 index b8317ce3..00000000 --- a/old_docs/API_docs_v91/constructors/help_inviteText.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: help.inviteText -description: Text of a text message with an invitation to install application. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.inviteText -[Back to constructors index](index.md) - - - -Text of a text message with an invitation to install application. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|message|[string](../types/string.md) | Yes|Text of a message| - - - -### Type: [help\_InviteText](../types/help_InviteText.md) - - -### Example: - -```php -$help_inviteText = ['_' => 'help.inviteText', 'message' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -help_inviteText={_='help.inviteText', message='string'} - -``` - - diff --git a/old_docs/API_docs_v91/constructors/help_noAppUpdate.md b/old_docs/API_docs_v91/constructors/help_noAppUpdate.md deleted file mode 100644 index 51505e52..00000000 --- a/old_docs/API_docs_v91/constructors/help_noAppUpdate.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: help.noAppUpdate -description: No updates are available for the application. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.noAppUpdate -[Back to constructors index](index.md) - - - -No updates are available for the application. - - - - -### Type: [help\_AppUpdate](../types/help_AppUpdate.md) - - -### Example: - -```php -$help_noAppUpdate = ['_' => 'help.noAppUpdate']; -``` - - -Or, if you're into Lua: - -```lua -help_noAppUpdate={_='help.noAppUpdate'} - -``` - - diff --git a/old_docs/API_docs_v91/constructors/help_passportConfig.md b/old_docs/API_docs_v91/constructors/help_passportConfig.md deleted file mode 100644 index 9722c925..00000000 --- a/old_docs/API_docs_v91/constructors/help_passportConfig.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: help.passportConfig -description: Telegram [passport](https://core.telegram.org/passport) configuration -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.passportConfig -[Back to constructors index](index.md) - - - -Telegram [passport](https://core.telegram.org/passport) configuration - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|countries\_langs|[DataJSON](../types/DataJSON.md) | Yes|Localization| - - - -### Type: [help\_PassportConfig](../types/help_PassportConfig.md) - - -### Example: - -```php -$help_passportConfig = ['_' => 'help.passportConfig', 'hash' => int, 'countries_langs' => DataJSON]; -``` - - -Or, if you're into Lua: - -```lua -help_passportConfig={_='help.passportConfig', hash=int, countries_langs=DataJSON} - -``` - - diff --git a/old_docs/API_docs_v91/constructors/help_passportConfigNotModified.md b/old_docs/API_docs_v91/constructors/help_passportConfigNotModified.md deleted file mode 100644 index af7769aa..00000000 --- a/old_docs/API_docs_v91/constructors/help_passportConfigNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: help.passportConfigNotModified -description: Password configuration not modified -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.passportConfigNotModified -[Back to constructors index](index.md) - - - -Password configuration not modified - - - - -### Type: [help\_PassportConfig](../types/help_PassportConfig.md) - - -### Example: - -```php -$help_passportConfigNotModified = ['_' => 'help.passportConfigNotModified']; -``` - - -Or, if you're into Lua: - -```lua -help_passportConfigNotModified={_='help.passportConfigNotModified'} - -``` - - diff --git a/old_docs/API_docs_v91/constructors/help_proxyDataEmpty.md b/old_docs/API_docs_v91/constructors/help_proxyDataEmpty.md deleted file mode 100644 index 96efddd3..00000000 --- a/old_docs/API_docs_v91/constructors/help_proxyDataEmpty.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: help.proxyDataEmpty -description: No proxy was used to connect to tg (or none was provided to [initConnection](../methods/initConnection.md), or the used proxy doesn't have a promotion channel associated to it) -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.proxyDataEmpty -[Back to constructors index](index.md) - - - -No proxy was used to connect to tg (or none was provided to [initConnection](../methods/initConnection.md), or the used proxy doesn't have a promotion channel associated to it) - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|expires|[int](../types/int.md) | Yes|Expiration date of proxy info, will have to be refetched in `expires` seconds| - - - -### Type: [help\_ProxyData](../types/help_ProxyData.md) - - -### Example: - -```php -$help_proxyDataEmpty = ['_' => 'help.proxyDataEmpty', 'expires' => int]; -``` - - -Or, if you're into Lua: - -```lua -help_proxyDataEmpty={_='help.proxyDataEmpty', expires=int} - -``` - - diff --git a/old_docs/API_docs_v91/constructors/help_proxyDataPromo.md b/old_docs/API_docs_v91/constructors/help_proxyDataPromo.md deleted file mode 100644 index 54ca7edb..00000000 --- a/old_docs/API_docs_v91/constructors/help_proxyDataPromo.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: help.proxyDataPromo -description: Promotion channel associated to a certain MTProxy -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.proxyDataPromo -[Back to constructors index](index.md) - - - -Promotion channel associated to a certain MTProxy - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|expires|[int](../types/int.md) | Yes|Expiration date of proxy info, will have to be refetched in `expires` seconds| -|peer|[Peer](../types/Peer.md) | Yes|The promoted channel| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [help\_ProxyData](../types/help_ProxyData.md) - - -### Example: - -```php -$help_proxyDataPromo = ['_' => 'help.proxyDataPromo', 'expires' => int, 'peer' => Peer, 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -help_proxyDataPromo={_='help.proxyDataPromo', expires=int, peer=Peer, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v91/constructors/help_recentMeUrls.md b/old_docs/API_docs_v91/constructors/help_recentMeUrls.md deleted file mode 100644 index 7bf592ef..00000000 --- a/old_docs/API_docs_v91/constructors/help_recentMeUrls.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: help.recentMeUrls -description: Recent t.me URLs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.recentMeUrls -[Back to constructors index](index.md) - - - -Recent t.me URLs - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|urls|Array of [RecentMeUrl](../types/RecentMeUrl.md) | Yes|URLs| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [help\_RecentMeUrls](../types/help_RecentMeUrls.md) - - -### Example: - -```php -$help_recentMeUrls = ['_' => 'help.recentMeUrls', 'urls' => [RecentMeUrl, RecentMeUrl], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -help_recentMeUrls={_='help.recentMeUrls', urls={RecentMeUrl}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v91/constructors/help_support.md b/old_docs/API_docs_v91/constructors/help_support.md deleted file mode 100644 index 148f7f42..00000000 --- a/old_docs/API_docs_v91/constructors/help_support.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: help.support -description: Info on support user. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.support -[Back to constructors index](index.md) - - - -Info on support user. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_number|[string](../types/string.md) | Yes|Phone number| -|user|[User](../types/User.md) | Optional|User| - - - -### Type: [help\_Support](../types/help_Support.md) - - -### Example: - -```php -$help_support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => User]; -``` - - -Or, if you're into Lua: - -```lua -help_support={_='help.support', phone_number='string', user=User} - -``` - - diff --git a/old_docs/API_docs_v91/constructors/help_supportName.md b/old_docs/API_docs_v91/constructors/help_supportName.md deleted file mode 100644 index b4bc77d4..00000000 --- a/old_docs/API_docs_v91/constructors/help_supportName.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: help.supportName -description: Localized name for telegram support -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.supportName -[Back to constructors index](index.md) - - - -Localized name for telegram support - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|name|[string](../types/string.md) | Yes|Localized name| - - - -### Type: [help\_SupportName](../types/help_SupportName.md) - - -### Example: - -```php -$help_supportName = ['_' => 'help.supportName', 'name' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -help_supportName={_='help.supportName', name='string'} - -``` - - diff --git a/old_docs/API_docs_v91/constructors/help_termsOfService.md b/old_docs/API_docs_v91/constructors/help_termsOfService.md deleted file mode 100644 index f9d496e5..00000000 --- a/old_docs/API_docs_v91/constructors/help_termsOfService.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: help.termsOfService -description: Info about the latest telegram Terms Of Service -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.termsOfService -[Back to constructors index](index.md) - - - -Info about the latest telegram Terms Of Service - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|popup|[Bool](../types/Bool.md) | Optional|Whether a prompt must be showed to the user, in order to accept the new terms.| -|id|[DataJSON](../types/DataJSON.md) | Yes|ID of the new terms| -|text|[string](../types/string.md) | Yes|Text of the new terms| -|entities|Array of [MessageEntity](../types/MessageEntity.md) | Yes|Entities| -|min\_age\_confirm|[int](../types/int.md) | Optional|Minimum age required to sign up to telegram, the user must confirm that they is older than the minimum age.| - - - -### Type: [help\_TermsOfService](../types/help_TermsOfService.md) - - -### Example: - -```php -$help_termsOfService = ['_' => 'help.termsOfService', 'popup' => Bool, 'id' => DataJSON, 'text' => 'string', 'entities' => [MessageEntity, MessageEntity], 'min_age_confirm' => int]; -``` - - -Or, if you're into Lua: - -```lua -help_termsOfService={_='help.termsOfService', popup=Bool, id=DataJSON, text='string', entities={MessageEntity}, min_age_confirm=int} - -``` - - diff --git a/old_docs/API_docs_v91/constructors/help_termsOfServiceUpdate.md b/old_docs/API_docs_v91/constructors/help_termsOfServiceUpdate.md deleted file mode 100644 index c9e80319..00000000 --- a/old_docs/API_docs_v91/constructors/help_termsOfServiceUpdate.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: help.termsOfServiceUpdate -description: Info about an update of telegram's terms of service. If the terms of service are declined, then the [account.deleteAccount](../methods/account.deleteAccount.md) method should be called with the reason "Decline ToS update" -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.termsOfServiceUpdate -[Back to constructors index](index.md) - - - -Info about an update of telegram's terms of service. If the terms of service are declined, then the [account.deleteAccount](../methods/account.deleteAccount.md) method should be called with the reason "Decline ToS update" - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|expires|[int](../types/int.md) | Yes|New TOS updates will have to be queried using [help.getTermsOfServiceUpdate](../methods/help.getTermsOfServiceUpdate.md) in `expires` seconds| -|terms\_of\_service|[help\_TermsOfService](../types/help_TermsOfService.md) | Yes|New terms of service| - - - -### Type: [help\_TermsOfServiceUpdate](../types/help_TermsOfServiceUpdate.md) - - -### Example: - -```php -$help_termsOfServiceUpdate = ['_' => 'help.termsOfServiceUpdate', 'expires' => int, 'terms_of_service' => help_TermsOfService]; -``` - - -Or, if you're into Lua: - -```lua -help_termsOfServiceUpdate={_='help.termsOfServiceUpdate', expires=int, terms_of_service=help_TermsOfService} - -``` - - diff --git a/old_docs/API_docs_v91/constructors/help_termsOfServiceUpdateEmpty.md b/old_docs/API_docs_v91/constructors/help_termsOfServiceUpdateEmpty.md deleted file mode 100644 index d4d753fc..00000000 --- a/old_docs/API_docs_v91/constructors/help_termsOfServiceUpdateEmpty.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: help.termsOfServiceUpdateEmpty -description: No changes were made to telegram's terms of service -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.termsOfServiceUpdateEmpty -[Back to constructors index](index.md) - - - -No changes were made to telegram's terms of service - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|expires|[int](../types/int.md) | Yes|New TOS updates will have to be queried using [help.getTermsOfServiceUpdate](../methods/help.getTermsOfServiceUpdate.md) in `expires` seconds| - - - -### Type: [help\_TermsOfServiceUpdate](../types/help_TermsOfServiceUpdate.md) - - -### Example: - -```php -$help_termsOfServiceUpdateEmpty = ['_' => 'help.termsOfServiceUpdateEmpty', 'expires' => int]; -``` - - -Or, if you're into Lua: - -```lua -help_termsOfServiceUpdateEmpty={_='help.termsOfServiceUpdateEmpty', expires=int} - -``` - - diff --git a/old_docs/API_docs_v91/constructors/help_userInfo.md b/old_docs/API_docs_v91/constructors/help_userInfo.md deleted file mode 100644 index a444124b..00000000 --- a/old_docs/API_docs_v91/constructors/help_userInfo.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: help.userInfo -description: Internal use -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.userInfo -[Back to constructors index](index.md) - - - -Internal use - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|message|[string](../types/string.md) | Yes|Info| -|entities|Array of [MessageEntity](../types/MessageEntity.md) | Yes|Entities| -|author|[string](../types/string.md) | Yes|Author| -|date|[int](../types/int.md) | Yes|Date| - - - -### Type: [help\_UserInfo](../types/help_UserInfo.md) - - -### Example: - -```php -$help_userInfo = ['_' => 'help.userInfo', 'message' => 'string', 'entities' => [MessageEntity, MessageEntity], 'author' => 'string', 'date' => int]; -``` - - -Or, if you're into Lua: - -```lua -help_userInfo={_='help.userInfo', message='string', entities={MessageEntity}, author='string', date=int} - -``` - - diff --git a/old_docs/API_docs_v91/constructors/help_userInfoEmpty.md b/old_docs/API_docs_v91/constructors/help_userInfoEmpty.md deleted file mode 100644 index 66690c62..00000000 --- a/old_docs/API_docs_v91/constructors/help_userInfoEmpty.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: help.userInfoEmpty -description: Internal use -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.userInfoEmpty -[Back to constructors index](index.md) - - - -Internal use - - - - -### Type: [help\_UserInfo](../types/help_UserInfo.md) - - -### Example: - -```php -$help_userInfoEmpty = ['_' => 'help.userInfoEmpty']; -``` - - -Or, if you're into Lua: - -```lua -help_userInfoEmpty={_='help.userInfoEmpty'} - -``` - - diff --git a/old_docs/API_docs_v91/constructors/messages.affectedHistory.md b/old_docs/API_docs_v91/constructors/messages.affectedHistory.md new file mode 100644 index 00000000..5fc8acec --- /dev/null +++ b/old_docs/API_docs_v91/constructors/messages.affectedHistory.md @@ -0,0 +1,40 @@ +--- +title: messages.affectedHistory +description: Affected part of communication history with the user or in a chat. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.affectedHistory +[Back to constructors index](index.md) + + + +Affected part of communication history with the user or in a chat. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| +|pts\_count|[int](../types/int.md) | Yes|Number of affected events| +|offset|[int](../types/int.md) | Yes|If a parameter contains positive value, it is necessary to repeat the method call using the given value; during the proceeding of all the history the value itself shall gradually decrease| + + + +### Type: [messages.AffectedHistory](../types/messages.AffectedHistory.md) + + +### Example: + +```php +$messages.affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.affectedHistory={_='messages.affectedHistory', pts=int, pts_count=int, offset=int} + +``` + + diff --git a/old_docs/API_docs_v91/constructors/messages.affectedMessages.md b/old_docs/API_docs_v91/constructors/messages.affectedMessages.md new file mode 100644 index 00000000..a0e60bdf --- /dev/null +++ b/old_docs/API_docs_v91/constructors/messages.affectedMessages.md @@ -0,0 +1,39 @@ +--- +title: messages.affectedMessages +description: Events affected by operation +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.affectedMessages +[Back to constructors index](index.md) + + + +Events affected by operation + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|[Event count after generation](https://core.telegram.org/api/updates)| +|pts\_count|[int](../types/int.md) | Yes|[Number of events that were generated](https://core.telegram.org/api/updates)| + + + +### Type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) + + +### Example: + +```php +$messages.affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.affectedMessages={_='messages.affectedMessages', pts=int, pts_count=int} + +``` + + diff --git a/old_docs/API_docs_v91/constructors/messages.allStickers.md b/old_docs/API_docs_v91/constructors/messages.allStickers.md new file mode 100644 index 00000000..5f13bfde --- /dev/null +++ b/old_docs/API_docs_v91/constructors/messages.allStickers.md @@ -0,0 +1,39 @@ +--- +title: messages.allStickers +description: Info about all installed stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.allStickers +[Back to constructors index](index.md) + + + +Info about all installed stickers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|sets|Array of [StickerSet](../types/StickerSet.md) | Yes|Sets| + + + +### Type: [messages.AllStickers](../types/messages.AllStickers.md) + + +### Example: + +```php +$messages.allStickers = ['_' => 'messages.allStickers', 'hash' => int, 'sets' => [StickerSet, StickerSet]]; +``` + + +Or, if you're into Lua: + +```lua +messages.allStickers={_='messages.allStickers', hash=int, sets={StickerSet}} + +``` + + diff --git a/old_docs/API_docs_v91/constructors/messages.allStickersNotModified.md b/old_docs/API_docs_v91/constructors/messages.allStickersNotModified.md new file mode 100644 index 00000000..d3db088b --- /dev/null +++ b/old_docs/API_docs_v91/constructors/messages.allStickersNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.allStickersNotModified +description: Info about all installed stickers hasn't changed +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.allStickersNotModified +[Back to constructors index](index.md) + + + +Info about all installed stickers hasn't changed + + + + +### Type: [messages.AllStickers](../types/messages.AllStickers.md) + + +### Example: + +```php +$messages.allStickersNotModified = ['_' => 'messages.allStickersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.allStickersNotModified={_='messages.allStickersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v91/constructors/messages.archivedStickers.md b/old_docs/API_docs_v91/constructors/messages.archivedStickers.md new file mode 100644 index 00000000..6ad9927c --- /dev/null +++ b/old_docs/API_docs_v91/constructors/messages.archivedStickers.md @@ -0,0 +1,39 @@ +--- +title: messages.archivedStickers +description: Archived stickersets +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.archivedStickers +[Back to constructors index](index.md) + + + +Archived stickersets + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Number of archived stickers| +|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| + + + +### Type: [messages.ArchivedStickers](../types/messages.ArchivedStickers.md) + + +### Example: + +```php +$messages.archivedStickers = ['_' => 'messages.archivedStickers', 'count' => int, 'sets' => [StickerSetCovered, StickerSetCovered]]; +``` + + +Or, if you're into Lua: + +```lua +messages.archivedStickers={_='messages.archivedStickers', count=int, sets={StickerSetCovered}} + +``` + + diff --git a/old_docs/API_docs_v91/constructors/messages.botCallbackAnswer.md b/old_docs/API_docs_v91/constructors/messages.botCallbackAnswer.md new file mode 100644 index 00000000..08bfeba5 --- /dev/null +++ b/old_docs/API_docs_v91/constructors/messages.botCallbackAnswer.md @@ -0,0 +1,43 @@ +--- +title: messages.botCallbackAnswer +description: Callback answer sent by the bot in response to a button press +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.botCallbackAnswer +[Back to constructors index](index.md) + + + +Callback answer sent by the bot in response to a button press + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|alert|[Bool](../types/Bool.md) | Optional|Whether an alert should be shown to the user instead of a toast notification| +|has\_url|[Bool](../types/Bool.md) | Optional|Whether an URL is present| +|native\_ui|[Bool](../types/Bool.md) | Optional|Whether to show games in WebView or in native UI.| +|message|[string](../types/string.md) | Optional|Alert to show| +|url|[string](../types/string.md) | Optional|URL to open| +|cache\_time|[int](../types/int.md) | Yes|For how long should this answer be cached| + + + +### Type: [messages.BotCallbackAnswer](../types/messages.BotCallbackAnswer.md) + + +### Example: + +```php +$messages.botCallbackAnswer = ['_' => 'messages.botCallbackAnswer', 'alert' => Bool, 'has_url' => Bool, 'native_ui' => Bool, 'message' => 'string', 'url' => 'string', 'cache_time' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.botCallbackAnswer={_='messages.botCallbackAnswer', alert=Bool, has_url=Bool, native_ui=Bool, message='string', url='string', cache_time=int} + +``` + + diff --git a/old_docs/API_docs_v91/constructors/messages.botResults.md b/old_docs/API_docs_v91/constructors/messages.botResults.md new file mode 100644 index 00000000..7b6dcfba --- /dev/null +++ b/old_docs/API_docs_v91/constructors/messages.botResults.md @@ -0,0 +1,44 @@ +--- +title: messages.botResults +description: Result of a query to an inline bot +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.botResults +[Back to constructors index](index.md) + + + +Result of a query to an inline bot + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|gallery|[Bool](../types/Bool.md) | Optional|Whether the result is a picture gallery| +|query\_id|[long](../types/long.md) | Yes|Query ID| +|next\_offset|[string](../types/string.md) | Optional|The next offset to use when navigating through results| +|switch\_pm|[InlineBotSwitchPM](../types/InlineBotSwitchPM.md) | Optional|Whether the bot requested the user to message him in private| +|results|Array of [BotInlineResult](../types/BotInlineResult.md) | Yes|Results| +|cache\_time|[int](../types/int.md) | Yes|Caching validity of the results| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.BotResults](../types/messages.BotResults.md) + + +### Example: + +```php +$messages.botResults = ['_' => 'messages.botResults', 'gallery' => Bool, 'query_id' => long, 'next_offset' => 'string', 'switch_pm' => InlineBotSwitchPM, 'results' => [BotInlineResult, BotInlineResult], 'cache_time' => int, 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.botResults={_='messages.botResults', gallery=Bool, query_id=long, next_offset='string', switch_pm=InlineBotSwitchPM, results={BotInlineResult}, cache_time=int, users={User}} + +``` + + diff --git a/old_docs/API_docs_v91/constructors/messages.channelMessages.md b/old_docs/API_docs_v91/constructors/messages.channelMessages.md new file mode 100644 index 00000000..8a8ca98a --- /dev/null +++ b/old_docs/API_docs_v91/constructors/messages.channelMessages.md @@ -0,0 +1,43 @@ +--- +title: messages.channelMessages +description: Channel messages +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.channelMessages +[Back to constructors index](index.md) + + + +Channel messages + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|inexact|[Bool](../types/Bool.md) | Optional|If set, returned results may be inexact| +|pts|[int](../types/int.md) | Yes|[Event count after generation](https://core.telegram.org/api/updates)| +|count|[int](../types/int.md) | Yes|Total number of results were found server-side (may not be all included here)| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Messages](../types/messages.Messages.md) + + +### Example: + +```php +$messages.channelMessages = ['_' => 'messages.channelMessages', 'inexact' => Bool, 'pts' => int, 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.channelMessages={_='messages.channelMessages', inexact=Bool, pts=int, count=int, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v91/constructors/messages.chatFull.md b/old_docs/API_docs_v91/constructors/messages.chatFull.md new file mode 100644 index 00000000..3906cc54 --- /dev/null +++ b/old_docs/API_docs_v91/constructors/messages.chatFull.md @@ -0,0 +1,40 @@ +--- +title: messages.chatFull +description: Extended info on chat and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.chatFull +[Back to constructors index](index.md) + + + +Extended info on chat and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|full\_chat|[ChatFull](../types/ChatFull.md) | Yes|Extended info on a chat| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.ChatFull](../types/messages.ChatFull.md) + + +### Example: + +```php +$messages.chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.chatFull={_='messages.chatFull', full_chat=ChatFull, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v91/constructors/messages.chats.md b/old_docs/API_docs_v91/constructors/messages.chats.md new file mode 100644 index 00000000..9ede9ff2 --- /dev/null +++ b/old_docs/API_docs_v91/constructors/messages.chats.md @@ -0,0 +1,38 @@ +--- +title: messages.chats +description: List of chats with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.chats +[Back to constructors index](index.md) + + + +List of chats with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| + + + +### Type: [messages.Chats](../types/messages.Chats.md) + + +### Example: + +```php +$messages.chats = ['_' => 'messages.chats', 'chats' => [Chat, Chat]]; +``` + + +Or, if you're into Lua: + +```lua +messages.chats={_='messages.chats', chats={Chat}} + +``` + + diff --git a/old_docs/API_docs_v91/constructors/messages.chatsSlice.md b/old_docs/API_docs_v91/constructors/messages.chatsSlice.md new file mode 100644 index 00000000..efd153e0 --- /dev/null +++ b/old_docs/API_docs_v91/constructors/messages.chatsSlice.md @@ -0,0 +1,39 @@ +--- +title: messages.chatsSlice +description: Partial list of chats, more would have to be fetched with [pagination](https://core.telegram.org/api/offsets) +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.chatsSlice +[Back to constructors index](index.md) + + + +Partial list of chats, more would have to be fetched with [pagination](https://core.telegram.org/api/offsets) + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of results that were found server-side (not all are included in `chats`)| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| + + + +### Type: [messages.Chats](../types/messages.Chats.md) + + +### Example: + +```php +$messages.chatsSlice = ['_' => 'messages.chatsSlice', 'count' => int, 'chats' => [Chat, Chat]]; +``` + + +Or, if you're into Lua: + +```lua +messages.chatsSlice={_='messages.chatsSlice', count=int, chats={Chat}} + +``` + + diff --git a/old_docs/API_docs_v91/constructors/messages.dhConfig.md b/old_docs/API_docs_v91/constructors/messages.dhConfig.md new file mode 100644 index 00000000..58344f64 --- /dev/null +++ b/old_docs/API_docs_v91/constructors/messages.dhConfig.md @@ -0,0 +1,41 @@ +--- +title: messages.dhConfig +description: New set of configuring parameters. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dhConfig +[Back to constructors index](index.md) + + + +New set of configuring parameters. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|g|[int](../types/int.md) | Yes|New value **prime**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| +|p|[bytes](../types/bytes.md) | Yes|New value **primitive root**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| +|version|[int](../types/int.md) | Yes|Vestion of set of parameters| +|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| + + + +### Type: [messages.DhConfig](../types/messages.DhConfig.md) + + +### Example: + +```php +$messages.dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'version' => int, 'random' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +messages.dhConfig={_='messages.dhConfig', g=int, p='bytes', version=int, random='bytes'} + +``` + + diff --git a/old_docs/API_docs_v91/constructors/messages.dhConfigNotModified.md b/old_docs/API_docs_v91/constructors/messages.dhConfigNotModified.md new file mode 100644 index 00000000..a9a95389 --- /dev/null +++ b/old_docs/API_docs_v91/constructors/messages.dhConfigNotModified.md @@ -0,0 +1,38 @@ +--- +title: messages.dhConfigNotModified +description: Configuring parameters did not change. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dhConfigNotModified +[Back to constructors index](index.md) + + + +Configuring parameters did not change. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| + + + +### Type: [messages.DhConfig](../types/messages.DhConfig.md) + + +### Example: + +```php +$messages.dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +messages.dhConfigNotModified={_='messages.dhConfigNotModified', random='bytes'} + +``` + + diff --git a/old_docs/API_docs_v91/constructors/messages.dialogs.md b/old_docs/API_docs_v91/constructors/messages.dialogs.md new file mode 100644 index 00000000..a72eabce --- /dev/null +++ b/old_docs/API_docs_v91/constructors/messages.dialogs.md @@ -0,0 +1,41 @@ +--- +title: messages.dialogs +description: Full list of chats with messages and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dialogs +[Back to constructors index](index.md) + + + +Full list of chats with messages and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Dialogs](../types/messages.Dialogs.md) + + +### Example: + +```php +$messages.dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.dialogs={_='messages.dialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v91/constructors/messages.dialogsNotModified.md b/old_docs/API_docs_v91/constructors/messages.dialogsNotModified.md new file mode 100644 index 00000000..b4615516 --- /dev/null +++ b/old_docs/API_docs_v91/constructors/messages.dialogsNotModified.md @@ -0,0 +1,38 @@ +--- +title: messages.dialogsNotModified +description: Dialogs haven't changed +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dialogsNotModified +[Back to constructors index](index.md) + + + +Dialogs haven't changed + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Number of dialogs found server-side by the query| + + + +### Type: [messages.Dialogs](../types/messages.Dialogs.md) + + +### Example: + +```php +$messages.dialogsNotModified = ['_' => 'messages.dialogsNotModified', 'count' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.dialogsNotModified={_='messages.dialogsNotModified', count=int} + +``` + + diff --git a/old_docs/API_docs_v91/constructors/messages.dialogsSlice.md b/old_docs/API_docs_v91/constructors/messages.dialogsSlice.md new file mode 100644 index 00000000..26227d2c --- /dev/null +++ b/old_docs/API_docs_v91/constructors/messages.dialogsSlice.md @@ -0,0 +1,42 @@ +--- +title: messages.dialogsSlice +description: Incomplete list of dialogs with messages and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dialogsSlice +[Back to constructors index](index.md) + + + +Incomplete list of dialogs with messages and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of dialogs| +|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Dialogs](../types/messages.Dialogs.md) + + +### Example: + +```php +$messages.dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.dialogsSlice={_='messages.dialogsSlice', count=int, dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v91/constructors/messages.favedStickers.md b/old_docs/API_docs_v91/constructors/messages.favedStickers.md new file mode 100644 index 00000000..a5cfb7c9 --- /dev/null +++ b/old_docs/API_docs_v91/constructors/messages.favedStickers.md @@ -0,0 +1,40 @@ +--- +title: messages.favedStickers +description: Favorited stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.favedStickers +[Back to constructors index](index.md) + + + +Favorited stickers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|packs|Array of [StickerPack](../types/StickerPack.md) | Yes|Packs| +|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| + + + +### Type: [messages.FavedStickers](../types/messages.FavedStickers.md) + + +### Example: + +```php +$messages.favedStickers = ['_' => 'messages.favedStickers', 'hash' => int, 'packs' => [StickerPack, StickerPack], 'stickers' => [Document, Document]]; +``` + + +Or, if you're into Lua: + +```lua +messages.favedStickers={_='messages.favedStickers', hash=int, packs={StickerPack}, stickers={Document}} + +``` + + diff --git a/old_docs/API_docs_v91/constructors/messages.favedStickersNotModified.md b/old_docs/API_docs_v91/constructors/messages.favedStickersNotModified.md new file mode 100644 index 00000000..8723659e --- /dev/null +++ b/old_docs/API_docs_v91/constructors/messages.favedStickersNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.favedStickersNotModified +description: No new favorited stickers were found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.favedStickersNotModified +[Back to constructors index](index.md) + + + +No new favorited stickers were found + + + + +### Type: [messages.FavedStickers](../types/messages.FavedStickers.md) + + +### Example: + +```php +$messages.favedStickersNotModified = ['_' => 'messages.favedStickersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.favedStickersNotModified={_='messages.favedStickersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v91/constructors/messages.featuredStickers.md b/old_docs/API_docs_v91/constructors/messages.featuredStickers.md new file mode 100644 index 00000000..344376ea --- /dev/null +++ b/old_docs/API_docs_v91/constructors/messages.featuredStickers.md @@ -0,0 +1,40 @@ +--- +title: messages.featuredStickers +description: Featured stickersets +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.featuredStickers +[Back to constructors index](index.md) + + + +Featured stickersets + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| +|unread|Array of [long](../types/long.md) | Yes|Unread| + + + +### Type: [messages.FeaturedStickers](../types/messages.FeaturedStickers.md) + + +### Example: + +```php +$messages.featuredStickers = ['_' => 'messages.featuredStickers', 'hash' => int, 'sets' => [StickerSetCovered, StickerSetCovered], 'unread' => [long, long]]; +``` + + +Or, if you're into Lua: + +```lua +messages.featuredStickers={_='messages.featuredStickers', hash=int, sets={StickerSetCovered}, unread={long}} + +``` + + diff --git a/old_docs/API_docs_v91/constructors/messages.featuredStickersNotModified.md b/old_docs/API_docs_v91/constructors/messages.featuredStickersNotModified.md new file mode 100644 index 00000000..0fe9b4d5 --- /dev/null +++ b/old_docs/API_docs_v91/constructors/messages.featuredStickersNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.featuredStickersNotModified +description: Featured stickers haven't changed +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.featuredStickersNotModified +[Back to constructors index](index.md) + + + +Featured stickers haven't changed + + + + +### Type: [messages.FeaturedStickers](../types/messages.FeaturedStickers.md) + + +### Example: + +```php +$messages.featuredStickersNotModified = ['_' => 'messages.featuredStickersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.featuredStickersNotModified={_='messages.featuredStickersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v91/constructors/messages.foundGifs.md b/old_docs/API_docs_v91/constructors/messages.foundGifs.md new file mode 100644 index 00000000..c75e36f9 --- /dev/null +++ b/old_docs/API_docs_v91/constructors/messages.foundGifs.md @@ -0,0 +1,39 @@ +--- +title: messages.foundGifs +description: Found GIFs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.foundGifs +[Back to constructors index](index.md) + + + +Found GIFs + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|next\_offset|[int](../types/int.md) | Yes|Next offset to use when trying to [load more results](../methods/messages.searchGifs.md)| +|results|Array of [FoundGif](../types/FoundGif.md) | Yes|Results| + + + +### Type: [messages.FoundGifs](../types/messages.FoundGifs.md) + + +### Example: + +```php +$messages.foundGifs = ['_' => 'messages.foundGifs', 'next_offset' => int, 'results' => [FoundGif, FoundGif]]; +``` + + +Or, if you're into Lua: + +```lua +messages.foundGifs={_='messages.foundGifs', next_offset=int, results={FoundGif}} + +``` + + diff --git a/old_docs/API_docs_v91/constructors/messages.foundStickerSets.md b/old_docs/API_docs_v91/constructors/messages.foundStickerSets.md new file mode 100644 index 00000000..efc5201e --- /dev/null +++ b/old_docs/API_docs_v91/constructors/messages.foundStickerSets.md @@ -0,0 +1,39 @@ +--- +title: messages.foundStickerSets +description: Found stickersets +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.foundStickerSets +[Back to constructors index](index.md) + + + +Found stickersets + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| + + + +### Type: [messages.FoundStickerSets](../types/messages.FoundStickerSets.md) + + +### Example: + +```php +$messages.foundStickerSets = ['_' => 'messages.foundStickerSets', 'hash' => int, 'sets' => [StickerSetCovered, StickerSetCovered]]; +``` + + +Or, if you're into Lua: + +```lua +messages.foundStickerSets={_='messages.foundStickerSets', hash=int, sets={StickerSetCovered}} + +``` + + diff --git a/old_docs/API_docs_v91/constructors/messages.foundStickerSetsNotModified.md b/old_docs/API_docs_v91/constructors/messages.foundStickerSetsNotModified.md new file mode 100644 index 00000000..2902501a --- /dev/null +++ b/old_docs/API_docs_v91/constructors/messages.foundStickerSetsNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.foundStickerSetsNotModified +description: No further results were found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.foundStickerSetsNotModified +[Back to constructors index](index.md) + + + +No further results were found + + + + +### Type: [messages.FoundStickerSets](../types/messages.FoundStickerSets.md) + + +### Example: + +```php +$messages.foundStickerSetsNotModified = ['_' => 'messages.foundStickerSetsNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.foundStickerSetsNotModified={_='messages.foundStickerSetsNotModified'} + +``` + + diff --git a/old_docs/API_docs_v91/constructors/messages.highScores.md b/old_docs/API_docs_v91/constructors/messages.highScores.md new file mode 100644 index 00000000..d7d25826 --- /dev/null +++ b/old_docs/API_docs_v91/constructors/messages.highScores.md @@ -0,0 +1,39 @@ +--- +title: messages.highScores +description: Highscores in a game +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.highScores +[Back to constructors index](index.md) + + + +Highscores in a game + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|scores|Array of [HighScore](../types/HighScore.md) | Yes|Scores| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.HighScores](../types/messages.HighScores.md) + + +### Example: + +```php +$messages.highScores = ['_' => 'messages.highScores', 'scores' => [HighScore, HighScore], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.highScores={_='messages.highScores', scores={HighScore}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v91/constructors/messages.messageEditData.md b/old_docs/API_docs_v91/constructors/messages.messageEditData.md new file mode 100644 index 00000000..578b53d9 --- /dev/null +++ b/old_docs/API_docs_v91/constructors/messages.messageEditData.md @@ -0,0 +1,38 @@ +--- +title: messages.messageEditData +description: Message edit data for media +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.messageEditData +[Back to constructors index](index.md) + + + +Message edit data for media + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|caption|[Bool](../types/Bool.md) | Optional|Media caption, if the specified media's caption can be edited| + + + +### Type: [messages.MessageEditData](../types/messages.MessageEditData.md) + + +### Example: + +```php +$messages.messageEditData = ['_' => 'messages.messageEditData', 'caption' => Bool]; +``` + + +Or, if you're into Lua: + +```lua +messages.messageEditData={_='messages.messageEditData', caption=Bool} + +``` + + diff --git a/old_docs/API_docs_v91/constructors/messages.messages.md b/old_docs/API_docs_v91/constructors/messages.messages.md new file mode 100644 index 00000000..3af71dca --- /dev/null +++ b/old_docs/API_docs_v91/constructors/messages.messages.md @@ -0,0 +1,40 @@ +--- +title: messages.messages +description: Full list of messages with auxilary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.messages +[Back to constructors index](index.md) + + + +Full list of messages with auxilary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Messages](../types/messages.Messages.md) + + +### Example: + +```php +$messages.messages = ['_' => 'messages.messages', 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.messages={_='messages.messages', messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v91/constructors/messages.messagesNotModified.md b/old_docs/API_docs_v91/constructors/messages.messagesNotModified.md new file mode 100644 index 00000000..c4cb60ed --- /dev/null +++ b/old_docs/API_docs_v91/constructors/messages.messagesNotModified.md @@ -0,0 +1,38 @@ +--- +title: messages.messagesNotModified +description: No new messages matching the query were found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.messagesNotModified +[Back to constructors index](index.md) + + + +No new messages matching the query were found + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Number of results found server-side by the given query| + + + +### Type: [messages.Messages](../types/messages.Messages.md) + + +### Example: + +```php +$messages.messagesNotModified = ['_' => 'messages.messagesNotModified', 'count' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.messagesNotModified={_='messages.messagesNotModified', count=int} + +``` + + diff --git a/old_docs/API_docs_v91/constructors/messages.messagesSlice.md b/old_docs/API_docs_v91/constructors/messages.messagesSlice.md new file mode 100644 index 00000000..2fe91df0 --- /dev/null +++ b/old_docs/API_docs_v91/constructors/messages.messagesSlice.md @@ -0,0 +1,41 @@ +--- +title: messages.messagesSlice +description: Incomplete list of messages and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.messagesSlice +[Back to constructors index](index.md) + + + +Incomplete list of messages and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of messages in the list| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Messages](../types/messages.Messages.md) + + +### Example: + +```php +$messages.messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.messagesSlice={_='messages.messagesSlice', count=int, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v91/constructors/messages.peerDialogs.md b/old_docs/API_docs_v91/constructors/messages.peerDialogs.md new file mode 100644 index 00000000..39cb71f8 --- /dev/null +++ b/old_docs/API_docs_v91/constructors/messages.peerDialogs.md @@ -0,0 +1,42 @@ +--- +title: messages.peerDialogs +description: Dialog info of multiple peers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.peerDialogs +[Back to constructors index](index.md) + + + +Dialog info of multiple peers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| +|state|[updates.State](../constructors/updates.State.md) | Yes|Current [update state of dialog](https://core.telegram.org/api/updates)| + + + +### Type: [messages.PeerDialogs](../types/messages.PeerDialogs.md) + + +### Example: + +```php +$messages.peerDialogs = ['_' => 'messages.peerDialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates.State]; +``` + + +Or, if you're into Lua: + +```lua +messages.peerDialogs={_='messages.peerDialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}, state=updates.State} + +``` + + diff --git a/old_docs/API_docs_v91/constructors/messages.recentStickers.md b/old_docs/API_docs_v91/constructors/messages.recentStickers.md new file mode 100644 index 00000000..33e6c1ad --- /dev/null +++ b/old_docs/API_docs_v91/constructors/messages.recentStickers.md @@ -0,0 +1,41 @@ +--- +title: messages.recentStickers +description: Recently used stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.recentStickers +[Back to constructors index](index.md) + + + +Recently used stickers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|packs|Array of [StickerPack](../types/StickerPack.md) | Yes|Packs| +|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| +|dates|Array of [int](../types/int.md) | Yes|Dates| + + + +### Type: [messages.RecentStickers](../types/messages.RecentStickers.md) + + +### Example: + +```php +$messages.recentStickers = ['_' => 'messages.recentStickers', 'hash' => int, 'packs' => [StickerPack, StickerPack], 'stickers' => [Document, Document], 'dates' => [int, int]]; +``` + + +Or, if you're into Lua: + +```lua +messages.recentStickers={_='messages.recentStickers', hash=int, packs={StickerPack}, stickers={Document}, dates={int}} + +``` + + diff --git a/old_docs/API_docs_v91/constructors/messages.recentStickersNotModified.md b/old_docs/API_docs_v91/constructors/messages.recentStickersNotModified.md new file mode 100644 index 00000000..1c3bbf5c --- /dev/null +++ b/old_docs/API_docs_v91/constructors/messages.recentStickersNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.recentStickersNotModified +description: No new recent sticker was found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.recentStickersNotModified +[Back to constructors index](index.md) + + + +No new recent sticker was found + + + + +### Type: [messages.RecentStickers](../types/messages.RecentStickers.md) + + +### Example: + +```php +$messages.recentStickersNotModified = ['_' => 'messages.recentStickersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.recentStickersNotModified={_='messages.recentStickersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v91/constructors/messages.savedGifs.md b/old_docs/API_docs_v91/constructors/messages.savedGifs.md new file mode 100644 index 00000000..c82929a3 --- /dev/null +++ b/old_docs/API_docs_v91/constructors/messages.savedGifs.md @@ -0,0 +1,39 @@ +--- +title: messages.savedGifs +description: Saved gifs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.savedGifs +[Back to constructors index](index.md) + + + +Saved gifs + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|gifs|Array of [Document](../types/Document.md) | Yes|Gifs| + + + +### Type: [messages.SavedGifs](../types/messages.SavedGifs.md) + + +### Example: + +```php +$messages.savedGifs = ['_' => 'messages.savedGifs', 'hash' => int, 'gifs' => [Document, Document]]; +``` + + +Or, if you're into Lua: + +```lua +messages.savedGifs={_='messages.savedGifs', hash=int, gifs={Document}} + +``` + + diff --git a/old_docs/API_docs_v91/constructors/messages.savedGifsNotModified.md b/old_docs/API_docs_v91/constructors/messages.savedGifsNotModified.md new file mode 100644 index 00000000..0fbccacc --- /dev/null +++ b/old_docs/API_docs_v91/constructors/messages.savedGifsNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.savedGifsNotModified +description: No new saved gifs were found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.savedGifsNotModified +[Back to constructors index](index.md) + + + +No new saved gifs were found + + + + +### Type: [messages.SavedGifs](../types/messages.SavedGifs.md) + + +### Example: + +```php +$messages.savedGifsNotModified = ['_' => 'messages.savedGifsNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.savedGifsNotModified={_='messages.savedGifsNotModified'} + +``` + + diff --git a/old_docs/API_docs_v91/constructors/messages.sentEncryptedFile.md b/old_docs/API_docs_v91/constructors/messages.sentEncryptedFile.md new file mode 100644 index 00000000..1f0e43c6 --- /dev/null +++ b/old_docs/API_docs_v91/constructors/messages.sentEncryptedFile.md @@ -0,0 +1,39 @@ +--- +title: messages.sentEncryptedFile +description: Message with a file enclosure sent to a protected chat +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.sentEncryptedFile +[Back to constructors index](index.md) + + + +Message with a file enclosure sent to a protected chat + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Sending date| +|file|[EncryptedFile](../types/EncryptedFile.md) | Optional|Attached file| + + + +### Type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) + + +### Example: + +```php +$messages.sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile]; +``` + + +Or, if you're into Lua: + +```lua +messages.sentEncryptedFile={_='messages.sentEncryptedFile', date=int, file=EncryptedFile} + +``` + + diff --git a/old_docs/API_docs_v91/constructors/messages.sentEncryptedMessage.md b/old_docs/API_docs_v91/constructors/messages.sentEncryptedMessage.md new file mode 100644 index 00000000..3d5eb40c --- /dev/null +++ b/old_docs/API_docs_v91/constructors/messages.sentEncryptedMessage.md @@ -0,0 +1,38 @@ +--- +title: messages.sentEncryptedMessage +description: Message without file attachemts sent to an encrypted file. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.sentEncryptedMessage +[Back to constructors index](index.md) + + + +Message without file attachemts sent to an encrypted file. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Date of sending| + + + +### Type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) + + +### Example: + +```php +$messages.sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.sentEncryptedMessage={_='messages.sentEncryptedMessage', date=int} + +``` + + diff --git a/old_docs/API_docs_v91/constructors/messages.stickerSet.md b/old_docs/API_docs_v91/constructors/messages.stickerSet.md new file mode 100644 index 00000000..fbc154d0 --- /dev/null +++ b/old_docs/API_docs_v91/constructors/messages.stickerSet.md @@ -0,0 +1,40 @@ +--- +title: messages.stickerSet +description: Stickerset and stickers inside it +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickerSet +[Back to constructors index](index.md) + + + +Stickerset and stickers inside it + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|set|[StickerSet](../types/StickerSet.md) | Yes|The stickerset| +|packs|Array of [StickerPack](../types/StickerPack.md) | Yes|Packs| +|documents|Array of [Document](../types/Document.md) | Yes|Documents| + + + +### Type: [messages.StickerSet](../types/messages.StickerSet.md) + + +### Example: + +```php +$messages.stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'packs' => [StickerPack, StickerPack], 'documents' => [Document, Document]]; +``` + + +Or, if you're into Lua: + +```lua +messages.stickerSet={_='messages.stickerSet', set=StickerSet, packs={StickerPack}, documents={Document}} + +``` + + diff --git a/old_docs/API_docs_v91/constructors/messages.stickerSetInstallResultArchive.md b/old_docs/API_docs_v91/constructors/messages.stickerSetInstallResultArchive.md new file mode 100644 index 00000000..fefe2270 --- /dev/null +++ b/old_docs/API_docs_v91/constructors/messages.stickerSetInstallResultArchive.md @@ -0,0 +1,38 @@ +--- +title: messages.stickerSetInstallResultArchive +description: The stickerset was installed, but since there are too many stickersets some were archived +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickerSetInstallResultArchive +[Back to constructors index](index.md) + + + +The stickerset was installed, but since there are too many stickersets some were archived + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| + + + +### Type: [messages.StickerSetInstallResult](../types/messages.StickerSetInstallResult.md) + + +### Example: + +```php +$messages.stickerSetInstallResultArchive = ['_' => 'messages.stickerSetInstallResultArchive', 'sets' => [StickerSetCovered, StickerSetCovered]]; +``` + + +Or, if you're into Lua: + +```lua +messages.stickerSetInstallResultArchive={_='messages.stickerSetInstallResultArchive', sets={StickerSetCovered}} + +``` + + diff --git a/old_docs/API_docs_v91/constructors/messages.stickerSetInstallResultSuccess.md b/old_docs/API_docs_v91/constructors/messages.stickerSetInstallResultSuccess.md new file mode 100644 index 00000000..bbe8b961 --- /dev/null +++ b/old_docs/API_docs_v91/constructors/messages.stickerSetInstallResultSuccess.md @@ -0,0 +1,33 @@ +--- +title: messages.stickerSetInstallResultSuccess +description: The stickerset was installed successfully +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickerSetInstallResultSuccess +[Back to constructors index](index.md) + + + +The stickerset was installed successfully + + + + +### Type: [messages.StickerSetInstallResult](../types/messages.StickerSetInstallResult.md) + + +### Example: + +```php +$messages.stickerSetInstallResultSuccess = ['_' => 'messages.stickerSetInstallResultSuccess']; +``` + + +Or, if you're into Lua: + +```lua +messages.stickerSetInstallResultSuccess={_='messages.stickerSetInstallResultSuccess'} + +``` + + diff --git a/old_docs/API_docs_v91/constructors/messages.stickers.md b/old_docs/API_docs_v91/constructors/messages.stickers.md new file mode 100644 index 00000000..49ffea6a --- /dev/null +++ b/old_docs/API_docs_v91/constructors/messages.stickers.md @@ -0,0 +1,39 @@ +--- +title: messages.stickers +description: Found stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickers +[Back to constructors index](index.md) + + + +Found stickers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| + + + +### Type: [messages.Stickers](../types/messages.Stickers.md) + + +### Example: + +```php +$messages.stickers = ['_' => 'messages.stickers', 'hash' => int, 'stickers' => [Document, Document]]; +``` + + +Or, if you're into Lua: + +```lua +messages.stickers={_='messages.stickers', hash=int, stickers={Document}} + +``` + + diff --git a/old_docs/API_docs_v91/constructors/messages.stickersNotModified.md b/old_docs/API_docs_v91/constructors/messages.stickersNotModified.md new file mode 100644 index 00000000..e8c7766c --- /dev/null +++ b/old_docs/API_docs_v91/constructors/messages.stickersNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.stickersNotModified +description: No new stickers were found for the given query +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickersNotModified +[Back to constructors index](index.md) + + + +No new stickers were found for the given query + + + + +### Type: [messages.Stickers](../types/messages.Stickers.md) + + +### Example: + +```php +$messages.stickersNotModified = ['_' => 'messages.stickersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.stickersNotModified={_='messages.stickersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v91/constructors/messages_affectedHistory.md b/old_docs/API_docs_v91/constructors/messages_affectedHistory.md deleted file mode 100644 index 449a7e3f..00000000 --- a/old_docs/API_docs_v91/constructors/messages_affectedHistory.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.affectedHistory -description: Affected part of communication history with the user or in a chat. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.affectedHistory -[Back to constructors index](index.md) - - - -Affected part of communication history with the user or in a chat. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| -|pts\_count|[int](../types/int.md) | Yes|Number of affected events| -|offset|[int](../types/int.md) | Yes|If a parameter contains positive value, it is necessary to repeat the method call using the given value; during the proceeding of all the history the value itself shall gradually decrease| - - - -### Type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) - - -### Example: - -```php -$messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_affectedHistory={_='messages.affectedHistory', pts=int, pts_count=int, offset=int} - -``` - - diff --git a/old_docs/API_docs_v91/constructors/messages_affectedMessages.md b/old_docs/API_docs_v91/constructors/messages_affectedMessages.md deleted file mode 100644 index 86760581..00000000 --- a/old_docs/API_docs_v91/constructors/messages_affectedMessages.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.affectedMessages -description: Events affected by operation -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.affectedMessages -[Back to constructors index](index.md) - - - -Events affected by operation - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|[Event count after generation](https://core.telegram.org/api/updates)| -|pts\_count|[int](../types/int.md) | Yes|[Number of events that were generated](https://core.telegram.org/api/updates)| - - - -### Type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) - - -### Example: - -```php -$messages_affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_affectedMessages={_='messages.affectedMessages', pts=int, pts_count=int} - -``` - - diff --git a/old_docs/API_docs_v91/constructors/messages_allStickers.md b/old_docs/API_docs_v91/constructors/messages_allStickers.md deleted file mode 100644 index 2e64f46e..00000000 --- a/old_docs/API_docs_v91/constructors/messages_allStickers.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.allStickers -description: Info about all installed stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.allStickers -[Back to constructors index](index.md) - - - -Info about all installed stickers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|sets|Array of [StickerSet](../types/StickerSet.md) | Yes|Sets| - - - -### Type: [messages\_AllStickers](../types/messages_AllStickers.md) - - -### Example: - -```php -$messages_allStickers = ['_' => 'messages.allStickers', 'hash' => int, 'sets' => [StickerSet, StickerSet]]; -``` - - -Or, if you're into Lua: - -```lua -messages_allStickers={_='messages.allStickers', hash=int, sets={StickerSet}} - -``` - - diff --git a/old_docs/API_docs_v91/constructors/messages_allStickersNotModified.md b/old_docs/API_docs_v91/constructors/messages_allStickersNotModified.md deleted file mode 100644 index c4da85ab..00000000 --- a/old_docs/API_docs_v91/constructors/messages_allStickersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.allStickersNotModified -description: Info about all installed stickers hasn't changed -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.allStickersNotModified -[Back to constructors index](index.md) - - - -Info about all installed stickers hasn't changed - - - - -### Type: [messages\_AllStickers](../types/messages_AllStickers.md) - - -### Example: - -```php -$messages_allStickersNotModified = ['_' => 'messages.allStickersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_allStickersNotModified={_='messages.allStickersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v91/constructors/messages_archivedStickers.md b/old_docs/API_docs_v91/constructors/messages_archivedStickers.md deleted file mode 100644 index 6b28c885..00000000 --- a/old_docs/API_docs_v91/constructors/messages_archivedStickers.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.archivedStickers -description: Archived stickersets -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.archivedStickers -[Back to constructors index](index.md) - - - -Archived stickersets - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Number of archived stickers| -|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| - - - -### Type: [messages\_ArchivedStickers](../types/messages_ArchivedStickers.md) - - -### Example: - -```php -$messages_archivedStickers = ['_' => 'messages.archivedStickers', 'count' => int, 'sets' => [StickerSetCovered, StickerSetCovered]]; -``` - - -Or, if you're into Lua: - -```lua -messages_archivedStickers={_='messages.archivedStickers', count=int, sets={StickerSetCovered}} - -``` - - diff --git a/old_docs/API_docs_v91/constructors/messages_botCallbackAnswer.md b/old_docs/API_docs_v91/constructors/messages_botCallbackAnswer.md deleted file mode 100644 index e56f4b56..00000000 --- a/old_docs/API_docs_v91/constructors/messages_botCallbackAnswer.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: messages.botCallbackAnswer -description: Callback answer sent by the bot in response to a button press -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.botCallbackAnswer -[Back to constructors index](index.md) - - - -Callback answer sent by the bot in response to a button press - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|alert|[Bool](../types/Bool.md) | Optional|Whether an alert should be shown to the user instead of a toast notification| -|has\_url|[Bool](../types/Bool.md) | Optional|Whether an URL is present| -|native\_ui|[Bool](../types/Bool.md) | Optional|Whether to show games in WebView or in native UI.| -|message|[string](../types/string.md) | Optional|Alert to show| -|url|[string](../types/string.md) | Optional|URL to open| -|cache\_time|[int](../types/int.md) | Yes|For how long should this answer be cached| - - - -### Type: [messages\_BotCallbackAnswer](../types/messages_BotCallbackAnswer.md) - - -### Example: - -```php -$messages_botCallbackAnswer = ['_' => 'messages.botCallbackAnswer', 'alert' => Bool, 'has_url' => Bool, 'native_ui' => Bool, 'message' => 'string', 'url' => 'string', 'cache_time' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_botCallbackAnswer={_='messages.botCallbackAnswer', alert=Bool, has_url=Bool, native_ui=Bool, message='string', url='string', cache_time=int} - -``` - - diff --git a/old_docs/API_docs_v91/constructors/messages_botResults.md b/old_docs/API_docs_v91/constructors/messages_botResults.md deleted file mode 100644 index 19b9edf6..00000000 --- a/old_docs/API_docs_v91/constructors/messages_botResults.md +++ /dev/null @@ -1,44 +0,0 @@ ---- -title: messages.botResults -description: Result of a query to an inline bot -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.botResults -[Back to constructors index](index.md) - - - -Result of a query to an inline bot - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|gallery|[Bool](../types/Bool.md) | Optional|Whether the result is a picture gallery| -|query\_id|[long](../types/long.md) | Yes|Query ID| -|next\_offset|[string](../types/string.md) | Optional|The next offset to use when navigating through results| -|switch\_pm|[InlineBotSwitchPM](../types/InlineBotSwitchPM.md) | Optional|Whether the bot requested the user to message him in private| -|results|Array of [BotInlineResult](../types/BotInlineResult.md) | Yes|Results| -|cache\_time|[int](../types/int.md) | Yes|Caching validity of the results| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_BotResults](../types/messages_BotResults.md) - - -### Example: - -```php -$messages_botResults = ['_' => 'messages.botResults', 'gallery' => Bool, 'query_id' => long, 'next_offset' => 'string', 'switch_pm' => InlineBotSwitchPM, 'results' => [BotInlineResult, BotInlineResult], 'cache_time' => int, 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_botResults={_='messages.botResults', gallery=Bool, query_id=long, next_offset='string', switch_pm=InlineBotSwitchPM, results={BotInlineResult}, cache_time=int, users={User}} - -``` - - diff --git a/old_docs/API_docs_v91/constructors/messages_channelMessages.md b/old_docs/API_docs_v91/constructors/messages_channelMessages.md deleted file mode 100644 index 4cf24743..00000000 --- a/old_docs/API_docs_v91/constructors/messages_channelMessages.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: messages.channelMessages -description: Channel messages -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.channelMessages -[Back to constructors index](index.md) - - - -Channel messages - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|inexact|[Bool](../types/Bool.md) | Optional|If set, returned results may be inexact| -|pts|[int](../types/int.md) | Yes|[Event count after generation](https://core.telegram.org/api/updates)| -|count|[int](../types/int.md) | Yes|Total number of results were found server-side (may not be all included here)| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Messages](../types/messages_Messages.md) - - -### Example: - -```php -$messages_channelMessages = ['_' => 'messages.channelMessages', 'inexact' => Bool, 'pts' => int, 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_channelMessages={_='messages.channelMessages', inexact=Bool, pts=int, count=int, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v91/constructors/messages_chatFull.md b/old_docs/API_docs_v91/constructors/messages_chatFull.md deleted file mode 100644 index 02f1acdf..00000000 --- a/old_docs/API_docs_v91/constructors/messages_chatFull.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.chatFull -description: Extended info on chat and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.chatFull -[Back to constructors index](index.md) - - - -Extended info on chat and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|full\_chat|[ChatFull](../types/ChatFull.md) | Yes|Extended info on a chat| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_ChatFull](../types/messages_ChatFull.md) - - -### Example: - -```php -$messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_chatFull={_='messages.chatFull', full_chat=ChatFull, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v91/constructors/messages_chats.md b/old_docs/API_docs_v91/constructors/messages_chats.md deleted file mode 100644 index ef3690a9..00000000 --- a/old_docs/API_docs_v91/constructors/messages_chats.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.chats -description: List of chats with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.chats -[Back to constructors index](index.md) - - - -List of chats with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| - - - -### Type: [messages\_Chats](../types/messages_Chats.md) - - -### Example: - -```php -$messages_chats = ['_' => 'messages.chats', 'chats' => [Chat, Chat]]; -``` - - -Or, if you're into Lua: - -```lua -messages_chats={_='messages.chats', chats={Chat}} - -``` - - diff --git a/old_docs/API_docs_v91/constructors/messages_chatsSlice.md b/old_docs/API_docs_v91/constructors/messages_chatsSlice.md deleted file mode 100644 index f19c4357..00000000 --- a/old_docs/API_docs_v91/constructors/messages_chatsSlice.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.chatsSlice -description: Partial list of chats, more would have to be fetched with [pagination](https://core.telegram.org/api/offsets) -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.chatsSlice -[Back to constructors index](index.md) - - - -Partial list of chats, more would have to be fetched with [pagination](https://core.telegram.org/api/offsets) - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of results that were found server-side (not all are included in `chats`)| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| - - - -### Type: [messages\_Chats](../types/messages_Chats.md) - - -### Example: - -```php -$messages_chatsSlice = ['_' => 'messages.chatsSlice', 'count' => int, 'chats' => [Chat, Chat]]; -``` - - -Or, if you're into Lua: - -```lua -messages_chatsSlice={_='messages.chatsSlice', count=int, chats={Chat}} - -``` - - diff --git a/old_docs/API_docs_v91/constructors/messages_dhConfig.md b/old_docs/API_docs_v91/constructors/messages_dhConfig.md deleted file mode 100644 index 42c2feb1..00000000 --- a/old_docs/API_docs_v91/constructors/messages_dhConfig.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: messages.dhConfig -description: New set of configuring parameters. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dhConfig -[Back to constructors index](index.md) - - - -New set of configuring parameters. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|g|[int](../types/int.md) | Yes|New value **prime**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| -|p|[bytes](../types/bytes.md) | Yes|New value **primitive root**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| -|version|[int](../types/int.md) | Yes|Vestion of set of parameters| -|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| - - - -### Type: [messages\_DhConfig](../types/messages_DhConfig.md) - - -### Example: - -```php -$messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'version' => int, 'random' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -messages_dhConfig={_='messages.dhConfig', g=int, p='bytes', version=int, random='bytes'} - -``` - - diff --git a/old_docs/API_docs_v91/constructors/messages_dhConfigNotModified.md b/old_docs/API_docs_v91/constructors/messages_dhConfigNotModified.md deleted file mode 100644 index 5bf64230..00000000 --- a/old_docs/API_docs_v91/constructors/messages_dhConfigNotModified.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.dhConfigNotModified -description: Configuring parameters did not change. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dhConfigNotModified -[Back to constructors index](index.md) - - - -Configuring parameters did not change. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| - - - -### Type: [messages\_DhConfig](../types/messages_DhConfig.md) - - -### Example: - -```php -$messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -messages_dhConfigNotModified={_='messages.dhConfigNotModified', random='bytes'} - -``` - - diff --git a/old_docs/API_docs_v91/constructors/messages_dialogs.md b/old_docs/API_docs_v91/constructors/messages_dialogs.md deleted file mode 100644 index e6a431b4..00000000 --- a/old_docs/API_docs_v91/constructors/messages_dialogs.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: messages.dialogs -description: Full list of chats with messages and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dialogs -[Back to constructors index](index.md) - - - -Full list of chats with messages and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Dialogs](../types/messages_Dialogs.md) - - -### Example: - -```php -$messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_dialogs={_='messages.dialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v91/constructors/messages_dialogsNotModified.md b/old_docs/API_docs_v91/constructors/messages_dialogsNotModified.md deleted file mode 100644 index 16a32b2e..00000000 --- a/old_docs/API_docs_v91/constructors/messages_dialogsNotModified.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.dialogsNotModified -description: Dialogs haven't changed -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dialogsNotModified -[Back to constructors index](index.md) - - - -Dialogs haven't changed - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Number of dialogs found server-side by the query| - - - -### Type: [messages\_Dialogs](../types/messages_Dialogs.md) - - -### Example: - -```php -$messages_dialogsNotModified = ['_' => 'messages.dialogsNotModified', 'count' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_dialogsNotModified={_='messages.dialogsNotModified', count=int} - -``` - - diff --git a/old_docs/API_docs_v91/constructors/messages_dialogsSlice.md b/old_docs/API_docs_v91/constructors/messages_dialogsSlice.md deleted file mode 100644 index f183b9a8..00000000 --- a/old_docs/API_docs_v91/constructors/messages_dialogsSlice.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: messages.dialogsSlice -description: Incomplete list of dialogs with messages and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dialogsSlice -[Back to constructors index](index.md) - - - -Incomplete list of dialogs with messages and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of dialogs| -|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Dialogs](../types/messages_Dialogs.md) - - -### Example: - -```php -$messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_dialogsSlice={_='messages.dialogsSlice', count=int, dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v91/constructors/messages_favedStickers.md b/old_docs/API_docs_v91/constructors/messages_favedStickers.md deleted file mode 100644 index 72d79df2..00000000 --- a/old_docs/API_docs_v91/constructors/messages_favedStickers.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.favedStickers -description: Favorited stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.favedStickers -[Back to constructors index](index.md) - - - -Favorited stickers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|packs|Array of [StickerPack](../types/StickerPack.md) | Yes|Packs| -|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| - - - -### Type: [messages\_FavedStickers](../types/messages_FavedStickers.md) - - -### Example: - -```php -$messages_favedStickers = ['_' => 'messages.favedStickers', 'hash' => int, 'packs' => [StickerPack, StickerPack], 'stickers' => [Document, Document]]; -``` - - -Or, if you're into Lua: - -```lua -messages_favedStickers={_='messages.favedStickers', hash=int, packs={StickerPack}, stickers={Document}} - -``` - - diff --git a/old_docs/API_docs_v91/constructors/messages_favedStickersNotModified.md b/old_docs/API_docs_v91/constructors/messages_favedStickersNotModified.md deleted file mode 100644 index a47c08e8..00000000 --- a/old_docs/API_docs_v91/constructors/messages_favedStickersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.favedStickersNotModified -description: No new favorited stickers were found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.favedStickersNotModified -[Back to constructors index](index.md) - - - -No new favorited stickers were found - - - - -### Type: [messages\_FavedStickers](../types/messages_FavedStickers.md) - - -### Example: - -```php -$messages_favedStickersNotModified = ['_' => 'messages.favedStickersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_favedStickersNotModified={_='messages.favedStickersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v91/constructors/messages_featuredStickers.md b/old_docs/API_docs_v91/constructors/messages_featuredStickers.md deleted file mode 100644 index 8ef1046e..00000000 --- a/old_docs/API_docs_v91/constructors/messages_featuredStickers.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.featuredStickers -description: Featured stickersets -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.featuredStickers -[Back to constructors index](index.md) - - - -Featured stickersets - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| -|unread|Array of [long](../types/long.md) | Yes|Unread| - - - -### Type: [messages\_FeaturedStickers](../types/messages_FeaturedStickers.md) - - -### Example: - -```php -$messages_featuredStickers = ['_' => 'messages.featuredStickers', 'hash' => int, 'sets' => [StickerSetCovered, StickerSetCovered], 'unread' => [long, long]]; -``` - - -Or, if you're into Lua: - -```lua -messages_featuredStickers={_='messages.featuredStickers', hash=int, sets={StickerSetCovered}, unread={long}} - -``` - - diff --git a/old_docs/API_docs_v91/constructors/messages_featuredStickersNotModified.md b/old_docs/API_docs_v91/constructors/messages_featuredStickersNotModified.md deleted file mode 100644 index de01131b..00000000 --- a/old_docs/API_docs_v91/constructors/messages_featuredStickersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.featuredStickersNotModified -description: Featured stickers haven't changed -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.featuredStickersNotModified -[Back to constructors index](index.md) - - - -Featured stickers haven't changed - - - - -### Type: [messages\_FeaturedStickers](../types/messages_FeaturedStickers.md) - - -### Example: - -```php -$messages_featuredStickersNotModified = ['_' => 'messages.featuredStickersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_featuredStickersNotModified={_='messages.featuredStickersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v91/constructors/messages_foundGifs.md b/old_docs/API_docs_v91/constructors/messages_foundGifs.md deleted file mode 100644 index eb3603ca..00000000 --- a/old_docs/API_docs_v91/constructors/messages_foundGifs.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.foundGifs -description: Found GIFs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.foundGifs -[Back to constructors index](index.md) - - - -Found GIFs - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|next\_offset|[int](../types/int.md) | Yes|Next offset to use when trying to [load more results](../methods/messages.searchGifs.md)| -|results|Array of [FoundGif](../types/FoundGif.md) | Yes|Results| - - - -### Type: [messages\_FoundGifs](../types/messages_FoundGifs.md) - - -### Example: - -```php -$messages_foundGifs = ['_' => 'messages.foundGifs', 'next_offset' => int, 'results' => [FoundGif, FoundGif]]; -``` - - -Or, if you're into Lua: - -```lua -messages_foundGifs={_='messages.foundGifs', next_offset=int, results={FoundGif}} - -``` - - diff --git a/old_docs/API_docs_v91/constructors/messages_foundStickerSets.md b/old_docs/API_docs_v91/constructors/messages_foundStickerSets.md deleted file mode 100644 index 356177e1..00000000 --- a/old_docs/API_docs_v91/constructors/messages_foundStickerSets.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.foundStickerSets -description: Found stickersets -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.foundStickerSets -[Back to constructors index](index.md) - - - -Found stickersets - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| - - - -### Type: [messages\_FoundStickerSets](../types/messages_FoundStickerSets.md) - - -### Example: - -```php -$messages_foundStickerSets = ['_' => 'messages.foundStickerSets', 'hash' => int, 'sets' => [StickerSetCovered, StickerSetCovered]]; -``` - - -Or, if you're into Lua: - -```lua -messages_foundStickerSets={_='messages.foundStickerSets', hash=int, sets={StickerSetCovered}} - -``` - - diff --git a/old_docs/API_docs_v91/constructors/messages_foundStickerSetsNotModified.md b/old_docs/API_docs_v91/constructors/messages_foundStickerSetsNotModified.md deleted file mode 100644 index c1f39490..00000000 --- a/old_docs/API_docs_v91/constructors/messages_foundStickerSetsNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.foundStickerSetsNotModified -description: No further results were found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.foundStickerSetsNotModified -[Back to constructors index](index.md) - - - -No further results were found - - - - -### Type: [messages\_FoundStickerSets](../types/messages_FoundStickerSets.md) - - -### Example: - -```php -$messages_foundStickerSetsNotModified = ['_' => 'messages.foundStickerSetsNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_foundStickerSetsNotModified={_='messages.foundStickerSetsNotModified'} - -``` - - diff --git a/old_docs/API_docs_v91/constructors/messages_highScores.md b/old_docs/API_docs_v91/constructors/messages_highScores.md deleted file mode 100644 index d6fc5210..00000000 --- a/old_docs/API_docs_v91/constructors/messages_highScores.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.highScores -description: Highscores in a game -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.highScores -[Back to constructors index](index.md) - - - -Highscores in a game - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|scores|Array of [HighScore](../types/HighScore.md) | Yes|Scores| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_HighScores](../types/messages_HighScores.md) - - -### Example: - -```php -$messages_highScores = ['_' => 'messages.highScores', 'scores' => [HighScore, HighScore], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_highScores={_='messages.highScores', scores={HighScore}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v91/constructors/messages_messageEditData.md b/old_docs/API_docs_v91/constructors/messages_messageEditData.md deleted file mode 100644 index 76aefca5..00000000 --- a/old_docs/API_docs_v91/constructors/messages_messageEditData.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.messageEditData -description: Message edit data for media -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.messageEditData -[Back to constructors index](index.md) - - - -Message edit data for media - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|caption|[Bool](../types/Bool.md) | Optional|Media caption, if the specified media's caption can be edited| - - - -### Type: [messages\_MessageEditData](../types/messages_MessageEditData.md) - - -### Example: - -```php -$messages_messageEditData = ['_' => 'messages.messageEditData', 'caption' => Bool]; -``` - - -Or, if you're into Lua: - -```lua -messages_messageEditData={_='messages.messageEditData', caption=Bool} - -``` - - diff --git a/old_docs/API_docs_v91/constructors/messages_messages.md b/old_docs/API_docs_v91/constructors/messages_messages.md deleted file mode 100644 index 3e369e1a..00000000 --- a/old_docs/API_docs_v91/constructors/messages_messages.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.messages -description: Full list of messages with auxilary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.messages -[Back to constructors index](index.md) - - - -Full list of messages with auxilary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Messages](../types/messages_Messages.md) - - -### Example: - -```php -$messages_messages = ['_' => 'messages.messages', 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_messages={_='messages.messages', messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v91/constructors/messages_messagesNotModified.md b/old_docs/API_docs_v91/constructors/messages_messagesNotModified.md deleted file mode 100644 index 2e9c4ad9..00000000 --- a/old_docs/API_docs_v91/constructors/messages_messagesNotModified.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.messagesNotModified -description: No new messages matching the query were found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.messagesNotModified -[Back to constructors index](index.md) - - - -No new messages matching the query were found - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Number of results found server-side by the given query| - - - -### Type: [messages\_Messages](../types/messages_Messages.md) - - -### Example: - -```php -$messages_messagesNotModified = ['_' => 'messages.messagesNotModified', 'count' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_messagesNotModified={_='messages.messagesNotModified', count=int} - -``` - - diff --git a/old_docs/API_docs_v91/constructors/messages_messagesSlice.md b/old_docs/API_docs_v91/constructors/messages_messagesSlice.md deleted file mode 100644 index f9b8dc18..00000000 --- a/old_docs/API_docs_v91/constructors/messages_messagesSlice.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: messages.messagesSlice -description: Incomplete list of messages and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.messagesSlice -[Back to constructors index](index.md) - - - -Incomplete list of messages and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of messages in the list| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Messages](../types/messages_Messages.md) - - -### Example: - -```php -$messages_messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_messagesSlice={_='messages.messagesSlice', count=int, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v91/constructors/messages_peerDialogs.md b/old_docs/API_docs_v91/constructors/messages_peerDialogs.md deleted file mode 100644 index 29b4b842..00000000 --- a/old_docs/API_docs_v91/constructors/messages_peerDialogs.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: messages.peerDialogs -description: Dialog info of multiple peers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.peerDialogs -[Back to constructors index](index.md) - - - -Dialog info of multiple peers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| -|state|[updates\_State](../types/updates_State.md) | Yes|Current [update state of dialog](https://core.telegram.org/api/updates)| - - - -### Type: [messages\_PeerDialogs](../types/messages_PeerDialogs.md) - - -### Example: - -```php -$messages_peerDialogs = ['_' => 'messages.peerDialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates_State]; -``` - - -Or, if you're into Lua: - -```lua -messages_peerDialogs={_='messages.peerDialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}, state=updates_State} - -``` - - diff --git a/old_docs/API_docs_v91/constructors/messages_recentStickers.md b/old_docs/API_docs_v91/constructors/messages_recentStickers.md deleted file mode 100644 index 47d5cffd..00000000 --- a/old_docs/API_docs_v91/constructors/messages_recentStickers.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: messages.recentStickers -description: Recently used stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.recentStickers -[Back to constructors index](index.md) - - - -Recently used stickers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|packs|Array of [StickerPack](../types/StickerPack.md) | Yes|Packs| -|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| -|dates|Array of [int](../types/int.md) | Yes|Dates| - - - -### Type: [messages\_RecentStickers](../types/messages_RecentStickers.md) - - -### Example: - -```php -$messages_recentStickers = ['_' => 'messages.recentStickers', 'hash' => int, 'packs' => [StickerPack, StickerPack], 'stickers' => [Document, Document], 'dates' => [int, int]]; -``` - - -Or, if you're into Lua: - -```lua -messages_recentStickers={_='messages.recentStickers', hash=int, packs={StickerPack}, stickers={Document}, dates={int}} - -``` - - diff --git a/old_docs/API_docs_v91/constructors/messages_recentStickersNotModified.md b/old_docs/API_docs_v91/constructors/messages_recentStickersNotModified.md deleted file mode 100644 index 3e81dceb..00000000 --- a/old_docs/API_docs_v91/constructors/messages_recentStickersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.recentStickersNotModified -description: No new recent sticker was found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.recentStickersNotModified -[Back to constructors index](index.md) - - - -No new recent sticker was found - - - - -### Type: [messages\_RecentStickers](../types/messages_RecentStickers.md) - - -### Example: - -```php -$messages_recentStickersNotModified = ['_' => 'messages.recentStickersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_recentStickersNotModified={_='messages.recentStickersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v91/constructors/messages_savedGifs.md b/old_docs/API_docs_v91/constructors/messages_savedGifs.md deleted file mode 100644 index ed3e8ea3..00000000 --- a/old_docs/API_docs_v91/constructors/messages_savedGifs.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.savedGifs -description: Saved gifs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.savedGifs -[Back to constructors index](index.md) - - - -Saved gifs - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|gifs|Array of [Document](../types/Document.md) | Yes|Gifs| - - - -### Type: [messages\_SavedGifs](../types/messages_SavedGifs.md) - - -### Example: - -```php -$messages_savedGifs = ['_' => 'messages.savedGifs', 'hash' => int, 'gifs' => [Document, Document]]; -``` - - -Or, if you're into Lua: - -```lua -messages_savedGifs={_='messages.savedGifs', hash=int, gifs={Document}} - -``` - - diff --git a/old_docs/API_docs_v91/constructors/messages_savedGifsNotModified.md b/old_docs/API_docs_v91/constructors/messages_savedGifsNotModified.md deleted file mode 100644 index 0f843a0c..00000000 --- a/old_docs/API_docs_v91/constructors/messages_savedGifsNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.savedGifsNotModified -description: No new saved gifs were found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.savedGifsNotModified -[Back to constructors index](index.md) - - - -No new saved gifs were found - - - - -### Type: [messages\_SavedGifs](../types/messages_SavedGifs.md) - - -### Example: - -```php -$messages_savedGifsNotModified = ['_' => 'messages.savedGifsNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_savedGifsNotModified={_='messages.savedGifsNotModified'} - -``` - - diff --git a/old_docs/API_docs_v91/constructors/messages_sentEncryptedFile.md b/old_docs/API_docs_v91/constructors/messages_sentEncryptedFile.md deleted file mode 100644 index fdc2a11e..00000000 --- a/old_docs/API_docs_v91/constructors/messages_sentEncryptedFile.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.sentEncryptedFile -description: Message with a file enclosure sent to a protected chat -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.sentEncryptedFile -[Back to constructors index](index.md) - - - -Message with a file enclosure sent to a protected chat - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Sending date| -|file|[EncryptedFile](../types/EncryptedFile.md) | Optional|Attached file| - - - -### Type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) - - -### Example: - -```php -$messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile]; -``` - - -Or, if you're into Lua: - -```lua -messages_sentEncryptedFile={_='messages.sentEncryptedFile', date=int, file=EncryptedFile} - -``` - - diff --git a/old_docs/API_docs_v91/constructors/messages_sentEncryptedMessage.md b/old_docs/API_docs_v91/constructors/messages_sentEncryptedMessage.md deleted file mode 100644 index 36b2bbff..00000000 --- a/old_docs/API_docs_v91/constructors/messages_sentEncryptedMessage.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.sentEncryptedMessage -description: Message without file attachemts sent to an encrypted file. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.sentEncryptedMessage -[Back to constructors index](index.md) - - - -Message without file attachemts sent to an encrypted file. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Date of sending| - - - -### Type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) - - -### Example: - -```php -$messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_sentEncryptedMessage={_='messages.sentEncryptedMessage', date=int} - -``` - - diff --git a/old_docs/API_docs_v91/constructors/messages_stickerSet.md b/old_docs/API_docs_v91/constructors/messages_stickerSet.md deleted file mode 100644 index 127191de..00000000 --- a/old_docs/API_docs_v91/constructors/messages_stickerSet.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.stickerSet -description: Stickerset and stickers inside it -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickerSet -[Back to constructors index](index.md) - - - -Stickerset and stickers inside it - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|set|[StickerSet](../types/StickerSet.md) | Yes|The stickerset| -|packs|Array of [StickerPack](../types/StickerPack.md) | Yes|Packs| -|documents|Array of [Document](../types/Document.md) | Yes|Documents| - - - -### Type: [messages\_StickerSet](../types/messages_StickerSet.md) - - -### Example: - -```php -$messages_stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'packs' => [StickerPack, StickerPack], 'documents' => [Document, Document]]; -``` - - -Or, if you're into Lua: - -```lua -messages_stickerSet={_='messages.stickerSet', set=StickerSet, packs={StickerPack}, documents={Document}} - -``` - - diff --git a/old_docs/API_docs_v91/constructors/messages_stickerSetInstallResultArchive.md b/old_docs/API_docs_v91/constructors/messages_stickerSetInstallResultArchive.md deleted file mode 100644 index 8a5f4d5d..00000000 --- a/old_docs/API_docs_v91/constructors/messages_stickerSetInstallResultArchive.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.stickerSetInstallResultArchive -description: The stickerset was installed, but since there are too many stickersets some were archived -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickerSetInstallResultArchive -[Back to constructors index](index.md) - - - -The stickerset was installed, but since there are too many stickersets some were archived - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| - - - -### Type: [messages\_StickerSetInstallResult](../types/messages_StickerSetInstallResult.md) - - -### Example: - -```php -$messages_stickerSetInstallResultArchive = ['_' => 'messages.stickerSetInstallResultArchive', 'sets' => [StickerSetCovered, StickerSetCovered]]; -``` - - -Or, if you're into Lua: - -```lua -messages_stickerSetInstallResultArchive={_='messages.stickerSetInstallResultArchive', sets={StickerSetCovered}} - -``` - - diff --git a/old_docs/API_docs_v91/constructors/messages_stickerSetInstallResultSuccess.md b/old_docs/API_docs_v91/constructors/messages_stickerSetInstallResultSuccess.md deleted file mode 100644 index 1d33b89f..00000000 --- a/old_docs/API_docs_v91/constructors/messages_stickerSetInstallResultSuccess.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.stickerSetInstallResultSuccess -description: The stickerset was installed successfully -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickerSetInstallResultSuccess -[Back to constructors index](index.md) - - - -The stickerset was installed successfully - - - - -### Type: [messages\_StickerSetInstallResult](../types/messages_StickerSetInstallResult.md) - - -### Example: - -```php -$messages_stickerSetInstallResultSuccess = ['_' => 'messages.stickerSetInstallResultSuccess']; -``` - - -Or, if you're into Lua: - -```lua -messages_stickerSetInstallResultSuccess={_='messages.stickerSetInstallResultSuccess'} - -``` - - diff --git a/old_docs/API_docs_v91/constructors/messages_stickers.md b/old_docs/API_docs_v91/constructors/messages_stickers.md deleted file mode 100644 index c321996b..00000000 --- a/old_docs/API_docs_v91/constructors/messages_stickers.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.stickers -description: Found stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickers -[Back to constructors index](index.md) - - - -Found stickers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| - - - -### Type: [messages\_Stickers](../types/messages_Stickers.md) - - -### Example: - -```php -$messages_stickers = ['_' => 'messages.stickers', 'hash' => int, 'stickers' => [Document, Document]]; -``` - - -Or, if you're into Lua: - -```lua -messages_stickers={_='messages.stickers', hash=int, stickers={Document}} - -``` - - diff --git a/old_docs/API_docs_v91/constructors/messages_stickersNotModified.md b/old_docs/API_docs_v91/constructors/messages_stickersNotModified.md deleted file mode 100644 index 3d434a79..00000000 --- a/old_docs/API_docs_v91/constructors/messages_stickersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.stickersNotModified -description: No new stickers were found for the given query -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickersNotModified -[Back to constructors index](index.md) - - - -No new stickers were found for the given query - - - - -### Type: [messages\_Stickers](../types/messages_Stickers.md) - - -### Example: - -```php -$messages_stickersNotModified = ['_' => 'messages.stickersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_stickersNotModified={_='messages.stickersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v91/constructors/payments.paymentForm.md b/old_docs/API_docs_v91/constructors/payments.paymentForm.md new file mode 100644 index 00000000..90e0f39d --- /dev/null +++ b/old_docs/API_docs_v91/constructors/payments.paymentForm.md @@ -0,0 +1,48 @@ +--- +title: payments.paymentForm +description: Payment form +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: payments.paymentForm +[Back to constructors index](index.md) + + + +Payment form + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|can\_save\_credentials|[Bool](../types/Bool.md) | Optional|Whether the user can choose to save credentials.| +|password\_missing|[Bool](../types/Bool.md) | Optional|Indicates that the user can save payment credentials, but only after setting up a [2FA password](https://core.telegram.org/api/srp) (currently the account doesn't have a [2FA password](https://core.telegram.org/api/srp))| +|bot\_id|[int](../types/int.md) | Yes|Bot ID| +|invoice|[Invoice](../types/Invoice.md) | Yes|Invoice| +|provider\_id|[int](../types/int.md) | Yes|Payment provider ID.| +|url|[string](../types/string.md) | Yes|Payment form URL| +|native\_provider|[string](../types/string.md) | Optional|Payment provider name.
One of the following:
\- `stripe`| +|native\_params|[DataJSON](../types/DataJSON.md) | Optional|Contains information about the payment provider, if available, to support it natively without the need for opening the URL.
A JSON object that can contain the following fields:

\- `publishable_key`: Stripe API publishable key
\- `apple_pay_merchant_id`: Apple Pay merchant ID
\- `android_pay_public_key`: Android Pay public key
\- `android_pay_bgcolor`: Android Pay form background color
\- `android_pay_inverse`: Whether to use the dark theme in the Android Pay form
\- `need_country`: True, if the user country must be provided,
\- `need_zip`: True, if the user ZIP/postal code must be provided,
\- `need_cardholder_name`: True, if the cardholder name must be provided
| +|saved\_info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Optional|Saved server-side order information| +|saved\_credentials|[PaymentSavedCredentials](../types/PaymentSavedCredentials.md) | Optional|Contains information about saved card credentials| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [payments.PaymentForm](../types/payments.PaymentForm.md) + + +### Example: + +```php +$payments.paymentForm = ['_' => 'payments.paymentForm', 'can_save_credentials' => Bool, 'password_missing' => Bool, 'bot_id' => int, 'invoice' => Invoice, 'provider_id' => int, 'url' => 'string', 'native_provider' => 'string', 'native_params' => DataJSON, 'saved_info' => PaymentRequestedInfo, 'saved_credentials' => PaymentSavedCredentials, 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +payments.paymentForm={_='payments.paymentForm', can_save_credentials=Bool, password_missing=Bool, bot_id=int, invoice=Invoice, provider_id=int, url='string', native_provider='string', native_params=DataJSON, saved_info=PaymentRequestedInfo, saved_credentials=PaymentSavedCredentials, users={User}} + +``` + + diff --git a/old_docs/API_docs_v91/constructors/payments.paymentReceipt.md b/old_docs/API_docs_v91/constructors/payments.paymentReceipt.md new file mode 100644 index 00000000..5a0cc190 --- /dev/null +++ b/old_docs/API_docs_v91/constructors/payments.paymentReceipt.md @@ -0,0 +1,47 @@ +--- +title: payments.paymentReceipt +description: Receipt +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: payments.paymentReceipt +[Back to constructors index](index.md) + + + +Receipt + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Date of generation| +|bot\_id|[int](../types/int.md) | Yes|Bot ID| +|invoice|[Invoice](../types/Invoice.md) | Yes|Invoice| +|provider\_id|[int](../types/int.md) | Yes|Provider ID| +|info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Optional|Info| +|shipping|[ShippingOption](../types/ShippingOption.md) | Optional|Selected shipping option| +|currency|[string](../types/string.md) | Yes|Three-letter ISO 4217 [currency](https://core.telegram.org/bots/payments#supported-currencies) code| +|total\_amount|[long](../types/long.md) | Yes|Total amount in the smallest units of the currency (integer, not float/double). For example, for a price of `US$ 1.45` pass `amount = 145`. See the exp parameter in [currencies.json](https://core.telegram.org/bots/payments/currencies.json), it shows the number of digits past the decimal point for each currency (2 for the majority of currencies).| +|credentials\_title|[string](../types/string.md) | Yes|Payment credential name| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [payments.PaymentReceipt](../types/payments.PaymentReceipt.md) + + +### Example: + +```php +$payments.paymentReceipt = ['_' => 'payments.paymentReceipt', 'date' => int, 'bot_id' => int, 'invoice' => Invoice, 'provider_id' => int, 'info' => PaymentRequestedInfo, 'shipping' => ShippingOption, 'currency' => 'string', 'total_amount' => long, 'credentials_title' => 'string', 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +payments.paymentReceipt={_='payments.paymentReceipt', date=int, bot_id=int, invoice=Invoice, provider_id=int, info=PaymentRequestedInfo, shipping=ShippingOption, currency='string', total_amount=long, credentials_title='string', users={User}} + +``` + + diff --git a/old_docs/API_docs_v91/constructors/payments.paymentResult.md b/old_docs/API_docs_v91/constructors/payments.paymentResult.md new file mode 100644 index 00000000..df32fd91 --- /dev/null +++ b/old_docs/API_docs_v91/constructors/payments.paymentResult.md @@ -0,0 +1,38 @@ +--- +title: payments.paymentResult +description: Payment result +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: payments.paymentResult +[Back to constructors index](index.md) + + + +Payment result + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|updates|[Updates](../types/Updates.md) | Yes|Info about the payment| + + + +### Type: [payments.PaymentResult](../types/payments.PaymentResult.md) + + +### Example: + +```php +$payments.paymentResult = ['_' => 'payments.paymentResult', 'updates' => Updates]; +``` + + +Or, if you're into Lua: + +```lua +payments.paymentResult={_='payments.paymentResult', updates=Updates} + +``` + + diff --git a/old_docs/API_docs_v91/constructors/payments.paymentVerficationNeeded.md b/old_docs/API_docs_v91/constructors/payments.paymentVerficationNeeded.md new file mode 100644 index 00000000..3f459215 --- /dev/null +++ b/old_docs/API_docs_v91/constructors/payments.paymentVerficationNeeded.md @@ -0,0 +1,38 @@ +--- +title: payments.paymentVerficationNeeded +description: Payment verfication needed +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: payments.paymentVerficationNeeded +[Back to constructors index](index.md) + + + +Payment verfication needed + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|url|[string](../types/string.md) | Yes|URL| + + + +### Type: [payments.PaymentResult](../types/payments.PaymentResult.md) + + +### Example: + +```php +$payments.paymentVerficationNeeded = ['_' => 'payments.paymentVerficationNeeded', 'url' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +payments.paymentVerficationNeeded={_='payments.paymentVerficationNeeded', url='string'} + +``` + + diff --git a/old_docs/API_docs_v91/constructors/payments.savedInfo.md b/old_docs/API_docs_v91/constructors/payments.savedInfo.md new file mode 100644 index 00000000..a005a842 --- /dev/null +++ b/old_docs/API_docs_v91/constructors/payments.savedInfo.md @@ -0,0 +1,39 @@ +--- +title: payments.savedInfo +description: Saved server-side order information +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: payments.savedInfo +[Back to constructors index](index.md) + + + +Saved server-side order information + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|has\_saved\_credentials|[Bool](../types/Bool.md) | Optional|Whether the user has some saved payment credentials| +|saved\_info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Optional|Saved server-side order information| + + + +### Type: [payments.SavedInfo](../types/payments.SavedInfo.md) + + +### Example: + +```php +$payments.savedInfo = ['_' => 'payments.savedInfo', 'has_saved_credentials' => Bool, 'saved_info' => PaymentRequestedInfo]; +``` + + +Or, if you're into Lua: + +```lua +payments.savedInfo={_='payments.savedInfo', has_saved_credentials=Bool, saved_info=PaymentRequestedInfo} + +``` + + diff --git a/old_docs/API_docs_v91/constructors/payments.validatedRequestedInfo.md b/old_docs/API_docs_v91/constructors/payments.validatedRequestedInfo.md new file mode 100644 index 00000000..4789b28d --- /dev/null +++ b/old_docs/API_docs_v91/constructors/payments.validatedRequestedInfo.md @@ -0,0 +1,39 @@ +--- +title: payments.validatedRequestedInfo +description: Validated user-provided info +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: payments.validatedRequestedInfo +[Back to constructors index](index.md) + + + +Validated user-provided info + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|id|[string](../types/string.md) | Optional|ID| +|shipping\_options|Array of [ShippingOption](../types/ShippingOption.md) | Optional|Shipping options| + + + +### Type: [payments.ValidatedRequestedInfo](../types/payments.ValidatedRequestedInfo.md) + + +### Example: + +```php +$payments.validatedRequestedInfo = ['_' => 'payments.validatedRequestedInfo', 'id' => 'string', 'shipping_options' => [ShippingOption, ShippingOption]]; +``` + + +Or, if you're into Lua: + +```lua +payments.validatedRequestedInfo={_='payments.validatedRequestedInfo', id='string', shipping_options={ShippingOption}} + +``` + + diff --git a/old_docs/API_docs_v91/constructors/payments_paymentForm.md b/old_docs/API_docs_v91/constructors/payments_paymentForm.md deleted file mode 100644 index 88848527..00000000 --- a/old_docs/API_docs_v91/constructors/payments_paymentForm.md +++ /dev/null @@ -1,48 +0,0 @@ ---- -title: payments.paymentForm -description: Payment form -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: payments.paymentForm -[Back to constructors index](index.md) - - - -Payment form - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|can\_save\_credentials|[Bool](../types/Bool.md) | Optional|Whether the user can choose to save credentials.| -|password\_missing|[Bool](../types/Bool.md) | Optional|Indicates that the user can save payment credentials, but only after setting up a [2FA password](https://core.telegram.org/api/srp) (currently the account doesn't have a [2FA password](https://core.telegram.org/api/srp))| -|bot\_id|[int](../types/int.md) | Yes|Bot ID| -|invoice|[Invoice](../types/Invoice.md) | Yes|Invoice| -|provider\_id|[int](../types/int.md) | Yes|Payment provider ID.| -|url|[string](../types/string.md) | Yes|Payment form URL| -|native\_provider|[string](../types/string.md) | Optional|Payment provider name.
One of the following:
\- `stripe`| -|native\_params|[DataJSON](../types/DataJSON.md) | Optional|Contains information about the payment provider, if available, to support it natively without the need for opening the URL.
A JSON object that can contain the following fields:

\- `publishable_key`: Stripe API publishable key
\- `apple_pay_merchant_id`: Apple Pay merchant ID
\- `android_pay_public_key`: Android Pay public key
\- `android_pay_bgcolor`: Android Pay form background color
\- `android_pay_inverse`: Whether to use the dark theme in the Android Pay form
\- `need_country`: True, if the user country must be provided,
\- `need_zip`: True, if the user ZIP/postal code must be provided,
\- `need_cardholder_name`: True, if the cardholder name must be provided
| -|saved\_info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Optional|Saved server-side order information| -|saved\_credentials|[PaymentSavedCredentials](../types/PaymentSavedCredentials.md) | Optional|Contains information about saved card credentials| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [payments\_PaymentForm](../types/payments_PaymentForm.md) - - -### Example: - -```php -$payments_paymentForm = ['_' => 'payments.paymentForm', 'can_save_credentials' => Bool, 'password_missing' => Bool, 'bot_id' => int, 'invoice' => Invoice, 'provider_id' => int, 'url' => 'string', 'native_provider' => 'string', 'native_params' => DataJSON, 'saved_info' => PaymentRequestedInfo, 'saved_credentials' => PaymentSavedCredentials, 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -payments_paymentForm={_='payments.paymentForm', can_save_credentials=Bool, password_missing=Bool, bot_id=int, invoice=Invoice, provider_id=int, url='string', native_provider='string', native_params=DataJSON, saved_info=PaymentRequestedInfo, saved_credentials=PaymentSavedCredentials, users={User}} - -``` - - diff --git a/old_docs/API_docs_v91/constructors/payments_paymentReceipt.md b/old_docs/API_docs_v91/constructors/payments_paymentReceipt.md deleted file mode 100644 index 411e9dee..00000000 --- a/old_docs/API_docs_v91/constructors/payments_paymentReceipt.md +++ /dev/null @@ -1,47 +0,0 @@ ---- -title: payments.paymentReceipt -description: Receipt -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: payments.paymentReceipt -[Back to constructors index](index.md) - - - -Receipt - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Date of generation| -|bot\_id|[int](../types/int.md) | Yes|Bot ID| -|invoice|[Invoice](../types/Invoice.md) | Yes|Invoice| -|provider\_id|[int](../types/int.md) | Yes|Provider ID| -|info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Optional|Info| -|shipping|[ShippingOption](../types/ShippingOption.md) | Optional|Selected shipping option| -|currency|[string](../types/string.md) | Yes|Three-letter ISO 4217 [currency](https://core.telegram.org/bots/payments#supported-currencies) code| -|total\_amount|[long](../types/long.md) | Yes|Total amount in the smallest units of the currency (integer, not float/double). For example, for a price of `US$ 1.45` pass `amount = 145`. See the exp parameter in [currencies.json](https://core.telegram.org/bots/payments/currencies.json), it shows the number of digits past the decimal point for each currency (2 for the majority of currencies).| -|credentials\_title|[string](../types/string.md) | Yes|Payment credential name| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [payments\_PaymentReceipt](../types/payments_PaymentReceipt.md) - - -### Example: - -```php -$payments_paymentReceipt = ['_' => 'payments.paymentReceipt', 'date' => int, 'bot_id' => int, 'invoice' => Invoice, 'provider_id' => int, 'info' => PaymentRequestedInfo, 'shipping' => ShippingOption, 'currency' => 'string', 'total_amount' => long, 'credentials_title' => 'string', 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -payments_paymentReceipt={_='payments.paymentReceipt', date=int, bot_id=int, invoice=Invoice, provider_id=int, info=PaymentRequestedInfo, shipping=ShippingOption, currency='string', total_amount=long, credentials_title='string', users={User}} - -``` - - diff --git a/old_docs/API_docs_v91/constructors/payments_paymentResult.md b/old_docs/API_docs_v91/constructors/payments_paymentResult.md deleted file mode 100644 index 12af1d36..00000000 --- a/old_docs/API_docs_v91/constructors/payments_paymentResult.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: payments.paymentResult -description: Payment result -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: payments.paymentResult -[Back to constructors index](index.md) - - - -Payment result - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|updates|[Updates](../types/Updates.md) | Yes|Info about the payment| - - - -### Type: [payments\_PaymentResult](../types/payments_PaymentResult.md) - - -### Example: - -```php -$payments_paymentResult = ['_' => 'payments.paymentResult', 'updates' => Updates]; -``` - - -Or, if you're into Lua: - -```lua -payments_paymentResult={_='payments.paymentResult', updates=Updates} - -``` - - diff --git a/old_docs/API_docs_v91/constructors/payments_paymentVerficationNeeded.md b/old_docs/API_docs_v91/constructors/payments_paymentVerficationNeeded.md deleted file mode 100644 index 70ca205d..00000000 --- a/old_docs/API_docs_v91/constructors/payments_paymentVerficationNeeded.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: payments.paymentVerficationNeeded -description: Payment verfication needed -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: payments.paymentVerficationNeeded -[Back to constructors index](index.md) - - - -Payment verfication needed - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|url|[string](../types/string.md) | Yes|URL| - - - -### Type: [payments\_PaymentResult](../types/payments_PaymentResult.md) - - -### Example: - -```php -$payments_paymentVerficationNeeded = ['_' => 'payments.paymentVerficationNeeded', 'url' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -payments_paymentVerficationNeeded={_='payments.paymentVerficationNeeded', url='string'} - -``` - - diff --git a/old_docs/API_docs_v91/constructors/payments_savedInfo.md b/old_docs/API_docs_v91/constructors/payments_savedInfo.md deleted file mode 100644 index 19d3aee5..00000000 --- a/old_docs/API_docs_v91/constructors/payments_savedInfo.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: payments.savedInfo -description: Saved server-side order information -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: payments.savedInfo -[Back to constructors index](index.md) - - - -Saved server-side order information - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|has\_saved\_credentials|[Bool](../types/Bool.md) | Optional|Whether the user has some saved payment credentials| -|saved\_info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Optional|Saved server-side order information| - - - -### Type: [payments\_SavedInfo](../types/payments_SavedInfo.md) - - -### Example: - -```php -$payments_savedInfo = ['_' => 'payments.savedInfo', 'has_saved_credentials' => Bool, 'saved_info' => PaymentRequestedInfo]; -``` - - -Or, if you're into Lua: - -```lua -payments_savedInfo={_='payments.savedInfo', has_saved_credentials=Bool, saved_info=PaymentRequestedInfo} - -``` - - diff --git a/old_docs/API_docs_v91/constructors/payments_validatedRequestedInfo.md b/old_docs/API_docs_v91/constructors/payments_validatedRequestedInfo.md deleted file mode 100644 index a07c7d06..00000000 --- a/old_docs/API_docs_v91/constructors/payments_validatedRequestedInfo.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: payments.validatedRequestedInfo -description: Validated user-provided info -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: payments.validatedRequestedInfo -[Back to constructors index](index.md) - - - -Validated user-provided info - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|id|[string](../types/string.md) | Optional|ID| -|shipping\_options|Array of [ShippingOption](../types/ShippingOption.md) | Optional|Shipping options| - - - -### Type: [payments\_ValidatedRequestedInfo](../types/payments_ValidatedRequestedInfo.md) - - -### Example: - -```php -$payments_validatedRequestedInfo = ['_' => 'payments.validatedRequestedInfo', 'id' => 'string', 'shipping_options' => [ShippingOption, ShippingOption]]; -``` - - -Or, if you're into Lua: - -```lua -payments_validatedRequestedInfo={_='payments.validatedRequestedInfo', id='string', shipping_options={ShippingOption}} - -``` - - diff --git a/old_docs/API_docs_v91/constructors/phone.phoneCall.md b/old_docs/API_docs_v91/constructors/phone.phoneCall.md new file mode 100644 index 00000000..8c1d26d4 --- /dev/null +++ b/old_docs/API_docs_v91/constructors/phone.phoneCall.md @@ -0,0 +1,39 @@ +--- +title: phone.phoneCall +description: A VoIP phone call +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: phone.phoneCall +[Back to constructors index](index.md) + + + +A VoIP phone call + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_call|[PhoneCall](../types/PhoneCall.md) | Optional|The VoIP phone call| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [phone.PhoneCall](../types/phone.PhoneCall.md) + + +### Example: + +```php +$phone.phoneCall = ['_' => 'phone.phoneCall', 'phone_call' => PhoneCall, 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +phone.phoneCall={_='phone.phoneCall', phone_call=PhoneCall, users={User}} + +``` + + diff --git a/old_docs/API_docs_v91/constructors/phone_phoneCall.md b/old_docs/API_docs_v91/constructors/phone_phoneCall.md deleted file mode 100644 index 94314567..00000000 --- a/old_docs/API_docs_v91/constructors/phone_phoneCall.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: phone.phoneCall -description: A VoIP phone call -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: phone.phoneCall -[Back to constructors index](index.md) - - - -A VoIP phone call - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_call|[PhoneCall](../types/PhoneCall.md) | Optional|The VoIP phone call| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [phone\_PhoneCall](../types/phone_PhoneCall.md) - - -### Example: - -```php -$phone_phoneCall = ['_' => 'phone.phoneCall', 'phone_call' => PhoneCall, 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -phone_phoneCall={_='phone.phoneCall', phone_call=PhoneCall, users={User}} - -``` - - diff --git a/old_docs/API_docs_v91/constructors/photos.photo.md b/old_docs/API_docs_v91/constructors/photos.photo.md new file mode 100644 index 00000000..43d3efc7 --- /dev/null +++ b/old_docs/API_docs_v91/constructors/photos.photo.md @@ -0,0 +1,39 @@ +--- +title: photos.photo +description: Photo with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: photos.photo +[Back to constructors index](index.md) + + + +Photo with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|photo|[Photo](../types/Photo.md) | Optional|Photo| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [photos.Photo](../types/photos.Photo.md) + + +### Example: + +```php +$photos.photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +photos.photo={_='photos.photo', photo=Photo, users={User}} + +``` + + diff --git a/old_docs/API_docs_v91/constructors/photos.photos.md b/old_docs/API_docs_v91/constructors/photos.photos.md new file mode 100644 index 00000000..901a9693 --- /dev/null +++ b/old_docs/API_docs_v91/constructors/photos.photos.md @@ -0,0 +1,39 @@ +--- +title: photos.photos +description: Full list of photos with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: photos.photos +[Back to constructors index](index.md) + + + +Full list of photos with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [photos.Photos](../types/photos.Photos.md) + + +### Example: + +```php +$photos.photos = ['_' => 'photos.photos', 'photos' => [Photo, Photo], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +photos.photos={_='photos.photos', photos={Photo}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v91/constructors/photos.photosSlice.md b/old_docs/API_docs_v91/constructors/photos.photosSlice.md new file mode 100644 index 00000000..2cca3546 --- /dev/null +++ b/old_docs/API_docs_v91/constructors/photos.photosSlice.md @@ -0,0 +1,40 @@ +--- +title: photos.photosSlice +description: Incomplete list of photos with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: photos.photosSlice +[Back to constructors index](index.md) + + + +Incomplete list of photos with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of photos| +|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [photos.Photos](../types/photos.Photos.md) + + +### Example: + +```php +$photos.photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo, Photo], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +photos.photosSlice={_='photos.photosSlice', count=int, photos={Photo}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v91/constructors/photos_photo.md b/old_docs/API_docs_v91/constructors/photos_photo.md deleted file mode 100644 index d5ad61d9..00000000 --- a/old_docs/API_docs_v91/constructors/photos_photo.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: photos.photo -description: Photo with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: photos.photo -[Back to constructors index](index.md) - - - -Photo with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|photo|[Photo](../types/Photo.md) | Optional|Photo| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [photos\_Photo](../types/photos_Photo.md) - - -### Example: - -```php -$photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -photos_photo={_='photos.photo', photo=Photo, users={User}} - -``` - - diff --git a/old_docs/API_docs_v91/constructors/photos_photos.md b/old_docs/API_docs_v91/constructors/photos_photos.md deleted file mode 100644 index 6ae5d048..00000000 --- a/old_docs/API_docs_v91/constructors/photos_photos.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: photos.photos -description: Full list of photos with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: photos.photos -[Back to constructors index](index.md) - - - -Full list of photos with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [photos\_Photos](../types/photos_Photos.md) - - -### Example: - -```php -$photos_photos = ['_' => 'photos.photos', 'photos' => [Photo, Photo], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -photos_photos={_='photos.photos', photos={Photo}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v91/constructors/photos_photosSlice.md b/old_docs/API_docs_v91/constructors/photos_photosSlice.md deleted file mode 100644 index 5c465c21..00000000 --- a/old_docs/API_docs_v91/constructors/photos_photosSlice.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: photos.photosSlice -description: Incomplete list of photos with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: photos.photosSlice -[Back to constructors index](index.md) - - - -Incomplete list of photos with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of photos| -|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [photos\_Photos](../types/photos_Photos.md) - - -### Example: - -```php -$photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo, Photo], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -photos_photosSlice={_='photos.photosSlice', count=int, photos={Photo}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v91/constructors/storage.fileGif.md b/old_docs/API_docs_v91/constructors/storage.fileGif.md new file mode 100644 index 00000000..8193bd25 --- /dev/null +++ b/old_docs/API_docs_v91/constructors/storage.fileGif.md @@ -0,0 +1,33 @@ +--- +title: storage.fileGif +description: GIF image. MIME type: `image/gif`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileGif +[Back to constructors index](index.md) + + + +GIF image. MIME type: `image/gif`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileGif = ['_' => 'storage.fileGif']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileGif={_='storage.fileGif'} + +``` + + diff --git a/old_docs/API_docs_v91/constructors/storage.fileJpeg.md b/old_docs/API_docs_v91/constructors/storage.fileJpeg.md new file mode 100644 index 00000000..7f125963 --- /dev/null +++ b/old_docs/API_docs_v91/constructors/storage.fileJpeg.md @@ -0,0 +1,33 @@ +--- +title: storage.fileJpeg +description: JPEG image. MIME type: `image/jpeg`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileJpeg +[Back to constructors index](index.md) + + + +JPEG image. MIME type: `image/jpeg`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileJpeg = ['_' => 'storage.fileJpeg']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileJpeg={_='storage.fileJpeg'} + +``` + + diff --git a/old_docs/API_docs_v91/constructors/storage.fileMov.md b/old_docs/API_docs_v91/constructors/storage.fileMov.md new file mode 100644 index 00000000..cb3742e0 --- /dev/null +++ b/old_docs/API_docs_v91/constructors/storage.fileMov.md @@ -0,0 +1,33 @@ +--- +title: storage.fileMov +description: Quicktime video. MIME type: `video/quicktime`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileMov +[Back to constructors index](index.md) + + + +Quicktime video. MIME type: `video/quicktime`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileMov = ['_' => 'storage.fileMov']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileMov={_='storage.fileMov'} + +``` + + diff --git a/old_docs/API_docs_v91/constructors/storage.fileMp3.md b/old_docs/API_docs_v91/constructors/storage.fileMp3.md new file mode 100644 index 00000000..617f2d39 --- /dev/null +++ b/old_docs/API_docs_v91/constructors/storage.fileMp3.md @@ -0,0 +1,33 @@ +--- +title: storage.fileMp3 +description: Mp3 audio. MIME type: `audio/mpeg`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileMp3 +[Back to constructors index](index.md) + + + +Mp3 audio. MIME type: `audio/mpeg`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileMp3 = ['_' => 'storage.fileMp3']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileMp3={_='storage.fileMp3'} + +``` + + diff --git a/old_docs/API_docs_v91/constructors/storage.fileMp4.md b/old_docs/API_docs_v91/constructors/storage.fileMp4.md new file mode 100644 index 00000000..37038176 --- /dev/null +++ b/old_docs/API_docs_v91/constructors/storage.fileMp4.md @@ -0,0 +1,33 @@ +--- +title: storage.fileMp4 +description: MPEG-4 video. MIME type: `video/mp4`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileMp4 +[Back to constructors index](index.md) + + + +MPEG-4 video. MIME type: `video/mp4`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileMp4 = ['_' => 'storage.fileMp4']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileMp4={_='storage.fileMp4'} + +``` + + diff --git a/old_docs/API_docs_v91/constructors/storage.filePartial.md b/old_docs/API_docs_v91/constructors/storage.filePartial.md new file mode 100644 index 00000000..98779e71 --- /dev/null +++ b/old_docs/API_docs_v91/constructors/storage.filePartial.md @@ -0,0 +1,33 @@ +--- +title: storage.filePartial +description: Part of a bigger file. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.filePartial +[Back to constructors index](index.md) + + + +Part of a bigger file. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.filePartial = ['_' => 'storage.filePartial']; +``` + + +Or, if you're into Lua: + +```lua +storage.filePartial={_='storage.filePartial'} + +``` + + diff --git a/old_docs/API_docs_v91/constructors/storage.filePdf.md b/old_docs/API_docs_v91/constructors/storage.filePdf.md new file mode 100644 index 00000000..136c0614 --- /dev/null +++ b/old_docs/API_docs_v91/constructors/storage.filePdf.md @@ -0,0 +1,33 @@ +--- +title: storage.filePdf +description: PDF document image. MIME type: `application/pdf`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.filePdf +[Back to constructors index](index.md) + + + +PDF document image. MIME type: `application/pdf`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.filePdf = ['_' => 'storage.filePdf']; +``` + + +Or, if you're into Lua: + +```lua +storage.filePdf={_='storage.filePdf'} + +``` + + diff --git a/old_docs/API_docs_v91/constructors/storage.filePng.md b/old_docs/API_docs_v91/constructors/storage.filePng.md new file mode 100644 index 00000000..db01ce0e --- /dev/null +++ b/old_docs/API_docs_v91/constructors/storage.filePng.md @@ -0,0 +1,33 @@ +--- +title: storage.filePng +description: PNG image. MIME type: `image/png`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.filePng +[Back to constructors index](index.md) + + + +PNG image. MIME type: `image/png`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.filePng = ['_' => 'storage.filePng']; +``` + + +Or, if you're into Lua: + +```lua +storage.filePng={_='storage.filePng'} + +``` + + diff --git a/old_docs/API_docs_v91/constructors/storage.fileUnknown.md b/old_docs/API_docs_v91/constructors/storage.fileUnknown.md new file mode 100644 index 00000000..26f0a5ae --- /dev/null +++ b/old_docs/API_docs_v91/constructors/storage.fileUnknown.md @@ -0,0 +1,33 @@ +--- +title: storage.fileUnknown +description: Unknown type. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileUnknown +[Back to constructors index](index.md) + + + +Unknown type. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileUnknown = ['_' => 'storage.fileUnknown']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileUnknown={_='storage.fileUnknown'} + +``` + + diff --git a/old_docs/API_docs_v91/constructors/storage.fileWebp.md b/old_docs/API_docs_v91/constructors/storage.fileWebp.md new file mode 100644 index 00000000..63c9ded1 --- /dev/null +++ b/old_docs/API_docs_v91/constructors/storage.fileWebp.md @@ -0,0 +1,33 @@ +--- +title: storage.fileWebp +description: WEBP image. MIME type: `image/webp`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileWebp +[Back to constructors index](index.md) + + + +WEBP image. MIME type: `image/webp`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileWebp = ['_' => 'storage.fileWebp']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileWebp={_='storage.fileWebp'} + +``` + + diff --git a/old_docs/API_docs_v91/constructors/storage_fileGif.md b/old_docs/API_docs_v91/constructors/storage_fileGif.md deleted file mode 100644 index 218c7491..00000000 --- a/old_docs/API_docs_v91/constructors/storage_fileGif.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileGif -description: GIF image. MIME type: `image/gif`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileGif -[Back to constructors index](index.md) - - - -GIF image. MIME type: `image/gif`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileGif = ['_' => 'storage.fileGif']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileGif={_='storage.fileGif'} - -``` - - diff --git a/old_docs/API_docs_v91/constructors/storage_fileJpeg.md b/old_docs/API_docs_v91/constructors/storage_fileJpeg.md deleted file mode 100644 index 925531cd..00000000 --- a/old_docs/API_docs_v91/constructors/storage_fileJpeg.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileJpeg -description: JPEG image. MIME type: `image/jpeg`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileJpeg -[Back to constructors index](index.md) - - - -JPEG image. MIME type: `image/jpeg`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileJpeg = ['_' => 'storage.fileJpeg']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileJpeg={_='storage.fileJpeg'} - -``` - - diff --git a/old_docs/API_docs_v91/constructors/storage_fileMov.md b/old_docs/API_docs_v91/constructors/storage_fileMov.md deleted file mode 100644 index eaf2a6ff..00000000 --- a/old_docs/API_docs_v91/constructors/storage_fileMov.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileMov -description: Quicktime video. MIME type: `video/quicktime`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileMov -[Back to constructors index](index.md) - - - -Quicktime video. MIME type: `video/quicktime`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileMov = ['_' => 'storage.fileMov']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileMov={_='storage.fileMov'} - -``` - - diff --git a/old_docs/API_docs_v91/constructors/storage_fileMp3.md b/old_docs/API_docs_v91/constructors/storage_fileMp3.md deleted file mode 100644 index 9afcefbb..00000000 --- a/old_docs/API_docs_v91/constructors/storage_fileMp3.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileMp3 -description: Mp3 audio. MIME type: `audio/mpeg`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileMp3 -[Back to constructors index](index.md) - - - -Mp3 audio. MIME type: `audio/mpeg`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileMp3 = ['_' => 'storage.fileMp3']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileMp3={_='storage.fileMp3'} - -``` - - diff --git a/old_docs/API_docs_v91/constructors/storage_fileMp4.md b/old_docs/API_docs_v91/constructors/storage_fileMp4.md deleted file mode 100644 index cdc0e783..00000000 --- a/old_docs/API_docs_v91/constructors/storage_fileMp4.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileMp4 -description: MPEG-4 video. MIME type: `video/mp4`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileMp4 -[Back to constructors index](index.md) - - - -MPEG-4 video. MIME type: `video/mp4`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileMp4 = ['_' => 'storage.fileMp4']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileMp4={_='storage.fileMp4'} - -``` - - diff --git a/old_docs/API_docs_v91/constructors/storage_filePartial.md b/old_docs/API_docs_v91/constructors/storage_filePartial.md deleted file mode 100644 index 9bfadf63..00000000 --- a/old_docs/API_docs_v91/constructors/storage_filePartial.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.filePartial -description: Part of a bigger file. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.filePartial -[Back to constructors index](index.md) - - - -Part of a bigger file. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_filePartial = ['_' => 'storage.filePartial']; -``` - - -Or, if you're into Lua: - -```lua -storage_filePartial={_='storage.filePartial'} - -``` - - diff --git a/old_docs/API_docs_v91/constructors/storage_filePdf.md b/old_docs/API_docs_v91/constructors/storage_filePdf.md deleted file mode 100644 index efb022cc..00000000 --- a/old_docs/API_docs_v91/constructors/storage_filePdf.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.filePdf -description: PDF document image. MIME type: `application/pdf`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.filePdf -[Back to constructors index](index.md) - - - -PDF document image. MIME type: `application/pdf`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_filePdf = ['_' => 'storage.filePdf']; -``` - - -Or, if you're into Lua: - -```lua -storage_filePdf={_='storage.filePdf'} - -``` - - diff --git a/old_docs/API_docs_v91/constructors/storage_filePng.md b/old_docs/API_docs_v91/constructors/storage_filePng.md deleted file mode 100644 index 412759e4..00000000 --- a/old_docs/API_docs_v91/constructors/storage_filePng.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.filePng -description: PNG image. MIME type: `image/png`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.filePng -[Back to constructors index](index.md) - - - -PNG image. MIME type: `image/png`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_filePng = ['_' => 'storage.filePng']; -``` - - -Or, if you're into Lua: - -```lua -storage_filePng={_='storage.filePng'} - -``` - - diff --git a/old_docs/API_docs_v91/constructors/storage_fileUnknown.md b/old_docs/API_docs_v91/constructors/storage_fileUnknown.md deleted file mode 100644 index ed33dd5e..00000000 --- a/old_docs/API_docs_v91/constructors/storage_fileUnknown.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileUnknown -description: Unknown type. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileUnknown -[Back to constructors index](index.md) - - - -Unknown type. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileUnknown = ['_' => 'storage.fileUnknown']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileUnknown={_='storage.fileUnknown'} - -``` - - diff --git a/old_docs/API_docs_v91/constructors/storage_fileWebp.md b/old_docs/API_docs_v91/constructors/storage_fileWebp.md deleted file mode 100644 index 04dcad74..00000000 --- a/old_docs/API_docs_v91/constructors/storage_fileWebp.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileWebp -description: WEBP image. MIME type: `image/webp`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileWebp -[Back to constructors index](index.md) - - - -WEBP image. MIME type: `image/webp`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileWebp = ['_' => 'storage.fileWebp']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileWebp={_='storage.fileWebp'} - -``` - - diff --git a/old_docs/API_docs_v91/constructors/updateNewStickerSet.md b/old_docs/API_docs_v91/constructors/updateNewStickerSet.md index 8a99a363..c32c41ff 100644 --- a/old_docs/API_docs_v91/constructors/updateNewStickerSet.md +++ b/old_docs/API_docs_v91/constructors/updateNewStickerSet.md @@ -14,7 +14,7 @@ A new stickerset was installed | Name | Type | Required | Description | |----------|---------------|----------|-------------| -|stickerset|[messages\_StickerSet](../types/messages_StickerSet.md) | Yes|The installed stickerset| +|stickerset|[messages.StickerSet](../constructors/messages.StickerSet.md) | Yes|The installed stickerset| @@ -24,14 +24,14 @@ A new stickerset was installed ### Example: ```php -$updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages_StickerSet]; +$updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages.StickerSet]; ``` Or, if you're into Lua: ```lua -updateNewStickerSet={_='updateNewStickerSet', stickerset=messages_StickerSet} +updateNewStickerSet={_='updateNewStickerSet', stickerset=messages.StickerSet} ``` diff --git a/old_docs/API_docs_v91/constructors/updates.channelDifference.md b/old_docs/API_docs_v91/constructors/updates.channelDifference.md new file mode 100644 index 00000000..5a13791c --- /dev/null +++ b/old_docs/API_docs_v91/constructors/updates.channelDifference.md @@ -0,0 +1,44 @@ +--- +title: updates.channelDifference +description: The new updates +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.channelDifference +[Back to constructors index](index.md) + + + +The new updates + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates to be fetched using getDifference, starting from the provided `pts`| +|pts|[int](../types/int.md) | Yes|The [PTS](https://core.telegram.org/api/updates) from which to start getting updates the next time| +|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| +|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| +|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [updates.ChannelDifference](../types/updates.ChannelDifference.md) + + +### Example: + +```php +$updates.channelDifference = ['_' => 'updates.channelDifference', 'final' => Bool, 'pts' => int, 'timeout' => int, 'new_messages' => [Message, Message], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +updates.channelDifference={_='updates.channelDifference', final=Bool, pts=int, timeout=int, new_messages={Message}, other_updates={Update}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v91/constructors/updates.channelDifferenceEmpty.md b/old_docs/API_docs_v91/constructors/updates.channelDifferenceEmpty.md new file mode 100644 index 00000000..8ce43da4 --- /dev/null +++ b/old_docs/API_docs_v91/constructors/updates.channelDifferenceEmpty.md @@ -0,0 +1,40 @@ +--- +title: updates.channelDifferenceEmpty +description: There are no new updates +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.channelDifferenceEmpty +[Back to constructors index](index.md) + + + +There are no new updates + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates that must be fetched (always false)| +|pts|[int](../types/int.md) | Yes|The latest [PTS](https://core.telegram.org/api/updates)| +|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| + + + +### Type: [updates.ChannelDifference](../types/updates.ChannelDifference.md) + + +### Example: + +```php +$updates.channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'final' => Bool, 'pts' => int, 'timeout' => int]; +``` + + +Or, if you're into Lua: + +```lua +updates.channelDifferenceEmpty={_='updates.channelDifferenceEmpty', final=Bool, pts=int, timeout=int} + +``` + + diff --git a/old_docs/API_docs_v91/constructors/updates.channelDifferenceTooLong.md b/old_docs/API_docs_v91/constructors/updates.channelDifferenceTooLong.md new file mode 100644 index 00000000..9290856d --- /dev/null +++ b/old_docs/API_docs_v91/constructors/updates.channelDifferenceTooLong.md @@ -0,0 +1,58 @@ +--- +title: updates.channelDifferenceTooLong +description: The provided `pts + limit < remote pts`. Simply, there are too many updates to be fetched (more than `limit`), the client has to resolve the update gap in one of the following ways: + +1. Delete all known messages in the chat, begin from scratch by refetching all messages manually with [getHistory](../methods/messages.getHistory.md). It is easy to implement, but suddenly disappearing messages looks awful for the user. +2. Save all messages loaded in the memory until application restart, but delete all messages from database. Messages left in the memory must be lazily updated using calls to [getHistory](../methods/messages.getHistory.md). It looks much smoothly for the user, he will need to redownload messages only after client restart. Unsynchronized messages left in the memory shouldn't be saved to database, results of [getHistory](../methods/messages.getHistory.md) and [getMessages](../methods/messages.getMessages.md) must be used to update state of deleted and edited messages left in the memory. +3. Save all messages loaded in the memory and stored in the database without saving that some messages form continuous ranges. Messages in the database will be excluded from results of getChatHistory and searchChatMessages after application restart and will be available only through getMessage. Every message should still be checked using getHistory. It has more disadvantages over 2) than advantages. +4. Save all messages with saving all data about continuous message ranges. Messages from the database may be used as results of getChatHistory and (if implemented continuous ranges support for searching shared media) searchChatMessages. The messages should still be lazily checked using getHistory, but they are still available offline. It is the best way for gaps support, but it is pretty hard to implement correctly. It should be also noted that some messages like live location messages shouldn't be deleted. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.channelDifferenceTooLong +[Back to constructors index](index.md) + + + +The provided `pts + limit < remote pts`. Simply, there are too many updates to be fetched (more than `limit`), the client has to resolve the update gap in one of the following ways: + +1. Delete all known messages in the chat, begin from scratch by refetching all messages manually with [getHistory](../methods/messages.getHistory.md). It is easy to implement, but suddenly disappearing messages looks awful for the user. +2. Save all messages loaded in the memory until application restart, but delete all messages from database. Messages left in the memory must be lazily updated using calls to [getHistory](../methods/messages.getHistory.md). It looks much smoothly for the user, he will need to redownload messages only after client restart. Unsynchronized messages left in the memory shouldn't be saved to database, results of [getHistory](../methods/messages.getHistory.md) and [getMessages](../methods/messages.getMessages.md) must be used to update state of deleted and edited messages left in the memory. +3. Save all messages loaded in the memory and stored in the database without saving that some messages form continuous ranges. Messages in the database will be excluded from results of getChatHistory and searchChatMessages after application restart and will be available only through getMessage. Every message should still be checked using getHistory. It has more disadvantages over 2) than advantages. +4. Save all messages with saving all data about continuous message ranges. Messages from the database may be used as results of getChatHistory and (if implemented continuous ranges support for searching shared media) searchChatMessages. The messages should still be lazily checked using getHistory, but they are still available offline. It is the best way for gaps support, but it is pretty hard to implement correctly. It should be also noted that some messages like live location messages shouldn't be deleted. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates that must be fetched (always false)| +|pts|[int](../types/int.md) | Yes|Pts| +|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| +|top\_message|[int](../types/int.md) | Yes|Top message| +|read\_inbox\_max\_id|[int](../types/int.md) | Yes|Read inbox max ID| +|read\_outbox\_max\_id|[int](../types/int.md) | Yes|Read outbox max ID| +|unread\_count|[int](../types/int.md) | Yes|Unread count| +|unread\_mentions\_count|[int](../types/int.md) | Yes|Unread mentions count| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [updates.ChannelDifference](../types/updates.ChannelDifference.md) + + +### Example: + +```php +$updates.channelDifferenceTooLong = ['_' => 'updates.channelDifferenceTooLong', 'final' => Bool, 'pts' => int, 'timeout' => int, 'top_message' => int, 'read_inbox_max_id' => int, 'read_outbox_max_id' => int, 'unread_count' => int, 'unread_mentions_count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +updates.channelDifferenceTooLong={_='updates.channelDifferenceTooLong', final=Bool, pts=int, timeout=int, top_message=int, read_inbox_max_id=int, read_outbox_max_id=int, unread_count=int, unread_mentions_count=int, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v91/constructors/updates.difference.md b/old_docs/API_docs_v91/constructors/updates.difference.md new file mode 100644 index 00000000..82541b51 --- /dev/null +++ b/old_docs/API_docs_v91/constructors/updates.difference.md @@ -0,0 +1,43 @@ +--- +title: updates.difference +description: Full list of occurred events. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.difference +[Back to constructors index](index.md) + + + +Full list of occurred events. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| +|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| +|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| +|state|[updates.State](../constructors/updates.State.md) | Yes|Current state| + + + +### Type: [updates.Difference](../types/updates.Difference.md) + + +### Example: + +```php +$updates.difference = ['_' => 'updates.difference', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates.State]; +``` + + +Or, if you're into Lua: + +```lua +updates.difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates.State} + +``` + + diff --git a/old_docs/API_docs_v91/constructors/updates.differenceEmpty.md b/old_docs/API_docs_v91/constructors/updates.differenceEmpty.md new file mode 100644 index 00000000..a9dc3bd0 --- /dev/null +++ b/old_docs/API_docs_v91/constructors/updates.differenceEmpty.md @@ -0,0 +1,39 @@ +--- +title: updates.differenceEmpty +description: No events. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.differenceEmpty +[Back to constructors index](index.md) + + + +No events. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Current date| +|seq|[int](../types/int.md) | Yes|Number of sent updates| + + + +### Type: [updates.Difference](../types/updates.Difference.md) + + +### Example: + +```php +$updates.differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int]; +``` + + +Or, if you're into Lua: + +```lua +updates.differenceEmpty={_='updates.differenceEmpty', date=int, seq=int} + +``` + + diff --git a/old_docs/API_docs_v91/constructors/updates.differenceSlice.md b/old_docs/API_docs_v91/constructors/updates.differenceSlice.md new file mode 100644 index 00000000..9daf7a75 --- /dev/null +++ b/old_docs/API_docs_v91/constructors/updates.differenceSlice.md @@ -0,0 +1,43 @@ +--- +title: updates.differenceSlice +description: Incomplete list of occurred events. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.differenceSlice +[Back to constructors index](index.md) + + + +Incomplete list of occurred events. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| +|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| +|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| +|intermediate\_state|[updates.State](../constructors/updates.State.md) | Yes|Intermediary state| + + + +### Type: [updates.Difference](../types/updates.Difference.md) + + +### Example: + +```php +$updates.differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'intermediate_state' => updates.State]; +``` + + +Or, if you're into Lua: + +```lua +updates.differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates.State} + +``` + + diff --git a/old_docs/API_docs_v91/constructors/updates.differenceTooLong.md b/old_docs/API_docs_v91/constructors/updates.differenceTooLong.md new file mode 100644 index 00000000..ef2e7e4d --- /dev/null +++ b/old_docs/API_docs_v91/constructors/updates.differenceTooLong.md @@ -0,0 +1,38 @@ +--- +title: updates.differenceTooLong +description: The difference is [too long](https://core.telegram.org/api/updates#recovering-gaps), and the specified state must be used to refetch updates. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.differenceTooLong +[Back to constructors index](index.md) + + + +The difference is [too long](https://core.telegram.org/api/updates#recovering-gaps), and the specified state must be used to refetch updates. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|The new state to use.| + + + +### Type: [updates.Difference](../types/updates.Difference.md) + + +### Example: + +```php +$updates.differenceTooLong = ['_' => 'updates.differenceTooLong', 'pts' => int]; +``` + + +Or, if you're into Lua: + +```lua +updates.differenceTooLong={_='updates.differenceTooLong', pts=int} + +``` + + diff --git a/old_docs/API_docs_v91/constructors/updates.state.md b/old_docs/API_docs_v91/constructors/updates.state.md new file mode 100644 index 00000000..abe9ddbb --- /dev/null +++ b/old_docs/API_docs_v91/constructors/updates.state.md @@ -0,0 +1,42 @@ +--- +title: updates.state +description: Updates state. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.state +[Back to constructors index](index.md) + + + +Updates state. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| +|qts|[int](../types/int.md) | Yes|Position in a sequence of updates in secret chats. For further detailes refer to article [secret chats](https://core.telegram.org/api/end-to-end)
Parameter was added in [eigth layer](https://core.telegram.org/api/layers#layer-8).| +|date|[int](../types/int.md) | Yes|Date of condition| +|seq|[int](../types/int.md) | Yes|Number of sent updates| +|unread\_count|[int](../types/int.md) | Yes|Number of unread messages| + + + +### Type: [updates.State](../types/updates.State.md) + + +### Example: + +```php +$updates.state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int]; +``` + + +Or, if you're into Lua: + +```lua +updates.state={_='updates.state', pts=int, qts=int, date=int, seq=int, unread_count=int} + +``` + + diff --git a/old_docs/API_docs_v91/constructors/updates_channelDifference.md b/old_docs/API_docs_v91/constructors/updates_channelDifference.md deleted file mode 100644 index 1b50fbf3..00000000 --- a/old_docs/API_docs_v91/constructors/updates_channelDifference.md +++ /dev/null @@ -1,44 +0,0 @@ ---- -title: updates.channelDifference -description: The new updates -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.channelDifference -[Back to constructors index](index.md) - - - -The new updates - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates to be fetched using getDifference, starting from the provided `pts`| -|pts|[int](../types/int.md) | Yes|The [PTS](https://core.telegram.org/api/updates) from which to start getting updates the next time| -|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| -|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| -|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) - - -### Example: - -```php -$updates_channelDifference = ['_' => 'updates.channelDifference', 'final' => Bool, 'pts' => int, 'timeout' => int, 'new_messages' => [Message, Message], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -updates_channelDifference={_='updates.channelDifference', final=Bool, pts=int, timeout=int, new_messages={Message}, other_updates={Update}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v91/constructors/updates_channelDifferenceEmpty.md b/old_docs/API_docs_v91/constructors/updates_channelDifferenceEmpty.md deleted file mode 100644 index 713137aa..00000000 --- a/old_docs/API_docs_v91/constructors/updates_channelDifferenceEmpty.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: updates.channelDifferenceEmpty -description: There are no new updates -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.channelDifferenceEmpty -[Back to constructors index](index.md) - - - -There are no new updates - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates that must be fetched (always false)| -|pts|[int](../types/int.md) | Yes|The latest [PTS](https://core.telegram.org/api/updates)| -|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| - - - -### Type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) - - -### Example: - -```php -$updates_channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'final' => Bool, 'pts' => int, 'timeout' => int]; -``` - - -Or, if you're into Lua: - -```lua -updates_channelDifferenceEmpty={_='updates.channelDifferenceEmpty', final=Bool, pts=int, timeout=int} - -``` - - diff --git a/old_docs/API_docs_v91/constructors/updates_channelDifferenceTooLong.md b/old_docs/API_docs_v91/constructors/updates_channelDifferenceTooLong.md deleted file mode 100644 index fd7a5060..00000000 --- a/old_docs/API_docs_v91/constructors/updates_channelDifferenceTooLong.md +++ /dev/null @@ -1,58 +0,0 @@ ---- -title: updates.channelDifferenceTooLong -description: The provided `pts + limit < remote pts`. Simply, there are too many updates to be fetched (more than `limit`), the client has to resolve the update gap in one of the following ways: - -1. Delete all known messages in the chat, begin from scratch by refetching all messages manually with [getHistory](../methods/messages.getHistory.md). It is easy to implement, but suddenly disappearing messages looks awful for the user. -2. Save all messages loaded in the memory until application restart, but delete all messages from database. Messages left in the memory must be lazily updated using calls to [getHistory](../methods/messages.getHistory.md). It looks much smoothly for the user, he will need to redownload messages only after client restart. Unsynchronized messages left in the memory shouldn't be saved to database, results of [getHistory](../methods/messages.getHistory.md) and [getMessages](../methods/messages.getMessages.md) must be used to update state of deleted and edited messages left in the memory. -3. Save all messages loaded in the memory and stored in the database without saving that some messages form continuous ranges. Messages in the database will be excluded from results of getChatHistory and searchChatMessages after application restart and will be available only through getMessage. Every message should still be checked using getHistory. It has more disadvantages over 2) than advantages. -4. Save all messages with saving all data about continuous message ranges. Messages from the database may be used as results of getChatHistory and (if implemented continuous ranges support for searching shared media) searchChatMessages. The messages should still be lazily checked using getHistory, but they are still available offline. It is the best way for gaps support, but it is pretty hard to implement correctly. It should be also noted that some messages like live location messages shouldn't be deleted. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.channelDifferenceTooLong -[Back to constructors index](index.md) - - - -The provided `pts + limit < remote pts`. Simply, there are too many updates to be fetched (more than `limit`), the client has to resolve the update gap in one of the following ways: - -1. Delete all known messages in the chat, begin from scratch by refetching all messages manually with [getHistory](../methods/messages.getHistory.md). It is easy to implement, but suddenly disappearing messages looks awful for the user. -2. Save all messages loaded in the memory until application restart, but delete all messages from database. Messages left in the memory must be lazily updated using calls to [getHistory](../methods/messages.getHistory.md). It looks much smoothly for the user, he will need to redownload messages only after client restart. Unsynchronized messages left in the memory shouldn't be saved to database, results of [getHistory](../methods/messages.getHistory.md) and [getMessages](../methods/messages.getMessages.md) must be used to update state of deleted and edited messages left in the memory. -3. Save all messages loaded in the memory and stored in the database without saving that some messages form continuous ranges. Messages in the database will be excluded from results of getChatHistory and searchChatMessages after application restart and will be available only through getMessage. Every message should still be checked using getHistory. It has more disadvantages over 2) than advantages. -4. Save all messages with saving all data about continuous message ranges. Messages from the database may be used as results of getChatHistory and (if implemented continuous ranges support for searching shared media) searchChatMessages. The messages should still be lazily checked using getHistory, but they are still available offline. It is the best way for gaps support, but it is pretty hard to implement correctly. It should be also noted that some messages like live location messages shouldn't be deleted. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates that must be fetched (always false)| -|pts|[int](../types/int.md) | Yes|Pts| -|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| -|top\_message|[int](../types/int.md) | Yes|Top message| -|read\_inbox\_max\_id|[int](../types/int.md) | Yes|Read inbox max ID| -|read\_outbox\_max\_id|[int](../types/int.md) | Yes|Read outbox max ID| -|unread\_count|[int](../types/int.md) | Yes|Unread count| -|unread\_mentions\_count|[int](../types/int.md) | Yes|Unread mentions count| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) - - -### Example: - -```php -$updates_channelDifferenceTooLong = ['_' => 'updates.channelDifferenceTooLong', 'final' => Bool, 'pts' => int, 'timeout' => int, 'top_message' => int, 'read_inbox_max_id' => int, 'read_outbox_max_id' => int, 'unread_count' => int, 'unread_mentions_count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -updates_channelDifferenceTooLong={_='updates.channelDifferenceTooLong', final=Bool, pts=int, timeout=int, top_message=int, read_inbox_max_id=int, read_outbox_max_id=int, unread_count=int, unread_mentions_count=int, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v91/constructors/updates_difference.md b/old_docs/API_docs_v91/constructors/updates_difference.md deleted file mode 100644 index 71ac7d4c..00000000 --- a/old_docs/API_docs_v91/constructors/updates_difference.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: updates.difference -description: Full list of occurred events. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.difference -[Back to constructors index](index.md) - - - -Full list of occurred events. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| -|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| -|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| -|state|[updates\_State](../types/updates_State.md) | Yes|Current state| - - - -### Type: [updates\_Difference](../types/updates_Difference.md) - - -### Example: - -```php -$updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates_State]; -``` - - -Or, if you're into Lua: - -```lua -updates_difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates_State} - -``` - - diff --git a/old_docs/API_docs_v91/constructors/updates_differenceEmpty.md b/old_docs/API_docs_v91/constructors/updates_differenceEmpty.md deleted file mode 100644 index c3c95c5a..00000000 --- a/old_docs/API_docs_v91/constructors/updates_differenceEmpty.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: updates.differenceEmpty -description: No events. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.differenceEmpty -[Back to constructors index](index.md) - - - -No events. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Current date| -|seq|[int](../types/int.md) | Yes|Number of sent updates| - - - -### Type: [updates\_Difference](../types/updates_Difference.md) - - -### Example: - -```php -$updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int]; -``` - - -Or, if you're into Lua: - -```lua -updates_differenceEmpty={_='updates.differenceEmpty', date=int, seq=int} - -``` - - diff --git a/old_docs/API_docs_v91/constructors/updates_differenceSlice.md b/old_docs/API_docs_v91/constructors/updates_differenceSlice.md deleted file mode 100644 index 8b12a369..00000000 --- a/old_docs/API_docs_v91/constructors/updates_differenceSlice.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: updates.differenceSlice -description: Incomplete list of occurred events. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.differenceSlice -[Back to constructors index](index.md) - - - -Incomplete list of occurred events. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| -|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| -|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| -|intermediate\_state|[updates\_State](../types/updates_State.md) | Yes|Intermediary state| - - - -### Type: [updates\_Difference](../types/updates_Difference.md) - - -### Example: - -```php -$updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'intermediate_state' => updates_State]; -``` - - -Or, if you're into Lua: - -```lua -updates_differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates_State} - -``` - - diff --git a/old_docs/API_docs_v91/constructors/updates_differenceTooLong.md b/old_docs/API_docs_v91/constructors/updates_differenceTooLong.md deleted file mode 100644 index 1fbdfa01..00000000 --- a/old_docs/API_docs_v91/constructors/updates_differenceTooLong.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: updates.differenceTooLong -description: The difference is [too long](https://core.telegram.org/api/updates#recovering-gaps), and the specified state must be used to refetch updates. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.differenceTooLong -[Back to constructors index](index.md) - - - -The difference is [too long](https://core.telegram.org/api/updates#recovering-gaps), and the specified state must be used to refetch updates. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|The new state to use.| - - - -### Type: [updates\_Difference](../types/updates_Difference.md) - - -### Example: - -```php -$updates_differenceTooLong = ['_' => 'updates.differenceTooLong', 'pts' => int]; -``` - - -Or, if you're into Lua: - -```lua -updates_differenceTooLong={_='updates.differenceTooLong', pts=int} - -``` - - diff --git a/old_docs/API_docs_v91/constructors/updates_state.md b/old_docs/API_docs_v91/constructors/updates_state.md deleted file mode 100644 index ef3698e2..00000000 --- a/old_docs/API_docs_v91/constructors/updates_state.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: updates.state -description: Updates state. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.state -[Back to constructors index](index.md) - - - -Updates state. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| -|qts|[int](../types/int.md) | Yes|Position in a sequence of updates in secret chats. For further detailes refer to article [secret chats](https://core.telegram.org/api/end-to-end)
Parameter was added in [eigth layer](https://core.telegram.org/api/layers#layer-8).| -|date|[int](../types/int.md) | Yes|Date of condition| -|seq|[int](../types/int.md) | Yes|Number of sent updates| -|unread\_count|[int](../types/int.md) | Yes|Number of unread messages| - - - -### Type: [updates\_State](../types/updates_State.md) - - -### Example: - -```php -$updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int]; -``` - - -Or, if you're into Lua: - -```lua -updates_state={_='updates.state', pts=int, qts=int, date=int, seq=int, unread_count=int} - -``` - - diff --git a/old_docs/API_docs_v91/constructors/upload.cdnFile.md b/old_docs/API_docs_v91/constructors/upload.cdnFile.md new file mode 100644 index 00000000..d6d75513 --- /dev/null +++ b/old_docs/API_docs_v91/constructors/upload.cdnFile.md @@ -0,0 +1,38 @@ +--- +title: upload.cdnFile +description: Represent a chunk of a [CDN](https://core.telegram.org/cdn) file. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: upload.cdnFile +[Back to constructors index](index.md) + + + +Represent a chunk of a [CDN](https://core.telegram.org/cdn) file. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|bytes|[bytes](../types/bytes.md) | Yes|The data| + + + +### Type: [upload.CdnFile](../types/upload.CdnFile.md) + + +### Example: + +```php +$upload.cdnFile = ['_' => 'upload.cdnFile', 'bytes' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +upload.cdnFile={_='upload.cdnFile', bytes='bytes'} + +``` + + diff --git a/old_docs/API_docs_v91/constructors/upload.cdnFileReuploadNeeded.md b/old_docs/API_docs_v91/constructors/upload.cdnFileReuploadNeeded.md new file mode 100644 index 00000000..7c461a87 --- /dev/null +++ b/old_docs/API_docs_v91/constructors/upload.cdnFileReuploadNeeded.md @@ -0,0 +1,38 @@ +--- +title: upload.cdnFileReuploadNeeded +description: The file was cleared from the temporary RAM cache of the [CDN](https://core.telegram.org/cdn) and has to be reuploaded. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: upload.cdnFileReuploadNeeded +[Back to constructors index](index.md) + + + +The file was cleared from the temporary RAM cache of the [CDN](https://core.telegram.org/cdn) and has to be reuploaded. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|request\_token|[bytes](../types/bytes.md) | Yes|Request token (see [CDN](https://core.telegram.org/cdn))| + + + +### Type: [upload.CdnFile](../types/upload.CdnFile.md) + + +### Example: + +```php +$upload.cdnFileReuploadNeeded = ['_' => 'upload.cdnFileReuploadNeeded', 'request_token' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +upload.cdnFileReuploadNeeded={_='upload.cdnFileReuploadNeeded', request_token='bytes'} + +``` + + diff --git a/old_docs/API_docs_v91/constructors/upload.file.md b/old_docs/API_docs_v91/constructors/upload.file.md new file mode 100644 index 00000000..145a4c24 --- /dev/null +++ b/old_docs/API_docs_v91/constructors/upload.file.md @@ -0,0 +1,40 @@ +--- +title: upload.file +description: File content. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: upload.file +[Back to constructors index](index.md) + + + +File content. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|type|[storage.FileType](../constructors/storage.FileType.md) | Yes|File type| +|mtime|[int](../types/int.md) | Yes|Modification type| +|bytes|[bytes](../types/bytes.md) | Yes|Binary data, file content| + + + +### Type: [upload.File](../types/upload.File.md) + + +### Example: + +```php +$upload.file = ['_' => 'upload.file', 'type' => storage.FileType, 'mtime' => int, 'bytes' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +upload.file={_='upload.file', type=storage.FileType, mtime=int, bytes='bytes'} + +``` + + diff --git a/old_docs/API_docs_v91/constructors/upload.fileCdnRedirect.md b/old_docs/API_docs_v91/constructors/upload.fileCdnRedirect.md new file mode 100644 index 00000000..dc56e919 --- /dev/null +++ b/old_docs/API_docs_v91/constructors/upload.fileCdnRedirect.md @@ -0,0 +1,42 @@ +--- +title: upload.fileCdnRedirect +description: The file must be downloaded from a [CDN DC](https://core.telegram.org/cdn). +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: upload.fileCdnRedirect +[Back to constructors index](index.md) + + + +The file must be downloaded from a [CDN DC](https://core.telegram.org/cdn). + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|dc\_id|[int](../types/int.md) | Yes|[CDN DC](https://core.telegram.org/cdn) ID| +|file\_token|[bytes](../types/bytes.md) | Yes|File token (see [CDN files](https://core.telegram.org/cdn)| +|encryption\_key|[bytes](../types/bytes.md) | Yes|Encryption key (see [CDN files](https://core.telegram.org/cdn)| +|encryption\_iv|[bytes](../types/bytes.md) | Yes|Encryption IV (see [CDN files](https://core.telegram.org/cdn)| +|file\_hashes|Array of [FileHash](../types/FileHash.md) | Yes|File hashes| + + + +### Type: [upload.File](../types/upload.File.md) + + +### Example: + +```php +$upload.fileCdnRedirect = ['_' => 'upload.fileCdnRedirect', 'dc_id' => int, 'file_token' => 'bytes', 'encryption_key' => 'bytes', 'encryption_iv' => 'bytes', 'file_hashes' => [FileHash, FileHash]]; +``` + + +Or, if you're into Lua: + +```lua +upload.fileCdnRedirect={_='upload.fileCdnRedirect', dc_id=int, file_token='bytes', encryption_key='bytes', encryption_iv='bytes', file_hashes={FileHash}} + +``` + + diff --git a/old_docs/API_docs_v91/constructors/upload.webFile.md b/old_docs/API_docs_v91/constructors/upload.webFile.md new file mode 100644 index 00000000..a93ea94f --- /dev/null +++ b/old_docs/API_docs_v91/constructors/upload.webFile.md @@ -0,0 +1,42 @@ +--- +title: upload.webFile +description: Represents a chunk of an [HTTP webfile](https://core.telegram.org/api/files) downloaded through telegram's secure MTProto servers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: upload.webFile +[Back to constructors index](index.md) + + + +Represents a chunk of an [HTTP webfile](https://core.telegram.org/api/files) downloaded through telegram's secure MTProto servers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|size|[int](../types/int.md) | Yes|File size| +|mime\_type|[string](../types/string.md) | Yes|Mime type| +|file\_type|[storage.FileType](../constructors/storage.FileType.md) | Yes|File type| +|mtime|[int](../types/int.md) | Yes|Modified time| +|bytes|[bytes](../types/bytes.md) | Yes|Data| + + + +### Type: [upload.WebFile](../types/upload.WebFile.md) + + +### Example: + +```php +$upload.webFile = ['_' => 'upload.webFile', 'size' => int, 'mime_type' => 'string', 'file_type' => storage.FileType, 'mtime' => int, 'bytes' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +upload.webFile={_='upload.webFile', size=int, mime_type='string', file_type=storage.FileType, mtime=int, bytes='bytes'} + +``` + + diff --git a/old_docs/API_docs_v91/constructors/upload_cdnFile.md b/old_docs/API_docs_v91/constructors/upload_cdnFile.md deleted file mode 100644 index 019b8742..00000000 --- a/old_docs/API_docs_v91/constructors/upload_cdnFile.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: upload.cdnFile -description: Represent a chunk of a [CDN](https://core.telegram.org/cdn) file. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: upload.cdnFile -[Back to constructors index](index.md) - - - -Represent a chunk of a [CDN](https://core.telegram.org/cdn) file. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|bytes|[bytes](../types/bytes.md) | Yes|The data| - - - -### Type: [upload\_CdnFile](../types/upload_CdnFile.md) - - -### Example: - -```php -$upload_cdnFile = ['_' => 'upload.cdnFile', 'bytes' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -upload_cdnFile={_='upload.cdnFile', bytes='bytes'} - -``` - - diff --git a/old_docs/API_docs_v91/constructors/upload_cdnFileReuploadNeeded.md b/old_docs/API_docs_v91/constructors/upload_cdnFileReuploadNeeded.md deleted file mode 100644 index 6588a596..00000000 --- a/old_docs/API_docs_v91/constructors/upload_cdnFileReuploadNeeded.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: upload.cdnFileReuploadNeeded -description: The file was cleared from the temporary RAM cache of the [CDN](https://core.telegram.org/cdn) and has to be reuploaded. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: upload.cdnFileReuploadNeeded -[Back to constructors index](index.md) - - - -The file was cleared from the temporary RAM cache of the [CDN](https://core.telegram.org/cdn) and has to be reuploaded. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|request\_token|[bytes](../types/bytes.md) | Yes|Request token (see [CDN](https://core.telegram.org/cdn))| - - - -### Type: [upload\_CdnFile](../types/upload_CdnFile.md) - - -### Example: - -```php -$upload_cdnFileReuploadNeeded = ['_' => 'upload.cdnFileReuploadNeeded', 'request_token' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -upload_cdnFileReuploadNeeded={_='upload.cdnFileReuploadNeeded', request_token='bytes'} - -``` - - diff --git a/old_docs/API_docs_v91/constructors/upload_file.md b/old_docs/API_docs_v91/constructors/upload_file.md deleted file mode 100644 index 1e07d9fb..00000000 --- a/old_docs/API_docs_v91/constructors/upload_file.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: upload.file -description: File content. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: upload.file -[Back to constructors index](index.md) - - - -File content. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|type|[storage\_FileType](../types/storage_FileType.md) | Yes|File type| -|mtime|[int](../types/int.md) | Yes|Modification type| -|bytes|[bytes](../types/bytes.md) | Yes|Binary data, file content| - - - -### Type: [upload\_File](../types/upload_File.md) - - -### Example: - -```php -$upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int, 'bytes' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -upload_file={_='upload.file', type=storage_FileType, mtime=int, bytes='bytes'} - -``` - - diff --git a/old_docs/API_docs_v91/constructors/upload_fileCdnRedirect.md b/old_docs/API_docs_v91/constructors/upload_fileCdnRedirect.md deleted file mode 100644 index de504dc3..00000000 --- a/old_docs/API_docs_v91/constructors/upload_fileCdnRedirect.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: upload.fileCdnRedirect -description: The file must be downloaded from a [CDN DC](https://core.telegram.org/cdn). -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: upload.fileCdnRedirect -[Back to constructors index](index.md) - - - -The file must be downloaded from a [CDN DC](https://core.telegram.org/cdn). - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|dc\_id|[int](../types/int.md) | Yes|[CDN DC](https://core.telegram.org/cdn) ID| -|file\_token|[bytes](../types/bytes.md) | Yes|File token (see [CDN files](https://core.telegram.org/cdn)| -|encryption\_key|[bytes](../types/bytes.md) | Yes|Encryption key (see [CDN files](https://core.telegram.org/cdn)| -|encryption\_iv|[bytes](../types/bytes.md) | Yes|Encryption IV (see [CDN files](https://core.telegram.org/cdn)| -|file\_hashes|Array of [FileHash](../types/FileHash.md) | Yes|File hashes| - - - -### Type: [upload\_File](../types/upload_File.md) - - -### Example: - -```php -$upload_fileCdnRedirect = ['_' => 'upload.fileCdnRedirect', 'dc_id' => int, 'file_token' => 'bytes', 'encryption_key' => 'bytes', 'encryption_iv' => 'bytes', 'file_hashes' => [FileHash, FileHash]]; -``` - - -Or, if you're into Lua: - -```lua -upload_fileCdnRedirect={_='upload.fileCdnRedirect', dc_id=int, file_token='bytes', encryption_key='bytes', encryption_iv='bytes', file_hashes={FileHash}} - -``` - - diff --git a/old_docs/API_docs_v91/constructors/upload_webFile.md b/old_docs/API_docs_v91/constructors/upload_webFile.md deleted file mode 100644 index ee8053b1..00000000 --- a/old_docs/API_docs_v91/constructors/upload_webFile.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: upload.webFile -description: Represents a chunk of an [HTTP webfile](https://core.telegram.org/api/files) downloaded through telegram's secure MTProto servers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: upload.webFile -[Back to constructors index](index.md) - - - -Represents a chunk of an [HTTP webfile](https://core.telegram.org/api/files) downloaded through telegram's secure MTProto servers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|size|[int](../types/int.md) | Yes|File size| -|mime\_type|[string](../types/string.md) | Yes|Mime type| -|file\_type|[storage\_FileType](../types/storage_FileType.md) | Yes|File type| -|mtime|[int](../types/int.md) | Yes|Modified time| -|bytes|[bytes](../types/bytes.md) | Yes|Data| - - - -### Type: [upload\_WebFile](../types/upload_WebFile.md) - - -### Example: - -```php -$upload_webFile = ['_' => 'upload.webFile', 'size' => int, 'mime_type' => 'string', 'file_type' => storage_FileType, 'mtime' => int, 'bytes' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -upload_webFile={_='upload.webFile', size=int, mime_type='string', file_type=storage_FileType, mtime=int, bytes='bytes'} - -``` - - diff --git a/old_docs/API_docs_v91/constructors/userFull.md b/old_docs/API_docs_v91/constructors/userFull.md index d0d43c0a..5c4682a8 100644 --- a/old_docs/API_docs_v91/constructors/userFull.md +++ b/old_docs/API_docs_v91/constructors/userFull.md @@ -20,7 +20,7 @@ Extended user info |can\_pin\_message|[Bool](../types/Bool.md) | Optional|Whether you can pin messages in the chat with this user, you can do this only for a chat with yourself| |user|[User](../types/User.md) | Optional|Remaining user info| |about|[string](../types/string.md) | Optional|Bio of the user| -|link|[contacts\_Link](../types/contacts_Link.md) | Yes|Link| +|link|[contacts.Link](../constructors/contacts.Link.md) | Yes|Link| |profile\_photo|[Photo](../types/Photo.md) | Optional|Profile photo| |notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Yes|Notification settings| |bot\_info|[BotInfo](../types/BotInfo.md) | Optional|For bots, info about the bot (bot commands, etc)| @@ -35,14 +35,14 @@ Extended user info ### Example: ```php -$userFull = ['_' => 'userFull', 'blocked' => Bool, 'phone_calls_available' => Bool, 'phone_calls_private' => Bool, 'can_pin_message' => Bool, 'user' => User, 'about' => 'string', 'link' => contacts_Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'bot_info' => BotInfo, 'pinned_msg_id' => int, 'common_chats_count' => int]; +$userFull = ['_' => 'userFull', 'blocked' => Bool, 'phone_calls_available' => Bool, 'phone_calls_private' => Bool, 'can_pin_message' => Bool, 'user' => User, 'about' => 'string', 'link' => contacts.Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'bot_info' => BotInfo, 'pinned_msg_id' => int, 'common_chats_count' => int]; ``` Or, if you're into Lua: ```lua -userFull={_='userFull', blocked=Bool, phone_calls_available=Bool, phone_calls_private=Bool, can_pin_message=Bool, user=User, about='string', link=contacts_Link, profile_photo=Photo, notify_settings=PeerNotifySettings, bot_info=BotInfo, pinned_msg_id=int, common_chats_count=int} +userFull={_='userFull', blocked=Bool, phone_calls_available=Bool, phone_calls_private=Bool, can_pin_message=Bool, user=User, about='string', link=contacts.Link, profile_photo=Photo, notify_settings=PeerNotifySettings, bot_info=BotInfo, pinned_msg_id=int, common_chats_count=int} ``` diff --git a/old_docs/API_docs_v91/methods/account.getAuthorizationForm.md b/old_docs/API_docs_v91/methods/account.getAuthorizationForm.md index 298951cb..b0d52e07 100644 --- a/old_docs/API_docs_v91/methods/account.getAuthorizationForm.md +++ b/old_docs/API_docs_v91/methods/account.getAuthorizationForm.md @@ -18,7 +18,7 @@ Returns a Telegram Passport authorization form for sharing data with a service |public\_key|[string](../types/string.md) | Service's public key | Yes| -### Return type: [account\_AuthorizationForm](../types/account_AuthorizationForm.md) +### Return type: [account.AuthorizationForm](../types/account.AuthorizationForm.md) ### Can bots use this method: **NO** @@ -35,12 +35,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_AuthorizationForm = $MadelineProto->account->getAuthorizationForm(['bot_id' => int, 'scope' => 'string', 'public_key' => 'string', ]); +$account.AuthorizationForm = $MadelineProto->account->getAuthorizationForm(['bot_id' => int, 'scope' => 'string', 'public_key' => 'string', ]); ``` Or, if you're into Lua: ```lua -account_AuthorizationForm = account.getAuthorizationForm({bot_id=int, scope='string', public_key='string', }) +account.AuthorizationForm = account.getAuthorizationForm({bot_id=int, scope='string', public_key='string', }) ``` diff --git a/old_docs/API_docs_v91/methods/account.getAuthorizations.md b/old_docs/API_docs_v91/methods/account.getAuthorizations.md index f69c130a..fad3a7ae 100644 --- a/old_docs/API_docs_v91/methods/account.getAuthorizations.md +++ b/old_docs/API_docs_v91/methods/account.getAuthorizations.md @@ -11,7 +11,7 @@ Get logged-in sessions -### Return type: [account\_Authorizations](../types/account_Authorizations.md) +### Return type: [account.Authorizations](../types/account.Authorizations.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_Authorizations = $MadelineProto->account->getAuthorizations(); +$account.Authorizations = $MadelineProto->account->getAuthorizations(); ``` Or, if you're into Lua: ```lua -account_Authorizations = account.getAuthorizations({}) +account.Authorizations = account.getAuthorizations({}) ``` diff --git a/old_docs/API_docs_v91/methods/account.getPassword.md b/old_docs/API_docs_v91/methods/account.getPassword.md index eed4aee3..621271b6 100644 --- a/old_docs/API_docs_v91/methods/account.getPassword.md +++ b/old_docs/API_docs_v91/methods/account.getPassword.md @@ -11,7 +11,7 @@ Obtain configuration for two-factor authorization with password -### Return type: [account\_Password](../types/account_Password.md) +### Return type: [account.Password](../types/account.Password.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_Password = $MadelineProto->account->getPassword(); +$account.Password = $MadelineProto->account->getPassword(); ``` Or, if you're into Lua: ```lua -account_Password = account.getPassword({}) +account.Password = account.getPassword({}) ``` diff --git a/old_docs/API_docs_v91/methods/account.getPasswordSettings.md b/old_docs/API_docs_v91/methods/account.getPasswordSettings.md index a7a47b1a..2b8607b9 100644 --- a/old_docs/API_docs_v91/methods/account.getPasswordSettings.md +++ b/old_docs/API_docs_v91/methods/account.getPasswordSettings.md @@ -16,7 +16,7 @@ You cannot use this method directly; use $MadelineProto->update_2fa($params), in |password|[InputCheckPasswordSRP](../types/InputCheckPasswordSRP.md) | You cannot use this method directly; use $MadelineProto->update_2fa($params), instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [account\_PasswordSettings](../types/account_PasswordSettings.md) +### Return type: [account.PasswordSettings](../types/account.PasswordSettings.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_PasswordSettings = $MadelineProto->account->getPasswordSettings(['password' => InputCheckPasswordSRP, ]); +$account.PasswordSettings = $MadelineProto->account->getPasswordSettings(['password' => InputCheckPasswordSRP, ]); ``` Or, if you're into Lua: ```lua -account_PasswordSettings = account.getPasswordSettings({password=InputCheckPasswordSRP, }) +account.PasswordSettings = account.getPasswordSettings({password=InputCheckPasswordSRP, }) ``` ### Errors diff --git a/old_docs/API_docs_v91/methods/account.getPrivacy.md b/old_docs/API_docs_v91/methods/account.getPrivacy.md index 6a240129..e20c292c 100644 --- a/old_docs/API_docs_v91/methods/account.getPrivacy.md +++ b/old_docs/API_docs_v91/methods/account.getPrivacy.md @@ -16,7 +16,7 @@ Get privacy settings of current account |key|[InputPrivacyKey](../types/InputPrivacyKey.md) | Peer category whose privacy settings should be fetched | Yes| -### Return type: [account\_PrivacyRules](../types/account_PrivacyRules.md) +### Return type: [account.PrivacyRules](../types/account.PrivacyRules.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_PrivacyRules = $MadelineProto->account->getPrivacy(['key' => InputPrivacyKey, ]); +$account.PrivacyRules = $MadelineProto->account->getPrivacy(['key' => InputPrivacyKey, ]); ``` Or, if you're into Lua: ```lua -account_PrivacyRules = account.getPrivacy({key=InputPrivacyKey, }) +account.PrivacyRules = account.getPrivacy({key=InputPrivacyKey, }) ``` ### Errors diff --git a/old_docs/API_docs_v91/methods/account.getTmpPassword.md b/old_docs/API_docs_v91/methods/account.getTmpPassword.md index 76729595..2328df1e 100644 --- a/old_docs/API_docs_v91/methods/account.getTmpPassword.md +++ b/old_docs/API_docs_v91/methods/account.getTmpPassword.md @@ -17,7 +17,7 @@ Get temporary payment password |period|[int](../types/int.md) | Time during which the temporary password will be valid, in seconds; should be between 60 and 86400 | Yes| -### Return type: [account\_TmpPassword](../types/account_TmpPassword.md) +### Return type: [account.TmpPassword](../types/account.TmpPassword.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_TmpPassword = $MadelineProto->account->getTmpPassword(['password' => InputCheckPasswordSRP, 'period' => int, ]); +$account.TmpPassword = $MadelineProto->account->getTmpPassword(['password' => InputCheckPasswordSRP, 'period' => int, ]); ``` Or, if you're into Lua: ```lua -account_TmpPassword = account.getTmpPassword({password=InputCheckPasswordSRP, period=int, }) +account.TmpPassword = account.getTmpPassword({password=InputCheckPasswordSRP, period=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v91/methods/account.getWebAuthorizations.md b/old_docs/API_docs_v91/methods/account.getWebAuthorizations.md index 1a43f138..b97fe978 100644 --- a/old_docs/API_docs_v91/methods/account.getWebAuthorizations.md +++ b/old_docs/API_docs_v91/methods/account.getWebAuthorizations.md @@ -11,7 +11,7 @@ Get web [login widget](https://core.telegram.org/widgets/login) authorizations -### Return type: [account\_WebAuthorizations](../types/account_WebAuthorizations.md) +### Return type: [account.WebAuthorizations](../types/account.WebAuthorizations.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_WebAuthorizations = $MadelineProto->account->getWebAuthorizations(); +$account.WebAuthorizations = $MadelineProto->account->getWebAuthorizations(); ``` Or, if you're into Lua: ```lua -account_WebAuthorizations = account.getWebAuthorizations({}) +account.WebAuthorizations = account.getWebAuthorizations({}) ``` diff --git a/old_docs/API_docs_v91/methods/account.initTakeoutSession.md b/old_docs/API_docs_v91/methods/account.initTakeoutSession.md index 01b3ae0f..3b8774b8 100644 --- a/old_docs/API_docs_v91/methods/account.initTakeoutSession.md +++ b/old_docs/API_docs_v91/methods/account.initTakeoutSession.md @@ -22,7 +22,7 @@ Intialize account takeout session |file\_max\_size|[int](../types/int.md) | Maximum size of files to export | Optional| -### Return type: [account\_Takeout](../types/account_Takeout.md) +### Return type: [account.Takeout](../types/account.Takeout.md) ### Can bots use this method: **NO** @@ -39,12 +39,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_Takeout = $MadelineProto->account->initTakeoutSession(['contacts' => Bool, 'message_users' => Bool, 'message_chats' => Bool, 'message_megagroups' => Bool, 'message_channels' => Bool, 'files' => Bool, 'file_max_size' => int, ]); +$account.Takeout = $MadelineProto->account->initTakeoutSession(['contacts' => Bool, 'message_users' => Bool, 'message_chats' => Bool, 'message_megagroups' => Bool, 'message_channels' => Bool, 'files' => Bool, 'file_max_size' => int, ]); ``` Or, if you're into Lua: ```lua -account_Takeout = account.initTakeoutSession({contacts=Bool, message_users=Bool, message_chats=Bool, message_megagroups=Bool, message_channels=Bool, files=Bool, file_max_size=int, }) +account.Takeout = account.initTakeoutSession({contacts=Bool, message_users=Bool, message_chats=Bool, message_megagroups=Bool, message_channels=Bool, files=Bool, file_max_size=int, }) ``` diff --git a/old_docs/API_docs_v91/methods/account.sendChangePhoneCode.md b/old_docs/API_docs_v91/methods/account.sendChangePhoneCode.md index 0f81306e..30589ffa 100644 --- a/old_docs/API_docs_v91/methods/account.sendChangePhoneCode.md +++ b/old_docs/API_docs_v91/methods/account.sendChangePhoneCode.md @@ -18,7 +18,7 @@ Verify a new phone number to associate to the current account |current\_number|[Bool](../types/Bool.md) | Current phone number | Optional| -### Return type: [auth\_SentCode](../types/auth_SentCode.md) +### Return type: [auth.SentCode](../types/auth.SentCode.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_SentCode = $MadelineProto->account->sendChangePhoneCode(['allow_flashcall' => Bool, 'phone_number' => 'string', 'current_number' => Bool, ]); +$auth.SentCode = $MadelineProto->account->sendChangePhoneCode(['allow_flashcall' => Bool, 'phone_number' => 'string', 'current_number' => Bool, ]); ``` Or, if you're into Lua: ```lua -auth_SentCode = account.sendChangePhoneCode({allow_flashcall=Bool, phone_number='string', current_number=Bool, }) +auth.SentCode = account.sendChangePhoneCode({allow_flashcall=Bool, phone_number='string', current_number=Bool, }) ``` ### Errors diff --git a/old_docs/API_docs_v91/methods/account.sendConfirmPhoneCode.md b/old_docs/API_docs_v91/methods/account.sendConfirmPhoneCode.md index 68ba8fd3..9ec24f07 100644 --- a/old_docs/API_docs_v91/methods/account.sendConfirmPhoneCode.md +++ b/old_docs/API_docs_v91/methods/account.sendConfirmPhoneCode.md @@ -18,7 +18,7 @@ Send confirmation code to cancel account deletion, for more info [click here »] |current\_number|[Bool](../types/Bool.md) | The current phone number | Optional| -### Return type: [auth\_SentCode](../types/auth_SentCode.md) +### Return type: [auth.SentCode](../types/auth.SentCode.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_SentCode = $MadelineProto->account->sendConfirmPhoneCode(['allow_flashcall' => Bool, 'hash' => 'string', 'current_number' => Bool, ]); +$auth.SentCode = $MadelineProto->account->sendConfirmPhoneCode(['allow_flashcall' => Bool, 'hash' => 'string', 'current_number' => Bool, ]); ``` Or, if you're into Lua: ```lua -auth_SentCode = account.sendConfirmPhoneCode({allow_flashcall=Bool, hash='string', current_number=Bool, }) +auth.SentCode = account.sendConfirmPhoneCode({allow_flashcall=Bool, hash='string', current_number=Bool, }) ``` ### Errors diff --git a/old_docs/API_docs_v91/methods/account.sendVerifyEmailCode.md b/old_docs/API_docs_v91/methods/account.sendVerifyEmailCode.md index 54b1fc3f..a4768852 100644 --- a/old_docs/API_docs_v91/methods/account.sendVerifyEmailCode.md +++ b/old_docs/API_docs_v91/methods/account.sendVerifyEmailCode.md @@ -16,7 +16,7 @@ Send the verification email code for telegram [passport](https://core.telegram.o |email|[string](../types/string.md) | The email where to send the code | Yes| -### Return type: [account\_SentEmailCode](../types/account_SentEmailCode.md) +### Return type: [account.SentEmailCode](../types/account.SentEmailCode.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_SentEmailCode = $MadelineProto->account->sendVerifyEmailCode(['email' => 'string', ]); +$account.SentEmailCode = $MadelineProto->account->sendVerifyEmailCode(['email' => 'string', ]); ``` Or, if you're into Lua: ```lua -account_SentEmailCode = account.sendVerifyEmailCode({email='string', }) +account.SentEmailCode = account.sendVerifyEmailCode({email='string', }) ``` diff --git a/old_docs/API_docs_v91/methods/account.sendVerifyPhoneCode.md b/old_docs/API_docs_v91/methods/account.sendVerifyPhoneCode.md index 29cda026..c03ddf63 100644 --- a/old_docs/API_docs_v91/methods/account.sendVerifyPhoneCode.md +++ b/old_docs/API_docs_v91/methods/account.sendVerifyPhoneCode.md @@ -18,7 +18,7 @@ Send the verification phone code for telegram [passport](https://core.telegram.o |current\_number|[Bool](../types/Bool.md) | Is this the current number? | Optional| -### Return type: [auth\_SentCode](../types/auth_SentCode.md) +### Return type: [auth.SentCode](../types/auth.SentCode.md) ### Can bots use this method: **NO** @@ -35,12 +35,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_SentCode = $MadelineProto->account->sendVerifyPhoneCode(['allow_flashcall' => Bool, 'phone_number' => 'string', 'current_number' => Bool, ]); +$auth.SentCode = $MadelineProto->account->sendVerifyPhoneCode(['allow_flashcall' => Bool, 'phone_number' => 'string', 'current_number' => Bool, ]); ``` Or, if you're into Lua: ```lua -auth_SentCode = account.sendVerifyPhoneCode({allow_flashcall=Bool, phone_number='string', current_number=Bool, }) +auth.SentCode = account.sendVerifyPhoneCode({allow_flashcall=Bool, phone_number='string', current_number=Bool, }) ``` diff --git a/old_docs/API_docs_v91/methods/account.setPrivacy.md b/old_docs/API_docs_v91/methods/account.setPrivacy.md index 7c4cfba7..096d373e 100644 --- a/old_docs/API_docs_v91/methods/account.setPrivacy.md +++ b/old_docs/API_docs_v91/methods/account.setPrivacy.md @@ -17,7 +17,7 @@ Change privacy settings of current account |rules|Array of [InputPrivacyRule](../types/InputPrivacyRule.md) | Privacy settings | Yes| -### Return type: [account\_PrivacyRules](../types/account_PrivacyRules.md) +### Return type: [account.PrivacyRules](../types/account.PrivacyRules.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_PrivacyRules = $MadelineProto->account->setPrivacy(['key' => InputPrivacyKey, 'rules' => [InputPrivacyRule, InputPrivacyRule], ]); +$account.PrivacyRules = $MadelineProto->account->setPrivacy(['key' => InputPrivacyKey, 'rules' => [InputPrivacyRule, InputPrivacyRule], ]); ``` Or, if you're into Lua: ```lua -account_PrivacyRules = account.setPrivacy({key=InputPrivacyKey, rules={InputPrivacyRule}, }) +account.PrivacyRules = account.setPrivacy({key=InputPrivacyKey, rules={InputPrivacyRule}, }) ``` ### Errors diff --git a/old_docs/API_docs_v91/methods/api_README.md b/old_docs/API_docs_v91/methods/api_README.md index 38da6e7e..8704dbb5 100644 --- a/old_docs/API_docs_v91/methods/api_README.md +++ b/old_docs/API_docs_v91/methods/api_README.md @@ -80,11 +80,11 @@ $MadelineProto->[account->getAllSecureValues](account.getAllSecureValues.md)(\[\ ***

-$MadelineProto->[account->getAuthorizationForm](account.getAuthorizationForm.md)(\['bot_id' => [int](../types/int.md), 'scope' => [string](../types/string.md), 'public_key' => [string](../types/string.md), \]) === [$account\_AuthorizationForm](../types/account_AuthorizationForm.md) +$MadelineProto->[account->getAuthorizationForm](account.getAuthorizationForm.md)(\['bot_id' => [int](../types/int.md), 'scope' => [string](../types/string.md), 'public_key' => [string](../types/string.md), \]) === [$account.AuthorizationForm](../types/account.AuthorizationForm.md) ***

-$MadelineProto->[account->getAuthorizations](account.getAuthorizations.md)(\[\]) === [$account\_Authorizations](../types/account_Authorizations.md) +$MadelineProto->[account->getAuthorizations](account.getAuthorizations.md)(\[\]) === [$account.Authorizations](../types/account.Authorizations.md) ***

@@ -100,15 +100,15 @@ $MadelineProto->[account->getNotifySettings](account.getNotifySettings.md)(\['pe ***

-$MadelineProto->[account->getPassword](account.getPassword.md)(\[\]) === [$account\_Password](../types/account_Password.md) +$MadelineProto->[account->getPassword](account.getPassword.md)(\[\]) === [$account.Password](../types/account.Password.md) ***

-$MadelineProto->[account->getPasswordSettings](account.getPasswordSettings.md)(\['password' => [InputCheckPasswordSRP](../types/InputCheckPasswordSRP.md), \]) === [$account\_PasswordSettings](../types/account_PasswordSettings.md) +$MadelineProto->[account->getPasswordSettings](account.getPasswordSettings.md)(\['password' => [InputCheckPasswordSRP](../types/InputCheckPasswordSRP.md), \]) === [$account.PasswordSettings](../types/account.PasswordSettings.md) ***

-$MadelineProto->[account->getPrivacy](account.getPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), \]) === [$account\_PrivacyRules](../types/account_PrivacyRules.md) +$MadelineProto->[account->getPrivacy](account.getPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), \]) === [$account.PrivacyRules](../types/account.PrivacyRules.md) ***

@@ -116,7 +116,7 @@ $MadelineProto->[account->getSecureValue](account.getSecureValue.md)(\['types' = ***

-$MadelineProto->[account->getTmpPassword](account.getTmpPassword.md)(\['password' => [InputCheckPasswordSRP](../types/InputCheckPasswordSRP.md), 'period' => [int](../types/int.md), \]) === [$account\_TmpPassword](../types/account_TmpPassword.md) +$MadelineProto->[account->getTmpPassword](account.getTmpPassword.md)(\['password' => [InputCheckPasswordSRP](../types/InputCheckPasswordSRP.md), 'period' => [int](../types/int.md), \]) === [$account.TmpPassword](../types/account.TmpPassword.md) ***

@@ -124,11 +124,11 @@ $MadelineProto->[account->getWallPapers](account.getWallPapers.md)(\[\]) === [$V ***

-$MadelineProto->[account->getWebAuthorizations](account.getWebAuthorizations.md)(\[\]) === [$account\_WebAuthorizations](../types/account_WebAuthorizations.md) +$MadelineProto->[account->getWebAuthorizations](account.getWebAuthorizations.md)(\[\]) === [$account.WebAuthorizations](../types/account.WebAuthorizations.md) ***

-$MadelineProto->[account->initTakeoutSession](account.initTakeoutSession.md)(\['contacts' => [Bool](../types/Bool.md), 'message_users' => [Bool](../types/Bool.md), 'message_chats' => [Bool](../types/Bool.md), 'message_megagroups' => [Bool](../types/Bool.md), 'message_channels' => [Bool](../types/Bool.md), 'files' => [Bool](../types/Bool.md), 'file_max_size' => [int](../types/int.md), \]) === [$account\_Takeout](../types/account_Takeout.md) +$MadelineProto->[account->initTakeoutSession](account.initTakeoutSession.md)(\['contacts' => [Bool](../types/Bool.md), 'message_users' => [Bool](../types/Bool.md), 'message_chats' => [Bool](../types/Bool.md), 'message_megagroups' => [Bool](../types/Bool.md), 'message_channels' => [Bool](../types/Bool.md), 'files' => [Bool](../types/Bool.md), 'file_max_size' => [int](../types/int.md), \]) === [$account.Takeout](../types/account.Takeout.md) ***

@@ -164,19 +164,19 @@ $MadelineProto->[account->saveSecureValue](account.saveSecureValue.md)(\['value' ***

-$MadelineProto->[account->sendChangePhoneCode](account.sendChangePhoneCode.md)(\['allow_flashcall' => [Bool](../types/Bool.md), 'phone_number' => [string](../types/string.md), 'current_number' => [Bool](../types/Bool.md), \]) === [$auth\_SentCode](../types/auth_SentCode.md) +$MadelineProto->[account->sendChangePhoneCode](account.sendChangePhoneCode.md)(\['allow_flashcall' => [Bool](../types/Bool.md), 'phone_number' => [string](../types/string.md), 'current_number' => [Bool](../types/Bool.md), \]) === [$auth.SentCode](../types/auth.SentCode.md) ***

-$MadelineProto->[account->sendConfirmPhoneCode](account.sendConfirmPhoneCode.md)(\['allow_flashcall' => [Bool](../types/Bool.md), 'hash' => [string](../types/string.md), 'current_number' => [Bool](../types/Bool.md), \]) === [$auth\_SentCode](../types/auth_SentCode.md) +$MadelineProto->[account->sendConfirmPhoneCode](account.sendConfirmPhoneCode.md)(\['allow_flashcall' => [Bool](../types/Bool.md), 'hash' => [string](../types/string.md), 'current_number' => [Bool](../types/Bool.md), \]) === [$auth.SentCode](../types/auth.SentCode.md) ***

-$MadelineProto->[account->sendVerifyEmailCode](account.sendVerifyEmailCode.md)(\['email' => [string](../types/string.md), \]) === [$account\_SentEmailCode](../types/account_SentEmailCode.md) +$MadelineProto->[account->sendVerifyEmailCode](account.sendVerifyEmailCode.md)(\['email' => [string](../types/string.md), \]) === [$account.SentEmailCode](../types/account.SentEmailCode.md) ***

-$MadelineProto->[account->sendVerifyPhoneCode](account.sendVerifyPhoneCode.md)(\['allow_flashcall' => [Bool](../types/Bool.md), 'phone_number' => [string](../types/string.md), 'current_number' => [Bool](../types/Bool.md), \]) === [$auth\_SentCode](../types/auth_SentCode.md) +$MadelineProto->[account->sendVerifyPhoneCode](account.sendVerifyPhoneCode.md)(\['allow_flashcall' => [Bool](../types/Bool.md), 'phone_number' => [string](../types/string.md), 'current_number' => [Bool](../types/Bool.md), \]) === [$auth.SentCode](../types/auth.SentCode.md) ***

@@ -188,7 +188,7 @@ $MadelineProto->[account->setContactSignUpNotification](account.setContactSignUp ***

-$MadelineProto->[account->setPrivacy](account.setPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), 'rules' => \[[InputPrivacyRule](../types/InputPrivacyRule.md)\], \]) === [$account\_PrivacyRules](../types/account_PrivacyRules.md) +$MadelineProto->[account->setPrivacy](account.setPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), 'rules' => \[[InputPrivacyRule](../types/InputPrivacyRule.md)\], \]) === [$account.PrivacyRules](../types/account.PrivacyRules.md) ***

@@ -236,7 +236,7 @@ $MadelineProto->[auth->cancelCode](auth.cancelCode.md)(\['phone_number' => [stri ***

-$MadelineProto->[auth->checkPassword](auth.checkPassword.md)(\['password' => [InputCheckPasswordSRP](../types/InputCheckPasswordSRP.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->checkPassword](auth.checkPassword.md)(\['password' => [InputCheckPasswordSRP](../types/InputCheckPasswordSRP.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

@@ -244,15 +244,15 @@ $MadelineProto->[auth->dropTempAuthKeys](auth.dropTempAuthKeys.md)(\['except_aut ***

-$MadelineProto->[auth->exportAuthorization](auth.exportAuthorization.md)(\['dc_id' => [int](../types/int.md), \]) === [$auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) +$MadelineProto->[auth->exportAuthorization](auth.exportAuthorization.md)(\['dc_id' => [int](../types/int.md), \]) === [$auth.ExportedAuthorization](../types/auth.ExportedAuthorization.md) ***

-$MadelineProto->[auth->importAuthorization](auth.importAuthorization.md)(\['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->importAuthorization](auth.importAuthorization.md)(\['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

-$MadelineProto->[auth->importBotAuthorization](auth.importBotAuthorization.md)(\['api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), 'bot_auth_token' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->importBotAuthorization](auth.importBotAuthorization.md)(\['api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), 'bot_auth_token' => [string](../types/string.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

@@ -260,15 +260,15 @@ $MadelineProto->[auth->logOut](auth.logOut.md)(\[\]) === [$Bool](../types/Bool.m ***

-$MadelineProto->[auth->recoverPassword](auth.recoverPassword.md)(\['code' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->recoverPassword](auth.recoverPassword.md)(\['code' => [string](../types/string.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

-$MadelineProto->[auth->requestPasswordRecovery](auth.requestPasswordRecovery.md)(\[\]) === [$auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) +$MadelineProto->[auth->requestPasswordRecovery](auth.requestPasswordRecovery.md)(\[\]) === [$auth.PasswordRecovery](../types/auth.PasswordRecovery.md) ***

-$MadelineProto->[auth->resendCode](auth.resendCode.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), \]) === [$auth\_SentCode](../types/auth_SentCode.md) +$MadelineProto->[auth->resendCode](auth.resendCode.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), \]) === [$auth.SentCode](../types/auth.SentCode.md) ***

@@ -276,15 +276,15 @@ $MadelineProto->[auth->resetAuthorizations](auth.resetAuthorizations.md)(\[\]) = ***

-$MadelineProto->[auth->sendCode](auth.sendCode.md)(\['allow_flashcall' => [Bool](../types/Bool.md), 'phone_number' => [string](../types/string.md), 'current_number' => [Bool](../types/Bool.md), 'api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), \]) === [$auth\_SentCode](../types/auth_SentCode.md) +$MadelineProto->[auth->sendCode](auth.sendCode.md)(\['allow_flashcall' => [Bool](../types/Bool.md), 'phone_number' => [string](../types/string.md), 'current_number' => [Bool](../types/Bool.md), 'api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), \]) === [$auth.SentCode](../types/auth.SentCode.md) ***

-$MadelineProto->[auth->signIn](auth.signIn.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->signIn](auth.signIn.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

-$MadelineProto->[auth->signUp](auth.signUp.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->signUp](auth.signUp.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

@@ -312,11 +312,11 @@ $MadelineProto->[channels->deleteHistory](channels.deleteHistory.md)(\['channel' ***

-$MadelineProto->[channels->deleteMessages](channels.deleteMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) +$MadelineProto->[channels->deleteMessages](channels.deleteMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages.AffectedMessages](../types/messages.AffectedMessages.md) ***

-$MadelineProto->[channels->deleteUserHistory](channels.deleteUserHistory.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages\_AffectedHistory](../types/messages_AffectedHistory.md) +$MadelineProto->[channels->deleteUserHistory](channels.deleteUserHistory.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages.AffectedHistory](../types/messages.AffectedHistory.md) ***

@@ -348,35 +348,35 @@ $MadelineProto->[channels->exportMessageLink](channels.exportMessageLink.md)(\[' ***

-$MadelineProto->[channels->getAdminLog](channels.getAdminLog.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'q' => [string](../types/string.md), 'events_filter' => [ChannelAdminLogEventsFilter](../types/ChannelAdminLogEventsFilter.md), 'admins' => \[[InputUser](../types/InputUser.md)\], 'max_id' => [long](../types/long.md), 'min_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$channels\_AdminLogResults](../types/channels_AdminLogResults.md) +$MadelineProto->[channels->getAdminLog](channels.getAdminLog.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'q' => [string](../types/string.md), 'events_filter' => [ChannelAdminLogEventsFilter](../types/ChannelAdminLogEventsFilter.md), 'admins' => \[[InputUser](../types/InputUser.md)\], 'max_id' => [long](../types/long.md), 'min_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$channels.AdminLogResults](../types/channels.AdminLogResults.md) ***

-$MadelineProto->[channels->getAdminedPublicChannels](channels.getAdminedPublicChannels.md)(\[\]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[channels->getAdminedPublicChannels](channels.getAdminedPublicChannels.md)(\[\]) === [$messages.Chats](../types/messages.Chats.md) ***

-$MadelineProto->[channels->getChannels](channels.getChannels.md)(\['id' => \[[InputChannel](../types/InputChannel.md)\], \]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[channels->getChannels](channels.getChannels.md)(\['id' => \[[InputChannel](../types/InputChannel.md)\], \]) === [$messages.Chats](../types/messages.Chats.md) ***

-$MadelineProto->[channels->getFullChannel](channels.getFullChannel.md)(\['channel' => [InputChannel](../types/InputChannel.md), \]) === [$messages\_ChatFull](../types/messages_ChatFull.md) +$MadelineProto->[channels->getFullChannel](channels.getFullChannel.md)(\['channel' => [InputChannel](../types/InputChannel.md), \]) === [$messages.ChatFull](../types/messages.ChatFull.md) ***

-$MadelineProto->[channels->getLeftChannels](channels.getLeftChannels.md)(\['offset' => [int](../types/int.md), \]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[channels->getLeftChannels](channels.getLeftChannels.md)(\['offset' => [int](../types/int.md), \]) === [$messages.Chats](../types/messages.Chats.md) ***

-$MadelineProto->[channels->getMessages](channels.getMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[InputMessage](../types/InputMessage.md)\], \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[channels->getMessages](channels.getMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[InputMessage](../types/InputMessage.md)\], \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[channels->getParticipant](channels.getParticipant.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$channels\_ChannelParticipant](../types/channels_ChannelParticipant.md) +$MadelineProto->[channels->getParticipant](channels.getParticipant.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$channels.ChannelParticipant](../types/channels.ChannelParticipant.md) ***

-$MadelineProto->[channels->getParticipants](channels.getParticipants.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$channels\_ChannelParticipants](../types/channels_ChannelParticipants.md) +$MadelineProto->[channels->getParticipants](channels.getParticipants.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$channels.ChannelParticipants](../types/channels.ChannelParticipants.md) ***

@@ -432,7 +432,7 @@ $MadelineProto->[contacts->deleteByPhones](contacts.deleteByPhones.md)(\['phones ***

-$MadelineProto->[contacts->deleteContact](contacts.deleteContact.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$contacts\_Link](../types/contacts_Link.md) +$MadelineProto->[contacts->deleteContact](contacts.deleteContact.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$contacts.Link](../types/contacts.Link.md) ***

@@ -440,7 +440,7 @@ $MadelineProto->[contacts->deleteContacts](contacts.deleteContacts.md)(\['id' => ***

-$MadelineProto->[contacts->getBlocked](contacts.getBlocked.md)(\['offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$contacts\_Blocked](../types/contacts_Blocked.md) +$MadelineProto->[contacts->getBlocked](contacts.getBlocked.md)(\['offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$contacts.Blocked](../types/contacts.Blocked.md) ***

@@ -448,7 +448,7 @@ $MadelineProto->[contacts->getContactIDs](contacts.getContactIDs.md)(\['hash' => ***

-$MadelineProto->[contacts->getContacts](contacts.getContacts.md)(\['hash' => [int](../types/int.md), \]) === [$contacts\_Contacts](../types/contacts_Contacts.md) +$MadelineProto->[contacts->getContacts](contacts.getContacts.md)(\['hash' => [int](../types/int.md), \]) === [$contacts.Contacts](../types/contacts.Contacts.md) ***

@@ -460,11 +460,11 @@ $MadelineProto->[contacts->getStatuses](contacts.getStatuses.md)(\[\]) === [$Vec ***

-$MadelineProto->[contacts->getTopPeers](contacts.getTopPeers.md)(\['correspondents' => [Bool](../types/Bool.md), 'bots_pm' => [Bool](../types/Bool.md), 'bots_inline' => [Bool](../types/Bool.md), 'phone_calls' => [Bool](../types/Bool.md), 'groups' => [Bool](../types/Bool.md), 'channels' => [Bool](../types/Bool.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$contacts\_TopPeers](../types/contacts_TopPeers.md) +$MadelineProto->[contacts->getTopPeers](contacts.getTopPeers.md)(\['correspondents' => [Bool](../types/Bool.md), 'bots_pm' => [Bool](../types/Bool.md), 'bots_inline' => [Bool](../types/Bool.md), 'phone_calls' => [Bool](../types/Bool.md), 'groups' => [Bool](../types/Bool.md), 'channels' => [Bool](../types/Bool.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$contacts.TopPeers](../types/contacts.TopPeers.md) ***

-$MadelineProto->[contacts->importContacts](contacts.importContacts.md)(\['contacts' => \[[InputContact](../types/InputContact.md)\], \]) === [$contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) +$MadelineProto->[contacts->importContacts](contacts.importContacts.md)(\['contacts' => \[[InputContact](../types/InputContact.md)\], \]) === [$contacts.ImportedContacts](../types/contacts.ImportedContacts.md) ***

@@ -476,11 +476,11 @@ $MadelineProto->[contacts->resetTopPeerRating](contacts.resetTopPeerRating.md)(\ ***

-$MadelineProto->[contacts->resolveUsername](contacts.resolveUsername.md)(\['username' => [string](../types/string.md), \]) === [$contacts\_ResolvedPeer](../types/contacts_ResolvedPeer.md) +$MadelineProto->[contacts->resolveUsername](contacts.resolveUsername.md)(\['username' => [string](../types/string.md), \]) === [$contacts.ResolvedPeer](../types/contacts.ResolvedPeer.md) ***

-$MadelineProto->[contacts->search](contacts.search.md)(\['q' => [string](../types/string.md), 'limit' => [int](../types/int.md), \]) === [$contacts\_Found](../types/contacts_Found.md) +$MadelineProto->[contacts->search](contacts.search.md)(\['q' => [string](../types/string.md), 'limit' => [int](../types/int.md), \]) === [$contacts.Found](../types/contacts.Found.md) ***

@@ -496,7 +496,7 @@ $MadelineProto->[help->acceptTermsOfService](help.acceptTermsOfService.md)(\['id ***

-$MadelineProto->[help->editUserInfo](help.editUserInfo.md)(\['user_id' => [InputUser](../types/InputUser.md), 'message' => [string](../types/string.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], \]) === [$help\_UserInfo](../types/help_UserInfo.md) +$MadelineProto->[help->editUserInfo](help.editUserInfo.md)(\['user_id' => [InputUser](../types/InputUser.md), 'message' => [string](../types/string.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], \]) === [$help.UserInfo](../types/help.UserInfo.md) ***

@@ -508,7 +508,7 @@ $MadelineProto->[help->getAppConfig](help.getAppConfig.md)(\[\]) === [$JSONValue ***

-$MadelineProto->[help->getAppUpdate](help.getAppUpdate.md)(\['source' => [string](../types/string.md), \]) === [$help\_AppUpdate](../types/help_AppUpdate.md) +$MadelineProto->[help->getAppUpdate](help.getAppUpdate.md)(\['source' => [string](../types/string.md), \]) === [$help.AppUpdate](../types/help.AppUpdate.md) ***

@@ -520,11 +520,11 @@ $MadelineProto->[help->getConfig](help.getConfig.md)(\[\]) === [$Config](../type ***

-$MadelineProto->[help->getDeepLinkInfo](help.getDeepLinkInfo.md)(\['path' => [string](../types/string.md), \]) === [$help\_DeepLinkInfo](../types/help_DeepLinkInfo.md) +$MadelineProto->[help->getDeepLinkInfo](help.getDeepLinkInfo.md)(\['path' => [string](../types/string.md), \]) === [$help.DeepLinkInfo](../types/help.DeepLinkInfo.md) ***

-$MadelineProto->[help->getInviteText](help.getInviteText.md)(\[\]) === [$help\_InviteText](../types/help_InviteText.md) +$MadelineProto->[help->getInviteText](help.getInviteText.md)(\[\]) === [$help.InviteText](../types/help.InviteText.md) ***

@@ -532,31 +532,31 @@ $MadelineProto->[help->getNearestDc](help.getNearestDc.md)(\[\]) === [$NearestDc ***

-$MadelineProto->[help->getPassportConfig](help.getPassportConfig.md)(\['hash' => [int](../types/int.md), \]) === [$help\_PassportConfig](../types/help_PassportConfig.md) +$MadelineProto->[help->getPassportConfig](help.getPassportConfig.md)(\['hash' => [int](../types/int.md), \]) === [$help.PassportConfig](../types/help.PassportConfig.md) ***

-$MadelineProto->[help->getProxyData](help.getProxyData.md)(\[\]) === [$help\_ProxyData](../types/help_ProxyData.md) +$MadelineProto->[help->getProxyData](help.getProxyData.md)(\[\]) === [$help.ProxyData](../types/help.ProxyData.md) ***

-$MadelineProto->[help->getRecentMeUrls](help.getRecentMeUrls.md)(\['referer' => [string](../types/string.md), \]) === [$help\_RecentMeUrls](../types/help_RecentMeUrls.md) +$MadelineProto->[help->getRecentMeUrls](help.getRecentMeUrls.md)(\['referer' => [string](../types/string.md), \]) === [$help.RecentMeUrls](../types/help.RecentMeUrls.md) ***

-$MadelineProto->[help->getSupport](help.getSupport.md)(\[\]) === [$help\_Support](../types/help_Support.md) +$MadelineProto->[help->getSupport](help.getSupport.md)(\[\]) === [$help.Support](../types/help.Support.md) ***

-$MadelineProto->[help->getSupportName](help.getSupportName.md)(\[\]) === [$help\_SupportName](../types/help_SupportName.md) +$MadelineProto->[help->getSupportName](help.getSupportName.md)(\[\]) === [$help.SupportName](../types/help.SupportName.md) ***

-$MadelineProto->[help->getTermsOfServiceUpdate](help.getTermsOfServiceUpdate.md)(\[\]) === [$help\_TermsOfServiceUpdate](../types/help_TermsOfServiceUpdate.md) +$MadelineProto->[help->getTermsOfServiceUpdate](help.getTermsOfServiceUpdate.md)(\[\]) === [$help.TermsOfServiceUpdate](../types/help.TermsOfServiceUpdate.md) ***

-$MadelineProto->[help->getUserInfo](help.getUserInfo.md)(\['user_id' => [InputUser](../types/InputUser.md), \]) === [$help\_UserInfo](../types/help_UserInfo.md) +$MadelineProto->[help->getUserInfo](help.getUserInfo.md)(\['user_id' => [InputUser](../types/InputUser.md), \]) === [$help.UserInfo](../types/help.UserInfo.md) ***

@@ -644,11 +644,11 @@ $MadelineProto->[messages->deleteChatUser](messages.deleteChatUser.md)(\['chat_i ***

-$MadelineProto->[messages->deleteHistory](messages.deleteHistory.md)(\['just_clear' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), \]) === [$messages\_AffectedHistory](../types/messages_AffectedHistory.md) +$MadelineProto->[messages->deleteHistory](messages.deleteHistory.md)(\['just_clear' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), \]) === [$messages.AffectedHistory](../types/messages.AffectedHistory.md) ***

-$MadelineProto->[messages->deleteMessages](messages.deleteMessages.md)(\['revoke' => [Bool](../types/Bool.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) +$MadelineProto->[messages->deleteMessages](messages.deleteMessages.md)(\['revoke' => [Bool](../types/Bool.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages.AffectedMessages](../types/messages.AffectedMessages.md) ***

@@ -688,7 +688,7 @@ $MadelineProto->[messages->forwardMessages](messages.forwardMessages.md)(\['sile ***

-$MadelineProto->[messages->getAllChats](messages.getAllChats.md)(\['except_ids' => \[[int](../types/int.md)\], \]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[messages->getAllChats](messages.getAllChats.md)(\['except_ids' => \[[int](../types/int.md)\], \]) === [$messages.Chats](../types/messages.Chats.md) ***

@@ -696,11 +696,11 @@ $MadelineProto->[messages->getAllDrafts](messages.getAllDrafts.md)(\[\]) === [$U ***

-$MadelineProto->[messages->getAllStickers](messages.getAllStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages\_AllStickers](../types/messages_AllStickers.md) +$MadelineProto->[messages->getAllStickers](messages.getAllStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages.AllStickers](../types/messages.AllStickers.md) ***

-$MadelineProto->[messages->getArchivedStickers](messages.getArchivedStickers.md)(\['masks' => [Bool](../types/Bool.md), 'offset_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$messages\_ArchivedStickers](../types/messages_ArchivedStickers.md) +$MadelineProto->[messages->getArchivedStickers](messages.getArchivedStickers.md)(\['masks' => [Bool](../types/Bool.md), 'offset_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$messages.ArchivedStickers](../types/messages.ArchivedStickers.md) ***

@@ -708,19 +708,19 @@ $MadelineProto->[messages->getAttachedStickers](messages.getAttachedStickers.md) ***

-$MadelineProto->[messages->getBotCallbackAnswer](messages.getBotCallbackAnswer.md)(\['game' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'msg_id' => [int](../types/int.md), 'data' => [bytes](../types/bytes.md), \]) === [$messages\_BotCallbackAnswer](../types/messages_BotCallbackAnswer.md) +$MadelineProto->[messages->getBotCallbackAnswer](messages.getBotCallbackAnswer.md)(\['game' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'msg_id' => [int](../types/int.md), 'data' => [bytes](../types/bytes.md), \]) === [$messages.BotCallbackAnswer](../types/messages.BotCallbackAnswer.md) ***

-$MadelineProto->[messages->getChats](messages.getChats.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[messages->getChats](messages.getChats.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages.Chats](../types/messages.Chats.md) ***

-$MadelineProto->[messages->getCommonChats](messages.getCommonChats.md)(\['user_id' => [InputUser](../types/InputUser.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[messages->getCommonChats](messages.getCommonChats.md)(\['user_id' => [InputUser](../types/InputUser.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages.Chats](../types/messages.Chats.md) ***

-$MadelineProto->[messages->getDhConfig](messages.getDhConfig.md)(\['version' => [int](../types/int.md), 'random_length' => [int](../types/int.md), \]) === [$messages\_DhConfig](../types/messages_DhConfig.md) +$MadelineProto->[messages->getDhConfig](messages.getDhConfig.md)(\['version' => [int](../types/int.md), 'random_length' => [int](../types/int.md), \]) === [$messages.DhConfig](../types/messages.DhConfig.md) ***

@@ -728,7 +728,7 @@ $MadelineProto->[messages->getDialogUnreadMarks](messages.getDialogUnreadMarks.m ***

-$MadelineProto->[messages->getDialogs](messages.getDialogs.md)(\['exclude_pinned' => [Bool](../types/Bool.md), 'offset_date' => [int](../types/int.md), 'offset_id' => [int](../types/int.md), 'offset_peer' => [InputPeer](../types/InputPeer.md), 'limit' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$messages\_Dialogs](../types/messages_Dialogs.md) +$MadelineProto->[messages->getDialogs](messages.getDialogs.md)(\['exclude_pinned' => [Bool](../types/Bool.md), 'offset_date' => [int](../types/int.md), 'offset_id' => [int](../types/int.md), 'offset_peer' => [InputPeer](../types/InputPeer.md), 'limit' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$messages.Dialogs](../types/messages.Dialogs.md) ***

@@ -736,43 +736,43 @@ $MadelineProto->[messages->getDocumentByHash](messages.getDocumentByHash.md)(\[' ***

-$MadelineProto->[messages->getFavedStickers](messages.getFavedStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages\_FavedStickers](../types/messages_FavedStickers.md) +$MadelineProto->[messages->getFavedStickers](messages.getFavedStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages.FavedStickers](../types/messages.FavedStickers.md) ***

-$MadelineProto->[messages->getFeaturedStickers](messages.getFeaturedStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages\_FeaturedStickers](../types/messages_FeaturedStickers.md) +$MadelineProto->[messages->getFeaturedStickers](messages.getFeaturedStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages.FeaturedStickers](../types/messages.FeaturedStickers.md) ***

-$MadelineProto->[messages->getFullChat](messages.getFullChat.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), \]) === [$messages\_ChatFull](../types/messages_ChatFull.md) +$MadelineProto->[messages->getFullChat](messages.getFullChat.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), \]) === [$messages.ChatFull](../types/messages.ChatFull.md) ***

-$MadelineProto->[messages->getGameHighScores](messages.getGameHighScores.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages\_HighScores](../types/messages_HighScores.md) +$MadelineProto->[messages->getGameHighScores](messages.getGameHighScores.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages.HighScores](../types/messages.HighScores.md) ***

-$MadelineProto->[messages->getHistory](messages.getHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'offset_date' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->getHistory](messages.getHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'offset_date' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[messages->getInlineBotResults](messages.getInlineBotResults.md)(\['bot' => [InputUser](../types/InputUser.md), 'peer' => [InputPeer](../types/InputPeer.md), 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'query' => [string](../types/string.md), 'offset' => [string](../types/string.md), \]) === [$messages\_BotResults](../types/messages_BotResults.md) +$MadelineProto->[messages->getInlineBotResults](messages.getInlineBotResults.md)(\['bot' => [InputUser](../types/InputUser.md), 'peer' => [InputPeer](../types/InputPeer.md), 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'query' => [string](../types/string.md), 'offset' => [string](../types/string.md), \]) === [$messages.BotResults](../types/messages.BotResults.md) ***

-$MadelineProto->[messages->getInlineGameHighScores](messages.getInlineGameHighScores.md)(\['id' => [InputBotInlineMessageID](../types/InputBotInlineMessageID.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages\_HighScores](../types/messages_HighScores.md) +$MadelineProto->[messages->getInlineGameHighScores](messages.getInlineGameHighScores.md)(\['id' => [InputBotInlineMessageID](../types/InputBotInlineMessageID.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages.HighScores](../types/messages.HighScores.md) ***

-$MadelineProto->[messages->getMaskStickers](messages.getMaskStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages\_AllStickers](../types/messages_AllStickers.md) +$MadelineProto->[messages->getMaskStickers](messages.getMaskStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages.AllStickers](../types/messages.AllStickers.md) ***

-$MadelineProto->[messages->getMessageEditData](messages.getMessageEditData.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), \]) === [$messages\_MessageEditData](../types/messages_MessageEditData.md) +$MadelineProto->[messages->getMessageEditData](messages.getMessageEditData.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), \]) === [$messages.MessageEditData](../types/messages.MessageEditData.md) ***

-$MadelineProto->[messages->getMessages](messages.getMessages.md)(\['id' => \[[InputMessage](../types/InputMessage.md)\], \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->getMessages](messages.getMessages.md)(\['id' => \[[InputMessage](../types/InputMessage.md)\], \]) === [$messages.Messages](../types/messages.Messages.md) ***

@@ -784,7 +784,7 @@ $MadelineProto->[messages->getOnlines](messages.getOnlines.md)(\['peer' => [Inpu ***

-$MadelineProto->[messages->getPeerDialogs](messages.getPeerDialogs.md)(\['peers' => \[[InputDialogPeer](../types/InputDialogPeer.md)\], \]) === [$messages\_PeerDialogs](../types/messages_PeerDialogs.md) +$MadelineProto->[messages->getPeerDialogs](messages.getPeerDialogs.md)(\['peers' => \[[InputDialogPeer](../types/InputDialogPeer.md)\], \]) === [$messages.PeerDialogs](../types/messages.PeerDialogs.md) ***

@@ -792,7 +792,7 @@ $MadelineProto->[messages->getPeerSettings](messages.getPeerSettings.md)(\['peer ***

-$MadelineProto->[messages->getPinnedDialogs](messages.getPinnedDialogs.md)(\[\]) === [$messages\_PeerDialogs](../types/messages_PeerDialogs.md) +$MadelineProto->[messages->getPinnedDialogs](messages.getPinnedDialogs.md)(\[\]) === [$messages.PeerDialogs](../types/messages.PeerDialogs.md) ***

@@ -800,15 +800,15 @@ $MadelineProto->[messages->getPollResults](messages.getPollResults.md)(\['peer' ***

-$MadelineProto->[messages->getRecentLocations](messages.getRecentLocations.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'limit' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->getRecentLocations](messages.getRecentLocations.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'limit' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[messages->getRecentStickers](messages.getRecentStickers.md)(\['attached' => [Bool](../types/Bool.md), 'hash' => [int](../types/int.md), \]) === [$messages\_RecentStickers](../types/messages_RecentStickers.md) +$MadelineProto->[messages->getRecentStickers](messages.getRecentStickers.md)(\['attached' => [Bool](../types/Bool.md), 'hash' => [int](../types/int.md), \]) === [$messages.RecentStickers](../types/messages.RecentStickers.md) ***

-$MadelineProto->[messages->getSavedGifs](messages.getSavedGifs.md)(\['hash' => [int](../types/int.md), \]) === [$messages\_SavedGifs](../types/messages_SavedGifs.md) +$MadelineProto->[messages->getSavedGifs](messages.getSavedGifs.md)(\['hash' => [int](../types/int.md), \]) === [$messages.SavedGifs](../types/messages.SavedGifs.md) ***

@@ -820,15 +820,15 @@ $MadelineProto->[messages->getStatsURL](messages.getStatsURL.md)(\['peer' => [In ***

-$MadelineProto->[messages->getStickerSet](messages.getStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), \]) === [$messages\_StickerSet](../types/messages_StickerSet.md) +$MadelineProto->[messages->getStickerSet](messages.getStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), \]) === [$messages.StickerSet](../types/messages.StickerSet.md) ***

-$MadelineProto->[messages->getStickers](messages.getStickers.md)(\['emoticon' => [string](../types/string.md), 'hash' => [int](../types/int.md), \]) === [$messages\_Stickers](../types/messages_Stickers.md) +$MadelineProto->[messages->getStickers](messages.getStickers.md)(\['emoticon' => [string](../types/string.md), 'hash' => [int](../types/int.md), \]) === [$messages.Stickers](../types/messages.Stickers.md) ***

-$MadelineProto->[messages->getUnreadMentions](messages.getUnreadMentions.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->getUnreadMentions](messages.getUnreadMentions.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

@@ -848,7 +848,7 @@ $MadelineProto->[messages->importChatInvite](messages.importChatInvite.md)(\['ha ***

-$MadelineProto->[messages->installStickerSet](messages.installStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), 'archived' => [Bool](../types/Bool.md), \]) === [$messages\_StickerSetInstallResult](../types/messages_StickerSetInstallResult.md) +$MadelineProto->[messages->installStickerSet](messages.installStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), 'archived' => [Bool](../types/Bool.md), \]) === [$messages.StickerSetInstallResult](../types/messages.StickerSetInstallResult.md) ***

@@ -868,15 +868,15 @@ $MadelineProto->[messages->readFeaturedStickers](messages.readFeaturedStickers.m ***

-$MadelineProto->[messages->readHistory](messages.readHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), \]) === [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) +$MadelineProto->[messages->readHistory](messages.readHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), \]) === [$messages.AffectedMessages](../types/messages.AffectedMessages.md) ***

-$MadelineProto->[messages->readMentions](messages.readMentions.md)(\['peer' => [InputPeer](../types/InputPeer.md), \]) === [$messages\_AffectedHistory](../types/messages_AffectedHistory.md) +$MadelineProto->[messages->readMentions](messages.readMentions.md)(\['peer' => [InputPeer](../types/InputPeer.md), \]) === [$messages.AffectedHistory](../types/messages.AffectedHistory.md) ***

-$MadelineProto->[messages->readMessageContents](messages.readMessageContents.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) +$MadelineProto->[messages->readMessageContents](messages.readMessageContents.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages.AffectedMessages](../types/messages.AffectedMessages.md) ***

@@ -924,31 +924,31 @@ $MadelineProto->[messages->saveRecentSticker](messages.saveRecentSticker.md)(\[' ***

-$MadelineProto->[messages->search](messages.search.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'q' => [string](../types/string.md), 'from_id' => [InputUser](../types/InputUser.md), 'filter' => [MessagesFilter](../types/MessagesFilter.md), 'min_date' => [int](../types/int.md), 'max_date' => [int](../types/int.md), 'offset_id' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->search](messages.search.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'q' => [string](../types/string.md), 'from_id' => [InputUser](../types/InputUser.md), 'filter' => [MessagesFilter](../types/MessagesFilter.md), 'min_date' => [int](../types/int.md), 'max_date' => [int](../types/int.md), 'offset_id' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[messages->searchGifs](messages.searchGifs.md)(\['q' => [string](../types/string.md), 'offset' => [int](../types/int.md), \]) === [$messages\_FoundGifs](../types/messages_FoundGifs.md) +$MadelineProto->[messages->searchGifs](messages.searchGifs.md)(\['q' => [string](../types/string.md), 'offset' => [int](../types/int.md), \]) === [$messages.FoundGifs](../types/messages.FoundGifs.md) ***

-$MadelineProto->[messages->searchGlobal](messages.searchGlobal.md)(\['q' => [string](../types/string.md), 'offset_date' => [int](../types/int.md), 'offset_peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->searchGlobal](messages.searchGlobal.md)(\['q' => [string](../types/string.md), 'offset_date' => [int](../types/int.md), 'offset_peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[messages->searchStickerSets](messages.searchStickerSets.md)(\['exclude_featured' => [Bool](../types/Bool.md), 'q' => [string](../types/string.md), 'hash' => [int](../types/int.md), \]) === [$messages\_FoundStickerSets](../types/messages_FoundStickerSets.md) +$MadelineProto->[messages->searchStickerSets](messages.searchStickerSets.md)(\['exclude_featured' => [Bool](../types/Bool.md), 'q' => [string](../types/string.md), 'hash' => [int](../types/int.md), \]) === [$messages.FoundStickerSets](../types/messages.FoundStickerSets.md) ***

-$MadelineProto->[messages->sendEncrypted](messages.sendEncrypted.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'message' => [DecryptedMessage](../types/DecryptedMessage.md), \]) === [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +$MadelineProto->[messages->sendEncrypted](messages.sendEncrypted.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), \]) === [$messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ***

-$MadelineProto->[messages->sendEncryptedFile](messages.sendEncryptedFile.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'message' => [DecryptedMessage](../types/DecryptedMessage.md), 'file' => [InputEncryptedFile](../types/InputEncryptedFile.md), \]) === [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +$MadelineProto->[messages->sendEncryptedFile](messages.sendEncryptedFile.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), 'file' => [InputEncryptedFile](../types/InputEncryptedFile.md), \]) === [$messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ***

-$MadelineProto->[messages->sendEncryptedService](messages.sendEncryptedService.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'message' => [DecryptedMessage](../types/DecryptedMessage.md), \]) === [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +$MadelineProto->[messages->sendEncryptedService](messages.sendEncryptedService.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), \]) === [$messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ***

@@ -1040,31 +1040,31 @@ $MadelineProto->[payments->clearSavedInfo](payments.clearSavedInfo.md)(\['creden ***

-$MadelineProto->[payments->getPaymentForm](payments.getPaymentForm.md)(\['msg_id' => [int](../types/int.md), \]) === [$payments\_PaymentForm](../types/payments_PaymentForm.md) +$MadelineProto->[payments->getPaymentForm](payments.getPaymentForm.md)(\['msg_id' => [int](../types/int.md), \]) === [$payments.PaymentForm](../types/payments.PaymentForm.md) ***

-$MadelineProto->[payments->getPaymentReceipt](payments.getPaymentReceipt.md)(\['msg_id' => [int](../types/int.md), \]) === [$payments\_PaymentReceipt](../types/payments_PaymentReceipt.md) +$MadelineProto->[payments->getPaymentReceipt](payments.getPaymentReceipt.md)(\['msg_id' => [int](../types/int.md), \]) === [$payments.PaymentReceipt](../types/payments.PaymentReceipt.md) ***

-$MadelineProto->[payments->getSavedInfo](payments.getSavedInfo.md)(\[\]) === [$payments\_SavedInfo](../types/payments_SavedInfo.md) +$MadelineProto->[payments->getSavedInfo](payments.getSavedInfo.md)(\[\]) === [$payments.SavedInfo](../types/payments.SavedInfo.md) ***

-$MadelineProto->[payments->sendPaymentForm](payments.sendPaymentForm.md)(\['msg_id' => [int](../types/int.md), 'requested_info_id' => [string](../types/string.md), 'shipping_option_id' => [string](../types/string.md), 'credentials' => [InputPaymentCredentials](../types/InputPaymentCredentials.md), \]) === [$payments\_PaymentResult](../types/payments_PaymentResult.md) +$MadelineProto->[payments->sendPaymentForm](payments.sendPaymentForm.md)(\['msg_id' => [int](../types/int.md), 'requested_info_id' => [string](../types/string.md), 'shipping_option_id' => [string](../types/string.md), 'credentials' => [InputPaymentCredentials](../types/InputPaymentCredentials.md), \]) === [$payments.PaymentResult](../types/payments.PaymentResult.md) ***

-$MadelineProto->[payments->validateRequestedInfo](payments.validateRequestedInfo.md)(\['save' => [Bool](../types/Bool.md), 'msg_id' => [int](../types/int.md), 'info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), \]) === [$payments\_ValidatedRequestedInfo](../types/payments_ValidatedRequestedInfo.md) +$MadelineProto->[payments->validateRequestedInfo](payments.validateRequestedInfo.md)(\['save' => [Bool](../types/Bool.md), 'msg_id' => [int](../types/int.md), 'info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), \]) === [$payments.ValidatedRequestedInfo](../types/payments.ValidatedRequestedInfo.md) ***

-$MadelineProto->[phone->acceptCall](phone.acceptCall.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'g_b' => [bytes](../types/bytes.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone\_PhoneCall](../types/phone_PhoneCall.md) +$MadelineProto->[phone->acceptCall](phone.acceptCall.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'g_b' => [bytes](../types/bytes.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone.PhoneCall](../types/phone.PhoneCall.md) ***

-$MadelineProto->[phone->confirmCall](phone.confirmCall.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'g_a' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone\_PhoneCall](../types/phone_PhoneCall.md) +$MadelineProto->[phone->confirmCall](phone.confirmCall.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'g_a' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone.PhoneCall](../types/phone.PhoneCall.md) ***

@@ -1080,7 +1080,7 @@ $MadelineProto->[phone->receivedCall](phone.receivedCall.md)(\['peer' => [InputP ***

-$MadelineProto->[phone->requestCall](phone.requestCall.md)(\['user_id' => [InputUser](../types/InputUser.md), 'g_a_hash' => [bytes](../types/bytes.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone\_PhoneCall](../types/phone_PhoneCall.md) +$MadelineProto->[phone->requestCall](phone.requestCall.md)(\['user_id' => [InputUser](../types/InputUser.md), 'g_a_hash' => [bytes](../types/bytes.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone.PhoneCall](../types/phone.PhoneCall.md) ***

@@ -1096,7 +1096,7 @@ $MadelineProto->[photos->deletePhotos](photos.deletePhotos.md)(\['id' => \[[Inpu ***

-$MadelineProto->[photos->getUserPhotos](photos.getUserPhotos.md)(\['user_id' => [InputUser](../types/InputUser.md), 'offset' => [int](../types/int.md), 'max_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$photos\_Photos](../types/photos_Photos.md) +$MadelineProto->[photos->getUserPhotos](photos.getUserPhotos.md)(\['user_id' => [InputUser](../types/InputUser.md), 'offset' => [int](../types/int.md), 'max_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$photos.Photos](../types/photos.Photos.md) ***

@@ -1104,39 +1104,39 @@ $MadelineProto->[photos->updateProfilePhoto](photos.updateProfilePhoto.md)(\['id ***

-$MadelineProto->[photos->uploadProfilePhoto](photos.uploadProfilePhoto.md)(\['file' => [InputFile](../types/InputFile.md), \]) === [$photos\_Photo](../types/photos_Photo.md) +$MadelineProto->[photos->uploadProfilePhoto](photos.uploadProfilePhoto.md)(\['file' => [InputFile](../types/InputFile.md), \]) === [$photos.Photo](../types/photos.Photo.md) ***

-$MadelineProto->[stickers->addStickerToSet](stickers.addStickerToSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), 'sticker' => [InputStickerSetItem](../types/InputStickerSetItem.md), \]) === [$messages\_StickerSet](../types/messages_StickerSet.md) +$MadelineProto->[stickers->addStickerToSet](stickers.addStickerToSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), 'sticker' => [InputStickerSetItem](../types/InputStickerSetItem.md), \]) === [$messages.StickerSet](../types/messages.StickerSet.md) ***

-$MadelineProto->[stickers->changeStickerPosition](stickers.changeStickerPosition.md)(\['sticker' => [InputDocument](../types/InputDocument.md), 'position' => [int](../types/int.md), \]) === [$messages\_StickerSet](../types/messages_StickerSet.md) +$MadelineProto->[stickers->changeStickerPosition](stickers.changeStickerPosition.md)(\['sticker' => [InputDocument](../types/InputDocument.md), 'position' => [int](../types/int.md), \]) === [$messages.StickerSet](../types/messages.StickerSet.md) ***

-$MadelineProto->[stickers->createStickerSet](stickers.createStickerSet.md)(\['masks' => [Bool](../types/Bool.md), 'user_id' => [InputUser](../types/InputUser.md), 'title' => [string](../types/string.md), 'short_name' => [string](../types/string.md), 'stickers' => \[[InputStickerSetItem](../types/InputStickerSetItem.md)\], \]) === [$messages\_StickerSet](../types/messages_StickerSet.md) +$MadelineProto->[stickers->createStickerSet](stickers.createStickerSet.md)(\['masks' => [Bool](../types/Bool.md), 'user_id' => [InputUser](../types/InputUser.md), 'title' => [string](../types/string.md), 'short_name' => [string](../types/string.md), 'stickers' => \[[InputStickerSetItem](../types/InputStickerSetItem.md)\], \]) === [$messages.StickerSet](../types/messages.StickerSet.md) ***

-$MadelineProto->[stickers->removeStickerFromSet](stickers.removeStickerFromSet.md)(\['sticker' => [InputDocument](../types/InputDocument.md), \]) === [$messages\_StickerSet](../types/messages_StickerSet.md) +$MadelineProto->[stickers->removeStickerFromSet](stickers.removeStickerFromSet.md)(\['sticker' => [InputDocument](../types/InputDocument.md), \]) === [$messages.StickerSet](../types/messages.StickerSet.md) ***

-$MadelineProto->[updates->getChannelDifference](updates.getChannelDifference.md)(\['force' => [Bool](../types/Bool.md), 'channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$updates\_ChannelDifference](../types/updates_ChannelDifference.md) +$MadelineProto->[updates->getChannelDifference](updates.getChannelDifference.md)(\['force' => [Bool](../types/Bool.md), 'channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$updates.ChannelDifference](../types/updates.ChannelDifference.md) ***

-$MadelineProto->[updates->getDifference](updates.getDifference.md)(\['pts' => [int](../types/int.md), 'pts_total_limit' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) === [$updates\_Difference](../types/updates_Difference.md) +$MadelineProto->[updates->getDifference](updates.getDifference.md)(\['pts' => [int](../types/int.md), 'pts_total_limit' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) === [$updates.Difference](../types/updates.Difference.md) ***

-$MadelineProto->[updates->getState](updates.getState.md)(\[\]) === [$updates\_State](../types/updates_State.md) +$MadelineProto->[updates->getState](updates.getState.md)(\[\]) === [$updates.State](../types/updates.State.md) ***

-$MadelineProto->[upload->getCdnFile](upload.getCdnFile.md)(\['file_token' => [bytes](../types/bytes.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_CdnFile](../types/upload_CdnFile.md) +$MadelineProto->[upload->getCdnFile](upload.getCdnFile.md)(\['file_token' => [bytes](../types/bytes.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload.CdnFile](../types/upload.CdnFile.md) ***

@@ -1144,7 +1144,7 @@ $MadelineProto->[upload->getCdnFileHashes](upload.getCdnFileHashes.md)(\['file_t ***

-$MadelineProto->[upload->getFile](upload.getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_File](../types/upload_File.md) +$MadelineProto->[upload->getFile](upload.getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload.File](../types/upload.File.md) ***

@@ -1152,7 +1152,7 @@ $MadelineProto->[upload->getFileHashes](upload.getFileHashes.md)(\['location' => ***

-$MadelineProto->[upload->getWebFile](upload.getWebFile.md)(\['location' => [InputWebFileLocation](../types/InputWebFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_WebFile](../types/upload_WebFile.md) +$MadelineProto->[upload->getWebFile](upload.getWebFile.md)(\['location' => [InputWebFileLocation](../types/InputWebFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload.WebFile](../types/upload.WebFile.md) ***

diff --git a/old_docs/API_docs_v91/methods/auth.checkPassword.md b/old_docs/API_docs_v91/methods/auth.checkPassword.md index ad2a88a2..510e6c03 100644 --- a/old_docs/API_docs_v91/methods/auth.checkPassword.md +++ b/old_docs/API_docs_v91/methods/auth.checkPassword.md @@ -16,7 +16,7 @@ You cannot use this method directly, use the complete_2fa_login method instead ( |password|[InputCheckPasswordSRP](../types/InputCheckPasswordSRP.md) | You cannot use this method directly, use the complete_2fa_login method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->checkPassword(['password' => InputCheckPasswordSRP, ]); +$auth.Authorization = $MadelineProto->auth->checkPassword(['password' => InputCheckPasswordSRP, ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.checkPassword({password=InputCheckPasswordSRP, }) +auth.Authorization = auth.checkPassword({password=InputCheckPasswordSRP, }) ``` ### Errors diff --git a/old_docs/API_docs_v91/methods/auth.exportAuthorization.md b/old_docs/API_docs_v91/methods/auth.exportAuthorization.md index 72063a2b..41a1f87d 100644 --- a/old_docs/API_docs_v91/methods/auth.exportAuthorization.md +++ b/old_docs/API_docs_v91/methods/auth.exportAuthorization.md @@ -16,7 +16,7 @@ You cannot use this method directly, use $MadelineProto->exportAuthorization() i |dc\_id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| -### Return type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) +### Return type: [auth.ExportedAuthorization](../types/auth.ExportedAuthorization.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_ExportedAuthorization = $MadelineProto->auth->exportAuthorization(['dc_id' => int, ]); +$auth.ExportedAuthorization = $MadelineProto->auth->exportAuthorization(['dc_id' => int, ]); ``` Or, if you're into Lua: ```lua -auth_ExportedAuthorization = auth.exportAuthorization({dc_id=int, }) +auth.ExportedAuthorization = auth.exportAuthorization({dc_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v91/methods/auth.importAuthorization.md b/old_docs/API_docs_v91/methods/auth.importAuthorization.md index d9c13751..5257e0b0 100644 --- a/old_docs/API_docs_v91/methods/auth.importAuthorization.md +++ b/old_docs/API_docs_v91/methods/auth.importAuthorization.md @@ -17,7 +17,7 @@ You cannot use this method directly, use $MadelineProto->importAuthorization($au |bytes|[bytes](../types/bytes.md) | You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => 'bytes', ]); +$auth.Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.importAuthorization({id=int, bytes='bytes', }) +auth.Authorization = auth.importAuthorization({id=int, bytes='bytes', }) ``` ### Errors diff --git a/old_docs/API_docs_v91/methods/auth.importBotAuthorization.md b/old_docs/API_docs_v91/methods/auth.importBotAuthorization.md index 3161d6be..a4ea8027 100644 --- a/old_docs/API_docs_v91/methods/auth.importBotAuthorization.md +++ b/old_docs/API_docs_v91/methods/auth.importBotAuthorization.md @@ -18,7 +18,7 @@ You cannot use this method directly, use the botLogin method instead (see https: |bot\_auth\_token|[string](../types/string.md) | You cannot use this method directly, use the botLogin method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **YES** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->importBotAuthorization(['api_id' => int, 'api_hash' => 'string', 'bot_auth_token' => 'string', ]); +$auth.Authorization = $MadelineProto->auth->importBotAuthorization(['api_id' => int, 'api_hash' => 'string', 'bot_auth_token' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.importBotAuthorization({api_id=int, api_hash='string', bot_auth_token='string', }) +auth.Authorization = auth.importBotAuthorization({api_id=int, api_hash='string', bot_auth_token='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v91/methods/auth.recoverPassword.md b/old_docs/API_docs_v91/methods/auth.recoverPassword.md index f7cbf4a4..2e78444b 100644 --- a/old_docs/API_docs_v91/methods/auth.recoverPassword.md +++ b/old_docs/API_docs_v91/methods/auth.recoverPassword.md @@ -16,7 +16,7 @@ Reset the [2FA password](https://core.telegram.org/api/srp) using the recovery c |code|[string](../types/string.md) | Code received via email | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->recoverPassword(['code' => 'string', ]); +$auth.Authorization = $MadelineProto->auth->recoverPassword(['code' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.recoverPassword({code='string', }) +auth.Authorization = auth.recoverPassword({code='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v91/methods/auth.requestPasswordRecovery.md b/old_docs/API_docs_v91/methods/auth.requestPasswordRecovery.md index 5cd77936..ff1ecc02 100644 --- a/old_docs/API_docs_v91/methods/auth.requestPasswordRecovery.md +++ b/old_docs/API_docs_v91/methods/auth.requestPasswordRecovery.md @@ -11,7 +11,7 @@ Request recovery code of a [2FA password](https://core.telegram.org/api/srp), on -### Return type: [auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) +### Return type: [auth.PasswordRecovery](../types/auth.PasswordRecovery.md) ### Can bots use this method: **NO** @@ -28,13 +28,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_PasswordRecovery = $MadelineProto->auth->requestPasswordRecovery(); +$auth.PasswordRecovery = $MadelineProto->auth->requestPasswordRecovery(); ``` Or, if you're into Lua: ```lua -auth_PasswordRecovery = auth.requestPasswordRecovery({}) +auth.PasswordRecovery = auth.requestPasswordRecovery({}) ``` ### Errors diff --git a/old_docs/API_docs_v91/methods/auth.resendCode.md b/old_docs/API_docs_v91/methods/auth.resendCode.md index a395a91b..f59f1b7b 100644 --- a/old_docs/API_docs_v91/methods/auth.resendCode.md +++ b/old_docs/API_docs_v91/methods/auth.resendCode.md @@ -17,7 +17,7 @@ Resend the login code via another medium, the phone code type is determined by t |phone\_code\_hash|[string](../types/string.md) | The phone code hash obtained from [auth.sendCode](../methods/auth.sendCode.md) | Yes| -### Return type: [auth\_SentCode](../types/auth_SentCode.md) +### Return type: [auth.SentCode](../types/auth.SentCode.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_SentCode = $MadelineProto->auth->resendCode(['phone_number' => 'string', 'phone_code_hash' => 'string', ]); +$auth.SentCode = $MadelineProto->auth->resendCode(['phone_number' => 'string', 'phone_code_hash' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_SentCode = auth.resendCode({phone_number='string', phone_code_hash='string', }) +auth.SentCode = auth.resendCode({phone_number='string', phone_code_hash='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v91/methods/auth.sendCode.md b/old_docs/API_docs_v91/methods/auth.sendCode.md index bd922a48..0c818fbb 100644 --- a/old_docs/API_docs_v91/methods/auth.sendCode.md +++ b/old_docs/API_docs_v91/methods/auth.sendCode.md @@ -20,7 +20,7 @@ You cannot use this method directly, use the phoneLogin method instead (see http |api\_hash|[string](../types/string.md) | You cannot use this method directly, use the phoneLogin method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_SentCode](../types/auth_SentCode.md) +### Return type: [auth.SentCode](../types/auth.SentCode.md) ### Can bots use this method: **NO** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_SentCode = $MadelineProto->auth->sendCode(['allow_flashcall' => Bool, 'phone_number' => 'string', 'current_number' => Bool, 'api_id' => int, 'api_hash' => 'string', ]); +$auth.SentCode = $MadelineProto->auth->sendCode(['allow_flashcall' => Bool, 'phone_number' => 'string', 'current_number' => Bool, 'api_id' => int, 'api_hash' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_SentCode = auth.sendCode({allow_flashcall=Bool, phone_number='string', current_number=Bool, api_id=int, api_hash='string', }) +auth.SentCode = auth.sendCode({allow_flashcall=Bool, phone_number='string', current_number=Bool, api_id=int, api_hash='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v91/methods/auth.signIn.md b/old_docs/API_docs_v91/methods/auth.signIn.md index 54812a2e..95b14f32 100644 --- a/old_docs/API_docs_v91/methods/auth.signIn.md +++ b/old_docs/API_docs_v91/methods/auth.signIn.md @@ -18,7 +18,7 @@ You cannot use this method directly, use the completePhoneLogin method instead ( |phone\_code|[string](../types/string.md) | You cannot use this method directly, use the completePhoneLogin method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->signIn(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', ]); +$auth.Authorization = $MadelineProto->auth->signIn(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.signIn({phone_number='string', phone_code_hash='string', phone_code='string', }) +auth.Authorization = auth.signIn({phone_number='string', phone_code_hash='string', phone_code='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v91/methods/auth.signUp.md b/old_docs/API_docs_v91/methods/auth.signUp.md index 2aca2bfa..fdb5d628 100644 --- a/old_docs/API_docs_v91/methods/auth.signUp.md +++ b/old_docs/API_docs_v91/methods/auth.signUp.md @@ -20,7 +20,7 @@ You cannot use this method directly, use the completeSignup method instead (see |last\_name|[string](../types/string.md) | You cannot use this method directly, use the completeSignup method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **NO** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->signUp(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', 'first_name' => 'string', 'last_name' => 'string', ]); +$auth.Authorization = $MadelineProto->auth->signUp(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', 'first_name' => 'string', 'last_name' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.signUp({phone_number='string', phone_code_hash='string', phone_code='string', first_name='string', last_name='string', }) +auth.Authorization = auth.signUp({phone_number='string', phone_code_hash='string', phone_code='string', first_name='string', last_name='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v91/methods/channels.deleteMessages.md b/old_docs/API_docs_v91/methods/channels.deleteMessages.md index 10a439fb..8583e560 100644 --- a/old_docs/API_docs_v91/methods/channels.deleteMessages.md +++ b/old_docs/API_docs_v91/methods/channels.deleteMessages.md @@ -17,7 +17,7 @@ Delete messages in a [channel/supergroup](https://core.telegram.org/api/channel) |id|Array of [int](../types/int.md) | The IDs of messages to delete | Yes| -### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) +### Return type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedMessages = $MadelineProto->channels->deleteMessages(['channel' => InputChannel, 'id' => [int, int], ]); +$messages.AffectedMessages = $MadelineProto->channels->deleteMessages(['channel' => InputChannel, 'id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AffectedMessages = channels.deleteMessages({channel=InputChannel, id={int}, }) +messages.AffectedMessages = channels.deleteMessages({channel=InputChannel, id={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v91/methods/channels.deleteUserHistory.md b/old_docs/API_docs_v91/methods/channels.deleteUserHistory.md index 9b8b159f..6ccaf7dd 100644 --- a/old_docs/API_docs_v91/methods/channels.deleteUserHistory.md +++ b/old_docs/API_docs_v91/methods/channels.deleteUserHistory.md @@ -17,7 +17,7 @@ Delete all messages sent by a certain user in a [supergroup](https://core.telegr |user\_id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | User whose messages should be deleted | Optional| -### Return type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) +### Return type: [messages.AffectedHistory](../types/messages.AffectedHistory.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedHistory = $MadelineProto->channels->deleteUserHistory(['channel' => InputChannel, 'user_id' => InputUser, ]); +$messages.AffectedHistory = $MadelineProto->channels->deleteUserHistory(['channel' => InputChannel, 'user_id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -messages_AffectedHistory = channels.deleteUserHistory({channel=InputChannel, user_id=InputUser, }) +messages.AffectedHistory = channels.deleteUserHistory({channel=InputChannel, user_id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v91/methods/channels.getAdminLog.md b/old_docs/API_docs_v91/methods/channels.getAdminLog.md index e149f653..3b550a73 100644 --- a/old_docs/API_docs_v91/methods/channels.getAdminLog.md +++ b/old_docs/API_docs_v91/methods/channels.getAdminLog.md @@ -22,7 +22,7 @@ Get the admin log of a [channel/supergroup](https://core.telegram.org/api/channe |limit|[int](../types/int.md) | Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets) | Yes| -### Return type: [channels\_AdminLogResults](../types/channels_AdminLogResults.md) +### Return type: [channels.AdminLogResults](../types/channels.AdminLogResults.md) ### Can bots use this method: **NO** @@ -39,13 +39,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$channels_AdminLogResults = $MadelineProto->channels->getAdminLog(['channel' => InputChannel, 'q' => 'string', 'events_filter' => ChannelAdminLogEventsFilter, 'admins' => [InputUser, InputUser], 'max_id' => long, 'min_id' => long, 'limit' => int, ]); +$channels.AdminLogResults = $MadelineProto->channels->getAdminLog(['channel' => InputChannel, 'q' => 'string', 'events_filter' => ChannelAdminLogEventsFilter, 'admins' => [InputUser, InputUser], 'max_id' => long, 'min_id' => long, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -channels_AdminLogResults = channels.getAdminLog({channel=InputChannel, q='string', events_filter=ChannelAdminLogEventsFilter, admins={InputUser}, max_id=long, min_id=long, limit=int, }) +channels.AdminLogResults = channels.getAdminLog({channel=InputChannel, q='string', events_filter=ChannelAdminLogEventsFilter, admins={InputUser}, max_id=long, min_id=long, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v91/methods/channels.getAdminedPublicChannels.md b/old_docs/API_docs_v91/methods/channels.getAdminedPublicChannels.md index 55a686ca..eb277404 100644 --- a/old_docs/API_docs_v91/methods/channels.getAdminedPublicChannels.md +++ b/old_docs/API_docs_v91/methods/channels.getAdminedPublicChannels.md @@ -11,7 +11,7 @@ Get [channels/supergroups/geogroups](https://core.telegram.org/api/channel) we'r -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->channels->getAdminedPublicChannels(); +$messages.Chats = $MadelineProto->channels->getAdminedPublicChannels(); ``` Or, if you're into Lua: ```lua -messages_Chats = channels.getAdminedPublicChannels({}) +messages.Chats = channels.getAdminedPublicChannels({}) ``` diff --git a/old_docs/API_docs_v91/methods/channels.getChannels.md b/old_docs/API_docs_v91/methods/channels.getChannels.md index 368c96ce..ed9cf4a7 100644 --- a/old_docs/API_docs_v91/methods/channels.getChannels.md +++ b/old_docs/API_docs_v91/methods/channels.getChannels.md @@ -16,7 +16,7 @@ Get info about [channels/supergroups](https://core.telegram.org/api/channel) |id|Array of [Username, chat ID, Update, Message or InputChannel](../types/InputChannel.md) | The channel/supergroup MTProto IDs | Yes| -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->channels->getChannels(['id' => [InputChannel, InputChannel], ]); +$messages.Chats = $MadelineProto->channels->getChannels(['id' => [InputChannel, InputChannel], ]); ``` Or, if you're into Lua: ```lua -messages_Chats = channels.getChannels({id={InputChannel}, }) +messages.Chats = channels.getChannels({id={InputChannel}, }) ``` ### Errors diff --git a/old_docs/API_docs_v91/methods/channels.getFullChannel.md b/old_docs/API_docs_v91/methods/channels.getFullChannel.md index 08dc21bb..1369e0a0 100644 --- a/old_docs/API_docs_v91/methods/channels.getFullChannel.md +++ b/old_docs/API_docs_v91/methods/channels.getFullChannel.md @@ -16,7 +16,7 @@ You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo me |channel|[Username, chat ID, Update, Message or InputChannel](../types/InputChannel.md) | You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo methods instead (see https://docs.madelineproto.xyz for more info) | Optional| -### Return type: [messages\_ChatFull](../types/messages_ChatFull.md) +### Return type: [messages.ChatFull](../types/messages.ChatFull.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_ChatFull = $MadelineProto->channels->getFullChannel(['channel' => InputChannel, ]); +$messages.ChatFull = $MadelineProto->channels->getFullChannel(['channel' => InputChannel, ]); ``` Or, if you're into Lua: ```lua -messages_ChatFull = channels.getFullChannel({channel=InputChannel, }) +messages.ChatFull = channels.getFullChannel({channel=InputChannel, }) ``` ### Errors diff --git a/old_docs/API_docs_v91/methods/channels.getLeftChannels.md b/old_docs/API_docs_v91/methods/channels.getLeftChannels.md index a5bcda2c..5a132204 100644 --- a/old_docs/API_docs_v91/methods/channels.getLeftChannels.md +++ b/old_docs/API_docs_v91/methods/channels.getLeftChannels.md @@ -16,7 +16,7 @@ Get a list of [channels/supergroups](https://core.telegram.org/api/channel) we l |offset|[int](../types/int.md) | Offset for [pagination](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->channels->getLeftChannels(['offset' => int, ]); +$messages.Chats = $MadelineProto->channels->getLeftChannels(['offset' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Chats = channels.getLeftChannels({offset=int, }) +messages.Chats = channels.getLeftChannels({offset=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v91/methods/channels.getMessages.md b/old_docs/API_docs_v91/methods/channels.getMessages.md index 428734e3..708e404a 100644 --- a/old_docs/API_docs_v91/methods/channels.getMessages.md +++ b/old_docs/API_docs_v91/methods/channels.getMessages.md @@ -17,7 +17,7 @@ Get [channel/supergroup](https://core.telegram.org/api/channel) messages |id|Array of [Message ID or InputMessage](../types/InputMessage.md) | The message IDs | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->channels->getMessages(['channel' => InputChannel, 'id' => [InputMessage, InputMessage], ]); +$messages.Messages = $MadelineProto->channels->getMessages(['channel' => InputChannel, 'id' => [InputMessage, InputMessage], ]); ``` Or, if you're into Lua: ```lua -messages_Messages = channels.getMessages({channel=InputChannel, id={InputMessage}, }) +messages.Messages = channels.getMessages({channel=InputChannel, id={InputMessage}, }) ``` ### Errors diff --git a/old_docs/API_docs_v91/methods/channels.getParticipant.md b/old_docs/API_docs_v91/methods/channels.getParticipant.md index aa2ce655..cf6a7771 100644 --- a/old_docs/API_docs_v91/methods/channels.getParticipant.md +++ b/old_docs/API_docs_v91/methods/channels.getParticipant.md @@ -17,7 +17,7 @@ Get info about a [channel/supergroup](https://core.telegram.org/api/channel) par |user\_id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | ID of participant to get info about | Optional| -### Return type: [channels\_ChannelParticipant](../types/channels_ChannelParticipant.md) +### Return type: [channels.ChannelParticipant](../types/channels.ChannelParticipant.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$channels_ChannelParticipant = $MadelineProto->channels->getParticipant(['channel' => InputChannel, 'user_id' => InputUser, ]); +$channels.ChannelParticipant = $MadelineProto->channels->getParticipant(['channel' => InputChannel, 'user_id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -channels_ChannelParticipant = channels.getParticipant({channel=InputChannel, user_id=InputUser, }) +channels.ChannelParticipant = channels.getParticipant({channel=InputChannel, user_id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v91/methods/channels.getParticipants.md b/old_docs/API_docs_v91/methods/channels.getParticipants.md index dd7e0087..c6b15b63 100644 --- a/old_docs/API_docs_v91/methods/channels.getParticipants.md +++ b/old_docs/API_docs_v91/methods/channels.getParticipants.md @@ -20,7 +20,7 @@ Get the participants of a channel |hash|Array of [int](../types/int.md) | IDs of previously fetched participants | Optional| -### Return type: [channels\_ChannelParticipants](../types/channels_ChannelParticipants.md) +### Return type: [channels.ChannelParticipants](../types/channels.ChannelParticipants.md) ### Can bots use this method: **YES** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$channels_ChannelParticipants = $MadelineProto->channels->getParticipants(['channel' => InputChannel, 'filter' => ChannelParticipantsFilter, 'offset' => int, 'limit' => int, 'hash' => [int, int], ]); +$channels.ChannelParticipants = $MadelineProto->channels->getParticipants(['channel' => InputChannel, 'filter' => ChannelParticipantsFilter, 'offset' => int, 'limit' => int, 'hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -channels_ChannelParticipants = channels.getParticipants({channel=InputChannel, filter=ChannelParticipantsFilter, offset=int, limit=int, hash={int}, }) +channels.ChannelParticipants = channels.getParticipants({channel=InputChannel, filter=ChannelParticipantsFilter, offset=int, limit=int, hash={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v91/methods/contacts.deleteContact.md b/old_docs/API_docs_v91/methods/contacts.deleteContact.md index a9321d64..9169e1e0 100644 --- a/old_docs/API_docs_v91/methods/contacts.deleteContact.md +++ b/old_docs/API_docs_v91/methods/contacts.deleteContact.md @@ -16,7 +16,7 @@ Delete a contact |id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | The contact to delete | Optional| -### Return type: [contacts\_Link](../types/contacts_Link.md) +### Return type: [contacts.Link](../types/contacts.Link.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Link = $MadelineProto->contacts->deleteContact(['id' => InputUser, ]); +$contacts.Link = $MadelineProto->contacts->deleteContact(['id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -contacts_Link = contacts.deleteContact({id=InputUser, }) +contacts.Link = contacts.deleteContact({id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v91/methods/contacts.getBlocked.md b/old_docs/API_docs_v91/methods/contacts.getBlocked.md index 92f2f331..6ac1c343 100644 --- a/old_docs/API_docs_v91/methods/contacts.getBlocked.md +++ b/old_docs/API_docs_v91/methods/contacts.getBlocked.md @@ -17,7 +17,7 @@ Returns the list of blocked users. |limit|[int](../types/int.md) | The number of list elements to be returned | Yes| -### Return type: [contacts\_Blocked](../types/contacts_Blocked.md) +### Return type: [contacts.Blocked](../types/contacts.Blocked.md) ### Can bots use this method: **NO** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Blocked = $MadelineProto->contacts->getBlocked(['offset' => int, 'limit' => int, ]); +$contacts.Blocked = $MadelineProto->contacts->getBlocked(['offset' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -contacts_Blocked = contacts.getBlocked({offset=int, limit=int, }) +contacts.Blocked = contacts.getBlocked({offset=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v91/methods/contacts.getContacts.md b/old_docs/API_docs_v91/methods/contacts.getContacts.md index c67e6240..609549b0 100644 --- a/old_docs/API_docs_v91/methods/contacts.getContacts.md +++ b/old_docs/API_docs_v91/methods/contacts.getContacts.md @@ -16,7 +16,7 @@ Returns the current user's contact list. |hash|Array of [int](../types/int.md) | User IDs of previously cached contacts | Optional| -### Return type: [contacts\_Contacts](../types/contacts_Contacts.md) +### Return type: [contacts.Contacts](../types/contacts.Contacts.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Contacts = $MadelineProto->contacts->getContacts(['hash' => [int, int], ]); +$contacts.Contacts = $MadelineProto->contacts->getContacts(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -contacts_Contacts = contacts.getContacts({hash={int}, }) +contacts.Contacts = contacts.getContacts({hash={int}, }) ``` diff --git a/old_docs/API_docs_v91/methods/contacts.getTopPeers.md b/old_docs/API_docs_v91/methods/contacts.getTopPeers.md index 0acf7155..870de6b3 100644 --- a/old_docs/API_docs_v91/methods/contacts.getTopPeers.md +++ b/old_docs/API_docs_v91/methods/contacts.getTopPeers.md @@ -24,7 +24,7 @@ Get most used peers |hash|Array of [int](../types/int.md) | Peer IDs of previously cached peers | Optional| -### Return type: [contacts\_TopPeers](../types/contacts_TopPeers.md) +### Return type: [contacts.TopPeers](../types/contacts.TopPeers.md) ### Can bots use this method: **NO** @@ -41,13 +41,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_TopPeers = $MadelineProto->contacts->getTopPeers(['correspondents' => Bool, 'bots_pm' => Bool, 'bots_inline' => Bool, 'phone_calls' => Bool, 'groups' => Bool, 'channels' => Bool, 'offset' => int, 'limit' => int, 'hash' => [int, int], ]); +$contacts.TopPeers = $MadelineProto->contacts->getTopPeers(['correspondents' => Bool, 'bots_pm' => Bool, 'bots_inline' => Bool, 'phone_calls' => Bool, 'groups' => Bool, 'channels' => Bool, 'offset' => int, 'limit' => int, 'hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -contacts_TopPeers = contacts.getTopPeers({correspondents=Bool, bots_pm=Bool, bots_inline=Bool, phone_calls=Bool, groups=Bool, channels=Bool, offset=int, limit=int, hash={int}, }) +contacts.TopPeers = contacts.getTopPeers({correspondents=Bool, bots_pm=Bool, bots_inline=Bool, phone_calls=Bool, groups=Bool, channels=Bool, offset=int, limit=int, hash={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v91/methods/contacts.importContacts.md b/old_docs/API_docs_v91/methods/contacts.importContacts.md index 7c795780..dbb9b7fa 100644 --- a/old_docs/API_docs_v91/methods/contacts.importContacts.md +++ b/old_docs/API_docs_v91/methods/contacts.importContacts.md @@ -16,7 +16,7 @@ Imports contacts: saves a full list on the server, adds already registered conta |contacts|Array of [InputContact](../types/InputContact.md) | The numbers to import | Yes| -### Return type: [contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) +### Return type: [contacts.ImportedContacts](../types/contacts.ImportedContacts.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_ImportedContacts = $MadelineProto->contacts->importContacts(['contacts' => [InputContact, InputContact], ]); +$contacts.ImportedContacts = $MadelineProto->contacts->importContacts(['contacts' => [InputContact, InputContact], ]); ``` Or, if you're into Lua: ```lua -contacts_ImportedContacts = contacts.importContacts({contacts={InputContact}, }) +contacts.ImportedContacts = contacts.importContacts({contacts={InputContact}, }) ``` diff --git a/old_docs/API_docs_v91/methods/contacts.resolveUsername.md b/old_docs/API_docs_v91/methods/contacts.resolveUsername.md index 05e3d854..46f1eb50 100644 --- a/old_docs/API_docs_v91/methods/contacts.resolveUsername.md +++ b/old_docs/API_docs_v91/methods/contacts.resolveUsername.md @@ -16,7 +16,7 @@ You cannot use this method directly, use the resolveUsername, getPwrChat, getInf |username|[string](../types/string.md) | You cannot use this method directly, use the resolveUsername, getPwrChat, getInfo, getFullInfo methods instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [contacts\_ResolvedPeer](../types/contacts_ResolvedPeer.md) +### Return type: [contacts.ResolvedPeer](../types/contacts.ResolvedPeer.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_ResolvedPeer = $MadelineProto->contacts->resolveUsername(['username' => 'string', ]); +$contacts.ResolvedPeer = $MadelineProto->contacts->resolveUsername(['username' => 'string', ]); ``` Or, if you're into Lua: ```lua -contacts_ResolvedPeer = contacts.resolveUsername({username='string', }) +contacts.ResolvedPeer = contacts.resolveUsername({username='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v91/methods/contacts.search.md b/old_docs/API_docs_v91/methods/contacts.search.md index 2f39d6f1..ec04c7f9 100644 --- a/old_docs/API_docs_v91/methods/contacts.search.md +++ b/old_docs/API_docs_v91/methods/contacts.search.md @@ -17,7 +17,7 @@ Returns users found by username substring. |limit|[int](../types/int.md) | Maximum number of users to be returned | Yes| -### Return type: [contacts\_Found](../types/contacts_Found.md) +### Return type: [contacts.Found](../types/contacts.Found.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Found = $MadelineProto->contacts->search(['q' => 'string', 'limit' => int, ]); +$contacts.Found = $MadelineProto->contacts->search(['q' => 'string', 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -contacts_Found = contacts.search({q='string', limit=int, }) +contacts.Found = contacts.search({q='string', limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v91/methods/help.editUserInfo.md b/old_docs/API_docs_v91/methods/help.editUserInfo.md index 7d49e820..0dd21b80 100644 --- a/old_docs/API_docs_v91/methods/help.editUserInfo.md +++ b/old_docs/API_docs_v91/methods/help.editUserInfo.md @@ -19,7 +19,7 @@ Internal use |parse\_mode| [string](../types/string.md) | Whether to parse HTML or Markdown markup in the message| Optional | -### Return type: [help\_UserInfo](../types/help_UserInfo.md) +### Return type: [help.UserInfo](../types/help.UserInfo.md) ### Can bots use this method: **NO** @@ -36,19 +36,19 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_UserInfo = $MadelineProto->help->editUserInfo(['user_id' => InputUser, 'message' => 'string', 'entities' => [MessageEntity, MessageEntity], 'parse_mode' => 'string', ]); +$help.UserInfo = $MadelineProto->help->editUserInfo(['user_id' => InputUser, 'message' => 'string', 'entities' => [MessageEntity, MessageEntity], 'parse_mode' => 'string', ]); ``` Or, if you're into Lua: ```lua -help_UserInfo = help.editUserInfo({user_id=InputUser, message='string', entities={MessageEntity}, parseMode='string', }) +help.UserInfo = help.editUserInfo({user_id=InputUser, message='string', entities={MessageEntity}, parseMode='string', }) ``` ## Return value -If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [help\_UserInfo](../types/help_UserInfo.md) will be returned instead. +If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [help.UserInfo](../types/help.UserInfo.md) will be returned instead. diff --git a/old_docs/API_docs_v91/methods/help.getAppUpdate.md b/old_docs/API_docs_v91/methods/help.getAppUpdate.md index e744d727..2a81fa8f 100644 --- a/old_docs/API_docs_v91/methods/help.getAppUpdate.md +++ b/old_docs/API_docs_v91/methods/help.getAppUpdate.md @@ -16,7 +16,7 @@ Returns information on update availability for the current application. |source|[string](../types/string.md) | Source | Yes| -### Return type: [help\_AppUpdate](../types/help_AppUpdate.md) +### Return type: [help.AppUpdate](../types/help.AppUpdate.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_AppUpdate = $MadelineProto->help->getAppUpdate(['source' => 'string', ]); +$help.AppUpdate = $MadelineProto->help->getAppUpdate(['source' => 'string', ]); ``` Or, if you're into Lua: ```lua -help_AppUpdate = help.getAppUpdate({source='string', }) +help.AppUpdate = help.getAppUpdate({source='string', }) ``` diff --git a/old_docs/API_docs_v91/methods/help.getDeepLinkInfo.md b/old_docs/API_docs_v91/methods/help.getDeepLinkInfo.md index e3269bbc..e6e7d6b8 100644 --- a/old_docs/API_docs_v91/methods/help.getDeepLinkInfo.md +++ b/old_docs/API_docs_v91/methods/help.getDeepLinkInfo.md @@ -16,7 +16,7 @@ Get info about a `t.me` link |path|[string](../types/string.md) | Path in `t.me/path` | Yes| -### Return type: [help\_DeepLinkInfo](../types/help_DeepLinkInfo.md) +### Return type: [help.DeepLinkInfo](../types/help.DeepLinkInfo.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_DeepLinkInfo = $MadelineProto->help->getDeepLinkInfo(['path' => 'string', ]); +$help.DeepLinkInfo = $MadelineProto->help->getDeepLinkInfo(['path' => 'string', ]); ``` Or, if you're into Lua: ```lua -help_DeepLinkInfo = help.getDeepLinkInfo({path='string', }) +help.DeepLinkInfo = help.getDeepLinkInfo({path='string', }) ``` diff --git a/old_docs/API_docs_v91/methods/help.getInviteText.md b/old_docs/API_docs_v91/methods/help.getInviteText.md index 6fd67362..0d427974 100644 --- a/old_docs/API_docs_v91/methods/help.getInviteText.md +++ b/old_docs/API_docs_v91/methods/help.getInviteText.md @@ -11,7 +11,7 @@ Returns text of a text message with an invitation. -### Return type: [help\_InviteText](../types/help_InviteText.md) +### Return type: [help.InviteText](../types/help.InviteText.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_InviteText = $MadelineProto->help->getInviteText(); +$help.InviteText = $MadelineProto->help->getInviteText(); ``` Or, if you're into Lua: ```lua -help_InviteText = help.getInviteText({}) +help.InviteText = help.getInviteText({}) ``` diff --git a/old_docs/API_docs_v91/methods/help.getPassportConfig.md b/old_docs/API_docs_v91/methods/help.getPassportConfig.md index 3710737d..f71e67b2 100644 --- a/old_docs/API_docs_v91/methods/help.getPassportConfig.md +++ b/old_docs/API_docs_v91/methods/help.getPassportConfig.md @@ -16,7 +16,7 @@ Get [passport](https://core.telegram.org/passport) configuration |hash|Array of [int](../types/int.md) | Hash | Optional| -### Return type: [help\_PassportConfig](../types/help_PassportConfig.md) +### Return type: [help.PassportConfig](../types/help.PassportConfig.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_PassportConfig = $MadelineProto->help->getPassportConfig(['hash' => [int, int], ]); +$help.PassportConfig = $MadelineProto->help->getPassportConfig(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -help_PassportConfig = help.getPassportConfig({hash={int}, }) +help.PassportConfig = help.getPassportConfig({hash={int}, }) ``` diff --git a/old_docs/API_docs_v91/methods/help.getProxyData.md b/old_docs/API_docs_v91/methods/help.getProxyData.md index bbaf4c53..9a0aaa9a 100644 --- a/old_docs/API_docs_v91/methods/help.getProxyData.md +++ b/old_docs/API_docs_v91/methods/help.getProxyData.md @@ -11,7 +11,7 @@ Get promotion info of the currently-used MTProxy -### Return type: [help\_ProxyData](../types/help_ProxyData.md) +### Return type: [help.ProxyData](../types/help.ProxyData.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_ProxyData = $MadelineProto->help->getProxyData(); +$help.ProxyData = $MadelineProto->help->getProxyData(); ``` Or, if you're into Lua: ```lua -help_ProxyData = help.getProxyData({}) +help.ProxyData = help.getProxyData({}) ``` diff --git a/old_docs/API_docs_v91/methods/help.getRecentMeUrls.md b/old_docs/API_docs_v91/methods/help.getRecentMeUrls.md index 38cc44c8..a5ab9e06 100644 --- a/old_docs/API_docs_v91/methods/help.getRecentMeUrls.md +++ b/old_docs/API_docs_v91/methods/help.getRecentMeUrls.md @@ -16,7 +16,7 @@ Get recently used `t.me` links |referer|[string](../types/string.md) | Referer | Yes| -### Return type: [help\_RecentMeUrls](../types/help_RecentMeUrls.md) +### Return type: [help.RecentMeUrls](../types/help.RecentMeUrls.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_RecentMeUrls = $MadelineProto->help->getRecentMeUrls(['referer' => 'string', ]); +$help.RecentMeUrls = $MadelineProto->help->getRecentMeUrls(['referer' => 'string', ]); ``` Or, if you're into Lua: ```lua -help_RecentMeUrls = help.getRecentMeUrls({referer='string', }) +help.RecentMeUrls = help.getRecentMeUrls({referer='string', }) ``` diff --git a/old_docs/API_docs_v91/methods/help.getSupport.md b/old_docs/API_docs_v91/methods/help.getSupport.md index 7a577892..8a8df916 100644 --- a/old_docs/API_docs_v91/methods/help.getSupport.md +++ b/old_docs/API_docs_v91/methods/help.getSupport.md @@ -11,7 +11,7 @@ Returns the support user for the 'ask a question' feature. -### Return type: [help\_Support](../types/help_Support.md) +### Return type: [help.Support](../types/help.Support.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_Support = $MadelineProto->help->getSupport(); +$help.Support = $MadelineProto->help->getSupport(); ``` Or, if you're into Lua: ```lua -help_Support = help.getSupport({}) +help.Support = help.getSupport({}) ``` diff --git a/old_docs/API_docs_v91/methods/help.getSupportName.md b/old_docs/API_docs_v91/methods/help.getSupportName.md index d2b1c93c..fbf9ef52 100644 --- a/old_docs/API_docs_v91/methods/help.getSupportName.md +++ b/old_docs/API_docs_v91/methods/help.getSupportName.md @@ -11,7 +11,7 @@ Get localized name of the telegram support user -### Return type: [help\_SupportName](../types/help_SupportName.md) +### Return type: [help.SupportName](../types/help.SupportName.md) ### Can bots use this method: **NO** @@ -28,13 +28,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_SupportName = $MadelineProto->help->getSupportName(); +$help.SupportName = $MadelineProto->help->getSupportName(); ``` Or, if you're into Lua: ```lua -help_SupportName = help.getSupportName({}) +help.SupportName = help.getSupportName({}) ``` ### Errors diff --git a/old_docs/API_docs_v91/methods/help.getTermsOfServiceUpdate.md b/old_docs/API_docs_v91/methods/help.getTermsOfServiceUpdate.md index 7a8ebd65..636a054b 100644 --- a/old_docs/API_docs_v91/methods/help.getTermsOfServiceUpdate.md +++ b/old_docs/API_docs_v91/methods/help.getTermsOfServiceUpdate.md @@ -11,7 +11,7 @@ Look for updates of telegram's terms of service -### Return type: [help\_TermsOfServiceUpdate](../types/help_TermsOfServiceUpdate.md) +### Return type: [help.TermsOfServiceUpdate](../types/help.TermsOfServiceUpdate.md) ### Can bots use this method: **NO** @@ -28,13 +28,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_TermsOfServiceUpdate = $MadelineProto->help->getTermsOfServiceUpdate(); +$help.TermsOfServiceUpdate = $MadelineProto->help->getTermsOfServiceUpdate(); ``` Or, if you're into Lua: ```lua -help_TermsOfServiceUpdate = help.getTermsOfServiceUpdate({}) +help.TermsOfServiceUpdate = help.getTermsOfServiceUpdate({}) ``` ### Errors diff --git a/old_docs/API_docs_v91/methods/help.getUserInfo.md b/old_docs/API_docs_v91/methods/help.getUserInfo.md index 353429d6..27b65cf7 100644 --- a/old_docs/API_docs_v91/methods/help.getUserInfo.md +++ b/old_docs/API_docs_v91/methods/help.getUserInfo.md @@ -16,7 +16,7 @@ Internal use |user\_id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | User ID | Optional| -### Return type: [help\_UserInfo](../types/help_UserInfo.md) +### Return type: [help.UserInfo](../types/help.UserInfo.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_UserInfo = $MadelineProto->help->getUserInfo(['user_id' => InputUser, ]); +$help.UserInfo = $MadelineProto->help->getUserInfo(['user_id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -help_UserInfo = help.getUserInfo({user_id=InputUser, }) +help.UserInfo = help.getUserInfo({user_id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v91/methods/messages.deleteHistory.md b/old_docs/API_docs_v91/methods/messages.deleteHistory.md index 9ae1bae9..41460415 100644 --- a/old_docs/API_docs_v91/methods/messages.deleteHistory.md +++ b/old_docs/API_docs_v91/methods/messages.deleteHistory.md @@ -18,7 +18,7 @@ Deletes communication history. |max\_id|[int](../types/int.md) | Maximum ID of message to delete | Yes| -### Return type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) +### Return type: [messages.AffectedHistory](../types/messages.AffectedHistory.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedHistory = $MadelineProto->messages->deleteHistory(['just_clear' => Bool, 'peer' => InputPeer, 'max_id' => int, ]); +$messages.AffectedHistory = $MadelineProto->messages->deleteHistory(['just_clear' => Bool, 'peer' => InputPeer, 'max_id' => int, ]); ``` Or, if you're into Lua: ```lua -messages_AffectedHistory = messages.deleteHistory({just_clear=Bool, peer=InputPeer, max_id=int, }) +messages.AffectedHistory = messages.deleteHistory({just_clear=Bool, peer=InputPeer, max_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v91/methods/messages.deleteMessages.md b/old_docs/API_docs_v91/methods/messages.deleteMessages.md index ade04cae..ade96e60 100644 --- a/old_docs/API_docs_v91/methods/messages.deleteMessages.md +++ b/old_docs/API_docs_v91/methods/messages.deleteMessages.md @@ -17,7 +17,7 @@ Deletes messages by their identifiers. |id|Array of [int](../types/int.md) | IDs of messages to delete, use channels->deleteMessages for supergroups | Yes| -### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) +### Return type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedMessages = $MadelineProto->messages->deleteMessages(['revoke' => Bool, 'id' => [int, int], ]); +$messages.AffectedMessages = $MadelineProto->messages->deleteMessages(['revoke' => Bool, 'id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AffectedMessages = messages.deleteMessages({revoke=Bool, id={int}, }) +messages.AffectedMessages = messages.deleteMessages({revoke=Bool, id={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v91/methods/messages.getAllChats.md b/old_docs/API_docs_v91/methods/messages.getAllChats.md index cdcc5430..97cc4817 100644 --- a/old_docs/API_docs_v91/methods/messages.getAllChats.md +++ b/old_docs/API_docs_v91/methods/messages.getAllChats.md @@ -16,7 +16,7 @@ Get all chats, channels and supergroups |except\_ids|Array of [int](../types/int.md) | Do not fetch these chats (MTProto id) | Yes| -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->messages->getAllChats(['except_ids' => [int, int], ]); +$messages.Chats = $MadelineProto->messages->getAllChats(['except_ids' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Chats = messages.getAllChats({except_ids={int}, }) +messages.Chats = messages.getAllChats({except_ids={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v91/methods/messages.getAllStickers.md b/old_docs/API_docs_v91/methods/messages.getAllStickers.md index 329b70be..0f0de7f1 100644 --- a/old_docs/API_docs_v91/methods/messages.getAllStickers.md +++ b/old_docs/API_docs_v91/methods/messages.getAllStickers.md @@ -16,7 +16,7 @@ Get all installed stickers |hash|Array of [int](../types/int.md) | The hash parameter of the previous result of this method | Optional| -### Return type: [messages\_AllStickers](../types/messages_AllStickers.md) +### Return type: [messages.AllStickers](../types/messages.AllStickers.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AllStickers = $MadelineProto->messages->getAllStickers(['hash' => [int, int], ]); +$messages.AllStickers = $MadelineProto->messages->getAllStickers(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AllStickers = messages.getAllStickers({hash={int}, }) +messages.AllStickers = messages.getAllStickers({hash={int}, }) ``` diff --git a/old_docs/API_docs_v91/methods/messages.getArchivedStickers.md b/old_docs/API_docs_v91/methods/messages.getArchivedStickers.md index d3abe9fc..c108376e 100644 --- a/old_docs/API_docs_v91/methods/messages.getArchivedStickers.md +++ b/old_docs/API_docs_v91/methods/messages.getArchivedStickers.md @@ -18,7 +18,7 @@ Get all archived stickers |limit|[int](../types/int.md) | Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_ArchivedStickers](../types/messages_ArchivedStickers.md) +### Return type: [messages.ArchivedStickers](../types/messages.ArchivedStickers.md) ### Can bots use this method: **NO** @@ -35,12 +35,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_ArchivedStickers = $MadelineProto->messages->getArchivedStickers(['masks' => Bool, 'offset_id' => long, 'limit' => int, ]); +$messages.ArchivedStickers = $MadelineProto->messages->getArchivedStickers(['masks' => Bool, 'offset_id' => long, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -messages_ArchivedStickers = messages.getArchivedStickers({masks=Bool, offset_id=long, limit=int, }) +messages.ArchivedStickers = messages.getArchivedStickers({masks=Bool, offset_id=long, limit=int, }) ``` diff --git a/old_docs/API_docs_v91/methods/messages.getBotCallbackAnswer.md b/old_docs/API_docs_v91/methods/messages.getBotCallbackAnswer.md index 015fc46b..10072386 100644 --- a/old_docs/API_docs_v91/methods/messages.getBotCallbackAnswer.md +++ b/old_docs/API_docs_v91/methods/messages.getBotCallbackAnswer.md @@ -19,7 +19,7 @@ Press an inline callback button and get a callback answer from the bot |data|[bytes](../types/bytes.md) | Callback data | Optional| -### Return type: [messages\_BotCallbackAnswer](../types/messages_BotCallbackAnswer.md) +### Return type: [messages.BotCallbackAnswer](../types/messages.BotCallbackAnswer.md) ### Can bots use this method: **NO** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_BotCallbackAnswer = $MadelineProto->messages->getBotCallbackAnswer(['game' => Bool, 'peer' => InputPeer, 'msg_id' => int, 'data' => 'bytes', ]); +$messages.BotCallbackAnswer = $MadelineProto->messages->getBotCallbackAnswer(['game' => Bool, 'peer' => InputPeer, 'msg_id' => int, 'data' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -messages_BotCallbackAnswer = messages.getBotCallbackAnswer({game=Bool, peer=InputPeer, msg_id=int, data='bytes', }) +messages.BotCallbackAnswer = messages.getBotCallbackAnswer({game=Bool, peer=InputPeer, msg_id=int, data='bytes', }) ``` ### Errors diff --git a/old_docs/API_docs_v91/methods/messages.getChats.md b/old_docs/API_docs_v91/methods/messages.getChats.md index c34b0488..146341f5 100644 --- a/old_docs/API_docs_v91/methods/messages.getChats.md +++ b/old_docs/API_docs_v91/methods/messages.getChats.md @@ -16,7 +16,7 @@ Returns chat basic info on their IDs. |id|Array of [int](../types/int.md) | The MTProto IDs of chats to fetch info about | Yes| -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->messages->getChats(['id' => [int, int], ]); +$messages.Chats = $MadelineProto->messages->getChats(['id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Chats = messages.getChats({id={int}, }) +messages.Chats = messages.getChats({id={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v91/methods/messages.getCommonChats.md b/old_docs/API_docs_v91/methods/messages.getCommonChats.md index fc7b2363..56a3ec01 100644 --- a/old_docs/API_docs_v91/methods/messages.getCommonChats.md +++ b/old_docs/API_docs_v91/methods/messages.getCommonChats.md @@ -18,7 +18,7 @@ Get chats in common with a user |limit|[int](../types/int.md) | Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->messages->getCommonChats(['user_id' => InputUser, 'max_id' => int, 'limit' => int, ]); +$messages.Chats = $MadelineProto->messages->getCommonChats(['user_id' => InputUser, 'max_id' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Chats = messages.getCommonChats({user_id=InputUser, max_id=int, limit=int, }) +messages.Chats = messages.getCommonChats({user_id=InputUser, max_id=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v91/methods/messages.getDhConfig.md b/old_docs/API_docs_v91/methods/messages.getDhConfig.md index 88ea4ab3..7b9da566 100644 --- a/old_docs/API_docs_v91/methods/messages.getDhConfig.md +++ b/old_docs/API_docs_v91/methods/messages.getDhConfig.md @@ -17,7 +17,7 @@ You cannot use this method directly, instead use $MadelineProto->getDhConfig(); |random\_length|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->getDhConfig(); | Yes| -### Return type: [messages\_DhConfig](../types/messages_DhConfig.md) +### Return type: [messages.DhConfig](../types/messages.DhConfig.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_DhConfig = $MadelineProto->messages->getDhConfig(['version' => int, 'random_length' => int, ]); +$messages.DhConfig = $MadelineProto->messages->getDhConfig(['version' => int, 'random_length' => int, ]); ``` Or, if you're into Lua: ```lua -messages_DhConfig = messages.getDhConfig({version=int, random_length=int, }) +messages.DhConfig = messages.getDhConfig({version=int, random_length=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v91/methods/messages.getDialogs.md b/old_docs/API_docs_v91/methods/messages.getDialogs.md index 9871d8e6..7ceff940 100644 --- a/old_docs/API_docs_v91/methods/messages.getDialogs.md +++ b/old_docs/API_docs_v91/methods/messages.getDialogs.md @@ -21,7 +21,7 @@ Returns the current user dialog list. |hash|Array of [int](../types/int.md) | IDs of previously fetched dialogs | Optional| -### Return type: [messages\_Dialogs](../types/messages_Dialogs.md) +### Return type: [messages.Dialogs](../types/messages.Dialogs.md) ### Can bots use this method: **NO** @@ -38,13 +38,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Dialogs = $MadelineProto->messages->getDialogs(['exclude_pinned' => Bool, 'offset_date' => int, 'offset_id' => int, 'offset_peer' => InputPeer, 'limit' => int, 'hash' => [int, int], ]); +$messages.Dialogs = $MadelineProto->messages->getDialogs(['exclude_pinned' => Bool, 'offset_date' => int, 'offset_id' => int, 'offset_peer' => InputPeer, 'limit' => int, 'hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Dialogs = messages.getDialogs({exclude_pinned=Bool, offset_date=int, offset_id=int, offset_peer=InputPeer, limit=int, hash={int}, }) +messages.Dialogs = messages.getDialogs({exclude_pinned=Bool, offset_date=int, offset_id=int, offset_peer=InputPeer, limit=int, hash={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v91/methods/messages.getFavedStickers.md b/old_docs/API_docs_v91/methods/messages.getFavedStickers.md index 3ba077ef..19f64e43 100644 --- a/old_docs/API_docs_v91/methods/messages.getFavedStickers.md +++ b/old_docs/API_docs_v91/methods/messages.getFavedStickers.md @@ -16,7 +16,7 @@ Get faved stickers |hash|Array of [int](../types/int.md) | the hash parameter of the previous result of this method | Optional| -### Return type: [messages\_FavedStickers](../types/messages_FavedStickers.md) +### Return type: [messages.FavedStickers](../types/messages.FavedStickers.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_FavedStickers = $MadelineProto->messages->getFavedStickers(['hash' => [int, int], ]); +$messages.FavedStickers = $MadelineProto->messages->getFavedStickers(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_FavedStickers = messages.getFavedStickers({hash={int}, }) +messages.FavedStickers = messages.getFavedStickers({hash={int}, }) ``` diff --git a/old_docs/API_docs_v91/methods/messages.getFeaturedStickers.md b/old_docs/API_docs_v91/methods/messages.getFeaturedStickers.md index 8f2634c3..2d65d626 100644 --- a/old_docs/API_docs_v91/methods/messages.getFeaturedStickers.md +++ b/old_docs/API_docs_v91/methods/messages.getFeaturedStickers.md @@ -16,7 +16,7 @@ Get featured stickers |hash|Array of [int](../types/int.md) | the hash parameter of the previous result of this method | Optional| -### Return type: [messages\_FeaturedStickers](../types/messages_FeaturedStickers.md) +### Return type: [messages.FeaturedStickers](../types/messages.FeaturedStickers.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_FeaturedStickers = $MadelineProto->messages->getFeaturedStickers(['hash' => [int, int], ]); +$messages.FeaturedStickers = $MadelineProto->messages->getFeaturedStickers(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_FeaturedStickers = messages.getFeaturedStickers({hash={int}, }) +messages.FeaturedStickers = messages.getFeaturedStickers({hash={int}, }) ``` diff --git a/old_docs/API_docs_v91/methods/messages.getFullChat.md b/old_docs/API_docs_v91/methods/messages.getFullChat.md index abf23e21..de543651 100644 --- a/old_docs/API_docs_v91/methods/messages.getFullChat.md +++ b/old_docs/API_docs_v91/methods/messages.getFullChat.md @@ -16,7 +16,7 @@ You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo me |chat\_id|[Username, chat ID, Update, Message or InputPeer](../types/InputPeer.md) | You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo methods instead (see https://docs.madelineproto.xyz for more info) | Optional| -### Return type: [messages\_ChatFull](../types/messages_ChatFull.md) +### Return type: [messages.ChatFull](../types/messages.ChatFull.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_ChatFull = $MadelineProto->messages->getFullChat(['chat_id' => InputPeer, ]); +$messages.ChatFull = $MadelineProto->messages->getFullChat(['chat_id' => InputPeer, ]); ``` Or, if you're into Lua: ```lua -messages_ChatFull = messages.getFullChat({chat_id=InputPeer, }) +messages.ChatFull = messages.getFullChat({chat_id=InputPeer, }) ``` ### Errors diff --git a/old_docs/API_docs_v91/methods/messages.getGameHighScores.md b/old_docs/API_docs_v91/methods/messages.getGameHighScores.md index 0ee9d754..6e4dacb2 100644 --- a/old_docs/API_docs_v91/methods/messages.getGameHighScores.md +++ b/old_docs/API_docs_v91/methods/messages.getGameHighScores.md @@ -18,7 +18,7 @@ Get highscores of a game |user\_id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | Get high scores made by a certain user | Optional| -### Return type: [messages\_HighScores](../types/messages_HighScores.md) +### Return type: [messages.HighScores](../types/messages.HighScores.md) ### Can bots use this method: **YES** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_HighScores = $MadelineProto->messages->getGameHighScores(['peer' => InputPeer, 'id' => int, 'user_id' => InputUser, ]); +$messages.HighScores = $MadelineProto->messages->getGameHighScores(['peer' => InputPeer, 'id' => int, 'user_id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -messages_HighScores = messages.getGameHighScores({peer=InputPeer, id=int, user_id=InputUser, }) +messages.HighScores = messages.getGameHighScores({peer=InputPeer, id=int, user_id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v91/methods/messages.getHistory.md b/old_docs/API_docs_v91/methods/messages.getHistory.md index 9a3d5f8c..c7bd9850 100644 --- a/old_docs/API_docs_v91/methods/messages.getHistory.md +++ b/old_docs/API_docs_v91/methods/messages.getHistory.md @@ -23,7 +23,7 @@ Gets back the conversation history with one interlocutor / within a chat |hash|Array of [int](../types/int.md) | IDs of messages you already fetched | Optional| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **NO** @@ -40,13 +40,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->getHistory(['peer' => InputPeer, 'offset_id' => int, 'offset_date' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, 'hash' => [int, int], ]); +$messages.Messages = $MadelineProto->messages->getHistory(['peer' => InputPeer, 'offset_id' => int, 'offset_date' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, 'hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.getHistory({peer=InputPeer, offset_id=int, offset_date=int, add_offset=int, limit=int, max_id=int, min_id=int, hash={int}, }) +messages.Messages = messages.getHistory({peer=InputPeer, offset_id=int, offset_date=int, add_offset=int, limit=int, max_id=int, min_id=int, hash={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v91/methods/messages.getInlineBotResults.md b/old_docs/API_docs_v91/methods/messages.getInlineBotResults.md index ac251797..8a397236 100644 --- a/old_docs/API_docs_v91/methods/messages.getInlineBotResults.md +++ b/old_docs/API_docs_v91/methods/messages.getInlineBotResults.md @@ -20,7 +20,7 @@ Query an inline bot |offset|[string](../types/string.md) | The offset within the results, will be passed directly as-is to the bot. | Yes| -### Return type: [messages\_BotResults](../types/messages_BotResults.md) +### Return type: [messages.BotResults](../types/messages.BotResults.md) ### Can bots use this method: **NO** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_BotResults = $MadelineProto->messages->getInlineBotResults(['bot' => InputUser, 'peer' => InputPeer, 'geo_point' => InputGeoPoint, 'query' => 'string', 'offset' => 'string', ]); +$messages.BotResults = $MadelineProto->messages->getInlineBotResults(['bot' => InputUser, 'peer' => InputPeer, 'geo_point' => InputGeoPoint, 'query' => 'string', 'offset' => 'string', ]); ``` Or, if you're into Lua: ```lua -messages_BotResults = messages.getInlineBotResults({bot=InputUser, peer=InputPeer, geo_point=InputGeoPoint, query='string', offset='string', }) +messages.BotResults = messages.getInlineBotResults({bot=InputUser, peer=InputPeer, geo_point=InputGeoPoint, query='string', offset='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v91/methods/messages.getInlineGameHighScores.md b/old_docs/API_docs_v91/methods/messages.getInlineGameHighScores.md index 0d02b426..dbcb2cf6 100644 --- a/old_docs/API_docs_v91/methods/messages.getInlineGameHighScores.md +++ b/old_docs/API_docs_v91/methods/messages.getInlineGameHighScores.md @@ -17,7 +17,7 @@ Get highscores of a game sent using an inline bot |user\_id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | Get high scores of a certain user | Optional| -### Return type: [messages\_HighScores](../types/messages_HighScores.md) +### Return type: [messages.HighScores](../types/messages.HighScores.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_HighScores = $MadelineProto->messages->getInlineGameHighScores(['id' => InputBotInlineMessageID, 'user_id' => InputUser, ]); +$messages.HighScores = $MadelineProto->messages->getInlineGameHighScores(['id' => InputBotInlineMessageID, 'user_id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -messages_HighScores = messages.getInlineGameHighScores({id=InputBotInlineMessageID, user_id=InputUser, }) +messages.HighScores = messages.getInlineGameHighScores({id=InputBotInlineMessageID, user_id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v91/methods/messages.getMaskStickers.md b/old_docs/API_docs_v91/methods/messages.getMaskStickers.md index a09834e1..093645f6 100644 --- a/old_docs/API_docs_v91/methods/messages.getMaskStickers.md +++ b/old_docs/API_docs_v91/methods/messages.getMaskStickers.md @@ -16,7 +16,7 @@ Get installed mask stickers |hash|Array of [int](../types/int.md) | the hash parameter of the previous result of this method | Optional| -### Return type: [messages\_AllStickers](../types/messages_AllStickers.md) +### Return type: [messages.AllStickers](../types/messages.AllStickers.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AllStickers = $MadelineProto->messages->getMaskStickers(['hash' => [int, int], ]); +$messages.AllStickers = $MadelineProto->messages->getMaskStickers(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AllStickers = messages.getMaskStickers({hash={int}, }) +messages.AllStickers = messages.getMaskStickers({hash={int}, }) ``` diff --git a/old_docs/API_docs_v91/methods/messages.getMessageEditData.md b/old_docs/API_docs_v91/methods/messages.getMessageEditData.md index 1a083f08..7fd32e82 100644 --- a/old_docs/API_docs_v91/methods/messages.getMessageEditData.md +++ b/old_docs/API_docs_v91/methods/messages.getMessageEditData.md @@ -17,7 +17,7 @@ Find out if a media message's caption can be edited |id|[int](../types/int.md) | ID of message | Yes| -### Return type: [messages\_MessageEditData](../types/messages_MessageEditData.md) +### Return type: [messages.MessageEditData](../types/messages.MessageEditData.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_MessageEditData = $MadelineProto->messages->getMessageEditData(['peer' => InputPeer, 'id' => int, ]); +$messages.MessageEditData = $MadelineProto->messages->getMessageEditData(['peer' => InputPeer, 'id' => int, ]); ``` Or, if you're into Lua: ```lua -messages_MessageEditData = messages.getMessageEditData({peer=InputPeer, id=int, }) +messages.MessageEditData = messages.getMessageEditData({peer=InputPeer, id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v91/methods/messages.getMessages.md b/old_docs/API_docs_v91/methods/messages.getMessages.md index eb5ef6a6..0aed788d 100644 --- a/old_docs/API_docs_v91/methods/messages.getMessages.md +++ b/old_docs/API_docs_v91/methods/messages.getMessages.md @@ -16,7 +16,7 @@ Returns the list of messages by their IDs. |id|Array of [Message ID or InputMessage](../types/InputMessage.md) | The IDs of messages to fetch (only for users and normal groups) | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **YES** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->getMessages(['id' => [InputMessage, InputMessage], ]); +$messages.Messages = $MadelineProto->messages->getMessages(['id' => [InputMessage, InputMessage], ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.getMessages({id={InputMessage}, }) +messages.Messages = messages.getMessages({id={InputMessage}, }) ``` diff --git a/old_docs/API_docs_v91/methods/messages.getPeerDialogs.md b/old_docs/API_docs_v91/methods/messages.getPeerDialogs.md index 2ab5d661..1ec67e6a 100644 --- a/old_docs/API_docs_v91/methods/messages.getPeerDialogs.md +++ b/old_docs/API_docs_v91/methods/messages.getPeerDialogs.md @@ -16,7 +16,7 @@ Get dialog info of specified peers |peers|Array of [Username, chat ID, Update, Message or InputDialogPeer](../types/InputDialogPeer.md) | The peers | Yes| -### Return type: [messages\_PeerDialogs](../types/messages_PeerDialogs.md) +### Return type: [messages.PeerDialogs](../types/messages.PeerDialogs.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_PeerDialogs = $MadelineProto->messages->getPeerDialogs(['peers' => [InputDialogPeer, InputDialogPeer], ]); +$messages.PeerDialogs = $MadelineProto->messages->getPeerDialogs(['peers' => [InputDialogPeer, InputDialogPeer], ]); ``` Or, if you're into Lua: ```lua -messages_PeerDialogs = messages.getPeerDialogs({peers={InputDialogPeer}, }) +messages.PeerDialogs = messages.getPeerDialogs({peers={InputDialogPeer}, }) ``` ### Errors diff --git a/old_docs/API_docs_v91/methods/messages.getPinnedDialogs.md b/old_docs/API_docs_v91/methods/messages.getPinnedDialogs.md index f106098d..161075f2 100644 --- a/old_docs/API_docs_v91/methods/messages.getPinnedDialogs.md +++ b/old_docs/API_docs_v91/methods/messages.getPinnedDialogs.md @@ -11,7 +11,7 @@ Get pinned dialogs -### Return type: [messages\_PeerDialogs](../types/messages_PeerDialogs.md) +### Return type: [messages.PeerDialogs](../types/messages.PeerDialogs.md) ### Can bots use this method: **NO** @@ -28,13 +28,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_PeerDialogs = $MadelineProto->messages->getPinnedDialogs(); +$messages.PeerDialogs = $MadelineProto->messages->getPinnedDialogs(); ``` Or, if you're into Lua: ```lua -messages_PeerDialogs = messages.getPinnedDialogs({}) +messages.PeerDialogs = messages.getPinnedDialogs({}) ``` ### Errors diff --git a/old_docs/API_docs_v91/methods/messages.getRecentLocations.md b/old_docs/API_docs_v91/methods/messages.getRecentLocations.md index 40ec1285..4efeb49c 100644 --- a/old_docs/API_docs_v91/methods/messages.getRecentLocations.md +++ b/old_docs/API_docs_v91/methods/messages.getRecentLocations.md @@ -18,7 +18,7 @@ Get live location history of a certain user |hash|Array of [int](../types/int.md) | IDs of locations you already fetched | Optional| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **NO** @@ -35,12 +35,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->getRecentLocations(['peer' => InputPeer, 'limit' => int, 'hash' => [int, int], ]); +$messages.Messages = $MadelineProto->messages->getRecentLocations(['peer' => InputPeer, 'limit' => int, 'hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.getRecentLocations({peer=InputPeer, limit=int, hash={int}, }) +messages.Messages = messages.getRecentLocations({peer=InputPeer, limit=int, hash={int}, }) ``` diff --git a/old_docs/API_docs_v91/methods/messages.getRecentStickers.md b/old_docs/API_docs_v91/methods/messages.getRecentStickers.md index 28a70889..39cef16a 100644 --- a/old_docs/API_docs_v91/methods/messages.getRecentStickers.md +++ b/old_docs/API_docs_v91/methods/messages.getRecentStickers.md @@ -17,7 +17,7 @@ Get recent stickers |hash|Array of [int](../types/int.md) | IDs the hash parameter of the previous result of this method | Optional| -### Return type: [messages\_RecentStickers](../types/messages_RecentStickers.md) +### Return type: [messages.RecentStickers](../types/messages.RecentStickers.md) ### Can bots use this method: **NO** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_RecentStickers = $MadelineProto->messages->getRecentStickers(['attached' => Bool, 'hash' => [int, int], ]); +$messages.RecentStickers = $MadelineProto->messages->getRecentStickers(['attached' => Bool, 'hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_RecentStickers = messages.getRecentStickers({attached=Bool, hash={int}, }) +messages.RecentStickers = messages.getRecentStickers({attached=Bool, hash={int}, }) ``` diff --git a/old_docs/API_docs_v91/methods/messages.getSavedGifs.md b/old_docs/API_docs_v91/methods/messages.getSavedGifs.md index 1df7f37c..8b31f7b8 100644 --- a/old_docs/API_docs_v91/methods/messages.getSavedGifs.md +++ b/old_docs/API_docs_v91/methods/messages.getSavedGifs.md @@ -16,7 +16,7 @@ Get saved GIFs |hash|Array of [int](../types/int.md) | the hash parameter of the previous result of this method | Optional| -### Return type: [messages\_SavedGifs](../types/messages_SavedGifs.md) +### Return type: [messages.SavedGifs](../types/messages.SavedGifs.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_SavedGifs = $MadelineProto->messages->getSavedGifs(['hash' => [int, int], ]); +$messages.SavedGifs = $MadelineProto->messages->getSavedGifs(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_SavedGifs = messages.getSavedGifs({hash={int}, }) +messages.SavedGifs = messages.getSavedGifs({hash={int}, }) ``` diff --git a/old_docs/API_docs_v91/methods/messages.getStickerSet.md b/old_docs/API_docs_v91/methods/messages.getStickerSet.md index 45fca60f..f11887ee 100644 --- a/old_docs/API_docs_v91/methods/messages.getStickerSet.md +++ b/old_docs/API_docs_v91/methods/messages.getStickerSet.md @@ -16,7 +16,7 @@ Get info about a stickerset |stickerset|[InputStickerSet](../types/InputStickerSet.md) | Stickerset | Optional| -### Return type: [messages\_StickerSet](../types/messages_StickerSet.md) +### Return type: [messages.StickerSet](../types/messages.StickerSet.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StickerSet = $MadelineProto->messages->getStickerSet(['stickerset' => InputStickerSet, ]); +$messages.StickerSet = $MadelineProto->messages->getStickerSet(['stickerset' => InputStickerSet, ]); ``` Or, if you're into Lua: ```lua -messages_StickerSet = messages.getStickerSet({stickerset=InputStickerSet, }) +messages.StickerSet = messages.getStickerSet({stickerset=InputStickerSet, }) ``` ### Errors diff --git a/old_docs/API_docs_v91/methods/messages.getStickers.md b/old_docs/API_docs_v91/methods/messages.getStickers.md index 4f8b7598..ff99fbd2 100644 --- a/old_docs/API_docs_v91/methods/messages.getStickers.md +++ b/old_docs/API_docs_v91/methods/messages.getStickers.md @@ -17,7 +17,7 @@ Get stickers by emoji |hash|Array of [int](../types/int.md) | the hash parameter of the previous result of this method | Optional| -### Return type: [messages\_Stickers](../types/messages_Stickers.md) +### Return type: [messages.Stickers](../types/messages.Stickers.md) ### Can bots use this method: **NO** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Stickers = $MadelineProto->messages->getStickers(['emoticon' => 'string', 'hash' => [int, int], ]); +$messages.Stickers = $MadelineProto->messages->getStickers(['emoticon' => 'string', 'hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Stickers = messages.getStickers({emoticon='string', hash={int}, }) +messages.Stickers = messages.getStickers({emoticon='string', hash={int}, }) ``` diff --git a/old_docs/API_docs_v91/methods/messages.getUnreadMentions.md b/old_docs/API_docs_v91/methods/messages.getUnreadMentions.md index 33bba261..679ed841 100644 --- a/old_docs/API_docs_v91/methods/messages.getUnreadMentions.md +++ b/old_docs/API_docs_v91/methods/messages.getUnreadMentions.md @@ -21,7 +21,7 @@ Get unread messages where we were mentioned |min\_id|[int](../types/int.md) | Minimum message ID to return, [see pagination](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **NO** @@ -38,13 +38,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->getUnreadMentions(['peer' => InputPeer, 'offset_id' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); +$messages.Messages = $MadelineProto->messages->getUnreadMentions(['peer' => InputPeer, 'offset_id' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.getUnreadMentions({peer=InputPeer, offset_id=int, add_offset=int, limit=int, max_id=int, min_id=int, }) +messages.Messages = messages.getUnreadMentions({peer=InputPeer, offset_id=int, add_offset=int, limit=int, max_id=int, min_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v91/methods/messages.installStickerSet.md b/old_docs/API_docs_v91/methods/messages.installStickerSet.md index 1a95ca0b..83ce2121 100644 --- a/old_docs/API_docs_v91/methods/messages.installStickerSet.md +++ b/old_docs/API_docs_v91/methods/messages.installStickerSet.md @@ -17,7 +17,7 @@ Install a stickerset |archived|[Bool](../types/Bool.md) | Whether to archive stickerset | Yes| -### Return type: [messages\_StickerSetInstallResult](../types/messages_StickerSetInstallResult.md) +### Return type: [messages.StickerSetInstallResult](../types/messages.StickerSetInstallResult.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StickerSetInstallResult = $MadelineProto->messages->installStickerSet(['stickerset' => InputStickerSet, 'archived' => Bool, ]); +$messages.StickerSetInstallResult = $MadelineProto->messages->installStickerSet(['stickerset' => InputStickerSet, 'archived' => Bool, ]); ``` Or, if you're into Lua: ```lua -messages_StickerSetInstallResult = messages.installStickerSet({stickerset=InputStickerSet, archived=Bool, }) +messages.StickerSetInstallResult = messages.installStickerSet({stickerset=InputStickerSet, archived=Bool, }) ``` ### Errors diff --git a/old_docs/API_docs_v91/methods/messages.readHistory.md b/old_docs/API_docs_v91/methods/messages.readHistory.md index 39753375..52030c68 100644 --- a/old_docs/API_docs_v91/methods/messages.readHistory.md +++ b/old_docs/API_docs_v91/methods/messages.readHistory.md @@ -17,7 +17,7 @@ Marks message history as read. |max\_id|[int](../types/int.md) | If a positive value is passed, only messages with identifiers less or equal than the given one will be read | Yes| -### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) +### Return type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedMessages = $MadelineProto->messages->readHistory(['peer' => InputPeer, 'max_id' => int, ]); +$messages.AffectedMessages = $MadelineProto->messages->readHistory(['peer' => InputPeer, 'max_id' => int, ]); ``` Or, if you're into Lua: ```lua -messages_AffectedMessages = messages.readHistory({peer=InputPeer, max_id=int, }) +messages.AffectedMessages = messages.readHistory({peer=InputPeer, max_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v91/methods/messages.readMentions.md b/old_docs/API_docs_v91/methods/messages.readMentions.md index 9b73851d..c8c94f00 100644 --- a/old_docs/API_docs_v91/methods/messages.readMentions.md +++ b/old_docs/API_docs_v91/methods/messages.readMentions.md @@ -16,7 +16,7 @@ Mark mentions as read |peer|[Username, chat ID, Update, Message or InputPeer](../types/InputPeer.md) | Dialog | Optional| -### Return type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) +### Return type: [messages.AffectedHistory](../types/messages.AffectedHistory.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedHistory = $MadelineProto->messages->readMentions(['peer' => InputPeer, ]); +$messages.AffectedHistory = $MadelineProto->messages->readMentions(['peer' => InputPeer, ]); ``` Or, if you're into Lua: ```lua -messages_AffectedHistory = messages.readMentions({peer=InputPeer, }) +messages.AffectedHistory = messages.readMentions({peer=InputPeer, }) ``` diff --git a/old_docs/API_docs_v91/methods/messages.readMessageContents.md b/old_docs/API_docs_v91/methods/messages.readMessageContents.md index c479cafe..9798e661 100644 --- a/old_docs/API_docs_v91/methods/messages.readMessageContents.md +++ b/old_docs/API_docs_v91/methods/messages.readMessageContents.md @@ -16,7 +16,7 @@ Notifies the sender about the recipient having listened a voice message or watch |id|Array of [int](../types/int.md) | The messages to mark as read (only users and normal chats, not supergroups) | Yes| -### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) +### Return type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedMessages = $MadelineProto->messages->readMessageContents(['id' => [int, int], ]); +$messages.AffectedMessages = $MadelineProto->messages->readMessageContents(['id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AffectedMessages = messages.readMessageContents({id={int}, }) +messages.AffectedMessages = messages.readMessageContents({id={int}, }) ``` diff --git a/old_docs/API_docs_v91/methods/messages.search.md b/old_docs/API_docs_v91/methods/messages.search.md index 75c21af0..b8125fb6 100644 --- a/old_docs/API_docs_v91/methods/messages.search.md +++ b/old_docs/API_docs_v91/methods/messages.search.md @@ -27,7 +27,7 @@ Gets back found messages |hash|Array of [int](../types/int.md) | The IDs of messages you already fetched | Optional| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **NO** @@ -44,13 +44,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->search(['peer' => InputPeer, 'q' => 'string', 'from_id' => InputUser, 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset_id' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, 'hash' => [int, int], ]); +$messages.Messages = $MadelineProto->messages->search(['peer' => InputPeer, 'q' => 'string', 'from_id' => InputUser, 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset_id' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, 'hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.search({peer=InputPeer, q='string', from_id=InputUser, filter=MessagesFilter, min_date=int, max_date=int, offset_id=int, add_offset=int, limit=int, max_id=int, min_id=int, hash={int}, }) +messages.Messages = messages.search({peer=InputPeer, q='string', from_id=InputUser, filter=MessagesFilter, min_date=int, max_date=int, offset_id=int, add_offset=int, limit=int, max_id=int, min_id=int, hash={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v91/methods/messages.searchGifs.md b/old_docs/API_docs_v91/methods/messages.searchGifs.md index 851371d7..193a0cd4 100644 --- a/old_docs/API_docs_v91/methods/messages.searchGifs.md +++ b/old_docs/API_docs_v91/methods/messages.searchGifs.md @@ -17,7 +17,7 @@ Search for GIFs |offset|[int](../types/int.md) | Offset for [pagination »](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_FoundGifs](../types/messages_FoundGifs.md) +### Return type: [messages.FoundGifs](../types/messages.FoundGifs.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_FoundGifs = $MadelineProto->messages->searchGifs(['q' => 'string', 'offset' => int, ]); +$messages.FoundGifs = $MadelineProto->messages->searchGifs(['q' => 'string', 'offset' => int, ]); ``` Or, if you're into Lua: ```lua -messages_FoundGifs = messages.searchGifs({q='string', offset=int, }) +messages.FoundGifs = messages.searchGifs({q='string', offset=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v91/methods/messages.searchGlobal.md b/old_docs/API_docs_v91/methods/messages.searchGlobal.md index 4bd59f25..1a3b736d 100644 --- a/old_docs/API_docs_v91/methods/messages.searchGlobal.md +++ b/old_docs/API_docs_v91/methods/messages.searchGlobal.md @@ -20,7 +20,7 @@ Search for messages and peers globally |limit|[int](../types/int.md) | [Offsets for pagination, for more info click here](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **NO** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->searchGlobal(['q' => 'string', 'offset_date' => int, 'offset_peer' => InputPeer, 'offset_id' => int, 'limit' => int, ]); +$messages.Messages = $MadelineProto->messages->searchGlobal(['q' => 'string', 'offset_date' => int, 'offset_peer' => InputPeer, 'offset_id' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.searchGlobal({q='string', offset_date=int, offset_peer=InputPeer, offset_id=int, limit=int, }) +messages.Messages = messages.searchGlobal({q='string', offset_date=int, offset_peer=InputPeer, offset_id=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v91/methods/messages.searchStickerSets.md b/old_docs/API_docs_v91/methods/messages.searchStickerSets.md index 1759fbc0..a8924f3d 100644 --- a/old_docs/API_docs_v91/methods/messages.searchStickerSets.md +++ b/old_docs/API_docs_v91/methods/messages.searchStickerSets.md @@ -18,7 +18,7 @@ Search for stickersets |hash|Array of [int](../types/int.md) | The IDs of stickersets you already fetched | Optional| -### Return type: [messages\_FoundStickerSets](../types/messages_FoundStickerSets.md) +### Return type: [messages.FoundStickerSets](../types/messages.FoundStickerSets.md) ### Can bots use this method: **NO** @@ -35,12 +35,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_FoundStickerSets = $MadelineProto->messages->searchStickerSets(['exclude_featured' => Bool, 'q' => 'string', 'hash' => [int, int], ]); +$messages.FoundStickerSets = $MadelineProto->messages->searchStickerSets(['exclude_featured' => Bool, 'q' => 'string', 'hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_FoundStickerSets = messages.searchStickerSets({exclude_featured=Bool, q='string', hash={int}, }) +messages.FoundStickerSets = messages.searchStickerSets({exclude_featured=Bool, q='string', hash={int}, }) ``` diff --git a/old_docs/API_docs_v91/methods/messages.sendEncrypted.md b/old_docs/API_docs_v91/methods/messages.sendEncrypted.md index 47b5ef29..6a68b563 100644 --- a/old_docs/API_docs_v91/methods/messages.sendEncrypted.md +++ b/old_docs/API_docs_v91/methods/messages.sendEncrypted.md @@ -14,10 +14,10 @@ Sends a text message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|message|[DecryptedMessage](../types/DecryptedMessage.md) | The message to send | Yes| +|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key that was created during chat initialization | Yes| -### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ### Can bots use this method: **NO** @@ -34,21 +34,15 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncrypted(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); +$messages.SentEncryptedMessage = $MadelineProto->messages->sendEncrypted(['peer' => InputEncryptedChat, 'data' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -messages_SentEncryptedMessage = messages.sendEncrypted({peer=InputEncryptedChat, message=DecryptedMessage, }) +messages.SentEncryptedMessage = messages.sendEncrypted({peer=InputEncryptedChat, data='bytes', }) ``` - -## Return value - -If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) will be returned instead. - - ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v91/methods/messages.sendEncryptedFile.md b/old_docs/API_docs_v91/methods/messages.sendEncryptedFile.md index 4e0f7b7f..87185ba4 100644 --- a/old_docs/API_docs_v91/methods/messages.sendEncryptedFile.md +++ b/old_docs/API_docs_v91/methods/messages.sendEncryptedFile.md @@ -14,11 +14,11 @@ Sends a message with a file attachment to a secret chat | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|message|[DecryptedMessage](../types/DecryptedMessage.md) | The message with the file | Yes| +|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| |file|[File path or InputEncryptedFile](../types/InputEncryptedFile.md) | File attachment for the secret chat | Optional| -### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ### Can bots use this method: **NO** @@ -35,21 +35,15 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedFile(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, 'file' => InputEncryptedFile, ]); +$messages.SentEncryptedMessage = $MadelineProto->messages->sendEncryptedFile(['peer' => InputEncryptedChat, 'data' => 'bytes', 'file' => InputEncryptedFile, ]); ``` Or, if you're into Lua: ```lua -messages_SentEncryptedMessage = messages.sendEncryptedFile({peer=InputEncryptedChat, message=DecryptedMessage, file=InputEncryptedFile, }) +messages.SentEncryptedMessage = messages.sendEncryptedFile({peer=InputEncryptedChat, data='bytes', file=InputEncryptedFile, }) ``` - -## Return value - -If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) will be returned instead. - - ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v91/methods/messages.sendEncryptedService.md b/old_docs/API_docs_v91/methods/messages.sendEncryptedService.md index 86925ae3..38171272 100644 --- a/old_docs/API_docs_v91/methods/messages.sendEncryptedService.md +++ b/old_docs/API_docs_v91/methods/messages.sendEncryptedService.md @@ -14,10 +14,10 @@ Sends a service message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|message|[DecryptedMessage](../types/DecryptedMessage.md) | The service message | Yes| +|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| -### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ### Can bots use this method: **NO** @@ -34,21 +34,15 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedService(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); +$messages.SentEncryptedMessage = $MadelineProto->messages->sendEncryptedService(['peer' => InputEncryptedChat, 'data' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -messages_SentEncryptedMessage = messages.sendEncryptedService({peer=InputEncryptedChat, message=DecryptedMessage, }) +messages.SentEncryptedMessage = messages.sendEncryptedService({peer=InputEncryptedChat, data='bytes', }) ``` - -## Return value - -If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) will be returned instead. - - ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v91/methods/payments.getPaymentForm.md b/old_docs/API_docs_v91/methods/payments.getPaymentForm.md index 3a171a05..da173f14 100644 --- a/old_docs/API_docs_v91/methods/payments.getPaymentForm.md +++ b/old_docs/API_docs_v91/methods/payments.getPaymentForm.md @@ -16,7 +16,7 @@ Get a payment form |msg\_id|[int](../types/int.md) | Message ID of payment form | Yes| -### Return type: [payments\_PaymentForm](../types/payments_PaymentForm.md) +### Return type: [payments.PaymentForm](../types/payments.PaymentForm.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$payments_PaymentForm = $MadelineProto->payments->getPaymentForm(['msg_id' => int, ]); +$payments.PaymentForm = $MadelineProto->payments->getPaymentForm(['msg_id' => int, ]); ``` Or, if you're into Lua: ```lua -payments_PaymentForm = payments.getPaymentForm({msg_id=int, }) +payments.PaymentForm = payments.getPaymentForm({msg_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v91/methods/payments.getPaymentReceipt.md b/old_docs/API_docs_v91/methods/payments.getPaymentReceipt.md index 46d2267c..16e41367 100644 --- a/old_docs/API_docs_v91/methods/payments.getPaymentReceipt.md +++ b/old_docs/API_docs_v91/methods/payments.getPaymentReceipt.md @@ -16,7 +16,7 @@ Get payment receipt |msg\_id|[int](../types/int.md) | Message ID of receipt | Yes| -### Return type: [payments\_PaymentReceipt](../types/payments_PaymentReceipt.md) +### Return type: [payments.PaymentReceipt](../types/payments.PaymentReceipt.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$payments_PaymentReceipt = $MadelineProto->payments->getPaymentReceipt(['msg_id' => int, ]); +$payments.PaymentReceipt = $MadelineProto->payments->getPaymentReceipt(['msg_id' => int, ]); ``` Or, if you're into Lua: ```lua -payments_PaymentReceipt = payments.getPaymentReceipt({msg_id=int, }) +payments.PaymentReceipt = payments.getPaymentReceipt({msg_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v91/methods/payments.getSavedInfo.md b/old_docs/API_docs_v91/methods/payments.getSavedInfo.md index dc9c9b98..fe2c16ec 100644 --- a/old_docs/API_docs_v91/methods/payments.getSavedInfo.md +++ b/old_docs/API_docs_v91/methods/payments.getSavedInfo.md @@ -11,7 +11,7 @@ Get saved payment information -### Return type: [payments\_SavedInfo](../types/payments_SavedInfo.md) +### Return type: [payments.SavedInfo](../types/payments.SavedInfo.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$payments_SavedInfo = $MadelineProto->payments->getSavedInfo(); +$payments.SavedInfo = $MadelineProto->payments->getSavedInfo(); ``` Or, if you're into Lua: ```lua -payments_SavedInfo = payments.getSavedInfo({}) +payments.SavedInfo = payments.getSavedInfo({}) ``` diff --git a/old_docs/API_docs_v91/methods/payments.sendPaymentForm.md b/old_docs/API_docs_v91/methods/payments.sendPaymentForm.md index 8c478b92..de154e7f 100644 --- a/old_docs/API_docs_v91/methods/payments.sendPaymentForm.md +++ b/old_docs/API_docs_v91/methods/payments.sendPaymentForm.md @@ -19,7 +19,7 @@ Send compiled payment form |credentials|[InputPaymentCredentials](../types/InputPaymentCredentials.md) | Payment credentials | Yes| -### Return type: [payments\_PaymentResult](../types/payments_PaymentResult.md) +### Return type: [payments.PaymentResult](../types/payments.PaymentResult.md) ### Can bots use this method: **NO** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$payments_PaymentResult = $MadelineProto->payments->sendPaymentForm(['msg_id' => int, 'requested_info_id' => 'string', 'shipping_option_id' => 'string', 'credentials' => InputPaymentCredentials, ]); +$payments.PaymentResult = $MadelineProto->payments->sendPaymentForm(['msg_id' => int, 'requested_info_id' => 'string', 'shipping_option_id' => 'string', 'credentials' => InputPaymentCredentials, ]); ``` Or, if you're into Lua: ```lua -payments_PaymentResult = payments.sendPaymentForm({msg_id=int, requested_info_id='string', shipping_option_id='string', credentials=InputPaymentCredentials, }) +payments.PaymentResult = payments.sendPaymentForm({msg_id=int, requested_info_id='string', shipping_option_id='string', credentials=InputPaymentCredentials, }) ``` ### Errors diff --git a/old_docs/API_docs_v91/methods/payments.validateRequestedInfo.md b/old_docs/API_docs_v91/methods/payments.validateRequestedInfo.md index d6364a02..ce22cfe8 100644 --- a/old_docs/API_docs_v91/methods/payments.validateRequestedInfo.md +++ b/old_docs/API_docs_v91/methods/payments.validateRequestedInfo.md @@ -18,7 +18,7 @@ Submit requested order information for validation |info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Requested order information | Yes| -### Return type: [payments\_ValidatedRequestedInfo](../types/payments_ValidatedRequestedInfo.md) +### Return type: [payments.ValidatedRequestedInfo](../types/payments.ValidatedRequestedInfo.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$payments_ValidatedRequestedInfo = $MadelineProto->payments->validateRequestedInfo(['save' => Bool, 'msg_id' => int, 'info' => PaymentRequestedInfo, ]); +$payments.ValidatedRequestedInfo = $MadelineProto->payments->validateRequestedInfo(['save' => Bool, 'msg_id' => int, 'info' => PaymentRequestedInfo, ]); ``` Or, if you're into Lua: ```lua -payments_ValidatedRequestedInfo = payments.validateRequestedInfo({save=Bool, msg_id=int, info=PaymentRequestedInfo, }) +payments.ValidatedRequestedInfo = payments.validateRequestedInfo({save=Bool, msg_id=int, info=PaymentRequestedInfo, }) ``` ### Errors diff --git a/old_docs/API_docs_v91/methods/phone.acceptCall.md b/old_docs/API_docs_v91/methods/phone.acceptCall.md index f5c58f01..6b9185aa 100644 --- a/old_docs/API_docs_v91/methods/phone.acceptCall.md +++ b/old_docs/API_docs_v91/methods/phone.acceptCall.md @@ -18,7 +18,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz#calls fo |protocol|[PhoneCallProtocol](../types/PhoneCallProtocol.md) | You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls | Yes| -### Return type: [phone\_PhoneCall](../types/phone_PhoneCall.md) +### Return type: [phone.PhoneCall](../types/phone.PhoneCall.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$phone_PhoneCall = $MadelineProto->phone->acceptCall(['peer' => InputPhoneCall, 'g_b' => 'bytes', 'protocol' => PhoneCallProtocol, ]); +$phone.PhoneCall = $MadelineProto->phone->acceptCall(['peer' => InputPhoneCall, 'g_b' => 'bytes', 'protocol' => PhoneCallProtocol, ]); ``` Or, if you're into Lua: ```lua -phone_PhoneCall = phone.acceptCall({peer=InputPhoneCall, g_b='bytes', protocol=PhoneCallProtocol, }) +phone.PhoneCall = phone.acceptCall({peer=InputPhoneCall, g_b='bytes', protocol=PhoneCallProtocol, }) ``` ### Errors diff --git a/old_docs/API_docs_v91/methods/phone.confirmCall.md b/old_docs/API_docs_v91/methods/phone.confirmCall.md index 468307cc..a52d1f9c 100644 --- a/old_docs/API_docs_v91/methods/phone.confirmCall.md +++ b/old_docs/API_docs_v91/methods/phone.confirmCall.md @@ -19,7 +19,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz#calls fo |protocol|[PhoneCallProtocol](../types/PhoneCallProtocol.md) | You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls | Yes| -### Return type: [phone\_PhoneCall](../types/phone_PhoneCall.md) +### Return type: [phone.PhoneCall](../types/phone.PhoneCall.md) ### Can bots use this method: **NO** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$phone_PhoneCall = $MadelineProto->phone->confirmCall(['peer' => InputPhoneCall, 'g_a' => 'bytes', 'key_fingerprint' => long, 'protocol' => PhoneCallProtocol, ]); +$phone.PhoneCall = $MadelineProto->phone->confirmCall(['peer' => InputPhoneCall, 'g_a' => 'bytes', 'key_fingerprint' => long, 'protocol' => PhoneCallProtocol, ]); ``` Or, if you're into Lua: ```lua -phone_PhoneCall = phone.confirmCall({peer=InputPhoneCall, g_a='bytes', key_fingerprint=long, protocol=PhoneCallProtocol, }) +phone.PhoneCall = phone.confirmCall({peer=InputPhoneCall, g_a='bytes', key_fingerprint=long, protocol=PhoneCallProtocol, }) ``` ### Errors diff --git a/old_docs/API_docs_v91/methods/phone.requestCall.md b/old_docs/API_docs_v91/methods/phone.requestCall.md index c8e828f2..37e847a7 100644 --- a/old_docs/API_docs_v91/methods/phone.requestCall.md +++ b/old_docs/API_docs_v91/methods/phone.requestCall.md @@ -18,7 +18,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz#calls fo |protocol|[PhoneCallProtocol](../types/PhoneCallProtocol.md) | You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls | Yes| -### Return type: [phone\_PhoneCall](../types/phone_PhoneCall.md) +### Return type: [phone.PhoneCall](../types/phone.PhoneCall.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$phone_PhoneCall = $MadelineProto->phone->requestCall(['user_id' => InputUser, 'g_a_hash' => 'bytes', 'protocol' => PhoneCallProtocol, ]); +$phone.PhoneCall = $MadelineProto->phone->requestCall(['user_id' => InputUser, 'g_a_hash' => 'bytes', 'protocol' => PhoneCallProtocol, ]); ``` Or, if you're into Lua: ```lua -phone_PhoneCall = phone.requestCall({user_id=InputUser, g_a_hash='bytes', protocol=PhoneCallProtocol, }) +phone.PhoneCall = phone.requestCall({user_id=InputUser, g_a_hash='bytes', protocol=PhoneCallProtocol, }) ``` ### Errors diff --git a/old_docs/API_docs_v91/methods/photos.getUserPhotos.md b/old_docs/API_docs_v91/methods/photos.getUserPhotos.md index a1dec2ed..1f8d5c64 100644 --- a/old_docs/API_docs_v91/methods/photos.getUserPhotos.md +++ b/old_docs/API_docs_v91/methods/photos.getUserPhotos.md @@ -19,7 +19,7 @@ Returns the list of user photos. |limit|[int](../types/int.md) | Number of list elements to be returned | Yes| -### Return type: [photos\_Photos](../types/photos_Photos.md) +### Return type: [photos.Photos](../types/photos.Photos.md) ### Can bots use this method: **YES** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$photos_Photos = $MadelineProto->photos->getUserPhotos(['user_id' => InputUser, 'offset' => int, 'max_id' => long, 'limit' => int, ]); +$photos.Photos = $MadelineProto->photos->getUserPhotos(['user_id' => InputUser, 'offset' => int, 'max_id' => long, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -photos_Photos = photos.getUserPhotos({user_id=InputUser, offset=int, max_id=long, limit=int, }) +photos.Photos = photos.getUserPhotos({user_id=InputUser, offset=int, max_id=long, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v91/methods/photos.uploadProfilePhoto.md b/old_docs/API_docs_v91/methods/photos.uploadProfilePhoto.md index b6a01ee7..4de76a24 100644 --- a/old_docs/API_docs_v91/methods/photos.uploadProfilePhoto.md +++ b/old_docs/API_docs_v91/methods/photos.uploadProfilePhoto.md @@ -16,7 +16,7 @@ Updates current user profile photo. |file|[File path or InputFile](../types/InputFile.md) | File saved in parts by means of [upload.saveFilePart](../methods/upload.saveFilePart.md) method | Yes| -### Return type: [photos\_Photo](../types/photos_Photo.md) +### Return type: [photos.Photo](../types/photos.Photo.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$photos_Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, ]); +$photos.Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, ]); ``` Or, if you're into Lua: ```lua -photos_Photo = photos.uploadProfilePhoto({file=InputFile, }) +photos.Photo = photos.uploadProfilePhoto({file=InputFile, }) ``` ### Errors diff --git a/old_docs/API_docs_v91/methods/stickers.addStickerToSet.md b/old_docs/API_docs_v91/methods/stickers.addStickerToSet.md index 727d3f27..e8392355 100644 --- a/old_docs/API_docs_v91/methods/stickers.addStickerToSet.md +++ b/old_docs/API_docs_v91/methods/stickers.addStickerToSet.md @@ -17,7 +17,7 @@ Add a sticker to a stickerset, bots only. The sticker set must have been created |sticker|[InputStickerSetItem](../types/InputStickerSetItem.md) | The sticker | Yes| -### Return type: [messages\_StickerSet](../types/messages_StickerSet.md) +### Return type: [messages.StickerSet](../types/messages.StickerSet.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StickerSet = $MadelineProto->stickers->addStickerToSet(['stickerset' => InputStickerSet, 'sticker' => InputStickerSetItem, ]); +$messages.StickerSet = $MadelineProto->stickers->addStickerToSet(['stickerset' => InputStickerSet, 'sticker' => InputStickerSetItem, ]); ``` Or, if you're into Lua: ```lua -messages_StickerSet = stickers.addStickerToSet({stickerset=InputStickerSet, sticker=InputStickerSetItem, }) +messages.StickerSet = stickers.addStickerToSet({stickerset=InputStickerSet, sticker=InputStickerSetItem, }) ``` ### Errors diff --git a/old_docs/API_docs_v91/methods/stickers.changeStickerPosition.md b/old_docs/API_docs_v91/methods/stickers.changeStickerPosition.md index ed390f21..e1d8ab5e 100644 --- a/old_docs/API_docs_v91/methods/stickers.changeStickerPosition.md +++ b/old_docs/API_docs_v91/methods/stickers.changeStickerPosition.md @@ -17,7 +17,7 @@ Changes the absolute position of a sticker in the set to which it belongs; for b |position|[int](../types/int.md) | The new position of the sticker, zero-based | Yes| -### Return type: [messages\_StickerSet](../types/messages_StickerSet.md) +### Return type: [messages.StickerSet](../types/messages.StickerSet.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StickerSet = $MadelineProto->stickers->changeStickerPosition(['sticker' => InputDocument, 'position' => int, ]); +$messages.StickerSet = $MadelineProto->stickers->changeStickerPosition(['sticker' => InputDocument, 'position' => int, ]); ``` Or, if you're into Lua: ```lua -messages_StickerSet = stickers.changeStickerPosition({sticker=InputDocument, position=int, }) +messages.StickerSet = stickers.changeStickerPosition({sticker=InputDocument, position=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v91/methods/stickers.createStickerSet.md b/old_docs/API_docs_v91/methods/stickers.createStickerSet.md index 5a6ef396..7eeeb48f 100644 --- a/old_docs/API_docs_v91/methods/stickers.createStickerSet.md +++ b/old_docs/API_docs_v91/methods/stickers.createStickerSet.md @@ -20,7 +20,7 @@ Create a stickerset, bots only. |stickers|Array of [InputStickerSetItem](../types/InputStickerSetItem.md) | The stickers to add | Yes| -### Return type: [messages\_StickerSet](../types/messages_StickerSet.md) +### Return type: [messages.StickerSet](../types/messages.StickerSet.md) ### Can bots use this method: **YES** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StickerSet = $MadelineProto->stickers->createStickerSet(['masks' => Bool, 'user_id' => InputUser, 'title' => 'string', 'short_name' => 'string', 'stickers' => [InputStickerSetItem, InputStickerSetItem], ]); +$messages.StickerSet = $MadelineProto->stickers->createStickerSet(['masks' => Bool, 'user_id' => InputUser, 'title' => 'string', 'short_name' => 'string', 'stickers' => [InputStickerSetItem, InputStickerSetItem], ]); ``` Or, if you're into Lua: ```lua -messages_StickerSet = stickers.createStickerSet({masks=Bool, user_id=InputUser, title='string', short_name='string', stickers={InputStickerSetItem}, }) +messages.StickerSet = stickers.createStickerSet({masks=Bool, user_id=InputUser, title='string', short_name='string', stickers={InputStickerSetItem}, }) ``` ### Errors diff --git a/old_docs/API_docs_v91/methods/stickers.removeStickerFromSet.md b/old_docs/API_docs_v91/methods/stickers.removeStickerFromSet.md index 33f677b3..aa4927ca 100644 --- a/old_docs/API_docs_v91/methods/stickers.removeStickerFromSet.md +++ b/old_docs/API_docs_v91/methods/stickers.removeStickerFromSet.md @@ -16,7 +16,7 @@ Remove a sticker from the set where it belongs, bots only. The sticker set must |sticker|[MessageMedia, Update, Message or InputDocument](../types/InputDocument.md) | The sticker to remove | Optional| -### Return type: [messages\_StickerSet](../types/messages_StickerSet.md) +### Return type: [messages.StickerSet](../types/messages.StickerSet.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StickerSet = $MadelineProto->stickers->removeStickerFromSet(['sticker' => InputDocument, ]); +$messages.StickerSet = $MadelineProto->stickers->removeStickerFromSet(['sticker' => InputDocument, ]); ``` Or, if you're into Lua: ```lua -messages_StickerSet = stickers.removeStickerFromSet({sticker=InputDocument, }) +messages.StickerSet = stickers.removeStickerFromSet({sticker=InputDocument, }) ``` ### Errors diff --git a/old_docs/API_docs_v91/methods/updates.getChannelDifference.md b/old_docs/API_docs_v91/methods/updates.getChannelDifference.md index 5675cd33..08df3395 100644 --- a/old_docs/API_docs_v91/methods/updates.getChannelDifference.md +++ b/old_docs/API_docs_v91/methods/updates.getChannelDifference.md @@ -20,7 +20,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz for more |limit|[int](../types/int.md) | You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates | Yes| -### Return type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) +### Return type: [updates.ChannelDifference](../types/updates.ChannelDifference.md) ### Can bots use this method: **YES** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$updates_ChannelDifference = $MadelineProto->updates->getChannelDifference(['force' => Bool, 'channel' => InputChannel, 'filter' => ChannelMessagesFilter, 'pts' => int, 'limit' => int, ]); +$updates.ChannelDifference = $MadelineProto->updates->getChannelDifference(['force' => Bool, 'channel' => InputChannel, 'filter' => ChannelMessagesFilter, 'pts' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -updates_ChannelDifference = updates.getChannelDifference({force=Bool, channel=InputChannel, filter=ChannelMessagesFilter, pts=int, limit=int, }) +updates.ChannelDifference = updates.getChannelDifference({force=Bool, channel=InputChannel, filter=ChannelMessagesFilter, pts=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v91/methods/updates.getDifference.md b/old_docs/API_docs_v91/methods/updates.getDifference.md index bcfac4e2..b3796a10 100644 --- a/old_docs/API_docs_v91/methods/updates.getDifference.md +++ b/old_docs/API_docs_v91/methods/updates.getDifference.md @@ -19,7 +19,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz for more |qts|[int](../types/int.md) | You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates | Yes| -### Return type: [updates\_Difference](../types/updates_Difference.md) +### Return type: [updates.Difference](../types/updates.Difference.md) ### Can bots use this method: **YES** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$updates_Difference = $MadelineProto->updates->getDifference(['pts' => int, 'pts_total_limit' => int, 'date' => int, 'qts' => int, ]); +$updates.Difference = $MadelineProto->updates->getDifference(['pts' => int, 'pts_total_limit' => int, 'date' => int, 'qts' => int, ]); ``` Or, if you're into Lua: ```lua -updates_Difference = updates.getDifference({pts=int, pts_total_limit=int, date=int, qts=int, }) +updates.Difference = updates.getDifference({pts=int, pts_total_limit=int, date=int, qts=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v91/methods/updates.getState.md b/old_docs/API_docs_v91/methods/updates.getState.md index c591408a..9a7d2f34 100644 --- a/old_docs/API_docs_v91/methods/updates.getState.md +++ b/old_docs/API_docs_v91/methods/updates.getState.md @@ -11,7 +11,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz for more -### Return type: [updates\_State](../types/updates_State.md) +### Return type: [updates.State](../types/updates.State.md) ### Can bots use this method: **YES** @@ -28,13 +28,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$updates_State = $MadelineProto->updates->getState(); +$updates.State = $MadelineProto->updates->getState(); ``` Or, if you're into Lua: ```lua -updates_State = updates.getState({}) +updates.State = updates.getState({}) ``` ### Errors diff --git a/old_docs/API_docs_v91/methods/upload.getCdnFile.md b/old_docs/API_docs_v91/methods/upload.getCdnFile.md index a3c928b2..67b2e84e 100644 --- a/old_docs/API_docs_v91/methods/upload.getCdnFile.md +++ b/old_docs/API_docs_v91/methods/upload.getCdnFile.md @@ -18,7 +18,7 @@ You cannot use this method directly, use the upload, downloadToStream, downloadT |limit|[int](../types/int.md) | You cannot use this method directly, use the upload, downloadToStream, downloadToFile, downloadToDir methods instead; see https://docs.madelineproto.xyz for more info | Yes| -### Return type: [upload\_CdnFile](../types/upload_CdnFile.md) +### Return type: [upload.CdnFile](../types/upload.CdnFile.md) ### Can bots use this method: **NO** @@ -35,12 +35,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$upload_CdnFile = $MadelineProto->upload->getCdnFile(['file_token' => 'bytes', 'offset' => int, 'limit' => int, ]); +$upload.CdnFile = $MadelineProto->upload->getCdnFile(['file_token' => 'bytes', 'offset' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -upload_CdnFile = upload.getCdnFile({file_token='bytes', offset=int, limit=int, }) +upload.CdnFile = upload.getCdnFile({file_token='bytes', offset=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v91/methods/upload.getFile.md b/old_docs/API_docs_v91/methods/upload.getFile.md index 8aba03d4..ab9f4fe2 100644 --- a/old_docs/API_docs_v91/methods/upload.getFile.md +++ b/old_docs/API_docs_v91/methods/upload.getFile.md @@ -18,7 +18,7 @@ You cannot use this method directly, use the upload, downloadToStream, downloadT |limit|[int](../types/int.md) | You cannot use this method directly, use the upload, downloadToStream, downloadToFile, downloadToDir methods instead; see https://docs.madelineproto.xyz for more info | Yes| -### Return type: [upload\_File](../types/upload_File.md) +### Return type: [upload.File](../types/upload.File.md) ### Can bots use this method: **YES** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$upload_File = $MadelineProto->upload->getFile(['location' => InputFileLocation, 'offset' => int, 'limit' => int, ]); +$upload.File = $MadelineProto->upload->getFile(['location' => InputFileLocation, 'offset' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -upload_File = upload.getFile({location=InputFileLocation, offset=int, limit=int, }) +upload.File = upload.getFile({location=InputFileLocation, offset=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v91/methods/upload.getWebFile.md b/old_docs/API_docs_v91/methods/upload.getWebFile.md index 32f6b322..60f1b8c1 100644 --- a/old_docs/API_docs_v91/methods/upload.getWebFile.md +++ b/old_docs/API_docs_v91/methods/upload.getWebFile.md @@ -18,7 +18,7 @@ Returns content of an HTTP file or a part, by proxying the request through teleg |limit|[int](../types/int.md) | Number of bytes to be returned | Yes| -### Return type: [upload\_WebFile](../types/upload_WebFile.md) +### Return type: [upload.WebFile](../types/upload.WebFile.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$upload_WebFile = $MadelineProto->upload->getWebFile(['location' => InputWebFileLocation, 'offset' => int, 'limit' => int, ]); +$upload.WebFile = $MadelineProto->upload->getWebFile(['location' => InputWebFileLocation, 'offset' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -upload_WebFile = upload.getWebFile({location=InputWebFileLocation, offset=int, limit=int, }) +upload.WebFile = upload.getWebFile({location=InputWebFileLocation, offset=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v91/types/AccountDaysTTL.md b/old_docs/API_docs_v91/types/AccountDaysTTL.md index 12a10190..f3494aac 100644 --- a/old_docs/API_docs_v91/types/AccountDaysTTL.md +++ b/old_docs/API_docs_v91/types/AccountDaysTTL.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->account->getAccountTTL](../methods/account_getAccountTTL.md) +[$MadelineProto->account->getAccountTTL](../methods/account.getAccountTTL.md) diff --git a/old_docs/API_docs_v91/types/CdnConfig.md b/old_docs/API_docs_v91/types/CdnConfig.md index fbfe01c3..0b0fb5be 100644 --- a/old_docs/API_docs_v91/types/CdnConfig.md +++ b/old_docs/API_docs_v91/types/CdnConfig.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->help->getCdnConfig](../methods/help_getCdnConfig.md) +[$MadelineProto->help->getCdnConfig](../methods/help.getCdnConfig.md) diff --git a/old_docs/API_docs_v91/types/ChatInvite.md b/old_docs/API_docs_v91/types/ChatInvite.md index 5022a2f0..9fafabb4 100644 --- a/old_docs/API_docs_v91/types/ChatInvite.md +++ b/old_docs/API_docs_v91/types/ChatInvite.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->checkChatInvite](../methods/messages_checkChatInvite.md) +[$MadelineProto->messages->checkChatInvite](../methods/messages.checkChatInvite.md) diff --git a/old_docs/API_docs_v91/types/ChatOnlines.md b/old_docs/API_docs_v91/types/ChatOnlines.md index 5faf4a6e..e5646dd6 100644 --- a/old_docs/API_docs_v91/types/ChatOnlines.md +++ b/old_docs/API_docs_v91/types/ChatOnlines.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getOnlines](../methods/messages_getOnlines.md) +[$MadelineProto->messages->getOnlines](../methods/messages.getOnlines.md) diff --git a/old_docs/API_docs_v91/types/Config.md b/old_docs/API_docs_v91/types/Config.md index 0f7fbe70..3a23b7b7 100644 --- a/old_docs/API_docs_v91/types/Config.md +++ b/old_docs/API_docs_v91/types/Config.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->help->getConfig](../methods/help_getConfig.md) +[$MadelineProto->help->getConfig](../methods/help.getConfig.md) diff --git a/old_docs/API_docs_v91/types/ContactStatus.md b/old_docs/API_docs_v91/types/ContactStatus.md index c5f5d658..30aee6e2 100644 --- a/old_docs/API_docs_v91/types/ContactStatus.md +++ b/old_docs/API_docs_v91/types/ContactStatus.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->contacts->getStatuses](../methods/contacts_getStatuses.md) +[$MadelineProto->contacts->getStatuses](../methods/contacts.getStatuses.md) diff --git a/old_docs/API_docs_v91/types/DialogPeer.md b/old_docs/API_docs_v91/types/DialogPeer.md index 77d00a35..72c2a973 100644 --- a/old_docs/API_docs_v91/types/DialogPeer.md +++ b/old_docs/API_docs_v91/types/DialogPeer.md @@ -40,7 +40,7 @@ A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDia ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getDialogUnreadMarks](../methods/messages_getDialogUnreadMarks.md) +[$MadelineProto->messages->getDialogUnreadMarks](../methods/messages.getDialogUnreadMarks.md) diff --git a/old_docs/API_docs_v91/types/Document.md b/old_docs/API_docs_v91/types/Document.md index f68b7aa4..2cb85623 100644 --- a/old_docs/API_docs_v91/types/Document.md +++ b/old_docs/API_docs_v91/types/Document.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getDocumentByHash](../methods/messages_getDocumentByHash.md) +[$MadelineProto->messages->getDocumentByHash](../methods/messages.getDocumentByHash.md) diff --git a/old_docs/API_docs_v91/types/EncryptedChat.md b/old_docs/API_docs_v91/types/EncryptedChat.md index fd2277f6..19cf52b0 100644 --- a/old_docs/API_docs_v91/types/EncryptedChat.md +++ b/old_docs/API_docs_v91/types/EncryptedChat.md @@ -24,9 +24,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->requestEncryption](../methods/messages_requestEncryption.md) +[$MadelineProto->messages->requestEncryption](../methods/messages.requestEncryption.md) -[$MadelineProto->messages->acceptEncryption](../methods/messages_acceptEncryption.md) +[$MadelineProto->messages->acceptEncryption](../methods/messages.acceptEncryption.md) diff --git a/old_docs/API_docs_v91/types/EncryptedFile.md b/old_docs/API_docs_v91/types/EncryptedFile.md index a26d40bb..8ecf8e9d 100644 --- a/old_docs/API_docs_v91/types/EncryptedFile.md +++ b/old_docs/API_docs_v91/types/EncryptedFile.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->uploadEncryptedFile](../methods/messages_uploadEncryptedFile.md) +[$MadelineProto->messages->uploadEncryptedFile](../methods/messages.uploadEncryptedFile.md) diff --git a/old_docs/API_docs_v91/types/ExportedChatInvite.md b/old_docs/API_docs_v91/types/ExportedChatInvite.md index 4213a78f..53ce5f59 100644 --- a/old_docs/API_docs_v91/types/ExportedChatInvite.md +++ b/old_docs/API_docs_v91/types/ExportedChatInvite.md @@ -18,9 +18,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->exportChatInvite](../methods/messages_exportChatInvite.md) +[$MadelineProto->messages->exportChatInvite](../methods/messages.exportChatInvite.md) -[$MadelineProto->channels->exportInvite](../methods/channels_exportInvite.md) +[$MadelineProto->channels->exportInvite](../methods/channels.exportInvite.md) diff --git a/old_docs/API_docs_v91/types/ExportedMessageLink.md b/old_docs/API_docs_v91/types/ExportedMessageLink.md index eb2400f6..948e9c90 100644 --- a/old_docs/API_docs_v91/types/ExportedMessageLink.md +++ b/old_docs/API_docs_v91/types/ExportedMessageLink.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->channels->exportMessageLink](../methods/channels_exportMessageLink.md) +[$MadelineProto->channels->exportMessageLink](../methods/channels.exportMessageLink.md) diff --git a/old_docs/API_docs_v91/types/FileHash.md b/old_docs/API_docs_v91/types/FileHash.md index 3201d7e0..a908fb9b 100644 --- a/old_docs/API_docs_v91/types/FileHash.md +++ b/old_docs/API_docs_v91/types/FileHash.md @@ -16,11 +16,11 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->upload->reuploadCdnFile](../methods/upload_reuploadCdnFile.md) +[$MadelineProto->upload->reuploadCdnFile](../methods/upload.reuploadCdnFile.md) -[$MadelineProto->upload->getCdnFileHashes](../methods/upload_getCdnFileHashes.md) +[$MadelineProto->upload->getCdnFileHashes](../methods/upload.getCdnFileHashes.md) -[$MadelineProto->upload->getFileHashes](../methods/upload_getFileHashes.md) +[$MadelineProto->upload->getFileHashes](../methods/upload.getFileHashes.md) diff --git a/old_docs/API_docs_v91/types/JSONValue.md b/old_docs/API_docs_v91/types/JSONValue.md index eed45486..83527ab0 100644 --- a/old_docs/API_docs_v91/types/JSONValue.md +++ b/old_docs/API_docs_v91/types/JSONValue.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->help->getAppConfig](../methods/help_getAppConfig.md) +[$MadelineProto->help->getAppConfig](../methods/help.getAppConfig.md) diff --git a/old_docs/API_docs_v91/types/LangPackDifference.md b/old_docs/API_docs_v91/types/LangPackDifference.md index fd9f41f2..e04125b8 100644 --- a/old_docs/API_docs_v91/types/LangPackDifference.md +++ b/old_docs/API_docs_v91/types/LangPackDifference.md @@ -16,9 +16,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->langpack->getLangPack](../methods/langpack_getLangPack.md) +[$MadelineProto->langpack->getLangPack](../methods/langpack.getLangPack.md) -[$MadelineProto->langpack->getDifference](../methods/langpack_getDifference.md) +[$MadelineProto->langpack->getDifference](../methods/langpack.getDifference.md) diff --git a/old_docs/API_docs_v91/types/LangPackLanguage.md b/old_docs/API_docs_v91/types/LangPackLanguage.md index f6559af9..74c7172d 100644 --- a/old_docs/API_docs_v91/types/LangPackLanguage.md +++ b/old_docs/API_docs_v91/types/LangPackLanguage.md @@ -16,9 +16,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->langpack->getLanguages](../methods/langpack_getLanguages.md) +[$MadelineProto->langpack->getLanguages](../methods/langpack.getLanguages.md) -[$MadelineProto->langpack->getLanguage](../methods/langpack_getLanguage.md) +[$MadelineProto->langpack->getLanguage](../methods/langpack.getLanguage.md) diff --git a/old_docs/API_docs_v91/types/LangPackString.md b/old_docs/API_docs_v91/types/LangPackString.md index f1a43dd9..15f9dc3d 100644 --- a/old_docs/API_docs_v91/types/LangPackString.md +++ b/old_docs/API_docs_v91/types/LangPackString.md @@ -20,7 +20,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->langpack->getStrings](../methods/langpack_getStrings.md) +[$MadelineProto->langpack->getStrings](../methods/langpack.getStrings.md) diff --git a/old_docs/API_docs_v91/types/MessageMedia.md b/old_docs/API_docs_v91/types/MessageMedia.md index 51aa795e..36602552 100644 --- a/old_docs/API_docs_v91/types/MessageMedia.md +++ b/old_docs/API_docs_v91/types/MessageMedia.md @@ -38,9 +38,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getWebPagePreview](../methods/messages_getWebPagePreview.md) +[$MadelineProto->messages->getWebPagePreview](../methods/messages.getWebPagePreview.md) -[$MadelineProto->messages->uploadMedia](../methods/messages_uploadMedia.md) +[$MadelineProto->messages->uploadMedia](../methods/messages.uploadMedia.md) diff --git a/old_docs/API_docs_v91/types/MessageRange.md b/old_docs/API_docs_v91/types/MessageRange.md index c93011aa..ffd65e90 100644 --- a/old_docs/API_docs_v91/types/MessageRange.md +++ b/old_docs/API_docs_v91/types/MessageRange.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getSplitRanges](../methods/messages_getSplitRanges.md) +[$MadelineProto->messages->getSplitRanges](../methods/messages.getSplitRanges.md) diff --git a/old_docs/API_docs_v91/types/NearestDc.md b/old_docs/API_docs_v91/types/NearestDc.md index 31f24377..296a4dff 100644 --- a/old_docs/API_docs_v91/types/NearestDc.md +++ b/old_docs/API_docs_v91/types/NearestDc.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->help->getNearestDc](../methods/help_getNearestDc.md) +[$MadelineProto->help->getNearestDc](../methods/help.getNearestDc.md) diff --git a/old_docs/API_docs_v91/types/PeerNotifySettings.md b/old_docs/API_docs_v91/types/PeerNotifySettings.md index ecb483c5..d3b4833c 100644 --- a/old_docs/API_docs_v91/types/PeerNotifySettings.md +++ b/old_docs/API_docs_v91/types/PeerNotifySettings.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->account->getNotifySettings](../methods/account_getNotifySettings.md) +[$MadelineProto->account->getNotifySettings](../methods/account.getNotifySettings.md) diff --git a/old_docs/API_docs_v91/types/PeerSettings.md b/old_docs/API_docs_v91/types/PeerSettings.md index 60ac3765..31ef7e38 100644 --- a/old_docs/API_docs_v91/types/PeerSettings.md +++ b/old_docs/API_docs_v91/types/PeerSettings.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getPeerSettings](../methods/messages_getPeerSettings.md) +[$MadelineProto->messages->getPeerSettings](../methods/messages.getPeerSettings.md) diff --git a/old_docs/API_docs_v91/types/README.md b/old_docs/API_docs_v91/types/README.md index 392a76b7..d14422bc 100644 --- a/old_docs/API_docs_v91/types/README.md +++ b/old_docs/API_docs_v91/types/README.md @@ -357,163 +357,163 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png [X](X.md) -[account\_AuthorizationForm](account_AuthorizationForm.md) +[account.AuthorizationForm](account.AuthorizationForm.md) -[account\_Authorizations](account_Authorizations.md) +[account.Authorizations](account.Authorizations.md) -[account\_Password](account_Password.md) +[account.Password](account.Password.md) -[account\_PasswordInputSettings](account_PasswordInputSettings.md) +[account.PasswordInputSettings](account.PasswordInputSettings.md) -[account\_PasswordSettings](account_PasswordSettings.md) +[account.PasswordSettings](account.PasswordSettings.md) -[account\_PrivacyRules](account_PrivacyRules.md) +[account.PrivacyRules](account.PrivacyRules.md) -[account\_SentEmailCode](account_SentEmailCode.md) +[account.SentEmailCode](account.SentEmailCode.md) -[account\_Takeout](account_Takeout.md) +[account.Takeout](account.Takeout.md) -[account\_TmpPassword](account_TmpPassword.md) +[account.TmpPassword](account.TmpPassword.md) -[account\_WebAuthorizations](account_WebAuthorizations.md) +[account.WebAuthorizations](account.WebAuthorizations.md) -[auth\_Authorization](auth_Authorization.md) +[auth.Authorization](auth.Authorization.md) -[auth\_CheckedPhone](auth_CheckedPhone.md) +[auth.CheckedPhone](auth.CheckedPhone.md) -[auth\_CodeType](auth_CodeType.md) +[auth.CodeType](auth.CodeType.md) -[auth\_ExportedAuthorization](auth_ExportedAuthorization.md) +[auth.ExportedAuthorization](auth.ExportedAuthorization.md) -[auth\_PasswordRecovery](auth_PasswordRecovery.md) +[auth.PasswordRecovery](auth.PasswordRecovery.md) -[auth\_SentCode](auth_SentCode.md) +[auth.SentCode](auth.SentCode.md) -[auth\_SentCodeType](auth_SentCodeType.md) +[auth.SentCodeType](auth.SentCodeType.md) -[channels\_AdminLogResults](channels_AdminLogResults.md) +[channels.AdminLogResults](channels.AdminLogResults.md) -[channels\_ChannelParticipant](channels_ChannelParticipant.md) +[channels.ChannelParticipant](channels.ChannelParticipant.md) -[channels\_ChannelParticipants](channels_ChannelParticipants.md) +[channels.ChannelParticipants](channels.ChannelParticipants.md) -[contacts\_Blocked](contacts_Blocked.md) +[contacts.Blocked](contacts.Blocked.md) -[contacts\_Contacts](contacts_Contacts.md) +[contacts.Contacts](contacts.Contacts.md) -[contacts\_Found](contacts_Found.md) +[contacts.Found](contacts.Found.md) -[contacts\_ImportedContacts](contacts_ImportedContacts.md) +[contacts.ImportedContacts](contacts.ImportedContacts.md) -[contacts\_Link](contacts_Link.md) +[contacts.Link](contacts.Link.md) -[contacts\_ResolvedPeer](contacts_ResolvedPeer.md) +[contacts.ResolvedPeer](contacts.ResolvedPeer.md) -[contacts\_TopPeers](contacts_TopPeers.md) +[contacts.TopPeers](contacts.TopPeers.md) -[help\_AppUpdate](help_AppUpdate.md) +[help.AppUpdate](help.AppUpdate.md) -[help\_ConfigSimple](help_ConfigSimple.md) +[help.ConfigSimple](help.ConfigSimple.md) -[help\_DeepLinkInfo](help_DeepLinkInfo.md) +[help.DeepLinkInfo](help.DeepLinkInfo.md) -[help\_InviteText](help_InviteText.md) +[help.InviteText](help.InviteText.md) -[help\_PassportConfig](help_PassportConfig.md) +[help.PassportConfig](help.PassportConfig.md) -[help\_ProxyData](help_ProxyData.md) +[help.ProxyData](help.ProxyData.md) -[help\_RecentMeUrls](help_RecentMeUrls.md) +[help.RecentMeUrls](help.RecentMeUrls.md) -[help\_Support](help_Support.md) +[help.Support](help.Support.md) -[help\_SupportName](help_SupportName.md) +[help.SupportName](help.SupportName.md) -[help\_TermsOfService](help_TermsOfService.md) +[help.TermsOfService](help.TermsOfService.md) -[help\_TermsOfServiceUpdate](help_TermsOfServiceUpdate.md) +[help.TermsOfServiceUpdate](help.TermsOfServiceUpdate.md) -[help\_UserInfo](help_UserInfo.md) +[help.UserInfo](help.UserInfo.md) [int](int.md) [long](long.md) -[messages\_AffectedHistory](messages_AffectedHistory.md) +[messages.AffectedHistory](messages.AffectedHistory.md) -[messages\_AffectedMessages](messages_AffectedMessages.md) +[messages.AffectedMessages](messages.AffectedMessages.md) -[messages\_AllStickers](messages_AllStickers.md) +[messages.AllStickers](messages.AllStickers.md) -[messages\_ArchivedStickers](messages_ArchivedStickers.md) +[messages.ArchivedStickers](messages.ArchivedStickers.md) -[messages\_BotCallbackAnswer](messages_BotCallbackAnswer.md) +[messages.BotCallbackAnswer](messages.BotCallbackAnswer.md) -[messages\_BotResults](messages_BotResults.md) +[messages.BotResults](messages.BotResults.md) -[messages\_ChatFull](messages_ChatFull.md) +[messages.ChatFull](messages.ChatFull.md) -[messages\_Chats](messages_Chats.md) +[messages.Chats](messages.Chats.md) -[messages\_DhConfig](messages_DhConfig.md) +[messages.DhConfig](messages.DhConfig.md) -[messages\_Dialogs](messages_Dialogs.md) +[messages.Dialogs](messages.Dialogs.md) -[messages\_FavedStickers](messages_FavedStickers.md) +[messages.FavedStickers](messages.FavedStickers.md) -[messages\_FeaturedStickers](messages_FeaturedStickers.md) +[messages.FeaturedStickers](messages.FeaturedStickers.md) -[messages\_FoundGifs](messages_FoundGifs.md) +[messages.FoundGifs](messages.FoundGifs.md) -[messages\_FoundStickerSets](messages_FoundStickerSets.md) +[messages.FoundStickerSets](messages.FoundStickerSets.md) -[messages\_HighScores](messages_HighScores.md) +[messages.HighScores](messages.HighScores.md) -[messages\_MessageEditData](messages_MessageEditData.md) +[messages.MessageEditData](messages.MessageEditData.md) -[messages\_Messages](messages_Messages.md) +[messages.Messages](messages.Messages.md) -[messages\_PeerDialogs](messages_PeerDialogs.md) +[messages.PeerDialogs](messages.PeerDialogs.md) -[messages\_RecentStickers](messages_RecentStickers.md) +[messages.RecentStickers](messages.RecentStickers.md) -[messages\_SavedGifs](messages_SavedGifs.md) +[messages.SavedGifs](messages.SavedGifs.md) -[messages\_SentEncryptedMessage](messages_SentEncryptedMessage.md) +[messages.SentEncryptedMessage](messages.SentEncryptedMessage.md) -[messages\_StickerSet](messages_StickerSet.md) +[messages.StickerSet](messages.StickerSet.md) -[messages\_StickerSetInstallResult](messages_StickerSetInstallResult.md) +[messages.StickerSetInstallResult](messages.StickerSetInstallResult.md) -[messages\_Stickers](messages_Stickers.md) +[messages.Stickers](messages.Stickers.md) -[payments\_PaymentForm](payments_PaymentForm.md) +[payments.PaymentForm](payments.PaymentForm.md) -[payments\_PaymentReceipt](payments_PaymentReceipt.md) +[payments.PaymentReceipt](payments.PaymentReceipt.md) -[payments\_PaymentResult](payments_PaymentResult.md) +[payments.PaymentResult](payments.PaymentResult.md) -[payments\_SavedInfo](payments_SavedInfo.md) +[payments.SavedInfo](payments.SavedInfo.md) -[payments\_ValidatedRequestedInfo](payments_ValidatedRequestedInfo.md) +[payments.ValidatedRequestedInfo](payments.ValidatedRequestedInfo.md) -[phone\_PhoneCall](phone_PhoneCall.md) +[phone.PhoneCall](phone.PhoneCall.md) -[photos\_Photo](photos_Photo.md) +[photos.Photo](photos.Photo.md) -[photos\_Photos](photos_Photos.md) +[photos.Photos](photos.Photos.md) -[storage\_FileType](storage_FileType.md) +[storage.FileType](storage.FileType.md) -[updates\_ChannelDifference](updates_ChannelDifference.md) +[updates.ChannelDifference](updates.ChannelDifference.md) -[updates\_Difference](updates_Difference.md) +[updates.Difference](updates.Difference.md) -[updates\_State](updates_State.md) +[updates.State](updates.State.md) -[upload\_CdnFile](upload_CdnFile.md) +[upload.CdnFile](upload.CdnFile.md) -[upload\_File](upload_File.md) +[upload.File](upload.File.md) -[upload\_WebFile](upload_WebFile.md) +[upload.WebFile](upload.WebFile.md) diff --git a/old_docs/API_docs_v91/types/ReceivedNotifyMessage.md b/old_docs/API_docs_v91/types/ReceivedNotifyMessage.md index c7fc3b8c..416aa275 100644 --- a/old_docs/API_docs_v91/types/ReceivedNotifyMessage.md +++ b/old_docs/API_docs_v91/types/ReceivedNotifyMessage.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->receivedMessages](../methods/messages_receivedMessages.md) +[$MadelineProto->messages->receivedMessages](../methods/messages.receivedMessages.md) diff --git a/old_docs/API_docs_v91/types/SavedContact.md b/old_docs/API_docs_v91/types/SavedContact.md index c337f3eb..73a91ba6 100644 --- a/old_docs/API_docs_v91/types/SavedContact.md +++ b/old_docs/API_docs_v91/types/SavedContact.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->contacts->getSaved](../methods/contacts_getSaved.md) +[$MadelineProto->contacts->getSaved](../methods/contacts.getSaved.md) diff --git a/old_docs/API_docs_v91/types/SecureValue.md b/old_docs/API_docs_v91/types/SecureValue.md index 8490f399..2ab18f68 100644 --- a/old_docs/API_docs_v91/types/SecureValue.md +++ b/old_docs/API_docs_v91/types/SecureValue.md @@ -16,11 +16,11 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->account->getAllSecureValues](../methods/account_getAllSecureValues.md) +[$MadelineProto->account->getAllSecureValues](../methods/account.getAllSecureValues.md) -[$MadelineProto->account->getSecureValue](../methods/account_getSecureValue.md) +[$MadelineProto->account->getSecureValue](../methods/account.getSecureValue.md) -[$MadelineProto->account->saveSecureValue](../methods/account_saveSecureValue.md) +[$MadelineProto->account->saveSecureValue](../methods/account.saveSecureValue.md) diff --git a/old_docs/API_docs_v91/types/StatsURL.md b/old_docs/API_docs_v91/types/StatsURL.md index 1a2695cd..8704eed7 100644 --- a/old_docs/API_docs_v91/types/StatsURL.md +++ b/old_docs/API_docs_v91/types/StatsURL.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getStatsURL](../methods/messages_getStatsURL.md) +[$MadelineProto->messages->getStatsURL](../methods/messages.getStatsURL.md) diff --git a/old_docs/API_docs_v91/types/StickerSetCovered.md b/old_docs/API_docs_v91/types/StickerSetCovered.md index ffd1da1f..f57cd117 100644 --- a/old_docs/API_docs_v91/types/StickerSetCovered.md +++ b/old_docs/API_docs_v91/types/StickerSetCovered.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getAttachedStickers](../methods/messages_getAttachedStickers.md) +[$MadelineProto->messages->getAttachedStickers](../methods/messages.getAttachedStickers.md) diff --git a/old_docs/API_docs_v91/types/Updates.md b/old_docs/API_docs_v91/types/Updates.md index f913f639..83a13b34 100644 --- a/old_docs/API_docs_v91/types/Updates.md +++ b/old_docs/API_docs_v91/types/Updates.md @@ -28,79 +28,79 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->account->getNotifyExceptions](../methods/account_getNotifyExceptions.md) +[$MadelineProto->account->getNotifyExceptions](../methods/account.getNotifyExceptions.md) -[$MadelineProto->messages->sendMessage](../methods/messages_sendMessage.md) +[$MadelineProto->messages->sendMessage](../methods/messages.sendMessage.md) -[$MadelineProto->messages->sendMedia](../methods/messages_sendMedia.md) +[$MadelineProto->messages->sendMedia](../methods/messages.sendMedia.md) -[$MadelineProto->messages->forwardMessages](../methods/messages_forwardMessages.md) +[$MadelineProto->messages->forwardMessages](../methods/messages.forwardMessages.md) -[$MadelineProto->messages->editChatTitle](../methods/messages_editChatTitle.md) +[$MadelineProto->messages->editChatTitle](../methods/messages.editChatTitle.md) -[$MadelineProto->messages->editChatPhoto](../methods/messages_editChatPhoto.md) +[$MadelineProto->messages->editChatPhoto](../methods/messages.editChatPhoto.md) -[$MadelineProto->messages->addChatUser](../methods/messages_addChatUser.md) +[$MadelineProto->messages->addChatUser](../methods/messages.addChatUser.md) -[$MadelineProto->messages->deleteChatUser](../methods/messages_deleteChatUser.md) +[$MadelineProto->messages->deleteChatUser](../methods/messages.deleteChatUser.md) -[$MadelineProto->messages->createChat](../methods/messages_createChat.md) +[$MadelineProto->messages->createChat](../methods/messages.createChat.md) -[$MadelineProto->messages->importChatInvite](../methods/messages_importChatInvite.md) +[$MadelineProto->messages->importChatInvite](../methods/messages.importChatInvite.md) -[$MadelineProto->messages->startBot](../methods/messages_startBot.md) +[$MadelineProto->messages->startBot](../methods/messages.startBot.md) -[$MadelineProto->messages->toggleChatAdmins](../methods/messages_toggleChatAdmins.md) +[$MadelineProto->messages->toggleChatAdmins](../methods/messages.toggleChatAdmins.md) -[$MadelineProto->messages->migrateChat](../methods/messages_migrateChat.md) +[$MadelineProto->messages->migrateChat](../methods/messages.migrateChat.md) -[$MadelineProto->messages->sendInlineBotResult](../methods/messages_sendInlineBotResult.md) +[$MadelineProto->messages->sendInlineBotResult](../methods/messages.sendInlineBotResult.md) -[$MadelineProto->messages->editMessage](../methods/messages_editMessage.md) +[$MadelineProto->messages->editMessage](../methods/messages.editMessage.md) -[$MadelineProto->messages->getAllDrafts](../methods/messages_getAllDrafts.md) +[$MadelineProto->messages->getAllDrafts](../methods/messages.getAllDrafts.md) -[$MadelineProto->messages->setGameScore](../methods/messages_setGameScore.md) +[$MadelineProto->messages->setGameScore](../methods/messages.setGameScore.md) -[$MadelineProto->messages->sendScreenshotNotification](../methods/messages_sendScreenshotNotification.md) +[$MadelineProto->messages->sendScreenshotNotification](../methods/messages.sendScreenshotNotification.md) -[$MadelineProto->messages->sendMultiMedia](../methods/messages_sendMultiMedia.md) +[$MadelineProto->messages->sendMultiMedia](../methods/messages.sendMultiMedia.md) -[$MadelineProto->messages->updatePinnedMessage](../methods/messages_updatePinnedMessage.md) +[$MadelineProto->messages->updatePinnedMessage](../methods/messages.updatePinnedMessage.md) -[$MadelineProto->messages->sendVote](../methods/messages_sendVote.md) +[$MadelineProto->messages->sendVote](../methods/messages.sendVote.md) -[$MadelineProto->messages->getPollResults](../methods/messages_getPollResults.md) +[$MadelineProto->messages->getPollResults](../methods/messages.getPollResults.md) -[$MadelineProto->help->getAppChangelog](../methods/help_getAppChangelog.md) +[$MadelineProto->help->getAppChangelog](../methods/help.getAppChangelog.md) -[$MadelineProto->channels->createChannel](../methods/channels_createChannel.md) +[$MadelineProto->channels->createChannel](../methods/channels.createChannel.md) -[$MadelineProto->channels->editAdmin](../methods/channels_editAdmin.md) +[$MadelineProto->channels->editAdmin](../methods/channels.editAdmin.md) -[$MadelineProto->channels->editTitle](../methods/channels_editTitle.md) +[$MadelineProto->channels->editTitle](../methods/channels.editTitle.md) -[$MadelineProto->channels->editPhoto](../methods/channels_editPhoto.md) +[$MadelineProto->channels->editPhoto](../methods/channels.editPhoto.md) -[$MadelineProto->channels->joinChannel](../methods/channels_joinChannel.md) +[$MadelineProto->channels->joinChannel](../methods/channels.joinChannel.md) -[$MadelineProto->channels->leaveChannel](../methods/channels_leaveChannel.md) +[$MadelineProto->channels->leaveChannel](../methods/channels.leaveChannel.md) -[$MadelineProto->channels->inviteToChannel](../methods/channels_inviteToChannel.md) +[$MadelineProto->channels->inviteToChannel](../methods/channels.inviteToChannel.md) -[$MadelineProto->channels->deleteChannel](../methods/channels_deleteChannel.md) +[$MadelineProto->channels->deleteChannel](../methods/channels.deleteChannel.md) -[$MadelineProto->channels->toggleInvites](../methods/channels_toggleInvites.md) +[$MadelineProto->channels->toggleInvites](../methods/channels.toggleInvites.md) -[$MadelineProto->channels->toggleSignatures](../methods/channels_toggleSignatures.md) +[$MadelineProto->channels->toggleSignatures](../methods/channels.toggleSignatures.md) -[$MadelineProto->channels->editBanned](../methods/channels_editBanned.md) +[$MadelineProto->channels->editBanned](../methods/channels.editBanned.md) -[$MadelineProto->channels->togglePreHistoryHidden](../methods/channels_togglePreHistoryHidden.md) +[$MadelineProto->channels->togglePreHistoryHidden](../methods/channels.togglePreHistoryHidden.md) -[$MadelineProto->phone->discardCall](../methods/phone_discardCall.md) +[$MadelineProto->phone->discardCall](../methods/phone.discardCall.md) -[$MadelineProto->phone->setCallRating](../methods/phone_setCallRating.md) +[$MadelineProto->phone->setCallRating](../methods/phone.setCallRating.md) diff --git a/old_docs/API_docs_v91/types/User.md b/old_docs/API_docs_v91/types/User.md index 49c9af72..0d20e320 100644 --- a/old_docs/API_docs_v91/types/User.md +++ b/old_docs/API_docs_v91/types/User.md @@ -42,13 +42,13 @@ A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDia ### Methods that return an object of this type (methods): -[$MadelineProto->account->updateProfile](../methods/account_updateProfile.md) +[$MadelineProto->account->updateProfile](../methods/account.updateProfile.md) -[$MadelineProto->account->updateUsername](../methods/account_updateUsername.md) +[$MadelineProto->account->updateUsername](../methods/account.updateUsername.md) -[$MadelineProto->account->changePhone](../methods/account_changePhone.md) +[$MadelineProto->account->changePhone](../methods/account.changePhone.md) -[$MadelineProto->users->getUsers](../methods/users_getUsers.md) +[$MadelineProto->users->getUsers](../methods/users.getUsers.md) diff --git a/old_docs/API_docs_v91/types/UserFull.md b/old_docs/API_docs_v91/types/UserFull.md index 79ad30bb..ac50052f 100644 --- a/old_docs/API_docs_v91/types/UserFull.md +++ b/old_docs/API_docs_v91/types/UserFull.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->users->getFullUser](../methods/users_getFullUser.md) +[$MadelineProto->users->getFullUser](../methods/users.getFullUser.md) diff --git a/old_docs/API_docs_v91/types/UserProfilePhoto.md b/old_docs/API_docs_v91/types/UserProfilePhoto.md index e5243a2e..e81e92fd 100644 --- a/old_docs/API_docs_v91/types/UserProfilePhoto.md +++ b/old_docs/API_docs_v91/types/UserProfilePhoto.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->photos->updateProfilePhoto](../methods/photos_updateProfilePhoto.md) +[$MadelineProto->photos->updateProfilePhoto](../methods/photos.updateProfilePhoto.md) diff --git a/old_docs/API_docs_v91/types/WallPaper.md b/old_docs/API_docs_v91/types/WallPaper.md index 8c5ac7cf..45337565 100644 --- a/old_docs/API_docs_v91/types/WallPaper.md +++ b/old_docs/API_docs_v91/types/WallPaper.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->account->getWallPapers](../methods/account_getWallPapers.md) +[$MadelineProto->account->getWallPapers](../methods/account.getWallPapers.md) diff --git a/old_docs/API_docs_v91/types/WebPage.md b/old_docs/API_docs_v91/types/WebPage.md index a3df791f..f6b61c5e 100644 --- a/old_docs/API_docs_v91/types/WebPage.md +++ b/old_docs/API_docs_v91/types/WebPage.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getWebPage](../methods/messages_getWebPage.md) +[$MadelineProto->messages->getWebPage](../methods/messages.getWebPage.md) diff --git a/old_docs/API_docs_v91/types/account.AuthorizationForm.md b/old_docs/API_docs_v91/types/account.AuthorizationForm.md new file mode 100644 index 00000000..860ff40f --- /dev/null +++ b/old_docs/API_docs_v91/types/account.AuthorizationForm.md @@ -0,0 +1,22 @@ +--- +title: account.AuthorizationForm +description: constructors and methods of type account.AuthorizationForm +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.AuthorizationForm +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.authorizationForm](../constructors/account.authorizationForm.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getAuthorizationForm](../methods/account.getAuthorizationForm.md) + + + diff --git a/old_docs/API_docs_v91/types/account.Authorizations.md b/old_docs/API_docs_v91/types/account.Authorizations.md new file mode 100644 index 00000000..f9112038 --- /dev/null +++ b/old_docs/API_docs_v91/types/account.Authorizations.md @@ -0,0 +1,22 @@ +--- +title: account.Authorizations +description: constructors and methods of type account.Authorizations +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.Authorizations +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.authorizations](../constructors/account.authorizations.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getAuthorizations](../methods/account.getAuthorizations.md) + + + diff --git a/old_docs/API_docs_v91/types/account.Password.md b/old_docs/API_docs_v91/types/account.Password.md new file mode 100644 index 00000000..190704a3 --- /dev/null +++ b/old_docs/API_docs_v91/types/account.Password.md @@ -0,0 +1,22 @@ +--- +title: account.Password +description: constructors and methods of type account.Password +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.Password +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.password](../constructors/account.password.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getPassword](../methods/account.getPassword.md) + + + diff --git a/old_docs/API_docs_v91/types/account.PasswordInputSettings.md b/old_docs/API_docs_v91/types/account.PasswordInputSettings.md new file mode 100644 index 00000000..72e11fdc --- /dev/null +++ b/old_docs/API_docs_v91/types/account.PasswordInputSettings.md @@ -0,0 +1,20 @@ +--- +title: account.PasswordInputSettings +description: constructors and methods of type account.PasswordInputSettings +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.PasswordInputSettings +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.passwordInputSettings](../constructors/account.passwordInputSettings.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v91/types/account.PasswordSettings.md b/old_docs/API_docs_v91/types/account.PasswordSettings.md new file mode 100644 index 00000000..47016832 --- /dev/null +++ b/old_docs/API_docs_v91/types/account.PasswordSettings.md @@ -0,0 +1,22 @@ +--- +title: account.PasswordSettings +description: constructors and methods of type account.PasswordSettings +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.PasswordSettings +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.passwordSettings](../constructors/account.passwordSettings.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getPasswordSettings](../methods/account.getPasswordSettings.md) + + + diff --git a/old_docs/API_docs_v91/types/account.PrivacyRules.md b/old_docs/API_docs_v91/types/account.PrivacyRules.md new file mode 100644 index 00000000..738651ad --- /dev/null +++ b/old_docs/API_docs_v91/types/account.PrivacyRules.md @@ -0,0 +1,24 @@ +--- +title: account.PrivacyRules +description: constructors and methods of type account.PrivacyRules +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.PrivacyRules +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.privacyRules](../constructors/account.privacyRules.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getPrivacy](../methods/account.getPrivacy.md) + +[$MadelineProto->account->setPrivacy](../methods/account.setPrivacy.md) + + + diff --git a/old_docs/API_docs_v91/types/account.SentEmailCode.md b/old_docs/API_docs_v91/types/account.SentEmailCode.md new file mode 100644 index 00000000..6adcd649 --- /dev/null +++ b/old_docs/API_docs_v91/types/account.SentEmailCode.md @@ -0,0 +1,22 @@ +--- +title: account.SentEmailCode +description: constructors and methods of type account.SentEmailCode +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.SentEmailCode +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.sentEmailCode](../constructors/account.sentEmailCode.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->sendVerifyEmailCode](../methods/account.sendVerifyEmailCode.md) + + + diff --git a/old_docs/API_docs_v91/types/account.Takeout.md b/old_docs/API_docs_v91/types/account.Takeout.md new file mode 100644 index 00000000..96998ce4 --- /dev/null +++ b/old_docs/API_docs_v91/types/account.Takeout.md @@ -0,0 +1,22 @@ +--- +title: account.Takeout +description: constructors and methods of type account.Takeout +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.Takeout +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.takeout](../constructors/account.takeout.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->initTakeoutSession](../methods/account.initTakeoutSession.md) + + + diff --git a/old_docs/API_docs_v91/types/account.TmpPassword.md b/old_docs/API_docs_v91/types/account.TmpPassword.md new file mode 100644 index 00000000..2116c6c0 --- /dev/null +++ b/old_docs/API_docs_v91/types/account.TmpPassword.md @@ -0,0 +1,22 @@ +--- +title: account.TmpPassword +description: constructors and methods of type account.TmpPassword +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.TmpPassword +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.tmpPassword](../constructors/account.tmpPassword.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getTmpPassword](../methods/account.getTmpPassword.md) + + + diff --git a/old_docs/API_docs_v91/types/account.WebAuthorizations.md b/old_docs/API_docs_v91/types/account.WebAuthorizations.md new file mode 100644 index 00000000..931633ef --- /dev/null +++ b/old_docs/API_docs_v91/types/account.WebAuthorizations.md @@ -0,0 +1,22 @@ +--- +title: account.WebAuthorizations +description: constructors and methods of type account.WebAuthorizations +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.WebAuthorizations +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.webAuthorizations](../constructors/account.webAuthorizations.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getWebAuthorizations](../methods/account.getWebAuthorizations.md) + + + diff --git a/old_docs/API_docs_v91/types/account_AuthorizationForm.md b/old_docs/API_docs_v91/types/account_AuthorizationForm.md deleted file mode 100644 index 5eec2b92..00000000 --- a/old_docs/API_docs_v91/types/account_AuthorizationForm.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_AuthorizationForm -description: constructors and methods of type account_AuthorizationForm -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_AuthorizationForm -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_authorizationForm](../constructors/account_authorizationForm.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getAuthorizationForm](../methods/account_getAuthorizationForm.md) - - - diff --git a/old_docs/API_docs_v91/types/account_Authorizations.md b/old_docs/API_docs_v91/types/account_Authorizations.md deleted file mode 100644 index 4709ddb5..00000000 --- a/old_docs/API_docs_v91/types/account_Authorizations.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_Authorizations -description: constructors and methods of type account_Authorizations -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_Authorizations -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_authorizations](../constructors/account_authorizations.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getAuthorizations](../methods/account_getAuthorizations.md) - - - diff --git a/old_docs/API_docs_v91/types/account_Password.md b/old_docs/API_docs_v91/types/account_Password.md deleted file mode 100644 index f3b6e065..00000000 --- a/old_docs/API_docs_v91/types/account_Password.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_Password -description: constructors and methods of type account_Password -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_Password -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_password](../constructors/account_password.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getPassword](../methods/account_getPassword.md) - - - diff --git a/old_docs/API_docs_v91/types/account_PasswordInputSettings.md b/old_docs/API_docs_v91/types/account_PasswordInputSettings.md deleted file mode 100644 index a6455eb8..00000000 --- a/old_docs/API_docs_v91/types/account_PasswordInputSettings.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: account_PasswordInputSettings -description: constructors and methods of type account_PasswordInputSettings -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_PasswordInputSettings -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_passwordInputSettings](../constructors/account_passwordInputSettings.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v91/types/account_PasswordSettings.md b/old_docs/API_docs_v91/types/account_PasswordSettings.md deleted file mode 100644 index 687eb217..00000000 --- a/old_docs/API_docs_v91/types/account_PasswordSettings.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_PasswordSettings -description: constructors and methods of type account_PasswordSettings -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_PasswordSettings -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_passwordSettings](../constructors/account_passwordSettings.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getPasswordSettings](../methods/account_getPasswordSettings.md) - - - diff --git a/old_docs/API_docs_v91/types/account_PrivacyRules.md b/old_docs/API_docs_v91/types/account_PrivacyRules.md deleted file mode 100644 index 40b00077..00000000 --- a/old_docs/API_docs_v91/types/account_PrivacyRules.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: account_PrivacyRules -description: constructors and methods of type account_PrivacyRules -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_PrivacyRules -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_privacyRules](../constructors/account_privacyRules.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getPrivacy](../methods/account_getPrivacy.md) - -[$MadelineProto->account->setPrivacy](../methods/account_setPrivacy.md) - - - diff --git a/old_docs/API_docs_v91/types/account_SentEmailCode.md b/old_docs/API_docs_v91/types/account_SentEmailCode.md deleted file mode 100644 index 4aa38335..00000000 --- a/old_docs/API_docs_v91/types/account_SentEmailCode.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_SentEmailCode -description: constructors and methods of type account_SentEmailCode -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_SentEmailCode -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_sentEmailCode](../constructors/account_sentEmailCode.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->sendVerifyEmailCode](../methods/account_sendVerifyEmailCode.md) - - - diff --git a/old_docs/API_docs_v91/types/account_Takeout.md b/old_docs/API_docs_v91/types/account_Takeout.md deleted file mode 100644 index 26960f88..00000000 --- a/old_docs/API_docs_v91/types/account_Takeout.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_Takeout -description: constructors and methods of type account_Takeout -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_Takeout -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_takeout](../constructors/account_takeout.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->initTakeoutSession](../methods/account_initTakeoutSession.md) - - - diff --git a/old_docs/API_docs_v91/types/account_TmpPassword.md b/old_docs/API_docs_v91/types/account_TmpPassword.md deleted file mode 100644 index d7557921..00000000 --- a/old_docs/API_docs_v91/types/account_TmpPassword.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_TmpPassword -description: constructors and methods of type account_TmpPassword -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_TmpPassword -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_tmpPassword](../constructors/account_tmpPassword.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getTmpPassword](../methods/account_getTmpPassword.md) - - - diff --git a/old_docs/API_docs_v91/types/account_WebAuthorizations.md b/old_docs/API_docs_v91/types/account_WebAuthorizations.md deleted file mode 100644 index 1202632b..00000000 --- a/old_docs/API_docs_v91/types/account_WebAuthorizations.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_WebAuthorizations -description: constructors and methods of type account_WebAuthorizations -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_WebAuthorizations -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_webAuthorizations](../constructors/account_webAuthorizations.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getWebAuthorizations](../methods/account_getWebAuthorizations.md) - - - diff --git a/old_docs/API_docs_v91/types/auth.Authorization.md b/old_docs/API_docs_v91/types/auth.Authorization.md new file mode 100644 index 00000000..adcfa7d3 --- /dev/null +++ b/old_docs/API_docs_v91/types/auth.Authorization.md @@ -0,0 +1,32 @@ +--- +title: auth.Authorization +description: constructors and methods of type auth.Authorization +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.Authorization +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.authorization](../constructors/auth.authorization.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->signUp](../methods/auth.signUp.md) + +[$MadelineProto->auth->signIn](../methods/auth.signIn.md) + +[$MadelineProto->auth->importAuthorization](../methods/auth.importAuthorization.md) + +[$MadelineProto->auth->importBotAuthorization](../methods/auth.importBotAuthorization.md) + +[$MadelineProto->auth->checkPassword](../methods/auth.checkPassword.md) + +[$MadelineProto->auth->recoverPassword](../methods/auth.recoverPassword.md) + + + diff --git a/old_docs/API_docs_v91/types/auth.CheckedPhone.md b/old_docs/API_docs_v91/types/auth.CheckedPhone.md new file mode 100644 index 00000000..1d6672e7 --- /dev/null +++ b/old_docs/API_docs_v91/types/auth.CheckedPhone.md @@ -0,0 +1,20 @@ +--- +title: auth.CheckedPhone +description: constructors and methods of type auth.CheckedPhone +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.CheckedPhone +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.checkedPhone](../constructors/auth.checkedPhone.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v91/types/auth.CodeType.md b/old_docs/API_docs_v91/types/auth.CodeType.md new file mode 100644 index 00000000..8d2b308d --- /dev/null +++ b/old_docs/API_docs_v91/types/auth.CodeType.md @@ -0,0 +1,24 @@ +--- +title: auth.CodeType +description: constructors and methods of type auth.CodeType +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.CodeType +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.codeTypeSms](../constructors/auth.codeTypeSms.md) + +[auth.codeTypeCall](../constructors/auth.codeTypeCall.md) + +[auth.codeTypeFlashCall](../constructors/auth.codeTypeFlashCall.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v91/types/auth.ExportedAuthorization.md b/old_docs/API_docs_v91/types/auth.ExportedAuthorization.md new file mode 100644 index 00000000..ccb38d60 --- /dev/null +++ b/old_docs/API_docs_v91/types/auth.ExportedAuthorization.md @@ -0,0 +1,22 @@ +--- +title: auth.ExportedAuthorization +description: constructors and methods of type auth.ExportedAuthorization +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.ExportedAuthorization +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.exportedAuthorization](../constructors/auth.exportedAuthorization.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->exportAuthorization](../methods/auth.exportAuthorization.md) + + + diff --git a/old_docs/API_docs_v91/types/auth.PasswordRecovery.md b/old_docs/API_docs_v91/types/auth.PasswordRecovery.md new file mode 100644 index 00000000..c1c18992 --- /dev/null +++ b/old_docs/API_docs_v91/types/auth.PasswordRecovery.md @@ -0,0 +1,22 @@ +--- +title: auth.PasswordRecovery +description: constructors and methods of type auth.PasswordRecovery +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.PasswordRecovery +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.passwordRecovery](../constructors/auth.passwordRecovery.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->requestPasswordRecovery](../methods/auth.requestPasswordRecovery.md) + + + diff --git a/old_docs/API_docs_v91/types/auth.SentCode.md b/old_docs/API_docs_v91/types/auth.SentCode.md new file mode 100644 index 00000000..4950edeb --- /dev/null +++ b/old_docs/API_docs_v91/types/auth.SentCode.md @@ -0,0 +1,30 @@ +--- +title: auth.SentCode +description: constructors and methods of type auth.SentCode +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.SentCode +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.sentCode](../constructors/auth.sentCode.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->sendCode](../methods/auth.sendCode.md) + +[$MadelineProto->auth->resendCode](../methods/auth.resendCode.md) + +[$MadelineProto->account->sendChangePhoneCode](../methods/account.sendChangePhoneCode.md) + +[$MadelineProto->account->sendConfirmPhoneCode](../methods/account.sendConfirmPhoneCode.md) + +[$MadelineProto->account->sendVerifyPhoneCode](../methods/account.sendVerifyPhoneCode.md) + + + diff --git a/old_docs/API_docs_v91/types/auth.SentCodeType.md b/old_docs/API_docs_v91/types/auth.SentCodeType.md new file mode 100644 index 00000000..7c7c534e --- /dev/null +++ b/old_docs/API_docs_v91/types/auth.SentCodeType.md @@ -0,0 +1,26 @@ +--- +title: auth.SentCodeType +description: constructors and methods of type auth.SentCodeType +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.SentCodeType +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.sentCodeTypeApp](../constructors/auth.sentCodeTypeApp.md) + +[auth.sentCodeTypeSms](../constructors/auth.sentCodeTypeSms.md) + +[auth.sentCodeTypeCall](../constructors/auth.sentCodeTypeCall.md) + +[auth.sentCodeTypeFlashCall](../constructors/auth.sentCodeTypeFlashCall.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v91/types/auth_Authorization.md b/old_docs/API_docs_v91/types/auth_Authorization.md deleted file mode 100644 index 5a34fc2d..00000000 --- a/old_docs/API_docs_v91/types/auth_Authorization.md +++ /dev/null @@ -1,32 +0,0 @@ ---- -title: auth_Authorization -description: constructors and methods of type auth_Authorization -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_Authorization -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_authorization](../constructors/auth_authorization.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->signUp](../methods/auth_signUp.md) - -[$MadelineProto->auth->signIn](../methods/auth_signIn.md) - -[$MadelineProto->auth->importAuthorization](../methods/auth_importAuthorization.md) - -[$MadelineProto->auth->importBotAuthorization](../methods/auth_importBotAuthorization.md) - -[$MadelineProto->auth->checkPassword](../methods/auth_checkPassword.md) - -[$MadelineProto->auth->recoverPassword](../methods/auth_recoverPassword.md) - - - diff --git a/old_docs/API_docs_v91/types/auth_CheckedPhone.md b/old_docs/API_docs_v91/types/auth_CheckedPhone.md deleted file mode 100644 index e2b823f7..00000000 --- a/old_docs/API_docs_v91/types/auth_CheckedPhone.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: auth_CheckedPhone -description: constructors and methods of type auth_CheckedPhone -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_CheckedPhone -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_checkedPhone](../constructors/auth_checkedPhone.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v91/types/auth_CodeType.md b/old_docs/API_docs_v91/types/auth_CodeType.md deleted file mode 100644 index 3cd9a7b7..00000000 --- a/old_docs/API_docs_v91/types/auth_CodeType.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: auth_CodeType -description: constructors and methods of type auth_CodeType -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_CodeType -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_codeTypeSms](../constructors/auth_codeTypeSms.md) - -[auth\_codeTypeCall](../constructors/auth_codeTypeCall.md) - -[auth\_codeTypeFlashCall](../constructors/auth_codeTypeFlashCall.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v91/types/auth_ExportedAuthorization.md b/old_docs/API_docs_v91/types/auth_ExportedAuthorization.md deleted file mode 100644 index 69e5c42e..00000000 --- a/old_docs/API_docs_v91/types/auth_ExportedAuthorization.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: auth_ExportedAuthorization -description: constructors and methods of type auth_ExportedAuthorization -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_ExportedAuthorization -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_exportedAuthorization](../constructors/auth_exportedAuthorization.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->exportAuthorization](../methods/auth_exportAuthorization.md) - - - diff --git a/old_docs/API_docs_v91/types/auth_PasswordRecovery.md b/old_docs/API_docs_v91/types/auth_PasswordRecovery.md deleted file mode 100644 index 4962bf42..00000000 --- a/old_docs/API_docs_v91/types/auth_PasswordRecovery.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: auth_PasswordRecovery -description: constructors and methods of type auth_PasswordRecovery -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_PasswordRecovery -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_passwordRecovery](../constructors/auth_passwordRecovery.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->requestPasswordRecovery](../methods/auth_requestPasswordRecovery.md) - - - diff --git a/old_docs/API_docs_v91/types/auth_SentCode.md b/old_docs/API_docs_v91/types/auth_SentCode.md deleted file mode 100644 index 140d956c..00000000 --- a/old_docs/API_docs_v91/types/auth_SentCode.md +++ /dev/null @@ -1,30 +0,0 @@ ---- -title: auth_SentCode -description: constructors and methods of type auth_SentCode -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_SentCode -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_sentCode](../constructors/auth_sentCode.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->sendCode](../methods/auth_sendCode.md) - -[$MadelineProto->auth->resendCode](../methods/auth_resendCode.md) - -[$MadelineProto->account->sendChangePhoneCode](../methods/account_sendChangePhoneCode.md) - -[$MadelineProto->account->sendConfirmPhoneCode](../methods/account_sendConfirmPhoneCode.md) - -[$MadelineProto->account->sendVerifyPhoneCode](../methods/account_sendVerifyPhoneCode.md) - - - diff --git a/old_docs/API_docs_v91/types/auth_SentCodeType.md b/old_docs/API_docs_v91/types/auth_SentCodeType.md deleted file mode 100644 index 8dfcb93b..00000000 --- a/old_docs/API_docs_v91/types/auth_SentCodeType.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: auth_SentCodeType -description: constructors and methods of type auth_SentCodeType -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_SentCodeType -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_sentCodeTypeApp](../constructors/auth_sentCodeTypeApp.md) - -[auth\_sentCodeTypeSms](../constructors/auth_sentCodeTypeSms.md) - -[auth\_sentCodeTypeCall](../constructors/auth_sentCodeTypeCall.md) - -[auth\_sentCodeTypeFlashCall](../constructors/auth_sentCodeTypeFlashCall.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v91/types/channels.AdminLogResults.md b/old_docs/API_docs_v91/types/channels.AdminLogResults.md new file mode 100644 index 00000000..7855a4fd --- /dev/null +++ b/old_docs/API_docs_v91/types/channels.AdminLogResults.md @@ -0,0 +1,22 @@ +--- +title: channels.AdminLogResults +description: constructors and methods of type channels.AdminLogResults +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: channels.AdminLogResults +[Back to types index](index.md) + + + +### Possible values (constructors): + +[channels.adminLogResults](../constructors/channels.adminLogResults.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->channels->getAdminLog](../methods/channels.getAdminLog.md) + + + diff --git a/old_docs/API_docs_v91/types/channels.ChannelParticipant.md b/old_docs/API_docs_v91/types/channels.ChannelParticipant.md new file mode 100644 index 00000000..8dc7f7e6 --- /dev/null +++ b/old_docs/API_docs_v91/types/channels.ChannelParticipant.md @@ -0,0 +1,22 @@ +--- +title: channels.ChannelParticipant +description: constructors and methods of type channels.ChannelParticipant +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: channels.ChannelParticipant +[Back to types index](index.md) + + + +### Possible values (constructors): + +[channels.channelParticipant](../constructors/channels.channelParticipant.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->channels->getParticipant](../methods/channels.getParticipant.md) + + + diff --git a/old_docs/API_docs_v91/types/channels.ChannelParticipants.md b/old_docs/API_docs_v91/types/channels.ChannelParticipants.md new file mode 100644 index 00000000..d448e007 --- /dev/null +++ b/old_docs/API_docs_v91/types/channels.ChannelParticipants.md @@ -0,0 +1,24 @@ +--- +title: channels.ChannelParticipants +description: constructors and methods of type channels.ChannelParticipants +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: channels.ChannelParticipants +[Back to types index](index.md) + + + +### Possible values (constructors): + +[channels.channelParticipants](../constructors/channels.channelParticipants.md) + +[channels.channelParticipantsNotModified](../constructors/channels.channelParticipantsNotModified.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->channels->getParticipants](../methods/channels.getParticipants.md) + + + diff --git a/old_docs/API_docs_v91/types/channels_AdminLogResults.md b/old_docs/API_docs_v91/types/channels_AdminLogResults.md deleted file mode 100644 index 4e9b5544..00000000 --- a/old_docs/API_docs_v91/types/channels_AdminLogResults.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: channels_AdminLogResults -description: constructors and methods of type channels_AdminLogResults -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: channels\_AdminLogResults -[Back to types index](index.md) - - - -### Possible values (constructors): - -[channels\_adminLogResults](../constructors/channels_adminLogResults.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->channels->getAdminLog](../methods/channels_getAdminLog.md) - - - diff --git a/old_docs/API_docs_v91/types/channels_ChannelParticipant.md b/old_docs/API_docs_v91/types/channels_ChannelParticipant.md deleted file mode 100644 index 3d4667c3..00000000 --- a/old_docs/API_docs_v91/types/channels_ChannelParticipant.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: channels_ChannelParticipant -description: constructors and methods of type channels_ChannelParticipant -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: channels\_ChannelParticipant -[Back to types index](index.md) - - - -### Possible values (constructors): - -[channels\_channelParticipant](../constructors/channels_channelParticipant.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->channels->getParticipant](../methods/channels_getParticipant.md) - - - diff --git a/old_docs/API_docs_v91/types/channels_ChannelParticipants.md b/old_docs/API_docs_v91/types/channels_ChannelParticipants.md deleted file mode 100644 index 80a41dd9..00000000 --- a/old_docs/API_docs_v91/types/channels_ChannelParticipants.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: channels_ChannelParticipants -description: constructors and methods of type channels_ChannelParticipants -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: channels\_ChannelParticipants -[Back to types index](index.md) - - - -### Possible values (constructors): - -[channels\_channelParticipants](../constructors/channels_channelParticipants.md) - -[channels\_channelParticipantsNotModified](../constructors/channels_channelParticipantsNotModified.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->channels->getParticipants](../methods/channels_getParticipants.md) - - - diff --git a/old_docs/API_docs_v91/types/contacts.Blocked.md b/old_docs/API_docs_v91/types/contacts.Blocked.md new file mode 100644 index 00000000..cb2af80f --- /dev/null +++ b/old_docs/API_docs_v91/types/contacts.Blocked.md @@ -0,0 +1,24 @@ +--- +title: contacts.Blocked +description: constructors and methods of type contacts.Blocked +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Blocked +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.blocked](../constructors/contacts.blocked.md) + +[contacts.blockedSlice](../constructors/contacts.blockedSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getBlocked](../methods/contacts.getBlocked.md) + + + diff --git a/old_docs/API_docs_v91/types/contacts.Contacts.md b/old_docs/API_docs_v91/types/contacts.Contacts.md new file mode 100644 index 00000000..5f695d8e --- /dev/null +++ b/old_docs/API_docs_v91/types/contacts.Contacts.md @@ -0,0 +1,24 @@ +--- +title: contacts.Contacts +description: constructors and methods of type contacts.Contacts +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Contacts +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.contactsNotModified](../constructors/contacts.contactsNotModified.md) + +[contacts.contacts](../constructors/contacts.contacts.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getContacts](../methods/contacts.getContacts.md) + + + diff --git a/old_docs/API_docs_v91/types/contacts.Found.md b/old_docs/API_docs_v91/types/contacts.Found.md new file mode 100644 index 00000000..7df98927 --- /dev/null +++ b/old_docs/API_docs_v91/types/contacts.Found.md @@ -0,0 +1,22 @@ +--- +title: contacts.Found +description: constructors and methods of type contacts.Found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Found +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.found](../constructors/contacts.found.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->search](../methods/contacts.search.md) + + + diff --git a/old_docs/API_docs_v91/types/contacts.ImportedContacts.md b/old_docs/API_docs_v91/types/contacts.ImportedContacts.md new file mode 100644 index 00000000..16795bab --- /dev/null +++ b/old_docs/API_docs_v91/types/contacts.ImportedContacts.md @@ -0,0 +1,22 @@ +--- +title: contacts.ImportedContacts +description: constructors and methods of type contacts.ImportedContacts +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.ImportedContacts +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.importedContacts](../constructors/contacts.importedContacts.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->importContacts](../methods/contacts.importContacts.md) + + + diff --git a/old_docs/API_docs_v91/types/contacts.Link.md b/old_docs/API_docs_v91/types/contacts.Link.md new file mode 100644 index 00000000..eb9da683 --- /dev/null +++ b/old_docs/API_docs_v91/types/contacts.Link.md @@ -0,0 +1,22 @@ +--- +title: contacts.Link +description: constructors and methods of type contacts.Link +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Link +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.link](../constructors/contacts.link.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->deleteContact](../methods/contacts.deleteContact.md) + + + diff --git a/old_docs/API_docs_v91/types/contacts.ResolvedPeer.md b/old_docs/API_docs_v91/types/contacts.ResolvedPeer.md new file mode 100644 index 00000000..13630d54 --- /dev/null +++ b/old_docs/API_docs_v91/types/contacts.ResolvedPeer.md @@ -0,0 +1,22 @@ +--- +title: contacts.ResolvedPeer +description: constructors and methods of type contacts.ResolvedPeer +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.ResolvedPeer +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.resolvedPeer](../constructors/contacts.resolvedPeer.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->resolveUsername](../methods/contacts.resolveUsername.md) + + + diff --git a/old_docs/API_docs_v91/types/contacts.TopPeers.md b/old_docs/API_docs_v91/types/contacts.TopPeers.md new file mode 100644 index 00000000..563e63aa --- /dev/null +++ b/old_docs/API_docs_v91/types/contacts.TopPeers.md @@ -0,0 +1,26 @@ +--- +title: contacts.TopPeers +description: constructors and methods of type contacts.TopPeers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.TopPeers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.topPeersNotModified](../constructors/contacts.topPeersNotModified.md) + +[contacts.topPeers](../constructors/contacts.topPeers.md) + +[contacts.topPeersDisabled](../constructors/contacts.topPeersDisabled.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getTopPeers](../methods/contacts.getTopPeers.md) + + + diff --git a/old_docs/API_docs_v91/types/contacts_Blocked.md b/old_docs/API_docs_v91/types/contacts_Blocked.md deleted file mode 100644 index 3e1f02eb..00000000 --- a/old_docs/API_docs_v91/types/contacts_Blocked.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: contacts_Blocked -description: constructors and methods of type contacts_Blocked -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Blocked -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_blocked](../constructors/contacts_blocked.md) - -[contacts\_blockedSlice](../constructors/contacts_blockedSlice.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->getBlocked](../methods/contacts_getBlocked.md) - - - diff --git a/old_docs/API_docs_v91/types/contacts_Contacts.md b/old_docs/API_docs_v91/types/contacts_Contacts.md deleted file mode 100644 index 5d6c9506..00000000 --- a/old_docs/API_docs_v91/types/contacts_Contacts.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: contacts_Contacts -description: constructors and methods of type contacts_Contacts -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Contacts -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_contactsNotModified](../constructors/contacts_contactsNotModified.md) - -[contacts\_contacts](../constructors/contacts_contacts.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->getContacts](../methods/contacts_getContacts.md) - - - diff --git a/old_docs/API_docs_v91/types/contacts_Found.md b/old_docs/API_docs_v91/types/contacts_Found.md deleted file mode 100644 index 806101cf..00000000 --- a/old_docs/API_docs_v91/types/contacts_Found.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_Found -description: constructors and methods of type contacts_Found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Found -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_found](../constructors/contacts_found.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->search](../methods/contacts_search.md) - - - diff --git a/old_docs/API_docs_v91/types/contacts_ImportedContacts.md b/old_docs/API_docs_v91/types/contacts_ImportedContacts.md deleted file mode 100644 index faf7e615..00000000 --- a/old_docs/API_docs_v91/types/contacts_ImportedContacts.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_ImportedContacts -description: constructors and methods of type contacts_ImportedContacts -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_ImportedContacts -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_importedContacts](../constructors/contacts_importedContacts.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->importContacts](../methods/contacts_importContacts.md) - - - diff --git a/old_docs/API_docs_v91/types/contacts_Link.md b/old_docs/API_docs_v91/types/contacts_Link.md deleted file mode 100644 index 01556606..00000000 --- a/old_docs/API_docs_v91/types/contacts_Link.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_Link -description: constructors and methods of type contacts_Link -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Link -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_link](../constructors/contacts_link.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->deleteContact](../methods/contacts_deleteContact.md) - - - diff --git a/old_docs/API_docs_v91/types/contacts_ResolvedPeer.md b/old_docs/API_docs_v91/types/contacts_ResolvedPeer.md deleted file mode 100644 index cf107f7c..00000000 --- a/old_docs/API_docs_v91/types/contacts_ResolvedPeer.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_ResolvedPeer -description: constructors and methods of type contacts_ResolvedPeer -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_ResolvedPeer -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_resolvedPeer](../constructors/contacts_resolvedPeer.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->resolveUsername](../methods/contacts_resolveUsername.md) - - - diff --git a/old_docs/API_docs_v91/types/contacts_TopPeers.md b/old_docs/API_docs_v91/types/contacts_TopPeers.md deleted file mode 100644 index dc8ee478..00000000 --- a/old_docs/API_docs_v91/types/contacts_TopPeers.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: contacts_TopPeers -description: constructors and methods of type contacts_TopPeers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_TopPeers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_topPeersNotModified](../constructors/contacts_topPeersNotModified.md) - -[contacts\_topPeers](../constructors/contacts_topPeers.md) - -[contacts\_topPeersDisabled](../constructors/contacts_topPeersDisabled.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->getTopPeers](../methods/contacts_getTopPeers.md) - - - diff --git a/old_docs/API_docs_v91/types/help.AppUpdate.md b/old_docs/API_docs_v91/types/help.AppUpdate.md new file mode 100644 index 00000000..285ec2b7 --- /dev/null +++ b/old_docs/API_docs_v91/types/help.AppUpdate.md @@ -0,0 +1,24 @@ +--- +title: help.AppUpdate +description: constructors and methods of type help.AppUpdate +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.AppUpdate +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.appUpdate](../constructors/help.appUpdate.md) + +[help.noAppUpdate](../constructors/help.noAppUpdate.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getAppUpdate](../methods/help.getAppUpdate.md) + + + diff --git a/old_docs/API_docs_v91/types/help.ConfigSimple.md b/old_docs/API_docs_v91/types/help.ConfigSimple.md new file mode 100644 index 00000000..92d9e15f --- /dev/null +++ b/old_docs/API_docs_v91/types/help.ConfigSimple.md @@ -0,0 +1,20 @@ +--- +title: help.ConfigSimple +description: constructors and methods of type help.ConfigSimple +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.ConfigSimple +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.configSimple](../constructors/help.configSimple.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v91/types/help.DeepLinkInfo.md b/old_docs/API_docs_v91/types/help.DeepLinkInfo.md new file mode 100644 index 00000000..356af1c4 --- /dev/null +++ b/old_docs/API_docs_v91/types/help.DeepLinkInfo.md @@ -0,0 +1,24 @@ +--- +title: help.DeepLinkInfo +description: constructors and methods of type help.DeepLinkInfo +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.DeepLinkInfo +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.deepLinkInfoEmpty](../constructors/help.deepLinkInfoEmpty.md) + +[help.deepLinkInfo](../constructors/help.deepLinkInfo.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getDeepLinkInfo](../methods/help.getDeepLinkInfo.md) + + + diff --git a/old_docs/API_docs_v91/types/help.InviteText.md b/old_docs/API_docs_v91/types/help.InviteText.md new file mode 100644 index 00000000..43293f46 --- /dev/null +++ b/old_docs/API_docs_v91/types/help.InviteText.md @@ -0,0 +1,22 @@ +--- +title: help.InviteText +description: constructors and methods of type help.InviteText +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.InviteText +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.inviteText](../constructors/help.inviteText.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getInviteText](../methods/help.getInviteText.md) + + + diff --git a/old_docs/API_docs_v91/types/help.PassportConfig.md b/old_docs/API_docs_v91/types/help.PassportConfig.md new file mode 100644 index 00000000..15eb12cc --- /dev/null +++ b/old_docs/API_docs_v91/types/help.PassportConfig.md @@ -0,0 +1,24 @@ +--- +title: help.PassportConfig +description: constructors and methods of type help.PassportConfig +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.PassportConfig +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.passportConfigNotModified](../constructors/help.passportConfigNotModified.md) + +[help.passportConfig](../constructors/help.passportConfig.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getPassportConfig](../methods/help.getPassportConfig.md) + + + diff --git a/old_docs/API_docs_v91/types/help.ProxyData.md b/old_docs/API_docs_v91/types/help.ProxyData.md new file mode 100644 index 00000000..e45b4211 --- /dev/null +++ b/old_docs/API_docs_v91/types/help.ProxyData.md @@ -0,0 +1,24 @@ +--- +title: help.ProxyData +description: constructors and methods of type help.ProxyData +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.ProxyData +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.proxyDataEmpty](../constructors/help.proxyDataEmpty.md) + +[help.proxyDataPromo](../constructors/help.proxyDataPromo.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getProxyData](../methods/help.getProxyData.md) + + + diff --git a/old_docs/API_docs_v91/types/help.RecentMeUrls.md b/old_docs/API_docs_v91/types/help.RecentMeUrls.md new file mode 100644 index 00000000..6b7ee2c1 --- /dev/null +++ b/old_docs/API_docs_v91/types/help.RecentMeUrls.md @@ -0,0 +1,22 @@ +--- +title: help.RecentMeUrls +description: constructors and methods of type help.RecentMeUrls +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.RecentMeUrls +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.recentMeUrls](../constructors/help.recentMeUrls.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getRecentMeUrls](../methods/help.getRecentMeUrls.md) + + + diff --git a/old_docs/API_docs_v91/types/help.Support.md b/old_docs/API_docs_v91/types/help.Support.md new file mode 100644 index 00000000..42c20483 --- /dev/null +++ b/old_docs/API_docs_v91/types/help.Support.md @@ -0,0 +1,22 @@ +--- +title: help.Support +description: constructors and methods of type help.Support +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.Support +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.support](../constructors/help.support.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getSupport](../methods/help.getSupport.md) + + + diff --git a/old_docs/API_docs_v91/types/help.SupportName.md b/old_docs/API_docs_v91/types/help.SupportName.md new file mode 100644 index 00000000..7f68199a --- /dev/null +++ b/old_docs/API_docs_v91/types/help.SupportName.md @@ -0,0 +1,22 @@ +--- +title: help.SupportName +description: constructors and methods of type help.SupportName +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.SupportName +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.supportName](../constructors/help.supportName.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getSupportName](../methods/help.getSupportName.md) + + + diff --git a/old_docs/API_docs_v91/types/help.TermsOfService.md b/old_docs/API_docs_v91/types/help.TermsOfService.md new file mode 100644 index 00000000..d4d091e1 --- /dev/null +++ b/old_docs/API_docs_v91/types/help.TermsOfService.md @@ -0,0 +1,20 @@ +--- +title: help.TermsOfService +description: constructors and methods of type help.TermsOfService +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.TermsOfService +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.termsOfService](../constructors/help.termsOfService.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v91/types/help.TermsOfServiceUpdate.md b/old_docs/API_docs_v91/types/help.TermsOfServiceUpdate.md new file mode 100644 index 00000000..e27b3c71 --- /dev/null +++ b/old_docs/API_docs_v91/types/help.TermsOfServiceUpdate.md @@ -0,0 +1,24 @@ +--- +title: help.TermsOfServiceUpdate +description: constructors and methods of type help.TermsOfServiceUpdate +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.TermsOfServiceUpdate +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.termsOfServiceUpdateEmpty](../constructors/help.termsOfServiceUpdateEmpty.md) + +[help.termsOfServiceUpdate](../constructors/help.termsOfServiceUpdate.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getTermsOfServiceUpdate](../methods/help.getTermsOfServiceUpdate.md) + + + diff --git a/old_docs/API_docs_v91/types/help.UserInfo.md b/old_docs/API_docs_v91/types/help.UserInfo.md new file mode 100644 index 00000000..9d91ee40 --- /dev/null +++ b/old_docs/API_docs_v91/types/help.UserInfo.md @@ -0,0 +1,26 @@ +--- +title: help.UserInfo +description: constructors and methods of type help.UserInfo +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.UserInfo +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.userInfoEmpty](../constructors/help.userInfoEmpty.md) + +[help.userInfo](../constructors/help.userInfo.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getUserInfo](../methods/help.getUserInfo.md) + +[$MadelineProto->help->editUserInfo](../methods/help.editUserInfo.md) + + + diff --git a/old_docs/API_docs_v91/types/help_AppUpdate.md b/old_docs/API_docs_v91/types/help_AppUpdate.md deleted file mode 100644 index 1f296a70..00000000 --- a/old_docs/API_docs_v91/types/help_AppUpdate.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: help_AppUpdate -description: constructors and methods of type help_AppUpdate -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_AppUpdate -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_appUpdate](../constructors/help_appUpdate.md) - -[help\_noAppUpdate](../constructors/help_noAppUpdate.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getAppUpdate](../methods/help_getAppUpdate.md) - - - diff --git a/old_docs/API_docs_v91/types/help_ConfigSimple.md b/old_docs/API_docs_v91/types/help_ConfigSimple.md deleted file mode 100644 index 81678d74..00000000 --- a/old_docs/API_docs_v91/types/help_ConfigSimple.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: help_ConfigSimple -description: constructors and methods of type help_ConfigSimple -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_ConfigSimple -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_configSimple](../constructors/help_configSimple.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v91/types/help_DeepLinkInfo.md b/old_docs/API_docs_v91/types/help_DeepLinkInfo.md deleted file mode 100644 index 776e8e09..00000000 --- a/old_docs/API_docs_v91/types/help_DeepLinkInfo.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: help_DeepLinkInfo -description: constructors and methods of type help_DeepLinkInfo -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_DeepLinkInfo -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_deepLinkInfoEmpty](../constructors/help_deepLinkInfoEmpty.md) - -[help\_deepLinkInfo](../constructors/help_deepLinkInfo.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getDeepLinkInfo](../methods/help_getDeepLinkInfo.md) - - - diff --git a/old_docs/API_docs_v91/types/help_InviteText.md b/old_docs/API_docs_v91/types/help_InviteText.md deleted file mode 100644 index 018d35bf..00000000 --- a/old_docs/API_docs_v91/types/help_InviteText.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: help_InviteText -description: constructors and methods of type help_InviteText -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_InviteText -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_inviteText](../constructors/help_inviteText.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getInviteText](../methods/help_getInviteText.md) - - - diff --git a/old_docs/API_docs_v91/types/help_PassportConfig.md b/old_docs/API_docs_v91/types/help_PassportConfig.md deleted file mode 100644 index e03abab7..00000000 --- a/old_docs/API_docs_v91/types/help_PassportConfig.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: help_PassportConfig -description: constructors and methods of type help_PassportConfig -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_PassportConfig -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_passportConfigNotModified](../constructors/help_passportConfigNotModified.md) - -[help\_passportConfig](../constructors/help_passportConfig.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getPassportConfig](../methods/help_getPassportConfig.md) - - - diff --git a/old_docs/API_docs_v91/types/help_ProxyData.md b/old_docs/API_docs_v91/types/help_ProxyData.md deleted file mode 100644 index 1bc6839e..00000000 --- a/old_docs/API_docs_v91/types/help_ProxyData.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: help_ProxyData -description: constructors and methods of type help_ProxyData -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_ProxyData -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_proxyDataEmpty](../constructors/help_proxyDataEmpty.md) - -[help\_proxyDataPromo](../constructors/help_proxyDataPromo.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getProxyData](../methods/help_getProxyData.md) - - - diff --git a/old_docs/API_docs_v91/types/help_RecentMeUrls.md b/old_docs/API_docs_v91/types/help_RecentMeUrls.md deleted file mode 100644 index 691af1c3..00000000 --- a/old_docs/API_docs_v91/types/help_RecentMeUrls.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: help_RecentMeUrls -description: constructors and methods of type help_RecentMeUrls -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_RecentMeUrls -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_recentMeUrls](../constructors/help_recentMeUrls.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getRecentMeUrls](../methods/help_getRecentMeUrls.md) - - - diff --git a/old_docs/API_docs_v91/types/help_Support.md b/old_docs/API_docs_v91/types/help_Support.md deleted file mode 100644 index 26de447b..00000000 --- a/old_docs/API_docs_v91/types/help_Support.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: help_Support -description: constructors and methods of type help_Support -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_Support -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_support](../constructors/help_support.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getSupport](../methods/help_getSupport.md) - - - diff --git a/old_docs/API_docs_v91/types/help_SupportName.md b/old_docs/API_docs_v91/types/help_SupportName.md deleted file mode 100644 index e89309a2..00000000 --- a/old_docs/API_docs_v91/types/help_SupportName.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: help_SupportName -description: constructors and methods of type help_SupportName -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_SupportName -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_supportName](../constructors/help_supportName.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getSupportName](../methods/help_getSupportName.md) - - - diff --git a/old_docs/API_docs_v91/types/help_TermsOfService.md b/old_docs/API_docs_v91/types/help_TermsOfService.md deleted file mode 100644 index 24f8eb68..00000000 --- a/old_docs/API_docs_v91/types/help_TermsOfService.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: help_TermsOfService -description: constructors and methods of type help_TermsOfService -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_TermsOfService -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_termsOfService](../constructors/help_termsOfService.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v91/types/help_TermsOfServiceUpdate.md b/old_docs/API_docs_v91/types/help_TermsOfServiceUpdate.md deleted file mode 100644 index 0e4f1ef2..00000000 --- a/old_docs/API_docs_v91/types/help_TermsOfServiceUpdate.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: help_TermsOfServiceUpdate -description: constructors and methods of type help_TermsOfServiceUpdate -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_TermsOfServiceUpdate -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_termsOfServiceUpdateEmpty](../constructors/help_termsOfServiceUpdateEmpty.md) - -[help\_termsOfServiceUpdate](../constructors/help_termsOfServiceUpdate.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getTermsOfServiceUpdate](../methods/help_getTermsOfServiceUpdate.md) - - - diff --git a/old_docs/API_docs_v91/types/help_UserInfo.md b/old_docs/API_docs_v91/types/help_UserInfo.md deleted file mode 100644 index 87ca4327..00000000 --- a/old_docs/API_docs_v91/types/help_UserInfo.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: help_UserInfo -description: constructors and methods of type help_UserInfo -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_UserInfo -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_userInfoEmpty](../constructors/help_userInfoEmpty.md) - -[help\_userInfo](../constructors/help_userInfo.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getUserInfo](../methods/help_getUserInfo.md) - -[$MadelineProto->help->editUserInfo](../methods/help_editUserInfo.md) - - - diff --git a/old_docs/API_docs_v91/types/messages.AffectedHistory.md b/old_docs/API_docs_v91/types/messages.AffectedHistory.md new file mode 100644 index 00000000..8a1e850a --- /dev/null +++ b/old_docs/API_docs_v91/types/messages.AffectedHistory.md @@ -0,0 +1,26 @@ +--- +title: messages.AffectedHistory +description: constructors and methods of type messages.AffectedHistory +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.AffectedHistory +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.affectedHistory](../constructors/messages.affectedHistory.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->deleteHistory](../methods/messages.deleteHistory.md) + +[$MadelineProto->messages->readMentions](../methods/messages.readMentions.md) + +[$MadelineProto->channels->deleteUserHistory](../methods/channels.deleteUserHistory.md) + + + diff --git a/old_docs/API_docs_v91/types/messages.AffectedMessages.md b/old_docs/API_docs_v91/types/messages.AffectedMessages.md new file mode 100644 index 00000000..a9159de3 --- /dev/null +++ b/old_docs/API_docs_v91/types/messages.AffectedMessages.md @@ -0,0 +1,28 @@ +--- +title: messages.AffectedMessages +description: constructors and methods of type messages.AffectedMessages +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.AffectedMessages +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.affectedMessages](../constructors/messages.affectedMessages.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->readHistory](../methods/messages.readHistory.md) + +[$MadelineProto->messages->deleteMessages](../methods/messages.deleteMessages.md) + +[$MadelineProto->messages->readMessageContents](../methods/messages.readMessageContents.md) + +[$MadelineProto->channels->deleteMessages](../methods/channels.deleteMessages.md) + + + diff --git a/old_docs/API_docs_v91/types/messages.AllStickers.md b/old_docs/API_docs_v91/types/messages.AllStickers.md new file mode 100644 index 00000000..fd8565de --- /dev/null +++ b/old_docs/API_docs_v91/types/messages.AllStickers.md @@ -0,0 +1,26 @@ +--- +title: messages.AllStickers +description: constructors and methods of type messages.AllStickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.AllStickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.allStickersNotModified](../constructors/messages.allStickersNotModified.md) + +[messages.allStickers](../constructors/messages.allStickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getAllStickers](../methods/messages.getAllStickers.md) + +[$MadelineProto->messages->getMaskStickers](../methods/messages.getMaskStickers.md) + + + diff --git a/old_docs/API_docs_v91/types/messages.ArchivedStickers.md b/old_docs/API_docs_v91/types/messages.ArchivedStickers.md new file mode 100644 index 00000000..3e017c5d --- /dev/null +++ b/old_docs/API_docs_v91/types/messages.ArchivedStickers.md @@ -0,0 +1,22 @@ +--- +title: messages.ArchivedStickers +description: constructors and methods of type messages.ArchivedStickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.ArchivedStickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.archivedStickers](../constructors/messages.archivedStickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getArchivedStickers](../methods/messages.getArchivedStickers.md) + + + diff --git a/old_docs/API_docs_v91/types/messages.BotCallbackAnswer.md b/old_docs/API_docs_v91/types/messages.BotCallbackAnswer.md new file mode 100644 index 00000000..ef30fbfb --- /dev/null +++ b/old_docs/API_docs_v91/types/messages.BotCallbackAnswer.md @@ -0,0 +1,22 @@ +--- +title: messages.BotCallbackAnswer +description: constructors and methods of type messages.BotCallbackAnswer +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.BotCallbackAnswer +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.botCallbackAnswer](../constructors/messages.botCallbackAnswer.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getBotCallbackAnswer](../methods/messages.getBotCallbackAnswer.md) + + + diff --git a/old_docs/API_docs_v91/types/messages.BotResults.md b/old_docs/API_docs_v91/types/messages.BotResults.md new file mode 100644 index 00000000..76ee2b99 --- /dev/null +++ b/old_docs/API_docs_v91/types/messages.BotResults.md @@ -0,0 +1,22 @@ +--- +title: messages.BotResults +description: constructors and methods of type messages.BotResults +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.BotResults +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.botResults](../constructors/messages.botResults.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getInlineBotResults](../methods/messages.getInlineBotResults.md) + + + diff --git a/old_docs/API_docs_v91/types/messages.ChatFull.md b/old_docs/API_docs_v91/types/messages.ChatFull.md new file mode 100644 index 00000000..3ad38748 --- /dev/null +++ b/old_docs/API_docs_v91/types/messages.ChatFull.md @@ -0,0 +1,24 @@ +--- +title: messages.ChatFull +description: constructors and methods of type messages.ChatFull +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.ChatFull +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.chatFull](../constructors/messages.chatFull.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getFullChat](../methods/messages.getFullChat.md) + +[$MadelineProto->channels->getFullChannel](../methods/channels.getFullChannel.md) + + + diff --git a/old_docs/API_docs_v91/types/messages.Chats.md b/old_docs/API_docs_v91/types/messages.Chats.md new file mode 100644 index 00000000..4678b110 --- /dev/null +++ b/old_docs/API_docs_v91/types/messages.Chats.md @@ -0,0 +1,34 @@ +--- +title: messages.Chats +description: constructors and methods of type messages.Chats +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Chats +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.chats](../constructors/messages.chats.md) + +[messages.chatsSlice](../constructors/messages.chatsSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getChats](../methods/messages.getChats.md) + +[$MadelineProto->messages->getCommonChats](../methods/messages.getCommonChats.md) + +[$MadelineProto->messages->getAllChats](../methods/messages.getAllChats.md) + +[$MadelineProto->channels->getChannels](../methods/channels.getChannels.md) + +[$MadelineProto->channels->getAdminedPublicChannels](../methods/channels.getAdminedPublicChannels.md) + +[$MadelineProto->channels->getLeftChannels](../methods/channels.getLeftChannels.md) + + + diff --git a/old_docs/API_docs_v91/types/messages.DhConfig.md b/old_docs/API_docs_v91/types/messages.DhConfig.md new file mode 100644 index 00000000..77188ab7 --- /dev/null +++ b/old_docs/API_docs_v91/types/messages.DhConfig.md @@ -0,0 +1,24 @@ +--- +title: messages.DhConfig +description: constructors and methods of type messages.DhConfig +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.DhConfig +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.dhConfigNotModified](../constructors/messages.dhConfigNotModified.md) + +[messages.dhConfig](../constructors/messages.dhConfig.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getDhConfig](../methods/messages.getDhConfig.md) + + + diff --git a/old_docs/API_docs_v91/types/messages.Dialogs.md b/old_docs/API_docs_v91/types/messages.Dialogs.md new file mode 100644 index 00000000..e14885b1 --- /dev/null +++ b/old_docs/API_docs_v91/types/messages.Dialogs.md @@ -0,0 +1,26 @@ +--- +title: messages.Dialogs +description: constructors and methods of type messages.Dialogs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Dialogs +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.dialogs](../constructors/messages.dialogs.md) + +[messages.dialogsSlice](../constructors/messages.dialogsSlice.md) + +[messages.dialogsNotModified](../constructors/messages.dialogsNotModified.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getDialogs](../methods/messages.getDialogs.md) + + + diff --git a/old_docs/API_docs_v91/types/messages.FavedStickers.md b/old_docs/API_docs_v91/types/messages.FavedStickers.md new file mode 100644 index 00000000..3edc863b --- /dev/null +++ b/old_docs/API_docs_v91/types/messages.FavedStickers.md @@ -0,0 +1,24 @@ +--- +title: messages.FavedStickers +description: constructors and methods of type messages.FavedStickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.FavedStickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.favedStickersNotModified](../constructors/messages.favedStickersNotModified.md) + +[messages.favedStickers](../constructors/messages.favedStickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getFavedStickers](../methods/messages.getFavedStickers.md) + + + diff --git a/old_docs/API_docs_v91/types/messages.FeaturedStickers.md b/old_docs/API_docs_v91/types/messages.FeaturedStickers.md new file mode 100644 index 00000000..06ed87bb --- /dev/null +++ b/old_docs/API_docs_v91/types/messages.FeaturedStickers.md @@ -0,0 +1,24 @@ +--- +title: messages.FeaturedStickers +description: constructors and methods of type messages.FeaturedStickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.FeaturedStickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.featuredStickersNotModified](../constructors/messages.featuredStickersNotModified.md) + +[messages.featuredStickers](../constructors/messages.featuredStickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getFeaturedStickers](../methods/messages.getFeaturedStickers.md) + + + diff --git a/old_docs/API_docs_v91/types/messages.FoundGifs.md b/old_docs/API_docs_v91/types/messages.FoundGifs.md new file mode 100644 index 00000000..b5176a5d --- /dev/null +++ b/old_docs/API_docs_v91/types/messages.FoundGifs.md @@ -0,0 +1,22 @@ +--- +title: messages.FoundGifs +description: constructors and methods of type messages.FoundGifs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.FoundGifs +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.foundGifs](../constructors/messages.foundGifs.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->searchGifs](../methods/messages.searchGifs.md) + + + diff --git a/old_docs/API_docs_v91/types/messages.FoundStickerSets.md b/old_docs/API_docs_v91/types/messages.FoundStickerSets.md new file mode 100644 index 00000000..eb6eb284 --- /dev/null +++ b/old_docs/API_docs_v91/types/messages.FoundStickerSets.md @@ -0,0 +1,24 @@ +--- +title: messages.FoundStickerSets +description: constructors and methods of type messages.FoundStickerSets +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.FoundStickerSets +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.foundStickerSetsNotModified](../constructors/messages.foundStickerSetsNotModified.md) + +[messages.foundStickerSets](../constructors/messages.foundStickerSets.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->searchStickerSets](../methods/messages.searchStickerSets.md) + + + diff --git a/old_docs/API_docs_v91/types/messages.HighScores.md b/old_docs/API_docs_v91/types/messages.HighScores.md new file mode 100644 index 00000000..eae9db66 --- /dev/null +++ b/old_docs/API_docs_v91/types/messages.HighScores.md @@ -0,0 +1,24 @@ +--- +title: messages.HighScores +description: constructors and methods of type messages.HighScores +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.HighScores +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.highScores](../constructors/messages.highScores.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getGameHighScores](../methods/messages.getGameHighScores.md) + +[$MadelineProto->messages->getInlineGameHighScores](../methods/messages.getInlineGameHighScores.md) + + + diff --git a/old_docs/API_docs_v91/types/messages.MessageEditData.md b/old_docs/API_docs_v91/types/messages.MessageEditData.md new file mode 100644 index 00000000..feb572f1 --- /dev/null +++ b/old_docs/API_docs_v91/types/messages.MessageEditData.md @@ -0,0 +1,22 @@ +--- +title: messages.MessageEditData +description: constructors and methods of type messages.MessageEditData +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.MessageEditData +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.messageEditData](../constructors/messages.messageEditData.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getMessageEditData](../methods/messages.getMessageEditData.md) + + + diff --git a/old_docs/API_docs_v91/types/messages.Messages.md b/old_docs/API_docs_v91/types/messages.Messages.md new file mode 100644 index 00000000..699ceada --- /dev/null +++ b/old_docs/API_docs_v91/types/messages.Messages.md @@ -0,0 +1,40 @@ +--- +title: messages.Messages +description: constructors and methods of type messages.Messages +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Messages +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.messages](../constructors/messages.messages.md) + +[messages.messagesSlice](../constructors/messages.messagesSlice.md) + +[messages.channelMessages](../constructors/messages.channelMessages.md) + +[messages.messagesNotModified](../constructors/messages.messagesNotModified.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getMessages](../methods/messages.getMessages.md) + +[$MadelineProto->messages->getHistory](../methods/messages.getHistory.md) + +[$MadelineProto->messages->search](../methods/messages.search.md) + +[$MadelineProto->messages->searchGlobal](../methods/messages.searchGlobal.md) + +[$MadelineProto->messages->getUnreadMentions](../methods/messages.getUnreadMentions.md) + +[$MadelineProto->messages->getRecentLocations](../methods/messages.getRecentLocations.md) + +[$MadelineProto->channels->getMessages](../methods/channels.getMessages.md) + + + diff --git a/old_docs/API_docs_v91/types/messages.PeerDialogs.md b/old_docs/API_docs_v91/types/messages.PeerDialogs.md new file mode 100644 index 00000000..9a1ceaf0 --- /dev/null +++ b/old_docs/API_docs_v91/types/messages.PeerDialogs.md @@ -0,0 +1,24 @@ +--- +title: messages.PeerDialogs +description: constructors and methods of type messages.PeerDialogs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.PeerDialogs +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.peerDialogs](../constructors/messages.peerDialogs.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getPeerDialogs](../methods/messages.getPeerDialogs.md) + +[$MadelineProto->messages->getPinnedDialogs](../methods/messages.getPinnedDialogs.md) + + + diff --git a/old_docs/API_docs_v91/types/messages.RecentStickers.md b/old_docs/API_docs_v91/types/messages.RecentStickers.md new file mode 100644 index 00000000..e5c49b92 --- /dev/null +++ b/old_docs/API_docs_v91/types/messages.RecentStickers.md @@ -0,0 +1,24 @@ +--- +title: messages.RecentStickers +description: constructors and methods of type messages.RecentStickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.RecentStickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.recentStickersNotModified](../constructors/messages.recentStickersNotModified.md) + +[messages.recentStickers](../constructors/messages.recentStickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getRecentStickers](../methods/messages.getRecentStickers.md) + + + diff --git a/old_docs/API_docs_v91/types/messages.SavedGifs.md b/old_docs/API_docs_v91/types/messages.SavedGifs.md new file mode 100644 index 00000000..99844c98 --- /dev/null +++ b/old_docs/API_docs_v91/types/messages.SavedGifs.md @@ -0,0 +1,24 @@ +--- +title: messages.SavedGifs +description: constructors and methods of type messages.SavedGifs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.SavedGifs +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.savedGifsNotModified](../constructors/messages.savedGifsNotModified.md) + +[messages.savedGifs](../constructors/messages.savedGifs.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getSavedGifs](../methods/messages.getSavedGifs.md) + + + diff --git a/old_docs/API_docs_v91/types/messages.SentEncryptedMessage.md b/old_docs/API_docs_v91/types/messages.SentEncryptedMessage.md new file mode 100644 index 00000000..b6d05b1f --- /dev/null +++ b/old_docs/API_docs_v91/types/messages.SentEncryptedMessage.md @@ -0,0 +1,28 @@ +--- +title: messages.SentEncryptedMessage +description: constructors and methods of type messages.SentEncryptedMessage +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.SentEncryptedMessage +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.sentEncryptedMessage](../constructors/messages.sentEncryptedMessage.md) + +[messages.sentEncryptedFile](../constructors/messages.sentEncryptedFile.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->sendEncrypted](../methods/messages.sendEncrypted.md) + +[$MadelineProto->messages->sendEncryptedFile](../methods/messages.sendEncryptedFile.md) + +[$MadelineProto->messages->sendEncryptedService](../methods/messages.sendEncryptedService.md) + + + diff --git a/old_docs/API_docs_v91/types/messages.StickerSet.md b/old_docs/API_docs_v91/types/messages.StickerSet.md new file mode 100644 index 00000000..e173fe45 --- /dev/null +++ b/old_docs/API_docs_v91/types/messages.StickerSet.md @@ -0,0 +1,30 @@ +--- +title: messages.StickerSet +description: constructors and methods of type messages.StickerSet +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.StickerSet +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.stickerSet](../constructors/messages.stickerSet.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getStickerSet](../methods/messages.getStickerSet.md) + +[$MadelineProto->stickers->createStickerSet](../methods/stickers.createStickerSet.md) + +[$MadelineProto->stickers->removeStickerFromSet](../methods/stickers.removeStickerFromSet.md) + +[$MadelineProto->stickers->changeStickerPosition](../methods/stickers.changeStickerPosition.md) + +[$MadelineProto->stickers->addStickerToSet](../methods/stickers.addStickerToSet.md) + + + diff --git a/old_docs/API_docs_v91/types/messages.StickerSetInstallResult.md b/old_docs/API_docs_v91/types/messages.StickerSetInstallResult.md new file mode 100644 index 00000000..9e09c293 --- /dev/null +++ b/old_docs/API_docs_v91/types/messages.StickerSetInstallResult.md @@ -0,0 +1,24 @@ +--- +title: messages.StickerSetInstallResult +description: constructors and methods of type messages.StickerSetInstallResult +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.StickerSetInstallResult +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.stickerSetInstallResultSuccess](../constructors/messages.stickerSetInstallResultSuccess.md) + +[messages.stickerSetInstallResultArchive](../constructors/messages.stickerSetInstallResultArchive.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->installStickerSet](../methods/messages.installStickerSet.md) + + + diff --git a/old_docs/API_docs_v91/types/messages.Stickers.md b/old_docs/API_docs_v91/types/messages.Stickers.md new file mode 100644 index 00000000..43bddf06 --- /dev/null +++ b/old_docs/API_docs_v91/types/messages.Stickers.md @@ -0,0 +1,24 @@ +--- +title: messages.Stickers +description: constructors and methods of type messages.Stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Stickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.stickersNotModified](../constructors/messages.stickersNotModified.md) + +[messages.stickers](../constructors/messages.stickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getStickers](../methods/messages.getStickers.md) + + + diff --git a/old_docs/API_docs_v91/types/messages_AffectedHistory.md b/old_docs/API_docs_v91/types/messages_AffectedHistory.md deleted file mode 100644 index 9eef04c0..00000000 --- a/old_docs/API_docs_v91/types/messages_AffectedHistory.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: messages_AffectedHistory -description: constructors and methods of type messages_AffectedHistory -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_AffectedHistory -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_affectedHistory](../constructors/messages_affectedHistory.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->deleteHistory](../methods/messages_deleteHistory.md) - -[$MadelineProto->messages->readMentions](../methods/messages_readMentions.md) - -[$MadelineProto->channels->deleteUserHistory](../methods/channels_deleteUserHistory.md) - - - diff --git a/old_docs/API_docs_v91/types/messages_AffectedMessages.md b/old_docs/API_docs_v91/types/messages_AffectedMessages.md deleted file mode 100644 index dcbea721..00000000 --- a/old_docs/API_docs_v91/types/messages_AffectedMessages.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: messages_AffectedMessages -description: constructors and methods of type messages_AffectedMessages -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_AffectedMessages -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_affectedMessages](../constructors/messages_affectedMessages.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->readHistory](../methods/messages_readHistory.md) - -[$MadelineProto->messages->deleteMessages](../methods/messages_deleteMessages.md) - -[$MadelineProto->messages->readMessageContents](../methods/messages_readMessageContents.md) - -[$MadelineProto->channels->deleteMessages](../methods/channels_deleteMessages.md) - - - diff --git a/old_docs/API_docs_v91/types/messages_AllStickers.md b/old_docs/API_docs_v91/types/messages_AllStickers.md deleted file mode 100644 index b6a322e0..00000000 --- a/old_docs/API_docs_v91/types/messages_AllStickers.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: messages_AllStickers -description: constructors and methods of type messages_AllStickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_AllStickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_allStickersNotModified](../constructors/messages_allStickersNotModified.md) - -[messages\_allStickers](../constructors/messages_allStickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getAllStickers](../methods/messages_getAllStickers.md) - -[$MadelineProto->messages->getMaskStickers](../methods/messages_getMaskStickers.md) - - - diff --git a/old_docs/API_docs_v91/types/messages_ArchivedStickers.md b/old_docs/API_docs_v91/types/messages_ArchivedStickers.md deleted file mode 100644 index c569675e..00000000 --- a/old_docs/API_docs_v91/types/messages_ArchivedStickers.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_ArchivedStickers -description: constructors and methods of type messages_ArchivedStickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_ArchivedStickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_archivedStickers](../constructors/messages_archivedStickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getArchivedStickers](../methods/messages_getArchivedStickers.md) - - - diff --git a/old_docs/API_docs_v91/types/messages_BotCallbackAnswer.md b/old_docs/API_docs_v91/types/messages_BotCallbackAnswer.md deleted file mode 100644 index f8d424d0..00000000 --- a/old_docs/API_docs_v91/types/messages_BotCallbackAnswer.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_BotCallbackAnswer -description: constructors and methods of type messages_BotCallbackAnswer -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_BotCallbackAnswer -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_botCallbackAnswer](../constructors/messages_botCallbackAnswer.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getBotCallbackAnswer](../methods/messages_getBotCallbackAnswer.md) - - - diff --git a/old_docs/API_docs_v91/types/messages_BotResults.md b/old_docs/API_docs_v91/types/messages_BotResults.md deleted file mode 100644 index c346c5bd..00000000 --- a/old_docs/API_docs_v91/types/messages_BotResults.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_BotResults -description: constructors and methods of type messages_BotResults -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_BotResults -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_botResults](../constructors/messages_botResults.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getInlineBotResults](../methods/messages_getInlineBotResults.md) - - - diff --git a/old_docs/API_docs_v91/types/messages_ChatFull.md b/old_docs/API_docs_v91/types/messages_ChatFull.md deleted file mode 100644 index e4add41e..00000000 --- a/old_docs/API_docs_v91/types/messages_ChatFull.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_ChatFull -description: constructors and methods of type messages_ChatFull -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_ChatFull -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_chatFull](../constructors/messages_chatFull.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getFullChat](../methods/messages_getFullChat.md) - -[$MadelineProto->channels->getFullChannel](../methods/channels_getFullChannel.md) - - - diff --git a/old_docs/API_docs_v91/types/messages_Chats.md b/old_docs/API_docs_v91/types/messages_Chats.md deleted file mode 100644 index 57349b11..00000000 --- a/old_docs/API_docs_v91/types/messages_Chats.md +++ /dev/null @@ -1,34 +0,0 @@ ---- -title: messages_Chats -description: constructors and methods of type messages_Chats -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Chats -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_chats](../constructors/messages_chats.md) - -[messages\_chatsSlice](../constructors/messages_chatsSlice.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getChats](../methods/messages_getChats.md) - -[$MadelineProto->messages->getCommonChats](../methods/messages_getCommonChats.md) - -[$MadelineProto->messages->getAllChats](../methods/messages_getAllChats.md) - -[$MadelineProto->channels->getChannels](../methods/channels_getChannels.md) - -[$MadelineProto->channels->getAdminedPublicChannels](../methods/channels_getAdminedPublicChannels.md) - -[$MadelineProto->channels->getLeftChannels](../methods/channels_getLeftChannels.md) - - - diff --git a/old_docs/API_docs_v91/types/messages_DhConfig.md b/old_docs/API_docs_v91/types/messages_DhConfig.md deleted file mode 100644 index ce237411..00000000 --- a/old_docs/API_docs_v91/types/messages_DhConfig.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_DhConfig -description: constructors and methods of type messages_DhConfig -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_DhConfig -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_dhConfigNotModified](../constructors/messages_dhConfigNotModified.md) - -[messages\_dhConfig](../constructors/messages_dhConfig.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getDhConfig](../methods/messages_getDhConfig.md) - - - diff --git a/old_docs/API_docs_v91/types/messages_Dialogs.md b/old_docs/API_docs_v91/types/messages_Dialogs.md deleted file mode 100644 index 86d5eb72..00000000 --- a/old_docs/API_docs_v91/types/messages_Dialogs.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: messages_Dialogs -description: constructors and methods of type messages_Dialogs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Dialogs -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_dialogs](../constructors/messages_dialogs.md) - -[messages\_dialogsSlice](../constructors/messages_dialogsSlice.md) - -[messages\_dialogsNotModified](../constructors/messages_dialogsNotModified.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getDialogs](../methods/messages_getDialogs.md) - - - diff --git a/old_docs/API_docs_v91/types/messages_FavedStickers.md b/old_docs/API_docs_v91/types/messages_FavedStickers.md deleted file mode 100644 index 6fa1f221..00000000 --- a/old_docs/API_docs_v91/types/messages_FavedStickers.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_FavedStickers -description: constructors and methods of type messages_FavedStickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_FavedStickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_favedStickersNotModified](../constructors/messages_favedStickersNotModified.md) - -[messages\_favedStickers](../constructors/messages_favedStickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getFavedStickers](../methods/messages_getFavedStickers.md) - - - diff --git a/old_docs/API_docs_v91/types/messages_FeaturedStickers.md b/old_docs/API_docs_v91/types/messages_FeaturedStickers.md deleted file mode 100644 index 9b4c5002..00000000 --- a/old_docs/API_docs_v91/types/messages_FeaturedStickers.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_FeaturedStickers -description: constructors and methods of type messages_FeaturedStickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_FeaturedStickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_featuredStickersNotModified](../constructors/messages_featuredStickersNotModified.md) - -[messages\_featuredStickers](../constructors/messages_featuredStickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getFeaturedStickers](../methods/messages_getFeaturedStickers.md) - - - diff --git a/old_docs/API_docs_v91/types/messages_FoundGifs.md b/old_docs/API_docs_v91/types/messages_FoundGifs.md deleted file mode 100644 index 9dd088ba..00000000 --- a/old_docs/API_docs_v91/types/messages_FoundGifs.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_FoundGifs -description: constructors and methods of type messages_FoundGifs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_FoundGifs -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_foundGifs](../constructors/messages_foundGifs.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->searchGifs](../methods/messages_searchGifs.md) - - - diff --git a/old_docs/API_docs_v91/types/messages_FoundStickerSets.md b/old_docs/API_docs_v91/types/messages_FoundStickerSets.md deleted file mode 100644 index 9045b0d7..00000000 --- a/old_docs/API_docs_v91/types/messages_FoundStickerSets.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_FoundStickerSets -description: constructors and methods of type messages_FoundStickerSets -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_FoundStickerSets -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_foundStickerSetsNotModified](../constructors/messages_foundStickerSetsNotModified.md) - -[messages\_foundStickerSets](../constructors/messages_foundStickerSets.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->searchStickerSets](../methods/messages_searchStickerSets.md) - - - diff --git a/old_docs/API_docs_v91/types/messages_HighScores.md b/old_docs/API_docs_v91/types/messages_HighScores.md deleted file mode 100644 index 9660e255..00000000 --- a/old_docs/API_docs_v91/types/messages_HighScores.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_HighScores -description: constructors and methods of type messages_HighScores -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_HighScores -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_highScores](../constructors/messages_highScores.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getGameHighScores](../methods/messages_getGameHighScores.md) - -[$MadelineProto->messages->getInlineGameHighScores](../methods/messages_getInlineGameHighScores.md) - - - diff --git a/old_docs/API_docs_v91/types/messages_MessageEditData.md b/old_docs/API_docs_v91/types/messages_MessageEditData.md deleted file mode 100644 index ed3c507a..00000000 --- a/old_docs/API_docs_v91/types/messages_MessageEditData.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_MessageEditData -description: constructors and methods of type messages_MessageEditData -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_MessageEditData -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_messageEditData](../constructors/messages_messageEditData.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getMessageEditData](../methods/messages_getMessageEditData.md) - - - diff --git a/old_docs/API_docs_v91/types/messages_Messages.md b/old_docs/API_docs_v91/types/messages_Messages.md deleted file mode 100644 index 35514e90..00000000 --- a/old_docs/API_docs_v91/types/messages_Messages.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages_Messages -description: constructors and methods of type messages_Messages -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Messages -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_messages](../constructors/messages_messages.md) - -[messages\_messagesSlice](../constructors/messages_messagesSlice.md) - -[messages\_channelMessages](../constructors/messages_channelMessages.md) - -[messages\_messagesNotModified](../constructors/messages_messagesNotModified.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getMessages](../methods/messages_getMessages.md) - -[$MadelineProto->messages->getHistory](../methods/messages_getHistory.md) - -[$MadelineProto->messages->search](../methods/messages_search.md) - -[$MadelineProto->messages->searchGlobal](../methods/messages_searchGlobal.md) - -[$MadelineProto->messages->getUnreadMentions](../methods/messages_getUnreadMentions.md) - -[$MadelineProto->messages->getRecentLocations](../methods/messages_getRecentLocations.md) - -[$MadelineProto->channels->getMessages](../methods/channels_getMessages.md) - - - diff --git a/old_docs/API_docs_v91/types/messages_PeerDialogs.md b/old_docs/API_docs_v91/types/messages_PeerDialogs.md deleted file mode 100644 index 2477931f..00000000 --- a/old_docs/API_docs_v91/types/messages_PeerDialogs.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_PeerDialogs -description: constructors and methods of type messages_PeerDialogs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_PeerDialogs -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_peerDialogs](../constructors/messages_peerDialogs.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getPeerDialogs](../methods/messages_getPeerDialogs.md) - -[$MadelineProto->messages->getPinnedDialogs](../methods/messages_getPinnedDialogs.md) - - - diff --git a/old_docs/API_docs_v91/types/messages_RecentStickers.md b/old_docs/API_docs_v91/types/messages_RecentStickers.md deleted file mode 100644 index 2c9db779..00000000 --- a/old_docs/API_docs_v91/types/messages_RecentStickers.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_RecentStickers -description: constructors and methods of type messages_RecentStickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_RecentStickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_recentStickersNotModified](../constructors/messages_recentStickersNotModified.md) - -[messages\_recentStickers](../constructors/messages_recentStickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getRecentStickers](../methods/messages_getRecentStickers.md) - - - diff --git a/old_docs/API_docs_v91/types/messages_SavedGifs.md b/old_docs/API_docs_v91/types/messages_SavedGifs.md deleted file mode 100644 index ffb000aa..00000000 --- a/old_docs/API_docs_v91/types/messages_SavedGifs.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_SavedGifs -description: constructors and methods of type messages_SavedGifs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_SavedGifs -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_savedGifsNotModified](../constructors/messages_savedGifsNotModified.md) - -[messages\_savedGifs](../constructors/messages_savedGifs.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getSavedGifs](../methods/messages_getSavedGifs.md) - - - diff --git a/old_docs/API_docs_v91/types/messages_SentEncryptedMessage.md b/old_docs/API_docs_v91/types/messages_SentEncryptedMessage.md deleted file mode 100644 index 9f7ab935..00000000 --- a/old_docs/API_docs_v91/types/messages_SentEncryptedMessage.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: messages_SentEncryptedMessage -description: constructors and methods of type messages_SentEncryptedMessage -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_SentEncryptedMessage -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_sentEncryptedMessage](../constructors/messages_sentEncryptedMessage.md) - -[messages\_sentEncryptedFile](../constructors/messages_sentEncryptedFile.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->sendEncrypted](../methods/messages_sendEncrypted.md) - -[$MadelineProto->messages->sendEncryptedFile](../methods/messages_sendEncryptedFile.md) - -[$MadelineProto->messages->sendEncryptedService](../methods/messages_sendEncryptedService.md) - - - diff --git a/old_docs/API_docs_v91/types/messages_StickerSet.md b/old_docs/API_docs_v91/types/messages_StickerSet.md deleted file mode 100644 index 98e34dd2..00000000 --- a/old_docs/API_docs_v91/types/messages_StickerSet.md +++ /dev/null @@ -1,30 +0,0 @@ ---- -title: messages_StickerSet -description: constructors and methods of type messages_StickerSet -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_StickerSet -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_stickerSet](../constructors/messages_stickerSet.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getStickerSet](../methods/messages_getStickerSet.md) - -[$MadelineProto->stickers->createStickerSet](../methods/stickers_createStickerSet.md) - -[$MadelineProto->stickers->removeStickerFromSet](../methods/stickers_removeStickerFromSet.md) - -[$MadelineProto->stickers->changeStickerPosition](../methods/stickers_changeStickerPosition.md) - -[$MadelineProto->stickers->addStickerToSet](../methods/stickers_addStickerToSet.md) - - - diff --git a/old_docs/API_docs_v91/types/messages_StickerSetInstallResult.md b/old_docs/API_docs_v91/types/messages_StickerSetInstallResult.md deleted file mode 100644 index bb62ec11..00000000 --- a/old_docs/API_docs_v91/types/messages_StickerSetInstallResult.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_StickerSetInstallResult -description: constructors and methods of type messages_StickerSetInstallResult -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_StickerSetInstallResult -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_stickerSetInstallResultSuccess](../constructors/messages_stickerSetInstallResultSuccess.md) - -[messages\_stickerSetInstallResultArchive](../constructors/messages_stickerSetInstallResultArchive.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->installStickerSet](../methods/messages_installStickerSet.md) - - - diff --git a/old_docs/API_docs_v91/types/messages_Stickers.md b/old_docs/API_docs_v91/types/messages_Stickers.md deleted file mode 100644 index cf53f57b..00000000 --- a/old_docs/API_docs_v91/types/messages_Stickers.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_Stickers -description: constructors and methods of type messages_Stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Stickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_stickersNotModified](../constructors/messages_stickersNotModified.md) - -[messages\_stickers](../constructors/messages_stickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getStickers](../methods/messages_getStickers.md) - - - diff --git a/old_docs/API_docs_v91/types/payments.PaymentForm.md b/old_docs/API_docs_v91/types/payments.PaymentForm.md new file mode 100644 index 00000000..985c1957 --- /dev/null +++ b/old_docs/API_docs_v91/types/payments.PaymentForm.md @@ -0,0 +1,22 @@ +--- +title: payments.PaymentForm +description: constructors and methods of type payments.PaymentForm +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: payments.PaymentForm +[Back to types index](index.md) + + + +### Possible values (constructors): + +[payments.paymentForm](../constructors/payments.paymentForm.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->payments->getPaymentForm](../methods/payments.getPaymentForm.md) + + + diff --git a/old_docs/API_docs_v91/types/payments.PaymentReceipt.md b/old_docs/API_docs_v91/types/payments.PaymentReceipt.md new file mode 100644 index 00000000..45cebd47 --- /dev/null +++ b/old_docs/API_docs_v91/types/payments.PaymentReceipt.md @@ -0,0 +1,22 @@ +--- +title: payments.PaymentReceipt +description: constructors and methods of type payments.PaymentReceipt +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: payments.PaymentReceipt +[Back to types index](index.md) + + + +### Possible values (constructors): + +[payments.paymentReceipt](../constructors/payments.paymentReceipt.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->payments->getPaymentReceipt](../methods/payments.getPaymentReceipt.md) + + + diff --git a/old_docs/API_docs_v91/types/payments.PaymentResult.md b/old_docs/API_docs_v91/types/payments.PaymentResult.md new file mode 100644 index 00000000..9bbff9af --- /dev/null +++ b/old_docs/API_docs_v91/types/payments.PaymentResult.md @@ -0,0 +1,24 @@ +--- +title: payments.PaymentResult +description: constructors and methods of type payments.PaymentResult +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: payments.PaymentResult +[Back to types index](index.md) + + + +### Possible values (constructors): + +[payments.paymentResult](../constructors/payments.paymentResult.md) + +[payments.paymentVerficationNeeded](../constructors/payments.paymentVerficationNeeded.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->payments->sendPaymentForm](../methods/payments.sendPaymentForm.md) + + + diff --git a/old_docs/API_docs_v91/types/payments.SavedInfo.md b/old_docs/API_docs_v91/types/payments.SavedInfo.md new file mode 100644 index 00000000..cf7be16c --- /dev/null +++ b/old_docs/API_docs_v91/types/payments.SavedInfo.md @@ -0,0 +1,22 @@ +--- +title: payments.SavedInfo +description: constructors and methods of type payments.SavedInfo +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: payments.SavedInfo +[Back to types index](index.md) + + + +### Possible values (constructors): + +[payments.savedInfo](../constructors/payments.savedInfo.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->payments->getSavedInfo](../methods/payments.getSavedInfo.md) + + + diff --git a/old_docs/API_docs_v91/types/payments.ValidatedRequestedInfo.md b/old_docs/API_docs_v91/types/payments.ValidatedRequestedInfo.md new file mode 100644 index 00000000..653a5064 --- /dev/null +++ b/old_docs/API_docs_v91/types/payments.ValidatedRequestedInfo.md @@ -0,0 +1,22 @@ +--- +title: payments.ValidatedRequestedInfo +description: constructors and methods of type payments.ValidatedRequestedInfo +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: payments.ValidatedRequestedInfo +[Back to types index](index.md) + + + +### Possible values (constructors): + +[payments.validatedRequestedInfo](../constructors/payments.validatedRequestedInfo.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->payments->validateRequestedInfo](../methods/payments.validateRequestedInfo.md) + + + diff --git a/old_docs/API_docs_v91/types/payments_PaymentForm.md b/old_docs/API_docs_v91/types/payments_PaymentForm.md deleted file mode 100644 index 4662586d..00000000 --- a/old_docs/API_docs_v91/types/payments_PaymentForm.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: payments_PaymentForm -description: constructors and methods of type payments_PaymentForm -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: payments\_PaymentForm -[Back to types index](index.md) - - - -### Possible values (constructors): - -[payments\_paymentForm](../constructors/payments_paymentForm.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->payments->getPaymentForm](../methods/payments_getPaymentForm.md) - - - diff --git a/old_docs/API_docs_v91/types/payments_PaymentReceipt.md b/old_docs/API_docs_v91/types/payments_PaymentReceipt.md deleted file mode 100644 index b4770d2a..00000000 --- a/old_docs/API_docs_v91/types/payments_PaymentReceipt.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: payments_PaymentReceipt -description: constructors and methods of type payments_PaymentReceipt -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: payments\_PaymentReceipt -[Back to types index](index.md) - - - -### Possible values (constructors): - -[payments\_paymentReceipt](../constructors/payments_paymentReceipt.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->payments->getPaymentReceipt](../methods/payments_getPaymentReceipt.md) - - - diff --git a/old_docs/API_docs_v91/types/payments_PaymentResult.md b/old_docs/API_docs_v91/types/payments_PaymentResult.md deleted file mode 100644 index 3c0ad411..00000000 --- a/old_docs/API_docs_v91/types/payments_PaymentResult.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: payments_PaymentResult -description: constructors and methods of type payments_PaymentResult -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: payments\_PaymentResult -[Back to types index](index.md) - - - -### Possible values (constructors): - -[payments\_paymentResult](../constructors/payments_paymentResult.md) - -[payments\_paymentVerficationNeeded](../constructors/payments_paymentVerficationNeeded.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->payments->sendPaymentForm](../methods/payments_sendPaymentForm.md) - - - diff --git a/old_docs/API_docs_v91/types/payments_SavedInfo.md b/old_docs/API_docs_v91/types/payments_SavedInfo.md deleted file mode 100644 index c8f7b9e3..00000000 --- a/old_docs/API_docs_v91/types/payments_SavedInfo.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: payments_SavedInfo -description: constructors and methods of type payments_SavedInfo -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: payments\_SavedInfo -[Back to types index](index.md) - - - -### Possible values (constructors): - -[payments\_savedInfo](../constructors/payments_savedInfo.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->payments->getSavedInfo](../methods/payments_getSavedInfo.md) - - - diff --git a/old_docs/API_docs_v91/types/payments_ValidatedRequestedInfo.md b/old_docs/API_docs_v91/types/payments_ValidatedRequestedInfo.md deleted file mode 100644 index ff6c4e39..00000000 --- a/old_docs/API_docs_v91/types/payments_ValidatedRequestedInfo.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: payments_ValidatedRequestedInfo -description: constructors and methods of type payments_ValidatedRequestedInfo -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: payments\_ValidatedRequestedInfo -[Back to types index](index.md) - - - -### Possible values (constructors): - -[payments\_validatedRequestedInfo](../constructors/payments_validatedRequestedInfo.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->payments->validateRequestedInfo](../methods/payments_validateRequestedInfo.md) - - - diff --git a/old_docs/API_docs_v91/types/phone.PhoneCall.md b/old_docs/API_docs_v91/types/phone.PhoneCall.md new file mode 100644 index 00000000..db0708e9 --- /dev/null +++ b/old_docs/API_docs_v91/types/phone.PhoneCall.md @@ -0,0 +1,26 @@ +--- +title: phone.PhoneCall +description: constructors and methods of type phone.PhoneCall +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: phone.PhoneCall +[Back to types index](index.md) + + + +### Possible values (constructors): + +[phone.phoneCall](../constructors/phone.phoneCall.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->phone->requestCall](../methods/phone.requestCall.md) + +[$MadelineProto->phone->acceptCall](../methods/phone.acceptCall.md) + +[$MadelineProto->phone->confirmCall](../methods/phone.confirmCall.md) + + + diff --git a/old_docs/API_docs_v91/types/phone_PhoneCall.md b/old_docs/API_docs_v91/types/phone_PhoneCall.md deleted file mode 100644 index 0a49d482..00000000 --- a/old_docs/API_docs_v91/types/phone_PhoneCall.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: phone_PhoneCall -description: constructors and methods of type phone_PhoneCall -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: phone\_PhoneCall -[Back to types index](index.md) - - - -### Possible values (constructors): - -[phone\_phoneCall](../constructors/phone_phoneCall.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->phone->requestCall](../methods/phone_requestCall.md) - -[$MadelineProto->phone->acceptCall](../methods/phone_acceptCall.md) - -[$MadelineProto->phone->confirmCall](../methods/phone_confirmCall.md) - - - diff --git a/old_docs/API_docs_v91/types/photos.Photo.md b/old_docs/API_docs_v91/types/photos.Photo.md new file mode 100644 index 00000000..d60f203c --- /dev/null +++ b/old_docs/API_docs_v91/types/photos.Photo.md @@ -0,0 +1,22 @@ +--- +title: photos.Photo +description: constructors and methods of type photos.Photo +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: photos.Photo +[Back to types index](index.md) + + + +### Possible values (constructors): + +[photos.photo](../constructors/photos.photo.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->photos->uploadProfilePhoto](../methods/photos.uploadProfilePhoto.md) + + + diff --git a/old_docs/API_docs_v91/types/photos.Photos.md b/old_docs/API_docs_v91/types/photos.Photos.md new file mode 100644 index 00000000..fff0e296 --- /dev/null +++ b/old_docs/API_docs_v91/types/photos.Photos.md @@ -0,0 +1,24 @@ +--- +title: photos.Photos +description: constructors and methods of type photos.Photos +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: photos.Photos +[Back to types index](index.md) + + + +### Possible values (constructors): + +[photos.photos](../constructors/photos.photos.md) + +[photos.photosSlice](../constructors/photos.photosSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->photos->getUserPhotos](../methods/photos.getUserPhotos.md) + + + diff --git a/old_docs/API_docs_v91/types/photos_Photo.md b/old_docs/API_docs_v91/types/photos_Photo.md deleted file mode 100644 index d11bbdef..00000000 --- a/old_docs/API_docs_v91/types/photos_Photo.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: photos_Photo -description: constructors and methods of type photos_Photo -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: photos\_Photo -[Back to types index](index.md) - - - -### Possible values (constructors): - -[photos\_photo](../constructors/photos_photo.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->photos->uploadProfilePhoto](../methods/photos_uploadProfilePhoto.md) - - - diff --git a/old_docs/API_docs_v91/types/photos_Photos.md b/old_docs/API_docs_v91/types/photos_Photos.md deleted file mode 100644 index 9875ad70..00000000 --- a/old_docs/API_docs_v91/types/photos_Photos.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: photos_Photos -description: constructors and methods of type photos_Photos -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: photos\_Photos -[Back to types index](index.md) - - - -### Possible values (constructors): - -[photos\_photos](../constructors/photos_photos.md) - -[photos\_photosSlice](../constructors/photos_photosSlice.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->photos->getUserPhotos](../methods/photos_getUserPhotos.md) - - - diff --git a/old_docs/API_docs_v91/types/storage.FileType.md b/old_docs/API_docs_v91/types/storage.FileType.md new file mode 100644 index 00000000..32f1bb72 --- /dev/null +++ b/old_docs/API_docs_v91/types/storage.FileType.md @@ -0,0 +1,38 @@ +--- +title: storage.FileType +description: constructors and methods of type storage.FileType +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: storage.FileType +[Back to types index](index.md) + + + +### Possible values (constructors): + +[storage.fileUnknown](../constructors/storage.fileUnknown.md) + +[storage.filePartial](../constructors/storage.filePartial.md) + +[storage.fileJpeg](../constructors/storage.fileJpeg.md) + +[storage.fileGif](../constructors/storage.fileGif.md) + +[storage.filePng](../constructors/storage.filePng.md) + +[storage.filePdf](../constructors/storage.filePdf.md) + +[storage.fileMp3](../constructors/storage.fileMp3.md) + +[storage.fileMov](../constructors/storage.fileMov.md) + +[storage.fileMp4](../constructors/storage.fileMp4.md) + +[storage.fileWebp](../constructors/storage.fileWebp.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v91/types/storage_FileType.md b/old_docs/API_docs_v91/types/storage_FileType.md deleted file mode 100644 index 22118805..00000000 --- a/old_docs/API_docs_v91/types/storage_FileType.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: storage_FileType -description: constructors and methods of type storage_FileType -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: storage\_FileType -[Back to types index](index.md) - - - -### Possible values (constructors): - -[storage\_fileUnknown](../constructors/storage_fileUnknown.md) - -[storage\_filePartial](../constructors/storage_filePartial.md) - -[storage\_fileJpeg](../constructors/storage_fileJpeg.md) - -[storage\_fileGif](../constructors/storage_fileGif.md) - -[storage\_filePng](../constructors/storage_filePng.md) - -[storage\_filePdf](../constructors/storage_filePdf.md) - -[storage\_fileMp3](../constructors/storage_fileMp3.md) - -[storage\_fileMov](../constructors/storage_fileMov.md) - -[storage\_fileMp4](../constructors/storage_fileMp4.md) - -[storage\_fileWebp](../constructors/storage_fileWebp.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v91/types/updates.ChannelDifference.md b/old_docs/API_docs_v91/types/updates.ChannelDifference.md new file mode 100644 index 00000000..ac889a1e --- /dev/null +++ b/old_docs/API_docs_v91/types/updates.ChannelDifference.md @@ -0,0 +1,26 @@ +--- +title: updates.ChannelDifference +description: constructors and methods of type updates.ChannelDifference +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: updates.ChannelDifference +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updates.channelDifferenceEmpty](../constructors/updates.channelDifferenceEmpty.md) + +[updates.channelDifferenceTooLong](../constructors/updates.channelDifferenceTooLong.md) + +[updates.channelDifference](../constructors/updates.channelDifference.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->updates->getChannelDifference](../methods/updates.getChannelDifference.md) + + + diff --git a/old_docs/API_docs_v91/types/updates.Difference.md b/old_docs/API_docs_v91/types/updates.Difference.md new file mode 100644 index 00000000..0c1a1b6e --- /dev/null +++ b/old_docs/API_docs_v91/types/updates.Difference.md @@ -0,0 +1,28 @@ +--- +title: updates.Difference +description: constructors and methods of type updates.Difference +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: updates.Difference +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updates.differenceEmpty](../constructors/updates.differenceEmpty.md) + +[updates.difference](../constructors/updates.difference.md) + +[updates.differenceSlice](../constructors/updates.differenceSlice.md) + +[updates.differenceTooLong](../constructors/updates.differenceTooLong.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->updates->getDifference](../methods/updates.getDifference.md) + + + diff --git a/old_docs/API_docs_v91/types/updates.State.md b/old_docs/API_docs_v91/types/updates.State.md new file mode 100644 index 00000000..49bbb7fd --- /dev/null +++ b/old_docs/API_docs_v91/types/updates.State.md @@ -0,0 +1,22 @@ +--- +title: updates.State +description: constructors and methods of type updates.State +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: updates.State +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updates.state](../constructors/updates.state.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->updates->getState](../methods/updates.getState.md) + + + diff --git a/old_docs/API_docs_v91/types/updates_ChannelDifference.md b/old_docs/API_docs_v91/types/updates_ChannelDifference.md deleted file mode 100644 index dc988692..00000000 --- a/old_docs/API_docs_v91/types/updates_ChannelDifference.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: updates_ChannelDifference -description: constructors and methods of type updates_ChannelDifference -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: updates\_ChannelDifference -[Back to types index](index.md) - - - -### Possible values (constructors): - -[updates\_channelDifferenceEmpty](../constructors/updates_channelDifferenceEmpty.md) - -[updates\_channelDifferenceTooLong](../constructors/updates_channelDifferenceTooLong.md) - -[updates\_channelDifference](../constructors/updates_channelDifference.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->updates->getChannelDifference](../methods/updates_getChannelDifference.md) - - - diff --git a/old_docs/API_docs_v91/types/updates_Difference.md b/old_docs/API_docs_v91/types/updates_Difference.md deleted file mode 100644 index 50bb098e..00000000 --- a/old_docs/API_docs_v91/types/updates_Difference.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: updates_Difference -description: constructors and methods of type updates_Difference -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: updates\_Difference -[Back to types index](index.md) - - - -### Possible values (constructors): - -[updates\_differenceEmpty](../constructors/updates_differenceEmpty.md) - -[updates\_difference](../constructors/updates_difference.md) - -[updates\_differenceSlice](../constructors/updates_differenceSlice.md) - -[updates\_differenceTooLong](../constructors/updates_differenceTooLong.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->updates->getDifference](../methods/updates_getDifference.md) - - - diff --git a/old_docs/API_docs_v91/types/updates_State.md b/old_docs/API_docs_v91/types/updates_State.md deleted file mode 100644 index 7a441145..00000000 --- a/old_docs/API_docs_v91/types/updates_State.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: updates_State -description: constructors and methods of type updates_State -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: updates\_State -[Back to types index](index.md) - - - -### Possible values (constructors): - -[updates\_state](../constructors/updates_state.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->updates->getState](../methods/updates_getState.md) - - - diff --git a/old_docs/API_docs_v91/types/upload.CdnFile.md b/old_docs/API_docs_v91/types/upload.CdnFile.md new file mode 100644 index 00000000..396c4bf4 --- /dev/null +++ b/old_docs/API_docs_v91/types/upload.CdnFile.md @@ -0,0 +1,24 @@ +--- +title: upload.CdnFile +description: constructors and methods of type upload.CdnFile +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: upload.CdnFile +[Back to types index](index.md) + + + +### Possible values (constructors): + +[upload.cdnFileReuploadNeeded](../constructors/upload.cdnFileReuploadNeeded.md) + +[upload.cdnFile](../constructors/upload.cdnFile.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->upload->getCdnFile](../methods/upload.getCdnFile.md) + + + diff --git a/old_docs/API_docs_v91/types/upload.File.md b/old_docs/API_docs_v91/types/upload.File.md new file mode 100644 index 00000000..6963341b --- /dev/null +++ b/old_docs/API_docs_v91/types/upload.File.md @@ -0,0 +1,24 @@ +--- +title: upload.File +description: constructors and methods of type upload.File +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: upload.File +[Back to types index](index.md) + + + +### Possible values (constructors): + +[upload.file](../constructors/upload.file.md) + +[upload.fileCdnRedirect](../constructors/upload.fileCdnRedirect.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->upload->getFile](../methods/upload.getFile.md) + + + diff --git a/old_docs/API_docs_v91/types/upload.WebFile.md b/old_docs/API_docs_v91/types/upload.WebFile.md new file mode 100644 index 00000000..e834457b --- /dev/null +++ b/old_docs/API_docs_v91/types/upload.WebFile.md @@ -0,0 +1,22 @@ +--- +title: upload.WebFile +description: constructors and methods of type upload.WebFile +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: upload.WebFile +[Back to types index](index.md) + + + +### Possible values (constructors): + +[upload.webFile](../constructors/upload.webFile.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->upload->getWebFile](../methods/upload.getWebFile.md) + + + diff --git a/old_docs/API_docs_v91/types/upload_CdnFile.md b/old_docs/API_docs_v91/types/upload_CdnFile.md deleted file mode 100644 index 51ae2e68..00000000 --- a/old_docs/API_docs_v91/types/upload_CdnFile.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: upload_CdnFile -description: constructors and methods of type upload_CdnFile -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: upload\_CdnFile -[Back to types index](index.md) - - - -### Possible values (constructors): - -[upload\_cdnFileReuploadNeeded](../constructors/upload_cdnFileReuploadNeeded.md) - -[upload\_cdnFile](../constructors/upload_cdnFile.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->upload->getCdnFile](../methods/upload_getCdnFile.md) - - - diff --git a/old_docs/API_docs_v91/types/upload_File.md b/old_docs/API_docs_v91/types/upload_File.md deleted file mode 100644 index 00e0f9cb..00000000 --- a/old_docs/API_docs_v91/types/upload_File.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: upload_File -description: constructors and methods of type upload_File -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: upload\_File -[Back to types index](index.md) - - - -### Possible values (constructors): - -[upload\_file](../constructors/upload_file.md) - -[upload\_fileCdnRedirect](../constructors/upload_fileCdnRedirect.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->upload->getFile](../methods/upload_getFile.md) - - - diff --git a/old_docs/API_docs_v91/types/upload_WebFile.md b/old_docs/API_docs_v91/types/upload_WebFile.md deleted file mode 100644 index 9a86264f..00000000 --- a/old_docs/API_docs_v91/types/upload_WebFile.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: upload_WebFile -description: constructors and methods of type upload_WebFile -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: upload\_WebFile -[Back to types index](index.md) - - - -### Possible values (constructors): - -[upload\_webFile](../constructors/upload_webFile.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->upload->getWebFile](../methods/upload_getWebFile.md) - - - diff --git a/old_docs/API_docs_v95/constructors/README.md b/old_docs/API_docs_v95/constructors/README.md index e5496a4e..22e6e442 100644 --- a/old_docs/API_docs_v95/constructors/README.md +++ b/old_docs/API_docs_v95/constructors/README.md @@ -9,58 +9,80 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ***

[$accessPointRule](../constructors/accessPointRule.md) = \['phone_prefix_rules' => [string](../types/string.md), 'dc_id' => [int](../types/int.md), 'ips' => \[[IpPort](../types/IpPort.md)\], \]; +*** +

[$account.authorizationForm](../constructors/account.authorizationForm.md) = \['required_types' => \[[SecureRequiredType](../types/SecureRequiredType.md)\], 'values' => \[[SecureValue](../types/SecureValue.md)\], 'errors' => \[[SecureValueError](../types/SecureValueError.md)\], 'users' => \[[User](../types/User.md)\], 'privacy_policy_url' => [string](../types/string.md), \]; + +*** +

[$account.authorizations](../constructors/account.authorizations.md) = \['authorizations' => \[[Authorization](../types/Authorization.md)\], \]; + +*** +

[$account.password](../constructors/account.password.md) = \['has_recovery' => [Bool](../types/Bool.md), 'has_secure_values' => [Bool](../types/Bool.md), 'has_password' => [Bool](../types/Bool.md), 'current_algo' => [PasswordKdfAlgo](../types/PasswordKdfAlgo.md), 'srp_B' => [bytes](../types/bytes.md), 'srp_id' => [long](../types/long.md), 'hint' => [string](../types/string.md), 'email_unconfirmed_pattern' => [string](../types/string.md), 'new_algo' => [PasswordKdfAlgo](../types/PasswordKdfAlgo.md), 'new_secure_algo' => [SecurePasswordKdfAlgo](../types/SecurePasswordKdfAlgo.md), 'secure_random' => [bytes](../types/bytes.md), \]; + +*** +

[$account.passwordInputSettings](../constructors/account.passwordInputSettings.md) = \['new_algo' => [PasswordKdfAlgo](../types/PasswordKdfAlgo.md), 'new_password_hash' => [bytes](../types/bytes.md), 'hint' => [string](../types/string.md), 'email' => [string](../types/string.md), 'new_secure_settings' => [SecureSecretSettings](../types/SecureSecretSettings.md), \]; + +*** +

[$account.passwordSettings](../constructors/account.passwordSettings.md) = \['email' => [string](../types/string.md), 'secure_settings' => [SecureSecretSettings](../types/SecureSecretSettings.md), \]; + +*** +

[$account.privacyRules](../constructors/account.privacyRules.md) = \['rules' => \[[PrivacyRule](../types/PrivacyRule.md)\], 'users' => \[[User](../types/User.md)\], \]; + +*** +

[$account.sentEmailCode](../constructors/account.sentEmailCode.md) = \['email_pattern' => [string](../types/string.md), 'length' => [int](../types/int.md), \]; + +*** +

[$account.takeout](../constructors/account.takeout.md) = \['id' => [long](../types/long.md), \]; + +*** +

[$account.tmpPassword](../constructors/account.tmpPassword.md) = \['tmp_password' => [bytes](../types/bytes.md), 'valid_until' => [int](../types/int.md), \]; + +*** +

[$account.wallPapers](../constructors/account.wallPapers.md) = \['hash' => [int](../types/int.md), 'wallpapers' => \[[WallPaper](../types/WallPaper.md)\], \]; + +*** +

[$account.wallPapersNotModified](../constructors/account.wallPapersNotModified.md) = \[\]; + +*** +

[$account.webAuthorizations](../constructors/account.webAuthorizations.md) = \['authorizations' => \[[WebAuthorization](../types/WebAuthorization.md)\], 'users' => \[[User](../types/User.md)\], \]; + ***

[$accountDaysTTL](../constructors/accountDaysTTL.md) = \['days' => [int](../types/int.md), \]; *** -

[$account\_authorizationForm](../constructors/account_authorizationForm.md) = \['required_types' => \[[SecureRequiredType](../types/SecureRequiredType.md)\], 'values' => \[[SecureValue](../types/SecureValue.md)\], 'errors' => \[[SecureValueError](../types/SecureValueError.md)\], 'users' => \[[User](../types/User.md)\], 'privacy_policy_url' => [string](../types/string.md), \]; - -[$account\_authorizations](../constructors/account_authorizations.md) = \['authorizations' => \[[Authorization](../types/Authorization.md)\], \]; - -[$account\_password](../constructors/account_password.md) = \['has_recovery' => [Bool](../types/Bool.md), 'has_secure_values' => [Bool](../types/Bool.md), 'has_password' => [Bool](../types/Bool.md), 'current_algo' => [PasswordKdfAlgo](../types/PasswordKdfAlgo.md), 'srp_B' => [bytes](../types/bytes.md), 'srp_id' => [long](../types/long.md), 'hint' => [string](../types/string.md), 'email_unconfirmed_pattern' => [string](../types/string.md), 'new_algo' => [PasswordKdfAlgo](../types/PasswordKdfAlgo.md), 'new_secure_algo' => [SecurePasswordKdfAlgo](../types/SecurePasswordKdfAlgo.md), 'secure_random' => [bytes](../types/bytes.md), \]; - -[$account\_passwordInputSettings](../constructors/account_passwordInputSettings.md) = \['new_algo' => [PasswordKdfAlgo](../types/PasswordKdfAlgo.md), 'new_password_hash' => [bytes](../types/bytes.md), 'hint' => [string](../types/string.md), 'email' => [string](../types/string.md), 'new_secure_settings' => [SecureSecretSettings](../types/SecureSecretSettings.md), \]; - -[$account\_passwordSettings](../constructors/account_passwordSettings.md) = \['email' => [string](../types/string.md), 'secure_settings' => [SecureSecretSettings](../types/SecureSecretSettings.md), \]; - -[$account\_privacyRules](../constructors/account_privacyRules.md) = \['rules' => \[[PrivacyRule](../types/PrivacyRule.md)\], 'users' => \[[User](../types/User.md)\], \]; - -[$account\_sentEmailCode](../constructors/account_sentEmailCode.md) = \['email_pattern' => [string](../types/string.md), 'length' => [int](../types/int.md), \]; - -[$account\_takeout](../constructors/account_takeout.md) = \['id' => [long](../types/long.md), \]; - -[$account\_tmpPassword](../constructors/account_tmpPassword.md) = \['tmp_password' => [bytes](../types/bytes.md), 'valid_until' => [int](../types/int.md), \]; - -[$account\_wallPapers](../constructors/account_wallPapers.md) = \['hash' => [int](../types/int.md), 'wallpapers' => \[[WallPaper](../types/WallPaper.md)\], \]; - -[$account\_wallPapersNotModified](../constructors/account_wallPapersNotModified.md) = \[\]; - -[$account\_webAuthorizations](../constructors/account_webAuthorizations.md) = \['authorizations' => \[[WebAuthorization](../types/WebAuthorization.md)\], 'users' => \[[User](../types/User.md)\], \]; +

[$auth.authorization](../constructors/auth.authorization.md) = \['tmp_sessions' => [int](../types/int.md), 'user' => [User](../types/User.md), \]; *** -

[$auth\_authorization](../constructors/auth_authorization.md) = \['tmp_sessions' => [int](../types/int.md), 'user' => [User](../types/User.md), \]; +

[$auth.checkedPhone](../constructors/auth.checkedPhone.md) = \['phone_registered' => [Bool](../types/Bool.md), \]; -[$auth\_checkedPhone](../constructors/auth_checkedPhone.md) = \['phone_registered' => [Bool](../types/Bool.md), \]; +*** +

[$auth.codeTypeCall](../constructors/auth.codeTypeCall.md) = \[\]; -[$auth\_codeTypeCall](../constructors/auth_codeTypeCall.md) = \[\]; +*** +

[$auth.codeTypeFlashCall](../constructors/auth.codeTypeFlashCall.md) = \[\]; -[$auth\_codeTypeFlashCall](../constructors/auth_codeTypeFlashCall.md) = \[\]; +*** +

[$auth.codeTypeSms](../constructors/auth.codeTypeSms.md) = \[\]; -[$auth\_codeTypeSms](../constructors/auth_codeTypeSms.md) = \[\]; +*** +

[$auth.exportedAuthorization](../constructors/auth.exportedAuthorization.md) = \['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; -[$auth\_exportedAuthorization](../constructors/auth_exportedAuthorization.md) = \['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; +*** +

[$auth.passwordRecovery](../constructors/auth.passwordRecovery.md) = \['email_pattern' => [string](../types/string.md), \]; -[$auth\_passwordRecovery](../constructors/auth_passwordRecovery.md) = \['email_pattern' => [string](../types/string.md), \]; +*** +

[$auth.sentCode](../constructors/auth.sentCode.md) = \['phone_registered' => [Bool](../types/Bool.md), 'type' => [auth.SentCodeType](../types/auth.SentCodeType.md), 'phone_code_hash' => [string](../types/string.md), 'next_type' => [auth.CodeType](../types/auth.CodeType.md), 'timeout' => [int](../types/int.md), 'terms_of_service' => [help.TermsOfService](../types/help.TermsOfService.md), \]; -[$auth\_sentCode](../constructors/auth_sentCode.md) = \['phone_registered' => [Bool](../types/Bool.md), 'type' => [auth.SentCodeType](../types/auth.SentCodeType.md), 'phone_code_hash' => [string](../types/string.md), 'next_type' => [auth.CodeType](../types/auth.CodeType.md), 'timeout' => [int](../types/int.md), 'terms_of_service' => [help.TermsOfService](../types/help.TermsOfService.md), \]; +*** +

[$auth.sentCodeTypeApp](../constructors/auth.sentCodeTypeApp.md) = \['length' => [int](../types/int.md), \]; -[$auth\_sentCodeTypeApp](../constructors/auth_sentCodeTypeApp.md) = \['length' => [int](../types/int.md), \]; +*** +

[$auth.sentCodeTypeCall](../constructors/auth.sentCodeTypeCall.md) = \['length' => [int](../types/int.md), \]; -[$auth\_sentCodeTypeCall](../constructors/auth_sentCodeTypeCall.md) = \['length' => [int](../types/int.md), \]; +*** +

[$auth.sentCodeTypeFlashCall](../constructors/auth.sentCodeTypeFlashCall.md) = \['pattern' => [string](../types/string.md), \]; -[$auth\_sentCodeTypeFlashCall](../constructors/auth_sentCodeTypeFlashCall.md) = \['pattern' => [string](../types/string.md), \]; - -[$auth\_sentCodeTypeSms](../constructors/auth_sentCodeTypeSms.md) = \['length' => [int](../types/int.md), \]; +*** +

[$auth.sentCodeTypeSms](../constructors/auth.sentCodeTypeSms.md) = \['length' => [int](../types/int.md), \]; ***

[$authorization](../constructors/authorization.md) = \['current' => [Bool](../types/Bool.md), 'official_app' => [Bool](../types/Bool.md), 'password_pending' => [Bool](../types/Bool.md), 'hash' => [long](../types/long.md), 'device_model' => [string](../types/string.md), 'platform' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'api_id' => [int](../types/int.md), 'app_name' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'date_created' => [int](../types/int.md), 'date_active' => [int](../types/int.md), 'ip' => [string](../types/string.md), 'country' => [string](../types/string.md), 'region' => [string](../types/string.md), \]; @@ -216,13 +238,16 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$channelParticipantsSearch](../constructors/channelParticipantsSearch.md) = \['q' => [string](../types/string.md), \]; *** -

[$channels\_adminLogResults](../constructors/channels_adminLogResults.md) = \['events' => \[[ChannelAdminLogEvent](../types/ChannelAdminLogEvent.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +

[$channels.adminLogResults](../constructors/channels.adminLogResults.md) = \['events' => \[[ChannelAdminLogEvent](../types/ChannelAdminLogEvent.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$channels\_channelParticipant](../constructors/channels_channelParticipant.md) = \['participant' => [ChannelParticipant](../types/ChannelParticipant.md), 'users' => \[[User](../types/User.md)\], \]; +*** +

[$channels.channelParticipant](../constructors/channels.channelParticipant.md) = \['participant' => [ChannelParticipant](../types/ChannelParticipant.md), 'users' => \[[User](../types/User.md)\], \]; -[$channels\_channelParticipants](../constructors/channels_channelParticipants.md) = \['count' => [int](../types/int.md), 'participants' => \[[ChannelParticipant](../types/ChannelParticipant.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$channels.channelParticipants](../constructors/channels.channelParticipants.md) = \['count' => [int](../types/int.md), 'participants' => \[[ChannelParticipant](../types/ChannelParticipant.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$channels\_channelParticipantsNotModified](../constructors/channels_channelParticipantsNotModified.md) = \[\]; +*** +

[$channels.channelParticipantsNotModified](../constructors/channels.channelParticipantsNotModified.md) = \[\]; ***

[$chat](../constructors/chat.md) = \['creator' => [Bool](../types/Bool.md), 'kicked' => [Bool](../types/Bool.md), 'left' => [Bool](../types/Bool.md), 'deactivated' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'title' => [string](../types/string.md), 'photo' => [ChatPhoto](../types/ChatPhoto.md), 'participants_count' => [int](../types/int.md), 'date' => [int](../types/int.md), 'version' => [int](../types/int.md), 'migrated_to' => [InputChannel](../types/InputChannel.md), 'admin_rights' => [ChatAdminRights](../types/ChatAdminRights.md), 'default_banned_rights' => [ChatBannedRights](../types/ChatBannedRights.md), \]; @@ -306,27 +331,37 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$contactStatus](../constructors/contactStatus.md) = \['user_id' => [int](../types/int.md), 'status' => [UserStatus](../types/UserStatus.md), \]; *** -

[$contacts\_blocked](../constructors/contacts_blocked.md) = \['blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; +

[$contacts.blocked](../constructors/contacts.blocked.md) = \['blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_blockedSlice](../constructors/contacts_blockedSlice.md) = \['count' => [int](../types/int.md), 'blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.blockedSlice](../constructors/contacts.blockedSlice.md) = \['count' => [int](../types/int.md), 'blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_contacts](../constructors/contacts_contacts.md) = \['contacts' => \[[Contact](../types/Contact.md)\], 'saved_count' => [int](../types/int.md), 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.contacts](../constructors/contacts.contacts.md) = \['contacts' => \[[Contact](../types/Contact.md)\], 'saved_count' => [int](../types/int.md), 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_contactsNotModified](../constructors/contacts_contactsNotModified.md) = \[\]; +*** +

[$contacts.contactsNotModified](../constructors/contacts.contactsNotModified.md) = \[\]; -[$contacts\_found](../constructors/contacts_found.md) = \['my_results' => \[[Peer](../types/Peer.md)\], 'results' => \[[Peer](../types/Peer.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.found](../constructors/contacts.found.md) = \['my_results' => \[[Peer](../types/Peer.md)\], 'results' => \[[Peer](../types/Peer.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_importedContacts](../constructors/contacts_importedContacts.md) = \['imported' => \[[ImportedContact](../types/ImportedContact.md)\], 'popular_invites' => \[[PopularContact](../types/PopularContact.md)\], 'retry_contacts' => \[[long](../types/long.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.importedContacts](../constructors/contacts.importedContacts.md) = \['imported' => \[[ImportedContact](../types/ImportedContact.md)\], 'popular_invites' => \[[PopularContact](../types/PopularContact.md)\], 'retry_contacts' => \[[long](../types/long.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_link](../constructors/contacts_link.md) = \['my_link' => [ContactLink](../types/ContactLink.md), 'foreign_link' => [ContactLink](../types/ContactLink.md), 'user' => [User](../types/User.md), \]; +*** +

[$contacts.link](../constructors/contacts.link.md) = \['my_link' => [ContactLink](../types/ContactLink.md), 'foreign_link' => [ContactLink](../types/ContactLink.md), 'user' => [User](../types/User.md), \]; -[$contacts\_resolvedPeer](../constructors/contacts_resolvedPeer.md) = \['peer' => [Peer](../types/Peer.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.resolvedPeer](../constructors/contacts.resolvedPeer.md) = \['peer' => [Peer](../types/Peer.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_topPeers](../constructors/contacts_topPeers.md) = \['categories' => \[[TopPeerCategoryPeers](../types/TopPeerCategoryPeers.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.topPeers](../constructors/contacts.topPeers.md) = \['categories' => \[[TopPeerCategoryPeers](../types/TopPeerCategoryPeers.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_topPeersDisabled](../constructors/contacts_topPeersDisabled.md) = \[\]; +*** +

[$contacts.topPeersDisabled](../constructors/contacts.topPeersDisabled.md) = \[\]; -[$contacts\_topPeersNotModified](../constructors/contacts_topPeersNotModified.md) = \[\]; +*** +

[$contacts.topPeersNotModified](../constructors/contacts.topPeersNotModified.md) = \[\]; ***

[$dataJSON](../constructors/dataJSON.md) = \['data' => [string](../types/string.md), \]; @@ -431,41 +466,58 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$geoPointEmpty](../constructors/geoPointEmpty.md) = \[\]; *** -

[$help\_appUpdate](../constructors/help_appUpdate.md) = \['popup' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'version' => [string](../types/string.md), 'text' => [string](../types/string.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], 'document' => [Document](../types/Document.md), 'url' => [string](../types/string.md), \]; +

[$help.appUpdate](../constructors/help.appUpdate.md) = \['popup' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'version' => [string](../types/string.md), 'text' => [string](../types/string.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], 'document' => [Document](../types/Document.md), 'url' => [string](../types/string.md), \]; -[$help\_configSimple](../constructors/help_configSimple.md) = \['date' => [int](../types/int.md), 'expires' => [int](../types/int.md), 'rules' => \[[AccessPointRule](../types/AccessPointRule.md)\], \]; +*** +

[$help.configSimple](../constructors/help.configSimple.md) = \['date' => [int](../types/int.md), 'expires' => [int](../types/int.md), 'rules' => \[[AccessPointRule](../types/AccessPointRule.md)\], \]; -[$help\_deepLinkInfo](../constructors/help_deepLinkInfo.md) = \['update_app' => [Bool](../types/Bool.md), 'message' => [string](../types/string.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], \]; +*** +

[$help.deepLinkInfo](../constructors/help.deepLinkInfo.md) = \['update_app' => [Bool](../types/Bool.md), 'message' => [string](../types/string.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], \]; -[$help\_deepLinkInfoEmpty](../constructors/help_deepLinkInfoEmpty.md) = \[\]; +*** +

[$help.deepLinkInfoEmpty](../constructors/help.deepLinkInfoEmpty.md) = \[\]; -[$help\_inviteText](../constructors/help_inviteText.md) = \['message' => [string](../types/string.md), \]; +*** +

[$help.inviteText](../constructors/help.inviteText.md) = \['message' => [string](../types/string.md), \]; -[$help\_noAppUpdate](../constructors/help_noAppUpdate.md) = \[\]; +*** +

[$help.noAppUpdate](../constructors/help.noAppUpdate.md) = \[\]; -[$help\_passportConfig](../constructors/help_passportConfig.md) = \['hash' => [int](../types/int.md), 'countries_langs' => [DataJSON](../types/DataJSON.md), \]; +*** +

[$help.passportConfig](../constructors/help.passportConfig.md) = \['hash' => [int](../types/int.md), 'countries_langs' => [DataJSON](../types/DataJSON.md), \]; -[$help\_passportConfigNotModified](../constructors/help_passportConfigNotModified.md) = \[\]; +*** +

[$help.passportConfigNotModified](../constructors/help.passportConfigNotModified.md) = \[\]; -[$help\_proxyDataEmpty](../constructors/help_proxyDataEmpty.md) = \['expires' => [int](../types/int.md), \]; +*** +

[$help.proxyDataEmpty](../constructors/help.proxyDataEmpty.md) = \['expires' => [int](../types/int.md), \]; -[$help\_proxyDataPromo](../constructors/help_proxyDataPromo.md) = \['expires' => [int](../types/int.md), 'peer' => [Peer](../types/Peer.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$help.proxyDataPromo](../constructors/help.proxyDataPromo.md) = \['expires' => [int](../types/int.md), 'peer' => [Peer](../types/Peer.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$help\_recentMeUrls](../constructors/help_recentMeUrls.md) = \['urls' => \[[RecentMeUrl](../types/RecentMeUrl.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$help.recentMeUrls](../constructors/help.recentMeUrls.md) = \['urls' => \[[RecentMeUrl](../types/RecentMeUrl.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$help\_support](../constructors/help_support.md) = \['phone_number' => [string](../types/string.md), 'user' => [User](../types/User.md), \]; +*** +

[$help.support](../constructors/help.support.md) = \['phone_number' => [string](../types/string.md), 'user' => [User](../types/User.md), \]; -[$help\_supportName](../constructors/help_supportName.md) = \['name' => [string](../types/string.md), \]; +*** +

[$help.supportName](../constructors/help.supportName.md) = \['name' => [string](../types/string.md), \]; -[$help\_termsOfService](../constructors/help_termsOfService.md) = \['popup' => [Bool](../types/Bool.md), 'id' => [DataJSON](../types/DataJSON.md), 'text' => [string](../types/string.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], 'min_age_confirm' => [int](../types/int.md), \]; +*** +

[$help.termsOfService](../constructors/help.termsOfService.md) = \['popup' => [Bool](../types/Bool.md), 'id' => [DataJSON](../types/DataJSON.md), 'text' => [string](../types/string.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], 'min_age_confirm' => [int](../types/int.md), \]; -[$help\_termsOfServiceUpdate](../constructors/help_termsOfServiceUpdate.md) = \['expires' => [int](../types/int.md), 'terms_of_service' => [help.TermsOfService](../types/help.TermsOfService.md), \]; +*** +

[$help.termsOfServiceUpdate](../constructors/help.termsOfServiceUpdate.md) = \['expires' => [int](../types/int.md), 'terms_of_service' => [help.TermsOfService](../types/help.TermsOfService.md), \]; -[$help\_termsOfServiceUpdateEmpty](../constructors/help_termsOfServiceUpdateEmpty.md) = \['expires' => [int](../types/int.md), \]; +*** +

[$help.termsOfServiceUpdateEmpty](../constructors/help.termsOfServiceUpdateEmpty.md) = \['expires' => [int](../types/int.md), \]; -[$help\_userInfo](../constructors/help_userInfo.md) = \['message' => [string](../types/string.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], 'author' => [string](../types/string.md), 'date' => [int](../types/int.md), \]; +*** +

[$help.userInfo](../constructors/help.userInfo.md) = \['message' => [string](../types/string.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], 'author' => [string](../types/string.md), 'date' => [int](../types/int.md), \]; -[$help\_userInfoEmpty](../constructors/help_userInfoEmpty.md) = \[\]; +*** +

[$help.userInfoEmpty](../constructors/help.userInfoEmpty.md) = \[\]; ***

[$highScore](../constructors/highScore.md) = \['pos' => [int](../types/int.md), 'user_id' => [int](../types/int.md), 'score' => [int](../types/int.md), \]; @@ -1101,85 +1153,124 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$messageService](../constructors/messageService.md) = \['out' => [Bool](../types/Bool.md), 'mentioned' => [Bool](../types/Bool.md), 'media_unread' => [Bool](../types/Bool.md), 'silent' => [Bool](../types/Bool.md), 'post' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'from_id' => [int](../types/int.md), 'to_id' => [Peer](../types/Peer.md), 'reply_to_msg_id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'action' => [MessageAction](../types/MessageAction.md), \]; *** -

[$messages\_affectedHistory](../constructors/messages_affectedHistory.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), 'offset' => [int](../types/int.md), \]; +

[$messages.affectedHistory](../constructors/messages.affectedHistory.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), 'offset' => [int](../types/int.md), \]; -[$messages\_affectedMessages](../constructors/messages_affectedMessages.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; +*** +

[$messages.affectedMessages](../constructors/messages.affectedMessages.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; -[$messages\_allStickers](../constructors/messages_allStickers.md) = \['hash' => [int](../types/int.md), 'sets' => \[[StickerSet](../types/StickerSet.md)\], \]; +*** +

[$messages.allStickers](../constructors/messages.allStickers.md) = \['hash' => [int](../types/int.md), 'sets' => \[[StickerSet](../types/StickerSet.md)\], \]; -[$messages\_allStickersNotModified](../constructors/messages_allStickersNotModified.md) = \[\]; +*** +

[$messages.allStickersNotModified](../constructors/messages.allStickersNotModified.md) = \[\]; -[$messages\_archivedStickers](../constructors/messages_archivedStickers.md) = \['count' => [int](../types/int.md), 'sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], \]; +*** +

[$messages.archivedStickers](../constructors/messages.archivedStickers.md) = \['count' => [int](../types/int.md), 'sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], \]; -[$messages\_botCallbackAnswer](../constructors/messages_botCallbackAnswer.md) = \['alert' => [Bool](../types/Bool.md), 'has_url' => [Bool](../types/Bool.md), 'native_ui' => [Bool](../types/Bool.md), 'message' => [string](../types/string.md), 'url' => [string](../types/string.md), 'cache_time' => [int](../types/int.md), \]; +*** +

[$messages.botCallbackAnswer](../constructors/messages.botCallbackAnswer.md) = \['alert' => [Bool](../types/Bool.md), 'has_url' => [Bool](../types/Bool.md), 'native_ui' => [Bool](../types/Bool.md), 'message' => [string](../types/string.md), 'url' => [string](../types/string.md), 'cache_time' => [int](../types/int.md), \]; -[$messages\_botResults](../constructors/messages_botResults.md) = \['gallery' => [Bool](../types/Bool.md), 'query_id' => [long](../types/long.md), 'next_offset' => [string](../types/string.md), 'switch_pm' => [InlineBotSwitchPM](../types/InlineBotSwitchPM.md), 'results' => \[[BotInlineResult](../types/BotInlineResult.md)\], 'cache_time' => [int](../types/int.md), 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.botResults](../constructors/messages.botResults.md) = \['gallery' => [Bool](../types/Bool.md), 'query_id' => [long](../types/long.md), 'next_offset' => [string](../types/string.md), 'switch_pm' => [InlineBotSwitchPM](../types/InlineBotSwitchPM.md), 'results' => \[[BotInlineResult](../types/BotInlineResult.md)\], 'cache_time' => [int](../types/int.md), 'users' => \[[User](../types/User.md)\], \]; -[$messages\_channelMessages](../constructors/messages_channelMessages.md) = \['inexact' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.channelMessages](../constructors/messages.channelMessages.md) = \['inexact' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_chatFull](../constructors/messages_chatFull.md) = \['full_chat' => [ChatFull](../types/ChatFull.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.chatFull](../constructors/messages.chatFull.md) = \['full_chat' => [ChatFull](../types/ChatFull.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_chats](../constructors/messages_chats.md) = \['chats' => \[[Chat](../types/Chat.md)\], \]; +*** +

[$messages.chats](../constructors/messages.chats.md) = \['chats' => \[[Chat](../types/Chat.md)\], \]; -[$messages\_chatsSlice](../constructors/messages_chatsSlice.md) = \['count' => [int](../types/int.md), 'chats' => \[[Chat](../types/Chat.md)\], \]; +*** +

[$messages.chatsSlice](../constructors/messages.chatsSlice.md) = \['count' => [int](../types/int.md), 'chats' => \[[Chat](../types/Chat.md)\], \]; -[$messages\_dhConfig](../constructors/messages_dhConfig.md) = \['g' => [int](../types/int.md), 'p' => [bytes](../types/bytes.md), 'version' => [int](../types/int.md), 'random' => [bytes](../types/bytes.md), \]; +*** +

[$messages.dhConfig](../constructors/messages.dhConfig.md) = \['g' => [int](../types/int.md), 'p' => [bytes](../types/bytes.md), 'version' => [int](../types/int.md), 'random' => [bytes](../types/bytes.md), \]; -[$messages\_dhConfigNotModified](../constructors/messages_dhConfigNotModified.md) = \['random' => [bytes](../types/bytes.md), \]; +*** +

[$messages.dhConfigNotModified](../constructors/messages.dhConfigNotModified.md) = \['random' => [bytes](../types/bytes.md), \]; -[$messages\_dialogs](../constructors/messages_dialogs.md) = \['dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.dialogs](../constructors/messages.dialogs.md) = \['dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_dialogsNotModified](../constructors/messages_dialogsNotModified.md) = \['count' => [int](../types/int.md), \]; +*** +

[$messages.dialogsNotModified](../constructors/messages.dialogsNotModified.md) = \['count' => [int](../types/int.md), \]; -[$messages\_dialogsSlice](../constructors/messages_dialogsSlice.md) = \['count' => [int](../types/int.md), 'dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.dialogsSlice](../constructors/messages.dialogsSlice.md) = \['count' => [int](../types/int.md), 'dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_favedStickers](../constructors/messages_favedStickers.md) = \['hash' => [int](../types/int.md), 'packs' => \[[StickerPack](../types/StickerPack.md)\], 'stickers' => \[[Document](../types/Document.md)\], \]; +*** +

[$messages.favedStickers](../constructors/messages.favedStickers.md) = \['hash' => [int](../types/int.md), 'packs' => \[[StickerPack](../types/StickerPack.md)\], 'stickers' => \[[Document](../types/Document.md)\], \]; -[$messages\_favedStickersNotModified](../constructors/messages_favedStickersNotModified.md) = \[\]; +*** +

[$messages.favedStickersNotModified](../constructors/messages.favedStickersNotModified.md) = \[\]; -[$messages\_featuredStickers](../constructors/messages_featuredStickers.md) = \['hash' => [int](../types/int.md), 'sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], 'unread' => \[[long](../types/long.md)\], \]; +*** +

[$messages.featuredStickers](../constructors/messages.featuredStickers.md) = \['hash' => [int](../types/int.md), 'sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], 'unread' => \[[long](../types/long.md)\], \]; -[$messages\_featuredStickersNotModified](../constructors/messages_featuredStickersNotModified.md) = \[\]; +*** +

[$messages.featuredStickersNotModified](../constructors/messages.featuredStickersNotModified.md) = \[\]; -[$messages\_foundGifs](../constructors/messages_foundGifs.md) = \['next_offset' => [int](../types/int.md), 'results' => \[[FoundGif](../types/FoundGif.md)\], \]; +*** +

[$messages.foundGifs](../constructors/messages.foundGifs.md) = \['next_offset' => [int](../types/int.md), 'results' => \[[FoundGif](../types/FoundGif.md)\], \]; -[$messages\_foundStickerSets](../constructors/messages_foundStickerSets.md) = \['hash' => [int](../types/int.md), 'sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], \]; +*** +

[$messages.foundStickerSets](../constructors/messages.foundStickerSets.md) = \['hash' => [int](../types/int.md), 'sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], \]; -[$messages\_foundStickerSetsNotModified](../constructors/messages_foundStickerSetsNotModified.md) = \[\]; +*** +

[$messages.foundStickerSetsNotModified](../constructors/messages.foundStickerSetsNotModified.md) = \[\]; -[$messages\_highScores](../constructors/messages_highScores.md) = \['scores' => \[[HighScore](../types/HighScore.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.highScores](../constructors/messages.highScores.md) = \['scores' => \[[HighScore](../types/HighScore.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_messageEditData](../constructors/messages_messageEditData.md) = \['caption' => [Bool](../types/Bool.md), \]; +*** +

[$messages.messageEditData](../constructors/messages.messageEditData.md) = \['caption' => [Bool](../types/Bool.md), \]; -[$messages\_messages](../constructors/messages_messages.md) = \['messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.messages](../constructors/messages.messages.md) = \['messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_messagesNotModified](../constructors/messages_messagesNotModified.md) = \['count' => [int](../types/int.md), \]; +*** +

[$messages.messagesNotModified](../constructors/messages.messagesNotModified.md) = \['count' => [int](../types/int.md), \]; -[$messages\_messagesSlice](../constructors/messages_messagesSlice.md) = \['inexact' => [Bool](../types/Bool.md), 'count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.messagesSlice](../constructors/messages.messagesSlice.md) = \['inexact' => [Bool](../types/Bool.md), 'count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_peerDialogs](../constructors/messages_peerDialogs.md) = \['dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'state' => [updates.State](../types/updates.State.md), \]; +*** +

[$messages.peerDialogs](../constructors/messages.peerDialogs.md) = \['dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'state' => [updates.State](../types/updates.State.md), \]; -[$messages\_recentStickers](../constructors/messages_recentStickers.md) = \['hash' => [int](../types/int.md), 'packs' => \[[StickerPack](../types/StickerPack.md)\], 'stickers' => \[[Document](../types/Document.md)\], 'dates' => \[[int](../types/int.md)\], \]; +*** +

[$messages.recentStickers](../constructors/messages.recentStickers.md) = \['hash' => [int](../types/int.md), 'packs' => \[[StickerPack](../types/StickerPack.md)\], 'stickers' => \[[Document](../types/Document.md)\], 'dates' => \[[int](../types/int.md)\], \]; -[$messages\_recentStickersNotModified](../constructors/messages_recentStickersNotModified.md) = \[\]; +*** +

[$messages.recentStickersNotModified](../constructors/messages.recentStickersNotModified.md) = \[\]; -[$messages\_savedGifs](../constructors/messages_savedGifs.md) = \['hash' => [int](../types/int.md), 'gifs' => \[[Document](../types/Document.md)\], \]; +*** +

[$messages.savedGifs](../constructors/messages.savedGifs.md) = \['hash' => [int](../types/int.md), 'gifs' => \[[Document](../types/Document.md)\], \]; -[$messages\_savedGifsNotModified](../constructors/messages_savedGifsNotModified.md) = \[\]; +*** +

[$messages.savedGifsNotModified](../constructors/messages.savedGifsNotModified.md) = \[\]; -[$messages\_sentEncryptedFile](../constructors/messages_sentEncryptedFile.md) = \['date' => [int](../types/int.md), 'file' => [EncryptedFile](../types/EncryptedFile.md), \]; +*** +

[$messages.sentEncryptedFile](../constructors/messages.sentEncryptedFile.md) = \['date' => [int](../types/int.md), 'file' => [EncryptedFile](../types/EncryptedFile.md), \]; -[$messages\_sentEncryptedMessage](../constructors/messages_sentEncryptedMessage.md) = \['date' => [int](../types/int.md), \]; +*** +

[$messages.sentEncryptedMessage](../constructors/messages.sentEncryptedMessage.md) = \['date' => [int](../types/int.md), \]; -[$messages\_stickerSet](../constructors/messages_stickerSet.md) = \['set' => [StickerSet](../types/StickerSet.md), 'packs' => \[[StickerPack](../types/StickerPack.md)\], 'documents' => \[[Document](../types/Document.md)\], \]; +*** +

[$messages.stickerSet](../constructors/messages.stickerSet.md) = \['set' => [StickerSet](../types/StickerSet.md), 'packs' => \[[StickerPack](../types/StickerPack.md)\], 'documents' => \[[Document](../types/Document.md)\], \]; -[$messages\_stickerSetInstallResultArchive](../constructors/messages_stickerSetInstallResultArchive.md) = \['sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], \]; +*** +

[$messages.stickerSetInstallResultArchive](../constructors/messages.stickerSetInstallResultArchive.md) = \['sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], \]; -[$messages\_stickerSetInstallResultSuccess](../constructors/messages_stickerSetInstallResultSuccess.md) = \[\]; +*** +

[$messages.stickerSetInstallResultSuccess](../constructors/messages.stickerSetInstallResultSuccess.md) = \[\]; -[$messages\_stickers](../constructors/messages_stickers.md) = \['hash' => [int](../types/int.md), 'stickers' => \[[Document](../types/Document.md)\], \]; +*** +

[$messages.stickers](../constructors/messages.stickers.md) = \['hash' => [int](../types/int.md), 'stickers' => \[[Document](../types/Document.md)\], \]; -[$messages\_stickersNotModified](../constructors/messages_stickersNotModified.md) = \[\]; +*** +

[$messages.stickersNotModified](../constructors/messages.stickersNotModified.md) = \[\]; ***

[$nearestDc](../constructors/nearestDc.md) = \['country' => [string](../types/string.md), 'this_dc' => [int](../types/int.md), 'nearest_dc' => [int](../types/int.md), \]; @@ -1329,17 +1420,22 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$paymentSavedCredentialsCard](../constructors/paymentSavedCredentialsCard.md) = \['id' => [string](../types/string.md), 'title' => [string](../types/string.md), \]; *** -

[$payments\_paymentForm](../constructors/payments_paymentForm.md) = \['can_save_credentials' => [Bool](../types/Bool.md), 'password_missing' => [Bool](../types/Bool.md), 'bot_id' => [int](../types/int.md), 'invoice' => [Invoice](../types/Invoice.md), 'provider_id' => [int](../types/int.md), 'url' => [string](../types/string.md), 'native_provider' => [string](../types/string.md), 'native_params' => [DataJSON](../types/DataJSON.md), 'saved_info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), 'saved_credentials' => [PaymentSavedCredentials](../types/PaymentSavedCredentials.md), 'users' => \[[User](../types/User.md)\], \]; +

[$payments.paymentForm](../constructors/payments.paymentForm.md) = \['can_save_credentials' => [Bool](../types/Bool.md), 'password_missing' => [Bool](../types/Bool.md), 'bot_id' => [int](../types/int.md), 'invoice' => [Invoice](../types/Invoice.md), 'provider_id' => [int](../types/int.md), 'url' => [string](../types/string.md), 'native_provider' => [string](../types/string.md), 'native_params' => [DataJSON](../types/DataJSON.md), 'saved_info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), 'saved_credentials' => [PaymentSavedCredentials](../types/PaymentSavedCredentials.md), 'users' => \[[User](../types/User.md)\], \]; -[$payments\_paymentReceipt](../constructors/payments_paymentReceipt.md) = \['date' => [int](../types/int.md), 'bot_id' => [int](../types/int.md), 'invoice' => [Invoice](../types/Invoice.md), 'provider_id' => [int](../types/int.md), 'info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), 'shipping' => [ShippingOption](../types/ShippingOption.md), 'currency' => [string](../types/string.md), 'total_amount' => [long](../types/long.md), 'credentials_title' => [string](../types/string.md), 'users' => \[[User](../types/User.md)\], \]; +*** +

[$payments.paymentReceipt](../constructors/payments.paymentReceipt.md) = \['date' => [int](../types/int.md), 'bot_id' => [int](../types/int.md), 'invoice' => [Invoice](../types/Invoice.md), 'provider_id' => [int](../types/int.md), 'info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), 'shipping' => [ShippingOption](../types/ShippingOption.md), 'currency' => [string](../types/string.md), 'total_amount' => [long](../types/long.md), 'credentials_title' => [string](../types/string.md), 'users' => \[[User](../types/User.md)\], \]; -[$payments\_paymentResult](../constructors/payments_paymentResult.md) = \['updates' => [Updates](../types/Updates.md), \]; +*** +

[$payments.paymentResult](../constructors/payments.paymentResult.md) = \['updates' => [Updates](../types/Updates.md), \]; -[$payments\_paymentVerficationNeeded](../constructors/payments_paymentVerficationNeeded.md) = \['url' => [string](../types/string.md), \]; +*** +

[$payments.paymentVerficationNeeded](../constructors/payments.paymentVerficationNeeded.md) = \['url' => [string](../types/string.md), \]; -[$payments\_savedInfo](../constructors/payments_savedInfo.md) = \['has_saved_credentials' => [Bool](../types/Bool.md), 'saved_info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), \]; +*** +

[$payments.savedInfo](../constructors/payments.savedInfo.md) = \['has_saved_credentials' => [Bool](../types/Bool.md), 'saved_info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), \]; -[$payments\_validatedRequestedInfo](../constructors/payments_validatedRequestedInfo.md) = \['id' => [string](../types/string.md), 'shipping_options' => \[[ShippingOption](../types/ShippingOption.md)\], \]; +*** +

[$payments.validatedRequestedInfo](../constructors/payments.validatedRequestedInfo.md) = \['id' => [string](../types/string.md), 'shipping_options' => \[[ShippingOption](../types/ShippingOption.md)\], \]; ***

[$peerChannel](../constructors/peerChannel.md) = \['channel_id' => [int](../types/int.md), \]; @@ -1356,6 +1452,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ***

[$peerUser](../constructors/peerUser.md) = \['user_id' => [int](../types/int.md), \]; +*** +

[$phone.phoneCall](../constructors/phone.phoneCall.md) = \['phone_call' => [PhoneCall](../types/PhoneCall.md), 'users' => \[[User](../types/User.md)\], \]; + ***

[$phoneCall](../constructors/phoneCall.md) = \['p2p_allowed' => [Bool](../types/Bool.md), 'id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'date' => [int](../types/int.md), 'admin_id' => [int](../types/int.md), 'participant_id' => [int](../types/int.md), 'g_a_or_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), 'connection' => [PhoneConnection](../types/PhoneConnection.md), 'alternative_connections' => \[[PhoneConnection](../types/PhoneConnection.md)\], 'start_date' => [int](../types/int.md), \]; @@ -1392,9 +1491,6 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ***

[$phoneConnection](../constructors/phoneConnection.md) = \['id' => [long](../types/long.md), 'ip' => [string](../types/string.md), 'ipv6' => [string](../types/string.md), 'port' => [int](../types/int.md), 'peer_tag' => [bytes](../types/bytes.md), \]; -*** -

[$phone\_phoneCall](../constructors/phone_phoneCall.md) = \['phone_call' => [PhoneCall](../types/PhoneCall.md), 'users' => \[[User](../types/User.md)\], \]; - ***

[$photo](../constructors/photo.md) = \['has_stickers' => [Bool](../types/Bool.md), 'id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'file_reference' => [bytes](../types/bytes.md), 'date' => [int](../types/int.md), 'sizes' => \[[PhotoSize](../types/PhotoSize.md)\], \]; @@ -1414,11 +1510,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$photoStrippedSize](../constructors/photoStrippedSize.md) = \['type' => [string](../types/string.md), 'bytes' => [bytes](../types/bytes.md), \]; *** -

[$photos\_photo](../constructors/photos_photo.md) = \['photo' => [Photo](../types/Photo.md), 'users' => \[[User](../types/User.md)\], \]; +

[$photos.photo](../constructors/photos.photo.md) = \['photo' => [Photo](../types/Photo.md), 'users' => \[[User](../types/User.md)\], \]; -[$photos\_photos](../constructors/photos_photos.md) = \['photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$photos.photos](../constructors/photos.photos.md) = \['photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$photos\_photosSlice](../constructors/photos_photosSlice.md) = \['count' => [int](../types/int.md), 'photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$photos.photosSlice](../constructors/photos.photosSlice.md) = \['count' => [int](../types/int.md), 'photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; ***

[$poll](../constructors/poll.md) = \['id' => [long](../types/long.md), 'closed' => [Bool](../types/Bool.md), 'question' => [string](../types/string.md), 'answers' => \[[PollAnswer](../types/PollAnswer.md)\], \]; @@ -1667,25 +1765,34 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$stickerSetMultiCovered](../constructors/stickerSetMultiCovered.md) = \['set' => [StickerSet](../types/StickerSet.md), 'covers' => \[[Document](../types/Document.md)\], \]; *** -

[$storage\_fileGif](../constructors/storage_fileGif.md) = \[\]; +

[$storage.fileGif](../constructors/storage.fileGif.md) = \[\]; -[$storage\_fileJpeg](../constructors/storage_fileJpeg.md) = \[\]; +*** +

[$storage.fileJpeg](../constructors/storage.fileJpeg.md) = \[\]; -[$storage\_fileMov](../constructors/storage_fileMov.md) = \[\]; +*** +

[$storage.fileMov](../constructors/storage.fileMov.md) = \[\]; -[$storage\_fileMp3](../constructors/storage_fileMp3.md) = \[\]; +*** +

[$storage.fileMp3](../constructors/storage.fileMp3.md) = \[\]; -[$storage\_fileMp4](../constructors/storage_fileMp4.md) = \[\]; +*** +

[$storage.fileMp4](../constructors/storage.fileMp4.md) = \[\]; -[$storage\_filePartial](../constructors/storage_filePartial.md) = \[\]; +*** +

[$storage.filePartial](../constructors/storage.filePartial.md) = \[\]; -[$storage\_filePdf](../constructors/storage_filePdf.md) = \[\]; +*** +

[$storage.filePdf](../constructors/storage.filePdf.md) = \[\]; -[$storage\_filePng](../constructors/storage_filePng.md) = \[\]; +*** +

[$storage.filePng](../constructors/storage.filePng.md) = \[\]; -[$storage\_fileUnknown](../constructors/storage_fileUnknown.md) = \[\]; +*** +

[$storage.fileUnknown](../constructors/storage.fileUnknown.md) = \[\]; -[$storage\_fileWebp](../constructors/storage_fileWebp.md) = \[\]; +*** +

[$storage.fileWebp](../constructors/storage.fileWebp.md) = \[\]; ***

[$textAnchor](../constructors/textAnchor.md) = \['text' => [RichText](../types/RichText.md), 'name' => [string](../types/string.md), \]; @@ -1984,6 +2091,30 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ***

[$updates](../constructors/updates.md) = \['updates' => \[[Update](../types/Update.md)\], 'users' => \[[User](../types/User.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'date' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; +*** +

[$updates.channelDifference](../constructors/updates.channelDifference.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), 'new_messages' => \[[Message](../types/Message.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +*** +

[$updates.channelDifferenceEmpty](../constructors/updates.channelDifferenceEmpty.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), \]; + +*** +

[$updates.channelDifferenceTooLong](../constructors/updates.channelDifferenceTooLong.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), 'top_message' => [int](../types/int.md), 'read_inbox_max_id' => [int](../types/int.md), 'read_outbox_max_id' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), 'unread_mentions_count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +*** +

[$updates.difference](../constructors/updates.difference.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'state' => [updates.State](../types/updates.State.md), \]; + +*** +

[$updates.differenceEmpty](../constructors/updates.differenceEmpty.md) = \['date' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; + +*** +

[$updates.differenceSlice](../constructors/updates.differenceSlice.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'intermediate_state' => [updates.State](../types/updates.State.md), \]; + +*** +

[$updates.differenceTooLong](../constructors/updates.differenceTooLong.md) = \['pts' => [int](../types/int.md), \]; + +*** +

[$updates.state](../constructors/updates.state.md) = \['pts' => [int](../types/int.md), 'qts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'seq' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), \]; + ***

[$updatesCombined](../constructors/updatesCombined.md) = \['updates' => \[[Update](../types/Update.md)\], 'users' => \[[User](../types/User.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'date' => [int](../types/int.md), 'seq_start' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; @@ -1991,32 +2122,19 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$updatesTooLong](../constructors/updatesTooLong.md) = \[\]; *** -

[$updates\_channelDifference](../constructors/updates_channelDifference.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), 'new_messages' => \[[Message](../types/Message.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; - -[$updates\_channelDifferenceEmpty](../constructors/updates_channelDifferenceEmpty.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), \]; - -[$updates\_channelDifferenceTooLong](../constructors/updates_channelDifferenceTooLong.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), 'top_message' => [int](../types/int.md), 'read_inbox_max_id' => [int](../types/int.md), 'read_outbox_max_id' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), 'unread_mentions_count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; - -[$updates\_difference](../constructors/updates_difference.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'state' => [updates.State](../types/updates.State.md), \]; - -[$updates\_differenceEmpty](../constructors/updates_differenceEmpty.md) = \['date' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; - -[$updates\_differenceSlice](../constructors/updates_differenceSlice.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'intermediate_state' => [updates.State](../types/updates.State.md), \]; - -[$updates\_differenceTooLong](../constructors/updates_differenceTooLong.md) = \['pts' => [int](../types/int.md), \]; - -[$updates\_state](../constructors/updates_state.md) = \['pts' => [int](../types/int.md), 'qts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'seq' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), \]; +

[$upload.cdnFile](../constructors/upload.cdnFile.md) = \['bytes' => [bytes](../types/bytes.md), \]; *** -

[$upload\_cdnFile](../constructors/upload_cdnFile.md) = \['bytes' => [bytes](../types/bytes.md), \]; +

[$upload.cdnFileReuploadNeeded](../constructors/upload.cdnFileReuploadNeeded.md) = \['request_token' => [bytes](../types/bytes.md), \]; -[$upload\_cdnFileReuploadNeeded](../constructors/upload_cdnFileReuploadNeeded.md) = \['request_token' => [bytes](../types/bytes.md), \]; +*** +

[$upload.file](../constructors/upload.file.md) = \['type' => [storage.FileType](../types/storage.FileType.md), 'mtime' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; -[$upload\_file](../constructors/upload_file.md) = \['type' => [storage.FileType](../types/storage.FileType.md), 'mtime' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; +*** +

[$upload.fileCdnRedirect](../constructors/upload.fileCdnRedirect.md) = \['dc_id' => [int](../types/int.md), 'file_token' => [bytes](../types/bytes.md), 'encryption_key' => [bytes](../types/bytes.md), 'encryption_iv' => [bytes](../types/bytes.md), 'file_hashes' => \[[FileHash](../types/FileHash.md)\], \]; -[$upload\_fileCdnRedirect](../constructors/upload_fileCdnRedirect.md) = \['dc_id' => [int](../types/int.md), 'file_token' => [bytes](../types/bytes.md), 'encryption_key' => [bytes](../types/bytes.md), 'encryption_iv' => [bytes](../types/bytes.md), 'file_hashes' => \[[FileHash](../types/FileHash.md)\], \]; - -[$upload\_webFile](../constructors/upload_webFile.md) = \['size' => [int](../types/int.md), 'mime_type' => [string](../types/string.md), 'file_type' => [storage.FileType](../types/storage.FileType.md), 'mtime' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; +*** +

[$upload.webFile](../constructors/upload.webFile.md) = \['size' => [int](../types/int.md), 'mime_type' => [string](../types/string.md), 'file_type' => [storage.FileType](../types/storage.FileType.md), 'mtime' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; ***

[$user](../constructors/user.md) = \['self' => [Bool](../types/Bool.md), 'contact' => [Bool](../types/Bool.md), 'mutual_contact' => [Bool](../types/Bool.md), 'deleted' => [Bool](../types/Bool.md), 'bot' => [Bool](../types/Bool.md), 'bot_chat_history' => [Bool](../types/Bool.md), 'bot_nochats' => [Bool](../types/Bool.md), 'verified' => [Bool](../types/Bool.md), 'restricted' => [Bool](../types/Bool.md), 'min' => [Bool](../types/Bool.md), 'bot_inline_geo' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), 'username' => [string](../types/string.md), 'phone' => [string](../types/string.md), 'photo' => [UserProfilePhoto](../types/UserProfilePhoto.md), 'status' => [UserStatus](../types/UserStatus.md), 'bot_info_version' => [int](../types/int.md), 'restriction_reason' => [string](../types/string.md), 'bot_inline_placeholder' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]; diff --git a/old_docs/API_docs_v95/constructors/account.authorizationForm.md b/old_docs/API_docs_v95/constructors/account.authorizationForm.md new file mode 100644 index 00000000..175276bf --- /dev/null +++ b/old_docs/API_docs_v95/constructors/account.authorizationForm.md @@ -0,0 +1,42 @@ +--- +title: account.authorizationForm +description: [Telegram Passport](https://core.telegram.org/passport) authorization form +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.authorizationForm +[Back to constructors index](index.md) + + + +[Telegram Passport](https://core.telegram.org/passport) authorization form + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|required\_types|Array of [SecureRequiredType](../types/SecureRequiredType.md) | Yes|Required types| +|values|Array of [SecureValue](../types/SecureValue.md) | Yes|Values| +|errors|Array of [SecureValueError](../types/SecureValueError.md) | Yes|Errors| +|users|Array of [User](../types/User.md) | Yes|Users| +|privacy\_policy\_url|[string](../types/string.md) | Optional|URL of the service's privacy policy| + + + +### Type: [account.AuthorizationForm](../types/account.AuthorizationForm.md) + + +### Example: + +```php +$account.authorizationForm = ['_' => 'account.authorizationForm', 'required_types' => [SecureRequiredType, SecureRequiredType], 'values' => [SecureValue, SecureValue], 'errors' => [SecureValueError, SecureValueError], 'users' => [User, User], 'privacy_policy_url' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +account.authorizationForm={_='account.authorizationForm', required_types={SecureRequiredType}, values={SecureValue}, errors={SecureValueError}, users={User}, privacy_policy_url='string'} + +``` + + diff --git a/old_docs/API_docs_v95/constructors/account.authorizations.md b/old_docs/API_docs_v95/constructors/account.authorizations.md new file mode 100644 index 00000000..53c961f0 --- /dev/null +++ b/old_docs/API_docs_v95/constructors/account.authorizations.md @@ -0,0 +1,38 @@ +--- +title: account.authorizations +description: Logged-in sessions +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.authorizations +[Back to constructors index](index.md) + + + +Logged-in sessions + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|authorizations|Array of [Authorization](../types/Authorization.md) | Yes|Authorizations| + + + +### Type: [account.Authorizations](../types/account.Authorizations.md) + + +### Example: + +```php +$account.authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization, Authorization]]; +``` + + +Or, if you're into Lua: + +```lua +account.authorizations={_='account.authorizations', authorizations={Authorization}} + +``` + + diff --git a/old_docs/API_docs_v95/constructors/account.password.md b/old_docs/API_docs_v95/constructors/account.password.md new file mode 100644 index 00000000..b6ad79db --- /dev/null +++ b/old_docs/API_docs_v95/constructors/account.password.md @@ -0,0 +1,48 @@ +--- +title: account.password +description: Configuration for two-factor authorization +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.password +[Back to constructors index](index.md) + + + +Configuration for two-factor authorization + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|has\_recovery|[Bool](../types/Bool.md) | Optional|Whether the user has a recovery method configured| +|has\_secure\_values|[Bool](../types/Bool.md) | Optional|Whether telegram [passport](https://core.telegram.org/passport) is enabled| +|has\_password|[Bool](../types/Bool.md) | Optional|Whether the user has a password| +|current\_algo|[PasswordKdfAlgo](../types/PasswordKdfAlgo.md) | Optional|The [KDF algorithm for SRP two-factor authentication](https://core.telegram.org/api/srp) of the current password| +|srp\_B|[bytes](../types/bytes.md) | Optional|Srp B param for [SRP authorization](https://core.telegram.org/api/srp)| +|srp\_id|[long](../types/long.md) | Optional|Srp ID param for [SRP authorization](https://core.telegram.org/api/srp)| +|hint|[string](../types/string.md) | Optional|Text hint for the password| +|email\_unconfirmed\_pattern|[string](../types/string.md) | Optional|A [password recovery email](https://core.telegram.org/api/srp#email-verification) with the specified [pattern](https://core.telegram.org/api/pattern) is still awaiting verification| +|new\_algo|[PasswordKdfAlgo](../types/PasswordKdfAlgo.md) | Yes|The [KDF algorithm for SRP two-factor authentication](https://core.telegram.org/api/srp) to use when creating new passwords| +|new\_secure\_algo|[SecurePasswordKdfAlgo](../types/SecurePasswordKdfAlgo.md) | Yes|The KDF algorithm for telegram [passport](https://core.telegram.org/passport)| +|secure\_random|[bytes](../types/bytes.md) | Yes|Secure random string| + + + +### Type: [account.Password](../types/account.Password.md) + + +### Example: + +```php +$account.password = ['_' => 'account.password', 'has_recovery' => Bool, 'has_secure_values' => Bool, 'has_password' => Bool, 'current_algo' => PasswordKdfAlgo, 'srp_B' => 'bytes', 'srp_id' => long, 'hint' => 'string', 'email_unconfirmed_pattern' => 'string', 'new_algo' => PasswordKdfAlgo, 'new_secure_algo' => SecurePasswordKdfAlgo, 'secure_random' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +account.password={_='account.password', has_recovery=Bool, has_secure_values=Bool, has_password=Bool, current_algo=PasswordKdfAlgo, srp_B='bytes', srp_id=long, hint='string', email_unconfirmed_pattern='string', new_algo=PasswordKdfAlgo, new_secure_algo=SecurePasswordKdfAlgo, secure_random='bytes'} + +``` + + diff --git a/old_docs/API_docs_v95/constructors/account.passwordInputSettings.md b/old_docs/API_docs_v95/constructors/account.passwordInputSettings.md new file mode 100644 index 00000000..f55837c8 --- /dev/null +++ b/old_docs/API_docs_v95/constructors/account.passwordInputSettings.md @@ -0,0 +1,42 @@ +--- +title: account.passwordInputSettings +description: Settings for setting up a new password +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.passwordInputSettings +[Back to constructors index](index.md) + + + +Settings for setting up a new password + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|new\_algo|[PasswordKdfAlgo](../types/PasswordKdfAlgo.md) | Optional|The [SRP algorithm](https://core.telegram.org/api/srp) to use| +|new\_password\_hash|[bytes](../types/bytes.md) | Optional|The [computed password hash](https://core.telegram.org/api/srp)| +|hint|[string](../types/string.md) | Optional|Text hint for the password| +|email|[string](../types/string.md) | Optional|Password recovery email| +|new\_secure\_settings|[SecureSecretSettings](../types/SecureSecretSettings.md) | Optional|Telegram [passport](https://core.telegram.org/passport) settings| + + + +### Type: [account.PasswordInputSettings](../types/account.PasswordInputSettings.md) + + +### Example: + +```php +$account.passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_algo' => PasswordKdfAlgo, 'new_password_hash' => 'bytes', 'hint' => 'string', 'email' => 'string', 'new_secure_settings' => SecureSecretSettings]; +``` + + +Or, if you're into Lua: + +```lua +account.passwordInputSettings={_='account.passwordInputSettings', new_algo=PasswordKdfAlgo, new_password_hash='bytes', hint='string', email='string', new_secure_settings=SecureSecretSettings} + +``` + + diff --git a/old_docs/API_docs_v95/constructors/account.passwordSettings.md b/old_docs/API_docs_v95/constructors/account.passwordSettings.md new file mode 100644 index 00000000..ab81079e --- /dev/null +++ b/old_docs/API_docs_v95/constructors/account.passwordSettings.md @@ -0,0 +1,39 @@ +--- +title: account.passwordSettings +description: Private info associated to the password info (recovery email, telegram [passport](https://core.telegram.org/passport) info & so on) +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.passwordSettings +[Back to constructors index](index.md) + + + +Private info associated to the password info (recovery email, telegram [passport](https://core.telegram.org/passport) info & so on) + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|email|[string](../types/string.md) | Optional|[2FA Recovery email](https://core.telegram.org/api/srp#email-verification)| +|secure\_settings|[SecureSecretSettings](../types/SecureSecretSettings.md) | Optional|Telegram [passport](https://core.telegram.org/passport) settings| + + + +### Type: [account.PasswordSettings](../types/account.PasswordSettings.md) + + +### Example: + +```php +$account.passwordSettings = ['_' => 'account.passwordSettings', 'email' => 'string', 'secure_settings' => SecureSecretSettings]; +``` + + +Or, if you're into Lua: + +```lua +account.passwordSettings={_='account.passwordSettings', email='string', secure_settings=SecureSecretSettings} + +``` + + diff --git a/old_docs/API_docs_v95/constructors/account.privacyRules.md b/old_docs/API_docs_v95/constructors/account.privacyRules.md new file mode 100644 index 00000000..7ae04abb --- /dev/null +++ b/old_docs/API_docs_v95/constructors/account.privacyRules.md @@ -0,0 +1,39 @@ +--- +title: account.privacyRules +description: Privacy rules +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.privacyRules +[Back to constructors index](index.md) + + + +Privacy rules + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|rules|Array of [PrivacyRule](../types/PrivacyRule.md) | Yes|Rules| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [account.PrivacyRules](../types/account.PrivacyRules.md) + + +### Example: + +```php +$account.privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule, PrivacyRule], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +account.privacyRules={_='account.privacyRules', rules={PrivacyRule}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v95/constructors/account.sentEmailCode.md b/old_docs/API_docs_v95/constructors/account.sentEmailCode.md new file mode 100644 index 00000000..c4c30275 --- /dev/null +++ b/old_docs/API_docs_v95/constructors/account.sentEmailCode.md @@ -0,0 +1,39 @@ +--- +title: account.sentEmailCode +description: The sent email code +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.sentEmailCode +[Back to constructors index](index.md) + + + +The sent email code + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|email\_pattern|[string](../types/string.md) | Yes|The email (to which the code was sent) must match this [pattern](https://core.telegram.org/api/pattern)| +|length|[int](../types/int.md) | Yes|The length of the verification code| + + + +### Type: [account.SentEmailCode](../types/account.SentEmailCode.md) + + +### Example: + +```php +$account.sentEmailCode = ['_' => 'account.sentEmailCode', 'email_pattern' => 'string', 'length' => int]; +``` + + +Or, if you're into Lua: + +```lua +account.sentEmailCode={_='account.sentEmailCode', email_pattern='string', length=int} + +``` + + diff --git a/old_docs/API_docs_v95/constructors/account.takeout.md b/old_docs/API_docs_v95/constructors/account.takeout.md new file mode 100644 index 00000000..1aca6c70 --- /dev/null +++ b/old_docs/API_docs_v95/constructors/account.takeout.md @@ -0,0 +1,38 @@ +--- +title: account.takeout +description: Takout info +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.takeout +[Back to constructors index](index.md) + + + +Takout info + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|id|[long](../types/long.md) | Yes|Takeout ID| + + + +### Type: [account.Takeout](../types/account.Takeout.md) + + +### Example: + +```php +$account.takeout = ['_' => 'account.takeout', 'id' => long]; +``` + + +Or, if you're into Lua: + +```lua +account.takeout={_='account.takeout', id=long} + +``` + + diff --git a/old_docs/API_docs_v95/constructors/account.tmpPassword.md b/old_docs/API_docs_v95/constructors/account.tmpPassword.md new file mode 100644 index 00000000..996548c4 --- /dev/null +++ b/old_docs/API_docs_v95/constructors/account.tmpPassword.md @@ -0,0 +1,39 @@ +--- +title: account.tmpPassword +description: Temporary payment password +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.tmpPassword +[Back to constructors index](index.md) + + + +Temporary payment password + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|tmp\_password|[bytes](../types/bytes.md) | Yes|Temporary password| +|valid\_until|[int](../types/int.md) | Yes|Validity period| + + + +### Type: [account.TmpPassword](../types/account.TmpPassword.md) + + +### Example: + +```php +$account.tmpPassword = ['_' => 'account.tmpPassword', 'tmp_password' => 'bytes', 'valid_until' => int]; +``` + + +Or, if you're into Lua: + +```lua +account.tmpPassword={_='account.tmpPassword', tmp_password='bytes', valid_until=int} + +``` + + diff --git a/old_docs/API_docs_v95/constructors/account.wallPapers.md b/old_docs/API_docs_v95/constructors/account.wallPapers.md new file mode 100644 index 00000000..c73f9dd3 --- /dev/null +++ b/old_docs/API_docs_v95/constructors/account.wallPapers.md @@ -0,0 +1,39 @@ +--- +title: account.wallPapers +description: Installed wallpapers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.wallPapers +[Back to constructors index](index.md) + + + +Installed wallpapers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|wallpapers|Array of [WallPaper](../types/WallPaper.md) | Yes|Wallpapers| + + + +### Type: [account.WallPapers](../types/account.WallPapers.md) + + +### Example: + +```php +$account.wallPapers = ['_' => 'account.wallPapers', 'hash' => int, 'wallpapers' => [WallPaper, WallPaper]]; +``` + + +Or, if you're into Lua: + +```lua +account.wallPapers={_='account.wallPapers', hash=int, wallpapers={WallPaper}} + +``` + + diff --git a/old_docs/API_docs_v95/constructors/account.wallPapersNotModified.md b/old_docs/API_docs_v95/constructors/account.wallPapersNotModified.md new file mode 100644 index 00000000..209233d7 --- /dev/null +++ b/old_docs/API_docs_v95/constructors/account.wallPapersNotModified.md @@ -0,0 +1,33 @@ +--- +title: account.wallPapersNotModified +description: No new wallpapers were found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.wallPapersNotModified +[Back to constructors index](index.md) + + + +No new wallpapers were found + + + + +### Type: [account.WallPapers](../types/account.WallPapers.md) + + +### Example: + +```php +$account.wallPapersNotModified = ['_' => 'account.wallPapersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +account.wallPapersNotModified={_='account.wallPapersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v95/constructors/account.webAuthorizations.md b/old_docs/API_docs_v95/constructors/account.webAuthorizations.md new file mode 100644 index 00000000..bb5d0211 --- /dev/null +++ b/old_docs/API_docs_v95/constructors/account.webAuthorizations.md @@ -0,0 +1,39 @@ +--- +title: account.webAuthorizations +description: Web authorizations +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.webAuthorizations +[Back to constructors index](index.md) + + + +Web authorizations + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|authorizations|Array of [WebAuthorization](../types/WebAuthorization.md) | Yes|Authorizations| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [account.WebAuthorizations](../types/account.WebAuthorizations.md) + + +### Example: + +```php +$account.webAuthorizations = ['_' => 'account.webAuthorizations', 'authorizations' => [WebAuthorization, WebAuthorization], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +account.webAuthorizations={_='account.webAuthorizations', authorizations={WebAuthorization}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v95/constructors/account_authorizationForm.md b/old_docs/API_docs_v95/constructors/account_authorizationForm.md deleted file mode 100644 index aaeff19b..00000000 --- a/old_docs/API_docs_v95/constructors/account_authorizationForm.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: account.authorizationForm -description: [Telegram Passport](https://core.telegram.org/passport) authorization form -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.authorizationForm -[Back to constructors index](index.md) - - - -[Telegram Passport](https://core.telegram.org/passport) authorization form - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|required\_types|Array of [SecureRequiredType](../types/SecureRequiredType.md) | Yes|Required types| -|values|Array of [SecureValue](../types/SecureValue.md) | Yes|Values| -|errors|Array of [SecureValueError](../types/SecureValueError.md) | Yes|Errors| -|users|Array of [User](../types/User.md) | Yes|Users| -|privacy\_policy\_url|[string](../types/string.md) | Optional|URL of the service's privacy policy| - - - -### Type: [account\_AuthorizationForm](../types/account_AuthorizationForm.md) - - -### Example: - -```php -$account_authorizationForm = ['_' => 'account.authorizationForm', 'required_types' => [SecureRequiredType, SecureRequiredType], 'values' => [SecureValue, SecureValue], 'errors' => [SecureValueError, SecureValueError], 'users' => [User, User], 'privacy_policy_url' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -account_authorizationForm={_='account.authorizationForm', required_types={SecureRequiredType}, values={SecureValue}, errors={SecureValueError}, users={User}, privacy_policy_url='string'} - -``` - - diff --git a/old_docs/API_docs_v95/constructors/account_authorizations.md b/old_docs/API_docs_v95/constructors/account_authorizations.md deleted file mode 100644 index aeae48f3..00000000 --- a/old_docs/API_docs_v95/constructors/account_authorizations.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: account.authorizations -description: Logged-in sessions -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.authorizations -[Back to constructors index](index.md) - - - -Logged-in sessions - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|authorizations|Array of [Authorization](../types/Authorization.md) | Yes|Authorizations| - - - -### Type: [account\_Authorizations](../types/account_Authorizations.md) - - -### Example: - -```php -$account_authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization, Authorization]]; -``` - - -Or, if you're into Lua: - -```lua -account_authorizations={_='account.authorizations', authorizations={Authorization}} - -``` - - diff --git a/old_docs/API_docs_v95/constructors/account_password.md b/old_docs/API_docs_v95/constructors/account_password.md deleted file mode 100644 index 0f2eaafb..00000000 --- a/old_docs/API_docs_v95/constructors/account_password.md +++ /dev/null @@ -1,48 +0,0 @@ ---- -title: account.password -description: Configuration for two-factor authorization -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.password -[Back to constructors index](index.md) - - - -Configuration for two-factor authorization - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|has\_recovery|[Bool](../types/Bool.md) | Optional|Whether the user has a recovery method configured| -|has\_secure\_values|[Bool](../types/Bool.md) | Optional|Whether telegram [passport](https://core.telegram.org/passport) is enabled| -|has\_password|[Bool](../types/Bool.md) | Optional|Whether the user has a password| -|current\_algo|[PasswordKdfAlgo](../types/PasswordKdfAlgo.md) | Optional|The [KDF algorithm for SRP two-factor authentication](https://core.telegram.org/api/srp) of the current password| -|srp\_B|[bytes](../types/bytes.md) | Optional|Srp B param for [SRP authorization](https://core.telegram.org/api/srp)| -|srp\_id|[long](../types/long.md) | Optional|Srp ID param for [SRP authorization](https://core.telegram.org/api/srp)| -|hint|[string](../types/string.md) | Optional|Text hint for the password| -|email\_unconfirmed\_pattern|[string](../types/string.md) | Optional|A [password recovery email](https://core.telegram.org/api/srp#email-verification) with the specified [pattern](https://core.telegram.org/api/pattern) is still awaiting verification| -|new\_algo|[PasswordKdfAlgo](../types/PasswordKdfAlgo.md) | Yes|The [KDF algorithm for SRP two-factor authentication](https://core.telegram.org/api/srp) to use when creating new passwords| -|new\_secure\_algo|[SecurePasswordKdfAlgo](../types/SecurePasswordKdfAlgo.md) | Yes|The KDF algorithm for telegram [passport](https://core.telegram.org/passport)| -|secure\_random|[bytes](../types/bytes.md) | Yes|Secure random string| - - - -### Type: [account\_Password](../types/account_Password.md) - - -### Example: - -```php -$account_password = ['_' => 'account.password', 'has_recovery' => Bool, 'has_secure_values' => Bool, 'has_password' => Bool, 'current_algo' => PasswordKdfAlgo, 'srp_B' => 'bytes', 'srp_id' => long, 'hint' => 'string', 'email_unconfirmed_pattern' => 'string', 'new_algo' => PasswordKdfAlgo, 'new_secure_algo' => SecurePasswordKdfAlgo, 'secure_random' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -account_password={_='account.password', has_recovery=Bool, has_secure_values=Bool, has_password=Bool, current_algo=PasswordKdfAlgo, srp_B='bytes', srp_id=long, hint='string', email_unconfirmed_pattern='string', new_algo=PasswordKdfAlgo, new_secure_algo=SecurePasswordKdfAlgo, secure_random='bytes'} - -``` - - diff --git a/old_docs/API_docs_v95/constructors/account_passwordInputSettings.md b/old_docs/API_docs_v95/constructors/account_passwordInputSettings.md deleted file mode 100644 index a4800a7c..00000000 --- a/old_docs/API_docs_v95/constructors/account_passwordInputSettings.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: account.passwordInputSettings -description: Settings for setting up a new password -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.passwordInputSettings -[Back to constructors index](index.md) - - - -Settings for setting up a new password - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|new\_algo|[PasswordKdfAlgo](../types/PasswordKdfAlgo.md) | Optional|The [SRP algorithm](https://core.telegram.org/api/srp) to use| -|new\_password\_hash|[bytes](../types/bytes.md) | Optional|The [computed password hash](https://core.telegram.org/api/srp)| -|hint|[string](../types/string.md) | Optional|Text hint for the password| -|email|[string](../types/string.md) | Optional|Password recovery email| -|new\_secure\_settings|[SecureSecretSettings](../types/SecureSecretSettings.md) | Optional|Telegram [passport](https://core.telegram.org/passport) settings| - - - -### Type: [account\_PasswordInputSettings](../types/account_PasswordInputSettings.md) - - -### Example: - -```php -$account_passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_algo' => PasswordKdfAlgo, 'new_password_hash' => 'bytes', 'hint' => 'string', 'email' => 'string', 'new_secure_settings' => SecureSecretSettings]; -``` - - -Or, if you're into Lua: - -```lua -account_passwordInputSettings={_='account.passwordInputSettings', new_algo=PasswordKdfAlgo, new_password_hash='bytes', hint='string', email='string', new_secure_settings=SecureSecretSettings} - -``` - - diff --git a/old_docs/API_docs_v95/constructors/account_passwordSettings.md b/old_docs/API_docs_v95/constructors/account_passwordSettings.md deleted file mode 100644 index 16eaf433..00000000 --- a/old_docs/API_docs_v95/constructors/account_passwordSettings.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: account.passwordSettings -description: Private info associated to the password info (recovery email, telegram [passport](https://core.telegram.org/passport) info & so on) -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.passwordSettings -[Back to constructors index](index.md) - - - -Private info associated to the password info (recovery email, telegram [passport](https://core.telegram.org/passport) info & so on) - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|email|[string](../types/string.md) | Optional|[2FA Recovery email](https://core.telegram.org/api/srp#email-verification)| -|secure\_settings|[SecureSecretSettings](../types/SecureSecretSettings.md) | Optional|Telegram [passport](https://core.telegram.org/passport) settings| - - - -### Type: [account\_PasswordSettings](../types/account_PasswordSettings.md) - - -### Example: - -```php -$account_passwordSettings = ['_' => 'account.passwordSettings', 'email' => 'string', 'secure_settings' => SecureSecretSettings]; -``` - - -Or, if you're into Lua: - -```lua -account_passwordSettings={_='account.passwordSettings', email='string', secure_settings=SecureSecretSettings} - -``` - - diff --git a/old_docs/API_docs_v95/constructors/account_privacyRules.md b/old_docs/API_docs_v95/constructors/account_privacyRules.md deleted file mode 100644 index 28b260b7..00000000 --- a/old_docs/API_docs_v95/constructors/account_privacyRules.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: account.privacyRules -description: Privacy rules -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.privacyRules -[Back to constructors index](index.md) - - - -Privacy rules - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|rules|Array of [PrivacyRule](../types/PrivacyRule.md) | Yes|Rules| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [account\_PrivacyRules](../types/account_PrivacyRules.md) - - -### Example: - -```php -$account_privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule, PrivacyRule], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -account_privacyRules={_='account.privacyRules', rules={PrivacyRule}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v95/constructors/account_sentEmailCode.md b/old_docs/API_docs_v95/constructors/account_sentEmailCode.md deleted file mode 100644 index 684fb4b5..00000000 --- a/old_docs/API_docs_v95/constructors/account_sentEmailCode.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: account.sentEmailCode -description: The sent email code -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.sentEmailCode -[Back to constructors index](index.md) - - - -The sent email code - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|email\_pattern|[string](../types/string.md) | Yes|The email (to which the code was sent) must match this [pattern](https://core.telegram.org/api/pattern)| -|length|[int](../types/int.md) | Yes|The length of the verification code| - - - -### Type: [account\_SentEmailCode](../types/account_SentEmailCode.md) - - -### Example: - -```php -$account_sentEmailCode = ['_' => 'account.sentEmailCode', 'email_pattern' => 'string', 'length' => int]; -``` - - -Or, if you're into Lua: - -```lua -account_sentEmailCode={_='account.sentEmailCode', email_pattern='string', length=int} - -``` - - diff --git a/old_docs/API_docs_v95/constructors/account_takeout.md b/old_docs/API_docs_v95/constructors/account_takeout.md deleted file mode 100644 index 09af93ca..00000000 --- a/old_docs/API_docs_v95/constructors/account_takeout.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: account.takeout -description: Takout info -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.takeout -[Back to constructors index](index.md) - - - -Takout info - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|id|[long](../types/long.md) | Yes|Takeout ID| - - - -### Type: [account\_Takeout](../types/account_Takeout.md) - - -### Example: - -```php -$account_takeout = ['_' => 'account.takeout', 'id' => long]; -``` - - -Or, if you're into Lua: - -```lua -account_takeout={_='account.takeout', id=long} - -``` - - diff --git a/old_docs/API_docs_v95/constructors/account_tmpPassword.md b/old_docs/API_docs_v95/constructors/account_tmpPassword.md deleted file mode 100644 index 68832780..00000000 --- a/old_docs/API_docs_v95/constructors/account_tmpPassword.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: account.tmpPassword -description: Temporary payment password -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.tmpPassword -[Back to constructors index](index.md) - - - -Temporary payment password - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|tmp\_password|[bytes](../types/bytes.md) | Yes|Temporary password| -|valid\_until|[int](../types/int.md) | Yes|Validity period| - - - -### Type: [account\_TmpPassword](../types/account_TmpPassword.md) - - -### Example: - -```php -$account_tmpPassword = ['_' => 'account.tmpPassword', 'tmp_password' => 'bytes', 'valid_until' => int]; -``` - - -Or, if you're into Lua: - -```lua -account_tmpPassword={_='account.tmpPassword', tmp_password='bytes', valid_until=int} - -``` - - diff --git a/old_docs/API_docs_v95/constructors/account_wallPapers.md b/old_docs/API_docs_v95/constructors/account_wallPapers.md deleted file mode 100644 index 6239c29c..00000000 --- a/old_docs/API_docs_v95/constructors/account_wallPapers.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: account.wallPapers -description: Installed wallpapers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.wallPapers -[Back to constructors index](index.md) - - - -Installed wallpapers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|wallpapers|Array of [WallPaper](../types/WallPaper.md) | Yes|Wallpapers| - - - -### Type: [account\_WallPapers](../types/account_WallPapers.md) - - -### Example: - -```php -$account_wallPapers = ['_' => 'account.wallPapers', 'hash' => int, 'wallpapers' => [WallPaper, WallPaper]]; -``` - - -Or, if you're into Lua: - -```lua -account_wallPapers={_='account.wallPapers', hash=int, wallpapers={WallPaper}} - -``` - - diff --git a/old_docs/API_docs_v95/constructors/account_wallPapersNotModified.md b/old_docs/API_docs_v95/constructors/account_wallPapersNotModified.md deleted file mode 100644 index acb28796..00000000 --- a/old_docs/API_docs_v95/constructors/account_wallPapersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: account.wallPapersNotModified -description: No new wallpapers were found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.wallPapersNotModified -[Back to constructors index](index.md) - - - -No new wallpapers were found - - - - -### Type: [account\_WallPapers](../types/account_WallPapers.md) - - -### Example: - -```php -$account_wallPapersNotModified = ['_' => 'account.wallPapersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -account_wallPapersNotModified={_='account.wallPapersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v95/constructors/account_webAuthorizations.md b/old_docs/API_docs_v95/constructors/account_webAuthorizations.md deleted file mode 100644 index ae402006..00000000 --- a/old_docs/API_docs_v95/constructors/account_webAuthorizations.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: account.webAuthorizations -description: Web authorizations -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.webAuthorizations -[Back to constructors index](index.md) - - - -Web authorizations - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|authorizations|Array of [WebAuthorization](../types/WebAuthorization.md) | Yes|Authorizations| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [account\_WebAuthorizations](../types/account_WebAuthorizations.md) - - -### Example: - -```php -$account_webAuthorizations = ['_' => 'account.webAuthorizations', 'authorizations' => [WebAuthorization, WebAuthorization], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -account_webAuthorizations={_='account.webAuthorizations', authorizations={WebAuthorization}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v95/constructors/auth.authorization.md b/old_docs/API_docs_v95/constructors/auth.authorization.md new file mode 100644 index 00000000..2a84bb12 --- /dev/null +++ b/old_docs/API_docs_v95/constructors/auth.authorization.md @@ -0,0 +1,39 @@ +--- +title: auth.authorization +description: Contains user authorization info. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.authorization +[Back to constructors index](index.md) + + + +Contains user authorization info. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|tmp\_sessions|[int](../types/int.md) | Optional|Temporary [passport](https://core.telegram.org/passport) sessions| +|user|[User](../types/User.md) | Optional|Info on authorized user| + + + +### Type: [auth.Authorization](../types/auth.Authorization.md) + + +### Example: + +```php +$auth.authorization = ['_' => 'auth.authorization', 'tmp_sessions' => int, 'user' => User]; +``` + + +Or, if you're into Lua: + +```lua +auth.authorization={_='auth.authorization', tmp_sessions=int, user=User} + +``` + + diff --git a/old_docs/API_docs_v95/constructors/auth.checkedPhone.md b/old_docs/API_docs_v95/constructors/auth.checkedPhone.md new file mode 100644 index 00000000..23e84cf9 --- /dev/null +++ b/old_docs/API_docs_v95/constructors/auth.checkedPhone.md @@ -0,0 +1,38 @@ +--- +title: auth.checkedPhone +description: Checked phone +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.checkedPhone +[Back to constructors index](index.md) + + + +Checked phone + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_registered|[Bool](../types/Bool.md) | Yes|Phone registered?| + + + +### Type: [auth.CheckedPhone](../types/auth.CheckedPhone.md) + + +### Example: + +```php +$auth.checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool]; +``` + + +Or, if you're into Lua: + +```lua +auth.checkedPhone={_='auth.checkedPhone', phone_registered=Bool} + +``` + + diff --git a/old_docs/API_docs_v95/constructors/auth.codeTypeCall.md b/old_docs/API_docs_v95/constructors/auth.codeTypeCall.md new file mode 100644 index 00000000..4b4a1cdc --- /dev/null +++ b/old_docs/API_docs_v95/constructors/auth.codeTypeCall.md @@ -0,0 +1,33 @@ +--- +title: auth.codeTypeCall +description: Type of verification code that will be sent next if you call the resendCode method: SMS code +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.codeTypeCall +[Back to constructors index](index.md) + + + +Type of verification code that will be sent next if you call the resendCode method: SMS code + + + + +### Type: [auth.CodeType](../types/auth.CodeType.md) + + +### Example: + +```php +$auth.codeTypeCall = ['_' => 'auth.codeTypeCall']; +``` + + +Or, if you're into Lua: + +```lua +auth.codeTypeCall={_='auth.codeTypeCall'} + +``` + + diff --git a/old_docs/API_docs_v95/constructors/auth.codeTypeFlashCall.md b/old_docs/API_docs_v95/constructors/auth.codeTypeFlashCall.md new file mode 100644 index 00000000..ef97e034 --- /dev/null +++ b/old_docs/API_docs_v95/constructors/auth.codeTypeFlashCall.md @@ -0,0 +1,33 @@ +--- +title: auth.codeTypeFlashCall +description: Type of verification code that will be sent next if you call the resendCode method: SMS code +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.codeTypeFlashCall +[Back to constructors index](index.md) + + + +Type of verification code that will be sent next if you call the resendCode method: SMS code + + + + +### Type: [auth.CodeType](../types/auth.CodeType.md) + + +### Example: + +```php +$auth.codeTypeFlashCall = ['_' => 'auth.codeTypeFlashCall']; +``` + + +Or, if you're into Lua: + +```lua +auth.codeTypeFlashCall={_='auth.codeTypeFlashCall'} + +``` + + diff --git a/old_docs/API_docs_v95/constructors/auth.codeTypeSms.md b/old_docs/API_docs_v95/constructors/auth.codeTypeSms.md new file mode 100644 index 00000000..bab9a5a4 --- /dev/null +++ b/old_docs/API_docs_v95/constructors/auth.codeTypeSms.md @@ -0,0 +1,33 @@ +--- +title: auth.codeTypeSms +description: Type of verification code that will be sent next if you call the resendCode method: SMS code +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.codeTypeSms +[Back to constructors index](index.md) + + + +Type of verification code that will be sent next if you call the resendCode method: SMS code + + + + +### Type: [auth.CodeType](../types/auth.CodeType.md) + + +### Example: + +```php +$auth.codeTypeSms = ['_' => 'auth.codeTypeSms']; +``` + + +Or, if you're into Lua: + +```lua +auth.codeTypeSms={_='auth.codeTypeSms'} + +``` + + diff --git a/old_docs/API_docs_v95/constructors/auth.exportedAuthorization.md b/old_docs/API_docs_v95/constructors/auth.exportedAuthorization.md new file mode 100644 index 00000000..2a4a9896 --- /dev/null +++ b/old_docs/API_docs_v95/constructors/auth.exportedAuthorization.md @@ -0,0 +1,39 @@ +--- +title: auth.exportedAuthorization +description: Data for copying of authorization between data centres. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.exportedAuthorization +[Back to constructors index](index.md) + + + +Data for copying of authorization between data centres. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|id|[int](../types/int.md) | Yes|Current user identifier| +|bytes|[bytes](../types/bytes.md) | Yes|Authorizes key| + + + +### Type: [auth.ExportedAuthorization](../types/auth.ExportedAuthorization.md) + + +### Example: + +```php +$auth.exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +auth.exportedAuthorization={_='auth.exportedAuthorization', id=int, bytes='bytes'} + +``` + + diff --git a/old_docs/API_docs_v95/constructors/auth.passwordRecovery.md b/old_docs/API_docs_v95/constructors/auth.passwordRecovery.md new file mode 100644 index 00000000..61de922d --- /dev/null +++ b/old_docs/API_docs_v95/constructors/auth.passwordRecovery.md @@ -0,0 +1,38 @@ +--- +title: auth.passwordRecovery +description: Recovery info of a [2FA password](https://core.telegram.org/api/srp), only for accounts with a [recovery email configured](https://core.telegram.org/api/srp#email-verification). +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.passwordRecovery +[Back to constructors index](index.md) + + + +Recovery info of a [2FA password](https://core.telegram.org/api/srp), only for accounts with a [recovery email configured](https://core.telegram.org/api/srp#email-verification). + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|email\_pattern|[string](../types/string.md) | Yes|The email to which the recovery code was sent must match this [pattern](https://core.telegram.org/api/pattern).| + + + +### Type: [auth.PasswordRecovery](../types/auth.PasswordRecovery.md) + + +### Example: + +```php +$auth.passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +auth.passwordRecovery={_='auth.passwordRecovery', email_pattern='string'} + +``` + + diff --git a/old_docs/API_docs_v95/constructors/auth.sentCode.md b/old_docs/API_docs_v95/constructors/auth.sentCode.md new file mode 100644 index 00000000..bfdaea05 --- /dev/null +++ b/old_docs/API_docs_v95/constructors/auth.sentCode.md @@ -0,0 +1,43 @@ +--- +title: auth.sentCode +description: Contains info about a sent verification code. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentCode +[Back to constructors index](index.md) + + + +Contains info about a sent verification code. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_registered|[Bool](../types/Bool.md) | Optional|Phone registered?| +|type|[auth.SentCodeType](../constructors/auth.SentCodeType.md) | Yes|Phone code type| +|phone\_code\_hash|[string](../types/string.md) | Yes|Phone code hash, to be stored and later re-used with [auth.signIn](../methods/auth.signIn.md)| +|next\_type|[auth.CodeType](../constructors/auth.CodeType.md) | Optional|Phone code type that will be sent next, if the phone code is not received within `timeout` seconds: to send it use [auth.resendCode](../methods/auth.resendCode.md)| +|timeout|[int](../types/int.md) | Optional|Timeout for reception of the phone code| +|terms\_of\_service|[help.TermsOfService](../constructors/help.TermsOfService.md) | Optional|Terms of service| + + + +### Type: [auth.SentCode](../types/auth.SentCode.md) + + +### Example: + +```php +$auth.sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'type' => auth.SentCodeType, 'phone_code_hash' => 'string', 'next_type' => auth.CodeType, 'timeout' => int, 'terms_of_service' => help.TermsOfService]; +``` + + +Or, if you're into Lua: + +```lua +auth.sentCode={_='auth.sentCode', phone_registered=Bool, type=auth.SentCodeType, phone_code_hash='string', next_type=auth.CodeType, timeout=int, terms_of_service=help.TermsOfService} + +``` + + diff --git a/old_docs/API_docs_v95/constructors/auth.sentCodeTypeApp.md b/old_docs/API_docs_v95/constructors/auth.sentCodeTypeApp.md new file mode 100644 index 00000000..5f2d4aa3 --- /dev/null +++ b/old_docs/API_docs_v95/constructors/auth.sentCodeTypeApp.md @@ -0,0 +1,38 @@ +--- +title: auth.sentCodeTypeApp +description: The code was sent through the telegram app +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentCodeTypeApp +[Back to constructors index](index.md) + + + +The code was sent through the telegram app + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|length|[int](../types/int.md) | Yes|Length of the code in bytes| + + + +### Type: [auth.SentCodeType](../types/auth.SentCodeType.md) + + +### Example: + +```php +$auth.sentCodeTypeApp = ['_' => 'auth.sentCodeTypeApp', 'length' => int]; +``` + + +Or, if you're into Lua: + +```lua +auth.sentCodeTypeApp={_='auth.sentCodeTypeApp', length=int} + +``` + + diff --git a/old_docs/API_docs_v95/constructors/auth.sentCodeTypeCall.md b/old_docs/API_docs_v95/constructors/auth.sentCodeTypeCall.md new file mode 100644 index 00000000..9843b3df --- /dev/null +++ b/old_docs/API_docs_v95/constructors/auth.sentCodeTypeCall.md @@ -0,0 +1,38 @@ +--- +title: auth.sentCodeTypeCall +description: The code will be sent via a phone call: a synthesized voice will tell the user which verification code to input. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentCodeTypeCall +[Back to constructors index](index.md) + + + +The code will be sent via a phone call: a synthesized voice will tell the user which verification code to input. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|length|[int](../types/int.md) | Yes|Length of the verification code| + + + +### Type: [auth.SentCodeType](../types/auth.SentCodeType.md) + + +### Example: + +```php +$auth.sentCodeTypeCall = ['_' => 'auth.sentCodeTypeCall', 'length' => int]; +``` + + +Or, if you're into Lua: + +```lua +auth.sentCodeTypeCall={_='auth.sentCodeTypeCall', length=int} + +``` + + diff --git a/old_docs/API_docs_v95/constructors/auth.sentCodeTypeFlashCall.md b/old_docs/API_docs_v95/constructors/auth.sentCodeTypeFlashCall.md new file mode 100644 index 00000000..0d24751d --- /dev/null +++ b/old_docs/API_docs_v95/constructors/auth.sentCodeTypeFlashCall.md @@ -0,0 +1,38 @@ +--- +title: auth.sentCodeTypeFlashCall +description: The code will be sent via a flash phone call, that will be closed immediately. The phone code will then be the phone number itself, just make sure that the phone number matches the specified pattern. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentCodeTypeFlashCall +[Back to constructors index](index.md) + + + +The code will be sent via a flash phone call, that will be closed immediately. The phone code will then be the phone number itself, just make sure that the phone number matches the specified pattern. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pattern|[string](../types/string.md) | Yes|[pattern](https://core.telegram.org/api/pattern) to match| + + + +### Type: [auth.SentCodeType](../types/auth.SentCodeType.md) + + +### Example: + +```php +$auth.sentCodeTypeFlashCall = ['_' => 'auth.sentCodeTypeFlashCall', 'pattern' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +auth.sentCodeTypeFlashCall={_='auth.sentCodeTypeFlashCall', pattern='string'} + +``` + + diff --git a/old_docs/API_docs_v95/constructors/auth.sentCodeTypeSms.md b/old_docs/API_docs_v95/constructors/auth.sentCodeTypeSms.md new file mode 100644 index 00000000..d8ecb75e --- /dev/null +++ b/old_docs/API_docs_v95/constructors/auth.sentCodeTypeSms.md @@ -0,0 +1,38 @@ +--- +title: auth.sentCodeTypeSms +description: The code was sent via SMS +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentCodeTypeSms +[Back to constructors index](index.md) + + + +The code was sent via SMS + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|length|[int](../types/int.md) | Yes|Length of the code in bytes| + + + +### Type: [auth.SentCodeType](../types/auth.SentCodeType.md) + + +### Example: + +```php +$auth.sentCodeTypeSms = ['_' => 'auth.sentCodeTypeSms', 'length' => int]; +``` + + +Or, if you're into Lua: + +```lua +auth.sentCodeTypeSms={_='auth.sentCodeTypeSms', length=int} + +``` + + diff --git a/old_docs/API_docs_v95/constructors/auth_authorization.md b/old_docs/API_docs_v95/constructors/auth_authorization.md deleted file mode 100644 index cb72811d..00000000 --- a/old_docs/API_docs_v95/constructors/auth_authorization.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: auth.authorization -description: Contains user authorization info. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.authorization -[Back to constructors index](index.md) - - - -Contains user authorization info. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|tmp\_sessions|[int](../types/int.md) | Optional|Temporary [passport](https://core.telegram.org/passport) sessions| -|user|[User](../types/User.md) | Optional|Info on authorized user| - - - -### Type: [auth\_Authorization](../types/auth_Authorization.md) - - -### Example: - -```php -$auth_authorization = ['_' => 'auth.authorization', 'tmp_sessions' => int, 'user' => User]; -``` - - -Or, if you're into Lua: - -```lua -auth_authorization={_='auth.authorization', tmp_sessions=int, user=User} - -``` - - diff --git a/old_docs/API_docs_v95/constructors/auth_checkedPhone.md b/old_docs/API_docs_v95/constructors/auth_checkedPhone.md deleted file mode 100644 index c77becf6..00000000 --- a/old_docs/API_docs_v95/constructors/auth_checkedPhone.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.checkedPhone -description: Checked phone -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.checkedPhone -[Back to constructors index](index.md) - - - -Checked phone - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_registered|[Bool](../types/Bool.md) | Yes|Phone registered?| - - - -### Type: [auth\_CheckedPhone](../types/auth_CheckedPhone.md) - - -### Example: - -```php -$auth_checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool]; -``` - - -Or, if you're into Lua: - -```lua -auth_checkedPhone={_='auth.checkedPhone', phone_registered=Bool} - -``` - - diff --git a/old_docs/API_docs_v95/constructors/auth_codeTypeCall.md b/old_docs/API_docs_v95/constructors/auth_codeTypeCall.md deleted file mode 100644 index 3e957c2a..00000000 --- a/old_docs/API_docs_v95/constructors/auth_codeTypeCall.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: auth.codeTypeCall -description: Type of verification code that will be sent next if you call the resendCode method: SMS code -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.codeTypeCall -[Back to constructors index](index.md) - - - -Type of verification code that will be sent next if you call the resendCode method: SMS code - - - - -### Type: [auth\_CodeType](../types/auth_CodeType.md) - - -### Example: - -```php -$auth_codeTypeCall = ['_' => 'auth.codeTypeCall']; -``` - - -Or, if you're into Lua: - -```lua -auth_codeTypeCall={_='auth.codeTypeCall'} - -``` - - diff --git a/old_docs/API_docs_v95/constructors/auth_codeTypeFlashCall.md b/old_docs/API_docs_v95/constructors/auth_codeTypeFlashCall.md deleted file mode 100644 index 981b2461..00000000 --- a/old_docs/API_docs_v95/constructors/auth_codeTypeFlashCall.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: auth.codeTypeFlashCall -description: Type of verification code that will be sent next if you call the resendCode method: SMS code -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.codeTypeFlashCall -[Back to constructors index](index.md) - - - -Type of verification code that will be sent next if you call the resendCode method: SMS code - - - - -### Type: [auth\_CodeType](../types/auth_CodeType.md) - - -### Example: - -```php -$auth_codeTypeFlashCall = ['_' => 'auth.codeTypeFlashCall']; -``` - - -Or, if you're into Lua: - -```lua -auth_codeTypeFlashCall={_='auth.codeTypeFlashCall'} - -``` - - diff --git a/old_docs/API_docs_v95/constructors/auth_codeTypeSms.md b/old_docs/API_docs_v95/constructors/auth_codeTypeSms.md deleted file mode 100644 index 16eb5d0d..00000000 --- a/old_docs/API_docs_v95/constructors/auth_codeTypeSms.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: auth.codeTypeSms -description: Type of verification code that will be sent next if you call the resendCode method: SMS code -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.codeTypeSms -[Back to constructors index](index.md) - - - -Type of verification code that will be sent next if you call the resendCode method: SMS code - - - - -### Type: [auth\_CodeType](../types/auth_CodeType.md) - - -### Example: - -```php -$auth_codeTypeSms = ['_' => 'auth.codeTypeSms']; -``` - - -Or, if you're into Lua: - -```lua -auth_codeTypeSms={_='auth.codeTypeSms'} - -``` - - diff --git a/old_docs/API_docs_v95/constructors/auth_exportedAuthorization.md b/old_docs/API_docs_v95/constructors/auth_exportedAuthorization.md deleted file mode 100644 index 8d18916e..00000000 --- a/old_docs/API_docs_v95/constructors/auth_exportedAuthorization.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: auth.exportedAuthorization -description: Data for copying of authorization between data centres. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.exportedAuthorization -[Back to constructors index](index.md) - - - -Data for copying of authorization between data centres. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|id|[int](../types/int.md) | Yes|Current user identifier| -|bytes|[bytes](../types/bytes.md) | Yes|Authorizes key| - - - -### Type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) - - -### Example: - -```php -$auth_exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -auth_exportedAuthorization={_='auth.exportedAuthorization', id=int, bytes='bytes'} - -``` - - diff --git a/old_docs/API_docs_v95/constructors/auth_passwordRecovery.md b/old_docs/API_docs_v95/constructors/auth_passwordRecovery.md deleted file mode 100644 index c40f375e..00000000 --- a/old_docs/API_docs_v95/constructors/auth_passwordRecovery.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.passwordRecovery -description: Recovery info of a [2FA password](https://core.telegram.org/api/srp), only for accounts with a [recovery email configured](https://core.telegram.org/api/srp#email-verification). -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.passwordRecovery -[Back to constructors index](index.md) - - - -Recovery info of a [2FA password](https://core.telegram.org/api/srp), only for accounts with a [recovery email configured](https://core.telegram.org/api/srp#email-verification). - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|email\_pattern|[string](../types/string.md) | Yes|The email to which the recovery code was sent must match this [pattern](https://core.telegram.org/api/pattern).| - - - -### Type: [auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) - - -### Example: - -```php -$auth_passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -auth_passwordRecovery={_='auth.passwordRecovery', email_pattern='string'} - -``` - - diff --git a/old_docs/API_docs_v95/constructors/auth_sentCode.md b/old_docs/API_docs_v95/constructors/auth_sentCode.md deleted file mode 100644 index f34f844a..00000000 --- a/old_docs/API_docs_v95/constructors/auth_sentCode.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: auth.sentCode -description: Contains info about a sent verification code. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentCode -[Back to constructors index](index.md) - - - -Contains info about a sent verification code. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_registered|[Bool](../types/Bool.md) | Optional|Phone registered?| -|type|[auth\_SentCodeType](../types/auth_SentCodeType.md) | Yes|Phone code type| -|phone\_code\_hash|[string](../types/string.md) | Yes|Phone code hash, to be stored and later re-used with [auth.signIn](../methods/auth.signIn.md)| -|next\_type|[auth\_CodeType](../types/auth_CodeType.md) | Optional|Phone code type that will be sent next, if the phone code is not received within `timeout` seconds: to send it use [auth.resendCode](../methods/auth.resendCode.md)| -|timeout|[int](../types/int.md) | Optional|Timeout for reception of the phone code| -|terms\_of\_service|[help\_TermsOfService](../types/help_TermsOfService.md) | Optional|Terms of service| - - - -### Type: [auth\_SentCode](../types/auth_SentCode.md) - - -### Example: - -```php -$auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'type' => auth_SentCodeType, 'phone_code_hash' => 'string', 'next_type' => auth_CodeType, 'timeout' => int, 'terms_of_service' => help_TermsOfService]; -``` - - -Or, if you're into Lua: - -```lua -auth_sentCode={_='auth.sentCode', phone_registered=Bool, type=auth_SentCodeType, phone_code_hash='string', next_type=auth_CodeType, timeout=int, terms_of_service=help_TermsOfService} - -``` - - diff --git a/old_docs/API_docs_v95/constructors/auth_sentCodeTypeApp.md b/old_docs/API_docs_v95/constructors/auth_sentCodeTypeApp.md deleted file mode 100644 index 6b7ad824..00000000 --- a/old_docs/API_docs_v95/constructors/auth_sentCodeTypeApp.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.sentCodeTypeApp -description: The code was sent through the telegram app -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentCodeTypeApp -[Back to constructors index](index.md) - - - -The code was sent through the telegram app - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|length|[int](../types/int.md) | Yes|Length of the code in bytes| - - - -### Type: [auth\_SentCodeType](../types/auth_SentCodeType.md) - - -### Example: - -```php -$auth_sentCodeTypeApp = ['_' => 'auth.sentCodeTypeApp', 'length' => int]; -``` - - -Or, if you're into Lua: - -```lua -auth_sentCodeTypeApp={_='auth.sentCodeTypeApp', length=int} - -``` - - diff --git a/old_docs/API_docs_v95/constructors/auth_sentCodeTypeCall.md b/old_docs/API_docs_v95/constructors/auth_sentCodeTypeCall.md deleted file mode 100644 index bf025aa5..00000000 --- a/old_docs/API_docs_v95/constructors/auth_sentCodeTypeCall.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.sentCodeTypeCall -description: The code will be sent via a phone call: a synthesized voice will tell the user which verification code to input. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentCodeTypeCall -[Back to constructors index](index.md) - - - -The code will be sent via a phone call: a synthesized voice will tell the user which verification code to input. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|length|[int](../types/int.md) | Yes|Length of the verification code| - - - -### Type: [auth\_SentCodeType](../types/auth_SentCodeType.md) - - -### Example: - -```php -$auth_sentCodeTypeCall = ['_' => 'auth.sentCodeTypeCall', 'length' => int]; -``` - - -Or, if you're into Lua: - -```lua -auth_sentCodeTypeCall={_='auth.sentCodeTypeCall', length=int} - -``` - - diff --git a/old_docs/API_docs_v95/constructors/auth_sentCodeTypeFlashCall.md b/old_docs/API_docs_v95/constructors/auth_sentCodeTypeFlashCall.md deleted file mode 100644 index efe64ce7..00000000 --- a/old_docs/API_docs_v95/constructors/auth_sentCodeTypeFlashCall.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.sentCodeTypeFlashCall -description: The code will be sent via a flash phone call, that will be closed immediately. The phone code will then be the phone number itself, just make sure that the phone number matches the specified pattern. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentCodeTypeFlashCall -[Back to constructors index](index.md) - - - -The code will be sent via a flash phone call, that will be closed immediately. The phone code will then be the phone number itself, just make sure that the phone number matches the specified pattern. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pattern|[string](../types/string.md) | Yes|[pattern](https://core.telegram.org/api/pattern) to match| - - - -### Type: [auth\_SentCodeType](../types/auth_SentCodeType.md) - - -### Example: - -```php -$auth_sentCodeTypeFlashCall = ['_' => 'auth.sentCodeTypeFlashCall', 'pattern' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -auth_sentCodeTypeFlashCall={_='auth.sentCodeTypeFlashCall', pattern='string'} - -``` - - diff --git a/old_docs/API_docs_v95/constructors/auth_sentCodeTypeSms.md b/old_docs/API_docs_v95/constructors/auth_sentCodeTypeSms.md deleted file mode 100644 index 8e27dac9..00000000 --- a/old_docs/API_docs_v95/constructors/auth_sentCodeTypeSms.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.sentCodeTypeSms -description: The code was sent via SMS -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentCodeTypeSms -[Back to constructors index](index.md) - - - -The code was sent via SMS - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|length|[int](../types/int.md) | Yes|Length of the code in bytes| - - - -### Type: [auth\_SentCodeType](../types/auth_SentCodeType.md) - - -### Example: - -```php -$auth_sentCodeTypeSms = ['_' => 'auth.sentCodeTypeSms', 'length' => int]; -``` - - -Or, if you're into Lua: - -```lua -auth_sentCodeTypeSms={_='auth.sentCodeTypeSms', length=int} - -``` - - diff --git a/old_docs/API_docs_v95/constructors/channels.adminLogResults.md b/old_docs/API_docs_v95/constructors/channels.adminLogResults.md new file mode 100644 index 00000000..fc4e234a --- /dev/null +++ b/old_docs/API_docs_v95/constructors/channels.adminLogResults.md @@ -0,0 +1,40 @@ +--- +title: channels.adminLogResults +description: Admin log events +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: channels.adminLogResults +[Back to constructors index](index.md) + + + +Admin log events + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|events|Array of [ChannelAdminLogEvent](../types/ChannelAdminLogEvent.md) | Yes|Events| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [channels.AdminLogResults](../types/channels.AdminLogResults.md) + + +### Example: + +```php +$channels.adminLogResults = ['_' => 'channels.adminLogResults', 'events' => [ChannelAdminLogEvent, ChannelAdminLogEvent], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +channels.adminLogResults={_='channels.adminLogResults', events={ChannelAdminLogEvent}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v95/constructors/channels.channelParticipant.md b/old_docs/API_docs_v95/constructors/channels.channelParticipant.md new file mode 100644 index 00000000..0f09777f --- /dev/null +++ b/old_docs/API_docs_v95/constructors/channels.channelParticipant.md @@ -0,0 +1,39 @@ +--- +title: channels.channelParticipant +description: Represents a channel participant +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: channels.channelParticipant +[Back to constructors index](index.md) + + + +Represents a channel participant + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|participant|[ChannelParticipant](../types/ChannelParticipant.md) | Yes|The channel participant| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [channels.ChannelParticipant](../types/channels.ChannelParticipant.md) + + +### Example: + +```php +$channels.channelParticipant = ['_' => 'channels.channelParticipant', 'participant' => ChannelParticipant, 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +channels.channelParticipant={_='channels.channelParticipant', participant=ChannelParticipant, users={User}} + +``` + + diff --git a/old_docs/API_docs_v95/constructors/channels.channelParticipants.md b/old_docs/API_docs_v95/constructors/channels.channelParticipants.md new file mode 100644 index 00000000..6ee1a8b3 --- /dev/null +++ b/old_docs/API_docs_v95/constructors/channels.channelParticipants.md @@ -0,0 +1,40 @@ +--- +title: channels.channelParticipants +description: Represents multiple channel participants +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: channels.channelParticipants +[Back to constructors index](index.md) + + + +Represents multiple channel participants + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of participants that correspond to the given query| +|participants|Array of [ChannelParticipant](../types/ChannelParticipant.md) | Yes|Participants| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [channels.ChannelParticipants](../types/channels.ChannelParticipants.md) + + +### Example: + +```php +$channels.channelParticipants = ['_' => 'channels.channelParticipants', 'count' => int, 'participants' => [ChannelParticipant, ChannelParticipant], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +channels.channelParticipants={_='channels.channelParticipants', count=int, participants={ChannelParticipant}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v95/constructors/channels.channelParticipantsNotModified.md b/old_docs/API_docs_v95/constructors/channels.channelParticipantsNotModified.md new file mode 100644 index 00000000..37ece73a --- /dev/null +++ b/old_docs/API_docs_v95/constructors/channels.channelParticipantsNotModified.md @@ -0,0 +1,33 @@ +--- +title: channels.channelParticipantsNotModified +description: No new participant info could be found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: channels.channelParticipantsNotModified +[Back to constructors index](index.md) + + + +No new participant info could be found + + + + +### Type: [channels.ChannelParticipants](../types/channels.ChannelParticipants.md) + + +### Example: + +```php +$channels.channelParticipantsNotModified = ['_' => 'channels.channelParticipantsNotModified']; +``` + + +Or, if you're into Lua: + +```lua +channels.channelParticipantsNotModified={_='channels.channelParticipantsNotModified'} + +``` + + diff --git a/old_docs/API_docs_v95/constructors/channels_adminLogResults.md b/old_docs/API_docs_v95/constructors/channels_adminLogResults.md deleted file mode 100644 index 9061212a..00000000 --- a/old_docs/API_docs_v95/constructors/channels_adminLogResults.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: channels.adminLogResults -description: Admin log events -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: channels.adminLogResults -[Back to constructors index](index.md) - - - -Admin log events - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|events|Array of [ChannelAdminLogEvent](../types/ChannelAdminLogEvent.md) | Yes|Events| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [channels\_AdminLogResults](../types/channels_AdminLogResults.md) - - -### Example: - -```php -$channels_adminLogResults = ['_' => 'channels.adminLogResults', 'events' => [ChannelAdminLogEvent, ChannelAdminLogEvent], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -channels_adminLogResults={_='channels.adminLogResults', events={ChannelAdminLogEvent}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v95/constructors/channels_channelParticipant.md b/old_docs/API_docs_v95/constructors/channels_channelParticipant.md deleted file mode 100644 index 15fe46a4..00000000 --- a/old_docs/API_docs_v95/constructors/channels_channelParticipant.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: channels.channelParticipant -description: Represents a channel participant -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: channels.channelParticipant -[Back to constructors index](index.md) - - - -Represents a channel participant - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|participant|[ChannelParticipant](../types/ChannelParticipant.md) | Yes|The channel participant| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [channels\_ChannelParticipant](../types/channels_ChannelParticipant.md) - - -### Example: - -```php -$channels_channelParticipant = ['_' => 'channels.channelParticipant', 'participant' => ChannelParticipant, 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -channels_channelParticipant={_='channels.channelParticipant', participant=ChannelParticipant, users={User}} - -``` - - diff --git a/old_docs/API_docs_v95/constructors/channels_channelParticipants.md b/old_docs/API_docs_v95/constructors/channels_channelParticipants.md deleted file mode 100644 index 1848a04f..00000000 --- a/old_docs/API_docs_v95/constructors/channels_channelParticipants.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: channels.channelParticipants -description: Represents multiple channel participants -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: channels.channelParticipants -[Back to constructors index](index.md) - - - -Represents multiple channel participants - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of participants that correspond to the given query| -|participants|Array of [ChannelParticipant](../types/ChannelParticipant.md) | Yes|Participants| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [channels\_ChannelParticipants](../types/channels_ChannelParticipants.md) - - -### Example: - -```php -$channels_channelParticipants = ['_' => 'channels.channelParticipants', 'count' => int, 'participants' => [ChannelParticipant, ChannelParticipant], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -channels_channelParticipants={_='channels.channelParticipants', count=int, participants={ChannelParticipant}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v95/constructors/channels_channelParticipantsNotModified.md b/old_docs/API_docs_v95/constructors/channels_channelParticipantsNotModified.md deleted file mode 100644 index 800048f7..00000000 --- a/old_docs/API_docs_v95/constructors/channels_channelParticipantsNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: channels.channelParticipantsNotModified -description: No new participant info could be found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: channels.channelParticipantsNotModified -[Back to constructors index](index.md) - - - -No new participant info could be found - - - - -### Type: [channels\_ChannelParticipants](../types/channels_ChannelParticipants.md) - - -### Example: - -```php -$channels_channelParticipantsNotModified = ['_' => 'channels.channelParticipantsNotModified']; -``` - - -Or, if you're into Lua: - -```lua -channels_channelParticipantsNotModified={_='channels.channelParticipantsNotModified'} - -``` - - diff --git a/old_docs/API_docs_v95/constructors/contacts.blocked.md b/old_docs/API_docs_v95/constructors/contacts.blocked.md new file mode 100644 index 00000000..d2b3f680 --- /dev/null +++ b/old_docs/API_docs_v95/constructors/contacts.blocked.md @@ -0,0 +1,39 @@ +--- +title: contacts.blocked +description: Full list of blocked users. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.blocked +[Back to constructors index](index.md) + + + +Full list of blocked users. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Blocked](../types/contacts.Blocked.md) + + +### Example: + +```php +$contacts.blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.blocked={_='contacts.blocked', blocked={ContactBlocked}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v95/constructors/contacts.blockedSlice.md b/old_docs/API_docs_v95/constructors/contacts.blockedSlice.md new file mode 100644 index 00000000..92d19c72 --- /dev/null +++ b/old_docs/API_docs_v95/constructors/contacts.blockedSlice.md @@ -0,0 +1,40 @@ +--- +title: contacts.blockedSlice +description: Incomplete list of blocked users. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.blockedSlice +[Back to constructors index](index.md) + + + +Incomplete list of blocked users. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of elements in the list| +|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Blocked](../types/contacts.Blocked.md) + + +### Example: + +```php +$contacts.blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.blockedSlice={_='contacts.blockedSlice', count=int, blocked={ContactBlocked}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v95/constructors/contacts.contacts.md b/old_docs/API_docs_v95/constructors/contacts.contacts.md new file mode 100644 index 00000000..c3251e5d --- /dev/null +++ b/old_docs/API_docs_v95/constructors/contacts.contacts.md @@ -0,0 +1,40 @@ +--- +title: contacts.contacts +description: The current user's contact list and info on users. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.contacts +[Back to constructors index](index.md) + + + +The current user's contact list and info on users. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|contacts|Array of [Contact](../types/Contact.md) | Yes|Contacts| +|saved\_count|[int](../types/int.md) | Yes|Number of contacts that were saved successfully| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Contacts](../types/contacts.Contacts.md) + + +### Example: + +```php +$contacts.contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact, Contact], 'saved_count' => int, 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.contacts={_='contacts.contacts', contacts={Contact}, saved_count=int, users={User}} + +``` + + diff --git a/old_docs/API_docs_v95/constructors/contacts.contactsNotModified.md b/old_docs/API_docs_v95/constructors/contacts.contactsNotModified.md new file mode 100644 index 00000000..e2149396 --- /dev/null +++ b/old_docs/API_docs_v95/constructors/contacts.contactsNotModified.md @@ -0,0 +1,33 @@ +--- +title: contacts.contactsNotModified +description: Contact list on the server is the same as the list on the client. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.contactsNotModified +[Back to constructors index](index.md) + + + +Contact list on the server is the same as the list on the client. + + + + +### Type: [contacts.Contacts](../types/contacts.Contacts.md) + + +### Example: + +```php +$contacts.contactsNotModified = ['_' => 'contacts.contactsNotModified']; +``` + + +Or, if you're into Lua: + +```lua +contacts.contactsNotModified={_='contacts.contactsNotModified'} + +``` + + diff --git a/old_docs/API_docs_v95/constructors/contacts.found.md b/old_docs/API_docs_v95/constructors/contacts.found.md new file mode 100644 index 00000000..65df2f8d --- /dev/null +++ b/old_docs/API_docs_v95/constructors/contacts.found.md @@ -0,0 +1,41 @@ +--- +title: contacts.found +description: Users found by name substring and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.found +[Back to constructors index](index.md) + + + +Users found by name substring and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|my\_results|Array of [Peer](../types/Peer.md) | Yes|My results| +|results|Array of [Peer](../types/Peer.md) | Yes|Results| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Found](../types/contacts.Found.md) + + +### Example: + +```php +$contacts.found = ['_' => 'contacts.found', 'my_results' => [Peer, Peer], 'results' => [Peer, Peer], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.found={_='contacts.found', my_results={Peer}, results={Peer}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v95/constructors/contacts.importedContacts.md b/old_docs/API_docs_v95/constructors/contacts.importedContacts.md new file mode 100644 index 00000000..20075931 --- /dev/null +++ b/old_docs/API_docs_v95/constructors/contacts.importedContacts.md @@ -0,0 +1,41 @@ +--- +title: contacts.importedContacts +description: Info on succesfully imported contacts. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.importedContacts +[Back to constructors index](index.md) + + + +Info on succesfully imported contacts. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|imported|Array of [ImportedContact](../types/ImportedContact.md) | Yes|Imported| +|popular\_invites|Array of [PopularContact](../types/PopularContact.md) | Yes|Popular invites| +|retry\_contacts|Array of [long](../types/long.md) | Yes|Retry importing contacts whose client IDs appear here| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.ImportedContacts](../types/contacts.ImportedContacts.md) + + +### Example: + +```php +$contacts.importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact, ImportedContact], 'popular_invites' => [PopularContact, PopularContact], 'retry_contacts' => [long, long], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.importedContacts={_='contacts.importedContacts', imported={ImportedContact}, popular_invites={PopularContact}, retry_contacts={long}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v95/constructors/contacts.link.md b/old_docs/API_docs_v95/constructors/contacts.link.md new file mode 100644 index 00000000..ab150a0d --- /dev/null +++ b/old_docs/API_docs_v95/constructors/contacts.link.md @@ -0,0 +1,40 @@ +--- +title: contacts.link +description: Link +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.link +[Back to constructors index](index.md) + + + +Link + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|my\_link|[ContactLink](../types/ContactLink.md) | Yes|My link| +|foreign\_link|[ContactLink](../types/ContactLink.md) | Yes|Foreign link| +|user|[User](../types/User.md) | Optional|User| + + + +### Type: [contacts.Link](../types/contacts.Link.md) + + +### Example: + +```php +$contacts.link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User]; +``` + + +Or, if you're into Lua: + +```lua +contacts.link={_='contacts.link', my_link=ContactLink, foreign_link=ContactLink, user=User} + +``` + + diff --git a/old_docs/API_docs_v95/constructors/contacts.resolvedPeer.md b/old_docs/API_docs_v95/constructors/contacts.resolvedPeer.md new file mode 100644 index 00000000..35d88481 --- /dev/null +++ b/old_docs/API_docs_v95/constructors/contacts.resolvedPeer.md @@ -0,0 +1,40 @@ +--- +title: contacts.resolvedPeer +description: Resolved peer +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.resolvedPeer +[Back to constructors index](index.md) + + + +Resolved peer + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|peer|[Peer](../types/Peer.md) | Yes|The peer| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.ResolvedPeer](../types/contacts.ResolvedPeer.md) + + +### Example: + +```php +$contacts.resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.resolvedPeer={_='contacts.resolvedPeer', peer=Peer, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v95/constructors/contacts.topPeers.md b/old_docs/API_docs_v95/constructors/contacts.topPeers.md new file mode 100644 index 00000000..19d9c712 --- /dev/null +++ b/old_docs/API_docs_v95/constructors/contacts.topPeers.md @@ -0,0 +1,40 @@ +--- +title: contacts.topPeers +description: Top peers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.topPeers +[Back to constructors index](index.md) + + + +Top peers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|categories|Array of [TopPeerCategoryPeers](../types/TopPeerCategoryPeers.md) | Yes|Categories| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.TopPeers](../types/contacts.TopPeers.md) + + +### Example: + +```php +$contacts.topPeers = ['_' => 'contacts.topPeers', 'categories' => [TopPeerCategoryPeers, TopPeerCategoryPeers], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.topPeers={_='contacts.topPeers', categories={TopPeerCategoryPeers}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v95/constructors/contacts.topPeersDisabled.md b/old_docs/API_docs_v95/constructors/contacts.topPeersDisabled.md new file mode 100644 index 00000000..a0e2c50b --- /dev/null +++ b/old_docs/API_docs_v95/constructors/contacts.topPeersDisabled.md @@ -0,0 +1,33 @@ +--- +title: contacts.topPeersDisabled +description: Top peers disabled +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.topPeersDisabled +[Back to constructors index](index.md) + + + +Top peers disabled + + + + +### Type: [contacts.TopPeers](../types/contacts.TopPeers.md) + + +### Example: + +```php +$contacts.topPeersDisabled = ['_' => 'contacts.topPeersDisabled']; +``` + + +Or, if you're into Lua: + +```lua +contacts.topPeersDisabled={_='contacts.topPeersDisabled'} + +``` + + diff --git a/old_docs/API_docs_v95/constructors/contacts.topPeersNotModified.md b/old_docs/API_docs_v95/constructors/contacts.topPeersNotModified.md new file mode 100644 index 00000000..77c5eb4d --- /dev/null +++ b/old_docs/API_docs_v95/constructors/contacts.topPeersNotModified.md @@ -0,0 +1,33 @@ +--- +title: contacts.topPeersNotModified +description: Top peer info hasn't changed +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.topPeersNotModified +[Back to constructors index](index.md) + + + +Top peer info hasn't changed + + + + +### Type: [contacts.TopPeers](../types/contacts.TopPeers.md) + + +### Example: + +```php +$contacts.topPeersNotModified = ['_' => 'contacts.topPeersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +contacts.topPeersNotModified={_='contacts.topPeersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v95/constructors/contacts_blocked.md b/old_docs/API_docs_v95/constructors/contacts_blocked.md deleted file mode 100644 index 20e33002..00000000 --- a/old_docs/API_docs_v95/constructors/contacts_blocked.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: contacts.blocked -description: Full list of blocked users. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.blocked -[Back to constructors index](index.md) - - - -Full list of blocked users. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Blocked](../types/contacts_Blocked.md) - - -### Example: - -```php -$contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_blocked={_='contacts.blocked', blocked={ContactBlocked}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v95/constructors/contacts_blockedSlice.md b/old_docs/API_docs_v95/constructors/contacts_blockedSlice.md deleted file mode 100644 index fcab9a28..00000000 --- a/old_docs/API_docs_v95/constructors/contacts_blockedSlice.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.blockedSlice -description: Incomplete list of blocked users. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.blockedSlice -[Back to constructors index](index.md) - - - -Incomplete list of blocked users. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of elements in the list| -|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Blocked](../types/contacts_Blocked.md) - - -### Example: - -```php -$contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_blockedSlice={_='contacts.blockedSlice', count=int, blocked={ContactBlocked}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v95/constructors/contacts_contacts.md b/old_docs/API_docs_v95/constructors/contacts_contacts.md deleted file mode 100644 index 0e6f0dd3..00000000 --- a/old_docs/API_docs_v95/constructors/contacts_contacts.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.contacts -description: The current user's contact list and info on users. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.contacts -[Back to constructors index](index.md) - - - -The current user's contact list and info on users. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|contacts|Array of [Contact](../types/Contact.md) | Yes|Contacts| -|saved\_count|[int](../types/int.md) | Yes|Number of contacts that were saved successfully| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Contacts](../types/contacts_Contacts.md) - - -### Example: - -```php -$contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact, Contact], 'saved_count' => int, 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_contacts={_='contacts.contacts', contacts={Contact}, saved_count=int, users={User}} - -``` - - diff --git a/old_docs/API_docs_v95/constructors/contacts_contactsNotModified.md b/old_docs/API_docs_v95/constructors/contacts_contactsNotModified.md deleted file mode 100644 index 17e76ac3..00000000 --- a/old_docs/API_docs_v95/constructors/contacts_contactsNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: contacts.contactsNotModified -description: Contact list on the server is the same as the list on the client. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.contactsNotModified -[Back to constructors index](index.md) - - - -Contact list on the server is the same as the list on the client. - - - - -### Type: [contacts\_Contacts](../types/contacts_Contacts.md) - - -### Example: - -```php -$contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified']; -``` - - -Or, if you're into Lua: - -```lua -contacts_contactsNotModified={_='contacts.contactsNotModified'} - -``` - - diff --git a/old_docs/API_docs_v95/constructors/contacts_found.md b/old_docs/API_docs_v95/constructors/contacts_found.md deleted file mode 100644 index 76b9aa0c..00000000 --- a/old_docs/API_docs_v95/constructors/contacts_found.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: contacts.found -description: Users found by name substring and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.found -[Back to constructors index](index.md) - - - -Users found by name substring and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|my\_results|Array of [Peer](../types/Peer.md) | Yes|My results| -|results|Array of [Peer](../types/Peer.md) | Yes|Results| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Found](../types/contacts_Found.md) - - -### Example: - -```php -$contacts_found = ['_' => 'contacts.found', 'my_results' => [Peer, Peer], 'results' => [Peer, Peer], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_found={_='contacts.found', my_results={Peer}, results={Peer}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v95/constructors/contacts_importedContacts.md b/old_docs/API_docs_v95/constructors/contacts_importedContacts.md deleted file mode 100644 index e534754b..00000000 --- a/old_docs/API_docs_v95/constructors/contacts_importedContacts.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: contacts.importedContacts -description: Info on succesfully imported contacts. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.importedContacts -[Back to constructors index](index.md) - - - -Info on succesfully imported contacts. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|imported|Array of [ImportedContact](../types/ImportedContact.md) | Yes|Imported| -|popular\_invites|Array of [PopularContact](../types/PopularContact.md) | Yes|Popular invites| -|retry\_contacts|Array of [long](../types/long.md) | Yes|Retry importing contacts whose client IDs appear here| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) - - -### Example: - -```php -$contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact, ImportedContact], 'popular_invites' => [PopularContact, PopularContact], 'retry_contacts' => [long, long], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_importedContacts={_='contacts.importedContacts', imported={ImportedContact}, popular_invites={PopularContact}, retry_contacts={long}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v95/constructors/contacts_link.md b/old_docs/API_docs_v95/constructors/contacts_link.md deleted file mode 100644 index cfc566c7..00000000 --- a/old_docs/API_docs_v95/constructors/contacts_link.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.link -description: Link -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.link -[Back to constructors index](index.md) - - - -Link - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|my\_link|[ContactLink](../types/ContactLink.md) | Yes|My link| -|foreign\_link|[ContactLink](../types/ContactLink.md) | Yes|Foreign link| -|user|[User](../types/User.md) | Optional|User| - - - -### Type: [contacts\_Link](../types/contacts_Link.md) - - -### Example: - -```php -$contacts_link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User]; -``` - - -Or, if you're into Lua: - -```lua -contacts_link={_='contacts.link', my_link=ContactLink, foreign_link=ContactLink, user=User} - -``` - - diff --git a/old_docs/API_docs_v95/constructors/contacts_resolvedPeer.md b/old_docs/API_docs_v95/constructors/contacts_resolvedPeer.md deleted file mode 100644 index aae3c7af..00000000 --- a/old_docs/API_docs_v95/constructors/contacts_resolvedPeer.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.resolvedPeer -description: Resolved peer -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.resolvedPeer -[Back to constructors index](index.md) - - - -Resolved peer - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|peer|[Peer](../types/Peer.md) | Yes|The peer| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_ResolvedPeer](../types/contacts_ResolvedPeer.md) - - -### Example: - -```php -$contacts_resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_resolvedPeer={_='contacts.resolvedPeer', peer=Peer, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v95/constructors/contacts_topPeers.md b/old_docs/API_docs_v95/constructors/contacts_topPeers.md deleted file mode 100644 index 77bc07d3..00000000 --- a/old_docs/API_docs_v95/constructors/contacts_topPeers.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.topPeers -description: Top peers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.topPeers -[Back to constructors index](index.md) - - - -Top peers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|categories|Array of [TopPeerCategoryPeers](../types/TopPeerCategoryPeers.md) | Yes|Categories| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_TopPeers](../types/contacts_TopPeers.md) - - -### Example: - -```php -$contacts_topPeers = ['_' => 'contacts.topPeers', 'categories' => [TopPeerCategoryPeers, TopPeerCategoryPeers], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_topPeers={_='contacts.topPeers', categories={TopPeerCategoryPeers}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v95/constructors/contacts_topPeersDisabled.md b/old_docs/API_docs_v95/constructors/contacts_topPeersDisabled.md deleted file mode 100644 index e359a76d..00000000 --- a/old_docs/API_docs_v95/constructors/contacts_topPeersDisabled.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: contacts.topPeersDisabled -description: Top peers disabled -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.topPeersDisabled -[Back to constructors index](index.md) - - - -Top peers disabled - - - - -### Type: [contacts\_TopPeers](../types/contacts_TopPeers.md) - - -### Example: - -```php -$contacts_topPeersDisabled = ['_' => 'contacts.topPeersDisabled']; -``` - - -Or, if you're into Lua: - -```lua -contacts_topPeersDisabled={_='contacts.topPeersDisabled'} - -``` - - diff --git a/old_docs/API_docs_v95/constructors/contacts_topPeersNotModified.md b/old_docs/API_docs_v95/constructors/contacts_topPeersNotModified.md deleted file mode 100644 index 43eae59d..00000000 --- a/old_docs/API_docs_v95/constructors/contacts_topPeersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: contacts.topPeersNotModified -description: Top peer info hasn't changed -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.topPeersNotModified -[Back to constructors index](index.md) - - - -Top peer info hasn't changed - - - - -### Type: [contacts\_TopPeers](../types/contacts_TopPeers.md) - - -### Example: - -```php -$contacts_topPeersNotModified = ['_' => 'contacts.topPeersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -contacts_topPeersNotModified={_='contacts.topPeersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v95/constructors/help.appUpdate.md b/old_docs/API_docs_v95/constructors/help.appUpdate.md new file mode 100644 index 00000000..90b41636 --- /dev/null +++ b/old_docs/API_docs_v95/constructors/help.appUpdate.md @@ -0,0 +1,44 @@ +--- +title: help.appUpdate +description: An update is available for the application. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.appUpdate +[Back to constructors index](index.md) + + + +An update is available for the application. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|popup|[Bool](../types/Bool.md) | Optional|Popup?| +|id|[int](../types/int.md) | Yes|Update ID| +|version|[string](../types/string.md) | Yes|New version name| +|text|[string](../types/string.md) | Yes|Text description of the update| +|entities|Array of [MessageEntity](../types/MessageEntity.md) | Yes|Entities| +|document|[Document](../types/Document.md) | Optional|Attached document| +|url|[string](../types/string.md) | Optional|Application download URL| + + + +### Type: [help.AppUpdate](../types/help.AppUpdate.md) + + +### Example: + +```php +$help.appUpdate = ['_' => 'help.appUpdate', 'popup' => Bool, 'id' => int, 'version' => 'string', 'text' => 'string', 'entities' => [MessageEntity, MessageEntity], 'document' => Document, 'url' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +help.appUpdate={_='help.appUpdate', popup=Bool, id=int, version='string', text='string', entities={MessageEntity}, document=Document, url='string'} + +``` + + diff --git a/old_docs/API_docs_v95/constructors/help.configSimple.md b/old_docs/API_docs_v95/constructors/help.configSimple.md new file mode 100644 index 00000000..4070e1ce --- /dev/null +++ b/old_docs/API_docs_v95/constructors/help.configSimple.md @@ -0,0 +1,40 @@ +--- +title: help.configSimple +description: Config simple +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.configSimple +[Back to constructors index](index.md) + + + +Config simple + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Date| +|expires|[int](../types/int.md) | Yes|Expires| +|rules|Array of [AccessPointRule](../types/AccessPointRule.md) | Yes|Rules| + + + +### Type: [help.ConfigSimple](../types/help.ConfigSimple.md) + + +### Example: + +```php +$help.configSimple = ['_' => 'help.configSimple', 'date' => int, 'expires' => int, 'rules' => [AccessPointRule, AccessPointRule]]; +``` + + +Or, if you're into Lua: + +```lua +help.configSimple={_='help.configSimple', date=int, expires=int, rules={AccessPointRule}} + +``` + + diff --git a/old_docs/API_docs_v95/constructors/help.deepLinkInfo.md b/old_docs/API_docs_v95/constructors/help.deepLinkInfo.md new file mode 100644 index 00000000..78f70af0 --- /dev/null +++ b/old_docs/API_docs_v95/constructors/help.deepLinkInfo.md @@ -0,0 +1,40 @@ +--- +title: help.deepLinkInfo +description: Deep linking info +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.deepLinkInfo +[Back to constructors index](index.md) + + + +Deep linking info + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|update\_app|[Bool](../types/Bool.md) | Optional|An update of the app is required to parse this link| +|message|[string](../types/string.md) | Yes|Message to show to the user| +|entities|Array of [MessageEntity](../types/MessageEntity.md) | Optional|Entities| + + + +### Type: [help.DeepLinkInfo](../types/help.DeepLinkInfo.md) + + +### Example: + +```php +$help.deepLinkInfo = ['_' => 'help.deepLinkInfo', 'update_app' => Bool, 'message' => 'string', 'entities' => [MessageEntity, MessageEntity]]; +``` + + +Or, if you're into Lua: + +```lua +help.deepLinkInfo={_='help.deepLinkInfo', update_app=Bool, message='string', entities={MessageEntity}} + +``` + + diff --git a/old_docs/API_docs_v95/constructors/help.deepLinkInfoEmpty.md b/old_docs/API_docs_v95/constructors/help.deepLinkInfoEmpty.md new file mode 100644 index 00000000..dc99166c --- /dev/null +++ b/old_docs/API_docs_v95/constructors/help.deepLinkInfoEmpty.md @@ -0,0 +1,33 @@ +--- +title: help.deepLinkInfoEmpty +description: Deep link info empty +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.deepLinkInfoEmpty +[Back to constructors index](index.md) + + + +Deep link info empty + + + + +### Type: [help.DeepLinkInfo](../types/help.DeepLinkInfo.md) + + +### Example: + +```php +$help.deepLinkInfoEmpty = ['_' => 'help.deepLinkInfoEmpty']; +``` + + +Or, if you're into Lua: + +```lua +help.deepLinkInfoEmpty={_='help.deepLinkInfoEmpty'} + +``` + + diff --git a/old_docs/API_docs_v95/constructors/help.inviteText.md b/old_docs/API_docs_v95/constructors/help.inviteText.md new file mode 100644 index 00000000..6a6261c1 --- /dev/null +++ b/old_docs/API_docs_v95/constructors/help.inviteText.md @@ -0,0 +1,38 @@ +--- +title: help.inviteText +description: Text of a text message with an invitation to install application. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.inviteText +[Back to constructors index](index.md) + + + +Text of a text message with an invitation to install application. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|message|[string](../types/string.md) | Yes|Text of a message| + + + +### Type: [help.InviteText](../types/help.InviteText.md) + + +### Example: + +```php +$help.inviteText = ['_' => 'help.inviteText', 'message' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +help.inviteText={_='help.inviteText', message='string'} + +``` + + diff --git a/old_docs/API_docs_v95/constructors/help.noAppUpdate.md b/old_docs/API_docs_v95/constructors/help.noAppUpdate.md new file mode 100644 index 00000000..1b69ac9a --- /dev/null +++ b/old_docs/API_docs_v95/constructors/help.noAppUpdate.md @@ -0,0 +1,33 @@ +--- +title: help.noAppUpdate +description: No updates are available for the application. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.noAppUpdate +[Back to constructors index](index.md) + + + +No updates are available for the application. + + + + +### Type: [help.AppUpdate](../types/help.AppUpdate.md) + + +### Example: + +```php +$help.noAppUpdate = ['_' => 'help.noAppUpdate']; +``` + + +Or, if you're into Lua: + +```lua +help.noAppUpdate={_='help.noAppUpdate'} + +``` + + diff --git a/old_docs/API_docs_v95/constructors/help.passportConfig.md b/old_docs/API_docs_v95/constructors/help.passportConfig.md new file mode 100644 index 00000000..b418b611 --- /dev/null +++ b/old_docs/API_docs_v95/constructors/help.passportConfig.md @@ -0,0 +1,39 @@ +--- +title: help.passportConfig +description: Telegram [passport](https://core.telegram.org/passport) configuration +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.passportConfig +[Back to constructors index](index.md) + + + +Telegram [passport](https://core.telegram.org/passport) configuration + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|countries\_langs|[DataJSON](../types/DataJSON.md) | Yes|Localization| + + + +### Type: [help.PassportConfig](../types/help.PassportConfig.md) + + +### Example: + +```php +$help.passportConfig = ['_' => 'help.passportConfig', 'hash' => int, 'countries_langs' => DataJSON]; +``` + + +Or, if you're into Lua: + +```lua +help.passportConfig={_='help.passportConfig', hash=int, countries_langs=DataJSON} + +``` + + diff --git a/old_docs/API_docs_v95/constructors/help.passportConfigNotModified.md b/old_docs/API_docs_v95/constructors/help.passportConfigNotModified.md new file mode 100644 index 00000000..d48cc55b --- /dev/null +++ b/old_docs/API_docs_v95/constructors/help.passportConfigNotModified.md @@ -0,0 +1,33 @@ +--- +title: help.passportConfigNotModified +description: Password configuration not modified +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.passportConfigNotModified +[Back to constructors index](index.md) + + + +Password configuration not modified + + + + +### Type: [help.PassportConfig](../types/help.PassportConfig.md) + + +### Example: + +```php +$help.passportConfigNotModified = ['_' => 'help.passportConfigNotModified']; +``` + + +Or, if you're into Lua: + +```lua +help.passportConfigNotModified={_='help.passportConfigNotModified'} + +``` + + diff --git a/old_docs/API_docs_v95/constructors/help.proxyDataEmpty.md b/old_docs/API_docs_v95/constructors/help.proxyDataEmpty.md new file mode 100644 index 00000000..66fd63ac --- /dev/null +++ b/old_docs/API_docs_v95/constructors/help.proxyDataEmpty.md @@ -0,0 +1,38 @@ +--- +title: help.proxyDataEmpty +description: No proxy was used to connect to tg (or none was provided to [initConnection](../methods/initConnection.md), or the used proxy doesn't have a promotion channel associated to it) +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.proxyDataEmpty +[Back to constructors index](index.md) + + + +No proxy was used to connect to tg (or none was provided to [initConnection](../methods/initConnection.md), or the used proxy doesn't have a promotion channel associated to it) + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|expires|[int](../types/int.md) | Yes|Expiration date of proxy info, will have to be refetched in `expires` seconds| + + + +### Type: [help.ProxyData](../types/help.ProxyData.md) + + +### Example: + +```php +$help.proxyDataEmpty = ['_' => 'help.proxyDataEmpty', 'expires' => int]; +``` + + +Or, if you're into Lua: + +```lua +help.proxyDataEmpty={_='help.proxyDataEmpty', expires=int} + +``` + + diff --git a/old_docs/API_docs_v95/constructors/help.proxyDataPromo.md b/old_docs/API_docs_v95/constructors/help.proxyDataPromo.md new file mode 100644 index 00000000..eb32aabd --- /dev/null +++ b/old_docs/API_docs_v95/constructors/help.proxyDataPromo.md @@ -0,0 +1,41 @@ +--- +title: help.proxyDataPromo +description: Promotion channel associated to a certain MTProxy +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.proxyDataPromo +[Back to constructors index](index.md) + + + +Promotion channel associated to a certain MTProxy + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|expires|[int](../types/int.md) | Yes|Expiration date of proxy info, will have to be refetched in `expires` seconds| +|peer|[Peer](../types/Peer.md) | Yes|The promoted channel| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [help.ProxyData](../types/help.ProxyData.md) + + +### Example: + +```php +$help.proxyDataPromo = ['_' => 'help.proxyDataPromo', 'expires' => int, 'peer' => Peer, 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +help.proxyDataPromo={_='help.proxyDataPromo', expires=int, peer=Peer, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v95/constructors/help.recentMeUrls.md b/old_docs/API_docs_v95/constructors/help.recentMeUrls.md new file mode 100644 index 00000000..711407b7 --- /dev/null +++ b/old_docs/API_docs_v95/constructors/help.recentMeUrls.md @@ -0,0 +1,40 @@ +--- +title: help.recentMeUrls +description: Recent t.me URLs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.recentMeUrls +[Back to constructors index](index.md) + + + +Recent t.me URLs + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|urls|Array of [RecentMeUrl](../types/RecentMeUrl.md) | Yes|URLs| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [help.RecentMeUrls](../types/help.RecentMeUrls.md) + + +### Example: + +```php +$help.recentMeUrls = ['_' => 'help.recentMeUrls', 'urls' => [RecentMeUrl, RecentMeUrl], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +help.recentMeUrls={_='help.recentMeUrls', urls={RecentMeUrl}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v95/constructors/help.support.md b/old_docs/API_docs_v95/constructors/help.support.md new file mode 100644 index 00000000..4d4f85fb --- /dev/null +++ b/old_docs/API_docs_v95/constructors/help.support.md @@ -0,0 +1,39 @@ +--- +title: help.support +description: Info on support user. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.support +[Back to constructors index](index.md) + + + +Info on support user. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_number|[string](../types/string.md) | Yes|Phone number| +|user|[User](../types/User.md) | Optional|User| + + + +### Type: [help.Support](../types/help.Support.md) + + +### Example: + +```php +$help.support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => User]; +``` + + +Or, if you're into Lua: + +```lua +help.support={_='help.support', phone_number='string', user=User} + +``` + + diff --git a/old_docs/API_docs_v95/constructors/help.supportName.md b/old_docs/API_docs_v95/constructors/help.supportName.md new file mode 100644 index 00000000..3d66c8d9 --- /dev/null +++ b/old_docs/API_docs_v95/constructors/help.supportName.md @@ -0,0 +1,38 @@ +--- +title: help.supportName +description: Localized name for telegram support +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.supportName +[Back to constructors index](index.md) + + + +Localized name for telegram support + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|name|[string](../types/string.md) | Yes|Localized name| + + + +### Type: [help.SupportName](../types/help.SupportName.md) + + +### Example: + +```php +$help.supportName = ['_' => 'help.supportName', 'name' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +help.supportName={_='help.supportName', name='string'} + +``` + + diff --git a/old_docs/API_docs_v95/constructors/help.termsOfService.md b/old_docs/API_docs_v95/constructors/help.termsOfService.md new file mode 100644 index 00000000..61ffb70a --- /dev/null +++ b/old_docs/API_docs_v95/constructors/help.termsOfService.md @@ -0,0 +1,42 @@ +--- +title: help.termsOfService +description: Info about the latest telegram Terms Of Service +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.termsOfService +[Back to constructors index](index.md) + + + +Info about the latest telegram Terms Of Service + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|popup|[Bool](../types/Bool.md) | Optional|Whether a prompt must be showed to the user, in order to accept the new terms.| +|id|[DataJSON](../types/DataJSON.md) | Yes|ID of the new terms| +|text|[string](../types/string.md) | Yes|Text of the new terms| +|entities|Array of [MessageEntity](../types/MessageEntity.md) | Yes|Entities| +|min\_age\_confirm|[int](../types/int.md) | Optional|Minimum age required to sign up to telegram, the user must confirm that they is older than the minimum age.| + + + +### Type: [help.TermsOfService](../types/help.TermsOfService.md) + + +### Example: + +```php +$help.termsOfService = ['_' => 'help.termsOfService', 'popup' => Bool, 'id' => DataJSON, 'text' => 'string', 'entities' => [MessageEntity, MessageEntity], 'min_age_confirm' => int]; +``` + + +Or, if you're into Lua: + +```lua +help.termsOfService={_='help.termsOfService', popup=Bool, id=DataJSON, text='string', entities={MessageEntity}, min_age_confirm=int} + +``` + + diff --git a/old_docs/API_docs_v95/constructors/help.termsOfServiceUpdate.md b/old_docs/API_docs_v95/constructors/help.termsOfServiceUpdate.md new file mode 100644 index 00000000..058a3655 --- /dev/null +++ b/old_docs/API_docs_v95/constructors/help.termsOfServiceUpdate.md @@ -0,0 +1,39 @@ +--- +title: help.termsOfServiceUpdate +description: Info about an update of telegram's terms of service. If the terms of service are declined, then the [account.deleteAccount](../methods/account.deleteAccount.md) method should be called with the reason "Decline ToS update" +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.termsOfServiceUpdate +[Back to constructors index](index.md) + + + +Info about an update of telegram's terms of service. If the terms of service are declined, then the [account.deleteAccount](../methods/account.deleteAccount.md) method should be called with the reason "Decline ToS update" + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|expires|[int](../types/int.md) | Yes|New TOS updates will have to be queried using [help.getTermsOfServiceUpdate](../methods/help.getTermsOfServiceUpdate.md) in `expires` seconds| +|terms\_of\_service|[help.TermsOfService](../constructors/help.TermsOfService.md) | Yes|New terms of service| + + + +### Type: [help.TermsOfServiceUpdate](../types/help.TermsOfServiceUpdate.md) + + +### Example: + +```php +$help.termsOfServiceUpdate = ['_' => 'help.termsOfServiceUpdate', 'expires' => int, 'terms_of_service' => help.TermsOfService]; +``` + + +Or, if you're into Lua: + +```lua +help.termsOfServiceUpdate={_='help.termsOfServiceUpdate', expires=int, terms_of_service=help.TermsOfService} + +``` + + diff --git a/old_docs/API_docs_v95/constructors/help.termsOfServiceUpdateEmpty.md b/old_docs/API_docs_v95/constructors/help.termsOfServiceUpdateEmpty.md new file mode 100644 index 00000000..8213a41e --- /dev/null +++ b/old_docs/API_docs_v95/constructors/help.termsOfServiceUpdateEmpty.md @@ -0,0 +1,38 @@ +--- +title: help.termsOfServiceUpdateEmpty +description: No changes were made to telegram's terms of service +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.termsOfServiceUpdateEmpty +[Back to constructors index](index.md) + + + +No changes were made to telegram's terms of service + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|expires|[int](../types/int.md) | Yes|New TOS updates will have to be queried using [help.getTermsOfServiceUpdate](../methods/help.getTermsOfServiceUpdate.md) in `expires` seconds| + + + +### Type: [help.TermsOfServiceUpdate](../types/help.TermsOfServiceUpdate.md) + + +### Example: + +```php +$help.termsOfServiceUpdateEmpty = ['_' => 'help.termsOfServiceUpdateEmpty', 'expires' => int]; +``` + + +Or, if you're into Lua: + +```lua +help.termsOfServiceUpdateEmpty={_='help.termsOfServiceUpdateEmpty', expires=int} + +``` + + diff --git a/old_docs/API_docs_v95/constructors/help.userInfo.md b/old_docs/API_docs_v95/constructors/help.userInfo.md new file mode 100644 index 00000000..172df165 --- /dev/null +++ b/old_docs/API_docs_v95/constructors/help.userInfo.md @@ -0,0 +1,41 @@ +--- +title: help.userInfo +description: Internal use +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.userInfo +[Back to constructors index](index.md) + + + +Internal use + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|message|[string](../types/string.md) | Yes|Info| +|entities|Array of [MessageEntity](../types/MessageEntity.md) | Yes|Entities| +|author|[string](../types/string.md) | Yes|Author| +|date|[int](../types/int.md) | Yes|Date| + + + +### Type: [help.UserInfo](../types/help.UserInfo.md) + + +### Example: + +```php +$help.userInfo = ['_' => 'help.userInfo', 'message' => 'string', 'entities' => [MessageEntity, MessageEntity], 'author' => 'string', 'date' => int]; +``` + + +Or, if you're into Lua: + +```lua +help.userInfo={_='help.userInfo', message='string', entities={MessageEntity}, author='string', date=int} + +``` + + diff --git a/old_docs/API_docs_v95/constructors/help.userInfoEmpty.md b/old_docs/API_docs_v95/constructors/help.userInfoEmpty.md new file mode 100644 index 00000000..c284d602 --- /dev/null +++ b/old_docs/API_docs_v95/constructors/help.userInfoEmpty.md @@ -0,0 +1,33 @@ +--- +title: help.userInfoEmpty +description: Internal use +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.userInfoEmpty +[Back to constructors index](index.md) + + + +Internal use + + + + +### Type: [help.UserInfo](../types/help.UserInfo.md) + + +### Example: + +```php +$help.userInfoEmpty = ['_' => 'help.userInfoEmpty']; +``` + + +Or, if you're into Lua: + +```lua +help.userInfoEmpty={_='help.userInfoEmpty'} + +``` + + diff --git a/old_docs/API_docs_v95/constructors/help_appUpdate.md b/old_docs/API_docs_v95/constructors/help_appUpdate.md deleted file mode 100644 index 67960b34..00000000 --- a/old_docs/API_docs_v95/constructors/help_appUpdate.md +++ /dev/null @@ -1,44 +0,0 @@ ---- -title: help.appUpdate -description: An update is available for the application. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.appUpdate -[Back to constructors index](index.md) - - - -An update is available for the application. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|popup|[Bool](../types/Bool.md) | Optional|Popup?| -|id|[int](../types/int.md) | Yes|Update ID| -|version|[string](../types/string.md) | Yes|New version name| -|text|[string](../types/string.md) | Yes|Text description of the update| -|entities|Array of [MessageEntity](../types/MessageEntity.md) | Yes|Entities| -|document|[Document](../types/Document.md) | Optional|Attached document| -|url|[string](../types/string.md) | Optional|Application download URL| - - - -### Type: [help\_AppUpdate](../types/help_AppUpdate.md) - - -### Example: - -```php -$help_appUpdate = ['_' => 'help.appUpdate', 'popup' => Bool, 'id' => int, 'version' => 'string', 'text' => 'string', 'entities' => [MessageEntity, MessageEntity], 'document' => Document, 'url' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -help_appUpdate={_='help.appUpdate', popup=Bool, id=int, version='string', text='string', entities={MessageEntity}, document=Document, url='string'} - -``` - - diff --git a/old_docs/API_docs_v95/constructors/help_configSimple.md b/old_docs/API_docs_v95/constructors/help_configSimple.md deleted file mode 100644 index 8c07ec9b..00000000 --- a/old_docs/API_docs_v95/constructors/help_configSimple.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: help.configSimple -description: Config simple -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.configSimple -[Back to constructors index](index.md) - - - -Config simple - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Date| -|expires|[int](../types/int.md) | Yes|Expires| -|rules|Array of [AccessPointRule](../types/AccessPointRule.md) | Yes|Rules| - - - -### Type: [help\_ConfigSimple](../types/help_ConfigSimple.md) - - -### Example: - -```php -$help_configSimple = ['_' => 'help.configSimple', 'date' => int, 'expires' => int, 'rules' => [AccessPointRule, AccessPointRule]]; -``` - - -Or, if you're into Lua: - -```lua -help_configSimple={_='help.configSimple', date=int, expires=int, rules={AccessPointRule}} - -``` - - diff --git a/old_docs/API_docs_v95/constructors/help_deepLinkInfo.md b/old_docs/API_docs_v95/constructors/help_deepLinkInfo.md deleted file mode 100644 index bcc24ecd..00000000 --- a/old_docs/API_docs_v95/constructors/help_deepLinkInfo.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: help.deepLinkInfo -description: Deep linking info -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.deepLinkInfo -[Back to constructors index](index.md) - - - -Deep linking info - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|update\_app|[Bool](../types/Bool.md) | Optional|An update of the app is required to parse this link| -|message|[string](../types/string.md) | Yes|Message to show to the user| -|entities|Array of [MessageEntity](../types/MessageEntity.md) | Optional|Entities| - - - -### Type: [help\_DeepLinkInfo](../types/help_DeepLinkInfo.md) - - -### Example: - -```php -$help_deepLinkInfo = ['_' => 'help.deepLinkInfo', 'update_app' => Bool, 'message' => 'string', 'entities' => [MessageEntity, MessageEntity]]; -``` - - -Or, if you're into Lua: - -```lua -help_deepLinkInfo={_='help.deepLinkInfo', update_app=Bool, message='string', entities={MessageEntity}} - -``` - - diff --git a/old_docs/API_docs_v95/constructors/help_deepLinkInfoEmpty.md b/old_docs/API_docs_v95/constructors/help_deepLinkInfoEmpty.md deleted file mode 100644 index ab876dd5..00000000 --- a/old_docs/API_docs_v95/constructors/help_deepLinkInfoEmpty.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: help.deepLinkInfoEmpty -description: Deep link info empty -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.deepLinkInfoEmpty -[Back to constructors index](index.md) - - - -Deep link info empty - - - - -### Type: [help\_DeepLinkInfo](../types/help_DeepLinkInfo.md) - - -### Example: - -```php -$help_deepLinkInfoEmpty = ['_' => 'help.deepLinkInfoEmpty']; -``` - - -Or, if you're into Lua: - -```lua -help_deepLinkInfoEmpty={_='help.deepLinkInfoEmpty'} - -``` - - diff --git a/old_docs/API_docs_v95/constructors/help_inviteText.md b/old_docs/API_docs_v95/constructors/help_inviteText.md deleted file mode 100644 index b8317ce3..00000000 --- a/old_docs/API_docs_v95/constructors/help_inviteText.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: help.inviteText -description: Text of a text message with an invitation to install application. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.inviteText -[Back to constructors index](index.md) - - - -Text of a text message with an invitation to install application. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|message|[string](../types/string.md) | Yes|Text of a message| - - - -### Type: [help\_InviteText](../types/help_InviteText.md) - - -### Example: - -```php -$help_inviteText = ['_' => 'help.inviteText', 'message' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -help_inviteText={_='help.inviteText', message='string'} - -``` - - diff --git a/old_docs/API_docs_v95/constructors/help_noAppUpdate.md b/old_docs/API_docs_v95/constructors/help_noAppUpdate.md deleted file mode 100644 index 51505e52..00000000 --- a/old_docs/API_docs_v95/constructors/help_noAppUpdate.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: help.noAppUpdate -description: No updates are available for the application. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.noAppUpdate -[Back to constructors index](index.md) - - - -No updates are available for the application. - - - - -### Type: [help\_AppUpdate](../types/help_AppUpdate.md) - - -### Example: - -```php -$help_noAppUpdate = ['_' => 'help.noAppUpdate']; -``` - - -Or, if you're into Lua: - -```lua -help_noAppUpdate={_='help.noAppUpdate'} - -``` - - diff --git a/old_docs/API_docs_v95/constructors/help_passportConfig.md b/old_docs/API_docs_v95/constructors/help_passportConfig.md deleted file mode 100644 index 9722c925..00000000 --- a/old_docs/API_docs_v95/constructors/help_passportConfig.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: help.passportConfig -description: Telegram [passport](https://core.telegram.org/passport) configuration -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.passportConfig -[Back to constructors index](index.md) - - - -Telegram [passport](https://core.telegram.org/passport) configuration - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|countries\_langs|[DataJSON](../types/DataJSON.md) | Yes|Localization| - - - -### Type: [help\_PassportConfig](../types/help_PassportConfig.md) - - -### Example: - -```php -$help_passportConfig = ['_' => 'help.passportConfig', 'hash' => int, 'countries_langs' => DataJSON]; -``` - - -Or, if you're into Lua: - -```lua -help_passportConfig={_='help.passportConfig', hash=int, countries_langs=DataJSON} - -``` - - diff --git a/old_docs/API_docs_v95/constructors/help_passportConfigNotModified.md b/old_docs/API_docs_v95/constructors/help_passportConfigNotModified.md deleted file mode 100644 index af7769aa..00000000 --- a/old_docs/API_docs_v95/constructors/help_passportConfigNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: help.passportConfigNotModified -description: Password configuration not modified -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.passportConfigNotModified -[Back to constructors index](index.md) - - - -Password configuration not modified - - - - -### Type: [help\_PassportConfig](../types/help_PassportConfig.md) - - -### Example: - -```php -$help_passportConfigNotModified = ['_' => 'help.passportConfigNotModified']; -``` - - -Or, if you're into Lua: - -```lua -help_passportConfigNotModified={_='help.passportConfigNotModified'} - -``` - - diff --git a/old_docs/API_docs_v95/constructors/help_proxyDataEmpty.md b/old_docs/API_docs_v95/constructors/help_proxyDataEmpty.md deleted file mode 100644 index 96efddd3..00000000 --- a/old_docs/API_docs_v95/constructors/help_proxyDataEmpty.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: help.proxyDataEmpty -description: No proxy was used to connect to tg (or none was provided to [initConnection](../methods/initConnection.md), or the used proxy doesn't have a promotion channel associated to it) -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.proxyDataEmpty -[Back to constructors index](index.md) - - - -No proxy was used to connect to tg (or none was provided to [initConnection](../methods/initConnection.md), or the used proxy doesn't have a promotion channel associated to it) - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|expires|[int](../types/int.md) | Yes|Expiration date of proxy info, will have to be refetched in `expires` seconds| - - - -### Type: [help\_ProxyData](../types/help_ProxyData.md) - - -### Example: - -```php -$help_proxyDataEmpty = ['_' => 'help.proxyDataEmpty', 'expires' => int]; -``` - - -Or, if you're into Lua: - -```lua -help_proxyDataEmpty={_='help.proxyDataEmpty', expires=int} - -``` - - diff --git a/old_docs/API_docs_v95/constructors/help_proxyDataPromo.md b/old_docs/API_docs_v95/constructors/help_proxyDataPromo.md deleted file mode 100644 index 54ca7edb..00000000 --- a/old_docs/API_docs_v95/constructors/help_proxyDataPromo.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: help.proxyDataPromo -description: Promotion channel associated to a certain MTProxy -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.proxyDataPromo -[Back to constructors index](index.md) - - - -Promotion channel associated to a certain MTProxy - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|expires|[int](../types/int.md) | Yes|Expiration date of proxy info, will have to be refetched in `expires` seconds| -|peer|[Peer](../types/Peer.md) | Yes|The promoted channel| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [help\_ProxyData](../types/help_ProxyData.md) - - -### Example: - -```php -$help_proxyDataPromo = ['_' => 'help.proxyDataPromo', 'expires' => int, 'peer' => Peer, 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -help_proxyDataPromo={_='help.proxyDataPromo', expires=int, peer=Peer, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v95/constructors/help_recentMeUrls.md b/old_docs/API_docs_v95/constructors/help_recentMeUrls.md deleted file mode 100644 index 7bf592ef..00000000 --- a/old_docs/API_docs_v95/constructors/help_recentMeUrls.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: help.recentMeUrls -description: Recent t.me URLs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.recentMeUrls -[Back to constructors index](index.md) - - - -Recent t.me URLs - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|urls|Array of [RecentMeUrl](../types/RecentMeUrl.md) | Yes|URLs| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [help\_RecentMeUrls](../types/help_RecentMeUrls.md) - - -### Example: - -```php -$help_recentMeUrls = ['_' => 'help.recentMeUrls', 'urls' => [RecentMeUrl, RecentMeUrl], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -help_recentMeUrls={_='help.recentMeUrls', urls={RecentMeUrl}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v95/constructors/help_support.md b/old_docs/API_docs_v95/constructors/help_support.md deleted file mode 100644 index 148f7f42..00000000 --- a/old_docs/API_docs_v95/constructors/help_support.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: help.support -description: Info on support user. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.support -[Back to constructors index](index.md) - - - -Info on support user. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_number|[string](../types/string.md) | Yes|Phone number| -|user|[User](../types/User.md) | Optional|User| - - - -### Type: [help\_Support](../types/help_Support.md) - - -### Example: - -```php -$help_support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => User]; -``` - - -Or, if you're into Lua: - -```lua -help_support={_='help.support', phone_number='string', user=User} - -``` - - diff --git a/old_docs/API_docs_v95/constructors/help_supportName.md b/old_docs/API_docs_v95/constructors/help_supportName.md deleted file mode 100644 index b4bc77d4..00000000 --- a/old_docs/API_docs_v95/constructors/help_supportName.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: help.supportName -description: Localized name for telegram support -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.supportName -[Back to constructors index](index.md) - - - -Localized name for telegram support - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|name|[string](../types/string.md) | Yes|Localized name| - - - -### Type: [help\_SupportName](../types/help_SupportName.md) - - -### Example: - -```php -$help_supportName = ['_' => 'help.supportName', 'name' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -help_supportName={_='help.supportName', name='string'} - -``` - - diff --git a/old_docs/API_docs_v95/constructors/help_termsOfService.md b/old_docs/API_docs_v95/constructors/help_termsOfService.md deleted file mode 100644 index f9d496e5..00000000 --- a/old_docs/API_docs_v95/constructors/help_termsOfService.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: help.termsOfService -description: Info about the latest telegram Terms Of Service -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.termsOfService -[Back to constructors index](index.md) - - - -Info about the latest telegram Terms Of Service - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|popup|[Bool](../types/Bool.md) | Optional|Whether a prompt must be showed to the user, in order to accept the new terms.| -|id|[DataJSON](../types/DataJSON.md) | Yes|ID of the new terms| -|text|[string](../types/string.md) | Yes|Text of the new terms| -|entities|Array of [MessageEntity](../types/MessageEntity.md) | Yes|Entities| -|min\_age\_confirm|[int](../types/int.md) | Optional|Minimum age required to sign up to telegram, the user must confirm that they is older than the minimum age.| - - - -### Type: [help\_TermsOfService](../types/help_TermsOfService.md) - - -### Example: - -```php -$help_termsOfService = ['_' => 'help.termsOfService', 'popup' => Bool, 'id' => DataJSON, 'text' => 'string', 'entities' => [MessageEntity, MessageEntity], 'min_age_confirm' => int]; -``` - - -Or, if you're into Lua: - -```lua -help_termsOfService={_='help.termsOfService', popup=Bool, id=DataJSON, text='string', entities={MessageEntity}, min_age_confirm=int} - -``` - - diff --git a/old_docs/API_docs_v95/constructors/help_termsOfServiceUpdate.md b/old_docs/API_docs_v95/constructors/help_termsOfServiceUpdate.md deleted file mode 100644 index c9e80319..00000000 --- a/old_docs/API_docs_v95/constructors/help_termsOfServiceUpdate.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: help.termsOfServiceUpdate -description: Info about an update of telegram's terms of service. If the terms of service are declined, then the [account.deleteAccount](../methods/account.deleteAccount.md) method should be called with the reason "Decline ToS update" -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.termsOfServiceUpdate -[Back to constructors index](index.md) - - - -Info about an update of telegram's terms of service. If the terms of service are declined, then the [account.deleteAccount](../methods/account.deleteAccount.md) method should be called with the reason "Decline ToS update" - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|expires|[int](../types/int.md) | Yes|New TOS updates will have to be queried using [help.getTermsOfServiceUpdate](../methods/help.getTermsOfServiceUpdate.md) in `expires` seconds| -|terms\_of\_service|[help\_TermsOfService](../types/help_TermsOfService.md) | Yes|New terms of service| - - - -### Type: [help\_TermsOfServiceUpdate](../types/help_TermsOfServiceUpdate.md) - - -### Example: - -```php -$help_termsOfServiceUpdate = ['_' => 'help.termsOfServiceUpdate', 'expires' => int, 'terms_of_service' => help_TermsOfService]; -``` - - -Or, if you're into Lua: - -```lua -help_termsOfServiceUpdate={_='help.termsOfServiceUpdate', expires=int, terms_of_service=help_TermsOfService} - -``` - - diff --git a/old_docs/API_docs_v95/constructors/help_termsOfServiceUpdateEmpty.md b/old_docs/API_docs_v95/constructors/help_termsOfServiceUpdateEmpty.md deleted file mode 100644 index d4d753fc..00000000 --- a/old_docs/API_docs_v95/constructors/help_termsOfServiceUpdateEmpty.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: help.termsOfServiceUpdateEmpty -description: No changes were made to telegram's terms of service -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.termsOfServiceUpdateEmpty -[Back to constructors index](index.md) - - - -No changes were made to telegram's terms of service - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|expires|[int](../types/int.md) | Yes|New TOS updates will have to be queried using [help.getTermsOfServiceUpdate](../methods/help.getTermsOfServiceUpdate.md) in `expires` seconds| - - - -### Type: [help\_TermsOfServiceUpdate](../types/help_TermsOfServiceUpdate.md) - - -### Example: - -```php -$help_termsOfServiceUpdateEmpty = ['_' => 'help.termsOfServiceUpdateEmpty', 'expires' => int]; -``` - - -Or, if you're into Lua: - -```lua -help_termsOfServiceUpdateEmpty={_='help.termsOfServiceUpdateEmpty', expires=int} - -``` - - diff --git a/old_docs/API_docs_v95/constructors/help_userInfo.md b/old_docs/API_docs_v95/constructors/help_userInfo.md deleted file mode 100644 index a444124b..00000000 --- a/old_docs/API_docs_v95/constructors/help_userInfo.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: help.userInfo -description: Internal use -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.userInfo -[Back to constructors index](index.md) - - - -Internal use - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|message|[string](../types/string.md) | Yes|Info| -|entities|Array of [MessageEntity](../types/MessageEntity.md) | Yes|Entities| -|author|[string](../types/string.md) | Yes|Author| -|date|[int](../types/int.md) | Yes|Date| - - - -### Type: [help\_UserInfo](../types/help_UserInfo.md) - - -### Example: - -```php -$help_userInfo = ['_' => 'help.userInfo', 'message' => 'string', 'entities' => [MessageEntity, MessageEntity], 'author' => 'string', 'date' => int]; -``` - - -Or, if you're into Lua: - -```lua -help_userInfo={_='help.userInfo', message='string', entities={MessageEntity}, author='string', date=int} - -``` - - diff --git a/old_docs/API_docs_v95/constructors/help_userInfoEmpty.md b/old_docs/API_docs_v95/constructors/help_userInfoEmpty.md deleted file mode 100644 index 66690c62..00000000 --- a/old_docs/API_docs_v95/constructors/help_userInfoEmpty.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: help.userInfoEmpty -description: Internal use -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.userInfoEmpty -[Back to constructors index](index.md) - - - -Internal use - - - - -### Type: [help\_UserInfo](../types/help_UserInfo.md) - - -### Example: - -```php -$help_userInfoEmpty = ['_' => 'help.userInfoEmpty']; -``` - - -Or, if you're into Lua: - -```lua -help_userInfoEmpty={_='help.userInfoEmpty'} - -``` - - diff --git a/old_docs/API_docs_v95/constructors/messages.affectedHistory.md b/old_docs/API_docs_v95/constructors/messages.affectedHistory.md new file mode 100644 index 00000000..5fc8acec --- /dev/null +++ b/old_docs/API_docs_v95/constructors/messages.affectedHistory.md @@ -0,0 +1,40 @@ +--- +title: messages.affectedHistory +description: Affected part of communication history with the user or in a chat. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.affectedHistory +[Back to constructors index](index.md) + + + +Affected part of communication history with the user or in a chat. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| +|pts\_count|[int](../types/int.md) | Yes|Number of affected events| +|offset|[int](../types/int.md) | Yes|If a parameter contains positive value, it is necessary to repeat the method call using the given value; during the proceeding of all the history the value itself shall gradually decrease| + + + +### Type: [messages.AffectedHistory](../types/messages.AffectedHistory.md) + + +### Example: + +```php +$messages.affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.affectedHistory={_='messages.affectedHistory', pts=int, pts_count=int, offset=int} + +``` + + diff --git a/old_docs/API_docs_v95/constructors/messages.affectedMessages.md b/old_docs/API_docs_v95/constructors/messages.affectedMessages.md new file mode 100644 index 00000000..a0e60bdf --- /dev/null +++ b/old_docs/API_docs_v95/constructors/messages.affectedMessages.md @@ -0,0 +1,39 @@ +--- +title: messages.affectedMessages +description: Events affected by operation +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.affectedMessages +[Back to constructors index](index.md) + + + +Events affected by operation + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|[Event count after generation](https://core.telegram.org/api/updates)| +|pts\_count|[int](../types/int.md) | Yes|[Number of events that were generated](https://core.telegram.org/api/updates)| + + + +### Type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) + + +### Example: + +```php +$messages.affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.affectedMessages={_='messages.affectedMessages', pts=int, pts_count=int} + +``` + + diff --git a/old_docs/API_docs_v95/constructors/messages.allStickers.md b/old_docs/API_docs_v95/constructors/messages.allStickers.md new file mode 100644 index 00000000..5f13bfde --- /dev/null +++ b/old_docs/API_docs_v95/constructors/messages.allStickers.md @@ -0,0 +1,39 @@ +--- +title: messages.allStickers +description: Info about all installed stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.allStickers +[Back to constructors index](index.md) + + + +Info about all installed stickers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|sets|Array of [StickerSet](../types/StickerSet.md) | Yes|Sets| + + + +### Type: [messages.AllStickers](../types/messages.AllStickers.md) + + +### Example: + +```php +$messages.allStickers = ['_' => 'messages.allStickers', 'hash' => int, 'sets' => [StickerSet, StickerSet]]; +``` + + +Or, if you're into Lua: + +```lua +messages.allStickers={_='messages.allStickers', hash=int, sets={StickerSet}} + +``` + + diff --git a/old_docs/API_docs_v95/constructors/messages.allStickersNotModified.md b/old_docs/API_docs_v95/constructors/messages.allStickersNotModified.md new file mode 100644 index 00000000..d3db088b --- /dev/null +++ b/old_docs/API_docs_v95/constructors/messages.allStickersNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.allStickersNotModified +description: Info about all installed stickers hasn't changed +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.allStickersNotModified +[Back to constructors index](index.md) + + + +Info about all installed stickers hasn't changed + + + + +### Type: [messages.AllStickers](../types/messages.AllStickers.md) + + +### Example: + +```php +$messages.allStickersNotModified = ['_' => 'messages.allStickersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.allStickersNotModified={_='messages.allStickersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v95/constructors/messages.archivedStickers.md b/old_docs/API_docs_v95/constructors/messages.archivedStickers.md new file mode 100644 index 00000000..6ad9927c --- /dev/null +++ b/old_docs/API_docs_v95/constructors/messages.archivedStickers.md @@ -0,0 +1,39 @@ +--- +title: messages.archivedStickers +description: Archived stickersets +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.archivedStickers +[Back to constructors index](index.md) + + + +Archived stickersets + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Number of archived stickers| +|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| + + + +### Type: [messages.ArchivedStickers](../types/messages.ArchivedStickers.md) + + +### Example: + +```php +$messages.archivedStickers = ['_' => 'messages.archivedStickers', 'count' => int, 'sets' => [StickerSetCovered, StickerSetCovered]]; +``` + + +Or, if you're into Lua: + +```lua +messages.archivedStickers={_='messages.archivedStickers', count=int, sets={StickerSetCovered}} + +``` + + diff --git a/old_docs/API_docs_v95/constructors/messages.botCallbackAnswer.md b/old_docs/API_docs_v95/constructors/messages.botCallbackAnswer.md new file mode 100644 index 00000000..08bfeba5 --- /dev/null +++ b/old_docs/API_docs_v95/constructors/messages.botCallbackAnswer.md @@ -0,0 +1,43 @@ +--- +title: messages.botCallbackAnswer +description: Callback answer sent by the bot in response to a button press +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.botCallbackAnswer +[Back to constructors index](index.md) + + + +Callback answer sent by the bot in response to a button press + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|alert|[Bool](../types/Bool.md) | Optional|Whether an alert should be shown to the user instead of a toast notification| +|has\_url|[Bool](../types/Bool.md) | Optional|Whether an URL is present| +|native\_ui|[Bool](../types/Bool.md) | Optional|Whether to show games in WebView or in native UI.| +|message|[string](../types/string.md) | Optional|Alert to show| +|url|[string](../types/string.md) | Optional|URL to open| +|cache\_time|[int](../types/int.md) | Yes|For how long should this answer be cached| + + + +### Type: [messages.BotCallbackAnswer](../types/messages.BotCallbackAnswer.md) + + +### Example: + +```php +$messages.botCallbackAnswer = ['_' => 'messages.botCallbackAnswer', 'alert' => Bool, 'has_url' => Bool, 'native_ui' => Bool, 'message' => 'string', 'url' => 'string', 'cache_time' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.botCallbackAnswer={_='messages.botCallbackAnswer', alert=Bool, has_url=Bool, native_ui=Bool, message='string', url='string', cache_time=int} + +``` + + diff --git a/old_docs/API_docs_v95/constructors/messages.botResults.md b/old_docs/API_docs_v95/constructors/messages.botResults.md new file mode 100644 index 00000000..7b6dcfba --- /dev/null +++ b/old_docs/API_docs_v95/constructors/messages.botResults.md @@ -0,0 +1,44 @@ +--- +title: messages.botResults +description: Result of a query to an inline bot +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.botResults +[Back to constructors index](index.md) + + + +Result of a query to an inline bot + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|gallery|[Bool](../types/Bool.md) | Optional|Whether the result is a picture gallery| +|query\_id|[long](../types/long.md) | Yes|Query ID| +|next\_offset|[string](../types/string.md) | Optional|The next offset to use when navigating through results| +|switch\_pm|[InlineBotSwitchPM](../types/InlineBotSwitchPM.md) | Optional|Whether the bot requested the user to message him in private| +|results|Array of [BotInlineResult](../types/BotInlineResult.md) | Yes|Results| +|cache\_time|[int](../types/int.md) | Yes|Caching validity of the results| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.BotResults](../types/messages.BotResults.md) + + +### Example: + +```php +$messages.botResults = ['_' => 'messages.botResults', 'gallery' => Bool, 'query_id' => long, 'next_offset' => 'string', 'switch_pm' => InlineBotSwitchPM, 'results' => [BotInlineResult, BotInlineResult], 'cache_time' => int, 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.botResults={_='messages.botResults', gallery=Bool, query_id=long, next_offset='string', switch_pm=InlineBotSwitchPM, results={BotInlineResult}, cache_time=int, users={User}} + +``` + + diff --git a/old_docs/API_docs_v95/constructors/messages.channelMessages.md b/old_docs/API_docs_v95/constructors/messages.channelMessages.md new file mode 100644 index 00000000..8a8ca98a --- /dev/null +++ b/old_docs/API_docs_v95/constructors/messages.channelMessages.md @@ -0,0 +1,43 @@ +--- +title: messages.channelMessages +description: Channel messages +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.channelMessages +[Back to constructors index](index.md) + + + +Channel messages + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|inexact|[Bool](../types/Bool.md) | Optional|If set, returned results may be inexact| +|pts|[int](../types/int.md) | Yes|[Event count after generation](https://core.telegram.org/api/updates)| +|count|[int](../types/int.md) | Yes|Total number of results were found server-side (may not be all included here)| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Messages](../types/messages.Messages.md) + + +### Example: + +```php +$messages.channelMessages = ['_' => 'messages.channelMessages', 'inexact' => Bool, 'pts' => int, 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.channelMessages={_='messages.channelMessages', inexact=Bool, pts=int, count=int, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v95/constructors/messages.chatFull.md b/old_docs/API_docs_v95/constructors/messages.chatFull.md new file mode 100644 index 00000000..3906cc54 --- /dev/null +++ b/old_docs/API_docs_v95/constructors/messages.chatFull.md @@ -0,0 +1,40 @@ +--- +title: messages.chatFull +description: Extended info on chat and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.chatFull +[Back to constructors index](index.md) + + + +Extended info on chat and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|full\_chat|[ChatFull](../types/ChatFull.md) | Yes|Extended info on a chat| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.ChatFull](../types/messages.ChatFull.md) + + +### Example: + +```php +$messages.chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.chatFull={_='messages.chatFull', full_chat=ChatFull, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v95/constructors/messages.chats.md b/old_docs/API_docs_v95/constructors/messages.chats.md new file mode 100644 index 00000000..9ede9ff2 --- /dev/null +++ b/old_docs/API_docs_v95/constructors/messages.chats.md @@ -0,0 +1,38 @@ +--- +title: messages.chats +description: List of chats with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.chats +[Back to constructors index](index.md) + + + +List of chats with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| + + + +### Type: [messages.Chats](../types/messages.Chats.md) + + +### Example: + +```php +$messages.chats = ['_' => 'messages.chats', 'chats' => [Chat, Chat]]; +``` + + +Or, if you're into Lua: + +```lua +messages.chats={_='messages.chats', chats={Chat}} + +``` + + diff --git a/old_docs/API_docs_v95/constructors/messages.chatsSlice.md b/old_docs/API_docs_v95/constructors/messages.chatsSlice.md new file mode 100644 index 00000000..efd153e0 --- /dev/null +++ b/old_docs/API_docs_v95/constructors/messages.chatsSlice.md @@ -0,0 +1,39 @@ +--- +title: messages.chatsSlice +description: Partial list of chats, more would have to be fetched with [pagination](https://core.telegram.org/api/offsets) +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.chatsSlice +[Back to constructors index](index.md) + + + +Partial list of chats, more would have to be fetched with [pagination](https://core.telegram.org/api/offsets) + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of results that were found server-side (not all are included in `chats`)| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| + + + +### Type: [messages.Chats](../types/messages.Chats.md) + + +### Example: + +```php +$messages.chatsSlice = ['_' => 'messages.chatsSlice', 'count' => int, 'chats' => [Chat, Chat]]; +``` + + +Or, if you're into Lua: + +```lua +messages.chatsSlice={_='messages.chatsSlice', count=int, chats={Chat}} + +``` + + diff --git a/old_docs/API_docs_v95/constructors/messages.dhConfig.md b/old_docs/API_docs_v95/constructors/messages.dhConfig.md new file mode 100644 index 00000000..58344f64 --- /dev/null +++ b/old_docs/API_docs_v95/constructors/messages.dhConfig.md @@ -0,0 +1,41 @@ +--- +title: messages.dhConfig +description: New set of configuring parameters. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dhConfig +[Back to constructors index](index.md) + + + +New set of configuring parameters. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|g|[int](../types/int.md) | Yes|New value **prime**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| +|p|[bytes](../types/bytes.md) | Yes|New value **primitive root**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| +|version|[int](../types/int.md) | Yes|Vestion of set of parameters| +|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| + + + +### Type: [messages.DhConfig](../types/messages.DhConfig.md) + + +### Example: + +```php +$messages.dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'version' => int, 'random' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +messages.dhConfig={_='messages.dhConfig', g=int, p='bytes', version=int, random='bytes'} + +``` + + diff --git a/old_docs/API_docs_v95/constructors/messages.dhConfigNotModified.md b/old_docs/API_docs_v95/constructors/messages.dhConfigNotModified.md new file mode 100644 index 00000000..a9a95389 --- /dev/null +++ b/old_docs/API_docs_v95/constructors/messages.dhConfigNotModified.md @@ -0,0 +1,38 @@ +--- +title: messages.dhConfigNotModified +description: Configuring parameters did not change. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dhConfigNotModified +[Back to constructors index](index.md) + + + +Configuring parameters did not change. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| + + + +### Type: [messages.DhConfig](../types/messages.DhConfig.md) + + +### Example: + +```php +$messages.dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +messages.dhConfigNotModified={_='messages.dhConfigNotModified', random='bytes'} + +``` + + diff --git a/old_docs/API_docs_v95/constructors/messages.dialogs.md b/old_docs/API_docs_v95/constructors/messages.dialogs.md new file mode 100644 index 00000000..a72eabce --- /dev/null +++ b/old_docs/API_docs_v95/constructors/messages.dialogs.md @@ -0,0 +1,41 @@ +--- +title: messages.dialogs +description: Full list of chats with messages and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dialogs +[Back to constructors index](index.md) + + + +Full list of chats with messages and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Dialogs](../types/messages.Dialogs.md) + + +### Example: + +```php +$messages.dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.dialogs={_='messages.dialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v95/constructors/messages.dialogsNotModified.md b/old_docs/API_docs_v95/constructors/messages.dialogsNotModified.md new file mode 100644 index 00000000..b4615516 --- /dev/null +++ b/old_docs/API_docs_v95/constructors/messages.dialogsNotModified.md @@ -0,0 +1,38 @@ +--- +title: messages.dialogsNotModified +description: Dialogs haven't changed +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dialogsNotModified +[Back to constructors index](index.md) + + + +Dialogs haven't changed + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Number of dialogs found server-side by the query| + + + +### Type: [messages.Dialogs](../types/messages.Dialogs.md) + + +### Example: + +```php +$messages.dialogsNotModified = ['_' => 'messages.dialogsNotModified', 'count' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.dialogsNotModified={_='messages.dialogsNotModified', count=int} + +``` + + diff --git a/old_docs/API_docs_v95/constructors/messages.dialogsSlice.md b/old_docs/API_docs_v95/constructors/messages.dialogsSlice.md new file mode 100644 index 00000000..26227d2c --- /dev/null +++ b/old_docs/API_docs_v95/constructors/messages.dialogsSlice.md @@ -0,0 +1,42 @@ +--- +title: messages.dialogsSlice +description: Incomplete list of dialogs with messages and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dialogsSlice +[Back to constructors index](index.md) + + + +Incomplete list of dialogs with messages and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of dialogs| +|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Dialogs](../types/messages.Dialogs.md) + + +### Example: + +```php +$messages.dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.dialogsSlice={_='messages.dialogsSlice', count=int, dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v95/constructors/messages.favedStickers.md b/old_docs/API_docs_v95/constructors/messages.favedStickers.md new file mode 100644 index 00000000..a5cfb7c9 --- /dev/null +++ b/old_docs/API_docs_v95/constructors/messages.favedStickers.md @@ -0,0 +1,40 @@ +--- +title: messages.favedStickers +description: Favorited stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.favedStickers +[Back to constructors index](index.md) + + + +Favorited stickers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|packs|Array of [StickerPack](../types/StickerPack.md) | Yes|Packs| +|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| + + + +### Type: [messages.FavedStickers](../types/messages.FavedStickers.md) + + +### Example: + +```php +$messages.favedStickers = ['_' => 'messages.favedStickers', 'hash' => int, 'packs' => [StickerPack, StickerPack], 'stickers' => [Document, Document]]; +``` + + +Or, if you're into Lua: + +```lua +messages.favedStickers={_='messages.favedStickers', hash=int, packs={StickerPack}, stickers={Document}} + +``` + + diff --git a/old_docs/API_docs_v95/constructors/messages.favedStickersNotModified.md b/old_docs/API_docs_v95/constructors/messages.favedStickersNotModified.md new file mode 100644 index 00000000..8723659e --- /dev/null +++ b/old_docs/API_docs_v95/constructors/messages.favedStickersNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.favedStickersNotModified +description: No new favorited stickers were found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.favedStickersNotModified +[Back to constructors index](index.md) + + + +No new favorited stickers were found + + + + +### Type: [messages.FavedStickers](../types/messages.FavedStickers.md) + + +### Example: + +```php +$messages.favedStickersNotModified = ['_' => 'messages.favedStickersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.favedStickersNotModified={_='messages.favedStickersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v95/constructors/messages.featuredStickers.md b/old_docs/API_docs_v95/constructors/messages.featuredStickers.md new file mode 100644 index 00000000..344376ea --- /dev/null +++ b/old_docs/API_docs_v95/constructors/messages.featuredStickers.md @@ -0,0 +1,40 @@ +--- +title: messages.featuredStickers +description: Featured stickersets +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.featuredStickers +[Back to constructors index](index.md) + + + +Featured stickersets + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| +|unread|Array of [long](../types/long.md) | Yes|Unread| + + + +### Type: [messages.FeaturedStickers](../types/messages.FeaturedStickers.md) + + +### Example: + +```php +$messages.featuredStickers = ['_' => 'messages.featuredStickers', 'hash' => int, 'sets' => [StickerSetCovered, StickerSetCovered], 'unread' => [long, long]]; +``` + + +Or, if you're into Lua: + +```lua +messages.featuredStickers={_='messages.featuredStickers', hash=int, sets={StickerSetCovered}, unread={long}} + +``` + + diff --git a/old_docs/API_docs_v95/constructors/messages.featuredStickersNotModified.md b/old_docs/API_docs_v95/constructors/messages.featuredStickersNotModified.md new file mode 100644 index 00000000..0fe9b4d5 --- /dev/null +++ b/old_docs/API_docs_v95/constructors/messages.featuredStickersNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.featuredStickersNotModified +description: Featured stickers haven't changed +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.featuredStickersNotModified +[Back to constructors index](index.md) + + + +Featured stickers haven't changed + + + + +### Type: [messages.FeaturedStickers](../types/messages.FeaturedStickers.md) + + +### Example: + +```php +$messages.featuredStickersNotModified = ['_' => 'messages.featuredStickersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.featuredStickersNotModified={_='messages.featuredStickersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v95/constructors/messages.foundGifs.md b/old_docs/API_docs_v95/constructors/messages.foundGifs.md new file mode 100644 index 00000000..c75e36f9 --- /dev/null +++ b/old_docs/API_docs_v95/constructors/messages.foundGifs.md @@ -0,0 +1,39 @@ +--- +title: messages.foundGifs +description: Found GIFs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.foundGifs +[Back to constructors index](index.md) + + + +Found GIFs + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|next\_offset|[int](../types/int.md) | Yes|Next offset to use when trying to [load more results](../methods/messages.searchGifs.md)| +|results|Array of [FoundGif](../types/FoundGif.md) | Yes|Results| + + + +### Type: [messages.FoundGifs](../types/messages.FoundGifs.md) + + +### Example: + +```php +$messages.foundGifs = ['_' => 'messages.foundGifs', 'next_offset' => int, 'results' => [FoundGif, FoundGif]]; +``` + + +Or, if you're into Lua: + +```lua +messages.foundGifs={_='messages.foundGifs', next_offset=int, results={FoundGif}} + +``` + + diff --git a/old_docs/API_docs_v95/constructors/messages.foundStickerSets.md b/old_docs/API_docs_v95/constructors/messages.foundStickerSets.md new file mode 100644 index 00000000..efc5201e --- /dev/null +++ b/old_docs/API_docs_v95/constructors/messages.foundStickerSets.md @@ -0,0 +1,39 @@ +--- +title: messages.foundStickerSets +description: Found stickersets +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.foundStickerSets +[Back to constructors index](index.md) + + + +Found stickersets + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| + + + +### Type: [messages.FoundStickerSets](../types/messages.FoundStickerSets.md) + + +### Example: + +```php +$messages.foundStickerSets = ['_' => 'messages.foundStickerSets', 'hash' => int, 'sets' => [StickerSetCovered, StickerSetCovered]]; +``` + + +Or, if you're into Lua: + +```lua +messages.foundStickerSets={_='messages.foundStickerSets', hash=int, sets={StickerSetCovered}} + +``` + + diff --git a/old_docs/API_docs_v95/constructors/messages.foundStickerSetsNotModified.md b/old_docs/API_docs_v95/constructors/messages.foundStickerSetsNotModified.md new file mode 100644 index 00000000..2902501a --- /dev/null +++ b/old_docs/API_docs_v95/constructors/messages.foundStickerSetsNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.foundStickerSetsNotModified +description: No further results were found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.foundStickerSetsNotModified +[Back to constructors index](index.md) + + + +No further results were found + + + + +### Type: [messages.FoundStickerSets](../types/messages.FoundStickerSets.md) + + +### Example: + +```php +$messages.foundStickerSetsNotModified = ['_' => 'messages.foundStickerSetsNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.foundStickerSetsNotModified={_='messages.foundStickerSetsNotModified'} + +``` + + diff --git a/old_docs/API_docs_v95/constructors/messages.highScores.md b/old_docs/API_docs_v95/constructors/messages.highScores.md new file mode 100644 index 00000000..d7d25826 --- /dev/null +++ b/old_docs/API_docs_v95/constructors/messages.highScores.md @@ -0,0 +1,39 @@ +--- +title: messages.highScores +description: Highscores in a game +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.highScores +[Back to constructors index](index.md) + + + +Highscores in a game + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|scores|Array of [HighScore](../types/HighScore.md) | Yes|Scores| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.HighScores](../types/messages.HighScores.md) + + +### Example: + +```php +$messages.highScores = ['_' => 'messages.highScores', 'scores' => [HighScore, HighScore], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.highScores={_='messages.highScores', scores={HighScore}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v95/constructors/messages.messageEditData.md b/old_docs/API_docs_v95/constructors/messages.messageEditData.md new file mode 100644 index 00000000..578b53d9 --- /dev/null +++ b/old_docs/API_docs_v95/constructors/messages.messageEditData.md @@ -0,0 +1,38 @@ +--- +title: messages.messageEditData +description: Message edit data for media +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.messageEditData +[Back to constructors index](index.md) + + + +Message edit data for media + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|caption|[Bool](../types/Bool.md) | Optional|Media caption, if the specified media's caption can be edited| + + + +### Type: [messages.MessageEditData](../types/messages.MessageEditData.md) + + +### Example: + +```php +$messages.messageEditData = ['_' => 'messages.messageEditData', 'caption' => Bool]; +``` + + +Or, if you're into Lua: + +```lua +messages.messageEditData={_='messages.messageEditData', caption=Bool} + +``` + + diff --git a/old_docs/API_docs_v95/constructors/messages.messages.md b/old_docs/API_docs_v95/constructors/messages.messages.md new file mode 100644 index 00000000..3af71dca --- /dev/null +++ b/old_docs/API_docs_v95/constructors/messages.messages.md @@ -0,0 +1,40 @@ +--- +title: messages.messages +description: Full list of messages with auxilary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.messages +[Back to constructors index](index.md) + + + +Full list of messages with auxilary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Messages](../types/messages.Messages.md) + + +### Example: + +```php +$messages.messages = ['_' => 'messages.messages', 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.messages={_='messages.messages', messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v95/constructors/messages.messagesNotModified.md b/old_docs/API_docs_v95/constructors/messages.messagesNotModified.md new file mode 100644 index 00000000..c4cb60ed --- /dev/null +++ b/old_docs/API_docs_v95/constructors/messages.messagesNotModified.md @@ -0,0 +1,38 @@ +--- +title: messages.messagesNotModified +description: No new messages matching the query were found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.messagesNotModified +[Back to constructors index](index.md) + + + +No new messages matching the query were found + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Number of results found server-side by the given query| + + + +### Type: [messages.Messages](../types/messages.Messages.md) + + +### Example: + +```php +$messages.messagesNotModified = ['_' => 'messages.messagesNotModified', 'count' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.messagesNotModified={_='messages.messagesNotModified', count=int} + +``` + + diff --git a/old_docs/API_docs_v95/constructors/messages.messagesSlice.md b/old_docs/API_docs_v95/constructors/messages.messagesSlice.md new file mode 100644 index 00000000..6cbac82c --- /dev/null +++ b/old_docs/API_docs_v95/constructors/messages.messagesSlice.md @@ -0,0 +1,42 @@ +--- +title: messages.messagesSlice +description: Incomplete list of messages and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.messagesSlice +[Back to constructors index](index.md) + + + +Incomplete list of messages and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|inexact|[Bool](../types/Bool.md) | Optional|If set, indicates that the results may be inexact| +|count|[int](../types/int.md) | Yes|Total number of messages in the list| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Messages](../types/messages.Messages.md) + + +### Example: + +```php +$messages.messagesSlice = ['_' => 'messages.messagesSlice', 'inexact' => Bool, 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.messagesSlice={_='messages.messagesSlice', inexact=Bool, count=int, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v95/constructors/messages.peerDialogs.md b/old_docs/API_docs_v95/constructors/messages.peerDialogs.md new file mode 100644 index 00000000..39cb71f8 --- /dev/null +++ b/old_docs/API_docs_v95/constructors/messages.peerDialogs.md @@ -0,0 +1,42 @@ +--- +title: messages.peerDialogs +description: Dialog info of multiple peers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.peerDialogs +[Back to constructors index](index.md) + + + +Dialog info of multiple peers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| +|state|[updates.State](../constructors/updates.State.md) | Yes|Current [update state of dialog](https://core.telegram.org/api/updates)| + + + +### Type: [messages.PeerDialogs](../types/messages.PeerDialogs.md) + + +### Example: + +```php +$messages.peerDialogs = ['_' => 'messages.peerDialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates.State]; +``` + + +Or, if you're into Lua: + +```lua +messages.peerDialogs={_='messages.peerDialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}, state=updates.State} + +``` + + diff --git a/old_docs/API_docs_v95/constructors/messages.recentStickers.md b/old_docs/API_docs_v95/constructors/messages.recentStickers.md new file mode 100644 index 00000000..33e6c1ad --- /dev/null +++ b/old_docs/API_docs_v95/constructors/messages.recentStickers.md @@ -0,0 +1,41 @@ +--- +title: messages.recentStickers +description: Recently used stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.recentStickers +[Back to constructors index](index.md) + + + +Recently used stickers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|packs|Array of [StickerPack](../types/StickerPack.md) | Yes|Packs| +|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| +|dates|Array of [int](../types/int.md) | Yes|Dates| + + + +### Type: [messages.RecentStickers](../types/messages.RecentStickers.md) + + +### Example: + +```php +$messages.recentStickers = ['_' => 'messages.recentStickers', 'hash' => int, 'packs' => [StickerPack, StickerPack], 'stickers' => [Document, Document], 'dates' => [int, int]]; +``` + + +Or, if you're into Lua: + +```lua +messages.recentStickers={_='messages.recentStickers', hash=int, packs={StickerPack}, stickers={Document}, dates={int}} + +``` + + diff --git a/old_docs/API_docs_v95/constructors/messages.recentStickersNotModified.md b/old_docs/API_docs_v95/constructors/messages.recentStickersNotModified.md new file mode 100644 index 00000000..1c3bbf5c --- /dev/null +++ b/old_docs/API_docs_v95/constructors/messages.recentStickersNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.recentStickersNotModified +description: No new recent sticker was found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.recentStickersNotModified +[Back to constructors index](index.md) + + + +No new recent sticker was found + + + + +### Type: [messages.RecentStickers](../types/messages.RecentStickers.md) + + +### Example: + +```php +$messages.recentStickersNotModified = ['_' => 'messages.recentStickersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.recentStickersNotModified={_='messages.recentStickersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v95/constructors/messages.savedGifs.md b/old_docs/API_docs_v95/constructors/messages.savedGifs.md new file mode 100644 index 00000000..c82929a3 --- /dev/null +++ b/old_docs/API_docs_v95/constructors/messages.savedGifs.md @@ -0,0 +1,39 @@ +--- +title: messages.savedGifs +description: Saved gifs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.savedGifs +[Back to constructors index](index.md) + + + +Saved gifs + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|gifs|Array of [Document](../types/Document.md) | Yes|Gifs| + + + +### Type: [messages.SavedGifs](../types/messages.SavedGifs.md) + + +### Example: + +```php +$messages.savedGifs = ['_' => 'messages.savedGifs', 'hash' => int, 'gifs' => [Document, Document]]; +``` + + +Or, if you're into Lua: + +```lua +messages.savedGifs={_='messages.savedGifs', hash=int, gifs={Document}} + +``` + + diff --git a/old_docs/API_docs_v95/constructors/messages.savedGifsNotModified.md b/old_docs/API_docs_v95/constructors/messages.savedGifsNotModified.md new file mode 100644 index 00000000..0fbccacc --- /dev/null +++ b/old_docs/API_docs_v95/constructors/messages.savedGifsNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.savedGifsNotModified +description: No new saved gifs were found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.savedGifsNotModified +[Back to constructors index](index.md) + + + +No new saved gifs were found + + + + +### Type: [messages.SavedGifs](../types/messages.SavedGifs.md) + + +### Example: + +```php +$messages.savedGifsNotModified = ['_' => 'messages.savedGifsNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.savedGifsNotModified={_='messages.savedGifsNotModified'} + +``` + + diff --git a/old_docs/API_docs_v95/constructors/messages.sentEncryptedFile.md b/old_docs/API_docs_v95/constructors/messages.sentEncryptedFile.md new file mode 100644 index 00000000..1f0e43c6 --- /dev/null +++ b/old_docs/API_docs_v95/constructors/messages.sentEncryptedFile.md @@ -0,0 +1,39 @@ +--- +title: messages.sentEncryptedFile +description: Message with a file enclosure sent to a protected chat +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.sentEncryptedFile +[Back to constructors index](index.md) + + + +Message with a file enclosure sent to a protected chat + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Sending date| +|file|[EncryptedFile](../types/EncryptedFile.md) | Optional|Attached file| + + + +### Type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) + + +### Example: + +```php +$messages.sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile]; +``` + + +Or, if you're into Lua: + +```lua +messages.sentEncryptedFile={_='messages.sentEncryptedFile', date=int, file=EncryptedFile} + +``` + + diff --git a/old_docs/API_docs_v95/constructors/messages.sentEncryptedMessage.md b/old_docs/API_docs_v95/constructors/messages.sentEncryptedMessage.md new file mode 100644 index 00000000..3d5eb40c --- /dev/null +++ b/old_docs/API_docs_v95/constructors/messages.sentEncryptedMessage.md @@ -0,0 +1,38 @@ +--- +title: messages.sentEncryptedMessage +description: Message without file attachemts sent to an encrypted file. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.sentEncryptedMessage +[Back to constructors index](index.md) + + + +Message without file attachemts sent to an encrypted file. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Date of sending| + + + +### Type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) + + +### Example: + +```php +$messages.sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.sentEncryptedMessage={_='messages.sentEncryptedMessage', date=int} + +``` + + diff --git a/old_docs/API_docs_v95/constructors/messages.stickerSet.md b/old_docs/API_docs_v95/constructors/messages.stickerSet.md new file mode 100644 index 00000000..fbc154d0 --- /dev/null +++ b/old_docs/API_docs_v95/constructors/messages.stickerSet.md @@ -0,0 +1,40 @@ +--- +title: messages.stickerSet +description: Stickerset and stickers inside it +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickerSet +[Back to constructors index](index.md) + + + +Stickerset and stickers inside it + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|set|[StickerSet](../types/StickerSet.md) | Yes|The stickerset| +|packs|Array of [StickerPack](../types/StickerPack.md) | Yes|Packs| +|documents|Array of [Document](../types/Document.md) | Yes|Documents| + + + +### Type: [messages.StickerSet](../types/messages.StickerSet.md) + + +### Example: + +```php +$messages.stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'packs' => [StickerPack, StickerPack], 'documents' => [Document, Document]]; +``` + + +Or, if you're into Lua: + +```lua +messages.stickerSet={_='messages.stickerSet', set=StickerSet, packs={StickerPack}, documents={Document}} + +``` + + diff --git a/old_docs/API_docs_v95/constructors/messages.stickerSetInstallResultArchive.md b/old_docs/API_docs_v95/constructors/messages.stickerSetInstallResultArchive.md new file mode 100644 index 00000000..fefe2270 --- /dev/null +++ b/old_docs/API_docs_v95/constructors/messages.stickerSetInstallResultArchive.md @@ -0,0 +1,38 @@ +--- +title: messages.stickerSetInstallResultArchive +description: The stickerset was installed, but since there are too many stickersets some were archived +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickerSetInstallResultArchive +[Back to constructors index](index.md) + + + +The stickerset was installed, but since there are too many stickersets some were archived + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| + + + +### Type: [messages.StickerSetInstallResult](../types/messages.StickerSetInstallResult.md) + + +### Example: + +```php +$messages.stickerSetInstallResultArchive = ['_' => 'messages.stickerSetInstallResultArchive', 'sets' => [StickerSetCovered, StickerSetCovered]]; +``` + + +Or, if you're into Lua: + +```lua +messages.stickerSetInstallResultArchive={_='messages.stickerSetInstallResultArchive', sets={StickerSetCovered}} + +``` + + diff --git a/old_docs/API_docs_v95/constructors/messages.stickerSetInstallResultSuccess.md b/old_docs/API_docs_v95/constructors/messages.stickerSetInstallResultSuccess.md new file mode 100644 index 00000000..bbe8b961 --- /dev/null +++ b/old_docs/API_docs_v95/constructors/messages.stickerSetInstallResultSuccess.md @@ -0,0 +1,33 @@ +--- +title: messages.stickerSetInstallResultSuccess +description: The stickerset was installed successfully +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickerSetInstallResultSuccess +[Back to constructors index](index.md) + + + +The stickerset was installed successfully + + + + +### Type: [messages.StickerSetInstallResult](../types/messages.StickerSetInstallResult.md) + + +### Example: + +```php +$messages.stickerSetInstallResultSuccess = ['_' => 'messages.stickerSetInstallResultSuccess']; +``` + + +Or, if you're into Lua: + +```lua +messages.stickerSetInstallResultSuccess={_='messages.stickerSetInstallResultSuccess'} + +``` + + diff --git a/old_docs/API_docs_v95/constructors/messages.stickers.md b/old_docs/API_docs_v95/constructors/messages.stickers.md new file mode 100644 index 00000000..49ffea6a --- /dev/null +++ b/old_docs/API_docs_v95/constructors/messages.stickers.md @@ -0,0 +1,39 @@ +--- +title: messages.stickers +description: Found stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickers +[Back to constructors index](index.md) + + + +Found stickers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| + + + +### Type: [messages.Stickers](../types/messages.Stickers.md) + + +### Example: + +```php +$messages.stickers = ['_' => 'messages.stickers', 'hash' => int, 'stickers' => [Document, Document]]; +``` + + +Or, if you're into Lua: + +```lua +messages.stickers={_='messages.stickers', hash=int, stickers={Document}} + +``` + + diff --git a/old_docs/API_docs_v95/constructors/messages.stickersNotModified.md b/old_docs/API_docs_v95/constructors/messages.stickersNotModified.md new file mode 100644 index 00000000..e8c7766c --- /dev/null +++ b/old_docs/API_docs_v95/constructors/messages.stickersNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.stickersNotModified +description: No new stickers were found for the given query +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickersNotModified +[Back to constructors index](index.md) + + + +No new stickers were found for the given query + + + + +### Type: [messages.Stickers](../types/messages.Stickers.md) + + +### Example: + +```php +$messages.stickersNotModified = ['_' => 'messages.stickersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.stickersNotModified={_='messages.stickersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v95/constructors/messages_affectedHistory.md b/old_docs/API_docs_v95/constructors/messages_affectedHistory.md deleted file mode 100644 index 449a7e3f..00000000 --- a/old_docs/API_docs_v95/constructors/messages_affectedHistory.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.affectedHistory -description: Affected part of communication history with the user or in a chat. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.affectedHistory -[Back to constructors index](index.md) - - - -Affected part of communication history with the user or in a chat. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| -|pts\_count|[int](../types/int.md) | Yes|Number of affected events| -|offset|[int](../types/int.md) | Yes|If a parameter contains positive value, it is necessary to repeat the method call using the given value; during the proceeding of all the history the value itself shall gradually decrease| - - - -### Type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) - - -### Example: - -```php -$messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_affectedHistory={_='messages.affectedHistory', pts=int, pts_count=int, offset=int} - -``` - - diff --git a/old_docs/API_docs_v95/constructors/messages_affectedMessages.md b/old_docs/API_docs_v95/constructors/messages_affectedMessages.md deleted file mode 100644 index 86760581..00000000 --- a/old_docs/API_docs_v95/constructors/messages_affectedMessages.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.affectedMessages -description: Events affected by operation -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.affectedMessages -[Back to constructors index](index.md) - - - -Events affected by operation - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|[Event count after generation](https://core.telegram.org/api/updates)| -|pts\_count|[int](../types/int.md) | Yes|[Number of events that were generated](https://core.telegram.org/api/updates)| - - - -### Type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) - - -### Example: - -```php -$messages_affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_affectedMessages={_='messages.affectedMessages', pts=int, pts_count=int} - -``` - - diff --git a/old_docs/API_docs_v95/constructors/messages_allStickers.md b/old_docs/API_docs_v95/constructors/messages_allStickers.md deleted file mode 100644 index 2e64f46e..00000000 --- a/old_docs/API_docs_v95/constructors/messages_allStickers.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.allStickers -description: Info about all installed stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.allStickers -[Back to constructors index](index.md) - - - -Info about all installed stickers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|sets|Array of [StickerSet](../types/StickerSet.md) | Yes|Sets| - - - -### Type: [messages\_AllStickers](../types/messages_AllStickers.md) - - -### Example: - -```php -$messages_allStickers = ['_' => 'messages.allStickers', 'hash' => int, 'sets' => [StickerSet, StickerSet]]; -``` - - -Or, if you're into Lua: - -```lua -messages_allStickers={_='messages.allStickers', hash=int, sets={StickerSet}} - -``` - - diff --git a/old_docs/API_docs_v95/constructors/messages_allStickersNotModified.md b/old_docs/API_docs_v95/constructors/messages_allStickersNotModified.md deleted file mode 100644 index c4da85ab..00000000 --- a/old_docs/API_docs_v95/constructors/messages_allStickersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.allStickersNotModified -description: Info about all installed stickers hasn't changed -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.allStickersNotModified -[Back to constructors index](index.md) - - - -Info about all installed stickers hasn't changed - - - - -### Type: [messages\_AllStickers](../types/messages_AllStickers.md) - - -### Example: - -```php -$messages_allStickersNotModified = ['_' => 'messages.allStickersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_allStickersNotModified={_='messages.allStickersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v95/constructors/messages_archivedStickers.md b/old_docs/API_docs_v95/constructors/messages_archivedStickers.md deleted file mode 100644 index 6b28c885..00000000 --- a/old_docs/API_docs_v95/constructors/messages_archivedStickers.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.archivedStickers -description: Archived stickersets -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.archivedStickers -[Back to constructors index](index.md) - - - -Archived stickersets - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Number of archived stickers| -|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| - - - -### Type: [messages\_ArchivedStickers](../types/messages_ArchivedStickers.md) - - -### Example: - -```php -$messages_archivedStickers = ['_' => 'messages.archivedStickers', 'count' => int, 'sets' => [StickerSetCovered, StickerSetCovered]]; -``` - - -Or, if you're into Lua: - -```lua -messages_archivedStickers={_='messages.archivedStickers', count=int, sets={StickerSetCovered}} - -``` - - diff --git a/old_docs/API_docs_v95/constructors/messages_botCallbackAnswer.md b/old_docs/API_docs_v95/constructors/messages_botCallbackAnswer.md deleted file mode 100644 index e56f4b56..00000000 --- a/old_docs/API_docs_v95/constructors/messages_botCallbackAnswer.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: messages.botCallbackAnswer -description: Callback answer sent by the bot in response to a button press -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.botCallbackAnswer -[Back to constructors index](index.md) - - - -Callback answer sent by the bot in response to a button press - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|alert|[Bool](../types/Bool.md) | Optional|Whether an alert should be shown to the user instead of a toast notification| -|has\_url|[Bool](../types/Bool.md) | Optional|Whether an URL is present| -|native\_ui|[Bool](../types/Bool.md) | Optional|Whether to show games in WebView or in native UI.| -|message|[string](../types/string.md) | Optional|Alert to show| -|url|[string](../types/string.md) | Optional|URL to open| -|cache\_time|[int](../types/int.md) | Yes|For how long should this answer be cached| - - - -### Type: [messages\_BotCallbackAnswer](../types/messages_BotCallbackAnswer.md) - - -### Example: - -```php -$messages_botCallbackAnswer = ['_' => 'messages.botCallbackAnswer', 'alert' => Bool, 'has_url' => Bool, 'native_ui' => Bool, 'message' => 'string', 'url' => 'string', 'cache_time' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_botCallbackAnswer={_='messages.botCallbackAnswer', alert=Bool, has_url=Bool, native_ui=Bool, message='string', url='string', cache_time=int} - -``` - - diff --git a/old_docs/API_docs_v95/constructors/messages_botResults.md b/old_docs/API_docs_v95/constructors/messages_botResults.md deleted file mode 100644 index 19b9edf6..00000000 --- a/old_docs/API_docs_v95/constructors/messages_botResults.md +++ /dev/null @@ -1,44 +0,0 @@ ---- -title: messages.botResults -description: Result of a query to an inline bot -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.botResults -[Back to constructors index](index.md) - - - -Result of a query to an inline bot - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|gallery|[Bool](../types/Bool.md) | Optional|Whether the result is a picture gallery| -|query\_id|[long](../types/long.md) | Yes|Query ID| -|next\_offset|[string](../types/string.md) | Optional|The next offset to use when navigating through results| -|switch\_pm|[InlineBotSwitchPM](../types/InlineBotSwitchPM.md) | Optional|Whether the bot requested the user to message him in private| -|results|Array of [BotInlineResult](../types/BotInlineResult.md) | Yes|Results| -|cache\_time|[int](../types/int.md) | Yes|Caching validity of the results| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_BotResults](../types/messages_BotResults.md) - - -### Example: - -```php -$messages_botResults = ['_' => 'messages.botResults', 'gallery' => Bool, 'query_id' => long, 'next_offset' => 'string', 'switch_pm' => InlineBotSwitchPM, 'results' => [BotInlineResult, BotInlineResult], 'cache_time' => int, 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_botResults={_='messages.botResults', gallery=Bool, query_id=long, next_offset='string', switch_pm=InlineBotSwitchPM, results={BotInlineResult}, cache_time=int, users={User}} - -``` - - diff --git a/old_docs/API_docs_v95/constructors/messages_channelMessages.md b/old_docs/API_docs_v95/constructors/messages_channelMessages.md deleted file mode 100644 index 4cf24743..00000000 --- a/old_docs/API_docs_v95/constructors/messages_channelMessages.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: messages.channelMessages -description: Channel messages -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.channelMessages -[Back to constructors index](index.md) - - - -Channel messages - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|inexact|[Bool](../types/Bool.md) | Optional|If set, returned results may be inexact| -|pts|[int](../types/int.md) | Yes|[Event count after generation](https://core.telegram.org/api/updates)| -|count|[int](../types/int.md) | Yes|Total number of results were found server-side (may not be all included here)| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Messages](../types/messages_Messages.md) - - -### Example: - -```php -$messages_channelMessages = ['_' => 'messages.channelMessages', 'inexact' => Bool, 'pts' => int, 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_channelMessages={_='messages.channelMessages', inexact=Bool, pts=int, count=int, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v95/constructors/messages_chatFull.md b/old_docs/API_docs_v95/constructors/messages_chatFull.md deleted file mode 100644 index 02f1acdf..00000000 --- a/old_docs/API_docs_v95/constructors/messages_chatFull.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.chatFull -description: Extended info on chat and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.chatFull -[Back to constructors index](index.md) - - - -Extended info on chat and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|full\_chat|[ChatFull](../types/ChatFull.md) | Yes|Extended info on a chat| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_ChatFull](../types/messages_ChatFull.md) - - -### Example: - -```php -$messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_chatFull={_='messages.chatFull', full_chat=ChatFull, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v95/constructors/messages_chats.md b/old_docs/API_docs_v95/constructors/messages_chats.md deleted file mode 100644 index ef3690a9..00000000 --- a/old_docs/API_docs_v95/constructors/messages_chats.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.chats -description: List of chats with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.chats -[Back to constructors index](index.md) - - - -List of chats with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| - - - -### Type: [messages\_Chats](../types/messages_Chats.md) - - -### Example: - -```php -$messages_chats = ['_' => 'messages.chats', 'chats' => [Chat, Chat]]; -``` - - -Or, if you're into Lua: - -```lua -messages_chats={_='messages.chats', chats={Chat}} - -``` - - diff --git a/old_docs/API_docs_v95/constructors/messages_chatsSlice.md b/old_docs/API_docs_v95/constructors/messages_chatsSlice.md deleted file mode 100644 index f19c4357..00000000 --- a/old_docs/API_docs_v95/constructors/messages_chatsSlice.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.chatsSlice -description: Partial list of chats, more would have to be fetched with [pagination](https://core.telegram.org/api/offsets) -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.chatsSlice -[Back to constructors index](index.md) - - - -Partial list of chats, more would have to be fetched with [pagination](https://core.telegram.org/api/offsets) - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of results that were found server-side (not all are included in `chats`)| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| - - - -### Type: [messages\_Chats](../types/messages_Chats.md) - - -### Example: - -```php -$messages_chatsSlice = ['_' => 'messages.chatsSlice', 'count' => int, 'chats' => [Chat, Chat]]; -``` - - -Or, if you're into Lua: - -```lua -messages_chatsSlice={_='messages.chatsSlice', count=int, chats={Chat}} - -``` - - diff --git a/old_docs/API_docs_v95/constructors/messages_dhConfig.md b/old_docs/API_docs_v95/constructors/messages_dhConfig.md deleted file mode 100644 index 42c2feb1..00000000 --- a/old_docs/API_docs_v95/constructors/messages_dhConfig.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: messages.dhConfig -description: New set of configuring parameters. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dhConfig -[Back to constructors index](index.md) - - - -New set of configuring parameters. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|g|[int](../types/int.md) | Yes|New value **prime**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| -|p|[bytes](../types/bytes.md) | Yes|New value **primitive root**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| -|version|[int](../types/int.md) | Yes|Vestion of set of parameters| -|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| - - - -### Type: [messages\_DhConfig](../types/messages_DhConfig.md) - - -### Example: - -```php -$messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'version' => int, 'random' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -messages_dhConfig={_='messages.dhConfig', g=int, p='bytes', version=int, random='bytes'} - -``` - - diff --git a/old_docs/API_docs_v95/constructors/messages_dhConfigNotModified.md b/old_docs/API_docs_v95/constructors/messages_dhConfigNotModified.md deleted file mode 100644 index 5bf64230..00000000 --- a/old_docs/API_docs_v95/constructors/messages_dhConfigNotModified.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.dhConfigNotModified -description: Configuring parameters did not change. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dhConfigNotModified -[Back to constructors index](index.md) - - - -Configuring parameters did not change. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| - - - -### Type: [messages\_DhConfig](../types/messages_DhConfig.md) - - -### Example: - -```php -$messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -messages_dhConfigNotModified={_='messages.dhConfigNotModified', random='bytes'} - -``` - - diff --git a/old_docs/API_docs_v95/constructors/messages_dialogs.md b/old_docs/API_docs_v95/constructors/messages_dialogs.md deleted file mode 100644 index e6a431b4..00000000 --- a/old_docs/API_docs_v95/constructors/messages_dialogs.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: messages.dialogs -description: Full list of chats with messages and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dialogs -[Back to constructors index](index.md) - - - -Full list of chats with messages and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Dialogs](../types/messages_Dialogs.md) - - -### Example: - -```php -$messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_dialogs={_='messages.dialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v95/constructors/messages_dialogsNotModified.md b/old_docs/API_docs_v95/constructors/messages_dialogsNotModified.md deleted file mode 100644 index 16a32b2e..00000000 --- a/old_docs/API_docs_v95/constructors/messages_dialogsNotModified.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.dialogsNotModified -description: Dialogs haven't changed -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dialogsNotModified -[Back to constructors index](index.md) - - - -Dialogs haven't changed - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Number of dialogs found server-side by the query| - - - -### Type: [messages\_Dialogs](../types/messages_Dialogs.md) - - -### Example: - -```php -$messages_dialogsNotModified = ['_' => 'messages.dialogsNotModified', 'count' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_dialogsNotModified={_='messages.dialogsNotModified', count=int} - -``` - - diff --git a/old_docs/API_docs_v95/constructors/messages_dialogsSlice.md b/old_docs/API_docs_v95/constructors/messages_dialogsSlice.md deleted file mode 100644 index f183b9a8..00000000 --- a/old_docs/API_docs_v95/constructors/messages_dialogsSlice.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: messages.dialogsSlice -description: Incomplete list of dialogs with messages and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dialogsSlice -[Back to constructors index](index.md) - - - -Incomplete list of dialogs with messages and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of dialogs| -|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Dialogs](../types/messages_Dialogs.md) - - -### Example: - -```php -$messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_dialogsSlice={_='messages.dialogsSlice', count=int, dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v95/constructors/messages_favedStickers.md b/old_docs/API_docs_v95/constructors/messages_favedStickers.md deleted file mode 100644 index 72d79df2..00000000 --- a/old_docs/API_docs_v95/constructors/messages_favedStickers.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.favedStickers -description: Favorited stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.favedStickers -[Back to constructors index](index.md) - - - -Favorited stickers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|packs|Array of [StickerPack](../types/StickerPack.md) | Yes|Packs| -|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| - - - -### Type: [messages\_FavedStickers](../types/messages_FavedStickers.md) - - -### Example: - -```php -$messages_favedStickers = ['_' => 'messages.favedStickers', 'hash' => int, 'packs' => [StickerPack, StickerPack], 'stickers' => [Document, Document]]; -``` - - -Or, if you're into Lua: - -```lua -messages_favedStickers={_='messages.favedStickers', hash=int, packs={StickerPack}, stickers={Document}} - -``` - - diff --git a/old_docs/API_docs_v95/constructors/messages_favedStickersNotModified.md b/old_docs/API_docs_v95/constructors/messages_favedStickersNotModified.md deleted file mode 100644 index a47c08e8..00000000 --- a/old_docs/API_docs_v95/constructors/messages_favedStickersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.favedStickersNotModified -description: No new favorited stickers were found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.favedStickersNotModified -[Back to constructors index](index.md) - - - -No new favorited stickers were found - - - - -### Type: [messages\_FavedStickers](../types/messages_FavedStickers.md) - - -### Example: - -```php -$messages_favedStickersNotModified = ['_' => 'messages.favedStickersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_favedStickersNotModified={_='messages.favedStickersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v95/constructors/messages_featuredStickers.md b/old_docs/API_docs_v95/constructors/messages_featuredStickers.md deleted file mode 100644 index 8ef1046e..00000000 --- a/old_docs/API_docs_v95/constructors/messages_featuredStickers.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.featuredStickers -description: Featured stickersets -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.featuredStickers -[Back to constructors index](index.md) - - - -Featured stickersets - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| -|unread|Array of [long](../types/long.md) | Yes|Unread| - - - -### Type: [messages\_FeaturedStickers](../types/messages_FeaturedStickers.md) - - -### Example: - -```php -$messages_featuredStickers = ['_' => 'messages.featuredStickers', 'hash' => int, 'sets' => [StickerSetCovered, StickerSetCovered], 'unread' => [long, long]]; -``` - - -Or, if you're into Lua: - -```lua -messages_featuredStickers={_='messages.featuredStickers', hash=int, sets={StickerSetCovered}, unread={long}} - -``` - - diff --git a/old_docs/API_docs_v95/constructors/messages_featuredStickersNotModified.md b/old_docs/API_docs_v95/constructors/messages_featuredStickersNotModified.md deleted file mode 100644 index de01131b..00000000 --- a/old_docs/API_docs_v95/constructors/messages_featuredStickersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.featuredStickersNotModified -description: Featured stickers haven't changed -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.featuredStickersNotModified -[Back to constructors index](index.md) - - - -Featured stickers haven't changed - - - - -### Type: [messages\_FeaturedStickers](../types/messages_FeaturedStickers.md) - - -### Example: - -```php -$messages_featuredStickersNotModified = ['_' => 'messages.featuredStickersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_featuredStickersNotModified={_='messages.featuredStickersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v95/constructors/messages_foundGifs.md b/old_docs/API_docs_v95/constructors/messages_foundGifs.md deleted file mode 100644 index eb3603ca..00000000 --- a/old_docs/API_docs_v95/constructors/messages_foundGifs.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.foundGifs -description: Found GIFs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.foundGifs -[Back to constructors index](index.md) - - - -Found GIFs - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|next\_offset|[int](../types/int.md) | Yes|Next offset to use when trying to [load more results](../methods/messages.searchGifs.md)| -|results|Array of [FoundGif](../types/FoundGif.md) | Yes|Results| - - - -### Type: [messages\_FoundGifs](../types/messages_FoundGifs.md) - - -### Example: - -```php -$messages_foundGifs = ['_' => 'messages.foundGifs', 'next_offset' => int, 'results' => [FoundGif, FoundGif]]; -``` - - -Or, if you're into Lua: - -```lua -messages_foundGifs={_='messages.foundGifs', next_offset=int, results={FoundGif}} - -``` - - diff --git a/old_docs/API_docs_v95/constructors/messages_foundStickerSets.md b/old_docs/API_docs_v95/constructors/messages_foundStickerSets.md deleted file mode 100644 index 356177e1..00000000 --- a/old_docs/API_docs_v95/constructors/messages_foundStickerSets.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.foundStickerSets -description: Found stickersets -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.foundStickerSets -[Back to constructors index](index.md) - - - -Found stickersets - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| - - - -### Type: [messages\_FoundStickerSets](../types/messages_FoundStickerSets.md) - - -### Example: - -```php -$messages_foundStickerSets = ['_' => 'messages.foundStickerSets', 'hash' => int, 'sets' => [StickerSetCovered, StickerSetCovered]]; -``` - - -Or, if you're into Lua: - -```lua -messages_foundStickerSets={_='messages.foundStickerSets', hash=int, sets={StickerSetCovered}} - -``` - - diff --git a/old_docs/API_docs_v95/constructors/messages_foundStickerSetsNotModified.md b/old_docs/API_docs_v95/constructors/messages_foundStickerSetsNotModified.md deleted file mode 100644 index c1f39490..00000000 --- a/old_docs/API_docs_v95/constructors/messages_foundStickerSetsNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.foundStickerSetsNotModified -description: No further results were found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.foundStickerSetsNotModified -[Back to constructors index](index.md) - - - -No further results were found - - - - -### Type: [messages\_FoundStickerSets](../types/messages_FoundStickerSets.md) - - -### Example: - -```php -$messages_foundStickerSetsNotModified = ['_' => 'messages.foundStickerSetsNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_foundStickerSetsNotModified={_='messages.foundStickerSetsNotModified'} - -``` - - diff --git a/old_docs/API_docs_v95/constructors/messages_highScores.md b/old_docs/API_docs_v95/constructors/messages_highScores.md deleted file mode 100644 index d6fc5210..00000000 --- a/old_docs/API_docs_v95/constructors/messages_highScores.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.highScores -description: Highscores in a game -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.highScores -[Back to constructors index](index.md) - - - -Highscores in a game - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|scores|Array of [HighScore](../types/HighScore.md) | Yes|Scores| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_HighScores](../types/messages_HighScores.md) - - -### Example: - -```php -$messages_highScores = ['_' => 'messages.highScores', 'scores' => [HighScore, HighScore], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_highScores={_='messages.highScores', scores={HighScore}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v95/constructors/messages_messageEditData.md b/old_docs/API_docs_v95/constructors/messages_messageEditData.md deleted file mode 100644 index 76aefca5..00000000 --- a/old_docs/API_docs_v95/constructors/messages_messageEditData.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.messageEditData -description: Message edit data for media -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.messageEditData -[Back to constructors index](index.md) - - - -Message edit data for media - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|caption|[Bool](../types/Bool.md) | Optional|Media caption, if the specified media's caption can be edited| - - - -### Type: [messages\_MessageEditData](../types/messages_MessageEditData.md) - - -### Example: - -```php -$messages_messageEditData = ['_' => 'messages.messageEditData', 'caption' => Bool]; -``` - - -Or, if you're into Lua: - -```lua -messages_messageEditData={_='messages.messageEditData', caption=Bool} - -``` - - diff --git a/old_docs/API_docs_v95/constructors/messages_messages.md b/old_docs/API_docs_v95/constructors/messages_messages.md deleted file mode 100644 index 3e369e1a..00000000 --- a/old_docs/API_docs_v95/constructors/messages_messages.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.messages -description: Full list of messages with auxilary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.messages -[Back to constructors index](index.md) - - - -Full list of messages with auxilary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Messages](../types/messages_Messages.md) - - -### Example: - -```php -$messages_messages = ['_' => 'messages.messages', 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_messages={_='messages.messages', messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v95/constructors/messages_messagesNotModified.md b/old_docs/API_docs_v95/constructors/messages_messagesNotModified.md deleted file mode 100644 index 2e9c4ad9..00000000 --- a/old_docs/API_docs_v95/constructors/messages_messagesNotModified.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.messagesNotModified -description: No new messages matching the query were found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.messagesNotModified -[Back to constructors index](index.md) - - - -No new messages matching the query were found - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Number of results found server-side by the given query| - - - -### Type: [messages\_Messages](../types/messages_Messages.md) - - -### Example: - -```php -$messages_messagesNotModified = ['_' => 'messages.messagesNotModified', 'count' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_messagesNotModified={_='messages.messagesNotModified', count=int} - -``` - - diff --git a/old_docs/API_docs_v95/constructors/messages_messagesSlice.md b/old_docs/API_docs_v95/constructors/messages_messagesSlice.md deleted file mode 100644 index 863d44fb..00000000 --- a/old_docs/API_docs_v95/constructors/messages_messagesSlice.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: messages.messagesSlice -description: Incomplete list of messages and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.messagesSlice -[Back to constructors index](index.md) - - - -Incomplete list of messages and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|inexact|[Bool](../types/Bool.md) | Optional|If set, indicates that the results may be inexact| -|count|[int](../types/int.md) | Yes|Total number of messages in the list| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Messages](../types/messages_Messages.md) - - -### Example: - -```php -$messages_messagesSlice = ['_' => 'messages.messagesSlice', 'inexact' => Bool, 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_messagesSlice={_='messages.messagesSlice', inexact=Bool, count=int, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v95/constructors/messages_peerDialogs.md b/old_docs/API_docs_v95/constructors/messages_peerDialogs.md deleted file mode 100644 index 29b4b842..00000000 --- a/old_docs/API_docs_v95/constructors/messages_peerDialogs.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: messages.peerDialogs -description: Dialog info of multiple peers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.peerDialogs -[Back to constructors index](index.md) - - - -Dialog info of multiple peers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| -|state|[updates\_State](../types/updates_State.md) | Yes|Current [update state of dialog](https://core.telegram.org/api/updates)| - - - -### Type: [messages\_PeerDialogs](../types/messages_PeerDialogs.md) - - -### Example: - -```php -$messages_peerDialogs = ['_' => 'messages.peerDialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates_State]; -``` - - -Or, if you're into Lua: - -```lua -messages_peerDialogs={_='messages.peerDialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}, state=updates_State} - -``` - - diff --git a/old_docs/API_docs_v95/constructors/messages_recentStickers.md b/old_docs/API_docs_v95/constructors/messages_recentStickers.md deleted file mode 100644 index 47d5cffd..00000000 --- a/old_docs/API_docs_v95/constructors/messages_recentStickers.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: messages.recentStickers -description: Recently used stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.recentStickers -[Back to constructors index](index.md) - - - -Recently used stickers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|packs|Array of [StickerPack](../types/StickerPack.md) | Yes|Packs| -|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| -|dates|Array of [int](../types/int.md) | Yes|Dates| - - - -### Type: [messages\_RecentStickers](../types/messages_RecentStickers.md) - - -### Example: - -```php -$messages_recentStickers = ['_' => 'messages.recentStickers', 'hash' => int, 'packs' => [StickerPack, StickerPack], 'stickers' => [Document, Document], 'dates' => [int, int]]; -``` - - -Or, if you're into Lua: - -```lua -messages_recentStickers={_='messages.recentStickers', hash=int, packs={StickerPack}, stickers={Document}, dates={int}} - -``` - - diff --git a/old_docs/API_docs_v95/constructors/messages_recentStickersNotModified.md b/old_docs/API_docs_v95/constructors/messages_recentStickersNotModified.md deleted file mode 100644 index 3e81dceb..00000000 --- a/old_docs/API_docs_v95/constructors/messages_recentStickersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.recentStickersNotModified -description: No new recent sticker was found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.recentStickersNotModified -[Back to constructors index](index.md) - - - -No new recent sticker was found - - - - -### Type: [messages\_RecentStickers](../types/messages_RecentStickers.md) - - -### Example: - -```php -$messages_recentStickersNotModified = ['_' => 'messages.recentStickersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_recentStickersNotModified={_='messages.recentStickersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v95/constructors/messages_savedGifs.md b/old_docs/API_docs_v95/constructors/messages_savedGifs.md deleted file mode 100644 index ed3e8ea3..00000000 --- a/old_docs/API_docs_v95/constructors/messages_savedGifs.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.savedGifs -description: Saved gifs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.savedGifs -[Back to constructors index](index.md) - - - -Saved gifs - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|gifs|Array of [Document](../types/Document.md) | Yes|Gifs| - - - -### Type: [messages\_SavedGifs](../types/messages_SavedGifs.md) - - -### Example: - -```php -$messages_savedGifs = ['_' => 'messages.savedGifs', 'hash' => int, 'gifs' => [Document, Document]]; -``` - - -Or, if you're into Lua: - -```lua -messages_savedGifs={_='messages.savedGifs', hash=int, gifs={Document}} - -``` - - diff --git a/old_docs/API_docs_v95/constructors/messages_savedGifsNotModified.md b/old_docs/API_docs_v95/constructors/messages_savedGifsNotModified.md deleted file mode 100644 index 0f843a0c..00000000 --- a/old_docs/API_docs_v95/constructors/messages_savedGifsNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.savedGifsNotModified -description: No new saved gifs were found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.savedGifsNotModified -[Back to constructors index](index.md) - - - -No new saved gifs were found - - - - -### Type: [messages\_SavedGifs](../types/messages_SavedGifs.md) - - -### Example: - -```php -$messages_savedGifsNotModified = ['_' => 'messages.savedGifsNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_savedGifsNotModified={_='messages.savedGifsNotModified'} - -``` - - diff --git a/old_docs/API_docs_v95/constructors/messages_sentEncryptedFile.md b/old_docs/API_docs_v95/constructors/messages_sentEncryptedFile.md deleted file mode 100644 index fdc2a11e..00000000 --- a/old_docs/API_docs_v95/constructors/messages_sentEncryptedFile.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.sentEncryptedFile -description: Message with a file enclosure sent to a protected chat -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.sentEncryptedFile -[Back to constructors index](index.md) - - - -Message with a file enclosure sent to a protected chat - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Sending date| -|file|[EncryptedFile](../types/EncryptedFile.md) | Optional|Attached file| - - - -### Type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) - - -### Example: - -```php -$messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile]; -``` - - -Or, if you're into Lua: - -```lua -messages_sentEncryptedFile={_='messages.sentEncryptedFile', date=int, file=EncryptedFile} - -``` - - diff --git a/old_docs/API_docs_v95/constructors/messages_sentEncryptedMessage.md b/old_docs/API_docs_v95/constructors/messages_sentEncryptedMessage.md deleted file mode 100644 index 36b2bbff..00000000 --- a/old_docs/API_docs_v95/constructors/messages_sentEncryptedMessage.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.sentEncryptedMessage -description: Message without file attachemts sent to an encrypted file. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.sentEncryptedMessage -[Back to constructors index](index.md) - - - -Message without file attachemts sent to an encrypted file. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Date of sending| - - - -### Type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) - - -### Example: - -```php -$messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_sentEncryptedMessage={_='messages.sentEncryptedMessage', date=int} - -``` - - diff --git a/old_docs/API_docs_v95/constructors/messages_stickerSet.md b/old_docs/API_docs_v95/constructors/messages_stickerSet.md deleted file mode 100644 index 127191de..00000000 --- a/old_docs/API_docs_v95/constructors/messages_stickerSet.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.stickerSet -description: Stickerset and stickers inside it -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickerSet -[Back to constructors index](index.md) - - - -Stickerset and stickers inside it - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|set|[StickerSet](../types/StickerSet.md) | Yes|The stickerset| -|packs|Array of [StickerPack](../types/StickerPack.md) | Yes|Packs| -|documents|Array of [Document](../types/Document.md) | Yes|Documents| - - - -### Type: [messages\_StickerSet](../types/messages_StickerSet.md) - - -### Example: - -```php -$messages_stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'packs' => [StickerPack, StickerPack], 'documents' => [Document, Document]]; -``` - - -Or, if you're into Lua: - -```lua -messages_stickerSet={_='messages.stickerSet', set=StickerSet, packs={StickerPack}, documents={Document}} - -``` - - diff --git a/old_docs/API_docs_v95/constructors/messages_stickerSetInstallResultArchive.md b/old_docs/API_docs_v95/constructors/messages_stickerSetInstallResultArchive.md deleted file mode 100644 index 8a5f4d5d..00000000 --- a/old_docs/API_docs_v95/constructors/messages_stickerSetInstallResultArchive.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.stickerSetInstallResultArchive -description: The stickerset was installed, but since there are too many stickersets some were archived -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickerSetInstallResultArchive -[Back to constructors index](index.md) - - - -The stickerset was installed, but since there are too many stickersets some were archived - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| - - - -### Type: [messages\_StickerSetInstallResult](../types/messages_StickerSetInstallResult.md) - - -### Example: - -```php -$messages_stickerSetInstallResultArchive = ['_' => 'messages.stickerSetInstallResultArchive', 'sets' => [StickerSetCovered, StickerSetCovered]]; -``` - - -Or, if you're into Lua: - -```lua -messages_stickerSetInstallResultArchive={_='messages.stickerSetInstallResultArchive', sets={StickerSetCovered}} - -``` - - diff --git a/old_docs/API_docs_v95/constructors/messages_stickerSetInstallResultSuccess.md b/old_docs/API_docs_v95/constructors/messages_stickerSetInstallResultSuccess.md deleted file mode 100644 index 1d33b89f..00000000 --- a/old_docs/API_docs_v95/constructors/messages_stickerSetInstallResultSuccess.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.stickerSetInstallResultSuccess -description: The stickerset was installed successfully -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickerSetInstallResultSuccess -[Back to constructors index](index.md) - - - -The stickerset was installed successfully - - - - -### Type: [messages\_StickerSetInstallResult](../types/messages_StickerSetInstallResult.md) - - -### Example: - -```php -$messages_stickerSetInstallResultSuccess = ['_' => 'messages.stickerSetInstallResultSuccess']; -``` - - -Or, if you're into Lua: - -```lua -messages_stickerSetInstallResultSuccess={_='messages.stickerSetInstallResultSuccess'} - -``` - - diff --git a/old_docs/API_docs_v95/constructors/messages_stickers.md b/old_docs/API_docs_v95/constructors/messages_stickers.md deleted file mode 100644 index c321996b..00000000 --- a/old_docs/API_docs_v95/constructors/messages_stickers.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.stickers -description: Found stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickers -[Back to constructors index](index.md) - - - -Found stickers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| - - - -### Type: [messages\_Stickers](../types/messages_Stickers.md) - - -### Example: - -```php -$messages_stickers = ['_' => 'messages.stickers', 'hash' => int, 'stickers' => [Document, Document]]; -``` - - -Or, if you're into Lua: - -```lua -messages_stickers={_='messages.stickers', hash=int, stickers={Document}} - -``` - - diff --git a/old_docs/API_docs_v95/constructors/messages_stickersNotModified.md b/old_docs/API_docs_v95/constructors/messages_stickersNotModified.md deleted file mode 100644 index 3d434a79..00000000 --- a/old_docs/API_docs_v95/constructors/messages_stickersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.stickersNotModified -description: No new stickers were found for the given query -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickersNotModified -[Back to constructors index](index.md) - - - -No new stickers were found for the given query - - - - -### Type: [messages\_Stickers](../types/messages_Stickers.md) - - -### Example: - -```php -$messages_stickersNotModified = ['_' => 'messages.stickersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_stickersNotModified={_='messages.stickersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v95/constructors/payments.paymentForm.md b/old_docs/API_docs_v95/constructors/payments.paymentForm.md new file mode 100644 index 00000000..90e0f39d --- /dev/null +++ b/old_docs/API_docs_v95/constructors/payments.paymentForm.md @@ -0,0 +1,48 @@ +--- +title: payments.paymentForm +description: Payment form +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: payments.paymentForm +[Back to constructors index](index.md) + + + +Payment form + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|can\_save\_credentials|[Bool](../types/Bool.md) | Optional|Whether the user can choose to save credentials.| +|password\_missing|[Bool](../types/Bool.md) | Optional|Indicates that the user can save payment credentials, but only after setting up a [2FA password](https://core.telegram.org/api/srp) (currently the account doesn't have a [2FA password](https://core.telegram.org/api/srp))| +|bot\_id|[int](../types/int.md) | Yes|Bot ID| +|invoice|[Invoice](../types/Invoice.md) | Yes|Invoice| +|provider\_id|[int](../types/int.md) | Yes|Payment provider ID.| +|url|[string](../types/string.md) | Yes|Payment form URL| +|native\_provider|[string](../types/string.md) | Optional|Payment provider name.
One of the following:
\- `stripe`| +|native\_params|[DataJSON](../types/DataJSON.md) | Optional|Contains information about the payment provider, if available, to support it natively without the need for opening the URL.
A JSON object that can contain the following fields:

\- `publishable_key`: Stripe API publishable key
\- `apple_pay_merchant_id`: Apple Pay merchant ID
\- `android_pay_public_key`: Android Pay public key
\- `android_pay_bgcolor`: Android Pay form background color
\- `android_pay_inverse`: Whether to use the dark theme in the Android Pay form
\- `need_country`: True, if the user country must be provided,
\- `need_zip`: True, if the user ZIP/postal code must be provided,
\- `need_cardholder_name`: True, if the cardholder name must be provided
| +|saved\_info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Optional|Saved server-side order information| +|saved\_credentials|[PaymentSavedCredentials](../types/PaymentSavedCredentials.md) | Optional|Contains information about saved card credentials| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [payments.PaymentForm](../types/payments.PaymentForm.md) + + +### Example: + +```php +$payments.paymentForm = ['_' => 'payments.paymentForm', 'can_save_credentials' => Bool, 'password_missing' => Bool, 'bot_id' => int, 'invoice' => Invoice, 'provider_id' => int, 'url' => 'string', 'native_provider' => 'string', 'native_params' => DataJSON, 'saved_info' => PaymentRequestedInfo, 'saved_credentials' => PaymentSavedCredentials, 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +payments.paymentForm={_='payments.paymentForm', can_save_credentials=Bool, password_missing=Bool, bot_id=int, invoice=Invoice, provider_id=int, url='string', native_provider='string', native_params=DataJSON, saved_info=PaymentRequestedInfo, saved_credentials=PaymentSavedCredentials, users={User}} + +``` + + diff --git a/old_docs/API_docs_v95/constructors/payments.paymentReceipt.md b/old_docs/API_docs_v95/constructors/payments.paymentReceipt.md new file mode 100644 index 00000000..5a0cc190 --- /dev/null +++ b/old_docs/API_docs_v95/constructors/payments.paymentReceipt.md @@ -0,0 +1,47 @@ +--- +title: payments.paymentReceipt +description: Receipt +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: payments.paymentReceipt +[Back to constructors index](index.md) + + + +Receipt + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Date of generation| +|bot\_id|[int](../types/int.md) | Yes|Bot ID| +|invoice|[Invoice](../types/Invoice.md) | Yes|Invoice| +|provider\_id|[int](../types/int.md) | Yes|Provider ID| +|info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Optional|Info| +|shipping|[ShippingOption](../types/ShippingOption.md) | Optional|Selected shipping option| +|currency|[string](../types/string.md) | Yes|Three-letter ISO 4217 [currency](https://core.telegram.org/bots/payments#supported-currencies) code| +|total\_amount|[long](../types/long.md) | Yes|Total amount in the smallest units of the currency (integer, not float/double). For example, for a price of `US$ 1.45` pass `amount = 145`. See the exp parameter in [currencies.json](https://core.telegram.org/bots/payments/currencies.json), it shows the number of digits past the decimal point for each currency (2 for the majority of currencies).| +|credentials\_title|[string](../types/string.md) | Yes|Payment credential name| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [payments.PaymentReceipt](../types/payments.PaymentReceipt.md) + + +### Example: + +```php +$payments.paymentReceipt = ['_' => 'payments.paymentReceipt', 'date' => int, 'bot_id' => int, 'invoice' => Invoice, 'provider_id' => int, 'info' => PaymentRequestedInfo, 'shipping' => ShippingOption, 'currency' => 'string', 'total_amount' => long, 'credentials_title' => 'string', 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +payments.paymentReceipt={_='payments.paymentReceipt', date=int, bot_id=int, invoice=Invoice, provider_id=int, info=PaymentRequestedInfo, shipping=ShippingOption, currency='string', total_amount=long, credentials_title='string', users={User}} + +``` + + diff --git a/old_docs/API_docs_v95/constructors/payments.paymentResult.md b/old_docs/API_docs_v95/constructors/payments.paymentResult.md new file mode 100644 index 00000000..df32fd91 --- /dev/null +++ b/old_docs/API_docs_v95/constructors/payments.paymentResult.md @@ -0,0 +1,38 @@ +--- +title: payments.paymentResult +description: Payment result +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: payments.paymentResult +[Back to constructors index](index.md) + + + +Payment result + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|updates|[Updates](../types/Updates.md) | Yes|Info about the payment| + + + +### Type: [payments.PaymentResult](../types/payments.PaymentResult.md) + + +### Example: + +```php +$payments.paymentResult = ['_' => 'payments.paymentResult', 'updates' => Updates]; +``` + + +Or, if you're into Lua: + +```lua +payments.paymentResult={_='payments.paymentResult', updates=Updates} + +``` + + diff --git a/old_docs/API_docs_v95/constructors/payments.paymentVerficationNeeded.md b/old_docs/API_docs_v95/constructors/payments.paymentVerficationNeeded.md new file mode 100644 index 00000000..3f459215 --- /dev/null +++ b/old_docs/API_docs_v95/constructors/payments.paymentVerficationNeeded.md @@ -0,0 +1,38 @@ +--- +title: payments.paymentVerficationNeeded +description: Payment verfication needed +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: payments.paymentVerficationNeeded +[Back to constructors index](index.md) + + + +Payment verfication needed + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|url|[string](../types/string.md) | Yes|URL| + + + +### Type: [payments.PaymentResult](../types/payments.PaymentResult.md) + + +### Example: + +```php +$payments.paymentVerficationNeeded = ['_' => 'payments.paymentVerficationNeeded', 'url' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +payments.paymentVerficationNeeded={_='payments.paymentVerficationNeeded', url='string'} + +``` + + diff --git a/old_docs/API_docs_v95/constructors/payments.savedInfo.md b/old_docs/API_docs_v95/constructors/payments.savedInfo.md new file mode 100644 index 00000000..a005a842 --- /dev/null +++ b/old_docs/API_docs_v95/constructors/payments.savedInfo.md @@ -0,0 +1,39 @@ +--- +title: payments.savedInfo +description: Saved server-side order information +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: payments.savedInfo +[Back to constructors index](index.md) + + + +Saved server-side order information + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|has\_saved\_credentials|[Bool](../types/Bool.md) | Optional|Whether the user has some saved payment credentials| +|saved\_info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Optional|Saved server-side order information| + + + +### Type: [payments.SavedInfo](../types/payments.SavedInfo.md) + + +### Example: + +```php +$payments.savedInfo = ['_' => 'payments.savedInfo', 'has_saved_credentials' => Bool, 'saved_info' => PaymentRequestedInfo]; +``` + + +Or, if you're into Lua: + +```lua +payments.savedInfo={_='payments.savedInfo', has_saved_credentials=Bool, saved_info=PaymentRequestedInfo} + +``` + + diff --git a/old_docs/API_docs_v95/constructors/payments.validatedRequestedInfo.md b/old_docs/API_docs_v95/constructors/payments.validatedRequestedInfo.md new file mode 100644 index 00000000..4789b28d --- /dev/null +++ b/old_docs/API_docs_v95/constructors/payments.validatedRequestedInfo.md @@ -0,0 +1,39 @@ +--- +title: payments.validatedRequestedInfo +description: Validated user-provided info +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: payments.validatedRequestedInfo +[Back to constructors index](index.md) + + + +Validated user-provided info + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|id|[string](../types/string.md) | Optional|ID| +|shipping\_options|Array of [ShippingOption](../types/ShippingOption.md) | Optional|Shipping options| + + + +### Type: [payments.ValidatedRequestedInfo](../types/payments.ValidatedRequestedInfo.md) + + +### Example: + +```php +$payments.validatedRequestedInfo = ['_' => 'payments.validatedRequestedInfo', 'id' => 'string', 'shipping_options' => [ShippingOption, ShippingOption]]; +``` + + +Or, if you're into Lua: + +```lua +payments.validatedRequestedInfo={_='payments.validatedRequestedInfo', id='string', shipping_options={ShippingOption}} + +``` + + diff --git a/old_docs/API_docs_v95/constructors/payments_paymentForm.md b/old_docs/API_docs_v95/constructors/payments_paymentForm.md deleted file mode 100644 index 88848527..00000000 --- a/old_docs/API_docs_v95/constructors/payments_paymentForm.md +++ /dev/null @@ -1,48 +0,0 @@ ---- -title: payments.paymentForm -description: Payment form -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: payments.paymentForm -[Back to constructors index](index.md) - - - -Payment form - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|can\_save\_credentials|[Bool](../types/Bool.md) | Optional|Whether the user can choose to save credentials.| -|password\_missing|[Bool](../types/Bool.md) | Optional|Indicates that the user can save payment credentials, but only after setting up a [2FA password](https://core.telegram.org/api/srp) (currently the account doesn't have a [2FA password](https://core.telegram.org/api/srp))| -|bot\_id|[int](../types/int.md) | Yes|Bot ID| -|invoice|[Invoice](../types/Invoice.md) | Yes|Invoice| -|provider\_id|[int](../types/int.md) | Yes|Payment provider ID.| -|url|[string](../types/string.md) | Yes|Payment form URL| -|native\_provider|[string](../types/string.md) | Optional|Payment provider name.
One of the following:
\- `stripe`| -|native\_params|[DataJSON](../types/DataJSON.md) | Optional|Contains information about the payment provider, if available, to support it natively without the need for opening the URL.
A JSON object that can contain the following fields:

\- `publishable_key`: Stripe API publishable key
\- `apple_pay_merchant_id`: Apple Pay merchant ID
\- `android_pay_public_key`: Android Pay public key
\- `android_pay_bgcolor`: Android Pay form background color
\- `android_pay_inverse`: Whether to use the dark theme in the Android Pay form
\- `need_country`: True, if the user country must be provided,
\- `need_zip`: True, if the user ZIP/postal code must be provided,
\- `need_cardholder_name`: True, if the cardholder name must be provided
| -|saved\_info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Optional|Saved server-side order information| -|saved\_credentials|[PaymentSavedCredentials](../types/PaymentSavedCredentials.md) | Optional|Contains information about saved card credentials| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [payments\_PaymentForm](../types/payments_PaymentForm.md) - - -### Example: - -```php -$payments_paymentForm = ['_' => 'payments.paymentForm', 'can_save_credentials' => Bool, 'password_missing' => Bool, 'bot_id' => int, 'invoice' => Invoice, 'provider_id' => int, 'url' => 'string', 'native_provider' => 'string', 'native_params' => DataJSON, 'saved_info' => PaymentRequestedInfo, 'saved_credentials' => PaymentSavedCredentials, 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -payments_paymentForm={_='payments.paymentForm', can_save_credentials=Bool, password_missing=Bool, bot_id=int, invoice=Invoice, provider_id=int, url='string', native_provider='string', native_params=DataJSON, saved_info=PaymentRequestedInfo, saved_credentials=PaymentSavedCredentials, users={User}} - -``` - - diff --git a/old_docs/API_docs_v95/constructors/payments_paymentReceipt.md b/old_docs/API_docs_v95/constructors/payments_paymentReceipt.md deleted file mode 100644 index 411e9dee..00000000 --- a/old_docs/API_docs_v95/constructors/payments_paymentReceipt.md +++ /dev/null @@ -1,47 +0,0 @@ ---- -title: payments.paymentReceipt -description: Receipt -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: payments.paymentReceipt -[Back to constructors index](index.md) - - - -Receipt - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Date of generation| -|bot\_id|[int](../types/int.md) | Yes|Bot ID| -|invoice|[Invoice](../types/Invoice.md) | Yes|Invoice| -|provider\_id|[int](../types/int.md) | Yes|Provider ID| -|info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Optional|Info| -|shipping|[ShippingOption](../types/ShippingOption.md) | Optional|Selected shipping option| -|currency|[string](../types/string.md) | Yes|Three-letter ISO 4217 [currency](https://core.telegram.org/bots/payments#supported-currencies) code| -|total\_amount|[long](../types/long.md) | Yes|Total amount in the smallest units of the currency (integer, not float/double). For example, for a price of `US$ 1.45` pass `amount = 145`. See the exp parameter in [currencies.json](https://core.telegram.org/bots/payments/currencies.json), it shows the number of digits past the decimal point for each currency (2 for the majority of currencies).| -|credentials\_title|[string](../types/string.md) | Yes|Payment credential name| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [payments\_PaymentReceipt](../types/payments_PaymentReceipt.md) - - -### Example: - -```php -$payments_paymentReceipt = ['_' => 'payments.paymentReceipt', 'date' => int, 'bot_id' => int, 'invoice' => Invoice, 'provider_id' => int, 'info' => PaymentRequestedInfo, 'shipping' => ShippingOption, 'currency' => 'string', 'total_amount' => long, 'credentials_title' => 'string', 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -payments_paymentReceipt={_='payments.paymentReceipt', date=int, bot_id=int, invoice=Invoice, provider_id=int, info=PaymentRequestedInfo, shipping=ShippingOption, currency='string', total_amount=long, credentials_title='string', users={User}} - -``` - - diff --git a/old_docs/API_docs_v95/constructors/payments_paymentResult.md b/old_docs/API_docs_v95/constructors/payments_paymentResult.md deleted file mode 100644 index 12af1d36..00000000 --- a/old_docs/API_docs_v95/constructors/payments_paymentResult.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: payments.paymentResult -description: Payment result -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: payments.paymentResult -[Back to constructors index](index.md) - - - -Payment result - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|updates|[Updates](../types/Updates.md) | Yes|Info about the payment| - - - -### Type: [payments\_PaymentResult](../types/payments_PaymentResult.md) - - -### Example: - -```php -$payments_paymentResult = ['_' => 'payments.paymentResult', 'updates' => Updates]; -``` - - -Or, if you're into Lua: - -```lua -payments_paymentResult={_='payments.paymentResult', updates=Updates} - -``` - - diff --git a/old_docs/API_docs_v95/constructors/payments_paymentVerficationNeeded.md b/old_docs/API_docs_v95/constructors/payments_paymentVerficationNeeded.md deleted file mode 100644 index 70ca205d..00000000 --- a/old_docs/API_docs_v95/constructors/payments_paymentVerficationNeeded.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: payments.paymentVerficationNeeded -description: Payment verfication needed -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: payments.paymentVerficationNeeded -[Back to constructors index](index.md) - - - -Payment verfication needed - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|url|[string](../types/string.md) | Yes|URL| - - - -### Type: [payments\_PaymentResult](../types/payments_PaymentResult.md) - - -### Example: - -```php -$payments_paymentVerficationNeeded = ['_' => 'payments.paymentVerficationNeeded', 'url' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -payments_paymentVerficationNeeded={_='payments.paymentVerficationNeeded', url='string'} - -``` - - diff --git a/old_docs/API_docs_v95/constructors/payments_savedInfo.md b/old_docs/API_docs_v95/constructors/payments_savedInfo.md deleted file mode 100644 index 19d3aee5..00000000 --- a/old_docs/API_docs_v95/constructors/payments_savedInfo.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: payments.savedInfo -description: Saved server-side order information -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: payments.savedInfo -[Back to constructors index](index.md) - - - -Saved server-side order information - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|has\_saved\_credentials|[Bool](../types/Bool.md) | Optional|Whether the user has some saved payment credentials| -|saved\_info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Optional|Saved server-side order information| - - - -### Type: [payments\_SavedInfo](../types/payments_SavedInfo.md) - - -### Example: - -```php -$payments_savedInfo = ['_' => 'payments.savedInfo', 'has_saved_credentials' => Bool, 'saved_info' => PaymentRequestedInfo]; -``` - - -Or, if you're into Lua: - -```lua -payments_savedInfo={_='payments.savedInfo', has_saved_credentials=Bool, saved_info=PaymentRequestedInfo} - -``` - - diff --git a/old_docs/API_docs_v95/constructors/payments_validatedRequestedInfo.md b/old_docs/API_docs_v95/constructors/payments_validatedRequestedInfo.md deleted file mode 100644 index a07c7d06..00000000 --- a/old_docs/API_docs_v95/constructors/payments_validatedRequestedInfo.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: payments.validatedRequestedInfo -description: Validated user-provided info -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: payments.validatedRequestedInfo -[Back to constructors index](index.md) - - - -Validated user-provided info - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|id|[string](../types/string.md) | Optional|ID| -|shipping\_options|Array of [ShippingOption](../types/ShippingOption.md) | Optional|Shipping options| - - - -### Type: [payments\_ValidatedRequestedInfo](../types/payments_ValidatedRequestedInfo.md) - - -### Example: - -```php -$payments_validatedRequestedInfo = ['_' => 'payments.validatedRequestedInfo', 'id' => 'string', 'shipping_options' => [ShippingOption, ShippingOption]]; -``` - - -Or, if you're into Lua: - -```lua -payments_validatedRequestedInfo={_='payments.validatedRequestedInfo', id='string', shipping_options={ShippingOption}} - -``` - - diff --git a/old_docs/API_docs_v95/constructors/phone.phoneCall.md b/old_docs/API_docs_v95/constructors/phone.phoneCall.md new file mode 100644 index 00000000..8c1d26d4 --- /dev/null +++ b/old_docs/API_docs_v95/constructors/phone.phoneCall.md @@ -0,0 +1,39 @@ +--- +title: phone.phoneCall +description: A VoIP phone call +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: phone.phoneCall +[Back to constructors index](index.md) + + + +A VoIP phone call + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_call|[PhoneCall](../types/PhoneCall.md) | Optional|The VoIP phone call| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [phone.PhoneCall](../types/phone.PhoneCall.md) + + +### Example: + +```php +$phone.phoneCall = ['_' => 'phone.phoneCall', 'phone_call' => PhoneCall, 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +phone.phoneCall={_='phone.phoneCall', phone_call=PhoneCall, users={User}} + +``` + + diff --git a/old_docs/API_docs_v95/constructors/phone_phoneCall.md b/old_docs/API_docs_v95/constructors/phone_phoneCall.md deleted file mode 100644 index 94314567..00000000 --- a/old_docs/API_docs_v95/constructors/phone_phoneCall.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: phone.phoneCall -description: A VoIP phone call -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: phone.phoneCall -[Back to constructors index](index.md) - - - -A VoIP phone call - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_call|[PhoneCall](../types/PhoneCall.md) | Optional|The VoIP phone call| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [phone\_PhoneCall](../types/phone_PhoneCall.md) - - -### Example: - -```php -$phone_phoneCall = ['_' => 'phone.phoneCall', 'phone_call' => PhoneCall, 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -phone_phoneCall={_='phone.phoneCall', phone_call=PhoneCall, users={User}} - -``` - - diff --git a/old_docs/API_docs_v95/constructors/photos.photo.md b/old_docs/API_docs_v95/constructors/photos.photo.md new file mode 100644 index 00000000..43d3efc7 --- /dev/null +++ b/old_docs/API_docs_v95/constructors/photos.photo.md @@ -0,0 +1,39 @@ +--- +title: photos.photo +description: Photo with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: photos.photo +[Back to constructors index](index.md) + + + +Photo with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|photo|[Photo](../types/Photo.md) | Optional|Photo| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [photos.Photo](../types/photos.Photo.md) + + +### Example: + +```php +$photos.photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +photos.photo={_='photos.photo', photo=Photo, users={User}} + +``` + + diff --git a/old_docs/API_docs_v95/constructors/photos.photos.md b/old_docs/API_docs_v95/constructors/photos.photos.md new file mode 100644 index 00000000..901a9693 --- /dev/null +++ b/old_docs/API_docs_v95/constructors/photos.photos.md @@ -0,0 +1,39 @@ +--- +title: photos.photos +description: Full list of photos with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: photos.photos +[Back to constructors index](index.md) + + + +Full list of photos with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [photos.Photos](../types/photos.Photos.md) + + +### Example: + +```php +$photos.photos = ['_' => 'photos.photos', 'photos' => [Photo, Photo], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +photos.photos={_='photos.photos', photos={Photo}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v95/constructors/photos.photosSlice.md b/old_docs/API_docs_v95/constructors/photos.photosSlice.md new file mode 100644 index 00000000..2cca3546 --- /dev/null +++ b/old_docs/API_docs_v95/constructors/photos.photosSlice.md @@ -0,0 +1,40 @@ +--- +title: photos.photosSlice +description: Incomplete list of photos with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: photos.photosSlice +[Back to constructors index](index.md) + + + +Incomplete list of photos with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of photos| +|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [photos.Photos](../types/photos.Photos.md) + + +### Example: + +```php +$photos.photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo, Photo], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +photos.photosSlice={_='photos.photosSlice', count=int, photos={Photo}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v95/constructors/photos_photo.md b/old_docs/API_docs_v95/constructors/photos_photo.md deleted file mode 100644 index d5ad61d9..00000000 --- a/old_docs/API_docs_v95/constructors/photos_photo.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: photos.photo -description: Photo with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: photos.photo -[Back to constructors index](index.md) - - - -Photo with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|photo|[Photo](../types/Photo.md) | Optional|Photo| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [photos\_Photo](../types/photos_Photo.md) - - -### Example: - -```php -$photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -photos_photo={_='photos.photo', photo=Photo, users={User}} - -``` - - diff --git a/old_docs/API_docs_v95/constructors/photos_photos.md b/old_docs/API_docs_v95/constructors/photos_photos.md deleted file mode 100644 index 6ae5d048..00000000 --- a/old_docs/API_docs_v95/constructors/photos_photos.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: photos.photos -description: Full list of photos with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: photos.photos -[Back to constructors index](index.md) - - - -Full list of photos with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [photos\_Photos](../types/photos_Photos.md) - - -### Example: - -```php -$photos_photos = ['_' => 'photos.photos', 'photos' => [Photo, Photo], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -photos_photos={_='photos.photos', photos={Photo}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v95/constructors/photos_photosSlice.md b/old_docs/API_docs_v95/constructors/photos_photosSlice.md deleted file mode 100644 index 5c465c21..00000000 --- a/old_docs/API_docs_v95/constructors/photos_photosSlice.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: photos.photosSlice -description: Incomplete list of photos with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: photos.photosSlice -[Back to constructors index](index.md) - - - -Incomplete list of photos with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of photos| -|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [photos\_Photos](../types/photos_Photos.md) - - -### Example: - -```php -$photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo, Photo], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -photos_photosSlice={_='photos.photosSlice', count=int, photos={Photo}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v95/constructors/storage.fileGif.md b/old_docs/API_docs_v95/constructors/storage.fileGif.md new file mode 100644 index 00000000..8193bd25 --- /dev/null +++ b/old_docs/API_docs_v95/constructors/storage.fileGif.md @@ -0,0 +1,33 @@ +--- +title: storage.fileGif +description: GIF image. MIME type: `image/gif`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileGif +[Back to constructors index](index.md) + + + +GIF image. MIME type: `image/gif`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileGif = ['_' => 'storage.fileGif']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileGif={_='storage.fileGif'} + +``` + + diff --git a/old_docs/API_docs_v95/constructors/storage.fileJpeg.md b/old_docs/API_docs_v95/constructors/storage.fileJpeg.md new file mode 100644 index 00000000..7f125963 --- /dev/null +++ b/old_docs/API_docs_v95/constructors/storage.fileJpeg.md @@ -0,0 +1,33 @@ +--- +title: storage.fileJpeg +description: JPEG image. MIME type: `image/jpeg`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileJpeg +[Back to constructors index](index.md) + + + +JPEG image. MIME type: `image/jpeg`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileJpeg = ['_' => 'storage.fileJpeg']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileJpeg={_='storage.fileJpeg'} + +``` + + diff --git a/old_docs/API_docs_v95/constructors/storage.fileMov.md b/old_docs/API_docs_v95/constructors/storage.fileMov.md new file mode 100644 index 00000000..cb3742e0 --- /dev/null +++ b/old_docs/API_docs_v95/constructors/storage.fileMov.md @@ -0,0 +1,33 @@ +--- +title: storage.fileMov +description: Quicktime video. MIME type: `video/quicktime`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileMov +[Back to constructors index](index.md) + + + +Quicktime video. MIME type: `video/quicktime`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileMov = ['_' => 'storage.fileMov']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileMov={_='storage.fileMov'} + +``` + + diff --git a/old_docs/API_docs_v95/constructors/storage.fileMp3.md b/old_docs/API_docs_v95/constructors/storage.fileMp3.md new file mode 100644 index 00000000..617f2d39 --- /dev/null +++ b/old_docs/API_docs_v95/constructors/storage.fileMp3.md @@ -0,0 +1,33 @@ +--- +title: storage.fileMp3 +description: Mp3 audio. MIME type: `audio/mpeg`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileMp3 +[Back to constructors index](index.md) + + + +Mp3 audio. MIME type: `audio/mpeg`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileMp3 = ['_' => 'storage.fileMp3']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileMp3={_='storage.fileMp3'} + +``` + + diff --git a/old_docs/API_docs_v95/constructors/storage.fileMp4.md b/old_docs/API_docs_v95/constructors/storage.fileMp4.md new file mode 100644 index 00000000..37038176 --- /dev/null +++ b/old_docs/API_docs_v95/constructors/storage.fileMp4.md @@ -0,0 +1,33 @@ +--- +title: storage.fileMp4 +description: MPEG-4 video. MIME type: `video/mp4`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileMp4 +[Back to constructors index](index.md) + + + +MPEG-4 video. MIME type: `video/mp4`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileMp4 = ['_' => 'storage.fileMp4']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileMp4={_='storage.fileMp4'} + +``` + + diff --git a/old_docs/API_docs_v95/constructors/storage.filePartial.md b/old_docs/API_docs_v95/constructors/storage.filePartial.md new file mode 100644 index 00000000..98779e71 --- /dev/null +++ b/old_docs/API_docs_v95/constructors/storage.filePartial.md @@ -0,0 +1,33 @@ +--- +title: storage.filePartial +description: Part of a bigger file. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.filePartial +[Back to constructors index](index.md) + + + +Part of a bigger file. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.filePartial = ['_' => 'storage.filePartial']; +``` + + +Or, if you're into Lua: + +```lua +storage.filePartial={_='storage.filePartial'} + +``` + + diff --git a/old_docs/API_docs_v95/constructors/storage.filePdf.md b/old_docs/API_docs_v95/constructors/storage.filePdf.md new file mode 100644 index 00000000..136c0614 --- /dev/null +++ b/old_docs/API_docs_v95/constructors/storage.filePdf.md @@ -0,0 +1,33 @@ +--- +title: storage.filePdf +description: PDF document image. MIME type: `application/pdf`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.filePdf +[Back to constructors index](index.md) + + + +PDF document image. MIME type: `application/pdf`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.filePdf = ['_' => 'storage.filePdf']; +``` + + +Or, if you're into Lua: + +```lua +storage.filePdf={_='storage.filePdf'} + +``` + + diff --git a/old_docs/API_docs_v95/constructors/storage.filePng.md b/old_docs/API_docs_v95/constructors/storage.filePng.md new file mode 100644 index 00000000..db01ce0e --- /dev/null +++ b/old_docs/API_docs_v95/constructors/storage.filePng.md @@ -0,0 +1,33 @@ +--- +title: storage.filePng +description: PNG image. MIME type: `image/png`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.filePng +[Back to constructors index](index.md) + + + +PNG image. MIME type: `image/png`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.filePng = ['_' => 'storage.filePng']; +``` + + +Or, if you're into Lua: + +```lua +storage.filePng={_='storage.filePng'} + +``` + + diff --git a/old_docs/API_docs_v95/constructors/storage.fileUnknown.md b/old_docs/API_docs_v95/constructors/storage.fileUnknown.md new file mode 100644 index 00000000..26f0a5ae --- /dev/null +++ b/old_docs/API_docs_v95/constructors/storage.fileUnknown.md @@ -0,0 +1,33 @@ +--- +title: storage.fileUnknown +description: Unknown type. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileUnknown +[Back to constructors index](index.md) + + + +Unknown type. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileUnknown = ['_' => 'storage.fileUnknown']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileUnknown={_='storage.fileUnknown'} + +``` + + diff --git a/old_docs/API_docs_v95/constructors/storage.fileWebp.md b/old_docs/API_docs_v95/constructors/storage.fileWebp.md new file mode 100644 index 00000000..63c9ded1 --- /dev/null +++ b/old_docs/API_docs_v95/constructors/storage.fileWebp.md @@ -0,0 +1,33 @@ +--- +title: storage.fileWebp +description: WEBP image. MIME type: `image/webp`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileWebp +[Back to constructors index](index.md) + + + +WEBP image. MIME type: `image/webp`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileWebp = ['_' => 'storage.fileWebp']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileWebp={_='storage.fileWebp'} + +``` + + diff --git a/old_docs/API_docs_v95/constructors/storage_fileGif.md b/old_docs/API_docs_v95/constructors/storage_fileGif.md deleted file mode 100644 index 218c7491..00000000 --- a/old_docs/API_docs_v95/constructors/storage_fileGif.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileGif -description: GIF image. MIME type: `image/gif`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileGif -[Back to constructors index](index.md) - - - -GIF image. MIME type: `image/gif`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileGif = ['_' => 'storage.fileGif']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileGif={_='storage.fileGif'} - -``` - - diff --git a/old_docs/API_docs_v95/constructors/storage_fileJpeg.md b/old_docs/API_docs_v95/constructors/storage_fileJpeg.md deleted file mode 100644 index 925531cd..00000000 --- a/old_docs/API_docs_v95/constructors/storage_fileJpeg.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileJpeg -description: JPEG image. MIME type: `image/jpeg`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileJpeg -[Back to constructors index](index.md) - - - -JPEG image. MIME type: `image/jpeg`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileJpeg = ['_' => 'storage.fileJpeg']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileJpeg={_='storage.fileJpeg'} - -``` - - diff --git a/old_docs/API_docs_v95/constructors/storage_fileMov.md b/old_docs/API_docs_v95/constructors/storage_fileMov.md deleted file mode 100644 index eaf2a6ff..00000000 --- a/old_docs/API_docs_v95/constructors/storage_fileMov.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileMov -description: Quicktime video. MIME type: `video/quicktime`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileMov -[Back to constructors index](index.md) - - - -Quicktime video. MIME type: `video/quicktime`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileMov = ['_' => 'storage.fileMov']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileMov={_='storage.fileMov'} - -``` - - diff --git a/old_docs/API_docs_v95/constructors/storage_fileMp3.md b/old_docs/API_docs_v95/constructors/storage_fileMp3.md deleted file mode 100644 index 9afcefbb..00000000 --- a/old_docs/API_docs_v95/constructors/storage_fileMp3.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileMp3 -description: Mp3 audio. MIME type: `audio/mpeg`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileMp3 -[Back to constructors index](index.md) - - - -Mp3 audio. MIME type: `audio/mpeg`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileMp3 = ['_' => 'storage.fileMp3']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileMp3={_='storage.fileMp3'} - -``` - - diff --git a/old_docs/API_docs_v95/constructors/storage_fileMp4.md b/old_docs/API_docs_v95/constructors/storage_fileMp4.md deleted file mode 100644 index cdc0e783..00000000 --- a/old_docs/API_docs_v95/constructors/storage_fileMp4.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileMp4 -description: MPEG-4 video. MIME type: `video/mp4`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileMp4 -[Back to constructors index](index.md) - - - -MPEG-4 video. MIME type: `video/mp4`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileMp4 = ['_' => 'storage.fileMp4']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileMp4={_='storage.fileMp4'} - -``` - - diff --git a/old_docs/API_docs_v95/constructors/storage_filePartial.md b/old_docs/API_docs_v95/constructors/storage_filePartial.md deleted file mode 100644 index 9bfadf63..00000000 --- a/old_docs/API_docs_v95/constructors/storage_filePartial.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.filePartial -description: Part of a bigger file. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.filePartial -[Back to constructors index](index.md) - - - -Part of a bigger file. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_filePartial = ['_' => 'storage.filePartial']; -``` - - -Or, if you're into Lua: - -```lua -storage_filePartial={_='storage.filePartial'} - -``` - - diff --git a/old_docs/API_docs_v95/constructors/storage_filePdf.md b/old_docs/API_docs_v95/constructors/storage_filePdf.md deleted file mode 100644 index efb022cc..00000000 --- a/old_docs/API_docs_v95/constructors/storage_filePdf.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.filePdf -description: PDF document image. MIME type: `application/pdf`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.filePdf -[Back to constructors index](index.md) - - - -PDF document image. MIME type: `application/pdf`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_filePdf = ['_' => 'storage.filePdf']; -``` - - -Or, if you're into Lua: - -```lua -storage_filePdf={_='storage.filePdf'} - -``` - - diff --git a/old_docs/API_docs_v95/constructors/storage_filePng.md b/old_docs/API_docs_v95/constructors/storage_filePng.md deleted file mode 100644 index 412759e4..00000000 --- a/old_docs/API_docs_v95/constructors/storage_filePng.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.filePng -description: PNG image. MIME type: `image/png`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.filePng -[Back to constructors index](index.md) - - - -PNG image. MIME type: `image/png`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_filePng = ['_' => 'storage.filePng']; -``` - - -Or, if you're into Lua: - -```lua -storage_filePng={_='storage.filePng'} - -``` - - diff --git a/old_docs/API_docs_v95/constructors/storage_fileUnknown.md b/old_docs/API_docs_v95/constructors/storage_fileUnknown.md deleted file mode 100644 index ed33dd5e..00000000 --- a/old_docs/API_docs_v95/constructors/storage_fileUnknown.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileUnknown -description: Unknown type. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileUnknown -[Back to constructors index](index.md) - - - -Unknown type. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileUnknown = ['_' => 'storage.fileUnknown']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileUnknown={_='storage.fileUnknown'} - -``` - - diff --git a/old_docs/API_docs_v95/constructors/storage_fileWebp.md b/old_docs/API_docs_v95/constructors/storage_fileWebp.md deleted file mode 100644 index 04dcad74..00000000 --- a/old_docs/API_docs_v95/constructors/storage_fileWebp.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileWebp -description: WEBP image. MIME type: `image/webp`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileWebp -[Back to constructors index](index.md) - - - -WEBP image. MIME type: `image/webp`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileWebp = ['_' => 'storage.fileWebp']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileWebp={_='storage.fileWebp'} - -``` - - diff --git a/old_docs/API_docs_v95/constructors/updateNewStickerSet.md b/old_docs/API_docs_v95/constructors/updateNewStickerSet.md index 8a99a363..c32c41ff 100644 --- a/old_docs/API_docs_v95/constructors/updateNewStickerSet.md +++ b/old_docs/API_docs_v95/constructors/updateNewStickerSet.md @@ -14,7 +14,7 @@ A new stickerset was installed | Name | Type | Required | Description | |----------|---------------|----------|-------------| -|stickerset|[messages\_StickerSet](../types/messages_StickerSet.md) | Yes|The installed stickerset| +|stickerset|[messages.StickerSet](../constructors/messages.StickerSet.md) | Yes|The installed stickerset| @@ -24,14 +24,14 @@ A new stickerset was installed ### Example: ```php -$updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages_StickerSet]; +$updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages.StickerSet]; ``` Or, if you're into Lua: ```lua -updateNewStickerSet={_='updateNewStickerSet', stickerset=messages_StickerSet} +updateNewStickerSet={_='updateNewStickerSet', stickerset=messages.StickerSet} ``` diff --git a/old_docs/API_docs_v95/constructors/updates.channelDifference.md b/old_docs/API_docs_v95/constructors/updates.channelDifference.md new file mode 100644 index 00000000..5a13791c --- /dev/null +++ b/old_docs/API_docs_v95/constructors/updates.channelDifference.md @@ -0,0 +1,44 @@ +--- +title: updates.channelDifference +description: The new updates +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.channelDifference +[Back to constructors index](index.md) + + + +The new updates + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates to be fetched using getDifference, starting from the provided `pts`| +|pts|[int](../types/int.md) | Yes|The [PTS](https://core.telegram.org/api/updates) from which to start getting updates the next time| +|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| +|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| +|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [updates.ChannelDifference](../types/updates.ChannelDifference.md) + + +### Example: + +```php +$updates.channelDifference = ['_' => 'updates.channelDifference', 'final' => Bool, 'pts' => int, 'timeout' => int, 'new_messages' => [Message, Message], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +updates.channelDifference={_='updates.channelDifference', final=Bool, pts=int, timeout=int, new_messages={Message}, other_updates={Update}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v95/constructors/updates.channelDifferenceEmpty.md b/old_docs/API_docs_v95/constructors/updates.channelDifferenceEmpty.md new file mode 100644 index 00000000..8ce43da4 --- /dev/null +++ b/old_docs/API_docs_v95/constructors/updates.channelDifferenceEmpty.md @@ -0,0 +1,40 @@ +--- +title: updates.channelDifferenceEmpty +description: There are no new updates +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.channelDifferenceEmpty +[Back to constructors index](index.md) + + + +There are no new updates + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates that must be fetched (always false)| +|pts|[int](../types/int.md) | Yes|The latest [PTS](https://core.telegram.org/api/updates)| +|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| + + + +### Type: [updates.ChannelDifference](../types/updates.ChannelDifference.md) + + +### Example: + +```php +$updates.channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'final' => Bool, 'pts' => int, 'timeout' => int]; +``` + + +Or, if you're into Lua: + +```lua +updates.channelDifferenceEmpty={_='updates.channelDifferenceEmpty', final=Bool, pts=int, timeout=int} + +``` + + diff --git a/old_docs/API_docs_v95/constructors/updates.channelDifferenceTooLong.md b/old_docs/API_docs_v95/constructors/updates.channelDifferenceTooLong.md new file mode 100644 index 00000000..9290856d --- /dev/null +++ b/old_docs/API_docs_v95/constructors/updates.channelDifferenceTooLong.md @@ -0,0 +1,58 @@ +--- +title: updates.channelDifferenceTooLong +description: The provided `pts + limit < remote pts`. Simply, there are too many updates to be fetched (more than `limit`), the client has to resolve the update gap in one of the following ways: + +1. Delete all known messages in the chat, begin from scratch by refetching all messages manually with [getHistory](../methods/messages.getHistory.md). It is easy to implement, but suddenly disappearing messages looks awful for the user. +2. Save all messages loaded in the memory until application restart, but delete all messages from database. Messages left in the memory must be lazily updated using calls to [getHistory](../methods/messages.getHistory.md). It looks much smoothly for the user, he will need to redownload messages only after client restart. Unsynchronized messages left in the memory shouldn't be saved to database, results of [getHistory](../methods/messages.getHistory.md) and [getMessages](../methods/messages.getMessages.md) must be used to update state of deleted and edited messages left in the memory. +3. Save all messages loaded in the memory and stored in the database without saving that some messages form continuous ranges. Messages in the database will be excluded from results of getChatHistory and searchChatMessages after application restart and will be available only through getMessage. Every message should still be checked using getHistory. It has more disadvantages over 2) than advantages. +4. Save all messages with saving all data about continuous message ranges. Messages from the database may be used as results of getChatHistory and (if implemented continuous ranges support for searching shared media) searchChatMessages. The messages should still be lazily checked using getHistory, but they are still available offline. It is the best way for gaps support, but it is pretty hard to implement correctly. It should be also noted that some messages like live location messages shouldn't be deleted. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.channelDifferenceTooLong +[Back to constructors index](index.md) + + + +The provided `pts + limit < remote pts`. Simply, there are too many updates to be fetched (more than `limit`), the client has to resolve the update gap in one of the following ways: + +1. Delete all known messages in the chat, begin from scratch by refetching all messages manually with [getHistory](../methods/messages.getHistory.md). It is easy to implement, but suddenly disappearing messages looks awful for the user. +2. Save all messages loaded in the memory until application restart, but delete all messages from database. Messages left in the memory must be lazily updated using calls to [getHistory](../methods/messages.getHistory.md). It looks much smoothly for the user, he will need to redownload messages only after client restart. Unsynchronized messages left in the memory shouldn't be saved to database, results of [getHistory](../methods/messages.getHistory.md) and [getMessages](../methods/messages.getMessages.md) must be used to update state of deleted and edited messages left in the memory. +3. Save all messages loaded in the memory and stored in the database without saving that some messages form continuous ranges. Messages in the database will be excluded from results of getChatHistory and searchChatMessages after application restart and will be available only through getMessage. Every message should still be checked using getHistory. It has more disadvantages over 2) than advantages. +4. Save all messages with saving all data about continuous message ranges. Messages from the database may be used as results of getChatHistory and (if implemented continuous ranges support for searching shared media) searchChatMessages. The messages should still be lazily checked using getHistory, but they are still available offline. It is the best way for gaps support, but it is pretty hard to implement correctly. It should be also noted that some messages like live location messages shouldn't be deleted. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates that must be fetched (always false)| +|pts|[int](../types/int.md) | Yes|Pts| +|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| +|top\_message|[int](../types/int.md) | Yes|Top message| +|read\_inbox\_max\_id|[int](../types/int.md) | Yes|Read inbox max ID| +|read\_outbox\_max\_id|[int](../types/int.md) | Yes|Read outbox max ID| +|unread\_count|[int](../types/int.md) | Yes|Unread count| +|unread\_mentions\_count|[int](../types/int.md) | Yes|Unread mentions count| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [updates.ChannelDifference](../types/updates.ChannelDifference.md) + + +### Example: + +```php +$updates.channelDifferenceTooLong = ['_' => 'updates.channelDifferenceTooLong', 'final' => Bool, 'pts' => int, 'timeout' => int, 'top_message' => int, 'read_inbox_max_id' => int, 'read_outbox_max_id' => int, 'unread_count' => int, 'unread_mentions_count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +updates.channelDifferenceTooLong={_='updates.channelDifferenceTooLong', final=Bool, pts=int, timeout=int, top_message=int, read_inbox_max_id=int, read_outbox_max_id=int, unread_count=int, unread_mentions_count=int, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v95/constructors/updates.difference.md b/old_docs/API_docs_v95/constructors/updates.difference.md new file mode 100644 index 00000000..82541b51 --- /dev/null +++ b/old_docs/API_docs_v95/constructors/updates.difference.md @@ -0,0 +1,43 @@ +--- +title: updates.difference +description: Full list of occurred events. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.difference +[Back to constructors index](index.md) + + + +Full list of occurred events. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| +|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| +|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| +|state|[updates.State](../constructors/updates.State.md) | Yes|Current state| + + + +### Type: [updates.Difference](../types/updates.Difference.md) + + +### Example: + +```php +$updates.difference = ['_' => 'updates.difference', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates.State]; +``` + + +Or, if you're into Lua: + +```lua +updates.difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates.State} + +``` + + diff --git a/old_docs/API_docs_v95/constructors/updates.differenceEmpty.md b/old_docs/API_docs_v95/constructors/updates.differenceEmpty.md new file mode 100644 index 00000000..a9dc3bd0 --- /dev/null +++ b/old_docs/API_docs_v95/constructors/updates.differenceEmpty.md @@ -0,0 +1,39 @@ +--- +title: updates.differenceEmpty +description: No events. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.differenceEmpty +[Back to constructors index](index.md) + + + +No events. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Current date| +|seq|[int](../types/int.md) | Yes|Number of sent updates| + + + +### Type: [updates.Difference](../types/updates.Difference.md) + + +### Example: + +```php +$updates.differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int]; +``` + + +Or, if you're into Lua: + +```lua +updates.differenceEmpty={_='updates.differenceEmpty', date=int, seq=int} + +``` + + diff --git a/old_docs/API_docs_v95/constructors/updates.differenceSlice.md b/old_docs/API_docs_v95/constructors/updates.differenceSlice.md new file mode 100644 index 00000000..9daf7a75 --- /dev/null +++ b/old_docs/API_docs_v95/constructors/updates.differenceSlice.md @@ -0,0 +1,43 @@ +--- +title: updates.differenceSlice +description: Incomplete list of occurred events. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.differenceSlice +[Back to constructors index](index.md) + + + +Incomplete list of occurred events. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| +|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| +|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| +|intermediate\_state|[updates.State](../constructors/updates.State.md) | Yes|Intermediary state| + + + +### Type: [updates.Difference](../types/updates.Difference.md) + + +### Example: + +```php +$updates.differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'intermediate_state' => updates.State]; +``` + + +Or, if you're into Lua: + +```lua +updates.differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates.State} + +``` + + diff --git a/old_docs/API_docs_v95/constructors/updates.differenceTooLong.md b/old_docs/API_docs_v95/constructors/updates.differenceTooLong.md new file mode 100644 index 00000000..ef2e7e4d --- /dev/null +++ b/old_docs/API_docs_v95/constructors/updates.differenceTooLong.md @@ -0,0 +1,38 @@ +--- +title: updates.differenceTooLong +description: The difference is [too long](https://core.telegram.org/api/updates#recovering-gaps), and the specified state must be used to refetch updates. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.differenceTooLong +[Back to constructors index](index.md) + + + +The difference is [too long](https://core.telegram.org/api/updates#recovering-gaps), and the specified state must be used to refetch updates. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|The new state to use.| + + + +### Type: [updates.Difference](../types/updates.Difference.md) + + +### Example: + +```php +$updates.differenceTooLong = ['_' => 'updates.differenceTooLong', 'pts' => int]; +``` + + +Or, if you're into Lua: + +```lua +updates.differenceTooLong={_='updates.differenceTooLong', pts=int} + +``` + + diff --git a/old_docs/API_docs_v95/constructors/updates.state.md b/old_docs/API_docs_v95/constructors/updates.state.md new file mode 100644 index 00000000..abe9ddbb --- /dev/null +++ b/old_docs/API_docs_v95/constructors/updates.state.md @@ -0,0 +1,42 @@ +--- +title: updates.state +description: Updates state. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.state +[Back to constructors index](index.md) + + + +Updates state. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| +|qts|[int](../types/int.md) | Yes|Position in a sequence of updates in secret chats. For further detailes refer to article [secret chats](https://core.telegram.org/api/end-to-end)
Parameter was added in [eigth layer](https://core.telegram.org/api/layers#layer-8).| +|date|[int](../types/int.md) | Yes|Date of condition| +|seq|[int](../types/int.md) | Yes|Number of sent updates| +|unread\_count|[int](../types/int.md) | Yes|Number of unread messages| + + + +### Type: [updates.State](../types/updates.State.md) + + +### Example: + +```php +$updates.state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int]; +``` + + +Or, if you're into Lua: + +```lua +updates.state={_='updates.state', pts=int, qts=int, date=int, seq=int, unread_count=int} + +``` + + diff --git a/old_docs/API_docs_v95/constructors/updates_channelDifference.md b/old_docs/API_docs_v95/constructors/updates_channelDifference.md deleted file mode 100644 index 1b50fbf3..00000000 --- a/old_docs/API_docs_v95/constructors/updates_channelDifference.md +++ /dev/null @@ -1,44 +0,0 @@ ---- -title: updates.channelDifference -description: The new updates -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.channelDifference -[Back to constructors index](index.md) - - - -The new updates - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates to be fetched using getDifference, starting from the provided `pts`| -|pts|[int](../types/int.md) | Yes|The [PTS](https://core.telegram.org/api/updates) from which to start getting updates the next time| -|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| -|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| -|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) - - -### Example: - -```php -$updates_channelDifference = ['_' => 'updates.channelDifference', 'final' => Bool, 'pts' => int, 'timeout' => int, 'new_messages' => [Message, Message], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -updates_channelDifference={_='updates.channelDifference', final=Bool, pts=int, timeout=int, new_messages={Message}, other_updates={Update}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v95/constructors/updates_channelDifferenceEmpty.md b/old_docs/API_docs_v95/constructors/updates_channelDifferenceEmpty.md deleted file mode 100644 index 713137aa..00000000 --- a/old_docs/API_docs_v95/constructors/updates_channelDifferenceEmpty.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: updates.channelDifferenceEmpty -description: There are no new updates -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.channelDifferenceEmpty -[Back to constructors index](index.md) - - - -There are no new updates - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates that must be fetched (always false)| -|pts|[int](../types/int.md) | Yes|The latest [PTS](https://core.telegram.org/api/updates)| -|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| - - - -### Type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) - - -### Example: - -```php -$updates_channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'final' => Bool, 'pts' => int, 'timeout' => int]; -``` - - -Or, if you're into Lua: - -```lua -updates_channelDifferenceEmpty={_='updates.channelDifferenceEmpty', final=Bool, pts=int, timeout=int} - -``` - - diff --git a/old_docs/API_docs_v95/constructors/updates_channelDifferenceTooLong.md b/old_docs/API_docs_v95/constructors/updates_channelDifferenceTooLong.md deleted file mode 100644 index fd7a5060..00000000 --- a/old_docs/API_docs_v95/constructors/updates_channelDifferenceTooLong.md +++ /dev/null @@ -1,58 +0,0 @@ ---- -title: updates.channelDifferenceTooLong -description: The provided `pts + limit < remote pts`. Simply, there are too many updates to be fetched (more than `limit`), the client has to resolve the update gap in one of the following ways: - -1. Delete all known messages in the chat, begin from scratch by refetching all messages manually with [getHistory](../methods/messages.getHistory.md). It is easy to implement, but suddenly disappearing messages looks awful for the user. -2. Save all messages loaded in the memory until application restart, but delete all messages from database. Messages left in the memory must be lazily updated using calls to [getHistory](../methods/messages.getHistory.md). It looks much smoothly for the user, he will need to redownload messages only after client restart. Unsynchronized messages left in the memory shouldn't be saved to database, results of [getHistory](../methods/messages.getHistory.md) and [getMessages](../methods/messages.getMessages.md) must be used to update state of deleted and edited messages left in the memory. -3. Save all messages loaded in the memory and stored in the database without saving that some messages form continuous ranges. Messages in the database will be excluded from results of getChatHistory and searchChatMessages after application restart and will be available only through getMessage. Every message should still be checked using getHistory. It has more disadvantages over 2) than advantages. -4. Save all messages with saving all data about continuous message ranges. Messages from the database may be used as results of getChatHistory and (if implemented continuous ranges support for searching shared media) searchChatMessages. The messages should still be lazily checked using getHistory, but they are still available offline. It is the best way for gaps support, but it is pretty hard to implement correctly. It should be also noted that some messages like live location messages shouldn't be deleted. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.channelDifferenceTooLong -[Back to constructors index](index.md) - - - -The provided `pts + limit < remote pts`. Simply, there are too many updates to be fetched (more than `limit`), the client has to resolve the update gap in one of the following ways: - -1. Delete all known messages in the chat, begin from scratch by refetching all messages manually with [getHistory](../methods/messages.getHistory.md). It is easy to implement, but suddenly disappearing messages looks awful for the user. -2. Save all messages loaded in the memory until application restart, but delete all messages from database. Messages left in the memory must be lazily updated using calls to [getHistory](../methods/messages.getHistory.md). It looks much smoothly for the user, he will need to redownload messages only after client restart. Unsynchronized messages left in the memory shouldn't be saved to database, results of [getHistory](../methods/messages.getHistory.md) and [getMessages](../methods/messages.getMessages.md) must be used to update state of deleted and edited messages left in the memory. -3. Save all messages loaded in the memory and stored in the database without saving that some messages form continuous ranges. Messages in the database will be excluded from results of getChatHistory and searchChatMessages after application restart and will be available only through getMessage. Every message should still be checked using getHistory. It has more disadvantages over 2) than advantages. -4. Save all messages with saving all data about continuous message ranges. Messages from the database may be used as results of getChatHistory and (if implemented continuous ranges support for searching shared media) searchChatMessages. The messages should still be lazily checked using getHistory, but they are still available offline. It is the best way for gaps support, but it is pretty hard to implement correctly. It should be also noted that some messages like live location messages shouldn't be deleted. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates that must be fetched (always false)| -|pts|[int](../types/int.md) | Yes|Pts| -|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| -|top\_message|[int](../types/int.md) | Yes|Top message| -|read\_inbox\_max\_id|[int](../types/int.md) | Yes|Read inbox max ID| -|read\_outbox\_max\_id|[int](../types/int.md) | Yes|Read outbox max ID| -|unread\_count|[int](../types/int.md) | Yes|Unread count| -|unread\_mentions\_count|[int](../types/int.md) | Yes|Unread mentions count| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) - - -### Example: - -```php -$updates_channelDifferenceTooLong = ['_' => 'updates.channelDifferenceTooLong', 'final' => Bool, 'pts' => int, 'timeout' => int, 'top_message' => int, 'read_inbox_max_id' => int, 'read_outbox_max_id' => int, 'unread_count' => int, 'unread_mentions_count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -updates_channelDifferenceTooLong={_='updates.channelDifferenceTooLong', final=Bool, pts=int, timeout=int, top_message=int, read_inbox_max_id=int, read_outbox_max_id=int, unread_count=int, unread_mentions_count=int, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v95/constructors/updates_difference.md b/old_docs/API_docs_v95/constructors/updates_difference.md deleted file mode 100644 index 71ac7d4c..00000000 --- a/old_docs/API_docs_v95/constructors/updates_difference.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: updates.difference -description: Full list of occurred events. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.difference -[Back to constructors index](index.md) - - - -Full list of occurred events. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| -|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| -|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| -|state|[updates\_State](../types/updates_State.md) | Yes|Current state| - - - -### Type: [updates\_Difference](../types/updates_Difference.md) - - -### Example: - -```php -$updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates_State]; -``` - - -Or, if you're into Lua: - -```lua -updates_difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates_State} - -``` - - diff --git a/old_docs/API_docs_v95/constructors/updates_differenceEmpty.md b/old_docs/API_docs_v95/constructors/updates_differenceEmpty.md deleted file mode 100644 index c3c95c5a..00000000 --- a/old_docs/API_docs_v95/constructors/updates_differenceEmpty.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: updates.differenceEmpty -description: No events. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.differenceEmpty -[Back to constructors index](index.md) - - - -No events. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Current date| -|seq|[int](../types/int.md) | Yes|Number of sent updates| - - - -### Type: [updates\_Difference](../types/updates_Difference.md) - - -### Example: - -```php -$updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int]; -``` - - -Or, if you're into Lua: - -```lua -updates_differenceEmpty={_='updates.differenceEmpty', date=int, seq=int} - -``` - - diff --git a/old_docs/API_docs_v95/constructors/updates_differenceSlice.md b/old_docs/API_docs_v95/constructors/updates_differenceSlice.md deleted file mode 100644 index 8b12a369..00000000 --- a/old_docs/API_docs_v95/constructors/updates_differenceSlice.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: updates.differenceSlice -description: Incomplete list of occurred events. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.differenceSlice -[Back to constructors index](index.md) - - - -Incomplete list of occurred events. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| -|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| -|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| -|intermediate\_state|[updates\_State](../types/updates_State.md) | Yes|Intermediary state| - - - -### Type: [updates\_Difference](../types/updates_Difference.md) - - -### Example: - -```php -$updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'intermediate_state' => updates_State]; -``` - - -Or, if you're into Lua: - -```lua -updates_differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates_State} - -``` - - diff --git a/old_docs/API_docs_v95/constructors/updates_differenceTooLong.md b/old_docs/API_docs_v95/constructors/updates_differenceTooLong.md deleted file mode 100644 index 1fbdfa01..00000000 --- a/old_docs/API_docs_v95/constructors/updates_differenceTooLong.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: updates.differenceTooLong -description: The difference is [too long](https://core.telegram.org/api/updates#recovering-gaps), and the specified state must be used to refetch updates. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.differenceTooLong -[Back to constructors index](index.md) - - - -The difference is [too long](https://core.telegram.org/api/updates#recovering-gaps), and the specified state must be used to refetch updates. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|The new state to use.| - - - -### Type: [updates\_Difference](../types/updates_Difference.md) - - -### Example: - -```php -$updates_differenceTooLong = ['_' => 'updates.differenceTooLong', 'pts' => int]; -``` - - -Or, if you're into Lua: - -```lua -updates_differenceTooLong={_='updates.differenceTooLong', pts=int} - -``` - - diff --git a/old_docs/API_docs_v95/constructors/updates_state.md b/old_docs/API_docs_v95/constructors/updates_state.md deleted file mode 100644 index ef3698e2..00000000 --- a/old_docs/API_docs_v95/constructors/updates_state.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: updates.state -description: Updates state. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.state -[Back to constructors index](index.md) - - - -Updates state. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| -|qts|[int](../types/int.md) | Yes|Position in a sequence of updates in secret chats. For further detailes refer to article [secret chats](https://core.telegram.org/api/end-to-end)
Parameter was added in [eigth layer](https://core.telegram.org/api/layers#layer-8).| -|date|[int](../types/int.md) | Yes|Date of condition| -|seq|[int](../types/int.md) | Yes|Number of sent updates| -|unread\_count|[int](../types/int.md) | Yes|Number of unread messages| - - - -### Type: [updates\_State](../types/updates_State.md) - - -### Example: - -```php -$updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int]; -``` - - -Or, if you're into Lua: - -```lua -updates_state={_='updates.state', pts=int, qts=int, date=int, seq=int, unread_count=int} - -``` - - diff --git a/old_docs/API_docs_v95/constructors/upload.cdnFile.md b/old_docs/API_docs_v95/constructors/upload.cdnFile.md new file mode 100644 index 00000000..d6d75513 --- /dev/null +++ b/old_docs/API_docs_v95/constructors/upload.cdnFile.md @@ -0,0 +1,38 @@ +--- +title: upload.cdnFile +description: Represent a chunk of a [CDN](https://core.telegram.org/cdn) file. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: upload.cdnFile +[Back to constructors index](index.md) + + + +Represent a chunk of a [CDN](https://core.telegram.org/cdn) file. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|bytes|[bytes](../types/bytes.md) | Yes|The data| + + + +### Type: [upload.CdnFile](../types/upload.CdnFile.md) + + +### Example: + +```php +$upload.cdnFile = ['_' => 'upload.cdnFile', 'bytes' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +upload.cdnFile={_='upload.cdnFile', bytes='bytes'} + +``` + + diff --git a/old_docs/API_docs_v95/constructors/upload.cdnFileReuploadNeeded.md b/old_docs/API_docs_v95/constructors/upload.cdnFileReuploadNeeded.md new file mode 100644 index 00000000..7c461a87 --- /dev/null +++ b/old_docs/API_docs_v95/constructors/upload.cdnFileReuploadNeeded.md @@ -0,0 +1,38 @@ +--- +title: upload.cdnFileReuploadNeeded +description: The file was cleared from the temporary RAM cache of the [CDN](https://core.telegram.org/cdn) and has to be reuploaded. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: upload.cdnFileReuploadNeeded +[Back to constructors index](index.md) + + + +The file was cleared from the temporary RAM cache of the [CDN](https://core.telegram.org/cdn) and has to be reuploaded. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|request\_token|[bytes](../types/bytes.md) | Yes|Request token (see [CDN](https://core.telegram.org/cdn))| + + + +### Type: [upload.CdnFile](../types/upload.CdnFile.md) + + +### Example: + +```php +$upload.cdnFileReuploadNeeded = ['_' => 'upload.cdnFileReuploadNeeded', 'request_token' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +upload.cdnFileReuploadNeeded={_='upload.cdnFileReuploadNeeded', request_token='bytes'} + +``` + + diff --git a/old_docs/API_docs_v95/constructors/upload.file.md b/old_docs/API_docs_v95/constructors/upload.file.md new file mode 100644 index 00000000..145a4c24 --- /dev/null +++ b/old_docs/API_docs_v95/constructors/upload.file.md @@ -0,0 +1,40 @@ +--- +title: upload.file +description: File content. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: upload.file +[Back to constructors index](index.md) + + + +File content. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|type|[storage.FileType](../constructors/storage.FileType.md) | Yes|File type| +|mtime|[int](../types/int.md) | Yes|Modification type| +|bytes|[bytes](../types/bytes.md) | Yes|Binary data, file content| + + + +### Type: [upload.File](../types/upload.File.md) + + +### Example: + +```php +$upload.file = ['_' => 'upload.file', 'type' => storage.FileType, 'mtime' => int, 'bytes' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +upload.file={_='upload.file', type=storage.FileType, mtime=int, bytes='bytes'} + +``` + + diff --git a/old_docs/API_docs_v95/constructors/upload.fileCdnRedirect.md b/old_docs/API_docs_v95/constructors/upload.fileCdnRedirect.md new file mode 100644 index 00000000..dc56e919 --- /dev/null +++ b/old_docs/API_docs_v95/constructors/upload.fileCdnRedirect.md @@ -0,0 +1,42 @@ +--- +title: upload.fileCdnRedirect +description: The file must be downloaded from a [CDN DC](https://core.telegram.org/cdn). +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: upload.fileCdnRedirect +[Back to constructors index](index.md) + + + +The file must be downloaded from a [CDN DC](https://core.telegram.org/cdn). + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|dc\_id|[int](../types/int.md) | Yes|[CDN DC](https://core.telegram.org/cdn) ID| +|file\_token|[bytes](../types/bytes.md) | Yes|File token (see [CDN files](https://core.telegram.org/cdn)| +|encryption\_key|[bytes](../types/bytes.md) | Yes|Encryption key (see [CDN files](https://core.telegram.org/cdn)| +|encryption\_iv|[bytes](../types/bytes.md) | Yes|Encryption IV (see [CDN files](https://core.telegram.org/cdn)| +|file\_hashes|Array of [FileHash](../types/FileHash.md) | Yes|File hashes| + + + +### Type: [upload.File](../types/upload.File.md) + + +### Example: + +```php +$upload.fileCdnRedirect = ['_' => 'upload.fileCdnRedirect', 'dc_id' => int, 'file_token' => 'bytes', 'encryption_key' => 'bytes', 'encryption_iv' => 'bytes', 'file_hashes' => [FileHash, FileHash]]; +``` + + +Or, if you're into Lua: + +```lua +upload.fileCdnRedirect={_='upload.fileCdnRedirect', dc_id=int, file_token='bytes', encryption_key='bytes', encryption_iv='bytes', file_hashes={FileHash}} + +``` + + diff --git a/old_docs/API_docs_v95/constructors/upload.webFile.md b/old_docs/API_docs_v95/constructors/upload.webFile.md new file mode 100644 index 00000000..a93ea94f --- /dev/null +++ b/old_docs/API_docs_v95/constructors/upload.webFile.md @@ -0,0 +1,42 @@ +--- +title: upload.webFile +description: Represents a chunk of an [HTTP webfile](https://core.telegram.org/api/files) downloaded through telegram's secure MTProto servers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: upload.webFile +[Back to constructors index](index.md) + + + +Represents a chunk of an [HTTP webfile](https://core.telegram.org/api/files) downloaded through telegram's secure MTProto servers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|size|[int](../types/int.md) | Yes|File size| +|mime\_type|[string](../types/string.md) | Yes|Mime type| +|file\_type|[storage.FileType](../constructors/storage.FileType.md) | Yes|File type| +|mtime|[int](../types/int.md) | Yes|Modified time| +|bytes|[bytes](../types/bytes.md) | Yes|Data| + + + +### Type: [upload.WebFile](../types/upload.WebFile.md) + + +### Example: + +```php +$upload.webFile = ['_' => 'upload.webFile', 'size' => int, 'mime_type' => 'string', 'file_type' => storage.FileType, 'mtime' => int, 'bytes' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +upload.webFile={_='upload.webFile', size=int, mime_type='string', file_type=storage.FileType, mtime=int, bytes='bytes'} + +``` + + diff --git a/old_docs/API_docs_v95/constructors/upload_cdnFile.md b/old_docs/API_docs_v95/constructors/upload_cdnFile.md deleted file mode 100644 index 019b8742..00000000 --- a/old_docs/API_docs_v95/constructors/upload_cdnFile.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: upload.cdnFile -description: Represent a chunk of a [CDN](https://core.telegram.org/cdn) file. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: upload.cdnFile -[Back to constructors index](index.md) - - - -Represent a chunk of a [CDN](https://core.telegram.org/cdn) file. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|bytes|[bytes](../types/bytes.md) | Yes|The data| - - - -### Type: [upload\_CdnFile](../types/upload_CdnFile.md) - - -### Example: - -```php -$upload_cdnFile = ['_' => 'upload.cdnFile', 'bytes' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -upload_cdnFile={_='upload.cdnFile', bytes='bytes'} - -``` - - diff --git a/old_docs/API_docs_v95/constructors/upload_cdnFileReuploadNeeded.md b/old_docs/API_docs_v95/constructors/upload_cdnFileReuploadNeeded.md deleted file mode 100644 index 6588a596..00000000 --- a/old_docs/API_docs_v95/constructors/upload_cdnFileReuploadNeeded.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: upload.cdnFileReuploadNeeded -description: The file was cleared from the temporary RAM cache of the [CDN](https://core.telegram.org/cdn) and has to be reuploaded. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: upload.cdnFileReuploadNeeded -[Back to constructors index](index.md) - - - -The file was cleared from the temporary RAM cache of the [CDN](https://core.telegram.org/cdn) and has to be reuploaded. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|request\_token|[bytes](../types/bytes.md) | Yes|Request token (see [CDN](https://core.telegram.org/cdn))| - - - -### Type: [upload\_CdnFile](../types/upload_CdnFile.md) - - -### Example: - -```php -$upload_cdnFileReuploadNeeded = ['_' => 'upload.cdnFileReuploadNeeded', 'request_token' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -upload_cdnFileReuploadNeeded={_='upload.cdnFileReuploadNeeded', request_token='bytes'} - -``` - - diff --git a/old_docs/API_docs_v95/constructors/upload_file.md b/old_docs/API_docs_v95/constructors/upload_file.md deleted file mode 100644 index 1e07d9fb..00000000 --- a/old_docs/API_docs_v95/constructors/upload_file.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: upload.file -description: File content. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: upload.file -[Back to constructors index](index.md) - - - -File content. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|type|[storage\_FileType](../types/storage_FileType.md) | Yes|File type| -|mtime|[int](../types/int.md) | Yes|Modification type| -|bytes|[bytes](../types/bytes.md) | Yes|Binary data, file content| - - - -### Type: [upload\_File](../types/upload_File.md) - - -### Example: - -```php -$upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int, 'bytes' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -upload_file={_='upload.file', type=storage_FileType, mtime=int, bytes='bytes'} - -``` - - diff --git a/old_docs/API_docs_v95/constructors/upload_fileCdnRedirect.md b/old_docs/API_docs_v95/constructors/upload_fileCdnRedirect.md deleted file mode 100644 index de504dc3..00000000 --- a/old_docs/API_docs_v95/constructors/upload_fileCdnRedirect.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: upload.fileCdnRedirect -description: The file must be downloaded from a [CDN DC](https://core.telegram.org/cdn). -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: upload.fileCdnRedirect -[Back to constructors index](index.md) - - - -The file must be downloaded from a [CDN DC](https://core.telegram.org/cdn). - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|dc\_id|[int](../types/int.md) | Yes|[CDN DC](https://core.telegram.org/cdn) ID| -|file\_token|[bytes](../types/bytes.md) | Yes|File token (see [CDN files](https://core.telegram.org/cdn)| -|encryption\_key|[bytes](../types/bytes.md) | Yes|Encryption key (see [CDN files](https://core.telegram.org/cdn)| -|encryption\_iv|[bytes](../types/bytes.md) | Yes|Encryption IV (see [CDN files](https://core.telegram.org/cdn)| -|file\_hashes|Array of [FileHash](../types/FileHash.md) | Yes|File hashes| - - - -### Type: [upload\_File](../types/upload_File.md) - - -### Example: - -```php -$upload_fileCdnRedirect = ['_' => 'upload.fileCdnRedirect', 'dc_id' => int, 'file_token' => 'bytes', 'encryption_key' => 'bytes', 'encryption_iv' => 'bytes', 'file_hashes' => [FileHash, FileHash]]; -``` - - -Or, if you're into Lua: - -```lua -upload_fileCdnRedirect={_='upload.fileCdnRedirect', dc_id=int, file_token='bytes', encryption_key='bytes', encryption_iv='bytes', file_hashes={FileHash}} - -``` - - diff --git a/old_docs/API_docs_v95/constructors/upload_webFile.md b/old_docs/API_docs_v95/constructors/upload_webFile.md deleted file mode 100644 index ee8053b1..00000000 --- a/old_docs/API_docs_v95/constructors/upload_webFile.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: upload.webFile -description: Represents a chunk of an [HTTP webfile](https://core.telegram.org/api/files) downloaded through telegram's secure MTProto servers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: upload.webFile -[Back to constructors index](index.md) - - - -Represents a chunk of an [HTTP webfile](https://core.telegram.org/api/files) downloaded through telegram's secure MTProto servers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|size|[int](../types/int.md) | Yes|File size| -|mime\_type|[string](../types/string.md) | Yes|Mime type| -|file\_type|[storage\_FileType](../types/storage_FileType.md) | Yes|File type| -|mtime|[int](../types/int.md) | Yes|Modified time| -|bytes|[bytes](../types/bytes.md) | Yes|Data| - - - -### Type: [upload\_WebFile](../types/upload_WebFile.md) - - -### Example: - -```php -$upload_webFile = ['_' => 'upload.webFile', 'size' => int, 'mime_type' => 'string', 'file_type' => storage_FileType, 'mtime' => int, 'bytes' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -upload_webFile={_='upload.webFile', size=int, mime_type='string', file_type=storage_FileType, mtime=int, bytes='bytes'} - -``` - - diff --git a/old_docs/API_docs_v95/constructors/userFull.md b/old_docs/API_docs_v95/constructors/userFull.md index d0d43c0a..5c4682a8 100644 --- a/old_docs/API_docs_v95/constructors/userFull.md +++ b/old_docs/API_docs_v95/constructors/userFull.md @@ -20,7 +20,7 @@ Extended user info |can\_pin\_message|[Bool](../types/Bool.md) | Optional|Whether you can pin messages in the chat with this user, you can do this only for a chat with yourself| |user|[User](../types/User.md) | Optional|Remaining user info| |about|[string](../types/string.md) | Optional|Bio of the user| -|link|[contacts\_Link](../types/contacts_Link.md) | Yes|Link| +|link|[contacts.Link](../constructors/contacts.Link.md) | Yes|Link| |profile\_photo|[Photo](../types/Photo.md) | Optional|Profile photo| |notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Yes|Notification settings| |bot\_info|[BotInfo](../types/BotInfo.md) | Optional|For bots, info about the bot (bot commands, etc)| @@ -35,14 +35,14 @@ Extended user info ### Example: ```php -$userFull = ['_' => 'userFull', 'blocked' => Bool, 'phone_calls_available' => Bool, 'phone_calls_private' => Bool, 'can_pin_message' => Bool, 'user' => User, 'about' => 'string', 'link' => contacts_Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'bot_info' => BotInfo, 'pinned_msg_id' => int, 'common_chats_count' => int]; +$userFull = ['_' => 'userFull', 'blocked' => Bool, 'phone_calls_available' => Bool, 'phone_calls_private' => Bool, 'can_pin_message' => Bool, 'user' => User, 'about' => 'string', 'link' => contacts.Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'bot_info' => BotInfo, 'pinned_msg_id' => int, 'common_chats_count' => int]; ``` Or, if you're into Lua: ```lua -userFull={_='userFull', blocked=Bool, phone_calls_available=Bool, phone_calls_private=Bool, can_pin_message=Bool, user=User, about='string', link=contacts_Link, profile_photo=Photo, notify_settings=PeerNotifySettings, bot_info=BotInfo, pinned_msg_id=int, common_chats_count=int} +userFull={_='userFull', blocked=Bool, phone_calls_available=Bool, phone_calls_private=Bool, can_pin_message=Bool, user=User, about='string', link=contacts.Link, profile_photo=Photo, notify_settings=PeerNotifySettings, bot_info=BotInfo, pinned_msg_id=int, common_chats_count=int} ``` diff --git a/old_docs/API_docs_v95/methods/account.getAuthorizationForm.md b/old_docs/API_docs_v95/methods/account.getAuthorizationForm.md index 298951cb..b0d52e07 100644 --- a/old_docs/API_docs_v95/methods/account.getAuthorizationForm.md +++ b/old_docs/API_docs_v95/methods/account.getAuthorizationForm.md @@ -18,7 +18,7 @@ Returns a Telegram Passport authorization form for sharing data with a service |public\_key|[string](../types/string.md) | Service's public key | Yes| -### Return type: [account\_AuthorizationForm](../types/account_AuthorizationForm.md) +### Return type: [account.AuthorizationForm](../types/account.AuthorizationForm.md) ### Can bots use this method: **NO** @@ -35,12 +35,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_AuthorizationForm = $MadelineProto->account->getAuthorizationForm(['bot_id' => int, 'scope' => 'string', 'public_key' => 'string', ]); +$account.AuthorizationForm = $MadelineProto->account->getAuthorizationForm(['bot_id' => int, 'scope' => 'string', 'public_key' => 'string', ]); ``` Or, if you're into Lua: ```lua -account_AuthorizationForm = account.getAuthorizationForm({bot_id=int, scope='string', public_key='string', }) +account.AuthorizationForm = account.getAuthorizationForm({bot_id=int, scope='string', public_key='string', }) ``` diff --git a/old_docs/API_docs_v95/methods/account.getAuthorizations.md b/old_docs/API_docs_v95/methods/account.getAuthorizations.md index f69c130a..fad3a7ae 100644 --- a/old_docs/API_docs_v95/methods/account.getAuthorizations.md +++ b/old_docs/API_docs_v95/methods/account.getAuthorizations.md @@ -11,7 +11,7 @@ Get logged-in sessions -### Return type: [account\_Authorizations](../types/account_Authorizations.md) +### Return type: [account.Authorizations](../types/account.Authorizations.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_Authorizations = $MadelineProto->account->getAuthorizations(); +$account.Authorizations = $MadelineProto->account->getAuthorizations(); ``` Or, if you're into Lua: ```lua -account_Authorizations = account.getAuthorizations({}) +account.Authorizations = account.getAuthorizations({}) ``` diff --git a/old_docs/API_docs_v95/methods/account.getPassword.md b/old_docs/API_docs_v95/methods/account.getPassword.md index eed4aee3..621271b6 100644 --- a/old_docs/API_docs_v95/methods/account.getPassword.md +++ b/old_docs/API_docs_v95/methods/account.getPassword.md @@ -11,7 +11,7 @@ Obtain configuration for two-factor authorization with password -### Return type: [account\_Password](../types/account_Password.md) +### Return type: [account.Password](../types/account.Password.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_Password = $MadelineProto->account->getPassword(); +$account.Password = $MadelineProto->account->getPassword(); ``` Or, if you're into Lua: ```lua -account_Password = account.getPassword({}) +account.Password = account.getPassword({}) ``` diff --git a/old_docs/API_docs_v95/methods/account.getPasswordSettings.md b/old_docs/API_docs_v95/methods/account.getPasswordSettings.md index a7a47b1a..2b8607b9 100644 --- a/old_docs/API_docs_v95/methods/account.getPasswordSettings.md +++ b/old_docs/API_docs_v95/methods/account.getPasswordSettings.md @@ -16,7 +16,7 @@ You cannot use this method directly; use $MadelineProto->update_2fa($params), in |password|[InputCheckPasswordSRP](../types/InputCheckPasswordSRP.md) | You cannot use this method directly; use $MadelineProto->update_2fa($params), instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [account\_PasswordSettings](../types/account_PasswordSettings.md) +### Return type: [account.PasswordSettings](../types/account.PasswordSettings.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_PasswordSettings = $MadelineProto->account->getPasswordSettings(['password' => InputCheckPasswordSRP, ]); +$account.PasswordSettings = $MadelineProto->account->getPasswordSettings(['password' => InputCheckPasswordSRP, ]); ``` Or, if you're into Lua: ```lua -account_PasswordSettings = account.getPasswordSettings({password=InputCheckPasswordSRP, }) +account.PasswordSettings = account.getPasswordSettings({password=InputCheckPasswordSRP, }) ``` ### Errors diff --git a/old_docs/API_docs_v95/methods/account.getPrivacy.md b/old_docs/API_docs_v95/methods/account.getPrivacy.md index 6a240129..e20c292c 100644 --- a/old_docs/API_docs_v95/methods/account.getPrivacy.md +++ b/old_docs/API_docs_v95/methods/account.getPrivacy.md @@ -16,7 +16,7 @@ Get privacy settings of current account |key|[InputPrivacyKey](../types/InputPrivacyKey.md) | Peer category whose privacy settings should be fetched | Yes| -### Return type: [account\_PrivacyRules](../types/account_PrivacyRules.md) +### Return type: [account.PrivacyRules](../types/account.PrivacyRules.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_PrivacyRules = $MadelineProto->account->getPrivacy(['key' => InputPrivacyKey, ]); +$account.PrivacyRules = $MadelineProto->account->getPrivacy(['key' => InputPrivacyKey, ]); ``` Or, if you're into Lua: ```lua -account_PrivacyRules = account.getPrivacy({key=InputPrivacyKey, }) +account.PrivacyRules = account.getPrivacy({key=InputPrivacyKey, }) ``` ### Errors diff --git a/old_docs/API_docs_v95/methods/account.getTmpPassword.md b/old_docs/API_docs_v95/methods/account.getTmpPassword.md index 76729595..2328df1e 100644 --- a/old_docs/API_docs_v95/methods/account.getTmpPassword.md +++ b/old_docs/API_docs_v95/methods/account.getTmpPassword.md @@ -17,7 +17,7 @@ Get temporary payment password |period|[int](../types/int.md) | Time during which the temporary password will be valid, in seconds; should be between 60 and 86400 | Yes| -### Return type: [account\_TmpPassword](../types/account_TmpPassword.md) +### Return type: [account.TmpPassword](../types/account.TmpPassword.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_TmpPassword = $MadelineProto->account->getTmpPassword(['password' => InputCheckPasswordSRP, 'period' => int, ]); +$account.TmpPassword = $MadelineProto->account->getTmpPassword(['password' => InputCheckPasswordSRP, 'period' => int, ]); ``` Or, if you're into Lua: ```lua -account_TmpPassword = account.getTmpPassword({password=InputCheckPasswordSRP, period=int, }) +account.TmpPassword = account.getTmpPassword({password=InputCheckPasswordSRP, period=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v95/methods/account.getWallPapers.md b/old_docs/API_docs_v95/methods/account.getWallPapers.md index 75c97ae2..aeb95929 100644 --- a/old_docs/API_docs_v95/methods/account.getWallPapers.md +++ b/old_docs/API_docs_v95/methods/account.getWallPapers.md @@ -16,7 +16,7 @@ Returns a list of available wallpapers. |hash|Array of [int](../types/int.md) | IDs of previously fetched wallpapers | Optional| -### Return type: [account\_WallPapers](../types/account_WallPapers.md) +### Return type: [account.WallPapers](../types/account.WallPapers.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_WallPapers = $MadelineProto->account->getWallPapers(['hash' => [int, int], ]); +$account.WallPapers = $MadelineProto->account->getWallPapers(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -account_WallPapers = account.getWallPapers({hash={int}, }) +account.WallPapers = account.getWallPapers({hash={int}, }) ``` diff --git a/old_docs/API_docs_v95/methods/account.getWebAuthorizations.md b/old_docs/API_docs_v95/methods/account.getWebAuthorizations.md index 1a43f138..b97fe978 100644 --- a/old_docs/API_docs_v95/methods/account.getWebAuthorizations.md +++ b/old_docs/API_docs_v95/methods/account.getWebAuthorizations.md @@ -11,7 +11,7 @@ Get web [login widget](https://core.telegram.org/widgets/login) authorizations -### Return type: [account\_WebAuthorizations](../types/account_WebAuthorizations.md) +### Return type: [account.WebAuthorizations](../types/account.WebAuthorizations.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_WebAuthorizations = $MadelineProto->account->getWebAuthorizations(); +$account.WebAuthorizations = $MadelineProto->account->getWebAuthorizations(); ``` Or, if you're into Lua: ```lua -account_WebAuthorizations = account.getWebAuthorizations({}) +account.WebAuthorizations = account.getWebAuthorizations({}) ``` diff --git a/old_docs/API_docs_v95/methods/account.initTakeoutSession.md b/old_docs/API_docs_v95/methods/account.initTakeoutSession.md index 01b3ae0f..3b8774b8 100644 --- a/old_docs/API_docs_v95/methods/account.initTakeoutSession.md +++ b/old_docs/API_docs_v95/methods/account.initTakeoutSession.md @@ -22,7 +22,7 @@ Intialize account takeout session |file\_max\_size|[int](../types/int.md) | Maximum size of files to export | Optional| -### Return type: [account\_Takeout](../types/account_Takeout.md) +### Return type: [account.Takeout](../types/account.Takeout.md) ### Can bots use this method: **NO** @@ -39,12 +39,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_Takeout = $MadelineProto->account->initTakeoutSession(['contacts' => Bool, 'message_users' => Bool, 'message_chats' => Bool, 'message_megagroups' => Bool, 'message_channels' => Bool, 'files' => Bool, 'file_max_size' => int, ]); +$account.Takeout = $MadelineProto->account->initTakeoutSession(['contacts' => Bool, 'message_users' => Bool, 'message_chats' => Bool, 'message_megagroups' => Bool, 'message_channels' => Bool, 'files' => Bool, 'file_max_size' => int, ]); ``` Or, if you're into Lua: ```lua -account_Takeout = account.initTakeoutSession({contacts=Bool, message_users=Bool, message_chats=Bool, message_megagroups=Bool, message_channels=Bool, files=Bool, file_max_size=int, }) +account.Takeout = account.initTakeoutSession({contacts=Bool, message_users=Bool, message_chats=Bool, message_megagroups=Bool, message_channels=Bool, files=Bool, file_max_size=int, }) ``` diff --git a/old_docs/API_docs_v95/methods/account.sendChangePhoneCode.md b/old_docs/API_docs_v95/methods/account.sendChangePhoneCode.md index 1efd192e..469a602d 100644 --- a/old_docs/API_docs_v95/methods/account.sendChangePhoneCode.md +++ b/old_docs/API_docs_v95/methods/account.sendChangePhoneCode.md @@ -17,7 +17,7 @@ Verify a new phone number to associate to the current account |settings|[CodeSettings](../types/CodeSettings.md) | Phone code settings | Yes| -### Return type: [auth\_SentCode](../types/auth_SentCode.md) +### Return type: [auth.SentCode](../types/auth.SentCode.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_SentCode = $MadelineProto->account->sendChangePhoneCode(['phone_number' => 'string', 'settings' => CodeSettings, ]); +$auth.SentCode = $MadelineProto->account->sendChangePhoneCode(['phone_number' => 'string', 'settings' => CodeSettings, ]); ``` Or, if you're into Lua: ```lua -auth_SentCode = account.sendChangePhoneCode({phone_number='string', settings=CodeSettings, }) +auth.SentCode = account.sendChangePhoneCode({phone_number='string', settings=CodeSettings, }) ``` ### Errors diff --git a/old_docs/API_docs_v95/methods/account.sendConfirmPhoneCode.md b/old_docs/API_docs_v95/methods/account.sendConfirmPhoneCode.md index bd8cf87e..1927681f 100644 --- a/old_docs/API_docs_v95/methods/account.sendConfirmPhoneCode.md +++ b/old_docs/API_docs_v95/methods/account.sendConfirmPhoneCode.md @@ -17,7 +17,7 @@ Send confirmation code to cancel account deletion, for more info [click here »] |settings|[CodeSettings](../types/CodeSettings.md) | Phone code settings | Yes| -### Return type: [auth\_SentCode](../types/auth_SentCode.md) +### Return type: [auth.SentCode](../types/auth.SentCode.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_SentCode = $MadelineProto->account->sendConfirmPhoneCode(['hash' => 'string', 'settings' => CodeSettings, ]); +$auth.SentCode = $MadelineProto->account->sendConfirmPhoneCode(['hash' => 'string', 'settings' => CodeSettings, ]); ``` Or, if you're into Lua: ```lua -auth_SentCode = account.sendConfirmPhoneCode({hash='string', settings=CodeSettings, }) +auth.SentCode = account.sendConfirmPhoneCode({hash='string', settings=CodeSettings, }) ``` ### Errors diff --git a/old_docs/API_docs_v95/methods/account.sendVerifyEmailCode.md b/old_docs/API_docs_v95/methods/account.sendVerifyEmailCode.md index 54b1fc3f..a4768852 100644 --- a/old_docs/API_docs_v95/methods/account.sendVerifyEmailCode.md +++ b/old_docs/API_docs_v95/methods/account.sendVerifyEmailCode.md @@ -16,7 +16,7 @@ Send the verification email code for telegram [passport](https://core.telegram.o |email|[string](../types/string.md) | The email where to send the code | Yes| -### Return type: [account\_SentEmailCode](../types/account_SentEmailCode.md) +### Return type: [account.SentEmailCode](../types/account.SentEmailCode.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_SentEmailCode = $MadelineProto->account->sendVerifyEmailCode(['email' => 'string', ]); +$account.SentEmailCode = $MadelineProto->account->sendVerifyEmailCode(['email' => 'string', ]); ``` Or, if you're into Lua: ```lua -account_SentEmailCode = account.sendVerifyEmailCode({email='string', }) +account.SentEmailCode = account.sendVerifyEmailCode({email='string', }) ``` diff --git a/old_docs/API_docs_v95/methods/account.sendVerifyPhoneCode.md b/old_docs/API_docs_v95/methods/account.sendVerifyPhoneCode.md index 0b058240..3ff2fae7 100644 --- a/old_docs/API_docs_v95/methods/account.sendVerifyPhoneCode.md +++ b/old_docs/API_docs_v95/methods/account.sendVerifyPhoneCode.md @@ -17,7 +17,7 @@ Send the verification phone code for telegram [passport](https://core.telegram.o |settings|[CodeSettings](../types/CodeSettings.md) | Phone code settings | Yes| -### Return type: [auth\_SentCode](../types/auth_SentCode.md) +### Return type: [auth.SentCode](../types/auth.SentCode.md) ### Can bots use this method: **NO** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_SentCode = $MadelineProto->account->sendVerifyPhoneCode(['phone_number' => 'string', 'settings' => CodeSettings, ]); +$auth.SentCode = $MadelineProto->account->sendVerifyPhoneCode(['phone_number' => 'string', 'settings' => CodeSettings, ]); ``` Or, if you're into Lua: ```lua -auth_SentCode = account.sendVerifyPhoneCode({phone_number='string', settings=CodeSettings, }) +auth.SentCode = account.sendVerifyPhoneCode({phone_number='string', settings=CodeSettings, }) ``` diff --git a/old_docs/API_docs_v95/methods/account.setPrivacy.md b/old_docs/API_docs_v95/methods/account.setPrivacy.md index 7c4cfba7..096d373e 100644 --- a/old_docs/API_docs_v95/methods/account.setPrivacy.md +++ b/old_docs/API_docs_v95/methods/account.setPrivacy.md @@ -17,7 +17,7 @@ Change privacy settings of current account |rules|Array of [InputPrivacyRule](../types/InputPrivacyRule.md) | Privacy settings | Yes| -### Return type: [account\_PrivacyRules](../types/account_PrivacyRules.md) +### Return type: [account.PrivacyRules](../types/account.PrivacyRules.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_PrivacyRules = $MadelineProto->account->setPrivacy(['key' => InputPrivacyKey, 'rules' => [InputPrivacyRule, InputPrivacyRule], ]); +$account.PrivacyRules = $MadelineProto->account->setPrivacy(['key' => InputPrivacyKey, 'rules' => [InputPrivacyRule, InputPrivacyRule], ]); ``` Or, if you're into Lua: ```lua -account_PrivacyRules = account.setPrivacy({key=InputPrivacyKey, rules={InputPrivacyRule}, }) +account.PrivacyRules = account.setPrivacy({key=InputPrivacyKey, rules={InputPrivacyRule}, }) ``` ### Errors diff --git a/old_docs/API_docs_v95/methods/api_README.md b/old_docs/API_docs_v95/methods/api_README.md index 9f411bdf..03802c2f 100644 --- a/old_docs/API_docs_v95/methods/api_README.md +++ b/old_docs/API_docs_v95/methods/api_README.md @@ -80,11 +80,11 @@ $MadelineProto->[account->getAllSecureValues](account.getAllSecureValues.md)(\[\ ***

-$MadelineProto->[account->getAuthorizationForm](account.getAuthorizationForm.md)(\['bot_id' => [int](../types/int.md), 'scope' => [string](../types/string.md), 'public_key' => [string](../types/string.md), \]) === [$account\_AuthorizationForm](../types/account_AuthorizationForm.md) +$MadelineProto->[account->getAuthorizationForm](account.getAuthorizationForm.md)(\['bot_id' => [int](../types/int.md), 'scope' => [string](../types/string.md), 'public_key' => [string](../types/string.md), \]) === [$account.AuthorizationForm](../types/account.AuthorizationForm.md) ***

-$MadelineProto->[account->getAuthorizations](account.getAuthorizations.md)(\[\]) === [$account\_Authorizations](../types/account_Authorizations.md) +$MadelineProto->[account->getAuthorizations](account.getAuthorizations.md)(\[\]) === [$account.Authorizations](../types/account.Authorizations.md) ***

@@ -100,15 +100,15 @@ $MadelineProto->[account->getNotifySettings](account.getNotifySettings.md)(\['pe ***

-$MadelineProto->[account->getPassword](account.getPassword.md)(\[\]) === [$account\_Password](../types/account_Password.md) +$MadelineProto->[account->getPassword](account.getPassword.md)(\[\]) === [$account.Password](../types/account.Password.md) ***

-$MadelineProto->[account->getPasswordSettings](account.getPasswordSettings.md)(\['password' => [InputCheckPasswordSRP](../types/InputCheckPasswordSRP.md), \]) === [$account\_PasswordSettings](../types/account_PasswordSettings.md) +$MadelineProto->[account->getPasswordSettings](account.getPasswordSettings.md)(\['password' => [InputCheckPasswordSRP](../types/InputCheckPasswordSRP.md), \]) === [$account.PasswordSettings](../types/account.PasswordSettings.md) ***

-$MadelineProto->[account->getPrivacy](account.getPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), \]) === [$account\_PrivacyRules](../types/account_PrivacyRules.md) +$MadelineProto->[account->getPrivacy](account.getPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), \]) === [$account.PrivacyRules](../types/account.PrivacyRules.md) ***

@@ -116,7 +116,7 @@ $MadelineProto->[account->getSecureValue](account.getSecureValue.md)(\['types' = ***

-$MadelineProto->[account->getTmpPassword](account.getTmpPassword.md)(\['password' => [InputCheckPasswordSRP](../types/InputCheckPasswordSRP.md), 'period' => [int](../types/int.md), \]) === [$account\_TmpPassword](../types/account_TmpPassword.md) +$MadelineProto->[account->getTmpPassword](account.getTmpPassword.md)(\['password' => [InputCheckPasswordSRP](../types/InputCheckPasswordSRP.md), 'period' => [int](../types/int.md), \]) === [$account.TmpPassword](../types/account.TmpPassword.md) ***

@@ -124,15 +124,15 @@ $MadelineProto->[account->getWallPaper](account.getWallPaper.md)(\['wallpaper' = ***

-$MadelineProto->[account->getWallPapers](account.getWallPapers.md)(\['hash' => [int](../types/int.md), \]) === [$account\_WallPapers](../types/account_WallPapers.md) +$MadelineProto->[account->getWallPapers](account.getWallPapers.md)(\['hash' => [int](../types/int.md), \]) === [$account.WallPapers](../types/account.WallPapers.md) ***

-$MadelineProto->[account->getWebAuthorizations](account.getWebAuthorizations.md)(\[\]) === [$account\_WebAuthorizations](../types/account_WebAuthorizations.md) +$MadelineProto->[account->getWebAuthorizations](account.getWebAuthorizations.md)(\[\]) === [$account.WebAuthorizations](../types/account.WebAuthorizations.md) ***

-$MadelineProto->[account->initTakeoutSession](account.initTakeoutSession.md)(\['contacts' => [Bool](../types/Bool.md), 'message_users' => [Bool](../types/Bool.md), 'message_chats' => [Bool](../types/Bool.md), 'message_megagroups' => [Bool](../types/Bool.md), 'message_channels' => [Bool](../types/Bool.md), 'files' => [Bool](../types/Bool.md), 'file_max_size' => [int](../types/int.md), \]) === [$account\_Takeout](../types/account_Takeout.md) +$MadelineProto->[account->initTakeoutSession](account.initTakeoutSession.md)(\['contacts' => [Bool](../types/Bool.md), 'message_users' => [Bool](../types/Bool.md), 'message_chats' => [Bool](../types/Bool.md), 'message_megagroups' => [Bool](../types/Bool.md), 'message_channels' => [Bool](../types/Bool.md), 'files' => [Bool](../types/Bool.md), 'file_max_size' => [int](../types/int.md), \]) === [$account.Takeout](../types/account.Takeout.md) ***

@@ -180,19 +180,19 @@ $MadelineProto->[account->saveWallPaper](account.saveWallPaper.md)(\['wallpaper' ***

-$MadelineProto->[account->sendChangePhoneCode](account.sendChangePhoneCode.md)(\['phone_number' => [string](../types/string.md), 'settings' => [CodeSettings](../types/CodeSettings.md), \]) === [$auth\_SentCode](../types/auth_SentCode.md) +$MadelineProto->[account->sendChangePhoneCode](account.sendChangePhoneCode.md)(\['phone_number' => [string](../types/string.md), 'settings' => [CodeSettings](../types/CodeSettings.md), \]) === [$auth.SentCode](../types/auth.SentCode.md) ***

-$MadelineProto->[account->sendConfirmPhoneCode](account.sendConfirmPhoneCode.md)(\['hash' => [string](../types/string.md), 'settings' => [CodeSettings](../types/CodeSettings.md), \]) === [$auth\_SentCode](../types/auth_SentCode.md) +$MadelineProto->[account->sendConfirmPhoneCode](account.sendConfirmPhoneCode.md)(\['hash' => [string](../types/string.md), 'settings' => [CodeSettings](../types/CodeSettings.md), \]) === [$auth.SentCode](../types/auth.SentCode.md) ***

-$MadelineProto->[account->sendVerifyEmailCode](account.sendVerifyEmailCode.md)(\['email' => [string](../types/string.md), \]) === [$account\_SentEmailCode](../types/account_SentEmailCode.md) +$MadelineProto->[account->sendVerifyEmailCode](account.sendVerifyEmailCode.md)(\['email' => [string](../types/string.md), \]) === [$account.SentEmailCode](../types/account.SentEmailCode.md) ***

-$MadelineProto->[account->sendVerifyPhoneCode](account.sendVerifyPhoneCode.md)(\['phone_number' => [string](../types/string.md), 'settings' => [CodeSettings](../types/CodeSettings.md), \]) === [$auth\_SentCode](../types/auth_SentCode.md) +$MadelineProto->[account->sendVerifyPhoneCode](account.sendVerifyPhoneCode.md)(\['phone_number' => [string](../types/string.md), 'settings' => [CodeSettings](../types/CodeSettings.md), \]) === [$auth.SentCode](../types/auth.SentCode.md) ***

@@ -204,7 +204,7 @@ $MadelineProto->[account->setContactSignUpNotification](account.setContactSignUp ***

-$MadelineProto->[account->setPrivacy](account.setPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), 'rules' => \[[InputPrivacyRule](../types/InputPrivacyRule.md)\], \]) === [$account\_PrivacyRules](../types/account_PrivacyRules.md) +$MadelineProto->[account->setPrivacy](account.setPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), 'rules' => \[[InputPrivacyRule](../types/InputPrivacyRule.md)\], \]) === [$account.PrivacyRules](../types/account.PrivacyRules.md) ***

@@ -256,7 +256,7 @@ $MadelineProto->[auth->cancelCode](auth.cancelCode.md)(\['phone_number' => [stri ***

-$MadelineProto->[auth->checkPassword](auth.checkPassword.md)(\['password' => [InputCheckPasswordSRP](../types/InputCheckPasswordSRP.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->checkPassword](auth.checkPassword.md)(\['password' => [InputCheckPasswordSRP](../types/InputCheckPasswordSRP.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

@@ -264,15 +264,15 @@ $MadelineProto->[auth->dropTempAuthKeys](auth.dropTempAuthKeys.md)(\['except_aut ***

-$MadelineProto->[auth->exportAuthorization](auth.exportAuthorization.md)(\['dc_id' => [int](../types/int.md), \]) === [$auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) +$MadelineProto->[auth->exportAuthorization](auth.exportAuthorization.md)(\['dc_id' => [int](../types/int.md), \]) === [$auth.ExportedAuthorization](../types/auth.ExportedAuthorization.md) ***

-$MadelineProto->[auth->importAuthorization](auth.importAuthorization.md)(\['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->importAuthorization](auth.importAuthorization.md)(\['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

-$MadelineProto->[auth->importBotAuthorization](auth.importBotAuthorization.md)(\['api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), 'bot_auth_token' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->importBotAuthorization](auth.importBotAuthorization.md)(\['api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), 'bot_auth_token' => [string](../types/string.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

@@ -280,15 +280,15 @@ $MadelineProto->[auth->logOut](auth.logOut.md)(\[\]) === [$Bool](../types/Bool.m ***

-$MadelineProto->[auth->recoverPassword](auth.recoverPassword.md)(\['code' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->recoverPassword](auth.recoverPassword.md)(\['code' => [string](../types/string.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

-$MadelineProto->[auth->requestPasswordRecovery](auth.requestPasswordRecovery.md)(\[\]) === [$auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) +$MadelineProto->[auth->requestPasswordRecovery](auth.requestPasswordRecovery.md)(\[\]) === [$auth.PasswordRecovery](../types/auth.PasswordRecovery.md) ***

-$MadelineProto->[auth->resendCode](auth.resendCode.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), \]) === [$auth\_SentCode](../types/auth_SentCode.md) +$MadelineProto->[auth->resendCode](auth.resendCode.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), \]) === [$auth.SentCode](../types/auth.SentCode.md) ***

@@ -296,15 +296,15 @@ $MadelineProto->[auth->resetAuthorizations](auth.resetAuthorizations.md)(\[\]) = ***

-$MadelineProto->[auth->sendCode](auth.sendCode.md)(\['phone_number' => [string](../types/string.md), 'api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), 'settings' => [CodeSettings](../types/CodeSettings.md), \]) === [$auth\_SentCode](../types/auth_SentCode.md) +$MadelineProto->[auth->sendCode](auth.sendCode.md)(\['phone_number' => [string](../types/string.md), 'api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), 'settings' => [CodeSettings](../types/CodeSettings.md), \]) === [$auth.SentCode](../types/auth.SentCode.md) ***

-$MadelineProto->[auth->signIn](auth.signIn.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->signIn](auth.signIn.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

-$MadelineProto->[auth->signUp](auth.signUp.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->signUp](auth.signUp.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

@@ -332,11 +332,11 @@ $MadelineProto->[channels->deleteHistory](channels.deleteHistory.md)(\['channel' ***

-$MadelineProto->[channels->deleteMessages](channels.deleteMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) +$MadelineProto->[channels->deleteMessages](channels.deleteMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages.AffectedMessages](../types/messages.AffectedMessages.md) ***

-$MadelineProto->[channels->deleteUserHistory](channels.deleteUserHistory.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages\_AffectedHistory](../types/messages_AffectedHistory.md) +$MadelineProto->[channels->deleteUserHistory](channels.deleteUserHistory.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages.AffectedHistory](../types/messages.AffectedHistory.md) ***

@@ -360,35 +360,35 @@ $MadelineProto->[channels->exportMessageLink](channels.exportMessageLink.md)(\[' ***

-$MadelineProto->[channels->getAdminLog](channels.getAdminLog.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'q' => [string](../types/string.md), 'events_filter' => [ChannelAdminLogEventsFilter](../types/ChannelAdminLogEventsFilter.md), 'admins' => \[[InputUser](../types/InputUser.md)\], 'max_id' => [long](../types/long.md), 'min_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$channels\_AdminLogResults](../types/channels_AdminLogResults.md) +$MadelineProto->[channels->getAdminLog](channels.getAdminLog.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'q' => [string](../types/string.md), 'events_filter' => [ChannelAdminLogEventsFilter](../types/ChannelAdminLogEventsFilter.md), 'admins' => \[[InputUser](../types/InputUser.md)\], 'max_id' => [long](../types/long.md), 'min_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$channels.AdminLogResults](../types/channels.AdminLogResults.md) ***

-$MadelineProto->[channels->getAdminedPublicChannels](channels.getAdminedPublicChannels.md)(\[\]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[channels->getAdminedPublicChannels](channels.getAdminedPublicChannels.md)(\[\]) === [$messages.Chats](../types/messages.Chats.md) ***

-$MadelineProto->[channels->getChannels](channels.getChannels.md)(\['id' => \[[InputChannel](../types/InputChannel.md)\], \]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[channels->getChannels](channels.getChannels.md)(\['id' => \[[InputChannel](../types/InputChannel.md)\], \]) === [$messages.Chats](../types/messages.Chats.md) ***

-$MadelineProto->[channels->getFullChannel](channels.getFullChannel.md)(\['channel' => [InputChannel](../types/InputChannel.md), \]) === [$messages\_ChatFull](../types/messages_ChatFull.md) +$MadelineProto->[channels->getFullChannel](channels.getFullChannel.md)(\['channel' => [InputChannel](../types/InputChannel.md), \]) === [$messages.ChatFull](../types/messages.ChatFull.md) ***

-$MadelineProto->[channels->getLeftChannels](channels.getLeftChannels.md)(\['offset' => [int](../types/int.md), \]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[channels->getLeftChannels](channels.getLeftChannels.md)(\['offset' => [int](../types/int.md), \]) === [$messages.Chats](../types/messages.Chats.md) ***

-$MadelineProto->[channels->getMessages](channels.getMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[InputMessage](../types/InputMessage.md)\], \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[channels->getMessages](channels.getMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[InputMessage](../types/InputMessage.md)\], \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[channels->getParticipant](channels.getParticipant.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$channels\_ChannelParticipant](../types/channels_ChannelParticipant.md) +$MadelineProto->[channels->getParticipant](channels.getParticipant.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$channels.ChannelParticipant](../types/channels.ChannelParticipant.md) ***

-$MadelineProto->[channels->getParticipants](channels.getParticipants.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$channels\_ChannelParticipants](../types/channels_ChannelParticipants.md) +$MadelineProto->[channels->getParticipants](channels.getParticipants.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$channels.ChannelParticipants](../types/channels.ChannelParticipants.md) ***

@@ -440,7 +440,7 @@ $MadelineProto->[contacts->deleteByPhones](contacts.deleteByPhones.md)(\['phones ***

-$MadelineProto->[contacts->deleteContact](contacts.deleteContact.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$contacts\_Link](../types/contacts_Link.md) +$MadelineProto->[contacts->deleteContact](contacts.deleteContact.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$contacts.Link](../types/contacts.Link.md) ***

@@ -448,7 +448,7 @@ $MadelineProto->[contacts->deleteContacts](contacts.deleteContacts.md)(\['id' => ***

-$MadelineProto->[contacts->getBlocked](contacts.getBlocked.md)(\['offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$contacts\_Blocked](../types/contacts_Blocked.md) +$MadelineProto->[contacts->getBlocked](contacts.getBlocked.md)(\['offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$contacts.Blocked](../types/contacts.Blocked.md) ***

@@ -456,7 +456,7 @@ $MadelineProto->[contacts->getContactIDs](contacts.getContactIDs.md)(\['hash' => ***

-$MadelineProto->[contacts->getContacts](contacts.getContacts.md)(\['hash' => [int](../types/int.md), \]) === [$contacts\_Contacts](../types/contacts_Contacts.md) +$MadelineProto->[contacts->getContacts](contacts.getContacts.md)(\['hash' => [int](../types/int.md), \]) === [$contacts.Contacts](../types/contacts.Contacts.md) ***

@@ -468,11 +468,11 @@ $MadelineProto->[contacts->getStatuses](contacts.getStatuses.md)(\[\]) === [$Vec ***

-$MadelineProto->[contacts->getTopPeers](contacts.getTopPeers.md)(\['correspondents' => [Bool](../types/Bool.md), 'bots_pm' => [Bool](../types/Bool.md), 'bots_inline' => [Bool](../types/Bool.md), 'phone_calls' => [Bool](../types/Bool.md), 'groups' => [Bool](../types/Bool.md), 'channels' => [Bool](../types/Bool.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$contacts\_TopPeers](../types/contacts_TopPeers.md) +$MadelineProto->[contacts->getTopPeers](contacts.getTopPeers.md)(\['correspondents' => [Bool](../types/Bool.md), 'bots_pm' => [Bool](../types/Bool.md), 'bots_inline' => [Bool](../types/Bool.md), 'phone_calls' => [Bool](../types/Bool.md), 'groups' => [Bool](../types/Bool.md), 'channels' => [Bool](../types/Bool.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$contacts.TopPeers](../types/contacts.TopPeers.md) ***

-$MadelineProto->[contacts->importContacts](contacts.importContacts.md)(\['contacts' => \[[InputContact](../types/InputContact.md)\], \]) === [$contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) +$MadelineProto->[contacts->importContacts](contacts.importContacts.md)(\['contacts' => \[[InputContact](../types/InputContact.md)\], \]) === [$contacts.ImportedContacts](../types/contacts.ImportedContacts.md) ***

@@ -484,11 +484,11 @@ $MadelineProto->[contacts->resetTopPeerRating](contacts.resetTopPeerRating.md)(\ ***

-$MadelineProto->[contacts->resolveUsername](contacts.resolveUsername.md)(\['username' => [string](../types/string.md), \]) === [$contacts\_ResolvedPeer](../types/contacts_ResolvedPeer.md) +$MadelineProto->[contacts->resolveUsername](contacts.resolveUsername.md)(\['username' => [string](../types/string.md), \]) === [$contacts.ResolvedPeer](../types/contacts.ResolvedPeer.md) ***

-$MadelineProto->[contacts->search](contacts.search.md)(\['q' => [string](../types/string.md), 'limit' => [int](../types/int.md), \]) === [$contacts\_Found](../types/contacts_Found.md) +$MadelineProto->[contacts->search](contacts.search.md)(\['q' => [string](../types/string.md), 'limit' => [int](../types/int.md), \]) === [$contacts.Found](../types/contacts.Found.md) ***

@@ -504,7 +504,7 @@ $MadelineProto->[help->acceptTermsOfService](help.acceptTermsOfService.md)(\['id ***

-$MadelineProto->[help->editUserInfo](help.editUserInfo.md)(\['user_id' => [InputUser](../types/InputUser.md), 'message' => [string](../types/string.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], \]) === [$help\_UserInfo](../types/help_UserInfo.md) +$MadelineProto->[help->editUserInfo](help.editUserInfo.md)(\['user_id' => [InputUser](../types/InputUser.md), 'message' => [string](../types/string.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], \]) === [$help.UserInfo](../types/help.UserInfo.md) ***

@@ -516,7 +516,7 @@ $MadelineProto->[help->getAppConfig](help.getAppConfig.md)(\[\]) === [$JSONValue ***

-$MadelineProto->[help->getAppUpdate](help.getAppUpdate.md)(\['source' => [string](../types/string.md), \]) === [$help\_AppUpdate](../types/help_AppUpdate.md) +$MadelineProto->[help->getAppUpdate](help.getAppUpdate.md)(\['source' => [string](../types/string.md), \]) === [$help.AppUpdate](../types/help.AppUpdate.md) ***

@@ -528,11 +528,11 @@ $MadelineProto->[help->getConfig](help.getConfig.md)(\[\]) === [$Config](../type ***

-$MadelineProto->[help->getDeepLinkInfo](help.getDeepLinkInfo.md)(\['path' => [string](../types/string.md), \]) === [$help\_DeepLinkInfo](../types/help_DeepLinkInfo.md) +$MadelineProto->[help->getDeepLinkInfo](help.getDeepLinkInfo.md)(\['path' => [string](../types/string.md), \]) === [$help.DeepLinkInfo](../types/help.DeepLinkInfo.md) ***

-$MadelineProto->[help->getInviteText](help.getInviteText.md)(\[\]) === [$help\_InviteText](../types/help_InviteText.md) +$MadelineProto->[help->getInviteText](help.getInviteText.md)(\[\]) === [$help.InviteText](../types/help.InviteText.md) ***

@@ -540,31 +540,31 @@ $MadelineProto->[help->getNearestDc](help.getNearestDc.md)(\[\]) === [$NearestDc ***

-$MadelineProto->[help->getPassportConfig](help.getPassportConfig.md)(\['hash' => [int](../types/int.md), \]) === [$help\_PassportConfig](../types/help_PassportConfig.md) +$MadelineProto->[help->getPassportConfig](help.getPassportConfig.md)(\['hash' => [int](../types/int.md), \]) === [$help.PassportConfig](../types/help.PassportConfig.md) ***

-$MadelineProto->[help->getProxyData](help.getProxyData.md)(\[\]) === [$help\_ProxyData](../types/help_ProxyData.md) +$MadelineProto->[help->getProxyData](help.getProxyData.md)(\[\]) === [$help.ProxyData](../types/help.ProxyData.md) ***

-$MadelineProto->[help->getRecentMeUrls](help.getRecentMeUrls.md)(\['referer' => [string](../types/string.md), \]) === [$help\_RecentMeUrls](../types/help_RecentMeUrls.md) +$MadelineProto->[help->getRecentMeUrls](help.getRecentMeUrls.md)(\['referer' => [string](../types/string.md), \]) === [$help.RecentMeUrls](../types/help.RecentMeUrls.md) ***

-$MadelineProto->[help->getSupport](help.getSupport.md)(\[\]) === [$help\_Support](../types/help_Support.md) +$MadelineProto->[help->getSupport](help.getSupport.md)(\[\]) === [$help.Support](../types/help.Support.md) ***

-$MadelineProto->[help->getSupportName](help.getSupportName.md)(\[\]) === [$help\_SupportName](../types/help_SupportName.md) +$MadelineProto->[help->getSupportName](help.getSupportName.md)(\[\]) === [$help.SupportName](../types/help.SupportName.md) ***

-$MadelineProto->[help->getTermsOfServiceUpdate](help.getTermsOfServiceUpdate.md)(\[\]) === [$help\_TermsOfServiceUpdate](../types/help_TermsOfServiceUpdate.md) +$MadelineProto->[help->getTermsOfServiceUpdate](help.getTermsOfServiceUpdate.md)(\[\]) === [$help.TermsOfServiceUpdate](../types/help.TermsOfServiceUpdate.md) ***

-$MadelineProto->[help->getUserInfo](help.getUserInfo.md)(\['user_id' => [InputUser](../types/InputUser.md), \]) === [$help\_UserInfo](../types/help_UserInfo.md) +$MadelineProto->[help->getUserInfo](help.getUserInfo.md)(\['user_id' => [InputUser](../types/InputUser.md), \]) === [$help.UserInfo](../types/help.UserInfo.md) ***

@@ -652,11 +652,11 @@ $MadelineProto->[messages->deleteChatUser](messages.deleteChatUser.md)(\['chat_i ***

-$MadelineProto->[messages->deleteHistory](messages.deleteHistory.md)(\['just_clear' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), \]) === [$messages\_AffectedHistory](../types/messages_AffectedHistory.md) +$MadelineProto->[messages->deleteHistory](messages.deleteHistory.md)(\['just_clear' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), \]) === [$messages.AffectedHistory](../types/messages.AffectedHistory.md) ***

-$MadelineProto->[messages->deleteMessages](messages.deleteMessages.md)(\['revoke' => [Bool](../types/Bool.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) +$MadelineProto->[messages->deleteMessages](messages.deleteMessages.md)(\['revoke' => [Bool](../types/Bool.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages.AffectedMessages](../types/messages.AffectedMessages.md) ***

@@ -704,7 +704,7 @@ $MadelineProto->[messages->forwardMessages](messages.forwardMessages.md)(\['sile ***

-$MadelineProto->[messages->getAllChats](messages.getAllChats.md)(\['except_ids' => \[[int](../types/int.md)\], \]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[messages->getAllChats](messages.getAllChats.md)(\['except_ids' => \[[int](../types/int.md)\], \]) === [$messages.Chats](../types/messages.Chats.md) ***

@@ -712,11 +712,11 @@ $MadelineProto->[messages->getAllDrafts](messages.getAllDrafts.md)(\[\]) === [$U ***

-$MadelineProto->[messages->getAllStickers](messages.getAllStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages\_AllStickers](../types/messages_AllStickers.md) +$MadelineProto->[messages->getAllStickers](messages.getAllStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages.AllStickers](../types/messages.AllStickers.md) ***

-$MadelineProto->[messages->getArchivedStickers](messages.getArchivedStickers.md)(\['masks' => [Bool](../types/Bool.md), 'offset_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$messages\_ArchivedStickers](../types/messages_ArchivedStickers.md) +$MadelineProto->[messages->getArchivedStickers](messages.getArchivedStickers.md)(\['masks' => [Bool](../types/Bool.md), 'offset_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$messages.ArchivedStickers](../types/messages.ArchivedStickers.md) ***

@@ -724,19 +724,19 @@ $MadelineProto->[messages->getAttachedStickers](messages.getAttachedStickers.md) ***

-$MadelineProto->[messages->getBotCallbackAnswer](messages.getBotCallbackAnswer.md)(\['game' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'msg_id' => [int](../types/int.md), 'data' => [bytes](../types/bytes.md), \]) === [$messages\_BotCallbackAnswer](../types/messages_BotCallbackAnswer.md) +$MadelineProto->[messages->getBotCallbackAnswer](messages.getBotCallbackAnswer.md)(\['game' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'msg_id' => [int](../types/int.md), 'data' => [bytes](../types/bytes.md), \]) === [$messages.BotCallbackAnswer](../types/messages.BotCallbackAnswer.md) ***

-$MadelineProto->[messages->getChats](messages.getChats.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[messages->getChats](messages.getChats.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages.Chats](../types/messages.Chats.md) ***

-$MadelineProto->[messages->getCommonChats](messages.getCommonChats.md)(\['user_id' => [InputUser](../types/InputUser.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[messages->getCommonChats](messages.getCommonChats.md)(\['user_id' => [InputUser](../types/InputUser.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages.Chats](../types/messages.Chats.md) ***

-$MadelineProto->[messages->getDhConfig](messages.getDhConfig.md)(\['version' => [int](../types/int.md), 'random_length' => [int](../types/int.md), \]) === [$messages\_DhConfig](../types/messages_DhConfig.md) +$MadelineProto->[messages->getDhConfig](messages.getDhConfig.md)(\['version' => [int](../types/int.md), 'random_length' => [int](../types/int.md), \]) === [$messages.DhConfig](../types/messages.DhConfig.md) ***

@@ -744,7 +744,7 @@ $MadelineProto->[messages->getDialogUnreadMarks](messages.getDialogUnreadMarks.m ***

-$MadelineProto->[messages->getDialogs](messages.getDialogs.md)(\['exclude_pinned' => [Bool](../types/Bool.md), 'offset_date' => [int](../types/int.md), 'offset_id' => [int](../types/int.md), 'offset_peer' => [InputPeer](../types/InputPeer.md), 'limit' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$messages\_Dialogs](../types/messages_Dialogs.md) +$MadelineProto->[messages->getDialogs](messages.getDialogs.md)(\['exclude_pinned' => [Bool](../types/Bool.md), 'offset_date' => [int](../types/int.md), 'offset_id' => [int](../types/int.md), 'offset_peer' => [InputPeer](../types/InputPeer.md), 'limit' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$messages.Dialogs](../types/messages.Dialogs.md) ***

@@ -752,43 +752,43 @@ $MadelineProto->[messages->getDocumentByHash](messages.getDocumentByHash.md)(\[' ***

-$MadelineProto->[messages->getFavedStickers](messages.getFavedStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages\_FavedStickers](../types/messages_FavedStickers.md) +$MadelineProto->[messages->getFavedStickers](messages.getFavedStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages.FavedStickers](../types/messages.FavedStickers.md) ***

-$MadelineProto->[messages->getFeaturedStickers](messages.getFeaturedStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages\_FeaturedStickers](../types/messages_FeaturedStickers.md) +$MadelineProto->[messages->getFeaturedStickers](messages.getFeaturedStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages.FeaturedStickers](../types/messages.FeaturedStickers.md) ***

-$MadelineProto->[messages->getFullChat](messages.getFullChat.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), \]) === [$messages\_ChatFull](../types/messages_ChatFull.md) +$MadelineProto->[messages->getFullChat](messages.getFullChat.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), \]) === [$messages.ChatFull](../types/messages.ChatFull.md) ***

-$MadelineProto->[messages->getGameHighScores](messages.getGameHighScores.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages\_HighScores](../types/messages_HighScores.md) +$MadelineProto->[messages->getGameHighScores](messages.getGameHighScores.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages.HighScores](../types/messages.HighScores.md) ***

-$MadelineProto->[messages->getHistory](messages.getHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'offset_date' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->getHistory](messages.getHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'offset_date' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[messages->getInlineBotResults](messages.getInlineBotResults.md)(\['bot' => [InputUser](../types/InputUser.md), 'peer' => [InputPeer](../types/InputPeer.md), 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'query' => [string](../types/string.md), 'offset' => [string](../types/string.md), \]) === [$messages\_BotResults](../types/messages_BotResults.md) +$MadelineProto->[messages->getInlineBotResults](messages.getInlineBotResults.md)(\['bot' => [InputUser](../types/InputUser.md), 'peer' => [InputPeer](../types/InputPeer.md), 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'query' => [string](../types/string.md), 'offset' => [string](../types/string.md), \]) === [$messages.BotResults](../types/messages.BotResults.md) ***

-$MadelineProto->[messages->getInlineGameHighScores](messages.getInlineGameHighScores.md)(\['id' => [InputBotInlineMessageID](../types/InputBotInlineMessageID.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages\_HighScores](../types/messages_HighScores.md) +$MadelineProto->[messages->getInlineGameHighScores](messages.getInlineGameHighScores.md)(\['id' => [InputBotInlineMessageID](../types/InputBotInlineMessageID.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages.HighScores](../types/messages.HighScores.md) ***

-$MadelineProto->[messages->getMaskStickers](messages.getMaskStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages\_AllStickers](../types/messages_AllStickers.md) +$MadelineProto->[messages->getMaskStickers](messages.getMaskStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages.AllStickers](../types/messages.AllStickers.md) ***

-$MadelineProto->[messages->getMessageEditData](messages.getMessageEditData.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), \]) === [$messages\_MessageEditData](../types/messages_MessageEditData.md) +$MadelineProto->[messages->getMessageEditData](messages.getMessageEditData.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), \]) === [$messages.MessageEditData](../types/messages.MessageEditData.md) ***

-$MadelineProto->[messages->getMessages](messages.getMessages.md)(\['id' => \[[InputMessage](../types/InputMessage.md)\], \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->getMessages](messages.getMessages.md)(\['id' => \[[InputMessage](../types/InputMessage.md)\], \]) === [$messages.Messages](../types/messages.Messages.md) ***

@@ -800,7 +800,7 @@ $MadelineProto->[messages->getOnlines](messages.getOnlines.md)(\['peer' => [Inpu ***

-$MadelineProto->[messages->getPeerDialogs](messages.getPeerDialogs.md)(\['peers' => \[[InputDialogPeer](../types/InputDialogPeer.md)\], \]) === [$messages\_PeerDialogs](../types/messages_PeerDialogs.md) +$MadelineProto->[messages->getPeerDialogs](messages.getPeerDialogs.md)(\['peers' => \[[InputDialogPeer](../types/InputDialogPeer.md)\], \]) === [$messages.PeerDialogs](../types/messages.PeerDialogs.md) ***

@@ -808,7 +808,7 @@ $MadelineProto->[messages->getPeerSettings](messages.getPeerSettings.md)(\['peer ***

-$MadelineProto->[messages->getPinnedDialogs](messages.getPinnedDialogs.md)(\[\]) === [$messages\_PeerDialogs](../types/messages_PeerDialogs.md) +$MadelineProto->[messages->getPinnedDialogs](messages.getPinnedDialogs.md)(\[\]) === [$messages.PeerDialogs](../types/messages.PeerDialogs.md) ***

@@ -816,15 +816,15 @@ $MadelineProto->[messages->getPollResults](messages.getPollResults.md)(\['peer' ***

-$MadelineProto->[messages->getRecentLocations](messages.getRecentLocations.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'limit' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->getRecentLocations](messages.getRecentLocations.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'limit' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[messages->getRecentStickers](messages.getRecentStickers.md)(\['attached' => [Bool](../types/Bool.md), 'hash' => [int](../types/int.md), \]) === [$messages\_RecentStickers](../types/messages_RecentStickers.md) +$MadelineProto->[messages->getRecentStickers](messages.getRecentStickers.md)(\['attached' => [Bool](../types/Bool.md), 'hash' => [int](../types/int.md), \]) === [$messages.RecentStickers](../types/messages.RecentStickers.md) ***

-$MadelineProto->[messages->getSavedGifs](messages.getSavedGifs.md)(\['hash' => [int](../types/int.md), \]) === [$messages\_SavedGifs](../types/messages_SavedGifs.md) +$MadelineProto->[messages->getSavedGifs](messages.getSavedGifs.md)(\['hash' => [int](../types/int.md), \]) === [$messages.SavedGifs](../types/messages.SavedGifs.md) ***

@@ -836,15 +836,15 @@ $MadelineProto->[messages->getStatsURL](messages.getStatsURL.md)(\['peer' => [In ***

-$MadelineProto->[messages->getStickerSet](messages.getStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), \]) === [$messages\_StickerSet](../types/messages_StickerSet.md) +$MadelineProto->[messages->getStickerSet](messages.getStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), \]) === [$messages.StickerSet](../types/messages.StickerSet.md) ***

-$MadelineProto->[messages->getStickers](messages.getStickers.md)(\['emoticon' => [string](../types/string.md), 'hash' => [int](../types/int.md), \]) === [$messages\_Stickers](../types/messages_Stickers.md) +$MadelineProto->[messages->getStickers](messages.getStickers.md)(\['emoticon' => [string](../types/string.md), 'hash' => [int](../types/int.md), \]) === [$messages.Stickers](../types/messages.Stickers.md) ***

-$MadelineProto->[messages->getUnreadMentions](messages.getUnreadMentions.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->getUnreadMentions](messages.getUnreadMentions.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

@@ -864,7 +864,7 @@ $MadelineProto->[messages->importChatInvite](messages.importChatInvite.md)(\['ha ***

-$MadelineProto->[messages->installStickerSet](messages.installStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), 'archived' => [Bool](../types/Bool.md), \]) === [$messages\_StickerSetInstallResult](../types/messages_StickerSetInstallResult.md) +$MadelineProto->[messages->installStickerSet](messages.installStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), 'archived' => [Bool](../types/Bool.md), \]) === [$messages.StickerSetInstallResult](../types/messages.StickerSetInstallResult.md) ***

@@ -884,15 +884,15 @@ $MadelineProto->[messages->readFeaturedStickers](messages.readFeaturedStickers.m ***

-$MadelineProto->[messages->readHistory](messages.readHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), \]) === [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) +$MadelineProto->[messages->readHistory](messages.readHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), \]) === [$messages.AffectedMessages](../types/messages.AffectedMessages.md) ***

-$MadelineProto->[messages->readMentions](messages.readMentions.md)(\['peer' => [InputPeer](../types/InputPeer.md), \]) === [$messages\_AffectedHistory](../types/messages_AffectedHistory.md) +$MadelineProto->[messages->readMentions](messages.readMentions.md)(\['peer' => [InputPeer](../types/InputPeer.md), \]) === [$messages.AffectedHistory](../types/messages.AffectedHistory.md) ***

-$MadelineProto->[messages->readMessageContents](messages.readMessageContents.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) +$MadelineProto->[messages->readMessageContents](messages.readMessageContents.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages.AffectedMessages](../types/messages.AffectedMessages.md) ***

@@ -940,31 +940,31 @@ $MadelineProto->[messages->saveRecentSticker](messages.saveRecentSticker.md)(\[' ***

-$MadelineProto->[messages->search](messages.search.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'q' => [string](../types/string.md), 'from_id' => [InputUser](../types/InputUser.md), 'filter' => [MessagesFilter](../types/MessagesFilter.md), 'min_date' => [int](../types/int.md), 'max_date' => [int](../types/int.md), 'offset_id' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->search](messages.search.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'q' => [string](../types/string.md), 'from_id' => [InputUser](../types/InputUser.md), 'filter' => [MessagesFilter](../types/MessagesFilter.md), 'min_date' => [int](../types/int.md), 'max_date' => [int](../types/int.md), 'offset_id' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[messages->searchGifs](messages.searchGifs.md)(\['q' => [string](../types/string.md), 'offset' => [int](../types/int.md), \]) === [$messages\_FoundGifs](../types/messages_FoundGifs.md) +$MadelineProto->[messages->searchGifs](messages.searchGifs.md)(\['q' => [string](../types/string.md), 'offset' => [int](../types/int.md), \]) === [$messages.FoundGifs](../types/messages.FoundGifs.md) ***

-$MadelineProto->[messages->searchGlobal](messages.searchGlobal.md)(\['q' => [string](../types/string.md), 'offset_date' => [int](../types/int.md), 'offset_peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->searchGlobal](messages.searchGlobal.md)(\['q' => [string](../types/string.md), 'offset_date' => [int](../types/int.md), 'offset_peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[messages->searchStickerSets](messages.searchStickerSets.md)(\['exclude_featured' => [Bool](../types/Bool.md), 'q' => [string](../types/string.md), 'hash' => [int](../types/int.md), \]) === [$messages\_FoundStickerSets](../types/messages_FoundStickerSets.md) +$MadelineProto->[messages->searchStickerSets](messages.searchStickerSets.md)(\['exclude_featured' => [Bool](../types/Bool.md), 'q' => [string](../types/string.md), 'hash' => [int](../types/int.md), \]) === [$messages.FoundStickerSets](../types/messages.FoundStickerSets.md) ***

-$MadelineProto->[messages->sendEncrypted](messages.sendEncrypted.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'message' => [DecryptedMessage](../types/DecryptedMessage.md), \]) === [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +$MadelineProto->[messages->sendEncrypted](messages.sendEncrypted.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), \]) === [$messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ***

-$MadelineProto->[messages->sendEncryptedFile](messages.sendEncryptedFile.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'message' => [DecryptedMessage](../types/DecryptedMessage.md), 'file' => [InputEncryptedFile](../types/InputEncryptedFile.md), \]) === [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +$MadelineProto->[messages->sendEncryptedFile](messages.sendEncryptedFile.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), 'file' => [InputEncryptedFile](../types/InputEncryptedFile.md), \]) === [$messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ***

-$MadelineProto->[messages->sendEncryptedService](messages.sendEncryptedService.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'message' => [DecryptedMessage](../types/DecryptedMessage.md), \]) === [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +$MadelineProto->[messages->sendEncryptedService](messages.sendEncryptedService.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), \]) === [$messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ***

@@ -1052,31 +1052,31 @@ $MadelineProto->[payments->clearSavedInfo](payments.clearSavedInfo.md)(\['creden ***

-$MadelineProto->[payments->getPaymentForm](payments.getPaymentForm.md)(\['msg_id' => [int](../types/int.md), \]) === [$payments\_PaymentForm](../types/payments_PaymentForm.md) +$MadelineProto->[payments->getPaymentForm](payments.getPaymentForm.md)(\['msg_id' => [int](../types/int.md), \]) === [$payments.PaymentForm](../types/payments.PaymentForm.md) ***

-$MadelineProto->[payments->getPaymentReceipt](payments.getPaymentReceipt.md)(\['msg_id' => [int](../types/int.md), \]) === [$payments\_PaymentReceipt](../types/payments_PaymentReceipt.md) +$MadelineProto->[payments->getPaymentReceipt](payments.getPaymentReceipt.md)(\['msg_id' => [int](../types/int.md), \]) === [$payments.PaymentReceipt](../types/payments.PaymentReceipt.md) ***

-$MadelineProto->[payments->getSavedInfo](payments.getSavedInfo.md)(\[\]) === [$payments\_SavedInfo](../types/payments_SavedInfo.md) +$MadelineProto->[payments->getSavedInfo](payments.getSavedInfo.md)(\[\]) === [$payments.SavedInfo](../types/payments.SavedInfo.md) ***

-$MadelineProto->[payments->sendPaymentForm](payments.sendPaymentForm.md)(\['msg_id' => [int](../types/int.md), 'requested_info_id' => [string](../types/string.md), 'shipping_option_id' => [string](../types/string.md), 'credentials' => [InputPaymentCredentials](../types/InputPaymentCredentials.md), \]) === [$payments\_PaymentResult](../types/payments_PaymentResult.md) +$MadelineProto->[payments->sendPaymentForm](payments.sendPaymentForm.md)(\['msg_id' => [int](../types/int.md), 'requested_info_id' => [string](../types/string.md), 'shipping_option_id' => [string](../types/string.md), 'credentials' => [InputPaymentCredentials](../types/InputPaymentCredentials.md), \]) === [$payments.PaymentResult](../types/payments.PaymentResult.md) ***

-$MadelineProto->[payments->validateRequestedInfo](payments.validateRequestedInfo.md)(\['save' => [Bool](../types/Bool.md), 'msg_id' => [int](../types/int.md), 'info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), \]) === [$payments\_ValidatedRequestedInfo](../types/payments_ValidatedRequestedInfo.md) +$MadelineProto->[payments->validateRequestedInfo](payments.validateRequestedInfo.md)(\['save' => [Bool](../types/Bool.md), 'msg_id' => [int](../types/int.md), 'info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), \]) === [$payments.ValidatedRequestedInfo](../types/payments.ValidatedRequestedInfo.md) ***

-$MadelineProto->[phone->acceptCall](phone.acceptCall.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'g_b' => [bytes](../types/bytes.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone\_PhoneCall](../types/phone_PhoneCall.md) +$MadelineProto->[phone->acceptCall](phone.acceptCall.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'g_b' => [bytes](../types/bytes.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone.PhoneCall](../types/phone.PhoneCall.md) ***

-$MadelineProto->[phone->confirmCall](phone.confirmCall.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'g_a' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone\_PhoneCall](../types/phone_PhoneCall.md) +$MadelineProto->[phone->confirmCall](phone.confirmCall.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'g_a' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone.PhoneCall](../types/phone.PhoneCall.md) ***

@@ -1092,7 +1092,7 @@ $MadelineProto->[phone->receivedCall](phone.receivedCall.md)(\['peer' => [InputP ***

-$MadelineProto->[phone->requestCall](phone.requestCall.md)(\['user_id' => [InputUser](../types/InputUser.md), 'g_a_hash' => [bytes](../types/bytes.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone\_PhoneCall](../types/phone_PhoneCall.md) +$MadelineProto->[phone->requestCall](phone.requestCall.md)(\['user_id' => [InputUser](../types/InputUser.md), 'g_a_hash' => [bytes](../types/bytes.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone.PhoneCall](../types/phone.PhoneCall.md) ***

@@ -1108,7 +1108,7 @@ $MadelineProto->[photos->deletePhotos](photos.deletePhotos.md)(\['id' => \[[Inpu ***

-$MadelineProto->[photos->getUserPhotos](photos.getUserPhotos.md)(\['user_id' => [InputUser](../types/InputUser.md), 'offset' => [int](../types/int.md), 'max_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$photos\_Photos](../types/photos_Photos.md) +$MadelineProto->[photos->getUserPhotos](photos.getUserPhotos.md)(\['user_id' => [InputUser](../types/InputUser.md), 'offset' => [int](../types/int.md), 'max_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$photos.Photos](../types/photos.Photos.md) ***

@@ -1116,39 +1116,39 @@ $MadelineProto->[photos->updateProfilePhoto](photos.updateProfilePhoto.md)(\['id ***

-$MadelineProto->[photos->uploadProfilePhoto](photos.uploadProfilePhoto.md)(\['file' => [InputFile](../types/InputFile.md), \]) === [$photos\_Photo](../types/photos_Photo.md) +$MadelineProto->[photos->uploadProfilePhoto](photos.uploadProfilePhoto.md)(\['file' => [InputFile](../types/InputFile.md), \]) === [$photos.Photo](../types/photos.Photo.md) ***

-$MadelineProto->[stickers->addStickerToSet](stickers.addStickerToSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), 'sticker' => [InputStickerSetItem](../types/InputStickerSetItem.md), \]) === [$messages\_StickerSet](../types/messages_StickerSet.md) +$MadelineProto->[stickers->addStickerToSet](stickers.addStickerToSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), 'sticker' => [InputStickerSetItem](../types/InputStickerSetItem.md), \]) === [$messages.StickerSet](../types/messages.StickerSet.md) ***

-$MadelineProto->[stickers->changeStickerPosition](stickers.changeStickerPosition.md)(\['sticker' => [InputDocument](../types/InputDocument.md), 'position' => [int](../types/int.md), \]) === [$messages\_StickerSet](../types/messages_StickerSet.md) +$MadelineProto->[stickers->changeStickerPosition](stickers.changeStickerPosition.md)(\['sticker' => [InputDocument](../types/InputDocument.md), 'position' => [int](../types/int.md), \]) === [$messages.StickerSet](../types/messages.StickerSet.md) ***

-$MadelineProto->[stickers->createStickerSet](stickers.createStickerSet.md)(\['masks' => [Bool](../types/Bool.md), 'user_id' => [InputUser](../types/InputUser.md), 'title' => [string](../types/string.md), 'short_name' => [string](../types/string.md), 'stickers' => \[[InputStickerSetItem](../types/InputStickerSetItem.md)\], \]) === [$messages\_StickerSet](../types/messages_StickerSet.md) +$MadelineProto->[stickers->createStickerSet](stickers.createStickerSet.md)(\['masks' => [Bool](../types/Bool.md), 'user_id' => [InputUser](../types/InputUser.md), 'title' => [string](../types/string.md), 'short_name' => [string](../types/string.md), 'stickers' => \[[InputStickerSetItem](../types/InputStickerSetItem.md)\], \]) === [$messages.StickerSet](../types/messages.StickerSet.md) ***

-$MadelineProto->[stickers->removeStickerFromSet](stickers.removeStickerFromSet.md)(\['sticker' => [InputDocument](../types/InputDocument.md), \]) === [$messages\_StickerSet](../types/messages_StickerSet.md) +$MadelineProto->[stickers->removeStickerFromSet](stickers.removeStickerFromSet.md)(\['sticker' => [InputDocument](../types/InputDocument.md), \]) === [$messages.StickerSet](../types/messages.StickerSet.md) ***

-$MadelineProto->[updates->getChannelDifference](updates.getChannelDifference.md)(\['force' => [Bool](../types/Bool.md), 'channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$updates\_ChannelDifference](../types/updates_ChannelDifference.md) +$MadelineProto->[updates->getChannelDifference](updates.getChannelDifference.md)(\['force' => [Bool](../types/Bool.md), 'channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$updates.ChannelDifference](../types/updates.ChannelDifference.md) ***

-$MadelineProto->[updates->getDifference](updates.getDifference.md)(\['pts' => [int](../types/int.md), 'pts_total_limit' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) === [$updates\_Difference](../types/updates_Difference.md) +$MadelineProto->[updates->getDifference](updates.getDifference.md)(\['pts' => [int](../types/int.md), 'pts_total_limit' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) === [$updates.Difference](../types/updates.Difference.md) ***

-$MadelineProto->[updates->getState](updates.getState.md)(\[\]) === [$updates\_State](../types/updates_State.md) +$MadelineProto->[updates->getState](updates.getState.md)(\[\]) === [$updates.State](../types/updates.State.md) ***

-$MadelineProto->[upload->getCdnFile](upload.getCdnFile.md)(\['file_token' => [bytes](../types/bytes.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_CdnFile](../types/upload_CdnFile.md) +$MadelineProto->[upload->getCdnFile](upload.getCdnFile.md)(\['file_token' => [bytes](../types/bytes.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload.CdnFile](../types/upload.CdnFile.md) ***

@@ -1156,7 +1156,7 @@ $MadelineProto->[upload->getCdnFileHashes](upload.getCdnFileHashes.md)(\['file_t ***

-$MadelineProto->[upload->getFile](upload.getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_File](../types/upload_File.md) +$MadelineProto->[upload->getFile](upload.getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload.File](../types/upload.File.md) ***

@@ -1164,7 +1164,7 @@ $MadelineProto->[upload->getFileHashes](upload.getFileHashes.md)(\['location' => ***

-$MadelineProto->[upload->getWebFile](upload.getWebFile.md)(\['location' => [InputWebFileLocation](../types/InputWebFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_WebFile](../types/upload_WebFile.md) +$MadelineProto->[upload->getWebFile](upload.getWebFile.md)(\['location' => [InputWebFileLocation](../types/InputWebFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload.WebFile](../types/upload.WebFile.md) ***

diff --git a/old_docs/API_docs_v95/methods/auth.checkPassword.md b/old_docs/API_docs_v95/methods/auth.checkPassword.md index ad2a88a2..510e6c03 100644 --- a/old_docs/API_docs_v95/methods/auth.checkPassword.md +++ b/old_docs/API_docs_v95/methods/auth.checkPassword.md @@ -16,7 +16,7 @@ You cannot use this method directly, use the complete_2fa_login method instead ( |password|[InputCheckPasswordSRP](../types/InputCheckPasswordSRP.md) | You cannot use this method directly, use the complete_2fa_login method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->checkPassword(['password' => InputCheckPasswordSRP, ]); +$auth.Authorization = $MadelineProto->auth->checkPassword(['password' => InputCheckPasswordSRP, ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.checkPassword({password=InputCheckPasswordSRP, }) +auth.Authorization = auth.checkPassword({password=InputCheckPasswordSRP, }) ``` ### Errors diff --git a/old_docs/API_docs_v95/methods/auth.exportAuthorization.md b/old_docs/API_docs_v95/methods/auth.exportAuthorization.md index 72063a2b..41a1f87d 100644 --- a/old_docs/API_docs_v95/methods/auth.exportAuthorization.md +++ b/old_docs/API_docs_v95/methods/auth.exportAuthorization.md @@ -16,7 +16,7 @@ You cannot use this method directly, use $MadelineProto->exportAuthorization() i |dc\_id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| -### Return type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) +### Return type: [auth.ExportedAuthorization](../types/auth.ExportedAuthorization.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_ExportedAuthorization = $MadelineProto->auth->exportAuthorization(['dc_id' => int, ]); +$auth.ExportedAuthorization = $MadelineProto->auth->exportAuthorization(['dc_id' => int, ]); ``` Or, if you're into Lua: ```lua -auth_ExportedAuthorization = auth.exportAuthorization({dc_id=int, }) +auth.ExportedAuthorization = auth.exportAuthorization({dc_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v95/methods/auth.importAuthorization.md b/old_docs/API_docs_v95/methods/auth.importAuthorization.md index d9c13751..5257e0b0 100644 --- a/old_docs/API_docs_v95/methods/auth.importAuthorization.md +++ b/old_docs/API_docs_v95/methods/auth.importAuthorization.md @@ -17,7 +17,7 @@ You cannot use this method directly, use $MadelineProto->importAuthorization($au |bytes|[bytes](../types/bytes.md) | You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => 'bytes', ]); +$auth.Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.importAuthorization({id=int, bytes='bytes', }) +auth.Authorization = auth.importAuthorization({id=int, bytes='bytes', }) ``` ### Errors diff --git a/old_docs/API_docs_v95/methods/auth.importBotAuthorization.md b/old_docs/API_docs_v95/methods/auth.importBotAuthorization.md index 3161d6be..a4ea8027 100644 --- a/old_docs/API_docs_v95/methods/auth.importBotAuthorization.md +++ b/old_docs/API_docs_v95/methods/auth.importBotAuthorization.md @@ -18,7 +18,7 @@ You cannot use this method directly, use the botLogin method instead (see https: |bot\_auth\_token|[string](../types/string.md) | You cannot use this method directly, use the botLogin method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **YES** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->importBotAuthorization(['api_id' => int, 'api_hash' => 'string', 'bot_auth_token' => 'string', ]); +$auth.Authorization = $MadelineProto->auth->importBotAuthorization(['api_id' => int, 'api_hash' => 'string', 'bot_auth_token' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.importBotAuthorization({api_id=int, api_hash='string', bot_auth_token='string', }) +auth.Authorization = auth.importBotAuthorization({api_id=int, api_hash='string', bot_auth_token='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v95/methods/auth.recoverPassword.md b/old_docs/API_docs_v95/methods/auth.recoverPassword.md index f7cbf4a4..2e78444b 100644 --- a/old_docs/API_docs_v95/methods/auth.recoverPassword.md +++ b/old_docs/API_docs_v95/methods/auth.recoverPassword.md @@ -16,7 +16,7 @@ Reset the [2FA password](https://core.telegram.org/api/srp) using the recovery c |code|[string](../types/string.md) | Code received via email | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->recoverPassword(['code' => 'string', ]); +$auth.Authorization = $MadelineProto->auth->recoverPassword(['code' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.recoverPassword({code='string', }) +auth.Authorization = auth.recoverPassword({code='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v95/methods/auth.requestPasswordRecovery.md b/old_docs/API_docs_v95/methods/auth.requestPasswordRecovery.md index 5cd77936..ff1ecc02 100644 --- a/old_docs/API_docs_v95/methods/auth.requestPasswordRecovery.md +++ b/old_docs/API_docs_v95/methods/auth.requestPasswordRecovery.md @@ -11,7 +11,7 @@ Request recovery code of a [2FA password](https://core.telegram.org/api/srp), on -### Return type: [auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) +### Return type: [auth.PasswordRecovery](../types/auth.PasswordRecovery.md) ### Can bots use this method: **NO** @@ -28,13 +28,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_PasswordRecovery = $MadelineProto->auth->requestPasswordRecovery(); +$auth.PasswordRecovery = $MadelineProto->auth->requestPasswordRecovery(); ``` Or, if you're into Lua: ```lua -auth_PasswordRecovery = auth.requestPasswordRecovery({}) +auth.PasswordRecovery = auth.requestPasswordRecovery({}) ``` ### Errors diff --git a/old_docs/API_docs_v95/methods/auth.resendCode.md b/old_docs/API_docs_v95/methods/auth.resendCode.md index a395a91b..f59f1b7b 100644 --- a/old_docs/API_docs_v95/methods/auth.resendCode.md +++ b/old_docs/API_docs_v95/methods/auth.resendCode.md @@ -17,7 +17,7 @@ Resend the login code via another medium, the phone code type is determined by t |phone\_code\_hash|[string](../types/string.md) | The phone code hash obtained from [auth.sendCode](../methods/auth.sendCode.md) | Yes| -### Return type: [auth\_SentCode](../types/auth_SentCode.md) +### Return type: [auth.SentCode](../types/auth.SentCode.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_SentCode = $MadelineProto->auth->resendCode(['phone_number' => 'string', 'phone_code_hash' => 'string', ]); +$auth.SentCode = $MadelineProto->auth->resendCode(['phone_number' => 'string', 'phone_code_hash' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_SentCode = auth.resendCode({phone_number='string', phone_code_hash='string', }) +auth.SentCode = auth.resendCode({phone_number='string', phone_code_hash='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v95/methods/auth.sendCode.md b/old_docs/API_docs_v95/methods/auth.sendCode.md index be14f1bf..cb94998f 100644 --- a/old_docs/API_docs_v95/methods/auth.sendCode.md +++ b/old_docs/API_docs_v95/methods/auth.sendCode.md @@ -19,7 +19,7 @@ You cannot use this method directly, use the phoneLogin method instead (see http |settings|[CodeSettings](../types/CodeSettings.md) | You cannot use this method directly, use the phoneLogin method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_SentCode](../types/auth_SentCode.md) +### Return type: [auth.SentCode](../types/auth.SentCode.md) ### Can bots use this method: **NO** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_SentCode = $MadelineProto->auth->sendCode(['phone_number' => 'string', 'api_id' => int, 'api_hash' => 'string', 'settings' => CodeSettings, ]); +$auth.SentCode = $MadelineProto->auth->sendCode(['phone_number' => 'string', 'api_id' => int, 'api_hash' => 'string', 'settings' => CodeSettings, ]); ``` Or, if you're into Lua: ```lua -auth_SentCode = auth.sendCode({phone_number='string', api_id=int, api_hash='string', settings=CodeSettings, }) +auth.SentCode = auth.sendCode({phone_number='string', api_id=int, api_hash='string', settings=CodeSettings, }) ``` ### Errors diff --git a/old_docs/API_docs_v95/methods/auth.signIn.md b/old_docs/API_docs_v95/methods/auth.signIn.md index 54812a2e..95b14f32 100644 --- a/old_docs/API_docs_v95/methods/auth.signIn.md +++ b/old_docs/API_docs_v95/methods/auth.signIn.md @@ -18,7 +18,7 @@ You cannot use this method directly, use the completePhoneLogin method instead ( |phone\_code|[string](../types/string.md) | You cannot use this method directly, use the completePhoneLogin method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->signIn(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', ]); +$auth.Authorization = $MadelineProto->auth->signIn(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.signIn({phone_number='string', phone_code_hash='string', phone_code='string', }) +auth.Authorization = auth.signIn({phone_number='string', phone_code_hash='string', phone_code='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v95/methods/auth.signUp.md b/old_docs/API_docs_v95/methods/auth.signUp.md index 2aca2bfa..fdb5d628 100644 --- a/old_docs/API_docs_v95/methods/auth.signUp.md +++ b/old_docs/API_docs_v95/methods/auth.signUp.md @@ -20,7 +20,7 @@ You cannot use this method directly, use the completeSignup method instead (see |last\_name|[string](../types/string.md) | You cannot use this method directly, use the completeSignup method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **NO** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->signUp(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', 'first_name' => 'string', 'last_name' => 'string', ]); +$auth.Authorization = $MadelineProto->auth->signUp(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', 'first_name' => 'string', 'last_name' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.signUp({phone_number='string', phone_code_hash='string', phone_code='string', first_name='string', last_name='string', }) +auth.Authorization = auth.signUp({phone_number='string', phone_code_hash='string', phone_code='string', first_name='string', last_name='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v95/methods/channels.deleteMessages.md b/old_docs/API_docs_v95/methods/channels.deleteMessages.md index 10a439fb..8583e560 100644 --- a/old_docs/API_docs_v95/methods/channels.deleteMessages.md +++ b/old_docs/API_docs_v95/methods/channels.deleteMessages.md @@ -17,7 +17,7 @@ Delete messages in a [channel/supergroup](https://core.telegram.org/api/channel) |id|Array of [int](../types/int.md) | The IDs of messages to delete | Yes| -### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) +### Return type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedMessages = $MadelineProto->channels->deleteMessages(['channel' => InputChannel, 'id' => [int, int], ]); +$messages.AffectedMessages = $MadelineProto->channels->deleteMessages(['channel' => InputChannel, 'id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AffectedMessages = channels.deleteMessages({channel=InputChannel, id={int}, }) +messages.AffectedMessages = channels.deleteMessages({channel=InputChannel, id={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v95/methods/channels.deleteUserHistory.md b/old_docs/API_docs_v95/methods/channels.deleteUserHistory.md index 9b8b159f..6ccaf7dd 100644 --- a/old_docs/API_docs_v95/methods/channels.deleteUserHistory.md +++ b/old_docs/API_docs_v95/methods/channels.deleteUserHistory.md @@ -17,7 +17,7 @@ Delete all messages sent by a certain user in a [supergroup](https://core.telegr |user\_id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | User whose messages should be deleted | Optional| -### Return type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) +### Return type: [messages.AffectedHistory](../types/messages.AffectedHistory.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedHistory = $MadelineProto->channels->deleteUserHistory(['channel' => InputChannel, 'user_id' => InputUser, ]); +$messages.AffectedHistory = $MadelineProto->channels->deleteUserHistory(['channel' => InputChannel, 'user_id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -messages_AffectedHistory = channels.deleteUserHistory({channel=InputChannel, user_id=InputUser, }) +messages.AffectedHistory = channels.deleteUserHistory({channel=InputChannel, user_id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v95/methods/channels.getAdminLog.md b/old_docs/API_docs_v95/methods/channels.getAdminLog.md index e149f653..3b550a73 100644 --- a/old_docs/API_docs_v95/methods/channels.getAdminLog.md +++ b/old_docs/API_docs_v95/methods/channels.getAdminLog.md @@ -22,7 +22,7 @@ Get the admin log of a [channel/supergroup](https://core.telegram.org/api/channe |limit|[int](../types/int.md) | Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets) | Yes| -### Return type: [channels\_AdminLogResults](../types/channels_AdminLogResults.md) +### Return type: [channels.AdminLogResults](../types/channels.AdminLogResults.md) ### Can bots use this method: **NO** @@ -39,13 +39,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$channels_AdminLogResults = $MadelineProto->channels->getAdminLog(['channel' => InputChannel, 'q' => 'string', 'events_filter' => ChannelAdminLogEventsFilter, 'admins' => [InputUser, InputUser], 'max_id' => long, 'min_id' => long, 'limit' => int, ]); +$channels.AdminLogResults = $MadelineProto->channels->getAdminLog(['channel' => InputChannel, 'q' => 'string', 'events_filter' => ChannelAdminLogEventsFilter, 'admins' => [InputUser, InputUser], 'max_id' => long, 'min_id' => long, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -channels_AdminLogResults = channels.getAdminLog({channel=InputChannel, q='string', events_filter=ChannelAdminLogEventsFilter, admins={InputUser}, max_id=long, min_id=long, limit=int, }) +channels.AdminLogResults = channels.getAdminLog({channel=InputChannel, q='string', events_filter=ChannelAdminLogEventsFilter, admins={InputUser}, max_id=long, min_id=long, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v95/methods/channels.getAdminedPublicChannels.md b/old_docs/API_docs_v95/methods/channels.getAdminedPublicChannels.md index 55a686ca..eb277404 100644 --- a/old_docs/API_docs_v95/methods/channels.getAdminedPublicChannels.md +++ b/old_docs/API_docs_v95/methods/channels.getAdminedPublicChannels.md @@ -11,7 +11,7 @@ Get [channels/supergroups/geogroups](https://core.telegram.org/api/channel) we'r -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->channels->getAdminedPublicChannels(); +$messages.Chats = $MadelineProto->channels->getAdminedPublicChannels(); ``` Or, if you're into Lua: ```lua -messages_Chats = channels.getAdminedPublicChannels({}) +messages.Chats = channels.getAdminedPublicChannels({}) ``` diff --git a/old_docs/API_docs_v95/methods/channels.getChannels.md b/old_docs/API_docs_v95/methods/channels.getChannels.md index 368c96ce..ed9cf4a7 100644 --- a/old_docs/API_docs_v95/methods/channels.getChannels.md +++ b/old_docs/API_docs_v95/methods/channels.getChannels.md @@ -16,7 +16,7 @@ Get info about [channels/supergroups](https://core.telegram.org/api/channel) |id|Array of [Username, chat ID, Update, Message or InputChannel](../types/InputChannel.md) | The channel/supergroup MTProto IDs | Yes| -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->channels->getChannels(['id' => [InputChannel, InputChannel], ]); +$messages.Chats = $MadelineProto->channels->getChannels(['id' => [InputChannel, InputChannel], ]); ``` Or, if you're into Lua: ```lua -messages_Chats = channels.getChannels({id={InputChannel}, }) +messages.Chats = channels.getChannels({id={InputChannel}, }) ``` ### Errors diff --git a/old_docs/API_docs_v95/methods/channels.getFullChannel.md b/old_docs/API_docs_v95/methods/channels.getFullChannel.md index 08dc21bb..1369e0a0 100644 --- a/old_docs/API_docs_v95/methods/channels.getFullChannel.md +++ b/old_docs/API_docs_v95/methods/channels.getFullChannel.md @@ -16,7 +16,7 @@ You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo me |channel|[Username, chat ID, Update, Message or InputChannel](../types/InputChannel.md) | You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo methods instead (see https://docs.madelineproto.xyz for more info) | Optional| -### Return type: [messages\_ChatFull](../types/messages_ChatFull.md) +### Return type: [messages.ChatFull](../types/messages.ChatFull.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_ChatFull = $MadelineProto->channels->getFullChannel(['channel' => InputChannel, ]); +$messages.ChatFull = $MadelineProto->channels->getFullChannel(['channel' => InputChannel, ]); ``` Or, if you're into Lua: ```lua -messages_ChatFull = channels.getFullChannel({channel=InputChannel, }) +messages.ChatFull = channels.getFullChannel({channel=InputChannel, }) ``` ### Errors diff --git a/old_docs/API_docs_v95/methods/channels.getLeftChannels.md b/old_docs/API_docs_v95/methods/channels.getLeftChannels.md index a5bcda2c..5a132204 100644 --- a/old_docs/API_docs_v95/methods/channels.getLeftChannels.md +++ b/old_docs/API_docs_v95/methods/channels.getLeftChannels.md @@ -16,7 +16,7 @@ Get a list of [channels/supergroups](https://core.telegram.org/api/channel) we l |offset|[int](../types/int.md) | Offset for [pagination](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->channels->getLeftChannels(['offset' => int, ]); +$messages.Chats = $MadelineProto->channels->getLeftChannels(['offset' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Chats = channels.getLeftChannels({offset=int, }) +messages.Chats = channels.getLeftChannels({offset=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v95/methods/channels.getMessages.md b/old_docs/API_docs_v95/methods/channels.getMessages.md index 428734e3..708e404a 100644 --- a/old_docs/API_docs_v95/methods/channels.getMessages.md +++ b/old_docs/API_docs_v95/methods/channels.getMessages.md @@ -17,7 +17,7 @@ Get [channel/supergroup](https://core.telegram.org/api/channel) messages |id|Array of [Message ID or InputMessage](../types/InputMessage.md) | The message IDs | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->channels->getMessages(['channel' => InputChannel, 'id' => [InputMessage, InputMessage], ]); +$messages.Messages = $MadelineProto->channels->getMessages(['channel' => InputChannel, 'id' => [InputMessage, InputMessage], ]); ``` Or, if you're into Lua: ```lua -messages_Messages = channels.getMessages({channel=InputChannel, id={InputMessage}, }) +messages.Messages = channels.getMessages({channel=InputChannel, id={InputMessage}, }) ``` ### Errors diff --git a/old_docs/API_docs_v95/methods/channels.getParticipant.md b/old_docs/API_docs_v95/methods/channels.getParticipant.md index aa2ce655..cf6a7771 100644 --- a/old_docs/API_docs_v95/methods/channels.getParticipant.md +++ b/old_docs/API_docs_v95/methods/channels.getParticipant.md @@ -17,7 +17,7 @@ Get info about a [channel/supergroup](https://core.telegram.org/api/channel) par |user\_id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | ID of participant to get info about | Optional| -### Return type: [channels\_ChannelParticipant](../types/channels_ChannelParticipant.md) +### Return type: [channels.ChannelParticipant](../types/channels.ChannelParticipant.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$channels_ChannelParticipant = $MadelineProto->channels->getParticipant(['channel' => InputChannel, 'user_id' => InputUser, ]); +$channels.ChannelParticipant = $MadelineProto->channels->getParticipant(['channel' => InputChannel, 'user_id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -channels_ChannelParticipant = channels.getParticipant({channel=InputChannel, user_id=InputUser, }) +channels.ChannelParticipant = channels.getParticipant({channel=InputChannel, user_id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v95/methods/channels.getParticipants.md b/old_docs/API_docs_v95/methods/channels.getParticipants.md index dd7e0087..c6b15b63 100644 --- a/old_docs/API_docs_v95/methods/channels.getParticipants.md +++ b/old_docs/API_docs_v95/methods/channels.getParticipants.md @@ -20,7 +20,7 @@ Get the participants of a channel |hash|Array of [int](../types/int.md) | IDs of previously fetched participants | Optional| -### Return type: [channels\_ChannelParticipants](../types/channels_ChannelParticipants.md) +### Return type: [channels.ChannelParticipants](../types/channels.ChannelParticipants.md) ### Can bots use this method: **YES** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$channels_ChannelParticipants = $MadelineProto->channels->getParticipants(['channel' => InputChannel, 'filter' => ChannelParticipantsFilter, 'offset' => int, 'limit' => int, 'hash' => [int, int], ]); +$channels.ChannelParticipants = $MadelineProto->channels->getParticipants(['channel' => InputChannel, 'filter' => ChannelParticipantsFilter, 'offset' => int, 'limit' => int, 'hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -channels_ChannelParticipants = channels.getParticipants({channel=InputChannel, filter=ChannelParticipantsFilter, offset=int, limit=int, hash={int}, }) +channels.ChannelParticipants = channels.getParticipants({channel=InputChannel, filter=ChannelParticipantsFilter, offset=int, limit=int, hash={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v95/methods/contacts.deleteContact.md b/old_docs/API_docs_v95/methods/contacts.deleteContact.md index a9321d64..9169e1e0 100644 --- a/old_docs/API_docs_v95/methods/contacts.deleteContact.md +++ b/old_docs/API_docs_v95/methods/contacts.deleteContact.md @@ -16,7 +16,7 @@ Delete a contact |id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | The contact to delete | Optional| -### Return type: [contacts\_Link](../types/contacts_Link.md) +### Return type: [contacts.Link](../types/contacts.Link.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Link = $MadelineProto->contacts->deleteContact(['id' => InputUser, ]); +$contacts.Link = $MadelineProto->contacts->deleteContact(['id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -contacts_Link = contacts.deleteContact({id=InputUser, }) +contacts.Link = contacts.deleteContact({id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v95/methods/contacts.getBlocked.md b/old_docs/API_docs_v95/methods/contacts.getBlocked.md index 92f2f331..6ac1c343 100644 --- a/old_docs/API_docs_v95/methods/contacts.getBlocked.md +++ b/old_docs/API_docs_v95/methods/contacts.getBlocked.md @@ -17,7 +17,7 @@ Returns the list of blocked users. |limit|[int](../types/int.md) | The number of list elements to be returned | Yes| -### Return type: [contacts\_Blocked](../types/contacts_Blocked.md) +### Return type: [contacts.Blocked](../types/contacts.Blocked.md) ### Can bots use this method: **NO** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Blocked = $MadelineProto->contacts->getBlocked(['offset' => int, 'limit' => int, ]); +$contacts.Blocked = $MadelineProto->contacts->getBlocked(['offset' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -contacts_Blocked = contacts.getBlocked({offset=int, limit=int, }) +contacts.Blocked = contacts.getBlocked({offset=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v95/methods/contacts.getContacts.md b/old_docs/API_docs_v95/methods/contacts.getContacts.md index c67e6240..609549b0 100644 --- a/old_docs/API_docs_v95/methods/contacts.getContacts.md +++ b/old_docs/API_docs_v95/methods/contacts.getContacts.md @@ -16,7 +16,7 @@ Returns the current user's contact list. |hash|Array of [int](../types/int.md) | User IDs of previously cached contacts | Optional| -### Return type: [contacts\_Contacts](../types/contacts_Contacts.md) +### Return type: [contacts.Contacts](../types/contacts.Contacts.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Contacts = $MadelineProto->contacts->getContacts(['hash' => [int, int], ]); +$contacts.Contacts = $MadelineProto->contacts->getContacts(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -contacts_Contacts = contacts.getContacts({hash={int}, }) +contacts.Contacts = contacts.getContacts({hash={int}, }) ``` diff --git a/old_docs/API_docs_v95/methods/contacts.getTopPeers.md b/old_docs/API_docs_v95/methods/contacts.getTopPeers.md index 0acf7155..870de6b3 100644 --- a/old_docs/API_docs_v95/methods/contacts.getTopPeers.md +++ b/old_docs/API_docs_v95/methods/contacts.getTopPeers.md @@ -24,7 +24,7 @@ Get most used peers |hash|Array of [int](../types/int.md) | Peer IDs of previously cached peers | Optional| -### Return type: [contacts\_TopPeers](../types/contacts_TopPeers.md) +### Return type: [contacts.TopPeers](../types/contacts.TopPeers.md) ### Can bots use this method: **NO** @@ -41,13 +41,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_TopPeers = $MadelineProto->contacts->getTopPeers(['correspondents' => Bool, 'bots_pm' => Bool, 'bots_inline' => Bool, 'phone_calls' => Bool, 'groups' => Bool, 'channels' => Bool, 'offset' => int, 'limit' => int, 'hash' => [int, int], ]); +$contacts.TopPeers = $MadelineProto->contacts->getTopPeers(['correspondents' => Bool, 'bots_pm' => Bool, 'bots_inline' => Bool, 'phone_calls' => Bool, 'groups' => Bool, 'channels' => Bool, 'offset' => int, 'limit' => int, 'hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -contacts_TopPeers = contacts.getTopPeers({correspondents=Bool, bots_pm=Bool, bots_inline=Bool, phone_calls=Bool, groups=Bool, channels=Bool, offset=int, limit=int, hash={int}, }) +contacts.TopPeers = contacts.getTopPeers({correspondents=Bool, bots_pm=Bool, bots_inline=Bool, phone_calls=Bool, groups=Bool, channels=Bool, offset=int, limit=int, hash={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v95/methods/contacts.importContacts.md b/old_docs/API_docs_v95/methods/contacts.importContacts.md index 7c795780..dbb9b7fa 100644 --- a/old_docs/API_docs_v95/methods/contacts.importContacts.md +++ b/old_docs/API_docs_v95/methods/contacts.importContacts.md @@ -16,7 +16,7 @@ Imports contacts: saves a full list on the server, adds already registered conta |contacts|Array of [InputContact](../types/InputContact.md) | The numbers to import | Yes| -### Return type: [contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) +### Return type: [contacts.ImportedContacts](../types/contacts.ImportedContacts.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_ImportedContacts = $MadelineProto->contacts->importContacts(['contacts' => [InputContact, InputContact], ]); +$contacts.ImportedContacts = $MadelineProto->contacts->importContacts(['contacts' => [InputContact, InputContact], ]); ``` Or, if you're into Lua: ```lua -contacts_ImportedContacts = contacts.importContacts({contacts={InputContact}, }) +contacts.ImportedContacts = contacts.importContacts({contacts={InputContact}, }) ``` diff --git a/old_docs/API_docs_v95/methods/contacts.resolveUsername.md b/old_docs/API_docs_v95/methods/contacts.resolveUsername.md index 05e3d854..46f1eb50 100644 --- a/old_docs/API_docs_v95/methods/contacts.resolveUsername.md +++ b/old_docs/API_docs_v95/methods/contacts.resolveUsername.md @@ -16,7 +16,7 @@ You cannot use this method directly, use the resolveUsername, getPwrChat, getInf |username|[string](../types/string.md) | You cannot use this method directly, use the resolveUsername, getPwrChat, getInfo, getFullInfo methods instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [contacts\_ResolvedPeer](../types/contacts_ResolvedPeer.md) +### Return type: [contacts.ResolvedPeer](../types/contacts.ResolvedPeer.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_ResolvedPeer = $MadelineProto->contacts->resolveUsername(['username' => 'string', ]); +$contacts.ResolvedPeer = $MadelineProto->contacts->resolveUsername(['username' => 'string', ]); ``` Or, if you're into Lua: ```lua -contacts_ResolvedPeer = contacts.resolveUsername({username='string', }) +contacts.ResolvedPeer = contacts.resolveUsername({username='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v95/methods/contacts.search.md b/old_docs/API_docs_v95/methods/contacts.search.md index 2f39d6f1..ec04c7f9 100644 --- a/old_docs/API_docs_v95/methods/contacts.search.md +++ b/old_docs/API_docs_v95/methods/contacts.search.md @@ -17,7 +17,7 @@ Returns users found by username substring. |limit|[int](../types/int.md) | Maximum number of users to be returned | Yes| -### Return type: [contacts\_Found](../types/contacts_Found.md) +### Return type: [contacts.Found](../types/contacts.Found.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Found = $MadelineProto->contacts->search(['q' => 'string', 'limit' => int, ]); +$contacts.Found = $MadelineProto->contacts->search(['q' => 'string', 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -contacts_Found = contacts.search({q='string', limit=int, }) +contacts.Found = contacts.search({q='string', limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v95/methods/help.editUserInfo.md b/old_docs/API_docs_v95/methods/help.editUserInfo.md index 7d49e820..0dd21b80 100644 --- a/old_docs/API_docs_v95/methods/help.editUserInfo.md +++ b/old_docs/API_docs_v95/methods/help.editUserInfo.md @@ -19,7 +19,7 @@ Internal use |parse\_mode| [string](../types/string.md) | Whether to parse HTML or Markdown markup in the message| Optional | -### Return type: [help\_UserInfo](../types/help_UserInfo.md) +### Return type: [help.UserInfo](../types/help.UserInfo.md) ### Can bots use this method: **NO** @@ -36,19 +36,19 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_UserInfo = $MadelineProto->help->editUserInfo(['user_id' => InputUser, 'message' => 'string', 'entities' => [MessageEntity, MessageEntity], 'parse_mode' => 'string', ]); +$help.UserInfo = $MadelineProto->help->editUserInfo(['user_id' => InputUser, 'message' => 'string', 'entities' => [MessageEntity, MessageEntity], 'parse_mode' => 'string', ]); ``` Or, if you're into Lua: ```lua -help_UserInfo = help.editUserInfo({user_id=InputUser, message='string', entities={MessageEntity}, parseMode='string', }) +help.UserInfo = help.editUserInfo({user_id=InputUser, message='string', entities={MessageEntity}, parseMode='string', }) ``` ## Return value -If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [help\_UserInfo](../types/help_UserInfo.md) will be returned instead. +If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [help.UserInfo](../types/help.UserInfo.md) will be returned instead. diff --git a/old_docs/API_docs_v95/methods/help.getAppUpdate.md b/old_docs/API_docs_v95/methods/help.getAppUpdate.md index e744d727..2a81fa8f 100644 --- a/old_docs/API_docs_v95/methods/help.getAppUpdate.md +++ b/old_docs/API_docs_v95/methods/help.getAppUpdate.md @@ -16,7 +16,7 @@ Returns information on update availability for the current application. |source|[string](../types/string.md) | Source | Yes| -### Return type: [help\_AppUpdate](../types/help_AppUpdate.md) +### Return type: [help.AppUpdate](../types/help.AppUpdate.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_AppUpdate = $MadelineProto->help->getAppUpdate(['source' => 'string', ]); +$help.AppUpdate = $MadelineProto->help->getAppUpdate(['source' => 'string', ]); ``` Or, if you're into Lua: ```lua -help_AppUpdate = help.getAppUpdate({source='string', }) +help.AppUpdate = help.getAppUpdate({source='string', }) ``` diff --git a/old_docs/API_docs_v95/methods/help.getDeepLinkInfo.md b/old_docs/API_docs_v95/methods/help.getDeepLinkInfo.md index e3269bbc..e6e7d6b8 100644 --- a/old_docs/API_docs_v95/methods/help.getDeepLinkInfo.md +++ b/old_docs/API_docs_v95/methods/help.getDeepLinkInfo.md @@ -16,7 +16,7 @@ Get info about a `t.me` link |path|[string](../types/string.md) | Path in `t.me/path` | Yes| -### Return type: [help\_DeepLinkInfo](../types/help_DeepLinkInfo.md) +### Return type: [help.DeepLinkInfo](../types/help.DeepLinkInfo.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_DeepLinkInfo = $MadelineProto->help->getDeepLinkInfo(['path' => 'string', ]); +$help.DeepLinkInfo = $MadelineProto->help->getDeepLinkInfo(['path' => 'string', ]); ``` Or, if you're into Lua: ```lua -help_DeepLinkInfo = help.getDeepLinkInfo({path='string', }) +help.DeepLinkInfo = help.getDeepLinkInfo({path='string', }) ``` diff --git a/old_docs/API_docs_v95/methods/help.getInviteText.md b/old_docs/API_docs_v95/methods/help.getInviteText.md index 6fd67362..0d427974 100644 --- a/old_docs/API_docs_v95/methods/help.getInviteText.md +++ b/old_docs/API_docs_v95/methods/help.getInviteText.md @@ -11,7 +11,7 @@ Returns text of a text message with an invitation. -### Return type: [help\_InviteText](../types/help_InviteText.md) +### Return type: [help.InviteText](../types/help.InviteText.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_InviteText = $MadelineProto->help->getInviteText(); +$help.InviteText = $MadelineProto->help->getInviteText(); ``` Or, if you're into Lua: ```lua -help_InviteText = help.getInviteText({}) +help.InviteText = help.getInviteText({}) ``` diff --git a/old_docs/API_docs_v95/methods/help.getPassportConfig.md b/old_docs/API_docs_v95/methods/help.getPassportConfig.md index 3710737d..f71e67b2 100644 --- a/old_docs/API_docs_v95/methods/help.getPassportConfig.md +++ b/old_docs/API_docs_v95/methods/help.getPassportConfig.md @@ -16,7 +16,7 @@ Get [passport](https://core.telegram.org/passport) configuration |hash|Array of [int](../types/int.md) | Hash | Optional| -### Return type: [help\_PassportConfig](../types/help_PassportConfig.md) +### Return type: [help.PassportConfig](../types/help.PassportConfig.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_PassportConfig = $MadelineProto->help->getPassportConfig(['hash' => [int, int], ]); +$help.PassportConfig = $MadelineProto->help->getPassportConfig(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -help_PassportConfig = help.getPassportConfig({hash={int}, }) +help.PassportConfig = help.getPassportConfig({hash={int}, }) ``` diff --git a/old_docs/API_docs_v95/methods/help.getProxyData.md b/old_docs/API_docs_v95/methods/help.getProxyData.md index bbaf4c53..9a0aaa9a 100644 --- a/old_docs/API_docs_v95/methods/help.getProxyData.md +++ b/old_docs/API_docs_v95/methods/help.getProxyData.md @@ -11,7 +11,7 @@ Get promotion info of the currently-used MTProxy -### Return type: [help\_ProxyData](../types/help_ProxyData.md) +### Return type: [help.ProxyData](../types/help.ProxyData.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_ProxyData = $MadelineProto->help->getProxyData(); +$help.ProxyData = $MadelineProto->help->getProxyData(); ``` Or, if you're into Lua: ```lua -help_ProxyData = help.getProxyData({}) +help.ProxyData = help.getProxyData({}) ``` diff --git a/old_docs/API_docs_v95/methods/help.getRecentMeUrls.md b/old_docs/API_docs_v95/methods/help.getRecentMeUrls.md index 38cc44c8..a5ab9e06 100644 --- a/old_docs/API_docs_v95/methods/help.getRecentMeUrls.md +++ b/old_docs/API_docs_v95/methods/help.getRecentMeUrls.md @@ -16,7 +16,7 @@ Get recently used `t.me` links |referer|[string](../types/string.md) | Referer | Yes| -### Return type: [help\_RecentMeUrls](../types/help_RecentMeUrls.md) +### Return type: [help.RecentMeUrls](../types/help.RecentMeUrls.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_RecentMeUrls = $MadelineProto->help->getRecentMeUrls(['referer' => 'string', ]); +$help.RecentMeUrls = $MadelineProto->help->getRecentMeUrls(['referer' => 'string', ]); ``` Or, if you're into Lua: ```lua -help_RecentMeUrls = help.getRecentMeUrls({referer='string', }) +help.RecentMeUrls = help.getRecentMeUrls({referer='string', }) ``` diff --git a/old_docs/API_docs_v95/methods/help.getSupport.md b/old_docs/API_docs_v95/methods/help.getSupport.md index 7a577892..8a8df916 100644 --- a/old_docs/API_docs_v95/methods/help.getSupport.md +++ b/old_docs/API_docs_v95/methods/help.getSupport.md @@ -11,7 +11,7 @@ Returns the support user for the 'ask a question' feature. -### Return type: [help\_Support](../types/help_Support.md) +### Return type: [help.Support](../types/help.Support.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_Support = $MadelineProto->help->getSupport(); +$help.Support = $MadelineProto->help->getSupport(); ``` Or, if you're into Lua: ```lua -help_Support = help.getSupport({}) +help.Support = help.getSupport({}) ``` diff --git a/old_docs/API_docs_v95/methods/help.getSupportName.md b/old_docs/API_docs_v95/methods/help.getSupportName.md index d2b1c93c..fbf9ef52 100644 --- a/old_docs/API_docs_v95/methods/help.getSupportName.md +++ b/old_docs/API_docs_v95/methods/help.getSupportName.md @@ -11,7 +11,7 @@ Get localized name of the telegram support user -### Return type: [help\_SupportName](../types/help_SupportName.md) +### Return type: [help.SupportName](../types/help.SupportName.md) ### Can bots use this method: **NO** @@ -28,13 +28,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_SupportName = $MadelineProto->help->getSupportName(); +$help.SupportName = $MadelineProto->help->getSupportName(); ``` Or, if you're into Lua: ```lua -help_SupportName = help.getSupportName({}) +help.SupportName = help.getSupportName({}) ``` ### Errors diff --git a/old_docs/API_docs_v95/methods/help.getTermsOfServiceUpdate.md b/old_docs/API_docs_v95/methods/help.getTermsOfServiceUpdate.md index 7a8ebd65..636a054b 100644 --- a/old_docs/API_docs_v95/methods/help.getTermsOfServiceUpdate.md +++ b/old_docs/API_docs_v95/methods/help.getTermsOfServiceUpdate.md @@ -11,7 +11,7 @@ Look for updates of telegram's terms of service -### Return type: [help\_TermsOfServiceUpdate](../types/help_TermsOfServiceUpdate.md) +### Return type: [help.TermsOfServiceUpdate](../types/help.TermsOfServiceUpdate.md) ### Can bots use this method: **NO** @@ -28,13 +28,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_TermsOfServiceUpdate = $MadelineProto->help->getTermsOfServiceUpdate(); +$help.TermsOfServiceUpdate = $MadelineProto->help->getTermsOfServiceUpdate(); ``` Or, if you're into Lua: ```lua -help_TermsOfServiceUpdate = help.getTermsOfServiceUpdate({}) +help.TermsOfServiceUpdate = help.getTermsOfServiceUpdate({}) ``` ### Errors diff --git a/old_docs/API_docs_v95/methods/help.getUserInfo.md b/old_docs/API_docs_v95/methods/help.getUserInfo.md index 353429d6..27b65cf7 100644 --- a/old_docs/API_docs_v95/methods/help.getUserInfo.md +++ b/old_docs/API_docs_v95/methods/help.getUserInfo.md @@ -16,7 +16,7 @@ Internal use |user\_id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | User ID | Optional| -### Return type: [help\_UserInfo](../types/help_UserInfo.md) +### Return type: [help.UserInfo](../types/help.UserInfo.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_UserInfo = $MadelineProto->help->getUserInfo(['user_id' => InputUser, ]); +$help.UserInfo = $MadelineProto->help->getUserInfo(['user_id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -help_UserInfo = help.getUserInfo({user_id=InputUser, }) +help.UserInfo = help.getUserInfo({user_id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v95/methods/messages.deleteHistory.md b/old_docs/API_docs_v95/methods/messages.deleteHistory.md index 9ae1bae9..41460415 100644 --- a/old_docs/API_docs_v95/methods/messages.deleteHistory.md +++ b/old_docs/API_docs_v95/methods/messages.deleteHistory.md @@ -18,7 +18,7 @@ Deletes communication history. |max\_id|[int](../types/int.md) | Maximum ID of message to delete | Yes| -### Return type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) +### Return type: [messages.AffectedHistory](../types/messages.AffectedHistory.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedHistory = $MadelineProto->messages->deleteHistory(['just_clear' => Bool, 'peer' => InputPeer, 'max_id' => int, ]); +$messages.AffectedHistory = $MadelineProto->messages->deleteHistory(['just_clear' => Bool, 'peer' => InputPeer, 'max_id' => int, ]); ``` Or, if you're into Lua: ```lua -messages_AffectedHistory = messages.deleteHistory({just_clear=Bool, peer=InputPeer, max_id=int, }) +messages.AffectedHistory = messages.deleteHistory({just_clear=Bool, peer=InputPeer, max_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v95/methods/messages.deleteMessages.md b/old_docs/API_docs_v95/methods/messages.deleteMessages.md index ade04cae..ade96e60 100644 --- a/old_docs/API_docs_v95/methods/messages.deleteMessages.md +++ b/old_docs/API_docs_v95/methods/messages.deleteMessages.md @@ -17,7 +17,7 @@ Deletes messages by their identifiers. |id|Array of [int](../types/int.md) | IDs of messages to delete, use channels->deleteMessages for supergroups | Yes| -### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) +### Return type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedMessages = $MadelineProto->messages->deleteMessages(['revoke' => Bool, 'id' => [int, int], ]); +$messages.AffectedMessages = $MadelineProto->messages->deleteMessages(['revoke' => Bool, 'id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AffectedMessages = messages.deleteMessages({revoke=Bool, id={int}, }) +messages.AffectedMessages = messages.deleteMessages({revoke=Bool, id={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v95/methods/messages.getAllChats.md b/old_docs/API_docs_v95/methods/messages.getAllChats.md index cdcc5430..97cc4817 100644 --- a/old_docs/API_docs_v95/methods/messages.getAllChats.md +++ b/old_docs/API_docs_v95/methods/messages.getAllChats.md @@ -16,7 +16,7 @@ Get all chats, channels and supergroups |except\_ids|Array of [int](../types/int.md) | Do not fetch these chats (MTProto id) | Yes| -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->messages->getAllChats(['except_ids' => [int, int], ]); +$messages.Chats = $MadelineProto->messages->getAllChats(['except_ids' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Chats = messages.getAllChats({except_ids={int}, }) +messages.Chats = messages.getAllChats({except_ids={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v95/methods/messages.getAllStickers.md b/old_docs/API_docs_v95/methods/messages.getAllStickers.md index 329b70be..0f0de7f1 100644 --- a/old_docs/API_docs_v95/methods/messages.getAllStickers.md +++ b/old_docs/API_docs_v95/methods/messages.getAllStickers.md @@ -16,7 +16,7 @@ Get all installed stickers |hash|Array of [int](../types/int.md) | The hash parameter of the previous result of this method | Optional| -### Return type: [messages\_AllStickers](../types/messages_AllStickers.md) +### Return type: [messages.AllStickers](../types/messages.AllStickers.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AllStickers = $MadelineProto->messages->getAllStickers(['hash' => [int, int], ]); +$messages.AllStickers = $MadelineProto->messages->getAllStickers(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AllStickers = messages.getAllStickers({hash={int}, }) +messages.AllStickers = messages.getAllStickers({hash={int}, }) ``` diff --git a/old_docs/API_docs_v95/methods/messages.getArchivedStickers.md b/old_docs/API_docs_v95/methods/messages.getArchivedStickers.md index d3abe9fc..c108376e 100644 --- a/old_docs/API_docs_v95/methods/messages.getArchivedStickers.md +++ b/old_docs/API_docs_v95/methods/messages.getArchivedStickers.md @@ -18,7 +18,7 @@ Get all archived stickers |limit|[int](../types/int.md) | Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_ArchivedStickers](../types/messages_ArchivedStickers.md) +### Return type: [messages.ArchivedStickers](../types/messages.ArchivedStickers.md) ### Can bots use this method: **NO** @@ -35,12 +35,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_ArchivedStickers = $MadelineProto->messages->getArchivedStickers(['masks' => Bool, 'offset_id' => long, 'limit' => int, ]); +$messages.ArchivedStickers = $MadelineProto->messages->getArchivedStickers(['masks' => Bool, 'offset_id' => long, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -messages_ArchivedStickers = messages.getArchivedStickers({masks=Bool, offset_id=long, limit=int, }) +messages.ArchivedStickers = messages.getArchivedStickers({masks=Bool, offset_id=long, limit=int, }) ``` diff --git a/old_docs/API_docs_v95/methods/messages.getBotCallbackAnswer.md b/old_docs/API_docs_v95/methods/messages.getBotCallbackAnswer.md index 015fc46b..10072386 100644 --- a/old_docs/API_docs_v95/methods/messages.getBotCallbackAnswer.md +++ b/old_docs/API_docs_v95/methods/messages.getBotCallbackAnswer.md @@ -19,7 +19,7 @@ Press an inline callback button and get a callback answer from the bot |data|[bytes](../types/bytes.md) | Callback data | Optional| -### Return type: [messages\_BotCallbackAnswer](../types/messages_BotCallbackAnswer.md) +### Return type: [messages.BotCallbackAnswer](../types/messages.BotCallbackAnswer.md) ### Can bots use this method: **NO** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_BotCallbackAnswer = $MadelineProto->messages->getBotCallbackAnswer(['game' => Bool, 'peer' => InputPeer, 'msg_id' => int, 'data' => 'bytes', ]); +$messages.BotCallbackAnswer = $MadelineProto->messages->getBotCallbackAnswer(['game' => Bool, 'peer' => InputPeer, 'msg_id' => int, 'data' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -messages_BotCallbackAnswer = messages.getBotCallbackAnswer({game=Bool, peer=InputPeer, msg_id=int, data='bytes', }) +messages.BotCallbackAnswer = messages.getBotCallbackAnswer({game=Bool, peer=InputPeer, msg_id=int, data='bytes', }) ``` ### Errors diff --git a/old_docs/API_docs_v95/methods/messages.getChats.md b/old_docs/API_docs_v95/methods/messages.getChats.md index c34b0488..146341f5 100644 --- a/old_docs/API_docs_v95/methods/messages.getChats.md +++ b/old_docs/API_docs_v95/methods/messages.getChats.md @@ -16,7 +16,7 @@ Returns chat basic info on their IDs. |id|Array of [int](../types/int.md) | The MTProto IDs of chats to fetch info about | Yes| -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->messages->getChats(['id' => [int, int], ]); +$messages.Chats = $MadelineProto->messages->getChats(['id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Chats = messages.getChats({id={int}, }) +messages.Chats = messages.getChats({id={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v95/methods/messages.getCommonChats.md b/old_docs/API_docs_v95/methods/messages.getCommonChats.md index fc7b2363..56a3ec01 100644 --- a/old_docs/API_docs_v95/methods/messages.getCommonChats.md +++ b/old_docs/API_docs_v95/methods/messages.getCommonChats.md @@ -18,7 +18,7 @@ Get chats in common with a user |limit|[int](../types/int.md) | Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->messages->getCommonChats(['user_id' => InputUser, 'max_id' => int, 'limit' => int, ]); +$messages.Chats = $MadelineProto->messages->getCommonChats(['user_id' => InputUser, 'max_id' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Chats = messages.getCommonChats({user_id=InputUser, max_id=int, limit=int, }) +messages.Chats = messages.getCommonChats({user_id=InputUser, max_id=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v95/methods/messages.getDhConfig.md b/old_docs/API_docs_v95/methods/messages.getDhConfig.md index 88ea4ab3..7b9da566 100644 --- a/old_docs/API_docs_v95/methods/messages.getDhConfig.md +++ b/old_docs/API_docs_v95/methods/messages.getDhConfig.md @@ -17,7 +17,7 @@ You cannot use this method directly, instead use $MadelineProto->getDhConfig(); |random\_length|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->getDhConfig(); | Yes| -### Return type: [messages\_DhConfig](../types/messages_DhConfig.md) +### Return type: [messages.DhConfig](../types/messages.DhConfig.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_DhConfig = $MadelineProto->messages->getDhConfig(['version' => int, 'random_length' => int, ]); +$messages.DhConfig = $MadelineProto->messages->getDhConfig(['version' => int, 'random_length' => int, ]); ``` Or, if you're into Lua: ```lua -messages_DhConfig = messages.getDhConfig({version=int, random_length=int, }) +messages.DhConfig = messages.getDhConfig({version=int, random_length=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v95/methods/messages.getDialogs.md b/old_docs/API_docs_v95/methods/messages.getDialogs.md index 9871d8e6..7ceff940 100644 --- a/old_docs/API_docs_v95/methods/messages.getDialogs.md +++ b/old_docs/API_docs_v95/methods/messages.getDialogs.md @@ -21,7 +21,7 @@ Returns the current user dialog list. |hash|Array of [int](../types/int.md) | IDs of previously fetched dialogs | Optional| -### Return type: [messages\_Dialogs](../types/messages_Dialogs.md) +### Return type: [messages.Dialogs](../types/messages.Dialogs.md) ### Can bots use this method: **NO** @@ -38,13 +38,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Dialogs = $MadelineProto->messages->getDialogs(['exclude_pinned' => Bool, 'offset_date' => int, 'offset_id' => int, 'offset_peer' => InputPeer, 'limit' => int, 'hash' => [int, int], ]); +$messages.Dialogs = $MadelineProto->messages->getDialogs(['exclude_pinned' => Bool, 'offset_date' => int, 'offset_id' => int, 'offset_peer' => InputPeer, 'limit' => int, 'hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Dialogs = messages.getDialogs({exclude_pinned=Bool, offset_date=int, offset_id=int, offset_peer=InputPeer, limit=int, hash={int}, }) +messages.Dialogs = messages.getDialogs({exclude_pinned=Bool, offset_date=int, offset_id=int, offset_peer=InputPeer, limit=int, hash={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v95/methods/messages.getFavedStickers.md b/old_docs/API_docs_v95/methods/messages.getFavedStickers.md index 3ba077ef..19f64e43 100644 --- a/old_docs/API_docs_v95/methods/messages.getFavedStickers.md +++ b/old_docs/API_docs_v95/methods/messages.getFavedStickers.md @@ -16,7 +16,7 @@ Get faved stickers |hash|Array of [int](../types/int.md) | the hash parameter of the previous result of this method | Optional| -### Return type: [messages\_FavedStickers](../types/messages_FavedStickers.md) +### Return type: [messages.FavedStickers](../types/messages.FavedStickers.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_FavedStickers = $MadelineProto->messages->getFavedStickers(['hash' => [int, int], ]); +$messages.FavedStickers = $MadelineProto->messages->getFavedStickers(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_FavedStickers = messages.getFavedStickers({hash={int}, }) +messages.FavedStickers = messages.getFavedStickers({hash={int}, }) ``` diff --git a/old_docs/API_docs_v95/methods/messages.getFeaturedStickers.md b/old_docs/API_docs_v95/methods/messages.getFeaturedStickers.md index 8f2634c3..2d65d626 100644 --- a/old_docs/API_docs_v95/methods/messages.getFeaturedStickers.md +++ b/old_docs/API_docs_v95/methods/messages.getFeaturedStickers.md @@ -16,7 +16,7 @@ Get featured stickers |hash|Array of [int](../types/int.md) | the hash parameter of the previous result of this method | Optional| -### Return type: [messages\_FeaturedStickers](../types/messages_FeaturedStickers.md) +### Return type: [messages.FeaturedStickers](../types/messages.FeaturedStickers.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_FeaturedStickers = $MadelineProto->messages->getFeaturedStickers(['hash' => [int, int], ]); +$messages.FeaturedStickers = $MadelineProto->messages->getFeaturedStickers(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_FeaturedStickers = messages.getFeaturedStickers({hash={int}, }) +messages.FeaturedStickers = messages.getFeaturedStickers({hash={int}, }) ``` diff --git a/old_docs/API_docs_v95/methods/messages.getFullChat.md b/old_docs/API_docs_v95/methods/messages.getFullChat.md index abf23e21..de543651 100644 --- a/old_docs/API_docs_v95/methods/messages.getFullChat.md +++ b/old_docs/API_docs_v95/methods/messages.getFullChat.md @@ -16,7 +16,7 @@ You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo me |chat\_id|[Username, chat ID, Update, Message or InputPeer](../types/InputPeer.md) | You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo methods instead (see https://docs.madelineproto.xyz for more info) | Optional| -### Return type: [messages\_ChatFull](../types/messages_ChatFull.md) +### Return type: [messages.ChatFull](../types/messages.ChatFull.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_ChatFull = $MadelineProto->messages->getFullChat(['chat_id' => InputPeer, ]); +$messages.ChatFull = $MadelineProto->messages->getFullChat(['chat_id' => InputPeer, ]); ``` Or, if you're into Lua: ```lua -messages_ChatFull = messages.getFullChat({chat_id=InputPeer, }) +messages.ChatFull = messages.getFullChat({chat_id=InputPeer, }) ``` ### Errors diff --git a/old_docs/API_docs_v95/methods/messages.getGameHighScores.md b/old_docs/API_docs_v95/methods/messages.getGameHighScores.md index 0ee9d754..6e4dacb2 100644 --- a/old_docs/API_docs_v95/methods/messages.getGameHighScores.md +++ b/old_docs/API_docs_v95/methods/messages.getGameHighScores.md @@ -18,7 +18,7 @@ Get highscores of a game |user\_id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | Get high scores made by a certain user | Optional| -### Return type: [messages\_HighScores](../types/messages_HighScores.md) +### Return type: [messages.HighScores](../types/messages.HighScores.md) ### Can bots use this method: **YES** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_HighScores = $MadelineProto->messages->getGameHighScores(['peer' => InputPeer, 'id' => int, 'user_id' => InputUser, ]); +$messages.HighScores = $MadelineProto->messages->getGameHighScores(['peer' => InputPeer, 'id' => int, 'user_id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -messages_HighScores = messages.getGameHighScores({peer=InputPeer, id=int, user_id=InputUser, }) +messages.HighScores = messages.getGameHighScores({peer=InputPeer, id=int, user_id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v95/methods/messages.getHistory.md b/old_docs/API_docs_v95/methods/messages.getHistory.md index 9a3d5f8c..c7bd9850 100644 --- a/old_docs/API_docs_v95/methods/messages.getHistory.md +++ b/old_docs/API_docs_v95/methods/messages.getHistory.md @@ -23,7 +23,7 @@ Gets back the conversation history with one interlocutor / within a chat |hash|Array of [int](../types/int.md) | IDs of messages you already fetched | Optional| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **NO** @@ -40,13 +40,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->getHistory(['peer' => InputPeer, 'offset_id' => int, 'offset_date' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, 'hash' => [int, int], ]); +$messages.Messages = $MadelineProto->messages->getHistory(['peer' => InputPeer, 'offset_id' => int, 'offset_date' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, 'hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.getHistory({peer=InputPeer, offset_id=int, offset_date=int, add_offset=int, limit=int, max_id=int, min_id=int, hash={int}, }) +messages.Messages = messages.getHistory({peer=InputPeer, offset_id=int, offset_date=int, add_offset=int, limit=int, max_id=int, min_id=int, hash={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v95/methods/messages.getInlineBotResults.md b/old_docs/API_docs_v95/methods/messages.getInlineBotResults.md index ac251797..8a397236 100644 --- a/old_docs/API_docs_v95/methods/messages.getInlineBotResults.md +++ b/old_docs/API_docs_v95/methods/messages.getInlineBotResults.md @@ -20,7 +20,7 @@ Query an inline bot |offset|[string](../types/string.md) | The offset within the results, will be passed directly as-is to the bot. | Yes| -### Return type: [messages\_BotResults](../types/messages_BotResults.md) +### Return type: [messages.BotResults](../types/messages.BotResults.md) ### Can bots use this method: **NO** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_BotResults = $MadelineProto->messages->getInlineBotResults(['bot' => InputUser, 'peer' => InputPeer, 'geo_point' => InputGeoPoint, 'query' => 'string', 'offset' => 'string', ]); +$messages.BotResults = $MadelineProto->messages->getInlineBotResults(['bot' => InputUser, 'peer' => InputPeer, 'geo_point' => InputGeoPoint, 'query' => 'string', 'offset' => 'string', ]); ``` Or, if you're into Lua: ```lua -messages_BotResults = messages.getInlineBotResults({bot=InputUser, peer=InputPeer, geo_point=InputGeoPoint, query='string', offset='string', }) +messages.BotResults = messages.getInlineBotResults({bot=InputUser, peer=InputPeer, geo_point=InputGeoPoint, query='string', offset='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v95/methods/messages.getInlineGameHighScores.md b/old_docs/API_docs_v95/methods/messages.getInlineGameHighScores.md index 0d02b426..dbcb2cf6 100644 --- a/old_docs/API_docs_v95/methods/messages.getInlineGameHighScores.md +++ b/old_docs/API_docs_v95/methods/messages.getInlineGameHighScores.md @@ -17,7 +17,7 @@ Get highscores of a game sent using an inline bot |user\_id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | Get high scores of a certain user | Optional| -### Return type: [messages\_HighScores](../types/messages_HighScores.md) +### Return type: [messages.HighScores](../types/messages.HighScores.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_HighScores = $MadelineProto->messages->getInlineGameHighScores(['id' => InputBotInlineMessageID, 'user_id' => InputUser, ]); +$messages.HighScores = $MadelineProto->messages->getInlineGameHighScores(['id' => InputBotInlineMessageID, 'user_id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -messages_HighScores = messages.getInlineGameHighScores({id=InputBotInlineMessageID, user_id=InputUser, }) +messages.HighScores = messages.getInlineGameHighScores({id=InputBotInlineMessageID, user_id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v95/methods/messages.getMaskStickers.md b/old_docs/API_docs_v95/methods/messages.getMaskStickers.md index a09834e1..093645f6 100644 --- a/old_docs/API_docs_v95/methods/messages.getMaskStickers.md +++ b/old_docs/API_docs_v95/methods/messages.getMaskStickers.md @@ -16,7 +16,7 @@ Get installed mask stickers |hash|Array of [int](../types/int.md) | the hash parameter of the previous result of this method | Optional| -### Return type: [messages\_AllStickers](../types/messages_AllStickers.md) +### Return type: [messages.AllStickers](../types/messages.AllStickers.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AllStickers = $MadelineProto->messages->getMaskStickers(['hash' => [int, int], ]); +$messages.AllStickers = $MadelineProto->messages->getMaskStickers(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AllStickers = messages.getMaskStickers({hash={int}, }) +messages.AllStickers = messages.getMaskStickers({hash={int}, }) ``` diff --git a/old_docs/API_docs_v95/methods/messages.getMessageEditData.md b/old_docs/API_docs_v95/methods/messages.getMessageEditData.md index 1a083f08..7fd32e82 100644 --- a/old_docs/API_docs_v95/methods/messages.getMessageEditData.md +++ b/old_docs/API_docs_v95/methods/messages.getMessageEditData.md @@ -17,7 +17,7 @@ Find out if a media message's caption can be edited |id|[int](../types/int.md) | ID of message | Yes| -### Return type: [messages\_MessageEditData](../types/messages_MessageEditData.md) +### Return type: [messages.MessageEditData](../types/messages.MessageEditData.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_MessageEditData = $MadelineProto->messages->getMessageEditData(['peer' => InputPeer, 'id' => int, ]); +$messages.MessageEditData = $MadelineProto->messages->getMessageEditData(['peer' => InputPeer, 'id' => int, ]); ``` Or, if you're into Lua: ```lua -messages_MessageEditData = messages.getMessageEditData({peer=InputPeer, id=int, }) +messages.MessageEditData = messages.getMessageEditData({peer=InputPeer, id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v95/methods/messages.getMessages.md b/old_docs/API_docs_v95/methods/messages.getMessages.md index eb5ef6a6..0aed788d 100644 --- a/old_docs/API_docs_v95/methods/messages.getMessages.md +++ b/old_docs/API_docs_v95/methods/messages.getMessages.md @@ -16,7 +16,7 @@ Returns the list of messages by their IDs. |id|Array of [Message ID or InputMessage](../types/InputMessage.md) | The IDs of messages to fetch (only for users and normal groups) | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **YES** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->getMessages(['id' => [InputMessage, InputMessage], ]); +$messages.Messages = $MadelineProto->messages->getMessages(['id' => [InputMessage, InputMessage], ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.getMessages({id={InputMessage}, }) +messages.Messages = messages.getMessages({id={InputMessage}, }) ``` diff --git a/old_docs/API_docs_v95/methods/messages.getPeerDialogs.md b/old_docs/API_docs_v95/methods/messages.getPeerDialogs.md index 2ab5d661..1ec67e6a 100644 --- a/old_docs/API_docs_v95/methods/messages.getPeerDialogs.md +++ b/old_docs/API_docs_v95/methods/messages.getPeerDialogs.md @@ -16,7 +16,7 @@ Get dialog info of specified peers |peers|Array of [Username, chat ID, Update, Message or InputDialogPeer](../types/InputDialogPeer.md) | The peers | Yes| -### Return type: [messages\_PeerDialogs](../types/messages_PeerDialogs.md) +### Return type: [messages.PeerDialogs](../types/messages.PeerDialogs.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_PeerDialogs = $MadelineProto->messages->getPeerDialogs(['peers' => [InputDialogPeer, InputDialogPeer], ]); +$messages.PeerDialogs = $MadelineProto->messages->getPeerDialogs(['peers' => [InputDialogPeer, InputDialogPeer], ]); ``` Or, if you're into Lua: ```lua -messages_PeerDialogs = messages.getPeerDialogs({peers={InputDialogPeer}, }) +messages.PeerDialogs = messages.getPeerDialogs({peers={InputDialogPeer}, }) ``` ### Errors diff --git a/old_docs/API_docs_v95/methods/messages.getPinnedDialogs.md b/old_docs/API_docs_v95/methods/messages.getPinnedDialogs.md index f106098d..161075f2 100644 --- a/old_docs/API_docs_v95/methods/messages.getPinnedDialogs.md +++ b/old_docs/API_docs_v95/methods/messages.getPinnedDialogs.md @@ -11,7 +11,7 @@ Get pinned dialogs -### Return type: [messages\_PeerDialogs](../types/messages_PeerDialogs.md) +### Return type: [messages.PeerDialogs](../types/messages.PeerDialogs.md) ### Can bots use this method: **NO** @@ -28,13 +28,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_PeerDialogs = $MadelineProto->messages->getPinnedDialogs(); +$messages.PeerDialogs = $MadelineProto->messages->getPinnedDialogs(); ``` Or, if you're into Lua: ```lua -messages_PeerDialogs = messages.getPinnedDialogs({}) +messages.PeerDialogs = messages.getPinnedDialogs({}) ``` ### Errors diff --git a/old_docs/API_docs_v95/methods/messages.getRecentLocations.md b/old_docs/API_docs_v95/methods/messages.getRecentLocations.md index 40ec1285..4efeb49c 100644 --- a/old_docs/API_docs_v95/methods/messages.getRecentLocations.md +++ b/old_docs/API_docs_v95/methods/messages.getRecentLocations.md @@ -18,7 +18,7 @@ Get live location history of a certain user |hash|Array of [int](../types/int.md) | IDs of locations you already fetched | Optional| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **NO** @@ -35,12 +35,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->getRecentLocations(['peer' => InputPeer, 'limit' => int, 'hash' => [int, int], ]); +$messages.Messages = $MadelineProto->messages->getRecentLocations(['peer' => InputPeer, 'limit' => int, 'hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.getRecentLocations({peer=InputPeer, limit=int, hash={int}, }) +messages.Messages = messages.getRecentLocations({peer=InputPeer, limit=int, hash={int}, }) ``` diff --git a/old_docs/API_docs_v95/methods/messages.getRecentStickers.md b/old_docs/API_docs_v95/methods/messages.getRecentStickers.md index 28a70889..39cef16a 100644 --- a/old_docs/API_docs_v95/methods/messages.getRecentStickers.md +++ b/old_docs/API_docs_v95/methods/messages.getRecentStickers.md @@ -17,7 +17,7 @@ Get recent stickers |hash|Array of [int](../types/int.md) | IDs the hash parameter of the previous result of this method | Optional| -### Return type: [messages\_RecentStickers](../types/messages_RecentStickers.md) +### Return type: [messages.RecentStickers](../types/messages.RecentStickers.md) ### Can bots use this method: **NO** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_RecentStickers = $MadelineProto->messages->getRecentStickers(['attached' => Bool, 'hash' => [int, int], ]); +$messages.RecentStickers = $MadelineProto->messages->getRecentStickers(['attached' => Bool, 'hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_RecentStickers = messages.getRecentStickers({attached=Bool, hash={int}, }) +messages.RecentStickers = messages.getRecentStickers({attached=Bool, hash={int}, }) ``` diff --git a/old_docs/API_docs_v95/methods/messages.getSavedGifs.md b/old_docs/API_docs_v95/methods/messages.getSavedGifs.md index 1df7f37c..8b31f7b8 100644 --- a/old_docs/API_docs_v95/methods/messages.getSavedGifs.md +++ b/old_docs/API_docs_v95/methods/messages.getSavedGifs.md @@ -16,7 +16,7 @@ Get saved GIFs |hash|Array of [int](../types/int.md) | the hash parameter of the previous result of this method | Optional| -### Return type: [messages\_SavedGifs](../types/messages_SavedGifs.md) +### Return type: [messages.SavedGifs](../types/messages.SavedGifs.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_SavedGifs = $MadelineProto->messages->getSavedGifs(['hash' => [int, int], ]); +$messages.SavedGifs = $MadelineProto->messages->getSavedGifs(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_SavedGifs = messages.getSavedGifs({hash={int}, }) +messages.SavedGifs = messages.getSavedGifs({hash={int}, }) ``` diff --git a/old_docs/API_docs_v95/methods/messages.getStickerSet.md b/old_docs/API_docs_v95/methods/messages.getStickerSet.md index 45fca60f..f11887ee 100644 --- a/old_docs/API_docs_v95/methods/messages.getStickerSet.md +++ b/old_docs/API_docs_v95/methods/messages.getStickerSet.md @@ -16,7 +16,7 @@ Get info about a stickerset |stickerset|[InputStickerSet](../types/InputStickerSet.md) | Stickerset | Optional| -### Return type: [messages\_StickerSet](../types/messages_StickerSet.md) +### Return type: [messages.StickerSet](../types/messages.StickerSet.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StickerSet = $MadelineProto->messages->getStickerSet(['stickerset' => InputStickerSet, ]); +$messages.StickerSet = $MadelineProto->messages->getStickerSet(['stickerset' => InputStickerSet, ]); ``` Or, if you're into Lua: ```lua -messages_StickerSet = messages.getStickerSet({stickerset=InputStickerSet, }) +messages.StickerSet = messages.getStickerSet({stickerset=InputStickerSet, }) ``` ### Errors diff --git a/old_docs/API_docs_v95/methods/messages.getStickers.md b/old_docs/API_docs_v95/methods/messages.getStickers.md index 4f8b7598..ff99fbd2 100644 --- a/old_docs/API_docs_v95/methods/messages.getStickers.md +++ b/old_docs/API_docs_v95/methods/messages.getStickers.md @@ -17,7 +17,7 @@ Get stickers by emoji |hash|Array of [int](../types/int.md) | the hash parameter of the previous result of this method | Optional| -### Return type: [messages\_Stickers](../types/messages_Stickers.md) +### Return type: [messages.Stickers](../types/messages.Stickers.md) ### Can bots use this method: **NO** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Stickers = $MadelineProto->messages->getStickers(['emoticon' => 'string', 'hash' => [int, int], ]); +$messages.Stickers = $MadelineProto->messages->getStickers(['emoticon' => 'string', 'hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Stickers = messages.getStickers({emoticon='string', hash={int}, }) +messages.Stickers = messages.getStickers({emoticon='string', hash={int}, }) ``` diff --git a/old_docs/API_docs_v95/methods/messages.getUnreadMentions.md b/old_docs/API_docs_v95/methods/messages.getUnreadMentions.md index 33bba261..679ed841 100644 --- a/old_docs/API_docs_v95/methods/messages.getUnreadMentions.md +++ b/old_docs/API_docs_v95/methods/messages.getUnreadMentions.md @@ -21,7 +21,7 @@ Get unread messages where we were mentioned |min\_id|[int](../types/int.md) | Minimum message ID to return, [see pagination](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **NO** @@ -38,13 +38,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->getUnreadMentions(['peer' => InputPeer, 'offset_id' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); +$messages.Messages = $MadelineProto->messages->getUnreadMentions(['peer' => InputPeer, 'offset_id' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.getUnreadMentions({peer=InputPeer, offset_id=int, add_offset=int, limit=int, max_id=int, min_id=int, }) +messages.Messages = messages.getUnreadMentions({peer=InputPeer, offset_id=int, add_offset=int, limit=int, max_id=int, min_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v95/methods/messages.installStickerSet.md b/old_docs/API_docs_v95/methods/messages.installStickerSet.md index 1a95ca0b..83ce2121 100644 --- a/old_docs/API_docs_v95/methods/messages.installStickerSet.md +++ b/old_docs/API_docs_v95/methods/messages.installStickerSet.md @@ -17,7 +17,7 @@ Install a stickerset |archived|[Bool](../types/Bool.md) | Whether to archive stickerset | Yes| -### Return type: [messages\_StickerSetInstallResult](../types/messages_StickerSetInstallResult.md) +### Return type: [messages.StickerSetInstallResult](../types/messages.StickerSetInstallResult.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StickerSetInstallResult = $MadelineProto->messages->installStickerSet(['stickerset' => InputStickerSet, 'archived' => Bool, ]); +$messages.StickerSetInstallResult = $MadelineProto->messages->installStickerSet(['stickerset' => InputStickerSet, 'archived' => Bool, ]); ``` Or, if you're into Lua: ```lua -messages_StickerSetInstallResult = messages.installStickerSet({stickerset=InputStickerSet, archived=Bool, }) +messages.StickerSetInstallResult = messages.installStickerSet({stickerset=InputStickerSet, archived=Bool, }) ``` ### Errors diff --git a/old_docs/API_docs_v95/methods/messages.readHistory.md b/old_docs/API_docs_v95/methods/messages.readHistory.md index 39753375..52030c68 100644 --- a/old_docs/API_docs_v95/methods/messages.readHistory.md +++ b/old_docs/API_docs_v95/methods/messages.readHistory.md @@ -17,7 +17,7 @@ Marks message history as read. |max\_id|[int](../types/int.md) | If a positive value is passed, only messages with identifiers less or equal than the given one will be read | Yes| -### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) +### Return type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedMessages = $MadelineProto->messages->readHistory(['peer' => InputPeer, 'max_id' => int, ]); +$messages.AffectedMessages = $MadelineProto->messages->readHistory(['peer' => InputPeer, 'max_id' => int, ]); ``` Or, if you're into Lua: ```lua -messages_AffectedMessages = messages.readHistory({peer=InputPeer, max_id=int, }) +messages.AffectedMessages = messages.readHistory({peer=InputPeer, max_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v95/methods/messages.readMentions.md b/old_docs/API_docs_v95/methods/messages.readMentions.md index 9b73851d..c8c94f00 100644 --- a/old_docs/API_docs_v95/methods/messages.readMentions.md +++ b/old_docs/API_docs_v95/methods/messages.readMentions.md @@ -16,7 +16,7 @@ Mark mentions as read |peer|[Username, chat ID, Update, Message or InputPeer](../types/InputPeer.md) | Dialog | Optional| -### Return type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) +### Return type: [messages.AffectedHistory](../types/messages.AffectedHistory.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedHistory = $MadelineProto->messages->readMentions(['peer' => InputPeer, ]); +$messages.AffectedHistory = $MadelineProto->messages->readMentions(['peer' => InputPeer, ]); ``` Or, if you're into Lua: ```lua -messages_AffectedHistory = messages.readMentions({peer=InputPeer, }) +messages.AffectedHistory = messages.readMentions({peer=InputPeer, }) ``` diff --git a/old_docs/API_docs_v95/methods/messages.readMessageContents.md b/old_docs/API_docs_v95/methods/messages.readMessageContents.md index c479cafe..9798e661 100644 --- a/old_docs/API_docs_v95/methods/messages.readMessageContents.md +++ b/old_docs/API_docs_v95/methods/messages.readMessageContents.md @@ -16,7 +16,7 @@ Notifies the sender about the recipient having listened a voice message or watch |id|Array of [int](../types/int.md) | The messages to mark as read (only users and normal chats, not supergroups) | Yes| -### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) +### Return type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedMessages = $MadelineProto->messages->readMessageContents(['id' => [int, int], ]); +$messages.AffectedMessages = $MadelineProto->messages->readMessageContents(['id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AffectedMessages = messages.readMessageContents({id={int}, }) +messages.AffectedMessages = messages.readMessageContents({id={int}, }) ``` diff --git a/old_docs/API_docs_v95/methods/messages.search.md b/old_docs/API_docs_v95/methods/messages.search.md index 75c21af0..b8125fb6 100644 --- a/old_docs/API_docs_v95/methods/messages.search.md +++ b/old_docs/API_docs_v95/methods/messages.search.md @@ -27,7 +27,7 @@ Gets back found messages |hash|Array of [int](../types/int.md) | The IDs of messages you already fetched | Optional| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **NO** @@ -44,13 +44,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->search(['peer' => InputPeer, 'q' => 'string', 'from_id' => InputUser, 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset_id' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, 'hash' => [int, int], ]); +$messages.Messages = $MadelineProto->messages->search(['peer' => InputPeer, 'q' => 'string', 'from_id' => InputUser, 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset_id' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, 'hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.search({peer=InputPeer, q='string', from_id=InputUser, filter=MessagesFilter, min_date=int, max_date=int, offset_id=int, add_offset=int, limit=int, max_id=int, min_id=int, hash={int}, }) +messages.Messages = messages.search({peer=InputPeer, q='string', from_id=InputUser, filter=MessagesFilter, min_date=int, max_date=int, offset_id=int, add_offset=int, limit=int, max_id=int, min_id=int, hash={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v95/methods/messages.searchGifs.md b/old_docs/API_docs_v95/methods/messages.searchGifs.md index 851371d7..193a0cd4 100644 --- a/old_docs/API_docs_v95/methods/messages.searchGifs.md +++ b/old_docs/API_docs_v95/methods/messages.searchGifs.md @@ -17,7 +17,7 @@ Search for GIFs |offset|[int](../types/int.md) | Offset for [pagination »](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_FoundGifs](../types/messages_FoundGifs.md) +### Return type: [messages.FoundGifs](../types/messages.FoundGifs.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_FoundGifs = $MadelineProto->messages->searchGifs(['q' => 'string', 'offset' => int, ]); +$messages.FoundGifs = $MadelineProto->messages->searchGifs(['q' => 'string', 'offset' => int, ]); ``` Or, if you're into Lua: ```lua -messages_FoundGifs = messages.searchGifs({q='string', offset=int, }) +messages.FoundGifs = messages.searchGifs({q='string', offset=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v95/methods/messages.searchGlobal.md b/old_docs/API_docs_v95/methods/messages.searchGlobal.md index 4bd59f25..1a3b736d 100644 --- a/old_docs/API_docs_v95/methods/messages.searchGlobal.md +++ b/old_docs/API_docs_v95/methods/messages.searchGlobal.md @@ -20,7 +20,7 @@ Search for messages and peers globally |limit|[int](../types/int.md) | [Offsets for pagination, for more info click here](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **NO** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->searchGlobal(['q' => 'string', 'offset_date' => int, 'offset_peer' => InputPeer, 'offset_id' => int, 'limit' => int, ]); +$messages.Messages = $MadelineProto->messages->searchGlobal(['q' => 'string', 'offset_date' => int, 'offset_peer' => InputPeer, 'offset_id' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.searchGlobal({q='string', offset_date=int, offset_peer=InputPeer, offset_id=int, limit=int, }) +messages.Messages = messages.searchGlobal({q='string', offset_date=int, offset_peer=InputPeer, offset_id=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v95/methods/messages.searchStickerSets.md b/old_docs/API_docs_v95/methods/messages.searchStickerSets.md index 1759fbc0..a8924f3d 100644 --- a/old_docs/API_docs_v95/methods/messages.searchStickerSets.md +++ b/old_docs/API_docs_v95/methods/messages.searchStickerSets.md @@ -18,7 +18,7 @@ Search for stickersets |hash|Array of [int](../types/int.md) | The IDs of stickersets you already fetched | Optional| -### Return type: [messages\_FoundStickerSets](../types/messages_FoundStickerSets.md) +### Return type: [messages.FoundStickerSets](../types/messages.FoundStickerSets.md) ### Can bots use this method: **NO** @@ -35,12 +35,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_FoundStickerSets = $MadelineProto->messages->searchStickerSets(['exclude_featured' => Bool, 'q' => 'string', 'hash' => [int, int], ]); +$messages.FoundStickerSets = $MadelineProto->messages->searchStickerSets(['exclude_featured' => Bool, 'q' => 'string', 'hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_FoundStickerSets = messages.searchStickerSets({exclude_featured=Bool, q='string', hash={int}, }) +messages.FoundStickerSets = messages.searchStickerSets({exclude_featured=Bool, q='string', hash={int}, }) ``` diff --git a/old_docs/API_docs_v95/methods/messages.sendEncrypted.md b/old_docs/API_docs_v95/methods/messages.sendEncrypted.md index 47b5ef29..6a68b563 100644 --- a/old_docs/API_docs_v95/methods/messages.sendEncrypted.md +++ b/old_docs/API_docs_v95/methods/messages.sendEncrypted.md @@ -14,10 +14,10 @@ Sends a text message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|message|[DecryptedMessage](../types/DecryptedMessage.md) | The message to send | Yes| +|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key that was created during chat initialization | Yes| -### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ### Can bots use this method: **NO** @@ -34,21 +34,15 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncrypted(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); +$messages.SentEncryptedMessage = $MadelineProto->messages->sendEncrypted(['peer' => InputEncryptedChat, 'data' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -messages_SentEncryptedMessage = messages.sendEncrypted({peer=InputEncryptedChat, message=DecryptedMessage, }) +messages.SentEncryptedMessage = messages.sendEncrypted({peer=InputEncryptedChat, data='bytes', }) ``` - -## Return value - -If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) will be returned instead. - - ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v95/methods/messages.sendEncryptedFile.md b/old_docs/API_docs_v95/methods/messages.sendEncryptedFile.md index 4e0f7b7f..87185ba4 100644 --- a/old_docs/API_docs_v95/methods/messages.sendEncryptedFile.md +++ b/old_docs/API_docs_v95/methods/messages.sendEncryptedFile.md @@ -14,11 +14,11 @@ Sends a message with a file attachment to a secret chat | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|message|[DecryptedMessage](../types/DecryptedMessage.md) | The message with the file | Yes| +|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| |file|[File path or InputEncryptedFile](../types/InputEncryptedFile.md) | File attachment for the secret chat | Optional| -### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ### Can bots use this method: **NO** @@ -35,21 +35,15 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedFile(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, 'file' => InputEncryptedFile, ]); +$messages.SentEncryptedMessage = $MadelineProto->messages->sendEncryptedFile(['peer' => InputEncryptedChat, 'data' => 'bytes', 'file' => InputEncryptedFile, ]); ``` Or, if you're into Lua: ```lua -messages_SentEncryptedMessage = messages.sendEncryptedFile({peer=InputEncryptedChat, message=DecryptedMessage, file=InputEncryptedFile, }) +messages.SentEncryptedMessage = messages.sendEncryptedFile({peer=InputEncryptedChat, data='bytes', file=InputEncryptedFile, }) ``` - -## Return value - -If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) will be returned instead. - - ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v95/methods/messages.sendEncryptedService.md b/old_docs/API_docs_v95/methods/messages.sendEncryptedService.md index 86925ae3..38171272 100644 --- a/old_docs/API_docs_v95/methods/messages.sendEncryptedService.md +++ b/old_docs/API_docs_v95/methods/messages.sendEncryptedService.md @@ -14,10 +14,10 @@ Sends a service message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|message|[DecryptedMessage](../types/DecryptedMessage.md) | The service message | Yes| +|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| -### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ### Can bots use this method: **NO** @@ -34,21 +34,15 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedService(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); +$messages.SentEncryptedMessage = $MadelineProto->messages->sendEncryptedService(['peer' => InputEncryptedChat, 'data' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -messages_SentEncryptedMessage = messages.sendEncryptedService({peer=InputEncryptedChat, message=DecryptedMessage, }) +messages.SentEncryptedMessage = messages.sendEncryptedService({peer=InputEncryptedChat, data='bytes', }) ``` - -## Return value - -If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) will be returned instead. - - ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v95/methods/payments.getPaymentForm.md b/old_docs/API_docs_v95/methods/payments.getPaymentForm.md index 3a171a05..da173f14 100644 --- a/old_docs/API_docs_v95/methods/payments.getPaymentForm.md +++ b/old_docs/API_docs_v95/methods/payments.getPaymentForm.md @@ -16,7 +16,7 @@ Get a payment form |msg\_id|[int](../types/int.md) | Message ID of payment form | Yes| -### Return type: [payments\_PaymentForm](../types/payments_PaymentForm.md) +### Return type: [payments.PaymentForm](../types/payments.PaymentForm.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$payments_PaymentForm = $MadelineProto->payments->getPaymentForm(['msg_id' => int, ]); +$payments.PaymentForm = $MadelineProto->payments->getPaymentForm(['msg_id' => int, ]); ``` Or, if you're into Lua: ```lua -payments_PaymentForm = payments.getPaymentForm({msg_id=int, }) +payments.PaymentForm = payments.getPaymentForm({msg_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v95/methods/payments.getPaymentReceipt.md b/old_docs/API_docs_v95/methods/payments.getPaymentReceipt.md index 46d2267c..16e41367 100644 --- a/old_docs/API_docs_v95/methods/payments.getPaymentReceipt.md +++ b/old_docs/API_docs_v95/methods/payments.getPaymentReceipt.md @@ -16,7 +16,7 @@ Get payment receipt |msg\_id|[int](../types/int.md) | Message ID of receipt | Yes| -### Return type: [payments\_PaymentReceipt](../types/payments_PaymentReceipt.md) +### Return type: [payments.PaymentReceipt](../types/payments.PaymentReceipt.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$payments_PaymentReceipt = $MadelineProto->payments->getPaymentReceipt(['msg_id' => int, ]); +$payments.PaymentReceipt = $MadelineProto->payments->getPaymentReceipt(['msg_id' => int, ]); ``` Or, if you're into Lua: ```lua -payments_PaymentReceipt = payments.getPaymentReceipt({msg_id=int, }) +payments.PaymentReceipt = payments.getPaymentReceipt({msg_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v95/methods/payments.getSavedInfo.md b/old_docs/API_docs_v95/methods/payments.getSavedInfo.md index dc9c9b98..fe2c16ec 100644 --- a/old_docs/API_docs_v95/methods/payments.getSavedInfo.md +++ b/old_docs/API_docs_v95/methods/payments.getSavedInfo.md @@ -11,7 +11,7 @@ Get saved payment information -### Return type: [payments\_SavedInfo](../types/payments_SavedInfo.md) +### Return type: [payments.SavedInfo](../types/payments.SavedInfo.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$payments_SavedInfo = $MadelineProto->payments->getSavedInfo(); +$payments.SavedInfo = $MadelineProto->payments->getSavedInfo(); ``` Or, if you're into Lua: ```lua -payments_SavedInfo = payments.getSavedInfo({}) +payments.SavedInfo = payments.getSavedInfo({}) ``` diff --git a/old_docs/API_docs_v95/methods/payments.sendPaymentForm.md b/old_docs/API_docs_v95/methods/payments.sendPaymentForm.md index 8c478b92..de154e7f 100644 --- a/old_docs/API_docs_v95/methods/payments.sendPaymentForm.md +++ b/old_docs/API_docs_v95/methods/payments.sendPaymentForm.md @@ -19,7 +19,7 @@ Send compiled payment form |credentials|[InputPaymentCredentials](../types/InputPaymentCredentials.md) | Payment credentials | Yes| -### Return type: [payments\_PaymentResult](../types/payments_PaymentResult.md) +### Return type: [payments.PaymentResult](../types/payments.PaymentResult.md) ### Can bots use this method: **NO** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$payments_PaymentResult = $MadelineProto->payments->sendPaymentForm(['msg_id' => int, 'requested_info_id' => 'string', 'shipping_option_id' => 'string', 'credentials' => InputPaymentCredentials, ]); +$payments.PaymentResult = $MadelineProto->payments->sendPaymentForm(['msg_id' => int, 'requested_info_id' => 'string', 'shipping_option_id' => 'string', 'credentials' => InputPaymentCredentials, ]); ``` Or, if you're into Lua: ```lua -payments_PaymentResult = payments.sendPaymentForm({msg_id=int, requested_info_id='string', shipping_option_id='string', credentials=InputPaymentCredentials, }) +payments.PaymentResult = payments.sendPaymentForm({msg_id=int, requested_info_id='string', shipping_option_id='string', credentials=InputPaymentCredentials, }) ``` ### Errors diff --git a/old_docs/API_docs_v95/methods/payments.validateRequestedInfo.md b/old_docs/API_docs_v95/methods/payments.validateRequestedInfo.md index d6364a02..ce22cfe8 100644 --- a/old_docs/API_docs_v95/methods/payments.validateRequestedInfo.md +++ b/old_docs/API_docs_v95/methods/payments.validateRequestedInfo.md @@ -18,7 +18,7 @@ Submit requested order information for validation |info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Requested order information | Yes| -### Return type: [payments\_ValidatedRequestedInfo](../types/payments_ValidatedRequestedInfo.md) +### Return type: [payments.ValidatedRequestedInfo](../types/payments.ValidatedRequestedInfo.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$payments_ValidatedRequestedInfo = $MadelineProto->payments->validateRequestedInfo(['save' => Bool, 'msg_id' => int, 'info' => PaymentRequestedInfo, ]); +$payments.ValidatedRequestedInfo = $MadelineProto->payments->validateRequestedInfo(['save' => Bool, 'msg_id' => int, 'info' => PaymentRequestedInfo, ]); ``` Or, if you're into Lua: ```lua -payments_ValidatedRequestedInfo = payments.validateRequestedInfo({save=Bool, msg_id=int, info=PaymentRequestedInfo, }) +payments.ValidatedRequestedInfo = payments.validateRequestedInfo({save=Bool, msg_id=int, info=PaymentRequestedInfo, }) ``` ### Errors diff --git a/old_docs/API_docs_v95/methods/phone.acceptCall.md b/old_docs/API_docs_v95/methods/phone.acceptCall.md index f5c58f01..6b9185aa 100644 --- a/old_docs/API_docs_v95/methods/phone.acceptCall.md +++ b/old_docs/API_docs_v95/methods/phone.acceptCall.md @@ -18,7 +18,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz#calls fo |protocol|[PhoneCallProtocol](../types/PhoneCallProtocol.md) | You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls | Yes| -### Return type: [phone\_PhoneCall](../types/phone_PhoneCall.md) +### Return type: [phone.PhoneCall](../types/phone.PhoneCall.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$phone_PhoneCall = $MadelineProto->phone->acceptCall(['peer' => InputPhoneCall, 'g_b' => 'bytes', 'protocol' => PhoneCallProtocol, ]); +$phone.PhoneCall = $MadelineProto->phone->acceptCall(['peer' => InputPhoneCall, 'g_b' => 'bytes', 'protocol' => PhoneCallProtocol, ]); ``` Or, if you're into Lua: ```lua -phone_PhoneCall = phone.acceptCall({peer=InputPhoneCall, g_b='bytes', protocol=PhoneCallProtocol, }) +phone.PhoneCall = phone.acceptCall({peer=InputPhoneCall, g_b='bytes', protocol=PhoneCallProtocol, }) ``` ### Errors diff --git a/old_docs/API_docs_v95/methods/phone.confirmCall.md b/old_docs/API_docs_v95/methods/phone.confirmCall.md index 468307cc..a52d1f9c 100644 --- a/old_docs/API_docs_v95/methods/phone.confirmCall.md +++ b/old_docs/API_docs_v95/methods/phone.confirmCall.md @@ -19,7 +19,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz#calls fo |protocol|[PhoneCallProtocol](../types/PhoneCallProtocol.md) | You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls | Yes| -### Return type: [phone\_PhoneCall](../types/phone_PhoneCall.md) +### Return type: [phone.PhoneCall](../types/phone.PhoneCall.md) ### Can bots use this method: **NO** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$phone_PhoneCall = $MadelineProto->phone->confirmCall(['peer' => InputPhoneCall, 'g_a' => 'bytes', 'key_fingerprint' => long, 'protocol' => PhoneCallProtocol, ]); +$phone.PhoneCall = $MadelineProto->phone->confirmCall(['peer' => InputPhoneCall, 'g_a' => 'bytes', 'key_fingerprint' => long, 'protocol' => PhoneCallProtocol, ]); ``` Or, if you're into Lua: ```lua -phone_PhoneCall = phone.confirmCall({peer=InputPhoneCall, g_a='bytes', key_fingerprint=long, protocol=PhoneCallProtocol, }) +phone.PhoneCall = phone.confirmCall({peer=InputPhoneCall, g_a='bytes', key_fingerprint=long, protocol=PhoneCallProtocol, }) ``` ### Errors diff --git a/old_docs/API_docs_v95/methods/phone.requestCall.md b/old_docs/API_docs_v95/methods/phone.requestCall.md index c8e828f2..37e847a7 100644 --- a/old_docs/API_docs_v95/methods/phone.requestCall.md +++ b/old_docs/API_docs_v95/methods/phone.requestCall.md @@ -18,7 +18,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz#calls fo |protocol|[PhoneCallProtocol](../types/PhoneCallProtocol.md) | You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls | Yes| -### Return type: [phone\_PhoneCall](../types/phone_PhoneCall.md) +### Return type: [phone.PhoneCall](../types/phone.PhoneCall.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$phone_PhoneCall = $MadelineProto->phone->requestCall(['user_id' => InputUser, 'g_a_hash' => 'bytes', 'protocol' => PhoneCallProtocol, ]); +$phone.PhoneCall = $MadelineProto->phone->requestCall(['user_id' => InputUser, 'g_a_hash' => 'bytes', 'protocol' => PhoneCallProtocol, ]); ``` Or, if you're into Lua: ```lua -phone_PhoneCall = phone.requestCall({user_id=InputUser, g_a_hash='bytes', protocol=PhoneCallProtocol, }) +phone.PhoneCall = phone.requestCall({user_id=InputUser, g_a_hash='bytes', protocol=PhoneCallProtocol, }) ``` ### Errors diff --git a/old_docs/API_docs_v95/methods/photos.getUserPhotos.md b/old_docs/API_docs_v95/methods/photos.getUserPhotos.md index a1dec2ed..1f8d5c64 100644 --- a/old_docs/API_docs_v95/methods/photos.getUserPhotos.md +++ b/old_docs/API_docs_v95/methods/photos.getUserPhotos.md @@ -19,7 +19,7 @@ Returns the list of user photos. |limit|[int](../types/int.md) | Number of list elements to be returned | Yes| -### Return type: [photos\_Photos](../types/photos_Photos.md) +### Return type: [photos.Photos](../types/photos.Photos.md) ### Can bots use this method: **YES** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$photos_Photos = $MadelineProto->photos->getUserPhotos(['user_id' => InputUser, 'offset' => int, 'max_id' => long, 'limit' => int, ]); +$photos.Photos = $MadelineProto->photos->getUserPhotos(['user_id' => InputUser, 'offset' => int, 'max_id' => long, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -photos_Photos = photos.getUserPhotos({user_id=InputUser, offset=int, max_id=long, limit=int, }) +photos.Photos = photos.getUserPhotos({user_id=InputUser, offset=int, max_id=long, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v95/methods/photos.uploadProfilePhoto.md b/old_docs/API_docs_v95/methods/photos.uploadProfilePhoto.md index b6a01ee7..4de76a24 100644 --- a/old_docs/API_docs_v95/methods/photos.uploadProfilePhoto.md +++ b/old_docs/API_docs_v95/methods/photos.uploadProfilePhoto.md @@ -16,7 +16,7 @@ Updates current user profile photo. |file|[File path or InputFile](../types/InputFile.md) | File saved in parts by means of [upload.saveFilePart](../methods/upload.saveFilePart.md) method | Yes| -### Return type: [photos\_Photo](../types/photos_Photo.md) +### Return type: [photos.Photo](../types/photos.Photo.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$photos_Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, ]); +$photos.Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, ]); ``` Or, if you're into Lua: ```lua -photos_Photo = photos.uploadProfilePhoto({file=InputFile, }) +photos.Photo = photos.uploadProfilePhoto({file=InputFile, }) ``` ### Errors diff --git a/old_docs/API_docs_v95/methods/stickers.addStickerToSet.md b/old_docs/API_docs_v95/methods/stickers.addStickerToSet.md index 727d3f27..e8392355 100644 --- a/old_docs/API_docs_v95/methods/stickers.addStickerToSet.md +++ b/old_docs/API_docs_v95/methods/stickers.addStickerToSet.md @@ -17,7 +17,7 @@ Add a sticker to a stickerset, bots only. The sticker set must have been created |sticker|[InputStickerSetItem](../types/InputStickerSetItem.md) | The sticker | Yes| -### Return type: [messages\_StickerSet](../types/messages_StickerSet.md) +### Return type: [messages.StickerSet](../types/messages.StickerSet.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StickerSet = $MadelineProto->stickers->addStickerToSet(['stickerset' => InputStickerSet, 'sticker' => InputStickerSetItem, ]); +$messages.StickerSet = $MadelineProto->stickers->addStickerToSet(['stickerset' => InputStickerSet, 'sticker' => InputStickerSetItem, ]); ``` Or, if you're into Lua: ```lua -messages_StickerSet = stickers.addStickerToSet({stickerset=InputStickerSet, sticker=InputStickerSetItem, }) +messages.StickerSet = stickers.addStickerToSet({stickerset=InputStickerSet, sticker=InputStickerSetItem, }) ``` ### Errors diff --git a/old_docs/API_docs_v95/methods/stickers.changeStickerPosition.md b/old_docs/API_docs_v95/methods/stickers.changeStickerPosition.md index ed390f21..e1d8ab5e 100644 --- a/old_docs/API_docs_v95/methods/stickers.changeStickerPosition.md +++ b/old_docs/API_docs_v95/methods/stickers.changeStickerPosition.md @@ -17,7 +17,7 @@ Changes the absolute position of a sticker in the set to which it belongs; for b |position|[int](../types/int.md) | The new position of the sticker, zero-based | Yes| -### Return type: [messages\_StickerSet](../types/messages_StickerSet.md) +### Return type: [messages.StickerSet](../types/messages.StickerSet.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StickerSet = $MadelineProto->stickers->changeStickerPosition(['sticker' => InputDocument, 'position' => int, ]); +$messages.StickerSet = $MadelineProto->stickers->changeStickerPosition(['sticker' => InputDocument, 'position' => int, ]); ``` Or, if you're into Lua: ```lua -messages_StickerSet = stickers.changeStickerPosition({sticker=InputDocument, position=int, }) +messages.StickerSet = stickers.changeStickerPosition({sticker=InputDocument, position=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v95/methods/stickers.createStickerSet.md b/old_docs/API_docs_v95/methods/stickers.createStickerSet.md index 5a6ef396..7eeeb48f 100644 --- a/old_docs/API_docs_v95/methods/stickers.createStickerSet.md +++ b/old_docs/API_docs_v95/methods/stickers.createStickerSet.md @@ -20,7 +20,7 @@ Create a stickerset, bots only. |stickers|Array of [InputStickerSetItem](../types/InputStickerSetItem.md) | The stickers to add | Yes| -### Return type: [messages\_StickerSet](../types/messages_StickerSet.md) +### Return type: [messages.StickerSet](../types/messages.StickerSet.md) ### Can bots use this method: **YES** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StickerSet = $MadelineProto->stickers->createStickerSet(['masks' => Bool, 'user_id' => InputUser, 'title' => 'string', 'short_name' => 'string', 'stickers' => [InputStickerSetItem, InputStickerSetItem], ]); +$messages.StickerSet = $MadelineProto->stickers->createStickerSet(['masks' => Bool, 'user_id' => InputUser, 'title' => 'string', 'short_name' => 'string', 'stickers' => [InputStickerSetItem, InputStickerSetItem], ]); ``` Or, if you're into Lua: ```lua -messages_StickerSet = stickers.createStickerSet({masks=Bool, user_id=InputUser, title='string', short_name='string', stickers={InputStickerSetItem}, }) +messages.StickerSet = stickers.createStickerSet({masks=Bool, user_id=InputUser, title='string', short_name='string', stickers={InputStickerSetItem}, }) ``` ### Errors diff --git a/old_docs/API_docs_v95/methods/stickers.removeStickerFromSet.md b/old_docs/API_docs_v95/methods/stickers.removeStickerFromSet.md index 33f677b3..aa4927ca 100644 --- a/old_docs/API_docs_v95/methods/stickers.removeStickerFromSet.md +++ b/old_docs/API_docs_v95/methods/stickers.removeStickerFromSet.md @@ -16,7 +16,7 @@ Remove a sticker from the set where it belongs, bots only. The sticker set must |sticker|[MessageMedia, Update, Message or InputDocument](../types/InputDocument.md) | The sticker to remove | Optional| -### Return type: [messages\_StickerSet](../types/messages_StickerSet.md) +### Return type: [messages.StickerSet](../types/messages.StickerSet.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StickerSet = $MadelineProto->stickers->removeStickerFromSet(['sticker' => InputDocument, ]); +$messages.StickerSet = $MadelineProto->stickers->removeStickerFromSet(['sticker' => InputDocument, ]); ``` Or, if you're into Lua: ```lua -messages_StickerSet = stickers.removeStickerFromSet({sticker=InputDocument, }) +messages.StickerSet = stickers.removeStickerFromSet({sticker=InputDocument, }) ``` ### Errors diff --git a/old_docs/API_docs_v95/methods/updates.getChannelDifference.md b/old_docs/API_docs_v95/methods/updates.getChannelDifference.md index 5675cd33..08df3395 100644 --- a/old_docs/API_docs_v95/methods/updates.getChannelDifference.md +++ b/old_docs/API_docs_v95/methods/updates.getChannelDifference.md @@ -20,7 +20,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz for more |limit|[int](../types/int.md) | You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates | Yes| -### Return type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) +### Return type: [updates.ChannelDifference](../types/updates.ChannelDifference.md) ### Can bots use this method: **YES** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$updates_ChannelDifference = $MadelineProto->updates->getChannelDifference(['force' => Bool, 'channel' => InputChannel, 'filter' => ChannelMessagesFilter, 'pts' => int, 'limit' => int, ]); +$updates.ChannelDifference = $MadelineProto->updates->getChannelDifference(['force' => Bool, 'channel' => InputChannel, 'filter' => ChannelMessagesFilter, 'pts' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -updates_ChannelDifference = updates.getChannelDifference({force=Bool, channel=InputChannel, filter=ChannelMessagesFilter, pts=int, limit=int, }) +updates.ChannelDifference = updates.getChannelDifference({force=Bool, channel=InputChannel, filter=ChannelMessagesFilter, pts=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v95/methods/updates.getDifference.md b/old_docs/API_docs_v95/methods/updates.getDifference.md index bcfac4e2..b3796a10 100644 --- a/old_docs/API_docs_v95/methods/updates.getDifference.md +++ b/old_docs/API_docs_v95/methods/updates.getDifference.md @@ -19,7 +19,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz for more |qts|[int](../types/int.md) | You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates | Yes| -### Return type: [updates\_Difference](../types/updates_Difference.md) +### Return type: [updates.Difference](../types/updates.Difference.md) ### Can bots use this method: **YES** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$updates_Difference = $MadelineProto->updates->getDifference(['pts' => int, 'pts_total_limit' => int, 'date' => int, 'qts' => int, ]); +$updates.Difference = $MadelineProto->updates->getDifference(['pts' => int, 'pts_total_limit' => int, 'date' => int, 'qts' => int, ]); ``` Or, if you're into Lua: ```lua -updates_Difference = updates.getDifference({pts=int, pts_total_limit=int, date=int, qts=int, }) +updates.Difference = updates.getDifference({pts=int, pts_total_limit=int, date=int, qts=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v95/methods/updates.getState.md b/old_docs/API_docs_v95/methods/updates.getState.md index c591408a..9a7d2f34 100644 --- a/old_docs/API_docs_v95/methods/updates.getState.md +++ b/old_docs/API_docs_v95/methods/updates.getState.md @@ -11,7 +11,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz for more -### Return type: [updates\_State](../types/updates_State.md) +### Return type: [updates.State](../types/updates.State.md) ### Can bots use this method: **YES** @@ -28,13 +28,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$updates_State = $MadelineProto->updates->getState(); +$updates.State = $MadelineProto->updates->getState(); ``` Or, if you're into Lua: ```lua -updates_State = updates.getState({}) +updates.State = updates.getState({}) ``` ### Errors diff --git a/old_docs/API_docs_v95/methods/upload.getCdnFile.md b/old_docs/API_docs_v95/methods/upload.getCdnFile.md index a3c928b2..67b2e84e 100644 --- a/old_docs/API_docs_v95/methods/upload.getCdnFile.md +++ b/old_docs/API_docs_v95/methods/upload.getCdnFile.md @@ -18,7 +18,7 @@ You cannot use this method directly, use the upload, downloadToStream, downloadT |limit|[int](../types/int.md) | You cannot use this method directly, use the upload, downloadToStream, downloadToFile, downloadToDir methods instead; see https://docs.madelineproto.xyz for more info | Yes| -### Return type: [upload\_CdnFile](../types/upload_CdnFile.md) +### Return type: [upload.CdnFile](../types/upload.CdnFile.md) ### Can bots use this method: **NO** @@ -35,12 +35,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$upload_CdnFile = $MadelineProto->upload->getCdnFile(['file_token' => 'bytes', 'offset' => int, 'limit' => int, ]); +$upload.CdnFile = $MadelineProto->upload->getCdnFile(['file_token' => 'bytes', 'offset' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -upload_CdnFile = upload.getCdnFile({file_token='bytes', offset=int, limit=int, }) +upload.CdnFile = upload.getCdnFile({file_token='bytes', offset=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v95/methods/upload.getFile.md b/old_docs/API_docs_v95/methods/upload.getFile.md index 8aba03d4..ab9f4fe2 100644 --- a/old_docs/API_docs_v95/methods/upload.getFile.md +++ b/old_docs/API_docs_v95/methods/upload.getFile.md @@ -18,7 +18,7 @@ You cannot use this method directly, use the upload, downloadToStream, downloadT |limit|[int](../types/int.md) | You cannot use this method directly, use the upload, downloadToStream, downloadToFile, downloadToDir methods instead; see https://docs.madelineproto.xyz for more info | Yes| -### Return type: [upload\_File](../types/upload_File.md) +### Return type: [upload.File](../types/upload.File.md) ### Can bots use this method: **YES** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$upload_File = $MadelineProto->upload->getFile(['location' => InputFileLocation, 'offset' => int, 'limit' => int, ]); +$upload.File = $MadelineProto->upload->getFile(['location' => InputFileLocation, 'offset' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -upload_File = upload.getFile({location=InputFileLocation, offset=int, limit=int, }) +upload.File = upload.getFile({location=InputFileLocation, offset=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v95/methods/upload.getWebFile.md b/old_docs/API_docs_v95/methods/upload.getWebFile.md index 32f6b322..60f1b8c1 100644 --- a/old_docs/API_docs_v95/methods/upload.getWebFile.md +++ b/old_docs/API_docs_v95/methods/upload.getWebFile.md @@ -18,7 +18,7 @@ Returns content of an HTTP file or a part, by proxying the request through teleg |limit|[int](../types/int.md) | Number of bytes to be returned | Yes| -### Return type: [upload\_WebFile](../types/upload_WebFile.md) +### Return type: [upload.WebFile](../types/upload.WebFile.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$upload_WebFile = $MadelineProto->upload->getWebFile(['location' => InputWebFileLocation, 'offset' => int, 'limit' => int, ]); +$upload.WebFile = $MadelineProto->upload->getWebFile(['location' => InputWebFileLocation, 'offset' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -upload_WebFile = upload.getWebFile({location=InputWebFileLocation, offset=int, limit=int, }) +upload.WebFile = upload.getWebFile({location=InputWebFileLocation, offset=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v95/types/AccountDaysTTL.md b/old_docs/API_docs_v95/types/AccountDaysTTL.md index 12a10190..f3494aac 100644 --- a/old_docs/API_docs_v95/types/AccountDaysTTL.md +++ b/old_docs/API_docs_v95/types/AccountDaysTTL.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->account->getAccountTTL](../methods/account_getAccountTTL.md) +[$MadelineProto->account->getAccountTTL](../methods/account.getAccountTTL.md) diff --git a/old_docs/API_docs_v95/types/CdnConfig.md b/old_docs/API_docs_v95/types/CdnConfig.md index fbfe01c3..0b0fb5be 100644 --- a/old_docs/API_docs_v95/types/CdnConfig.md +++ b/old_docs/API_docs_v95/types/CdnConfig.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->help->getCdnConfig](../methods/help_getCdnConfig.md) +[$MadelineProto->help->getCdnConfig](../methods/help.getCdnConfig.md) diff --git a/old_docs/API_docs_v95/types/ChatInvite.md b/old_docs/API_docs_v95/types/ChatInvite.md index 5022a2f0..9fafabb4 100644 --- a/old_docs/API_docs_v95/types/ChatInvite.md +++ b/old_docs/API_docs_v95/types/ChatInvite.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->checkChatInvite](../methods/messages_checkChatInvite.md) +[$MadelineProto->messages->checkChatInvite](../methods/messages.checkChatInvite.md) diff --git a/old_docs/API_docs_v95/types/ChatOnlines.md b/old_docs/API_docs_v95/types/ChatOnlines.md index 5faf4a6e..e5646dd6 100644 --- a/old_docs/API_docs_v95/types/ChatOnlines.md +++ b/old_docs/API_docs_v95/types/ChatOnlines.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getOnlines](../methods/messages_getOnlines.md) +[$MadelineProto->messages->getOnlines](../methods/messages.getOnlines.md) diff --git a/old_docs/API_docs_v95/types/Config.md b/old_docs/API_docs_v95/types/Config.md index 0f7fbe70..3a23b7b7 100644 --- a/old_docs/API_docs_v95/types/Config.md +++ b/old_docs/API_docs_v95/types/Config.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->help->getConfig](../methods/help_getConfig.md) +[$MadelineProto->help->getConfig](../methods/help.getConfig.md) diff --git a/old_docs/API_docs_v95/types/ContactStatus.md b/old_docs/API_docs_v95/types/ContactStatus.md index c5f5d658..30aee6e2 100644 --- a/old_docs/API_docs_v95/types/ContactStatus.md +++ b/old_docs/API_docs_v95/types/ContactStatus.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->contacts->getStatuses](../methods/contacts_getStatuses.md) +[$MadelineProto->contacts->getStatuses](../methods/contacts.getStatuses.md) diff --git a/old_docs/API_docs_v95/types/DialogPeer.md b/old_docs/API_docs_v95/types/DialogPeer.md index 77d00a35..72c2a973 100644 --- a/old_docs/API_docs_v95/types/DialogPeer.md +++ b/old_docs/API_docs_v95/types/DialogPeer.md @@ -40,7 +40,7 @@ A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDia ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getDialogUnreadMarks](../methods/messages_getDialogUnreadMarks.md) +[$MadelineProto->messages->getDialogUnreadMarks](../methods/messages.getDialogUnreadMarks.md) diff --git a/old_docs/API_docs_v95/types/Document.md b/old_docs/API_docs_v95/types/Document.md index f68b7aa4..2cb85623 100644 --- a/old_docs/API_docs_v95/types/Document.md +++ b/old_docs/API_docs_v95/types/Document.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getDocumentByHash](../methods/messages_getDocumentByHash.md) +[$MadelineProto->messages->getDocumentByHash](../methods/messages.getDocumentByHash.md) diff --git a/old_docs/API_docs_v95/types/EncryptedChat.md b/old_docs/API_docs_v95/types/EncryptedChat.md index fd2277f6..19cf52b0 100644 --- a/old_docs/API_docs_v95/types/EncryptedChat.md +++ b/old_docs/API_docs_v95/types/EncryptedChat.md @@ -24,9 +24,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->requestEncryption](../methods/messages_requestEncryption.md) +[$MadelineProto->messages->requestEncryption](../methods/messages.requestEncryption.md) -[$MadelineProto->messages->acceptEncryption](../methods/messages_acceptEncryption.md) +[$MadelineProto->messages->acceptEncryption](../methods/messages.acceptEncryption.md) diff --git a/old_docs/API_docs_v95/types/EncryptedFile.md b/old_docs/API_docs_v95/types/EncryptedFile.md index a26d40bb..8ecf8e9d 100644 --- a/old_docs/API_docs_v95/types/EncryptedFile.md +++ b/old_docs/API_docs_v95/types/EncryptedFile.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->uploadEncryptedFile](../methods/messages_uploadEncryptedFile.md) +[$MadelineProto->messages->uploadEncryptedFile](../methods/messages.uploadEncryptedFile.md) diff --git a/old_docs/API_docs_v95/types/ExportedChatInvite.md b/old_docs/API_docs_v95/types/ExportedChatInvite.md index 16a273d1..f5a43739 100644 --- a/old_docs/API_docs_v95/types/ExportedChatInvite.md +++ b/old_docs/API_docs_v95/types/ExportedChatInvite.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->exportChatInvite](../methods/messages_exportChatInvite.md) +[$MadelineProto->messages->exportChatInvite](../methods/messages.exportChatInvite.md) diff --git a/old_docs/API_docs_v95/types/ExportedMessageLink.md b/old_docs/API_docs_v95/types/ExportedMessageLink.md index eb2400f6..948e9c90 100644 --- a/old_docs/API_docs_v95/types/ExportedMessageLink.md +++ b/old_docs/API_docs_v95/types/ExportedMessageLink.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->channels->exportMessageLink](../methods/channels_exportMessageLink.md) +[$MadelineProto->channels->exportMessageLink](../methods/channels.exportMessageLink.md) diff --git a/old_docs/API_docs_v95/types/FileHash.md b/old_docs/API_docs_v95/types/FileHash.md index 3201d7e0..a908fb9b 100644 --- a/old_docs/API_docs_v95/types/FileHash.md +++ b/old_docs/API_docs_v95/types/FileHash.md @@ -16,11 +16,11 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->upload->reuploadCdnFile](../methods/upload_reuploadCdnFile.md) +[$MadelineProto->upload->reuploadCdnFile](../methods/upload.reuploadCdnFile.md) -[$MadelineProto->upload->getCdnFileHashes](../methods/upload_getCdnFileHashes.md) +[$MadelineProto->upload->getCdnFileHashes](../methods/upload.getCdnFileHashes.md) -[$MadelineProto->upload->getFileHashes](../methods/upload_getFileHashes.md) +[$MadelineProto->upload->getFileHashes](../methods/upload.getFileHashes.md) diff --git a/old_docs/API_docs_v95/types/JSONValue.md b/old_docs/API_docs_v95/types/JSONValue.md index eed45486..83527ab0 100644 --- a/old_docs/API_docs_v95/types/JSONValue.md +++ b/old_docs/API_docs_v95/types/JSONValue.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->help->getAppConfig](../methods/help_getAppConfig.md) +[$MadelineProto->help->getAppConfig](../methods/help.getAppConfig.md) diff --git a/old_docs/API_docs_v95/types/LangPackDifference.md b/old_docs/API_docs_v95/types/LangPackDifference.md index fd9f41f2..e04125b8 100644 --- a/old_docs/API_docs_v95/types/LangPackDifference.md +++ b/old_docs/API_docs_v95/types/LangPackDifference.md @@ -16,9 +16,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->langpack->getLangPack](../methods/langpack_getLangPack.md) +[$MadelineProto->langpack->getLangPack](../methods/langpack.getLangPack.md) -[$MadelineProto->langpack->getDifference](../methods/langpack_getDifference.md) +[$MadelineProto->langpack->getDifference](../methods/langpack.getDifference.md) diff --git a/old_docs/API_docs_v95/types/LangPackLanguage.md b/old_docs/API_docs_v95/types/LangPackLanguage.md index f6559af9..74c7172d 100644 --- a/old_docs/API_docs_v95/types/LangPackLanguage.md +++ b/old_docs/API_docs_v95/types/LangPackLanguage.md @@ -16,9 +16,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->langpack->getLanguages](../methods/langpack_getLanguages.md) +[$MadelineProto->langpack->getLanguages](../methods/langpack.getLanguages.md) -[$MadelineProto->langpack->getLanguage](../methods/langpack_getLanguage.md) +[$MadelineProto->langpack->getLanguage](../methods/langpack.getLanguage.md) diff --git a/old_docs/API_docs_v95/types/LangPackString.md b/old_docs/API_docs_v95/types/LangPackString.md index f1a43dd9..15f9dc3d 100644 --- a/old_docs/API_docs_v95/types/LangPackString.md +++ b/old_docs/API_docs_v95/types/LangPackString.md @@ -20,7 +20,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->langpack->getStrings](../methods/langpack_getStrings.md) +[$MadelineProto->langpack->getStrings](../methods/langpack.getStrings.md) diff --git a/old_docs/API_docs_v95/types/MessageMedia.md b/old_docs/API_docs_v95/types/MessageMedia.md index 51aa795e..36602552 100644 --- a/old_docs/API_docs_v95/types/MessageMedia.md +++ b/old_docs/API_docs_v95/types/MessageMedia.md @@ -38,9 +38,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getWebPagePreview](../methods/messages_getWebPagePreview.md) +[$MadelineProto->messages->getWebPagePreview](../methods/messages.getWebPagePreview.md) -[$MadelineProto->messages->uploadMedia](../methods/messages_uploadMedia.md) +[$MadelineProto->messages->uploadMedia](../methods/messages.uploadMedia.md) diff --git a/old_docs/API_docs_v95/types/MessageRange.md b/old_docs/API_docs_v95/types/MessageRange.md index c93011aa..ffd65e90 100644 --- a/old_docs/API_docs_v95/types/MessageRange.md +++ b/old_docs/API_docs_v95/types/MessageRange.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getSplitRanges](../methods/messages_getSplitRanges.md) +[$MadelineProto->messages->getSplitRanges](../methods/messages.getSplitRanges.md) diff --git a/old_docs/API_docs_v95/types/NearestDc.md b/old_docs/API_docs_v95/types/NearestDc.md index 31f24377..296a4dff 100644 --- a/old_docs/API_docs_v95/types/NearestDc.md +++ b/old_docs/API_docs_v95/types/NearestDc.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->help->getNearestDc](../methods/help_getNearestDc.md) +[$MadelineProto->help->getNearestDc](../methods/help.getNearestDc.md) diff --git a/old_docs/API_docs_v95/types/PeerNotifySettings.md b/old_docs/API_docs_v95/types/PeerNotifySettings.md index ecb483c5..d3b4833c 100644 --- a/old_docs/API_docs_v95/types/PeerNotifySettings.md +++ b/old_docs/API_docs_v95/types/PeerNotifySettings.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->account->getNotifySettings](../methods/account_getNotifySettings.md) +[$MadelineProto->account->getNotifySettings](../methods/account.getNotifySettings.md) diff --git a/old_docs/API_docs_v95/types/PeerSettings.md b/old_docs/API_docs_v95/types/PeerSettings.md index 60ac3765..31ef7e38 100644 --- a/old_docs/API_docs_v95/types/PeerSettings.md +++ b/old_docs/API_docs_v95/types/PeerSettings.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getPeerSettings](../methods/messages_getPeerSettings.md) +[$MadelineProto->messages->getPeerSettings](../methods/messages.getPeerSettings.md) diff --git a/old_docs/API_docs_v95/types/README.md b/old_docs/API_docs_v95/types/README.md index 113b9b5c..b5115b2d 100644 --- a/old_docs/API_docs_v95/types/README.md +++ b/old_docs/API_docs_v95/types/README.md @@ -363,165 +363,165 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png [X](X.md) -[account\_AuthorizationForm](account_AuthorizationForm.md) +[account.AuthorizationForm](account.AuthorizationForm.md) -[account\_Authorizations](account_Authorizations.md) +[account.Authorizations](account.Authorizations.md) -[account\_Password](account_Password.md) +[account.Password](account.Password.md) -[account\_PasswordInputSettings](account_PasswordInputSettings.md) +[account.PasswordInputSettings](account.PasswordInputSettings.md) -[account\_PasswordSettings](account_PasswordSettings.md) +[account.PasswordSettings](account.PasswordSettings.md) -[account\_PrivacyRules](account_PrivacyRules.md) +[account.PrivacyRules](account.PrivacyRules.md) -[account\_SentEmailCode](account_SentEmailCode.md) +[account.SentEmailCode](account.SentEmailCode.md) -[account\_Takeout](account_Takeout.md) +[account.Takeout](account.Takeout.md) -[account\_TmpPassword](account_TmpPassword.md) +[account.TmpPassword](account.TmpPassword.md) -[account\_WallPapers](account_WallPapers.md) +[account.WallPapers](account.WallPapers.md) -[account\_WebAuthorizations](account_WebAuthorizations.md) +[account.WebAuthorizations](account.WebAuthorizations.md) -[auth\_Authorization](auth_Authorization.md) +[auth.Authorization](auth.Authorization.md) -[auth\_CheckedPhone](auth_CheckedPhone.md) +[auth.CheckedPhone](auth.CheckedPhone.md) -[auth\_CodeType](auth_CodeType.md) +[auth.CodeType](auth.CodeType.md) -[auth\_ExportedAuthorization](auth_ExportedAuthorization.md) +[auth.ExportedAuthorization](auth.ExportedAuthorization.md) -[auth\_PasswordRecovery](auth_PasswordRecovery.md) +[auth.PasswordRecovery](auth.PasswordRecovery.md) -[auth\_SentCode](auth_SentCode.md) +[auth.SentCode](auth.SentCode.md) -[auth\_SentCodeType](auth_SentCodeType.md) +[auth.SentCodeType](auth.SentCodeType.md) -[channels\_AdminLogResults](channels_AdminLogResults.md) +[channels.AdminLogResults](channels.AdminLogResults.md) -[channels\_ChannelParticipant](channels_ChannelParticipant.md) +[channels.ChannelParticipant](channels.ChannelParticipant.md) -[channels\_ChannelParticipants](channels_ChannelParticipants.md) +[channels.ChannelParticipants](channels.ChannelParticipants.md) -[contacts\_Blocked](contacts_Blocked.md) +[contacts.Blocked](contacts.Blocked.md) -[contacts\_Contacts](contacts_Contacts.md) +[contacts.Contacts](contacts.Contacts.md) -[contacts\_Found](contacts_Found.md) +[contacts.Found](contacts.Found.md) -[contacts\_ImportedContacts](contacts_ImportedContacts.md) +[contacts.ImportedContacts](contacts.ImportedContacts.md) -[contacts\_Link](contacts_Link.md) +[contacts.Link](contacts.Link.md) -[contacts\_ResolvedPeer](contacts_ResolvedPeer.md) +[contacts.ResolvedPeer](contacts.ResolvedPeer.md) -[contacts\_TopPeers](contacts_TopPeers.md) +[contacts.TopPeers](contacts.TopPeers.md) -[help\_AppUpdate](help_AppUpdate.md) +[help.AppUpdate](help.AppUpdate.md) -[help\_ConfigSimple](help_ConfigSimple.md) +[help.ConfigSimple](help.ConfigSimple.md) -[help\_DeepLinkInfo](help_DeepLinkInfo.md) +[help.DeepLinkInfo](help.DeepLinkInfo.md) -[help\_InviteText](help_InviteText.md) +[help.InviteText](help.InviteText.md) -[help\_PassportConfig](help_PassportConfig.md) +[help.PassportConfig](help.PassportConfig.md) -[help\_ProxyData](help_ProxyData.md) +[help.ProxyData](help.ProxyData.md) -[help\_RecentMeUrls](help_RecentMeUrls.md) +[help.RecentMeUrls](help.RecentMeUrls.md) -[help\_Support](help_Support.md) +[help.Support](help.Support.md) -[help\_SupportName](help_SupportName.md) +[help.SupportName](help.SupportName.md) -[help\_TermsOfService](help_TermsOfService.md) +[help.TermsOfService](help.TermsOfService.md) -[help\_TermsOfServiceUpdate](help_TermsOfServiceUpdate.md) +[help.TermsOfServiceUpdate](help.TermsOfServiceUpdate.md) -[help\_UserInfo](help_UserInfo.md) +[help.UserInfo](help.UserInfo.md) [int](int.md) [long](long.md) -[messages\_AffectedHistory](messages_AffectedHistory.md) +[messages.AffectedHistory](messages.AffectedHistory.md) -[messages\_AffectedMessages](messages_AffectedMessages.md) +[messages.AffectedMessages](messages.AffectedMessages.md) -[messages\_AllStickers](messages_AllStickers.md) +[messages.AllStickers](messages.AllStickers.md) -[messages\_ArchivedStickers](messages_ArchivedStickers.md) +[messages.ArchivedStickers](messages.ArchivedStickers.md) -[messages\_BotCallbackAnswer](messages_BotCallbackAnswer.md) +[messages.BotCallbackAnswer](messages.BotCallbackAnswer.md) -[messages\_BotResults](messages_BotResults.md) +[messages.BotResults](messages.BotResults.md) -[messages\_ChatFull](messages_ChatFull.md) +[messages.ChatFull](messages.ChatFull.md) -[messages\_Chats](messages_Chats.md) +[messages.Chats](messages.Chats.md) -[messages\_DhConfig](messages_DhConfig.md) +[messages.DhConfig](messages.DhConfig.md) -[messages\_Dialogs](messages_Dialogs.md) +[messages.Dialogs](messages.Dialogs.md) -[messages\_FavedStickers](messages_FavedStickers.md) +[messages.FavedStickers](messages.FavedStickers.md) -[messages\_FeaturedStickers](messages_FeaturedStickers.md) +[messages.FeaturedStickers](messages.FeaturedStickers.md) -[messages\_FoundGifs](messages_FoundGifs.md) +[messages.FoundGifs](messages.FoundGifs.md) -[messages\_FoundStickerSets](messages_FoundStickerSets.md) +[messages.FoundStickerSets](messages.FoundStickerSets.md) -[messages\_HighScores](messages_HighScores.md) +[messages.HighScores](messages.HighScores.md) -[messages\_MessageEditData](messages_MessageEditData.md) +[messages.MessageEditData](messages.MessageEditData.md) -[messages\_Messages](messages_Messages.md) +[messages.Messages](messages.Messages.md) -[messages\_PeerDialogs](messages_PeerDialogs.md) +[messages.PeerDialogs](messages.PeerDialogs.md) -[messages\_RecentStickers](messages_RecentStickers.md) +[messages.RecentStickers](messages.RecentStickers.md) -[messages\_SavedGifs](messages_SavedGifs.md) +[messages.SavedGifs](messages.SavedGifs.md) -[messages\_SentEncryptedMessage](messages_SentEncryptedMessage.md) +[messages.SentEncryptedMessage](messages.SentEncryptedMessage.md) -[messages\_StickerSet](messages_StickerSet.md) +[messages.StickerSet](messages.StickerSet.md) -[messages\_StickerSetInstallResult](messages_StickerSetInstallResult.md) +[messages.StickerSetInstallResult](messages.StickerSetInstallResult.md) -[messages\_Stickers](messages_Stickers.md) +[messages.Stickers](messages.Stickers.md) -[payments\_PaymentForm](payments_PaymentForm.md) +[payments.PaymentForm](payments.PaymentForm.md) -[payments\_PaymentReceipt](payments_PaymentReceipt.md) +[payments.PaymentReceipt](payments.PaymentReceipt.md) -[payments\_PaymentResult](payments_PaymentResult.md) +[payments.PaymentResult](payments.PaymentResult.md) -[payments\_SavedInfo](payments_SavedInfo.md) +[payments.SavedInfo](payments.SavedInfo.md) -[payments\_ValidatedRequestedInfo](payments_ValidatedRequestedInfo.md) +[payments.ValidatedRequestedInfo](payments.ValidatedRequestedInfo.md) -[phone\_PhoneCall](phone_PhoneCall.md) +[phone.PhoneCall](phone.PhoneCall.md) -[photos\_Photo](photos_Photo.md) +[photos.Photo](photos.Photo.md) -[photos\_Photos](photos_Photos.md) +[photos.Photos](photos.Photos.md) -[storage\_FileType](storage_FileType.md) +[storage.FileType](storage.FileType.md) -[updates\_ChannelDifference](updates_ChannelDifference.md) +[updates.ChannelDifference](updates.ChannelDifference.md) -[updates\_Difference](updates_Difference.md) +[updates.Difference](updates.Difference.md) -[updates\_State](updates_State.md) +[updates.State](updates.State.md) -[upload\_CdnFile](upload_CdnFile.md) +[upload.CdnFile](upload.CdnFile.md) -[upload\_File](upload_File.md) +[upload.File](upload.File.md) -[upload\_WebFile](upload_WebFile.md) +[upload.WebFile](upload.WebFile.md) diff --git a/old_docs/API_docs_v95/types/ReceivedNotifyMessage.md b/old_docs/API_docs_v95/types/ReceivedNotifyMessage.md index c7fc3b8c..416aa275 100644 --- a/old_docs/API_docs_v95/types/ReceivedNotifyMessage.md +++ b/old_docs/API_docs_v95/types/ReceivedNotifyMessage.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->receivedMessages](../methods/messages_receivedMessages.md) +[$MadelineProto->messages->receivedMessages](../methods/messages.receivedMessages.md) diff --git a/old_docs/API_docs_v95/types/SavedContact.md b/old_docs/API_docs_v95/types/SavedContact.md index c337f3eb..73a91ba6 100644 --- a/old_docs/API_docs_v95/types/SavedContact.md +++ b/old_docs/API_docs_v95/types/SavedContact.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->contacts->getSaved](../methods/contacts_getSaved.md) +[$MadelineProto->contacts->getSaved](../methods/contacts.getSaved.md) diff --git a/old_docs/API_docs_v95/types/SecureValue.md b/old_docs/API_docs_v95/types/SecureValue.md index 8490f399..2ab18f68 100644 --- a/old_docs/API_docs_v95/types/SecureValue.md +++ b/old_docs/API_docs_v95/types/SecureValue.md @@ -16,11 +16,11 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->account->getAllSecureValues](../methods/account_getAllSecureValues.md) +[$MadelineProto->account->getAllSecureValues](../methods/account.getAllSecureValues.md) -[$MadelineProto->account->getSecureValue](../methods/account_getSecureValue.md) +[$MadelineProto->account->getSecureValue](../methods/account.getSecureValue.md) -[$MadelineProto->account->saveSecureValue](../methods/account_saveSecureValue.md) +[$MadelineProto->account->saveSecureValue](../methods/account.saveSecureValue.md) diff --git a/old_docs/API_docs_v95/types/StatsURL.md b/old_docs/API_docs_v95/types/StatsURL.md index 1a2695cd..8704eed7 100644 --- a/old_docs/API_docs_v95/types/StatsURL.md +++ b/old_docs/API_docs_v95/types/StatsURL.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getStatsURL](../methods/messages_getStatsURL.md) +[$MadelineProto->messages->getStatsURL](../methods/messages.getStatsURL.md) diff --git a/old_docs/API_docs_v95/types/StickerSetCovered.md b/old_docs/API_docs_v95/types/StickerSetCovered.md index ffd1da1f..f57cd117 100644 --- a/old_docs/API_docs_v95/types/StickerSetCovered.md +++ b/old_docs/API_docs_v95/types/StickerSetCovered.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getAttachedStickers](../methods/messages_getAttachedStickers.md) +[$MadelineProto->messages->getAttachedStickers](../methods/messages.getAttachedStickers.md) diff --git a/old_docs/API_docs_v95/types/Updates.md b/old_docs/API_docs_v95/types/Updates.md index ec28c0b4..daf28c9c 100644 --- a/old_docs/API_docs_v95/types/Updates.md +++ b/old_docs/API_docs_v95/types/Updates.md @@ -28,77 +28,77 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->account->getNotifyExceptions](../methods/account_getNotifyExceptions.md) +[$MadelineProto->account->getNotifyExceptions](../methods/account.getNotifyExceptions.md) -[$MadelineProto->messages->sendMessage](../methods/messages_sendMessage.md) +[$MadelineProto->messages->sendMessage](../methods/messages.sendMessage.md) -[$MadelineProto->messages->sendMedia](../methods/messages_sendMedia.md) +[$MadelineProto->messages->sendMedia](../methods/messages.sendMedia.md) -[$MadelineProto->messages->forwardMessages](../methods/messages_forwardMessages.md) +[$MadelineProto->messages->forwardMessages](../methods/messages.forwardMessages.md) -[$MadelineProto->messages->editChatTitle](../methods/messages_editChatTitle.md) +[$MadelineProto->messages->editChatTitle](../methods/messages.editChatTitle.md) -[$MadelineProto->messages->editChatPhoto](../methods/messages_editChatPhoto.md) +[$MadelineProto->messages->editChatPhoto](../methods/messages.editChatPhoto.md) -[$MadelineProto->messages->addChatUser](../methods/messages_addChatUser.md) +[$MadelineProto->messages->addChatUser](../methods/messages.addChatUser.md) -[$MadelineProto->messages->deleteChatUser](../methods/messages_deleteChatUser.md) +[$MadelineProto->messages->deleteChatUser](../methods/messages.deleteChatUser.md) -[$MadelineProto->messages->createChat](../methods/messages_createChat.md) +[$MadelineProto->messages->createChat](../methods/messages.createChat.md) -[$MadelineProto->messages->importChatInvite](../methods/messages_importChatInvite.md) +[$MadelineProto->messages->importChatInvite](../methods/messages.importChatInvite.md) -[$MadelineProto->messages->startBot](../methods/messages_startBot.md) +[$MadelineProto->messages->startBot](../methods/messages.startBot.md) -[$MadelineProto->messages->migrateChat](../methods/messages_migrateChat.md) +[$MadelineProto->messages->migrateChat](../methods/messages.migrateChat.md) -[$MadelineProto->messages->sendInlineBotResult](../methods/messages_sendInlineBotResult.md) +[$MadelineProto->messages->sendInlineBotResult](../methods/messages.sendInlineBotResult.md) -[$MadelineProto->messages->editMessage](../methods/messages_editMessage.md) +[$MadelineProto->messages->editMessage](../methods/messages.editMessage.md) -[$MadelineProto->messages->getAllDrafts](../methods/messages_getAllDrafts.md) +[$MadelineProto->messages->getAllDrafts](../methods/messages.getAllDrafts.md) -[$MadelineProto->messages->setGameScore](../methods/messages_setGameScore.md) +[$MadelineProto->messages->setGameScore](../methods/messages.setGameScore.md) -[$MadelineProto->messages->sendScreenshotNotification](../methods/messages_sendScreenshotNotification.md) +[$MadelineProto->messages->sendScreenshotNotification](../methods/messages.sendScreenshotNotification.md) -[$MadelineProto->messages->sendMultiMedia](../methods/messages_sendMultiMedia.md) +[$MadelineProto->messages->sendMultiMedia](../methods/messages.sendMultiMedia.md) -[$MadelineProto->messages->updatePinnedMessage](../methods/messages_updatePinnedMessage.md) +[$MadelineProto->messages->updatePinnedMessage](../methods/messages.updatePinnedMessage.md) -[$MadelineProto->messages->sendVote](../methods/messages_sendVote.md) +[$MadelineProto->messages->sendVote](../methods/messages.sendVote.md) -[$MadelineProto->messages->getPollResults](../methods/messages_getPollResults.md) +[$MadelineProto->messages->getPollResults](../methods/messages.getPollResults.md) -[$MadelineProto->messages->editChatDefaultBannedRights](../methods/messages_editChatDefaultBannedRights.md) +[$MadelineProto->messages->editChatDefaultBannedRights](../methods/messages.editChatDefaultBannedRights.md) -[$MadelineProto->help->getAppChangelog](../methods/help_getAppChangelog.md) +[$MadelineProto->help->getAppChangelog](../methods/help.getAppChangelog.md) -[$MadelineProto->channels->createChannel](../methods/channels_createChannel.md) +[$MadelineProto->channels->createChannel](../methods/channels.createChannel.md) -[$MadelineProto->channels->editAdmin](../methods/channels_editAdmin.md) +[$MadelineProto->channels->editAdmin](../methods/channels.editAdmin.md) -[$MadelineProto->channels->editTitle](../methods/channels_editTitle.md) +[$MadelineProto->channels->editTitle](../methods/channels.editTitle.md) -[$MadelineProto->channels->editPhoto](../methods/channels_editPhoto.md) +[$MadelineProto->channels->editPhoto](../methods/channels.editPhoto.md) -[$MadelineProto->channels->joinChannel](../methods/channels_joinChannel.md) +[$MadelineProto->channels->joinChannel](../methods/channels.joinChannel.md) -[$MadelineProto->channels->leaveChannel](../methods/channels_leaveChannel.md) +[$MadelineProto->channels->leaveChannel](../methods/channels.leaveChannel.md) -[$MadelineProto->channels->inviteToChannel](../methods/channels_inviteToChannel.md) +[$MadelineProto->channels->inviteToChannel](../methods/channels.inviteToChannel.md) -[$MadelineProto->channels->deleteChannel](../methods/channels_deleteChannel.md) +[$MadelineProto->channels->deleteChannel](../methods/channels.deleteChannel.md) -[$MadelineProto->channels->toggleSignatures](../methods/channels_toggleSignatures.md) +[$MadelineProto->channels->toggleSignatures](../methods/channels.toggleSignatures.md) -[$MadelineProto->channels->editBanned](../methods/channels_editBanned.md) +[$MadelineProto->channels->editBanned](../methods/channels.editBanned.md) -[$MadelineProto->channels->togglePreHistoryHidden](../methods/channels_togglePreHistoryHidden.md) +[$MadelineProto->channels->togglePreHistoryHidden](../methods/channels.togglePreHistoryHidden.md) -[$MadelineProto->phone->discardCall](../methods/phone_discardCall.md) +[$MadelineProto->phone->discardCall](../methods/phone.discardCall.md) -[$MadelineProto->phone->setCallRating](../methods/phone_setCallRating.md) +[$MadelineProto->phone->setCallRating](../methods/phone.setCallRating.md) diff --git a/old_docs/API_docs_v95/types/User.md b/old_docs/API_docs_v95/types/User.md index 49c9af72..0d20e320 100644 --- a/old_docs/API_docs_v95/types/User.md +++ b/old_docs/API_docs_v95/types/User.md @@ -42,13 +42,13 @@ A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDia ### Methods that return an object of this type (methods): -[$MadelineProto->account->updateProfile](../methods/account_updateProfile.md) +[$MadelineProto->account->updateProfile](../methods/account.updateProfile.md) -[$MadelineProto->account->updateUsername](../methods/account_updateUsername.md) +[$MadelineProto->account->updateUsername](../methods/account.updateUsername.md) -[$MadelineProto->account->changePhone](../methods/account_changePhone.md) +[$MadelineProto->account->changePhone](../methods/account.changePhone.md) -[$MadelineProto->users->getUsers](../methods/users_getUsers.md) +[$MadelineProto->users->getUsers](../methods/users.getUsers.md) diff --git a/old_docs/API_docs_v95/types/UserFull.md b/old_docs/API_docs_v95/types/UserFull.md index 79ad30bb..ac50052f 100644 --- a/old_docs/API_docs_v95/types/UserFull.md +++ b/old_docs/API_docs_v95/types/UserFull.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->users->getFullUser](../methods/users_getFullUser.md) +[$MadelineProto->users->getFullUser](../methods/users.getFullUser.md) diff --git a/old_docs/API_docs_v95/types/UserProfilePhoto.md b/old_docs/API_docs_v95/types/UserProfilePhoto.md index e5243a2e..e81e92fd 100644 --- a/old_docs/API_docs_v95/types/UserProfilePhoto.md +++ b/old_docs/API_docs_v95/types/UserProfilePhoto.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->photos->updateProfilePhoto](../methods/photos_updateProfilePhoto.md) +[$MadelineProto->photos->updateProfilePhoto](../methods/photos.updateProfilePhoto.md) diff --git a/old_docs/API_docs_v95/types/WallPaper.md b/old_docs/API_docs_v95/types/WallPaper.md index ccaafe2f..89033d7e 100644 --- a/old_docs/API_docs_v95/types/WallPaper.md +++ b/old_docs/API_docs_v95/types/WallPaper.md @@ -16,9 +16,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->account->getWallPaper](../methods/account_getWallPaper.md) +[$MadelineProto->account->getWallPaper](../methods/account.getWallPaper.md) -[$MadelineProto->account->uploadWallPaper](../methods/account_uploadWallPaper.md) +[$MadelineProto->account->uploadWallPaper](../methods/account.uploadWallPaper.md) diff --git a/old_docs/API_docs_v95/types/WebPage.md b/old_docs/API_docs_v95/types/WebPage.md index a3df791f..f6b61c5e 100644 --- a/old_docs/API_docs_v95/types/WebPage.md +++ b/old_docs/API_docs_v95/types/WebPage.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getWebPage](../methods/messages_getWebPage.md) +[$MadelineProto->messages->getWebPage](../methods/messages.getWebPage.md) diff --git a/old_docs/API_docs_v95/types/account.AuthorizationForm.md b/old_docs/API_docs_v95/types/account.AuthorizationForm.md new file mode 100644 index 00000000..860ff40f --- /dev/null +++ b/old_docs/API_docs_v95/types/account.AuthorizationForm.md @@ -0,0 +1,22 @@ +--- +title: account.AuthorizationForm +description: constructors and methods of type account.AuthorizationForm +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.AuthorizationForm +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.authorizationForm](../constructors/account.authorizationForm.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getAuthorizationForm](../methods/account.getAuthorizationForm.md) + + + diff --git a/old_docs/API_docs_v95/types/account.Authorizations.md b/old_docs/API_docs_v95/types/account.Authorizations.md new file mode 100644 index 00000000..f9112038 --- /dev/null +++ b/old_docs/API_docs_v95/types/account.Authorizations.md @@ -0,0 +1,22 @@ +--- +title: account.Authorizations +description: constructors and methods of type account.Authorizations +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.Authorizations +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.authorizations](../constructors/account.authorizations.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getAuthorizations](../methods/account.getAuthorizations.md) + + + diff --git a/old_docs/API_docs_v95/types/account.Password.md b/old_docs/API_docs_v95/types/account.Password.md new file mode 100644 index 00000000..190704a3 --- /dev/null +++ b/old_docs/API_docs_v95/types/account.Password.md @@ -0,0 +1,22 @@ +--- +title: account.Password +description: constructors and methods of type account.Password +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.Password +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.password](../constructors/account.password.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getPassword](../methods/account.getPassword.md) + + + diff --git a/old_docs/API_docs_v95/types/account.PasswordInputSettings.md b/old_docs/API_docs_v95/types/account.PasswordInputSettings.md new file mode 100644 index 00000000..72e11fdc --- /dev/null +++ b/old_docs/API_docs_v95/types/account.PasswordInputSettings.md @@ -0,0 +1,20 @@ +--- +title: account.PasswordInputSettings +description: constructors and methods of type account.PasswordInputSettings +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.PasswordInputSettings +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.passwordInputSettings](../constructors/account.passwordInputSettings.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v95/types/account.PasswordSettings.md b/old_docs/API_docs_v95/types/account.PasswordSettings.md new file mode 100644 index 00000000..47016832 --- /dev/null +++ b/old_docs/API_docs_v95/types/account.PasswordSettings.md @@ -0,0 +1,22 @@ +--- +title: account.PasswordSettings +description: constructors and methods of type account.PasswordSettings +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.PasswordSettings +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.passwordSettings](../constructors/account.passwordSettings.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getPasswordSettings](../methods/account.getPasswordSettings.md) + + + diff --git a/old_docs/API_docs_v95/types/account.PrivacyRules.md b/old_docs/API_docs_v95/types/account.PrivacyRules.md new file mode 100644 index 00000000..738651ad --- /dev/null +++ b/old_docs/API_docs_v95/types/account.PrivacyRules.md @@ -0,0 +1,24 @@ +--- +title: account.PrivacyRules +description: constructors and methods of type account.PrivacyRules +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.PrivacyRules +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.privacyRules](../constructors/account.privacyRules.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getPrivacy](../methods/account.getPrivacy.md) + +[$MadelineProto->account->setPrivacy](../methods/account.setPrivacy.md) + + + diff --git a/old_docs/API_docs_v95/types/account.SentEmailCode.md b/old_docs/API_docs_v95/types/account.SentEmailCode.md new file mode 100644 index 00000000..6adcd649 --- /dev/null +++ b/old_docs/API_docs_v95/types/account.SentEmailCode.md @@ -0,0 +1,22 @@ +--- +title: account.SentEmailCode +description: constructors and methods of type account.SentEmailCode +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.SentEmailCode +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.sentEmailCode](../constructors/account.sentEmailCode.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->sendVerifyEmailCode](../methods/account.sendVerifyEmailCode.md) + + + diff --git a/old_docs/API_docs_v95/types/account.Takeout.md b/old_docs/API_docs_v95/types/account.Takeout.md new file mode 100644 index 00000000..96998ce4 --- /dev/null +++ b/old_docs/API_docs_v95/types/account.Takeout.md @@ -0,0 +1,22 @@ +--- +title: account.Takeout +description: constructors and methods of type account.Takeout +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.Takeout +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.takeout](../constructors/account.takeout.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->initTakeoutSession](../methods/account.initTakeoutSession.md) + + + diff --git a/old_docs/API_docs_v95/types/account.TmpPassword.md b/old_docs/API_docs_v95/types/account.TmpPassword.md new file mode 100644 index 00000000..2116c6c0 --- /dev/null +++ b/old_docs/API_docs_v95/types/account.TmpPassword.md @@ -0,0 +1,22 @@ +--- +title: account.TmpPassword +description: constructors and methods of type account.TmpPassword +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.TmpPassword +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.tmpPassword](../constructors/account.tmpPassword.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getTmpPassword](../methods/account.getTmpPassword.md) + + + diff --git a/old_docs/API_docs_v95/types/account.WallPapers.md b/old_docs/API_docs_v95/types/account.WallPapers.md new file mode 100644 index 00000000..13d11d26 --- /dev/null +++ b/old_docs/API_docs_v95/types/account.WallPapers.md @@ -0,0 +1,24 @@ +--- +title: account.WallPapers +description: constructors and methods of type account.WallPapers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.WallPapers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.wallPapersNotModified](../constructors/account.wallPapersNotModified.md) + +[account.wallPapers](../constructors/account.wallPapers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getWallPapers](../methods/account.getWallPapers.md) + + + diff --git a/old_docs/API_docs_v95/types/account.WebAuthorizations.md b/old_docs/API_docs_v95/types/account.WebAuthorizations.md new file mode 100644 index 00000000..931633ef --- /dev/null +++ b/old_docs/API_docs_v95/types/account.WebAuthorizations.md @@ -0,0 +1,22 @@ +--- +title: account.WebAuthorizations +description: constructors and methods of type account.WebAuthorizations +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.WebAuthorizations +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.webAuthorizations](../constructors/account.webAuthorizations.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getWebAuthorizations](../methods/account.getWebAuthorizations.md) + + + diff --git a/old_docs/API_docs_v95/types/account_AuthorizationForm.md b/old_docs/API_docs_v95/types/account_AuthorizationForm.md deleted file mode 100644 index 5eec2b92..00000000 --- a/old_docs/API_docs_v95/types/account_AuthorizationForm.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_AuthorizationForm -description: constructors and methods of type account_AuthorizationForm -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_AuthorizationForm -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_authorizationForm](../constructors/account_authorizationForm.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getAuthorizationForm](../methods/account_getAuthorizationForm.md) - - - diff --git a/old_docs/API_docs_v95/types/account_Authorizations.md b/old_docs/API_docs_v95/types/account_Authorizations.md deleted file mode 100644 index 4709ddb5..00000000 --- a/old_docs/API_docs_v95/types/account_Authorizations.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_Authorizations -description: constructors and methods of type account_Authorizations -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_Authorizations -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_authorizations](../constructors/account_authorizations.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getAuthorizations](../methods/account_getAuthorizations.md) - - - diff --git a/old_docs/API_docs_v95/types/account_Password.md b/old_docs/API_docs_v95/types/account_Password.md deleted file mode 100644 index f3b6e065..00000000 --- a/old_docs/API_docs_v95/types/account_Password.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_Password -description: constructors and methods of type account_Password -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_Password -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_password](../constructors/account_password.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getPassword](../methods/account_getPassword.md) - - - diff --git a/old_docs/API_docs_v95/types/account_PasswordInputSettings.md b/old_docs/API_docs_v95/types/account_PasswordInputSettings.md deleted file mode 100644 index a6455eb8..00000000 --- a/old_docs/API_docs_v95/types/account_PasswordInputSettings.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: account_PasswordInputSettings -description: constructors and methods of type account_PasswordInputSettings -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_PasswordInputSettings -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_passwordInputSettings](../constructors/account_passwordInputSettings.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v95/types/account_PasswordSettings.md b/old_docs/API_docs_v95/types/account_PasswordSettings.md deleted file mode 100644 index 687eb217..00000000 --- a/old_docs/API_docs_v95/types/account_PasswordSettings.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_PasswordSettings -description: constructors and methods of type account_PasswordSettings -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_PasswordSettings -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_passwordSettings](../constructors/account_passwordSettings.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getPasswordSettings](../methods/account_getPasswordSettings.md) - - - diff --git a/old_docs/API_docs_v95/types/account_PrivacyRules.md b/old_docs/API_docs_v95/types/account_PrivacyRules.md deleted file mode 100644 index 40b00077..00000000 --- a/old_docs/API_docs_v95/types/account_PrivacyRules.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: account_PrivacyRules -description: constructors and methods of type account_PrivacyRules -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_PrivacyRules -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_privacyRules](../constructors/account_privacyRules.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getPrivacy](../methods/account_getPrivacy.md) - -[$MadelineProto->account->setPrivacy](../methods/account_setPrivacy.md) - - - diff --git a/old_docs/API_docs_v95/types/account_SentEmailCode.md b/old_docs/API_docs_v95/types/account_SentEmailCode.md deleted file mode 100644 index 4aa38335..00000000 --- a/old_docs/API_docs_v95/types/account_SentEmailCode.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_SentEmailCode -description: constructors and methods of type account_SentEmailCode -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_SentEmailCode -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_sentEmailCode](../constructors/account_sentEmailCode.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->sendVerifyEmailCode](../methods/account_sendVerifyEmailCode.md) - - - diff --git a/old_docs/API_docs_v95/types/account_Takeout.md b/old_docs/API_docs_v95/types/account_Takeout.md deleted file mode 100644 index 26960f88..00000000 --- a/old_docs/API_docs_v95/types/account_Takeout.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_Takeout -description: constructors and methods of type account_Takeout -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_Takeout -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_takeout](../constructors/account_takeout.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->initTakeoutSession](../methods/account_initTakeoutSession.md) - - - diff --git a/old_docs/API_docs_v95/types/account_TmpPassword.md b/old_docs/API_docs_v95/types/account_TmpPassword.md deleted file mode 100644 index d7557921..00000000 --- a/old_docs/API_docs_v95/types/account_TmpPassword.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_TmpPassword -description: constructors and methods of type account_TmpPassword -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_TmpPassword -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_tmpPassword](../constructors/account_tmpPassword.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getTmpPassword](../methods/account_getTmpPassword.md) - - - diff --git a/old_docs/API_docs_v95/types/account_WallPapers.md b/old_docs/API_docs_v95/types/account_WallPapers.md deleted file mode 100644 index 6a082a9a..00000000 --- a/old_docs/API_docs_v95/types/account_WallPapers.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: account_WallPapers -description: constructors and methods of type account_WallPapers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_WallPapers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_wallPapersNotModified](../constructors/account_wallPapersNotModified.md) - -[account\_wallPapers](../constructors/account_wallPapers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getWallPapers](../methods/account_getWallPapers.md) - - - diff --git a/old_docs/API_docs_v95/types/account_WebAuthorizations.md b/old_docs/API_docs_v95/types/account_WebAuthorizations.md deleted file mode 100644 index 1202632b..00000000 --- a/old_docs/API_docs_v95/types/account_WebAuthorizations.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_WebAuthorizations -description: constructors and methods of type account_WebAuthorizations -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_WebAuthorizations -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_webAuthorizations](../constructors/account_webAuthorizations.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getWebAuthorizations](../methods/account_getWebAuthorizations.md) - - - diff --git a/old_docs/API_docs_v95/types/auth.Authorization.md b/old_docs/API_docs_v95/types/auth.Authorization.md new file mode 100644 index 00000000..adcfa7d3 --- /dev/null +++ b/old_docs/API_docs_v95/types/auth.Authorization.md @@ -0,0 +1,32 @@ +--- +title: auth.Authorization +description: constructors and methods of type auth.Authorization +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.Authorization +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.authorization](../constructors/auth.authorization.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->signUp](../methods/auth.signUp.md) + +[$MadelineProto->auth->signIn](../methods/auth.signIn.md) + +[$MadelineProto->auth->importAuthorization](../methods/auth.importAuthorization.md) + +[$MadelineProto->auth->importBotAuthorization](../methods/auth.importBotAuthorization.md) + +[$MadelineProto->auth->checkPassword](../methods/auth.checkPassword.md) + +[$MadelineProto->auth->recoverPassword](../methods/auth.recoverPassword.md) + + + diff --git a/old_docs/API_docs_v95/types/auth.CheckedPhone.md b/old_docs/API_docs_v95/types/auth.CheckedPhone.md new file mode 100644 index 00000000..1d6672e7 --- /dev/null +++ b/old_docs/API_docs_v95/types/auth.CheckedPhone.md @@ -0,0 +1,20 @@ +--- +title: auth.CheckedPhone +description: constructors and methods of type auth.CheckedPhone +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.CheckedPhone +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.checkedPhone](../constructors/auth.checkedPhone.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v95/types/auth.CodeType.md b/old_docs/API_docs_v95/types/auth.CodeType.md new file mode 100644 index 00000000..8d2b308d --- /dev/null +++ b/old_docs/API_docs_v95/types/auth.CodeType.md @@ -0,0 +1,24 @@ +--- +title: auth.CodeType +description: constructors and methods of type auth.CodeType +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.CodeType +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.codeTypeSms](../constructors/auth.codeTypeSms.md) + +[auth.codeTypeCall](../constructors/auth.codeTypeCall.md) + +[auth.codeTypeFlashCall](../constructors/auth.codeTypeFlashCall.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v95/types/auth.ExportedAuthorization.md b/old_docs/API_docs_v95/types/auth.ExportedAuthorization.md new file mode 100644 index 00000000..ccb38d60 --- /dev/null +++ b/old_docs/API_docs_v95/types/auth.ExportedAuthorization.md @@ -0,0 +1,22 @@ +--- +title: auth.ExportedAuthorization +description: constructors and methods of type auth.ExportedAuthorization +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.ExportedAuthorization +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.exportedAuthorization](../constructors/auth.exportedAuthorization.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->exportAuthorization](../methods/auth.exportAuthorization.md) + + + diff --git a/old_docs/API_docs_v95/types/auth.PasswordRecovery.md b/old_docs/API_docs_v95/types/auth.PasswordRecovery.md new file mode 100644 index 00000000..c1c18992 --- /dev/null +++ b/old_docs/API_docs_v95/types/auth.PasswordRecovery.md @@ -0,0 +1,22 @@ +--- +title: auth.PasswordRecovery +description: constructors and methods of type auth.PasswordRecovery +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.PasswordRecovery +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.passwordRecovery](../constructors/auth.passwordRecovery.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->requestPasswordRecovery](../methods/auth.requestPasswordRecovery.md) + + + diff --git a/old_docs/API_docs_v95/types/auth.SentCode.md b/old_docs/API_docs_v95/types/auth.SentCode.md new file mode 100644 index 00000000..4950edeb --- /dev/null +++ b/old_docs/API_docs_v95/types/auth.SentCode.md @@ -0,0 +1,30 @@ +--- +title: auth.SentCode +description: constructors and methods of type auth.SentCode +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.SentCode +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.sentCode](../constructors/auth.sentCode.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->sendCode](../methods/auth.sendCode.md) + +[$MadelineProto->auth->resendCode](../methods/auth.resendCode.md) + +[$MadelineProto->account->sendChangePhoneCode](../methods/account.sendChangePhoneCode.md) + +[$MadelineProto->account->sendConfirmPhoneCode](../methods/account.sendConfirmPhoneCode.md) + +[$MadelineProto->account->sendVerifyPhoneCode](../methods/account.sendVerifyPhoneCode.md) + + + diff --git a/old_docs/API_docs_v95/types/auth.SentCodeType.md b/old_docs/API_docs_v95/types/auth.SentCodeType.md new file mode 100644 index 00000000..7c7c534e --- /dev/null +++ b/old_docs/API_docs_v95/types/auth.SentCodeType.md @@ -0,0 +1,26 @@ +--- +title: auth.SentCodeType +description: constructors and methods of type auth.SentCodeType +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.SentCodeType +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.sentCodeTypeApp](../constructors/auth.sentCodeTypeApp.md) + +[auth.sentCodeTypeSms](../constructors/auth.sentCodeTypeSms.md) + +[auth.sentCodeTypeCall](../constructors/auth.sentCodeTypeCall.md) + +[auth.sentCodeTypeFlashCall](../constructors/auth.sentCodeTypeFlashCall.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v95/types/auth_Authorization.md b/old_docs/API_docs_v95/types/auth_Authorization.md deleted file mode 100644 index 5a34fc2d..00000000 --- a/old_docs/API_docs_v95/types/auth_Authorization.md +++ /dev/null @@ -1,32 +0,0 @@ ---- -title: auth_Authorization -description: constructors and methods of type auth_Authorization -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_Authorization -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_authorization](../constructors/auth_authorization.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->signUp](../methods/auth_signUp.md) - -[$MadelineProto->auth->signIn](../methods/auth_signIn.md) - -[$MadelineProto->auth->importAuthorization](../methods/auth_importAuthorization.md) - -[$MadelineProto->auth->importBotAuthorization](../methods/auth_importBotAuthorization.md) - -[$MadelineProto->auth->checkPassword](../methods/auth_checkPassword.md) - -[$MadelineProto->auth->recoverPassword](../methods/auth_recoverPassword.md) - - - diff --git a/old_docs/API_docs_v95/types/auth_CheckedPhone.md b/old_docs/API_docs_v95/types/auth_CheckedPhone.md deleted file mode 100644 index e2b823f7..00000000 --- a/old_docs/API_docs_v95/types/auth_CheckedPhone.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: auth_CheckedPhone -description: constructors and methods of type auth_CheckedPhone -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_CheckedPhone -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_checkedPhone](../constructors/auth_checkedPhone.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v95/types/auth_CodeType.md b/old_docs/API_docs_v95/types/auth_CodeType.md deleted file mode 100644 index 3cd9a7b7..00000000 --- a/old_docs/API_docs_v95/types/auth_CodeType.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: auth_CodeType -description: constructors and methods of type auth_CodeType -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_CodeType -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_codeTypeSms](../constructors/auth_codeTypeSms.md) - -[auth\_codeTypeCall](../constructors/auth_codeTypeCall.md) - -[auth\_codeTypeFlashCall](../constructors/auth_codeTypeFlashCall.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v95/types/auth_ExportedAuthorization.md b/old_docs/API_docs_v95/types/auth_ExportedAuthorization.md deleted file mode 100644 index 69e5c42e..00000000 --- a/old_docs/API_docs_v95/types/auth_ExportedAuthorization.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: auth_ExportedAuthorization -description: constructors and methods of type auth_ExportedAuthorization -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_ExportedAuthorization -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_exportedAuthorization](../constructors/auth_exportedAuthorization.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->exportAuthorization](../methods/auth_exportAuthorization.md) - - - diff --git a/old_docs/API_docs_v95/types/auth_PasswordRecovery.md b/old_docs/API_docs_v95/types/auth_PasswordRecovery.md deleted file mode 100644 index 4962bf42..00000000 --- a/old_docs/API_docs_v95/types/auth_PasswordRecovery.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: auth_PasswordRecovery -description: constructors and methods of type auth_PasswordRecovery -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_PasswordRecovery -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_passwordRecovery](../constructors/auth_passwordRecovery.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->requestPasswordRecovery](../methods/auth_requestPasswordRecovery.md) - - - diff --git a/old_docs/API_docs_v95/types/auth_SentCode.md b/old_docs/API_docs_v95/types/auth_SentCode.md deleted file mode 100644 index 140d956c..00000000 --- a/old_docs/API_docs_v95/types/auth_SentCode.md +++ /dev/null @@ -1,30 +0,0 @@ ---- -title: auth_SentCode -description: constructors and methods of type auth_SentCode -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_SentCode -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_sentCode](../constructors/auth_sentCode.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->sendCode](../methods/auth_sendCode.md) - -[$MadelineProto->auth->resendCode](../methods/auth_resendCode.md) - -[$MadelineProto->account->sendChangePhoneCode](../methods/account_sendChangePhoneCode.md) - -[$MadelineProto->account->sendConfirmPhoneCode](../methods/account_sendConfirmPhoneCode.md) - -[$MadelineProto->account->sendVerifyPhoneCode](../methods/account_sendVerifyPhoneCode.md) - - - diff --git a/old_docs/API_docs_v95/types/auth_SentCodeType.md b/old_docs/API_docs_v95/types/auth_SentCodeType.md deleted file mode 100644 index 8dfcb93b..00000000 --- a/old_docs/API_docs_v95/types/auth_SentCodeType.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: auth_SentCodeType -description: constructors and methods of type auth_SentCodeType -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_SentCodeType -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_sentCodeTypeApp](../constructors/auth_sentCodeTypeApp.md) - -[auth\_sentCodeTypeSms](../constructors/auth_sentCodeTypeSms.md) - -[auth\_sentCodeTypeCall](../constructors/auth_sentCodeTypeCall.md) - -[auth\_sentCodeTypeFlashCall](../constructors/auth_sentCodeTypeFlashCall.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v95/types/channels.AdminLogResults.md b/old_docs/API_docs_v95/types/channels.AdminLogResults.md new file mode 100644 index 00000000..7855a4fd --- /dev/null +++ b/old_docs/API_docs_v95/types/channels.AdminLogResults.md @@ -0,0 +1,22 @@ +--- +title: channels.AdminLogResults +description: constructors and methods of type channels.AdminLogResults +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: channels.AdminLogResults +[Back to types index](index.md) + + + +### Possible values (constructors): + +[channels.adminLogResults](../constructors/channels.adminLogResults.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->channels->getAdminLog](../methods/channels.getAdminLog.md) + + + diff --git a/old_docs/API_docs_v95/types/channels.ChannelParticipant.md b/old_docs/API_docs_v95/types/channels.ChannelParticipant.md new file mode 100644 index 00000000..8dc7f7e6 --- /dev/null +++ b/old_docs/API_docs_v95/types/channels.ChannelParticipant.md @@ -0,0 +1,22 @@ +--- +title: channels.ChannelParticipant +description: constructors and methods of type channels.ChannelParticipant +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: channels.ChannelParticipant +[Back to types index](index.md) + + + +### Possible values (constructors): + +[channels.channelParticipant](../constructors/channels.channelParticipant.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->channels->getParticipant](../methods/channels.getParticipant.md) + + + diff --git a/old_docs/API_docs_v95/types/channels.ChannelParticipants.md b/old_docs/API_docs_v95/types/channels.ChannelParticipants.md new file mode 100644 index 00000000..d448e007 --- /dev/null +++ b/old_docs/API_docs_v95/types/channels.ChannelParticipants.md @@ -0,0 +1,24 @@ +--- +title: channels.ChannelParticipants +description: constructors and methods of type channels.ChannelParticipants +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: channels.ChannelParticipants +[Back to types index](index.md) + + + +### Possible values (constructors): + +[channels.channelParticipants](../constructors/channels.channelParticipants.md) + +[channels.channelParticipantsNotModified](../constructors/channels.channelParticipantsNotModified.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->channels->getParticipants](../methods/channels.getParticipants.md) + + + diff --git a/old_docs/API_docs_v95/types/channels_AdminLogResults.md b/old_docs/API_docs_v95/types/channels_AdminLogResults.md deleted file mode 100644 index 4e9b5544..00000000 --- a/old_docs/API_docs_v95/types/channels_AdminLogResults.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: channels_AdminLogResults -description: constructors and methods of type channels_AdminLogResults -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: channels\_AdminLogResults -[Back to types index](index.md) - - - -### Possible values (constructors): - -[channels\_adminLogResults](../constructors/channels_adminLogResults.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->channels->getAdminLog](../methods/channels_getAdminLog.md) - - - diff --git a/old_docs/API_docs_v95/types/channels_ChannelParticipant.md b/old_docs/API_docs_v95/types/channels_ChannelParticipant.md deleted file mode 100644 index 3d4667c3..00000000 --- a/old_docs/API_docs_v95/types/channels_ChannelParticipant.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: channels_ChannelParticipant -description: constructors and methods of type channels_ChannelParticipant -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: channels\_ChannelParticipant -[Back to types index](index.md) - - - -### Possible values (constructors): - -[channels\_channelParticipant](../constructors/channels_channelParticipant.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->channels->getParticipant](../methods/channels_getParticipant.md) - - - diff --git a/old_docs/API_docs_v95/types/channels_ChannelParticipants.md b/old_docs/API_docs_v95/types/channels_ChannelParticipants.md deleted file mode 100644 index 80a41dd9..00000000 --- a/old_docs/API_docs_v95/types/channels_ChannelParticipants.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: channels_ChannelParticipants -description: constructors and methods of type channels_ChannelParticipants -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: channels\_ChannelParticipants -[Back to types index](index.md) - - - -### Possible values (constructors): - -[channels\_channelParticipants](../constructors/channels_channelParticipants.md) - -[channels\_channelParticipantsNotModified](../constructors/channels_channelParticipantsNotModified.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->channels->getParticipants](../methods/channels_getParticipants.md) - - - diff --git a/old_docs/API_docs_v95/types/contacts.Blocked.md b/old_docs/API_docs_v95/types/contacts.Blocked.md new file mode 100644 index 00000000..cb2af80f --- /dev/null +++ b/old_docs/API_docs_v95/types/contacts.Blocked.md @@ -0,0 +1,24 @@ +--- +title: contacts.Blocked +description: constructors and methods of type contacts.Blocked +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Blocked +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.blocked](../constructors/contacts.blocked.md) + +[contacts.blockedSlice](../constructors/contacts.blockedSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getBlocked](../methods/contacts.getBlocked.md) + + + diff --git a/old_docs/API_docs_v95/types/contacts.Contacts.md b/old_docs/API_docs_v95/types/contacts.Contacts.md new file mode 100644 index 00000000..5f695d8e --- /dev/null +++ b/old_docs/API_docs_v95/types/contacts.Contacts.md @@ -0,0 +1,24 @@ +--- +title: contacts.Contacts +description: constructors and methods of type contacts.Contacts +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Contacts +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.contactsNotModified](../constructors/contacts.contactsNotModified.md) + +[contacts.contacts](../constructors/contacts.contacts.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getContacts](../methods/contacts.getContacts.md) + + + diff --git a/old_docs/API_docs_v95/types/contacts.Found.md b/old_docs/API_docs_v95/types/contacts.Found.md new file mode 100644 index 00000000..7df98927 --- /dev/null +++ b/old_docs/API_docs_v95/types/contacts.Found.md @@ -0,0 +1,22 @@ +--- +title: contacts.Found +description: constructors and methods of type contacts.Found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Found +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.found](../constructors/contacts.found.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->search](../methods/contacts.search.md) + + + diff --git a/old_docs/API_docs_v95/types/contacts.ImportedContacts.md b/old_docs/API_docs_v95/types/contacts.ImportedContacts.md new file mode 100644 index 00000000..16795bab --- /dev/null +++ b/old_docs/API_docs_v95/types/contacts.ImportedContacts.md @@ -0,0 +1,22 @@ +--- +title: contacts.ImportedContacts +description: constructors and methods of type contacts.ImportedContacts +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.ImportedContacts +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.importedContacts](../constructors/contacts.importedContacts.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->importContacts](../methods/contacts.importContacts.md) + + + diff --git a/old_docs/API_docs_v95/types/contacts.Link.md b/old_docs/API_docs_v95/types/contacts.Link.md new file mode 100644 index 00000000..eb9da683 --- /dev/null +++ b/old_docs/API_docs_v95/types/contacts.Link.md @@ -0,0 +1,22 @@ +--- +title: contacts.Link +description: constructors and methods of type contacts.Link +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Link +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.link](../constructors/contacts.link.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->deleteContact](../methods/contacts.deleteContact.md) + + + diff --git a/old_docs/API_docs_v95/types/contacts.ResolvedPeer.md b/old_docs/API_docs_v95/types/contacts.ResolvedPeer.md new file mode 100644 index 00000000..13630d54 --- /dev/null +++ b/old_docs/API_docs_v95/types/contacts.ResolvedPeer.md @@ -0,0 +1,22 @@ +--- +title: contacts.ResolvedPeer +description: constructors and methods of type contacts.ResolvedPeer +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.ResolvedPeer +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.resolvedPeer](../constructors/contacts.resolvedPeer.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->resolveUsername](../methods/contacts.resolveUsername.md) + + + diff --git a/old_docs/API_docs_v95/types/contacts.TopPeers.md b/old_docs/API_docs_v95/types/contacts.TopPeers.md new file mode 100644 index 00000000..563e63aa --- /dev/null +++ b/old_docs/API_docs_v95/types/contacts.TopPeers.md @@ -0,0 +1,26 @@ +--- +title: contacts.TopPeers +description: constructors and methods of type contacts.TopPeers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.TopPeers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.topPeersNotModified](../constructors/contacts.topPeersNotModified.md) + +[contacts.topPeers](../constructors/contacts.topPeers.md) + +[contacts.topPeersDisabled](../constructors/contacts.topPeersDisabled.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getTopPeers](../methods/contacts.getTopPeers.md) + + + diff --git a/old_docs/API_docs_v95/types/contacts_Blocked.md b/old_docs/API_docs_v95/types/contacts_Blocked.md deleted file mode 100644 index 3e1f02eb..00000000 --- a/old_docs/API_docs_v95/types/contacts_Blocked.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: contacts_Blocked -description: constructors and methods of type contacts_Blocked -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Blocked -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_blocked](../constructors/contacts_blocked.md) - -[contacts\_blockedSlice](../constructors/contacts_blockedSlice.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->getBlocked](../methods/contacts_getBlocked.md) - - - diff --git a/old_docs/API_docs_v95/types/contacts_Contacts.md b/old_docs/API_docs_v95/types/contacts_Contacts.md deleted file mode 100644 index 5d6c9506..00000000 --- a/old_docs/API_docs_v95/types/contacts_Contacts.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: contacts_Contacts -description: constructors and methods of type contacts_Contacts -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Contacts -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_contactsNotModified](../constructors/contacts_contactsNotModified.md) - -[contacts\_contacts](../constructors/contacts_contacts.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->getContacts](../methods/contacts_getContacts.md) - - - diff --git a/old_docs/API_docs_v95/types/contacts_Found.md b/old_docs/API_docs_v95/types/contacts_Found.md deleted file mode 100644 index 806101cf..00000000 --- a/old_docs/API_docs_v95/types/contacts_Found.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_Found -description: constructors and methods of type contacts_Found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Found -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_found](../constructors/contacts_found.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->search](../methods/contacts_search.md) - - - diff --git a/old_docs/API_docs_v95/types/contacts_ImportedContacts.md b/old_docs/API_docs_v95/types/contacts_ImportedContacts.md deleted file mode 100644 index faf7e615..00000000 --- a/old_docs/API_docs_v95/types/contacts_ImportedContacts.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_ImportedContacts -description: constructors and methods of type contacts_ImportedContacts -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_ImportedContacts -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_importedContacts](../constructors/contacts_importedContacts.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->importContacts](../methods/contacts_importContacts.md) - - - diff --git a/old_docs/API_docs_v95/types/contacts_Link.md b/old_docs/API_docs_v95/types/contacts_Link.md deleted file mode 100644 index 01556606..00000000 --- a/old_docs/API_docs_v95/types/contacts_Link.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_Link -description: constructors and methods of type contacts_Link -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Link -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_link](../constructors/contacts_link.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->deleteContact](../methods/contacts_deleteContact.md) - - - diff --git a/old_docs/API_docs_v95/types/contacts_ResolvedPeer.md b/old_docs/API_docs_v95/types/contacts_ResolvedPeer.md deleted file mode 100644 index cf107f7c..00000000 --- a/old_docs/API_docs_v95/types/contacts_ResolvedPeer.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_ResolvedPeer -description: constructors and methods of type contacts_ResolvedPeer -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_ResolvedPeer -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_resolvedPeer](../constructors/contacts_resolvedPeer.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->resolveUsername](../methods/contacts_resolveUsername.md) - - - diff --git a/old_docs/API_docs_v95/types/contacts_TopPeers.md b/old_docs/API_docs_v95/types/contacts_TopPeers.md deleted file mode 100644 index dc8ee478..00000000 --- a/old_docs/API_docs_v95/types/contacts_TopPeers.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: contacts_TopPeers -description: constructors and methods of type contacts_TopPeers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_TopPeers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_topPeersNotModified](../constructors/contacts_topPeersNotModified.md) - -[contacts\_topPeers](../constructors/contacts_topPeers.md) - -[contacts\_topPeersDisabled](../constructors/contacts_topPeersDisabled.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->getTopPeers](../methods/contacts_getTopPeers.md) - - - diff --git a/old_docs/API_docs_v95/types/help.AppUpdate.md b/old_docs/API_docs_v95/types/help.AppUpdate.md new file mode 100644 index 00000000..285ec2b7 --- /dev/null +++ b/old_docs/API_docs_v95/types/help.AppUpdate.md @@ -0,0 +1,24 @@ +--- +title: help.AppUpdate +description: constructors and methods of type help.AppUpdate +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.AppUpdate +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.appUpdate](../constructors/help.appUpdate.md) + +[help.noAppUpdate](../constructors/help.noAppUpdate.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getAppUpdate](../methods/help.getAppUpdate.md) + + + diff --git a/old_docs/API_docs_v95/types/help.ConfigSimple.md b/old_docs/API_docs_v95/types/help.ConfigSimple.md new file mode 100644 index 00000000..92d9e15f --- /dev/null +++ b/old_docs/API_docs_v95/types/help.ConfigSimple.md @@ -0,0 +1,20 @@ +--- +title: help.ConfigSimple +description: constructors and methods of type help.ConfigSimple +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.ConfigSimple +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.configSimple](../constructors/help.configSimple.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v95/types/help.DeepLinkInfo.md b/old_docs/API_docs_v95/types/help.DeepLinkInfo.md new file mode 100644 index 00000000..356af1c4 --- /dev/null +++ b/old_docs/API_docs_v95/types/help.DeepLinkInfo.md @@ -0,0 +1,24 @@ +--- +title: help.DeepLinkInfo +description: constructors and methods of type help.DeepLinkInfo +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.DeepLinkInfo +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.deepLinkInfoEmpty](../constructors/help.deepLinkInfoEmpty.md) + +[help.deepLinkInfo](../constructors/help.deepLinkInfo.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getDeepLinkInfo](../methods/help.getDeepLinkInfo.md) + + + diff --git a/old_docs/API_docs_v95/types/help.InviteText.md b/old_docs/API_docs_v95/types/help.InviteText.md new file mode 100644 index 00000000..43293f46 --- /dev/null +++ b/old_docs/API_docs_v95/types/help.InviteText.md @@ -0,0 +1,22 @@ +--- +title: help.InviteText +description: constructors and methods of type help.InviteText +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.InviteText +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.inviteText](../constructors/help.inviteText.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getInviteText](../methods/help.getInviteText.md) + + + diff --git a/old_docs/API_docs_v95/types/help.PassportConfig.md b/old_docs/API_docs_v95/types/help.PassportConfig.md new file mode 100644 index 00000000..15eb12cc --- /dev/null +++ b/old_docs/API_docs_v95/types/help.PassportConfig.md @@ -0,0 +1,24 @@ +--- +title: help.PassportConfig +description: constructors and methods of type help.PassportConfig +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.PassportConfig +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.passportConfigNotModified](../constructors/help.passportConfigNotModified.md) + +[help.passportConfig](../constructors/help.passportConfig.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getPassportConfig](../methods/help.getPassportConfig.md) + + + diff --git a/old_docs/API_docs_v95/types/help.ProxyData.md b/old_docs/API_docs_v95/types/help.ProxyData.md new file mode 100644 index 00000000..e45b4211 --- /dev/null +++ b/old_docs/API_docs_v95/types/help.ProxyData.md @@ -0,0 +1,24 @@ +--- +title: help.ProxyData +description: constructors and methods of type help.ProxyData +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.ProxyData +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.proxyDataEmpty](../constructors/help.proxyDataEmpty.md) + +[help.proxyDataPromo](../constructors/help.proxyDataPromo.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getProxyData](../methods/help.getProxyData.md) + + + diff --git a/old_docs/API_docs_v95/types/help.RecentMeUrls.md b/old_docs/API_docs_v95/types/help.RecentMeUrls.md new file mode 100644 index 00000000..6b7ee2c1 --- /dev/null +++ b/old_docs/API_docs_v95/types/help.RecentMeUrls.md @@ -0,0 +1,22 @@ +--- +title: help.RecentMeUrls +description: constructors and methods of type help.RecentMeUrls +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.RecentMeUrls +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.recentMeUrls](../constructors/help.recentMeUrls.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getRecentMeUrls](../methods/help.getRecentMeUrls.md) + + + diff --git a/old_docs/API_docs_v95/types/help.Support.md b/old_docs/API_docs_v95/types/help.Support.md new file mode 100644 index 00000000..42c20483 --- /dev/null +++ b/old_docs/API_docs_v95/types/help.Support.md @@ -0,0 +1,22 @@ +--- +title: help.Support +description: constructors and methods of type help.Support +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.Support +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.support](../constructors/help.support.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getSupport](../methods/help.getSupport.md) + + + diff --git a/old_docs/API_docs_v95/types/help.SupportName.md b/old_docs/API_docs_v95/types/help.SupportName.md new file mode 100644 index 00000000..7f68199a --- /dev/null +++ b/old_docs/API_docs_v95/types/help.SupportName.md @@ -0,0 +1,22 @@ +--- +title: help.SupportName +description: constructors and methods of type help.SupportName +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.SupportName +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.supportName](../constructors/help.supportName.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getSupportName](../methods/help.getSupportName.md) + + + diff --git a/old_docs/API_docs_v95/types/help.TermsOfService.md b/old_docs/API_docs_v95/types/help.TermsOfService.md new file mode 100644 index 00000000..d4d091e1 --- /dev/null +++ b/old_docs/API_docs_v95/types/help.TermsOfService.md @@ -0,0 +1,20 @@ +--- +title: help.TermsOfService +description: constructors and methods of type help.TermsOfService +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.TermsOfService +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.termsOfService](../constructors/help.termsOfService.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v95/types/help.TermsOfServiceUpdate.md b/old_docs/API_docs_v95/types/help.TermsOfServiceUpdate.md new file mode 100644 index 00000000..e27b3c71 --- /dev/null +++ b/old_docs/API_docs_v95/types/help.TermsOfServiceUpdate.md @@ -0,0 +1,24 @@ +--- +title: help.TermsOfServiceUpdate +description: constructors and methods of type help.TermsOfServiceUpdate +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.TermsOfServiceUpdate +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.termsOfServiceUpdateEmpty](../constructors/help.termsOfServiceUpdateEmpty.md) + +[help.termsOfServiceUpdate](../constructors/help.termsOfServiceUpdate.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getTermsOfServiceUpdate](../methods/help.getTermsOfServiceUpdate.md) + + + diff --git a/old_docs/API_docs_v95/types/help.UserInfo.md b/old_docs/API_docs_v95/types/help.UserInfo.md new file mode 100644 index 00000000..9d91ee40 --- /dev/null +++ b/old_docs/API_docs_v95/types/help.UserInfo.md @@ -0,0 +1,26 @@ +--- +title: help.UserInfo +description: constructors and methods of type help.UserInfo +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.UserInfo +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.userInfoEmpty](../constructors/help.userInfoEmpty.md) + +[help.userInfo](../constructors/help.userInfo.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getUserInfo](../methods/help.getUserInfo.md) + +[$MadelineProto->help->editUserInfo](../methods/help.editUserInfo.md) + + + diff --git a/old_docs/API_docs_v95/types/help_AppUpdate.md b/old_docs/API_docs_v95/types/help_AppUpdate.md deleted file mode 100644 index 1f296a70..00000000 --- a/old_docs/API_docs_v95/types/help_AppUpdate.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: help_AppUpdate -description: constructors and methods of type help_AppUpdate -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_AppUpdate -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_appUpdate](../constructors/help_appUpdate.md) - -[help\_noAppUpdate](../constructors/help_noAppUpdate.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getAppUpdate](../methods/help_getAppUpdate.md) - - - diff --git a/old_docs/API_docs_v95/types/help_ConfigSimple.md b/old_docs/API_docs_v95/types/help_ConfigSimple.md deleted file mode 100644 index 81678d74..00000000 --- a/old_docs/API_docs_v95/types/help_ConfigSimple.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: help_ConfigSimple -description: constructors and methods of type help_ConfigSimple -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_ConfigSimple -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_configSimple](../constructors/help_configSimple.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v95/types/help_DeepLinkInfo.md b/old_docs/API_docs_v95/types/help_DeepLinkInfo.md deleted file mode 100644 index 776e8e09..00000000 --- a/old_docs/API_docs_v95/types/help_DeepLinkInfo.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: help_DeepLinkInfo -description: constructors and methods of type help_DeepLinkInfo -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_DeepLinkInfo -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_deepLinkInfoEmpty](../constructors/help_deepLinkInfoEmpty.md) - -[help\_deepLinkInfo](../constructors/help_deepLinkInfo.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getDeepLinkInfo](../methods/help_getDeepLinkInfo.md) - - - diff --git a/old_docs/API_docs_v95/types/help_InviteText.md b/old_docs/API_docs_v95/types/help_InviteText.md deleted file mode 100644 index 018d35bf..00000000 --- a/old_docs/API_docs_v95/types/help_InviteText.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: help_InviteText -description: constructors and methods of type help_InviteText -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_InviteText -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_inviteText](../constructors/help_inviteText.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getInviteText](../methods/help_getInviteText.md) - - - diff --git a/old_docs/API_docs_v95/types/help_PassportConfig.md b/old_docs/API_docs_v95/types/help_PassportConfig.md deleted file mode 100644 index e03abab7..00000000 --- a/old_docs/API_docs_v95/types/help_PassportConfig.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: help_PassportConfig -description: constructors and methods of type help_PassportConfig -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_PassportConfig -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_passportConfigNotModified](../constructors/help_passportConfigNotModified.md) - -[help\_passportConfig](../constructors/help_passportConfig.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getPassportConfig](../methods/help_getPassportConfig.md) - - - diff --git a/old_docs/API_docs_v95/types/help_ProxyData.md b/old_docs/API_docs_v95/types/help_ProxyData.md deleted file mode 100644 index 1bc6839e..00000000 --- a/old_docs/API_docs_v95/types/help_ProxyData.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: help_ProxyData -description: constructors and methods of type help_ProxyData -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_ProxyData -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_proxyDataEmpty](../constructors/help_proxyDataEmpty.md) - -[help\_proxyDataPromo](../constructors/help_proxyDataPromo.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getProxyData](../methods/help_getProxyData.md) - - - diff --git a/old_docs/API_docs_v95/types/help_RecentMeUrls.md b/old_docs/API_docs_v95/types/help_RecentMeUrls.md deleted file mode 100644 index 691af1c3..00000000 --- a/old_docs/API_docs_v95/types/help_RecentMeUrls.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: help_RecentMeUrls -description: constructors and methods of type help_RecentMeUrls -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_RecentMeUrls -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_recentMeUrls](../constructors/help_recentMeUrls.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getRecentMeUrls](../methods/help_getRecentMeUrls.md) - - - diff --git a/old_docs/API_docs_v95/types/help_Support.md b/old_docs/API_docs_v95/types/help_Support.md deleted file mode 100644 index 26de447b..00000000 --- a/old_docs/API_docs_v95/types/help_Support.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: help_Support -description: constructors and methods of type help_Support -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_Support -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_support](../constructors/help_support.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getSupport](../methods/help_getSupport.md) - - - diff --git a/old_docs/API_docs_v95/types/help_SupportName.md b/old_docs/API_docs_v95/types/help_SupportName.md deleted file mode 100644 index e89309a2..00000000 --- a/old_docs/API_docs_v95/types/help_SupportName.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: help_SupportName -description: constructors and methods of type help_SupportName -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_SupportName -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_supportName](../constructors/help_supportName.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getSupportName](../methods/help_getSupportName.md) - - - diff --git a/old_docs/API_docs_v95/types/help_TermsOfService.md b/old_docs/API_docs_v95/types/help_TermsOfService.md deleted file mode 100644 index 24f8eb68..00000000 --- a/old_docs/API_docs_v95/types/help_TermsOfService.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: help_TermsOfService -description: constructors and methods of type help_TermsOfService -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_TermsOfService -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_termsOfService](../constructors/help_termsOfService.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v95/types/help_TermsOfServiceUpdate.md b/old_docs/API_docs_v95/types/help_TermsOfServiceUpdate.md deleted file mode 100644 index 0e4f1ef2..00000000 --- a/old_docs/API_docs_v95/types/help_TermsOfServiceUpdate.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: help_TermsOfServiceUpdate -description: constructors and methods of type help_TermsOfServiceUpdate -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_TermsOfServiceUpdate -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_termsOfServiceUpdateEmpty](../constructors/help_termsOfServiceUpdateEmpty.md) - -[help\_termsOfServiceUpdate](../constructors/help_termsOfServiceUpdate.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getTermsOfServiceUpdate](../methods/help_getTermsOfServiceUpdate.md) - - - diff --git a/old_docs/API_docs_v95/types/help_UserInfo.md b/old_docs/API_docs_v95/types/help_UserInfo.md deleted file mode 100644 index 87ca4327..00000000 --- a/old_docs/API_docs_v95/types/help_UserInfo.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: help_UserInfo -description: constructors and methods of type help_UserInfo -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_UserInfo -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_userInfoEmpty](../constructors/help_userInfoEmpty.md) - -[help\_userInfo](../constructors/help_userInfo.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getUserInfo](../methods/help_getUserInfo.md) - -[$MadelineProto->help->editUserInfo](../methods/help_editUserInfo.md) - - - diff --git a/old_docs/API_docs_v95/types/messages.AffectedHistory.md b/old_docs/API_docs_v95/types/messages.AffectedHistory.md new file mode 100644 index 00000000..8a1e850a --- /dev/null +++ b/old_docs/API_docs_v95/types/messages.AffectedHistory.md @@ -0,0 +1,26 @@ +--- +title: messages.AffectedHistory +description: constructors and methods of type messages.AffectedHistory +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.AffectedHistory +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.affectedHistory](../constructors/messages.affectedHistory.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->deleteHistory](../methods/messages.deleteHistory.md) + +[$MadelineProto->messages->readMentions](../methods/messages.readMentions.md) + +[$MadelineProto->channels->deleteUserHistory](../methods/channels.deleteUserHistory.md) + + + diff --git a/old_docs/API_docs_v95/types/messages.AffectedMessages.md b/old_docs/API_docs_v95/types/messages.AffectedMessages.md new file mode 100644 index 00000000..a9159de3 --- /dev/null +++ b/old_docs/API_docs_v95/types/messages.AffectedMessages.md @@ -0,0 +1,28 @@ +--- +title: messages.AffectedMessages +description: constructors and methods of type messages.AffectedMessages +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.AffectedMessages +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.affectedMessages](../constructors/messages.affectedMessages.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->readHistory](../methods/messages.readHistory.md) + +[$MadelineProto->messages->deleteMessages](../methods/messages.deleteMessages.md) + +[$MadelineProto->messages->readMessageContents](../methods/messages.readMessageContents.md) + +[$MadelineProto->channels->deleteMessages](../methods/channels.deleteMessages.md) + + + diff --git a/old_docs/API_docs_v95/types/messages.AllStickers.md b/old_docs/API_docs_v95/types/messages.AllStickers.md new file mode 100644 index 00000000..fd8565de --- /dev/null +++ b/old_docs/API_docs_v95/types/messages.AllStickers.md @@ -0,0 +1,26 @@ +--- +title: messages.AllStickers +description: constructors and methods of type messages.AllStickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.AllStickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.allStickersNotModified](../constructors/messages.allStickersNotModified.md) + +[messages.allStickers](../constructors/messages.allStickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getAllStickers](../methods/messages.getAllStickers.md) + +[$MadelineProto->messages->getMaskStickers](../methods/messages.getMaskStickers.md) + + + diff --git a/old_docs/API_docs_v95/types/messages.ArchivedStickers.md b/old_docs/API_docs_v95/types/messages.ArchivedStickers.md new file mode 100644 index 00000000..3e017c5d --- /dev/null +++ b/old_docs/API_docs_v95/types/messages.ArchivedStickers.md @@ -0,0 +1,22 @@ +--- +title: messages.ArchivedStickers +description: constructors and methods of type messages.ArchivedStickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.ArchivedStickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.archivedStickers](../constructors/messages.archivedStickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getArchivedStickers](../methods/messages.getArchivedStickers.md) + + + diff --git a/old_docs/API_docs_v95/types/messages.BotCallbackAnswer.md b/old_docs/API_docs_v95/types/messages.BotCallbackAnswer.md new file mode 100644 index 00000000..ef30fbfb --- /dev/null +++ b/old_docs/API_docs_v95/types/messages.BotCallbackAnswer.md @@ -0,0 +1,22 @@ +--- +title: messages.BotCallbackAnswer +description: constructors and methods of type messages.BotCallbackAnswer +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.BotCallbackAnswer +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.botCallbackAnswer](../constructors/messages.botCallbackAnswer.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getBotCallbackAnswer](../methods/messages.getBotCallbackAnswer.md) + + + diff --git a/old_docs/API_docs_v95/types/messages.BotResults.md b/old_docs/API_docs_v95/types/messages.BotResults.md new file mode 100644 index 00000000..76ee2b99 --- /dev/null +++ b/old_docs/API_docs_v95/types/messages.BotResults.md @@ -0,0 +1,22 @@ +--- +title: messages.BotResults +description: constructors and methods of type messages.BotResults +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.BotResults +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.botResults](../constructors/messages.botResults.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getInlineBotResults](../methods/messages.getInlineBotResults.md) + + + diff --git a/old_docs/API_docs_v95/types/messages.ChatFull.md b/old_docs/API_docs_v95/types/messages.ChatFull.md new file mode 100644 index 00000000..3ad38748 --- /dev/null +++ b/old_docs/API_docs_v95/types/messages.ChatFull.md @@ -0,0 +1,24 @@ +--- +title: messages.ChatFull +description: constructors and methods of type messages.ChatFull +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.ChatFull +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.chatFull](../constructors/messages.chatFull.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getFullChat](../methods/messages.getFullChat.md) + +[$MadelineProto->channels->getFullChannel](../methods/channels.getFullChannel.md) + + + diff --git a/old_docs/API_docs_v95/types/messages.Chats.md b/old_docs/API_docs_v95/types/messages.Chats.md new file mode 100644 index 00000000..4678b110 --- /dev/null +++ b/old_docs/API_docs_v95/types/messages.Chats.md @@ -0,0 +1,34 @@ +--- +title: messages.Chats +description: constructors and methods of type messages.Chats +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Chats +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.chats](../constructors/messages.chats.md) + +[messages.chatsSlice](../constructors/messages.chatsSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getChats](../methods/messages.getChats.md) + +[$MadelineProto->messages->getCommonChats](../methods/messages.getCommonChats.md) + +[$MadelineProto->messages->getAllChats](../methods/messages.getAllChats.md) + +[$MadelineProto->channels->getChannels](../methods/channels.getChannels.md) + +[$MadelineProto->channels->getAdminedPublicChannels](../methods/channels.getAdminedPublicChannels.md) + +[$MadelineProto->channels->getLeftChannels](../methods/channels.getLeftChannels.md) + + + diff --git a/old_docs/API_docs_v95/types/messages.DhConfig.md b/old_docs/API_docs_v95/types/messages.DhConfig.md new file mode 100644 index 00000000..77188ab7 --- /dev/null +++ b/old_docs/API_docs_v95/types/messages.DhConfig.md @@ -0,0 +1,24 @@ +--- +title: messages.DhConfig +description: constructors and methods of type messages.DhConfig +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.DhConfig +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.dhConfigNotModified](../constructors/messages.dhConfigNotModified.md) + +[messages.dhConfig](../constructors/messages.dhConfig.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getDhConfig](../methods/messages.getDhConfig.md) + + + diff --git a/old_docs/API_docs_v95/types/messages.Dialogs.md b/old_docs/API_docs_v95/types/messages.Dialogs.md new file mode 100644 index 00000000..e14885b1 --- /dev/null +++ b/old_docs/API_docs_v95/types/messages.Dialogs.md @@ -0,0 +1,26 @@ +--- +title: messages.Dialogs +description: constructors and methods of type messages.Dialogs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Dialogs +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.dialogs](../constructors/messages.dialogs.md) + +[messages.dialogsSlice](../constructors/messages.dialogsSlice.md) + +[messages.dialogsNotModified](../constructors/messages.dialogsNotModified.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getDialogs](../methods/messages.getDialogs.md) + + + diff --git a/old_docs/API_docs_v95/types/messages.FavedStickers.md b/old_docs/API_docs_v95/types/messages.FavedStickers.md new file mode 100644 index 00000000..3edc863b --- /dev/null +++ b/old_docs/API_docs_v95/types/messages.FavedStickers.md @@ -0,0 +1,24 @@ +--- +title: messages.FavedStickers +description: constructors and methods of type messages.FavedStickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.FavedStickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.favedStickersNotModified](../constructors/messages.favedStickersNotModified.md) + +[messages.favedStickers](../constructors/messages.favedStickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getFavedStickers](../methods/messages.getFavedStickers.md) + + + diff --git a/old_docs/API_docs_v95/types/messages.FeaturedStickers.md b/old_docs/API_docs_v95/types/messages.FeaturedStickers.md new file mode 100644 index 00000000..06ed87bb --- /dev/null +++ b/old_docs/API_docs_v95/types/messages.FeaturedStickers.md @@ -0,0 +1,24 @@ +--- +title: messages.FeaturedStickers +description: constructors and methods of type messages.FeaturedStickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.FeaturedStickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.featuredStickersNotModified](../constructors/messages.featuredStickersNotModified.md) + +[messages.featuredStickers](../constructors/messages.featuredStickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getFeaturedStickers](../methods/messages.getFeaturedStickers.md) + + + diff --git a/old_docs/API_docs_v95/types/messages.FoundGifs.md b/old_docs/API_docs_v95/types/messages.FoundGifs.md new file mode 100644 index 00000000..b5176a5d --- /dev/null +++ b/old_docs/API_docs_v95/types/messages.FoundGifs.md @@ -0,0 +1,22 @@ +--- +title: messages.FoundGifs +description: constructors and methods of type messages.FoundGifs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.FoundGifs +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.foundGifs](../constructors/messages.foundGifs.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->searchGifs](../methods/messages.searchGifs.md) + + + diff --git a/old_docs/API_docs_v95/types/messages.FoundStickerSets.md b/old_docs/API_docs_v95/types/messages.FoundStickerSets.md new file mode 100644 index 00000000..eb6eb284 --- /dev/null +++ b/old_docs/API_docs_v95/types/messages.FoundStickerSets.md @@ -0,0 +1,24 @@ +--- +title: messages.FoundStickerSets +description: constructors and methods of type messages.FoundStickerSets +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.FoundStickerSets +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.foundStickerSetsNotModified](../constructors/messages.foundStickerSetsNotModified.md) + +[messages.foundStickerSets](../constructors/messages.foundStickerSets.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->searchStickerSets](../methods/messages.searchStickerSets.md) + + + diff --git a/old_docs/API_docs_v95/types/messages.HighScores.md b/old_docs/API_docs_v95/types/messages.HighScores.md new file mode 100644 index 00000000..eae9db66 --- /dev/null +++ b/old_docs/API_docs_v95/types/messages.HighScores.md @@ -0,0 +1,24 @@ +--- +title: messages.HighScores +description: constructors and methods of type messages.HighScores +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.HighScores +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.highScores](../constructors/messages.highScores.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getGameHighScores](../methods/messages.getGameHighScores.md) + +[$MadelineProto->messages->getInlineGameHighScores](../methods/messages.getInlineGameHighScores.md) + + + diff --git a/old_docs/API_docs_v95/types/messages.MessageEditData.md b/old_docs/API_docs_v95/types/messages.MessageEditData.md new file mode 100644 index 00000000..feb572f1 --- /dev/null +++ b/old_docs/API_docs_v95/types/messages.MessageEditData.md @@ -0,0 +1,22 @@ +--- +title: messages.MessageEditData +description: constructors and methods of type messages.MessageEditData +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.MessageEditData +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.messageEditData](../constructors/messages.messageEditData.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getMessageEditData](../methods/messages.getMessageEditData.md) + + + diff --git a/old_docs/API_docs_v95/types/messages.Messages.md b/old_docs/API_docs_v95/types/messages.Messages.md new file mode 100644 index 00000000..699ceada --- /dev/null +++ b/old_docs/API_docs_v95/types/messages.Messages.md @@ -0,0 +1,40 @@ +--- +title: messages.Messages +description: constructors and methods of type messages.Messages +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Messages +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.messages](../constructors/messages.messages.md) + +[messages.messagesSlice](../constructors/messages.messagesSlice.md) + +[messages.channelMessages](../constructors/messages.channelMessages.md) + +[messages.messagesNotModified](../constructors/messages.messagesNotModified.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getMessages](../methods/messages.getMessages.md) + +[$MadelineProto->messages->getHistory](../methods/messages.getHistory.md) + +[$MadelineProto->messages->search](../methods/messages.search.md) + +[$MadelineProto->messages->searchGlobal](../methods/messages.searchGlobal.md) + +[$MadelineProto->messages->getUnreadMentions](../methods/messages.getUnreadMentions.md) + +[$MadelineProto->messages->getRecentLocations](../methods/messages.getRecentLocations.md) + +[$MadelineProto->channels->getMessages](../methods/channels.getMessages.md) + + + diff --git a/old_docs/API_docs_v95/types/messages.PeerDialogs.md b/old_docs/API_docs_v95/types/messages.PeerDialogs.md new file mode 100644 index 00000000..9a1ceaf0 --- /dev/null +++ b/old_docs/API_docs_v95/types/messages.PeerDialogs.md @@ -0,0 +1,24 @@ +--- +title: messages.PeerDialogs +description: constructors and methods of type messages.PeerDialogs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.PeerDialogs +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.peerDialogs](../constructors/messages.peerDialogs.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getPeerDialogs](../methods/messages.getPeerDialogs.md) + +[$MadelineProto->messages->getPinnedDialogs](../methods/messages.getPinnedDialogs.md) + + + diff --git a/old_docs/API_docs_v95/types/messages.RecentStickers.md b/old_docs/API_docs_v95/types/messages.RecentStickers.md new file mode 100644 index 00000000..e5c49b92 --- /dev/null +++ b/old_docs/API_docs_v95/types/messages.RecentStickers.md @@ -0,0 +1,24 @@ +--- +title: messages.RecentStickers +description: constructors and methods of type messages.RecentStickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.RecentStickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.recentStickersNotModified](../constructors/messages.recentStickersNotModified.md) + +[messages.recentStickers](../constructors/messages.recentStickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getRecentStickers](../methods/messages.getRecentStickers.md) + + + diff --git a/old_docs/API_docs_v95/types/messages.SavedGifs.md b/old_docs/API_docs_v95/types/messages.SavedGifs.md new file mode 100644 index 00000000..99844c98 --- /dev/null +++ b/old_docs/API_docs_v95/types/messages.SavedGifs.md @@ -0,0 +1,24 @@ +--- +title: messages.SavedGifs +description: constructors and methods of type messages.SavedGifs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.SavedGifs +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.savedGifsNotModified](../constructors/messages.savedGifsNotModified.md) + +[messages.savedGifs](../constructors/messages.savedGifs.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getSavedGifs](../methods/messages.getSavedGifs.md) + + + diff --git a/old_docs/API_docs_v95/types/messages.SentEncryptedMessage.md b/old_docs/API_docs_v95/types/messages.SentEncryptedMessage.md new file mode 100644 index 00000000..b6d05b1f --- /dev/null +++ b/old_docs/API_docs_v95/types/messages.SentEncryptedMessage.md @@ -0,0 +1,28 @@ +--- +title: messages.SentEncryptedMessage +description: constructors and methods of type messages.SentEncryptedMessage +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.SentEncryptedMessage +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.sentEncryptedMessage](../constructors/messages.sentEncryptedMessage.md) + +[messages.sentEncryptedFile](../constructors/messages.sentEncryptedFile.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->sendEncrypted](../methods/messages.sendEncrypted.md) + +[$MadelineProto->messages->sendEncryptedFile](../methods/messages.sendEncryptedFile.md) + +[$MadelineProto->messages->sendEncryptedService](../methods/messages.sendEncryptedService.md) + + + diff --git a/old_docs/API_docs_v95/types/messages.StickerSet.md b/old_docs/API_docs_v95/types/messages.StickerSet.md new file mode 100644 index 00000000..e173fe45 --- /dev/null +++ b/old_docs/API_docs_v95/types/messages.StickerSet.md @@ -0,0 +1,30 @@ +--- +title: messages.StickerSet +description: constructors and methods of type messages.StickerSet +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.StickerSet +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.stickerSet](../constructors/messages.stickerSet.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getStickerSet](../methods/messages.getStickerSet.md) + +[$MadelineProto->stickers->createStickerSet](../methods/stickers.createStickerSet.md) + +[$MadelineProto->stickers->removeStickerFromSet](../methods/stickers.removeStickerFromSet.md) + +[$MadelineProto->stickers->changeStickerPosition](../methods/stickers.changeStickerPosition.md) + +[$MadelineProto->stickers->addStickerToSet](../methods/stickers.addStickerToSet.md) + + + diff --git a/old_docs/API_docs_v95/types/messages.StickerSetInstallResult.md b/old_docs/API_docs_v95/types/messages.StickerSetInstallResult.md new file mode 100644 index 00000000..9e09c293 --- /dev/null +++ b/old_docs/API_docs_v95/types/messages.StickerSetInstallResult.md @@ -0,0 +1,24 @@ +--- +title: messages.StickerSetInstallResult +description: constructors and methods of type messages.StickerSetInstallResult +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.StickerSetInstallResult +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.stickerSetInstallResultSuccess](../constructors/messages.stickerSetInstallResultSuccess.md) + +[messages.stickerSetInstallResultArchive](../constructors/messages.stickerSetInstallResultArchive.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->installStickerSet](../methods/messages.installStickerSet.md) + + + diff --git a/old_docs/API_docs_v95/types/messages.Stickers.md b/old_docs/API_docs_v95/types/messages.Stickers.md new file mode 100644 index 00000000..43bddf06 --- /dev/null +++ b/old_docs/API_docs_v95/types/messages.Stickers.md @@ -0,0 +1,24 @@ +--- +title: messages.Stickers +description: constructors and methods of type messages.Stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Stickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.stickersNotModified](../constructors/messages.stickersNotModified.md) + +[messages.stickers](../constructors/messages.stickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getStickers](../methods/messages.getStickers.md) + + + diff --git a/old_docs/API_docs_v95/types/messages_AffectedHistory.md b/old_docs/API_docs_v95/types/messages_AffectedHistory.md deleted file mode 100644 index 9eef04c0..00000000 --- a/old_docs/API_docs_v95/types/messages_AffectedHistory.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: messages_AffectedHistory -description: constructors and methods of type messages_AffectedHistory -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_AffectedHistory -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_affectedHistory](../constructors/messages_affectedHistory.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->deleteHistory](../methods/messages_deleteHistory.md) - -[$MadelineProto->messages->readMentions](../methods/messages_readMentions.md) - -[$MadelineProto->channels->deleteUserHistory](../methods/channels_deleteUserHistory.md) - - - diff --git a/old_docs/API_docs_v95/types/messages_AffectedMessages.md b/old_docs/API_docs_v95/types/messages_AffectedMessages.md deleted file mode 100644 index dcbea721..00000000 --- a/old_docs/API_docs_v95/types/messages_AffectedMessages.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: messages_AffectedMessages -description: constructors and methods of type messages_AffectedMessages -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_AffectedMessages -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_affectedMessages](../constructors/messages_affectedMessages.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->readHistory](../methods/messages_readHistory.md) - -[$MadelineProto->messages->deleteMessages](../methods/messages_deleteMessages.md) - -[$MadelineProto->messages->readMessageContents](../methods/messages_readMessageContents.md) - -[$MadelineProto->channels->deleteMessages](../methods/channels_deleteMessages.md) - - - diff --git a/old_docs/API_docs_v95/types/messages_AllStickers.md b/old_docs/API_docs_v95/types/messages_AllStickers.md deleted file mode 100644 index b6a322e0..00000000 --- a/old_docs/API_docs_v95/types/messages_AllStickers.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: messages_AllStickers -description: constructors and methods of type messages_AllStickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_AllStickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_allStickersNotModified](../constructors/messages_allStickersNotModified.md) - -[messages\_allStickers](../constructors/messages_allStickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getAllStickers](../methods/messages_getAllStickers.md) - -[$MadelineProto->messages->getMaskStickers](../methods/messages_getMaskStickers.md) - - - diff --git a/old_docs/API_docs_v95/types/messages_ArchivedStickers.md b/old_docs/API_docs_v95/types/messages_ArchivedStickers.md deleted file mode 100644 index c569675e..00000000 --- a/old_docs/API_docs_v95/types/messages_ArchivedStickers.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_ArchivedStickers -description: constructors and methods of type messages_ArchivedStickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_ArchivedStickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_archivedStickers](../constructors/messages_archivedStickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getArchivedStickers](../methods/messages_getArchivedStickers.md) - - - diff --git a/old_docs/API_docs_v95/types/messages_BotCallbackAnswer.md b/old_docs/API_docs_v95/types/messages_BotCallbackAnswer.md deleted file mode 100644 index f8d424d0..00000000 --- a/old_docs/API_docs_v95/types/messages_BotCallbackAnswer.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_BotCallbackAnswer -description: constructors and methods of type messages_BotCallbackAnswer -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_BotCallbackAnswer -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_botCallbackAnswer](../constructors/messages_botCallbackAnswer.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getBotCallbackAnswer](../methods/messages_getBotCallbackAnswer.md) - - - diff --git a/old_docs/API_docs_v95/types/messages_BotResults.md b/old_docs/API_docs_v95/types/messages_BotResults.md deleted file mode 100644 index c346c5bd..00000000 --- a/old_docs/API_docs_v95/types/messages_BotResults.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_BotResults -description: constructors and methods of type messages_BotResults -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_BotResults -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_botResults](../constructors/messages_botResults.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getInlineBotResults](../methods/messages_getInlineBotResults.md) - - - diff --git a/old_docs/API_docs_v95/types/messages_ChatFull.md b/old_docs/API_docs_v95/types/messages_ChatFull.md deleted file mode 100644 index e4add41e..00000000 --- a/old_docs/API_docs_v95/types/messages_ChatFull.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_ChatFull -description: constructors and methods of type messages_ChatFull -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_ChatFull -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_chatFull](../constructors/messages_chatFull.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getFullChat](../methods/messages_getFullChat.md) - -[$MadelineProto->channels->getFullChannel](../methods/channels_getFullChannel.md) - - - diff --git a/old_docs/API_docs_v95/types/messages_Chats.md b/old_docs/API_docs_v95/types/messages_Chats.md deleted file mode 100644 index 57349b11..00000000 --- a/old_docs/API_docs_v95/types/messages_Chats.md +++ /dev/null @@ -1,34 +0,0 @@ ---- -title: messages_Chats -description: constructors and methods of type messages_Chats -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Chats -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_chats](../constructors/messages_chats.md) - -[messages\_chatsSlice](../constructors/messages_chatsSlice.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getChats](../methods/messages_getChats.md) - -[$MadelineProto->messages->getCommonChats](../methods/messages_getCommonChats.md) - -[$MadelineProto->messages->getAllChats](../methods/messages_getAllChats.md) - -[$MadelineProto->channels->getChannels](../methods/channels_getChannels.md) - -[$MadelineProto->channels->getAdminedPublicChannels](../methods/channels_getAdminedPublicChannels.md) - -[$MadelineProto->channels->getLeftChannels](../methods/channels_getLeftChannels.md) - - - diff --git a/old_docs/API_docs_v95/types/messages_DhConfig.md b/old_docs/API_docs_v95/types/messages_DhConfig.md deleted file mode 100644 index ce237411..00000000 --- a/old_docs/API_docs_v95/types/messages_DhConfig.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_DhConfig -description: constructors and methods of type messages_DhConfig -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_DhConfig -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_dhConfigNotModified](../constructors/messages_dhConfigNotModified.md) - -[messages\_dhConfig](../constructors/messages_dhConfig.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getDhConfig](../methods/messages_getDhConfig.md) - - - diff --git a/old_docs/API_docs_v95/types/messages_Dialogs.md b/old_docs/API_docs_v95/types/messages_Dialogs.md deleted file mode 100644 index 86d5eb72..00000000 --- a/old_docs/API_docs_v95/types/messages_Dialogs.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: messages_Dialogs -description: constructors and methods of type messages_Dialogs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Dialogs -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_dialogs](../constructors/messages_dialogs.md) - -[messages\_dialogsSlice](../constructors/messages_dialogsSlice.md) - -[messages\_dialogsNotModified](../constructors/messages_dialogsNotModified.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getDialogs](../methods/messages_getDialogs.md) - - - diff --git a/old_docs/API_docs_v95/types/messages_FavedStickers.md b/old_docs/API_docs_v95/types/messages_FavedStickers.md deleted file mode 100644 index 6fa1f221..00000000 --- a/old_docs/API_docs_v95/types/messages_FavedStickers.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_FavedStickers -description: constructors and methods of type messages_FavedStickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_FavedStickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_favedStickersNotModified](../constructors/messages_favedStickersNotModified.md) - -[messages\_favedStickers](../constructors/messages_favedStickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getFavedStickers](../methods/messages_getFavedStickers.md) - - - diff --git a/old_docs/API_docs_v95/types/messages_FeaturedStickers.md b/old_docs/API_docs_v95/types/messages_FeaturedStickers.md deleted file mode 100644 index 9b4c5002..00000000 --- a/old_docs/API_docs_v95/types/messages_FeaturedStickers.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_FeaturedStickers -description: constructors and methods of type messages_FeaturedStickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_FeaturedStickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_featuredStickersNotModified](../constructors/messages_featuredStickersNotModified.md) - -[messages\_featuredStickers](../constructors/messages_featuredStickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getFeaturedStickers](../methods/messages_getFeaturedStickers.md) - - - diff --git a/old_docs/API_docs_v95/types/messages_FoundGifs.md b/old_docs/API_docs_v95/types/messages_FoundGifs.md deleted file mode 100644 index 9dd088ba..00000000 --- a/old_docs/API_docs_v95/types/messages_FoundGifs.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_FoundGifs -description: constructors and methods of type messages_FoundGifs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_FoundGifs -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_foundGifs](../constructors/messages_foundGifs.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->searchGifs](../methods/messages_searchGifs.md) - - - diff --git a/old_docs/API_docs_v95/types/messages_FoundStickerSets.md b/old_docs/API_docs_v95/types/messages_FoundStickerSets.md deleted file mode 100644 index 9045b0d7..00000000 --- a/old_docs/API_docs_v95/types/messages_FoundStickerSets.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_FoundStickerSets -description: constructors and methods of type messages_FoundStickerSets -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_FoundStickerSets -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_foundStickerSetsNotModified](../constructors/messages_foundStickerSetsNotModified.md) - -[messages\_foundStickerSets](../constructors/messages_foundStickerSets.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->searchStickerSets](../methods/messages_searchStickerSets.md) - - - diff --git a/old_docs/API_docs_v95/types/messages_HighScores.md b/old_docs/API_docs_v95/types/messages_HighScores.md deleted file mode 100644 index 9660e255..00000000 --- a/old_docs/API_docs_v95/types/messages_HighScores.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_HighScores -description: constructors and methods of type messages_HighScores -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_HighScores -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_highScores](../constructors/messages_highScores.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getGameHighScores](../methods/messages_getGameHighScores.md) - -[$MadelineProto->messages->getInlineGameHighScores](../methods/messages_getInlineGameHighScores.md) - - - diff --git a/old_docs/API_docs_v95/types/messages_MessageEditData.md b/old_docs/API_docs_v95/types/messages_MessageEditData.md deleted file mode 100644 index ed3c507a..00000000 --- a/old_docs/API_docs_v95/types/messages_MessageEditData.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_MessageEditData -description: constructors and methods of type messages_MessageEditData -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_MessageEditData -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_messageEditData](../constructors/messages_messageEditData.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getMessageEditData](../methods/messages_getMessageEditData.md) - - - diff --git a/old_docs/API_docs_v95/types/messages_Messages.md b/old_docs/API_docs_v95/types/messages_Messages.md deleted file mode 100644 index 35514e90..00000000 --- a/old_docs/API_docs_v95/types/messages_Messages.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages_Messages -description: constructors and methods of type messages_Messages -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Messages -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_messages](../constructors/messages_messages.md) - -[messages\_messagesSlice](../constructors/messages_messagesSlice.md) - -[messages\_channelMessages](../constructors/messages_channelMessages.md) - -[messages\_messagesNotModified](../constructors/messages_messagesNotModified.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getMessages](../methods/messages_getMessages.md) - -[$MadelineProto->messages->getHistory](../methods/messages_getHistory.md) - -[$MadelineProto->messages->search](../methods/messages_search.md) - -[$MadelineProto->messages->searchGlobal](../methods/messages_searchGlobal.md) - -[$MadelineProto->messages->getUnreadMentions](../methods/messages_getUnreadMentions.md) - -[$MadelineProto->messages->getRecentLocations](../methods/messages_getRecentLocations.md) - -[$MadelineProto->channels->getMessages](../methods/channels_getMessages.md) - - - diff --git a/old_docs/API_docs_v95/types/messages_PeerDialogs.md b/old_docs/API_docs_v95/types/messages_PeerDialogs.md deleted file mode 100644 index 2477931f..00000000 --- a/old_docs/API_docs_v95/types/messages_PeerDialogs.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_PeerDialogs -description: constructors and methods of type messages_PeerDialogs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_PeerDialogs -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_peerDialogs](../constructors/messages_peerDialogs.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getPeerDialogs](../methods/messages_getPeerDialogs.md) - -[$MadelineProto->messages->getPinnedDialogs](../methods/messages_getPinnedDialogs.md) - - - diff --git a/old_docs/API_docs_v95/types/messages_RecentStickers.md b/old_docs/API_docs_v95/types/messages_RecentStickers.md deleted file mode 100644 index 2c9db779..00000000 --- a/old_docs/API_docs_v95/types/messages_RecentStickers.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_RecentStickers -description: constructors and methods of type messages_RecentStickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_RecentStickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_recentStickersNotModified](../constructors/messages_recentStickersNotModified.md) - -[messages\_recentStickers](../constructors/messages_recentStickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getRecentStickers](../methods/messages_getRecentStickers.md) - - - diff --git a/old_docs/API_docs_v95/types/messages_SavedGifs.md b/old_docs/API_docs_v95/types/messages_SavedGifs.md deleted file mode 100644 index ffb000aa..00000000 --- a/old_docs/API_docs_v95/types/messages_SavedGifs.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_SavedGifs -description: constructors and methods of type messages_SavedGifs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_SavedGifs -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_savedGifsNotModified](../constructors/messages_savedGifsNotModified.md) - -[messages\_savedGifs](../constructors/messages_savedGifs.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getSavedGifs](../methods/messages_getSavedGifs.md) - - - diff --git a/old_docs/API_docs_v95/types/messages_SentEncryptedMessage.md b/old_docs/API_docs_v95/types/messages_SentEncryptedMessage.md deleted file mode 100644 index 9f7ab935..00000000 --- a/old_docs/API_docs_v95/types/messages_SentEncryptedMessage.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: messages_SentEncryptedMessage -description: constructors and methods of type messages_SentEncryptedMessage -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_SentEncryptedMessage -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_sentEncryptedMessage](../constructors/messages_sentEncryptedMessage.md) - -[messages\_sentEncryptedFile](../constructors/messages_sentEncryptedFile.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->sendEncrypted](../methods/messages_sendEncrypted.md) - -[$MadelineProto->messages->sendEncryptedFile](../methods/messages_sendEncryptedFile.md) - -[$MadelineProto->messages->sendEncryptedService](../methods/messages_sendEncryptedService.md) - - - diff --git a/old_docs/API_docs_v95/types/messages_StickerSet.md b/old_docs/API_docs_v95/types/messages_StickerSet.md deleted file mode 100644 index 98e34dd2..00000000 --- a/old_docs/API_docs_v95/types/messages_StickerSet.md +++ /dev/null @@ -1,30 +0,0 @@ ---- -title: messages_StickerSet -description: constructors and methods of type messages_StickerSet -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_StickerSet -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_stickerSet](../constructors/messages_stickerSet.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getStickerSet](../methods/messages_getStickerSet.md) - -[$MadelineProto->stickers->createStickerSet](../methods/stickers_createStickerSet.md) - -[$MadelineProto->stickers->removeStickerFromSet](../methods/stickers_removeStickerFromSet.md) - -[$MadelineProto->stickers->changeStickerPosition](../methods/stickers_changeStickerPosition.md) - -[$MadelineProto->stickers->addStickerToSet](../methods/stickers_addStickerToSet.md) - - - diff --git a/old_docs/API_docs_v95/types/messages_StickerSetInstallResult.md b/old_docs/API_docs_v95/types/messages_StickerSetInstallResult.md deleted file mode 100644 index bb62ec11..00000000 --- a/old_docs/API_docs_v95/types/messages_StickerSetInstallResult.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_StickerSetInstallResult -description: constructors and methods of type messages_StickerSetInstallResult -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_StickerSetInstallResult -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_stickerSetInstallResultSuccess](../constructors/messages_stickerSetInstallResultSuccess.md) - -[messages\_stickerSetInstallResultArchive](../constructors/messages_stickerSetInstallResultArchive.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->installStickerSet](../methods/messages_installStickerSet.md) - - - diff --git a/old_docs/API_docs_v95/types/messages_Stickers.md b/old_docs/API_docs_v95/types/messages_Stickers.md deleted file mode 100644 index cf53f57b..00000000 --- a/old_docs/API_docs_v95/types/messages_Stickers.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_Stickers -description: constructors and methods of type messages_Stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Stickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_stickersNotModified](../constructors/messages_stickersNotModified.md) - -[messages\_stickers](../constructors/messages_stickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getStickers](../methods/messages_getStickers.md) - - - diff --git a/old_docs/API_docs_v95/types/payments.PaymentForm.md b/old_docs/API_docs_v95/types/payments.PaymentForm.md new file mode 100644 index 00000000..985c1957 --- /dev/null +++ b/old_docs/API_docs_v95/types/payments.PaymentForm.md @@ -0,0 +1,22 @@ +--- +title: payments.PaymentForm +description: constructors and methods of type payments.PaymentForm +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: payments.PaymentForm +[Back to types index](index.md) + + + +### Possible values (constructors): + +[payments.paymentForm](../constructors/payments.paymentForm.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->payments->getPaymentForm](../methods/payments.getPaymentForm.md) + + + diff --git a/old_docs/API_docs_v95/types/payments.PaymentReceipt.md b/old_docs/API_docs_v95/types/payments.PaymentReceipt.md new file mode 100644 index 00000000..45cebd47 --- /dev/null +++ b/old_docs/API_docs_v95/types/payments.PaymentReceipt.md @@ -0,0 +1,22 @@ +--- +title: payments.PaymentReceipt +description: constructors and methods of type payments.PaymentReceipt +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: payments.PaymentReceipt +[Back to types index](index.md) + + + +### Possible values (constructors): + +[payments.paymentReceipt](../constructors/payments.paymentReceipt.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->payments->getPaymentReceipt](../methods/payments.getPaymentReceipt.md) + + + diff --git a/old_docs/API_docs_v95/types/payments.PaymentResult.md b/old_docs/API_docs_v95/types/payments.PaymentResult.md new file mode 100644 index 00000000..9bbff9af --- /dev/null +++ b/old_docs/API_docs_v95/types/payments.PaymentResult.md @@ -0,0 +1,24 @@ +--- +title: payments.PaymentResult +description: constructors and methods of type payments.PaymentResult +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: payments.PaymentResult +[Back to types index](index.md) + + + +### Possible values (constructors): + +[payments.paymentResult](../constructors/payments.paymentResult.md) + +[payments.paymentVerficationNeeded](../constructors/payments.paymentVerficationNeeded.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->payments->sendPaymentForm](../methods/payments.sendPaymentForm.md) + + + diff --git a/old_docs/API_docs_v95/types/payments.SavedInfo.md b/old_docs/API_docs_v95/types/payments.SavedInfo.md new file mode 100644 index 00000000..cf7be16c --- /dev/null +++ b/old_docs/API_docs_v95/types/payments.SavedInfo.md @@ -0,0 +1,22 @@ +--- +title: payments.SavedInfo +description: constructors and methods of type payments.SavedInfo +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: payments.SavedInfo +[Back to types index](index.md) + + + +### Possible values (constructors): + +[payments.savedInfo](../constructors/payments.savedInfo.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->payments->getSavedInfo](../methods/payments.getSavedInfo.md) + + + diff --git a/old_docs/API_docs_v95/types/payments.ValidatedRequestedInfo.md b/old_docs/API_docs_v95/types/payments.ValidatedRequestedInfo.md new file mode 100644 index 00000000..653a5064 --- /dev/null +++ b/old_docs/API_docs_v95/types/payments.ValidatedRequestedInfo.md @@ -0,0 +1,22 @@ +--- +title: payments.ValidatedRequestedInfo +description: constructors and methods of type payments.ValidatedRequestedInfo +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: payments.ValidatedRequestedInfo +[Back to types index](index.md) + + + +### Possible values (constructors): + +[payments.validatedRequestedInfo](../constructors/payments.validatedRequestedInfo.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->payments->validateRequestedInfo](../methods/payments.validateRequestedInfo.md) + + + diff --git a/old_docs/API_docs_v95/types/payments_PaymentForm.md b/old_docs/API_docs_v95/types/payments_PaymentForm.md deleted file mode 100644 index 4662586d..00000000 --- a/old_docs/API_docs_v95/types/payments_PaymentForm.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: payments_PaymentForm -description: constructors and methods of type payments_PaymentForm -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: payments\_PaymentForm -[Back to types index](index.md) - - - -### Possible values (constructors): - -[payments\_paymentForm](../constructors/payments_paymentForm.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->payments->getPaymentForm](../methods/payments_getPaymentForm.md) - - - diff --git a/old_docs/API_docs_v95/types/payments_PaymentReceipt.md b/old_docs/API_docs_v95/types/payments_PaymentReceipt.md deleted file mode 100644 index b4770d2a..00000000 --- a/old_docs/API_docs_v95/types/payments_PaymentReceipt.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: payments_PaymentReceipt -description: constructors and methods of type payments_PaymentReceipt -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: payments\_PaymentReceipt -[Back to types index](index.md) - - - -### Possible values (constructors): - -[payments\_paymentReceipt](../constructors/payments_paymentReceipt.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->payments->getPaymentReceipt](../methods/payments_getPaymentReceipt.md) - - - diff --git a/old_docs/API_docs_v95/types/payments_PaymentResult.md b/old_docs/API_docs_v95/types/payments_PaymentResult.md deleted file mode 100644 index 3c0ad411..00000000 --- a/old_docs/API_docs_v95/types/payments_PaymentResult.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: payments_PaymentResult -description: constructors and methods of type payments_PaymentResult -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: payments\_PaymentResult -[Back to types index](index.md) - - - -### Possible values (constructors): - -[payments\_paymentResult](../constructors/payments_paymentResult.md) - -[payments\_paymentVerficationNeeded](../constructors/payments_paymentVerficationNeeded.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->payments->sendPaymentForm](../methods/payments_sendPaymentForm.md) - - - diff --git a/old_docs/API_docs_v95/types/payments_SavedInfo.md b/old_docs/API_docs_v95/types/payments_SavedInfo.md deleted file mode 100644 index c8f7b9e3..00000000 --- a/old_docs/API_docs_v95/types/payments_SavedInfo.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: payments_SavedInfo -description: constructors and methods of type payments_SavedInfo -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: payments\_SavedInfo -[Back to types index](index.md) - - - -### Possible values (constructors): - -[payments\_savedInfo](../constructors/payments_savedInfo.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->payments->getSavedInfo](../methods/payments_getSavedInfo.md) - - - diff --git a/old_docs/API_docs_v95/types/payments_ValidatedRequestedInfo.md b/old_docs/API_docs_v95/types/payments_ValidatedRequestedInfo.md deleted file mode 100644 index ff6c4e39..00000000 --- a/old_docs/API_docs_v95/types/payments_ValidatedRequestedInfo.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: payments_ValidatedRequestedInfo -description: constructors and methods of type payments_ValidatedRequestedInfo -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: payments\_ValidatedRequestedInfo -[Back to types index](index.md) - - - -### Possible values (constructors): - -[payments\_validatedRequestedInfo](../constructors/payments_validatedRequestedInfo.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->payments->validateRequestedInfo](../methods/payments_validateRequestedInfo.md) - - - diff --git a/old_docs/API_docs_v95/types/phone.PhoneCall.md b/old_docs/API_docs_v95/types/phone.PhoneCall.md new file mode 100644 index 00000000..db0708e9 --- /dev/null +++ b/old_docs/API_docs_v95/types/phone.PhoneCall.md @@ -0,0 +1,26 @@ +--- +title: phone.PhoneCall +description: constructors and methods of type phone.PhoneCall +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: phone.PhoneCall +[Back to types index](index.md) + + + +### Possible values (constructors): + +[phone.phoneCall](../constructors/phone.phoneCall.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->phone->requestCall](../methods/phone.requestCall.md) + +[$MadelineProto->phone->acceptCall](../methods/phone.acceptCall.md) + +[$MadelineProto->phone->confirmCall](../methods/phone.confirmCall.md) + + + diff --git a/old_docs/API_docs_v95/types/phone_PhoneCall.md b/old_docs/API_docs_v95/types/phone_PhoneCall.md deleted file mode 100644 index 0a49d482..00000000 --- a/old_docs/API_docs_v95/types/phone_PhoneCall.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: phone_PhoneCall -description: constructors and methods of type phone_PhoneCall -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: phone\_PhoneCall -[Back to types index](index.md) - - - -### Possible values (constructors): - -[phone\_phoneCall](../constructors/phone_phoneCall.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->phone->requestCall](../methods/phone_requestCall.md) - -[$MadelineProto->phone->acceptCall](../methods/phone_acceptCall.md) - -[$MadelineProto->phone->confirmCall](../methods/phone_confirmCall.md) - - - diff --git a/old_docs/API_docs_v95/types/photos.Photo.md b/old_docs/API_docs_v95/types/photos.Photo.md new file mode 100644 index 00000000..d60f203c --- /dev/null +++ b/old_docs/API_docs_v95/types/photos.Photo.md @@ -0,0 +1,22 @@ +--- +title: photos.Photo +description: constructors and methods of type photos.Photo +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: photos.Photo +[Back to types index](index.md) + + + +### Possible values (constructors): + +[photos.photo](../constructors/photos.photo.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->photos->uploadProfilePhoto](../methods/photos.uploadProfilePhoto.md) + + + diff --git a/old_docs/API_docs_v95/types/photos.Photos.md b/old_docs/API_docs_v95/types/photos.Photos.md new file mode 100644 index 00000000..fff0e296 --- /dev/null +++ b/old_docs/API_docs_v95/types/photos.Photos.md @@ -0,0 +1,24 @@ +--- +title: photos.Photos +description: constructors and methods of type photos.Photos +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: photos.Photos +[Back to types index](index.md) + + + +### Possible values (constructors): + +[photos.photos](../constructors/photos.photos.md) + +[photos.photosSlice](../constructors/photos.photosSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->photos->getUserPhotos](../methods/photos.getUserPhotos.md) + + + diff --git a/old_docs/API_docs_v95/types/photos_Photo.md b/old_docs/API_docs_v95/types/photos_Photo.md deleted file mode 100644 index d11bbdef..00000000 --- a/old_docs/API_docs_v95/types/photos_Photo.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: photos_Photo -description: constructors and methods of type photos_Photo -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: photos\_Photo -[Back to types index](index.md) - - - -### Possible values (constructors): - -[photos\_photo](../constructors/photos_photo.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->photos->uploadProfilePhoto](../methods/photos_uploadProfilePhoto.md) - - - diff --git a/old_docs/API_docs_v95/types/photos_Photos.md b/old_docs/API_docs_v95/types/photos_Photos.md deleted file mode 100644 index 9875ad70..00000000 --- a/old_docs/API_docs_v95/types/photos_Photos.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: photos_Photos -description: constructors and methods of type photos_Photos -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: photos\_Photos -[Back to types index](index.md) - - - -### Possible values (constructors): - -[photos\_photos](../constructors/photos_photos.md) - -[photos\_photosSlice](../constructors/photos_photosSlice.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->photos->getUserPhotos](../methods/photos_getUserPhotos.md) - - - diff --git a/old_docs/API_docs_v95/types/storage.FileType.md b/old_docs/API_docs_v95/types/storage.FileType.md new file mode 100644 index 00000000..32f1bb72 --- /dev/null +++ b/old_docs/API_docs_v95/types/storage.FileType.md @@ -0,0 +1,38 @@ +--- +title: storage.FileType +description: constructors and methods of type storage.FileType +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: storage.FileType +[Back to types index](index.md) + + + +### Possible values (constructors): + +[storage.fileUnknown](../constructors/storage.fileUnknown.md) + +[storage.filePartial](../constructors/storage.filePartial.md) + +[storage.fileJpeg](../constructors/storage.fileJpeg.md) + +[storage.fileGif](../constructors/storage.fileGif.md) + +[storage.filePng](../constructors/storage.filePng.md) + +[storage.filePdf](../constructors/storage.filePdf.md) + +[storage.fileMp3](../constructors/storage.fileMp3.md) + +[storage.fileMov](../constructors/storage.fileMov.md) + +[storage.fileMp4](../constructors/storage.fileMp4.md) + +[storage.fileWebp](../constructors/storage.fileWebp.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v95/types/storage_FileType.md b/old_docs/API_docs_v95/types/storage_FileType.md deleted file mode 100644 index 22118805..00000000 --- a/old_docs/API_docs_v95/types/storage_FileType.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: storage_FileType -description: constructors and methods of type storage_FileType -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: storage\_FileType -[Back to types index](index.md) - - - -### Possible values (constructors): - -[storage\_fileUnknown](../constructors/storage_fileUnknown.md) - -[storage\_filePartial](../constructors/storage_filePartial.md) - -[storage\_fileJpeg](../constructors/storage_fileJpeg.md) - -[storage\_fileGif](../constructors/storage_fileGif.md) - -[storage\_filePng](../constructors/storage_filePng.md) - -[storage\_filePdf](../constructors/storage_filePdf.md) - -[storage\_fileMp3](../constructors/storage_fileMp3.md) - -[storage\_fileMov](../constructors/storage_fileMov.md) - -[storage\_fileMp4](../constructors/storage_fileMp4.md) - -[storage\_fileWebp](../constructors/storage_fileWebp.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v95/types/updates.ChannelDifference.md b/old_docs/API_docs_v95/types/updates.ChannelDifference.md new file mode 100644 index 00000000..ac889a1e --- /dev/null +++ b/old_docs/API_docs_v95/types/updates.ChannelDifference.md @@ -0,0 +1,26 @@ +--- +title: updates.ChannelDifference +description: constructors and methods of type updates.ChannelDifference +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: updates.ChannelDifference +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updates.channelDifferenceEmpty](../constructors/updates.channelDifferenceEmpty.md) + +[updates.channelDifferenceTooLong](../constructors/updates.channelDifferenceTooLong.md) + +[updates.channelDifference](../constructors/updates.channelDifference.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->updates->getChannelDifference](../methods/updates.getChannelDifference.md) + + + diff --git a/old_docs/API_docs_v95/types/updates.Difference.md b/old_docs/API_docs_v95/types/updates.Difference.md new file mode 100644 index 00000000..0c1a1b6e --- /dev/null +++ b/old_docs/API_docs_v95/types/updates.Difference.md @@ -0,0 +1,28 @@ +--- +title: updates.Difference +description: constructors and methods of type updates.Difference +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: updates.Difference +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updates.differenceEmpty](../constructors/updates.differenceEmpty.md) + +[updates.difference](../constructors/updates.difference.md) + +[updates.differenceSlice](../constructors/updates.differenceSlice.md) + +[updates.differenceTooLong](../constructors/updates.differenceTooLong.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->updates->getDifference](../methods/updates.getDifference.md) + + + diff --git a/old_docs/API_docs_v95/types/updates.State.md b/old_docs/API_docs_v95/types/updates.State.md new file mode 100644 index 00000000..49bbb7fd --- /dev/null +++ b/old_docs/API_docs_v95/types/updates.State.md @@ -0,0 +1,22 @@ +--- +title: updates.State +description: constructors and methods of type updates.State +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: updates.State +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updates.state](../constructors/updates.state.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->updates->getState](../methods/updates.getState.md) + + + diff --git a/old_docs/API_docs_v95/types/updates_ChannelDifference.md b/old_docs/API_docs_v95/types/updates_ChannelDifference.md deleted file mode 100644 index dc988692..00000000 --- a/old_docs/API_docs_v95/types/updates_ChannelDifference.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: updates_ChannelDifference -description: constructors and methods of type updates_ChannelDifference -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: updates\_ChannelDifference -[Back to types index](index.md) - - - -### Possible values (constructors): - -[updates\_channelDifferenceEmpty](../constructors/updates_channelDifferenceEmpty.md) - -[updates\_channelDifferenceTooLong](../constructors/updates_channelDifferenceTooLong.md) - -[updates\_channelDifference](../constructors/updates_channelDifference.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->updates->getChannelDifference](../methods/updates_getChannelDifference.md) - - - diff --git a/old_docs/API_docs_v95/types/updates_Difference.md b/old_docs/API_docs_v95/types/updates_Difference.md deleted file mode 100644 index 50bb098e..00000000 --- a/old_docs/API_docs_v95/types/updates_Difference.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: updates_Difference -description: constructors and methods of type updates_Difference -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: updates\_Difference -[Back to types index](index.md) - - - -### Possible values (constructors): - -[updates\_differenceEmpty](../constructors/updates_differenceEmpty.md) - -[updates\_difference](../constructors/updates_difference.md) - -[updates\_differenceSlice](../constructors/updates_differenceSlice.md) - -[updates\_differenceTooLong](../constructors/updates_differenceTooLong.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->updates->getDifference](../methods/updates_getDifference.md) - - - diff --git a/old_docs/API_docs_v95/types/updates_State.md b/old_docs/API_docs_v95/types/updates_State.md deleted file mode 100644 index 7a441145..00000000 --- a/old_docs/API_docs_v95/types/updates_State.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: updates_State -description: constructors and methods of type updates_State -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: updates\_State -[Back to types index](index.md) - - - -### Possible values (constructors): - -[updates\_state](../constructors/updates_state.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->updates->getState](../methods/updates_getState.md) - - - diff --git a/old_docs/API_docs_v95/types/upload.CdnFile.md b/old_docs/API_docs_v95/types/upload.CdnFile.md new file mode 100644 index 00000000..396c4bf4 --- /dev/null +++ b/old_docs/API_docs_v95/types/upload.CdnFile.md @@ -0,0 +1,24 @@ +--- +title: upload.CdnFile +description: constructors and methods of type upload.CdnFile +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: upload.CdnFile +[Back to types index](index.md) + + + +### Possible values (constructors): + +[upload.cdnFileReuploadNeeded](../constructors/upload.cdnFileReuploadNeeded.md) + +[upload.cdnFile](../constructors/upload.cdnFile.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->upload->getCdnFile](../methods/upload.getCdnFile.md) + + + diff --git a/old_docs/API_docs_v95/types/upload.File.md b/old_docs/API_docs_v95/types/upload.File.md new file mode 100644 index 00000000..6963341b --- /dev/null +++ b/old_docs/API_docs_v95/types/upload.File.md @@ -0,0 +1,24 @@ +--- +title: upload.File +description: constructors and methods of type upload.File +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: upload.File +[Back to types index](index.md) + + + +### Possible values (constructors): + +[upload.file](../constructors/upload.file.md) + +[upload.fileCdnRedirect](../constructors/upload.fileCdnRedirect.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->upload->getFile](../methods/upload.getFile.md) + + + diff --git a/old_docs/API_docs_v95/types/upload.WebFile.md b/old_docs/API_docs_v95/types/upload.WebFile.md new file mode 100644 index 00000000..e834457b --- /dev/null +++ b/old_docs/API_docs_v95/types/upload.WebFile.md @@ -0,0 +1,22 @@ +--- +title: upload.WebFile +description: constructors and methods of type upload.WebFile +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: upload.WebFile +[Back to types index](index.md) + + + +### Possible values (constructors): + +[upload.webFile](../constructors/upload.webFile.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->upload->getWebFile](../methods/upload.getWebFile.md) + + + diff --git a/old_docs/API_docs_v95/types/upload_CdnFile.md b/old_docs/API_docs_v95/types/upload_CdnFile.md deleted file mode 100644 index 51ae2e68..00000000 --- a/old_docs/API_docs_v95/types/upload_CdnFile.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: upload_CdnFile -description: constructors and methods of type upload_CdnFile -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: upload\_CdnFile -[Back to types index](index.md) - - - -### Possible values (constructors): - -[upload\_cdnFileReuploadNeeded](../constructors/upload_cdnFileReuploadNeeded.md) - -[upload\_cdnFile](../constructors/upload_cdnFile.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->upload->getCdnFile](../methods/upload_getCdnFile.md) - - - diff --git a/old_docs/API_docs_v95/types/upload_File.md b/old_docs/API_docs_v95/types/upload_File.md deleted file mode 100644 index 00e0f9cb..00000000 --- a/old_docs/API_docs_v95/types/upload_File.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: upload_File -description: constructors and methods of type upload_File -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: upload\_File -[Back to types index](index.md) - - - -### Possible values (constructors): - -[upload\_file](../constructors/upload_file.md) - -[upload\_fileCdnRedirect](../constructors/upload_fileCdnRedirect.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->upload->getFile](../methods/upload_getFile.md) - - - diff --git a/old_docs/API_docs_v95/types/upload_WebFile.md b/old_docs/API_docs_v95/types/upload_WebFile.md deleted file mode 100644 index 9a86264f..00000000 --- a/old_docs/API_docs_v95/types/upload_WebFile.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: upload_WebFile -description: constructors and methods of type upload_WebFile -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: upload\_WebFile -[Back to types index](index.md) - - - -### Possible values (constructors): - -[upload\_webFile](../constructors/upload_webFile.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->upload->getWebFile](../methods/upload_getWebFile.md) - - - diff --git a/old_docs/API_docs_v97/constructors/README.md b/old_docs/API_docs_v97/constructors/README.md index af1e2755..d1f443db 100644 --- a/old_docs/API_docs_v97/constructors/README.md +++ b/old_docs/API_docs_v97/constructors/README.md @@ -9,60 +9,83 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ***

[$accessPointRule](../constructors/accessPointRule.md) = \['phone_prefix_rules' => [string](../types/string.md), 'dc_id' => [int](../types/int.md), 'ips' => \[[IpPort](../types/IpPort.md)\], \]; +*** +

[$account.authorizationForm](../constructors/account.authorizationForm.md) = \['required_types' => \[[SecureRequiredType](../types/SecureRequiredType.md)\], 'values' => \[[SecureValue](../types/SecureValue.md)\], 'errors' => \[[SecureValueError](../types/SecureValueError.md)\], 'users' => \[[User](../types/User.md)\], 'privacy_policy_url' => [string](../types/string.md), \]; + +*** +

[$account.authorizations](../constructors/account.authorizations.md) = \['authorizations' => \[[Authorization](../types/Authorization.md)\], \]; + +*** +

[$account.autoDownloadSettings](../constructors/account.autoDownloadSettings.md) = \['low' => [AutoDownloadSettings](../types/AutoDownloadSettings.md), 'medium' => [AutoDownloadSettings](../types/AutoDownloadSettings.md), 'high' => [AutoDownloadSettings](../types/AutoDownloadSettings.md), \]; + +*** +

[$account.password](../constructors/account.password.md) = \['has_recovery' => [Bool](../types/Bool.md), 'has_secure_values' => [Bool](../types/Bool.md), 'has_password' => [Bool](../types/Bool.md), 'current_algo' => [PasswordKdfAlgo](../types/PasswordKdfAlgo.md), 'srp_B' => [bytes](../types/bytes.md), 'srp_id' => [long](../types/long.md), 'hint' => [string](../types/string.md), 'email_unconfirmed_pattern' => [string](../types/string.md), 'new_algo' => [PasswordKdfAlgo](../types/PasswordKdfAlgo.md), 'new_secure_algo' => [SecurePasswordKdfAlgo](../types/SecurePasswordKdfAlgo.md), 'secure_random' => [bytes](../types/bytes.md), \]; + +*** +

[$account.passwordInputSettings](../constructors/account.passwordInputSettings.md) = \['new_algo' => [PasswordKdfAlgo](../types/PasswordKdfAlgo.md), 'new_password_hash' => [bytes](../types/bytes.md), 'hint' => [string](../types/string.md), 'email' => [string](../types/string.md), 'new_secure_settings' => [SecureSecretSettings](../types/SecureSecretSettings.md), \]; + +*** +

[$account.passwordSettings](../constructors/account.passwordSettings.md) = \['email' => [string](../types/string.md), 'secure_settings' => [SecureSecretSettings](../types/SecureSecretSettings.md), \]; + +*** +

[$account.privacyRules](../constructors/account.privacyRules.md) = \['rules' => \[[PrivacyRule](../types/PrivacyRule.md)\], 'users' => \[[User](../types/User.md)\], \]; + +*** +

[$account.sentEmailCode](../constructors/account.sentEmailCode.md) = \['email_pattern' => [string](../types/string.md), 'length' => [int](../types/int.md), \]; + +*** +

[$account.takeout](../constructors/account.takeout.md) = \['id' => [long](../types/long.md), \]; + +*** +

[$account.tmpPassword](../constructors/account.tmpPassword.md) = \['tmp_password' => [bytes](../types/bytes.md), 'valid_until' => [int](../types/int.md), \]; + +*** +

[$account.wallPapers](../constructors/account.wallPapers.md) = \['hash' => [int](../types/int.md), 'wallpapers' => \[[WallPaper](../types/WallPaper.md)\], \]; + +*** +

[$account.wallPapersNotModified](../constructors/account.wallPapersNotModified.md) = \[\]; + +*** +

[$account.webAuthorizations](../constructors/account.webAuthorizations.md) = \['authorizations' => \[[WebAuthorization](../types/WebAuthorization.md)\], 'users' => \[[User](../types/User.md)\], \]; + ***

[$accountDaysTTL](../constructors/accountDaysTTL.md) = \['days' => [int](../types/int.md), \]; *** -

[$account\_authorizationForm](../constructors/account_authorizationForm.md) = \['required_types' => \[[SecureRequiredType](../types/SecureRequiredType.md)\], 'values' => \[[SecureValue](../types/SecureValue.md)\], 'errors' => \[[SecureValueError](../types/SecureValueError.md)\], 'users' => \[[User](../types/User.md)\], 'privacy_policy_url' => [string](../types/string.md), \]; - -[$account\_authorizations](../constructors/account_authorizations.md) = \['authorizations' => \[[Authorization](../types/Authorization.md)\], \]; - -[$account\_autoDownloadSettings](../constructors/account_autoDownloadSettings.md) = \['low' => [AutoDownloadSettings](../types/AutoDownloadSettings.md), 'medium' => [AutoDownloadSettings](../types/AutoDownloadSettings.md), 'high' => [AutoDownloadSettings](../types/AutoDownloadSettings.md), \]; - -[$account\_password](../constructors/account_password.md) = \['has_recovery' => [Bool](../types/Bool.md), 'has_secure_values' => [Bool](../types/Bool.md), 'has_password' => [Bool](../types/Bool.md), 'current_algo' => [PasswordKdfAlgo](../types/PasswordKdfAlgo.md), 'srp_B' => [bytes](../types/bytes.md), 'srp_id' => [long](../types/long.md), 'hint' => [string](../types/string.md), 'email_unconfirmed_pattern' => [string](../types/string.md), 'new_algo' => [PasswordKdfAlgo](../types/PasswordKdfAlgo.md), 'new_secure_algo' => [SecurePasswordKdfAlgo](../types/SecurePasswordKdfAlgo.md), 'secure_random' => [bytes](../types/bytes.md), \]; - -[$account\_passwordInputSettings](../constructors/account_passwordInputSettings.md) = \['new_algo' => [PasswordKdfAlgo](../types/PasswordKdfAlgo.md), 'new_password_hash' => [bytes](../types/bytes.md), 'hint' => [string](../types/string.md), 'email' => [string](../types/string.md), 'new_secure_settings' => [SecureSecretSettings](../types/SecureSecretSettings.md), \]; - -[$account\_passwordSettings](../constructors/account_passwordSettings.md) = \['email' => [string](../types/string.md), 'secure_settings' => [SecureSecretSettings](../types/SecureSecretSettings.md), \]; - -[$account\_privacyRules](../constructors/account_privacyRules.md) = \['rules' => \[[PrivacyRule](../types/PrivacyRule.md)\], 'users' => \[[User](../types/User.md)\], \]; - -[$account\_sentEmailCode](../constructors/account_sentEmailCode.md) = \['email_pattern' => [string](../types/string.md), 'length' => [int](../types/int.md), \]; - -[$account\_takeout](../constructors/account_takeout.md) = \['id' => [long](../types/long.md), \]; - -[$account\_tmpPassword](../constructors/account_tmpPassword.md) = \['tmp_password' => [bytes](../types/bytes.md), 'valid_until' => [int](../types/int.md), \]; - -[$account\_wallPapers](../constructors/account_wallPapers.md) = \['hash' => [int](../types/int.md), 'wallpapers' => \[[WallPaper](../types/WallPaper.md)\], \]; - -[$account\_wallPapersNotModified](../constructors/account_wallPapersNotModified.md) = \[\]; - -[$account\_webAuthorizations](../constructors/account_webAuthorizations.md) = \['authorizations' => \[[WebAuthorization](../types/WebAuthorization.md)\], 'users' => \[[User](../types/User.md)\], \]; +

[$auth.authorization](../constructors/auth.authorization.md) = \['tmp_sessions' => [int](../types/int.md), 'user' => [User](../types/User.md), \]; *** -

[$auth\_authorization](../constructors/auth_authorization.md) = \['tmp_sessions' => [int](../types/int.md), 'user' => [User](../types/User.md), \]; +

[$auth.checkedPhone](../constructors/auth.checkedPhone.md) = \['phone_registered' => [Bool](../types/Bool.md), \]; -[$auth\_checkedPhone](../constructors/auth_checkedPhone.md) = \['phone_registered' => [Bool](../types/Bool.md), \]; +*** +

[$auth.codeTypeCall](../constructors/auth.codeTypeCall.md) = \[\]; -[$auth\_codeTypeCall](../constructors/auth_codeTypeCall.md) = \[\]; +*** +

[$auth.codeTypeFlashCall](../constructors/auth.codeTypeFlashCall.md) = \[\]; -[$auth\_codeTypeFlashCall](../constructors/auth_codeTypeFlashCall.md) = \[\]; +*** +

[$auth.codeTypeSms](../constructors/auth.codeTypeSms.md) = \[\]; -[$auth\_codeTypeSms](../constructors/auth_codeTypeSms.md) = \[\]; +*** +

[$auth.exportedAuthorization](../constructors/auth.exportedAuthorization.md) = \['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; -[$auth\_exportedAuthorization](../constructors/auth_exportedAuthorization.md) = \['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; +*** +

[$auth.passwordRecovery](../constructors/auth.passwordRecovery.md) = \['email_pattern' => [string](../types/string.md), \]; -[$auth\_passwordRecovery](../constructors/auth_passwordRecovery.md) = \['email_pattern' => [string](../types/string.md), \]; +*** +

[$auth.sentCode](../constructors/auth.sentCode.md) = \['phone_registered' => [Bool](../types/Bool.md), 'type' => [auth.SentCodeType](../types/auth.SentCodeType.md), 'phone_code_hash' => [string](../types/string.md), 'next_type' => [auth.CodeType](../types/auth.CodeType.md), 'timeout' => [int](../types/int.md), 'terms_of_service' => [help.TermsOfService](../types/help.TermsOfService.md), \]; -[$auth\_sentCode](../constructors/auth_sentCode.md) = \['phone_registered' => [Bool](../types/Bool.md), 'type' => [auth.SentCodeType](../types/auth.SentCodeType.md), 'phone_code_hash' => [string](../types/string.md), 'next_type' => [auth.CodeType](../types/auth.CodeType.md), 'timeout' => [int](../types/int.md), 'terms_of_service' => [help.TermsOfService](../types/help.TermsOfService.md), \]; +*** +

[$auth.sentCodeTypeApp](../constructors/auth.sentCodeTypeApp.md) = \['length' => [int](../types/int.md), \]; -[$auth\_sentCodeTypeApp](../constructors/auth_sentCodeTypeApp.md) = \['length' => [int](../types/int.md), \]; +*** +

[$auth.sentCodeTypeCall](../constructors/auth.sentCodeTypeCall.md) = \['length' => [int](../types/int.md), \]; -[$auth\_sentCodeTypeCall](../constructors/auth_sentCodeTypeCall.md) = \['length' => [int](../types/int.md), \]; +*** +

[$auth.sentCodeTypeFlashCall](../constructors/auth.sentCodeTypeFlashCall.md) = \['pattern' => [string](../types/string.md), \]; -[$auth\_sentCodeTypeFlashCall](../constructors/auth_sentCodeTypeFlashCall.md) = \['pattern' => [string](../types/string.md), \]; - -[$auth\_sentCodeTypeSms](../constructors/auth_sentCodeTypeSms.md) = \['length' => [int](../types/int.md), \]; +*** +

[$auth.sentCodeTypeSms](../constructors/auth.sentCodeTypeSms.md) = \['length' => [int](../types/int.md), \]; ***

[$authorization](../constructors/authorization.md) = \['current' => [Bool](../types/Bool.md), 'official_app' => [Bool](../types/Bool.md), 'password_pending' => [Bool](../types/Bool.md), 'hash' => [long](../types/long.md), 'device_model' => [string](../types/string.md), 'platform' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'api_id' => [int](../types/int.md), 'app_name' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'date_created' => [int](../types/int.md), 'date_active' => [int](../types/int.md), 'ip' => [string](../types/string.md), 'country' => [string](../types/string.md), 'region' => [string](../types/string.md), \]; @@ -221,13 +244,16 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$channelParticipantsSearch](../constructors/channelParticipantsSearch.md) = \['q' => [string](../types/string.md), \]; *** -

[$channels\_adminLogResults](../constructors/channels_adminLogResults.md) = \['events' => \[[ChannelAdminLogEvent](../types/ChannelAdminLogEvent.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +

[$channels.adminLogResults](../constructors/channels.adminLogResults.md) = \['events' => \[[ChannelAdminLogEvent](../types/ChannelAdminLogEvent.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$channels\_channelParticipant](../constructors/channels_channelParticipant.md) = \['participant' => [ChannelParticipant](../types/ChannelParticipant.md), 'users' => \[[User](../types/User.md)\], \]; +*** +

[$channels.channelParticipant](../constructors/channels.channelParticipant.md) = \['participant' => [ChannelParticipant](../types/ChannelParticipant.md), 'users' => \[[User](../types/User.md)\], \]; -[$channels\_channelParticipants](../constructors/channels_channelParticipants.md) = \['count' => [int](../types/int.md), 'participants' => \[[ChannelParticipant](../types/ChannelParticipant.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$channels.channelParticipants](../constructors/channels.channelParticipants.md) = \['count' => [int](../types/int.md), 'participants' => \[[ChannelParticipant](../types/ChannelParticipant.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$channels\_channelParticipantsNotModified](../constructors/channels_channelParticipantsNotModified.md) = \[\]; +*** +

[$channels.channelParticipantsNotModified](../constructors/channels.channelParticipantsNotModified.md) = \[\]; ***

[$chat](../constructors/chat.md) = \['creator' => [Bool](../types/Bool.md), 'kicked' => [Bool](../types/Bool.md), 'left' => [Bool](../types/Bool.md), 'deactivated' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'title' => [string](../types/string.md), 'photo' => [ChatPhoto](../types/ChatPhoto.md), 'participants_count' => [int](../types/int.md), 'date' => [int](../types/int.md), 'version' => [int](../types/int.md), 'migrated_to' => [InputChannel](../types/InputChannel.md), 'admin_rights' => [ChatAdminRights](../types/ChatAdminRights.md), 'default_banned_rights' => [ChatBannedRights](../types/ChatBannedRights.md), \]; @@ -311,27 +337,37 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$contactStatus](../constructors/contactStatus.md) = \['user_id' => [int](../types/int.md), 'status' => [UserStatus](../types/UserStatus.md), \]; *** -

[$contacts\_blocked](../constructors/contacts_blocked.md) = \['blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; +

[$contacts.blocked](../constructors/contacts.blocked.md) = \['blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_blockedSlice](../constructors/contacts_blockedSlice.md) = \['count' => [int](../types/int.md), 'blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.blockedSlice](../constructors/contacts.blockedSlice.md) = \['count' => [int](../types/int.md), 'blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_contacts](../constructors/contacts_contacts.md) = \['contacts' => \[[Contact](../types/Contact.md)\], 'saved_count' => [int](../types/int.md), 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.contacts](../constructors/contacts.contacts.md) = \['contacts' => \[[Contact](../types/Contact.md)\], 'saved_count' => [int](../types/int.md), 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_contactsNotModified](../constructors/contacts_contactsNotModified.md) = \[\]; +*** +

[$contacts.contactsNotModified](../constructors/contacts.contactsNotModified.md) = \[\]; -[$contacts\_found](../constructors/contacts_found.md) = \['my_results' => \[[Peer](../types/Peer.md)\], 'results' => \[[Peer](../types/Peer.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.found](../constructors/contacts.found.md) = \['my_results' => \[[Peer](../types/Peer.md)\], 'results' => \[[Peer](../types/Peer.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_importedContacts](../constructors/contacts_importedContacts.md) = \['imported' => \[[ImportedContact](../types/ImportedContact.md)\], 'popular_invites' => \[[PopularContact](../types/PopularContact.md)\], 'retry_contacts' => \[[long](../types/long.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.importedContacts](../constructors/contacts.importedContacts.md) = \['imported' => \[[ImportedContact](../types/ImportedContact.md)\], 'popular_invites' => \[[PopularContact](../types/PopularContact.md)\], 'retry_contacts' => \[[long](../types/long.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_link](../constructors/contacts_link.md) = \['my_link' => [ContactLink](../types/ContactLink.md), 'foreign_link' => [ContactLink](../types/ContactLink.md), 'user' => [User](../types/User.md), \]; +*** +

[$contacts.link](../constructors/contacts.link.md) = \['my_link' => [ContactLink](../types/ContactLink.md), 'foreign_link' => [ContactLink](../types/ContactLink.md), 'user' => [User](../types/User.md), \]; -[$contacts\_resolvedPeer](../constructors/contacts_resolvedPeer.md) = \['peer' => [Peer](../types/Peer.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.resolvedPeer](../constructors/contacts.resolvedPeer.md) = \['peer' => [Peer](../types/Peer.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_topPeers](../constructors/contacts_topPeers.md) = \['categories' => \[[TopPeerCategoryPeers](../types/TopPeerCategoryPeers.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$contacts.topPeers](../constructors/contacts.topPeers.md) = \['categories' => \[[TopPeerCategoryPeers](../types/TopPeerCategoryPeers.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$contacts\_topPeersDisabled](../constructors/contacts_topPeersDisabled.md) = \[\]; +*** +

[$contacts.topPeersDisabled](../constructors/contacts.topPeersDisabled.md) = \[\]; -[$contacts\_topPeersNotModified](../constructors/contacts_topPeersNotModified.md) = \[\]; +*** +

[$contacts.topPeersNotModified](../constructors/contacts.topPeersNotModified.md) = \[\]; ***

[$dataJSON](../constructors/dataJSON.md) = \['data' => [string](../types/string.md), \]; @@ -448,41 +484,58 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$geoPointEmpty](../constructors/geoPointEmpty.md) = \[\]; *** -

[$help\_appUpdate](../constructors/help_appUpdate.md) = \['popup' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'version' => [string](../types/string.md), 'text' => [string](../types/string.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], 'document' => [Document](../types/Document.md), 'url' => [string](../types/string.md), \]; +

[$help.appUpdate](../constructors/help.appUpdate.md) = \['popup' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'version' => [string](../types/string.md), 'text' => [string](../types/string.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], 'document' => [Document](../types/Document.md), 'url' => [string](../types/string.md), \]; -[$help\_configSimple](../constructors/help_configSimple.md) = \['date' => [int](../types/int.md), 'expires' => [int](../types/int.md), 'rules' => \[[AccessPointRule](../types/AccessPointRule.md)\], \]; +*** +

[$help.configSimple](../constructors/help.configSimple.md) = \['date' => [int](../types/int.md), 'expires' => [int](../types/int.md), 'rules' => \[[AccessPointRule](../types/AccessPointRule.md)\], \]; -[$help\_deepLinkInfo](../constructors/help_deepLinkInfo.md) = \['update_app' => [Bool](../types/Bool.md), 'message' => [string](../types/string.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], \]; +*** +

[$help.deepLinkInfo](../constructors/help.deepLinkInfo.md) = \['update_app' => [Bool](../types/Bool.md), 'message' => [string](../types/string.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], \]; -[$help\_deepLinkInfoEmpty](../constructors/help_deepLinkInfoEmpty.md) = \[\]; +*** +

[$help.deepLinkInfoEmpty](../constructors/help.deepLinkInfoEmpty.md) = \[\]; -[$help\_inviteText](../constructors/help_inviteText.md) = \['message' => [string](../types/string.md), \]; +*** +

[$help.inviteText](../constructors/help.inviteText.md) = \['message' => [string](../types/string.md), \]; -[$help\_noAppUpdate](../constructors/help_noAppUpdate.md) = \[\]; +*** +

[$help.noAppUpdate](../constructors/help.noAppUpdate.md) = \[\]; -[$help\_passportConfig](../constructors/help_passportConfig.md) = \['hash' => [int](../types/int.md), 'countries_langs' => [DataJSON](../types/DataJSON.md), \]; +*** +

[$help.passportConfig](../constructors/help.passportConfig.md) = \['hash' => [int](../types/int.md), 'countries_langs' => [DataJSON](../types/DataJSON.md), \]; -[$help\_passportConfigNotModified](../constructors/help_passportConfigNotModified.md) = \[\]; +*** +

[$help.passportConfigNotModified](../constructors/help.passportConfigNotModified.md) = \[\]; -[$help\_proxyDataEmpty](../constructors/help_proxyDataEmpty.md) = \['expires' => [int](../types/int.md), \]; +*** +

[$help.proxyDataEmpty](../constructors/help.proxyDataEmpty.md) = \['expires' => [int](../types/int.md), \]; -[$help\_proxyDataPromo](../constructors/help_proxyDataPromo.md) = \['expires' => [int](../types/int.md), 'peer' => [Peer](../types/Peer.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$help.proxyDataPromo](../constructors/help.proxyDataPromo.md) = \['expires' => [int](../types/int.md), 'peer' => [Peer](../types/Peer.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$help\_recentMeUrls](../constructors/help_recentMeUrls.md) = \['urls' => \[[RecentMeUrl](../types/RecentMeUrl.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$help.recentMeUrls](../constructors/help.recentMeUrls.md) = \['urls' => \[[RecentMeUrl](../types/RecentMeUrl.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$help\_support](../constructors/help_support.md) = \['phone_number' => [string](../types/string.md), 'user' => [User](../types/User.md), \]; +*** +

[$help.support](../constructors/help.support.md) = \['phone_number' => [string](../types/string.md), 'user' => [User](../types/User.md), \]; -[$help\_supportName](../constructors/help_supportName.md) = \['name' => [string](../types/string.md), \]; +*** +

[$help.supportName](../constructors/help.supportName.md) = \['name' => [string](../types/string.md), \]; -[$help\_termsOfService](../constructors/help_termsOfService.md) = \['popup' => [Bool](../types/Bool.md), 'id' => [DataJSON](../types/DataJSON.md), 'text' => [string](../types/string.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], 'min_age_confirm' => [int](../types/int.md), \]; +*** +

[$help.termsOfService](../constructors/help.termsOfService.md) = \['popup' => [Bool](../types/Bool.md), 'id' => [DataJSON](../types/DataJSON.md), 'text' => [string](../types/string.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], 'min_age_confirm' => [int](../types/int.md), \]; -[$help\_termsOfServiceUpdate](../constructors/help_termsOfServiceUpdate.md) = \['expires' => [int](../types/int.md), 'terms_of_service' => [help.TermsOfService](../types/help.TermsOfService.md), \]; +*** +

[$help.termsOfServiceUpdate](../constructors/help.termsOfServiceUpdate.md) = \['expires' => [int](../types/int.md), 'terms_of_service' => [help.TermsOfService](../types/help.TermsOfService.md), \]; -[$help\_termsOfServiceUpdateEmpty](../constructors/help_termsOfServiceUpdateEmpty.md) = \['expires' => [int](../types/int.md), \]; +*** +

[$help.termsOfServiceUpdateEmpty](../constructors/help.termsOfServiceUpdateEmpty.md) = \['expires' => [int](../types/int.md), \]; -[$help\_userInfo](../constructors/help_userInfo.md) = \['message' => [string](../types/string.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], 'author' => [string](../types/string.md), 'date' => [int](../types/int.md), \]; +*** +

[$help.userInfo](../constructors/help.userInfo.md) = \['message' => [string](../types/string.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], 'author' => [string](../types/string.md), 'date' => [int](../types/int.md), \]; -[$help\_userInfoEmpty](../constructors/help_userInfoEmpty.md) = \[\]; +*** +

[$help.userInfoEmpty](../constructors/help.userInfoEmpty.md) = \[\]; ***

[$highScore](../constructors/highScore.md) = \['pos' => [int](../types/int.md), 'user_id' => [int](../types/int.md), 'score' => [int](../types/int.md), \]; @@ -1118,85 +1171,124 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$messageService](../constructors/messageService.md) = \['out' => [Bool](../types/Bool.md), 'mentioned' => [Bool](../types/Bool.md), 'media_unread' => [Bool](../types/Bool.md), 'silent' => [Bool](../types/Bool.md), 'post' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'from_id' => [int](../types/int.md), 'to_id' => [Peer](../types/Peer.md), 'reply_to_msg_id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'action' => [MessageAction](../types/MessageAction.md), \]; *** -

[$messages\_affectedHistory](../constructors/messages_affectedHistory.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), 'offset' => [int](../types/int.md), \]; +

[$messages.affectedHistory](../constructors/messages.affectedHistory.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), 'offset' => [int](../types/int.md), \]; -[$messages\_affectedMessages](../constructors/messages_affectedMessages.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; +*** +

[$messages.affectedMessages](../constructors/messages.affectedMessages.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; -[$messages\_allStickers](../constructors/messages_allStickers.md) = \['hash' => [int](../types/int.md), 'sets' => \[[StickerSet](../types/StickerSet.md)\], \]; +*** +

[$messages.allStickers](../constructors/messages.allStickers.md) = \['hash' => [int](../types/int.md), 'sets' => \[[StickerSet](../types/StickerSet.md)\], \]; -[$messages\_allStickersNotModified](../constructors/messages_allStickersNotModified.md) = \[\]; +*** +

[$messages.allStickersNotModified](../constructors/messages.allStickersNotModified.md) = \[\]; -[$messages\_archivedStickers](../constructors/messages_archivedStickers.md) = \['count' => [int](../types/int.md), 'sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], \]; +*** +

[$messages.archivedStickers](../constructors/messages.archivedStickers.md) = \['count' => [int](../types/int.md), 'sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], \]; -[$messages\_botCallbackAnswer](../constructors/messages_botCallbackAnswer.md) = \['alert' => [Bool](../types/Bool.md), 'has_url' => [Bool](../types/Bool.md), 'native_ui' => [Bool](../types/Bool.md), 'message' => [string](../types/string.md), 'url' => [string](../types/string.md), 'cache_time' => [int](../types/int.md), \]; +*** +

[$messages.botCallbackAnswer](../constructors/messages.botCallbackAnswer.md) = \['alert' => [Bool](../types/Bool.md), 'has_url' => [Bool](../types/Bool.md), 'native_ui' => [Bool](../types/Bool.md), 'message' => [string](../types/string.md), 'url' => [string](../types/string.md), 'cache_time' => [int](../types/int.md), \]; -[$messages\_botResults](../constructors/messages_botResults.md) = \['gallery' => [Bool](../types/Bool.md), 'query_id' => [long](../types/long.md), 'next_offset' => [string](../types/string.md), 'switch_pm' => [InlineBotSwitchPM](../types/InlineBotSwitchPM.md), 'results' => \[[BotInlineResult](../types/BotInlineResult.md)\], 'cache_time' => [int](../types/int.md), 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.botResults](../constructors/messages.botResults.md) = \['gallery' => [Bool](../types/Bool.md), 'query_id' => [long](../types/long.md), 'next_offset' => [string](../types/string.md), 'switch_pm' => [InlineBotSwitchPM](../types/InlineBotSwitchPM.md), 'results' => \[[BotInlineResult](../types/BotInlineResult.md)\], 'cache_time' => [int](../types/int.md), 'users' => \[[User](../types/User.md)\], \]; -[$messages\_channelMessages](../constructors/messages_channelMessages.md) = \['inexact' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.channelMessages](../constructors/messages.channelMessages.md) = \['inexact' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_chatFull](../constructors/messages_chatFull.md) = \['full_chat' => [ChatFull](../types/ChatFull.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.chatFull](../constructors/messages.chatFull.md) = \['full_chat' => [ChatFull](../types/ChatFull.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_chats](../constructors/messages_chats.md) = \['chats' => \[[Chat](../types/Chat.md)\], \]; +*** +

[$messages.chats](../constructors/messages.chats.md) = \['chats' => \[[Chat](../types/Chat.md)\], \]; -[$messages\_chatsSlice](../constructors/messages_chatsSlice.md) = \['count' => [int](../types/int.md), 'chats' => \[[Chat](../types/Chat.md)\], \]; +*** +

[$messages.chatsSlice](../constructors/messages.chatsSlice.md) = \['count' => [int](../types/int.md), 'chats' => \[[Chat](../types/Chat.md)\], \]; -[$messages\_dhConfig](../constructors/messages_dhConfig.md) = \['g' => [int](../types/int.md), 'p' => [bytes](../types/bytes.md), 'version' => [int](../types/int.md), 'random' => [bytes](../types/bytes.md), \]; +*** +

[$messages.dhConfig](../constructors/messages.dhConfig.md) = \['g' => [int](../types/int.md), 'p' => [bytes](../types/bytes.md), 'version' => [int](../types/int.md), 'random' => [bytes](../types/bytes.md), \]; -[$messages\_dhConfigNotModified](../constructors/messages_dhConfigNotModified.md) = \['random' => [bytes](../types/bytes.md), \]; +*** +

[$messages.dhConfigNotModified](../constructors/messages.dhConfigNotModified.md) = \['random' => [bytes](../types/bytes.md), \]; -[$messages\_dialogs](../constructors/messages_dialogs.md) = \['dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.dialogs](../constructors/messages.dialogs.md) = \['dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_dialogsNotModified](../constructors/messages_dialogsNotModified.md) = \['count' => [int](../types/int.md), \]; +*** +

[$messages.dialogsNotModified](../constructors/messages.dialogsNotModified.md) = \['count' => [int](../types/int.md), \]; -[$messages\_dialogsSlice](../constructors/messages_dialogsSlice.md) = \['count' => [int](../types/int.md), 'dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.dialogsSlice](../constructors/messages.dialogsSlice.md) = \['count' => [int](../types/int.md), 'dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_favedStickers](../constructors/messages_favedStickers.md) = \['hash' => [int](../types/int.md), 'packs' => \[[StickerPack](../types/StickerPack.md)\], 'stickers' => \[[Document](../types/Document.md)\], \]; +*** +

[$messages.favedStickers](../constructors/messages.favedStickers.md) = \['hash' => [int](../types/int.md), 'packs' => \[[StickerPack](../types/StickerPack.md)\], 'stickers' => \[[Document](../types/Document.md)\], \]; -[$messages\_favedStickersNotModified](../constructors/messages_favedStickersNotModified.md) = \[\]; +*** +

[$messages.favedStickersNotModified](../constructors/messages.favedStickersNotModified.md) = \[\]; -[$messages\_featuredStickers](../constructors/messages_featuredStickers.md) = \['hash' => [int](../types/int.md), 'sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], 'unread' => \[[long](../types/long.md)\], \]; +*** +

[$messages.featuredStickers](../constructors/messages.featuredStickers.md) = \['hash' => [int](../types/int.md), 'sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], 'unread' => \[[long](../types/long.md)\], \]; -[$messages\_featuredStickersNotModified](../constructors/messages_featuredStickersNotModified.md) = \[\]; +*** +

[$messages.featuredStickersNotModified](../constructors/messages.featuredStickersNotModified.md) = \[\]; -[$messages\_foundGifs](../constructors/messages_foundGifs.md) = \['next_offset' => [int](../types/int.md), 'results' => \[[FoundGif](../types/FoundGif.md)\], \]; +*** +

[$messages.foundGifs](../constructors/messages.foundGifs.md) = \['next_offset' => [int](../types/int.md), 'results' => \[[FoundGif](../types/FoundGif.md)\], \]; -[$messages\_foundStickerSets](../constructors/messages_foundStickerSets.md) = \['hash' => [int](../types/int.md), 'sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], \]; +*** +

[$messages.foundStickerSets](../constructors/messages.foundStickerSets.md) = \['hash' => [int](../types/int.md), 'sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], \]; -[$messages\_foundStickerSetsNotModified](../constructors/messages_foundStickerSetsNotModified.md) = \[\]; +*** +

[$messages.foundStickerSetsNotModified](../constructors/messages.foundStickerSetsNotModified.md) = \[\]; -[$messages\_highScores](../constructors/messages_highScores.md) = \['scores' => \[[HighScore](../types/HighScore.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.highScores](../constructors/messages.highScores.md) = \['scores' => \[[HighScore](../types/HighScore.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_messageEditData](../constructors/messages_messageEditData.md) = \['caption' => [Bool](../types/Bool.md), \]; +*** +

[$messages.messageEditData](../constructors/messages.messageEditData.md) = \['caption' => [Bool](../types/Bool.md), \]; -[$messages\_messages](../constructors/messages_messages.md) = \['messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.messages](../constructors/messages.messages.md) = \['messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_messagesNotModified](../constructors/messages_messagesNotModified.md) = \['count' => [int](../types/int.md), \]; +*** +

[$messages.messagesNotModified](../constructors/messages.messagesNotModified.md) = \['count' => [int](../types/int.md), \]; -[$messages\_messagesSlice](../constructors/messages_messagesSlice.md) = \['inexact' => [Bool](../types/Bool.md), 'count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$messages.messagesSlice](../constructors/messages.messagesSlice.md) = \['inexact' => [Bool](../types/Bool.md), 'count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$messages\_peerDialogs](../constructors/messages_peerDialogs.md) = \['dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'state' => [updates.State](../types/updates.State.md), \]; +*** +

[$messages.peerDialogs](../constructors/messages.peerDialogs.md) = \['dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'state' => [updates.State](../types/updates.State.md), \]; -[$messages\_recentStickers](../constructors/messages_recentStickers.md) = \['hash' => [int](../types/int.md), 'packs' => \[[StickerPack](../types/StickerPack.md)\], 'stickers' => \[[Document](../types/Document.md)\], 'dates' => \[[int](../types/int.md)\], \]; +*** +

[$messages.recentStickers](../constructors/messages.recentStickers.md) = \['hash' => [int](../types/int.md), 'packs' => \[[StickerPack](../types/StickerPack.md)\], 'stickers' => \[[Document](../types/Document.md)\], 'dates' => \[[int](../types/int.md)\], \]; -[$messages\_recentStickersNotModified](../constructors/messages_recentStickersNotModified.md) = \[\]; +*** +

[$messages.recentStickersNotModified](../constructors/messages.recentStickersNotModified.md) = \[\]; -[$messages\_savedGifs](../constructors/messages_savedGifs.md) = \['hash' => [int](../types/int.md), 'gifs' => \[[Document](../types/Document.md)\], \]; +*** +

[$messages.savedGifs](../constructors/messages.savedGifs.md) = \['hash' => [int](../types/int.md), 'gifs' => \[[Document](../types/Document.md)\], \]; -[$messages\_savedGifsNotModified](../constructors/messages_savedGifsNotModified.md) = \[\]; +*** +

[$messages.savedGifsNotModified](../constructors/messages.savedGifsNotModified.md) = \[\]; -[$messages\_sentEncryptedFile](../constructors/messages_sentEncryptedFile.md) = \['date' => [int](../types/int.md), 'file' => [EncryptedFile](../types/EncryptedFile.md), \]; +*** +

[$messages.sentEncryptedFile](../constructors/messages.sentEncryptedFile.md) = \['date' => [int](../types/int.md), 'file' => [EncryptedFile](../types/EncryptedFile.md), \]; -[$messages\_sentEncryptedMessage](../constructors/messages_sentEncryptedMessage.md) = \['date' => [int](../types/int.md), \]; +*** +

[$messages.sentEncryptedMessage](../constructors/messages.sentEncryptedMessage.md) = \['date' => [int](../types/int.md), \]; -[$messages\_stickerSet](../constructors/messages_stickerSet.md) = \['set' => [StickerSet](../types/StickerSet.md), 'packs' => \[[StickerPack](../types/StickerPack.md)\], 'documents' => \[[Document](../types/Document.md)\], \]; +*** +

[$messages.stickerSet](../constructors/messages.stickerSet.md) = \['set' => [StickerSet](../types/StickerSet.md), 'packs' => \[[StickerPack](../types/StickerPack.md)\], 'documents' => \[[Document](../types/Document.md)\], \]; -[$messages\_stickerSetInstallResultArchive](../constructors/messages_stickerSetInstallResultArchive.md) = \['sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], \]; +*** +

[$messages.stickerSetInstallResultArchive](../constructors/messages.stickerSetInstallResultArchive.md) = \['sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], \]; -[$messages\_stickerSetInstallResultSuccess](../constructors/messages_stickerSetInstallResultSuccess.md) = \[\]; +*** +

[$messages.stickerSetInstallResultSuccess](../constructors/messages.stickerSetInstallResultSuccess.md) = \[\]; -[$messages\_stickers](../constructors/messages_stickers.md) = \['hash' => [int](../types/int.md), 'stickers' => \[[Document](../types/Document.md)\], \]; +*** +

[$messages.stickers](../constructors/messages.stickers.md) = \['hash' => [int](../types/int.md), 'stickers' => \[[Document](../types/Document.md)\], \]; -[$messages\_stickersNotModified](../constructors/messages_stickersNotModified.md) = \[\]; +*** +

[$messages.stickersNotModified](../constructors/messages.stickersNotModified.md) = \[\]; ***

[$nearestDc](../constructors/nearestDc.md) = \['country' => [string](../types/string.md), 'this_dc' => [int](../types/int.md), 'nearest_dc' => [int](../types/int.md), \]; @@ -1346,17 +1438,22 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$paymentSavedCredentialsCard](../constructors/paymentSavedCredentialsCard.md) = \['id' => [string](../types/string.md), 'title' => [string](../types/string.md), \]; *** -

[$payments\_paymentForm](../constructors/payments_paymentForm.md) = \['can_save_credentials' => [Bool](../types/Bool.md), 'password_missing' => [Bool](../types/Bool.md), 'bot_id' => [int](../types/int.md), 'invoice' => [Invoice](../types/Invoice.md), 'provider_id' => [int](../types/int.md), 'url' => [string](../types/string.md), 'native_provider' => [string](../types/string.md), 'native_params' => [DataJSON](../types/DataJSON.md), 'saved_info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), 'saved_credentials' => [PaymentSavedCredentials](../types/PaymentSavedCredentials.md), 'users' => \[[User](../types/User.md)\], \]; +

[$payments.paymentForm](../constructors/payments.paymentForm.md) = \['can_save_credentials' => [Bool](../types/Bool.md), 'password_missing' => [Bool](../types/Bool.md), 'bot_id' => [int](../types/int.md), 'invoice' => [Invoice](../types/Invoice.md), 'provider_id' => [int](../types/int.md), 'url' => [string](../types/string.md), 'native_provider' => [string](../types/string.md), 'native_params' => [DataJSON](../types/DataJSON.md), 'saved_info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), 'saved_credentials' => [PaymentSavedCredentials](../types/PaymentSavedCredentials.md), 'users' => \[[User](../types/User.md)\], \]; -[$payments\_paymentReceipt](../constructors/payments_paymentReceipt.md) = \['date' => [int](../types/int.md), 'bot_id' => [int](../types/int.md), 'invoice' => [Invoice](../types/Invoice.md), 'provider_id' => [int](../types/int.md), 'info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), 'shipping' => [ShippingOption](../types/ShippingOption.md), 'currency' => [string](../types/string.md), 'total_amount' => [long](../types/long.md), 'credentials_title' => [string](../types/string.md), 'users' => \[[User](../types/User.md)\], \]; +*** +

[$payments.paymentReceipt](../constructors/payments.paymentReceipt.md) = \['date' => [int](../types/int.md), 'bot_id' => [int](../types/int.md), 'invoice' => [Invoice](../types/Invoice.md), 'provider_id' => [int](../types/int.md), 'info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), 'shipping' => [ShippingOption](../types/ShippingOption.md), 'currency' => [string](../types/string.md), 'total_amount' => [long](../types/long.md), 'credentials_title' => [string](../types/string.md), 'users' => \[[User](../types/User.md)\], \]; -[$payments\_paymentResult](../constructors/payments_paymentResult.md) = \['updates' => [Updates](../types/Updates.md), \]; +*** +

[$payments.paymentResult](../constructors/payments.paymentResult.md) = \['updates' => [Updates](../types/Updates.md), \]; -[$payments\_paymentVerficationNeeded](../constructors/payments_paymentVerficationNeeded.md) = \['url' => [string](../types/string.md), \]; +*** +

[$payments.paymentVerficationNeeded](../constructors/payments.paymentVerficationNeeded.md) = \['url' => [string](../types/string.md), \]; -[$payments\_savedInfo](../constructors/payments_savedInfo.md) = \['has_saved_credentials' => [Bool](../types/Bool.md), 'saved_info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), \]; +*** +

[$payments.savedInfo](../constructors/payments.savedInfo.md) = \['has_saved_credentials' => [Bool](../types/Bool.md), 'saved_info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), \]; -[$payments\_validatedRequestedInfo](../constructors/payments_validatedRequestedInfo.md) = \['id' => [string](../types/string.md), 'shipping_options' => \[[ShippingOption](../types/ShippingOption.md)\], \]; +*** +

[$payments.validatedRequestedInfo](../constructors/payments.validatedRequestedInfo.md) = \['id' => [string](../types/string.md), 'shipping_options' => \[[ShippingOption](../types/ShippingOption.md)\], \]; ***

[$peerChannel](../constructors/peerChannel.md) = \['channel_id' => [int](../types/int.md), \]; @@ -1373,6 +1470,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ***

[$peerUser](../constructors/peerUser.md) = \['user_id' => [int](../types/int.md), \]; +*** +

[$phone.phoneCall](../constructors/phone.phoneCall.md) = \['phone_call' => [PhoneCall](../types/PhoneCall.md), 'users' => \[[User](../types/User.md)\], \]; + ***

[$phoneCall](../constructors/phoneCall.md) = \['p2p_allowed' => [Bool](../types/Bool.md), 'id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'date' => [int](../types/int.md), 'admin_id' => [int](../types/int.md), 'participant_id' => [int](../types/int.md), 'g_a_or_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), 'connection' => [PhoneConnection](../types/PhoneConnection.md), 'alternative_connections' => \[[PhoneConnection](../types/PhoneConnection.md)\], 'start_date' => [int](../types/int.md), \]; @@ -1409,9 +1509,6 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ***

[$phoneConnection](../constructors/phoneConnection.md) = \['id' => [long](../types/long.md), 'ip' => [string](../types/string.md), 'ipv6' => [string](../types/string.md), 'port' => [int](../types/int.md), 'peer_tag' => [bytes](../types/bytes.md), \]; -*** -

[$phone\_phoneCall](../constructors/phone_phoneCall.md) = \['phone_call' => [PhoneCall](../types/PhoneCall.md), 'users' => \[[User](../types/User.md)\], \]; - ***

[$photo](../constructors/photo.md) = \['has_stickers' => [Bool](../types/Bool.md), 'id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'file_reference' => [bytes](../types/bytes.md), 'date' => [int](../types/int.md), 'sizes' => \[[PhotoSize](../types/PhotoSize.md)\], \]; @@ -1431,11 +1528,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$photoStrippedSize](../constructors/photoStrippedSize.md) = \['type' => [string](../types/string.md), 'bytes' => [bytes](../types/bytes.md), \]; *** -

[$photos\_photo](../constructors/photos_photo.md) = \['photo' => [Photo](../types/Photo.md), 'users' => \[[User](../types/User.md)\], \]; +

[$photos.photo](../constructors/photos.photo.md) = \['photo' => [Photo](../types/Photo.md), 'users' => \[[User](../types/User.md)\], \]; -[$photos\_photos](../constructors/photos_photos.md) = \['photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$photos.photos](../constructors/photos.photos.md) = \['photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; -[$photos\_photosSlice](../constructors/photos_photosSlice.md) = \['count' => [int](../types/int.md), 'photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; +*** +

[$photos.photosSlice](../constructors/photos.photosSlice.md) = \['count' => [int](../types/int.md), 'photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; ***

[$poll](../constructors/poll.md) = \['id' => [long](../types/long.md), 'closed' => [Bool](../types/Bool.md), 'question' => [string](../types/string.md), 'answers' => \[[PollAnswer](../types/PollAnswer.md)\], \]; @@ -1690,25 +1789,34 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$stickerSetMultiCovered](../constructors/stickerSetMultiCovered.md) = \['set' => [StickerSet](../types/StickerSet.md), 'covers' => \[[Document](../types/Document.md)\], \]; *** -

[$storage\_fileGif](../constructors/storage_fileGif.md) = \[\]; +

[$storage.fileGif](../constructors/storage.fileGif.md) = \[\]; -[$storage\_fileJpeg](../constructors/storage_fileJpeg.md) = \[\]; +*** +

[$storage.fileJpeg](../constructors/storage.fileJpeg.md) = \[\]; -[$storage\_fileMov](../constructors/storage_fileMov.md) = \[\]; +*** +

[$storage.fileMov](../constructors/storage.fileMov.md) = \[\]; -[$storage\_fileMp3](../constructors/storage_fileMp3.md) = \[\]; +*** +

[$storage.fileMp3](../constructors/storage.fileMp3.md) = \[\]; -[$storage\_fileMp4](../constructors/storage_fileMp4.md) = \[\]; +*** +

[$storage.fileMp4](../constructors/storage.fileMp4.md) = \[\]; -[$storage\_filePartial](../constructors/storage_filePartial.md) = \[\]; +*** +

[$storage.filePartial](../constructors/storage.filePartial.md) = \[\]; -[$storage\_filePdf](../constructors/storage_filePdf.md) = \[\]; +*** +

[$storage.filePdf](../constructors/storage.filePdf.md) = \[\]; -[$storage\_filePng](../constructors/storage_filePng.md) = \[\]; +*** +

[$storage.filePng](../constructors/storage.filePng.md) = \[\]; -[$storage\_fileUnknown](../constructors/storage_fileUnknown.md) = \[\]; +*** +

[$storage.fileUnknown](../constructors/storage.fileUnknown.md) = \[\]; -[$storage\_fileWebp](../constructors/storage_fileWebp.md) = \[\]; +*** +

[$storage.fileWebp](../constructors/storage.fileWebp.md) = \[\]; ***

[$textAnchor](../constructors/textAnchor.md) = \['text' => [RichText](../types/RichText.md), 'name' => [string](../types/string.md), \]; @@ -2007,6 +2115,30 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ***

[$updates](../constructors/updates.md) = \['updates' => \[[Update](../types/Update.md)\], 'users' => \[[User](../types/User.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'date' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; +*** +

[$updates.channelDifference](../constructors/updates.channelDifference.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), 'new_messages' => \[[Message](../types/Message.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +*** +

[$updates.channelDifferenceEmpty](../constructors/updates.channelDifferenceEmpty.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), \]; + +*** +

[$updates.channelDifferenceTooLong](../constructors/updates.channelDifferenceTooLong.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), 'top_message' => [int](../types/int.md), 'read_inbox_max_id' => [int](../types/int.md), 'read_outbox_max_id' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), 'unread_mentions_count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +*** +

[$updates.difference](../constructors/updates.difference.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'state' => [updates.State](../types/updates.State.md), \]; + +*** +

[$updates.differenceEmpty](../constructors/updates.differenceEmpty.md) = \['date' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; + +*** +

[$updates.differenceSlice](../constructors/updates.differenceSlice.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'intermediate_state' => [updates.State](../types/updates.State.md), \]; + +*** +

[$updates.differenceTooLong](../constructors/updates.differenceTooLong.md) = \['pts' => [int](../types/int.md), \]; + +*** +

[$updates.state](../constructors/updates.state.md) = \['pts' => [int](../types/int.md), 'qts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'seq' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), \]; + ***

[$updatesCombined](../constructors/updatesCombined.md) = \['updates' => \[[Update](../types/Update.md)\], 'users' => \[[User](../types/User.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'date' => [int](../types/int.md), 'seq_start' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; @@ -2014,32 +2146,19 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

[$updatesTooLong](../constructors/updatesTooLong.md) = \[\]; *** -

[$updates\_channelDifference](../constructors/updates_channelDifference.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), 'new_messages' => \[[Message](../types/Message.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; - -[$updates\_channelDifferenceEmpty](../constructors/updates_channelDifferenceEmpty.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), \]; - -[$updates\_channelDifferenceTooLong](../constructors/updates_channelDifferenceTooLong.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), 'top_message' => [int](../types/int.md), 'read_inbox_max_id' => [int](../types/int.md), 'read_outbox_max_id' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), 'unread_mentions_count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; - -[$updates\_difference](../constructors/updates_difference.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'state' => [updates.State](../types/updates.State.md), \]; - -[$updates\_differenceEmpty](../constructors/updates_differenceEmpty.md) = \['date' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; - -[$updates\_differenceSlice](../constructors/updates_differenceSlice.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'intermediate_state' => [updates.State](../types/updates.State.md), \]; - -[$updates\_differenceTooLong](../constructors/updates_differenceTooLong.md) = \['pts' => [int](../types/int.md), \]; - -[$updates\_state](../constructors/updates_state.md) = \['pts' => [int](../types/int.md), 'qts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'seq' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), \]; +

[$upload.cdnFile](../constructors/upload.cdnFile.md) = \['bytes' => [bytes](../types/bytes.md), \]; *** -

[$upload\_cdnFile](../constructors/upload_cdnFile.md) = \['bytes' => [bytes](../types/bytes.md), \]; +

[$upload.cdnFileReuploadNeeded](../constructors/upload.cdnFileReuploadNeeded.md) = \['request_token' => [bytes](../types/bytes.md), \]; -[$upload\_cdnFileReuploadNeeded](../constructors/upload_cdnFileReuploadNeeded.md) = \['request_token' => [bytes](../types/bytes.md), \]; +*** +

[$upload.file](../constructors/upload.file.md) = \['type' => [storage.FileType](../types/storage.FileType.md), 'mtime' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; -[$upload\_file](../constructors/upload_file.md) = \['type' => [storage.FileType](../types/storage.FileType.md), 'mtime' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; +*** +

[$upload.fileCdnRedirect](../constructors/upload.fileCdnRedirect.md) = \['dc_id' => [int](../types/int.md), 'file_token' => [bytes](../types/bytes.md), 'encryption_key' => [bytes](../types/bytes.md), 'encryption_iv' => [bytes](../types/bytes.md), 'file_hashes' => \[[FileHash](../types/FileHash.md)\], \]; -[$upload\_fileCdnRedirect](../constructors/upload_fileCdnRedirect.md) = \['dc_id' => [int](../types/int.md), 'file_token' => [bytes](../types/bytes.md), 'encryption_key' => [bytes](../types/bytes.md), 'encryption_iv' => [bytes](../types/bytes.md), 'file_hashes' => \[[FileHash](../types/FileHash.md)\], \]; - -[$upload\_webFile](../constructors/upload_webFile.md) = \['size' => [int](../types/int.md), 'mime_type' => [string](../types/string.md), 'file_type' => [storage.FileType](../types/storage.FileType.md), 'mtime' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; +*** +

[$upload.webFile](../constructors/upload.webFile.md) = \['size' => [int](../types/int.md), 'mime_type' => [string](../types/string.md), 'file_type' => [storage.FileType](../types/storage.FileType.md), 'mtime' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; ***

[$user](../constructors/user.md) = \['self' => [Bool](../types/Bool.md), 'contact' => [Bool](../types/Bool.md), 'mutual_contact' => [Bool](../types/Bool.md), 'deleted' => [Bool](../types/Bool.md), 'bot' => [Bool](../types/Bool.md), 'bot_chat_history' => [Bool](../types/Bool.md), 'bot_nochats' => [Bool](../types/Bool.md), 'verified' => [Bool](../types/Bool.md), 'restricted' => [Bool](../types/Bool.md), 'min' => [Bool](../types/Bool.md), 'bot_inline_geo' => [Bool](../types/Bool.md), 'support' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), 'username' => [string](../types/string.md), 'phone' => [string](../types/string.md), 'photo' => [UserProfilePhoto](../types/UserProfilePhoto.md), 'status' => [UserStatus](../types/UserStatus.md), 'bot_info_version' => [int](../types/int.md), 'restriction_reason' => [string](../types/string.md), 'bot_inline_placeholder' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]; diff --git a/old_docs/API_docs_v97/constructors/account.authorizationForm.md b/old_docs/API_docs_v97/constructors/account.authorizationForm.md new file mode 100644 index 00000000..175276bf --- /dev/null +++ b/old_docs/API_docs_v97/constructors/account.authorizationForm.md @@ -0,0 +1,42 @@ +--- +title: account.authorizationForm +description: [Telegram Passport](https://core.telegram.org/passport) authorization form +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.authorizationForm +[Back to constructors index](index.md) + + + +[Telegram Passport](https://core.telegram.org/passport) authorization form + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|required\_types|Array of [SecureRequiredType](../types/SecureRequiredType.md) | Yes|Required types| +|values|Array of [SecureValue](../types/SecureValue.md) | Yes|Values| +|errors|Array of [SecureValueError](../types/SecureValueError.md) | Yes|Errors| +|users|Array of [User](../types/User.md) | Yes|Users| +|privacy\_policy\_url|[string](../types/string.md) | Optional|URL of the service's privacy policy| + + + +### Type: [account.AuthorizationForm](../types/account.AuthorizationForm.md) + + +### Example: + +```php +$account.authorizationForm = ['_' => 'account.authorizationForm', 'required_types' => [SecureRequiredType, SecureRequiredType], 'values' => [SecureValue, SecureValue], 'errors' => [SecureValueError, SecureValueError], 'users' => [User, User], 'privacy_policy_url' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +account.authorizationForm={_='account.authorizationForm', required_types={SecureRequiredType}, values={SecureValue}, errors={SecureValueError}, users={User}, privacy_policy_url='string'} + +``` + + diff --git a/old_docs/API_docs_v97/constructors/account.authorizations.md b/old_docs/API_docs_v97/constructors/account.authorizations.md new file mode 100644 index 00000000..53c961f0 --- /dev/null +++ b/old_docs/API_docs_v97/constructors/account.authorizations.md @@ -0,0 +1,38 @@ +--- +title: account.authorizations +description: Logged-in sessions +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.authorizations +[Back to constructors index](index.md) + + + +Logged-in sessions + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|authorizations|Array of [Authorization](../types/Authorization.md) | Yes|Authorizations| + + + +### Type: [account.Authorizations](../types/account.Authorizations.md) + + +### Example: + +```php +$account.authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization, Authorization]]; +``` + + +Or, if you're into Lua: + +```lua +account.authorizations={_='account.authorizations', authorizations={Authorization}} + +``` + + diff --git a/old_docs/API_docs_v97/constructors/account.autoDownloadSettings.md b/old_docs/API_docs_v97/constructors/account.autoDownloadSettings.md new file mode 100644 index 00000000..fa06f6a6 --- /dev/null +++ b/old_docs/API_docs_v97/constructors/account.autoDownloadSettings.md @@ -0,0 +1,40 @@ +--- +title: account.autoDownloadSettings +description: Media autodownload settings +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.autoDownloadSettings +[Back to constructors index](index.md) + + + +Media autodownload settings + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|low|[AutoDownloadSettings](../types/AutoDownloadSettings.md) | Yes|Low data usage preset| +|medium|[AutoDownloadSettings](../types/AutoDownloadSettings.md) | Yes|Medium data usage preset| +|high|[AutoDownloadSettings](../types/AutoDownloadSettings.md) | Yes|High data usage preset| + + + +### Type: [account.AutoDownloadSettings](../types/account.AutoDownloadSettings.md) + + +### Example: + +```php +$account.autoDownloadSettings = ['_' => 'account.autoDownloadSettings', 'low' => AutoDownloadSettings, 'medium' => AutoDownloadSettings, 'high' => AutoDownloadSettings]; +``` + + +Or, if you're into Lua: + +```lua +account.autoDownloadSettings={_='account.autoDownloadSettings', low=AutoDownloadSettings, medium=AutoDownloadSettings, high=AutoDownloadSettings} + +``` + + diff --git a/old_docs/API_docs_v97/constructors/account.password.md b/old_docs/API_docs_v97/constructors/account.password.md new file mode 100644 index 00000000..b6ad79db --- /dev/null +++ b/old_docs/API_docs_v97/constructors/account.password.md @@ -0,0 +1,48 @@ +--- +title: account.password +description: Configuration for two-factor authorization +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.password +[Back to constructors index](index.md) + + + +Configuration for two-factor authorization + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|has\_recovery|[Bool](../types/Bool.md) | Optional|Whether the user has a recovery method configured| +|has\_secure\_values|[Bool](../types/Bool.md) | Optional|Whether telegram [passport](https://core.telegram.org/passport) is enabled| +|has\_password|[Bool](../types/Bool.md) | Optional|Whether the user has a password| +|current\_algo|[PasswordKdfAlgo](../types/PasswordKdfAlgo.md) | Optional|The [KDF algorithm for SRP two-factor authentication](https://core.telegram.org/api/srp) of the current password| +|srp\_B|[bytes](../types/bytes.md) | Optional|Srp B param for [SRP authorization](https://core.telegram.org/api/srp)| +|srp\_id|[long](../types/long.md) | Optional|Srp ID param for [SRP authorization](https://core.telegram.org/api/srp)| +|hint|[string](../types/string.md) | Optional|Text hint for the password| +|email\_unconfirmed\_pattern|[string](../types/string.md) | Optional|A [password recovery email](https://core.telegram.org/api/srp#email-verification) with the specified [pattern](https://core.telegram.org/api/pattern) is still awaiting verification| +|new\_algo|[PasswordKdfAlgo](../types/PasswordKdfAlgo.md) | Yes|The [KDF algorithm for SRP two-factor authentication](https://core.telegram.org/api/srp) to use when creating new passwords| +|new\_secure\_algo|[SecurePasswordKdfAlgo](../types/SecurePasswordKdfAlgo.md) | Yes|The KDF algorithm for telegram [passport](https://core.telegram.org/passport)| +|secure\_random|[bytes](../types/bytes.md) | Yes|Secure random string| + + + +### Type: [account.Password](../types/account.Password.md) + + +### Example: + +```php +$account.password = ['_' => 'account.password', 'has_recovery' => Bool, 'has_secure_values' => Bool, 'has_password' => Bool, 'current_algo' => PasswordKdfAlgo, 'srp_B' => 'bytes', 'srp_id' => long, 'hint' => 'string', 'email_unconfirmed_pattern' => 'string', 'new_algo' => PasswordKdfAlgo, 'new_secure_algo' => SecurePasswordKdfAlgo, 'secure_random' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +account.password={_='account.password', has_recovery=Bool, has_secure_values=Bool, has_password=Bool, current_algo=PasswordKdfAlgo, srp_B='bytes', srp_id=long, hint='string', email_unconfirmed_pattern='string', new_algo=PasswordKdfAlgo, new_secure_algo=SecurePasswordKdfAlgo, secure_random='bytes'} + +``` + + diff --git a/old_docs/API_docs_v97/constructors/account.passwordInputSettings.md b/old_docs/API_docs_v97/constructors/account.passwordInputSettings.md new file mode 100644 index 00000000..f55837c8 --- /dev/null +++ b/old_docs/API_docs_v97/constructors/account.passwordInputSettings.md @@ -0,0 +1,42 @@ +--- +title: account.passwordInputSettings +description: Settings for setting up a new password +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.passwordInputSettings +[Back to constructors index](index.md) + + + +Settings for setting up a new password + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|new\_algo|[PasswordKdfAlgo](../types/PasswordKdfAlgo.md) | Optional|The [SRP algorithm](https://core.telegram.org/api/srp) to use| +|new\_password\_hash|[bytes](../types/bytes.md) | Optional|The [computed password hash](https://core.telegram.org/api/srp)| +|hint|[string](../types/string.md) | Optional|Text hint for the password| +|email|[string](../types/string.md) | Optional|Password recovery email| +|new\_secure\_settings|[SecureSecretSettings](../types/SecureSecretSettings.md) | Optional|Telegram [passport](https://core.telegram.org/passport) settings| + + + +### Type: [account.PasswordInputSettings](../types/account.PasswordInputSettings.md) + + +### Example: + +```php +$account.passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_algo' => PasswordKdfAlgo, 'new_password_hash' => 'bytes', 'hint' => 'string', 'email' => 'string', 'new_secure_settings' => SecureSecretSettings]; +``` + + +Or, if you're into Lua: + +```lua +account.passwordInputSettings={_='account.passwordInputSettings', new_algo=PasswordKdfAlgo, new_password_hash='bytes', hint='string', email='string', new_secure_settings=SecureSecretSettings} + +``` + + diff --git a/old_docs/API_docs_v97/constructors/account.passwordSettings.md b/old_docs/API_docs_v97/constructors/account.passwordSettings.md new file mode 100644 index 00000000..ab81079e --- /dev/null +++ b/old_docs/API_docs_v97/constructors/account.passwordSettings.md @@ -0,0 +1,39 @@ +--- +title: account.passwordSettings +description: Private info associated to the password info (recovery email, telegram [passport](https://core.telegram.org/passport) info & so on) +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.passwordSettings +[Back to constructors index](index.md) + + + +Private info associated to the password info (recovery email, telegram [passport](https://core.telegram.org/passport) info & so on) + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|email|[string](../types/string.md) | Optional|[2FA Recovery email](https://core.telegram.org/api/srp#email-verification)| +|secure\_settings|[SecureSecretSettings](../types/SecureSecretSettings.md) | Optional|Telegram [passport](https://core.telegram.org/passport) settings| + + + +### Type: [account.PasswordSettings](../types/account.PasswordSettings.md) + + +### Example: + +```php +$account.passwordSettings = ['_' => 'account.passwordSettings', 'email' => 'string', 'secure_settings' => SecureSecretSettings]; +``` + + +Or, if you're into Lua: + +```lua +account.passwordSettings={_='account.passwordSettings', email='string', secure_settings=SecureSecretSettings} + +``` + + diff --git a/old_docs/API_docs_v97/constructors/account.privacyRules.md b/old_docs/API_docs_v97/constructors/account.privacyRules.md new file mode 100644 index 00000000..7ae04abb --- /dev/null +++ b/old_docs/API_docs_v97/constructors/account.privacyRules.md @@ -0,0 +1,39 @@ +--- +title: account.privacyRules +description: Privacy rules +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.privacyRules +[Back to constructors index](index.md) + + + +Privacy rules + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|rules|Array of [PrivacyRule](../types/PrivacyRule.md) | Yes|Rules| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [account.PrivacyRules](../types/account.PrivacyRules.md) + + +### Example: + +```php +$account.privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule, PrivacyRule], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +account.privacyRules={_='account.privacyRules', rules={PrivacyRule}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v97/constructors/account.sentEmailCode.md b/old_docs/API_docs_v97/constructors/account.sentEmailCode.md new file mode 100644 index 00000000..c4c30275 --- /dev/null +++ b/old_docs/API_docs_v97/constructors/account.sentEmailCode.md @@ -0,0 +1,39 @@ +--- +title: account.sentEmailCode +description: The sent email code +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.sentEmailCode +[Back to constructors index](index.md) + + + +The sent email code + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|email\_pattern|[string](../types/string.md) | Yes|The email (to which the code was sent) must match this [pattern](https://core.telegram.org/api/pattern)| +|length|[int](../types/int.md) | Yes|The length of the verification code| + + + +### Type: [account.SentEmailCode](../types/account.SentEmailCode.md) + + +### Example: + +```php +$account.sentEmailCode = ['_' => 'account.sentEmailCode', 'email_pattern' => 'string', 'length' => int]; +``` + + +Or, if you're into Lua: + +```lua +account.sentEmailCode={_='account.sentEmailCode', email_pattern='string', length=int} + +``` + + diff --git a/old_docs/API_docs_v97/constructors/account.takeout.md b/old_docs/API_docs_v97/constructors/account.takeout.md new file mode 100644 index 00000000..1aca6c70 --- /dev/null +++ b/old_docs/API_docs_v97/constructors/account.takeout.md @@ -0,0 +1,38 @@ +--- +title: account.takeout +description: Takout info +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.takeout +[Back to constructors index](index.md) + + + +Takout info + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|id|[long](../types/long.md) | Yes|Takeout ID| + + + +### Type: [account.Takeout](../types/account.Takeout.md) + + +### Example: + +```php +$account.takeout = ['_' => 'account.takeout', 'id' => long]; +``` + + +Or, if you're into Lua: + +```lua +account.takeout={_='account.takeout', id=long} + +``` + + diff --git a/old_docs/API_docs_v97/constructors/account.tmpPassword.md b/old_docs/API_docs_v97/constructors/account.tmpPassword.md new file mode 100644 index 00000000..996548c4 --- /dev/null +++ b/old_docs/API_docs_v97/constructors/account.tmpPassword.md @@ -0,0 +1,39 @@ +--- +title: account.tmpPassword +description: Temporary payment password +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.tmpPassword +[Back to constructors index](index.md) + + + +Temporary payment password + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|tmp\_password|[bytes](../types/bytes.md) | Yes|Temporary password| +|valid\_until|[int](../types/int.md) | Yes|Validity period| + + + +### Type: [account.TmpPassword](../types/account.TmpPassword.md) + + +### Example: + +```php +$account.tmpPassword = ['_' => 'account.tmpPassword', 'tmp_password' => 'bytes', 'valid_until' => int]; +``` + + +Or, if you're into Lua: + +```lua +account.tmpPassword={_='account.tmpPassword', tmp_password='bytes', valid_until=int} + +``` + + diff --git a/old_docs/API_docs_v97/constructors/account.wallPapers.md b/old_docs/API_docs_v97/constructors/account.wallPapers.md new file mode 100644 index 00000000..c73f9dd3 --- /dev/null +++ b/old_docs/API_docs_v97/constructors/account.wallPapers.md @@ -0,0 +1,39 @@ +--- +title: account.wallPapers +description: Installed wallpapers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.wallPapers +[Back to constructors index](index.md) + + + +Installed wallpapers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|wallpapers|Array of [WallPaper](../types/WallPaper.md) | Yes|Wallpapers| + + + +### Type: [account.WallPapers](../types/account.WallPapers.md) + + +### Example: + +```php +$account.wallPapers = ['_' => 'account.wallPapers', 'hash' => int, 'wallpapers' => [WallPaper, WallPaper]]; +``` + + +Or, if you're into Lua: + +```lua +account.wallPapers={_='account.wallPapers', hash=int, wallpapers={WallPaper}} + +``` + + diff --git a/old_docs/API_docs_v97/constructors/account.wallPapersNotModified.md b/old_docs/API_docs_v97/constructors/account.wallPapersNotModified.md new file mode 100644 index 00000000..209233d7 --- /dev/null +++ b/old_docs/API_docs_v97/constructors/account.wallPapersNotModified.md @@ -0,0 +1,33 @@ +--- +title: account.wallPapersNotModified +description: No new wallpapers were found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.wallPapersNotModified +[Back to constructors index](index.md) + + + +No new wallpapers were found + + + + +### Type: [account.WallPapers](../types/account.WallPapers.md) + + +### Example: + +```php +$account.wallPapersNotModified = ['_' => 'account.wallPapersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +account.wallPapersNotModified={_='account.wallPapersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v97/constructors/account.webAuthorizations.md b/old_docs/API_docs_v97/constructors/account.webAuthorizations.md new file mode 100644 index 00000000..bb5d0211 --- /dev/null +++ b/old_docs/API_docs_v97/constructors/account.webAuthorizations.md @@ -0,0 +1,39 @@ +--- +title: account.webAuthorizations +description: Web authorizations +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: account.webAuthorizations +[Back to constructors index](index.md) + + + +Web authorizations + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|authorizations|Array of [WebAuthorization](../types/WebAuthorization.md) | Yes|Authorizations| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [account.WebAuthorizations](../types/account.WebAuthorizations.md) + + +### Example: + +```php +$account.webAuthorizations = ['_' => 'account.webAuthorizations', 'authorizations' => [WebAuthorization, WebAuthorization], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +account.webAuthorizations={_='account.webAuthorizations', authorizations={WebAuthorization}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v97/constructors/account_authorizationForm.md b/old_docs/API_docs_v97/constructors/account_authorizationForm.md deleted file mode 100644 index aaeff19b..00000000 --- a/old_docs/API_docs_v97/constructors/account_authorizationForm.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: account.authorizationForm -description: [Telegram Passport](https://core.telegram.org/passport) authorization form -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.authorizationForm -[Back to constructors index](index.md) - - - -[Telegram Passport](https://core.telegram.org/passport) authorization form - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|required\_types|Array of [SecureRequiredType](../types/SecureRequiredType.md) | Yes|Required types| -|values|Array of [SecureValue](../types/SecureValue.md) | Yes|Values| -|errors|Array of [SecureValueError](../types/SecureValueError.md) | Yes|Errors| -|users|Array of [User](../types/User.md) | Yes|Users| -|privacy\_policy\_url|[string](../types/string.md) | Optional|URL of the service's privacy policy| - - - -### Type: [account\_AuthorizationForm](../types/account_AuthorizationForm.md) - - -### Example: - -```php -$account_authorizationForm = ['_' => 'account.authorizationForm', 'required_types' => [SecureRequiredType, SecureRequiredType], 'values' => [SecureValue, SecureValue], 'errors' => [SecureValueError, SecureValueError], 'users' => [User, User], 'privacy_policy_url' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -account_authorizationForm={_='account.authorizationForm', required_types={SecureRequiredType}, values={SecureValue}, errors={SecureValueError}, users={User}, privacy_policy_url='string'} - -``` - - diff --git a/old_docs/API_docs_v97/constructors/account_authorizations.md b/old_docs/API_docs_v97/constructors/account_authorizations.md deleted file mode 100644 index aeae48f3..00000000 --- a/old_docs/API_docs_v97/constructors/account_authorizations.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: account.authorizations -description: Logged-in sessions -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.authorizations -[Back to constructors index](index.md) - - - -Logged-in sessions - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|authorizations|Array of [Authorization](../types/Authorization.md) | Yes|Authorizations| - - - -### Type: [account\_Authorizations](../types/account_Authorizations.md) - - -### Example: - -```php -$account_authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization, Authorization]]; -``` - - -Or, if you're into Lua: - -```lua -account_authorizations={_='account.authorizations', authorizations={Authorization}} - -``` - - diff --git a/old_docs/API_docs_v97/constructors/account_autoDownloadSettings.md b/old_docs/API_docs_v97/constructors/account_autoDownloadSettings.md deleted file mode 100644 index f490d303..00000000 --- a/old_docs/API_docs_v97/constructors/account_autoDownloadSettings.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: account.autoDownloadSettings -description: Media autodownload settings -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.autoDownloadSettings -[Back to constructors index](index.md) - - - -Media autodownload settings - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|low|[AutoDownloadSettings](../types/AutoDownloadSettings.md) | Yes|Low data usage preset| -|medium|[AutoDownloadSettings](../types/AutoDownloadSettings.md) | Yes|Medium data usage preset| -|high|[AutoDownloadSettings](../types/AutoDownloadSettings.md) | Yes|High data usage preset| - - - -### Type: [account\_AutoDownloadSettings](../types/account_AutoDownloadSettings.md) - - -### Example: - -```php -$account_autoDownloadSettings = ['_' => 'account.autoDownloadSettings', 'low' => AutoDownloadSettings, 'medium' => AutoDownloadSettings, 'high' => AutoDownloadSettings]; -``` - - -Or, if you're into Lua: - -```lua -account_autoDownloadSettings={_='account.autoDownloadSettings', low=AutoDownloadSettings, medium=AutoDownloadSettings, high=AutoDownloadSettings} - -``` - - diff --git a/old_docs/API_docs_v97/constructors/account_password.md b/old_docs/API_docs_v97/constructors/account_password.md deleted file mode 100644 index 0f2eaafb..00000000 --- a/old_docs/API_docs_v97/constructors/account_password.md +++ /dev/null @@ -1,48 +0,0 @@ ---- -title: account.password -description: Configuration for two-factor authorization -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.password -[Back to constructors index](index.md) - - - -Configuration for two-factor authorization - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|has\_recovery|[Bool](../types/Bool.md) | Optional|Whether the user has a recovery method configured| -|has\_secure\_values|[Bool](../types/Bool.md) | Optional|Whether telegram [passport](https://core.telegram.org/passport) is enabled| -|has\_password|[Bool](../types/Bool.md) | Optional|Whether the user has a password| -|current\_algo|[PasswordKdfAlgo](../types/PasswordKdfAlgo.md) | Optional|The [KDF algorithm for SRP two-factor authentication](https://core.telegram.org/api/srp) of the current password| -|srp\_B|[bytes](../types/bytes.md) | Optional|Srp B param for [SRP authorization](https://core.telegram.org/api/srp)| -|srp\_id|[long](../types/long.md) | Optional|Srp ID param for [SRP authorization](https://core.telegram.org/api/srp)| -|hint|[string](../types/string.md) | Optional|Text hint for the password| -|email\_unconfirmed\_pattern|[string](../types/string.md) | Optional|A [password recovery email](https://core.telegram.org/api/srp#email-verification) with the specified [pattern](https://core.telegram.org/api/pattern) is still awaiting verification| -|new\_algo|[PasswordKdfAlgo](../types/PasswordKdfAlgo.md) | Yes|The [KDF algorithm for SRP two-factor authentication](https://core.telegram.org/api/srp) to use when creating new passwords| -|new\_secure\_algo|[SecurePasswordKdfAlgo](../types/SecurePasswordKdfAlgo.md) | Yes|The KDF algorithm for telegram [passport](https://core.telegram.org/passport)| -|secure\_random|[bytes](../types/bytes.md) | Yes|Secure random string| - - - -### Type: [account\_Password](../types/account_Password.md) - - -### Example: - -```php -$account_password = ['_' => 'account.password', 'has_recovery' => Bool, 'has_secure_values' => Bool, 'has_password' => Bool, 'current_algo' => PasswordKdfAlgo, 'srp_B' => 'bytes', 'srp_id' => long, 'hint' => 'string', 'email_unconfirmed_pattern' => 'string', 'new_algo' => PasswordKdfAlgo, 'new_secure_algo' => SecurePasswordKdfAlgo, 'secure_random' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -account_password={_='account.password', has_recovery=Bool, has_secure_values=Bool, has_password=Bool, current_algo=PasswordKdfAlgo, srp_B='bytes', srp_id=long, hint='string', email_unconfirmed_pattern='string', new_algo=PasswordKdfAlgo, new_secure_algo=SecurePasswordKdfAlgo, secure_random='bytes'} - -``` - - diff --git a/old_docs/API_docs_v97/constructors/account_passwordInputSettings.md b/old_docs/API_docs_v97/constructors/account_passwordInputSettings.md deleted file mode 100644 index a4800a7c..00000000 --- a/old_docs/API_docs_v97/constructors/account_passwordInputSettings.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: account.passwordInputSettings -description: Settings for setting up a new password -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.passwordInputSettings -[Back to constructors index](index.md) - - - -Settings for setting up a new password - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|new\_algo|[PasswordKdfAlgo](../types/PasswordKdfAlgo.md) | Optional|The [SRP algorithm](https://core.telegram.org/api/srp) to use| -|new\_password\_hash|[bytes](../types/bytes.md) | Optional|The [computed password hash](https://core.telegram.org/api/srp)| -|hint|[string](../types/string.md) | Optional|Text hint for the password| -|email|[string](../types/string.md) | Optional|Password recovery email| -|new\_secure\_settings|[SecureSecretSettings](../types/SecureSecretSettings.md) | Optional|Telegram [passport](https://core.telegram.org/passport) settings| - - - -### Type: [account\_PasswordInputSettings](../types/account_PasswordInputSettings.md) - - -### Example: - -```php -$account_passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_algo' => PasswordKdfAlgo, 'new_password_hash' => 'bytes', 'hint' => 'string', 'email' => 'string', 'new_secure_settings' => SecureSecretSettings]; -``` - - -Or, if you're into Lua: - -```lua -account_passwordInputSettings={_='account.passwordInputSettings', new_algo=PasswordKdfAlgo, new_password_hash='bytes', hint='string', email='string', new_secure_settings=SecureSecretSettings} - -``` - - diff --git a/old_docs/API_docs_v97/constructors/account_passwordSettings.md b/old_docs/API_docs_v97/constructors/account_passwordSettings.md deleted file mode 100644 index 16eaf433..00000000 --- a/old_docs/API_docs_v97/constructors/account_passwordSettings.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: account.passwordSettings -description: Private info associated to the password info (recovery email, telegram [passport](https://core.telegram.org/passport) info & so on) -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.passwordSettings -[Back to constructors index](index.md) - - - -Private info associated to the password info (recovery email, telegram [passport](https://core.telegram.org/passport) info & so on) - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|email|[string](../types/string.md) | Optional|[2FA Recovery email](https://core.telegram.org/api/srp#email-verification)| -|secure\_settings|[SecureSecretSettings](../types/SecureSecretSettings.md) | Optional|Telegram [passport](https://core.telegram.org/passport) settings| - - - -### Type: [account\_PasswordSettings](../types/account_PasswordSettings.md) - - -### Example: - -```php -$account_passwordSettings = ['_' => 'account.passwordSettings', 'email' => 'string', 'secure_settings' => SecureSecretSettings]; -``` - - -Or, if you're into Lua: - -```lua -account_passwordSettings={_='account.passwordSettings', email='string', secure_settings=SecureSecretSettings} - -``` - - diff --git a/old_docs/API_docs_v97/constructors/account_privacyRules.md b/old_docs/API_docs_v97/constructors/account_privacyRules.md deleted file mode 100644 index 28b260b7..00000000 --- a/old_docs/API_docs_v97/constructors/account_privacyRules.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: account.privacyRules -description: Privacy rules -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.privacyRules -[Back to constructors index](index.md) - - - -Privacy rules - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|rules|Array of [PrivacyRule](../types/PrivacyRule.md) | Yes|Rules| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [account\_PrivacyRules](../types/account_PrivacyRules.md) - - -### Example: - -```php -$account_privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule, PrivacyRule], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -account_privacyRules={_='account.privacyRules', rules={PrivacyRule}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v97/constructors/account_sentEmailCode.md b/old_docs/API_docs_v97/constructors/account_sentEmailCode.md deleted file mode 100644 index 684fb4b5..00000000 --- a/old_docs/API_docs_v97/constructors/account_sentEmailCode.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: account.sentEmailCode -description: The sent email code -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.sentEmailCode -[Back to constructors index](index.md) - - - -The sent email code - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|email\_pattern|[string](../types/string.md) | Yes|The email (to which the code was sent) must match this [pattern](https://core.telegram.org/api/pattern)| -|length|[int](../types/int.md) | Yes|The length of the verification code| - - - -### Type: [account\_SentEmailCode](../types/account_SentEmailCode.md) - - -### Example: - -```php -$account_sentEmailCode = ['_' => 'account.sentEmailCode', 'email_pattern' => 'string', 'length' => int]; -``` - - -Or, if you're into Lua: - -```lua -account_sentEmailCode={_='account.sentEmailCode', email_pattern='string', length=int} - -``` - - diff --git a/old_docs/API_docs_v97/constructors/account_takeout.md b/old_docs/API_docs_v97/constructors/account_takeout.md deleted file mode 100644 index 09af93ca..00000000 --- a/old_docs/API_docs_v97/constructors/account_takeout.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: account.takeout -description: Takout info -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.takeout -[Back to constructors index](index.md) - - - -Takout info - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|id|[long](../types/long.md) | Yes|Takeout ID| - - - -### Type: [account\_Takeout](../types/account_Takeout.md) - - -### Example: - -```php -$account_takeout = ['_' => 'account.takeout', 'id' => long]; -``` - - -Or, if you're into Lua: - -```lua -account_takeout={_='account.takeout', id=long} - -``` - - diff --git a/old_docs/API_docs_v97/constructors/account_tmpPassword.md b/old_docs/API_docs_v97/constructors/account_tmpPassword.md deleted file mode 100644 index 68832780..00000000 --- a/old_docs/API_docs_v97/constructors/account_tmpPassword.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: account.tmpPassword -description: Temporary payment password -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.tmpPassword -[Back to constructors index](index.md) - - - -Temporary payment password - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|tmp\_password|[bytes](../types/bytes.md) | Yes|Temporary password| -|valid\_until|[int](../types/int.md) | Yes|Validity period| - - - -### Type: [account\_TmpPassword](../types/account_TmpPassword.md) - - -### Example: - -```php -$account_tmpPassword = ['_' => 'account.tmpPassword', 'tmp_password' => 'bytes', 'valid_until' => int]; -``` - - -Or, if you're into Lua: - -```lua -account_tmpPassword={_='account.tmpPassword', tmp_password='bytes', valid_until=int} - -``` - - diff --git a/old_docs/API_docs_v97/constructors/account_wallPapers.md b/old_docs/API_docs_v97/constructors/account_wallPapers.md deleted file mode 100644 index 6239c29c..00000000 --- a/old_docs/API_docs_v97/constructors/account_wallPapers.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: account.wallPapers -description: Installed wallpapers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.wallPapers -[Back to constructors index](index.md) - - - -Installed wallpapers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|wallpapers|Array of [WallPaper](../types/WallPaper.md) | Yes|Wallpapers| - - - -### Type: [account\_WallPapers](../types/account_WallPapers.md) - - -### Example: - -```php -$account_wallPapers = ['_' => 'account.wallPapers', 'hash' => int, 'wallpapers' => [WallPaper, WallPaper]]; -``` - - -Or, if you're into Lua: - -```lua -account_wallPapers={_='account.wallPapers', hash=int, wallpapers={WallPaper}} - -``` - - diff --git a/old_docs/API_docs_v97/constructors/account_wallPapersNotModified.md b/old_docs/API_docs_v97/constructors/account_wallPapersNotModified.md deleted file mode 100644 index acb28796..00000000 --- a/old_docs/API_docs_v97/constructors/account_wallPapersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: account.wallPapersNotModified -description: No new wallpapers were found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.wallPapersNotModified -[Back to constructors index](index.md) - - - -No new wallpapers were found - - - - -### Type: [account\_WallPapers](../types/account_WallPapers.md) - - -### Example: - -```php -$account_wallPapersNotModified = ['_' => 'account.wallPapersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -account_wallPapersNotModified={_='account.wallPapersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v97/constructors/account_webAuthorizations.md b/old_docs/API_docs_v97/constructors/account_webAuthorizations.md deleted file mode 100644 index ae402006..00000000 --- a/old_docs/API_docs_v97/constructors/account_webAuthorizations.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: account.webAuthorizations -description: Web authorizations -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: account.webAuthorizations -[Back to constructors index](index.md) - - - -Web authorizations - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|authorizations|Array of [WebAuthorization](../types/WebAuthorization.md) | Yes|Authorizations| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [account\_WebAuthorizations](../types/account_WebAuthorizations.md) - - -### Example: - -```php -$account_webAuthorizations = ['_' => 'account.webAuthorizations', 'authorizations' => [WebAuthorization, WebAuthorization], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -account_webAuthorizations={_='account.webAuthorizations', authorizations={WebAuthorization}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v97/constructors/auth.authorization.md b/old_docs/API_docs_v97/constructors/auth.authorization.md new file mode 100644 index 00000000..2a84bb12 --- /dev/null +++ b/old_docs/API_docs_v97/constructors/auth.authorization.md @@ -0,0 +1,39 @@ +--- +title: auth.authorization +description: Contains user authorization info. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.authorization +[Back to constructors index](index.md) + + + +Contains user authorization info. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|tmp\_sessions|[int](../types/int.md) | Optional|Temporary [passport](https://core.telegram.org/passport) sessions| +|user|[User](../types/User.md) | Optional|Info on authorized user| + + + +### Type: [auth.Authorization](../types/auth.Authorization.md) + + +### Example: + +```php +$auth.authorization = ['_' => 'auth.authorization', 'tmp_sessions' => int, 'user' => User]; +``` + + +Or, if you're into Lua: + +```lua +auth.authorization={_='auth.authorization', tmp_sessions=int, user=User} + +``` + + diff --git a/old_docs/API_docs_v97/constructors/auth.checkedPhone.md b/old_docs/API_docs_v97/constructors/auth.checkedPhone.md new file mode 100644 index 00000000..23e84cf9 --- /dev/null +++ b/old_docs/API_docs_v97/constructors/auth.checkedPhone.md @@ -0,0 +1,38 @@ +--- +title: auth.checkedPhone +description: Checked phone +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.checkedPhone +[Back to constructors index](index.md) + + + +Checked phone + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_registered|[Bool](../types/Bool.md) | Yes|Phone registered?| + + + +### Type: [auth.CheckedPhone](../types/auth.CheckedPhone.md) + + +### Example: + +```php +$auth.checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool]; +``` + + +Or, if you're into Lua: + +```lua +auth.checkedPhone={_='auth.checkedPhone', phone_registered=Bool} + +``` + + diff --git a/old_docs/API_docs_v97/constructors/auth.codeTypeCall.md b/old_docs/API_docs_v97/constructors/auth.codeTypeCall.md new file mode 100644 index 00000000..4b4a1cdc --- /dev/null +++ b/old_docs/API_docs_v97/constructors/auth.codeTypeCall.md @@ -0,0 +1,33 @@ +--- +title: auth.codeTypeCall +description: Type of verification code that will be sent next if you call the resendCode method: SMS code +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.codeTypeCall +[Back to constructors index](index.md) + + + +Type of verification code that will be sent next if you call the resendCode method: SMS code + + + + +### Type: [auth.CodeType](../types/auth.CodeType.md) + + +### Example: + +```php +$auth.codeTypeCall = ['_' => 'auth.codeTypeCall']; +``` + + +Or, if you're into Lua: + +```lua +auth.codeTypeCall={_='auth.codeTypeCall'} + +``` + + diff --git a/old_docs/API_docs_v97/constructors/auth.codeTypeFlashCall.md b/old_docs/API_docs_v97/constructors/auth.codeTypeFlashCall.md new file mode 100644 index 00000000..ef97e034 --- /dev/null +++ b/old_docs/API_docs_v97/constructors/auth.codeTypeFlashCall.md @@ -0,0 +1,33 @@ +--- +title: auth.codeTypeFlashCall +description: Type of verification code that will be sent next if you call the resendCode method: SMS code +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.codeTypeFlashCall +[Back to constructors index](index.md) + + + +Type of verification code that will be sent next if you call the resendCode method: SMS code + + + + +### Type: [auth.CodeType](../types/auth.CodeType.md) + + +### Example: + +```php +$auth.codeTypeFlashCall = ['_' => 'auth.codeTypeFlashCall']; +``` + + +Or, if you're into Lua: + +```lua +auth.codeTypeFlashCall={_='auth.codeTypeFlashCall'} + +``` + + diff --git a/old_docs/API_docs_v97/constructors/auth.codeTypeSms.md b/old_docs/API_docs_v97/constructors/auth.codeTypeSms.md new file mode 100644 index 00000000..bab9a5a4 --- /dev/null +++ b/old_docs/API_docs_v97/constructors/auth.codeTypeSms.md @@ -0,0 +1,33 @@ +--- +title: auth.codeTypeSms +description: Type of verification code that will be sent next if you call the resendCode method: SMS code +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.codeTypeSms +[Back to constructors index](index.md) + + + +Type of verification code that will be sent next if you call the resendCode method: SMS code + + + + +### Type: [auth.CodeType](../types/auth.CodeType.md) + + +### Example: + +```php +$auth.codeTypeSms = ['_' => 'auth.codeTypeSms']; +``` + + +Or, if you're into Lua: + +```lua +auth.codeTypeSms={_='auth.codeTypeSms'} + +``` + + diff --git a/old_docs/API_docs_v97/constructors/auth.exportedAuthorization.md b/old_docs/API_docs_v97/constructors/auth.exportedAuthorization.md new file mode 100644 index 00000000..2a4a9896 --- /dev/null +++ b/old_docs/API_docs_v97/constructors/auth.exportedAuthorization.md @@ -0,0 +1,39 @@ +--- +title: auth.exportedAuthorization +description: Data for copying of authorization between data centres. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.exportedAuthorization +[Back to constructors index](index.md) + + + +Data for copying of authorization between data centres. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|id|[int](../types/int.md) | Yes|Current user identifier| +|bytes|[bytes](../types/bytes.md) | Yes|Authorizes key| + + + +### Type: [auth.ExportedAuthorization](../types/auth.ExportedAuthorization.md) + + +### Example: + +```php +$auth.exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +auth.exportedAuthorization={_='auth.exportedAuthorization', id=int, bytes='bytes'} + +``` + + diff --git a/old_docs/API_docs_v97/constructors/auth.passwordRecovery.md b/old_docs/API_docs_v97/constructors/auth.passwordRecovery.md new file mode 100644 index 00000000..61de922d --- /dev/null +++ b/old_docs/API_docs_v97/constructors/auth.passwordRecovery.md @@ -0,0 +1,38 @@ +--- +title: auth.passwordRecovery +description: Recovery info of a [2FA password](https://core.telegram.org/api/srp), only for accounts with a [recovery email configured](https://core.telegram.org/api/srp#email-verification). +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.passwordRecovery +[Back to constructors index](index.md) + + + +Recovery info of a [2FA password](https://core.telegram.org/api/srp), only for accounts with a [recovery email configured](https://core.telegram.org/api/srp#email-verification). + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|email\_pattern|[string](../types/string.md) | Yes|The email to which the recovery code was sent must match this [pattern](https://core.telegram.org/api/pattern).| + + + +### Type: [auth.PasswordRecovery](../types/auth.PasswordRecovery.md) + + +### Example: + +```php +$auth.passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +auth.passwordRecovery={_='auth.passwordRecovery', email_pattern='string'} + +``` + + diff --git a/old_docs/API_docs_v97/constructors/auth.sentCode.md b/old_docs/API_docs_v97/constructors/auth.sentCode.md new file mode 100644 index 00000000..bfdaea05 --- /dev/null +++ b/old_docs/API_docs_v97/constructors/auth.sentCode.md @@ -0,0 +1,43 @@ +--- +title: auth.sentCode +description: Contains info about a sent verification code. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentCode +[Back to constructors index](index.md) + + + +Contains info about a sent verification code. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_registered|[Bool](../types/Bool.md) | Optional|Phone registered?| +|type|[auth.SentCodeType](../constructors/auth.SentCodeType.md) | Yes|Phone code type| +|phone\_code\_hash|[string](../types/string.md) | Yes|Phone code hash, to be stored and later re-used with [auth.signIn](../methods/auth.signIn.md)| +|next\_type|[auth.CodeType](../constructors/auth.CodeType.md) | Optional|Phone code type that will be sent next, if the phone code is not received within `timeout` seconds: to send it use [auth.resendCode](../methods/auth.resendCode.md)| +|timeout|[int](../types/int.md) | Optional|Timeout for reception of the phone code| +|terms\_of\_service|[help.TermsOfService](../constructors/help.TermsOfService.md) | Optional|Terms of service| + + + +### Type: [auth.SentCode](../types/auth.SentCode.md) + + +### Example: + +```php +$auth.sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'type' => auth.SentCodeType, 'phone_code_hash' => 'string', 'next_type' => auth.CodeType, 'timeout' => int, 'terms_of_service' => help.TermsOfService]; +``` + + +Or, if you're into Lua: + +```lua +auth.sentCode={_='auth.sentCode', phone_registered=Bool, type=auth.SentCodeType, phone_code_hash='string', next_type=auth.CodeType, timeout=int, terms_of_service=help.TermsOfService} + +``` + + diff --git a/old_docs/API_docs_v97/constructors/auth.sentCodeTypeApp.md b/old_docs/API_docs_v97/constructors/auth.sentCodeTypeApp.md new file mode 100644 index 00000000..5f2d4aa3 --- /dev/null +++ b/old_docs/API_docs_v97/constructors/auth.sentCodeTypeApp.md @@ -0,0 +1,38 @@ +--- +title: auth.sentCodeTypeApp +description: The code was sent through the telegram app +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentCodeTypeApp +[Back to constructors index](index.md) + + + +The code was sent through the telegram app + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|length|[int](../types/int.md) | Yes|Length of the code in bytes| + + + +### Type: [auth.SentCodeType](../types/auth.SentCodeType.md) + + +### Example: + +```php +$auth.sentCodeTypeApp = ['_' => 'auth.sentCodeTypeApp', 'length' => int]; +``` + + +Or, if you're into Lua: + +```lua +auth.sentCodeTypeApp={_='auth.sentCodeTypeApp', length=int} + +``` + + diff --git a/old_docs/API_docs_v97/constructors/auth.sentCodeTypeCall.md b/old_docs/API_docs_v97/constructors/auth.sentCodeTypeCall.md new file mode 100644 index 00000000..9843b3df --- /dev/null +++ b/old_docs/API_docs_v97/constructors/auth.sentCodeTypeCall.md @@ -0,0 +1,38 @@ +--- +title: auth.sentCodeTypeCall +description: The code will be sent via a phone call: a synthesized voice will tell the user which verification code to input. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentCodeTypeCall +[Back to constructors index](index.md) + + + +The code will be sent via a phone call: a synthesized voice will tell the user which verification code to input. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|length|[int](../types/int.md) | Yes|Length of the verification code| + + + +### Type: [auth.SentCodeType](../types/auth.SentCodeType.md) + + +### Example: + +```php +$auth.sentCodeTypeCall = ['_' => 'auth.sentCodeTypeCall', 'length' => int]; +``` + + +Or, if you're into Lua: + +```lua +auth.sentCodeTypeCall={_='auth.sentCodeTypeCall', length=int} + +``` + + diff --git a/old_docs/API_docs_v97/constructors/auth.sentCodeTypeFlashCall.md b/old_docs/API_docs_v97/constructors/auth.sentCodeTypeFlashCall.md new file mode 100644 index 00000000..0d24751d --- /dev/null +++ b/old_docs/API_docs_v97/constructors/auth.sentCodeTypeFlashCall.md @@ -0,0 +1,38 @@ +--- +title: auth.sentCodeTypeFlashCall +description: The code will be sent via a flash phone call, that will be closed immediately. The phone code will then be the phone number itself, just make sure that the phone number matches the specified pattern. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentCodeTypeFlashCall +[Back to constructors index](index.md) + + + +The code will be sent via a flash phone call, that will be closed immediately. The phone code will then be the phone number itself, just make sure that the phone number matches the specified pattern. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pattern|[string](../types/string.md) | Yes|[pattern](https://core.telegram.org/api/pattern) to match| + + + +### Type: [auth.SentCodeType](../types/auth.SentCodeType.md) + + +### Example: + +```php +$auth.sentCodeTypeFlashCall = ['_' => 'auth.sentCodeTypeFlashCall', 'pattern' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +auth.sentCodeTypeFlashCall={_='auth.sentCodeTypeFlashCall', pattern='string'} + +``` + + diff --git a/old_docs/API_docs_v97/constructors/auth.sentCodeTypeSms.md b/old_docs/API_docs_v97/constructors/auth.sentCodeTypeSms.md new file mode 100644 index 00000000..d8ecb75e --- /dev/null +++ b/old_docs/API_docs_v97/constructors/auth.sentCodeTypeSms.md @@ -0,0 +1,38 @@ +--- +title: auth.sentCodeTypeSms +description: The code was sent via SMS +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: auth.sentCodeTypeSms +[Back to constructors index](index.md) + + + +The code was sent via SMS + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|length|[int](../types/int.md) | Yes|Length of the code in bytes| + + + +### Type: [auth.SentCodeType](../types/auth.SentCodeType.md) + + +### Example: + +```php +$auth.sentCodeTypeSms = ['_' => 'auth.sentCodeTypeSms', 'length' => int]; +``` + + +Or, if you're into Lua: + +```lua +auth.sentCodeTypeSms={_='auth.sentCodeTypeSms', length=int} + +``` + + diff --git a/old_docs/API_docs_v97/constructors/auth_authorization.md b/old_docs/API_docs_v97/constructors/auth_authorization.md deleted file mode 100644 index cb72811d..00000000 --- a/old_docs/API_docs_v97/constructors/auth_authorization.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: auth.authorization -description: Contains user authorization info. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.authorization -[Back to constructors index](index.md) - - - -Contains user authorization info. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|tmp\_sessions|[int](../types/int.md) | Optional|Temporary [passport](https://core.telegram.org/passport) sessions| -|user|[User](../types/User.md) | Optional|Info on authorized user| - - - -### Type: [auth\_Authorization](../types/auth_Authorization.md) - - -### Example: - -```php -$auth_authorization = ['_' => 'auth.authorization', 'tmp_sessions' => int, 'user' => User]; -``` - - -Or, if you're into Lua: - -```lua -auth_authorization={_='auth.authorization', tmp_sessions=int, user=User} - -``` - - diff --git a/old_docs/API_docs_v97/constructors/auth_checkedPhone.md b/old_docs/API_docs_v97/constructors/auth_checkedPhone.md deleted file mode 100644 index c77becf6..00000000 --- a/old_docs/API_docs_v97/constructors/auth_checkedPhone.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.checkedPhone -description: Checked phone -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.checkedPhone -[Back to constructors index](index.md) - - - -Checked phone - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_registered|[Bool](../types/Bool.md) | Yes|Phone registered?| - - - -### Type: [auth\_CheckedPhone](../types/auth_CheckedPhone.md) - - -### Example: - -```php -$auth_checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool]; -``` - - -Or, if you're into Lua: - -```lua -auth_checkedPhone={_='auth.checkedPhone', phone_registered=Bool} - -``` - - diff --git a/old_docs/API_docs_v97/constructors/auth_codeTypeCall.md b/old_docs/API_docs_v97/constructors/auth_codeTypeCall.md deleted file mode 100644 index 3e957c2a..00000000 --- a/old_docs/API_docs_v97/constructors/auth_codeTypeCall.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: auth.codeTypeCall -description: Type of verification code that will be sent next if you call the resendCode method: SMS code -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.codeTypeCall -[Back to constructors index](index.md) - - - -Type of verification code that will be sent next if you call the resendCode method: SMS code - - - - -### Type: [auth\_CodeType](../types/auth_CodeType.md) - - -### Example: - -```php -$auth_codeTypeCall = ['_' => 'auth.codeTypeCall']; -``` - - -Or, if you're into Lua: - -```lua -auth_codeTypeCall={_='auth.codeTypeCall'} - -``` - - diff --git a/old_docs/API_docs_v97/constructors/auth_codeTypeFlashCall.md b/old_docs/API_docs_v97/constructors/auth_codeTypeFlashCall.md deleted file mode 100644 index 981b2461..00000000 --- a/old_docs/API_docs_v97/constructors/auth_codeTypeFlashCall.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: auth.codeTypeFlashCall -description: Type of verification code that will be sent next if you call the resendCode method: SMS code -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.codeTypeFlashCall -[Back to constructors index](index.md) - - - -Type of verification code that will be sent next if you call the resendCode method: SMS code - - - - -### Type: [auth\_CodeType](../types/auth_CodeType.md) - - -### Example: - -```php -$auth_codeTypeFlashCall = ['_' => 'auth.codeTypeFlashCall']; -``` - - -Or, if you're into Lua: - -```lua -auth_codeTypeFlashCall={_='auth.codeTypeFlashCall'} - -``` - - diff --git a/old_docs/API_docs_v97/constructors/auth_codeTypeSms.md b/old_docs/API_docs_v97/constructors/auth_codeTypeSms.md deleted file mode 100644 index 16eb5d0d..00000000 --- a/old_docs/API_docs_v97/constructors/auth_codeTypeSms.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: auth.codeTypeSms -description: Type of verification code that will be sent next if you call the resendCode method: SMS code -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.codeTypeSms -[Back to constructors index](index.md) - - - -Type of verification code that will be sent next if you call the resendCode method: SMS code - - - - -### Type: [auth\_CodeType](../types/auth_CodeType.md) - - -### Example: - -```php -$auth_codeTypeSms = ['_' => 'auth.codeTypeSms']; -``` - - -Or, if you're into Lua: - -```lua -auth_codeTypeSms={_='auth.codeTypeSms'} - -``` - - diff --git a/old_docs/API_docs_v97/constructors/auth_exportedAuthorization.md b/old_docs/API_docs_v97/constructors/auth_exportedAuthorization.md deleted file mode 100644 index 8d18916e..00000000 --- a/old_docs/API_docs_v97/constructors/auth_exportedAuthorization.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: auth.exportedAuthorization -description: Data for copying of authorization between data centres. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.exportedAuthorization -[Back to constructors index](index.md) - - - -Data for copying of authorization between data centres. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|id|[int](../types/int.md) | Yes|Current user identifier| -|bytes|[bytes](../types/bytes.md) | Yes|Authorizes key| - - - -### Type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) - - -### Example: - -```php -$auth_exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -auth_exportedAuthorization={_='auth.exportedAuthorization', id=int, bytes='bytes'} - -``` - - diff --git a/old_docs/API_docs_v97/constructors/auth_passwordRecovery.md b/old_docs/API_docs_v97/constructors/auth_passwordRecovery.md deleted file mode 100644 index c40f375e..00000000 --- a/old_docs/API_docs_v97/constructors/auth_passwordRecovery.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.passwordRecovery -description: Recovery info of a [2FA password](https://core.telegram.org/api/srp), only for accounts with a [recovery email configured](https://core.telegram.org/api/srp#email-verification). -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.passwordRecovery -[Back to constructors index](index.md) - - - -Recovery info of a [2FA password](https://core.telegram.org/api/srp), only for accounts with a [recovery email configured](https://core.telegram.org/api/srp#email-verification). - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|email\_pattern|[string](../types/string.md) | Yes|The email to which the recovery code was sent must match this [pattern](https://core.telegram.org/api/pattern).| - - - -### Type: [auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) - - -### Example: - -```php -$auth_passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -auth_passwordRecovery={_='auth.passwordRecovery', email_pattern='string'} - -``` - - diff --git a/old_docs/API_docs_v97/constructors/auth_sentCode.md b/old_docs/API_docs_v97/constructors/auth_sentCode.md deleted file mode 100644 index f34f844a..00000000 --- a/old_docs/API_docs_v97/constructors/auth_sentCode.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: auth.sentCode -description: Contains info about a sent verification code. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentCode -[Back to constructors index](index.md) - - - -Contains info about a sent verification code. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_registered|[Bool](../types/Bool.md) | Optional|Phone registered?| -|type|[auth\_SentCodeType](../types/auth_SentCodeType.md) | Yes|Phone code type| -|phone\_code\_hash|[string](../types/string.md) | Yes|Phone code hash, to be stored and later re-used with [auth.signIn](../methods/auth.signIn.md)| -|next\_type|[auth\_CodeType](../types/auth_CodeType.md) | Optional|Phone code type that will be sent next, if the phone code is not received within `timeout` seconds: to send it use [auth.resendCode](../methods/auth.resendCode.md)| -|timeout|[int](../types/int.md) | Optional|Timeout for reception of the phone code| -|terms\_of\_service|[help\_TermsOfService](../types/help_TermsOfService.md) | Optional|Terms of service| - - - -### Type: [auth\_SentCode](../types/auth_SentCode.md) - - -### Example: - -```php -$auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'type' => auth_SentCodeType, 'phone_code_hash' => 'string', 'next_type' => auth_CodeType, 'timeout' => int, 'terms_of_service' => help_TermsOfService]; -``` - - -Or, if you're into Lua: - -```lua -auth_sentCode={_='auth.sentCode', phone_registered=Bool, type=auth_SentCodeType, phone_code_hash='string', next_type=auth_CodeType, timeout=int, terms_of_service=help_TermsOfService} - -``` - - diff --git a/old_docs/API_docs_v97/constructors/auth_sentCodeTypeApp.md b/old_docs/API_docs_v97/constructors/auth_sentCodeTypeApp.md deleted file mode 100644 index 6b7ad824..00000000 --- a/old_docs/API_docs_v97/constructors/auth_sentCodeTypeApp.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.sentCodeTypeApp -description: The code was sent through the telegram app -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentCodeTypeApp -[Back to constructors index](index.md) - - - -The code was sent through the telegram app - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|length|[int](../types/int.md) | Yes|Length of the code in bytes| - - - -### Type: [auth\_SentCodeType](../types/auth_SentCodeType.md) - - -### Example: - -```php -$auth_sentCodeTypeApp = ['_' => 'auth.sentCodeTypeApp', 'length' => int]; -``` - - -Or, if you're into Lua: - -```lua -auth_sentCodeTypeApp={_='auth.sentCodeTypeApp', length=int} - -``` - - diff --git a/old_docs/API_docs_v97/constructors/auth_sentCodeTypeCall.md b/old_docs/API_docs_v97/constructors/auth_sentCodeTypeCall.md deleted file mode 100644 index bf025aa5..00000000 --- a/old_docs/API_docs_v97/constructors/auth_sentCodeTypeCall.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.sentCodeTypeCall -description: The code will be sent via a phone call: a synthesized voice will tell the user which verification code to input. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentCodeTypeCall -[Back to constructors index](index.md) - - - -The code will be sent via a phone call: a synthesized voice will tell the user which verification code to input. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|length|[int](../types/int.md) | Yes|Length of the verification code| - - - -### Type: [auth\_SentCodeType](../types/auth_SentCodeType.md) - - -### Example: - -```php -$auth_sentCodeTypeCall = ['_' => 'auth.sentCodeTypeCall', 'length' => int]; -``` - - -Or, if you're into Lua: - -```lua -auth_sentCodeTypeCall={_='auth.sentCodeTypeCall', length=int} - -``` - - diff --git a/old_docs/API_docs_v97/constructors/auth_sentCodeTypeFlashCall.md b/old_docs/API_docs_v97/constructors/auth_sentCodeTypeFlashCall.md deleted file mode 100644 index efe64ce7..00000000 --- a/old_docs/API_docs_v97/constructors/auth_sentCodeTypeFlashCall.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.sentCodeTypeFlashCall -description: The code will be sent via a flash phone call, that will be closed immediately. The phone code will then be the phone number itself, just make sure that the phone number matches the specified pattern. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentCodeTypeFlashCall -[Back to constructors index](index.md) - - - -The code will be sent via a flash phone call, that will be closed immediately. The phone code will then be the phone number itself, just make sure that the phone number matches the specified pattern. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pattern|[string](../types/string.md) | Yes|[pattern](https://core.telegram.org/api/pattern) to match| - - - -### Type: [auth\_SentCodeType](../types/auth_SentCodeType.md) - - -### Example: - -```php -$auth_sentCodeTypeFlashCall = ['_' => 'auth.sentCodeTypeFlashCall', 'pattern' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -auth_sentCodeTypeFlashCall={_='auth.sentCodeTypeFlashCall', pattern='string'} - -``` - - diff --git a/old_docs/API_docs_v97/constructors/auth_sentCodeTypeSms.md b/old_docs/API_docs_v97/constructors/auth_sentCodeTypeSms.md deleted file mode 100644 index 8e27dac9..00000000 --- a/old_docs/API_docs_v97/constructors/auth_sentCodeTypeSms.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: auth.sentCodeTypeSms -description: The code was sent via SMS -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: auth.sentCodeTypeSms -[Back to constructors index](index.md) - - - -The code was sent via SMS - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|length|[int](../types/int.md) | Yes|Length of the code in bytes| - - - -### Type: [auth\_SentCodeType](../types/auth_SentCodeType.md) - - -### Example: - -```php -$auth_sentCodeTypeSms = ['_' => 'auth.sentCodeTypeSms', 'length' => int]; -``` - - -Or, if you're into Lua: - -```lua -auth_sentCodeTypeSms={_='auth.sentCodeTypeSms', length=int} - -``` - - diff --git a/old_docs/API_docs_v97/constructors/channels.adminLogResults.md b/old_docs/API_docs_v97/constructors/channels.adminLogResults.md new file mode 100644 index 00000000..fc4e234a --- /dev/null +++ b/old_docs/API_docs_v97/constructors/channels.adminLogResults.md @@ -0,0 +1,40 @@ +--- +title: channels.adminLogResults +description: Admin log events +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: channels.adminLogResults +[Back to constructors index](index.md) + + + +Admin log events + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|events|Array of [ChannelAdminLogEvent](../types/ChannelAdminLogEvent.md) | Yes|Events| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [channels.AdminLogResults](../types/channels.AdminLogResults.md) + + +### Example: + +```php +$channels.adminLogResults = ['_' => 'channels.adminLogResults', 'events' => [ChannelAdminLogEvent, ChannelAdminLogEvent], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +channels.adminLogResults={_='channels.adminLogResults', events={ChannelAdminLogEvent}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v97/constructors/channels.channelParticipant.md b/old_docs/API_docs_v97/constructors/channels.channelParticipant.md new file mode 100644 index 00000000..0f09777f --- /dev/null +++ b/old_docs/API_docs_v97/constructors/channels.channelParticipant.md @@ -0,0 +1,39 @@ +--- +title: channels.channelParticipant +description: Represents a channel participant +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: channels.channelParticipant +[Back to constructors index](index.md) + + + +Represents a channel participant + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|participant|[ChannelParticipant](../types/ChannelParticipant.md) | Yes|The channel participant| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [channels.ChannelParticipant](../types/channels.ChannelParticipant.md) + + +### Example: + +```php +$channels.channelParticipant = ['_' => 'channels.channelParticipant', 'participant' => ChannelParticipant, 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +channels.channelParticipant={_='channels.channelParticipant', participant=ChannelParticipant, users={User}} + +``` + + diff --git a/old_docs/API_docs_v97/constructors/channels.channelParticipants.md b/old_docs/API_docs_v97/constructors/channels.channelParticipants.md new file mode 100644 index 00000000..6ee1a8b3 --- /dev/null +++ b/old_docs/API_docs_v97/constructors/channels.channelParticipants.md @@ -0,0 +1,40 @@ +--- +title: channels.channelParticipants +description: Represents multiple channel participants +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: channels.channelParticipants +[Back to constructors index](index.md) + + + +Represents multiple channel participants + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of participants that correspond to the given query| +|participants|Array of [ChannelParticipant](../types/ChannelParticipant.md) | Yes|Participants| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [channels.ChannelParticipants](../types/channels.ChannelParticipants.md) + + +### Example: + +```php +$channels.channelParticipants = ['_' => 'channels.channelParticipants', 'count' => int, 'participants' => [ChannelParticipant, ChannelParticipant], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +channels.channelParticipants={_='channels.channelParticipants', count=int, participants={ChannelParticipant}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v97/constructors/channels.channelParticipantsNotModified.md b/old_docs/API_docs_v97/constructors/channels.channelParticipantsNotModified.md new file mode 100644 index 00000000..37ece73a --- /dev/null +++ b/old_docs/API_docs_v97/constructors/channels.channelParticipantsNotModified.md @@ -0,0 +1,33 @@ +--- +title: channels.channelParticipantsNotModified +description: No new participant info could be found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: channels.channelParticipantsNotModified +[Back to constructors index](index.md) + + + +No new participant info could be found + + + + +### Type: [channels.ChannelParticipants](../types/channels.ChannelParticipants.md) + + +### Example: + +```php +$channels.channelParticipantsNotModified = ['_' => 'channels.channelParticipantsNotModified']; +``` + + +Or, if you're into Lua: + +```lua +channels.channelParticipantsNotModified={_='channels.channelParticipantsNotModified'} + +``` + + diff --git a/old_docs/API_docs_v97/constructors/channels_adminLogResults.md b/old_docs/API_docs_v97/constructors/channels_adminLogResults.md deleted file mode 100644 index 9061212a..00000000 --- a/old_docs/API_docs_v97/constructors/channels_adminLogResults.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: channels.adminLogResults -description: Admin log events -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: channels.adminLogResults -[Back to constructors index](index.md) - - - -Admin log events - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|events|Array of [ChannelAdminLogEvent](../types/ChannelAdminLogEvent.md) | Yes|Events| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [channels\_AdminLogResults](../types/channels_AdminLogResults.md) - - -### Example: - -```php -$channels_adminLogResults = ['_' => 'channels.adminLogResults', 'events' => [ChannelAdminLogEvent, ChannelAdminLogEvent], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -channels_adminLogResults={_='channels.adminLogResults', events={ChannelAdminLogEvent}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v97/constructors/channels_channelParticipant.md b/old_docs/API_docs_v97/constructors/channels_channelParticipant.md deleted file mode 100644 index 15fe46a4..00000000 --- a/old_docs/API_docs_v97/constructors/channels_channelParticipant.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: channels.channelParticipant -description: Represents a channel participant -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: channels.channelParticipant -[Back to constructors index](index.md) - - - -Represents a channel participant - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|participant|[ChannelParticipant](../types/ChannelParticipant.md) | Yes|The channel participant| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [channels\_ChannelParticipant](../types/channels_ChannelParticipant.md) - - -### Example: - -```php -$channels_channelParticipant = ['_' => 'channels.channelParticipant', 'participant' => ChannelParticipant, 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -channels_channelParticipant={_='channels.channelParticipant', participant=ChannelParticipant, users={User}} - -``` - - diff --git a/old_docs/API_docs_v97/constructors/channels_channelParticipants.md b/old_docs/API_docs_v97/constructors/channels_channelParticipants.md deleted file mode 100644 index 1848a04f..00000000 --- a/old_docs/API_docs_v97/constructors/channels_channelParticipants.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: channels.channelParticipants -description: Represents multiple channel participants -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: channels.channelParticipants -[Back to constructors index](index.md) - - - -Represents multiple channel participants - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of participants that correspond to the given query| -|participants|Array of [ChannelParticipant](../types/ChannelParticipant.md) | Yes|Participants| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [channels\_ChannelParticipants](../types/channels_ChannelParticipants.md) - - -### Example: - -```php -$channels_channelParticipants = ['_' => 'channels.channelParticipants', 'count' => int, 'participants' => [ChannelParticipant, ChannelParticipant], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -channels_channelParticipants={_='channels.channelParticipants', count=int, participants={ChannelParticipant}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v97/constructors/channels_channelParticipantsNotModified.md b/old_docs/API_docs_v97/constructors/channels_channelParticipantsNotModified.md deleted file mode 100644 index 800048f7..00000000 --- a/old_docs/API_docs_v97/constructors/channels_channelParticipantsNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: channels.channelParticipantsNotModified -description: No new participant info could be found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: channels.channelParticipantsNotModified -[Back to constructors index](index.md) - - - -No new participant info could be found - - - - -### Type: [channels\_ChannelParticipants](../types/channels_ChannelParticipants.md) - - -### Example: - -```php -$channels_channelParticipantsNotModified = ['_' => 'channels.channelParticipantsNotModified']; -``` - - -Or, if you're into Lua: - -```lua -channels_channelParticipantsNotModified={_='channels.channelParticipantsNotModified'} - -``` - - diff --git a/old_docs/API_docs_v97/constructors/contacts.blocked.md b/old_docs/API_docs_v97/constructors/contacts.blocked.md new file mode 100644 index 00000000..d2b3f680 --- /dev/null +++ b/old_docs/API_docs_v97/constructors/contacts.blocked.md @@ -0,0 +1,39 @@ +--- +title: contacts.blocked +description: Full list of blocked users. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.blocked +[Back to constructors index](index.md) + + + +Full list of blocked users. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Blocked](../types/contacts.Blocked.md) + + +### Example: + +```php +$contacts.blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.blocked={_='contacts.blocked', blocked={ContactBlocked}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v97/constructors/contacts.blockedSlice.md b/old_docs/API_docs_v97/constructors/contacts.blockedSlice.md new file mode 100644 index 00000000..92d19c72 --- /dev/null +++ b/old_docs/API_docs_v97/constructors/contacts.blockedSlice.md @@ -0,0 +1,40 @@ +--- +title: contacts.blockedSlice +description: Incomplete list of blocked users. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.blockedSlice +[Back to constructors index](index.md) + + + +Incomplete list of blocked users. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of elements in the list| +|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Blocked](../types/contacts.Blocked.md) + + +### Example: + +```php +$contacts.blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.blockedSlice={_='contacts.blockedSlice', count=int, blocked={ContactBlocked}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v97/constructors/contacts.contacts.md b/old_docs/API_docs_v97/constructors/contacts.contacts.md new file mode 100644 index 00000000..c3251e5d --- /dev/null +++ b/old_docs/API_docs_v97/constructors/contacts.contacts.md @@ -0,0 +1,40 @@ +--- +title: contacts.contacts +description: The current user's contact list and info on users. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.contacts +[Back to constructors index](index.md) + + + +The current user's contact list and info on users. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|contacts|Array of [Contact](../types/Contact.md) | Yes|Contacts| +|saved\_count|[int](../types/int.md) | Yes|Number of contacts that were saved successfully| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Contacts](../types/contacts.Contacts.md) + + +### Example: + +```php +$contacts.contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact, Contact], 'saved_count' => int, 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.contacts={_='contacts.contacts', contacts={Contact}, saved_count=int, users={User}} + +``` + + diff --git a/old_docs/API_docs_v97/constructors/contacts.contactsNotModified.md b/old_docs/API_docs_v97/constructors/contacts.contactsNotModified.md new file mode 100644 index 00000000..e2149396 --- /dev/null +++ b/old_docs/API_docs_v97/constructors/contacts.contactsNotModified.md @@ -0,0 +1,33 @@ +--- +title: contacts.contactsNotModified +description: Contact list on the server is the same as the list on the client. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.contactsNotModified +[Back to constructors index](index.md) + + + +Contact list on the server is the same as the list on the client. + + + + +### Type: [contacts.Contacts](../types/contacts.Contacts.md) + + +### Example: + +```php +$contacts.contactsNotModified = ['_' => 'contacts.contactsNotModified']; +``` + + +Or, if you're into Lua: + +```lua +contacts.contactsNotModified={_='contacts.contactsNotModified'} + +``` + + diff --git a/old_docs/API_docs_v97/constructors/contacts.found.md b/old_docs/API_docs_v97/constructors/contacts.found.md new file mode 100644 index 00000000..65df2f8d --- /dev/null +++ b/old_docs/API_docs_v97/constructors/contacts.found.md @@ -0,0 +1,41 @@ +--- +title: contacts.found +description: Users found by name substring and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.found +[Back to constructors index](index.md) + + + +Users found by name substring and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|my\_results|Array of [Peer](../types/Peer.md) | Yes|My results| +|results|Array of [Peer](../types/Peer.md) | Yes|Results| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.Found](../types/contacts.Found.md) + + +### Example: + +```php +$contacts.found = ['_' => 'contacts.found', 'my_results' => [Peer, Peer], 'results' => [Peer, Peer], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.found={_='contacts.found', my_results={Peer}, results={Peer}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v97/constructors/contacts.importedContacts.md b/old_docs/API_docs_v97/constructors/contacts.importedContacts.md new file mode 100644 index 00000000..20075931 --- /dev/null +++ b/old_docs/API_docs_v97/constructors/contacts.importedContacts.md @@ -0,0 +1,41 @@ +--- +title: contacts.importedContacts +description: Info on succesfully imported contacts. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.importedContacts +[Back to constructors index](index.md) + + + +Info on succesfully imported contacts. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|imported|Array of [ImportedContact](../types/ImportedContact.md) | Yes|Imported| +|popular\_invites|Array of [PopularContact](../types/PopularContact.md) | Yes|Popular invites| +|retry\_contacts|Array of [long](../types/long.md) | Yes|Retry importing contacts whose client IDs appear here| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.ImportedContacts](../types/contacts.ImportedContacts.md) + + +### Example: + +```php +$contacts.importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact, ImportedContact], 'popular_invites' => [PopularContact, PopularContact], 'retry_contacts' => [long, long], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.importedContacts={_='contacts.importedContacts', imported={ImportedContact}, popular_invites={PopularContact}, retry_contacts={long}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v97/constructors/contacts.link.md b/old_docs/API_docs_v97/constructors/contacts.link.md new file mode 100644 index 00000000..ab150a0d --- /dev/null +++ b/old_docs/API_docs_v97/constructors/contacts.link.md @@ -0,0 +1,40 @@ +--- +title: contacts.link +description: Link +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.link +[Back to constructors index](index.md) + + + +Link + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|my\_link|[ContactLink](../types/ContactLink.md) | Yes|My link| +|foreign\_link|[ContactLink](../types/ContactLink.md) | Yes|Foreign link| +|user|[User](../types/User.md) | Optional|User| + + + +### Type: [contacts.Link](../types/contacts.Link.md) + + +### Example: + +```php +$contacts.link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User]; +``` + + +Or, if you're into Lua: + +```lua +contacts.link={_='contacts.link', my_link=ContactLink, foreign_link=ContactLink, user=User} + +``` + + diff --git a/old_docs/API_docs_v97/constructors/contacts.resolvedPeer.md b/old_docs/API_docs_v97/constructors/contacts.resolvedPeer.md new file mode 100644 index 00000000..35d88481 --- /dev/null +++ b/old_docs/API_docs_v97/constructors/contacts.resolvedPeer.md @@ -0,0 +1,40 @@ +--- +title: contacts.resolvedPeer +description: Resolved peer +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.resolvedPeer +[Back to constructors index](index.md) + + + +Resolved peer + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|peer|[Peer](../types/Peer.md) | Yes|The peer| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.ResolvedPeer](../types/contacts.ResolvedPeer.md) + + +### Example: + +```php +$contacts.resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.resolvedPeer={_='contacts.resolvedPeer', peer=Peer, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v97/constructors/contacts.topPeers.md b/old_docs/API_docs_v97/constructors/contacts.topPeers.md new file mode 100644 index 00000000..19d9c712 --- /dev/null +++ b/old_docs/API_docs_v97/constructors/contacts.topPeers.md @@ -0,0 +1,40 @@ +--- +title: contacts.topPeers +description: Top peers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.topPeers +[Back to constructors index](index.md) + + + +Top peers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|categories|Array of [TopPeerCategoryPeers](../types/TopPeerCategoryPeers.md) | Yes|Categories| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [contacts.TopPeers](../types/contacts.TopPeers.md) + + +### Example: + +```php +$contacts.topPeers = ['_' => 'contacts.topPeers', 'categories' => [TopPeerCategoryPeers, TopPeerCategoryPeers], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +contacts.topPeers={_='contacts.topPeers', categories={TopPeerCategoryPeers}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v97/constructors/contacts.topPeersDisabled.md b/old_docs/API_docs_v97/constructors/contacts.topPeersDisabled.md new file mode 100644 index 00000000..a0e2c50b --- /dev/null +++ b/old_docs/API_docs_v97/constructors/contacts.topPeersDisabled.md @@ -0,0 +1,33 @@ +--- +title: contacts.topPeersDisabled +description: Top peers disabled +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.topPeersDisabled +[Back to constructors index](index.md) + + + +Top peers disabled + + + + +### Type: [contacts.TopPeers](../types/contacts.TopPeers.md) + + +### Example: + +```php +$contacts.topPeersDisabled = ['_' => 'contacts.topPeersDisabled']; +``` + + +Or, if you're into Lua: + +```lua +contacts.topPeersDisabled={_='contacts.topPeersDisabled'} + +``` + + diff --git a/old_docs/API_docs_v97/constructors/contacts.topPeersNotModified.md b/old_docs/API_docs_v97/constructors/contacts.topPeersNotModified.md new file mode 100644 index 00000000..77c5eb4d --- /dev/null +++ b/old_docs/API_docs_v97/constructors/contacts.topPeersNotModified.md @@ -0,0 +1,33 @@ +--- +title: contacts.topPeersNotModified +description: Top peer info hasn't changed +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: contacts.topPeersNotModified +[Back to constructors index](index.md) + + + +Top peer info hasn't changed + + + + +### Type: [contacts.TopPeers](../types/contacts.TopPeers.md) + + +### Example: + +```php +$contacts.topPeersNotModified = ['_' => 'contacts.topPeersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +contacts.topPeersNotModified={_='contacts.topPeersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v97/constructors/contacts_blocked.md b/old_docs/API_docs_v97/constructors/contacts_blocked.md deleted file mode 100644 index 20e33002..00000000 --- a/old_docs/API_docs_v97/constructors/contacts_blocked.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: contacts.blocked -description: Full list of blocked users. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.blocked -[Back to constructors index](index.md) - - - -Full list of blocked users. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Blocked](../types/contacts_Blocked.md) - - -### Example: - -```php -$contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_blocked={_='contacts.blocked', blocked={ContactBlocked}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v97/constructors/contacts_blockedSlice.md b/old_docs/API_docs_v97/constructors/contacts_blockedSlice.md deleted file mode 100644 index fcab9a28..00000000 --- a/old_docs/API_docs_v97/constructors/contacts_blockedSlice.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.blockedSlice -description: Incomplete list of blocked users. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.blockedSlice -[Back to constructors index](index.md) - - - -Incomplete list of blocked users. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of elements in the list| -|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Blocked](../types/contacts_Blocked.md) - - -### Example: - -```php -$contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked, ContactBlocked], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_blockedSlice={_='contacts.blockedSlice', count=int, blocked={ContactBlocked}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v97/constructors/contacts_contacts.md b/old_docs/API_docs_v97/constructors/contacts_contacts.md deleted file mode 100644 index 0e6f0dd3..00000000 --- a/old_docs/API_docs_v97/constructors/contacts_contacts.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.contacts -description: The current user's contact list and info on users. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.contacts -[Back to constructors index](index.md) - - - -The current user's contact list and info on users. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|contacts|Array of [Contact](../types/Contact.md) | Yes|Contacts| -|saved\_count|[int](../types/int.md) | Yes|Number of contacts that were saved successfully| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Contacts](../types/contacts_Contacts.md) - - -### Example: - -```php -$contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact, Contact], 'saved_count' => int, 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_contacts={_='contacts.contacts', contacts={Contact}, saved_count=int, users={User}} - -``` - - diff --git a/old_docs/API_docs_v97/constructors/contacts_contactsNotModified.md b/old_docs/API_docs_v97/constructors/contacts_contactsNotModified.md deleted file mode 100644 index 17e76ac3..00000000 --- a/old_docs/API_docs_v97/constructors/contacts_contactsNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: contacts.contactsNotModified -description: Contact list on the server is the same as the list on the client. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.contactsNotModified -[Back to constructors index](index.md) - - - -Contact list on the server is the same as the list on the client. - - - - -### Type: [contacts\_Contacts](../types/contacts_Contacts.md) - - -### Example: - -```php -$contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified']; -``` - - -Or, if you're into Lua: - -```lua -contacts_contactsNotModified={_='contacts.contactsNotModified'} - -``` - - diff --git a/old_docs/API_docs_v97/constructors/contacts_found.md b/old_docs/API_docs_v97/constructors/contacts_found.md deleted file mode 100644 index 76b9aa0c..00000000 --- a/old_docs/API_docs_v97/constructors/contacts_found.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: contacts.found -description: Users found by name substring and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.found -[Back to constructors index](index.md) - - - -Users found by name substring and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|my\_results|Array of [Peer](../types/Peer.md) | Yes|My results| -|results|Array of [Peer](../types/Peer.md) | Yes|Results| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_Found](../types/contacts_Found.md) - - -### Example: - -```php -$contacts_found = ['_' => 'contacts.found', 'my_results' => [Peer, Peer], 'results' => [Peer, Peer], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_found={_='contacts.found', my_results={Peer}, results={Peer}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v97/constructors/contacts_importedContacts.md b/old_docs/API_docs_v97/constructors/contacts_importedContacts.md deleted file mode 100644 index e534754b..00000000 --- a/old_docs/API_docs_v97/constructors/contacts_importedContacts.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: contacts.importedContacts -description: Info on succesfully imported contacts. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.importedContacts -[Back to constructors index](index.md) - - - -Info on succesfully imported contacts. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|imported|Array of [ImportedContact](../types/ImportedContact.md) | Yes|Imported| -|popular\_invites|Array of [PopularContact](../types/PopularContact.md) | Yes|Popular invites| -|retry\_contacts|Array of [long](../types/long.md) | Yes|Retry importing contacts whose client IDs appear here| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) - - -### Example: - -```php -$contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact, ImportedContact], 'popular_invites' => [PopularContact, PopularContact], 'retry_contacts' => [long, long], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_importedContacts={_='contacts.importedContacts', imported={ImportedContact}, popular_invites={PopularContact}, retry_contacts={long}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v97/constructors/contacts_link.md b/old_docs/API_docs_v97/constructors/contacts_link.md deleted file mode 100644 index cfc566c7..00000000 --- a/old_docs/API_docs_v97/constructors/contacts_link.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.link -description: Link -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.link -[Back to constructors index](index.md) - - - -Link - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|my\_link|[ContactLink](../types/ContactLink.md) | Yes|My link| -|foreign\_link|[ContactLink](../types/ContactLink.md) | Yes|Foreign link| -|user|[User](../types/User.md) | Optional|User| - - - -### Type: [contacts\_Link](../types/contacts_Link.md) - - -### Example: - -```php -$contacts_link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User]; -``` - - -Or, if you're into Lua: - -```lua -contacts_link={_='contacts.link', my_link=ContactLink, foreign_link=ContactLink, user=User} - -``` - - diff --git a/old_docs/API_docs_v97/constructors/contacts_resolvedPeer.md b/old_docs/API_docs_v97/constructors/contacts_resolvedPeer.md deleted file mode 100644 index aae3c7af..00000000 --- a/old_docs/API_docs_v97/constructors/contacts_resolvedPeer.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.resolvedPeer -description: Resolved peer -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.resolvedPeer -[Back to constructors index](index.md) - - - -Resolved peer - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|peer|[Peer](../types/Peer.md) | Yes|The peer| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_ResolvedPeer](../types/contacts_ResolvedPeer.md) - - -### Example: - -```php -$contacts_resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_resolvedPeer={_='contacts.resolvedPeer', peer=Peer, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v97/constructors/contacts_topPeers.md b/old_docs/API_docs_v97/constructors/contacts_topPeers.md deleted file mode 100644 index 77bc07d3..00000000 --- a/old_docs/API_docs_v97/constructors/contacts_topPeers.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: contacts.topPeers -description: Top peers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.topPeers -[Back to constructors index](index.md) - - - -Top peers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|categories|Array of [TopPeerCategoryPeers](../types/TopPeerCategoryPeers.md) | Yes|Categories| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [contacts\_TopPeers](../types/contacts_TopPeers.md) - - -### Example: - -```php -$contacts_topPeers = ['_' => 'contacts.topPeers', 'categories' => [TopPeerCategoryPeers, TopPeerCategoryPeers], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -contacts_topPeers={_='contacts.topPeers', categories={TopPeerCategoryPeers}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v97/constructors/contacts_topPeersDisabled.md b/old_docs/API_docs_v97/constructors/contacts_topPeersDisabled.md deleted file mode 100644 index e359a76d..00000000 --- a/old_docs/API_docs_v97/constructors/contacts_topPeersDisabled.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: contacts.topPeersDisabled -description: Top peers disabled -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.topPeersDisabled -[Back to constructors index](index.md) - - - -Top peers disabled - - - - -### Type: [contacts\_TopPeers](../types/contacts_TopPeers.md) - - -### Example: - -```php -$contacts_topPeersDisabled = ['_' => 'contacts.topPeersDisabled']; -``` - - -Or, if you're into Lua: - -```lua -contacts_topPeersDisabled={_='contacts.topPeersDisabled'} - -``` - - diff --git a/old_docs/API_docs_v97/constructors/contacts_topPeersNotModified.md b/old_docs/API_docs_v97/constructors/contacts_topPeersNotModified.md deleted file mode 100644 index 43eae59d..00000000 --- a/old_docs/API_docs_v97/constructors/contacts_topPeersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: contacts.topPeersNotModified -description: Top peer info hasn't changed -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: contacts.topPeersNotModified -[Back to constructors index](index.md) - - - -Top peer info hasn't changed - - - - -### Type: [contacts\_TopPeers](../types/contacts_TopPeers.md) - - -### Example: - -```php -$contacts_topPeersNotModified = ['_' => 'contacts.topPeersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -contacts_topPeersNotModified={_='contacts.topPeersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v97/constructors/help.appUpdate.md b/old_docs/API_docs_v97/constructors/help.appUpdate.md new file mode 100644 index 00000000..90b41636 --- /dev/null +++ b/old_docs/API_docs_v97/constructors/help.appUpdate.md @@ -0,0 +1,44 @@ +--- +title: help.appUpdate +description: An update is available for the application. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.appUpdate +[Back to constructors index](index.md) + + + +An update is available for the application. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|popup|[Bool](../types/Bool.md) | Optional|Popup?| +|id|[int](../types/int.md) | Yes|Update ID| +|version|[string](../types/string.md) | Yes|New version name| +|text|[string](../types/string.md) | Yes|Text description of the update| +|entities|Array of [MessageEntity](../types/MessageEntity.md) | Yes|Entities| +|document|[Document](../types/Document.md) | Optional|Attached document| +|url|[string](../types/string.md) | Optional|Application download URL| + + + +### Type: [help.AppUpdate](../types/help.AppUpdate.md) + + +### Example: + +```php +$help.appUpdate = ['_' => 'help.appUpdate', 'popup' => Bool, 'id' => int, 'version' => 'string', 'text' => 'string', 'entities' => [MessageEntity, MessageEntity], 'document' => Document, 'url' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +help.appUpdate={_='help.appUpdate', popup=Bool, id=int, version='string', text='string', entities={MessageEntity}, document=Document, url='string'} + +``` + + diff --git a/old_docs/API_docs_v97/constructors/help.configSimple.md b/old_docs/API_docs_v97/constructors/help.configSimple.md new file mode 100644 index 00000000..4070e1ce --- /dev/null +++ b/old_docs/API_docs_v97/constructors/help.configSimple.md @@ -0,0 +1,40 @@ +--- +title: help.configSimple +description: Config simple +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.configSimple +[Back to constructors index](index.md) + + + +Config simple + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Date| +|expires|[int](../types/int.md) | Yes|Expires| +|rules|Array of [AccessPointRule](../types/AccessPointRule.md) | Yes|Rules| + + + +### Type: [help.ConfigSimple](../types/help.ConfigSimple.md) + + +### Example: + +```php +$help.configSimple = ['_' => 'help.configSimple', 'date' => int, 'expires' => int, 'rules' => [AccessPointRule, AccessPointRule]]; +``` + + +Or, if you're into Lua: + +```lua +help.configSimple={_='help.configSimple', date=int, expires=int, rules={AccessPointRule}} + +``` + + diff --git a/old_docs/API_docs_v97/constructors/help.deepLinkInfo.md b/old_docs/API_docs_v97/constructors/help.deepLinkInfo.md new file mode 100644 index 00000000..78f70af0 --- /dev/null +++ b/old_docs/API_docs_v97/constructors/help.deepLinkInfo.md @@ -0,0 +1,40 @@ +--- +title: help.deepLinkInfo +description: Deep linking info +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.deepLinkInfo +[Back to constructors index](index.md) + + + +Deep linking info + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|update\_app|[Bool](../types/Bool.md) | Optional|An update of the app is required to parse this link| +|message|[string](../types/string.md) | Yes|Message to show to the user| +|entities|Array of [MessageEntity](../types/MessageEntity.md) | Optional|Entities| + + + +### Type: [help.DeepLinkInfo](../types/help.DeepLinkInfo.md) + + +### Example: + +```php +$help.deepLinkInfo = ['_' => 'help.deepLinkInfo', 'update_app' => Bool, 'message' => 'string', 'entities' => [MessageEntity, MessageEntity]]; +``` + + +Or, if you're into Lua: + +```lua +help.deepLinkInfo={_='help.deepLinkInfo', update_app=Bool, message='string', entities={MessageEntity}} + +``` + + diff --git a/old_docs/API_docs_v97/constructors/help.deepLinkInfoEmpty.md b/old_docs/API_docs_v97/constructors/help.deepLinkInfoEmpty.md new file mode 100644 index 00000000..dc99166c --- /dev/null +++ b/old_docs/API_docs_v97/constructors/help.deepLinkInfoEmpty.md @@ -0,0 +1,33 @@ +--- +title: help.deepLinkInfoEmpty +description: Deep link info empty +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.deepLinkInfoEmpty +[Back to constructors index](index.md) + + + +Deep link info empty + + + + +### Type: [help.DeepLinkInfo](../types/help.DeepLinkInfo.md) + + +### Example: + +```php +$help.deepLinkInfoEmpty = ['_' => 'help.deepLinkInfoEmpty']; +``` + + +Or, if you're into Lua: + +```lua +help.deepLinkInfoEmpty={_='help.deepLinkInfoEmpty'} + +``` + + diff --git a/old_docs/API_docs_v97/constructors/help.inviteText.md b/old_docs/API_docs_v97/constructors/help.inviteText.md new file mode 100644 index 00000000..6a6261c1 --- /dev/null +++ b/old_docs/API_docs_v97/constructors/help.inviteText.md @@ -0,0 +1,38 @@ +--- +title: help.inviteText +description: Text of a text message with an invitation to install application. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.inviteText +[Back to constructors index](index.md) + + + +Text of a text message with an invitation to install application. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|message|[string](../types/string.md) | Yes|Text of a message| + + + +### Type: [help.InviteText](../types/help.InviteText.md) + + +### Example: + +```php +$help.inviteText = ['_' => 'help.inviteText', 'message' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +help.inviteText={_='help.inviteText', message='string'} + +``` + + diff --git a/old_docs/API_docs_v97/constructors/help.noAppUpdate.md b/old_docs/API_docs_v97/constructors/help.noAppUpdate.md new file mode 100644 index 00000000..1b69ac9a --- /dev/null +++ b/old_docs/API_docs_v97/constructors/help.noAppUpdate.md @@ -0,0 +1,33 @@ +--- +title: help.noAppUpdate +description: No updates are available for the application. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.noAppUpdate +[Back to constructors index](index.md) + + + +No updates are available for the application. + + + + +### Type: [help.AppUpdate](../types/help.AppUpdate.md) + + +### Example: + +```php +$help.noAppUpdate = ['_' => 'help.noAppUpdate']; +``` + + +Or, if you're into Lua: + +```lua +help.noAppUpdate={_='help.noAppUpdate'} + +``` + + diff --git a/old_docs/API_docs_v97/constructors/help.passportConfig.md b/old_docs/API_docs_v97/constructors/help.passportConfig.md new file mode 100644 index 00000000..b418b611 --- /dev/null +++ b/old_docs/API_docs_v97/constructors/help.passportConfig.md @@ -0,0 +1,39 @@ +--- +title: help.passportConfig +description: Telegram [passport](https://core.telegram.org/passport) configuration +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.passportConfig +[Back to constructors index](index.md) + + + +Telegram [passport](https://core.telegram.org/passport) configuration + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|countries\_langs|[DataJSON](../types/DataJSON.md) | Yes|Localization| + + + +### Type: [help.PassportConfig](../types/help.PassportConfig.md) + + +### Example: + +```php +$help.passportConfig = ['_' => 'help.passportConfig', 'hash' => int, 'countries_langs' => DataJSON]; +``` + + +Or, if you're into Lua: + +```lua +help.passportConfig={_='help.passportConfig', hash=int, countries_langs=DataJSON} + +``` + + diff --git a/old_docs/API_docs_v97/constructors/help.passportConfigNotModified.md b/old_docs/API_docs_v97/constructors/help.passportConfigNotModified.md new file mode 100644 index 00000000..d48cc55b --- /dev/null +++ b/old_docs/API_docs_v97/constructors/help.passportConfigNotModified.md @@ -0,0 +1,33 @@ +--- +title: help.passportConfigNotModified +description: Password configuration not modified +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.passportConfigNotModified +[Back to constructors index](index.md) + + + +Password configuration not modified + + + + +### Type: [help.PassportConfig](../types/help.PassportConfig.md) + + +### Example: + +```php +$help.passportConfigNotModified = ['_' => 'help.passportConfigNotModified']; +``` + + +Or, if you're into Lua: + +```lua +help.passportConfigNotModified={_='help.passportConfigNotModified'} + +``` + + diff --git a/old_docs/API_docs_v97/constructors/help.proxyDataEmpty.md b/old_docs/API_docs_v97/constructors/help.proxyDataEmpty.md new file mode 100644 index 00000000..66fd63ac --- /dev/null +++ b/old_docs/API_docs_v97/constructors/help.proxyDataEmpty.md @@ -0,0 +1,38 @@ +--- +title: help.proxyDataEmpty +description: No proxy was used to connect to tg (or none was provided to [initConnection](../methods/initConnection.md), or the used proxy doesn't have a promotion channel associated to it) +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.proxyDataEmpty +[Back to constructors index](index.md) + + + +No proxy was used to connect to tg (or none was provided to [initConnection](../methods/initConnection.md), or the used proxy doesn't have a promotion channel associated to it) + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|expires|[int](../types/int.md) | Yes|Expiration date of proxy info, will have to be refetched in `expires` seconds| + + + +### Type: [help.ProxyData](../types/help.ProxyData.md) + + +### Example: + +```php +$help.proxyDataEmpty = ['_' => 'help.proxyDataEmpty', 'expires' => int]; +``` + + +Or, if you're into Lua: + +```lua +help.proxyDataEmpty={_='help.proxyDataEmpty', expires=int} + +``` + + diff --git a/old_docs/API_docs_v97/constructors/help.proxyDataPromo.md b/old_docs/API_docs_v97/constructors/help.proxyDataPromo.md new file mode 100644 index 00000000..eb32aabd --- /dev/null +++ b/old_docs/API_docs_v97/constructors/help.proxyDataPromo.md @@ -0,0 +1,41 @@ +--- +title: help.proxyDataPromo +description: Promotion channel associated to a certain MTProxy +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.proxyDataPromo +[Back to constructors index](index.md) + + + +Promotion channel associated to a certain MTProxy + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|expires|[int](../types/int.md) | Yes|Expiration date of proxy info, will have to be refetched in `expires` seconds| +|peer|[Peer](../types/Peer.md) | Yes|The promoted channel| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [help.ProxyData](../types/help.ProxyData.md) + + +### Example: + +```php +$help.proxyDataPromo = ['_' => 'help.proxyDataPromo', 'expires' => int, 'peer' => Peer, 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +help.proxyDataPromo={_='help.proxyDataPromo', expires=int, peer=Peer, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v97/constructors/help.recentMeUrls.md b/old_docs/API_docs_v97/constructors/help.recentMeUrls.md new file mode 100644 index 00000000..711407b7 --- /dev/null +++ b/old_docs/API_docs_v97/constructors/help.recentMeUrls.md @@ -0,0 +1,40 @@ +--- +title: help.recentMeUrls +description: Recent t.me URLs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.recentMeUrls +[Back to constructors index](index.md) + + + +Recent t.me URLs + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|urls|Array of [RecentMeUrl](../types/RecentMeUrl.md) | Yes|URLs| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [help.RecentMeUrls](../types/help.RecentMeUrls.md) + + +### Example: + +```php +$help.recentMeUrls = ['_' => 'help.recentMeUrls', 'urls' => [RecentMeUrl, RecentMeUrl], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +help.recentMeUrls={_='help.recentMeUrls', urls={RecentMeUrl}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v97/constructors/help.support.md b/old_docs/API_docs_v97/constructors/help.support.md new file mode 100644 index 00000000..4d4f85fb --- /dev/null +++ b/old_docs/API_docs_v97/constructors/help.support.md @@ -0,0 +1,39 @@ +--- +title: help.support +description: Info on support user. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.support +[Back to constructors index](index.md) + + + +Info on support user. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_number|[string](../types/string.md) | Yes|Phone number| +|user|[User](../types/User.md) | Optional|User| + + + +### Type: [help.Support](../types/help.Support.md) + + +### Example: + +```php +$help.support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => User]; +``` + + +Or, if you're into Lua: + +```lua +help.support={_='help.support', phone_number='string', user=User} + +``` + + diff --git a/old_docs/API_docs_v97/constructors/help.supportName.md b/old_docs/API_docs_v97/constructors/help.supportName.md new file mode 100644 index 00000000..3d66c8d9 --- /dev/null +++ b/old_docs/API_docs_v97/constructors/help.supportName.md @@ -0,0 +1,38 @@ +--- +title: help.supportName +description: Localized name for telegram support +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.supportName +[Back to constructors index](index.md) + + + +Localized name for telegram support + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|name|[string](../types/string.md) | Yes|Localized name| + + + +### Type: [help.SupportName](../types/help.SupportName.md) + + +### Example: + +```php +$help.supportName = ['_' => 'help.supportName', 'name' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +help.supportName={_='help.supportName', name='string'} + +``` + + diff --git a/old_docs/API_docs_v97/constructors/help.termsOfService.md b/old_docs/API_docs_v97/constructors/help.termsOfService.md new file mode 100644 index 00000000..61ffb70a --- /dev/null +++ b/old_docs/API_docs_v97/constructors/help.termsOfService.md @@ -0,0 +1,42 @@ +--- +title: help.termsOfService +description: Info about the latest telegram Terms Of Service +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.termsOfService +[Back to constructors index](index.md) + + + +Info about the latest telegram Terms Of Service + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|popup|[Bool](../types/Bool.md) | Optional|Whether a prompt must be showed to the user, in order to accept the new terms.| +|id|[DataJSON](../types/DataJSON.md) | Yes|ID of the new terms| +|text|[string](../types/string.md) | Yes|Text of the new terms| +|entities|Array of [MessageEntity](../types/MessageEntity.md) | Yes|Entities| +|min\_age\_confirm|[int](../types/int.md) | Optional|Minimum age required to sign up to telegram, the user must confirm that they is older than the minimum age.| + + + +### Type: [help.TermsOfService](../types/help.TermsOfService.md) + + +### Example: + +```php +$help.termsOfService = ['_' => 'help.termsOfService', 'popup' => Bool, 'id' => DataJSON, 'text' => 'string', 'entities' => [MessageEntity, MessageEntity], 'min_age_confirm' => int]; +``` + + +Or, if you're into Lua: + +```lua +help.termsOfService={_='help.termsOfService', popup=Bool, id=DataJSON, text='string', entities={MessageEntity}, min_age_confirm=int} + +``` + + diff --git a/old_docs/API_docs_v97/constructors/help.termsOfServiceUpdate.md b/old_docs/API_docs_v97/constructors/help.termsOfServiceUpdate.md new file mode 100644 index 00000000..058a3655 --- /dev/null +++ b/old_docs/API_docs_v97/constructors/help.termsOfServiceUpdate.md @@ -0,0 +1,39 @@ +--- +title: help.termsOfServiceUpdate +description: Info about an update of telegram's terms of service. If the terms of service are declined, then the [account.deleteAccount](../methods/account.deleteAccount.md) method should be called with the reason "Decline ToS update" +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.termsOfServiceUpdate +[Back to constructors index](index.md) + + + +Info about an update of telegram's terms of service. If the terms of service are declined, then the [account.deleteAccount](../methods/account.deleteAccount.md) method should be called with the reason "Decline ToS update" + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|expires|[int](../types/int.md) | Yes|New TOS updates will have to be queried using [help.getTermsOfServiceUpdate](../methods/help.getTermsOfServiceUpdate.md) in `expires` seconds| +|terms\_of\_service|[help.TermsOfService](../constructors/help.TermsOfService.md) | Yes|New terms of service| + + + +### Type: [help.TermsOfServiceUpdate](../types/help.TermsOfServiceUpdate.md) + + +### Example: + +```php +$help.termsOfServiceUpdate = ['_' => 'help.termsOfServiceUpdate', 'expires' => int, 'terms_of_service' => help.TermsOfService]; +``` + + +Or, if you're into Lua: + +```lua +help.termsOfServiceUpdate={_='help.termsOfServiceUpdate', expires=int, terms_of_service=help.TermsOfService} + +``` + + diff --git a/old_docs/API_docs_v97/constructors/help.termsOfServiceUpdateEmpty.md b/old_docs/API_docs_v97/constructors/help.termsOfServiceUpdateEmpty.md new file mode 100644 index 00000000..8213a41e --- /dev/null +++ b/old_docs/API_docs_v97/constructors/help.termsOfServiceUpdateEmpty.md @@ -0,0 +1,38 @@ +--- +title: help.termsOfServiceUpdateEmpty +description: No changes were made to telegram's terms of service +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.termsOfServiceUpdateEmpty +[Back to constructors index](index.md) + + + +No changes were made to telegram's terms of service + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|expires|[int](../types/int.md) | Yes|New TOS updates will have to be queried using [help.getTermsOfServiceUpdate](../methods/help.getTermsOfServiceUpdate.md) in `expires` seconds| + + + +### Type: [help.TermsOfServiceUpdate](../types/help.TermsOfServiceUpdate.md) + + +### Example: + +```php +$help.termsOfServiceUpdateEmpty = ['_' => 'help.termsOfServiceUpdateEmpty', 'expires' => int]; +``` + + +Or, if you're into Lua: + +```lua +help.termsOfServiceUpdateEmpty={_='help.termsOfServiceUpdateEmpty', expires=int} + +``` + + diff --git a/old_docs/API_docs_v97/constructors/help.userInfo.md b/old_docs/API_docs_v97/constructors/help.userInfo.md new file mode 100644 index 00000000..172df165 --- /dev/null +++ b/old_docs/API_docs_v97/constructors/help.userInfo.md @@ -0,0 +1,41 @@ +--- +title: help.userInfo +description: Internal use +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.userInfo +[Back to constructors index](index.md) + + + +Internal use + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|message|[string](../types/string.md) | Yes|Info| +|entities|Array of [MessageEntity](../types/MessageEntity.md) | Yes|Entities| +|author|[string](../types/string.md) | Yes|Author| +|date|[int](../types/int.md) | Yes|Date| + + + +### Type: [help.UserInfo](../types/help.UserInfo.md) + + +### Example: + +```php +$help.userInfo = ['_' => 'help.userInfo', 'message' => 'string', 'entities' => [MessageEntity, MessageEntity], 'author' => 'string', 'date' => int]; +``` + + +Or, if you're into Lua: + +```lua +help.userInfo={_='help.userInfo', message='string', entities={MessageEntity}, author='string', date=int} + +``` + + diff --git a/old_docs/API_docs_v97/constructors/help.userInfoEmpty.md b/old_docs/API_docs_v97/constructors/help.userInfoEmpty.md new file mode 100644 index 00000000..c284d602 --- /dev/null +++ b/old_docs/API_docs_v97/constructors/help.userInfoEmpty.md @@ -0,0 +1,33 @@ +--- +title: help.userInfoEmpty +description: Internal use +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: help.userInfoEmpty +[Back to constructors index](index.md) + + + +Internal use + + + + +### Type: [help.UserInfo](../types/help.UserInfo.md) + + +### Example: + +```php +$help.userInfoEmpty = ['_' => 'help.userInfoEmpty']; +``` + + +Or, if you're into Lua: + +```lua +help.userInfoEmpty={_='help.userInfoEmpty'} + +``` + + diff --git a/old_docs/API_docs_v97/constructors/help_appUpdate.md b/old_docs/API_docs_v97/constructors/help_appUpdate.md deleted file mode 100644 index 67960b34..00000000 --- a/old_docs/API_docs_v97/constructors/help_appUpdate.md +++ /dev/null @@ -1,44 +0,0 @@ ---- -title: help.appUpdate -description: An update is available for the application. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.appUpdate -[Back to constructors index](index.md) - - - -An update is available for the application. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|popup|[Bool](../types/Bool.md) | Optional|Popup?| -|id|[int](../types/int.md) | Yes|Update ID| -|version|[string](../types/string.md) | Yes|New version name| -|text|[string](../types/string.md) | Yes|Text description of the update| -|entities|Array of [MessageEntity](../types/MessageEntity.md) | Yes|Entities| -|document|[Document](../types/Document.md) | Optional|Attached document| -|url|[string](../types/string.md) | Optional|Application download URL| - - - -### Type: [help\_AppUpdate](../types/help_AppUpdate.md) - - -### Example: - -```php -$help_appUpdate = ['_' => 'help.appUpdate', 'popup' => Bool, 'id' => int, 'version' => 'string', 'text' => 'string', 'entities' => [MessageEntity, MessageEntity], 'document' => Document, 'url' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -help_appUpdate={_='help.appUpdate', popup=Bool, id=int, version='string', text='string', entities={MessageEntity}, document=Document, url='string'} - -``` - - diff --git a/old_docs/API_docs_v97/constructors/help_configSimple.md b/old_docs/API_docs_v97/constructors/help_configSimple.md deleted file mode 100644 index 8c07ec9b..00000000 --- a/old_docs/API_docs_v97/constructors/help_configSimple.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: help.configSimple -description: Config simple -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.configSimple -[Back to constructors index](index.md) - - - -Config simple - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Date| -|expires|[int](../types/int.md) | Yes|Expires| -|rules|Array of [AccessPointRule](../types/AccessPointRule.md) | Yes|Rules| - - - -### Type: [help\_ConfigSimple](../types/help_ConfigSimple.md) - - -### Example: - -```php -$help_configSimple = ['_' => 'help.configSimple', 'date' => int, 'expires' => int, 'rules' => [AccessPointRule, AccessPointRule]]; -``` - - -Or, if you're into Lua: - -```lua -help_configSimple={_='help.configSimple', date=int, expires=int, rules={AccessPointRule}} - -``` - - diff --git a/old_docs/API_docs_v97/constructors/help_deepLinkInfo.md b/old_docs/API_docs_v97/constructors/help_deepLinkInfo.md deleted file mode 100644 index bcc24ecd..00000000 --- a/old_docs/API_docs_v97/constructors/help_deepLinkInfo.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: help.deepLinkInfo -description: Deep linking info -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.deepLinkInfo -[Back to constructors index](index.md) - - - -Deep linking info - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|update\_app|[Bool](../types/Bool.md) | Optional|An update of the app is required to parse this link| -|message|[string](../types/string.md) | Yes|Message to show to the user| -|entities|Array of [MessageEntity](../types/MessageEntity.md) | Optional|Entities| - - - -### Type: [help\_DeepLinkInfo](../types/help_DeepLinkInfo.md) - - -### Example: - -```php -$help_deepLinkInfo = ['_' => 'help.deepLinkInfo', 'update_app' => Bool, 'message' => 'string', 'entities' => [MessageEntity, MessageEntity]]; -``` - - -Or, if you're into Lua: - -```lua -help_deepLinkInfo={_='help.deepLinkInfo', update_app=Bool, message='string', entities={MessageEntity}} - -``` - - diff --git a/old_docs/API_docs_v97/constructors/help_deepLinkInfoEmpty.md b/old_docs/API_docs_v97/constructors/help_deepLinkInfoEmpty.md deleted file mode 100644 index ab876dd5..00000000 --- a/old_docs/API_docs_v97/constructors/help_deepLinkInfoEmpty.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: help.deepLinkInfoEmpty -description: Deep link info empty -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.deepLinkInfoEmpty -[Back to constructors index](index.md) - - - -Deep link info empty - - - - -### Type: [help\_DeepLinkInfo](../types/help_DeepLinkInfo.md) - - -### Example: - -```php -$help_deepLinkInfoEmpty = ['_' => 'help.deepLinkInfoEmpty']; -``` - - -Or, if you're into Lua: - -```lua -help_deepLinkInfoEmpty={_='help.deepLinkInfoEmpty'} - -``` - - diff --git a/old_docs/API_docs_v97/constructors/help_inviteText.md b/old_docs/API_docs_v97/constructors/help_inviteText.md deleted file mode 100644 index b8317ce3..00000000 --- a/old_docs/API_docs_v97/constructors/help_inviteText.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: help.inviteText -description: Text of a text message with an invitation to install application. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.inviteText -[Back to constructors index](index.md) - - - -Text of a text message with an invitation to install application. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|message|[string](../types/string.md) | Yes|Text of a message| - - - -### Type: [help\_InviteText](../types/help_InviteText.md) - - -### Example: - -```php -$help_inviteText = ['_' => 'help.inviteText', 'message' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -help_inviteText={_='help.inviteText', message='string'} - -``` - - diff --git a/old_docs/API_docs_v97/constructors/help_noAppUpdate.md b/old_docs/API_docs_v97/constructors/help_noAppUpdate.md deleted file mode 100644 index 51505e52..00000000 --- a/old_docs/API_docs_v97/constructors/help_noAppUpdate.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: help.noAppUpdate -description: No updates are available for the application. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.noAppUpdate -[Back to constructors index](index.md) - - - -No updates are available for the application. - - - - -### Type: [help\_AppUpdate](../types/help_AppUpdate.md) - - -### Example: - -```php -$help_noAppUpdate = ['_' => 'help.noAppUpdate']; -``` - - -Or, if you're into Lua: - -```lua -help_noAppUpdate={_='help.noAppUpdate'} - -``` - - diff --git a/old_docs/API_docs_v97/constructors/help_passportConfig.md b/old_docs/API_docs_v97/constructors/help_passportConfig.md deleted file mode 100644 index 9722c925..00000000 --- a/old_docs/API_docs_v97/constructors/help_passportConfig.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: help.passportConfig -description: Telegram [passport](https://core.telegram.org/passport) configuration -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.passportConfig -[Back to constructors index](index.md) - - - -Telegram [passport](https://core.telegram.org/passport) configuration - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|countries\_langs|[DataJSON](../types/DataJSON.md) | Yes|Localization| - - - -### Type: [help\_PassportConfig](../types/help_PassportConfig.md) - - -### Example: - -```php -$help_passportConfig = ['_' => 'help.passportConfig', 'hash' => int, 'countries_langs' => DataJSON]; -``` - - -Or, if you're into Lua: - -```lua -help_passportConfig={_='help.passportConfig', hash=int, countries_langs=DataJSON} - -``` - - diff --git a/old_docs/API_docs_v97/constructors/help_passportConfigNotModified.md b/old_docs/API_docs_v97/constructors/help_passportConfigNotModified.md deleted file mode 100644 index af7769aa..00000000 --- a/old_docs/API_docs_v97/constructors/help_passportConfigNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: help.passportConfigNotModified -description: Password configuration not modified -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.passportConfigNotModified -[Back to constructors index](index.md) - - - -Password configuration not modified - - - - -### Type: [help\_PassportConfig](../types/help_PassportConfig.md) - - -### Example: - -```php -$help_passportConfigNotModified = ['_' => 'help.passportConfigNotModified']; -``` - - -Or, if you're into Lua: - -```lua -help_passportConfigNotModified={_='help.passportConfigNotModified'} - -``` - - diff --git a/old_docs/API_docs_v97/constructors/help_proxyDataEmpty.md b/old_docs/API_docs_v97/constructors/help_proxyDataEmpty.md deleted file mode 100644 index 96efddd3..00000000 --- a/old_docs/API_docs_v97/constructors/help_proxyDataEmpty.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: help.proxyDataEmpty -description: No proxy was used to connect to tg (or none was provided to [initConnection](../methods/initConnection.md), or the used proxy doesn't have a promotion channel associated to it) -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.proxyDataEmpty -[Back to constructors index](index.md) - - - -No proxy was used to connect to tg (or none was provided to [initConnection](../methods/initConnection.md), or the used proxy doesn't have a promotion channel associated to it) - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|expires|[int](../types/int.md) | Yes|Expiration date of proxy info, will have to be refetched in `expires` seconds| - - - -### Type: [help\_ProxyData](../types/help_ProxyData.md) - - -### Example: - -```php -$help_proxyDataEmpty = ['_' => 'help.proxyDataEmpty', 'expires' => int]; -``` - - -Or, if you're into Lua: - -```lua -help_proxyDataEmpty={_='help.proxyDataEmpty', expires=int} - -``` - - diff --git a/old_docs/API_docs_v97/constructors/help_proxyDataPromo.md b/old_docs/API_docs_v97/constructors/help_proxyDataPromo.md deleted file mode 100644 index 54ca7edb..00000000 --- a/old_docs/API_docs_v97/constructors/help_proxyDataPromo.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: help.proxyDataPromo -description: Promotion channel associated to a certain MTProxy -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.proxyDataPromo -[Back to constructors index](index.md) - - - -Promotion channel associated to a certain MTProxy - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|expires|[int](../types/int.md) | Yes|Expiration date of proxy info, will have to be refetched in `expires` seconds| -|peer|[Peer](../types/Peer.md) | Yes|The promoted channel| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [help\_ProxyData](../types/help_ProxyData.md) - - -### Example: - -```php -$help_proxyDataPromo = ['_' => 'help.proxyDataPromo', 'expires' => int, 'peer' => Peer, 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -help_proxyDataPromo={_='help.proxyDataPromo', expires=int, peer=Peer, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v97/constructors/help_recentMeUrls.md b/old_docs/API_docs_v97/constructors/help_recentMeUrls.md deleted file mode 100644 index 7bf592ef..00000000 --- a/old_docs/API_docs_v97/constructors/help_recentMeUrls.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: help.recentMeUrls -description: Recent t.me URLs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.recentMeUrls -[Back to constructors index](index.md) - - - -Recent t.me URLs - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|urls|Array of [RecentMeUrl](../types/RecentMeUrl.md) | Yes|URLs| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [help\_RecentMeUrls](../types/help_RecentMeUrls.md) - - -### Example: - -```php -$help_recentMeUrls = ['_' => 'help.recentMeUrls', 'urls' => [RecentMeUrl, RecentMeUrl], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -help_recentMeUrls={_='help.recentMeUrls', urls={RecentMeUrl}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v97/constructors/help_support.md b/old_docs/API_docs_v97/constructors/help_support.md deleted file mode 100644 index 148f7f42..00000000 --- a/old_docs/API_docs_v97/constructors/help_support.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: help.support -description: Info on support user. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.support -[Back to constructors index](index.md) - - - -Info on support user. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_number|[string](../types/string.md) | Yes|Phone number| -|user|[User](../types/User.md) | Optional|User| - - - -### Type: [help\_Support](../types/help_Support.md) - - -### Example: - -```php -$help_support = ['_' => 'help.support', 'phone_number' => 'string', 'user' => User]; -``` - - -Or, if you're into Lua: - -```lua -help_support={_='help.support', phone_number='string', user=User} - -``` - - diff --git a/old_docs/API_docs_v97/constructors/help_supportName.md b/old_docs/API_docs_v97/constructors/help_supportName.md deleted file mode 100644 index b4bc77d4..00000000 --- a/old_docs/API_docs_v97/constructors/help_supportName.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: help.supportName -description: Localized name for telegram support -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.supportName -[Back to constructors index](index.md) - - - -Localized name for telegram support - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|name|[string](../types/string.md) | Yes|Localized name| - - - -### Type: [help\_SupportName](../types/help_SupportName.md) - - -### Example: - -```php -$help_supportName = ['_' => 'help.supportName', 'name' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -help_supportName={_='help.supportName', name='string'} - -``` - - diff --git a/old_docs/API_docs_v97/constructors/help_termsOfService.md b/old_docs/API_docs_v97/constructors/help_termsOfService.md deleted file mode 100644 index f9d496e5..00000000 --- a/old_docs/API_docs_v97/constructors/help_termsOfService.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: help.termsOfService -description: Info about the latest telegram Terms Of Service -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.termsOfService -[Back to constructors index](index.md) - - - -Info about the latest telegram Terms Of Service - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|popup|[Bool](../types/Bool.md) | Optional|Whether a prompt must be showed to the user, in order to accept the new terms.| -|id|[DataJSON](../types/DataJSON.md) | Yes|ID of the new terms| -|text|[string](../types/string.md) | Yes|Text of the new terms| -|entities|Array of [MessageEntity](../types/MessageEntity.md) | Yes|Entities| -|min\_age\_confirm|[int](../types/int.md) | Optional|Minimum age required to sign up to telegram, the user must confirm that they is older than the minimum age.| - - - -### Type: [help\_TermsOfService](../types/help_TermsOfService.md) - - -### Example: - -```php -$help_termsOfService = ['_' => 'help.termsOfService', 'popup' => Bool, 'id' => DataJSON, 'text' => 'string', 'entities' => [MessageEntity, MessageEntity], 'min_age_confirm' => int]; -``` - - -Or, if you're into Lua: - -```lua -help_termsOfService={_='help.termsOfService', popup=Bool, id=DataJSON, text='string', entities={MessageEntity}, min_age_confirm=int} - -``` - - diff --git a/old_docs/API_docs_v97/constructors/help_termsOfServiceUpdate.md b/old_docs/API_docs_v97/constructors/help_termsOfServiceUpdate.md deleted file mode 100644 index c9e80319..00000000 --- a/old_docs/API_docs_v97/constructors/help_termsOfServiceUpdate.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: help.termsOfServiceUpdate -description: Info about an update of telegram's terms of service. If the terms of service are declined, then the [account.deleteAccount](../methods/account.deleteAccount.md) method should be called with the reason "Decline ToS update" -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.termsOfServiceUpdate -[Back to constructors index](index.md) - - - -Info about an update of telegram's terms of service. If the terms of service are declined, then the [account.deleteAccount](../methods/account.deleteAccount.md) method should be called with the reason "Decline ToS update" - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|expires|[int](../types/int.md) | Yes|New TOS updates will have to be queried using [help.getTermsOfServiceUpdate](../methods/help.getTermsOfServiceUpdate.md) in `expires` seconds| -|terms\_of\_service|[help\_TermsOfService](../types/help_TermsOfService.md) | Yes|New terms of service| - - - -### Type: [help\_TermsOfServiceUpdate](../types/help_TermsOfServiceUpdate.md) - - -### Example: - -```php -$help_termsOfServiceUpdate = ['_' => 'help.termsOfServiceUpdate', 'expires' => int, 'terms_of_service' => help_TermsOfService]; -``` - - -Or, if you're into Lua: - -```lua -help_termsOfServiceUpdate={_='help.termsOfServiceUpdate', expires=int, terms_of_service=help_TermsOfService} - -``` - - diff --git a/old_docs/API_docs_v97/constructors/help_termsOfServiceUpdateEmpty.md b/old_docs/API_docs_v97/constructors/help_termsOfServiceUpdateEmpty.md deleted file mode 100644 index d4d753fc..00000000 --- a/old_docs/API_docs_v97/constructors/help_termsOfServiceUpdateEmpty.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: help.termsOfServiceUpdateEmpty -description: No changes were made to telegram's terms of service -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.termsOfServiceUpdateEmpty -[Back to constructors index](index.md) - - - -No changes were made to telegram's terms of service - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|expires|[int](../types/int.md) | Yes|New TOS updates will have to be queried using [help.getTermsOfServiceUpdate](../methods/help.getTermsOfServiceUpdate.md) in `expires` seconds| - - - -### Type: [help\_TermsOfServiceUpdate](../types/help_TermsOfServiceUpdate.md) - - -### Example: - -```php -$help_termsOfServiceUpdateEmpty = ['_' => 'help.termsOfServiceUpdateEmpty', 'expires' => int]; -``` - - -Or, if you're into Lua: - -```lua -help_termsOfServiceUpdateEmpty={_='help.termsOfServiceUpdateEmpty', expires=int} - -``` - - diff --git a/old_docs/API_docs_v97/constructors/help_userInfo.md b/old_docs/API_docs_v97/constructors/help_userInfo.md deleted file mode 100644 index a444124b..00000000 --- a/old_docs/API_docs_v97/constructors/help_userInfo.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: help.userInfo -description: Internal use -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.userInfo -[Back to constructors index](index.md) - - - -Internal use - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|message|[string](../types/string.md) | Yes|Info| -|entities|Array of [MessageEntity](../types/MessageEntity.md) | Yes|Entities| -|author|[string](../types/string.md) | Yes|Author| -|date|[int](../types/int.md) | Yes|Date| - - - -### Type: [help\_UserInfo](../types/help_UserInfo.md) - - -### Example: - -```php -$help_userInfo = ['_' => 'help.userInfo', 'message' => 'string', 'entities' => [MessageEntity, MessageEntity], 'author' => 'string', 'date' => int]; -``` - - -Or, if you're into Lua: - -```lua -help_userInfo={_='help.userInfo', message='string', entities={MessageEntity}, author='string', date=int} - -``` - - diff --git a/old_docs/API_docs_v97/constructors/help_userInfoEmpty.md b/old_docs/API_docs_v97/constructors/help_userInfoEmpty.md deleted file mode 100644 index 66690c62..00000000 --- a/old_docs/API_docs_v97/constructors/help_userInfoEmpty.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: help.userInfoEmpty -description: Internal use -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: help.userInfoEmpty -[Back to constructors index](index.md) - - - -Internal use - - - - -### Type: [help\_UserInfo](../types/help_UserInfo.md) - - -### Example: - -```php -$help_userInfoEmpty = ['_' => 'help.userInfoEmpty']; -``` - - -Or, if you're into Lua: - -```lua -help_userInfoEmpty={_='help.userInfoEmpty'} - -``` - - diff --git a/old_docs/API_docs_v97/constructors/messages.affectedHistory.md b/old_docs/API_docs_v97/constructors/messages.affectedHistory.md new file mode 100644 index 00000000..5fc8acec --- /dev/null +++ b/old_docs/API_docs_v97/constructors/messages.affectedHistory.md @@ -0,0 +1,40 @@ +--- +title: messages.affectedHistory +description: Affected part of communication history with the user or in a chat. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.affectedHistory +[Back to constructors index](index.md) + + + +Affected part of communication history with the user or in a chat. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| +|pts\_count|[int](../types/int.md) | Yes|Number of affected events| +|offset|[int](../types/int.md) | Yes|If a parameter contains positive value, it is necessary to repeat the method call using the given value; during the proceeding of all the history the value itself shall gradually decrease| + + + +### Type: [messages.AffectedHistory](../types/messages.AffectedHistory.md) + + +### Example: + +```php +$messages.affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.affectedHistory={_='messages.affectedHistory', pts=int, pts_count=int, offset=int} + +``` + + diff --git a/old_docs/API_docs_v97/constructors/messages.affectedMessages.md b/old_docs/API_docs_v97/constructors/messages.affectedMessages.md new file mode 100644 index 00000000..a0e60bdf --- /dev/null +++ b/old_docs/API_docs_v97/constructors/messages.affectedMessages.md @@ -0,0 +1,39 @@ +--- +title: messages.affectedMessages +description: Events affected by operation +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.affectedMessages +[Back to constructors index](index.md) + + + +Events affected by operation + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|[Event count after generation](https://core.telegram.org/api/updates)| +|pts\_count|[int](../types/int.md) | Yes|[Number of events that were generated](https://core.telegram.org/api/updates)| + + + +### Type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) + + +### Example: + +```php +$messages.affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.affectedMessages={_='messages.affectedMessages', pts=int, pts_count=int} + +``` + + diff --git a/old_docs/API_docs_v97/constructors/messages.allStickers.md b/old_docs/API_docs_v97/constructors/messages.allStickers.md new file mode 100644 index 00000000..5f13bfde --- /dev/null +++ b/old_docs/API_docs_v97/constructors/messages.allStickers.md @@ -0,0 +1,39 @@ +--- +title: messages.allStickers +description: Info about all installed stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.allStickers +[Back to constructors index](index.md) + + + +Info about all installed stickers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|sets|Array of [StickerSet](../types/StickerSet.md) | Yes|Sets| + + + +### Type: [messages.AllStickers](../types/messages.AllStickers.md) + + +### Example: + +```php +$messages.allStickers = ['_' => 'messages.allStickers', 'hash' => int, 'sets' => [StickerSet, StickerSet]]; +``` + + +Or, if you're into Lua: + +```lua +messages.allStickers={_='messages.allStickers', hash=int, sets={StickerSet}} + +``` + + diff --git a/old_docs/API_docs_v97/constructors/messages.allStickersNotModified.md b/old_docs/API_docs_v97/constructors/messages.allStickersNotModified.md new file mode 100644 index 00000000..d3db088b --- /dev/null +++ b/old_docs/API_docs_v97/constructors/messages.allStickersNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.allStickersNotModified +description: Info about all installed stickers hasn't changed +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.allStickersNotModified +[Back to constructors index](index.md) + + + +Info about all installed stickers hasn't changed + + + + +### Type: [messages.AllStickers](../types/messages.AllStickers.md) + + +### Example: + +```php +$messages.allStickersNotModified = ['_' => 'messages.allStickersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.allStickersNotModified={_='messages.allStickersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v97/constructors/messages.archivedStickers.md b/old_docs/API_docs_v97/constructors/messages.archivedStickers.md new file mode 100644 index 00000000..6ad9927c --- /dev/null +++ b/old_docs/API_docs_v97/constructors/messages.archivedStickers.md @@ -0,0 +1,39 @@ +--- +title: messages.archivedStickers +description: Archived stickersets +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.archivedStickers +[Back to constructors index](index.md) + + + +Archived stickersets + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Number of archived stickers| +|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| + + + +### Type: [messages.ArchivedStickers](../types/messages.ArchivedStickers.md) + + +### Example: + +```php +$messages.archivedStickers = ['_' => 'messages.archivedStickers', 'count' => int, 'sets' => [StickerSetCovered, StickerSetCovered]]; +``` + + +Or, if you're into Lua: + +```lua +messages.archivedStickers={_='messages.archivedStickers', count=int, sets={StickerSetCovered}} + +``` + + diff --git a/old_docs/API_docs_v97/constructors/messages.botCallbackAnswer.md b/old_docs/API_docs_v97/constructors/messages.botCallbackAnswer.md new file mode 100644 index 00000000..08bfeba5 --- /dev/null +++ b/old_docs/API_docs_v97/constructors/messages.botCallbackAnswer.md @@ -0,0 +1,43 @@ +--- +title: messages.botCallbackAnswer +description: Callback answer sent by the bot in response to a button press +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.botCallbackAnswer +[Back to constructors index](index.md) + + + +Callback answer sent by the bot in response to a button press + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|alert|[Bool](../types/Bool.md) | Optional|Whether an alert should be shown to the user instead of a toast notification| +|has\_url|[Bool](../types/Bool.md) | Optional|Whether an URL is present| +|native\_ui|[Bool](../types/Bool.md) | Optional|Whether to show games in WebView or in native UI.| +|message|[string](../types/string.md) | Optional|Alert to show| +|url|[string](../types/string.md) | Optional|URL to open| +|cache\_time|[int](../types/int.md) | Yes|For how long should this answer be cached| + + + +### Type: [messages.BotCallbackAnswer](../types/messages.BotCallbackAnswer.md) + + +### Example: + +```php +$messages.botCallbackAnswer = ['_' => 'messages.botCallbackAnswer', 'alert' => Bool, 'has_url' => Bool, 'native_ui' => Bool, 'message' => 'string', 'url' => 'string', 'cache_time' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.botCallbackAnswer={_='messages.botCallbackAnswer', alert=Bool, has_url=Bool, native_ui=Bool, message='string', url='string', cache_time=int} + +``` + + diff --git a/old_docs/API_docs_v97/constructors/messages.botResults.md b/old_docs/API_docs_v97/constructors/messages.botResults.md new file mode 100644 index 00000000..7b6dcfba --- /dev/null +++ b/old_docs/API_docs_v97/constructors/messages.botResults.md @@ -0,0 +1,44 @@ +--- +title: messages.botResults +description: Result of a query to an inline bot +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.botResults +[Back to constructors index](index.md) + + + +Result of a query to an inline bot + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|gallery|[Bool](../types/Bool.md) | Optional|Whether the result is a picture gallery| +|query\_id|[long](../types/long.md) | Yes|Query ID| +|next\_offset|[string](../types/string.md) | Optional|The next offset to use when navigating through results| +|switch\_pm|[InlineBotSwitchPM](../types/InlineBotSwitchPM.md) | Optional|Whether the bot requested the user to message him in private| +|results|Array of [BotInlineResult](../types/BotInlineResult.md) | Yes|Results| +|cache\_time|[int](../types/int.md) | Yes|Caching validity of the results| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.BotResults](../types/messages.BotResults.md) + + +### Example: + +```php +$messages.botResults = ['_' => 'messages.botResults', 'gallery' => Bool, 'query_id' => long, 'next_offset' => 'string', 'switch_pm' => InlineBotSwitchPM, 'results' => [BotInlineResult, BotInlineResult], 'cache_time' => int, 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.botResults={_='messages.botResults', gallery=Bool, query_id=long, next_offset='string', switch_pm=InlineBotSwitchPM, results={BotInlineResult}, cache_time=int, users={User}} + +``` + + diff --git a/old_docs/API_docs_v97/constructors/messages.channelMessages.md b/old_docs/API_docs_v97/constructors/messages.channelMessages.md new file mode 100644 index 00000000..8a8ca98a --- /dev/null +++ b/old_docs/API_docs_v97/constructors/messages.channelMessages.md @@ -0,0 +1,43 @@ +--- +title: messages.channelMessages +description: Channel messages +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.channelMessages +[Back to constructors index](index.md) + + + +Channel messages + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|inexact|[Bool](../types/Bool.md) | Optional|If set, returned results may be inexact| +|pts|[int](../types/int.md) | Yes|[Event count after generation](https://core.telegram.org/api/updates)| +|count|[int](../types/int.md) | Yes|Total number of results were found server-side (may not be all included here)| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Messages](../types/messages.Messages.md) + + +### Example: + +```php +$messages.channelMessages = ['_' => 'messages.channelMessages', 'inexact' => Bool, 'pts' => int, 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.channelMessages={_='messages.channelMessages', inexact=Bool, pts=int, count=int, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v97/constructors/messages.chatFull.md b/old_docs/API_docs_v97/constructors/messages.chatFull.md new file mode 100644 index 00000000..3906cc54 --- /dev/null +++ b/old_docs/API_docs_v97/constructors/messages.chatFull.md @@ -0,0 +1,40 @@ +--- +title: messages.chatFull +description: Extended info on chat and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.chatFull +[Back to constructors index](index.md) + + + +Extended info on chat and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|full\_chat|[ChatFull](../types/ChatFull.md) | Yes|Extended info on a chat| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.ChatFull](../types/messages.ChatFull.md) + + +### Example: + +```php +$messages.chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.chatFull={_='messages.chatFull', full_chat=ChatFull, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v97/constructors/messages.chats.md b/old_docs/API_docs_v97/constructors/messages.chats.md new file mode 100644 index 00000000..9ede9ff2 --- /dev/null +++ b/old_docs/API_docs_v97/constructors/messages.chats.md @@ -0,0 +1,38 @@ +--- +title: messages.chats +description: List of chats with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.chats +[Back to constructors index](index.md) + + + +List of chats with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| + + + +### Type: [messages.Chats](../types/messages.Chats.md) + + +### Example: + +```php +$messages.chats = ['_' => 'messages.chats', 'chats' => [Chat, Chat]]; +``` + + +Or, if you're into Lua: + +```lua +messages.chats={_='messages.chats', chats={Chat}} + +``` + + diff --git a/old_docs/API_docs_v97/constructors/messages.chatsSlice.md b/old_docs/API_docs_v97/constructors/messages.chatsSlice.md new file mode 100644 index 00000000..efd153e0 --- /dev/null +++ b/old_docs/API_docs_v97/constructors/messages.chatsSlice.md @@ -0,0 +1,39 @@ +--- +title: messages.chatsSlice +description: Partial list of chats, more would have to be fetched with [pagination](https://core.telegram.org/api/offsets) +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.chatsSlice +[Back to constructors index](index.md) + + + +Partial list of chats, more would have to be fetched with [pagination](https://core.telegram.org/api/offsets) + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of results that were found server-side (not all are included in `chats`)| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| + + + +### Type: [messages.Chats](../types/messages.Chats.md) + + +### Example: + +```php +$messages.chatsSlice = ['_' => 'messages.chatsSlice', 'count' => int, 'chats' => [Chat, Chat]]; +``` + + +Or, if you're into Lua: + +```lua +messages.chatsSlice={_='messages.chatsSlice', count=int, chats={Chat}} + +``` + + diff --git a/old_docs/API_docs_v97/constructors/messages.dhConfig.md b/old_docs/API_docs_v97/constructors/messages.dhConfig.md new file mode 100644 index 00000000..58344f64 --- /dev/null +++ b/old_docs/API_docs_v97/constructors/messages.dhConfig.md @@ -0,0 +1,41 @@ +--- +title: messages.dhConfig +description: New set of configuring parameters. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dhConfig +[Back to constructors index](index.md) + + + +New set of configuring parameters. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|g|[int](../types/int.md) | Yes|New value **prime**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| +|p|[bytes](../types/bytes.md) | Yes|New value **primitive root**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| +|version|[int](../types/int.md) | Yes|Vestion of set of parameters| +|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| + + + +### Type: [messages.DhConfig](../types/messages.DhConfig.md) + + +### Example: + +```php +$messages.dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'version' => int, 'random' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +messages.dhConfig={_='messages.dhConfig', g=int, p='bytes', version=int, random='bytes'} + +``` + + diff --git a/old_docs/API_docs_v97/constructors/messages.dhConfigNotModified.md b/old_docs/API_docs_v97/constructors/messages.dhConfigNotModified.md new file mode 100644 index 00000000..a9a95389 --- /dev/null +++ b/old_docs/API_docs_v97/constructors/messages.dhConfigNotModified.md @@ -0,0 +1,38 @@ +--- +title: messages.dhConfigNotModified +description: Configuring parameters did not change. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dhConfigNotModified +[Back to constructors index](index.md) + + + +Configuring parameters did not change. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| + + + +### Type: [messages.DhConfig](../types/messages.DhConfig.md) + + +### Example: + +```php +$messages.dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +messages.dhConfigNotModified={_='messages.dhConfigNotModified', random='bytes'} + +``` + + diff --git a/old_docs/API_docs_v97/constructors/messages.dialogs.md b/old_docs/API_docs_v97/constructors/messages.dialogs.md new file mode 100644 index 00000000..a72eabce --- /dev/null +++ b/old_docs/API_docs_v97/constructors/messages.dialogs.md @@ -0,0 +1,41 @@ +--- +title: messages.dialogs +description: Full list of chats with messages and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dialogs +[Back to constructors index](index.md) + + + +Full list of chats with messages and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Dialogs](../types/messages.Dialogs.md) + + +### Example: + +```php +$messages.dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.dialogs={_='messages.dialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v97/constructors/messages.dialogsNotModified.md b/old_docs/API_docs_v97/constructors/messages.dialogsNotModified.md new file mode 100644 index 00000000..b4615516 --- /dev/null +++ b/old_docs/API_docs_v97/constructors/messages.dialogsNotModified.md @@ -0,0 +1,38 @@ +--- +title: messages.dialogsNotModified +description: Dialogs haven't changed +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dialogsNotModified +[Back to constructors index](index.md) + + + +Dialogs haven't changed + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Number of dialogs found server-side by the query| + + + +### Type: [messages.Dialogs](../types/messages.Dialogs.md) + + +### Example: + +```php +$messages.dialogsNotModified = ['_' => 'messages.dialogsNotModified', 'count' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.dialogsNotModified={_='messages.dialogsNotModified', count=int} + +``` + + diff --git a/old_docs/API_docs_v97/constructors/messages.dialogsSlice.md b/old_docs/API_docs_v97/constructors/messages.dialogsSlice.md new file mode 100644 index 00000000..26227d2c --- /dev/null +++ b/old_docs/API_docs_v97/constructors/messages.dialogsSlice.md @@ -0,0 +1,42 @@ +--- +title: messages.dialogsSlice +description: Incomplete list of dialogs with messages and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.dialogsSlice +[Back to constructors index](index.md) + + + +Incomplete list of dialogs with messages and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of dialogs| +|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Dialogs](../types/messages.Dialogs.md) + + +### Example: + +```php +$messages.dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.dialogsSlice={_='messages.dialogsSlice', count=int, dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v97/constructors/messages.favedStickers.md b/old_docs/API_docs_v97/constructors/messages.favedStickers.md new file mode 100644 index 00000000..a5cfb7c9 --- /dev/null +++ b/old_docs/API_docs_v97/constructors/messages.favedStickers.md @@ -0,0 +1,40 @@ +--- +title: messages.favedStickers +description: Favorited stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.favedStickers +[Back to constructors index](index.md) + + + +Favorited stickers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|packs|Array of [StickerPack](../types/StickerPack.md) | Yes|Packs| +|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| + + + +### Type: [messages.FavedStickers](../types/messages.FavedStickers.md) + + +### Example: + +```php +$messages.favedStickers = ['_' => 'messages.favedStickers', 'hash' => int, 'packs' => [StickerPack, StickerPack], 'stickers' => [Document, Document]]; +``` + + +Or, if you're into Lua: + +```lua +messages.favedStickers={_='messages.favedStickers', hash=int, packs={StickerPack}, stickers={Document}} + +``` + + diff --git a/old_docs/API_docs_v97/constructors/messages.favedStickersNotModified.md b/old_docs/API_docs_v97/constructors/messages.favedStickersNotModified.md new file mode 100644 index 00000000..8723659e --- /dev/null +++ b/old_docs/API_docs_v97/constructors/messages.favedStickersNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.favedStickersNotModified +description: No new favorited stickers were found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.favedStickersNotModified +[Back to constructors index](index.md) + + + +No new favorited stickers were found + + + + +### Type: [messages.FavedStickers](../types/messages.FavedStickers.md) + + +### Example: + +```php +$messages.favedStickersNotModified = ['_' => 'messages.favedStickersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.favedStickersNotModified={_='messages.favedStickersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v97/constructors/messages.featuredStickers.md b/old_docs/API_docs_v97/constructors/messages.featuredStickers.md new file mode 100644 index 00000000..344376ea --- /dev/null +++ b/old_docs/API_docs_v97/constructors/messages.featuredStickers.md @@ -0,0 +1,40 @@ +--- +title: messages.featuredStickers +description: Featured stickersets +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.featuredStickers +[Back to constructors index](index.md) + + + +Featured stickersets + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| +|unread|Array of [long](../types/long.md) | Yes|Unread| + + + +### Type: [messages.FeaturedStickers](../types/messages.FeaturedStickers.md) + + +### Example: + +```php +$messages.featuredStickers = ['_' => 'messages.featuredStickers', 'hash' => int, 'sets' => [StickerSetCovered, StickerSetCovered], 'unread' => [long, long]]; +``` + + +Or, if you're into Lua: + +```lua +messages.featuredStickers={_='messages.featuredStickers', hash=int, sets={StickerSetCovered}, unread={long}} + +``` + + diff --git a/old_docs/API_docs_v97/constructors/messages.featuredStickersNotModified.md b/old_docs/API_docs_v97/constructors/messages.featuredStickersNotModified.md new file mode 100644 index 00000000..0fe9b4d5 --- /dev/null +++ b/old_docs/API_docs_v97/constructors/messages.featuredStickersNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.featuredStickersNotModified +description: Featured stickers haven't changed +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.featuredStickersNotModified +[Back to constructors index](index.md) + + + +Featured stickers haven't changed + + + + +### Type: [messages.FeaturedStickers](../types/messages.FeaturedStickers.md) + + +### Example: + +```php +$messages.featuredStickersNotModified = ['_' => 'messages.featuredStickersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.featuredStickersNotModified={_='messages.featuredStickersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v97/constructors/messages.foundGifs.md b/old_docs/API_docs_v97/constructors/messages.foundGifs.md new file mode 100644 index 00000000..c75e36f9 --- /dev/null +++ b/old_docs/API_docs_v97/constructors/messages.foundGifs.md @@ -0,0 +1,39 @@ +--- +title: messages.foundGifs +description: Found GIFs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.foundGifs +[Back to constructors index](index.md) + + + +Found GIFs + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|next\_offset|[int](../types/int.md) | Yes|Next offset to use when trying to [load more results](../methods/messages.searchGifs.md)| +|results|Array of [FoundGif](../types/FoundGif.md) | Yes|Results| + + + +### Type: [messages.FoundGifs](../types/messages.FoundGifs.md) + + +### Example: + +```php +$messages.foundGifs = ['_' => 'messages.foundGifs', 'next_offset' => int, 'results' => [FoundGif, FoundGif]]; +``` + + +Or, if you're into Lua: + +```lua +messages.foundGifs={_='messages.foundGifs', next_offset=int, results={FoundGif}} + +``` + + diff --git a/old_docs/API_docs_v97/constructors/messages.foundStickerSets.md b/old_docs/API_docs_v97/constructors/messages.foundStickerSets.md new file mode 100644 index 00000000..efc5201e --- /dev/null +++ b/old_docs/API_docs_v97/constructors/messages.foundStickerSets.md @@ -0,0 +1,39 @@ +--- +title: messages.foundStickerSets +description: Found stickersets +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.foundStickerSets +[Back to constructors index](index.md) + + + +Found stickersets + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| + + + +### Type: [messages.FoundStickerSets](../types/messages.FoundStickerSets.md) + + +### Example: + +```php +$messages.foundStickerSets = ['_' => 'messages.foundStickerSets', 'hash' => int, 'sets' => [StickerSetCovered, StickerSetCovered]]; +``` + + +Or, if you're into Lua: + +```lua +messages.foundStickerSets={_='messages.foundStickerSets', hash=int, sets={StickerSetCovered}} + +``` + + diff --git a/old_docs/API_docs_v97/constructors/messages.foundStickerSetsNotModified.md b/old_docs/API_docs_v97/constructors/messages.foundStickerSetsNotModified.md new file mode 100644 index 00000000..2902501a --- /dev/null +++ b/old_docs/API_docs_v97/constructors/messages.foundStickerSetsNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.foundStickerSetsNotModified +description: No further results were found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.foundStickerSetsNotModified +[Back to constructors index](index.md) + + + +No further results were found + + + + +### Type: [messages.FoundStickerSets](../types/messages.FoundStickerSets.md) + + +### Example: + +```php +$messages.foundStickerSetsNotModified = ['_' => 'messages.foundStickerSetsNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.foundStickerSetsNotModified={_='messages.foundStickerSetsNotModified'} + +``` + + diff --git a/old_docs/API_docs_v97/constructors/messages.highScores.md b/old_docs/API_docs_v97/constructors/messages.highScores.md new file mode 100644 index 00000000..d7d25826 --- /dev/null +++ b/old_docs/API_docs_v97/constructors/messages.highScores.md @@ -0,0 +1,39 @@ +--- +title: messages.highScores +description: Highscores in a game +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.highScores +[Back to constructors index](index.md) + + + +Highscores in a game + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|scores|Array of [HighScore](../types/HighScore.md) | Yes|Scores| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.HighScores](../types/messages.HighScores.md) + + +### Example: + +```php +$messages.highScores = ['_' => 'messages.highScores', 'scores' => [HighScore, HighScore], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.highScores={_='messages.highScores', scores={HighScore}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v97/constructors/messages.messageEditData.md b/old_docs/API_docs_v97/constructors/messages.messageEditData.md new file mode 100644 index 00000000..578b53d9 --- /dev/null +++ b/old_docs/API_docs_v97/constructors/messages.messageEditData.md @@ -0,0 +1,38 @@ +--- +title: messages.messageEditData +description: Message edit data for media +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.messageEditData +[Back to constructors index](index.md) + + + +Message edit data for media + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|caption|[Bool](../types/Bool.md) | Optional|Media caption, if the specified media's caption can be edited| + + + +### Type: [messages.MessageEditData](../types/messages.MessageEditData.md) + + +### Example: + +```php +$messages.messageEditData = ['_' => 'messages.messageEditData', 'caption' => Bool]; +``` + + +Or, if you're into Lua: + +```lua +messages.messageEditData={_='messages.messageEditData', caption=Bool} + +``` + + diff --git a/old_docs/API_docs_v97/constructors/messages.messages.md b/old_docs/API_docs_v97/constructors/messages.messages.md new file mode 100644 index 00000000..3af71dca --- /dev/null +++ b/old_docs/API_docs_v97/constructors/messages.messages.md @@ -0,0 +1,40 @@ +--- +title: messages.messages +description: Full list of messages with auxilary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.messages +[Back to constructors index](index.md) + + + +Full list of messages with auxilary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Messages](../types/messages.Messages.md) + + +### Example: + +```php +$messages.messages = ['_' => 'messages.messages', 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.messages={_='messages.messages', messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v97/constructors/messages.messagesNotModified.md b/old_docs/API_docs_v97/constructors/messages.messagesNotModified.md new file mode 100644 index 00000000..c4cb60ed --- /dev/null +++ b/old_docs/API_docs_v97/constructors/messages.messagesNotModified.md @@ -0,0 +1,38 @@ +--- +title: messages.messagesNotModified +description: No new messages matching the query were found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.messagesNotModified +[Back to constructors index](index.md) + + + +No new messages matching the query were found + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Number of results found server-side by the given query| + + + +### Type: [messages.Messages](../types/messages.Messages.md) + + +### Example: + +```php +$messages.messagesNotModified = ['_' => 'messages.messagesNotModified', 'count' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.messagesNotModified={_='messages.messagesNotModified', count=int} + +``` + + diff --git a/old_docs/API_docs_v97/constructors/messages.messagesSlice.md b/old_docs/API_docs_v97/constructors/messages.messagesSlice.md new file mode 100644 index 00000000..6cbac82c --- /dev/null +++ b/old_docs/API_docs_v97/constructors/messages.messagesSlice.md @@ -0,0 +1,42 @@ +--- +title: messages.messagesSlice +description: Incomplete list of messages and auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.messagesSlice +[Back to constructors index](index.md) + + + +Incomplete list of messages and auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|inexact|[Bool](../types/Bool.md) | Optional|If set, indicates that the results may be inexact| +|count|[int](../types/int.md) | Yes|Total number of messages in the list| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [messages.Messages](../types/messages.Messages.md) + + +### Example: + +```php +$messages.messagesSlice = ['_' => 'messages.messagesSlice', 'inexact' => Bool, 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +messages.messagesSlice={_='messages.messagesSlice', inexact=Bool, count=int, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v97/constructors/messages.peerDialogs.md b/old_docs/API_docs_v97/constructors/messages.peerDialogs.md new file mode 100644 index 00000000..39cb71f8 --- /dev/null +++ b/old_docs/API_docs_v97/constructors/messages.peerDialogs.md @@ -0,0 +1,42 @@ +--- +title: messages.peerDialogs +description: Dialog info of multiple peers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.peerDialogs +[Back to constructors index](index.md) + + + +Dialog info of multiple peers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| +|state|[updates.State](../constructors/updates.State.md) | Yes|Current [update state of dialog](https://core.telegram.org/api/updates)| + + + +### Type: [messages.PeerDialogs](../types/messages.PeerDialogs.md) + + +### Example: + +```php +$messages.peerDialogs = ['_' => 'messages.peerDialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates.State]; +``` + + +Or, if you're into Lua: + +```lua +messages.peerDialogs={_='messages.peerDialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}, state=updates.State} + +``` + + diff --git a/old_docs/API_docs_v97/constructors/messages.recentStickers.md b/old_docs/API_docs_v97/constructors/messages.recentStickers.md new file mode 100644 index 00000000..33e6c1ad --- /dev/null +++ b/old_docs/API_docs_v97/constructors/messages.recentStickers.md @@ -0,0 +1,41 @@ +--- +title: messages.recentStickers +description: Recently used stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.recentStickers +[Back to constructors index](index.md) + + + +Recently used stickers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|packs|Array of [StickerPack](../types/StickerPack.md) | Yes|Packs| +|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| +|dates|Array of [int](../types/int.md) | Yes|Dates| + + + +### Type: [messages.RecentStickers](../types/messages.RecentStickers.md) + + +### Example: + +```php +$messages.recentStickers = ['_' => 'messages.recentStickers', 'hash' => int, 'packs' => [StickerPack, StickerPack], 'stickers' => [Document, Document], 'dates' => [int, int]]; +``` + + +Or, if you're into Lua: + +```lua +messages.recentStickers={_='messages.recentStickers', hash=int, packs={StickerPack}, stickers={Document}, dates={int}} + +``` + + diff --git a/old_docs/API_docs_v97/constructors/messages.recentStickersNotModified.md b/old_docs/API_docs_v97/constructors/messages.recentStickersNotModified.md new file mode 100644 index 00000000..1c3bbf5c --- /dev/null +++ b/old_docs/API_docs_v97/constructors/messages.recentStickersNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.recentStickersNotModified +description: No new recent sticker was found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.recentStickersNotModified +[Back to constructors index](index.md) + + + +No new recent sticker was found + + + + +### Type: [messages.RecentStickers](../types/messages.RecentStickers.md) + + +### Example: + +```php +$messages.recentStickersNotModified = ['_' => 'messages.recentStickersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.recentStickersNotModified={_='messages.recentStickersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v97/constructors/messages.savedGifs.md b/old_docs/API_docs_v97/constructors/messages.savedGifs.md new file mode 100644 index 00000000..c82929a3 --- /dev/null +++ b/old_docs/API_docs_v97/constructors/messages.savedGifs.md @@ -0,0 +1,39 @@ +--- +title: messages.savedGifs +description: Saved gifs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.savedGifs +[Back to constructors index](index.md) + + + +Saved gifs + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|gifs|Array of [Document](../types/Document.md) | Yes|Gifs| + + + +### Type: [messages.SavedGifs](../types/messages.SavedGifs.md) + + +### Example: + +```php +$messages.savedGifs = ['_' => 'messages.savedGifs', 'hash' => int, 'gifs' => [Document, Document]]; +``` + + +Or, if you're into Lua: + +```lua +messages.savedGifs={_='messages.savedGifs', hash=int, gifs={Document}} + +``` + + diff --git a/old_docs/API_docs_v97/constructors/messages.savedGifsNotModified.md b/old_docs/API_docs_v97/constructors/messages.savedGifsNotModified.md new file mode 100644 index 00000000..0fbccacc --- /dev/null +++ b/old_docs/API_docs_v97/constructors/messages.savedGifsNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.savedGifsNotModified +description: No new saved gifs were found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.savedGifsNotModified +[Back to constructors index](index.md) + + + +No new saved gifs were found + + + + +### Type: [messages.SavedGifs](../types/messages.SavedGifs.md) + + +### Example: + +```php +$messages.savedGifsNotModified = ['_' => 'messages.savedGifsNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.savedGifsNotModified={_='messages.savedGifsNotModified'} + +``` + + diff --git a/old_docs/API_docs_v97/constructors/messages.sentEncryptedFile.md b/old_docs/API_docs_v97/constructors/messages.sentEncryptedFile.md new file mode 100644 index 00000000..1f0e43c6 --- /dev/null +++ b/old_docs/API_docs_v97/constructors/messages.sentEncryptedFile.md @@ -0,0 +1,39 @@ +--- +title: messages.sentEncryptedFile +description: Message with a file enclosure sent to a protected chat +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.sentEncryptedFile +[Back to constructors index](index.md) + + + +Message with a file enclosure sent to a protected chat + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Sending date| +|file|[EncryptedFile](../types/EncryptedFile.md) | Optional|Attached file| + + + +### Type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) + + +### Example: + +```php +$messages.sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile]; +``` + + +Or, if you're into Lua: + +```lua +messages.sentEncryptedFile={_='messages.sentEncryptedFile', date=int, file=EncryptedFile} + +``` + + diff --git a/old_docs/API_docs_v97/constructors/messages.sentEncryptedMessage.md b/old_docs/API_docs_v97/constructors/messages.sentEncryptedMessage.md new file mode 100644 index 00000000..3d5eb40c --- /dev/null +++ b/old_docs/API_docs_v97/constructors/messages.sentEncryptedMessage.md @@ -0,0 +1,38 @@ +--- +title: messages.sentEncryptedMessage +description: Message without file attachemts sent to an encrypted file. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.sentEncryptedMessage +[Back to constructors index](index.md) + + + +Message without file attachemts sent to an encrypted file. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Date of sending| + + + +### Type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) + + +### Example: + +```php +$messages.sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int]; +``` + + +Or, if you're into Lua: + +```lua +messages.sentEncryptedMessage={_='messages.sentEncryptedMessage', date=int} + +``` + + diff --git a/old_docs/API_docs_v97/constructors/messages.stickerSet.md b/old_docs/API_docs_v97/constructors/messages.stickerSet.md new file mode 100644 index 00000000..fbc154d0 --- /dev/null +++ b/old_docs/API_docs_v97/constructors/messages.stickerSet.md @@ -0,0 +1,40 @@ +--- +title: messages.stickerSet +description: Stickerset and stickers inside it +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickerSet +[Back to constructors index](index.md) + + + +Stickerset and stickers inside it + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|set|[StickerSet](../types/StickerSet.md) | Yes|The stickerset| +|packs|Array of [StickerPack](../types/StickerPack.md) | Yes|Packs| +|documents|Array of [Document](../types/Document.md) | Yes|Documents| + + + +### Type: [messages.StickerSet](../types/messages.StickerSet.md) + + +### Example: + +```php +$messages.stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'packs' => [StickerPack, StickerPack], 'documents' => [Document, Document]]; +``` + + +Or, if you're into Lua: + +```lua +messages.stickerSet={_='messages.stickerSet', set=StickerSet, packs={StickerPack}, documents={Document}} + +``` + + diff --git a/old_docs/API_docs_v97/constructors/messages.stickerSetInstallResultArchive.md b/old_docs/API_docs_v97/constructors/messages.stickerSetInstallResultArchive.md new file mode 100644 index 00000000..fefe2270 --- /dev/null +++ b/old_docs/API_docs_v97/constructors/messages.stickerSetInstallResultArchive.md @@ -0,0 +1,38 @@ +--- +title: messages.stickerSetInstallResultArchive +description: The stickerset was installed, but since there are too many stickersets some were archived +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickerSetInstallResultArchive +[Back to constructors index](index.md) + + + +The stickerset was installed, but since there are too many stickersets some were archived + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| + + + +### Type: [messages.StickerSetInstallResult](../types/messages.StickerSetInstallResult.md) + + +### Example: + +```php +$messages.stickerSetInstallResultArchive = ['_' => 'messages.stickerSetInstallResultArchive', 'sets' => [StickerSetCovered, StickerSetCovered]]; +``` + + +Or, if you're into Lua: + +```lua +messages.stickerSetInstallResultArchive={_='messages.stickerSetInstallResultArchive', sets={StickerSetCovered}} + +``` + + diff --git a/old_docs/API_docs_v97/constructors/messages.stickerSetInstallResultSuccess.md b/old_docs/API_docs_v97/constructors/messages.stickerSetInstallResultSuccess.md new file mode 100644 index 00000000..bbe8b961 --- /dev/null +++ b/old_docs/API_docs_v97/constructors/messages.stickerSetInstallResultSuccess.md @@ -0,0 +1,33 @@ +--- +title: messages.stickerSetInstallResultSuccess +description: The stickerset was installed successfully +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickerSetInstallResultSuccess +[Back to constructors index](index.md) + + + +The stickerset was installed successfully + + + + +### Type: [messages.StickerSetInstallResult](../types/messages.StickerSetInstallResult.md) + + +### Example: + +```php +$messages.stickerSetInstallResultSuccess = ['_' => 'messages.stickerSetInstallResultSuccess']; +``` + + +Or, if you're into Lua: + +```lua +messages.stickerSetInstallResultSuccess={_='messages.stickerSetInstallResultSuccess'} + +``` + + diff --git a/old_docs/API_docs_v97/constructors/messages.stickers.md b/old_docs/API_docs_v97/constructors/messages.stickers.md new file mode 100644 index 00000000..49ffea6a --- /dev/null +++ b/old_docs/API_docs_v97/constructors/messages.stickers.md @@ -0,0 +1,39 @@ +--- +title: messages.stickers +description: Found stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickers +[Back to constructors index](index.md) + + + +Found stickers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| +|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| + + + +### Type: [messages.Stickers](../types/messages.Stickers.md) + + +### Example: + +```php +$messages.stickers = ['_' => 'messages.stickers', 'hash' => int, 'stickers' => [Document, Document]]; +``` + + +Or, if you're into Lua: + +```lua +messages.stickers={_='messages.stickers', hash=int, stickers={Document}} + +``` + + diff --git a/old_docs/API_docs_v97/constructors/messages.stickersNotModified.md b/old_docs/API_docs_v97/constructors/messages.stickersNotModified.md new file mode 100644 index 00000000..e8c7766c --- /dev/null +++ b/old_docs/API_docs_v97/constructors/messages.stickersNotModified.md @@ -0,0 +1,33 @@ +--- +title: messages.stickersNotModified +description: No new stickers were found for the given query +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: messages.stickersNotModified +[Back to constructors index](index.md) + + + +No new stickers were found for the given query + + + + +### Type: [messages.Stickers](../types/messages.Stickers.md) + + +### Example: + +```php +$messages.stickersNotModified = ['_' => 'messages.stickersNotModified']; +``` + + +Or, if you're into Lua: + +```lua +messages.stickersNotModified={_='messages.stickersNotModified'} + +``` + + diff --git a/old_docs/API_docs_v97/constructors/messages_affectedHistory.md b/old_docs/API_docs_v97/constructors/messages_affectedHistory.md deleted file mode 100644 index 449a7e3f..00000000 --- a/old_docs/API_docs_v97/constructors/messages_affectedHistory.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.affectedHistory -description: Affected part of communication history with the user or in a chat. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.affectedHistory -[Back to constructors index](index.md) - - - -Affected part of communication history with the user or in a chat. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| -|pts\_count|[int](../types/int.md) | Yes|Number of affected events| -|offset|[int](../types/int.md) | Yes|If a parameter contains positive value, it is necessary to repeat the method call using the given value; during the proceeding of all the history the value itself shall gradually decrease| - - - -### Type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) - - -### Example: - -```php -$messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_affectedHistory={_='messages.affectedHistory', pts=int, pts_count=int, offset=int} - -``` - - diff --git a/old_docs/API_docs_v97/constructors/messages_affectedMessages.md b/old_docs/API_docs_v97/constructors/messages_affectedMessages.md deleted file mode 100644 index 86760581..00000000 --- a/old_docs/API_docs_v97/constructors/messages_affectedMessages.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.affectedMessages -description: Events affected by operation -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.affectedMessages -[Back to constructors index](index.md) - - - -Events affected by operation - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|[Event count after generation](https://core.telegram.org/api/updates)| -|pts\_count|[int](../types/int.md) | Yes|[Number of events that were generated](https://core.telegram.org/api/updates)| - - - -### Type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) - - -### Example: - -```php -$messages_affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_affectedMessages={_='messages.affectedMessages', pts=int, pts_count=int} - -``` - - diff --git a/old_docs/API_docs_v97/constructors/messages_allStickers.md b/old_docs/API_docs_v97/constructors/messages_allStickers.md deleted file mode 100644 index 2e64f46e..00000000 --- a/old_docs/API_docs_v97/constructors/messages_allStickers.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.allStickers -description: Info about all installed stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.allStickers -[Back to constructors index](index.md) - - - -Info about all installed stickers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|sets|Array of [StickerSet](../types/StickerSet.md) | Yes|Sets| - - - -### Type: [messages\_AllStickers](../types/messages_AllStickers.md) - - -### Example: - -```php -$messages_allStickers = ['_' => 'messages.allStickers', 'hash' => int, 'sets' => [StickerSet, StickerSet]]; -``` - - -Or, if you're into Lua: - -```lua -messages_allStickers={_='messages.allStickers', hash=int, sets={StickerSet}} - -``` - - diff --git a/old_docs/API_docs_v97/constructors/messages_allStickersNotModified.md b/old_docs/API_docs_v97/constructors/messages_allStickersNotModified.md deleted file mode 100644 index c4da85ab..00000000 --- a/old_docs/API_docs_v97/constructors/messages_allStickersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.allStickersNotModified -description: Info about all installed stickers hasn't changed -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.allStickersNotModified -[Back to constructors index](index.md) - - - -Info about all installed stickers hasn't changed - - - - -### Type: [messages\_AllStickers](../types/messages_AllStickers.md) - - -### Example: - -```php -$messages_allStickersNotModified = ['_' => 'messages.allStickersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_allStickersNotModified={_='messages.allStickersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v97/constructors/messages_archivedStickers.md b/old_docs/API_docs_v97/constructors/messages_archivedStickers.md deleted file mode 100644 index 6b28c885..00000000 --- a/old_docs/API_docs_v97/constructors/messages_archivedStickers.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.archivedStickers -description: Archived stickersets -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.archivedStickers -[Back to constructors index](index.md) - - - -Archived stickersets - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Number of archived stickers| -|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| - - - -### Type: [messages\_ArchivedStickers](../types/messages_ArchivedStickers.md) - - -### Example: - -```php -$messages_archivedStickers = ['_' => 'messages.archivedStickers', 'count' => int, 'sets' => [StickerSetCovered, StickerSetCovered]]; -``` - - -Or, if you're into Lua: - -```lua -messages_archivedStickers={_='messages.archivedStickers', count=int, sets={StickerSetCovered}} - -``` - - diff --git a/old_docs/API_docs_v97/constructors/messages_botCallbackAnswer.md b/old_docs/API_docs_v97/constructors/messages_botCallbackAnswer.md deleted file mode 100644 index e56f4b56..00000000 --- a/old_docs/API_docs_v97/constructors/messages_botCallbackAnswer.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: messages.botCallbackAnswer -description: Callback answer sent by the bot in response to a button press -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.botCallbackAnswer -[Back to constructors index](index.md) - - - -Callback answer sent by the bot in response to a button press - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|alert|[Bool](../types/Bool.md) | Optional|Whether an alert should be shown to the user instead of a toast notification| -|has\_url|[Bool](../types/Bool.md) | Optional|Whether an URL is present| -|native\_ui|[Bool](../types/Bool.md) | Optional|Whether to show games in WebView or in native UI.| -|message|[string](../types/string.md) | Optional|Alert to show| -|url|[string](../types/string.md) | Optional|URL to open| -|cache\_time|[int](../types/int.md) | Yes|For how long should this answer be cached| - - - -### Type: [messages\_BotCallbackAnswer](../types/messages_BotCallbackAnswer.md) - - -### Example: - -```php -$messages_botCallbackAnswer = ['_' => 'messages.botCallbackAnswer', 'alert' => Bool, 'has_url' => Bool, 'native_ui' => Bool, 'message' => 'string', 'url' => 'string', 'cache_time' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_botCallbackAnswer={_='messages.botCallbackAnswer', alert=Bool, has_url=Bool, native_ui=Bool, message='string', url='string', cache_time=int} - -``` - - diff --git a/old_docs/API_docs_v97/constructors/messages_botResults.md b/old_docs/API_docs_v97/constructors/messages_botResults.md deleted file mode 100644 index 19b9edf6..00000000 --- a/old_docs/API_docs_v97/constructors/messages_botResults.md +++ /dev/null @@ -1,44 +0,0 @@ ---- -title: messages.botResults -description: Result of a query to an inline bot -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.botResults -[Back to constructors index](index.md) - - - -Result of a query to an inline bot - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|gallery|[Bool](../types/Bool.md) | Optional|Whether the result is a picture gallery| -|query\_id|[long](../types/long.md) | Yes|Query ID| -|next\_offset|[string](../types/string.md) | Optional|The next offset to use when navigating through results| -|switch\_pm|[InlineBotSwitchPM](../types/InlineBotSwitchPM.md) | Optional|Whether the bot requested the user to message him in private| -|results|Array of [BotInlineResult](../types/BotInlineResult.md) | Yes|Results| -|cache\_time|[int](../types/int.md) | Yes|Caching validity of the results| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_BotResults](../types/messages_BotResults.md) - - -### Example: - -```php -$messages_botResults = ['_' => 'messages.botResults', 'gallery' => Bool, 'query_id' => long, 'next_offset' => 'string', 'switch_pm' => InlineBotSwitchPM, 'results' => [BotInlineResult, BotInlineResult], 'cache_time' => int, 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_botResults={_='messages.botResults', gallery=Bool, query_id=long, next_offset='string', switch_pm=InlineBotSwitchPM, results={BotInlineResult}, cache_time=int, users={User}} - -``` - - diff --git a/old_docs/API_docs_v97/constructors/messages_channelMessages.md b/old_docs/API_docs_v97/constructors/messages_channelMessages.md deleted file mode 100644 index 4cf24743..00000000 --- a/old_docs/API_docs_v97/constructors/messages_channelMessages.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: messages.channelMessages -description: Channel messages -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.channelMessages -[Back to constructors index](index.md) - - - -Channel messages - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|inexact|[Bool](../types/Bool.md) | Optional|If set, returned results may be inexact| -|pts|[int](../types/int.md) | Yes|[Event count after generation](https://core.telegram.org/api/updates)| -|count|[int](../types/int.md) | Yes|Total number of results were found server-side (may not be all included here)| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Messages](../types/messages_Messages.md) - - -### Example: - -```php -$messages_channelMessages = ['_' => 'messages.channelMessages', 'inexact' => Bool, 'pts' => int, 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_channelMessages={_='messages.channelMessages', inexact=Bool, pts=int, count=int, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v97/constructors/messages_chatFull.md b/old_docs/API_docs_v97/constructors/messages_chatFull.md deleted file mode 100644 index 02f1acdf..00000000 --- a/old_docs/API_docs_v97/constructors/messages_chatFull.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.chatFull -description: Extended info on chat and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.chatFull -[Back to constructors index](index.md) - - - -Extended info on chat and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|full\_chat|[ChatFull](../types/ChatFull.md) | Yes|Extended info on a chat| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_ChatFull](../types/messages_ChatFull.md) - - -### Example: - -```php -$messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_chatFull={_='messages.chatFull', full_chat=ChatFull, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v97/constructors/messages_chats.md b/old_docs/API_docs_v97/constructors/messages_chats.md deleted file mode 100644 index ef3690a9..00000000 --- a/old_docs/API_docs_v97/constructors/messages_chats.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.chats -description: List of chats with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.chats -[Back to constructors index](index.md) - - - -List of chats with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| - - - -### Type: [messages\_Chats](../types/messages_Chats.md) - - -### Example: - -```php -$messages_chats = ['_' => 'messages.chats', 'chats' => [Chat, Chat]]; -``` - - -Or, if you're into Lua: - -```lua -messages_chats={_='messages.chats', chats={Chat}} - -``` - - diff --git a/old_docs/API_docs_v97/constructors/messages_chatsSlice.md b/old_docs/API_docs_v97/constructors/messages_chatsSlice.md deleted file mode 100644 index f19c4357..00000000 --- a/old_docs/API_docs_v97/constructors/messages_chatsSlice.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.chatsSlice -description: Partial list of chats, more would have to be fetched with [pagination](https://core.telegram.org/api/offsets) -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.chatsSlice -[Back to constructors index](index.md) - - - -Partial list of chats, more would have to be fetched with [pagination](https://core.telegram.org/api/offsets) - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of results that were found server-side (not all are included in `chats`)| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| - - - -### Type: [messages\_Chats](../types/messages_Chats.md) - - -### Example: - -```php -$messages_chatsSlice = ['_' => 'messages.chatsSlice', 'count' => int, 'chats' => [Chat, Chat]]; -``` - - -Or, if you're into Lua: - -```lua -messages_chatsSlice={_='messages.chatsSlice', count=int, chats={Chat}} - -``` - - diff --git a/old_docs/API_docs_v97/constructors/messages_dhConfig.md b/old_docs/API_docs_v97/constructors/messages_dhConfig.md deleted file mode 100644 index 42c2feb1..00000000 --- a/old_docs/API_docs_v97/constructors/messages_dhConfig.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: messages.dhConfig -description: New set of configuring parameters. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dhConfig -[Back to constructors index](index.md) - - - -New set of configuring parameters. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|g|[int](../types/int.md) | Yes|New value **prime**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| -|p|[bytes](../types/bytes.md) | Yes|New value **primitive root**, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)| -|version|[int](../types/int.md) | Yes|Vestion of set of parameters| -|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| - - - -### Type: [messages\_DhConfig](../types/messages_DhConfig.md) - - -### Example: - -```php -$messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'version' => int, 'random' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -messages_dhConfig={_='messages.dhConfig', g=int, p='bytes', version=int, random='bytes'} - -``` - - diff --git a/old_docs/API_docs_v97/constructors/messages_dhConfigNotModified.md b/old_docs/API_docs_v97/constructors/messages_dhConfigNotModified.md deleted file mode 100644 index 5bf64230..00000000 --- a/old_docs/API_docs_v97/constructors/messages_dhConfigNotModified.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.dhConfigNotModified -description: Configuring parameters did not change. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dhConfigNotModified -[Back to constructors index](index.md) - - - -Configuring parameters did not change. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|random|[bytes](../types/bytes.md) | Yes|Random sequence of bytes of assigned length| - - - -### Type: [messages\_DhConfig](../types/messages_DhConfig.md) - - -### Example: - -```php -$messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -messages_dhConfigNotModified={_='messages.dhConfigNotModified', random='bytes'} - -``` - - diff --git a/old_docs/API_docs_v97/constructors/messages_dialogs.md b/old_docs/API_docs_v97/constructors/messages_dialogs.md deleted file mode 100644 index e6a431b4..00000000 --- a/old_docs/API_docs_v97/constructors/messages_dialogs.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: messages.dialogs -description: Full list of chats with messages and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dialogs -[Back to constructors index](index.md) - - - -Full list of chats with messages and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Dialogs](../types/messages_Dialogs.md) - - -### Example: - -```php -$messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_dialogs={_='messages.dialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v97/constructors/messages_dialogsNotModified.md b/old_docs/API_docs_v97/constructors/messages_dialogsNotModified.md deleted file mode 100644 index 16a32b2e..00000000 --- a/old_docs/API_docs_v97/constructors/messages_dialogsNotModified.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.dialogsNotModified -description: Dialogs haven't changed -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dialogsNotModified -[Back to constructors index](index.md) - - - -Dialogs haven't changed - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Number of dialogs found server-side by the query| - - - -### Type: [messages\_Dialogs](../types/messages_Dialogs.md) - - -### Example: - -```php -$messages_dialogsNotModified = ['_' => 'messages.dialogsNotModified', 'count' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_dialogsNotModified={_='messages.dialogsNotModified', count=int} - -``` - - diff --git a/old_docs/API_docs_v97/constructors/messages_dialogsSlice.md b/old_docs/API_docs_v97/constructors/messages_dialogsSlice.md deleted file mode 100644 index f183b9a8..00000000 --- a/old_docs/API_docs_v97/constructors/messages_dialogsSlice.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: messages.dialogsSlice -description: Incomplete list of dialogs with messages and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.dialogsSlice -[Back to constructors index](index.md) - - - -Incomplete list of dialogs with messages and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of dialogs| -|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Dialogs](../types/messages_Dialogs.md) - - -### Example: - -```php -$messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_dialogsSlice={_='messages.dialogsSlice', count=int, dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v97/constructors/messages_favedStickers.md b/old_docs/API_docs_v97/constructors/messages_favedStickers.md deleted file mode 100644 index 72d79df2..00000000 --- a/old_docs/API_docs_v97/constructors/messages_favedStickers.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.favedStickers -description: Favorited stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.favedStickers -[Back to constructors index](index.md) - - - -Favorited stickers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|packs|Array of [StickerPack](../types/StickerPack.md) | Yes|Packs| -|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| - - - -### Type: [messages\_FavedStickers](../types/messages_FavedStickers.md) - - -### Example: - -```php -$messages_favedStickers = ['_' => 'messages.favedStickers', 'hash' => int, 'packs' => [StickerPack, StickerPack], 'stickers' => [Document, Document]]; -``` - - -Or, if you're into Lua: - -```lua -messages_favedStickers={_='messages.favedStickers', hash=int, packs={StickerPack}, stickers={Document}} - -``` - - diff --git a/old_docs/API_docs_v97/constructors/messages_favedStickersNotModified.md b/old_docs/API_docs_v97/constructors/messages_favedStickersNotModified.md deleted file mode 100644 index a47c08e8..00000000 --- a/old_docs/API_docs_v97/constructors/messages_favedStickersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.favedStickersNotModified -description: No new favorited stickers were found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.favedStickersNotModified -[Back to constructors index](index.md) - - - -No new favorited stickers were found - - - - -### Type: [messages\_FavedStickers](../types/messages_FavedStickers.md) - - -### Example: - -```php -$messages_favedStickersNotModified = ['_' => 'messages.favedStickersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_favedStickersNotModified={_='messages.favedStickersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v97/constructors/messages_featuredStickers.md b/old_docs/API_docs_v97/constructors/messages_featuredStickers.md deleted file mode 100644 index 8ef1046e..00000000 --- a/old_docs/API_docs_v97/constructors/messages_featuredStickers.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.featuredStickers -description: Featured stickersets -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.featuredStickers -[Back to constructors index](index.md) - - - -Featured stickersets - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| -|unread|Array of [long](../types/long.md) | Yes|Unread| - - - -### Type: [messages\_FeaturedStickers](../types/messages_FeaturedStickers.md) - - -### Example: - -```php -$messages_featuredStickers = ['_' => 'messages.featuredStickers', 'hash' => int, 'sets' => [StickerSetCovered, StickerSetCovered], 'unread' => [long, long]]; -``` - - -Or, if you're into Lua: - -```lua -messages_featuredStickers={_='messages.featuredStickers', hash=int, sets={StickerSetCovered}, unread={long}} - -``` - - diff --git a/old_docs/API_docs_v97/constructors/messages_featuredStickersNotModified.md b/old_docs/API_docs_v97/constructors/messages_featuredStickersNotModified.md deleted file mode 100644 index de01131b..00000000 --- a/old_docs/API_docs_v97/constructors/messages_featuredStickersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.featuredStickersNotModified -description: Featured stickers haven't changed -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.featuredStickersNotModified -[Back to constructors index](index.md) - - - -Featured stickers haven't changed - - - - -### Type: [messages\_FeaturedStickers](../types/messages_FeaturedStickers.md) - - -### Example: - -```php -$messages_featuredStickersNotModified = ['_' => 'messages.featuredStickersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_featuredStickersNotModified={_='messages.featuredStickersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v97/constructors/messages_foundGifs.md b/old_docs/API_docs_v97/constructors/messages_foundGifs.md deleted file mode 100644 index eb3603ca..00000000 --- a/old_docs/API_docs_v97/constructors/messages_foundGifs.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.foundGifs -description: Found GIFs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.foundGifs -[Back to constructors index](index.md) - - - -Found GIFs - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|next\_offset|[int](../types/int.md) | Yes|Next offset to use when trying to [load more results](../methods/messages.searchGifs.md)| -|results|Array of [FoundGif](../types/FoundGif.md) | Yes|Results| - - - -### Type: [messages\_FoundGifs](../types/messages_FoundGifs.md) - - -### Example: - -```php -$messages_foundGifs = ['_' => 'messages.foundGifs', 'next_offset' => int, 'results' => [FoundGif, FoundGif]]; -``` - - -Or, if you're into Lua: - -```lua -messages_foundGifs={_='messages.foundGifs', next_offset=int, results={FoundGif}} - -``` - - diff --git a/old_docs/API_docs_v97/constructors/messages_foundStickerSets.md b/old_docs/API_docs_v97/constructors/messages_foundStickerSets.md deleted file mode 100644 index 356177e1..00000000 --- a/old_docs/API_docs_v97/constructors/messages_foundStickerSets.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.foundStickerSets -description: Found stickersets -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.foundStickerSets -[Back to constructors index](index.md) - - - -Found stickersets - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| - - - -### Type: [messages\_FoundStickerSets](../types/messages_FoundStickerSets.md) - - -### Example: - -```php -$messages_foundStickerSets = ['_' => 'messages.foundStickerSets', 'hash' => int, 'sets' => [StickerSetCovered, StickerSetCovered]]; -``` - - -Or, if you're into Lua: - -```lua -messages_foundStickerSets={_='messages.foundStickerSets', hash=int, sets={StickerSetCovered}} - -``` - - diff --git a/old_docs/API_docs_v97/constructors/messages_foundStickerSetsNotModified.md b/old_docs/API_docs_v97/constructors/messages_foundStickerSetsNotModified.md deleted file mode 100644 index c1f39490..00000000 --- a/old_docs/API_docs_v97/constructors/messages_foundStickerSetsNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.foundStickerSetsNotModified -description: No further results were found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.foundStickerSetsNotModified -[Back to constructors index](index.md) - - - -No further results were found - - - - -### Type: [messages\_FoundStickerSets](../types/messages_FoundStickerSets.md) - - -### Example: - -```php -$messages_foundStickerSetsNotModified = ['_' => 'messages.foundStickerSetsNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_foundStickerSetsNotModified={_='messages.foundStickerSetsNotModified'} - -``` - - diff --git a/old_docs/API_docs_v97/constructors/messages_highScores.md b/old_docs/API_docs_v97/constructors/messages_highScores.md deleted file mode 100644 index d6fc5210..00000000 --- a/old_docs/API_docs_v97/constructors/messages_highScores.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.highScores -description: Highscores in a game -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.highScores -[Back to constructors index](index.md) - - - -Highscores in a game - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|scores|Array of [HighScore](../types/HighScore.md) | Yes|Scores| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_HighScores](../types/messages_HighScores.md) - - -### Example: - -```php -$messages_highScores = ['_' => 'messages.highScores', 'scores' => [HighScore, HighScore], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_highScores={_='messages.highScores', scores={HighScore}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v97/constructors/messages_messageEditData.md b/old_docs/API_docs_v97/constructors/messages_messageEditData.md deleted file mode 100644 index 76aefca5..00000000 --- a/old_docs/API_docs_v97/constructors/messages_messageEditData.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.messageEditData -description: Message edit data for media -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.messageEditData -[Back to constructors index](index.md) - - - -Message edit data for media - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|caption|[Bool](../types/Bool.md) | Optional|Media caption, if the specified media's caption can be edited| - - - -### Type: [messages\_MessageEditData](../types/messages_MessageEditData.md) - - -### Example: - -```php -$messages_messageEditData = ['_' => 'messages.messageEditData', 'caption' => Bool]; -``` - - -Or, if you're into Lua: - -```lua -messages_messageEditData={_='messages.messageEditData', caption=Bool} - -``` - - diff --git a/old_docs/API_docs_v97/constructors/messages_messages.md b/old_docs/API_docs_v97/constructors/messages_messages.md deleted file mode 100644 index 3e369e1a..00000000 --- a/old_docs/API_docs_v97/constructors/messages_messages.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.messages -description: Full list of messages with auxilary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.messages -[Back to constructors index](index.md) - - - -Full list of messages with auxilary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Messages](../types/messages_Messages.md) - - -### Example: - -```php -$messages_messages = ['_' => 'messages.messages', 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_messages={_='messages.messages', messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v97/constructors/messages_messagesNotModified.md b/old_docs/API_docs_v97/constructors/messages_messagesNotModified.md deleted file mode 100644 index 2e9c4ad9..00000000 --- a/old_docs/API_docs_v97/constructors/messages_messagesNotModified.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.messagesNotModified -description: No new messages matching the query were found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.messagesNotModified -[Back to constructors index](index.md) - - - -No new messages matching the query were found - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Number of results found server-side by the given query| - - - -### Type: [messages\_Messages](../types/messages_Messages.md) - - -### Example: - -```php -$messages_messagesNotModified = ['_' => 'messages.messagesNotModified', 'count' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_messagesNotModified={_='messages.messagesNotModified', count=int} - -``` - - diff --git a/old_docs/API_docs_v97/constructors/messages_messagesSlice.md b/old_docs/API_docs_v97/constructors/messages_messagesSlice.md deleted file mode 100644 index 863d44fb..00000000 --- a/old_docs/API_docs_v97/constructors/messages_messagesSlice.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: messages.messagesSlice -description: Incomplete list of messages and auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.messagesSlice -[Back to constructors index](index.md) - - - -Incomplete list of messages and auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|inexact|[Bool](../types/Bool.md) | Optional|If set, indicates that the results may be inexact| -|count|[int](../types/int.md) | Yes|Total number of messages in the list| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [messages\_Messages](../types/messages_Messages.md) - - -### Example: - -```php -$messages_messagesSlice = ['_' => 'messages.messagesSlice', 'inexact' => Bool, 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -messages_messagesSlice={_='messages.messagesSlice', inexact=Bool, count=int, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v97/constructors/messages_peerDialogs.md b/old_docs/API_docs_v97/constructors/messages_peerDialogs.md deleted file mode 100644 index 29b4b842..00000000 --- a/old_docs/API_docs_v97/constructors/messages_peerDialogs.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: messages.peerDialogs -description: Dialog info of multiple peers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.peerDialogs -[Back to constructors index](index.md) - - - -Dialog info of multiple peers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|dialogs|Array of [Dialog](../types/Dialog.md) | Yes|Dialogs| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| -|state|[updates\_State](../types/updates_State.md) | Yes|Current [update state of dialog](https://core.telegram.org/api/updates)| - - - -### Type: [messages\_PeerDialogs](../types/messages_PeerDialogs.md) - - -### Example: - -```php -$messages_peerDialogs = ['_' => 'messages.peerDialogs', 'dialogs' => [Dialog, Dialog], 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates_State]; -``` - - -Or, if you're into Lua: - -```lua -messages_peerDialogs={_='messages.peerDialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}, state=updates_State} - -``` - - diff --git a/old_docs/API_docs_v97/constructors/messages_recentStickers.md b/old_docs/API_docs_v97/constructors/messages_recentStickers.md deleted file mode 100644 index 47d5cffd..00000000 --- a/old_docs/API_docs_v97/constructors/messages_recentStickers.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: messages.recentStickers -description: Recently used stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.recentStickers -[Back to constructors index](index.md) - - - -Recently used stickers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|packs|Array of [StickerPack](../types/StickerPack.md) | Yes|Packs| -|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| -|dates|Array of [int](../types/int.md) | Yes|Dates| - - - -### Type: [messages\_RecentStickers](../types/messages_RecentStickers.md) - - -### Example: - -```php -$messages_recentStickers = ['_' => 'messages.recentStickers', 'hash' => int, 'packs' => [StickerPack, StickerPack], 'stickers' => [Document, Document], 'dates' => [int, int]]; -``` - - -Or, if you're into Lua: - -```lua -messages_recentStickers={_='messages.recentStickers', hash=int, packs={StickerPack}, stickers={Document}, dates={int}} - -``` - - diff --git a/old_docs/API_docs_v97/constructors/messages_recentStickersNotModified.md b/old_docs/API_docs_v97/constructors/messages_recentStickersNotModified.md deleted file mode 100644 index 3e81dceb..00000000 --- a/old_docs/API_docs_v97/constructors/messages_recentStickersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.recentStickersNotModified -description: No new recent sticker was found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.recentStickersNotModified -[Back to constructors index](index.md) - - - -No new recent sticker was found - - - - -### Type: [messages\_RecentStickers](../types/messages_RecentStickers.md) - - -### Example: - -```php -$messages_recentStickersNotModified = ['_' => 'messages.recentStickersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_recentStickersNotModified={_='messages.recentStickersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v97/constructors/messages_savedGifs.md b/old_docs/API_docs_v97/constructors/messages_savedGifs.md deleted file mode 100644 index ed3e8ea3..00000000 --- a/old_docs/API_docs_v97/constructors/messages_savedGifs.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.savedGifs -description: Saved gifs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.savedGifs -[Back to constructors index](index.md) - - - -Saved gifs - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|gifs|Array of [Document](../types/Document.md) | Yes|Gifs| - - - -### Type: [messages\_SavedGifs](../types/messages_SavedGifs.md) - - -### Example: - -```php -$messages_savedGifs = ['_' => 'messages.savedGifs', 'hash' => int, 'gifs' => [Document, Document]]; -``` - - -Or, if you're into Lua: - -```lua -messages_savedGifs={_='messages.savedGifs', hash=int, gifs={Document}} - -``` - - diff --git a/old_docs/API_docs_v97/constructors/messages_savedGifsNotModified.md b/old_docs/API_docs_v97/constructors/messages_savedGifsNotModified.md deleted file mode 100644 index 0f843a0c..00000000 --- a/old_docs/API_docs_v97/constructors/messages_savedGifsNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.savedGifsNotModified -description: No new saved gifs were found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.savedGifsNotModified -[Back to constructors index](index.md) - - - -No new saved gifs were found - - - - -### Type: [messages\_SavedGifs](../types/messages_SavedGifs.md) - - -### Example: - -```php -$messages_savedGifsNotModified = ['_' => 'messages.savedGifsNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_savedGifsNotModified={_='messages.savedGifsNotModified'} - -``` - - diff --git a/old_docs/API_docs_v97/constructors/messages_sentEncryptedFile.md b/old_docs/API_docs_v97/constructors/messages_sentEncryptedFile.md deleted file mode 100644 index fdc2a11e..00000000 --- a/old_docs/API_docs_v97/constructors/messages_sentEncryptedFile.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.sentEncryptedFile -description: Message with a file enclosure sent to a protected chat -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.sentEncryptedFile -[Back to constructors index](index.md) - - - -Message with a file enclosure sent to a protected chat - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Sending date| -|file|[EncryptedFile](../types/EncryptedFile.md) | Optional|Attached file| - - - -### Type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) - - -### Example: - -```php -$messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile]; -``` - - -Or, if you're into Lua: - -```lua -messages_sentEncryptedFile={_='messages.sentEncryptedFile', date=int, file=EncryptedFile} - -``` - - diff --git a/old_docs/API_docs_v97/constructors/messages_sentEncryptedMessage.md b/old_docs/API_docs_v97/constructors/messages_sentEncryptedMessage.md deleted file mode 100644 index 36b2bbff..00000000 --- a/old_docs/API_docs_v97/constructors/messages_sentEncryptedMessage.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.sentEncryptedMessage -description: Message without file attachemts sent to an encrypted file. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.sentEncryptedMessage -[Back to constructors index](index.md) - - - -Message without file attachemts sent to an encrypted file. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Date of sending| - - - -### Type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) - - -### Example: - -```php -$messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int]; -``` - - -Or, if you're into Lua: - -```lua -messages_sentEncryptedMessage={_='messages.sentEncryptedMessage', date=int} - -``` - - diff --git a/old_docs/API_docs_v97/constructors/messages_stickerSet.md b/old_docs/API_docs_v97/constructors/messages_stickerSet.md deleted file mode 100644 index 127191de..00000000 --- a/old_docs/API_docs_v97/constructors/messages_stickerSet.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages.stickerSet -description: Stickerset and stickers inside it -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickerSet -[Back to constructors index](index.md) - - - -Stickerset and stickers inside it - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|set|[StickerSet](../types/StickerSet.md) | Yes|The stickerset| -|packs|Array of [StickerPack](../types/StickerPack.md) | Yes|Packs| -|documents|Array of [Document](../types/Document.md) | Yes|Documents| - - - -### Type: [messages\_StickerSet](../types/messages_StickerSet.md) - - -### Example: - -```php -$messages_stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'packs' => [StickerPack, StickerPack], 'documents' => [Document, Document]]; -``` - - -Or, if you're into Lua: - -```lua -messages_stickerSet={_='messages.stickerSet', set=StickerSet, packs={StickerPack}, documents={Document}} - -``` - - diff --git a/old_docs/API_docs_v97/constructors/messages_stickerSetInstallResultArchive.md b/old_docs/API_docs_v97/constructors/messages_stickerSetInstallResultArchive.md deleted file mode 100644 index 8a5f4d5d..00000000 --- a/old_docs/API_docs_v97/constructors/messages_stickerSetInstallResultArchive.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: messages.stickerSetInstallResultArchive -description: The stickerset was installed, but since there are too many stickersets some were archived -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickerSetInstallResultArchive -[Back to constructors index](index.md) - - - -The stickerset was installed, but since there are too many stickersets some were archived - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Sets| - - - -### Type: [messages\_StickerSetInstallResult](../types/messages_StickerSetInstallResult.md) - - -### Example: - -```php -$messages_stickerSetInstallResultArchive = ['_' => 'messages.stickerSetInstallResultArchive', 'sets' => [StickerSetCovered, StickerSetCovered]]; -``` - - -Or, if you're into Lua: - -```lua -messages_stickerSetInstallResultArchive={_='messages.stickerSetInstallResultArchive', sets={StickerSetCovered}} - -``` - - diff --git a/old_docs/API_docs_v97/constructors/messages_stickerSetInstallResultSuccess.md b/old_docs/API_docs_v97/constructors/messages_stickerSetInstallResultSuccess.md deleted file mode 100644 index 1d33b89f..00000000 --- a/old_docs/API_docs_v97/constructors/messages_stickerSetInstallResultSuccess.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.stickerSetInstallResultSuccess -description: The stickerset was installed successfully -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickerSetInstallResultSuccess -[Back to constructors index](index.md) - - - -The stickerset was installed successfully - - - - -### Type: [messages\_StickerSetInstallResult](../types/messages_StickerSetInstallResult.md) - - -### Example: - -```php -$messages_stickerSetInstallResultSuccess = ['_' => 'messages.stickerSetInstallResultSuccess']; -``` - - -Or, if you're into Lua: - -```lua -messages_stickerSetInstallResultSuccess={_='messages.stickerSetInstallResultSuccess'} - -``` - - diff --git a/old_docs/API_docs_v97/constructors/messages_stickers.md b/old_docs/API_docs_v97/constructors/messages_stickers.md deleted file mode 100644 index c321996b..00000000 --- a/old_docs/API_docs_v97/constructors/messages_stickers.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: messages.stickers -description: Found stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickers -[Back to constructors index](index.md) - - - -Found stickers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)| -|stickers|Array of [Document](../types/Document.md) | Yes|Stickers| - - - -### Type: [messages\_Stickers](../types/messages_Stickers.md) - - -### Example: - -```php -$messages_stickers = ['_' => 'messages.stickers', 'hash' => int, 'stickers' => [Document, Document]]; -``` - - -Or, if you're into Lua: - -```lua -messages_stickers={_='messages.stickers', hash=int, stickers={Document}} - -``` - - diff --git a/old_docs/API_docs_v97/constructors/messages_stickersNotModified.md b/old_docs/API_docs_v97/constructors/messages_stickersNotModified.md deleted file mode 100644 index 3d434a79..00000000 --- a/old_docs/API_docs_v97/constructors/messages_stickersNotModified.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messages.stickersNotModified -description: No new stickers were found for the given query -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: messages.stickersNotModified -[Back to constructors index](index.md) - - - -No new stickers were found for the given query - - - - -### Type: [messages\_Stickers](../types/messages_Stickers.md) - - -### Example: - -```php -$messages_stickersNotModified = ['_' => 'messages.stickersNotModified']; -``` - - -Or, if you're into Lua: - -```lua -messages_stickersNotModified={_='messages.stickersNotModified'} - -``` - - diff --git a/old_docs/API_docs_v97/constructors/payments.paymentForm.md b/old_docs/API_docs_v97/constructors/payments.paymentForm.md new file mode 100644 index 00000000..90e0f39d --- /dev/null +++ b/old_docs/API_docs_v97/constructors/payments.paymentForm.md @@ -0,0 +1,48 @@ +--- +title: payments.paymentForm +description: Payment form +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: payments.paymentForm +[Back to constructors index](index.md) + + + +Payment form + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|can\_save\_credentials|[Bool](../types/Bool.md) | Optional|Whether the user can choose to save credentials.| +|password\_missing|[Bool](../types/Bool.md) | Optional|Indicates that the user can save payment credentials, but only after setting up a [2FA password](https://core.telegram.org/api/srp) (currently the account doesn't have a [2FA password](https://core.telegram.org/api/srp))| +|bot\_id|[int](../types/int.md) | Yes|Bot ID| +|invoice|[Invoice](../types/Invoice.md) | Yes|Invoice| +|provider\_id|[int](../types/int.md) | Yes|Payment provider ID.| +|url|[string](../types/string.md) | Yes|Payment form URL| +|native\_provider|[string](../types/string.md) | Optional|Payment provider name.
One of the following:
\- `stripe`| +|native\_params|[DataJSON](../types/DataJSON.md) | Optional|Contains information about the payment provider, if available, to support it natively without the need for opening the URL.
A JSON object that can contain the following fields:

\- `publishable_key`: Stripe API publishable key
\- `apple_pay_merchant_id`: Apple Pay merchant ID
\- `android_pay_public_key`: Android Pay public key
\- `android_pay_bgcolor`: Android Pay form background color
\- `android_pay_inverse`: Whether to use the dark theme in the Android Pay form
\- `need_country`: True, if the user country must be provided,
\- `need_zip`: True, if the user ZIP/postal code must be provided,
\- `need_cardholder_name`: True, if the cardholder name must be provided
| +|saved\_info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Optional|Saved server-side order information| +|saved\_credentials|[PaymentSavedCredentials](../types/PaymentSavedCredentials.md) | Optional|Contains information about saved card credentials| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [payments.PaymentForm](../types/payments.PaymentForm.md) + + +### Example: + +```php +$payments.paymentForm = ['_' => 'payments.paymentForm', 'can_save_credentials' => Bool, 'password_missing' => Bool, 'bot_id' => int, 'invoice' => Invoice, 'provider_id' => int, 'url' => 'string', 'native_provider' => 'string', 'native_params' => DataJSON, 'saved_info' => PaymentRequestedInfo, 'saved_credentials' => PaymentSavedCredentials, 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +payments.paymentForm={_='payments.paymentForm', can_save_credentials=Bool, password_missing=Bool, bot_id=int, invoice=Invoice, provider_id=int, url='string', native_provider='string', native_params=DataJSON, saved_info=PaymentRequestedInfo, saved_credentials=PaymentSavedCredentials, users={User}} + +``` + + diff --git a/old_docs/API_docs_v97/constructors/payments.paymentReceipt.md b/old_docs/API_docs_v97/constructors/payments.paymentReceipt.md new file mode 100644 index 00000000..5a0cc190 --- /dev/null +++ b/old_docs/API_docs_v97/constructors/payments.paymentReceipt.md @@ -0,0 +1,47 @@ +--- +title: payments.paymentReceipt +description: Receipt +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: payments.paymentReceipt +[Back to constructors index](index.md) + + + +Receipt + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Date of generation| +|bot\_id|[int](../types/int.md) | Yes|Bot ID| +|invoice|[Invoice](../types/Invoice.md) | Yes|Invoice| +|provider\_id|[int](../types/int.md) | Yes|Provider ID| +|info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Optional|Info| +|shipping|[ShippingOption](../types/ShippingOption.md) | Optional|Selected shipping option| +|currency|[string](../types/string.md) | Yes|Three-letter ISO 4217 [currency](https://core.telegram.org/bots/payments#supported-currencies) code| +|total\_amount|[long](../types/long.md) | Yes|Total amount in the smallest units of the currency (integer, not float/double). For example, for a price of `US$ 1.45` pass `amount = 145`. See the exp parameter in [currencies.json](https://core.telegram.org/bots/payments/currencies.json), it shows the number of digits past the decimal point for each currency (2 for the majority of currencies).| +|credentials\_title|[string](../types/string.md) | Yes|Payment credential name| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [payments.PaymentReceipt](../types/payments.PaymentReceipt.md) + + +### Example: + +```php +$payments.paymentReceipt = ['_' => 'payments.paymentReceipt', 'date' => int, 'bot_id' => int, 'invoice' => Invoice, 'provider_id' => int, 'info' => PaymentRequestedInfo, 'shipping' => ShippingOption, 'currency' => 'string', 'total_amount' => long, 'credentials_title' => 'string', 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +payments.paymentReceipt={_='payments.paymentReceipt', date=int, bot_id=int, invoice=Invoice, provider_id=int, info=PaymentRequestedInfo, shipping=ShippingOption, currency='string', total_amount=long, credentials_title='string', users={User}} + +``` + + diff --git a/old_docs/API_docs_v97/constructors/payments.paymentResult.md b/old_docs/API_docs_v97/constructors/payments.paymentResult.md new file mode 100644 index 00000000..df32fd91 --- /dev/null +++ b/old_docs/API_docs_v97/constructors/payments.paymentResult.md @@ -0,0 +1,38 @@ +--- +title: payments.paymentResult +description: Payment result +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: payments.paymentResult +[Back to constructors index](index.md) + + + +Payment result + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|updates|[Updates](../types/Updates.md) | Yes|Info about the payment| + + + +### Type: [payments.PaymentResult](../types/payments.PaymentResult.md) + + +### Example: + +```php +$payments.paymentResult = ['_' => 'payments.paymentResult', 'updates' => Updates]; +``` + + +Or, if you're into Lua: + +```lua +payments.paymentResult={_='payments.paymentResult', updates=Updates} + +``` + + diff --git a/old_docs/API_docs_v97/constructors/payments.paymentVerficationNeeded.md b/old_docs/API_docs_v97/constructors/payments.paymentVerficationNeeded.md new file mode 100644 index 00000000..3f459215 --- /dev/null +++ b/old_docs/API_docs_v97/constructors/payments.paymentVerficationNeeded.md @@ -0,0 +1,38 @@ +--- +title: payments.paymentVerficationNeeded +description: Payment verfication needed +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: payments.paymentVerficationNeeded +[Back to constructors index](index.md) + + + +Payment verfication needed + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|url|[string](../types/string.md) | Yes|URL| + + + +### Type: [payments.PaymentResult](../types/payments.PaymentResult.md) + + +### Example: + +```php +$payments.paymentVerficationNeeded = ['_' => 'payments.paymentVerficationNeeded', 'url' => 'string']; +``` + + +Or, if you're into Lua: + +```lua +payments.paymentVerficationNeeded={_='payments.paymentVerficationNeeded', url='string'} + +``` + + diff --git a/old_docs/API_docs_v97/constructors/payments.savedInfo.md b/old_docs/API_docs_v97/constructors/payments.savedInfo.md new file mode 100644 index 00000000..a005a842 --- /dev/null +++ b/old_docs/API_docs_v97/constructors/payments.savedInfo.md @@ -0,0 +1,39 @@ +--- +title: payments.savedInfo +description: Saved server-side order information +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: payments.savedInfo +[Back to constructors index](index.md) + + + +Saved server-side order information + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|has\_saved\_credentials|[Bool](../types/Bool.md) | Optional|Whether the user has some saved payment credentials| +|saved\_info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Optional|Saved server-side order information| + + + +### Type: [payments.SavedInfo](../types/payments.SavedInfo.md) + + +### Example: + +```php +$payments.savedInfo = ['_' => 'payments.savedInfo', 'has_saved_credentials' => Bool, 'saved_info' => PaymentRequestedInfo]; +``` + + +Or, if you're into Lua: + +```lua +payments.savedInfo={_='payments.savedInfo', has_saved_credentials=Bool, saved_info=PaymentRequestedInfo} + +``` + + diff --git a/old_docs/API_docs_v97/constructors/payments.validatedRequestedInfo.md b/old_docs/API_docs_v97/constructors/payments.validatedRequestedInfo.md new file mode 100644 index 00000000..4789b28d --- /dev/null +++ b/old_docs/API_docs_v97/constructors/payments.validatedRequestedInfo.md @@ -0,0 +1,39 @@ +--- +title: payments.validatedRequestedInfo +description: Validated user-provided info +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: payments.validatedRequestedInfo +[Back to constructors index](index.md) + + + +Validated user-provided info + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|id|[string](../types/string.md) | Optional|ID| +|shipping\_options|Array of [ShippingOption](../types/ShippingOption.md) | Optional|Shipping options| + + + +### Type: [payments.ValidatedRequestedInfo](../types/payments.ValidatedRequestedInfo.md) + + +### Example: + +```php +$payments.validatedRequestedInfo = ['_' => 'payments.validatedRequestedInfo', 'id' => 'string', 'shipping_options' => [ShippingOption, ShippingOption]]; +``` + + +Or, if you're into Lua: + +```lua +payments.validatedRequestedInfo={_='payments.validatedRequestedInfo', id='string', shipping_options={ShippingOption}} + +``` + + diff --git a/old_docs/API_docs_v97/constructors/payments_paymentForm.md b/old_docs/API_docs_v97/constructors/payments_paymentForm.md deleted file mode 100644 index 88848527..00000000 --- a/old_docs/API_docs_v97/constructors/payments_paymentForm.md +++ /dev/null @@ -1,48 +0,0 @@ ---- -title: payments.paymentForm -description: Payment form -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: payments.paymentForm -[Back to constructors index](index.md) - - - -Payment form - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|can\_save\_credentials|[Bool](../types/Bool.md) | Optional|Whether the user can choose to save credentials.| -|password\_missing|[Bool](../types/Bool.md) | Optional|Indicates that the user can save payment credentials, but only after setting up a [2FA password](https://core.telegram.org/api/srp) (currently the account doesn't have a [2FA password](https://core.telegram.org/api/srp))| -|bot\_id|[int](../types/int.md) | Yes|Bot ID| -|invoice|[Invoice](../types/Invoice.md) | Yes|Invoice| -|provider\_id|[int](../types/int.md) | Yes|Payment provider ID.| -|url|[string](../types/string.md) | Yes|Payment form URL| -|native\_provider|[string](../types/string.md) | Optional|Payment provider name.
One of the following:
\- `stripe`| -|native\_params|[DataJSON](../types/DataJSON.md) | Optional|Contains information about the payment provider, if available, to support it natively without the need for opening the URL.
A JSON object that can contain the following fields:

\- `publishable_key`: Stripe API publishable key
\- `apple_pay_merchant_id`: Apple Pay merchant ID
\- `android_pay_public_key`: Android Pay public key
\- `android_pay_bgcolor`: Android Pay form background color
\- `android_pay_inverse`: Whether to use the dark theme in the Android Pay form
\- `need_country`: True, if the user country must be provided,
\- `need_zip`: True, if the user ZIP/postal code must be provided,
\- `need_cardholder_name`: True, if the cardholder name must be provided
| -|saved\_info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Optional|Saved server-side order information| -|saved\_credentials|[PaymentSavedCredentials](../types/PaymentSavedCredentials.md) | Optional|Contains information about saved card credentials| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [payments\_PaymentForm](../types/payments_PaymentForm.md) - - -### Example: - -```php -$payments_paymentForm = ['_' => 'payments.paymentForm', 'can_save_credentials' => Bool, 'password_missing' => Bool, 'bot_id' => int, 'invoice' => Invoice, 'provider_id' => int, 'url' => 'string', 'native_provider' => 'string', 'native_params' => DataJSON, 'saved_info' => PaymentRequestedInfo, 'saved_credentials' => PaymentSavedCredentials, 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -payments_paymentForm={_='payments.paymentForm', can_save_credentials=Bool, password_missing=Bool, bot_id=int, invoice=Invoice, provider_id=int, url='string', native_provider='string', native_params=DataJSON, saved_info=PaymentRequestedInfo, saved_credentials=PaymentSavedCredentials, users={User}} - -``` - - diff --git a/old_docs/API_docs_v97/constructors/payments_paymentReceipt.md b/old_docs/API_docs_v97/constructors/payments_paymentReceipt.md deleted file mode 100644 index 411e9dee..00000000 --- a/old_docs/API_docs_v97/constructors/payments_paymentReceipt.md +++ /dev/null @@ -1,47 +0,0 @@ ---- -title: payments.paymentReceipt -description: Receipt -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: payments.paymentReceipt -[Back to constructors index](index.md) - - - -Receipt - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Date of generation| -|bot\_id|[int](../types/int.md) | Yes|Bot ID| -|invoice|[Invoice](../types/Invoice.md) | Yes|Invoice| -|provider\_id|[int](../types/int.md) | Yes|Provider ID| -|info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Optional|Info| -|shipping|[ShippingOption](../types/ShippingOption.md) | Optional|Selected shipping option| -|currency|[string](../types/string.md) | Yes|Three-letter ISO 4217 [currency](https://core.telegram.org/bots/payments#supported-currencies) code| -|total\_amount|[long](../types/long.md) | Yes|Total amount in the smallest units of the currency (integer, not float/double). For example, for a price of `US$ 1.45` pass `amount = 145`. See the exp parameter in [currencies.json](https://core.telegram.org/bots/payments/currencies.json), it shows the number of digits past the decimal point for each currency (2 for the majority of currencies).| -|credentials\_title|[string](../types/string.md) | Yes|Payment credential name| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [payments\_PaymentReceipt](../types/payments_PaymentReceipt.md) - - -### Example: - -```php -$payments_paymentReceipt = ['_' => 'payments.paymentReceipt', 'date' => int, 'bot_id' => int, 'invoice' => Invoice, 'provider_id' => int, 'info' => PaymentRequestedInfo, 'shipping' => ShippingOption, 'currency' => 'string', 'total_amount' => long, 'credentials_title' => 'string', 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -payments_paymentReceipt={_='payments.paymentReceipt', date=int, bot_id=int, invoice=Invoice, provider_id=int, info=PaymentRequestedInfo, shipping=ShippingOption, currency='string', total_amount=long, credentials_title='string', users={User}} - -``` - - diff --git a/old_docs/API_docs_v97/constructors/payments_paymentResult.md b/old_docs/API_docs_v97/constructors/payments_paymentResult.md deleted file mode 100644 index 12af1d36..00000000 --- a/old_docs/API_docs_v97/constructors/payments_paymentResult.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: payments.paymentResult -description: Payment result -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: payments.paymentResult -[Back to constructors index](index.md) - - - -Payment result - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|updates|[Updates](../types/Updates.md) | Yes|Info about the payment| - - - -### Type: [payments\_PaymentResult](../types/payments_PaymentResult.md) - - -### Example: - -```php -$payments_paymentResult = ['_' => 'payments.paymentResult', 'updates' => Updates]; -``` - - -Or, if you're into Lua: - -```lua -payments_paymentResult={_='payments.paymentResult', updates=Updates} - -``` - - diff --git a/old_docs/API_docs_v97/constructors/payments_paymentVerficationNeeded.md b/old_docs/API_docs_v97/constructors/payments_paymentVerficationNeeded.md deleted file mode 100644 index 70ca205d..00000000 --- a/old_docs/API_docs_v97/constructors/payments_paymentVerficationNeeded.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: payments.paymentVerficationNeeded -description: Payment verfication needed -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: payments.paymentVerficationNeeded -[Back to constructors index](index.md) - - - -Payment verfication needed - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|url|[string](../types/string.md) | Yes|URL| - - - -### Type: [payments\_PaymentResult](../types/payments_PaymentResult.md) - - -### Example: - -```php -$payments_paymentVerficationNeeded = ['_' => 'payments.paymentVerficationNeeded', 'url' => 'string']; -``` - - -Or, if you're into Lua: - -```lua -payments_paymentVerficationNeeded={_='payments.paymentVerficationNeeded', url='string'} - -``` - - diff --git a/old_docs/API_docs_v97/constructors/payments_savedInfo.md b/old_docs/API_docs_v97/constructors/payments_savedInfo.md deleted file mode 100644 index 19d3aee5..00000000 --- a/old_docs/API_docs_v97/constructors/payments_savedInfo.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: payments.savedInfo -description: Saved server-side order information -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: payments.savedInfo -[Back to constructors index](index.md) - - - -Saved server-side order information - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|has\_saved\_credentials|[Bool](../types/Bool.md) | Optional|Whether the user has some saved payment credentials| -|saved\_info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Optional|Saved server-side order information| - - - -### Type: [payments\_SavedInfo](../types/payments_SavedInfo.md) - - -### Example: - -```php -$payments_savedInfo = ['_' => 'payments.savedInfo', 'has_saved_credentials' => Bool, 'saved_info' => PaymentRequestedInfo]; -``` - - -Or, if you're into Lua: - -```lua -payments_savedInfo={_='payments.savedInfo', has_saved_credentials=Bool, saved_info=PaymentRequestedInfo} - -``` - - diff --git a/old_docs/API_docs_v97/constructors/payments_validatedRequestedInfo.md b/old_docs/API_docs_v97/constructors/payments_validatedRequestedInfo.md deleted file mode 100644 index a07c7d06..00000000 --- a/old_docs/API_docs_v97/constructors/payments_validatedRequestedInfo.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: payments.validatedRequestedInfo -description: Validated user-provided info -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: payments.validatedRequestedInfo -[Back to constructors index](index.md) - - - -Validated user-provided info - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|id|[string](../types/string.md) | Optional|ID| -|shipping\_options|Array of [ShippingOption](../types/ShippingOption.md) | Optional|Shipping options| - - - -### Type: [payments\_ValidatedRequestedInfo](../types/payments_ValidatedRequestedInfo.md) - - -### Example: - -```php -$payments_validatedRequestedInfo = ['_' => 'payments.validatedRequestedInfo', 'id' => 'string', 'shipping_options' => [ShippingOption, ShippingOption]]; -``` - - -Or, if you're into Lua: - -```lua -payments_validatedRequestedInfo={_='payments.validatedRequestedInfo', id='string', shipping_options={ShippingOption}} - -``` - - diff --git a/old_docs/API_docs_v97/constructors/phone.phoneCall.md b/old_docs/API_docs_v97/constructors/phone.phoneCall.md new file mode 100644 index 00000000..8c1d26d4 --- /dev/null +++ b/old_docs/API_docs_v97/constructors/phone.phoneCall.md @@ -0,0 +1,39 @@ +--- +title: phone.phoneCall +description: A VoIP phone call +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: phone.phoneCall +[Back to constructors index](index.md) + + + +A VoIP phone call + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|phone\_call|[PhoneCall](../types/PhoneCall.md) | Optional|The VoIP phone call| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [phone.PhoneCall](../types/phone.PhoneCall.md) + + +### Example: + +```php +$phone.phoneCall = ['_' => 'phone.phoneCall', 'phone_call' => PhoneCall, 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +phone.phoneCall={_='phone.phoneCall', phone_call=PhoneCall, users={User}} + +``` + + diff --git a/old_docs/API_docs_v97/constructors/phone_phoneCall.md b/old_docs/API_docs_v97/constructors/phone_phoneCall.md deleted file mode 100644 index 94314567..00000000 --- a/old_docs/API_docs_v97/constructors/phone_phoneCall.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: phone.phoneCall -description: A VoIP phone call -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: phone.phoneCall -[Back to constructors index](index.md) - - - -A VoIP phone call - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|phone\_call|[PhoneCall](../types/PhoneCall.md) | Optional|The VoIP phone call| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [phone\_PhoneCall](../types/phone_PhoneCall.md) - - -### Example: - -```php -$phone_phoneCall = ['_' => 'phone.phoneCall', 'phone_call' => PhoneCall, 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -phone_phoneCall={_='phone.phoneCall', phone_call=PhoneCall, users={User}} - -``` - - diff --git a/old_docs/API_docs_v97/constructors/photos.photo.md b/old_docs/API_docs_v97/constructors/photos.photo.md new file mode 100644 index 00000000..43d3efc7 --- /dev/null +++ b/old_docs/API_docs_v97/constructors/photos.photo.md @@ -0,0 +1,39 @@ +--- +title: photos.photo +description: Photo with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: photos.photo +[Back to constructors index](index.md) + + + +Photo with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|photo|[Photo](../types/Photo.md) | Optional|Photo| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [photos.Photo](../types/photos.Photo.md) + + +### Example: + +```php +$photos.photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +photos.photo={_='photos.photo', photo=Photo, users={User}} + +``` + + diff --git a/old_docs/API_docs_v97/constructors/photos.photos.md b/old_docs/API_docs_v97/constructors/photos.photos.md new file mode 100644 index 00000000..901a9693 --- /dev/null +++ b/old_docs/API_docs_v97/constructors/photos.photos.md @@ -0,0 +1,39 @@ +--- +title: photos.photos +description: Full list of photos with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: photos.photos +[Back to constructors index](index.md) + + + +Full list of photos with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [photos.Photos](../types/photos.Photos.md) + + +### Example: + +```php +$photos.photos = ['_' => 'photos.photos', 'photos' => [Photo, Photo], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +photos.photos={_='photos.photos', photos={Photo}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v97/constructors/photos.photosSlice.md b/old_docs/API_docs_v97/constructors/photos.photosSlice.md new file mode 100644 index 00000000..2cca3546 --- /dev/null +++ b/old_docs/API_docs_v97/constructors/photos.photosSlice.md @@ -0,0 +1,40 @@ +--- +title: photos.photosSlice +description: Incomplete list of photos with auxiliary data. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: photos.photosSlice +[Back to constructors index](index.md) + + + +Incomplete list of photos with auxiliary data. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|count|[int](../types/int.md) | Yes|Total number of photos| +|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [photos.Photos](../types/photos.Photos.md) + + +### Example: + +```php +$photos.photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo, Photo], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +photos.photosSlice={_='photos.photosSlice', count=int, photos={Photo}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v97/constructors/photos_photo.md b/old_docs/API_docs_v97/constructors/photos_photo.md deleted file mode 100644 index d5ad61d9..00000000 --- a/old_docs/API_docs_v97/constructors/photos_photo.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: photos.photo -description: Photo with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: photos.photo -[Back to constructors index](index.md) - - - -Photo with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|photo|[Photo](../types/Photo.md) | Optional|Photo| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [photos\_Photo](../types/photos_Photo.md) - - -### Example: - -```php -$photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -photos_photo={_='photos.photo', photo=Photo, users={User}} - -``` - - diff --git a/old_docs/API_docs_v97/constructors/photos_photos.md b/old_docs/API_docs_v97/constructors/photos_photos.md deleted file mode 100644 index 6ae5d048..00000000 --- a/old_docs/API_docs_v97/constructors/photos_photos.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: photos.photos -description: Full list of photos with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: photos.photos -[Back to constructors index](index.md) - - - -Full list of photos with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [photos\_Photos](../types/photos_Photos.md) - - -### Example: - -```php -$photos_photos = ['_' => 'photos.photos', 'photos' => [Photo, Photo], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -photos_photos={_='photos.photos', photos={Photo}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v97/constructors/photos_photosSlice.md b/old_docs/API_docs_v97/constructors/photos_photosSlice.md deleted file mode 100644 index 5c465c21..00000000 --- a/old_docs/API_docs_v97/constructors/photos_photosSlice.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: photos.photosSlice -description: Incomplete list of photos with auxiliary data. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: photos.photosSlice -[Back to constructors index](index.md) - - - -Incomplete list of photos with auxiliary data. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|count|[int](../types/int.md) | Yes|Total number of photos| -|photos|Array of [Photo](../types/Photo.md) | Yes|Photos| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [photos\_Photos](../types/photos_Photos.md) - - -### Example: - -```php -$photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo, Photo], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -photos_photosSlice={_='photos.photosSlice', count=int, photos={Photo}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v97/constructors/storage.fileGif.md b/old_docs/API_docs_v97/constructors/storage.fileGif.md new file mode 100644 index 00000000..8193bd25 --- /dev/null +++ b/old_docs/API_docs_v97/constructors/storage.fileGif.md @@ -0,0 +1,33 @@ +--- +title: storage.fileGif +description: GIF image. MIME type: `image/gif`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileGif +[Back to constructors index](index.md) + + + +GIF image. MIME type: `image/gif`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileGif = ['_' => 'storage.fileGif']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileGif={_='storage.fileGif'} + +``` + + diff --git a/old_docs/API_docs_v97/constructors/storage.fileJpeg.md b/old_docs/API_docs_v97/constructors/storage.fileJpeg.md new file mode 100644 index 00000000..7f125963 --- /dev/null +++ b/old_docs/API_docs_v97/constructors/storage.fileJpeg.md @@ -0,0 +1,33 @@ +--- +title: storage.fileJpeg +description: JPEG image. MIME type: `image/jpeg`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileJpeg +[Back to constructors index](index.md) + + + +JPEG image. MIME type: `image/jpeg`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileJpeg = ['_' => 'storage.fileJpeg']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileJpeg={_='storage.fileJpeg'} + +``` + + diff --git a/old_docs/API_docs_v97/constructors/storage.fileMov.md b/old_docs/API_docs_v97/constructors/storage.fileMov.md new file mode 100644 index 00000000..cb3742e0 --- /dev/null +++ b/old_docs/API_docs_v97/constructors/storage.fileMov.md @@ -0,0 +1,33 @@ +--- +title: storage.fileMov +description: Quicktime video. MIME type: `video/quicktime`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileMov +[Back to constructors index](index.md) + + + +Quicktime video. MIME type: `video/quicktime`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileMov = ['_' => 'storage.fileMov']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileMov={_='storage.fileMov'} + +``` + + diff --git a/old_docs/API_docs_v97/constructors/storage.fileMp3.md b/old_docs/API_docs_v97/constructors/storage.fileMp3.md new file mode 100644 index 00000000..617f2d39 --- /dev/null +++ b/old_docs/API_docs_v97/constructors/storage.fileMp3.md @@ -0,0 +1,33 @@ +--- +title: storage.fileMp3 +description: Mp3 audio. MIME type: `audio/mpeg`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileMp3 +[Back to constructors index](index.md) + + + +Mp3 audio. MIME type: `audio/mpeg`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileMp3 = ['_' => 'storage.fileMp3']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileMp3={_='storage.fileMp3'} + +``` + + diff --git a/old_docs/API_docs_v97/constructors/storage.fileMp4.md b/old_docs/API_docs_v97/constructors/storage.fileMp4.md new file mode 100644 index 00000000..37038176 --- /dev/null +++ b/old_docs/API_docs_v97/constructors/storage.fileMp4.md @@ -0,0 +1,33 @@ +--- +title: storage.fileMp4 +description: MPEG-4 video. MIME type: `video/mp4`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileMp4 +[Back to constructors index](index.md) + + + +MPEG-4 video. MIME type: `video/mp4`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileMp4 = ['_' => 'storage.fileMp4']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileMp4={_='storage.fileMp4'} + +``` + + diff --git a/old_docs/API_docs_v97/constructors/storage.filePartial.md b/old_docs/API_docs_v97/constructors/storage.filePartial.md new file mode 100644 index 00000000..98779e71 --- /dev/null +++ b/old_docs/API_docs_v97/constructors/storage.filePartial.md @@ -0,0 +1,33 @@ +--- +title: storage.filePartial +description: Part of a bigger file. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.filePartial +[Back to constructors index](index.md) + + + +Part of a bigger file. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.filePartial = ['_' => 'storage.filePartial']; +``` + + +Or, if you're into Lua: + +```lua +storage.filePartial={_='storage.filePartial'} + +``` + + diff --git a/old_docs/API_docs_v97/constructors/storage.filePdf.md b/old_docs/API_docs_v97/constructors/storage.filePdf.md new file mode 100644 index 00000000..136c0614 --- /dev/null +++ b/old_docs/API_docs_v97/constructors/storage.filePdf.md @@ -0,0 +1,33 @@ +--- +title: storage.filePdf +description: PDF document image. MIME type: `application/pdf`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.filePdf +[Back to constructors index](index.md) + + + +PDF document image. MIME type: `application/pdf`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.filePdf = ['_' => 'storage.filePdf']; +``` + + +Or, if you're into Lua: + +```lua +storage.filePdf={_='storage.filePdf'} + +``` + + diff --git a/old_docs/API_docs_v97/constructors/storage.filePng.md b/old_docs/API_docs_v97/constructors/storage.filePng.md new file mode 100644 index 00000000..db01ce0e --- /dev/null +++ b/old_docs/API_docs_v97/constructors/storage.filePng.md @@ -0,0 +1,33 @@ +--- +title: storage.filePng +description: PNG image. MIME type: `image/png`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.filePng +[Back to constructors index](index.md) + + + +PNG image. MIME type: `image/png`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.filePng = ['_' => 'storage.filePng']; +``` + + +Or, if you're into Lua: + +```lua +storage.filePng={_='storage.filePng'} + +``` + + diff --git a/old_docs/API_docs_v97/constructors/storage.fileUnknown.md b/old_docs/API_docs_v97/constructors/storage.fileUnknown.md new file mode 100644 index 00000000..26f0a5ae --- /dev/null +++ b/old_docs/API_docs_v97/constructors/storage.fileUnknown.md @@ -0,0 +1,33 @@ +--- +title: storage.fileUnknown +description: Unknown type. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileUnknown +[Back to constructors index](index.md) + + + +Unknown type. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileUnknown = ['_' => 'storage.fileUnknown']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileUnknown={_='storage.fileUnknown'} + +``` + + diff --git a/old_docs/API_docs_v97/constructors/storage.fileWebp.md b/old_docs/API_docs_v97/constructors/storage.fileWebp.md new file mode 100644 index 00000000..63c9ded1 --- /dev/null +++ b/old_docs/API_docs_v97/constructors/storage.fileWebp.md @@ -0,0 +1,33 @@ +--- +title: storage.fileWebp +description: WEBP image. MIME type: `image/webp`. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: storage.fileWebp +[Back to constructors index](index.md) + + + +WEBP image. MIME type: `image/webp`. + + + + +### Type: [storage.FileType](../types/storage.FileType.md) + + +### Example: + +```php +$storage.fileWebp = ['_' => 'storage.fileWebp']; +``` + + +Or, if you're into Lua: + +```lua +storage.fileWebp={_='storage.fileWebp'} + +``` + + diff --git a/old_docs/API_docs_v97/constructors/storage_fileGif.md b/old_docs/API_docs_v97/constructors/storage_fileGif.md deleted file mode 100644 index 218c7491..00000000 --- a/old_docs/API_docs_v97/constructors/storage_fileGif.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileGif -description: GIF image. MIME type: `image/gif`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileGif -[Back to constructors index](index.md) - - - -GIF image. MIME type: `image/gif`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileGif = ['_' => 'storage.fileGif']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileGif={_='storage.fileGif'} - -``` - - diff --git a/old_docs/API_docs_v97/constructors/storage_fileJpeg.md b/old_docs/API_docs_v97/constructors/storage_fileJpeg.md deleted file mode 100644 index 925531cd..00000000 --- a/old_docs/API_docs_v97/constructors/storage_fileJpeg.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileJpeg -description: JPEG image. MIME type: `image/jpeg`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileJpeg -[Back to constructors index](index.md) - - - -JPEG image. MIME type: `image/jpeg`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileJpeg = ['_' => 'storage.fileJpeg']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileJpeg={_='storage.fileJpeg'} - -``` - - diff --git a/old_docs/API_docs_v97/constructors/storage_fileMov.md b/old_docs/API_docs_v97/constructors/storage_fileMov.md deleted file mode 100644 index eaf2a6ff..00000000 --- a/old_docs/API_docs_v97/constructors/storage_fileMov.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileMov -description: Quicktime video. MIME type: `video/quicktime`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileMov -[Back to constructors index](index.md) - - - -Quicktime video. MIME type: `video/quicktime`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileMov = ['_' => 'storage.fileMov']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileMov={_='storage.fileMov'} - -``` - - diff --git a/old_docs/API_docs_v97/constructors/storage_fileMp3.md b/old_docs/API_docs_v97/constructors/storage_fileMp3.md deleted file mode 100644 index 9afcefbb..00000000 --- a/old_docs/API_docs_v97/constructors/storage_fileMp3.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileMp3 -description: Mp3 audio. MIME type: `audio/mpeg`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileMp3 -[Back to constructors index](index.md) - - - -Mp3 audio. MIME type: `audio/mpeg`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileMp3 = ['_' => 'storage.fileMp3']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileMp3={_='storage.fileMp3'} - -``` - - diff --git a/old_docs/API_docs_v97/constructors/storage_fileMp4.md b/old_docs/API_docs_v97/constructors/storage_fileMp4.md deleted file mode 100644 index cdc0e783..00000000 --- a/old_docs/API_docs_v97/constructors/storage_fileMp4.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileMp4 -description: MPEG-4 video. MIME type: `video/mp4`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileMp4 -[Back to constructors index](index.md) - - - -MPEG-4 video. MIME type: `video/mp4`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileMp4 = ['_' => 'storage.fileMp4']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileMp4={_='storage.fileMp4'} - -``` - - diff --git a/old_docs/API_docs_v97/constructors/storage_filePartial.md b/old_docs/API_docs_v97/constructors/storage_filePartial.md deleted file mode 100644 index 9bfadf63..00000000 --- a/old_docs/API_docs_v97/constructors/storage_filePartial.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.filePartial -description: Part of a bigger file. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.filePartial -[Back to constructors index](index.md) - - - -Part of a bigger file. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_filePartial = ['_' => 'storage.filePartial']; -``` - - -Or, if you're into Lua: - -```lua -storage_filePartial={_='storage.filePartial'} - -``` - - diff --git a/old_docs/API_docs_v97/constructors/storage_filePdf.md b/old_docs/API_docs_v97/constructors/storage_filePdf.md deleted file mode 100644 index efb022cc..00000000 --- a/old_docs/API_docs_v97/constructors/storage_filePdf.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.filePdf -description: PDF document image. MIME type: `application/pdf`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.filePdf -[Back to constructors index](index.md) - - - -PDF document image. MIME type: `application/pdf`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_filePdf = ['_' => 'storage.filePdf']; -``` - - -Or, if you're into Lua: - -```lua -storage_filePdf={_='storage.filePdf'} - -``` - - diff --git a/old_docs/API_docs_v97/constructors/storage_filePng.md b/old_docs/API_docs_v97/constructors/storage_filePng.md deleted file mode 100644 index 412759e4..00000000 --- a/old_docs/API_docs_v97/constructors/storage_filePng.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.filePng -description: PNG image. MIME type: `image/png`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.filePng -[Back to constructors index](index.md) - - - -PNG image. MIME type: `image/png`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_filePng = ['_' => 'storage.filePng']; -``` - - -Or, if you're into Lua: - -```lua -storage_filePng={_='storage.filePng'} - -``` - - diff --git a/old_docs/API_docs_v97/constructors/storage_fileUnknown.md b/old_docs/API_docs_v97/constructors/storage_fileUnknown.md deleted file mode 100644 index ed33dd5e..00000000 --- a/old_docs/API_docs_v97/constructors/storage_fileUnknown.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileUnknown -description: Unknown type. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileUnknown -[Back to constructors index](index.md) - - - -Unknown type. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileUnknown = ['_' => 'storage.fileUnknown']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileUnknown={_='storage.fileUnknown'} - -``` - - diff --git a/old_docs/API_docs_v97/constructors/storage_fileWebp.md b/old_docs/API_docs_v97/constructors/storage_fileWebp.md deleted file mode 100644 index 04dcad74..00000000 --- a/old_docs/API_docs_v97/constructors/storage_fileWebp.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: storage.fileWebp -description: WEBP image. MIME type: `image/webp`. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: storage.fileWebp -[Back to constructors index](index.md) - - - -WEBP image. MIME type: `image/webp`. - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -```php -$storage_fileWebp = ['_' => 'storage.fileWebp']; -``` - - -Or, if you're into Lua: - -```lua -storage_fileWebp={_='storage.fileWebp'} - -``` - - diff --git a/old_docs/API_docs_v97/constructors/updateNewStickerSet.md b/old_docs/API_docs_v97/constructors/updateNewStickerSet.md index 8a99a363..c32c41ff 100644 --- a/old_docs/API_docs_v97/constructors/updateNewStickerSet.md +++ b/old_docs/API_docs_v97/constructors/updateNewStickerSet.md @@ -14,7 +14,7 @@ A new stickerset was installed | Name | Type | Required | Description | |----------|---------------|----------|-------------| -|stickerset|[messages\_StickerSet](../types/messages_StickerSet.md) | Yes|The installed stickerset| +|stickerset|[messages.StickerSet](../constructors/messages.StickerSet.md) | Yes|The installed stickerset| @@ -24,14 +24,14 @@ A new stickerset was installed ### Example: ```php -$updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages_StickerSet]; +$updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages.StickerSet]; ``` Or, if you're into Lua: ```lua -updateNewStickerSet={_='updateNewStickerSet', stickerset=messages_StickerSet} +updateNewStickerSet={_='updateNewStickerSet', stickerset=messages.StickerSet} ``` diff --git a/old_docs/API_docs_v97/constructors/updates.channelDifference.md b/old_docs/API_docs_v97/constructors/updates.channelDifference.md new file mode 100644 index 00000000..5a13791c --- /dev/null +++ b/old_docs/API_docs_v97/constructors/updates.channelDifference.md @@ -0,0 +1,44 @@ +--- +title: updates.channelDifference +description: The new updates +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.channelDifference +[Back to constructors index](index.md) + + + +The new updates + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates to be fetched using getDifference, starting from the provided `pts`| +|pts|[int](../types/int.md) | Yes|The [PTS](https://core.telegram.org/api/updates) from which to start getting updates the next time| +|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| +|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| +|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [updates.ChannelDifference](../types/updates.ChannelDifference.md) + + +### Example: + +```php +$updates.channelDifference = ['_' => 'updates.channelDifference', 'final' => Bool, 'pts' => int, 'timeout' => int, 'new_messages' => [Message, Message], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +updates.channelDifference={_='updates.channelDifference', final=Bool, pts=int, timeout=int, new_messages={Message}, other_updates={Update}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v97/constructors/updates.channelDifferenceEmpty.md b/old_docs/API_docs_v97/constructors/updates.channelDifferenceEmpty.md new file mode 100644 index 00000000..8ce43da4 --- /dev/null +++ b/old_docs/API_docs_v97/constructors/updates.channelDifferenceEmpty.md @@ -0,0 +1,40 @@ +--- +title: updates.channelDifferenceEmpty +description: There are no new updates +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.channelDifferenceEmpty +[Back to constructors index](index.md) + + + +There are no new updates + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates that must be fetched (always false)| +|pts|[int](../types/int.md) | Yes|The latest [PTS](https://core.telegram.org/api/updates)| +|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| + + + +### Type: [updates.ChannelDifference](../types/updates.ChannelDifference.md) + + +### Example: + +```php +$updates.channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'final' => Bool, 'pts' => int, 'timeout' => int]; +``` + + +Or, if you're into Lua: + +```lua +updates.channelDifferenceEmpty={_='updates.channelDifferenceEmpty', final=Bool, pts=int, timeout=int} + +``` + + diff --git a/old_docs/API_docs_v97/constructors/updates.channelDifferenceTooLong.md b/old_docs/API_docs_v97/constructors/updates.channelDifferenceTooLong.md new file mode 100644 index 00000000..9290856d --- /dev/null +++ b/old_docs/API_docs_v97/constructors/updates.channelDifferenceTooLong.md @@ -0,0 +1,58 @@ +--- +title: updates.channelDifferenceTooLong +description: The provided `pts + limit < remote pts`. Simply, there are too many updates to be fetched (more than `limit`), the client has to resolve the update gap in one of the following ways: + +1. Delete all known messages in the chat, begin from scratch by refetching all messages manually with [getHistory](../methods/messages.getHistory.md). It is easy to implement, but suddenly disappearing messages looks awful for the user. +2. Save all messages loaded in the memory until application restart, but delete all messages from database. Messages left in the memory must be lazily updated using calls to [getHistory](../methods/messages.getHistory.md). It looks much smoothly for the user, he will need to redownload messages only after client restart. Unsynchronized messages left in the memory shouldn't be saved to database, results of [getHistory](../methods/messages.getHistory.md) and [getMessages](../methods/messages.getMessages.md) must be used to update state of deleted and edited messages left in the memory. +3. Save all messages loaded in the memory and stored in the database without saving that some messages form continuous ranges. Messages in the database will be excluded from results of getChatHistory and searchChatMessages after application restart and will be available only through getMessage. Every message should still be checked using getHistory. It has more disadvantages over 2) than advantages. +4. Save all messages with saving all data about continuous message ranges. Messages from the database may be used as results of getChatHistory and (if implemented continuous ranges support for searching shared media) searchChatMessages. The messages should still be lazily checked using getHistory, but they are still available offline. It is the best way for gaps support, but it is pretty hard to implement correctly. It should be also noted that some messages like live location messages shouldn't be deleted. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.channelDifferenceTooLong +[Back to constructors index](index.md) + + + +The provided `pts + limit < remote pts`. Simply, there are too many updates to be fetched (more than `limit`), the client has to resolve the update gap in one of the following ways: + +1. Delete all known messages in the chat, begin from scratch by refetching all messages manually with [getHistory](../methods/messages.getHistory.md). It is easy to implement, but suddenly disappearing messages looks awful for the user. +2. Save all messages loaded in the memory until application restart, but delete all messages from database. Messages left in the memory must be lazily updated using calls to [getHistory](../methods/messages.getHistory.md). It looks much smoothly for the user, he will need to redownload messages only after client restart. Unsynchronized messages left in the memory shouldn't be saved to database, results of [getHistory](../methods/messages.getHistory.md) and [getMessages](../methods/messages.getMessages.md) must be used to update state of deleted and edited messages left in the memory. +3. Save all messages loaded in the memory and stored in the database without saving that some messages form continuous ranges. Messages in the database will be excluded from results of getChatHistory and searchChatMessages after application restart and will be available only through getMessage. Every message should still be checked using getHistory. It has more disadvantages over 2) than advantages. +4. Save all messages with saving all data about continuous message ranges. Messages from the database may be used as results of getChatHistory and (if implemented continuous ranges support for searching shared media) searchChatMessages. The messages should still be lazily checked using getHistory, but they are still available offline. It is the best way for gaps support, but it is pretty hard to implement correctly. It should be also noted that some messages like live location messages shouldn't be deleted. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates that must be fetched (always false)| +|pts|[int](../types/int.md) | Yes|Pts| +|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| +|top\_message|[int](../types/int.md) | Yes|Top message| +|read\_inbox\_max\_id|[int](../types/int.md) | Yes|Read inbox max ID| +|read\_outbox\_max\_id|[int](../types/int.md) | Yes|Read outbox max ID| +|unread\_count|[int](../types/int.md) | Yes|Unread count| +|unread\_mentions\_count|[int](../types/int.md) | Yes|Unread mentions count| +|messages|Array of [Message](../types/Message.md) | Yes|Messages| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| + + + +### Type: [updates.ChannelDifference](../types/updates.ChannelDifference.md) + + +### Example: + +```php +$updates.channelDifferenceTooLong = ['_' => 'updates.channelDifferenceTooLong', 'final' => Bool, 'pts' => int, 'timeout' => int, 'top_message' => int, 'read_inbox_max_id' => int, 'read_outbox_max_id' => int, 'unread_count' => int, 'unread_mentions_count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; +``` + + +Or, if you're into Lua: + +```lua +updates.channelDifferenceTooLong={_='updates.channelDifferenceTooLong', final=Bool, pts=int, timeout=int, top_message=int, read_inbox_max_id=int, read_outbox_max_id=int, unread_count=int, unread_mentions_count=int, messages={Message}, chats={Chat}, users={User}} + +``` + + diff --git a/old_docs/API_docs_v97/constructors/updates.difference.md b/old_docs/API_docs_v97/constructors/updates.difference.md new file mode 100644 index 00000000..82541b51 --- /dev/null +++ b/old_docs/API_docs_v97/constructors/updates.difference.md @@ -0,0 +1,43 @@ +--- +title: updates.difference +description: Full list of occurred events. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.difference +[Back to constructors index](index.md) + + + +Full list of occurred events. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| +|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| +|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| +|state|[updates.State](../constructors/updates.State.md) | Yes|Current state| + + + +### Type: [updates.Difference](../types/updates.Difference.md) + + +### Example: + +```php +$updates.difference = ['_' => 'updates.difference', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates.State]; +``` + + +Or, if you're into Lua: + +```lua +updates.difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates.State} + +``` + + diff --git a/old_docs/API_docs_v97/constructors/updates.differenceEmpty.md b/old_docs/API_docs_v97/constructors/updates.differenceEmpty.md new file mode 100644 index 00000000..a9dc3bd0 --- /dev/null +++ b/old_docs/API_docs_v97/constructors/updates.differenceEmpty.md @@ -0,0 +1,39 @@ +--- +title: updates.differenceEmpty +description: No events. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.differenceEmpty +[Back to constructors index](index.md) + + + +No events. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|date|[int](../types/int.md) | Yes|Current date| +|seq|[int](../types/int.md) | Yes|Number of sent updates| + + + +### Type: [updates.Difference](../types/updates.Difference.md) + + +### Example: + +```php +$updates.differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int]; +``` + + +Or, if you're into Lua: + +```lua +updates.differenceEmpty={_='updates.differenceEmpty', date=int, seq=int} + +``` + + diff --git a/old_docs/API_docs_v97/constructors/updates.differenceSlice.md b/old_docs/API_docs_v97/constructors/updates.differenceSlice.md new file mode 100644 index 00000000..9daf7a75 --- /dev/null +++ b/old_docs/API_docs_v97/constructors/updates.differenceSlice.md @@ -0,0 +1,43 @@ +--- +title: updates.differenceSlice +description: Incomplete list of occurred events. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.differenceSlice +[Back to constructors index](index.md) + + + +Incomplete list of occurred events. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| +|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| +|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| +|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| +|users|Array of [User](../types/User.md) | Yes|Users| +|intermediate\_state|[updates.State](../constructors/updates.State.md) | Yes|Intermediary state| + + + +### Type: [updates.Difference](../types/updates.Difference.md) + + +### Example: + +```php +$updates.differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'intermediate_state' => updates.State]; +``` + + +Or, if you're into Lua: + +```lua +updates.differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates.State} + +``` + + diff --git a/old_docs/API_docs_v97/constructors/updates.differenceTooLong.md b/old_docs/API_docs_v97/constructors/updates.differenceTooLong.md new file mode 100644 index 00000000..ef2e7e4d --- /dev/null +++ b/old_docs/API_docs_v97/constructors/updates.differenceTooLong.md @@ -0,0 +1,38 @@ +--- +title: updates.differenceTooLong +description: The difference is [too long](https://core.telegram.org/api/updates#recovering-gaps), and the specified state must be used to refetch updates. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.differenceTooLong +[Back to constructors index](index.md) + + + +The difference is [too long](https://core.telegram.org/api/updates#recovering-gaps), and the specified state must be used to refetch updates. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|The new state to use.| + + + +### Type: [updates.Difference](../types/updates.Difference.md) + + +### Example: + +```php +$updates.differenceTooLong = ['_' => 'updates.differenceTooLong', 'pts' => int]; +``` + + +Or, if you're into Lua: + +```lua +updates.differenceTooLong={_='updates.differenceTooLong', pts=int} + +``` + + diff --git a/old_docs/API_docs_v97/constructors/updates.state.md b/old_docs/API_docs_v97/constructors/updates.state.md new file mode 100644 index 00000000..abe9ddbb --- /dev/null +++ b/old_docs/API_docs_v97/constructors/updates.state.md @@ -0,0 +1,42 @@ +--- +title: updates.state +description: Updates state. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: updates.state +[Back to constructors index](index.md) + + + +Updates state. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| +|qts|[int](../types/int.md) | Yes|Position in a sequence of updates in secret chats. For further detailes refer to article [secret chats](https://core.telegram.org/api/end-to-end)
Parameter was added in [eigth layer](https://core.telegram.org/api/layers#layer-8).| +|date|[int](../types/int.md) | Yes|Date of condition| +|seq|[int](../types/int.md) | Yes|Number of sent updates| +|unread\_count|[int](../types/int.md) | Yes|Number of unread messages| + + + +### Type: [updates.State](../types/updates.State.md) + + +### Example: + +```php +$updates.state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int]; +``` + + +Or, if you're into Lua: + +```lua +updates.state={_='updates.state', pts=int, qts=int, date=int, seq=int, unread_count=int} + +``` + + diff --git a/old_docs/API_docs_v97/constructors/updates_channelDifference.md b/old_docs/API_docs_v97/constructors/updates_channelDifference.md deleted file mode 100644 index 1b50fbf3..00000000 --- a/old_docs/API_docs_v97/constructors/updates_channelDifference.md +++ /dev/null @@ -1,44 +0,0 @@ ---- -title: updates.channelDifference -description: The new updates -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.channelDifference -[Back to constructors index](index.md) - - - -The new updates - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates to be fetched using getDifference, starting from the provided `pts`| -|pts|[int](../types/int.md) | Yes|The [PTS](https://core.telegram.org/api/updates) from which to start getting updates the next time| -|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| -|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| -|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) - - -### Example: - -```php -$updates_channelDifference = ['_' => 'updates.channelDifference', 'final' => Bool, 'pts' => int, 'timeout' => int, 'new_messages' => [Message, Message], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -updates_channelDifference={_='updates.channelDifference', final=Bool, pts=int, timeout=int, new_messages={Message}, other_updates={Update}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v97/constructors/updates_channelDifferenceEmpty.md b/old_docs/API_docs_v97/constructors/updates_channelDifferenceEmpty.md deleted file mode 100644 index 713137aa..00000000 --- a/old_docs/API_docs_v97/constructors/updates_channelDifferenceEmpty.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: updates.channelDifferenceEmpty -description: There are no new updates -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.channelDifferenceEmpty -[Back to constructors index](index.md) - - - -There are no new updates - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates that must be fetched (always false)| -|pts|[int](../types/int.md) | Yes|The latest [PTS](https://core.telegram.org/api/updates)| -|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| - - - -### Type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) - - -### Example: - -```php -$updates_channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'final' => Bool, 'pts' => int, 'timeout' => int]; -``` - - -Or, if you're into Lua: - -```lua -updates_channelDifferenceEmpty={_='updates.channelDifferenceEmpty', final=Bool, pts=int, timeout=int} - -``` - - diff --git a/old_docs/API_docs_v97/constructors/updates_channelDifferenceTooLong.md b/old_docs/API_docs_v97/constructors/updates_channelDifferenceTooLong.md deleted file mode 100644 index fd7a5060..00000000 --- a/old_docs/API_docs_v97/constructors/updates_channelDifferenceTooLong.md +++ /dev/null @@ -1,58 +0,0 @@ ---- -title: updates.channelDifferenceTooLong -description: The provided `pts + limit < remote pts`. Simply, there are too many updates to be fetched (more than `limit`), the client has to resolve the update gap in one of the following ways: - -1. Delete all known messages in the chat, begin from scratch by refetching all messages manually with [getHistory](../methods/messages.getHistory.md). It is easy to implement, but suddenly disappearing messages looks awful for the user. -2. Save all messages loaded in the memory until application restart, but delete all messages from database. Messages left in the memory must be lazily updated using calls to [getHistory](../methods/messages.getHistory.md). It looks much smoothly for the user, he will need to redownload messages only after client restart. Unsynchronized messages left in the memory shouldn't be saved to database, results of [getHistory](../methods/messages.getHistory.md) and [getMessages](../methods/messages.getMessages.md) must be used to update state of deleted and edited messages left in the memory. -3. Save all messages loaded in the memory and stored in the database without saving that some messages form continuous ranges. Messages in the database will be excluded from results of getChatHistory and searchChatMessages after application restart and will be available only through getMessage. Every message should still be checked using getHistory. It has more disadvantages over 2) than advantages. -4. Save all messages with saving all data about continuous message ranges. Messages from the database may be used as results of getChatHistory and (if implemented continuous ranges support for searching shared media) searchChatMessages. The messages should still be lazily checked using getHistory, but they are still available offline. It is the best way for gaps support, but it is pretty hard to implement correctly. It should be also noted that some messages like live location messages shouldn't be deleted. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.channelDifferenceTooLong -[Back to constructors index](index.md) - - - -The provided `pts + limit < remote pts`. Simply, there are too many updates to be fetched (more than `limit`), the client has to resolve the update gap in one of the following ways: - -1. Delete all known messages in the chat, begin from scratch by refetching all messages manually with [getHistory](../methods/messages.getHistory.md). It is easy to implement, but suddenly disappearing messages looks awful for the user. -2. Save all messages loaded in the memory until application restart, but delete all messages from database. Messages left in the memory must be lazily updated using calls to [getHistory](../methods/messages.getHistory.md). It looks much smoothly for the user, he will need to redownload messages only after client restart. Unsynchronized messages left in the memory shouldn't be saved to database, results of [getHistory](../methods/messages.getHistory.md) and [getMessages](../methods/messages.getMessages.md) must be used to update state of deleted and edited messages left in the memory. -3. Save all messages loaded in the memory and stored in the database without saving that some messages form continuous ranges. Messages in the database will be excluded from results of getChatHistory and searchChatMessages after application restart and will be available only through getMessage. Every message should still be checked using getHistory. It has more disadvantages over 2) than advantages. -4. Save all messages with saving all data about continuous message ranges. Messages from the database may be used as results of getChatHistory and (if implemented continuous ranges support for searching shared media) searchChatMessages. The messages should still be lazily checked using getHistory, but they are still available offline. It is the best way for gaps support, but it is pretty hard to implement correctly. It should be also noted that some messages like live location messages shouldn't be deleted. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates that must be fetched (always false)| -|pts|[int](../types/int.md) | Yes|Pts| -|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed| -|top\_message|[int](../types/int.md) | Yes|Top message| -|read\_inbox\_max\_id|[int](../types/int.md) | Yes|Read inbox max ID| -|read\_outbox\_max\_id|[int](../types/int.md) | Yes|Read outbox max ID| -|unread\_count|[int](../types/int.md) | Yes|Unread count| -|unread\_mentions\_count|[int](../types/int.md) | Yes|Unread mentions count| -|messages|Array of [Message](../types/Message.md) | Yes|Messages| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| - - - -### Type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) - - -### Example: - -```php -$updates_channelDifferenceTooLong = ['_' => 'updates.channelDifferenceTooLong', 'final' => Bool, 'pts' => int, 'timeout' => int, 'top_message' => int, 'read_inbox_max_id' => int, 'read_outbox_max_id' => int, 'unread_count' => int, 'unread_mentions_count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]]; -``` - - -Or, if you're into Lua: - -```lua -updates_channelDifferenceTooLong={_='updates.channelDifferenceTooLong', final=Bool, pts=int, timeout=int, top_message=int, read_inbox_max_id=int, read_outbox_max_id=int, unread_count=int, unread_mentions_count=int, messages={Message}, chats={Chat}, users={User}} - -``` - - diff --git a/old_docs/API_docs_v97/constructors/updates_difference.md b/old_docs/API_docs_v97/constructors/updates_difference.md deleted file mode 100644 index 71ac7d4c..00000000 --- a/old_docs/API_docs_v97/constructors/updates_difference.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: updates.difference -description: Full list of occurred events. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.difference -[Back to constructors index](index.md) - - - -Full list of occurred events. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| -|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| -|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| -|state|[updates\_State](../types/updates_State.md) | Yes|Current state| - - - -### Type: [updates\_Difference](../types/updates_Difference.md) - - -### Example: - -```php -$updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates_State]; -``` - - -Or, if you're into Lua: - -```lua -updates_difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates_State} - -``` - - diff --git a/old_docs/API_docs_v97/constructors/updates_differenceEmpty.md b/old_docs/API_docs_v97/constructors/updates_differenceEmpty.md deleted file mode 100644 index c3c95c5a..00000000 --- a/old_docs/API_docs_v97/constructors/updates_differenceEmpty.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: updates.differenceEmpty -description: No events. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.differenceEmpty -[Back to constructors index](index.md) - - - -No events. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|date|[int](../types/int.md) | Yes|Current date| -|seq|[int](../types/int.md) | Yes|Number of sent updates| - - - -### Type: [updates\_Difference](../types/updates_Difference.md) - - -### Example: - -```php -$updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int]; -``` - - -Or, if you're into Lua: - -```lua -updates_differenceEmpty={_='updates.differenceEmpty', date=int, seq=int} - -``` - - diff --git a/old_docs/API_docs_v97/constructors/updates_differenceSlice.md b/old_docs/API_docs_v97/constructors/updates_differenceSlice.md deleted file mode 100644 index 8b12a369..00000000 --- a/old_docs/API_docs_v97/constructors/updates_differenceSlice.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: updates.differenceSlice -description: Incomplete list of occurred events. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.differenceSlice -[Back to constructors index](index.md) - - - -Incomplete list of occurred events. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|new\_messages|Array of [Message](../types/Message.md) | Yes|New messages| -|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Yes|New encrypted messages| -|other\_updates|Array of [Update](../types/Update.md) | Yes|Other updates| -|chats|Array of [Chat](../types/Chat.md) | Yes|Chats| -|users|Array of [User](../types/User.md) | Yes|Users| -|intermediate\_state|[updates\_State](../types/updates_State.md) | Yes|Intermediary state| - - - -### Type: [updates\_Difference](../types/updates_Difference.md) - - -### Example: - -```php -$updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'intermediate_state' => updates_State]; -``` - - -Or, if you're into Lua: - -```lua -updates_differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates_State} - -``` - - diff --git a/old_docs/API_docs_v97/constructors/updates_differenceTooLong.md b/old_docs/API_docs_v97/constructors/updates_differenceTooLong.md deleted file mode 100644 index 1fbdfa01..00000000 --- a/old_docs/API_docs_v97/constructors/updates_differenceTooLong.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: updates.differenceTooLong -description: The difference is [too long](https://core.telegram.org/api/updates#recovering-gaps), and the specified state must be used to refetch updates. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.differenceTooLong -[Back to constructors index](index.md) - - - -The difference is [too long](https://core.telegram.org/api/updates#recovering-gaps), and the specified state must be used to refetch updates. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|The new state to use.| - - - -### Type: [updates\_Difference](../types/updates_Difference.md) - - -### Example: - -```php -$updates_differenceTooLong = ['_' => 'updates.differenceTooLong', 'pts' => int]; -``` - - -Or, if you're into Lua: - -```lua -updates_differenceTooLong={_='updates.differenceTooLong', pts=int} - -``` - - diff --git a/old_docs/API_docs_v97/constructors/updates_state.md b/old_docs/API_docs_v97/constructors/updates_state.md deleted file mode 100644 index ef3698e2..00000000 --- a/old_docs/API_docs_v97/constructors/updates_state.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: updates.state -description: Updates state. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: updates.state -[Back to constructors index](index.md) - - - -Updates state. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|pts|[int](../types/int.md) | Yes|Number of events occured in a text box| -|qts|[int](../types/int.md) | Yes|Position in a sequence of updates in secret chats. For further detailes refer to article [secret chats](https://core.telegram.org/api/end-to-end)
Parameter was added in [eigth layer](https://core.telegram.org/api/layers#layer-8).| -|date|[int](../types/int.md) | Yes|Date of condition| -|seq|[int](../types/int.md) | Yes|Number of sent updates| -|unread\_count|[int](../types/int.md) | Yes|Number of unread messages| - - - -### Type: [updates\_State](../types/updates_State.md) - - -### Example: - -```php -$updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int]; -``` - - -Or, if you're into Lua: - -```lua -updates_state={_='updates.state', pts=int, qts=int, date=int, seq=int, unread_count=int} - -``` - - diff --git a/old_docs/API_docs_v97/constructors/upload.cdnFile.md b/old_docs/API_docs_v97/constructors/upload.cdnFile.md new file mode 100644 index 00000000..d6d75513 --- /dev/null +++ b/old_docs/API_docs_v97/constructors/upload.cdnFile.md @@ -0,0 +1,38 @@ +--- +title: upload.cdnFile +description: Represent a chunk of a [CDN](https://core.telegram.org/cdn) file. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: upload.cdnFile +[Back to constructors index](index.md) + + + +Represent a chunk of a [CDN](https://core.telegram.org/cdn) file. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|bytes|[bytes](../types/bytes.md) | Yes|The data| + + + +### Type: [upload.CdnFile](../types/upload.CdnFile.md) + + +### Example: + +```php +$upload.cdnFile = ['_' => 'upload.cdnFile', 'bytes' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +upload.cdnFile={_='upload.cdnFile', bytes='bytes'} + +``` + + diff --git a/old_docs/API_docs_v97/constructors/upload.cdnFileReuploadNeeded.md b/old_docs/API_docs_v97/constructors/upload.cdnFileReuploadNeeded.md new file mode 100644 index 00000000..7c461a87 --- /dev/null +++ b/old_docs/API_docs_v97/constructors/upload.cdnFileReuploadNeeded.md @@ -0,0 +1,38 @@ +--- +title: upload.cdnFileReuploadNeeded +description: The file was cleared from the temporary RAM cache of the [CDN](https://core.telegram.org/cdn) and has to be reuploaded. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: upload.cdnFileReuploadNeeded +[Back to constructors index](index.md) + + + +The file was cleared from the temporary RAM cache of the [CDN](https://core.telegram.org/cdn) and has to be reuploaded. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|request\_token|[bytes](../types/bytes.md) | Yes|Request token (see [CDN](https://core.telegram.org/cdn))| + + + +### Type: [upload.CdnFile](../types/upload.CdnFile.md) + + +### Example: + +```php +$upload.cdnFileReuploadNeeded = ['_' => 'upload.cdnFileReuploadNeeded', 'request_token' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +upload.cdnFileReuploadNeeded={_='upload.cdnFileReuploadNeeded', request_token='bytes'} + +``` + + diff --git a/old_docs/API_docs_v97/constructors/upload.file.md b/old_docs/API_docs_v97/constructors/upload.file.md new file mode 100644 index 00000000..145a4c24 --- /dev/null +++ b/old_docs/API_docs_v97/constructors/upload.file.md @@ -0,0 +1,40 @@ +--- +title: upload.file +description: File content. +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: upload.file +[Back to constructors index](index.md) + + + +File content. + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|type|[storage.FileType](../constructors/storage.FileType.md) | Yes|File type| +|mtime|[int](../types/int.md) | Yes|Modification type| +|bytes|[bytes](../types/bytes.md) | Yes|Binary data, file content| + + + +### Type: [upload.File](../types/upload.File.md) + + +### Example: + +```php +$upload.file = ['_' => 'upload.file', 'type' => storage.FileType, 'mtime' => int, 'bytes' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +upload.file={_='upload.file', type=storage.FileType, mtime=int, bytes='bytes'} + +``` + + diff --git a/old_docs/API_docs_v97/constructors/upload.fileCdnRedirect.md b/old_docs/API_docs_v97/constructors/upload.fileCdnRedirect.md new file mode 100644 index 00000000..dc56e919 --- /dev/null +++ b/old_docs/API_docs_v97/constructors/upload.fileCdnRedirect.md @@ -0,0 +1,42 @@ +--- +title: upload.fileCdnRedirect +description: The file must be downloaded from a [CDN DC](https://core.telegram.org/cdn). +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: upload.fileCdnRedirect +[Back to constructors index](index.md) + + + +The file must be downloaded from a [CDN DC](https://core.telegram.org/cdn). + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|dc\_id|[int](../types/int.md) | Yes|[CDN DC](https://core.telegram.org/cdn) ID| +|file\_token|[bytes](../types/bytes.md) | Yes|File token (see [CDN files](https://core.telegram.org/cdn)| +|encryption\_key|[bytes](../types/bytes.md) | Yes|Encryption key (see [CDN files](https://core.telegram.org/cdn)| +|encryption\_iv|[bytes](../types/bytes.md) | Yes|Encryption IV (see [CDN files](https://core.telegram.org/cdn)| +|file\_hashes|Array of [FileHash](../types/FileHash.md) | Yes|File hashes| + + + +### Type: [upload.File](../types/upload.File.md) + + +### Example: + +```php +$upload.fileCdnRedirect = ['_' => 'upload.fileCdnRedirect', 'dc_id' => int, 'file_token' => 'bytes', 'encryption_key' => 'bytes', 'encryption_iv' => 'bytes', 'file_hashes' => [FileHash, FileHash]]; +``` + + +Or, if you're into Lua: + +```lua +upload.fileCdnRedirect={_='upload.fileCdnRedirect', dc_id=int, file_token='bytes', encryption_key='bytes', encryption_iv='bytes', file_hashes={FileHash}} + +``` + + diff --git a/old_docs/API_docs_v97/constructors/upload.webFile.md b/old_docs/API_docs_v97/constructors/upload.webFile.md new file mode 100644 index 00000000..a93ea94f --- /dev/null +++ b/old_docs/API_docs_v97/constructors/upload.webFile.md @@ -0,0 +1,42 @@ +--- +title: upload.webFile +description: Represents a chunk of an [HTTP webfile](https://core.telegram.org/api/files) downloaded through telegram's secure MTProto servers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Constructor: upload.webFile +[Back to constructors index](index.md) + + + +Represents a chunk of an [HTTP webfile](https://core.telegram.org/api/files) downloaded through telegram's secure MTProto servers + +### Attributes: + +| Name | Type | Required | Description | +|----------|---------------|----------|-------------| +|size|[int](../types/int.md) | Yes|File size| +|mime\_type|[string](../types/string.md) | Yes|Mime type| +|file\_type|[storage.FileType](../constructors/storage.FileType.md) | Yes|File type| +|mtime|[int](../types/int.md) | Yes|Modified time| +|bytes|[bytes](../types/bytes.md) | Yes|Data| + + + +### Type: [upload.WebFile](../types/upload.WebFile.md) + + +### Example: + +```php +$upload.webFile = ['_' => 'upload.webFile', 'size' => int, 'mime_type' => 'string', 'file_type' => storage.FileType, 'mtime' => int, 'bytes' => 'bytes']; +``` + + +Or, if you're into Lua: + +```lua +upload.webFile={_='upload.webFile', size=int, mime_type='string', file_type=storage.FileType, mtime=int, bytes='bytes'} + +``` + + diff --git a/old_docs/API_docs_v97/constructors/upload_cdnFile.md b/old_docs/API_docs_v97/constructors/upload_cdnFile.md deleted file mode 100644 index 019b8742..00000000 --- a/old_docs/API_docs_v97/constructors/upload_cdnFile.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: upload.cdnFile -description: Represent a chunk of a [CDN](https://core.telegram.org/cdn) file. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: upload.cdnFile -[Back to constructors index](index.md) - - - -Represent a chunk of a [CDN](https://core.telegram.org/cdn) file. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|bytes|[bytes](../types/bytes.md) | Yes|The data| - - - -### Type: [upload\_CdnFile](../types/upload_CdnFile.md) - - -### Example: - -```php -$upload_cdnFile = ['_' => 'upload.cdnFile', 'bytes' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -upload_cdnFile={_='upload.cdnFile', bytes='bytes'} - -``` - - diff --git a/old_docs/API_docs_v97/constructors/upload_cdnFileReuploadNeeded.md b/old_docs/API_docs_v97/constructors/upload_cdnFileReuploadNeeded.md deleted file mode 100644 index 6588a596..00000000 --- a/old_docs/API_docs_v97/constructors/upload_cdnFileReuploadNeeded.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: upload.cdnFileReuploadNeeded -description: The file was cleared from the temporary RAM cache of the [CDN](https://core.telegram.org/cdn) and has to be reuploaded. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: upload.cdnFileReuploadNeeded -[Back to constructors index](index.md) - - - -The file was cleared from the temporary RAM cache of the [CDN](https://core.telegram.org/cdn) and has to be reuploaded. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|request\_token|[bytes](../types/bytes.md) | Yes|Request token (see [CDN](https://core.telegram.org/cdn))| - - - -### Type: [upload\_CdnFile](../types/upload_CdnFile.md) - - -### Example: - -```php -$upload_cdnFileReuploadNeeded = ['_' => 'upload.cdnFileReuploadNeeded', 'request_token' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -upload_cdnFileReuploadNeeded={_='upload.cdnFileReuploadNeeded', request_token='bytes'} - -``` - - diff --git a/old_docs/API_docs_v97/constructors/upload_file.md b/old_docs/API_docs_v97/constructors/upload_file.md deleted file mode 100644 index 1e07d9fb..00000000 --- a/old_docs/API_docs_v97/constructors/upload_file.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: upload.file -description: File content. -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: upload.file -[Back to constructors index](index.md) - - - -File content. - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|type|[storage\_FileType](../types/storage_FileType.md) | Yes|File type| -|mtime|[int](../types/int.md) | Yes|Modification type| -|bytes|[bytes](../types/bytes.md) | Yes|Binary data, file content| - - - -### Type: [upload\_File](../types/upload_File.md) - - -### Example: - -```php -$upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int, 'bytes' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -upload_file={_='upload.file', type=storage_FileType, mtime=int, bytes='bytes'} - -``` - - diff --git a/old_docs/API_docs_v97/constructors/upload_fileCdnRedirect.md b/old_docs/API_docs_v97/constructors/upload_fileCdnRedirect.md deleted file mode 100644 index de504dc3..00000000 --- a/old_docs/API_docs_v97/constructors/upload_fileCdnRedirect.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: upload.fileCdnRedirect -description: The file must be downloaded from a [CDN DC](https://core.telegram.org/cdn). -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: upload.fileCdnRedirect -[Back to constructors index](index.md) - - - -The file must be downloaded from a [CDN DC](https://core.telegram.org/cdn). - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|dc\_id|[int](../types/int.md) | Yes|[CDN DC](https://core.telegram.org/cdn) ID| -|file\_token|[bytes](../types/bytes.md) | Yes|File token (see [CDN files](https://core.telegram.org/cdn)| -|encryption\_key|[bytes](../types/bytes.md) | Yes|Encryption key (see [CDN files](https://core.telegram.org/cdn)| -|encryption\_iv|[bytes](../types/bytes.md) | Yes|Encryption IV (see [CDN files](https://core.telegram.org/cdn)| -|file\_hashes|Array of [FileHash](../types/FileHash.md) | Yes|File hashes| - - - -### Type: [upload\_File](../types/upload_File.md) - - -### Example: - -```php -$upload_fileCdnRedirect = ['_' => 'upload.fileCdnRedirect', 'dc_id' => int, 'file_token' => 'bytes', 'encryption_key' => 'bytes', 'encryption_iv' => 'bytes', 'file_hashes' => [FileHash, FileHash]]; -``` - - -Or, if you're into Lua: - -```lua -upload_fileCdnRedirect={_='upload.fileCdnRedirect', dc_id=int, file_token='bytes', encryption_key='bytes', encryption_iv='bytes', file_hashes={FileHash}} - -``` - - diff --git a/old_docs/API_docs_v97/constructors/upload_webFile.md b/old_docs/API_docs_v97/constructors/upload_webFile.md deleted file mode 100644 index ee8053b1..00000000 --- a/old_docs/API_docs_v97/constructors/upload_webFile.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: upload.webFile -description: Represents a chunk of an [HTTP webfile](https://core.telegram.org/api/files) downloaded through telegram's secure MTProto servers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Constructor: upload.webFile -[Back to constructors index](index.md) - - - -Represents a chunk of an [HTTP webfile](https://core.telegram.org/api/files) downloaded through telegram's secure MTProto servers - -### Attributes: - -| Name | Type | Required | Description | -|----------|---------------|----------|-------------| -|size|[int](../types/int.md) | Yes|File size| -|mime\_type|[string](../types/string.md) | Yes|Mime type| -|file\_type|[storage\_FileType](../types/storage_FileType.md) | Yes|File type| -|mtime|[int](../types/int.md) | Yes|Modified time| -|bytes|[bytes](../types/bytes.md) | Yes|Data| - - - -### Type: [upload\_WebFile](../types/upload_WebFile.md) - - -### Example: - -```php -$upload_webFile = ['_' => 'upload.webFile', 'size' => int, 'mime_type' => 'string', 'file_type' => storage_FileType, 'mtime' => int, 'bytes' => 'bytes']; -``` - - -Or, if you're into Lua: - -```lua -upload_webFile={_='upload.webFile', size=int, mime_type='string', file_type=storage_FileType, mtime=int, bytes='bytes'} - -``` - - diff --git a/old_docs/API_docs_v97/constructors/userFull.md b/old_docs/API_docs_v97/constructors/userFull.md index d0d43c0a..5c4682a8 100644 --- a/old_docs/API_docs_v97/constructors/userFull.md +++ b/old_docs/API_docs_v97/constructors/userFull.md @@ -20,7 +20,7 @@ Extended user info |can\_pin\_message|[Bool](../types/Bool.md) | Optional|Whether you can pin messages in the chat with this user, you can do this only for a chat with yourself| |user|[User](../types/User.md) | Optional|Remaining user info| |about|[string](../types/string.md) | Optional|Bio of the user| -|link|[contacts\_Link](../types/contacts_Link.md) | Yes|Link| +|link|[contacts.Link](../constructors/contacts.Link.md) | Yes|Link| |profile\_photo|[Photo](../types/Photo.md) | Optional|Profile photo| |notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Yes|Notification settings| |bot\_info|[BotInfo](../types/BotInfo.md) | Optional|For bots, info about the bot (bot commands, etc)| @@ -35,14 +35,14 @@ Extended user info ### Example: ```php -$userFull = ['_' => 'userFull', 'blocked' => Bool, 'phone_calls_available' => Bool, 'phone_calls_private' => Bool, 'can_pin_message' => Bool, 'user' => User, 'about' => 'string', 'link' => contacts_Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'bot_info' => BotInfo, 'pinned_msg_id' => int, 'common_chats_count' => int]; +$userFull = ['_' => 'userFull', 'blocked' => Bool, 'phone_calls_available' => Bool, 'phone_calls_private' => Bool, 'can_pin_message' => Bool, 'user' => User, 'about' => 'string', 'link' => contacts.Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'bot_info' => BotInfo, 'pinned_msg_id' => int, 'common_chats_count' => int]; ``` Or, if you're into Lua: ```lua -userFull={_='userFull', blocked=Bool, phone_calls_available=Bool, phone_calls_private=Bool, can_pin_message=Bool, user=User, about='string', link=contacts_Link, profile_photo=Photo, notify_settings=PeerNotifySettings, bot_info=BotInfo, pinned_msg_id=int, common_chats_count=int} +userFull={_='userFull', blocked=Bool, phone_calls_available=Bool, phone_calls_private=Bool, can_pin_message=Bool, user=User, about='string', link=contacts.Link, profile_photo=Photo, notify_settings=PeerNotifySettings, bot_info=BotInfo, pinned_msg_id=int, common_chats_count=int} ``` diff --git a/old_docs/API_docs_v97/methods/account.getAuthorizationForm.md b/old_docs/API_docs_v97/methods/account.getAuthorizationForm.md index 298951cb..b0d52e07 100644 --- a/old_docs/API_docs_v97/methods/account.getAuthorizationForm.md +++ b/old_docs/API_docs_v97/methods/account.getAuthorizationForm.md @@ -18,7 +18,7 @@ Returns a Telegram Passport authorization form for sharing data with a service |public\_key|[string](../types/string.md) | Service's public key | Yes| -### Return type: [account\_AuthorizationForm](../types/account_AuthorizationForm.md) +### Return type: [account.AuthorizationForm](../types/account.AuthorizationForm.md) ### Can bots use this method: **NO** @@ -35,12 +35,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_AuthorizationForm = $MadelineProto->account->getAuthorizationForm(['bot_id' => int, 'scope' => 'string', 'public_key' => 'string', ]); +$account.AuthorizationForm = $MadelineProto->account->getAuthorizationForm(['bot_id' => int, 'scope' => 'string', 'public_key' => 'string', ]); ``` Or, if you're into Lua: ```lua -account_AuthorizationForm = account.getAuthorizationForm({bot_id=int, scope='string', public_key='string', }) +account.AuthorizationForm = account.getAuthorizationForm({bot_id=int, scope='string', public_key='string', }) ``` diff --git a/old_docs/API_docs_v97/methods/account.getAuthorizations.md b/old_docs/API_docs_v97/methods/account.getAuthorizations.md index f69c130a..fad3a7ae 100644 --- a/old_docs/API_docs_v97/methods/account.getAuthorizations.md +++ b/old_docs/API_docs_v97/methods/account.getAuthorizations.md @@ -11,7 +11,7 @@ Get logged-in sessions -### Return type: [account\_Authorizations](../types/account_Authorizations.md) +### Return type: [account.Authorizations](../types/account.Authorizations.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_Authorizations = $MadelineProto->account->getAuthorizations(); +$account.Authorizations = $MadelineProto->account->getAuthorizations(); ``` Or, if you're into Lua: ```lua -account_Authorizations = account.getAuthorizations({}) +account.Authorizations = account.getAuthorizations({}) ``` diff --git a/old_docs/API_docs_v97/methods/account.getAutoDownloadSettings.md b/old_docs/API_docs_v97/methods/account.getAutoDownloadSettings.md index 5ad7db87..4f036f08 100644 --- a/old_docs/API_docs_v97/methods/account.getAutoDownloadSettings.md +++ b/old_docs/API_docs_v97/methods/account.getAutoDownloadSettings.md @@ -11,7 +11,7 @@ Get media autodownload settings -### Return type: [account\_AutoDownloadSettings](../types/account_AutoDownloadSettings.md) +### Return type: [account.AutoDownloadSettings](../types/account.AutoDownloadSettings.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_AutoDownloadSettings = $MadelineProto->account->getAutoDownloadSettings(); +$account.AutoDownloadSettings = $MadelineProto->account->getAutoDownloadSettings(); ``` Or, if you're into Lua: ```lua -account_AutoDownloadSettings = account.getAutoDownloadSettings({}) +account.AutoDownloadSettings = account.getAutoDownloadSettings({}) ``` diff --git a/old_docs/API_docs_v97/methods/account.getPassword.md b/old_docs/API_docs_v97/methods/account.getPassword.md index eed4aee3..621271b6 100644 --- a/old_docs/API_docs_v97/methods/account.getPassword.md +++ b/old_docs/API_docs_v97/methods/account.getPassword.md @@ -11,7 +11,7 @@ Obtain configuration for two-factor authorization with password -### Return type: [account\_Password](../types/account_Password.md) +### Return type: [account.Password](../types/account.Password.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_Password = $MadelineProto->account->getPassword(); +$account.Password = $MadelineProto->account->getPassword(); ``` Or, if you're into Lua: ```lua -account_Password = account.getPassword({}) +account.Password = account.getPassword({}) ``` diff --git a/old_docs/API_docs_v97/methods/account.getPasswordSettings.md b/old_docs/API_docs_v97/methods/account.getPasswordSettings.md index a7a47b1a..2b8607b9 100644 --- a/old_docs/API_docs_v97/methods/account.getPasswordSettings.md +++ b/old_docs/API_docs_v97/methods/account.getPasswordSettings.md @@ -16,7 +16,7 @@ You cannot use this method directly; use $MadelineProto->update_2fa($params), in |password|[InputCheckPasswordSRP](../types/InputCheckPasswordSRP.md) | You cannot use this method directly; use $MadelineProto->update_2fa($params), instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [account\_PasswordSettings](../types/account_PasswordSettings.md) +### Return type: [account.PasswordSettings](../types/account.PasswordSettings.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_PasswordSettings = $MadelineProto->account->getPasswordSettings(['password' => InputCheckPasswordSRP, ]); +$account.PasswordSettings = $MadelineProto->account->getPasswordSettings(['password' => InputCheckPasswordSRP, ]); ``` Or, if you're into Lua: ```lua -account_PasswordSettings = account.getPasswordSettings({password=InputCheckPasswordSRP, }) +account.PasswordSettings = account.getPasswordSettings({password=InputCheckPasswordSRP, }) ``` ### Errors diff --git a/old_docs/API_docs_v97/methods/account.getPrivacy.md b/old_docs/API_docs_v97/methods/account.getPrivacy.md index 6a240129..e20c292c 100644 --- a/old_docs/API_docs_v97/methods/account.getPrivacy.md +++ b/old_docs/API_docs_v97/methods/account.getPrivacy.md @@ -16,7 +16,7 @@ Get privacy settings of current account |key|[InputPrivacyKey](../types/InputPrivacyKey.md) | Peer category whose privacy settings should be fetched | Yes| -### Return type: [account\_PrivacyRules](../types/account_PrivacyRules.md) +### Return type: [account.PrivacyRules](../types/account.PrivacyRules.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_PrivacyRules = $MadelineProto->account->getPrivacy(['key' => InputPrivacyKey, ]); +$account.PrivacyRules = $MadelineProto->account->getPrivacy(['key' => InputPrivacyKey, ]); ``` Or, if you're into Lua: ```lua -account_PrivacyRules = account.getPrivacy({key=InputPrivacyKey, }) +account.PrivacyRules = account.getPrivacy({key=InputPrivacyKey, }) ``` ### Errors diff --git a/old_docs/API_docs_v97/methods/account.getTmpPassword.md b/old_docs/API_docs_v97/methods/account.getTmpPassword.md index 76729595..2328df1e 100644 --- a/old_docs/API_docs_v97/methods/account.getTmpPassword.md +++ b/old_docs/API_docs_v97/methods/account.getTmpPassword.md @@ -17,7 +17,7 @@ Get temporary payment password |period|[int](../types/int.md) | Time during which the temporary password will be valid, in seconds; should be between 60 and 86400 | Yes| -### Return type: [account\_TmpPassword](../types/account_TmpPassword.md) +### Return type: [account.TmpPassword](../types/account.TmpPassword.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_TmpPassword = $MadelineProto->account->getTmpPassword(['password' => InputCheckPasswordSRP, 'period' => int, ]); +$account.TmpPassword = $MadelineProto->account->getTmpPassword(['password' => InputCheckPasswordSRP, 'period' => int, ]); ``` Or, if you're into Lua: ```lua -account_TmpPassword = account.getTmpPassword({password=InputCheckPasswordSRP, period=int, }) +account.TmpPassword = account.getTmpPassword({password=InputCheckPasswordSRP, period=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v97/methods/account.getWallPapers.md b/old_docs/API_docs_v97/methods/account.getWallPapers.md index 75c97ae2..aeb95929 100644 --- a/old_docs/API_docs_v97/methods/account.getWallPapers.md +++ b/old_docs/API_docs_v97/methods/account.getWallPapers.md @@ -16,7 +16,7 @@ Returns a list of available wallpapers. |hash|Array of [int](../types/int.md) | IDs of previously fetched wallpapers | Optional| -### Return type: [account\_WallPapers](../types/account_WallPapers.md) +### Return type: [account.WallPapers](../types/account.WallPapers.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_WallPapers = $MadelineProto->account->getWallPapers(['hash' => [int, int], ]); +$account.WallPapers = $MadelineProto->account->getWallPapers(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -account_WallPapers = account.getWallPapers({hash={int}, }) +account.WallPapers = account.getWallPapers({hash={int}, }) ``` diff --git a/old_docs/API_docs_v97/methods/account.getWebAuthorizations.md b/old_docs/API_docs_v97/methods/account.getWebAuthorizations.md index 1a43f138..b97fe978 100644 --- a/old_docs/API_docs_v97/methods/account.getWebAuthorizations.md +++ b/old_docs/API_docs_v97/methods/account.getWebAuthorizations.md @@ -11,7 +11,7 @@ Get web [login widget](https://core.telegram.org/widgets/login) authorizations -### Return type: [account\_WebAuthorizations](../types/account_WebAuthorizations.md) +### Return type: [account.WebAuthorizations](../types/account.WebAuthorizations.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_WebAuthorizations = $MadelineProto->account->getWebAuthorizations(); +$account.WebAuthorizations = $MadelineProto->account->getWebAuthorizations(); ``` Or, if you're into Lua: ```lua -account_WebAuthorizations = account.getWebAuthorizations({}) +account.WebAuthorizations = account.getWebAuthorizations({}) ``` diff --git a/old_docs/API_docs_v97/methods/account.initTakeoutSession.md b/old_docs/API_docs_v97/methods/account.initTakeoutSession.md index 01b3ae0f..3b8774b8 100644 --- a/old_docs/API_docs_v97/methods/account.initTakeoutSession.md +++ b/old_docs/API_docs_v97/methods/account.initTakeoutSession.md @@ -22,7 +22,7 @@ Intialize account takeout session |file\_max\_size|[int](../types/int.md) | Maximum size of files to export | Optional| -### Return type: [account\_Takeout](../types/account_Takeout.md) +### Return type: [account.Takeout](../types/account.Takeout.md) ### Can bots use this method: **NO** @@ -39,12 +39,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_Takeout = $MadelineProto->account->initTakeoutSession(['contacts' => Bool, 'message_users' => Bool, 'message_chats' => Bool, 'message_megagroups' => Bool, 'message_channels' => Bool, 'files' => Bool, 'file_max_size' => int, ]); +$account.Takeout = $MadelineProto->account->initTakeoutSession(['contacts' => Bool, 'message_users' => Bool, 'message_chats' => Bool, 'message_megagroups' => Bool, 'message_channels' => Bool, 'files' => Bool, 'file_max_size' => int, ]); ``` Or, if you're into Lua: ```lua -account_Takeout = account.initTakeoutSession({contacts=Bool, message_users=Bool, message_chats=Bool, message_megagroups=Bool, message_channels=Bool, files=Bool, file_max_size=int, }) +account.Takeout = account.initTakeoutSession({contacts=Bool, message_users=Bool, message_chats=Bool, message_megagroups=Bool, message_channels=Bool, files=Bool, file_max_size=int, }) ``` diff --git a/old_docs/API_docs_v97/methods/account.sendChangePhoneCode.md b/old_docs/API_docs_v97/methods/account.sendChangePhoneCode.md index 1efd192e..469a602d 100644 --- a/old_docs/API_docs_v97/methods/account.sendChangePhoneCode.md +++ b/old_docs/API_docs_v97/methods/account.sendChangePhoneCode.md @@ -17,7 +17,7 @@ Verify a new phone number to associate to the current account |settings|[CodeSettings](../types/CodeSettings.md) | Phone code settings | Yes| -### Return type: [auth\_SentCode](../types/auth_SentCode.md) +### Return type: [auth.SentCode](../types/auth.SentCode.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_SentCode = $MadelineProto->account->sendChangePhoneCode(['phone_number' => 'string', 'settings' => CodeSettings, ]); +$auth.SentCode = $MadelineProto->account->sendChangePhoneCode(['phone_number' => 'string', 'settings' => CodeSettings, ]); ``` Or, if you're into Lua: ```lua -auth_SentCode = account.sendChangePhoneCode({phone_number='string', settings=CodeSettings, }) +auth.SentCode = account.sendChangePhoneCode({phone_number='string', settings=CodeSettings, }) ``` ### Errors diff --git a/old_docs/API_docs_v97/methods/account.sendConfirmPhoneCode.md b/old_docs/API_docs_v97/methods/account.sendConfirmPhoneCode.md index bd8cf87e..1927681f 100644 --- a/old_docs/API_docs_v97/methods/account.sendConfirmPhoneCode.md +++ b/old_docs/API_docs_v97/methods/account.sendConfirmPhoneCode.md @@ -17,7 +17,7 @@ Send confirmation code to cancel account deletion, for more info [click here »] |settings|[CodeSettings](../types/CodeSettings.md) | Phone code settings | Yes| -### Return type: [auth\_SentCode](../types/auth_SentCode.md) +### Return type: [auth.SentCode](../types/auth.SentCode.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_SentCode = $MadelineProto->account->sendConfirmPhoneCode(['hash' => 'string', 'settings' => CodeSettings, ]); +$auth.SentCode = $MadelineProto->account->sendConfirmPhoneCode(['hash' => 'string', 'settings' => CodeSettings, ]); ``` Or, if you're into Lua: ```lua -auth_SentCode = account.sendConfirmPhoneCode({hash='string', settings=CodeSettings, }) +auth.SentCode = account.sendConfirmPhoneCode({hash='string', settings=CodeSettings, }) ``` ### Errors diff --git a/old_docs/API_docs_v97/methods/account.sendVerifyEmailCode.md b/old_docs/API_docs_v97/methods/account.sendVerifyEmailCode.md index 54b1fc3f..a4768852 100644 --- a/old_docs/API_docs_v97/methods/account.sendVerifyEmailCode.md +++ b/old_docs/API_docs_v97/methods/account.sendVerifyEmailCode.md @@ -16,7 +16,7 @@ Send the verification email code for telegram [passport](https://core.telegram.o |email|[string](../types/string.md) | The email where to send the code | Yes| -### Return type: [account\_SentEmailCode](../types/account_SentEmailCode.md) +### Return type: [account.SentEmailCode](../types/account.SentEmailCode.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_SentEmailCode = $MadelineProto->account->sendVerifyEmailCode(['email' => 'string', ]); +$account.SentEmailCode = $MadelineProto->account->sendVerifyEmailCode(['email' => 'string', ]); ``` Or, if you're into Lua: ```lua -account_SentEmailCode = account.sendVerifyEmailCode({email='string', }) +account.SentEmailCode = account.sendVerifyEmailCode({email='string', }) ``` diff --git a/old_docs/API_docs_v97/methods/account.sendVerifyPhoneCode.md b/old_docs/API_docs_v97/methods/account.sendVerifyPhoneCode.md index 0b058240..3ff2fae7 100644 --- a/old_docs/API_docs_v97/methods/account.sendVerifyPhoneCode.md +++ b/old_docs/API_docs_v97/methods/account.sendVerifyPhoneCode.md @@ -17,7 +17,7 @@ Send the verification phone code for telegram [passport](https://core.telegram.o |settings|[CodeSettings](../types/CodeSettings.md) | Phone code settings | Yes| -### Return type: [auth\_SentCode](../types/auth_SentCode.md) +### Return type: [auth.SentCode](../types/auth.SentCode.md) ### Can bots use this method: **NO** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_SentCode = $MadelineProto->account->sendVerifyPhoneCode(['phone_number' => 'string', 'settings' => CodeSettings, ]); +$auth.SentCode = $MadelineProto->account->sendVerifyPhoneCode(['phone_number' => 'string', 'settings' => CodeSettings, ]); ``` Or, if you're into Lua: ```lua -auth_SentCode = account.sendVerifyPhoneCode({phone_number='string', settings=CodeSettings, }) +auth.SentCode = account.sendVerifyPhoneCode({phone_number='string', settings=CodeSettings, }) ``` diff --git a/old_docs/API_docs_v97/methods/account.setPrivacy.md b/old_docs/API_docs_v97/methods/account.setPrivacy.md index 7c4cfba7..096d373e 100644 --- a/old_docs/API_docs_v97/methods/account.setPrivacy.md +++ b/old_docs/API_docs_v97/methods/account.setPrivacy.md @@ -17,7 +17,7 @@ Change privacy settings of current account |rules|Array of [InputPrivacyRule](../types/InputPrivacyRule.md) | Privacy settings | Yes| -### Return type: [account\_PrivacyRules](../types/account_PrivacyRules.md) +### Return type: [account.PrivacyRules](../types/account.PrivacyRules.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$account_PrivacyRules = $MadelineProto->account->setPrivacy(['key' => InputPrivacyKey, 'rules' => [InputPrivacyRule, InputPrivacyRule], ]); +$account.PrivacyRules = $MadelineProto->account->setPrivacy(['key' => InputPrivacyKey, 'rules' => [InputPrivacyRule, InputPrivacyRule], ]); ``` Or, if you're into Lua: ```lua -account_PrivacyRules = account.setPrivacy({key=InputPrivacyKey, rules={InputPrivacyRule}, }) +account.PrivacyRules = account.setPrivacy({key=InputPrivacyKey, rules={InputPrivacyRule}, }) ``` ### Errors diff --git a/old_docs/API_docs_v97/methods/api_README.md b/old_docs/API_docs_v97/methods/api_README.md index 51359bc8..4a1a7082 100644 --- a/old_docs/API_docs_v97/methods/api_README.md +++ b/old_docs/API_docs_v97/methods/api_README.md @@ -80,15 +80,15 @@ $MadelineProto->[account->getAllSecureValues](account.getAllSecureValues.md)(\[\ ***

-$MadelineProto->[account->getAuthorizationForm](account.getAuthorizationForm.md)(\['bot_id' => [int](../types/int.md), 'scope' => [string](../types/string.md), 'public_key' => [string](../types/string.md), \]) === [$account\_AuthorizationForm](../types/account_AuthorizationForm.md) +$MadelineProto->[account->getAuthorizationForm](account.getAuthorizationForm.md)(\['bot_id' => [int](../types/int.md), 'scope' => [string](../types/string.md), 'public_key' => [string](../types/string.md), \]) === [$account.AuthorizationForm](../types/account.AuthorizationForm.md) ***

-$MadelineProto->[account->getAuthorizations](account.getAuthorizations.md)(\[\]) === [$account\_Authorizations](../types/account_Authorizations.md) +$MadelineProto->[account->getAuthorizations](account.getAuthorizations.md)(\[\]) === [$account.Authorizations](../types/account.Authorizations.md) ***

-$MadelineProto->[account->getAutoDownloadSettings](account.getAutoDownloadSettings.md)(\[\]) === [$account\_AutoDownloadSettings](../types/account_AutoDownloadSettings.md) +$MadelineProto->[account->getAutoDownloadSettings](account.getAutoDownloadSettings.md)(\[\]) === [$account.AutoDownloadSettings](../types/account.AutoDownloadSettings.md) ***

@@ -104,15 +104,15 @@ $MadelineProto->[account->getNotifySettings](account.getNotifySettings.md)(\['pe ***

-$MadelineProto->[account->getPassword](account.getPassword.md)(\[\]) === [$account\_Password](../types/account_Password.md) +$MadelineProto->[account->getPassword](account.getPassword.md)(\[\]) === [$account.Password](../types/account.Password.md) ***

-$MadelineProto->[account->getPasswordSettings](account.getPasswordSettings.md)(\['password' => [InputCheckPasswordSRP](../types/InputCheckPasswordSRP.md), \]) === [$account\_PasswordSettings](../types/account_PasswordSettings.md) +$MadelineProto->[account->getPasswordSettings](account.getPasswordSettings.md)(\['password' => [InputCheckPasswordSRP](../types/InputCheckPasswordSRP.md), \]) === [$account.PasswordSettings](../types/account.PasswordSettings.md) ***

-$MadelineProto->[account->getPrivacy](account.getPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), \]) === [$account\_PrivacyRules](../types/account_PrivacyRules.md) +$MadelineProto->[account->getPrivacy](account.getPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), \]) === [$account.PrivacyRules](../types/account.PrivacyRules.md) ***

@@ -120,7 +120,7 @@ $MadelineProto->[account->getSecureValue](account.getSecureValue.md)(\['types' = ***

-$MadelineProto->[account->getTmpPassword](account.getTmpPassword.md)(\['password' => [InputCheckPasswordSRP](../types/InputCheckPasswordSRP.md), 'period' => [int](../types/int.md), \]) === [$account\_TmpPassword](../types/account_TmpPassword.md) +$MadelineProto->[account->getTmpPassword](account.getTmpPassword.md)(\['password' => [InputCheckPasswordSRP](../types/InputCheckPasswordSRP.md), 'period' => [int](../types/int.md), \]) === [$account.TmpPassword](../types/account.TmpPassword.md) ***

@@ -128,15 +128,15 @@ $MadelineProto->[account->getWallPaper](account.getWallPaper.md)(\['wallpaper' = ***

-$MadelineProto->[account->getWallPapers](account.getWallPapers.md)(\['hash' => [int](../types/int.md), \]) === [$account\_WallPapers](../types/account_WallPapers.md) +$MadelineProto->[account->getWallPapers](account.getWallPapers.md)(\['hash' => [int](../types/int.md), \]) === [$account.WallPapers](../types/account.WallPapers.md) ***

-$MadelineProto->[account->getWebAuthorizations](account.getWebAuthorizations.md)(\[\]) === [$account\_WebAuthorizations](../types/account_WebAuthorizations.md) +$MadelineProto->[account->getWebAuthorizations](account.getWebAuthorizations.md)(\[\]) === [$account.WebAuthorizations](../types/account.WebAuthorizations.md) ***

-$MadelineProto->[account->initTakeoutSession](account.initTakeoutSession.md)(\['contacts' => [Bool](../types/Bool.md), 'message_users' => [Bool](../types/Bool.md), 'message_chats' => [Bool](../types/Bool.md), 'message_megagroups' => [Bool](../types/Bool.md), 'message_channels' => [Bool](../types/Bool.md), 'files' => [Bool](../types/Bool.md), 'file_max_size' => [int](../types/int.md), \]) === [$account\_Takeout](../types/account_Takeout.md) +$MadelineProto->[account->initTakeoutSession](account.initTakeoutSession.md)(\['contacts' => [Bool](../types/Bool.md), 'message_users' => [Bool](../types/Bool.md), 'message_chats' => [Bool](../types/Bool.md), 'message_megagroups' => [Bool](../types/Bool.md), 'message_channels' => [Bool](../types/Bool.md), 'files' => [Bool](../types/Bool.md), 'file_max_size' => [int](../types/int.md), \]) === [$account.Takeout](../types/account.Takeout.md) ***

@@ -188,19 +188,19 @@ $MadelineProto->[account->saveWallPaper](account.saveWallPaper.md)(\['wallpaper' ***

-$MadelineProto->[account->sendChangePhoneCode](account.sendChangePhoneCode.md)(\['phone_number' => [string](../types/string.md), 'settings' => [CodeSettings](../types/CodeSettings.md), \]) === [$auth\_SentCode](../types/auth_SentCode.md) +$MadelineProto->[account->sendChangePhoneCode](account.sendChangePhoneCode.md)(\['phone_number' => [string](../types/string.md), 'settings' => [CodeSettings](../types/CodeSettings.md), \]) === [$auth.SentCode](../types/auth.SentCode.md) ***

-$MadelineProto->[account->sendConfirmPhoneCode](account.sendConfirmPhoneCode.md)(\['hash' => [string](../types/string.md), 'settings' => [CodeSettings](../types/CodeSettings.md), \]) === [$auth\_SentCode](../types/auth_SentCode.md) +$MadelineProto->[account->sendConfirmPhoneCode](account.sendConfirmPhoneCode.md)(\['hash' => [string](../types/string.md), 'settings' => [CodeSettings](../types/CodeSettings.md), \]) === [$auth.SentCode](../types/auth.SentCode.md) ***

-$MadelineProto->[account->sendVerifyEmailCode](account.sendVerifyEmailCode.md)(\['email' => [string](../types/string.md), \]) === [$account\_SentEmailCode](../types/account_SentEmailCode.md) +$MadelineProto->[account->sendVerifyEmailCode](account.sendVerifyEmailCode.md)(\['email' => [string](../types/string.md), \]) === [$account.SentEmailCode](../types/account.SentEmailCode.md) ***

-$MadelineProto->[account->sendVerifyPhoneCode](account.sendVerifyPhoneCode.md)(\['phone_number' => [string](../types/string.md), 'settings' => [CodeSettings](../types/CodeSettings.md), \]) === [$auth\_SentCode](../types/auth_SentCode.md) +$MadelineProto->[account->sendVerifyPhoneCode](account.sendVerifyPhoneCode.md)(\['phone_number' => [string](../types/string.md), 'settings' => [CodeSettings](../types/CodeSettings.md), \]) === [$auth.SentCode](../types/auth.SentCode.md) ***

@@ -212,7 +212,7 @@ $MadelineProto->[account->setContactSignUpNotification](account.setContactSignUp ***

-$MadelineProto->[account->setPrivacy](account.setPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), 'rules' => \[[InputPrivacyRule](../types/InputPrivacyRule.md)\], \]) === [$account\_PrivacyRules](../types/account_PrivacyRules.md) +$MadelineProto->[account->setPrivacy](account.setPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), 'rules' => \[[InputPrivacyRule](../types/InputPrivacyRule.md)\], \]) === [$account.PrivacyRules](../types/account.PrivacyRules.md) ***

@@ -264,7 +264,7 @@ $MadelineProto->[auth->cancelCode](auth.cancelCode.md)(\['phone_number' => [stri ***

-$MadelineProto->[auth->checkPassword](auth.checkPassword.md)(\['password' => [InputCheckPasswordSRP](../types/InputCheckPasswordSRP.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->checkPassword](auth.checkPassword.md)(\['password' => [InputCheckPasswordSRP](../types/InputCheckPasswordSRP.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

@@ -272,15 +272,15 @@ $MadelineProto->[auth->dropTempAuthKeys](auth.dropTempAuthKeys.md)(\['except_aut ***

-$MadelineProto->[auth->exportAuthorization](auth.exportAuthorization.md)(\['dc_id' => [int](../types/int.md), \]) === [$auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) +$MadelineProto->[auth->exportAuthorization](auth.exportAuthorization.md)(\['dc_id' => [int](../types/int.md), \]) === [$auth.ExportedAuthorization](../types/auth.ExportedAuthorization.md) ***

-$MadelineProto->[auth->importAuthorization](auth.importAuthorization.md)(\['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->importAuthorization](auth.importAuthorization.md)(\['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

-$MadelineProto->[auth->importBotAuthorization](auth.importBotAuthorization.md)(\['api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), 'bot_auth_token' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->importBotAuthorization](auth.importBotAuthorization.md)(\['api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), 'bot_auth_token' => [string](../types/string.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

@@ -288,15 +288,15 @@ $MadelineProto->[auth->logOut](auth.logOut.md)(\[\]) === [$Bool](../types/Bool.m ***

-$MadelineProto->[auth->recoverPassword](auth.recoverPassword.md)(\['code' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->recoverPassword](auth.recoverPassword.md)(\['code' => [string](../types/string.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

-$MadelineProto->[auth->requestPasswordRecovery](auth.requestPasswordRecovery.md)(\[\]) === [$auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) +$MadelineProto->[auth->requestPasswordRecovery](auth.requestPasswordRecovery.md)(\[\]) === [$auth.PasswordRecovery](../types/auth.PasswordRecovery.md) ***

-$MadelineProto->[auth->resendCode](auth.resendCode.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), \]) === [$auth\_SentCode](../types/auth_SentCode.md) +$MadelineProto->[auth->resendCode](auth.resendCode.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), \]) === [$auth.SentCode](../types/auth.SentCode.md) ***

@@ -304,15 +304,15 @@ $MadelineProto->[auth->resetAuthorizations](auth.resetAuthorizations.md)(\[\]) = ***

-$MadelineProto->[auth->sendCode](auth.sendCode.md)(\['phone_number' => [string](../types/string.md), 'api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), 'settings' => [CodeSettings](../types/CodeSettings.md), \]) === [$auth\_SentCode](../types/auth_SentCode.md) +$MadelineProto->[auth->sendCode](auth.sendCode.md)(\['phone_number' => [string](../types/string.md), 'api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), 'settings' => [CodeSettings](../types/CodeSettings.md), \]) === [$auth.SentCode](../types/auth.SentCode.md) ***

-$MadelineProto->[auth->signIn](auth.signIn.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->signIn](auth.signIn.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

-$MadelineProto->[auth->signUp](auth.signUp.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md) +$MadelineProto->[auth->signUp](auth.signUp.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) === [$auth.Authorization](../types/auth.Authorization.md) ***

@@ -340,11 +340,11 @@ $MadelineProto->[channels->deleteHistory](channels.deleteHistory.md)(\['channel' ***

-$MadelineProto->[channels->deleteMessages](channels.deleteMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) +$MadelineProto->[channels->deleteMessages](channels.deleteMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages.AffectedMessages](../types/messages.AffectedMessages.md) ***

-$MadelineProto->[channels->deleteUserHistory](channels.deleteUserHistory.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages\_AffectedHistory](../types/messages_AffectedHistory.md) +$MadelineProto->[channels->deleteUserHistory](channels.deleteUserHistory.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages.AffectedHistory](../types/messages.AffectedHistory.md) ***

@@ -368,35 +368,35 @@ $MadelineProto->[channels->exportMessageLink](channels.exportMessageLink.md)(\[' ***

-$MadelineProto->[channels->getAdminLog](channels.getAdminLog.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'q' => [string](../types/string.md), 'events_filter' => [ChannelAdminLogEventsFilter](../types/ChannelAdminLogEventsFilter.md), 'admins' => \[[InputUser](../types/InputUser.md)\], 'max_id' => [long](../types/long.md), 'min_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$channels\_AdminLogResults](../types/channels_AdminLogResults.md) +$MadelineProto->[channels->getAdminLog](channels.getAdminLog.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'q' => [string](../types/string.md), 'events_filter' => [ChannelAdminLogEventsFilter](../types/ChannelAdminLogEventsFilter.md), 'admins' => \[[InputUser](../types/InputUser.md)\], 'max_id' => [long](../types/long.md), 'min_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$channels.AdminLogResults](../types/channels.AdminLogResults.md) ***

-$MadelineProto->[channels->getAdminedPublicChannels](channels.getAdminedPublicChannels.md)(\[\]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[channels->getAdminedPublicChannels](channels.getAdminedPublicChannels.md)(\[\]) === [$messages.Chats](../types/messages.Chats.md) ***

-$MadelineProto->[channels->getChannels](channels.getChannels.md)(\['id' => \[[InputChannel](../types/InputChannel.md)\], \]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[channels->getChannels](channels.getChannels.md)(\['id' => \[[InputChannel](../types/InputChannel.md)\], \]) === [$messages.Chats](../types/messages.Chats.md) ***

-$MadelineProto->[channels->getFullChannel](channels.getFullChannel.md)(\['channel' => [InputChannel](../types/InputChannel.md), \]) === [$messages\_ChatFull](../types/messages_ChatFull.md) +$MadelineProto->[channels->getFullChannel](channels.getFullChannel.md)(\['channel' => [InputChannel](../types/InputChannel.md), \]) === [$messages.ChatFull](../types/messages.ChatFull.md) ***

-$MadelineProto->[channels->getLeftChannels](channels.getLeftChannels.md)(\['offset' => [int](../types/int.md), \]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[channels->getLeftChannels](channels.getLeftChannels.md)(\['offset' => [int](../types/int.md), \]) === [$messages.Chats](../types/messages.Chats.md) ***

-$MadelineProto->[channels->getMessages](channels.getMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[InputMessage](../types/InputMessage.md)\], \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[channels->getMessages](channels.getMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[InputMessage](../types/InputMessage.md)\], \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[channels->getParticipant](channels.getParticipant.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$channels\_ChannelParticipant](../types/channels_ChannelParticipant.md) +$MadelineProto->[channels->getParticipant](channels.getParticipant.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$channels.ChannelParticipant](../types/channels.ChannelParticipant.md) ***

-$MadelineProto->[channels->getParticipants](channels.getParticipants.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$channels\_ChannelParticipants](../types/channels_ChannelParticipants.md) +$MadelineProto->[channels->getParticipants](channels.getParticipants.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$channels.ChannelParticipants](../types/channels.ChannelParticipants.md) ***

@@ -448,7 +448,7 @@ $MadelineProto->[contacts->deleteByPhones](contacts.deleteByPhones.md)(\['phones ***

-$MadelineProto->[contacts->deleteContact](contacts.deleteContact.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$contacts\_Link](../types/contacts_Link.md) +$MadelineProto->[contacts->deleteContact](contacts.deleteContact.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$contacts.Link](../types/contacts.Link.md) ***

@@ -456,7 +456,7 @@ $MadelineProto->[contacts->deleteContacts](contacts.deleteContacts.md)(\['id' => ***

-$MadelineProto->[contacts->getBlocked](contacts.getBlocked.md)(\['offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$contacts\_Blocked](../types/contacts_Blocked.md) +$MadelineProto->[contacts->getBlocked](contacts.getBlocked.md)(\['offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$contacts.Blocked](../types/contacts.Blocked.md) ***

@@ -464,7 +464,7 @@ $MadelineProto->[contacts->getContactIDs](contacts.getContactIDs.md)(\['hash' => ***

-$MadelineProto->[contacts->getContacts](contacts.getContacts.md)(\['hash' => [int](../types/int.md), \]) === [$contacts\_Contacts](../types/contacts_Contacts.md) +$MadelineProto->[contacts->getContacts](contacts.getContacts.md)(\['hash' => [int](../types/int.md), \]) === [$contacts.Contacts](../types/contacts.Contacts.md) ***

@@ -476,11 +476,11 @@ $MadelineProto->[contacts->getStatuses](contacts.getStatuses.md)(\[\]) === [$Vec ***

-$MadelineProto->[contacts->getTopPeers](contacts.getTopPeers.md)(\['correspondents' => [Bool](../types/Bool.md), 'bots_pm' => [Bool](../types/Bool.md), 'bots_inline' => [Bool](../types/Bool.md), 'phone_calls' => [Bool](../types/Bool.md), 'groups' => [Bool](../types/Bool.md), 'channels' => [Bool](../types/Bool.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$contacts\_TopPeers](../types/contacts_TopPeers.md) +$MadelineProto->[contacts->getTopPeers](contacts.getTopPeers.md)(\['correspondents' => [Bool](../types/Bool.md), 'bots_pm' => [Bool](../types/Bool.md), 'bots_inline' => [Bool](../types/Bool.md), 'phone_calls' => [Bool](../types/Bool.md), 'groups' => [Bool](../types/Bool.md), 'channels' => [Bool](../types/Bool.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$contacts.TopPeers](../types/contacts.TopPeers.md) ***

-$MadelineProto->[contacts->importContacts](contacts.importContacts.md)(\['contacts' => \[[InputContact](../types/InputContact.md)\], \]) === [$contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) +$MadelineProto->[contacts->importContacts](contacts.importContacts.md)(\['contacts' => \[[InputContact](../types/InputContact.md)\], \]) === [$contacts.ImportedContacts](../types/contacts.ImportedContacts.md) ***

@@ -492,11 +492,11 @@ $MadelineProto->[contacts->resetTopPeerRating](contacts.resetTopPeerRating.md)(\ ***

-$MadelineProto->[contacts->resolveUsername](contacts.resolveUsername.md)(\['username' => [string](../types/string.md), \]) === [$contacts\_ResolvedPeer](../types/contacts_ResolvedPeer.md) +$MadelineProto->[contacts->resolveUsername](contacts.resolveUsername.md)(\['username' => [string](../types/string.md), \]) === [$contacts.ResolvedPeer](../types/contacts.ResolvedPeer.md) ***

-$MadelineProto->[contacts->search](contacts.search.md)(\['q' => [string](../types/string.md), 'limit' => [int](../types/int.md), \]) === [$contacts\_Found](../types/contacts_Found.md) +$MadelineProto->[contacts->search](contacts.search.md)(\['q' => [string](../types/string.md), 'limit' => [int](../types/int.md), \]) === [$contacts.Found](../types/contacts.Found.md) ***

@@ -512,7 +512,7 @@ $MadelineProto->[help->acceptTermsOfService](help.acceptTermsOfService.md)(\['id ***

-$MadelineProto->[help->editUserInfo](help.editUserInfo.md)(\['user_id' => [InputUser](../types/InputUser.md), 'message' => [string](../types/string.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], \]) === [$help\_UserInfo](../types/help_UserInfo.md) +$MadelineProto->[help->editUserInfo](help.editUserInfo.md)(\['user_id' => [InputUser](../types/InputUser.md), 'message' => [string](../types/string.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], \]) === [$help.UserInfo](../types/help.UserInfo.md) ***

@@ -524,7 +524,7 @@ $MadelineProto->[help->getAppConfig](help.getAppConfig.md)(\[\]) === [$JSONValue ***

-$MadelineProto->[help->getAppUpdate](help.getAppUpdate.md)(\['source' => [string](../types/string.md), \]) === [$help\_AppUpdate](../types/help_AppUpdate.md) +$MadelineProto->[help->getAppUpdate](help.getAppUpdate.md)(\['source' => [string](../types/string.md), \]) === [$help.AppUpdate](../types/help.AppUpdate.md) ***

@@ -536,11 +536,11 @@ $MadelineProto->[help->getConfig](help.getConfig.md)(\[\]) === [$Config](../type ***

-$MadelineProto->[help->getDeepLinkInfo](help.getDeepLinkInfo.md)(\['path' => [string](../types/string.md), \]) === [$help\_DeepLinkInfo](../types/help_DeepLinkInfo.md) +$MadelineProto->[help->getDeepLinkInfo](help.getDeepLinkInfo.md)(\['path' => [string](../types/string.md), \]) === [$help.DeepLinkInfo](../types/help.DeepLinkInfo.md) ***

-$MadelineProto->[help->getInviteText](help.getInviteText.md)(\[\]) === [$help\_InviteText](../types/help_InviteText.md) +$MadelineProto->[help->getInviteText](help.getInviteText.md)(\[\]) === [$help.InviteText](../types/help.InviteText.md) ***

@@ -548,31 +548,31 @@ $MadelineProto->[help->getNearestDc](help.getNearestDc.md)(\[\]) === [$NearestDc ***

-$MadelineProto->[help->getPassportConfig](help.getPassportConfig.md)(\['hash' => [int](../types/int.md), \]) === [$help\_PassportConfig](../types/help_PassportConfig.md) +$MadelineProto->[help->getPassportConfig](help.getPassportConfig.md)(\['hash' => [int](../types/int.md), \]) === [$help.PassportConfig](../types/help.PassportConfig.md) ***

-$MadelineProto->[help->getProxyData](help.getProxyData.md)(\[\]) === [$help\_ProxyData](../types/help_ProxyData.md) +$MadelineProto->[help->getProxyData](help.getProxyData.md)(\[\]) === [$help.ProxyData](../types/help.ProxyData.md) ***

-$MadelineProto->[help->getRecentMeUrls](help.getRecentMeUrls.md)(\['referer' => [string](../types/string.md), \]) === [$help\_RecentMeUrls](../types/help_RecentMeUrls.md) +$MadelineProto->[help->getRecentMeUrls](help.getRecentMeUrls.md)(\['referer' => [string](../types/string.md), \]) === [$help.RecentMeUrls](../types/help.RecentMeUrls.md) ***

-$MadelineProto->[help->getSupport](help.getSupport.md)(\[\]) === [$help\_Support](../types/help_Support.md) +$MadelineProto->[help->getSupport](help.getSupport.md)(\[\]) === [$help.Support](../types/help.Support.md) ***

-$MadelineProto->[help->getSupportName](help.getSupportName.md)(\[\]) === [$help\_SupportName](../types/help_SupportName.md) +$MadelineProto->[help->getSupportName](help.getSupportName.md)(\[\]) === [$help.SupportName](../types/help.SupportName.md) ***

-$MadelineProto->[help->getTermsOfServiceUpdate](help.getTermsOfServiceUpdate.md)(\[\]) === [$help\_TermsOfServiceUpdate](../types/help_TermsOfServiceUpdate.md) +$MadelineProto->[help->getTermsOfServiceUpdate](help.getTermsOfServiceUpdate.md)(\[\]) === [$help.TermsOfServiceUpdate](../types/help.TermsOfServiceUpdate.md) ***

-$MadelineProto->[help->getUserInfo](help.getUserInfo.md)(\['user_id' => [InputUser](../types/InputUser.md), \]) === [$help\_UserInfo](../types/help_UserInfo.md) +$MadelineProto->[help->getUserInfo](help.getUserInfo.md)(\['user_id' => [InputUser](../types/InputUser.md), \]) === [$help.UserInfo](../types/help.UserInfo.md) ***

@@ -660,11 +660,11 @@ $MadelineProto->[messages->deleteChatUser](messages.deleteChatUser.md)(\['chat_i ***

-$MadelineProto->[messages->deleteHistory](messages.deleteHistory.md)(\['just_clear' => [Bool](../types/Bool.md), 'revoke' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), \]) === [$messages\_AffectedHistory](../types/messages_AffectedHistory.md) +$MadelineProto->[messages->deleteHistory](messages.deleteHistory.md)(\['just_clear' => [Bool](../types/Bool.md), 'revoke' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), \]) === [$messages.AffectedHistory](../types/messages.AffectedHistory.md) ***

-$MadelineProto->[messages->deleteMessages](messages.deleteMessages.md)(\['revoke' => [Bool](../types/Bool.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) +$MadelineProto->[messages->deleteMessages](messages.deleteMessages.md)(\['revoke' => [Bool](../types/Bool.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages.AffectedMessages](../types/messages.AffectedMessages.md) ***

@@ -712,7 +712,7 @@ $MadelineProto->[messages->forwardMessages](messages.forwardMessages.md)(\['sile ***

-$MadelineProto->[messages->getAllChats](messages.getAllChats.md)(\['except_ids' => \[[int](../types/int.md)\], \]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[messages->getAllChats](messages.getAllChats.md)(\['except_ids' => \[[int](../types/int.md)\], \]) === [$messages.Chats](../types/messages.Chats.md) ***

@@ -720,11 +720,11 @@ $MadelineProto->[messages->getAllDrafts](messages.getAllDrafts.md)(\[\]) === [$U ***

-$MadelineProto->[messages->getAllStickers](messages.getAllStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages\_AllStickers](../types/messages_AllStickers.md) +$MadelineProto->[messages->getAllStickers](messages.getAllStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages.AllStickers](../types/messages.AllStickers.md) ***

-$MadelineProto->[messages->getArchivedStickers](messages.getArchivedStickers.md)(\['masks' => [Bool](../types/Bool.md), 'offset_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$messages\_ArchivedStickers](../types/messages_ArchivedStickers.md) +$MadelineProto->[messages->getArchivedStickers](messages.getArchivedStickers.md)(\['masks' => [Bool](../types/Bool.md), 'offset_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$messages.ArchivedStickers](../types/messages.ArchivedStickers.md) ***

@@ -732,19 +732,19 @@ $MadelineProto->[messages->getAttachedStickers](messages.getAttachedStickers.md) ***

-$MadelineProto->[messages->getBotCallbackAnswer](messages.getBotCallbackAnswer.md)(\['game' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'msg_id' => [int](../types/int.md), 'data' => [bytes](../types/bytes.md), \]) === [$messages\_BotCallbackAnswer](../types/messages_BotCallbackAnswer.md) +$MadelineProto->[messages->getBotCallbackAnswer](messages.getBotCallbackAnswer.md)(\['game' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'msg_id' => [int](../types/int.md), 'data' => [bytes](../types/bytes.md), \]) === [$messages.BotCallbackAnswer](../types/messages.BotCallbackAnswer.md) ***

-$MadelineProto->[messages->getChats](messages.getChats.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[messages->getChats](messages.getChats.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages.Chats](../types/messages.Chats.md) ***

-$MadelineProto->[messages->getCommonChats](messages.getCommonChats.md)(\['user_id' => [InputUser](../types/InputUser.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages\_Chats](../types/messages_Chats.md) +$MadelineProto->[messages->getCommonChats](messages.getCommonChats.md)(\['user_id' => [InputUser](../types/InputUser.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages.Chats](../types/messages.Chats.md) ***

-$MadelineProto->[messages->getDhConfig](messages.getDhConfig.md)(\['version' => [int](../types/int.md), 'random_length' => [int](../types/int.md), \]) === [$messages\_DhConfig](../types/messages_DhConfig.md) +$MadelineProto->[messages->getDhConfig](messages.getDhConfig.md)(\['version' => [int](../types/int.md), 'random_length' => [int](../types/int.md), \]) === [$messages.DhConfig](../types/messages.DhConfig.md) ***

@@ -752,7 +752,7 @@ $MadelineProto->[messages->getDialogUnreadMarks](messages.getDialogUnreadMarks.m ***

-$MadelineProto->[messages->getDialogs](messages.getDialogs.md)(\['exclude_pinned' => [Bool](../types/Bool.md), 'offset_date' => [int](../types/int.md), 'offset_id' => [int](../types/int.md), 'offset_peer' => [InputPeer](../types/InputPeer.md), 'limit' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$messages\_Dialogs](../types/messages_Dialogs.md) +$MadelineProto->[messages->getDialogs](messages.getDialogs.md)(\['exclude_pinned' => [Bool](../types/Bool.md), 'offset_date' => [int](../types/int.md), 'offset_id' => [int](../types/int.md), 'offset_peer' => [InputPeer](../types/InputPeer.md), 'limit' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$messages.Dialogs](../types/messages.Dialogs.md) ***

@@ -772,43 +772,43 @@ $MadelineProto->[messages->getEmojiURL](messages.getEmojiURL.md)(\['lang_code' = ***

-$MadelineProto->[messages->getFavedStickers](messages.getFavedStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages\_FavedStickers](../types/messages_FavedStickers.md) +$MadelineProto->[messages->getFavedStickers](messages.getFavedStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages.FavedStickers](../types/messages.FavedStickers.md) ***

-$MadelineProto->[messages->getFeaturedStickers](messages.getFeaturedStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages\_FeaturedStickers](../types/messages_FeaturedStickers.md) +$MadelineProto->[messages->getFeaturedStickers](messages.getFeaturedStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages.FeaturedStickers](../types/messages.FeaturedStickers.md) ***

-$MadelineProto->[messages->getFullChat](messages.getFullChat.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), \]) === [$messages\_ChatFull](../types/messages_ChatFull.md) +$MadelineProto->[messages->getFullChat](messages.getFullChat.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), \]) === [$messages.ChatFull](../types/messages.ChatFull.md) ***

-$MadelineProto->[messages->getGameHighScores](messages.getGameHighScores.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages\_HighScores](../types/messages_HighScores.md) +$MadelineProto->[messages->getGameHighScores](messages.getGameHighScores.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages.HighScores](../types/messages.HighScores.md) ***

-$MadelineProto->[messages->getHistory](messages.getHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'offset_date' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->getHistory](messages.getHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'offset_date' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[messages->getInlineBotResults](messages.getInlineBotResults.md)(\['bot' => [InputUser](../types/InputUser.md), 'peer' => [InputPeer](../types/InputPeer.md), 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'query' => [string](../types/string.md), 'offset' => [string](../types/string.md), \]) === [$messages\_BotResults](../types/messages_BotResults.md) +$MadelineProto->[messages->getInlineBotResults](messages.getInlineBotResults.md)(\['bot' => [InputUser](../types/InputUser.md), 'peer' => [InputPeer](../types/InputPeer.md), 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'query' => [string](../types/string.md), 'offset' => [string](../types/string.md), \]) === [$messages.BotResults](../types/messages.BotResults.md) ***

-$MadelineProto->[messages->getInlineGameHighScores](messages.getInlineGameHighScores.md)(\['id' => [InputBotInlineMessageID](../types/InputBotInlineMessageID.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages\_HighScores](../types/messages_HighScores.md) +$MadelineProto->[messages->getInlineGameHighScores](messages.getInlineGameHighScores.md)(\['id' => [InputBotInlineMessageID](../types/InputBotInlineMessageID.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages.HighScores](../types/messages.HighScores.md) ***

-$MadelineProto->[messages->getMaskStickers](messages.getMaskStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages\_AllStickers](../types/messages_AllStickers.md) +$MadelineProto->[messages->getMaskStickers](messages.getMaskStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages.AllStickers](../types/messages.AllStickers.md) ***

-$MadelineProto->[messages->getMessageEditData](messages.getMessageEditData.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), \]) === [$messages\_MessageEditData](../types/messages_MessageEditData.md) +$MadelineProto->[messages->getMessageEditData](messages.getMessageEditData.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), \]) === [$messages.MessageEditData](../types/messages.MessageEditData.md) ***

-$MadelineProto->[messages->getMessages](messages.getMessages.md)(\['id' => \[[InputMessage](../types/InputMessage.md)\], \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->getMessages](messages.getMessages.md)(\['id' => \[[InputMessage](../types/InputMessage.md)\], \]) === [$messages.Messages](../types/messages.Messages.md) ***

@@ -820,7 +820,7 @@ $MadelineProto->[messages->getOnlines](messages.getOnlines.md)(\['peer' => [Inpu ***

-$MadelineProto->[messages->getPeerDialogs](messages.getPeerDialogs.md)(\['peers' => \[[InputDialogPeer](../types/InputDialogPeer.md)\], \]) === [$messages\_PeerDialogs](../types/messages_PeerDialogs.md) +$MadelineProto->[messages->getPeerDialogs](messages.getPeerDialogs.md)(\['peers' => \[[InputDialogPeer](../types/InputDialogPeer.md)\], \]) === [$messages.PeerDialogs](../types/messages.PeerDialogs.md) ***

@@ -828,7 +828,7 @@ $MadelineProto->[messages->getPeerSettings](messages.getPeerSettings.md)(\['peer ***

-$MadelineProto->[messages->getPinnedDialogs](messages.getPinnedDialogs.md)(\[\]) === [$messages\_PeerDialogs](../types/messages_PeerDialogs.md) +$MadelineProto->[messages->getPinnedDialogs](messages.getPinnedDialogs.md)(\[\]) === [$messages.PeerDialogs](../types/messages.PeerDialogs.md) ***

@@ -836,15 +836,15 @@ $MadelineProto->[messages->getPollResults](messages.getPollResults.md)(\['peer' ***

-$MadelineProto->[messages->getRecentLocations](messages.getRecentLocations.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'limit' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->getRecentLocations](messages.getRecentLocations.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'limit' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[messages->getRecentStickers](messages.getRecentStickers.md)(\['attached' => [Bool](../types/Bool.md), 'hash' => [int](../types/int.md), \]) === [$messages\_RecentStickers](../types/messages_RecentStickers.md) +$MadelineProto->[messages->getRecentStickers](messages.getRecentStickers.md)(\['attached' => [Bool](../types/Bool.md), 'hash' => [int](../types/int.md), \]) === [$messages.RecentStickers](../types/messages.RecentStickers.md) ***

-$MadelineProto->[messages->getSavedGifs](messages.getSavedGifs.md)(\['hash' => [int](../types/int.md), \]) === [$messages\_SavedGifs](../types/messages_SavedGifs.md) +$MadelineProto->[messages->getSavedGifs](messages.getSavedGifs.md)(\['hash' => [int](../types/int.md), \]) === [$messages.SavedGifs](../types/messages.SavedGifs.md) ***

@@ -856,15 +856,15 @@ $MadelineProto->[messages->getStatsURL](messages.getStatsURL.md)(\['dark' => [Bo ***

-$MadelineProto->[messages->getStickerSet](messages.getStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), \]) === [$messages\_StickerSet](../types/messages_StickerSet.md) +$MadelineProto->[messages->getStickerSet](messages.getStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), \]) === [$messages.StickerSet](../types/messages.StickerSet.md) ***

-$MadelineProto->[messages->getStickers](messages.getStickers.md)(\['emoticon' => [string](../types/string.md), 'hash' => [int](../types/int.md), \]) === [$messages\_Stickers](../types/messages_Stickers.md) +$MadelineProto->[messages->getStickers](messages.getStickers.md)(\['emoticon' => [string](../types/string.md), 'hash' => [int](../types/int.md), \]) === [$messages.Stickers](../types/messages.Stickers.md) ***

-$MadelineProto->[messages->getUnreadMentions](messages.getUnreadMentions.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->getUnreadMentions](messages.getUnreadMentions.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

@@ -884,7 +884,7 @@ $MadelineProto->[messages->importChatInvite](messages.importChatInvite.md)(\['ha ***

-$MadelineProto->[messages->installStickerSet](messages.installStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), 'archived' => [Bool](../types/Bool.md), \]) === [$messages\_StickerSetInstallResult](../types/messages_StickerSetInstallResult.md) +$MadelineProto->[messages->installStickerSet](messages.installStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), 'archived' => [Bool](../types/Bool.md), \]) === [$messages.StickerSetInstallResult](../types/messages.StickerSetInstallResult.md) ***

@@ -904,15 +904,15 @@ $MadelineProto->[messages->readFeaturedStickers](messages.readFeaturedStickers.m ***

-$MadelineProto->[messages->readHistory](messages.readHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), \]) === [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) +$MadelineProto->[messages->readHistory](messages.readHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), \]) === [$messages.AffectedMessages](../types/messages.AffectedMessages.md) ***

-$MadelineProto->[messages->readMentions](messages.readMentions.md)(\['peer' => [InputPeer](../types/InputPeer.md), \]) === [$messages\_AffectedHistory](../types/messages_AffectedHistory.md) +$MadelineProto->[messages->readMentions](messages.readMentions.md)(\['peer' => [InputPeer](../types/InputPeer.md), \]) === [$messages.AffectedHistory](../types/messages.AffectedHistory.md) ***

-$MadelineProto->[messages->readMessageContents](messages.readMessageContents.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) +$MadelineProto->[messages->readMessageContents](messages.readMessageContents.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages.AffectedMessages](../types/messages.AffectedMessages.md) ***

@@ -960,31 +960,31 @@ $MadelineProto->[messages->saveRecentSticker](messages.saveRecentSticker.md)(\[' ***

-$MadelineProto->[messages->search](messages.search.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'q' => [string](../types/string.md), 'from_id' => [InputUser](../types/InputUser.md), 'filter' => [MessagesFilter](../types/MessagesFilter.md), 'min_date' => [int](../types/int.md), 'max_date' => [int](../types/int.md), 'offset_id' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->search](messages.search.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'q' => [string](../types/string.md), 'from_id' => [InputUser](../types/InputUser.md), 'filter' => [MessagesFilter](../types/MessagesFilter.md), 'min_date' => [int](../types/int.md), 'max_date' => [int](../types/int.md), 'offset_id' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[messages->searchGifs](messages.searchGifs.md)(\['q' => [string](../types/string.md), 'offset' => [int](../types/int.md), \]) === [$messages\_FoundGifs](../types/messages_FoundGifs.md) +$MadelineProto->[messages->searchGifs](messages.searchGifs.md)(\['q' => [string](../types/string.md), 'offset' => [int](../types/int.md), \]) === [$messages.FoundGifs](../types/messages.FoundGifs.md) ***

-$MadelineProto->[messages->searchGlobal](messages.searchGlobal.md)(\['q' => [string](../types/string.md), 'offset_date' => [int](../types/int.md), 'offset_peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md) +$MadelineProto->[messages->searchGlobal](messages.searchGlobal.md)(\['q' => [string](../types/string.md), 'offset_date' => [int](../types/int.md), 'offset_peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md) ***

-$MadelineProto->[messages->searchStickerSets](messages.searchStickerSets.md)(\['exclude_featured' => [Bool](../types/Bool.md), 'q' => [string](../types/string.md), 'hash' => [int](../types/int.md), \]) === [$messages\_FoundStickerSets](../types/messages_FoundStickerSets.md) +$MadelineProto->[messages->searchStickerSets](messages.searchStickerSets.md)(\['exclude_featured' => [Bool](../types/Bool.md), 'q' => [string](../types/string.md), 'hash' => [int](../types/int.md), \]) === [$messages.FoundStickerSets](../types/messages.FoundStickerSets.md) ***

-$MadelineProto->[messages->sendEncrypted](messages.sendEncrypted.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'message' => [DecryptedMessage](../types/DecryptedMessage.md), \]) === [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +$MadelineProto->[messages->sendEncrypted](messages.sendEncrypted.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), \]) === [$messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ***

-$MadelineProto->[messages->sendEncryptedFile](messages.sendEncryptedFile.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'message' => [DecryptedMessage](../types/DecryptedMessage.md), 'file' => [InputEncryptedFile](../types/InputEncryptedFile.md), \]) === [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +$MadelineProto->[messages->sendEncryptedFile](messages.sendEncryptedFile.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), 'file' => [InputEncryptedFile](../types/InputEncryptedFile.md), \]) === [$messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ***

-$MadelineProto->[messages->sendEncryptedService](messages.sendEncryptedService.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'message' => [DecryptedMessage](../types/DecryptedMessage.md), \]) === [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +$MadelineProto->[messages->sendEncryptedService](messages.sendEncryptedService.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), \]) === [$messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ***

@@ -1072,31 +1072,31 @@ $MadelineProto->[payments->clearSavedInfo](payments.clearSavedInfo.md)(\['creden ***

-$MadelineProto->[payments->getPaymentForm](payments.getPaymentForm.md)(\['msg_id' => [int](../types/int.md), \]) === [$payments\_PaymentForm](../types/payments_PaymentForm.md) +$MadelineProto->[payments->getPaymentForm](payments.getPaymentForm.md)(\['msg_id' => [int](../types/int.md), \]) === [$payments.PaymentForm](../types/payments.PaymentForm.md) ***

-$MadelineProto->[payments->getPaymentReceipt](payments.getPaymentReceipt.md)(\['msg_id' => [int](../types/int.md), \]) === [$payments\_PaymentReceipt](../types/payments_PaymentReceipt.md) +$MadelineProto->[payments->getPaymentReceipt](payments.getPaymentReceipt.md)(\['msg_id' => [int](../types/int.md), \]) === [$payments.PaymentReceipt](../types/payments.PaymentReceipt.md) ***

-$MadelineProto->[payments->getSavedInfo](payments.getSavedInfo.md)(\[\]) === [$payments\_SavedInfo](../types/payments_SavedInfo.md) +$MadelineProto->[payments->getSavedInfo](payments.getSavedInfo.md)(\[\]) === [$payments.SavedInfo](../types/payments.SavedInfo.md) ***

-$MadelineProto->[payments->sendPaymentForm](payments.sendPaymentForm.md)(\['msg_id' => [int](../types/int.md), 'requested_info_id' => [string](../types/string.md), 'shipping_option_id' => [string](../types/string.md), 'credentials' => [InputPaymentCredentials](../types/InputPaymentCredentials.md), \]) === [$payments\_PaymentResult](../types/payments_PaymentResult.md) +$MadelineProto->[payments->sendPaymentForm](payments.sendPaymentForm.md)(\['msg_id' => [int](../types/int.md), 'requested_info_id' => [string](../types/string.md), 'shipping_option_id' => [string](../types/string.md), 'credentials' => [InputPaymentCredentials](../types/InputPaymentCredentials.md), \]) === [$payments.PaymentResult](../types/payments.PaymentResult.md) ***

-$MadelineProto->[payments->validateRequestedInfo](payments.validateRequestedInfo.md)(\['save' => [Bool](../types/Bool.md), 'msg_id' => [int](../types/int.md), 'info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), \]) === [$payments\_ValidatedRequestedInfo](../types/payments_ValidatedRequestedInfo.md) +$MadelineProto->[payments->validateRequestedInfo](payments.validateRequestedInfo.md)(\['save' => [Bool](../types/Bool.md), 'msg_id' => [int](../types/int.md), 'info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), \]) === [$payments.ValidatedRequestedInfo](../types/payments.ValidatedRequestedInfo.md) ***

-$MadelineProto->[phone->acceptCall](phone.acceptCall.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'g_b' => [bytes](../types/bytes.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone\_PhoneCall](../types/phone_PhoneCall.md) +$MadelineProto->[phone->acceptCall](phone.acceptCall.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'g_b' => [bytes](../types/bytes.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone.PhoneCall](../types/phone.PhoneCall.md) ***

-$MadelineProto->[phone->confirmCall](phone.confirmCall.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'g_a' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone\_PhoneCall](../types/phone_PhoneCall.md) +$MadelineProto->[phone->confirmCall](phone.confirmCall.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'g_a' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone.PhoneCall](../types/phone.PhoneCall.md) ***

@@ -1112,7 +1112,7 @@ $MadelineProto->[phone->receivedCall](phone.receivedCall.md)(\['peer' => [InputP ***

-$MadelineProto->[phone->requestCall](phone.requestCall.md)(\['user_id' => [InputUser](../types/InputUser.md), 'g_a_hash' => [bytes](../types/bytes.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone\_PhoneCall](../types/phone_PhoneCall.md) +$MadelineProto->[phone->requestCall](phone.requestCall.md)(\['user_id' => [InputUser](../types/InputUser.md), 'g_a_hash' => [bytes](../types/bytes.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone.PhoneCall](../types/phone.PhoneCall.md) ***

@@ -1128,7 +1128,7 @@ $MadelineProto->[photos->deletePhotos](photos.deletePhotos.md)(\['id' => \[[Inpu ***

-$MadelineProto->[photos->getUserPhotos](photos.getUserPhotos.md)(\['user_id' => [InputUser](../types/InputUser.md), 'offset' => [int](../types/int.md), 'max_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$photos\_Photos](../types/photos_Photos.md) +$MadelineProto->[photos->getUserPhotos](photos.getUserPhotos.md)(\['user_id' => [InputUser](../types/InputUser.md), 'offset' => [int](../types/int.md), 'max_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$photos.Photos](../types/photos.Photos.md) ***

@@ -1136,39 +1136,39 @@ $MadelineProto->[photos->updateProfilePhoto](photos.updateProfilePhoto.md)(\['id ***

-$MadelineProto->[photos->uploadProfilePhoto](photos.uploadProfilePhoto.md)(\['file' => [InputFile](../types/InputFile.md), \]) === [$photos\_Photo](../types/photos_Photo.md) +$MadelineProto->[photos->uploadProfilePhoto](photos.uploadProfilePhoto.md)(\['file' => [InputFile](../types/InputFile.md), \]) === [$photos.Photo](../types/photos.Photo.md) ***

-$MadelineProto->[stickers->addStickerToSet](stickers.addStickerToSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), 'sticker' => [InputStickerSetItem](../types/InputStickerSetItem.md), \]) === [$messages\_StickerSet](../types/messages_StickerSet.md) +$MadelineProto->[stickers->addStickerToSet](stickers.addStickerToSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), 'sticker' => [InputStickerSetItem](../types/InputStickerSetItem.md), \]) === [$messages.StickerSet](../types/messages.StickerSet.md) ***

-$MadelineProto->[stickers->changeStickerPosition](stickers.changeStickerPosition.md)(\['sticker' => [InputDocument](../types/InputDocument.md), 'position' => [int](../types/int.md), \]) === [$messages\_StickerSet](../types/messages_StickerSet.md) +$MadelineProto->[stickers->changeStickerPosition](stickers.changeStickerPosition.md)(\['sticker' => [InputDocument](../types/InputDocument.md), 'position' => [int](../types/int.md), \]) === [$messages.StickerSet](../types/messages.StickerSet.md) ***

-$MadelineProto->[stickers->createStickerSet](stickers.createStickerSet.md)(\['masks' => [Bool](../types/Bool.md), 'user_id' => [InputUser](../types/InputUser.md), 'title' => [string](../types/string.md), 'short_name' => [string](../types/string.md), 'stickers' => \[[InputStickerSetItem](../types/InputStickerSetItem.md)\], \]) === [$messages\_StickerSet](../types/messages_StickerSet.md) +$MadelineProto->[stickers->createStickerSet](stickers.createStickerSet.md)(\['masks' => [Bool](../types/Bool.md), 'user_id' => [InputUser](../types/InputUser.md), 'title' => [string](../types/string.md), 'short_name' => [string](../types/string.md), 'stickers' => \[[InputStickerSetItem](../types/InputStickerSetItem.md)\], \]) === [$messages.StickerSet](../types/messages.StickerSet.md) ***

-$MadelineProto->[stickers->removeStickerFromSet](stickers.removeStickerFromSet.md)(\['sticker' => [InputDocument](../types/InputDocument.md), \]) === [$messages\_StickerSet](../types/messages_StickerSet.md) +$MadelineProto->[stickers->removeStickerFromSet](stickers.removeStickerFromSet.md)(\['sticker' => [InputDocument](../types/InputDocument.md), \]) === [$messages.StickerSet](../types/messages.StickerSet.md) ***

-$MadelineProto->[updates->getChannelDifference](updates.getChannelDifference.md)(\['force' => [Bool](../types/Bool.md), 'channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$updates\_ChannelDifference](../types/updates_ChannelDifference.md) +$MadelineProto->[updates->getChannelDifference](updates.getChannelDifference.md)(\['force' => [Bool](../types/Bool.md), 'channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$updates.ChannelDifference](../types/updates.ChannelDifference.md) ***

-$MadelineProto->[updates->getDifference](updates.getDifference.md)(\['pts' => [int](../types/int.md), 'pts_total_limit' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) === [$updates\_Difference](../types/updates_Difference.md) +$MadelineProto->[updates->getDifference](updates.getDifference.md)(\['pts' => [int](../types/int.md), 'pts_total_limit' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) === [$updates.Difference](../types/updates.Difference.md) ***

-$MadelineProto->[updates->getState](updates.getState.md)(\[\]) === [$updates\_State](../types/updates_State.md) +$MadelineProto->[updates->getState](updates.getState.md)(\[\]) === [$updates.State](../types/updates.State.md) ***

-$MadelineProto->[upload->getCdnFile](upload.getCdnFile.md)(\['file_token' => [bytes](../types/bytes.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_CdnFile](../types/upload_CdnFile.md) +$MadelineProto->[upload->getCdnFile](upload.getCdnFile.md)(\['file_token' => [bytes](../types/bytes.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload.CdnFile](../types/upload.CdnFile.md) ***

@@ -1176,7 +1176,7 @@ $MadelineProto->[upload->getCdnFileHashes](upload.getCdnFileHashes.md)(\['file_t ***

-$MadelineProto->[upload->getFile](upload.getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_File](../types/upload_File.md) +$MadelineProto->[upload->getFile](upload.getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload.File](../types/upload.File.md) ***

@@ -1184,7 +1184,7 @@ $MadelineProto->[upload->getFileHashes](upload.getFileHashes.md)(\['location' => ***

-$MadelineProto->[upload->getWebFile](upload.getWebFile.md)(\['location' => [InputWebFileLocation](../types/InputWebFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_WebFile](../types/upload_WebFile.md) +$MadelineProto->[upload->getWebFile](upload.getWebFile.md)(\['location' => [InputWebFileLocation](../types/InputWebFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload.WebFile](../types/upload.WebFile.md) ***

diff --git a/old_docs/API_docs_v97/methods/auth.checkPassword.md b/old_docs/API_docs_v97/methods/auth.checkPassword.md index ad2a88a2..510e6c03 100644 --- a/old_docs/API_docs_v97/methods/auth.checkPassword.md +++ b/old_docs/API_docs_v97/methods/auth.checkPassword.md @@ -16,7 +16,7 @@ You cannot use this method directly, use the complete_2fa_login method instead ( |password|[InputCheckPasswordSRP](../types/InputCheckPasswordSRP.md) | You cannot use this method directly, use the complete_2fa_login method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->checkPassword(['password' => InputCheckPasswordSRP, ]); +$auth.Authorization = $MadelineProto->auth->checkPassword(['password' => InputCheckPasswordSRP, ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.checkPassword({password=InputCheckPasswordSRP, }) +auth.Authorization = auth.checkPassword({password=InputCheckPasswordSRP, }) ``` ### Errors diff --git a/old_docs/API_docs_v97/methods/auth.exportAuthorization.md b/old_docs/API_docs_v97/methods/auth.exportAuthorization.md index 72063a2b..41a1f87d 100644 --- a/old_docs/API_docs_v97/methods/auth.exportAuthorization.md +++ b/old_docs/API_docs_v97/methods/auth.exportAuthorization.md @@ -16,7 +16,7 @@ You cannot use this method directly, use $MadelineProto->exportAuthorization() i |dc\_id|[int](../types/int.md) | You cannot use this method directly, use $MadelineProto->exportAuthorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| -### Return type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) +### Return type: [auth.ExportedAuthorization](../types/auth.ExportedAuthorization.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_ExportedAuthorization = $MadelineProto->auth->exportAuthorization(['dc_id' => int, ]); +$auth.ExportedAuthorization = $MadelineProto->auth->exportAuthorization(['dc_id' => int, ]); ``` Or, if you're into Lua: ```lua -auth_ExportedAuthorization = auth.exportAuthorization({dc_id=int, }) +auth.ExportedAuthorization = auth.exportAuthorization({dc_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v97/methods/auth.importAuthorization.md b/old_docs/API_docs_v97/methods/auth.importAuthorization.md index d9c13751..5257e0b0 100644 --- a/old_docs/API_docs_v97/methods/auth.importAuthorization.md +++ b/old_docs/API_docs_v97/methods/auth.importAuthorization.md @@ -17,7 +17,7 @@ You cannot use this method directly, use $MadelineProto->importAuthorization($au |bytes|[bytes](../types/bytes.md) | You cannot use this method directly, use $MadelineProto->importAuthorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => 'bytes', ]); +$auth.Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.importAuthorization({id=int, bytes='bytes', }) +auth.Authorization = auth.importAuthorization({id=int, bytes='bytes', }) ``` ### Errors diff --git a/old_docs/API_docs_v97/methods/auth.importBotAuthorization.md b/old_docs/API_docs_v97/methods/auth.importBotAuthorization.md index 3161d6be..a4ea8027 100644 --- a/old_docs/API_docs_v97/methods/auth.importBotAuthorization.md +++ b/old_docs/API_docs_v97/methods/auth.importBotAuthorization.md @@ -18,7 +18,7 @@ You cannot use this method directly, use the botLogin method instead (see https: |bot\_auth\_token|[string](../types/string.md) | You cannot use this method directly, use the botLogin method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **YES** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->importBotAuthorization(['api_id' => int, 'api_hash' => 'string', 'bot_auth_token' => 'string', ]); +$auth.Authorization = $MadelineProto->auth->importBotAuthorization(['api_id' => int, 'api_hash' => 'string', 'bot_auth_token' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.importBotAuthorization({api_id=int, api_hash='string', bot_auth_token='string', }) +auth.Authorization = auth.importBotAuthorization({api_id=int, api_hash='string', bot_auth_token='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v97/methods/auth.recoverPassword.md b/old_docs/API_docs_v97/methods/auth.recoverPassword.md index f7cbf4a4..2e78444b 100644 --- a/old_docs/API_docs_v97/methods/auth.recoverPassword.md +++ b/old_docs/API_docs_v97/methods/auth.recoverPassword.md @@ -16,7 +16,7 @@ Reset the [2FA password](https://core.telegram.org/api/srp) using the recovery c |code|[string](../types/string.md) | Code received via email | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->recoverPassword(['code' => 'string', ]); +$auth.Authorization = $MadelineProto->auth->recoverPassword(['code' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.recoverPassword({code='string', }) +auth.Authorization = auth.recoverPassword({code='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v97/methods/auth.requestPasswordRecovery.md b/old_docs/API_docs_v97/methods/auth.requestPasswordRecovery.md index 5cd77936..ff1ecc02 100644 --- a/old_docs/API_docs_v97/methods/auth.requestPasswordRecovery.md +++ b/old_docs/API_docs_v97/methods/auth.requestPasswordRecovery.md @@ -11,7 +11,7 @@ Request recovery code of a [2FA password](https://core.telegram.org/api/srp), on -### Return type: [auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) +### Return type: [auth.PasswordRecovery](../types/auth.PasswordRecovery.md) ### Can bots use this method: **NO** @@ -28,13 +28,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_PasswordRecovery = $MadelineProto->auth->requestPasswordRecovery(); +$auth.PasswordRecovery = $MadelineProto->auth->requestPasswordRecovery(); ``` Or, if you're into Lua: ```lua -auth_PasswordRecovery = auth.requestPasswordRecovery({}) +auth.PasswordRecovery = auth.requestPasswordRecovery({}) ``` ### Errors diff --git a/old_docs/API_docs_v97/methods/auth.resendCode.md b/old_docs/API_docs_v97/methods/auth.resendCode.md index a395a91b..f59f1b7b 100644 --- a/old_docs/API_docs_v97/methods/auth.resendCode.md +++ b/old_docs/API_docs_v97/methods/auth.resendCode.md @@ -17,7 +17,7 @@ Resend the login code via another medium, the phone code type is determined by t |phone\_code\_hash|[string](../types/string.md) | The phone code hash obtained from [auth.sendCode](../methods/auth.sendCode.md) | Yes| -### Return type: [auth\_SentCode](../types/auth_SentCode.md) +### Return type: [auth.SentCode](../types/auth.SentCode.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_SentCode = $MadelineProto->auth->resendCode(['phone_number' => 'string', 'phone_code_hash' => 'string', ]); +$auth.SentCode = $MadelineProto->auth->resendCode(['phone_number' => 'string', 'phone_code_hash' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_SentCode = auth.resendCode({phone_number='string', phone_code_hash='string', }) +auth.SentCode = auth.resendCode({phone_number='string', phone_code_hash='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v97/methods/auth.sendCode.md b/old_docs/API_docs_v97/methods/auth.sendCode.md index be14f1bf..cb94998f 100644 --- a/old_docs/API_docs_v97/methods/auth.sendCode.md +++ b/old_docs/API_docs_v97/methods/auth.sendCode.md @@ -19,7 +19,7 @@ You cannot use this method directly, use the phoneLogin method instead (see http |settings|[CodeSettings](../types/CodeSettings.md) | You cannot use this method directly, use the phoneLogin method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_SentCode](../types/auth_SentCode.md) +### Return type: [auth.SentCode](../types/auth.SentCode.md) ### Can bots use this method: **NO** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_SentCode = $MadelineProto->auth->sendCode(['phone_number' => 'string', 'api_id' => int, 'api_hash' => 'string', 'settings' => CodeSettings, ]); +$auth.SentCode = $MadelineProto->auth->sendCode(['phone_number' => 'string', 'api_id' => int, 'api_hash' => 'string', 'settings' => CodeSettings, ]); ``` Or, if you're into Lua: ```lua -auth_SentCode = auth.sendCode({phone_number='string', api_id=int, api_hash='string', settings=CodeSettings, }) +auth.SentCode = auth.sendCode({phone_number='string', api_id=int, api_hash='string', settings=CodeSettings, }) ``` ### Errors diff --git a/old_docs/API_docs_v97/methods/auth.signIn.md b/old_docs/API_docs_v97/methods/auth.signIn.md index 54812a2e..95b14f32 100644 --- a/old_docs/API_docs_v97/methods/auth.signIn.md +++ b/old_docs/API_docs_v97/methods/auth.signIn.md @@ -18,7 +18,7 @@ You cannot use this method directly, use the completePhoneLogin method instead ( |phone\_code|[string](../types/string.md) | You cannot use this method directly, use the completePhoneLogin method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->signIn(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', ]); +$auth.Authorization = $MadelineProto->auth->signIn(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.signIn({phone_number='string', phone_code_hash='string', phone_code='string', }) +auth.Authorization = auth.signIn({phone_number='string', phone_code_hash='string', phone_code='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v97/methods/auth.signUp.md b/old_docs/API_docs_v97/methods/auth.signUp.md index 2aca2bfa..fdb5d628 100644 --- a/old_docs/API_docs_v97/methods/auth.signUp.md +++ b/old_docs/API_docs_v97/methods/auth.signUp.md @@ -20,7 +20,7 @@ You cannot use this method directly, use the completeSignup method instead (see |last\_name|[string](../types/string.md) | You cannot use this method directly, use the completeSignup method instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [auth\_Authorization](../types/auth_Authorization.md) +### Return type: [auth.Authorization](../types/auth.Authorization.md) ### Can bots use this method: **NO** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$auth_Authorization = $MadelineProto->auth->signUp(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', 'first_name' => 'string', 'last_name' => 'string', ]); +$auth.Authorization = $MadelineProto->auth->signUp(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', 'first_name' => 'string', 'last_name' => 'string', ]); ``` Or, if you're into Lua: ```lua -auth_Authorization = auth.signUp({phone_number='string', phone_code_hash='string', phone_code='string', first_name='string', last_name='string', }) +auth.Authorization = auth.signUp({phone_number='string', phone_code_hash='string', phone_code='string', first_name='string', last_name='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v97/methods/channels.deleteMessages.md b/old_docs/API_docs_v97/methods/channels.deleteMessages.md index 10a439fb..8583e560 100644 --- a/old_docs/API_docs_v97/methods/channels.deleteMessages.md +++ b/old_docs/API_docs_v97/methods/channels.deleteMessages.md @@ -17,7 +17,7 @@ Delete messages in a [channel/supergroup](https://core.telegram.org/api/channel) |id|Array of [int](../types/int.md) | The IDs of messages to delete | Yes| -### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) +### Return type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedMessages = $MadelineProto->channels->deleteMessages(['channel' => InputChannel, 'id' => [int, int], ]); +$messages.AffectedMessages = $MadelineProto->channels->deleteMessages(['channel' => InputChannel, 'id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AffectedMessages = channels.deleteMessages({channel=InputChannel, id={int}, }) +messages.AffectedMessages = channels.deleteMessages({channel=InputChannel, id={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v97/methods/channels.deleteUserHistory.md b/old_docs/API_docs_v97/methods/channels.deleteUserHistory.md index 9b8b159f..6ccaf7dd 100644 --- a/old_docs/API_docs_v97/methods/channels.deleteUserHistory.md +++ b/old_docs/API_docs_v97/methods/channels.deleteUserHistory.md @@ -17,7 +17,7 @@ Delete all messages sent by a certain user in a [supergroup](https://core.telegr |user\_id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | User whose messages should be deleted | Optional| -### Return type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) +### Return type: [messages.AffectedHistory](../types/messages.AffectedHistory.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedHistory = $MadelineProto->channels->deleteUserHistory(['channel' => InputChannel, 'user_id' => InputUser, ]); +$messages.AffectedHistory = $MadelineProto->channels->deleteUserHistory(['channel' => InputChannel, 'user_id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -messages_AffectedHistory = channels.deleteUserHistory({channel=InputChannel, user_id=InputUser, }) +messages.AffectedHistory = channels.deleteUserHistory({channel=InputChannel, user_id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v97/methods/channels.getAdminLog.md b/old_docs/API_docs_v97/methods/channels.getAdminLog.md index e149f653..3b550a73 100644 --- a/old_docs/API_docs_v97/methods/channels.getAdminLog.md +++ b/old_docs/API_docs_v97/methods/channels.getAdminLog.md @@ -22,7 +22,7 @@ Get the admin log of a [channel/supergroup](https://core.telegram.org/api/channe |limit|[int](../types/int.md) | Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets) | Yes| -### Return type: [channels\_AdminLogResults](../types/channels_AdminLogResults.md) +### Return type: [channels.AdminLogResults](../types/channels.AdminLogResults.md) ### Can bots use this method: **NO** @@ -39,13 +39,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$channels_AdminLogResults = $MadelineProto->channels->getAdminLog(['channel' => InputChannel, 'q' => 'string', 'events_filter' => ChannelAdminLogEventsFilter, 'admins' => [InputUser, InputUser], 'max_id' => long, 'min_id' => long, 'limit' => int, ]); +$channels.AdminLogResults = $MadelineProto->channels->getAdminLog(['channel' => InputChannel, 'q' => 'string', 'events_filter' => ChannelAdminLogEventsFilter, 'admins' => [InputUser, InputUser], 'max_id' => long, 'min_id' => long, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -channels_AdminLogResults = channels.getAdminLog({channel=InputChannel, q='string', events_filter=ChannelAdminLogEventsFilter, admins={InputUser}, max_id=long, min_id=long, limit=int, }) +channels.AdminLogResults = channels.getAdminLog({channel=InputChannel, q='string', events_filter=ChannelAdminLogEventsFilter, admins={InputUser}, max_id=long, min_id=long, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v97/methods/channels.getAdminedPublicChannels.md b/old_docs/API_docs_v97/methods/channels.getAdminedPublicChannels.md index 55a686ca..eb277404 100644 --- a/old_docs/API_docs_v97/methods/channels.getAdminedPublicChannels.md +++ b/old_docs/API_docs_v97/methods/channels.getAdminedPublicChannels.md @@ -11,7 +11,7 @@ Get [channels/supergroups/geogroups](https://core.telegram.org/api/channel) we'r -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->channels->getAdminedPublicChannels(); +$messages.Chats = $MadelineProto->channels->getAdminedPublicChannels(); ``` Or, if you're into Lua: ```lua -messages_Chats = channels.getAdminedPublicChannels({}) +messages.Chats = channels.getAdminedPublicChannels({}) ``` diff --git a/old_docs/API_docs_v97/methods/channels.getChannels.md b/old_docs/API_docs_v97/methods/channels.getChannels.md index 368c96ce..ed9cf4a7 100644 --- a/old_docs/API_docs_v97/methods/channels.getChannels.md +++ b/old_docs/API_docs_v97/methods/channels.getChannels.md @@ -16,7 +16,7 @@ Get info about [channels/supergroups](https://core.telegram.org/api/channel) |id|Array of [Username, chat ID, Update, Message or InputChannel](../types/InputChannel.md) | The channel/supergroup MTProto IDs | Yes| -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->channels->getChannels(['id' => [InputChannel, InputChannel], ]); +$messages.Chats = $MadelineProto->channels->getChannels(['id' => [InputChannel, InputChannel], ]); ``` Or, if you're into Lua: ```lua -messages_Chats = channels.getChannels({id={InputChannel}, }) +messages.Chats = channels.getChannels({id={InputChannel}, }) ``` ### Errors diff --git a/old_docs/API_docs_v97/methods/channels.getFullChannel.md b/old_docs/API_docs_v97/methods/channels.getFullChannel.md index 08dc21bb..1369e0a0 100644 --- a/old_docs/API_docs_v97/methods/channels.getFullChannel.md +++ b/old_docs/API_docs_v97/methods/channels.getFullChannel.md @@ -16,7 +16,7 @@ You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo me |channel|[Username, chat ID, Update, Message or InputChannel](../types/InputChannel.md) | You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo methods instead (see https://docs.madelineproto.xyz for more info) | Optional| -### Return type: [messages\_ChatFull](../types/messages_ChatFull.md) +### Return type: [messages.ChatFull](../types/messages.ChatFull.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_ChatFull = $MadelineProto->channels->getFullChannel(['channel' => InputChannel, ]); +$messages.ChatFull = $MadelineProto->channels->getFullChannel(['channel' => InputChannel, ]); ``` Or, if you're into Lua: ```lua -messages_ChatFull = channels.getFullChannel({channel=InputChannel, }) +messages.ChatFull = channels.getFullChannel({channel=InputChannel, }) ``` ### Errors diff --git a/old_docs/API_docs_v97/methods/channels.getLeftChannels.md b/old_docs/API_docs_v97/methods/channels.getLeftChannels.md index a5bcda2c..5a132204 100644 --- a/old_docs/API_docs_v97/methods/channels.getLeftChannels.md +++ b/old_docs/API_docs_v97/methods/channels.getLeftChannels.md @@ -16,7 +16,7 @@ Get a list of [channels/supergroups](https://core.telegram.org/api/channel) we l |offset|[int](../types/int.md) | Offset for [pagination](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->channels->getLeftChannels(['offset' => int, ]); +$messages.Chats = $MadelineProto->channels->getLeftChannels(['offset' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Chats = channels.getLeftChannels({offset=int, }) +messages.Chats = channels.getLeftChannels({offset=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v97/methods/channels.getMessages.md b/old_docs/API_docs_v97/methods/channels.getMessages.md index 428734e3..708e404a 100644 --- a/old_docs/API_docs_v97/methods/channels.getMessages.md +++ b/old_docs/API_docs_v97/methods/channels.getMessages.md @@ -17,7 +17,7 @@ Get [channel/supergroup](https://core.telegram.org/api/channel) messages |id|Array of [Message ID or InputMessage](../types/InputMessage.md) | The message IDs | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->channels->getMessages(['channel' => InputChannel, 'id' => [InputMessage, InputMessage], ]); +$messages.Messages = $MadelineProto->channels->getMessages(['channel' => InputChannel, 'id' => [InputMessage, InputMessage], ]); ``` Or, if you're into Lua: ```lua -messages_Messages = channels.getMessages({channel=InputChannel, id={InputMessage}, }) +messages.Messages = channels.getMessages({channel=InputChannel, id={InputMessage}, }) ``` ### Errors diff --git a/old_docs/API_docs_v97/methods/channels.getParticipant.md b/old_docs/API_docs_v97/methods/channels.getParticipant.md index aa2ce655..cf6a7771 100644 --- a/old_docs/API_docs_v97/methods/channels.getParticipant.md +++ b/old_docs/API_docs_v97/methods/channels.getParticipant.md @@ -17,7 +17,7 @@ Get info about a [channel/supergroup](https://core.telegram.org/api/channel) par |user\_id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | ID of participant to get info about | Optional| -### Return type: [channels\_ChannelParticipant](../types/channels_ChannelParticipant.md) +### Return type: [channels.ChannelParticipant](../types/channels.ChannelParticipant.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$channels_ChannelParticipant = $MadelineProto->channels->getParticipant(['channel' => InputChannel, 'user_id' => InputUser, ]); +$channels.ChannelParticipant = $MadelineProto->channels->getParticipant(['channel' => InputChannel, 'user_id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -channels_ChannelParticipant = channels.getParticipant({channel=InputChannel, user_id=InputUser, }) +channels.ChannelParticipant = channels.getParticipant({channel=InputChannel, user_id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v97/methods/channels.getParticipants.md b/old_docs/API_docs_v97/methods/channels.getParticipants.md index dd7e0087..c6b15b63 100644 --- a/old_docs/API_docs_v97/methods/channels.getParticipants.md +++ b/old_docs/API_docs_v97/methods/channels.getParticipants.md @@ -20,7 +20,7 @@ Get the participants of a channel |hash|Array of [int](../types/int.md) | IDs of previously fetched participants | Optional| -### Return type: [channels\_ChannelParticipants](../types/channels_ChannelParticipants.md) +### Return type: [channels.ChannelParticipants](../types/channels.ChannelParticipants.md) ### Can bots use this method: **YES** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$channels_ChannelParticipants = $MadelineProto->channels->getParticipants(['channel' => InputChannel, 'filter' => ChannelParticipantsFilter, 'offset' => int, 'limit' => int, 'hash' => [int, int], ]); +$channels.ChannelParticipants = $MadelineProto->channels->getParticipants(['channel' => InputChannel, 'filter' => ChannelParticipantsFilter, 'offset' => int, 'limit' => int, 'hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -channels_ChannelParticipants = channels.getParticipants({channel=InputChannel, filter=ChannelParticipantsFilter, offset=int, limit=int, hash={int}, }) +channels.ChannelParticipants = channels.getParticipants({channel=InputChannel, filter=ChannelParticipantsFilter, offset=int, limit=int, hash={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v97/methods/contacts.deleteContact.md b/old_docs/API_docs_v97/methods/contacts.deleteContact.md index a9321d64..9169e1e0 100644 --- a/old_docs/API_docs_v97/methods/contacts.deleteContact.md +++ b/old_docs/API_docs_v97/methods/contacts.deleteContact.md @@ -16,7 +16,7 @@ Delete a contact |id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | The contact to delete | Optional| -### Return type: [contacts\_Link](../types/contacts_Link.md) +### Return type: [contacts.Link](../types/contacts.Link.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Link = $MadelineProto->contacts->deleteContact(['id' => InputUser, ]); +$contacts.Link = $MadelineProto->contacts->deleteContact(['id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -contacts_Link = contacts.deleteContact({id=InputUser, }) +contacts.Link = contacts.deleteContact({id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v97/methods/contacts.getBlocked.md b/old_docs/API_docs_v97/methods/contacts.getBlocked.md index 92f2f331..6ac1c343 100644 --- a/old_docs/API_docs_v97/methods/contacts.getBlocked.md +++ b/old_docs/API_docs_v97/methods/contacts.getBlocked.md @@ -17,7 +17,7 @@ Returns the list of blocked users. |limit|[int](../types/int.md) | The number of list elements to be returned | Yes| -### Return type: [contacts\_Blocked](../types/contacts_Blocked.md) +### Return type: [contacts.Blocked](../types/contacts.Blocked.md) ### Can bots use this method: **NO** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Blocked = $MadelineProto->contacts->getBlocked(['offset' => int, 'limit' => int, ]); +$contacts.Blocked = $MadelineProto->contacts->getBlocked(['offset' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -contacts_Blocked = contacts.getBlocked({offset=int, limit=int, }) +contacts.Blocked = contacts.getBlocked({offset=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v97/methods/contacts.getContacts.md b/old_docs/API_docs_v97/methods/contacts.getContacts.md index c67e6240..609549b0 100644 --- a/old_docs/API_docs_v97/methods/contacts.getContacts.md +++ b/old_docs/API_docs_v97/methods/contacts.getContacts.md @@ -16,7 +16,7 @@ Returns the current user's contact list. |hash|Array of [int](../types/int.md) | User IDs of previously cached contacts | Optional| -### Return type: [contacts\_Contacts](../types/contacts_Contacts.md) +### Return type: [contacts.Contacts](../types/contacts.Contacts.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Contacts = $MadelineProto->contacts->getContacts(['hash' => [int, int], ]); +$contacts.Contacts = $MadelineProto->contacts->getContacts(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -contacts_Contacts = contacts.getContacts({hash={int}, }) +contacts.Contacts = contacts.getContacts({hash={int}, }) ``` diff --git a/old_docs/API_docs_v97/methods/contacts.getTopPeers.md b/old_docs/API_docs_v97/methods/contacts.getTopPeers.md index 0acf7155..870de6b3 100644 --- a/old_docs/API_docs_v97/methods/contacts.getTopPeers.md +++ b/old_docs/API_docs_v97/methods/contacts.getTopPeers.md @@ -24,7 +24,7 @@ Get most used peers |hash|Array of [int](../types/int.md) | Peer IDs of previously cached peers | Optional| -### Return type: [contacts\_TopPeers](../types/contacts_TopPeers.md) +### Return type: [contacts.TopPeers](../types/contacts.TopPeers.md) ### Can bots use this method: **NO** @@ -41,13 +41,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_TopPeers = $MadelineProto->contacts->getTopPeers(['correspondents' => Bool, 'bots_pm' => Bool, 'bots_inline' => Bool, 'phone_calls' => Bool, 'groups' => Bool, 'channels' => Bool, 'offset' => int, 'limit' => int, 'hash' => [int, int], ]); +$contacts.TopPeers = $MadelineProto->contacts->getTopPeers(['correspondents' => Bool, 'bots_pm' => Bool, 'bots_inline' => Bool, 'phone_calls' => Bool, 'groups' => Bool, 'channels' => Bool, 'offset' => int, 'limit' => int, 'hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -contacts_TopPeers = contacts.getTopPeers({correspondents=Bool, bots_pm=Bool, bots_inline=Bool, phone_calls=Bool, groups=Bool, channels=Bool, offset=int, limit=int, hash={int}, }) +contacts.TopPeers = contacts.getTopPeers({correspondents=Bool, bots_pm=Bool, bots_inline=Bool, phone_calls=Bool, groups=Bool, channels=Bool, offset=int, limit=int, hash={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v97/methods/contacts.importContacts.md b/old_docs/API_docs_v97/methods/contacts.importContacts.md index 7c795780..dbb9b7fa 100644 --- a/old_docs/API_docs_v97/methods/contacts.importContacts.md +++ b/old_docs/API_docs_v97/methods/contacts.importContacts.md @@ -16,7 +16,7 @@ Imports contacts: saves a full list on the server, adds already registered conta |contacts|Array of [InputContact](../types/InputContact.md) | The numbers to import | Yes| -### Return type: [contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) +### Return type: [contacts.ImportedContacts](../types/contacts.ImportedContacts.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_ImportedContacts = $MadelineProto->contacts->importContacts(['contacts' => [InputContact, InputContact], ]); +$contacts.ImportedContacts = $MadelineProto->contacts->importContacts(['contacts' => [InputContact, InputContact], ]); ``` Or, if you're into Lua: ```lua -contacts_ImportedContacts = contacts.importContacts({contacts={InputContact}, }) +contacts.ImportedContacts = contacts.importContacts({contacts={InputContact}, }) ``` diff --git a/old_docs/API_docs_v97/methods/contacts.resolveUsername.md b/old_docs/API_docs_v97/methods/contacts.resolveUsername.md index 05e3d854..46f1eb50 100644 --- a/old_docs/API_docs_v97/methods/contacts.resolveUsername.md +++ b/old_docs/API_docs_v97/methods/contacts.resolveUsername.md @@ -16,7 +16,7 @@ You cannot use this method directly, use the resolveUsername, getPwrChat, getInf |username|[string](../types/string.md) | You cannot use this method directly, use the resolveUsername, getPwrChat, getInfo, getFullInfo methods instead (see https://docs.madelineproto.xyz for more info) | Yes| -### Return type: [contacts\_ResolvedPeer](../types/contacts_ResolvedPeer.md) +### Return type: [contacts.ResolvedPeer](../types/contacts.ResolvedPeer.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_ResolvedPeer = $MadelineProto->contacts->resolveUsername(['username' => 'string', ]); +$contacts.ResolvedPeer = $MadelineProto->contacts->resolveUsername(['username' => 'string', ]); ``` Or, if you're into Lua: ```lua -contacts_ResolvedPeer = contacts.resolveUsername({username='string', }) +contacts.ResolvedPeer = contacts.resolveUsername({username='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v97/methods/contacts.search.md b/old_docs/API_docs_v97/methods/contacts.search.md index 2f39d6f1..ec04c7f9 100644 --- a/old_docs/API_docs_v97/methods/contacts.search.md +++ b/old_docs/API_docs_v97/methods/contacts.search.md @@ -17,7 +17,7 @@ Returns users found by username substring. |limit|[int](../types/int.md) | Maximum number of users to be returned | Yes| -### Return type: [contacts\_Found](../types/contacts_Found.md) +### Return type: [contacts.Found](../types/contacts.Found.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$contacts_Found = $MadelineProto->contacts->search(['q' => 'string', 'limit' => int, ]); +$contacts.Found = $MadelineProto->contacts->search(['q' => 'string', 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -contacts_Found = contacts.search({q='string', limit=int, }) +contacts.Found = contacts.search({q='string', limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v97/methods/help.editUserInfo.md b/old_docs/API_docs_v97/methods/help.editUserInfo.md index 7d49e820..0dd21b80 100644 --- a/old_docs/API_docs_v97/methods/help.editUserInfo.md +++ b/old_docs/API_docs_v97/methods/help.editUserInfo.md @@ -19,7 +19,7 @@ Internal use |parse\_mode| [string](../types/string.md) | Whether to parse HTML or Markdown markup in the message| Optional | -### Return type: [help\_UserInfo](../types/help_UserInfo.md) +### Return type: [help.UserInfo](../types/help.UserInfo.md) ### Can bots use this method: **NO** @@ -36,19 +36,19 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_UserInfo = $MadelineProto->help->editUserInfo(['user_id' => InputUser, 'message' => 'string', 'entities' => [MessageEntity, MessageEntity], 'parse_mode' => 'string', ]); +$help.UserInfo = $MadelineProto->help->editUserInfo(['user_id' => InputUser, 'message' => 'string', 'entities' => [MessageEntity, MessageEntity], 'parse_mode' => 'string', ]); ``` Or, if you're into Lua: ```lua -help_UserInfo = help.editUserInfo({user_id=InputUser, message='string', entities={MessageEntity}, parseMode='string', }) +help.UserInfo = help.editUserInfo({user_id=InputUser, message='string', entities={MessageEntity}, parseMode='string', }) ``` ## Return value -If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [help\_UserInfo](../types/help_UserInfo.md) will be returned instead. +If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [help.UserInfo](../types/help.UserInfo.md) will be returned instead. diff --git a/old_docs/API_docs_v97/methods/help.getAppUpdate.md b/old_docs/API_docs_v97/methods/help.getAppUpdate.md index e744d727..2a81fa8f 100644 --- a/old_docs/API_docs_v97/methods/help.getAppUpdate.md +++ b/old_docs/API_docs_v97/methods/help.getAppUpdate.md @@ -16,7 +16,7 @@ Returns information on update availability for the current application. |source|[string](../types/string.md) | Source | Yes| -### Return type: [help\_AppUpdate](../types/help_AppUpdate.md) +### Return type: [help.AppUpdate](../types/help.AppUpdate.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_AppUpdate = $MadelineProto->help->getAppUpdate(['source' => 'string', ]); +$help.AppUpdate = $MadelineProto->help->getAppUpdate(['source' => 'string', ]); ``` Or, if you're into Lua: ```lua -help_AppUpdate = help.getAppUpdate({source='string', }) +help.AppUpdate = help.getAppUpdate({source='string', }) ``` diff --git a/old_docs/API_docs_v97/methods/help.getDeepLinkInfo.md b/old_docs/API_docs_v97/methods/help.getDeepLinkInfo.md index e3269bbc..e6e7d6b8 100644 --- a/old_docs/API_docs_v97/methods/help.getDeepLinkInfo.md +++ b/old_docs/API_docs_v97/methods/help.getDeepLinkInfo.md @@ -16,7 +16,7 @@ Get info about a `t.me` link |path|[string](../types/string.md) | Path in `t.me/path` | Yes| -### Return type: [help\_DeepLinkInfo](../types/help_DeepLinkInfo.md) +### Return type: [help.DeepLinkInfo](../types/help.DeepLinkInfo.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_DeepLinkInfo = $MadelineProto->help->getDeepLinkInfo(['path' => 'string', ]); +$help.DeepLinkInfo = $MadelineProto->help->getDeepLinkInfo(['path' => 'string', ]); ``` Or, if you're into Lua: ```lua -help_DeepLinkInfo = help.getDeepLinkInfo({path='string', }) +help.DeepLinkInfo = help.getDeepLinkInfo({path='string', }) ``` diff --git a/old_docs/API_docs_v97/methods/help.getInviteText.md b/old_docs/API_docs_v97/methods/help.getInviteText.md index 6fd67362..0d427974 100644 --- a/old_docs/API_docs_v97/methods/help.getInviteText.md +++ b/old_docs/API_docs_v97/methods/help.getInviteText.md @@ -11,7 +11,7 @@ Returns text of a text message with an invitation. -### Return type: [help\_InviteText](../types/help_InviteText.md) +### Return type: [help.InviteText](../types/help.InviteText.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_InviteText = $MadelineProto->help->getInviteText(); +$help.InviteText = $MadelineProto->help->getInviteText(); ``` Or, if you're into Lua: ```lua -help_InviteText = help.getInviteText({}) +help.InviteText = help.getInviteText({}) ``` diff --git a/old_docs/API_docs_v97/methods/help.getPassportConfig.md b/old_docs/API_docs_v97/methods/help.getPassportConfig.md index 3710737d..f71e67b2 100644 --- a/old_docs/API_docs_v97/methods/help.getPassportConfig.md +++ b/old_docs/API_docs_v97/methods/help.getPassportConfig.md @@ -16,7 +16,7 @@ Get [passport](https://core.telegram.org/passport) configuration |hash|Array of [int](../types/int.md) | Hash | Optional| -### Return type: [help\_PassportConfig](../types/help_PassportConfig.md) +### Return type: [help.PassportConfig](../types/help.PassportConfig.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_PassportConfig = $MadelineProto->help->getPassportConfig(['hash' => [int, int], ]); +$help.PassportConfig = $MadelineProto->help->getPassportConfig(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -help_PassportConfig = help.getPassportConfig({hash={int}, }) +help.PassportConfig = help.getPassportConfig({hash={int}, }) ``` diff --git a/old_docs/API_docs_v97/methods/help.getProxyData.md b/old_docs/API_docs_v97/methods/help.getProxyData.md index bbaf4c53..9a0aaa9a 100644 --- a/old_docs/API_docs_v97/methods/help.getProxyData.md +++ b/old_docs/API_docs_v97/methods/help.getProxyData.md @@ -11,7 +11,7 @@ Get promotion info of the currently-used MTProxy -### Return type: [help\_ProxyData](../types/help_ProxyData.md) +### Return type: [help.ProxyData](../types/help.ProxyData.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_ProxyData = $MadelineProto->help->getProxyData(); +$help.ProxyData = $MadelineProto->help->getProxyData(); ``` Or, if you're into Lua: ```lua -help_ProxyData = help.getProxyData({}) +help.ProxyData = help.getProxyData({}) ``` diff --git a/old_docs/API_docs_v97/methods/help.getRecentMeUrls.md b/old_docs/API_docs_v97/methods/help.getRecentMeUrls.md index 38cc44c8..a5ab9e06 100644 --- a/old_docs/API_docs_v97/methods/help.getRecentMeUrls.md +++ b/old_docs/API_docs_v97/methods/help.getRecentMeUrls.md @@ -16,7 +16,7 @@ Get recently used `t.me` links |referer|[string](../types/string.md) | Referer | Yes| -### Return type: [help\_RecentMeUrls](../types/help_RecentMeUrls.md) +### Return type: [help.RecentMeUrls](../types/help.RecentMeUrls.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_RecentMeUrls = $MadelineProto->help->getRecentMeUrls(['referer' => 'string', ]); +$help.RecentMeUrls = $MadelineProto->help->getRecentMeUrls(['referer' => 'string', ]); ``` Or, if you're into Lua: ```lua -help_RecentMeUrls = help.getRecentMeUrls({referer='string', }) +help.RecentMeUrls = help.getRecentMeUrls({referer='string', }) ``` diff --git a/old_docs/API_docs_v97/methods/help.getSupport.md b/old_docs/API_docs_v97/methods/help.getSupport.md index 7a577892..8a8df916 100644 --- a/old_docs/API_docs_v97/methods/help.getSupport.md +++ b/old_docs/API_docs_v97/methods/help.getSupport.md @@ -11,7 +11,7 @@ Returns the support user for the 'ask a question' feature. -### Return type: [help\_Support](../types/help_Support.md) +### Return type: [help.Support](../types/help.Support.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_Support = $MadelineProto->help->getSupport(); +$help.Support = $MadelineProto->help->getSupport(); ``` Or, if you're into Lua: ```lua -help_Support = help.getSupport({}) +help.Support = help.getSupport({}) ``` diff --git a/old_docs/API_docs_v97/methods/help.getSupportName.md b/old_docs/API_docs_v97/methods/help.getSupportName.md index d2b1c93c..fbf9ef52 100644 --- a/old_docs/API_docs_v97/methods/help.getSupportName.md +++ b/old_docs/API_docs_v97/methods/help.getSupportName.md @@ -11,7 +11,7 @@ Get localized name of the telegram support user -### Return type: [help\_SupportName](../types/help_SupportName.md) +### Return type: [help.SupportName](../types/help.SupportName.md) ### Can bots use this method: **NO** @@ -28,13 +28,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_SupportName = $MadelineProto->help->getSupportName(); +$help.SupportName = $MadelineProto->help->getSupportName(); ``` Or, if you're into Lua: ```lua -help_SupportName = help.getSupportName({}) +help.SupportName = help.getSupportName({}) ``` ### Errors diff --git a/old_docs/API_docs_v97/methods/help.getTermsOfServiceUpdate.md b/old_docs/API_docs_v97/methods/help.getTermsOfServiceUpdate.md index 7a8ebd65..636a054b 100644 --- a/old_docs/API_docs_v97/methods/help.getTermsOfServiceUpdate.md +++ b/old_docs/API_docs_v97/methods/help.getTermsOfServiceUpdate.md @@ -11,7 +11,7 @@ Look for updates of telegram's terms of service -### Return type: [help\_TermsOfServiceUpdate](../types/help_TermsOfServiceUpdate.md) +### Return type: [help.TermsOfServiceUpdate](../types/help.TermsOfServiceUpdate.md) ### Can bots use this method: **NO** @@ -28,13 +28,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_TermsOfServiceUpdate = $MadelineProto->help->getTermsOfServiceUpdate(); +$help.TermsOfServiceUpdate = $MadelineProto->help->getTermsOfServiceUpdate(); ``` Or, if you're into Lua: ```lua -help_TermsOfServiceUpdate = help.getTermsOfServiceUpdate({}) +help.TermsOfServiceUpdate = help.getTermsOfServiceUpdate({}) ``` ### Errors diff --git a/old_docs/API_docs_v97/methods/help.getUserInfo.md b/old_docs/API_docs_v97/methods/help.getUserInfo.md index 353429d6..27b65cf7 100644 --- a/old_docs/API_docs_v97/methods/help.getUserInfo.md +++ b/old_docs/API_docs_v97/methods/help.getUserInfo.md @@ -16,7 +16,7 @@ Internal use |user\_id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | User ID | Optional| -### Return type: [help\_UserInfo](../types/help_UserInfo.md) +### Return type: [help.UserInfo](../types/help.UserInfo.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$help_UserInfo = $MadelineProto->help->getUserInfo(['user_id' => InputUser, ]); +$help.UserInfo = $MadelineProto->help->getUserInfo(['user_id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -help_UserInfo = help.getUserInfo({user_id=InputUser, }) +help.UserInfo = help.getUserInfo({user_id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v97/methods/messages.deleteHistory.md b/old_docs/API_docs_v97/methods/messages.deleteHistory.md index 53ebf056..1d7be654 100644 --- a/old_docs/API_docs_v97/methods/messages.deleteHistory.md +++ b/old_docs/API_docs_v97/methods/messages.deleteHistory.md @@ -19,7 +19,7 @@ Deletes communication history. |max\_id|[int](../types/int.md) | Maximum ID of message to delete | Yes| -### Return type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) +### Return type: [messages.AffectedHistory](../types/messages.AffectedHistory.md) ### Can bots use this method: **NO** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedHistory = $MadelineProto->messages->deleteHistory(['just_clear' => Bool, 'revoke' => Bool, 'peer' => InputPeer, 'max_id' => int, ]); +$messages.AffectedHistory = $MadelineProto->messages->deleteHistory(['just_clear' => Bool, 'revoke' => Bool, 'peer' => InputPeer, 'max_id' => int, ]); ``` Or, if you're into Lua: ```lua -messages_AffectedHistory = messages.deleteHistory({just_clear=Bool, revoke=Bool, peer=InputPeer, max_id=int, }) +messages.AffectedHistory = messages.deleteHistory({just_clear=Bool, revoke=Bool, peer=InputPeer, max_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v97/methods/messages.deleteMessages.md b/old_docs/API_docs_v97/methods/messages.deleteMessages.md index ade04cae..ade96e60 100644 --- a/old_docs/API_docs_v97/methods/messages.deleteMessages.md +++ b/old_docs/API_docs_v97/methods/messages.deleteMessages.md @@ -17,7 +17,7 @@ Deletes messages by their identifiers. |id|Array of [int](../types/int.md) | IDs of messages to delete, use channels->deleteMessages for supergroups | Yes| -### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) +### Return type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedMessages = $MadelineProto->messages->deleteMessages(['revoke' => Bool, 'id' => [int, int], ]); +$messages.AffectedMessages = $MadelineProto->messages->deleteMessages(['revoke' => Bool, 'id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AffectedMessages = messages.deleteMessages({revoke=Bool, id={int}, }) +messages.AffectedMessages = messages.deleteMessages({revoke=Bool, id={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v97/methods/messages.getAllChats.md b/old_docs/API_docs_v97/methods/messages.getAllChats.md index cdcc5430..97cc4817 100644 --- a/old_docs/API_docs_v97/methods/messages.getAllChats.md +++ b/old_docs/API_docs_v97/methods/messages.getAllChats.md @@ -16,7 +16,7 @@ Get all chats, channels and supergroups |except\_ids|Array of [int](../types/int.md) | Do not fetch these chats (MTProto id) | Yes| -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->messages->getAllChats(['except_ids' => [int, int], ]); +$messages.Chats = $MadelineProto->messages->getAllChats(['except_ids' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Chats = messages.getAllChats({except_ids={int}, }) +messages.Chats = messages.getAllChats({except_ids={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v97/methods/messages.getAllStickers.md b/old_docs/API_docs_v97/methods/messages.getAllStickers.md index 329b70be..0f0de7f1 100644 --- a/old_docs/API_docs_v97/methods/messages.getAllStickers.md +++ b/old_docs/API_docs_v97/methods/messages.getAllStickers.md @@ -16,7 +16,7 @@ Get all installed stickers |hash|Array of [int](../types/int.md) | The hash parameter of the previous result of this method | Optional| -### Return type: [messages\_AllStickers](../types/messages_AllStickers.md) +### Return type: [messages.AllStickers](../types/messages.AllStickers.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AllStickers = $MadelineProto->messages->getAllStickers(['hash' => [int, int], ]); +$messages.AllStickers = $MadelineProto->messages->getAllStickers(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AllStickers = messages.getAllStickers({hash={int}, }) +messages.AllStickers = messages.getAllStickers({hash={int}, }) ``` diff --git a/old_docs/API_docs_v97/methods/messages.getArchivedStickers.md b/old_docs/API_docs_v97/methods/messages.getArchivedStickers.md index d3abe9fc..c108376e 100644 --- a/old_docs/API_docs_v97/methods/messages.getArchivedStickers.md +++ b/old_docs/API_docs_v97/methods/messages.getArchivedStickers.md @@ -18,7 +18,7 @@ Get all archived stickers |limit|[int](../types/int.md) | Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_ArchivedStickers](../types/messages_ArchivedStickers.md) +### Return type: [messages.ArchivedStickers](../types/messages.ArchivedStickers.md) ### Can bots use this method: **NO** @@ -35,12 +35,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_ArchivedStickers = $MadelineProto->messages->getArchivedStickers(['masks' => Bool, 'offset_id' => long, 'limit' => int, ]); +$messages.ArchivedStickers = $MadelineProto->messages->getArchivedStickers(['masks' => Bool, 'offset_id' => long, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -messages_ArchivedStickers = messages.getArchivedStickers({masks=Bool, offset_id=long, limit=int, }) +messages.ArchivedStickers = messages.getArchivedStickers({masks=Bool, offset_id=long, limit=int, }) ``` diff --git a/old_docs/API_docs_v97/methods/messages.getBotCallbackAnswer.md b/old_docs/API_docs_v97/methods/messages.getBotCallbackAnswer.md index 015fc46b..10072386 100644 --- a/old_docs/API_docs_v97/methods/messages.getBotCallbackAnswer.md +++ b/old_docs/API_docs_v97/methods/messages.getBotCallbackAnswer.md @@ -19,7 +19,7 @@ Press an inline callback button and get a callback answer from the bot |data|[bytes](../types/bytes.md) | Callback data | Optional| -### Return type: [messages\_BotCallbackAnswer](../types/messages_BotCallbackAnswer.md) +### Return type: [messages.BotCallbackAnswer](../types/messages.BotCallbackAnswer.md) ### Can bots use this method: **NO** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_BotCallbackAnswer = $MadelineProto->messages->getBotCallbackAnswer(['game' => Bool, 'peer' => InputPeer, 'msg_id' => int, 'data' => 'bytes', ]); +$messages.BotCallbackAnswer = $MadelineProto->messages->getBotCallbackAnswer(['game' => Bool, 'peer' => InputPeer, 'msg_id' => int, 'data' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -messages_BotCallbackAnswer = messages.getBotCallbackAnswer({game=Bool, peer=InputPeer, msg_id=int, data='bytes', }) +messages.BotCallbackAnswer = messages.getBotCallbackAnswer({game=Bool, peer=InputPeer, msg_id=int, data='bytes', }) ``` ### Errors diff --git a/old_docs/API_docs_v97/methods/messages.getChats.md b/old_docs/API_docs_v97/methods/messages.getChats.md index c34b0488..146341f5 100644 --- a/old_docs/API_docs_v97/methods/messages.getChats.md +++ b/old_docs/API_docs_v97/methods/messages.getChats.md @@ -16,7 +16,7 @@ Returns chat basic info on their IDs. |id|Array of [int](../types/int.md) | The MTProto IDs of chats to fetch info about | Yes| -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->messages->getChats(['id' => [int, int], ]); +$messages.Chats = $MadelineProto->messages->getChats(['id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Chats = messages.getChats({id={int}, }) +messages.Chats = messages.getChats({id={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v97/methods/messages.getCommonChats.md b/old_docs/API_docs_v97/methods/messages.getCommonChats.md index fc7b2363..56a3ec01 100644 --- a/old_docs/API_docs_v97/methods/messages.getCommonChats.md +++ b/old_docs/API_docs_v97/methods/messages.getCommonChats.md @@ -18,7 +18,7 @@ Get chats in common with a user |limit|[int](../types/int.md) | Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_Chats](../types/messages_Chats.md) +### Return type: [messages.Chats](../types/messages.Chats.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Chats = $MadelineProto->messages->getCommonChats(['user_id' => InputUser, 'max_id' => int, 'limit' => int, ]); +$messages.Chats = $MadelineProto->messages->getCommonChats(['user_id' => InputUser, 'max_id' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Chats = messages.getCommonChats({user_id=InputUser, max_id=int, limit=int, }) +messages.Chats = messages.getCommonChats({user_id=InputUser, max_id=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v97/methods/messages.getDhConfig.md b/old_docs/API_docs_v97/methods/messages.getDhConfig.md index 88ea4ab3..7b9da566 100644 --- a/old_docs/API_docs_v97/methods/messages.getDhConfig.md +++ b/old_docs/API_docs_v97/methods/messages.getDhConfig.md @@ -17,7 +17,7 @@ You cannot use this method directly, instead use $MadelineProto->getDhConfig(); |random\_length|[int](../types/int.md) | You cannot use this method directly, instead use $MadelineProto->getDhConfig(); | Yes| -### Return type: [messages\_DhConfig](../types/messages_DhConfig.md) +### Return type: [messages.DhConfig](../types/messages.DhConfig.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_DhConfig = $MadelineProto->messages->getDhConfig(['version' => int, 'random_length' => int, ]); +$messages.DhConfig = $MadelineProto->messages->getDhConfig(['version' => int, 'random_length' => int, ]); ``` Or, if you're into Lua: ```lua -messages_DhConfig = messages.getDhConfig({version=int, random_length=int, }) +messages.DhConfig = messages.getDhConfig({version=int, random_length=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v97/methods/messages.getDialogs.md b/old_docs/API_docs_v97/methods/messages.getDialogs.md index 9871d8e6..7ceff940 100644 --- a/old_docs/API_docs_v97/methods/messages.getDialogs.md +++ b/old_docs/API_docs_v97/methods/messages.getDialogs.md @@ -21,7 +21,7 @@ Returns the current user dialog list. |hash|Array of [int](../types/int.md) | IDs of previously fetched dialogs | Optional| -### Return type: [messages\_Dialogs](../types/messages_Dialogs.md) +### Return type: [messages.Dialogs](../types/messages.Dialogs.md) ### Can bots use this method: **NO** @@ -38,13 +38,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Dialogs = $MadelineProto->messages->getDialogs(['exclude_pinned' => Bool, 'offset_date' => int, 'offset_id' => int, 'offset_peer' => InputPeer, 'limit' => int, 'hash' => [int, int], ]); +$messages.Dialogs = $MadelineProto->messages->getDialogs(['exclude_pinned' => Bool, 'offset_date' => int, 'offset_id' => int, 'offset_peer' => InputPeer, 'limit' => int, 'hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Dialogs = messages.getDialogs({exclude_pinned=Bool, offset_date=int, offset_id=int, offset_peer=InputPeer, limit=int, hash={int}, }) +messages.Dialogs = messages.getDialogs({exclude_pinned=Bool, offset_date=int, offset_id=int, offset_peer=InputPeer, limit=int, hash={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v97/methods/messages.getFavedStickers.md b/old_docs/API_docs_v97/methods/messages.getFavedStickers.md index 3ba077ef..19f64e43 100644 --- a/old_docs/API_docs_v97/methods/messages.getFavedStickers.md +++ b/old_docs/API_docs_v97/methods/messages.getFavedStickers.md @@ -16,7 +16,7 @@ Get faved stickers |hash|Array of [int](../types/int.md) | the hash parameter of the previous result of this method | Optional| -### Return type: [messages\_FavedStickers](../types/messages_FavedStickers.md) +### Return type: [messages.FavedStickers](../types/messages.FavedStickers.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_FavedStickers = $MadelineProto->messages->getFavedStickers(['hash' => [int, int], ]); +$messages.FavedStickers = $MadelineProto->messages->getFavedStickers(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_FavedStickers = messages.getFavedStickers({hash={int}, }) +messages.FavedStickers = messages.getFavedStickers({hash={int}, }) ``` diff --git a/old_docs/API_docs_v97/methods/messages.getFeaturedStickers.md b/old_docs/API_docs_v97/methods/messages.getFeaturedStickers.md index 8f2634c3..2d65d626 100644 --- a/old_docs/API_docs_v97/methods/messages.getFeaturedStickers.md +++ b/old_docs/API_docs_v97/methods/messages.getFeaturedStickers.md @@ -16,7 +16,7 @@ Get featured stickers |hash|Array of [int](../types/int.md) | the hash parameter of the previous result of this method | Optional| -### Return type: [messages\_FeaturedStickers](../types/messages_FeaturedStickers.md) +### Return type: [messages.FeaturedStickers](../types/messages.FeaturedStickers.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_FeaturedStickers = $MadelineProto->messages->getFeaturedStickers(['hash' => [int, int], ]); +$messages.FeaturedStickers = $MadelineProto->messages->getFeaturedStickers(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_FeaturedStickers = messages.getFeaturedStickers({hash={int}, }) +messages.FeaturedStickers = messages.getFeaturedStickers({hash={int}, }) ``` diff --git a/old_docs/API_docs_v97/methods/messages.getFullChat.md b/old_docs/API_docs_v97/methods/messages.getFullChat.md index abf23e21..de543651 100644 --- a/old_docs/API_docs_v97/methods/messages.getFullChat.md +++ b/old_docs/API_docs_v97/methods/messages.getFullChat.md @@ -16,7 +16,7 @@ You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo me |chat\_id|[Username, chat ID, Update, Message or InputPeer](../types/InputPeer.md) | You cannot use this method directly, use the getPwrChat, getInfo, getFullInfo methods instead (see https://docs.madelineproto.xyz for more info) | Optional| -### Return type: [messages\_ChatFull](../types/messages_ChatFull.md) +### Return type: [messages.ChatFull](../types/messages.ChatFull.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_ChatFull = $MadelineProto->messages->getFullChat(['chat_id' => InputPeer, ]); +$messages.ChatFull = $MadelineProto->messages->getFullChat(['chat_id' => InputPeer, ]); ``` Or, if you're into Lua: ```lua -messages_ChatFull = messages.getFullChat({chat_id=InputPeer, }) +messages.ChatFull = messages.getFullChat({chat_id=InputPeer, }) ``` ### Errors diff --git a/old_docs/API_docs_v97/methods/messages.getGameHighScores.md b/old_docs/API_docs_v97/methods/messages.getGameHighScores.md index 0ee9d754..6e4dacb2 100644 --- a/old_docs/API_docs_v97/methods/messages.getGameHighScores.md +++ b/old_docs/API_docs_v97/methods/messages.getGameHighScores.md @@ -18,7 +18,7 @@ Get highscores of a game |user\_id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | Get high scores made by a certain user | Optional| -### Return type: [messages\_HighScores](../types/messages_HighScores.md) +### Return type: [messages.HighScores](../types/messages.HighScores.md) ### Can bots use this method: **YES** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_HighScores = $MadelineProto->messages->getGameHighScores(['peer' => InputPeer, 'id' => int, 'user_id' => InputUser, ]); +$messages.HighScores = $MadelineProto->messages->getGameHighScores(['peer' => InputPeer, 'id' => int, 'user_id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -messages_HighScores = messages.getGameHighScores({peer=InputPeer, id=int, user_id=InputUser, }) +messages.HighScores = messages.getGameHighScores({peer=InputPeer, id=int, user_id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v97/methods/messages.getHistory.md b/old_docs/API_docs_v97/methods/messages.getHistory.md index 9a3d5f8c..c7bd9850 100644 --- a/old_docs/API_docs_v97/methods/messages.getHistory.md +++ b/old_docs/API_docs_v97/methods/messages.getHistory.md @@ -23,7 +23,7 @@ Gets back the conversation history with one interlocutor / within a chat |hash|Array of [int](../types/int.md) | IDs of messages you already fetched | Optional| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **NO** @@ -40,13 +40,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->getHistory(['peer' => InputPeer, 'offset_id' => int, 'offset_date' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, 'hash' => [int, int], ]); +$messages.Messages = $MadelineProto->messages->getHistory(['peer' => InputPeer, 'offset_id' => int, 'offset_date' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, 'hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.getHistory({peer=InputPeer, offset_id=int, offset_date=int, add_offset=int, limit=int, max_id=int, min_id=int, hash={int}, }) +messages.Messages = messages.getHistory({peer=InputPeer, offset_id=int, offset_date=int, add_offset=int, limit=int, max_id=int, min_id=int, hash={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v97/methods/messages.getInlineBotResults.md b/old_docs/API_docs_v97/methods/messages.getInlineBotResults.md index ac251797..8a397236 100644 --- a/old_docs/API_docs_v97/methods/messages.getInlineBotResults.md +++ b/old_docs/API_docs_v97/methods/messages.getInlineBotResults.md @@ -20,7 +20,7 @@ Query an inline bot |offset|[string](../types/string.md) | The offset within the results, will be passed directly as-is to the bot. | Yes| -### Return type: [messages\_BotResults](../types/messages_BotResults.md) +### Return type: [messages.BotResults](../types/messages.BotResults.md) ### Can bots use this method: **NO** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_BotResults = $MadelineProto->messages->getInlineBotResults(['bot' => InputUser, 'peer' => InputPeer, 'geo_point' => InputGeoPoint, 'query' => 'string', 'offset' => 'string', ]); +$messages.BotResults = $MadelineProto->messages->getInlineBotResults(['bot' => InputUser, 'peer' => InputPeer, 'geo_point' => InputGeoPoint, 'query' => 'string', 'offset' => 'string', ]); ``` Or, if you're into Lua: ```lua -messages_BotResults = messages.getInlineBotResults({bot=InputUser, peer=InputPeer, geo_point=InputGeoPoint, query='string', offset='string', }) +messages.BotResults = messages.getInlineBotResults({bot=InputUser, peer=InputPeer, geo_point=InputGeoPoint, query='string', offset='string', }) ``` ### Errors diff --git a/old_docs/API_docs_v97/methods/messages.getInlineGameHighScores.md b/old_docs/API_docs_v97/methods/messages.getInlineGameHighScores.md index 0d02b426..dbcb2cf6 100644 --- a/old_docs/API_docs_v97/methods/messages.getInlineGameHighScores.md +++ b/old_docs/API_docs_v97/methods/messages.getInlineGameHighScores.md @@ -17,7 +17,7 @@ Get highscores of a game sent using an inline bot |user\_id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | Get high scores of a certain user | Optional| -### Return type: [messages\_HighScores](../types/messages_HighScores.md) +### Return type: [messages.HighScores](../types/messages.HighScores.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_HighScores = $MadelineProto->messages->getInlineGameHighScores(['id' => InputBotInlineMessageID, 'user_id' => InputUser, ]); +$messages.HighScores = $MadelineProto->messages->getInlineGameHighScores(['id' => InputBotInlineMessageID, 'user_id' => InputUser, ]); ``` Or, if you're into Lua: ```lua -messages_HighScores = messages.getInlineGameHighScores({id=InputBotInlineMessageID, user_id=InputUser, }) +messages.HighScores = messages.getInlineGameHighScores({id=InputBotInlineMessageID, user_id=InputUser, }) ``` ### Errors diff --git a/old_docs/API_docs_v97/methods/messages.getMaskStickers.md b/old_docs/API_docs_v97/methods/messages.getMaskStickers.md index a09834e1..093645f6 100644 --- a/old_docs/API_docs_v97/methods/messages.getMaskStickers.md +++ b/old_docs/API_docs_v97/methods/messages.getMaskStickers.md @@ -16,7 +16,7 @@ Get installed mask stickers |hash|Array of [int](../types/int.md) | the hash parameter of the previous result of this method | Optional| -### Return type: [messages\_AllStickers](../types/messages_AllStickers.md) +### Return type: [messages.AllStickers](../types/messages.AllStickers.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AllStickers = $MadelineProto->messages->getMaskStickers(['hash' => [int, int], ]); +$messages.AllStickers = $MadelineProto->messages->getMaskStickers(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AllStickers = messages.getMaskStickers({hash={int}, }) +messages.AllStickers = messages.getMaskStickers({hash={int}, }) ``` diff --git a/old_docs/API_docs_v97/methods/messages.getMessageEditData.md b/old_docs/API_docs_v97/methods/messages.getMessageEditData.md index 1a083f08..7fd32e82 100644 --- a/old_docs/API_docs_v97/methods/messages.getMessageEditData.md +++ b/old_docs/API_docs_v97/methods/messages.getMessageEditData.md @@ -17,7 +17,7 @@ Find out if a media message's caption can be edited |id|[int](../types/int.md) | ID of message | Yes| -### Return type: [messages\_MessageEditData](../types/messages_MessageEditData.md) +### Return type: [messages.MessageEditData](../types/messages.MessageEditData.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_MessageEditData = $MadelineProto->messages->getMessageEditData(['peer' => InputPeer, 'id' => int, ]); +$messages.MessageEditData = $MadelineProto->messages->getMessageEditData(['peer' => InputPeer, 'id' => int, ]); ``` Or, if you're into Lua: ```lua -messages_MessageEditData = messages.getMessageEditData({peer=InputPeer, id=int, }) +messages.MessageEditData = messages.getMessageEditData({peer=InputPeer, id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v97/methods/messages.getMessages.md b/old_docs/API_docs_v97/methods/messages.getMessages.md index eb5ef6a6..0aed788d 100644 --- a/old_docs/API_docs_v97/methods/messages.getMessages.md +++ b/old_docs/API_docs_v97/methods/messages.getMessages.md @@ -16,7 +16,7 @@ Returns the list of messages by their IDs. |id|Array of [Message ID or InputMessage](../types/InputMessage.md) | The IDs of messages to fetch (only for users and normal groups) | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **YES** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->getMessages(['id' => [InputMessage, InputMessage], ]); +$messages.Messages = $MadelineProto->messages->getMessages(['id' => [InputMessage, InputMessage], ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.getMessages({id={InputMessage}, }) +messages.Messages = messages.getMessages({id={InputMessage}, }) ``` diff --git a/old_docs/API_docs_v97/methods/messages.getPeerDialogs.md b/old_docs/API_docs_v97/methods/messages.getPeerDialogs.md index 2ab5d661..1ec67e6a 100644 --- a/old_docs/API_docs_v97/methods/messages.getPeerDialogs.md +++ b/old_docs/API_docs_v97/methods/messages.getPeerDialogs.md @@ -16,7 +16,7 @@ Get dialog info of specified peers |peers|Array of [Username, chat ID, Update, Message or InputDialogPeer](../types/InputDialogPeer.md) | The peers | Yes| -### Return type: [messages\_PeerDialogs](../types/messages_PeerDialogs.md) +### Return type: [messages.PeerDialogs](../types/messages.PeerDialogs.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_PeerDialogs = $MadelineProto->messages->getPeerDialogs(['peers' => [InputDialogPeer, InputDialogPeer], ]); +$messages.PeerDialogs = $MadelineProto->messages->getPeerDialogs(['peers' => [InputDialogPeer, InputDialogPeer], ]); ``` Or, if you're into Lua: ```lua -messages_PeerDialogs = messages.getPeerDialogs({peers={InputDialogPeer}, }) +messages.PeerDialogs = messages.getPeerDialogs({peers={InputDialogPeer}, }) ``` ### Errors diff --git a/old_docs/API_docs_v97/methods/messages.getPinnedDialogs.md b/old_docs/API_docs_v97/methods/messages.getPinnedDialogs.md index f106098d..161075f2 100644 --- a/old_docs/API_docs_v97/methods/messages.getPinnedDialogs.md +++ b/old_docs/API_docs_v97/methods/messages.getPinnedDialogs.md @@ -11,7 +11,7 @@ Get pinned dialogs -### Return type: [messages\_PeerDialogs](../types/messages_PeerDialogs.md) +### Return type: [messages.PeerDialogs](../types/messages.PeerDialogs.md) ### Can bots use this method: **NO** @@ -28,13 +28,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_PeerDialogs = $MadelineProto->messages->getPinnedDialogs(); +$messages.PeerDialogs = $MadelineProto->messages->getPinnedDialogs(); ``` Or, if you're into Lua: ```lua -messages_PeerDialogs = messages.getPinnedDialogs({}) +messages.PeerDialogs = messages.getPinnedDialogs({}) ``` ### Errors diff --git a/old_docs/API_docs_v97/methods/messages.getRecentLocations.md b/old_docs/API_docs_v97/methods/messages.getRecentLocations.md index 40ec1285..4efeb49c 100644 --- a/old_docs/API_docs_v97/methods/messages.getRecentLocations.md +++ b/old_docs/API_docs_v97/methods/messages.getRecentLocations.md @@ -18,7 +18,7 @@ Get live location history of a certain user |hash|Array of [int](../types/int.md) | IDs of locations you already fetched | Optional| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **NO** @@ -35,12 +35,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->getRecentLocations(['peer' => InputPeer, 'limit' => int, 'hash' => [int, int], ]); +$messages.Messages = $MadelineProto->messages->getRecentLocations(['peer' => InputPeer, 'limit' => int, 'hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.getRecentLocations({peer=InputPeer, limit=int, hash={int}, }) +messages.Messages = messages.getRecentLocations({peer=InputPeer, limit=int, hash={int}, }) ``` diff --git a/old_docs/API_docs_v97/methods/messages.getRecentStickers.md b/old_docs/API_docs_v97/methods/messages.getRecentStickers.md index 28a70889..39cef16a 100644 --- a/old_docs/API_docs_v97/methods/messages.getRecentStickers.md +++ b/old_docs/API_docs_v97/methods/messages.getRecentStickers.md @@ -17,7 +17,7 @@ Get recent stickers |hash|Array of [int](../types/int.md) | IDs the hash parameter of the previous result of this method | Optional| -### Return type: [messages\_RecentStickers](../types/messages_RecentStickers.md) +### Return type: [messages.RecentStickers](../types/messages.RecentStickers.md) ### Can bots use this method: **NO** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_RecentStickers = $MadelineProto->messages->getRecentStickers(['attached' => Bool, 'hash' => [int, int], ]); +$messages.RecentStickers = $MadelineProto->messages->getRecentStickers(['attached' => Bool, 'hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_RecentStickers = messages.getRecentStickers({attached=Bool, hash={int}, }) +messages.RecentStickers = messages.getRecentStickers({attached=Bool, hash={int}, }) ``` diff --git a/old_docs/API_docs_v97/methods/messages.getSavedGifs.md b/old_docs/API_docs_v97/methods/messages.getSavedGifs.md index 1df7f37c..8b31f7b8 100644 --- a/old_docs/API_docs_v97/methods/messages.getSavedGifs.md +++ b/old_docs/API_docs_v97/methods/messages.getSavedGifs.md @@ -16,7 +16,7 @@ Get saved GIFs |hash|Array of [int](../types/int.md) | the hash parameter of the previous result of this method | Optional| -### Return type: [messages\_SavedGifs](../types/messages_SavedGifs.md) +### Return type: [messages.SavedGifs](../types/messages.SavedGifs.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_SavedGifs = $MadelineProto->messages->getSavedGifs(['hash' => [int, int], ]); +$messages.SavedGifs = $MadelineProto->messages->getSavedGifs(['hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_SavedGifs = messages.getSavedGifs({hash={int}, }) +messages.SavedGifs = messages.getSavedGifs({hash={int}, }) ``` diff --git a/old_docs/API_docs_v97/methods/messages.getStickerSet.md b/old_docs/API_docs_v97/methods/messages.getStickerSet.md index 45fca60f..f11887ee 100644 --- a/old_docs/API_docs_v97/methods/messages.getStickerSet.md +++ b/old_docs/API_docs_v97/methods/messages.getStickerSet.md @@ -16,7 +16,7 @@ Get info about a stickerset |stickerset|[InputStickerSet](../types/InputStickerSet.md) | Stickerset | Optional| -### Return type: [messages\_StickerSet](../types/messages_StickerSet.md) +### Return type: [messages.StickerSet](../types/messages.StickerSet.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StickerSet = $MadelineProto->messages->getStickerSet(['stickerset' => InputStickerSet, ]); +$messages.StickerSet = $MadelineProto->messages->getStickerSet(['stickerset' => InputStickerSet, ]); ``` Or, if you're into Lua: ```lua -messages_StickerSet = messages.getStickerSet({stickerset=InputStickerSet, }) +messages.StickerSet = messages.getStickerSet({stickerset=InputStickerSet, }) ``` ### Errors diff --git a/old_docs/API_docs_v97/methods/messages.getStickers.md b/old_docs/API_docs_v97/methods/messages.getStickers.md index 4f8b7598..ff99fbd2 100644 --- a/old_docs/API_docs_v97/methods/messages.getStickers.md +++ b/old_docs/API_docs_v97/methods/messages.getStickers.md @@ -17,7 +17,7 @@ Get stickers by emoji |hash|Array of [int](../types/int.md) | the hash parameter of the previous result of this method | Optional| -### Return type: [messages\_Stickers](../types/messages_Stickers.md) +### Return type: [messages.Stickers](../types/messages.Stickers.md) ### Can bots use this method: **NO** @@ -34,12 +34,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Stickers = $MadelineProto->messages->getStickers(['emoticon' => 'string', 'hash' => [int, int], ]); +$messages.Stickers = $MadelineProto->messages->getStickers(['emoticon' => 'string', 'hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Stickers = messages.getStickers({emoticon='string', hash={int}, }) +messages.Stickers = messages.getStickers({emoticon='string', hash={int}, }) ``` diff --git a/old_docs/API_docs_v97/methods/messages.getUnreadMentions.md b/old_docs/API_docs_v97/methods/messages.getUnreadMentions.md index 33bba261..679ed841 100644 --- a/old_docs/API_docs_v97/methods/messages.getUnreadMentions.md +++ b/old_docs/API_docs_v97/methods/messages.getUnreadMentions.md @@ -21,7 +21,7 @@ Get unread messages where we were mentioned |min\_id|[int](../types/int.md) | Minimum message ID to return, [see pagination](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **NO** @@ -38,13 +38,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->getUnreadMentions(['peer' => InputPeer, 'offset_id' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); +$messages.Messages = $MadelineProto->messages->getUnreadMentions(['peer' => InputPeer, 'offset_id' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.getUnreadMentions({peer=InputPeer, offset_id=int, add_offset=int, limit=int, max_id=int, min_id=int, }) +messages.Messages = messages.getUnreadMentions({peer=InputPeer, offset_id=int, add_offset=int, limit=int, max_id=int, min_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v97/methods/messages.installStickerSet.md b/old_docs/API_docs_v97/methods/messages.installStickerSet.md index 1a95ca0b..83ce2121 100644 --- a/old_docs/API_docs_v97/methods/messages.installStickerSet.md +++ b/old_docs/API_docs_v97/methods/messages.installStickerSet.md @@ -17,7 +17,7 @@ Install a stickerset |archived|[Bool](../types/Bool.md) | Whether to archive stickerset | Yes| -### Return type: [messages\_StickerSetInstallResult](../types/messages_StickerSetInstallResult.md) +### Return type: [messages.StickerSetInstallResult](../types/messages.StickerSetInstallResult.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StickerSetInstallResult = $MadelineProto->messages->installStickerSet(['stickerset' => InputStickerSet, 'archived' => Bool, ]); +$messages.StickerSetInstallResult = $MadelineProto->messages->installStickerSet(['stickerset' => InputStickerSet, 'archived' => Bool, ]); ``` Or, if you're into Lua: ```lua -messages_StickerSetInstallResult = messages.installStickerSet({stickerset=InputStickerSet, archived=Bool, }) +messages.StickerSetInstallResult = messages.installStickerSet({stickerset=InputStickerSet, archived=Bool, }) ``` ### Errors diff --git a/old_docs/API_docs_v97/methods/messages.readHistory.md b/old_docs/API_docs_v97/methods/messages.readHistory.md index 39753375..52030c68 100644 --- a/old_docs/API_docs_v97/methods/messages.readHistory.md +++ b/old_docs/API_docs_v97/methods/messages.readHistory.md @@ -17,7 +17,7 @@ Marks message history as read. |max\_id|[int](../types/int.md) | If a positive value is passed, only messages with identifiers less or equal than the given one will be read | Yes| -### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) +### Return type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedMessages = $MadelineProto->messages->readHistory(['peer' => InputPeer, 'max_id' => int, ]); +$messages.AffectedMessages = $MadelineProto->messages->readHistory(['peer' => InputPeer, 'max_id' => int, ]); ``` Or, if you're into Lua: ```lua -messages_AffectedMessages = messages.readHistory({peer=InputPeer, max_id=int, }) +messages.AffectedMessages = messages.readHistory({peer=InputPeer, max_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v97/methods/messages.readMentions.md b/old_docs/API_docs_v97/methods/messages.readMentions.md index 9b73851d..c8c94f00 100644 --- a/old_docs/API_docs_v97/methods/messages.readMentions.md +++ b/old_docs/API_docs_v97/methods/messages.readMentions.md @@ -16,7 +16,7 @@ Mark mentions as read |peer|[Username, chat ID, Update, Message or InputPeer](../types/InputPeer.md) | Dialog | Optional| -### Return type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) +### Return type: [messages.AffectedHistory](../types/messages.AffectedHistory.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedHistory = $MadelineProto->messages->readMentions(['peer' => InputPeer, ]); +$messages.AffectedHistory = $MadelineProto->messages->readMentions(['peer' => InputPeer, ]); ``` Or, if you're into Lua: ```lua -messages_AffectedHistory = messages.readMentions({peer=InputPeer, }) +messages.AffectedHistory = messages.readMentions({peer=InputPeer, }) ``` diff --git a/old_docs/API_docs_v97/methods/messages.readMessageContents.md b/old_docs/API_docs_v97/methods/messages.readMessageContents.md index c479cafe..9798e661 100644 --- a/old_docs/API_docs_v97/methods/messages.readMessageContents.md +++ b/old_docs/API_docs_v97/methods/messages.readMessageContents.md @@ -16,7 +16,7 @@ Notifies the sender about the recipient having listened a voice message or watch |id|Array of [int](../types/int.md) | The messages to mark as read (only users and normal chats, not supergroups) | Yes| -### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) +### Return type: [messages.AffectedMessages](../types/messages.AffectedMessages.md) ### Can bots use this method: **NO** @@ -33,12 +33,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_AffectedMessages = $MadelineProto->messages->readMessageContents(['id' => [int, int], ]); +$messages.AffectedMessages = $MadelineProto->messages->readMessageContents(['id' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_AffectedMessages = messages.readMessageContents({id={int}, }) +messages.AffectedMessages = messages.readMessageContents({id={int}, }) ``` diff --git a/old_docs/API_docs_v97/methods/messages.search.md b/old_docs/API_docs_v97/methods/messages.search.md index 75c21af0..b8125fb6 100644 --- a/old_docs/API_docs_v97/methods/messages.search.md +++ b/old_docs/API_docs_v97/methods/messages.search.md @@ -27,7 +27,7 @@ Gets back found messages |hash|Array of [int](../types/int.md) | The IDs of messages you already fetched | Optional| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **NO** @@ -44,13 +44,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->search(['peer' => InputPeer, 'q' => 'string', 'from_id' => InputUser, 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset_id' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, 'hash' => [int, int], ]); +$messages.Messages = $MadelineProto->messages->search(['peer' => InputPeer, 'q' => 'string', 'from_id' => InputUser, 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset_id' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, 'hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.search({peer=InputPeer, q='string', from_id=InputUser, filter=MessagesFilter, min_date=int, max_date=int, offset_id=int, add_offset=int, limit=int, max_id=int, min_id=int, hash={int}, }) +messages.Messages = messages.search({peer=InputPeer, q='string', from_id=InputUser, filter=MessagesFilter, min_date=int, max_date=int, offset_id=int, add_offset=int, limit=int, max_id=int, min_id=int, hash={int}, }) ``` ### Errors diff --git a/old_docs/API_docs_v97/methods/messages.searchGifs.md b/old_docs/API_docs_v97/methods/messages.searchGifs.md index 851371d7..193a0cd4 100644 --- a/old_docs/API_docs_v97/methods/messages.searchGifs.md +++ b/old_docs/API_docs_v97/methods/messages.searchGifs.md @@ -17,7 +17,7 @@ Search for GIFs |offset|[int](../types/int.md) | Offset for [pagination »](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_FoundGifs](../types/messages_FoundGifs.md) +### Return type: [messages.FoundGifs](../types/messages.FoundGifs.md) ### Can bots use this method: **NO** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_FoundGifs = $MadelineProto->messages->searchGifs(['q' => 'string', 'offset' => int, ]); +$messages.FoundGifs = $MadelineProto->messages->searchGifs(['q' => 'string', 'offset' => int, ]); ``` Or, if you're into Lua: ```lua -messages_FoundGifs = messages.searchGifs({q='string', offset=int, }) +messages.FoundGifs = messages.searchGifs({q='string', offset=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v97/methods/messages.searchGlobal.md b/old_docs/API_docs_v97/methods/messages.searchGlobal.md index 4bd59f25..1a3b736d 100644 --- a/old_docs/API_docs_v97/methods/messages.searchGlobal.md +++ b/old_docs/API_docs_v97/methods/messages.searchGlobal.md @@ -20,7 +20,7 @@ Search for messages and peers globally |limit|[int](../types/int.md) | [Offsets for pagination, for more info click here](https://core.telegram.org/api/offsets) | Yes| -### Return type: [messages\_Messages](../types/messages_Messages.md) +### Return type: [messages.Messages](../types/messages.Messages.md) ### Can bots use this method: **NO** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_Messages = $MadelineProto->messages->searchGlobal(['q' => 'string', 'offset_date' => int, 'offset_peer' => InputPeer, 'offset_id' => int, 'limit' => int, ]); +$messages.Messages = $MadelineProto->messages->searchGlobal(['q' => 'string', 'offset_date' => int, 'offset_peer' => InputPeer, 'offset_id' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -messages_Messages = messages.searchGlobal({q='string', offset_date=int, offset_peer=InputPeer, offset_id=int, limit=int, }) +messages.Messages = messages.searchGlobal({q='string', offset_date=int, offset_peer=InputPeer, offset_id=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v97/methods/messages.searchStickerSets.md b/old_docs/API_docs_v97/methods/messages.searchStickerSets.md index 1759fbc0..a8924f3d 100644 --- a/old_docs/API_docs_v97/methods/messages.searchStickerSets.md +++ b/old_docs/API_docs_v97/methods/messages.searchStickerSets.md @@ -18,7 +18,7 @@ Search for stickersets |hash|Array of [int](../types/int.md) | The IDs of stickersets you already fetched | Optional| -### Return type: [messages\_FoundStickerSets](../types/messages_FoundStickerSets.md) +### Return type: [messages.FoundStickerSets](../types/messages.FoundStickerSets.md) ### Can bots use this method: **NO** @@ -35,12 +35,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_FoundStickerSets = $MadelineProto->messages->searchStickerSets(['exclude_featured' => Bool, 'q' => 'string', 'hash' => [int, int], ]); +$messages.FoundStickerSets = $MadelineProto->messages->searchStickerSets(['exclude_featured' => Bool, 'q' => 'string', 'hash' => [int, int], ]); ``` Or, if you're into Lua: ```lua -messages_FoundStickerSets = messages.searchStickerSets({exclude_featured=Bool, q='string', hash={int}, }) +messages.FoundStickerSets = messages.searchStickerSets({exclude_featured=Bool, q='string', hash={int}, }) ``` diff --git a/old_docs/API_docs_v97/methods/messages.sendEncrypted.md b/old_docs/API_docs_v97/methods/messages.sendEncrypted.md index 47b5ef29..6a68b563 100644 --- a/old_docs/API_docs_v97/methods/messages.sendEncrypted.md +++ b/old_docs/API_docs_v97/methods/messages.sendEncrypted.md @@ -14,10 +14,10 @@ Sends a text message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|message|[DecryptedMessage](../types/DecryptedMessage.md) | The message to send | Yes| +|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key that was created during chat initialization | Yes| -### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ### Can bots use this method: **NO** @@ -34,21 +34,15 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncrypted(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); +$messages.SentEncryptedMessage = $MadelineProto->messages->sendEncrypted(['peer' => InputEncryptedChat, 'data' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -messages_SentEncryptedMessage = messages.sendEncrypted({peer=InputEncryptedChat, message=DecryptedMessage, }) +messages.SentEncryptedMessage = messages.sendEncrypted({peer=InputEncryptedChat, data='bytes', }) ``` - -## Return value - -If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) will be returned instead. - - ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v97/methods/messages.sendEncryptedFile.md b/old_docs/API_docs_v97/methods/messages.sendEncryptedFile.md index 4e0f7b7f..87185ba4 100644 --- a/old_docs/API_docs_v97/methods/messages.sendEncryptedFile.md +++ b/old_docs/API_docs_v97/methods/messages.sendEncryptedFile.md @@ -14,11 +14,11 @@ Sends a message with a file attachment to a secret chat | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|message|[DecryptedMessage](../types/DecryptedMessage.md) | The message with the file | Yes| +|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| |file|[File path or InputEncryptedFile](../types/InputEncryptedFile.md) | File attachment for the secret chat | Optional| -### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ### Can bots use this method: **NO** @@ -35,21 +35,15 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedFile(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, 'file' => InputEncryptedFile, ]); +$messages.SentEncryptedMessage = $MadelineProto->messages->sendEncryptedFile(['peer' => InputEncryptedChat, 'data' => 'bytes', 'file' => InputEncryptedFile, ]); ``` Or, if you're into Lua: ```lua -messages_SentEncryptedMessage = messages.sendEncryptedFile({peer=InputEncryptedChat, message=DecryptedMessage, file=InputEncryptedFile, }) +messages.SentEncryptedMessage = messages.sendEncryptedFile({peer=InputEncryptedChat, data='bytes', file=InputEncryptedFile, }) ``` - -## Return value - -If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) will be returned instead. - - ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v97/methods/messages.sendEncryptedService.md b/old_docs/API_docs_v97/methods/messages.sendEncryptedService.md index 86925ae3..38171272 100644 --- a/old_docs/API_docs_v97/methods/messages.sendEncryptedService.md +++ b/old_docs/API_docs_v97/methods/messages.sendEncryptedService.md @@ -14,10 +14,10 @@ Sends a service message to a secret chat. | Name | Type | Description | Required | |----------|---------------|-------------|----------| |peer|[Secret chat ID, Update, EncryptedMessage or InputEncryptedChat](../types/InputEncryptedChat.md) | Secret chat ID | Yes| -|message|[DecryptedMessage](../types/DecryptedMessage.md) | The service message | Yes| +|data|[bytes](../types/bytes.md) | TL-serialization of [DecryptedMessage](../types/DecryptedMessage.md) type, encrypted with a key generated during chat initialization | Yes| -### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) +### Return type: [messages.SentEncryptedMessage](../types/messages.SentEncryptedMessage.md) ### Can bots use this method: **NO** @@ -34,21 +34,15 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedService(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); +$messages.SentEncryptedMessage = $MadelineProto->messages->sendEncryptedService(['peer' => InputEncryptedChat, 'data' => 'bytes', ]); ``` Or, if you're into Lua: ```lua -messages_SentEncryptedMessage = messages.sendEncryptedService({peer=InputEncryptedChat, message=DecryptedMessage, }) +messages.SentEncryptedMessage = messages.sendEncryptedService({peer=InputEncryptedChat, data='bytes', }) ``` - -## Return value - -If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) will be returned instead. - - ### Errors | Code | Type | Description | diff --git a/old_docs/API_docs_v97/methods/payments.getPaymentForm.md b/old_docs/API_docs_v97/methods/payments.getPaymentForm.md index 3a171a05..da173f14 100644 --- a/old_docs/API_docs_v97/methods/payments.getPaymentForm.md +++ b/old_docs/API_docs_v97/methods/payments.getPaymentForm.md @@ -16,7 +16,7 @@ Get a payment form |msg\_id|[int](../types/int.md) | Message ID of payment form | Yes| -### Return type: [payments\_PaymentForm](../types/payments_PaymentForm.md) +### Return type: [payments.PaymentForm](../types/payments.PaymentForm.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$payments_PaymentForm = $MadelineProto->payments->getPaymentForm(['msg_id' => int, ]); +$payments.PaymentForm = $MadelineProto->payments->getPaymentForm(['msg_id' => int, ]); ``` Or, if you're into Lua: ```lua -payments_PaymentForm = payments.getPaymentForm({msg_id=int, }) +payments.PaymentForm = payments.getPaymentForm({msg_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v97/methods/payments.getPaymentReceipt.md b/old_docs/API_docs_v97/methods/payments.getPaymentReceipt.md index 46d2267c..16e41367 100644 --- a/old_docs/API_docs_v97/methods/payments.getPaymentReceipt.md +++ b/old_docs/API_docs_v97/methods/payments.getPaymentReceipt.md @@ -16,7 +16,7 @@ Get payment receipt |msg\_id|[int](../types/int.md) | Message ID of receipt | Yes| -### Return type: [payments\_PaymentReceipt](../types/payments_PaymentReceipt.md) +### Return type: [payments.PaymentReceipt](../types/payments.PaymentReceipt.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$payments_PaymentReceipt = $MadelineProto->payments->getPaymentReceipt(['msg_id' => int, ]); +$payments.PaymentReceipt = $MadelineProto->payments->getPaymentReceipt(['msg_id' => int, ]); ``` Or, if you're into Lua: ```lua -payments_PaymentReceipt = payments.getPaymentReceipt({msg_id=int, }) +payments.PaymentReceipt = payments.getPaymentReceipt({msg_id=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v97/methods/payments.getSavedInfo.md b/old_docs/API_docs_v97/methods/payments.getSavedInfo.md index dc9c9b98..fe2c16ec 100644 --- a/old_docs/API_docs_v97/methods/payments.getSavedInfo.md +++ b/old_docs/API_docs_v97/methods/payments.getSavedInfo.md @@ -11,7 +11,7 @@ Get saved payment information -### Return type: [payments\_SavedInfo](../types/payments_SavedInfo.md) +### Return type: [payments.SavedInfo](../types/payments.SavedInfo.md) ### Can bots use this method: **NO** @@ -28,12 +28,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$payments_SavedInfo = $MadelineProto->payments->getSavedInfo(); +$payments.SavedInfo = $MadelineProto->payments->getSavedInfo(); ``` Or, if you're into Lua: ```lua -payments_SavedInfo = payments.getSavedInfo({}) +payments.SavedInfo = payments.getSavedInfo({}) ``` diff --git a/old_docs/API_docs_v97/methods/payments.sendPaymentForm.md b/old_docs/API_docs_v97/methods/payments.sendPaymentForm.md index 8c478b92..de154e7f 100644 --- a/old_docs/API_docs_v97/methods/payments.sendPaymentForm.md +++ b/old_docs/API_docs_v97/methods/payments.sendPaymentForm.md @@ -19,7 +19,7 @@ Send compiled payment form |credentials|[InputPaymentCredentials](../types/InputPaymentCredentials.md) | Payment credentials | Yes| -### Return type: [payments\_PaymentResult](../types/payments_PaymentResult.md) +### Return type: [payments.PaymentResult](../types/payments.PaymentResult.md) ### Can bots use this method: **NO** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$payments_PaymentResult = $MadelineProto->payments->sendPaymentForm(['msg_id' => int, 'requested_info_id' => 'string', 'shipping_option_id' => 'string', 'credentials' => InputPaymentCredentials, ]); +$payments.PaymentResult = $MadelineProto->payments->sendPaymentForm(['msg_id' => int, 'requested_info_id' => 'string', 'shipping_option_id' => 'string', 'credentials' => InputPaymentCredentials, ]); ``` Or, if you're into Lua: ```lua -payments_PaymentResult = payments.sendPaymentForm({msg_id=int, requested_info_id='string', shipping_option_id='string', credentials=InputPaymentCredentials, }) +payments.PaymentResult = payments.sendPaymentForm({msg_id=int, requested_info_id='string', shipping_option_id='string', credentials=InputPaymentCredentials, }) ``` ### Errors diff --git a/old_docs/API_docs_v97/methods/payments.validateRequestedInfo.md b/old_docs/API_docs_v97/methods/payments.validateRequestedInfo.md index d6364a02..ce22cfe8 100644 --- a/old_docs/API_docs_v97/methods/payments.validateRequestedInfo.md +++ b/old_docs/API_docs_v97/methods/payments.validateRequestedInfo.md @@ -18,7 +18,7 @@ Submit requested order information for validation |info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Requested order information | Yes| -### Return type: [payments\_ValidatedRequestedInfo](../types/payments_ValidatedRequestedInfo.md) +### Return type: [payments.ValidatedRequestedInfo](../types/payments.ValidatedRequestedInfo.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$payments_ValidatedRequestedInfo = $MadelineProto->payments->validateRequestedInfo(['save' => Bool, 'msg_id' => int, 'info' => PaymentRequestedInfo, ]); +$payments.ValidatedRequestedInfo = $MadelineProto->payments->validateRequestedInfo(['save' => Bool, 'msg_id' => int, 'info' => PaymentRequestedInfo, ]); ``` Or, if you're into Lua: ```lua -payments_ValidatedRequestedInfo = payments.validateRequestedInfo({save=Bool, msg_id=int, info=PaymentRequestedInfo, }) +payments.ValidatedRequestedInfo = payments.validateRequestedInfo({save=Bool, msg_id=int, info=PaymentRequestedInfo, }) ``` ### Errors diff --git a/old_docs/API_docs_v97/methods/phone.acceptCall.md b/old_docs/API_docs_v97/methods/phone.acceptCall.md index f5c58f01..6b9185aa 100644 --- a/old_docs/API_docs_v97/methods/phone.acceptCall.md +++ b/old_docs/API_docs_v97/methods/phone.acceptCall.md @@ -18,7 +18,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz#calls fo |protocol|[PhoneCallProtocol](../types/PhoneCallProtocol.md) | You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls | Yes| -### Return type: [phone\_PhoneCall](../types/phone_PhoneCall.md) +### Return type: [phone.PhoneCall](../types/phone.PhoneCall.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$phone_PhoneCall = $MadelineProto->phone->acceptCall(['peer' => InputPhoneCall, 'g_b' => 'bytes', 'protocol' => PhoneCallProtocol, ]); +$phone.PhoneCall = $MadelineProto->phone->acceptCall(['peer' => InputPhoneCall, 'g_b' => 'bytes', 'protocol' => PhoneCallProtocol, ]); ``` Or, if you're into Lua: ```lua -phone_PhoneCall = phone.acceptCall({peer=InputPhoneCall, g_b='bytes', protocol=PhoneCallProtocol, }) +phone.PhoneCall = phone.acceptCall({peer=InputPhoneCall, g_b='bytes', protocol=PhoneCallProtocol, }) ``` ### Errors diff --git a/old_docs/API_docs_v97/methods/phone.confirmCall.md b/old_docs/API_docs_v97/methods/phone.confirmCall.md index 468307cc..a52d1f9c 100644 --- a/old_docs/API_docs_v97/methods/phone.confirmCall.md +++ b/old_docs/API_docs_v97/methods/phone.confirmCall.md @@ -19,7 +19,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz#calls fo |protocol|[PhoneCallProtocol](../types/PhoneCallProtocol.md) | You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls | Yes| -### Return type: [phone\_PhoneCall](../types/phone_PhoneCall.md) +### Return type: [phone.PhoneCall](../types/phone.PhoneCall.md) ### Can bots use this method: **NO** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$phone_PhoneCall = $MadelineProto->phone->confirmCall(['peer' => InputPhoneCall, 'g_a' => 'bytes', 'key_fingerprint' => long, 'protocol' => PhoneCallProtocol, ]); +$phone.PhoneCall = $MadelineProto->phone->confirmCall(['peer' => InputPhoneCall, 'g_a' => 'bytes', 'key_fingerprint' => long, 'protocol' => PhoneCallProtocol, ]); ``` Or, if you're into Lua: ```lua -phone_PhoneCall = phone.confirmCall({peer=InputPhoneCall, g_a='bytes', key_fingerprint=long, protocol=PhoneCallProtocol, }) +phone.PhoneCall = phone.confirmCall({peer=InputPhoneCall, g_a='bytes', key_fingerprint=long, protocol=PhoneCallProtocol, }) ``` ### Errors diff --git a/old_docs/API_docs_v97/methods/phone.requestCall.md b/old_docs/API_docs_v97/methods/phone.requestCall.md index c8e828f2..37e847a7 100644 --- a/old_docs/API_docs_v97/methods/phone.requestCall.md +++ b/old_docs/API_docs_v97/methods/phone.requestCall.md @@ -18,7 +18,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz#calls fo |protocol|[PhoneCallProtocol](../types/PhoneCallProtocol.md) | You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls | Yes| -### Return type: [phone\_PhoneCall](../types/phone_PhoneCall.md) +### Return type: [phone.PhoneCall](../types/phone.PhoneCall.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$phone_PhoneCall = $MadelineProto->phone->requestCall(['user_id' => InputUser, 'g_a_hash' => 'bytes', 'protocol' => PhoneCallProtocol, ]); +$phone.PhoneCall = $MadelineProto->phone->requestCall(['user_id' => InputUser, 'g_a_hash' => 'bytes', 'protocol' => PhoneCallProtocol, ]); ``` Or, if you're into Lua: ```lua -phone_PhoneCall = phone.requestCall({user_id=InputUser, g_a_hash='bytes', protocol=PhoneCallProtocol, }) +phone.PhoneCall = phone.requestCall({user_id=InputUser, g_a_hash='bytes', protocol=PhoneCallProtocol, }) ``` ### Errors diff --git a/old_docs/API_docs_v97/methods/photos.getUserPhotos.md b/old_docs/API_docs_v97/methods/photos.getUserPhotos.md index a1dec2ed..1f8d5c64 100644 --- a/old_docs/API_docs_v97/methods/photos.getUserPhotos.md +++ b/old_docs/API_docs_v97/methods/photos.getUserPhotos.md @@ -19,7 +19,7 @@ Returns the list of user photos. |limit|[int](../types/int.md) | Number of list elements to be returned | Yes| -### Return type: [photos\_Photos](../types/photos_Photos.md) +### Return type: [photos.Photos](../types/photos.Photos.md) ### Can bots use this method: **YES** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$photos_Photos = $MadelineProto->photos->getUserPhotos(['user_id' => InputUser, 'offset' => int, 'max_id' => long, 'limit' => int, ]); +$photos.Photos = $MadelineProto->photos->getUserPhotos(['user_id' => InputUser, 'offset' => int, 'max_id' => long, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -photos_Photos = photos.getUserPhotos({user_id=InputUser, offset=int, max_id=long, limit=int, }) +photos.Photos = photos.getUserPhotos({user_id=InputUser, offset=int, max_id=long, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v97/methods/photos.uploadProfilePhoto.md b/old_docs/API_docs_v97/methods/photos.uploadProfilePhoto.md index b6a01ee7..4de76a24 100644 --- a/old_docs/API_docs_v97/methods/photos.uploadProfilePhoto.md +++ b/old_docs/API_docs_v97/methods/photos.uploadProfilePhoto.md @@ -16,7 +16,7 @@ Updates current user profile photo. |file|[File path or InputFile](../types/InputFile.md) | File saved in parts by means of [upload.saveFilePart](../methods/upload.saveFilePart.md) method | Yes| -### Return type: [photos\_Photo](../types/photos_Photo.md) +### Return type: [photos.Photo](../types/photos.Photo.md) ### Can bots use this method: **NO** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$photos_Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, ]); +$photos.Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, ]); ``` Or, if you're into Lua: ```lua -photos_Photo = photos.uploadProfilePhoto({file=InputFile, }) +photos.Photo = photos.uploadProfilePhoto({file=InputFile, }) ``` ### Errors diff --git a/old_docs/API_docs_v97/methods/stickers.addStickerToSet.md b/old_docs/API_docs_v97/methods/stickers.addStickerToSet.md index 727d3f27..e8392355 100644 --- a/old_docs/API_docs_v97/methods/stickers.addStickerToSet.md +++ b/old_docs/API_docs_v97/methods/stickers.addStickerToSet.md @@ -17,7 +17,7 @@ Add a sticker to a stickerset, bots only. The sticker set must have been created |sticker|[InputStickerSetItem](../types/InputStickerSetItem.md) | The sticker | Yes| -### Return type: [messages\_StickerSet](../types/messages_StickerSet.md) +### Return type: [messages.StickerSet](../types/messages.StickerSet.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StickerSet = $MadelineProto->stickers->addStickerToSet(['stickerset' => InputStickerSet, 'sticker' => InputStickerSetItem, ]); +$messages.StickerSet = $MadelineProto->stickers->addStickerToSet(['stickerset' => InputStickerSet, 'sticker' => InputStickerSetItem, ]); ``` Or, if you're into Lua: ```lua -messages_StickerSet = stickers.addStickerToSet({stickerset=InputStickerSet, sticker=InputStickerSetItem, }) +messages.StickerSet = stickers.addStickerToSet({stickerset=InputStickerSet, sticker=InputStickerSetItem, }) ``` ### Errors diff --git a/old_docs/API_docs_v97/methods/stickers.changeStickerPosition.md b/old_docs/API_docs_v97/methods/stickers.changeStickerPosition.md index ed390f21..e1d8ab5e 100644 --- a/old_docs/API_docs_v97/methods/stickers.changeStickerPosition.md +++ b/old_docs/API_docs_v97/methods/stickers.changeStickerPosition.md @@ -17,7 +17,7 @@ Changes the absolute position of a sticker in the set to which it belongs; for b |position|[int](../types/int.md) | The new position of the sticker, zero-based | Yes| -### Return type: [messages\_StickerSet](../types/messages_StickerSet.md) +### Return type: [messages.StickerSet](../types/messages.StickerSet.md) ### Can bots use this method: **YES** @@ -34,13 +34,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StickerSet = $MadelineProto->stickers->changeStickerPosition(['sticker' => InputDocument, 'position' => int, ]); +$messages.StickerSet = $MadelineProto->stickers->changeStickerPosition(['sticker' => InputDocument, 'position' => int, ]); ``` Or, if you're into Lua: ```lua -messages_StickerSet = stickers.changeStickerPosition({sticker=InputDocument, position=int, }) +messages.StickerSet = stickers.changeStickerPosition({sticker=InputDocument, position=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v97/methods/stickers.createStickerSet.md b/old_docs/API_docs_v97/methods/stickers.createStickerSet.md index 5a6ef396..7eeeb48f 100644 --- a/old_docs/API_docs_v97/methods/stickers.createStickerSet.md +++ b/old_docs/API_docs_v97/methods/stickers.createStickerSet.md @@ -20,7 +20,7 @@ Create a stickerset, bots only. |stickers|Array of [InputStickerSetItem](../types/InputStickerSetItem.md) | The stickers to add | Yes| -### Return type: [messages\_StickerSet](../types/messages_StickerSet.md) +### Return type: [messages.StickerSet](../types/messages.StickerSet.md) ### Can bots use this method: **YES** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StickerSet = $MadelineProto->stickers->createStickerSet(['masks' => Bool, 'user_id' => InputUser, 'title' => 'string', 'short_name' => 'string', 'stickers' => [InputStickerSetItem, InputStickerSetItem], ]); +$messages.StickerSet = $MadelineProto->stickers->createStickerSet(['masks' => Bool, 'user_id' => InputUser, 'title' => 'string', 'short_name' => 'string', 'stickers' => [InputStickerSetItem, InputStickerSetItem], ]); ``` Or, if you're into Lua: ```lua -messages_StickerSet = stickers.createStickerSet({masks=Bool, user_id=InputUser, title='string', short_name='string', stickers={InputStickerSetItem}, }) +messages.StickerSet = stickers.createStickerSet({masks=Bool, user_id=InputUser, title='string', short_name='string', stickers={InputStickerSetItem}, }) ``` ### Errors diff --git a/old_docs/API_docs_v97/methods/stickers.removeStickerFromSet.md b/old_docs/API_docs_v97/methods/stickers.removeStickerFromSet.md index 33f677b3..aa4927ca 100644 --- a/old_docs/API_docs_v97/methods/stickers.removeStickerFromSet.md +++ b/old_docs/API_docs_v97/methods/stickers.removeStickerFromSet.md @@ -16,7 +16,7 @@ Remove a sticker from the set where it belongs, bots only. The sticker set must |sticker|[MessageMedia, Update, Message or InputDocument](../types/InputDocument.md) | The sticker to remove | Optional| -### Return type: [messages\_StickerSet](../types/messages_StickerSet.md) +### Return type: [messages.StickerSet](../types/messages.StickerSet.md) ### Can bots use this method: **YES** @@ -33,13 +33,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$messages_StickerSet = $MadelineProto->stickers->removeStickerFromSet(['sticker' => InputDocument, ]); +$messages.StickerSet = $MadelineProto->stickers->removeStickerFromSet(['sticker' => InputDocument, ]); ``` Or, if you're into Lua: ```lua -messages_StickerSet = stickers.removeStickerFromSet({sticker=InputDocument, }) +messages.StickerSet = stickers.removeStickerFromSet({sticker=InputDocument, }) ``` ### Errors diff --git a/old_docs/API_docs_v97/methods/updates.getChannelDifference.md b/old_docs/API_docs_v97/methods/updates.getChannelDifference.md index 5675cd33..08df3395 100644 --- a/old_docs/API_docs_v97/methods/updates.getChannelDifference.md +++ b/old_docs/API_docs_v97/methods/updates.getChannelDifference.md @@ -20,7 +20,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz for more |limit|[int](../types/int.md) | You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates | Yes| -### Return type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) +### Return type: [updates.ChannelDifference](../types/updates.ChannelDifference.md) ### Can bots use this method: **YES** @@ -37,13 +37,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$updates_ChannelDifference = $MadelineProto->updates->getChannelDifference(['force' => Bool, 'channel' => InputChannel, 'filter' => ChannelMessagesFilter, 'pts' => int, 'limit' => int, ]); +$updates.ChannelDifference = $MadelineProto->updates->getChannelDifference(['force' => Bool, 'channel' => InputChannel, 'filter' => ChannelMessagesFilter, 'pts' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -updates_ChannelDifference = updates.getChannelDifference({force=Bool, channel=InputChannel, filter=ChannelMessagesFilter, pts=int, limit=int, }) +updates.ChannelDifference = updates.getChannelDifference({force=Bool, channel=InputChannel, filter=ChannelMessagesFilter, pts=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v97/methods/updates.getDifference.md b/old_docs/API_docs_v97/methods/updates.getDifference.md index bcfac4e2..b3796a10 100644 --- a/old_docs/API_docs_v97/methods/updates.getDifference.md +++ b/old_docs/API_docs_v97/methods/updates.getDifference.md @@ -19,7 +19,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz for more |qts|[int](../types/int.md) | You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates | Yes| -### Return type: [updates\_Difference](../types/updates_Difference.md) +### Return type: [updates.Difference](../types/updates.Difference.md) ### Can bots use this method: **YES** @@ -36,13 +36,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$updates_Difference = $MadelineProto->updates->getDifference(['pts' => int, 'pts_total_limit' => int, 'date' => int, 'qts' => int, ]); +$updates.Difference = $MadelineProto->updates->getDifference(['pts' => int, 'pts_total_limit' => int, 'date' => int, 'qts' => int, ]); ``` Or, if you're into Lua: ```lua -updates_Difference = updates.getDifference({pts=int, pts_total_limit=int, date=int, qts=int, }) +updates.Difference = updates.getDifference({pts=int, pts_total_limit=int, date=int, qts=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v97/methods/updates.getState.md b/old_docs/API_docs_v97/methods/updates.getState.md index c591408a..9a7d2f34 100644 --- a/old_docs/API_docs_v97/methods/updates.getState.md +++ b/old_docs/API_docs_v97/methods/updates.getState.md @@ -11,7 +11,7 @@ You cannot use this method directly, see https://docs.madelineproto.xyz for more -### Return type: [updates\_State](../types/updates_State.md) +### Return type: [updates.State](../types/updates.State.md) ### Can bots use this method: **YES** @@ -28,13 +28,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$updates_State = $MadelineProto->updates->getState(); +$updates.State = $MadelineProto->updates->getState(); ``` Or, if you're into Lua: ```lua -updates_State = updates.getState({}) +updates.State = updates.getState({}) ``` ### Errors diff --git a/old_docs/API_docs_v97/methods/upload.getCdnFile.md b/old_docs/API_docs_v97/methods/upload.getCdnFile.md index a3c928b2..67b2e84e 100644 --- a/old_docs/API_docs_v97/methods/upload.getCdnFile.md +++ b/old_docs/API_docs_v97/methods/upload.getCdnFile.md @@ -18,7 +18,7 @@ You cannot use this method directly, use the upload, downloadToStream, downloadT |limit|[int](../types/int.md) | You cannot use this method directly, use the upload, downloadToStream, downloadToFile, downloadToDir methods instead; see https://docs.madelineproto.xyz for more info | Yes| -### Return type: [upload\_CdnFile](../types/upload_CdnFile.md) +### Return type: [upload.CdnFile](../types/upload.CdnFile.md) ### Can bots use this method: **NO** @@ -35,12 +35,12 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$upload_CdnFile = $MadelineProto->upload->getCdnFile(['file_token' => 'bytes', 'offset' => int, 'limit' => int, ]); +$upload.CdnFile = $MadelineProto->upload->getCdnFile(['file_token' => 'bytes', 'offset' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -upload_CdnFile = upload.getCdnFile({file_token='bytes', offset=int, limit=int, }) +upload.CdnFile = upload.getCdnFile({file_token='bytes', offset=int, limit=int, }) ``` diff --git a/old_docs/API_docs_v97/methods/upload.getFile.md b/old_docs/API_docs_v97/methods/upload.getFile.md index 8aba03d4..ab9f4fe2 100644 --- a/old_docs/API_docs_v97/methods/upload.getFile.md +++ b/old_docs/API_docs_v97/methods/upload.getFile.md @@ -18,7 +18,7 @@ You cannot use this method directly, use the upload, downloadToStream, downloadT |limit|[int](../types/int.md) | You cannot use this method directly, use the upload, downloadToStream, downloadToFile, downloadToDir methods instead; see https://docs.madelineproto.xyz for more info | Yes| -### Return type: [upload\_File](../types/upload_File.md) +### Return type: [upload.File](../types/upload.File.md) ### Can bots use this method: **YES** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$upload_File = $MadelineProto->upload->getFile(['location' => InputFileLocation, 'offset' => int, 'limit' => int, ]); +$upload.File = $MadelineProto->upload->getFile(['location' => InputFileLocation, 'offset' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -upload_File = upload.getFile({location=InputFileLocation, offset=int, limit=int, }) +upload.File = upload.getFile({location=InputFileLocation, offset=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v97/methods/upload.getWebFile.md b/old_docs/API_docs_v97/methods/upload.getWebFile.md index 32f6b322..60f1b8c1 100644 --- a/old_docs/API_docs_v97/methods/upload.getWebFile.md +++ b/old_docs/API_docs_v97/methods/upload.getWebFile.md @@ -18,7 +18,7 @@ Returns content of an HTTP file or a part, by proxying the request through teleg |limit|[int](../types/int.md) | Number of bytes to be returned | Yes| -### Return type: [upload\_WebFile](../types/upload_WebFile.md) +### Return type: [upload.WebFile](../types/upload.WebFile.md) ### Can bots use this method: **NO** @@ -35,13 +35,13 @@ include 'madeline.php'; $MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto->start(); -$upload_WebFile = $MadelineProto->upload->getWebFile(['location' => InputWebFileLocation, 'offset' => int, 'limit' => int, ]); +$upload.WebFile = $MadelineProto->upload->getWebFile(['location' => InputWebFileLocation, 'offset' => int, 'limit' => int, ]); ``` Or, if you're into Lua: ```lua -upload_WebFile = upload.getWebFile({location=InputWebFileLocation, offset=int, limit=int, }) +upload.WebFile = upload.getWebFile({location=InputWebFileLocation, offset=int, limit=int, }) ``` ### Errors diff --git a/old_docs/API_docs_v97/types/AccountDaysTTL.md b/old_docs/API_docs_v97/types/AccountDaysTTL.md index 12a10190..f3494aac 100644 --- a/old_docs/API_docs_v97/types/AccountDaysTTL.md +++ b/old_docs/API_docs_v97/types/AccountDaysTTL.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->account->getAccountTTL](../methods/account_getAccountTTL.md) +[$MadelineProto->account->getAccountTTL](../methods/account.getAccountTTL.md) diff --git a/old_docs/API_docs_v97/types/CdnConfig.md b/old_docs/API_docs_v97/types/CdnConfig.md index fbfe01c3..0b0fb5be 100644 --- a/old_docs/API_docs_v97/types/CdnConfig.md +++ b/old_docs/API_docs_v97/types/CdnConfig.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->help->getCdnConfig](../methods/help_getCdnConfig.md) +[$MadelineProto->help->getCdnConfig](../methods/help.getCdnConfig.md) diff --git a/old_docs/API_docs_v97/types/ChatInvite.md b/old_docs/API_docs_v97/types/ChatInvite.md index 5022a2f0..9fafabb4 100644 --- a/old_docs/API_docs_v97/types/ChatInvite.md +++ b/old_docs/API_docs_v97/types/ChatInvite.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->checkChatInvite](../methods/messages_checkChatInvite.md) +[$MadelineProto->messages->checkChatInvite](../methods/messages.checkChatInvite.md) diff --git a/old_docs/API_docs_v97/types/ChatOnlines.md b/old_docs/API_docs_v97/types/ChatOnlines.md index 5faf4a6e..e5646dd6 100644 --- a/old_docs/API_docs_v97/types/ChatOnlines.md +++ b/old_docs/API_docs_v97/types/ChatOnlines.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getOnlines](../methods/messages_getOnlines.md) +[$MadelineProto->messages->getOnlines](../methods/messages.getOnlines.md) diff --git a/old_docs/API_docs_v97/types/Config.md b/old_docs/API_docs_v97/types/Config.md index 0f7fbe70..3a23b7b7 100644 --- a/old_docs/API_docs_v97/types/Config.md +++ b/old_docs/API_docs_v97/types/Config.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->help->getConfig](../methods/help_getConfig.md) +[$MadelineProto->help->getConfig](../methods/help.getConfig.md) diff --git a/old_docs/API_docs_v97/types/ContactStatus.md b/old_docs/API_docs_v97/types/ContactStatus.md index c5f5d658..30aee6e2 100644 --- a/old_docs/API_docs_v97/types/ContactStatus.md +++ b/old_docs/API_docs_v97/types/ContactStatus.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->contacts->getStatuses](../methods/contacts_getStatuses.md) +[$MadelineProto->contacts->getStatuses](../methods/contacts.getStatuses.md) diff --git a/old_docs/API_docs_v97/types/DialogPeer.md b/old_docs/API_docs_v97/types/DialogPeer.md index 77d00a35..72c2a973 100644 --- a/old_docs/API_docs_v97/types/DialogPeer.md +++ b/old_docs/API_docs_v97/types/DialogPeer.md @@ -40,7 +40,7 @@ A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDia ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getDialogUnreadMarks](../methods/messages_getDialogUnreadMarks.md) +[$MadelineProto->messages->getDialogUnreadMarks](../methods/messages.getDialogUnreadMarks.md) diff --git a/old_docs/API_docs_v97/types/Document.md b/old_docs/API_docs_v97/types/Document.md index f68b7aa4..2cb85623 100644 --- a/old_docs/API_docs_v97/types/Document.md +++ b/old_docs/API_docs_v97/types/Document.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getDocumentByHash](../methods/messages_getDocumentByHash.md) +[$MadelineProto->messages->getDocumentByHash](../methods/messages.getDocumentByHash.md) diff --git a/old_docs/API_docs_v97/types/EmojiKeywordsDifference.md b/old_docs/API_docs_v97/types/EmojiKeywordsDifference.md index 8dc7d309..1282c000 100644 --- a/old_docs/API_docs_v97/types/EmojiKeywordsDifference.md +++ b/old_docs/API_docs_v97/types/EmojiKeywordsDifference.md @@ -16,9 +16,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getEmojiKeywords](../methods/messages_getEmojiKeywords.md) +[$MadelineProto->messages->getEmojiKeywords](../methods/messages.getEmojiKeywords.md) -[$MadelineProto->messages->getEmojiKeywordsDifference](../methods/messages_getEmojiKeywordsDifference.md) +[$MadelineProto->messages->getEmojiKeywordsDifference](../methods/messages.getEmojiKeywordsDifference.md) diff --git a/old_docs/API_docs_v97/types/EmojiURL.md b/old_docs/API_docs_v97/types/EmojiURL.md index f9c636d0..c2fc469d 100644 --- a/old_docs/API_docs_v97/types/EmojiURL.md +++ b/old_docs/API_docs_v97/types/EmojiURL.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getEmojiURL](../methods/messages_getEmojiURL.md) +[$MadelineProto->messages->getEmojiURL](../methods/messages.getEmojiURL.md) diff --git a/old_docs/API_docs_v97/types/EncryptedChat.md b/old_docs/API_docs_v97/types/EncryptedChat.md index fd2277f6..19cf52b0 100644 --- a/old_docs/API_docs_v97/types/EncryptedChat.md +++ b/old_docs/API_docs_v97/types/EncryptedChat.md @@ -24,9 +24,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->requestEncryption](../methods/messages_requestEncryption.md) +[$MadelineProto->messages->requestEncryption](../methods/messages.requestEncryption.md) -[$MadelineProto->messages->acceptEncryption](../methods/messages_acceptEncryption.md) +[$MadelineProto->messages->acceptEncryption](../methods/messages.acceptEncryption.md) diff --git a/old_docs/API_docs_v97/types/EncryptedFile.md b/old_docs/API_docs_v97/types/EncryptedFile.md index a26d40bb..8ecf8e9d 100644 --- a/old_docs/API_docs_v97/types/EncryptedFile.md +++ b/old_docs/API_docs_v97/types/EncryptedFile.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->uploadEncryptedFile](../methods/messages_uploadEncryptedFile.md) +[$MadelineProto->messages->uploadEncryptedFile](../methods/messages.uploadEncryptedFile.md) diff --git a/old_docs/API_docs_v97/types/ExportedChatInvite.md b/old_docs/API_docs_v97/types/ExportedChatInvite.md index 16a273d1..f5a43739 100644 --- a/old_docs/API_docs_v97/types/ExportedChatInvite.md +++ b/old_docs/API_docs_v97/types/ExportedChatInvite.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->exportChatInvite](../methods/messages_exportChatInvite.md) +[$MadelineProto->messages->exportChatInvite](../methods/messages.exportChatInvite.md) diff --git a/old_docs/API_docs_v97/types/ExportedMessageLink.md b/old_docs/API_docs_v97/types/ExportedMessageLink.md index eb2400f6..948e9c90 100644 --- a/old_docs/API_docs_v97/types/ExportedMessageLink.md +++ b/old_docs/API_docs_v97/types/ExportedMessageLink.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->channels->exportMessageLink](../methods/channels_exportMessageLink.md) +[$MadelineProto->channels->exportMessageLink](../methods/channels.exportMessageLink.md) diff --git a/old_docs/API_docs_v97/types/FileHash.md b/old_docs/API_docs_v97/types/FileHash.md index 3201d7e0..a908fb9b 100644 --- a/old_docs/API_docs_v97/types/FileHash.md +++ b/old_docs/API_docs_v97/types/FileHash.md @@ -16,11 +16,11 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->upload->reuploadCdnFile](../methods/upload_reuploadCdnFile.md) +[$MadelineProto->upload->reuploadCdnFile](../methods/upload.reuploadCdnFile.md) -[$MadelineProto->upload->getCdnFileHashes](../methods/upload_getCdnFileHashes.md) +[$MadelineProto->upload->getCdnFileHashes](../methods/upload.getCdnFileHashes.md) -[$MadelineProto->upload->getFileHashes](../methods/upload_getFileHashes.md) +[$MadelineProto->upload->getFileHashes](../methods/upload.getFileHashes.md) diff --git a/old_docs/API_docs_v97/types/JSONValue.md b/old_docs/API_docs_v97/types/JSONValue.md index eed45486..83527ab0 100644 --- a/old_docs/API_docs_v97/types/JSONValue.md +++ b/old_docs/API_docs_v97/types/JSONValue.md @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->help->getAppConfig](../methods/help_getAppConfig.md) +[$MadelineProto->help->getAppConfig](../methods/help.getAppConfig.md) diff --git a/old_docs/API_docs_v97/types/LangPackDifference.md b/old_docs/API_docs_v97/types/LangPackDifference.md index fd9f41f2..e04125b8 100644 --- a/old_docs/API_docs_v97/types/LangPackDifference.md +++ b/old_docs/API_docs_v97/types/LangPackDifference.md @@ -16,9 +16,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->langpack->getLangPack](../methods/langpack_getLangPack.md) +[$MadelineProto->langpack->getLangPack](../methods/langpack.getLangPack.md) -[$MadelineProto->langpack->getDifference](../methods/langpack_getDifference.md) +[$MadelineProto->langpack->getDifference](../methods/langpack.getDifference.md) diff --git a/old_docs/API_docs_v97/types/LangPackLanguage.md b/old_docs/API_docs_v97/types/LangPackLanguage.md index f6559af9..74c7172d 100644 --- a/old_docs/API_docs_v97/types/LangPackLanguage.md +++ b/old_docs/API_docs_v97/types/LangPackLanguage.md @@ -16,9 +16,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->langpack->getLanguages](../methods/langpack_getLanguages.md) +[$MadelineProto->langpack->getLanguages](../methods/langpack.getLanguages.md) -[$MadelineProto->langpack->getLanguage](../methods/langpack_getLanguage.md) +[$MadelineProto->langpack->getLanguage](../methods/langpack.getLanguage.md) diff --git a/old_docs/API_docs_v97/types/LangPackString.md b/old_docs/API_docs_v97/types/LangPackString.md index f1a43dd9..15f9dc3d 100644 --- a/old_docs/API_docs_v97/types/LangPackString.md +++ b/old_docs/API_docs_v97/types/LangPackString.md @@ -20,7 +20,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->langpack->getStrings](../methods/langpack_getStrings.md) +[$MadelineProto->langpack->getStrings](../methods/langpack.getStrings.md) diff --git a/old_docs/API_docs_v97/types/MessageMedia.md b/old_docs/API_docs_v97/types/MessageMedia.md index 51aa795e..36602552 100644 --- a/old_docs/API_docs_v97/types/MessageMedia.md +++ b/old_docs/API_docs_v97/types/MessageMedia.md @@ -38,9 +38,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getWebPagePreview](../methods/messages_getWebPagePreview.md) +[$MadelineProto->messages->getWebPagePreview](../methods/messages.getWebPagePreview.md) -[$MadelineProto->messages->uploadMedia](../methods/messages_uploadMedia.md) +[$MadelineProto->messages->uploadMedia](../methods/messages.uploadMedia.md) diff --git a/old_docs/API_docs_v97/types/MessageRange.md b/old_docs/API_docs_v97/types/MessageRange.md index c93011aa..ffd65e90 100644 --- a/old_docs/API_docs_v97/types/MessageRange.md +++ b/old_docs/API_docs_v97/types/MessageRange.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getSplitRanges](../methods/messages_getSplitRanges.md) +[$MadelineProto->messages->getSplitRanges](../methods/messages.getSplitRanges.md) diff --git a/old_docs/API_docs_v97/types/NearestDc.md b/old_docs/API_docs_v97/types/NearestDc.md index 31f24377..296a4dff 100644 --- a/old_docs/API_docs_v97/types/NearestDc.md +++ b/old_docs/API_docs_v97/types/NearestDc.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->help->getNearestDc](../methods/help_getNearestDc.md) +[$MadelineProto->help->getNearestDc](../methods/help.getNearestDc.md) diff --git a/old_docs/API_docs_v97/types/PeerNotifySettings.md b/old_docs/API_docs_v97/types/PeerNotifySettings.md index ecb483c5..d3b4833c 100644 --- a/old_docs/API_docs_v97/types/PeerNotifySettings.md +++ b/old_docs/API_docs_v97/types/PeerNotifySettings.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->account->getNotifySettings](../methods/account_getNotifySettings.md) +[$MadelineProto->account->getNotifySettings](../methods/account.getNotifySettings.md) diff --git a/old_docs/API_docs_v97/types/PeerSettings.md b/old_docs/API_docs_v97/types/PeerSettings.md index 60ac3765..31ef7e38 100644 --- a/old_docs/API_docs_v97/types/PeerSettings.md +++ b/old_docs/API_docs_v97/types/PeerSettings.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getPeerSettings](../methods/messages_getPeerSettings.md) +[$MadelineProto->messages->getPeerSettings](../methods/messages.getPeerSettings.md) diff --git a/old_docs/API_docs_v97/types/README.md b/old_docs/API_docs_v97/types/README.md index 777cf803..c380166c 100644 --- a/old_docs/API_docs_v97/types/README.md +++ b/old_docs/API_docs_v97/types/README.md @@ -371,167 +371,167 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png [X](X.md) -[account\_AuthorizationForm](account_AuthorizationForm.md) +[account.AuthorizationForm](account.AuthorizationForm.md) -[account\_Authorizations](account_Authorizations.md) +[account.Authorizations](account.Authorizations.md) -[account\_AutoDownloadSettings](account_AutoDownloadSettings.md) +[account.AutoDownloadSettings](account.AutoDownloadSettings.md) -[account\_Password](account_Password.md) +[account.Password](account.Password.md) -[account\_PasswordInputSettings](account_PasswordInputSettings.md) +[account.PasswordInputSettings](account.PasswordInputSettings.md) -[account\_PasswordSettings](account_PasswordSettings.md) +[account.PasswordSettings](account.PasswordSettings.md) -[account\_PrivacyRules](account_PrivacyRules.md) +[account.PrivacyRules](account.PrivacyRules.md) -[account\_SentEmailCode](account_SentEmailCode.md) +[account.SentEmailCode](account.SentEmailCode.md) -[account\_Takeout](account_Takeout.md) +[account.Takeout](account.Takeout.md) -[account\_TmpPassword](account_TmpPassword.md) +[account.TmpPassword](account.TmpPassword.md) -[account\_WallPapers](account_WallPapers.md) +[account.WallPapers](account.WallPapers.md) -[account\_WebAuthorizations](account_WebAuthorizations.md) +[account.WebAuthorizations](account.WebAuthorizations.md) -[auth\_Authorization](auth_Authorization.md) +[auth.Authorization](auth.Authorization.md) -[auth\_CheckedPhone](auth_CheckedPhone.md) +[auth.CheckedPhone](auth.CheckedPhone.md) -[auth\_CodeType](auth_CodeType.md) +[auth.CodeType](auth.CodeType.md) -[auth\_ExportedAuthorization](auth_ExportedAuthorization.md) +[auth.ExportedAuthorization](auth.ExportedAuthorization.md) -[auth\_PasswordRecovery](auth_PasswordRecovery.md) +[auth.PasswordRecovery](auth.PasswordRecovery.md) -[auth\_SentCode](auth_SentCode.md) +[auth.SentCode](auth.SentCode.md) -[auth\_SentCodeType](auth_SentCodeType.md) +[auth.SentCodeType](auth.SentCodeType.md) -[channels\_AdminLogResults](channels_AdminLogResults.md) +[channels.AdminLogResults](channels.AdminLogResults.md) -[channels\_ChannelParticipant](channels_ChannelParticipant.md) +[channels.ChannelParticipant](channels.ChannelParticipant.md) -[channels\_ChannelParticipants](channels_ChannelParticipants.md) +[channels.ChannelParticipants](channels.ChannelParticipants.md) -[contacts\_Blocked](contacts_Blocked.md) +[contacts.Blocked](contacts.Blocked.md) -[contacts\_Contacts](contacts_Contacts.md) +[contacts.Contacts](contacts.Contacts.md) -[contacts\_Found](contacts_Found.md) +[contacts.Found](contacts.Found.md) -[contacts\_ImportedContacts](contacts_ImportedContacts.md) +[contacts.ImportedContacts](contacts.ImportedContacts.md) -[contacts\_Link](contacts_Link.md) +[contacts.Link](contacts.Link.md) -[contacts\_ResolvedPeer](contacts_ResolvedPeer.md) +[contacts.ResolvedPeer](contacts.ResolvedPeer.md) -[contacts\_TopPeers](contacts_TopPeers.md) +[contacts.TopPeers](contacts.TopPeers.md) -[help\_AppUpdate](help_AppUpdate.md) +[help.AppUpdate](help.AppUpdate.md) -[help\_ConfigSimple](help_ConfigSimple.md) +[help.ConfigSimple](help.ConfigSimple.md) -[help\_DeepLinkInfo](help_DeepLinkInfo.md) +[help.DeepLinkInfo](help.DeepLinkInfo.md) -[help\_InviteText](help_InviteText.md) +[help.InviteText](help.InviteText.md) -[help\_PassportConfig](help_PassportConfig.md) +[help.PassportConfig](help.PassportConfig.md) -[help\_ProxyData](help_ProxyData.md) +[help.ProxyData](help.ProxyData.md) -[help\_RecentMeUrls](help_RecentMeUrls.md) +[help.RecentMeUrls](help.RecentMeUrls.md) -[help\_Support](help_Support.md) +[help.Support](help.Support.md) -[help\_SupportName](help_SupportName.md) +[help.SupportName](help.SupportName.md) -[help\_TermsOfService](help_TermsOfService.md) +[help.TermsOfService](help.TermsOfService.md) -[help\_TermsOfServiceUpdate](help_TermsOfServiceUpdate.md) +[help.TermsOfServiceUpdate](help.TermsOfServiceUpdate.md) -[help\_UserInfo](help_UserInfo.md) +[help.UserInfo](help.UserInfo.md) [int](int.md) [long](long.md) -[messages\_AffectedHistory](messages_AffectedHistory.md) +[messages.AffectedHistory](messages.AffectedHistory.md) -[messages\_AffectedMessages](messages_AffectedMessages.md) +[messages.AffectedMessages](messages.AffectedMessages.md) -[messages\_AllStickers](messages_AllStickers.md) +[messages.AllStickers](messages.AllStickers.md) -[messages\_ArchivedStickers](messages_ArchivedStickers.md) +[messages.ArchivedStickers](messages.ArchivedStickers.md) -[messages\_BotCallbackAnswer](messages_BotCallbackAnswer.md) +[messages.BotCallbackAnswer](messages.BotCallbackAnswer.md) -[messages\_BotResults](messages_BotResults.md) +[messages.BotResults](messages.BotResults.md) -[messages\_ChatFull](messages_ChatFull.md) +[messages.ChatFull](messages.ChatFull.md) -[messages\_Chats](messages_Chats.md) +[messages.Chats](messages.Chats.md) -[messages\_DhConfig](messages_DhConfig.md) +[messages.DhConfig](messages.DhConfig.md) -[messages\_Dialogs](messages_Dialogs.md) +[messages.Dialogs](messages.Dialogs.md) -[messages\_FavedStickers](messages_FavedStickers.md) +[messages.FavedStickers](messages.FavedStickers.md) -[messages\_FeaturedStickers](messages_FeaturedStickers.md) +[messages.FeaturedStickers](messages.FeaturedStickers.md) -[messages\_FoundGifs](messages_FoundGifs.md) +[messages.FoundGifs](messages.FoundGifs.md) -[messages\_FoundStickerSets](messages_FoundStickerSets.md) +[messages.FoundStickerSets](messages.FoundStickerSets.md) -[messages\_HighScores](messages_HighScores.md) +[messages.HighScores](messages.HighScores.md) -[messages\_MessageEditData](messages_MessageEditData.md) +[messages.MessageEditData](messages.MessageEditData.md) -[messages\_Messages](messages_Messages.md) +[messages.Messages](messages.Messages.md) -[messages\_PeerDialogs](messages_PeerDialogs.md) +[messages.PeerDialogs](messages.PeerDialogs.md) -[messages\_RecentStickers](messages_RecentStickers.md) +[messages.RecentStickers](messages.RecentStickers.md) -[messages\_SavedGifs](messages_SavedGifs.md) +[messages.SavedGifs](messages.SavedGifs.md) -[messages\_SentEncryptedMessage](messages_SentEncryptedMessage.md) +[messages.SentEncryptedMessage](messages.SentEncryptedMessage.md) -[messages\_StickerSet](messages_StickerSet.md) +[messages.StickerSet](messages.StickerSet.md) -[messages\_StickerSetInstallResult](messages_StickerSetInstallResult.md) +[messages.StickerSetInstallResult](messages.StickerSetInstallResult.md) -[messages\_Stickers](messages_Stickers.md) +[messages.Stickers](messages.Stickers.md) -[payments\_PaymentForm](payments_PaymentForm.md) +[payments.PaymentForm](payments.PaymentForm.md) -[payments\_PaymentReceipt](payments_PaymentReceipt.md) +[payments.PaymentReceipt](payments.PaymentReceipt.md) -[payments\_PaymentResult](payments_PaymentResult.md) +[payments.PaymentResult](payments.PaymentResult.md) -[payments\_SavedInfo](payments_SavedInfo.md) +[payments.SavedInfo](payments.SavedInfo.md) -[payments\_ValidatedRequestedInfo](payments_ValidatedRequestedInfo.md) +[payments.ValidatedRequestedInfo](payments.ValidatedRequestedInfo.md) -[phone\_PhoneCall](phone_PhoneCall.md) +[phone.PhoneCall](phone.PhoneCall.md) -[photos\_Photo](photos_Photo.md) +[photos.Photo](photos.Photo.md) -[photos\_Photos](photos_Photos.md) +[photos.Photos](photos.Photos.md) -[storage\_FileType](storage_FileType.md) +[storage.FileType](storage.FileType.md) -[updates\_ChannelDifference](updates_ChannelDifference.md) +[updates.ChannelDifference](updates.ChannelDifference.md) -[updates\_Difference](updates_Difference.md) +[updates.Difference](updates.Difference.md) -[updates\_State](updates_State.md) +[updates.State](updates.State.md) -[upload\_CdnFile](upload_CdnFile.md) +[upload.CdnFile](upload.CdnFile.md) -[upload\_File](upload_File.md) +[upload.File](upload.File.md) -[upload\_WebFile](upload_WebFile.md) +[upload.WebFile](upload.WebFile.md) diff --git a/old_docs/API_docs_v97/types/ReceivedNotifyMessage.md b/old_docs/API_docs_v97/types/ReceivedNotifyMessage.md index c7fc3b8c..416aa275 100644 --- a/old_docs/API_docs_v97/types/ReceivedNotifyMessage.md +++ b/old_docs/API_docs_v97/types/ReceivedNotifyMessage.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->receivedMessages](../methods/messages_receivedMessages.md) +[$MadelineProto->messages->receivedMessages](../methods/messages.receivedMessages.md) diff --git a/old_docs/API_docs_v97/types/SavedContact.md b/old_docs/API_docs_v97/types/SavedContact.md index c337f3eb..73a91ba6 100644 --- a/old_docs/API_docs_v97/types/SavedContact.md +++ b/old_docs/API_docs_v97/types/SavedContact.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->contacts->getSaved](../methods/contacts_getSaved.md) +[$MadelineProto->contacts->getSaved](../methods/contacts.getSaved.md) diff --git a/old_docs/API_docs_v97/types/SecureValue.md b/old_docs/API_docs_v97/types/SecureValue.md index 8490f399..2ab18f68 100644 --- a/old_docs/API_docs_v97/types/SecureValue.md +++ b/old_docs/API_docs_v97/types/SecureValue.md @@ -16,11 +16,11 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->account->getAllSecureValues](../methods/account_getAllSecureValues.md) +[$MadelineProto->account->getAllSecureValues](../methods/account.getAllSecureValues.md) -[$MadelineProto->account->getSecureValue](../methods/account_getSecureValue.md) +[$MadelineProto->account->getSecureValue](../methods/account.getSecureValue.md) -[$MadelineProto->account->saveSecureValue](../methods/account_saveSecureValue.md) +[$MadelineProto->account->saveSecureValue](../methods/account.saveSecureValue.md) diff --git a/old_docs/API_docs_v97/types/StatsURL.md b/old_docs/API_docs_v97/types/StatsURL.md index 1a2695cd..8704eed7 100644 --- a/old_docs/API_docs_v97/types/StatsURL.md +++ b/old_docs/API_docs_v97/types/StatsURL.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getStatsURL](../methods/messages_getStatsURL.md) +[$MadelineProto->messages->getStatsURL](../methods/messages.getStatsURL.md) diff --git a/old_docs/API_docs_v97/types/StickerSetCovered.md b/old_docs/API_docs_v97/types/StickerSetCovered.md index ffd1da1f..f57cd117 100644 --- a/old_docs/API_docs_v97/types/StickerSetCovered.md +++ b/old_docs/API_docs_v97/types/StickerSetCovered.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getAttachedStickers](../methods/messages_getAttachedStickers.md) +[$MadelineProto->messages->getAttachedStickers](../methods/messages.getAttachedStickers.md) diff --git a/old_docs/API_docs_v97/types/Updates.md b/old_docs/API_docs_v97/types/Updates.md index ec28c0b4..daf28c9c 100644 --- a/old_docs/API_docs_v97/types/Updates.md +++ b/old_docs/API_docs_v97/types/Updates.md @@ -28,77 +28,77 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->account->getNotifyExceptions](../methods/account_getNotifyExceptions.md) +[$MadelineProto->account->getNotifyExceptions](../methods/account.getNotifyExceptions.md) -[$MadelineProto->messages->sendMessage](../methods/messages_sendMessage.md) +[$MadelineProto->messages->sendMessage](../methods/messages.sendMessage.md) -[$MadelineProto->messages->sendMedia](../methods/messages_sendMedia.md) +[$MadelineProto->messages->sendMedia](../methods/messages.sendMedia.md) -[$MadelineProto->messages->forwardMessages](../methods/messages_forwardMessages.md) +[$MadelineProto->messages->forwardMessages](../methods/messages.forwardMessages.md) -[$MadelineProto->messages->editChatTitle](../methods/messages_editChatTitle.md) +[$MadelineProto->messages->editChatTitle](../methods/messages.editChatTitle.md) -[$MadelineProto->messages->editChatPhoto](../methods/messages_editChatPhoto.md) +[$MadelineProto->messages->editChatPhoto](../methods/messages.editChatPhoto.md) -[$MadelineProto->messages->addChatUser](../methods/messages_addChatUser.md) +[$MadelineProto->messages->addChatUser](../methods/messages.addChatUser.md) -[$MadelineProto->messages->deleteChatUser](../methods/messages_deleteChatUser.md) +[$MadelineProto->messages->deleteChatUser](../methods/messages.deleteChatUser.md) -[$MadelineProto->messages->createChat](../methods/messages_createChat.md) +[$MadelineProto->messages->createChat](../methods/messages.createChat.md) -[$MadelineProto->messages->importChatInvite](../methods/messages_importChatInvite.md) +[$MadelineProto->messages->importChatInvite](../methods/messages.importChatInvite.md) -[$MadelineProto->messages->startBot](../methods/messages_startBot.md) +[$MadelineProto->messages->startBot](../methods/messages.startBot.md) -[$MadelineProto->messages->migrateChat](../methods/messages_migrateChat.md) +[$MadelineProto->messages->migrateChat](../methods/messages.migrateChat.md) -[$MadelineProto->messages->sendInlineBotResult](../methods/messages_sendInlineBotResult.md) +[$MadelineProto->messages->sendInlineBotResult](../methods/messages.sendInlineBotResult.md) -[$MadelineProto->messages->editMessage](../methods/messages_editMessage.md) +[$MadelineProto->messages->editMessage](../methods/messages.editMessage.md) -[$MadelineProto->messages->getAllDrafts](../methods/messages_getAllDrafts.md) +[$MadelineProto->messages->getAllDrafts](../methods/messages.getAllDrafts.md) -[$MadelineProto->messages->setGameScore](../methods/messages_setGameScore.md) +[$MadelineProto->messages->setGameScore](../methods/messages.setGameScore.md) -[$MadelineProto->messages->sendScreenshotNotification](../methods/messages_sendScreenshotNotification.md) +[$MadelineProto->messages->sendScreenshotNotification](../methods/messages.sendScreenshotNotification.md) -[$MadelineProto->messages->sendMultiMedia](../methods/messages_sendMultiMedia.md) +[$MadelineProto->messages->sendMultiMedia](../methods/messages.sendMultiMedia.md) -[$MadelineProto->messages->updatePinnedMessage](../methods/messages_updatePinnedMessage.md) +[$MadelineProto->messages->updatePinnedMessage](../methods/messages.updatePinnedMessage.md) -[$MadelineProto->messages->sendVote](../methods/messages_sendVote.md) +[$MadelineProto->messages->sendVote](../methods/messages.sendVote.md) -[$MadelineProto->messages->getPollResults](../methods/messages_getPollResults.md) +[$MadelineProto->messages->getPollResults](../methods/messages.getPollResults.md) -[$MadelineProto->messages->editChatDefaultBannedRights](../methods/messages_editChatDefaultBannedRights.md) +[$MadelineProto->messages->editChatDefaultBannedRights](../methods/messages.editChatDefaultBannedRights.md) -[$MadelineProto->help->getAppChangelog](../methods/help_getAppChangelog.md) +[$MadelineProto->help->getAppChangelog](../methods/help.getAppChangelog.md) -[$MadelineProto->channels->createChannel](../methods/channels_createChannel.md) +[$MadelineProto->channels->createChannel](../methods/channels.createChannel.md) -[$MadelineProto->channels->editAdmin](../methods/channels_editAdmin.md) +[$MadelineProto->channels->editAdmin](../methods/channels.editAdmin.md) -[$MadelineProto->channels->editTitle](../methods/channels_editTitle.md) +[$MadelineProto->channels->editTitle](../methods/channels.editTitle.md) -[$MadelineProto->channels->editPhoto](../methods/channels_editPhoto.md) +[$MadelineProto->channels->editPhoto](../methods/channels.editPhoto.md) -[$MadelineProto->channels->joinChannel](../methods/channels_joinChannel.md) +[$MadelineProto->channels->joinChannel](../methods/channels.joinChannel.md) -[$MadelineProto->channels->leaveChannel](../methods/channels_leaveChannel.md) +[$MadelineProto->channels->leaveChannel](../methods/channels.leaveChannel.md) -[$MadelineProto->channels->inviteToChannel](../methods/channels_inviteToChannel.md) +[$MadelineProto->channels->inviteToChannel](../methods/channels.inviteToChannel.md) -[$MadelineProto->channels->deleteChannel](../methods/channels_deleteChannel.md) +[$MadelineProto->channels->deleteChannel](../methods/channels.deleteChannel.md) -[$MadelineProto->channels->toggleSignatures](../methods/channels_toggleSignatures.md) +[$MadelineProto->channels->toggleSignatures](../methods/channels.toggleSignatures.md) -[$MadelineProto->channels->editBanned](../methods/channels_editBanned.md) +[$MadelineProto->channels->editBanned](../methods/channels.editBanned.md) -[$MadelineProto->channels->togglePreHistoryHidden](../methods/channels_togglePreHistoryHidden.md) +[$MadelineProto->channels->togglePreHistoryHidden](../methods/channels.togglePreHistoryHidden.md) -[$MadelineProto->phone->discardCall](../methods/phone_discardCall.md) +[$MadelineProto->phone->discardCall](../methods/phone.discardCall.md) -[$MadelineProto->phone->setCallRating](../methods/phone_setCallRating.md) +[$MadelineProto->phone->setCallRating](../methods/phone.setCallRating.md) diff --git a/old_docs/API_docs_v97/types/User.md b/old_docs/API_docs_v97/types/User.md index 49c9af72..0d20e320 100644 --- a/old_docs/API_docs_v97/types/User.md +++ b/old_docs/API_docs_v97/types/User.md @@ -42,13 +42,13 @@ A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDia ### Methods that return an object of this type (methods): -[$MadelineProto->account->updateProfile](../methods/account_updateProfile.md) +[$MadelineProto->account->updateProfile](../methods/account.updateProfile.md) -[$MadelineProto->account->updateUsername](../methods/account_updateUsername.md) +[$MadelineProto->account->updateUsername](../methods/account.updateUsername.md) -[$MadelineProto->account->changePhone](../methods/account_changePhone.md) +[$MadelineProto->account->changePhone](../methods/account.changePhone.md) -[$MadelineProto->users->getUsers](../methods/users_getUsers.md) +[$MadelineProto->users->getUsers](../methods/users.getUsers.md) diff --git a/old_docs/API_docs_v97/types/UserFull.md b/old_docs/API_docs_v97/types/UserFull.md index 79ad30bb..ac50052f 100644 --- a/old_docs/API_docs_v97/types/UserFull.md +++ b/old_docs/API_docs_v97/types/UserFull.md @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->users->getFullUser](../methods/users_getFullUser.md) +[$MadelineProto->users->getFullUser](../methods/users.getFullUser.md) diff --git a/old_docs/API_docs_v97/types/UserProfilePhoto.md b/old_docs/API_docs_v97/types/UserProfilePhoto.md index e5243a2e..e81e92fd 100644 --- a/old_docs/API_docs_v97/types/UserProfilePhoto.md +++ b/old_docs/API_docs_v97/types/UserProfilePhoto.md @@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->photos->updateProfilePhoto](../methods/photos_updateProfilePhoto.md) +[$MadelineProto->photos->updateProfilePhoto](../methods/photos.updateProfilePhoto.md) diff --git a/old_docs/API_docs_v97/types/WallPaper.md b/old_docs/API_docs_v97/types/WallPaper.md index ccaafe2f..89033d7e 100644 --- a/old_docs/API_docs_v97/types/WallPaper.md +++ b/old_docs/API_docs_v97/types/WallPaper.md @@ -16,9 +16,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->account->getWallPaper](../methods/account_getWallPaper.md) +[$MadelineProto->account->getWallPaper](../methods/account.getWallPaper.md) -[$MadelineProto->account->uploadWallPaper](../methods/account_uploadWallPaper.md) +[$MadelineProto->account->uploadWallPaper](../methods/account.uploadWallPaper.md) diff --git a/old_docs/API_docs_v97/types/WebPage.md b/old_docs/API_docs_v97/types/WebPage.md index a3df791f..f6b61c5e 100644 --- a/old_docs/API_docs_v97/types/WebPage.md +++ b/old_docs/API_docs_v97/types/WebPage.md @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ### Methods that return an object of this type (methods): -[$MadelineProto->messages->getWebPage](../methods/messages_getWebPage.md) +[$MadelineProto->messages->getWebPage](../methods/messages.getWebPage.md) diff --git a/old_docs/API_docs_v97/types/account.AuthorizationForm.md b/old_docs/API_docs_v97/types/account.AuthorizationForm.md new file mode 100644 index 00000000..860ff40f --- /dev/null +++ b/old_docs/API_docs_v97/types/account.AuthorizationForm.md @@ -0,0 +1,22 @@ +--- +title: account.AuthorizationForm +description: constructors and methods of type account.AuthorizationForm +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.AuthorizationForm +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.authorizationForm](../constructors/account.authorizationForm.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getAuthorizationForm](../methods/account.getAuthorizationForm.md) + + + diff --git a/old_docs/API_docs_v97/types/account.Authorizations.md b/old_docs/API_docs_v97/types/account.Authorizations.md new file mode 100644 index 00000000..f9112038 --- /dev/null +++ b/old_docs/API_docs_v97/types/account.Authorizations.md @@ -0,0 +1,22 @@ +--- +title: account.Authorizations +description: constructors and methods of type account.Authorizations +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.Authorizations +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.authorizations](../constructors/account.authorizations.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getAuthorizations](../methods/account.getAuthorizations.md) + + + diff --git a/old_docs/API_docs_v97/types/account.AutoDownloadSettings.md b/old_docs/API_docs_v97/types/account.AutoDownloadSettings.md new file mode 100644 index 00000000..e2ee0f6c --- /dev/null +++ b/old_docs/API_docs_v97/types/account.AutoDownloadSettings.md @@ -0,0 +1,22 @@ +--- +title: account.AutoDownloadSettings +description: constructors and methods of type account.AutoDownloadSettings +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.AutoDownloadSettings +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.autoDownloadSettings](../constructors/account.autoDownloadSettings.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getAutoDownloadSettings](../methods/account.getAutoDownloadSettings.md) + + + diff --git a/old_docs/API_docs_v97/types/account.Password.md b/old_docs/API_docs_v97/types/account.Password.md new file mode 100644 index 00000000..190704a3 --- /dev/null +++ b/old_docs/API_docs_v97/types/account.Password.md @@ -0,0 +1,22 @@ +--- +title: account.Password +description: constructors and methods of type account.Password +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.Password +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.password](../constructors/account.password.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getPassword](../methods/account.getPassword.md) + + + diff --git a/old_docs/API_docs_v97/types/account.PasswordInputSettings.md b/old_docs/API_docs_v97/types/account.PasswordInputSettings.md new file mode 100644 index 00000000..72e11fdc --- /dev/null +++ b/old_docs/API_docs_v97/types/account.PasswordInputSettings.md @@ -0,0 +1,20 @@ +--- +title: account.PasswordInputSettings +description: constructors and methods of type account.PasswordInputSettings +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.PasswordInputSettings +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.passwordInputSettings](../constructors/account.passwordInputSettings.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v97/types/account.PasswordSettings.md b/old_docs/API_docs_v97/types/account.PasswordSettings.md new file mode 100644 index 00000000..47016832 --- /dev/null +++ b/old_docs/API_docs_v97/types/account.PasswordSettings.md @@ -0,0 +1,22 @@ +--- +title: account.PasswordSettings +description: constructors and methods of type account.PasswordSettings +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.PasswordSettings +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.passwordSettings](../constructors/account.passwordSettings.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getPasswordSettings](../methods/account.getPasswordSettings.md) + + + diff --git a/old_docs/API_docs_v97/types/account.PrivacyRules.md b/old_docs/API_docs_v97/types/account.PrivacyRules.md new file mode 100644 index 00000000..738651ad --- /dev/null +++ b/old_docs/API_docs_v97/types/account.PrivacyRules.md @@ -0,0 +1,24 @@ +--- +title: account.PrivacyRules +description: constructors and methods of type account.PrivacyRules +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.PrivacyRules +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.privacyRules](../constructors/account.privacyRules.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getPrivacy](../methods/account.getPrivacy.md) + +[$MadelineProto->account->setPrivacy](../methods/account.setPrivacy.md) + + + diff --git a/old_docs/API_docs_v97/types/account.SentEmailCode.md b/old_docs/API_docs_v97/types/account.SentEmailCode.md new file mode 100644 index 00000000..6adcd649 --- /dev/null +++ b/old_docs/API_docs_v97/types/account.SentEmailCode.md @@ -0,0 +1,22 @@ +--- +title: account.SentEmailCode +description: constructors and methods of type account.SentEmailCode +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.SentEmailCode +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.sentEmailCode](../constructors/account.sentEmailCode.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->sendVerifyEmailCode](../methods/account.sendVerifyEmailCode.md) + + + diff --git a/old_docs/API_docs_v97/types/account.Takeout.md b/old_docs/API_docs_v97/types/account.Takeout.md new file mode 100644 index 00000000..96998ce4 --- /dev/null +++ b/old_docs/API_docs_v97/types/account.Takeout.md @@ -0,0 +1,22 @@ +--- +title: account.Takeout +description: constructors and methods of type account.Takeout +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.Takeout +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.takeout](../constructors/account.takeout.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->initTakeoutSession](../methods/account.initTakeoutSession.md) + + + diff --git a/old_docs/API_docs_v97/types/account.TmpPassword.md b/old_docs/API_docs_v97/types/account.TmpPassword.md new file mode 100644 index 00000000..2116c6c0 --- /dev/null +++ b/old_docs/API_docs_v97/types/account.TmpPassword.md @@ -0,0 +1,22 @@ +--- +title: account.TmpPassword +description: constructors and methods of type account.TmpPassword +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.TmpPassword +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.tmpPassword](../constructors/account.tmpPassword.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getTmpPassword](../methods/account.getTmpPassword.md) + + + diff --git a/old_docs/API_docs_v97/types/account.WallPapers.md b/old_docs/API_docs_v97/types/account.WallPapers.md new file mode 100644 index 00000000..13d11d26 --- /dev/null +++ b/old_docs/API_docs_v97/types/account.WallPapers.md @@ -0,0 +1,24 @@ +--- +title: account.WallPapers +description: constructors and methods of type account.WallPapers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.WallPapers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.wallPapersNotModified](../constructors/account.wallPapersNotModified.md) + +[account.wallPapers](../constructors/account.wallPapers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getWallPapers](../methods/account.getWallPapers.md) + + + diff --git a/old_docs/API_docs_v97/types/account.WebAuthorizations.md b/old_docs/API_docs_v97/types/account.WebAuthorizations.md new file mode 100644 index 00000000..931633ef --- /dev/null +++ b/old_docs/API_docs_v97/types/account.WebAuthorizations.md @@ -0,0 +1,22 @@ +--- +title: account.WebAuthorizations +description: constructors and methods of type account.WebAuthorizations +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: account.WebAuthorizations +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account.webAuthorizations](../constructors/account.webAuthorizations.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getWebAuthorizations](../methods/account.getWebAuthorizations.md) + + + diff --git a/old_docs/API_docs_v97/types/account_AuthorizationForm.md b/old_docs/API_docs_v97/types/account_AuthorizationForm.md deleted file mode 100644 index 5eec2b92..00000000 --- a/old_docs/API_docs_v97/types/account_AuthorizationForm.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_AuthorizationForm -description: constructors and methods of type account_AuthorizationForm -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_AuthorizationForm -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_authorizationForm](../constructors/account_authorizationForm.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getAuthorizationForm](../methods/account_getAuthorizationForm.md) - - - diff --git a/old_docs/API_docs_v97/types/account_Authorizations.md b/old_docs/API_docs_v97/types/account_Authorizations.md deleted file mode 100644 index 4709ddb5..00000000 --- a/old_docs/API_docs_v97/types/account_Authorizations.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_Authorizations -description: constructors and methods of type account_Authorizations -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_Authorizations -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_authorizations](../constructors/account_authorizations.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getAuthorizations](../methods/account_getAuthorizations.md) - - - diff --git a/old_docs/API_docs_v97/types/account_AutoDownloadSettings.md b/old_docs/API_docs_v97/types/account_AutoDownloadSettings.md deleted file mode 100644 index 6df664df..00000000 --- a/old_docs/API_docs_v97/types/account_AutoDownloadSettings.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_AutoDownloadSettings -description: constructors and methods of type account_AutoDownloadSettings -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_AutoDownloadSettings -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_autoDownloadSettings](../constructors/account_autoDownloadSettings.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getAutoDownloadSettings](../methods/account_getAutoDownloadSettings.md) - - - diff --git a/old_docs/API_docs_v97/types/account_Password.md b/old_docs/API_docs_v97/types/account_Password.md deleted file mode 100644 index f3b6e065..00000000 --- a/old_docs/API_docs_v97/types/account_Password.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_Password -description: constructors and methods of type account_Password -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_Password -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_password](../constructors/account_password.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getPassword](../methods/account_getPassword.md) - - - diff --git a/old_docs/API_docs_v97/types/account_PasswordInputSettings.md b/old_docs/API_docs_v97/types/account_PasswordInputSettings.md deleted file mode 100644 index a6455eb8..00000000 --- a/old_docs/API_docs_v97/types/account_PasswordInputSettings.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: account_PasswordInputSettings -description: constructors and methods of type account_PasswordInputSettings -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_PasswordInputSettings -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_passwordInputSettings](../constructors/account_passwordInputSettings.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v97/types/account_PasswordSettings.md b/old_docs/API_docs_v97/types/account_PasswordSettings.md deleted file mode 100644 index 687eb217..00000000 --- a/old_docs/API_docs_v97/types/account_PasswordSettings.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_PasswordSettings -description: constructors and methods of type account_PasswordSettings -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_PasswordSettings -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_passwordSettings](../constructors/account_passwordSettings.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getPasswordSettings](../methods/account_getPasswordSettings.md) - - - diff --git a/old_docs/API_docs_v97/types/account_PrivacyRules.md b/old_docs/API_docs_v97/types/account_PrivacyRules.md deleted file mode 100644 index 40b00077..00000000 --- a/old_docs/API_docs_v97/types/account_PrivacyRules.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: account_PrivacyRules -description: constructors and methods of type account_PrivacyRules -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_PrivacyRules -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_privacyRules](../constructors/account_privacyRules.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getPrivacy](../methods/account_getPrivacy.md) - -[$MadelineProto->account->setPrivacy](../methods/account_setPrivacy.md) - - - diff --git a/old_docs/API_docs_v97/types/account_SentEmailCode.md b/old_docs/API_docs_v97/types/account_SentEmailCode.md deleted file mode 100644 index 4aa38335..00000000 --- a/old_docs/API_docs_v97/types/account_SentEmailCode.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_SentEmailCode -description: constructors and methods of type account_SentEmailCode -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_SentEmailCode -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_sentEmailCode](../constructors/account_sentEmailCode.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->sendVerifyEmailCode](../methods/account_sendVerifyEmailCode.md) - - - diff --git a/old_docs/API_docs_v97/types/account_Takeout.md b/old_docs/API_docs_v97/types/account_Takeout.md deleted file mode 100644 index 26960f88..00000000 --- a/old_docs/API_docs_v97/types/account_Takeout.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_Takeout -description: constructors and methods of type account_Takeout -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_Takeout -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_takeout](../constructors/account_takeout.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->initTakeoutSession](../methods/account_initTakeoutSession.md) - - - diff --git a/old_docs/API_docs_v97/types/account_TmpPassword.md b/old_docs/API_docs_v97/types/account_TmpPassword.md deleted file mode 100644 index d7557921..00000000 --- a/old_docs/API_docs_v97/types/account_TmpPassword.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_TmpPassword -description: constructors and methods of type account_TmpPassword -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_TmpPassword -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_tmpPassword](../constructors/account_tmpPassword.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getTmpPassword](../methods/account_getTmpPassword.md) - - - diff --git a/old_docs/API_docs_v97/types/account_WallPapers.md b/old_docs/API_docs_v97/types/account_WallPapers.md deleted file mode 100644 index 6a082a9a..00000000 --- a/old_docs/API_docs_v97/types/account_WallPapers.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: account_WallPapers -description: constructors and methods of type account_WallPapers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_WallPapers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_wallPapersNotModified](../constructors/account_wallPapersNotModified.md) - -[account\_wallPapers](../constructors/account_wallPapers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getWallPapers](../methods/account_getWallPapers.md) - - - diff --git a/old_docs/API_docs_v97/types/account_WebAuthorizations.md b/old_docs/API_docs_v97/types/account_WebAuthorizations.md deleted file mode 100644 index 1202632b..00000000 --- a/old_docs/API_docs_v97/types/account_WebAuthorizations.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: account_WebAuthorizations -description: constructors and methods of type account_WebAuthorizations -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: account\_WebAuthorizations -[Back to types index](index.md) - - - -### Possible values (constructors): - -[account\_webAuthorizations](../constructors/account_webAuthorizations.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->account->getWebAuthorizations](../methods/account_getWebAuthorizations.md) - - - diff --git a/old_docs/API_docs_v97/types/auth.Authorization.md b/old_docs/API_docs_v97/types/auth.Authorization.md new file mode 100644 index 00000000..adcfa7d3 --- /dev/null +++ b/old_docs/API_docs_v97/types/auth.Authorization.md @@ -0,0 +1,32 @@ +--- +title: auth.Authorization +description: constructors and methods of type auth.Authorization +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.Authorization +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.authorization](../constructors/auth.authorization.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->signUp](../methods/auth.signUp.md) + +[$MadelineProto->auth->signIn](../methods/auth.signIn.md) + +[$MadelineProto->auth->importAuthorization](../methods/auth.importAuthorization.md) + +[$MadelineProto->auth->importBotAuthorization](../methods/auth.importBotAuthorization.md) + +[$MadelineProto->auth->checkPassword](../methods/auth.checkPassword.md) + +[$MadelineProto->auth->recoverPassword](../methods/auth.recoverPassword.md) + + + diff --git a/old_docs/API_docs_v97/types/auth.CheckedPhone.md b/old_docs/API_docs_v97/types/auth.CheckedPhone.md new file mode 100644 index 00000000..1d6672e7 --- /dev/null +++ b/old_docs/API_docs_v97/types/auth.CheckedPhone.md @@ -0,0 +1,20 @@ +--- +title: auth.CheckedPhone +description: constructors and methods of type auth.CheckedPhone +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.CheckedPhone +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.checkedPhone](../constructors/auth.checkedPhone.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v97/types/auth.CodeType.md b/old_docs/API_docs_v97/types/auth.CodeType.md new file mode 100644 index 00000000..8d2b308d --- /dev/null +++ b/old_docs/API_docs_v97/types/auth.CodeType.md @@ -0,0 +1,24 @@ +--- +title: auth.CodeType +description: constructors and methods of type auth.CodeType +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.CodeType +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.codeTypeSms](../constructors/auth.codeTypeSms.md) + +[auth.codeTypeCall](../constructors/auth.codeTypeCall.md) + +[auth.codeTypeFlashCall](../constructors/auth.codeTypeFlashCall.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v97/types/auth.ExportedAuthorization.md b/old_docs/API_docs_v97/types/auth.ExportedAuthorization.md new file mode 100644 index 00000000..ccb38d60 --- /dev/null +++ b/old_docs/API_docs_v97/types/auth.ExportedAuthorization.md @@ -0,0 +1,22 @@ +--- +title: auth.ExportedAuthorization +description: constructors and methods of type auth.ExportedAuthorization +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.ExportedAuthorization +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.exportedAuthorization](../constructors/auth.exportedAuthorization.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->exportAuthorization](../methods/auth.exportAuthorization.md) + + + diff --git a/old_docs/API_docs_v97/types/auth.PasswordRecovery.md b/old_docs/API_docs_v97/types/auth.PasswordRecovery.md new file mode 100644 index 00000000..c1c18992 --- /dev/null +++ b/old_docs/API_docs_v97/types/auth.PasswordRecovery.md @@ -0,0 +1,22 @@ +--- +title: auth.PasswordRecovery +description: constructors and methods of type auth.PasswordRecovery +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.PasswordRecovery +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.passwordRecovery](../constructors/auth.passwordRecovery.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->requestPasswordRecovery](../methods/auth.requestPasswordRecovery.md) + + + diff --git a/old_docs/API_docs_v97/types/auth.SentCode.md b/old_docs/API_docs_v97/types/auth.SentCode.md new file mode 100644 index 00000000..4950edeb --- /dev/null +++ b/old_docs/API_docs_v97/types/auth.SentCode.md @@ -0,0 +1,30 @@ +--- +title: auth.SentCode +description: constructors and methods of type auth.SentCode +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.SentCode +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.sentCode](../constructors/auth.sentCode.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->sendCode](../methods/auth.sendCode.md) + +[$MadelineProto->auth->resendCode](../methods/auth.resendCode.md) + +[$MadelineProto->account->sendChangePhoneCode](../methods/account.sendChangePhoneCode.md) + +[$MadelineProto->account->sendConfirmPhoneCode](../methods/account.sendConfirmPhoneCode.md) + +[$MadelineProto->account->sendVerifyPhoneCode](../methods/account.sendVerifyPhoneCode.md) + + + diff --git a/old_docs/API_docs_v97/types/auth.SentCodeType.md b/old_docs/API_docs_v97/types/auth.SentCodeType.md new file mode 100644 index 00000000..7c7c534e --- /dev/null +++ b/old_docs/API_docs_v97/types/auth.SentCodeType.md @@ -0,0 +1,26 @@ +--- +title: auth.SentCodeType +description: constructors and methods of type auth.SentCodeType +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: auth.SentCodeType +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth.sentCodeTypeApp](../constructors/auth.sentCodeTypeApp.md) + +[auth.sentCodeTypeSms](../constructors/auth.sentCodeTypeSms.md) + +[auth.sentCodeTypeCall](../constructors/auth.sentCodeTypeCall.md) + +[auth.sentCodeTypeFlashCall](../constructors/auth.sentCodeTypeFlashCall.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v97/types/auth_Authorization.md b/old_docs/API_docs_v97/types/auth_Authorization.md deleted file mode 100644 index 5a34fc2d..00000000 --- a/old_docs/API_docs_v97/types/auth_Authorization.md +++ /dev/null @@ -1,32 +0,0 @@ ---- -title: auth_Authorization -description: constructors and methods of type auth_Authorization -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_Authorization -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_authorization](../constructors/auth_authorization.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->signUp](../methods/auth_signUp.md) - -[$MadelineProto->auth->signIn](../methods/auth_signIn.md) - -[$MadelineProto->auth->importAuthorization](../methods/auth_importAuthorization.md) - -[$MadelineProto->auth->importBotAuthorization](../methods/auth_importBotAuthorization.md) - -[$MadelineProto->auth->checkPassword](../methods/auth_checkPassword.md) - -[$MadelineProto->auth->recoverPassword](../methods/auth_recoverPassword.md) - - - diff --git a/old_docs/API_docs_v97/types/auth_CheckedPhone.md b/old_docs/API_docs_v97/types/auth_CheckedPhone.md deleted file mode 100644 index e2b823f7..00000000 --- a/old_docs/API_docs_v97/types/auth_CheckedPhone.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: auth_CheckedPhone -description: constructors and methods of type auth_CheckedPhone -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_CheckedPhone -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_checkedPhone](../constructors/auth_checkedPhone.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v97/types/auth_CodeType.md b/old_docs/API_docs_v97/types/auth_CodeType.md deleted file mode 100644 index 3cd9a7b7..00000000 --- a/old_docs/API_docs_v97/types/auth_CodeType.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: auth_CodeType -description: constructors and methods of type auth_CodeType -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_CodeType -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_codeTypeSms](../constructors/auth_codeTypeSms.md) - -[auth\_codeTypeCall](../constructors/auth_codeTypeCall.md) - -[auth\_codeTypeFlashCall](../constructors/auth_codeTypeFlashCall.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v97/types/auth_ExportedAuthorization.md b/old_docs/API_docs_v97/types/auth_ExportedAuthorization.md deleted file mode 100644 index 69e5c42e..00000000 --- a/old_docs/API_docs_v97/types/auth_ExportedAuthorization.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: auth_ExportedAuthorization -description: constructors and methods of type auth_ExportedAuthorization -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_ExportedAuthorization -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_exportedAuthorization](../constructors/auth_exportedAuthorization.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->exportAuthorization](../methods/auth_exportAuthorization.md) - - - diff --git a/old_docs/API_docs_v97/types/auth_PasswordRecovery.md b/old_docs/API_docs_v97/types/auth_PasswordRecovery.md deleted file mode 100644 index 4962bf42..00000000 --- a/old_docs/API_docs_v97/types/auth_PasswordRecovery.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: auth_PasswordRecovery -description: constructors and methods of type auth_PasswordRecovery -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_PasswordRecovery -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_passwordRecovery](../constructors/auth_passwordRecovery.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->requestPasswordRecovery](../methods/auth_requestPasswordRecovery.md) - - - diff --git a/old_docs/API_docs_v97/types/auth_SentCode.md b/old_docs/API_docs_v97/types/auth_SentCode.md deleted file mode 100644 index 140d956c..00000000 --- a/old_docs/API_docs_v97/types/auth_SentCode.md +++ /dev/null @@ -1,30 +0,0 @@ ---- -title: auth_SentCode -description: constructors and methods of type auth_SentCode -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_SentCode -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_sentCode](../constructors/auth_sentCode.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->auth->sendCode](../methods/auth_sendCode.md) - -[$MadelineProto->auth->resendCode](../methods/auth_resendCode.md) - -[$MadelineProto->account->sendChangePhoneCode](../methods/account_sendChangePhoneCode.md) - -[$MadelineProto->account->sendConfirmPhoneCode](../methods/account_sendConfirmPhoneCode.md) - -[$MadelineProto->account->sendVerifyPhoneCode](../methods/account_sendVerifyPhoneCode.md) - - - diff --git a/old_docs/API_docs_v97/types/auth_SentCodeType.md b/old_docs/API_docs_v97/types/auth_SentCodeType.md deleted file mode 100644 index 8dfcb93b..00000000 --- a/old_docs/API_docs_v97/types/auth_SentCodeType.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: auth_SentCodeType -description: constructors and methods of type auth_SentCodeType -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: auth\_SentCodeType -[Back to types index](index.md) - - - -### Possible values (constructors): - -[auth\_sentCodeTypeApp](../constructors/auth_sentCodeTypeApp.md) - -[auth\_sentCodeTypeSms](../constructors/auth_sentCodeTypeSms.md) - -[auth\_sentCodeTypeCall](../constructors/auth_sentCodeTypeCall.md) - -[auth\_sentCodeTypeFlashCall](../constructors/auth_sentCodeTypeFlashCall.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v97/types/channels.AdminLogResults.md b/old_docs/API_docs_v97/types/channels.AdminLogResults.md new file mode 100644 index 00000000..7855a4fd --- /dev/null +++ b/old_docs/API_docs_v97/types/channels.AdminLogResults.md @@ -0,0 +1,22 @@ +--- +title: channels.AdminLogResults +description: constructors and methods of type channels.AdminLogResults +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: channels.AdminLogResults +[Back to types index](index.md) + + + +### Possible values (constructors): + +[channels.adminLogResults](../constructors/channels.adminLogResults.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->channels->getAdminLog](../methods/channels.getAdminLog.md) + + + diff --git a/old_docs/API_docs_v97/types/channels.ChannelParticipant.md b/old_docs/API_docs_v97/types/channels.ChannelParticipant.md new file mode 100644 index 00000000..8dc7f7e6 --- /dev/null +++ b/old_docs/API_docs_v97/types/channels.ChannelParticipant.md @@ -0,0 +1,22 @@ +--- +title: channels.ChannelParticipant +description: constructors and methods of type channels.ChannelParticipant +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: channels.ChannelParticipant +[Back to types index](index.md) + + + +### Possible values (constructors): + +[channels.channelParticipant](../constructors/channels.channelParticipant.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->channels->getParticipant](../methods/channels.getParticipant.md) + + + diff --git a/old_docs/API_docs_v97/types/channels.ChannelParticipants.md b/old_docs/API_docs_v97/types/channels.ChannelParticipants.md new file mode 100644 index 00000000..d448e007 --- /dev/null +++ b/old_docs/API_docs_v97/types/channels.ChannelParticipants.md @@ -0,0 +1,24 @@ +--- +title: channels.ChannelParticipants +description: constructors and methods of type channels.ChannelParticipants +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: channels.ChannelParticipants +[Back to types index](index.md) + + + +### Possible values (constructors): + +[channels.channelParticipants](../constructors/channels.channelParticipants.md) + +[channels.channelParticipantsNotModified](../constructors/channels.channelParticipantsNotModified.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->channels->getParticipants](../methods/channels.getParticipants.md) + + + diff --git a/old_docs/API_docs_v97/types/channels_AdminLogResults.md b/old_docs/API_docs_v97/types/channels_AdminLogResults.md deleted file mode 100644 index 4e9b5544..00000000 --- a/old_docs/API_docs_v97/types/channels_AdminLogResults.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: channels_AdminLogResults -description: constructors and methods of type channels_AdminLogResults -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: channels\_AdminLogResults -[Back to types index](index.md) - - - -### Possible values (constructors): - -[channels\_adminLogResults](../constructors/channels_adminLogResults.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->channels->getAdminLog](../methods/channels_getAdminLog.md) - - - diff --git a/old_docs/API_docs_v97/types/channels_ChannelParticipant.md b/old_docs/API_docs_v97/types/channels_ChannelParticipant.md deleted file mode 100644 index 3d4667c3..00000000 --- a/old_docs/API_docs_v97/types/channels_ChannelParticipant.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: channels_ChannelParticipant -description: constructors and methods of type channels_ChannelParticipant -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: channels\_ChannelParticipant -[Back to types index](index.md) - - - -### Possible values (constructors): - -[channels\_channelParticipant](../constructors/channels_channelParticipant.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->channels->getParticipant](../methods/channels_getParticipant.md) - - - diff --git a/old_docs/API_docs_v97/types/channels_ChannelParticipants.md b/old_docs/API_docs_v97/types/channels_ChannelParticipants.md deleted file mode 100644 index 80a41dd9..00000000 --- a/old_docs/API_docs_v97/types/channels_ChannelParticipants.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: channels_ChannelParticipants -description: constructors and methods of type channels_ChannelParticipants -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: channels\_ChannelParticipants -[Back to types index](index.md) - - - -### Possible values (constructors): - -[channels\_channelParticipants](../constructors/channels_channelParticipants.md) - -[channels\_channelParticipantsNotModified](../constructors/channels_channelParticipantsNotModified.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->channels->getParticipants](../methods/channels_getParticipants.md) - - - diff --git a/old_docs/API_docs_v97/types/contacts.Blocked.md b/old_docs/API_docs_v97/types/contacts.Blocked.md new file mode 100644 index 00000000..cb2af80f --- /dev/null +++ b/old_docs/API_docs_v97/types/contacts.Blocked.md @@ -0,0 +1,24 @@ +--- +title: contacts.Blocked +description: constructors and methods of type contacts.Blocked +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Blocked +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.blocked](../constructors/contacts.blocked.md) + +[contacts.blockedSlice](../constructors/contacts.blockedSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getBlocked](../methods/contacts.getBlocked.md) + + + diff --git a/old_docs/API_docs_v97/types/contacts.Contacts.md b/old_docs/API_docs_v97/types/contacts.Contacts.md new file mode 100644 index 00000000..5f695d8e --- /dev/null +++ b/old_docs/API_docs_v97/types/contacts.Contacts.md @@ -0,0 +1,24 @@ +--- +title: contacts.Contacts +description: constructors and methods of type contacts.Contacts +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Contacts +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.contactsNotModified](../constructors/contacts.contactsNotModified.md) + +[contacts.contacts](../constructors/contacts.contacts.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getContacts](../methods/contacts.getContacts.md) + + + diff --git a/old_docs/API_docs_v97/types/contacts.Found.md b/old_docs/API_docs_v97/types/contacts.Found.md new file mode 100644 index 00000000..7df98927 --- /dev/null +++ b/old_docs/API_docs_v97/types/contacts.Found.md @@ -0,0 +1,22 @@ +--- +title: contacts.Found +description: constructors and methods of type contacts.Found +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Found +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.found](../constructors/contacts.found.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->search](../methods/contacts.search.md) + + + diff --git a/old_docs/API_docs_v97/types/contacts.ImportedContacts.md b/old_docs/API_docs_v97/types/contacts.ImportedContacts.md new file mode 100644 index 00000000..16795bab --- /dev/null +++ b/old_docs/API_docs_v97/types/contacts.ImportedContacts.md @@ -0,0 +1,22 @@ +--- +title: contacts.ImportedContacts +description: constructors and methods of type contacts.ImportedContacts +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.ImportedContacts +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.importedContacts](../constructors/contacts.importedContacts.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->importContacts](../methods/contacts.importContacts.md) + + + diff --git a/old_docs/API_docs_v97/types/contacts.Link.md b/old_docs/API_docs_v97/types/contacts.Link.md new file mode 100644 index 00000000..eb9da683 --- /dev/null +++ b/old_docs/API_docs_v97/types/contacts.Link.md @@ -0,0 +1,22 @@ +--- +title: contacts.Link +description: constructors and methods of type contacts.Link +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.Link +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.link](../constructors/contacts.link.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->deleteContact](../methods/contacts.deleteContact.md) + + + diff --git a/old_docs/API_docs_v97/types/contacts.ResolvedPeer.md b/old_docs/API_docs_v97/types/contacts.ResolvedPeer.md new file mode 100644 index 00000000..13630d54 --- /dev/null +++ b/old_docs/API_docs_v97/types/contacts.ResolvedPeer.md @@ -0,0 +1,22 @@ +--- +title: contacts.ResolvedPeer +description: constructors and methods of type contacts.ResolvedPeer +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.ResolvedPeer +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.resolvedPeer](../constructors/contacts.resolvedPeer.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->resolveUsername](../methods/contacts.resolveUsername.md) + + + diff --git a/old_docs/API_docs_v97/types/contacts.TopPeers.md b/old_docs/API_docs_v97/types/contacts.TopPeers.md new file mode 100644 index 00000000..563e63aa --- /dev/null +++ b/old_docs/API_docs_v97/types/contacts.TopPeers.md @@ -0,0 +1,26 @@ +--- +title: contacts.TopPeers +description: constructors and methods of type contacts.TopPeers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: contacts.TopPeers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts.topPeersNotModified](../constructors/contacts.topPeersNotModified.md) + +[contacts.topPeers](../constructors/contacts.topPeers.md) + +[contacts.topPeersDisabled](../constructors/contacts.topPeersDisabled.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getTopPeers](../methods/contacts.getTopPeers.md) + + + diff --git a/old_docs/API_docs_v97/types/contacts_Blocked.md b/old_docs/API_docs_v97/types/contacts_Blocked.md deleted file mode 100644 index 3e1f02eb..00000000 --- a/old_docs/API_docs_v97/types/contacts_Blocked.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: contacts_Blocked -description: constructors and methods of type contacts_Blocked -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Blocked -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_blocked](../constructors/contacts_blocked.md) - -[contacts\_blockedSlice](../constructors/contacts_blockedSlice.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->getBlocked](../methods/contacts_getBlocked.md) - - - diff --git a/old_docs/API_docs_v97/types/contacts_Contacts.md b/old_docs/API_docs_v97/types/contacts_Contacts.md deleted file mode 100644 index 5d6c9506..00000000 --- a/old_docs/API_docs_v97/types/contacts_Contacts.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: contacts_Contacts -description: constructors and methods of type contacts_Contacts -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Contacts -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_contactsNotModified](../constructors/contacts_contactsNotModified.md) - -[contacts\_contacts](../constructors/contacts_contacts.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->getContacts](../methods/contacts_getContacts.md) - - - diff --git a/old_docs/API_docs_v97/types/contacts_Found.md b/old_docs/API_docs_v97/types/contacts_Found.md deleted file mode 100644 index 806101cf..00000000 --- a/old_docs/API_docs_v97/types/contacts_Found.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_Found -description: constructors and methods of type contacts_Found -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Found -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_found](../constructors/contacts_found.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->search](../methods/contacts_search.md) - - - diff --git a/old_docs/API_docs_v97/types/contacts_ImportedContacts.md b/old_docs/API_docs_v97/types/contacts_ImportedContacts.md deleted file mode 100644 index faf7e615..00000000 --- a/old_docs/API_docs_v97/types/contacts_ImportedContacts.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_ImportedContacts -description: constructors and methods of type contacts_ImportedContacts -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_ImportedContacts -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_importedContacts](../constructors/contacts_importedContacts.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->importContacts](../methods/contacts_importContacts.md) - - - diff --git a/old_docs/API_docs_v97/types/contacts_Link.md b/old_docs/API_docs_v97/types/contacts_Link.md deleted file mode 100644 index 01556606..00000000 --- a/old_docs/API_docs_v97/types/contacts_Link.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_Link -description: constructors and methods of type contacts_Link -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_Link -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_link](../constructors/contacts_link.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->deleteContact](../methods/contacts_deleteContact.md) - - - diff --git a/old_docs/API_docs_v97/types/contacts_ResolvedPeer.md b/old_docs/API_docs_v97/types/contacts_ResolvedPeer.md deleted file mode 100644 index cf107f7c..00000000 --- a/old_docs/API_docs_v97/types/contacts_ResolvedPeer.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: contacts_ResolvedPeer -description: constructors and methods of type contacts_ResolvedPeer -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_ResolvedPeer -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_resolvedPeer](../constructors/contacts_resolvedPeer.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->resolveUsername](../methods/contacts_resolveUsername.md) - - - diff --git a/old_docs/API_docs_v97/types/contacts_TopPeers.md b/old_docs/API_docs_v97/types/contacts_TopPeers.md deleted file mode 100644 index dc8ee478..00000000 --- a/old_docs/API_docs_v97/types/contacts_TopPeers.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: contacts_TopPeers -description: constructors and methods of type contacts_TopPeers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: contacts\_TopPeers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[contacts\_topPeersNotModified](../constructors/contacts_topPeersNotModified.md) - -[contacts\_topPeers](../constructors/contacts_topPeers.md) - -[contacts\_topPeersDisabled](../constructors/contacts_topPeersDisabled.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->contacts->getTopPeers](../methods/contacts_getTopPeers.md) - - - diff --git a/old_docs/API_docs_v97/types/help.AppUpdate.md b/old_docs/API_docs_v97/types/help.AppUpdate.md new file mode 100644 index 00000000..285ec2b7 --- /dev/null +++ b/old_docs/API_docs_v97/types/help.AppUpdate.md @@ -0,0 +1,24 @@ +--- +title: help.AppUpdate +description: constructors and methods of type help.AppUpdate +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.AppUpdate +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.appUpdate](../constructors/help.appUpdate.md) + +[help.noAppUpdate](../constructors/help.noAppUpdate.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getAppUpdate](../methods/help.getAppUpdate.md) + + + diff --git a/old_docs/API_docs_v97/types/help.ConfigSimple.md b/old_docs/API_docs_v97/types/help.ConfigSimple.md new file mode 100644 index 00000000..92d9e15f --- /dev/null +++ b/old_docs/API_docs_v97/types/help.ConfigSimple.md @@ -0,0 +1,20 @@ +--- +title: help.ConfigSimple +description: constructors and methods of type help.ConfigSimple +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.ConfigSimple +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.configSimple](../constructors/help.configSimple.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v97/types/help.DeepLinkInfo.md b/old_docs/API_docs_v97/types/help.DeepLinkInfo.md new file mode 100644 index 00000000..356af1c4 --- /dev/null +++ b/old_docs/API_docs_v97/types/help.DeepLinkInfo.md @@ -0,0 +1,24 @@ +--- +title: help.DeepLinkInfo +description: constructors and methods of type help.DeepLinkInfo +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.DeepLinkInfo +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.deepLinkInfoEmpty](../constructors/help.deepLinkInfoEmpty.md) + +[help.deepLinkInfo](../constructors/help.deepLinkInfo.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getDeepLinkInfo](../methods/help.getDeepLinkInfo.md) + + + diff --git a/old_docs/API_docs_v97/types/help.InviteText.md b/old_docs/API_docs_v97/types/help.InviteText.md new file mode 100644 index 00000000..43293f46 --- /dev/null +++ b/old_docs/API_docs_v97/types/help.InviteText.md @@ -0,0 +1,22 @@ +--- +title: help.InviteText +description: constructors and methods of type help.InviteText +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.InviteText +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.inviteText](../constructors/help.inviteText.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getInviteText](../methods/help.getInviteText.md) + + + diff --git a/old_docs/API_docs_v97/types/help.PassportConfig.md b/old_docs/API_docs_v97/types/help.PassportConfig.md new file mode 100644 index 00000000..15eb12cc --- /dev/null +++ b/old_docs/API_docs_v97/types/help.PassportConfig.md @@ -0,0 +1,24 @@ +--- +title: help.PassportConfig +description: constructors and methods of type help.PassportConfig +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.PassportConfig +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.passportConfigNotModified](../constructors/help.passportConfigNotModified.md) + +[help.passportConfig](../constructors/help.passportConfig.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getPassportConfig](../methods/help.getPassportConfig.md) + + + diff --git a/old_docs/API_docs_v97/types/help.ProxyData.md b/old_docs/API_docs_v97/types/help.ProxyData.md new file mode 100644 index 00000000..e45b4211 --- /dev/null +++ b/old_docs/API_docs_v97/types/help.ProxyData.md @@ -0,0 +1,24 @@ +--- +title: help.ProxyData +description: constructors and methods of type help.ProxyData +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.ProxyData +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.proxyDataEmpty](../constructors/help.proxyDataEmpty.md) + +[help.proxyDataPromo](../constructors/help.proxyDataPromo.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getProxyData](../methods/help.getProxyData.md) + + + diff --git a/old_docs/API_docs_v97/types/help.RecentMeUrls.md b/old_docs/API_docs_v97/types/help.RecentMeUrls.md new file mode 100644 index 00000000..6b7ee2c1 --- /dev/null +++ b/old_docs/API_docs_v97/types/help.RecentMeUrls.md @@ -0,0 +1,22 @@ +--- +title: help.RecentMeUrls +description: constructors and methods of type help.RecentMeUrls +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.RecentMeUrls +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.recentMeUrls](../constructors/help.recentMeUrls.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getRecentMeUrls](../methods/help.getRecentMeUrls.md) + + + diff --git a/old_docs/API_docs_v97/types/help.Support.md b/old_docs/API_docs_v97/types/help.Support.md new file mode 100644 index 00000000..42c20483 --- /dev/null +++ b/old_docs/API_docs_v97/types/help.Support.md @@ -0,0 +1,22 @@ +--- +title: help.Support +description: constructors and methods of type help.Support +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.Support +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.support](../constructors/help.support.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getSupport](../methods/help.getSupport.md) + + + diff --git a/old_docs/API_docs_v97/types/help.SupportName.md b/old_docs/API_docs_v97/types/help.SupportName.md new file mode 100644 index 00000000..7f68199a --- /dev/null +++ b/old_docs/API_docs_v97/types/help.SupportName.md @@ -0,0 +1,22 @@ +--- +title: help.SupportName +description: constructors and methods of type help.SupportName +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.SupportName +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.supportName](../constructors/help.supportName.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getSupportName](../methods/help.getSupportName.md) + + + diff --git a/old_docs/API_docs_v97/types/help.TermsOfService.md b/old_docs/API_docs_v97/types/help.TermsOfService.md new file mode 100644 index 00000000..d4d091e1 --- /dev/null +++ b/old_docs/API_docs_v97/types/help.TermsOfService.md @@ -0,0 +1,20 @@ +--- +title: help.TermsOfService +description: constructors and methods of type help.TermsOfService +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.TermsOfService +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.termsOfService](../constructors/help.termsOfService.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v97/types/help.TermsOfServiceUpdate.md b/old_docs/API_docs_v97/types/help.TermsOfServiceUpdate.md new file mode 100644 index 00000000..e27b3c71 --- /dev/null +++ b/old_docs/API_docs_v97/types/help.TermsOfServiceUpdate.md @@ -0,0 +1,24 @@ +--- +title: help.TermsOfServiceUpdate +description: constructors and methods of type help.TermsOfServiceUpdate +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.TermsOfServiceUpdate +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.termsOfServiceUpdateEmpty](../constructors/help.termsOfServiceUpdateEmpty.md) + +[help.termsOfServiceUpdate](../constructors/help.termsOfServiceUpdate.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getTermsOfServiceUpdate](../methods/help.getTermsOfServiceUpdate.md) + + + diff --git a/old_docs/API_docs_v97/types/help.UserInfo.md b/old_docs/API_docs_v97/types/help.UserInfo.md new file mode 100644 index 00000000..9d91ee40 --- /dev/null +++ b/old_docs/API_docs_v97/types/help.UserInfo.md @@ -0,0 +1,26 @@ +--- +title: help.UserInfo +description: constructors and methods of type help.UserInfo +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: help.UserInfo +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help.userInfoEmpty](../constructors/help.userInfoEmpty.md) + +[help.userInfo](../constructors/help.userInfo.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getUserInfo](../methods/help.getUserInfo.md) + +[$MadelineProto->help->editUserInfo](../methods/help.editUserInfo.md) + + + diff --git a/old_docs/API_docs_v97/types/help_AppUpdate.md b/old_docs/API_docs_v97/types/help_AppUpdate.md deleted file mode 100644 index 1f296a70..00000000 --- a/old_docs/API_docs_v97/types/help_AppUpdate.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: help_AppUpdate -description: constructors and methods of type help_AppUpdate -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_AppUpdate -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_appUpdate](../constructors/help_appUpdate.md) - -[help\_noAppUpdate](../constructors/help_noAppUpdate.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getAppUpdate](../methods/help_getAppUpdate.md) - - - diff --git a/old_docs/API_docs_v97/types/help_ConfigSimple.md b/old_docs/API_docs_v97/types/help_ConfigSimple.md deleted file mode 100644 index 81678d74..00000000 --- a/old_docs/API_docs_v97/types/help_ConfigSimple.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: help_ConfigSimple -description: constructors and methods of type help_ConfigSimple -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_ConfigSimple -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_configSimple](../constructors/help_configSimple.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v97/types/help_DeepLinkInfo.md b/old_docs/API_docs_v97/types/help_DeepLinkInfo.md deleted file mode 100644 index 776e8e09..00000000 --- a/old_docs/API_docs_v97/types/help_DeepLinkInfo.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: help_DeepLinkInfo -description: constructors and methods of type help_DeepLinkInfo -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_DeepLinkInfo -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_deepLinkInfoEmpty](../constructors/help_deepLinkInfoEmpty.md) - -[help\_deepLinkInfo](../constructors/help_deepLinkInfo.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getDeepLinkInfo](../methods/help_getDeepLinkInfo.md) - - - diff --git a/old_docs/API_docs_v97/types/help_InviteText.md b/old_docs/API_docs_v97/types/help_InviteText.md deleted file mode 100644 index 018d35bf..00000000 --- a/old_docs/API_docs_v97/types/help_InviteText.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: help_InviteText -description: constructors and methods of type help_InviteText -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_InviteText -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_inviteText](../constructors/help_inviteText.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getInviteText](../methods/help_getInviteText.md) - - - diff --git a/old_docs/API_docs_v97/types/help_PassportConfig.md b/old_docs/API_docs_v97/types/help_PassportConfig.md deleted file mode 100644 index e03abab7..00000000 --- a/old_docs/API_docs_v97/types/help_PassportConfig.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: help_PassportConfig -description: constructors and methods of type help_PassportConfig -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_PassportConfig -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_passportConfigNotModified](../constructors/help_passportConfigNotModified.md) - -[help\_passportConfig](../constructors/help_passportConfig.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getPassportConfig](../methods/help_getPassportConfig.md) - - - diff --git a/old_docs/API_docs_v97/types/help_ProxyData.md b/old_docs/API_docs_v97/types/help_ProxyData.md deleted file mode 100644 index 1bc6839e..00000000 --- a/old_docs/API_docs_v97/types/help_ProxyData.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: help_ProxyData -description: constructors and methods of type help_ProxyData -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_ProxyData -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_proxyDataEmpty](../constructors/help_proxyDataEmpty.md) - -[help\_proxyDataPromo](../constructors/help_proxyDataPromo.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getProxyData](../methods/help_getProxyData.md) - - - diff --git a/old_docs/API_docs_v97/types/help_RecentMeUrls.md b/old_docs/API_docs_v97/types/help_RecentMeUrls.md deleted file mode 100644 index 691af1c3..00000000 --- a/old_docs/API_docs_v97/types/help_RecentMeUrls.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: help_RecentMeUrls -description: constructors and methods of type help_RecentMeUrls -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_RecentMeUrls -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_recentMeUrls](../constructors/help_recentMeUrls.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getRecentMeUrls](../methods/help_getRecentMeUrls.md) - - - diff --git a/old_docs/API_docs_v97/types/help_Support.md b/old_docs/API_docs_v97/types/help_Support.md deleted file mode 100644 index 26de447b..00000000 --- a/old_docs/API_docs_v97/types/help_Support.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: help_Support -description: constructors and methods of type help_Support -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_Support -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_support](../constructors/help_support.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getSupport](../methods/help_getSupport.md) - - - diff --git a/old_docs/API_docs_v97/types/help_SupportName.md b/old_docs/API_docs_v97/types/help_SupportName.md deleted file mode 100644 index e89309a2..00000000 --- a/old_docs/API_docs_v97/types/help_SupportName.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: help_SupportName -description: constructors and methods of type help_SupportName -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_SupportName -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_supportName](../constructors/help_supportName.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getSupportName](../methods/help_getSupportName.md) - - - diff --git a/old_docs/API_docs_v97/types/help_TermsOfService.md b/old_docs/API_docs_v97/types/help_TermsOfService.md deleted file mode 100644 index 24f8eb68..00000000 --- a/old_docs/API_docs_v97/types/help_TermsOfService.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: help_TermsOfService -description: constructors and methods of type help_TermsOfService -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_TermsOfService -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_termsOfService](../constructors/help_termsOfService.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v97/types/help_TermsOfServiceUpdate.md b/old_docs/API_docs_v97/types/help_TermsOfServiceUpdate.md deleted file mode 100644 index 0e4f1ef2..00000000 --- a/old_docs/API_docs_v97/types/help_TermsOfServiceUpdate.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: help_TermsOfServiceUpdate -description: constructors and methods of type help_TermsOfServiceUpdate -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_TermsOfServiceUpdate -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_termsOfServiceUpdateEmpty](../constructors/help_termsOfServiceUpdateEmpty.md) - -[help\_termsOfServiceUpdate](../constructors/help_termsOfServiceUpdate.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getTermsOfServiceUpdate](../methods/help_getTermsOfServiceUpdate.md) - - - diff --git a/old_docs/API_docs_v97/types/help_UserInfo.md b/old_docs/API_docs_v97/types/help_UserInfo.md deleted file mode 100644 index 87ca4327..00000000 --- a/old_docs/API_docs_v97/types/help_UserInfo.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: help_UserInfo -description: constructors and methods of type help_UserInfo -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: help\_UserInfo -[Back to types index](index.md) - - - -### Possible values (constructors): - -[help\_userInfoEmpty](../constructors/help_userInfoEmpty.md) - -[help\_userInfo](../constructors/help_userInfo.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->help->getUserInfo](../methods/help_getUserInfo.md) - -[$MadelineProto->help->editUserInfo](../methods/help_editUserInfo.md) - - - diff --git a/old_docs/API_docs_v97/types/messages.AffectedHistory.md b/old_docs/API_docs_v97/types/messages.AffectedHistory.md new file mode 100644 index 00000000..8a1e850a --- /dev/null +++ b/old_docs/API_docs_v97/types/messages.AffectedHistory.md @@ -0,0 +1,26 @@ +--- +title: messages.AffectedHistory +description: constructors and methods of type messages.AffectedHistory +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.AffectedHistory +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.affectedHistory](../constructors/messages.affectedHistory.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->deleteHistory](../methods/messages.deleteHistory.md) + +[$MadelineProto->messages->readMentions](../methods/messages.readMentions.md) + +[$MadelineProto->channels->deleteUserHistory](../methods/channels.deleteUserHistory.md) + + + diff --git a/old_docs/API_docs_v97/types/messages.AffectedMessages.md b/old_docs/API_docs_v97/types/messages.AffectedMessages.md new file mode 100644 index 00000000..a9159de3 --- /dev/null +++ b/old_docs/API_docs_v97/types/messages.AffectedMessages.md @@ -0,0 +1,28 @@ +--- +title: messages.AffectedMessages +description: constructors and methods of type messages.AffectedMessages +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.AffectedMessages +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.affectedMessages](../constructors/messages.affectedMessages.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->readHistory](../methods/messages.readHistory.md) + +[$MadelineProto->messages->deleteMessages](../methods/messages.deleteMessages.md) + +[$MadelineProto->messages->readMessageContents](../methods/messages.readMessageContents.md) + +[$MadelineProto->channels->deleteMessages](../methods/channels.deleteMessages.md) + + + diff --git a/old_docs/API_docs_v97/types/messages.AllStickers.md b/old_docs/API_docs_v97/types/messages.AllStickers.md new file mode 100644 index 00000000..fd8565de --- /dev/null +++ b/old_docs/API_docs_v97/types/messages.AllStickers.md @@ -0,0 +1,26 @@ +--- +title: messages.AllStickers +description: constructors and methods of type messages.AllStickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.AllStickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.allStickersNotModified](../constructors/messages.allStickersNotModified.md) + +[messages.allStickers](../constructors/messages.allStickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getAllStickers](../methods/messages.getAllStickers.md) + +[$MadelineProto->messages->getMaskStickers](../methods/messages.getMaskStickers.md) + + + diff --git a/old_docs/API_docs_v97/types/messages.ArchivedStickers.md b/old_docs/API_docs_v97/types/messages.ArchivedStickers.md new file mode 100644 index 00000000..3e017c5d --- /dev/null +++ b/old_docs/API_docs_v97/types/messages.ArchivedStickers.md @@ -0,0 +1,22 @@ +--- +title: messages.ArchivedStickers +description: constructors and methods of type messages.ArchivedStickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.ArchivedStickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.archivedStickers](../constructors/messages.archivedStickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getArchivedStickers](../methods/messages.getArchivedStickers.md) + + + diff --git a/old_docs/API_docs_v97/types/messages.BotCallbackAnswer.md b/old_docs/API_docs_v97/types/messages.BotCallbackAnswer.md new file mode 100644 index 00000000..ef30fbfb --- /dev/null +++ b/old_docs/API_docs_v97/types/messages.BotCallbackAnswer.md @@ -0,0 +1,22 @@ +--- +title: messages.BotCallbackAnswer +description: constructors and methods of type messages.BotCallbackAnswer +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.BotCallbackAnswer +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.botCallbackAnswer](../constructors/messages.botCallbackAnswer.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getBotCallbackAnswer](../methods/messages.getBotCallbackAnswer.md) + + + diff --git a/old_docs/API_docs_v97/types/messages.BotResults.md b/old_docs/API_docs_v97/types/messages.BotResults.md new file mode 100644 index 00000000..76ee2b99 --- /dev/null +++ b/old_docs/API_docs_v97/types/messages.BotResults.md @@ -0,0 +1,22 @@ +--- +title: messages.BotResults +description: constructors and methods of type messages.BotResults +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.BotResults +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.botResults](../constructors/messages.botResults.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getInlineBotResults](../methods/messages.getInlineBotResults.md) + + + diff --git a/old_docs/API_docs_v97/types/messages.ChatFull.md b/old_docs/API_docs_v97/types/messages.ChatFull.md new file mode 100644 index 00000000..3ad38748 --- /dev/null +++ b/old_docs/API_docs_v97/types/messages.ChatFull.md @@ -0,0 +1,24 @@ +--- +title: messages.ChatFull +description: constructors and methods of type messages.ChatFull +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.ChatFull +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.chatFull](../constructors/messages.chatFull.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getFullChat](../methods/messages.getFullChat.md) + +[$MadelineProto->channels->getFullChannel](../methods/channels.getFullChannel.md) + + + diff --git a/old_docs/API_docs_v97/types/messages.Chats.md b/old_docs/API_docs_v97/types/messages.Chats.md new file mode 100644 index 00000000..4678b110 --- /dev/null +++ b/old_docs/API_docs_v97/types/messages.Chats.md @@ -0,0 +1,34 @@ +--- +title: messages.Chats +description: constructors and methods of type messages.Chats +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Chats +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.chats](../constructors/messages.chats.md) + +[messages.chatsSlice](../constructors/messages.chatsSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getChats](../methods/messages.getChats.md) + +[$MadelineProto->messages->getCommonChats](../methods/messages.getCommonChats.md) + +[$MadelineProto->messages->getAllChats](../methods/messages.getAllChats.md) + +[$MadelineProto->channels->getChannels](../methods/channels.getChannels.md) + +[$MadelineProto->channels->getAdminedPublicChannels](../methods/channels.getAdminedPublicChannels.md) + +[$MadelineProto->channels->getLeftChannels](../methods/channels.getLeftChannels.md) + + + diff --git a/old_docs/API_docs_v97/types/messages.DhConfig.md b/old_docs/API_docs_v97/types/messages.DhConfig.md new file mode 100644 index 00000000..77188ab7 --- /dev/null +++ b/old_docs/API_docs_v97/types/messages.DhConfig.md @@ -0,0 +1,24 @@ +--- +title: messages.DhConfig +description: constructors and methods of type messages.DhConfig +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.DhConfig +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.dhConfigNotModified](../constructors/messages.dhConfigNotModified.md) + +[messages.dhConfig](../constructors/messages.dhConfig.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getDhConfig](../methods/messages.getDhConfig.md) + + + diff --git a/old_docs/API_docs_v97/types/messages.Dialogs.md b/old_docs/API_docs_v97/types/messages.Dialogs.md new file mode 100644 index 00000000..e14885b1 --- /dev/null +++ b/old_docs/API_docs_v97/types/messages.Dialogs.md @@ -0,0 +1,26 @@ +--- +title: messages.Dialogs +description: constructors and methods of type messages.Dialogs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Dialogs +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.dialogs](../constructors/messages.dialogs.md) + +[messages.dialogsSlice](../constructors/messages.dialogsSlice.md) + +[messages.dialogsNotModified](../constructors/messages.dialogsNotModified.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getDialogs](../methods/messages.getDialogs.md) + + + diff --git a/old_docs/API_docs_v97/types/messages.FavedStickers.md b/old_docs/API_docs_v97/types/messages.FavedStickers.md new file mode 100644 index 00000000..3edc863b --- /dev/null +++ b/old_docs/API_docs_v97/types/messages.FavedStickers.md @@ -0,0 +1,24 @@ +--- +title: messages.FavedStickers +description: constructors and methods of type messages.FavedStickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.FavedStickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.favedStickersNotModified](../constructors/messages.favedStickersNotModified.md) + +[messages.favedStickers](../constructors/messages.favedStickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getFavedStickers](../methods/messages.getFavedStickers.md) + + + diff --git a/old_docs/API_docs_v97/types/messages.FeaturedStickers.md b/old_docs/API_docs_v97/types/messages.FeaturedStickers.md new file mode 100644 index 00000000..06ed87bb --- /dev/null +++ b/old_docs/API_docs_v97/types/messages.FeaturedStickers.md @@ -0,0 +1,24 @@ +--- +title: messages.FeaturedStickers +description: constructors and methods of type messages.FeaturedStickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.FeaturedStickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.featuredStickersNotModified](../constructors/messages.featuredStickersNotModified.md) + +[messages.featuredStickers](../constructors/messages.featuredStickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getFeaturedStickers](../methods/messages.getFeaturedStickers.md) + + + diff --git a/old_docs/API_docs_v97/types/messages.FoundGifs.md b/old_docs/API_docs_v97/types/messages.FoundGifs.md new file mode 100644 index 00000000..b5176a5d --- /dev/null +++ b/old_docs/API_docs_v97/types/messages.FoundGifs.md @@ -0,0 +1,22 @@ +--- +title: messages.FoundGifs +description: constructors and methods of type messages.FoundGifs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.FoundGifs +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.foundGifs](../constructors/messages.foundGifs.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->searchGifs](../methods/messages.searchGifs.md) + + + diff --git a/old_docs/API_docs_v97/types/messages.FoundStickerSets.md b/old_docs/API_docs_v97/types/messages.FoundStickerSets.md new file mode 100644 index 00000000..eb6eb284 --- /dev/null +++ b/old_docs/API_docs_v97/types/messages.FoundStickerSets.md @@ -0,0 +1,24 @@ +--- +title: messages.FoundStickerSets +description: constructors and methods of type messages.FoundStickerSets +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.FoundStickerSets +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.foundStickerSetsNotModified](../constructors/messages.foundStickerSetsNotModified.md) + +[messages.foundStickerSets](../constructors/messages.foundStickerSets.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->searchStickerSets](../methods/messages.searchStickerSets.md) + + + diff --git a/old_docs/API_docs_v97/types/messages.HighScores.md b/old_docs/API_docs_v97/types/messages.HighScores.md new file mode 100644 index 00000000..eae9db66 --- /dev/null +++ b/old_docs/API_docs_v97/types/messages.HighScores.md @@ -0,0 +1,24 @@ +--- +title: messages.HighScores +description: constructors and methods of type messages.HighScores +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.HighScores +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.highScores](../constructors/messages.highScores.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getGameHighScores](../methods/messages.getGameHighScores.md) + +[$MadelineProto->messages->getInlineGameHighScores](../methods/messages.getInlineGameHighScores.md) + + + diff --git a/old_docs/API_docs_v97/types/messages.MessageEditData.md b/old_docs/API_docs_v97/types/messages.MessageEditData.md new file mode 100644 index 00000000..feb572f1 --- /dev/null +++ b/old_docs/API_docs_v97/types/messages.MessageEditData.md @@ -0,0 +1,22 @@ +--- +title: messages.MessageEditData +description: constructors and methods of type messages.MessageEditData +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.MessageEditData +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.messageEditData](../constructors/messages.messageEditData.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getMessageEditData](../methods/messages.getMessageEditData.md) + + + diff --git a/old_docs/API_docs_v97/types/messages.Messages.md b/old_docs/API_docs_v97/types/messages.Messages.md new file mode 100644 index 00000000..699ceada --- /dev/null +++ b/old_docs/API_docs_v97/types/messages.Messages.md @@ -0,0 +1,40 @@ +--- +title: messages.Messages +description: constructors and methods of type messages.Messages +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Messages +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.messages](../constructors/messages.messages.md) + +[messages.messagesSlice](../constructors/messages.messagesSlice.md) + +[messages.channelMessages](../constructors/messages.channelMessages.md) + +[messages.messagesNotModified](../constructors/messages.messagesNotModified.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getMessages](../methods/messages.getMessages.md) + +[$MadelineProto->messages->getHistory](../methods/messages.getHistory.md) + +[$MadelineProto->messages->search](../methods/messages.search.md) + +[$MadelineProto->messages->searchGlobal](../methods/messages.searchGlobal.md) + +[$MadelineProto->messages->getUnreadMentions](../methods/messages.getUnreadMentions.md) + +[$MadelineProto->messages->getRecentLocations](../methods/messages.getRecentLocations.md) + +[$MadelineProto->channels->getMessages](../methods/channels.getMessages.md) + + + diff --git a/old_docs/API_docs_v97/types/messages.PeerDialogs.md b/old_docs/API_docs_v97/types/messages.PeerDialogs.md new file mode 100644 index 00000000..9a1ceaf0 --- /dev/null +++ b/old_docs/API_docs_v97/types/messages.PeerDialogs.md @@ -0,0 +1,24 @@ +--- +title: messages.PeerDialogs +description: constructors and methods of type messages.PeerDialogs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.PeerDialogs +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.peerDialogs](../constructors/messages.peerDialogs.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getPeerDialogs](../methods/messages.getPeerDialogs.md) + +[$MadelineProto->messages->getPinnedDialogs](../methods/messages.getPinnedDialogs.md) + + + diff --git a/old_docs/API_docs_v97/types/messages.RecentStickers.md b/old_docs/API_docs_v97/types/messages.RecentStickers.md new file mode 100644 index 00000000..e5c49b92 --- /dev/null +++ b/old_docs/API_docs_v97/types/messages.RecentStickers.md @@ -0,0 +1,24 @@ +--- +title: messages.RecentStickers +description: constructors and methods of type messages.RecentStickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.RecentStickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.recentStickersNotModified](../constructors/messages.recentStickersNotModified.md) + +[messages.recentStickers](../constructors/messages.recentStickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getRecentStickers](../methods/messages.getRecentStickers.md) + + + diff --git a/old_docs/API_docs_v97/types/messages.SavedGifs.md b/old_docs/API_docs_v97/types/messages.SavedGifs.md new file mode 100644 index 00000000..99844c98 --- /dev/null +++ b/old_docs/API_docs_v97/types/messages.SavedGifs.md @@ -0,0 +1,24 @@ +--- +title: messages.SavedGifs +description: constructors and methods of type messages.SavedGifs +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.SavedGifs +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.savedGifsNotModified](../constructors/messages.savedGifsNotModified.md) + +[messages.savedGifs](../constructors/messages.savedGifs.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getSavedGifs](../methods/messages.getSavedGifs.md) + + + diff --git a/old_docs/API_docs_v97/types/messages.SentEncryptedMessage.md b/old_docs/API_docs_v97/types/messages.SentEncryptedMessage.md new file mode 100644 index 00000000..b6d05b1f --- /dev/null +++ b/old_docs/API_docs_v97/types/messages.SentEncryptedMessage.md @@ -0,0 +1,28 @@ +--- +title: messages.SentEncryptedMessage +description: constructors and methods of type messages.SentEncryptedMessage +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.SentEncryptedMessage +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.sentEncryptedMessage](../constructors/messages.sentEncryptedMessage.md) + +[messages.sentEncryptedFile](../constructors/messages.sentEncryptedFile.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->sendEncrypted](../methods/messages.sendEncrypted.md) + +[$MadelineProto->messages->sendEncryptedFile](../methods/messages.sendEncryptedFile.md) + +[$MadelineProto->messages->sendEncryptedService](../methods/messages.sendEncryptedService.md) + + + diff --git a/old_docs/API_docs_v97/types/messages.StickerSet.md b/old_docs/API_docs_v97/types/messages.StickerSet.md new file mode 100644 index 00000000..e173fe45 --- /dev/null +++ b/old_docs/API_docs_v97/types/messages.StickerSet.md @@ -0,0 +1,30 @@ +--- +title: messages.StickerSet +description: constructors and methods of type messages.StickerSet +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.StickerSet +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.stickerSet](../constructors/messages.stickerSet.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getStickerSet](../methods/messages.getStickerSet.md) + +[$MadelineProto->stickers->createStickerSet](../methods/stickers.createStickerSet.md) + +[$MadelineProto->stickers->removeStickerFromSet](../methods/stickers.removeStickerFromSet.md) + +[$MadelineProto->stickers->changeStickerPosition](../methods/stickers.changeStickerPosition.md) + +[$MadelineProto->stickers->addStickerToSet](../methods/stickers.addStickerToSet.md) + + + diff --git a/old_docs/API_docs_v97/types/messages.StickerSetInstallResult.md b/old_docs/API_docs_v97/types/messages.StickerSetInstallResult.md new file mode 100644 index 00000000..9e09c293 --- /dev/null +++ b/old_docs/API_docs_v97/types/messages.StickerSetInstallResult.md @@ -0,0 +1,24 @@ +--- +title: messages.StickerSetInstallResult +description: constructors and methods of type messages.StickerSetInstallResult +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.StickerSetInstallResult +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.stickerSetInstallResultSuccess](../constructors/messages.stickerSetInstallResultSuccess.md) + +[messages.stickerSetInstallResultArchive](../constructors/messages.stickerSetInstallResultArchive.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->installStickerSet](../methods/messages.installStickerSet.md) + + + diff --git a/old_docs/API_docs_v97/types/messages.Stickers.md b/old_docs/API_docs_v97/types/messages.Stickers.md new file mode 100644 index 00000000..43bddf06 --- /dev/null +++ b/old_docs/API_docs_v97/types/messages.Stickers.md @@ -0,0 +1,24 @@ +--- +title: messages.Stickers +description: constructors and methods of type messages.Stickers +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: messages.Stickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages.stickersNotModified](../constructors/messages.stickersNotModified.md) + +[messages.stickers](../constructors/messages.stickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getStickers](../methods/messages.getStickers.md) + + + diff --git a/old_docs/API_docs_v97/types/messages_AffectedHistory.md b/old_docs/API_docs_v97/types/messages_AffectedHistory.md deleted file mode 100644 index 9eef04c0..00000000 --- a/old_docs/API_docs_v97/types/messages_AffectedHistory.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: messages_AffectedHistory -description: constructors and methods of type messages_AffectedHistory -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_AffectedHistory -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_affectedHistory](../constructors/messages_affectedHistory.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->deleteHistory](../methods/messages_deleteHistory.md) - -[$MadelineProto->messages->readMentions](../methods/messages_readMentions.md) - -[$MadelineProto->channels->deleteUserHistory](../methods/channels_deleteUserHistory.md) - - - diff --git a/old_docs/API_docs_v97/types/messages_AffectedMessages.md b/old_docs/API_docs_v97/types/messages_AffectedMessages.md deleted file mode 100644 index dcbea721..00000000 --- a/old_docs/API_docs_v97/types/messages_AffectedMessages.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: messages_AffectedMessages -description: constructors and methods of type messages_AffectedMessages -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_AffectedMessages -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_affectedMessages](../constructors/messages_affectedMessages.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->readHistory](../methods/messages_readHistory.md) - -[$MadelineProto->messages->deleteMessages](../methods/messages_deleteMessages.md) - -[$MadelineProto->messages->readMessageContents](../methods/messages_readMessageContents.md) - -[$MadelineProto->channels->deleteMessages](../methods/channels_deleteMessages.md) - - - diff --git a/old_docs/API_docs_v97/types/messages_AllStickers.md b/old_docs/API_docs_v97/types/messages_AllStickers.md deleted file mode 100644 index b6a322e0..00000000 --- a/old_docs/API_docs_v97/types/messages_AllStickers.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: messages_AllStickers -description: constructors and methods of type messages_AllStickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_AllStickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_allStickersNotModified](../constructors/messages_allStickersNotModified.md) - -[messages\_allStickers](../constructors/messages_allStickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getAllStickers](../methods/messages_getAllStickers.md) - -[$MadelineProto->messages->getMaskStickers](../methods/messages_getMaskStickers.md) - - - diff --git a/old_docs/API_docs_v97/types/messages_ArchivedStickers.md b/old_docs/API_docs_v97/types/messages_ArchivedStickers.md deleted file mode 100644 index c569675e..00000000 --- a/old_docs/API_docs_v97/types/messages_ArchivedStickers.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_ArchivedStickers -description: constructors and methods of type messages_ArchivedStickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_ArchivedStickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_archivedStickers](../constructors/messages_archivedStickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getArchivedStickers](../methods/messages_getArchivedStickers.md) - - - diff --git a/old_docs/API_docs_v97/types/messages_BotCallbackAnswer.md b/old_docs/API_docs_v97/types/messages_BotCallbackAnswer.md deleted file mode 100644 index f8d424d0..00000000 --- a/old_docs/API_docs_v97/types/messages_BotCallbackAnswer.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_BotCallbackAnswer -description: constructors and methods of type messages_BotCallbackAnswer -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_BotCallbackAnswer -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_botCallbackAnswer](../constructors/messages_botCallbackAnswer.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getBotCallbackAnswer](../methods/messages_getBotCallbackAnswer.md) - - - diff --git a/old_docs/API_docs_v97/types/messages_BotResults.md b/old_docs/API_docs_v97/types/messages_BotResults.md deleted file mode 100644 index c346c5bd..00000000 --- a/old_docs/API_docs_v97/types/messages_BotResults.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_BotResults -description: constructors and methods of type messages_BotResults -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_BotResults -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_botResults](../constructors/messages_botResults.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getInlineBotResults](../methods/messages_getInlineBotResults.md) - - - diff --git a/old_docs/API_docs_v97/types/messages_ChatFull.md b/old_docs/API_docs_v97/types/messages_ChatFull.md deleted file mode 100644 index e4add41e..00000000 --- a/old_docs/API_docs_v97/types/messages_ChatFull.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_ChatFull -description: constructors and methods of type messages_ChatFull -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_ChatFull -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_chatFull](../constructors/messages_chatFull.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getFullChat](../methods/messages_getFullChat.md) - -[$MadelineProto->channels->getFullChannel](../methods/channels_getFullChannel.md) - - - diff --git a/old_docs/API_docs_v97/types/messages_Chats.md b/old_docs/API_docs_v97/types/messages_Chats.md deleted file mode 100644 index 57349b11..00000000 --- a/old_docs/API_docs_v97/types/messages_Chats.md +++ /dev/null @@ -1,34 +0,0 @@ ---- -title: messages_Chats -description: constructors and methods of type messages_Chats -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Chats -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_chats](../constructors/messages_chats.md) - -[messages\_chatsSlice](../constructors/messages_chatsSlice.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getChats](../methods/messages_getChats.md) - -[$MadelineProto->messages->getCommonChats](../methods/messages_getCommonChats.md) - -[$MadelineProto->messages->getAllChats](../methods/messages_getAllChats.md) - -[$MadelineProto->channels->getChannels](../methods/channels_getChannels.md) - -[$MadelineProto->channels->getAdminedPublicChannels](../methods/channels_getAdminedPublicChannels.md) - -[$MadelineProto->channels->getLeftChannels](../methods/channels_getLeftChannels.md) - - - diff --git a/old_docs/API_docs_v97/types/messages_DhConfig.md b/old_docs/API_docs_v97/types/messages_DhConfig.md deleted file mode 100644 index ce237411..00000000 --- a/old_docs/API_docs_v97/types/messages_DhConfig.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_DhConfig -description: constructors and methods of type messages_DhConfig -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_DhConfig -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_dhConfigNotModified](../constructors/messages_dhConfigNotModified.md) - -[messages\_dhConfig](../constructors/messages_dhConfig.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getDhConfig](../methods/messages_getDhConfig.md) - - - diff --git a/old_docs/API_docs_v97/types/messages_Dialogs.md b/old_docs/API_docs_v97/types/messages_Dialogs.md deleted file mode 100644 index 86d5eb72..00000000 --- a/old_docs/API_docs_v97/types/messages_Dialogs.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: messages_Dialogs -description: constructors and methods of type messages_Dialogs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Dialogs -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_dialogs](../constructors/messages_dialogs.md) - -[messages\_dialogsSlice](../constructors/messages_dialogsSlice.md) - -[messages\_dialogsNotModified](../constructors/messages_dialogsNotModified.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getDialogs](../methods/messages_getDialogs.md) - - - diff --git a/old_docs/API_docs_v97/types/messages_FavedStickers.md b/old_docs/API_docs_v97/types/messages_FavedStickers.md deleted file mode 100644 index 6fa1f221..00000000 --- a/old_docs/API_docs_v97/types/messages_FavedStickers.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_FavedStickers -description: constructors and methods of type messages_FavedStickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_FavedStickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_favedStickersNotModified](../constructors/messages_favedStickersNotModified.md) - -[messages\_favedStickers](../constructors/messages_favedStickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getFavedStickers](../methods/messages_getFavedStickers.md) - - - diff --git a/old_docs/API_docs_v97/types/messages_FeaturedStickers.md b/old_docs/API_docs_v97/types/messages_FeaturedStickers.md deleted file mode 100644 index 9b4c5002..00000000 --- a/old_docs/API_docs_v97/types/messages_FeaturedStickers.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_FeaturedStickers -description: constructors and methods of type messages_FeaturedStickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_FeaturedStickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_featuredStickersNotModified](../constructors/messages_featuredStickersNotModified.md) - -[messages\_featuredStickers](../constructors/messages_featuredStickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getFeaturedStickers](../methods/messages_getFeaturedStickers.md) - - - diff --git a/old_docs/API_docs_v97/types/messages_FoundGifs.md b/old_docs/API_docs_v97/types/messages_FoundGifs.md deleted file mode 100644 index 9dd088ba..00000000 --- a/old_docs/API_docs_v97/types/messages_FoundGifs.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_FoundGifs -description: constructors and methods of type messages_FoundGifs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_FoundGifs -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_foundGifs](../constructors/messages_foundGifs.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->searchGifs](../methods/messages_searchGifs.md) - - - diff --git a/old_docs/API_docs_v97/types/messages_FoundStickerSets.md b/old_docs/API_docs_v97/types/messages_FoundStickerSets.md deleted file mode 100644 index 9045b0d7..00000000 --- a/old_docs/API_docs_v97/types/messages_FoundStickerSets.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_FoundStickerSets -description: constructors and methods of type messages_FoundStickerSets -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_FoundStickerSets -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_foundStickerSetsNotModified](../constructors/messages_foundStickerSetsNotModified.md) - -[messages\_foundStickerSets](../constructors/messages_foundStickerSets.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->searchStickerSets](../methods/messages_searchStickerSets.md) - - - diff --git a/old_docs/API_docs_v97/types/messages_HighScores.md b/old_docs/API_docs_v97/types/messages_HighScores.md deleted file mode 100644 index 9660e255..00000000 --- a/old_docs/API_docs_v97/types/messages_HighScores.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_HighScores -description: constructors and methods of type messages_HighScores -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_HighScores -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_highScores](../constructors/messages_highScores.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getGameHighScores](../methods/messages_getGameHighScores.md) - -[$MadelineProto->messages->getInlineGameHighScores](../methods/messages_getInlineGameHighScores.md) - - - diff --git a/old_docs/API_docs_v97/types/messages_MessageEditData.md b/old_docs/API_docs_v97/types/messages_MessageEditData.md deleted file mode 100644 index ed3c507a..00000000 --- a/old_docs/API_docs_v97/types/messages_MessageEditData.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: messages_MessageEditData -description: constructors and methods of type messages_MessageEditData -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_MessageEditData -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_messageEditData](../constructors/messages_messageEditData.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getMessageEditData](../methods/messages_getMessageEditData.md) - - - diff --git a/old_docs/API_docs_v97/types/messages_Messages.md b/old_docs/API_docs_v97/types/messages_Messages.md deleted file mode 100644 index 35514e90..00000000 --- a/old_docs/API_docs_v97/types/messages_Messages.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: messages_Messages -description: constructors and methods of type messages_Messages -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Messages -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_messages](../constructors/messages_messages.md) - -[messages\_messagesSlice](../constructors/messages_messagesSlice.md) - -[messages\_channelMessages](../constructors/messages_channelMessages.md) - -[messages\_messagesNotModified](../constructors/messages_messagesNotModified.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getMessages](../methods/messages_getMessages.md) - -[$MadelineProto->messages->getHistory](../methods/messages_getHistory.md) - -[$MadelineProto->messages->search](../methods/messages_search.md) - -[$MadelineProto->messages->searchGlobal](../methods/messages_searchGlobal.md) - -[$MadelineProto->messages->getUnreadMentions](../methods/messages_getUnreadMentions.md) - -[$MadelineProto->messages->getRecentLocations](../methods/messages_getRecentLocations.md) - -[$MadelineProto->channels->getMessages](../methods/channels_getMessages.md) - - - diff --git a/old_docs/API_docs_v97/types/messages_PeerDialogs.md b/old_docs/API_docs_v97/types/messages_PeerDialogs.md deleted file mode 100644 index 2477931f..00000000 --- a/old_docs/API_docs_v97/types/messages_PeerDialogs.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_PeerDialogs -description: constructors and methods of type messages_PeerDialogs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_PeerDialogs -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_peerDialogs](../constructors/messages_peerDialogs.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getPeerDialogs](../methods/messages_getPeerDialogs.md) - -[$MadelineProto->messages->getPinnedDialogs](../methods/messages_getPinnedDialogs.md) - - - diff --git a/old_docs/API_docs_v97/types/messages_RecentStickers.md b/old_docs/API_docs_v97/types/messages_RecentStickers.md deleted file mode 100644 index 2c9db779..00000000 --- a/old_docs/API_docs_v97/types/messages_RecentStickers.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_RecentStickers -description: constructors and methods of type messages_RecentStickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_RecentStickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_recentStickersNotModified](../constructors/messages_recentStickersNotModified.md) - -[messages\_recentStickers](../constructors/messages_recentStickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getRecentStickers](../methods/messages_getRecentStickers.md) - - - diff --git a/old_docs/API_docs_v97/types/messages_SavedGifs.md b/old_docs/API_docs_v97/types/messages_SavedGifs.md deleted file mode 100644 index ffb000aa..00000000 --- a/old_docs/API_docs_v97/types/messages_SavedGifs.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_SavedGifs -description: constructors and methods of type messages_SavedGifs -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_SavedGifs -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_savedGifsNotModified](../constructors/messages_savedGifsNotModified.md) - -[messages\_savedGifs](../constructors/messages_savedGifs.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getSavedGifs](../methods/messages_getSavedGifs.md) - - - diff --git a/old_docs/API_docs_v97/types/messages_SentEncryptedMessage.md b/old_docs/API_docs_v97/types/messages_SentEncryptedMessage.md deleted file mode 100644 index 9f7ab935..00000000 --- a/old_docs/API_docs_v97/types/messages_SentEncryptedMessage.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: messages_SentEncryptedMessage -description: constructors and methods of type messages_SentEncryptedMessage -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_SentEncryptedMessage -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_sentEncryptedMessage](../constructors/messages_sentEncryptedMessage.md) - -[messages\_sentEncryptedFile](../constructors/messages_sentEncryptedFile.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->sendEncrypted](../methods/messages_sendEncrypted.md) - -[$MadelineProto->messages->sendEncryptedFile](../methods/messages_sendEncryptedFile.md) - -[$MadelineProto->messages->sendEncryptedService](../methods/messages_sendEncryptedService.md) - - - diff --git a/old_docs/API_docs_v97/types/messages_StickerSet.md b/old_docs/API_docs_v97/types/messages_StickerSet.md deleted file mode 100644 index 98e34dd2..00000000 --- a/old_docs/API_docs_v97/types/messages_StickerSet.md +++ /dev/null @@ -1,30 +0,0 @@ ---- -title: messages_StickerSet -description: constructors and methods of type messages_StickerSet -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_StickerSet -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_stickerSet](../constructors/messages_stickerSet.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getStickerSet](../methods/messages_getStickerSet.md) - -[$MadelineProto->stickers->createStickerSet](../methods/stickers_createStickerSet.md) - -[$MadelineProto->stickers->removeStickerFromSet](../methods/stickers_removeStickerFromSet.md) - -[$MadelineProto->stickers->changeStickerPosition](../methods/stickers_changeStickerPosition.md) - -[$MadelineProto->stickers->addStickerToSet](../methods/stickers_addStickerToSet.md) - - - diff --git a/old_docs/API_docs_v97/types/messages_StickerSetInstallResult.md b/old_docs/API_docs_v97/types/messages_StickerSetInstallResult.md deleted file mode 100644 index bb62ec11..00000000 --- a/old_docs/API_docs_v97/types/messages_StickerSetInstallResult.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_StickerSetInstallResult -description: constructors and methods of type messages_StickerSetInstallResult -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_StickerSetInstallResult -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_stickerSetInstallResultSuccess](../constructors/messages_stickerSetInstallResultSuccess.md) - -[messages\_stickerSetInstallResultArchive](../constructors/messages_stickerSetInstallResultArchive.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->installStickerSet](../methods/messages_installStickerSet.md) - - - diff --git a/old_docs/API_docs_v97/types/messages_Stickers.md b/old_docs/API_docs_v97/types/messages_Stickers.md deleted file mode 100644 index cf53f57b..00000000 --- a/old_docs/API_docs_v97/types/messages_Stickers.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: messages_Stickers -description: constructors and methods of type messages_Stickers -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: messages\_Stickers -[Back to types index](index.md) - - - -### Possible values (constructors): - -[messages\_stickersNotModified](../constructors/messages_stickersNotModified.md) - -[messages\_stickers](../constructors/messages_stickers.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->messages->getStickers](../methods/messages_getStickers.md) - - - diff --git a/old_docs/API_docs_v97/types/payments.PaymentForm.md b/old_docs/API_docs_v97/types/payments.PaymentForm.md new file mode 100644 index 00000000..985c1957 --- /dev/null +++ b/old_docs/API_docs_v97/types/payments.PaymentForm.md @@ -0,0 +1,22 @@ +--- +title: payments.PaymentForm +description: constructors and methods of type payments.PaymentForm +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: payments.PaymentForm +[Back to types index](index.md) + + + +### Possible values (constructors): + +[payments.paymentForm](../constructors/payments.paymentForm.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->payments->getPaymentForm](../methods/payments.getPaymentForm.md) + + + diff --git a/old_docs/API_docs_v97/types/payments.PaymentReceipt.md b/old_docs/API_docs_v97/types/payments.PaymentReceipt.md new file mode 100644 index 00000000..45cebd47 --- /dev/null +++ b/old_docs/API_docs_v97/types/payments.PaymentReceipt.md @@ -0,0 +1,22 @@ +--- +title: payments.PaymentReceipt +description: constructors and methods of type payments.PaymentReceipt +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: payments.PaymentReceipt +[Back to types index](index.md) + + + +### Possible values (constructors): + +[payments.paymentReceipt](../constructors/payments.paymentReceipt.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->payments->getPaymentReceipt](../methods/payments.getPaymentReceipt.md) + + + diff --git a/old_docs/API_docs_v97/types/payments.PaymentResult.md b/old_docs/API_docs_v97/types/payments.PaymentResult.md new file mode 100644 index 00000000..9bbff9af --- /dev/null +++ b/old_docs/API_docs_v97/types/payments.PaymentResult.md @@ -0,0 +1,24 @@ +--- +title: payments.PaymentResult +description: constructors and methods of type payments.PaymentResult +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: payments.PaymentResult +[Back to types index](index.md) + + + +### Possible values (constructors): + +[payments.paymentResult](../constructors/payments.paymentResult.md) + +[payments.paymentVerficationNeeded](../constructors/payments.paymentVerficationNeeded.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->payments->sendPaymentForm](../methods/payments.sendPaymentForm.md) + + + diff --git a/old_docs/API_docs_v97/types/payments.SavedInfo.md b/old_docs/API_docs_v97/types/payments.SavedInfo.md new file mode 100644 index 00000000..cf7be16c --- /dev/null +++ b/old_docs/API_docs_v97/types/payments.SavedInfo.md @@ -0,0 +1,22 @@ +--- +title: payments.SavedInfo +description: constructors and methods of type payments.SavedInfo +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: payments.SavedInfo +[Back to types index](index.md) + + + +### Possible values (constructors): + +[payments.savedInfo](../constructors/payments.savedInfo.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->payments->getSavedInfo](../methods/payments.getSavedInfo.md) + + + diff --git a/old_docs/API_docs_v97/types/payments.ValidatedRequestedInfo.md b/old_docs/API_docs_v97/types/payments.ValidatedRequestedInfo.md new file mode 100644 index 00000000..653a5064 --- /dev/null +++ b/old_docs/API_docs_v97/types/payments.ValidatedRequestedInfo.md @@ -0,0 +1,22 @@ +--- +title: payments.ValidatedRequestedInfo +description: constructors and methods of type payments.ValidatedRequestedInfo +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: payments.ValidatedRequestedInfo +[Back to types index](index.md) + + + +### Possible values (constructors): + +[payments.validatedRequestedInfo](../constructors/payments.validatedRequestedInfo.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->payments->validateRequestedInfo](../methods/payments.validateRequestedInfo.md) + + + diff --git a/old_docs/API_docs_v97/types/payments_PaymentForm.md b/old_docs/API_docs_v97/types/payments_PaymentForm.md deleted file mode 100644 index 4662586d..00000000 --- a/old_docs/API_docs_v97/types/payments_PaymentForm.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: payments_PaymentForm -description: constructors and methods of type payments_PaymentForm -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: payments\_PaymentForm -[Back to types index](index.md) - - - -### Possible values (constructors): - -[payments\_paymentForm](../constructors/payments_paymentForm.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->payments->getPaymentForm](../methods/payments_getPaymentForm.md) - - - diff --git a/old_docs/API_docs_v97/types/payments_PaymentReceipt.md b/old_docs/API_docs_v97/types/payments_PaymentReceipt.md deleted file mode 100644 index b4770d2a..00000000 --- a/old_docs/API_docs_v97/types/payments_PaymentReceipt.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: payments_PaymentReceipt -description: constructors and methods of type payments_PaymentReceipt -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: payments\_PaymentReceipt -[Back to types index](index.md) - - - -### Possible values (constructors): - -[payments\_paymentReceipt](../constructors/payments_paymentReceipt.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->payments->getPaymentReceipt](../methods/payments_getPaymentReceipt.md) - - - diff --git a/old_docs/API_docs_v97/types/payments_PaymentResult.md b/old_docs/API_docs_v97/types/payments_PaymentResult.md deleted file mode 100644 index 3c0ad411..00000000 --- a/old_docs/API_docs_v97/types/payments_PaymentResult.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: payments_PaymentResult -description: constructors and methods of type payments_PaymentResult -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: payments\_PaymentResult -[Back to types index](index.md) - - - -### Possible values (constructors): - -[payments\_paymentResult](../constructors/payments_paymentResult.md) - -[payments\_paymentVerficationNeeded](../constructors/payments_paymentVerficationNeeded.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->payments->sendPaymentForm](../methods/payments_sendPaymentForm.md) - - - diff --git a/old_docs/API_docs_v97/types/payments_SavedInfo.md b/old_docs/API_docs_v97/types/payments_SavedInfo.md deleted file mode 100644 index c8f7b9e3..00000000 --- a/old_docs/API_docs_v97/types/payments_SavedInfo.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: payments_SavedInfo -description: constructors and methods of type payments_SavedInfo -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: payments\_SavedInfo -[Back to types index](index.md) - - - -### Possible values (constructors): - -[payments\_savedInfo](../constructors/payments_savedInfo.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->payments->getSavedInfo](../methods/payments_getSavedInfo.md) - - - diff --git a/old_docs/API_docs_v97/types/payments_ValidatedRequestedInfo.md b/old_docs/API_docs_v97/types/payments_ValidatedRequestedInfo.md deleted file mode 100644 index ff6c4e39..00000000 --- a/old_docs/API_docs_v97/types/payments_ValidatedRequestedInfo.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: payments_ValidatedRequestedInfo -description: constructors and methods of type payments_ValidatedRequestedInfo -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: payments\_ValidatedRequestedInfo -[Back to types index](index.md) - - - -### Possible values (constructors): - -[payments\_validatedRequestedInfo](../constructors/payments_validatedRequestedInfo.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->payments->validateRequestedInfo](../methods/payments_validateRequestedInfo.md) - - - diff --git a/old_docs/API_docs_v97/types/phone.PhoneCall.md b/old_docs/API_docs_v97/types/phone.PhoneCall.md new file mode 100644 index 00000000..db0708e9 --- /dev/null +++ b/old_docs/API_docs_v97/types/phone.PhoneCall.md @@ -0,0 +1,26 @@ +--- +title: phone.PhoneCall +description: constructors and methods of type phone.PhoneCall +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: phone.PhoneCall +[Back to types index](index.md) + + + +### Possible values (constructors): + +[phone.phoneCall](../constructors/phone.phoneCall.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->phone->requestCall](../methods/phone.requestCall.md) + +[$MadelineProto->phone->acceptCall](../methods/phone.acceptCall.md) + +[$MadelineProto->phone->confirmCall](../methods/phone.confirmCall.md) + + + diff --git a/old_docs/API_docs_v97/types/phone_PhoneCall.md b/old_docs/API_docs_v97/types/phone_PhoneCall.md deleted file mode 100644 index 0a49d482..00000000 --- a/old_docs/API_docs_v97/types/phone_PhoneCall.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: phone_PhoneCall -description: constructors and methods of type phone_PhoneCall -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: phone\_PhoneCall -[Back to types index](index.md) - - - -### Possible values (constructors): - -[phone\_phoneCall](../constructors/phone_phoneCall.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->phone->requestCall](../methods/phone_requestCall.md) - -[$MadelineProto->phone->acceptCall](../methods/phone_acceptCall.md) - -[$MadelineProto->phone->confirmCall](../methods/phone_confirmCall.md) - - - diff --git a/old_docs/API_docs_v97/types/photos.Photo.md b/old_docs/API_docs_v97/types/photos.Photo.md new file mode 100644 index 00000000..d60f203c --- /dev/null +++ b/old_docs/API_docs_v97/types/photos.Photo.md @@ -0,0 +1,22 @@ +--- +title: photos.Photo +description: constructors and methods of type photos.Photo +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: photos.Photo +[Back to types index](index.md) + + + +### Possible values (constructors): + +[photos.photo](../constructors/photos.photo.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->photos->uploadProfilePhoto](../methods/photos.uploadProfilePhoto.md) + + + diff --git a/old_docs/API_docs_v97/types/photos.Photos.md b/old_docs/API_docs_v97/types/photos.Photos.md new file mode 100644 index 00000000..fff0e296 --- /dev/null +++ b/old_docs/API_docs_v97/types/photos.Photos.md @@ -0,0 +1,24 @@ +--- +title: photos.Photos +description: constructors and methods of type photos.Photos +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: photos.Photos +[Back to types index](index.md) + + + +### Possible values (constructors): + +[photos.photos](../constructors/photos.photos.md) + +[photos.photosSlice](../constructors/photos.photosSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->photos->getUserPhotos](../methods/photos.getUserPhotos.md) + + + diff --git a/old_docs/API_docs_v97/types/photos_Photo.md b/old_docs/API_docs_v97/types/photos_Photo.md deleted file mode 100644 index d11bbdef..00000000 --- a/old_docs/API_docs_v97/types/photos_Photo.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: photos_Photo -description: constructors and methods of type photos_Photo -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: photos\_Photo -[Back to types index](index.md) - - - -### Possible values (constructors): - -[photos\_photo](../constructors/photos_photo.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->photos->uploadProfilePhoto](../methods/photos_uploadProfilePhoto.md) - - - diff --git a/old_docs/API_docs_v97/types/photos_Photos.md b/old_docs/API_docs_v97/types/photos_Photos.md deleted file mode 100644 index 9875ad70..00000000 --- a/old_docs/API_docs_v97/types/photos_Photos.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: photos_Photos -description: constructors and methods of type photos_Photos -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: photos\_Photos -[Back to types index](index.md) - - - -### Possible values (constructors): - -[photos\_photos](../constructors/photos_photos.md) - -[photos\_photosSlice](../constructors/photos_photosSlice.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->photos->getUserPhotos](../methods/photos_getUserPhotos.md) - - - diff --git a/old_docs/API_docs_v97/types/storage.FileType.md b/old_docs/API_docs_v97/types/storage.FileType.md new file mode 100644 index 00000000..32f1bb72 --- /dev/null +++ b/old_docs/API_docs_v97/types/storage.FileType.md @@ -0,0 +1,38 @@ +--- +title: storage.FileType +description: constructors and methods of type storage.FileType +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: storage.FileType +[Back to types index](index.md) + + + +### Possible values (constructors): + +[storage.fileUnknown](../constructors/storage.fileUnknown.md) + +[storage.filePartial](../constructors/storage.filePartial.md) + +[storage.fileJpeg](../constructors/storage.fileJpeg.md) + +[storage.fileGif](../constructors/storage.fileGif.md) + +[storage.filePng](../constructors/storage.filePng.md) + +[storage.filePdf](../constructors/storage.filePdf.md) + +[storage.fileMp3](../constructors/storage.fileMp3.md) + +[storage.fileMov](../constructors/storage.fileMov.md) + +[storage.fileMp4](../constructors/storage.fileMp4.md) + +[storage.fileWebp](../constructors/storage.fileWebp.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/old_docs/API_docs_v97/types/storage_FileType.md b/old_docs/API_docs_v97/types/storage_FileType.md deleted file mode 100644 index 22118805..00000000 --- a/old_docs/API_docs_v97/types/storage_FileType.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: storage_FileType -description: constructors and methods of type storage_FileType -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: storage\_FileType -[Back to types index](index.md) - - - -### Possible values (constructors): - -[storage\_fileUnknown](../constructors/storage_fileUnknown.md) - -[storage\_filePartial](../constructors/storage_filePartial.md) - -[storage\_fileJpeg](../constructors/storage_fileJpeg.md) - -[storage\_fileGif](../constructors/storage_fileGif.md) - -[storage\_filePng](../constructors/storage_filePng.md) - -[storage\_filePdf](../constructors/storage_filePdf.md) - -[storage\_fileMp3](../constructors/storage_fileMp3.md) - -[storage\_fileMov](../constructors/storage_fileMov.md) - -[storage\_fileMp4](../constructors/storage_fileMp4.md) - -[storage\_fileWebp](../constructors/storage_fileWebp.md) - - - -### Methods that return an object of this type (methods): - - - diff --git a/old_docs/API_docs_v97/types/updates.ChannelDifference.md b/old_docs/API_docs_v97/types/updates.ChannelDifference.md new file mode 100644 index 00000000..ac889a1e --- /dev/null +++ b/old_docs/API_docs_v97/types/updates.ChannelDifference.md @@ -0,0 +1,26 @@ +--- +title: updates.ChannelDifference +description: constructors and methods of type updates.ChannelDifference +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: updates.ChannelDifference +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updates.channelDifferenceEmpty](../constructors/updates.channelDifferenceEmpty.md) + +[updates.channelDifferenceTooLong](../constructors/updates.channelDifferenceTooLong.md) + +[updates.channelDifference](../constructors/updates.channelDifference.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->updates->getChannelDifference](../methods/updates.getChannelDifference.md) + + + diff --git a/old_docs/API_docs_v97/types/updates.Difference.md b/old_docs/API_docs_v97/types/updates.Difference.md new file mode 100644 index 00000000..0c1a1b6e --- /dev/null +++ b/old_docs/API_docs_v97/types/updates.Difference.md @@ -0,0 +1,28 @@ +--- +title: updates.Difference +description: constructors and methods of type updates.Difference +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: updates.Difference +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updates.differenceEmpty](../constructors/updates.differenceEmpty.md) + +[updates.difference](../constructors/updates.difference.md) + +[updates.differenceSlice](../constructors/updates.differenceSlice.md) + +[updates.differenceTooLong](../constructors/updates.differenceTooLong.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->updates->getDifference](../methods/updates.getDifference.md) + + + diff --git a/old_docs/API_docs_v97/types/updates.State.md b/old_docs/API_docs_v97/types/updates.State.md new file mode 100644 index 00000000..49bbb7fd --- /dev/null +++ b/old_docs/API_docs_v97/types/updates.State.md @@ -0,0 +1,22 @@ +--- +title: updates.State +description: constructors and methods of type updates.State +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: updates.State +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updates.state](../constructors/updates.state.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->updates->getState](../methods/updates.getState.md) + + + diff --git a/old_docs/API_docs_v97/types/updates_ChannelDifference.md b/old_docs/API_docs_v97/types/updates_ChannelDifference.md deleted file mode 100644 index dc988692..00000000 --- a/old_docs/API_docs_v97/types/updates_ChannelDifference.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: updates_ChannelDifference -description: constructors and methods of type updates_ChannelDifference -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: updates\_ChannelDifference -[Back to types index](index.md) - - - -### Possible values (constructors): - -[updates\_channelDifferenceEmpty](../constructors/updates_channelDifferenceEmpty.md) - -[updates\_channelDifferenceTooLong](../constructors/updates_channelDifferenceTooLong.md) - -[updates\_channelDifference](../constructors/updates_channelDifference.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->updates->getChannelDifference](../methods/updates_getChannelDifference.md) - - - diff --git a/old_docs/API_docs_v97/types/updates_Difference.md b/old_docs/API_docs_v97/types/updates_Difference.md deleted file mode 100644 index 50bb098e..00000000 --- a/old_docs/API_docs_v97/types/updates_Difference.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: updates_Difference -description: constructors and methods of type updates_Difference -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: updates\_Difference -[Back to types index](index.md) - - - -### Possible values (constructors): - -[updates\_differenceEmpty](../constructors/updates_differenceEmpty.md) - -[updates\_difference](../constructors/updates_difference.md) - -[updates\_differenceSlice](../constructors/updates_differenceSlice.md) - -[updates\_differenceTooLong](../constructors/updates_differenceTooLong.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->updates->getDifference](../methods/updates_getDifference.md) - - - diff --git a/old_docs/API_docs_v97/types/updates_State.md b/old_docs/API_docs_v97/types/updates_State.md deleted file mode 100644 index 7a441145..00000000 --- a/old_docs/API_docs_v97/types/updates_State.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: updates_State -description: constructors and methods of type updates_State -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: updates\_State -[Back to types index](index.md) - - - -### Possible values (constructors): - -[updates\_state](../constructors/updates_state.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->updates->getState](../methods/updates_getState.md) - - - diff --git a/old_docs/API_docs_v97/types/upload.CdnFile.md b/old_docs/API_docs_v97/types/upload.CdnFile.md new file mode 100644 index 00000000..396c4bf4 --- /dev/null +++ b/old_docs/API_docs_v97/types/upload.CdnFile.md @@ -0,0 +1,24 @@ +--- +title: upload.CdnFile +description: constructors and methods of type upload.CdnFile +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: upload.CdnFile +[Back to types index](index.md) + + + +### Possible values (constructors): + +[upload.cdnFileReuploadNeeded](../constructors/upload.cdnFileReuploadNeeded.md) + +[upload.cdnFile](../constructors/upload.cdnFile.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->upload->getCdnFile](../methods/upload.getCdnFile.md) + + + diff --git a/old_docs/API_docs_v97/types/upload.File.md b/old_docs/API_docs_v97/types/upload.File.md new file mode 100644 index 00000000..6963341b --- /dev/null +++ b/old_docs/API_docs_v97/types/upload.File.md @@ -0,0 +1,24 @@ +--- +title: upload.File +description: constructors and methods of type upload.File +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: upload.File +[Back to types index](index.md) + + + +### Possible values (constructors): + +[upload.file](../constructors/upload.file.md) + +[upload.fileCdnRedirect](../constructors/upload.fileCdnRedirect.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->upload->getFile](../methods/upload.getFile.md) + + + diff --git a/old_docs/API_docs_v97/types/upload.WebFile.md b/old_docs/API_docs_v97/types/upload.WebFile.md new file mode 100644 index 00000000..e834457b --- /dev/null +++ b/old_docs/API_docs_v97/types/upload.WebFile.md @@ -0,0 +1,22 @@ +--- +title: upload.WebFile +description: constructors and methods of type upload.WebFile +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png +--- +# Type: upload.WebFile +[Back to types index](index.md) + + + +### Possible values (constructors): + +[upload.webFile](../constructors/upload.webFile.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->upload->getWebFile](../methods/upload.getWebFile.md) + + + diff --git a/old_docs/API_docs_v97/types/upload_CdnFile.md b/old_docs/API_docs_v97/types/upload_CdnFile.md deleted file mode 100644 index 51ae2e68..00000000 --- a/old_docs/API_docs_v97/types/upload_CdnFile.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: upload_CdnFile -description: constructors and methods of type upload_CdnFile -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: upload\_CdnFile -[Back to types index](index.md) - - - -### Possible values (constructors): - -[upload\_cdnFileReuploadNeeded](../constructors/upload_cdnFileReuploadNeeded.md) - -[upload\_cdnFile](../constructors/upload_cdnFile.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->upload->getCdnFile](../methods/upload_getCdnFile.md) - - - diff --git a/old_docs/API_docs_v97/types/upload_File.md b/old_docs/API_docs_v97/types/upload_File.md deleted file mode 100644 index 00e0f9cb..00000000 --- a/old_docs/API_docs_v97/types/upload_File.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: upload_File -description: constructors and methods of type upload_File -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: upload\_File -[Back to types index](index.md) - - - -### Possible values (constructors): - -[upload\_file](../constructors/upload_file.md) - -[upload\_fileCdnRedirect](../constructors/upload_fileCdnRedirect.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->upload->getFile](../methods/upload_getFile.md) - - - diff --git a/old_docs/API_docs_v97/types/upload_WebFile.md b/old_docs/API_docs_v97/types/upload_WebFile.md deleted file mode 100644 index 9a86264f..00000000 --- a/old_docs/API_docs_v97/types/upload_WebFile.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: upload_WebFile -description: constructors and methods of type upload_WebFile -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ---- -# Type: upload\_WebFile -[Back to types index](index.md) - - - -### Possible values (constructors): - -[upload\_webFile](../constructors/upload_webFile.md) - - - -### Methods that return an object of this type (methods): - -[$MadelineProto->upload->getWebFile](../methods/upload_getWebFile.md) - - -